@univerjs-pro/collaboration-client 0.6.10-nightly.202504201606 → 0.6.10-nightly.202504231607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +10 -10
package/lib/umd/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function _0x3043(){var _0x6d0458=['charCodeAt','processBlock','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_getAPIPrefixPath','isTransformMutationsWithChangesetSuccess','apply','&assign=','key','ERROR_IMAGE','setShowComponents','[CollaborationSessionService]','params','result','_scheduleCollaborationTimeoutTimer','_clearRedo','/allowed','socket\x20close','state','CollaborativeUndoRedoService','getRandomValues','reset','keySize','ivSize','bind','set','_doProcessBlock','_updateStatus','getCurrentSelections','NOT_COLLAB','LICENSE_EXPORT_SIZE_EXCEEDED','readyForCollab','_substituteUndoStack','csRejEvent','compose','title','MentionIoHttpService','_status$','reconnect','add','authzUrl','FETCH_MISS','_getLoginPath','UNRECOGNIZED','Module','OPTIONAL','_event$','SUBMIT_CHANGESET_TIMEOUT','[PendingState]:\x20received\x20acknowledgement.','getActiveSheet','LOGIN_URL_KEY','onLocalMutation','disposeWithMe','delete','amd','IAuthzIoService','getUnitType','signUrlServerUrl','JOIN_ROOM_FULL','_onRemoteRejected','COLLAB_WEB_SOCKET_URL','_updateLocalCache','appendMutation','put','unpad','close','offline','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_showConflictNotification','_localeService','YUUMI_ASYNCIO_CANCELLED','has','_networkConditionService','_nDataBytes','Failed\x20to\x20update\x20permission\x20point','enableOfflineEditing','COMPRESS_MUTATION_APPLY','_initCloseConn','_commandService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','shareReplay','transformUndoRedo','decrypt','updatePermissionObjEvent','repeat','fetchMiss','/universer-api/snapshot/','sessionStatus','COMMENT_UPDATE','Error\x20on\x20receiving\x20event','ERROR_EXCEED_SIZE','ConflictState','_incrementRevisionNumber','_createHelper','ICommandService','_ENC_XFORM_MODE','awaitingChangeset','subject','_applyRemoteChangeset','defineProperty','SheetsSelectionsService','Undefined','IContextService','asObservable','save\x20fail\x20reason\x20is\x20','_onMessage','_replayCachedMutations','setCurrentUser','_onUserLeave','HEARTBEAT_TIMEOUT','CollaborationUIEventId','APPLY_REJECT','registerDependencies','_members','commentUpdate$','_members$','workbook','CommandType','_unitInfo$','/universer-api/stream/file/upload','random','UserProfileImg','ciphertext','_fetchMissChangesets','getResourcesRequest','splice','post','_iv','transformChangesets','reverse','json','_remoteChangesetQueue','map','retryConnectingInterval','RECV','getFocusedUnit','onSendChangeset','take','[CollaborationSession]','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','routeKey','change$','onMissingChangesets','_transitionLocked','dispose','toStringTag','PERSON','SHOULD_CLOSE_CONN','CollaborationSessionService','_hasher','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_createHmacHelper','floor','_changesetSessionId','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','headers','_hash','_onOffline','toLowerCase','finalize','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','max','_collabSessionService','_substituteRedoStack','_registerDependencies','exports','_httpService','algo','ILocalCacheService','startTime','@univerjs/core','type','_userManagerService','createDecryptor','_config','APPLY_PERMISSION_DENIED','padding','ERROR_IMAGE_TYPE','/object','_initRequestHeader','data','LocalUndoRedoService','Optional','_checkMissing','readInt32LE','status','parse','toggleOffline','_mode','onload','src','HttpImport','HELLO','_tryReconnect','IConfigService','_onConnectionOpen','FileId','_undoRedoService','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','from','_listenToNetworkCondition','batchAllowed','@univerjs/sheets','image/png','DataLoaderService','[DataLoaderService]','CONNECTOR_DATA_TOO_LARGE','onTransformIME','error','UNIVER_DOC','141pcawNL','UPDATE_PERMISSION_OBJ','entries','/resources','_append','onTransformRemoteChangesetByStateCache','objectID','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','OfflineState','joinEvent','UniverProLicense','not_collab','enableAuthServer','isInternalEditorID','_resendTimeout','Workbook','_configService','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_onRemoteRetry','onTransformState','pluginName','getMemberID','onRemoteRetry','_singleActiveUnitService','[OfflineState]:\x20received\x20changeset.','_transformRemoteChangesetByStateCache','session','closeSession','_queuedRemoteChangesets','People','_memberService','_injector','_syncEditingCollabCursor','CHANGESET_REJ','randomBytes','fromCharCode','roles','YUUMI_URL_COL_OUT_OF_RANGE','action','OTHER_CLIENTS_EDITING','min','MentionType','SerializableCipher','NOT_FOUND','_loadDoc','resend','Rectangle','SYNCED','UniverNetwork','@univerjs/docs','method','complete','ENSURE_SNAPSHOT_EXECUTION','getUnit','getCollabEntity$','sequenceExecute','_keySchedule','_getUploadFileURL','_resendWithTimeout','CollaborationImageIoService','_updateState','onMissedChangesetFetched','AuthzIoHttpService','range','_compressMutationService','UniverNetworkPlugin','isArray','FetchingMissState','INTERNAL_ERROR','EvpKDF','INVITE_CODE_REQUIRED','/fetchmissing?from=','INVALID_ARGUMENT','c1Prime','randomUUID','ImageSourceType','_tryEnsureSocket','deepClone','_parse','cmd','_exhaustRemoteChangesetQueue','ONLINE','_logService','decryptBlock','onStateChange','_loadSheet','getOwnPropertyDescriptor','mixIn','LocaleService','saveSnapshot','requestParams','/object/','find','univer-pro.collaboration-client.single-active-unit-service','_submitChangeset','fetch_missing','_rescheduleHeartbeat','LOGIN_FAILED','_timeoutTimer','join','startsWith','Subject','error$','awaiting','MUTATION','_onConnectionFailed','MemberService','clamp','/universer-api/authz','leaveEvent','_shouldReportTelemetry','_sendingTimer','SNAPSHOT_HAS_BEEN_REMOVED','UUID','UNIVER_SHEET','substr','_unlockTransition','[OfflineState]:\x20received\x20rejection.','reduce','withCredentials','UNISCRIPT_RUN','roomInfos','originalMeta','initWorkbookPermissionChange','_collaborationUIEventService','executeCommand','_reverseMap','RevisionService','getUnitId','[CollaborationUndoRedoService]','_sessions','InsertSheetMutation','_candidateSocket','onStarting','revision','_transformService','ws://127.0.0.1:8000/universer-api/comb/connect','pad','OpenSSL','BlockCipherMode','_onRemoteChangeset','_map','_onConflict','entityInit$','_resendTimer','_retryConnectingTimer','_waitCount','Pkcs7','LIVESHARE_FETCH_OPERATIONS','NEW_CHANGESETS','execute','INVALID_INVITE_CODE','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','refreshPermission','_telemetryInfo','_snapshotServerService','OFFLINE','byteLength','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','actions','IDLE','_awaitingChangeset','update','mapDocumentTypeToUniverType','_startTelemetryCollaborationNewChangeset','onRemoteChangeset','newCsEvent','shouldCloseConn','_getRedoStack','LOCAL_CACHE_INTERVAL_KEY','socket$','DEFAULT_FILE_NAME','default','then','UniverSheets','CollaborationEntity','INVITE_CODE_HAS_BEEN_UES','LIVESHARE_NEW_HOST','_instanceService','_xformMode','snapshotServerUrl','unit-cache-','getConfig','TOO_MANY_REQUESTS','AUTHZ_URL_KEY','waitForRoom$','UniverDocs','MD5','_throwTelemetryCollaborationNewChangeset','LEAVE','collaboration-client.local-cache-service','telemetry\x20info\x20is\x20not\x20initialized','_joinRoom','Hex','AwaitingWithPendingState','_replaceFileID','image/gif','YUUMI_RATE_OVER_LIMIT','updatePermissionPoint','_entityInit$','dispose$','__esModule','function','emitEvent','[SyncedState]:\x20received\x20rejection.','_toggleOffline','reqId','APPLY_REVISION_CONFILICT','Base64','UNAUTHENTICATED','saveChangeset','getCurrentRevOfUnit','_iKey','encodeURIComponent','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','60qxckzW','_sender','eventID','forEach','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','CHANGESET_REVISION_CONFILICT','mode','toString','sid','_socket','memberID','USER_NOT_INVITED_CODE','_createSocket','delay','UNKNOWN_CMD','/new_changes','localeService','HEARTBEAT_TIMEOUT_KEY','unitInfo$','stringify','/collaborator','_clearCollaborationTimeoutTimer','rev','m2Prime','_toggleOnline','_clearRetryConnectingTimer','_univerInstanceService','JOINING','session.room-full','SnapshotServerOverHTTPService','SOCKET_FAILED_RETRY','@univerjs/drawing','onTransformSelections','857916EqWIet','IPermissionService','crypto','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','SHA1','conflict','_scheduleCompleteTimestamp','[UniverCollaborationClientPlugin]','UniverCollaborationPlugin','PERMISSION_REJ','objects','_sessionStatus$','YUUMI_UNABLE_LOAD_URL','code','BehaviorSubject','loginUrlKey','firstValueFrom','[CollaborationState]:\x20apply\x20error!','_clearHeartbeatTimer','AwaitingState','DEFAULT_COLLAB_WEB_SOCKET_URL','_cipher','COLLAB_SUBMIT_CHANGESET_URL_KEY','SNAPSHOT_SERVER_URL_KEY','listCollaborators','editingUnit','_clearUndo','sigBytes','_waitForHeartbeatResponse','target','hasher','createEncryptor','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_emitMembers','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','userID','\x0aAfter:\x20','SetSelectionsOperation','concat','rxjs','WordArray','LIVESHARE_TERMINATE','getValue','univer-pro.collaboration-client.network-condition.service','downloadEndpointUrl','session.room-permission-denied','INetworkConditionService','cfg','_decreaseWaiting','snapshot','saveSheetBlock','failed\x20to\x20apply\x20missed\x20changesets!','DocCollaborationEntity','BASE64','_getSignURL','Decryptor','onSyncEditingCollabCursor','unsubscribe','push','interceptor','registerHTTPInterceptor','getLocalCacheKey','LIVESHARE_OPERATION','duration','hasOwnProperty','_transformRemoteChangesetByIMECache','UNIVER_PROJECT','getCurrentUser','avatar','collaborators','joinRsp','editing\x20status\x20changed\x20to','_init','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','PendingState','setWaitCount','HmacSHA1','SheetCollaborationEntity','POST','enc','hostname','_clearTimeoutTimer','location','fetchThroughInterceptors','call','liveShareNewHost','charAt','Inject','_snapshotService','generateRandomId','_transformUndoredo','getCollabEntity','takeUntil','mutations','_startCollaboration','MOBILE_HAS_BEEN_BOUND','getUnitStatus$','GLOBAL_ROOMS_CNT_EXCEEDS','abs','FAIL','words','ITelemetryService','@univerjs/network','sessionStatus$','ILogService','_prevBlock','_collaborationPaused','CLOSE_ROOM','COMPLETION_FINISHED','getMember','_entities','filter','RxDisposable','msCrypto','collabSubmitChangesetUrl','HmacMD5','buffer','b64DecodeUnicode','_keyPriorReset','1326pUFgdp','Tools','ISnapshotServerService','CipherParams','init','submit\x20changeset\x20error!','send','pending','LOCAL_CACHE_INTERVAL','SheetPermissionInitController','get','2568eoBgKU','onRemoteAck','UniverInstanceType','symbol','Hasher','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_process','[CollaborationEntity]','override','_HTTPService','status$','COLLAB_SUBMIT_CHANGESET_URL','CollaborationSession','deserializeToCombResponse','UNDEFINED','unitId','connection\x20error','_doReset','&source=','[FetchMissState]','_doFinalize','sheets','serializeCombRequest','WorkbookEditablePermission','parseProtocolChangeset','_minBufferSize','length','_transformIMECache','SUBMIT_CHANGESET','HEARTBEAT_INTERVAL','_doCryptBlock','getDeserializedSheetBlock','SOCKET_FAILED','_sendHeartbeatTimer','HEARTBEAT_INTERVAL_KEY','getAllMembers','IUniverInstanceService','Cipher','open$','getWorkbookSelections','RETRY_CONNECTING_MAX_COUNT_KEY','_handlerCallback','salt','_retryCount','@univerjs/telemetry','_eventService','_getAPIPrefix','_pendingMutations','rxjs/operators','_onCombEvent','_commentUpdate$','UNIVER_UNKNOWN','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','CollaborationController','lib','subscribe','state$','url','onCommandExecuted','_change$','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','Univer','localCacheService','object','_changesetReqId','MergeInterceptorFactory','JOIN_ROOM_FAILED','UNIVER_COLLABORATION_CLIENT_PLUGIN','fromCollab','merge','synced','Base','parseChangesetToProtocol','51272eTtoLA','COLLAB_WEB_SOCKET_URL_KEY','IUndoRedoService','_data','auth.needGotoLoginAlert','debug','updateMember','OTHER_CLIENT_EDITING','\x0aCurrent:\x20','_removeRoom','YUUMI_NO_CUBOID_FOR_QUESTION','isPermissionRej','enableSingleActiveInstanceLock','loadOfflineData','encode','createInstance','_initUnitPermissionChange','getInterceptPoints','image/jpg','isTransformChangesetsSuccess','getSnapshotAPIPath','_transformSelections','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','allowed','/universer-api/user/session-ticket','commentUpdateEvent','EMAIL_HAS_BEEN_BOUND','changesets','string','loadSheet','YUUMI_SUBSCRIPTION_NOT_FOUND','_collaborationTimeoutTimer','INVITE_CODE_ALREADY_BOUND','DependentOn','blockSize','indexOf','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','formatter','CBC','catch','collaboration_new_changeset','uploadFileServerUrl','ITransformService','_permissionService','_getUndoStack','kdf','collaboration-client.config','createIdentifier','2996094GazQDI','6062MOEyil','_sheetTransformSelectionsService','transformStack\x20failed!','SyncedState','getRoom','329549oJgJoJ','ceil','APPLY_NON_SEQUENTIAL_REVISION','prototype','_invKeySchedule','session.room-not-exists','SEND_CHANGESET_TIMEOUT','getImageSourceCache','CollaborationEvent','incrementRevOfUnit','_createHandler','pipe','_socketReady','USERS_LEAVE','list','CHANGESET_ACK','_roomCreated$','UniverProCollaboration','getImage','ICollaborationSocketService','concatMap','Utf8','SnapshotService','/unit/','_acknowledgedAwaitingChangeset','_sendHeartbeat','_handler','clone','2124FotUaj','readAsDataURL','saveImage','unitID','_key','size','37410LDuAgU','_unitID','JSONX','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_state$','online$','univer-pro.collaboration-client-socket-service','stopTime','next','textRanges','FETCH_MISSING','_type','USERS_ENTER','WECHAT_HAS_BEEN_BOUND','disableLocalCache','SessionStatus','_onJoinRoomEvent','JOIN','_stopTelemetryCollaborationNewChangeset','infoRsp','_collaborationSessionService','LICENSE_DISTRO_REJECTED','Quantity','&to=','PY_RUNTIME_SCRIPT_ERROR','JOIN_ROOM_PERMISSION_DENIED','permissionRejEvent','_lockTransition','IMentionIOService','UPDATE_CURSOR','compute','clear','UnitSnapshot','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','UNKNOWN_CODE','members','_getDownloadEndpointURL','$super','Encryptor','_clearScheduledTask','touchDependencies','replace','_onUserJoin','_transformStack','fetchMissingChangesets','image/bmp','SUCCUSS','_socketMessageSubscription','extend','addHandlerCallback','href','_createInitialStateImpl','getTime','pauseCollaboration','LICENSE_MAX_UNITS_EXCEEDED','CollaborationSocketService','NoPadding','_schedule','listRoles','focused$','SheetTransformSelectionsService','reject','CONFLICT','MSG_FOR_ERROR','append','_socketService','create','_localCacheService','getLatestCsReqIdBySid','format','UnitEmbedded','[PendingState]:\x20received\x20rejection.','onTransformRemoteChangesetByIMECache','/block/','transformMutationsWithChangeset','_onFetchMissResult','objectType','@univerjs-pro/collaboration','_getCurrentRevision','JOIN_ROOM_NOT_EXISTS','getTypeOfUnitDisposed$','INGEST','_onRemoteACK','_oKey','_transformStateCache','UniverTelemetry','HEARTBEAT','session.room-cnt-exceeds','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_initDependencies','sin','_socket$','message$','putCollaborators','onCommentUpdate','CompressMutationService','APPLY_DUPLICATED','[OfflineState]:\x20received\x20acknowledgement.','{fileID}','_createInitialState','slice','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','Disposable','SNAPSHOT_URL_KEY','copyFileMeta','AES','unknown','LICENSE_IMPORT_SIZE_EXCEEDED','toggleOnline','collaboratorID','CHANGESET_SHOULD_RETRY','iterations','_nRounds','awaiting_with_pending','close$','UniverDrawing','_onLocalMutation','_telemetryService','_clearLocalCache','_executeRemoteChangeset','DEFAULT_WS_SESSION_TICKET_URL','COMPRESS_MUTATION_SEND','1008651DcFeSs','updateOfflineData','?size=','removeMember','LIVESHARE_REQUEST_HOST','_roomMembers','IImageIoService','_state','requireSession','onlyLocal','selections','textEncoder','event$','getTypeOfUnitAdded$','_revisionService','body','values','PERMISSION_DENIED','Injector','loadUnit','now','_initMergeInterceptor','_onRecvEvent','__Key__','socketService','Malformed\x20UTF-8\x20data','ISocketService','_getSendChangesetTimeout','onRemoteRej','name','baseRev','HTTPService','responseType','UniverCollaborationClientPlugin','HttpExport','toDisposable','__creator','\x20-\x20','_imageSourceCache','unitId\x20is\x20not\x20found','@univerjs-pro/license','UNIVER_SLIDE','ImageUploadStatusType','patch'];_0x3043=function(){return _0x6d0458;};return _0x3043();}function _0x2e4c(_0x331f4f,_0xbef8b){var _0x30434b=_0x3043();return _0x2e4c=function(_0x2e4c9e,_0x1bf508){_0x2e4c9e=_0x2e4c9e-0x1b1;var _0x2e81e5=_0x30434b[_0x2e4c9e];return _0x2e81e5;},_0x2e4c(_0x331f4f,_0xbef8b);}(function(_0x3d72b4,_0x3a60d1){var _0x3437d2=_0x2e4c,_0x494637=_0x3d72b4();while(!![]){try{var _0x47ca97=-parseInt(_0x3437d2(0x355))/0x1+-parseInt(_0x3437d2(0x2b3))/0x2+parseInt(_0x3437d2(0x452))/0x3*(-parseInt(_0x3437d2(0x283))/0x4)+parseInt(_0x3437d2(0x2db))/0x5*(-parseInt(_0x3437d2(0x22f))/0x6)+-parseInt(_0x3437d2(0x2b4))/0x7*(parseInt(_0x3437d2(0x23a))/0x8)+-parseInt(_0x3437d2(0x1b8))/0x9*(-parseInt(_0x3437d2(0x529))/0xa)+parseInt(_0x3437d2(0x2b9))/0xb*(parseInt(_0x3437d2(0x2d5))/0xc);if(_0x47ca97===_0x3a60d1)break;else _0x494637['push'](_0x494637['shift']());}catch(_0x36e8dd){_0x494637['push'](_0x494637['shift']());}}}(_0x3043,0xcb9f3),function(_0x3e8d05,_0x301c65){var _0x3ed649=_0x2e4c;typeof exports==_0x3ed649(0x279)&&typeof module<'u'?_0x301c65(exports,require('@univerjs/core'),require(_0x3ed649(0x1df)),require(_0x3ed649(0x26a)),require(_0x3ed649(0x328)),require(_0x3ed649(0x21e)),require(_0x3ed649(0x266)),require('@univerjs/docs'),require(_0x3ed649(0x44a)),require(_0x3ed649(0x1b6)),require(_0x3ed649(0x37d))):typeof define==_0x3ed649(0x51c)&&define[_0x3ed649(0x3b6)]?define(['exports',_0x3ed649(0x42a),'rxjs',_0x3ed649(0x26a),_0x3ed649(0x328),_0x3ed649(0x21e),'@univerjs/telemetry',_0x3ed649(0x483),_0x3ed649(0x44a),_0x3ed649(0x1b6),_0x3ed649(0x37d)],_0x301c65):(_0x3e8d05=typeof globalThis<'u'?globalThis:_0x3e8d05||self,_0x301c65(_0x3e8d05['UniverProCollaborationClient']={},_0x3e8d05['UniverCore'],_0x3e8d05[_0x3ed649(0x1df)],_0x3e8d05['rxjs']['operators'],_0x3e8d05[_0x3ed649(0x2ca)],_0x3e8d05[_0x3ed649(0x482)],_0x3e8d05[_0x3ed649(0x330)],_0x3e8d05[_0x3ed649(0x50c)],_0x3e8d05[_0x3ed649(0x500)],_0x3e8d05[_0x3ed649(0x34e)],_0x3e8d05[_0x3ed649(0x45c)]));}(this,function(_0x386c41,_0x38eb38,_0x14e7e3,_0x23a54f,_0x21ba50,_0x4dd461,_0x794888,_0x12bfd8,_0x56a74c,_0x243978,_0x427755){'use strict';var _0x1e523d=_0x2e4c;var _0x4fd78e=Object['defineProperty'],_0x1a1d1a=(_0x24e2a6,_0x40ca69,_0x37f558)=>_0x40ca69 in _0x24e2a6?_0x4fd78e(_0x24e2a6,_0x40ca69,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x37f558}):_0x24e2a6[_0x40ca69]=_0x37f558,_0x4e8dd0=(_0x3b7f98,_0x11b723,_0x43801a)=>_0x1a1d1a(_0x3b7f98,typeof _0x11b723!=_0x1e523d(0x23d)?_0x11b723+'':_0x11b723,_0x43801a);const _0xce3e87='SNAPSHOT_SERVER_URL_KEY',_0x537dd0='/universer-api/snapshot',_0x167f57='SNAPSHOT_URL_KEY',_0x33c5eb=_0x1e523d(0x2bf),_0x1458a7=_0x1e523d(0x3bc),_0x59b5ec=_0x1e523d(0x4da),_0x5aba52=_0x1e523d(0x29b),_0xf582f2=_0x1e523d(0x257),_0x10a2b2=_0x1e523d(0x3ed),_0x173426='RETRY_CONNECTING_MAX_COUNT',_0x19c4f2=_0x1e523d(0x237),_0x484800=_0x1e523d(0x245),_0x4147a2='/universer-api/comb',_0x54b291=_0x1e523d(0x3b2),_0x305e07='/universer-api/oidc/authpage',_0x26b42a='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',_0x1406ab='/universer-api/uniscript';var _0x5a46ac=(_0xf9e599=>(_0xf9e599[_0xf9e599[_0x1e523d(0x248)]=0x0]='UNDEFINED',_0xf9e599[_0xf9e599['OK']=0x1]='OK',_0xf9e599[_0xf9e599[_0x1e523d(0x496)]=0x2]=_0x1e523d(0x496),_0xf9e599[_0xf9e599[_0x1e523d(0x366)]=0x3]=_0x1e523d(0x366),_0xf9e599[_0xf9e599[_0x1e523d(0x47d)]=0x4]=_0x1e523d(0x47d),_0xf9e599[_0xf9e599['UNAUTHENTICATED']=0x5]=_0x1e523d(0x523),_0xf9e599[_0xf9e599['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0xf9e599[_0xf9e599[_0x1e523d(0x49a)]=0x7]=_0x1e523d(0x49a),_0xf9e599[_0xf9e599[_0x1e523d(0x509)]=0x8]=_0x1e523d(0x509),_0xf9e599[_0xf9e599[_0x1e523d(0x224)]=0x9]='COMPLETION_FINISHED',_0xf9e599[_0xf9e599[_0x1e523d(0x4b3)]=0xa]=_0x1e523d(0x4b3),_0xf9e599[_0xf9e599[_0x1e523d(0x52e)]=0x1389]=_0x1e523d(0x52e),_0xf9e599[_0xf9e599['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0xf9e599[_0xf9e599[_0x1e523d(0x4c2)]=0x1772]=_0x1e523d(0x4c2),_0xf9e599[_0xf9e599[_0x1e523d(0x486)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0xf9e599[_0xf9e599['APPLY_REJECT']=0x1b59]=_0x1e523d(0x3ef),_0xf9e599[_0xf9e599[_0x1e523d(0x2bb)]=0x1b5a]=_0x1e523d(0x2bb),_0xf9e599[_0xf9e599[_0x1e523d(0x521)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0xf9e599[_0xf9e599[_0x1e523d(0x42f)]=0x1b5c]=_0x1e523d(0x42f),_0xf9e599[_0xf9e599[_0x1e523d(0x33b)]=0x1b5d]=_0x1e523d(0x33b),_0xf9e599[_0xf9e599[_0x1e523d(0x44e)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0xf9e599[_0xf9e599[_0x1e523d(0x311)]=0x2329]=_0x1e523d(0x311),_0xf9e599[_0xf9e599['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x1e523d(0x3cf),_0xf9e599[_0xf9e599[_0x1e523d(0x346)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0xf9e599[_0xf9e599['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x1e523d(0x39e),_0xf9e599[_0xf9e599[_0x1e523d(0x2f0)]=0x232d]=_0x1e523d(0x2f0),_0xf9e599[_0xf9e599[_0x1e523d(0x1c4)]=0x2711]=_0x1e523d(0x1c4),_0xf9e599[_0xf9e599['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x1e523d(0x477),_0xf9e599[_0xf9e599[_0x1e523d(0x517)]=0x2713]=_0x1e523d(0x517),_0xf9e599[_0xf9e599[_0x1e523d(0x2a1)]=0x2714]=_0x1e523d(0x2a1),_0xf9e599[_0xf9e599[_0x1e523d(0x28d)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0xf9e599[_0xf9e599[_0x1e523d(0x3c6)]=0x271b]=_0x1e523d(0x3c6),_0xf9e599[_0xf9e599[_0x1e523d(0x2f3)]=0x2af9]=_0x1e523d(0x2f3),_0xf9e599[_0xf9e599[_0x1e523d(0x502)]=0x2ee1]=_0x1e523d(0x502),_0xf9e599[_0xf9e599[_0x1e523d(0x4e9)]=0x2ee2]=_0x1e523d(0x4e9),_0xf9e599[_0xf9e599[_0x1e523d(0x498)]=0x2ee3]=_0x1e523d(0x498),_0xf9e599[_0xf9e599[_0x1e523d(0x534)]=0x2ee4]=_0x1e523d(0x534),_0xf9e599[_0xf9e599[_0x1e523d(0x2a3)]=0x2ee5]=_0x1e523d(0x2a3),_0xf9e599[_0xf9e599[_0x1e523d(0x2e8)]=0x32c9]=_0x1e523d(0x2e8),_0xf9e599[_0xf9e599['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x1e523d(0x217),_0xf9e599[_0xf9e599[_0x1e523d(0x29d)]=0x32cb]=_0x1e523d(0x29d),_0xf9e599[_0xf9e599[_0x1e523d(0x3ab)]=-0x1]=_0x1e523d(0x3ab),_0xf9e599))(_0x5a46ac||{}),_0x16e80c=(_0x282a8b=>(_0x282a8b[_0x282a8b[_0x1e523d(0x26d)]=0x0]=_0x1e523d(0x26d),_0x282a8b[_0x282a8b['UNIVER_DOC']=0x1]=_0x1e523d(0x451),_0x282a8b[_0x282a8b[_0x1e523d(0x4c4)]=0x2]=_0x1e523d(0x4c4),_0x282a8b[_0x282a8b[_0x1e523d(0x37e)]=0x3]='UNIVER_SLIDE',_0x282a8b[_0x282a8b[_0x1e523d(0x1fa)]=0x4]=_0x1e523d(0x1fa),_0x282a8b[_0x282a8b['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x282a8b))(_0x16e80c||{}),_0x4a5c79=(_0x200557=>(_0x200557[_0x200557[_0x1e523d(0x537)]=0x0]=_0x1e523d(0x537),_0x200557[_0x200557[_0x1e523d(0x440)]=0x1]=_0x1e523d(0x440),_0x200557[_0x200557[_0x1e523d(0x2ec)]=0x2]=_0x1e523d(0x2ec),_0x200557[_0x200557[_0x1e523d(0x50f)]=0x3]=_0x1e523d(0x50f),_0x200557[_0x200557[_0x1e523d(0x32c)]=0x4]=_0x1e523d(0x32c),_0x200557[_0x200557[_0x1e523d(0x331)]=0x5]='HEARTBEAT',_0x200557[_0x200557[_0x1e523d(0x406)]=0x6]='RECV',_0x200557[_0x200557[_0x1e523d(0x3ab)]=-0x1]='UNRECOGNIZED',_0x200557))(_0x4a5c79||{}),_0x2acffd=(_0x39275a=>(_0x39275a[_0x39275a[_0x1e523d(0x2fd)]=0x0]='UNKNOWN_CODE',_0x39275a[_0x39275a['OK']=0x1]='OK',_0x39275a[_0x39275a[_0x1e523d(0x21b)]=0x2]=_0x1e523d(0x21b),_0x39275a[_0x39275a[_0x1e523d(0x3ba)]=0x3e9]=_0x1e523d(0x3ba),_0x39275a[_0x39275a['JOIN_ROOM_NOT_EXISTS']=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x39275a[_0x39275a[_0x1e523d(0x2f4)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x39275a[_0x39275a[_0x1e523d(0x219)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x39275a[_0x39275a[_0x1e523d(0x3ab)]=-0x1]=_0x1e523d(0x3ab),_0x39275a))(_0x2acffd||{}),_0x5b0f0d=(_0x5941c3=>(_0x5941c3[_0x5941c3[_0x1e523d(0x3e5)]=0x0]=_0x1e523d(0x3e5),_0x5941c3[_0x5941c3[_0x1e523d(0x43f)]=0x1]=_0x1e523d(0x43f),_0x5941c3[_0x5941c3[_0x1e523d(0x377)]=0x2]=_0x1e523d(0x377),_0x5941c3[_0x5941c3[_0x1e523d(0x321)]=0x3]=_0x1e523d(0x321),_0x5941c3[_0x5941c3[_0x1e523d(0x2fb)]=0x4]=_0x1e523d(0x2fb),_0x5941c3[_0x5941c3['UserProfileImg']=0x5]=_0x1e523d(0x3f9),_0x5941c3[_0x5941c3[_0x1e523d(0x3ab)]=-0x1]=_0x1e523d(0x3ab),_0x5941c3))(_0x5b0f0d||{});const _0x10421d=_0x1e523d(0x2b1),_0x2719a7={};var _0x4b31f0=(_0x40a56c=>(_0x40a56c['OTHER_CLIENT_EDITING']=_0x1e523d(0x28a),_0x40a56c[_0x1e523d(0x366)]='PERMISSION_DENIED',_0x40a56c[_0x1e523d(0x319)]='CONFLICT',_0x40a56c[_0x1e523d(0x223)]='CLOSE_ROOM',_0x40a56c[_0x1e523d(0x27c)]=_0x1e523d(0x27c),_0x40a56c[_0x1e523d(0x1b5)]=_0x1e523d(0x1b5),_0x40a56c[_0x1e523d(0x25a)]=_0x1e523d(0x25a),_0x40a56c[_0x1e523d(0x3af)]=_0x1e523d(0x3af),_0x40a56c))(_0x4b31f0||{});class _0x541cfa{constructor(){var _0x1a8488=_0x1e523d;_0x4e8dd0(this,_0x1a8488(0x3ae),new _0x14e7e3[(_0x1a8488(0x4b7))]()),_0x4e8dd0(this,_0x1a8488(0x361),this[_0x1a8488(0x3ae)][_0x1a8488(0x3e7)]());}[_0x1e523d(0x51d)](_0x3cf1c3){var _0x1d2a73=_0x1e523d;this[_0x1d2a73(0x3ae)][_0x1d2a73(0x2e3)](_0x3cf1c3);}}const _0xabc7a6=_0x38eb38[_0x1e523d(0x2b2)](_0x1e523d(0x1e3));function _0x1da4e6(_0x2d07b0){var _0x1c1fd9=_0x1e523d,_0x1d6281,_0x1f4181,_0x1010ba,_0x441910,_0x4dff1c;const _0x31c440=_0x2d07b0[_0x1c1fd9(0x434)],_0x528fc1=JSON[_0x1c1fd9(0x43a)](_0x31c440);switch(_0x528fc1[_0x1c1fd9(0x4a1)]){case _0x4a5c79['HEARTBEAT']:case _0x4a5c79[_0x1c1fd9(0x440)]:{const _0xf788dd=_0x528fc1[_0x1c1fd9(0x2ee)];return{..._0x528fc1,'data':_0xf788dd,'cmd':_0x528fc1['cmd']};}case _0x4a5c79[_0x1c1fd9(0x2ec)]:{const _0x530331=_0x528fc1[_0x1c1fd9(0x1fe)];return{..._0x528fc1,'data':_0x530331,'cmd':_0x528fc1[_0x1c1fd9(0x4a1)]};}case _0x4a5c79[_0x1c1fd9(0x406)]:{const _0x2bd3ec=_0x528fc1['collaMsg'];switch(_0x2bd3ec['eventID']){case _0x21ba50['CollaborationEvent'][_0x1c1fd9(0x1c1)]:return{..._0x528fc1,'data':{..._0x2bd3ec,'data':(_0x1d6281=_0x2bd3ec[_0x1c1fd9(0x2f5)])==null?void 0x0:_0x1d6281['cs']},'cmd':_0x528fc1[_0x1c1fd9(0x4a1)]};case _0x21ba50[_0x1c1fd9(0x2c1)][_0x1c1fd9(0x2c8)]:return{..._0x528fc1,'data':{..._0x2bd3ec,'data':(_0x1f4181=_0x2bd3ec['csAckEvent'])==null?void 0x0:_0x1f4181['cs']},'cmd':_0x528fc1[_0x1c1fd9(0x4a1)]};case _0x21ba50[_0x1c1fd9(0x2c1)][_0x1c1fd9(0x4e7)]:return{..._0x528fc1,'data':{..._0x2bd3ec,'data':(_0x1010ba=_0x2bd3ec[_0x1c1fd9(0x4f8)])==null?void 0x0:_0x1010ba['cs']},'cmd':_0x528fc1['cmd']};case _0x21ba50[_0x1c1fd9(0x2c1)][_0x1c1fd9(0x473)]:return{..._0x528fc1,'data':{..._0x2bd3ec,'data':(_0x441910=_0x2bd3ec[_0x1c1fd9(0x3a1)])==null?void 0x0:_0x441910['cs']},'cmd':_0x528fc1[_0x1c1fd9(0x4a1)]};case _0x21ba50[_0x1c1fd9(0x2c1)][_0x1c1fd9(0x349)]:return{..._0x528fc1,'data':{..._0x2bd3ec,'data':(_0x4dff1c=_0x2bd3ec['csShouldRetryEvent'])==null?void 0x0:_0x4dff1c['cs']},'cmd':_0x528fc1[_0x1c1fd9(0x4a1)]};case _0x21ba50[_0x1c1fd9(0x2c1)][_0x1c1fd9(0x2f8)]:return{..._0x528fc1,'data':{..._0x2bd3ec,'data':_0x2bd3ec['updateCursorEvent']},'cmd':_0x528fc1[_0x1c1fd9(0x4a1)]};case _0x21ba50[_0x1c1fd9(0x2c1)]['USERS_ENTER']:return{..._0x528fc1,'data':{..._0x2bd3ec,'data':_0x2bd3ec[_0x1c1fd9(0x45b)]},'cmd':_0x528fc1[_0x1c1fd9(0x4a1)]};case _0x21ba50[_0x1c1fd9(0x2c1)][_0x1c1fd9(0x2c6)]:return{..._0x528fc1,'data':{..._0x2bd3ec,'data':_0x2bd3ec[_0x1c1fd9(0x4bf)]},'cmd':_0x528fc1[_0x1c1fd9(0x4a1)]};case _0x21ba50[_0x1c1fd9(0x2c1)]['LIVESHARE_NEW_HOST']:return{..._0x528fc1,'data':{..._0x2bd3ec,'data':_0x2bd3ec[_0x1c1fd9(0x20d)]},'cmd':_0x528fc1[_0x1c1fd9(0x4a1)]};case _0x21ba50[_0x1c1fd9(0x2c1)][_0x1c1fd9(0x4e6)]:case _0x21ba50[_0x1c1fd9(0x2c1)][_0x1c1fd9(0x1f6)]:return{..._0x528fc1,'data':{..._0x2bd3ec,'data':_0x2bd3ec['liveShareOperation']},'cmd':_0x528fc1[_0x1c1fd9(0x4a1)]};case _0x21ba50[_0x1c1fd9(0x2c1)][_0x1c1fd9(0x1e1)]:return{..._0x528fc1,'data':{..._0x2bd3ec,'data':_0x2bd3ec[_0x1c1fd9(0x20d)]},'cmd':_0x528fc1[_0x1c1fd9(0x4a1)]};case _0x21ba50[_0x1c1fd9(0x2c1)][_0x1c1fd9(0x31a)]:return{..._0x528fc1,'data':_0x2bd3ec,'cmd':_0x528fc1[_0x1c1fd9(0x4a1)]};case _0x21ba50['CollaborationEvent'][_0x1c1fd9(0x3d8)]:return{..._0x528fc1,'data':{..._0x2bd3ec,'data':_0x2bd3ec[_0x1c1fd9(0x29c)]},'cmd':_0x528fc1[_0x1c1fd9(0x4a1)]};case _0x21ba50[_0x1c1fd9(0x2c1)][_0x1c1fd9(0x453)]:return{..._0x528fc1,'data':{..._0x2bd3ec,'data':_0x2bd3ec[_0x1c1fd9(0x3d3)]},'cmd':_0x528fc1[_0x1c1fd9(0x4a1)]};case _0x21ba50[_0x1c1fd9(0x2c1)]['SHOULD_CLOSE_CONN']:return{..._0x528fc1,'data':{..._0x2bd3ec,'data':_0x2bd3ec[_0x1c1fd9(0x4f9)]},'cmd':_0x528fc1[_0x1c1fd9(0x4a1)]};case _0x21ba50['CollaborationEvent'][_0x1c1fd9(0x4ca)]:return{..._0x528fc1,'data':{..._0x2bd3ec,'data':_0x2bd3ec['uniscriptRunEvent']},'cmd':_0x528fc1[_0x1c1fd9(0x4a1)]};default:return _0x528fc1;}}default:return _0x528fc1;}}function _0x92190a(_0x521482){var _0x2eff18=_0x1e523d;switch(_0x521482['cmd']){case _0x4a5c79[_0x2eff18(0x331)]:case _0x4a5c79[_0x2eff18(0x440)]:return JSON[_0x2eff18(0x53c)]({'cmd':_0x521482[_0x2eff18(0x4a1)],'routeKey':_0x521482['routeKey']});case _0x4a5c79[_0x2eff18(0x32c)]:{let _0x4cda6d;switch(_0x521482[_0x2eff18(0x434)][_0x2eff18(0x52b)]){case _0x21ba50['CollaborationEvent'][_0x2eff18(0x2f8)]:{_0x4cda6d={'eventID':_0x21ba50[_0x2eff18(0x2c1)][_0x2eff18(0x2f8)],'updateCursorEvent':_0x521482[_0x2eff18(0x434)][_0x2eff18(0x434)]};break;}case _0x21ba50[_0x2eff18(0x2c1)][_0x2eff18(0x2c6)]:{_0x4cda6d={'eventID':_0x21ba50[_0x2eff18(0x2c1)][_0x2eff18(0x2c6)],'leaveEvent':_0x521482['data']['data']};break;}case _0x21ba50[_0x2eff18(0x2c1)][_0x2eff18(0x2e7)]:{_0x4cda6d={'eventID':_0x21ba50['CollaborationEvent']['USERS_ENTER'],'joinEvent':_0x521482[_0x2eff18(0x434)][_0x2eff18(0x434)]};break;}case _0x21ba50['CollaborationEvent'][_0x2eff18(0x503)]:{_0x4cda6d={'eventID':_0x21ba50[_0x2eff18(0x2c1)][_0x2eff18(0x503)],'liveShareNewHost':_0x521482[_0x2eff18(0x434)][_0x2eff18(0x434)]};break;}case _0x21ba50[_0x2eff18(0x2c1)]['LIVESHARE_OPERATION']:{_0x4cda6d={'eventID':_0x21ba50[_0x2eff18(0x2c1)][_0x2eff18(0x1f6)],'liveShareOperation':_0x521482[_0x2eff18(0x434)][_0x2eff18(0x434)]};break;}case _0x21ba50[_0x2eff18(0x2c1)][_0x2eff18(0x1e1)]:{_0x4cda6d={'eventID':_0x21ba50['CollaborationEvent']['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x521482['data'][_0x2eff18(0x434)]};break;}case _0x21ba50[_0x2eff18(0x2c1)][_0x2eff18(0x359)]:{_0x4cda6d={'eventID':_0x21ba50['CollaborationEvent'][_0x2eff18(0x359)],'liveShareRequestHost':_0x521482[_0x2eff18(0x434)]['data']};break;}case _0x21ba50['CollaborationEvent'][_0x2eff18(0x4e6)]:{_0x4cda6d={'eventID':_0x21ba50[_0x2eff18(0x2c1)][_0x2eff18(0x4e6)]};break;}default:_0x4cda6d={'eventID':_0x521482[_0x2eff18(0x434)][_0x2eff18(0x52b)]};}return JSON[_0x2eff18(0x53c)]({'cmd':_0x521482['cmd'],'routeKey':_0x521482[_0x2eff18(0x40c)],'collaMsg':_0x4cda6d});}case _0x4a5c79['JOIN']:return JSON['stringify']({'cmd':_0x521482[_0x2eff18(0x4a1)],'routeKey':_0x521482[_0x2eff18(0x40c)],'joinReq':_0x521482[_0x2eff18(0x434)]});case _0x4a5c79[_0x2eff18(0x50f)]:return JSON['stringify']({'cmd':_0x521482[_0x2eff18(0x4a1)],'routeKey':_0x521482[_0x2eff18(0x40c)],'leaveReq':_0x521482['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x1ae178=Object['getOwnPropertyDescriptor'],_0xfa19cf=(_0x176565,_0x5a39c5,_0x58b4f5,_0x54bfa6)=>{var _0x182b9c=_0x1e523d;for(var _0x28c9cd=_0x54bfa6>0x1?void 0x0:_0x54bfa6?_0x1ae178(_0x5a39c5,_0x58b4f5):_0x5a39c5,_0x4794a6=_0x176565[_0x182b9c(0x254)]-0x1,_0x11d9a5;_0x4794a6>=0x0;_0x4794a6--)(_0x11d9a5=_0x176565[_0x4794a6])&&(_0x28c9cd=_0x11d9a5(_0x28c9cd)||_0x28c9cd);return _0x28c9cd;},_0x3231b5=(_0x302b95,_0x3bbc3f)=>(_0x231d63,_0x145fc8)=>_0x3bbc3f(_0x231d63,_0x145fc8,_0x302b95);const _0x313db0=_0x38eb38[_0x1e523d(0x2b2)](_0x1e523d(0x2e1));function _0x58ddaf(_0x5565e7,_0x2ff461,_0x4c4f9d){var _0x1c66bf=_0x1e523d;return _0x5565e7+'/'+_0x2ff461+_0x1c66bf(0x2d0)+_0x4c4f9d+_0x1c66bf(0x538);}_0x386c41['CollaborationSocketService']=class extends _0x38eb38[_0x1e523d(0x341)]{constructor(_0x5c206f,_0x326a85,_0x1b64cb,_0x45c2a1,_0x5e7aec){var _0x31deeb=_0x1e523d;super(),this[_0x31deeb(0x471)]=_0x5c206f,this[_0x31deeb(0x426)]=_0x326a85,this[_0x31deeb(0x462)]=_0x1b64cb,this[_0x31deeb(0x4a4)]=_0x45c2a1,this[_0x31deeb(0x4ed)]=_0x5e7aec;}['_doCreateSocket'](_0x2b8b32){var _0x56d7e2=_0x1e523d;const _0x1d45f3=this[_0x56d7e2(0x471)]['get'](_0x4dd461[_0x56d7e2(0x36f)]);if(!_0x1d45f3)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x3a6892=_0x1d45f3['createSocket'](_0x2b8b32);if(!_0x3a6892)throw new Error(_0x56d7e2(0x528));const _0x107b5e=new _0x38eb38['DisposableCollection'](),_0x49985a=new _0x14e7e3[(_0x56d7e2(0x4b7))]();_0x107b5e[_0x56d7e2(0x3a7)](_0x3a6892[_0x56d7e2(0x34d)][_0x56d7e2(0x271)](_0x5aa0ee=>_0x49985a['next'](_0x5aa0ee))),_0x107b5e['add'](_0x38eb38[_0x56d7e2(0x378)](()=>_0x49985a[_0x56d7e2(0x485)]()));const _0x36d674=new _0x14e7e3['Subject']();_0x107b5e['add'](_0x3a6892[_0x56d7e2(0x4b8)][_0x56d7e2(0x271)](_0x543cc3=>_0x36d674[_0x56d7e2(0x2e3)](_0x543cc3))),_0x107b5e[_0x56d7e2(0x3a7)](_0x38eb38['toDisposable'](()=>_0x36d674['complete']()));const _0x1fe2d=new _0x14e7e3['Subject']();_0x107b5e[_0x56d7e2(0x3a7)](_0x3a6892[_0x56d7e2(0x337)][_0x56d7e2(0x271)](_0x576d19=>{var _0x1f26fa=_0x56d7e2;const _0x55acef=_0x1da4e6(_0x576d19);_0x1fe2d[_0x1f26fa(0x2e3)](_0x55acef);})),_0x107b5e[_0x56d7e2(0x3a7)](_0x38eb38[_0x56d7e2(0x378)](()=>_0x1fe2d[_0x56d7e2(0x485)]()));let _0x116b56;const _0x383859=()=>{var _0x2b1965=_0x56d7e2;_0x36d674[_0x2b1965(0x2e3)](new Event(_0x2b1965(0x24a))),_0x49985a[_0x2b1965(0x2e3)](new Event(_0x2b1965(0x24a))),_0x116b56[_0x2b1965(0x3c1)]();};return _0x116b56={'memberID':'','close$':_0x49985a[_0x56d7e2(0x3e7)](),'error$':_0x36d674[_0x56d7e2(0x3e7)](),'open$':_0x3a6892[_0x56d7e2(0x260)],'message$':_0x1fe2d[_0x56d7e2(0x3e7)](),'send':_0x123350=>{var _0xbf77eb=_0x56d7e2;if(_0x123350['cmd']===_0x4a5c79[_0xbf77eb(0x32c)]){if(_0x123350[_0xbf77eb(0x434)][_0xbf77eb(0x52b)]===_0x21ba50[_0xbf77eb(0x2c1)][_0xbf77eb(0x256)]){this['_submitChangeset'](_0x116b56,_0x123350[_0xbf77eb(0x434)])[_0xbf77eb(0x2aa)](_0x21a0b7=>{var _0x522b0a=_0xbf77eb;this[_0x522b0a(0x4a4)][_0x522b0a(0x450)](_0x21a0b7),_0x383859();});return;}if(_0x123350[_0xbf77eb(0x434)]['eventID']===_0x21ba50[_0xbf77eb(0x2c1)][_0xbf77eb(0x2e5)]){const _0x4fc414=_0x123350[_0xbf77eb(0x434)];this[_0xbf77eb(0x3fb)](_0x4fc414)[_0xbf77eb(0x4ff)](_0x31c0f8=>{var _0xd14c49=_0xbf77eb;_0x1fe2d[_0xd14c49(0x2e3)]({'cmd':_0x4a5c79[_0xd14c49(0x406)],'code':_0x2acffd['OK'],'routeKey':_0x4fc414[_0xd14c49(0x434)]['unitID'],'routeType':'','data':{'eventID':_0x21ba50[_0xd14c49(0x2c1)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x31c0f8}}});})[_0xbf77eb(0x2aa)](_0x4fd39b=>{var _0x16ae10=_0xbf77eb;this[_0x16ae10(0x4a4)][_0x16ae10(0x450)](_0x4fd39b),_0x383859();});return;}}_0x3a6892[_0xbf77eb(0x235)](_0x92190a(_0x123350));},'close':()=>{var _0x48ff6=_0x56d7e2;_0x3a6892[_0x48ff6(0x3c1)](),_0x107b5e[_0x48ff6(0x410)]();}},_0x116b56;}async[_0x1e523d(0x4b0)](_0x555f85,_0x41f8bf){var _0x303a3f=_0x1e523d,_0xaeba2c,_0x6cf13f;const {unitType:_0x4c2554,unitID:_0x2f4d4f,changeset:_0x213da7}=_0x41f8bf[_0x303a3f(0x434)],_0x150a02={'unitID':_0x2f4d4f,'memberID':_0x555f85['memberID'],'type':_0x4c2554,'changeset':_0x21ba50[_0x303a3f(0x282)](_0x213da7)},_0x19f8f5=this[_0x303a3f(0x462)][_0x303a3f(0x508)](_0x484800),_0x13acd8=this[_0x303a3f(0x462)]['getConfig'](_0x10421d),_0x62743=_0x58ddaf((_0x6cf13f=(_0xaeba2c=_0x13acd8==null?void 0x0:_0x13acd8[_0x303a3f(0x22a)])!=null?_0xaeba2c:_0x19f8f5)!=null?_0x6cf13f:_0x4147a2,_0x4c2554,_0x2f4d4f);try{await this[_0x303a3f(0x426)]['post'](_0x62743,{'body':_0x150a02});}catch(_0x19cd56){throw this[_0x303a3f(0x4a4)][_0x303a3f(0x450)]('[CollaborationSession]',_0x303a3f(0x234)),_0x19cd56;}}async[_0x1e523d(0x3fb)](_0x4d96c5){var _0x418ac1=_0x1e523d;const {unitID:_0x4bdeaf,from:_0x92df4a,to:_0x481818,unitType:_0x266c13}=_0x4d96c5['data'];return(await this['_snapshotServerService'][_0x418ac1(0x307)]({'metadata':void 0x0},{'unitID':_0x4bdeaf,'type':_0x266c13,'from':_0x92df4a,'to':_0x481818}))[_0x418ac1(0x29e)];}},_0x386c41[_0x1e523d(0x312)]=_0xfa19cf([_0x3231b5(0x0,_0x38eb38[_0x1e523d(0x20f)](_0x38eb38[_0x1e523d(0x367)])),_0x3231b5(0x1,_0x38eb38[_0x1e523d(0x20f)](_0x4dd461[_0x1e523d(0x374)])),_0x3231b5(0x2,_0x38eb38['IConfigService']),_0x3231b5(0x3,_0x38eb38[_0x1e523d(0x220)]),_0x3231b5(0x4,_0x21ba50[_0x1e523d(0x231)])],_0x386c41['CollaborationSocketService']);const _0x3f2ce4=_0x1e523d(0x2ab);function _0xf8dad5(_0x355145){var _0x599f91=_0x1e523d;return JSON[_0x599f91(0x53c)](_0x355145)[_0x599f91(0x254)];}class _0x3fd561{constructor(){var _0x24d62e=_0x1e523d;_0x4e8dd0(this,_0x24d62e(0x26c),new _0x14e7e3[(_0x24d62e(0x4b7))]()),_0x4e8dd0(this,_0x24d62e(0x3f2),this[_0x24d62e(0x26c)][_0x24d62e(0x3e7)]());}[_0x1e523d(0x339)](_0x2d302e){var _0x48d87a=_0x1e523d;this[_0x48d87a(0x26c)][_0x48d87a(0x2e3)](_0x2d302e);}}var _0x3c8a7b=Object[_0x1e523d(0x4a8)],_0x48fdac=(_0x966191,_0xb1fbb,_0x5067b8,_0x244514)=>{for(var _0x25ff1b=_0x244514>0x1?void 0x0:_0x244514?_0x3c8a7b(_0xb1fbb,_0x5067b8):_0xb1fbb,_0x28e70d=_0x966191['length']-0x1,_0x2d3449;_0x28e70d>=0x0;_0x28e70d--)(_0x2d3449=_0x966191[_0x28e70d])&&(_0x25ff1b=_0x2d3449(_0x25ff1b)||_0x25ff1b);return _0x25ff1b;},_0x25a4a8=(_0x445133,_0x9cd519)=>(_0x1cf67f,_0x319fe4)=>_0x9cd519(_0x1cf67f,_0x319fe4,_0x445133);_0x386c41['MemberService']=class extends _0x38eb38[_0x1e523d(0x341)]{constructor(_0x4462fb,_0x2a5180){var _0x2a847f=_0x1e523d;super(),_0x4e8dd0(this,_0x2a847f(0x35a),new Map()),_0x4e8dd0(this,_0x2a847f(0x2c9),new _0x14e7e3['Subject']()),(this[_0x2a847f(0x1b1)]=_0x4462fb,this[_0x2a847f(0x42c)]=_0x2a5180,this[_0x2a847f(0x3b4)](_0x14e7e3[_0x2a847f(0x27f)](this[_0x2a847f(0x1b1)][_0x2a847f(0x32b)](_0x38eb38[_0x2a847f(0x23c)]['UNIVER_SHEET'])[_0x2a847f(0x2c4)](_0x23a54f['map'](_0x1f9438=>_0x1f9438[_0x2a847f(0x4d2)]())),this['_univerInstanceService'][_0x2a847f(0x32b)](_0x38eb38['UniverInstanceType'][_0x2a847f(0x451)])[_0x2a847f(0x2c4)](_0x23a54f[_0x2a847f(0x404)](_0x290dbc=>_0x290dbc['getUnitId']())),this[_0x2a847f(0x1b1)][_0x2a847f(0x32b)](_0x38eb38['UniverInstanceType'][_0x2a847f(0x37e)])[_0x2a847f(0x2c4)](_0x23a54f[_0x2a847f(0x404)](_0x4d52e8=>_0x4d52e8[_0x2a847f(0x4d2)]())))[_0x2a847f(0x271)](_0x4910ca=>this[_0x2a847f(0x28c)](_0x4910ca))));}[_0x1e523d(0x50b)](_0x456219){var _0x18e6c7=_0x1e523d;return this['_roomMembers']['has'](_0x456219)?_0x14e7e3['of'](this[_0x18e6c7(0x35a)][_0x18e6c7(0x239)](_0x456219)):this['_roomCreated$']['pipe'](_0x23a54f[_0x18e6c7(0x404)](_0x4d0a99=>{var _0x4069b1=_0x18e6c7;if(_0x4d0a99===_0x456219)return this[_0x4069b1(0x35a)][_0x4069b1(0x239)](_0x4d0a99);}));}[_0x1e523d(0x3eb)](_0x1b203b){var _0x3c8758=_0x1e523d;this[_0x3c8758(0x42c)][_0x3c8758(0x3eb)](_0x1b203b);}['getCurrentUser'](){var _0x5d110a=_0x1e523d;return this['_userManagerService'][_0x5d110a(0x1fb)]();}[_0x1e523d(0x289)](_0x69de0c,_0x25a73a){var _0x4bbaf8=_0x1e523d;let _0x3d3f0e=this[_0x4bbaf8(0x35a)][_0x4bbaf8(0x239)](_0x69de0c);_0x3d3f0e||(_0x3d3f0e=new _0x3d62da(),this[_0x4bbaf8(0x35a)][_0x4bbaf8(0x399)](_0x69de0c,_0x3d3f0e),this[_0x4bbaf8(0x2c9)]['next'](_0x69de0c)),_0x3d3f0e['updateMember'](_0x25a73a);}[_0x1e523d(0x358)](_0x116503,_0x155a71){var _0x2a0fc7=_0x1e523d;const _0x50c42a=this[_0x2a0fc7(0x35a)]['get'](_0x116503);_0x50c42a&&_0x50c42a[_0x2a0fc7(0x358)](_0x155a71);}[_0x1e523d(0x2b8)](_0x27137e){var _0x4649eb=_0x1e523d;return this[_0x4649eb(0x35a)][_0x4649eb(0x239)](_0x27137e);}[_0x1e523d(0x225)](_0x4fa85e,_0x4ce85a){var _0x53874d=_0x1e523d;const _0x4fc806=this[_0x53874d(0x35a)][_0x53874d(0x239)](_0x4fa85e);if(_0x4fc806)return _0x4fc806['getMember'](_0x4ce85a);}[_0x1e523d(0x28c)](_0xc9bb1){var _0x34a79d=_0x1e523d;const _0x334b25=this['_roomMembers'][_0x34a79d(0x239)](_0xc9bb1);_0x334b25&&(_0x334b25['dispose'](),this[_0x34a79d(0x35a)][_0x34a79d(0x3b5)](_0xc9bb1));}[_0x1e523d(0x410)](){var _0x1ed8fa=_0x1e523d;this['_roomMembers']['forEach'](_0x2d9a04=>_0x2d9a04[_0x1ed8fa(0x410)]()),this[_0x1ed8fa(0x35a)][_0x1ed8fa(0x2fa)](),this[_0x1ed8fa(0x2c9)][_0x1ed8fa(0x485)]();}},_0x386c41[_0x1e523d(0x4bc)]=_0x48fdac([_0x25a4a8(0x0,_0x38eb38[_0x1e523d(0x25e)]),_0x25a4a8(0x1,_0x38eb38[_0x1e523d(0x20f)](_0x38eb38['UserManagerService']))],_0x386c41[_0x1e523d(0x4bc)]);class _0x3d62da extends _0x38eb38[_0x1e523d(0x341)]{constructor(){var _0x3878cf=_0x1e523d;super(...arguments),_0x4e8dd0(this,'_members',new Map()),_0x4e8dd0(this,_0x3878cf(0x3f3),new _0x14e7e3[(_0x3878cf(0x1c6))](this[_0x3878cf(0x3f1)])),_0x4e8dd0(this,'members$',this[_0x3878cf(0x3f3)]['asObservable']());}['dispose'](){var _0x58d98a=_0x1e523d;this[_0x58d98a(0x3f1)][_0x58d98a(0x2fa)]();}[_0x1e523d(0x289)](_0x370bbc){var _0x531f82=_0x1e523d;this[_0x531f82(0x3f1)][_0x531f82(0x399)](_0x370bbc['memberID'],_0x370bbc),this[_0x531f82(0x1d9)]();}[_0x1e523d(0x358)](_0x5a4e66){var _0x3cd998=_0x1e523d;this['_members'][_0x3cd998(0x3b5)](_0x5a4e66);}[_0x1e523d(0x225)](_0x2b838a){var _0x2ddd36=_0x1e523d;return this[_0x2ddd36(0x3f1)][_0x2ddd36(0x239)](_0x2b838a);}[_0x1e523d(0x25d)](){var _0x45084b=_0x1e523d;return Array[_0x45084b(0x447)](this[_0x45084b(0x3f1)][_0x45084b(0x365)]());}[_0x1e523d(0x1d9)](){var _0x4d8a7b=_0x1e523d;this[_0x4d8a7b(0x3f3)][_0x4d8a7b(0x2e3)](this['_members']);}}var _0x5accee=Object['getOwnPropertyDescriptor'],_0x21f7b9=(_0xb5e78a,_0x300fde,_0x408c97,_0xc8b5e)=>{for(var _0x2a3e5=_0xc8b5e>0x1?void 0x0:_0xc8b5e?_0x5accee(_0x300fde,_0x408c97):_0x300fde,_0x5b0f58=_0xb5e78a['length']-0x1,_0x574d68;_0x5b0f58>=0x0;_0x5b0f58--)(_0x574d68=_0xb5e78a[_0x5b0f58])&&(_0x2a3e5=_0x574d68(_0x2a3e5)||_0x2a3e5);return _0x2a3e5;},_0x4f12c4=(_0x5c7c88,_0x13f0bc)=>(_0x316018,_0x3ba534)=>_0x13f0bc(_0x316018,_0x3ba534,_0x5c7c88),_0x3e29d6=(_0x4f1409=>(_0x4f1409[_0x4f1409[_0x1e523d(0x4f2)]=0x0]='IDLE',_0x4f1409[_0x4f1409[_0x1e523d(0x1b2)]=0x1]=_0x1e523d(0x1b2),_0x4f1409[_0x4f1409['OFFLINE']=0x2]=_0x1e523d(0x4ee),_0x4f1409[_0x4f1409['ONLINE']=0x3]='ONLINE',_0x4f1409))(_0x3e29d6||{});const _0x2a9b46={[_0x2acffd[_0x1e523d(0x21b)]]:'session.join-failed',[_0x2acffd[_0x1e523d(0x3ba)]]:_0x1e523d(0x1b3),[_0x2acffd[_0x1e523d(0x32a)]]:_0x1e523d(0x2be),[_0x2acffd[_0x1e523d(0x2f4)]]:_0x1e523d(0x1e5),[_0x2acffd[_0x1e523d(0x219)]]:_0x1e523d(0x332)};_0x386c41[_0x1e523d(0x246)]=class extends _0x38eb38['RxDisposable']{constructor(_0x1eeaf3,_0x511a12,_0x434ea3,_0x5d1661,_0xaddbcd,_0x2cc025,_0x2637ba,_0x145f13,_0x377f54){var _0x33d1e9=_0x1e523d;super(),_0x4e8dd0(this,_0x33d1e9(0x1c3),new _0x14e7e3['BehaviorSubject'](0x0)),_0x4e8dd0(this,_0x33d1e9(0x21f),this['_sessionStatus$'][_0x33d1e9(0x3e7)]()),_0x4e8dd0(this,_0x33d1e9(0x3ae),new _0x14e7e3[(_0x33d1e9(0x4b7))]()),_0x4e8dd0(this,_0x33d1e9(0x361),this[_0x33d1e9(0x3ae)][_0x33d1e9(0x3e7)]()),_0x4e8dd0(this,'_socket'),_0x4e8dd0(this,'_socketMessageSubscription'),_0x4e8dd0(this,'_collaborationTimeoutTimer'),_0x4e8dd0(this,_0x33d1e9(0x4c0),!0x1),_0x4e8dd0(this,'_telemetryInfo',null),(this[_0x33d1e9(0x2dc)]=_0x1eeaf3,this[_0x33d1e9(0x4a4)]=_0x434ea3,this[_0x33d1e9(0x462)]=_0x5d1661,this[_0x33d1e9(0x3c5)]=_0xaddbcd,this[_0x33d1e9(0x470)]=_0x2cc025,this['_commentService']=_0x2637ba,this[_0x33d1e9(0x4ce)]=_0x145f13,this[_0x33d1e9(0x350)]=_0x377f54,this[_0x33d1e9(0x4c0)]=!!this[_0x33d1e9(0x350)],_0x511a12['pipe'](_0x14e7e3[_0x33d1e9(0x214)](this[_0x33d1e9(0x51a)]))[_0x33d1e9(0x271)](_0x4fc9c7=>{var _0x5f0bb3=_0x33d1e9,_0x30c351;typeof _0x4fc9c7>'u'||(this[_0x5f0bb3(0x532)]=_0x4fc9c7,_0x4fc9c7?(this[_0x5f0bb3(0x512)](_0x4fc9c7),this[_0x5f0bb3(0x30a)]=_0x4fc9c7['message$']['subscribe'](_0xd83ba9=>{var _0x5422f1=_0x5f0bb3;_0xd83ba9[_0x5422f1(0x40c)]===this['_unitID']&&this[_0x5422f1(0x26b)](_0xd83ba9);})):(this[_0x5f0bb3(0x50e)](),this[_0x5f0bb3(0x1c3)]['next'](0x2),(_0x30c351=this[_0x5f0bb3(0x30a)])==null||_0x30c351['unsubscribe'](),this[_0x5f0bb3(0x30a)]=null));}));}get[_0x1e523d(0x3d7)](){var _0x50d806=_0x1e523d;return this[_0x50d806(0x1c3)]['getValue']();}[_0x1e523d(0x467)](){var _0x2a9182=_0x1e523d,_0x20f4d2,_0xebf6b3;return(_0xebf6b3=(_0x20f4d2=this[_0x2a9182(0x532)])==null?void 0x0:_0x20f4d2[_0x2a9182(0x533)])!=null?_0xebf6b3:null;}[_0x1e523d(0x410)](){var _0x5b9682=_0x1e523d;super[_0x5b9682(0x410)](),this[_0x5b9682(0x51a)]['next'](),this[_0x5b9682(0x51a)][_0x5b9682(0x485)]();}[_0x1e523d(0x3c1)](){var _0x2a4797=_0x1e523d,_0x595229,_0x1e9871;this['_throwTelemetryCollaborationNewChangeset'](),(_0x595229=this['_socket'])==null||_0x595229[_0x2a4797(0x235)]({'cmd':_0x4a5c79[_0x2a4797(0x50f)],'data':{'roomID':this['_unitID']}}),(_0x1e9871=this['_socket'])==null||_0x1e9871[_0x2a4797(0x3c1)](),this[_0x2a4797(0x3ae)][_0x2a4797(0x485)](),this[_0x2a4797(0x1c3)][_0x2a4797(0x485)](),this[_0x2a4797(0x410)]();}[_0x1e523d(0x26b)](_0x4ac2d0){var _0x551ca8=_0x1e523d;_0x4ac2d0[_0x551ca8(0x4a1)]===_0x4a5c79['JOIN']?this[_0x551ca8(0x2eb)](_0x4ac2d0):_0x4ac2d0[_0x551ca8(0x4a1)]===_0x4a5c79[_0x551ca8(0x406)]&&this[_0x551ca8(0x36b)](_0x4ac2d0);}[_0x1e523d(0x512)](_0x5a9637){var _0x1b06df=_0x1e523d;this[_0x1b06df(0x1c3)][_0x1b06df(0x2e3)](0x1),_0x5a9637[_0x1b06df(0x235)]({'cmd':_0x4a5c79[_0x1b06df(0x2ec)],'routeKey':this[_0x1b06df(0x2dc)],'routeType':'','data':{'rooms':[{'roomID':this[_0x1b06df(0x2dc)]}]}});}[_0x1e523d(0x2eb)](_0x55e5aa){var _0x373ff5=_0x1e523d,_0x3bfee4;if(_0x55e5aa[_0x373ff5(0x1c5)]in _0x2a9b46){this[_0x373ff5(0x4ce)][_0x373ff5(0x51d)]({'id':_0x4b31f0[_0x373ff5(0x27c)],'data':_0x2a9b46[_0x55e5aa['code']]}),this[_0x373ff5(0x1c3)]['next'](0x2);return;}this[_0x373ff5(0x1c3)][_0x373ff5(0x2e3)](0x3);const _0xc3f75e=(_0x3bfee4=_0x55e5aa[_0x373ff5(0x434)][_0x373ff5(0x4cb)][this['_unitID']])==null?void 0x0:_0x3bfee4[_0x373ff5(0x2fe)];_0xc3f75e&&_0xc3f75e[_0x373ff5(0x52c)](_0x2d5a52=>this[_0x373ff5(0x470)][_0x373ff5(0x289)](this['_unitID'],_0x2d5a52));}[_0x1e523d(0x36b)](_0x2ad203){var _0xe9b36e=_0x1e523d;try{const _0xcaf5f5=_0x2ad203[_0xe9b36e(0x434)];switch(_0xcaf5f5['eventID']){case _0x21ba50['CollaborationEvent'][_0xe9b36e(0x2e7)]:this[_0xe9b36e(0x305)](_0xcaf5f5),this['_event$'][_0xe9b36e(0x2e3)](_0xcaf5f5);break;case _0x21ba50['CollaborationEvent'][_0xe9b36e(0x2c6)]:this[_0xe9b36e(0x3ec)](_0xcaf5f5),this[_0xe9b36e(0x3ae)][_0xe9b36e(0x2e3)](_0xcaf5f5);break;case _0x21ba50['CollaborationEvent'][_0xe9b36e(0x2c8)]:case _0x21ba50[_0xe9b36e(0x2c1)][_0xe9b36e(0x349)]:this[_0xe9b36e(0x2ed)](),this[_0xe9b36e(0x53e)](),this[_0xe9b36e(0x3ae)][_0xe9b36e(0x2e3)](_0xcaf5f5);break;case _0x21ba50['CollaborationEvent'][_0xe9b36e(0x31a)]:this[_0xe9b36e(0x4a4)][_0xe9b36e(0x450)](_0xe9b36e(0x3e8)+JSON[_0xe9b36e(0x53c)](_0xcaf5f5)),this['_event$']['next'](_0xcaf5f5);break;case _0x21ba50[_0xe9b36e(0x2c1)][_0xe9b36e(0x3d8)]:this['_commentService'][_0xe9b36e(0x339)](_0xcaf5f5[_0xe9b36e(0x434)]),this[_0xe9b36e(0x3ae)][_0xe9b36e(0x2e3)](_0xcaf5f5);break;default:this[_0xe9b36e(0x3ae)][_0xe9b36e(0x2e3)](_0xcaf5f5);}}catch(_0x31eb90){this['_logService'][_0xe9b36e(0x450)](_0x31eb90,_0x2ad203);}}[_0x1e523d(0x305)](_0x47b77a){var _0x274753=_0x1e523d;this['_memberService']['updateMember'](this[_0x274753(0x2dc)],_0x47b77a[_0x274753(0x434)]);}[_0x1e523d(0x3ec)](_0x4b9780){var _0x30d455=_0x1e523d;this[_0x30d455(0x470)][_0x30d455(0x358)](this['_unitID'],_0x4b9780['data'][_0x30d455(0x533)]);}async['send'](_0x218813,_0x25649d){var _0x3b9706=_0x1e523d;if(this['sessionStatus']!==0x3||!this[_0x3b9706(0x532)])throw new Error(_0x3b9706(0x1da));try{_0x218813[_0x3b9706(0x52b)]===_0x21ba50[_0x3b9706(0x2c1)]['SUBMIT_CHANGESET']&&(this[_0x3b9706(0x38e)](),this[_0x3b9706(0x4f6)](_0x218813)),this[_0x3b9706(0x532)][_0x3b9706(0x235)]({'cmd':_0x4a5c79[_0x3b9706(0x32c)],'routeKey':_0x25649d,'routeType':'','data':_0x218813});}catch(_0x1e835b){this['_logService']['error'](_0x1e835b);}}[_0x1e523d(0x38e)](){var _0x3eb61f=_0x1e523d,_0x56a85a;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x4dd143=_0x2e4c;this[_0x4dd143(0x2a2)]=null,this['_collaborationUIEventService'][_0x4dd143(0x51d)]({'id':_0x4b31f0[_0x4dd143(0x3af)]});},(_0x56a85a=this[_0x3eb61f(0x462)][_0x3eb61f(0x508)](_0x10a2b2))!=null?_0x56a85a:0x4e20);}[_0x1e523d(0x53e)](){var _0x5b71fa=_0x1e523d;this[_0x5b71fa(0x2a2)]&&(clearTimeout(this[_0x5b71fa(0x2a2)]),this[_0x5b71fa(0x2a2)]=null);}[_0x1e523d(0x4f6)](_0x53d9b5){var _0x5cc21e=_0x1e523d;if(!this[_0x5cc21e(0x4c0)])return;const {data:_0x3e2aff}=_0x53d9b5,{unitID:_0x3590f2,changeset:_0x51fcdb}=_0x3e2aff,{mutations:_0x47a46b,type:_0x42799a}=_0x51fcdb;this[_0x5cc21e(0x4ec)]={'unitId':_0x3590f2,'type':_0x42799a,'startTime':performance[_0x5cc21e(0x369)](),'stopTime':0x0,'duration':0x0,'size':_0xf8dad5(_0x47a46b)};}[_0x1e523d(0x2ed)](){var _0x2f04fc=_0x1e523d;if(this[_0x2f04fc(0x4c0)]){if(!this[_0x2f04fc(0x4ec)]){this['_logService'][_0x2f04fc(0x450)](_0x2f04fc(0x40a),_0x2f04fc(0x511));return;}this[_0x2f04fc(0x4ec)][_0x2f04fc(0x2e2)]=performance[_0x2f04fc(0x369)](),this[_0x2f04fc(0x4ec)][_0x2f04fc(0x1f7)]=this[_0x2f04fc(0x4ec)][_0x2f04fc(0x2e2)]-this[_0x2f04fc(0x4ec)][_0x2f04fc(0x429)],this[_0x2f04fc(0x350)]['capture'](_0x3f2ce4,this[_0x2f04fc(0x4ec)]),this['_telemetryInfo']=null;}}[_0x1e523d(0x50e)](){var _0x3e075a=_0x1e523d;this[_0x3e075a(0x4ec)]=null;}},_0x386c41[_0x1e523d(0x246)]=_0x21f7b9([_0x4f12c4(0x2,_0x38eb38[_0x1e523d(0x220)]),_0x4f12c4(0x3,_0x38eb38['IConfigService']),_0x4f12c4(0x4,_0x38eb38[_0x1e523d(0x20f)](_0x38eb38[_0x1e523d(0x4aa)])),_0x4f12c4(0x5,_0x38eb38['Inject'](_0x386c41['MemberService'])),_0x4f12c4(0x6,_0x38eb38[_0x1e523d(0x20f)](_0x3fd561)),_0x4f12c4(0x7,_0x38eb38[_0x1e523d(0x20f)](_0x541cfa)),_0x4f12c4(0x8,_0x38eb38['Optional'](_0x794888[_0x1e523d(0x21d)]))],_0x386c41['CollaborationSession']);var _0x52182e=Object['getOwnPropertyDescriptor'],_0x4df068=(_0x2f6a32,_0x5447b7,_0x43c36a,_0x29a3c1)=>{for(var _0x553dec=_0x29a3c1>0x1?void 0x0:_0x29a3c1?_0x52182e(_0x5447b7,_0x43c36a):_0x5447b7,_0x2deb4d=_0x2f6a32['length']-0x1,_0x21617c;_0x2deb4d>=0x0;_0x2deb4d--)(_0x21617c=_0x2f6a32[_0x2deb4d])&&(_0x553dec=_0x21617c(_0x553dec)||_0x553dec);return _0x553dec;},_0x2b7550=(_0x46ce83,_0x50a87e)=>(_0xe52e48,_0x1c0759)=>_0x50a87e(_0xe52e48,_0x1c0759,_0x46ce83);_0x386c41[_0x1e523d(0x414)]=class extends _0x38eb38[_0x1e523d(0x341)]{constructor(_0x351dd6,_0x569b56,_0x5ada0a,_0x19c937,_0x136285,_0x34a8fa){var _0x5517e7=_0x1e523d;super(),_0x4e8dd0(this,_0x5517e7(0x336),new _0x14e7e3[(_0x5517e7(0x1c6))](void 0x0)),_0x4e8dd0(this,_0x5517e7(0x4fc),this[_0x5517e7(0x336)][_0x5517e7(0x3e7)]()),_0x4e8dd0(this,_0x5517e7(0x4d6),null),_0x4e8dd0(this,_0x5517e7(0x4d4),new Map()),_0x4e8dd0(this,_0x5517e7(0x3a5),new _0x14e7e3['BehaviorSubject'](_0x3e29d6['IDLE'])),_0x4e8dd0(this,'status$',this['_status$'][_0x5517e7(0x3e7)]()),_0x4e8dd0(this,'_socketReady',!0x1),_0x4e8dd0(this,_0x5517e7(0x4e3)),_0x4e8dd0(this,_0x5517e7(0x265),0x0),_0x4e8dd0(this,_0x5517e7(0x25b)),_0x4e8dd0(this,_0x5517e7(0x4b4)),(this[_0x5517e7(0x471)]=_0x351dd6,this['_logService']=_0x569b56,this['_configService']=_0x5ada0a,this[_0x5517e7(0x31c)]=_0x19c937,this['_collaborationUIEventService']=_0x136285,this[_0x5517e7(0x3c8)]=_0x34a8fa,this[_0x5517e7(0x448)]());}get[_0x1e523d(0x532)](){var _0x543a89=_0x1e523d;return this['_socket$'][_0x543a89(0x1e2)]();}['_listenToNetworkCondition'](){var _0x35b174=_0x1e523d;this[_0x35b174(0x3c8)]&&this[_0x35b174(0x3b4)](this['_networkConditionService'][_0x35b174(0x2e0)]['subscribe'](_0x5aa523=>{var _0x55d8f4=_0x35b174;_0x5aa523&&!this[_0x55d8f4(0x532)]&&this[_0x55d8f4(0x3a6)](),_0x5aa523||this[_0x55d8f4(0x41d)]();}));}[_0x1e523d(0x410)](){var _0x2c3c09=_0x1e523d;super[_0x2c3c09(0x410)](),this[_0x2c3c09(0x542)](),this[_0x2c3c09(0x209)](),this[_0x2c3c09(0x1ca)](),this['_sessions'][_0x2c3c09(0x52c)](_0x3ad173=>_0x3ad173[_0x2c3c09(0x410)]()),this[_0x2c3c09(0x4d4)][_0x2c3c09(0x2fa)](),this['_status$'][_0x2c3c09(0x485)]();}async['requireSession'](_0x49916f){var _0x23f0a5=_0x1e523d;if(this[_0x23f0a5(0x4d4)][_0x23f0a5(0x3c7)](_0x49916f))return this['_sessions'][_0x23f0a5(0x239)](_0x49916f);this[_0x23f0a5(0x49e)]();const _0x117b9a=this[_0x23f0a5(0x471)][_0x23f0a5(0x292)](_0x386c41[_0x23f0a5(0x246)],_0x49916f,this[_0x23f0a5(0x336)][_0x23f0a5(0x3e7)]());return this[_0x23f0a5(0x4d4)]['set'](_0x49916f,_0x117b9a),_0x117b9a;}[_0x1e523d(0x46d)](_0x126d26){var _0x3d7bae=_0x1e523d,_0x26a448;const _0x3ac553=this[_0x3d7bae(0x4d4)]['get'](_0x126d26);_0x3ac553&&(this['_sessions'][_0x3d7bae(0x3b5)](_0x126d26),_0x3ac553[_0x3d7bae(0x3c1)]()),this[_0x3d7bae(0x4d4)][_0x3d7bae(0x2da)]||(_0x26a448=this[_0x3d7bae(0x532)])==null||_0x26a448[_0x3d7bae(0x3c1)]();}['reconnect'](){var _0x4ca10c=_0x1e523d;this[_0x4ca10c(0x265)]=0x0,this[_0x4ca10c(0x542)](),this[_0x4ca10c(0x441)]();}[_0x1e523d(0x542)](){var _0x3b44a2=_0x1e523d;this[_0x3b44a2(0x4e3)]!=null&&(clearTimeout(this[_0x3b44a2(0x4e3)]),this[_0x3b44a2(0x4e3)]=null);}async['_createSocket'](){var _0x55d68b=_0x1e523d,_0x19ff3e,_0x164b5a;const _0x1bebea=this[_0x55d68b(0x462)][_0x55d68b(0x508)](_0x1458a7),_0x20f369=this[_0x55d68b(0x462)][_0x55d68b(0x508)](_0x10421d),_0x4d1c9a=(_0x164b5a=(_0x19ff3e=_0x20f369==null?void 0x0:_0x20f369['collabWebSocketUrl'])!=null?_0x19ff3e:_0x1bebea)!=null?_0x164b5a:_0x59b5ec,_0x1bddcf=await this[_0x55d68b(0x31c)]['createSocket'](_0x4d1c9a);return this[_0x55d68b(0x4d6)]=_0x1bddcf,_0x1bddcf;}async[_0x1e523d(0x49e)](){var _0x15c1c9=_0x1e523d,_0x4755d1,_0x4336e7;try{const _0x5dad68=(_0x4336e7=(_0x4755d1=this[_0x15c1c9(0x532)])!=null?_0x4755d1:this[_0x15c1c9(0x4d6)])!=null?_0x4336e7:await this[_0x15c1c9(0x535)]();if(_0x5dad68){const _0x250957=_0x5dad68['send'];_0x5dad68['send']=_0x260f39=>(this[_0x15c1c9(0x4b2)](),_0x250957[_0x15c1c9(0x386)](_0x5dad68,[_0x260f39])),_0x5dad68[_0x15c1c9(0x337)][_0x15c1c9(0x271)](_0x4808c5=>this['_onMessage'](_0x5dad68,_0x4808c5)),_0x5dad68['error$'][_0x15c1c9(0x2c4)](_0x23a54f[_0x15c1c9(0x409)](0x1))[_0x15c1c9(0x271)](_0x3794e7=>this[_0x15c1c9(0x4a4)]['error']('[CollaborationSessionService]:\x20socket\x20error',_0x3794e7)),_0x5dad68[_0x15c1c9(0x260)][_0x15c1c9(0x2c4)](_0x23a54f[_0x15c1c9(0x409)](0x1))[_0x15c1c9(0x271)](()=>{var _0x2982f3=_0x15c1c9;this[_0x2982f3(0x443)](_0x5dad68);}),_0x5dad68[_0x15c1c9(0x34d)][_0x15c1c9(0x2c4)](_0x23a54f[_0x15c1c9(0x409)](0x1))[_0x15c1c9(0x271)](_0x3cea2d=>{var _0x42f67e=_0x15c1c9;this[_0x42f67e(0x4a4)]['debug'](_0x42f67e(0x38b),_0x42f67e(0x391),_0x3cea2d),this[_0x42f67e(0x4bb)]();});}}catch(_0x72e1f4){this[_0x15c1c9(0x4a4)][_0x15c1c9(0x450)](_0x72e1f4),this[_0x15c1c9(0x4bb)]();}}[_0x1e523d(0x443)](_0x1d1283){var _0x43600b=_0x1e523d;this['_logService']['debug']('[CollaborationSessionService]','socket\x20open.'),_0x1d1283[_0x43600b(0x235)]({'cmd':_0x4a5c79['HELLO']}),this['_rescheduleHeartbeat']();}[_0x1e523d(0x41d)](){var _0x5602f1=_0x1e523d;this['_socketReady']=!0x1,this[_0x5602f1(0x4d6)]=null,this[_0x5602f1(0x3a5)]['next'](_0x3e29d6[_0x5602f1(0x4ee)]),this[_0x5602f1(0x336)][_0x5602f1(0x2e3)](null),this[_0x5602f1(0x209)](),this[_0x5602f1(0x1ca)]();}['_onConnectionFailed'](){var _0x2c2827=_0x1e523d,_0x2a26c5;this[_0x2c2827(0x41d)](),this[_0x2c2827(0x265)]<((_0x2a26c5=this['_configService'][_0x2c2827(0x508)](_0x173426))!=null?_0x2a26c5:0x3)?(this[_0x2c2827(0x4ce)]['emitEvent']({'id':_0x4b31f0['SOCKET_FAILED_RETRY']}),this[_0x2c2827(0x441)]()):this[_0x2c2827(0x4ce)][_0x2c2827(0x51d)]({'id':_0x4b31f0[_0x2c2827(0x25a)]});}[_0x1e523d(0x441)](){var _0x2e4e99=_0x1e523d,_0x213dca;const _0x2f11d9=this[_0x2e4e99(0x265)],_0x13383b=this['_configService']['getConfig'](_0x10421d),_0x52ee48=_0x2f11d9===0x0?0x0:((_0x213dca=_0x13383b==null?void 0x0:_0x13383b[_0x2e4e99(0x405)])!=null?_0x213dca:0x4e20)*0x2**_0x2f11d9;this[_0x2e4e99(0x4e3)]=setTimeout(()=>{var _0x2290f9=_0x2e4e99;clearTimeout(this[_0x2290f9(0x4e3)]),this[_0x2290f9(0x4e3)]=null,this[_0x2290f9(0x49e)]();},_0x52ee48),this[_0x2e4e99(0x265)]+=0x1;}[_0x1e523d(0x3e9)](_0x4b7280,_0x35adbf){var _0x413e32=_0x1e523d;const {cmd:_0x2fea7c}=_0x35adbf;_0x2fea7c===_0x4a5c79[_0x413e32(0x440)]&&!this[_0x413e32(0x2c5)]&&(_0x4b7280[_0x413e32(0x533)]=_0x35adbf[_0x413e32(0x434)][_0x413e32(0x533)],this[_0x413e32(0x336)][_0x413e32(0x2e3)](_0x4b7280),this[_0x413e32(0x3a5)][_0x413e32(0x2e3)](_0x3e29d6['ONLINE']),this['_socketReady']=!0x0,this['_candidateSocket']=null),_0x2fea7c===_0x4a5c79[_0x413e32(0x331)]&&this[_0x413e32(0x209)](),this[_0x413e32(0x4b2)]();}[_0x1e523d(0x4b2)](){var _0x1d8e0b=_0x1e523d,_0x5a2983;this[_0x1d8e0b(0x1ca)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x1d8e0b(0x2d2)](),(_0x5a2983=this[_0x1d8e0b(0x462)][_0x1d8e0b(0x508)](_0xf582f2))!=null?_0x5a2983:0x7530);}[_0x1e523d(0x2d2)](){var _0x2bb663=_0x1e523d;this[_0x2bb663(0x532)][_0x2bb663(0x235)]({'cmd':_0x4a5c79['HEARTBEAT']}),this['_waitForHeartbeatResponse']();}[_0x1e523d(0x1d4)](){var _0x58861d=_0x1e523d,_0x31590a;this['_timeoutTimer']=setTimeout(()=>this['_onConnectionFailed'](),(_0x31590a=this[_0x58861d(0x462)][_0x58861d(0x508)](_0x10a2b2))!=null?_0x31590a:0x4e20);}['_clearHeartbeatTimer'](){var _0x47e9de=_0x1e523d;this[_0x47e9de(0x25b)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0x1e523d(0x209)](){var _0x30e188=_0x1e523d;this[_0x30e188(0x4b4)]!=null&&(clearTimeout(this[_0x30e188(0x4b4)]),this[_0x30e188(0x4b4)]=null);}},_0x386c41[_0x1e523d(0x414)]=_0x4df068([_0x2b7550(0x0,_0x38eb38[_0x1e523d(0x20f)](_0x38eb38[_0x1e523d(0x367)])),_0x2b7550(0x1,_0x38eb38[_0x1e523d(0x220)]),_0x2b7550(0x2,_0x38eb38['IConfigService']),_0x2b7550(0x3,_0x313db0),_0x2b7550(0x4,_0x38eb38['Inject'](_0x541cfa)),_0x2b7550(0x5,_0x38eb38[_0x1e523d(0x436)](_0xabc7a6))],_0x386c41[_0x1e523d(0x414)]);const _0x21b929=[];for(let _0x3285c2=0x0;_0x3285c2<0x100;++_0x3285c2)_0x21b929[_0x1e523d(0x1f2)]((_0x3285c2+0x100)[_0x1e523d(0x530)](0x10)[_0x1e523d(0x33f)](0x1));function _0x16d299(_0x663ac0,_0x5b0158=0x0){var _0x16f8e9=_0x1e523d;return(_0x21b929[_0x663ac0[_0x5b0158+0x0]]+_0x21b929[_0x663ac0[_0x5b0158+0x1]]+_0x21b929[_0x663ac0[_0x5b0158+0x2]]+_0x21b929[_0x663ac0[_0x5b0158+0x3]]+'-'+_0x21b929[_0x663ac0[_0x5b0158+0x4]]+_0x21b929[_0x663ac0[_0x5b0158+0x5]]+'-'+_0x21b929[_0x663ac0[_0x5b0158+0x6]]+_0x21b929[_0x663ac0[_0x5b0158+0x7]]+'-'+_0x21b929[_0x663ac0[_0x5b0158+0x8]]+_0x21b929[_0x663ac0[_0x5b0158+0x9]]+'-'+_0x21b929[_0x663ac0[_0x5b0158+0xa]]+_0x21b929[_0x663ac0[_0x5b0158+0xb]]+_0x21b929[_0x663ac0[_0x5b0158+0xc]]+_0x21b929[_0x663ac0[_0x5b0158+0xd]]+_0x21b929[_0x663ac0[_0x5b0158+0xe]]+_0x21b929[_0x663ac0[_0x5b0158+0xf]])[_0x16f8e9(0x41e)]();}let _0x1f890f;const _0x546ce9=new Uint8Array(0x10);function _0x3796a4(){var _0x1a6088=_0x1e523d;if(!_0x1f890f){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');_0x1f890f=crypto[_0x1a6088(0x394)][_0x1a6088(0x398)](crypto);}return _0x1f890f(_0x546ce9);}const _0x237a14={'randomUUID':typeof crypto<'u'&&crypto[_0x1e523d(0x49c)]&&crypto[_0x1e523d(0x49c)][_0x1e523d(0x398)](crypto)};function _0x5b4928(_0x531af6,_0x426250,_0x533cda){var _0x32ec9a=_0x1e523d,_0x33f27b,_0x220f57,_0x5558ea;if(_0x237a14['randomUUID']&&!_0x531af6)return _0x237a14['randomUUID']();_0x531af6=_0x531af6||{};const _0x2e2352=(_0x5558ea=(_0x220f57=_0x531af6[_0x32ec9a(0x3f8)])!=null?_0x220f57:(_0x33f27b=_0x531af6['rng'])==null?void 0x0:_0x33f27b[_0x32ec9a(0x20c)](_0x531af6))!=null?_0x5558ea:_0x3796a4();if(_0x2e2352['length']<0x10)throw new Error(_0x32ec9a(0x40b));return _0x2e2352[0x6]=_0x2e2352[0x6]&0xf|0x40,_0x2e2352[0x8]=_0x2e2352[0x8]&0x3f|0x80,_0x16d299(_0x2e2352);}const _0x414e11=_0x38eb38[_0x1e523d(0x2b2)](_0x1e523d(0x510));function _0xe4a168(_0x571faf){var _0x1a8bb4=_0x1e523d;return _0x1a8bb4(0x507)+_0x571faf;}var _0x4d972c=Object['getOwnPropertyDescriptor'],_0x13ed86=(_0x51e630,_0x2d0c65,_0x145d22,_0xe6694b)=>{var _0x494a40=_0x1e523d;for(var _0x588965=_0xe6694b>0x1?void 0x0:_0xe6694b?_0x4d972c(_0x2d0c65,_0x145d22):_0x2d0c65,_0x272f1f=_0x51e630[_0x494a40(0x254)]-0x1,_0xc30a5e;_0x272f1f>=0x0;_0x272f1f--)(_0xc30a5e=_0x51e630[_0x272f1f])&&(_0x588965=_0xc30a5e(_0x588965)||_0x588965);return _0x588965;},_0xf16b5b=(_0x1af9e6,_0xa124cf)=>(_0x3a9cf1,_0x1e94e1)=>_0xa124cf(_0x3a9cf1,_0x1e94e1,_0x1af9e6);function _0x18ef35(_0x59ae43){const {unitID:_0x109a4d,mutations:_0x4e786b}=_0x59ae43;return{'unitId':_0x109a4d,'subUnitId':_0x4e786b[0x0]['params']['subUnitId']};}_0x386c41[_0x1e523d(0x317)]=class{constructor(_0x158705,_0x339f7b,_0xb62f8c){var _0x853eb0=_0x1e523d;this[_0x853eb0(0x471)]=_0x158705,this[_0x853eb0(0x4d9)]=_0x339f7b,this[_0x853eb0(0x504)]=_0xb62f8c;}['transformSelections'](_0x6cb35a){var _0x57944e=_0x1e523d,_0x19029f,_0x1eebd0,_0x4d88ad,_0x1ddab6;const _0x78bf13=this[_0x57944e(0x471)][_0x57944e(0x239)](_0x56a74c[_0x57944e(0x3e4)]),{unitId:_0x12aa2c,subUnitId:_0x412501}=_0x18ef35(_0x6cb35a),_0x4fc1c3=_0x78bf13==null?void 0x0:_0x78bf13[_0x57944e(0x261)](_0x12aa2c)[_0x57944e(0x39c)](),_0x3732ab=(_0x1eebd0=(_0x19029f=this['_instanceService'][_0x57944e(0x487)](_0x12aa2c))==null?void 0x0:_0x19029f[_0x57944e(0x3b1)]())==null?void 0x0:_0x1eebd0['getSheetId']();if(_0x4fc1c3[_0x57944e(0x254)]===0x0||!_0x12aa2c||!_0x412501)return;const _0x38e84c=[{'id':_0x56a74c[_0x57944e(0x1dd)]['id'],'params':{'unitId':_0x12aa2c,'subUnitId':_0x3732ab,'selections':_0x38eb38[_0x57944e(0x230)][_0x57944e(0x49f)](_0x4fc1c3)}}],_0x4c43eb=this[_0x57944e(0x4d9)][_0x57944e(0x325)](_0x6cb35a,_0x38e84c);if(!_0x21ba50[_0x57944e(0x385)](_0x4c43eb))throw _0x4c43eb[_0x57944e(0x450)];const _0x2c3686=(_0x1ddab6=(_0x4d88ad=_0x4c43eb[_0x57944e(0x540)][0x0])==null?void 0x0:_0x4d88ad[_0x57944e(0x38c)])==null?void 0x0:_0x1ddab6[_0x57944e(0x35f)];if(Array[_0x57944e(0x494)](_0x2c3686)&&_0x2c3686[_0x57944e(0x254)]){if(_0x2c3686['length']===_0x38e84c[0x0][_0x57944e(0x38c)][_0x57944e(0x35f)][_0x57944e(0x254)]&&_0x2c3686['every']((_0x1fd7de,_0x440691)=>_0x38eb38[_0x57944e(0x480)]['equals'](_0x1fd7de[_0x57944e(0x491)],_0x38e84c[0x0]['params'][_0x57944e(0x35f)][_0x440691][_0x57944e(0x491)])))return;this[_0x57944e(0x471)][_0x57944e(0x239)](_0x38eb38[_0x57944e(0x3de)])[_0x57944e(0x4cf)](_0x56a74c[_0x57944e(0x1dd)]['id'],{'unitId':_0x12aa2c,'subUnitId':_0x3732ab,'selections':_0x2c3686});}}},_0x386c41['SheetTransformSelectionsService']=_0x13ed86([_0xf16b5b(0x0,_0x38eb38[_0x1e523d(0x20f)](_0x38eb38[_0x1e523d(0x367)])),_0xf16b5b(0x1,_0x21ba50[_0x1e523d(0x2ad)]),_0xf16b5b(0x2,_0x38eb38[_0x1e523d(0x25e)])],_0x386c41[_0x1e523d(0x317)]);const _0x2c1154=_0x38eb38['createIdentifier'](_0x1e523d(0x4af));var _0x530e8f=(_0x438aaf=>(_0x438aaf[_0x438aaf['NO_OTHER_CLIENTS_EDITING']=0x0]='NO_OTHER_CLIENTS_EDITING',_0x438aaf[_0x438aaf['OTHER_CLIENTS_EDITING']=0x1]=_0x1e523d(0x479),_0x438aaf))(_0x530e8f||{});const _0x29df3a=new Set([_0x56a74c[_0x1e523d(0x4d5)]['id']]);function _0x54bf9e(_0x3aaa2b,_0x53e3f9,_0x566bde,_0x534636,_0x7ac534){var _0x35a5a2=_0x1e523d,_0x1777aa,_0x5a297b,_0x203651,_0x1079c0;const _0x3c1b34=[];for(const _0x31a9bf of _0x3aaa2b)if(_0x29df3a[_0x35a5a2(0x3c7)](_0x31a9bf['id'])){if(_0x3c1b34[_0x35a5a2(0x254)]>0x0)break;_0x3c1b34['push'](_0x31a9bf);break;}else _0x3c1b34[_0x35a5a2(0x1f2)](_0x31a9bf);const _0xc8af43=(_0x5a297b=(_0x1777aa=_0x7ac534[_0x35a5a2(0x1fb)]())==null?void 0x0:_0x1777aa[_0x35a5a2(0x1db)])!=null?_0x5a297b:_0x35a5a2(0x345),_0x3adbc5=(_0x1079c0=(_0x203651=_0x7ac534[_0x35a5a2(0x1fb)]())==null?void 0x0:_0x203651[_0x35a5a2(0x533)])!=null?_0x1079c0:_0x35a5a2(0x345);return{'changeset':{'unitID':_0x53e3f9,'type':_0x21ba50['mapDocumentTypeToUniverType'](_0x566bde[_0x35a5a2(0x3b8)](_0x53e3f9)),'baseRev':_0x534636[_0x35a5a2(0x525)](_0x53e3f9),'revision':0x0,'userID':_0xc8af43,'memberID':_0x3adbc5,'mutations':_0x3c1b34},'pendingMutations':_0x3aaa2b[_0x35a5a2(0x33f)](_0x3c1b34['length'])};}function _0xb3c89c(_0x1f116a,_0x291c61,_0x3e126f,_0x15042e,_0x467f6c){var _0xa32477=_0x1e523d,_0x4d4096,_0x485036,_0x58a1c1,_0x5940ad;const _0x61e3c5=[_0x1f116a[_0xa32477(0x4c8)]((_0x20ebe7,_0x2da1be)=>{var _0x185a9a=_0xa32477,_0x56ffb1;const {id:_0x43a8ae}=_0x20ebe7,{id:_0x1b318e,type:_0xcec2a9}=_0x2da1be,_0x56edd3=(_0x56ffb1=_0x20ebe7['params'])!=null?_0x56ffb1:{'actions':null},_0x2392d2=_0x2da1be['params'];if(_0x43a8ae&&_0x43a8ae!==_0x1b318e)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x43a8ae+_0x185a9a(0x37a)+_0x1b318e+'.');return{..._0x20ebe7,'id':_0x1b318e,'type':_0xcec2a9,'params':{'unitId':_0x2392d2[_0x185a9a(0x249)],'textRanges':_0x2392d2[_0x185a9a(0x2e4)],'actions':_0x38eb38[_0x185a9a(0x2dd)][_0x185a9a(0x3a2)](_0x56edd3['actions'],_0x2392d2[_0x185a9a(0x4f1)])}};},{})],_0x18726f=(_0x485036=(_0x4d4096=_0x467f6c['getCurrentUser']())==null?void 0x0:_0x4d4096['userID'])!=null?_0x485036:_0xa32477(0x345),_0xba3212=(_0x5940ad=(_0x58a1c1=_0x467f6c[_0xa32477(0x1fb)]())==null?void 0x0:_0x58a1c1[_0xa32477(0x533)])!=null?_0x5940ad:'unknown';return{'changeset':{'unitID':_0x291c61,'type':_0x21ba50[_0xa32477(0x4f5)](_0x3e126f['getUnitType'](_0x291c61)),'baseRev':_0x15042e[_0xa32477(0x525)](_0x291c61),'revision':0x0,'userID':_0x18726f,'memberID':_0xba3212,'mutations':_0x61e3c5},'pendingMutations':[]};}function _0x582204(_0x84c767,_0x5211fb){var _0x15e61d=_0x1e523d;const _0x7dce1e=new _0x14e7e3['ReplaySubject'](0x1);return setTimeout(()=>_0x7dce1e[_0x15e61d(0x2e3)](_0x5211fb),_0x84c767),_0x7dce1e[_0x15e61d(0x3e7)]()[_0x15e61d(0x2c4)](_0x14e7e3['take'](0x1));}const _0x2879f6={'id':_0x56a74c['EmptyMutation']['id'],'type':_0x38eb38[_0x1e523d(0x3f5)][_0x1e523d(0x4ba)],'params':{}};var _0x4705a8=Object[_0x1e523d(0x4a8)],_0x20e471=(_0x167469,_0x156969,_0xdc3d2e,_0x8c569a)=>{for(var _0x2b6584=_0x8c569a>0x1?void 0x0:_0x8c569a?_0x4705a8(_0x156969,_0xdc3d2e):_0x156969,_0x4025a1=_0x167469['length']-0x1,_0x329b33;_0x4025a1>=0x0;_0x4025a1--)(_0x329b33=_0x167469[_0x4025a1])&&(_0x2b6584=_0x329b33(_0x2b6584)||_0x2b6584);return _0x2b6584;},_0x20f9be=(_0x1ecf13,_0x5860d7)=>(_0x18ad5a,_0x304943)=>_0x5860d7(_0x18ad5a,_0x304943,_0x1ecf13),_0x248a6a=(_0x3735d3=>(_0x3735d3[_0x1e523d(0x39d)]=_0x1e523d(0x45d),_0x3735d3[_0x1e523d(0x481)]='synced',_0x3735d3['PENDING']=_0x1e523d(0x236),_0x3735d3['AWAITING']=_0x1e523d(0x4b9),_0x3735d3['AWAITING_WITH_PENDING']=_0x1e523d(0x34c),_0x3735d3[_0x1e523d(0x3a9)]=_0x1e523d(0x4b1),_0x3735d3[_0x1e523d(0x319)]=_0x1e523d(0x1bd),_0x3735d3[_0x1e523d(0x4ee)]=_0x1e523d(0x3c2),_0x3735d3))(_0x248a6a||{});const _0x1ed81f=0xea60;class _0x151a1f{constructor(_0x17e068,_0x5d4cf3,_0x591ccf,_0x4f234b,_0x134829,_0x4059ef,_0x4c6823,_0x1a0dd1,_0x30c65a){var _0x2cf852=_0x1e523d;_0x4e8dd0(this,_0x2cf852(0x4f3),null),_0x4e8dd0(this,_0x2cf852(0x269),[]),(this['unitID']=_0x17e068,this['type']=_0x5d4cf3,this[_0x2cf852(0x2d3)]=_0x134829,this[_0x2cf852(0x3ce)]=_0x4059ef,this['_undoRedoService']=_0x4c6823,this[_0x2cf852(0x363)]=_0x1a0dd1,this[_0x2cf852(0x31e)]=_0x30c65a,this[_0x2cf852(0x4f3)]=_0x591ccf,this[_0x2cf852(0x269)]=_0x4f234b);}[_0x1e523d(0x437)](_0x3eaff0){var _0x4b84ee=_0x1e523d;const _0x12c379=this[_0x4b84ee(0x363)][_0x4b84ee(0x525)](this[_0x4b84ee(0x2d8)]);return _0x3eaff0[_0x4b84ee(0x4d8)]>_0x12c379+0x1?(this[_0x4b84ee(0x2d3)][_0x4b84ee(0x40e)]({'from':_0x12c379,'to':_0x3eaff0['revision']-0x1}),!0x0):!0x1;}[_0x1e523d(0x212)](_0x579e36){var _0x53819d=_0x1e523d;this[_0x53819d(0x445)][_0x53819d(0x3d1)](this['unitID'],_0x579e36);}[_0x1e523d(0x298)](_0x55d5f9){var _0x595e27=_0x1e523d,_0x25b8f0,_0x256111;(_0x256111=(_0x25b8f0=this[_0x595e27(0x2d3)])[_0x595e27(0x1b7)])==null||_0x256111[_0x595e27(0x20c)](_0x25b8f0,_0x55d5f9);}[_0x1e523d(0x255)](_0x4962c9){var _0x335471=_0x1e523d,_0x36b69c,_0x335b44;return(_0x335b44=(_0x36b69c=this['_handler'])[_0x335471(0x44f)])==null?void 0x0:_0x335b44[_0x335471(0x20c)](_0x36b69c,_0x4962c9);}[_0x1e523d(0x32f)](_0x2a584f){var _0x56ba1f=_0x1e523d,_0x17da88,_0x5b742e;return(_0x5b742e=(_0x17da88=this[_0x56ba1f(0x2d3)])[_0x56ba1f(0x465)])==null?void 0x0:_0x5b742e['call'](_0x17da88,_0x2a584f);}[_0x1e523d(0x1f9)](_0x4189a3){var _0x17147a=_0x1e523d,_0x2227cf,_0x332b8d,_0x37f6ac;return(_0x37f6ac=(_0x332b8d=(_0x2227cf=this[_0x17147a(0x2d3)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x332b8d['call'](_0x2227cf,_0x4189a3))!=null?_0x37f6ac:_0x4189a3;}['_transformRemoteChangesetByStateCache'](_0x39aaf6){var _0x576511=_0x1e523d,_0x3f68d4,_0x447c40,_0x5195d1;return(_0x5195d1=(_0x447c40=(_0x3f68d4=this['_handler'])[_0x576511(0x457)])==null?void 0x0:_0x447c40['call'](_0x3f68d4,_0x39aaf6))!=null?_0x5195d1:_0x39aaf6;}[_0x1e523d(0x472)](_0x278970){var _0x4fe8dc=_0x1e523d,_0xb542dd,_0x4e712b;if(this[_0x4fe8dc(0x42b)]===_0x16e80c[_0x4fe8dc(0x451)]){const {unitID:_0x14aa85,mutations:_0x11a89e,memberID:_0x42f83f}=_0x278970,_0x16bedb=_0x11a89e[0x0][_0x4fe8dc(0x38c)][_0x4fe8dc(0x2e4)];Array[_0x4fe8dc(0x494)](_0x16bedb)&&_0x16bedb[_0x4fe8dc(0x254)]>0x0&&((_0x4e712b=(_0xb542dd=this[_0x4fe8dc(0x2d3)])['onSyncEditingCollabCursor'])==null||_0x4e712b[_0x4fe8dc(0x20c)](_0xb542dd,{'unitID':_0x14aa85,'memberID':_0x42f83f,'textRanges':_0x16bedb}));}}[_0x1e523d(0x3bd)](){var _0x3e5fd2=_0x1e523d,_0x251592;(_0x251592=this[_0x3e5fd2(0x31e)])==null||_0x251592[_0x3e5fd2(0x356)](this[_0x3e5fd2(0x2d8)],this[_0x3e5fd2(0x42b)],this[_0x3e5fd2(0x4f3)],this['_pendingMutations']);}[_0x1e523d(0x329)](){var _0x40747e=_0x1e523d;return this[_0x40747e(0x363)][_0x40747e(0x525)](this[_0x40747e(0x2d8)]);}['_incrementRevisionNumber'](){var _0x1fbbcb=_0x1e523d;this['_revisionService'][_0x1fbbcb(0x2c2)](this[_0x1fbbcb(0x2d8)]);}['_executeRemoteChangeset'](_0x115fa5){var _0x1f6b76=_0x1e523d,_0x59eae0;let _0x1e12c1=this[_0x1f6b76(0x1f9)](_0x115fa5);_0x1e12c1=this[_0x1f6b76(0x46b)](_0x1e12c1);const _0x1a27a2=_0x38eb38[_0x1f6b76(0x489)](_0x1e12c1[_0x1f6b76(0x215)],this[_0x1f6b76(0x3ce)],{'fromCollab':!0x0});if(!_0x1a27a2[_0x1f6b76(0x38d)])throw _0x1a27a2[_0x1f6b76(0x450)]instanceof Error?_0x1a27a2[_0x1f6b76(0x450)]:new Error((_0x59eae0=_0x1a27a2[_0x1f6b76(0x450)])!=null?_0x59eae0:_0x1f6b76(0x1c9));this['_transformIMECache'](_0x1e12c1),this[_0x1f6b76(0x32f)](_0x1e12c1),this[_0x1f6b76(0x212)](_0x115fa5),this[_0x1f6b76(0x298)](_0x1e12c1),this[_0x1f6b76(0x472)](_0x1e12c1),this[_0x1f6b76(0x3dc)]();}}_0x386c41[_0x1e523d(0x2b7)]=class extends _0x151a1f{constructor(_0x29f27c,_0x564482,_0x1e6255,_0x56f04e,_0x4d4492,_0x223fdb,_0x1fc8fb,_0x519938,_0x584dbf,_0x417f55){var _0x4ca117=_0x1e523d;super(_0x29f27c,_0x564482,null,[],_0x1e6255,_0x1fc8fb,_0x223fdb,_0x56f04e,_0x417f55),_0x4e8dd0(this,_0x4ca117(0x439),_0x4ca117(0x280)),(this[_0x4ca117(0x471)]=_0x4d4492,this[_0x4ca117(0x4a4)]=_0x519938,this[_0x4ca117(0x4d9)]=_0x584dbf,this[_0x4ca117(0x278)]=_0x417f55);}[_0x1e523d(0x3be)](_0x389c93){var _0x20f459=_0x1e523d;const _0x1fb698=this[_0x20f459(0x471)][_0x20f459(0x292)](_0x386c41[_0x20f459(0x202)],this[_0x20f459(0x2d8)],this['type'],[_0x389c93],this[_0x20f459(0x2d3)]);return _0x1fb698[_0x20f459(0x314)](),_0x1fb698[_0x20f459(0x3bd)](),_0x1fb698;}[_0x1e523d(0x4f7)](_0x2fac15){var _0x5b0060=_0x1e523d;if(this[_0x5b0060(0x437)](_0x2fac15))return this[_0x5b0060(0x471)]['createInstance'](_0x386c41['FetchingMissState'],this[_0x5b0060(0x2d8)],this[_0x5b0060(0x42b)],null,[],null,[_0x2fac15],this[_0x5b0060(0x2d3)]);try{const _0x562da3=this[_0x5b0060(0x4d9)][_0x5b0060(0x325)](_0x2fac15,[_0x2879f6]);if(_0x21ba50['isTransformMutationsWithChangesetSuccess'](_0x562da3)){const {c1Prime:_0x3d11e0}=_0x562da3;return this[_0x5b0060(0x352)](_0x3d11e0),this;}throw _0x562da3[_0x5b0060(0x450)];}catch(_0xfa46c9){return this['_logService'][_0x5b0060(0x450)](_0xfa46c9),this[_0x5b0060(0x4e0)](!0x1);}}[_0x1e523d(0x4e0)](_0x31dcc6){var _0x15eda4=_0x1e523d;return this[_0x15eda4(0x471)][_0x15eda4(0x292)](_0x386c41['ConflictState'],this[_0x15eda4(0x2d8)],this[_0x15eda4(0x42b)],null,[],this[_0x15eda4(0x2d3)],_0x31dcc6);}['onRemoteAck'](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x35aa75=_0x1e523d;throw new Error(_0x35aa75(0x51e));}[_0x1e523d(0x468)](){return this;}['toggleOffline'](){var _0x3e7876=_0x1e523d;return this[_0x3e7876(0x471)]['createInstance'](_0x386c41[_0x3e7876(0x45a)],this[_0x3e7876(0x2d8)],this[_0x3e7876(0x42b)],null,[],this[_0x3e7876(0x2d3)]);}[_0x1e523d(0x347)](){return this;}[_0x1e523d(0x47f)](){var _0x3574b1=_0x1e523d;throw new Error(_0x3574b1(0x1bb));}[_0x1e523d(0x3d5)](){var _0x5b908c=_0x1e523d;const _0x27859b=this[_0x5b908c(0x363)][_0x5b908c(0x525)](this[_0x5b908c(0x2d8)]);return this[_0x5b908c(0x2d3)][_0x5b908c(0x40e)]({'from':_0x27859b,'to':0x0}),this[_0x5b908c(0x471)]['createInstance'](_0x386c41[_0x5b908c(0x495)],this[_0x5b908c(0x2d8)],this[_0x5b908c(0x42b)],null,[],null,[],this[_0x5b908c(0x2d3)]);}},_0x386c41[_0x1e523d(0x2b7)]=_0x20e471([_0x20f9be(0x3,_0x38eb38[_0x1e523d(0x20f)](_0x21ba50[_0x1e523d(0x4d1)])),_0x20f9be(0x4,_0x38eb38['Inject'](_0x38eb38[_0x1e523d(0x367)])),_0x20f9be(0x5,_0x38eb38[_0x1e523d(0x285)]),_0x20f9be(0x6,_0x38eb38[_0x1e523d(0x3de)]),_0x20f9be(0x7,_0x38eb38[_0x1e523d(0x220)]),_0x20f9be(0x8,_0x21ba50[_0x1e523d(0x2ad)]),_0x20f9be(0x9,_0x38eb38[_0x1e523d(0x436)](_0x414e11))],_0x386c41[_0x1e523d(0x2b7)]),_0x386c41['PendingState']=class extends _0x151a1f{constructor(_0x5d9270,_0x2a005c,_0x44f162,_0x361179,_0xf8d14b,_0x19c4ee,_0x906bb,_0x3b4870,_0x4c3bb9,_0x29f30d,_0x49eeb8,_0x165399,_0x5e72bb,_0x2a9b2f){var _0xa700b0=_0x1e523d;super(_0x5d9270,_0x2a005c,null,_0x44f162,_0x361179,_0x4c3bb9,_0x5e72bb,_0x19c4ee,_0x2a9b2f),_0x4e8dd0(this,_0xa700b0(0x439),_0xa700b0(0x236)),_0x4e8dd0(this,_0xa700b0(0x1be),null),_0x4e8dd0(this,_0xa700b0(0x4c1),null),(this['_injector']=_0xf8d14b,this[_0xa700b0(0x470)]=_0x906bb,this[_0xa700b0(0x4a4)]=_0x3b4870,this[_0xa700b0(0x462)]=_0x29f30d,this[_0xa700b0(0x4d9)]=_0x49eeb8,this[_0xa700b0(0x1b1)]=_0x165399);}[_0x1e523d(0x3be)](_0x17b6bb){var _0x2a59c8=_0x1e523d;return this[_0x2a59c8(0x269)][_0x2a59c8(0x1f2)](_0x17b6bb),this[_0x2a59c8(0x3bd)](),this;}['onRemoteChangeset'](_0x3e6fcf){var _0x518b9f=_0x1e523d;if(this[_0x518b9f(0x437)](_0x3e6fcf))return this[_0x518b9f(0x302)](),this[_0x518b9f(0x471)]['createInstance'](_0x386c41['FetchingMissState'],this[_0x518b9f(0x2d8)],this[_0x518b9f(0x42b)],null,this['_pendingMutations'],null,[_0x3e6fcf],this[_0x518b9f(0x2d3)]);try{const _0x4fbc8b=this[_0x518b9f(0x4d9)][_0x518b9f(0x325)](_0x3e6fcf,this['_pendingMutations']);if(_0x21ba50['isTransformMutationsWithChangesetSuccess'](_0x4fbc8b)){const {c1Prime:_0x52e817,m2Prime:_0x484f2f}=_0x4fbc8b;this[_0x518b9f(0x352)](_0x52e817);const _0x325660=this['_injector']['createInstance'](_0x386c41['PendingState'],this[_0x518b9f(0x2d8)],this['type'],_0x484f2f,this[_0x518b9f(0x2d3)]);this[_0x518b9f(0x302)]();const _0x4e9c18=new Date()['getTime'](),_0x57edf2=this[_0x518b9f(0x1be)]?Math[_0x518b9f(0x421)](this[_0x518b9f(0x1be)]-_0x4e9c18,0x0):this[_0x518b9f(0x370)]();return _0x325660[_0x518b9f(0x314)](_0x57edf2),_0x325660;}throw _0x4fbc8b[_0x518b9f(0x450)];}catch(_0x62f3d2){return this[_0x518b9f(0x4a4)][_0x518b9f(0x450)](_0x62f3d2),this['_onConflict'](!0x1);}}[_0x1e523d(0x23b)](){var _0x1c817b=_0x1e523d;throw new Error(_0x1c817b(0x3b0));}[_0x1e523d(0x371)](){var _0x5bcfe5=_0x1e523d;throw new Error(_0x5bcfe5(0x322));}[_0x1e523d(0x468)](){return this;}[_0x1e523d(0x43b)](){var _0x31f12b=_0x1e523d;return this[_0x31f12b(0x302)](),this[_0x31f12b(0x471)][_0x31f12b(0x292)](_0x386c41[_0x31f12b(0x45a)],this[_0x31f12b(0x2d8)],this[_0x31f12b(0x42b)],null,this[_0x31f12b(0x269)],this[_0x31f12b(0x2d3)]);}['toggleOnline'](){return this;}['_schedule'](_0x11fe5d){var _0x426535=_0x1e523d;const _0x3981cd=_0x11fe5d!=null?_0x11fe5d:this[_0x426535(0x370)]();this[_0x426535(0x1be)]=new Date()[_0x426535(0x30f)]()+_0x3981cd,this[_0x426535(0x4c1)]=setTimeout(()=>{var _0x515f4d=_0x426535;this[_0x515f4d(0x302)]();let _0x3f26dd=null;switch(this[_0x515f4d(0x42b)]){case _0x16e80c[_0x515f4d(0x4c4)]:{_0x3f26dd=_0x54bf9e(this[_0x515f4d(0x269)],this[_0x515f4d(0x2d8)],this[_0x515f4d(0x1b1)],this[_0x515f4d(0x363)],this[_0x515f4d(0x470)]);break;}case _0x16e80c[_0x515f4d(0x451)]:{this[_0x515f4d(0x269)]['every'](_0x1d7ea8=>_0x1d7ea8['id']===_0x12bfd8['RichTextEditingMutation']['id'])?_0x3f26dd=_0xb3c89c(this['_pendingMutations'],this[_0x515f4d(0x2d8)],this['_univerInstanceService'],this[_0x515f4d(0x363)],this[_0x515f4d(0x470)]):_0x3f26dd=_0x54bf9e(this[_0x515f4d(0x269)],this[_0x515f4d(0x2d8)],this[_0x515f4d(0x1b1)],this[_0x515f4d(0x363)],this[_0x515f4d(0x470)]);break;}default:throw new Error(_0x515f4d(0x1d8)+this['type']+'\x20in\x20_schedule.');}const {changeset:_0x3747af,pendingMutations:_0x21f257}=_0x3f26dd;this[_0x515f4d(0x2d3)][_0x515f4d(0x408)](_0x3747af);const _0x12a9b0=_0x21f257[_0x515f4d(0x254)]?this['_injector'][_0x515f4d(0x292)](_0x386c41['AwaitingWithPendingState'],this['unitID'],this[_0x515f4d(0x42b)],_0x3747af,_0x21f257,this[_0x515f4d(0x2d3)],void 0x0):this['_injector'][_0x515f4d(0x292)](_0x386c41[_0x515f4d(0x1cb)],this[_0x515f4d(0x2d8)],this[_0x515f4d(0x42b)],_0x3747af,this[_0x515f4d(0x2d3)]);_0x12a9b0[_0x515f4d(0x3bd)](),this[_0x515f4d(0x2d3)][_0x515f4d(0x4a6)](this,_0x12a9b0);},_0x3981cd);}[_0x1e523d(0x370)](){var _0xc54419=_0x1e523d,_0xfbfa63;const _0x39165f=this[_0xc54419(0x462)][_0xc54419(0x508)](_0x10421d);return(_0xfbfa63=_0x39165f==null?void 0x0:_0x39165f['sendChangesetTimeout'])!=null?_0xfbfa63:0x7d0;}[_0x1e523d(0x47f)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1e523d(0x302)](){var _0x4edbb0=_0x1e523d;this[_0x4edbb0(0x4c1)]!=null&&(clearTimeout(this[_0x4edbb0(0x4c1)]),this[_0x4edbb0(0x4c1)]=null);}[_0x1e523d(0x4e0)](_0x24e741){var _0x793cd6=_0x1e523d;return this[_0x793cd6(0x302)](),this[_0x793cd6(0x471)][_0x793cd6(0x292)](_0x386c41[_0x793cd6(0x3db)],this[_0x793cd6(0x2d8)],this[_0x793cd6(0x42b)],null,this[_0x793cd6(0x269)],this['_handler'],_0x24e741);}},_0x386c41[_0x1e523d(0x202)]=_0x20e471([_0x20f9be(0x4,_0x38eb38[_0x1e523d(0x20f)](_0x38eb38[_0x1e523d(0x367)])),_0x20f9be(0x5,_0x38eb38['Inject'](_0x21ba50[_0x1e523d(0x4d1)])),_0x20f9be(0x6,_0x38eb38[_0x1e523d(0x20f)](_0x386c41['MemberService'])),_0x20f9be(0x7,_0x38eb38[_0x1e523d(0x220)]),_0x20f9be(0x8,_0x38eb38[_0x1e523d(0x3de)]),_0x20f9be(0x9,_0x38eb38['IConfigService']),_0x20f9be(0xa,_0x21ba50[_0x1e523d(0x2ad)]),_0x20f9be(0xb,_0x38eb38[_0x1e523d(0x25e)]),_0x20f9be(0xc,_0x38eb38['IUndoRedoService']),_0x20f9be(0xd,_0x38eb38[_0x1e523d(0x436)](_0x414e11))],_0x386c41[_0x1e523d(0x202)]),_0x386c41[_0x1e523d(0x1cb)]=class extends _0x151a1f{constructor(_0x3025bb,_0x12d667,_0x2b166e,_0xc1c6b7,_0x179243,_0x5f3bfa,_0x906a64,_0x29c206,_0x289d1e,_0x20cc1f,_0x3a3317){var _0x33f061=_0x1e523d;super(_0x3025bb,_0x12d667,_0x2b166e,[],_0xc1c6b7,_0x906a64,_0x20cc1f,_0x5f3bfa,_0x3a3317),_0x4e8dd0(this,_0x33f061(0x439),_0x33f061(0x4b9)),_0x4e8dd0(this,_0x33f061(0x460),0x0),_0x4e8dd0(this,_0x33f061(0x4e2)),_0x4e8dd0(this,_0x33f061(0x52a)),(this[_0x33f061(0x471)]=_0x179243,this[_0x33f061(0x4a4)]=_0x29c206,this[_0x33f061(0x4d9)]=_0x289d1e);}[_0x1e523d(0x3be)](_0xaa29bf){var _0x3a5970=_0x1e523d;this[_0x3a5970(0x302)]();const _0x11117c=this['_injector'][_0x3a5970(0x292)](_0x386c41[_0x3a5970(0x514)],this[_0x3a5970(0x2d8)],this[_0x3a5970(0x42b)],this[_0x3a5970(0x4f3)],[_0xaa29bf],this['_handler'],this[_0x3a5970(0x4e2)]);return _0x11117c[_0x3a5970(0x3bd)](),_0x11117c;}[_0x1e523d(0x4f7)](_0x263276){var _0x34c48b=_0x1e523d;if(this['_checkMissing'](_0x263276))return this['_clearScheduledTask'](),this[_0x34c48b(0x471)][_0x34c48b(0x292)](_0x386c41[_0x34c48b(0x495)],this[_0x34c48b(0x2d8)],this['type'],this[_0x34c48b(0x4f3)],[],null,[_0x263276],this[_0x34c48b(0x2d3)]);try{const _0x1a2d6b=this[_0x34c48b(0x4d9)][_0x34c48b(0x400)]([_0x263276],[this[_0x34c48b(0x4f3)]],!0x1);if(_0x21ba50[_0x34c48b(0x296)](_0x1a2d6b)){const {c1Prime:_0x1c18e8,c2Prime:_0x1f6718}=_0x1a2d6b;this['_executeRemoteChangeset'](_0x1c18e8[0x0]),_0x1f6718[0x0][_0x34c48b(0x373)]=this[_0x34c48b(0x329)](),this[_0x34c48b(0x302)]();const _0x3df50e=this[_0x34c48b(0x471)][_0x34c48b(0x292)](_0x386c41[_0x34c48b(0x1cb)],this[_0x34c48b(0x2d8)],this[_0x34c48b(0x42b)],_0x1f6718[0x0],this[_0x34c48b(0x2d3)]);return _0x3df50e['_updateLocalCache'](),_0x3df50e;}return this[_0x34c48b(0x4e0)](!0x1);}catch(_0x176e9e){return this[_0x34c48b(0x4a4)][_0x34c48b(0x450)](_0x176e9e),this[_0x34c48b(0x4e0)](!0x1);}}[_0x1e523d(0x23b)](_0x3d6abe){var _0xc9e0b7=_0x1e523d;this[_0xc9e0b7(0x302)]();const _0x3d9d60=this[_0xc9e0b7(0x363)][_0xc9e0b7(0x525)](this[_0xc9e0b7(0x2d8)]);if(_0x3d6abe[_0xc9e0b7(0x4d8)]<_0x3d9d60-0x1)return this;if(this[_0xc9e0b7(0x437)](_0x3d6abe))return this[_0xc9e0b7(0x471)]['createInstance'](_0x386c41[_0xc9e0b7(0x495)],this['unitID'],this[_0xc9e0b7(0x42b)],null,[],this[_0xc9e0b7(0x4f3)],[],this[_0xc9e0b7(0x2d3)]);this[_0xc9e0b7(0x3dc)]();const _0x8e3f94=this[_0xc9e0b7(0x471)]['createInstance'](_0x386c41[_0xc9e0b7(0x2b7)],this[_0xc9e0b7(0x2d8)],this['type'],this[_0xc9e0b7(0x2d3)]);return _0x8e3f94['_updateLocalCache'](),_0x8e3f94;}['onRemoteRej'](_0x145daa){var _0x5bb88b=_0x1e523d;return this[_0x5bb88b(0x4e0)](!!(_0x145daa!=null&&_0x145daa[_0x5bb88b(0x28e)]));}['onRemoteRetry'](_0x4f21ad){var _0x444d5f=_0x1e523d;return this[_0x444d5f(0x460)]>_0x1ed81f?this[_0x444d5f(0x43b)]():(this['_resendTimer']=_0x582204(this['_resendTimeout'],{'timeout':this[_0x444d5f(0x460)],'reqId':_0x4f21ad[_0x444d5f(0x520)]}),this[_0x444d5f(0x52a)]=this[_0x444d5f(0x4e2)][_0x444d5f(0x271)](({reqId:_0x43eeb1,timeout:_0x37590f})=>{var _0x523b44=_0x444d5f;this[_0x523b44(0x48c)](_0x43eeb1,_0x37590f);}),this);}[_0x1e523d(0x43b)](){var _0x17ee21=_0x1e523d;return this[_0x17ee21(0x302)](),this[_0x17ee21(0x471)]['createInstance'](_0x386c41[_0x17ee21(0x45a)],this[_0x17ee21(0x2d8)],this[_0x17ee21(0x42b)],this['_awaitingChangeset'],[],this[_0x17ee21(0x2d3)]);}[_0x1e523d(0x347)](){return this;}[_0x1e523d(0x47f)](){var _0x2a3eae=_0x1e523d;this[_0x2a3eae(0x2d3)][_0x2a3eae(0x408)](this[_0x2a3eae(0x4f3)]);}['_onConflict'](_0x3a0b31){var _0x5c5a26=_0x1e523d;return this[_0x5c5a26(0x302)](),this[_0x5c5a26(0x471)][_0x5c5a26(0x292)](_0x386c41['ConflictState'],this[_0x5c5a26(0x2d8)],this[_0x5c5a26(0x42b)],this[_0x5c5a26(0x4f3)],[],this[_0x5c5a26(0x2d3)],_0x3a0b31);}['_resendWithTimeout'](_0xfb0f25,_0x6e4a01){var _0x50940b=_0x1e523d,_0x5784b1;_0xfb0f25===((_0x5784b1=this[_0x50940b(0x4f3)])==null?void 0x0:_0x5784b1[_0x50940b(0x520)])&&(this[_0x50940b(0x47f)](),this['_resendTimeout']=_0x6e4a01===0x0?0x3e8:_0x6e4a01*0x2);}[_0x1e523d(0x302)](){var _0x359621=_0x1e523d,_0x3e260e;(_0x3e260e=this[_0x359621(0x52a)])==null||_0x3e260e[_0x359621(0x1f1)](),this[_0x359621(0x460)]=0x0;}},_0x386c41[_0x1e523d(0x1cb)]=_0x20e471([_0x20f9be(0x4,_0x38eb38[_0x1e523d(0x20f)](_0x38eb38[_0x1e523d(0x367)])),_0x20f9be(0x5,_0x38eb38[_0x1e523d(0x20f)](_0x21ba50[_0x1e523d(0x4d1)])),_0x20f9be(0x6,_0x38eb38['ICommandService']),_0x20f9be(0x7,_0x38eb38[_0x1e523d(0x220)]),_0x20f9be(0x8,_0x21ba50[_0x1e523d(0x2ad)]),_0x20f9be(0x9,_0x38eb38[_0x1e523d(0x285)]),_0x20f9be(0xa,_0x38eb38[_0x1e523d(0x436)](_0x414e11))],_0x386c41[_0x1e523d(0x1cb)]),_0x386c41[_0x1e523d(0x514)]=class extends _0x151a1f{constructor(_0x242cdd,_0x55c9e7,_0x1251d1,_0x4a87eb,_0xd695a5,_0x3c4409,_0x2880e1,_0x2ab8a9,_0x4f9fe3,_0xa9583,_0x3b7585,_0x145378,_0x3532cc){var _0x33f831=_0x1e523d;super(_0x242cdd,_0x55c9e7,_0x1251d1,_0x4a87eb,_0xd695a5,_0x4f9fe3,_0x145378,_0x2ab8a9,_0x3532cc),_0x4e8dd0(this,_0x33f831(0x439),_0x33f831(0x34c)),_0x4e8dd0(this,'_resendTimeout',0x0),_0x4e8dd0(this,_0x33f831(0x4e2)),_0x4e8dd0(this,_0x33f831(0x52a)),(this[_0x33f831(0x471)]=_0x2880e1,this[_0x33f831(0x4a4)]=_0xa9583,this[_0x33f831(0x4d9)]=_0x3b7585,this['localCacheService']=_0x3532cc,_0x3c4409&&(this[_0x33f831(0x4e2)]=_0x3c4409,this[_0x33f831(0x52a)]=this[_0x33f831(0x4e2)][_0x33f831(0x271)](({reqId:_0x379e78,timeout:_0x4a893d})=>{this['_resendWithTimeout'](_0x379e78,_0x4a893d);})));}['appendMutation'](_0x4ca8ce){var _0x5778e3=_0x1e523d;return this[_0x5778e3(0x269)][_0x5778e3(0x1f2)](_0x4ca8ce),this;}['onRemoteChangeset'](_0x49cb41){var _0x2c71cc=_0x1e523d;if(this['_checkMissing'](_0x49cb41))return this[_0x2c71cc(0x302)](),this[_0x2c71cc(0x471)]['createInstance'](_0x386c41[_0x2c71cc(0x495)],this[_0x2c71cc(0x2d8)],this[_0x2c71cc(0x42b)],this[_0x2c71cc(0x4f3)],this[_0x2c71cc(0x269)],null,[_0x49cb41],this[_0x2c71cc(0x2d3)]);try{const _0x5f3e93=this['_transformService'][_0x2c71cc(0x400)]([_0x49cb41],[this[_0x2c71cc(0x4f3)]],!0x1);if(_0x21ba50[_0x2c71cc(0x296)](_0x5f3e93)){const {c1Prime:_0x513814,c2Prime:_0x1199a5}=_0x5f3e93,_0x4ac0f2=this[_0x2c71cc(0x4d9)]['transformMutationsWithChangeset'](_0x513814[0x0],this[_0x2c71cc(0x269)]);if(_0x21ba50[_0x2c71cc(0x385)](_0x4ac0f2)){const {c1Prime:_0x4f3052,m2Prime:_0x3f3258}=_0x4ac0f2;return this['_executeRemoteChangeset'](_0x4f3052),_0x1199a5[0x0][_0x2c71cc(0x373)]=this[_0x2c71cc(0x329)](),this[_0x2c71cc(0x302)](),this['_injector'][_0x2c71cc(0x292)](_0x386c41[_0x2c71cc(0x514)],this['unitID'],this[_0x2c71cc(0x42b)],_0x1199a5[0x0],_0x3f3258,this[_0x2c71cc(0x2d3)],void 0x0);}throw _0x4ac0f2[_0x2c71cc(0x450)];}throw _0x5f3e93[_0x2c71cc(0x450)];}catch(_0x678e0){return this[_0x2c71cc(0x4a4)][_0x2c71cc(0x450)](_0x678e0),this[_0x2c71cc(0x4e0)](!0x1);}}[_0x1e523d(0x23b)](_0x34788e){var _0x522d03=_0x1e523d;if(this[_0x522d03(0x302)](),this[_0x522d03(0x437)](_0x34788e))return this['_injector']['createInstance'](_0x386c41[_0x522d03(0x495)],this['unitID'],this[_0x522d03(0x42b)],null,this['_pendingMutations'],this[_0x522d03(0x4f3)],[],this[_0x522d03(0x2d3)]);this[_0x522d03(0x3dc)]();const _0xb6f766=this['_injector'][_0x522d03(0x292)](_0x386c41['PendingState'],this[_0x522d03(0x2d8)],this[_0x522d03(0x42b)],this[_0x522d03(0x269)],this[_0x522d03(0x2d3)]);return _0xb6f766[_0x522d03(0x314)](),_0xb6f766[_0x522d03(0x3bd)](),_0xb6f766;}[_0x1e523d(0x371)](_0x113fcb){var _0x142757=_0x1e523d;return this[_0x142757(0x4e0)](!!(_0x113fcb!=null&&_0x113fcb[_0x142757(0x28e)]));}['onRemoteRetry'](_0x3b79ab){var _0x18448d=_0x1e523d;return this[_0x18448d(0x460)]>_0x1ed81f?this[_0x18448d(0x43b)]():(this[_0x18448d(0x4e2)]=_0x582204(this[_0x18448d(0x460)],{'timeout':this[_0x18448d(0x460)],'reqId':_0x3b79ab[_0x18448d(0x520)]}),this[_0x18448d(0x52a)]=this[_0x18448d(0x4e2)][_0x18448d(0x271)](({reqId:_0x31f790,timeout:_0x3bbf99})=>{var _0x5db6bf=_0x18448d;this[_0x5db6bf(0x48c)](_0x31f790,_0x3bbf99);}),this);}[_0x1e523d(0x43b)](){var _0x766854=_0x1e523d;return this[_0x766854(0x302)](),this[_0x766854(0x471)][_0x766854(0x292)](_0x386c41['OfflineState'],this[_0x766854(0x2d8)],this['type'],this['_awaitingChangeset'],this[_0x766854(0x269)],this[_0x766854(0x2d3)]);}['toggleOnline'](){return this;}[_0x1e523d(0x47f)](){var _0x443aa3=_0x1e523d;this[_0x443aa3(0x2d3)][_0x443aa3(0x408)](this[_0x443aa3(0x4f3)]);}[_0x1e523d(0x4e0)](_0x395614){var _0x34f0eb=_0x1e523d;return this[_0x34f0eb(0x302)](),this['_injector'][_0x34f0eb(0x292)](_0x386c41[_0x34f0eb(0x3db)],this[_0x34f0eb(0x2d8)],this[_0x34f0eb(0x42b)],null,this[_0x34f0eb(0x269)],this[_0x34f0eb(0x2d3)],_0x395614);}['_resendWithTimeout'](_0x4b1c54,_0x51d75b){var _0x600a7c=_0x1e523d,_0x4e64da;_0x4b1c54===((_0x4e64da=this[_0x600a7c(0x4f3)])==null?void 0x0:_0x4e64da['reqId'])&&(this[_0x600a7c(0x47f)](),this[_0x600a7c(0x460)]=_0x51d75b===0x0?0x3e8:_0x51d75b*0x2);}[_0x1e523d(0x302)](){var _0x1cd1ea=_0x1e523d,_0x3057d7;(_0x3057d7=this[_0x1cd1ea(0x52a)])==null||_0x3057d7[_0x1cd1ea(0x1f1)](),this[_0x1cd1ea(0x460)]=0x0;}},_0x386c41['AwaitingWithPendingState']=_0x20e471([_0x20f9be(0x6,_0x38eb38[_0x1e523d(0x20f)](_0x38eb38[_0x1e523d(0x367)])),_0x20f9be(0x7,_0x38eb38['Inject'](_0x21ba50[_0x1e523d(0x4d1)])),_0x20f9be(0x8,_0x38eb38[_0x1e523d(0x3de)]),_0x20f9be(0x9,_0x38eb38[_0x1e523d(0x220)]),_0x20f9be(0xa,_0x21ba50[_0x1e523d(0x2ad)]),_0x20f9be(0xb,_0x38eb38[_0x1e523d(0x285)]),_0x20f9be(0xc,_0x38eb38[_0x1e523d(0x436)](_0x414e11))],_0x386c41['AwaitingWithPendingState']),_0x386c41['ConflictState']=class extends _0x151a1f{constructor(_0x3de796,_0x4287ba,_0x466987,_0x13f2b2,_0x56cfad,_0x387f30=!0x1,_0x48b12d,_0x1f0128,_0x53825f,_0x3ec917,_0x368a9a,_0x2cc37a,_0x5135a1){var _0x551f91=_0x1e523d;super(_0x3de796,_0x4287ba,_0x466987,_0x13f2b2,_0x56cfad,_0x1f0128,_0x53825f,_0x3ec917,_0x5135a1),_0x4e8dd0(this,_0x551f91(0x439),'conflict'),(this['_isPermissionRej']=_0x387f30,this[_0x551f91(0x2ae)]=_0x48b12d,this[_0x551f91(0x3c5)]=_0x368a9a,this[_0x551f91(0x4ce)]=_0x2cc37a,this[_0x551f91(0x278)]=_0x5135a1,this[_0x551f91(0x3c4)](),this[_0x551f91(0x351)](),this['_disableEditing']());}[_0x1e523d(0x3be)](){return this;}[_0x1e523d(0x4f7)](){return this;}[_0x1e523d(0x23b)](){return this;}['onRemoteRej'](){return this;}['onRemoteRetry'](){return this;}[_0x1e523d(0x43b)](){return this;}[_0x1e523d(0x347)](){return this;}[_0x1e523d(0x47f)](){var _0x28b563=_0x1e523d;throw new Error(_0x28b563(0x383));}[_0x1e523d(0x351)](){var _0x5c8e00=_0x1e523d,_0x4c4f70;(_0x4c4f70=this[_0x5c8e00(0x31e)])==null||_0x4c4f70['updateOfflineData'](this[_0x5c8e00(0x2d8)],this[_0x5c8e00(0x42b)],null,[]);}[_0x1e523d(0x3c4)](){var _0x141014=_0x1e523d;this['_isPermissionRej']?this[_0x141014(0x4ce)][_0x141014(0x51d)]({'id':_0x4b31f0[_0x141014(0x366)]}):this[_0x141014(0x4ce)]['emitEvent']({'id':_0x4b31f0[_0x141014(0x319)]});}['_disableEditing'](){var _0x212ffa=_0x1e523d;this['_permissionService'][_0x212ffa(0x518)](new _0x56a74c['WorkbookEditablePermission'](this[_0x212ffa(0x2d8)])['id'],!0x1);}},_0x386c41[_0x1e523d(0x3db)]=_0x20e471([_0x20f9be(0x6,_0x38eb38[_0x1e523d(0x20f)](_0x38eb38['IPermissionService'])),_0x20f9be(0x7,_0x38eb38[_0x1e523d(0x3de)]),_0x20f9be(0x8,_0x38eb38[_0x1e523d(0x285)]),_0x20f9be(0x9,_0x38eb38[_0x1e523d(0x20f)](_0x21ba50['RevisionService'])),_0x20f9be(0xa,_0x38eb38[_0x1e523d(0x20f)](_0x38eb38[_0x1e523d(0x4aa)])),_0x20f9be(0xb,_0x38eb38[_0x1e523d(0x20f)](_0x541cfa)),_0x20f9be(0xc,_0x38eb38[_0x1e523d(0x436)](_0x414e11))],_0x386c41[_0x1e523d(0x3db)]),_0x386c41['OfflineState']=class extends _0x151a1f{constructor(_0x3f51ee,_0x25d64e,_0x4fae3e,_0x330074,_0x428bde,_0x1cb67c,_0x4fd891,_0x41a400,_0x19aa7b,_0x5ec52c){var _0x42e265=_0x1e523d;super(_0x3f51ee,_0x25d64e,_0x4fae3e,_0x330074,_0x428bde,_0x41a400,_0x19aa7b,_0x4fd891,_0x5ec52c),_0x4e8dd0(this,_0x42e265(0x439),'offline'),this[_0x42e265(0x471)]=_0x1cb67c;}[_0x1e523d(0x3be)](_0xcbbee3){var _0x32d914=_0x1e523d;return this[_0x32d914(0x269)]['push'](_0xcbbee3),this[_0x32d914(0x3bd)](),this;}['onRemoteChangeset'](_0x8200ac){var _0x5d2b43=_0x1e523d;throw new Error(_0x5d2b43(0x46a));}[_0x1e523d(0x23b)](){var _0x116805=_0x1e523d;throw new Error(_0x116805(0x33c));}[_0x1e523d(0x371)](){var _0x56bac2=_0x1e523d;throw new Error(_0x56bac2(0x4c7));}['onRemoteRetry'](){return this;}[_0x1e523d(0x43b)](){return this;}[_0x1e523d(0x347)](){var _0x1ece3b=_0x1e523d;const {_injector:_0x31b5e2,_pendingMutations:_0x34ab7a,_awaitingChangeset:_0x5c80e1,unitID:_0xb8b4c8,_handler:_0x5762d0,type:_0x7a32c6}=this,_0x19f7f7=_0x50256c(_0x31b5e2,_0xb8b4c8,_0x7a32c6,_0x5c80e1,_0x34ab7a,_0x5762d0);return _0x19f7f7 instanceof _0x386c41[_0x1ece3b(0x202)]?_0x19f7f7[_0x1ece3b(0x314)]():(_0x19f7f7 instanceof _0x386c41['AwaitingWithPendingState']||_0x19f7f7 instanceof _0x386c41[_0x1ece3b(0x1cb)])&&_0x19f7f7[_0x1ece3b(0x47f)](),_0x19f7f7;}[_0x1e523d(0x47f)](){var _0x3b11ca=_0x1e523d;throw new Error(_0x3b11ca(0x41a));}},_0x386c41[_0x1e523d(0x45a)]=_0x20e471([_0x20f9be(0x5,_0x38eb38['Inject'](_0x38eb38[_0x1e523d(0x367)])),_0x20f9be(0x6,_0x38eb38[_0x1e523d(0x20f)](_0x21ba50['RevisionService'])),_0x20f9be(0x7,_0x38eb38[_0x1e523d(0x3de)]),_0x20f9be(0x8,_0x38eb38[_0x1e523d(0x285)]),_0x20f9be(0x9,_0x38eb38['Optional'](_0x414e11))],_0x386c41[_0x1e523d(0x45a)]),_0x386c41[_0x1e523d(0x495)]=class extends _0x151a1f{constructor(_0x430eae,_0x356542,_0x44518b,_0xb9e5fb,_0xc64eb9,_0x32874d,_0x3e9462,_0x19eb96,_0x3fba3e,_0x36c41a,_0x7b3507,_0x4deefc,_0x17df45,_0x35ed4e){var _0x302b07=_0x1e523d;super(_0x430eae,_0x356542,_0x44518b,_0xb9e5fb,_0x3e9462,_0x7b3507,_0x4deefc,_0x3fba3e,_0x35ed4e),_0x4e8dd0(this,'status',_0x302b07(0x4b1)),(this['_acknowledgedAwaitingChangeset']=_0xc64eb9,this['_queuedRemoteChangesets']=_0x32874d,this[_0x302b07(0x471)]=_0x19eb96,this['_logService']=_0x36c41a,this[_0x302b07(0x4d9)]=_0x17df45,this[_0x302b07(0x278)]=_0x35ed4e);}[_0x1e523d(0x48f)](_0x5666b7){var _0x3735aa=_0x1e523d;try{const _0x32d5a0=[..._0x5666b7,...this[_0x3735aa(0x46e)]],_0x403572=[this['_awaitingChangeset']||this[_0x3735aa(0x2d1)]][_0x3735aa(0x227)](_0x47ee52=>!!_0x47ee52);let _0xf2df19,_0x55924d;if(_0x403572['length']){const _0x49dba2=this[_0x3735aa(0x4d9)][_0x3735aa(0x400)](_0x32d5a0,_0x403572,!0x1);if(!_0x21ba50[_0x3735aa(0x296)](_0x49dba2))throw _0x49dba2[_0x3735aa(0x450)];_0xf2df19=_0x49dba2['c1Prime'],_0x55924d=_0x49dba2['c2Prime'];}else _0xf2df19=_0x32d5a0,_0x55924d=[];let _0x1d9db5=this['_pendingMutations'];_0xf2df19[_0x3735aa(0x52c)](_0x3c1be0=>{var _0x4b2c83=_0x3735aa;let _0x2e0a97;if(_0x1d9db5[_0x4b2c83(0x254)]){const _0x2d3f57=this[_0x4b2c83(0x4d9)]['transformMutationsWithChangeset'](_0x3c1be0,_0x1d9db5);if(!_0x21ba50[_0x4b2c83(0x385)](_0x2d3f57))throw _0x2d3f57[_0x4b2c83(0x450)];_0x2e0a97=_0x2d3f57[_0x4b2c83(0x49b)],_0x1d9db5=_0x2d3f57[_0x4b2c83(0x540)];}else _0x2e0a97=_0x3c1be0;this[_0x4b2c83(0x352)](_0x2e0a97);}),this[_0x3735aa(0x2d1)]&&this[_0x3735aa(0x3dc)](),this[_0x3735aa(0x4f3)]&&_0x55924d['length']&&(_0x55924d[0x0][_0x3735aa(0x373)]=this['_getCurrentRevision']());let _0x495986;if(this[_0x3735aa(0x4f3)]&&_0x1d9db5['length']!==0x0)_0x495986=this[_0x3735aa(0x471)][_0x3735aa(0x292)](_0x386c41[_0x3735aa(0x514)],this[_0x3735aa(0x2d8)],this[_0x3735aa(0x42b)],_0x55924d[0x0],_0x1d9db5,this['_handler'],void 0x0);else{if(this[_0x3735aa(0x4f3)]&&_0x1d9db5[_0x3735aa(0x254)]===0x0)_0x55924d[0x0]['baseRev']=this['_getCurrentRevision'](),_0x495986=this['_injector'][_0x3735aa(0x292)](_0x386c41['AwaitingState'],this[_0x3735aa(0x2d8)],this[_0x3735aa(0x42b)],_0x55924d[0x0],this[_0x3735aa(0x2d3)]);else{if(_0x1d9db5['length']!==0x0){const _0x3707ff=this[_0x3735aa(0x471)][_0x3735aa(0x292)](_0x386c41[_0x3735aa(0x202)],this[_0x3735aa(0x2d8)],this[_0x3735aa(0x42b)],_0x1d9db5,this[_0x3735aa(0x2d3)]);_0x3707ff[_0x3735aa(0x314)](),_0x495986=_0x3707ff;}else _0x495986=this[_0x3735aa(0x471)][_0x3735aa(0x292)](_0x386c41[_0x3735aa(0x2b7)],this['unitID'],this['type'],this[_0x3735aa(0x2d3)]);}}return _0x495986[_0x3735aa(0x3bd)](),_0x495986;}catch(_0x56aee2){return this[_0x3735aa(0x4a4)][_0x3735aa(0x450)](_0x3735aa(0x24d),_0x3735aa(0x1eb),_0x56aee2),this[_0x3735aa(0x471)][_0x3735aa(0x292)](_0x386c41[_0x3735aa(0x3db)],this[_0x3735aa(0x2d8)],this['type'],this[_0x3735aa(0x4f3)],this[_0x3735aa(0x269)],this[_0x3735aa(0x2d3)],!0x1);}}[_0x1e523d(0x47f)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1e523d(0x3be)](_0x433a3d){var _0x47005d=_0x1e523d;return this[_0x47005d(0x269)][_0x47005d(0x1f2)](_0x433a3d),this;}[_0x1e523d(0x4f7)](_0x20ceaf){var _0x529bac=_0x1e523d;return this[_0x529bac(0x46e)][_0x529bac(0x1f2)](_0x20ceaf),this;}[_0x1e523d(0x23b)](_0x2b6e2f){var _0x38283b=_0x1e523d;if(this[_0x38283b(0x4f3)])return this[_0x38283b(0x2d1)]=this[_0x38283b(0x4f3)],this[_0x38283b(0x4f3)]=null,this;throw new Error(_0x38283b(0x52d));}[_0x1e523d(0x371)](_0x3c9d1d){var _0x10f05d=_0x1e523d;return this[_0x10f05d(0x4e0)](!!(_0x3c9d1d!=null&&_0x3c9d1d[_0x10f05d(0x28e)]));}[_0x1e523d(0x468)](){return this;}['toggleOffline'](){var _0x2a9616=_0x1e523d;return this[_0x2a9616(0x471)][_0x2a9616(0x292)](_0x386c41[_0x2a9616(0x45a)],this[_0x2a9616(0x2d8)],this[_0x2a9616(0x42b)],this[_0x2a9616(0x4f3)],this[_0x2a9616(0x269)],this[_0x2a9616(0x2d3)]);}[_0x1e523d(0x347)](){return this;}[_0x1e523d(0x4e0)](_0x396b22){var _0x156a41=_0x1e523d;return this[_0x156a41(0x471)][_0x156a41(0x292)](_0x386c41[_0x156a41(0x3db)],this[_0x156a41(0x2d8)],this[_0x156a41(0x42b)],this[_0x156a41(0x4f3)],this[_0x156a41(0x269)],this[_0x156a41(0x2d3)],_0x396b22);}},_0x386c41[_0x1e523d(0x495)]=_0x20e471([_0x20f9be(0x7,_0x38eb38[_0x1e523d(0x20f)](_0x38eb38['Injector'])),_0x20f9be(0x8,_0x38eb38[_0x1e523d(0x20f)](_0x21ba50['RevisionService'])),_0x20f9be(0x9,_0x38eb38[_0x1e523d(0x220)]),_0x20f9be(0xa,_0x38eb38[_0x1e523d(0x3de)]),_0x20f9be(0xb,_0x38eb38[_0x1e523d(0x285)]),_0x20f9be(0xc,_0x21ba50[_0x1e523d(0x2ad)]),_0x20f9be(0xd,_0x38eb38['Optional'](_0x414e11))],_0x386c41[_0x1e523d(0x495)]);function _0x50256c(_0xb64267,_0x55f9de,_0x5cd264,_0xaf07a2,_0xc4821f,_0x171add){var _0x76bc40=_0x1e523d;return _0xaf07a2&&_0xc4821f[_0x76bc40(0x254)]?_0xb64267[_0x76bc40(0x292)](_0x386c41[_0x76bc40(0x514)],_0x55f9de,_0x5cd264,_0xaf07a2,_0xc4821f,_0x171add,void 0x0):_0xaf07a2?_0xb64267[_0x76bc40(0x292)](_0x386c41[_0x76bc40(0x1cb)],_0x55f9de,_0x5cd264,_0xaf07a2,_0x171add):_0xc4821f[_0x76bc40(0x254)]?_0xb64267[_0x76bc40(0x292)](_0x386c41[_0x76bc40(0x202)],_0x55f9de,_0x5cd264,_0xc4821f,_0x171add):_0xb64267[_0x76bc40(0x292)](_0x386c41[_0x76bc40(0x2b7)],_0x55f9de,_0x5cd264,_0x171add);}var _0x520655=Object[_0x1e523d(0x4a8)],_0x54515d=(_0x460b9b,_0x2235e7,_0x4412e0,_0x7d7704)=>{var _0x431b01=_0x1e523d;for(var _0x18d5b5=_0x7d7704>0x1?void 0x0:_0x7d7704?_0x520655(_0x2235e7,_0x4412e0):_0x2235e7,_0x2da8f1=_0x460b9b[_0x431b01(0x254)]-0x1,_0x256160;_0x2da8f1>=0x0;_0x2da8f1--)(_0x256160=_0x460b9b[_0x2da8f1])&&(_0x18d5b5=_0x256160(_0x18d5b5)||_0x18d5b5);return _0x18d5b5;},_0x230950=(_0x16e4e,_0x1116c6)=>(_0x4a95e7,_0x512039)=>_0x1116c6(_0x4a95e7,_0x512039,_0x16e4e);_0x386c41[_0x1e523d(0x501)]=class extends _0x38eb38['RxDisposable']{constructor(_0x298ce4,_0x463031,_0x342cca,_0xf7877,_0x59b5cf,_0xbd078e,_0x44ac18,_0xbc32d0,_0x55f49c,_0x1b46aa,_0x3805b7,_0x5ca490,_0x27e91c){var _0x5941ee=_0x1e523d;super(),_0x4e8dd0(this,_0x5941ee(0x2df),new _0x14e7e3[(_0x5941ee(0x1c6))](null)),_0x4e8dd0(this,_0x5941ee(0x272),this[_0x5941ee(0x2df)][_0x5941ee(0x3e7)]()),_0x4e8dd0(this,'_state'),_0x4e8dd0(this,_0x5941ee(0x222),!0x1),_0x4e8dd0(this,_0x5941ee(0x419),''),_0x4e8dd0(this,_0x5941ee(0x27a),0x0),_0x4e8dd0(this,_0x5941ee(0x244),this['state$'][_0x5941ee(0x2c4)](_0x14e7e3[_0x5941ee(0x404)](_0x4f589e=>_0x4f589e?_0x4f589e[_0x5941ee(0x439)]:_0x248a6a[_0x5941ee(0x4ee)]),_0x14e7e3[_0x5941ee(0x3d0)](0x1))),_0x4e8dd0(this,_0x5941ee(0x40f),!0x1),_0x4e8dd0(this,_0x5941ee(0x403),[]),(this['unitID']=_0x298ce4,this[_0x5941ee(0x46c)]=_0x463031,this[_0x5941ee(0x2e6)]=_0x342cca,this['_injector']=_0xf7877,this[_0x5941ee(0x492)]=_0x59b5cf,this[_0x5941ee(0x3c5)]=_0xbd078e,this[_0x5941ee(0x363)]=_0x44ac18,this[_0x5941ee(0x267)]=_0xbc32d0,this['_logService']=_0x55f49c,this[_0x5941ee(0x3ce)]=_0x1b46aa,this[_0x5941ee(0x2ae)]=_0x3805b7,this[_0x5941ee(0x469)]=_0x5ca490,this[_0x5941ee(0x31e)]=_0x27e91c);}get[_0x1e523d(0x392)](){return this['_state'];}async[_0x1e523d(0x233)](){var _0x141ff9=_0x1e523d;if(this[_0x141ff9(0x392)])throw new Error(_0x141ff9(0x3c3));await this[_0x141ff9(0x200)]();}[_0x1e523d(0x310)](){var _0x1e4e56=_0x1e523d;return this[_0x1e4e56(0x222)]=!0x0,_0x38eb38[_0x1e4e56(0x378)](()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x1e523d(0x3b3)](_0x168896){this['_onLocalMutation'](_0x168896);}[_0x1e523d(0x48e)](_0x4cb40d){var _0x9178af=_0x1e523d;this[_0x9178af(0x35c)]=_0x4cb40d,this[_0x9178af(0x2df)][_0x9178af(0x2e3)](_0x4cb40d);}async[_0x1e523d(0x200)](){var _0x58cafe=_0x1e523d,_0x36ad28;this[_0x58cafe(0x48e)](await this[_0x58cafe(0x33e)]()),this[_0x58cafe(0x469)]&&((_0x36ad28=this[_0x58cafe(0x469)])==null||_0x36ad28[_0x58cafe(0x1d1)](this[_0x58cafe(0x2d8)]),this['disposeWithMe'](this['_singleActiveUnitService'][_0x58cafe(0x218)](this[_0x58cafe(0x2d8)])[_0x58cafe(0x271)](_0x27e7be=>{var _0x193261=_0x58cafe;this[_0x193261(0x4a4)][_0x193261(0x288)](_0x193261(0x241),_0x193261(0x1ff),_0x27e7be),_0x27e7be===_0x530e8f[_0x193261(0x479)]?(this[_0x193261(0x267)][_0x193261(0x51d)]({'id':_0x4b31f0[_0x193261(0x28a)]}),this[_0x193261(0x2ae)][_0x193261(0x518)](new _0x56a74c[(_0x193261(0x251))](this['unitID'])['id'],!0x1),this[_0x193261(0x2ae)][_0x193261(0x38a)](!0x1)):(this[_0x193261(0x2ae)]['updatePermissionPoint'](new _0x56a74c[(_0x193261(0x251))](this['unitID'])['id'],!0x0),this[_0x193261(0x2ae)][_0x193261(0x38a)](!0x0));})));let _0x49e95b=!0x1;return this[_0x58cafe(0x3b4)](this[_0x58cafe(0x46c)][_0x58cafe(0x21f)][_0x58cafe(0x271)](_0x11c4de=>{var _0x47ab6e=_0x58cafe;_0x11c4de===_0x3e29d6[_0x47ab6e(0x4a3)]?this[_0x47ab6e(0x541)](_0x49e95b):_0x11c4de===_0x3e29d6[_0x47ab6e(0x4ee)]&&(_0x49e95b=!0x0,this[_0x47ab6e(0x51f)]());})),this[_0x58cafe(0x3b4)](this['session'][_0x58cafe(0x361)][_0x58cafe(0x271)](_0x1efc7a=>{var _0x97665c=_0x58cafe;try{switch(_0x1efc7a[_0x97665c(0x52b)]){case _0x21ba50[_0x97665c(0x2c1)][_0x97665c(0x4e7)]:{this['_onRemoteChangeset'](_0x21ba50['parseProtocolChangeset'](_0x1efc7a[_0x97665c(0x434)]));break;}case _0x21ba50['CollaborationEvent'][_0x97665c(0x2c8)]:{this[_0x97665c(0x32d)](_0x1efc7a[_0x97665c(0x434)]);break;}case _0x21ba50[_0x97665c(0x2c1)][_0x97665c(0x473)]:{this[_0x97665c(0x3bb)]();break;}case _0x21ba50[_0x97665c(0x2c1)][_0x97665c(0x349)]:{this[_0x97665c(0x464)](_0x1efc7a[_0x97665c(0x434)]);break;}case _0x21ba50[_0x97665c(0x2c1)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x97665c(0x326)](_0x1efc7a['data'][_0x97665c(0x29e)][_0x97665c(0x404)](_0x5c1618=>_0x21ba50[_0x97665c(0x252)](_0x5c1618)));break;}case _0x21ba50[_0x97665c(0x2c1)]['PERMISSION_REJ']:{this[_0x97665c(0x3bb)]({'isPermissionRej':!0x0});break;}case _0x21ba50[_0x97665c(0x2c1)][_0x97665c(0x4ca)]:break;}}catch(_0x23601c){throw console[_0x97665c(0x450)](_0x97665c(0x3d9),_0x23601c),_0x23601c;}})),this[_0x58cafe(0x35c)];}[_0x1e523d(0x4c6)](){var _0x107e97=_0x1e523d;this[_0x107e97(0x40f)]=!0x1;}['_lockTransition'](){var _0xd2738e=_0x1e523d;if(this['_transitionLocked'])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0xd2738e(0x40f)]=!0x0;}['_onLocalMutation'](_0x44fff0){var _0x25c4d0=_0x1e523d;this[_0x25c4d0(0x2f6)](),this[_0x25c4d0(0x48e)](this['_state'][_0x25c4d0(0x3be)](_0x44fff0)),this['_unlockTransition']();}[_0x1e523d(0x4de)](_0x22cab6){var _0x53d236=_0x1e523d;if(!(_0x22cab6[_0x53d236(0x4d8)]<=this[_0x53d236(0x363)]['getCurrentRevOfUnit'](this[_0x53d236(0x2d8)]))){if(this[_0x53d236(0x222)]){this['_remoteChangesetQueue'][_0x53d236(0x1f2)](_0x22cab6);return;}this[_0x53d236(0x3e2)](_0x22cab6);}}[_0x1e523d(0x4a2)](){var _0x3e2a95=_0x1e523d;this[_0x3e2a95(0x403)][_0x3e2a95(0x52c)](_0x3e95ed=>this[_0x3e2a95(0x3e2)](_0x3e95ed)),this['_remoteChangesetQueue']=[];}['_applyRemoteChangeset'](_0x4dacef){var _0x14fb2d=_0x1e523d;const _0x3c7481=this['_compressMutationService'][_0x14fb2d(0x1f3)][_0x14fb2d(0x20b)](this[_0x14fb2d(0x492)][_0x14fb2d(0x1f3)][_0x14fb2d(0x294)]()[_0x14fb2d(0x3cc)])(_0x4dacef[_0x14fb2d(0x215)],null)||_0x4dacef[_0x14fb2d(0x215)],_0x275b4a={..._0x4dacef,'mutations':_0x3c7481};this[_0x14fb2d(0x2f6)](),this[_0x14fb2d(0x48e)](this[_0x14fb2d(0x35c)][_0x14fb2d(0x4f7)](_0x275b4a)),this[_0x14fb2d(0x4c6)]();}[_0x1e523d(0x32d)](_0x54fe8f){var _0x23031c=_0x1e523d;this[_0x23031c(0x2f6)](),this['_updateState'](this[_0x23031c(0x35c)][_0x23031c(0x23b)](_0x54fe8f)),this['_unlockTransition']();}['_onRemoteRejected'](_0x1f8372){var _0x4cf7e8=_0x1e523d;this['_lockTransition'](),this[_0x4cf7e8(0x48e)](this[_0x4cf7e8(0x35c)][_0x4cf7e8(0x371)](_0x1f8372)),this['_unlockTransition']();}[_0x1e523d(0x464)](_0x1d24f0){var _0x120da4=_0x1e523d;this[_0x120da4(0x2f6)](),this[_0x120da4(0x48e)](this['_state']['onRemoteRetry'](_0x1d24f0)),this['_unlockTransition']();}[_0x1e523d(0x326)](_0xd3319d){var _0x23279e=_0x1e523d;if(!(this[_0x23279e(0x35c)]instanceof _0x386c41[_0x23279e(0x495)]))throw new TypeError(_0x23279e(0x4f0));const _0x2a4352=_0xd3319d['map'](_0x8bbcda=>{var _0x5af9cd=_0x23279e;const _0x31dcf2=this[_0x5af9cd(0x492)][_0x5af9cd(0x1f3)][_0x5af9cd(0x20b)](this[_0x5af9cd(0x492)][_0x5af9cd(0x1f3)]['getInterceptPoints']()[_0x5af9cd(0x3cc)])(_0x8bbcda[_0x5af9cd(0x215)],null)||_0x8bbcda[_0x5af9cd(0x215)];return{..._0x8bbcda,'mutations':_0x31dcf2};});this['_lockTransition'](),this[_0x23279e(0x48e)](this['_state']['onMissedChangesetFetched'](_0x2a4352)),this[_0x23279e(0x4c6)]();}['_toggleOffline'](){var _0x4decc0=_0x1e523d;this[_0x4decc0(0x2f6)](),this[_0x4decc0(0x48e)](this[_0x4decc0(0x35c)][_0x4decc0(0x43b)]()),this[_0x4decc0(0x4c6)]();}[_0x1e523d(0x541)](_0x53edac=!0x1){var _0x48e11c=_0x1e523d;this[_0x48e11c(0x2f6)](),this['_updateState'](this[_0x48e11c(0x35c)][_0x48e11c(0x347)]()),this[_0x48e11c(0x4c6)]();const _0x3bdb26=this[_0x48e11c(0x35c)];_0x53edac&&_0x3bdb26 instanceof _0x386c41[_0x48e11c(0x2b7)]&&(this[_0x48e11c(0x2f6)](),this[_0x48e11c(0x48e)](_0x3bdb26[_0x48e11c(0x3d5)]()),this[_0x48e11c(0x4c6)]());}async[_0x1e523d(0x33e)](){return new Promise(_0x156090=>{var _0x12f8e0=_0x2e4c;this[_0x12f8e0(0x46c)][_0x12f8e0(0x21f)]['pipe'](_0x14e7e3[_0x12f8e0(0x409)](0x1))[_0x12f8e0(0x271)](async _0x5bf088=>{var _0x4c2d10=_0x12f8e0;_0x156090(await this[_0x4c2d10(0x30e)](_0x5bf088===_0x3e29d6[_0x4c2d10(0x4a3)]));});});}[_0x1e523d(0x2c3)](){var _0x40cf7f=_0x1e523d;const _0xc8771b=this[_0x40cf7f(0x2d8)];return{'onStateChange':(_0x423e57,_0x526aca)=>{var _0x4aa4f4=_0x40cf7f;if(_0x423e57!==this['_state'])throw new Error(_0x4aa4f4(0x446)+_0x423e57[_0x4aa4f4(0x439)]+_0x4aa4f4(0x1dc)+_0x526aca[_0x4aa4f4(0x439)]+_0x4aa4f4(0x28b)+this['_state'][_0x4aa4f4(0x439)]);this[_0x4aa4f4(0x48e)](_0x526aca);},'onSendChangeset':_0x2c9c4b=>{var _0x5e72eb=_0x40cf7f;_0x2c9c4b[_0x5e72eb(0x531)]||(_0x2c9c4b[_0x5e72eb(0x531)]=this[_0x5e72eb(0x419)],_0x2c9c4b[_0x5e72eb(0x520)]=++this[_0x5e72eb(0x27a)]);const _0x5ea1fa={'eventID':_0x21ba50[_0x5e72eb(0x2c1)][_0x5e72eb(0x256)],'data':{'unitID':_0x2c9c4b[_0x5e72eb(0x2d8)],'unitType':this[_0x5e72eb(0x2e6)],'changeset':_0x2c9c4b,'memberID':this[_0x5e72eb(0x46c)]['getMemberID']()}};this[_0x5e72eb(0x46c)][_0x5e72eb(0x235)](_0x5ea1fa,this[_0x5e72eb(0x2d8)]);},'onMissingChangesets':({from:_0x12b5e0,to:_0x5a52ee})=>{var _0x481786=_0x40cf7f;this[_0x481786(0x4a4)][_0x481786(0x288)](_0x481786(0x241),'fetching\x20missing\x20changesets\x20from\x20'+_0x12b5e0+'\x20to\x20'+_0x5a52ee);const _0x328bf7={'eventID':_0x21ba50[_0x481786(0x2c1)][_0x481786(0x2e5)],'data':{'unitID':_0xc8771b,'unitType':this[_0x481786(0x2e6)],'from':_0x12b5e0,'to':_0x5a52ee}};this['session'][_0x481786(0x235)](_0x328bf7,this[_0x481786(0x2d8)]);}};}async[_0x1e523d(0x30e)](_0x5e59e3){var _0x5a8b52=_0x1e523d,_0xf8cdca,_0x1321be,_0x211db1;const _0x411ad8=await((_0xf8cdca=this[_0x5a8b52(0x31e)])==null?void 0x0:_0xf8cdca[_0x5a8b52(0x290)](this[_0x5a8b52(0x2d8)])),_0x18e10b=(_0x1321be=_0x411ad8==null?void 0x0:_0x411ad8['mutations'])!=null?_0x1321be:[],_0x12dccf=(_0x211db1=_0x411ad8==null?void 0x0:_0x411ad8['awaitingChangeset'])!=null?_0x211db1:null,_0x4a286b=!!(_0x12dccf!=null&&_0x12dccf['sid'])&&!!(_0x12dccf!=null&&_0x12dccf[_0x5a8b52(0x520)]);this[_0x5a8b52(0x419)]=_0x4a286b?_0x12dccf[_0x5a8b52(0x531)]:_0x5b4928(),this[_0x5a8b52(0x27a)]=_0x4a286b?_0x12dccf[_0x5a8b52(0x520)]:0x0;const _0x13bad3=this[_0x5a8b52(0x2d8)];try{this[_0x5a8b52(0x3ea)](_0x12dccf,_0x18e10b);}catch(_0x29e72f){this[_0x5a8b52(0x4a4)][_0x5a8b52(0x450)](_0x29e72f);}const _0x5645cd=this[_0x5a8b52(0x2c3)]();if(_0x5e59e3){const _0x24e350=_0x50256c(this['_injector'],_0x13bad3,this[_0x5a8b52(0x2e6)],_0x12dccf,_0x18e10b,_0x5645cd);return _0x24e350 instanceof _0x386c41[_0x5a8b52(0x202)]?_0x24e350[_0x5a8b52(0x314)]():(_0x24e350 instanceof _0x386c41[_0x5a8b52(0x514)]||_0x24e350 instanceof _0x386c41[_0x5a8b52(0x1cb)])&&_0x24e350['resend'](),_0x24e350;}return this['_injector'][_0x5a8b52(0x292)](_0x386c41['OfflineState'],_0x13bad3,this[_0x5a8b52(0x2e6)],_0x12dccf,_0x18e10b,_0x5645cd);}[_0x1e523d(0x3ea)](_0x36cd0c,_0x3ef0cf){var _0x588d48=_0x1e523d,_0x197c13,_0x486aff;const _0x2d5f1a=this[_0x588d48(0x492)]['interceptor']['fetchThroughInterceptors'](this[_0x588d48(0x492)]['interceptor']['getInterceptPoints']()[_0x588d48(0x3cc)]);(_0x197c13=_0x2d5f1a((_0x36cd0c==null?void 0x0:_0x36cd0c[_0x588d48(0x215)])||[],null))==null||_0x197c13[_0x588d48(0x52c)](_0x22d5e3=>this[_0x588d48(0x3ce)][_0x588d48(0x4cf)](_0x22d5e3['id'],_0x22d5e3['params'])),(_0x486aff=_0x2d5f1a(_0x3ef0cf||[],null))==null||_0x486aff[_0x588d48(0x52c)](_0x1fb9c6=>this[_0x588d48(0x3ce)][_0x588d48(0x4cf)](_0x1fb9c6['id'],_0x1fb9c6[_0x588d48(0x38c)]));}},_0x386c41['CollaborationEntity']=_0x54515d([_0x230950(0x3,_0x38eb38[_0x1e523d(0x20f)](_0x38eb38[_0x1e523d(0x367)])),_0x230950(0x4,_0x38eb38['Inject'](_0x21ba50[_0x1e523d(0x33a)])),_0x230950(0x5,_0x38eb38[_0x1e523d(0x20f)](_0x38eb38[_0x1e523d(0x4aa)])),_0x230950(0x6,_0x38eb38['Inject'](_0x21ba50[_0x1e523d(0x4d1)])),_0x230950(0x7,_0x38eb38[_0x1e523d(0x20f)](_0x541cfa)),_0x230950(0x8,_0x38eb38[_0x1e523d(0x220)]),_0x230950(0x9,_0x38eb38[_0x1e523d(0x3de)]),_0x230950(0xa,_0x38eb38[_0x1e523d(0x1b9)]),_0x230950(0xb,_0x38eb38[_0x1e523d(0x436)](_0x2c1154)),_0x230950(0xc,_0x38eb38[_0x1e523d(0x436)](_0x414e11))],_0x386c41[_0x1e523d(0x501)]),_0x386c41[_0x1e523d(0x1ec)]=class extends _0x386c41[_0x1e523d(0x501)]{constructor(_0x21f3ac,_0x236cc4,_0x201ff0,_0x4d3915,_0x308108,_0x5612c3,_0x54fac5,_0x10c3e0,_0x4b956e,_0x2c08a1,_0x574060,_0x16b73e,_0x453cef){var _0x130e49=_0x1e523d;super(_0x21f3ac,_0x201ff0,_0x236cc4,_0x4d3915,_0x308108,_0x5612c3,_0x54fac5,_0x10c3e0,_0x4b956e,_0x2c08a1,_0x574060,_0x16b73e,_0x453cef),_0x4e8dd0(this,_0x130e49(0x263),null),(this[_0x130e49(0x2d8)]=_0x21f3ac,this[_0x130e49(0x42b)]=_0x236cc4);}[_0x1e523d(0x30c)](_0x5a4ba0){this['_handlerCallback']=_0x5a4ba0;}['dispose'](){var _0x5f2666=_0x1e523d;this[_0x5f2666(0x263)]=null,super['dispose']();}['_createHandler'](){var _0x387906=_0x1e523d;const _0x3187d1=super['_createHandler']();return _0x3187d1[_0x387906(0x44f)]=_0x121c1e=>{var _0x40f64c=_0x387906,_0x121510,_0x146beb;return(_0x146beb=(_0x121510=this['_handlerCallback'])==null?void 0x0:_0x121510[_0x40f64c(0x44f)])==null?void 0x0:_0x146beb['call'](_0x121510,_0x121c1e);},_0x3187d1['onTransformState']=_0x1340e9=>{var _0x5b0260=_0x387906,_0x5a69df,_0x4f6f48;return(_0x4f6f48=(_0x5a69df=this[_0x5b0260(0x263)])==null?void 0x0:_0x5a69df[_0x5b0260(0x465)])==null?void 0x0:_0x4f6f48[_0x5b0260(0x20c)](_0x5a69df,_0x1340e9);},_0x3187d1[_0x387906(0x1b7)]=_0x54db51=>{var _0x393941=_0x387906,_0x4d2458,_0xd61b69;return(_0xd61b69=(_0x4d2458=this[_0x393941(0x263)])==null?void 0x0:_0x4d2458['onTransformSelections'])==null?void 0x0:_0xd61b69[_0x393941(0x20c)](_0x4d2458,_0x54db51);},_0x3187d1['onSyncEditingCollabCursor']=_0x556a75=>{var _0x494162=_0x387906,_0x571c53,_0x2220b9;return(_0x2220b9=(_0x571c53=this[_0x494162(0x263)])==null?void 0x0:_0x571c53[_0x494162(0x1f0)])==null?void 0x0:_0x2220b9[_0x494162(0x20c)](_0x571c53,_0x556a75);},_0x3187d1[_0x387906(0x323)]=_0x2f85a0=>{var _0x352b4e=_0x387906,_0x33e40f,_0x16d848,_0x65f2cb;if(!((_0x33e40f=this['_handlerCallback'])!=null&&_0x33e40f['onTransformRemoteChangesetByIMECache']))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x65f2cb=(_0x16d848=this[_0x352b4e(0x263)])==null?void 0x0:_0x16d848['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x65f2cb[_0x352b4e(0x20c)](_0x16d848,_0x2f85a0);},_0x3187d1[_0x387906(0x457)]=_0x21d7e8=>{var _0x2d07e5=_0x387906,_0x1ee00e,_0x411739,_0x26ccc9;if(!((_0x1ee00e=this[_0x2d07e5(0x263)])!=null&&_0x1ee00e[_0x2d07e5(0x457)]))throw new Error(_0x2d07e5(0x333));return(_0x26ccc9=(_0x411739=this[_0x2d07e5(0x263)])==null?void 0x0:_0x411739[_0x2d07e5(0x457)])==null?void 0x0:_0x26ccc9[_0x2d07e5(0x20c)](_0x411739,_0x21d7e8);},_0x3187d1;}async['_init'](){var _0x37440d=_0x1e523d;const _0x1ad65f=await super[_0x37440d(0x200)]();return this[_0x37440d(0x3b4)](this[_0x37440d(0x3ce)][_0x37440d(0x274)]((_0x323b02,_0x439e44)=>{var _0x1f9f97=_0x37440d;if(_0x323b02[_0x1f9f97(0x42b)]!==_0x38eb38[_0x1f9f97(0x3f5)][_0x1f9f97(0x4ba)]||_0x439e44!=null&&_0x439e44[_0x1f9f97(0x27e)]||_0x439e44!=null&&_0x439e44['onlyLocal']||_0x323b02['id']===_0x12bfd8['RichTextEditingMutation']['id'])return;const _0x267fbf=_0x323b02['params'];if((_0x267fbf==null?void 0x0:_0x267fbf['unitId'])!==this[_0x1f9f97(0x2d8)])return;const _0x4443b8=_0x323b02,_0x5176e4=this['_compressMutationService']['interceptor'][_0x1f9f97(0x20b)](this[_0x1f9f97(0x492)][_0x1f9f97(0x1f3)][_0x1f9f97(0x294)]()[_0x1f9f97(0x354)])([_0x4443b8],null)||[_0x4443b8];this[_0x1f9f97(0x34f)](_0x5176e4[0x0]);})),_0x1ad65f;}},_0x386c41[_0x1e523d(0x1ec)]=_0x54515d([_0x230950(0x3,_0x38eb38['Inject'](_0x38eb38['Injector'])),_0x230950(0x4,_0x38eb38[_0x1e523d(0x20f)](_0x21ba50[_0x1e523d(0x33a)])),_0x230950(0x5,_0x38eb38[_0x1e523d(0x20f)](_0x38eb38[_0x1e523d(0x4aa)])),_0x230950(0x6,_0x38eb38['Inject'](_0x21ba50[_0x1e523d(0x4d1)])),_0x230950(0x7,_0x38eb38[_0x1e523d(0x20f)](_0x541cfa)),_0x230950(0x8,_0x38eb38['ILogService']),_0x230950(0x9,_0x38eb38[_0x1e523d(0x3de)]),_0x230950(0xa,_0x38eb38['IPermissionService']),_0x230950(0xb,_0x38eb38[_0x1e523d(0x436)](_0x2c1154)),_0x230950(0xc,_0x38eb38[_0x1e523d(0x436)](_0x414e11))],_0x386c41[_0x1e523d(0x1ec)]),_0x386c41['SheetCollaborationEntity']=class extends _0x386c41[_0x1e523d(0x501)]{constructor(_0x44f01a,_0x363f6b,_0x32851a,_0x250bdb,_0x59383b,_0x4a9e4d,_0x234d01,_0x1e9950,_0x29b623,_0xc30a94,_0x2ec3c9,_0x4b307d,_0x2ab99d,_0x126b63){var _0x1fed9d=_0x1e523d;super(_0x44f01a,_0x32851a,_0x363f6b,_0x250bdb,_0x59383b,_0x4a9e4d,_0x234d01,_0x29b623,_0xc30a94,_0x2ec3c9,_0x4b307d,_0x2ab99d,_0x126b63),this[_0x1fed9d(0x2d8)]=_0x44f01a,this['type']=_0x363f6b,this['_sheetTransformSelectionsService']=_0x1e9950;}['_createHandler'](){var _0x3c683b=_0x1e523d;const _0x197eff=super[_0x3c683b(0x2c3)]();return _0x197eff['onTransformSelections']=_0x55b45c=>this[_0x3c683b(0x2b5)]['transformSelections'](_0x55b45c),_0x197eff;}async['_init'](){var _0x4382ee=_0x1e523d;const _0x594838=await super[_0x4382ee(0x200)]();return this['disposeWithMe'](this[_0x4382ee(0x3ce)]['onCommandExecuted']((_0xdbb172,_0x1bdd70)=>{var _0x63c6a1=_0x4382ee;if(_0xdbb172[_0x63c6a1(0x42b)]!==_0x38eb38['CommandType'][_0x63c6a1(0x4ba)]||_0x1bdd70!=null&&_0x1bdd70[_0x63c6a1(0x27e)]||_0x1bdd70!=null&&_0x1bdd70[_0x63c6a1(0x35e)])return;const _0x21730f=_0xdbb172[_0x63c6a1(0x38c)];if((_0x21730f==null?void 0x0:_0x21730f['unitId'])!==this['unitID'])return;const _0x5190fb=_0xdbb172,_0x54c789=this[_0x63c6a1(0x492)][_0x63c6a1(0x1f3)][_0x63c6a1(0x20b)](this[_0x63c6a1(0x492)]['interceptor'][_0x63c6a1(0x294)]()[_0x63c6a1(0x354)])([_0x5190fb],null)||[_0x5190fb];this[_0x63c6a1(0x34f)](_0x54c789[0x0]);})),_0x594838;}},_0x386c41['SheetCollaborationEntity']=_0x54515d([_0x230950(0x3,_0x38eb38['Inject'](_0x38eb38[_0x1e523d(0x367)])),_0x230950(0x4,_0x38eb38[_0x1e523d(0x20f)](_0x21ba50[_0x1e523d(0x33a)])),_0x230950(0x5,_0x38eb38[_0x1e523d(0x20f)](_0x38eb38[_0x1e523d(0x4aa)])),_0x230950(0x6,_0x38eb38['Inject'](_0x21ba50[_0x1e523d(0x4d1)])),_0x230950(0x7,_0x38eb38['Inject'](_0x386c41[_0x1e523d(0x317)])),_0x230950(0x8,_0x38eb38[_0x1e523d(0x20f)](_0x541cfa)),_0x230950(0x9,_0x38eb38[_0x1e523d(0x220)]),_0x230950(0xa,_0x38eb38[_0x1e523d(0x3de)]),_0x230950(0xb,_0x38eb38['IPermissionService']),_0x230950(0xc,_0x38eb38[_0x1e523d(0x436)](_0x2c1154)),_0x230950(0xd,_0x38eb38[_0x1e523d(0x436)](_0x414e11))],_0x386c41[_0x1e523d(0x205)]);var _0x3b3d70=Object['getOwnPropertyDescriptor'],_0x53e4c4=(_0x4d107d,_0x234a27,_0x1fea5f,_0x10480a)=>{for(var _0xe81520=_0x10480a>0x1?void 0x0:_0x10480a?_0x3b3d70(_0x234a27,_0x1fea5f):_0x234a27,_0x3b7419=_0x4d107d['length']-0x1,_0xdbb14a;_0x3b7419>=0x0;_0x3b7419--)(_0xdbb14a=_0x4d107d[_0x3b7419])&&(_0xe81520=_0xdbb14a(_0xe81520)||_0xe81520);return _0xe81520;},_0x5349a2=(_0x5e1d59,_0x41ddac)=>(_0x2a7031,_0x58028e)=>_0x41ddac(_0x2a7031,_0x58028e,_0x5e1d59);_0x386c41[_0x1e523d(0x26f)]=class extends _0x38eb38[_0x1e523d(0x228)]{constructor(_0x2e7502,_0x2f4982,_0x4e563d){var _0x4c4cb2=_0x1e523d;super(),_0x4e8dd0(this,_0x4c4cb2(0x226),new Map()),_0x4e8dd0(this,'_entityInit$',new _0x14e7e3[(_0x4c4cb2(0x4b7))]()),_0x4e8dd0(this,_0x4c4cb2(0x4e1),this[_0x4c4cb2(0x519)]['asObservable']()),(this['_injector']=_0x2e7502,this[_0x4c4cb2(0x422)]=_0x2f4982,this['_univerInstanceService']=_0x4e563d,this[_0x4c4cb2(0x200)]());}[_0x1e523d(0x410)](){var _0xede849=_0x1e523d;super[_0xede849(0x410)](),this[_0xede849(0x226)][_0xede849(0x52c)](_0x347de9=>_0x347de9[_0xede849(0x410)]()),this[_0xede849(0x226)][_0xede849(0x2fa)]();}['getCollabEntity'](_0x1454fd){var _0x2f3a7e=_0x1e523d,_0x3ab854;return(_0x3ab854=this['_entities'][_0x2f3a7e(0x239)](_0x1454fd))!=null?_0x3ab854:null;}['getCollabEntity$'](_0x4dfeb8){var _0x41b5a5=_0x1e523d;const _0x1b6de8=this[_0x41b5a5(0x213)](_0x4dfeb8);return _0x1b6de8?_0x14e7e3['of'](_0x1b6de8):this[_0x41b5a5(0x519)]['pipe'](_0x23a54f[_0x41b5a5(0x227)](_0x3b0fd2=>_0x3b0fd2[_0x41b5a5(0x2d8)]===_0x4dfeb8));}[_0x1e523d(0x39f)](_0x3b7020){var _0x4d9c53=_0x1e523d;return _0x14e7e3[_0x4d9c53(0x1c8)](this[_0x4d9c53(0x488)](_0x3b7020)['pipe'](_0x23a54f[_0x4d9c53(0x404)](()=>{})));}[_0x1e523d(0x200)](){var _0xa19504=_0x1e523d;this[_0xa19504(0x1b1)][_0xa19504(0x362)](_0x38eb38['UniverInstanceType'][_0xa19504(0x4c4)])[_0xa19504(0x2c4)](_0x14e7e3[_0xa19504(0x214)](this[_0xa19504(0x51a)]),_0x23a54f[_0xa19504(0x536)](0x10))[_0xa19504(0x271)](async _0x105338=>{var _0x2df2d7=_0xa19504;const _0x5d61c1=_0x105338[_0x2df2d7(0x4d2)](),_0x53503=await this['_startCollaboration'](_0x5d61c1,_0x16e80c[_0x2df2d7(0x4c4)]);this[_0x2df2d7(0x226)]['set'](_0x5d61c1,_0x53503);}),this['_univerInstanceService'][_0xa19504(0x362)](_0x38eb38[_0xa19504(0x23c)][_0xa19504(0x451)])[_0xa19504(0x2c4)](_0x14e7e3[_0xa19504(0x214)](this[_0xa19504(0x51a)]),_0x23a54f[_0xa19504(0x536)](0x10))[_0xa19504(0x2c4)](_0x23a54f[_0xa19504(0x227)](_0x5f5b29=>!_0x5f5b29[_0xa19504(0x4d2)]()[_0xa19504(0x4b6)]('__')))['subscribe'](async _0x4fb54b=>{var _0x1d53c4=_0xa19504;const _0x4644fe=_0x4fb54b[_0x1d53c4(0x4d2)](),_0x514aad=await this[_0x1d53c4(0x216)](_0x4644fe,_0x16e80c[_0x1d53c4(0x451)]);this[_0x1d53c4(0x226)][_0x1d53c4(0x399)](_0x4644fe,_0x514aad);}),_0x14e7e3[_0xa19504(0x27f)](this[_0xa19504(0x1b1)][_0xa19504(0x32b)](_0x38eb38[_0xa19504(0x23c)]['UNIVER_SHEET']),this[_0xa19504(0x1b1)]['getTypeOfUnitDisposed$'](_0x38eb38[_0xa19504(0x23c)]['UNIVER_DOC']))[_0xa19504(0x2c4)](_0x14e7e3[_0xa19504(0x214)](this['dispose$']))[_0xa19504(0x271)](_0xcbba2c=>{var _0x1e9a8b=_0xa19504;const _0x314b5d=_0xcbba2c[_0x1e9a8b(0x4d2)](),_0xca9837=this['_entities'][_0x1e9a8b(0x239)](_0x314b5d);_0xca9837&&(_0xca9837[_0x1e9a8b(0x410)](),this[_0x1e9a8b(0x226)][_0x1e9a8b(0x3b5)](_0x314b5d));});}async[_0x1e523d(0x216)](_0x2fc4d2,_0x2a4455){var _0x23d069=_0x1e523d;const _0x115bf8=await this['_collabSessionService'][_0x23d069(0x35d)](_0x2fc4d2),_0x134a7f=this['_injector']['createInstance'](this['_getCtorByUniverType'](_0x2a4455),_0x2fc4d2,_0x2a4455,_0x115bf8);return await _0x134a7f[_0x23d069(0x233)](),this[_0x23d069(0x519)][_0x23d069(0x2e3)](_0x134a7f),_0x134a7f;}['_getCtorByUniverType'](_0x51941){var _0x5552c5=_0x1e523d;switch(_0x51941){case _0x16e80c['UNIVER_DOC']:return _0x386c41['DocCollaborationEntity'];case _0x16e80c[_0x5552c5(0x4c4)]:return _0x386c41[_0x5552c5(0x205)];default:throw new Error(_0x5552c5(0x2de)+_0x51941);}}},_0x386c41[_0x1e523d(0x26f)]=_0x53e4c4([_0x5349a2(0x0,_0x38eb38['Inject'](_0x38eb38[_0x1e523d(0x367)])),_0x5349a2(0x1,_0x38eb38[_0x1e523d(0x20f)](_0x386c41[_0x1e523d(0x414)])),_0x5349a2(0x2,_0x38eb38[_0x1e523d(0x25e)])],_0x386c41[_0x1e523d(0x26f)]);var _0x19eaf8=Object[_0x1e523d(0x4a8)],_0x240a6e=(_0x353c0f,_0xa76402,_0x52ddc8,_0x5c2092)=>{var _0x14b964=_0x1e523d;for(var _0x359711=_0x5c2092>0x1?void 0x0:_0x5c2092?_0x19eaf8(_0xa76402,_0x52ddc8):_0xa76402,_0x51bb4f=_0x353c0f[_0x14b964(0x254)]-0x1,_0x12905f;_0x51bb4f>=0x0;_0x51bb4f--)(_0x12905f=_0x353c0f[_0x51bb4f])&&(_0x359711=_0x12905f(_0x359711)||_0x359711);return _0x359711;},_0x4b3f68=(_0x50b6eb,_0xbd5e5f)=>(_0x377b01,_0x5ac395)=>_0xbd5e5f(_0x377b01,_0x5ac395,_0x50b6eb);const _0x329191=_0x1e523d(0x4fd),_0x42ae45=_0x1e523d(0x277);let _0x53bdad=class extends _0x38eb38[_0x1e523d(0x341)]{constructor(_0x59fa7c,_0x4709e1){var _0x2112b3=_0x1e523d;super(),this[_0x2112b3(0x1b1)]=_0x59fa7c,this[_0x2112b3(0x462)]=_0x4709e1,this['_init']();}['_init'](){var _0x51a8ac=_0x1e523d;this[_0x51a8ac(0x3b4)](this[_0x51a8ac(0x1b1)][_0x51a8ac(0x316)][_0x51a8ac(0x271)](()=>{var _0x41460c=_0x51a8ac,_0x7d57de;const _0x302b53=this['_univerInstanceService'][_0x41460c(0x407)]();let _0x1dcace=(_0x7d57de=this[_0x41460c(0x462)]['getConfig'](_0x329191))!=null?_0x7d57de:_0x42ae45;_0x302b53 instanceof _0x38eb38[_0x41460c(0x461)]&&(_0x1dcace=_0x302b53[_0x41460c(0x372)]),document[_0x41460c(0x3a3)]=_0x1dcace;}));}};_0x53bdad=_0x240a6e([_0x4b3f68(0x0,_0x38eb38[_0x1e523d(0x25e)]),_0x4b3f68(0x1,_0x38eb38[_0x1e523d(0x442)])],_0x53bdad);var _0x4615e1=Object[_0x1e523d(0x4a8)],_0x32e079=(_0x1e72bf,_0x1e237d,_0x266400,_0x2a0e36)=>{var _0x23ea60=_0x1e523d;for(var _0x142381=_0x2a0e36>0x1?void 0x0:_0x2a0e36?_0x4615e1(_0x1e237d,_0x266400):_0x1e237d,_0x60da54=_0x1e72bf[_0x23ea60(0x254)]-0x1,_0x5d8b0d;_0x60da54>=0x0;_0x60da54--)(_0x5d8b0d=_0x1e72bf[_0x60da54])&&(_0x142381=_0x5d8b0d(_0x142381)||_0x142381);return _0x142381;},_0x1d55f9=(_0x54f606,_0x24bb48)=>(_0x412b8e,_0x236c24)=>_0x24bb48(_0x412b8e,_0x236c24,_0x54f606);let _0xc22030=class{constructor(_0x5bc9c8,_0x1bdd55,_0x4cb1e3){var _0x36fe6a=_0x1e523d;this[_0x36fe6a(0x462)]=_0x5bc9c8,this['_httpService']=_0x1bdd55,this[_0x36fe6a(0x539)]=_0x4cb1e3,this[_0x36fe6a(0x233)]();}[_0x1e523d(0x233)](){var _0x25b715=_0x1e523d;this[_0x25b715(0x426)][_0x25b715(0x1f4)]({'priority':0x1,'interceptor':(_0x363ccb,_0x5713ef)=>_0x5713ef(_0x363ccb)[_0x25b715(0x2c4)](_0x14e7e3[_0x25b715(0x2cd)](async _0x5b90c8=>{var _0x42feb4=_0x25b715;const _0x229f8c=_0x5b90c8;if(_0x229f8c[_0x42feb4(0x439)]===0x191){if(typeof window>'u')throw new Error(_0x42feb4(0x23f));if(window['confirm'](this['localeService']['t'](_0x42feb4(0x287)))){const _0x550841=window[_0x42feb4(0x527)](window[_0x42feb4(0x20a)][_0x42feb4(0x30d)]);window[_0x42feb4(0x20a)][_0x42feb4(0x30d)]=this[_0x42feb4(0x3aa)]()+'?url='+_0x550841;}}return _0x229f8c;}))});}['_getLoginPath'](){var _0x4575f8=_0x1e523d,_0x3d9556,_0x1999ff;const _0x54ad25=this[_0x4575f8(0x462)][_0x4575f8(0x508)](_0x54b291),_0x1d86ca=this[_0x4575f8(0x462)][_0x4575f8(0x508)](_0x10421d);return(_0x1999ff=(_0x3d9556=_0x1d86ca==null?void 0x0:_0x1d86ca[_0x4575f8(0x1c7)])!=null?_0x3d9556:_0x54ad25)!=null?_0x1999ff:_0x305e07;}};_0xc22030=_0x32e079([_0x1d55f9(0x0,_0x38eb38[_0x1e523d(0x442)]),_0x1d55f9(0x1,_0x38eb38[_0x1e523d(0x20f)](_0x4dd461[_0x1e523d(0x374)])),_0x1d55f9(0x2,_0x38eb38['Inject'](_0x38eb38[_0x1e523d(0x4aa)]))],_0xc22030);var _0x654a3e=Object[_0x1e523d(0x4a8)],_0x449257=(_0x2ab357,_0x3c1fc6,_0x3c391b,_0x40ccb2)=>{var _0x2fe212=_0x1e523d;for(var _0x107647=_0x40ccb2>0x1?void 0x0:_0x40ccb2?_0x654a3e(_0x3c1fc6,_0x3c391b):_0x3c1fc6,_0x6fda7d=_0x2ab357[_0x2fe212(0x254)]-0x1,_0x28be44;_0x6fda7d>=0x0;_0x6fda7d--)(_0x28be44=_0x2ab357[_0x6fda7d])&&(_0x107647=_0x28be44(_0x107647)||_0x107647);return _0x107647;},_0x385741=(_0x191108,_0x2b1546)=>(_0x5047d1,_0x14a74f)=>_0x2b1546(_0x5047d1,_0x14a74f,_0x191108);const _0x1ede6d=_0x1e523d(0x50a),_0x3adcac=_0x1e523d(0x4be);_0x386c41[_0x1e523d(0x490)]=class extends _0x38eb38[_0x1e523d(0x341)]{constructor(_0x51b895,_0x2347ff){var _0xa1bbb=_0x1e523d;super(),this['_HTTPService']=_0x51b895,this[_0xa1bbb(0x462)]=_0x2347ff,this[_0xa1bbb(0x36a)]();}[_0x1e523d(0x36a)](){var _0xbb69ba=_0x1e523d;const _0x1f7cf8=this;this[_0xbb69ba(0x3b4)](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x4dd461[_0xbb69ba(0x27b)]({'isMatch'(_0x385cbc){var _0x551814=_0xbb69ba,_0x41fe22;if(_0x385cbc[_0x551814(0x484)]===_0x551814(0x206)&&((_0x41fe22=_0x385cbc[_0x551814(0x4ac)])!=null&&_0x41fe22[_0x551814(0x364)])){const {objectID:_0x4e5ec3,objectType:_0x178e91}=_0x385cbc['requestParams'][_0x551814(0x364)]||{};if(!_0x4e5ec3||_0x178e91===void 0x0)return!0x1;const _0x57dbee=_0x1f7cf8[_0x551814(0x384)]()+'/'+_0x178e91+_0x551814(0x4ad)+_0x4e5ec3+_0x551814(0x390);if(_0x385cbc[_0x551814(0x273)]===_0x57dbee)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x91c54f){var _0x1863ee=_0xbb69ba,_0x19b4b2;return(_0x19b4b2=_0x91c54f['requestParams'])==null?void 0x0:_0x19b4b2[_0x1863ee(0x364)];},'mergeParamsToRequest'(_0x4e4605,_0x14ce7f){var _0x3f79ec=_0xbb69ba;const _0x13214d=_0x1f7cf8['_getAPIPrefixPath']()+'/-/object/-/batch_allowed',_0x1c6b25=_0x4e4605['reduce']((_0xa82766,_0x182b31)=>{var _0x2e7d72=_0x2e4c;const {unitID:_0x123726,objectID:_0x9e1376,objectType:_0x4f50d1,actions:_0x473ca3}=_0x182b31;return _0xa82766[_0x123726]||(_0xa82766[_0x123726]={}),_0xa82766[_0x123726][_0x9e1376]||(_0xa82766[_0x123726][_0x9e1376]={'objectID':_0x9e1376,'objectType':_0x4f50d1,'actions':[]}),_0xa82766[_0x123726][_0x9e1376][_0x2e7d72(0x4f1)][_0x2e7d72(0x1f2)](..._0x473ca3),_0xa82766;},{}),_0x628d7f=[];for(const _0xf86da8 in _0x1c6b25)for(const _0x508552 in _0x1c6b25[_0xf86da8]){const {actions:_0x3bcb78,objectType:_0x2d27e3}=_0x1c6b25[_0xf86da8][_0x508552],_0x5c1c15=[...new Set(_0x3bcb78)];_0x628d7f[_0x3f79ec(0x1f2)]({'unitID':_0xf86da8,'objectID':_0x508552,'objectType':_0x2d27e3,'actions':_0x5c1c15});}return new _0x4dd461['HTTPRequest'](_0x3f79ec(0x206),_0x13214d,{'headers':_0x14ce7f[_0x3f79ec(0x41b)],'withCredentials':_0x14ce7f[_0x3f79ec(0x4c9)],'responseType':_0x14ce7f[_0x3f79ec(0x375)],'body':{'requests':_0x628d7f}});}},{'distributeResult'(_0x466c0a,_0x2b1a24){const {objectActions:_0x20b5f6}=_0x466c0a;return _0x2b1a24['map'](_0x39f843=>{var _0x1baf39=_0x2e4c;const {unitID:_0x5b316a,objectID:_0x38cb04,actions:_0x174c08}=_0x39f843,_0x56f8a1=_0x20b5f6[_0x1baf39(0x4ae)](_0x1d4e21=>_0x1d4e21[_0x1baf39(0x2d8)]===_0x5b316a&&_0x1d4e21[_0x1baf39(0x458)]===_0x38cb04),_0x10ccf1=_0x174c08[_0x1baf39(0x404)](_0x3c984f=>_0x56f8a1==null?void 0x0:_0x56f8a1[_0x1baf39(0x4f1)][_0x1baf39(0x4ae)](_0x1e51e6=>_0x1e51e6[_0x1baf39(0x478)]===_0x3c984f))[_0x1baf39(0x227)](_0x5260b0=>!!_0x5260b0);return{'config':_0x39f843,'result':{'actions':_0x10ccf1,'error':_0x466c0a['error']}};});}})}));}[_0x1e523d(0x384)](){var _0x44dd8c=_0x1e523d,_0x20f9fc,_0x32f175;const _0x1b2e6f=this[_0x44dd8c(0x462)][_0x44dd8c(0x508)](_0x1ede6d),_0xc6cf3c=this['_configService'][_0x44dd8c(0x508)](_0x10421d);return(_0x32f175=(_0x20f9fc=_0xc6cf3c==null?void 0x0:_0xc6cf3c[_0x44dd8c(0x3a8)])!=null?_0x20f9fc:_0x1b2e6f)!=null?_0x32f175:_0x3adcac;}async['create'](_0x2347e3){var _0x46f311=_0x1e523d;const _0x403b4a=this[_0x46f311(0x384)]()+'/'+_0x2347e3[_0x46f311(0x327)]+_0x46f311(0x432);return(await this[_0x46f311(0x243)][_0x46f311(0x3fe)](_0x403b4a,{'body':_0x2347e3}))[_0x46f311(0x364)]['objectID']||'';}async[_0x1e523d(0x2c7)](_0x551367){var _0x5ca74e=_0x1e523d;const _0x3141e9=this[_0x5ca74e(0x384)]()+'/-/object/list';return(await this[_0x5ca74e(0x243)]['post'](_0x3141e9,{'body':_0x551367}))['body'][_0x5ca74e(0x1c2)];}async[_0x1e523d(0x4f4)](_0x35a06e){var _0x59645c=_0x1e523d,_0x258168,_0x22e383;const _0x207d11=this['_getAPIPrefixPath']()+'/'+_0x35a06e[_0x59645c(0x327)]+_0x59645c(0x4ad)+_0x35a06e[_0x59645c(0x458)],_0x2cd559=await this[_0x59645c(0x243)][_0x59645c(0x3bf)](_0x207d11,{'body':_0x35a06e});if(((_0x22e383=(_0x258168=_0x2cd559==null?void 0x0:_0x2cd559[_0x59645c(0x364)])==null?void 0x0:_0x258168[_0x59645c(0x450)])==null?void 0x0:_0x22e383[_0x59645c(0x1c5)])!==0x1)throw new Error(_0x59645c(0x3ca));}async[_0x1e523d(0x29a)](_0x27aa00){var _0x42f6be=_0x1e523d;const _0x5c1a3d=this[_0x42f6be(0x384)]()+'/'+_0x27aa00[_0x42f6be(0x327)]+_0x42f6be(0x4ad)+_0x27aa00['objectID']+_0x42f6be(0x390);return(await this['_HTTPService'][_0x42f6be(0x3fe)](_0x5c1a3d,{'body':_0x27aa00}))['body'][_0x42f6be(0x4f1)];}async[_0x1e523d(0x449)](_0x3ce960){var _0x3d2c9b=_0x1e523d;const _0x58a4fb=this[_0x3d2c9b(0x384)]()+'/-/object/-/batch_allowed';return(await this[_0x3d2c9b(0x243)][_0x3d2c9b(0x3fe)](_0x58a4fb,{'body':{'requests':_0x3ce960}}))['body']['objectActions'];}async[_0x1e523d(0x315)](_0x411367){var _0x80bdc8=_0x1e523d;const _0x1a1397=this[_0x80bdc8(0x384)]()+'/'+_0x411367[_0x80bdc8(0x327)]+'/role',_0x55da23=await this['_HTTPService'][_0x80bdc8(0x3fe)](_0x1a1397,{'body':_0x411367});return{'roles':_0x55da23[_0x80bdc8(0x364)][_0x80bdc8(0x476)],'actions':_0x55da23['body'][_0x80bdc8(0x4f1)]};}async['deleteCollaborator'](_0x3c2052){var _0x46ad4f=_0x1e523d;const _0x3d6d6b=this[_0x46ad4f(0x384)]()+_0x46ad4f(0x53d);await this[_0x46ad4f(0x243)][_0x46ad4f(0x3b5)](_0x3d6d6b,{'params':{'collaboratorID':_0x3c2052[_0x46ad4f(0x348)],'objectID':_0x3c2052[_0x46ad4f(0x458)],'unitID':_0x3c2052[_0x46ad4f(0x2d8)]}});}async['updateCollaborator'](_0x52b750){var _0x5de0bd=_0x1e523d;const _0x4fc908=this[_0x5de0bd(0x384)]()+_0x5de0bd(0x53d);await this[_0x5de0bd(0x243)][_0x5de0bd(0x380)](_0x4fc908,{'body':_0x52b750});}async['createCollaborator'](_0x2b9a2c){var _0x42b182=_0x1e523d;const _0x8d94b7=this[_0x42b182(0x384)]()+_0x42b182(0x53d);await this['_HTTPService'][_0x42b182(0x3fe)](_0x8d94b7,{'body':_0x2b9a2c});}async[_0x1e523d(0x1d0)](_0x3e5128){var _0x80d7ac=_0x1e523d;const _0x1782bf=this['_getAPIPrefixPath']()+_0x80d7ac(0x53d);return(await this[_0x80d7ac(0x243)][_0x80d7ac(0x239)](_0x1782bf,{'params':{'objectID':_0x3e5128[_0x80d7ac(0x458)],'unitID':_0x3e5128[_0x80d7ac(0x2d8)]}}))[_0x80d7ac(0x364)]['collaborators'];}async[_0x1e523d(0x338)](_0x518e81){var _0x10950c=_0x1e523d;const _0x1446e0=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x10950c(0x243)][_0x10950c(0x3bf)](_0x1446e0,{'body':_0x518e81});}},_0x386c41['AuthzIoHttpService']=_0x449257([_0x385741(0x0,_0x38eb38[_0x1e523d(0x20f)](_0x4dd461[_0x1e523d(0x374)])),_0x385741(0x1,_0x38eb38['Inject'](_0x38eb38['IConfigService']))],_0x386c41[_0x1e523d(0x490)]);var _0x3961df=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x3474c3(_0x5400b7){var _0x615192=_0x1e523d;return _0x5400b7&&_0x5400b7[_0x615192(0x51b)]&&Object[_0x615192(0x2bc)]['hasOwnProperty'][_0x615192(0x20c)](_0x5400b7,_0x615192(0x4fe))?_0x5400b7[_0x615192(0x4fe)]:_0x5400b7;}var _0x2c8826={'exports':{}};function _0x21169c(_0x1f6f40){var _0x50828d=_0x1e523d;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x1f6f40+_0x50828d(0x2fc));}var _0x3db9af={'exports':{}},_0x283f58=_0x3db9af['exports'],_0x1f8119;function _0x2a4df4(){return _0x1f8119||(_0x1f8119=0x1,function(_0x490a33,_0x69a66a){(function(_0x447c46,_0x1bbd72){var _0x743e3b=_0x2e4c;_0x490a33[_0x743e3b(0x425)]=_0x1bbd72();}(_0x283f58,function(){var _0x47e71c=_0x47e71c||function(_0x4f45e1,_0x1cb4b6){var _0x52a18f=_0x2e4c,_0x4b1e52;if(typeof window<'u'&&window['crypto']&&(_0x4b1e52=window[_0x52a18f(0x1ba)]),typeof self<'u'&&self[_0x52a18f(0x1ba)]&&(_0x4b1e52=self['crypto']),typeof globalThis<'u'&&globalThis[_0x52a18f(0x1ba)]&&(_0x4b1e52=globalThis[_0x52a18f(0x1ba)]),!_0x4b1e52&&typeof window<'u'&&window['msCrypto']&&(_0x4b1e52=window[_0x52a18f(0x229)]),!_0x4b1e52&&typeof _0x3961df<'u'&&_0x3961df['crypto']&&(_0x4b1e52=_0x3961df[_0x52a18f(0x1ba)]),!_0x4b1e52&&typeof _0x21169c=='function')try{_0x4b1e52=require(_0x52a18f(0x1ba));}catch{}var _0x564a6e=function(){var _0x286af4=_0x52a18f;if(_0x4b1e52){if(typeof _0x4b1e52[_0x286af4(0x394)]==_0x286af4(0x51c))try{return _0x4b1e52[_0x286af4(0x394)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4b1e52[_0x286af4(0x474)]=='function')try{return _0x4b1e52[_0x286af4(0x474)](0x4)[_0x286af4(0x438)]();}catch{}}throw new Error(_0x286af4(0x26e));},_0x40b54e=Object['create']||(function(){function _0x99ebcf(){}return function(_0x1a1ba4){var _0x5b1a21=_0x2e4c,_0x60d57f;return _0x99ebcf[_0x5b1a21(0x2bc)]=_0x1a1ba4,_0x60d57f=new _0x99ebcf(),_0x99ebcf['prototype']=null,_0x60d57f;};}()),_0x368989={},_0x11a2de=_0x368989[_0x52a18f(0x270)]={},_0x5a9a2a=_0x11a2de[_0x52a18f(0x281)]=(function(){return{'extend':function(_0x1e1004){var _0x3b9740=_0x2e4c,_0x3cce80=_0x40b54e(this);return _0x1e1004&&_0x3cce80[_0x3b9740(0x4a9)](_0x1e1004),(!_0x3cce80['hasOwnProperty']('init')||this[_0x3b9740(0x233)]===_0x3cce80[_0x3b9740(0x233)])&&(_0x3cce80[_0x3b9740(0x233)]=function(){var _0x11893a=_0x3b9740;_0x3cce80['$super'][_0x11893a(0x233)][_0x11893a(0x386)](this,arguments);}),_0x3cce80['init'][_0x3b9740(0x2bc)]=_0x3cce80,_0x3cce80[_0x3b9740(0x300)]=this,_0x3cce80;},'create':function(){var _0x17db18=_0x2e4c,_0x4fab99=this[_0x17db18(0x30b)]();return _0x4fab99['init'][_0x17db18(0x386)](_0x4fab99,arguments),_0x4fab99;},'init':function(){},'mixIn':function(_0x321af5){var _0x49a2e3=_0x2e4c;for(var _0x2f04f7 in _0x321af5)_0x321af5[_0x49a2e3(0x1f8)](_0x2f04f7)&&(this[_0x2f04f7]=_0x321af5[_0x2f04f7]);_0x321af5[_0x49a2e3(0x1f8)]('toString')&&(this[_0x49a2e3(0x530)]=_0x321af5[_0x49a2e3(0x530)]);},'clone':function(){var _0x5ee27f=_0x2e4c;return this[_0x5ee27f(0x233)]['prototype'][_0x5ee27f(0x30b)](this);}};}()),_0x4ac71d=_0x11a2de[_0x52a18f(0x1e0)]=_0x5a9a2a[_0x52a18f(0x30b)]({'init':function(_0x213e91,_0x2da648){var _0x247b6b=_0x52a18f;_0x213e91=this[_0x247b6b(0x21c)]=_0x213e91||[],_0x2da648!=_0x1cb4b6?this[_0x247b6b(0x1d3)]=_0x2da648:this[_0x247b6b(0x1d3)]=_0x213e91['length']*0x4;},'toString':function(_0xd3760a){var _0x3b7e72=_0x52a18f;return(_0xd3760a||_0x356723)[_0x3b7e72(0x53c)](this);},'concat':function(_0x27a129){var _0x4944d4=_0x52a18f,_0x1e2e2e=this['words'],_0x343ce5=_0x27a129[_0x4944d4(0x21c)],_0x18a12a=this[_0x4944d4(0x1d3)],_0x138475=_0x27a129[_0x4944d4(0x1d3)];if(this[_0x4944d4(0x4bd)](),_0x18a12a%0x4)for(var _0x2e21c1=0x0;_0x2e21c1<_0x138475;_0x2e21c1++){var _0xe355af=_0x343ce5[_0x2e21c1>>>0x2]>>>0x18-_0x2e21c1%0x4*0x8&0xff;_0x1e2e2e[_0x18a12a+_0x2e21c1>>>0x2]|=_0xe355af<<0x18-(_0x18a12a+_0x2e21c1)%0x4*0x8;}else{for(var _0x4668b3=0x0;_0x4668b3<_0x138475;_0x4668b3+=0x4)_0x1e2e2e[_0x18a12a+_0x4668b3>>>0x2]=_0x343ce5[_0x4668b3>>>0x2];}return this[_0x4944d4(0x1d3)]+=_0x138475,this;},'clamp':function(){var _0x1080de=_0x52a18f,_0x19cec4=this[_0x1080de(0x21c)],_0x5cfc7a=this[_0x1080de(0x1d3)];_0x19cec4[_0x5cfc7a>>>0x2]&=0xffffffff<<0x20-_0x5cfc7a%0x4*0x8,_0x19cec4[_0x1080de(0x254)]=_0x4f45e1[_0x1080de(0x2ba)](_0x5cfc7a/0x4);},'clone':function(){var _0x16d0c7=_0x52a18f,_0x5085ec=_0x5a9a2a[_0x16d0c7(0x2d4)][_0x16d0c7(0x20c)](this);return _0x5085ec[_0x16d0c7(0x21c)]=this[_0x16d0c7(0x21c)][_0x16d0c7(0x33f)](0x0),_0x5085ec;},'random':function(_0x4bb7da){var _0x5c8a08=_0x52a18f;for(var _0x50b25b=[],_0x5bd69b=0x0;_0x5bd69b<_0x4bb7da;_0x5bd69b+=0x4)_0x50b25b[_0x5c8a08(0x1f2)](_0x564a6e());return new _0x4ac71d[(_0x5c8a08(0x233))](_0x50b25b,_0x4bb7da);}}),_0x386dbc=_0x368989[_0x52a18f(0x207)]={},_0x356723=_0x386dbc[_0x52a18f(0x513)]={'stringify':function(_0x19e74b){var _0x3b7302=_0x52a18f;for(var _0x38e647=_0x19e74b['words'],_0xf84a0d=_0x19e74b[_0x3b7302(0x1d3)],_0x3d7be6=[],_0x566e6b=0x0;_0x566e6b<_0xf84a0d;_0x566e6b++){var _0x4d1e30=_0x38e647[_0x566e6b>>>0x2]>>>0x18-_0x566e6b%0x4*0x8&0xff;_0x3d7be6[_0x3b7302(0x1f2)]((_0x4d1e30>>>0x4)['toString'](0x10)),_0x3d7be6[_0x3b7302(0x1f2)]((_0x4d1e30&0xf)['toString'](0x10));}return _0x3d7be6[_0x3b7302(0x4b5)]('');},'parse':function(_0x42e252){var _0x5a9463=_0x52a18f;for(var _0x3f9aca=_0x42e252['length'],_0x2f4dcc=[],_0x43f22=0x0;_0x43f22<_0x3f9aca;_0x43f22+=0x2)_0x2f4dcc[_0x43f22>>>0x3]|=parseInt(_0x42e252[_0x5a9463(0x4c5)](_0x43f22,0x2),0x10)<<0x18-_0x43f22%0x8*0x4;return new _0x4ac71d['init'](_0x2f4dcc,_0x3f9aca/0x2);}},_0x1ec103=_0x386dbc['Latin1']={'stringify':function(_0x46e752){var _0x1cca89=_0x52a18f;for(var _0x49c9fc=_0x46e752[_0x1cca89(0x21c)],_0x5ca9b8=_0x46e752[_0x1cca89(0x1d3)],_0x307cb9=[],_0xd4c6ce=0x0;_0xd4c6ce<_0x5ca9b8;_0xd4c6ce++){var _0x235ee3=_0x49c9fc[_0xd4c6ce>>>0x2]>>>0x18-_0xd4c6ce%0x4*0x8&0xff;_0x307cb9[_0x1cca89(0x1f2)](String[_0x1cca89(0x475)](_0x235ee3));}return _0x307cb9[_0x1cca89(0x4b5)]('');},'parse':function(_0x18958){var _0x245759=_0x52a18f;for(var _0x4d6562=_0x18958[_0x245759(0x254)],_0x256cf7=[],_0x25d61c=0x0;_0x25d61c<_0x4d6562;_0x25d61c++)_0x256cf7[_0x25d61c>>>0x2]|=(_0x18958[_0x245759(0x381)](_0x25d61c)&0xff)<<0x18-_0x25d61c%0x4*0x8;return new _0x4ac71d[(_0x245759(0x233))](_0x256cf7,_0x4d6562);}},_0x24ebbc=_0x386dbc['Utf8']={'stringify':function(_0x4f1321){var _0x341cba=_0x52a18f;try{return decodeURIComponent(escape(_0x1ec103['stringify'](_0x4f1321)));}catch{throw new Error(_0x341cba(0x36e));}},'parse':function(_0x1755fe){var _0xcbe01e=_0x52a18f;return _0x1ec103[_0xcbe01e(0x43a)](unescape(encodeURIComponent(_0x1755fe)));}},_0x3efc98=_0x11a2de['BufferedBlockAlgorithm']=_0x5a9a2a[_0x52a18f(0x30b)]({'reset':function(){var _0x4e3e63=_0x52a18f;this['_data']=new _0x4ac71d[(_0x4e3e63(0x233))](),this[_0x4e3e63(0x3c9)]=0x0;},'_append':function(_0x1477d0){var _0x3a74a1=_0x52a18f;typeof _0x1477d0=='string'&&(_0x1477d0=_0x24ebbc[_0x3a74a1(0x43a)](_0x1477d0)),this[_0x3a74a1(0x286)]['concat'](_0x1477d0),this[_0x3a74a1(0x3c9)]+=_0x1477d0[_0x3a74a1(0x1d3)];},'_process':function(_0x2cbd91){var _0x2ca169=_0x52a18f,_0xd763a9,_0x315dd7=this[_0x2ca169(0x286)],_0x3d7dab=_0x315dd7[_0x2ca169(0x21c)],_0x1effd2=_0x315dd7[_0x2ca169(0x1d3)],_0x16cfb2=this['blockSize'],_0x229f82=_0x16cfb2*0x4,_0x514a2a=_0x1effd2/_0x229f82;_0x2cbd91?_0x514a2a=_0x4f45e1[_0x2ca169(0x2ba)](_0x514a2a):_0x514a2a=_0x4f45e1[_0x2ca169(0x421)]((_0x514a2a|0x0)-this['_minBufferSize'],0x0);var _0x4b2d50=_0x514a2a*_0x16cfb2,_0x358629=_0x4f45e1[_0x2ca169(0x47a)](_0x4b2d50*0x4,_0x1effd2);if(_0x4b2d50){for(var _0x55f6b1=0x0;_0x55f6b1<_0x4b2d50;_0x55f6b1+=_0x16cfb2)this[_0x2ca169(0x39a)](_0x3d7dab,_0x55f6b1);_0xd763a9=_0x3d7dab[_0x2ca169(0x3fd)](0x0,_0x4b2d50),_0x315dd7[_0x2ca169(0x1d3)]-=_0x358629;}return new _0x4ac71d[(_0x2ca169(0x233))](_0xd763a9,_0x358629);},'clone':function(){var _0xca0ef8=_0x52a18f,_0x3f5111=_0x5a9a2a[_0xca0ef8(0x2d4)][_0xca0ef8(0x20c)](this);return _0x3f5111[_0xca0ef8(0x286)]=this['_data'][_0xca0ef8(0x2d4)](),_0x3f5111;},'_minBufferSize':0x0});_0x11a2de[_0x52a18f(0x23e)]=_0x3efc98[_0x52a18f(0x30b)]({'cfg':_0x5a9a2a[_0x52a18f(0x30b)](),'init':function(_0x2af037){var _0x4a4051=_0x52a18f;this['cfg']=this[_0x4a4051(0x1e7)][_0x4a4051(0x30b)](_0x2af037),this['reset']();},'reset':function(){var _0x374378=_0x52a18f;_0x3efc98['reset'][_0x374378(0x20c)](this),this[_0x374378(0x24b)]();},'update':function(_0x5bd06d){var _0x1d39b4=_0x52a18f;return this[_0x1d39b4(0x456)](_0x5bd06d),this['_process'](),this;},'finalize':function(_0x4d88c4){var _0x5dfb28=_0x52a18f;_0x4d88c4&&this[_0x5dfb28(0x456)](_0x4d88c4);var _0x4ba005=this['_doFinalize']();return _0x4ba005;},'blockSize':0x10,'_createHelper':function(_0x146f5c){return function(_0x516087,_0xabd899){var _0x72722f=_0x2e4c;return new _0x146f5c['init'](_0xabd899)[_0x72722f(0x41f)](_0x516087);};},'_createHmacHelper':function(_0x482e02){return function(_0x23dd1b,_0x1d4df7){var _0x41a820=_0x2e4c;return new _0x296c12['HMAC'][(_0x41a820(0x233))](_0x482e02,_0x1d4df7)['finalize'](_0x23dd1b);};}});var _0x296c12=_0x368989[_0x52a18f(0x427)]={};return _0x368989;}(Math);return _0x47e71c;}));}(_0x3db9af)),_0x3db9af['exports'];}var _0x231e44={'exports':{}},_0x43996f=_0x231e44[_0x1e523d(0x425)],_0x164825;function _0x3ccf54(){var _0x11722b=_0x1e523d;return _0x164825||(_0x164825=0x1,function(_0x310ac3,_0x508c62){(function(_0x1fb013,_0x261373){var _0x2b3b22=_0x2e4c;_0x310ac3[_0x2b3b22(0x425)]=_0x261373(_0x2a4df4());}(_0x43996f,function(_0x29b947){var _0x4d870c=_0x2e4c;return(function(){var _0x43b52a=_0x2e4c,_0x352544=_0x29b947,_0x123d17=_0x352544['lib'],_0x275e4e=_0x123d17['WordArray'],_0x4ee831=_0x352544['enc'];_0x4ee831[_0x43b52a(0x522)]={'stringify':function(_0x205888){var _0x17244f=_0x43b52a,_0x5b7858=_0x205888[_0x17244f(0x21c)],_0x40bf40=_0x205888[_0x17244f(0x1d3)],_0x5a4281=this[_0x17244f(0x4df)];_0x205888[_0x17244f(0x4bd)]();for(var _0x2ca28d=[],_0x312589=0x0;_0x312589<_0x40bf40;_0x312589+=0x3)for(var _0x103216=_0x5b7858[_0x312589>>>0x2]>>>0x18-_0x312589%0x4*0x8&0xff,_0x3a87d7=_0x5b7858[_0x312589+0x1>>>0x2]>>>0x18-(_0x312589+0x1)%0x4*0x8&0xff,_0x423f49=_0x5b7858[_0x312589+0x2>>>0x2]>>>0x18-(_0x312589+0x2)%0x4*0x8&0xff,_0x137b63=_0x103216<<0x10|_0x3a87d7<<0x8|_0x423f49,_0x4e3cd9=0x0;_0x4e3cd9<0x4&&_0x312589+_0x4e3cd9*0.75<_0x40bf40;_0x4e3cd9++)_0x2ca28d['push'](_0x5a4281[_0x17244f(0x20e)](_0x137b63>>>0x6*(0x3-_0x4e3cd9)&0x3f));var _0x5aa407=_0x5a4281[_0x17244f(0x20e)](0x40);if(_0x5aa407){for(;_0x2ca28d[_0x17244f(0x254)]%0x4;)_0x2ca28d[_0x17244f(0x1f2)](_0x5aa407);}return _0x2ca28d[_0x17244f(0x4b5)]('');},'parse':function(_0x21a302){var _0x31ad4e=_0x43b52a,_0x14e40e=_0x21a302[_0x31ad4e(0x254)],_0x126f50=this[_0x31ad4e(0x4df)],_0x288a45=this[_0x31ad4e(0x4d0)];if(!_0x288a45){_0x288a45=this[_0x31ad4e(0x4d0)]=[];for(var _0x5c3a80=0x0;_0x5c3a80<_0x126f50[_0x31ad4e(0x254)];_0x5c3a80++)_0x288a45[_0x126f50[_0x31ad4e(0x381)](_0x5c3a80)]=_0x5c3a80;}var _0x593740=_0x126f50['charAt'](0x40);if(_0x593740){var _0x420477=_0x21a302[_0x31ad4e(0x2a6)](_0x593740);_0x420477!==-0x1&&(_0x14e40e=_0x420477);}return _0x56692c(_0x21a302,_0x14e40e,_0x288a45);},'_map':_0x43b52a(0x4ea)};function _0x56692c(_0x1839f7,_0x2804f9,_0x59f315){var _0x184686=_0x43b52a;for(var _0x3f8f62=[],_0x2f843f=0x0,_0x21db9f=0x0;_0x21db9f<_0x2804f9;_0x21db9f++)if(_0x21db9f%0x4){var _0x535a5e=_0x59f315[_0x1839f7['charCodeAt'](_0x21db9f-0x1)]<<_0x21db9f%0x4*0x2,_0x3e9134=_0x59f315[_0x1839f7[_0x184686(0x381)](_0x21db9f)]>>>0x6-_0x21db9f%0x4*0x2,_0x1ef5e7=_0x535a5e|_0x3e9134;_0x3f8f62[_0x2f843f>>>0x2]|=_0x1ef5e7<<0x18-_0x2f843f%0x4*0x8,_0x2f843f++;}return _0x275e4e[_0x184686(0x31d)](_0x3f8f62,_0x2f843f);}}()),_0x29b947[_0x4d870c(0x207)][_0x4d870c(0x522)];}));}(_0x231e44)),_0x231e44[_0x11722b(0x425)];}var _0x30b9d8={'exports':{}},_0xf81c9f=_0x30b9d8['exports'],_0x2d8195;function _0x15d503(){var _0x2cac44=_0x1e523d;return _0x2d8195||(_0x2d8195=0x1,function(_0xc4b36f,_0x4bfa67){(function(_0x22bd89,_0x548e7f){_0xc4b36f['exports']=_0x548e7f(_0x2a4df4());}(_0xf81c9f,function(_0x4f71f4){var _0x5d5064=_0x2e4c;return function(_0x299f9e){var _0x226a3d=_0x2e4c,_0x300a32=_0x4f71f4,_0x162578=_0x300a32[_0x226a3d(0x270)],_0x29f04e=_0x162578[_0x226a3d(0x1e0)],_0x5dbbee=_0x162578[_0x226a3d(0x23e)],_0x2bdb64=_0x300a32['algo'],_0x1d766a=[];(function(){var _0x410249=_0x226a3d;for(var _0x72d860=0x0;_0x72d860<0x40;_0x72d860++)_0x1d766a[_0x72d860]=_0x299f9e[_0x410249(0x21a)](_0x299f9e[_0x410249(0x335)](_0x72d860+0x1))*0x100000000|0x0;}());var _0x396b10=_0x2bdb64[_0x226a3d(0x50d)]=_0x5dbbee[_0x226a3d(0x30b)]({'_doReset':function(){var _0x4f5d12=_0x226a3d;this[_0x4f5d12(0x41c)]=new _0x29f04e[(_0x4f5d12(0x233))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x536f7b,_0x2b5a73){var _0x2a60e8=_0x226a3d;for(var _0x285c35=0x0;_0x285c35<0x10;_0x285c35++){var _0x538f8d=_0x2b5a73+_0x285c35,_0x2717f0=_0x536f7b[_0x538f8d];_0x536f7b[_0x538f8d]=(_0x2717f0<<0x8|_0x2717f0>>>0x18)&0xff00ff|(_0x2717f0<<0x18|_0x2717f0>>>0x8)&0xff00ff00;}var _0x3b371e=this[_0x2a60e8(0x41c)][_0x2a60e8(0x21c)],_0x2bcb25=_0x536f7b[_0x2b5a73+0x0],_0x4e11db=_0x536f7b[_0x2b5a73+0x1],_0x19ec63=_0x536f7b[_0x2b5a73+0x2],_0x53eb30=_0x536f7b[_0x2b5a73+0x3],_0x343e15=_0x536f7b[_0x2b5a73+0x4],_0x57f8fc=_0x536f7b[_0x2b5a73+0x5],_0xf416cb=_0x536f7b[_0x2b5a73+0x6],_0x5aaadc=_0x536f7b[_0x2b5a73+0x7],_0x1602ce=_0x536f7b[_0x2b5a73+0x8],_0x49b5a4=_0x536f7b[_0x2b5a73+0x9],_0x33c00e=_0x536f7b[_0x2b5a73+0xa],_0x5cc963=_0x536f7b[_0x2b5a73+0xb],_0x450ac5=_0x536f7b[_0x2b5a73+0xc],_0x3c3173=_0x536f7b[_0x2b5a73+0xd],_0x412147=_0x536f7b[_0x2b5a73+0xe],_0x157586=_0x536f7b[_0x2b5a73+0xf],_0x34cb95=_0x3b371e[0x0],_0x57bda1=_0x3b371e[0x1],_0x774fb6=_0x3b371e[0x2],_0xa84947=_0x3b371e[0x3];_0x34cb95=_0x24429e(_0x34cb95,_0x57bda1,_0x774fb6,_0xa84947,_0x2bcb25,0x7,_0x1d766a[0x0]),_0xa84947=_0x24429e(_0xa84947,_0x34cb95,_0x57bda1,_0x774fb6,_0x4e11db,0xc,_0x1d766a[0x1]),_0x774fb6=_0x24429e(_0x774fb6,_0xa84947,_0x34cb95,_0x57bda1,_0x19ec63,0x11,_0x1d766a[0x2]),_0x57bda1=_0x24429e(_0x57bda1,_0x774fb6,_0xa84947,_0x34cb95,_0x53eb30,0x16,_0x1d766a[0x3]),_0x34cb95=_0x24429e(_0x34cb95,_0x57bda1,_0x774fb6,_0xa84947,_0x343e15,0x7,_0x1d766a[0x4]),_0xa84947=_0x24429e(_0xa84947,_0x34cb95,_0x57bda1,_0x774fb6,_0x57f8fc,0xc,_0x1d766a[0x5]),_0x774fb6=_0x24429e(_0x774fb6,_0xa84947,_0x34cb95,_0x57bda1,_0xf416cb,0x11,_0x1d766a[0x6]),_0x57bda1=_0x24429e(_0x57bda1,_0x774fb6,_0xa84947,_0x34cb95,_0x5aaadc,0x16,_0x1d766a[0x7]),_0x34cb95=_0x24429e(_0x34cb95,_0x57bda1,_0x774fb6,_0xa84947,_0x1602ce,0x7,_0x1d766a[0x8]),_0xa84947=_0x24429e(_0xa84947,_0x34cb95,_0x57bda1,_0x774fb6,_0x49b5a4,0xc,_0x1d766a[0x9]),_0x774fb6=_0x24429e(_0x774fb6,_0xa84947,_0x34cb95,_0x57bda1,_0x33c00e,0x11,_0x1d766a[0xa]),_0x57bda1=_0x24429e(_0x57bda1,_0x774fb6,_0xa84947,_0x34cb95,_0x5cc963,0x16,_0x1d766a[0xb]),_0x34cb95=_0x24429e(_0x34cb95,_0x57bda1,_0x774fb6,_0xa84947,_0x450ac5,0x7,_0x1d766a[0xc]),_0xa84947=_0x24429e(_0xa84947,_0x34cb95,_0x57bda1,_0x774fb6,_0x3c3173,0xc,_0x1d766a[0xd]),_0x774fb6=_0x24429e(_0x774fb6,_0xa84947,_0x34cb95,_0x57bda1,_0x412147,0x11,_0x1d766a[0xe]),_0x57bda1=_0x24429e(_0x57bda1,_0x774fb6,_0xa84947,_0x34cb95,_0x157586,0x16,_0x1d766a[0xf]),_0x34cb95=_0x55b62a(_0x34cb95,_0x57bda1,_0x774fb6,_0xa84947,_0x4e11db,0x5,_0x1d766a[0x10]),_0xa84947=_0x55b62a(_0xa84947,_0x34cb95,_0x57bda1,_0x774fb6,_0xf416cb,0x9,_0x1d766a[0x11]),_0x774fb6=_0x55b62a(_0x774fb6,_0xa84947,_0x34cb95,_0x57bda1,_0x5cc963,0xe,_0x1d766a[0x12]),_0x57bda1=_0x55b62a(_0x57bda1,_0x774fb6,_0xa84947,_0x34cb95,_0x2bcb25,0x14,_0x1d766a[0x13]),_0x34cb95=_0x55b62a(_0x34cb95,_0x57bda1,_0x774fb6,_0xa84947,_0x57f8fc,0x5,_0x1d766a[0x14]),_0xa84947=_0x55b62a(_0xa84947,_0x34cb95,_0x57bda1,_0x774fb6,_0x33c00e,0x9,_0x1d766a[0x15]),_0x774fb6=_0x55b62a(_0x774fb6,_0xa84947,_0x34cb95,_0x57bda1,_0x157586,0xe,_0x1d766a[0x16]),_0x57bda1=_0x55b62a(_0x57bda1,_0x774fb6,_0xa84947,_0x34cb95,_0x343e15,0x14,_0x1d766a[0x17]),_0x34cb95=_0x55b62a(_0x34cb95,_0x57bda1,_0x774fb6,_0xa84947,_0x49b5a4,0x5,_0x1d766a[0x18]),_0xa84947=_0x55b62a(_0xa84947,_0x34cb95,_0x57bda1,_0x774fb6,_0x412147,0x9,_0x1d766a[0x19]),_0x774fb6=_0x55b62a(_0x774fb6,_0xa84947,_0x34cb95,_0x57bda1,_0x53eb30,0xe,_0x1d766a[0x1a]),_0x57bda1=_0x55b62a(_0x57bda1,_0x774fb6,_0xa84947,_0x34cb95,_0x1602ce,0x14,_0x1d766a[0x1b]),_0x34cb95=_0x55b62a(_0x34cb95,_0x57bda1,_0x774fb6,_0xa84947,_0x3c3173,0x5,_0x1d766a[0x1c]),_0xa84947=_0x55b62a(_0xa84947,_0x34cb95,_0x57bda1,_0x774fb6,_0x19ec63,0x9,_0x1d766a[0x1d]),_0x774fb6=_0x55b62a(_0x774fb6,_0xa84947,_0x34cb95,_0x57bda1,_0x5aaadc,0xe,_0x1d766a[0x1e]),_0x57bda1=_0x55b62a(_0x57bda1,_0x774fb6,_0xa84947,_0x34cb95,_0x450ac5,0x14,_0x1d766a[0x1f]),_0x34cb95=_0x55bb73(_0x34cb95,_0x57bda1,_0x774fb6,_0xa84947,_0x57f8fc,0x4,_0x1d766a[0x20]),_0xa84947=_0x55bb73(_0xa84947,_0x34cb95,_0x57bda1,_0x774fb6,_0x1602ce,0xb,_0x1d766a[0x21]),_0x774fb6=_0x55bb73(_0x774fb6,_0xa84947,_0x34cb95,_0x57bda1,_0x5cc963,0x10,_0x1d766a[0x22]),_0x57bda1=_0x55bb73(_0x57bda1,_0x774fb6,_0xa84947,_0x34cb95,_0x412147,0x17,_0x1d766a[0x23]),_0x34cb95=_0x55bb73(_0x34cb95,_0x57bda1,_0x774fb6,_0xa84947,_0x4e11db,0x4,_0x1d766a[0x24]),_0xa84947=_0x55bb73(_0xa84947,_0x34cb95,_0x57bda1,_0x774fb6,_0x343e15,0xb,_0x1d766a[0x25]),_0x774fb6=_0x55bb73(_0x774fb6,_0xa84947,_0x34cb95,_0x57bda1,_0x5aaadc,0x10,_0x1d766a[0x26]),_0x57bda1=_0x55bb73(_0x57bda1,_0x774fb6,_0xa84947,_0x34cb95,_0x33c00e,0x17,_0x1d766a[0x27]),_0x34cb95=_0x55bb73(_0x34cb95,_0x57bda1,_0x774fb6,_0xa84947,_0x3c3173,0x4,_0x1d766a[0x28]),_0xa84947=_0x55bb73(_0xa84947,_0x34cb95,_0x57bda1,_0x774fb6,_0x2bcb25,0xb,_0x1d766a[0x29]),_0x774fb6=_0x55bb73(_0x774fb6,_0xa84947,_0x34cb95,_0x57bda1,_0x53eb30,0x10,_0x1d766a[0x2a]),_0x57bda1=_0x55bb73(_0x57bda1,_0x774fb6,_0xa84947,_0x34cb95,_0xf416cb,0x17,_0x1d766a[0x2b]),_0x34cb95=_0x55bb73(_0x34cb95,_0x57bda1,_0x774fb6,_0xa84947,_0x49b5a4,0x4,_0x1d766a[0x2c]),_0xa84947=_0x55bb73(_0xa84947,_0x34cb95,_0x57bda1,_0x774fb6,_0x450ac5,0xb,_0x1d766a[0x2d]),_0x774fb6=_0x55bb73(_0x774fb6,_0xa84947,_0x34cb95,_0x57bda1,_0x157586,0x10,_0x1d766a[0x2e]),_0x57bda1=_0x55bb73(_0x57bda1,_0x774fb6,_0xa84947,_0x34cb95,_0x19ec63,0x17,_0x1d766a[0x2f]),_0x34cb95=_0x43f2c7(_0x34cb95,_0x57bda1,_0x774fb6,_0xa84947,_0x2bcb25,0x6,_0x1d766a[0x30]),_0xa84947=_0x43f2c7(_0xa84947,_0x34cb95,_0x57bda1,_0x774fb6,_0x5aaadc,0xa,_0x1d766a[0x31]),_0x774fb6=_0x43f2c7(_0x774fb6,_0xa84947,_0x34cb95,_0x57bda1,_0x412147,0xf,_0x1d766a[0x32]),_0x57bda1=_0x43f2c7(_0x57bda1,_0x774fb6,_0xa84947,_0x34cb95,_0x57f8fc,0x15,_0x1d766a[0x33]),_0x34cb95=_0x43f2c7(_0x34cb95,_0x57bda1,_0x774fb6,_0xa84947,_0x450ac5,0x6,_0x1d766a[0x34]),_0xa84947=_0x43f2c7(_0xa84947,_0x34cb95,_0x57bda1,_0x774fb6,_0x53eb30,0xa,_0x1d766a[0x35]),_0x774fb6=_0x43f2c7(_0x774fb6,_0xa84947,_0x34cb95,_0x57bda1,_0x33c00e,0xf,_0x1d766a[0x36]),_0x57bda1=_0x43f2c7(_0x57bda1,_0x774fb6,_0xa84947,_0x34cb95,_0x4e11db,0x15,_0x1d766a[0x37]),_0x34cb95=_0x43f2c7(_0x34cb95,_0x57bda1,_0x774fb6,_0xa84947,_0x1602ce,0x6,_0x1d766a[0x38]),_0xa84947=_0x43f2c7(_0xa84947,_0x34cb95,_0x57bda1,_0x774fb6,_0x157586,0xa,_0x1d766a[0x39]),_0x774fb6=_0x43f2c7(_0x774fb6,_0xa84947,_0x34cb95,_0x57bda1,_0xf416cb,0xf,_0x1d766a[0x3a]),_0x57bda1=_0x43f2c7(_0x57bda1,_0x774fb6,_0xa84947,_0x34cb95,_0x3c3173,0x15,_0x1d766a[0x3b]),_0x34cb95=_0x43f2c7(_0x34cb95,_0x57bda1,_0x774fb6,_0xa84947,_0x343e15,0x6,_0x1d766a[0x3c]),_0xa84947=_0x43f2c7(_0xa84947,_0x34cb95,_0x57bda1,_0x774fb6,_0x5cc963,0xa,_0x1d766a[0x3d]),_0x774fb6=_0x43f2c7(_0x774fb6,_0xa84947,_0x34cb95,_0x57bda1,_0x19ec63,0xf,_0x1d766a[0x3e]),_0x57bda1=_0x43f2c7(_0x57bda1,_0x774fb6,_0xa84947,_0x34cb95,_0x49b5a4,0x15,_0x1d766a[0x3f]),_0x3b371e[0x0]=_0x3b371e[0x0]+_0x34cb95|0x0,_0x3b371e[0x1]=_0x3b371e[0x1]+_0x57bda1|0x0,_0x3b371e[0x2]=_0x3b371e[0x2]+_0x774fb6|0x0,_0x3b371e[0x3]=_0x3b371e[0x3]+_0xa84947|0x0;},'_doFinalize':function(){var _0x43f5df=_0x226a3d,_0x4786d1=this[_0x43f5df(0x286)],_0x2d5582=_0x4786d1['words'],_0x5bd560=this[_0x43f5df(0x3c9)]*0x8,_0x502560=_0x4786d1[_0x43f5df(0x1d3)]*0x8;_0x2d5582[_0x502560>>>0x5]|=0x80<<0x18-_0x502560%0x20;var _0x270f0b=_0x299f9e['floor'](_0x5bd560/0x100000000),_0x4218d8=_0x5bd560;_0x2d5582[(_0x502560+0x40>>>0x9<<0x4)+0xf]=(_0x270f0b<<0x8|_0x270f0b>>>0x18)&0xff00ff|(_0x270f0b<<0x18|_0x270f0b>>>0x8)&0xff00ff00,_0x2d5582[(_0x502560+0x40>>>0x9<<0x4)+0xe]=(_0x4218d8<<0x8|_0x4218d8>>>0x18)&0xff00ff|(_0x4218d8<<0x18|_0x4218d8>>>0x8)&0xff00ff00,_0x4786d1[_0x43f5df(0x1d3)]=(_0x2d5582[_0x43f5df(0x254)]+0x1)*0x4,this[_0x43f5df(0x240)]();for(var _0x46d972=this[_0x43f5df(0x41c)],_0x31f875=_0x46d972[_0x43f5df(0x21c)],_0x2b6eca=0x0;_0x2b6eca<0x4;_0x2b6eca++){var _0xdc6d6a=_0x31f875[_0x2b6eca];_0x31f875[_0x2b6eca]=(_0xdc6d6a<<0x8|_0xdc6d6a>>>0x18)&0xff00ff|(_0xdc6d6a<<0x18|_0xdc6d6a>>>0x8)&0xff00ff00;}return _0x46d972;},'clone':function(){var _0x483e15=_0x226a3d,_0x597477=_0x5dbbee[_0x483e15(0x2d4)]['call'](this);return _0x597477['_hash']=this[_0x483e15(0x41c)]['clone'](),_0x597477;}});function _0x24429e(_0x524083,_0x202a02,_0x551b98,_0xc21a60,_0x3c6cf7,_0x5148c3,_0x32e626){var _0x5ddc99=_0x524083+(_0x202a02&_0x551b98|~_0x202a02&_0xc21a60)+_0x3c6cf7+_0x32e626;return(_0x5ddc99<<_0x5148c3|_0x5ddc99>>>0x20-_0x5148c3)+_0x202a02;}function _0x55b62a(_0x35cfcf,_0x549e94,_0x4cbbde,_0x308483,_0x13ee9f,_0x54d03c,_0x2eb4a2){var _0x1a11cd=_0x35cfcf+(_0x549e94&_0x308483|_0x4cbbde&~_0x308483)+_0x13ee9f+_0x2eb4a2;return(_0x1a11cd<<_0x54d03c|_0x1a11cd>>>0x20-_0x54d03c)+_0x549e94;}function _0x55bb73(_0x2c21bd,_0x38b6db,_0x3da202,_0x5b10ae,_0x16410c,_0x2c4fc0,_0x3ad7ff){var _0x1cf4e1=_0x2c21bd+(_0x38b6db^_0x3da202^_0x5b10ae)+_0x16410c+_0x3ad7ff;return(_0x1cf4e1<<_0x2c4fc0|_0x1cf4e1>>>0x20-_0x2c4fc0)+_0x38b6db;}function _0x43f2c7(_0x469aee,_0x19ad9b,_0x1b87d9,_0x544e1a,_0xc724d8,_0x3797c9,_0x3e4ddb){var _0xdf0a56=_0x469aee+(_0x1b87d9^(_0x19ad9b|~_0x544e1a))+_0xc724d8+_0x3e4ddb;return(_0xdf0a56<<_0x3797c9|_0xdf0a56>>>0x20-_0x3797c9)+_0x19ad9b;}_0x300a32[_0x226a3d(0x50d)]=_0x5dbbee[_0x226a3d(0x3dd)](_0x396b10),_0x300a32[_0x226a3d(0x22b)]=_0x5dbbee[_0x226a3d(0x417)](_0x396b10);}(Math),_0x4f71f4[_0x5d5064(0x50d)];}));}(_0x30b9d8)),_0x30b9d8[_0x2cac44(0x425)];}var _0x28d6c5={'exports':{}},_0x5c5252={'exports':{}},_0x48aabd=_0x5c5252[_0x1e523d(0x425)],_0x28d377;function _0x6c59cb(){return _0x28d377||(_0x28d377=0x1,function(_0x1fb806,_0xf9ed61){(function(_0x418d09,_0x584ca6){var _0x5dd53e=_0x2e4c;_0x1fb806[_0x5dd53e(0x425)]=_0x584ca6(_0x2a4df4());}(_0x48aabd,function(_0x98be67){return(function(){var _0xce08a6=_0x2e4c,_0x451c8f=_0x98be67,_0x2ef136=_0x451c8f[_0xce08a6(0x270)],_0x41562b=_0x2ef136['WordArray'],_0x1839d7=_0x2ef136[_0xce08a6(0x23e)],_0x4279bb=_0x451c8f[_0xce08a6(0x427)],_0x564e1f=[],_0x258a87=_0x4279bb['SHA1']=_0x1839d7[_0xce08a6(0x30b)]({'_doReset':function(){var _0x16e368=_0xce08a6;this[_0x16e368(0x41c)]=new _0x41562b[(_0x16e368(0x233))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x286725,_0x4adab9){var _0x1b9518=_0xce08a6;for(var _0x328b98=this[_0x1b9518(0x41c)][_0x1b9518(0x21c)],_0x13e120=_0x328b98[0x0],_0x3e44ef=_0x328b98[0x1],_0x30515d=_0x328b98[0x2],_0x14fc1f=_0x328b98[0x3],_0x35aad0=_0x328b98[0x4],_0x5f0ef6=0x0;_0x5f0ef6<0x50;_0x5f0ef6++){if(_0x5f0ef6<0x10)_0x564e1f[_0x5f0ef6]=_0x286725[_0x4adab9+_0x5f0ef6]|0x0;else{var _0x5520a3=_0x564e1f[_0x5f0ef6-0x3]^_0x564e1f[_0x5f0ef6-0x8]^_0x564e1f[_0x5f0ef6-0xe]^_0x564e1f[_0x5f0ef6-0x10];_0x564e1f[_0x5f0ef6]=_0x5520a3<<0x1|_0x5520a3>>>0x1f;}var _0x24aca4=(_0x13e120<<0x5|_0x13e120>>>0x1b)+_0x35aad0+_0x564e1f[_0x5f0ef6];_0x5f0ef6<0x14?_0x24aca4+=(_0x3e44ef&_0x30515d|~_0x3e44ef&_0x14fc1f)+0x5a827999:_0x5f0ef6<0x28?_0x24aca4+=(_0x3e44ef^_0x30515d^_0x14fc1f)+0x6ed9eba1:_0x5f0ef6<0x3c?_0x24aca4+=(_0x3e44ef&_0x30515d|_0x3e44ef&_0x14fc1f|_0x30515d&_0x14fc1f)-0x70e44324:_0x24aca4+=(_0x3e44ef^_0x30515d^_0x14fc1f)-0x359d3e2a,_0x35aad0=_0x14fc1f,_0x14fc1f=_0x30515d,_0x30515d=_0x3e44ef<<0x1e|_0x3e44ef>>>0x2,_0x3e44ef=_0x13e120,_0x13e120=_0x24aca4;}_0x328b98[0x0]=_0x328b98[0x0]+_0x13e120|0x0,_0x328b98[0x1]=_0x328b98[0x1]+_0x3e44ef|0x0,_0x328b98[0x2]=_0x328b98[0x2]+_0x30515d|0x0,_0x328b98[0x3]=_0x328b98[0x3]+_0x14fc1f|0x0,_0x328b98[0x4]=_0x328b98[0x4]+_0x35aad0|0x0;},'_doFinalize':function(){var _0x2691b3=_0xce08a6,_0x27db08=this[_0x2691b3(0x286)],_0x4b3cf8=_0x27db08[_0x2691b3(0x21c)],_0x2f4d3e=this[_0x2691b3(0x3c9)]*0x8,_0x11fd56=_0x27db08[_0x2691b3(0x1d3)]*0x8;return _0x4b3cf8[_0x11fd56>>>0x5]|=0x80<<0x18-_0x11fd56%0x20,_0x4b3cf8[(_0x11fd56+0x40>>>0x9<<0x4)+0xe]=Math[_0x2691b3(0x418)](_0x2f4d3e/0x100000000),_0x4b3cf8[(_0x11fd56+0x40>>>0x9<<0x4)+0xf]=_0x2f4d3e,_0x27db08[_0x2691b3(0x1d3)]=_0x4b3cf8[_0x2691b3(0x254)]*0x4,this['_process'](),this['_hash'];},'clone':function(){var _0x5df816=_0xce08a6,_0x2ead5b=_0x1839d7[_0x5df816(0x2d4)][_0x5df816(0x20c)](this);return _0x2ead5b[_0x5df816(0x41c)]=this[_0x5df816(0x41c)][_0x5df816(0x2d4)](),_0x2ead5b;}});_0x451c8f[_0xce08a6(0x1bc)]=_0x1839d7[_0xce08a6(0x3dd)](_0x258a87),_0x451c8f[_0xce08a6(0x204)]=_0x1839d7[_0xce08a6(0x417)](_0x258a87);}()),_0x98be67['SHA1'];}));}(_0x5c5252)),_0x5c5252['exports'];}var _0x21ef6e={'exports':{}},_0x1dd69d=_0x21ef6e[_0x1e523d(0x425)],_0xf57891;function _0x4bb2f4(){var _0x5be053=_0x1e523d;return _0xf57891||(_0xf57891=0x1,function(_0x3c350c,_0x2cfad8){(function(_0x45d2ff,_0x547d04){var _0x3dcd77=_0x2e4c;_0x3c350c[_0x3dcd77(0x425)]=_0x547d04(_0x2a4df4());}(_0x1dd69d,function(_0x58eb5e){(function(){var _0x3676b6=_0x2e4c,_0x54622b=_0x58eb5e,_0x25d2de=_0x54622b[_0x3676b6(0x270)],_0x3317a8=_0x25d2de[_0x3676b6(0x281)],_0x341ed6=_0x54622b['enc'],_0x31f5e8=_0x341ed6[_0x3676b6(0x2ce)],_0x5938ec=_0x54622b[_0x3676b6(0x427)];_0x5938ec['HMAC']=_0x3317a8[_0x3676b6(0x30b)]({'init':function(_0x512989,_0x28a105){var _0x420c0a=_0x3676b6;_0x512989=this[_0x420c0a(0x415)]=new _0x512989[(_0x420c0a(0x233))](),typeof _0x28a105==_0x420c0a(0x29f)&&(_0x28a105=_0x31f5e8[_0x420c0a(0x43a)](_0x28a105));var _0x1e351e=_0x512989[_0x420c0a(0x2a5)],_0x555d37=_0x1e351e*0x4;_0x28a105[_0x420c0a(0x1d3)]>_0x555d37&&(_0x28a105=_0x512989['finalize'](_0x28a105)),_0x28a105['clamp']();for(var _0x4c0646=this['_oKey']=_0x28a105['clone'](),_0x15c64a=this[_0x420c0a(0x526)]=_0x28a105[_0x420c0a(0x2d4)](),_0x433178=_0x4c0646[_0x420c0a(0x21c)],_0x45a427=_0x15c64a[_0x420c0a(0x21c)],_0x10c609=0x0;_0x10c609<_0x1e351e;_0x10c609++)_0x433178[_0x10c609]^=0x5c5c5c5c,_0x45a427[_0x10c609]^=0x36363636;_0x4c0646[_0x420c0a(0x1d3)]=_0x15c64a[_0x420c0a(0x1d3)]=_0x555d37,this[_0x420c0a(0x395)]();},'reset':function(){var _0x34c417=_0x3676b6,_0x326764=this['_hasher'];_0x326764[_0x34c417(0x395)](),_0x326764[_0x34c417(0x4f4)](this[_0x34c417(0x526)]);},'update':function(_0xa1212a){var _0x1d9a56=_0x3676b6;return this[_0x1d9a56(0x415)][_0x1d9a56(0x4f4)](_0xa1212a),this;},'finalize':function(_0x3eeb09){var _0x4361fb=_0x3676b6,_0x5f4804=this[_0x4361fb(0x415)],_0x5e36b0=_0x5f4804['finalize'](_0x3eeb09);_0x5f4804[_0x4361fb(0x395)]();var _0x54bde4=_0x5f4804[_0x4361fb(0x41f)](this[_0x4361fb(0x32e)][_0x4361fb(0x2d4)]()[_0x4361fb(0x1de)](_0x5e36b0));return _0x54bde4;}});}());}));}(_0x21ef6e)),_0x21ef6e[_0x5be053(0x425)];}var _0xeb8977=_0x28d6c5[_0x1e523d(0x425)],_0x2e0d03;function _0x1a4401(){var _0x4a21e7=_0x1e523d;return _0x2e0d03||(_0x2e0d03=0x1,function(_0x4c38fb,_0x3e3868){(function(_0x23e359,_0x156aa1,_0x4df169){var _0x666c97=_0x2e4c;_0x4c38fb[_0x666c97(0x425)]=_0x156aa1(_0x2a4df4(),_0x6c59cb(),_0x4bb2f4());}(_0xeb8977,function(_0x365cdc){var _0x1b6cae=_0x2e4c;return(function(){var _0x24902a=_0x2e4c,_0x552531=_0x365cdc,_0x516c7a=_0x552531[_0x24902a(0x270)],_0x4dd0a2=_0x516c7a['Base'],_0x2101f2=_0x516c7a[_0x24902a(0x1e0)],_0x3941a4=_0x552531[_0x24902a(0x427)],_0x8dd169=_0x3941a4[_0x24902a(0x50d)],_0x371b22=_0x3941a4[_0x24902a(0x497)]=_0x4dd0a2[_0x24902a(0x30b)]({'cfg':_0x4dd0a2[_0x24902a(0x30b)]({'keySize':0x80/0x20,'hasher':_0x8dd169,'iterations':0x1}),'init':function(_0x391ea4){var _0x31137b=_0x24902a;this[_0x31137b(0x1e7)]=this['cfg'][_0x31137b(0x30b)](_0x391ea4);},'compute':function(_0x5e4654,_0x519308){var _0x495d52=_0x24902a;for(var _0x19764f,_0xfa348f=this[_0x495d52(0x1e7)],_0x529e64=_0xfa348f[_0x495d52(0x1d6)][_0x495d52(0x31d)](),_0x32c96=_0x2101f2[_0x495d52(0x31d)](),_0x502e5e=_0x32c96[_0x495d52(0x21c)],_0x41ae37=_0xfa348f['keySize'],_0x290d1c=_0xfa348f[_0x495d52(0x34a)];_0x502e5e['length']<_0x41ae37;){_0x19764f&&_0x529e64[_0x495d52(0x4f4)](_0x19764f),_0x19764f=_0x529e64[_0x495d52(0x4f4)](_0x5e4654)[_0x495d52(0x41f)](_0x519308),_0x529e64[_0x495d52(0x395)]();for(var _0x1ccf08=0x1;_0x1ccf08<_0x290d1c;_0x1ccf08++)_0x19764f=_0x529e64[_0x495d52(0x41f)](_0x19764f),_0x529e64[_0x495d52(0x395)]();_0x32c96[_0x495d52(0x1de)](_0x19764f);}return _0x32c96[_0x495d52(0x1d3)]=_0x41ae37*0x4,_0x32c96;}});_0x552531['EvpKDF']=function(_0x53ff12,_0x5dcccf,_0x2e48e7){var _0x409df3=_0x24902a;return _0x371b22[_0x409df3(0x31d)](_0x2e48e7)[_0x409df3(0x2f9)](_0x53ff12,_0x5dcccf);};}()),_0x365cdc[_0x1b6cae(0x497)];}));}(_0x28d6c5)),_0x28d6c5[_0x4a21e7(0x425)];}var _0x1070f9={'exports':{}},_0x1f6b65=_0x1070f9[_0x1e523d(0x425)],_0x9dea09;function _0x280cf0(){var _0x477439=_0x1e523d;return _0x9dea09||(_0x9dea09=0x1,function(_0x13a6bb,_0x504b1a){(function(_0x31a0a9,_0x208e5d,_0x4aef1d){_0x13a6bb['exports']=_0x208e5d(_0x2a4df4(),_0x1a4401());}(_0x1f6b65,function(_0x4cb65b){var _0x2ea40b=_0x2e4c;_0x4cb65b[_0x2ea40b(0x270)][_0x2ea40b(0x25f)]||function(_0x5a2521){var _0xec9e44=_0x2ea40b,_0x2d5917=_0x4cb65b,_0x1a11db=_0x2d5917[_0xec9e44(0x270)],_0x35b4e2=_0x1a11db[_0xec9e44(0x281)],_0x1e434d=_0x1a11db[_0xec9e44(0x1e0)],_0x49f369=_0x1a11db['BufferedBlockAlgorithm'],_0x1e7179=_0x2d5917[_0xec9e44(0x207)];_0x1e7179[_0xec9e44(0x2ce)];var _0x3354e2=_0x1e7179[_0xec9e44(0x522)],_0x6296a8=_0x2d5917[_0xec9e44(0x427)],_0x526327=_0x6296a8[_0xec9e44(0x497)],_0x115417=_0x1a11db[_0xec9e44(0x25f)]=_0x49f369[_0xec9e44(0x30b)]({'cfg':_0x35b4e2['extend'](),'createEncryptor':function(_0x2e124d,_0x8b4070){return this['create'](this['_ENC_XFORM_MODE'],_0x2e124d,_0x8b4070);},'createDecryptor':function(_0x160fdd,_0x5ad5fe){var _0x108bdd=_0xec9e44;return this[_0x108bdd(0x31d)](this['_DEC_XFORM_MODE'],_0x160fdd,_0x5ad5fe);},'init':function(_0x28e353,_0x73b5c1,_0x336031){var _0x20725b=_0xec9e44;this[_0x20725b(0x1e7)]=this['cfg'][_0x20725b(0x30b)](_0x336031),this[_0x20725b(0x505)]=_0x28e353,this[_0x20725b(0x2d9)]=_0x73b5c1,this[_0x20725b(0x395)]();},'reset':function(){var _0x5e1328=_0xec9e44;_0x49f369[_0x5e1328(0x395)][_0x5e1328(0x20c)](this),this[_0x5e1328(0x24b)]();},'process':function(_0x37a471){var _0x1cc33e=_0xec9e44;return this[_0x1cc33e(0x456)](_0x37a471),this['_process']();},'finalize':function(_0x78b5f1){var _0x90fdef=_0xec9e44;_0x78b5f1&&this[_0x90fdef(0x456)](_0x78b5f1);var _0x80cdcc=this[_0x90fdef(0x24e)]();return _0x80cdcc;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x570d0b(_0x174571){var _0x569a83=_0x2e4c;return typeof _0x174571==_0x569a83(0x29f)?_0x2ce10a:_0x7c424e;}return function(_0x468d38){return{'encrypt':function(_0xf004b,_0x41482b,_0x2553a6){return _0x570d0b(_0x41482b)['encrypt'](_0x468d38,_0xf004b,_0x41482b,_0x2553a6);},'decrypt':function(_0x1e92c9,_0x5e82eb,_0x2f7814){return _0x570d0b(_0x5e82eb)['decrypt'](_0x468d38,_0x1e92c9,_0x5e82eb,_0x2f7814);}};};}())});_0x1a11db['StreamCipher']=_0x115417[_0xec9e44(0x30b)]({'_doFinalize':function(){var _0x33f15c=_0xec9e44,_0x53612d=this[_0x33f15c(0x240)](!0x0);return _0x53612d;},'blockSize':0x1});var _0x5726f3=_0x2d5917[_0xec9e44(0x52f)]={},_0x42470d=_0x1a11db[_0xec9e44(0x4dd)]=_0x35b4e2[_0xec9e44(0x30b)]({'createEncryptor':function(_0x52b3d7,_0x4cb7a6){var _0x21aed7=_0xec9e44;return this['Encryptor'][_0x21aed7(0x31d)](_0x52b3d7,_0x4cb7a6);},'createDecryptor':function(_0x21338d,_0x457903){var _0xb76bf5=_0xec9e44;return this[_0xb76bf5(0x1ef)][_0xb76bf5(0x31d)](_0x21338d,_0x457903);},'init':function(_0x1b5c2a,_0x907a5b){this['_cipher']=_0x1b5c2a,this['_iv']=_0x907a5b;}}),_0x3aff4b=_0x5726f3[_0xec9e44(0x2a9)]=(function(){var _0x3f5bb6=_0xec9e44,_0x3f1e6f=_0x42470d[_0x3f5bb6(0x30b)]();_0x3f1e6f[_0x3f5bb6(0x301)]=_0x3f1e6f[_0x3f5bb6(0x30b)]({'processBlock':function(_0x36855b,_0xe35abe){var _0xb68c63=_0x3f5bb6,_0x2c4694=this[_0xb68c63(0x1cd)],_0x5c6af2=_0x2c4694['blockSize'];_0x4b0cda['call'](this,_0x36855b,_0xe35abe,_0x5c6af2),_0x2c4694['encryptBlock'](_0x36855b,_0xe35abe),this[_0xb68c63(0x221)]=_0x36855b['slice'](_0xe35abe,_0xe35abe+_0x5c6af2);}}),_0x3f1e6f['Decryptor']=_0x3f1e6f[_0x3f5bb6(0x30b)]({'processBlock':function(_0x5e6cb2,_0x57fcd5){var _0x29c108=_0x3f5bb6,_0x51f503=this['_cipher'],_0x3500d3=_0x51f503[_0x29c108(0x2a5)],_0x1835e2=_0x5e6cb2[_0x29c108(0x33f)](_0x57fcd5,_0x57fcd5+_0x3500d3);_0x51f503[_0x29c108(0x4a5)](_0x5e6cb2,_0x57fcd5),_0x4b0cda[_0x29c108(0x20c)](this,_0x5e6cb2,_0x57fcd5,_0x3500d3),this[_0x29c108(0x221)]=_0x1835e2;}});function _0x4b0cda(_0x4e4808,_0x1279ab,_0x1af59f){var _0x4e63b4=_0x3f5bb6,_0x1d46c5,_0x2acc79=this[_0x4e63b4(0x3ff)];_0x2acc79?(_0x1d46c5=_0x2acc79,this[_0x4e63b4(0x3ff)]=_0x5a2521):_0x1d46c5=this[_0x4e63b4(0x221)];for(var _0x23fc15=0x0;_0x23fc15<_0x1af59f;_0x23fc15++)_0x4e4808[_0x1279ab+_0x23fc15]^=_0x1d46c5[_0x23fc15];}return _0x3f1e6f;}()),_0x58a4aa=_0x2d5917['pad']={},_0x373446=_0x58a4aa[_0xec9e44(0x4e5)]={'pad':function(_0xdb066b,_0x4fc279){var _0x1b650c=_0xec9e44;for(var _0x1c57de=_0x4fc279*0x4,_0xd36451=_0x1c57de-_0xdb066b['sigBytes']%_0x1c57de,_0x30281a=_0xd36451<<0x18|_0xd36451<<0x10|_0xd36451<<0x8|_0xd36451,_0x154d13=[],_0x247325=0x0;_0x247325<_0xd36451;_0x247325+=0x4)_0x154d13[_0x1b650c(0x1f2)](_0x30281a);var _0x43c4a5=_0x1e434d[_0x1b650c(0x31d)](_0x154d13,_0xd36451);_0xdb066b[_0x1b650c(0x1de)](_0x43c4a5);},'unpad':function(_0x1acc55){var _0x554c57=_0xec9e44,_0x703433=_0x1acc55['words'][_0x1acc55[_0x554c57(0x1d3)]-0x1>>>0x2]&0xff;_0x1acc55[_0x554c57(0x1d3)]-=_0x703433;}};_0x1a11db['BlockCipher']=_0x115417[_0xec9e44(0x30b)]({'cfg':_0x115417[_0xec9e44(0x1e7)][_0xec9e44(0x30b)]({'mode':_0x3aff4b,'padding':_0x373446}),'reset':function(){var _0x488c51=_0xec9e44,_0x35a439;_0x115417[_0x488c51(0x395)][_0x488c51(0x20c)](this);var _0x43eab2=this[_0x488c51(0x1e7)],_0x31d232=_0x43eab2['iv'],_0x259ee7=_0x43eab2[_0x488c51(0x52f)];this[_0x488c51(0x505)]==this[_0x488c51(0x3df)]?_0x35a439=_0x259ee7[_0x488c51(0x1d7)]:(_0x35a439=_0x259ee7[_0x488c51(0x42d)],this[_0x488c51(0x253)]=0x1),this['_mode']&&this[_0x488c51(0x43c)][_0x488c51(0x379)]==_0x35a439?this['_mode'][_0x488c51(0x233)](this,_0x31d232&&_0x31d232[_0x488c51(0x21c)]):(this[_0x488c51(0x43c)]=_0x35a439[_0x488c51(0x20c)](_0x259ee7,this,_0x31d232&&_0x31d232[_0x488c51(0x21c)]),this['_mode'][_0x488c51(0x379)]=_0x35a439);},'_doProcessBlock':function(_0x59cf36,_0xa191c7){var _0x50649e=_0xec9e44;this[_0x50649e(0x43c)][_0x50649e(0x382)](_0x59cf36,_0xa191c7);},'_doFinalize':function(){var _0x30105e=_0xec9e44,_0x110b4f,_0x83b6c9=this[_0x30105e(0x1e7)]['padding'];return this[_0x30105e(0x505)]==this['_ENC_XFORM_MODE']?(_0x83b6c9[_0x30105e(0x4db)](this['_data'],this[_0x30105e(0x2a5)]),_0x110b4f=this[_0x30105e(0x240)](!0x0)):(_0x110b4f=this[_0x30105e(0x240)](!0x0),_0x83b6c9[_0x30105e(0x3c0)](_0x110b4f)),_0x110b4f;},'blockSize':0x80/0x20});var _0x48dfab=_0x1a11db[_0xec9e44(0x232)]=_0x35b4e2[_0xec9e44(0x30b)]({'init':function(_0x56854e){var _0x129cbc=_0xec9e44;this[_0x129cbc(0x4a9)](_0x56854e);},'toString':function(_0x136ba2){var _0x3cb786=_0xec9e44;return(_0x136ba2||this[_0x3cb786(0x2a8)])[_0x3cb786(0x53c)](this);}}),_0xe2e094=_0x2d5917['format']={},_0x4de30b=_0xe2e094[_0xec9e44(0x4dc)]={'stringify':function(_0x7e0246){var _0x45d7d0=_0xec9e44,_0x3623cc,_0x100d26=_0x7e0246[_0x45d7d0(0x3fa)],_0x35cbac=_0x7e0246['salt'];return _0x35cbac?_0x3623cc=_0x1e434d[_0x45d7d0(0x31d)]([0x53616c74,0x65645f5f])[_0x45d7d0(0x1de)](_0x35cbac)[_0x45d7d0(0x1de)](_0x100d26):_0x3623cc=_0x100d26,_0x3623cc[_0x45d7d0(0x530)](_0x3354e2);},'parse':function(_0x4a3ec1){var _0x5cd0bd=_0xec9e44,_0x2ce85e,_0x3ff198=_0x3354e2[_0x5cd0bd(0x43a)](_0x4a3ec1),_0x5d35b5=_0x3ff198[_0x5cd0bd(0x21c)];return _0x5d35b5[0x0]==0x53616c74&&_0x5d35b5[0x1]==0x65645f5f&&(_0x2ce85e=_0x1e434d[_0x5cd0bd(0x31d)](_0x5d35b5[_0x5cd0bd(0x33f)](0x2,0x4)),_0x5d35b5['splice'](0x0,0x4),_0x3ff198[_0x5cd0bd(0x1d3)]-=0x10),_0x48dfab[_0x5cd0bd(0x31d)]({'ciphertext':_0x3ff198,'salt':_0x2ce85e});}},_0x7c424e=_0x1a11db[_0xec9e44(0x47c)]=_0x35b4e2[_0xec9e44(0x30b)]({'cfg':_0x35b4e2['extend']({'format':_0x4de30b}),'encrypt':function(_0x61fab4,_0x47020c,_0xf47901,_0x124692){var _0x258fec=_0xec9e44;_0x124692=this['cfg'][_0x258fec(0x30b)](_0x124692);var _0x53ac19=_0x61fab4[_0x258fec(0x1d7)](_0xf47901,_0x124692),_0x5f21ae=_0x53ac19[_0x258fec(0x41f)](_0x47020c),_0x36d98a=_0x53ac19['cfg'];return _0x48dfab['create']({'ciphertext':_0x5f21ae,'key':_0xf47901,'iv':_0x36d98a['iv'],'algorithm':_0x61fab4,'mode':_0x36d98a[_0x258fec(0x52f)],'padding':_0x36d98a[_0x258fec(0x430)],'blockSize':_0x61fab4[_0x258fec(0x2a5)],'formatter':_0x124692[_0x258fec(0x320)]});},'decrypt':function(_0x490bb5,_0x1e1331,_0x594bb5,_0x40d117){var _0x2d3077=_0xec9e44;_0x40d117=this[_0x2d3077(0x1e7)]['extend'](_0x40d117),_0x1e1331=this[_0x2d3077(0x4a0)](_0x1e1331,_0x40d117[_0x2d3077(0x320)]);var _0x24b81b=_0x490bb5['createDecryptor'](_0x594bb5,_0x40d117)[_0x2d3077(0x41f)](_0x1e1331[_0x2d3077(0x3fa)]);return _0x24b81b;},'_parse':function(_0x338efc,_0x1b5e5b){var _0x1e6276=_0xec9e44;return typeof _0x338efc=='string'?_0x1b5e5b[_0x1e6276(0x43a)](_0x338efc,this):_0x338efc;}}),_0x5aa1b5=_0x2d5917[_0xec9e44(0x2b0)]={},_0x3795f2=_0x5aa1b5[_0xec9e44(0x4dc)]={'execute':function(_0x25db13,_0x7764b9,_0x342fef,_0x6509e8,_0x260941){var _0x184586=_0xec9e44;if(_0x6509e8||(_0x6509e8=_0x1e434d[_0x184586(0x3f8)](0x40/0x8)),_0x260941)var _0x5deada=_0x526327[_0x184586(0x31d)]({'keySize':_0x7764b9+_0x342fef,'hasher':_0x260941})[_0x184586(0x2f9)](_0x25db13,_0x6509e8);else var _0x5deada=_0x526327[_0x184586(0x31d)]({'keySize':_0x7764b9+_0x342fef})[_0x184586(0x2f9)](_0x25db13,_0x6509e8);var _0x2d6b26=_0x1e434d[_0x184586(0x31d)](_0x5deada['words']['slice'](_0x7764b9),_0x342fef*0x4);return _0x5deada['sigBytes']=_0x7764b9*0x4,_0x48dfab['create']({'key':_0x5deada,'iv':_0x2d6b26,'salt':_0x6509e8});}},_0x2ce10a=_0x1a11db['PasswordBasedCipher']=_0x7c424e[_0xec9e44(0x30b)]({'cfg':_0x7c424e[_0xec9e44(0x1e7)][_0xec9e44(0x30b)]({'kdf':_0x3795f2}),'encrypt':function(_0x3fc88e,_0x6d98ff,_0x2e8677,_0x23f7ab){var _0x2304a5=_0xec9e44;_0x23f7ab=this[_0x2304a5(0x1e7)]['extend'](_0x23f7ab);var _0x234150=_0x23f7ab[_0x2304a5(0x2b0)]['execute'](_0x2e8677,_0x3fc88e[_0x2304a5(0x396)],_0x3fc88e['ivSize'],_0x23f7ab[_0x2304a5(0x264)],_0x23f7ab[_0x2304a5(0x1d6)]);_0x23f7ab['iv']=_0x234150['iv'];var _0x31c22e=_0x7c424e['encrypt'][_0x2304a5(0x20c)](this,_0x3fc88e,_0x6d98ff,_0x234150[_0x2304a5(0x388)],_0x23f7ab);return _0x31c22e[_0x2304a5(0x4a9)](_0x234150),_0x31c22e;},'decrypt':function(_0x397180,_0x297cd7,_0x49977c,_0x391dfb){var _0x560f43=_0xec9e44;_0x391dfb=this[_0x560f43(0x1e7)][_0x560f43(0x30b)](_0x391dfb),_0x297cd7=this['_parse'](_0x297cd7,_0x391dfb['format']);var _0x2697fc=_0x391dfb['kdf'][_0x560f43(0x4e8)](_0x49977c,_0x397180[_0x560f43(0x396)],_0x397180[_0x560f43(0x397)],_0x297cd7['salt'],_0x391dfb['hasher']);_0x391dfb['iv']=_0x2697fc['iv'];var _0x48960b=_0x7c424e[_0x560f43(0x3d2)][_0x560f43(0x20c)](this,_0x397180,_0x297cd7,_0x2697fc[_0x560f43(0x388)],_0x391dfb);return _0x48960b;}});}();}));}(_0x1070f9)),_0x1070f9[_0x477439(0x425)];}var _0x33f276=_0x2c8826[_0x1e523d(0x425)],_0x5eb362;function _0x3f1ad7(){return _0x5eb362||(_0x5eb362=0x1,function(_0x232b8f,_0x4badc9){(function(_0x52e181,_0x498bf3,_0x40ca01){var _0x3e89de=_0x2e4c;_0x232b8f[_0x3e89de(0x425)]=_0x498bf3(_0x2a4df4(),_0x3ccf54(),_0x15d503(),_0x1a4401(),_0x280cf0());}(_0x33f276,function(_0x3db99e){var _0x52501c=_0x2e4c;return(function(){var _0x1ab802=_0x2e4c,_0x4ff02c=_0x3db99e,_0x4ee52b=_0x4ff02c['lib'],_0x596473=_0x4ee52b['BlockCipher'],_0x332f8d=_0x4ff02c[_0x1ab802(0x427)],_0x1ba670=[],_0x2923c1=[],_0x2c1d70=[],_0x1dcce5=[],_0x27bcef=[],_0x3deeb1=[],_0x469b05=[],_0x5b5feb=[],_0x3a7a35=[],_0x54f407=[];(function(){for(var _0x72ea09=[],_0x532101=0x0;_0x532101<0x100;_0x532101++)_0x532101<0x80?_0x72ea09[_0x532101]=_0x532101<<0x1:_0x72ea09[_0x532101]=_0x532101<<0x1^0x11b;for(var _0x36be35=0x0,_0x483830=0x0,_0x532101=0x0;_0x532101<0x100;_0x532101++){var _0x211700=_0x483830^_0x483830<<0x1^_0x483830<<0x2^_0x483830<<0x3^_0x483830<<0x4;_0x211700=_0x211700>>>0x8^_0x211700&0xff^0x63,_0x1ba670[_0x36be35]=_0x211700,_0x2923c1[_0x211700]=_0x36be35;var _0x3827f3=_0x72ea09[_0x36be35],_0x469c1d=_0x72ea09[_0x3827f3],_0x1fe122=_0x72ea09[_0x469c1d],_0x56d6e9=_0x72ea09[_0x211700]*0x101^_0x211700*0x1010100;_0x2c1d70[_0x36be35]=_0x56d6e9<<0x18|_0x56d6e9>>>0x8,_0x1dcce5[_0x36be35]=_0x56d6e9<<0x10|_0x56d6e9>>>0x10,_0x27bcef[_0x36be35]=_0x56d6e9<<0x8|_0x56d6e9>>>0x18,_0x3deeb1[_0x36be35]=_0x56d6e9;var _0x56d6e9=_0x1fe122*0x1010101^_0x469c1d*0x10001^_0x3827f3*0x101^_0x36be35*0x1010100;_0x469b05[_0x211700]=_0x56d6e9<<0x18|_0x56d6e9>>>0x8,_0x5b5feb[_0x211700]=_0x56d6e9<<0x10|_0x56d6e9>>>0x10,_0x3a7a35[_0x211700]=_0x56d6e9<<0x8|_0x56d6e9>>>0x18,_0x54f407[_0x211700]=_0x56d6e9,_0x36be35?(_0x36be35=_0x3827f3^_0x72ea09[_0x72ea09[_0x72ea09[_0x1fe122^_0x3827f3]]],_0x483830^=_0x72ea09[_0x72ea09[_0x483830]]):_0x36be35=_0x483830=0x1;}}());var _0x36fdd1=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x30a96e=_0x332f8d[_0x1ab802(0x344)]=_0x596473['extend']({'_doReset':function(){var _0x4916a7=_0x1ab802,_0x483652;if(!(this[_0x4916a7(0x34b)]&&this[_0x4916a7(0x22e)]===this[_0x4916a7(0x2d9)])){for(var _0x2bb1d2=this[_0x4916a7(0x22e)]=this[_0x4916a7(0x2d9)],_0x1c59e=_0x2bb1d2[_0x4916a7(0x21c)],_0x3fdbf2=_0x2bb1d2[_0x4916a7(0x1d3)]/0x4,_0x472b84=this[_0x4916a7(0x34b)]=_0x3fdbf2+0x6,_0x3231b4=(_0x472b84+0x1)*0x4,_0x381291=this['_keySchedule']=[],_0xe03ece=0x0;_0xe03ece<_0x3231b4;_0xe03ece++)_0xe03ece<_0x3fdbf2?_0x381291[_0xe03ece]=_0x1c59e[_0xe03ece]:(_0x483652=_0x381291[_0xe03ece-0x1],_0xe03ece%_0x3fdbf2?_0x3fdbf2>0x6&&_0xe03ece%_0x3fdbf2==0x4&&(_0x483652=_0x1ba670[_0x483652>>>0x18]<<0x18|_0x1ba670[_0x483652>>>0x10&0xff]<<0x10|_0x1ba670[_0x483652>>>0x8&0xff]<<0x8|_0x1ba670[_0x483652&0xff]):(_0x483652=_0x483652<<0x8|_0x483652>>>0x18,_0x483652=_0x1ba670[_0x483652>>>0x18]<<0x18|_0x1ba670[_0x483652>>>0x10&0xff]<<0x10|_0x1ba670[_0x483652>>>0x8&0xff]<<0x8|_0x1ba670[_0x483652&0xff],_0x483652^=_0x36fdd1[_0xe03ece/_0x3fdbf2|0x0]<<0x18),_0x381291[_0xe03ece]=_0x381291[_0xe03ece-_0x3fdbf2]^_0x483652);for(var _0x4d6713=this[_0x4916a7(0x2bd)]=[],_0x4ea9eb=0x0;_0x4ea9eb<_0x3231b4;_0x4ea9eb++){var _0xe03ece=_0x3231b4-_0x4ea9eb;if(_0x4ea9eb%0x4)var _0x483652=_0x381291[_0xe03ece];else var _0x483652=_0x381291[_0xe03ece-0x4];_0x4ea9eb<0x4||_0xe03ece<=0x4?_0x4d6713[_0x4ea9eb]=_0x483652:_0x4d6713[_0x4ea9eb]=_0x469b05[_0x1ba670[_0x483652>>>0x18]]^_0x5b5feb[_0x1ba670[_0x483652>>>0x10&0xff]]^_0x3a7a35[_0x1ba670[_0x483652>>>0x8&0xff]]^_0x54f407[_0x1ba670[_0x483652&0xff]];}}},'encryptBlock':function(_0x5aae8b,_0x4c8525){var _0x446901=_0x1ab802;this[_0x446901(0x258)](_0x5aae8b,_0x4c8525,this[_0x446901(0x48a)],_0x2c1d70,_0x1dcce5,_0x27bcef,_0x3deeb1,_0x1ba670);},'decryptBlock':function(_0x19550c,_0x3c817a){var _0x3e5486=_0x1ab802,_0x9e5ba0=_0x19550c[_0x3c817a+0x1];_0x19550c[_0x3c817a+0x1]=_0x19550c[_0x3c817a+0x3],_0x19550c[_0x3c817a+0x3]=_0x9e5ba0,this['_doCryptBlock'](_0x19550c,_0x3c817a,this[_0x3e5486(0x2bd)],_0x469b05,_0x5b5feb,_0x3a7a35,_0x54f407,_0x2923c1);var _0x9e5ba0=_0x19550c[_0x3c817a+0x1];_0x19550c[_0x3c817a+0x1]=_0x19550c[_0x3c817a+0x3],_0x19550c[_0x3c817a+0x3]=_0x9e5ba0;},'_doCryptBlock':function(_0x7d317e,_0x3ad39b,_0x1882f4,_0x5f532b,_0xde63d1,_0x2a144d,_0xdeba26,_0x4da41b){var _0xdb1f3=_0x1ab802;for(var _0x448fa8=this[_0xdb1f3(0x34b)],_0xd44f58=_0x7d317e[_0x3ad39b]^_0x1882f4[0x0],_0x240f8f=_0x7d317e[_0x3ad39b+0x1]^_0x1882f4[0x1],_0x4c61b0=_0x7d317e[_0x3ad39b+0x2]^_0x1882f4[0x2],_0x5efac0=_0x7d317e[_0x3ad39b+0x3]^_0x1882f4[0x3],_0x52ef4b=0x4,_0x4c9c47=0x1;_0x4c9c47<_0x448fa8;_0x4c9c47++){var _0xd68589=_0x5f532b[_0xd44f58>>>0x18]^_0xde63d1[_0x240f8f>>>0x10&0xff]^_0x2a144d[_0x4c61b0>>>0x8&0xff]^_0xdeba26[_0x5efac0&0xff]^_0x1882f4[_0x52ef4b++],_0x58f910=_0x5f532b[_0x240f8f>>>0x18]^_0xde63d1[_0x4c61b0>>>0x10&0xff]^_0x2a144d[_0x5efac0>>>0x8&0xff]^_0xdeba26[_0xd44f58&0xff]^_0x1882f4[_0x52ef4b++],_0x869c58=_0x5f532b[_0x4c61b0>>>0x18]^_0xde63d1[_0x5efac0>>>0x10&0xff]^_0x2a144d[_0xd44f58>>>0x8&0xff]^_0xdeba26[_0x240f8f&0xff]^_0x1882f4[_0x52ef4b++],_0x3c73a0=_0x5f532b[_0x5efac0>>>0x18]^_0xde63d1[_0xd44f58>>>0x10&0xff]^_0x2a144d[_0x240f8f>>>0x8&0xff]^_0xdeba26[_0x4c61b0&0xff]^_0x1882f4[_0x52ef4b++];_0xd44f58=_0xd68589,_0x240f8f=_0x58f910,_0x4c61b0=_0x869c58,_0x5efac0=_0x3c73a0;}var _0xd68589=(_0x4da41b[_0xd44f58>>>0x18]<<0x18|_0x4da41b[_0x240f8f>>>0x10&0xff]<<0x10|_0x4da41b[_0x4c61b0>>>0x8&0xff]<<0x8|_0x4da41b[_0x5efac0&0xff])^_0x1882f4[_0x52ef4b++],_0x58f910=(_0x4da41b[_0x240f8f>>>0x18]<<0x18|_0x4da41b[_0x4c61b0>>>0x10&0xff]<<0x10|_0x4da41b[_0x5efac0>>>0x8&0xff]<<0x8|_0x4da41b[_0xd44f58&0xff])^_0x1882f4[_0x52ef4b++],_0x869c58=(_0x4da41b[_0x4c61b0>>>0x18]<<0x18|_0x4da41b[_0x5efac0>>>0x10&0xff]<<0x10|_0x4da41b[_0xd44f58>>>0x8&0xff]<<0x8|_0x4da41b[_0x240f8f&0xff])^_0x1882f4[_0x52ef4b++],_0x3c73a0=(_0x4da41b[_0x5efac0>>>0x18]<<0x18|_0x4da41b[_0xd44f58>>>0x10&0xff]<<0x10|_0x4da41b[_0x240f8f>>>0x8&0xff]<<0x8|_0x4da41b[_0x4c61b0&0xff])^_0x1882f4[_0x52ef4b++];_0x7d317e[_0x3ad39b]=_0xd68589,_0x7d317e[_0x3ad39b+0x1]=_0x58f910,_0x7d317e[_0x3ad39b+0x2]=_0x869c58,_0x7d317e[_0x3ad39b+0x3]=_0x3c73a0;},'keySize':0x100/0x20});_0x4ff02c['AES']=_0x596473[_0x1ab802(0x3dd)](_0x30a96e);}()),_0x3db99e[_0x52501c(0x344)];}));}(_0x2c8826)),_0x2c8826['exports'];}var _0x4cdc1c=_0x3f1ad7();const _0x47cdfe=_0x3474c3(_0x4cdc1c);var _0x35be55=_0x3ccf54();const _0x1947ac=_0x3474c3(_0x35be55);var _0x3f813f={'exports':{}},_0x1e64bf=_0x3f813f[_0x1e523d(0x425)],_0x59998a;function _0x50bd93(){var _0xa13d44=_0x1e523d;return _0x59998a||(_0x59998a=0x1,function(_0x14c3ba,_0x24abd6){(function(_0x432ce2,_0x403830){var _0x98a2e4=_0x2e4c;_0x14c3ba[_0x98a2e4(0x425)]=_0x403830(_0x2a4df4());}(_0x1e64bf,function(_0x541898){var _0x3e095d=_0x2e4c;return _0x541898[_0x3e095d(0x207)][_0x3e095d(0x2ce)];}));}(_0x3f813f)),_0x3f813f[_0xa13d44(0x425)];}var _0x334596=_0x50bd93();const _0x16849d=_0x3474c3(_0x334596);var _0x450d9b={'exports':{}},_0xdc91c6=_0x450d9b[_0x1e523d(0x425)],_0x199c73;function _0x167615(){var _0x203737=_0x1e523d;return _0x199c73||(_0x199c73=0x1,function(_0x28f6ee,_0x59f793){(function(_0x39f0cd,_0xfd952a){_0x28f6ee['exports']=_0xfd952a(_0x2a4df4());}(_0xdc91c6,function(_0xa02da0){return(function(){var _0xfa0efa=_0x2e4c;if(typeof ArrayBuffer==_0xfa0efa(0x51c)){var _0x5bd3ef=_0xa02da0,_0x47ef58=_0x5bd3ef[_0xfa0efa(0x270)],_0xf7ef61=_0x47ef58[_0xfa0efa(0x1e0)],_0x230d94=_0xf7ef61[_0xfa0efa(0x233)],_0x1842a1=_0xf7ef61['init']=function(_0x8bbeff){var _0x5ec3df=_0xfa0efa;if(_0x8bbeff instanceof ArrayBuffer&&(_0x8bbeff=new Uint8Array(_0x8bbeff)),(_0x8bbeff instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x8bbeff instanceof Uint8ClampedArray||_0x8bbeff instanceof Int16Array||_0x8bbeff instanceof Uint16Array||_0x8bbeff instanceof Int32Array||_0x8bbeff instanceof Uint32Array||_0x8bbeff instanceof Float32Array||_0x8bbeff instanceof Float64Array)&&(_0x8bbeff=new Uint8Array(_0x8bbeff[_0x5ec3df(0x22c)],_0x8bbeff['byteOffset'],_0x8bbeff[_0x5ec3df(0x4ef)])),_0x8bbeff instanceof Uint8Array){for(var _0x1eba58=_0x8bbeff[_0x5ec3df(0x4ef)],_0x445d58=[],_0x4bf7e9=0x0;_0x4bf7e9<_0x1eba58;_0x4bf7e9++)_0x445d58[_0x4bf7e9>>>0x2]|=_0x8bbeff[_0x4bf7e9]<<0x18-_0x4bf7e9%0x4*0x8;_0x230d94[_0x5ec3df(0x20c)](this,_0x445d58,_0x1eba58);}else _0x230d94['apply'](this,arguments);};_0x1842a1[_0xfa0efa(0x2bc)]=_0xf7ef61;}}()),_0xa02da0['lib']['WordArray'];}));}(_0x450d9b)),_0x450d9b[_0x203737(0x425)];}var _0x47ef45=_0x167615();const _0x234a9c=_0x3474c3(_0x47ef45);var _0x30b865={'exports':{}},_0x34be64=_0x30b865['exports'],_0x34869a;function _0x6dffef(){var _0x2f31df=_0x1e523d;return _0x34869a||(_0x34869a=0x1,function(_0x2f6959,_0x408763){(function(_0x1d7ce3,_0x350cf1,_0xb75a95){var _0x49e476=_0x2e4c;_0x2f6959[_0x49e476(0x425)]=_0x350cf1(_0x2a4df4(),_0x280cf0());}(_0x34be64,function(_0xf428d2){var _0x566486=_0x2e4c;return _0xf428d2[_0x566486(0x4db)][_0x566486(0x313)]={'pad':function(){},'unpad':function(){}},_0xf428d2[_0x566486(0x4db)][_0x566486(0x313)];}));}(_0x30b865)),_0x30b865[_0x2f31df(0x425)];}var _0x146dc8=_0x6dffef();const _0x5ce57e=_0x3474c3(_0x146dc8);function _0x2079de(_0x18901c,_0x1868af){var _0x3a2dd9=_0x1e523d;const _0x561013=_0x1868af-_0x18901c[_0x3a2dd9(0x254)]%_0x1868af,_0x3367a7=String[_0x3a2dd9(0x475)](_0x561013)[_0x3a2dd9(0x3d4)](_0x561013);return _0x18901c+_0x3367a7;}function _0x4f8b2f(_0x1f7b79,_0x35f161){var _0x268b8f=_0x1e523d;const _0x2211b2=_0x234a9c[_0x268b8f(0x3f8)](0x10),_0x5db831=_0x2079de(_0x1f7b79,0x10),_0x112d46=_0x47cdfe['encrypt'](_0x16849d[_0x268b8f(0x43a)](_0x5db831),_0x1947ac['parse'](_0x35f161),{'iv':_0x2211b2,'padding':_0x5ce57e});return _0x2211b2[_0x268b8f(0x1de)](_0x112d46[_0x268b8f(0x3fa)])['toString'](_0x1947ac);}function _0x5dfa4a(){var _0x2c8a1a=_0x1e523d;const _0x3a76fd=_0x427755['getGlobalObject']()[_0x2c8a1a(0x36c)];if(_0x3a76fd){const _0x15d2b8={'time':Math[_0x2c8a1a(0x418)](Date[_0x2c8a1a(0x369)]()/0x3e8),'domain':location[_0x2c8a1a(0x208)]};return _0x4f8b2f(JSON[_0x2c8a1a(0x53c)](_0x15d2b8),_0x3a76fd);}}var _0x3df392=Object['getOwnPropertyDescriptor'],_0x45c1df=(_0x1ebc3b,_0x242a26,_0x31c517,_0x37f45c)=>{var _0x16a4fa=_0x1e523d;for(var _0x4287d9=_0x37f45c>0x1?void 0x0:_0x37f45c?_0x3df392(_0x242a26,_0x31c517):_0x242a26,_0xdc43e9=_0x1ebc3b[_0x16a4fa(0x254)]-0x1,_0x27fb1a;_0xdc43e9>=0x0;_0xdc43e9--)(_0x27fb1a=_0x1ebc3b[_0xdc43e9])&&(_0x4287d9=_0x27fb1a(_0x4287d9)||_0x4287d9);return _0x4287d9;},_0x294ecb=(_0x4b12a3,_0x3450de)=>(_0x4d3c29,_0x12fc6a)=>_0x3450de(_0x4d3c29,_0x12fc6a,_0x4b12a3);let _0x2aa4e1=class{constructor(_0x59903e){var _0x1b0848=_0x1e523d;this[_0x1b0848(0x426)]=_0x59903e,this[_0x1b0848(0x433)]();}[_0x1e523d(0x433)](){var _0x20a96e=_0x1e523d;this[_0x20a96e(0x426)][_0x20a96e(0x1f4)]({'interceptor':(_0x5a9148,_0x2b6f0c)=>{var _0x44e211=_0x20a96e;const _0x2c3cd4=_0x5a9148[_0x44e211(0x41b)],_0x59ae9e=_0x5dfa4a();return _0x59ae9e&&_0x2c3cd4[_0x44e211(0x399)]('x-univer-host',_0x59ae9e),_0x2b6f0c(_0x5a9148);}});}};_0x2aa4e1=_0x45c1df([_0x294ecb(0x0,_0x38eb38[_0x1e523d(0x20f)](_0x4dd461[_0x1e523d(0x374)]))],_0x2aa4e1);var _0x57c531=Object['getOwnPropertyDescriptor'],_0xc90e49=(_0x2c1667,_0x10e060,_0x27aa2d,_0x1ad1d0)=>{for(var _0x479357=_0x1ad1d0>0x1?void 0x0:_0x1ad1d0?_0x57c531(_0x10e060,_0x27aa2d):_0x10e060,_0x2bf43c=_0x2c1667['length']-0x1,_0x107309;_0x2bf43c>=0x0;_0x2bf43c--)(_0x107309=_0x2c1667[_0x2bf43c])&&(_0x479357=_0x107309(_0x479357)||_0x479357);return _0x479357;},_0x1f967b=(_0x3b3b07,_0x19e778)=>(_0x2e02e3,_0x304123)=>_0x19e778(_0x2e02e3,_0x304123,_0x3b3b07);_0x386c41[_0x1e523d(0x44c)]=class extends _0x38eb38[_0x1e523d(0x228)]{constructor(_0xdc60d4,_0x268c6f,_0x4a073a){var _0x39f7df=_0x1e523d;super(),_0x4e8dd0(this,_0x39f7df(0x3f6),new _0x14e7e3[(_0x39f7df(0x1c6))](null)),_0x4e8dd0(this,_0x39f7df(0x53b),this[_0x39f7df(0x3f6)]['asObservable']()),(this['_logService']=_0xdc60d4,this['_snapshotService']=_0x268c6f,this['_localCacheService']=_0x4a073a);}async[_0x1e523d(0x368)](_0x2d1925,_0x1a3355,_0xcb9f55){var _0x5f2979=_0x1e523d;this[_0x5f2979(0x3f6)][_0x5f2979(0x2e3)]({'unitId':_0x2d1925,'type':_0x1a3355,'subUnitId':_0xcb9f55});let _0xfb118e=null;switch(_0x1a3355){case _0x16e80c[_0x5f2979(0x4c4)]:{_0xfb118e=await this[_0x5f2979(0x4a7)](_0x2d1925);break;}case _0x16e80c['UNIVER_DOC']:{_0xfb118e=await this[_0x5f2979(0x47e)](_0x2d1925);break;}default:{this[_0x5f2979(0x4a4)][_0x5f2979(0x450)](_0x5f2979(0x44d),_0x5f2979(0x299));break;}}return _0xfb118e;}async[_0x1e523d(0x4a7)](_0x2c1f37){var _0x284b4d=_0x1e523d,_0x45cff0;let _0x465fcd=0x0;const _0x31aa4a=await((_0x45cff0=this['_localCacheService'])==null?void 0x0:_0x45cff0[_0x284b4d(0x290)](_0x2c1f37));return _0x31aa4a&&(_0x31aa4a[_0x284b4d(0x3e0)]||_0x31aa4a[_0x284b4d(0x215)][_0x284b4d(0x254)]!==0x0)&&(_0x465fcd=_0x31aa4a[_0x284b4d(0x53f)]),_0x465fcd===0x0&&this[_0x284b4d(0x4a4)][_0x284b4d(0x288)]('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x284b4d(0x210)][_0x284b4d(0x2a0)](_0x2c1f37,_0x465fcd);}async[_0x1e523d(0x47e)](_0x44c82c){var _0x31a37c=_0x1e523d,_0x44c63c;let _0x277b44=0x0;const _0x4b81b0=await((_0x44c63c=this['_localCacheService'])==null?void 0x0:_0x44c63c['loadOfflineData'](_0x44c82c));return _0x4b81b0&&(_0x4b81b0[_0x31a37c(0x3e0)]||_0x4b81b0[_0x31a37c(0x215)][_0x31a37c(0x254)]!==0x0)&&(_0x277b44=_0x4b81b0[_0x31a37c(0x53f)]),_0x277b44===0x0&&this[_0x31a37c(0x4a4)]['debug'](_0x31a37c(0x44d),_0x31a37c(0x420)),this[_0x31a37c(0x210)]['loadDoc'](_0x44c82c,_0x277b44);}},_0x386c41[_0x1e523d(0x44c)]=_0xc90e49([_0x1f967b(0x0,_0x38eb38[_0x1e523d(0x220)]),_0x1f967b(0x1,_0x38eb38[_0x1e523d(0x20f)](_0x21ba50[_0x1e523d(0x2cf)])),_0x1f967b(0x2,_0x38eb38['Optional'](_0x414e11))],_0x386c41['DataLoaderService']);var _0x5201f6=Object[_0x1e523d(0x4a8)],_0x463ab6=(_0x414aa6,_0x420b93,_0x4e0b42,_0x2d3660)=>{var _0x56eea0=_0x1e523d;for(var _0x1a44e0=_0x2d3660>0x1?void 0x0:_0x2d3660?_0x5201f6(_0x420b93,_0x4e0b42):_0x420b93,_0x5140f4=_0x414aa6[_0x56eea0(0x254)]-0x1,_0x5d0b6f;_0x5140f4>=0x0;_0x5140f4--)(_0x5d0b6f=_0x414aa6[_0x5140f4])&&(_0x1a44e0=_0x5d0b6f(_0x1a44e0)||_0x1a44e0);return _0x1a44e0;},_0x3b9259=(_0x51cb49,_0x23b30f)=>(_0x17b823,_0x39aa46)=>_0x23b30f(_0x17b823,_0x39aa46,_0x51cb49);const _0x56f8c8=[_0x1e523d(0x44b),'image/jpeg',_0x1e523d(0x295),_0x1e523d(0x516),_0x1e523d(0x308)],_0x5138ba=0x5*0x400*0x400,_0x8025f2='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',_0x580f3d=_0x1e523d(0x3f7),_0x47a857=_0x1e523d(0x416),_0x5c59b3='/universer-api/file/{fileID}/sign-url';_0x386c41[_0x1e523d(0x48d)]=class{constructor(_0x5cba57,_0x8c9344,_0x36ed82){var _0x1fc7d6=_0x1e523d;_0x4e8dd0(this,_0x1fc7d6(0x4e4),0x0),_0x4e8dd0(this,_0x1fc7d6(0x275),new _0x14e7e3[(_0x1fc7d6(0x4b7))]()),_0x4e8dd0(this,_0x1fc7d6(0x40d),this['_change$']),_0x4e8dd0(this,_0x1fc7d6(0x37b),new Map()),(this[_0x1fc7d6(0x426)]=_0x5cba57,this['_configService']=_0x8c9344,this[_0x1fc7d6(0x1b1)]=_0x36ed82);}[_0x1e523d(0x203)](_0x1e52ea){var _0x516f83=_0x1e523d;this[_0x516f83(0x4e4)]=_0x1e52ea,this[_0x516f83(0x275)][_0x516f83(0x2e3)](_0x1e52ea);}[_0x1e523d(0x2c0)](_0x267c66,_0x392d6e){var _0x15cd2d=_0x1e523d;if(_0x392d6e===_0x243978[_0x15cd2d(0x49d)][_0x15cd2d(0x1ed)]){const _0x2ff110=new Image();return _0x2ff110[_0x15cd2d(0x43e)]=_0x267c66,_0x2ff110;}return this[_0x15cd2d(0x37b)][_0x15cd2d(0x239)](_0x267c66);}['addImageSourceCache'](_0x295440,_0xcd055d,_0xaec775){var _0x1e8dc1=_0x1e523d;_0xcd055d===_0x243978[_0x1e8dc1(0x49d)][_0x1e8dc1(0x1ed)]||_0xaec775==null||this[_0x1e8dc1(0x37b)][_0x1e8dc1(0x399)](_0x295440,_0xaec775);}async[_0x1e523d(0x2cb)](_0x331687){var _0x16a9aa=_0x1e523d;try{const _0xc7390b=this[_0x16a9aa(0x515)](this[_0x16a9aa(0x1ee)](),''+_0x331687),_0x253198=(await this[_0x16a9aa(0x426)][_0x16a9aa(0x239)](_0xc7390b))[_0x16a9aa(0x364)];if(_0x253198[_0x16a9aa(0x450)]&&_0x253198[_0x16a9aa(0x450)]['code']===_0x5a46ac['OK']){const _0xc59c75=new URL(_0x253198[_0x16a9aa(0x273)],this[_0x16a9aa(0x2ff)]())[_0x16a9aa(0x530)]();return Promise['resolve'](_0xc59c75);}return Promise[_0x16a9aa(0x318)](_0x253198[_0x16a9aa(0x450)]);}catch(_0x5d9169){return Promise['reject'](_0x5d9169);}}async[_0x1e523d(0x2d7)](_0x33d653){var _0x42e9b8=_0x1e523d;let _0x49d5ea='';if(!_0x56f8c8['includes'](_0x33d653[_0x42e9b8(0x42b)]))return this[_0x42e9b8(0x1e8)](),Promise[_0x42e9b8(0x318)](new Error(_0x243978[_0x42e9b8(0x37f)][_0x42e9b8(0x431)]));if(_0x33d653[_0x42e9b8(0x2da)]>_0x5138ba)return this[_0x42e9b8(0x1e8)](),Promise[_0x42e9b8(0x318)](new Error(_0x243978[_0x42e9b8(0x37f)][_0x42e9b8(0x3da)]));try{const _0x5019b6=new FormData();_0x5019b6[_0x42e9b8(0x31b)]('file',_0x33d653);const _0x2ae05d=this[_0x42e9b8(0x1b1)][_0x42e9b8(0x407)](),_0x3ce70f=_0x2ae05d==null?void 0x0:_0x2ae05d[_0x42e9b8(0x4d2)]();if(!_0x3ce70f)throw new Error(_0x42e9b8(0x37c));const _0x251588=this[_0x42e9b8(0x48b)]()+_0x42e9b8(0x357)+_0x33d653[_0x42e9b8(0x2da)][_0x42e9b8(0x530)]()+_0x42e9b8(0x24c)+_0x5b0f0d[_0x42e9b8(0x321)]+_0x42e9b8(0x387)+encodeURIComponent(_0x3ce70f),_0xad1ceb=await(await fetch(_0x251588,{'method':_0x42e9b8(0x206),'body':_0x5019b6}))[_0x42e9b8(0x402)]();if(typeof _0xad1ceb[_0x42e9b8(0x444)]!=_0x42e9b8(0x29f))return this[_0x42e9b8(0x1e8)](),Promise[_0x42e9b8(0x318)](new Error(_0x243978[_0x42e9b8(0x37f)][_0x42e9b8(0x389)]));_0x49d5ea=_0xad1ceb['FileId'];}catch{return this[_0x42e9b8(0x1e8)](),Promise[_0x42e9b8(0x318)](new Error(_0x243978[_0x42e9b8(0x37f)]['ERROR_IMAGE']));}return new Promise((_0x90a269,_0x3796c3)=>{var _0x3d24e6=_0x42e9b8;const _0x35bd51=new FileReader();_0x35bd51[_0x3d24e6(0x2d6)](_0x33d653),_0x35bd51[_0x3d24e6(0x43d)]=_0x4801a2=>{var _0x28fa62=_0x3d24e6,_0x4c2360;const _0x1e745a=(_0x4c2360=_0x4801a2[_0x28fa62(0x1d5)])==null?void 0x0:_0x4c2360['result'];if(_0x1e745a==null){this['_decreaseWaiting'](),_0x3796c3(new Error(_0x243978['ImageUploadStatusType'][_0x28fa62(0x389)]));return;}const _0x48290d=_0x38eb38['Tools'][_0x28fa62(0x211)](0x6);_0x90a269({'imageId':_0x48290d,'imageSourceType':_0x243978[_0x28fa62(0x49d)][_0x28fa62(0x4c3)],'source':_0x49d5ea,'base64Cache':_0x1e745a,'status':_0x243978[_0x28fa62(0x37f)][_0x28fa62(0x309)]}),this['_decreaseWaiting']();};});}[_0x1e523d(0x48b)](){var _0x34a057=_0x1e523d,_0xecb216,_0xf3614c;const _0x5dd4b5=this[_0x34a057(0x462)][_0x34a057(0x508)](_0x8025f2),_0x1265ee=this[_0x34a057(0x462)]['getConfig'](_0x10421d);return(_0xf3614c=(_0xecb216=_0x1265ee==null?void 0x0:_0x1265ee[_0x34a057(0x2ac)])!=null?_0xecb216:_0x5dd4b5)!=null?_0xf3614c:_0x580f3d;}[_0x1e523d(0x1ee)](){var _0x387be1=_0x1e523d,_0x12bb45,_0x40ad06;const _0x709ada=this['_configService'][_0x387be1(0x508)](_0x47a857),_0x596c31=this[_0x387be1(0x462)][_0x387be1(0x508)](_0x10421d);return(_0x40ad06=(_0x12bb45=_0x596c31==null?void 0x0:_0x596c31[_0x387be1(0x3b9)])!=null?_0x12bb45:_0x709ada)!=null?_0x40ad06:_0x5c59b3;}[_0x1e523d(0x2ff)](){var _0x4af183=_0x1e523d,_0x125062;const _0x431409=this[_0x4af183(0x462)][_0x4af183(0x508)](_0x10421d);return(_0x125062=_0x431409==null?void 0x0:_0x431409[_0x4af183(0x1e4)])!=null?_0x125062:location['origin'];}[_0x1e523d(0x515)](_0x390a7f,_0x512e3a){var _0x5116e2=_0x1e523d;return _0x390a7f[_0x5116e2(0x304)](_0x5116e2(0x33d),_0x512e3a);}['_decreaseWaiting'](){var _0x3dcd99=_0x1e523d;this['_waitCount']-=0x1,this['_change$'][_0x3dcd99(0x2e3)](this[_0x3dcd99(0x4e4)]);}},_0x386c41['CollaborationImageIoService']=_0x463ab6([_0x3b9259(0x0,_0x38eb38[_0x1e523d(0x20f)](_0x4dd461['HTTPService'])),_0x3b9259(0x1,_0x38eb38[_0x1e523d(0x442)]),_0x3b9259(0x2,_0x38eb38[_0x1e523d(0x20f)](_0x38eb38[_0x1e523d(0x25e)]))],_0x386c41['CollaborationImageIoService']);var _0xb88b12=Object[_0x1e523d(0x4a8)],_0x16e9ee=(_0xb146e2,_0x10cc2f,_0x23c056,_0x58f4f7)=>{var _0x1ded81=_0x1e523d;for(var _0x3f32f0=_0x58f4f7>0x1?void 0x0:_0x58f4f7?_0xb88b12(_0x10cc2f,_0x23c056):_0x10cc2f,_0x40c21c=_0xb146e2[_0x1ded81(0x254)]-0x1,_0x3e85e9;_0x40c21c>=0x0;_0x40c21c--)(_0x3e85e9=_0xb146e2[_0x40c21c])&&(_0x3f32f0=_0x3e85e9(_0x3f32f0)||_0x3f32f0);return _0x3f32f0;},_0x309102=(_0x16c673,_0x39ac0d)=>(_0x2e15e1,_0x412f8a)=>_0x39ac0d(_0x2e15e1,_0x412f8a,_0x16c673);const _0x170d22='/universer-api/authz';_0x386c41['MentionIoHttpService']=class{constructor(_0x58d7a7,_0x52e609){var _0x37e7e3=_0x1e523d;this[_0x37e7e3(0x462)]=_0x58d7a7,this[_0x37e7e3(0x243)]=_0x52e609;}['_getAPIPrefixPath'](){var _0x35422b=_0x1e523d,_0x1e4ce3,_0x348485;const _0x56df7f=this['_configService'][_0x35422b(0x508)](_0x1ede6d),_0x54ee0f=this[_0x35422b(0x462)][_0x35422b(0x508)](_0x10421d);return(_0x348485=(_0x1e4ce3=_0x54ee0f==null?void 0x0:_0x54ee0f['authzUrl'])!=null?_0x1e4ce3:_0x56df7f)!=null?_0x348485:_0x170d22;}async[_0x1e523d(0x2c7)](_0x2bdfd4){var _0x1aaf1a=_0x1e523d;const _0x405394=this[_0x1aaf1a(0x384)]()+'/collaborator';return{'list':[{'title':_0x1aaf1a(0x46f),'mentions':(await this[_0x1aaf1a(0x243)]['get'](_0x405394,{'params':{'objectID':_0x2bdfd4[_0x1aaf1a(0x249)],'unitID':_0x2bdfd4[_0x1aaf1a(0x249)]}}))['body'][_0x1aaf1a(0x1fd)][_0x1aaf1a(0x404)](_0x13d637=>({'objectId':_0x13d637['id'],'name':_0x13d637[_0x1aaf1a(0x3e1)][_0x1aaf1a(0x372)],'metadata':{'icon':_0x13d637['subject'][_0x1aaf1a(0x1fc)]},'label':_0x13d637[_0x1aaf1a(0x3e1)]['name'],'objectType':_0x38eb38[_0x1aaf1a(0x47b)][_0x1aaf1a(0x412)]})),'metadata':{},'type':_0x38eb38[_0x1aaf1a(0x47b)][_0x1aaf1a(0x412)]}]};}},_0x386c41[_0x1e523d(0x3a4)]=_0x16e9ee([_0x309102(0x0,_0x38eb38[_0x1e523d(0x20f)](_0x38eb38['IConfigService'])),_0x309102(0x1,_0x38eb38['Inject'](_0x4dd461[_0x1e523d(0x374)]))],_0x386c41[_0x1e523d(0x3a4)]);var _0x2d0083=Object[_0x1e523d(0x4a8)],_0x21032b=(_0x2dea4a,_0xbe6ce7,_0x3539f6,_0x269c73)=>{var _0x26cedc=_0x1e523d;for(var _0x1109a1=_0x269c73>0x1?void 0x0:_0x269c73?_0x2d0083(_0xbe6ce7,_0x3539f6):_0xbe6ce7,_0x321d1c=_0x2dea4a[_0x26cedc(0x254)]-0x1,_0x2ab57c;_0x321d1c>=0x0;_0x321d1c--)(_0x2ab57c=_0x2dea4a[_0x321d1c])&&(_0x1109a1=_0x2ab57c(_0x1109a1)||_0x1109a1);return _0x1109a1;},_0x3c1828=(_0x31db3f,_0x599339)=>(_0x2d9c11,_0x20bfd1)=>_0x599339(_0x2d9c11,_0x20bfd1,_0x31db3f);let _0x4728f9=class extends _0x38eb38['RxDisposable']{constructor(_0x4f5e7a,_0x3bfaf3,_0x506a02,_0x7aa784,_0x2e691f){var _0x1a9099=_0x1e523d;super(),this[_0x1a9099(0x471)]=_0x4f5e7a,this['_univerInstanceService']=_0x3bfaf3,this[_0x1a9099(0x2ae)]=_0x506a02,this[_0x1a9099(0x2ef)]=_0x7aa784,this[_0x1a9099(0x4ce)]=_0x2e691f,this['_initUnitPermissionChange'](),this[_0x1a9099(0x3cd)]();}[_0x1e523d(0x3cd)](){var _0x42488e=_0x1e523d;const _0x4ede23=async _0x5db992=>{var _0x4c7c60=_0x2e4c;(await this[_0x4c7c60(0x2ef)][_0x4c7c60(0x35d)](_0x5db992))[_0x4c7c60(0x361)][_0x4c7c60(0x2c4)](_0x23a54f['filter'](_0x18eef5=>_0x18eef5['eventID']===_0x21ba50[_0x4c7c60(0x2c1)][_0x4c7c60(0x413)]),_0x23a54f[_0x4c7c60(0x214)](this['dispose$']))['subscribe'](_0x3cb71d=>{var _0x16f2b5=_0x4c7c60;const _0xfbb276=_0x3cb71d,{reason:_0x412205}=_0xfbb276['data'];this[_0x16f2b5(0x4ce)]['emitEvent']({'id':_0x4b31f0['CLOSE_ROOM'],'data':_0x412205}),this[_0x16f2b5(0x2ae)]['updatePermissionPoint'](new _0x56a74c[(_0x16f2b5(0x251))](_0x5db992)['id'],!0x1),this[_0x16f2b5(0x2ef)][_0x16f2b5(0x46d)](_0x5db992);});};_0x14e7e3[_0x42488e(0x27f)](this[_0x42488e(0x1b1)]['getTypeOfUnitAdded$'](_0x38eb38[_0x42488e(0x23c)][_0x42488e(0x4c4)]),this[_0x42488e(0x1b1)]['getTypeOfUnitAdded$'](_0x38eb38[_0x42488e(0x23c)][_0x42488e(0x451)]))[_0x42488e(0x2c4)](_0x23a54f['map'](_0x31f0c4=>_0x31f0c4['getUnitId']()),_0x23a54f[_0x42488e(0x227)](_0x24470f=>!_0x38eb38[_0x42488e(0x45f)](_0x24470f)),_0x23a54f[_0x42488e(0x214)](this[_0x42488e(0x51a)]))[_0x42488e(0x271)](_0xa7d728=>{_0x4ede23(_0xa7d728);});}[_0x1e523d(0x293)](){var _0x85949c=_0x1e523d;const _0x1c5693=async _0x3c3ece=>{var _0x506385=_0x2e4c;const _0x4d5135=await this['_collaborationSessionService'][_0x506385(0x35d)](_0x3c3ece),_0x436efd=this[_0x506385(0x471)][_0x506385(0x239)](_0x56a74c[_0x506385(0x238)]);_0x4d5135[_0x506385(0x361)][_0x506385(0x2c4)](_0x23a54f[_0x506385(0x227)](_0x20b27c=>_0x20b27c[_0x506385(0x52b)]===_0x21ba50[_0x506385(0x2c1)][_0x506385(0x453)]),_0x23a54f[_0x506385(0x214)](this[_0x506385(0x51a)]))[_0x506385(0x271)](_0x25e599=>{var _0x55a5bb=_0x506385;const _0x442870=_0x25e599,{objectId:_0x54597e}=_0x442870[_0x55a5bb(0x434)];_0x54597e===_0x3c3ece?_0x436efd[_0x55a5bb(0x4cd)](_0x3c3ece):_0x436efd[_0x55a5bb(0x4eb)](_0x3c3ece,_0x54597e);});};_0x14e7e3[_0x85949c(0x27f)](this[_0x85949c(0x1b1)][_0x85949c(0x362)](_0x38eb38[_0x85949c(0x23c)][_0x85949c(0x4c4)]))[_0x85949c(0x2c4)](_0x23a54f[_0x85949c(0x404)](_0x1396ad=>_0x1396ad['getUnitId']()),_0x23a54f[_0x85949c(0x227)](_0x5bc5f1=>!_0x38eb38['isInternalEditorID'](_0x5bc5f1)),_0x23a54f[_0x85949c(0x214)](this[_0x85949c(0x51a)]))['subscribe'](_0x5ed234=>{_0x1c5693(_0x5ed234);});}};_0x4728f9=_0x21032b([_0x3c1828(0x0,_0x38eb38['Inject'](_0x38eb38['Injector'])),_0x3c1828(0x1,_0x38eb38[_0x1e523d(0x25e)]),_0x3c1828(0x2,_0x38eb38[_0x1e523d(0x1b9)]),_0x3c1828(0x3,_0x38eb38[_0x1e523d(0x20f)](_0x386c41[_0x1e523d(0x414)])),_0x3c1828(0x4,_0x38eb38['Inject'](_0x541cfa))],_0x4728f9);var _0x2afb8f=Object['getOwnPropertyDescriptor'],_0x391368=(_0x280f46,_0x5b3bdd,_0x1df263,_0x365e31)=>{var _0x18389d=_0x1e523d;for(var _0xec6670=_0x365e31>0x1?void 0x0:_0x365e31?_0x2afb8f(_0x5b3bdd,_0x1df263):_0x5b3bdd,_0x3da5b1=_0x280f46[_0x18389d(0x254)]-0x1,_0x5c8312;_0x3da5b1>=0x0;_0x3da5b1--)(_0x5c8312=_0x280f46[_0x3da5b1])&&(_0xec6670=_0x5c8312(_0xec6670)||_0xec6670);return _0xec6670;},_0x3acae6=(_0x23f502,_0x36213a)=>(_0x559e19,_0x459f9b)=>_0x36213a(_0x559e19,_0x459f9b,_0x23f502);_0x386c41[_0x1e523d(0x1b4)]=class{constructor(_0x15f19e,_0x4bfad4){var _0x5f1509=_0x1e523d;this[_0x5f1509(0x462)]=_0x15f19e,this['_httpService']=_0x4bfad4;}async['getUnitOnRev'](_0x54d9fe,_0x387f12){var _0x4b0ee8=_0x1e523d,_0x27b718;const {unitID:_0x1380ba,type:_0x327449,revision:_0x10981b=0x0}=_0x387f12,_0x40742f=this[_0x4b0ee8(0x297)]()+'/'+_0x327449+_0x4b0ee8(0x2d0)+_0x1380ba+'/rev/'+_0x10981b,_0x48ae77=(await this[_0x4b0ee8(0x426)][_0x4b0ee8(0x239)](_0x40742f))[_0x4b0ee8(0x364)],_0x419aa1=(_0x27b718=_0x48ae77[_0x4b0ee8(0x1e9)])==null?void 0x0:_0x27b718[_0x4b0ee8(0x3f4)];if(_0x419aa1){const _0x278683=_0x419aa1==null?void 0x0:_0x419aa1[_0x4b0ee8(0x4cc)],_0x4650ff=_0x21ba50[_0x4b0ee8(0x360)]['encode'](_0x21ba50[_0x4b0ee8(0x22d)](_0x278683));_0x419aa1['originalMeta']=_0x4650ff,Object[_0x4b0ee8(0x454)](_0x419aa1[_0x4b0ee8(0x24f)])[_0x4b0ee8(0x52c)](([,_0xc33081])=>{var _0x3d2c35=_0x4b0ee8;const _0x626c3c=_0xc33081[_0x3d2c35(0x4cc)],_0x20ab05=_0x21ba50[_0x3d2c35(0x360)][_0x3d2c35(0x291)](_0x21ba50['b64DecodeUnicode'](_0x626c3c));_0xc33081[_0x3d2c35(0x4cc)]=_0x20ab05;});}return _0x48ae77;}async['getSheetBlock'](_0x3718cf,_0x433df3){var _0x38ffd8=_0x1e523d;const {unitID:_0x1f53d9,type:_0x409d48,blockID:_0x45a3fc}=_0x433df3,_0xcae70e=this[_0x38ffd8(0x268)]()+'/'+_0x409d48+_0x38ffd8(0x2d0)+_0x1f53d9+_0x38ffd8(0x324)+_0x45a3fc;return(await this[_0x38ffd8(0x426)]['get'](_0xcae70e))[_0x38ffd8(0x364)];}async[_0x1e523d(0x259)](_0x1ce410,_0x3c8f57){var _0x56b907=_0x1e523d;const {unitID:_0x1c3b2c,type:_0x35f880,blockID:_0x19de7d}=_0x3c8f57,_0x4702db=this['_getAPIPrefix']()+_0x56b907(0x324)+_0x35f880+_0x56b907(0x2d0)+_0x1c3b2c+_0x56b907(0x324)+_0x19de7d;return(await this[_0x56b907(0x426)][_0x56b907(0x239)](_0x4702db))[_0x56b907(0x364)];}async[_0x1e523d(0x307)](_0x5dc38f,_0xafb070){var _0x549d9e=_0x1e523d;const {unitID:_0x5d92e6,type:_0x3bb4f2,from:_0x23629b,to:_0x52e0be}=_0xafb070,_0x287da0=this[_0x549d9e(0x268)]()+'/'+_0x3bb4f2+_0x549d9e(0x2d0)+_0x5d92e6+_0x549d9e(0x499)+_0x23629b+_0x549d9e(0x2f2)+_0x52e0be;return(await this[_0x549d9e(0x426)][_0x549d9e(0x239)](_0x287da0))[_0x549d9e(0x364)];}['getSnapshotAPIPath'](){var _0x5f01a1=_0x1e523d,_0x55caa6;return(_0x55caa6=this['_configService'][_0x5f01a1(0x508)](_0x167f57))!=null?_0x55caa6:this[_0x5f01a1(0x268)]();}['_getAPIPrefix'](){var _0x22b32c=_0x1e523d,_0x37fd58,_0x595ca3;const _0x2c5dc8=this[_0x22b32c(0x462)]['getConfig'](_0xce3e87),_0x458dcd=this['_configService'][_0x22b32c(0x508)](_0x10421d);return(_0x595ca3=(_0x37fd58=_0x458dcd==null?void 0x0:_0x458dcd[_0x22b32c(0x506)])!=null?_0x37fd58:_0x2c5dc8)!=null?_0x595ca3:_0x537dd0;}async[_0x1e523d(0x3fc)](_0x1d4f37,_0x8f095){var _0x2cf9b1=_0x1e523d;const _0x49d8bd=_0x2cf9b1(0x3d6)+_0x8f095['type']+_0x2cf9b1(0x2d0)+_0x8f095[_0x2cf9b1(0x2d8)]+_0x2cf9b1(0x455);return(await this[_0x2cf9b1(0x426)]['get'](_0x49d8bd,{'params':{'resourceId':JSON[_0x2cf9b1(0x53c)](_0x8f095['resourceIDs'])}}))[_0x2cf9b1(0x364)];}[_0x1e523d(0x4ab)](){var _0x37f34a=_0x1e523d;throw new Error(_0x37f34a(0x201));}[_0x1e523d(0x1ea)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1e523d(0x524)](){var _0x1b0830=_0x1e523d;throw new Error(_0x1b0830(0x201));}[_0x1e523d(0x343)](){var _0x47c921=_0x1e523d;throw new Error(_0x47c921(0x201));}[_0x1e523d(0x31f)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},_0x386c41['SnapshotServerOverHTTPService']=_0x391368([_0x3acae6(0x0,_0x38eb38[_0x1e523d(0x442)]),_0x3acae6(0x1,_0x38eb38['Inject'](_0x4dd461['HTTPService']))],_0x386c41[_0x1e523d(0x1b4)]);var _0xead51e=Object[_0x1e523d(0x4a8)],_0x2f2503=(_0x52762f,_0x1bc063,_0x3f7172,_0x5f5277)=>{var _0x2548f7=_0x1e523d;for(var _0x275ba0=_0x5f5277>0x1?void 0x0:_0x5f5277?_0xead51e(_0x1bc063,_0x3f7172):_0x1bc063,_0x1f2144=_0x52762f[_0x2548f7(0x254)]-0x1,_0xebd1a0;_0x1f2144>=0x0;_0x1f2144--)(_0xebd1a0=_0x52762f[_0x1f2144])&&(_0x275ba0=_0xebd1a0(_0x275ba0)||_0x275ba0);return _0x275ba0;},_0x1b6c0f=(_0x9cd714,_0x1b7823)=>(_0x1066b8,_0x1504e9)=>_0x1b7823(_0x1066b8,_0x1504e9,_0x9cd714);_0x386c41['CollaborativeUndoRedoService']=class extends _0x38eb38[_0x1e523d(0x435)]{constructor(_0x3d6f56,_0x1c58bb,_0x59c96b,_0x4a437c,_0x5ce32c){var _0x1f21d5=_0x1e523d;super(_0x3d6f56,_0x1c58bb,_0x59c96b),this[_0x1f21d5(0x4d9)]=_0x4a437c,this[_0x1f21d5(0x4a4)]=_0x5ce32c;}[_0x1e523d(0x3d1)](_0x4c89d5,_0x5016bd){var _0x328d06=_0x1e523d;const _0x282ccd=this['_getUndoStack'](_0x4c89d5);if(_0x282ccd)try{const _0x51a5ce=this[_0x328d06(0x306)](_0x282ccd,_0x5016bd);this[_0x328d06(0x3a0)](_0x4c89d5,_0x51a5ce);}catch(_0x2afcf6){this[_0x328d06(0x4a4)]['error'](_0x328d06(0x4d3),_0x2afcf6),this['_clearUndo'](_0x4c89d5);}const _0x24fa38=this['_getRedoStack'](_0x4c89d5);if(_0x24fa38)try{const _0x4123ee=this['_transformStack'](_0x24fa38,_0x5016bd);this[_0x328d06(0x423)](_0x4c89d5,_0x4123ee);}catch(_0x47b7d5){this[_0x328d06(0x4a4)][_0x328d06(0x450)](_0x47b7d5),this[_0x328d06(0x38f)](_0x4c89d5);}}[_0x1e523d(0x1d2)](_0x4e6a9a){var _0x5e1fe4=_0x1e523d;const _0x360c9b=this[_0x5e1fe4(0x2af)](_0x4e6a9a);_0x360c9b&&(_0x360c9b[_0x5e1fe4(0x254)]=0x0,this[_0x5e1fe4(0x39b)]());}[_0x1e523d(0x38f)](_0x332a68){var _0x56f594=_0x1e523d;const _0x13b1e=this[_0x56f594(0x4fa)](_0x332a68);_0x13b1e&&(_0x13b1e[_0x56f594(0x254)]=0x0,this[_0x56f594(0x39b)]());}[_0x1e523d(0x3a0)](_0x3c08e1,_0x6d7636){var _0x4a4154=_0x1e523d;this['_undoStacks'][_0x4a4154(0x399)](_0x3c08e1,_0x6d7636),this['_updateStatus']();}[_0x1e523d(0x423)](_0x5d7d5b,_0x4b4d34){var _0x59cb98=_0x1e523d;this['_redoStacks'][_0x59cb98(0x399)](_0x5d7d5b,_0x4b4d34),this[_0x59cb98(0x39b)]();}[_0x1e523d(0x306)](_0xfea942,_0x224a74){var _0x5f4464=_0x1e523d;const _0x18ab78=[];let _0x2fcbcd=_0x224a74,_0xdcd0ef=_0x224a74;for(let _0x2975e6=_0xfea942[_0x5f4464(0x254)]-0x1;_0x2975e6>=0x0;_0x2975e6--){const {unitID:_0x409e03,undoMutations:_0x1e85d1,redoMutations:_0x3916d3}=_0xfea942[_0x2975e6],_0x5caf84=this[_0x5f4464(0x4d9)][_0x5f4464(0x325)](_0x2fcbcd,_0x1e85d1),_0x2a8c95=this['_transformService']['transformMutationsWithChangeset'](_0xdcd0ef,_0x3916d3);if(_0x21ba50['isTransformMutationsWithChangesetFailure'](_0x5caf84)||_0x21ba50['isTransformMutationsWithChangesetFailure'](_0x2a8c95)){this[_0x5f4464(0x4a4)][_0x5f4464(0x450)]('[CollaborationUndoRedoService]',_0x5f4464(0x2b6),_0x5caf84,_0x2a8c95);break;}_0x2fcbcd=_0x5caf84[_0x5f4464(0x49b)],_0xdcd0ef=_0x2a8c95[_0x5f4464(0x49b)],_0x18ab78[_0x5f4464(0x1f2)]({'unitID':_0x409e03,'undoMutations':_0x5caf84['m2Prime'],'redoMutations':_0x2a8c95[_0x5f4464(0x540)]});}return _0x18ab78[_0x5f4464(0x401)]();}},_0x386c41['CollaborativeUndoRedoService']=_0x2f2503([_0x1b6c0f(0x0,_0x38eb38[_0x1e523d(0x25e)]),_0x1b6c0f(0x1,_0x38eb38[_0x1e523d(0x3de)]),_0x1b6c0f(0x2,_0x38eb38[_0x1e523d(0x3e6)]),_0x1b6c0f(0x3,_0x21ba50[_0x1e523d(0x2ad)]),_0x1b6c0f(0x4,_0x38eb38[_0x1e523d(0x220)])],_0x386c41[_0x1e523d(0x393)]);var _0xf306db=Object[_0x1e523d(0x3e3)],_0x29eb87=Object['getOwnPropertyDescriptor'],_0x320283=(_0x54da3b,_0x467411,_0x26a964)=>_0x467411 in _0x54da3b?_0xf306db(_0x54da3b,_0x467411,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x26a964}):_0x54da3b[_0x467411]=_0x26a964,_0x22012a=(_0x300f85,_0x2f54a3,_0x2b8382,_0x5822eb)=>{var _0x101d30=_0x1e523d;for(var _0x593481=_0x5822eb>0x1?void 0x0:_0x5822eb?_0x29eb87(_0x2f54a3,_0x2b8382):_0x2f54a3,_0x26cd4d=_0x300f85[_0x101d30(0x254)]-0x1,_0x841ffd;_0x26cd4d>=0x0;_0x26cd4d--)(_0x841ffd=_0x300f85[_0x26cd4d])&&(_0x593481=_0x841ffd(_0x593481)||_0x593481);return _0x593481;},_0x496bcb=(_0x1ee77c,_0x185fc6)=>(_0x1929a0,_0x2e29b1)=>_0x185fc6(_0x1929a0,_0x2e29b1,_0x1ee77c),_0x3a93ac=(_0x40f299,_0x496440,_0x38b486)=>_0x320283(_0x40f299,_0x496440+'',_0x38b486);const _0x1e587b=_0x1e523d(0x27d);_0x386c41[_0x1e523d(0x376)]=class extends _0x38eb38['Plugin']{constructor(_0x10dcbe,_0x583095,_0x582dc9,_0x6becb9){var _0x1114a7=_0x1e523d;super(),_0x4e8dd0(this,_0x1114a7(0x42e)),(this[_0x1114a7(0x4a4)]=_0x583095,this[_0x1114a7(0x471)]=_0x582dc9,this[_0x1114a7(0x462)]=_0x6becb9);const {..._0x306c8a}=_0x38eb38[_0x1114a7(0x27f)]({},_0x2719a7,_0x10dcbe);if(!_0x306c8a[_0x1114a7(0x36d)])throw new Error(_0x1114a7(0x340));this['_config']=_0x306c8a,this['_configService']['setConfig'](_0x10421d,_0x306c8a);}[_0x1e523d(0x4d7)](){var _0x91881d=_0x1e523d;this[_0x91881d(0x424)](),this[_0x91881d(0x334)]();}[_0x1e523d(0x424)](){var _0x4b26bb=_0x1e523d,_0xbe9be6,_0x1aa82c;this[_0x4b26bb(0x471)]['has'](_0x38eb38['IUndoRedoService'])&&this['_logService']['error'](_0x4b26bb(0x1bf),_0x4b26bb(0x463));const _0x52cbad=_0x38eb38['mergeOverrideWithDependencies']([[_0x38eb38[_0x4b26bb(0x285)],{'useClass':_0x386c41[_0x4b26bb(0x393)]}],[_0x386c41[_0x4b26bb(0x414)]],[_0x386c41['MemberService']],[_0x386c41[_0x4b26bb(0x317)]],[_0xc22030],[_0x2aa4e1],[_0x3fd561],[_0x4728f9],[_0x541cfa],[_0x386c41[_0x4b26bb(0x44c)]],[_0x313db0,{'useClass':this[_0x4b26bb(0x42e)][_0x4b26bb(0x36d)]}],[_0x21ba50[_0x4b26bb(0x231)],{'useClass':_0x386c41[_0x4b26bb(0x1b4)]}],[_0x38eb38[_0x4b26bb(0x3b7)],{'useClass':_0x386c41[_0x4b26bb(0x490)]}],[_0x243978[_0x4b26bb(0x35b)],{'useClass':_0x386c41['CollaborationImageIoService']}],[_0x38eb38[_0x4b26bb(0x2f7)],{'useClass':_0x386c41[_0x4b26bb(0x3a4)]}],[_0x386c41[_0x4b26bb(0x26f)]],[_0x53bdad]],(_0xbe9be6=this['_config'])==null?void 0x0:_0xbe9be6[_0x4b26bb(0x242)]);if(!((_0x1aa82c=this[_0x4b26bb(0x42e)])!=null&&_0x1aa82c[_0x4b26bb(0x28f)])){const _0x301cf7=_0x52cbad['findIndex'](([_0x32de1c])=>_0x32de1c===_0x2c1154);_0x301cf7!==-0x1&&_0x52cbad[_0x4b26bb(0x3fd)](_0x301cf7,0x1);}_0x38eb38[_0x4b26bb(0x3f0)](this[_0x4b26bb(0x471)],_0x52cbad);}[_0x1e523d(0x334)](){var _0xaa66e8=_0x1e523d,_0x39e122,_0x2cebfe,_0x2654c4;this[_0xaa66e8(0x471)][_0xaa66e8(0x239)](_0x4dd461[_0xaa66e8(0x374)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x4dd461['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x39e122=this['_config'])!=null&&_0x39e122[_0xaa66e8(0x3cb)]||(_0x2cebfe=this[_0xaa66e8(0x471)][_0xaa66e8(0x239)](_0x414e11,_0x38eb38[_0xaa66e8(0x2f1)][_0xaa66e8(0x3ad)]))==null||_0x2cebfe[_0xaa66e8(0x2e9)](),(_0x2654c4=this[_0xaa66e8(0x42e)])!=null&&_0x2654c4[_0xaa66e8(0x45e)]&&_0x38eb38['touchDependencies'](this[_0xaa66e8(0x471)],[[_0xc22030]]),_0x38eb38[_0xaa66e8(0x303)](this[_0xaa66e8(0x471)],[[_0x2aa4e1],[_0x386c41[_0xaa66e8(0x26f)]],[_0x4728f9]]);}},_0x3a93ac(_0x386c41[_0x1e523d(0x376)],_0x1e523d(0x466),_0x1e587b),_0x386c41['UniverCollaborationClientPlugin']=_0x22012a([_0x38eb38[_0x1e523d(0x2a4)](_0x21ba50[_0x1e523d(0x1c0)],_0x4dd461[_0x1e523d(0x493)]),_0x496bcb(0x1,_0x38eb38[_0x1e523d(0x220)]),_0x496bcb(0x2,_0x38eb38[_0x1e523d(0x20f)](_0x38eb38[_0x1e523d(0x367)])),_0x496bcb(0x3,_0x38eb38[_0x1e523d(0x442)])],_0x386c41[_0x1e523d(0x376)]),_0x386c41[_0x1e523d(0x50a)]=_0x1ede6d,_0x386c41[_0x1e523d(0x276)]=_0x10421d,_0x386c41[_0x1e523d(0x1ce)]=_0x484800,_0x386c41[_0x1e523d(0x284)]=_0x1458a7,_0x386c41['CollaborationStatus']=_0x248a6a,_0x386c41[_0x1e523d(0x3ee)]=_0x4b31f0,_0x386c41['CollaborationUIEventService']=_0x541cfa,_0x386c41['CommentService']=_0x3fd561,_0x386c41[_0x1e523d(0x1cc)]=_0x59b5ec,_0x386c41[_0x1e523d(0x2a7)]=_0x1406ab,_0x386c41[_0x1e523d(0x353)]=_0x5aba52,_0x386c41[_0x1e523d(0x25c)]=_0xf582f2,_0x386c41[_0x1e523d(0x53a)]=_0x10a2b2,_0x386c41[_0x1e523d(0x2cc)]=_0x313db0,_0x386c41[_0x1e523d(0x428)]=_0x414e11,_0x386c41[_0x1e523d(0x1e6)]=_0xabc7a6,_0x386c41['ISingleActiveUnitService']=_0x2c1154,_0x386c41['LOCAL_CACHE_INTERVAL']=0x3e8,_0x386c41[_0x1e523d(0x4fb)]=_0x19c4f2,_0x386c41[_0x1e523d(0x3b2)]=_0x54b291,_0x386c41[_0x1e523d(0x459)]=_0x26b42a,_0x386c41[_0x1e523d(0x262)]=_0x173426,_0x386c41['SEND_CHANGESET_TIMEOUT_KEY']=_0x33c5eb,_0x386c41[_0x1e523d(0x1cf)]=_0xce3e87,_0x386c41[_0x1e523d(0x342)]=_0x167f57,_0x386c41[_0x1e523d(0x2ea)]=_0x3e29d6,_0x386c41['UnitStatus']=_0x530e8f,_0x386c41[_0x1e523d(0x247)]=_0x1da4e6,_0x386c41[_0x1e523d(0x1f5)]=_0xe4a168,_0x386c41[_0x1e523d(0x250)]=_0x92190a,Object[_0x1e523d(0x3e3)](_0x386c41,Symbol[_0x1e523d(0x411)],{'value':_0x1e523d(0x3ac)});}));
|
1
|
+
function _0x3bb7(){var _0x429da6=['from','/unit/','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_resendTimeout','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','INVITE_CODE_REQUIRED','ISnapshotServerService','disableLocalCache','CipherParams','reduce','_createHandler','pad','_getAPIPrefix','crypto','_commentService','IUniverInstanceService','charAt','AwaitingWithPendingState','call','asObservable','close$','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_transformRemoteChangesetByStateCache','_socketService','liveShareOperation','_process','duration','toLowerCase','getCollabEntity$','enc','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','setWaitCount','rxjs','_onFetchMissResult','appendMutation','object','_onOffline','_sendHeartbeatTimer','reject','_remoteChangesetQueue','Base','SOCKET_FAILED','isPermissionRej','_prevBlock','resolve','removeMember','USERS_ENTER','sessionStatus','getUnitOnRev','_scheduleCollaborationTimeoutTimer','ImageUploadStatusType','_onRemoteRejected','newCsEvent','UNIVER_UNKNOWN','reset','loadOfflineData','_toggleOffline','getTypeOfUnitDisposed$','_onConnectionFailed','CommandType','socket\x20close','Workbook','clone','UNIVER_DOC','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','parseChangesetToProtocol','merge','JOIN_ROOM_NOT_EXISTS','UniverCollaborationClientPlugin','SNAPSHOT_SERVER_URL_KEY','\x20-\x20','_injector','UniverInstanceType','156747BLYJUA','getCurrentUser','IAuthzIoService','_DEC_XFORM_MODE','_transformStateCache','getAllMembers','blockSize','members$','_showConflictNotification','HMAC','SheetTransformSelectionsService','indexOf','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','collaboratorID','hostname','CollaborationImageIoService','_handler','clamp','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','localeService','catch','68kjimwA','batchAllowed','_startTelemetryCollaborationNewChangeset','_socket$','AWAITING','_onUserLeave','onStateChange','CollaborationEntity','_memberService','NOT_FOUND','@univerjs-pro/collaboration','Rectangle','SNAPSHOT_INVALID_SNAPSHOT','LOCAL_CACHE_INTERVAL','close','debug','SessionStatus','roles','_listenToNetworkCondition','finalize','_shouldReportTelemetry','takeUntil','retryConnectingInterval','complete','[CollaborationSessionService]','_members$','keySize','ReplaySubject','APPLY_PERMISSION_DENIED','parseProtocolChangeset','_executeRemoteChangeset','add','reqId','\x20in\x20_schedule.','ONLINE','decrypt','INGEST','_collaborationSessionService','Undefined','HttpExport','_init','SEND_CHANGESET_TIMEOUT','session.room-full','collabWebSocketUrl','WECHAT_HAS_BEEN_BOUND','waitForRoom$','listCollaborators','IDLE','bind','updatePermissionPoint','Error\x20on\x20receiving\x20event','DEFAULT_FILE_NAME','append','_snapshotServerService','_applyRemoteChangeset','\x20to\x20','fromCharCode','mode','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','entityInit$','HttpImport','encode','Base64','LOGIN_FAILED','_sendHeartbeat','BehaviorSubject','LICENSE_DISTRO_REJECTED','UniverTelemetry','ImageSourceType','ivSize','{fileID}','getCurrentSelections','onMissingChangesets','Utf8','iterations','not_collab','deepClone','UNAUTHENTICATED','_onMessage','PasswordBasedCipher','_transitionLocked','/universer-api/uniscript','_telemetryService','_roomMembers','_sessionStatus$','COLLAB_SUBMIT_CHANGESET_URL_KEY','UnitSnapshot','infoRsp','title','RETRY_CONNECTING_MAX_COUNT_KEY','/universer-api/oidc/authpage','prototype','_change$','_socketMessageSubscription','filter','_substituteRedoStack','forEach','startsWith','shouldCloseConn','_onRemoteRetry','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','UniverProLicense','getWorkbookSelections','SNAPSHOT_HAS_BEEN_REMOVED','image/gif','exports','_localeService','LIVESHARE_FETCH_OPERATIONS','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_scheduleCompleteTimestamp','apply','members','next','confirm','resend','_collaborationPaused','@univerjs-pro/license','revision','transformMutationsWithChangeset','emitEvent','put','_socket','_configService','ICollaborationSocketService','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_acknowledgedAwaitingChangeset','_state$','AuthzIoHttpService','rng','toggleOffline','file','_key','NEW_CHANGESETS','_rescheduleHeartbeat','IContextService','/block/','getResourcesRequest','isInternalEditorID','AES','_createHelper','CollaborationSessionService','_userManagerService','onTransformIME','downloadEndpointUrl','UNIVER_PROJECT','PendingState','Tools','USER_NOT_INVITED_CODE','/allowed','size','_clearHeartbeatTimer','createSocket','_resendWithTimeout','_eventService','random','_disableEditing','concat','substr','onSyncEditingCollabCursor','_type','onRemoteRej','commentUpdate$','HmacMD5','SUCCUSS','function','createIdentifier','compute','encrypt','collaborators','_hasher','list','status$','map','BASE64','LIVESHARE_REQUEST_HOST','isTransformMutationsWithChangesetFailure','_candidateSocket','getImage','_sender','Injector','SyncedState','8oobyko','_imageSourceCache','abs','BlockCipher','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','MentionType','src','getDeserializedSheetBlock','words','UNIVER_COLLABORATION_CLIENT_PLUGIN','YUUMI_SUBSCRIPTION_NOT_FOUND','mutations','randomBytes','updatePermissionObjEvent','IUndoRedoService','EMAIL_HAS_BEEN_BOUND','_ENC_XFORM_MODE','Cipher','_getCurrentRevision','INTERNAL_ERROR','OFFLINE','userID','textRanges','_sendingTimer','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','COMPRESS_MUTATION_APPLY','SnapshotServerOverHTTPService','state$','transformUndoRedo','JOIN_ROOM_FULL','_pendingMutations','_data','UNISCRIPT_RUN','deserializeToCombResponse','COLLAB_WEB_SOCKET_URL','localCacheService','ceil','[CollaborationSession]','now','POST','error$','Module','[DataLoaderService]','format','_toggleOnline','CompressMutationService','loadSheet','HmacSHA1','result','sheets','_transformSelections','default','PY_RUNTIME_SCRIPT_ERROR','UnitStatus','_univerInstanceService','createInstance','@univerjs/network','WordArray','_transformRemoteChangesetByIMECache','YUUMI_RATE_OVER_LIMIT','encryptBlock','has','_config','join','getTime','padding','CollaborationUIEventId','byteLength','loadUnit','[CollaborationUndoRedoService]','parse','fetch_missing','submit\x20changeset\x20error!','Hasher','YUUMI_NO_CUBOID_FOR_QUESTION','name','getCollabEntity','&source=','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','getImageSourceCache','_cipher','DataLoaderService','_initMergeInterceptor','originalMeta','_unlockTransition','OPTIONAL','transformChangesets','_throwTelemetryCollaborationNewChangeset','dispose$','_decreaseWaiting','UPDATE_PERMISSION_OBJ','/collaborator','defineProperty','symbol','dispose','[OfflineState]:\x20received\x20changeset.','OTHER_CLIENT_EDITING','_entityInit$','?url=','_transformIMECache','_snapshotService','event$','_startCollaboration','6433413pxgvEw','putCollaborators','_retryCount','splice','_members','toggleOnline','_httpService','roomInfos','univer-pro.collaboration-client.single-active-unit-service','_incrementRevisionNumber','initWorkbookPermissionChange','/role','PENDING','\x0aCurrent:\x20','HTTPRequest','CONNECTOR_DATA_TOO_LARGE','_getDownloadEndpointURL','objectType','onRemoteChangeset','getMemberID','_clearLocalCache','getLatestCsReqIdBySid','UNIVER_SHEET','memberID','interceptor','saveChangeset','override','PSEUDO_FETCH_MISSING_RESULT','socket$','UserProfileImg','onTransformState','ITransformService','YUUMI_UNABLE_LOAD_URL','take','[CollaborationEntity]','RECV','ThresholdInterceptorFactory','Optional','_waitCount','CBC','awaiting','EvpKDF','message$','reverse','getRandomValues','CollaborationSession','HEARTBEAT_INTERVAL','_networkConditionService','_event$','isTransformMutationsWithChangesetSuccess','execute','saveImage','&assign=','SUBMIT_CHANGESET','_schedule','_collaborationUIEventService','IImageIoService','HELLO','_resendTimer','delay','OpenSSL','ciphertext','UniverProCollaboration','startTime','getCurrentRevOfUnit','COLLAB_SUBMIT_CHANGESET_URL','5BiSaRv','createCollaborator','_iKey','isArray','registerHTTPInterceptor','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','RxDisposable','csShouldRetryEvent','CollaborationController','unsubscribe','MentionIoHttpService','@univerjs/drawing','charCodeAt','_initUnitPermissionChange','HTTPService','CHANGESET_SHOULD_RETRY','set','_createInitialState','univer-pro.collaboration-client-socket-service','140517BAYcFZ','then','11749815jWDRAn','_mode','TOO_MANY_REQUESTS','_fetchMissChangesets','transformSelections','LIVESHARE_TERMINATE','hasOwnProperty','Hex','WorkbookEditablePermission','463784NZyKgy','Latin1','MUTATION','_transformUndoredo','getActiveSheet','CLOSE_ROOM','CollaborativeUndoRedoService','OfflineState','getTypeOfUnitAdded$','/new_changes','stopTime','_unitInfo$','135iyFvDw','formatter','COMMENT_UPDATE','ERROR_IMAGE','RevisionService','getOwnPropertyDescriptor','updateMember','isTransformChangesetsSuccess','unitID','_nDataBytes','leaveEvent','FETCH_MISSING','routeKey','_tryEnsureSocket','ILogService','_onCombEvent','unitId\x20is\x20not\x20found','send','DocCollaborationEntity','min','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','99690zTsqfL','params','url','generateRandomId','NoPadding','fetchThroughInterceptors','capture','ws://127.0.0.1:8000/universer-api/comb/connect','_loadSheet','APPLY_REVISION_CONFILICT','onSendChangeset','_waitForHeartbeatResponse','_instanceService','responseType','sid','fromCollab','body','_doProcessBlock','_socketReady','stringify','ERROR_IMAGE_TYPE','eventID','requireSession','_parse','LICENSE_EXPORT_SIZE_EXCEEDED','LIVESHARE_NEW_HOST','LICENSE_IMPORT_SIZE_EXCEEDED','_reverseMap','enableOfflineEditing','mixIn','slice','/object','init','clear','_hash','LIVESHARE_OPERATION','delete','getConfig','Disposable','session.room-not-exists','decryptBlock','find','OTHER_CLIENTS_EDITING','image/bmp','awaitingChangeset','fetching\x20missing\x20changesets\x20from\x20','setShowComponents','_timeoutTimer','baseRev','Encryptor','requestParams','JOIN_ROOM_FAILED','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','StreamCipher','_tryReconnect','HEARTBEAT_INTERVAL_KEY','[OfflineState]:\x20received\x20rejection.','_telemetryInfo','pending','getValue','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','USERS_LEAVE','mergeOverrideWithDependencies','c2Prime','conflict','_sheetTransformSelectionsService','_submitChangeset','_onConflict','/universer-api/snapshot','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_replaceFileID','_clearRetryConnectingTimer','__creator','FetchingMissState','_awaitingChangeset','getUnitType','NO_OTHER_CLIENTS_EDITING','JOIN_ROOM_PERMISSION_DENIED','toString','connection\x20error','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','APPLY_DUPLICATED','msCrypto','authzUrl','sessionStatus$','_permissionService','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','post','$super','socketService','subscribe','_lockTransition','_onJoinRoomEvent','getFocusedUnit','liveShareNewHost','unitInfo$','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','LocaleService','_onLocalMutation','UNKNOWN_CODE','_changesetReqId','UniverCollaborationPlugin','ALREADY_EXISTS','AWAITING_WITH_PENDING','_doCryptBlock','_undoRedoService','objectActions','touchDependencies','_append','kdf','toDisposable','onTransformRemoteChangesetByIMECache','_onRemoteChangeset','42664536awbbql','includes','key','entries','UNIVER_SLIDE','CollaborationSocketService','_emitMembers','UNDEFINED','avatar','PERMISSION_DENIED','BufferedBlockAlgorithm','CONFLICT','PERSON','CHANGESET_REJ','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_logService','onTransformRemoteChangesetByStateCache','INVALID_INVITE_CODE','onlyLocal','ConflictState','@univerjs/sheets','_status$','_oKey','_initRequestHeader','pauseCollaboration','findIndex','code','joinEvent','signUrlServerUrl','_nRounds','_onUserJoin','getUnit','status','Decryptor','algo','UserManagerService','setConfig','createDecryptor','UniverNetwork','onRemoteAck','snapshotServerUrl','[CollaborationSessionService]:\x20socket\x20error','c1Prime','SYNCED','byteOffset','/universer-api/snapshot/','_retryConnectingTimer','_onRecvEvent','subUnitId','CHANGESET_ACK','updateCollaborator','\x0aAfter:\x20','_handlerCallback','SetSelectionsOperation','UPDATE_CURSOR','reconnect','Failed\x20to\x20update\x20permission\x20point','ICommandService','DEFAULT_COLLAB_WEB_SOCKET_URL','_iv','push','_doReset','1190yfDkiQ','open$','cfg','SNAPSHOT_URL_KEY','_HTTPService','every','amd','MemberService','@univerjs/telemetry','getInterceptPoints','_singleActiveUnitService','LEAVE','onload','[PendingState]:\x20received\x20acknowledgement.','UNRECOGNIZED','_localCacheService','_initDependencies','/universer-api/comb','create','onRemoteRetry','_roomCreated$','_keySchedule','COMPLETION_FINISHED','DEFAULT_WS_SESSION_TICKET_URL','_map','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','@univerjs/core','copyFileMeta','replace','range','addHandlerCallback','LICENSE_MAX_UNITS_EXCEEDED','onCommandExecuted','onLocalMutation','FETCH_MISS','HEARTBEAT','_sessions','RETRY_CONNECTING_MAX_COUNT','_createHmacHelper','_registerDependencies','_checkMissing','/-/object/list','error','_replayCachedMutations','/universer-api/authz','univer-pro.collaboration-client.network-condition.service','_createInitialStateImpl','CHANGESET_REVISION_CONFILICT','SHOULD_CLOSE_CONN','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','floor','/universer-api/user/session-ticket','EXCHANGE_SIGN_URL_SERVER_URL_KEY','IConfigService','RichTextEditingMutation','SHA1','_exhaustRemoteChangesetQueue','_substituteUndoStack','_transformStack','_onRemoteACK','withCredentials','offline','hasher','uniscriptRunEvent','getUnitId','onCommentUpdate','JOIN','state','/-/object/-/batch_allowed','SheetCollaborationEntity','update','/object/','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','actions','_joinRoom','Subject','_xformMode','_revisionService','_getSignURL','_clearUndo','_collaborationTimeoutTimer','InsertSheetMutation','_commandService','_clearRedo','_updateStatus','People','workbook','synced','image/jpg','socket\x20open.','_loadDoc','location','_entities','concatMap','_commentUpdate$','_updateLocalCache','firstValueFrom','readAsDataURL','Plugin','ILocalCacheService','x-univer-host','href','mapDocumentTypeToUniverType','_getUndoStack','loadDoc','save\x20fail\x20reason\x20is\x20','_state','_queuedRemoteChangesets','_getCtorByUniverType','operators','_createSocket','MD5','disposeWithMe','CollaborationEvent','LOGIN_URL_KEY','sigBytes','getGlobalObject','getUnitStatus$','_onConnectionOpen','ENSURE_SNAPSHOT_EXECUTION','IPermissionService','extend','GLOBAL_ROOMS_CNT_EXCEEDS','cmd','[SyncedState]:\x20received\x20acknowledgement.','string','data','buffer','json','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','SUBMIT_CHANGESET_TIMEOUT','UniverDocs','type','Univer','objectID','unitId','awaiting_with_pending','target','HEARTBEAT_TIMEOUT_KEY','b64DecodeUnicode','_changesetSessionId','INVITE_CODE_ALREADY_BOUND','LocalUndoRedoService','lib','_syncEditingCollabCursor','_compressMutationService','BlockCipherMode','Inject','fetchMiss','SEND_CHANGESET_TIMEOUT_KEY','incrementRevOfUnit','APPLY_REJECT','DisposableCollection','_unitID','unknown','__esModule','Could\x20not\x20dynamically\x20require\x20\x22','selections','onMissedChangesetFetched','_transformService','patch','_getSendChangesetTimeout','length','@univerjs/docs','DependentOn','randomUUID','_initCloseConn','get','executeCommand','MOBILE_HAS_BEEN_BOUND','UNKNOWN_CMD','_getAPIPrefixPath','session','origin','getSnapshotAPIPath','MSG_FOR_ERROR','changesets','rev','collaMsg','salt','_undoStacks','snapshot','m2Prime','UniverCore','UniverSheets','FAIL','commentUpdateEvent','PERMISSION_REJ','UnitEmbedded','getMember','refreshPermission','EmptyMutation','_isPermissionRej','pipe','listRoles','AUTHZ_URL_KEY','COMPRESS_MUTATION_SEND','shareReplay','&to=','session.room-permission-denied','SOCKET_FAILED_RETRY','editingUnit','readInt32LE','INVALID_ARGUMENT','processBlock','_invKeySchedule','_doCreateSocket','_clearScheduledTask','subject','_stopTelemetryCollaborationNewChangeset','allowed','auth.needGotoLoginAlert','uploadFileServerUrl','updateOfflineData','onTransformSelections','AwaitingState','ITelemetryService','NOT_COLLAB','/fetchmissing?from=','_collabSessionService','JOINING','_updateState'];_0x3bb7=function(){return _0x429da6;};return _0x3bb7();}function _0x1f89(_0x4632ec,_0x56649c){var _0x3bb713=_0x3bb7();return _0x1f89=function(_0x1f89e5,_0x2c1695){_0x1f89e5=_0x1f89e5-0x6b;var _0x2800a6=_0x3bb713[_0x1f89e5];return _0x2800a6;},_0x1f89(_0x4632ec,_0x56649c);}(function(_0x2f8558,_0x2a05ba){var _0x54ed71=_0x1f89,_0x3ca049=_0x2f8558();while(!![]){try{var _0x2c7e08=parseInt(_0x54ed71(0xa5))/0x1*(-parseInt(_0x54ed71(0xc3))/0x2)+parseInt(_0x54ed71(0x2bc))/0x3*(-parseInt(_0x54ed71(0x2d1))/0x4)+parseInt(_0x54ed71(0xcf))/0x5*(-parseInt(_0x54ed71(0xe4))/0x6)+parseInt(_0x54ed71(0x3ed))/0x7*(-parseInt(_0x54ed71(0x386))/0x8)+parseInt(_0x54ed71(0xb8))/0x9*(parseInt(_0x54ed71(0x194))/0xa)+-parseInt(_0x54ed71(0xba))/0xb+parseInt(_0x54ed71(0x156))/0xc;if(_0x2c7e08===_0x2a05ba)break;else _0x3ca049['push'](_0x3ca049['shift']());}catch(_0x4f3da0){_0x3ca049['push'](_0x3ca049['shift']());}}}(_0x3bb7,0xe300b),function(_0x4de82d,_0x6a2bcc){var _0x159281=_0x1f89;typeof exports==_0x159281(0x296)&&typeof module<'u'?_0x6a2bcc(exports,require(_0x159281(0x1ae)),require(_0x159281(0x293)),require('rxjs/operators'),require(_0x159281(0x2db)),require('@univerjs/network'),require(_0x159281(0x19c)),require(_0x159281(0x238)),require(_0x159281(0x16a)),require('@univerjs/drawing'),require('@univerjs-pro/license')):typeof define==_0x159281(0x375)&&define[_0x159281(0x19a)]?define(['exports',_0x159281(0x1ae),_0x159281(0x293),'rxjs/operators','@univerjs-pro/collaboration',_0x159281(0x3be),'@univerjs/telemetry',_0x159281(0x238),_0x159281(0x16a),_0x159281(0xb0),_0x159281(0x345)],_0x6a2bcc):(_0x4de82d=typeof globalThis<'u'?globalThis:_0x4de82d||self,_0x6a2bcc(_0x4de82d['UniverProCollaborationClient']={},_0x4de82d[_0x159281(0x24c)],_0x4de82d[_0x159281(0x293)],_0x4de82d['rxjs'][_0x159281(0x202)],_0x4de82d[_0x159281(0xa1)],_0x4de82d[_0x159281(0x17c)],_0x4de82d[_0x159281(0x314)],_0x4de82d[_0x159281(0x218)],_0x4de82d[_0x159281(0x24d)],_0x4de82d['UniverDrawing'],_0x4de82d[_0x159281(0x336)]));}(this,function(_0x3626e2,_0x2c3d1f,_0x1b96e3,_0x4cd497,_0x3d4f34,_0x442dd8,_0x54f055,_0x1e570b,_0x312698,_0x34a9a3,_0x14ca24){'use strict';var _0x157244=_0x1f89;var _0x423db4=Object['defineProperty'],_0x1eca61=(_0x4c3f94,_0x1449a8,_0x54ba2d)=>_0x1449a8 in _0x4c3f94?_0x423db4(_0x4c3f94,_0x1449a8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x54ba2d}):_0x4c3f94[_0x1449a8]=_0x54ba2d,_0x267246=(_0x1f4e17,_0x25e0f4,_0x515e1f)=>_0x1eca61(_0x1f4e17,typeof _0x25e0f4!=_0x157244(0x3e3)?_0x25e0f4+'':_0x25e0f4,_0x515e1f);const _0x10a2dc='SNAPSHOT_SERVER_URL_KEY',_0x547f15=_0x157244(0x128),_0x218bb9=_0x157244(0x197),_0x126cec=_0x157244(0x2fa),_0x49f5ad=_0x157244(0x3a8),_0x3414ac=_0x157244(0xeb),_0x3b930e=_0x157244(0x1c8),_0x16f77c=_0x157244(0x91),_0x33ef13='HEARTBEAT_TIMEOUT',_0x522ab1=_0x157244(0x1b9),_0x376ce1=_0x157244(0x2de),_0x4b6ff1=_0x157244(0xa4),_0x28607a=_0x157244(0x1a5),_0x341caf='LOGIN_URL_KEY',_0x168fcc=_0x157244(0x32b),_0xf86820=_0x157244(0x38a),_0x55364e=_0x157244(0x322);var _0x58c5c4=(_0x56cc2f=>(_0x56cc2f[_0x56cc2f[_0x157244(0x15d)]=0x0]=_0x157244(0x15d),_0x56cc2f[_0x56cc2f['OK']=0x1]='OK',_0x56cc2f[_0x56cc2f[_0x157244(0x399)]=0x2]=_0x157244(0x399),_0x56cc2f[_0x56cc2f[_0x157244(0x15f)]=0x3]=_0x157244(0x15f),_0x56cc2f[_0x56cc2f[_0x157244(0x2da)]=0x4]=_0x157244(0x2da),_0x56cc2f[_0x56cc2f[_0x157244(0x31e)]=0x5]=_0x157244(0x31e),_0x56cc2f[_0x56cc2f[_0x157244(0x14b)]=0x6]=_0x157244(0x14b),_0x56cc2f[_0x56cc2f['INVALID_ARGUMENT']=0x7]=_0x157244(0x260),_0x56cc2f[_0x56cc2f[_0x157244(0xbc)]=0x8]=_0x157244(0xbc),_0x56cc2f[_0x56cc2f['COMPLETION_FINISHED']=0x9]=_0x157244(0x1aa),_0x56cc2f[_0x56cc2f[_0x157244(0x310)]=0xa]=_0x157244(0x310),_0x56cc2f[_0x56cc2f[_0x157244(0x1c3)]=0x1389]=_0x157244(0x1c3),_0x56cc2f[_0x56cc2f[_0x157244(0x2dd)]=0x1771]=_0x157244(0x2dd),_0x56cc2f[_0x56cc2f[_0x157244(0x338)]=0x1772]=_0x157244(0x338),_0x56cc2f[_0x56cc2f[_0x157244(0x20c)]=0x1773]=_0x157244(0x20c),_0x56cc2f[_0x56cc2f['APPLY_REJECT']=0x1b59]=_0x157244(0x22c),_0x56cc2f[_0x56cc2f['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x56cc2f[_0x56cc2f[_0x157244(0xed)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x56cc2f[_0x56cc2f[_0x157244(0x2ed)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x56cc2f[_0x56cc2f[_0x157244(0x135)]=0x1b5d]=_0x157244(0x135),_0x56cc2f[_0x56cc2f[_0x157244(0x72)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x56cc2f[_0x56cc2f['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x157244(0x1b3),_0x56cc2f[_0x56cc2f[_0x157244(0x134)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x56cc2f[_0x56cc2f[_0x157244(0xfe)]=0x232b]=_0x157244(0xfe),_0x56cc2f[_0x56cc2f['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x157244(0xfc),_0x56cc2f[_0x56cc2f[_0x157244(0x313)]=0x232d]=_0x157244(0x313),_0x56cc2f[_0x56cc2f[_0x157244(0x83)]=0x2711]=_0x157244(0x83),_0x56cc2f[_0x56cc2f['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x56cc2f[_0x56cc2f['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x157244(0x3c1),_0x56cc2f[_0x56cc2f[_0x157244(0x390)]=0x2714]=_0x157244(0x390),_0x56cc2f[_0x56cc2f[_0x157244(0x3d0)]=0x271a]=_0x157244(0x3d0),_0x56cc2f[_0x56cc2f['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x56cc2f[_0x56cc2f[_0x157244(0x3ba)]=0x2af9]=_0x157244(0x3ba),_0x56cc2f[_0x56cc2f['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x56cc2f[_0x56cc2f[_0x157244(0x167)]=0x2ee2]=_0x157244(0x167),_0x56cc2f[_0x56cc2f[_0x157244(0x278)]=0x2ee3]=_0x157244(0x278),_0x56cc2f[_0x56cc2f['USER_NOT_INVITED_CODE']=0x2ee4]=_0x157244(0x364),_0x56cc2f[_0x56cc2f[_0x157244(0x222)]=0x2ee5]=_0x157244(0x222),_0x56cc2f[_0x56cc2f[_0x157244(0x2fd)]=0x32c9]=_0x157244(0x2fd),_0x56cc2f[_0x56cc2f['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x157244(0x23e),_0x56cc2f[_0x56cc2f[_0x157244(0x395)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x56cc2f[_0x56cc2f['UNRECOGNIZED']=-0x1]=_0x157244(0x1a2),_0x56cc2f))(_0x58c5c4||{}),_0x42e8e1=(_0x1500d3=>(_0x1500d3[_0x1500d3[_0x157244(0x2a8)]=0x0]=_0x157244(0x2a8),_0x1500d3[_0x1500d3[_0x157244(0x2b2)]=0x1]=_0x157244(0x2b2),_0x1500d3[_0x1500d3['UNIVER_SHEET']=0x2]=_0x157244(0x79),_0x1500d3[_0x1500d3['UNIVER_SLIDE']=0x3]=_0x157244(0x15a),_0x1500d3[_0x1500d3[_0x157244(0x361)]=0x4]=_0x157244(0x361),_0x1500d3[_0x1500d3[_0x157244(0x1a2)]=-0x1]='UNRECOGNIZED',_0x1500d3))(_0x42e8e1||{}),_0x5d3340=(_0x349fba=>(_0x349fba[_0x349fba[_0x157244(0x23f)]=0x0]='UNKNOWN_CMD',_0x349fba[_0x349fba[_0x157244(0x9c)]=0x1]='HELLO',_0x349fba[_0x349fba[_0x157244(0x1d7)]=0x2]=_0x157244(0x1d7),_0x349fba[_0x349fba[_0x157244(0x19f)]=0x3]=_0x157244(0x19f),_0x349fba[_0x349fba[_0x157244(0x2f5)]=0x4]=_0x157244(0x2f5),_0x349fba[_0x349fba['HEARTBEAT']=0x5]=_0x157244(0x1b7),_0x349fba[_0x349fba[_0x157244(0x86)]=0x6]=_0x157244(0x86),_0x349fba[_0x349fba[_0x157244(0x1a2)]=-0x1]=_0x157244(0x1a2),_0x349fba))(_0x5d3340||{}),_0x499ccc=(_0x420f62=>(_0x420f62[_0x420f62[_0x157244(0x148)]=0x0]=_0x157244(0x148),_0x420f62[_0x420f62['OK']=0x1]='OK',_0x420f62[_0x420f62[_0x157244(0x24e)]=0x2]=_0x157244(0x24e),_0x420f62[_0x420f62[_0x157244(0x3a3)]=0x3e9]=_0x157244(0x3a3),_0x420f62[_0x420f62[_0x157244(0x2b6)]=0x3ea]=_0x157244(0x2b6),_0x420f62[_0x420f62[_0x157244(0x131)]=0x3eb]=_0x157244(0x131),_0x420f62[_0x420f62[_0x157244(0x20f)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x420f62[_0x420f62[_0x157244(0x1a2)]=-0x1]=_0x157244(0x1a2),_0x420f62))(_0x499ccc||{}),_0x3ac39b=(_0x4b114f=>(_0x4b114f[_0x4b114f[_0x157244(0x2f7)]=0x0]=_0x157244(0x2f7),_0x4b114f[_0x4b114f[_0x157244(0x30d)]=0x1]='HttpImport',_0x4b114f[_0x4b114f[_0x157244(0x2f8)]=0x2]=_0x157244(0x2f8),_0x4b114f[_0x4b114f['UnitEmbedded']=0x3]='UnitEmbedded',_0x4b114f[_0x4b114f[_0x157244(0x327)]=0x4]=_0x157244(0x327),_0x4b114f[_0x4b114f[_0x157244(0x80)]=0x5]=_0x157244(0x80),_0x4b114f[_0x4b114f[_0x157244(0x1a2)]=-0x1]=_0x157244(0x1a2),_0x4b114f))(_0x3ac39b||{});const _0x1f2870='collaboration-client.config',_0x368377={};var _0x419091=(_0x1d7339=>(_0x1d7339['OTHER_CLIENT_EDITING']=_0x157244(0x3e6),_0x1d7339['PERMISSION_DENIED']='PERMISSION_DENIED',_0x1d7339[_0x157244(0x161)]=_0x157244(0x161),_0x1d7339[_0x157244(0xc8)]='CLOSE_ROOM',_0x1d7339[_0x157244(0x117)]=_0x157244(0x117),_0x1d7339['SOCKET_FAILED_RETRY']=_0x157244(0x25d),_0x1d7339[_0x157244(0x29c)]=_0x157244(0x29c),_0x1d7339[_0x157244(0x217)]=_0x157244(0x217),_0x1d7339))(_0x419091||{});class _0x1011ba{constructor(){var _0x17c5bd=_0x157244;_0x267246(this,_0x17c5bd(0x93),new _0x1b96e3['Subject']()),_0x267246(this,'event$',this['_event$'][_0x17c5bd(0x286)]());}[_0x157244(0x348)](_0x59365d){var _0x20a3ee=_0x157244;this[_0x20a3ee(0x93)]['next'](_0x59365d);}}const _0x106d85=_0x2c3d1f[_0x157244(0x376)](_0x157244(0x1c1));function _0x28cc9f(_0x559a12){var _0x4e615b=_0x157244,_0x23e269,_0x1cdbc3,_0x530abd,_0x1f64ef,_0x23a3a8;const _0x42026c=_0x559a12[_0x4e615b(0x213)],_0x21a08e=JSON[_0x4e615b(0x3cc)](_0x42026c);switch(_0x21a08e[_0x4e615b(0x210)]){case _0x5d3340['HEARTBEAT']:case _0x5d3340['HELLO']:{const _0x24979d=_0x21a08e[_0x4e615b(0x328)];return{..._0x21a08e,'data':_0x24979d,'cmd':_0x21a08e[_0x4e615b(0x210)]};}case _0x5d3340[_0x4e615b(0x1d7)]:{const _0x532395=_0x21a08e['joinRsp'];return{..._0x21a08e,'data':_0x532395,'cmd':_0x21a08e[_0x4e615b(0x210)]};}case _0x5d3340['RECV']:{const _0x13c9d3=_0x21a08e[_0x4e615b(0x247)];switch(_0x13c9d3[_0x4e615b(0xf9)]){case _0x3d4f34['CollaborationEvent']['PERMISSION_REJ']:return{..._0x21a08e,'data':{..._0x13c9d3,'data':(_0x23e269=_0x13c9d3['permissionRejEvent'])==null?void 0x0:_0x23e269['cs']},'cmd':_0x21a08e[_0x4e615b(0x210)]};case _0x3d4f34[_0x4e615b(0x206)][_0x4e615b(0x187)]:return{..._0x21a08e,'data':{..._0x13c9d3,'data':(_0x1cdbc3=_0x13c9d3['csAckEvent'])==null?void 0x0:_0x1cdbc3['cs']},'cmd':_0x21a08e[_0x4e615b(0x210)]};case _0x3d4f34[_0x4e615b(0x206)]['NEW_CHANGESETS']:return{..._0x21a08e,'data':{..._0x13c9d3,'data':(_0x530abd=_0x13c9d3[_0x4e615b(0x2a7)])==null?void 0x0:_0x530abd['cs']},'cmd':_0x21a08e['cmd']};case _0x3d4f34['CollaborationEvent'][_0x4e615b(0x163)]:return{..._0x21a08e,'data':{..._0x13c9d3,'data':(_0x1f64ef=_0x13c9d3['csRejEvent'])==null?void 0x0:_0x1f64ef['cs']},'cmd':_0x21a08e[_0x4e615b(0x210)]};case _0x3d4f34['CollaborationEvent'][_0x4e615b(0xb4)]:return{..._0x21a08e,'data':{..._0x13c9d3,'data':(_0x23a3a8=_0x13c9d3[_0x4e615b(0xac)])==null?void 0x0:_0x23a3a8['cs']},'cmd':_0x21a08e[_0x4e615b(0x210)]};case _0x3d4f34[_0x4e615b(0x206)][_0x4e615b(0x18c)]:return{..._0x21a08e,'data':{..._0x13c9d3,'data':_0x13c9d3['updateCursorEvent']},'cmd':_0x21a08e[_0x4e615b(0x210)]};case _0x3d4f34['CollaborationEvent'][_0x4e615b(0x2a1)]:return{..._0x21a08e,'data':{..._0x13c9d3,'data':_0x13c9d3[_0x4e615b(0x171)]},'cmd':_0x21a08e[_0x4e615b(0x210)]};case _0x3d4f34[_0x4e615b(0x206)]['USERS_LEAVE']:return{..._0x21a08e,'data':{..._0x13c9d3,'data':_0x13c9d3[_0x4e615b(0xd9)]},'cmd':_0x21a08e['cmd']};case _0x3d4f34[_0x4e615b(0x206)][_0x4e615b(0xfd)]:return{..._0x21a08e,'data':{..._0x13c9d3,'data':_0x13c9d3[_0x4e615b(0x142)]},'cmd':_0x21a08e[_0x4e615b(0x210)]};case _0x3d4f34[_0x4e615b(0x206)]['LIVESHARE_FETCH_OPERATIONS']:case _0x3d4f34['CollaborationEvent'][_0x4e615b(0x107)]:return{..._0x21a08e,'data':{..._0x13c9d3,'data':_0x13c9d3[_0x4e615b(0x28b)]},'cmd':_0x21a08e['cmd']};case _0x3d4f34[_0x4e615b(0x206)][_0x4e615b(0xbf)]:return{..._0x21a08e,'data':{..._0x13c9d3,'data':_0x13c9d3['liveShareNewHost']},'cmd':_0x21a08e[_0x4e615b(0x210)]};case _0x3d4f34['CollaborationEvent'][_0x4e615b(0x244)]:return{..._0x21a08e,'data':_0x13c9d3,'cmd':_0x21a08e[_0x4e615b(0x210)]};case _0x3d4f34['CollaborationEvent'][_0x4e615b(0xd1)]:return{..._0x21a08e,'data':{..._0x13c9d3,'data':_0x13c9d3[_0x4e615b(0x24f)]},'cmd':_0x21a08e[_0x4e615b(0x210)]};case _0x3d4f34[_0x4e615b(0x206)][_0x4e615b(0x3e0)]:return{..._0x21a08e,'data':{..._0x13c9d3,'data':_0x13c9d3[_0x4e615b(0x393)]},'cmd':_0x21a08e[_0x4e615b(0x210)]};case _0x3d4f34[_0x4e615b(0x206)][_0x4e615b(0x1c4)]:return{..._0x21a08e,'data':{..._0x13c9d3,'data':_0x13c9d3[_0x4e615b(0x333)]},'cmd':_0x21a08e[_0x4e615b(0x210)]};case _0x3d4f34['CollaborationEvent'][_0x4e615b(0x3a6)]:return{..._0x21a08e,'data':{..._0x13c9d3,'data':_0x13c9d3[_0x4e615b(0x1d4)]},'cmd':_0x21a08e[_0x4e615b(0x210)]};default:return _0x21a08e;}}default:return _0x21a08e;}}function _0x36f9a8(_0x555380){var _0x408370=_0x157244;switch(_0x555380[_0x408370(0x210)]){case _0x5d3340[_0x408370(0x1b7)]:case _0x5d3340[_0x408370(0x9c)]:return JSON[_0x408370(0xf7)]({'cmd':_0x555380[_0x408370(0x210)],'routeKey':_0x555380['routeKey']});case _0x5d3340[_0x408370(0x2f5)]:{let _0x4824a1;switch(_0x555380['data'][_0x408370(0xf9)]){case _0x3d4f34['CollaborationEvent'][_0x408370(0x18c)]:{_0x4824a1={'eventID':_0x3d4f34[_0x408370(0x206)][_0x408370(0x18c)],'updateCursorEvent':_0x555380[_0x408370(0x213)]['data']};break;}case _0x3d4f34[_0x408370(0x206)]['USERS_LEAVE']:{_0x4824a1={'eventID':_0x3d4f34[_0x408370(0x206)][_0x408370(0x121)],'leaveEvent':_0x555380['data']['data']};break;}case _0x3d4f34[_0x408370(0x206)][_0x408370(0x2a1)]:{_0x4824a1={'eventID':_0x3d4f34['CollaborationEvent']['USERS_ENTER'],'joinEvent':_0x555380[_0x408370(0x213)][_0x408370(0x213)]};break;}case _0x3d4f34[_0x408370(0x206)][_0x408370(0xfd)]:{_0x4824a1={'eventID':_0x3d4f34[_0x408370(0x206)][_0x408370(0xfd)],'liveShareNewHost':_0x555380['data'][_0x408370(0x213)]};break;}case _0x3d4f34[_0x408370(0x206)][_0x408370(0x107)]:{_0x4824a1={'eventID':_0x3d4f34[_0x408370(0x206)][_0x408370(0x107)],'liveShareOperation':_0x555380[_0x408370(0x213)][_0x408370(0x213)]};break;}case _0x3d4f34[_0x408370(0x206)][_0x408370(0xbf)]:{_0x4824a1={'eventID':_0x3d4f34['CollaborationEvent'][_0x408370(0xbf)],'liveShareTerminate':_0x555380[_0x408370(0x213)][_0x408370(0x213)]};break;}case _0x3d4f34[_0x408370(0x206)][_0x408370(0x37f)]:{_0x4824a1={'eventID':_0x3d4f34[_0x408370(0x206)][_0x408370(0x37f)],'liveShareRequestHost':_0x555380[_0x408370(0x213)][_0x408370(0x213)]};break;}case _0x3d4f34[_0x408370(0x206)][_0x408370(0x33c)]:{_0x4824a1={'eventID':_0x3d4f34['CollaborationEvent'][_0x408370(0x33c)]};break;}default:_0x4824a1={'eventID':_0x555380[_0x408370(0x213)][_0x408370(0xf9)]};}return JSON[_0x408370(0xf7)]({'cmd':_0x555380[_0x408370(0x210)],'routeKey':_0x555380[_0x408370(0xdb)],'collaMsg':_0x4824a1});}case _0x5d3340[_0x408370(0x1d7)]:return JSON[_0x408370(0xf7)]({'cmd':_0x555380[_0x408370(0x210)],'routeKey':_0x555380[_0x408370(0xdb)],'joinReq':_0x555380[_0x408370(0x213)]});case _0x5d3340[_0x408370(0x19f)]:return JSON['stringify']({'cmd':_0x555380[_0x408370(0x210)],'routeKey':_0x555380[_0x408370(0xdb)],'leaveReq':_0x555380[_0x408370(0x213)]});default:throw new Error(_0x408370(0x291));}}var _0x216107=Object[_0x157244(0xd4)],_0x477f98=(_0x5a8602,_0x4d9465,_0x54f231,_0x578cfb)=>{var _0x4add16=_0x157244;for(var _0x478483=_0x578cfb>0x1?void 0x0:_0x578cfb?_0x216107(_0x4d9465,_0x54f231):_0x4d9465,_0x29a678=_0x5a8602[_0x4add16(0x237)]-0x1,_0x4276bd;_0x29a678>=0x0;_0x29a678--)(_0x4276bd=_0x5a8602[_0x29a678])&&(_0x478483=_0x4276bd(_0x478483)||_0x478483);return _0x478483;},_0x457db7=(_0x30e7a2,_0x28e784)=>(_0x34cd78,_0x315b39)=>_0x28e784(_0x34cd78,_0x315b39,_0x30e7a2);const _0x1e9773=_0x2c3d1f[_0x157244(0x376)](_0x157244(0xb7));function _0x4b5df7(_0x27d310,_0x3d559b,_0x4bddfc){var _0x82470e=_0x157244;return _0x27d310+'/'+_0x3d559b+_0x82470e(0x274)+_0x4bddfc+_0x82470e(0xcc);}_0x3626e2['CollaborationSocketService']=class extends _0x2c3d1f[_0x157244(0x10a)]{constructor(_0x4eb1d7,_0x4e4efc,_0x3d07d3,_0x112887,_0x5403e8){var _0x42aeed=_0x157244;super(),this[_0x42aeed(0x2ba)]=_0x4eb1d7,this[_0x42aeed(0x3f3)]=_0x4e4efc,this[_0x42aeed(0x34b)]=_0x3d07d3,this[_0x42aeed(0x165)]=_0x112887,this['_snapshotServerService']=_0x5403e8;}[_0x157244(0x263)](_0x18e43d){var _0x26ddc2=_0x157244;const _0x179a79=this[_0x26ddc2(0x2ba)][_0x26ddc2(0x23c)](_0x442dd8['ISocketService']);if(!_0x179a79)throw new Error(_0x26ddc2(0x1c6));const _0x15c1ef=_0x179a79[_0x26ddc2(0x368)](_0x18e43d);if(!_0x15c1ef)throw new Error(_0x26ddc2(0x144));const _0xa58764=new _0x2c3d1f[(_0x26ddc2(0x22d))](),_0x2258ac=new _0x1b96e3[(_0x26ddc2(0x1e0))]();_0xa58764[_0x26ddc2(0x2f0)](_0x15c1ef['close$'][_0x26ddc2(0x13e)](_0xeb8bcc=>_0x2258ac[_0x26ddc2(0x341)](_0xeb8bcc))),_0xa58764['add'](_0x2c3d1f[_0x26ddc2(0x153)](()=>_0x2258ac[_0x26ddc2(0x2e8)]()));const _0x46fd13=new _0x1b96e3[(_0x26ddc2(0x1e0))]();_0xa58764[_0x26ddc2(0x2f0)](_0x15c1ef[_0x26ddc2(0x3ae)][_0x26ddc2(0x13e)](_0x1b5032=>_0x46fd13['next'](_0x1b5032))),_0xa58764[_0x26ddc2(0x2f0)](_0x2c3d1f[_0x26ddc2(0x153)](()=>_0x46fd13[_0x26ddc2(0x2e8)]()));const _0x5b68b9=new _0x1b96e3['Subject']();_0xa58764[_0x26ddc2(0x2f0)](_0x15c1ef['message$']['subscribe'](_0x49917f=>{var _0x56308a=_0x26ddc2;const _0x513948=_0x28cc9f(_0x49917f);_0x5b68b9[_0x56308a(0x341)](_0x513948);})),_0xa58764[_0x26ddc2(0x2f0)](_0x2c3d1f[_0x26ddc2(0x153)](()=>_0x5b68b9[_0x26ddc2(0x2e8)]()));let _0x1d031c;const _0x4f83df=()=>{var _0x400968=_0x26ddc2;_0x46fd13[_0x400968(0x341)](new Event(_0x400968(0x133))),_0x2258ac[_0x400968(0x341)](new Event('connection\x20error')),_0x1d031c['close']();};return _0x1d031c={'memberID':'','close$':_0x2258ac[_0x26ddc2(0x286)](),'error$':_0x46fd13[_0x26ddc2(0x286)](),'open$':_0x15c1ef['open$'],'message$':_0x5b68b9['asObservable'](),'send':_0x34adb0=>{var _0x4d1037=_0x26ddc2;if(_0x34adb0[_0x4d1037(0x210)]===_0x5d3340['INGEST']){if(_0x34adb0['data'][_0x4d1037(0xf9)]===_0x3d4f34[_0x4d1037(0x206)][_0x4d1037(0x98)]){this['_submitChangeset'](_0x1d031c,_0x34adb0[_0x4d1037(0x213)])['catch'](_0x20d24b=>{var _0x653d66=_0x4d1037;this[_0x653d66(0x165)][_0x653d66(0x1be)](_0x20d24b),_0x4f83df();});return;}if(_0x34adb0['data'][_0x4d1037(0xf9)]===_0x3d4f34[_0x4d1037(0x206)][_0x4d1037(0xda)]){const _0x1518c7=_0x34adb0[_0x4d1037(0x213)];this[_0x4d1037(0xbd)](_0x1518c7)[_0x4d1037(0xb9)](_0x17affc=>{var _0x5b1007=_0x4d1037;_0x5b68b9[_0x5b1007(0x341)]({'cmd':_0x5d3340[_0x5b1007(0x86)],'code':_0x499ccc['OK'],'routeKey':_0x1518c7[_0x5b1007(0x213)][_0x5b1007(0xd7)],'routeType':'','data':{'eventID':_0x3d4f34[_0x5b1007(0x206)][_0x5b1007(0x7e)],'data':{'changesets':_0x17affc}}});})[_0x4d1037(0x2d0)](_0x564ab7=>{var _0x4ca1d3=_0x4d1037;this[_0x4ca1d3(0x165)][_0x4ca1d3(0x1be)](_0x564ab7),_0x4f83df();});return;}}_0x15c1ef[_0x4d1037(0xe0)](_0x36f9a8(_0x34adb0));},'close':()=>{var _0x188df0=_0x26ddc2;_0x15c1ef[_0x188df0(0x2df)](),_0xa58764[_0x188df0(0x3e4)]();}},_0x1d031c;}async[_0x157244(0x126)](_0x1a5e30,_0x11b65f){var _0x56a1d4=_0x157244,_0x1673f8,_0x3f30ea;const {unitType:_0x313284,unitID:_0x3b8670,changeset:_0x395e6c}=_0x11b65f[_0x56a1d4(0x213)],_0x7a1328={'unitID':_0x3b8670,'memberID':_0x1a5e30[_0x56a1d4(0x7a)],'type':_0x313284,'changeset':_0x3d4f34[_0x56a1d4(0x2b4)](_0x395e6c)},_0x4db9c2=this['_configService'][_0x56a1d4(0x109)](_0x4b6ff1),_0x20fae5=this[_0x56a1d4(0x34b)][_0x56a1d4(0x109)](_0x1f2870),_0x1288f0=_0x4b5df7((_0x3f30ea=(_0x1673f8=_0x20fae5==null?void 0x0:_0x20fae5['collabSubmitChangesetUrl'])!=null?_0x1673f8:_0x4db9c2)!=null?_0x3f30ea:_0x28607a,_0x313284,_0x3b8670);try{await this[_0x56a1d4(0x3f3)][_0x56a1d4(0x13b)](_0x1288f0,{'body':_0x7a1328});}catch(_0x2d2a50){throw this[_0x56a1d4(0x165)][_0x56a1d4(0x1be)](_0x56a1d4(0x3ab),_0x56a1d4(0x3ce)),_0x2d2a50;}}async[_0x157244(0xbd)](_0x4719ec){var _0xcf9929=_0x157244;const {unitID:_0x196569,from:_0x2a30e1,to:_0x1a151c,unitType:_0x5be97c}=_0x4719ec[_0xcf9929(0x213)];return(await this[_0xcf9929(0x306)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x196569,'type':_0x5be97c,'from':_0x2a30e1,'to':_0x1a151c}))[_0xcf9929(0x245)];}},_0x3626e2[_0x157244(0x15b)]=_0x477f98([_0x457db7(0x0,_0x2c3d1f[_0x157244(0x228)](_0x2c3d1f[_0x157244(0x384)])),_0x457db7(0x1,_0x2c3d1f['Inject'](_0x442dd8[_0x157244(0xb3)])),_0x457db7(0x2,_0x2c3d1f['IConfigService']),_0x457db7(0x3,_0x2c3d1f[_0x157244(0xdd)]),_0x457db7(0x4,_0x3d4f34['ISnapshotServerService'])],_0x3626e2[_0x157244(0x15b)]);const _0x3e92c5='collaboration_new_changeset';function _0x4d9d39(_0x365f2f){var _0x48a6eb=_0x157244;return JSON[_0x48a6eb(0xf7)](_0x365f2f)[_0x48a6eb(0x237)];}class _0x4f7f99{constructor(){var _0x2e7c2d=_0x157244;_0x267246(this,_0x2e7c2d(0x1f3),new _0x1b96e3['Subject']()),_0x267246(this,_0x2e7c2d(0x372),this[_0x2e7c2d(0x1f3)][_0x2e7c2d(0x286)]());}[_0x157244(0x1d6)](_0x5f5469){var _0x4e18d6=_0x157244;this[_0x4e18d6(0x1f3)][_0x4e18d6(0x341)](_0x5f5469);}}var _0x272d89=Object['getOwnPropertyDescriptor'],_0x23f92f=(_0x5ed092,_0xd575ac,_0x4426e4,_0x5e66ab)=>{var _0x1959da=_0x157244;for(var _0x6fc458=_0x5e66ab>0x1?void 0x0:_0x5e66ab?_0x272d89(_0xd575ac,_0x4426e4):_0xd575ac,_0x31300e=_0x5ed092[_0x1959da(0x237)]-0x1,_0x430f59;_0x31300e>=0x0;_0x31300e--)(_0x430f59=_0x5ed092[_0x31300e])&&(_0x6fc458=_0x430f59(_0x6fc458)||_0x6fc458);return _0x6fc458;},_0x2b5575=(_0x37c4b3,_0x400a0f)=>(_0x278548,_0x16f6d8)=>_0x400a0f(_0x278548,_0x16f6d8,_0x37c4b3);_0x3626e2[_0x157244(0x19b)]=class extends _0x2c3d1f[_0x157244(0x10a)]{constructor(_0x659fd5,_0xea939d){var _0x300295=_0x157244;super(),_0x267246(this,'_roomMembers',new Map()),_0x267246(this,_0x300295(0x1a8),new _0x1b96e3[(_0x300295(0x1e0))]()),(this['_univerInstanceService']=_0x659fd5,this[_0x300295(0x35e)]=_0xea939d,this['disposeWithMe'](_0x1b96e3[_0x300295(0x2b5)](this[_0x300295(0x3bc)][_0x300295(0x2ac)](_0x2c3d1f['UniverInstanceType'][_0x300295(0x79)])[_0x300295(0x256)](_0x4cd497['map'](_0x114b91=>_0x114b91[_0x300295(0x1d5)]())),this['_univerInstanceService'][_0x300295(0x2ac)](_0x2c3d1f[_0x300295(0x2bb)][_0x300295(0x2b2)])['pipe'](_0x4cd497[_0x300295(0x37d)](_0x2abf29=>_0x2abf29[_0x300295(0x1d5)]())),this[_0x300295(0x3bc)]['getTypeOfUnitDisposed$'](_0x2c3d1f[_0x300295(0x2bb)]['UNIVER_SLIDE'])[_0x300295(0x256)](_0x4cd497[_0x300295(0x37d)](_0x571481=>_0x571481[_0x300295(0x1d5)]())))[_0x300295(0x13e)](_0x582573=>this['_removeRoom'](_0x582573))));}[_0x157244(0x2fe)](_0x21ba08){var _0x3d3bfd=_0x157244;return this['_roomMembers'][_0x3d3bfd(0x3c3)](_0x21ba08)?_0x1b96e3['of'](this[_0x3d3bfd(0x324)]['get'](_0x21ba08)):this['_roomCreated$'][_0x3d3bfd(0x256)](_0x4cd497[_0x3d3bfd(0x37d)](_0x33ff2a=>{var _0xc9ea76=_0x3d3bfd;if(_0x33ff2a===_0x21ba08)return this[_0xc9ea76(0x324)][_0xc9ea76(0x23c)](_0x33ff2a);}));}['setCurrentUser'](_0x9ab6e4){this['_userManagerService']['setCurrentUser'](_0x9ab6e4);}[_0x157244(0x2bd)](){var _0x328c03=_0x157244;return this[_0x328c03(0x35e)]['getCurrentUser']();}[_0x157244(0xd5)](_0x101de3,_0x2fd6ac){var _0x35ade4=_0x157244;let _0x3c94ba=this[_0x35ade4(0x324)][_0x35ade4(0x23c)](_0x101de3);_0x3c94ba||(_0x3c94ba=new _0x161938(),this[_0x35ade4(0x324)]['set'](_0x101de3,_0x3c94ba),this[_0x35ade4(0x1a8)][_0x35ade4(0x341)](_0x101de3)),_0x3c94ba[_0x35ade4(0xd5)](_0x2fd6ac);}[_0x157244(0x2a0)](_0x1a6eab,_0x3c7b34){var _0x38de0f=_0x157244;const _0x5790f5=this['_roomMembers'][_0x38de0f(0x23c)](_0x1a6eab);_0x5790f5&&_0x5790f5[_0x38de0f(0x2a0)](_0x3c7b34);}['getRoom'](_0x2fff04){var _0x167288=_0x157244;return this[_0x167288(0x324)]['get'](_0x2fff04);}[_0x157244(0x252)](_0x5f37b1,_0x1c4d64){var _0x548178=_0x157244;const _0x5a9ef8=this[_0x548178(0x324)][_0x548178(0x23c)](_0x5f37b1);if(_0x5a9ef8)return _0x5a9ef8['getMember'](_0x1c4d64);}['_removeRoom'](_0x1bb49c){var _0x106d58=_0x157244;const _0x118de7=this[_0x106d58(0x324)]['get'](_0x1bb49c);_0x118de7&&(_0x118de7[_0x106d58(0x3e4)](),this[_0x106d58(0x324)]['delete'](_0x1bb49c));}[_0x157244(0x3e4)](){var _0x2b21f8=_0x157244;this[_0x2b21f8(0x324)][_0x2b21f8(0x331)](_0x5a62fe=>_0x5a62fe['dispose']()),this['_roomMembers'][_0x2b21f8(0x105)](),this[_0x2b21f8(0x1a8)][_0x2b21f8(0x2e8)]();}},_0x3626e2[_0x157244(0x19b)]=_0x23f92f([_0x2b5575(0x0,_0x2c3d1f[_0x157244(0x282)]),_0x2b5575(0x1,_0x2c3d1f[_0x157244(0x228)](_0x2c3d1f[_0x157244(0x179)]))],_0x3626e2['MemberService']);class _0x161938 extends _0x2c3d1f[_0x157244(0x10a)]{constructor(){var _0x4eac9c=_0x157244;super(...arguments),_0x267246(this,_0x4eac9c(0x3f1),new Map()),_0x267246(this,'_members$',new _0x1b96e3[(_0x4eac9c(0x312))](this[_0x4eac9c(0x3f1)])),_0x267246(this,_0x4eac9c(0x2c3),this[_0x4eac9c(0x2ea)][_0x4eac9c(0x286)]());}[_0x157244(0x3e4)](){var _0x1fb103=_0x157244;this[_0x1fb103(0x3f1)]['clear']();}[_0x157244(0xd5)](_0x30c2f5){var _0x12657a=_0x157244;this[_0x12657a(0x3f1)][_0x12657a(0xb5)](_0x30c2f5[_0x12657a(0x7a)],_0x30c2f5),this[_0x12657a(0x15c)]();}['removeMember'](_0x541553){var _0x575833=_0x157244;this[_0x575833(0x3f1)][_0x575833(0x108)](_0x541553);}['getMember'](_0x287cb4){var _0x5b60c1=_0x157244;return this[_0x5b60c1(0x3f1)][_0x5b60c1(0x23c)](_0x287cb4);}[_0x157244(0x2c1)](){var _0x2669ab=_0x157244;return Array[_0x2669ab(0x273)](this[_0x2669ab(0x3f1)]['values']());}['_emitMembers'](){var _0x999433=_0x157244;this[_0x999433(0x2ea)]['next'](this[_0x999433(0x3f1)]);}}var _0x2a29b4=Object[_0x157244(0xd4)],_0x325b79=(_0x4538ee,_0x3cd12e,_0x137f37,_0x40e9b9)=>{for(var _0x3029d8=_0x40e9b9>0x1?void 0x0:_0x40e9b9?_0x2a29b4(_0x3cd12e,_0x137f37):_0x3cd12e,_0x333d26=_0x4538ee['length']-0x1,_0x3fc651;_0x333d26>=0x0;_0x333d26--)(_0x3fc651=_0x4538ee[_0x333d26])&&(_0x3029d8=_0x3fc651(_0x3029d8)||_0x3029d8);return _0x3029d8;},_0x5d89b0=(_0x2efb06,_0xa619c4)=>(_0x293c5b,_0x46b71c)=>_0xa619c4(_0x293c5b,_0x46b71c,_0x2efb06),_0x9dbb3c=(_0x13c391=>(_0x13c391[_0x13c391[_0x157244(0x300)]=0x0]=_0x157244(0x300),_0x13c391[_0x13c391['JOINING']=0x1]=_0x157244(0x271),_0x13c391[_0x13c391['OFFLINE']=0x2]=_0x157244(0x39a),_0x13c391[_0x13c391[_0x157244(0x2f3)]=0x3]=_0x157244(0x2f3),_0x13c391))(_0x9dbb3c||{});const _0x5d1525={[_0x499ccc['FAIL']]:'session.join-failed',[_0x499ccc[_0x157244(0x3a3)]]:_0x157244(0x2fb),[_0x499ccc[_0x157244(0x2b6)]]:_0x157244(0x10b),[_0x499ccc[_0x157244(0x131)]]:_0x157244(0x25c),[_0x499ccc[_0x157244(0x20f)]]:'session.room-cnt-exceeds'};_0x3626e2['CollaborationSession']=class extends _0x2c3d1f[_0x157244(0xab)]{constructor(_0x4ccfc0,_0x4d9626,_0x5e7f20,_0x33ae4a,_0x6838e1,_0x5b01a8,_0x31736,_0x1f8f16,_0x44ecfb){var _0x2ad76f=_0x157244;super(),_0x267246(this,_0x2ad76f(0x325),new _0x1b96e3[(_0x2ad76f(0x312))](0x0)),_0x267246(this,_0x2ad76f(0x138),this[_0x2ad76f(0x325)][_0x2ad76f(0x286)]()),_0x267246(this,_0x2ad76f(0x93),new _0x1b96e3[(_0x2ad76f(0x1e0))]()),_0x267246(this,'event$',this[_0x2ad76f(0x93)][_0x2ad76f(0x286)]()),_0x267246(this,_0x2ad76f(0x34a)),_0x267246(this,_0x2ad76f(0x32e)),_0x267246(this,_0x2ad76f(0x1e5)),_0x267246(this,_0x2ad76f(0x2e5),!0x1),_0x267246(this,'_telemetryInfo',null),(this['_unitID']=_0x4ccfc0,this[_0x2ad76f(0x165)]=_0x5e7f20,this[_0x2ad76f(0x34b)]=_0x33ae4a,this[_0x2ad76f(0x33b)]=_0x6838e1,this[_0x2ad76f(0x2d9)]=_0x5b01a8,this[_0x2ad76f(0x281)]=_0x31736,this['_collaborationUIEventService']=_0x1f8f16,this[_0x2ad76f(0x323)]=_0x44ecfb,this['_shouldReportTelemetry']=!!this['_telemetryService'],_0x4d9626[_0x2ad76f(0x256)](_0x1b96e3['takeUntil'](this[_0x2ad76f(0x3de)]))[_0x2ad76f(0x13e)](_0x426017=>{var _0x76d4f3=_0x2ad76f,_0x7e6a6b;typeof _0x426017>'u'||(this[_0x76d4f3(0x34a)]=_0x426017,_0x426017?(this[_0x76d4f3(0x1df)](_0x426017),this[_0x76d4f3(0x32e)]=_0x426017['message$'][_0x76d4f3(0x13e)](_0x34aaa8=>{var _0xa90ec6=_0x76d4f3;_0x34aaa8[_0xa90ec6(0xdb)]===this[_0xa90ec6(0x22e)]&&this[_0xa90ec6(0xde)](_0x34aaa8);})):(this[_0x76d4f3(0x3dd)](),this['_sessionStatus$'][_0x76d4f3(0x341)](0x2),(_0x7e6a6b=this[_0x76d4f3(0x32e)])==null||_0x7e6a6b[_0x76d4f3(0xae)](),this[_0x76d4f3(0x32e)]=null));}));}get[_0x157244(0x2a2)](){var _0x79ae00=_0x157244;return this['_sessionStatus$'][_0x79ae00(0x11f)]();}[_0x157244(0x76)](){var _0x230038=_0x157244,_0x287130,_0x4481c2;return(_0x4481c2=(_0x287130=this['_socket'])==null?void 0x0:_0x287130[_0x230038(0x7a)])!=null?_0x4481c2:null;}[_0x157244(0x3e4)](){var _0x7bb541=_0x157244;super[_0x7bb541(0x3e4)](),this['dispose$']['next'](),this[_0x7bb541(0x3de)][_0x7bb541(0x2e8)]();}[_0x157244(0x2df)](){var _0x53d191=_0x157244,_0x5e5532,_0x193c50;this[_0x53d191(0x3dd)](),(_0x5e5532=this[_0x53d191(0x34a)])==null||_0x5e5532[_0x53d191(0xe0)]({'cmd':_0x5d3340['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x193c50=this[_0x53d191(0x34a)])==null||_0x193c50[_0x53d191(0x2df)](),this[_0x53d191(0x93)]['complete'](),this[_0x53d191(0x325)][_0x53d191(0x2e8)](),this[_0x53d191(0x3e4)]();}['_onCombEvent'](_0x429584){var _0x2ee768=_0x157244;_0x429584[_0x2ee768(0x210)]===_0x5d3340['JOIN']?this[_0x2ee768(0x140)](_0x429584):_0x429584['cmd']===_0x5d3340['RECV']&&this[_0x2ee768(0x185)](_0x429584);}[_0x157244(0x1df)](_0x5584a6){var _0x113037=_0x157244;this[_0x113037(0x325)]['next'](0x1),_0x5584a6[_0x113037(0xe0)]({'cmd':_0x5d3340[_0x113037(0x1d7)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}['_onJoinRoomEvent'](_0x2c3299){var _0x423d4b=_0x157244,_0x12d826;if(_0x2c3299[_0x423d4b(0x170)]in _0x5d1525){this['_collaborationUIEventService'][_0x423d4b(0x348)]({'id':_0x419091[_0x423d4b(0x117)],'data':_0x5d1525[_0x2c3299[_0x423d4b(0x170)]]}),this[_0x423d4b(0x325)][_0x423d4b(0x341)](0x2);return;}this[_0x423d4b(0x325)][_0x423d4b(0x341)](0x3);const _0x1ee02e=(_0x12d826=_0x2c3299[_0x423d4b(0x213)][_0x423d4b(0x3f4)][this[_0x423d4b(0x22e)]])==null?void 0x0:_0x12d826[_0x423d4b(0x340)];_0x1ee02e&&_0x1ee02e[_0x423d4b(0x331)](_0x5ce88a=>this[_0x423d4b(0x2d9)][_0x423d4b(0xd5)](this['_unitID'],_0x5ce88a));}[_0x157244(0x185)](_0xb81b78){var _0x4f420b=_0x157244;try{const _0x390b34=_0xb81b78[_0x4f420b(0x213)];switch(_0x390b34['eventID']){case _0x3d4f34[_0x4f420b(0x206)][_0x4f420b(0x2a1)]:this['_onUserJoin'](_0x390b34),this['_event$'][_0x4f420b(0x341)](_0x390b34);break;case _0x3d4f34[_0x4f420b(0x206)][_0x4f420b(0x121)]:this['_onUserLeave'](_0x390b34),this[_0x4f420b(0x93)][_0x4f420b(0x341)](_0x390b34);break;case _0x3d4f34[_0x4f420b(0x206)][_0x4f420b(0x187)]:case _0x3d4f34[_0x4f420b(0x206)][_0x4f420b(0xb4)]:this[_0x4f420b(0x266)](),this['_clearCollaborationTimeoutTimer'](),this[_0x4f420b(0x93)][_0x4f420b(0x341)](_0x390b34);break;case _0x3d4f34['CollaborationEvent'][_0x4f420b(0x244)]:this['_logService'][_0x4f420b(0x1be)](_0x4f420b(0x1fe)+JSON['stringify'](_0x390b34)),this[_0x4f420b(0x93)]['next'](_0x390b34);break;case _0x3d4f34[_0x4f420b(0x206)][_0x4f420b(0xd1)]:this['_commentService'][_0x4f420b(0x1d6)](_0x390b34['data']),this[_0x4f420b(0x93)][_0x4f420b(0x341)](_0x390b34);break;default:this[_0x4f420b(0x93)][_0x4f420b(0x341)](_0x390b34);}}catch(_0x401955){this['_logService'][_0x4f420b(0x1be)](_0x401955,_0xb81b78);}}[_0x157244(0x174)](_0x5ab21e){var _0x30f81f=_0x157244;this[_0x30f81f(0x2d9)][_0x30f81f(0xd5)](this['_unitID'],_0x5ab21e[_0x30f81f(0x213)]);}[_0x157244(0x2d6)](_0x54dd67){var _0xc9f751=_0x157244;this[_0xc9f751(0x2d9)][_0xc9f751(0x2a0)](this[_0xc9f751(0x22e)],_0x54dd67[_0xc9f751(0x213)][_0xc9f751(0x7a)]);}async[_0x157244(0xe0)](_0x4dbd18,_0x1262d8){var _0x2bc83d=_0x157244;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x4dbd18['eventID']===_0x3d4f34[_0x2bc83d(0x206)][_0x2bc83d(0x98)]&&(this[_0x2bc83d(0x2a4)](),this['_startTelemetryCollaborationNewChangeset'](_0x4dbd18)),this[_0x2bc83d(0x34a)][_0x2bc83d(0xe0)]({'cmd':_0x5d3340[_0x2bc83d(0x2f5)],'routeKey':_0x1262d8,'routeType':'','data':_0x4dbd18});}catch(_0x1eb5b3){this[_0x2bc83d(0x165)][_0x2bc83d(0x1be)](_0x1eb5b3);}}['_scheduleCollaborationTimeoutTimer'](){var _0x10e89c=_0x157244,_0x226e24;this[_0x10e89c(0x1e5)]=setTimeout(()=>{var _0x15d2dc=_0x10e89c;this[_0x15d2dc(0x1e5)]=null,this['_collaborationUIEventService']['emitEvent']({'id':_0x419091[_0x15d2dc(0x217)]});},(_0x226e24=this[_0x10e89c(0x34b)][_0x10e89c(0x109)](_0x33ef13))!=null?_0x226e24:0x4e20);}['_clearCollaborationTimeoutTimer'](){var _0x5dd23e=_0x157244;this[_0x5dd23e(0x1e5)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x5dd23e(0x1e5)]=null);}[_0x157244(0x2d3)](_0x257030){var _0x29fe2a=_0x157244;if(!this[_0x29fe2a(0x2e5)])return;const {data:_0x323765}=_0x257030,{unitID:_0x28764d,changeset:_0x2e42de}=_0x323765,{mutations:_0x45816c,type:_0x166fbf}=_0x2e42de;this[_0x29fe2a(0x11d)]={'unitId':_0x28764d,'type':_0x166fbf,'startTime':performance[_0x29fe2a(0x3ac)](),'stopTime':0x0,'duration':0x0,'size':_0x4d9d39(_0x45816c)};}[_0x157244(0x266)](){var _0x47bd32=_0x157244;if(this[_0x47bd32(0x2e5)]){if(!this[_0x47bd32(0x11d)]){this[_0x47bd32(0x165)]['error'](_0x47bd32(0x3ab),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo']['stopTime']=performance[_0x47bd32(0x3ac)](),this[_0x47bd32(0x11d)][_0x47bd32(0x28d)]=this[_0x47bd32(0x11d)][_0x47bd32(0xcd)]-this[_0x47bd32(0x11d)][_0x47bd32(0xa2)],this['_telemetryService'][_0x47bd32(0xea)](_0x3e92c5,this[_0x47bd32(0x11d)]),this[_0x47bd32(0x11d)]=null;}}[_0x157244(0x3dd)](){var _0x1121e1=_0x157244;this[_0x1121e1(0x11d)]=null;}},_0x3626e2[_0x157244(0x90)]=_0x325b79([_0x5d89b0(0x2,_0x2c3d1f[_0x157244(0xdd)]),_0x5d89b0(0x3,_0x2c3d1f[_0x157244(0x1ca)]),_0x5d89b0(0x4,_0x2c3d1f[_0x157244(0x228)](_0x2c3d1f['LocaleService'])),_0x5d89b0(0x5,_0x2c3d1f[_0x157244(0x228)](_0x3626e2[_0x157244(0x19b)])),_0x5d89b0(0x6,_0x2c3d1f[_0x157244(0x228)](_0x4f7f99)),_0x5d89b0(0x7,_0x2c3d1f[_0x157244(0x228)](_0x1011ba)),_0x5d89b0(0x8,_0x2c3d1f[_0x157244(0x88)](_0x54f055[_0x157244(0x26d)]))],_0x3626e2[_0x157244(0x90)]);var _0x211f79=Object[_0x157244(0xd4)],_0x1acdd3=(_0x247580,_0x438708,_0x23da46,_0x264990)=>{var _0x448d41=_0x157244;for(var _0x13c2ba=_0x264990>0x1?void 0x0:_0x264990?_0x211f79(_0x438708,_0x23da46):_0x438708,_0x3afe92=_0x247580[_0x448d41(0x237)]-0x1,_0x43bd70;_0x3afe92>=0x0;_0x3afe92--)(_0x43bd70=_0x247580[_0x3afe92])&&(_0x13c2ba=_0x43bd70(_0x13c2ba)||_0x13c2ba);return _0x13c2ba;},_0x5d8566=(_0xb92a4e,_0x4a6a13)=>(_0x542118,_0x394eed)=>_0x4a6a13(_0x542118,_0x394eed,_0xb92a4e);_0x3626e2[_0x157244(0x35d)]=class extends _0x2c3d1f[_0x157244(0x10a)]{constructor(_0xa3a285,_0x349000,_0x5ec7e3,_0x1c7ab3,_0x5b5405,_0x59c927){var _0x1d34bb=_0x157244;super(),_0x267246(this,_0x1d34bb(0x2d4),new _0x1b96e3[(_0x1d34bb(0x312))](void 0x0)),_0x267246(this,_0x1d34bb(0x7f),this['_socket$'][_0x1d34bb(0x286)]()),_0x267246(this,'_candidateSocket',null),_0x267246(this,_0x1d34bb(0x1b8),new Map()),_0x267246(this,'_status$',new _0x1b96e3[(_0x1d34bb(0x312))](_0x9dbb3c[_0x1d34bb(0x300)])),_0x267246(this,_0x1d34bb(0x37c),this[_0x1d34bb(0x16b)][_0x1d34bb(0x286)]()),_0x267246(this,_0x1d34bb(0xf6),!0x1),_0x267246(this,'_retryConnectingTimer'),_0x267246(this,_0x1d34bb(0x3ef),0x0),_0x267246(this,_0x1d34bb(0x298)),_0x267246(this,_0x1d34bb(0x113)),(this[_0x1d34bb(0x2ba)]=_0xa3a285,this[_0x1d34bb(0x165)]=_0x349000,this[_0x1d34bb(0x34b)]=_0x5ec7e3,this[_0x1d34bb(0x28a)]=_0x1c7ab3,this[_0x1d34bb(0x9a)]=_0x5b5405,this[_0x1d34bb(0x92)]=_0x59c927,this[_0x1d34bb(0x2e3)]());}get[_0x157244(0x34a)](){var _0x394d34=_0x157244;return this[_0x394d34(0x2d4)]['getValue']();}[_0x157244(0x2e3)](){var _0x47ebe2=_0x157244;this[_0x47ebe2(0x92)]&&this[_0x47ebe2(0x205)](this['_networkConditionService']['online$'][_0x47ebe2(0x13e)](_0x10c3ab=>{var _0x46ec38=_0x47ebe2;_0x10c3ab&&!this[_0x46ec38(0x34a)]&&this['reconnect'](),_0x10c3ab||this[_0x46ec38(0x297)]();}));}[_0x157244(0x3e4)](){var _0x1527df=_0x157244;super['dispose'](),this[_0x1527df(0x12b)](),this['_clearTimeoutTimer'](),this[_0x1527df(0x367)](),this[_0x1527df(0x1b8)][_0x1527df(0x331)](_0xba4422=>_0xba4422['dispose']()),this['_sessions']['clear'](),this[_0x1527df(0x16b)][_0x1527df(0x2e8)]();}async[_0x157244(0xfa)](_0x5b2631){var _0x2496e6=_0x157244;if(this[_0x2496e6(0x1b8)][_0x2496e6(0x3c3)](_0x5b2631))return this[_0x2496e6(0x1b8)][_0x2496e6(0x23c)](_0x5b2631);this[_0x2496e6(0xdc)]();const _0x164be8=this[_0x2496e6(0x2ba)][_0x2496e6(0x3bd)](_0x3626e2[_0x2496e6(0x90)],_0x5b2631,this[_0x2496e6(0x2d4)][_0x2496e6(0x286)]());return this[_0x2496e6(0x1b8)][_0x2496e6(0xb5)](_0x5b2631,_0x164be8),_0x164be8;}['closeSession'](_0x5ba089){var _0x7b2b59=_0x157244,_0x27b401;const _0x484fc5=this[_0x7b2b59(0x1b8)][_0x7b2b59(0x23c)](_0x5ba089);_0x484fc5&&(this[_0x7b2b59(0x1b8)]['delete'](_0x5ba089),_0x484fc5['close']()),this[_0x7b2b59(0x1b8)][_0x7b2b59(0x366)]||(_0x27b401=this['_socket'])==null||_0x27b401[_0x7b2b59(0x2df)]();}[_0x157244(0x18d)](){var _0x31d806=_0x157244;this[_0x31d806(0x3ef)]=0x0,this[_0x31d806(0x12b)](),this[_0x31d806(0x11a)]();}[_0x157244(0x12b)](){var _0x5a7985=_0x157244;this[_0x5a7985(0x184)]!=null&&(clearTimeout(this[_0x5a7985(0x184)]),this[_0x5a7985(0x184)]=null);}async[_0x157244(0x203)](){var _0x12ff4f=_0x157244,_0x3bd89c,_0x29bbad;const _0x173506=this[_0x12ff4f(0x34b)]['getConfig'](_0x49f5ad),_0x993040=this[_0x12ff4f(0x34b)][_0x12ff4f(0x109)](_0x1f2870),_0x319324=(_0x29bbad=(_0x3bd89c=_0x993040==null?void 0x0:_0x993040[_0x12ff4f(0x2fc)])!=null?_0x3bd89c:_0x173506)!=null?_0x29bbad:_0x3414ac,_0xec12a9=await this[_0x12ff4f(0x28a)][_0x12ff4f(0x368)](_0x319324);return this[_0x12ff4f(0x381)]=_0xec12a9,_0xec12a9;}async[_0x157244(0xdc)](){var _0xbdd325=_0x157244,_0xf815fa,_0x55dc73;try{const _0x206cf1=(_0x55dc73=(_0xf815fa=this[_0xbdd325(0x34a)])!=null?_0xf815fa:this[_0xbdd325(0x381)])!=null?_0x55dc73:await this[_0xbdd325(0x203)]();if(_0x206cf1){const _0x55028c=_0x206cf1['send'];_0x206cf1[_0xbdd325(0xe0)]=_0x52b559=>(this[_0xbdd325(0x356)](),_0x55028c['apply'](_0x206cf1,[_0x52b559])),_0x206cf1[_0xbdd325(0x8d)]['subscribe'](_0x287bf4=>this[_0xbdd325(0x31f)](_0x206cf1,_0x287bf4)),_0x206cf1[_0xbdd325(0x3ae)][_0xbdd325(0x256)](_0x4cd497['take'](0x1))['subscribe'](_0x27f962=>this['_logService'][_0xbdd325(0x1be)](_0xbdd325(0x17f),_0x27f962)),_0x206cf1[_0xbdd325(0x195)]['pipe'](_0x4cd497[_0xbdd325(0x84)](0x1))['subscribe'](()=>{var _0x5a8096=_0xbdd325;this[_0x5a8096(0x20b)](_0x206cf1);}),_0x206cf1[_0xbdd325(0x287)]['pipe'](_0x4cd497[_0xbdd325(0x84)](0x1))[_0xbdd325(0x13e)](_0x52f716=>{var _0xecd97b=_0xbdd325;this[_0xecd97b(0x165)][_0xecd97b(0x2e0)](_0xecd97b(0x2e9),_0xecd97b(0x2af),_0x52f716),this[_0xecd97b(0x2ad)]();});}}catch(_0xe867e){this['_logService']['error'](_0xe867e),this[_0xbdd325(0x2ad)]();}}['_onConnectionOpen'](_0x4cafd7){var _0x15dbd9=_0x157244;this['_logService'][_0x15dbd9(0x2e0)](_0x15dbd9(0x2e9),_0x15dbd9(0x1ee)),_0x4cafd7[_0x15dbd9(0xe0)]({'cmd':_0x5d3340[_0x15dbd9(0x9c)]}),this['_rescheduleHeartbeat']();}[_0x157244(0x297)](){var _0xd2edb1=_0x157244;this[_0xd2edb1(0xf6)]=!0x1,this[_0xd2edb1(0x381)]=null,this[_0xd2edb1(0x16b)][_0xd2edb1(0x341)](_0x9dbb3c[_0xd2edb1(0x39a)]),this['_socket$'][_0xd2edb1(0x341)](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}[_0x157244(0x2ad)](){var _0x6e88e9=_0x157244,_0x2abb0a;this[_0x6e88e9(0x297)](),this[_0x6e88e9(0x3ef)]<((_0x2abb0a=this[_0x6e88e9(0x34b)][_0x6e88e9(0x109)](_0x522ab1))!=null?_0x2abb0a:0x3)?(this[_0x6e88e9(0x9a)][_0x6e88e9(0x348)]({'id':_0x419091[_0x6e88e9(0x25d)]}),this['_tryReconnect']()):this[_0x6e88e9(0x9a)][_0x6e88e9(0x348)]({'id':_0x419091['SOCKET_FAILED']});}[_0x157244(0x11a)](){var _0x45cc63=_0x157244,_0x598b6a;const _0x184934=this[_0x45cc63(0x3ef)],_0x233f1f=this[_0x45cc63(0x34b)][_0x45cc63(0x109)](_0x1f2870),_0x2bd88d=_0x184934===0x0?0x0:((_0x598b6a=_0x233f1f==null?void 0x0:_0x233f1f[_0x45cc63(0x2e7)])!=null?_0x598b6a:0x4e20)*0x2**_0x184934;this[_0x45cc63(0x184)]=setTimeout(()=>{var _0x2e3545=_0x45cc63;clearTimeout(this[_0x2e3545(0x184)]),this[_0x2e3545(0x184)]=null,this[_0x2e3545(0xdc)]();},_0x2bd88d),this[_0x45cc63(0x3ef)]+=0x1;}[_0x157244(0x31f)](_0x19a868,_0x5e2a9d){var _0x6f7fed=_0x157244;const {cmd:_0x23484f}=_0x5e2a9d;_0x23484f===_0x5d3340[_0x6f7fed(0x9c)]&&!this[_0x6f7fed(0xf6)]&&(_0x19a868[_0x6f7fed(0x7a)]=_0x5e2a9d[_0x6f7fed(0x213)][_0x6f7fed(0x7a)],this['_socket$'][_0x6f7fed(0x341)](_0x19a868),this[_0x6f7fed(0x16b)]['next'](_0x9dbb3c['ONLINE']),this[_0x6f7fed(0xf6)]=!0x0,this['_candidateSocket']=null),_0x23484f===_0x5d3340['HEARTBEAT']&&this['_clearTimeoutTimer'](),this['_rescheduleHeartbeat']();}['_rescheduleHeartbeat'](){var _0x3e1bad=_0x157244,_0x386821;this[_0x3e1bad(0x367)](),this['_sendHeartbeatTimer']=setTimeout(()=>this['_sendHeartbeat'](),(_0x386821=this[_0x3e1bad(0x34b)][_0x3e1bad(0x109)](_0x16f77c))!=null?_0x386821:0x7530);}[_0x157244(0x311)](){var _0x3d353d=_0x157244;this['_socket'][_0x3d353d(0xe0)]({'cmd':_0x5d3340['HEARTBEAT']}),this[_0x3d353d(0xef)]();}[_0x157244(0xef)](){var _0x99fb08=_0x157244,_0x42685b;this[_0x99fb08(0x113)]=setTimeout(()=>this[_0x99fb08(0x2ad)](),(_0x42685b=this[_0x99fb08(0x34b)]['getConfig'](_0x33ef13))!=null?_0x42685b:0x4e20);}[_0x157244(0x367)](){var _0x16985e=_0x157244;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x16985e(0x298)]=null);}['_clearTimeoutTimer'](){var _0x514200=_0x157244;this[_0x514200(0x113)]!=null&&(clearTimeout(this[_0x514200(0x113)]),this['_timeoutTimer']=null);}},_0x3626e2[_0x157244(0x35d)]=_0x1acdd3([_0x5d8566(0x0,_0x2c3d1f[_0x157244(0x228)](_0x2c3d1f[_0x157244(0x384)])),_0x5d8566(0x1,_0x2c3d1f['ILogService']),_0x5d8566(0x2,_0x2c3d1f['IConfigService']),_0x5d8566(0x3,_0x1e9773),_0x5d8566(0x4,_0x2c3d1f[_0x157244(0x228)](_0x1011ba)),_0x5d8566(0x5,_0x2c3d1f[_0x157244(0x88)](_0x106d85))],_0x3626e2[_0x157244(0x35d)]);const _0x5bf403=[];for(let _0x3fde35=0x0;_0x3fde35<0x100;++_0x3fde35)_0x5bf403[_0x157244(0x192)]((_0x3fde35+0x100)[_0x157244(0x132)](0x10)[_0x157244(0x102)](0x1));function _0x2eec68(_0x16a3e8,_0x50b491=0x0){var _0x240be9=_0x157244;return(_0x5bf403[_0x16a3e8[_0x50b491+0x0]]+_0x5bf403[_0x16a3e8[_0x50b491+0x1]]+_0x5bf403[_0x16a3e8[_0x50b491+0x2]]+_0x5bf403[_0x16a3e8[_0x50b491+0x3]]+'-'+_0x5bf403[_0x16a3e8[_0x50b491+0x4]]+_0x5bf403[_0x16a3e8[_0x50b491+0x5]]+'-'+_0x5bf403[_0x16a3e8[_0x50b491+0x6]]+_0x5bf403[_0x16a3e8[_0x50b491+0x7]]+'-'+_0x5bf403[_0x16a3e8[_0x50b491+0x8]]+_0x5bf403[_0x16a3e8[_0x50b491+0x9]]+'-'+_0x5bf403[_0x16a3e8[_0x50b491+0xa]]+_0x5bf403[_0x16a3e8[_0x50b491+0xb]]+_0x5bf403[_0x16a3e8[_0x50b491+0xc]]+_0x5bf403[_0x16a3e8[_0x50b491+0xd]]+_0x5bf403[_0x16a3e8[_0x50b491+0xe]]+_0x5bf403[_0x16a3e8[_0x50b491+0xf]])[_0x240be9(0x28e)]();}let _0x353651;const _0xeb1dc=new Uint8Array(0x10);function _0x5c4b4d(){var _0x4d1cb0=_0x157244;if(!_0x353651){if(typeof crypto>'u'||!crypto[_0x4d1cb0(0x8f)])throw new Error(_0x4d1cb0(0x216));_0x353651=crypto['getRandomValues'][_0x4d1cb0(0x301)](crypto);}return _0x353651(_0xeb1dc);}const _0x2d4fe9={'randomUUID':typeof crypto<'u'&&crypto[_0x157244(0x23a)]&&crypto[_0x157244(0x23a)][_0x157244(0x301)](crypto)};function _0x3f06a7(_0x22586b,_0x15431d,_0x30e2d8){var _0x34431e=_0x157244,_0x4a0dfe,_0x34220b,_0x4ea238;if(_0x2d4fe9[_0x34431e(0x23a)]&&!_0x22586b)return _0x2d4fe9['randomUUID']();_0x22586b=_0x22586b||{};const _0x2a5777=(_0x4ea238=(_0x34220b=_0x22586b[_0x34431e(0x36b)])!=null?_0x34220b:(_0x4a0dfe=_0x22586b[_0x34431e(0x351)])==null?void 0x0:_0x4a0dfe[_0x34431e(0x285)](_0x22586b))!=null?_0x4ea238:_0x5c4b4d();if(_0x2a5777[_0x34431e(0x237)]<0x10)throw new Error(_0x34431e(0x2ce));return _0x2a5777[0x6]=_0x2a5777[0x6]&0xf|0x40,_0x2a5777[0x8]=_0x2a5777[0x8]&0x3f|0x80,_0x2eec68(_0x2a5777);}const _0x5b8b0a=_0x2c3d1f['createIdentifier']('collaboration-client.local-cache-service');function _0x455873(_0x315685){return'unit-cache-'+_0x315685;}var _0x31f09e=Object[_0x157244(0xd4)],_0xb57702=(_0x53ddba,_0x3e9d90,_0x13d8c4,_0x13163b)=>{var _0x253fd5=_0x157244;for(var _0x3202b3=_0x13163b>0x1?void 0x0:_0x13163b?_0x31f09e(_0x3e9d90,_0x13d8c4):_0x3e9d90,_0x47903d=_0x53ddba[_0x253fd5(0x237)]-0x1,_0x169ba9;_0x47903d>=0x0;_0x47903d--)(_0x169ba9=_0x53ddba[_0x47903d])&&(_0x3202b3=_0x169ba9(_0x3202b3)||_0x3202b3);return _0x3202b3;},_0x218893=(_0x1bb604,_0x3db664)=>(_0x1bed5b,_0x3e8d17)=>_0x3db664(_0x1bed5b,_0x3e8d17,_0x1bb604);function _0xc824a0(_0x3e36fc){var _0x17b076=_0x157244;const {unitID:_0x26d2f9,mutations:_0x396648}=_0x3e36fc;return{'unitId':_0x26d2f9,'subUnitId':_0x396648[0x0][_0x17b076(0xe5)][_0x17b076(0x186)]};}_0x3626e2['SheetTransformSelectionsService']=class{constructor(_0x3605c4,_0x20cfb2,_0x2a33b0){var _0x5eceb4=_0x157244;this[_0x5eceb4(0x2ba)]=_0x3605c4,this['_transformService']=_0x20cfb2,this[_0x5eceb4(0xf0)]=_0x2a33b0;}[_0x157244(0xbe)](_0x132a0c){var _0x4b571c=_0x157244,_0x50eda9,_0x3e2572,_0x285d48,_0x3e92cf;const _0x32a77f=this[_0x4b571c(0x2ba)]['get'](_0x312698['SheetsSelectionsService']),{unitId:_0x48d90f,subUnitId:_0x447601}=_0xc824a0(_0x132a0c),_0x2e4d7e=_0x32a77f==null?void 0x0:_0x32a77f[_0x4b571c(0x337)](_0x48d90f)[_0x4b571c(0x318)](),_0xe53f56=(_0x3e2572=(_0x50eda9=this['_instanceService'][_0x4b571c(0x175)](_0x48d90f))==null?void 0x0:_0x50eda9[_0x4b571c(0xc7)]())==null?void 0x0:_0x3e2572['getSheetId']();if(_0x2e4d7e['length']===0x0||!_0x48d90f||!_0x447601)return;const _0x3be216=[{'id':_0x312698[_0x4b571c(0x18b)]['id'],'params':{'unitId':_0x48d90f,'subUnitId':_0xe53f56,'selections':_0x2c3d1f[_0x4b571c(0x363)][_0x4b571c(0x31d)](_0x2e4d7e)}}],_0x20d57c=this['_transformService'][_0x4b571c(0x347)](_0x132a0c,_0x3be216);if(!_0x3d4f34[_0x4b571c(0x94)](_0x20d57c))throw _0x20d57c['error'];const _0x6037f3=(_0x3e92cf=(_0x285d48=_0x20d57c[_0x4b571c(0x24b)][0x0])==null?void 0x0:_0x285d48[_0x4b571c(0xe5)])==null?void 0x0:_0x3e92cf['selections'];if(Array[_0x4b571c(0xa8)](_0x6037f3)&&_0x6037f3[_0x4b571c(0x237)]){if(_0x6037f3[_0x4b571c(0x237)]===_0x3be216[0x0][_0x4b571c(0xe5)]['selections']['length']&&_0x6037f3[_0x4b571c(0x199)]((_0x5c7b1d,_0x4447b8)=>_0x2c3d1f[_0x4b571c(0x2dc)]['equals'](_0x5c7b1d['range'],_0x3be216[0x0][_0x4b571c(0xe5)][_0x4b571c(0x232)][_0x4447b8][_0x4b571c(0x1b1)])))return;this[_0x4b571c(0x2ba)][_0x4b571c(0x23c)](_0x2c3d1f[_0x4b571c(0x18f)])[_0x4b571c(0x23d)](_0x312698[_0x4b571c(0x18b)]['id'],{'unitId':_0x48d90f,'subUnitId':_0xe53f56,'selections':_0x6037f3});}}},_0x3626e2[_0x157244(0x2c6)]=_0xb57702([_0x218893(0x0,_0x2c3d1f[_0x157244(0x228)](_0x2c3d1f[_0x157244(0x384)])),_0x218893(0x1,_0x3d4f34[_0x157244(0x82)]),_0x218893(0x2,_0x2c3d1f[_0x157244(0x282)])],_0x3626e2[_0x157244(0x2c6)]);const _0x1a3b23=_0x2c3d1f[_0x157244(0x376)](_0x157244(0x6b));var _0x2c9d3f=(_0x27900a=>(_0x27900a[_0x27900a[_0x157244(0x130)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x27900a[_0x27900a['OTHER_CLIENTS_EDITING']=0x1]=_0x157244(0x10e),_0x27900a))(_0x2c9d3f||{});const _0x49d417=new Set([_0x312698[_0x157244(0x1e6)]['id']]);function _0x43cf93(_0x3ad33d,_0xc5553c,_0x1bcb04,_0x370409,_0x171db8){var _0x43df42=_0x157244,_0x1da2c8,_0x5c9c81,_0x5593b6,_0xab9880;const _0x258e79=[];for(const _0x42ae75 of _0x3ad33d)if(_0x49d417['has'](_0x42ae75['id'])){if(_0x258e79['length']>0x0)break;_0x258e79[_0x43df42(0x192)](_0x42ae75);break;}else _0x258e79[_0x43df42(0x192)](_0x42ae75);const _0x36cee1=(_0x5c9c81=(_0x1da2c8=_0x171db8[_0x43df42(0x2bd)]())==null?void 0x0:_0x1da2c8[_0x43df42(0x39b)])!=null?_0x5c9c81:_0x43df42(0x22f),_0x36214a=(_0xab9880=(_0x5593b6=_0x171db8[_0x43df42(0x2bd)]())==null?void 0x0:_0x5593b6['memberID'])!=null?_0xab9880:_0x43df42(0x22f);return{'changeset':{'unitID':_0xc5553c,'type':_0x3d4f34[_0x43df42(0x1fb)](_0x1bcb04[_0x43df42(0x12f)](_0xc5553c)),'baseRev':_0x370409['getCurrentRevOfUnit'](_0xc5553c),'revision':0x0,'userID':_0x36cee1,'memberID':_0x36214a,'mutations':_0x258e79},'pendingMutations':_0x3ad33d['slice'](_0x258e79[_0x43df42(0x237)])};}function _0x1bee14(_0x4a6608,_0x1ea95a,_0x238803,_0x28a17f,_0x30dd85){var _0x5bb7c6=_0x157244,_0x20945c,_0x4cbd04,_0x25a64a,_0x5bbbf8;const _0x112564=[_0x4a6608[_0x5bb7c6(0x27c)]((_0x10f2af,_0x569477)=>{var _0x113682=_0x5bb7c6,_0x2f31f6;const {id:_0x536e78}=_0x10f2af,{id:_0x4a63e0,type:_0x38ace8}=_0x569477,_0x334b3b=(_0x2f31f6=_0x10f2af['params'])!=null?_0x2f31f6:{'actions':null},_0x183161=_0x569477['params'];if(_0x536e78&&_0x536e78!==_0x4a63e0)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x536e78+_0x113682(0x2b9)+_0x4a63e0+'.');return{..._0x10f2af,'id':_0x4a63e0,'type':_0x38ace8,'params':{'unitId':_0x183161[_0x113682(0x21c)],'textRanges':_0x183161[_0x113682(0x39c)],'actions':_0x2c3d1f['JSONX']['compose'](_0x334b3b['actions'],_0x183161[_0x113682(0x1de)])}};},{})],_0x82fcad=(_0x4cbd04=(_0x20945c=_0x30dd85[_0x5bb7c6(0x2bd)]())==null?void 0x0:_0x20945c[_0x5bb7c6(0x39b)])!=null?_0x4cbd04:_0x5bb7c6(0x22f),_0x392c5c=(_0x5bbbf8=(_0x25a64a=_0x30dd85[_0x5bb7c6(0x2bd)]())==null?void 0x0:_0x25a64a['memberID'])!=null?_0x5bbbf8:_0x5bb7c6(0x22f);return{'changeset':{'unitID':_0x1ea95a,'type':_0x3d4f34['mapDocumentTypeToUniverType'](_0x238803[_0x5bb7c6(0x12f)](_0x1ea95a)),'baseRev':_0x28a17f['getCurrentRevOfUnit'](_0x1ea95a),'revision':0x0,'userID':_0x82fcad,'memberID':_0x392c5c,'mutations':_0x112564},'pendingMutations':[]};}function _0x536191(_0x386666,_0x2c24a4){var _0x21c8b0=_0x157244;const _0x18adf7=new _0x1b96e3[(_0x21c8b0(0x2ec))](0x1);return setTimeout(()=>_0x18adf7[_0x21c8b0(0x341)](_0x2c24a4),_0x386666),_0x18adf7[_0x21c8b0(0x286)]()[_0x21c8b0(0x256)](_0x1b96e3[_0x21c8b0(0x84)](0x1));}const _0x3689cf={'id':_0x312698[_0x157244(0x254)]['id'],'type':_0x2c3d1f[_0x157244(0x2ae)][_0x157244(0xc5)],'params':{}};var _0x3d3ebb=Object[_0x157244(0xd4)],_0x9e44e4=(_0x5d27ba,_0x208b23,_0x5dc57c,_0x16feaa)=>{var _0x371d62=_0x157244;for(var _0x500b2a=_0x16feaa>0x1?void 0x0:_0x16feaa?_0x3d3ebb(_0x208b23,_0x5dc57c):_0x208b23,_0x4f5e8a=_0x5d27ba[_0x371d62(0x237)]-0x1,_0x2a8890;_0x4f5e8a>=0x0;_0x4f5e8a--)(_0x2a8890=_0x5d27ba[_0x4f5e8a])&&(_0x500b2a=_0x2a8890(_0x500b2a)||_0x500b2a);return _0x500b2a;},_0x229bfa=(_0x2dad95,_0x5ab958)=>(_0x1aac41,_0x413003)=>_0x5ab958(_0x1aac41,_0x413003,_0x2dad95),_0x728ae3=(_0x10e8b0=>(_0x10e8b0[_0x157244(0x26e)]=_0x157244(0x31c),_0x10e8b0[_0x157244(0x181)]=_0x157244(0x1ec),_0x10e8b0[_0x157244(0x6f)]='pending',_0x10e8b0[_0x157244(0x2d5)]=_0x157244(0x8b),_0x10e8b0[_0x157244(0x14c)]=_0x157244(0x21d),_0x10e8b0[_0x157244(0x1b6)]=_0x157244(0x3cd),_0x10e8b0['CONFLICT']=_0x157244(0x124),_0x10e8b0['OFFLINE']=_0x157244(0x1d2),_0x10e8b0))(_0x728ae3||{});const _0x53bdcc=0xea60;class _0x20205f{constructor(_0x2bfb6f,_0x18fe9d,_0x3c2d89,_0x4d037f,_0x2da2bf,_0x1690ec,_0x4ef5c0,_0x2f2955,_0x2e7c06){var _0x46cb3a=_0x157244;_0x267246(this,_0x46cb3a(0x12e),null),_0x267246(this,_0x46cb3a(0x3a4),[]),(this[_0x46cb3a(0xd7)]=_0x2bfb6f,this[_0x46cb3a(0x219)]=_0x18fe9d,this[_0x46cb3a(0x2cc)]=_0x2da2bf,this[_0x46cb3a(0x1e7)]=_0x1690ec,this[_0x46cb3a(0x14e)]=_0x4ef5c0,this[_0x46cb3a(0x1e2)]=_0x2f2955,this[_0x46cb3a(0x1a3)]=_0x2e7c06,this[_0x46cb3a(0x12e)]=_0x3c2d89,this[_0x46cb3a(0x3a4)]=_0x4d037f);}[_0x157244(0x1bc)](_0x21a6fe){var _0x51698e=_0x157244;const _0x9ad03d=this[_0x51698e(0x1e2)]['getCurrentRevOfUnit'](this[_0x51698e(0xd7)]);return _0x21a6fe[_0x51698e(0x346)]>_0x9ad03d+0x1?(this[_0x51698e(0x2cc)][_0x51698e(0x319)]({'from':_0x9ad03d,'to':_0x21a6fe[_0x51698e(0x346)]-0x1}),!0x0):!0x1;}[_0x157244(0xc6)](_0xcb92b9){var _0x57af6e=_0x157244;this[_0x57af6e(0x14e)][_0x57af6e(0x3a2)](this[_0x57af6e(0xd7)],_0xcb92b9);}[_0x157244(0x3b8)](_0x393a51){var _0x11601f=_0x157244,_0x1cb7fe,_0x16142e;(_0x16142e=(_0x1cb7fe=this['_handler'])[_0x11601f(0x26b)])==null||_0x16142e['call'](_0x1cb7fe,_0x393a51);}[_0x157244(0x3e9)](_0x4b621a){var _0x3dd952=_0x157244,_0x4746b0,_0x593d09;return(_0x593d09=(_0x4746b0=this[_0x3dd952(0x2cc)])['onTransformIME'])==null?void 0x0:_0x593d09['call'](_0x4746b0,_0x4b621a);}[_0x157244(0x2c0)](_0x468219){var _0x156663=_0x157244,_0x5666f9,_0x32f21c;return(_0x32f21c=(_0x5666f9=this[_0x156663(0x2cc)])[_0x156663(0x81)])==null?void 0x0:_0x32f21c[_0x156663(0x285)](_0x5666f9,_0x468219);}[_0x157244(0x3c0)](_0x1323a8){var _0x1b96d7=_0x157244,_0x2ff6b2,_0x54bc4b,_0x335fb2;return(_0x335fb2=(_0x54bc4b=(_0x2ff6b2=this['_handler'])[_0x1b96d7(0x154)])==null?void 0x0:_0x54bc4b[_0x1b96d7(0x285)](_0x2ff6b2,_0x1323a8))!=null?_0x335fb2:_0x1323a8;}[_0x157244(0x289)](_0x5d37ef){var _0x20f1c3=_0x157244,_0x1575ea,_0x1b0031,_0x4169fd;return(_0x4169fd=(_0x1b0031=(_0x1575ea=this[_0x20f1c3(0x2cc)])[_0x20f1c3(0x166)])==null?void 0x0:_0x1b0031[_0x20f1c3(0x285)](_0x1575ea,_0x5d37ef))!=null?_0x4169fd:_0x5d37ef;}[_0x157244(0x225)](_0x206b67){var _0x51a383=_0x157244,_0xa1f7c4,_0xe1a372;if(this[_0x51a383(0x219)]===_0x42e8e1['UNIVER_DOC']){const {unitID:_0x1b4839,mutations:_0xeb5f79,memberID:_0x5a0077}=_0x206b67,_0x2e686d=_0xeb5f79[0x0][_0x51a383(0xe5)][_0x51a383(0x39c)];Array[_0x51a383(0xa8)](_0x2e686d)&&_0x2e686d[_0x51a383(0x237)]>0x0&&((_0xe1a372=(_0xa1f7c4=this['_handler'])[_0x51a383(0x36f)])==null||_0xe1a372[_0x51a383(0x285)](_0xa1f7c4,{'unitID':_0x1b4839,'memberID':_0x5a0077,'textRanges':_0x2e686d}));}}[_0x157244(0x1f4)](){var _0x483074=_0x157244,_0x4625ae;(_0x4625ae=this[_0x483074(0x1a3)])==null||_0x4625ae[_0x483074(0x26a)](this[_0x483074(0xd7)],this[_0x483074(0x219)],this['_awaitingChangeset'],this['_pendingMutations']);}[_0x157244(0x398)](){var _0x45e8ee=_0x157244;return this[_0x45e8ee(0x1e2)]['getCurrentRevOfUnit'](this[_0x45e8ee(0xd7)]);}[_0x157244(0x6c)](){var _0x2b8402=_0x157244;this['_revisionService'][_0x2b8402(0x22b)](this[_0x2b8402(0xd7)]);}[_0x157244(0x2ef)](_0x58417e){var _0x13863d=_0x157244,_0x434127;let _0x248058=this[_0x13863d(0x3c0)](_0x58417e);_0x248058=this[_0x13863d(0x289)](_0x248058);const _0x1c0971=_0x2c3d1f['sequenceExecute'](_0x248058[_0x13863d(0x391)],this[_0x13863d(0x1e7)],{'fromCollab':!0x0});if(!_0x1c0971[_0x13863d(0x3b6)])throw _0x1c0971[_0x13863d(0x1be)]instanceof Error?_0x1c0971['error']:new Error((_0x434127=_0x1c0971[_0x13863d(0x1be)])!=null?_0x434127:'[CollaborationState]:\x20apply\x20error!');this[_0x13863d(0x3e9)](_0x248058),this['_transformStateCache'](_0x248058),this['_transformUndoredo'](_0x58417e),this[_0x13863d(0x3b8)](_0x248058),this['_syncEditingCollabCursor'](_0x248058),this[_0x13863d(0x6c)]();}}_0x3626e2[_0x157244(0x385)]=class extends _0x20205f{constructor(_0x47268e,_0x143c0c,_0x51419e,_0x1cb6f9,_0x2d89a9,_0x3f582e,_0x44419e,_0x384d9c,_0x109469,_0x7d6c25){var _0x68ee2d=_0x157244;super(_0x47268e,_0x143c0c,null,[],_0x51419e,_0x44419e,_0x3f582e,_0x1cb6f9,_0x7d6c25),_0x267246(this,_0x68ee2d(0x176),_0x68ee2d(0x1ec)),(this['_injector']=_0x2d89a9,this[_0x68ee2d(0x165)]=_0x384d9c,this[_0x68ee2d(0x234)]=_0x109469,this['localCacheService']=_0x7d6c25);}[_0x157244(0x295)](_0x45e768){var _0x23949d=_0x157244;const _0x54e82b=this['_injector']['createInstance'](_0x3626e2[_0x23949d(0x362)],this[_0x23949d(0xd7)],this[_0x23949d(0x219)],[_0x45e768],this[_0x23949d(0x2cc)]);return _0x54e82b[_0x23949d(0x99)](),_0x54e82b[_0x23949d(0x1f4)](),_0x54e82b;}[_0x157244(0x75)](_0xe0fa5f){var _0xc637c1=_0x157244;if(this[_0xc637c1(0x1bc)](_0xe0fa5f))return this['_injector'][_0xc637c1(0x3bd)](_0x3626e2[_0xc637c1(0x12d)],this[_0xc637c1(0xd7)],this[_0xc637c1(0x219)],null,[],null,[_0xe0fa5f],this[_0xc637c1(0x2cc)]);try{const _0x3d69bf=this[_0xc637c1(0x234)][_0xc637c1(0x347)](_0xe0fa5f,[_0x3689cf]);if(_0x3d4f34['isTransformMutationsWithChangesetSuccess'](_0x3d69bf)){const {c1Prime:_0x103cd4}=_0x3d69bf;return this[_0xc637c1(0x2ef)](_0x103cd4),this;}throw _0x3d69bf[_0xc637c1(0x1be)];}catch(_0x395afa){return this[_0xc637c1(0x165)][_0xc637c1(0x1be)](_0x395afa),this[_0xc637c1(0x127)](!0x1);}}[_0x157244(0x127)](_0xdf3c76){var _0x36d425=_0x157244;return this[_0x36d425(0x2ba)][_0x36d425(0x3bd)](_0x3626e2['ConflictState'],this[_0x36d425(0xd7)],this['type'],null,[],this[_0x36d425(0x2cc)],_0xdf3c76);}[_0x157244(0x17d)](){var _0x9777a8=_0x157244;throw new Error(_0x9777a8(0x211));}[_0x157244(0x371)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x157244(0x1a7)](){return this;}['toggleOffline'](){var _0x43ce22=_0x157244;return this[_0x43ce22(0x2ba)]['createInstance'](_0x3626e2[_0x43ce22(0xca)],this[_0x43ce22(0xd7)],this['type'],null,[],this[_0x43ce22(0x2cc)]);}[_0x157244(0x3f2)](){return this;}[_0x157244(0x343)](){var _0x1a313a=_0x157244;throw new Error(_0x1a313a(0x335));}[_0x157244(0x229)](){var _0x50c089=_0x157244;const _0xe3a82d=this[_0x50c089(0x1e2)][_0x50c089(0xa3)](this[_0x50c089(0xd7)]);return this[_0x50c089(0x2cc)][_0x50c089(0x319)]({'from':_0xe3a82d,'to':0x0}),this['_injector'][_0x50c089(0x3bd)](_0x3626e2['FetchingMissState'],this[_0x50c089(0xd7)],this[_0x50c089(0x219)],null,[],null,[],this[_0x50c089(0x2cc)]);}},_0x3626e2[_0x157244(0x385)]=_0x9e44e4([_0x229bfa(0x3,_0x2c3d1f[_0x157244(0x228)](_0x3d4f34[_0x157244(0xd3)])),_0x229bfa(0x4,_0x2c3d1f['Inject'](_0x2c3d1f[_0x157244(0x384)])),_0x229bfa(0x5,_0x2c3d1f[_0x157244(0x394)]),_0x229bfa(0x6,_0x2c3d1f[_0x157244(0x18f)]),_0x229bfa(0x7,_0x2c3d1f[_0x157244(0xdd)]),_0x229bfa(0x8,_0x3d4f34[_0x157244(0x82)]),_0x229bfa(0x9,_0x2c3d1f[_0x157244(0x88)](_0x5b8b0a))],_0x3626e2[_0x157244(0x385)]),_0x3626e2['PendingState']=class extends _0x20205f{constructor(_0x502f25,_0x762a77,_0x54012e,_0x4cb23c,_0x74f4c0,_0x473b69,_0x6fd2f7,_0x4f992b,_0x293dd3,_0x253db9,_0x4be439,_0x491ad7,_0x98f62d,_0x3056a7){var _0x525411=_0x157244;super(_0x502f25,_0x762a77,null,_0x54012e,_0x4cb23c,_0x293dd3,_0x98f62d,_0x473b69,_0x3056a7),_0x267246(this,_0x525411(0x176),_0x525411(0x11e)),_0x267246(this,_0x525411(0x33e),null),_0x267246(this,_0x525411(0x39d),null),(this[_0x525411(0x2ba)]=_0x74f4c0,this[_0x525411(0x2d9)]=_0x6fd2f7,this['_logService']=_0x4f992b,this[_0x525411(0x34b)]=_0x253db9,this[_0x525411(0x234)]=_0x4be439,this[_0x525411(0x3bc)]=_0x491ad7);}[_0x157244(0x295)](_0x2dc289){var _0x2cb07b=_0x157244;return this['_pendingMutations'][_0x2cb07b(0x192)](_0x2dc289),this[_0x2cb07b(0x1f4)](),this;}[_0x157244(0x75)](_0x2d3c1c){var _0x14d5eb=_0x157244;if(this[_0x14d5eb(0x1bc)](_0x2d3c1c))return this[_0x14d5eb(0x264)](),this['_injector'][_0x14d5eb(0x3bd)](_0x3626e2['FetchingMissState'],this[_0x14d5eb(0xd7)],this['type'],null,this[_0x14d5eb(0x3a4)],null,[_0x2d3c1c],this['_handler']);try{const _0x541097=this[_0x14d5eb(0x234)][_0x14d5eb(0x347)](_0x2d3c1c,this[_0x14d5eb(0x3a4)]);if(_0x3d4f34[_0x14d5eb(0x94)](_0x541097)){const {c1Prime:_0x36ae51,m2Prime:_0x178484}=_0x541097;this[_0x14d5eb(0x2ef)](_0x36ae51);const _0x5aab67=this[_0x14d5eb(0x2ba)][_0x14d5eb(0x3bd)](_0x3626e2[_0x14d5eb(0x362)],this[_0x14d5eb(0xd7)],this['type'],_0x178484,this[_0x14d5eb(0x2cc)]);this[_0x14d5eb(0x264)]();const _0x2d92c3=new Date()[_0x14d5eb(0x3c6)](),_0x22b28d=this[_0x14d5eb(0x33e)]?Math['max'](this[_0x14d5eb(0x33e)]-_0x2d92c3,0x0):this[_0x14d5eb(0x236)]();return _0x5aab67[_0x14d5eb(0x99)](_0x22b28d),_0x5aab67;}throw _0x541097[_0x14d5eb(0x1be)];}catch(_0x359333){return this[_0x14d5eb(0x165)]['error'](_0x359333),this['_onConflict'](!0x1);}}[_0x157244(0x17d)](){var _0x143e3f=_0x157244;throw new Error(_0x143e3f(0x1a1));}[_0x157244(0x371)](){throw new Error('[PendingState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x4da6e3=_0x157244;return this['_clearScheduledTask'](),this[_0x4da6e3(0x2ba)]['createInstance'](_0x3626e2[_0x4da6e3(0xca)],this[_0x4da6e3(0xd7)],this['type'],null,this[_0x4da6e3(0x3a4)],this[_0x4da6e3(0x2cc)]);}['toggleOnline'](){return this;}[_0x157244(0x99)](_0x3aecf1){var _0xa3ead5=_0x157244;const _0x385678=_0x3aecf1!=null?_0x3aecf1:this[_0xa3ead5(0x236)]();this[_0xa3ead5(0x33e)]=new Date()[_0xa3ead5(0x3c6)]()+_0x385678,this[_0xa3ead5(0x39d)]=setTimeout(()=>{var _0x47ec57=_0xa3ead5;this[_0x47ec57(0x264)]();let _0x3355d3=null;switch(this['type']){case _0x42e8e1['UNIVER_SHEET']:{_0x3355d3=_0x43cf93(this[_0x47ec57(0x3a4)],this[_0x47ec57(0xd7)],this[_0x47ec57(0x3bc)],this[_0x47ec57(0x1e2)],this[_0x47ec57(0x2d9)]);break;}case _0x42e8e1[_0x47ec57(0x2b2)]:{this[_0x47ec57(0x3a4)][_0x47ec57(0x199)](_0x52692c=>_0x52692c['id']===_0x1e570b[_0x47ec57(0x1cb)]['id'])?_0x3355d3=_0x1bee14(this['_pendingMutations'],this[_0x47ec57(0xd7)],this[_0x47ec57(0x3bc)],this['_revisionService'],this[_0x47ec57(0x2d9)]):_0x3355d3=_0x43cf93(this['_pendingMutations'],this['unitID'],this[_0x47ec57(0x3bc)],this[_0x47ec57(0x1e2)],this[_0x47ec57(0x2d9)]);break;}default:throw new Error(_0x47ec57(0x33d)+this['type']+_0x47ec57(0x2f2));}const {changeset:_0x28b149,pendingMutations:_0x1b2649}=_0x3355d3;this[_0x47ec57(0x2cc)]['onSendChangeset'](_0x28b149);const _0x5dd0d0=_0x1b2649[_0x47ec57(0x237)]?this[_0x47ec57(0x2ba)][_0x47ec57(0x3bd)](_0x3626e2['AwaitingWithPendingState'],this[_0x47ec57(0xd7)],this[_0x47ec57(0x219)],_0x28b149,_0x1b2649,this[_0x47ec57(0x2cc)],void 0x0):this[_0x47ec57(0x2ba)][_0x47ec57(0x3bd)](_0x3626e2['AwaitingState'],this[_0x47ec57(0xd7)],this['type'],_0x28b149,this['_handler']);_0x5dd0d0[_0x47ec57(0x1f4)](),this[_0x47ec57(0x2cc)][_0x47ec57(0x2d7)](this,_0x5dd0d0);},_0x385678);}[_0x157244(0x236)](){var _0x25b31f=_0x157244,_0x3f29ef;const _0x5b788d=this[_0x25b31f(0x34b)][_0x25b31f(0x109)](_0x1f2870);return(_0x3f29ef=_0x5b788d==null?void 0x0:_0x5b788d['sendChangesetTimeout'])!=null?_0x3f29ef:0x7d0;}['resend'](){var _0x3f9e41=_0x157244;throw new Error(_0x3f9e41(0xe3));}[_0x157244(0x264)](){var _0x4462d7=_0x157244;this[_0x4462d7(0x39d)]!=null&&(clearTimeout(this[_0x4462d7(0x39d)]),this[_0x4462d7(0x39d)]=null);}[_0x157244(0x127)](_0x326a36){var _0xcc7a93=_0x157244;return this[_0xcc7a93(0x264)](),this[_0xcc7a93(0x2ba)][_0xcc7a93(0x3bd)](_0x3626e2[_0xcc7a93(0x169)],this['unitID'],this[_0xcc7a93(0x219)],null,this[_0xcc7a93(0x3a4)],this[_0xcc7a93(0x2cc)],_0x326a36);}},_0x3626e2[_0x157244(0x362)]=_0x9e44e4([_0x229bfa(0x4,_0x2c3d1f[_0x157244(0x228)](_0x2c3d1f[_0x157244(0x384)])),_0x229bfa(0x5,_0x2c3d1f[_0x157244(0x228)](_0x3d4f34[_0x157244(0xd3)])),_0x229bfa(0x6,_0x2c3d1f[_0x157244(0x228)](_0x3626e2['MemberService'])),_0x229bfa(0x7,_0x2c3d1f[_0x157244(0xdd)]),_0x229bfa(0x8,_0x2c3d1f[_0x157244(0x18f)]),_0x229bfa(0x9,_0x2c3d1f[_0x157244(0x1ca)]),_0x229bfa(0xa,_0x3d4f34[_0x157244(0x82)]),_0x229bfa(0xb,_0x2c3d1f['IUniverInstanceService']),_0x229bfa(0xc,_0x2c3d1f[_0x157244(0x394)]),_0x229bfa(0xd,_0x2c3d1f[_0x157244(0x88)](_0x5b8b0a))],_0x3626e2[_0x157244(0x362)]),_0x3626e2[_0x157244(0x26c)]=class extends _0x20205f{constructor(_0x3b99b6,_0x1aea8b,_0x41c7b0,_0x2652ef,_0x429622,_0xb18246,_0x459d47,_0x5b1d3a,_0x2b2e8d,_0x4b0202,_0x49ca91){var _0x530e22=_0x157244;super(_0x3b99b6,_0x1aea8b,_0x41c7b0,[],_0x2652ef,_0x459d47,_0x4b0202,_0xb18246,_0x49ca91),_0x267246(this,_0x530e22(0x176),'awaiting'),_0x267246(this,_0x530e22(0x276),0x0),_0x267246(this,'_resendTimer'),_0x267246(this,_0x530e22(0x383)),(this[_0x530e22(0x2ba)]=_0x429622,this['_logService']=_0x5b1d3a,this[_0x530e22(0x234)]=_0x2b2e8d);}['appendMutation'](_0x12c187){var _0x10b0ba=_0x157244;this[_0x10b0ba(0x264)]();const _0x237574=this[_0x10b0ba(0x2ba)][_0x10b0ba(0x3bd)](_0x3626e2[_0x10b0ba(0x284)],this[_0x10b0ba(0xd7)],this[_0x10b0ba(0x219)],this['_awaitingChangeset'],[_0x12c187],this[_0x10b0ba(0x2cc)],this['_resendTimer']);return _0x237574[_0x10b0ba(0x1f4)](),_0x237574;}[_0x157244(0x75)](_0x4550e8){var _0x3eab19=_0x157244;if(this[_0x3eab19(0x1bc)](_0x4550e8))return this['_clearScheduledTask'](),this[_0x3eab19(0x2ba)]['createInstance'](_0x3626e2[_0x3eab19(0x12d)],this['unitID'],this[_0x3eab19(0x219)],this[_0x3eab19(0x12e)],[],null,[_0x4550e8],this[_0x3eab19(0x2cc)]);try{const _0xc9845c=this[_0x3eab19(0x234)]['transformChangesets']([_0x4550e8],[this['_awaitingChangeset']],!0x1);if(_0x3d4f34[_0x3eab19(0xd6)](_0xc9845c)){const {c1Prime:_0x4c02bb,c2Prime:_0x8c241c}=_0xc9845c;this[_0x3eab19(0x2ef)](_0x4c02bb[0x0]),_0x8c241c[0x0][_0x3eab19(0x114)]=this[_0x3eab19(0x398)](),this[_0x3eab19(0x264)]();const _0x55f21f=this[_0x3eab19(0x2ba)]['createInstance'](_0x3626e2['AwaitingState'],this[_0x3eab19(0xd7)],this[_0x3eab19(0x219)],_0x8c241c[0x0],this[_0x3eab19(0x2cc)]);return _0x55f21f[_0x3eab19(0x1f4)](),_0x55f21f;}return this[_0x3eab19(0x127)](!0x1);}catch(_0x407b68){return this[_0x3eab19(0x165)][_0x3eab19(0x1be)](_0x407b68),this[_0x3eab19(0x127)](!0x1);}}[_0x157244(0x17d)](_0x1c1abe){var _0x19336d=_0x157244;this[_0x19336d(0x264)]();const _0x33ab8f=this[_0x19336d(0x1e2)][_0x19336d(0xa3)](this[_0x19336d(0xd7)]);if(_0x1c1abe[_0x19336d(0x346)]<_0x33ab8f-0x1)return this;if(this[_0x19336d(0x1bc)](_0x1c1abe))return this[_0x19336d(0x2ba)][_0x19336d(0x3bd)](_0x3626e2[_0x19336d(0x12d)],this[_0x19336d(0xd7)],this['type'],null,[],this[_0x19336d(0x12e)],[],this[_0x19336d(0x2cc)]);this[_0x19336d(0x6c)]();const _0x12ad45=this[_0x19336d(0x2ba)][_0x19336d(0x3bd)](_0x3626e2[_0x19336d(0x385)],this[_0x19336d(0xd7)],this['type'],this[_0x19336d(0x2cc)]);return _0x12ad45[_0x19336d(0x1f4)](),_0x12ad45;}[_0x157244(0x371)](_0x5853ec){var _0x4b5eaa=_0x157244;return this[_0x4b5eaa(0x127)](!!(_0x5853ec!=null&&_0x5853ec['isPermissionRej']));}['onRemoteRetry'](_0x40b24d){var _0x2a88bc=_0x157244;return this['_resendTimeout']>_0x53bdcc?this[_0x2a88bc(0x352)]():(this[_0x2a88bc(0x9d)]=_0x536191(this[_0x2a88bc(0x276)],{'timeout':this[_0x2a88bc(0x276)],'reqId':_0x40b24d[_0x2a88bc(0x2f1)]}),this[_0x2a88bc(0x383)]=this['_resendTimer'][_0x2a88bc(0x13e)](({reqId:_0x117c20,timeout:_0x2a0ef4})=>{var _0x399c0b=_0x2a88bc;this[_0x399c0b(0x369)](_0x117c20,_0x2a0ef4);}),this);}[_0x157244(0x352)](){var _0x37a2a9=_0x157244;return this[_0x37a2a9(0x264)](),this[_0x37a2a9(0x2ba)]['createInstance'](_0x3626e2[_0x37a2a9(0xca)],this[_0x37a2a9(0xd7)],this[_0x37a2a9(0x219)],this[_0x37a2a9(0x12e)],[],this[_0x37a2a9(0x2cc)]);}[_0x157244(0x3f2)](){return this;}[_0x157244(0x343)](){var _0x1cb41b=_0x157244;this['_handler'][_0x1cb41b(0xee)](this[_0x1cb41b(0x12e)]);}[_0x157244(0x127)](_0x38876f){var _0x4dce29=_0x157244;return this[_0x4dce29(0x264)](),this[_0x4dce29(0x2ba)][_0x4dce29(0x3bd)](_0x3626e2[_0x4dce29(0x169)],this[_0x4dce29(0xd7)],this[_0x4dce29(0x219)],this[_0x4dce29(0x12e)],[],this[_0x4dce29(0x2cc)],_0x38876f);}[_0x157244(0x369)](_0x335641,_0x398f38){var _0x18c1e0=_0x157244,_0x123e64;_0x335641===((_0x123e64=this[_0x18c1e0(0x12e)])==null?void 0x0:_0x123e64[_0x18c1e0(0x2f1)])&&(this[_0x18c1e0(0x343)](),this['_resendTimeout']=_0x398f38===0x0?0x3e8:_0x398f38*0x2);}[_0x157244(0x264)](){var _0x2bc796=_0x157244,_0x5a4118;(_0x5a4118=this['_sender'])==null||_0x5a4118[_0x2bc796(0xae)](),this[_0x2bc796(0x276)]=0x0;}},_0x3626e2[_0x157244(0x26c)]=_0x9e44e4([_0x229bfa(0x4,_0x2c3d1f['Inject'](_0x2c3d1f['Injector'])),_0x229bfa(0x5,_0x2c3d1f[_0x157244(0x228)](_0x3d4f34[_0x157244(0xd3)])),_0x229bfa(0x6,_0x2c3d1f[_0x157244(0x18f)]),_0x229bfa(0x7,_0x2c3d1f[_0x157244(0xdd)]),_0x229bfa(0x8,_0x3d4f34['ITransformService']),_0x229bfa(0x9,_0x2c3d1f[_0x157244(0x394)]),_0x229bfa(0xa,_0x2c3d1f[_0x157244(0x88)](_0x5b8b0a))],_0x3626e2[_0x157244(0x26c)]),_0x3626e2[_0x157244(0x284)]=class extends _0x20205f{constructor(_0x296ebc,_0x30ae96,_0x232da7,_0x235579,_0x4f082c,_0x1d6ec1,_0x38517f,_0x500006,_0x113050,_0x303f40,_0x39bac2,_0x17a4c2,_0x2d31e5){var _0x1a0529=_0x157244;super(_0x296ebc,_0x30ae96,_0x232da7,_0x235579,_0x4f082c,_0x113050,_0x17a4c2,_0x500006,_0x2d31e5),_0x267246(this,'status',_0x1a0529(0x21d)),_0x267246(this,_0x1a0529(0x276),0x0),_0x267246(this,_0x1a0529(0x9d)),_0x267246(this,_0x1a0529(0x383)),(this[_0x1a0529(0x2ba)]=_0x38517f,this[_0x1a0529(0x165)]=_0x303f40,this[_0x1a0529(0x234)]=_0x39bac2,this[_0x1a0529(0x3a9)]=_0x2d31e5,_0x1d6ec1&&(this['_resendTimer']=_0x1d6ec1,this[_0x1a0529(0x383)]=this[_0x1a0529(0x9d)]['subscribe'](({reqId:_0x46b22f,timeout:_0x99b249})=>{var _0x535487=_0x1a0529;this[_0x535487(0x369)](_0x46b22f,_0x99b249);})));}['appendMutation'](_0x1afba3){var _0x513771=_0x157244;return this[_0x513771(0x3a4)]['push'](_0x1afba3),this;}[_0x157244(0x75)](_0x24eba7){var _0x3a5cf8=_0x157244;if(this[_0x3a5cf8(0x1bc)](_0x24eba7))return this[_0x3a5cf8(0x264)](),this['_injector']['createInstance'](_0x3626e2['FetchingMissState'],this['unitID'],this['type'],this[_0x3a5cf8(0x12e)],this[_0x3a5cf8(0x3a4)],null,[_0x24eba7],this[_0x3a5cf8(0x2cc)]);try{const _0x1e2fcd=this['_transformService'][_0x3a5cf8(0x3dc)]([_0x24eba7],[this[_0x3a5cf8(0x12e)]],!0x1);if(_0x3d4f34[_0x3a5cf8(0xd6)](_0x1e2fcd)){const {c1Prime:_0x2f71de,c2Prime:_0x2482ce}=_0x1e2fcd,_0x31445f=this[_0x3a5cf8(0x234)][_0x3a5cf8(0x347)](_0x2f71de[0x0],this[_0x3a5cf8(0x3a4)]);if(_0x3d4f34[_0x3a5cf8(0x94)](_0x31445f)){const {c1Prime:_0x2dc830,m2Prime:_0x176ee5}=_0x31445f;return this[_0x3a5cf8(0x2ef)](_0x2dc830),_0x2482ce[0x0][_0x3a5cf8(0x114)]=this[_0x3a5cf8(0x398)](),this[_0x3a5cf8(0x264)](),this[_0x3a5cf8(0x2ba)][_0x3a5cf8(0x3bd)](_0x3626e2['AwaitingWithPendingState'],this[_0x3a5cf8(0xd7)],this[_0x3a5cf8(0x219)],_0x2482ce[0x0],_0x176ee5,this[_0x3a5cf8(0x2cc)],void 0x0);}throw _0x31445f[_0x3a5cf8(0x1be)];}throw _0x1e2fcd[_0x3a5cf8(0x1be)];}catch(_0x5d65cf){return this[_0x3a5cf8(0x165)][_0x3a5cf8(0x1be)](_0x5d65cf),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x48f44f){var _0xeaf2fc=_0x157244;if(this[_0xeaf2fc(0x264)](),this[_0xeaf2fc(0x1bc)](_0x48f44f))return this[_0xeaf2fc(0x2ba)][_0xeaf2fc(0x3bd)](_0x3626e2[_0xeaf2fc(0x12d)],this[_0xeaf2fc(0xd7)],this[_0xeaf2fc(0x219)],null,this['_pendingMutations'],this[_0xeaf2fc(0x12e)],[],this[_0xeaf2fc(0x2cc)]);this[_0xeaf2fc(0x6c)]();const _0x392073=this[_0xeaf2fc(0x2ba)]['createInstance'](_0x3626e2[_0xeaf2fc(0x362)],this['unitID'],this[_0xeaf2fc(0x219)],this[_0xeaf2fc(0x3a4)],this[_0xeaf2fc(0x2cc)]);return _0x392073[_0xeaf2fc(0x99)](),_0x392073[_0xeaf2fc(0x1f4)](),_0x392073;}[_0x157244(0x371)](_0x7ae95b){var _0xaa93e=_0x157244;return this[_0xaa93e(0x127)](!!(_0x7ae95b!=null&&_0x7ae95b['isPermissionRej']));}[_0x157244(0x1a7)](_0x26294a){var _0x4b0da0=_0x157244;return this[_0x4b0da0(0x276)]>_0x53bdcc?this[_0x4b0da0(0x352)]():(this[_0x4b0da0(0x9d)]=_0x536191(this[_0x4b0da0(0x276)],{'timeout':this['_resendTimeout'],'reqId':_0x26294a[_0x4b0da0(0x2f1)]}),this['_sender']=this['_resendTimer'][_0x4b0da0(0x13e)](({reqId:_0x3edfab,timeout:_0x4af306})=>{this['_resendWithTimeout'](_0x3edfab,_0x4af306);}),this);}[_0x157244(0x352)](){var _0x4cc43a=_0x157244;return this[_0x4cc43a(0x264)](),this[_0x4cc43a(0x2ba)][_0x4cc43a(0x3bd)](_0x3626e2[_0x4cc43a(0xca)],this[_0x4cc43a(0xd7)],this[_0x4cc43a(0x219)],this['_awaitingChangeset'],this[_0x4cc43a(0x3a4)],this[_0x4cc43a(0x2cc)]);}['toggleOnline'](){return this;}[_0x157244(0x343)](){var _0x1e910a=_0x157244;this[_0x1e910a(0x2cc)][_0x1e910a(0xee)](this['_awaitingChangeset']);}[_0x157244(0x127)](_0x53d526){var _0x2b1ea5=_0x157244;return this[_0x2b1ea5(0x264)](),this[_0x2b1ea5(0x2ba)]['createInstance'](_0x3626e2['ConflictState'],this['unitID'],this[_0x2b1ea5(0x219)],null,this[_0x2b1ea5(0x3a4)],this[_0x2b1ea5(0x2cc)],_0x53d526);}['_resendWithTimeout'](_0x1d6f65,_0x30c04c){var _0x3722bf=_0x157244,_0x1dcfcf;_0x1d6f65===((_0x1dcfcf=this[_0x3722bf(0x12e)])==null?void 0x0:_0x1dcfcf[_0x3722bf(0x2f1)])&&(this['resend'](),this[_0x3722bf(0x276)]=_0x30c04c===0x0?0x3e8:_0x30c04c*0x2);}[_0x157244(0x264)](){var _0x5edafd=_0x157244,_0x18cf48;(_0x18cf48=this[_0x5edafd(0x383)])==null||_0x18cf48[_0x5edafd(0xae)](),this['_resendTimeout']=0x0;}},_0x3626e2[_0x157244(0x284)]=_0x9e44e4([_0x229bfa(0x6,_0x2c3d1f[_0x157244(0x228)](_0x2c3d1f[_0x157244(0x384)])),_0x229bfa(0x7,_0x2c3d1f[_0x157244(0x228)](_0x3d4f34[_0x157244(0xd3)])),_0x229bfa(0x8,_0x2c3d1f['ICommandService']),_0x229bfa(0x9,_0x2c3d1f[_0x157244(0xdd)]),_0x229bfa(0xa,_0x3d4f34[_0x157244(0x82)]),_0x229bfa(0xb,_0x2c3d1f[_0x157244(0x394)]),_0x229bfa(0xc,_0x2c3d1f['Optional'](_0x5b8b0a))],_0x3626e2[_0x157244(0x284)]),_0x3626e2['ConflictState']=class extends _0x20205f{constructor(_0x675398,_0x341c93,_0x1b235c,_0x144084,_0x1c1c06,_0x582729=!0x1,_0xd70fa0,_0x2d000f,_0x41216d,_0x323300,_0x12983b,_0x563559,_0x48ccf3){var _0x495199=_0x157244;super(_0x675398,_0x341c93,_0x1b235c,_0x144084,_0x1c1c06,_0x2d000f,_0x41216d,_0x323300,_0x48ccf3),_0x267246(this,_0x495199(0x176),'conflict'),(this['_isPermissionRej']=_0x582729,this[_0x495199(0x139)]=_0xd70fa0,this[_0x495199(0x33b)]=_0x12983b,this['_collaborationUIEventService']=_0x563559,this[_0x495199(0x3a9)]=_0x48ccf3,this['_showConflictNotification'](),this[_0x495199(0x77)](),this[_0x495199(0x36c)]());}[_0x157244(0x295)](){return this;}[_0x157244(0x75)](){return this;}[_0x157244(0x17d)](){return this;}[_0x157244(0x371)](){return this;}['onRemoteRetry'](){return this;}[_0x157244(0x352)](){return this;}[_0x157244(0x3f2)](){return this;}[_0x157244(0x343)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){var _0x43167c=_0x157244,_0x1a6026;(_0x1a6026=this[_0x43167c(0x1a3)])==null||_0x1a6026['updateOfflineData'](this[_0x43167c(0xd7)],this[_0x43167c(0x219)],null,[]);}[_0x157244(0x2c4)](){var _0xc314ec=_0x157244;this[_0xc314ec(0x255)]?this[_0xc314ec(0x9a)][_0xc314ec(0x348)]({'id':_0x419091[_0xc314ec(0x15f)]}):this['_collaborationUIEventService']['emitEvent']({'id':_0x419091['CONFLICT']});}[_0x157244(0x36c)](){var _0x47d57a=_0x157244;this[_0x47d57a(0x139)][_0x47d57a(0x302)](new _0x312698[(_0x47d57a(0xc2))](this[_0x47d57a(0xd7)])['id'],!0x1);}},_0x3626e2[_0x157244(0x169)]=_0x9e44e4([_0x229bfa(0x6,_0x2c3d1f[_0x157244(0x228)](_0x2c3d1f[_0x157244(0x20d)])),_0x229bfa(0x7,_0x2c3d1f['ICommandService']),_0x229bfa(0x8,_0x2c3d1f[_0x157244(0x394)]),_0x229bfa(0x9,_0x2c3d1f['Inject'](_0x3d4f34[_0x157244(0xd3)])),_0x229bfa(0xa,_0x2c3d1f[_0x157244(0x228)](_0x2c3d1f[_0x157244(0x146)])),_0x229bfa(0xb,_0x2c3d1f[_0x157244(0x228)](_0x1011ba)),_0x229bfa(0xc,_0x2c3d1f['Optional'](_0x5b8b0a))],_0x3626e2['ConflictState']),_0x3626e2['OfflineState']=class extends _0x20205f{constructor(_0x4c66d3,_0x11bcae,_0x334f36,_0x10da02,_0x57d37c,_0x35ef13,_0x41ce69,_0x710372,_0x3a49a0,_0x193277){var _0x2c6236=_0x157244;super(_0x4c66d3,_0x11bcae,_0x334f36,_0x10da02,_0x57d37c,_0x710372,_0x3a49a0,_0x41ce69,_0x193277),_0x267246(this,_0x2c6236(0x176),_0x2c6236(0x1d2)),this[_0x2c6236(0x2ba)]=_0x35ef13;}['appendMutation'](_0x4938d4){var _0xa96c2f=_0x157244;return this[_0xa96c2f(0x3a4)]['push'](_0x4938d4),this[_0xa96c2f(0x1f4)](),this;}['onRemoteChangeset'](_0x19564d){var _0x4c34fd=_0x157244;throw new Error(_0x4c34fd(0x3e5));}[_0x157244(0x17d)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x157244(0x371)](){var _0x18e989=_0x157244;throw new Error(_0x18e989(0x11c));}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x157244(0x3f2)](){var _0x56db34=_0x157244;const {_injector:_0x19c9a6,_pendingMutations:_0x25fa28,_awaitingChangeset:_0x4b8917,unitID:_0x50f4dc,_handler:_0x5a1a72,type:_0xf9f185}=this,_0x41d45d=_0x32622d(_0x19c9a6,_0x50f4dc,_0xf9f185,_0x4b8917,_0x25fa28,_0x5a1a72);return _0x41d45d instanceof _0x3626e2['PendingState']?_0x41d45d['_schedule']():(_0x41d45d instanceof _0x3626e2['AwaitingWithPendingState']||_0x41d45d instanceof _0x3626e2[_0x56db34(0x26c)])&&_0x41d45d[_0x56db34(0x343)](),_0x41d45d;}[_0x157244(0x343)](){var _0x2e2f7e=_0x157244;throw new Error(_0x2e2f7e(0x1c5));}},_0x3626e2[_0x157244(0xca)]=_0x9e44e4([_0x229bfa(0x5,_0x2c3d1f[_0x157244(0x228)](_0x2c3d1f[_0x157244(0x384)])),_0x229bfa(0x6,_0x2c3d1f['Inject'](_0x3d4f34[_0x157244(0xd3)])),_0x229bfa(0x7,_0x2c3d1f[_0x157244(0x18f)]),_0x229bfa(0x8,_0x2c3d1f[_0x157244(0x394)]),_0x229bfa(0x9,_0x2c3d1f['Optional'](_0x5b8b0a))],_0x3626e2[_0x157244(0xca)]),_0x3626e2[_0x157244(0x12d)]=class extends _0x20205f{constructor(_0x24478c,_0x485f39,_0x26fc95,_0xb0e8a1,_0x27326f,_0x2b0289,_0x8f9c75,_0x5e59c6,_0x596b85,_0x3ee3ff,_0x2ede75,_0x376b0c,_0x9728fc,_0x2725d2){var _0x3d6ef9=_0x157244;super(_0x24478c,_0x485f39,_0x26fc95,_0xb0e8a1,_0x8f9c75,_0x2ede75,_0x376b0c,_0x596b85,_0x2725d2),_0x267246(this,_0x3d6ef9(0x176),_0x3d6ef9(0x3cd)),(this[_0x3d6ef9(0x34e)]=_0x27326f,this[_0x3d6ef9(0x200)]=_0x2b0289,this[_0x3d6ef9(0x2ba)]=_0x5e59c6,this[_0x3d6ef9(0x165)]=_0x3ee3ff,this['_transformService']=_0x9728fc,this[_0x3d6ef9(0x3a9)]=_0x2725d2);}[_0x157244(0x233)](_0x5cb2eb){var _0x2d4537=_0x157244;try{const _0x314115=[..._0x5cb2eb,...this['_queuedRemoteChangesets']],_0x5e7f42=[this[_0x2d4537(0x12e)]||this[_0x2d4537(0x34e)]][_0x2d4537(0x32f)](_0x57f97e=>!!_0x57f97e);let _0x51172d,_0x25c091;if(_0x5e7f42[_0x2d4537(0x237)]){const _0x1b214d=this['_transformService'][_0x2d4537(0x3dc)](_0x314115,_0x5e7f42,!0x1);if(!_0x3d4f34[_0x2d4537(0xd6)](_0x1b214d))throw _0x1b214d[_0x2d4537(0x1be)];_0x51172d=_0x1b214d[_0x2d4537(0x180)],_0x25c091=_0x1b214d[_0x2d4537(0x123)];}else _0x51172d=_0x314115,_0x25c091=[];let _0x2e42c5=this[_0x2d4537(0x3a4)];_0x51172d[_0x2d4537(0x331)](_0x3cbc92=>{var _0x3133ad=_0x2d4537;let _0x2cd20d;if(_0x2e42c5[_0x3133ad(0x237)]){const _0x5bcac3=this[_0x3133ad(0x234)][_0x3133ad(0x347)](_0x3cbc92,_0x2e42c5);if(!_0x3d4f34[_0x3133ad(0x94)](_0x5bcac3))throw _0x5bcac3['error'];_0x2cd20d=_0x5bcac3['c1Prime'],_0x2e42c5=_0x5bcac3['m2Prime'];}else _0x2cd20d=_0x3cbc92;this[_0x3133ad(0x2ef)](_0x2cd20d);}),this['_acknowledgedAwaitingChangeset']&&this[_0x2d4537(0x6c)](),this['_awaitingChangeset']&&_0x25c091[_0x2d4537(0x237)]&&(_0x25c091[0x0][_0x2d4537(0x114)]=this[_0x2d4537(0x398)]());let _0x1d45b2;if(this[_0x2d4537(0x12e)]&&_0x2e42c5[_0x2d4537(0x237)]!==0x0)_0x1d45b2=this[_0x2d4537(0x2ba)][_0x2d4537(0x3bd)](_0x3626e2[_0x2d4537(0x284)],this[_0x2d4537(0xd7)],this[_0x2d4537(0x219)],_0x25c091[0x0],_0x2e42c5,this[_0x2d4537(0x2cc)],void 0x0);else{if(this['_awaitingChangeset']&&_0x2e42c5[_0x2d4537(0x237)]===0x0)_0x25c091[0x0][_0x2d4537(0x114)]=this['_getCurrentRevision'](),_0x1d45b2=this['_injector']['createInstance'](_0x3626e2[_0x2d4537(0x26c)],this[_0x2d4537(0xd7)],this[_0x2d4537(0x219)],_0x25c091[0x0],this[_0x2d4537(0x2cc)]);else{if(_0x2e42c5[_0x2d4537(0x237)]!==0x0){const _0xde775f=this[_0x2d4537(0x2ba)][_0x2d4537(0x3bd)](_0x3626e2['PendingState'],this[_0x2d4537(0xd7)],this[_0x2d4537(0x219)],_0x2e42c5,this[_0x2d4537(0x2cc)]);_0xde775f['_schedule'](),_0x1d45b2=_0xde775f;}else _0x1d45b2=this[_0x2d4537(0x2ba)]['createInstance'](_0x3626e2[_0x2d4537(0x385)],this[_0x2d4537(0xd7)],this[_0x2d4537(0x219)],this[_0x2d4537(0x2cc)]);}}return _0x1d45b2[_0x2d4537(0x1f4)](),_0x1d45b2;}catch(_0x201d43){return this[_0x2d4537(0x165)]['error']('[FetchMissState]','failed\x20to\x20apply\x20missed\x20changesets!',_0x201d43),this['_injector']['createInstance'](_0x3626e2[_0x2d4537(0x169)],this[_0x2d4537(0xd7)],this[_0x2d4537(0x219)],this[_0x2d4537(0x12e)],this[_0x2d4537(0x3a4)],this['_handler'],!0x1);}}[_0x157244(0x343)](){var _0x43fc40=_0x157244;throw new Error(_0x43fc40(0x1dd));}['appendMutation'](_0x18d8cf){return this['_pendingMutations']['push'](_0x18d8cf),this;}[_0x157244(0x75)](_0x31a2be){var _0x4b6ace=_0x157244;return this[_0x4b6ace(0x200)]['push'](_0x31a2be),this;}['onRemoteAck'](_0x281868){var _0x3275b5=_0x157244;if(this[_0x3275b5(0x12e)])return this[_0x3275b5(0x34e)]=this['_awaitingChangeset'],this[_0x3275b5(0x12e)]=null,this;throw new Error(_0x3275b5(0x275));}[_0x157244(0x371)](_0x2c464c){var _0x575dae=_0x157244;return this[_0x575dae(0x127)](!!(_0x2c464c!=null&&_0x2c464c[_0x575dae(0x29d)]));}[_0x157244(0x1a7)](){return this;}[_0x157244(0x352)](){var _0x277c30=_0x157244;return this[_0x277c30(0x2ba)][_0x277c30(0x3bd)](_0x3626e2['OfflineState'],this[_0x277c30(0xd7)],this['type'],this[_0x277c30(0x12e)],this[_0x277c30(0x3a4)],this[_0x277c30(0x2cc)]);}[_0x157244(0x3f2)](){return this;}['_onConflict'](_0xaa33ff){var _0x55c8af=_0x157244;return this[_0x55c8af(0x2ba)]['createInstance'](_0x3626e2[_0x55c8af(0x169)],this[_0x55c8af(0xd7)],this[_0x55c8af(0x219)],this[_0x55c8af(0x12e)],this[_0x55c8af(0x3a4)],this[_0x55c8af(0x2cc)],_0xaa33ff);}},_0x3626e2[_0x157244(0x12d)]=_0x9e44e4([_0x229bfa(0x7,_0x2c3d1f[_0x157244(0x228)](_0x2c3d1f['Injector'])),_0x229bfa(0x8,_0x2c3d1f[_0x157244(0x228)](_0x3d4f34[_0x157244(0xd3)])),_0x229bfa(0x9,_0x2c3d1f[_0x157244(0xdd)]),_0x229bfa(0xa,_0x2c3d1f[_0x157244(0x18f)]),_0x229bfa(0xb,_0x2c3d1f[_0x157244(0x394)]),_0x229bfa(0xc,_0x3d4f34[_0x157244(0x82)]),_0x229bfa(0xd,_0x2c3d1f[_0x157244(0x88)](_0x5b8b0a))],_0x3626e2[_0x157244(0x12d)]);function _0x32622d(_0x11cd0b,_0xf9d684,_0x4a907d,_0x12c046,_0x50345c,_0x3ec197){var _0x5e1fab=_0x157244;return _0x12c046&&_0x50345c[_0x5e1fab(0x237)]?_0x11cd0b[_0x5e1fab(0x3bd)](_0x3626e2[_0x5e1fab(0x284)],_0xf9d684,_0x4a907d,_0x12c046,_0x50345c,_0x3ec197,void 0x0):_0x12c046?_0x11cd0b[_0x5e1fab(0x3bd)](_0x3626e2[_0x5e1fab(0x26c)],_0xf9d684,_0x4a907d,_0x12c046,_0x3ec197):_0x50345c[_0x5e1fab(0x237)]?_0x11cd0b['createInstance'](_0x3626e2[_0x5e1fab(0x362)],_0xf9d684,_0x4a907d,_0x50345c,_0x3ec197):_0x11cd0b['createInstance'](_0x3626e2[_0x5e1fab(0x385)],_0xf9d684,_0x4a907d,_0x3ec197);}var _0x4242cd=Object[_0x157244(0xd4)],_0x176966=(_0x485c98,_0x3a85f0,_0x2db687,_0x47b4e3)=>{var _0xcec5b9=_0x157244;for(var _0x5893a2=_0x47b4e3>0x1?void 0x0:_0x47b4e3?_0x4242cd(_0x3a85f0,_0x2db687):_0x3a85f0,_0x216d0d=_0x485c98[_0xcec5b9(0x237)]-0x1,_0x13ea67;_0x216d0d>=0x0;_0x216d0d--)(_0x13ea67=_0x485c98[_0x216d0d])&&(_0x5893a2=_0x13ea67(_0x5893a2)||_0x5893a2);return _0x5893a2;},_0x468c1d=(_0x5a96db,_0x45357a)=>(_0x3292cc,_0x20c589)=>_0x45357a(_0x3292cc,_0x20c589,_0x5a96db);_0x3626e2['CollaborationEntity']=class extends _0x2c3d1f[_0x157244(0xab)]{constructor(_0x35d328,_0xfb8a73,_0x106638,_0x1edc1e,_0x397dc5,_0x930329,_0x457d50,_0x27f0fb,_0x24361f,_0x154428,_0x1ffbab,_0x4fae46,_0x3e4706){var _0x440003=_0x157244;super(),_0x267246(this,'_state$',new _0x1b96e3[(_0x440003(0x312))](null)),_0x267246(this,'state$',this['_state$'][_0x440003(0x286)]()),_0x267246(this,_0x440003(0x1ff)),_0x267246(this,_0x440003(0x344),!0x1),_0x267246(this,_0x440003(0x221),''),_0x267246(this,'_changesetReqId',0x0),_0x267246(this,_0x440003(0x37c),this[_0x440003(0x3a1)][_0x440003(0x256)](_0x1b96e3[_0x440003(0x37d)](_0x3484ff=>_0x3484ff?_0x3484ff[_0x440003(0x176)]:_0x728ae3[_0x440003(0x39a)]),_0x1b96e3[_0x440003(0x25a)](0x1))),_0x267246(this,_0x440003(0x321),!0x1),_0x267246(this,'_remoteChangesetQueue',[]),(this[_0x440003(0xd7)]=_0x35d328,this[_0x440003(0x241)]=_0xfb8a73,this[_0x440003(0x370)]=_0x106638,this[_0x440003(0x2ba)]=_0x1edc1e,this[_0x440003(0x226)]=_0x397dc5,this[_0x440003(0x33b)]=_0x930329,this[_0x440003(0x1e2)]=_0x457d50,this[_0x440003(0x36a)]=_0x27f0fb,this[_0x440003(0x165)]=_0x24361f,this[_0x440003(0x1e7)]=_0x154428,this[_0x440003(0x139)]=_0x1ffbab,this['_singleActiveUnitService']=_0x4fae46,this[_0x440003(0x1a3)]=_0x3e4706);}get[_0x157244(0x1d8)](){var _0x2ba00d=_0x157244;return this[_0x2ba00d(0x1ff)];}async[_0x157244(0x104)](){var _0x14077f=_0x157244;if(this['state'])throw new Error(_0x14077f(0x129));await this[_0x14077f(0x2f9)]();}[_0x157244(0x16e)](){var _0x3cce63=_0x157244;return this[_0x3cce63(0x344)]=!0x0,_0x2c3d1f[_0x3cce63(0x153)](()=>{var _0x3c0761=_0x3cce63;this['_collaborationPaused']=!0x1,this[_0x3c0761(0x1cd)]();});}[_0x157244(0x1b5)](_0x4638c2){var _0x4627cd=_0x157244;this[_0x4627cd(0x147)](_0x4638c2);}[_0x157244(0x272)](_0x393fe2){var _0x3fbbd6=_0x157244;this[_0x3fbbd6(0x1ff)]=_0x393fe2,this[_0x3fbbd6(0x34f)][_0x3fbbd6(0x341)](_0x393fe2);}async[_0x157244(0x2f9)](){var _0x38fce0=_0x157244,_0x4e4c2f;this[_0x38fce0(0x272)](await this[_0x38fce0(0xb6)]()),this[_0x38fce0(0x19e)]&&((_0x4e4c2f=this[_0x38fce0(0x19e)])==null||_0x4e4c2f[_0x38fce0(0x25e)](this[_0x38fce0(0xd7)]),this[_0x38fce0(0x205)](this[_0x38fce0(0x19e)][_0x38fce0(0x20a)](this[_0x38fce0(0xd7)])['subscribe'](_0x129904=>{var _0x2a1dac=_0x38fce0;this[_0x2a1dac(0x165)][_0x2a1dac(0x2e0)](_0x2a1dac(0x85),'editing\x20status\x20changed\x20to',_0x129904),_0x129904===_0x2c9d3f[_0x2a1dac(0x10e)]?(this['_eventService'][_0x2a1dac(0x348)]({'id':_0x419091[_0x2a1dac(0x3e6)]}),this[_0x2a1dac(0x139)][_0x2a1dac(0x302)](new _0x312698[(_0x2a1dac(0xc2))](this['unitID'])['id'],!0x1),this[_0x2a1dac(0x139)]['setShowComponents'](!0x1)):(this['_permissionService'][_0x2a1dac(0x302)](new _0x312698['WorkbookEditablePermission'](this[_0x2a1dac(0xd7)])['id'],!0x0),this[_0x2a1dac(0x139)][_0x2a1dac(0x112)](!0x0));})));let _0xfd7bf8=!0x1;return this['disposeWithMe'](this['session']['sessionStatus$'][_0x38fce0(0x13e)](_0xbe557e=>{var _0x4a9b29=_0x38fce0;_0xbe557e===_0x9dbb3c[_0x4a9b29(0x2f3)]?this['_toggleOnline'](_0xfd7bf8):_0xbe557e===_0x9dbb3c['OFFLINE']&&(_0xfd7bf8=!0x0,this[_0x4a9b29(0x2ab)]());})),this['disposeWithMe'](this[_0x38fce0(0x241)][_0x38fce0(0x3eb)]['subscribe'](_0x23461b=>{var _0x478e9e=_0x38fce0;try{switch(_0x23461b['eventID']){case _0x3d4f34[_0x478e9e(0x206)][_0x478e9e(0x355)]:{this[_0x478e9e(0x155)](_0x3d4f34[_0x478e9e(0x2ee)](_0x23461b['data']));break;}case _0x3d4f34[_0x478e9e(0x206)][_0x478e9e(0x187)]:{this['_onRemoteACK'](_0x23461b[_0x478e9e(0x213)]);break;}case _0x3d4f34[_0x478e9e(0x206)][_0x478e9e(0x163)]:{this['_onRemoteRejected']();break;}case _0x3d4f34[_0x478e9e(0x206)][_0x478e9e(0xb4)]:{this[_0x478e9e(0x334)](_0x23461b[_0x478e9e(0x213)]);break;}case _0x3d4f34[_0x478e9e(0x206)][_0x478e9e(0x7e)]:{this[_0x478e9e(0x294)](_0x23461b['data']['changesets'][_0x478e9e(0x37d)](_0x125404=>_0x3d4f34['parseProtocolChangeset'](_0x125404)));break;}case _0x3d4f34[_0x478e9e(0x206)][_0x478e9e(0x250)]:{this[_0x478e9e(0x2a6)]({'isPermissionRej':!0x0});break;}case _0x3d4f34[_0x478e9e(0x206)][_0x478e9e(0x3a6)]:break;}}catch(_0x35f161){throw console['error'](_0x478e9e(0x303),_0x35f161),_0x35f161;}})),this['_state'];}[_0x157244(0x3da)](){var _0x359b11=_0x157244;this[_0x359b11(0x321)]=!0x1;}[_0x157244(0x13f)](){var _0x4400df=_0x157244;if(this[_0x4400df(0x321)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x4400df(0x321)]=!0x0;}[_0x157244(0x147)](_0x1cc0e9){var _0x485bb2=_0x157244;this[_0x485bb2(0x13f)](),this[_0x485bb2(0x272)](this[_0x485bb2(0x1ff)][_0x485bb2(0x295)](_0x1cc0e9)),this[_0x485bb2(0x3da)]();}[_0x157244(0x155)](_0x1394cc){var _0x5a5153=_0x157244;if(!(_0x1394cc[_0x5a5153(0x346)]<=this[_0x5a5153(0x1e2)][_0x5a5153(0xa3)](this[_0x5a5153(0xd7)]))){if(this[_0x5a5153(0x344)]){this[_0x5a5153(0x29a)]['push'](_0x1394cc);return;}this[_0x5a5153(0x307)](_0x1394cc);}}[_0x157244(0x1cd)](){var _0x21680b=_0x157244;this[_0x21680b(0x29a)][_0x21680b(0x331)](_0x55defd=>this[_0x21680b(0x307)](_0x55defd)),this[_0x21680b(0x29a)]=[];}[_0x157244(0x307)](_0x231a85){var _0x34af67=_0x157244;const _0x1f3c81=this[_0x34af67(0x226)][_0x34af67(0x7b)][_0x34af67(0xe9)](this[_0x34af67(0x226)][_0x34af67(0x7b)][_0x34af67(0x19d)]()['COMPRESS_MUTATION_APPLY'])(_0x231a85[_0x34af67(0x391)],null)||_0x231a85['mutations'],_0x362d4d={..._0x231a85,'mutations':_0x1f3c81};this['_lockTransition'](),this[_0x34af67(0x272)](this['_state'][_0x34af67(0x75)](_0x362d4d)),this['_unlockTransition']();}[_0x157244(0x1d0)](_0x3cdf72){var _0x20ea88=_0x157244;this['_lockTransition'](),this[_0x20ea88(0x272)](this[_0x20ea88(0x1ff)][_0x20ea88(0x17d)](_0x3cdf72)),this[_0x20ea88(0x3da)]();}[_0x157244(0x2a6)](_0x5cf362){var _0x5942e9=_0x157244;this[_0x5942e9(0x13f)](),this['_updateState'](this[_0x5942e9(0x1ff)]['onRemoteRej'](_0x5cf362)),this[_0x5942e9(0x3da)]();}[_0x157244(0x334)](_0x31954f){var _0x5da1e5=_0x157244;this[_0x5da1e5(0x13f)](),this[_0x5da1e5(0x272)](this[_0x5da1e5(0x1ff)][_0x5da1e5(0x1a7)](_0x31954f)),this[_0x5da1e5(0x3da)]();}[_0x157244(0x294)](_0x36f5a7){var _0x3a3187=_0x157244;if(!(this[_0x3a3187(0x1ff)]instanceof _0x3626e2['FetchingMissState']))throw new TypeError(_0x3a3187(0x2b3));const _0x3da91e=_0x36f5a7['map'](_0x8270f2=>{var _0x5da105=_0x3a3187;const _0x771818=this[_0x5da105(0x226)][_0x5da105(0x7b)][_0x5da105(0xe9)](this[_0x5da105(0x226)][_0x5da105(0x7b)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x8270f2[_0x5da105(0x391)],null)||_0x8270f2[_0x5da105(0x391)];return{..._0x8270f2,'mutations':_0x771818};});this[_0x3a3187(0x13f)](),this[_0x3a3187(0x272)](this[_0x3a3187(0x1ff)][_0x3a3187(0x233)](_0x3da91e)),this[_0x3a3187(0x3da)]();}['_toggleOffline'](){var _0x209578=_0x157244;this[_0x209578(0x13f)](),this[_0x209578(0x272)](this[_0x209578(0x1ff)]['toggleOffline']()),this[_0x209578(0x3da)]();}[_0x157244(0x3b2)](_0x3b29ca=!0x1){var _0xdd6536=_0x157244;this[_0xdd6536(0x13f)](),this[_0xdd6536(0x272)](this[_0xdd6536(0x1ff)][_0xdd6536(0x3f2)]()),this[_0xdd6536(0x3da)]();const _0x36da35=this[_0xdd6536(0x1ff)];_0x3b29ca&&_0x36da35 instanceof _0x3626e2[_0xdd6536(0x385)]&&(this['_lockTransition'](),this[_0xdd6536(0x272)](_0x36da35[_0xdd6536(0x229)]()),this['_unlockTransition']());}async[_0x157244(0xb6)](){return new Promise(_0x171bc7=>{var _0x4efa7d=_0x1f89;this['session']['sessionStatus$'][_0x4efa7d(0x256)](_0x1b96e3['take'](0x1))[_0x4efa7d(0x13e)](async _0x3dea07=>{var _0x1b4bab=_0x4efa7d;_0x171bc7(await this[_0x1b4bab(0x1c2)](_0x3dea07===_0x9dbb3c[_0x1b4bab(0x2f3)]));});});}[_0x157244(0x27d)](){var _0x5a281e=_0x157244;const _0x104569=this[_0x5a281e(0xd7)];return{'onStateChange':(_0x53f8e7,_0x99ef55)=>{var _0x2d61ae=_0x5a281e;if(_0x53f8e7!==this[_0x2d61ae(0x1ff)])throw new Error(_0x2d61ae(0x13a)+_0x53f8e7['status']+_0x2d61ae(0x189)+_0x99ef55['status']+_0x2d61ae(0x70)+this[_0x2d61ae(0x1ff)][_0x2d61ae(0x176)]);this[_0x2d61ae(0x272)](_0x99ef55);},'onSendChangeset':_0x4aede9=>{var _0x1778d7=_0x5a281e;_0x4aede9[_0x1778d7(0xf2)]||(_0x4aede9['sid']=this[_0x1778d7(0x221)],_0x4aede9[_0x1778d7(0x2f1)]=++this[_0x1778d7(0x149)]);const _0x2bc467={'eventID':_0x3d4f34[_0x1778d7(0x206)][_0x1778d7(0x98)],'data':{'unitID':_0x4aede9[_0x1778d7(0xd7)],'unitType':this[_0x1778d7(0x370)],'changeset':_0x4aede9,'memberID':this[_0x1778d7(0x241)][_0x1778d7(0x76)]()}};this[_0x1778d7(0x241)]['send'](_0x2bc467,this[_0x1778d7(0xd7)]);},'onMissingChangesets':({from:_0xcbcf8b,to:_0x35e689})=>{var _0x1a52b5=_0x5a281e;this['_logService'][_0x1a52b5(0x2e0)](_0x1a52b5(0x85),_0x1a52b5(0x111)+_0xcbcf8b+_0x1a52b5(0x308)+_0x35e689);const _0x2333e0={'eventID':_0x3d4f34[_0x1a52b5(0x206)][_0x1a52b5(0xda)],'data':{'unitID':_0x104569,'unitType':this[_0x1a52b5(0x370)],'from':_0xcbcf8b,'to':_0x35e689}};this[_0x1a52b5(0x241)][_0x1a52b5(0xe0)](_0x2333e0,this[_0x1a52b5(0xd7)]);}};}async['_createInitialStateImpl'](_0x460a6e){var _0x4e636f=_0x157244,_0x5b40f1,_0x133181,_0x4df2c4;const _0x28bcc8=await((_0x5b40f1=this[_0x4e636f(0x1a3)])==null?void 0x0:_0x5b40f1[_0x4e636f(0x2aa)](this['unitID'])),_0x24aaab=(_0x133181=_0x28bcc8==null?void 0x0:_0x28bcc8[_0x4e636f(0x391)])!=null?_0x133181:[],_0xfc5d3f=(_0x4df2c4=_0x28bcc8==null?void 0x0:_0x28bcc8[_0x4e636f(0x110)])!=null?_0x4df2c4:null,_0x10157b=!!(_0xfc5d3f!=null&&_0xfc5d3f['sid'])&&!!(_0xfc5d3f!=null&&_0xfc5d3f[_0x4e636f(0x2f1)]);this[_0x4e636f(0x221)]=_0x10157b?_0xfc5d3f[_0x4e636f(0xf2)]:_0x3f06a7(),this['_changesetReqId']=_0x10157b?_0xfc5d3f['reqId']:0x0;const _0x21ccf7=this[_0x4e636f(0xd7)];try{this[_0x4e636f(0x1bf)](_0xfc5d3f,_0x24aaab);}catch(_0xf2742e){this[_0x4e636f(0x165)][_0x4e636f(0x1be)](_0xf2742e);}const _0x1de609=this[_0x4e636f(0x27d)]();if(_0x460a6e){const _0x4bff76=_0x32622d(this[_0x4e636f(0x2ba)],_0x21ccf7,this['_type'],_0xfc5d3f,_0x24aaab,_0x1de609);return _0x4bff76 instanceof _0x3626e2[_0x4e636f(0x362)]?_0x4bff76['_schedule']():(_0x4bff76 instanceof _0x3626e2[_0x4e636f(0x284)]||_0x4bff76 instanceof _0x3626e2[_0x4e636f(0x26c)])&&_0x4bff76['resend'](),_0x4bff76;}return this['_injector'][_0x4e636f(0x3bd)](_0x3626e2[_0x4e636f(0xca)],_0x21ccf7,this[_0x4e636f(0x370)],_0xfc5d3f,_0x24aaab,_0x1de609);}[_0x157244(0x1bf)](_0xdc7e62,_0x5102cb){var _0x146007=_0x157244,_0x334ab1,_0x6072ed;const _0x303dcb=this[_0x146007(0x226)]['interceptor'][_0x146007(0xe9)](this[_0x146007(0x226)]['interceptor'][_0x146007(0x19d)]()[_0x146007(0x39f)]);(_0x334ab1=_0x303dcb((_0xdc7e62==null?void 0x0:_0xdc7e62['mutations'])||[],null))==null||_0x334ab1['forEach'](_0x24ccb5=>this[_0x146007(0x1e7)][_0x146007(0x23d)](_0x24ccb5['id'],_0x24ccb5['params'])),(_0x6072ed=_0x303dcb(_0x5102cb||[],null))==null||_0x6072ed[_0x146007(0x331)](_0x45babe=>this[_0x146007(0x1e7)][_0x146007(0x23d)](_0x45babe['id'],_0x45babe[_0x146007(0xe5)]));}},_0x3626e2['CollaborationEntity']=_0x176966([_0x468c1d(0x3,_0x2c3d1f[_0x157244(0x228)](_0x2c3d1f[_0x157244(0x384)])),_0x468c1d(0x4,_0x2c3d1f[_0x157244(0x228)](_0x3d4f34[_0x157244(0x3b3)])),_0x468c1d(0x5,_0x2c3d1f['Inject'](_0x2c3d1f[_0x157244(0x146)])),_0x468c1d(0x6,_0x2c3d1f[_0x157244(0x228)](_0x3d4f34[_0x157244(0xd3)])),_0x468c1d(0x7,_0x2c3d1f[_0x157244(0x228)](_0x1011ba)),_0x468c1d(0x8,_0x2c3d1f[_0x157244(0xdd)]),_0x468c1d(0x9,_0x2c3d1f[_0x157244(0x18f)]),_0x468c1d(0xa,_0x2c3d1f[_0x157244(0x20d)]),_0x468c1d(0xb,_0x2c3d1f[_0x157244(0x88)](_0x1a3b23)),_0x468c1d(0xc,_0x2c3d1f[_0x157244(0x88)](_0x5b8b0a))],_0x3626e2[_0x157244(0x2d8)]),_0x3626e2['DocCollaborationEntity']=class extends _0x3626e2[_0x157244(0x2d8)]{constructor(_0x46f366,_0x3e864a,_0x16c32e,_0x28a17a,_0x5a0662,_0xbc87a9,_0x467826,_0xa9daf6,_0x384519,_0xeb5afb,_0x39fbc4,_0x5e47a3,_0x2c049c){var _0x5d5bdb=_0x157244;super(_0x46f366,_0x16c32e,_0x3e864a,_0x28a17a,_0x5a0662,_0xbc87a9,_0x467826,_0xa9daf6,_0x384519,_0xeb5afb,_0x39fbc4,_0x5e47a3,_0x2c049c),_0x267246(this,_0x5d5bdb(0x18a),null),(this[_0x5d5bdb(0xd7)]=_0x46f366,this[_0x5d5bdb(0x219)]=_0x3e864a);}[_0x157244(0x1b2)](_0xb8db51){this['_handlerCallback']=_0xb8db51;}[_0x157244(0x3e4)](){var _0x15b4ca=_0x157244;this[_0x15b4ca(0x18a)]=null,super['dispose']();}[_0x157244(0x27d)](){var _0x1a4afa=_0x157244;const _0x48dece=super[_0x1a4afa(0x27d)]();return _0x48dece[_0x1a4afa(0x35f)]=_0x2d3fc2=>{var _0x19aefb=_0x1a4afa,_0x484552,_0x2bf9e9;return(_0x2bf9e9=(_0x484552=this['_handlerCallback'])==null?void 0x0:_0x484552[_0x19aefb(0x35f)])==null?void 0x0:_0x2bf9e9['call'](_0x484552,_0x2d3fc2);},_0x48dece[_0x1a4afa(0x81)]=_0x14a304=>{var _0xc959d0=_0x1a4afa,_0x48c7c9,_0x321a0d;return(_0x321a0d=(_0x48c7c9=this[_0xc959d0(0x18a)])==null?void 0x0:_0x48c7c9[_0xc959d0(0x81)])==null?void 0x0:_0x321a0d[_0xc959d0(0x285)](_0x48c7c9,_0x14a304);},_0x48dece['onTransformSelections']=_0x176c6f=>{var _0x47ccb9=_0x1a4afa,_0x3fa7eb,_0x196b04;return(_0x196b04=(_0x3fa7eb=this['_handlerCallback'])==null?void 0x0:_0x3fa7eb[_0x47ccb9(0x26b)])==null?void 0x0:_0x196b04[_0x47ccb9(0x285)](_0x3fa7eb,_0x176c6f);},_0x48dece[_0x1a4afa(0x36f)]=_0x5c6932=>{var _0x21d649=_0x1a4afa,_0x357df2,_0x46335e;return(_0x46335e=(_0x357df2=this[_0x21d649(0x18a)])==null?void 0x0:_0x357df2['onSyncEditingCollabCursor'])==null?void 0x0:_0x46335e[_0x21d649(0x285)](_0x357df2,_0x5c6932);},_0x48dece[_0x1a4afa(0x154)]=_0x926759=>{var _0x576b53=_0x1a4afa,_0x4d1dcf,_0xb36e88,_0x2c25aa;if(!((_0x4d1dcf=this[_0x576b53(0x18a)])!=null&&_0x4d1dcf[_0x576b53(0x154)]))throw new Error(_0x576b53(0x164));return(_0x2c25aa=(_0xb36e88=this[_0x576b53(0x18a)])==null?void 0x0:_0xb36e88['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x2c25aa[_0x576b53(0x285)](_0xb36e88,_0x926759);},_0x48dece[_0x1a4afa(0x166)]=_0x1b9b0b=>{var _0x476ec4=_0x1a4afa,_0x2fc138,_0x268c7a,_0x5969c2;if(!((_0x2fc138=this[_0x476ec4(0x18a)])!=null&&_0x2fc138[_0x476ec4(0x166)]))throw new Error(_0x476ec4(0x34d));return(_0x5969c2=(_0x268c7a=this['_handlerCallback'])==null?void 0x0:_0x268c7a[_0x476ec4(0x166)])==null?void 0x0:_0x5969c2[_0x476ec4(0x285)](_0x268c7a,_0x1b9b0b);},_0x48dece;}async[_0x157244(0x2f9)](){var _0x594232=_0x157244;const _0x329bd7=await super[_0x594232(0x2f9)]();return this[_0x594232(0x205)](this[_0x594232(0x1e7)]['onCommandExecuted']((_0x1e8312,_0x139220)=>{var _0x1fd941=_0x594232;if(_0x1e8312[_0x1fd941(0x219)]!==_0x2c3d1f[_0x1fd941(0x2ae)][_0x1fd941(0xc5)]||_0x139220!=null&&_0x139220[_0x1fd941(0xf3)]||_0x139220!=null&&_0x139220[_0x1fd941(0x168)]||_0x1e8312['id']===_0x1e570b[_0x1fd941(0x1cb)]['id'])return;const _0x29d858=_0x1e8312[_0x1fd941(0xe5)];if((_0x29d858==null?void 0x0:_0x29d858[_0x1fd941(0x21c)])!==this[_0x1fd941(0xd7)])return;const _0x100199=_0x1e8312,_0x3ba510=this[_0x1fd941(0x226)]['interceptor'][_0x1fd941(0xe9)](this[_0x1fd941(0x226)]['interceptor'][_0x1fd941(0x19d)]()[_0x1fd941(0x259)])([_0x100199],null)||[_0x100199];this[_0x1fd941(0x147)](_0x3ba510[0x0]);})),_0x329bd7;}},_0x3626e2[_0x157244(0xe1)]=_0x176966([_0x468c1d(0x3,_0x2c3d1f[_0x157244(0x228)](_0x2c3d1f[_0x157244(0x384)])),_0x468c1d(0x4,_0x2c3d1f[_0x157244(0x228)](_0x3d4f34[_0x157244(0x3b3)])),_0x468c1d(0x5,_0x2c3d1f[_0x157244(0x228)](_0x2c3d1f[_0x157244(0x146)])),_0x468c1d(0x6,_0x2c3d1f[_0x157244(0x228)](_0x3d4f34['RevisionService'])),_0x468c1d(0x7,_0x2c3d1f['Inject'](_0x1011ba)),_0x468c1d(0x8,_0x2c3d1f['ILogService']),_0x468c1d(0x9,_0x2c3d1f[_0x157244(0x18f)]),_0x468c1d(0xa,_0x2c3d1f[_0x157244(0x20d)]),_0x468c1d(0xb,_0x2c3d1f['Optional'](_0x1a3b23)),_0x468c1d(0xc,_0x2c3d1f[_0x157244(0x88)](_0x5b8b0a))],_0x3626e2['DocCollaborationEntity']),_0x3626e2['SheetCollaborationEntity']=class extends _0x3626e2[_0x157244(0x2d8)]{constructor(_0x2b990e,_0x354e1c,_0x5e3db9,_0x51370c,_0x2725fa,_0xbf8072,_0x2aa767,_0x4b5a77,_0x5a6c5c,_0x3f62a9,_0x5ab9e6,_0x233edf,_0x4bf19e,_0x2f3fd5){var _0x430230=_0x157244;super(_0x2b990e,_0x5e3db9,_0x354e1c,_0x51370c,_0x2725fa,_0xbf8072,_0x2aa767,_0x5a6c5c,_0x3f62a9,_0x5ab9e6,_0x233edf,_0x4bf19e,_0x2f3fd5),this[_0x430230(0xd7)]=_0x2b990e,this['type']=_0x354e1c,this['_sheetTransformSelectionsService']=_0x4b5a77;}[_0x157244(0x27d)](){var _0x5cc209=_0x157244;const _0x1a6e24=super[_0x5cc209(0x27d)]();return _0x1a6e24[_0x5cc209(0x26b)]=_0x1cafdd=>this[_0x5cc209(0x125)]['transformSelections'](_0x1cafdd),_0x1a6e24;}async[_0x157244(0x2f9)](){var _0x1eb3a8=_0x157244;const _0x12bceb=await super['_init']();return this[_0x1eb3a8(0x205)](this[_0x1eb3a8(0x1e7)][_0x1eb3a8(0x1b4)]((_0x5912c2,_0x44c85a)=>{var _0x3951c2=_0x1eb3a8;if(_0x5912c2['type']!==_0x2c3d1f[_0x3951c2(0x2ae)][_0x3951c2(0xc5)]||_0x44c85a!=null&&_0x44c85a[_0x3951c2(0xf3)]||_0x44c85a!=null&&_0x44c85a['onlyLocal'])return;const _0x173e6e=_0x5912c2[_0x3951c2(0xe5)];if((_0x173e6e==null?void 0x0:_0x173e6e[_0x3951c2(0x21c)])!==this[_0x3951c2(0xd7)])return;const _0x2017f8=_0x5912c2,_0x5667b1=this[_0x3951c2(0x226)]['interceptor']['fetchThroughInterceptors'](this[_0x3951c2(0x226)][_0x3951c2(0x7b)]['getInterceptPoints']()[_0x3951c2(0x259)])([_0x2017f8],null)||[_0x2017f8];this[_0x3951c2(0x147)](_0x5667b1[0x0]);})),_0x12bceb;}},_0x3626e2[_0x157244(0x1da)]=_0x176966([_0x468c1d(0x3,_0x2c3d1f[_0x157244(0x228)](_0x2c3d1f[_0x157244(0x384)])),_0x468c1d(0x4,_0x2c3d1f['Inject'](_0x3d4f34[_0x157244(0x3b3)])),_0x468c1d(0x5,_0x2c3d1f[_0x157244(0x228)](_0x2c3d1f['LocaleService'])),_0x468c1d(0x6,_0x2c3d1f[_0x157244(0x228)](_0x3d4f34[_0x157244(0xd3)])),_0x468c1d(0x7,_0x2c3d1f[_0x157244(0x228)](_0x3626e2[_0x157244(0x2c6)])),_0x468c1d(0x8,_0x2c3d1f[_0x157244(0x228)](_0x1011ba)),_0x468c1d(0x9,_0x2c3d1f['ILogService']),_0x468c1d(0xa,_0x2c3d1f['ICommandService']),_0x468c1d(0xb,_0x2c3d1f[_0x157244(0x20d)]),_0x468c1d(0xc,_0x2c3d1f['Optional'](_0x1a3b23)),_0x468c1d(0xd,_0x2c3d1f[_0x157244(0x88)](_0x5b8b0a))],_0x3626e2[_0x157244(0x1da)]);var _0xd65e7f=Object[_0x157244(0xd4)],_0x3b9377=(_0x310151,_0x21c4c8,_0x4a129d,_0x1b5b04)=>{for(var _0x3919fd=_0x1b5b04>0x1?void 0x0:_0x1b5b04?_0xd65e7f(_0x21c4c8,_0x4a129d):_0x21c4c8,_0x54ce5a=_0x310151['length']-0x1,_0x377609;_0x54ce5a>=0x0;_0x54ce5a--)(_0x377609=_0x310151[_0x54ce5a])&&(_0x3919fd=_0x377609(_0x3919fd)||_0x3919fd);return _0x3919fd;},_0x145697=(_0x1e140f,_0x2320f1)=>(_0x328dd2,_0x2aef88)=>_0x2320f1(_0x328dd2,_0x2aef88,_0x1e140f);_0x3626e2[_0x157244(0xad)]=class extends _0x2c3d1f[_0x157244(0xab)]{constructor(_0x301d39,_0xd2d40b,_0x279004){var _0x430d74=_0x157244;super(),_0x267246(this,_0x430d74(0x1f1),new Map()),_0x267246(this,_0x430d74(0x3e7),new _0x1b96e3[(_0x430d74(0x1e0))]()),_0x267246(this,_0x430d74(0x30c),this[_0x430d74(0x3e7)][_0x430d74(0x286)]()),(this[_0x430d74(0x2ba)]=_0x301d39,this[_0x430d74(0x270)]=_0xd2d40b,this[_0x430d74(0x3bc)]=_0x279004,this[_0x430d74(0x2f9)]());}[_0x157244(0x3e4)](){var _0x43afdf=_0x157244;super[_0x43afdf(0x3e4)](),this[_0x43afdf(0x1f1)]['forEach'](_0x315166=>_0x315166[_0x43afdf(0x3e4)]()),this[_0x43afdf(0x1f1)]['clear']();}['getCollabEntity'](_0x4b08f2){var _0x3ba5fa=_0x157244,_0x4fd299;return(_0x4fd299=this[_0x3ba5fa(0x1f1)][_0x3ba5fa(0x23c)](_0x4b08f2))!=null?_0x4fd299:null;}[_0x157244(0x28f)](_0x26f2e0){var _0x58292d=_0x157244;const _0x3d11b4=this[_0x58292d(0x3d2)](_0x26f2e0);return _0x3d11b4?_0x1b96e3['of'](_0x3d11b4):this['_entityInit$']['pipe'](_0x4cd497['filter'](_0x4420e4=>_0x4420e4[_0x58292d(0xd7)]===_0x26f2e0));}['readyForCollab'](_0x20684e){var _0x4f7373=_0x157244;return _0x1b96e3[_0x4f7373(0x1f5)](this['getCollabEntity$'](_0x20684e)[_0x4f7373(0x256)](_0x4cd497[_0x4f7373(0x37d)](()=>{})));}[_0x157244(0x2f9)](){var _0x37526e=_0x157244;this[_0x37526e(0x3bc)][_0x37526e(0xcb)](_0x2c3d1f['UniverInstanceType']['UNIVER_SHEET'])['pipe'](_0x1b96e3[_0x37526e(0x2e6)](this[_0x37526e(0x3de)]),_0x4cd497[_0x37526e(0x9e)](0x10))['subscribe'](async _0x2f852c=>{var _0x4847c2=_0x37526e;const _0x529e95=_0x2f852c['getUnitId'](),_0xe585a3=await this[_0x4847c2(0x3ec)](_0x529e95,_0x42e8e1[_0x4847c2(0x79)]);this[_0x4847c2(0x1f1)][_0x4847c2(0xb5)](_0x529e95,_0xe585a3);}),this[_0x37526e(0x3bc)][_0x37526e(0xcb)](_0x2c3d1f['UniverInstanceType'][_0x37526e(0x2b2)])[_0x37526e(0x256)](_0x1b96e3['takeUntil'](this[_0x37526e(0x3de)]),_0x4cd497[_0x37526e(0x9e)](0x10))[_0x37526e(0x256)](_0x4cd497[_0x37526e(0x32f)](_0x2da378=>!_0x2da378['getUnitId']()[_0x37526e(0x332)]('__')))['subscribe'](async _0x29022f=>{var _0x20e31f=_0x37526e;const _0x89ce0e=_0x29022f[_0x20e31f(0x1d5)](),_0x350cc8=await this[_0x20e31f(0x3ec)](_0x89ce0e,_0x42e8e1['UNIVER_DOC']);this['_entities'][_0x20e31f(0xb5)](_0x89ce0e,_0x350cc8);}),_0x1b96e3[_0x37526e(0x2b5)](this[_0x37526e(0x3bc)][_0x37526e(0x2ac)](_0x2c3d1f[_0x37526e(0x2bb)][_0x37526e(0x79)]),this[_0x37526e(0x3bc)][_0x37526e(0x2ac)](_0x2c3d1f[_0x37526e(0x2bb)][_0x37526e(0x2b2)]))[_0x37526e(0x256)](_0x1b96e3[_0x37526e(0x2e6)](this[_0x37526e(0x3de)]))[_0x37526e(0x13e)](_0x12c4be=>{var _0x5e8e63=_0x37526e;const _0x95d92b=_0x12c4be[_0x5e8e63(0x1d5)](),_0x4d799a=this['_entities']['get'](_0x95d92b);_0x4d799a&&(_0x4d799a[_0x5e8e63(0x3e4)](),this['_entities'][_0x5e8e63(0x108)](_0x95d92b));});}async[_0x157244(0x3ec)](_0x470630,_0x12053b){var _0x578767=_0x157244;const _0x417c5c=await this[_0x578767(0x270)][_0x578767(0xfa)](_0x470630),_0xe66196=this[_0x578767(0x2ba)][_0x578767(0x3bd)](this[_0x578767(0x201)](_0x12053b),_0x470630,_0x12053b,_0x417c5c);return await _0xe66196['init'](),this[_0x578767(0x3e7)][_0x578767(0x341)](_0xe66196),_0xe66196;}[_0x157244(0x201)](_0x3101f4){var _0x252b9e=_0x157244;switch(_0x3101f4){case _0x42e8e1[_0x252b9e(0x2b2)]:return _0x3626e2['DocCollaborationEntity'];case _0x42e8e1[_0x252b9e(0x79)]:return _0x3626e2[_0x252b9e(0x1da)];default:throw new Error(_0x252b9e(0x120)+_0x3101f4);}}},_0x3626e2['CollaborationController']=_0x3b9377([_0x145697(0x0,_0x2c3d1f[_0x157244(0x228)](_0x2c3d1f[_0x157244(0x384)])),_0x145697(0x1,_0x2c3d1f['Inject'](_0x3626e2[_0x157244(0x35d)])),_0x145697(0x2,_0x2c3d1f[_0x157244(0x282)])],_0x3626e2[_0x157244(0xad)]);var _0x347392=Object[_0x157244(0xd4)],_0x44ed64=(_0x4bd241,_0x336f10,_0x222d12,_0x13c6db)=>{var _0x76c4f0=_0x157244;for(var _0x22d169=_0x13c6db>0x1?void 0x0:_0x13c6db?_0x347392(_0x336f10,_0x222d12):_0x336f10,_0x34e018=_0x4bd241[_0x76c4f0(0x237)]-0x1,_0x1e5e82;_0x34e018>=0x0;_0x34e018--)(_0x1e5e82=_0x4bd241[_0x34e018])&&(_0x22d169=_0x1e5e82(_0x22d169)||_0x22d169);return _0x22d169;},_0x501bbf=(_0x901a33,_0x5bcd1c)=>(_0x1633a8,_0x367832)=>_0x5bcd1c(_0x1633a8,_0x367832,_0x901a33);const _0xc84d5=_0x157244(0x304),_0xb47fe=_0x157244(0x21a);let _0x4c4df9=class extends _0x2c3d1f['Disposable']{constructor(_0x4d028c,_0x3a596d){var _0x516608=_0x157244;super(),this[_0x516608(0x3bc)]=_0x4d028c,this[_0x516608(0x34b)]=_0x3a596d,this[_0x516608(0x2f9)]();}[_0x157244(0x2f9)](){var _0x446105=_0x157244;this[_0x446105(0x205)](this[_0x446105(0x3bc)]['focused$'][_0x446105(0x13e)](()=>{var _0xe84b9f=_0x446105,_0x4bd1f6;const _0x157c18=this[_0xe84b9f(0x3bc)][_0xe84b9f(0x141)]();let _0x5b05e0=(_0x4bd1f6=this[_0xe84b9f(0x34b)]['getConfig'](_0xc84d5))!=null?_0x4bd1f6:_0xb47fe;_0x157c18 instanceof _0x2c3d1f[_0xe84b9f(0x2b0)]&&(_0x5b05e0=_0x157c18[_0xe84b9f(0x3d1)]),document[_0xe84b9f(0x329)]=_0x5b05e0;}));}};_0x4c4df9=_0x44ed64([_0x501bbf(0x0,_0x2c3d1f[_0x157244(0x282)]),_0x501bbf(0x1,_0x2c3d1f[_0x157244(0x1ca)])],_0x4c4df9);var _0x1cf638=Object[_0x157244(0xd4)],_0x247849=(_0x4e778b,_0x3c47f3,_0x2dd7a0,_0x5b06a9)=>{var _0x4ee238=_0x157244;for(var _0x212047=_0x5b06a9>0x1?void 0x0:_0x5b06a9?_0x1cf638(_0x3c47f3,_0x2dd7a0):_0x3c47f3,_0x209801=_0x4e778b[_0x4ee238(0x237)]-0x1,_0xcf6980;_0x209801>=0x0;_0x209801--)(_0xcf6980=_0x4e778b[_0x209801])&&(_0x212047=_0xcf6980(_0x212047)||_0x212047);return _0x212047;},_0x5e3653=(_0x581fd9,_0x4cfcce)=>(_0x4802a9,_0x808af5)=>_0x4cfcce(_0x4802a9,_0x808af5,_0x581fd9);let _0x225174=class{constructor(_0x21d201,_0x5d14b1,_0x21c619){var _0x51fdec=_0x157244;this['_configService']=_0x21d201,this[_0x51fdec(0x3f3)]=_0x5d14b1,this[_0x51fdec(0x2cf)]=_0x21c619,this[_0x51fdec(0x104)]();}['init'](){var _0x3cbda0=_0x157244;this[_0x3cbda0(0x3f3)][_0x3cbda0(0xa9)]({'priority':0x1,'interceptor':(_0x268cba,_0x216c3a)=>_0x216c3a(_0x268cba)[_0x3cbda0(0x256)](_0x1b96e3[_0x3cbda0(0x1f2)](async _0x2124dc=>{var _0x49f73f=_0x3cbda0;const _0x2038fc=_0x2124dc;if(_0x2038fc['status']===0x191){if(typeof window>'u')throw new Error(_0x49f73f(0x1ad));if(window[_0x49f73f(0x342)](this['localeService']['t'](_0x49f73f(0x268)))){const _0x1d123b=window['encodeURIComponent'](window['location'][_0x49f73f(0x1fa)]);window[_0x49f73f(0x1f0)][_0x49f73f(0x1fa)]=this['_getLoginPath']()+_0x49f73f(0x3e8)+_0x1d123b;}}return _0x2038fc;}))});}['_getLoginPath'](){var _0x2daf1f=_0x157244,_0x4bf4f,_0x3d51b7;const _0x2fad16=this[_0x2daf1f(0x34b)][_0x2daf1f(0x109)](_0x341caf),_0x2692d5=this[_0x2daf1f(0x34b)][_0x2daf1f(0x109)](_0x1f2870);return(_0x3d51b7=(_0x4bf4f=_0x2692d5==null?void 0x0:_0x2692d5['loginUrlKey'])!=null?_0x4bf4f:_0x2fad16)!=null?_0x3d51b7:_0x168fcc;}};_0x225174=_0x247849([_0x5e3653(0x0,_0x2c3d1f[_0x157244(0x1ca)]),_0x5e3653(0x1,_0x2c3d1f[_0x157244(0x228)](_0x442dd8[_0x157244(0xb3)])),_0x5e3653(0x2,_0x2c3d1f['Inject'](_0x2c3d1f[_0x157244(0x146)]))],_0x225174);var _0x5b5940=Object[_0x157244(0xd4)],_0x2af003=(_0x363879,_0x57cd06,_0x42108a,_0x49a2fa)=>{var _0x205ec5=_0x157244;for(var _0x1a61ce=_0x49a2fa>0x1?void 0x0:_0x49a2fa?_0x5b5940(_0x57cd06,_0x42108a):_0x57cd06,_0x30da4b=_0x363879[_0x205ec5(0x237)]-0x1,_0x467b28;_0x30da4b>=0x0;_0x30da4b--)(_0x467b28=_0x363879[_0x30da4b])&&(_0x1a61ce=_0x467b28(_0x1a61ce)||_0x1a61ce);return _0x1a61ce;},_0x5f55ba=(_0x5e584f,_0x1a92a0)=>(_0x1952cb,_0x34a252)=>_0x1a92a0(_0x1952cb,_0x34a252,_0x5e584f);const _0x56a63b=_0x157244(0x258),_0x9c41f='/universer-api/authz';_0x3626e2['AuthzIoHttpService']=class extends _0x2c3d1f[_0x157244(0x10a)]{constructor(_0x362555,_0x3889a5){var _0x27d568=_0x157244;super(),this[_0x27d568(0x198)]=_0x362555,this[_0x27d568(0x34b)]=_0x3889a5,this[_0x27d568(0x3d8)]();}[_0x157244(0x3d8)](){var _0x2f7555=_0x157244;const _0x55cee6=this;this['disposeWithMe'](this[_0x2f7555(0x198)][_0x2f7555(0xa9)]({'priority':0x3e7,'interceptor':_0x442dd8['MergeInterceptorFactory']({'isMatch'(_0x952e37){var _0x5af393=_0x2f7555,_0x26b703;if(_0x952e37['method']===_0x5af393(0x3ad)&&((_0x26b703=_0x952e37[_0x5af393(0x116)])!=null&&_0x26b703['body'])){const {objectID:_0x3dcfe2,objectType:_0x57a580}=_0x952e37[_0x5af393(0x116)]['body']||{};if(!_0x3dcfe2||_0x57a580===void 0x0)return!0x1;const _0x2a4692=_0x55cee6['_getAPIPrefixPath']()+'/'+_0x57a580+'/object/'+_0x3dcfe2+_0x5af393(0x365);if(_0x952e37[_0x5af393(0xe6)]===_0x2a4692)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3cb4f6){var _0x35f2be=_0x2f7555,_0x3dfe78;return(_0x3dfe78=_0x3cb4f6['requestParams'])==null?void 0x0:_0x3dfe78[_0x35f2be(0xf4)];},'mergeParamsToRequest'(_0x44f0bb,_0x1aa50f){var _0x56612e=_0x2f7555;const _0x355e87=_0x55cee6['_getAPIPrefixPath']()+'/-/object/-/batch_allowed',_0x45ce32=_0x44f0bb[_0x56612e(0x27c)]((_0x700f14,_0x12ee0a)=>{var _0x1e21f0=_0x56612e;const {unitID:_0x3f3aa0,objectID:_0x4be62e,objectType:_0x4440de,actions:_0x595544}=_0x12ee0a;return _0x700f14[_0x3f3aa0]||(_0x700f14[_0x3f3aa0]={}),_0x700f14[_0x3f3aa0][_0x4be62e]||(_0x700f14[_0x3f3aa0][_0x4be62e]={'objectID':_0x4be62e,'objectType':_0x4440de,'actions':[]}),_0x700f14[_0x3f3aa0][_0x4be62e]['actions'][_0x1e21f0(0x192)](..._0x595544),_0x700f14;},{}),_0x349f46=[];for(const _0x5e5403 in _0x45ce32)for(const _0x914321 in _0x45ce32[_0x5e5403]){const {actions:_0x35a3c5,objectType:_0x18fb16}=_0x45ce32[_0x5e5403][_0x914321],_0x69e3c4=[...new Set(_0x35a3c5)];_0x349f46['push']({'unitID':_0x5e5403,'objectID':_0x914321,'objectType':_0x18fb16,'actions':_0x69e3c4});}return new _0x442dd8[(_0x56612e(0x71))](_0x56612e(0x3ad),_0x355e87,{'headers':_0x1aa50f['headers'],'withCredentials':_0x1aa50f[_0x56612e(0x1d1)],'responseType':_0x1aa50f[_0x56612e(0xf1)],'body':{'requests':_0x349f46}});}},{'distributeResult'(_0x34b175,_0x5f4a62){var _0x1f2459=_0x2f7555;const {objectActions:_0x3bb6ee}=_0x34b175;return _0x5f4a62[_0x1f2459(0x37d)](_0xe54079=>{var _0x2a8d4a=_0x1f2459;const {unitID:_0xbdcb1b,objectID:_0x15b6ba,actions:_0x42a4e9}=_0xe54079,_0x1bc690=_0x3bb6ee[_0x2a8d4a(0x10d)](_0x13320e=>_0x13320e['unitID']===_0xbdcb1b&&_0x13320e[_0x2a8d4a(0x21b)]===_0x15b6ba),_0x37d130=_0x42a4e9[_0x2a8d4a(0x37d)](_0x576553=>_0x1bc690==null?void 0x0:_0x1bc690[_0x2a8d4a(0x1de)][_0x2a8d4a(0x10d)](_0x45186b=>_0x45186b['action']===_0x576553))[_0x2a8d4a(0x32f)](_0x42af93=>!!_0x42af93);return{'config':_0xe54079,'result':{'actions':_0x37d130,'error':_0x34b175[_0x2a8d4a(0x1be)]}};});}})}));}['_getAPIPrefixPath'](){var _0x69db89=_0x157244,_0x4ce2aa,_0x27adbe;const _0x42312d=this[_0x69db89(0x34b)]['getConfig'](_0x56a63b),_0x5d2a37=this[_0x69db89(0x34b)]['getConfig'](_0x1f2870);return(_0x27adbe=(_0x4ce2aa=_0x5d2a37==null?void 0x0:_0x5d2a37['authzUrl'])!=null?_0x4ce2aa:_0x42312d)!=null?_0x27adbe:_0x9c41f;}async['create'](_0x2d2045){var _0x376f52=_0x157244;const _0x3dffbd=this['_getAPIPrefixPath']()+'/'+_0x2d2045[_0x376f52(0x74)]+_0x376f52(0x103);return(await this[_0x376f52(0x198)][_0x376f52(0x13b)](_0x3dffbd,{'body':_0x2d2045}))['body']['objectID']||'';}async[_0x157244(0x37b)](_0x6d3164){var _0x244146=_0x157244;const _0xe16c4a=this[_0x244146(0x240)]()+_0x244146(0x1bd);return(await this[_0x244146(0x198)][_0x244146(0x13b)](_0xe16c4a,{'body':_0x6d3164}))[_0x244146(0xf4)]['objects'];}async[_0x157244(0x1db)](_0x28dce4){var _0x1ced05=_0x157244,_0x49fc7f,_0x875574;const _0x4f1b9b=this[_0x1ced05(0x240)]()+'/'+_0x28dce4[_0x1ced05(0x74)]+'/object/'+_0x28dce4[_0x1ced05(0x21b)],_0x326bc1=await this['_HTTPService']['put'](_0x4f1b9b,{'body':_0x28dce4});if(((_0x875574=(_0x49fc7f=_0x326bc1==null?void 0x0:_0x326bc1[_0x1ced05(0xf4)])==null?void 0x0:_0x49fc7f[_0x1ced05(0x1be)])==null?void 0x0:_0x875574[_0x1ced05(0x170)])!==0x1)throw new Error(_0x1ced05(0x18e));}async[_0x157244(0x267)](_0x3f2ecb){var _0xe381ed=_0x157244;const _0x35ea20=this[_0xe381ed(0x240)]()+'/'+_0x3f2ecb['objectType']+_0xe381ed(0x1dc)+_0x3f2ecb['objectID']+'/allowed';return(await this[_0xe381ed(0x198)][_0xe381ed(0x13b)](_0x35ea20,{'body':_0x3f2ecb}))[_0xe381ed(0xf4)][_0xe381ed(0x1de)];}async[_0x157244(0x2d2)](_0x506a30){var _0xbbf619=_0x157244;const _0x2852e9=this[_0xbbf619(0x240)]()+_0xbbf619(0x1d9);return(await this['_HTTPService'][_0xbbf619(0x13b)](_0x2852e9,{'body':{'requests':_0x506a30}}))[_0xbbf619(0xf4)][_0xbbf619(0x14f)];}async[_0x157244(0x257)](_0x259f1c){var _0x3fbc04=_0x157244;const _0x408905=this['_getAPIPrefixPath']()+'/'+_0x259f1c[_0x3fbc04(0x74)]+_0x3fbc04(0x6e),_0x4a5821=await this[_0x3fbc04(0x198)][_0x3fbc04(0x13b)](_0x408905,{'body':_0x259f1c});return{'roles':_0x4a5821['body'][_0x3fbc04(0x2e2)],'actions':_0x4a5821[_0x3fbc04(0xf4)]['actions']};}async['deleteCollaborator'](_0xbf4ea7){var _0x9c1843=_0x157244;const _0x474e2e=this[_0x9c1843(0x240)]()+_0x9c1843(0x3e1);await this[_0x9c1843(0x198)][_0x9c1843(0x108)](_0x474e2e,{'params':{'collaboratorID':_0xbf4ea7[_0x9c1843(0x2c9)],'objectID':_0xbf4ea7[_0x9c1843(0x21b)],'unitID':_0xbf4ea7[_0x9c1843(0xd7)]}});}async[_0x157244(0x188)](_0x4ca78c){var _0x1a76b1=_0x157244;const _0x2d13a1=this[_0x1a76b1(0x240)]()+_0x1a76b1(0x3e1);await this[_0x1a76b1(0x198)][_0x1a76b1(0x235)](_0x2d13a1,{'body':_0x4ca78c});}async[_0x157244(0xa6)](_0x51647c){var _0x4189a2=_0x157244;const _0x56b59f=this['_getAPIPrefixPath']()+_0x4189a2(0x3e1);await this['_HTTPService'][_0x4189a2(0x13b)](_0x56b59f,{'body':_0x51647c});}async[_0x157244(0x2ff)](_0x174c8c){var _0x2e140b=_0x157244;const _0x23634e=this['_getAPIPrefixPath']()+_0x2e140b(0x3e1);return(await this['_HTTPService'][_0x2e140b(0x23c)](_0x23634e,{'params':{'objectID':_0x174c8c['objectID'],'unitID':_0x174c8c[_0x2e140b(0xd7)]}}))['body'][_0x2e140b(0x379)];}async[_0x157244(0x3ee)](_0x186746){var _0x168cd7=_0x157244;const _0x581a34=this[_0x168cd7(0x240)]()+_0x168cd7(0x3e1);await this[_0x168cd7(0x198)][_0x168cd7(0x349)](_0x581a34,{'body':_0x186746});}},_0x3626e2[_0x157244(0x350)]=_0x2af003([_0x5f55ba(0x0,_0x2c3d1f[_0x157244(0x228)](_0x442dd8['HTTPService'])),_0x5f55ba(0x1,_0x2c3d1f['Inject'](_0x2c3d1f[_0x157244(0x1ca)]))],_0x3626e2['AuthzIoHttpService']);var _0x10802d=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x4e590a(_0x588387){var _0x23f352=_0x157244;return _0x588387&&_0x588387[_0x23f352(0x230)]&&Object['prototype'][_0x23f352(0xc0)]['call'](_0x588387,_0x23f352(0x3b9))?_0x588387[_0x23f352(0x3b9)]:_0x588387;}var _0x3430d6={'exports':{}};function _0x4a64e4(_0x343f15){var _0x1e86fb=_0x157244;throw new Error(_0x1e86fb(0x231)+_0x343f15+_0x1e86fb(0x145));}var _0x2b962b={'exports':{}},_0x2dd947=_0x2b962b[_0x157244(0x33a)],_0x279844;function _0x2b623d(){var _0x4cd0af=_0x157244;return _0x279844||(_0x279844=0x1,function(_0x19ae09,_0x11b84d){(function(_0x22e258,_0x232fae){var _0xc85412=_0x1f89;_0x19ae09[_0xc85412(0x33a)]=_0x232fae();}(_0x2dd947,function(){var _0x5bfdc9=_0x5bfdc9||function(_0x2615ad,_0x5e73e7){var _0x1a3bd2=_0x1f89,_0x5acd86;if(typeof window<'u'&&window[_0x1a3bd2(0x280)]&&(_0x5acd86=window[_0x1a3bd2(0x280)]),typeof self<'u'&&self['crypto']&&(_0x5acd86=self[_0x1a3bd2(0x280)]),typeof globalThis<'u'&&globalThis[_0x1a3bd2(0x280)]&&(_0x5acd86=globalThis['crypto']),!_0x5acd86&&typeof window<'u'&&window['msCrypto']&&(_0x5acd86=window[_0x1a3bd2(0x136)]),!_0x5acd86&&typeof _0x10802d<'u'&&_0x10802d['crypto']&&(_0x5acd86=_0x10802d[_0x1a3bd2(0x280)]),!_0x5acd86&&typeof _0x4a64e4==_0x1a3bd2(0x375))try{_0x5acd86=require(_0x1a3bd2(0x280));}catch{}var _0x15a22c=function(){var _0x3afe11=_0x1a3bd2;if(_0x5acd86){if(typeof _0x5acd86[_0x3afe11(0x8f)]==_0x3afe11(0x375))try{return _0x5acd86['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5acd86[_0x3afe11(0x392)]==_0x3afe11(0x375))try{return _0x5acd86[_0x3afe11(0x392)](0x4)[_0x3afe11(0x25f)]();}catch{}}throw new Error(_0x3afe11(0x39e));},_0x598e08=Object[_0x1a3bd2(0x1a6)]||(function(){function _0x4de4ef(){}return function(_0x1eb6b7){var _0xfc7bd5=_0x1f89,_0x47f44c;return _0x4de4ef[_0xfc7bd5(0x32c)]=_0x1eb6b7,_0x47f44c=new _0x4de4ef(),_0x4de4ef['prototype']=null,_0x47f44c;};}()),_0x5ea731={},_0x1c0eb0=_0x5ea731[_0x1a3bd2(0x224)]={},_0x7baf94=_0x1c0eb0[_0x1a3bd2(0x29b)]=(function(){return{'extend':function(_0x3ca518){var _0xac6c1d=_0x1f89,_0x1bb0bf=_0x598e08(this);return _0x3ca518&&_0x1bb0bf[_0xac6c1d(0x101)](_0x3ca518),(!_0x1bb0bf[_0xac6c1d(0xc0)](_0xac6c1d(0x104))||this[_0xac6c1d(0x104)]===_0x1bb0bf['init'])&&(_0x1bb0bf[_0xac6c1d(0x104)]=function(){var _0xeb9ee4=_0xac6c1d;_0x1bb0bf[_0xeb9ee4(0x13c)][_0xeb9ee4(0x104)]['apply'](this,arguments);}),_0x1bb0bf[_0xac6c1d(0x104)][_0xac6c1d(0x32c)]=_0x1bb0bf,_0x1bb0bf[_0xac6c1d(0x13c)]=this,_0x1bb0bf;},'create':function(){var _0x4e63aa=_0x1f89,_0x497583=this['extend']();return _0x497583[_0x4e63aa(0x104)][_0x4e63aa(0x33f)](_0x497583,arguments),_0x497583;},'init':function(){},'mixIn':function(_0x54ee9e){var _0x471c1b=_0x1f89;for(var _0x20d9a8 in _0x54ee9e)_0x54ee9e[_0x471c1b(0xc0)](_0x20d9a8)&&(this[_0x20d9a8]=_0x54ee9e[_0x20d9a8]);_0x54ee9e['hasOwnProperty']('toString')&&(this['toString']=_0x54ee9e[_0x471c1b(0x132)]);},'clone':function(){var _0x13bf2c=_0x1f89;return this[_0x13bf2c(0x104)][_0x13bf2c(0x32c)][_0x13bf2c(0x20e)](this);}};}()),_0x1b63b7=_0x1c0eb0['WordArray']=_0x7baf94[_0x1a3bd2(0x20e)]({'init':function(_0x43cad0,_0x4c598c){var _0x48451b=_0x1a3bd2;_0x43cad0=this[_0x48451b(0x38e)]=_0x43cad0||[],_0x4c598c!=_0x5e73e7?this[_0x48451b(0x208)]=_0x4c598c:this[_0x48451b(0x208)]=_0x43cad0[_0x48451b(0x237)]*0x4;},'toString':function(_0x1a6b6a){var _0x24293d=_0x1a3bd2;return(_0x1a6b6a||_0x18af45)[_0x24293d(0xf7)](this);},'concat':function(_0x30cd5a){var _0x5356bd=_0x1a3bd2,_0x10a0dd=this['words'],_0x19aeb4=_0x30cd5a[_0x5356bd(0x38e)],_0x524e7d=this[_0x5356bd(0x208)],_0x2b4e9e=_0x30cd5a[_0x5356bd(0x208)];if(this[_0x5356bd(0x2cd)](),_0x524e7d%0x4)for(var _0x2b2bac=0x0;_0x2b2bac<_0x2b4e9e;_0x2b2bac++){var _0x35a4e8=_0x19aeb4[_0x2b2bac>>>0x2]>>>0x18-_0x2b2bac%0x4*0x8&0xff;_0x10a0dd[_0x524e7d+_0x2b2bac>>>0x2]|=_0x35a4e8<<0x18-(_0x524e7d+_0x2b2bac)%0x4*0x8;}else{for(var _0xe68851=0x0;_0xe68851<_0x2b4e9e;_0xe68851+=0x4)_0x10a0dd[_0x524e7d+_0xe68851>>>0x2]=_0x19aeb4[_0xe68851>>>0x2];}return this['sigBytes']+=_0x2b4e9e,this;},'clamp':function(){var _0x5dc114=_0x1a3bd2,_0x100512=this[_0x5dc114(0x38e)],_0x595b15=this[_0x5dc114(0x208)];_0x100512[_0x595b15>>>0x2]&=0xffffffff<<0x20-_0x595b15%0x4*0x8,_0x100512[_0x5dc114(0x237)]=_0x2615ad[_0x5dc114(0x3aa)](_0x595b15/0x4);},'clone':function(){var _0x4c27d0=_0x1a3bd2,_0x43d424=_0x7baf94[_0x4c27d0(0x2b1)][_0x4c27d0(0x285)](this);return _0x43d424['words']=this[_0x4c27d0(0x38e)][_0x4c27d0(0x102)](0x0),_0x43d424;},'random':function(_0x4245a0){for(var _0x5f55db=[],_0x27a7cd=0x0;_0x27a7cd<_0x4245a0;_0x27a7cd+=0x4)_0x5f55db['push'](_0x15a22c());return new _0x1b63b7['init'](_0x5f55db,_0x4245a0);}}),_0x2b476f=_0x5ea731[_0x1a3bd2(0x290)]={},_0x18af45=_0x2b476f[_0x1a3bd2(0xc1)]={'stringify':function(_0x43b04e){var _0x4d388d=_0x1a3bd2;for(var _0x47e880=_0x43b04e[_0x4d388d(0x38e)],_0x5ae7d0=_0x43b04e[_0x4d388d(0x208)],_0x20fad1=[],_0xdeaa4b=0x0;_0xdeaa4b<_0x5ae7d0;_0xdeaa4b++){var _0x11bbd5=_0x47e880[_0xdeaa4b>>>0x2]>>>0x18-_0xdeaa4b%0x4*0x8&0xff;_0x20fad1[_0x4d388d(0x192)]((_0x11bbd5>>>0x4)['toString'](0x10)),_0x20fad1['push']((_0x11bbd5&0xf)[_0x4d388d(0x132)](0x10));}return _0x20fad1[_0x4d388d(0x3c5)]('');},'parse':function(_0x5ecd86){var _0x2d0a73=_0x1a3bd2;for(var _0x2d192c=_0x5ecd86[_0x2d0a73(0x237)],_0x20a954=[],_0x590ba0=0x0;_0x590ba0<_0x2d192c;_0x590ba0+=0x2)_0x20a954[_0x590ba0>>>0x3]|=parseInt(_0x5ecd86[_0x2d0a73(0x36e)](_0x590ba0,0x2),0x10)<<0x18-_0x590ba0%0x8*0x4;return new _0x1b63b7['init'](_0x20a954,_0x2d192c/0x2);}},_0x2f83ac=_0x2b476f[_0x1a3bd2(0xc4)]={'stringify':function(_0x4b17c8){var _0x2a0e1d=_0x1a3bd2;for(var _0x4b068c=_0x4b17c8[_0x2a0e1d(0x38e)],_0x9e2f50=_0x4b17c8[_0x2a0e1d(0x208)],_0x1c330a=[],_0x305947=0x0;_0x305947<_0x9e2f50;_0x305947++){var _0x36f566=_0x4b068c[_0x305947>>>0x2]>>>0x18-_0x305947%0x4*0x8&0xff;_0x1c330a[_0x2a0e1d(0x192)](String['fromCharCode'](_0x36f566));}return _0x1c330a[_0x2a0e1d(0x3c5)]('');},'parse':function(_0x5a10f6){var _0x575665=_0x1a3bd2;for(var _0x147cf6=_0x5a10f6[_0x575665(0x237)],_0x4b582f=[],_0x1f5b76=0x0;_0x1f5b76<_0x147cf6;_0x1f5b76++)_0x4b582f[_0x1f5b76>>>0x2]|=(_0x5a10f6[_0x575665(0xb1)](_0x1f5b76)&0xff)<<0x18-_0x1f5b76%0x4*0x8;return new _0x1b63b7[(_0x575665(0x104))](_0x4b582f,_0x147cf6);}},_0x19add0=_0x2b476f['Utf8']={'stringify':function(_0x503629){try{return decodeURIComponent(escape(_0x2f83ac['stringify'](_0x503629)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0xaa5ab2){var _0xd1c96b=_0x1a3bd2;return _0x2f83ac[_0xd1c96b(0x3cc)](unescape(encodeURIComponent(_0xaa5ab2)));}},_0x102a35=_0x1c0eb0['BufferedBlockAlgorithm']=_0x7baf94[_0x1a3bd2(0x20e)]({'reset':function(){var _0x1d9876=_0x1a3bd2;this['_data']=new _0x1b63b7[(_0x1d9876(0x104))](),this[_0x1d9876(0xd8)]=0x0;},'_append':function(_0x38acbf){var _0x32ba14=_0x1a3bd2;typeof _0x38acbf=='string'&&(_0x38acbf=_0x19add0['parse'](_0x38acbf)),this[_0x32ba14(0x3a5)][_0x32ba14(0x36d)](_0x38acbf),this['_nDataBytes']+=_0x38acbf[_0x32ba14(0x208)];},'_process':function(_0x4d5f64){var _0x466f74=_0x1a3bd2,_0x5106f8,_0x25c89e=this[_0x466f74(0x3a5)],_0x2d07e1=_0x25c89e[_0x466f74(0x38e)],_0x4cd207=_0x25c89e['sigBytes'],_0x96d86c=this[_0x466f74(0x2c2)],_0x24eaca=_0x96d86c*0x4,_0x142690=_0x4cd207/_0x24eaca;_0x4d5f64?_0x142690=_0x2615ad['ceil'](_0x142690):_0x142690=_0x2615ad['max']((_0x142690|0x0)-this['_minBufferSize'],0x0);var _0x3263df=_0x142690*_0x96d86c,_0x576f6a=_0x2615ad[_0x466f74(0xe2)](_0x3263df*0x4,_0x4cd207);if(_0x3263df){for(var _0x4ff3d7=0x0;_0x4ff3d7<_0x3263df;_0x4ff3d7+=_0x96d86c)this[_0x466f74(0xf5)](_0x2d07e1,_0x4ff3d7);_0x5106f8=_0x2d07e1['splice'](0x0,_0x3263df),_0x25c89e['sigBytes']-=_0x576f6a;}return new _0x1b63b7[(_0x466f74(0x104))](_0x5106f8,_0x576f6a);},'clone':function(){var _0x1d1552=_0x1a3bd2,_0x47964a=_0x7baf94[_0x1d1552(0x2b1)][_0x1d1552(0x285)](this);return _0x47964a['_data']=this[_0x1d1552(0x3a5)]['clone'](),_0x47964a;},'_minBufferSize':0x0});_0x1c0eb0[_0x1a3bd2(0x3cf)]=_0x102a35[_0x1a3bd2(0x20e)]({'cfg':_0x7baf94[_0x1a3bd2(0x20e)](),'init':function(_0x134978){var _0x200bbc=_0x1a3bd2;this[_0x200bbc(0x196)]=this[_0x200bbc(0x196)][_0x200bbc(0x20e)](_0x134978),this[_0x200bbc(0x2a9)]();},'reset':function(){var _0x255ec3=_0x1a3bd2;_0x102a35[_0x255ec3(0x2a9)][_0x255ec3(0x285)](this),this[_0x255ec3(0x193)]();},'update':function(_0x2c8588){var _0x51bebb=_0x1a3bd2;return this['_append'](_0x2c8588),this[_0x51bebb(0x28c)](),this;},'finalize':function(_0x4fd40b){var _0x51a5cd=_0x1a3bd2;_0x4fd40b&&this[_0x51a5cd(0x151)](_0x4fd40b);var _0x4c3b48=this['_doFinalize']();return _0x4c3b48;},'blockSize':0x10,'_createHelper':function(_0x338566){return function(_0x278138,_0x290c93){var _0xb2ef3e=_0x1f89;return new _0x338566[(_0xb2ef3e(0x104))](_0x290c93)[_0xb2ef3e(0x2e4)](_0x278138);};},'_createHmacHelper':function(_0x132de3){return function(_0x3e0c8b,_0x53e66b){var _0x51d55b=_0x1f89;return new _0x1439d4['HMAC'][(_0x51d55b(0x104))](_0x132de3,_0x53e66b)['finalize'](_0x3e0c8b);};}});var _0x1439d4=_0x5ea731[_0x1a3bd2(0x178)]={};return _0x5ea731;}(Math);return _0x5bfdc9;}));}(_0x2b962b)),_0x2b962b[_0x4cd0af(0x33a)];}var _0x3efbb1={'exports':{}},_0x44ac49=_0x3efbb1[_0x157244(0x33a)],_0x1600d5;function _0x58c473(){var _0x4c5d3e=_0x157244;return _0x1600d5||(_0x1600d5=0x1,function(_0x47c564,_0x5c59d6){(function(_0x411450,_0x1b4e4a){_0x47c564['exports']=_0x1b4e4a(_0x2b623d());}(_0x44ac49,function(_0x412caa){var _0x5f3fec=_0x1f89;return(function(){var _0x12b400=_0x1f89,_0x16766f=_0x412caa,_0x420143=_0x16766f[_0x12b400(0x224)],_0x1dda09=_0x420143[_0x12b400(0x3bf)],_0x630363=_0x16766f[_0x12b400(0x290)];_0x630363['Base64']={'stringify':function(_0x247136){var _0x98bd34=_0x12b400,_0x41be77=_0x247136[_0x98bd34(0x38e)],_0x12bcd7=_0x247136['sigBytes'],_0x44e104=this[_0x98bd34(0x1ac)];_0x247136['clamp']();for(var _0x3de50b=[],_0x4cc8fa=0x0;_0x4cc8fa<_0x12bcd7;_0x4cc8fa+=0x3)for(var _0x340318=_0x41be77[_0x4cc8fa>>>0x2]>>>0x18-_0x4cc8fa%0x4*0x8&0xff,_0x82a4e5=_0x41be77[_0x4cc8fa+0x1>>>0x2]>>>0x18-(_0x4cc8fa+0x1)%0x4*0x8&0xff,_0x30bec6=_0x41be77[_0x4cc8fa+0x2>>>0x2]>>>0x18-(_0x4cc8fa+0x2)%0x4*0x8&0xff,_0x1b2330=_0x340318<<0x10|_0x82a4e5<<0x8|_0x30bec6,_0x297fda=0x0;_0x297fda<0x4&&_0x4cc8fa+_0x297fda*0.75<_0x12bcd7;_0x297fda++)_0x3de50b[_0x98bd34(0x192)](_0x44e104[_0x98bd34(0x283)](_0x1b2330>>>0x6*(0x3-_0x297fda)&0x3f));var _0x1b7b53=_0x44e104[_0x98bd34(0x283)](0x40);if(_0x1b7b53){for(;_0x3de50b[_0x98bd34(0x237)]%0x4;)_0x3de50b[_0x98bd34(0x192)](_0x1b7b53);}return _0x3de50b['join']('');},'parse':function(_0x4ab785){var _0x1faafe=_0x12b400,_0x913456=_0x4ab785[_0x1faafe(0x237)],_0x4f2da6=this[_0x1faafe(0x1ac)],_0x2f2c17=this[_0x1faafe(0xff)];if(!_0x2f2c17){_0x2f2c17=this['_reverseMap']=[];for(var _0x36c7bd=0x0;_0x36c7bd<_0x4f2da6['length'];_0x36c7bd++)_0x2f2c17[_0x4f2da6['charCodeAt'](_0x36c7bd)]=_0x36c7bd;}var _0xfa2bdf=_0x4f2da6[_0x1faafe(0x283)](0x40);if(_0xfa2bdf){var _0x8c3f47=_0x4ab785[_0x1faafe(0x2c7)](_0xfa2bdf);_0x8c3f47!==-0x1&&(_0x913456=_0x8c3f47);}return _0x264175(_0x4ab785,_0x913456,_0x2f2c17);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x264175(_0x3b00fa,_0x81b01a,_0x14aece){var _0x2bfe0a=_0x12b400;for(var _0x5c2bfd=[],_0x4f0a2b=0x0,_0x327f0e=0x0;_0x327f0e<_0x81b01a;_0x327f0e++)if(_0x327f0e%0x4){var _0x56c94b=_0x14aece[_0x3b00fa[_0x2bfe0a(0xb1)](_0x327f0e-0x1)]<<_0x327f0e%0x4*0x2,_0xaf4bcb=_0x14aece[_0x3b00fa[_0x2bfe0a(0xb1)](_0x327f0e)]>>>0x6-_0x327f0e%0x4*0x2,_0x32e2d5=_0x56c94b|_0xaf4bcb;_0x5c2bfd[_0x4f0a2b>>>0x2]|=_0x32e2d5<<0x18-_0x4f0a2b%0x4*0x8,_0x4f0a2b++;}return _0x1dda09['create'](_0x5c2bfd,_0x4f0a2b);}}()),_0x412caa[_0x5f3fec(0x290)][_0x5f3fec(0x30f)];}));}(_0x3efbb1)),_0x3efbb1[_0x4c5d3e(0x33a)];}var _0x3864e5={'exports':{}},_0x3cfaf7=_0x3864e5['exports'],_0x3491be;function _0x1a5a45(){return _0x3491be||(_0x3491be=0x1,function(_0x366cbe,_0x35b603){(function(_0x2ff6b9,_0x2f1e99){_0x366cbe['exports']=_0x2f1e99(_0x2b623d());}(_0x3cfaf7,function(_0xc517a7){var _0x2a23b8=_0x1f89;return function(_0x121d42){var _0x2988e2=_0x1f89,_0x1b7473=_0xc517a7,_0x3835d5=_0x1b7473[_0x2988e2(0x224)],_0x2e7a27=_0x3835d5['WordArray'],_0x2fe817=_0x3835d5[_0x2988e2(0x3cf)],_0x3be5bd=_0x1b7473[_0x2988e2(0x178)],_0x116e43=[];(function(){var _0x4f6775=_0x2988e2;for(var _0x103165=0x0;_0x103165<0x40;_0x103165++)_0x116e43[_0x103165]=_0x121d42[_0x4f6775(0x388)](_0x121d42['sin'](_0x103165+0x1))*0x100000000|0x0;}());var _0x29c4e2=_0x3be5bd['MD5']=_0x2fe817[_0x2988e2(0x20e)]({'_doReset':function(){var _0x28ef23=_0x2988e2;this[_0x28ef23(0x106)]=new _0x2e7a27[(_0x28ef23(0x104))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1b099b,_0x3aa365){var _0x2a12d7=_0x2988e2;for(var _0x4dec1c=0x0;_0x4dec1c<0x10;_0x4dec1c++){var _0x417eb4=_0x3aa365+_0x4dec1c,_0x551ca5=_0x1b099b[_0x417eb4];_0x1b099b[_0x417eb4]=(_0x551ca5<<0x8|_0x551ca5>>>0x18)&0xff00ff|(_0x551ca5<<0x18|_0x551ca5>>>0x8)&0xff00ff00;}var _0x1d229c=this[_0x2a12d7(0x106)]['words'],_0x113270=_0x1b099b[_0x3aa365+0x0],_0x32bb16=_0x1b099b[_0x3aa365+0x1],_0x32aba1=_0x1b099b[_0x3aa365+0x2],_0x1b32ef=_0x1b099b[_0x3aa365+0x3],_0x129cab=_0x1b099b[_0x3aa365+0x4],_0x25dbe9=_0x1b099b[_0x3aa365+0x5],_0x2700c=_0x1b099b[_0x3aa365+0x6],_0x4d20a9=_0x1b099b[_0x3aa365+0x7],_0x5aa3ec=_0x1b099b[_0x3aa365+0x8],_0x2513fe=_0x1b099b[_0x3aa365+0x9],_0xc7beda=_0x1b099b[_0x3aa365+0xa],_0x593754=_0x1b099b[_0x3aa365+0xb],_0x175047=_0x1b099b[_0x3aa365+0xc],_0x3179c6=_0x1b099b[_0x3aa365+0xd],_0x5e3823=_0x1b099b[_0x3aa365+0xe],_0x29c962=_0x1b099b[_0x3aa365+0xf],_0x2849b9=_0x1d229c[0x0],_0x482fda=_0x1d229c[0x1],_0x4edb04=_0x1d229c[0x2],_0xd93e1e=_0x1d229c[0x3];_0x2849b9=_0xd5b126(_0x2849b9,_0x482fda,_0x4edb04,_0xd93e1e,_0x113270,0x7,_0x116e43[0x0]),_0xd93e1e=_0xd5b126(_0xd93e1e,_0x2849b9,_0x482fda,_0x4edb04,_0x32bb16,0xc,_0x116e43[0x1]),_0x4edb04=_0xd5b126(_0x4edb04,_0xd93e1e,_0x2849b9,_0x482fda,_0x32aba1,0x11,_0x116e43[0x2]),_0x482fda=_0xd5b126(_0x482fda,_0x4edb04,_0xd93e1e,_0x2849b9,_0x1b32ef,0x16,_0x116e43[0x3]),_0x2849b9=_0xd5b126(_0x2849b9,_0x482fda,_0x4edb04,_0xd93e1e,_0x129cab,0x7,_0x116e43[0x4]),_0xd93e1e=_0xd5b126(_0xd93e1e,_0x2849b9,_0x482fda,_0x4edb04,_0x25dbe9,0xc,_0x116e43[0x5]),_0x4edb04=_0xd5b126(_0x4edb04,_0xd93e1e,_0x2849b9,_0x482fda,_0x2700c,0x11,_0x116e43[0x6]),_0x482fda=_0xd5b126(_0x482fda,_0x4edb04,_0xd93e1e,_0x2849b9,_0x4d20a9,0x16,_0x116e43[0x7]),_0x2849b9=_0xd5b126(_0x2849b9,_0x482fda,_0x4edb04,_0xd93e1e,_0x5aa3ec,0x7,_0x116e43[0x8]),_0xd93e1e=_0xd5b126(_0xd93e1e,_0x2849b9,_0x482fda,_0x4edb04,_0x2513fe,0xc,_0x116e43[0x9]),_0x4edb04=_0xd5b126(_0x4edb04,_0xd93e1e,_0x2849b9,_0x482fda,_0xc7beda,0x11,_0x116e43[0xa]),_0x482fda=_0xd5b126(_0x482fda,_0x4edb04,_0xd93e1e,_0x2849b9,_0x593754,0x16,_0x116e43[0xb]),_0x2849b9=_0xd5b126(_0x2849b9,_0x482fda,_0x4edb04,_0xd93e1e,_0x175047,0x7,_0x116e43[0xc]),_0xd93e1e=_0xd5b126(_0xd93e1e,_0x2849b9,_0x482fda,_0x4edb04,_0x3179c6,0xc,_0x116e43[0xd]),_0x4edb04=_0xd5b126(_0x4edb04,_0xd93e1e,_0x2849b9,_0x482fda,_0x5e3823,0x11,_0x116e43[0xe]),_0x482fda=_0xd5b126(_0x482fda,_0x4edb04,_0xd93e1e,_0x2849b9,_0x29c962,0x16,_0x116e43[0xf]),_0x2849b9=_0x4a34e0(_0x2849b9,_0x482fda,_0x4edb04,_0xd93e1e,_0x32bb16,0x5,_0x116e43[0x10]),_0xd93e1e=_0x4a34e0(_0xd93e1e,_0x2849b9,_0x482fda,_0x4edb04,_0x2700c,0x9,_0x116e43[0x11]),_0x4edb04=_0x4a34e0(_0x4edb04,_0xd93e1e,_0x2849b9,_0x482fda,_0x593754,0xe,_0x116e43[0x12]),_0x482fda=_0x4a34e0(_0x482fda,_0x4edb04,_0xd93e1e,_0x2849b9,_0x113270,0x14,_0x116e43[0x13]),_0x2849b9=_0x4a34e0(_0x2849b9,_0x482fda,_0x4edb04,_0xd93e1e,_0x25dbe9,0x5,_0x116e43[0x14]),_0xd93e1e=_0x4a34e0(_0xd93e1e,_0x2849b9,_0x482fda,_0x4edb04,_0xc7beda,0x9,_0x116e43[0x15]),_0x4edb04=_0x4a34e0(_0x4edb04,_0xd93e1e,_0x2849b9,_0x482fda,_0x29c962,0xe,_0x116e43[0x16]),_0x482fda=_0x4a34e0(_0x482fda,_0x4edb04,_0xd93e1e,_0x2849b9,_0x129cab,0x14,_0x116e43[0x17]),_0x2849b9=_0x4a34e0(_0x2849b9,_0x482fda,_0x4edb04,_0xd93e1e,_0x2513fe,0x5,_0x116e43[0x18]),_0xd93e1e=_0x4a34e0(_0xd93e1e,_0x2849b9,_0x482fda,_0x4edb04,_0x5e3823,0x9,_0x116e43[0x19]),_0x4edb04=_0x4a34e0(_0x4edb04,_0xd93e1e,_0x2849b9,_0x482fda,_0x1b32ef,0xe,_0x116e43[0x1a]),_0x482fda=_0x4a34e0(_0x482fda,_0x4edb04,_0xd93e1e,_0x2849b9,_0x5aa3ec,0x14,_0x116e43[0x1b]),_0x2849b9=_0x4a34e0(_0x2849b9,_0x482fda,_0x4edb04,_0xd93e1e,_0x3179c6,0x5,_0x116e43[0x1c]),_0xd93e1e=_0x4a34e0(_0xd93e1e,_0x2849b9,_0x482fda,_0x4edb04,_0x32aba1,0x9,_0x116e43[0x1d]),_0x4edb04=_0x4a34e0(_0x4edb04,_0xd93e1e,_0x2849b9,_0x482fda,_0x4d20a9,0xe,_0x116e43[0x1e]),_0x482fda=_0x4a34e0(_0x482fda,_0x4edb04,_0xd93e1e,_0x2849b9,_0x175047,0x14,_0x116e43[0x1f]),_0x2849b9=_0x3219b3(_0x2849b9,_0x482fda,_0x4edb04,_0xd93e1e,_0x25dbe9,0x4,_0x116e43[0x20]),_0xd93e1e=_0x3219b3(_0xd93e1e,_0x2849b9,_0x482fda,_0x4edb04,_0x5aa3ec,0xb,_0x116e43[0x21]),_0x4edb04=_0x3219b3(_0x4edb04,_0xd93e1e,_0x2849b9,_0x482fda,_0x593754,0x10,_0x116e43[0x22]),_0x482fda=_0x3219b3(_0x482fda,_0x4edb04,_0xd93e1e,_0x2849b9,_0x5e3823,0x17,_0x116e43[0x23]),_0x2849b9=_0x3219b3(_0x2849b9,_0x482fda,_0x4edb04,_0xd93e1e,_0x32bb16,0x4,_0x116e43[0x24]),_0xd93e1e=_0x3219b3(_0xd93e1e,_0x2849b9,_0x482fda,_0x4edb04,_0x129cab,0xb,_0x116e43[0x25]),_0x4edb04=_0x3219b3(_0x4edb04,_0xd93e1e,_0x2849b9,_0x482fda,_0x4d20a9,0x10,_0x116e43[0x26]),_0x482fda=_0x3219b3(_0x482fda,_0x4edb04,_0xd93e1e,_0x2849b9,_0xc7beda,0x17,_0x116e43[0x27]),_0x2849b9=_0x3219b3(_0x2849b9,_0x482fda,_0x4edb04,_0xd93e1e,_0x3179c6,0x4,_0x116e43[0x28]),_0xd93e1e=_0x3219b3(_0xd93e1e,_0x2849b9,_0x482fda,_0x4edb04,_0x113270,0xb,_0x116e43[0x29]),_0x4edb04=_0x3219b3(_0x4edb04,_0xd93e1e,_0x2849b9,_0x482fda,_0x1b32ef,0x10,_0x116e43[0x2a]),_0x482fda=_0x3219b3(_0x482fda,_0x4edb04,_0xd93e1e,_0x2849b9,_0x2700c,0x17,_0x116e43[0x2b]),_0x2849b9=_0x3219b3(_0x2849b9,_0x482fda,_0x4edb04,_0xd93e1e,_0x2513fe,0x4,_0x116e43[0x2c]),_0xd93e1e=_0x3219b3(_0xd93e1e,_0x2849b9,_0x482fda,_0x4edb04,_0x175047,0xb,_0x116e43[0x2d]),_0x4edb04=_0x3219b3(_0x4edb04,_0xd93e1e,_0x2849b9,_0x482fda,_0x29c962,0x10,_0x116e43[0x2e]),_0x482fda=_0x3219b3(_0x482fda,_0x4edb04,_0xd93e1e,_0x2849b9,_0x32aba1,0x17,_0x116e43[0x2f]),_0x2849b9=_0x5ec978(_0x2849b9,_0x482fda,_0x4edb04,_0xd93e1e,_0x113270,0x6,_0x116e43[0x30]),_0xd93e1e=_0x5ec978(_0xd93e1e,_0x2849b9,_0x482fda,_0x4edb04,_0x4d20a9,0xa,_0x116e43[0x31]),_0x4edb04=_0x5ec978(_0x4edb04,_0xd93e1e,_0x2849b9,_0x482fda,_0x5e3823,0xf,_0x116e43[0x32]),_0x482fda=_0x5ec978(_0x482fda,_0x4edb04,_0xd93e1e,_0x2849b9,_0x25dbe9,0x15,_0x116e43[0x33]),_0x2849b9=_0x5ec978(_0x2849b9,_0x482fda,_0x4edb04,_0xd93e1e,_0x175047,0x6,_0x116e43[0x34]),_0xd93e1e=_0x5ec978(_0xd93e1e,_0x2849b9,_0x482fda,_0x4edb04,_0x1b32ef,0xa,_0x116e43[0x35]),_0x4edb04=_0x5ec978(_0x4edb04,_0xd93e1e,_0x2849b9,_0x482fda,_0xc7beda,0xf,_0x116e43[0x36]),_0x482fda=_0x5ec978(_0x482fda,_0x4edb04,_0xd93e1e,_0x2849b9,_0x32bb16,0x15,_0x116e43[0x37]),_0x2849b9=_0x5ec978(_0x2849b9,_0x482fda,_0x4edb04,_0xd93e1e,_0x5aa3ec,0x6,_0x116e43[0x38]),_0xd93e1e=_0x5ec978(_0xd93e1e,_0x2849b9,_0x482fda,_0x4edb04,_0x29c962,0xa,_0x116e43[0x39]),_0x4edb04=_0x5ec978(_0x4edb04,_0xd93e1e,_0x2849b9,_0x482fda,_0x2700c,0xf,_0x116e43[0x3a]),_0x482fda=_0x5ec978(_0x482fda,_0x4edb04,_0xd93e1e,_0x2849b9,_0x3179c6,0x15,_0x116e43[0x3b]),_0x2849b9=_0x5ec978(_0x2849b9,_0x482fda,_0x4edb04,_0xd93e1e,_0x129cab,0x6,_0x116e43[0x3c]),_0xd93e1e=_0x5ec978(_0xd93e1e,_0x2849b9,_0x482fda,_0x4edb04,_0x593754,0xa,_0x116e43[0x3d]),_0x4edb04=_0x5ec978(_0x4edb04,_0xd93e1e,_0x2849b9,_0x482fda,_0x32aba1,0xf,_0x116e43[0x3e]),_0x482fda=_0x5ec978(_0x482fda,_0x4edb04,_0xd93e1e,_0x2849b9,_0x2513fe,0x15,_0x116e43[0x3f]),_0x1d229c[0x0]=_0x1d229c[0x0]+_0x2849b9|0x0,_0x1d229c[0x1]=_0x1d229c[0x1]+_0x482fda|0x0,_0x1d229c[0x2]=_0x1d229c[0x2]+_0x4edb04|0x0,_0x1d229c[0x3]=_0x1d229c[0x3]+_0xd93e1e|0x0;},'_doFinalize':function(){var _0x33a647=_0x2988e2,_0x3641a4=this[_0x33a647(0x3a5)],_0x312bc1=_0x3641a4[_0x33a647(0x38e)],_0x29d857=this[_0x33a647(0xd8)]*0x8,_0x3ed25f=_0x3641a4[_0x33a647(0x208)]*0x8;_0x312bc1[_0x3ed25f>>>0x5]|=0x80<<0x18-_0x3ed25f%0x20;var _0x34cff3=_0x121d42['floor'](_0x29d857/0x100000000),_0x3166ab=_0x29d857;_0x312bc1[(_0x3ed25f+0x40>>>0x9<<0x4)+0xf]=(_0x34cff3<<0x8|_0x34cff3>>>0x18)&0xff00ff|(_0x34cff3<<0x18|_0x34cff3>>>0x8)&0xff00ff00,_0x312bc1[(_0x3ed25f+0x40>>>0x9<<0x4)+0xe]=(_0x3166ab<<0x8|_0x3166ab>>>0x18)&0xff00ff|(_0x3166ab<<0x18|_0x3166ab>>>0x8)&0xff00ff00,_0x3641a4['sigBytes']=(_0x312bc1[_0x33a647(0x237)]+0x1)*0x4,this[_0x33a647(0x28c)]();for(var _0x1e8967=this[_0x33a647(0x106)],_0x22620d=_0x1e8967[_0x33a647(0x38e)],_0x1439e4=0x0;_0x1439e4<0x4;_0x1439e4++){var _0x4902f6=_0x22620d[_0x1439e4];_0x22620d[_0x1439e4]=(_0x4902f6<<0x8|_0x4902f6>>>0x18)&0xff00ff|(_0x4902f6<<0x18|_0x4902f6>>>0x8)&0xff00ff00;}return _0x1e8967;},'clone':function(){var _0x2bdec2=_0x2988e2,_0x4d0323=_0x2fe817['clone'][_0x2bdec2(0x285)](this);return _0x4d0323[_0x2bdec2(0x106)]=this[_0x2bdec2(0x106)][_0x2bdec2(0x2b1)](),_0x4d0323;}});function _0xd5b126(_0x321794,_0x5b978a,_0x92970e,_0x2853e9,_0xf25992,_0x38d24d,_0x50b0be){var _0x20e725=_0x321794+(_0x5b978a&_0x92970e|~_0x5b978a&_0x2853e9)+_0xf25992+_0x50b0be;return(_0x20e725<<_0x38d24d|_0x20e725>>>0x20-_0x38d24d)+_0x5b978a;}function _0x4a34e0(_0x3b14cb,_0x382600,_0x66e25b,_0x553175,_0x4fc8a0,_0x43d1b2,_0x361e0a){var _0x3aedd8=_0x3b14cb+(_0x382600&_0x553175|_0x66e25b&~_0x553175)+_0x4fc8a0+_0x361e0a;return(_0x3aedd8<<_0x43d1b2|_0x3aedd8>>>0x20-_0x43d1b2)+_0x382600;}function _0x3219b3(_0x3ca5d1,_0x5a3f0e,_0x53ddd0,_0x440d0d,_0x544352,_0x383517,_0x3d1935){var _0x131c0b=_0x3ca5d1+(_0x5a3f0e^_0x53ddd0^_0x440d0d)+_0x544352+_0x3d1935;return(_0x131c0b<<_0x383517|_0x131c0b>>>0x20-_0x383517)+_0x5a3f0e;}function _0x5ec978(_0x53362d,_0xe1302b,_0x5b8c17,_0x24a0f7,_0x24f6a1,_0x20a880,_0x6bb8e3){var _0x41b1ee=_0x53362d+(_0x5b8c17^(_0xe1302b|~_0x24a0f7))+_0x24f6a1+_0x6bb8e3;return(_0x41b1ee<<_0x20a880|_0x41b1ee>>>0x20-_0x20a880)+_0xe1302b;}_0x1b7473[_0x2988e2(0x204)]=_0x2fe817[_0x2988e2(0x35c)](_0x29c4e2),_0x1b7473[_0x2988e2(0x373)]=_0x2fe817[_0x2988e2(0x1ba)](_0x29c4e2);}(Math),_0xc517a7[_0x2a23b8(0x204)];}));}(_0x3864e5)),_0x3864e5['exports'];}var _0x1ea617={'exports':{}},_0x46bed5={'exports':{}},_0x4ceacc=_0x46bed5[_0x157244(0x33a)],_0x1d934d;function _0x11af95(){return _0x1d934d||(_0x1d934d=0x1,function(_0x373f40,_0xfba982){(function(_0x544ed0,_0x5e3e50){_0x373f40['exports']=_0x5e3e50(_0x2b623d());}(_0x4ceacc,function(_0x3d27b7){var _0x4b8d42=_0x1f89;return(function(){var _0x2b9257=_0x1f89,_0x40b6e6=_0x3d27b7,_0x4b5fb6=_0x40b6e6[_0x2b9257(0x224)],_0xe39da2=_0x4b5fb6[_0x2b9257(0x3bf)],_0x3acdde=_0x4b5fb6[_0x2b9257(0x3cf)],_0xd4420b=_0x40b6e6[_0x2b9257(0x178)],_0x36051d=[],_0x104719=_0xd4420b['SHA1']=_0x3acdde[_0x2b9257(0x20e)]({'_doReset':function(){var _0x14bf2c=_0x2b9257;this[_0x14bf2c(0x106)]=new _0xe39da2['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4d4090,_0x535862){var _0x6a4d2f=_0x2b9257;for(var _0x4ded59=this['_hash'][_0x6a4d2f(0x38e)],_0x53b787=_0x4ded59[0x0],_0x166f27=_0x4ded59[0x1],_0x12f183=_0x4ded59[0x2],_0x5b8d5c=_0x4ded59[0x3],_0x5e452f=_0x4ded59[0x4],_0x2b710e=0x0;_0x2b710e<0x50;_0x2b710e++){if(_0x2b710e<0x10)_0x36051d[_0x2b710e]=_0x4d4090[_0x535862+_0x2b710e]|0x0;else{var _0x1e8493=_0x36051d[_0x2b710e-0x3]^_0x36051d[_0x2b710e-0x8]^_0x36051d[_0x2b710e-0xe]^_0x36051d[_0x2b710e-0x10];_0x36051d[_0x2b710e]=_0x1e8493<<0x1|_0x1e8493>>>0x1f;}var _0x4f485e=(_0x53b787<<0x5|_0x53b787>>>0x1b)+_0x5e452f+_0x36051d[_0x2b710e];_0x2b710e<0x14?_0x4f485e+=(_0x166f27&_0x12f183|~_0x166f27&_0x5b8d5c)+0x5a827999:_0x2b710e<0x28?_0x4f485e+=(_0x166f27^_0x12f183^_0x5b8d5c)+0x6ed9eba1:_0x2b710e<0x3c?_0x4f485e+=(_0x166f27&_0x12f183|_0x166f27&_0x5b8d5c|_0x12f183&_0x5b8d5c)-0x70e44324:_0x4f485e+=(_0x166f27^_0x12f183^_0x5b8d5c)-0x359d3e2a,_0x5e452f=_0x5b8d5c,_0x5b8d5c=_0x12f183,_0x12f183=_0x166f27<<0x1e|_0x166f27>>>0x2,_0x166f27=_0x53b787,_0x53b787=_0x4f485e;}_0x4ded59[0x0]=_0x4ded59[0x0]+_0x53b787|0x0,_0x4ded59[0x1]=_0x4ded59[0x1]+_0x166f27|0x0,_0x4ded59[0x2]=_0x4ded59[0x2]+_0x12f183|0x0,_0x4ded59[0x3]=_0x4ded59[0x3]+_0x5b8d5c|0x0,_0x4ded59[0x4]=_0x4ded59[0x4]+_0x5e452f|0x0;},'_doFinalize':function(){var _0x1cfb12=_0x2b9257,_0x452733=this['_data'],_0x55c29f=_0x452733[_0x1cfb12(0x38e)],_0x473fa8=this[_0x1cfb12(0xd8)]*0x8,_0x187309=_0x452733[_0x1cfb12(0x208)]*0x8;return _0x55c29f[_0x187309>>>0x5]|=0x80<<0x18-_0x187309%0x20,_0x55c29f[(_0x187309+0x40>>>0x9<<0x4)+0xe]=Math[_0x1cfb12(0x1c7)](_0x473fa8/0x100000000),_0x55c29f[(_0x187309+0x40>>>0x9<<0x4)+0xf]=_0x473fa8,_0x452733[_0x1cfb12(0x208)]=_0x55c29f['length']*0x4,this[_0x1cfb12(0x28c)](),this[_0x1cfb12(0x106)];},'clone':function(){var _0x301678=_0x2b9257,_0x4685bd=_0x3acdde[_0x301678(0x2b1)][_0x301678(0x285)](this);return _0x4685bd[_0x301678(0x106)]=this[_0x301678(0x106)][_0x301678(0x2b1)](),_0x4685bd;}});_0x40b6e6[_0x2b9257(0x1cc)]=_0x3acdde[_0x2b9257(0x35c)](_0x104719),_0x40b6e6[_0x2b9257(0x3b5)]=_0x3acdde[_0x2b9257(0x1ba)](_0x104719);}()),_0x3d27b7[_0x4b8d42(0x1cc)];}));}(_0x46bed5)),_0x46bed5['exports'];}var _0x1fef9d={'exports':{}},_0x3bd952=_0x1fef9d[_0x157244(0x33a)],_0x5bc080;function _0x5669e8(){return _0x5bc080||(_0x5bc080=0x1,function(_0x1fb234,_0x578406){(function(_0x33a9b1,_0x476262){var _0xe5245a=_0x1f89;_0x1fb234[_0xe5245a(0x33a)]=_0x476262(_0x2b623d());}(_0x3bd952,function(_0x5d739a){(function(){var _0x1a5dae=_0x1f89,_0x5d8382=_0x5d739a,_0x21d2b5=_0x5d8382[_0x1a5dae(0x224)],_0x50f083=_0x21d2b5[_0x1a5dae(0x29b)],_0x48416c=_0x5d8382[_0x1a5dae(0x290)],_0x3279b4=_0x48416c[_0x1a5dae(0x31a)],_0x537041=_0x5d8382[_0x1a5dae(0x178)];_0x537041[_0x1a5dae(0x2c5)]=_0x50f083[_0x1a5dae(0x20e)]({'init':function(_0x594f6c,_0x5806f7){var _0x246369=_0x1a5dae;_0x594f6c=this[_0x246369(0x37a)]=new _0x594f6c[(_0x246369(0x104))](),typeof _0x5806f7=='string'&&(_0x5806f7=_0x3279b4[_0x246369(0x3cc)](_0x5806f7));var _0x5d3a9f=_0x594f6c[_0x246369(0x2c2)],_0x16c111=_0x5d3a9f*0x4;_0x5806f7[_0x246369(0x208)]>_0x16c111&&(_0x5806f7=_0x594f6c[_0x246369(0x2e4)](_0x5806f7)),_0x5806f7[_0x246369(0x2cd)]();for(var _0x157c46=this[_0x246369(0x16c)]=_0x5806f7[_0x246369(0x2b1)](),_0x408608=this[_0x246369(0xa7)]=_0x5806f7[_0x246369(0x2b1)](),_0x28a418=_0x157c46[_0x246369(0x38e)],_0x2150eb=_0x408608['words'],_0x4309e5=0x0;_0x4309e5<_0x5d3a9f;_0x4309e5++)_0x28a418[_0x4309e5]^=0x5c5c5c5c,_0x2150eb[_0x4309e5]^=0x36363636;_0x157c46['sigBytes']=_0x408608[_0x246369(0x208)]=_0x16c111,this['reset']();},'reset':function(){var _0x246554=_0x1a5dae,_0x5da6aa=this[_0x246554(0x37a)];_0x5da6aa[_0x246554(0x2a9)](),_0x5da6aa[_0x246554(0x1db)](this['_iKey']);},'update':function(_0x52b292){return this['_hasher']['update'](_0x52b292),this;},'finalize':function(_0x176f01){var _0x2d2787=_0x1a5dae,_0x13b4f3=this[_0x2d2787(0x37a)],_0x25798a=_0x13b4f3[_0x2d2787(0x2e4)](_0x176f01);_0x13b4f3['reset']();var _0x199b9e=_0x13b4f3[_0x2d2787(0x2e4)](this[_0x2d2787(0x16c)][_0x2d2787(0x2b1)]()[_0x2d2787(0x36d)](_0x25798a));return _0x199b9e;}});}());}));}(_0x1fef9d)),_0x1fef9d['exports'];}var _0x4415c5=_0x1ea617[_0x157244(0x33a)],_0x9f863a;function _0x36a166(){var _0x33b74b=_0x157244;return _0x9f863a||(_0x9f863a=0x1,function(_0x2e21bf,_0x1e0500){(function(_0x21074a,_0x32e5a9,_0x3ccaa8){var _0x29586d=_0x1f89;_0x2e21bf[_0x29586d(0x33a)]=_0x32e5a9(_0x2b623d(),_0x11af95(),_0x5669e8());}(_0x4415c5,function(_0x484f47){return(function(){var _0x562f19=_0x1f89,_0x2efd03=_0x484f47,_0x710b41=_0x2efd03[_0x562f19(0x224)],_0x434c80=_0x710b41[_0x562f19(0x29b)],_0x14d793=_0x710b41[_0x562f19(0x3bf)],_0x373f11=_0x2efd03['algo'],_0x27085c=_0x373f11[_0x562f19(0x204)],_0x212bc0=_0x373f11[_0x562f19(0x8c)]=_0x434c80['extend']({'cfg':_0x434c80[_0x562f19(0x20e)]({'keySize':0x80/0x20,'hasher':_0x27085c,'iterations':0x1}),'init':function(_0x4c9806){var _0x5b6ba3=_0x562f19;this[_0x5b6ba3(0x196)]=this[_0x5b6ba3(0x196)]['extend'](_0x4c9806);},'compute':function(_0x318c53,_0x3ecc9c){var _0x53a521=_0x562f19;for(var _0x1ebf44,_0x2657ea=this[_0x53a521(0x196)],_0xd498ba=_0x2657ea[_0x53a521(0x1d3)]['create'](),_0x4eb94e=_0x14d793['create'](),_0x51b77e=_0x4eb94e[_0x53a521(0x38e)],_0x109516=_0x2657ea[_0x53a521(0x2eb)],_0x5ca23b=_0x2657ea[_0x53a521(0x31b)];_0x51b77e['length']<_0x109516;){_0x1ebf44&&_0xd498ba[_0x53a521(0x1db)](_0x1ebf44),_0x1ebf44=_0xd498ba[_0x53a521(0x1db)](_0x318c53)[_0x53a521(0x2e4)](_0x3ecc9c),_0xd498ba['reset']();for(var _0x2b6ddc=0x1;_0x2b6ddc<_0x5ca23b;_0x2b6ddc++)_0x1ebf44=_0xd498ba[_0x53a521(0x2e4)](_0x1ebf44),_0xd498ba['reset']();_0x4eb94e[_0x53a521(0x36d)](_0x1ebf44);}return _0x4eb94e[_0x53a521(0x208)]=_0x109516*0x4,_0x4eb94e;}});_0x2efd03['EvpKDF']=function(_0x46436d,_0x101b25,_0x27d992){var _0x6aed30=_0x562f19;return _0x212bc0[_0x6aed30(0x1a6)](_0x27d992)[_0x6aed30(0x377)](_0x46436d,_0x101b25);};}()),_0x484f47['EvpKDF'];}));}(_0x1ea617)),_0x1ea617[_0x33b74b(0x33a)];}var _0x2d631d={'exports':{}},_0x3b812c=_0x2d631d[_0x157244(0x33a)],_0x124f2e;function _0x54c7a5(){var _0x199b27=_0x157244;return _0x124f2e||(_0x124f2e=0x1,function(_0x467b4a,_0x3266d0){(function(_0x4f4dd4,_0x3d6bd0,_0x2e4d71){_0x467b4a['exports']=_0x3d6bd0(_0x2b623d(),_0x36a166());}(_0x3b812c,function(_0x3be421){var _0x43f327=_0x1f89;_0x3be421[_0x43f327(0x224)][_0x43f327(0x397)]||function(_0x3f9068){var _0x50308a=_0x43f327,_0x5c023e=_0x3be421,_0x308048=_0x5c023e[_0x50308a(0x224)],_0x29cc41=_0x308048[_0x50308a(0x29b)],_0x220c1e=_0x308048['WordArray'],_0x538260=_0x308048[_0x50308a(0x160)],_0x23d414=_0x5c023e[_0x50308a(0x290)];_0x23d414[_0x50308a(0x31a)];var _0x1ca03c=_0x23d414[_0x50308a(0x30f)],_0x38721b=_0x5c023e['algo'],_0x6682ab=_0x38721b[_0x50308a(0x8c)],_0x5095d4=_0x308048[_0x50308a(0x397)]=_0x538260[_0x50308a(0x20e)]({'cfg':_0x29cc41[_0x50308a(0x20e)](),'createEncryptor':function(_0x197436,_0xdd7f1d){var _0x103193=_0x50308a;return this['create'](this[_0x103193(0x396)],_0x197436,_0xdd7f1d);},'createDecryptor':function(_0x56caa0,_0x2921f2){var _0x5ed937=_0x50308a;return this[_0x5ed937(0x1a6)](this[_0x5ed937(0x2bf)],_0x56caa0,_0x2921f2);},'init':function(_0x1ac165,_0x2d835e,_0x30742b){var _0x3693f1=_0x50308a;this['cfg']=this[_0x3693f1(0x196)][_0x3693f1(0x20e)](_0x30742b),this[_0x3693f1(0x1e1)]=_0x1ac165,this[_0x3693f1(0x354)]=_0x2d835e,this[_0x3693f1(0x2a9)]();},'reset':function(){var _0x48855d=_0x50308a;_0x538260[_0x48855d(0x2a9)][_0x48855d(0x285)](this),this[_0x48855d(0x193)]();},'process':function(_0x53e34d){var _0x361709=_0x50308a;return this[_0x361709(0x151)](_0x53e34d),this[_0x361709(0x28c)]();},'finalize':function(_0x502d89){var _0x5bb069=_0x50308a;_0x502d89&&this[_0x5bb069(0x151)](_0x502d89);var _0x490784=this['_doFinalize']();return _0x490784;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2da2c9(_0x10f0b1){var _0x2f1ee2=_0x1f89;return typeof _0x10f0b1==_0x2f1ee2(0x212)?_0x4ba1a5:_0x206876;}return function(_0x31c492){return{'encrypt':function(_0x318812,_0x16dc4b,_0xff9668){var _0x864fdb=_0x1f89;return _0x2da2c9(_0x16dc4b)[_0x864fdb(0x378)](_0x31c492,_0x318812,_0x16dc4b,_0xff9668);},'decrypt':function(_0x231818,_0x5d3be1,_0x20ecac){var _0x1e7374=_0x1f89;return _0x2da2c9(_0x5d3be1)[_0x1e7374(0x2f4)](_0x31c492,_0x231818,_0x5d3be1,_0x20ecac);}};};}())});_0x308048[_0x50308a(0x119)]=_0x5095d4[_0x50308a(0x20e)]({'_doFinalize':function(){var _0x409221=_0x50308a,_0x6644ef=this[_0x409221(0x28c)](!0x0);return _0x6644ef;},'blockSize':0x1});var _0x3cb1f1=_0x5c023e[_0x50308a(0x30a)]={},_0x43c11c=_0x308048[_0x50308a(0x227)]=_0x29cc41[_0x50308a(0x20e)]({'createEncryptor':function(_0x1caa13,_0x2e97a9){var _0x2da677=_0x50308a;return this[_0x2da677(0x115)][_0x2da677(0x1a6)](_0x1caa13,_0x2e97a9);},'createDecryptor':function(_0xc80dee,_0x598318){var _0x26a03c=_0x50308a;return this[_0x26a03c(0x177)][_0x26a03c(0x1a6)](_0xc80dee,_0x598318);},'init':function(_0x61fe0a,_0x42f708){var _0x14149e=_0x50308a;this[_0x14149e(0x3d6)]=_0x61fe0a,this[_0x14149e(0x191)]=_0x42f708;}}),_0x1311a4=_0x3cb1f1[_0x50308a(0x8a)]=(function(){var _0x26793b=_0x50308a,_0x3921a2=_0x43c11c[_0x26793b(0x20e)]();_0x3921a2[_0x26793b(0x115)]=_0x3921a2['extend']({'processBlock':function(_0x550942,_0x9d3e7e){var _0x1931fb=_0x26793b,_0x52e4b4=this[_0x1931fb(0x3d6)],_0x4351e0=_0x52e4b4[_0x1931fb(0x2c2)];_0x573ace[_0x1931fb(0x285)](this,_0x550942,_0x9d3e7e,_0x4351e0),_0x52e4b4[_0x1931fb(0x3c2)](_0x550942,_0x9d3e7e),this[_0x1931fb(0x29e)]=_0x550942['slice'](_0x9d3e7e,_0x9d3e7e+_0x4351e0);}}),_0x3921a2[_0x26793b(0x177)]=_0x3921a2[_0x26793b(0x20e)]({'processBlock':function(_0x353241,_0xd4d104){var _0x40eecf=_0x26793b,_0x191e94=this[_0x40eecf(0x3d6)],_0x482228=_0x191e94['blockSize'],_0x20f71f=_0x353241[_0x40eecf(0x102)](_0xd4d104,_0xd4d104+_0x482228);_0x191e94[_0x40eecf(0x10c)](_0x353241,_0xd4d104),_0x573ace[_0x40eecf(0x285)](this,_0x353241,_0xd4d104,_0x482228),this[_0x40eecf(0x29e)]=_0x20f71f;}});function _0x573ace(_0x62e9e5,_0x2dab9a,_0x45d8cb){var _0x3585b2=_0x26793b,_0x5dffa8,_0x588d03=this[_0x3585b2(0x191)];_0x588d03?(_0x5dffa8=_0x588d03,this[_0x3585b2(0x191)]=_0x3f9068):_0x5dffa8=this[_0x3585b2(0x29e)];for(var _0x22e97d=0x0;_0x22e97d<_0x45d8cb;_0x22e97d++)_0x62e9e5[_0x2dab9a+_0x22e97d]^=_0x5dffa8[_0x22e97d];}return _0x3921a2;}()),_0x1f36f3=_0x5c023e['pad']={},_0xa0df0c=_0x1f36f3['Pkcs7']={'pad':function(_0x52a1b4,_0x527419){var _0xe5ebbe=_0x50308a;for(var _0xe38b55=_0x527419*0x4,_0x21903e=_0xe38b55-_0x52a1b4['sigBytes']%_0xe38b55,_0x1e20af=_0x21903e<<0x18|_0x21903e<<0x10|_0x21903e<<0x8|_0x21903e,_0x1d79ef=[],_0x5b71e8=0x0;_0x5b71e8<_0x21903e;_0x5b71e8+=0x4)_0x1d79ef[_0xe5ebbe(0x192)](_0x1e20af);var _0x50d82d=_0x220c1e[_0xe5ebbe(0x1a6)](_0x1d79ef,_0x21903e);_0x52a1b4[_0xe5ebbe(0x36d)](_0x50d82d);},'unpad':function(_0xc81c76){var _0x3c6c4f=_0x50308a,_0x39a8ee=_0xc81c76[_0x3c6c4f(0x38e)][_0xc81c76[_0x3c6c4f(0x208)]-0x1>>>0x2]&0xff;_0xc81c76[_0x3c6c4f(0x208)]-=_0x39a8ee;}};_0x308048[_0x50308a(0x389)]=_0x5095d4[_0x50308a(0x20e)]({'cfg':_0x5095d4['cfg'][_0x50308a(0x20e)]({'mode':_0x1311a4,'padding':_0xa0df0c}),'reset':function(){var _0x150cab=_0x50308a,_0x109c62;_0x5095d4[_0x150cab(0x2a9)]['call'](this);var _0x320b1a=this[_0x150cab(0x196)],_0x57982e=_0x320b1a['iv'],_0x2d3dd8=_0x320b1a['mode'];this[_0x150cab(0x1e1)]==this[_0x150cab(0x396)]?_0x109c62=_0x2d3dd8['createEncryptor']:(_0x109c62=_0x2d3dd8[_0x150cab(0x17b)],this['_minBufferSize']=0x1),this['_mode']&&this[_0x150cab(0xbb)]['__creator']==_0x109c62?this[_0x150cab(0xbb)][_0x150cab(0x104)](this,_0x57982e&&_0x57982e[_0x150cab(0x38e)]):(this[_0x150cab(0xbb)]=_0x109c62[_0x150cab(0x285)](_0x2d3dd8,this,_0x57982e&&_0x57982e['words']),this[_0x150cab(0xbb)][_0x150cab(0x12c)]=_0x109c62);},'_doProcessBlock':function(_0x721ea9,_0x159189){var _0x3658c5=_0x50308a;this[_0x3658c5(0xbb)][_0x3658c5(0x261)](_0x721ea9,_0x159189);},'_doFinalize':function(){var _0xd84f3b=_0x50308a,_0x233dfe,_0x4d7487=this[_0xd84f3b(0x196)][_0xd84f3b(0x3c7)];return this['_xformMode']==this[_0xd84f3b(0x396)]?(_0x4d7487[_0xd84f3b(0x27e)](this[_0xd84f3b(0x3a5)],this[_0xd84f3b(0x2c2)]),_0x233dfe=this[_0xd84f3b(0x28c)](!0x0)):(_0x233dfe=this[_0xd84f3b(0x28c)](!0x0),_0x4d7487['unpad'](_0x233dfe)),_0x233dfe;},'blockSize':0x80/0x20});var _0x310d7e=_0x308048[_0x50308a(0x27b)]=_0x29cc41[_0x50308a(0x20e)]({'init':function(_0xe7c71c){var _0x5bddf0=_0x50308a;this[_0x5bddf0(0x101)](_0xe7c71c);},'toString':function(_0x22ad50){var _0x27b3ad=_0x50308a;return(_0x22ad50||this[_0x27b3ad(0xd0)])[_0x27b3ad(0xf7)](this);}}),_0x19f7a5=_0x5c023e['format']={},_0x1071be=_0x19f7a5[_0x50308a(0x9f)]={'stringify':function(_0x56ea5b){var _0x253d55=_0x50308a,_0x51e8ac,_0x21344b=_0x56ea5b[_0x253d55(0xa0)],_0x4c1d01=_0x56ea5b[_0x253d55(0x248)];return _0x4c1d01?_0x51e8ac=_0x220c1e[_0x253d55(0x1a6)]([0x53616c74,0x65645f5f])['concat'](_0x4c1d01)[_0x253d55(0x36d)](_0x21344b):_0x51e8ac=_0x21344b,_0x51e8ac[_0x253d55(0x132)](_0x1ca03c);},'parse':function(_0x18a4ea){var _0xb6ef46=_0x50308a,_0x3858cc,_0x36720c=_0x1ca03c[_0xb6ef46(0x3cc)](_0x18a4ea),_0x3b4002=_0x36720c['words'];return _0x3b4002[0x0]==0x53616c74&&_0x3b4002[0x1]==0x65645f5f&&(_0x3858cc=_0x220c1e[_0xb6ef46(0x1a6)](_0x3b4002['slice'](0x2,0x4)),_0x3b4002[_0xb6ef46(0x3f0)](0x0,0x4),_0x36720c[_0xb6ef46(0x208)]-=0x10),_0x310d7e[_0xb6ef46(0x1a6)]({'ciphertext':_0x36720c,'salt':_0x3858cc});}},_0x206876=_0x308048['SerializableCipher']=_0x29cc41[_0x50308a(0x20e)]({'cfg':_0x29cc41[_0x50308a(0x20e)]({'format':_0x1071be}),'encrypt':function(_0x3f2e80,_0x2ec921,_0x523342,_0x22bd40){var _0x1fe5b8=_0x50308a;_0x22bd40=this[_0x1fe5b8(0x196)][_0x1fe5b8(0x20e)](_0x22bd40);var _0x1d3285=_0x3f2e80['createEncryptor'](_0x523342,_0x22bd40),_0x17ed7b=_0x1d3285[_0x1fe5b8(0x2e4)](_0x2ec921),_0x1020aa=_0x1d3285['cfg'];return _0x310d7e['create']({'ciphertext':_0x17ed7b,'key':_0x523342,'iv':_0x1020aa['iv'],'algorithm':_0x3f2e80,'mode':_0x1020aa[_0x1fe5b8(0x30a)],'padding':_0x1020aa[_0x1fe5b8(0x3c7)],'blockSize':_0x3f2e80[_0x1fe5b8(0x2c2)],'formatter':_0x22bd40[_0x1fe5b8(0x3b1)]});},'decrypt':function(_0x33abaf,_0x4b3ae6,_0x593839,_0x5342d7){var _0x4040a3=_0x50308a;_0x5342d7=this[_0x4040a3(0x196)]['extend'](_0x5342d7),_0x4b3ae6=this[_0x4040a3(0xfb)](_0x4b3ae6,_0x5342d7[_0x4040a3(0x3b1)]);var _0x3e2e10=_0x33abaf[_0x4040a3(0x17b)](_0x593839,_0x5342d7)[_0x4040a3(0x2e4)](_0x4b3ae6['ciphertext']);return _0x3e2e10;},'_parse':function(_0x1cf908,_0x2e73a0){var _0x5a2003=_0x50308a;return typeof _0x1cf908=='string'?_0x2e73a0[_0x5a2003(0x3cc)](_0x1cf908,this):_0x1cf908;}}),_0x551b4d=_0x5c023e[_0x50308a(0x152)]={},_0x4a6146=_0x551b4d[_0x50308a(0x9f)]={'execute':function(_0x3b615d,_0x5c176d,_0xc3f25f,_0x4920c3,_0x173413){var _0x262afd=_0x50308a;if(_0x4920c3||(_0x4920c3=_0x220c1e['random'](0x40/0x8)),_0x173413)var _0x5beae5=_0x6682ab['create']({'keySize':_0x5c176d+_0xc3f25f,'hasher':_0x173413})[_0x262afd(0x377)](_0x3b615d,_0x4920c3);else var _0x5beae5=_0x6682ab[_0x262afd(0x1a6)]({'keySize':_0x5c176d+_0xc3f25f})[_0x262afd(0x377)](_0x3b615d,_0x4920c3);var _0x175c8a=_0x220c1e[_0x262afd(0x1a6)](_0x5beae5['words'][_0x262afd(0x102)](_0x5c176d),_0xc3f25f*0x4);return _0x5beae5[_0x262afd(0x208)]=_0x5c176d*0x4,_0x310d7e[_0x262afd(0x1a6)]({'key':_0x5beae5,'iv':_0x175c8a,'salt':_0x4920c3});}},_0x4ba1a5=_0x308048[_0x50308a(0x320)]=_0x206876[_0x50308a(0x20e)]({'cfg':_0x206876['cfg']['extend']({'kdf':_0x4a6146}),'encrypt':function(_0xaa54ef,_0x4f33da,_0xb1ed80,_0x50d6cf){var _0x3129d8=_0x50308a;_0x50d6cf=this[_0x3129d8(0x196)][_0x3129d8(0x20e)](_0x50d6cf);var _0x4d9f10=_0x50d6cf['kdf'][_0x3129d8(0x95)](_0xb1ed80,_0xaa54ef[_0x3129d8(0x2eb)],_0xaa54ef[_0x3129d8(0x316)],_0x50d6cf['salt'],_0x50d6cf[_0x3129d8(0x1d3)]);_0x50d6cf['iv']=_0x4d9f10['iv'];var _0x5f9c59=_0x206876[_0x3129d8(0x378)]['call'](this,_0xaa54ef,_0x4f33da,_0x4d9f10[_0x3129d8(0x158)],_0x50d6cf);return _0x5f9c59['mixIn'](_0x4d9f10),_0x5f9c59;},'decrypt':function(_0x972a66,_0x5848ba,_0x1a8224,_0x30423d){var _0x47e8b1=_0x50308a;_0x30423d=this[_0x47e8b1(0x196)][_0x47e8b1(0x20e)](_0x30423d),_0x5848ba=this[_0x47e8b1(0xfb)](_0x5848ba,_0x30423d[_0x47e8b1(0x3b1)]);var _0x1e192b=_0x30423d[_0x47e8b1(0x152)][_0x47e8b1(0x95)](_0x1a8224,_0x972a66[_0x47e8b1(0x2eb)],_0x972a66[_0x47e8b1(0x316)],_0x5848ba[_0x47e8b1(0x248)],_0x30423d[_0x47e8b1(0x1d3)]);_0x30423d['iv']=_0x1e192b['iv'];var _0x2796ab=_0x206876['decrypt'][_0x47e8b1(0x285)](this,_0x972a66,_0x5848ba,_0x1e192b[_0x47e8b1(0x158)],_0x30423d);return _0x2796ab;}});}();}));}(_0x2d631d)),_0x2d631d[_0x199b27(0x33a)];}var _0x983e21=_0x3430d6[_0x157244(0x33a)],_0x24b829;function _0x19b5a5(){var _0x575b55=_0x157244;return _0x24b829||(_0x24b829=0x1,function(_0x52bf0b,_0x42a29a){(function(_0x1dba9f,_0xe6f3bb,_0x5a64dd){_0x52bf0b['exports']=_0xe6f3bb(_0x2b623d(),_0x58c473(),_0x1a5a45(),_0x36a166(),_0x54c7a5());}(_0x983e21,function(_0x4e5dfe){var _0x5f20df=_0x1f89;return(function(){var _0x389b60=_0x1f89,_0x166cd8=_0x4e5dfe,_0x11490e=_0x166cd8['lib'],_0x2f2911=_0x11490e[_0x389b60(0x389)],_0x2d2ea0=_0x166cd8[_0x389b60(0x178)],_0x2fd689=[],_0x595152=[],_0x31503d=[],_0x5e8d01=[],_0x5a4341=[],_0x536bb0=[],_0x842c07=[],_0xc31667=[],_0x273342=[],_0x5c1821=[];(function(){for(var _0x19ba7e=[],_0x43184b=0x0;_0x43184b<0x100;_0x43184b++)_0x43184b<0x80?_0x19ba7e[_0x43184b]=_0x43184b<<0x1:_0x19ba7e[_0x43184b]=_0x43184b<<0x1^0x11b;for(var _0x5cd313=0x0,_0x2d7e37=0x0,_0x43184b=0x0;_0x43184b<0x100;_0x43184b++){var _0x13e6d6=_0x2d7e37^_0x2d7e37<<0x1^_0x2d7e37<<0x2^_0x2d7e37<<0x3^_0x2d7e37<<0x4;_0x13e6d6=_0x13e6d6>>>0x8^_0x13e6d6&0xff^0x63,_0x2fd689[_0x5cd313]=_0x13e6d6,_0x595152[_0x13e6d6]=_0x5cd313;var _0x10d0f5=_0x19ba7e[_0x5cd313],_0x18db54=_0x19ba7e[_0x10d0f5],_0x508de5=_0x19ba7e[_0x18db54],_0x1e55b9=_0x19ba7e[_0x13e6d6]*0x101^_0x13e6d6*0x1010100;_0x31503d[_0x5cd313]=_0x1e55b9<<0x18|_0x1e55b9>>>0x8,_0x5e8d01[_0x5cd313]=_0x1e55b9<<0x10|_0x1e55b9>>>0x10,_0x5a4341[_0x5cd313]=_0x1e55b9<<0x8|_0x1e55b9>>>0x18,_0x536bb0[_0x5cd313]=_0x1e55b9;var _0x1e55b9=_0x508de5*0x1010101^_0x18db54*0x10001^_0x10d0f5*0x101^_0x5cd313*0x1010100;_0x842c07[_0x13e6d6]=_0x1e55b9<<0x18|_0x1e55b9>>>0x8,_0xc31667[_0x13e6d6]=_0x1e55b9<<0x10|_0x1e55b9>>>0x10,_0x273342[_0x13e6d6]=_0x1e55b9<<0x8|_0x1e55b9>>>0x18,_0x5c1821[_0x13e6d6]=_0x1e55b9,_0x5cd313?(_0x5cd313=_0x10d0f5^_0x19ba7e[_0x19ba7e[_0x19ba7e[_0x508de5^_0x10d0f5]]],_0x2d7e37^=_0x19ba7e[_0x19ba7e[_0x2d7e37]]):_0x5cd313=_0x2d7e37=0x1;}}());var _0x27b7ad=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x509f8f=_0x2d2ea0['AES']=_0x2f2911[_0x389b60(0x20e)]({'_doReset':function(){var _0x4794bb=_0x389b60,_0x52d100;if(!(this[_0x4794bb(0x173)]&&this['_keyPriorReset']===this[_0x4794bb(0x354)])){for(var _0x4a9381=this['_keyPriorReset']=this[_0x4794bb(0x354)],_0x3a15fa=_0x4a9381['words'],_0x47f86a=_0x4a9381[_0x4794bb(0x208)]/0x4,_0x467070=this[_0x4794bb(0x173)]=_0x47f86a+0x6,_0x1c816b=(_0x467070+0x1)*0x4,_0x2e7a57=this[_0x4794bb(0x1a9)]=[],_0x41c796=0x0;_0x41c796<_0x1c816b;_0x41c796++)_0x41c796<_0x47f86a?_0x2e7a57[_0x41c796]=_0x3a15fa[_0x41c796]:(_0x52d100=_0x2e7a57[_0x41c796-0x1],_0x41c796%_0x47f86a?_0x47f86a>0x6&&_0x41c796%_0x47f86a==0x4&&(_0x52d100=_0x2fd689[_0x52d100>>>0x18]<<0x18|_0x2fd689[_0x52d100>>>0x10&0xff]<<0x10|_0x2fd689[_0x52d100>>>0x8&0xff]<<0x8|_0x2fd689[_0x52d100&0xff]):(_0x52d100=_0x52d100<<0x8|_0x52d100>>>0x18,_0x52d100=_0x2fd689[_0x52d100>>>0x18]<<0x18|_0x2fd689[_0x52d100>>>0x10&0xff]<<0x10|_0x2fd689[_0x52d100>>>0x8&0xff]<<0x8|_0x2fd689[_0x52d100&0xff],_0x52d100^=_0x27b7ad[_0x41c796/_0x47f86a|0x0]<<0x18),_0x2e7a57[_0x41c796]=_0x2e7a57[_0x41c796-_0x47f86a]^_0x52d100);for(var _0x55bbf8=this[_0x4794bb(0x262)]=[],_0x261aee=0x0;_0x261aee<_0x1c816b;_0x261aee++){var _0x41c796=_0x1c816b-_0x261aee;if(_0x261aee%0x4)var _0x52d100=_0x2e7a57[_0x41c796];else var _0x52d100=_0x2e7a57[_0x41c796-0x4];_0x261aee<0x4||_0x41c796<=0x4?_0x55bbf8[_0x261aee]=_0x52d100:_0x55bbf8[_0x261aee]=_0x842c07[_0x2fd689[_0x52d100>>>0x18]]^_0xc31667[_0x2fd689[_0x52d100>>>0x10&0xff]]^_0x273342[_0x2fd689[_0x52d100>>>0x8&0xff]]^_0x5c1821[_0x2fd689[_0x52d100&0xff]];}}},'encryptBlock':function(_0x15c9b5,_0x3c856b){var _0x52cb65=_0x389b60;this[_0x52cb65(0x14d)](_0x15c9b5,_0x3c856b,this['_keySchedule'],_0x31503d,_0x5e8d01,_0x5a4341,_0x536bb0,_0x2fd689);},'decryptBlock':function(_0x260531,_0x4c182f){var _0x3d0c68=_0x389b60,_0x3566fc=_0x260531[_0x4c182f+0x1];_0x260531[_0x4c182f+0x1]=_0x260531[_0x4c182f+0x3],_0x260531[_0x4c182f+0x3]=_0x3566fc,this[_0x3d0c68(0x14d)](_0x260531,_0x4c182f,this['_invKeySchedule'],_0x842c07,_0xc31667,_0x273342,_0x5c1821,_0x595152);var _0x3566fc=_0x260531[_0x4c182f+0x1];_0x260531[_0x4c182f+0x1]=_0x260531[_0x4c182f+0x3],_0x260531[_0x4c182f+0x3]=_0x3566fc;},'_doCryptBlock':function(_0x32795b,_0x192a65,_0x59a451,_0x5e46a3,_0x4d1c4a,_0x1021ad,_0x4535e0,_0x4de6c3){for(var _0xa77738=this['_nRounds'],_0x10ea0d=_0x32795b[_0x192a65]^_0x59a451[0x0],_0x259e85=_0x32795b[_0x192a65+0x1]^_0x59a451[0x1],_0x16b26c=_0x32795b[_0x192a65+0x2]^_0x59a451[0x2],_0x13fe9c=_0x32795b[_0x192a65+0x3]^_0x59a451[0x3],_0x588d89=0x4,_0x6bcf3c=0x1;_0x6bcf3c<_0xa77738;_0x6bcf3c++){var _0x261aa7=_0x5e46a3[_0x10ea0d>>>0x18]^_0x4d1c4a[_0x259e85>>>0x10&0xff]^_0x1021ad[_0x16b26c>>>0x8&0xff]^_0x4535e0[_0x13fe9c&0xff]^_0x59a451[_0x588d89++],_0x3cb5ab=_0x5e46a3[_0x259e85>>>0x18]^_0x4d1c4a[_0x16b26c>>>0x10&0xff]^_0x1021ad[_0x13fe9c>>>0x8&0xff]^_0x4535e0[_0x10ea0d&0xff]^_0x59a451[_0x588d89++],_0x28e47d=_0x5e46a3[_0x16b26c>>>0x18]^_0x4d1c4a[_0x13fe9c>>>0x10&0xff]^_0x1021ad[_0x10ea0d>>>0x8&0xff]^_0x4535e0[_0x259e85&0xff]^_0x59a451[_0x588d89++],_0xd67054=_0x5e46a3[_0x13fe9c>>>0x18]^_0x4d1c4a[_0x10ea0d>>>0x10&0xff]^_0x1021ad[_0x259e85>>>0x8&0xff]^_0x4535e0[_0x16b26c&0xff]^_0x59a451[_0x588d89++];_0x10ea0d=_0x261aa7,_0x259e85=_0x3cb5ab,_0x16b26c=_0x28e47d,_0x13fe9c=_0xd67054;}var _0x261aa7=(_0x4de6c3[_0x10ea0d>>>0x18]<<0x18|_0x4de6c3[_0x259e85>>>0x10&0xff]<<0x10|_0x4de6c3[_0x16b26c>>>0x8&0xff]<<0x8|_0x4de6c3[_0x13fe9c&0xff])^_0x59a451[_0x588d89++],_0x3cb5ab=(_0x4de6c3[_0x259e85>>>0x18]<<0x18|_0x4de6c3[_0x16b26c>>>0x10&0xff]<<0x10|_0x4de6c3[_0x13fe9c>>>0x8&0xff]<<0x8|_0x4de6c3[_0x10ea0d&0xff])^_0x59a451[_0x588d89++],_0x28e47d=(_0x4de6c3[_0x16b26c>>>0x18]<<0x18|_0x4de6c3[_0x13fe9c>>>0x10&0xff]<<0x10|_0x4de6c3[_0x10ea0d>>>0x8&0xff]<<0x8|_0x4de6c3[_0x259e85&0xff])^_0x59a451[_0x588d89++],_0xd67054=(_0x4de6c3[_0x13fe9c>>>0x18]<<0x18|_0x4de6c3[_0x10ea0d>>>0x10&0xff]<<0x10|_0x4de6c3[_0x259e85>>>0x8&0xff]<<0x8|_0x4de6c3[_0x16b26c&0xff])^_0x59a451[_0x588d89++];_0x32795b[_0x192a65]=_0x261aa7,_0x32795b[_0x192a65+0x1]=_0x3cb5ab,_0x32795b[_0x192a65+0x2]=_0x28e47d,_0x32795b[_0x192a65+0x3]=_0xd67054;},'keySize':0x100/0x20});_0x166cd8[_0x389b60(0x35b)]=_0x2f2911[_0x389b60(0x35c)](_0x509f8f);}()),_0x4e5dfe[_0x5f20df(0x35b)];}));}(_0x3430d6)),_0x3430d6[_0x575b55(0x33a)];}var _0x44be22=_0x19b5a5();const _0x5e4ba6=_0x4e590a(_0x44be22);var _0x378a4a=_0x58c473();const _0x14a38d=_0x4e590a(_0x378a4a);var _0x17b000={'exports':{}},_0x526600=_0x17b000[_0x157244(0x33a)],_0x3d1a41;function _0x44724c(){var _0x41603a=_0x157244;return _0x3d1a41||(_0x3d1a41=0x1,function(_0x5a82c8,_0x57f148){(function(_0x23b7f5,_0x24b3b4){var _0x2253a3=_0x1f89;_0x5a82c8[_0x2253a3(0x33a)]=_0x24b3b4(_0x2b623d());}(_0x526600,function(_0x27b39f){var _0x545a3b=_0x1f89;return _0x27b39f[_0x545a3b(0x290)]['Utf8'];}));}(_0x17b000)),_0x17b000[_0x41603a(0x33a)];}var _0x46819b=_0x44724c();const _0x537121=_0x4e590a(_0x46819b);var _0x39eb95={'exports':{}},_0x1fa57f=_0x39eb95['exports'],_0x483085;function _0x24af88(){var _0x54949c=_0x157244;return _0x483085||(_0x483085=0x1,function(_0x5cf61a,_0x2266a5){(function(_0x37b578,_0x93def2){var _0x236c4e=_0x1f89;_0x5cf61a[_0x236c4e(0x33a)]=_0x93def2(_0x2b623d());}(_0x1fa57f,function(_0x11f29e){var _0x52742a=_0x1f89;return(function(){var _0x11297e=_0x1f89;if(typeof ArrayBuffer=='function'){var _0x16559d=_0x11f29e,_0x3aed3c=_0x16559d[_0x11297e(0x224)],_0x344b49=_0x3aed3c[_0x11297e(0x3bf)],_0x524522=_0x344b49['init'],_0x3a0bd0=_0x344b49['init']=function(_0xedd222){var _0x2621a2=_0x11297e;if(_0xedd222 instanceof ArrayBuffer&&(_0xedd222=new Uint8Array(_0xedd222)),(_0xedd222 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xedd222 instanceof Uint8ClampedArray||_0xedd222 instanceof Int16Array||_0xedd222 instanceof Uint16Array||_0xedd222 instanceof Int32Array||_0xedd222 instanceof Uint32Array||_0xedd222 instanceof Float32Array||_0xedd222 instanceof Float64Array)&&(_0xedd222=new Uint8Array(_0xedd222[_0x2621a2(0x214)],_0xedd222[_0x2621a2(0x182)],_0xedd222['byteLength'])),_0xedd222 instanceof Uint8Array){for(var _0x465e22=_0xedd222[_0x2621a2(0x3c9)],_0x4ec0f8=[],_0x3bf870=0x0;_0x3bf870<_0x465e22;_0x3bf870++)_0x4ec0f8[_0x3bf870>>>0x2]|=_0xedd222[_0x3bf870]<<0x18-_0x3bf870%0x4*0x8;_0x524522[_0x2621a2(0x285)](this,_0x4ec0f8,_0x465e22);}else _0x524522[_0x2621a2(0x33f)](this,arguments);};_0x3a0bd0[_0x11297e(0x32c)]=_0x344b49;}}()),_0x11f29e['lib'][_0x52742a(0x3bf)];}));}(_0x39eb95)),_0x39eb95[_0x54949c(0x33a)];}var _0x11d735=_0x24af88();const _0x4e3de1=_0x4e590a(_0x11d735);var _0xe36e75={'exports':{}},_0x3775d7=_0xe36e75['exports'],_0x233fa5;function _0x2d77da(){return _0x233fa5||(_0x233fa5=0x1,function(_0x59b65e,_0x24f0b1){(function(_0x156202,_0x11814d,_0x508312){var _0x8f68f=_0x1f89;_0x59b65e[_0x8f68f(0x33a)]=_0x11814d(_0x2b623d(),_0x54c7a5());}(_0x3775d7,function(_0x436a8f){var _0x277723=_0x1f89;return _0x436a8f[_0x277723(0x27e)][_0x277723(0xe8)]={'pad':function(){},'unpad':function(){}},_0x436a8f[_0x277723(0x27e)][_0x277723(0xe8)];}));}(_0xe36e75)),_0xe36e75['exports'];}var _0x5c3857=_0x2d77da();const _0x434027=_0x4e590a(_0x5c3857);function _0xd98e1c(_0x58edf9,_0x15605e){var _0x46d5e0=_0x157244;const _0x56e027=_0x15605e-_0x58edf9[_0x46d5e0(0x237)]%_0x15605e,_0x389ed8=String[_0x46d5e0(0x309)](_0x56e027)['repeat'](_0x56e027);return _0x58edf9+_0x389ed8;}function _0x6a53e(_0x280f04,_0x5ec031){var _0x15fb0b=_0x157244;const _0x41d5d8=_0x4e3de1[_0x15fb0b(0x36b)](0x10),_0x4f04e3=_0xd98e1c(_0x280f04,0x10),_0x1e2173=_0x5e4ba6[_0x15fb0b(0x378)](_0x537121[_0x15fb0b(0x3cc)](_0x4f04e3),_0x14a38d[_0x15fb0b(0x3cc)](_0x5ec031),{'iv':_0x41d5d8,'padding':_0x434027});return _0x41d5d8[_0x15fb0b(0x36d)](_0x1e2173[_0x15fb0b(0xa0)])[_0x15fb0b(0x132)](_0x14a38d);}function _0xe888d5(){var _0x1029ba=_0x157244;const _0x5062d5=_0x14ca24[_0x1029ba(0x209)]()['__Key__'];if(_0x5062d5){const _0x2627b0={'time':Math['floor'](Date[_0x1029ba(0x3ac)]()/0x3e8),'domain':location[_0x1029ba(0x2ca)]};return _0x6a53e(JSON['stringify'](_0x2627b0),_0x5062d5);}}var _0xc768ff=Object[_0x157244(0xd4)],_0x5e20ca=(_0x4faa3b,_0x152b99,_0xfe4e0f,_0x323def)=>{var _0x347950=_0x157244;for(var _0x5d8f6e=_0x323def>0x1?void 0x0:_0x323def?_0xc768ff(_0x152b99,_0xfe4e0f):_0x152b99,_0x41d2bd=_0x4faa3b[_0x347950(0x237)]-0x1,_0x3ca9e4;_0x41d2bd>=0x0;_0x41d2bd--)(_0x3ca9e4=_0x4faa3b[_0x41d2bd])&&(_0x5d8f6e=_0x3ca9e4(_0x5d8f6e)||_0x5d8f6e);return _0x5d8f6e;},_0x19d950=(_0x2314df,_0x2a027f)=>(_0x171f86,_0x4a0958)=>_0x2a027f(_0x171f86,_0x4a0958,_0x2314df);let _0x246c2e=class{constructor(_0xdd3b2e){var _0x5dca79=_0x157244;this[_0x5dca79(0x3f3)]=_0xdd3b2e,this[_0x5dca79(0x16d)]();}[_0x157244(0x16d)](){var _0x271d20=_0x157244;this[_0x271d20(0x3f3)][_0x271d20(0xa9)]({'interceptor':(_0x185fdd,_0x4ec84e)=>{var _0x394195=_0x271d20;const _0x44fbb8=_0x185fdd['headers'],_0x2dff99=_0xe888d5();return _0x2dff99&&_0x44fbb8[_0x394195(0xb5)](_0x394195(0x1f9),_0x2dff99),_0x4ec84e(_0x185fdd);}});}};_0x246c2e=_0x5e20ca([_0x19d950(0x0,_0x2c3d1f[_0x157244(0x228)](_0x442dd8[_0x157244(0xb3)]))],_0x246c2e);var _0x1e31dd=Object[_0x157244(0xd4)],_0x5a9b4f=(_0x972bda,_0x4b5518,_0x1ade1d,_0x2827e3)=>{for(var _0x4ee6d7=_0x2827e3>0x1?void 0x0:_0x2827e3?_0x1e31dd(_0x4b5518,_0x1ade1d):_0x4b5518,_0x1d8ed4=_0x972bda['length']-0x1,_0x252df7;_0x1d8ed4>=0x0;_0x1d8ed4--)(_0x252df7=_0x972bda[_0x1d8ed4])&&(_0x4ee6d7=_0x252df7(_0x4ee6d7)||_0x4ee6d7);return _0x4ee6d7;},_0x211a62=(_0x5b1bf1,_0x2e9cc7)=>(_0x394b9e,_0x2f567e)=>_0x2e9cc7(_0x394b9e,_0x2f567e,_0x5b1bf1);_0x3626e2[_0x157244(0x3d7)]=class extends _0x2c3d1f['RxDisposable']{constructor(_0x381782,_0x2bb6ca,_0x48cc79){var _0xd8ab02=_0x157244;super(),_0x267246(this,'_unitInfo$',new _0x1b96e3[(_0xd8ab02(0x312))](null)),_0x267246(this,_0xd8ab02(0x143),this[_0xd8ab02(0xce)][_0xd8ab02(0x286)]()),(this[_0xd8ab02(0x165)]=_0x381782,this[_0xd8ab02(0x3ea)]=_0x2bb6ca,this[_0xd8ab02(0x1a3)]=_0x48cc79);}async[_0x157244(0x3ca)](_0x15cf2a,_0x54c560,_0x50f332){var _0x18553a=_0x157244;this[_0x18553a(0xce)]['next']({'unitId':_0x15cf2a,'type':_0x54c560,'subUnitId':_0x50f332});let _0x55fc4e=null;switch(_0x54c560){case _0x42e8e1['UNIVER_SHEET']:{_0x55fc4e=await this[_0x18553a(0xec)](_0x15cf2a);break;}case _0x42e8e1['UNIVER_DOC']:{_0x55fc4e=await this['_loadDoc'](_0x15cf2a);break;}default:{this['_logService']['error'](_0x18553a(0x3b0),_0x18553a(0x30b));break;}}return _0x55fc4e;}async[_0x157244(0xec)](_0x4c0989){var _0x580d44=_0x157244,_0x5b91f0;let _0x195ece=0x0;const _0x2bc61c=await((_0x5b91f0=this[_0x580d44(0x1a3)])==null?void 0x0:_0x5b91f0[_0x580d44(0x2aa)](_0x4c0989));return _0x2bc61c&&(_0x2bc61c[_0x580d44(0x110)]||_0x2bc61c['mutations'][_0x580d44(0x237)]!==0x0)&&(_0x195ece=_0x2bc61c[_0x580d44(0x246)]),_0x195ece===0x0&&this[_0x580d44(0x165)]['debug'](_0x580d44(0x3b0),_0x580d44(0x2c8)),this[_0x580d44(0x3ea)][_0x580d44(0x3b4)](_0x4c0989,_0x195ece);}async[_0x157244(0x1ef)](_0x489b1c){var _0x19b3f4=_0x157244,_0x3431f8;let _0x1ca637=0x0;const _0x307cd1=await((_0x3431f8=this[_0x19b3f4(0x1a3)])==null?void 0x0:_0x3431f8[_0x19b3f4(0x2aa)](_0x489b1c));return _0x307cd1&&(_0x307cd1['awaitingChangeset']||_0x307cd1[_0x19b3f4(0x391)][_0x19b3f4(0x237)]!==0x0)&&(_0x1ca637=_0x307cd1[_0x19b3f4(0x246)]),_0x1ca637===0x0&&this[_0x19b3f4(0x165)][_0x19b3f4(0x2e0)](_0x19b3f4(0x3b0),_0x19b3f4(0x2c8)),this[_0x19b3f4(0x3ea)][_0x19b3f4(0x1fd)](_0x489b1c,_0x1ca637);}},_0x3626e2['DataLoaderService']=_0x5a9b4f([_0x211a62(0x0,_0x2c3d1f['ILogService']),_0x211a62(0x1,_0x2c3d1f[_0x157244(0x228)](_0x3d4f34['SnapshotService'])),_0x211a62(0x2,_0x2c3d1f['Optional'](_0x5b8b0a))],_0x3626e2['DataLoaderService']);var _0x39e933=Object[_0x157244(0xd4)],_0x265ba7=(_0x2cc3fa,_0x404be6,_0x3dacb5,_0x17e419)=>{var _0xe2a2ba=_0x157244;for(var _0x339006=_0x17e419>0x1?void 0x0:_0x17e419?_0x39e933(_0x404be6,_0x3dacb5):_0x404be6,_0x3ebce3=_0x2cc3fa[_0xe2a2ba(0x237)]-0x1,_0x56856f;_0x3ebce3>=0x0;_0x3ebce3--)(_0x56856f=_0x2cc3fa[_0x3ebce3])&&(_0x339006=_0x56856f(_0x339006)||_0x339006);return _0x339006;},_0x49bbbc=(_0x5c31d0,_0x5d6592)=>(_0x470d62,_0x4483cf)=>_0x5d6592(_0x470d62,_0x4483cf,_0x5c31d0);const _0x1ffa40=['image/png','image/jpeg',_0x157244(0x1ed),_0x157244(0x339),_0x157244(0x10f)],_0x480e3b=0x5*0x400*0x400,_0x92e6f=_0x157244(0x3d4),_0x39389b='/universer-api/stream/file/upload',_0x1d257f=_0x157244(0x1c9),_0x3aa687='/universer-api/file/{fileID}/sign-url';_0x3626e2[_0x157244(0x2cb)]=class{constructor(_0xd30821,_0x3031bc,_0x58e6cf){var _0x1fefc9=_0x157244;_0x267246(this,_0x1fefc9(0x89),0x0),_0x267246(this,_0x1fefc9(0x32d),new _0x1b96e3['Subject']()),_0x267246(this,'change$',this[_0x1fefc9(0x32d)]),_0x267246(this,_0x1fefc9(0x387),new Map()),(this[_0x1fefc9(0x3f3)]=_0xd30821,this[_0x1fefc9(0x34b)]=_0x3031bc,this[_0x1fefc9(0x3bc)]=_0x58e6cf);}[_0x157244(0x292)](_0x370dc5){var _0x5be110=_0x157244;this['_waitCount']=_0x370dc5,this[_0x5be110(0x32d)]['next'](_0x370dc5);}[_0x157244(0x3d5)](_0x4ae5ca,_0x144f5b){var _0x3381ce=_0x157244;if(_0x144f5b===_0x34a9a3['ImageSourceType'][_0x3381ce(0x37e)]){const _0xd16ba0=new Image();return _0xd16ba0[_0x3381ce(0x38c)]=_0x4ae5ca,_0xd16ba0;}return this['_imageSourceCache'][_0x3381ce(0x23c)](_0x4ae5ca);}['addImageSourceCache'](_0x67f34b,_0x280134,_0x2e3b71){var _0x421e94=_0x157244;_0x280134===_0x34a9a3['ImageSourceType']['BASE64']||_0x2e3b71==null||this['_imageSourceCache'][_0x421e94(0xb5)](_0x67f34b,_0x2e3b71);}async[_0x157244(0x382)](_0x41c824){var _0x74f9e2=_0x157244;try{const _0x456edc=this[_0x74f9e2(0x12a)](this[_0x74f9e2(0x1e3)](),''+_0x41c824),_0x266fe8=(await this[_0x74f9e2(0x3f3)][_0x74f9e2(0x23c)](_0x456edc))[_0x74f9e2(0xf4)];if(_0x266fe8[_0x74f9e2(0x1be)]&&_0x266fe8[_0x74f9e2(0x1be)][_0x74f9e2(0x170)]===_0x58c5c4['OK']){const _0x5c4351=new URL(_0x266fe8['url'],this[_0x74f9e2(0x73)]())[_0x74f9e2(0x132)]();return Promise[_0x74f9e2(0x29f)](_0x5c4351);}return Promise[_0x74f9e2(0x299)](_0x266fe8[_0x74f9e2(0x1be)]);}catch(_0x2cd344){return Promise[_0x74f9e2(0x299)](_0x2cd344);}}async[_0x157244(0x96)](_0x299843){var _0x20dc06=_0x157244;let _0x5c91db='';if(!_0x1ffa40[_0x20dc06(0x157)](_0x299843['type']))return this[_0x20dc06(0x3df)](),Promise[_0x20dc06(0x299)](new Error(_0x34a9a3[_0x20dc06(0x2a5)][_0x20dc06(0xf8)]));if(_0x299843[_0x20dc06(0x366)]>_0x480e3b)return this[_0x20dc06(0x3df)](),Promise[_0x20dc06(0x299)](new Error(_0x34a9a3[_0x20dc06(0x2a5)]['ERROR_EXCEED_SIZE']));try{const _0xc22d8b=new FormData();_0xc22d8b[_0x20dc06(0x305)](_0x20dc06(0x353),_0x299843);const _0x43fe30=this[_0x20dc06(0x3bc)]['getFocusedUnit'](),_0x55504f=_0x43fe30==null?void 0x0:_0x43fe30[_0x20dc06(0x1d5)]();if(!_0x55504f)throw new Error(_0x20dc06(0xdf));const _0x5f2803=this['_getUploadFileURL']()+'?size='+_0x299843[_0x20dc06(0x366)][_0x20dc06(0x132)]()+_0x20dc06(0x3d3)+_0x3ac39b[_0x20dc06(0x251)]+_0x20dc06(0x97)+encodeURIComponent(_0x55504f),_0x4d2a0e=await(await fetch(_0x5f2803,{'method':_0x20dc06(0x3ad),'body':_0xc22d8b}))[_0x20dc06(0x215)]();if(typeof _0x4d2a0e['FileId']!='string')return this[_0x20dc06(0x3df)](),Promise[_0x20dc06(0x299)](new Error(_0x34a9a3[_0x20dc06(0x2a5)][_0x20dc06(0xd2)]));_0x5c91db=_0x4d2a0e['FileId'];}catch{return this[_0x20dc06(0x3df)](),Promise[_0x20dc06(0x299)](new Error(_0x34a9a3['ImageUploadStatusType'][_0x20dc06(0xd2)]));}return new Promise((_0x66bdf9,_0x5371ff)=>{var _0x5ef4e6=_0x20dc06;const _0x1e1c15=new FileReader();_0x1e1c15[_0x5ef4e6(0x1f6)](_0x299843),_0x1e1c15[_0x5ef4e6(0x1a0)]=_0x3c7b17=>{var _0x42125a=_0x5ef4e6,_0x52e6dc;const _0x381a74=(_0x52e6dc=_0x3c7b17[_0x42125a(0x21e)])==null?void 0x0:_0x52e6dc[_0x42125a(0x3b6)];if(_0x381a74==null){this[_0x42125a(0x3df)](),_0x5371ff(new Error(_0x34a9a3['ImageUploadStatusType'][_0x42125a(0xd2)]));return;}const _0x24fffb=_0x2c3d1f[_0x42125a(0x363)][_0x42125a(0xe7)](0x6);_0x66bdf9({'imageId':_0x24fffb,'imageSourceType':_0x34a9a3[_0x42125a(0x315)]['UUID'],'source':_0x5c91db,'base64Cache':_0x381a74,'status':_0x34a9a3[_0x42125a(0x2a5)][_0x42125a(0x374)]}),this[_0x42125a(0x3df)]();};});}['_getUploadFileURL'](){var _0x125a1a=_0x157244,_0x5f18b3,_0x12112f;const _0x12d2f2=this[_0x125a1a(0x34b)]['getConfig'](_0x92e6f),_0x4642a4=this[_0x125a1a(0x34b)][_0x125a1a(0x109)](_0x1f2870);return(_0x12112f=(_0x5f18b3=_0x4642a4==null?void 0x0:_0x4642a4[_0x125a1a(0x269)])!=null?_0x5f18b3:_0x12d2f2)!=null?_0x12112f:_0x39389b;}['_getSignURL'](){var _0x324079=_0x157244,_0x239368,_0x15fdc8;const _0x2906e5=this[_0x324079(0x34b)][_0x324079(0x109)](_0x1d257f),_0xdc3b07=this['_configService'][_0x324079(0x109)](_0x1f2870);return(_0x15fdc8=(_0x239368=_0xdc3b07==null?void 0x0:_0xdc3b07[_0x324079(0x172)])!=null?_0x239368:_0x2906e5)!=null?_0x15fdc8:_0x3aa687;}[_0x157244(0x73)](){var _0xd9e1be=_0x157244,_0x33a6d4;const _0x304029=this[_0xd9e1be(0x34b)][_0xd9e1be(0x109)](_0x1f2870);return(_0x33a6d4=_0x304029==null?void 0x0:_0x304029[_0xd9e1be(0x360)])!=null?_0x33a6d4:location[_0xd9e1be(0x242)];}[_0x157244(0x12a)](_0x4c446b,_0x1a5d26){var _0x508a90=_0x157244;return _0x4c446b[_0x508a90(0x1b0)](_0x508a90(0x317),_0x1a5d26);}[_0x157244(0x3df)](){var _0x593435=_0x157244;this['_waitCount']-=0x1,this[_0x593435(0x32d)]['next'](this[_0x593435(0x89)]);}},_0x3626e2[_0x157244(0x2cb)]=_0x265ba7([_0x49bbbc(0x0,_0x2c3d1f[_0x157244(0x228)](_0x442dd8[_0x157244(0xb3)])),_0x49bbbc(0x1,_0x2c3d1f['IConfigService']),_0x49bbbc(0x2,_0x2c3d1f[_0x157244(0x228)](_0x2c3d1f[_0x157244(0x282)]))],_0x3626e2[_0x157244(0x2cb)]);var _0x2944d4=Object['getOwnPropertyDescriptor'],_0x44a677=(_0x1d3bc0,_0x4d765a,_0x157122,_0xaf31b9)=>{var _0x373ba6=_0x157244;for(var _0x4cfb88=_0xaf31b9>0x1?void 0x0:_0xaf31b9?_0x2944d4(_0x4d765a,_0x157122):_0x4d765a,_0x3658ba=_0x1d3bc0[_0x373ba6(0x237)]-0x1,_0x1ead9f;_0x3658ba>=0x0;_0x3658ba--)(_0x1ead9f=_0x1d3bc0[_0x3658ba])&&(_0x4cfb88=_0x1ead9f(_0x4cfb88)||_0x4cfb88);return _0x4cfb88;},_0x5e5746=(_0x56ae87,_0x29b22a)=>(_0x4e9c21,_0x1ab1e5)=>_0x29b22a(_0x4e9c21,_0x1ab1e5,_0x56ae87);const _0x49af4c=_0x157244(0x1c0);_0x3626e2['MentionIoHttpService']=class{constructor(_0x5c8946,_0x5193e6){var _0x1b9180=_0x157244;this[_0x1b9180(0x34b)]=_0x5c8946,this[_0x1b9180(0x198)]=_0x5193e6;}[_0x157244(0x240)](){var _0x3e700d=_0x157244,_0xa4b60d,_0x49c89a;const _0x30ccbb=this[_0x3e700d(0x34b)][_0x3e700d(0x109)](_0x56a63b),_0x3adf7a=this[_0x3e700d(0x34b)][_0x3e700d(0x109)](_0x1f2870);return(_0x49c89a=(_0xa4b60d=_0x3adf7a==null?void 0x0:_0x3adf7a[_0x3e700d(0x137)])!=null?_0xa4b60d:_0x30ccbb)!=null?_0x49c89a:_0x49af4c;}async[_0x157244(0x37b)](_0x38d0cf){var _0x4da880=_0x157244;const _0x4a670a=this['_getAPIPrefixPath']()+'/collaborator';return{'list':[{'title':_0x4da880(0x1ea),'mentions':(await this[_0x4da880(0x198)]['get'](_0x4a670a,{'params':{'objectID':_0x38d0cf[_0x4da880(0x21c)],'unitID':_0x38d0cf[_0x4da880(0x21c)]}}))[_0x4da880(0xf4)]['collaborators'][_0x4da880(0x37d)](_0x47ea27=>({'objectId':_0x47ea27['id'],'name':_0x47ea27[_0x4da880(0x265)][_0x4da880(0x3d1)],'metadata':{'icon':_0x47ea27['subject'][_0x4da880(0x15e)]},'label':_0x47ea27[_0x4da880(0x265)][_0x4da880(0x3d1)],'objectType':_0x2c3d1f['MentionType'][_0x4da880(0x162)]})),'metadata':{},'type':_0x2c3d1f[_0x4da880(0x38b)]['PERSON']}]};}},_0x3626e2[_0x157244(0xaf)]=_0x44a677([_0x5e5746(0x0,_0x2c3d1f[_0x157244(0x228)](_0x2c3d1f['IConfigService'])),_0x5e5746(0x1,_0x2c3d1f[_0x157244(0x228)](_0x442dd8[_0x157244(0xb3)]))],_0x3626e2[_0x157244(0xaf)]);var _0x1d820f=Object[_0x157244(0xd4)],_0x3165dd=(_0x4b814c,_0x14436c,_0x8ccbe8,_0x35383c)=>{var _0x5e60eb=_0x157244;for(var _0x18866d=_0x35383c>0x1?void 0x0:_0x35383c?_0x1d820f(_0x14436c,_0x8ccbe8):_0x14436c,_0x39632f=_0x4b814c[_0x5e60eb(0x237)]-0x1,_0x3ddcbb;_0x39632f>=0x0;_0x39632f--)(_0x3ddcbb=_0x4b814c[_0x39632f])&&(_0x18866d=_0x3ddcbb(_0x18866d)||_0x18866d);return _0x18866d;},_0x528192=(_0x5c5b62,_0x124e03)=>(_0x29c64c,_0xe58115)=>_0x124e03(_0x29c64c,_0xe58115,_0x5c5b62);let _0x6776ce=class extends _0x2c3d1f['RxDisposable']{constructor(_0x2a3088,_0x34ad65,_0x4e5940,_0x20e1a3,_0x1b6ad5){var _0x53462d=_0x157244;super(),this['_injector']=_0x2a3088,this[_0x53462d(0x3bc)]=_0x34ad65,this[_0x53462d(0x139)]=_0x4e5940,this[_0x53462d(0x2f6)]=_0x20e1a3,this[_0x53462d(0x9a)]=_0x1b6ad5,this[_0x53462d(0xb2)](),this['_initCloseConn']();}[_0x157244(0x23b)](){var _0x5107d7=_0x157244;const _0x25a970=async _0xb5fdc8=>{var _0x399a54=_0x1f89;(await this[_0x399a54(0x2f6)][_0x399a54(0xfa)](_0xb5fdc8))['event$'][_0x399a54(0x256)](_0x4cd497[_0x399a54(0x32f)](_0x14c783=>_0x14c783['eventID']===_0x3d4f34[_0x399a54(0x206)]['SHOULD_CLOSE_CONN']),_0x4cd497[_0x399a54(0x2e6)](this['dispose$']))[_0x399a54(0x13e)](_0x3f2f1=>{var _0x44ffaa=_0x399a54;const _0x4d40c5=_0x3f2f1,{reason:_0x44fa26}=_0x4d40c5[_0x44ffaa(0x213)];this[_0x44ffaa(0x9a)][_0x44ffaa(0x348)]({'id':_0x419091[_0x44ffaa(0xc8)],'data':_0x44fa26}),this[_0x44ffaa(0x139)][_0x44ffaa(0x302)](new _0x312698['WorkbookEditablePermission'](_0xb5fdc8)['id'],!0x1),this[_0x44ffaa(0x2f6)]['closeSession'](_0xb5fdc8);});};_0x1b96e3[_0x5107d7(0x2b5)](this[_0x5107d7(0x3bc)][_0x5107d7(0xcb)](_0x2c3d1f['UniverInstanceType'][_0x5107d7(0x79)]),this['_univerInstanceService'][_0x5107d7(0xcb)](_0x2c3d1f[_0x5107d7(0x2bb)][_0x5107d7(0x2b2)]))[_0x5107d7(0x256)](_0x4cd497[_0x5107d7(0x37d)](_0x28edc1=>_0x28edc1[_0x5107d7(0x1d5)]()),_0x4cd497[_0x5107d7(0x32f)](_0x184be6=>!_0x2c3d1f[_0x5107d7(0x35a)](_0x184be6)),_0x4cd497[_0x5107d7(0x2e6)](this[_0x5107d7(0x3de)]))['subscribe'](_0x1d60f1=>{_0x25a970(_0x1d60f1);});}[_0x157244(0xb2)](){var _0x2da911=_0x157244;const _0x1b55f4=async _0x2b5bc5=>{var _0x48de6a=_0x1f89;const _0x480542=await this[_0x48de6a(0x2f6)][_0x48de6a(0xfa)](_0x2b5bc5),_0x1395ae=this[_0x48de6a(0x2ba)][_0x48de6a(0x23c)](_0x312698['SheetPermissionInitController']);_0x480542[_0x48de6a(0x3eb)][_0x48de6a(0x256)](_0x4cd497[_0x48de6a(0x32f)](_0x46f49a=>_0x46f49a[_0x48de6a(0xf9)]===_0x3d4f34['CollaborationEvent']['UPDATE_PERMISSION_OBJ']),_0x4cd497[_0x48de6a(0x2e6)](this[_0x48de6a(0x3de)]))[_0x48de6a(0x13e)](_0xe4f6f4=>{var _0x21c303=_0x48de6a;const _0x32d571=_0xe4f6f4,{objectId:_0x5b9fb6}=_0x32d571[_0x21c303(0x213)];_0x5b9fb6===_0x2b5bc5?_0x1395ae[_0x21c303(0x6d)](_0x2b5bc5):_0x1395ae[_0x21c303(0x253)](_0x2b5bc5,_0x5b9fb6);});};_0x1b96e3[_0x2da911(0x2b5)](this[_0x2da911(0x3bc)][_0x2da911(0xcb)](_0x2c3d1f[_0x2da911(0x2bb)][_0x2da911(0x79)]))[_0x2da911(0x256)](_0x4cd497[_0x2da911(0x37d)](_0x27eb3d=>_0x27eb3d['getUnitId']()),_0x4cd497['filter'](_0x420349=>!_0x2c3d1f[_0x2da911(0x35a)](_0x420349)),_0x4cd497[_0x2da911(0x2e6)](this['dispose$']))[_0x2da911(0x13e)](_0xfe03ef=>{_0x1b55f4(_0xfe03ef);});}};_0x6776ce=_0x3165dd([_0x528192(0x0,_0x2c3d1f[_0x157244(0x228)](_0x2c3d1f['Injector'])),_0x528192(0x1,_0x2c3d1f['IUniverInstanceService']),_0x528192(0x2,_0x2c3d1f[_0x157244(0x20d)]),_0x528192(0x3,_0x2c3d1f['Inject'](_0x3626e2[_0x157244(0x35d)])),_0x528192(0x4,_0x2c3d1f['Inject'](_0x1011ba))],_0x6776ce);var _0x11b3b8=Object['getOwnPropertyDescriptor'],_0x5316a4=(_0x43821a,_0x8df433,_0x23ba9e,_0x5963ae)=>{var _0x4d2383=_0x157244;for(var _0x24972d=_0x5963ae>0x1?void 0x0:_0x5963ae?_0x11b3b8(_0x8df433,_0x23ba9e):_0x8df433,_0x540f85=_0x43821a[_0x4d2383(0x237)]-0x1,_0x544c73;_0x540f85>=0x0;_0x540f85--)(_0x544c73=_0x43821a[_0x540f85])&&(_0x24972d=_0x544c73(_0x24972d)||_0x24972d);return _0x24972d;},_0x5a4d1d=(_0x296fae,_0x245b7f)=>(_0x2a2fba,_0x569547)=>_0x245b7f(_0x2a2fba,_0x569547,_0x296fae);_0x3626e2[_0x157244(0x3a0)]=class{constructor(_0xa00b3e,_0x3f8a61){var _0x3a765c=_0x157244;this[_0x3a765c(0x34b)]=_0xa00b3e,this[_0x3a765c(0x3f3)]=_0x3f8a61;}async[_0x157244(0x2a3)](_0x18599a,_0x2d824a){var _0x172056=_0x157244,_0x3db4e6;const {unitID:_0x44d0b0,type:_0x3947a8,revision:_0x2b1b5f=0x0}=_0x2d824a,_0x5909fe=this[_0x172056(0x243)]()+'/'+_0x3947a8+'/unit/'+_0x44d0b0+'/rev/'+_0x2b1b5f,_0x1eb618=(await this['_httpService'][_0x172056(0x23c)](_0x5909fe))[_0x172056(0xf4)],_0x7be86f=(_0x3db4e6=_0x1eb618[_0x172056(0x24a)])==null?void 0x0:_0x3db4e6[_0x172056(0x1eb)];if(_0x7be86f){const _0x39abd9=_0x7be86f==null?void 0x0:_0x7be86f['originalMeta'],_0x38c5f3=_0x3d4f34['textEncoder']['encode'](_0x3d4f34[_0x172056(0x220)](_0x39abd9));_0x7be86f[_0x172056(0x3d9)]=_0x38c5f3,Object[_0x172056(0x159)](_0x7be86f[_0x172056(0x3b7)])[_0x172056(0x331)](([,_0xf5b263])=>{var _0x53fe33=_0x172056;const _0x231292=_0xf5b263[_0x53fe33(0x3d9)],_0x304109=_0x3d4f34['textEncoder'][_0x53fe33(0x30e)](_0x3d4f34[_0x53fe33(0x220)](_0x231292));_0xf5b263[_0x53fe33(0x3d9)]=_0x304109;});}return _0x1eb618;}async['getSheetBlock'](_0x280d3e,_0x5b276e){var _0x2430c8=_0x157244;const {unitID:_0x51e610,type:_0x41665c,blockID:_0x2f535b}=_0x5b276e,_0x4e91e1=this['_getAPIPrefix']()+'/'+_0x41665c+_0x2430c8(0x274)+_0x51e610+_0x2430c8(0x358)+_0x2f535b;return(await this[_0x2430c8(0x3f3)]['get'](_0x4e91e1))[_0x2430c8(0xf4)];}async[_0x157244(0x38d)](_0x19fab4,_0x37740e){var _0x512fb6=_0x157244;const {unitID:_0x15ff2e,type:_0x50ead0,blockID:_0xf0b228}=_0x37740e,_0x2ac7d6=this[_0x512fb6(0x27f)]()+_0x512fb6(0x358)+_0x50ead0+_0x512fb6(0x274)+_0x15ff2e+_0x512fb6(0x358)+_0xf0b228;return(await this[_0x512fb6(0x3f3)][_0x512fb6(0x23c)](_0x2ac7d6))[_0x512fb6(0xf4)];}async['fetchMissingChangesets'](_0x31c352,_0x211eca){var _0x93f79d=_0x157244;const {unitID:_0x470991,type:_0x5d9f6f,from:_0x89cae2,to:_0x57c967}=_0x211eca,_0x591fd7=this[_0x93f79d(0x27f)]()+'/'+_0x5d9f6f+_0x93f79d(0x274)+_0x470991+_0x93f79d(0x26f)+_0x89cae2+_0x93f79d(0x25b)+_0x57c967;return(await this[_0x93f79d(0x3f3)][_0x93f79d(0x23c)](_0x591fd7))[_0x93f79d(0xf4)];}[_0x157244(0x243)](){var _0x25184d=_0x157244,_0x484d5c;return(_0x484d5c=this[_0x25184d(0x34b)]['getConfig'](_0x218bb9))!=null?_0x484d5c:this[_0x25184d(0x27f)]();}[_0x157244(0x27f)](){var _0x258faa=_0x157244,_0x1cc6e1,_0x221da2;const _0x4fb4cb=this[_0x258faa(0x34b)][_0x258faa(0x109)](_0x10a2dc),_0x57d41f=this[_0x258faa(0x34b)][_0x258faa(0x109)](_0x1f2870);return(_0x221da2=(_0x1cc6e1=_0x57d41f==null?void 0x0:_0x57d41f[_0x258faa(0x17e)])!=null?_0x1cc6e1:_0x4fb4cb)!=null?_0x221da2:_0x547f15;}async[_0x157244(0x359)](_0x25746a,_0xbdf79){var _0x5de731=_0x157244;const _0x3122c8=_0x5de731(0x183)+_0xbdf79[_0x5de731(0x219)]+_0x5de731(0x274)+_0xbdf79['unitID']+'/resources';return(await this['_httpService'][_0x5de731(0x23c)](_0x3122c8,{'params':{'resourceId':JSON[_0x5de731(0xf7)](_0xbdf79['resourceIDs'])}}))[_0x5de731(0xf4)];}['saveSnapshot'](){var _0x52a28e=_0x157244;throw new Error(_0x52a28e(0x118));}['saveSheetBlock'](){var _0x589b2d=_0x157244;throw new Error(_0x589b2d(0x118));}[_0x157244(0x7c)](){var _0x44b362=_0x157244;throw new Error(_0x44b362(0x118));}[_0x157244(0x1af)](){var _0x16b600=_0x157244;throw new Error(_0x16b600(0x118));}[_0x157244(0x78)](){var _0x531442=_0x157244;throw new Error(_0x531442(0x118));}},_0x3626e2[_0x157244(0x3a0)]=_0x5316a4([_0x5a4d1d(0x0,_0x2c3d1f['IConfigService']),_0x5a4d1d(0x1,_0x2c3d1f[_0x157244(0x228)](_0x442dd8[_0x157244(0xb3)]))],_0x3626e2[_0x157244(0x3a0)]);var _0x4e2025=Object[_0x157244(0xd4)],_0x8077ec=(_0x1f7db4,_0x57249,_0x3f9678,_0x394a35)=>{var _0x5c9399=_0x157244;for(var _0x40e59a=_0x394a35>0x1?void 0x0:_0x394a35?_0x4e2025(_0x57249,_0x3f9678):_0x57249,_0x52597a=_0x1f7db4[_0x5c9399(0x237)]-0x1,_0x47a146;_0x52597a>=0x0;_0x52597a--)(_0x47a146=_0x1f7db4[_0x52597a])&&(_0x40e59a=_0x47a146(_0x40e59a)||_0x40e59a);return _0x40e59a;},_0x3e1e66=(_0x3c714f,_0x2a15c1)=>(_0x12e656,_0x13fc78)=>_0x2a15c1(_0x12e656,_0x13fc78,_0x3c714f);_0x3626e2[_0x157244(0xc9)]=class extends _0x2c3d1f[_0x157244(0x223)]{constructor(_0x427e09,_0x17f423,_0xed224d,_0x43f34d,_0x4025c9){var _0x345297=_0x157244;super(_0x427e09,_0x17f423,_0xed224d),this[_0x345297(0x234)]=_0x43f34d,this[_0x345297(0x165)]=_0x4025c9;}[_0x157244(0x3a2)](_0x30093f,_0x5747b4){var _0x418b84=_0x157244;const _0x215ce6=this['_getUndoStack'](_0x30093f);if(_0x215ce6)try{const _0x3d4be6=this[_0x418b84(0x1cf)](_0x215ce6,_0x5747b4);this[_0x418b84(0x1ce)](_0x30093f,_0x3d4be6);}catch(_0x1beeac){this[_0x418b84(0x165)][_0x418b84(0x1be)](_0x418b84(0x3cb),_0x1beeac),this[_0x418b84(0x1e4)](_0x30093f);}const _0x42eca0=this['_getRedoStack'](_0x30093f);if(_0x42eca0)try{const _0x338f00=this['_transformStack'](_0x42eca0,_0x5747b4);this[_0x418b84(0x330)](_0x30093f,_0x338f00);}catch(_0x1bd8fc){this[_0x418b84(0x165)][_0x418b84(0x1be)](_0x1bd8fc),this[_0x418b84(0x1e8)](_0x30093f);}}[_0x157244(0x1e4)](_0x2d0331){var _0x95a7f0=_0x157244;const _0x159f35=this[_0x95a7f0(0x1fc)](_0x2d0331);_0x159f35&&(_0x159f35[_0x95a7f0(0x237)]=0x0,this[_0x95a7f0(0x1e9)]());}[_0x157244(0x1e8)](_0x37fe4c){var _0x3641bf=_0x157244;const _0x1c718a=this['_getRedoStack'](_0x37fe4c);_0x1c718a&&(_0x1c718a[_0x3641bf(0x237)]=0x0,this[_0x3641bf(0x1e9)]());}[_0x157244(0x1ce)](_0x212773,_0x58125b){var _0x29f627=_0x157244;this[_0x29f627(0x249)][_0x29f627(0xb5)](_0x212773,_0x58125b),this[_0x29f627(0x1e9)]();}[_0x157244(0x330)](_0x2f8eba,_0x119390){var _0x1149cd=_0x157244;this['_redoStacks'][_0x1149cd(0xb5)](_0x2f8eba,_0x119390),this['_updateStatus']();}[_0x157244(0x1cf)](_0x27c06d,_0x2188c4){var _0x922a53=_0x157244;const _0x29e97a=[];let _0x3f3da5=_0x2188c4,_0x1d5196=_0x2188c4;for(let _0x39b893=_0x27c06d[_0x922a53(0x237)]-0x1;_0x39b893>=0x0;_0x39b893--){const {unitID:_0x4b0a7a,undoMutations:_0x3be03f,redoMutations:_0x13a15d}=_0x27c06d[_0x39b893],_0x3866a0=this[_0x922a53(0x234)][_0x922a53(0x347)](_0x3f3da5,_0x3be03f),_0x304ff1=this[_0x922a53(0x234)][_0x922a53(0x347)](_0x1d5196,_0x13a15d);if(_0x3d4f34['isTransformMutationsWithChangesetFailure'](_0x3866a0)||_0x3d4f34[_0x922a53(0x380)](_0x304ff1)){this[_0x922a53(0x165)][_0x922a53(0x1be)](_0x922a53(0x3cb),'transformStack\x20failed!',_0x3866a0,_0x304ff1);break;}_0x3f3da5=_0x3866a0[_0x922a53(0x180)],_0x1d5196=_0x304ff1[_0x922a53(0x180)],_0x29e97a['push']({'unitID':_0x4b0a7a,'undoMutations':_0x3866a0['m2Prime'],'redoMutations':_0x304ff1[_0x922a53(0x24b)]});}return _0x29e97a[_0x922a53(0x8e)]();}},_0x3626e2[_0x157244(0xc9)]=_0x8077ec([_0x3e1e66(0x0,_0x2c3d1f[_0x157244(0x282)]),_0x3e1e66(0x1,_0x2c3d1f[_0x157244(0x18f)]),_0x3e1e66(0x2,_0x2c3d1f[_0x157244(0x357)]),_0x3e1e66(0x3,_0x3d4f34[_0x157244(0x82)]),_0x3e1e66(0x4,_0x2c3d1f[_0x157244(0xdd)])],_0x3626e2['CollaborativeUndoRedoService']);var _0x53edf8=Object[_0x157244(0x3e2)],_0x3efe31=Object['getOwnPropertyDescriptor'],_0x1ab853=(_0x2eec77,_0x260f7b,_0x203a0f)=>_0x260f7b in _0x2eec77?_0x53edf8(_0x2eec77,_0x260f7b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x203a0f}):_0x2eec77[_0x260f7b]=_0x203a0f,_0x2218a5=(_0x19c21e,_0x26c895,_0x430a0b,_0x11c9a5)=>{var _0x3ef902=_0x157244;for(var _0x2499ee=_0x11c9a5>0x1?void 0x0:_0x11c9a5?_0x3efe31(_0x26c895,_0x430a0b):_0x26c895,_0x1b71e6=_0x19c21e[_0x3ef902(0x237)]-0x1,_0x56b040;_0x1b71e6>=0x0;_0x1b71e6--)(_0x56b040=_0x19c21e[_0x1b71e6])&&(_0x2499ee=_0x56b040(_0x2499ee)||_0x2499ee);return _0x2499ee;},_0x48c023=(_0x8d730b,_0x296246)=>(_0x409da6,_0x37bf3a)=>_0x296246(_0x409da6,_0x37bf3a,_0x8d730b),_0x373396=(_0x507bd8,_0x4fae2d,_0x2e202a)=>_0x1ab853(_0x507bd8,_0x4fae2d+'',_0x2e202a);const _0x346b22=_0x157244(0x38f);_0x3626e2[_0x157244(0x2b7)]=class extends _0x2c3d1f[_0x157244(0x1f7)]{constructor(_0x115245,_0x17376c,_0xe66b39,_0x36e52f){var _0x3d6b4e=_0x157244;super(),_0x267246(this,'_config'),(this[_0x3d6b4e(0x165)]=_0x17376c,this['_injector']=_0xe66b39,this[_0x3d6b4e(0x34b)]=_0x36e52f);const {..._0x5e2321}=_0x2c3d1f[_0x3d6b4e(0x2b5)]({},_0x368377,_0x115245);if(!_0x5e2321['socketService'])throw new Error(_0x3d6b4e(0x277));this[_0x3d6b4e(0x3c4)]=_0x5e2321,this[_0x3d6b4e(0x34b)][_0x3d6b4e(0x17a)](_0x1f2870,_0x5e2321);}['onStarting'](){var _0x23b747=_0x157244;this[_0x23b747(0x1bb)](),this[_0x23b747(0x1a4)]();}['_registerDependencies'](){var _0x2a6c6e=_0x157244,_0x15273f,_0x315bc1;this[_0x2a6c6e(0x2ba)][_0x2a6c6e(0x3c3)](_0x2c3d1f[_0x2a6c6e(0x394)])&&this[_0x2a6c6e(0x165)][_0x2a6c6e(0x1be)]('[UniverCollaborationClientPlugin]',_0x2a6c6e(0x288));const _0x1b98ea=_0x2c3d1f[_0x2a6c6e(0x122)]([[_0x2c3d1f[_0x2a6c6e(0x394)],{'useClass':_0x3626e2[_0x2a6c6e(0xc9)]}],[_0x3626e2[_0x2a6c6e(0x35d)]],[_0x3626e2[_0x2a6c6e(0x19b)]],[_0x3626e2[_0x2a6c6e(0x2c6)]],[_0x225174],[_0x246c2e],[_0x4f7f99],[_0x6776ce],[_0x1011ba],[_0x3626e2[_0x2a6c6e(0x3d7)]],[_0x1e9773,{'useClass':this[_0x2a6c6e(0x3c4)][_0x2a6c6e(0x13d)]}],[_0x3d4f34[_0x2a6c6e(0x279)],{'useClass':_0x3626e2[_0x2a6c6e(0x3a0)]}],[_0x2c3d1f[_0x2a6c6e(0x2be)],{'useClass':_0x3626e2['AuthzIoHttpService']}],[_0x34a9a3[_0x2a6c6e(0x9b)],{'useClass':_0x3626e2[_0x2a6c6e(0x2cb)]}],[_0x2c3d1f['IMentionIOService'],{'useClass':_0x3626e2[_0x2a6c6e(0xaf)]}],[_0x3626e2['CollaborationController']],[_0x4c4df9]],(_0x15273f=this[_0x2a6c6e(0x3c4)])==null?void 0x0:_0x15273f[_0x2a6c6e(0x7d)]);if(!((_0x315bc1=this['_config'])!=null&&_0x315bc1['enableSingleActiveInstanceLock'])){const _0x23dfce=_0x1b98ea[_0x2a6c6e(0x16f)](([_0x4d0b18])=>_0x4d0b18===_0x1a3b23);_0x23dfce!==-0x1&&_0x1b98ea['splice'](_0x23dfce,0x1);}_0x2c3d1f['registerDependencies'](this[_0x2a6c6e(0x2ba)],_0x1b98ea);}[_0x157244(0x1a4)](){var _0xf04949=_0x157244,_0x1392f2,_0x38b2b1,_0x479e69;this[_0xf04949(0x2ba)][_0xf04949(0x23c)](_0x442dd8[_0xf04949(0xb3)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x442dd8[_0xf04949(0x87)]({'maxParallel':0x6})}),(_0x1392f2=this['_config'])!=null&&_0x1392f2[_0xf04949(0x100)]||(_0x38b2b1=this[_0xf04949(0x2ba)][_0xf04949(0x23c)](_0x5b8b0a,_0x2c3d1f['Quantity'][_0xf04949(0x3db)]))==null||_0x38b2b1[_0xf04949(0x27a)](),(_0x479e69=this['_config'])!=null&&_0x479e69['enableAuthServer']&&_0x2c3d1f[_0xf04949(0x150)](this[_0xf04949(0x2ba)],[[_0x225174]]),_0x2c3d1f['touchDependencies'](this[_0xf04949(0x2ba)],[[_0x246c2e],[_0x3626e2[_0xf04949(0xad)]],[_0x6776ce]]);}},_0x373396(_0x3626e2[_0x157244(0x2b7)],'pluginName',_0x346b22),_0x3626e2[_0x157244(0x2b7)]=_0x2218a5([_0x2c3d1f[_0x157244(0x239)](_0x3d4f34[_0x157244(0x14a)],_0x442dd8['UniverNetworkPlugin']),_0x48c023(0x1,_0x2c3d1f[_0x157244(0xdd)]),_0x48c023(0x2,_0x2c3d1f[_0x157244(0x228)](_0x2c3d1f[_0x157244(0x384)])),_0x48c023(0x3,_0x2c3d1f[_0x157244(0x1ca)])],_0x3626e2[_0x157244(0x2b7)]),_0x3626e2[_0x157244(0x258)]=_0x56a63b,_0x3626e2[_0x157244(0xaa)]=_0x1f2870,_0x3626e2[_0x157244(0x326)]=_0x4b6ff1,_0x3626e2['COLLAB_WEB_SOCKET_URL_KEY']=_0x49f5ad,_0x3626e2['CollaborationStatus']=_0x728ae3,_0x3626e2[_0x157244(0x3c8)]=_0x419091,_0x3626e2['CollaborationUIEventService']=_0x1011ba,_0x3626e2['CommentService']=_0x4f7f99,_0x3626e2[_0x157244(0x190)]=_0x3414ac,_0x3626e2['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=_0x55364e,_0x3626e2[_0x157244(0x1ab)]=_0x3b930e,_0x3626e2[_0x157244(0x11b)]=_0x16f77c,_0x3626e2[_0x157244(0x21f)]=_0x33ef13,_0x3626e2[_0x157244(0x34c)]=_0x1e9773,_0x3626e2[_0x157244(0x1f8)]=_0x5b8b0a,_0x3626e2['INetworkConditionService']=_0x106d85,_0x3626e2['ISingleActiveUnitService']=_0x1a3b23,_0x3626e2[_0x157244(0x2de)]=0x3e8,_0x3626e2['LOCAL_CACHE_INTERVAL_KEY']=_0x376ce1,_0x3626e2[_0x157244(0x207)]=_0x341caf,_0x3626e2['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=_0xf86820,_0x3626e2[_0x157244(0x32a)]=_0x522ab1,_0x3626e2[_0x157244(0x22a)]=_0x126cec,_0x3626e2[_0x157244(0x2b8)]=_0x10a2dc,_0x3626e2['SNAPSHOT_URL_KEY']=_0x218bb9,_0x3626e2[_0x157244(0x2e1)]=_0x9dbb3c,_0x3626e2[_0x157244(0x3bb)]=_0x2c9d3f,_0x3626e2[_0x157244(0x3a7)]=_0x28cc9f,_0x3626e2['getLocalCacheKey']=_0x455873,_0x3626e2['serializeCombRequest']=_0x36f9a8,Object['defineProperty'](_0x3626e2,Symbol['toStringTag'],{'value':_0x157244(0x3af)});}));
|