@univerjs-pro/collaboration-client 0.5.3-experimental.20250106-4af1f4e → 0.5.3-experimental.20250107-3e6579c

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/es/index.js CHANGED
@@ -1 +1 @@
1
- var _0xf95350=_0x4451;(function(_0x4f7ff3,_0x323c1d){var _0x2cef3d=_0x4451,_0x574da2=_0x4f7ff3();while(!![]){try{var _0x558b54=parseInt(_0x2cef3d(0x123))/0x1+parseInt(_0x2cef3d(0x253))/0x2+parseInt(_0x2cef3d(0x1f6))/0x3*(parseInt(_0x2cef3d(0x376))/0x4)+parseInt(_0x2cef3d(0xe9))/0x5*(-parseInt(_0x2cef3d(0x2ef))/0x6)+-parseInt(_0x2cef3d(0x26e))/0x7+parseInt(_0x2cef3d(0xf0))/0x8*(-parseInt(_0x2cef3d(0xb5))/0x9)+-parseInt(_0x2cef3d(0x20d))/0xa*(parseInt(_0x2cef3d(0x333))/0xb);if(_0x558b54===_0x323c1d)break;else _0x574da2['push'](_0x574da2['shift']());}catch(_0x4738b8){_0x574da2['push'](_0x574da2['shift']());}}}(_0x58d9,0x9dba4));var Li=Object[_0xf95350(0x35a)],Mi=(_0x52d0fb,_0x3f71b6,_0x30c284)=>_0x3f71b6 in _0x52d0fb?Li(_0x52d0fb,_0x3f71b6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x30c284}):_0x52d0fb[_0x3f71b6]=_0x30c284,N=(_0x3d8d4e,_0x3f3eeb,_0x5acbba)=>Mi(_0x3d8d4e,typeof _0x3f3eeb!=_0xf95350(0x1b4)?_0x3f3eeb+'':_0x3f3eeb,_0x5acbba);import{createIdentifier as _0x5f2d11,Inject as _0x1f377b,Injector as _0x459b1e,Disposable as _0x21c7f9,DisposableCollection as _0x144435,toDisposable as _0x6c04a6,IConfigService as _0x4ef789,ILogService as _0x2cd95e,UserManagerService as _0x476b93,UniverInstanceType as _0x4fe211,IUniverInstanceService as _0x4accb0,LocaleService as _0x3b591c,Optional as _0x36e3d4,RxDisposable as _0x426883,Tools as _0x324eba,Rectangle as _0x107aa5,ICommandService as _0x16ead5,JSONX as _0x34d239,CommandType as _0x368d91,IPermissionService as _0x193a1a,IUndoRedoService as _0x122feb,sequenceExecute as _0x4370f1,Workbook as _0x3569b1,MentionType as _0xa72733,IAuthzIoService as _0x3db02c,isInternalEditorID as _0x4b9cfa,LocalUndoRedoService as _0x4a8bd3,IContextService as _0x21a4dd,DependentOn as _0x296661,Plugin as _0x509d00,merge as _0x1c25ec,mergeOverrideWithDependencies as _0x467c59,IMentionIOService as _0x4c2436,registerDependencies as _0x463499,Quantity as _0x124bff,touchDependencies as _0x536f41}from'@univerjs/core';import{Subject as _0x1d9c1a,merge as _0x127445,of as _0x22b9ed,BehaviorSubject as _0x26dbcc,takeUntil as _0x30c8dd,ReplaySubject as _0x2eb1e0,take as _0x3b0b7e,map as _0xb6f026,shareReplay as _0x194fbd,firstValueFrom as _0x12dc12,concatMap as _0x17ba71}from'rxjs';import{map as _0x3dd616,take as _0x4f99c6,filter as _0x2ac5d0,delay as _0x2a4396,takeUntil as _0x4eb1e7}from'rxjs/operators';import{HTTPService as _0x1d95e4,ISocketService as _0x45d75e,MergeInterceptorFactory as _0x516ca5,HTTPRequest as _0x3dc882,UniverNetworkPlugin as _0x5b8d93,ThresholdInterceptorFactory as _0x39c3a7}from'@univerjs/network';import{CollaborationEvent as _0x15e414,parseChangesetToProtocol as _0x4bb802,ISnapshotServerService as _0x359a3a,isTransformMutationsWithChangesetSuccess as _0x5e1805,ITransformService as _0xd312f2,mapDocumentTypeToUniverType as _0x1bcb48,RevisionService as _0x3aeefc,isTransformChangesetsSuccess as _0x337292,CompressMutationService as _0x387e7e,parseProtocolChangeset as _0x36f3b5,SnapshotService as _0x3b76b2,textEncoder as _0x5547ea,b64DecodeUnicode as _0x25a9a5,isTransformMutationsWithChangesetFailure as _0x36809c,UniverCollaborationPlugin as _0x5db6f5}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x4c4a70}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x775ef5}from'@univerjs/docs';function _0x58d9(){var _0x26d285=['/fetchmissing?from=','APPLY_DUPLICATED','enc','eventID','resolve','awaiting','apply','[OfflineState]:\x20received\x20acknowledgement.','_onRemoteACK','_getUndoStack','_keySchedule','session','SOCKET_FAILED','search','NEW_CHANGESETS','avatar','stopTime','RECV','LICENSE_IMPORT_SIZE_EXCEEDED','ws://127.0.0.1:8000/universer-api/comb/connect','CHANGESET_ACK','RETRY_CONNECTING_MAX_COUNT','toggleOffline','_getUploadFileURL','incrementRevOfUnit','_reverseMap','has','isArray','[PendingState]:\x20received\x20acknowledgement.','_acknowledgedAwaitingChangeset','[PendingState]:\x20received\x20rejection.','updateOfflineData','method','_transformStateCache','_doCryptBlock','_nDataBytes','LIVESHARE_NEW_HOST','getUnitId','save\x20fail\x20reason\x20is\x20','csShouldRetryEvent','retryConnectingInterval','application/json','pauseCollaboration','SHA1','_logService','YUUMI_SUBSCRIPTION_NOT_FOUND','onTransformState','/universer-api/snapshot/','closeSession','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','socketService','_parse','_clearHeartbeatTimer','originalMeta','action','headers','/universer-api/authz','_map','reduce','_unlockTransition','_pendingMutations','clear','clamp','compose','baseRev','duration','[CollaborationEntity]','enableAuthServer','_state$','crypto','YUUMI_UNABLE_LOAD_URL','_incrementRevisionNumber','_startCollaboration','toggleOnline','IDLE','CONFLICT','_emitMembers','function','body','downloadEndpointUrl','_key','UPDATE_PERMISSION_OBJ','LOGIN_URL_KEY','_remoteChangesetQueue','/resources','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','UNIVER_SLIDE','_iKey','editing\x20status\x20changed\x20to','COMPLETION_FINISHED','[SyncedState]:\x20received\x20acknowledgement.','onStarting','UPDATE_CURSOR','createSocket','COLLAB_WEB_SOCKET_URL','execute','conflict','readAsDataURL','HttpExport','/universer-api/file/{fileID}/sign-url','_transitionLocked','call','_handlerCallback','_changesetReqId','_status$','_submitChangeset','slice','reconnect','UNIVER_DOC','push','CONNECTOR_DATA_TOO_LARGE','[CollaborationSession]','_univerInstanceService','_commentService','wsSessionTicketUrl','SOCKET_FAILED_RETRY','_commandService','unsubscribe','saveSheetBlock','_networkConditionService','snapshotServerUrl','_hash','FileId','getSheetBlock','216abIOlk','UNIVER_UNKNOWN','onSyncEditingCollabCursor','_keyPriorReset','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','capture','_imageSourceCache','subscribe','FAIL','_getCurrentRevision','next','ONLINE','getCurrentUser','_entityInit$','type','_injector','getFocusedUnit','startsWith','getRandomValues','default','decrypt','_lockTransition','[OfflineState]:\x20received\x20changeset.','_onConnectionOpen','getLatestCsReqIdBySid','_instanceService','executeCommand','_onMessage','pad','UNKNOWN_CODE','StreamCipher','copyFileMeta','src','OpenSSL','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','entityInit$','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_sendHeartbeat','_eventService','_transformStack','entries','onRemoteRetry','HmacSHA1','_sheetTransformSelectionsService','ERROR_EXCEED_SIZE','_removeRoom','_hasher','AWAITING_WITH_PENDING','USERS_LEAVE','onSendChangeset','HEARTBEAT_TIMEOUT','patch','APPLY_NON_SEQUENTIAL_REVISION','buffer','Base','UNDEFINED','_loadSheet','disableLocalCache','{fileID}','fromCharCode','APPLY_REJECT','error','size','_resendWithTimeout','JOIN_ROOM_FAILED','/-/object/list','getTypeOfUnitAdded$','HmacMD5','4039838gdRXpD','key','localeService','saveChangeset','finalize','_changesetSessionId','bind','waitForRoom$','UNISCRIPT_RUN','UnitEmbedded','subUnitId','memberID','registerHTTPInterceptor','_roomMembers','title','/new_changes','readyForCollab','_scheduleCollaborationTimeoutTimer','getUnitStatus$','_members','_type','/unit/','Base64','[SyncedState]:\x20received\x20rejection.','_clearCollaborationTimeoutTimer','CHANGESET_REVISION_CONFILICT','_awaitingChangeset','state$','_loadDoc','Malformed\x20UTF-8\x20data','cfg','getActiveSheet','_joinRoom','emitEvent','_onUserJoin','_transformRemoteChangesetByIMECache','_authzIoService','_compressMutationService','disposeWithMe','defineProperty','_getAPIPrefixPath','SHOULD_CLOSE_CONN','_config','_mode','_stopTelemetryCollaborationNewChangeset','_sendingTimer','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','forEach','_waitCount','GLOBAL_ROOMS_CNT_EXCEEDS','LIVESHARE_FETCH_OPERATIONS','ENSURE_SNAPSHOT_EXECUTION','[DataLoaderService]','_members$','unitInfo$','_startTelemetryCollaborationNewChangeset','session.room-cnt-exceeds','_fetchMissChangesets','_socketMessageSubscription','_collaborationPaused','fetchMiss','_getSignURL','_timeoutTimer','_memberService','_createHandler','CBC','from','1474348nPFiJB','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','charCodeAt','_syncEditingCollabCursor','_schedule','&source=','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','LIVESHARE_TERMINATE','_applyRemoteChangeset','signUrlServerUrl','getSheetId','[CollaborationSessionService]:\x20socket\x20error','getSnapshotAPIPath','state','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','list','awaitingChangeset','objectType','WordArray','isPermissionRej','mixIn','_replayCachedMutations','/universer-api/user/session-ticket','randomBytes','PERMISSION_DENIED','online$','_snapshotService','LEAVE','_checkMissing','c2Prime','_onCombEvent','append','range','unknown','onTransformSelections','getCurrentSelections','_substituteUndoStack','\x20-\x20','_isPermissionRej','deleteCollaborator','params','pipe','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','setShowComponents','[OfflineState]:\x20received\x20rejection.','_createHelper','?url=','_updateStatus','MSG_FOR_ERROR','fetch_missing','_sendHeartbeatTimer','max','_onConflict','blockSize','format','abs','algo','/block/','Could\x20not\x20dynamically\x20require\x20\x22','getTypeOfUnitDisposed$','_append','/universer-api/stream/file/upload','onLocalMutation','621QevlVD','LICENSE_DISTRO_REJECTED','[PendingState]:\x20unhandled\x20univer\x20type:\x20','encode','_disableEditing','joinEvent','permissionRejEvent','subject','updatePermissionObjEvent','\x20in\x20_schedule.','map','error$','getUnitOnRev','infoRsp','searchParams','__creator','extend','ceil','findIndex','prototype','_clearLocalCache','close$','byteLength','NOT_FOUND','getImageSourceCache','_singleActiveUnitService','_ENC_XFORM_MODE','_redoStacks','Utf8','HttpImport','requestParams','_collaborationUIEventService','collaboration-client.local-cache-service','encodeURIComponent','debug','getMemberID','liveShareNewHost','UNIVER_SHEET','_onUserLeave','_updateLocalCache','runId','_clearRedo','_httpService','SerializableCipher','add','resend','_onJoinRoomEvent','_onRecvEvent','HEARTBEAT_INTERVAL','getCollabEntity$','LOCAL_CACHE_INTERVAL','_createSocket','35745wosHyi','reqId','target','_entities','DEFAULT_FILE_NAME','_telemetryInfo','result','53488ekgqiL','_handler','pluginName','LICENSE_MAX_UNITS_EXCEEDED','updateCursorEvent','Cipher','createInstance','_retryConnectingTimer','univer-pro.collaboration-client.network-condition.service','_substituteRedoStack','_createInitialState','changesets','updatePermissionPoint','cmd','_createHmacHelper','_permissionService','_socketReady','_doReset','_exhaustRemoteChangesetQueue','listCollaborators','ERROR_IMAGE','_sender','_state','sessionStatus$','addImageSourceCache','now','JOIN_ROOM_FULL','sid','name','_scheduleCompleteTimestamp','Decryptor','_getAPIPrefix','loadUnit','then','\x20to\x20','_cipher','_listenToNetworkCondition','JOIN_ROOM_NOT_EXISTS','/object','_initRequestHeader','failed\x20to\x20apply\x20missed\x20changesets!','createDecryptor','INVALID_ARGUMENT','close','transformMutationsWithChangeset','readInt32LE','_sessions','init','floor','c1Prime','onMissingChangesets','985907CQLayo','_nRounds','TOO_MANY_REQUESTS','APPLY_PERMISSION_DENIED','/collaborator','_waitForHeartbeatResponse','_updateState','_socketService','lib','ticket','[CollaborationSessionService]','univer-pro.collaboration-client-socket-service','_doFinalize','collaboration-client.config','length','_onLocalMutation','members','PENDING','includes','_onRemoteChangeset','socket\x20close','processBlock','_xformMode','INGEST','offline','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_minBufferSize','collaborators','data','complete','SNAPSHOT_INVALID_SNAPSHOT','_socket','onRemoteChangeset','_candidateSocket','getCurrentRevOfUnit','PERMISSION_REJ','collabSubmitChangesetUrl','sheets','unitId','_transformUndoredo','UNAUTHENTICATED','Hasher','_unitInfo$','_undoRedoService','SNAPSHOT_HAS_BEEN_REMOVED','_onFetchMissResult','get','sessionTicket','collaMsg','collabWebSocketUrl','JOIN','_transformSelections','LIVESHARE_OPERATION','ALREADY_EXISTS','objectID','SEND_CHANGESET_TIMEOUT','_collaborationTimeoutTimer','_rescheduleHeartbeat','updateMember','loginUrlKey','_getCtorByUniverType','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','SUCCUSS','actions','put','_sessionStatus$','Encryptor','ivSize','localCacheService','SNAPSHOT_SERVER_URL_KEY','$super','m2Prime','_transformService','APPLY_REVISION_CONFILICT','sessionStatus','onTransformRemoteChangesetByStateCache','_process','_snapshotServerService','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','kdf','mode','_tryEnsureSocket','addHandlerCallback','toLowerCase','_toggleOffline','_initDependencies','hasOwnProperty','_getSessionTicket','origin','OPTIONAL','unitID','collaboration_new_changeset','transformChangesets','_telemetryService','filter','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_change$','workbook','JOIN_ROOM_PERMISSION_DENIED','BASE64','OFFLINE','_localeService','OTHER_CLIENTS_EDITING','onCommentUpdate','create','_createSocketURL','OTHER_CLIENT_EDITING','collaboratorID','LIVESHARE_REQUEST_HOST','LICENSE_EXPORT_SIZE_EXCEEDED','commentUpdate$','UNRECOGNIZED','ciphertext','padding','_clearScheduledTask','_clearTimeoutTimer','AES','join','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_tryReconnect','uniscriptRunEvent','onTransformIME','_data','startTime','getValue','_localCacheService','location','_init','getRoom','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','parse','csAckEvent','byteOffset','snapshot','NOT_COLLAB','getConfig','_clearUndo','COMPRESS_MUTATION_SEND','keySize','/object/','_transformIMECache','SUBMIT_CHANGESET_TIMEOUT','exports','randomUUID','symbol','getOwnPropertyDescriptor','/role','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','refreshPermission','userID','_roomCreated$','open$','x-univer-host','joinRsp','_initCloseConn','reset','UNIVER_PROJECT','createCollaborator','decryptBlock','BufferedBlockAlgorithm','send','FETCH_MISSING','update','_collaborationSessionService','[UniverCollaborationClientPlugin]','_resendTimeout','rev','MD5','clone','_getSendChangesetTimeout','_getLoginPath','commentUpdateEvent','INTERNAL_ERROR','change$','authzUrl','HELLO','_replaceFileID','image/jpeg','image/png','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','CHANGESET_SHOULD_RETRY','getInterceptPoints','substr','_createInitialStateImpl','COLLAB_SUBMIT_CHANGESET_URL','getMember','PasswordBasedCipher','BlockCipher','_revisionService','delete','__esModule','toString','_onConnectionFailed','Error\x20on\x20receiving\x20event','createEncryptor','sigBytes','univer-pro.collaboration-client.single-active-unit-service','_http','hostname','_HTTPService','encrypt','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_resendTimer','_socket$','hasher','deepClone','stringify','_undoStacks','unpad','putCollaborators','6mVFSJK','json','connection\x20error','replace','_onRemoteRetry','appendMutation','onRemoteRej','status','values','onCommandExecuted','pending','status$','onTransformRemoteChangesetByIMECache','removeMember','_queuedRemoteChangesets','dispose$','asObservable','NO_OTHER_CLIENTS_EDITING','PERSON','[FetchMissState]','SUBMIT_CHANGESET','shouldCloseConn','textRanges','10uAkLke','UNIVER_COLLABORATION_CLIENT_PLUGIN','mutations','interceptor','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','COMPRESS_MUTATION_APPLY','onMissedChangesetFetched','JOINING','_configService','_unitID','CLOSE_ROOM','_retryCount','session.room-full','_event$','[CollaborationUndoRedoService]','transformStack\x20failed!','_onOffline','UnitSnapshot','getTime','random','catch','_prevBlock','_shouldReportTelemetry','transformUndoRedo','getUnit','NoPadding','_toggleOnline','submit\x20changeset\x20error!','csRejEvent','HMAC','_iv','/universer-api/oidc/authpage','getCollabEntity','selections','getResourcesRequest','synced','session.join-failed','_executeRemoteChangeset','transformSelections','_transformRemoteChangesetByStateCache','revision','EvpKDF','dispose','salt','listRoles','BlockCipherMode','_initMergeInterceptor','fetchThroughInterceptors','event$','Hex','splice','COMMENT_UPDATE','concat','USERS_ENTER','charAt','/-/object/-/batch_allowed','every','People','msCrypto','[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.','url','post','requireSession','code','words','_throwTelemetryCollaborationNewChangeset','_onRemoteRejected','?size=','members$','indexOf','1511646XhVFJZ','objectActions','fromCollab','YUUMI_URL_COL_OUT_OF_RANGE','onRemoteAck','session.room-not-exists','_initUnitPermissionChange','getUnitType','_oKey','HEARTBEAT','rng','roles','onload','AWAITING','MUTATION','_userManagerService','fetchMissingChangesets','_commentUpdate$','message$','_getDownloadEndpointURL','string','_decreaseWaiting','set','Undefined','loadOfflineData','POST','routeKey','5228272KEnrOU','UNKNOWN_CMD','reject','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_showConflictNotification'];_0x58d9=function(){return _0x26d285;};return _0x58d9();}import{SheetsSelectionsService as _0x232e9a,SetSelectionsOperation as _0x244d63,InsertSheetMutation as _0x4090d9,EmptyMutation as _0x27bacb,WorkbookEditablePermission as _0xf5ebb3,SheetPermissionInitController as _0xaa84b0,UniverSheetsPlugin as _0x5eafd8}from'@univerjs/sheets';import{ImageSourceType as _0x525dac,ImageUploadStatusType as _0x2252a1,IImageIoService as _0x14c982}from'@univerjs/drawing';import{getGlobalObject as _0x11d3a1}from'@univerjs-pro/license';const Ss=_0xf95350(0x169),Es='/universer-api/snapshot',Is='SNAPSHOT_URL_KEY',eo=_0xf95350(0x15a),Ts=0x7d0,Cs=_0xf95350(0x2d1),bs=_0xf95350(0x286),Rs=_0xf95350(0x38c),Os=_0xf95350(0xe5),ys=0x7530,Si=_0xf95350(0x321),Ei=0x4e20,Ns=0x4e20,Ds=_0xf95350(0x288),Ps=0x3,to=_0xf95350(0xe7),io=0x3e8,ws=_0xf95350(0x1dc),Us='/universer-api/comb',As=_0xf95350(0x2c5),xs=_0xf95350(0x22c),so=_0xf95350(0x1d7),ro='/universer-api/uniscript';var Ii=(_0x2465de=>(_0x2465de[_0x2465de[_0xf95350(0x326)]=0x0]=_0xf95350(0x326),_0x2465de[_0x2465de['OK']=0x1]='OK',_0x2465de[_0x2465de[_0xf95350(0x1d0)]=0x2]=_0xf95350(0x1d0),_0x2465de[_0x2465de['PERMISSION_DENIED']=0x3]=_0xf95350(0x38e),_0x2465de[_0x2465de[_0xf95350(0xcc)]=0x4]=_0xf95350(0xcc),_0x2465de[_0x2465de[_0xf95350(0x14b)]=0x5]='UNAUTHENTICATED',_0x2465de[_0x2465de[_0xf95350(0x158)]=0x6]=_0xf95350(0x158),_0x2465de[_0x2465de['INVALID_ARGUMENT']=0x7]=_0xf95350(0x11a),_0x2465de[_0x2465de['TOO_MANY_REQUESTS']=0x8]=_0xf95350(0x125),_0x2465de[_0x2465de[_0xf95350(0x2cc)]=0x9]=_0xf95350(0x2cc),_0x2465de[_0x2465de[_0xf95350(0x34c)]=0x1389]=_0xf95350(0x34c),_0x2465de[_0x2465de[_0xf95350(0x141)]=0x1771]=_0xf95350(0x141),_0x2465de[_0x2465de[_0xf95350(0x14f)]=0x1772]=_0xf95350(0x14f),_0x2465de[_0x2465de[_0xf95350(0x366)]=0x1773]=_0xf95350(0x366),_0x2465de[_0x2465de[_0xf95350(0x32b)]=0x1b59]='APPLY_REJECT',_0x2465de[_0x2465de[_0xf95350(0x323)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x2465de[_0x2465de[_0xf95350(0x16d)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2465de[_0x2465de[_0xf95350(0x126)]=0x1b5c]=_0xf95350(0x126),_0x2465de[_0x2465de['APPLY_DUPLICATED']=0x1b5d]=_0xf95350(0x274),_0x2465de[_0x2465de[_0xf95350(0x2e1)]=0x1f41]=_0xf95350(0x2e1),_0x2465de[_0x2465de[_0xf95350(0xf3)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x2465de[_0x2465de[_0xf95350(0x361)]=0x232a]=_0xf95350(0x361),_0x2465de[_0x2465de[_0xf95350(0x285)]=0x232b]=_0xf95350(0x285),_0x2465de[_0x2465de[_0xf95350(0x191)]=0x232c]=_0xf95350(0x191),_0x2465de[_0x2465de[_0xf95350(0xb6)]=0x232d]=_0xf95350(0xb6),_0x2465de[_0x2465de[_0xf95350(0x2b9)]=0x2711]=_0xf95350(0x2b9),_0x2465de[_0x2465de[_0xf95350(0x256)]=0x2712]=_0xf95350(0x256),_0x2465de[_0x2465de['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2465de[_0x2465de[_0xf95350(0x2a0)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x2465de[_0x2465de['UNRECOGNIZED']=-0x1]=_0xf95350(0x193),_0x2465de))(Ii||{}),Q=(_0x4c4052=>(_0x4c4052[_0x4c4052[_0xf95350(0x2f0)]=0x0]=_0xf95350(0x2f0),_0x4c4052[_0x4c4052['UNIVER_DOC']=0x1]=_0xf95350(0x2df),_0x4c4052[_0x4c4052[_0xf95350(0xda)]=0x2]=_0xf95350(0xda),_0x4c4052[_0x4c4052[_0xf95350(0x2c9)]=0x3]='UNIVER_SLIDE',_0x4c4052[_0x4c4052[_0xf95350(0x1c0)]=0x4]=_0xf95350(0x1c0),_0x4c4052[_0x4c4052['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x4c4052))(Q||{}),F=(_0x128b2e=>(_0x128b2e[_0x128b2e[_0xf95350(0x26f)]=0x0]=_0xf95350(0x26f),_0x128b2e[_0x128b2e['HELLO']=0x1]=_0xf95350(0x1d3),_0x128b2e[_0x128b2e['JOIN']=0x2]=_0xf95350(0x155),_0x128b2e[_0x128b2e[_0xf95350(0x391)]=0x3]='LEAVE',_0x128b2e[_0x128b2e[_0xf95350(0x13a)]=0x4]=_0xf95350(0x13a),_0x128b2e[_0x128b2e['HEARTBEAT']=0x5]=_0xf95350(0x25c),_0x128b2e[_0x128b2e[_0xf95350(0x284)]=0x6]=_0xf95350(0x284),_0x128b2e[_0x128b2e[_0xf95350(0x193)]=-0x1]='UNRECOGNIZED',_0x128b2e))(F||{}),Ee=(_0x36b2d1=>(_0x36b2d1[_0x36b2d1[_0xf95350(0x30c)]=0x0]=_0xf95350(0x30c),_0x36b2d1[_0x36b2d1['OK']=0x1]='OK',_0x36b2d1[_0x36b2d1[_0xf95350(0x2f7)]=0x2]=_0xf95350(0x2f7),_0x36b2d1[_0x36b2d1[_0xf95350(0x10a)]=0x3e9]=_0xf95350(0x10a),_0x36b2d1[_0x36b2d1['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0xf95350(0x115),_0x36b2d1[_0x36b2d1[_0xf95350(0x186)]=0x3eb]=_0xf95350(0x186),_0x36b2d1[_0x36b2d1[_0xf95350(0x364)]=0x3ec]=_0xf95350(0x364),_0x36b2d1[_0x36b2d1[_0xf95350(0x193)]=-0x1]=_0xf95350(0x193),_0x36b2d1))(Ee||{}),Ti=(_0x49b553=>(_0x49b553[_0x49b553[_0xf95350(0x26a)]=0x0]=_0xf95350(0x26a),_0x49b553[_0x49b553[_0xf95350(0xd2)]=0x1]=_0xf95350(0xd2),_0x49b553[_0x49b553[_0xf95350(0x2d5)]=0x2]=_0xf95350(0x2d5),_0x49b553[_0x49b553[_0xf95350(0x33c)]=0x3]=_0xf95350(0x33c),_0x49b553[_0x49b553[_0xf95350(0x21e)]=0x4]=_0xf95350(0x21e),_0x49b553[_0x49b553['UNRECOGNIZED']=-0x1]=_0xf95350(0x193),_0x49b553))(Ti||{});const q=_0xf95350(0x130),Wt={};var ne=(_0x3ce9cd=>(_0x3ce9cd[_0xf95350(0x18e)]=_0xf95350(0x18e),_0x3ce9cd[_0xf95350(0x38e)]=_0xf95350(0x38e),_0x3ce9cd[_0xf95350(0x2be)]=_0xf95350(0x2be),_0x3ce9cd['CLOSE_ROOM']=_0xf95350(0x217),_0x3ce9cd[_0xf95350(0x32f)]=_0xf95350(0x32f),_0x3ce9cd[_0xf95350(0x2e6)]=_0xf95350(0x2e6),_0x3ce9cd[_0xf95350(0x27f)]=_0xf95350(0x27f),_0x3ce9cd[_0xf95350(0x1b1)]=_0xf95350(0x1b1),_0x3ce9cd))(ne||{});class pe{constructor(){var _0xd07b40=_0xf95350;N(this,_0xd07b40(0x21a),new _0x1d9c1a()),N(this,_0xd07b40(0x23d),this[_0xd07b40(0x21a)]['asObservable']());}[_0xf95350(0x354)](_0x58e3a4){var _0xffb533=_0xf95350;this[_0xffb533(0x21a)][_0xffb533(0x2f9)](_0x58e3a4);}}const Ls=_0x5f2d11(_0xf95350(0xf8));function Ms(_0x5dfc16){var _0x2205f7=_0xf95350,_0x451ca3,_0x5150ea,_0x48c8df,_0x1c38ab,_0x38c0de;const _0x12644d=_0x5dfc16[_0x2205f7(0x13f)],_0x5ba246=JSON[_0x2205f7(0x1a6)](_0x12644d);switch(_0x5ba246['cmd']){case F['HEARTBEAT']:case F['HELLO']:{const _0x298789=_0x5ba246[_0x2205f7(0xc2)];return{..._0x5ba246,'data':_0x298789,'cmd':_0x5ba246[_0x2205f7(0xfd)]};}case F['JOIN']:{const _0x48ab62=_0x5ba246[_0x2205f7(0x1bd)];return{..._0x5ba246,'data':_0x48ab62,'cmd':_0x5ba246[_0x2205f7(0xfd)]};}case F[_0x2205f7(0x284)]:{const _0x532a04=_0x5ba246[_0x2205f7(0x153)];switch(_0x532a04['eventID']){case _0x15e414['PERMISSION_REJ']:return{..._0x5ba246,'data':{..._0x532a04,'data':(_0x451ca3=_0x532a04[_0x2205f7(0xbb)])==null?void 0x0:_0x451ca3['cs']},'cmd':_0x5ba246[_0x2205f7(0xfd)]};case _0x15e414[_0x2205f7(0x287)]:return{..._0x5ba246,'data':{..._0x532a04,'data':(_0x5150ea=_0x532a04[_0x2205f7(0x1a7)])==null?void 0x0:_0x5150ea['cs']},'cmd':_0x5ba246[_0x2205f7(0xfd)]};case _0x15e414['NEW_CHANGESETS']:return{..._0x5ba246,'data':{..._0x532a04,'data':(_0x48c8df=_0x532a04['newCsEvent'])==null?void 0x0:_0x48c8df['cs']},'cmd':_0x5ba246['cmd']};case _0x15e414['CHANGESET_REJ']:return{..._0x5ba246,'data':{..._0x532a04,'data':(_0x1c38ab=_0x532a04[_0x2205f7(0x229)])==null?void 0x0:_0x1c38ab['cs']},'cmd':_0x5ba246[_0x2205f7(0xfd)]};case _0x15e414[_0x2205f7(0x1d8)]:return{..._0x5ba246,'data':{..._0x532a04,'data':(_0x38c0de=_0x532a04[_0x2205f7(0x29a)])==null?void 0x0:_0x38c0de['cs']},'cmd':_0x5ba246['cmd']};case _0x15e414[_0x2205f7(0x2cf)]:return{..._0x5ba246,'data':{..._0x532a04,'data':_0x532a04[_0x2205f7(0xf4)]},'cmd':_0x5ba246['cmd']};case _0x15e414[_0x2205f7(0x242)]:return{..._0x5ba246,'data':{..._0x532a04,'data':_0x532a04[_0x2205f7(0xba)]},'cmd':_0x5ba246[_0x2205f7(0xfd)]};case _0x15e414['USERS_LEAVE']:return{..._0x5ba246,'data':{..._0x532a04,'data':_0x532a04['leaveEvent']},'cmd':_0x5ba246[_0x2205f7(0xfd)]};case _0x15e414[_0x2205f7(0x297)]:return{..._0x5ba246,'data':{..._0x532a04,'data':_0x532a04[_0x2205f7(0xd9)]},'cmd':_0x5ba246[_0x2205f7(0xfd)]};case _0x15e414['LIVESHARE_FETCH_OPERATIONS']:case _0x15e414[_0x2205f7(0x157)]:return{..._0x5ba246,'data':{..._0x532a04,'data':_0x532a04['liveShareOperation']},'cmd':_0x5ba246['cmd']};case _0x15e414[_0x2205f7(0x37d)]:return{..._0x5ba246,'data':{..._0x532a04,'data':_0x532a04[_0x2205f7(0xd9)]},'cmd':_0x5ba246['cmd']};case _0x15e414[_0x2205f7(0x3a6)]:return{..._0x5ba246,'data':_0x532a04,'cmd':_0x5ba246[_0x2205f7(0xfd)]};case _0x15e414['COMMENT_UPDATE']:return{..._0x5ba246,'data':{..._0x532a04,'data':_0x532a04[_0x2205f7(0x1cf)]},'cmd':_0x5ba246[_0x2205f7(0xfd)]};case _0x15e414[_0x2205f7(0x2c4)]:return{..._0x5ba246,'data':{..._0x532a04,'data':_0x532a04[_0x2205f7(0xbd)]},'cmd':_0x5ba246[_0x2205f7(0xfd)]};case _0x15e414[_0x2205f7(0x35c)]:return{..._0x5ba246,'data':{..._0x532a04,'data':_0x532a04[_0x2205f7(0x20b)]},'cmd':_0x5ba246['cmd']};case _0x15e414['UNISCRIPT_RUN']:return{..._0x5ba246,'data':{..._0x532a04,'data':_0x532a04[_0x2205f7(0x19c)]},'cmd':_0x5ba246['cmd']};default:return _0x5ba246;}}default:return _0x5ba246;}}function $s(_0x48d2f8){var _0x32c82e=_0xf95350;switch(_0x48d2f8[_0x32c82e(0xfd)]){case F[_0x32c82e(0x25c)]:case F[_0x32c82e(0x1d3)]:return JSON[_0x32c82e(0x1f2)]({'cmd':_0x48d2f8[_0x32c82e(0xfd)],'routeKey':_0x48d2f8[_0x32c82e(0x26d)]});case F[_0x32c82e(0x13a)]:{let _0x3a96a6;switch(_0x48d2f8[_0x32c82e(0x13f)]['eventID']){case _0x15e414[_0x32c82e(0x2cf)]:{_0x3a96a6={'eventID':_0x15e414[_0x32c82e(0x2cf)],'updateCursorEvent':_0x48d2f8[_0x32c82e(0x13f)][_0x32c82e(0x13f)]};break;}case _0x15e414['USERS_LEAVE']:{_0x3a96a6={'eventID':_0x15e414['USERS_LEAVE'],'leaveEvent':_0x48d2f8[_0x32c82e(0x13f)][_0x32c82e(0x13f)]};break;}case _0x15e414[_0x32c82e(0x242)]:{_0x3a96a6={'eventID':_0x15e414[_0x32c82e(0x242)],'joinEvent':_0x48d2f8['data'][_0x32c82e(0x13f)]};break;}case _0x15e414[_0x32c82e(0x297)]:{_0x3a96a6={'eventID':_0x15e414[_0x32c82e(0x297)],'liveShareNewHost':_0x48d2f8['data']['data']};break;}case _0x15e414[_0x32c82e(0x157)]:{_0x3a96a6={'eventID':_0x15e414[_0x32c82e(0x157)],'liveShareOperation':_0x48d2f8[_0x32c82e(0x13f)][_0x32c82e(0x13f)]};break;}case _0x15e414[_0x32c82e(0x37d)]:{_0x3a96a6={'eventID':_0x15e414[_0x32c82e(0x37d)],'liveShareTerminate':_0x48d2f8[_0x32c82e(0x13f)][_0x32c82e(0x13f)]};break;}case _0x15e414['LIVESHARE_REQUEST_HOST']:{_0x3a96a6={'eventID':_0x15e414[_0x32c82e(0x190)],'liveShareRequestHost':_0x48d2f8[_0x32c82e(0x13f)][_0x32c82e(0x13f)]};break;}case _0x15e414[_0x32c82e(0x365)]:{_0x3a96a6={'eventID':_0x15e414['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x3a96a6={'eventID':_0x48d2f8[_0x32c82e(0x13f)][_0x32c82e(0x276)]};}return JSON[_0x32c82e(0x1f2)]({'cmd':_0x48d2f8['cmd'],'routeKey':_0x48d2f8['routeKey'],'collaMsg':_0x3a96a6});}case F['JOIN']:return JSON['stringify']({'cmd':_0x48d2f8[_0x32c82e(0xfd)],'routeKey':_0x48d2f8[_0x32c82e(0x26d)],'joinReq':_0x48d2f8[_0x32c82e(0x13f)]});case F[_0x32c82e(0x391)]:return JSON['stringify']({'cmd':_0x48d2f8['cmd'],'routeKey':_0x48d2f8[_0x32c82e(0x26d)],'leaveReq':_0x48d2f8[_0x32c82e(0x13f)]});default:throw new Error(_0x32c82e(0x271));}}var Hs=Object[_0xf95350(0x35a)],ks=Object[_0xf95350(0x1b5)],js=(_0x44e9b6,_0x55054,_0x35e27c,_0x16d3ac)=>{var _0x4fce28=_0xf95350;for(var _0x3ee349=_0x16d3ac>0x1?void 0x0:_0x16d3ac?ks(_0x55054,_0x35e27c):_0x55054,_0x14051c=_0x44e9b6[_0x4fce28(0x131)]-0x1,_0x13121c;_0x14051c>=0x0;_0x14051c--)(_0x13121c=_0x44e9b6[_0x14051c])&&(_0x3ee349=(_0x16d3ac?_0x13121c(_0x55054,_0x35e27c,_0x3ee349):_0x13121c(_0x3ee349))||_0x3ee349);return _0x16d3ac&&_0x3ee349&&Hs(_0x55054,_0x35e27c,_0x3ee349),_0x3ee349;},Ue=(_0xa87ac4,_0x45b5c7)=>(_0x580c2b,_0xf784a4)=>_0x45b5c7(_0x580c2b,_0xf784a4,_0xa87ac4);const Ci=_0x5f2d11(_0xf95350(0x12e));function Bs(_0x10a6c6,_0x46e453,_0x9c8cca){var _0x5416e9=_0xf95350;return _0x10a6c6+'/'+_0x46e453+_0x5416e9(0x348)+_0x9c8cca+_0x5416e9(0x342);}let Et=class extends _0x21c7f9{constructor(_0xb0976d,_0x18371c,_0x8cf5f1,_0x2e8b2a,_0x564bc3){var _0x2c6d7a=_0xf95350;super(),this[_0x2c6d7a(0x2fe)]=_0xb0976d,this[_0x2c6d7a(0x1e9)]=_0x18371c,this[_0x2c6d7a(0x215)]=_0x8cf5f1,this[_0x2c6d7a(0x29f)]=_0x2e8b2a,this['_snapshotServerService']=_0x564bc3;}['createSocket'](_0x10c564){var _0x49afcc=_0xf95350;const _0x54cc20=this['_injector'][_0x49afcc(0x151)](_0x45d75e);if(!_0x54cc20)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x5eccef=_0x54cc20[_0x49afcc(0x2d0)](_0x10c564);if(!_0x5eccef)throw new Error(_0x49afcc(0x211));const _0xfc2a18=new _0x144435(),_0x469038=new _0x1d9c1a();_0xfc2a18['add'](_0x5eccef['close$'][_0x49afcc(0x2f6)](_0x36a9dd=>_0x469038[_0x49afcc(0x2f9)](_0x36a9dd))),_0xfc2a18[_0x49afcc(0xe1)](_0x6c04a6(()=>_0x469038[_0x49afcc(0x140)]()));const _0x1748aa=new _0x1d9c1a();_0xfc2a18['add'](_0x5eccef[_0x49afcc(0xc0)][_0x49afcc(0x2f6)](_0x32aa12=>_0x1748aa[_0x49afcc(0x2f9)](_0x32aa12))),_0xfc2a18[_0x49afcc(0xe1)](_0x6c04a6(()=>_0x1748aa[_0x49afcc(0x140)]()));const _0x238c21=new _0x1d9c1a();_0xfc2a18['add'](_0x5eccef[_0x49afcc(0x265)][_0x49afcc(0x2f6)](_0x521dfd=>{var _0x275f1f=_0x49afcc;const _0x566a04=Ms(_0x521dfd);_0x238c21[_0x275f1f(0x2f9)](_0x566a04);})),_0xfc2a18[_0x49afcc(0xe1)](_0x6c04a6(()=>_0x238c21[_0x49afcc(0x140)]()));let _0x23198a;const _0x493d1e=()=>{var _0x85ebbb=_0x49afcc;_0x1748aa[_0x85ebbb(0x2f9)](new Event(_0x85ebbb(0x1f8))),_0x469038[_0x85ebbb(0x2f9)](new CloseEvent('connection\x20error')),_0x23198a[_0x85ebbb(0x11b)]();};return _0x23198a={'memberID':'','close$':_0x469038[_0x49afcc(0x206)](),'error$':_0x1748aa['asObservable'](),'open$':_0x5eccef[_0x49afcc(0x1bb)],'message$':_0x238c21[_0x49afcc(0x206)](),'send':_0xdbebab=>{var _0x27e48c=_0x49afcc;if(_0xdbebab[_0x27e48c(0xfd)]===F[_0x27e48c(0x13a)]){if(_0xdbebab[_0x27e48c(0x13f)]['eventID']===_0x15e414[_0x27e48c(0x20a)]){this[_0x27e48c(0x2dc)](_0x23198a,_0xdbebab[_0x27e48c(0x13f)])['catch'](_0x21e5ca=>{var _0xbec722=_0x27e48c;this['_logService'][_0xbec722(0x32c)](_0x21e5ca),_0x493d1e();});return;}if(_0xdbebab[_0x27e48c(0x13f)][_0x27e48c(0x276)]===_0x15e414['FETCH_MISSING']){const _0x571282=_0xdbebab[_0x27e48c(0x13f)];this[_0x27e48c(0x36c)](_0x571282)[_0x27e48c(0x111)](_0x5916c6=>{var _0x272463=_0x27e48c;_0x238c21['next']({'cmd':F['RECV'],'code':Ee['OK'],'routeKey':_0x571282[_0x272463(0x13f)][_0x272463(0x17e)],'routeType':'','data':{'eventID':_0x15e414['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x5916c6}}});})[_0x27e48c(0x221)](_0xaf823f=>{var _0xdf7767=_0x27e48c;this['_logService'][_0xdf7767(0x32c)](_0xaf823f),_0x493d1e();});return;}}_0x5eccef['send']($s(_0xdbebab));},'close':()=>{var _0x3def67=_0x49afcc;_0x5eccef['close'](),_0xfc2a18[_0x3def67(0x237)]();}},_0x23198a;}async[_0xf95350(0x2dc)](_0x542550,_0x7dfcb1){var _0x110f74=_0xf95350,_0x2ec7c5,_0x381e7d;const {unitType:_0x4f89e2,unitID:_0x54049d,changeset:_0x4e120}=_0x7dfcb1[_0x110f74(0x13f)],_0x52613a={'unitID':_0x54049d,'memberID':_0x542550[_0x110f74(0x33e)],'type':_0x4f89e2,'changeset':_0x4bb802(_0x4e120)},_0x37afb3=this[_0x110f74(0x215)]['getConfig'](ws),_0x1b5a9e=this[_0x110f74(0x215)]['getConfig'](q),_0x42ea33=Bs((_0x381e7d=(_0x2ec7c5=_0x1b5a9e==null?void 0x0:_0x1b5a9e[_0x110f74(0x147)])!=null?_0x2ec7c5:_0x37afb3)!=null?_0x381e7d:Us,_0x4f89e2,_0x54049d);try{await this['_http'][_0x110f74(0x24a)](_0x42ea33,{'body':_0x52613a});}catch(_0x2494d1){throw this[_0x110f74(0x29f)][_0x110f74(0x32c)](_0x110f74(0x2e2),_0x110f74(0x228)),_0x2494d1;}}async[_0xf95350(0x36c)](_0x1c43c4){var _0x56e3af=_0xf95350;const {unitID:_0x5e5aa8,from:_0x292fc6,to:_0x343b04,unitType:_0xa25154}=_0x1c43c4[_0x56e3af(0x13f)];return(await this[_0x56e3af(0x171)][_0x56e3af(0x263)]({'metadata':void 0x0},{'unitID':_0x5e5aa8,'type':_0xa25154,'from':_0x292fc6,'to':_0x343b04}))[_0x56e3af(0xfb)];}};Et=js([Ue(0x0,_0x1f377b(_0x459b1e)),Ue(0x1,_0x1f377b(_0x1d95e4)),Ue(0x2,_0x4ef789),Ue(0x3,_0x2cd95e),Ue(0x4,_0x359a3a)],Et);const Fs=_0xf95350(0x17f);function Vs(_0x940e3f){var _0x39a2c2=_0xf95350;return JSON[_0x39a2c2(0x1f2)](_0x940e3f)[_0x39a2c2(0x131)];}class bi{constructor(){var _0x5386c5=_0xf95350;N(this,_0x5386c5(0x264),new _0x1d9c1a()),N(this,_0x5386c5(0x192),this[_0x5386c5(0x264)][_0x5386c5(0x206)]());}[_0xf95350(0x18b)](_0x3953b3){var _0x1d3a8d=_0xf95350;this['_commentUpdate$'][_0x1d3a8d(0x2f9)](_0x3953b3);}}var Gs=Object[_0xf95350(0x35a)],Ws=Object[_0xf95350(0x1b5)],Ks=(_0xa4b3cf,_0xa435d2,_0x4f548c,_0x47884a)=>{var _0x430cae=_0xf95350;for(var _0x38d381=_0x47884a>0x1?void 0x0:_0x47884a?Ws(_0xa435d2,_0x4f548c):_0xa435d2,_0x14204f=_0xa4b3cf[_0x430cae(0x131)]-0x1,_0x364a34;_0x14204f>=0x0;_0x14204f--)(_0x364a34=_0xa4b3cf[_0x14204f])&&(_0x38d381=(_0x47884a?_0x364a34(_0xa435d2,_0x4f548c,_0x38d381):_0x364a34(_0x38d381))||_0x38d381);return _0x47884a&&_0x38d381&&Gs(_0xa435d2,_0x4f548c,_0x38d381),_0x38d381;},Kt=(_0x59f23f,_0x122405)=>(_0x41bd11,_0x2e6879)=>_0x122405(_0x41bd11,_0x2e6879,_0x59f23f);let xe=class extends _0x21c7f9{constructor(_0x1101fd,_0x5e15b5){var _0x5adc54=_0xf95350;super(),N(this,_0x5adc54(0x340),new Map()),N(this,_0x5adc54(0x1ba),new _0x1d9c1a()),(this['_univerInstanceService']=_0x1101fd,this['_userManagerService']=_0x5e15b5,this[_0x5adc54(0x359)](_0x127445(this[_0x5adc54(0x2e3)][_0x5adc54(0xb1)](_0x4fe211[_0x5adc54(0xda)])[_0x5adc54(0x39f)](_0x3dd616(_0x17f455=>_0x17f455['getUnitId']())),this[_0x5adc54(0x2e3)][_0x5adc54(0xb1)](_0x4fe211[_0x5adc54(0x2df)])[_0x5adc54(0x39f)](_0x3dd616(_0x437649=>_0x437649[_0x5adc54(0x298)]())),this[_0x5adc54(0x2e3)][_0x5adc54(0xb1)](_0x4fe211[_0x5adc54(0x2c9)])['pipe'](_0x3dd616(_0xd77b42=>_0xd77b42['getUnitId']())))[_0x5adc54(0x2f6)](_0x4ebd9b=>this[_0x5adc54(0x31c)](_0x4ebd9b))));}[_0xf95350(0x33a)](_0x3a048f){var _0x4472a4=_0xf95350;return this[_0x4472a4(0x340)][_0x4472a4(0x28d)](_0x3a048f)?_0x22b9ed(this[_0x4472a4(0x340)]['get'](_0x3a048f)):this[_0x4472a4(0x1ba)]['pipe'](_0x3dd616(_0x23624a=>{var _0x19a1d7=_0x4472a4;if(_0x23624a===_0x3a048f)return this[_0x19a1d7(0x340)]['get'](_0x23624a);}));}['setCurrentUser'](_0x2fffd8){var _0x1b4d7c=_0xf95350;this[_0x1b4d7c(0x262)]['setCurrentUser'](_0x2fffd8);}[_0xf95350(0x2fb)](){var _0x3a6317=_0xf95350;return this[_0x3a6317(0x262)][_0x3a6317(0x2fb)]();}[_0xf95350(0x15d)](_0xb82c91,_0x55e625){var _0xc53748=_0xf95350;let _0x2d6197=this['_roomMembers'][_0xc53748(0x151)](_0xb82c91);_0x2d6197||(_0x2d6197=new Ys(),this[_0xc53748(0x340)][_0xc53748(0x269)](_0xb82c91,_0x2d6197),this['_roomCreated$'][_0xc53748(0x2f9)](_0xb82c91)),_0x2d6197['updateMember'](_0x55e625);}[_0xf95350(0x203)](_0x2c0613,_0x5f29a7){var _0x17d626=_0xf95350;const _0xdb1a1=this[_0x17d626(0x340)][_0x17d626(0x151)](_0x2c0613);_0xdb1a1&&_0xdb1a1[_0x17d626(0x203)](_0x5f29a7);}[_0xf95350(0x1a4)](_0x4d17c1){var _0x40aa4d=_0xf95350;return this[_0x40aa4d(0x340)][_0x40aa4d(0x151)](_0x4d17c1);}[_0xf95350(0x1dd)](_0x174fb7,_0x2cb9f1){var _0x45a291=_0xf95350;const _0x458ddf=this[_0x45a291(0x340)][_0x45a291(0x151)](_0x174fb7);if(_0x458ddf)return _0x458ddf[_0x45a291(0x1dd)](_0x2cb9f1);}['_removeRoom'](_0x269d20){var _0x5ec998=_0xf95350;const _0x35bfa7=this['_roomMembers'][_0x5ec998(0x151)](_0x269d20);_0x35bfa7&&(_0x35bfa7[_0x5ec998(0x237)](),this[_0x5ec998(0x340)][_0x5ec998(0x1e1)](_0x269d20));}['dispose'](){var _0x4ba849=_0xf95350;this[_0x4ba849(0x340)][_0x4ba849(0x362)](_0x3a821e=>_0x3a821e['dispose']()),this[_0x4ba849(0x340)][_0x4ba849(0x2b0)](),this[_0x4ba849(0x1ba)][_0x4ba849(0x140)]();}};xe=Ks([Kt(0x0,_0x4accb0),Kt(0x1,_0x1f377b(_0x476b93))],xe);class Ys extends _0x21c7f9{constructor(){var _0x1de78a=_0xf95350;super(...arguments),N(this,_0x1de78a(0x346),new Map()),N(this,_0x1de78a(0x368),new _0x26dbcc(this[_0x1de78a(0x346)])),N(this,_0x1de78a(0x251),this[_0x1de78a(0x368)][_0x1de78a(0x206)]());}['dispose'](){var _0x25ccd0=_0xf95350;this[_0x25ccd0(0x346)][_0x25ccd0(0x2b0)]();}[_0xf95350(0x15d)](_0x2fd51e){var _0x21bd71=_0xf95350;this[_0x21bd71(0x346)][_0x21bd71(0x269)](_0x2fd51e[_0x21bd71(0x33e)],_0x2fd51e),this[_0x21bd71(0x2bf)]();}[_0xf95350(0x203)](_0x449b5f){var _0x3b305d=_0xf95350;this[_0x3b305d(0x346)]['delete'](_0x449b5f);}[_0xf95350(0x1dd)](_0x22fab7){var _0x4025a4=_0xf95350;return this[_0x4025a4(0x346)][_0x4025a4(0x151)](_0x22fab7);}['getAllMembers'](){var _0x433c2a=_0xf95350;return Array[_0x433c2a(0x375)](this[_0x433c2a(0x346)][_0x433c2a(0x1fe)]());}[_0xf95350(0x2bf)](){var _0x49d5a0=_0xf95350;this[_0x49d5a0(0x368)][_0x49d5a0(0x2f9)](this[_0x49d5a0(0x346)]);}}var qs=Object[_0xf95350(0x35a)],zs=Object[_0xf95350(0x1b5)],Js=(_0x1a1813,_0x460e1b,_0x2660a5,_0x31d87e)=>{var _0x5eccf8=_0xf95350;for(var _0x403466=_0x31d87e>0x1?void 0x0:_0x31d87e?zs(_0x460e1b,_0x2660a5):_0x460e1b,_0x309776=_0x1a1813[_0x5eccf8(0x131)]-0x1,_0x394603;_0x309776>=0x0;_0x309776--)(_0x394603=_0x1a1813[_0x309776])&&(_0x403466=(_0x31d87e?_0x394603(_0x460e1b,_0x2660a5,_0x403466):_0x394603(_0x403466))||_0x403466);return _0x31d87e&&_0x403466&&qs(_0x460e1b,_0x2660a5,_0x403466),_0x403466;},me=(_0x134345,_0x7c6c02)=>(_0x4daa9c,_0xbeba90)=>_0x7c6c02(_0x4daa9c,_0xbeba90,_0x134345),Te=(_0x10ae04=>(_0x10ae04[_0x10ae04['IDLE']=0x0]='IDLE',_0x10ae04[_0x10ae04['JOINING']=0x1]=_0xf95350(0x214),_0x10ae04[_0x10ae04[_0xf95350(0x188)]=0x2]=_0xf95350(0x188),_0x10ae04[_0x10ae04[_0xf95350(0x2fa)]=0x3]=_0xf95350(0x2fa),_0x10ae04))(Te||{});const Yt={[Ee[_0xf95350(0x2f7)]]:_0xf95350(0x231),[Ee[_0xf95350(0x10a)]]:_0xf95350(0x219),[Ee[_0xf95350(0x115)]]:_0xf95350(0x258),[Ee[_0xf95350(0x186)]]:'session.room-permission-denied',[Ee[_0xf95350(0x364)]]:_0xf95350(0x36b)};let It=class extends _0x426883{constructor(_0x1f732b,_0xfa80d7,_0x41cfe2,_0x2ad34a,_0x369c04,_0x1cbf3c,_0x462c1b,_0x5bd7a1,_0x27ab69){var _0x595fb0=_0xf95350;super(),N(this,'_sessionStatus$',new _0x26dbcc(0x0)),N(this,_0x595fb0(0x107),this['_sessionStatus$'][_0x595fb0(0x206)]()),N(this,_0x595fb0(0x21a),new _0x1d9c1a()),N(this,_0x595fb0(0x23d),this[_0x595fb0(0x21a)][_0x595fb0(0x206)]()),N(this,'_socket'),N(this,'_socketMessageSubscription'),N(this,_0x595fb0(0x15b)),N(this,_0x595fb0(0x223),!0x1),N(this,'_telemetryInfo',null),(this[_0x595fb0(0x216)]=_0x1f732b,this[_0x595fb0(0x29f)]=_0x41cfe2,this[_0x595fb0(0x215)]=_0x2ad34a,this[_0x595fb0(0x189)]=_0x369c04,this[_0x595fb0(0x372)]=_0x1cbf3c,this[_0x595fb0(0x2e4)]=_0x462c1b,this['_collaborationUIEventService']=_0x5bd7a1,this[_0x595fb0(0x181)]=_0x27ab69,this[_0x595fb0(0x223)]=!!this['_telemetryService'],_0xfa80d7[_0x595fb0(0x39f)](_0x30c8dd(this[_0x595fb0(0x205)]))['subscribe'](_0x350457=>{var _0x4a2b4b=_0x595fb0,_0xaedfa5;typeof _0x350457>'u'||(this['_socket']=_0x350457,_0x350457?(this[_0x4a2b4b(0x353)](_0x350457),this[_0x4a2b4b(0x36d)]=_0x350457[_0x4a2b4b(0x265)][_0x4a2b4b(0x2f6)](_0x364dac=>{var _0x3658fd=_0x4a2b4b;_0x364dac[_0x3658fd(0x26d)]===this[_0x3658fd(0x216)]&&this[_0x3658fd(0x394)](_0x364dac);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x4a2b4b(0x165)][_0x4a2b4b(0x2f9)](0x2),(_0xaedfa5=this['_socketMessageSubscription'])==null||_0xaedfa5[_0x4a2b4b(0x2e8)](),this[_0x4a2b4b(0x36d)]=null));}));}get['sessionStatus'](){var _0x3c8ef6=_0xf95350;return this['_sessionStatus$'][_0x3c8ef6(0x1a0)]();}[_0xf95350(0xd8)](){var _0x547097=_0xf95350,_0x504164,_0x27994c;return(_0x27994c=(_0x504164=this[_0x547097(0x142)])==null?void 0x0:_0x504164[_0x547097(0x33e)])!=null?_0x27994c:null;}[_0xf95350(0x237)](){var _0x5a3c0c=_0xf95350;super[_0x5a3c0c(0x237)](),this['dispose$'][_0x5a3c0c(0x2f9)](),this['dispose$']['complete']();}[_0xf95350(0x11b)](){var _0x5de2a4=_0xf95350,_0x4f4c5d,_0x27cd17;this[_0x5de2a4(0x24e)](),(_0x4f4c5d=this[_0x5de2a4(0x142)])==null||_0x4f4c5d[_0x5de2a4(0x1c4)]({'cmd':F[_0x5de2a4(0x391)],'data':{'roomID':this[_0x5de2a4(0x216)]}}),(_0x27cd17=this[_0x5de2a4(0x142)])==null||_0x27cd17[_0x5de2a4(0x11b)](),this[_0x5de2a4(0x21a)]['complete'](),this['_sessionStatus$'][_0x5de2a4(0x140)](),this[_0x5de2a4(0x237)]();}['_onCombEvent'](_0x2b2ecf){var _0x37c9ea=_0xf95350;_0x2b2ecf[_0x37c9ea(0xfd)]===F['JOIN']?this['_onJoinRoomEvent'](_0x2b2ecf):_0x2b2ecf[_0x37c9ea(0xfd)]===F[_0x37c9ea(0x284)]&&this[_0x37c9ea(0xe4)](_0x2b2ecf);}['_joinRoom'](_0x263371){var _0x1e0352=_0xf95350;this['_sessionStatus$'][_0x1e0352(0x2f9)](0x1),_0x263371[_0x1e0352(0x1c4)]({'cmd':F['JOIN'],'routeKey':this[_0x1e0352(0x216)],'routeType':'','data':{'rooms':[{'roomID':this[_0x1e0352(0x216)]}]}});}[_0xf95350(0xe3)](_0x21d169){var _0x159db8=_0xf95350,_0x548617;if(_0x21d169['code']in Yt){this[_0x159db8(0xd4)][_0x159db8(0x354)]({'id':ne[_0x159db8(0x32f)],'data':Yt[_0x21d169[_0x159db8(0x24c)]]}),this[_0x159db8(0x165)][_0x159db8(0x2f9)](0x2);return;}this[_0x159db8(0x165)][_0x159db8(0x2f9)](0x3);const _0x51e3fa=(_0x548617=_0x21d169[_0x159db8(0x13f)]['roomInfos'][this[_0x159db8(0x216)]])==null?void 0x0:_0x548617[_0x159db8(0x133)];_0x51e3fa&&_0x51e3fa['forEach'](_0x4418a7=>this['_memberService'][_0x159db8(0x15d)](this[_0x159db8(0x216)],_0x4418a7));}['_onRecvEvent'](_0x592c1e){var _0x59ca12=_0xf95350;try{const _0x479d24=_0x592c1e[_0x59ca12(0x13f)];switch(_0x479d24[_0x59ca12(0x276)]){case _0x15e414[_0x59ca12(0x242)]:this[_0x59ca12(0x355)](_0x479d24),this[_0x59ca12(0x21a)][_0x59ca12(0x2f9)](_0x479d24);break;case _0x15e414[_0x59ca12(0x31f)]:this['_onUserLeave'](_0x479d24),this[_0x59ca12(0x21a)]['next'](_0x479d24);break;case _0x15e414[_0x59ca12(0x287)]:case _0x15e414[_0x59ca12(0x1d8)]:this[_0x59ca12(0x35f)](),this[_0x59ca12(0x34b)](),this[_0x59ca12(0x21a)]['next'](_0x479d24);break;case _0x15e414['MSG_FOR_ERROR']:this[_0x59ca12(0x29f)][_0x59ca12(0x32c)](_0x59ca12(0x299)+JSON['stringify'](_0x479d24)),this[_0x59ca12(0x21a)][_0x59ca12(0x2f9)](_0x479d24);break;case _0x15e414[_0x59ca12(0x240)]:this[_0x59ca12(0x2e4)]['onCommentUpdate'](_0x479d24[_0x59ca12(0x13f)]),this['_event$'][_0x59ca12(0x2f9)](_0x479d24);break;default:this['_event$'][_0x59ca12(0x2f9)](_0x479d24);}}catch(_0x19ab87){this[_0x59ca12(0x29f)][_0x59ca12(0x32c)](_0x19ab87,_0x592c1e);}}[_0xf95350(0x355)](_0x54adf0){var _0xd86983=_0xf95350;this[_0xd86983(0x372)][_0xd86983(0x15d)](this['_unitID'],_0x54adf0[_0xd86983(0x13f)]);}[_0xf95350(0xdb)](_0x275ff5){var _0x341007=_0xf95350;this[_0x341007(0x372)]['removeMember'](this['_unitID'],_0x275ff5[_0x341007(0x13f)]['memberID']);}async[_0xf95350(0x1c4)](_0x31ac7c,_0x4c06bd){var _0xfb84b9=_0xf95350;if(this[_0xfb84b9(0x16e)]!==0x3||!this[_0xfb84b9(0x142)])throw new Error(_0xfb84b9(0x161));try{_0x31ac7c['eventID']===_0x15e414[_0xfb84b9(0x20a)]&&(this[_0xfb84b9(0x344)](),this[_0xfb84b9(0x36a)](_0x31ac7c)),this[_0xfb84b9(0x142)][_0xfb84b9(0x1c4)]({'cmd':F[_0xfb84b9(0x13a)],'routeKey':_0x4c06bd,'routeType':'','data':_0x31ac7c});}catch(_0xc1a2e2){this[_0xfb84b9(0x29f)][_0xfb84b9(0x32c)](_0xc1a2e2);}}[_0xf95350(0x344)](){var _0x772391=_0xf95350,_0x97dc26;this[_0x772391(0x15b)]=setTimeout(()=>{var _0x2b5d9a=_0x772391;this['_collaborationTimeoutTimer']=null,this[_0x2b5d9a(0xd4)][_0x2b5d9a(0x354)]({'id':ne[_0x2b5d9a(0x1b1)]});},(_0x97dc26=this[_0x772391(0x215)][_0x772391(0x1ab)](Si))!=null?_0x97dc26:Ei);}[_0xf95350(0x34b)](){var _0x47f981=_0xf95350;this[_0x47f981(0x15b)]&&(clearTimeout(this[_0x47f981(0x15b)]),this['_collaborationTimeoutTimer']=null);}[_0xf95350(0x36a)](_0x3b64f9){var _0x196237=_0xf95350;if(!this['_shouldReportTelemetry'])return;const {data:_0x932e1a}=_0x3b64f9,{unitID:_0x992897,changeset:_0x174862}=_0x932e1a,{mutations:_0x11ce16,type:_0x5e25f1}=_0x174862;this[_0x196237(0xee)]={'unitId':_0x992897,'type':_0x5e25f1,'startTime':performance[_0x196237(0x109)](),'stopTime':0x0,'duration':0x0,'size':Vs(_0x11ce16)};}[_0xf95350(0x35f)](){var _0x2e99ff=_0xf95350;if(this[_0x2e99ff(0x223)]){if(!this[_0x2e99ff(0xee)]){this['_logService'][_0x2e99ff(0x32c)](_0x2e99ff(0x2e2),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x2e99ff(0xee)][_0x2e99ff(0x283)]=performance[_0x2e99ff(0x109)](),this[_0x2e99ff(0xee)][_0x2e99ff(0x2b4)]=this['_telemetryInfo']['stopTime']-this[_0x2e99ff(0xee)][_0x2e99ff(0x19f)],this[_0x2e99ff(0x181)][_0x2e99ff(0x2f4)](Fs,this['_telemetryInfo']),this[_0x2e99ff(0xee)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}};It=Js([me(0x2,_0x2cd95e),me(0x3,_0x4ef789),me(0x4,_0x1f377b(_0x3b591c)),me(0x5,_0x1f377b(xe)),me(0x6,_0x1f377b(bi)),me(0x7,_0x1f377b(pe)),me(0x8,_0x36e3d4(_0x4c4a70))],It);var Xs=Object[_0xf95350(0x35a)],Zs=Object[_0xf95350(0x1b5)],Qs=(_0x446e3e,_0x177da2,_0x5ebd89,_0x179af7)=>{var _0x419704=_0xf95350;for(var _0x22f99b=_0x179af7>0x1?void 0x0:_0x179af7?Zs(_0x177da2,_0x5ebd89):_0x177da2,_0x105079=_0x446e3e[_0x419704(0x131)]-0x1,_0x1b0795;_0x105079>=0x0;_0x105079--)(_0x1b0795=_0x446e3e[_0x105079])&&(_0x22f99b=(_0x179af7?_0x1b0795(_0x177da2,_0x5ebd89,_0x22f99b):_0x1b0795(_0x22f99b))||_0x22f99b);return _0x179af7&&_0x22f99b&&Xs(_0x177da2,_0x5ebd89,_0x22f99b),_0x22f99b;},ge=(_0x1186f8,_0x5286ac)=>(_0x3462ec,_0x4504b3)=>_0x5286ac(_0x3462ec,_0x4504b3,_0x1186f8);let Le=class extends _0x21c7f9{constructor(_0x40221e,_0x4c7217,_0x5b0b3f,_0x59141d,_0x38685f,_0x2a37cb,_0xb91999){var _0x7d9743=_0xf95350;super(),N(this,_0x7d9743(0x1ef),new _0x26dbcc(void 0x0)),N(this,'socket$',this[_0x7d9743(0x1ef)]['asObservable']()),N(this,_0x7d9743(0x144),null),N(this,'_sessions',new Map()),N(this,_0x7d9743(0x2db),new _0x26dbcc(Te[_0x7d9743(0x2bd)])),N(this,_0x7d9743(0x201),this[_0x7d9743(0x2db)]['asObservable']()),N(this,'_socketReady',!0x1),N(this,_0x7d9743(0xf7)),N(this,_0x7d9743(0x218),0x0),N(this,_0x7d9743(0x3a8)),N(this,_0x7d9743(0x371)),(this[_0x7d9743(0x2fe)]=_0x40221e,this[_0x7d9743(0x29f)]=_0x4c7217,this['_configService']=_0x5b0b3f,this['_socketService']=_0x59141d,this[_0x7d9743(0xdf)]=_0x38685f,this[_0x7d9743(0xd4)]=_0x2a37cb,this[_0x7d9743(0x2ea)]=_0xb91999,this['_listenToNetworkCondition']());}get[_0xf95350(0x142)](){var _0x3ed577=_0xf95350;return this[_0x3ed577(0x1ef)][_0x3ed577(0x1a0)]();}[_0xf95350(0x114)](){var _0x584f9a=_0xf95350;this[_0x584f9a(0x2ea)]&&this[_0x584f9a(0x359)](this['_networkConditionService'][_0x584f9a(0x38f)][_0x584f9a(0x2f6)](_0x282f88=>{var _0x271907=_0x584f9a;_0x282f88&&!this[_0x271907(0x142)]&&this[_0x271907(0x2de)](),_0x282f88||this[_0x271907(0x21d)]();}));}['dispose'](){var _0x533fa3=_0xf95350;super['dispose'](),this[_0x533fa3(0x11e)][_0x533fa3(0x362)](_0x41503d=>_0x41503d['dispose']()),this[_0x533fa3(0x11e)][_0x533fa3(0x2b0)](),this[_0x533fa3(0x2db)][_0x533fa3(0x140)]();}async[_0xf95350(0x24b)](_0x170546){var _0x5b480e=_0xf95350;if(this['_sessions']['has'](_0x170546))return this['_sessions'][_0x5b480e(0x151)](_0x170546);this['_tryEnsureSocket']();const _0x246f31=this[_0x5b480e(0x2fe)][_0x5b480e(0xf6)](It,_0x170546,this[_0x5b480e(0x1ef)]['asObservable']());return this[_0x5b480e(0x11e)][_0x5b480e(0x269)](_0x170546,_0x246f31),_0x246f31;}[_0xf95350(0x2a3)](_0x100497){var _0x3b494a=_0xf95350,_0xb17ff4;const _0x15c1a7=this[_0x3b494a(0x11e)][_0x3b494a(0x151)](_0x100497);_0x15c1a7&&(this[_0x3b494a(0x11e)][_0x3b494a(0x1e1)](_0x100497),_0x15c1a7['close']()),this['_sessions']['size']||(_0xb17ff4=this[_0x3b494a(0x142)])==null||_0xb17ff4[_0x3b494a(0x11b)]();}[_0xf95350(0x2de)](){var _0x2efd26=_0xf95350;this[_0x2efd26(0x218)]=0x0,this[_0x2efd26(0xf7)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x2efd26(0xf7)]=null),this[_0x2efd26(0x19b)]();}async[_0xf95350(0x17b)](){var _0x4ff0e7=_0xf95350,_0x2a883c,_0x30e4aa,_0x2ca886;const _0xb3ca90=this[_0x4ff0e7(0x215)]['getConfig'](q),_0xc9d79a=(_0x2a883c=_0xb3ca90==null?void 0x0:_0xb3ca90[_0x4ff0e7(0x2e5)])!=null?_0x2a883c:Rs;return(_0x2ca886=(_0x30e4aa=(await this[_0x4ff0e7(0xdf)][_0x4ff0e7(0x151)](_0xc9d79a,{'headers':{'Content-Type':_0x4ff0e7(0x29c)}}))[_0x4ff0e7(0x2c1)])==null?void 0x0:_0x30e4aa[_0x4ff0e7(0x12c)])!=null?_0x2ca886:'';}[_0xf95350(0x18d)](_0x1e60e5){var _0x4a9604=_0xf95350,_0x1d3259,_0x596de2;const _0x14e267=this[_0x4a9604(0x215)][_0x4a9604(0x1ab)](Cs),_0x5339e0=this[_0x4a9604(0x215)][_0x4a9604(0x1ab)](q),_0x20ac3a=(_0x596de2=(_0x1d3259=_0x5339e0==null?void 0x0:_0x5339e0[_0x4a9604(0x154)])!=null?_0x1d3259:_0x14e267)!=null?_0x596de2:bs,_0x522855=typeof window>'u'?new URL(_0x20ac3a):new URL(_0x20ac3a,window['location'][_0x4a9604(0x17c)]);_0x522855[_0x4a9604(0xc3)][_0x4a9604(0x269)](_0x4a9604(0x152),_0x1e60e5);const _0x4738bc=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x4a9604(0x280)]);return _0x4738bc[_0x4a9604(0x151)]('runId')&&_0x522855[_0x4a9604(0xc3)][_0x4a9604(0x269)](_0x4a9604(0xdd),_0x4738bc[_0x4a9604(0x151)]('runId')),_0x522855[_0x4a9604(0x1e3)]();}async[_0xf95350(0xe8)](){var _0x409864=_0xf95350;const _0x1cc6ac=await this['_getSessionTicket'](),_0x178759=this['_createSocketURL'](_0x1cc6ac),_0x2a9a0a=this[_0x409864(0x12a)]['createSocket'](_0x178759);return this[_0x409864(0x144)]=_0x2a9a0a,_0x2a9a0a;}async[_0xf95350(0x175)](){var _0x23d514=_0xf95350,_0x93c52,_0x474c39;try{const _0x177c68=(_0x474c39=(_0x93c52=this[_0x23d514(0x142)])!=null?_0x93c52:this['_candidateSocket'])!=null?_0x474c39:await this[_0x23d514(0xe8)]();if(_0x177c68){const _0x165119=_0x177c68[_0x23d514(0x1c4)];_0x177c68[_0x23d514(0x1c4)]=_0x236d7d=>(this[_0x23d514(0x15c)](),_0x165119[_0x23d514(0x279)](_0x177c68,[_0x236d7d])),_0x177c68[_0x23d514(0x265)][_0x23d514(0x2f6)](_0x41eca6=>this[_0x23d514(0x30a)](_0x177c68,_0x41eca6)),_0x177c68[_0x23d514(0xc0)][_0x23d514(0x39f)](_0x4f99c6(0x1))[_0x23d514(0x2f6)](_0x2d98dc=>this['_logService'][_0x23d514(0x32c)](_0x23d514(0x381),_0x2d98dc)),_0x177c68['open$'][_0x23d514(0x39f)](_0x4f99c6(0x1))['subscribe'](()=>{var _0x5b298b=_0x23d514;this[_0x5b298b(0x306)](_0x177c68);}),_0x177c68[_0x23d514(0xca)][_0x23d514(0x39f)](_0x4f99c6(0x1))['subscribe'](_0x353184=>{var _0x5ca668=_0x23d514;this[_0x5ca668(0x29f)][_0x5ca668(0xd7)](_0x5ca668(0x12d),_0x5ca668(0x137),_0x353184),this[_0x5ca668(0x1e4)]();});}}catch(_0x5df28b){this[_0x23d514(0x29f)][_0x23d514(0x32c)](_0x5df28b),this[_0x23d514(0x1e4)]();}}[_0xf95350(0x306)](_0x427261){var _0xfb5717=_0xf95350;this[_0xfb5717(0x29f)][_0xfb5717(0xd7)](_0xfb5717(0x12d),'socket\x20open.'),_0x427261['send']({'cmd':F[_0xfb5717(0x1d3)]}),this[_0xfb5717(0x15c)]();}[_0xf95350(0x21d)](){var _0x330981=_0xf95350;this[_0x330981(0x100)]=!0x1,this['_candidateSocket']=null,this[_0x330981(0x2db)]['next'](Te[_0x330981(0x188)]),this[_0x330981(0x1ef)][_0x330981(0x2f9)](null),this[_0x330981(0x197)](),this[_0x330981(0x2a7)]();}[_0xf95350(0x1e4)](){var _0x8239b8=_0xf95350,_0x3e5ce1;this[_0x8239b8(0x21d)](),this[_0x8239b8(0x218)]<((_0x3e5ce1=this[_0x8239b8(0x215)][_0x8239b8(0x1ab)](Ds))!=null?_0x3e5ce1:Ps)?(this[_0x8239b8(0xd4)][_0x8239b8(0x354)]({'id':ne['SOCKET_FAILED_RETRY']}),this['_tryReconnect']()):this[_0x8239b8(0xd4)][_0x8239b8(0x354)]({'id':ne['SOCKET_FAILED']});}['_tryReconnect'](){var _0x5a87e3=_0xf95350,_0x22387b;const _0x1928cb=this['_retryCount'],_0x4356d6=this[_0x5a87e3(0x215)][_0x5a87e3(0x1ab)](q),_0x43dedb=_0x1928cb===0x0?0x0:((_0x22387b=_0x4356d6==null?void 0x0:_0x4356d6[_0x5a87e3(0x29b)])!=null?_0x22387b:Ns)*0x2**_0x1928cb;this[_0x5a87e3(0xf7)]=setTimeout(()=>{var _0x466e42=_0x5a87e3;clearTimeout(this[_0x466e42(0xf7)]),this[_0x466e42(0xf7)]=null,this[_0x466e42(0x175)]();},_0x43dedb),this[_0x5a87e3(0x218)]+=0x1;}[_0xf95350(0x30a)](_0x50ea50,_0x26223a){var _0x2e3258=_0xf95350;const {cmd:_0x10edcb}=_0x26223a;_0x10edcb===F['HELLO']&&!this[_0x2e3258(0x100)]&&(_0x50ea50[_0x2e3258(0x33e)]=_0x26223a[_0x2e3258(0x13f)][_0x2e3258(0x33e)],this[_0x2e3258(0x1ef)]['next'](_0x50ea50),this[_0x2e3258(0x2db)][_0x2e3258(0x2f9)](Te['ONLINE']),this[_0x2e3258(0x100)]=!0x0,this[_0x2e3258(0x144)]=null),_0x10edcb===F['HEARTBEAT']&&this['_clearTimeoutTimer'](),this[_0x2e3258(0x15c)]();}['_rescheduleHeartbeat'](){var _0x571e08=_0xf95350,_0x1461ee;this['_clearHeartbeatTimer'](),this[_0x571e08(0x3a8)]=setTimeout(()=>this[_0x571e08(0x314)](),(_0x1461ee=this[_0x571e08(0x215)]['getConfig'](Os))!=null?_0x1461ee:ys);}[_0xf95350(0x314)](){var _0x49227b=_0xf95350;this[_0x49227b(0x142)][_0x49227b(0x1c4)]({'cmd':F[_0x49227b(0x25c)]}),this[_0x49227b(0x128)]();}[_0xf95350(0x128)](){var _0x2edf62=_0xf95350,_0x380963;this[_0x2edf62(0x371)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x380963=this[_0x2edf62(0x215)][_0x2edf62(0x1ab)](Si))!=null?_0x380963:Ei);}[_0xf95350(0x2a7)](){var _0x49f1ce=_0xf95350;this[_0x49f1ce(0x3a8)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0xf95350(0x197)](){var _0xa35551=_0xf95350;this[_0xa35551(0x371)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0xa35551(0x371)]=null);}};Le=Qs([ge(0x0,_0x1f377b(_0x459b1e)),ge(0x1,_0x2cd95e),ge(0x2,_0x4ef789),ge(0x3,Ci),ge(0x4,_0x1f377b(_0x1d95e4)),ge(0x5,_0x1f377b(pe)),ge(0x6,_0x36e3d4(Ls))],Le);const V=[];for(let s=0x0;s<0x100;++s)V[_0xf95350(0x2e0)]((s+0x100)[_0xf95350(0x1e3)](0x10)[_0xf95350(0x2dd)](0x1));function er(_0x1647ff,_0x403e08=0x0){var _0x5d322f=_0xf95350;return(V[_0x1647ff[_0x403e08+0x0]]+V[_0x1647ff[_0x403e08+0x1]]+V[_0x1647ff[_0x403e08+0x2]]+V[_0x1647ff[_0x403e08+0x3]]+'-'+V[_0x1647ff[_0x403e08+0x4]]+V[_0x1647ff[_0x403e08+0x5]]+'-'+V[_0x1647ff[_0x403e08+0x6]]+V[_0x1647ff[_0x403e08+0x7]]+'-'+V[_0x1647ff[_0x403e08+0x8]]+V[_0x1647ff[_0x403e08+0x9]]+'-'+V[_0x1647ff[_0x403e08+0xa]]+V[_0x1647ff[_0x403e08+0xb]]+V[_0x1647ff[_0x403e08+0xc]]+V[_0x1647ff[_0x403e08+0xd]]+V[_0x1647ff[_0x403e08+0xe]]+V[_0x1647ff[_0x403e08+0xf]])[_0x5d322f(0x177)]();}let ut;const tr=new Uint8Array(0x10);function ir(){var _0x3b4bc2=_0xf95350;if(!ut){if(typeof crypto>'u'||!crypto[_0x3b4bc2(0x301)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');ut=crypto[_0x3b4bc2(0x301)][_0x3b4bc2(0x339)](crypto);}return ut(tr);}const sr=typeof crypto<'u'&&crypto[_0xf95350(0x1b3)]&&crypto[_0xf95350(0x1b3)][_0xf95350(0x339)](crypto),qt={'randomUUID':sr};function rr(_0x25bf7d,_0x5a67c4,_0x41635e){var _0x596e51=_0xf95350;if(qt[_0x596e51(0x1b3)]&&!_0x5a67c4&&!_0x25bf7d)return qt[_0x596e51(0x1b3)]();_0x25bf7d=_0x25bf7d||{};const _0x1f65db=_0x25bf7d[_0x596e51(0x220)]||(_0x25bf7d[_0x596e51(0x25d)]||ir)();return _0x1f65db[0x6]=_0x1f65db[0x6]&0xf|0x40,_0x1f65db[0x8]=_0x1f65db[0x8]&0x3f|0x80,er(_0x1f65db);}const J=_0x5f2d11(_0xf95350(0xd5));function no(_0x308307){return'unit-cache-'+_0x308307;}var nr=Object[_0xf95350(0x35a)],or=Object[_0xf95350(0x1b5)],ar=(_0x5b2987,_0x3de9fd,_0x513f47,_0x4812b4)=>{var _0x2fde73=_0xf95350;for(var _0x452a02=_0x4812b4>0x1?void 0x0:_0x4812b4?or(_0x3de9fd,_0x513f47):_0x3de9fd,_0x37e4b2=_0x5b2987[_0x2fde73(0x131)]-0x1,_0x15359c;_0x37e4b2>=0x0;_0x37e4b2--)(_0x15359c=_0x5b2987[_0x37e4b2])&&(_0x452a02=(_0x4812b4?_0x15359c(_0x3de9fd,_0x513f47,_0x452a02):_0x15359c(_0x452a02))||_0x452a02);return _0x4812b4&&_0x452a02&&nr(_0x3de9fd,_0x513f47,_0x452a02),_0x452a02;},dt=(_0x314abb,_0x929054)=>(_0x4b34d1,_0x4f76da)=>_0x929054(_0x4b34d1,_0x4f76da,_0x314abb);function cr(_0x37e08b){var _0x398bb0=_0xf95350;const {unitID:_0x34219e,mutations:_0x3a6b98}=_0x37e08b;return{'unitId':_0x34219e,'subUnitId':_0x3a6b98[0x0][_0x398bb0(0x39e)][_0x398bb0(0x33d)]};}let it=class{constructor(_0x52deff,_0xd0b066,_0x858f66){var _0x54b935=_0xf95350;this[_0x54b935(0x2fe)]=_0x52deff,this['_transformService']=_0xd0b066,this[_0x54b935(0x308)]=_0x858f66;}[_0xf95350(0x233)](_0x267ff1){var _0x493b2d=_0xf95350,_0x34aa78,_0x4d0fe0,_0x455c88,_0x1f649d;const _0xe68dc6=this['_injector']['get'](_0x232e9a),{unitId:_0x329a73,subUnitId:_0x418fcd}=cr(_0x267ff1),_0x49553=_0xe68dc6==null?void 0x0:_0xe68dc6['getWorkbookSelections'](_0x329a73)[_0x493b2d(0x399)](),_0x5071cc=(_0x4d0fe0=(_0x34aa78=this[_0x493b2d(0x308)][_0x493b2d(0x225)](_0x329a73))==null?void 0x0:_0x34aa78[_0x493b2d(0x352)]())==null?void 0x0:_0x4d0fe0[_0x493b2d(0x380)]();if(_0x49553[_0x493b2d(0x131)]===0x0||!_0x329a73||!_0x418fcd)return;const _0x676816=[{'id':_0x244d63['id'],'params':{'unitId':_0x329a73,'subUnitId':_0x5071cc,'selections':_0x324eba[_0x493b2d(0x1f1)](_0x49553)}}],_0x6097f4=this[_0x493b2d(0x16c)]['transformMutationsWithChangeset'](_0x267ff1,_0x676816);if(!_0x5e1805(_0x6097f4))throw _0x6097f4[_0x493b2d(0x32c)];const _0x1bdaec=(_0x1f649d=(_0x455c88=_0x6097f4['m2Prime'][0x0])==null?void 0x0:_0x455c88[_0x493b2d(0x39e)])==null?void 0x0:_0x1f649d[_0x493b2d(0x22e)];if(Array[_0x493b2d(0x28e)](_0x1bdaec)&&_0x1bdaec[_0x493b2d(0x131)]){if(_0x1bdaec['length']===_0x676816[0x0][_0x493b2d(0x39e)][_0x493b2d(0x22e)][_0x493b2d(0x131)]&&_0x1bdaec['every']((_0x100abd,_0x1242b7)=>_0x107aa5['equals'](_0x100abd[_0x493b2d(0x396)],_0x676816[0x0][_0x493b2d(0x39e)]['selections'][_0x1242b7][_0x493b2d(0x396)])))return;this[_0x493b2d(0x2fe)][_0x493b2d(0x151)](_0x16ead5)[_0x493b2d(0x309)](_0x244d63['id'],{'unitId':_0x329a73,'subUnitId':_0x5071cc,'selections':_0x1bdaec});}}};it=ar([dt(0x0,_0x1f377b(_0x459b1e)),dt(0x1,_0xd312f2),dt(0x2,_0x4accb0)],it);const ht=_0x5f2d11(_0xf95350(0x1e8));var Ri=(_0x5d4e37=>(_0x5d4e37[_0x5d4e37['NO_OTHER_CLIENTS_EDITING']=0x0]=_0xf95350(0x207),_0x5d4e37[_0x5d4e37['OTHER_CLIENTS_EDITING']=0x1]=_0xf95350(0x18a),_0x5d4e37))(Ri||{});const hr=new Set([_0x4090d9['id']]);function zt(_0x317ba6,_0x1b2bac,_0x5be8ba,_0xcad0d2,_0x407ef9){var _0x54a6f5=_0xf95350,_0x3508cb,_0x6051e0,_0x557011,_0x4c95e9;const _0x10b9cb=[];for(const _0x87a995 of _0x317ba6)if(hr[_0x54a6f5(0x28d)](_0x87a995['id'])){if(_0x10b9cb['length']>0x0)break;_0x10b9cb['push'](_0x87a995);break;}else _0x10b9cb[_0x54a6f5(0x2e0)](_0x87a995);const _0x4e1237=(_0x6051e0=(_0x3508cb=_0x407ef9[_0x54a6f5(0x2fb)]())==null?void 0x0:_0x3508cb[_0x54a6f5(0x1b9)])!=null?_0x6051e0:_0x54a6f5(0x397),_0x1a0e34=(_0x4c95e9=(_0x557011=_0x407ef9[_0x54a6f5(0x2fb)]())==null?void 0x0:_0x557011['memberID'])!=null?_0x4c95e9:'unknown';return{'changeset':{'unitID':_0x1b2bac,'type':_0x1bcb48(_0x5be8ba[_0x54a6f5(0x25a)](_0x1b2bac)),'baseRev':_0xcad0d2['getCurrentRevOfUnit'](_0x1b2bac),'revision':0x0,'userID':_0x4e1237,'memberID':_0x1a0e34,'mutations':_0x10b9cb},'pendingMutations':_0x317ba6[_0x54a6f5(0x2dd)](_0x10b9cb[_0x54a6f5(0x131)])};}function _r(_0x180304,_0xd9e871,_0x7baa9b,_0x2f4fd9,_0x2c1c13){var _0x404315=_0xf95350,_0x2fe7d3,_0xd81ffd,_0x5f47c2,_0x6eddd3;const _0x5e3af8=[_0x180304[_0x404315(0x2ad)]((_0x590711,_0x18fc5c)=>{var _0x417f07=_0x404315,_0x334504;const {id:_0x479435}=_0x590711,{id:_0x335204,type:_0x2262be}=_0x18fc5c,_0x346b65=(_0x334504=_0x590711[_0x417f07(0x39e)])!=null?_0x334504:{'actions':null},_0x100539=_0x18fc5c[_0x417f07(0x39e)];if(_0x479435&&_0x479435!==_0x335204)throw new Error(_0x417f07(0x311)+_0x479435+_0x417f07(0x39b)+_0x335204+'.');return{..._0x590711,'id':_0x335204,'type':_0x2262be,'params':{'unitId':_0x100539[_0x417f07(0x149)],'textRanges':_0x100539[_0x417f07(0x20c)],'actions':_0x34d239[_0x417f07(0x2b2)](_0x346b65[_0x417f07(0x163)],_0x100539[_0x417f07(0x163)])}};},{})],_0x43c40b=(_0xd81ffd=(_0x2fe7d3=_0x2c1c13[_0x404315(0x2fb)]())==null?void 0x0:_0x2fe7d3[_0x404315(0x1b9)])!=null?_0xd81ffd:'unknown',_0x51fec6=(_0x6eddd3=(_0x5f47c2=_0x2c1c13[_0x404315(0x2fb)]())==null?void 0x0:_0x5f47c2[_0x404315(0x33e)])!=null?_0x6eddd3:_0x404315(0x397);return{'changeset':{'unitID':_0xd9e871,'type':_0x1bcb48(_0x7baa9b[_0x404315(0x25a)](_0xd9e871)),'baseRev':_0x2f4fd9['getCurrentRevOfUnit'](_0xd9e871),'revision':0x0,'userID':_0x43c40b,'memberID':_0x51fec6,'mutations':_0x5e3af8},'pendingMutations':[]};}function Oi(_0x2dd375,_0x111a07){var _0x115d9f=_0xf95350;const _0x4aed4a=new _0x2eb1e0(0x1);return setTimeout(()=>_0x4aed4a[_0x115d9f(0x2f9)](_0x111a07),_0x2dd375),_0x4aed4a[_0x115d9f(0x206)]()[_0x115d9f(0x39f)](_0x3b0b7e(0x1));}function _0x4451(_0x13226c,_0x5cf809){var _0x58d966=_0x58d9();return _0x4451=function(_0x4451c4,_0x27ae80){_0x4451c4=_0x4451c4-0xa9;var _0x4bf4e5=_0x58d966[_0x4451c4];return _0x4bf4e5;},_0x4451(_0x13226c,_0x5cf809);}const lr={'id':_0x27bacb['id'],'type':_0x368d91[_0xf95350(0x261)],'params':{}};var ur=Object['defineProperty'],dr=Object[_0xf95350(0x1b5)],be=(_0x34e0f4,_0x1624cd,_0x260ae3,_0x2c6e5c)=>{var _0x319682=_0xf95350;for(var _0x207ea1=_0x2c6e5c>0x1?void 0x0:_0x2c6e5c?dr(_0x1624cd,_0x260ae3):_0x1624cd,_0xacab4c=_0x34e0f4[_0x319682(0x131)]-0x1,_0x46946e;_0xacab4c>=0x0;_0xacab4c--)(_0x46946e=_0x34e0f4[_0xacab4c])&&(_0x207ea1=(_0x2c6e5c?_0x46946e(_0x1624cd,_0x260ae3,_0x207ea1):_0x46946e(_0x207ea1))||_0x207ea1);return _0x2c6e5c&&_0x207ea1&&ur(_0x1624cd,_0x260ae3,_0x207ea1),_0x207ea1;},A=(_0x2f2d20,_0x508a0b)=>(_0x3a4b46,_0x27af83)=>_0x508a0b(_0x3a4b46,_0x27af83,_0x2f2d20),yi=(_0x2bbf80=>(_0x2bbf80[_0xf95350(0x1aa)]='not_collab',_0x2bbf80['SYNCED']=_0xf95350(0x230),_0x2bbf80[_0xf95350(0x134)]=_0xf95350(0x200),_0x2bbf80[_0xf95350(0x260)]=_0xf95350(0x278),_0x2bbf80[_0xf95350(0x31e)]='awaiting_with_pending',_0x2bbf80['FETCH_MISS']=_0xf95350(0x3a7),_0x2bbf80['CONFLICT']=_0xf95350(0x2d3),_0x2bbf80[_0xf95350(0x188)]='offline',_0x2bbf80))(yi||{});const Ni=0xea60;class Re{constructor(_0x54683b,_0x5055b5,_0x3f2d5f,_0x4737c0,_0x3174d8,_0x1c08ce,_0x15e308,_0x3d1336,_0x1d6dee){var _0x4ed560=_0xf95350;N(this,_0x4ed560(0x34d),null),N(this,_0x4ed560(0x2af),[]),(this[_0x4ed560(0x17e)]=_0x54683b,this[_0x4ed560(0x2fd)]=_0x5055b5,this[_0x4ed560(0xf1)]=_0x3174d8,this[_0x4ed560(0x2e7)]=_0x1c08ce,this[_0x4ed560(0x14e)]=_0x15e308,this['_revisionService']=_0x3d1336,this[_0x4ed560(0x1a1)]=_0x1d6dee,this['_awaitingChangeset']=_0x3f2d5f,this[_0x4ed560(0x2af)]=_0x4737c0);}[_0xf95350(0x392)](_0x1dc91f){var _0x27138c=_0xf95350;const _0x3e2335=this[_0x27138c(0x1e0)][_0x27138c(0x145)](this['unitID']);return _0x1dc91f['revision']>_0x3e2335+0x1?(this[_0x27138c(0xf1)][_0x27138c(0x122)]({'from':_0x3e2335,'to':_0x1dc91f[_0x27138c(0x235)]-0x1}),!0x0):!0x1;}[_0xf95350(0x14a)](_0x2df9fd){var _0x76d864=_0xf95350;this[_0x76d864(0x14e)][_0x76d864(0x224)](this[_0x76d864(0x17e)],_0x2df9fd);}[_0xf95350(0x156)](_0x557d56){var _0x1e9199=_0xf95350,_0x51baa9,_0x15dd1e;(_0x15dd1e=(_0x51baa9=this[_0x1e9199(0xf1)])[_0x1e9199(0x398)])==null||_0x15dd1e[_0x1e9199(0x2d8)](_0x51baa9,_0x557d56);}['_transformIMECache'](_0x1f3185){var _0x1c4617=_0xf95350,_0x7c8061,_0x185ea7;return(_0x185ea7=(_0x7c8061=this[_0x1c4617(0xf1)])[_0x1c4617(0x19d)])==null?void 0x0:_0x185ea7[_0x1c4617(0x2d8)](_0x7c8061,_0x1f3185);}[_0xf95350(0x294)](_0x4fe047){var _0x37e49c=_0xf95350,_0xc4ebb2,_0x27f96d;return(_0x27f96d=(_0xc4ebb2=this[_0x37e49c(0xf1)])[_0x37e49c(0x2a1)])==null?void 0x0:_0x27f96d['call'](_0xc4ebb2,_0x4fe047);}['_transformRemoteChangesetByIMECache'](_0x182075){var _0x8f28be=_0xf95350,_0x2ee2a6,_0x2d781e,_0x5e8c71;return(_0x5e8c71=(_0x2d781e=(_0x2ee2a6=this['_handler'])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x2d781e[_0x8f28be(0x2d8)](_0x2ee2a6,_0x182075))!=null?_0x5e8c71:_0x182075;}[_0xf95350(0x234)](_0x5ebc0a){var _0x30c8d4=_0xf95350,_0x46e927,_0x3a9654,_0x26fd7e;return(_0x26fd7e=(_0x3a9654=(_0x46e927=this[_0x30c8d4(0xf1)])[_0x30c8d4(0x16f)])==null?void 0x0:_0x3a9654[_0x30c8d4(0x2d8)](_0x46e927,_0x5ebc0a))!=null?_0x26fd7e:_0x5ebc0a;}['_syncEditingCollabCursor'](_0x26f6b2){var _0x4acc4a=_0xf95350,_0x174055,_0x1a325e;if(this[_0x4acc4a(0x2fd)]===Q[_0x4acc4a(0x2df)]){const {unitID:_0x5069b5,mutations:_0x3278bb,memberID:_0x50768b}=_0x26f6b2,_0x35e2f8=_0x3278bb[0x0][_0x4acc4a(0x39e)][_0x4acc4a(0x20c)];Array[_0x4acc4a(0x28e)](_0x35e2f8)&&_0x35e2f8[_0x4acc4a(0x131)]>0x0&&((_0x1a325e=(_0x174055=this[_0x4acc4a(0xf1)])[_0x4acc4a(0x2f1)])==null||_0x1a325e[_0x4acc4a(0x2d8)](_0x174055,{'unitID':_0x5069b5,'memberID':_0x50768b,'textRanges':_0x35e2f8}));}}['_updateLocalCache'](){var _0x44a9f9=_0xf95350,_0x1fab6c;(_0x1fab6c=this[_0x44a9f9(0x1a1)])==null||_0x1fab6c[_0x44a9f9(0x292)](this[_0x44a9f9(0x17e)],this[_0x44a9f9(0x2fd)],this[_0x44a9f9(0x34d)],this[_0x44a9f9(0x2af)]);}['_getCurrentRevision'](){var _0x17bc23=_0xf95350;return this[_0x17bc23(0x1e0)][_0x17bc23(0x145)](this[_0x17bc23(0x17e)]);}['_incrementRevisionNumber'](){var _0x1e64e0=_0xf95350;this['_revisionService'][_0x1e64e0(0x28b)](this['unitID']);}[_0xf95350(0x232)](_0x10e5dc){var _0x552423=_0xf95350,_0x293303;let _0x15efa2=this[_0x552423(0x356)](_0x10e5dc);_0x15efa2=this[_0x552423(0x234)](_0x15efa2);const _0x302523=_0x4370f1(_0x15efa2[_0x552423(0x20f)],this[_0x552423(0x2e7)],{'fromCollab':!0x0});if(!_0x302523[_0x552423(0xef)])throw _0x302523['error']instanceof Error?_0x302523[_0x552423(0x32c)]:new Error((_0x293303=_0x302523[_0x552423(0x32c)])!=null?_0x293303:'[CollaborationState]:\x20apply\x20error!');this[_0x552423(0x1b0)](_0x15efa2),this[_0x552423(0x294)](_0x15efa2),this[_0x552423(0x14a)](_0x10e5dc),this[_0x552423(0x156)](_0x15efa2),this[_0x552423(0x379)](_0x15efa2),this[_0x552423(0x2ba)]();}}let De=class extends Re{constructor(_0x150d23,_0xe4fb1f,_0x1c51a4,_0x1b5f26,_0x54023a,_0x48deff,_0x5deb89,_0x1053a9,_0x193807,_0x38e0dd){var _0xe1c7ae=_0xf95350;super(_0x150d23,_0xe4fb1f,null,[],_0x1c51a4,_0x5deb89,_0x48deff,_0x1b5f26,_0x38e0dd),N(this,_0xe1c7ae(0x1fd),_0xe1c7ae(0x230)),(this[_0xe1c7ae(0x2fe)]=_0x54023a,this[_0xe1c7ae(0x29f)]=_0x1053a9,this[_0xe1c7ae(0x16c)]=_0x193807,this[_0xe1c7ae(0x168)]=_0x38e0dd);}[_0xf95350(0x1fb)](_0x23f3ee){var _0x27a92b=_0xf95350;const _0x1c5a9c=this['_injector'][_0x27a92b(0xf6)](oe,this[_0x27a92b(0x17e)],this['type'],[_0x23f3ee],this['_handler']);return _0x1c5a9c[_0x27a92b(0x37a)](),_0x1c5a9c['_updateLocalCache'](),_0x1c5a9c;}[_0xf95350(0x143)](_0x4203eb){var _0x3a3f3b=_0xf95350;if(this[_0x3a3f3b(0x392)](_0x4203eb))return this[_0x3a3f3b(0x2fe)][_0x3a3f3b(0xf6)](te,this[_0x3a3f3b(0x17e)],this['type'],null,[],null,[_0x4203eb],this[_0x3a3f3b(0xf1)]);try{const _0x2c1623=this['_transformService'][_0x3a3f3b(0x11c)](_0x4203eb,[lr]);if(_0x5e1805(_0x2c1623)){const {c1Prime:_0x13df57}=_0x2c1623;return this[_0x3a3f3b(0x232)](_0x13df57),this;}throw _0x2c1623[_0x3a3f3b(0x32c)];}catch(_0x3e4b7f){return this[_0x3a3f3b(0x29f)][_0x3a3f3b(0x32c)](_0x3e4b7f),this[_0x3a3f3b(0xaa)](!0x1);}}[_0xf95350(0xaa)](_0x24a9d6){var _0x2b409f=_0xf95350;return this[_0x2b409f(0x2fe)][_0x2b409f(0xf6)](de,this[_0x2b409f(0x17e)],this[_0x2b409f(0x2fd)],null,[],this[_0x2b409f(0xf1)],_0x24a9d6);}[_0xf95350(0x257)](){var _0x120f93=_0xf95350;throw new Error(_0x120f93(0x2cd));}[_0xf95350(0x1fc)](){var _0x3ea970=_0xf95350;throw new Error(_0x3ea970(0x34a));}[_0xf95350(0x318)](){return this;}[_0xf95350(0x289)](){var _0x6e470=_0xf95350;return this[_0x6e470(0x2fe)][_0x6e470(0xf6)](fe,this[_0x6e470(0x17e)],this[_0x6e470(0x2fd)],null,[],this['_handler']);}['toggleOnline'](){return this;}[_0xf95350(0xe2)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xf95350(0x36f)](){var _0x52abfb=_0xf95350;const _0xf7fd67=this[_0x52abfb(0x1e0)][_0x52abfb(0x145)](this['unitID']);return this[_0x52abfb(0xf1)][_0x52abfb(0x122)]({'from':_0xf7fd67,'to':0x0}),this[_0x52abfb(0x2fe)][_0x52abfb(0xf6)](te,this[_0x52abfb(0x17e)],this[_0x52abfb(0x2fd)],null,[],null,[],this[_0x52abfb(0xf1)]);}};De=be([A(0x3,_0x1f377b(_0x3aeefc)),A(0x4,_0x1f377b(_0x459b1e)),A(0x5,_0x122feb),A(0x6,_0x16ead5),A(0x7,_0x2cd95e),A(0x8,_0xd312f2),A(0x9,_0x36e3d4(J))],De);let oe=class extends Re{constructor(_0x4e1cf4,_0x22d169,_0x30d237,_0x300477,_0x419662,_0x3150b3,_0x5ac144,_0x3effee,_0x3e2ec8,_0x312401,_0xb80aa3,_0x3894f7,_0x38ebed,_0x288679){var _0x5a507c=_0xf95350;super(_0x4e1cf4,_0x22d169,null,_0x30d237,_0x300477,_0x3e2ec8,_0x38ebed,_0x3150b3,_0x288679),N(this,_0x5a507c(0x1fd),_0x5a507c(0x200)),N(this,_0x5a507c(0x10d),null),N(this,_0x5a507c(0x360),null),(this[_0x5a507c(0x2fe)]=_0x419662,this[_0x5a507c(0x372)]=_0x5ac144,this[_0x5a507c(0x29f)]=_0x3effee,this[_0x5a507c(0x215)]=_0x312401,this['_transformService']=_0xb80aa3,this[_0x5a507c(0x2e3)]=_0x3894f7);}[_0xf95350(0x1fb)](_0x3a8b01){var _0x250a8a=_0xf95350;return this[_0x250a8a(0x2af)][_0x250a8a(0x2e0)](_0x3a8b01),this[_0x250a8a(0xdc)](),this;}[_0xf95350(0x143)](_0x48d539){var _0x2ec1fe=_0xf95350;if(this[_0x2ec1fe(0x392)](_0x48d539))return this[_0x2ec1fe(0x196)](),this[_0x2ec1fe(0x2fe)]['createInstance'](te,this[_0x2ec1fe(0x17e)],this['type'],null,this['_pendingMutations'],null,[_0x48d539],this['_handler']);try{const _0x3fd5f1=this[_0x2ec1fe(0x16c)]['transformMutationsWithChangeset'](_0x48d539,this[_0x2ec1fe(0x2af)]);if(_0x5e1805(_0x3fd5f1)){const {c1Prime:_0x5cefb8,m2Prime:_0x44b1b4}=_0x3fd5f1;this[_0x2ec1fe(0x232)](_0x5cefb8);const _0x5bf7be=this[_0x2ec1fe(0x2fe)][_0x2ec1fe(0xf6)](oe,this['unitID'],this[_0x2ec1fe(0x2fd)],_0x44b1b4,this['_handler']);this[_0x2ec1fe(0x196)]();const _0x1bf885=new Date()['getTime'](),_0x20a012=this[_0x2ec1fe(0x10d)]?Math['max'](this[_0x2ec1fe(0x10d)]-_0x1bf885,0x0):this[_0x2ec1fe(0x1cd)]();return _0x5bf7be['_schedule'](_0x20a012),_0x5bf7be;}throw _0x3fd5f1['error'];}catch(_0x1ef380){return this['_logService'][_0x2ec1fe(0x32c)](_0x1ef380),this[_0x2ec1fe(0xaa)](!0x1);}}[_0xf95350(0x257)](){var _0x471b82=_0xf95350;throw new Error(_0x471b82(0x28f));}['onRemoteRej'](){var _0x201e03=_0xf95350;throw new Error(_0x201e03(0x291));}[_0xf95350(0x318)](){return this;}[_0xf95350(0x289)](){var _0x4d85b3=_0xf95350;return this['_clearScheduledTask'](),this[_0x4d85b3(0x2fe)][_0x4d85b3(0xf6)](fe,this[_0x4d85b3(0x17e)],this['type'],null,this[_0x4d85b3(0x2af)],this[_0x4d85b3(0xf1)]);}['toggleOnline'](){return this;}[_0xf95350(0x37a)](_0x5d7621){var _0x5e801d=_0xf95350;const _0x5055cf=_0x5d7621!=null?_0x5d7621:this['_getSendChangesetTimeout']();this[_0x5e801d(0x10d)]=new Date()[_0x5e801d(0x21f)]()+_0x5055cf,this[_0x5e801d(0x360)]=setTimeout(()=>{var _0x58f6dd=_0x5e801d;this[_0x58f6dd(0x196)]();let _0x1c69bd=null;switch(this[_0x58f6dd(0x2fd)]){case Q[_0x58f6dd(0xda)]:{_0x1c69bd=zt(this[_0x58f6dd(0x2af)],this[_0x58f6dd(0x17e)],this[_0x58f6dd(0x2e3)],this['_revisionService'],this[_0x58f6dd(0x372)]);break;}case Q[_0x58f6dd(0x2df)]:{this[_0x58f6dd(0x2af)][_0x58f6dd(0x245)](_0x1831b2=>_0x1831b2['id']===_0x775ef5['id'])?_0x1c69bd=_r(this[_0x58f6dd(0x2af)],this['unitID'],this['_univerInstanceService'],this[_0x58f6dd(0x1e0)],this[_0x58f6dd(0x372)]):_0x1c69bd=zt(this['_pendingMutations'],this['unitID'],this['_univerInstanceService'],this['_revisionService'],this[_0x58f6dd(0x372)]);break;}default:throw new Error(_0x58f6dd(0xb7)+this[_0x58f6dd(0x2fd)]+_0x58f6dd(0xbe));}const {changeset:_0x4ca15b,pendingMutations:_0x513767}=_0x1c69bd;this[_0x58f6dd(0xf1)][_0x58f6dd(0x320)](_0x4ca15b);const _0x227587=_0x513767[_0x58f6dd(0x131)]?this['_injector'][_0x58f6dd(0xf6)](ae,this['unitID'],this[_0x58f6dd(0x2fd)],_0x4ca15b,_0x513767,this[_0x58f6dd(0xf1)],void 0x0):this[_0x58f6dd(0x2fe)][_0x58f6dd(0xf6)](ue,this[_0x58f6dd(0x17e)],this[_0x58f6dd(0x2fd)],_0x4ca15b,this['_handler']);_0x227587['_updateLocalCache'](),this[_0x58f6dd(0xf1)]['onStateChange'](this,_0x227587);},_0x5055cf);}['_getSendChangesetTimeout'](){var _0x1c1d00=_0xf95350,_0x3ed057;const _0x20aedf=this[_0x1c1d00(0x215)][_0x1c1d00(0x1ab)](q);return(_0x3ed057=_0x20aedf==null?void 0x0:_0x20aedf['sendChangesetTimeout'])!=null?_0x3ed057:Ts;}[_0xf95350(0xe2)](){var _0x2c3193=_0xf95350;throw new Error(_0x2c3193(0x2c8));}['_clearScheduledTask'](){var _0x31761c=_0xf95350;this[_0x31761c(0x360)]!=null&&(clearTimeout(this[_0x31761c(0x360)]),this[_0x31761c(0x360)]=null);}['_onConflict'](_0x33548f){var _0x3394a6=_0xf95350;return this[_0x3394a6(0x196)](),this['_injector'][_0x3394a6(0xf6)](de,this['unitID'],this[_0x3394a6(0x2fd)],null,this[_0x3394a6(0x2af)],this[_0x3394a6(0xf1)],_0x33548f);}};oe=be([A(0x4,_0x1f377b(_0x459b1e)),A(0x5,_0x1f377b(_0x3aeefc)),A(0x6,_0x1f377b(xe)),A(0x7,_0x2cd95e),A(0x8,_0x16ead5),A(0x9,_0x4ef789),A(0xa,_0xd312f2),A(0xb,_0x4accb0),A(0xc,_0x122feb),A(0xd,_0x36e3d4(J))],oe);let ue=class extends Re{constructor(_0x3888b7,_0x1e57b1,_0xd97cc7,_0x2b1d89,_0x5dbfd3,_0x4a2f47,_0x25fb56,_0x496002,_0x5e30d9,_0x4fb7b3,_0x3e09ee){var _0x336a38=_0xf95350;super(_0x3888b7,_0x1e57b1,_0xd97cc7,[],_0x2b1d89,_0x25fb56,_0x4fb7b3,_0x4a2f47,_0x3e09ee),N(this,_0x336a38(0x1fd),'awaiting'),N(this,'_resendTimeout',0x0),N(this,'_resendTimer'),N(this,'_sender'),(this[_0x336a38(0x2fe)]=_0x5dbfd3,this['_logService']=_0x496002,this[_0x336a38(0x16c)]=_0x5e30d9);}['appendMutation'](_0x2731c9){var _0x1076bb=_0xf95350;this[_0x1076bb(0x196)]();const _0x56851d=this['_injector'][_0x1076bb(0xf6)](ae,this[_0x1076bb(0x17e)],this['type'],this['_awaitingChangeset'],[_0x2731c9],this[_0x1076bb(0xf1)],this[_0x1076bb(0x1ee)]);return _0x56851d[_0x1076bb(0xdc)](),_0x56851d;}[_0xf95350(0x143)](_0x5ab113){var _0x4a717a=_0xf95350;if(this[_0x4a717a(0x392)](_0x5ab113))return this[_0x4a717a(0x196)](),this[_0x4a717a(0x2fe)][_0x4a717a(0xf6)](te,this[_0x4a717a(0x17e)],this['type'],this[_0x4a717a(0x34d)],[],null,[_0x5ab113],this['_handler']);try{const _0x1453f0=this[_0x4a717a(0x16c)][_0x4a717a(0x180)]([_0x5ab113],[this[_0x4a717a(0x34d)]],!0x1);if(_0x337292(_0x1453f0)){const {c1Prime:_0x369c9d,c2Prime:_0x53fc9a}=_0x1453f0;this[_0x4a717a(0x232)](_0x369c9d[0x0]),_0x53fc9a[0x0]['baseRev']=this[_0x4a717a(0x2f8)](),this[_0x4a717a(0x196)]();const _0x266c81=this[_0x4a717a(0x2fe)][_0x4a717a(0xf6)](ue,this[_0x4a717a(0x17e)],this[_0x4a717a(0x2fd)],_0x53fc9a[0x0],this[_0x4a717a(0xf1)]);return _0x266c81['_updateLocalCache'](),_0x266c81;}return this[_0x4a717a(0xaa)](!0x1);}catch(_0x32b4da){return this['_logService'][_0x4a717a(0x32c)](_0x32b4da),this[_0x4a717a(0xaa)](!0x1);}}[_0xf95350(0x257)](_0x47c4bd){var _0x113ae3=_0xf95350;this['_clearScheduledTask']();const _0x35f7ca=this[_0x113ae3(0x1e0)][_0x113ae3(0x145)](this[_0x113ae3(0x17e)]);if(_0x47c4bd[_0x113ae3(0x235)]<_0x35f7ca-0x1)return this;if(this[_0x113ae3(0x392)](_0x47c4bd))return this[_0x113ae3(0x2fe)]['createInstance'](te,this['unitID'],this[_0x113ae3(0x2fd)],null,[],this['_awaitingChangeset'],[],this[_0x113ae3(0xf1)]);this[_0x113ae3(0x2ba)]();const _0x4307e4=this['_injector'][_0x113ae3(0xf6)](De,this[_0x113ae3(0x17e)],this['type'],this[_0x113ae3(0xf1)]);return _0x4307e4['_updateLocalCache'](),_0x4307e4;}[_0xf95350(0x1fc)](_0x5901ca){var _0x502ddd=_0xf95350;return this[_0x502ddd(0xaa)](!!(_0x5901ca!=null&&_0x5901ca[_0x502ddd(0x389)]));}[_0xf95350(0x318)](_0x2781b7){var _0x2aa2af=_0xf95350;return this['_resendTimeout']>Ni?this[_0x2aa2af(0x289)]():(this[_0x2aa2af(0x1ee)]=Oi(this['_resendTimeout'],{'timeout':this[_0x2aa2af(0x1c9)],'reqId':_0x2781b7[_0x2aa2af(0xea)]}),this[_0x2aa2af(0x105)]=this[_0x2aa2af(0x1ee)][_0x2aa2af(0x2f6)](({reqId:_0x1dbbfc,timeout:_0x320176})=>{var _0x55c579=_0x2aa2af;this[_0x55c579(0x32e)](_0x1dbbfc,_0x320176);}),this);}[_0xf95350(0x289)](){var _0x42b1ff=_0xf95350;return this[_0x42b1ff(0x196)](),this[_0x42b1ff(0x2fe)][_0x42b1ff(0xf6)](fe,this[_0x42b1ff(0x17e)],this[_0x42b1ff(0x2fd)],this[_0x42b1ff(0x34d)],[],this[_0x42b1ff(0xf1)]);}[_0xf95350(0x2bc)](){return this;}[_0xf95350(0xe2)](){var _0x43de29=_0xf95350;this[_0x43de29(0xf1)]['onSendChangeset'](this[_0x43de29(0x34d)]);}[_0xf95350(0xaa)](_0x2e726c){var _0x5c7a35=_0xf95350;return this[_0x5c7a35(0x196)](),this[_0x5c7a35(0x2fe)][_0x5c7a35(0xf6)](de,this[_0x5c7a35(0x17e)],this['type'],this[_0x5c7a35(0x34d)],[],this[_0x5c7a35(0xf1)],_0x2e726c);}[_0xf95350(0x32e)](_0x953997,_0x4ad904){var _0x37a9e7=_0xf95350,_0x1f6c03;_0x953997===((_0x1f6c03=this['_awaitingChangeset'])==null?void 0x0:_0x1f6c03[_0x37a9e7(0xea)])&&(this[_0x37a9e7(0xe2)](),this[_0x37a9e7(0x1c9)]=_0x4ad904===0x0?0x3e8:_0x4ad904*0x2);}[_0xf95350(0x196)](){var _0x34ec72=_0xf95350,_0x234459;(_0x234459=this[_0x34ec72(0x105)])==null||_0x234459['unsubscribe'](),this[_0x34ec72(0x1c9)]=0x0;}};ue=be([A(0x4,_0x1f377b(_0x459b1e)),A(0x5,_0x1f377b(_0x3aeefc)),A(0x6,_0x16ead5),A(0x7,_0x2cd95e),A(0x8,_0xd312f2),A(0x9,_0x122feb),A(0xa,_0x36e3d4(J))],ue);let ae=class extends Re{constructor(_0x1726c4,_0x871a6a,_0x5013c3,_0x38b8d3,_0x58047a,_0xb9a22,_0x3358f2,_0x4b9b6f,_0x313f51,_0x3bf4fd,_0x48aa53,_0x5ce115,_0x10d697){var _0x3da347=_0xf95350;super(_0x1726c4,_0x871a6a,_0x5013c3,_0x38b8d3,_0x58047a,_0x313f51,_0x5ce115,_0x4b9b6f,_0x10d697),N(this,_0x3da347(0x1fd),'awaiting_with_pending'),N(this,_0x3da347(0x1c9),0x0),N(this,'_resendTimer'),N(this,'_sender'),(this[_0x3da347(0x2fe)]=_0x3358f2,this[_0x3da347(0x29f)]=_0x3bf4fd,this['_transformService']=_0x48aa53,this[_0x3da347(0x168)]=_0x10d697,_0xb9a22&&(this[_0x3da347(0x1ee)]=_0xb9a22,this[_0x3da347(0x105)]=this['_resendTimer'][_0x3da347(0x2f6)](({reqId:_0x3af4f6,timeout:_0x1e8b78})=>{var _0x12edc0=_0x3da347;this[_0x12edc0(0x32e)](_0x3af4f6,_0x1e8b78);})));}[_0xf95350(0x1fb)](_0x298cf5){var _0x4bfed0=_0xf95350;return this['_pendingMutations'][_0x4bfed0(0x2e0)](_0x298cf5),this;}[_0xf95350(0x143)](_0x362017){var _0x3d453e=_0xf95350;if(this[_0x3d453e(0x392)](_0x362017))return this[_0x3d453e(0x196)](),this[_0x3d453e(0x2fe)][_0x3d453e(0xf6)](te,this[_0x3d453e(0x17e)],this[_0x3d453e(0x2fd)],this[_0x3d453e(0x34d)],this['_pendingMutations'],null,[_0x362017],this['_handler']);try{const _0x39dc23=this['_transformService'][_0x3d453e(0x180)]([_0x362017],[this[_0x3d453e(0x34d)]],!0x1);if(_0x337292(_0x39dc23)){const {c1Prime:_0x2f549c,c2Prime:_0x1bca02}=_0x39dc23,_0x52f5f8=this[_0x3d453e(0x16c)][_0x3d453e(0x11c)](_0x2f549c[0x0],this[_0x3d453e(0x2af)]);if(_0x5e1805(_0x52f5f8)){const {c1Prime:_0x1991a3,m2Prime:_0x125915}=_0x52f5f8;return this[_0x3d453e(0x232)](_0x1991a3),_0x1bca02[0x0][_0x3d453e(0x2b3)]=this[_0x3d453e(0x2f8)](),this[_0x3d453e(0x196)](),this[_0x3d453e(0x2fe)][_0x3d453e(0xf6)](ae,this[_0x3d453e(0x17e)],this[_0x3d453e(0x2fd)],_0x1bca02[0x0],_0x125915,this[_0x3d453e(0xf1)],void 0x0);}throw _0x52f5f8[_0x3d453e(0x32c)];}throw _0x39dc23[_0x3d453e(0x32c)];}catch(_0x10472e){return this[_0x3d453e(0x29f)][_0x3d453e(0x32c)](_0x10472e),this[_0x3d453e(0xaa)](!0x1);}}[_0xf95350(0x257)](_0xd08b55){var _0x3e5dd9=_0xf95350;if(this[_0x3e5dd9(0x196)](),this[_0x3e5dd9(0x392)](_0xd08b55))return this['_injector'][_0x3e5dd9(0xf6)](te,this[_0x3e5dd9(0x17e)],this[_0x3e5dd9(0x2fd)],null,this['_pendingMutations'],this['_awaitingChangeset'],[],this['_handler']);this['_incrementRevisionNumber']();const _0x11cf15=this[_0x3e5dd9(0x2fe)]['createInstance'](oe,this[_0x3e5dd9(0x17e)],this[_0x3e5dd9(0x2fd)],this[_0x3e5dd9(0x2af)],this['_handler']);return _0x11cf15[_0x3e5dd9(0x37a)](),_0x11cf15[_0x3e5dd9(0xdc)](),_0x11cf15;}['onRemoteRej'](_0x360b07){var _0x5e434a=_0xf95350;return this[_0x5e434a(0xaa)](!!(_0x360b07!=null&&_0x360b07[_0x5e434a(0x389)]));}[_0xf95350(0x318)](_0x1b5749){var _0x5df087=_0xf95350;return this[_0x5df087(0x1c9)]>Ni?this[_0x5df087(0x289)]():(this['_resendTimer']=Oi(this['_resendTimeout'],{'timeout':this[_0x5df087(0x1c9)],'reqId':_0x1b5749['reqId']}),this[_0x5df087(0x105)]=this[_0x5df087(0x1ee)][_0x5df087(0x2f6)](({reqId:_0x5a856d,timeout:_0xbe68d7})=>{var _0x13a6c8=_0x5df087;this[_0x13a6c8(0x32e)](_0x5a856d,_0xbe68d7);}),this);}[_0xf95350(0x289)](){var _0x2e845e=_0xf95350;return this[_0x2e845e(0x196)](),this[_0x2e845e(0x2fe)]['createInstance'](fe,this['unitID'],this['type'],this[_0x2e845e(0x34d)],this['_pendingMutations'],this[_0x2e845e(0xf1)]);}['toggleOnline'](){return this;}['resend'](){var _0x2fdf9d=_0xf95350;this[_0x2fdf9d(0xf1)][_0x2fdf9d(0x320)](this['_awaitingChangeset']);}[_0xf95350(0xaa)](_0x523973){var _0xf0f859=_0xf95350;return this[_0xf0f859(0x196)](),this[_0xf0f859(0x2fe)]['createInstance'](de,this[_0xf0f859(0x17e)],this['type'],null,this['_pendingMutations'],this['_handler'],_0x523973);}[_0xf95350(0x32e)](_0x162564,_0xc4c71a){var _0x40e628=_0xf95350,_0x17ac10;_0x162564===((_0x17ac10=this[_0x40e628(0x34d)])==null?void 0x0:_0x17ac10[_0x40e628(0xea)])&&(this[_0x40e628(0xe2)](),this['_resendTimeout']=_0xc4c71a===0x0?0x3e8:_0xc4c71a*0x2);}[_0xf95350(0x196)](){var _0xd504d0=_0xf95350,_0x1c4721;(_0x1c4721=this['_sender'])==null||_0x1c4721[_0xd504d0(0x2e8)](),this[_0xd504d0(0x1c9)]=0x0;}};ae=be([A(0x6,_0x1f377b(_0x459b1e)),A(0x7,_0x1f377b(_0x3aeefc)),A(0x8,_0x16ead5),A(0x9,_0x2cd95e),A(0xa,_0xd312f2),A(0xb,_0x122feb),A(0xc,_0x36e3d4(J))],ae);let de=class extends Re{constructor(_0x29cf9e,_0x26fe23,_0x4d9af7,_0x2d54d5,_0x1b678c,_0x27ef8b=!0x1,_0x566038,_0x17f994,_0x16c514,_0x23af16,_0x4774e6,_0x5d0183,_0xad46a8){var _0x1b45cd=_0xf95350;super(_0x29cf9e,_0x26fe23,_0x4d9af7,_0x2d54d5,_0x1b678c,_0x17f994,_0x16c514,_0x23af16,_0xad46a8),N(this,_0x1b45cd(0x1fd),_0x1b45cd(0x2d3)),(this['_isPermissionRej']=_0x27ef8b,this[_0x1b45cd(0xff)]=_0x566038,this[_0x1b45cd(0x189)]=_0x4774e6,this['_collaborationUIEventService']=_0x5d0183,this[_0x1b45cd(0x168)]=_0xad46a8,this[_0x1b45cd(0x272)](),this[_0x1b45cd(0xc9)](),this[_0x1b45cd(0xb9)]());}[_0xf95350(0x1fb)](){return this;}[_0xf95350(0x143)](){return this;}[_0xf95350(0x257)](){return this;}[_0xf95350(0x1fc)](){return this;}[_0xf95350(0x318)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}[_0xf95350(0xe2)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){var _0x133f5e=_0xf95350,_0x4f330e;(_0x4f330e=this[_0x133f5e(0x1a1)])==null||_0x4f330e[_0x133f5e(0x292)](this[_0x133f5e(0x17e)],this['type'],null,[]);}['_showConflictNotification'](){var _0x33700d=_0xf95350;this[_0x33700d(0x39c)]?this[_0x33700d(0xd4)][_0x33700d(0x354)]({'id':ne['PERMISSION_DENIED']}):this[_0x33700d(0xd4)]['emitEvent']({'id':ne[_0x33700d(0x2be)]});}[_0xf95350(0xb9)](){var _0x5ad808=_0xf95350;this[_0x5ad808(0xff)][_0x5ad808(0xfc)](new _0xf5ebb3(this[_0x5ad808(0x17e)])['id'],!0x1);}};de=be([A(0x6,_0x1f377b(_0x193a1a)),A(0x7,_0x16ead5),A(0x8,_0x122feb),A(0x9,_0x1f377b(_0x3aeefc)),A(0xa,_0x1f377b(_0x3b591c)),A(0xb,_0x1f377b(pe)),A(0xc,_0x36e3d4(J))],de);let fe=class extends Re{constructor(_0x3e1dd9,_0x5e0414,_0x1667f9,_0x4888ff,_0xbdc183,_0x473001,_0x5d9d64,_0x116491,_0x420d28,_0x2d3048){var _0x538c89=_0xf95350;super(_0x3e1dd9,_0x5e0414,_0x1667f9,_0x4888ff,_0xbdc183,_0x116491,_0x420d28,_0x5d9d64,_0x2d3048),N(this,'status',_0x538c89(0x13b)),this[_0x538c89(0x2fe)]=_0x473001;}[_0xf95350(0x1fb)](_0x5c6d9a){var _0x5ce956=_0xf95350;return this[_0x5ce956(0x2af)]['push'](_0x5c6d9a),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x2a48a7){var _0x458fc4=_0xf95350;throw new Error(_0x458fc4(0x305));}[_0xf95350(0x257)](){var _0x3e1abb=_0xf95350;throw new Error(_0x3e1abb(0x27a));}[_0xf95350(0x1fc)](){var _0x14ce0f=_0xf95350;throw new Error(_0x14ce0f(0x3a2));}['onRemoteRetry'](){return this;}[_0xf95350(0x289)](){return this;}[_0xf95350(0x2bc)](){var _0x17acb1=_0xf95350;const {_injector:_0x5228fe,_pendingMutations:_0x1377f3,_awaitingChangeset:_0x3f90b6,unitID:_0x1c386f,_handler:_0x310db6,type:_0x1eb271}=this,_0x5e9bc3=Di(_0x5228fe,_0x1c386f,_0x1eb271,_0x3f90b6,_0x1377f3,_0x310db6);return _0x5e9bc3 instanceof oe?_0x5e9bc3[_0x17acb1(0x37a)]():(_0x5e9bc3 instanceof ae||_0x5e9bc3 instanceof ue)&&_0x5e9bc3[_0x17acb1(0xe2)](),_0x5e9bc3;}[_0xf95350(0xe2)](){var _0x215955=_0xf95350;throw new Error(_0x215955(0x37c));}};fe=be([A(0x5,_0x1f377b(_0x459b1e)),A(0x6,_0x1f377b(_0x3aeefc)),A(0x7,_0x16ead5),A(0x8,_0x122feb),A(0x9,_0x36e3d4(J))],fe);let te=class extends Re{constructor(_0x46c512,_0x40699,_0x1bdb00,_0x462b0b,_0x37f394,_0x23830b,_0x26a499,_0x675c53,_0x57ed6c,_0x79ba1,_0x48d425,_0x5ae0dd,_0x1a3a88,_0x38fbdc){var _0x5c0066=_0xf95350;super(_0x46c512,_0x40699,_0x1bdb00,_0x462b0b,_0x26a499,_0x48d425,_0x5ae0dd,_0x57ed6c,_0x38fbdc),N(this,_0x5c0066(0x1fd),_0x5c0066(0x3a7)),(this[_0x5c0066(0x290)]=_0x37f394,this[_0x5c0066(0x204)]=_0x23830b,this['_injector']=_0x675c53,this['_logService']=_0x79ba1,this[_0x5c0066(0x16c)]=_0x1a3a88,this[_0x5c0066(0x168)]=_0x38fbdc);}[_0xf95350(0x213)](_0xb3fca2){var _0x42730c=_0xf95350;try{const _0xa3c93e=[..._0xb3fca2,...this[_0x42730c(0x204)]],_0x2b2da9=[this['_awaitingChangeset']||this[_0x42730c(0x290)]]['filter'](_0x57d454=>!!_0x57d454);let _0xe5f136,_0x55c20d;if(_0x2b2da9[_0x42730c(0x131)]){const _0x29b050=this['_transformService'][_0x42730c(0x180)](_0xa3c93e,_0x2b2da9,!0x1);if(!_0x337292(_0x29b050))throw _0x29b050[_0x42730c(0x32c)];_0xe5f136=_0x29b050[_0x42730c(0x121)],_0x55c20d=_0x29b050[_0x42730c(0x393)];}else _0xe5f136=_0xa3c93e,_0x55c20d=[];let _0x2f651a=this['_pendingMutations'];_0xe5f136[_0x42730c(0x362)](_0x41217c=>{var _0x44576f=_0x42730c;let _0x28697d;if(_0x2f651a['length']){const _0x38a962=this[_0x44576f(0x16c)][_0x44576f(0x11c)](_0x41217c,_0x2f651a);if(!_0x5e1805(_0x38a962))throw _0x38a962[_0x44576f(0x32c)];_0x28697d=_0x38a962[_0x44576f(0x121)],_0x2f651a=_0x38a962[_0x44576f(0x16b)];}else _0x28697d=_0x41217c;this[_0x44576f(0x232)](_0x28697d);}),this[_0x42730c(0x290)]&&this[_0x42730c(0x2ba)](),this[_0x42730c(0x34d)]&&_0x55c20d['length']&&(_0x55c20d[0x0][_0x42730c(0x2b3)]=this[_0x42730c(0x2f8)]());let _0x151ddb;if(this[_0x42730c(0x34d)]&&_0x2f651a[_0x42730c(0x131)]!==0x0)_0x151ddb=this[_0x42730c(0x2fe)][_0x42730c(0xf6)](ae,this[_0x42730c(0x17e)],this[_0x42730c(0x2fd)],_0x55c20d[0x0],_0x2f651a,this['_handler'],void 0x0);else{if(this[_0x42730c(0x34d)]&&_0x2f651a['length']===0x0)_0x55c20d[0x0][_0x42730c(0x2b3)]=this[_0x42730c(0x2f8)](),_0x151ddb=this[_0x42730c(0x2fe)][_0x42730c(0xf6)](ue,this[_0x42730c(0x17e)],this[_0x42730c(0x2fd)],_0x55c20d[0x0],this['_handler']);else{if(_0x2f651a['length']!==0x0){const _0x3b8926=this[_0x42730c(0x2fe)]['createInstance'](oe,this[_0x42730c(0x17e)],this['type'],_0x2f651a,this[_0x42730c(0xf1)]);_0x3b8926[_0x42730c(0x37a)](),_0x151ddb=_0x3b8926;}else _0x151ddb=this[_0x42730c(0x2fe)][_0x42730c(0xf6)](De,this['unitID'],this[_0x42730c(0x2fd)],this[_0x42730c(0xf1)]);}}return _0x151ddb[_0x42730c(0xdc)](),_0x151ddb;}catch(_0x48ce77){return this[_0x42730c(0x29f)][_0x42730c(0x32c)](_0x42730c(0x209),_0x42730c(0x118),_0x48ce77),this[_0x42730c(0x2fe)][_0x42730c(0xf6)](de,this['unitID'],this[_0x42730c(0x2fd)],this['_awaitingChangeset'],this[_0x42730c(0x2af)],this[_0x42730c(0xf1)],!0x1);}}[_0xf95350(0xe2)](){var _0x15eca3=_0xf95350;throw new Error(_0x15eca3(0x3a0));}[_0xf95350(0x1fb)](_0x16921d){var _0x2d5c39=_0xf95350;return this[_0x2d5c39(0x2af)][_0x2d5c39(0x2e0)](_0x16921d),this;}['onRemoteChangeset'](_0x1c854e){var _0x17a127=_0xf95350;return this[_0x17a127(0x204)][_0x17a127(0x2e0)](_0x1c854e),this;}[_0xf95350(0x257)](_0x4ff885){var _0x557b27=_0xf95350;if(this[_0x557b27(0x34d)])return this[_0x557b27(0x290)]=this[_0x557b27(0x34d)],this[_0x557b27(0x34d)]=null,this;throw new Error(_0x557b27(0x13c));}[_0xf95350(0x1fc)](_0x2becbc){var _0x10fa0f=_0xf95350;return this[_0x10fa0f(0xaa)](!!(_0x2becbc!=null&&_0x2becbc[_0x10fa0f(0x389)]));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x15f7f1=_0xf95350;return this[_0x15f7f1(0x2fe)][_0x15f7f1(0xf6)](fe,this[_0x15f7f1(0x17e)],this[_0x15f7f1(0x2fd)],this['_awaitingChangeset'],this[_0x15f7f1(0x2af)],this['_handler']);}[_0xf95350(0x2bc)](){return this;}[_0xf95350(0xaa)](_0x5f2b2a){var _0x125846=_0xf95350;return this[_0x125846(0x2fe)][_0x125846(0xf6)](de,this[_0x125846(0x17e)],this['type'],this[_0x125846(0x34d)],this[_0x125846(0x2af)],this[_0x125846(0xf1)],_0x5f2b2a);}};te=be([A(0x7,_0x1f377b(_0x459b1e)),A(0x8,_0x1f377b(_0x3aeefc)),A(0x9,_0x2cd95e),A(0xa,_0x16ead5),A(0xb,_0x122feb),A(0xc,_0xd312f2),A(0xd,_0x36e3d4(J))],te);function Di(_0x12745e,_0xf85346,_0x257a19,_0x28a9f5,_0xae87c9,_0x567b49){var _0x4d682c=_0xf95350;return _0x28a9f5&&_0xae87c9[_0x4d682c(0x131)]?_0x12745e[_0x4d682c(0xf6)](ae,_0xf85346,_0x257a19,_0x28a9f5,_0xae87c9,_0x567b49,void 0x0):_0x28a9f5?_0x12745e[_0x4d682c(0xf6)](ue,_0xf85346,_0x257a19,_0x28a9f5,_0x567b49):_0xae87c9['length']?_0x12745e[_0x4d682c(0xf6)](oe,_0xf85346,_0x257a19,_0xae87c9,_0x567b49):_0x12745e[_0x4d682c(0xf6)](De,_0xf85346,_0x257a19,_0x567b49);}var fr=Object['defineProperty'],vr=Object[_0xf95350(0x1b5)],Lt=(_0x5585fa,_0x404d66,_0x53dc19,_0x56e200)=>{for(var _0x5b201a=_0x56e200>0x1?void 0x0:_0x56e200?vr(_0x404d66,_0x53dc19):_0x404d66,_0x49bebf=_0x5585fa['length']-0x1,_0x2f63f0;_0x49bebf>=0x0;_0x49bebf--)(_0x2f63f0=_0x5585fa[_0x49bebf])&&(_0x5b201a=(_0x56e200?_0x2f63f0(_0x404d66,_0x53dc19,_0x5b201a):_0x2f63f0(_0x5b201a))||_0x5b201a);return _0x56e200&&_0x5b201a&&fr(_0x404d66,_0x53dc19,_0x5b201a),_0x5b201a;},k=(_0xad4106,_0x1d6334)=>(_0x54cfb3,_0x490054)=>_0x1d6334(_0x54cfb3,_0x490054,_0xad4106);let st=class extends _0x426883{constructor(_0x2a53f3,_0x3902ac,_0x47a7e1,_0x68fa5,_0x3ab33b,_0x36221b,_0x25fbca,_0x19bf9f,_0x245c8a,_0x42456e,_0x104cd5,_0x5cbf00,_0xb3319){var _0x2aadd1=_0xf95350;super(),N(this,'_state$',new _0x26dbcc(null)),N(this,_0x2aadd1(0x34e),this['_state$'][_0x2aadd1(0x206)]()),N(this,_0x2aadd1(0x106)),N(this,_0x2aadd1(0x36e),!0x1),N(this,_0x2aadd1(0x338),''),N(this,'_changesetReqId',0x0),N(this,_0x2aadd1(0x201),this[_0x2aadd1(0x34e)][_0x2aadd1(0x39f)](_0xb6f026(_0x15f495=>_0x15f495?_0x15f495[_0x2aadd1(0x1fd)]:yi[_0x2aadd1(0x188)]),_0x194fbd(0x1))),N(this,_0x2aadd1(0x2d7),!0x1),N(this,_0x2aadd1(0x2c6),[]),(this[_0x2aadd1(0x17e)]=_0x2a53f3,this['session']=_0x3902ac,this[_0x2aadd1(0x347)]=_0x47a7e1,this[_0x2aadd1(0x2fe)]=_0x68fa5,this[_0x2aadd1(0x358)]=_0x3ab33b,this['_localeService']=_0x36221b,this[_0x2aadd1(0x1e0)]=_0x25fbca,this[_0x2aadd1(0x315)]=_0x19bf9f,this['_logService']=_0x245c8a,this[_0x2aadd1(0x2e7)]=_0x42456e,this['_permissionService']=_0x104cd5,this[_0x2aadd1(0xce)]=_0x5cbf00,this[_0x2aadd1(0x1a1)]=_0xb3319);}get[_0xf95350(0x383)](){return this['_state'];}async[_0xf95350(0x11f)](){var _0x389afd=_0xf95350;if(this[_0x389afd(0x383)])throw new Error(_0x389afd(0x313));await this['_init']();}[_0xf95350(0x29d)](){var _0xc4b7fd=_0xf95350;return this[_0xc4b7fd(0x36e)]=!0x0,_0x6c04a6(()=>{var _0x2fa1a5=_0xc4b7fd;this[_0x2fa1a5(0x36e)]=!0x1,this[_0x2fa1a5(0x102)]();});}[_0xf95350(0xb4)](_0x49ca44){var _0x184bfa=_0xf95350;this[_0x184bfa(0x132)](_0x49ca44);}['_updateState'](_0x1381e2){var _0x2eb9ff=_0xf95350;this[_0x2eb9ff(0x106)]=_0x1381e2,this[_0x2eb9ff(0x2b7)][_0x2eb9ff(0x2f9)](_0x1381e2);}async['_init'](){var _0x34f1d5=_0xf95350,_0x1025c8;this[_0x34f1d5(0x129)](await this[_0x34f1d5(0xfa)]()),this[_0x34f1d5(0xce)]&&((_0x1025c8=this[_0x34f1d5(0xce)])==null||_0x1025c8['editingUnit'](this[_0x34f1d5(0x17e)]),this['disposeWithMe'](this[_0x34f1d5(0xce)][_0x34f1d5(0x345)](this[_0x34f1d5(0x17e)])[_0x34f1d5(0x2f6)](_0x28b0ff=>{var _0x45ffa9=_0x34f1d5;this[_0x45ffa9(0x29f)]['debug'](_0x45ffa9(0x2b5),_0x45ffa9(0x2cb),_0x28b0ff),_0x28b0ff===Ri[_0x45ffa9(0x18a)]?(this[_0x45ffa9(0x315)]['emitEvent']({'id':ne[_0x45ffa9(0x18e)]}),this[_0x45ffa9(0xff)][_0x45ffa9(0xfc)](new _0xf5ebb3(this['unitID'])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this[_0x45ffa9(0xff)]['updatePermissionPoint'](new _0xf5ebb3(this[_0x45ffa9(0x17e)])['id'],!0x0),this[_0x45ffa9(0xff)][_0x45ffa9(0x3a1)](!0x0));})));let _0x5c42c7=!0x1;return this[_0x34f1d5(0x359)](this[_0x34f1d5(0x27e)][_0x34f1d5(0x107)]['subscribe'](_0x7e530b=>{var _0x4902a4=_0x34f1d5;_0x7e530b===Te[_0x4902a4(0x2fa)]?this[_0x4902a4(0x227)](_0x5c42c7):_0x7e530b===Te['OFFLINE']&&(_0x5c42c7=!0x0,this[_0x4902a4(0x178)]());})),this['disposeWithMe'](this[_0x34f1d5(0x27e)]['event$'][_0x34f1d5(0x2f6)](_0x101c3c=>{var _0x2fdd30=_0x34f1d5;try{switch(_0x101c3c[_0x2fdd30(0x276)]){case _0x15e414[_0x2fdd30(0x281)]:{this[_0x2fdd30(0x136)](_0x36f3b5(_0x101c3c['data']));break;}case _0x15e414[_0x2fdd30(0x287)]:{this[_0x2fdd30(0x27b)](_0x101c3c['data']);break;}case _0x15e414['CHANGESET_REJ']:{this[_0x2fdd30(0x24f)]();break;}case _0x15e414[_0x2fdd30(0x1d8)]:{this[_0x2fdd30(0x1fa)](_0x101c3c[_0x2fdd30(0x13f)]);break;}case _0x15e414['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x2fdd30(0x150)](_0x101c3c[_0x2fdd30(0x13f)]['changesets'][_0x2fdd30(0xbf)](_0x5e6242=>_0x36f3b5(_0x5e6242)));break;}case _0x15e414[_0x2fdd30(0x146)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x15e414[_0x2fdd30(0x33b)]:break;}}catch(_0x234d1d){throw console[_0x2fdd30(0x32c)](_0x2fdd30(0x1e5),_0x234d1d),_0x234d1d;}})),this[_0x34f1d5(0x106)];}[_0xf95350(0x2ae)](){var _0x18ca69=_0xf95350;this[_0x18ca69(0x2d7)]=!0x1;}[_0xf95350(0x304)](){var _0x26adaf=_0xf95350;if(this['_transitionLocked'])throw new Error(_0x26adaf(0x248));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x21742d){var _0x3cf1ef=_0xf95350;this[_0x3cf1ef(0x304)](),this[_0x3cf1ef(0x129)](this['_state'][_0x3cf1ef(0x1fb)](_0x21742d)),this[_0x3cf1ef(0x2ae)]();}[_0xf95350(0x136)](_0x527885){var _0x541c6f=_0xf95350;if(!(_0x527885['revision']<=this[_0x541c6f(0x1e0)][_0x541c6f(0x145)](this[_0x541c6f(0x17e)]))){if(this[_0x541c6f(0x36e)]){this['_remoteChangesetQueue'][_0x541c6f(0x2e0)](_0x527885);return;}this[_0x541c6f(0x37e)](_0x527885);}}['_exhaustRemoteChangesetQueue'](){var _0x4da947=_0xf95350;this[_0x4da947(0x2c6)][_0x4da947(0x362)](_0x4f41e8=>this[_0x4da947(0x37e)](_0x4f41e8)),this['_remoteChangesetQueue']=[];}[_0xf95350(0x37e)](_0x2b9a80){var _0x9f01f4=_0xf95350;const _0x3a94e9=this['_compressMutationService'][_0x9f01f4(0x210)][_0x9f01f4(0x23c)](this[_0x9f01f4(0x358)][_0x9f01f4(0x210)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x2b9a80[_0x9f01f4(0x20f)],null)||_0x2b9a80[_0x9f01f4(0x20f)],_0xa1f790={..._0x2b9a80,'mutations':_0x3a94e9};this[_0x9f01f4(0x304)](),this['_updateState'](this[_0x9f01f4(0x106)][_0x9f01f4(0x143)](_0xa1f790)),this[_0x9f01f4(0x2ae)]();}[_0xf95350(0x27b)](_0x112022){var _0x184b76=_0xf95350;this[_0x184b76(0x304)](),this['_updateState'](this[_0x184b76(0x106)][_0x184b76(0x257)](_0x112022)),this[_0x184b76(0x2ae)]();}[_0xf95350(0x24f)](_0x1c1236){var _0x22daae=_0xf95350;this[_0x22daae(0x304)](),this[_0x22daae(0x129)](this[_0x22daae(0x106)]['onRemoteRej'](_0x1c1236)),this[_0x22daae(0x2ae)]();}[_0xf95350(0x1fa)](_0x42cac9){var _0x25c2f4=_0xf95350;this[_0x25c2f4(0x304)](),this[_0x25c2f4(0x129)](this[_0x25c2f4(0x106)]['onRemoteRetry'](_0x42cac9)),this[_0x25c2f4(0x2ae)]();}[_0xf95350(0x150)](_0x3bf942){var _0x571060=_0xf95350;if(!(this['_state']instanceof te))throw new TypeError(_0x571060(0x384));const _0x4255a1=_0x3bf942[_0x571060(0xbf)](_0x846a99=>{var _0x1c35f3=_0x571060;const _0x438b3f=this[_0x1c35f3(0x358)]['interceptor']['fetchThroughInterceptors'](this[_0x1c35f3(0x358)][_0x1c35f3(0x210)][_0x1c35f3(0x1d9)]()[_0x1c35f3(0x212)])(_0x846a99['mutations'],null)||_0x846a99['mutations'];return{..._0x846a99,'mutations':_0x438b3f};});this[_0x571060(0x304)](),this[_0x571060(0x129)](this[_0x571060(0x106)][_0x571060(0x213)](_0x4255a1)),this['_unlockTransition']();}['_toggleOffline'](){var _0x107eb0=_0xf95350;this[_0x107eb0(0x304)](),this['_updateState'](this[_0x107eb0(0x106)][_0x107eb0(0x289)]()),this[_0x107eb0(0x2ae)]();}['_toggleOnline'](_0x26eec7=!0x1){var _0x399580=_0xf95350;this[_0x399580(0x304)](),this[_0x399580(0x129)](this[_0x399580(0x106)][_0x399580(0x2bc)]()),this[_0x399580(0x2ae)]();const _0x567753=this[_0x399580(0x106)];_0x26eec7&&_0x567753 instanceof De&&(this[_0x399580(0x304)](),this[_0x399580(0x129)](_0x567753[_0x399580(0x36f)]()),this['_unlockTransition']());}async[_0xf95350(0xfa)](){return new Promise(_0x513888=>{var _0x2b1781=_0x4451;this[_0x2b1781(0x27e)][_0x2b1781(0x107)][_0x2b1781(0x39f)](_0x3b0b7e(0x1))[_0x2b1781(0x2f6)](async _0x1b4452=>{var _0x2d81e3=_0x2b1781;_0x513888(await this['_createInitialStateImpl'](_0x1b4452===Te[_0x2d81e3(0x2fa)]));});});}[_0xf95350(0x373)](){const _0x4deb38=this['unitID'];return{'onStateChange':(_0x14e3c2,_0x1179e2)=>{var _0xda55ee=_0x4451;if(_0x14e3c2!==this[_0xda55ee(0x106)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x14e3c2[_0xda55ee(0x1fd)]+'\x0aAfter:\x20'+_0x1179e2['status']+'\x0aCurrent:\x20'+this['_state']['status']);this['_updateState'](_0x1179e2);},'onSendChangeset':_0x20610c=>{var _0xf41275=_0x4451;_0x20610c['sid']||(_0x20610c[_0xf41275(0x10b)]=this['_changesetSessionId'],_0x20610c['reqId']=++this[_0xf41275(0x2da)]);const _0x32a9ee={'eventID':_0x15e414[_0xf41275(0x20a)],'data':{'unitID':_0x20610c['unitID'],'unitType':this[_0xf41275(0x347)],'changeset':_0x20610c,'memberID':this['session'][_0xf41275(0xd8)]()}};this[_0xf41275(0x27e)][_0xf41275(0x1c4)](_0x32a9ee,this[_0xf41275(0x17e)]);},'onMissingChangesets':({from:_0x290ba6,to:_0x2f8609})=>{var _0x4400f7=_0x4451;this[_0x4400f7(0x29f)][_0x4400f7(0xd7)](_0x4400f7(0x2b5),'fetching\x20missing\x20changesets\x20from\x20'+_0x290ba6+_0x4400f7(0x112)+_0x2f8609);const _0xe8630f={'eventID':_0x15e414[_0x4400f7(0x1c5)],'data':{'unitID':_0x4deb38,'unitType':this[_0x4400f7(0x347)],'from':_0x290ba6,'to':_0x2f8609}};this[_0x4400f7(0x27e)][_0x4400f7(0x1c4)](_0xe8630f,this['unitID']);}};}async[_0xf95350(0x1db)](_0x2460b6){var _0x33bb71=_0xf95350,_0x38368e,_0x325ffa,_0x214cbc;const _0x238d79=await((_0x38368e=this[_0x33bb71(0x1a1)])==null?void 0x0:_0x38368e['loadOfflineData'](this['unitID'])),_0x5e60d2=(_0x325ffa=_0x238d79==null?void 0x0:_0x238d79['mutations'])!=null?_0x325ffa:[],_0x5223ac=(_0x214cbc=_0x238d79==null?void 0x0:_0x238d79[_0x33bb71(0x386)])!=null?_0x214cbc:null,_0x13aa9e=!!(_0x5223ac!=null&&_0x5223ac[_0x33bb71(0x10b)])&&!!(_0x5223ac!=null&&_0x5223ac[_0x33bb71(0xea)]);this[_0x33bb71(0x338)]=_0x13aa9e?_0x5223ac[_0x33bb71(0x10b)]:rr(),this[_0x33bb71(0x2da)]=_0x13aa9e?_0x5223ac['reqId']:0x0;const _0x384877=this[_0x33bb71(0x17e)];try{this['_replayCachedMutations'](_0x5223ac,_0x5e60d2);}catch(_0x4b689a){this[_0x33bb71(0x29f)][_0x33bb71(0x32c)](_0x4b689a);}const _0x1f93ae=this[_0x33bb71(0x373)]();if(_0x2460b6){const _0x513988=Di(this[_0x33bb71(0x2fe)],_0x384877,this[_0x33bb71(0x347)],_0x5223ac,_0x5e60d2,_0x1f93ae);return _0x513988 instanceof oe?_0x513988['_schedule']():(_0x513988 instanceof ae||_0x513988 instanceof ue)&&_0x513988[_0x33bb71(0xe2)](),_0x513988;}return this['_injector']['createInstance'](fe,_0x384877,this['_type'],_0x5223ac,_0x5e60d2,_0x1f93ae);}[_0xf95350(0x38b)](_0x2d1126,_0x33c811){var _0x21429b=_0xf95350,_0x13191b,_0x32847f;const _0x1744a9=this[_0x21429b(0x358)]['interceptor'][_0x21429b(0x23c)](this[_0x21429b(0x358)][_0x21429b(0x210)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x13191b=_0x1744a9((_0x2d1126==null?void 0x0:_0x2d1126[_0x21429b(0x20f)])||[],null))==null||_0x13191b[_0x21429b(0x362)](_0x4ca4df=>this['_commandService'][_0x21429b(0x309)](_0x4ca4df['id'],_0x4ca4df[_0x21429b(0x39e)])),(_0x32847f=_0x1744a9(_0x33c811||[],null))==null||_0x32847f[_0x21429b(0x362)](_0x36e28b=>this[_0x21429b(0x2e7)][_0x21429b(0x309)](_0x36e28b['id'],_0x36e28b[_0x21429b(0x39e)]));}};st=Lt([k(0x3,_0x1f377b(_0x459b1e)),k(0x4,_0x1f377b(_0x387e7e)),k(0x5,_0x1f377b(_0x3b591c)),k(0x6,_0x1f377b(_0x3aeefc)),k(0x7,_0x1f377b(pe)),k(0x8,_0x2cd95e),k(0x9,_0x16ead5),k(0xa,_0x193a1a),k(0xb,_0x36e3d4(ht)),k(0xc,_0x36e3d4(J))],st);let Tt=class extends st{constructor(_0x3a80fd,_0x52da32,_0x4cefc0,_0x13682b,_0x8ac11c,_0x488590,_0x10963d,_0x3c0500,_0x6cce5b,_0x2034c7,_0x1df139,_0x4fd8ed,_0x57924d){var _0x49ed87=_0xf95350;super(_0x3a80fd,_0x4cefc0,_0x52da32,_0x13682b,_0x8ac11c,_0x488590,_0x10963d,_0x3c0500,_0x6cce5b,_0x2034c7,_0x1df139,_0x4fd8ed,_0x57924d),N(this,_0x49ed87(0x2d9),null),(this[_0x49ed87(0x17e)]=_0x3a80fd,this['type']=_0x52da32);}[_0xf95350(0x176)](_0x50cded){this['_handlerCallback']=_0x50cded;}[_0xf95350(0x237)](){var _0x239830=_0xf95350;this[_0x239830(0x2d9)]=null,super[_0x239830(0x237)]();}[_0xf95350(0x373)](){var _0x2a1402=_0xf95350;const _0xbb9ba0=super[_0x2a1402(0x373)]();return _0xbb9ba0['onTransformIME']=_0x475d3f=>{var _0x3535c8=_0x2a1402,_0x4498a1,_0x111a7d;return(_0x111a7d=(_0x4498a1=this[_0x3535c8(0x2d9)])==null?void 0x0:_0x4498a1[_0x3535c8(0x19d)])==null?void 0x0:_0x111a7d[_0x3535c8(0x2d8)](_0x4498a1,_0x475d3f);},_0xbb9ba0['onTransformState']=_0x9a5f38=>{var _0x46919d=_0x2a1402,_0x3776f3,_0x1e81bd;return(_0x1e81bd=(_0x3776f3=this[_0x46919d(0x2d9)])==null?void 0x0:_0x3776f3[_0x46919d(0x2a1)])==null?void 0x0:_0x1e81bd[_0x46919d(0x2d8)](_0x3776f3,_0x9a5f38);},_0xbb9ba0[_0x2a1402(0x398)]=_0xfb79a3=>{var _0x21d90b,_0x42b598;return(_0x42b598=(_0x21d90b=this['_handlerCallback'])==null?void 0x0:_0x21d90b['onTransformSelections'])==null?void 0x0:_0x42b598['call'](_0x21d90b,_0xfb79a3);},_0xbb9ba0[_0x2a1402(0x2f1)]=_0x5b7ec4=>{var _0x581cc6=_0x2a1402,_0x5e0efc,_0x169c9f;return(_0x169c9f=(_0x5e0efc=this[_0x581cc6(0x2d9)])==null?void 0x0:_0x5e0efc[_0x581cc6(0x2f1)])==null?void 0x0:_0x169c9f['call'](_0x5e0efc,_0x5b7ec4);},_0xbb9ba0['onTransformRemoteChangesetByIMECache']=_0x5a8623=>{var _0x343517=_0x2a1402,_0x5ab866,_0x4e7ab3,_0x3f843c;if(!((_0x5ab866=this[_0x343517(0x2d9)])!=null&&_0x5ab866['onTransformRemoteChangesetByIMECache']))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x3f843c=(_0x4e7ab3=this[_0x343517(0x2d9)])==null?void 0x0:_0x4e7ab3[_0x343517(0x202)])==null?void 0x0:_0x3f843c[_0x343517(0x2d8)](_0x4e7ab3,_0x5a8623);},_0xbb9ba0[_0x2a1402(0x16f)]=_0x2e0db5=>{var _0x4ea8a8=_0x2a1402,_0x1b837f,_0x469832,_0x41c21e;if(!((_0x1b837f=this[_0x4ea8a8(0x2d9)])!=null&&_0x1b837f[_0x4ea8a8(0x16f)]))throw new Error(_0x4ea8a8(0x1a5));return(_0x41c21e=(_0x469832=this['_handlerCallback'])==null?void 0x0:_0x469832['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x41c21e[_0x4ea8a8(0x2d8)](_0x469832,_0x2e0db5);},_0xbb9ba0;}async[_0xf95350(0x1a3)](){var _0x14a2f3=_0xf95350;const _0x55ed8c=await super[_0x14a2f3(0x1a3)]();return this['disposeWithMe'](this[_0x14a2f3(0x2e7)][_0x14a2f3(0x1ff)]((_0x575368,_0x3b59a2)=>{var _0x346ff0=_0x14a2f3;if(_0x575368[_0x346ff0(0x2fd)]!==_0x368d91['MUTATION']||_0x3b59a2!=null&&_0x3b59a2[_0x346ff0(0x255)]||_0x3b59a2!=null&&_0x3b59a2['onlyLocal']||_0x575368['id']===_0x775ef5['id'])return;const _0x5b4572=_0x575368['params'];if((_0x5b4572==null?void 0x0:_0x5b4572['unitId'])!==this[_0x346ff0(0x17e)])return;const _0x582fb6=_0x575368,_0x6b71ef=this['_compressMutationService'][_0x346ff0(0x210)]['fetchThroughInterceptors'](this[_0x346ff0(0x358)]['interceptor'][_0x346ff0(0x1d9)]()[_0x346ff0(0x1ad)])([_0x582fb6],null)||[_0x582fb6];this[_0x346ff0(0x132)](_0x6b71ef[0x0]);})),_0x55ed8c;}};Tt=Lt([k(0x3,_0x1f377b(_0x459b1e)),k(0x4,_0x1f377b(_0x387e7e)),k(0x5,_0x1f377b(_0x3b591c)),k(0x6,_0x1f377b(_0x3aeefc)),k(0x7,_0x1f377b(pe)),k(0x8,_0x2cd95e),k(0x9,_0x16ead5),k(0xa,_0x193a1a),k(0xb,_0x36e3d4(ht)),k(0xc,_0x36e3d4(J))],Tt);let Ct=class extends st{constructor(_0x1f8858,_0x5a5e79,_0x36f923,_0x2c87cc,_0x4bdb1f,_0x339220,_0x54fdf5,_0xc9754e,_0x334db,_0x88cbef,_0x58c318,_0x1d484f,_0x132bbc,_0x181a96){var _0x5c347e=_0xf95350;super(_0x1f8858,_0x36f923,_0x5a5e79,_0x2c87cc,_0x4bdb1f,_0x339220,_0x54fdf5,_0x334db,_0x88cbef,_0x58c318,_0x1d484f,_0x132bbc,_0x181a96),this['unitID']=_0x1f8858,this['type']=_0x5a5e79,this[_0x5c347e(0x31a)]=_0xc9754e;}[_0xf95350(0x373)](){var _0x40130f=_0xf95350;const _0xd74e5a=super[_0x40130f(0x373)]();return _0xd74e5a[_0x40130f(0x398)]=_0x373064=>this[_0x40130f(0x31a)]['transformSelections'](_0x373064),_0xd74e5a;}async['_init'](){var _0xe192d7=_0xf95350;const _0x51f8ec=await super[_0xe192d7(0x1a3)]();return this[_0xe192d7(0x359)](this[_0xe192d7(0x2e7)][_0xe192d7(0x1ff)]((_0x12f202,_0x150c40)=>{var _0x5675ef=_0xe192d7;if(_0x12f202[_0x5675ef(0x2fd)]!==_0x368d91[_0x5675ef(0x261)]||_0x150c40!=null&&_0x150c40['fromCollab']||_0x150c40!=null&&_0x150c40['onlyLocal'])return;const _0x3da5d7=_0x12f202['params'];if((_0x3da5d7==null?void 0x0:_0x3da5d7['unitId'])!==this[_0x5675ef(0x17e)])return;const _0x3aaef4=_0x12f202,_0x3a2e78=this[_0x5675ef(0x358)]['interceptor'][_0x5675ef(0x23c)](this['_compressMutationService']['interceptor'][_0x5675ef(0x1d9)]()[_0x5675ef(0x1ad)])([_0x3aaef4],null)||[_0x3aaef4];this[_0x5675ef(0x132)](_0x3a2e78[0x0]);})),_0x51f8ec;}};Ct=Lt([k(0x3,_0x1f377b(_0x459b1e)),k(0x4,_0x1f377b(_0x387e7e)),k(0x5,_0x1f377b(_0x3b591c)),k(0x6,_0x1f377b(_0x3aeefc)),k(0x7,_0x1f377b(it)),k(0x8,_0x1f377b(pe)),k(0x9,_0x2cd95e),k(0xa,_0x16ead5),k(0xb,_0x193a1a),k(0xc,_0x36e3d4(ht)),k(0xd,_0x36e3d4(J))],Ct);var pr=Object['defineProperty'],mr=Object[_0xf95350(0x1b5)],gr=(_0x5b211e,_0x85607a,_0x2ee793,_0x112496)=>{var _0x57122e=_0xf95350;for(var _0xbc198c=_0x112496>0x1?void 0x0:_0x112496?mr(_0x85607a,_0x2ee793):_0x85607a,_0x5321ec=_0x5b211e[_0x57122e(0x131)]-0x1,_0x4537c8;_0x5321ec>=0x0;_0x5321ec--)(_0x4537c8=_0x5b211e[_0x5321ec])&&(_0xbc198c=(_0x112496?_0x4537c8(_0x85607a,_0x2ee793,_0xbc198c):_0x4537c8(_0xbc198c))||_0xbc198c);return _0x112496&&_0xbc198c&&pr(_0x85607a,_0x2ee793,_0xbc198c),_0xbc198c;},ft=(_0x49fe75,_0x2a6d34)=>(_0x11711b,_0x115adb)=>_0x2a6d34(_0x11711b,_0x115adb,_0x49fe75);let rt=class extends _0x426883{constructor(_0x3b8bee,_0x40db06,_0x20ec5e){var _0x54da88=_0xf95350;super(),N(this,_0x54da88(0xec),new Map()),N(this,'_entityInit$',new _0x1d9c1a()),N(this,_0x54da88(0x312),this['_entityInit$']['asObservable']()),(this['_injector']=_0x3b8bee,this['_collabSessionService']=_0x40db06,this[_0x54da88(0x2e3)]=_0x20ec5e,this['_init']());}[_0xf95350(0x237)](){var _0x4b02c6=_0xf95350;super[_0x4b02c6(0x237)](),this[_0x4b02c6(0xec)][_0x4b02c6(0x362)](_0x3904b0=>_0x3904b0[_0x4b02c6(0x237)]()),this[_0x4b02c6(0xec)][_0x4b02c6(0x2b0)]();}[_0xf95350(0x22d)](_0x2282ca){var _0x3631b6=_0xf95350,_0x14d6e5;return(_0x14d6e5=this[_0x3631b6(0xec)]['get'](_0x2282ca))!=null?_0x14d6e5:null;}['getCollabEntity$'](_0x482cd4){var _0x534770=_0xf95350;const _0x5b728f=this[_0x534770(0x22d)](_0x482cd4);return _0x5b728f?_0x22b9ed(_0x5b728f):this['_entityInit$'][_0x534770(0x39f)](_0x2ac5d0(_0x33938b=>_0x33938b['unitID']===_0x482cd4));}[_0xf95350(0x343)](_0x33b1f8){var _0x5c8682=_0xf95350;return _0x12dc12(this[_0x5c8682(0xe6)](_0x33b1f8)[_0x5c8682(0x39f)](_0x3dd616(()=>{})));}[_0xf95350(0x1a3)](){var _0x526210=_0xf95350;this['_univerInstanceService'][_0x526210(0x331)](_0x4fe211[_0x526210(0xda)])[_0x526210(0x39f)](_0x30c8dd(this[_0x526210(0x205)]),_0x2a4396(0x10))[_0x526210(0x2f6)](async _0x3f89d3=>{var _0x18a17b=_0x526210;const _0x36cdd0=_0x3f89d3[_0x18a17b(0x298)](),_0x43f387=await this[_0x18a17b(0x2bb)](_0x36cdd0,Q[_0x18a17b(0xda)]);this[_0x18a17b(0xec)][_0x18a17b(0x269)](_0x36cdd0,_0x43f387);}),this[_0x526210(0x2e3)]['getTypeOfUnitAdded$'](_0x4fe211[_0x526210(0x2df)])[_0x526210(0x39f)](_0x30c8dd(this['dispose$']),_0x2a4396(0x10))[_0x526210(0x39f)](_0x2ac5d0(_0x2341cf=>!_0x2341cf[_0x526210(0x298)]()[_0x526210(0x300)]('__')))[_0x526210(0x2f6)](async _0x275f39=>{var _0x35a576=_0x526210;const _0x1180dd=_0x275f39[_0x35a576(0x298)](),_0xe96778=await this[_0x35a576(0x2bb)](_0x1180dd,Q[_0x35a576(0x2df)]);this[_0x35a576(0xec)]['set'](_0x1180dd,_0xe96778);}),_0x127445(this[_0x526210(0x2e3)]['getTypeOfUnitDisposed$'](_0x4fe211[_0x526210(0xda)]),this[_0x526210(0x2e3)][_0x526210(0xb1)](_0x4fe211['UNIVER_DOC']))[_0x526210(0x39f)](_0x30c8dd(this[_0x526210(0x205)]))[_0x526210(0x2f6)](_0x4b93c9=>{var _0x370e03=_0x526210;const _0x382399=_0x4b93c9[_0x370e03(0x298)](),_0xacf34c=this[_0x370e03(0xec)][_0x370e03(0x151)](_0x382399);_0xacf34c&&(_0xacf34c[_0x370e03(0x237)](),this[_0x370e03(0xec)][_0x370e03(0x1e1)](_0x382399));});}async[_0xf95350(0x2bb)](_0x1aec05,_0x3def2d){var _0x12070a=_0xf95350;const _0x3c5ce0=await this['_collabSessionService'][_0x12070a(0x24b)](_0x1aec05),_0x2babd9=this[_0x12070a(0x2fe)]['createInstance'](this[_0x12070a(0x15f)](_0x3def2d),_0x1aec05,_0x3def2d,_0x3c5ce0);return await _0x2babd9[_0x12070a(0x11f)](),this[_0x12070a(0x2fc)][_0x12070a(0x2f9)](_0x2babd9),_0x2babd9;}[_0xf95350(0x15f)](_0x2e0ad3){var _0x4c6e75=_0xf95350;switch(_0x2e0ad3){case Q['UNIVER_DOC']:return Tt;case Q[_0x4c6e75(0xda)]:return Ct;default:throw new Error(_0x4c6e75(0x160)+_0x2e0ad3);}}};rt=gr([ft(0x0,_0x1f377b(_0x459b1e)),ft(0x1,_0x1f377b(Le)),ft(0x2,_0x4accb0)],rt);var Sr=Object[_0xf95350(0x35a)],Er=Object[_0xf95350(0x1b5)],Ir=(_0x2438b1,_0x59ebdd,_0x544b,_0x7fa920)=>{var _0x32873d=_0xf95350;for(var _0x11786e=_0x7fa920>0x1?void 0x0:_0x7fa920?Er(_0x59ebdd,_0x544b):_0x59ebdd,_0x5341c7=_0x2438b1[_0x32873d(0x131)]-0x1,_0x32b8c8;_0x5341c7>=0x0;_0x5341c7--)(_0x32b8c8=_0x2438b1[_0x5341c7])&&(_0x11786e=(_0x7fa920?_0x32b8c8(_0x59ebdd,_0x544b,_0x11786e):_0x32b8c8(_0x11786e))||_0x11786e);return _0x7fa920&&_0x11786e&&Sr(_0x59ebdd,_0x544b,_0x11786e),_0x11786e;},Jt=(_0x22279c,_0x2492bc)=>(_0x40fd1c,_0x554cdb)=>_0x2492bc(_0x40fd1c,_0x554cdb,_0x22279c);const Tr=_0xf95350(0xed),Cr='Univer';let bt=class extends _0x21c7f9{constructor(_0x5df010,_0x12d380){var _0x2030e2=_0xf95350;super(),this[_0x2030e2(0x2e3)]=_0x5df010,this[_0x2030e2(0x215)]=_0x12d380,this[_0x2030e2(0x1a3)]();}[_0xf95350(0x1a3)](){var _0x313090=_0xf95350;this['disposeWithMe'](this[_0x313090(0x2e3)]['focused$'][_0x313090(0x2f6)](()=>{var _0x1f1bd9=_0x313090,_0x38fbd0;const _0x31f23e=this[_0x1f1bd9(0x2e3)][_0x1f1bd9(0x2ff)]();let _0x266d80=(_0x38fbd0=this[_0x1f1bd9(0x215)][_0x1f1bd9(0x1ab)](Tr))!=null?_0x38fbd0:Cr;_0x31f23e instanceof _0x3569b1&&(_0x266d80=_0x31f23e[_0x1f1bd9(0x10c)]),document[_0x1f1bd9(0x341)]=_0x266d80;}));}};bt=Ir([Jt(0x0,_0x4accb0),Jt(0x1,_0x4ef789)],bt);var br=Object[_0xf95350(0x35a)],Rr=Object['getOwnPropertyDescriptor'],Or=(_0x24b84c,_0x534c33,_0x4fe3bc,_0xf655e8)=>{var _0x33d6a8=_0xf95350;for(var _0x1143c8=_0xf655e8>0x1?void 0x0:_0xf655e8?Rr(_0x534c33,_0x4fe3bc):_0x534c33,_0x4ae9d0=_0x24b84c[_0x33d6a8(0x131)]-0x1,_0x1865c4;_0x4ae9d0>=0x0;_0x4ae9d0--)(_0x1865c4=_0x24b84c[_0x4ae9d0])&&(_0x1143c8=(_0xf655e8?_0x1865c4(_0x534c33,_0x4fe3bc,_0x1143c8):_0x1865c4(_0x1143c8))||_0x1143c8);return _0xf655e8&&_0x1143c8&&br(_0x534c33,_0x4fe3bc,_0x1143c8),_0x1143c8;},vt=(_0x1370c8,_0x5b0b10)=>(_0x3be96c,_0x2d3ac8)=>_0x5b0b10(_0x3be96c,_0x2d3ac8,_0x1370c8);let nt=class{constructor(_0x2a5cd4,_0x530a02,_0x44b349){var _0x3bfb7b=_0xf95350;this[_0x3bfb7b(0x215)]=_0x2a5cd4,this['_httpService']=_0x530a02,this[_0x3bfb7b(0x335)]=_0x44b349,this[_0x3bfb7b(0x11f)]();}[_0xf95350(0x11f)](){var _0x47b42b=_0xf95350;this[_0x47b42b(0xdf)][_0x47b42b(0x33f)]({'priority':0x1,'interceptor':(_0x1f6bd0,_0x5bfdcc)=>_0x5bfdcc(_0x1f6bd0)[_0x47b42b(0x39f)](_0x17ba71(async _0x3751f7=>{var _0x475319=_0x47b42b;const _0x137143=_0x3751f7;if(_0x137143[_0x475319(0x1fd)]===0x191){if(typeof window>'u')throw new Error(_0x475319(0x1ed));if(window['confirm'](this['localeService']['t']('auth.needGotoLoginAlert'))){const _0x592ab9=window[_0x475319(0xd6)](window[_0x475319(0x1a2)]['href']);window['location']['href']=this['_getLoginPath']()+_0x475319(0x3a4)+_0x592ab9;}}return _0x137143;}))});}[_0xf95350(0x1ce)](){var _0x14e3ac=_0xf95350,_0x46ea21,_0xb7680c;const _0x2f2b2b=this[_0x14e3ac(0x215)][_0x14e3ac(0x1ab)](As),_0x44527b=this[_0x14e3ac(0x215)][_0x14e3ac(0x1ab)](q);return(_0xb7680c=(_0x46ea21=_0x44527b==null?void 0x0:_0x44527b[_0x14e3ac(0x15e)])!=null?_0x46ea21:_0x2f2b2b)!=null?_0xb7680c:xs;}};nt=Or([vt(0x0,_0x4ef789),vt(0x1,_0x1f377b(_0x1d95e4)),vt(0x2,_0x1f377b(_0x3b591c))],nt);var yr=Object[_0xf95350(0x35a)],Nr=Object['getOwnPropertyDescriptor'],Dr=(_0x391c6c,_0x1ed573,_0x2532a2,_0x14787f)=>{var _0x3ee546=_0xf95350;for(var _0x2f2239=_0x14787f>0x1?void 0x0:_0x14787f?Nr(_0x1ed573,_0x2532a2):_0x1ed573,_0x454cfd=_0x391c6c[_0x3ee546(0x131)]-0x1,_0x44aecc;_0x454cfd>=0x0;_0x454cfd--)(_0x44aecc=_0x391c6c[_0x454cfd])&&(_0x2f2239=(_0x14787f?_0x44aecc(_0x1ed573,_0x2532a2,_0x2f2239):_0x44aecc(_0x2f2239))||_0x2f2239);return _0x14787f&&_0x2f2239&&yr(_0x1ed573,_0x2532a2,_0x2f2239),_0x2f2239;},Xt=(_0x505b98,_0x9d5697)=>(_0x1f64d3,_0x246716)=>_0x9d5697(_0x1f64d3,_0x246716,_0x505b98);const Pi='AUTHZ_URL_KEY',Pr=_0xf95350(0x2ab);let Rt=class extends _0x21c7f9{constructor(_0x1f8c71,_0x1171eb){var _0x3cda76=_0xf95350;super(),this[_0x3cda76(0x1eb)]=_0x1f8c71,this[_0x3cda76(0x215)]=_0x1171eb,this['_initMergeInterceptor']();}[_0xf95350(0x23b)](){var _0x374c7c=_0xf95350;const _0x2d3ae2=this;this[_0x374c7c(0x359)](this[_0x374c7c(0x1eb)][_0x374c7c(0x33f)]({'priority':0x3e7,'interceptor':_0x516ca5({'isMatch'(_0x5e2b88){var _0x3a62a4=_0x374c7c,_0x4fe4c7;if(_0x5e2b88[_0x3a62a4(0x293)]==='POST'&&((_0x4fe4c7=_0x5e2b88[_0x3a62a4(0xd3)])!=null&&_0x4fe4c7['body'])){const {objectID:_0x52e56b,objectType:_0x58ea67}=_0x5e2b88[_0x3a62a4(0xd3)][_0x3a62a4(0x2c1)]||{};if(!_0x52e56b||_0x58ea67===void 0x0)return!0x1;const _0x2554ba=_0x2d3ae2[_0x3a62a4(0x35b)]()+'/'+_0x58ea67+_0x3a62a4(0x1af)+_0x52e56b+'/allowed';if(_0x5e2b88[_0x3a62a4(0x249)]===_0x2554ba)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4dd854){var _0xf19279=_0x374c7c,_0x42be89;return(_0x42be89=_0x4dd854['requestParams'])==null?void 0x0:_0x42be89[_0xf19279(0x2c1)];},'mergeParamsToRequest'(_0x4151b5,_0x2feb4f){var _0x1b6644=_0x374c7c;const _0x4c51d3=_0x2d3ae2[_0x1b6644(0x35b)]()+_0x1b6644(0x244),_0x506c80=_0x4151b5[_0x1b6644(0x2ad)]((_0x3ef0fc,_0x5bd8e4)=>{var _0x3d505c=_0x1b6644;const {unitID:_0x506570,objectID:_0x782b95,objectType:_0x4fc6f4,actions:_0x4d0056}=_0x5bd8e4;return _0x3ef0fc[_0x506570]||(_0x3ef0fc[_0x506570]={}),_0x3ef0fc[_0x506570][_0x782b95]||(_0x3ef0fc[_0x506570][_0x782b95]={'objectID':_0x782b95,'objectType':_0x4fc6f4,'actions':[]}),_0x3ef0fc[_0x506570][_0x782b95][_0x3d505c(0x163)][_0x3d505c(0x2e0)](..._0x4d0056),_0x3ef0fc;},{}),_0x331347=[];for(const _0x5464b5 in _0x506c80)for(const _0x258438 in _0x506c80[_0x5464b5]){const {actions:_0x45ef14,objectType:_0x2ed007}=_0x506c80[_0x5464b5][_0x258438],_0x3c8efe=[...new Set(_0x45ef14)];_0x331347['push']({'unitID':_0x5464b5,'objectID':_0x258438,'objectType':_0x2ed007,'actions':_0x3c8efe});}return new _0x3dc882(_0x1b6644(0x26c),_0x4c51d3,{'headers':_0x2feb4f[_0x1b6644(0x2aa)],'withCredentials':_0x2feb4f['withCredentials'],'responseType':_0x2feb4f['responseType'],'body':{'requests':_0x331347}});}},{'distributeResult'(_0x35cb05,_0x1deb5b){var _0x48a3a4=_0x374c7c;const {objectActions:_0x584935}=_0x35cb05;return _0x1deb5b[_0x48a3a4(0xbf)](_0x2b9e9e=>{var _0x458e29=_0x48a3a4;const {unitID:_0xedf8bd,objectID:_0x42d37c,actions:_0x59e8aa}=_0x2b9e9e,_0xd8b9a4=_0x584935['find'](_0x5d724f=>_0x5d724f['unitID']===_0xedf8bd&&_0x5d724f[_0x458e29(0x159)]===_0x42d37c),_0x57074a=_0x59e8aa[_0x458e29(0xbf)](_0x37285d=>_0xd8b9a4==null?void 0x0:_0xd8b9a4[_0x458e29(0x163)]['find'](_0x3683ce=>_0x3683ce[_0x458e29(0x2a9)]===_0x37285d))[_0x458e29(0x182)](_0x11d0a1=>!!_0x11d0a1);return{'config':_0x2b9e9e,'result':{'actions':_0x57074a,'error':_0x35cb05['error']}};});}})}));}[_0xf95350(0x35b)](){var _0xeb68dc=_0xf95350,_0x11bd24,_0x5e8333;const _0xe5da75=this[_0xeb68dc(0x215)][_0xeb68dc(0x1ab)](Pi),_0xa93814=this['_configService'][_0xeb68dc(0x1ab)](q);return(_0x5e8333=(_0x11bd24=_0xa93814==null?void 0x0:_0xa93814['authzUrl'])!=null?_0x11bd24:_0xe5da75)!=null?_0x5e8333:Pr;}async['create'](_0x564d0b){var _0x118b04=_0xf95350;const _0x189972=this['_getAPIPrefixPath']()+'/'+_0x564d0b[_0x118b04(0x387)]+_0x118b04(0x116);return(await this[_0x118b04(0x1eb)]['post'](_0x189972,{'body':_0x564d0b}))[_0x118b04(0x2c1)][_0x118b04(0x159)]||'';}async[_0xf95350(0x385)](_0x25fa1a){var _0x24a8d3=_0xf95350;const _0x5d22d0=this[_0x24a8d3(0x35b)]()+_0x24a8d3(0x330);return(await this[_0x24a8d3(0x1eb)][_0x24a8d3(0x24a)](_0x5d22d0,{'body':_0x25fa1a}))[_0x24a8d3(0x2c1)]['objects'];}async[_0xf95350(0x1c6)](_0x48fd91){var _0x64ab0c=_0xf95350;const _0xbde8a3=this[_0x64ab0c(0x35b)]()+'/'+_0x48fd91[_0x64ab0c(0x387)]+'/object/'+_0x48fd91['objectID'];await this['_HTTPService'][_0x64ab0c(0x164)](_0xbde8a3,{'body':_0x48fd91});}async['allowed'](_0x26b28c){var _0x5c97d4=_0xf95350;const _0x21db8a=this['_getAPIPrefixPath']()+'/'+_0x26b28c[_0x5c97d4(0x387)]+_0x5c97d4(0x1af)+_0x26b28c[_0x5c97d4(0x159)]+'/allowed';return(await this[_0x5c97d4(0x1eb)][_0x5c97d4(0x24a)](_0x21db8a,{'body':_0x26b28c}))[_0x5c97d4(0x2c1)][_0x5c97d4(0x163)];}async['batchAllowed'](_0x2f6cbb){var _0x1839f3=_0xf95350;const _0x29e43b=this[_0x1839f3(0x35b)]()+'/-/object/-/batch_allowed';return(await this[_0x1839f3(0x1eb)][_0x1839f3(0x24a)](_0x29e43b,{'body':{'requests':_0x2f6cbb}}))[_0x1839f3(0x2c1)][_0x1839f3(0x254)];}async[_0xf95350(0x239)](_0x48f657){var _0x11de34=_0xf95350;const _0x2aae39=this['_getAPIPrefixPath']()+'/'+_0x48f657[_0x11de34(0x387)]+_0x11de34(0x1b6),_0x368dc0=await this[_0x11de34(0x1eb)]['post'](_0x2aae39,{'body':_0x48f657});return{'roles':_0x368dc0[_0x11de34(0x2c1)][_0x11de34(0x25e)],'actions':_0x368dc0[_0x11de34(0x2c1)][_0x11de34(0x163)]};}async[_0xf95350(0x39d)](_0x40b4ec){var _0x192cf3=_0xf95350;const _0x4dc3e8=this[_0x192cf3(0x35b)]()+'/collaborator';await this[_0x192cf3(0x1eb)]['delete'](_0x4dc3e8,{'params':{'collaboratorID':_0x40b4ec[_0x192cf3(0x18f)],'objectID':_0x40b4ec[_0x192cf3(0x159)],'unitID':_0x40b4ec[_0x192cf3(0x17e)]}});}async['updateCollaborator'](_0x48287c){var _0x1c7718=_0xf95350;const _0x58a755=this[_0x1c7718(0x35b)]()+_0x1c7718(0x127);await this['_HTTPService'][_0x1c7718(0x322)](_0x58a755,{'body':_0x48287c});}async[_0xf95350(0x1c1)](_0x3ed157){var _0x3433d3=_0xf95350;const _0x39efcd=this['_getAPIPrefixPath']()+_0x3433d3(0x127);await this[_0x3433d3(0x1eb)][_0x3433d3(0x24a)](_0x39efcd,{'body':_0x3ed157});}async[_0xf95350(0x103)](_0x70b4c6){var _0xa414d1=_0xf95350;const _0x4a8ebb=this[_0xa414d1(0x35b)]()+'/collaborator';return(await this[_0xa414d1(0x1eb)][_0xa414d1(0x151)](_0x4a8ebb,{'params':{'objectID':_0x70b4c6[_0xa414d1(0x159)],'unitID':_0x70b4c6['unitID']}}))[_0xa414d1(0x2c1)][_0xa414d1(0x13e)];}async[_0xf95350(0x1f5)](_0x467f4c){var _0x5655e8=_0xf95350;const _0x3e5061=this['_getAPIPrefixPath']()+_0x5655e8(0x127);await this[_0x5655e8(0x1eb)]['put'](_0x3e5061,{'body':_0x467f4c});}};Rt=Dr([Xt(0x0,_0x1f377b(_0x1d95e4)),Xt(0x1,_0x1f377b(_0x4ef789))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x2bf27f){var _0xc29c10=_0xf95350;return _0x2bf27f&&_0x2bf27f[_0xc29c10(0x1e2)]&&Object['prototype'][_0xc29c10(0x17a)]['call'](_0x2bf27f,_0xc29c10(0x302))?_0x2bf27f['default']:_0x2bf27f;}var Ve={'exports':{}};function wr(_0x3f277f){var _0x331b54=_0xf95350;throw new Error(_0x331b54(0xb0)+_0x3f277f+_0x331b54(0x377));}var Ge={'exports':{}},Ur=Ge['exports'],Zt;function se(){var _0x36529d=_0xf95350;return Zt||(Zt=0x1,function(_0x173800,_0x17277e){(function(_0x39c759,_0x5bd832){var _0x405e45=_0x4451;_0x173800[_0x405e45(0x1b2)]=_0x5bd832();}(Ur,function(){var _0x41f585=_0x41f585||function(_0xbcdc42,_0x4ffca5){var _0x39f0ff=_0x4451,_0x34e3bf;if(typeof window<'u'&&window[_0x39f0ff(0x2b8)]&&(_0x34e3bf=window[_0x39f0ff(0x2b8)]),typeof self<'u'&&self[_0x39f0ff(0x2b8)]&&(_0x34e3bf=self[_0x39f0ff(0x2b8)]),typeof globalThis<'u'&&globalThis[_0x39f0ff(0x2b8)]&&(_0x34e3bf=globalThis['crypto']),!_0x34e3bf&&typeof window<'u'&&window[_0x39f0ff(0x247)]&&(_0x34e3bf=window[_0x39f0ff(0x247)]),!_0x34e3bf&&typeof pt<'u'&&pt['crypto']&&(_0x34e3bf=pt[_0x39f0ff(0x2b8)]),!_0x34e3bf&&typeof wr==_0x39f0ff(0x2c0))try{_0x34e3bf=require('crypto');}catch{}var _0x42ff79=function(){var _0x3b0eed=_0x39f0ff;if(_0x34e3bf){if(typeof _0x34e3bf[_0x3b0eed(0x301)]==_0x3b0eed(0x2c0))try{return _0x34e3bf[_0x3b0eed(0x301)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x34e3bf[_0x3b0eed(0x38d)]==_0x3b0eed(0x2c0))try{return _0x34e3bf[_0x3b0eed(0x38d)](0x4)[_0x3b0eed(0x11d)]();}catch{}}throw new Error(_0x3b0eed(0x2f3));},_0x126728=Object[_0x39f0ff(0x18c)]||(function(){function _0x407e21(){}return function(_0x1b6736){var _0x1fdcf7=_0x4451,_0xbea9b3;return _0x407e21[_0x1fdcf7(0xc8)]=_0x1b6736,_0xbea9b3=new _0x407e21(),_0x407e21[_0x1fdcf7(0xc8)]=null,_0xbea9b3;};}()),_0x43cbea={},_0x7d6a8a=_0x43cbea[_0x39f0ff(0x12b)]={},_0x5eaba4=_0x7d6a8a[_0x39f0ff(0x325)]=(function(){return{'extend':function(_0x2312ce){var _0x100b2d=_0x4451,_0x2fe74c=_0x126728(this);return _0x2312ce&&_0x2fe74c[_0x100b2d(0x38a)](_0x2312ce),(!_0x2fe74c[_0x100b2d(0x17a)](_0x100b2d(0x11f))||this['init']===_0x2fe74c['init'])&&(_0x2fe74c[_0x100b2d(0x11f)]=function(){var _0x1d8f02=_0x100b2d;_0x2fe74c[_0x1d8f02(0x16a)][_0x1d8f02(0x11f)][_0x1d8f02(0x279)](this,arguments);}),_0x2fe74c[_0x100b2d(0x11f)][_0x100b2d(0xc8)]=_0x2fe74c,_0x2fe74c[_0x100b2d(0x16a)]=this,_0x2fe74c;},'create':function(){var _0x5642a4=_0x4451,_0x4459e4=this[_0x5642a4(0xc5)]();return _0x4459e4['init']['apply'](_0x4459e4,arguments),_0x4459e4;},'init':function(){},'mixIn':function(_0x5e2137){var _0x15d43b=_0x4451;for(var _0x2e2aba in _0x5e2137)_0x5e2137[_0x15d43b(0x17a)](_0x2e2aba)&&(this[_0x2e2aba]=_0x5e2137[_0x2e2aba]);_0x5e2137[_0x15d43b(0x17a)](_0x15d43b(0x1e3))&&(this[_0x15d43b(0x1e3)]=_0x5e2137[_0x15d43b(0x1e3)]);},'clone':function(){var _0x13d43c=_0x4451;return this[_0x13d43c(0x11f)][_0x13d43c(0xc8)][_0x13d43c(0xc5)](this);}};}()),_0x4b2a1b=_0x7d6a8a['WordArray']=_0x5eaba4[_0x39f0ff(0xc5)]({'init':function(_0x49320d,_0x8d8b0e){var _0x4271ef=_0x39f0ff;_0x49320d=this['words']=_0x49320d||[],_0x8d8b0e!=_0x4ffca5?this[_0x4271ef(0x1e7)]=_0x8d8b0e:this[_0x4271ef(0x1e7)]=_0x49320d[_0x4271ef(0x131)]*0x4;},'toString':function(_0x33a67d){var _0x48d3ad=_0x39f0ff;return(_0x33a67d||_0x3e7861)[_0x48d3ad(0x1f2)](this);},'concat':function(_0xff5a18){var _0xfda208=_0x39f0ff,_0x1e612f=this[_0xfda208(0x24d)],_0x2a7c2b=_0xff5a18[_0xfda208(0x24d)],_0x518179=this[_0xfda208(0x1e7)],_0x17b8a2=_0xff5a18[_0xfda208(0x1e7)];if(this[_0xfda208(0x2b1)](),_0x518179%0x4)for(var _0x2636f4=0x0;_0x2636f4<_0x17b8a2;_0x2636f4++){var _0x2fa531=_0x2a7c2b[_0x2636f4>>>0x2]>>>0x18-_0x2636f4%0x4*0x8&0xff;_0x1e612f[_0x518179+_0x2636f4>>>0x2]|=_0x2fa531<<0x18-(_0x518179+_0x2636f4)%0x4*0x8;}else{for(var _0xf6e594=0x0;_0xf6e594<_0x17b8a2;_0xf6e594+=0x4)_0x1e612f[_0x518179+_0xf6e594>>>0x2]=_0x2a7c2b[_0xf6e594>>>0x2];}return this[_0xfda208(0x1e7)]+=_0x17b8a2,this;},'clamp':function(){var _0xd9bd9f=_0x39f0ff,_0x2c11c9=this[_0xd9bd9f(0x24d)],_0x5221cf=this[_0xd9bd9f(0x1e7)];_0x2c11c9[_0x5221cf>>>0x2]&=0xffffffff<<0x20-_0x5221cf%0x4*0x8,_0x2c11c9[_0xd9bd9f(0x131)]=_0xbcdc42['ceil'](_0x5221cf/0x4);},'clone':function(){var _0x313886=_0x39f0ff,_0x494442=_0x5eaba4[_0x313886(0x1cc)][_0x313886(0x2d8)](this);return _0x494442[_0x313886(0x24d)]=this[_0x313886(0x24d)][_0x313886(0x2dd)](0x0),_0x494442;},'random':function(_0x5c6b57){for(var _0x4f360e=[],_0x455cbc=0x0;_0x455cbc<_0x5c6b57;_0x455cbc+=0x4)_0x4f360e['push'](_0x42ff79());return new _0x4b2a1b['init'](_0x4f360e,_0x5c6b57);}}),_0x5b3044=_0x43cbea['enc']={},_0x3e7861=_0x5b3044[_0x39f0ff(0x23e)]={'stringify':function(_0x594f2e){var _0x262a86=_0x39f0ff;for(var _0x2ccd10=_0x594f2e[_0x262a86(0x24d)],_0x5b6407=_0x594f2e['sigBytes'],_0x3c611c=[],_0x4f1f8c=0x0;_0x4f1f8c<_0x5b6407;_0x4f1f8c++){var _0x261ffb=_0x2ccd10[_0x4f1f8c>>>0x2]>>>0x18-_0x4f1f8c%0x4*0x8&0xff;_0x3c611c[_0x262a86(0x2e0)]((_0x261ffb>>>0x4)[_0x262a86(0x1e3)](0x10)),_0x3c611c['push']((_0x261ffb&0xf)['toString'](0x10));}return _0x3c611c[_0x262a86(0x199)]('');},'parse':function(_0x3ac824){var _0x4d540b=_0x39f0ff;for(var _0x2493fe=_0x3ac824[_0x4d540b(0x131)],_0x4b4ce8=[],_0xf6f1ec=0x0;_0xf6f1ec<_0x2493fe;_0xf6f1ec+=0x2)_0x4b4ce8[_0xf6f1ec>>>0x3]|=parseInt(_0x3ac824[_0x4d540b(0x1da)](_0xf6f1ec,0x2),0x10)<<0x18-_0xf6f1ec%0x8*0x4;return new _0x4b2a1b[(_0x4d540b(0x11f))](_0x4b4ce8,_0x2493fe/0x2);}},_0x17edc9=_0x5b3044['Latin1']={'stringify':function(_0x1b1080){var _0x48f42b=_0x39f0ff;for(var _0x3ff51d=_0x1b1080[_0x48f42b(0x24d)],_0x571719=_0x1b1080[_0x48f42b(0x1e7)],_0x11569d=[],_0x244ae1=0x0;_0x244ae1<_0x571719;_0x244ae1++){var _0x3b26b3=_0x3ff51d[_0x244ae1>>>0x2]>>>0x18-_0x244ae1%0x4*0x8&0xff;_0x11569d[_0x48f42b(0x2e0)](String['fromCharCode'](_0x3b26b3));}return _0x11569d['join']('');},'parse':function(_0x111a8d){var _0x15e104=_0x39f0ff;for(var _0x118dd8=_0x111a8d['length'],_0x435505=[],_0x30669c=0x0;_0x30669c<_0x118dd8;_0x30669c++)_0x435505[_0x30669c>>>0x2]|=(_0x111a8d[_0x15e104(0x378)](_0x30669c)&0xff)<<0x18-_0x30669c%0x4*0x8;return new _0x4b2a1b[(_0x15e104(0x11f))](_0x435505,_0x118dd8);}},_0x89e48c=_0x5b3044[_0x39f0ff(0xd1)]={'stringify':function(_0x1c8495){var _0x39007f=_0x39f0ff;try{return decodeURIComponent(escape(_0x17edc9[_0x39007f(0x1f2)](_0x1c8495)));}catch{throw new Error(_0x39007f(0x350));}},'parse':function(_0x4bef4c){var _0x51f9ef=_0x39f0ff;return _0x17edc9[_0x51f9ef(0x1a6)](unescape(encodeURIComponent(_0x4bef4c)));}},_0x5593d1=_0x7d6a8a['BufferedBlockAlgorithm']=_0x5eaba4[_0x39f0ff(0xc5)]({'reset':function(){var _0x4fa655=_0x39f0ff;this[_0x4fa655(0x19e)]=new _0x4b2a1b[(_0x4fa655(0x11f))](),this[_0x4fa655(0x296)]=0x0;},'_append':function(_0x2b1dcb){var _0xf6e95e=_0x39f0ff;typeof _0x2b1dcb==_0xf6e95e(0x267)&&(_0x2b1dcb=_0x89e48c[_0xf6e95e(0x1a6)](_0x2b1dcb)),this[_0xf6e95e(0x19e)][_0xf6e95e(0x241)](_0x2b1dcb),this['_nDataBytes']+=_0x2b1dcb[_0xf6e95e(0x1e7)];},'_process':function(_0x1109e4){var _0x500885=_0x39f0ff,_0x31ba0a,_0x5affe7=this[_0x500885(0x19e)],_0x2d04d5=_0x5affe7[_0x500885(0x24d)],_0x2c0f13=_0x5affe7['sigBytes'],_0x3f4df0=this[_0x500885(0xab)],_0x2d5224=_0x3f4df0*0x4,_0x13a40f=_0x2c0f13/_0x2d5224;_0x1109e4?_0x13a40f=_0xbcdc42[_0x500885(0xc6)](_0x13a40f):_0x13a40f=_0xbcdc42[_0x500885(0xa9)]((_0x13a40f|0x0)-this[_0x500885(0x13d)],0x0);var _0x8dd809=_0x13a40f*_0x3f4df0,_0x5ee22f=_0xbcdc42['min'](_0x8dd809*0x4,_0x2c0f13);if(_0x8dd809){for(var _0x2c4bf8=0x0;_0x2c4bf8<_0x8dd809;_0x2c4bf8+=_0x3f4df0)this['_doProcessBlock'](_0x2d04d5,_0x2c4bf8);_0x31ba0a=_0x2d04d5[_0x500885(0x23f)](0x0,_0x8dd809),_0x5affe7[_0x500885(0x1e7)]-=_0x5ee22f;}return new _0x4b2a1b[(_0x500885(0x11f))](_0x31ba0a,_0x5ee22f);},'clone':function(){var _0x5442e5=_0x39f0ff,_0x5408b1=_0x5eaba4[_0x5442e5(0x1cc)][_0x5442e5(0x2d8)](this);return _0x5408b1['_data']=this[_0x5442e5(0x19e)]['clone'](),_0x5408b1;},'_minBufferSize':0x0});_0x7d6a8a[_0x39f0ff(0x14c)]=_0x5593d1['extend']({'cfg':_0x5eaba4[_0x39f0ff(0xc5)](),'init':function(_0x55c7a5){var _0x273177=_0x39f0ff;this[_0x273177(0x351)]=this[_0x273177(0x351)]['extend'](_0x55c7a5),this[_0x273177(0x1bf)]();},'reset':function(){var _0x3f9bcc=_0x39f0ff;_0x5593d1[_0x3f9bcc(0x1bf)]['call'](this),this[_0x3f9bcc(0x101)]();},'update':function(_0x1f9a4f){var _0x34c6fd=_0x39f0ff;return this[_0x34c6fd(0xb2)](_0x1f9a4f),this['_process'](),this;},'finalize':function(_0x30ba23){var _0x28fd56=_0x39f0ff;_0x30ba23&&this['_append'](_0x30ba23);var _0x30f2e9=this[_0x28fd56(0x12f)]();return _0x30f2e9;},'blockSize':0x10,'_createHelper':function(_0x1e6dad){return function(_0x39e992,_0x2792b0){var _0x489746=_0x4451;return new _0x1e6dad[(_0x489746(0x11f))](_0x2792b0)[_0x489746(0x337)](_0x39e992);};},'_createHmacHelper':function(_0x26335e){return function(_0x56dde0,_0x5d94cf){var _0x3f986e=_0x4451;return new _0x2aee1d['HMAC'][(_0x3f986e(0x11f))](_0x26335e,_0x5d94cf)['finalize'](_0x56dde0);};}});var _0x2aee1d=_0x43cbea[_0x39f0ff(0xae)]={};return _0x43cbea;}(Math);return _0x41f585;}));}(Ge)),Ge[_0x36529d(0x1b2)];}var We={'exports':{}},Ar=We[_0xf95350(0x1b2)],Qt;function wi(){var _0x5d70c3=_0xf95350;return Qt||(Qt=0x1,function(_0x11759f,_0x5f321a){(function(_0x53cb73,_0x2da374){var _0x23e296=_0x4451;_0x11759f[_0x23e296(0x1b2)]=_0x2da374(se());}(Ar,function(_0x29dc8e){var _0x383e3e=_0x4451;return(function(){var _0x501bca=_0x4451,_0x45640a=_0x29dc8e,_0x21b828=_0x45640a[_0x501bca(0x12b)],_0xbb746b=_0x21b828[_0x501bca(0x388)],_0x4f1697=_0x45640a['enc'];_0x4f1697[_0x501bca(0x349)]={'stringify':function(_0xda2fda){var _0x1ad4fb=_0x501bca,_0x302cac=_0xda2fda[_0x1ad4fb(0x24d)],_0x2ffa7e=_0xda2fda[_0x1ad4fb(0x1e7)],_0x302658=this[_0x1ad4fb(0x2ac)];_0xda2fda[_0x1ad4fb(0x2b1)]();for(var _0x2a9036=[],_0x5624db=0x0;_0x5624db<_0x2ffa7e;_0x5624db+=0x3)for(var _0x1e281a=_0x302cac[_0x5624db>>>0x2]>>>0x18-_0x5624db%0x4*0x8&0xff,_0x28081d=_0x302cac[_0x5624db+0x1>>>0x2]>>>0x18-(_0x5624db+0x1)%0x4*0x8&0xff,_0x4810ea=_0x302cac[_0x5624db+0x2>>>0x2]>>>0x18-(_0x5624db+0x2)%0x4*0x8&0xff,_0x20fa9c=_0x1e281a<<0x10|_0x28081d<<0x8|_0x4810ea,_0x13137c=0x0;_0x13137c<0x4&&_0x5624db+_0x13137c*0.75<_0x2ffa7e;_0x13137c++)_0x2a9036['push'](_0x302658[_0x1ad4fb(0x243)](_0x20fa9c>>>0x6*(0x3-_0x13137c)&0x3f));var _0xecaae4=_0x302658[_0x1ad4fb(0x243)](0x40);if(_0xecaae4){for(;_0x2a9036[_0x1ad4fb(0x131)]%0x4;)_0x2a9036[_0x1ad4fb(0x2e0)](_0xecaae4);}return _0x2a9036['join']('');},'parse':function(_0x57c4a3){var _0x3721d3=_0x501bca,_0x273568=_0x57c4a3[_0x3721d3(0x131)],_0x20e8fd=this[_0x3721d3(0x2ac)],_0x4ec7dd=this['_reverseMap'];if(!_0x4ec7dd){_0x4ec7dd=this[_0x3721d3(0x28c)]=[];for(var _0x35b5eb=0x0;_0x35b5eb<_0x20e8fd[_0x3721d3(0x131)];_0x35b5eb++)_0x4ec7dd[_0x20e8fd[_0x3721d3(0x378)](_0x35b5eb)]=_0x35b5eb;}var _0x43e44f=_0x20e8fd[_0x3721d3(0x243)](0x40);if(_0x43e44f){var _0x1d7fa6=_0x57c4a3[_0x3721d3(0x252)](_0x43e44f);_0x1d7fa6!==-0x1&&(_0x273568=_0x1d7fa6);}return _0x32773a(_0x57c4a3,_0x273568,_0x4ec7dd);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x32773a(_0x532d20,_0x8ce56e,_0x34e95a){var _0x53108c=_0x501bca;for(var _0xa5f127=[],_0x54ffc3=0x0,_0x321639=0x0;_0x321639<_0x8ce56e;_0x321639++)if(_0x321639%0x4){var _0x47ee14=_0x34e95a[_0x532d20['charCodeAt'](_0x321639-0x1)]<<_0x321639%0x4*0x2,_0x4dda82=_0x34e95a[_0x532d20[_0x53108c(0x378)](_0x321639)]>>>0x6-_0x321639%0x4*0x2,_0xb74781=_0x47ee14|_0x4dda82;_0xa5f127[_0x54ffc3>>>0x2]|=_0xb74781<<0x18-_0x54ffc3%0x4*0x8,_0x54ffc3++;}return _0xbb746b[_0x53108c(0x18c)](_0xa5f127,_0x54ffc3);}}()),_0x29dc8e[_0x383e3e(0x275)][_0x383e3e(0x349)];}));}(We)),We[_0x5d70c3(0x1b2)];}var Ke={'exports':{}},xr=Ke[_0xf95350(0x1b2)],ei;function Lr(){return ei||(ei=0x1,function(_0x2d5980,_0x410669){(function(_0xdd6dfb,_0x5aa345){var _0x3e42a0=_0x4451;_0x2d5980[_0x3e42a0(0x1b2)]=_0x5aa345(se());}(xr,function(_0x5ce2d6){return function(_0x227866){var _0x2b4f51=_0x4451,_0xedfe35=_0x5ce2d6,_0x3b0060=_0xedfe35[_0x2b4f51(0x12b)],_0x3f87ce=_0x3b0060['WordArray'],_0x28128c=_0x3b0060[_0x2b4f51(0x14c)],_0x32fb44=_0xedfe35[_0x2b4f51(0xae)],_0x91176e=[];(function(){var _0x146834=_0x2b4f51;for(var _0x2d3782=0x0;_0x2d3782<0x40;_0x2d3782++)_0x91176e[_0x2d3782]=_0x227866[_0x146834(0xad)](_0x227866['sin'](_0x2d3782+0x1))*0x100000000|0x0;}());var _0x4a05fe=_0x32fb44[_0x2b4f51(0x1cb)]=_0x28128c[_0x2b4f51(0xc5)]({'_doReset':function(){var _0x4dc6b2=_0x2b4f51;this[_0x4dc6b2(0x2ec)]=new _0x3f87ce[(_0x4dc6b2(0x11f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x5c887d,_0x45ceb8){var _0x34bf81=_0x2b4f51;for(var _0x358782=0x0;_0x358782<0x10;_0x358782++){var _0xe4c1c3=_0x45ceb8+_0x358782,_0x3bcaa0=_0x5c887d[_0xe4c1c3];_0x5c887d[_0xe4c1c3]=(_0x3bcaa0<<0x8|_0x3bcaa0>>>0x18)&0xff00ff|(_0x3bcaa0<<0x18|_0x3bcaa0>>>0x8)&0xff00ff00;}var _0x4a6e43=this[_0x34bf81(0x2ec)][_0x34bf81(0x24d)],_0x48fdbd=_0x5c887d[_0x45ceb8+0x0],_0x1fe725=_0x5c887d[_0x45ceb8+0x1],_0x5210f8=_0x5c887d[_0x45ceb8+0x2],_0x1925c5=_0x5c887d[_0x45ceb8+0x3],_0x46984b=_0x5c887d[_0x45ceb8+0x4],_0x96ff09=_0x5c887d[_0x45ceb8+0x5],_0x3a8066=_0x5c887d[_0x45ceb8+0x6],_0x52caa5=_0x5c887d[_0x45ceb8+0x7],_0x64313e=_0x5c887d[_0x45ceb8+0x8],_0x5a6263=_0x5c887d[_0x45ceb8+0x9],_0x2efb3f=_0x5c887d[_0x45ceb8+0xa],_0x139db8=_0x5c887d[_0x45ceb8+0xb],_0x588037=_0x5c887d[_0x45ceb8+0xc],_0x32a171=_0x5c887d[_0x45ceb8+0xd],_0x2dba95=_0x5c887d[_0x45ceb8+0xe],_0x4d6365=_0x5c887d[_0x45ceb8+0xf],_0x302219=_0x4a6e43[0x0],_0xdf05a6=_0x4a6e43[0x1],_0x1790ee=_0x4a6e43[0x2],_0x5148c0=_0x4a6e43[0x3];_0x302219=_0x5329b9(_0x302219,_0xdf05a6,_0x1790ee,_0x5148c0,_0x48fdbd,0x7,_0x91176e[0x0]),_0x5148c0=_0x5329b9(_0x5148c0,_0x302219,_0xdf05a6,_0x1790ee,_0x1fe725,0xc,_0x91176e[0x1]),_0x1790ee=_0x5329b9(_0x1790ee,_0x5148c0,_0x302219,_0xdf05a6,_0x5210f8,0x11,_0x91176e[0x2]),_0xdf05a6=_0x5329b9(_0xdf05a6,_0x1790ee,_0x5148c0,_0x302219,_0x1925c5,0x16,_0x91176e[0x3]),_0x302219=_0x5329b9(_0x302219,_0xdf05a6,_0x1790ee,_0x5148c0,_0x46984b,0x7,_0x91176e[0x4]),_0x5148c0=_0x5329b9(_0x5148c0,_0x302219,_0xdf05a6,_0x1790ee,_0x96ff09,0xc,_0x91176e[0x5]),_0x1790ee=_0x5329b9(_0x1790ee,_0x5148c0,_0x302219,_0xdf05a6,_0x3a8066,0x11,_0x91176e[0x6]),_0xdf05a6=_0x5329b9(_0xdf05a6,_0x1790ee,_0x5148c0,_0x302219,_0x52caa5,0x16,_0x91176e[0x7]),_0x302219=_0x5329b9(_0x302219,_0xdf05a6,_0x1790ee,_0x5148c0,_0x64313e,0x7,_0x91176e[0x8]),_0x5148c0=_0x5329b9(_0x5148c0,_0x302219,_0xdf05a6,_0x1790ee,_0x5a6263,0xc,_0x91176e[0x9]),_0x1790ee=_0x5329b9(_0x1790ee,_0x5148c0,_0x302219,_0xdf05a6,_0x2efb3f,0x11,_0x91176e[0xa]),_0xdf05a6=_0x5329b9(_0xdf05a6,_0x1790ee,_0x5148c0,_0x302219,_0x139db8,0x16,_0x91176e[0xb]),_0x302219=_0x5329b9(_0x302219,_0xdf05a6,_0x1790ee,_0x5148c0,_0x588037,0x7,_0x91176e[0xc]),_0x5148c0=_0x5329b9(_0x5148c0,_0x302219,_0xdf05a6,_0x1790ee,_0x32a171,0xc,_0x91176e[0xd]),_0x1790ee=_0x5329b9(_0x1790ee,_0x5148c0,_0x302219,_0xdf05a6,_0x2dba95,0x11,_0x91176e[0xe]),_0xdf05a6=_0x5329b9(_0xdf05a6,_0x1790ee,_0x5148c0,_0x302219,_0x4d6365,0x16,_0x91176e[0xf]),_0x302219=_0x5ef45e(_0x302219,_0xdf05a6,_0x1790ee,_0x5148c0,_0x1fe725,0x5,_0x91176e[0x10]),_0x5148c0=_0x5ef45e(_0x5148c0,_0x302219,_0xdf05a6,_0x1790ee,_0x3a8066,0x9,_0x91176e[0x11]),_0x1790ee=_0x5ef45e(_0x1790ee,_0x5148c0,_0x302219,_0xdf05a6,_0x139db8,0xe,_0x91176e[0x12]),_0xdf05a6=_0x5ef45e(_0xdf05a6,_0x1790ee,_0x5148c0,_0x302219,_0x48fdbd,0x14,_0x91176e[0x13]),_0x302219=_0x5ef45e(_0x302219,_0xdf05a6,_0x1790ee,_0x5148c0,_0x96ff09,0x5,_0x91176e[0x14]),_0x5148c0=_0x5ef45e(_0x5148c0,_0x302219,_0xdf05a6,_0x1790ee,_0x2efb3f,0x9,_0x91176e[0x15]),_0x1790ee=_0x5ef45e(_0x1790ee,_0x5148c0,_0x302219,_0xdf05a6,_0x4d6365,0xe,_0x91176e[0x16]),_0xdf05a6=_0x5ef45e(_0xdf05a6,_0x1790ee,_0x5148c0,_0x302219,_0x46984b,0x14,_0x91176e[0x17]),_0x302219=_0x5ef45e(_0x302219,_0xdf05a6,_0x1790ee,_0x5148c0,_0x5a6263,0x5,_0x91176e[0x18]),_0x5148c0=_0x5ef45e(_0x5148c0,_0x302219,_0xdf05a6,_0x1790ee,_0x2dba95,0x9,_0x91176e[0x19]),_0x1790ee=_0x5ef45e(_0x1790ee,_0x5148c0,_0x302219,_0xdf05a6,_0x1925c5,0xe,_0x91176e[0x1a]),_0xdf05a6=_0x5ef45e(_0xdf05a6,_0x1790ee,_0x5148c0,_0x302219,_0x64313e,0x14,_0x91176e[0x1b]),_0x302219=_0x5ef45e(_0x302219,_0xdf05a6,_0x1790ee,_0x5148c0,_0x32a171,0x5,_0x91176e[0x1c]),_0x5148c0=_0x5ef45e(_0x5148c0,_0x302219,_0xdf05a6,_0x1790ee,_0x5210f8,0x9,_0x91176e[0x1d]),_0x1790ee=_0x5ef45e(_0x1790ee,_0x5148c0,_0x302219,_0xdf05a6,_0x52caa5,0xe,_0x91176e[0x1e]),_0xdf05a6=_0x5ef45e(_0xdf05a6,_0x1790ee,_0x5148c0,_0x302219,_0x588037,0x14,_0x91176e[0x1f]),_0x302219=_0x55bd19(_0x302219,_0xdf05a6,_0x1790ee,_0x5148c0,_0x96ff09,0x4,_0x91176e[0x20]),_0x5148c0=_0x55bd19(_0x5148c0,_0x302219,_0xdf05a6,_0x1790ee,_0x64313e,0xb,_0x91176e[0x21]),_0x1790ee=_0x55bd19(_0x1790ee,_0x5148c0,_0x302219,_0xdf05a6,_0x139db8,0x10,_0x91176e[0x22]),_0xdf05a6=_0x55bd19(_0xdf05a6,_0x1790ee,_0x5148c0,_0x302219,_0x2dba95,0x17,_0x91176e[0x23]),_0x302219=_0x55bd19(_0x302219,_0xdf05a6,_0x1790ee,_0x5148c0,_0x1fe725,0x4,_0x91176e[0x24]),_0x5148c0=_0x55bd19(_0x5148c0,_0x302219,_0xdf05a6,_0x1790ee,_0x46984b,0xb,_0x91176e[0x25]),_0x1790ee=_0x55bd19(_0x1790ee,_0x5148c0,_0x302219,_0xdf05a6,_0x52caa5,0x10,_0x91176e[0x26]),_0xdf05a6=_0x55bd19(_0xdf05a6,_0x1790ee,_0x5148c0,_0x302219,_0x2efb3f,0x17,_0x91176e[0x27]),_0x302219=_0x55bd19(_0x302219,_0xdf05a6,_0x1790ee,_0x5148c0,_0x32a171,0x4,_0x91176e[0x28]),_0x5148c0=_0x55bd19(_0x5148c0,_0x302219,_0xdf05a6,_0x1790ee,_0x48fdbd,0xb,_0x91176e[0x29]),_0x1790ee=_0x55bd19(_0x1790ee,_0x5148c0,_0x302219,_0xdf05a6,_0x1925c5,0x10,_0x91176e[0x2a]),_0xdf05a6=_0x55bd19(_0xdf05a6,_0x1790ee,_0x5148c0,_0x302219,_0x3a8066,0x17,_0x91176e[0x2b]),_0x302219=_0x55bd19(_0x302219,_0xdf05a6,_0x1790ee,_0x5148c0,_0x5a6263,0x4,_0x91176e[0x2c]),_0x5148c0=_0x55bd19(_0x5148c0,_0x302219,_0xdf05a6,_0x1790ee,_0x588037,0xb,_0x91176e[0x2d]),_0x1790ee=_0x55bd19(_0x1790ee,_0x5148c0,_0x302219,_0xdf05a6,_0x4d6365,0x10,_0x91176e[0x2e]),_0xdf05a6=_0x55bd19(_0xdf05a6,_0x1790ee,_0x5148c0,_0x302219,_0x5210f8,0x17,_0x91176e[0x2f]),_0x302219=_0x3be933(_0x302219,_0xdf05a6,_0x1790ee,_0x5148c0,_0x48fdbd,0x6,_0x91176e[0x30]),_0x5148c0=_0x3be933(_0x5148c0,_0x302219,_0xdf05a6,_0x1790ee,_0x52caa5,0xa,_0x91176e[0x31]),_0x1790ee=_0x3be933(_0x1790ee,_0x5148c0,_0x302219,_0xdf05a6,_0x2dba95,0xf,_0x91176e[0x32]),_0xdf05a6=_0x3be933(_0xdf05a6,_0x1790ee,_0x5148c0,_0x302219,_0x96ff09,0x15,_0x91176e[0x33]),_0x302219=_0x3be933(_0x302219,_0xdf05a6,_0x1790ee,_0x5148c0,_0x588037,0x6,_0x91176e[0x34]),_0x5148c0=_0x3be933(_0x5148c0,_0x302219,_0xdf05a6,_0x1790ee,_0x1925c5,0xa,_0x91176e[0x35]),_0x1790ee=_0x3be933(_0x1790ee,_0x5148c0,_0x302219,_0xdf05a6,_0x2efb3f,0xf,_0x91176e[0x36]),_0xdf05a6=_0x3be933(_0xdf05a6,_0x1790ee,_0x5148c0,_0x302219,_0x1fe725,0x15,_0x91176e[0x37]),_0x302219=_0x3be933(_0x302219,_0xdf05a6,_0x1790ee,_0x5148c0,_0x64313e,0x6,_0x91176e[0x38]),_0x5148c0=_0x3be933(_0x5148c0,_0x302219,_0xdf05a6,_0x1790ee,_0x4d6365,0xa,_0x91176e[0x39]),_0x1790ee=_0x3be933(_0x1790ee,_0x5148c0,_0x302219,_0xdf05a6,_0x3a8066,0xf,_0x91176e[0x3a]),_0xdf05a6=_0x3be933(_0xdf05a6,_0x1790ee,_0x5148c0,_0x302219,_0x32a171,0x15,_0x91176e[0x3b]),_0x302219=_0x3be933(_0x302219,_0xdf05a6,_0x1790ee,_0x5148c0,_0x46984b,0x6,_0x91176e[0x3c]),_0x5148c0=_0x3be933(_0x5148c0,_0x302219,_0xdf05a6,_0x1790ee,_0x139db8,0xa,_0x91176e[0x3d]),_0x1790ee=_0x3be933(_0x1790ee,_0x5148c0,_0x302219,_0xdf05a6,_0x5210f8,0xf,_0x91176e[0x3e]),_0xdf05a6=_0x3be933(_0xdf05a6,_0x1790ee,_0x5148c0,_0x302219,_0x5a6263,0x15,_0x91176e[0x3f]),_0x4a6e43[0x0]=_0x4a6e43[0x0]+_0x302219|0x0,_0x4a6e43[0x1]=_0x4a6e43[0x1]+_0xdf05a6|0x0,_0x4a6e43[0x2]=_0x4a6e43[0x2]+_0x1790ee|0x0,_0x4a6e43[0x3]=_0x4a6e43[0x3]+_0x5148c0|0x0;},'_doFinalize':function(){var _0x5970ce=_0x2b4f51,_0x33c068=this[_0x5970ce(0x19e)],_0x4e86fe=_0x33c068[_0x5970ce(0x24d)],_0x6bfe81=this['_nDataBytes']*0x8,_0x55eaee=_0x33c068[_0x5970ce(0x1e7)]*0x8;_0x4e86fe[_0x55eaee>>>0x5]|=0x80<<0x18-_0x55eaee%0x20;var _0x1474eb=_0x227866[_0x5970ce(0x120)](_0x6bfe81/0x100000000),_0x15ee22=_0x6bfe81;_0x4e86fe[(_0x55eaee+0x40>>>0x9<<0x4)+0xf]=(_0x1474eb<<0x8|_0x1474eb>>>0x18)&0xff00ff|(_0x1474eb<<0x18|_0x1474eb>>>0x8)&0xff00ff00,_0x4e86fe[(_0x55eaee+0x40>>>0x9<<0x4)+0xe]=(_0x15ee22<<0x8|_0x15ee22>>>0x18)&0xff00ff|(_0x15ee22<<0x18|_0x15ee22>>>0x8)&0xff00ff00,_0x33c068[_0x5970ce(0x1e7)]=(_0x4e86fe[_0x5970ce(0x131)]+0x1)*0x4,this[_0x5970ce(0x170)]();for(var _0x13a3bd=this[_0x5970ce(0x2ec)],_0x4fb9e1=_0x13a3bd[_0x5970ce(0x24d)],_0x485a51=0x0;_0x485a51<0x4;_0x485a51++){var _0x335d1b=_0x4fb9e1[_0x485a51];_0x4fb9e1[_0x485a51]=(_0x335d1b<<0x8|_0x335d1b>>>0x18)&0xff00ff|(_0x335d1b<<0x18|_0x335d1b>>>0x8)&0xff00ff00;}return _0x13a3bd;},'clone':function(){var _0x3241a9=_0x2b4f51,_0x6c7182=_0x28128c[_0x3241a9(0x1cc)]['call'](this);return _0x6c7182['_hash']=this[_0x3241a9(0x2ec)][_0x3241a9(0x1cc)](),_0x6c7182;}});function _0x5329b9(_0x302f30,_0x5f4572,_0x383864,_0x1b47c3,_0x1ebc4b,_0x174f7b,_0x2a200d){var _0x2f5d42=_0x302f30+(_0x5f4572&_0x383864|~_0x5f4572&_0x1b47c3)+_0x1ebc4b+_0x2a200d;return(_0x2f5d42<<_0x174f7b|_0x2f5d42>>>0x20-_0x174f7b)+_0x5f4572;}function _0x5ef45e(_0x51f932,_0x1bc9c9,_0x218358,_0x52bdc6,_0x3b170a,_0x1a4307,_0x22ccc3){var _0x17901e=_0x51f932+(_0x1bc9c9&_0x52bdc6|_0x218358&~_0x52bdc6)+_0x3b170a+_0x22ccc3;return(_0x17901e<<_0x1a4307|_0x17901e>>>0x20-_0x1a4307)+_0x1bc9c9;}function _0x55bd19(_0x331df7,_0x3d31f8,_0x3b95b2,_0x46a7ee,_0x447790,_0x4b0725,_0xd84a39){var _0x56888c=_0x331df7+(_0x3d31f8^_0x3b95b2^_0x46a7ee)+_0x447790+_0xd84a39;return(_0x56888c<<_0x4b0725|_0x56888c>>>0x20-_0x4b0725)+_0x3d31f8;}function _0x3be933(_0x607c2a,_0x5184ba,_0x2c9808,_0x9d02da,_0x32854b,_0x4421ba,_0x298de1){var _0x22fd2c=_0x607c2a+(_0x2c9808^(_0x5184ba|~_0x9d02da))+_0x32854b+_0x298de1;return(_0x22fd2c<<_0x4421ba|_0x22fd2c>>>0x20-_0x4421ba)+_0x5184ba;}_0xedfe35[_0x2b4f51(0x1cb)]=_0x28128c[_0x2b4f51(0x3a3)](_0x4a05fe),_0xedfe35[_0x2b4f51(0x332)]=_0x28128c['_createHmacHelper'](_0x4a05fe);}(Math),_0x5ce2d6['MD5'];}));}(Ke)),Ke['exports'];}var Ye={'exports':{}},qe={'exports':{}},Mr=qe[_0xf95350(0x1b2)],ti;function $r(){var _0x148d73=_0xf95350;return ti||(ti=0x1,function(_0x77bd21,_0x44fba7){(function(_0x593211,_0xfcd647){var _0x3e2b36=_0x4451;_0x77bd21[_0x3e2b36(0x1b2)]=_0xfcd647(se());}(Mr,function(_0x5603ab){var _0x231010=_0x4451;return(function(){var _0x456036=_0x4451,_0x40213a=_0x5603ab,_0x4a30ff=_0x40213a[_0x456036(0x12b)],_0x45da4b=_0x4a30ff[_0x456036(0x388)],_0x25639c=_0x4a30ff[_0x456036(0x14c)],_0x387d9b=_0x40213a[_0x456036(0xae)],_0x598b73=[],_0x15b890=_0x387d9b[_0x456036(0x29e)]=_0x25639c['extend']({'_doReset':function(){var _0x3b5a17=_0x456036;this[_0x3b5a17(0x2ec)]=new _0x45da4b[(_0x3b5a17(0x11f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x19b9cd,_0x23b181){var _0x1b1632=_0x456036;for(var _0x124e78=this[_0x1b1632(0x2ec)]['words'],_0x403ffc=_0x124e78[0x0],_0x147b1c=_0x124e78[0x1],_0x18a7d3=_0x124e78[0x2],_0x1cb70e=_0x124e78[0x3],_0x3b9068=_0x124e78[0x4],_0x23a340=0x0;_0x23a340<0x50;_0x23a340++){if(_0x23a340<0x10)_0x598b73[_0x23a340]=_0x19b9cd[_0x23b181+_0x23a340]|0x0;else{var _0xad46e0=_0x598b73[_0x23a340-0x3]^_0x598b73[_0x23a340-0x8]^_0x598b73[_0x23a340-0xe]^_0x598b73[_0x23a340-0x10];_0x598b73[_0x23a340]=_0xad46e0<<0x1|_0xad46e0>>>0x1f;}var _0x182741=(_0x403ffc<<0x5|_0x403ffc>>>0x1b)+_0x3b9068+_0x598b73[_0x23a340];_0x23a340<0x14?_0x182741+=(_0x147b1c&_0x18a7d3|~_0x147b1c&_0x1cb70e)+0x5a827999:_0x23a340<0x28?_0x182741+=(_0x147b1c^_0x18a7d3^_0x1cb70e)+0x6ed9eba1:_0x23a340<0x3c?_0x182741+=(_0x147b1c&_0x18a7d3|_0x147b1c&_0x1cb70e|_0x18a7d3&_0x1cb70e)-0x70e44324:_0x182741+=(_0x147b1c^_0x18a7d3^_0x1cb70e)-0x359d3e2a,_0x3b9068=_0x1cb70e,_0x1cb70e=_0x18a7d3,_0x18a7d3=_0x147b1c<<0x1e|_0x147b1c>>>0x2,_0x147b1c=_0x403ffc,_0x403ffc=_0x182741;}_0x124e78[0x0]=_0x124e78[0x0]+_0x403ffc|0x0,_0x124e78[0x1]=_0x124e78[0x1]+_0x147b1c|0x0,_0x124e78[0x2]=_0x124e78[0x2]+_0x18a7d3|0x0,_0x124e78[0x3]=_0x124e78[0x3]+_0x1cb70e|0x0,_0x124e78[0x4]=_0x124e78[0x4]+_0x3b9068|0x0;},'_doFinalize':function(){var _0x5ae344=_0x456036,_0x57c742=this[_0x5ae344(0x19e)],_0x3a7206=_0x57c742['words'],_0x38b84c=this['_nDataBytes']*0x8,_0x217cec=_0x57c742[_0x5ae344(0x1e7)]*0x8;return _0x3a7206[_0x217cec>>>0x5]|=0x80<<0x18-_0x217cec%0x20,_0x3a7206[(_0x217cec+0x40>>>0x9<<0x4)+0xe]=Math[_0x5ae344(0x120)](_0x38b84c/0x100000000),_0x3a7206[(_0x217cec+0x40>>>0x9<<0x4)+0xf]=_0x38b84c,_0x57c742[_0x5ae344(0x1e7)]=_0x3a7206[_0x5ae344(0x131)]*0x4,this[_0x5ae344(0x170)](),this[_0x5ae344(0x2ec)];},'clone':function(){var _0x5dd07f=_0x456036,_0x501a95=_0x25639c[_0x5dd07f(0x1cc)][_0x5dd07f(0x2d8)](this);return _0x501a95[_0x5dd07f(0x2ec)]=this[_0x5dd07f(0x2ec)]['clone'](),_0x501a95;}});_0x40213a[_0x456036(0x29e)]=_0x25639c[_0x456036(0x3a3)](_0x15b890),_0x40213a[_0x456036(0x319)]=_0x25639c[_0x456036(0xfe)](_0x15b890);}()),_0x5603ab[_0x231010(0x29e)];}));}(qe)),qe[_0x148d73(0x1b2)];}var ze={'exports':{}},Hr=ze[_0xf95350(0x1b2)],ii;function kr(){var _0x23f946=_0xf95350;return ii||(ii=0x1,function(_0x46b00e,_0x56f62b){(function(_0x3c2889,_0x4fc258){var _0x49b817=_0x4451;_0x46b00e[_0x49b817(0x1b2)]=_0x4fc258(se());}(Hr,function(_0x3a8e1){(function(){var _0x58c0df=_0x4451,_0xf9329a=_0x3a8e1,_0x670394=_0xf9329a[_0x58c0df(0x12b)],_0x2641da=_0x670394[_0x58c0df(0x325)],_0x3655c6=_0xf9329a[_0x58c0df(0x275)],_0x279385=_0x3655c6[_0x58c0df(0xd1)],_0x30e88c=_0xf9329a[_0x58c0df(0xae)];_0x30e88c[_0x58c0df(0x22a)]=_0x2641da[_0x58c0df(0xc5)]({'init':function(_0x5cdb73,_0x27522c){var _0x335d2a=_0x58c0df;_0x5cdb73=this['_hasher']=new _0x5cdb73[(_0x335d2a(0x11f))](),typeof _0x27522c==_0x335d2a(0x267)&&(_0x27522c=_0x279385[_0x335d2a(0x1a6)](_0x27522c));var _0x4f00fa=_0x5cdb73[_0x335d2a(0xab)],_0xa93478=_0x4f00fa*0x4;_0x27522c[_0x335d2a(0x1e7)]>_0xa93478&&(_0x27522c=_0x5cdb73['finalize'](_0x27522c)),_0x27522c['clamp']();for(var _0x35c66c=this[_0x335d2a(0x25b)]=_0x27522c['clone'](),_0x3c7df7=this[_0x335d2a(0x2ca)]=_0x27522c[_0x335d2a(0x1cc)](),_0x10fb0a=_0x35c66c['words'],_0xb95c75=_0x3c7df7[_0x335d2a(0x24d)],_0x3563ac=0x0;_0x3563ac<_0x4f00fa;_0x3563ac++)_0x10fb0a[_0x3563ac]^=0x5c5c5c5c,_0xb95c75[_0x3563ac]^=0x36363636;_0x35c66c['sigBytes']=_0x3c7df7[_0x335d2a(0x1e7)]=_0xa93478,this['reset']();},'reset':function(){var _0x1cb33d=_0x58c0df,_0x360bdf=this[_0x1cb33d(0x31d)];_0x360bdf[_0x1cb33d(0x1bf)](),_0x360bdf[_0x1cb33d(0x1c6)](this[_0x1cb33d(0x2ca)]);},'update':function(_0x360948){var _0x30d5c6=_0x58c0df;return this[_0x30d5c6(0x31d)][_0x30d5c6(0x1c6)](_0x360948),this;},'finalize':function(_0x11edeb){var _0x5869e2=_0x58c0df,_0x9f972d=this[_0x5869e2(0x31d)],_0x34aa05=_0x9f972d[_0x5869e2(0x337)](_0x11edeb);_0x9f972d[_0x5869e2(0x1bf)]();var _0x22e090=_0x9f972d['finalize'](this['_oKey']['clone']()[_0x5869e2(0x241)](_0x34aa05));return _0x22e090;}});}());}));}(ze)),ze[_0x23f946(0x1b2)];}var jr=Ye[_0xf95350(0x1b2)],si;function Ui(){var _0x22e9bf=_0xf95350;return si||(si=0x1,function(_0x5004c9,_0x251662){(function(_0x46f7ab,_0x56e553,_0xfc0016){var _0xc0474=_0x4451;_0x5004c9[_0xc0474(0x1b2)]=_0x56e553(se(),$r(),kr());}(jr,function(_0x17dc54){var _0x8e679b=_0x4451;return(function(){var _0x462f2c=_0x4451,_0x13d8f4=_0x17dc54,_0x73ca46=_0x13d8f4[_0x462f2c(0x12b)],_0x46f2ce=_0x73ca46[_0x462f2c(0x325)],_0xf2c283=_0x73ca46[_0x462f2c(0x388)],_0x53812f=_0x13d8f4['algo'],_0x28afc4=_0x53812f['MD5'],_0x4a2350=_0x53812f[_0x462f2c(0x236)]=_0x46f2ce[_0x462f2c(0xc5)]({'cfg':_0x46f2ce['extend']({'keySize':0x80/0x20,'hasher':_0x28afc4,'iterations':0x1}),'init':function(_0x4353be){var _0x3268ff=_0x462f2c;this[_0x3268ff(0x351)]=this[_0x3268ff(0x351)][_0x3268ff(0xc5)](_0x4353be);},'compute':function(_0x249ec3,_0x2de2ee){var _0x3070d0=_0x462f2c;for(var _0x71bf12,_0x383654=this[_0x3070d0(0x351)],_0x25e76b=_0x383654['hasher'][_0x3070d0(0x18c)](),_0x3e8ad4=_0xf2c283[_0x3070d0(0x18c)](),_0x5ea902=_0x3e8ad4['words'],_0x4be8fe=_0x383654[_0x3070d0(0x1ae)],_0x40034a=_0x383654['iterations'];_0x5ea902[_0x3070d0(0x131)]<_0x4be8fe;){_0x71bf12&&_0x25e76b[_0x3070d0(0x1c6)](_0x71bf12),_0x71bf12=_0x25e76b[_0x3070d0(0x1c6)](_0x249ec3)[_0x3070d0(0x337)](_0x2de2ee),_0x25e76b[_0x3070d0(0x1bf)]();for(var _0x19a703=0x1;_0x19a703<_0x40034a;_0x19a703++)_0x71bf12=_0x25e76b['finalize'](_0x71bf12),_0x25e76b[_0x3070d0(0x1bf)]();_0x3e8ad4['concat'](_0x71bf12);}return _0x3e8ad4[_0x3070d0(0x1e7)]=_0x4be8fe*0x4,_0x3e8ad4;}});_0x13d8f4[_0x462f2c(0x236)]=function(_0x1935c7,_0x58c644,_0x14356d){var _0x1afdab=_0x462f2c;return _0x4a2350[_0x1afdab(0x18c)](_0x14356d)['compute'](_0x1935c7,_0x58c644);};}()),_0x17dc54[_0x8e679b(0x236)];}));}(Ye)),Ye[_0x22e9bf(0x1b2)];}var Je={'exports':{}},Br=Je['exports'],ri;function Ai(){var _0x5e0b64=_0xf95350;return ri||(ri=0x1,function(_0x516b2a,_0x51a0dc){(function(_0x481cbd,_0x4d559f,_0x28113e){var _0x10b8f5=_0x4451;_0x516b2a[_0x10b8f5(0x1b2)]=_0x4d559f(se(),Ui());}(Br,function(_0x4c6ee9){var _0x3fd7a4=_0x4451;_0x4c6ee9[_0x3fd7a4(0x12b)][_0x3fd7a4(0xf5)]||function(_0x393a30){var _0x506043=_0x3fd7a4,_0x55e418=_0x4c6ee9,_0x513f87=_0x55e418[_0x506043(0x12b)],_0x39d1d5=_0x513f87[_0x506043(0x325)],_0x5a5d2d=_0x513f87[_0x506043(0x388)],_0x4d20b2=_0x513f87[_0x506043(0x1c3)],_0x238e6d=_0x55e418[_0x506043(0x275)];_0x238e6d['Utf8'];var _0x2e77da=_0x238e6d['Base64'],_0x1aa531=_0x55e418['algo'],_0x302f44=_0x1aa531[_0x506043(0x236)],_0x1983ad=_0x513f87[_0x506043(0xf5)]=_0x4d20b2[_0x506043(0xc5)]({'cfg':_0x39d1d5[_0x506043(0xc5)](),'createEncryptor':function(_0x361c18,_0x1264c9){var _0x1d1fcf=_0x506043;return this[_0x1d1fcf(0x18c)](this['_ENC_XFORM_MODE'],_0x361c18,_0x1264c9);},'createDecryptor':function(_0x137838,_0x91cc75){return this['create'](this['_DEC_XFORM_MODE'],_0x137838,_0x91cc75);},'init':function(_0xddcd8,_0x1f166d,_0x121451){var _0x2dfc9f=_0x506043;this[_0x2dfc9f(0x351)]=this[_0x2dfc9f(0x351)][_0x2dfc9f(0xc5)](_0x121451),this[_0x2dfc9f(0x139)]=_0xddcd8,this[_0x2dfc9f(0x2c3)]=_0x1f166d,this[_0x2dfc9f(0x1bf)]();},'reset':function(){var _0x16b4e3=_0x506043;_0x4d20b2[_0x16b4e3(0x1bf)]['call'](this),this[_0x16b4e3(0x101)]();},'process':function(_0x22b26c){var _0x2e5fac=_0x506043;return this['_append'](_0x22b26c),this[_0x2e5fac(0x170)]();},'finalize':function(_0x460657){var _0x212153=_0x506043;_0x460657&&this[_0x212153(0xb2)](_0x460657);var _0x58cca9=this['_doFinalize']();return _0x58cca9;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x100b4f(_0x18d2dc){return typeof _0x18d2dc=='string'?_0x47bd57:_0x42eedf;}return function(_0x941c35){return{'encrypt':function(_0x566483,_0x3c7b5f,_0x2f9f15){var _0x5b0736=_0x4451;return _0x100b4f(_0x3c7b5f)[_0x5b0736(0x1ec)](_0x941c35,_0x566483,_0x3c7b5f,_0x2f9f15);},'decrypt':function(_0x1fb842,_0x460ec0,_0x3430d6){var _0x4ee30e=_0x4451;return _0x100b4f(_0x460ec0)[_0x4ee30e(0x303)](_0x941c35,_0x1fb842,_0x460ec0,_0x3430d6);}};};}())});_0x513f87[_0x506043(0x30d)]=_0x1983ad['extend']({'_doFinalize':function(){var _0x4c419e=_0x506043,_0x2000b0=this[_0x4c419e(0x170)](!0x0);return _0x2000b0;},'blockSize':0x1});var _0x10f11d=_0x55e418[_0x506043(0x174)]={},_0x4d3946=_0x513f87[_0x506043(0x23a)]=_0x39d1d5['extend']({'createEncryptor':function(_0x4a3ecf,_0x146685){var _0xfad742=_0x506043;return this[_0xfad742(0x166)][_0xfad742(0x18c)](_0x4a3ecf,_0x146685);},'createDecryptor':function(_0x13f59f,_0x14774d){var _0x41dd6e=_0x506043;return this[_0x41dd6e(0x10e)][_0x41dd6e(0x18c)](_0x13f59f,_0x14774d);},'init':function(_0x40d1cc,_0x57c981){var _0x502564=_0x506043;this[_0x502564(0x113)]=_0x40d1cc,this[_0x502564(0x22b)]=_0x57c981;}}),_0x4e42eb=_0x10f11d[_0x506043(0x374)]=(function(){var _0x1ff126=_0x506043,_0x14a4db=_0x4d3946[_0x1ff126(0xc5)]();_0x14a4db[_0x1ff126(0x166)]=_0x14a4db[_0x1ff126(0xc5)]({'processBlock':function(_0x1f3260,_0x4f8934){var _0x183f79=_0x1ff126,_0x232e40=this[_0x183f79(0x113)],_0x2a3c81=_0x232e40['blockSize'];_0x40a448[_0x183f79(0x2d8)](this,_0x1f3260,_0x4f8934,_0x2a3c81),_0x232e40['encryptBlock'](_0x1f3260,_0x4f8934),this[_0x183f79(0x222)]=_0x1f3260[_0x183f79(0x2dd)](_0x4f8934,_0x4f8934+_0x2a3c81);}}),_0x14a4db[_0x1ff126(0x10e)]=_0x14a4db['extend']({'processBlock':function(_0x3a93a0,_0x906afb){var _0x2ff0b5=_0x1ff126,_0x5c9045=this[_0x2ff0b5(0x113)],_0x2f3a93=_0x5c9045['blockSize'],_0x26228f=_0x3a93a0[_0x2ff0b5(0x2dd)](_0x906afb,_0x906afb+_0x2f3a93);_0x5c9045[_0x2ff0b5(0x1c2)](_0x3a93a0,_0x906afb),_0x40a448['call'](this,_0x3a93a0,_0x906afb,_0x2f3a93),this['_prevBlock']=_0x26228f;}});function _0x40a448(_0x479101,_0x4dfd60,_0x230e6a){var _0x39eda8=_0x1ff126,_0x3df12a,_0x577ec=this[_0x39eda8(0x22b)];_0x577ec?(_0x3df12a=_0x577ec,this[_0x39eda8(0x22b)]=_0x393a30):_0x3df12a=this[_0x39eda8(0x222)];for(var _0x323466=0x0;_0x323466<_0x230e6a;_0x323466++)_0x479101[_0x4dfd60+_0x323466]^=_0x3df12a[_0x323466];}return _0x14a4db;}()),_0x120254=_0x55e418[_0x506043(0x30b)]={},_0xeba553=_0x120254['Pkcs7']={'pad':function(_0x256758,_0x34adbd){var _0x2d083b=_0x506043;for(var _0xfdf605=_0x34adbd*0x4,_0x2f58eb=_0xfdf605-_0x256758[_0x2d083b(0x1e7)]%_0xfdf605,_0x3c3ee8=_0x2f58eb<<0x18|_0x2f58eb<<0x10|_0x2f58eb<<0x8|_0x2f58eb,_0x1abdab=[],_0x520634=0x0;_0x520634<_0x2f58eb;_0x520634+=0x4)_0x1abdab[_0x2d083b(0x2e0)](_0x3c3ee8);var _0x3c39a6=_0x5a5d2d[_0x2d083b(0x18c)](_0x1abdab,_0x2f58eb);_0x256758[_0x2d083b(0x241)](_0x3c39a6);},'unpad':function(_0x409f8b){var _0x47fbf7=_0x506043,_0x45a6be=_0x409f8b[_0x47fbf7(0x24d)][_0x409f8b['sigBytes']-0x1>>>0x2]&0xff;_0x409f8b[_0x47fbf7(0x1e7)]-=_0x45a6be;}};_0x513f87[_0x506043(0x1df)]=_0x1983ad[_0x506043(0xc5)]({'cfg':_0x1983ad[_0x506043(0x351)][_0x506043(0xc5)]({'mode':_0x4e42eb,'padding':_0xeba553}),'reset':function(){var _0x35dd1f=_0x506043,_0x1063ab;_0x1983ad['reset']['call'](this);var _0x1b126f=this['cfg'],_0xa032bf=_0x1b126f['iv'],_0x1e6473=_0x1b126f[_0x35dd1f(0x174)];this['_xformMode']==this[_0x35dd1f(0xcf)]?_0x1063ab=_0x1e6473[_0x35dd1f(0x1e6)]:(_0x1063ab=_0x1e6473['createDecryptor'],this['_minBufferSize']=0x1),this[_0x35dd1f(0x35e)]&&this['_mode'][_0x35dd1f(0xc4)]==_0x1063ab?this[_0x35dd1f(0x35e)][_0x35dd1f(0x11f)](this,_0xa032bf&&_0xa032bf['words']):(this[_0x35dd1f(0x35e)]=_0x1063ab['call'](_0x1e6473,this,_0xa032bf&&_0xa032bf[_0x35dd1f(0x24d)]),this['_mode'][_0x35dd1f(0xc4)]=_0x1063ab);},'_doProcessBlock':function(_0x370906,_0x1905a6){var _0x3692d1=_0x506043;this[_0x3692d1(0x35e)][_0x3692d1(0x138)](_0x370906,_0x1905a6);},'_doFinalize':function(){var _0x2e48f3=_0x506043,_0x10a8ce,_0x2decd6=this[_0x2e48f3(0x351)][_0x2e48f3(0x195)];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x2decd6['pad'](this[_0x2e48f3(0x19e)],this['blockSize']),_0x10a8ce=this[_0x2e48f3(0x170)](!0x0)):(_0x10a8ce=this[_0x2e48f3(0x170)](!0x0),_0x2decd6[_0x2e48f3(0x1f4)](_0x10a8ce)),_0x10a8ce;},'blockSize':0x80/0x20});var _0x338966=_0x513f87['CipherParams']=_0x39d1d5[_0x506043(0xc5)]({'init':function(_0x93825c){var _0x36b540=_0x506043;this[_0x36b540(0x38a)](_0x93825c);},'toString':function(_0x44be50){var _0x57184c=_0x506043;return(_0x44be50||this['formatter'])[_0x57184c(0x1f2)](this);}}),_0x1efee0=_0x55e418['format']={},_0x1eab9e=_0x1efee0[_0x506043(0x310)]={'stringify':function(_0x199370){var _0x2681d4=_0x506043,_0x36dffb,_0x3c3413=_0x199370['ciphertext'],_0x3f9928=_0x199370[_0x2681d4(0x238)];return _0x3f9928?_0x36dffb=_0x5a5d2d['create']([0x53616c74,0x65645f5f])['concat'](_0x3f9928)[_0x2681d4(0x241)](_0x3c3413):_0x36dffb=_0x3c3413,_0x36dffb[_0x2681d4(0x1e3)](_0x2e77da);},'parse':function(_0x39a9a5){var _0x3a5210=_0x506043,_0x3f06f3,_0x2238db=_0x2e77da[_0x3a5210(0x1a6)](_0x39a9a5),_0xb772c6=_0x2238db[_0x3a5210(0x24d)];return _0xb772c6[0x0]==0x53616c74&&_0xb772c6[0x1]==0x65645f5f&&(_0x3f06f3=_0x5a5d2d[_0x3a5210(0x18c)](_0xb772c6[_0x3a5210(0x2dd)](0x2,0x4)),_0xb772c6[_0x3a5210(0x23f)](0x0,0x4),_0x2238db[_0x3a5210(0x1e7)]-=0x10),_0x338966[_0x3a5210(0x18c)]({'ciphertext':_0x2238db,'salt':_0x3f06f3});}},_0x42eedf=_0x513f87[_0x506043(0xe0)]=_0x39d1d5[_0x506043(0xc5)]({'cfg':_0x39d1d5['extend']({'format':_0x1eab9e}),'encrypt':function(_0x143522,_0x3e43cc,_0x5f1824,_0x5e620a){var _0x15afe6=_0x506043;_0x5e620a=this[_0x15afe6(0x351)]['extend'](_0x5e620a);var _0x1bdd8c=_0x143522[_0x15afe6(0x1e6)](_0x5f1824,_0x5e620a),_0x223a49=_0x1bdd8c[_0x15afe6(0x337)](_0x3e43cc),_0x100edc=_0x1bdd8c[_0x15afe6(0x351)];return _0x338966[_0x15afe6(0x18c)]({'ciphertext':_0x223a49,'key':_0x5f1824,'iv':_0x100edc['iv'],'algorithm':_0x143522,'mode':_0x100edc['mode'],'padding':_0x100edc['padding'],'blockSize':_0x143522[_0x15afe6(0xab)],'formatter':_0x5e620a[_0x15afe6(0xac)]});},'decrypt':function(_0x356304,_0x3b3414,_0x1fdc4d,_0xb9af4e){var _0x3cf067=_0x506043;_0xb9af4e=this[_0x3cf067(0x351)][_0x3cf067(0xc5)](_0xb9af4e),_0x3b3414=this[_0x3cf067(0x2a6)](_0x3b3414,_0xb9af4e[_0x3cf067(0xac)]);var _0x5c35a6=_0x356304[_0x3cf067(0x119)](_0x1fdc4d,_0xb9af4e)[_0x3cf067(0x337)](_0x3b3414[_0x3cf067(0x194)]);return _0x5c35a6;},'_parse':function(_0x3829cc,_0x1b384f){var _0x36d7a2=_0x506043;return typeof _0x3829cc==_0x36d7a2(0x267)?_0x1b384f[_0x36d7a2(0x1a6)](_0x3829cc,this):_0x3829cc;}}),_0x4f936a=_0x55e418[_0x506043(0x173)]={},_0x4db37d=_0x4f936a['OpenSSL']={'execute':function(_0x53b3dc,_0x3e2d44,_0x54ef8c,_0x1f4baf,_0x577f48){var _0x268da9=_0x506043;if(_0x1f4baf||(_0x1f4baf=_0x5a5d2d[_0x268da9(0x220)](0x40/0x8)),_0x577f48)var _0x586775=_0x302f44[_0x268da9(0x18c)]({'keySize':_0x3e2d44+_0x54ef8c,'hasher':_0x577f48})['compute'](_0x53b3dc,_0x1f4baf);else var _0x586775=_0x302f44[_0x268da9(0x18c)]({'keySize':_0x3e2d44+_0x54ef8c})['compute'](_0x53b3dc,_0x1f4baf);var _0x2e7d65=_0x5a5d2d[_0x268da9(0x18c)](_0x586775[_0x268da9(0x24d)][_0x268da9(0x2dd)](_0x3e2d44),_0x54ef8c*0x4);return _0x586775['sigBytes']=_0x3e2d44*0x4,_0x338966['create']({'key':_0x586775,'iv':_0x2e7d65,'salt':_0x1f4baf});}},_0x47bd57=_0x513f87[_0x506043(0x1de)]=_0x42eedf[_0x506043(0xc5)]({'cfg':_0x42eedf[_0x506043(0x351)]['extend']({'kdf':_0x4db37d}),'encrypt':function(_0x247204,_0xf0aca0,_0x3a62e1,_0x48eccd){var _0x28eb67=_0x506043;_0x48eccd=this[_0x28eb67(0x351)][_0x28eb67(0xc5)](_0x48eccd);var _0x5a89e7=_0x48eccd[_0x28eb67(0x173)]['execute'](_0x3a62e1,_0x247204[_0x28eb67(0x1ae)],_0x247204[_0x28eb67(0x167)],_0x48eccd[_0x28eb67(0x238)],_0x48eccd[_0x28eb67(0x1f0)]);_0x48eccd['iv']=_0x5a89e7['iv'];var _0x4a48a1=_0x42eedf[_0x28eb67(0x1ec)][_0x28eb67(0x2d8)](this,_0x247204,_0xf0aca0,_0x5a89e7[_0x28eb67(0x334)],_0x48eccd);return _0x4a48a1[_0x28eb67(0x38a)](_0x5a89e7),_0x4a48a1;},'decrypt':function(_0x141e64,_0x106414,_0x32bacb,_0xa80c5e){var _0x31d1bd=_0x506043;_0xa80c5e=this[_0x31d1bd(0x351)]['extend'](_0xa80c5e),_0x106414=this['_parse'](_0x106414,_0xa80c5e[_0x31d1bd(0xac)]);var _0x1e6fcc=_0xa80c5e[_0x31d1bd(0x173)][_0x31d1bd(0x2d2)](_0x32bacb,_0x141e64[_0x31d1bd(0x1ae)],_0x141e64[_0x31d1bd(0x167)],_0x106414[_0x31d1bd(0x238)],_0xa80c5e[_0x31d1bd(0x1f0)]);_0xa80c5e['iv']=_0x1e6fcc['iv'];var _0x1a0a9f=_0x42eedf[_0x31d1bd(0x303)]['call'](this,_0x141e64,_0x106414,_0x1e6fcc[_0x31d1bd(0x334)],_0xa80c5e);return _0x1a0a9f;}});}();}));}(Je)),Je[_0x5e0b64(0x1b2)];}var Fr=Ve[_0xf95350(0x1b2)],ni;function Vr(){var _0x1c33a7=_0xf95350;return ni||(ni=0x1,function(_0x1d77e3,_0xd5febb){(function(_0xf34aad,_0x34dd26,_0x142249){var _0x3e1cb1=_0x4451;_0x1d77e3[_0x3e1cb1(0x1b2)]=_0x34dd26(se(),wi(),Lr(),Ui(),Ai());}(Fr,function(_0xc60f5b){var _0x102fa1=_0x4451;return(function(){var _0x577bd2=_0x4451,_0x546432=_0xc60f5b,_0x4f1d81=_0x546432[_0x577bd2(0x12b)],_0x36e9cd=_0x4f1d81[_0x577bd2(0x1df)],_0x3ddd04=_0x546432[_0x577bd2(0xae)],_0x2e3955=[],_0x1f8262=[],_0xa11aac=[],_0x2d2d0c=[],_0x31c030=[],_0x2c55cc=[],_0x59360b=[],_0x872753=[],_0x19f7d2=[],_0x485a56=[];(function(){for(var _0x2badf8=[],_0x43c381=0x0;_0x43c381<0x100;_0x43c381++)_0x43c381<0x80?_0x2badf8[_0x43c381]=_0x43c381<<0x1:_0x2badf8[_0x43c381]=_0x43c381<<0x1^0x11b;for(var _0x319d66=0x0,_0x416d1c=0x0,_0x43c381=0x0;_0x43c381<0x100;_0x43c381++){var _0x3335e2=_0x416d1c^_0x416d1c<<0x1^_0x416d1c<<0x2^_0x416d1c<<0x3^_0x416d1c<<0x4;_0x3335e2=_0x3335e2>>>0x8^_0x3335e2&0xff^0x63,_0x2e3955[_0x319d66]=_0x3335e2,_0x1f8262[_0x3335e2]=_0x319d66;var _0x4dc6de=_0x2badf8[_0x319d66],_0x141788=_0x2badf8[_0x4dc6de],_0x9dca36=_0x2badf8[_0x141788],_0x4a5918=_0x2badf8[_0x3335e2]*0x101^_0x3335e2*0x1010100;_0xa11aac[_0x319d66]=_0x4a5918<<0x18|_0x4a5918>>>0x8,_0x2d2d0c[_0x319d66]=_0x4a5918<<0x10|_0x4a5918>>>0x10,_0x31c030[_0x319d66]=_0x4a5918<<0x8|_0x4a5918>>>0x18,_0x2c55cc[_0x319d66]=_0x4a5918;var _0x4a5918=_0x9dca36*0x1010101^_0x141788*0x10001^_0x4dc6de*0x101^_0x319d66*0x1010100;_0x59360b[_0x3335e2]=_0x4a5918<<0x18|_0x4a5918>>>0x8,_0x872753[_0x3335e2]=_0x4a5918<<0x10|_0x4a5918>>>0x10,_0x19f7d2[_0x3335e2]=_0x4a5918<<0x8|_0x4a5918>>>0x18,_0x485a56[_0x3335e2]=_0x4a5918,_0x319d66?(_0x319d66=_0x4dc6de^_0x2badf8[_0x2badf8[_0x2badf8[_0x9dca36^_0x4dc6de]]],_0x416d1c^=_0x2badf8[_0x2badf8[_0x416d1c]]):_0x319d66=_0x416d1c=0x1;}}());var _0x4f7661=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x29c593=_0x3ddd04['AES']=_0x36e9cd['extend']({'_doReset':function(){var _0xc20602=_0x577bd2,_0x123411;if(!(this[_0xc20602(0x124)]&&this[_0xc20602(0x2f2)]===this[_0xc20602(0x2c3)])){for(var _0x3909da=this['_keyPriorReset']=this[_0xc20602(0x2c3)],_0x54d73f=_0x3909da[_0xc20602(0x24d)],_0xcb5df5=_0x3909da[_0xc20602(0x1e7)]/0x4,_0x4cd858=this[_0xc20602(0x124)]=_0xcb5df5+0x6,_0x1294c5=(_0x4cd858+0x1)*0x4,_0x44bee2=this['_keySchedule']=[],_0xc0d446=0x0;_0xc0d446<_0x1294c5;_0xc0d446++)_0xc0d446<_0xcb5df5?_0x44bee2[_0xc0d446]=_0x54d73f[_0xc0d446]:(_0x123411=_0x44bee2[_0xc0d446-0x1],_0xc0d446%_0xcb5df5?_0xcb5df5>0x6&&_0xc0d446%_0xcb5df5==0x4&&(_0x123411=_0x2e3955[_0x123411>>>0x18]<<0x18|_0x2e3955[_0x123411>>>0x10&0xff]<<0x10|_0x2e3955[_0x123411>>>0x8&0xff]<<0x8|_0x2e3955[_0x123411&0xff]):(_0x123411=_0x123411<<0x8|_0x123411>>>0x18,_0x123411=_0x2e3955[_0x123411>>>0x18]<<0x18|_0x2e3955[_0x123411>>>0x10&0xff]<<0x10|_0x2e3955[_0x123411>>>0x8&0xff]<<0x8|_0x2e3955[_0x123411&0xff],_0x123411^=_0x4f7661[_0xc0d446/_0xcb5df5|0x0]<<0x18),_0x44bee2[_0xc0d446]=_0x44bee2[_0xc0d446-_0xcb5df5]^_0x123411);for(var _0x3e4bdc=this['_invKeySchedule']=[],_0x3db61b=0x0;_0x3db61b<_0x1294c5;_0x3db61b++){var _0xc0d446=_0x1294c5-_0x3db61b;if(_0x3db61b%0x4)var _0x123411=_0x44bee2[_0xc0d446];else var _0x123411=_0x44bee2[_0xc0d446-0x4];_0x3db61b<0x4||_0xc0d446<=0x4?_0x3e4bdc[_0x3db61b]=_0x123411:_0x3e4bdc[_0x3db61b]=_0x59360b[_0x2e3955[_0x123411>>>0x18]]^_0x872753[_0x2e3955[_0x123411>>>0x10&0xff]]^_0x19f7d2[_0x2e3955[_0x123411>>>0x8&0xff]]^_0x485a56[_0x2e3955[_0x123411&0xff]];}}},'encryptBlock':function(_0x2fc0d6,_0x3eeca4){var _0x32eaf9=_0x577bd2;this['_doCryptBlock'](_0x2fc0d6,_0x3eeca4,this[_0x32eaf9(0x27d)],_0xa11aac,_0x2d2d0c,_0x31c030,_0x2c55cc,_0x2e3955);},'decryptBlock':function(_0x2dbea0,_0x1581e6){var _0x1a5baf=_0x577bd2,_0x21c168=_0x2dbea0[_0x1581e6+0x1];_0x2dbea0[_0x1581e6+0x1]=_0x2dbea0[_0x1581e6+0x3],_0x2dbea0[_0x1581e6+0x3]=_0x21c168,this[_0x1a5baf(0x295)](_0x2dbea0,_0x1581e6,this['_invKeySchedule'],_0x59360b,_0x872753,_0x19f7d2,_0x485a56,_0x1f8262);var _0x21c168=_0x2dbea0[_0x1581e6+0x1];_0x2dbea0[_0x1581e6+0x1]=_0x2dbea0[_0x1581e6+0x3],_0x2dbea0[_0x1581e6+0x3]=_0x21c168;},'_doCryptBlock':function(_0x121d5a,_0x4ee53f,_0x8a64dd,_0x60a52e,_0x407c31,_0x768768,_0x2ccbe8,_0x4ba8a0){var _0x1eed79=_0x577bd2;for(var _0x4c9b10=this[_0x1eed79(0x124)],_0x256f50=_0x121d5a[_0x4ee53f]^_0x8a64dd[0x0],_0x428fe8=_0x121d5a[_0x4ee53f+0x1]^_0x8a64dd[0x1],_0x5e6356=_0x121d5a[_0x4ee53f+0x2]^_0x8a64dd[0x2],_0x51a187=_0x121d5a[_0x4ee53f+0x3]^_0x8a64dd[0x3],_0x23ce48=0x4,_0x3b25bb=0x1;_0x3b25bb<_0x4c9b10;_0x3b25bb++){var _0x2c25c7=_0x60a52e[_0x256f50>>>0x18]^_0x407c31[_0x428fe8>>>0x10&0xff]^_0x768768[_0x5e6356>>>0x8&0xff]^_0x2ccbe8[_0x51a187&0xff]^_0x8a64dd[_0x23ce48++],_0x2e87d9=_0x60a52e[_0x428fe8>>>0x18]^_0x407c31[_0x5e6356>>>0x10&0xff]^_0x768768[_0x51a187>>>0x8&0xff]^_0x2ccbe8[_0x256f50&0xff]^_0x8a64dd[_0x23ce48++],_0x358d06=_0x60a52e[_0x5e6356>>>0x18]^_0x407c31[_0x51a187>>>0x10&0xff]^_0x768768[_0x256f50>>>0x8&0xff]^_0x2ccbe8[_0x428fe8&0xff]^_0x8a64dd[_0x23ce48++],_0x4b7bff=_0x60a52e[_0x51a187>>>0x18]^_0x407c31[_0x256f50>>>0x10&0xff]^_0x768768[_0x428fe8>>>0x8&0xff]^_0x2ccbe8[_0x5e6356&0xff]^_0x8a64dd[_0x23ce48++];_0x256f50=_0x2c25c7,_0x428fe8=_0x2e87d9,_0x5e6356=_0x358d06,_0x51a187=_0x4b7bff;}var _0x2c25c7=(_0x4ba8a0[_0x256f50>>>0x18]<<0x18|_0x4ba8a0[_0x428fe8>>>0x10&0xff]<<0x10|_0x4ba8a0[_0x5e6356>>>0x8&0xff]<<0x8|_0x4ba8a0[_0x51a187&0xff])^_0x8a64dd[_0x23ce48++],_0x2e87d9=(_0x4ba8a0[_0x428fe8>>>0x18]<<0x18|_0x4ba8a0[_0x5e6356>>>0x10&0xff]<<0x10|_0x4ba8a0[_0x51a187>>>0x8&0xff]<<0x8|_0x4ba8a0[_0x256f50&0xff])^_0x8a64dd[_0x23ce48++],_0x358d06=(_0x4ba8a0[_0x5e6356>>>0x18]<<0x18|_0x4ba8a0[_0x51a187>>>0x10&0xff]<<0x10|_0x4ba8a0[_0x256f50>>>0x8&0xff]<<0x8|_0x4ba8a0[_0x428fe8&0xff])^_0x8a64dd[_0x23ce48++],_0x4b7bff=(_0x4ba8a0[_0x51a187>>>0x18]<<0x18|_0x4ba8a0[_0x256f50>>>0x10&0xff]<<0x10|_0x4ba8a0[_0x428fe8>>>0x8&0xff]<<0x8|_0x4ba8a0[_0x5e6356&0xff])^_0x8a64dd[_0x23ce48++];_0x121d5a[_0x4ee53f]=_0x2c25c7,_0x121d5a[_0x4ee53f+0x1]=_0x2e87d9,_0x121d5a[_0x4ee53f+0x2]=_0x358d06,_0x121d5a[_0x4ee53f+0x3]=_0x4b7bff;},'keySize':0x100/0x20});_0x546432[_0x577bd2(0x198)]=_0x36e9cd[_0x577bd2(0x3a3)](_0x29c593);}()),_0xc60f5b[_0x102fa1(0x198)];}));}(Ve)),Ve[_0x1c33a7(0x1b2)];}var Gr=Vr();const Wr=ke(Gr);var Kr=wi();const oi=ke(Kr);var Xe={'exports':{}},Yr=Xe[_0xf95350(0x1b2)],ai;function qr(){var _0x33fd67=_0xf95350;return ai||(ai=0x1,function(_0x2089a9,_0x42c417){(function(_0x515106,_0x338514){var _0x3c741b=_0x4451;_0x2089a9[_0x3c741b(0x1b2)]=_0x338514(se());}(Yr,function(_0xf74574){return _0xf74574['enc']['Utf8'];}));}(Xe)),Xe[_0x33fd67(0x1b2)];}var zr=qr();const Jr=ke(zr);var Ze={'exports':{}},Xr=Ze[_0xf95350(0x1b2)],ci;function Zr(){var _0x93a99d=_0xf95350;return ci||(ci=0x1,function(_0x2da5f6,_0x40c57b){(function(_0x4732cc,_0x59d88a){_0x2da5f6['exports']=_0x59d88a(se());}(Xr,function(_0x290e44){var _0x5e9889=_0x4451;return(function(){var _0x3d9c4c=_0x4451;if(typeof ArrayBuffer==_0x3d9c4c(0x2c0)){var _0x2cf140=_0x290e44,_0x382437=_0x2cf140[_0x3d9c4c(0x12b)],_0x3139a9=_0x382437[_0x3d9c4c(0x388)],_0x1465d4=_0x3139a9[_0x3d9c4c(0x11f)],_0x3d4d9d=_0x3139a9[_0x3d9c4c(0x11f)]=function(_0x118cf3){var _0x13808f=_0x3d9c4c;if(_0x118cf3 instanceof ArrayBuffer&&(_0x118cf3=new Uint8Array(_0x118cf3)),(_0x118cf3 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x118cf3 instanceof Uint8ClampedArray||_0x118cf3 instanceof Int16Array||_0x118cf3 instanceof Uint16Array||_0x118cf3 instanceof Int32Array||_0x118cf3 instanceof Uint32Array||_0x118cf3 instanceof Float32Array||_0x118cf3 instanceof Float64Array)&&(_0x118cf3=new Uint8Array(_0x118cf3[_0x13808f(0x324)],_0x118cf3[_0x13808f(0x1a8)],_0x118cf3[_0x13808f(0xcb)])),_0x118cf3 instanceof Uint8Array){for(var _0x3ab0f9=_0x118cf3[_0x13808f(0xcb)],_0xf1860a=[],_0x3f375b=0x0;_0x3f375b<_0x3ab0f9;_0x3f375b++)_0xf1860a[_0x3f375b>>>0x2]|=_0x118cf3[_0x3f375b]<<0x18-_0x3f375b%0x4*0x8;_0x1465d4['call'](this,_0xf1860a,_0x3ab0f9);}else _0x1465d4[_0x13808f(0x279)](this,arguments);};_0x3d4d9d[_0x3d9c4c(0xc8)]=_0x3139a9;}}()),_0x290e44['lib'][_0x5e9889(0x388)];}));}(Ze)),Ze[_0x93a99d(0x1b2)];}var Qr=Zr();const en=ke(Qr);var Qe={'exports':{}},tn=Qe[_0xf95350(0x1b2)],hi;function sn(){var _0x5766b2=_0xf95350;return hi||(hi=0x1,function(_0x12ee0b,_0x4613cf){(function(_0x3cee87,_0x5de877,_0x337c93){var _0x4e4302=_0x4451;_0x12ee0b[_0x4e4302(0x1b2)]=_0x5de877(se(),Ai());}(tn,function(_0x2b77b1){var _0x7a6e33=_0x4451;return _0x2b77b1[_0x7a6e33(0x30b)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x2b77b1[_0x7a6e33(0x30b)][_0x7a6e33(0x226)];}));}(Qe)),Qe[_0x5766b2(0x1b2)];}var rn=sn();const nn=ke(rn);function on(_0x6b4ad5,_0x5bb07f){var _0x466440=_0xf95350;const _0x57f155=_0x5bb07f-_0x6b4ad5[_0x466440(0x131)]%_0x5bb07f,_0x245791=String[_0x466440(0x32a)](_0x57f155)['repeat'](_0x57f155);return _0x6b4ad5+_0x245791;}function an(_0x46fc1b,_0x1b64d9){var _0x57a233=_0xf95350;const _0xf7ada6=en[_0x57a233(0x220)](0x10),_0xf16745=on(_0x46fc1b,0x10),_0x5004e9=Wr[_0x57a233(0x1ec)](Jr[_0x57a233(0x1a6)](_0xf16745),oi['parse'](_0x1b64d9),{'iv':_0xf7ada6,'padding':nn});return _0xf7ada6[_0x57a233(0x241)](_0x5004e9[_0x57a233(0x194)])[_0x57a233(0x1e3)](oi);}function cn(){var _0x532f1f=_0xf95350;const _0x29c5af=_0x11d3a1()['__Key__'];if(_0x29c5af){const _0x238245={'time':Math['floor'](Date[_0x532f1f(0x109)]()/0x3e8),'domain':location[_0x532f1f(0x1ea)]};return an(JSON['stringify'](_0x238245),_0x29c5af);}}var hn=Object[_0xf95350(0x35a)],_n=Object[_0xf95350(0x1b5)],ln=(_0x29f81d,_0x46fe67,_0x1c0a10,_0x1ef8a0)=>{for(var _0x2de176=_0x1ef8a0>0x1?void 0x0:_0x1ef8a0?_n(_0x46fe67,_0x1c0a10):_0x46fe67,_0x3b645b=_0x29f81d['length']-0x1,_0x579990;_0x3b645b>=0x0;_0x3b645b--)(_0x579990=_0x29f81d[_0x3b645b])&&(_0x2de176=(_0x1ef8a0?_0x579990(_0x46fe67,_0x1c0a10,_0x2de176):_0x579990(_0x2de176))||_0x2de176);return _0x1ef8a0&&_0x2de176&&hn(_0x46fe67,_0x1c0a10,_0x2de176),_0x2de176;},un=(_0x2fe9a3,_0x3caa3b)=>(_0x385e02,_0x537500)=>_0x3caa3b(_0x385e02,_0x537500,_0x2fe9a3);let ot=class{constructor(_0x441c0d){var _0x5d533e=_0xf95350;this[_0x5d533e(0xdf)]=_0x441c0d,this[_0x5d533e(0x117)]();}[_0xf95350(0x117)](){var _0x28ac55=_0xf95350;this[_0x28ac55(0xdf)][_0x28ac55(0x33f)]({'interceptor':(_0x219c14,_0x2346ac)=>{var _0x3db412=_0x28ac55;const _0x1a3cc5=_0x219c14[_0x3db412(0x2aa)],_0x4fdb84=cn();return _0x4fdb84&&_0x1a3cc5['set'](_0x3db412(0x1bc),_0x4fdb84),_0x2346ac(_0x219c14);}});}};ot=ln([un(0x0,_0x1f377b(_0x1d95e4))],ot);var dn=Object[_0xf95350(0x35a)],fn=Object['getOwnPropertyDescriptor'],vn=(_0x20a7d9,_0x553933,_0x520c0e,_0x248c95)=>{for(var _0x5be79b=_0x248c95>0x1?void 0x0:_0x248c95?fn(_0x553933,_0x520c0e):_0x553933,_0x3034f0=_0x20a7d9['length']-0x1,_0x3a906d;_0x3034f0>=0x0;_0x3034f0--)(_0x3a906d=_0x20a7d9[_0x3034f0])&&(_0x5be79b=(_0x248c95?_0x3a906d(_0x553933,_0x520c0e,_0x5be79b):_0x3a906d(_0x5be79b))||_0x5be79b);return _0x248c95&&_0x5be79b&&dn(_0x553933,_0x520c0e,_0x5be79b),_0x5be79b;},mt=(_0x51c996,_0x19f233)=>(_0x5b2dfe,_0x363d2c)=>_0x19f233(_0x5b2dfe,_0x363d2c,_0x51c996);let Ot=class extends _0x426883{constructor(_0x490880,_0x170ee2,_0x4ad648){var _0x4d68e4=_0xf95350;super(),N(this,'_unitInfo$',new _0x26dbcc(null)),N(this,_0x4d68e4(0x369),this[_0x4d68e4(0x14d)][_0x4d68e4(0x206)]()),(this[_0x4d68e4(0x29f)]=_0x490880,this[_0x4d68e4(0x390)]=_0x170ee2,this[_0x4d68e4(0x1a1)]=_0x4ad648);}async[_0xf95350(0x110)](_0x3473a3,_0x47fc15,_0x53de4c){var _0xfbe322=_0xf95350;this['_unitInfo$']['next']({'unitId':_0x3473a3,'type':_0x47fc15,'subUnitId':_0x53de4c});let _0x5186f4=null;switch(_0x47fc15){case Q[_0xfbe322(0xda)]:{_0x5186f4=await this[_0xfbe322(0x327)](_0x3473a3);break;}case Q[_0xfbe322(0x2df)]:{_0x5186f4=await this[_0xfbe322(0x34f)](_0x3473a3);break;}default:{this[_0xfbe322(0x29f)][_0xfbe322(0x32c)](_0xfbe322(0x367),_0xfbe322(0x1b7));break;}}return _0x5186f4;}async[_0xf95350(0x327)](_0x303f09){var _0x319d10=_0xf95350,_0x243c3a;let _0x5bd488=0x0;const _0xc468d9=await((_0x243c3a=this[_0x319d10(0x1a1)])==null?void 0x0:_0x243c3a[_0x319d10(0x26b)](_0x303f09));return _0xc468d9&&(_0xc468d9[_0x319d10(0x386)]||_0xc468d9[_0x319d10(0x20f)]['length']!==0x0)&&(_0x5bd488=_0xc468d9[_0x319d10(0x1ca)]),_0x5bd488===0x0&&this[_0x319d10(0x29f)][_0x319d10(0xd7)]('[DataLoaderService]',_0x319d10(0x2a4)),this[_0x319d10(0x390)]['loadSheet'](_0x303f09,_0x5bd488);}async['_loadDoc'](_0x18a893){var _0x48d579=_0xf95350,_0x20318a;let _0x2b3244=0x0;const _0x46d001=await((_0x20318a=this[_0x48d579(0x1a1)])==null?void 0x0:_0x20318a[_0x48d579(0x26b)](_0x18a893));return _0x46d001&&(_0x46d001[_0x48d579(0x386)]||_0x46d001[_0x48d579(0x20f)][_0x48d579(0x131)]!==0x0)&&(_0x2b3244=_0x46d001[_0x48d579(0x1ca)]),_0x2b3244===0x0&&this[_0x48d579(0x29f)][_0x48d579(0xd7)](_0x48d579(0x367),_0x48d579(0x2a4)),this['_snapshotService']['loadDoc'](_0x18a893,_0x2b3244);}};Ot=vn([mt(0x0,_0x2cd95e),mt(0x1,_0x1f377b(_0x3b76b2)),mt(0x2,_0x36e3d4(J))],Ot);var pn=Object[_0xf95350(0x35a)],mn=Object['getOwnPropertyDescriptor'],gn=(_0x58ca66,_0x11c68c,_0x2ab4e9,_0x23347c)=>{var _0x6cf4dd=_0xf95350;for(var _0x2e0cfd=_0x23347c>0x1?void 0x0:_0x23347c?mn(_0x11c68c,_0x2ab4e9):_0x11c68c,_0x42f501=_0x58ca66[_0x6cf4dd(0x131)]-0x1,_0x2bf48b;_0x42f501>=0x0;_0x42f501--)(_0x2bf48b=_0x58ca66[_0x42f501])&&(_0x2e0cfd=(_0x23347c?_0x2bf48b(_0x11c68c,_0x2ab4e9,_0x2e0cfd):_0x2bf48b(_0x2e0cfd))||_0x2e0cfd);return _0x23347c&&_0x2e0cfd&&pn(_0x11c68c,_0x2ab4e9,_0x2e0cfd),_0x2e0cfd;},gt=(_0x2838b3,_0x1f3392)=>(_0x210f75,_0x268fd3)=>_0x1f3392(_0x210f75,_0x268fd3,_0x2838b3);const Sn=[_0xf95350(0x1d6),_0xf95350(0x1d5),'image/jpg','image/gif','image/bmp'],En=0x5*0x400*0x400,In=_0xf95350(0x19a),Tn=_0xf95350(0xb3),Cn=_0xf95350(0x183),bn=_0xf95350(0x2d6);let yt=class{constructor(_0x5221a6,_0x29b804,_0x1916db){var _0x50a84a=_0xf95350;N(this,_0x50a84a(0x363),0x0),N(this,'_change$',new _0x1d9c1a()),N(this,_0x50a84a(0x1d1),this[_0x50a84a(0x184)]),N(this,_0x50a84a(0x2f5),new Map()),(this[_0x50a84a(0xdf)]=_0x5221a6,this[_0x50a84a(0x215)]=_0x29b804,this['_univerInstanceService']=_0x1916db);}['setWaitCount'](_0x309d00){var _0x2db9a6=_0xf95350;this['_waitCount']=_0x309d00,this[_0x2db9a6(0x184)][_0x2db9a6(0x2f9)](_0x309d00);}[_0xf95350(0xcd)](_0x4b2c8c,_0x4f9d80){var _0x34d836=_0xf95350;if(_0x4f9d80===_0x525dac[_0x34d836(0x187)]){const _0x22d421=new Image();return _0x22d421[_0x34d836(0x30f)]=_0x4b2c8c,_0x22d421;}return this[_0x34d836(0x2f5)][_0x34d836(0x151)](_0x4b2c8c);}[_0xf95350(0x108)](_0x3220ab,_0x1896bf,_0x51de63){var _0xde68df=_0xf95350;_0x1896bf===_0x525dac[_0xde68df(0x187)]||_0x51de63==null||this[_0xde68df(0x2f5)][_0xde68df(0x269)](_0x3220ab,_0x51de63);}async['getImage'](_0x529ecb){var _0x276fbf=_0xf95350;try{const _0x5737e2=this[_0x276fbf(0x1d4)](this[_0x276fbf(0x370)](),''+_0x529ecb),_0xa23064=(await this['_httpService'][_0x276fbf(0x151)](_0x5737e2))[_0x276fbf(0x2c1)];if(_0xa23064[_0x276fbf(0x32c)]&&_0xa23064[_0x276fbf(0x32c)][_0x276fbf(0x24c)]===Ii['OK']){const _0x130fdd=new URL(_0xa23064[_0x276fbf(0x249)],this[_0x276fbf(0x266)]())['toString']();return Promise[_0x276fbf(0x277)](_0x130fdd);}return Promise[_0x276fbf(0x270)](_0xa23064[_0x276fbf(0x32c)]);}catch(_0x5ec322){return Promise['reject'](_0x5ec322);}}async['saveImage'](_0x2e2ad2){var _0x1cb56a=_0xf95350;let _0xcceb2e='';if(!Sn[_0x1cb56a(0x135)](_0x2e2ad2[_0x1cb56a(0x2fd)]))return this[_0x1cb56a(0x268)](),Promise['reject'](new Error(_0x2252a1['ERROR_IMAGE_TYPE']));if(_0x2e2ad2[_0x1cb56a(0x32d)]>En)return this[_0x1cb56a(0x268)](),Promise[_0x1cb56a(0x270)](new Error(_0x2252a1[_0x1cb56a(0x31b)]));try{const _0x47a77e=new FormData();_0x47a77e[_0x1cb56a(0x395)]('file',_0x2e2ad2);const _0x519500=this['_univerInstanceService'][_0x1cb56a(0x2ff)](),_0x56b84f=_0x519500==null?void 0x0:_0x519500[_0x1cb56a(0x298)]();if(!_0x56b84f)throw new Error('unitId\x20is\x20not\x20found');const _0x38a07d=this['_getUploadFileURL']()+_0x1cb56a(0x250)+_0x2e2ad2[_0x1cb56a(0x32d)][_0x1cb56a(0x1e3)]()+_0x1cb56a(0x37b)+Ti[_0x1cb56a(0x33c)]+'&assign='+encodeURIComponent(_0x56b84f),_0x4b6f54=await(await fetch(_0x38a07d,{'method':_0x1cb56a(0x26c),'body':_0x47a77e}))[_0x1cb56a(0x1f7)]();if(typeof _0x4b6f54['FileId']!=_0x1cb56a(0x267))return this['_decreaseWaiting'](),Promise[_0x1cb56a(0x270)](new Error(_0x2252a1[_0x1cb56a(0x104)]));_0xcceb2e=_0x4b6f54[_0x1cb56a(0x2ed)];}catch{return this[_0x1cb56a(0x268)](),Promise['reject'](new Error(_0x2252a1['ERROR_IMAGE']));}return new Promise((_0x46534e,_0x28a2b9)=>{var _0x52b890=_0x1cb56a;const _0x17e19a=new FileReader();_0x17e19a[_0x52b890(0x2d4)](_0x2e2ad2),_0x17e19a[_0x52b890(0x25f)]=_0x2b1041=>{var _0x19a48d=_0x52b890,_0xa54dac;const _0x28a5b5=(_0xa54dac=_0x2b1041[_0x19a48d(0xeb)])==null?void 0x0:_0xa54dac['result'];if(_0x28a5b5==null){this[_0x19a48d(0x268)](),_0x28a2b9(new Error(_0x2252a1[_0x19a48d(0x104)]));return;}const _0x34928c=_0x324eba['generateRandomId'](0x6);_0x46534e({'imageId':_0x34928c,'imageSourceType':_0x525dac['UUID'],'source':_0xcceb2e,'base64Cache':_0x28a5b5,'status':_0x2252a1[_0x19a48d(0x162)]}),this[_0x19a48d(0x268)]();};});}[_0xf95350(0x28a)](){var _0x56465b=_0xf95350,_0x1f4d8e,_0x2e0279;const _0x1f183b=this['_configService'][_0x56465b(0x1ab)](In),_0x39a305=this[_0x56465b(0x215)]['getConfig'](q);return(_0x2e0279=(_0x1f4d8e=_0x39a305==null?void 0x0:_0x39a305['uploadFileServerUrl'])!=null?_0x1f4d8e:_0x1f183b)!=null?_0x2e0279:Tn;}[_0xf95350(0x370)](){var _0x302817=_0xf95350,_0x45a5ca,_0x4793d3;const _0x44342d=this[_0x302817(0x215)][_0x302817(0x1ab)](Cn),_0x4c62ca=this[_0x302817(0x215)][_0x302817(0x1ab)](q);return(_0x4793d3=(_0x45a5ca=_0x4c62ca==null?void 0x0:_0x4c62ca[_0x302817(0x37f)])!=null?_0x45a5ca:_0x44342d)!=null?_0x4793d3:bn;}[_0xf95350(0x266)](){var _0x590de0=_0xf95350,_0x240cac;const _0x279ac2=this[_0x590de0(0x215)][_0x590de0(0x1ab)](q);return(_0x240cac=_0x279ac2==null?void 0x0:_0x279ac2[_0x590de0(0x2c2)])!=null?_0x240cac:location[_0x590de0(0x17c)];}[_0xf95350(0x1d4)](_0x392c11,_0x5b142c){var _0xeb6933=_0xf95350;return _0x392c11[_0xeb6933(0x1f9)](_0xeb6933(0x329),_0x5b142c);}['_decreaseWaiting'](){var _0x1a2ae2=_0xf95350;this[_0x1a2ae2(0x363)]-=0x1,this['_change$'][_0x1a2ae2(0x2f9)](this[_0x1a2ae2(0x363)]);}};yt=gn([gt(0x0,_0x1f377b(_0x1d95e4)),gt(0x1,_0x4ef789),gt(0x2,_0x1f377b(_0x4accb0))],yt);var Rn=Object[_0xf95350(0x35a)],On=Object[_0xf95350(0x1b5)],yn=(_0x43428a,_0x4dc51c,_0x519170,_0x393b51)=>{var _0x5b7765=_0xf95350;for(var _0x37957b=_0x393b51>0x1?void 0x0:_0x393b51?On(_0x4dc51c,_0x519170):_0x4dc51c,_0xbe5507=_0x43428a[_0x5b7765(0x131)]-0x1,_0x50d702;_0xbe5507>=0x0;_0xbe5507--)(_0x50d702=_0x43428a[_0xbe5507])&&(_0x37957b=(_0x393b51?_0x50d702(_0x4dc51c,_0x519170,_0x37957b):_0x50d702(_0x37957b))||_0x37957b);return _0x393b51&&_0x37957b&&Rn(_0x4dc51c,_0x519170,_0x37957b),_0x37957b;},_i=(_0x303ad6,_0x2c0db3)=>(_0x21719a,_0x49a10c)=>_0x2c0db3(_0x21719a,_0x49a10c,_0x303ad6);const Nn='/universer-api/authz';let Nt=class{constructor(_0x1dd3fd,_0x3498c6){var _0x1a1002=_0xf95350;this[_0x1a1002(0x215)]=_0x1dd3fd,this[_0x1a1002(0x1eb)]=_0x3498c6;}[_0xf95350(0x35b)](){var _0x5bfb22=_0xf95350,_0x2b5444,_0x27f38b;const _0x3c24aa=this[_0x5bfb22(0x215)]['getConfig'](Pi),_0x5561ee=this[_0x5bfb22(0x215)][_0x5bfb22(0x1ab)](q);return(_0x27f38b=(_0x2b5444=_0x5561ee==null?void 0x0:_0x5561ee[_0x5bfb22(0x1d2)])!=null?_0x2b5444:_0x3c24aa)!=null?_0x27f38b:Nn;}async['list'](_0x240cef){var _0x1ce108=_0xf95350;const _0x4a65f1=this[_0x1ce108(0x35b)]()+_0x1ce108(0x127);return{'list':[{'title':_0x1ce108(0x246),'mentions':(await this[_0x1ce108(0x1eb)][_0x1ce108(0x151)](_0x4a65f1,{'params':{'objectID':_0x240cef[_0x1ce108(0x149)],'unitID':_0x240cef[_0x1ce108(0x149)]}}))['body'][_0x1ce108(0x13e)][_0x1ce108(0xbf)](_0x3075f1=>({'objectId':_0x3075f1['id'],'name':_0x3075f1['subject'][_0x1ce108(0x10c)],'metadata':{'icon':_0x3075f1[_0x1ce108(0xbc)][_0x1ce108(0x282)]},'label':_0x3075f1[_0x1ce108(0xbc)][_0x1ce108(0x10c)],'objectType':_0xa72733[_0x1ce108(0x208)]})),'metadata':{},'type':_0xa72733[_0x1ce108(0x208)]}]};}};Nt=yn([_i(0x0,_0x1f377b(_0x4ef789)),_i(0x1,_0x1f377b(_0x1d95e4))],Nt);var Dn=Object['defineProperty'],Pn=Object['getOwnPropertyDescriptor'],wn=(_0x144a82,_0x3d4cb0,_0xe1b58,_0x4ee694)=>{for(var _0x35a449=_0x4ee694>0x1?void 0x0:_0x4ee694?Pn(_0x3d4cb0,_0xe1b58):_0x3d4cb0,_0x1d0451=_0x144a82['length']-0x1,_0x564780;_0x1d0451>=0x0;_0x1d0451--)(_0x564780=_0x144a82[_0x1d0451])&&(_0x35a449=(_0x4ee694?_0x564780(_0x3d4cb0,_0xe1b58,_0x35a449):_0x564780(_0x35a449))||_0x35a449);return _0x4ee694&&_0x35a449&&Dn(_0x3d4cb0,_0xe1b58,_0x35a449),_0x35a449;},Se=(_0x157dcb,_0x38e594)=>(_0xb8bbfb,_0x43b7e5)=>_0x38e594(_0xb8bbfb,_0x43b7e5,_0x157dcb);let at=class extends _0x426883{constructor(_0x3b4f31,_0x589ee2,_0x5d3c14,_0x63cc3c,_0x1b46b9,_0x32c28e,_0x5b4558){var _0x5908b2=_0xf95350;super(),this[_0x5908b2(0x2fe)]=_0x3b4f31,this[_0x5908b2(0x2e3)]=_0x589ee2,this[_0x5908b2(0xff)]=_0x5d3c14,this['_collaborationSessionService']=_0x63cc3c,this[_0x5908b2(0xd4)]=_0x1b46b9,this[_0x5908b2(0x357)]=_0x32c28e,this[_0x5908b2(0x14e)]=_0x5b4558,this[_0x5908b2(0x259)](),this[_0x5908b2(0x1be)]();}[_0xf95350(0x1be)](){var _0xfa460b=_0xf95350;const _0x47bf83=async _0x336e06=>{var _0x18cb91=_0x4451;(await this[_0x18cb91(0x1c7)][_0x18cb91(0x24b)](_0x336e06))['event$'][_0x18cb91(0x39f)](_0x2ac5d0(_0x1378cc=>_0x1378cc['eventID']===_0x15e414['SHOULD_CLOSE_CONN']),_0x4eb1e7(this[_0x18cb91(0x205)]))[_0x18cb91(0x2f6)](_0x1c0962=>{var _0x573919=_0x18cb91;const _0x2788d1=_0x1c0962,{reason:_0x7bd163}=_0x2788d1[_0x573919(0x13f)];this[_0x573919(0xd4)]['emitEvent']({'id':ne[_0x573919(0x217)],'data':_0x7bd163}),this[_0x573919(0xff)][_0x573919(0xfc)](new _0xf5ebb3(_0x336e06)['id'],!0x1),this[_0x573919(0x1c7)][_0x573919(0x2a3)](_0x336e06);});};_0x127445(this[_0xfa460b(0x2e3)][_0xfa460b(0x331)](_0x4fe211[_0xfa460b(0xda)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x4fe211['UNIVER_DOC']))[_0xfa460b(0x39f)](_0x3dd616(_0x4bf7f2=>_0x4bf7f2[_0xfa460b(0x298)]()),_0x2ac5d0(_0x193eeb=>!_0x4b9cfa(_0x193eeb)),_0x4eb1e7(this[_0xfa460b(0x205)]))[_0xfa460b(0x2f6)](_0x217c17=>{_0x47bf83(_0x217c17);});}[_0xf95350(0x259)](){var _0x1b8885=_0xf95350;const _0x231ab6=async _0x1f59cd=>{var _0x65185=_0x4451;const _0x5f3575=await this[_0x65185(0x1c7)][_0x65185(0x24b)](_0x1f59cd),_0x4767be=this[_0x65185(0x2fe)][_0x65185(0x151)](_0xaa84b0);_0x5f3575[_0x65185(0x23d)]['pipe'](_0x2ac5d0(_0x22cb0d=>_0x22cb0d[_0x65185(0x276)]===_0x15e414['UPDATE_PERMISSION_OBJ']),_0x4eb1e7(this['dispose$']))['subscribe'](_0x786beb=>{var _0x504d32=_0x65185;const _0x1e5235=_0x786beb,{objectId:_0x1df875}=_0x1e5235[_0x504d32(0x13f)];_0x1df875===_0x1f59cd?_0x4767be['initWorkbookPermissionChange'](_0x1f59cd):_0x4767be[_0x504d32(0x1b8)](_0x1f59cd,_0x1df875);});};_0x127445(this[_0x1b8885(0x2e3)][_0x1b8885(0x331)](_0x4fe211[_0x1b8885(0xda)]),this[_0x1b8885(0x2e3)][_0x1b8885(0x331)](_0x4fe211[_0x1b8885(0x2df)]))[_0x1b8885(0x39f)](_0x3dd616(_0x210b5a=>_0x210b5a[_0x1b8885(0x298)]()),_0x2ac5d0(_0x1da886=>!_0x4b9cfa(_0x1da886)),_0x4eb1e7(this[_0x1b8885(0x205)]))[_0x1b8885(0x2f6)](_0x4a9565=>{_0x231ab6(_0x4a9565);});}};at=wn([Se(0x0,_0x1f377b(_0x459b1e)),Se(0x1,_0x4accb0),Se(0x2,_0x193a1a),Se(0x3,_0x1f377b(Le)),Se(0x4,_0x1f377b(pe)),Se(0x5,_0x3db02c),Se(0x6,_0x122feb)],at);var Un=Object[_0xf95350(0x35a)],An=Object['getOwnPropertyDescriptor'],xn=(_0x273dbf,_0x3ac541,_0x3cfa7f,_0x3cd096)=>{var _0x1ad79c=_0xf95350;for(var _0x3b236b=_0x3cd096>0x1?void 0x0:_0x3cd096?An(_0x3ac541,_0x3cfa7f):_0x3ac541,_0x4a4455=_0x273dbf[_0x1ad79c(0x131)]-0x1,_0x1ce605;_0x4a4455>=0x0;_0x4a4455--)(_0x1ce605=_0x273dbf[_0x4a4455])&&(_0x3b236b=(_0x3cd096?_0x1ce605(_0x3ac541,_0x3cfa7f,_0x3b236b):_0x1ce605(_0x3b236b))||_0x3b236b);return _0x3cd096&&_0x3b236b&&Un(_0x3ac541,_0x3cfa7f,_0x3b236b),_0x3b236b;},li=(_0x254503,_0x97f465)=>(_0x21d110,_0x4b1b2f)=>_0x97f465(_0x21d110,_0x4b1b2f,_0x254503);let Dt=class{constructor(_0x18affa,_0x36ad55){var _0x167d0e=_0xf95350;this[_0x167d0e(0x215)]=_0x18affa,this[_0x167d0e(0xdf)]=_0x36ad55;}async[_0xf95350(0xc1)](_0x4b9075,_0x2613b3){var _0x559efc=_0xf95350,_0x39b984;const {unitID:_0x150d64,type:_0x1edc8c,revision:_0x411493=0x0}=_0x2613b3,_0x4ce3b6=this['getSnapshotAPIPath']()+'/'+_0x1edc8c+'/unit/'+_0x150d64+'/rev/'+_0x411493,_0x113574=(await this[_0x559efc(0xdf)][_0x559efc(0x151)](_0x4ce3b6))[_0x559efc(0x2c1)],_0x3ef3f4=(_0x39b984=_0x113574[_0x559efc(0x1a9)])==null?void 0x0:_0x39b984[_0x559efc(0x185)];if(_0x3ef3f4){const _0x49ca28=_0x3ef3f4==null?void 0x0:_0x3ef3f4[_0x559efc(0x2a8)],_0x2c85f7=_0x5547ea[_0x559efc(0xb8)](_0x25a9a5(_0x49ca28));_0x3ef3f4[_0x559efc(0x2a8)]=_0x2c85f7,Object[_0x559efc(0x317)](_0x3ef3f4[_0x559efc(0x148)])[_0x559efc(0x362)](([,_0x276045])=>{var _0x1bbc9a=_0x559efc;const _0x3f0732=_0x276045[_0x1bbc9a(0x2a8)],_0x23a5c7=_0x5547ea[_0x1bbc9a(0xb8)](_0x25a9a5(_0x3f0732));_0x276045[_0x1bbc9a(0x2a8)]=_0x23a5c7;});}return _0x113574;}async[_0xf95350(0x2ee)](_0x14daeb,_0x33df3e){var _0x27c268=_0xf95350;const {unitID:_0x4c4bca,type:_0x22951d,blockID:_0x13a368}=_0x33df3e,_0x3cb0c1=this['_getAPIPrefix']()+'/'+_0x22951d+'/unit/'+_0x4c4bca+'/block/'+_0x13a368;return(await this['_httpService'][_0x27c268(0x151)](_0x3cb0c1))[_0x27c268(0x2c1)];}async['getDeserializedSheetBlock'](_0x3a5e60,_0x53eea2){var _0x352b43=_0xf95350;const {unitID:_0x1bb166,type:_0x250aa3,blockID:_0x8684b3}=_0x53eea2,_0x3b5b28=this[_0x352b43(0x10f)]()+_0x352b43(0xaf)+_0x250aa3+'/unit/'+_0x1bb166+_0x352b43(0xaf)+_0x8684b3;return(await this[_0x352b43(0xdf)][_0x352b43(0x151)](_0x3b5b28))[_0x352b43(0x2c1)];}async[_0xf95350(0x263)](_0x3f5668,_0x56c869){var _0x39cceb=_0xf95350;const {unitID:_0x22282c,type:_0x2444b9,from:_0x18fad3,to:_0x4a1e52}=_0x56c869,_0x76dfe4=this[_0x39cceb(0x10f)]()+'/'+_0x2444b9+_0x39cceb(0x348)+_0x22282c+_0x39cceb(0x273)+_0x18fad3+'&to='+_0x4a1e52;return(await this['_httpService'][_0x39cceb(0x151)](_0x76dfe4))[_0x39cceb(0x2c1)];}[_0xf95350(0x382)](){var _0x4596f7=_0xf95350,_0x4b51c3;return(_0x4b51c3=this[_0x4596f7(0x215)][_0x4596f7(0x1ab)](Is))!=null?_0x4b51c3:this[_0x4596f7(0x10f)]();}['_getAPIPrefix'](){var _0x5bf63e=_0xf95350,_0x192874,_0x585f5c;const _0x246a00=this[_0x5bf63e(0x215)][_0x5bf63e(0x1ab)](Ss),_0x13cab5=this['_configService'][_0x5bf63e(0x1ab)](q);return(_0x585f5c=(_0x192874=_0x13cab5==null?void 0x0:_0x13cab5[_0x5bf63e(0x2eb)])!=null?_0x192874:_0x246a00)!=null?_0x585f5c:Es;}async[_0xf95350(0x22f)](_0x1fd5dd,_0x207435){var _0x2d2487=_0xf95350;const _0x52792f=_0x2d2487(0x2a2)+_0x207435[_0x2d2487(0x2fd)]+'/unit/'+_0x207435[_0x2d2487(0x17e)]+_0x2d2487(0x2c7);return(await this[_0x2d2487(0xdf)][_0x2d2487(0x151)](_0x52792f,{'params':{'resourceId':JSON[_0x2d2487(0x1f2)](_0x207435['resourceIDs'])}}))['body'];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xf95350(0x2e9)](){var _0x152be8=_0xf95350;throw new Error(_0x152be8(0x172));}[_0xf95350(0x336)](){var _0x42e6e8=_0xf95350;throw new Error(_0x42e6e8(0x172));}[_0xf95350(0x30e)](){var _0xefd5b1=_0xf95350;throw new Error(_0xefd5b1(0x172));}[_0xf95350(0x307)](){var _0x2ced3b=_0xf95350;throw new Error(_0x2ced3b(0x172));}};Dt=xn([li(0x0,_0x4ef789),li(0x1,_0x1f377b(_0x1d95e4))],Dt);var Ln=Object['defineProperty'],Mn=Object['getOwnPropertyDescriptor'],$n=(_0x10218b,_0x327e15,_0x2065fb,_0x44f551)=>{var _0x3e6d7b=_0xf95350;for(var _0x50f3dd=_0x44f551>0x1?void 0x0:_0x44f551?Mn(_0x327e15,_0x2065fb):_0x327e15,_0x53818d=_0x10218b[_0x3e6d7b(0x131)]-0x1,_0x125f0f;_0x53818d>=0x0;_0x53818d--)(_0x125f0f=_0x10218b[_0x53818d])&&(_0x50f3dd=(_0x44f551?_0x125f0f(_0x327e15,_0x2065fb,_0x50f3dd):_0x125f0f(_0x50f3dd))||_0x50f3dd);return _0x44f551&&_0x50f3dd&&Ln(_0x327e15,_0x2065fb,_0x50f3dd),_0x50f3dd;},Ae=(_0x20ead4,_0x75fab4)=>(_0x3658e6,_0x27315a)=>_0x75fab4(_0x3658e6,_0x27315a,_0x20ead4);let Pt=class extends _0x4a8bd3{constructor(_0x580ff3,_0x14aba6,_0x547cc0,_0x52f8ee,_0x1a6939){var _0xc5b3d3=_0xf95350;super(_0x580ff3,_0x14aba6,_0x547cc0),this[_0xc5b3d3(0x16c)]=_0x52f8ee,this[_0xc5b3d3(0x29f)]=_0x1a6939;}[_0xf95350(0x224)](_0x384782,_0x24e770){var _0x2957cf=_0xf95350;const _0x92fb7a=this[_0x2957cf(0x27c)](_0x384782);if(_0x92fb7a)try{const _0x2c4ed2=this['_transformStack'](_0x92fb7a,_0x24e770);this['_substituteUndoStack'](_0x384782,_0x2c4ed2);}catch(_0x115c67){this['_logService'][_0x2957cf(0x32c)](_0x2957cf(0x21b),_0x115c67),this[_0x2957cf(0x1ac)](_0x384782);}const _0x15f3c2=this['_getRedoStack'](_0x384782);if(_0x15f3c2)try{const _0x3f02bf=this[_0x2957cf(0x316)](_0x15f3c2,_0x24e770);this[_0x2957cf(0xf9)](_0x384782,_0x3f02bf);}catch(_0x2ce5fb){this[_0x2957cf(0x29f)]['error'](_0x2ce5fb),this[_0x2957cf(0xde)](_0x384782);}}[_0xf95350(0x1ac)](_0x134233){var _0x47f86c=_0xf95350;const _0xf77cb9=this[_0x47f86c(0x27c)](_0x134233);_0xf77cb9&&(_0xf77cb9[_0x47f86c(0x131)]=0x0,this[_0x47f86c(0x3a5)]());}['_clearRedo'](_0x1ce883){var _0x4f7108=_0xf95350;const _0x4774aa=this['_getRedoStack'](_0x1ce883);_0x4774aa&&(_0x4774aa[_0x4f7108(0x131)]=0x0,this[_0x4f7108(0x3a5)]());}[_0xf95350(0x39a)](_0x2c5efb,_0x53c55a){var _0x173bb1=_0xf95350;this[_0x173bb1(0x1f3)][_0x173bb1(0x269)](_0x2c5efb,_0x53c55a),this[_0x173bb1(0x3a5)]();}[_0xf95350(0xf9)](_0x3e3ceb,_0x184ebd){var _0x3787e2=_0xf95350;this[_0x3787e2(0xd0)][_0x3787e2(0x269)](_0x3e3ceb,_0x184ebd),this[_0x3787e2(0x3a5)]();}[_0xf95350(0x316)](_0x4fadba,_0x1bc081){var _0x28a35e=_0xf95350;const _0x120fed=[];let _0x220830=_0x1bc081,_0x5ab87e=_0x1bc081;for(let _0x423a24=_0x4fadba[_0x28a35e(0x131)]-0x1;_0x423a24>=0x0;_0x423a24--){const {unitID:_0xdfadbd,undoMutations:_0x474fae,redoMutations:_0x3d342c}=_0x4fadba[_0x423a24],_0x3ece43=this[_0x28a35e(0x16c)][_0x28a35e(0x11c)](_0x220830,_0x474fae),_0x5b245a=this['_transformService'][_0x28a35e(0x11c)](_0x5ab87e,_0x3d342c);if(_0x36809c(_0x3ece43)||_0x36809c(_0x5b245a)){this['_logService'][_0x28a35e(0x32c)](_0x28a35e(0x21b),_0x28a35e(0x21c),_0x3ece43,_0x5b245a);break;}_0x220830=_0x3ece43['c1Prime'],_0x5ab87e=_0x5b245a[_0x28a35e(0x121)],_0x120fed[_0x28a35e(0x2e0)]({'unitID':_0xdfadbd,'undoMutations':_0x3ece43['m2Prime'],'redoMutations':_0x5b245a['m2Prime']});}return _0x120fed['reverse']();}};Pt=$n([Ae(0x0,_0x4accb0),Ae(0x1,_0x16ead5),Ae(0x2,_0x21a4dd),Ae(0x3,_0xd312f2),Ae(0x4,_0x2cd95e)],Pt);var xi=Object['defineProperty'],Hn=Object[_0xf95350(0x1b5)],kn=(_0x2164bd,_0x4af14d,_0x493353)=>_0x4af14d in _0x2164bd?xi(_0x2164bd,_0x4af14d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x493353}):_0x2164bd[_0x4af14d]=_0x493353,jn=(_0x5831ba,_0x1cbbb1,_0x26381d,_0x4c5218)=>{var _0x270ed8=_0xf95350;for(var _0x50e857=_0x4c5218>0x1?void 0x0:_0x4c5218?Hn(_0x1cbbb1,_0x26381d):_0x1cbbb1,_0xe05afd=_0x5831ba[_0x270ed8(0x131)]-0x1,_0x2106d5;_0xe05afd>=0x0;_0xe05afd--)(_0x2106d5=_0x5831ba[_0xe05afd])&&(_0x50e857=(_0x4c5218?_0x2106d5(_0x1cbbb1,_0x26381d,_0x50e857):_0x2106d5(_0x50e857))||_0x50e857);return _0x4c5218&&_0x50e857&&xi(_0x1cbbb1,_0x26381d,_0x50e857),_0x50e857;},St=(_0x55dffa,_0x1639fe)=>(_0x5a9fe2,_0xb45236)=>_0x1639fe(_0x5a9fe2,_0xb45236,_0x55dffa),Bn=(_0x59cc88,_0x492aa9,_0x5c10e9)=>kn(_0x59cc88,_0x492aa9+'',_0x5c10e9);const Fn=_0xf95350(0x20e);let wt=class extends _0x509d00{constructor(_0x331e7c=Wt,_0x5e5cb7,_0x57fa1c,_0x3715c6){var _0x488f37=_0xf95350;super(),this[_0x488f37(0x35d)]=_0x331e7c,this[_0x488f37(0x29f)]=_0x5e5cb7,this[_0x488f37(0x2fe)]=_0x57fa1c,this[_0x488f37(0x215)]=_0x3715c6;const {..._0x5bd0c6}=_0x1c25ec({},Wt,this[_0x488f37(0x35d)]);this['_configService']['setConfig'](q,_0x5bd0c6);}[_0xf95350(0x2ce)](){var _0x400d2d=_0xf95350;this['_registerDependencies'](),this[_0x400d2d(0x179)]();}['_registerDependencies'](){var _0x32298d=_0xf95350,_0x4a0fc7,_0x48999d,_0x14c39e,_0x12947f;this['_injector'][_0x32298d(0x28d)](_0x122feb)&&this['_logService'][_0x32298d(0x32c)](_0x32298d(0x1c8),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x5a6728=_0x467c59([[_0x122feb,{'useClass':Pt}],[Le],[xe],[it],[nt],[ot],[bi],[at],[pe],[Ot],[Ci,{'useClass':(_0x48999d=(_0x4a0fc7=this[_0x32298d(0x35d)])==null?void 0x0:_0x4a0fc7[_0x32298d(0x2a5)])!=null?_0x48999d:Et}],[_0x359a3a,{'useClass':Dt}],[_0x3db02c,{'useClass':Rt}],[_0x14c982,{'useClass':yt}],[_0x4c2436,{'useClass':Nt}],[rt],[bt]],(_0x14c39e=this[_0x32298d(0x35d)])==null?void 0x0:_0x14c39e['override']);if(!((_0x12947f=this[_0x32298d(0x35d)])!=null&&_0x12947f['enableSingleActiveInstanceLock'])){const _0x26e38b=_0x5a6728[_0x32298d(0xc7)](([_0x3c8535])=>_0x3c8535===ht);_0x26e38b!==-0x1&&_0x5a6728[_0x32298d(0x23f)](_0x26e38b,0x1);}_0x463499(this[_0x32298d(0x2fe)],_0x5a6728);}[_0xf95350(0x179)](){var _0x132f54=_0xf95350,_0x5172c9,_0x5de156,_0x167313;this[_0x132f54(0x2fe)][_0x132f54(0x151)](_0x1d95e4)[_0x132f54(0x33f)]({'priority':0x14,'interceptor':_0x39c3a7({'maxParallel':0x6})}),(_0x5172c9=this[_0x132f54(0x35d)])!=null&&_0x5172c9['enableOfflineEditing']||(_0x5de156=this['_injector']['get'](J,_0x124bff[_0x132f54(0x17d)]))==null||_0x5de156[_0x132f54(0x328)](),(_0x167313=this[_0x132f54(0x35d)])!=null&&_0x167313[_0x132f54(0x2b6)]&&_0x536f41(this['_injector'],[[nt]]),_0x536f41(this[_0x132f54(0x2fe)],[[ot],[rt],[at]]);}};Bn(wt,_0xf95350(0xf2),Fn),wt=jn([_0x296661(_0x5db6f5,_0x5eafd8,_0x5b8d93),St(0x1,_0x2cd95e),St(0x2,_0x1f377b(_0x459b1e)),St(0x3,_0x4ef789)],wt);export{Pi as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,ws as COLLAB_SUBMIT_CHANGESET_URL_KEY,Cs as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,st as CollaborationEntity,yt as CollaborationImageIoService,It as CollaborationSession,Le as CollaborationSessionService,Et as CollaborationSocketService,yi as CollaborationStatus,ne as CollaborationUIEventId,pe as CollaborationUIEventService,Pt as CollaborativeUndoRedoService,bi as CommentService,de as ConflictState,bs as DEFAULT_COLLAB_WEB_SOCKET_URL,ro as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Tt as DocCollaborationEntity,te as FetchingMissState,Os as HEARTBEAT_INTERVAL_KEY,Si as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,Ls as INetworkConditionService,ht as ISingleActiveUnitService,io as LOCAL_CACHE_INTERVAL,to as LOCAL_CACHE_INTERVAL_KEY,As as LOGIN_URL_KEY,xe as MemberService,Nt as MentionIoHttpService,fe as OfflineState,oe as PendingState,so as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Ds as RETRY_CONNECTING_MAX_COUNT_KEY,eo as SEND_CHANGESET_TIMEOUT_KEY,Ss as SNAPSHOT_SERVER_URL_KEY,Is as SNAPSHOT_URL_KEY,Te as SessionStatus,Ct as SheetCollaborationEntity,it as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,De as SyncedState,Ri as UnitStatus,wt as UniverCollaborationClientPlugin,Ms as deserializeToCombResponse,no as getLocalCacheKey,$s as serializeCombRequest};
1
+ var _0x342d1a=_0x1d1c;(function(_0x72a8e6,_0x35c3e8){var _0x2312f6=_0x1d1c,_0x158ab3=_0x72a8e6();while(!![]){try{var _0xe7a9ce=parseInt(_0x2312f6(0xde))/0x1*(parseInt(_0x2312f6(0x1d5))/0x2)+parseInt(_0x2312f6(0x1e2))/0x3*(-parseInt(_0x2312f6(0x38b))/0x4)+-parseInt(_0x2312f6(0x3c2))/0x5+-parseInt(_0x2312f6(0x3cd))/0x6+-parseInt(_0x2312f6(0x2c7))/0x7+-parseInt(_0x2312f6(0x30d))/0x8+parseInt(_0x2312f6(0x16f))/0x9;if(_0xe7a9ce===_0x35c3e8)break;else _0x158ab3['push'](_0x158ab3['shift']());}catch(_0x2bd24e){_0x158ab3['push'](_0x158ab3['shift']());}}}(_0x275d,0xd66e8));var Li=Object['defineProperty'],Mi=(_0x2a17cc,_0x18db41,_0x2a0bfb)=>_0x18db41 in _0x2a17cc?Li(_0x2a17cc,_0x18db41,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2a0bfb}):_0x2a17cc[_0x18db41]=_0x2a0bfb,N=(_0x5ec37c,_0x1aca65,_0xac336)=>Mi(_0x5ec37c,typeof _0x1aca65!=_0x342d1a(0x3ad)?_0x1aca65+'':_0x1aca65,_0xac336);import{createIdentifier as _0x348012,Inject as _0x3469e4,Injector as _0x418715,Disposable as _0x544359,DisposableCollection as _0x56992d,toDisposable as _0xb321bb,IConfigService as _0xfb9dba,ILogService as _0x2b6a87,UserManagerService as _0x32fdd9,UniverInstanceType as _0x43189d,IUniverInstanceService as _0x935257,LocaleService as _0x2d3476,Optional as _0x1f0359,RxDisposable as _0x3302df,Tools as _0x1dc9a2,Rectangle as _0xb9172b,ICommandService as _0x2dafc5,JSONX as _0x54d9dc,CommandType as _0x10c214,IPermissionService as _0x1ccbec,IUndoRedoService as _0x165976,sequenceExecute as _0x3be691,Workbook as _0x463cef,MentionType as _0x1f6786,IAuthzIoService as _0x4176da,isInternalEditorID as _0x469587,LocalUndoRedoService as _0x1276e6,IContextService as _0x254026,DependentOn as _0x279148,Plugin as _0x462f4e,merge as _0x29fdce,mergeOverrideWithDependencies as _0x1eb7fb,IMentionIOService as _0x299e75,registerDependencies as _0x5c0b8a,Quantity as _0x5886b2,touchDependencies as _0x5df22f}from'@univerjs/core';import{Subject as _0x109917,merge as _0x2bb28d,of as _0x34e1b8,BehaviorSubject as _0xb9db75,takeUntil as _0x3d307f,ReplaySubject as _0x3a383a,take as _0x20c734,map as _0x48410a,shareReplay as _0x1086d9,firstValueFrom as _0x463e83,concatMap as _0x19b96c}from'rxjs';import{map as _0x4b44c4,take as _0x21f151,filter as _0x3d4fbc,delay as _0x4345b4,takeUntil as _0x79059a}from'rxjs/operators';import{HTTPService as _0x2ab91c,ISocketService as _0x3ec4d5,MergeInterceptorFactory as _0x548018,HTTPRequest as _0x1265b2,UniverNetworkPlugin as _0x1f6644,ThresholdInterceptorFactory as _0x43f8a1}from'@univerjs/network';import{CollaborationEvent as _0x23a47a,parseChangesetToProtocol as _0x104397,ISnapshotServerService as _0x35444f,isTransformMutationsWithChangesetSuccess as _0x51e900,ITransformService as _0x1175fc,mapDocumentTypeToUniverType as _0x5d78e8,RevisionService as _0x4d5a5d,isTransformChangesetsSuccess as _0xb1fff6,CompressMutationService as _0x293767,parseProtocolChangeset as _0x52c85d,SnapshotService as _0x48d169,textEncoder as _0x3d2108,b64DecodeUnicode as _0x8ab3dd,isTransformMutationsWithChangesetFailure as _0x31dad2,UniverCollaborationPlugin as _0xcb2faf}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x1ae879}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x45f2b4}from'@univerjs/docs';import{SheetsSelectionsService as _0xbb011b,SetSelectionsOperation as _0x1caf1d,InsertSheetMutation as _0x4c402c,EmptyMutation as _0x26963a,WorkbookEditablePermission as _0x480994,SheetPermissionInitController as _0x3aa26d,UniverSheetsPlugin as _0x37b2c8}from'@univerjs/sheets';import{ImageSourceType as _0x342481,ImageUploadStatusType as _0x790ad3,IImageIoService as _0x1efb07}from'@univerjs/drawing';import{getGlobalObject as _0x1ae24b}from'@univerjs-pro/license';const Ss=_0x342d1a(0x29b),Es=_0x342d1a(0x399),Is=_0x342d1a(0x22b),eo='SEND_CHANGESET_TIMEOUT',Ts=0x7d0,Cs=_0x342d1a(0x37a),bs='ws://127.0.0.1:8000/universer-api/comb/connect',Rs=_0x342d1a(0x2ed),Os='HEARTBEAT_INTERVAL',ys=0x7530,Si=_0x342d1a(0x3ce),Ei=0x4e20,Ns=0x4e20,Ds=_0x342d1a(0x1f2),Ps=0x3,to=_0x342d1a(0x2a2),io=0x3e8,ws=_0x342d1a(0x389),Us=_0x342d1a(0x1f0),As='LOGIN_URL_KEY',xs=_0x342d1a(0x3a7),so=_0x342d1a(0x320),ro=_0x342d1a(0x38a);var Ii=(_0x14940d=>(_0x14940d[_0x14940d[_0x342d1a(0x2ec)]=0x0]=_0x342d1a(0x2ec),_0x14940d[_0x14940d['OK']=0x1]='OK',_0x14940d[_0x14940d[_0x342d1a(0x103)]=0x2]=_0x342d1a(0x103),_0x14940d[_0x14940d[_0x342d1a(0x1c6)]=0x3]=_0x342d1a(0x1c6),_0x14940d[_0x14940d[_0x342d1a(0x33d)]=0x4]=_0x342d1a(0x33d),_0x14940d[_0x14940d[_0x342d1a(0x312)]=0x5]=_0x342d1a(0x312),_0x14940d[_0x14940d[_0x342d1a(0x23b)]=0x6]=_0x342d1a(0x23b),_0x14940d[_0x14940d[_0x342d1a(0x388)]=0x7]=_0x342d1a(0x388),_0x14940d[_0x14940d[_0x342d1a(0xf3)]=0x8]=_0x342d1a(0xf3),_0x14940d[_0x14940d[_0x342d1a(0xea)]=0x9]=_0x342d1a(0xea),_0x14940d[_0x14940d['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x342d1a(0x1c7),_0x14940d[_0x14940d[_0x342d1a(0x2ac)]=0x1771]=_0x342d1a(0x2ac),_0x14940d[_0x14940d[_0x342d1a(0x368)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x14940d[_0x14940d[_0x342d1a(0x3d7)]=0x1773]=_0x342d1a(0x3d7),_0x14940d[_0x14940d[_0x342d1a(0x383)]=0x1b59]=_0x342d1a(0x383),_0x14940d[_0x14940d[_0x342d1a(0x21c)]=0x1b5a]=_0x342d1a(0x21c),_0x14940d[_0x14940d[_0x342d1a(0xef)]=0x1b5b]=_0x342d1a(0xef),_0x14940d[_0x14940d[_0x342d1a(0x1dd)]=0x1b5c]=_0x342d1a(0x1dd),_0x14940d[_0x14940d[_0x342d1a(0x384)]=0x1b5d]=_0x342d1a(0x384),_0x14940d[_0x14940d['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x342d1a(0x26b),_0x14940d[_0x14940d[_0x342d1a(0x371)]=0x2329]=_0x342d1a(0x371),_0x14940d[_0x14940d['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x342d1a(0x283),_0x14940d[_0x14940d['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x342d1a(0x28f),_0x14940d[_0x14940d['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x342d1a(0x145),_0x14940d[_0x14940d['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x14940d[_0x14940d[_0x342d1a(0x1e3)]=0x2711]=_0x342d1a(0x1e3),_0x14940d[_0x14940d['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x342d1a(0x17b),_0x14940d[_0x14940d[_0x342d1a(0xe3)]=0x2713]=_0x342d1a(0xe3),_0x14940d[_0x14940d[_0x342d1a(0x2a8)]=0x2714]=_0x342d1a(0x2a8),_0x14940d[_0x14940d[_0x342d1a(0x26c)]=-0x1]=_0x342d1a(0x26c),_0x14940d))(Ii||{}),Q=(_0x239294=>(_0x239294[_0x239294[_0x342d1a(0x36d)]=0x0]=_0x342d1a(0x36d),_0x239294[_0x239294[_0x342d1a(0x10b)]=0x1]=_0x342d1a(0x10b),_0x239294[_0x239294[_0x342d1a(0xe1)]=0x2]=_0x342d1a(0xe1),_0x239294[_0x239294['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x239294[_0x239294[_0x342d1a(0x2bd)]=0x4]='UNIVER_PROJECT',_0x239294[_0x239294[_0x342d1a(0x26c)]=-0x1]=_0x342d1a(0x26c),_0x239294))(Q||{}),F=(_0x406d1a=>(_0x406d1a[_0x406d1a[_0x342d1a(0x3a0)]=0x0]=_0x342d1a(0x3a0),_0x406d1a[_0x406d1a[_0x342d1a(0x38e)]=0x1]=_0x342d1a(0x38e),_0x406d1a[_0x406d1a[_0x342d1a(0x36b)]=0x2]='JOIN',_0x406d1a[_0x406d1a[_0x342d1a(0x11f)]=0x3]=_0x342d1a(0x11f),_0x406d1a[_0x406d1a[_0x342d1a(0x1bc)]=0x4]=_0x342d1a(0x1bc),_0x406d1a[_0x406d1a[_0x342d1a(0x3d3)]=0x5]='HEARTBEAT',_0x406d1a[_0x406d1a[_0x342d1a(0x1df)]=0x6]=_0x342d1a(0x1df),_0x406d1a[_0x406d1a[_0x342d1a(0x26c)]=-0x1]=_0x342d1a(0x26c),_0x406d1a))(F||{}),Ee=(_0x48d0c9=>(_0x48d0c9[_0x48d0c9[_0x342d1a(0x34e)]=0x0]=_0x342d1a(0x34e),_0x48d0c9[_0x48d0c9['OK']=0x1]='OK',_0x48d0c9[_0x48d0c9[_0x342d1a(0x134)]=0x2]=_0x342d1a(0x134),_0x48d0c9[_0x48d0c9[_0x342d1a(0x17e)]=0x3e9]=_0x342d1a(0x17e),_0x48d0c9[_0x48d0c9[_0x342d1a(0x397)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x48d0c9[_0x48d0c9[_0x342d1a(0x335)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x48d0c9[_0x48d0c9[_0x342d1a(0x12b)]=0x3ec]=_0x342d1a(0x12b),_0x48d0c9[_0x48d0c9[_0x342d1a(0x26c)]=-0x1]=_0x342d1a(0x26c),_0x48d0c9))(Ee||{}),Ti=(_0x1de73d=>(_0x1de73d[_0x1de73d[_0x342d1a(0x164)]=0x0]=_0x342d1a(0x164),_0x1de73d[_0x1de73d['HttpImport']=0x1]=_0x342d1a(0x11e),_0x1de73d[_0x1de73d[_0x342d1a(0x29e)]=0x2]='HttpExport',_0x1de73d[_0x1de73d[_0x342d1a(0xdc)]=0x3]='UnitEmbedded',_0x1de73d[_0x1de73d[_0x342d1a(0x1da)]=0x4]=_0x342d1a(0x1da),_0x1de73d[_0x1de73d[_0x342d1a(0x26c)]=-0x1]=_0x342d1a(0x26c),_0x1de73d))(Ti||{});const q=_0x342d1a(0x2df),Wt={};var ne=(_0x16f8e4=>(_0x16f8e4[_0x342d1a(0x113)]='OTHER_CLIENT_EDITING',_0x16f8e4[_0x342d1a(0x1c6)]=_0x342d1a(0x1c6),_0x16f8e4[_0x342d1a(0x149)]=_0x342d1a(0x149),_0x16f8e4[_0x342d1a(0x35b)]='CLOSE_ROOM',_0x16f8e4[_0x342d1a(0x2ce)]='JOIN_ROOM_FAILED',_0x16f8e4[_0x342d1a(0x1b9)]=_0x342d1a(0x1b9),_0x16f8e4[_0x342d1a(0x22a)]='SOCKET_FAILED',_0x16f8e4[_0x342d1a(0x14a)]=_0x342d1a(0x14a),_0x16f8e4))(ne||{});class pe{constructor(){var _0x2cd0f0=_0x342d1a;N(this,_0x2cd0f0(0x30f),new _0x109917()),N(this,_0x2cd0f0(0x1ad),this['_event$'][_0x2cd0f0(0xdf)]());}[_0x342d1a(0xf6)](_0x5538df){var _0x2a4571=_0x342d1a;this[_0x2a4571(0x30f)]['next'](_0x5538df);}}const Ls=_0x348012(_0x342d1a(0x1a7));function Ms(_0x98233c){var _0x2d4f63=_0x342d1a,_0x4c41d3,_0x268e11,_0x48a0f7,_0x1449ce,_0x575d49;const _0x33dae2=_0x98233c[_0x2d4f63(0x25f)],_0x52537d=JSON[_0x2d4f63(0x190)](_0x33dae2);switch(_0x52537d[_0x2d4f63(0x23c)]){case F[_0x2d4f63(0x3d3)]:case F[_0x2d4f63(0x38e)]:{const _0x21f723=_0x52537d['infoRsp'];return{..._0x52537d,'data':_0x21f723,'cmd':_0x52537d[_0x2d4f63(0x23c)]};}case F[_0x2d4f63(0x36b)]:{const _0xd91be9=_0x52537d['joinRsp'];return{..._0x52537d,'data':_0xd91be9,'cmd':_0x52537d[_0x2d4f63(0x23c)]};}case F['RECV']:{const _0x461efc=_0x52537d[_0x2d4f63(0x292)];switch(_0x461efc['eventID']){case _0x23a47a[_0x2d4f63(0x20d)]:return{..._0x52537d,'data':{..._0x461efc,'data':(_0x4c41d3=_0x461efc[_0x2d4f63(0x2e3)])==null?void 0x0:_0x4c41d3['cs']},'cmd':_0x52537d[_0x2d4f63(0x23c)]};case _0x23a47a[_0x2d4f63(0x2b5)]:return{..._0x52537d,'data':{..._0x461efc,'data':(_0x268e11=_0x461efc[_0x2d4f63(0x1ec)])==null?void 0x0:_0x268e11['cs']},'cmd':_0x52537d[_0x2d4f63(0x23c)]};case _0x23a47a[_0x2d4f63(0x3a9)]:return{..._0x52537d,'data':{..._0x461efc,'data':(_0x48a0f7=_0x461efc['newCsEvent'])==null?void 0x0:_0x48a0f7['cs']},'cmd':_0x52537d[_0x2d4f63(0x23c)]};case _0x23a47a[_0x2d4f63(0x364)]:return{..._0x52537d,'data':{..._0x461efc,'data':(_0x1449ce=_0x461efc[_0x2d4f63(0xf7)])==null?void 0x0:_0x1449ce['cs']},'cmd':_0x52537d[_0x2d4f63(0x23c)]};case _0x23a47a['CHANGESET_SHOULD_RETRY']:return{..._0x52537d,'data':{..._0x461efc,'data':(_0x575d49=_0x461efc[_0x2d4f63(0x251)])==null?void 0x0:_0x575d49['cs']},'cmd':_0x52537d[_0x2d4f63(0x23c)]};case _0x23a47a[_0x2d4f63(0x193)]:return{..._0x52537d,'data':{..._0x461efc,'data':_0x461efc[_0x2d4f63(0x2f8)]},'cmd':_0x52537d[_0x2d4f63(0x23c)]};case _0x23a47a[_0x2d4f63(0x13d)]:return{..._0x52537d,'data':{..._0x461efc,'data':_0x461efc[_0x2d4f63(0x32c)]},'cmd':_0x52537d[_0x2d4f63(0x23c)]};case _0x23a47a[_0x2d4f63(0x180)]:return{..._0x52537d,'data':{..._0x461efc,'data':_0x461efc[_0x2d4f63(0x2ff)]},'cmd':_0x52537d[_0x2d4f63(0x23c)]};case _0x23a47a[_0x2d4f63(0x216)]:return{..._0x52537d,'data':{..._0x461efc,'data':_0x461efc['liveShareNewHost']},'cmd':_0x52537d[_0x2d4f63(0x23c)]};case _0x23a47a[_0x2d4f63(0xff)]:case _0x23a47a['LIVESHARE_OPERATION']:return{..._0x52537d,'data':{..._0x461efc,'data':_0x461efc[_0x2d4f63(0x2eb)]},'cmd':_0x52537d['cmd']};case _0x23a47a[_0x2d4f63(0x394)]:return{..._0x52537d,'data':{..._0x461efc,'data':_0x461efc[_0x2d4f63(0x1e7)]},'cmd':_0x52537d[_0x2d4f63(0x23c)]};case _0x23a47a[_0x2d4f63(0x2c9)]:return{..._0x52537d,'data':_0x461efc,'cmd':_0x52537d['cmd']};case _0x23a47a['COMMENT_UPDATE']:return{..._0x52537d,'data':{..._0x461efc,'data':_0x461efc[_0x2d4f63(0x270)]},'cmd':_0x52537d[_0x2d4f63(0x23c)]};case _0x23a47a[_0x2d4f63(0x390)]:return{..._0x52537d,'data':{..._0x461efc,'data':_0x461efc[_0x2d4f63(0x325)]},'cmd':_0x52537d['cmd']};case _0x23a47a['SHOULD_CLOSE_CONN']:return{..._0x52537d,'data':{..._0x461efc,'data':_0x461efc[_0x2d4f63(0x242)]},'cmd':_0x52537d['cmd']};case _0x23a47a[_0x2d4f63(0x2bf)]:return{..._0x52537d,'data':{..._0x461efc,'data':_0x461efc[_0x2d4f63(0x2fd)]},'cmd':_0x52537d[_0x2d4f63(0x23c)]};default:return _0x52537d;}}default:return _0x52537d;}}function $s(_0x5c8291){var _0x359ca6=_0x342d1a;switch(_0x5c8291[_0x359ca6(0x23c)]){case F[_0x359ca6(0x3d3)]:case F[_0x359ca6(0x38e)]:return JSON[_0x359ca6(0x3b9)]({'cmd':_0x5c8291[_0x359ca6(0x23c)],'routeKey':_0x5c8291[_0x359ca6(0x147)]});case F[_0x359ca6(0x1bc)]:{let _0x2dbef8;switch(_0x5c8291['data'][_0x359ca6(0x104)]){case _0x23a47a['UPDATE_CURSOR']:{_0x2dbef8={'eventID':_0x23a47a[_0x359ca6(0x193)],'updateCursorEvent':_0x5c8291[_0x359ca6(0x25f)][_0x359ca6(0x25f)]};break;}case _0x23a47a[_0x359ca6(0x180)]:{_0x2dbef8={'eventID':_0x23a47a['USERS_LEAVE'],'leaveEvent':_0x5c8291[_0x359ca6(0x25f)]['data']};break;}case _0x23a47a[_0x359ca6(0x13d)]:{_0x2dbef8={'eventID':_0x23a47a[_0x359ca6(0x13d)],'joinEvent':_0x5c8291[_0x359ca6(0x25f)][_0x359ca6(0x25f)]};break;}case _0x23a47a[_0x359ca6(0x216)]:{_0x2dbef8={'eventID':_0x23a47a[_0x359ca6(0x216)],'liveShareNewHost':_0x5c8291[_0x359ca6(0x25f)][_0x359ca6(0x25f)]};break;}case _0x23a47a['LIVESHARE_OPERATION']:{_0x2dbef8={'eventID':_0x23a47a[_0x359ca6(0x225)],'liveShareOperation':_0x5c8291[_0x359ca6(0x25f)]['data']};break;}case _0x23a47a[_0x359ca6(0x394)]:{_0x2dbef8={'eventID':_0x23a47a[_0x359ca6(0x394)],'liveShareTerminate':_0x5c8291[_0x359ca6(0x25f)][_0x359ca6(0x25f)]};break;}case _0x23a47a[_0x359ca6(0x1f7)]:{_0x2dbef8={'eventID':_0x23a47a[_0x359ca6(0x1f7)],'liveShareRequestHost':_0x5c8291[_0x359ca6(0x25f)][_0x359ca6(0x25f)]};break;}case _0x23a47a[_0x359ca6(0xff)]:{_0x2dbef8={'eventID':_0x23a47a[_0x359ca6(0xff)]};break;}default:_0x2dbef8={'eventID':_0x5c8291[_0x359ca6(0x25f)]['eventID']};}return JSON[_0x359ca6(0x3b9)]({'cmd':_0x5c8291[_0x359ca6(0x23c)],'routeKey':_0x5c8291['routeKey'],'collaMsg':_0x2dbef8});}case F[_0x359ca6(0x36b)]:return JSON[_0x359ca6(0x3b9)]({'cmd':_0x5c8291[_0x359ca6(0x23c)],'routeKey':_0x5c8291[_0x359ca6(0x147)],'joinReq':_0x5c8291['data']});case F[_0x359ca6(0x11f)]:return JSON['stringify']({'cmd':_0x5c8291[_0x359ca6(0x23c)],'routeKey':_0x5c8291['routeKey'],'leaveReq':_0x5c8291[_0x359ca6(0x25f)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Hs=Object[_0x342d1a(0x3d6)],ks=Object['getOwnPropertyDescriptor'],js=(_0x1ab371,_0x4404a9,_0x4bd373,_0x3b2b38)=>{for(var _0x5a32d5=_0x3b2b38>0x1?void 0x0:_0x3b2b38?ks(_0x4404a9,_0x4bd373):_0x4404a9,_0x28774e=_0x1ab371['length']-0x1,_0x44f1f0;_0x28774e>=0x0;_0x28774e--)(_0x44f1f0=_0x1ab371[_0x28774e])&&(_0x5a32d5=(_0x3b2b38?_0x44f1f0(_0x4404a9,_0x4bd373,_0x5a32d5):_0x44f1f0(_0x5a32d5))||_0x5a32d5);return _0x3b2b38&&_0x5a32d5&&Hs(_0x4404a9,_0x4bd373,_0x5a32d5),_0x5a32d5;},Ue=(_0x2586e3,_0x527d61)=>(_0x68cab2,_0x3346ca)=>_0x527d61(_0x68cab2,_0x3346ca,_0x2586e3);const Ci=_0x348012('univer-pro.collaboration-client-socket-service');function Bs(_0x5795bc,_0x178dd3,_0xde2428){var _0x13213b=_0x342d1a;return _0x5795bc+'/'+_0x178dd3+_0x13213b(0x2c8)+_0xde2428+'/new_changes';}let Et=class extends _0x544359{constructor(_0x197315,_0x1916df,_0x3b5372,_0x51f1dc,_0x28dd25){var _0x13ea05=_0x342d1a;super(),this[_0x13ea05(0x2af)]=_0x197315,this[_0x13ea05(0x259)]=_0x1916df,this[_0x13ea05(0x1c9)]=_0x3b5372,this[_0x13ea05(0x108)]=_0x51f1dc,this[_0x13ea05(0x278)]=_0x28dd25;}[_0x342d1a(0x2f5)](_0x28c748){var _0x51d397=_0x342d1a;const _0x5335f3=this[_0x51d397(0x2af)][_0x51d397(0x10a)](_0x3ec4d5);if(!_0x5335f3)throw new Error(_0x51d397(0x299));const _0x38848a=_0x5335f3[_0x51d397(0x2f5)](_0x28c748);if(!_0x38848a)throw new Error(_0x51d397(0x117));const _0x2105b4=new _0x56992d(),_0x44df21=new _0x109917();_0x2105b4[_0x51d397(0x285)](_0x38848a[_0x51d397(0x142)][_0x51d397(0x3a2)](_0x75ed51=>_0x44df21[_0x51d397(0x132)](_0x75ed51))),_0x2105b4[_0x51d397(0x285)](_0xb321bb(()=>_0x44df21[_0x51d397(0x168)]()));const _0xc6a513=new _0x109917();_0x2105b4[_0x51d397(0x285)](_0x38848a[_0x51d397(0x258)][_0x51d397(0x3a2)](_0x461d87=>_0xc6a513['next'](_0x461d87))),_0x2105b4[_0x51d397(0x285)](_0xb321bb(()=>_0xc6a513[_0x51d397(0x168)]()));const _0x2aac05=new _0x109917();_0x2105b4[_0x51d397(0x285)](_0x38848a[_0x51d397(0x2aa)]['subscribe'](_0x2a9d5b=>{var _0x96d53d=_0x51d397;const _0x5522bb=Ms(_0x2a9d5b);_0x2aac05[_0x96d53d(0x132)](_0x5522bb);})),_0x2105b4[_0x51d397(0x285)](_0xb321bb(()=>_0x2aac05['complete']()));let _0x539ac7;const _0x4bb844=()=>{var _0xa2886c=_0x51d397;_0xc6a513['next'](new Event(_0xa2886c(0x39d))),_0x44df21['next'](new CloseEvent(_0xa2886c(0x39d))),_0x539ac7[_0xa2886c(0x263)]();};return _0x539ac7={'memberID':'','close$':_0x44df21['asObservable'](),'error$':_0xc6a513[_0x51d397(0xdf)](),'open$':_0x38848a[_0x51d397(0x237)],'message$':_0x2aac05['asObservable'](),'send':_0x4f70c1=>{var _0x786fec=_0x51d397;if(_0x4f70c1[_0x786fec(0x23c)]===F[_0x786fec(0x1bc)]){if(_0x4f70c1['data']['eventID']===_0x23a47a['SUBMIT_CHANGESET']){this[_0x786fec(0x25e)](_0x539ac7,_0x4f70c1['data'])[_0x786fec(0x1f8)](_0x347306=>{var _0x2bb516=_0x786fec;this[_0x2bb516(0x108)][_0x2bb516(0x27d)](_0x347306),_0x4bb844();});return;}if(_0x4f70c1[_0x786fec(0x25f)][_0x786fec(0x104)]===_0x23a47a['FETCH_MISSING']){const _0x181301=_0x4f70c1[_0x786fec(0x25f)];this[_0x786fec(0x34b)](_0x181301)[_0x786fec(0x18c)](_0x288773=>{var _0x3eb13b=_0x786fec;_0x2aac05['next']({'cmd':F[_0x3eb13b(0x1df)],'code':Ee['OK'],'routeKey':_0x181301[_0x3eb13b(0x25f)][_0x3eb13b(0x34a)],'routeType':'','data':{'eventID':_0x23a47a[_0x3eb13b(0x169)],'data':{'changesets':_0x288773}}});})[_0x786fec(0x1f8)](_0x44e149=>{var _0x2a8949=_0x786fec;this['_logService'][_0x2a8949(0x27d)](_0x44e149),_0x4bb844();});return;}}_0x38848a[_0x786fec(0x248)]($s(_0x4f70c1));},'close':()=>{var _0x2d51da=_0x51d397;_0x38848a[_0x2d51da(0x263)](),_0x2105b4[_0x2d51da(0x112)]();}},_0x539ac7;}async['_submitChangeset'](_0x346322,_0x578ed7){var _0xc32b67=_0x342d1a,_0x4562eb,_0x12639d;const {unitType:_0x22c366,unitID:_0x1fcde0,changeset:_0xf3a7ab}=_0x578ed7[_0xc32b67(0x25f)],_0x5ab9d3={'unitID':_0x1fcde0,'memberID':_0x346322['memberID'],'type':_0x22c366,'changeset':_0x104397(_0xf3a7ab)},_0x155103=this[_0xc32b67(0x1c9)][_0xc32b67(0x1ed)](ws),_0x55f61f=this[_0xc32b67(0x1c9)][_0xc32b67(0x1ed)](q),_0x22ea2b=Bs((_0x12639d=(_0x4562eb=_0x55f61f==null?void 0x0:_0x55f61f[_0xc32b67(0x2ee)])!=null?_0x4562eb:_0x155103)!=null?_0x12639d:Us,_0x22c366,_0x1fcde0);try{await this[_0xc32b67(0x259)]['post'](_0x22ea2b,{'body':_0x5ab9d3});}catch(_0x24a107){throw this['_logService'][_0xc32b67(0x27d)](_0xc32b67(0x358),_0xc32b67(0x100)),_0x24a107;}}async[_0x342d1a(0x34b)](_0x4fb3e2){var _0x316090=_0x342d1a;const {unitID:_0x4dd682,from:_0x32820c,to:_0x3495e7,unitType:_0x22b08f}=_0x4fb3e2[_0x316090(0x25f)];return(await this[_0x316090(0x278)][_0x316090(0x186)]({'metadata':void 0x0},{'unitID':_0x4dd682,'type':_0x22b08f,'from':_0x32820c,'to':_0x3495e7}))['changesets'];}};Et=js([Ue(0x0,_0x3469e4(_0x418715)),Ue(0x1,_0x3469e4(_0x2ab91c)),Ue(0x2,_0xfb9dba),Ue(0x3,_0x2b6a87),Ue(0x4,_0x35444f)],Et);const Fs=_0x342d1a(0x359);function Vs(_0x5629b7){var _0x54185d=_0x342d1a;return JSON[_0x54185d(0x3b9)](_0x5629b7)['length'];}class bi{constructor(){var _0x5642f4=_0x342d1a;N(this,_0x5642f4(0x357),new _0x109917()),N(this,_0x5642f4(0x25a),this[_0x5642f4(0x357)]['asObservable']());}[_0x342d1a(0x15b)](_0x382858){var _0x23643e=_0x342d1a;this[_0x23643e(0x357)][_0x23643e(0x132)](_0x382858);}}var Gs=Object['defineProperty'],Ws=Object[_0x342d1a(0x1eb)],Ks=(_0xc781ba,_0x493049,_0x1e1147,_0x133545)=>{for(var _0x7a2b2d=_0x133545>0x1?void 0x0:_0x133545?Ws(_0x493049,_0x1e1147):_0x493049,_0x1347aa=_0xc781ba['length']-0x1,_0x3aa7e8;_0x1347aa>=0x0;_0x1347aa--)(_0x3aa7e8=_0xc781ba[_0x1347aa])&&(_0x7a2b2d=(_0x133545?_0x3aa7e8(_0x493049,_0x1e1147,_0x7a2b2d):_0x3aa7e8(_0x7a2b2d))||_0x7a2b2d);return _0x133545&&_0x7a2b2d&&Gs(_0x493049,_0x1e1147,_0x7a2b2d),_0x7a2b2d;},Kt=(_0x19880c,_0x54fc8b)=>(_0x3326fc,_0x821a5)=>_0x54fc8b(_0x3326fc,_0x821a5,_0x19880c);let xe=class extends _0x544359{constructor(_0x23f3f2,_0x34548f){var _0xc3b57a=_0x342d1a;super(),N(this,_0xc3b57a(0x19d),new Map()),N(this,_0xc3b57a(0x144),new _0x109917()),(this[_0xc3b57a(0x254)]=_0x23f3f2,this['_userManagerService']=_0x34548f,this[_0xc3b57a(0x2cf)](_0x2bb28d(this[_0xc3b57a(0x254)][_0xc3b57a(0x119)](_0x43189d[_0xc3b57a(0xe1)])[_0xc3b57a(0xf5)](_0x4b44c4(_0x276f35=>_0x276f35['getUnitId']())),this[_0xc3b57a(0x254)][_0xc3b57a(0x119)](_0x43189d[_0xc3b57a(0x10b)])[_0xc3b57a(0xf5)](_0x4b44c4(_0x4dae59=>_0x4dae59[_0xc3b57a(0x2a7)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x43189d['UNIVER_SLIDE'])['pipe'](_0x4b44c4(_0x47ef9a=>_0x47ef9a[_0xc3b57a(0x2a7)]())))[_0xc3b57a(0x3a2)](_0x35e3ac=>this[_0xc3b57a(0x2d9)](_0x35e3ac))));}[_0x342d1a(0x3ac)](_0x132a05){var _0x3cafcc=_0x342d1a;return this[_0x3cafcc(0x19d)][_0x3cafcc(0x334)](_0x132a05)?_0x34e1b8(this[_0x3cafcc(0x19d)][_0x3cafcc(0x10a)](_0x132a05)):this[_0x3cafcc(0x144)][_0x3cafcc(0xf5)](_0x4b44c4(_0x466b0e=>{var _0x477860=_0x3cafcc;if(_0x466b0e===_0x132a05)return this['_roomMembers'][_0x477860(0x10a)](_0x466b0e);}));}[_0x342d1a(0x1e8)](_0x5b649e){var _0x4d262e=_0x342d1a;this['_userManagerService'][_0x4d262e(0x1e8)](_0x5b649e);}['getCurrentUser'](){var _0x55222f=_0x342d1a;return this[_0x55222f(0x29a)][_0x55222f(0x1c4)]();}[_0x342d1a(0x2c1)](_0x3952ca,_0x30dac6){var _0x135f5a=_0x342d1a;let _0x24fb31=this[_0x135f5a(0x19d)][_0x135f5a(0x10a)](_0x3952ca);_0x24fb31||(_0x24fb31=new Ys(),this[_0x135f5a(0x19d)][_0x135f5a(0x204)](_0x3952ca,_0x24fb31),this[_0x135f5a(0x144)][_0x135f5a(0x132)](_0x3952ca)),_0x24fb31[_0x135f5a(0x2c1)](_0x30dac6);}[_0x342d1a(0x1ba)](_0x3d7200,_0x142bc0){var _0x4938c0=_0x342d1a;const _0x27d360=this[_0x4938c0(0x19d)][_0x4938c0(0x10a)](_0x3d7200);_0x27d360&&_0x27d360[_0x4938c0(0x1ba)](_0x142bc0);}[_0x342d1a(0x2f9)](_0x38288f){var _0x92bb1=_0x342d1a;return this[_0x92bb1(0x19d)][_0x92bb1(0x10a)](_0x38288f);}[_0x342d1a(0x34f)](_0x34f692,_0x76a377){var _0x4c2fc9=_0x342d1a;const _0x2f6156=this[_0x4c2fc9(0x19d)][_0x4c2fc9(0x10a)](_0x34f692);if(_0x2f6156)return _0x2f6156['getMember'](_0x76a377);}[_0x342d1a(0x2d9)](_0x4f5292){var _0x20b9b7=_0x342d1a;const _0x3c9466=this[_0x20b9b7(0x19d)][_0x20b9b7(0x10a)](_0x4f5292);_0x3c9466&&(_0x3c9466[_0x20b9b7(0x112)](),this['_roomMembers'][_0x20b9b7(0xe8)](_0x4f5292));}[_0x342d1a(0x112)](){var _0x47c4b6=_0x342d1a;this[_0x47c4b6(0x19d)][_0x47c4b6(0x385)](_0x53a82e=>_0x53a82e[_0x47c4b6(0x112)]()),this[_0x47c4b6(0x19d)][_0x47c4b6(0x106)](),this['_roomCreated$']['complete']();}};xe=Ks([Kt(0x0,_0x935257),Kt(0x1,_0x3469e4(_0x32fdd9))],xe);class Ys extends _0x544359{constructor(){var _0x5c7473=_0x342d1a;super(...arguments),N(this,'_members',new Map()),N(this,'_members$',new _0xb9db75(this['_members'])),N(this,_0x5c7473(0x215),this['_members$']['asObservable']());}['dispose'](){var _0xb31571=_0x342d1a;this[_0xb31571(0x1d1)][_0xb31571(0x106)]();}['updateMember'](_0x20b57b){var _0x246384=_0x342d1a;this[_0x246384(0x1d1)]['set'](_0x20b57b[_0x246384(0x12a)],_0x20b57b),this[_0x246384(0xfe)]();}['removeMember'](_0x3c714e){var _0x110ad8=_0x342d1a;this[_0x110ad8(0x1d1)][_0x110ad8(0xe8)](_0x3c714e);}[_0x342d1a(0x34f)](_0x339afc){return this['_members']['get'](_0x339afc);}[_0x342d1a(0x199)](){var _0xb25b78=_0x342d1a;return Array[_0xb25b78(0x105)](this[_0xb25b78(0x1d1)][_0xb25b78(0x1cf)]());}[_0x342d1a(0xfe)](){var _0x4d6fbb=_0x342d1a;this[_0x4d6fbb(0x12e)][_0x4d6fbb(0x132)](this[_0x4d6fbb(0x1d1)]);}}var qs=Object['defineProperty'],zs=Object[_0x342d1a(0x1eb)],Js=(_0x540d97,_0x596b55,_0x4d2827,_0x380a40)=>{var _0x2a888d=_0x342d1a;for(var _0x49f2ed=_0x380a40>0x1?void 0x0:_0x380a40?zs(_0x596b55,_0x4d2827):_0x596b55,_0x222c4b=_0x540d97[_0x2a888d(0x176)]-0x1,_0x56a961;_0x222c4b>=0x0;_0x222c4b--)(_0x56a961=_0x540d97[_0x222c4b])&&(_0x49f2ed=(_0x380a40?_0x56a961(_0x596b55,_0x4d2827,_0x49f2ed):_0x56a961(_0x49f2ed))||_0x49f2ed);return _0x380a40&&_0x49f2ed&&qs(_0x596b55,_0x4d2827,_0x49f2ed),_0x49f2ed;},me=(_0x4d5100,_0x706bff)=>(_0x249f43,_0x4a0999)=>_0x706bff(_0x249f43,_0x4a0999,_0x4d5100),Te=(_0x172613=>(_0x172613[_0x172613[_0x342d1a(0x151)]=0x0]=_0x342d1a(0x151),_0x172613[_0x172613[_0x342d1a(0x2bb)]=0x1]=_0x342d1a(0x2bb),_0x172613[_0x172613[_0x342d1a(0x148)]=0x2]=_0x342d1a(0x148),_0x172613[_0x172613['ONLINE']=0x3]=_0x342d1a(0x3db),_0x172613))(Te||{});const Yt={[Ee[_0x342d1a(0x134)]]:_0x342d1a(0x33e),[Ee[_0x342d1a(0x17e)]]:_0x342d1a(0x3a8),[Ee['JOIN_ROOM_NOT_EXISTS']]:_0x342d1a(0x25b),[Ee['JOIN_ROOM_PERMISSION_DENIED']]:'session.room-permission-denied',[Ee[_0x342d1a(0x12b)]]:_0x342d1a(0x341)};let It=class extends _0x3302df{constructor(_0x347957,_0x41d614,_0x2097fa,_0x592cc8,_0x240b80,_0x286adc,_0x2a0f75,_0x21144e,_0x53accd){var _0x4fa635=_0x342d1a;super(),N(this,_0x4fa635(0x3b5),new _0xb9db75(0x0)),N(this,'sessionStatus$',this[_0x4fa635(0x3b5)][_0x4fa635(0xdf)]()),N(this,'_event$',new _0x109917()),N(this,_0x4fa635(0x1ad),this['_event$'][_0x4fa635(0xdf)]()),N(this,_0x4fa635(0x192)),N(this,'_socketMessageSubscription'),N(this,_0x4fa635(0x32b)),N(this,_0x4fa635(0x35a),!0x1),N(this,_0x4fa635(0x326),null),(this[_0x4fa635(0x19b)]=_0x347957,this[_0x4fa635(0x108)]=_0x2097fa,this['_configService']=_0x592cc8,this[_0x4fa635(0x18d)]=_0x240b80,this[_0x4fa635(0x362)]=_0x286adc,this[_0x4fa635(0x22f)]=_0x2a0f75,this[_0x4fa635(0x13f)]=_0x21144e,this[_0x4fa635(0x228)]=_0x53accd,this['_shouldReportTelemetry']=!!this[_0x4fa635(0x228)],_0x41d614[_0x4fa635(0xf5)](_0x3d307f(this['dispose$']))[_0x4fa635(0x3a2)](_0x297908=>{var _0x193ef8=_0x4fa635,_0x4a94fc;typeof _0x297908>'u'||(this[_0x193ef8(0x192)]=_0x297908,_0x297908?(this[_0x193ef8(0x152)](_0x297908),this[_0x193ef8(0x1b5)]=_0x297908[_0x193ef8(0x2aa)][_0x193ef8(0x3a2)](_0xa663f4=>{var _0x116245=_0x193ef8;_0xa663f4[_0x116245(0x147)]===this['_unitID']&&this[_0x116245(0x206)](_0xa663f4);})):(this[_0x193ef8(0x346)](),this[_0x193ef8(0x3b5)][_0x193ef8(0x132)](0x2),(_0x4a94fc=this['_socketMessageSubscription'])==null||_0x4a94fc[_0x193ef8(0x1b6)](),this[_0x193ef8(0x1b5)]=null));}));}get[_0x342d1a(0x309)](){var _0x1e6b1c=_0x342d1a;return this[_0x1e6b1c(0x3b5)][_0x1e6b1c(0x24f)]();}['getMemberID'](){var _0x5b22fb=_0x342d1a,_0x2fa3ef,_0x2bbd00;return(_0x2bbd00=(_0x2fa3ef=this[_0x5b22fb(0x192)])==null?void 0x0:_0x2fa3ef[_0x5b22fb(0x12a)])!=null?_0x2bbd00:null;}[_0x342d1a(0x112)](){var _0x307806=_0x342d1a;super[_0x307806(0x112)](),this[_0x307806(0x26f)][_0x307806(0x132)](),this[_0x307806(0x26f)][_0x307806(0x168)]();}[_0x342d1a(0x263)](){var _0x773c68=_0x342d1a,_0x3d37d6,_0x232ae6;this[_0x773c68(0x346)](),(_0x3d37d6=this[_0x773c68(0x192)])==null||_0x3d37d6['send']({'cmd':F[_0x773c68(0x11f)],'data':{'roomID':this[_0x773c68(0x19b)]}}),(_0x232ae6=this['_socket'])==null||_0x232ae6[_0x773c68(0x263)](),this[_0x773c68(0x30f)][_0x773c68(0x168)](),this[_0x773c68(0x3b5)]['complete'](),this[_0x773c68(0x112)]();}[_0x342d1a(0x206)](_0x4e024c){var _0x3687ac=_0x342d1a;_0x4e024c['cmd']===F['JOIN']?this[_0x3687ac(0x1e5)](_0x4e024c):_0x4e024c[_0x3687ac(0x23c)]===F[_0x3687ac(0x1df)]&&this[_0x3687ac(0x3b7)](_0x4e024c);}[_0x342d1a(0x152)](_0x4ddaab){var _0x449d0d=_0x342d1a;this[_0x449d0d(0x3b5)][_0x449d0d(0x132)](0x1),_0x4ddaab[_0x449d0d(0x248)]({'cmd':F[_0x449d0d(0x36b)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x449d0d(0x19b)]}]}});}[_0x342d1a(0x1e5)](_0x22f599){var _0x236efe=_0x342d1a,_0x22ffc9;if(_0x22f599[_0x236efe(0x28e)]in Yt){this[_0x236efe(0x13f)][_0x236efe(0xf6)]({'id':ne[_0x236efe(0x2ce)],'data':Yt[_0x22f599[_0x236efe(0x28e)]]}),this[_0x236efe(0x3b5)]['next'](0x2);return;}this[_0x236efe(0x3b5)]['next'](0x3);const _0x5cd04e=(_0x22ffc9=_0x22f599['data'][_0x236efe(0xf2)][this['_unitID']])==null?void 0x0:_0x22ffc9['members'];_0x5cd04e&&_0x5cd04e[_0x236efe(0x385)](_0x3d46cc=>this[_0x236efe(0x362)]['updateMember'](this[_0x236efe(0x19b)],_0x3d46cc));}[_0x342d1a(0x3b7)](_0x12fbda){var _0x74c266=_0x342d1a;try{const _0x59a5be=_0x12fbda[_0x74c266(0x25f)];switch(_0x59a5be[_0x74c266(0x104)]){case _0x23a47a[_0x74c266(0x13d)]:this[_0x74c266(0x24b)](_0x59a5be),this[_0x74c266(0x30f)]['next'](_0x59a5be);break;case _0x23a47a[_0x74c266(0x180)]:this['_onUserLeave'](_0x59a5be),this[_0x74c266(0x30f)][_0x74c266(0x132)](_0x59a5be);break;case _0x23a47a[_0x74c266(0x2b5)]:case _0x23a47a[_0x74c266(0x14d)]:this[_0x74c266(0x32a)](),this[_0x74c266(0xf0)](),this[_0x74c266(0x30f)][_0x74c266(0x132)](_0x59a5be);break;case _0x23a47a['MSG_FOR_ERROR']:this['_logService'][_0x74c266(0x27d)](_0x74c266(0x329)+JSON[_0x74c266(0x3b9)](_0x59a5be)),this[_0x74c266(0x30f)][_0x74c266(0x132)](_0x59a5be);break;case _0x23a47a['COMMENT_UPDATE']:this['_commentService']['onCommentUpdate'](_0x59a5be[_0x74c266(0x25f)]),this['_event$'][_0x74c266(0x132)](_0x59a5be);break;default:this['_event$'][_0x74c266(0x132)](_0x59a5be);}}catch(_0x418b29){this[_0x74c266(0x108)][_0x74c266(0x27d)](_0x418b29,_0x12fbda);}}[_0x342d1a(0x24b)](_0x2f3e16){var _0x4c9ce8=_0x342d1a;this[_0x4c9ce8(0x362)][_0x4c9ce8(0x2c1)](this[_0x4c9ce8(0x19b)],_0x2f3e16[_0x4c9ce8(0x25f)]);}[_0x342d1a(0x1d2)](_0x48d281){var _0x5be1d5=_0x342d1a;this['_memberService']['removeMember'](this[_0x5be1d5(0x19b)],_0x48d281[_0x5be1d5(0x25f)]['memberID']);}async[_0x342d1a(0x248)](_0x33ec4d,_0x3b82db){var _0x23ea43=_0x342d1a;if(this[_0x23ea43(0x309)]!==0x3||!this[_0x23ea43(0x192)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x33ec4d[_0x23ea43(0x104)]===_0x23a47a[_0x23ea43(0x162)]&&(this[_0x23ea43(0x3b1)](),this[_0x23ea43(0x367)](_0x33ec4d)),this[_0x23ea43(0x192)][_0x23ea43(0x248)]({'cmd':F[_0x23ea43(0x1bc)],'routeKey':_0x3b82db,'routeType':'','data':_0x33ec4d});}catch(_0x39a9b9){this['_logService'][_0x23ea43(0x27d)](_0x39a9b9);}}[_0x342d1a(0x3b1)](){var _0x29f3a7=_0x342d1a,_0x4bb8ff;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x33e720=_0x1d1c;this['_collaborationTimeoutTimer']=null,this[_0x33e720(0x13f)][_0x33e720(0xf6)]({'id':ne[_0x33e720(0x14a)]});},(_0x4bb8ff=this[_0x29f3a7(0x1c9)]['getConfig'](Si))!=null?_0x4bb8ff:Ei);}[_0x342d1a(0xf0)](){var _0x5528ac=_0x342d1a;this[_0x5528ac(0x32b)]&&(clearTimeout(this[_0x5528ac(0x32b)]),this[_0x5528ac(0x32b)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x36e07f){var _0x51aecf=_0x342d1a;if(!this[_0x51aecf(0x35a)])return;const {data:_0x17f863}=_0x36e07f,{unitID:_0x3c0b7c,changeset:_0x1c57e3}=_0x17f863,{mutations:_0x5629c4,type:_0x573088}=_0x1c57e3;this[_0x51aecf(0x326)]={'unitId':_0x3c0b7c,'type':_0x573088,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Vs(_0x5629c4)};}[_0x342d1a(0x32a)](){var _0x158532=_0x342d1a;if(this[_0x158532(0x35a)]){if(!this[_0x158532(0x326)]){this[_0x158532(0x108)][_0x158532(0x27d)](_0x158532(0x358),_0x158532(0xec));return;}this[_0x158532(0x326)][_0x158532(0x163)]=performance[_0x158532(0x15c)](),this[_0x158532(0x326)][_0x158532(0x22e)]=this[_0x158532(0x326)]['stopTime']-this[_0x158532(0x326)]['startTime'],this[_0x158532(0x228)][_0x158532(0x2da)](Fs,this['_telemetryInfo']),this[_0x158532(0x326)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0xacd47d=_0x342d1a;this[_0xacd47d(0x326)]=null;}};It=Js([me(0x2,_0x2b6a87),me(0x3,_0xfb9dba),me(0x4,_0x3469e4(_0x2d3476)),me(0x5,_0x3469e4(xe)),me(0x6,_0x3469e4(bi)),me(0x7,_0x3469e4(pe)),me(0x8,_0x1f0359(_0x1ae879))],It);var Xs=Object[_0x342d1a(0x3d6)],Zs=Object['getOwnPropertyDescriptor'],Qs=(_0x354f76,_0x682285,_0x3cd730,_0x1b33f7)=>{var _0x219029=_0x342d1a;for(var _0x264d57=_0x1b33f7>0x1?void 0x0:_0x1b33f7?Zs(_0x682285,_0x3cd730):_0x682285,_0xd20937=_0x354f76[_0x219029(0x176)]-0x1,_0x2a6c7b;_0xd20937>=0x0;_0xd20937--)(_0x2a6c7b=_0x354f76[_0xd20937])&&(_0x264d57=(_0x1b33f7?_0x2a6c7b(_0x682285,_0x3cd730,_0x264d57):_0x2a6c7b(_0x264d57))||_0x264d57);return _0x1b33f7&&_0x264d57&&Xs(_0x682285,_0x3cd730,_0x264d57),_0x264d57;},ge=(_0x12778d,_0x1c864)=>(_0x493133,_0x1f3f5f)=>_0x1c864(_0x493133,_0x1f3f5f,_0x12778d);let Le=class extends _0x544359{constructor(_0x793d53,_0x151632,_0x349b03,_0x28af2c,_0x4c191b,_0x11a0f9,_0x2e8260){var _0x59840=_0x342d1a;super(),N(this,_0x59840(0x3af),new _0xb9db75(void 0x0)),N(this,_0x59840(0x279),this[_0x59840(0x3af)]['asObservable']()),N(this,_0x59840(0x1d7),null),N(this,_0x59840(0x2ad),new Map()),N(this,'_status$',new _0xb9db75(Te['IDLE'])),N(this,_0x59840(0x1f9),this[_0x59840(0x396)][_0x59840(0xdf)]()),N(this,'_socketReady',!0x1),N(this,_0x59840(0x116)),N(this,_0x59840(0x24a),0x0),N(this,_0x59840(0x2f3)),N(this,_0x59840(0x1ff)),(this['_injector']=_0x793d53,this[_0x59840(0x108)]=_0x151632,this[_0x59840(0x1c9)]=_0x349b03,this[_0x59840(0x2e6)]=_0x28af2c,this[_0x59840(0x338)]=_0x4c191b,this[_0x59840(0x13f)]=_0x11a0f9,this[_0x59840(0xdb)]=_0x2e8260,this[_0x59840(0x211)]());}get['_socket'](){var _0x3925ca=_0x342d1a;return this['_socket$'][_0x3925ca(0x24f)]();}['_listenToNetworkCondition'](){var _0x5a4d12=_0x342d1a;this[_0x5a4d12(0xdb)]&&this[_0x5a4d12(0x2cf)](this[_0x5a4d12(0xdb)][_0x5a4d12(0x1fa)][_0x5a4d12(0x3a2)](_0x11e594=>{var _0x1b636c=_0x5a4d12;_0x11e594&&!this[_0x1b636c(0x192)]&&this['reconnect'](),_0x11e594||this['_onOffline']();}));}[_0x342d1a(0x112)](){var _0x2bd791=_0x342d1a;super[_0x2bd791(0x112)](),this[_0x2bd791(0x2ad)][_0x2bd791(0x385)](_0x18b385=>_0x18b385[_0x2bd791(0x112)]()),this[_0x2bd791(0x2ad)][_0x2bd791(0x106)](),this[_0x2bd791(0x396)][_0x2bd791(0x168)]();}async[_0x342d1a(0x2db)](_0x37e889){var _0x18e640=_0x342d1a;if(this['_sessions'][_0x18e640(0x334)](_0x37e889))return this['_sessions'][_0x18e640(0x10a)](_0x37e889);this['_tryEnsureSocket']();const _0x1a2785=this[_0x18e640(0x2af)][_0x18e640(0x337)](It,_0x37e889,this[_0x18e640(0x3af)][_0x18e640(0xdf)]());return this[_0x18e640(0x2ad)][_0x18e640(0x204)](_0x37e889,_0x1a2785),_0x1a2785;}[_0x342d1a(0x1a8)](_0x2e0104){var _0x5ca938=_0x342d1a,_0xd54ce1;const _0x44debe=this[_0x5ca938(0x2ad)][_0x5ca938(0x10a)](_0x2e0104);_0x44debe&&(this[_0x5ca938(0x2ad)][_0x5ca938(0xe8)](_0x2e0104),_0x44debe[_0x5ca938(0x263)]()),this[_0x5ca938(0x2ad)][_0x5ca938(0x2b2)]||(_0xd54ce1=this['_socket'])==null||_0xd54ce1['close']();}[_0x342d1a(0x3c5)](){var _0x24231c=_0x342d1a;this[_0x24231c(0x24a)]=0x0,this[_0x24231c(0x116)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x24231c(0x116)]=null),this[_0x24231c(0x252)]();}async[_0x342d1a(0x14b)](){var _0x1b4bcb=_0x342d1a,_0xe381d6,_0x312e2d,_0x312aa7;const _0x15c0cf=this['_configService'][_0x1b4bcb(0x1ed)](q),_0x20bd78=(_0xe381d6=_0x15c0cf==null?void 0x0:_0x15c0cf[_0x1b4bcb(0x32f)])!=null?_0xe381d6:Rs;return(_0x312aa7=(_0x312e2d=(await this[_0x1b4bcb(0x338)][_0x1b4bcb(0x10a)](_0x20bd78,{'headers':{'Content-Type':_0x1b4bcb(0x2c5)}}))[_0x1b4bcb(0x2d5)])==null?void 0x0:_0x312e2d['ticket'])!=null?_0x312aa7:'';}[_0x342d1a(0x19e)](_0x16e470){var _0x5730dc=_0x342d1a,_0xa7e1a3,_0x288ffa;const _0x1f88f2=this['_configService'][_0x5730dc(0x1ed)](Cs),_0x5d1a78=this[_0x5730dc(0x1c9)]['getConfig'](q),_0x100daa=(_0x288ffa=(_0xa7e1a3=_0x5d1a78==null?void 0x0:_0x5d1a78[_0x5730dc(0x379)])!=null?_0xa7e1a3:_0x1f88f2)!=null?_0x288ffa:bs,_0x1a20cc=typeof window>'u'?new URL(_0x100daa):new URL(_0x100daa,window[_0x5730dc(0x28d)][_0x5730dc(0x23a)]);_0x1a20cc[_0x5730dc(0x1cd)][_0x5730dc(0x204)](_0x5730dc(0x207),_0x16e470);const _0x3be01e=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5730dc(0x28d)][_0x5730dc(0x253)]);return _0x3be01e[_0x5730dc(0x10a)](_0x5730dc(0x185))&&_0x1a20cc[_0x5730dc(0x1cd)][_0x5730dc(0x204)]('runId',_0x3be01e[_0x5730dc(0x10a)](_0x5730dc(0x185))),_0x1a20cc['toString']();}async[_0x342d1a(0x267)](){var _0x15622a=_0x342d1a;const _0x401778=await this[_0x15622a(0x14b)](),_0x2ab667=this[_0x15622a(0x19e)](_0x401778),_0x5957fd=this[_0x15622a(0x2e6)]['createSocket'](_0x2ab667);return this[_0x15622a(0x1d7)]=_0x5957fd,_0x5957fd;}async['_tryEnsureSocket'](){var _0x115f32=_0x342d1a,_0x294c43,_0xb4d08e;try{const _0x3efd85=(_0xb4d08e=(_0x294c43=this['_socket'])!=null?_0x294c43:this[_0x115f32(0x1d7)])!=null?_0xb4d08e:await this[_0x115f32(0x267)]();if(_0x3efd85){const _0x4a2741=_0x3efd85['send'];_0x3efd85[_0x115f32(0x248)]=_0x5b26a0=>(this[_0x115f32(0x380)](),_0x4a2741[_0x115f32(0x323)](_0x3efd85,[_0x5b26a0])),_0x3efd85['message$']['subscribe'](_0x420f07=>this['_onMessage'](_0x3efd85,_0x420f07)),_0x3efd85[_0x115f32(0x258)]['pipe'](_0x21f151(0x1))[_0x115f32(0x3a2)](_0x59e9b4=>this['_logService'][_0x115f32(0x27d)](_0x115f32(0x2b3),_0x59e9b4)),_0x3efd85['open$']['pipe'](_0x21f151(0x1))[_0x115f32(0x3a2)](()=>{var _0xf72926=_0x115f32;this[_0xf72926(0x120)](_0x3efd85);}),_0x3efd85[_0x115f32(0x142)][_0x115f32(0xf5)](_0x21f151(0x1))['subscribe'](_0x1cb8c4=>{var _0x261a9d=_0x115f32;this[_0x261a9d(0x108)][_0x261a9d(0x343)]('[CollaborationSessionService]',_0x261a9d(0x146),_0x1cb8c4),this[_0x261a9d(0x19f)]();});}}catch(_0x1a0d95){this[_0x115f32(0x108)][_0x115f32(0x27d)](_0x1a0d95),this[_0x115f32(0x19f)]();}}[_0x342d1a(0x120)](_0x71f48){var _0x3c9c65=_0x342d1a;this[_0x3c9c65(0x108)][_0x3c9c65(0x343)](_0x3c9c65(0x1db),_0x3c9c65(0x220)),_0x71f48[_0x3c9c65(0x248)]({'cmd':F[_0x3c9c65(0x38e)]}),this[_0x3c9c65(0x380)]();}[_0x342d1a(0x14e)](){var _0x434b34=_0x342d1a;this[_0x434b34(0x3c0)]=!0x1,this[_0x434b34(0x1d7)]=null,this['_status$'][_0x434b34(0x132)](Te[_0x434b34(0x148)]),this['_socket$'][_0x434b34(0x132)](null),this[_0x434b34(0x246)](),this[_0x434b34(0x11c)]();}[_0x342d1a(0x19f)](){var _0xa6cb8=_0x342d1a,_0x1320ba;this[_0xa6cb8(0x14e)](),this[_0xa6cb8(0x24a)]<((_0x1320ba=this['_configService'][_0xa6cb8(0x1ed)](Ds))!=null?_0x1320ba:Ps)?(this['_collaborationUIEventService'][_0xa6cb8(0xf6)]({'id':ne['SOCKET_FAILED_RETRY']}),this[_0xa6cb8(0x252)]()):this[_0xa6cb8(0x13f)][_0xa6cb8(0xf6)]({'id':ne[_0xa6cb8(0x22a)]});}[_0x342d1a(0x252)](){var _0x450dd2=_0x342d1a,_0x4021d3;const _0x3d5b03=this['_retryCount'],_0x40913e=this[_0x450dd2(0x1c9)][_0x450dd2(0x1ed)](q),_0x303e70=_0x3d5b03===0x0?0x0:((_0x4021d3=_0x40913e==null?void 0x0:_0x40913e[_0x450dd2(0x24c)])!=null?_0x4021d3:Ns)*0x2**_0x3d5b03;this[_0x450dd2(0x116)]=setTimeout(()=>{var _0x2c974b=_0x450dd2;clearTimeout(this[_0x2c974b(0x116)]),this[_0x2c974b(0x116)]=null,this[_0x2c974b(0xfb)]();},_0x303e70),this[_0x450dd2(0x24a)]+=0x1;}[_0x342d1a(0x243)](_0x5742d8,_0xce7c75){var _0xcac3af=_0x342d1a;const {cmd:_0x326379}=_0xce7c75;_0x326379===F['HELLO']&&!this[_0xcac3af(0x3c0)]&&(_0x5742d8[_0xcac3af(0x12a)]=_0xce7c75[_0xcac3af(0x25f)][_0xcac3af(0x12a)],this[_0xcac3af(0x3af)]['next'](_0x5742d8),this[_0xcac3af(0x396)][_0xcac3af(0x132)](Te[_0xcac3af(0x3db)]),this[_0xcac3af(0x3c0)]=!0x0,this[_0xcac3af(0x1d7)]=null),_0x326379===F['HEARTBEAT']&&this[_0xcac3af(0x246)](),this[_0xcac3af(0x380)]();}[_0x342d1a(0x380)](){var _0x7c5800=_0x342d1a,_0x3127c4;this['_clearHeartbeatTimer'](),this[_0x7c5800(0x2f3)]=setTimeout(()=>this[_0x7c5800(0x291)](),(_0x3127c4=this[_0x7c5800(0x1c9)]['getConfig'](Os))!=null?_0x3127c4:ys);}[_0x342d1a(0x291)](){var _0x1d8042=_0x342d1a;this[_0x1d8042(0x192)][_0x1d8042(0x248)]({'cmd':F[_0x1d8042(0x3d3)]}),this[_0x1d8042(0x166)]();}['_waitForHeartbeatResponse'](){var _0x31f4ba=_0x342d1a,_0x2c7782;this[_0x31f4ba(0x1ff)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x2c7782=this[_0x31f4ba(0x1c9)][_0x31f4ba(0x1ed)](Si))!=null?_0x2c7782:Ei);}[_0x342d1a(0x11c)](){var _0x4a4449=_0x342d1a;this[_0x4a4449(0x2f3)]!=null&&(clearTimeout(this[_0x4a4449(0x2f3)]),this[_0x4a4449(0x2f3)]=null);}['_clearTimeoutTimer'](){var _0x19e1b3=_0x342d1a;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x19e1b3(0x1ff)]),this['_timeoutTimer']=null);}};Le=Qs([ge(0x0,_0x3469e4(_0x418715)),ge(0x1,_0x2b6a87),ge(0x2,_0xfb9dba),ge(0x3,Ci),ge(0x4,_0x3469e4(_0x2ab91c)),ge(0x5,_0x3469e4(pe)),ge(0x6,_0x1f0359(Ls))],Le);const V=[];for(let s=0x0;s<0x100;++s)V['push']((s+0x100)[_0x342d1a(0x271)](0x10)['slice'](0x1));function er(_0x44d064,_0x2d0f91=0x0){var _0x473291=_0x342d1a;return(V[_0x44d064[_0x2d0f91+0x0]]+V[_0x44d064[_0x2d0f91+0x1]]+V[_0x44d064[_0x2d0f91+0x2]]+V[_0x44d064[_0x2d0f91+0x3]]+'-'+V[_0x44d064[_0x2d0f91+0x4]]+V[_0x44d064[_0x2d0f91+0x5]]+'-'+V[_0x44d064[_0x2d0f91+0x6]]+V[_0x44d064[_0x2d0f91+0x7]]+'-'+V[_0x44d064[_0x2d0f91+0x8]]+V[_0x44d064[_0x2d0f91+0x9]]+'-'+V[_0x44d064[_0x2d0f91+0xa]]+V[_0x44d064[_0x2d0f91+0xb]]+V[_0x44d064[_0x2d0f91+0xc]]+V[_0x44d064[_0x2d0f91+0xd]]+V[_0x44d064[_0x2d0f91+0xe]]+V[_0x44d064[_0x2d0f91+0xf]])[_0x473291(0x3d8)]();}let ut;const tr=new Uint8Array(0x10);function ir(){var _0x5a790d=_0x342d1a;if(!ut){if(typeof crypto>'u'||!crypto[_0x5a790d(0x107)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');ut=crypto[_0x5a790d(0x107)]['bind'](crypto);}return ut(tr);}const sr=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x342d1a(0x35e)][_0x342d1a(0x340)](crypto),qt={'randomUUID':sr};function rr(_0x1c3c6a,_0x25bd35,_0x435f4b){var _0x4f6fd9=_0x342d1a;if(qt[_0x4f6fd9(0x35e)]&&!_0x25bd35&&!_0x1c3c6a)return qt[_0x4f6fd9(0x35e)]();_0x1c3c6a=_0x1c3c6a||{};const _0x35151f=_0x1c3c6a[_0x4f6fd9(0x2b8)]||(_0x1c3c6a[_0x4f6fd9(0x232)]||ir)();return _0x35151f[0x6]=_0x35151f[0x6]&0xf|0x40,_0x35151f[0x8]=_0x35151f[0x8]&0x3f|0x80,er(_0x35151f);}const J=_0x348012(_0x342d1a(0x135));function no(_0x43cdb5){return'unit-cache-'+_0x43cdb5;}var nr=Object[_0x342d1a(0x3d6)],or=Object[_0x342d1a(0x1eb)],ar=(_0x21a1c7,_0x4af0eb,_0x1a1f8a,_0x49a447)=>{var _0x87bd69=_0x342d1a;for(var _0xd9f6f9=_0x49a447>0x1?void 0x0:_0x49a447?or(_0x4af0eb,_0x1a1f8a):_0x4af0eb,_0xae5912=_0x21a1c7[_0x87bd69(0x176)]-0x1,_0x51fd55;_0xae5912>=0x0;_0xae5912--)(_0x51fd55=_0x21a1c7[_0xae5912])&&(_0xd9f6f9=(_0x49a447?_0x51fd55(_0x4af0eb,_0x1a1f8a,_0xd9f6f9):_0x51fd55(_0xd9f6f9))||_0xd9f6f9);return _0x49a447&&_0xd9f6f9&&nr(_0x4af0eb,_0x1a1f8a,_0xd9f6f9),_0xd9f6f9;},dt=(_0x9a2538,_0x418a45)=>(_0x539064,_0x3887f0)=>_0x418a45(_0x539064,_0x3887f0,_0x9a2538);function cr(_0x511cfc){var _0x105d69=_0x342d1a;const {unitID:_0x186e2b,mutations:_0x450e12}=_0x511cfc;return{'unitId':_0x186e2b,'subUnitId':_0x450e12[0x0][_0x105d69(0x157)][_0x105d69(0x1c0)]};}let it=class{constructor(_0x30460c,_0x117b2c,_0x2b9d88){var _0x5b356d=_0x342d1a;this[_0x5b356d(0x2af)]=_0x30460c,this['_transformService']=_0x117b2c,this[_0x5b356d(0x39c)]=_0x2b9d88;}['transformSelections'](_0x4ec703){var _0x56d0c5=_0x342d1a,_0x1247c6,_0x6657d8,_0x21438c,_0x25114d;const _0x107012=this[_0x56d0c5(0x2af)][_0x56d0c5(0x10a)](_0xbb011b),{unitId:_0x2d9100,subUnitId:_0x278030}=cr(_0x4ec703),_0x40c8c1=_0x107012==null?void 0x0:_0x107012[_0x56d0c5(0x17d)](_0x2d9100)[_0x56d0c5(0x332)](),_0x21f396=(_0x6657d8=(_0x1247c6=this[_0x56d0c5(0x39c)][_0x56d0c5(0x352)](_0x2d9100))==null?void 0x0:_0x1247c6[_0x56d0c5(0x28a)]())==null?void 0x0:_0x6657d8['getSheetId']();if(_0x40c8c1[_0x56d0c5(0x176)]===0x0||!_0x2d9100||!_0x278030)return;const _0x10944a=[{'id':_0x1caf1d['id'],'params':{'unitId':_0x2d9100,'subUnitId':_0x21f396,'selections':_0x1dc9a2[_0x56d0c5(0x22c)](_0x40c8c1)}}],_0x58edf4=this[_0x56d0c5(0x2be)][_0x56d0c5(0x18e)](_0x4ec703,_0x10944a);if(!_0x51e900(_0x58edf4))throw _0x58edf4[_0x56d0c5(0x27d)];const _0x34eed0=(_0x25114d=(_0x21438c=_0x58edf4[_0x56d0c5(0x2f2)][0x0])==null?void 0x0:_0x21438c[_0x56d0c5(0x157)])==null?void 0x0:_0x25114d[_0x56d0c5(0x141)];if(Array[_0x56d0c5(0x375)](_0x34eed0)&&_0x34eed0[_0x56d0c5(0x176)]){if(_0x34eed0['length']===_0x10944a[0x0][_0x56d0c5(0x157)][_0x56d0c5(0x141)]['length']&&_0x34eed0['every']((_0x2eaa52,_0x39eb19)=>_0xb9172b[_0x56d0c5(0x1ce)](_0x2eaa52[_0x56d0c5(0x2e9)],_0x10944a[0x0][_0x56d0c5(0x157)][_0x56d0c5(0x141)][_0x39eb19]['range'])))return;this['_injector'][_0x56d0c5(0x10a)](_0x2dafc5)['executeCommand'](_0x1caf1d['id'],{'unitId':_0x2d9100,'subUnitId':_0x21f396,'selections':_0x34eed0});}}};it=ar([dt(0x0,_0x3469e4(_0x418715)),dt(0x1,_0x1175fc),dt(0x2,_0x935257)],it);const ht=_0x348012('univer-pro.collaboration-client.single-active-unit-service');var Ri=(_0x5526cf=>(_0x5526cf[_0x5526cf[_0x342d1a(0x324)]=0x0]=_0x342d1a(0x324),_0x5526cf[_0x5526cf['OTHER_CLIENTS_EDITING']=0x1]='OTHER_CLIENTS_EDITING',_0x5526cf))(Ri||{});const hr=new Set([_0x4c402c['id']]);function zt(_0x40e78f,_0x5d4a2d,_0x4abfda,_0x252638,_0x525022){var _0x5e275c=_0x342d1a,_0x9eb4f6,_0x54f395,_0x4befad,_0x52357f;const _0x27e996=[];for(const _0x4003a9 of _0x40e78f)if(hr[_0x5e275c(0x334)](_0x4003a9['id'])){if(_0x27e996[_0x5e275c(0x176)]>0x0)break;_0x27e996[_0x5e275c(0x382)](_0x4003a9);break;}else _0x27e996[_0x5e275c(0x382)](_0x4003a9);const _0x5b86bb=(_0x54f395=(_0x9eb4f6=_0x525022[_0x5e275c(0x1c4)]())==null?void 0x0:_0x9eb4f6[_0x5e275c(0xfd)])!=null?_0x54f395:_0x5e275c(0x30a),_0x357df8=(_0x52357f=(_0x4befad=_0x525022[_0x5e275c(0x1c4)]())==null?void 0x0:_0x4befad[_0x5e275c(0x12a)])!=null?_0x52357f:_0x5e275c(0x30a);return{'changeset':{'unitID':_0x5d4a2d,'type':_0x5d78e8(_0x4abfda['getUnitType'](_0x5d4a2d)),'baseRev':_0x252638[_0x5e275c(0x339)](_0x5d4a2d),'revision':0x0,'userID':_0x5b86bb,'memberID':_0x357df8,'mutations':_0x27e996},'pendingMutations':_0x40e78f[_0x5e275c(0x1bd)](_0x27e996[_0x5e275c(0x176)])};}function _r(_0x229332,_0x45e06e,_0x234418,_0x3f867c,_0x5c105e){var _0x27e03d=_0x342d1a,_0x3efec5,_0x3ae23e,_0x54ea4e,_0xc1092c;const _0x2a0d19=[_0x229332[_0x27e03d(0x217)]((_0x2432fe,_0x4b6259)=>{var _0x19a3f2=_0x27e03d,_0x31a8a4;const {id:_0x5326bd}=_0x2432fe,{id:_0x1de642,type:_0x3b9480}=_0x4b6259,_0x5ede7b=(_0x31a8a4=_0x2432fe[_0x19a3f2(0x157)])!=null?_0x31a8a4:{'actions':null},_0x421e94=_0x4b6259[_0x19a3f2(0x157)];if(_0x5326bd&&_0x5326bd!==_0x1de642)throw new Error(_0x19a3f2(0x1b3)+_0x5326bd+_0x19a3f2(0x1ae)+_0x1de642+'.');return{..._0x2432fe,'id':_0x1de642,'type':_0x3b9480,'params':{'unitId':_0x421e94[_0x19a3f2(0x39a)],'textRanges':_0x421e94[_0x19a3f2(0x1c1)],'actions':_0x54d9dc['compose'](_0x5ede7b[_0x19a3f2(0x1b0)],_0x421e94[_0x19a3f2(0x1b0)])}};},{})],_0x4ad92f=(_0x3ae23e=(_0x3efec5=_0x5c105e[_0x27e03d(0x1c4)]())==null?void 0x0:_0x3efec5[_0x27e03d(0xfd)])!=null?_0x3ae23e:_0x27e03d(0x30a),_0x37b07f=(_0xc1092c=(_0x54ea4e=_0x5c105e[_0x27e03d(0x1c4)]())==null?void 0x0:_0x54ea4e['memberID'])!=null?_0xc1092c:'unknown';return{'changeset':{'unitID':_0x45e06e,'type':_0x5d78e8(_0x234418['getUnitType'](_0x45e06e)),'baseRev':_0x3f867c[_0x27e03d(0x339)](_0x45e06e),'revision':0x0,'userID':_0x4ad92f,'memberID':_0x37b07f,'mutations':_0x2a0d19},'pendingMutations':[]};}function Oi(_0x4226b7,_0x3dc2ab){var _0x5b647d=_0x342d1a;const _0x32c25b=new _0x3a383a(0x1);return setTimeout(()=>_0x32c25b['next'](_0x3dc2ab),_0x4226b7),_0x32c25b['asObservable']()[_0x5b647d(0xf5)](_0x20c734(0x1));}const lr={'id':_0x26963a['id'],'type':_0x10c214[_0x342d1a(0x304)],'params':{}};var ur=Object['defineProperty'],dr=Object['getOwnPropertyDescriptor'],be=(_0xf9a84d,_0x46c0ed,_0x174aee,_0x389791)=>{var _0x153ca0=_0x342d1a;for(var _0x553ead=_0x389791>0x1?void 0x0:_0x389791?dr(_0x46c0ed,_0x174aee):_0x46c0ed,_0xc543fc=_0xf9a84d[_0x153ca0(0x176)]-0x1,_0x1bdb4b;_0xc543fc>=0x0;_0xc543fc--)(_0x1bdb4b=_0xf9a84d[_0xc543fc])&&(_0x553ead=(_0x389791?_0x1bdb4b(_0x46c0ed,_0x174aee,_0x553ead):_0x1bdb4b(_0x553ead))||_0x553ead);return _0x389791&&_0x553ead&&ur(_0x46c0ed,_0x174aee,_0x553ead),_0x553ead;},A=(_0x1db7c,_0x986ef5)=>(_0x51f2c4,_0x38aa1c)=>_0x986ef5(_0x51f2c4,_0x38aa1c,_0x1db7c),yi=(_0x241856=>(_0x241856['NOT_COLLAB']=_0x342d1a(0x2cc),_0x241856[_0x342d1a(0x18a)]=_0x342d1a(0x127),_0x241856[_0x342d1a(0x1a3)]=_0x342d1a(0x14f),_0x241856[_0x342d1a(0x376)]=_0x342d1a(0x286),_0x241856[_0x342d1a(0x27f)]=_0x342d1a(0x287),_0x241856[_0x342d1a(0x1a5)]='fetch_missing',_0x241856[_0x342d1a(0x149)]=_0x342d1a(0x2f0),_0x241856[_0x342d1a(0x148)]=_0x342d1a(0x30c),_0x241856))(yi||{});const Ni=0xea60;class Re{constructor(_0x10f936,_0x2074a8,_0x238428,_0x219bea,_0x4427d2,_0x57513b,_0x49ba0b,_0x3a4463,_0x4712e1){var _0x203086=_0x342d1a;N(this,_0x203086(0x1a9),null),N(this,_0x203086(0x26d),[]),(this['unitID']=_0x10f936,this[_0x203086(0x208)]=_0x2074a8,this[_0x203086(0x101)]=_0x4427d2,this[_0x203086(0x38d)]=_0x57513b,this[_0x203086(0x293)]=_0x49ba0b,this[_0x203086(0xe6)]=_0x3a4463,this[_0x203086(0x27e)]=_0x4712e1,this[_0x203086(0x1a9)]=_0x238428,this['_pendingMutations']=_0x219bea);}[_0x342d1a(0x28b)](_0x4a4784){var _0x32b2e6=_0x342d1a;const _0x19a424=this[_0x32b2e6(0xe6)][_0x32b2e6(0x339)](this['unitID']);return _0x4a4784[_0x32b2e6(0x37c)]>_0x19a424+0x1?(this[_0x32b2e6(0x101)][_0x32b2e6(0x200)]({'from':_0x19a424,'to':_0x4a4784[_0x32b2e6(0x37c)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x390b4c){var _0xf7a971=_0x342d1a;this['_undoRedoService'][_0xf7a971(0x174)](this[_0xf7a971(0x34a)],_0x390b4c);}[_0x342d1a(0x221)](_0x813145){var _0x26c156=_0x342d1a,_0x224f87,_0x460012;(_0x460012=(_0x224f87=this[_0x26c156(0x101)])[_0x26c156(0x354)])==null||_0x460012[_0x26c156(0x35f)](_0x224f87,_0x813145);}['_transformIMECache'](_0x52a71b){var _0x3ddcf3=_0x342d1a,_0x4a51a4,_0x50c19b;return(_0x50c19b=(_0x4a51a4=this[_0x3ddcf3(0x101)])[_0x3ddcf3(0x1aa)])==null?void 0x0:_0x50c19b[_0x3ddcf3(0x35f)](_0x4a51a4,_0x52a71b);}[_0x342d1a(0x25c)](_0x2a19e6){var _0x588645=_0x342d1a,_0x49fd5f,_0x27633a;return(_0x27633a=(_0x49fd5f=this[_0x588645(0x101)])['onTransformState'])==null?void 0x0:_0x27633a[_0x588645(0x35f)](_0x49fd5f,_0x2a19e6);}[_0x342d1a(0x314)](_0x2d2423){var _0x2cba05=_0x342d1a,_0x674728,_0x40df62,_0x147ac5;return(_0x147ac5=(_0x40df62=(_0x674728=this[_0x2cba05(0x101)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x40df62[_0x2cba05(0x35f)](_0x674728,_0x2d2423))!=null?_0x147ac5:_0x2d2423;}[_0x342d1a(0x2b9)](_0x5a01e5){var _0x5d25a7=_0x342d1a,_0x3a0fe8,_0x1166c6,_0x22cf44;return(_0x22cf44=(_0x1166c6=(_0x3a0fe8=this[_0x5d25a7(0x101)])[_0x5d25a7(0x261)])==null?void 0x0:_0x1166c6[_0x5d25a7(0x35f)](_0x3a0fe8,_0x5a01e5))!=null?_0x22cf44:_0x5a01e5;}[_0x342d1a(0x2a6)](_0x191900){var _0x1a6491=_0x342d1a,_0x55c824,_0x40525b;if(this[_0x1a6491(0x208)]===Q[_0x1a6491(0x10b)]){const {unitID:_0x109ee0,mutations:_0x3c9ccb,memberID:_0x5baabc}=_0x191900,_0x56fc50=_0x3c9ccb[0x0][_0x1a6491(0x157)][_0x1a6491(0x1c1)];Array[_0x1a6491(0x375)](_0x56fc50)&&_0x56fc50[_0x1a6491(0x176)]>0x0&&((_0x40525b=(_0x55c824=this[_0x1a6491(0x101)])['onSyncEditingCollabCursor'])==null||_0x40525b[_0x1a6491(0x35f)](_0x55c824,{'unitID':_0x109ee0,'memberID':_0x5baabc,'textRanges':_0x56fc50}));}}['_updateLocalCache'](){var _0x2949ce=_0x342d1a,_0x420050;(_0x420050=this[_0x2949ce(0x27e)])==null||_0x420050[_0x2949ce(0x39f)](this[_0x2949ce(0x34a)],this['type'],this[_0x2949ce(0x1a9)],this[_0x2949ce(0x26d)]);}[_0x342d1a(0x27c)](){var _0x389684=_0x342d1a;return this[_0x389684(0xe6)][_0x389684(0x339)](this[_0x389684(0x34a)]);}[_0x342d1a(0xf4)](){var _0x293241=_0x342d1a;this[_0x293241(0xe6)][_0x293241(0xe4)](this[_0x293241(0x34a)]);}['_executeRemoteChangeset'](_0xe65cab){var _0x5a8fc2=_0x342d1a,_0x4acf55;let _0x521422=this[_0x5a8fc2(0x314)](_0xe65cab);_0x521422=this[_0x5a8fc2(0x2b9)](_0x521422);const _0x48d329=_0x3be691(_0x521422[_0x5a8fc2(0x3bd)],this[_0x5a8fc2(0x38d)],{'fromCollab':!0x0});if(!_0x48d329[_0x5a8fc2(0x23e)])throw _0x48d329[_0x5a8fc2(0x27d)]instanceof Error?_0x48d329[_0x5a8fc2(0x27d)]:new Error((_0x4acf55=_0x48d329[_0x5a8fc2(0x27d)])!=null?_0x4acf55:_0x5a8fc2(0x10c));this['_transformIMECache'](_0x521422),this[_0x5a8fc2(0x25c)](_0x521422),this[_0x5a8fc2(0x3b3)](_0xe65cab),this[_0x5a8fc2(0x221)](_0x521422),this[_0x5a8fc2(0x2a6)](_0x521422),this['_incrementRevisionNumber']();}}let De=class extends Re{constructor(_0x296cc3,_0x18067e,_0x41ab83,_0x22c959,_0x2f1606,_0x5c6a51,_0xa32ed1,_0x52ecd9,_0x40cb76,_0x4a029d){var _0x57ceaa=_0x342d1a;super(_0x296cc3,_0x18067e,null,[],_0x41ab83,_0xa32ed1,_0x5c6a51,_0x22c959,_0x4a029d),N(this,'status',_0x57ceaa(0x127)),(this['_injector']=_0x2f1606,this[_0x57ceaa(0x108)]=_0x52ecd9,this[_0x57ceaa(0x2be)]=_0x40cb76,this[_0x57ceaa(0x11b)]=_0x4a029d);}['appendMutation'](_0x15d947){var _0x1ff293=_0x342d1a;const _0x3b0430=this[_0x1ff293(0x2af)][_0x1ff293(0x337)](oe,this[_0x1ff293(0x34a)],this[_0x1ff293(0x208)],[_0x15d947],this[_0x1ff293(0x101)]);return _0x3b0430[_0x1ff293(0x1c3)](),_0x3b0430['_updateLocalCache'](),_0x3b0430;}[_0x342d1a(0x13e)](_0x9e82d5){var _0x2263fb=_0x342d1a;if(this[_0x2263fb(0x28b)](_0x9e82d5))return this['_injector'][_0x2263fb(0x337)](te,this[_0x2263fb(0x34a)],this['type'],null,[],null,[_0x9e82d5],this[_0x2263fb(0x101)]);try{const _0x1fe7e3=this[_0x2263fb(0x2be)][_0x2263fb(0x18e)](_0x9e82d5,[lr]);if(_0x51e900(_0x1fe7e3)){const {c1Prime:_0x3690f2}=_0x1fe7e3;return this['_executeRemoteChangeset'](_0x3690f2),this;}throw _0x1fe7e3['error'];}catch(_0x161781){return this[_0x2263fb(0x108)]['error'](_0x161781),this[_0x2263fb(0x31f)](!0x1);}}[_0x342d1a(0x31f)](_0x2e770d){var _0x5bf765=_0x342d1a;return this[_0x5bf765(0x2af)][_0x5bf765(0x337)](de,this['unitID'],this[_0x5bf765(0x208)],null,[],this[_0x5bf765(0x101)],_0x2e770d);}[_0x342d1a(0x33a)](){var _0xa9c1e6=_0x342d1a;throw new Error(_0xa9c1e6(0x2b0));}['onRemoteRej'](){var _0x27ca48=_0x342d1a;throw new Error(_0x27ca48(0x2b4));}[_0x342d1a(0x11a)](){return this;}[_0x342d1a(0x269)](){var _0x4de16a=_0x342d1a;return this[_0x4de16a(0x2af)][_0x4de16a(0x337)](fe,this[_0x4de16a(0x34a)],this[_0x4de16a(0x208)],null,[],this['_handler']);}[_0x342d1a(0x1d4)](){return this;}[_0x342d1a(0x170)](){var _0x4afc20=_0x342d1a;throw new Error(_0x4afc20(0x1de));}[_0x342d1a(0x3ae)](){var _0x5ee25a=_0x342d1a;const _0x52e00f=this[_0x5ee25a(0xe6)][_0x5ee25a(0x339)](this[_0x5ee25a(0x34a)]);return this[_0x5ee25a(0x101)][_0x5ee25a(0x200)]({'from':_0x52e00f,'to':0x0}),this[_0x5ee25a(0x2af)][_0x5ee25a(0x337)](te,this['unitID'],this[_0x5ee25a(0x208)],null,[],null,[],this[_0x5ee25a(0x101)]);}};De=be([A(0x3,_0x3469e4(_0x4d5a5d)),A(0x4,_0x3469e4(_0x418715)),A(0x5,_0x165976),A(0x6,_0x2dafc5),A(0x7,_0x2b6a87),A(0x8,_0x1175fc),A(0x9,_0x1f0359(J))],De);let oe=class extends Re{constructor(_0x25ec10,_0x487d45,_0x18a06a,_0x144814,_0x393b99,_0x25f1ac,_0x540704,_0x31321e,_0x22ef7c,_0x76462,_0x313a05,_0x398615,_0x36e9fe,_0x367f14){var _0x13f0ce=_0x342d1a;super(_0x25ec10,_0x487d45,null,_0x18a06a,_0x144814,_0x22ef7c,_0x36e9fe,_0x25f1ac,_0x367f14),N(this,_0x13f0ce(0x288),'pending'),N(this,_0x13f0ce(0x3ab),null),N(this,'_sendingTimer',null),(this[_0x13f0ce(0x2af)]=_0x393b99,this['_memberService']=_0x540704,this[_0x13f0ce(0x108)]=_0x31321e,this[_0x13f0ce(0x1c9)]=_0x76462,this[_0x13f0ce(0x2be)]=_0x313a05,this[_0x13f0ce(0x254)]=_0x398615);}['appendMutation'](_0x5274db){var _0x1bd9c0=_0x342d1a;return this[_0x1bd9c0(0x26d)]['push'](_0x5274db),this[_0x1bd9c0(0x3c7)](),this;}[_0x342d1a(0x13e)](_0x19c994){var _0x303c63=_0x342d1a;if(this[_0x303c63(0x28b)](_0x19c994))return this[_0x303c63(0x328)](),this[_0x303c63(0x2af)]['createInstance'](te,this[_0x303c63(0x34a)],this[_0x303c63(0x208)],null,this[_0x303c63(0x26d)],null,[_0x19c994],this[_0x303c63(0x101)]);try{const _0x50b28e=this['_transformService'][_0x303c63(0x18e)](_0x19c994,this[_0x303c63(0x26d)]);if(_0x51e900(_0x50b28e)){const {c1Prime:_0x54ae86,m2Prime:_0x35be33}=_0x50b28e;this['_executeRemoteChangeset'](_0x54ae86);const _0x9a260c=this[_0x303c63(0x2af)][_0x303c63(0x337)](oe,this[_0x303c63(0x34a)],this[_0x303c63(0x208)],_0x35be33,this[_0x303c63(0x101)]);this[_0x303c63(0x328)]();const _0x21de50=new Date()['getTime'](),_0x2757d1=this[_0x303c63(0x3ab)]?Math[_0x303c63(0x128)](this[_0x303c63(0x3ab)]-_0x21de50,0x0):this[_0x303c63(0x2e5)]();return _0x9a260c[_0x303c63(0x1c3)](_0x2757d1),_0x9a260c;}throw _0x50b28e[_0x303c63(0x27d)];}catch(_0x593d2f){return this[_0x303c63(0x108)]['error'](_0x593d2f),this[_0x303c63(0x31f)](!0x1);}}[_0x342d1a(0x33a)](){var _0x946c6b=_0x342d1a;throw new Error(_0x946c6b(0x1be));}[_0x342d1a(0x1f6)](){var _0x1e5852=_0x342d1a;throw new Error(_0x1e5852(0x171));}['onRemoteRetry'](){return this;}[_0x342d1a(0x269)](){var _0x1098f0=_0x342d1a;return this[_0x1098f0(0x328)](),this[_0x1098f0(0x2af)][_0x1098f0(0x337)](fe,this[_0x1098f0(0x34a)],this['type'],null,this['_pendingMutations'],this[_0x1098f0(0x101)]);}[_0x342d1a(0x1d4)](){return this;}[_0x342d1a(0x1c3)](_0x53e31d){var _0x1e248c=_0x342d1a;const _0x331774=_0x53e31d!=null?_0x53e31d:this['_getSendChangesetTimeout']();this[_0x1e248c(0x3ab)]=new Date()[_0x1e248c(0x194)]()+_0x331774,this['_sendingTimer']=setTimeout(()=>{var _0x3ea073=_0x1e248c;this[_0x3ea073(0x328)]();let _0x4099c3=null;switch(this[_0x3ea073(0x208)]){case Q['UNIVER_SHEET']:{_0x4099c3=zt(this[_0x3ea073(0x26d)],this[_0x3ea073(0x34a)],this[_0x3ea073(0x254)],this['_revisionService'],this[_0x3ea073(0x362)]);break;}case Q[_0x3ea073(0x10b)]:{this[_0x3ea073(0x26d)][_0x3ea073(0x136)](_0x5a6200=>_0x5a6200['id']===_0x45f2b4['id'])?_0x4099c3=_r(this['_pendingMutations'],this[_0x3ea073(0x34a)],this[_0x3ea073(0x254)],this['_revisionService'],this['_memberService']):_0x4099c3=zt(this['_pendingMutations'],this[_0x3ea073(0x34a)],this['_univerInstanceService'],this[_0x3ea073(0xe6)],this[_0x3ea073(0x362)]);break;}default:throw new Error(_0x3ea073(0x122)+this[_0x3ea073(0x208)]+'\x20in\x20_schedule.');}const {changeset:_0x158ee6,pendingMutations:_0x3067f8}=_0x4099c3;this[_0x3ea073(0x101)][_0x3ea073(0x25d)](_0x158ee6);const _0x2e8fba=_0x3067f8[_0x3ea073(0x176)]?this['_injector'][_0x3ea073(0x337)](ae,this[_0x3ea073(0x34a)],this[_0x3ea073(0x208)],_0x158ee6,_0x3067f8,this[_0x3ea073(0x101)],void 0x0):this['_injector'][_0x3ea073(0x337)](ue,this[_0x3ea073(0x34a)],this[_0x3ea073(0x208)],_0x158ee6,this[_0x3ea073(0x101)]);_0x2e8fba['_updateLocalCache'](),this[_0x3ea073(0x101)][_0x3ea073(0x18b)](this,_0x2e8fba);},_0x331774);}[_0x342d1a(0x2e5)](){var _0x27e24a=_0x342d1a,_0x4add91;const _0x51cc3d=this[_0x27e24a(0x1c9)][_0x27e24a(0x1ed)](q);return(_0x4add91=_0x51cc3d==null?void 0x0:_0x51cc3d[_0x27e24a(0x182)])!=null?_0x4add91:Ts;}[_0x342d1a(0x170)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x342d1a(0x328)](){var _0xff8a4b=_0x342d1a;this[_0xff8a4b(0x21e)]!=null&&(clearTimeout(this[_0xff8a4b(0x21e)]),this[_0xff8a4b(0x21e)]=null);}[_0x342d1a(0x31f)](_0x5639c6){var _0x4076a5=_0x342d1a;return this[_0x4076a5(0x328)](),this[_0x4076a5(0x2af)]['createInstance'](de,this[_0x4076a5(0x34a)],this[_0x4076a5(0x208)],null,this[_0x4076a5(0x26d)],this['_handler'],_0x5639c6);}};oe=be([A(0x4,_0x3469e4(_0x418715)),A(0x5,_0x3469e4(_0x4d5a5d)),A(0x6,_0x3469e4(xe)),A(0x7,_0x2b6a87),A(0x8,_0x2dafc5),A(0x9,_0xfb9dba),A(0xa,_0x1175fc),A(0xb,_0x935257),A(0xc,_0x165976),A(0xd,_0x1f0359(J))],oe);let ue=class extends Re{constructor(_0x203093,_0x413b37,_0x56be81,_0x3ccdb8,_0x48082a,_0x39562e,_0x27771e,_0x450ebc,_0x1ebc6e,_0x45d7f3,_0x27eda9){var _0x3182d4=_0x342d1a;super(_0x203093,_0x413b37,_0x56be81,[],_0x3ccdb8,_0x27771e,_0x45d7f3,_0x39562e,_0x27eda9),N(this,_0x3182d4(0x288),_0x3182d4(0x286)),N(this,_0x3182d4(0x129),0x0),N(this,'_resendTimer'),N(this,_0x3182d4(0x282)),(this[_0x3182d4(0x2af)]=_0x48082a,this[_0x3182d4(0x108)]=_0x450ebc,this[_0x3182d4(0x2be)]=_0x1ebc6e);}['appendMutation'](_0x371375){var _0x1e9b9a=_0x342d1a;this[_0x1e9b9a(0x328)]();const _0x3c40ad=this[_0x1e9b9a(0x2af)][_0x1e9b9a(0x337)](ae,this[_0x1e9b9a(0x34a)],this['type'],this['_awaitingChangeset'],[_0x371375],this[_0x1e9b9a(0x101)],this[_0x1e9b9a(0x3a1)]);return _0x3c40ad[_0x1e9b9a(0x3c7)](),_0x3c40ad;}['onRemoteChangeset'](_0x33c4cb){var _0x4bde99=_0x342d1a;if(this[_0x4bde99(0x28b)](_0x33c4cb))return this[_0x4bde99(0x328)](),this['_injector'][_0x4bde99(0x337)](te,this[_0x4bde99(0x34a)],this[_0x4bde99(0x208)],this[_0x4bde99(0x1a9)],[],null,[_0x33c4cb],this[_0x4bde99(0x101)]);try{const _0x231094=this[_0x4bde99(0x2be)]['transformChangesets']([_0x33c4cb],[this[_0x4bde99(0x1a9)]],!0x1);if(_0xb1fff6(_0x231094)){const {c1Prime:_0x5c9640,c2Prime:_0xaa3c57}=_0x231094;this[_0x4bde99(0x138)](_0x5c9640[0x0]),_0xaa3c57[0x0][_0x4bde99(0x369)]=this['_getCurrentRevision'](),this[_0x4bde99(0x328)]();const _0x22e93f=this[_0x4bde99(0x2af)][_0x4bde99(0x337)](ue,this[_0x4bde99(0x34a)],this[_0x4bde99(0x208)],_0xaa3c57[0x0],this['_handler']);return _0x22e93f[_0x4bde99(0x3c7)](),_0x22e93f;}return this['_onConflict'](!0x1);}catch(_0xac2675){return this[_0x4bde99(0x108)][_0x4bde99(0x27d)](_0xac2675),this[_0x4bde99(0x31f)](!0x1);}}['onRemoteAck'](_0x51a360){var _0x3272cb=_0x342d1a;this[_0x3272cb(0x328)]();const _0xbb382e=this[_0x3272cb(0xe6)][_0x3272cb(0x339)](this[_0x3272cb(0x34a)]);if(_0x51a360[_0x3272cb(0x37c)]<_0xbb382e-0x1)return this;if(this['_checkMissing'](_0x51a360))return this['_injector']['createInstance'](te,this[_0x3272cb(0x34a)],this['type'],null,[],this['_awaitingChangeset'],[],this['_handler']);this[_0x3272cb(0xf4)]();const _0x21b226=this[_0x3272cb(0x2af)][_0x3272cb(0x337)](De,this[_0x3272cb(0x34a)],this[_0x3272cb(0x208)],this[_0x3272cb(0x101)]);return _0x21b226[_0x3272cb(0x3c7)](),_0x21b226;}[_0x342d1a(0x1f6)](_0xd704f9){var _0x15165d=_0x342d1a;return this['_onConflict'](!!(_0xd704f9!=null&&_0xd704f9[_0x15165d(0x18f)]));}[_0x342d1a(0x11a)](_0xfeb9b6){var _0x5e45b5=_0x342d1a;return this[_0x5e45b5(0x129)]>Ni?this['toggleOffline']():(this[_0x5e45b5(0x3a1)]=Oi(this[_0x5e45b5(0x129)],{'timeout':this[_0x5e45b5(0x129)],'reqId':_0xfeb9b6['reqId']}),this[_0x5e45b5(0x282)]=this[_0x5e45b5(0x3a1)]['subscribe'](({reqId:_0x286fd2,timeout:_0x4a5816})=>{var _0x4e9ba3=_0x5e45b5;this[_0x4e9ba3(0x3e3)](_0x286fd2,_0x4a5816);}),this);}[_0x342d1a(0x269)](){var _0x4214ee=_0x342d1a;return this[_0x4214ee(0x328)](),this[_0x4214ee(0x2af)][_0x4214ee(0x337)](fe,this[_0x4214ee(0x34a)],this[_0x4214ee(0x208)],this[_0x4214ee(0x1a9)],[],this[_0x4214ee(0x101)]);}[_0x342d1a(0x1d4)](){return this;}[_0x342d1a(0x170)](){var _0x40e324=_0x342d1a;this['_handler'][_0x40e324(0x25d)](this[_0x40e324(0x1a9)]);}['_onConflict'](_0x400d32){var _0x96a1ac=_0x342d1a;return this[_0x96a1ac(0x328)](),this[_0x96a1ac(0x2af)]['createInstance'](de,this[_0x96a1ac(0x34a)],this[_0x96a1ac(0x208)],this[_0x96a1ac(0x1a9)],[],this[_0x96a1ac(0x101)],_0x400d32);}[_0x342d1a(0x3e3)](_0x19c65d,_0x58061a){var _0x31c927=_0x342d1a,_0x433d04;_0x19c65d===((_0x433d04=this[_0x31c927(0x1a9)])==null?void 0x0:_0x433d04[_0x31c927(0x153)])&&(this['resend'](),this[_0x31c927(0x129)]=_0x58061a===0x0?0x3e8:_0x58061a*0x2);}[_0x342d1a(0x328)](){var _0x124e03=_0x342d1a,_0x16faa1;(_0x16faa1=this[_0x124e03(0x282)])==null||_0x16faa1[_0x124e03(0x1b6)](),this[_0x124e03(0x129)]=0x0;}};ue=be([A(0x4,_0x3469e4(_0x418715)),A(0x5,_0x3469e4(_0x4d5a5d)),A(0x6,_0x2dafc5),A(0x7,_0x2b6a87),A(0x8,_0x1175fc),A(0x9,_0x165976),A(0xa,_0x1f0359(J))],ue);let ae=class extends Re{constructor(_0x1fa9bd,_0x2ec040,_0x5d83a9,_0x26e873,_0x31181e,_0x3e1d47,_0x5bf1e6,_0x51479b,_0xb2fdf2,_0x15be6d,_0x417eb9,_0x23556b,_0x2bbfbe){var _0x523497=_0x342d1a;super(_0x1fa9bd,_0x2ec040,_0x5d83a9,_0x26e873,_0x31181e,_0xb2fdf2,_0x23556b,_0x51479b,_0x2bbfbe),N(this,_0x523497(0x288),_0x523497(0x287)),N(this,_0x523497(0x129),0x0),N(this,'_resendTimer'),N(this,_0x523497(0x282)),(this[_0x523497(0x2af)]=_0x5bf1e6,this['_logService']=_0x15be6d,this[_0x523497(0x2be)]=_0x417eb9,this[_0x523497(0x11b)]=_0x2bbfbe,_0x3e1d47&&(this['_resendTimer']=_0x3e1d47,this[_0x523497(0x282)]=this[_0x523497(0x3a1)]['subscribe'](({reqId:_0xd9de8d,timeout:_0x190721})=>{var _0x587d37=_0x523497;this[_0x587d37(0x3e3)](_0xd9de8d,_0x190721);})));}['appendMutation'](_0x487e3a){var _0x444046=_0x342d1a;return this['_pendingMutations'][_0x444046(0x382)](_0x487e3a),this;}[_0x342d1a(0x13e)](_0x2fb952){var _0x159b1a=_0x342d1a;if(this['_checkMissing'](_0x2fb952))return this[_0x159b1a(0x328)](),this['_injector'][_0x159b1a(0x337)](te,this[_0x159b1a(0x34a)],this[_0x159b1a(0x208)],this[_0x159b1a(0x1a9)],this[_0x159b1a(0x26d)],null,[_0x2fb952],this[_0x159b1a(0x101)]);try{const _0x4ebc2d=this['_transformService'][_0x159b1a(0x223)]([_0x2fb952],[this[_0x159b1a(0x1a9)]],!0x1);if(_0xb1fff6(_0x4ebc2d)){const {c1Prime:_0x34e84c,c2Prime:_0x2a046a}=_0x4ebc2d,_0x17e5fc=this['_transformService'][_0x159b1a(0x18e)](_0x34e84c[0x0],this[_0x159b1a(0x26d)]);if(_0x51e900(_0x17e5fc)){const {c1Prime:_0x462615,m2Prime:_0x259b66}=_0x17e5fc;return this[_0x159b1a(0x138)](_0x462615),_0x2a046a[0x0][_0x159b1a(0x369)]=this['_getCurrentRevision'](),this[_0x159b1a(0x328)](),this[_0x159b1a(0x2af)][_0x159b1a(0x337)](ae,this[_0x159b1a(0x34a)],this['type'],_0x2a046a[0x0],_0x259b66,this[_0x159b1a(0x101)],void 0x0);}throw _0x17e5fc[_0x159b1a(0x27d)];}throw _0x4ebc2d[_0x159b1a(0x27d)];}catch(_0x1b1d52){return this[_0x159b1a(0x108)][_0x159b1a(0x27d)](_0x1b1d52),this[_0x159b1a(0x31f)](!0x1);}}[_0x342d1a(0x33a)](_0x4a503e){var _0x30948f=_0x342d1a;if(this[_0x30948f(0x328)](),this['_checkMissing'](_0x4a503e))return this[_0x30948f(0x2af)][_0x30948f(0x337)](te,this[_0x30948f(0x34a)],this['type'],null,this['_pendingMutations'],this['_awaitingChangeset'],[],this[_0x30948f(0x101)]);this[_0x30948f(0xf4)]();const _0x28235a=this['_injector'][_0x30948f(0x337)](oe,this['unitID'],this[_0x30948f(0x208)],this[_0x30948f(0x26d)],this['_handler']);return _0x28235a[_0x30948f(0x1c3)](),_0x28235a[_0x30948f(0x3c7)](),_0x28235a;}[_0x342d1a(0x1f6)](_0x566535){var _0x4a8e7f=_0x342d1a;return this['_onConflict'](!!(_0x566535!=null&&_0x566535[_0x4a8e7f(0x18f)]));}[_0x342d1a(0x11a)](_0x590453){var _0x6dcd7=_0x342d1a;return this['_resendTimeout']>Ni?this['toggleOffline']():(this['_resendTimer']=Oi(this['_resendTimeout'],{'timeout':this[_0x6dcd7(0x129)],'reqId':_0x590453['reqId']}),this[_0x6dcd7(0x282)]=this[_0x6dcd7(0x3a1)][_0x6dcd7(0x3a2)](({reqId:_0x4facb4,timeout:_0x3dfeb2})=>{var _0x474fbe=_0x6dcd7;this[_0x474fbe(0x3e3)](_0x4facb4,_0x3dfeb2);}),this);}[_0x342d1a(0x269)](){var _0x46a966=_0x342d1a;return this[_0x46a966(0x328)](),this['_injector'][_0x46a966(0x337)](fe,this['unitID'],this[_0x46a966(0x208)],this[_0x46a966(0x1a9)],this[_0x46a966(0x26d)],this['_handler']);}[_0x342d1a(0x1d4)](){return this;}[_0x342d1a(0x170)](){var _0xbb1c1f=_0x342d1a;this[_0xbb1c1f(0x101)][_0xbb1c1f(0x25d)](this[_0xbb1c1f(0x1a9)]);}[_0x342d1a(0x31f)](_0x115aef){var _0x54118e=_0x342d1a;return this[_0x54118e(0x328)](),this[_0x54118e(0x2af)][_0x54118e(0x337)](de,this['unitID'],this[_0x54118e(0x208)],null,this['_pendingMutations'],this[_0x54118e(0x101)],_0x115aef);}[_0x342d1a(0x3e3)](_0x1d3714,_0x5ad32a){var _0x5818c2=_0x342d1a,_0x18874b;_0x1d3714===((_0x18874b=this['_awaitingChangeset'])==null?void 0x0:_0x18874b['reqId'])&&(this[_0x5818c2(0x170)](),this[_0x5818c2(0x129)]=_0x5ad32a===0x0?0x3e8:_0x5ad32a*0x2);}[_0x342d1a(0x328)](){var _0x1fbee5=_0x342d1a,_0x3b7e96;(_0x3b7e96=this[_0x1fbee5(0x282)])==null||_0x3b7e96['unsubscribe'](),this[_0x1fbee5(0x129)]=0x0;}};ae=be([A(0x6,_0x3469e4(_0x418715)),A(0x7,_0x3469e4(_0x4d5a5d)),A(0x8,_0x2dafc5),A(0x9,_0x2b6a87),A(0xa,_0x1175fc),A(0xb,_0x165976),A(0xc,_0x1f0359(J))],ae);let de=class extends Re{constructor(_0x44ba75,_0x444d7,_0x25b03f,_0x39c1ff,_0x3a88fb,_0x207b29=!0x1,_0x27e3a9,_0x34e815,_0xceafac,_0x209710,_0x86e72d,_0x24373a,_0x193e25){var _0x592cbb=_0x342d1a;super(_0x44ba75,_0x444d7,_0x25b03f,_0x39c1ff,_0x3a88fb,_0x34e815,_0xceafac,_0x209710,_0x193e25),N(this,_0x592cbb(0x288),'conflict'),(this[_0x592cbb(0x33b)]=_0x207b29,this['_permissionService']=_0x27e3a9,this[_0x592cbb(0x18d)]=_0x86e72d,this[_0x592cbb(0x13f)]=_0x24373a,this[_0x592cbb(0x11b)]=_0x193e25,this[_0x592cbb(0x308)](),this['_clearLocalCache'](),this[_0x592cbb(0x321)]());}[_0x342d1a(0x34d)](){return this;}['onRemoteChangeset'](){return this;}[_0x342d1a(0x33a)](){return this;}[_0x342d1a(0x1f6)](){return this;}[_0x342d1a(0x11a)](){return this;}['toggleOffline'](){return this;}[_0x342d1a(0x1d4)](){return this;}[_0x342d1a(0x170)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){var _0x37af29=_0x342d1a,_0x4af3a1;(_0x4af3a1=this[_0x37af29(0x27e)])==null||_0x4af3a1[_0x37af29(0x39f)](this[_0x37af29(0x34a)],this[_0x37af29(0x208)],null,[]);}[_0x342d1a(0x308)](){var _0x1566c7=_0x342d1a;this[_0x1566c7(0x33b)]?this[_0x1566c7(0x13f)][_0x1566c7(0xf6)]({'id':ne[_0x1566c7(0x1c6)]}):this[_0x1566c7(0x13f)][_0x1566c7(0xf6)]({'id':ne[_0x1566c7(0x149)]});}[_0x342d1a(0x321)](){var _0x57acd5=_0x342d1a;this[_0x57acd5(0x36a)][_0x57acd5(0x3be)](new _0x480994(this['unitID'])['id'],!0x1);}};de=be([A(0x6,_0x3469e4(_0x1ccbec)),A(0x7,_0x2dafc5),A(0x8,_0x165976),A(0x9,_0x3469e4(_0x4d5a5d)),A(0xa,_0x3469e4(_0x2d3476)),A(0xb,_0x3469e4(pe)),A(0xc,_0x1f0359(J))],de);let fe=class extends Re{constructor(_0x1f981d,_0x5dbefb,_0x4617c9,_0x4e8557,_0x3f12e6,_0x50f7fd,_0x5dd8bd,_0x1e5a12,_0x488320,_0x25b3ad){var _0xf0170b=_0x342d1a;super(_0x1f981d,_0x5dbefb,_0x4617c9,_0x4e8557,_0x3f12e6,_0x1e5a12,_0x488320,_0x5dd8bd,_0x25b3ad),N(this,_0xf0170b(0x288),_0xf0170b(0x30c)),this[_0xf0170b(0x2af)]=_0x50f7fd;}[_0x342d1a(0x34d)](_0x76afd4){var _0x48d03f=_0x342d1a;return this[_0x48d03f(0x26d)][_0x48d03f(0x382)](_0x76afd4),this[_0x48d03f(0x3c7)](),this;}[_0x342d1a(0x13e)](_0x44932b){var _0x5db18b=_0x342d1a;throw new Error(_0x5db18b(0x345));}['onRemoteAck'](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x342d1a(0x1f6)](){var _0x5a4940=_0x342d1a;throw new Error(_0x5a4940(0xfc));}['onRemoteRetry'](){return this;}[_0x342d1a(0x269)](){return this;}[_0x342d1a(0x1d4)](){var _0x1cd973=_0x342d1a;const {_injector:_0x1a80b5,_pendingMutations:_0x39a075,_awaitingChangeset:_0x2b02cb,unitID:_0x1b3ce5,_handler:_0x2b0c02,type:_0x1a59e4}=this,_0x34c6f2=Di(_0x1a80b5,_0x1b3ce5,_0x1a59e4,_0x2b02cb,_0x39a075,_0x2b0c02);return _0x34c6f2 instanceof oe?_0x34c6f2[_0x1cd973(0x1c3)]():(_0x34c6f2 instanceof ae||_0x34c6f2 instanceof ue)&&_0x34c6f2[_0x1cd973(0x170)](),_0x34c6f2;}[_0x342d1a(0x170)](){var _0xbd7e39=_0x342d1a;throw new Error(_0xbd7e39(0x3a4));}};fe=be([A(0x5,_0x3469e4(_0x418715)),A(0x6,_0x3469e4(_0x4d5a5d)),A(0x7,_0x2dafc5),A(0x8,_0x165976),A(0x9,_0x1f0359(J))],fe);let te=class extends Re{constructor(_0x4c1a7a,_0x34aa35,_0x4edc29,_0x357e34,_0x18f995,_0x4bf6d7,_0x455c0f,_0xf32bc7,_0xa16b4,_0x1f80bd,_0x4db9ff,_0x546378,_0x171505,_0x4db948){var _0x5de6e1=_0x342d1a;super(_0x4c1a7a,_0x34aa35,_0x4edc29,_0x357e34,_0x455c0f,_0x4db9ff,_0x546378,_0xa16b4,_0x4db948),N(this,'status','fetch_missing'),(this[_0x5de6e1(0x300)]=_0x18f995,this[_0x5de6e1(0x130)]=_0x4bf6d7,this[_0x5de6e1(0x2af)]=_0xf32bc7,this[_0x5de6e1(0x108)]=_0x1f80bd,this['_transformService']=_0x171505,this[_0x5de6e1(0x11b)]=_0x4db948);}[_0x342d1a(0x31e)](_0x23b99f){var _0x414003=_0x342d1a;try{const _0x178501=[..._0x23b99f,...this[_0x414003(0x130)]],_0x21fdbb=[this[_0x414003(0x1a9)]||this[_0x414003(0x300)]][_0x414003(0x3cb)](_0x122efe=>!!_0x122efe);let _0x301605,_0x249283;if(_0x21fdbb[_0x414003(0x176)]){const _0x2e92c1=this[_0x414003(0x2be)][_0x414003(0x223)](_0x178501,_0x21fdbb,!0x1);if(!_0xb1fff6(_0x2e92c1))throw _0x2e92c1[_0x414003(0x27d)];_0x301605=_0x2e92c1[_0x414003(0x3b4)],_0x249283=_0x2e92c1[_0x414003(0x124)];}else _0x301605=_0x178501,_0x249283=[];let _0x96e1a3=this[_0x414003(0x26d)];_0x301605[_0x414003(0x385)](_0x597e34=>{var _0x548309=_0x414003;let _0x4f5dc7;if(_0x96e1a3[_0x548309(0x176)]){const _0x41351d=this[_0x548309(0x2be)]['transformMutationsWithChangeset'](_0x597e34,_0x96e1a3);if(!_0x51e900(_0x41351d))throw _0x41351d[_0x548309(0x27d)];_0x4f5dc7=_0x41351d[_0x548309(0x3b4)],_0x96e1a3=_0x41351d[_0x548309(0x2f2)];}else _0x4f5dc7=_0x597e34;this[_0x548309(0x138)](_0x4f5dc7);}),this[_0x414003(0x300)]&&this[_0x414003(0xf4)](),this[_0x414003(0x1a9)]&&_0x249283[_0x414003(0x176)]&&(_0x249283[0x0][_0x414003(0x369)]=this[_0x414003(0x27c)]());let _0x152fbf;if(this[_0x414003(0x1a9)]&&_0x96e1a3['length']!==0x0)_0x152fbf=this['_injector'][_0x414003(0x337)](ae,this['unitID'],this[_0x414003(0x208)],_0x249283[0x0],_0x96e1a3,this[_0x414003(0x101)],void 0x0);else{if(this['_awaitingChangeset']&&_0x96e1a3[_0x414003(0x176)]===0x0)_0x249283[0x0]['baseRev']=this[_0x414003(0x27c)](),_0x152fbf=this[_0x414003(0x2af)]['createInstance'](ue,this[_0x414003(0x34a)],this[_0x414003(0x208)],_0x249283[0x0],this[_0x414003(0x101)]);else{if(_0x96e1a3[_0x414003(0x176)]!==0x0){const _0x4cc124=this['_injector'][_0x414003(0x337)](oe,this[_0x414003(0x34a)],this['type'],_0x96e1a3,this[_0x414003(0x101)]);_0x4cc124[_0x414003(0x1c3)](),_0x152fbf=_0x4cc124;}else _0x152fbf=this[_0x414003(0x2af)]['createInstance'](De,this[_0x414003(0x34a)],this['type'],this[_0x414003(0x101)]);}}return _0x152fbf[_0x414003(0x3c7)](),_0x152fbf;}catch(_0x59c8d5){return this[_0x414003(0x108)]['error'](_0x414003(0x366),_0x414003(0x1ab),_0x59c8d5),this[_0x414003(0x2af)][_0x414003(0x337)](de,this[_0x414003(0x34a)],this[_0x414003(0x208)],this['_awaitingChangeset'],this[_0x414003(0x26d)],this['_handler'],!0x1);}}[_0x342d1a(0x170)](){var _0x5f5c66=_0x342d1a;throw new Error(_0x5f5c66(0x35d));}[_0x342d1a(0x34d)](_0x111736){var _0x219a1e=_0x342d1a;return this[_0x219a1e(0x26d)][_0x219a1e(0x382)](_0x111736),this;}[_0x342d1a(0x13e)](_0xbb91ca){var _0x152bf8=_0x342d1a;return this[_0x152bf8(0x130)][_0x152bf8(0x382)](_0xbb91ca),this;}[_0x342d1a(0x33a)](_0x1fc061){var _0x49444f=_0x342d1a;if(this[_0x49444f(0x1a9)])return this[_0x49444f(0x300)]=this[_0x49444f(0x1a9)],this[_0x49444f(0x1a9)]=null,this;throw new Error(_0x49444f(0x126));}[_0x342d1a(0x1f6)](_0x246789){var _0x250052=_0x342d1a;return this[_0x250052(0x31f)](!!(_0x246789!=null&&_0x246789[_0x250052(0x18f)]));}['onRemoteRetry'](){return this;}[_0x342d1a(0x269)](){var _0x2a1b70=_0x342d1a;return this[_0x2a1b70(0x2af)][_0x2a1b70(0x337)](fe,this['unitID'],this['type'],this[_0x2a1b70(0x1a9)],this['_pendingMutations'],this['_handler']);}[_0x342d1a(0x1d4)](){return this;}[_0x342d1a(0x31f)](_0x289d59){var _0x218e03=_0x342d1a;return this['_injector']['createInstance'](de,this[_0x218e03(0x34a)],this[_0x218e03(0x208)],this[_0x218e03(0x1a9)],this[_0x218e03(0x26d)],this['_handler'],_0x289d59);}};te=be([A(0x7,_0x3469e4(_0x418715)),A(0x8,_0x3469e4(_0x4d5a5d)),A(0x9,_0x2b6a87),A(0xa,_0x2dafc5),A(0xb,_0x165976),A(0xc,_0x1175fc),A(0xd,_0x1f0359(J))],te);function Di(_0x22268f,_0x377e2f,_0x4fb50,_0x3f19e5,_0x12912f,_0x5dba12){var _0x5036fd=_0x342d1a;return _0x3f19e5&&_0x12912f[_0x5036fd(0x176)]?_0x22268f[_0x5036fd(0x337)](ae,_0x377e2f,_0x4fb50,_0x3f19e5,_0x12912f,_0x5dba12,void 0x0):_0x3f19e5?_0x22268f[_0x5036fd(0x337)](ue,_0x377e2f,_0x4fb50,_0x3f19e5,_0x5dba12):_0x12912f[_0x5036fd(0x176)]?_0x22268f[_0x5036fd(0x337)](oe,_0x377e2f,_0x4fb50,_0x12912f,_0x5dba12):_0x22268f[_0x5036fd(0x337)](De,_0x377e2f,_0x4fb50,_0x5dba12);}var fr=Object[_0x342d1a(0x3d6)],vr=Object['getOwnPropertyDescriptor'],Lt=(_0x1a7fad,_0x49810f,_0x4d0c17,_0x2b8c1f)=>{for(var _0x27171d=_0x2b8c1f>0x1?void 0x0:_0x2b8c1f?vr(_0x49810f,_0x4d0c17):_0x49810f,_0xe869df=_0x1a7fad['length']-0x1,_0x424fc0;_0xe869df>=0x0;_0xe869df--)(_0x424fc0=_0x1a7fad[_0xe869df])&&(_0x27171d=(_0x2b8c1f?_0x424fc0(_0x49810f,_0x4d0c17,_0x27171d):_0x424fc0(_0x27171d))||_0x27171d);return _0x2b8c1f&&_0x27171d&&fr(_0x49810f,_0x4d0c17,_0x27171d),_0x27171d;},k=(_0x223818,_0x394c71)=>(_0x102a2a,_0x1b5e0d)=>_0x394c71(_0x102a2a,_0x1b5e0d,_0x223818);let st=class extends _0x3302df{constructor(_0x1a5c02,_0x554124,_0x4b15f0,_0x2b739c,_0x32562e,_0x55874e,_0x49cd7a,_0x5105d4,_0x52d21f,_0x53f144,_0x3903bd,_0x2e703a,_0x382527){var _0xa2a236=_0x342d1a;super(),N(this,_0xa2a236(0x3bf),new _0xb9db75(null)),N(this,_0xa2a236(0x236),this[_0xa2a236(0x3bf)]['asObservable']()),N(this,_0xa2a236(0x183)),N(this,_0xa2a236(0x2a5),!0x1),N(this,_0xa2a236(0x342),''),N(this,'_changesetReqId',0x0),N(this,_0xa2a236(0x1f9),this[_0xa2a236(0x236)][_0xa2a236(0xf5)](_0x48410a(_0x410081=>_0x410081?_0x410081[_0xa2a236(0x288)]:yi[_0xa2a236(0x148)]),_0x1086d9(0x1))),N(this,'_transitionLocked',!0x1),N(this,_0xa2a236(0x2fa),[]),(this['unitID']=_0x1a5c02,this[_0xa2a236(0x3cc)]=_0x554124,this['_type']=_0x4b15f0,this[_0xa2a236(0x2af)]=_0x2b739c,this['_compressMutationService']=_0x32562e,this['_localeService']=_0x55874e,this[_0xa2a236(0xe6)]=_0x49cd7a,this[_0xa2a236(0x2a9)]=_0x5105d4,this['_logService']=_0x52d21f,this['_commandService']=_0x53f144,this[_0xa2a236(0x36a)]=_0x3903bd,this[_0xa2a236(0x264)]=_0x2e703a,this[_0xa2a236(0x27e)]=_0x382527);}get[_0x342d1a(0x1cb)](){var _0x561875=_0x342d1a;return this[_0x561875(0x183)];}async[_0x342d1a(0x2c6)](){var _0x35fd23=_0x342d1a;if(this['state'])throw new Error(_0x35fd23(0x277));await this[_0x35fd23(0x2de)]();}['pauseCollaboration'](){var _0x539fc3=_0x342d1a;return this[_0x539fc3(0x2a5)]=!0x0,_0xb321bb(()=>{var _0x23af96=_0x539fc3;this[_0x23af96(0x2a5)]=!0x1,this[_0x23af96(0x13a)]();});}[_0x342d1a(0x32e)](_0x341a69){var _0x4c1cac=_0x342d1a;this[_0x4c1cac(0x392)](_0x341a69);}[_0x342d1a(0x255)](_0x46b5a7){var _0x4e533f=_0x342d1a;this[_0x4e533f(0x183)]=_0x46b5a7,this[_0x4e533f(0x3bf)][_0x4e533f(0x132)](_0x46b5a7);}async[_0x342d1a(0x2de)](){var _0x36e6c5=_0x342d1a,_0x1a1435;this['_updateState'](await this[_0x36e6c5(0x139)]()),this[_0x36e6c5(0x264)]&&((_0x1a1435=this[_0x36e6c5(0x264)])==null||_0x1a1435[_0x36e6c5(0x313)](this[_0x36e6c5(0x34a)]),this['disposeWithMe'](this[_0x36e6c5(0x264)][_0x36e6c5(0xf8)](this[_0x36e6c5(0x34a)])[_0x36e6c5(0x3a2)](_0x52da34=>{var _0x5ec3b2=_0x36e6c5;this[_0x5ec3b2(0x108)][_0x5ec3b2(0x343)]('[CollaborationEntity]',_0x5ec3b2(0x2d0),_0x52da34),_0x52da34===Ri['OTHER_CLIENTS_EDITING']?(this[_0x5ec3b2(0x2a9)][_0x5ec3b2(0xf6)]({'id':ne[_0x5ec3b2(0x113)]}),this['_permissionService']['updatePermissionPoint'](new _0x480994(this['unitID'])['id'],!0x1),this[_0x5ec3b2(0x36a)][_0x5ec3b2(0x1ea)](!0x1)):(this[_0x5ec3b2(0x36a)][_0x5ec3b2(0x3be)](new _0x480994(this[_0x5ec3b2(0x34a)])['id'],!0x0),this[_0x5ec3b2(0x36a)]['setShowComponents'](!0x0));})));let _0x6854e4=!0x1;return this[_0x36e6c5(0x2cf)](this[_0x36e6c5(0x3cc)][_0x36e6c5(0x38c)]['subscribe'](_0x5d0acf=>{var _0x38f0b9=_0x36e6c5;_0x5d0acf===Te[_0x38f0b9(0x3db)]?this['_toggleOnline'](_0x6854e4):_0x5d0acf===Te[_0x38f0b9(0x148)]&&(_0x6854e4=!0x0,this[_0x38f0b9(0x256)]());})),this[_0x36e6c5(0x2cf)](this['session']['event$'][_0x36e6c5(0x3a2)](_0x3acaa8=>{var _0x58353d=_0x36e6c5;try{switch(_0x3acaa8[_0x58353d(0x104)]){case _0x23a47a[_0x58353d(0x3a9)]:{this[_0x58353d(0x2fb)](_0x52c85d(_0x3acaa8[_0x58353d(0x25f)]));break;}case _0x23a47a['CHANGESET_ACK']:{this[_0x58353d(0x154)](_0x3acaa8[_0x58353d(0x25f)]);break;}case _0x23a47a[_0x58353d(0x364)]:{this[_0x58353d(0x393)]();break;}case _0x23a47a[_0x58353d(0x14d)]:{this[_0x58353d(0x2fe)](_0x3acaa8['data']);break;}case _0x23a47a[_0x58353d(0x169)]:{this['_onFetchMissResult'](_0x3acaa8['data']['changesets']['map'](_0x23d42d=>_0x52c85d(_0x23d42d)));break;}case _0x23a47a[_0x58353d(0x20d)]:{this[_0x58353d(0x393)]({'isPermissionRej':!0x0});break;}case _0x23a47a[_0x58353d(0x2bf)]:break;}}catch(_0xd673bc){throw console[_0x58353d(0x27d)](_0x58353d(0x2f7),_0xd673bc),_0xd673bc;}})),this[_0x36e6c5(0x183)];}[_0x342d1a(0xe2)](){var _0x4eb8e4=_0x342d1a;this[_0x4eb8e4(0x3b2)]=!0x1;}['_lockTransition'](){var _0x3db8c8=_0x342d1a;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[_0x3db8c8(0x3b2)]=!0x0;}[_0x342d1a(0x392)](_0x3c7ba3){var _0x5ddffe=_0x342d1a;this[_0x5ddffe(0x250)](),this[_0x5ddffe(0x255)](this[_0x5ddffe(0x183)][_0x5ddffe(0x34d)](_0x3c7ba3)),this[_0x5ddffe(0xe2)]();}[_0x342d1a(0x2fb)](_0x16f24a){var _0x56658d=_0x342d1a;if(!(_0x16f24a[_0x56658d(0x37c)]<=this[_0x56658d(0xe6)]['getCurrentRevOfUnit'](this[_0x56658d(0x34a)]))){if(this[_0x56658d(0x2a5)]){this[_0x56658d(0x2fa)]['push'](_0x16f24a);return;}this[_0x56658d(0x2f6)](_0x16f24a);}}[_0x342d1a(0x13a)](){var _0x317124=_0x342d1a;this[_0x317124(0x2fa)][_0x317124(0x385)](_0xaebb14=>this['_applyRemoteChangeset'](_0xaebb14)),this['_remoteChangesetQueue']=[];}['_applyRemoteChangeset'](_0x11643e){var _0x335501=_0x342d1a;const _0x53f353=this[_0x335501(0x266)]['interceptor'][_0x335501(0x1c5)](this[_0x335501(0x266)][_0x335501(0x175)][_0x335501(0x29f)]()['COMPRESS_MUTATION_APPLY'])(_0x11643e[_0x335501(0x3bd)],null)||_0x11643e[_0x335501(0x3bd)],_0x5f4d6c={..._0x11643e,'mutations':_0x53f353};this[_0x335501(0x250)](),this[_0x335501(0x255)](this[_0x335501(0x183)][_0x335501(0x13e)](_0x5f4d6c)),this[_0x335501(0xe2)]();}[_0x342d1a(0x154)](_0x494b11){var _0x517bdb=_0x342d1a;this['_lockTransition'](),this[_0x517bdb(0x255)](this['_state'][_0x517bdb(0x33a)](_0x494b11)),this[_0x517bdb(0xe2)]();}[_0x342d1a(0x393)](_0x3598b0){var _0x74004f=_0x342d1a;this[_0x74004f(0x250)](),this[_0x74004f(0x255)](this[_0x74004f(0x183)][_0x74004f(0x1f6)](_0x3598b0)),this[_0x74004f(0xe2)]();}['_onRemoteRetry'](_0x4acac3){var _0x22c536=_0x342d1a;this['_lockTransition'](),this['_updateState'](this[_0x22c536(0x183)]['onRemoteRetry'](_0x4acac3)),this[_0x22c536(0xe2)]();}[_0x342d1a(0x3e2)](_0x3bb471){var _0x1b5b82=_0x342d1a;if(!(this[_0x1b5b82(0x183)]instanceof te))throw new TypeError(_0x1b5b82(0x1bb));const _0x2ce587=_0x3bb471[_0x1b5b82(0x179)](_0x4bc829=>{var _0x25d912=_0x1b5b82;const _0x52c4c5=this[_0x25d912(0x266)][_0x25d912(0x175)][_0x25d912(0x1c5)](this[_0x25d912(0x266)][_0x25d912(0x175)][_0x25d912(0x29f)]()['COMPRESS_MUTATION_APPLY'])(_0x4bc829['mutations'],null)||_0x4bc829['mutations'];return{..._0x4bc829,'mutations':_0x52c4c5};});this[_0x1b5b82(0x250)](),this['_updateState'](this[_0x1b5b82(0x183)][_0x1b5b82(0x31e)](_0x2ce587)),this['_unlockTransition']();}[_0x342d1a(0x256)](){var _0x3151dd=_0x342d1a;this[_0x3151dd(0x250)](),this[_0x3151dd(0x255)](this[_0x3151dd(0x183)][_0x3151dd(0x269)]()),this[_0x3151dd(0xe2)]();}[_0x342d1a(0x2f1)](_0x41d91d=!0x1){var _0x16347a=_0x342d1a;this[_0x16347a(0x250)](),this['_updateState'](this['_state']['toggleOnline']()),this[_0x16347a(0xe2)]();const _0x45f05e=this[_0x16347a(0x183)];_0x41d91d&&_0x45f05e instanceof De&&(this[_0x16347a(0x250)](),this['_updateState'](_0x45f05e[_0x16347a(0x3ae)]()),this[_0x16347a(0xe2)]());}async['_createInitialState'](){return new Promise(_0x5782b6=>{var _0x307243=_0x1d1c;this['session']['sessionStatus$'][_0x307243(0xf5)](_0x20c734(0x1))['subscribe'](async _0x4df8f9=>{var _0x3669e1=_0x307243;_0x5782b6(await this['_createInitialStateImpl'](_0x4df8f9===Te[_0x3669e1(0x3db)]));});});}[_0x342d1a(0x3a5)](){var _0x2592ad=_0x342d1a;const _0x7b6b79=this[_0x2592ad(0x34a)];return{'onStateChange':(_0x103114,_0x42d0d9)=>{var _0x528274=_0x2592ad;if(_0x103114!==this[_0x528274(0x183)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x103114[_0x528274(0x288)]+_0x528274(0x1e0)+_0x42d0d9[_0x528274(0x288)]+_0x528274(0x355)+this[_0x528274(0x183)][_0x528274(0x288)]);this[_0x528274(0x255)](_0x42d0d9);},'onSendChangeset':_0x349b60=>{var _0x4646f0=_0x2592ad;_0x349b60[_0x4646f0(0x3c1)]||(_0x349b60['sid']=this[_0x4646f0(0x342)],_0x349b60['reqId']=++this[_0x4646f0(0x2b7)]);const _0x132220={'eventID':_0x23a47a[_0x4646f0(0x162)],'data':{'unitID':_0x349b60['unitID'],'unitType':this[_0x4646f0(0x1f3)],'changeset':_0x349b60,'memberID':this[_0x4646f0(0x3cc)][_0x4646f0(0x231)]()}};this[_0x4646f0(0x3cc)][_0x4646f0(0x248)](_0x132220,this[_0x4646f0(0x34a)]);},'onMissingChangesets':({from:_0x2d6c74,to:_0x50cec7})=>{var _0x22bf0f=_0x2592ad;this['_logService'][_0x22bf0f(0x343)](_0x22bf0f(0x123),_0x22bf0f(0x29c)+_0x2d6c74+'\x20to\x20'+_0x50cec7);const _0x41d4e6={'eventID':_0x23a47a[_0x22bf0f(0x284)],'data':{'unitID':_0x7b6b79,'unitType':this[_0x22bf0f(0x1f3)],'from':_0x2d6c74,'to':_0x50cec7}};this[_0x22bf0f(0x3cc)]['send'](_0x41d4e6,this['unitID']);}};}async['_createInitialStateImpl'](_0x7de107){var _0x5a2e2c=_0x342d1a,_0x549f82,_0x38a8f4,_0x574edf;const _0x4c1e0e=await((_0x549f82=this[_0x5a2e2c(0x27e)])==null?void 0x0:_0x549f82[_0x5a2e2c(0x3e1)](this[_0x5a2e2c(0x34a)])),_0x5e6441=(_0x38a8f4=_0x4c1e0e==null?void 0x0:_0x4c1e0e[_0x5a2e2c(0x3bd)])!=null?_0x38a8f4:[],_0x5e784d=(_0x574edf=_0x4c1e0e==null?void 0x0:_0x4c1e0e[_0x5a2e2c(0x30e)])!=null?_0x574edf:null,_0x53ac4b=!!(_0x5e784d!=null&&_0x5e784d[_0x5a2e2c(0x3c1)])&&!!(_0x5e784d!=null&&_0x5e784d[_0x5a2e2c(0x153)]);this['_changesetSessionId']=_0x53ac4b?_0x5e784d['sid']:rr(),this[_0x5a2e2c(0x2b7)]=_0x53ac4b?_0x5e784d[_0x5a2e2c(0x153)]:0x0;const _0x372038=this['unitID'];try{this['_replayCachedMutations'](_0x5e784d,_0x5e6441);}catch(_0x40f7a7){this[_0x5a2e2c(0x108)][_0x5a2e2c(0x27d)](_0x40f7a7);}const _0x5746b7=this[_0x5a2e2c(0x3a5)]();if(_0x7de107){const _0x54fe31=Di(this[_0x5a2e2c(0x2af)],_0x372038,this[_0x5a2e2c(0x1f3)],_0x5e784d,_0x5e6441,_0x5746b7);return _0x54fe31 instanceof oe?_0x54fe31['_schedule']():(_0x54fe31 instanceof ae||_0x54fe31 instanceof ue)&&_0x54fe31['resend'](),_0x54fe31;}return this[_0x5a2e2c(0x2af)][_0x5a2e2c(0x337)](fe,_0x372038,this[_0x5a2e2c(0x1f3)],_0x5e784d,_0x5e6441,_0x5746b7);}[_0x342d1a(0x37e)](_0x3e4b6a,_0x345c5f){var _0x711da9=_0x342d1a,_0x267719,_0x5c3ee5;const _0x3d601f=this[_0x711da9(0x266)][_0x711da9(0x175)][_0x711da9(0x1c5)](this[_0x711da9(0x266)][_0x711da9(0x175)][_0x711da9(0x29f)]()[_0x711da9(0x378)]);(_0x267719=_0x3d601f((_0x3e4b6a==null?void 0x0:_0x3e4b6a['mutations'])||[],null))==null||_0x267719[_0x711da9(0x385)](_0x186c97=>this[_0x711da9(0x38d)][_0x711da9(0x2bc)](_0x186c97['id'],_0x186c97[_0x711da9(0x157)])),(_0x5c3ee5=_0x3d601f(_0x345c5f||[],null))==null||_0x5c3ee5[_0x711da9(0x385)](_0xdc96f9=>this[_0x711da9(0x38d)][_0x711da9(0x2bc)](_0xdc96f9['id'],_0xdc96f9[_0x711da9(0x157)]));}};st=Lt([k(0x3,_0x3469e4(_0x418715)),k(0x4,_0x3469e4(_0x293767)),k(0x5,_0x3469e4(_0x2d3476)),k(0x6,_0x3469e4(_0x4d5a5d)),k(0x7,_0x3469e4(pe)),k(0x8,_0x2b6a87),k(0x9,_0x2dafc5),k(0xa,_0x1ccbec),k(0xb,_0x1f0359(ht)),k(0xc,_0x1f0359(J))],st);let Tt=class extends st{constructor(_0x390cbf,_0x237807,_0xc569d3,_0x752226,_0x4893d0,_0x35677d,_0x85c286,_0xadfb4e,_0x772085,_0x3b2e9a,_0x1a1be7,_0x1155e5,_0x35bc78){super(_0x390cbf,_0xc569d3,_0x237807,_0x752226,_0x4893d0,_0x35677d,_0x85c286,_0xadfb4e,_0x772085,_0x3b2e9a,_0x1a1be7,_0x1155e5,_0x35bc78),N(this,'_handlerCallback',null),(this['unitID']=_0x390cbf,this['type']=_0x237807);}[_0x342d1a(0x2c4)](_0x112545){var _0x111d84=_0x342d1a;this[_0x111d84(0x1b8)]=_0x112545;}[_0x342d1a(0x112)](){var _0x3343d0=_0x342d1a;this['_handlerCallback']=null,super[_0x3343d0(0x112)]();}[_0x342d1a(0x3a5)](){var _0x1b1e5f=_0x342d1a;const _0x2a3e48=super['_createHandler']();return _0x2a3e48['onTransformIME']=_0x3dc4b9=>{var _0x8d5132=_0x1d1c,_0x5854dc,_0x228103;return(_0x228103=(_0x5854dc=this[_0x8d5132(0x1b8)])==null?void 0x0:_0x5854dc[_0x8d5132(0x1aa)])==null?void 0x0:_0x228103[_0x8d5132(0x35f)](_0x5854dc,_0x3dc4b9);},_0x2a3e48['onTransformState']=_0x59909b=>{var _0x34e43e=_0x1d1c,_0x4122bc,_0x5009e6;return(_0x5009e6=(_0x4122bc=this['_handlerCallback'])==null?void 0x0:_0x4122bc[_0x34e43e(0x386)])==null?void 0x0:_0x5009e6[_0x34e43e(0x35f)](_0x4122bc,_0x59909b);},_0x2a3e48[_0x1b1e5f(0x354)]=_0x30e540=>{var _0x35dd05=_0x1b1e5f,_0x77e908,_0x4a135c;return(_0x4a135c=(_0x77e908=this[_0x35dd05(0x1b8)])==null?void 0x0:_0x77e908[_0x35dd05(0x354)])==null?void 0x0:_0x4a135c[_0x35dd05(0x35f)](_0x77e908,_0x30e540);},_0x2a3e48[_0x1b1e5f(0x318)]=_0x4391eb=>{var _0x8afdd4=_0x1b1e5f,_0x3423dd,_0x49392c;return(_0x49392c=(_0x3423dd=this['_handlerCallback'])==null?void 0x0:_0x3423dd[_0x8afdd4(0x318)])==null?void 0x0:_0x49392c[_0x8afdd4(0x35f)](_0x3423dd,_0x4391eb);},_0x2a3e48[_0x1b1e5f(0x178)]=_0x8d155f=>{var _0x1a2dc3=_0x1b1e5f,_0x45b842,_0x1b40bd,_0x5268a7;if(!((_0x45b842=this['_handlerCallback'])!=null&&_0x45b842[_0x1a2dc3(0x178)]))throw new Error(_0x1a2dc3(0x239));return(_0x5268a7=(_0x1b40bd=this[_0x1a2dc3(0x1b8)])==null?void 0x0:_0x1b40bd[_0x1a2dc3(0x178)])==null?void 0x0:_0x5268a7[_0x1a2dc3(0x35f)](_0x1b40bd,_0x8d155f);},_0x2a3e48['onTransformRemoteChangesetByStateCache']=_0x5e8b01=>{var _0x4413d5=_0x1b1e5f,_0x7ff1bd,_0x484a5d,_0x153e4c;if(!((_0x7ff1bd=this[_0x4413d5(0x1b8)])!=null&&_0x7ff1bd[_0x4413d5(0x261)]))throw new Error(_0x4413d5(0x245));return(_0x153e4c=(_0x484a5d=this['_handlerCallback'])==null?void 0x0:_0x484a5d[_0x4413d5(0x261)])==null?void 0x0:_0x153e4c[_0x4413d5(0x35f)](_0x484a5d,_0x5e8b01);},_0x2a3e48;}async['_init'](){var _0x1f377f=_0x342d1a;const _0x2e0b12=await super[_0x1f377f(0x2de)]();return this[_0x1f377f(0x2cf)](this['_commandService'][_0x1f377f(0x2e7)]((_0x540a22,_0x141f4c)=>{var _0xca48f4=_0x1f377f;if(_0x540a22['type']!==_0x10c214[_0xca48f4(0x304)]||_0x141f4c!=null&&_0x141f4c[_0xca48f4(0x296)]||_0x141f4c!=null&&_0x141f4c[_0xca48f4(0x373)]||_0x540a22['id']===_0x45f2b4['id'])return;const _0x1ae092=_0x540a22['params'];if((_0x1ae092==null?void 0x0:_0x1ae092[_0xca48f4(0x39a)])!==this['unitID'])return;const _0x3a9b8d=_0x540a22,_0x4d7739=this['_compressMutationService'][_0xca48f4(0x175)][_0xca48f4(0x1c5)](this[_0xca48f4(0x266)]['interceptor'][_0xca48f4(0x29f)]()['COMPRESS_MUTATION_SEND'])([_0x3a9b8d],null)||[_0x3a9b8d];this[_0xca48f4(0x392)](_0x4d7739[0x0]);})),_0x2e0b12;}};Tt=Lt([k(0x3,_0x3469e4(_0x418715)),k(0x4,_0x3469e4(_0x293767)),k(0x5,_0x3469e4(_0x2d3476)),k(0x6,_0x3469e4(_0x4d5a5d)),k(0x7,_0x3469e4(pe)),k(0x8,_0x2b6a87),k(0x9,_0x2dafc5),k(0xa,_0x1ccbec),k(0xb,_0x1f0359(ht)),k(0xc,_0x1f0359(J))],Tt);let Ct=class extends st{constructor(_0x595b60,_0x5c43e6,_0x3b3f49,_0x3b0787,_0xdd0f3a,_0x11cb5a,_0x47995d,_0x3d0765,_0x946b34,_0x501dd6,_0x125bef,_0x723eca,_0x3c9e21,_0x36bb9c){var _0x2b6de8=_0x342d1a;super(_0x595b60,_0x3b3f49,_0x5c43e6,_0x3b0787,_0xdd0f3a,_0x11cb5a,_0x47995d,_0x946b34,_0x501dd6,_0x125bef,_0x723eca,_0x3c9e21,_0x36bb9c),this[_0x2b6de8(0x34a)]=_0x595b60,this['type']=_0x5c43e6,this[_0x2b6de8(0x349)]=_0x3d0765;}[_0x342d1a(0x3a5)](){var _0x3e0f1b=_0x342d1a;const _0x44781f=super[_0x3e0f1b(0x3a5)]();return _0x44781f[_0x3e0f1b(0x354)]=_0x170e97=>this[_0x3e0f1b(0x349)]['transformSelections'](_0x170e97),_0x44781f;}async['_init'](){var _0x31cc1e=_0x342d1a;const _0x324a00=await super[_0x31cc1e(0x2de)]();return this[_0x31cc1e(0x2cf)](this[_0x31cc1e(0x38d)][_0x31cc1e(0x2e7)]((_0x2cfb28,_0x35a132)=>{var _0x2cbf37=_0x31cc1e;if(_0x2cfb28['type']!==_0x10c214[_0x2cbf37(0x304)]||_0x35a132!=null&&_0x35a132[_0x2cbf37(0x296)]||_0x35a132!=null&&_0x35a132[_0x2cbf37(0x373)])return;const _0x711e61=_0x2cfb28[_0x2cbf37(0x157)];if((_0x711e61==null?void 0x0:_0x711e61[_0x2cbf37(0x39a)])!==this[_0x2cbf37(0x34a)])return;const _0xbe47fb=_0x2cfb28,_0x2d211f=this[_0x2cbf37(0x266)][_0x2cbf37(0x175)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x2cbf37(0x175)]['getInterceptPoints']()[_0x2cbf37(0x3aa)])([_0xbe47fb],null)||[_0xbe47fb];this[_0x2cbf37(0x392)](_0x2d211f[0x0]);})),_0x324a00;}};Ct=Lt([k(0x3,_0x3469e4(_0x418715)),k(0x4,_0x3469e4(_0x293767)),k(0x5,_0x3469e4(_0x2d3476)),k(0x6,_0x3469e4(_0x4d5a5d)),k(0x7,_0x3469e4(it)),k(0x8,_0x3469e4(pe)),k(0x9,_0x2b6a87),k(0xa,_0x2dafc5),k(0xb,_0x1ccbec),k(0xc,_0x1f0359(ht)),k(0xd,_0x1f0359(J))],Ct);var pr=Object['defineProperty'],mr=Object[_0x342d1a(0x1eb)],gr=(_0x26977e,_0x30a31f,_0x507498,_0x2f17ff)=>{for(var _0x20bf9e=_0x2f17ff>0x1?void 0x0:_0x2f17ff?mr(_0x30a31f,_0x507498):_0x30a31f,_0x58c0e1=_0x26977e['length']-0x1,_0x33416c;_0x58c0e1>=0x0;_0x58c0e1--)(_0x33416c=_0x26977e[_0x58c0e1])&&(_0x20bf9e=(_0x2f17ff?_0x33416c(_0x30a31f,_0x507498,_0x20bf9e):_0x33416c(_0x20bf9e))||_0x20bf9e);return _0x2f17ff&&_0x20bf9e&&pr(_0x30a31f,_0x507498,_0x20bf9e),_0x20bf9e;},ft=(_0x1b9c28,_0x3e3b08)=>(_0x4d8efb,_0x29f223)=>_0x3e3b08(_0x4d8efb,_0x29f223,_0x1b9c28);let rt=class extends _0x3302df{constructor(_0x22e7ac,_0x3cbf71,_0x7e142a){var _0x4a0b57=_0x342d1a;super(),N(this,'_entities',new Map()),N(this,_0x4a0b57(0x21d),new _0x109917()),N(this,_0x4a0b57(0x381),this[_0x4a0b57(0x21d)][_0x4a0b57(0xdf)]()),(this[_0x4a0b57(0x2af)]=_0x22e7ac,this['_collabSessionService']=_0x3cbf71,this['_univerInstanceService']=_0x7e142a,this[_0x4a0b57(0x2de)]());}[_0x342d1a(0x112)](){var _0x124522=_0x342d1a;super[_0x124522(0x112)](),this[_0x124522(0x173)][_0x124522(0x385)](_0x11c339=>_0x11c339[_0x124522(0x112)]()),this[_0x124522(0x173)]['clear']();}[_0x342d1a(0x27a)](_0x304162){var _0x12578f=_0x342d1a,_0x56d863;return(_0x56d863=this[_0x12578f(0x173)][_0x12578f(0x10a)](_0x304162))!=null?_0x56d863:null;}[_0x342d1a(0x2e4)](_0x45c1f3){var _0x46bc83=_0x342d1a;const _0x8a163e=this[_0x46bc83(0x27a)](_0x45c1f3);return _0x8a163e?_0x34e1b8(_0x8a163e):this[_0x46bc83(0x21d)][_0x46bc83(0xf5)](_0x3d4fbc(_0x11525e=>_0x11525e[_0x46bc83(0x34a)]===_0x45c1f3));}['readyForCollab'](_0x2cf288){var _0x3cc9fd=_0x342d1a;return _0x463e83(this[_0x3cc9fd(0x2e4)](_0x2cf288)[_0x3cc9fd(0xf5)](_0x4b44c4(()=>{})));}[_0x342d1a(0x2de)](){var _0x14c0c3=_0x342d1a;this['_univerInstanceService'][_0x14c0c3(0x195)](_0x43189d[_0x14c0c3(0xe1)])['pipe'](_0x3d307f(this[_0x14c0c3(0x26f)]),_0x4345b4(0x10))[_0x14c0c3(0x3a2)](async _0x19b7a1=>{var _0x5107fc=_0x14c0c3;const _0x2431d9=_0x19b7a1[_0x5107fc(0x2a7)](),_0x59c1dc=await this['_startCollaboration'](_0x2431d9,Q[_0x5107fc(0xe1)]);this[_0x5107fc(0x173)][_0x5107fc(0x204)](_0x2431d9,_0x59c1dc);}),this['_univerInstanceService'][_0x14c0c3(0x195)](_0x43189d[_0x14c0c3(0x10b)])[_0x14c0c3(0xf5)](_0x3d307f(this[_0x14c0c3(0x26f)]),_0x4345b4(0x10))[_0x14c0c3(0xf5)](_0x3d4fbc(_0x34aa08=>!_0x34aa08[_0x14c0c3(0x2a7)]()['startsWith']('__')))[_0x14c0c3(0x3a2)](async _0x984935=>{var _0x136378=_0x14c0c3;const _0x59f19b=_0x984935[_0x136378(0x2a7)](),_0x13d89c=await this[_0x136378(0x167)](_0x59f19b,Q[_0x136378(0x10b)]);this[_0x136378(0x173)][_0x136378(0x204)](_0x59f19b,_0x13d89c);}),_0x2bb28d(this['_univerInstanceService'][_0x14c0c3(0x119)](_0x43189d['UNIVER_SHEET']),this[_0x14c0c3(0x254)]['getTypeOfUnitDisposed$'](_0x43189d[_0x14c0c3(0x10b)]))['pipe'](_0x3d307f(this[_0x14c0c3(0x26f)]))[_0x14c0c3(0x3a2)](_0xa2bf4a=>{var _0x27fb85=_0x14c0c3;const _0x4f83bf=_0xa2bf4a[_0x27fb85(0x2a7)](),_0x1032e0=this[_0x27fb85(0x173)][_0x27fb85(0x10a)](_0x4f83bf);_0x1032e0&&(_0x1032e0['dispose'](),this[_0x27fb85(0x173)]['delete'](_0x4f83bf));});}async[_0x342d1a(0x167)](_0x2ebecd,_0x593d11){var _0x6601b0=_0x342d1a;const _0x2eea30=await this[_0x6601b0(0x20a)][_0x6601b0(0x2db)](_0x2ebecd),_0x32b40c=this['_injector']['createInstance'](this[_0x6601b0(0x23d)](_0x593d11),_0x2ebecd,_0x593d11,_0x2eea30);return await _0x32b40c[_0x6601b0(0x2c6)](),this[_0x6601b0(0x21d)]['next'](_0x32b40c),_0x32b40c;}[_0x342d1a(0x23d)](_0x3d243e){var _0x49f6ac=_0x342d1a;switch(_0x3d243e){case Q[_0x49f6ac(0x10b)]:return Tt;case Q[_0x49f6ac(0xe1)]:return Ct;default:throw new Error(_0x49f6ac(0x290)+_0x3d243e);}}};rt=gr([ft(0x0,_0x3469e4(_0x418715)),ft(0x1,_0x3469e4(Le)),ft(0x2,_0x935257)],rt);var Sr=Object[_0x342d1a(0x3d6)],Er=Object[_0x342d1a(0x1eb)],Ir=(_0x5b643b,_0xaf6b07,_0x5b21ef,_0x4f9885)=>{var _0x19b2fa=_0x342d1a;for(var _0x1ff2ae=_0x4f9885>0x1?void 0x0:_0x4f9885?Er(_0xaf6b07,_0x5b21ef):_0xaf6b07,_0x5d4f6a=_0x5b643b[_0x19b2fa(0x176)]-0x1,_0x1c5d92;_0x5d4f6a>=0x0;_0x5d4f6a--)(_0x1c5d92=_0x5b643b[_0x5d4f6a])&&(_0x1ff2ae=(_0x4f9885?_0x1c5d92(_0xaf6b07,_0x5b21ef,_0x1ff2ae):_0x1c5d92(_0x1ff2ae))||_0x1ff2ae);return _0x4f9885&&_0x1ff2ae&&Sr(_0xaf6b07,_0x5b21ef,_0x1ff2ae),_0x1ff2ae;},Jt=(_0xf6ee2e,_0x100474)=>(_0x25ab97,_0x2bac75)=>_0x100474(_0x25ab97,_0x2bac75,_0xf6ee2e);function _0x1d1c(_0x4d8d11,_0x7e27ed){var _0x275d1d=_0x275d();return _0x1d1c=function(_0x1d1c60,_0x5f3edd){_0x1d1c60=_0x1d1c60-0xda;var _0x5d4ce1=_0x275d1d[_0x1d1c60];return _0x5d4ce1;},_0x1d1c(_0x4d8d11,_0x7e27ed);}const Tr=_0x342d1a(0x289),Cr=_0x342d1a(0x295);let bt=class extends _0x544359{constructor(_0x93f517,_0x2d0032){var _0x1cc8ca=_0x342d1a;super(),this['_univerInstanceService']=_0x93f517,this[_0x1cc8ca(0x1c9)]=_0x2d0032,this[_0x1cc8ca(0x2de)]();}[_0x342d1a(0x2de)](){var _0x4b31dc=_0x342d1a;this['disposeWithMe'](this[_0x4b31dc(0x254)]['focused$'][_0x4b31dc(0x3a2)](()=>{var _0x17f40f=_0x4b31dc,_0x1e2d0b;const _0x459247=this[_0x17f40f(0x254)][_0x17f40f(0x32d)]();let _0x44cfd6=(_0x1e2d0b=this[_0x17f40f(0x1c9)][_0x17f40f(0x1ed)](Tr))!=null?_0x1e2d0b:Cr;_0x459247 instanceof _0x463cef&&(_0x44cfd6=_0x459247['name']),document[_0x17f40f(0x1d0)]=_0x44cfd6;}));}};bt=Ir([Jt(0x0,_0x935257),Jt(0x1,_0xfb9dba)],bt);var br=Object[_0x342d1a(0x3d6)],Rr=Object['getOwnPropertyDescriptor'],Or=(_0x3cfec0,_0x76fc2d,_0x3b5940,_0x46a620)=>{var _0x2cf1b7=_0x342d1a;for(var _0x3585d6=_0x46a620>0x1?void 0x0:_0x46a620?Rr(_0x76fc2d,_0x3b5940):_0x76fc2d,_0x493be0=_0x3cfec0[_0x2cf1b7(0x176)]-0x1,_0x1b6f81;_0x493be0>=0x0;_0x493be0--)(_0x1b6f81=_0x3cfec0[_0x493be0])&&(_0x3585d6=(_0x46a620?_0x1b6f81(_0x76fc2d,_0x3b5940,_0x3585d6):_0x1b6f81(_0x3585d6))||_0x3585d6);return _0x46a620&&_0x3585d6&&br(_0x76fc2d,_0x3b5940,_0x3585d6),_0x3585d6;},vt=(_0x1a72b7,_0xd1307d)=>(_0x387dab,_0x12471a)=>_0xd1307d(_0x387dab,_0x12471a,_0x1a72b7);let nt=class{constructor(_0x6b32ec,_0x37c36c,_0x41c3c7){var _0x101df6=_0x342d1a;this[_0x101df6(0x1c9)]=_0x6b32ec,this['_httpService']=_0x37c36c,this[_0x101df6(0x1fd)]=_0x41c3c7,this[_0x101df6(0x2c6)]();}['init'](){var _0x47da18=_0x342d1a;this[_0x47da18(0x338)][_0x47da18(0x14c)]({'priority':0x1,'interceptor':(_0x2871ee,_0x1687c1)=>_0x1687c1(_0x2871ee)['pipe'](_0x19b96c(async _0x33a15f=>{var _0x142c8d=_0x47da18;const _0x115551=_0x33a15f;if(_0x115551[_0x142c8d(0x288)]===0x191){if(typeof window>'u')throw new Error(_0x142c8d(0x3d2));if(window[_0x142c8d(0x330)](this[_0x142c8d(0x1fd)]['t'](_0x142c8d(0x235)))){const _0x3909be=window[_0x142c8d(0x1a1)](window['location'][_0x142c8d(0x12f)]);window['location'][_0x142c8d(0x12f)]=this[_0x142c8d(0x301)]()+'?url='+_0x3909be;}}return _0x115551;}))});}['_getLoginPath'](){var _0x206ae8=_0x342d1a,_0x1b4a80,_0x4088c2;const _0x1d2a66=this['_configService']['getConfig'](As),_0x2292d2=this[_0x206ae8(0x1c9)][_0x206ae8(0x1ed)](q);return(_0x4088c2=(_0x1b4a80=_0x2292d2==null?void 0x0:_0x2292d2[_0x206ae8(0x10d)])!=null?_0x1b4a80:_0x1d2a66)!=null?_0x4088c2:xs;}};nt=Or([vt(0x0,_0xfb9dba),vt(0x1,_0x3469e4(_0x2ab91c)),vt(0x2,_0x3469e4(_0x2d3476))],nt);var yr=Object['defineProperty'],Nr=Object[_0x342d1a(0x1eb)],Dr=(_0x305bca,_0x27ca66,_0x46a1b3,_0x17b11)=>{var _0x351e58=_0x342d1a;for(var _0x53009d=_0x17b11>0x1?void 0x0:_0x17b11?Nr(_0x27ca66,_0x46a1b3):_0x27ca66,_0x12c895=_0x305bca[_0x351e58(0x176)]-0x1,_0x31f05b;_0x12c895>=0x0;_0x12c895--)(_0x31f05b=_0x305bca[_0x12c895])&&(_0x53009d=(_0x17b11?_0x31f05b(_0x27ca66,_0x46a1b3,_0x53009d):_0x31f05b(_0x53009d))||_0x53009d);return _0x17b11&&_0x53009d&&yr(_0x27ca66,_0x46a1b3,_0x53009d),_0x53009d;},Xt=(_0x3a3dd1,_0x137037)=>(_0x10b7f3,_0x3d35f7)=>_0x137037(_0x10b7f3,_0x3d35f7,_0x3a3dd1);const Pi='AUTHZ_URL_KEY',Pr=_0x342d1a(0x336);let Rt=class extends _0x544359{constructor(_0x532742,_0x1990fb){var _0x1b7204=_0x342d1a;super(),this[_0x1b7204(0x303)]=_0x532742,this[_0x1b7204(0x1c9)]=_0x1990fb,this[_0x1b7204(0x310)]();}['_initMergeInterceptor'](){var _0x38562c=_0x342d1a;const _0x5312e6=this;this['disposeWithMe'](this['_HTTPService'][_0x38562c(0x14c)]({'priority':0x3e7,'interceptor':_0x548018({'isMatch'(_0x3c5729){var _0x36130e=_0x38562c,_0x2b741c;if(_0x3c5729[_0x36130e(0x21f)]==='POST'&&((_0x2b741c=_0x3c5729[_0x36130e(0x1f4)])!=null&&_0x2b741c[_0x36130e(0x2d5)])){const {objectID:_0x59ba5a,objectType:_0x1a8424}=_0x3c5729[_0x36130e(0x1f4)][_0x36130e(0x2d5)]||{};if(!_0x59ba5a||_0x1a8424===void 0x0)return!0x1;const _0x41616f=_0x5312e6[_0x36130e(0x298)]()+'/'+_0x1a8424+'/object/'+_0x59ba5a+_0x36130e(0x36e);if(_0x3c5729[_0x36130e(0x297)]===_0x41616f)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xc0bcad){var _0x3485c8=_0x38562c,_0x43d55a;return(_0x43d55a=_0xc0bcad['requestParams'])==null?void 0x0:_0x43d55a[_0x3485c8(0x2d5)];},'mergeParamsToRequest'(_0x480ec6,_0x4c6244){var _0x45c6c0=_0x38562c;const _0x1404e7=_0x5312e6[_0x45c6c0(0x298)]()+'/-/object/-/batch_allowed',_0x379da8=_0x480ec6[_0x45c6c0(0x217)]((_0x1febef,_0x55916c)=>{var _0x12e3e4=_0x45c6c0;const {unitID:_0x5058dc,objectID:_0x153fbe,objectType:_0x3bdd25,actions:_0x42f08f}=_0x55916c;return _0x1febef[_0x5058dc]||(_0x1febef[_0x5058dc]={}),_0x1febef[_0x5058dc][_0x153fbe]||(_0x1febef[_0x5058dc][_0x153fbe]={'objectID':_0x153fbe,'objectType':_0x3bdd25,'actions':[]}),_0x1febef[_0x5058dc][_0x153fbe][_0x12e3e4(0x1b0)][_0x12e3e4(0x382)](..._0x42f08f),_0x1febef;},{}),_0x43f0d1=[];for(const _0x303a9f in _0x379da8)for(const _0x14898e in _0x379da8[_0x303a9f]){const {actions:_0x459a82,objectType:_0x5cdc9b}=_0x379da8[_0x303a9f][_0x14898e],_0x5552e9=[...new Set(_0x459a82)];_0x43f0d1['push']({'unitID':_0x303a9f,'objectID':_0x14898e,'objectType':_0x5cdc9b,'actions':_0x5552e9});}return new _0x1265b2('POST',_0x1404e7,{'headers':_0x4c6244['headers'],'withCredentials':_0x4c6244[_0x45c6c0(0xe0)],'responseType':_0x4c6244[_0x45c6c0(0x15f)],'body':{'requests':_0x43f0d1}});}},{'distributeResult'(_0x5cbcd6,_0x5ce89b){var _0x19e10c=_0x38562c;const {objectActions:_0x5973cd}=_0x5cbcd6;return _0x5ce89b[_0x19e10c(0x179)](_0x3aab88=>{var _0x9c505a=_0x19e10c;const {unitID:_0x8ee384,objectID:_0xc31ad8,actions:_0xbc990a}=_0x3aab88,_0x340275=_0x5973cd[_0x9c505a(0x274)](_0x3c422b=>_0x3c422b[_0x9c505a(0x34a)]===_0x8ee384&&_0x3c422b[_0x9c505a(0x37d)]===_0xc31ad8),_0xb7d8fe=_0xbc990a[_0x9c505a(0x179)](_0x4d27b0=>_0x340275==null?void 0x0:_0x340275[_0x9c505a(0x1b0)][_0x9c505a(0x274)](_0x645916=>_0x645916[_0x9c505a(0xf1)]===_0x4d27b0))[_0x9c505a(0x3cb)](_0x333c18=>!!_0x333c18);return{'config':_0x3aab88,'result':{'actions':_0xb7d8fe,'error':_0x5cbcd6[_0x9c505a(0x27d)]}};});}})}));}[_0x342d1a(0x298)](){var _0x2480d7=_0x342d1a,_0x5024ad,_0x584c90;const _0x411a79=this[_0x2480d7(0x1c9)][_0x2480d7(0x1ed)](Pi),_0x1a760e=this[_0x2480d7(0x1c9)]['getConfig'](q);return(_0x584c90=(_0x5024ad=_0x1a760e==null?void 0x0:_0x1a760e['authzUrl'])!=null?_0x5024ad:_0x411a79)!=null?_0x584c90:Pr;}async[_0x342d1a(0x2b6)](_0x298952){var _0x2ed227=_0x342d1a;const _0x4c73d6=this['_getAPIPrefixPath']()+'/'+_0x298952[_0x2ed227(0x319)]+_0x2ed227(0x39b);return(await this[_0x2ed227(0x303)]['post'](_0x4c73d6,{'body':_0x298952}))['body'][_0x2ed227(0x37d)]||'';}async['list'](_0x49e288){var _0x2103d9=_0x342d1a;const _0x35e30c=this[_0x2103d9(0x298)]()+_0x2103d9(0x244);return(await this[_0x2103d9(0x303)]['post'](_0x35e30c,{'body':_0x49e288}))[_0x2103d9(0x2d5)][_0x2103d9(0x3c8)];}async[_0x342d1a(0x177)](_0x64a9aa){var _0x59fbd3=_0x342d1a;const _0x100e51=this[_0x59fbd3(0x298)]()+'/'+_0x64a9aa[_0x59fbd3(0x319)]+_0x59fbd3(0x272)+_0x64a9aa[_0x59fbd3(0x37d)];await this['_HTTPService'][_0x59fbd3(0x38f)](_0x100e51,{'body':_0x64a9aa});}async[_0x342d1a(0x391)](_0x19dd52){var _0x7b59fb=_0x342d1a;const _0x21209b=this['_getAPIPrefixPath']()+'/'+_0x19dd52['objectType']+'/object/'+_0x19dd52['objectID']+_0x7b59fb(0x36e);return(await this['_HTTPService'][_0x7b59fb(0x125)](_0x21209b,{'body':_0x19dd52}))[_0x7b59fb(0x2d5)][_0x7b59fb(0x1b0)];}async['batchAllowed'](_0x1175e8){var _0x524e03=_0x342d1a;const _0x3c1f5b=this[_0x524e03(0x298)]()+'/-/object/-/batch_allowed';return(await this[_0x524e03(0x303)][_0x524e03(0x125)](_0x3c1f5b,{'body':{'requests':_0x1175e8}}))[_0x524e03(0x2d5)][_0x524e03(0x230)];}async['listRoles'](_0x263bc8){var _0x21258d=_0x342d1a;const _0x8a4797=this[_0x21258d(0x298)]()+'/'+_0x263bc8['objectType']+_0x21258d(0x350),_0xd42cbc=await this[_0x21258d(0x303)][_0x21258d(0x125)](_0x8a4797,{'body':_0x263bc8});return{'roles':_0xd42cbc[_0x21258d(0x2d5)][_0x21258d(0x2e2)],'actions':_0xd42cbc['body']['actions']};}async['deleteCollaborator'](_0x24a015){var _0x1955a8=_0x342d1a;const _0x311f4d=this[_0x1955a8(0x298)]()+_0x1955a8(0x109);await this[_0x1955a8(0x303)]['delete'](_0x311f4d,{'params':{'collaboratorID':_0x24a015[_0x1955a8(0x3b8)],'objectID':_0x24a015[_0x1955a8(0x37d)],'unitID':_0x24a015['unitID']}});}async['updateCollaborator'](_0x278db4){var _0x3e559e=_0x342d1a;const _0x4df442=this[_0x3e559e(0x298)]()+_0x3e559e(0x109);await this[_0x3e559e(0x303)][_0x3e559e(0x2d2)](_0x4df442,{'body':_0x278db4});}async[_0x342d1a(0x316)](_0xd018ce){var _0x273bd6=_0x342d1a;const _0xcfd647=this[_0x273bd6(0x298)]()+_0x273bd6(0x109);await this[_0x273bd6(0x303)][_0x273bd6(0x125)](_0xcfd647,{'body':_0xd018ce});}async[_0x342d1a(0xeb)](_0x504ab7){var _0x1efe45=_0x342d1a;const _0x32ec1f=this[_0x1efe45(0x298)]()+_0x1efe45(0x109);return(await this[_0x1efe45(0x303)]['get'](_0x32ec1f,{'params':{'objectID':_0x504ab7['objectID'],'unitID':_0x504ab7[_0x1efe45(0x34a)]}}))[_0x1efe45(0x2d5)][_0x1efe45(0x307)];}async[_0x342d1a(0x1a4)](_0x1dc6fd){var _0xd86b72=_0x342d1a;const _0xb4f556=this[_0xd86b72(0x298)]()+_0xd86b72(0x109);await this[_0xd86b72(0x303)]['put'](_0xb4f556,{'body':_0x1dc6fd});}};Rt=Dr([Xt(0x0,_0x3469e4(_0x2ab91c)),Xt(0x1,_0x3469e4(_0xfb9dba))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x269291){var _0x211f2d=_0x342d1a;return _0x269291&&_0x269291[_0x211f2d(0x198)]&&Object['prototype']['hasOwnProperty']['call'](_0x269291,'default')?_0x269291['default']:_0x269291;}var Ve={'exports':{}};function _0x275d(){var _0x5be8f8=['joinEvent','getFocusedUnit','onLocalMutation','wsSessionTicketUrl','confirm','list','getCurrentSelections','/fetchmissing?from=','has','JOIN_ROOM_PERMISSION_DENIED','/universer-api/authz','createInstance','_httpService','getCurrentRevOfUnit','onRemoteAck','_isPermissionRej','format','NOT_FOUND','session.join-failed','compute','bind','session.room-cnt-exceeds','_changesetSessionId','debug','POST','[OfflineState]:\x20received\x20changeset.','_throwTelemetryCollaborationNewChangeset','avatar','{fileID}','_sheetTransformSelectionsService','unitID','_fetchMissChangesets','iterations','appendMutation','UNKNOWN_CODE','getMember','/role','blockSize','getUnit','_collaborationSessionService','onTransformSelections','\x0aCurrent:\x20','onload','_commentUpdate$','[CollaborationSession]','collaboration_new_changeset','_shouldReportTelemetry','CLOSE_ROOM','/resources','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','randomUUID','call','MD5','_initRequestHeader','_memberService','includes','CHANGESET_REJ','Cipher','[FetchMissState]','_startTelemetryCollaborationNewChangeset','SNAPSHOT_HAS_BEEN_REMOVED','baseRev','_permissionService','JOIN','_decreaseWaiting','UNIVER_UNKNOWN','/allowed','uploadFileServerUrl','_keyPriorReset','LICENSE_MAX_UNITS_EXCEEDED','__creator','onlyLocal','byteOffset','isArray','AWAITING','loadUnit','COMPRESS_MUTATION_APPLY','collabWebSocketUrl','COLLAB_WEB_SOCKET_URL','workbook','revision','objectID','_replayCachedMutations','_substituteUndoStack','_rescheduleHeartbeat','entityInit$','push','APPLY_REJECT','APPLY_DUPLICATED','forEach','onTransformState','PasswordBasedCipher','INVALID_ARGUMENT','COLLAB_SUBMIT_CHANGESET_URL','/universer-api/uniscript','12AnVLAW','sessionStatus$','_commandService','HELLO','put','UPDATE_PERMISSION_OBJ','allowed','_onLocalMutation','_onRemoteRejected','LIVESHARE_TERMINATE','_config','_status$','JOIN_ROOM_NOT_EXISTS','lib','/universer-api/snapshot','unitId','/object','_instanceService','connection\x20error','crypto','updateOfflineData','UNKNOWN_CMD','_resendTimer','subscribe','&source=','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_createHandler','clone','/universer-api/oidc/authpage','session.room-full','NEW_CHANGESETS','COMPRESS_MUTATION_SEND','_scheduleCompleteTimestamp','waitForRoom$','symbol','fetchMiss','_socket$','[UniverCollaborationClientPlugin]','_scheduleCollaborationTimeoutTimer','_transitionLocked','_transformUndoredo','c1Prime','_sessionStatus$','_getSignURL','_onRecvEvent','collaboratorID','stringify','hasher','repeat','image/png','mutations','updatePermissionPoint','_state$','_socketReady','sid','2738995yqTtfI','image/jpeg','algo','reconnect','encryptBlock','_updateLocalCache','objects','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','saveChangeset','filter','session','9713496jnpbqT','HEARTBEAT_TIMEOUT','mixIn','PERSON','OPTIONAL','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','HEARTBEAT','/universer-api/snapshot/','finalize','defineProperty','ENSURE_SNAPSHOT_EXECUTION','toLowerCase','reset','/universer-api/stream/file/upload','ONLINE','target','_initUnitPermissionChange','EvpKDF','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_doCryptBlock','loadOfflineData','_onFetchMissResult','_resendWithTimeout','_nDataBytes','_networkConditionService','UnitEmbedded','_mode','9rahpWT','asObservable','withCredentials','UNIVER_SHEET','_unlockTransition','YUUMI_RATE_OVER_LIMIT','incrementRevOfUnit','createDecryptor','_revisionService','StreamCipher','delete','resolve','COMPLETION_FINISHED','listCollaborators','telemetry\x20info\x20is\x20not\x20initialized','?size=','enableSingleActiveInstanceLock','APPLY_REVISION_CONFILICT','_clearCollaborationTimeoutTimer','action','roomInfos','TOO_MANY_REQUESTS','_incrementRevisionNumber','pipe','emitEvent','csRejEvent','getUnitStatus$','hostname','clamp','_tryEnsureSocket','[OfflineState]:\x20received\x20rejection.','userID','_emitMembers','LIVESHARE_FETCH_OPERATIONS','submit\x20changeset\x20error!','_handler','_registerDependencies','INTERNAL_ERROR','eventID','from','clear','getRandomValues','_logService','/collaborator','get','UNIVER_DOC','[CollaborationState]:\x20apply\x20error!','loginUrlKey','decrypt','_substituteRedoStack','byteLength','rev','dispose','OTHER_CLIENT_EDITING','NoPadding','_reverseMap','_retryConnectingTimer','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','words','getTypeOfUnitDisposed$','onRemoteRetry','localCacheService','_clearHeartbeatTimer','entries','HttpImport','LEAVE','_onConnectionOpen','cfg','[PendingState]:\x20unhandled\x20univer\x20type:\x20','[CollaborationEntity]','c2Prime','post','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','synced','max','_resendTimeout','memberID','GLOBAL_ROOMS_CNT_EXCEEDS','loadDoc','enc','_members$','href','_queuedRemoteChangesets','_minBufferSize','next','resourceIDs','FAIL','collaboration-client.local-cache-service','every','subject','_executeRemoteChangeset','_createInitialState','_exhaustRemoteChangesetQueue','_updateStatus','onStarting','USERS_ENTER','onRemoteChangeset','_collaborationUIEventService','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','selections','close$','splice','_roomCreated$','LICENSE_EXPORT_SIZE_EXCEEDED','socket\x20close','routeKey','OFFLINE','CONFLICT','SUBMIT_CHANGESET_TIMEOUT','_getSessionTicket','registerHTTPInterceptor','CHANGESET_SHOULD_RETRY','_onOffline','pending','_hash','IDLE','_joinRoom','reqId','_onRemoteACK','_createHelper','_doFinalize','params','Base','signUrlServerUrl','&to=','onCommentUpdate','now','_oKey','getSnapshotAPIPath','responseType','_nRounds','reject','SUBMIT_CHANGESET','stopTime','Undefined','ERROR_EXCEED_SIZE','_waitForHeartbeatResponse','_startCollaboration','complete','PSEUDO_FETCH_MISSING_RESULT','unitInfo$','_getAPIPrefix','&assign=','key','_DEC_XFORM_MODE','53099172VOTsJJ','resend','[PendingState]:\x20received\x20rejection.','Could\x20not\x20dynamically\x20require\x20\x22','_entities','transformUndoRedo','interceptor','length','update','onTransformRemoteChangesetByIMECache','map','json','YUUMI_URL_COL_OUT_OF_RANGE','encode','getWorkbookSelections','JOIN_ROOM_FULL','floor','USERS_LEAVE','findIndex','sendChangesetTimeout','_state','_waitCount','runId','fetchMissingChangesets','ciphertext','getUnitOnRev','execute','SYNCED','onStateChange','then','_localeService','transformMutationsWithChangeset','isPermissionRej','parse','_xformMode','_socket','UPDATE_CURSOR','getTime','getTypeOfUnitAdded$','encrypt','indexOf','__esModule','getAllMembers','exports','_unitID','kdf','_roomMembers','_createSocketURL','_onConnectionFailed','_change$','encodeURIComponent','_redoStacks','PENDING','putCollaborators','FETCH_MISS','Hasher','univer-pro.collaboration-client.network-condition.service','closeSession','_awaitingChangeset','onTransformIME','failed\x20to\x20apply\x20missed\x20changesets!','_iKey','event$','\x20-\x20','msCrypto','actions','UNIVER_COLLABORATION_CLIENT_PLUGIN','override','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','BufferedBlockAlgorithm','_socketMessageSubscription','unsubscribe','AES','_handlerCallback','SOCKET_FAILED_RETRY','removeMember','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','INGEST','slice','[PendingState]:\x20received\x20acknowledgement.','charAt','subUnitId','textRanges','randomBytes','_schedule','getCurrentUser','fetchThroughInterceptors','PERMISSION_DENIED','CHANGESET_REVISION_CONFILICT','_createHmacHelper','_configService','substr','state','readAsDataURL','searchParams','equals','values','title','_members','_onUserLeave','transformStack\x20failed!','toggleOnline','212594tetFJt','getLatestCsReqIdBySid','_candidateSocket','refreshPermission','getImage','UnitSnapshot','[CollaborationSessionService]','_map','APPLY_PERMISSION_DENIED','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','RECV','\x0aAfter:\x20','setConfig','1367907DFofyK','YUUMI_UNABLE_LOAD_URL','_clearRedo','_onJoinRoomEvent','_loadSheet','liveShareNewHost','setCurrentUser','charCodeAt','setShowComponents','getOwnPropertyDescriptor','csAckEvent','getConfig','BlockCipher','Encryptor','/universer-api/comb','SHOULD_CLOSE_CONN','RETRY_CONNECTING_MAX_COUNT','_type','requestParams','getResourcesRequest','onRemoteRej','LIVESHARE_REQUEST_HOST','catch','status$','online$','addImageSourceCache','BASE64','localeService','enableAuthServer','_timeoutTimer','onMissingChangesets','getImageSourceCache','OpenSSL','[CollaborationUndoRedoService]','set','change$','_onCombEvent','sessionTicket','type','SerializableCipher','_collabSessionService','_cipher','mode','PERMISSION_REJ','join','__Key__','_data','_listenToNetworkCondition','SUCCUSS','_ENC_XFORM_MODE','$super','members$','LIVESHARE_NEW_HOST','reduce','decryptBlock','function','ivSize','[DataLoaderService]','APPLY_NON_SEQUENTIAL_REVISION','_entityInit$','_sendingTimer','method','socket\x20open.','_transformSelections','HmacMD5','transformChangesets','salt','LIVESHARE_OPERATION','extend','_undoStacks','_telemetryService','getDeserializedSheetBlock','SOCKET_FAILED','SNAPSHOT_URL_KEY','deepClone','_initDependencies','duration','_commentService','objectActions','getMemberID','rng','/block/','originalMeta','auth.needGotoLoginAlert','state$','open$','Decryptor','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','origin','ALREADY_EXISTS','cmd','_getCtorByUniverType','result','snapshot','_replaceFileID','image/bmp','shouldCloseConn','_onMessage','/-/object/list','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_clearTimeoutTimer','pad','send','Malformed\x20UTF-8\x20data','_retryCount','_onUserJoin','retryConnectingInterval','_getUploadFileURL','_parse','getValue','_lockTransition','csShouldRetryEvent','_tryReconnect','search','_univerInstanceService','_updateState','_toggleOffline','_initCloseConn','error$','_http','commentUpdate$','session.room-not-exists','_transformStateCache','onSendChangeset','_submitChangeset','data','initWorkbookPermissionChange','onTransformRemoteChangesetByStateCache','concat','close','_singleActiveUnitService','name','_compressMutationService','_createSocket','image/jpg','toggleOffline','UUID','CONNECTOR_DATA_TOO_LARGE','UNRECOGNIZED','_pendingMutations','image/gif','dispose$','commentUpdateEvent','toString','/object/','abs','find','string','_getRedoStack','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_snapshotServerService','socket$','getCollabEntity','saveSheetBlock','_getCurrentRevision','error','_localCacheService','AWAITING_WITH_PENDING','_process','WordArray','_sender','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','FETCH_MISSING','add','awaiting','awaiting_with_pending','status','DEFAULT_FILE_NAME','getActiveSheet','_checkMissing','HMAC','location','code','LICENSE_IMPORT_SIZE_EXCEEDED','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_sendHeartbeat','collaMsg','_undoRedoService','unitId\x20is\x20not\x20found','Univer','fromCollab','url','_getAPIPrefixPath','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_userManagerService','SNAPSHOT_SERVER_URL_KEY','fetching\x20missing\x20changesets\x20from\x20','_key','HttpExport','getInterceptPoints','_doReset','createEncryptor','LOCAL_CACHE_INTERVAL','prototype','keySize','_collaborationPaused','_syncEditingCollabCursor','getUnitId','YUUMI_SUBSCRIPTION_NOT_FOUND','_eventService','message$','src','SNAPSHOT_INVALID_SNAPSHOT','_sessions','CBC','_injector','[SyncedState]:\x20received\x20acknowledgement.','disableLocalCache','size','[CollaborationSessionService]:\x20socket\x20error','[SyncedState]:\x20received\x20rejection.','CHANGESET_ACK','create','_changesetReqId','random','_transformRemoteChangesetByStateCache','_snapshotService','JOINING','executeCommand','UNIVER_PROJECT','_transformService','UNISCRIPT_RUN','x-univer-host','updateMember','_getUndoStack','_append','addHandlerCallback','application/json','init','7994567puhflZ','/unit/','MSG_FOR_ERROR','People','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','not_collab','sigBytes','JOIN_ROOM_FAILED','disposeWithMe','editing\x20status\x20changed\x20to','_transformStack','patch','padding','loadSheet','body','BlockCipherMode','Hex','FileId','_removeRoom','capture','requireSession','headers','_prevBlock','_init','collaboration-client.config','_unitInfo$','copyFileMeta','roles','permissionRejEvent','getCollabEntity$','_getSendChangesetTimeout','_socketService','onCommandExecuted','hasOwnProperty','range','fromCharCode','liveShareOperation','UNDEFINED','/universer-api/user/session-ticket','collabSubmitChangesetUrl','authzUrl','conflict','_toggleOnline','m2Prime','_sendHeartbeatTimer','_hasher','createSocket','_applyRemoteChangeset','Error\x20on\x20receiving\x20event','updateCursorEvent','getRoom','_remoteChangesetQueue','_onRemoteChangeset','_keySchedule','uniscriptRunEvent','_onRemoteRetry','leaveEvent','_acknowledgedAwaitingChangeset','_getLoginPath','Utf8','_HTTPService','MUTATION','ERROR_IMAGE','EXCHANGE_SIGN_URL_SERVER_URL_KEY','collaborators','_showConflictNotification','sessionStatus','unknown','SHA1','offline','10412528Omqgmf','awaitingChangeset','_event$','_initMergeInterceptor','/rev/','UNAUTHENTICATED','editingUnit','_transformRemoteChangesetByIMECache','_iv','createCollaborator','_getDownloadEndpointURL','onSyncEditingCollabCursor','objectType','_invKeySchedule','getSheetBlock','Base64','_imageSourceCache','onMissedChangesetFetched','_onConflict','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_disableEditing','sheets','apply','NO_OTHER_CLIENTS_EDITING','updatePermissionObjEvent','_telemetryInfo','append','_clearScheduledTask','save\x20fail\x20reason\x20is\x20','_stopTelemetryCollaborationNewChangeset','_collaborationTimeoutTimer'];_0x275d=function(){return _0x5be8f8;};return _0x275d();}function wr(_0x3db8d4){var _0x28a1c9=_0x342d1a;throw new Error(_0x28a1c9(0x172)+_0x3db8d4+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},Ur=Ge['exports'],Zt;function se(){return Zt||(Zt=0x1,function(_0x1aba43,_0x573562){(function(_0x4224a1,_0x557fd3){var _0x25f987=_0x1d1c;_0x1aba43[_0x25f987(0x19a)]=_0x557fd3();}(Ur,function(){var _0x4c15c7=_0x4c15c7||function(_0x85a18c,_0x5b54bd){var _0x3eafa1=_0x1d1c,_0x2d7b69;if(typeof window<'u'&&window[_0x3eafa1(0x39e)]&&(_0x2d7b69=window[_0x3eafa1(0x39e)]),typeof self<'u'&&self[_0x3eafa1(0x39e)]&&(_0x2d7b69=self[_0x3eafa1(0x39e)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x2d7b69=globalThis['crypto']),!_0x2d7b69&&typeof window<'u'&&window[_0x3eafa1(0x1af)]&&(_0x2d7b69=window[_0x3eafa1(0x1af)]),!_0x2d7b69&&typeof pt<'u'&&pt['crypto']&&(_0x2d7b69=pt['crypto']),!_0x2d7b69&&typeof wr==_0x3eafa1(0x219))try{_0x2d7b69=require(_0x3eafa1(0x39e));}catch{}var _0x375a1b=function(){var _0x4c9574=_0x3eafa1;if(_0x2d7b69){if(typeof _0x2d7b69[_0x4c9574(0x107)]==_0x4c9574(0x219))try{return _0x2d7b69[_0x4c9574(0x107)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2d7b69[_0x4c9574(0x1c2)]==_0x4c9574(0x219))try{return _0x2d7b69[_0x4c9574(0x1c2)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x4c9574(0x140));},_0x516852=Object[_0x3eafa1(0x2b6)]||(function(){function _0x453766(){}return function(_0x8e99f3){var _0x2faa5c=_0x1d1c,_0x5157bf;return _0x453766[_0x2faa5c(0x2a3)]=_0x8e99f3,_0x5157bf=new _0x453766(),_0x453766[_0x2faa5c(0x2a3)]=null,_0x5157bf;};}()),_0x2b62dc={},_0x309266=_0x2b62dc[_0x3eafa1(0x398)]={},_0x5f26e7=_0x309266['Base']=(function(){return{'extend':function(_0x45d855){var _0x52f54f=_0x1d1c,_0xc72dcc=_0x516852(this);return _0x45d855&&_0xc72dcc[_0x52f54f(0x3cf)](_0x45d855),(!_0xc72dcc['hasOwnProperty'](_0x52f54f(0x2c6))||this[_0x52f54f(0x2c6)]===_0xc72dcc[_0x52f54f(0x2c6)])&&(_0xc72dcc['init']=function(){var _0x5e42e5=_0x52f54f;_0xc72dcc[_0x5e42e5(0x214)][_0x5e42e5(0x2c6)][_0x5e42e5(0x323)](this,arguments);}),_0xc72dcc[_0x52f54f(0x2c6)][_0x52f54f(0x2a3)]=_0xc72dcc,_0xc72dcc[_0x52f54f(0x214)]=this,_0xc72dcc;},'create':function(){var _0x537118=_0x1d1c,_0x229bf1=this[_0x537118(0x226)]();return _0x229bf1[_0x537118(0x2c6)][_0x537118(0x323)](_0x229bf1,arguments),_0x229bf1;},'init':function(){},'mixIn':function(_0x451d7a){var _0x30c646=_0x1d1c;for(var _0x20102b in _0x451d7a)_0x451d7a[_0x30c646(0x2e8)](_0x20102b)&&(this[_0x20102b]=_0x451d7a[_0x20102b]);_0x451d7a[_0x30c646(0x2e8)](_0x30c646(0x271))&&(this[_0x30c646(0x271)]=_0x451d7a[_0x30c646(0x271)]);},'clone':function(){var _0x820fa3=_0x1d1c;return this[_0x820fa3(0x2c6)][_0x820fa3(0x2a3)][_0x820fa3(0x226)](this);}};}()),_0x10a632=_0x309266[_0x3eafa1(0x281)]=_0x5f26e7[_0x3eafa1(0x226)]({'init':function(_0x5442f0,_0x29d8b3){var _0x179da3=_0x3eafa1;_0x5442f0=this['words']=_0x5442f0||[],_0x29d8b3!=_0x5b54bd?this['sigBytes']=_0x29d8b3:this[_0x179da3(0x2cd)]=_0x5442f0[_0x179da3(0x176)]*0x4;},'toString':function(_0x349f05){return(_0x349f05||_0x1a62d2)['stringify'](this);},'concat':function(_0x18131f){var _0x50a35b=_0x3eafa1,_0x44c45f=this['words'],_0x16a439=_0x18131f[_0x50a35b(0x118)],_0x173f05=this[_0x50a35b(0x2cd)],_0x35dec9=_0x18131f[_0x50a35b(0x2cd)];if(this[_0x50a35b(0xfa)](),_0x173f05%0x4)for(var _0x528059=0x0;_0x528059<_0x35dec9;_0x528059++){var _0x225bfa=_0x16a439[_0x528059>>>0x2]>>>0x18-_0x528059%0x4*0x8&0xff;_0x44c45f[_0x173f05+_0x528059>>>0x2]|=_0x225bfa<<0x18-(_0x173f05+_0x528059)%0x4*0x8;}else{for(var _0x35b1cc=0x0;_0x35b1cc<_0x35dec9;_0x35b1cc+=0x4)_0x44c45f[_0x173f05+_0x35b1cc>>>0x2]=_0x16a439[_0x35b1cc>>>0x2];}return this[_0x50a35b(0x2cd)]+=_0x35dec9,this;},'clamp':function(){var _0x415314=_0x3eafa1,_0x34e776=this['words'],_0x54980e=this['sigBytes'];_0x34e776[_0x54980e>>>0x2]&=0xffffffff<<0x20-_0x54980e%0x4*0x8,_0x34e776[_0x415314(0x176)]=_0x85a18c['ceil'](_0x54980e/0x4);},'clone':function(){var _0x3cf7b2=_0x3eafa1,_0x583a34=_0x5f26e7['clone'][_0x3cf7b2(0x35f)](this);return _0x583a34[_0x3cf7b2(0x118)]=this[_0x3cf7b2(0x118)][_0x3cf7b2(0x1bd)](0x0),_0x583a34;},'random':function(_0x3ae535){for(var _0x3d0f21=[],_0x157d78=0x0;_0x157d78<_0x3ae535;_0x157d78+=0x4)_0x3d0f21['push'](_0x375a1b());return new _0x10a632['init'](_0x3d0f21,_0x3ae535);}}),_0x392270=_0x2b62dc['enc']={},_0x1a62d2=_0x392270[_0x3eafa1(0x2d7)]={'stringify':function(_0xc3636e){var _0x2e55d6=_0x3eafa1;for(var _0x25fa27=_0xc3636e[_0x2e55d6(0x118)],_0x18601f=_0xc3636e[_0x2e55d6(0x2cd)],_0x51e940=[],_0x56458c=0x0;_0x56458c<_0x18601f;_0x56458c++){var _0x17271a=_0x25fa27[_0x56458c>>>0x2]>>>0x18-_0x56458c%0x4*0x8&0xff;_0x51e940[_0x2e55d6(0x382)]((_0x17271a>>>0x4)[_0x2e55d6(0x271)](0x10)),_0x51e940[_0x2e55d6(0x382)]((_0x17271a&0xf)[_0x2e55d6(0x271)](0x10));}return _0x51e940['join']('');},'parse':function(_0x4595b1){var _0x5a1c84=_0x3eafa1;for(var _0x50e040=_0x4595b1[_0x5a1c84(0x176)],_0x370058=[],_0x539d93=0x0;_0x539d93<_0x50e040;_0x539d93+=0x2)_0x370058[_0x539d93>>>0x3]|=parseInt(_0x4595b1[_0x5a1c84(0x1ca)](_0x539d93,0x2),0x10)<<0x18-_0x539d93%0x8*0x4;return new _0x10a632['init'](_0x370058,_0x50e040/0x2);}},_0x168815=_0x392270['Latin1']={'stringify':function(_0x20fdb0){var _0x19b4c7=_0x3eafa1;for(var _0x4848c0=_0x20fdb0[_0x19b4c7(0x118)],_0x28cd55=_0x20fdb0[_0x19b4c7(0x2cd)],_0x39f61e=[],_0x28f1de=0x0;_0x28f1de<_0x28cd55;_0x28f1de++){var _0x16cd88=_0x4848c0[_0x28f1de>>>0x2]>>>0x18-_0x28f1de%0x4*0x8&0xff;_0x39f61e[_0x19b4c7(0x382)](String[_0x19b4c7(0x2ea)](_0x16cd88));}return _0x39f61e[_0x19b4c7(0x20e)]('');},'parse':function(_0x33469e){var _0x52e0e7=_0x3eafa1;for(var _0x4737f8=_0x33469e[_0x52e0e7(0x176)],_0x45b969=[],_0x43b027=0x0;_0x43b027<_0x4737f8;_0x43b027++)_0x45b969[_0x43b027>>>0x2]|=(_0x33469e[_0x52e0e7(0x1e9)](_0x43b027)&0xff)<<0x18-_0x43b027%0x4*0x8;return new _0x10a632[(_0x52e0e7(0x2c6))](_0x45b969,_0x4737f8);}},_0x4d59fa=_0x392270[_0x3eafa1(0x302)]={'stringify':function(_0x49bdd7){var _0x50b2ec=_0x3eafa1;try{return decodeURIComponent(escape(_0x168815[_0x50b2ec(0x3b9)](_0x49bdd7)));}catch{throw new Error(_0x50b2ec(0x249));}},'parse':function(_0xd8624){var _0x5edf22=_0x3eafa1;return _0x168815[_0x5edf22(0x190)](unescape(encodeURIComponent(_0xd8624)));}},_0x323b18=_0x309266[_0x3eafa1(0x1b4)]=_0x5f26e7[_0x3eafa1(0x226)]({'reset':function(){var _0x40643e=_0x3eafa1;this[_0x40643e(0x210)]=new _0x10a632[(_0x40643e(0x2c6))](),this[_0x40643e(0xda)]=0x0;},'_append':function(_0x5039de){var _0x6cacd8=_0x3eafa1;typeof _0x5039de=='string'&&(_0x5039de=_0x4d59fa['parse'](_0x5039de)),this[_0x6cacd8(0x210)][_0x6cacd8(0x262)](_0x5039de),this['_nDataBytes']+=_0x5039de[_0x6cacd8(0x2cd)];},'_process':function(_0x1c109d){var _0x196ece=_0x3eafa1,_0x41cf3b,_0x24e2b4=this['_data'],_0x52235a=_0x24e2b4[_0x196ece(0x118)],_0x4927f9=_0x24e2b4[_0x196ece(0x2cd)],_0x2bc421=this[_0x196ece(0x351)],_0x1114f3=_0x2bc421*0x4,_0x30d016=_0x4927f9/_0x1114f3;_0x1c109d?_0x30d016=_0x85a18c['ceil'](_0x30d016):_0x30d016=_0x85a18c[_0x196ece(0x128)]((_0x30d016|0x0)-this[_0x196ece(0x131)],0x0);var _0x34cf9a=_0x30d016*_0x2bc421,_0x493707=_0x85a18c['min'](_0x34cf9a*0x4,_0x4927f9);if(_0x34cf9a){for(var _0xe313c7=0x0;_0xe313c7<_0x34cf9a;_0xe313c7+=_0x2bc421)this['_doProcessBlock'](_0x52235a,_0xe313c7);_0x41cf3b=_0x52235a[_0x196ece(0x143)](0x0,_0x34cf9a),_0x24e2b4[_0x196ece(0x2cd)]-=_0x493707;}return new _0x10a632[(_0x196ece(0x2c6))](_0x41cf3b,_0x493707);},'clone':function(){var _0x309d27=_0x3eafa1,_0x3c51c=_0x5f26e7[_0x309d27(0x3a6)][_0x309d27(0x35f)](this);return _0x3c51c[_0x309d27(0x210)]=this[_0x309d27(0x210)]['clone'](),_0x3c51c;},'_minBufferSize':0x0});_0x309266[_0x3eafa1(0x1a6)]=_0x323b18[_0x3eafa1(0x226)]({'cfg':_0x5f26e7[_0x3eafa1(0x226)](),'init':function(_0x189d57){var _0x20902c=_0x3eafa1;this[_0x20902c(0x121)]=this[_0x20902c(0x121)][_0x20902c(0x226)](_0x189d57),this[_0x20902c(0x3d9)]();},'reset':function(){var _0x4ad7fc=_0x3eafa1;_0x323b18[_0x4ad7fc(0x3d9)]['call'](this),this['_doReset']();},'update':function(_0x2b6931){var _0x23ffd9=_0x3eafa1;return this['_append'](_0x2b6931),this[_0x23ffd9(0x280)](),this;},'finalize':function(_0x45a238){var _0x4ed1b5=_0x3eafa1;_0x45a238&&this[_0x4ed1b5(0x2c3)](_0x45a238);var _0x29653c=this[_0x4ed1b5(0x156)]();return _0x29653c;},'blockSize':0x10,'_createHelper':function(_0x30296e){return function(_0x3a0b03,_0x4bbf6e){var _0x5050bd=_0x1d1c;return new _0x30296e['init'](_0x4bbf6e)[_0x5050bd(0x3d5)](_0x3a0b03);};},'_createHmacHelper':function(_0x2260b6){return function(_0x3fff2d,_0x4d21ee){var _0x44c744=_0x1d1c;return new _0x2d41af[(_0x44c744(0x28c))]['init'](_0x2260b6,_0x4d21ee)[_0x44c744(0x3d5)](_0x3fff2d);};}});var _0x2d41af=_0x2b62dc[_0x3eafa1(0x3c4)]={};return _0x2b62dc;}(Math);return _0x4c15c7;}));}(Ge)),Ge['exports'];}var We={'exports':{}},Ar=We['exports'],Qt;function wi(){var _0x1a4cd3=_0x342d1a;return Qt||(Qt=0x1,function(_0x1d694c,_0x2e79b6){(function(_0x2a1b49,_0x3af561){_0x1d694c['exports']=_0x3af561(se());}(Ar,function(_0x555b6f){return(function(){var _0x4aff24=_0x1d1c,_0x1788ac=_0x555b6f,_0x55d54f=_0x1788ac[_0x4aff24(0x398)],_0xfca54e=_0x55d54f[_0x4aff24(0x281)],_0x2b657a=_0x1788ac[_0x4aff24(0x12d)];_0x2b657a[_0x4aff24(0x31c)]={'stringify':function(_0x416e82){var _0x7f1ec=_0x4aff24,_0x5de8f4=_0x416e82[_0x7f1ec(0x118)],_0x33988c=_0x416e82[_0x7f1ec(0x2cd)],_0x1517cb=this['_map'];_0x416e82['clamp']();for(var _0x4e72b7=[],_0x3107be=0x0;_0x3107be<_0x33988c;_0x3107be+=0x3)for(var _0x2f1178=_0x5de8f4[_0x3107be>>>0x2]>>>0x18-_0x3107be%0x4*0x8&0xff,_0x105f2f=_0x5de8f4[_0x3107be+0x1>>>0x2]>>>0x18-(_0x3107be+0x1)%0x4*0x8&0xff,_0x137a56=_0x5de8f4[_0x3107be+0x2>>>0x2]>>>0x18-(_0x3107be+0x2)%0x4*0x8&0xff,_0x244422=_0x2f1178<<0x10|_0x105f2f<<0x8|_0x137a56,_0x3d323a=0x0;_0x3d323a<0x4&&_0x3107be+_0x3d323a*0.75<_0x33988c;_0x3d323a++)_0x4e72b7[_0x7f1ec(0x382)](_0x1517cb[_0x7f1ec(0x1bf)](_0x244422>>>0x6*(0x3-_0x3d323a)&0x3f));var _0x313f28=_0x1517cb[_0x7f1ec(0x1bf)](0x40);if(_0x313f28){for(;_0x4e72b7[_0x7f1ec(0x176)]%0x4;)_0x4e72b7[_0x7f1ec(0x382)](_0x313f28);}return _0x4e72b7[_0x7f1ec(0x20e)]('');},'parse':function(_0x4eed85){var _0x3b7c0b=_0x4aff24,_0x17742e=_0x4eed85[_0x3b7c0b(0x176)],_0x5f4685=this[_0x3b7c0b(0x1dc)],_0x264edd=this[_0x3b7c0b(0x115)];if(!_0x264edd){_0x264edd=this[_0x3b7c0b(0x115)]=[];for(var _0x1b681d=0x0;_0x1b681d<_0x5f4685[_0x3b7c0b(0x176)];_0x1b681d++)_0x264edd[_0x5f4685[_0x3b7c0b(0x1e9)](_0x1b681d)]=_0x1b681d;}var _0x2dca59=_0x5f4685[_0x3b7c0b(0x1bf)](0x40);if(_0x2dca59){var _0x30434b=_0x4eed85[_0x3b7c0b(0x197)](_0x2dca59);_0x30434b!==-0x1&&(_0x17742e=_0x30434b);}return _0x48838c(_0x4eed85,_0x17742e,_0x264edd);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x48838c(_0x1fc5eb,_0x38b55d,_0x13d0ca){var _0x38353a=_0x4aff24;for(var _0x48336d=[],_0x3a65bf=0x0,_0x2490d7=0x0;_0x2490d7<_0x38b55d;_0x2490d7++)if(_0x2490d7%0x4){var _0x2e2ab8=_0x13d0ca[_0x1fc5eb[_0x38353a(0x1e9)](_0x2490d7-0x1)]<<_0x2490d7%0x4*0x2,_0x4fa35f=_0x13d0ca[_0x1fc5eb[_0x38353a(0x1e9)](_0x2490d7)]>>>0x6-_0x2490d7%0x4*0x2,_0x20c960=_0x2e2ab8|_0x4fa35f;_0x48336d[_0x3a65bf>>>0x2]|=_0x20c960<<0x18-_0x3a65bf%0x4*0x8,_0x3a65bf++;}return _0xfca54e[_0x38353a(0x2b6)](_0x48336d,_0x3a65bf);}}()),_0x555b6f['enc']['Base64'];}));}(We)),We[_0x1a4cd3(0x19a)];}var Ke={'exports':{}},xr=Ke[_0x342d1a(0x19a)],ei;function Lr(){var _0x246b71=_0x342d1a;return ei||(ei=0x1,function(_0x3ac69a,_0x16f8ac){(function(_0x328ddc,_0x102f46){var _0x2dc4ef=_0x1d1c;_0x3ac69a[_0x2dc4ef(0x19a)]=_0x102f46(se());}(xr,function(_0x2c3498){return function(_0x2fef3e){var _0x2013f6=_0x1d1c,_0xbf37f=_0x2c3498,_0x479747=_0xbf37f[_0x2013f6(0x398)],_0x55de06=_0x479747[_0x2013f6(0x281)],_0x16ed08=_0x479747[_0x2013f6(0x1a6)],_0x5d2331=_0xbf37f['algo'],_0x270260=[];(function(){var _0x131854=_0x2013f6;for(var _0x1bc7c2=0x0;_0x1bc7c2<0x40;_0x1bc7c2++)_0x270260[_0x1bc7c2]=_0x2fef3e[_0x131854(0x273)](_0x2fef3e['sin'](_0x1bc7c2+0x1))*0x100000000|0x0;}());var _0x34edb0=_0x5d2331[_0x2013f6(0x360)]=_0x16ed08['extend']({'_doReset':function(){var _0x4ed160=_0x2013f6;this[_0x4ed160(0x150)]=new _0x55de06[(_0x4ed160(0x2c6))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x476699,_0x403cce){for(var _0x4a5af0=0x0;_0x4a5af0<0x10;_0x4a5af0++){var _0x3baf92=_0x403cce+_0x4a5af0,_0x104849=_0x476699[_0x3baf92];_0x476699[_0x3baf92]=(_0x104849<<0x8|_0x104849>>>0x18)&0xff00ff|(_0x104849<<0x18|_0x104849>>>0x8)&0xff00ff00;}var _0x504e14=this['_hash']['words'],_0x3512eb=_0x476699[_0x403cce+0x0],_0xc23793=_0x476699[_0x403cce+0x1],_0x3fdb7d=_0x476699[_0x403cce+0x2],_0x2430b6=_0x476699[_0x403cce+0x3],_0x425c72=_0x476699[_0x403cce+0x4],_0x2401d1=_0x476699[_0x403cce+0x5],_0x5c01f5=_0x476699[_0x403cce+0x6],_0x13b03b=_0x476699[_0x403cce+0x7],_0x45fa7d=_0x476699[_0x403cce+0x8],_0x4f4275=_0x476699[_0x403cce+0x9],_0x41b93f=_0x476699[_0x403cce+0xa],_0x2a8452=_0x476699[_0x403cce+0xb],_0x176d3c=_0x476699[_0x403cce+0xc],_0x4533f2=_0x476699[_0x403cce+0xd],_0x32d655=_0x476699[_0x403cce+0xe],_0x19fb13=_0x476699[_0x403cce+0xf],_0x5081ff=_0x504e14[0x0],_0x18f8b0=_0x504e14[0x1],_0x83666d=_0x504e14[0x2],_0x4c2cfb=_0x504e14[0x3];_0x5081ff=_0x140486(_0x5081ff,_0x18f8b0,_0x83666d,_0x4c2cfb,_0x3512eb,0x7,_0x270260[0x0]),_0x4c2cfb=_0x140486(_0x4c2cfb,_0x5081ff,_0x18f8b0,_0x83666d,_0xc23793,0xc,_0x270260[0x1]),_0x83666d=_0x140486(_0x83666d,_0x4c2cfb,_0x5081ff,_0x18f8b0,_0x3fdb7d,0x11,_0x270260[0x2]),_0x18f8b0=_0x140486(_0x18f8b0,_0x83666d,_0x4c2cfb,_0x5081ff,_0x2430b6,0x16,_0x270260[0x3]),_0x5081ff=_0x140486(_0x5081ff,_0x18f8b0,_0x83666d,_0x4c2cfb,_0x425c72,0x7,_0x270260[0x4]),_0x4c2cfb=_0x140486(_0x4c2cfb,_0x5081ff,_0x18f8b0,_0x83666d,_0x2401d1,0xc,_0x270260[0x5]),_0x83666d=_0x140486(_0x83666d,_0x4c2cfb,_0x5081ff,_0x18f8b0,_0x5c01f5,0x11,_0x270260[0x6]),_0x18f8b0=_0x140486(_0x18f8b0,_0x83666d,_0x4c2cfb,_0x5081ff,_0x13b03b,0x16,_0x270260[0x7]),_0x5081ff=_0x140486(_0x5081ff,_0x18f8b0,_0x83666d,_0x4c2cfb,_0x45fa7d,0x7,_0x270260[0x8]),_0x4c2cfb=_0x140486(_0x4c2cfb,_0x5081ff,_0x18f8b0,_0x83666d,_0x4f4275,0xc,_0x270260[0x9]),_0x83666d=_0x140486(_0x83666d,_0x4c2cfb,_0x5081ff,_0x18f8b0,_0x41b93f,0x11,_0x270260[0xa]),_0x18f8b0=_0x140486(_0x18f8b0,_0x83666d,_0x4c2cfb,_0x5081ff,_0x2a8452,0x16,_0x270260[0xb]),_0x5081ff=_0x140486(_0x5081ff,_0x18f8b0,_0x83666d,_0x4c2cfb,_0x176d3c,0x7,_0x270260[0xc]),_0x4c2cfb=_0x140486(_0x4c2cfb,_0x5081ff,_0x18f8b0,_0x83666d,_0x4533f2,0xc,_0x270260[0xd]),_0x83666d=_0x140486(_0x83666d,_0x4c2cfb,_0x5081ff,_0x18f8b0,_0x32d655,0x11,_0x270260[0xe]),_0x18f8b0=_0x140486(_0x18f8b0,_0x83666d,_0x4c2cfb,_0x5081ff,_0x19fb13,0x16,_0x270260[0xf]),_0x5081ff=_0x4a77a3(_0x5081ff,_0x18f8b0,_0x83666d,_0x4c2cfb,_0xc23793,0x5,_0x270260[0x10]),_0x4c2cfb=_0x4a77a3(_0x4c2cfb,_0x5081ff,_0x18f8b0,_0x83666d,_0x5c01f5,0x9,_0x270260[0x11]),_0x83666d=_0x4a77a3(_0x83666d,_0x4c2cfb,_0x5081ff,_0x18f8b0,_0x2a8452,0xe,_0x270260[0x12]),_0x18f8b0=_0x4a77a3(_0x18f8b0,_0x83666d,_0x4c2cfb,_0x5081ff,_0x3512eb,0x14,_0x270260[0x13]),_0x5081ff=_0x4a77a3(_0x5081ff,_0x18f8b0,_0x83666d,_0x4c2cfb,_0x2401d1,0x5,_0x270260[0x14]),_0x4c2cfb=_0x4a77a3(_0x4c2cfb,_0x5081ff,_0x18f8b0,_0x83666d,_0x41b93f,0x9,_0x270260[0x15]),_0x83666d=_0x4a77a3(_0x83666d,_0x4c2cfb,_0x5081ff,_0x18f8b0,_0x19fb13,0xe,_0x270260[0x16]),_0x18f8b0=_0x4a77a3(_0x18f8b0,_0x83666d,_0x4c2cfb,_0x5081ff,_0x425c72,0x14,_0x270260[0x17]),_0x5081ff=_0x4a77a3(_0x5081ff,_0x18f8b0,_0x83666d,_0x4c2cfb,_0x4f4275,0x5,_0x270260[0x18]),_0x4c2cfb=_0x4a77a3(_0x4c2cfb,_0x5081ff,_0x18f8b0,_0x83666d,_0x32d655,0x9,_0x270260[0x19]),_0x83666d=_0x4a77a3(_0x83666d,_0x4c2cfb,_0x5081ff,_0x18f8b0,_0x2430b6,0xe,_0x270260[0x1a]),_0x18f8b0=_0x4a77a3(_0x18f8b0,_0x83666d,_0x4c2cfb,_0x5081ff,_0x45fa7d,0x14,_0x270260[0x1b]),_0x5081ff=_0x4a77a3(_0x5081ff,_0x18f8b0,_0x83666d,_0x4c2cfb,_0x4533f2,0x5,_0x270260[0x1c]),_0x4c2cfb=_0x4a77a3(_0x4c2cfb,_0x5081ff,_0x18f8b0,_0x83666d,_0x3fdb7d,0x9,_0x270260[0x1d]),_0x83666d=_0x4a77a3(_0x83666d,_0x4c2cfb,_0x5081ff,_0x18f8b0,_0x13b03b,0xe,_0x270260[0x1e]),_0x18f8b0=_0x4a77a3(_0x18f8b0,_0x83666d,_0x4c2cfb,_0x5081ff,_0x176d3c,0x14,_0x270260[0x1f]),_0x5081ff=_0x1a2122(_0x5081ff,_0x18f8b0,_0x83666d,_0x4c2cfb,_0x2401d1,0x4,_0x270260[0x20]),_0x4c2cfb=_0x1a2122(_0x4c2cfb,_0x5081ff,_0x18f8b0,_0x83666d,_0x45fa7d,0xb,_0x270260[0x21]),_0x83666d=_0x1a2122(_0x83666d,_0x4c2cfb,_0x5081ff,_0x18f8b0,_0x2a8452,0x10,_0x270260[0x22]),_0x18f8b0=_0x1a2122(_0x18f8b0,_0x83666d,_0x4c2cfb,_0x5081ff,_0x32d655,0x17,_0x270260[0x23]),_0x5081ff=_0x1a2122(_0x5081ff,_0x18f8b0,_0x83666d,_0x4c2cfb,_0xc23793,0x4,_0x270260[0x24]),_0x4c2cfb=_0x1a2122(_0x4c2cfb,_0x5081ff,_0x18f8b0,_0x83666d,_0x425c72,0xb,_0x270260[0x25]),_0x83666d=_0x1a2122(_0x83666d,_0x4c2cfb,_0x5081ff,_0x18f8b0,_0x13b03b,0x10,_0x270260[0x26]),_0x18f8b0=_0x1a2122(_0x18f8b0,_0x83666d,_0x4c2cfb,_0x5081ff,_0x41b93f,0x17,_0x270260[0x27]),_0x5081ff=_0x1a2122(_0x5081ff,_0x18f8b0,_0x83666d,_0x4c2cfb,_0x4533f2,0x4,_0x270260[0x28]),_0x4c2cfb=_0x1a2122(_0x4c2cfb,_0x5081ff,_0x18f8b0,_0x83666d,_0x3512eb,0xb,_0x270260[0x29]),_0x83666d=_0x1a2122(_0x83666d,_0x4c2cfb,_0x5081ff,_0x18f8b0,_0x2430b6,0x10,_0x270260[0x2a]),_0x18f8b0=_0x1a2122(_0x18f8b0,_0x83666d,_0x4c2cfb,_0x5081ff,_0x5c01f5,0x17,_0x270260[0x2b]),_0x5081ff=_0x1a2122(_0x5081ff,_0x18f8b0,_0x83666d,_0x4c2cfb,_0x4f4275,0x4,_0x270260[0x2c]),_0x4c2cfb=_0x1a2122(_0x4c2cfb,_0x5081ff,_0x18f8b0,_0x83666d,_0x176d3c,0xb,_0x270260[0x2d]),_0x83666d=_0x1a2122(_0x83666d,_0x4c2cfb,_0x5081ff,_0x18f8b0,_0x19fb13,0x10,_0x270260[0x2e]),_0x18f8b0=_0x1a2122(_0x18f8b0,_0x83666d,_0x4c2cfb,_0x5081ff,_0x3fdb7d,0x17,_0x270260[0x2f]),_0x5081ff=_0xe3d4a6(_0x5081ff,_0x18f8b0,_0x83666d,_0x4c2cfb,_0x3512eb,0x6,_0x270260[0x30]),_0x4c2cfb=_0xe3d4a6(_0x4c2cfb,_0x5081ff,_0x18f8b0,_0x83666d,_0x13b03b,0xa,_0x270260[0x31]),_0x83666d=_0xe3d4a6(_0x83666d,_0x4c2cfb,_0x5081ff,_0x18f8b0,_0x32d655,0xf,_0x270260[0x32]),_0x18f8b0=_0xe3d4a6(_0x18f8b0,_0x83666d,_0x4c2cfb,_0x5081ff,_0x2401d1,0x15,_0x270260[0x33]),_0x5081ff=_0xe3d4a6(_0x5081ff,_0x18f8b0,_0x83666d,_0x4c2cfb,_0x176d3c,0x6,_0x270260[0x34]),_0x4c2cfb=_0xe3d4a6(_0x4c2cfb,_0x5081ff,_0x18f8b0,_0x83666d,_0x2430b6,0xa,_0x270260[0x35]),_0x83666d=_0xe3d4a6(_0x83666d,_0x4c2cfb,_0x5081ff,_0x18f8b0,_0x41b93f,0xf,_0x270260[0x36]),_0x18f8b0=_0xe3d4a6(_0x18f8b0,_0x83666d,_0x4c2cfb,_0x5081ff,_0xc23793,0x15,_0x270260[0x37]),_0x5081ff=_0xe3d4a6(_0x5081ff,_0x18f8b0,_0x83666d,_0x4c2cfb,_0x45fa7d,0x6,_0x270260[0x38]),_0x4c2cfb=_0xe3d4a6(_0x4c2cfb,_0x5081ff,_0x18f8b0,_0x83666d,_0x19fb13,0xa,_0x270260[0x39]),_0x83666d=_0xe3d4a6(_0x83666d,_0x4c2cfb,_0x5081ff,_0x18f8b0,_0x5c01f5,0xf,_0x270260[0x3a]),_0x18f8b0=_0xe3d4a6(_0x18f8b0,_0x83666d,_0x4c2cfb,_0x5081ff,_0x4533f2,0x15,_0x270260[0x3b]),_0x5081ff=_0xe3d4a6(_0x5081ff,_0x18f8b0,_0x83666d,_0x4c2cfb,_0x425c72,0x6,_0x270260[0x3c]),_0x4c2cfb=_0xe3d4a6(_0x4c2cfb,_0x5081ff,_0x18f8b0,_0x83666d,_0x2a8452,0xa,_0x270260[0x3d]),_0x83666d=_0xe3d4a6(_0x83666d,_0x4c2cfb,_0x5081ff,_0x18f8b0,_0x3fdb7d,0xf,_0x270260[0x3e]),_0x18f8b0=_0xe3d4a6(_0x18f8b0,_0x83666d,_0x4c2cfb,_0x5081ff,_0x4f4275,0x15,_0x270260[0x3f]),_0x504e14[0x0]=_0x504e14[0x0]+_0x5081ff|0x0,_0x504e14[0x1]=_0x504e14[0x1]+_0x18f8b0|0x0,_0x504e14[0x2]=_0x504e14[0x2]+_0x83666d|0x0,_0x504e14[0x3]=_0x504e14[0x3]+_0x4c2cfb|0x0;},'_doFinalize':function(){var _0x3dec1a=_0x2013f6,_0x47562e=this[_0x3dec1a(0x210)],_0x3fc57d=_0x47562e[_0x3dec1a(0x118)],_0x6fc7a2=this[_0x3dec1a(0xda)]*0x8,_0xdb1347=_0x47562e[_0x3dec1a(0x2cd)]*0x8;_0x3fc57d[_0xdb1347>>>0x5]|=0x80<<0x18-_0xdb1347%0x20;var _0x2fcb12=_0x2fef3e[_0x3dec1a(0x17f)](_0x6fc7a2/0x100000000),_0x372830=_0x6fc7a2;_0x3fc57d[(_0xdb1347+0x40>>>0x9<<0x4)+0xf]=(_0x2fcb12<<0x8|_0x2fcb12>>>0x18)&0xff00ff|(_0x2fcb12<<0x18|_0x2fcb12>>>0x8)&0xff00ff00,_0x3fc57d[(_0xdb1347+0x40>>>0x9<<0x4)+0xe]=(_0x372830<<0x8|_0x372830>>>0x18)&0xff00ff|(_0x372830<<0x18|_0x372830>>>0x8)&0xff00ff00,_0x47562e[_0x3dec1a(0x2cd)]=(_0x3fc57d[_0x3dec1a(0x176)]+0x1)*0x4,this[_0x3dec1a(0x280)]();for(var _0x9775c=this[_0x3dec1a(0x150)],_0x4a6cd1=_0x9775c[_0x3dec1a(0x118)],_0x117ae8=0x0;_0x117ae8<0x4;_0x117ae8++){var _0x23bc4e=_0x4a6cd1[_0x117ae8];_0x4a6cd1[_0x117ae8]=(_0x23bc4e<<0x8|_0x23bc4e>>>0x18)&0xff00ff|(_0x23bc4e<<0x18|_0x23bc4e>>>0x8)&0xff00ff00;}return _0x9775c;},'clone':function(){var _0x3fbbdc=_0x2013f6,_0x25db49=_0x16ed08[_0x3fbbdc(0x3a6)]['call'](this);return _0x25db49[_0x3fbbdc(0x150)]=this[_0x3fbbdc(0x150)]['clone'](),_0x25db49;}});function _0x140486(_0x17b426,_0x38f6b7,_0x33d788,_0x537a6f,_0x4ec1a0,_0x6df4a6,_0x4287af){var _0x5e8758=_0x17b426+(_0x38f6b7&_0x33d788|~_0x38f6b7&_0x537a6f)+_0x4ec1a0+_0x4287af;return(_0x5e8758<<_0x6df4a6|_0x5e8758>>>0x20-_0x6df4a6)+_0x38f6b7;}function _0x4a77a3(_0x19f077,_0x445232,_0x51382a,_0x40a0c2,_0x3d9252,_0x1521f9,_0x33ac2a){var _0x53eb09=_0x19f077+(_0x445232&_0x40a0c2|_0x51382a&~_0x40a0c2)+_0x3d9252+_0x33ac2a;return(_0x53eb09<<_0x1521f9|_0x53eb09>>>0x20-_0x1521f9)+_0x445232;}function _0x1a2122(_0x3e3bb6,_0x49a873,_0x52adca,_0x1a0f4a,_0x16402d,_0x14f20f,_0x1a6b33){var _0x3c3046=_0x3e3bb6+(_0x49a873^_0x52adca^_0x1a0f4a)+_0x16402d+_0x1a6b33;return(_0x3c3046<<_0x14f20f|_0x3c3046>>>0x20-_0x14f20f)+_0x49a873;}function _0xe3d4a6(_0xbfd2c6,_0x2cc759,_0x1594f9,_0x3cb2a6,_0x3bd3d2,_0x3aa965,_0x3b27b6){var _0x3bbeb6=_0xbfd2c6+(_0x1594f9^(_0x2cc759|~_0x3cb2a6))+_0x3bd3d2+_0x3b27b6;return(_0x3bbeb6<<_0x3aa965|_0x3bbeb6>>>0x20-_0x3aa965)+_0x2cc759;}_0xbf37f['MD5']=_0x16ed08[_0x2013f6(0x155)](_0x34edb0),_0xbf37f[_0x2013f6(0x222)]=_0x16ed08[_0x2013f6(0x1c8)](_0x34edb0);}(Math),_0x2c3498['MD5'];}));}(Ke)),Ke[_0x246b71(0x19a)];}var Ye={'exports':{}},qe={'exports':{}},Mr=qe[_0x342d1a(0x19a)],ti;function $r(){var _0x70670c=_0x342d1a;return ti||(ti=0x1,function(_0x3593fb,_0xd8d2ec){(function(_0x249f1c,_0xab80df){var _0x197ed7=_0x1d1c;_0x3593fb[_0x197ed7(0x19a)]=_0xab80df(se());}(Mr,function(_0x3bf0bb){var _0x23bc88=_0x1d1c;return(function(){var _0x343b79=_0x1d1c,_0x382ce0=_0x3bf0bb,_0x18551e=_0x382ce0[_0x343b79(0x398)],_0x1ea9c4=_0x18551e[_0x343b79(0x281)],_0x584943=_0x18551e[_0x343b79(0x1a6)],_0xf942f1=_0x382ce0[_0x343b79(0x3c4)],_0x339ef4=[],_0x22ca0b=_0xf942f1[_0x343b79(0x30b)]=_0x584943['extend']({'_doReset':function(){this['_hash']=new _0x1ea9c4['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4ee59a,_0x37221b){var _0x215c42=_0x343b79;for(var _0x1d5105=this[_0x215c42(0x150)][_0x215c42(0x118)],_0x4fde13=_0x1d5105[0x0],_0x5affcf=_0x1d5105[0x1],_0x473cb7=_0x1d5105[0x2],_0x974e9=_0x1d5105[0x3],_0x142007=_0x1d5105[0x4],_0x599762=0x0;_0x599762<0x50;_0x599762++){if(_0x599762<0x10)_0x339ef4[_0x599762]=_0x4ee59a[_0x37221b+_0x599762]|0x0;else{var _0x33e583=_0x339ef4[_0x599762-0x3]^_0x339ef4[_0x599762-0x8]^_0x339ef4[_0x599762-0xe]^_0x339ef4[_0x599762-0x10];_0x339ef4[_0x599762]=_0x33e583<<0x1|_0x33e583>>>0x1f;}var _0x41044e=(_0x4fde13<<0x5|_0x4fde13>>>0x1b)+_0x142007+_0x339ef4[_0x599762];_0x599762<0x14?_0x41044e+=(_0x5affcf&_0x473cb7|~_0x5affcf&_0x974e9)+0x5a827999:_0x599762<0x28?_0x41044e+=(_0x5affcf^_0x473cb7^_0x974e9)+0x6ed9eba1:_0x599762<0x3c?_0x41044e+=(_0x5affcf&_0x473cb7|_0x5affcf&_0x974e9|_0x473cb7&_0x974e9)-0x70e44324:_0x41044e+=(_0x5affcf^_0x473cb7^_0x974e9)-0x359d3e2a,_0x142007=_0x974e9,_0x974e9=_0x473cb7,_0x473cb7=_0x5affcf<<0x1e|_0x5affcf>>>0x2,_0x5affcf=_0x4fde13,_0x4fde13=_0x41044e;}_0x1d5105[0x0]=_0x1d5105[0x0]+_0x4fde13|0x0,_0x1d5105[0x1]=_0x1d5105[0x1]+_0x5affcf|0x0,_0x1d5105[0x2]=_0x1d5105[0x2]+_0x473cb7|0x0,_0x1d5105[0x3]=_0x1d5105[0x3]+_0x974e9|0x0,_0x1d5105[0x4]=_0x1d5105[0x4]+_0x142007|0x0;},'_doFinalize':function(){var _0x42b637=_0x343b79,_0x58008e=this[_0x42b637(0x210)],_0x2db825=_0x58008e[_0x42b637(0x118)],_0x545f50=this[_0x42b637(0xda)]*0x8,_0x38369f=_0x58008e['sigBytes']*0x8;return _0x2db825[_0x38369f>>>0x5]|=0x80<<0x18-_0x38369f%0x20,_0x2db825[(_0x38369f+0x40>>>0x9<<0x4)+0xe]=Math[_0x42b637(0x17f)](_0x545f50/0x100000000),_0x2db825[(_0x38369f+0x40>>>0x9<<0x4)+0xf]=_0x545f50,_0x58008e[_0x42b637(0x2cd)]=_0x2db825[_0x42b637(0x176)]*0x4,this[_0x42b637(0x280)](),this[_0x42b637(0x150)];},'clone':function(){var _0x33ffea=_0x343b79,_0x17a0de=_0x584943['clone'][_0x33ffea(0x35f)](this);return _0x17a0de[_0x33ffea(0x150)]=this['_hash'][_0x33ffea(0x3a6)](),_0x17a0de;}});_0x382ce0[_0x343b79(0x30b)]=_0x584943['_createHelper'](_0x22ca0b),_0x382ce0['HmacSHA1']=_0x584943[_0x343b79(0x1c8)](_0x22ca0b);}()),_0x3bf0bb[_0x23bc88(0x30b)];}));}(qe)),qe[_0x70670c(0x19a)];}var ze={'exports':{}},Hr=ze[_0x342d1a(0x19a)],ii;function kr(){var _0x1a1f77=_0x342d1a;return ii||(ii=0x1,function(_0xb35ba5,_0x539ad4){(function(_0x36d7cd,_0x3a1fb4){_0xb35ba5['exports']=_0x3a1fb4(se());}(Hr,function(_0x1396c9){(function(){var _0x4a12d9=_0x1d1c,_0x4ae75d=_0x1396c9,_0x2af0d9=_0x4ae75d[_0x4a12d9(0x398)],_0x5410d5=_0x2af0d9[_0x4a12d9(0x158)],_0x500366=_0x4ae75d['enc'],_0x47d911=_0x500366[_0x4a12d9(0x302)],_0x1d7e6c=_0x4ae75d[_0x4a12d9(0x3c4)];_0x1d7e6c[_0x4a12d9(0x28c)]=_0x5410d5[_0x4a12d9(0x226)]({'init':function(_0x329cf1,_0x17501d){var _0x1d7964=_0x4a12d9;_0x329cf1=this[_0x1d7964(0x2f4)]=new _0x329cf1[(_0x1d7964(0x2c6))](),typeof _0x17501d==_0x1d7964(0x275)&&(_0x17501d=_0x47d911['parse'](_0x17501d));var _0x47f633=_0x329cf1[_0x1d7964(0x351)],_0x3e4389=_0x47f633*0x4;_0x17501d[_0x1d7964(0x2cd)]>_0x3e4389&&(_0x17501d=_0x329cf1[_0x1d7964(0x3d5)](_0x17501d)),_0x17501d[_0x1d7964(0xfa)]();for(var _0x448685=this[_0x1d7964(0x15d)]=_0x17501d[_0x1d7964(0x3a6)](),_0x478fef=this[_0x1d7964(0x1ac)]=_0x17501d[_0x1d7964(0x3a6)](),_0x53228a=_0x448685[_0x1d7964(0x118)],_0x882e5d=_0x478fef[_0x1d7964(0x118)],_0x2e87c4=0x0;_0x2e87c4<_0x47f633;_0x2e87c4++)_0x53228a[_0x2e87c4]^=0x5c5c5c5c,_0x882e5d[_0x2e87c4]^=0x36363636;_0x448685[_0x1d7964(0x2cd)]=_0x478fef[_0x1d7964(0x2cd)]=_0x3e4389,this[_0x1d7964(0x3d9)]();},'reset':function(){var _0x28ee2a=_0x4a12d9,_0x556402=this[_0x28ee2a(0x2f4)];_0x556402[_0x28ee2a(0x3d9)](),_0x556402[_0x28ee2a(0x177)](this[_0x28ee2a(0x1ac)]);},'update':function(_0x1c3c5c){var _0x3194da=_0x4a12d9;return this[_0x3194da(0x2f4)][_0x3194da(0x177)](_0x1c3c5c),this;},'finalize':function(_0x33b039){var _0x3dee11=_0x4a12d9,_0x85aeeb=this[_0x3dee11(0x2f4)],_0x47279f=_0x85aeeb['finalize'](_0x33b039);_0x85aeeb['reset']();var _0x34ab53=_0x85aeeb[_0x3dee11(0x3d5)](this[_0x3dee11(0x15d)][_0x3dee11(0x3a6)]()[_0x3dee11(0x262)](_0x47279f));return _0x34ab53;}});}());}));}(ze)),ze[_0x1a1f77(0x19a)];}var jr=Ye[_0x342d1a(0x19a)],si;function Ui(){var _0x483046=_0x342d1a;return si||(si=0x1,function(_0x17761a,_0x25f418){(function(_0x242d33,_0xad9819,_0x3e5615){var _0x5ed3e9=_0x1d1c;_0x17761a[_0x5ed3e9(0x19a)]=_0xad9819(se(),$r(),kr());}(jr,function(_0x672c3d){var _0x3af894=_0x1d1c;return(function(){var _0x2ced41=_0x1d1c,_0x4c9cb2=_0x672c3d,_0x2705a0=_0x4c9cb2[_0x2ced41(0x398)],_0x32040a=_0x2705a0[_0x2ced41(0x158)],_0x4b8afa=_0x2705a0['WordArray'],_0x564ee0=_0x4c9cb2[_0x2ced41(0x3c4)],_0x821552=_0x564ee0[_0x2ced41(0x360)],_0x5dd3bb=_0x564ee0[_0x2ced41(0x3de)]=_0x32040a[_0x2ced41(0x226)]({'cfg':_0x32040a[_0x2ced41(0x226)]({'keySize':0x80/0x20,'hasher':_0x821552,'iterations':0x1}),'init':function(_0x11685d){var _0x1236d0=_0x2ced41;this['cfg']=this['cfg'][_0x1236d0(0x226)](_0x11685d);},'compute':function(_0x32b8f2,_0x2538b9){var _0x217716=_0x2ced41;for(var _0x41f338,_0x52b3a4=this[_0x217716(0x121)],_0x15a1b5=_0x52b3a4[_0x217716(0x3ba)]['create'](),_0x581776=_0x4b8afa[_0x217716(0x2b6)](),_0x5a652f=_0x581776['words'],_0x51b199=_0x52b3a4[_0x217716(0x2a4)],_0x59c50a=_0x52b3a4[_0x217716(0x34c)];_0x5a652f[_0x217716(0x176)]<_0x51b199;){_0x41f338&&_0x15a1b5[_0x217716(0x177)](_0x41f338),_0x41f338=_0x15a1b5[_0x217716(0x177)](_0x32b8f2)[_0x217716(0x3d5)](_0x2538b9),_0x15a1b5[_0x217716(0x3d9)]();for(var _0x5366d4=0x1;_0x5366d4<_0x59c50a;_0x5366d4++)_0x41f338=_0x15a1b5[_0x217716(0x3d5)](_0x41f338),_0x15a1b5[_0x217716(0x3d9)]();_0x581776[_0x217716(0x262)](_0x41f338);}return _0x581776[_0x217716(0x2cd)]=_0x51b199*0x4,_0x581776;}});_0x4c9cb2[_0x2ced41(0x3de)]=function(_0x97f401,_0x2d007a,_0x379fad){var _0x18d575=_0x2ced41;return _0x5dd3bb[_0x18d575(0x2b6)](_0x379fad)['compute'](_0x97f401,_0x2d007a);};}()),_0x672c3d[_0x3af894(0x3de)];}));}(Ye)),Ye[_0x483046(0x19a)];}var Je={'exports':{}},Br=Je['exports'],ri;function Ai(){return ri||(ri=0x1,function(_0x66d798,_0x5b0bdd){(function(_0x189c6b,_0x16e250,_0x1605d5){var _0x2fe6ad=_0x1d1c;_0x66d798[_0x2fe6ad(0x19a)]=_0x16e250(se(),Ui());}(Br,function(_0x250d76){var _0x563c5e=_0x1d1c;_0x250d76['lib'][_0x563c5e(0x365)]||function(_0x511a7c){var _0x97fa0c=_0x563c5e,_0x50040e=_0x250d76,_0x3ca0f7=_0x50040e[_0x97fa0c(0x398)],_0x4ced32=_0x3ca0f7[_0x97fa0c(0x158)],_0x475458=_0x3ca0f7['WordArray'],_0x1b31a5=_0x3ca0f7[_0x97fa0c(0x1b4)],_0xf1cfec=_0x50040e[_0x97fa0c(0x12d)];_0xf1cfec[_0x97fa0c(0x302)];var _0x267482=_0xf1cfec[_0x97fa0c(0x31c)],_0x55a107=_0x50040e[_0x97fa0c(0x3c4)],_0x1e2759=_0x55a107[_0x97fa0c(0x3de)],_0x13b8e8=_0x3ca0f7[_0x97fa0c(0x365)]=_0x1b31a5[_0x97fa0c(0x226)]({'cfg':_0x4ced32[_0x97fa0c(0x226)](),'createEncryptor':function(_0x42eb95,_0x7ae919){var _0x28a612=_0x97fa0c;return this[_0x28a612(0x2b6)](this[_0x28a612(0x213)],_0x42eb95,_0x7ae919);},'createDecryptor':function(_0x4e7b9c,_0x49ddb7){var _0x242cbb=_0x97fa0c;return this[_0x242cbb(0x2b6)](this[_0x242cbb(0x16e)],_0x4e7b9c,_0x49ddb7);},'init':function(_0x4fd8bf,_0x1f1ff8,_0x27563d){var _0x4b5909=_0x97fa0c;this[_0x4b5909(0x121)]=this[_0x4b5909(0x121)][_0x4b5909(0x226)](_0x27563d),this['_xformMode']=_0x4fd8bf,this[_0x4b5909(0x29d)]=_0x1f1ff8,this['reset']();},'reset':function(){var _0x3efe56=_0x97fa0c;_0x1b31a5[_0x3efe56(0x3d9)][_0x3efe56(0x35f)](this),this[_0x3efe56(0x2a0)]();},'process':function(_0x5a0c3a){var _0x13ad0f=_0x97fa0c;return this[_0x13ad0f(0x2c3)](_0x5a0c3a),this[_0x13ad0f(0x280)]();},'finalize':function(_0x1db7a3){var _0x506932=_0x97fa0c;_0x1db7a3&&this['_append'](_0x1db7a3);var _0x5a4348=this[_0x506932(0x156)]();return _0x5a4348;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3781ad(_0x4091e9){return typeof _0x4091e9=='string'?_0x24269e:_0x4de559;}return function(_0x265d5){return{'encrypt':function(_0x357ee5,_0x4ab6b9,_0x3c09b7){var _0x26aba3=_0x1d1c;return _0x3781ad(_0x4ab6b9)[_0x26aba3(0x196)](_0x265d5,_0x357ee5,_0x4ab6b9,_0x3c09b7);},'decrypt':function(_0x544645,_0x2aee30,_0x1ce21b){var _0x2b6bf4=_0x1d1c;return _0x3781ad(_0x2aee30)[_0x2b6bf4(0x10e)](_0x265d5,_0x544645,_0x2aee30,_0x1ce21b);}};};}())});_0x3ca0f7[_0x97fa0c(0xe7)]=_0x13b8e8[_0x97fa0c(0x226)]({'_doFinalize':function(){var _0x2aa492=this['_process'](!0x0);return _0x2aa492;},'blockSize':0x1});var _0xc0dc98=_0x50040e[_0x97fa0c(0x20c)]={},_0x6ab592=_0x3ca0f7[_0x97fa0c(0x2d6)]=_0x4ced32[_0x97fa0c(0x226)]({'createEncryptor':function(_0x33f715,_0x47494b){var _0x195bc0=_0x97fa0c;return this[_0x195bc0(0x1ef)]['create'](_0x33f715,_0x47494b);},'createDecryptor':function(_0x4a7632,_0x343dfc){return this['Decryptor']['create'](_0x4a7632,_0x343dfc);},'init':function(_0x54039c,_0x57e5a1){var _0x8057c8=_0x97fa0c;this[_0x8057c8(0x20b)]=_0x54039c,this[_0x8057c8(0x315)]=_0x57e5a1;}}),_0x39ce22=_0xc0dc98[_0x97fa0c(0x2ae)]=(function(){var _0x18f0db=_0x97fa0c,_0x2210e9=_0x6ab592[_0x18f0db(0x226)]();_0x2210e9[_0x18f0db(0x1ef)]=_0x2210e9[_0x18f0db(0x226)]({'processBlock':function(_0x420199,_0x52cb35){var _0x4d0272=_0x18f0db,_0x4ca07f=this[_0x4d0272(0x20b)],_0x56a3c1=_0x4ca07f['blockSize'];_0x35356b[_0x4d0272(0x35f)](this,_0x420199,_0x52cb35,_0x56a3c1),_0x4ca07f[_0x4d0272(0x3c6)](_0x420199,_0x52cb35),this['_prevBlock']=_0x420199[_0x4d0272(0x1bd)](_0x52cb35,_0x52cb35+_0x56a3c1);}}),_0x2210e9[_0x18f0db(0x238)]=_0x2210e9[_0x18f0db(0x226)]({'processBlock':function(_0x384170,_0x1e0902){var _0x144747=_0x18f0db,_0x45c876=this[_0x144747(0x20b)],_0x2290de=_0x45c876['blockSize'],_0x1f94c2=_0x384170['slice'](_0x1e0902,_0x1e0902+_0x2290de);_0x45c876[_0x144747(0x218)](_0x384170,_0x1e0902),_0x35356b[_0x144747(0x35f)](this,_0x384170,_0x1e0902,_0x2290de),this[_0x144747(0x2dd)]=_0x1f94c2;}});function _0x35356b(_0x2f63bd,_0x480d61,_0x57227f){var _0x20bce4=_0x18f0db,_0x507de5,_0x4b528c=this['_iv'];_0x4b528c?(_0x507de5=_0x4b528c,this[_0x20bce4(0x315)]=_0x511a7c):_0x507de5=this['_prevBlock'];for(var _0x2dca57=0x0;_0x2dca57<_0x57227f;_0x2dca57++)_0x2f63bd[_0x480d61+_0x2dca57]^=_0x507de5[_0x2dca57];}return _0x2210e9;}()),_0x3be3ee=_0x50040e[_0x97fa0c(0x247)]={},_0x1a673d=_0x3be3ee['Pkcs7']={'pad':function(_0x341258,_0x363717){var _0x290665=_0x97fa0c;for(var _0x4849b9=_0x363717*0x4,_0x22325=_0x4849b9-_0x341258['sigBytes']%_0x4849b9,_0x5ee9ff=_0x22325<<0x18|_0x22325<<0x10|_0x22325<<0x8|_0x22325,_0x6217cb=[],_0x512a0b=0x0;_0x512a0b<_0x22325;_0x512a0b+=0x4)_0x6217cb[_0x290665(0x382)](_0x5ee9ff);var _0xe3a686=_0x475458[_0x290665(0x2b6)](_0x6217cb,_0x22325);_0x341258[_0x290665(0x262)](_0xe3a686);},'unpad':function(_0x51256c){var _0x3ff2b5=_0x97fa0c,_0xb6a4af=_0x51256c[_0x3ff2b5(0x118)][_0x51256c['sigBytes']-0x1>>>0x2]&0xff;_0x51256c['sigBytes']-=_0xb6a4af;}};_0x3ca0f7[_0x97fa0c(0x1ee)]=_0x13b8e8[_0x97fa0c(0x226)]({'cfg':_0x13b8e8[_0x97fa0c(0x121)][_0x97fa0c(0x226)]({'mode':_0x39ce22,'padding':_0x1a673d}),'reset':function(){var _0x4e861=_0x97fa0c,_0x812841;_0x13b8e8[_0x4e861(0x3d9)]['call'](this);var _0x20a475=this[_0x4e861(0x121)],_0x406f8b=_0x20a475['iv'],_0x16a76a=_0x20a475[_0x4e861(0x20c)];this[_0x4e861(0x191)]==this[_0x4e861(0x213)]?_0x812841=_0x16a76a[_0x4e861(0x2a1)]:(_0x812841=_0x16a76a[_0x4e861(0xe5)],this['_minBufferSize']=0x1),this[_0x4e861(0xdd)]&&this['_mode'][_0x4e861(0x372)]==_0x812841?this[_0x4e861(0xdd)][_0x4e861(0x2c6)](this,_0x406f8b&&_0x406f8b['words']):(this['_mode']=_0x812841[_0x4e861(0x35f)](_0x16a76a,this,_0x406f8b&&_0x406f8b[_0x4e861(0x118)]),this[_0x4e861(0xdd)][_0x4e861(0x372)]=_0x812841);},'_doProcessBlock':function(_0x5316b6,_0x47f613){var _0x4bc677=_0x97fa0c;this[_0x4bc677(0xdd)]['processBlock'](_0x5316b6,_0x47f613);},'_doFinalize':function(){var _0x49475a=_0x97fa0c,_0x7a8d05,_0x329114=this[_0x49475a(0x121)][_0x49475a(0x2d3)];return this[_0x49475a(0x191)]==this['_ENC_XFORM_MODE']?(_0x329114[_0x49475a(0x247)](this[_0x49475a(0x210)],this['blockSize']),_0x7a8d05=this[_0x49475a(0x280)](!0x0)):(_0x7a8d05=this['_process'](!0x0),_0x329114['unpad'](_0x7a8d05)),_0x7a8d05;},'blockSize':0x80/0x20});var _0xb07663=_0x3ca0f7['CipherParams']=_0x4ced32[_0x97fa0c(0x226)]({'init':function(_0x5efa40){var _0x4d26d5=_0x97fa0c;this[_0x4d26d5(0x3cf)](_0x5efa40);},'toString':function(_0xb180cc){return(_0xb180cc||this['formatter'])['stringify'](this);}}),_0xf821f6=_0x50040e[_0x97fa0c(0x33c)]={},_0x7387c2=_0xf821f6[_0x97fa0c(0x202)]={'stringify':function(_0x34bbe0){var _0x558e5e=_0x97fa0c,_0x469952,_0x19b8c8=_0x34bbe0[_0x558e5e(0x187)],_0x345651=_0x34bbe0['salt'];return _0x345651?_0x469952=_0x475458[_0x558e5e(0x2b6)]([0x53616c74,0x65645f5f])['concat'](_0x345651)['concat'](_0x19b8c8):_0x469952=_0x19b8c8,_0x469952[_0x558e5e(0x271)](_0x267482);},'parse':function(_0x2e1703){var _0x428bc3=_0x97fa0c,_0x3e9524,_0x3eee19=_0x267482[_0x428bc3(0x190)](_0x2e1703),_0x52e4f8=_0x3eee19[_0x428bc3(0x118)];return _0x52e4f8[0x0]==0x53616c74&&_0x52e4f8[0x1]==0x65645f5f&&(_0x3e9524=_0x475458['create'](_0x52e4f8['slice'](0x2,0x4)),_0x52e4f8['splice'](0x0,0x4),_0x3eee19[_0x428bc3(0x2cd)]-=0x10),_0xb07663[_0x428bc3(0x2b6)]({'ciphertext':_0x3eee19,'salt':_0x3e9524});}},_0x4de559=_0x3ca0f7[_0x97fa0c(0x209)]=_0x4ced32[_0x97fa0c(0x226)]({'cfg':_0x4ced32['extend']({'format':_0x7387c2}),'encrypt':function(_0xfa1cc7,_0x325d88,_0x4f113d,_0x23d38f){var _0x33b190=_0x97fa0c;_0x23d38f=this[_0x33b190(0x121)]['extend'](_0x23d38f);var _0x3f95fd=_0xfa1cc7[_0x33b190(0x2a1)](_0x4f113d,_0x23d38f),_0x50be0c=_0x3f95fd['finalize'](_0x325d88),_0x320e06=_0x3f95fd[_0x33b190(0x121)];return _0xb07663[_0x33b190(0x2b6)]({'ciphertext':_0x50be0c,'key':_0x4f113d,'iv':_0x320e06['iv'],'algorithm':_0xfa1cc7,'mode':_0x320e06[_0x33b190(0x20c)],'padding':_0x320e06[_0x33b190(0x2d3)],'blockSize':_0xfa1cc7['blockSize'],'formatter':_0x23d38f[_0x33b190(0x33c)]});},'decrypt':function(_0x541dde,_0x4cbef1,_0x5e1c4a,_0x32fd38){var _0x2ea7c8=_0x97fa0c;_0x32fd38=this['cfg']['extend'](_0x32fd38),_0x4cbef1=this['_parse'](_0x4cbef1,_0x32fd38[_0x2ea7c8(0x33c)]);var _0x327e9e=_0x541dde[_0x2ea7c8(0xe5)](_0x5e1c4a,_0x32fd38)[_0x2ea7c8(0x3d5)](_0x4cbef1[_0x2ea7c8(0x187)]);return _0x327e9e;},'_parse':function(_0x4549a0,_0xcc62ef){var _0x173f0a=_0x97fa0c;return typeof _0x4549a0==_0x173f0a(0x275)?_0xcc62ef[_0x173f0a(0x190)](_0x4549a0,this):_0x4549a0;}}),_0x1f0185=_0x50040e[_0x97fa0c(0x19c)]={},_0x3d2a2e=_0x1f0185[_0x97fa0c(0x202)]={'execute':function(_0x25e43a,_0x2ce64e,_0x32cded,_0x3437dc,_0x553796){var _0x184f7d=_0x97fa0c;if(_0x3437dc||(_0x3437dc=_0x475458[_0x184f7d(0x2b8)](0x40/0x8)),_0x553796)var _0x928d3=_0x1e2759[_0x184f7d(0x2b6)]({'keySize':_0x2ce64e+_0x32cded,'hasher':_0x553796})[_0x184f7d(0x33f)](_0x25e43a,_0x3437dc);else var _0x928d3=_0x1e2759['create']({'keySize':_0x2ce64e+_0x32cded})[_0x184f7d(0x33f)](_0x25e43a,_0x3437dc);var _0x3763a5=_0x475458[_0x184f7d(0x2b6)](_0x928d3[_0x184f7d(0x118)][_0x184f7d(0x1bd)](_0x2ce64e),_0x32cded*0x4);return _0x928d3['sigBytes']=_0x2ce64e*0x4,_0xb07663[_0x184f7d(0x2b6)]({'key':_0x928d3,'iv':_0x3763a5,'salt':_0x3437dc});}},_0x24269e=_0x3ca0f7[_0x97fa0c(0x387)]=_0x4de559[_0x97fa0c(0x226)]({'cfg':_0x4de559[_0x97fa0c(0x121)]['extend']({'kdf':_0x3d2a2e}),'encrypt':function(_0x560704,_0x235968,_0x3ad9d9,_0x4eb016){var _0x8495e=_0x97fa0c;_0x4eb016=this[_0x8495e(0x121)][_0x8495e(0x226)](_0x4eb016);var _0x51ab8f=_0x4eb016[_0x8495e(0x19c)][_0x8495e(0x189)](_0x3ad9d9,_0x560704['keySize'],_0x560704[_0x8495e(0x21a)],_0x4eb016[_0x8495e(0x224)],_0x4eb016[_0x8495e(0x3ba)]);_0x4eb016['iv']=_0x51ab8f['iv'];var _0x278e3e=_0x4de559[_0x8495e(0x196)][_0x8495e(0x35f)](this,_0x560704,_0x235968,_0x51ab8f[_0x8495e(0x16d)],_0x4eb016);return _0x278e3e[_0x8495e(0x3cf)](_0x51ab8f),_0x278e3e;},'decrypt':function(_0x2e1d7b,_0x249d42,_0x2b0e28,_0x4cc099){var _0x170f13=_0x97fa0c;_0x4cc099=this['cfg'][_0x170f13(0x226)](_0x4cc099),_0x249d42=this[_0x170f13(0x24e)](_0x249d42,_0x4cc099[_0x170f13(0x33c)]);var _0x3a58a2=_0x4cc099[_0x170f13(0x19c)]['execute'](_0x2b0e28,_0x2e1d7b[_0x170f13(0x2a4)],_0x2e1d7b[_0x170f13(0x21a)],_0x249d42['salt'],_0x4cc099[_0x170f13(0x3ba)]);_0x4cc099['iv']=_0x3a58a2['iv'];var _0x21def1=_0x4de559[_0x170f13(0x10e)][_0x170f13(0x35f)](this,_0x2e1d7b,_0x249d42,_0x3a58a2[_0x170f13(0x16d)],_0x4cc099);return _0x21def1;}});}();}));}(Je)),Je['exports'];}var Fr=Ve[_0x342d1a(0x19a)],ni;function Vr(){var _0x323786=_0x342d1a;return ni||(ni=0x1,function(_0x539d7d,_0x5caf4b){(function(_0x5b1d03,_0x2edf8a,_0x2cf610){var _0x248ec6=_0x1d1c;_0x539d7d[_0x248ec6(0x19a)]=_0x2edf8a(se(),wi(),Lr(),Ui(),Ai());}(Fr,function(_0x2605cb){return(function(){var _0x21ddf5=_0x1d1c,_0x21df77=_0x2605cb,_0x48df47=_0x21df77[_0x21ddf5(0x398)],_0xcc299d=_0x48df47['BlockCipher'],_0x15c3f1=_0x21df77[_0x21ddf5(0x3c4)],_0x44c7fb=[],_0xd0ed06=[],_0x3a207e=[],_0x238df3=[],_0x52de5b=[],_0x43f49b=[],_0x1efaff=[],_0x5bc1b5=[],_0x1c0c19=[],_0x44307e=[];(function(){for(var _0x48eee1=[],_0x55c7be=0x0;_0x55c7be<0x100;_0x55c7be++)_0x55c7be<0x80?_0x48eee1[_0x55c7be]=_0x55c7be<<0x1:_0x48eee1[_0x55c7be]=_0x55c7be<<0x1^0x11b;for(var _0x512d1a=0x0,_0x125cb8=0x0,_0x55c7be=0x0;_0x55c7be<0x100;_0x55c7be++){var _0x568567=_0x125cb8^_0x125cb8<<0x1^_0x125cb8<<0x2^_0x125cb8<<0x3^_0x125cb8<<0x4;_0x568567=_0x568567>>>0x8^_0x568567&0xff^0x63,_0x44c7fb[_0x512d1a]=_0x568567,_0xd0ed06[_0x568567]=_0x512d1a;var _0x3a5822=_0x48eee1[_0x512d1a],_0x418d39=_0x48eee1[_0x3a5822],_0x4dbda3=_0x48eee1[_0x418d39],_0x55d458=_0x48eee1[_0x568567]*0x101^_0x568567*0x1010100;_0x3a207e[_0x512d1a]=_0x55d458<<0x18|_0x55d458>>>0x8,_0x238df3[_0x512d1a]=_0x55d458<<0x10|_0x55d458>>>0x10,_0x52de5b[_0x512d1a]=_0x55d458<<0x8|_0x55d458>>>0x18,_0x43f49b[_0x512d1a]=_0x55d458;var _0x55d458=_0x4dbda3*0x1010101^_0x418d39*0x10001^_0x3a5822*0x101^_0x512d1a*0x1010100;_0x1efaff[_0x568567]=_0x55d458<<0x18|_0x55d458>>>0x8,_0x5bc1b5[_0x568567]=_0x55d458<<0x10|_0x55d458>>>0x10,_0x1c0c19[_0x568567]=_0x55d458<<0x8|_0x55d458>>>0x18,_0x44307e[_0x568567]=_0x55d458,_0x512d1a?(_0x512d1a=_0x3a5822^_0x48eee1[_0x48eee1[_0x48eee1[_0x4dbda3^_0x3a5822]]],_0x125cb8^=_0x48eee1[_0x48eee1[_0x125cb8]]):_0x512d1a=_0x125cb8=0x1;}}());var _0x3e8c09=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5d09a1=_0x15c3f1[_0x21ddf5(0x1b7)]=_0xcc299d['extend']({'_doReset':function(){var _0x300c1a=_0x21ddf5,_0x2962ec;if(!(this[_0x300c1a(0x160)]&&this[_0x300c1a(0x370)]===this[_0x300c1a(0x29d)])){for(var _0x381f99=this['_keyPriorReset']=this[_0x300c1a(0x29d)],_0x188eef=_0x381f99['words'],_0x99ad7f=_0x381f99[_0x300c1a(0x2cd)]/0x4,_0x45f7a3=this['_nRounds']=_0x99ad7f+0x6,_0xa29429=(_0x45f7a3+0x1)*0x4,_0x1ff711=this[_0x300c1a(0x2fc)]=[],_0x2b39d6=0x0;_0x2b39d6<_0xa29429;_0x2b39d6++)_0x2b39d6<_0x99ad7f?_0x1ff711[_0x2b39d6]=_0x188eef[_0x2b39d6]:(_0x2962ec=_0x1ff711[_0x2b39d6-0x1],_0x2b39d6%_0x99ad7f?_0x99ad7f>0x6&&_0x2b39d6%_0x99ad7f==0x4&&(_0x2962ec=_0x44c7fb[_0x2962ec>>>0x18]<<0x18|_0x44c7fb[_0x2962ec>>>0x10&0xff]<<0x10|_0x44c7fb[_0x2962ec>>>0x8&0xff]<<0x8|_0x44c7fb[_0x2962ec&0xff]):(_0x2962ec=_0x2962ec<<0x8|_0x2962ec>>>0x18,_0x2962ec=_0x44c7fb[_0x2962ec>>>0x18]<<0x18|_0x44c7fb[_0x2962ec>>>0x10&0xff]<<0x10|_0x44c7fb[_0x2962ec>>>0x8&0xff]<<0x8|_0x44c7fb[_0x2962ec&0xff],_0x2962ec^=_0x3e8c09[_0x2b39d6/_0x99ad7f|0x0]<<0x18),_0x1ff711[_0x2b39d6]=_0x1ff711[_0x2b39d6-_0x99ad7f]^_0x2962ec);for(var _0x2d6fee=this[_0x300c1a(0x31a)]=[],_0x41716a=0x0;_0x41716a<_0xa29429;_0x41716a++){var _0x2b39d6=_0xa29429-_0x41716a;if(_0x41716a%0x4)var _0x2962ec=_0x1ff711[_0x2b39d6];else var _0x2962ec=_0x1ff711[_0x2b39d6-0x4];_0x41716a<0x4||_0x2b39d6<=0x4?_0x2d6fee[_0x41716a]=_0x2962ec:_0x2d6fee[_0x41716a]=_0x1efaff[_0x44c7fb[_0x2962ec>>>0x18]]^_0x5bc1b5[_0x44c7fb[_0x2962ec>>>0x10&0xff]]^_0x1c0c19[_0x44c7fb[_0x2962ec>>>0x8&0xff]]^_0x44307e[_0x44c7fb[_0x2962ec&0xff]];}}},'encryptBlock':function(_0x13680a,_0x1d77f3){var _0xf4edd4=_0x21ddf5;this[_0xf4edd4(0x3e0)](_0x13680a,_0x1d77f3,this[_0xf4edd4(0x2fc)],_0x3a207e,_0x238df3,_0x52de5b,_0x43f49b,_0x44c7fb);},'decryptBlock':function(_0x54c6f1,_0x1f4e6d){var _0x499927=_0x54c6f1[_0x1f4e6d+0x1];_0x54c6f1[_0x1f4e6d+0x1]=_0x54c6f1[_0x1f4e6d+0x3],_0x54c6f1[_0x1f4e6d+0x3]=_0x499927,this['_doCryptBlock'](_0x54c6f1,_0x1f4e6d,this['_invKeySchedule'],_0x1efaff,_0x5bc1b5,_0x1c0c19,_0x44307e,_0xd0ed06);var _0x499927=_0x54c6f1[_0x1f4e6d+0x1];_0x54c6f1[_0x1f4e6d+0x1]=_0x54c6f1[_0x1f4e6d+0x3],_0x54c6f1[_0x1f4e6d+0x3]=_0x499927;},'_doCryptBlock':function(_0x83c1e4,_0x16f721,_0x3b8829,_0xf12a83,_0x92b93a,_0x3d3828,_0x3e8f84,_0x3f21ed){var _0x356871=_0x21ddf5;for(var _0x4236bd=this[_0x356871(0x160)],_0x45564b=_0x83c1e4[_0x16f721]^_0x3b8829[0x0],_0x2598c9=_0x83c1e4[_0x16f721+0x1]^_0x3b8829[0x1],_0x43b9b8=_0x83c1e4[_0x16f721+0x2]^_0x3b8829[0x2],_0x6aed20=_0x83c1e4[_0x16f721+0x3]^_0x3b8829[0x3],_0x429f87=0x4,_0x10095a=0x1;_0x10095a<_0x4236bd;_0x10095a++){var _0x5556bc=_0xf12a83[_0x45564b>>>0x18]^_0x92b93a[_0x2598c9>>>0x10&0xff]^_0x3d3828[_0x43b9b8>>>0x8&0xff]^_0x3e8f84[_0x6aed20&0xff]^_0x3b8829[_0x429f87++],_0x70d9df=_0xf12a83[_0x2598c9>>>0x18]^_0x92b93a[_0x43b9b8>>>0x10&0xff]^_0x3d3828[_0x6aed20>>>0x8&0xff]^_0x3e8f84[_0x45564b&0xff]^_0x3b8829[_0x429f87++],_0x1c990c=_0xf12a83[_0x43b9b8>>>0x18]^_0x92b93a[_0x6aed20>>>0x10&0xff]^_0x3d3828[_0x45564b>>>0x8&0xff]^_0x3e8f84[_0x2598c9&0xff]^_0x3b8829[_0x429f87++],_0x40df09=_0xf12a83[_0x6aed20>>>0x18]^_0x92b93a[_0x45564b>>>0x10&0xff]^_0x3d3828[_0x2598c9>>>0x8&0xff]^_0x3e8f84[_0x43b9b8&0xff]^_0x3b8829[_0x429f87++];_0x45564b=_0x5556bc,_0x2598c9=_0x70d9df,_0x43b9b8=_0x1c990c,_0x6aed20=_0x40df09;}var _0x5556bc=(_0x3f21ed[_0x45564b>>>0x18]<<0x18|_0x3f21ed[_0x2598c9>>>0x10&0xff]<<0x10|_0x3f21ed[_0x43b9b8>>>0x8&0xff]<<0x8|_0x3f21ed[_0x6aed20&0xff])^_0x3b8829[_0x429f87++],_0x70d9df=(_0x3f21ed[_0x2598c9>>>0x18]<<0x18|_0x3f21ed[_0x43b9b8>>>0x10&0xff]<<0x10|_0x3f21ed[_0x6aed20>>>0x8&0xff]<<0x8|_0x3f21ed[_0x45564b&0xff])^_0x3b8829[_0x429f87++],_0x1c990c=(_0x3f21ed[_0x43b9b8>>>0x18]<<0x18|_0x3f21ed[_0x6aed20>>>0x10&0xff]<<0x10|_0x3f21ed[_0x45564b>>>0x8&0xff]<<0x8|_0x3f21ed[_0x2598c9&0xff])^_0x3b8829[_0x429f87++],_0x40df09=(_0x3f21ed[_0x6aed20>>>0x18]<<0x18|_0x3f21ed[_0x45564b>>>0x10&0xff]<<0x10|_0x3f21ed[_0x2598c9>>>0x8&0xff]<<0x8|_0x3f21ed[_0x43b9b8&0xff])^_0x3b8829[_0x429f87++];_0x83c1e4[_0x16f721]=_0x5556bc,_0x83c1e4[_0x16f721+0x1]=_0x70d9df,_0x83c1e4[_0x16f721+0x2]=_0x1c990c,_0x83c1e4[_0x16f721+0x3]=_0x40df09;},'keySize':0x100/0x20});_0x21df77[_0x21ddf5(0x1b7)]=_0xcc299d[_0x21ddf5(0x155)](_0x5d09a1);}()),_0x2605cb['AES'];}));}(Ve)),Ve[_0x323786(0x19a)];}var Gr=Vr();const Wr=ke(Gr);var Kr=wi();const oi=ke(Kr);var Xe={'exports':{}},Yr=Xe[_0x342d1a(0x19a)],ai;function qr(){return ai||(ai=0x1,function(_0x45cfbc,_0x5232ad){(function(_0xfd4740,_0x1ef96f){var _0x14362a=_0x1d1c;_0x45cfbc[_0x14362a(0x19a)]=_0x1ef96f(se());}(Yr,function(_0x481016){var _0x1722b7=_0x1d1c;return _0x481016[_0x1722b7(0x12d)][_0x1722b7(0x302)];}));}(Xe)),Xe['exports'];}var zr=qr();const Jr=ke(zr);var Ze={'exports':{}},Xr=Ze[_0x342d1a(0x19a)],ci;function Zr(){var _0x2a50e0=_0x342d1a;return ci||(ci=0x1,function(_0x413cfb,_0x591513){(function(_0xcaf8c4,_0xb9795b){var _0x458e0a=_0x1d1c;_0x413cfb[_0x458e0a(0x19a)]=_0xb9795b(se());}(Xr,function(_0x3c87f2){var _0x59c787=_0x1d1c;return(function(){var _0x2606c7=_0x1d1c;if(typeof ArrayBuffer==_0x2606c7(0x219)){var _0x94d0d2=_0x3c87f2,_0x5a3faf=_0x94d0d2[_0x2606c7(0x398)],_0x279c1d=_0x5a3faf[_0x2606c7(0x281)],_0x314a11=_0x279c1d[_0x2606c7(0x2c6)],_0x547335=_0x279c1d['init']=function(_0x15179e){var _0x348b26=_0x2606c7;if(_0x15179e instanceof ArrayBuffer&&(_0x15179e=new Uint8Array(_0x15179e)),(_0x15179e instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x15179e instanceof Uint8ClampedArray||_0x15179e instanceof Int16Array||_0x15179e instanceof Uint16Array||_0x15179e instanceof Int32Array||_0x15179e instanceof Uint32Array||_0x15179e instanceof Float32Array||_0x15179e instanceof Float64Array)&&(_0x15179e=new Uint8Array(_0x15179e['buffer'],_0x15179e[_0x348b26(0x374)],_0x15179e[_0x348b26(0x110)])),_0x15179e instanceof Uint8Array){for(var _0x2c5f9c=_0x15179e['byteLength'],_0x374b90=[],_0x14e121=0x0;_0x14e121<_0x2c5f9c;_0x14e121++)_0x374b90[_0x14e121>>>0x2]|=_0x15179e[_0x14e121]<<0x18-_0x14e121%0x4*0x8;_0x314a11[_0x348b26(0x35f)](this,_0x374b90,_0x2c5f9c);}else _0x314a11[_0x348b26(0x323)](this,arguments);};_0x547335['prototype']=_0x279c1d;}}()),_0x3c87f2['lib'][_0x59c787(0x281)];}));}(Ze)),Ze[_0x2a50e0(0x19a)];}var Qr=Zr();const en=ke(Qr);var Qe={'exports':{}},tn=Qe[_0x342d1a(0x19a)],hi;function sn(){return hi||(hi=0x1,function(_0x3888e8,_0x57f13f){(function(_0x5a8d88,_0x1be1d2,_0x381882){var _0x11a778=_0x1d1c;_0x3888e8[_0x11a778(0x19a)]=_0x1be1d2(se(),Ai());}(tn,function(_0x3a0789){var _0x50d13c=_0x1d1c;return _0x3a0789[_0x50d13c(0x247)][_0x50d13c(0x114)]={'pad':function(){},'unpad':function(){}},_0x3a0789['pad']['NoPadding'];}));}(Qe)),Qe['exports'];}var rn=sn();const nn=ke(rn);function on(_0x19d5b5,_0x27d40e){var _0x5a6c23=_0x342d1a;const _0x48247f=_0x27d40e-_0x19d5b5[_0x5a6c23(0x176)]%_0x27d40e,_0x1d2300=String['fromCharCode'](_0x48247f)[_0x5a6c23(0x3bb)](_0x48247f);return _0x19d5b5+_0x1d2300;}function an(_0x30788d,_0x3a063d){var _0x1a30c8=_0x342d1a;const _0x395186=en[_0x1a30c8(0x2b8)](0x10),_0x2dcbb8=on(_0x30788d,0x10),_0x211570=Wr[_0x1a30c8(0x196)](Jr[_0x1a30c8(0x190)](_0x2dcbb8),oi[_0x1a30c8(0x190)](_0x3a063d),{'iv':_0x395186,'padding':nn});return _0x395186['concat'](_0x211570[_0x1a30c8(0x187)])[_0x1a30c8(0x271)](oi);}function cn(){var _0x258498=_0x342d1a;const _0x71693c=_0x1ae24b()[_0x258498(0x20f)];if(_0x71693c){const _0x2aef7c={'time':Math['floor'](Date['now']()/0x3e8),'domain':location[_0x258498(0xf9)]};return an(JSON[_0x258498(0x3b9)](_0x2aef7c),_0x71693c);}}var hn=Object['defineProperty'],_n=Object[_0x342d1a(0x1eb)],ln=(_0x1e8613,_0x266e2e,_0x1d26d3,_0x4c5fd5)=>{var _0x2730f0=_0x342d1a;for(var _0x3c1a6a=_0x4c5fd5>0x1?void 0x0:_0x4c5fd5?_n(_0x266e2e,_0x1d26d3):_0x266e2e,_0x170b34=_0x1e8613[_0x2730f0(0x176)]-0x1,_0x487a15;_0x170b34>=0x0;_0x170b34--)(_0x487a15=_0x1e8613[_0x170b34])&&(_0x3c1a6a=(_0x4c5fd5?_0x487a15(_0x266e2e,_0x1d26d3,_0x3c1a6a):_0x487a15(_0x3c1a6a))||_0x3c1a6a);return _0x4c5fd5&&_0x3c1a6a&&hn(_0x266e2e,_0x1d26d3,_0x3c1a6a),_0x3c1a6a;},un=(_0x59a9b9,_0x37363b)=>(_0xc71c76,_0x5c872b)=>_0x37363b(_0xc71c76,_0x5c872b,_0x59a9b9);let ot=class{constructor(_0x1c5a09){var _0x3d0e5c=_0x342d1a;this[_0x3d0e5c(0x338)]=_0x1c5a09,this[_0x3d0e5c(0x361)]();}[_0x342d1a(0x361)](){var _0x2c1537=_0x342d1a;this['_httpService'][_0x2c1537(0x14c)]({'interceptor':(_0x421f68,_0x35112f)=>{var _0x2506d9=_0x2c1537;const _0x55d2b1=_0x421f68[_0x2506d9(0x2dc)],_0x1a859c=cn();return _0x1a859c&&_0x55d2b1[_0x2506d9(0x204)](_0x2506d9(0x2c0),_0x1a859c),_0x35112f(_0x421f68);}});}};ot=ln([un(0x0,_0x3469e4(_0x2ab91c))],ot);var dn=Object[_0x342d1a(0x3d6)],fn=Object['getOwnPropertyDescriptor'],vn=(_0xe5f03f,_0x2fab47,_0x212b81,_0x15bdaa)=>{var _0x816397=_0x342d1a;for(var _0x41f490=_0x15bdaa>0x1?void 0x0:_0x15bdaa?fn(_0x2fab47,_0x212b81):_0x2fab47,_0x2fd564=_0xe5f03f[_0x816397(0x176)]-0x1,_0x466bcc;_0x2fd564>=0x0;_0x2fd564--)(_0x466bcc=_0xe5f03f[_0x2fd564])&&(_0x41f490=(_0x15bdaa?_0x466bcc(_0x2fab47,_0x212b81,_0x41f490):_0x466bcc(_0x41f490))||_0x41f490);return _0x15bdaa&&_0x41f490&&dn(_0x2fab47,_0x212b81,_0x41f490),_0x41f490;},mt=(_0x418501,_0x360341)=>(_0x56c126,_0x20f313)=>_0x360341(_0x56c126,_0x20f313,_0x418501);let Ot=class extends _0x3302df{constructor(_0x1e711b,_0x19a48e,_0x3a8746){var _0x22a48b=_0x342d1a;super(),N(this,'_unitInfo$',new _0xb9db75(null)),N(this,_0x22a48b(0x16a),this[_0x22a48b(0x2e0)]['asObservable']()),(this[_0x22a48b(0x108)]=_0x1e711b,this[_0x22a48b(0x2ba)]=_0x19a48e,this[_0x22a48b(0x27e)]=_0x3a8746);}async[_0x342d1a(0x377)](_0x59f32b,_0xa5a959,_0x2f1a74){var _0xa759d1=_0x342d1a;this[_0xa759d1(0x2e0)]['next']({'unitId':_0x59f32b,'type':_0xa5a959,'subUnitId':_0x2f1a74});let _0x2d8189=null;switch(_0xa5a959){case Q[_0xa759d1(0xe1)]:{_0x2d8189=await this[_0xa759d1(0x1e6)](_0x59f32b);break;}case Q[_0xa759d1(0x10b)]:{_0x2d8189=await this['_loadDoc'](_0x59f32b);break;}default:{this[_0xa759d1(0x108)][_0xa759d1(0x27d)](_0xa759d1(0x21b),_0xa759d1(0x2cb));break;}}return _0x2d8189;}async['_loadSheet'](_0x211983){var _0x5ce3ac=_0x342d1a,_0x2fa13c;let _0x5d85bc=0x0;const _0x2e0008=await((_0x2fa13c=this[_0x5ce3ac(0x27e)])==null?void 0x0:_0x2fa13c[_0x5ce3ac(0x3e1)](_0x211983));return _0x2e0008&&(_0x2e0008[_0x5ce3ac(0x30e)]||_0x2e0008['mutations'][_0x5ce3ac(0x176)]!==0x0)&&(_0x5d85bc=_0x2e0008['rev']),_0x5d85bc===0x0&&this[_0x5ce3ac(0x108)][_0x5ce3ac(0x343)]('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x5ce3ac(0x2ba)][_0x5ce3ac(0x2d4)](_0x211983,_0x5d85bc);}async['_loadDoc'](_0x20b23f){var _0x1b16c9=_0x342d1a,_0x947e0b;let _0x5df337=0x0;const _0x2b498b=await((_0x947e0b=this[_0x1b16c9(0x27e)])==null?void 0x0:_0x947e0b[_0x1b16c9(0x3e1)](_0x20b23f));return _0x2b498b&&(_0x2b498b['awaitingChangeset']||_0x2b498b['mutations']['length']!==0x0)&&(_0x5df337=_0x2b498b[_0x1b16c9(0x111)]),_0x5df337===0x0&&this[_0x1b16c9(0x108)][_0x1b16c9(0x343)](_0x1b16c9(0x21b),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x1b16c9(0x2ba)][_0x1b16c9(0x12c)](_0x20b23f,_0x5df337);}};Ot=vn([mt(0x0,_0x2b6a87),mt(0x1,_0x3469e4(_0x48d169)),mt(0x2,_0x1f0359(J))],Ot);var pn=Object['defineProperty'],mn=Object[_0x342d1a(0x1eb)],gn=(_0x1a0bbc,_0x101aef,_0x2fffa9,_0x33ffb3)=>{var _0x8efcc7=_0x342d1a;for(var _0x255bb3=_0x33ffb3>0x1?void 0x0:_0x33ffb3?mn(_0x101aef,_0x2fffa9):_0x101aef,_0x33fd65=_0x1a0bbc[_0x8efcc7(0x176)]-0x1,_0xc46124;_0x33fd65>=0x0;_0x33fd65--)(_0xc46124=_0x1a0bbc[_0x33fd65])&&(_0x255bb3=(_0x33ffb3?_0xc46124(_0x101aef,_0x2fffa9,_0x255bb3):_0xc46124(_0x255bb3))||_0x255bb3);return _0x33ffb3&&_0x255bb3&&pn(_0x101aef,_0x2fffa9,_0x255bb3),_0x255bb3;},gt=(_0xa6f44c,_0x3b829a)=>(_0x1dac72,_0x298e77)=>_0x3b829a(_0x1dac72,_0x298e77,_0xa6f44c);const Sn=[_0x342d1a(0x3bc),_0x342d1a(0x3c3),_0x342d1a(0x268),_0x342d1a(0x26e),_0x342d1a(0x241)],En=0x5*0x400*0x400,In=_0x342d1a(0x3c9),Tn=_0x342d1a(0x3da),Cn=_0x342d1a(0x306),bn='/universer-api/file/{fileID}/sign-url';let yt=class{constructor(_0xfc3e07,_0x321430,_0x48458a){var _0x592648=_0x342d1a;N(this,_0x592648(0x184),0x0),N(this,_0x592648(0x1a0),new _0x109917()),N(this,_0x592648(0x205),this[_0x592648(0x1a0)]),N(this,'_imageSourceCache',new Map()),(this[_0x592648(0x338)]=_0xfc3e07,this[_0x592648(0x1c9)]=_0x321430,this[_0x592648(0x254)]=_0x48458a);}['setWaitCount'](_0xece957){var _0x3a4047=_0x342d1a;this[_0x3a4047(0x184)]=_0xece957,this['_change$'][_0x3a4047(0x132)](_0xece957);}[_0x342d1a(0x201)](_0x45e60b,_0x1f5d04){var _0xf8bc17=_0x342d1a;if(_0x1f5d04===_0x342481[_0xf8bc17(0x1fc)]){const _0x17a063=new Image();return _0x17a063[_0xf8bc17(0x2ab)]=_0x45e60b,_0x17a063;}return this[_0xf8bc17(0x31d)][_0xf8bc17(0x10a)](_0x45e60b);}[_0x342d1a(0x1fb)](_0x4e30e0,_0x2d910e,_0x518003){var _0x4dc1d6=_0x342d1a;_0x2d910e===_0x342481[_0x4dc1d6(0x1fc)]||_0x518003==null||this[_0x4dc1d6(0x31d)][_0x4dc1d6(0x204)](_0x4e30e0,_0x518003);}async[_0x342d1a(0x1d9)](_0x35a4d3){var _0x3e9dee=_0x342d1a;try{const _0x4de31c=this[_0x3e9dee(0x240)](this[_0x3e9dee(0x3b6)](),''+_0x35a4d3),_0x26651c=(await this[_0x3e9dee(0x338)][_0x3e9dee(0x10a)](_0x4de31c))[_0x3e9dee(0x2d5)];if(_0x26651c[_0x3e9dee(0x27d)]&&_0x26651c[_0x3e9dee(0x27d)][_0x3e9dee(0x28e)]===Ii['OK']){const _0x33e48a=new URL(_0x26651c[_0x3e9dee(0x297)],this[_0x3e9dee(0x317)]())[_0x3e9dee(0x271)]();return Promise[_0x3e9dee(0xe9)](_0x33e48a);}return Promise['reject'](_0x26651c[_0x3e9dee(0x27d)]);}catch(_0x44fe45){return Promise['reject'](_0x44fe45);}}async['saveImage'](_0x5e43b5){var _0x2e225e=_0x342d1a;let _0x5e8880='';if(!Sn[_0x2e225e(0x363)](_0x5e43b5[_0x2e225e(0x208)]))return this['_decreaseWaiting'](),Promise[_0x2e225e(0x161)](new Error(_0x790ad3['ERROR_IMAGE_TYPE']));if(_0x5e43b5[_0x2e225e(0x2b2)]>En)return this[_0x2e225e(0x36c)](),Promise[_0x2e225e(0x161)](new Error(_0x790ad3[_0x2e225e(0x165)]));try{const _0x4fb9c1=new FormData();_0x4fb9c1[_0x2e225e(0x327)]('file',_0x5e43b5);const _0x5c4603=this[_0x2e225e(0x254)][_0x2e225e(0x32d)](),_0x3973be=_0x5c4603==null?void 0x0:_0x5c4603['getUnitId']();if(!_0x3973be)throw new Error(_0x2e225e(0x294));const _0x1a7469=this[_0x2e225e(0x24d)]()+_0x2e225e(0xed)+_0x5e43b5[_0x2e225e(0x2b2)][_0x2e225e(0x271)]()+_0x2e225e(0x3a3)+Ti['UnitEmbedded']+_0x2e225e(0x16c)+encodeURIComponent(_0x3973be),_0x179892=await(await fetch(_0x1a7469,{'method':_0x2e225e(0x344),'body':_0x4fb9c1}))[_0x2e225e(0x17a)]();if(typeof _0x179892[_0x2e225e(0x2d8)]!='string')return this[_0x2e225e(0x36c)](),Promise[_0x2e225e(0x161)](new Error(_0x790ad3[_0x2e225e(0x305)]));_0x5e8880=_0x179892[_0x2e225e(0x2d8)];}catch{return this[_0x2e225e(0x36c)](),Promise['reject'](new Error(_0x790ad3[_0x2e225e(0x305)]));}return new Promise((_0xd5edc7,_0x3091c7)=>{var _0x30f839=_0x2e225e;const _0x426f3b=new FileReader();_0x426f3b[_0x30f839(0x1cc)](_0x5e43b5),_0x426f3b[_0x30f839(0x356)]=_0xf34179=>{var _0x23b048=_0x30f839,_0x4cb771;const _0x8cd091=(_0x4cb771=_0xf34179[_0x23b048(0x3dc)])==null?void 0x0:_0x4cb771['result'];if(_0x8cd091==null){this[_0x23b048(0x36c)](),_0x3091c7(new Error(_0x790ad3[_0x23b048(0x305)]));return;}const _0x45d0f8=_0x1dc9a2['generateRandomId'](0x6);_0xd5edc7({'imageId':_0x45d0f8,'imageSourceType':_0x342481[_0x23b048(0x26a)],'source':_0x5e8880,'base64Cache':_0x8cd091,'status':_0x790ad3[_0x23b048(0x212)]}),this[_0x23b048(0x36c)]();};});}[_0x342d1a(0x24d)](){var _0x53b5be=_0x342d1a,_0x1b76a6,_0x46a1ba;const _0x235817=this[_0x53b5be(0x1c9)][_0x53b5be(0x1ed)](In),_0x1c8f53=this['_configService']['getConfig'](q);return(_0x46a1ba=(_0x1b76a6=_0x1c8f53==null?void 0x0:_0x1c8f53[_0x53b5be(0x36f)])!=null?_0x1b76a6:_0x235817)!=null?_0x46a1ba:Tn;}['_getSignURL'](){var _0x12c6e0=_0x342d1a,_0x3c2ced,_0x2d887c;const _0x452c6d=this[_0x12c6e0(0x1c9)][_0x12c6e0(0x1ed)](Cn),_0x3482cc=this[_0x12c6e0(0x1c9)][_0x12c6e0(0x1ed)](q);return(_0x2d887c=(_0x3c2ced=_0x3482cc==null?void 0x0:_0x3482cc[_0x12c6e0(0x159)])!=null?_0x3c2ced:_0x452c6d)!=null?_0x2d887c:bn;}['_getDownloadEndpointURL'](){var _0x443d41=_0x342d1a,_0x5daece;const _0x286280=this[_0x443d41(0x1c9)][_0x443d41(0x1ed)](q);return(_0x5daece=_0x286280==null?void 0x0:_0x286280['downloadEndpointUrl'])!=null?_0x5daece:location[_0x443d41(0x23a)];}[_0x342d1a(0x240)](_0x50196c,_0x2d748c){var _0x2cf521=_0x342d1a;return _0x50196c['replace'](_0x2cf521(0x348),_0x2d748c);}[_0x342d1a(0x36c)](){var _0x50c183=_0x342d1a;this['_waitCount']-=0x1,this[_0x50c183(0x1a0)][_0x50c183(0x132)](this[_0x50c183(0x184)]);}};yt=gn([gt(0x0,_0x3469e4(_0x2ab91c)),gt(0x1,_0xfb9dba),gt(0x2,_0x3469e4(_0x935257))],yt);var Rn=Object[_0x342d1a(0x3d6)],On=Object[_0x342d1a(0x1eb)],yn=(_0x141b10,_0x1eabac,_0xe0d861,_0x38b92c)=>{var _0x3fd0a5=_0x342d1a;for(var _0x570edd=_0x38b92c>0x1?void 0x0:_0x38b92c?On(_0x1eabac,_0xe0d861):_0x1eabac,_0x291e2c=_0x141b10[_0x3fd0a5(0x176)]-0x1,_0x48f0dd;_0x291e2c>=0x0;_0x291e2c--)(_0x48f0dd=_0x141b10[_0x291e2c])&&(_0x570edd=(_0x38b92c?_0x48f0dd(_0x1eabac,_0xe0d861,_0x570edd):_0x48f0dd(_0x570edd))||_0x570edd);return _0x38b92c&&_0x570edd&&Rn(_0x1eabac,_0xe0d861,_0x570edd),_0x570edd;},_i=(_0x5a648c,_0x2435b8)=>(_0x16f1db,_0x126743)=>_0x2435b8(_0x16f1db,_0x126743,_0x5a648c);const Nn='/universer-api/authz';let Nt=class{constructor(_0x5f308b,_0x1577c3){var _0x179b79=_0x342d1a;this[_0x179b79(0x1c9)]=_0x5f308b,this['_HTTPService']=_0x1577c3;}[_0x342d1a(0x298)](){var _0x44f381=_0x342d1a,_0x15118a,_0x22d976;const _0x13032a=this[_0x44f381(0x1c9)][_0x44f381(0x1ed)](Pi),_0x484e2f=this[_0x44f381(0x1c9)][_0x44f381(0x1ed)](q);return(_0x22d976=(_0x15118a=_0x484e2f==null?void 0x0:_0x484e2f[_0x44f381(0x2ef)])!=null?_0x15118a:_0x13032a)!=null?_0x22d976:Nn;}async[_0x342d1a(0x331)](_0x6af29a){var _0x16300c=_0x342d1a;const _0x576e90=this['_getAPIPrefixPath']()+_0x16300c(0x109);return{'list':[{'title':_0x16300c(0x2ca),'mentions':(await this[_0x16300c(0x303)][_0x16300c(0x10a)](_0x576e90,{'params':{'objectID':_0x6af29a[_0x16300c(0x39a)],'unitID':_0x6af29a[_0x16300c(0x39a)]}}))[_0x16300c(0x2d5)][_0x16300c(0x307)][_0x16300c(0x179)](_0x1cfc2a=>({'objectId':_0x1cfc2a['id'],'name':_0x1cfc2a[_0x16300c(0x137)]['name'],'metadata':{'icon':_0x1cfc2a[_0x16300c(0x137)][_0x16300c(0x347)]},'label':_0x1cfc2a[_0x16300c(0x137)][_0x16300c(0x265)],'objectType':_0x1f6786[_0x16300c(0x3d0)]})),'metadata':{},'type':_0x1f6786[_0x16300c(0x3d0)]}]};}};Nt=yn([_i(0x0,_0x3469e4(_0xfb9dba)),_i(0x1,_0x3469e4(_0x2ab91c))],Nt);var Dn=Object[_0x342d1a(0x3d6)],Pn=Object['getOwnPropertyDescriptor'],wn=(_0x485a75,_0x4ab4d2,_0x464cee,_0x1b7092)=>{var _0x162ad5=_0x342d1a;for(var _0xac48aa=_0x1b7092>0x1?void 0x0:_0x1b7092?Pn(_0x4ab4d2,_0x464cee):_0x4ab4d2,_0x2930cc=_0x485a75[_0x162ad5(0x176)]-0x1,_0x423214;_0x2930cc>=0x0;_0x2930cc--)(_0x423214=_0x485a75[_0x2930cc])&&(_0xac48aa=(_0x1b7092?_0x423214(_0x4ab4d2,_0x464cee,_0xac48aa):_0x423214(_0xac48aa))||_0xac48aa);return _0x1b7092&&_0xac48aa&&Dn(_0x4ab4d2,_0x464cee,_0xac48aa),_0xac48aa;},Se=(_0xd7bcf2,_0x24555a)=>(_0x2d4492,_0x4d07e6)=>_0x24555a(_0x2d4492,_0x4d07e6,_0xd7bcf2);let at=class extends _0x3302df{constructor(_0x2be2ef,_0x331b84,_0x3387ca,_0x575bc3,_0x3d90cb,_0x506c05,_0x31e9ff){var _0x216cce=_0x342d1a;super(),this[_0x216cce(0x2af)]=_0x2be2ef,this[_0x216cce(0x254)]=_0x331b84,this['_permissionService']=_0x3387ca,this[_0x216cce(0x353)]=_0x575bc3,this['_collaborationUIEventService']=_0x3d90cb,this['_authzIoService']=_0x506c05,this['_undoRedoService']=_0x31e9ff,this[_0x216cce(0x3dd)](),this[_0x216cce(0x257)]();}['_initCloseConn'](){var _0x4c585c=_0x342d1a;const _0x2b64dd=async _0x42dffe=>{var _0x112f45=_0x1d1c;(await this[_0x112f45(0x353)]['requireSession'](_0x42dffe))[_0x112f45(0x1ad)][_0x112f45(0xf5)](_0x3d4fbc(_0x55538a=>_0x55538a['eventID']===_0x23a47a[_0x112f45(0x1f1)]),_0x79059a(this[_0x112f45(0x26f)]))['subscribe'](_0xf1acf=>{var _0x1f8b1f=_0x112f45;const _0x5efcd8=_0xf1acf,{reason:_0x4bd6ec}=_0x5efcd8[_0x1f8b1f(0x25f)];this[_0x1f8b1f(0x13f)][_0x1f8b1f(0xf6)]({'id':ne['CLOSE_ROOM'],'data':_0x4bd6ec}),this['_permissionService']['updatePermissionPoint'](new _0x480994(_0x42dffe)['id'],!0x1),this['_collaborationSessionService'][_0x1f8b1f(0x1a8)](_0x42dffe);});};_0x2bb28d(this[_0x4c585c(0x254)][_0x4c585c(0x195)](_0x43189d[_0x4c585c(0xe1)]),this[_0x4c585c(0x254)][_0x4c585c(0x195)](_0x43189d[_0x4c585c(0x10b)]))[_0x4c585c(0xf5)](_0x4b44c4(_0x145e2a=>_0x145e2a[_0x4c585c(0x2a7)]()),_0x3d4fbc(_0x2460e2=>!_0x469587(_0x2460e2)),_0x79059a(this[_0x4c585c(0x26f)]))[_0x4c585c(0x3a2)](_0x18e2ac=>{_0x2b64dd(_0x18e2ac);});}['_initUnitPermissionChange'](){var _0x582a16=_0x342d1a;const _0x3ab5b5=async _0x2055c9=>{var _0x3737d1=_0x1d1c;const _0x4766e4=await this['_collaborationSessionService'][_0x3737d1(0x2db)](_0x2055c9),_0x2254e6=this[_0x3737d1(0x2af)][_0x3737d1(0x10a)](_0x3aa26d);_0x4766e4[_0x3737d1(0x1ad)][_0x3737d1(0xf5)](_0x3d4fbc(_0x22ae56=>_0x22ae56[_0x3737d1(0x104)]===_0x23a47a[_0x3737d1(0x390)]),_0x79059a(this['dispose$']))[_0x3737d1(0x3a2)](_0x1be63c=>{var _0x2694ee=_0x3737d1;const _0x23e24e=_0x1be63c,{objectId:_0x40ed7e}=_0x23e24e[_0x2694ee(0x25f)];_0x40ed7e===_0x2055c9?_0x2254e6[_0x2694ee(0x260)](_0x2055c9):_0x2254e6[_0x2694ee(0x1d8)](_0x2055c9,_0x40ed7e);});};_0x2bb28d(this[_0x582a16(0x254)]['getTypeOfUnitAdded$'](_0x43189d[_0x582a16(0xe1)]),this[_0x582a16(0x254)][_0x582a16(0x195)](_0x43189d[_0x582a16(0x10b)]))['pipe'](_0x4b44c4(_0x35c9d9=>_0x35c9d9['getUnitId']()),_0x3d4fbc(_0x273dbd=>!_0x469587(_0x273dbd)),_0x79059a(this[_0x582a16(0x26f)]))['subscribe'](_0x36891d=>{_0x3ab5b5(_0x36891d);});}};at=wn([Se(0x0,_0x3469e4(_0x418715)),Se(0x1,_0x935257),Se(0x2,_0x1ccbec),Se(0x3,_0x3469e4(Le)),Se(0x4,_0x3469e4(pe)),Se(0x5,_0x4176da),Se(0x6,_0x165976)],at);var Un=Object['defineProperty'],An=Object[_0x342d1a(0x1eb)],xn=(_0x34db34,_0x5f256a,_0x4c1dbb,_0x40bccb)=>{var _0xcd1a30=_0x342d1a;for(var _0x4b5e8e=_0x40bccb>0x1?void 0x0:_0x40bccb?An(_0x5f256a,_0x4c1dbb):_0x5f256a,_0x254089=_0x34db34[_0xcd1a30(0x176)]-0x1,_0x129679;_0x254089>=0x0;_0x254089--)(_0x129679=_0x34db34[_0x254089])&&(_0x4b5e8e=(_0x40bccb?_0x129679(_0x5f256a,_0x4c1dbb,_0x4b5e8e):_0x129679(_0x4b5e8e))||_0x4b5e8e);return _0x40bccb&&_0x4b5e8e&&Un(_0x5f256a,_0x4c1dbb,_0x4b5e8e),_0x4b5e8e;},li=(_0x20dfaf,_0x1e930a)=>(_0x1c6fc8,_0x5b76a0)=>_0x1e930a(_0x1c6fc8,_0x5b76a0,_0x20dfaf);let Dt=class{constructor(_0x20cacd,_0x2e6909){var _0x543278=_0x342d1a;this[_0x543278(0x1c9)]=_0x20cacd,this[_0x543278(0x338)]=_0x2e6909;}async[_0x342d1a(0x188)](_0xf2a111,_0x3c25a3){var _0x7b5c68=_0x342d1a,_0x4f3a6c;const {unitID:_0x3eeac1,type:_0x415b9e,revision:_0x115535=0x0}=_0x3c25a3,_0x51cb6e=this[_0x7b5c68(0x15e)]()+'/'+_0x415b9e+'/unit/'+_0x3eeac1+_0x7b5c68(0x311)+_0x115535,_0x491369=(await this[_0x7b5c68(0x338)][_0x7b5c68(0x10a)](_0x51cb6e))[_0x7b5c68(0x2d5)],_0x3ed95e=(_0x4f3a6c=_0x491369[_0x7b5c68(0x23f)])==null?void 0x0:_0x4f3a6c[_0x7b5c68(0x37b)];if(_0x3ed95e){const _0x3f888b=_0x3ed95e==null?void 0x0:_0x3ed95e[_0x7b5c68(0x234)],_0x51d293=_0x3d2108[_0x7b5c68(0x17c)](_0x8ab3dd(_0x3f888b));_0x3ed95e['originalMeta']=_0x51d293,Object[_0x7b5c68(0x11d)](_0x3ed95e[_0x7b5c68(0x322)])[_0x7b5c68(0x385)](([,_0x280acb])=>{var _0x4ffa8f=_0x7b5c68;const _0x57cc43=_0x280acb[_0x4ffa8f(0x234)],_0x12b795=_0x3d2108[_0x4ffa8f(0x17c)](_0x8ab3dd(_0x57cc43));_0x280acb['originalMeta']=_0x12b795;});}return _0x491369;}async[_0x342d1a(0x31b)](_0x3d1f13,_0x6019dc){var _0x27d352=_0x342d1a;const {unitID:_0x4d6ab4,type:_0x44663a,blockID:_0x491b48}=_0x6019dc,_0x1cd2e7=this['_getAPIPrefix']()+'/'+_0x44663a+_0x27d352(0x2c8)+_0x4d6ab4+_0x27d352(0x233)+_0x491b48;return(await this[_0x27d352(0x338)][_0x27d352(0x10a)](_0x1cd2e7))[_0x27d352(0x2d5)];}async[_0x342d1a(0x229)](_0x263a91,_0x4f403a){var _0x14fd6b=_0x342d1a;const {unitID:_0xbabab5,type:_0x2945fc,blockID:_0x30955c}=_0x4f403a,_0x220018=this[_0x14fd6b(0x16b)]()+_0x14fd6b(0x233)+_0x2945fc+_0x14fd6b(0x2c8)+_0xbabab5+_0x14fd6b(0x233)+_0x30955c;return(await this[_0x14fd6b(0x338)][_0x14fd6b(0x10a)](_0x220018))[_0x14fd6b(0x2d5)];}async[_0x342d1a(0x186)](_0x1259e9,_0x1180e2){var _0x20b36c=_0x342d1a;const {unitID:_0x5495dc,type:_0x1a441f,from:_0x4219e9,to:_0x456796}=_0x1180e2,_0x3b7001=this[_0x20b36c(0x16b)]()+'/'+_0x1a441f+'/unit/'+_0x5495dc+_0x20b36c(0x333)+_0x4219e9+_0x20b36c(0x15a)+_0x456796;return(await this[_0x20b36c(0x338)][_0x20b36c(0x10a)](_0x3b7001))[_0x20b36c(0x2d5)];}[_0x342d1a(0x15e)](){var _0x3ae02a=_0x342d1a,_0x43dd85;return(_0x43dd85=this[_0x3ae02a(0x1c9)]['getConfig'](Is))!=null?_0x43dd85:this[_0x3ae02a(0x16b)]();}[_0x342d1a(0x16b)](){var _0x412974=_0x342d1a,_0x486f29,_0x327002;const _0x38de9e=this[_0x412974(0x1c9)][_0x412974(0x1ed)](Ss),_0x2cf60b=this[_0x412974(0x1c9)]['getConfig'](q);return(_0x327002=(_0x486f29=_0x2cf60b==null?void 0x0:_0x2cf60b['snapshotServerUrl'])!=null?_0x486f29:_0x38de9e)!=null?_0x327002:Es;}async[_0x342d1a(0x1f5)](_0x204c09,_0x586191){var _0x1ada0b=_0x342d1a;const _0x6e588d=_0x1ada0b(0x3d4)+_0x586191['type']+'/unit/'+_0x586191['unitID']+_0x1ada0b(0x35c);return(await this[_0x1ada0b(0x338)][_0x1ada0b(0x10a)](_0x6e588d,{'params':{'resourceId':JSON[_0x1ada0b(0x3b9)](_0x586191[_0x1ada0b(0x133)])}}))['body'];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x342d1a(0x27b)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x342d1a(0x3ca)](){var _0xda46a9=_0x342d1a;throw new Error(_0xda46a9(0x3df));}[_0x342d1a(0x2e1)](){var _0x34d8b7=_0x342d1a;throw new Error(_0x34d8b7(0x3df));}[_0x342d1a(0x1d6)](){var _0xeb9cdb=_0x342d1a;throw new Error(_0xeb9cdb(0x3df));}};Dt=xn([li(0x0,_0xfb9dba),li(0x1,_0x3469e4(_0x2ab91c))],Dt);var Ln=Object[_0x342d1a(0x3d6)],Mn=Object['getOwnPropertyDescriptor'],$n=(_0xd5fed4,_0x1eadec,_0x1ceb5c,_0x195f0f)=>{var _0x3d09e2=_0x342d1a;for(var _0x152ffe=_0x195f0f>0x1?void 0x0:_0x195f0f?Mn(_0x1eadec,_0x1ceb5c):_0x1eadec,_0x49e013=_0xd5fed4[_0x3d09e2(0x176)]-0x1,_0x4d4752;_0x49e013>=0x0;_0x49e013--)(_0x4d4752=_0xd5fed4[_0x49e013])&&(_0x152ffe=(_0x195f0f?_0x4d4752(_0x1eadec,_0x1ceb5c,_0x152ffe):_0x4d4752(_0x152ffe))||_0x152ffe);return _0x195f0f&&_0x152ffe&&Ln(_0x1eadec,_0x1ceb5c,_0x152ffe),_0x152ffe;},Ae=(_0x45265f,_0x166369)=>(_0x155c23,_0x3ae33a)=>_0x166369(_0x155c23,_0x3ae33a,_0x45265f);let Pt=class extends _0x1276e6{constructor(_0x570f82,_0x965190,_0x5a4af8,_0x2b3e8e,_0x303e36){var _0x3b2dd6=_0x342d1a;super(_0x570f82,_0x965190,_0x5a4af8),this[_0x3b2dd6(0x2be)]=_0x2b3e8e,this[_0x3b2dd6(0x108)]=_0x303e36;}['transformUndoRedo'](_0x44b0e7,_0x4e3cae){var _0x2aecf4=_0x342d1a;const _0x5d892f=this['_getUndoStack'](_0x44b0e7);if(_0x5d892f)try{const _0x4839d7=this['_transformStack'](_0x5d892f,_0x4e3cae);this[_0x2aecf4(0x37f)](_0x44b0e7,_0x4839d7);}catch(_0x132c68){this[_0x2aecf4(0x108)]['error'](_0x2aecf4(0x203),_0x132c68),this['_clearUndo'](_0x44b0e7);}const _0x3b982a=this[_0x2aecf4(0x276)](_0x44b0e7);if(_0x3b982a)try{const _0x48b564=this[_0x2aecf4(0x2d1)](_0x3b982a,_0x4e3cae);this[_0x2aecf4(0x10f)](_0x44b0e7,_0x48b564);}catch(_0x11b362){this[_0x2aecf4(0x108)][_0x2aecf4(0x27d)](_0x11b362),this[_0x2aecf4(0x1e4)](_0x44b0e7);}}['_clearUndo'](_0x270e51){var _0x2d2c57=_0x342d1a;const _0x4914aa=this[_0x2d2c57(0x2c2)](_0x270e51);_0x4914aa&&(_0x4914aa['length']=0x0,this['_updateStatus']());}[_0x342d1a(0x1e4)](_0x821330){var _0x49f8fa=_0x342d1a;const _0x2d7f3c=this['_getRedoStack'](_0x821330);_0x2d7f3c&&(_0x2d7f3c[_0x49f8fa(0x176)]=0x0,this[_0x49f8fa(0x13b)]());}['_substituteUndoStack'](_0x31cdbc,_0x3a190d){var _0x150453=_0x342d1a;this[_0x150453(0x227)][_0x150453(0x204)](_0x31cdbc,_0x3a190d),this[_0x150453(0x13b)]();}['_substituteRedoStack'](_0x48a514,_0x387b1c){var _0x1de073=_0x342d1a;this[_0x1de073(0x1a2)]['set'](_0x48a514,_0x387b1c),this[_0x1de073(0x13b)]();}[_0x342d1a(0x2d1)](_0xbc9482,_0x304a81){var _0x191324=_0x342d1a;const _0x25f0ce=[];let _0x547eb9=_0x304a81,_0x1b6f14=_0x304a81;for(let _0x2e916e=_0xbc9482['length']-0x1;_0x2e916e>=0x0;_0x2e916e--){const {unitID:_0x13d7de,undoMutations:_0x56938c,redoMutations:_0x3c29cb}=_0xbc9482[_0x2e916e],_0x30ef65=this[_0x191324(0x2be)]['transformMutationsWithChangeset'](_0x547eb9,_0x56938c),_0x102193=this['_transformService'][_0x191324(0x18e)](_0x1b6f14,_0x3c29cb);if(_0x31dad2(_0x30ef65)||_0x31dad2(_0x102193)){this[_0x191324(0x108)][_0x191324(0x27d)]('[CollaborationUndoRedoService]',_0x191324(0x1d3),_0x30ef65,_0x102193);break;}_0x547eb9=_0x30ef65[_0x191324(0x3b4)],_0x1b6f14=_0x102193[_0x191324(0x3b4)],_0x25f0ce[_0x191324(0x382)]({'unitID':_0x13d7de,'undoMutations':_0x30ef65[_0x191324(0x2f2)],'redoMutations':_0x102193[_0x191324(0x2f2)]});}return _0x25f0ce['reverse']();}};Pt=$n([Ae(0x0,_0x935257),Ae(0x1,_0x2dafc5),Ae(0x2,_0x254026),Ae(0x3,_0x1175fc),Ae(0x4,_0x2b6a87)],Pt);var xi=Object['defineProperty'],Hn=Object['getOwnPropertyDescriptor'],kn=(_0x538b46,_0xd319d9,_0x5f5d98)=>_0xd319d9 in _0x538b46?xi(_0x538b46,_0xd319d9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5f5d98}):_0x538b46[_0xd319d9]=_0x5f5d98,jn=(_0x145140,_0x34fe5a,_0x592a9c,_0x4461c0)=>{var _0x2802fe=_0x342d1a;for(var _0x5c3c71=_0x4461c0>0x1?void 0x0:_0x4461c0?Hn(_0x34fe5a,_0x592a9c):_0x34fe5a,_0x460baf=_0x145140[_0x2802fe(0x176)]-0x1,_0x149794;_0x460baf>=0x0;_0x460baf--)(_0x149794=_0x145140[_0x460baf])&&(_0x5c3c71=(_0x4461c0?_0x149794(_0x34fe5a,_0x592a9c,_0x5c3c71):_0x149794(_0x5c3c71))||_0x5c3c71);return _0x4461c0&&_0x5c3c71&&xi(_0x34fe5a,_0x592a9c,_0x5c3c71),_0x5c3c71;},St=(_0x471404,_0x46d297)=>(_0x22b910,_0x5b224a)=>_0x46d297(_0x22b910,_0x5b224a,_0x471404),Bn=(_0x1e7943,_0x48b4f7,_0x5c01f7)=>kn(_0x1e7943,_0x48b4f7+'',_0x5c01f7);const Fn=_0x342d1a(0x1b1);let wt=class extends _0x462f4e{constructor(_0x2a9889=Wt,_0x109287,_0x85579f,_0x45b547){var _0x5103ae=_0x342d1a;super(),this[_0x5103ae(0x395)]=_0x2a9889,this[_0x5103ae(0x108)]=_0x109287,this[_0x5103ae(0x2af)]=_0x85579f,this[_0x5103ae(0x1c9)]=_0x45b547;const {..._0xc81d82}=_0x29fdce({},Wt,this[_0x5103ae(0x395)]);this[_0x5103ae(0x1c9)][_0x5103ae(0x1e1)](q,_0xc81d82);}[_0x342d1a(0x13c)](){var _0x36774c=_0x342d1a;this['_registerDependencies'](),this[_0x36774c(0x22d)]();}[_0x342d1a(0x102)](){var _0x39c6e5=_0x342d1a,_0x28b714,_0x159ffd,_0x272066,_0x4de8d9;this[_0x39c6e5(0x2af)][_0x39c6e5(0x334)](_0x165976)&&this[_0x39c6e5(0x108)][_0x39c6e5(0x27d)](_0x39c6e5(0x3b0),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x59e293=_0x1eb7fb([[_0x165976,{'useClass':Pt}],[Le],[xe],[it],[nt],[ot],[bi],[at],[pe],[Ot],[Ci,{'useClass':(_0x159ffd=(_0x28b714=this[_0x39c6e5(0x395)])==null?void 0x0:_0x28b714['socketService'])!=null?_0x159ffd:Et}],[_0x35444f,{'useClass':Dt}],[_0x4176da,{'useClass':Rt}],[_0x1efb07,{'useClass':yt}],[_0x299e75,{'useClass':Nt}],[rt],[bt]],(_0x272066=this['_config'])==null?void 0x0:_0x272066[_0x39c6e5(0x1b2)]);if(!((_0x4de8d9=this[_0x39c6e5(0x395)])!=null&&_0x4de8d9[_0x39c6e5(0xee)])){const _0x57d5bc=_0x59e293[_0x39c6e5(0x181)](([_0x3e6992])=>_0x3e6992===ht);_0x57d5bc!==-0x1&&_0x59e293[_0x39c6e5(0x143)](_0x57d5bc,0x1);}_0x5c0b8a(this[_0x39c6e5(0x2af)],_0x59e293);}['_initDependencies'](){var _0x5c6fc7=_0x342d1a,_0x1a8952,_0x48c870,_0x2ba870;this[_0x5c6fc7(0x2af)]['get'](_0x2ab91c)[_0x5c6fc7(0x14c)]({'priority':0x14,'interceptor':_0x43f8a1({'maxParallel':0x6})}),(_0x1a8952=this[_0x5c6fc7(0x395)])!=null&&_0x1a8952['enableOfflineEditing']||(_0x48c870=this[_0x5c6fc7(0x2af)]['get'](J,_0x5886b2[_0x5c6fc7(0x3d1)]))==null||_0x48c870[_0x5c6fc7(0x2b1)](),(_0x2ba870=this[_0x5c6fc7(0x395)])!=null&&_0x2ba870[_0x5c6fc7(0x1fe)]&&_0x5df22f(this['_injector'],[[nt]]),_0x5df22f(this[_0x5c6fc7(0x2af)],[[ot],[rt],[at]]);}};Bn(wt,'pluginName',Fn),wt=jn([_0x279148(_0xcb2faf,_0x37b2c8,_0x1f6644),St(0x1,_0x2b6a87),St(0x2,_0x3469e4(_0x418715)),St(0x3,_0xfb9dba)],wt);export{Pi as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,ws as COLLAB_SUBMIT_CHANGESET_URL_KEY,Cs as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,st as CollaborationEntity,yt as CollaborationImageIoService,It as CollaborationSession,Le as CollaborationSessionService,Et as CollaborationSocketService,yi as CollaborationStatus,ne as CollaborationUIEventId,pe as CollaborationUIEventService,Pt as CollaborativeUndoRedoService,bi as CommentService,de as ConflictState,bs as DEFAULT_COLLAB_WEB_SOCKET_URL,ro as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Tt as DocCollaborationEntity,te as FetchingMissState,Os as HEARTBEAT_INTERVAL_KEY,Si as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,Ls as INetworkConditionService,ht as ISingleActiveUnitService,io as LOCAL_CACHE_INTERVAL,to as LOCAL_CACHE_INTERVAL_KEY,As as LOGIN_URL_KEY,xe as MemberService,Nt as MentionIoHttpService,fe as OfflineState,oe as PendingState,so as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Ds as RETRY_CONNECTING_MAX_COUNT_KEY,eo as SEND_CHANGESET_TIMEOUT_KEY,Ss as SNAPSHOT_SERVER_URL_KEY,Is as SNAPSHOT_URL_KEY,Te as SessionStatus,Ct as SheetCollaborationEntity,it as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,De as SyncedState,Ri as UnitStatus,wt as UniverCollaborationClientPlugin,Ms as deserializeToCombResponse,no as getLocalCacheKey,$s as serializeCombRequest};