@univerjs-pro/collaboration-client 0.8.3-nightly.202507010644 → 0.8.3-nightly.202507021607

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0x285f88=_0x2f99;(function(_0x33f074,_0x4d827e){var _0x4ca702=_0x2f99,_0x9da11e=_0x33f074();while(!![]){try{var _0x4e36af=-parseInt(_0x4ca702(0x3a7))/0x1+-parseInt(_0x4ca702(0x25e))/0x2+-parseInt(_0x4ca702(0x303))/0x3*(parseInt(_0x4ca702(0x266))/0x4)+-parseInt(_0x4ca702(0x38a))/0x5+parseInt(_0x4ca702(0x3ff))/0x6*(-parseInt(_0x4ca702(0x258))/0x7)+parseInt(_0x4ca702(0x314))/0x8*(-parseInt(_0x4ca702(0x43c))/0x9)+-parseInt(_0x4ca702(0x206))/0xa*(-parseInt(_0x4ca702(0x452))/0xb);if(_0x4e36af===_0x4d827e)break;else _0x9da11e['push'](_0x9da11e['shift']());}catch(_0x15863d){_0x9da11e['push'](_0x9da11e['shift']());}}}(_0x3e1c,0x3f773));var Ut=Object[_0x285f88(0x44d)],At=(_0x2b2094,_0xd7699d,_0x12a186)=>_0xd7699d in _0x2b2094?Ut(_0x2b2094,_0xd7699d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x12a186}):_0x2b2094[_0xd7699d]=_0x12a186,A=(_0x5513e7,_0x47514c,_0x326348)=>At(_0x5513e7,typeof _0x47514c!=_0x285f88(0x441)?_0x47514c+'':_0x47514c,_0x326348);function _0x3e1c(){var _0xec0a82=['univer-pro.collaboration-client-socket-service','error','563002dvitBA','_transformService','_transformIMECache','hostname','_incrementRevisionNumber','CollaborationController','_singleActiveUnitService','lib','members$','cfg','/universer-api/comb','buffer','mode','FETCH_MISSING','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','unpad','x-univer-host','requestParams','next','INetworkConditionService','Module','/-/object/list','params','[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.','_compressMutationService','_waitCount','type','emitEvent','_substituteRedoStack','__esModule','[OfflineState]:\x20received\x20changeset.','result','ONLINE','createCollaborator','socketService','stopTime','map','/block/','refreshPermission','_configService','authzUrl','IAuthzIoService','USER_NOT_INVITED_CODE','LIVESHARE_FETCH_OPERATIONS','_logService','EvpKDF','_socketReady','_socket','_keyPriorReset','LICENSE_EXPORT_SIZE_EXCEEDED','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','AUTHZ_URL_KEY','random','$super','_collaborationSessionService','_transformUndoredo','encrypt','JOIN_ROOM_PERMISSION_DENIED','APPLY_NON_SEQUENTIAL_REVISION','HttpExport','_snapshotServerService','Decryptor','[CollaborationState]:\x20apply\x20error!','LOCAL_CACHE_INTERVAL_KEY','CollaborativeUndoRedoService','max','now','PERSON','toString','JOIN_ROOM_FAILED','_retryConnectingTimer','HttpImport','isInternalEditorID','_telemetryInfo','_isPermissionRej','CONNECTOR_DATA_TOO_LARGE','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','/unit/','UNKNOWN_CODE','SNAPSHOT_URL_KEY','enableAuthServer','onload','CipherParams','getCurrentUser','loginUrlKey','_sendHeartbeatTimer','_clearRetryConnectingTimer','image/jpeg','get','_networkConditionService','_resendWithTimeout','IPermissionService','create','_clearCollaborationTimeoutTimer','parse','update','_onUserJoin','state','SnapshotServerOverHTTPService','_clearUndo','_updateLocalCache','byteLength','Pkcs7','LICENSE_DISTRO_REJECTED','/object','_commandService','withCredentials','_roomCreated$','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','message$','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','image/jpg','confirm','function','UNIVER_DOC','socket\x20open.','_onJoinRoomEvent','MUTATION','getCurrentRevOfUnit','name','getFocusedUnit','NOT_COLLAB','SYNCED','_getAPIPrefix','UNAUTHENTICATED','INVITE_CODE_REQUIRED','roomInfos','liveShareNewHost','ILogService','_disableEditing','extend','HTTPService','COLLAB_WEB_SOCKET_URL_KEY','readyForCollab','getOwnPropertyDescriptor','_minBufferSize','interceptor','Undefined','ISocketService','updatePermissionPoint','objectActions','set','csAckEvent','fetchMissingChangesets','LocaleService','_updateState','SUBMIT_CHANGESET_TIMEOUT','getMember','algo','registerHTTPInterceptor','_sessions','NOT_FOUND','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_mode','merge','body','getConfig','getCurrentSelections','kdf','_unlockTransition','COMPLETION_FINISHED','_doReset','key','IDLE','onTransformSelections','AWAITING_WITH_PENDING','UNIVER_COLLABORATION_CLIENT_PLUGIN','NoPadding','IUndoRedoService','ImageSourceType','transformStack\x20failed!','_data','close','_sessionStatus$','has','pad','\x0aCurrent:\x20','_stopTelemetryCollaborationNewChangeset','INTERNAL_ERROR','_entityInit$','c2Prime','univer-pro.collaboration-client.network-condition.service','getUnitType','updateOfflineData','sessionStatus','ISnapshotServerService','_members','push','put','sheets','Workbook','from','_waitForHeartbeatResponse','startTime','_roomMembers','string','waitForRoom$','HMAC','[FetchMissState]','_keySchedule','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','deepClone','_onFetchMissResult','_init','_collaborationPaused','CollaborationEvent','/universer-api/uniscript','FETCH_MISS','_updateStatus','PENDING','MentionIoHttpService','sessionStatus$','_memberService','_createInitialStateImpl','complete','_onRemoteRetry','override','mutations','transformChangesets','Cipher','toggleOnline','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','retryConnectingInterval','editingUnit','_listenToNetworkCondition','_rescheduleHeartbeat','DataLoaderService','[CollaborationSession]','_awaitingChangeset','_localCacheService','objectID','BufferedBlockAlgorithm','HEARTBEAT_INTERVAL_KEY','uuidv4','_parse','Base','_sender','status','getCollabEntity','url','[DataLoaderService]','onCommentUpdate','subject','RxDisposable','every','SEND_CHANGESET_TIMEOUT','setCurrentUser','DocCollaborationEntity','CHANGESET_ACK','updateMember','telemetry\x20info\x20is\x20not\x20initialized','MentionType','UNIVER_UNKNOWN','hasOwnProperty','clamp','_shouldReportTelemetry','SheetPermissionInitController','UPDATE_PERMISSION_OBJ','exports','SheetTransformSelectionsService','&to=','Hex','connection\x20error','disableLocalCache','SerializableCipher','isPermissionRej','fetchThroughInterceptors','hasher','Malformed\x20UTF-8\x20data','JOIN','/new_changes','SessionStatus','Plugin','getAllMembers','ICollaborationSocketService','collabSubmitChangesetUrl','MemberService','_handlerCallback','CommandType','awaitingChangeset','readAsDataURL','_type','FileId','CollaborationSession','SheetsSelectionsService','format','CollaborationSocketService','_startCollaboration','APPLY_DUPLICATED','ERROR_EXCEED_SIZE','floor','Optional','compose','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','280tIZvlQ','call','/universer-api/stream/file/upload','Hasher','isTransformMutationsWithChangesetSuccess','actions','_transitionLocked','deleteCollaborator','reqId','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','listCollaborators','collaMsg','_sendingTimer','resend','_unitID','UNRECOGNIZED','saveSheetBlock','disposeWithMe','_transformSelections','charCodeAt','getLatestCsReqIdBySid','_submitChangeset','unit-cache-','session','unitId','findIndex','_imageSourceCache','prototype','getGlobalObject','UNDEFINED','roles','then','CollaborationImageIoService','UniverInstanceType','revision','_onRemoteRejected','COMPRESS_MUTATION_SEND','_substituteUndoStack','CommentService','list','takeUntil','SyncedState','concat','UPDATE_CURSOR','UNIVER_PROJECT','MSG_FOR_ERROR','_initCloseConn','_getRedoStack','AuthzIoHttpService','JOIN_ROOM_FULL','onRemoteRetry','WordArray','_onOffline','focused$','onTransformRemoteChangesetByStateCache','SOCKET_FAILED','onMissedChangesetFetched','_collabSessionService','_transformStack','_injector','onTransformRemoteChangesetByIMECache','UniverNetworkPlugin','open$','SHA1','SnapshotService','onSendChangeset','createDecryptor','LOGIN_URL_KEY','signUrlServerUrl','_createHandler','toDisposable','catch','FetchingMissState','getResourcesRequest','_append','updateCollaborator','reduce','onMissingChangesets','_eventService','_members$','EXCHANGE_SIGN_URL_SERVER_URL_KEY','userID','529039arCdos','HEARTBEAT_TIMEOUT','HTTPRequest','createSocket','error$','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','147024easKZJ','SEND_CHANGESET_TIMEOUT_KEY','substr','objects','GLOBAL_ROOMS_CNT_EXCEEDS','/role','_onMessage','add','284eaVJXB','getRandomValues','not_collab','sigBytes','decrypt','_socketService','SUCCUSS','getTypeOfUnitDisposed$','AwaitingState','INVITE_CODE_HAS_BEEN_UES','_hash','ALREADY_EXISTS','WorkbookEditablePermission','reset','delete','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','incrementRevOfUnit','INVALID_ARGUMENT','PendingState','entityInit$','take','updateSnapshot','_replaceFileID','CLOSE_ROOM','_getLoginPath','entries','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_scheduleCollaborationTimeoutTimer','MOBILE_VERIFY_CODE_MISMATCH','_change$','EMAIL_HAS_BEEN_BOUND','joinRsp','_startTelemetryCollaborationNewChangeset','setWaitCount','responseType','isTransformChangesetsSuccess','_invKeySchedule','_nDataBytes','INVALID_INVITE_CODE','Encryptor','YUUMI_NO_CUBOID_FOR_QUESTION','addHandlerCallback','session.room-not-exists','_resendTimer','SNAPSHOT_INVALID_SNAPSHOT','ITransformService','state$','ICommandService','/universer-api/snapshot/','delay','_config','mapDocumentTypeToUniverType','_sheetTransformSelectionsService','NEW_CHANGESETS','CompressMutationService','repeat','find','getActiveSheet','Tools','appendMutation','SheetCollaborationEntity','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_createSocket','YUUMI_RATE_OVER_LIMIT','_userManagerService','_getUndoStack','save\x20fail\x20reason\x20is\x20','_transformRemoteChangesetByStateCache','BASE64','INGEST','/object/','OFFLINE','onRemoteChangeset','unitID','toggleOffline','LIVESHARE_REQUEST_HOST','CHANGESET_REVISION_CONFILICT','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','charAt','fetching\x20missing\x20changesets\x20from\x20','_commentUpdate$','collaboration_new_changeset','USERS_ENTER','slice','newCsEvent','loadUnitOfRevision','parseProtocolChangeset','setConfig','_candidateSocket','deserializeToCombResponse','_replayCachedMutations','CollaborationSessionService','/-/object/-/batch_allowed','encode','unknown','downloadEndpointUrl','_transformStateCache','equals','_resendTimeout','UserProfileImg','workbook','UnitEmbedded','_changesetSessionId','data','iterations','permissionRejEvent','getInterceptPoints','UnitSnapshot','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','onCommandExecuted','default','ITelemetryService','_telemetryService','updateCursorEvent','subscribe','reconnect','_exhaustRemoteChangesetQueue','enc','YUUMI_UNABLE_LOAD_URL','TOO_MANY_REQUESTS','LIVESHARE_TERMINATE','onLocalMutation','LICENSE_IMPORT_SIZE_EXCEEDED','eventID','pending','pauseCollaboration','_socket$','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_retryCount','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','getTypeOfUnitAdded$','patch','dispose$','_pendingMutations','_removeRoom','uploadFileServerUrl','SUBMIT_CHANGESET','send','_permissionService','createInstance','Injector','getUnit','_key','PERMISSION_REJ','range','_undoStacks','_handler','href','_createHelper','loadSheet','_executeRemoteChangeset','_sendHeartbeat','_state$','[CollaborationEntity]','submit\x20changeset\x20error!','splice','ciphertext','11232AGtBqZ','MD5','UniverCollaborationClientPlugin','processBlock','_nRounds','loadDoc','_getCtorByUniverType','isArray','_hasher','Univer','OfflineState','sin','liveShareOperation','image/gif','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','MergeInterceptorFactory','_status$','60576uZAStO','_doFinalize','CollaborationEntity','_cipher','_lockTransition','_clearHeartbeatTimer','_getAPIPrefixPath','snapshotServerUrl','[UniverCollaborationClientPlugin]','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_doProcessBlock','_initDependencies','_onLocalMutation','event$','_snapshotService','People','JOINING','CollaborationUIEventId','COMMENT_UPDATE','UnitStatus','APPLY_REJECT','src','getValue','length','IConfigService','RECV','onRemoteAck','registerDependencies','location','filter','getUnitStatus$','words','getSheetId','commentUpdate$','createEncryptor','_iv','padding','_getSendChangesetTimeout','_commentService','onRemoteRej','blockSize','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','editing\x20status\x20changed\x20to','/allowed','awaiting_with_pending','close$','getSheetBlock','_redoStacks','closeSession','_localeService','byteOffset','transformUndoRedo','_tryReconnect','getUnitId','DEFAULT_WS_SESSION_TICKET_URL','collaborators','ceil','_entities','[CollaborationSessionService]:\x20socket\x20error','onSyncEditingCollabCursor','JOIN_ROOM_NOT_EXISTS','_collaborationUIEventService','_onRecvEvent','YUUMI_URL_COL_OUT_OF_RANGE','_clearScheduledTask','LICENSE_MAX_UNITS_EXCEEDED','YUUMI_CONNECTOR_URL_NOT_FOUND','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','touchDependencies','_getCurrentRevision','_timeoutTimer','EMAIL_VERIFY_CODE_MISMATCH','AwaitingWithPendingState','enableSingleActiveInstanceLock','[CollaborationUndoRedoService]','RichTextEditingMutation','_doCryptBlock','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_applyRemoteChangeset','HELLO','_event$','HmacSHA1','avatar','ERROR_IMAGE','loadUnit','_showConflictNotification','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','Disposable','Error\x20on\x20receiving\x20event','\x20in\x20_schedule.','join','_map','compute','msCrypto','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','BlockCipherMode','members','[PendingState]:\x20received\x20rejection.','UNIVER_SLIDE','fetch_missing','CollaborationStatus','changesets','collabWebSocketUrl','/universer-api/authz','size','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_socketMessageSubscription','POST','dispose','YUUMI_ALL_TABLES_IS_INVALID','AES','PSEUDO_FETCH_MISSING_RESULT','CHANGESET_REJ','_onConnectionFailed','SOCKET_FAILED_RETRY','_decreaseWaiting','session.room-permission-denied','OpenSSL','592775ClaqPq','_process','_collaborationTimeoutTimer','WECHAT_HAS_BEEN_BOUND','listRoles','SNAPSHOT_HAS_BEEN_REMOVED','LEAVE','OTHER_CLIENT_EDITING','_throwTelemetryCollaborationNewChangeset','_univerInstanceService','_prevBlock','ImageUploadStatusType','clear','resolve','_onRemoteChangeset','awaiting','getUnitOnRev','CHANGESET_SHOULD_RETRY','APPLY_REVISION_CONFILICT','_revisionService','offline','getMemberID','_xformMode','ws://127.0.0.1:8000/universer-api/comb/connect','localCacheService','textEncoder','YUUMI_ASYNCIO_CANCELLED','socket\x20close','UNISCRIPT_RUN','200640gkXaju','OTHER_CLIENTS_EDITING','AWAITING','putCollaborators','ivSize','_onUserLeave','_httpService','csRejEvent','post','allowed','getImageSourceCache','debug','memberID','fromCharCode','reject','HEARTBEAT','loadOfflineData','fetchMiss','_fetchMissChangesets','transformMutationsWithChangeset','updatePermissionObjEvent','_initMergeInterceptor','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','baseRev','startsWith','/universer-api/oidc/authpage','clone','firstValueFrom','_getDownloadEndpointURL','copyFileMeta','Rectangle','_unitInfo$','Subject','_tryEnsureSocket','asObservable','_getSignURL','init','unitInfo$','sid','salt','onStarting','finalize','auth.needGotoLoginAlert','_HTTPService','forEach','_onConflict','fromCollab','getCollabEntity$','_iKey','socket$','onTransformIME','_DEC_XFORM_MODE','online$','reverse','mixIn','\x20to\x20','LOCAL_CACHE_INTERVAL','parseChangesetToProtocol','_checkMissing','_scheduleCompleteTimestamp','_syncEditingCollabCursor','_toggleOffline','abs','_acknowledgedAwaitingChangeset','INVITE_CODE_ALREADY_BOUND','resourceIDs','_joinRoom','IUniverInstanceService','executeCommand','NO_OTHER_CLIENTS_EDITING','_undoRedoService','removeMember','capture','LOGIN_FAILED','/collaborator','keySize','DEFAULT_COLLAB_WEB_SOCKET_URL','Could\x20not\x20dynamically\x20require\x20\x22','collaboration-client.local-cache-service','_transformRemoteChangesetByIMECache','crypto','__creator','ConflictState','session.room-full','session.join-failed','code','UniverCollaborationPlugin','_initRequestHeader','12fexBZq','_emitMembers','getSnapshotAPIPath','_changesetReqId','localeService','getWorkbookSelections','_clearTimeoutTimer','ENSURE_SNAPSHOT_EXECUTION','_toggleOnline','objectType','unsubscribe','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','getDeserializedSheetBlock','routeKey','_queuedRemoteChangesets','PY_RUNTIME_SCRIPT_ERROR','BlockCipher','_createInitialState','createIdentifier','FAIL','shareReplay','apply','ReplaySubject','textRanges','_createHmacHelper','execute','Failed\x20to\x20update\x20permission\x20point','saveImage','OPTIONAL','mergeOverrideWithDependencies','_clearLocalCache','pipe','_schedule','cmd','_onRemoteACK','origin','_clearRedo','_doCreateSocket','BehaviorSubject','PERMISSION_DENIED','c1Prime','addImageSourceCache','m2Prime','COMPRESS_MUTATION_APPLY','_ENC_XFORM_MODE','transformSelections','SHOULD_CLOSE_CONN','title','PasswordBasedCipher','_state','Quantity','APPLY_PERMISSION_DENIED','UNIVER_SHEET','MOBILE_HAS_BEEN_BOUND','originalMeta','YUUMI_TABLE_NOT_FOUND_IN_UNIT','stringify','generateRandomId','USERS_LEAVE','onlyLocal','RevisionService','432qmDgtO','YUUMI_AI_RUN_FAILED','batchAllowed','CONFLICT','requireSession','symbol','infoRsp','setShowComponents','Base64','readInt32LE','RETRY_CONNECTING_MAX_COUNT_KEY','file','SNAPSHOT_SERVER_URL_KEY','Inject','conflict','_remoteChangesetQueue','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','defineProperty','selections','{fileID}'];_0x3e1c=function(){return _0xec0a82;};return _0x3e1c();}function _0x2f99(_0x1e0227,_0x2f7702){var _0x3e1cb5=_0x3e1c();return _0x2f99=function(_0x2f991a,_0x3fc7bf){_0x2f991a=_0x2f991a-0x151;var _0x5cc89c=_0x3e1cb5[_0x2f991a];return _0x5cc89c;},_0x2f99(_0x1e0227,_0x2f7702);}Object[_0x285f88(0x44d)](exports,Symbol['toStringTag'],{'value':_0x285f88(0x466)});const a=require('@univerjs/core'),$=require('rxjs'),V=require('rxjs/operators'),p=require('@univerjs-pro/collaboration'),K=require('@univerjs/network'),Pt=require('@univerjs/telemetry'),ht=require('@univerjs/docs'),X=require('@univerjs/sheets'),z=require('@univerjs/drawing'),Lt=require('@univerjs-pro/license'),_t=_0x285f88(0x448),wt='/universer-api/snapshot',lt=_0x285f88(0x4a1),Mt=_0x285f88(0x1d5),xt=0x7d0,ut='COLLAB_WEB_SOCKET_URL',dt=_0x285f88(0x3a1),kt='/universer-api/user/session-ticket',vt='HEARTBEAT_INTERVAL',Ht=0x7530,ke=_0x285f88(0x259),St=0x4e20,$t=0x4e20,ft='RETRY_CONNECTING_MAX_COUNT',jt=0x3,Bt='LOCAL_CACHE_INTERVAL',Ft=0x3e8,It='COLLAB_SUBMIT_CHANGESET_URL',Vt=_0x285f88(0x45c),pt=_0x285f88(0x249),Wt=_0x285f88(0x3c0),Yt=_0x285f88(0x1bd),Gt=_0x285f88(0x1ae);var gt=(_0xc6603=>(_0xc6603[_0xc6603[_0x285f88(0x223)]=0x0]=_0x285f88(0x223),_0xc6603[_0xc6603['OK']=0x1]='OK',_0xc6603[_0xc6603[_0x285f88(0x192)]=0x2]='INTERNAL_ERROR',_0xc6603[_0xc6603[_0x285f88(0x426)]=0x3]='PERMISSION_DENIED',_0xc6603[_0xc6603[_0x285f88(0x177)]=0x4]=_0x285f88(0x177),_0xc6603[_0xc6603[_0x285f88(0x15c)]=0x5]=_0x285f88(0x15c),_0xc6603[_0xc6603['ALREADY_EXISTS']=0x6]=_0x285f88(0x271),_0xc6603[_0xc6603[_0x285f88(0x277)]=0x7]=_0x285f88(0x277),_0xc6603[_0xc6603[_0x285f88(0x2dd)]=0x8]=_0x285f88(0x2dd),_0xc6603[_0xc6603['COMPLETION_FINISHED']=0x9]=_0x285f88(0x180),_0xc6603[_0xc6603[_0x285f88(0x3f0)]=0xa]=_0x285f88(0x3f0),_0xc6603[_0xc6603[_0x285f88(0x282)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0xc6603[_0xc6603[_0x285f88(0x2a3)]=0xc]=_0x285f88(0x2a3),_0xc6603[_0xc6603[_0x285f88(0x35b)]=0xd]=_0x285f88(0x35b),_0xc6603[_0xc6603[_0x285f88(0x311)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0xc6603[_0xc6603[_0x285f88(0x2b2)]=0x1389]=_0x285f88(0x2b2),_0xc6603[_0xc6603[_0x285f88(0x292)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0xc6603[_0xc6603[_0x285f88(0x38f)]=0x1772]=_0x285f88(0x38f),_0xc6603[_0xc6603[_0x285f88(0x406)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0xc6603[_0xc6603[_0x285f88(0x328)]=0x1b59]=_0x285f88(0x328),_0xc6603[_0xc6603['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x285f88(0x48c),_0xc6603[_0xc6603[_0x285f88(0x39c)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0xc6603[_0xc6603[_0x285f88(0x432)]=0x1b5c]=_0x285f88(0x432),_0xc6603[_0xc6603[_0x285f88(0x200)]=0x1b5d]=_0x285f88(0x200),_0xc6603[_0xc6603[_0x285f88(0x49d)]=0x1f41]=_0x285f88(0x49d),_0xc6603[_0xc6603[_0x285f88(0x355)]=0x2329]=_0x285f88(0x355),_0xc6603[_0xc6603[_0x285f88(0x178)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0xc6603[_0xc6603[_0x285f88(0x2e0)]=0x232b]=_0x285f88(0x2e0),_0xc6603[_0xc6603[_0x285f88(0x483)]=0x232c]=_0x285f88(0x483),_0xc6603[_0xc6603[_0x285f88(0x4b9)]=0x232d]='LICENSE_DISTRO_REJECTED',_0xc6603[_0xc6603[_0x285f88(0x2dc)]=0x2711]=_0x285f88(0x2dc),_0xc6603[_0xc6603[_0x285f88(0x353)]=0x2712]=_0x285f88(0x353),_0xc6603[_0xc6603[_0x285f88(0x2a5)]=0x2713]=_0x285f88(0x2a5),_0xc6603[_0xc6603['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0xc6603[_0xc6603[_0x285f88(0x28e)]=0x271a]=_0x285f88(0x28e),_0xc6603[_0xc6603[_0x285f88(0x3a4)]=0x271b]=_0x285f88(0x3a4),_0xc6603[_0xc6603[_0x285f88(0x436)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0xc6603[_0xc6603[_0x285f88(0x381)]=0x271d]=_0x285f88(0x381),_0xc6603[_0xc6603[_0x285f88(0x33d)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0xc6603[_0xc6603[_0x285f88(0x43d)]=0x271f]='YUUMI_AI_RUN_FAILED',_0xc6603[_0xc6603[_0x285f88(0x356)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0xc6603[_0xc6603[_0x285f88(0x40e)]=0x2af9]=_0x285f88(0x40e),_0xc6603[_0xc6603[_0x285f88(0x26f)]=0x2ee1]=_0x285f88(0x26f),_0xc6603[_0xc6603[_0x285f88(0x28c)]=0x2ee2]=_0x285f88(0x28c),_0xc6603[_0xc6603[_0x285f88(0x15d)]=0x2ee3]='INVITE_CODE_REQUIRED',_0xc6603[_0xc6603[_0x285f88(0x47c)]=0x2ee4]='USER_NOT_INVITED_CODE',_0xc6603[_0xc6603[_0x285f88(0x3e7)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0xc6603[_0xc6603[_0x285f88(0x38d)]=0x32c9]=_0x285f88(0x38d),_0xc6603[_0xc6603[_0x285f88(0x434)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0xc6603[_0xc6603['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x285f88(0x284),_0xc6603[_0xc6603['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0xc6603))(gt||{}),J=(_0x12ef45=>(_0x12ef45[_0x12ef45[_0x285f88(0x1dc)]=0x0]='UNIVER_UNKNOWN',_0x12ef45[_0x12ef45[_0x285f88(0x152)]=0x1]=_0x285f88(0x152),_0x12ef45[_0x12ef45['UNIVER_SHEET']=0x2]=_0x285f88(0x433),_0x12ef45[_0x12ef45['UNIVER_SLIDE']=0x3]=_0x285f88(0x376),_0x12ef45[_0x12ef45[_0x285f88(0x232)]=0x4]='UNIVER_PROJECT',_0x12ef45[_0x12ef45[_0x285f88(0x215)]=-0x1]=_0x285f88(0x215),_0x12ef45))(J||{}),W=(_0x39354b=>(_0x39354b[_0x39354b['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x39354b[_0x39354b[_0x285f88(0x363)]=0x1]=_0x285f88(0x363),_0x39354b[_0x39354b[_0x285f88(0x1ed)]=0x2]='JOIN',_0x39354b[_0x39354b[_0x285f88(0x390)]=0x3]='LEAVE',_0x39354b[_0x39354b[_0x285f88(0x2ab)]=0x4]=_0x285f88(0x2ab),_0x39354b[_0x39354b[_0x285f88(0x3b6)]=0x5]=_0x285f88(0x3b6),_0x39354b[_0x39354b[_0x285f88(0x32d)]=0x6]='RECV',_0x39354b[_0x39354b[_0x285f88(0x215)]=-0x1]='UNRECOGNIZED',_0x39354b))(W||{}),oe=(_0x35a89e=>(_0x35a89e[_0x35a89e['UNKNOWN_CODE']=0x0]=_0x285f88(0x4a0),_0x35a89e[_0x35a89e['OK']=0x1]='OK',_0x35a89e[_0x35a89e[_0x285f88(0x412)]=0x2]=_0x285f88(0x412),_0x35a89e[_0x35a89e['JOIN_ROOM_FULL']=0x3e9]=_0x285f88(0x237),_0x35a89e[_0x35a89e[_0x285f88(0x350)]=0x3ea]=_0x285f88(0x350),_0x35a89e[_0x35a89e[_0x285f88(0x48b)]=0x3eb]=_0x285f88(0x48b),_0x35a89e[_0x35a89e[_0x285f88(0x262)]=0x3ec]=_0x285f88(0x262),_0x35a89e[_0x35a89e[_0x285f88(0x215)]=-0x1]=_0x285f88(0x215),_0x35a89e))(oe||{}),Et=(_0x4ea398=>(_0x4ea398[_0x4ea398[_0x285f88(0x169)]=0x0]=_0x285f88(0x169),_0x4ea398[_0x4ea398[_0x285f88(0x499)]=0x1]=_0x285f88(0x499),_0x4ea398[_0x4ea398[_0x285f88(0x48d)]=0x2]='HttpExport',_0x4ea398[_0x4ea398[_0x285f88(0x2cb)]=0x3]=_0x285f88(0x2cb),_0x4ea398[_0x4ea398[_0x285f88(0x2d1)]=0x4]=_0x285f88(0x2d1),_0x4ea398[_0x4ea398[_0x285f88(0x2c9)]=0x5]=_0x285f88(0x2c9),_0x4ea398[_0x4ea398['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x4ea398))(Et||{});const G='collaboration-client.config',Kt={};var Z=(_0x47ada4=>(_0x47ada4[_0x285f88(0x391)]=_0x285f88(0x391),_0x47ada4[_0x285f88(0x426)]='PERMISSION_DENIED',_0x47ada4['CONFLICT']=_0x285f88(0x43f),_0x47ada4[_0x285f88(0x27d)]=_0x285f88(0x27d),_0x47ada4[_0x285f88(0x497)]=_0x285f88(0x497),_0x47ada4[_0x285f88(0x386)]=_0x285f88(0x386),_0x47ada4[_0x285f88(0x23d)]='SOCKET_FAILED',_0x47ada4[_0x285f88(0x172)]=_0x285f88(0x172),_0x47ada4))(Z||{});class ee{constructor(){var _0x577bdb=_0x285f88;A(this,_0x577bdb(0x364),new $[(_0x577bdb(0x3c7))]()),A(this,_0x577bdb(0x321),this['_event$'][_0x577bdb(0x3c9)]());}['emitEvent'](_0x2e7aeb){var _0x40546d=_0x285f88;this[_0x40546d(0x364)][_0x40546d(0x464)](_0x2e7aeb);}}const mt=a['createIdentifier'](_0x285f88(0x195));function Ct(_0x89f911){var _0x45d665=_0x285f88,_0x40394e,_0x117c4e,_0xed0fd,_0x255377,_0x24b171;const _0x170555=_0x89f911[_0x45d665(0x2cd)],_0x46b564=JSON[_0x45d665(0x4b0)](_0x170555);switch(_0x46b564[_0x45d665(0x420)]){case W[_0x45d665(0x3b6)]:case W[_0x45d665(0x363)]:{const _0x18f4f1=_0x46b564[_0x45d665(0x442)];return{..._0x46b564,'data':_0x18f4f1,'cmd':_0x46b564[_0x45d665(0x420)]};}case W[_0x45d665(0x1ed)]:{const _0x111e89=_0x46b564[_0x45d665(0x285)];return{..._0x46b564,'data':_0x111e89,'cmd':_0x46b564['cmd']};}case W['RECV']:{const _0x4aa3d3=_0x46b564[_0x45d665(0x211)];switch(_0x4aa3d3[_0x45d665(0x2e1)]){case p[_0x45d665(0x1ad)][_0x45d665(0x2f5)]:return{..._0x46b564,'data':{..._0x4aa3d3,'data':(_0x40394e=_0x4aa3d3[_0x45d665(0x2cf)])==null?void 0x0:_0x40394e['cs']},'cmd':_0x46b564['cmd']};case p['CollaborationEvent'][_0x45d665(0x1d8)]:return{..._0x46b564,'data':{..._0x4aa3d3,'data':(_0x117c4e=_0x4aa3d3[_0x45d665(0x16e)])==null?void 0x0:_0x117c4e['cs']},'cmd':_0x46b564['cmd']};case p[_0x45d665(0x1ad)][_0x45d665(0x29b)]:return{..._0x46b564,'data':{..._0x4aa3d3,'data':(_0xed0fd=_0x4aa3d3[_0x45d665(0x2ba)])==null?void 0x0:_0xed0fd['cs']},'cmd':_0x46b564['cmd']};case p[_0x45d665(0x1ad)][_0x45d665(0x384)]:return{..._0x46b564,'data':{..._0x4aa3d3,'data':(_0x255377=_0x4aa3d3[_0x45d665(0x3ae)])==null?void 0x0:_0x255377['cs']},'cmd':_0x46b564[_0x45d665(0x420)]};case p[_0x45d665(0x1ad)][_0x45d665(0x39b)]:return{..._0x46b564,'data':{..._0x4aa3d3,'data':(_0x24b171=_0x4aa3d3['csShouldRetryEvent'])==null?void 0x0:_0x24b171['cs']},'cmd':_0x46b564['cmd']};case p[_0x45d665(0x1ad)][_0x45d665(0x231)]:return{..._0x46b564,'data':{..._0x4aa3d3,'data':_0x4aa3d3[_0x45d665(0x2d7)]},'cmd':_0x46b564['cmd']};case p[_0x45d665(0x1ad)][_0x45d665(0x2b8)]:return{..._0x46b564,'data':{..._0x4aa3d3,'data':_0x4aa3d3['joinEvent']},'cmd':_0x46b564['cmd']};case p[_0x45d665(0x1ad)][_0x45d665(0x439)]:return{..._0x46b564,'data':{..._0x4aa3d3,'data':_0x4aa3d3['leaveEvent']},'cmd':_0x46b564[_0x45d665(0x420)]};case p['CollaborationEvent']['LIVESHARE_NEW_HOST']:return{..._0x46b564,'data':{..._0x4aa3d3,'data':_0x4aa3d3[_0x45d665(0x15f)]},'cmd':_0x46b564[_0x45d665(0x420)]};case p[_0x45d665(0x1ad)][_0x45d665(0x47d)]:case p[_0x45d665(0x1ad)]['LIVESHARE_OPERATION']:return{..._0x46b564,'data':{..._0x4aa3d3,'data':_0x4aa3d3[_0x45d665(0x30f)]},'cmd':_0x46b564[_0x45d665(0x420)]};case p[_0x45d665(0x1ad)][_0x45d665(0x2de)]:return{..._0x46b564,'data':{..._0x4aa3d3,'data':_0x4aa3d3[_0x45d665(0x15f)]},'cmd':_0x46b564[_0x45d665(0x420)]};case p[_0x45d665(0x1ad)]['MSG_FOR_ERROR']:return{..._0x46b564,'data':_0x4aa3d3,'cmd':_0x46b564[_0x45d665(0x420)]};case p[_0x45d665(0x1ad)][_0x45d665(0x326)]:return{..._0x46b564,'data':{..._0x4aa3d3,'data':_0x4aa3d3['commentUpdateEvent']},'cmd':_0x46b564[_0x45d665(0x420)]};case p[_0x45d665(0x1ad)][_0x45d665(0x1e1)]:return{..._0x46b564,'data':{..._0x4aa3d3,'data':_0x4aa3d3[_0x45d665(0x3bb)]},'cmd':_0x46b564['cmd']};case p[_0x45d665(0x1ad)][_0x45d665(0x42d)]:return{..._0x46b564,'data':{..._0x4aa3d3,'data':_0x4aa3d3['shouldCloseConn']},'cmd':_0x46b564[_0x45d665(0x420)]};case p[_0x45d665(0x1ad)][_0x45d665(0x3a6)]:return{..._0x46b564,'data':{..._0x4aa3d3,'data':_0x4aa3d3['uniscriptRunEvent']},'cmd':_0x46b564[_0x45d665(0x420)]};default:return _0x46b564;}}default:return _0x46b564;}}function Tt(_0x1ce785){var _0x5af3dc=_0x285f88;switch(_0x1ce785[_0x5af3dc(0x420)]){case W[_0x5af3dc(0x3b6)]:case W[_0x5af3dc(0x363)]:return JSON[_0x5af3dc(0x437)]({'cmd':_0x1ce785[_0x5af3dc(0x420)],'routeKey':_0x1ce785[_0x5af3dc(0x40c)]});case W[_0x5af3dc(0x2ab)]:{let _0x4d92e0;switch(_0x1ce785[_0x5af3dc(0x2cd)][_0x5af3dc(0x2e1)]){case p[_0x5af3dc(0x1ad)][_0x5af3dc(0x231)]:{_0x4d92e0={'eventID':p['CollaborationEvent'][_0x5af3dc(0x231)],'updateCursorEvent':_0x1ce785[_0x5af3dc(0x2cd)][_0x5af3dc(0x2cd)]};break;}case p[_0x5af3dc(0x1ad)][_0x5af3dc(0x439)]:{_0x4d92e0={'eventID':p[_0x5af3dc(0x1ad)]['USERS_LEAVE'],'leaveEvent':_0x1ce785[_0x5af3dc(0x2cd)][_0x5af3dc(0x2cd)]};break;}case p[_0x5af3dc(0x1ad)][_0x5af3dc(0x2b8)]:{_0x4d92e0={'eventID':p[_0x5af3dc(0x1ad)][_0x5af3dc(0x2b8)],'joinEvent':_0x1ce785[_0x5af3dc(0x2cd)][_0x5af3dc(0x2cd)]};break;}case p[_0x5af3dc(0x1ad)]['LIVESHARE_NEW_HOST']:{_0x4d92e0={'eventID':p[_0x5af3dc(0x1ad)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x1ce785[_0x5af3dc(0x2cd)][_0x5af3dc(0x2cd)]};break;}case p[_0x5af3dc(0x1ad)]['LIVESHARE_OPERATION']:{_0x4d92e0={'eventID':p[_0x5af3dc(0x1ad)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x1ce785[_0x5af3dc(0x2cd)]['data']};break;}case p[_0x5af3dc(0x1ad)][_0x5af3dc(0x2de)]:{_0x4d92e0={'eventID':p[_0x5af3dc(0x1ad)][_0x5af3dc(0x2de)],'liveShareTerminate':_0x1ce785[_0x5af3dc(0x2cd)]['data']};break;}case p['CollaborationEvent'][_0x5af3dc(0x2b1)]:{_0x4d92e0={'eventID':p['CollaborationEvent'][_0x5af3dc(0x2b1)],'liveShareRequestHost':_0x1ce785['data'][_0x5af3dc(0x2cd)]};break;}case p[_0x5af3dc(0x1ad)][_0x5af3dc(0x47d)]:{_0x4d92e0={'eventID':p['CollaborationEvent'][_0x5af3dc(0x47d)]};break;}default:_0x4d92e0={'eventID':_0x1ce785[_0x5af3dc(0x2cd)][_0x5af3dc(0x2e1)]};}return JSON['stringify']({'cmd':_0x1ce785[_0x5af3dc(0x420)],'routeKey':_0x1ce785['routeKey'],'collaMsg':_0x4d92e0});}case W[_0x5af3dc(0x1ed)]:return JSON[_0x5af3dc(0x437)]({'cmd':_0x1ce785[_0x5af3dc(0x420)],'routeKey':_0x1ce785[_0x5af3dc(0x40c)],'joinReq':_0x1ce785[_0x5af3dc(0x2cd)]});case W[_0x5af3dc(0x390)]:return JSON[_0x5af3dc(0x437)]({'cmd':_0x1ce785[_0x5af3dc(0x420)],'routeKey':_0x1ce785[_0x5af3dc(0x40c)],'leaveReq':_0x1ce785[_0x5af3dc(0x2cd)]});default:throw new Error(_0x5af3dc(0x31d));}}var qt=Object['getOwnPropertyDescriptor'],zt=(_0x258c28,_0x345a15,_0x122b07,_0x550d4a)=>{for(var _0x229554=_0x550d4a>0x1?void 0x0:_0x550d4a?qt(_0x345a15,_0x122b07):_0x345a15,_0x4dd0ea=_0x258c28['length']-0x1,_0x1dfee5;_0x4dd0ea>=0x0;_0x4dd0ea--)(_0x1dfee5=_0x258c28[_0x4dd0ea])&&(_0x229554=_0x1dfee5(_0x229554)||_0x229554);return _0x229554;},_e=(_0x5536dd,_0x47e3f1)=>(_0x26a517,_0x51f37b)=>_0x47e3f1(_0x26a517,_0x51f37b,_0x5536dd);const He=a['createIdentifier'](_0x285f88(0x450));function Jt(_0x5c2d9f,_0x43b74e,_0x27b7bf){var _0x5776a8=_0x285f88;return _0x5c2d9f+'/'+_0x43b74e+_0x5776a8(0x49f)+_0x27b7bf+_0x5776a8(0x1ee);}exports['CollaborationSocketService']=class extends a[_0x285f88(0x36b)]{constructor(_0x35f5a8,_0x533d52,_0x1fbd2f,_0x8da87a,_0x37c534){var _0x1c4706=_0x285f88;super(),this[_0x1c4706(0x241)]=_0x35f5a8,this[_0x1c4706(0x3ad)]=_0x533d52,this[_0x1c4706(0x479)]=_0x1fbd2f,this[_0x1c4706(0x47e)]=_0x8da87a,this['_snapshotServerService']=_0x37c534;}[_0x285f88(0x424)](_0x2604c6){var _0x3c8905=_0x285f88;const _0x1780cb=this[_0x3c8905(0x241)]['get'](K[_0x3c8905(0x16a)]);if(!_0x1780cb)throw new Error(_0x3c8905(0x357));const _0x5d7a4e=_0x1780cb[_0x3c8905(0x25b)](_0x2604c6);if(!_0x5d7a4e)throw new Error(_0x3c8905(0x2b3));const _0x16e4db=new a['DisposableCollection'](),_0x259986=new $['Subject']();_0x16e4db[_0x3c8905(0x265)](_0x5d7a4e[_0x3c8905(0x341)][_0x3c8905(0x2d8)](_0x5f5018=>_0x259986['next'](_0x5f5018))),_0x16e4db[_0x3c8905(0x265)](a[_0x3c8905(0x24c)](()=>_0x259986[_0x3c8905(0x1b6)]()));const _0xcedb65=new $['Subject']();_0x16e4db[_0x3c8905(0x265)](_0x5d7a4e['error$'][_0x3c8905(0x2d8)](_0x52c550=>_0xcedb65[_0x3c8905(0x464)](_0x52c550))),_0x16e4db[_0x3c8905(0x265)](a[_0x3c8905(0x24c)](()=>_0xcedb65['complete']()));const _0x406901=new $[(_0x3c8905(0x3c7))]();_0x16e4db[_0x3c8905(0x265)](_0x5d7a4e[_0x3c8905(0x4bf)]['subscribe'](_0x4a7b5c=>{var _0xb9b881=_0x3c8905;const _0x1f7590=Ct(_0x4a7b5c);_0x406901[_0xb9b881(0x464)](_0x1f7590);})),_0x16e4db['add'](a[_0x3c8905(0x24c)](()=>_0x406901['complete']()));let _0x28ba7d;const _0x2f5aa5=()=>{var _0x16300c=_0x3c8905;_0xcedb65[_0x16300c(0x464)](new Event(_0x16300c(0x1e6))),_0x259986[_0x16300c(0x464)](new Event(_0x16300c(0x1e6))),_0x28ba7d[_0x16300c(0x18c)]();};return _0x28ba7d={'memberID':'','close$':_0x259986[_0x3c8905(0x3c9)](),'error$':_0xcedb65[_0x3c8905(0x3c9)](),'open$':_0x5d7a4e[_0x3c8905(0x244)],'message$':_0x406901['asObservable'](),'send':_0x68c7fd=>{var _0x3c8f7d=_0x3c8905;if(_0x68c7fd[_0x3c8f7d(0x420)]===W[_0x3c8f7d(0x2ab)]){if(_0x68c7fd[_0x3c8f7d(0x2cd)][_0x3c8f7d(0x2e1)]===p['CollaborationEvent'][_0x3c8f7d(0x2ee)]){this[_0x3c8f7d(0x21b)](_0x28ba7d,_0x68c7fd[_0x3c8f7d(0x2cd)])['catch'](_0x42a624=>{var _0x4ddc4e=_0x3c8f7d;this[_0x4ddc4e(0x47e)]['error'](_0x42a624),_0x2f5aa5();});return;}if(_0x68c7fd['data'][_0x3c8f7d(0x2e1)]===p['CollaborationEvent'][_0x3c8f7d(0x45f)]){const _0x38c03e=_0x68c7fd[_0x3c8f7d(0x2cd)];this[_0x3c8f7d(0x3b9)](_0x38c03e)[_0x3c8f7d(0x225)](_0x3b066b=>{var _0x402668=_0x3c8f7d;_0x406901[_0x402668(0x464)]({'cmd':W[_0x402668(0x32d)],'code':oe['OK'],'routeKey':_0x38c03e['data'][_0x402668(0x2af)],'routeType':'','data':{'eventID':p[_0x402668(0x1ad)][_0x402668(0x383)],'data':{'changesets':_0x3b066b}}});})[_0x3c8f7d(0x24d)](_0x18f339=>{var _0x421bb8=_0x3c8f7d;this['_logService'][_0x421bb8(0x451)](_0x18f339),_0x2f5aa5();});return;}}_0x5d7a4e[_0x3c8f7d(0x2ef)](Tt(_0x68c7fd));},'close':()=>{_0x5d7a4e['close'](),_0x16e4db['dispose']();}},_0x28ba7d;}async['_submitChangeset'](_0x223b1e,_0x5c6c67){var _0x30be5b=_0x285f88,_0x31f14d,_0x273b33;const {unitType:_0x546eef,unitID:_0x2b5722,changeset:_0x121e3d}=_0x5c6c67[_0x30be5b(0x2cd)],_0x120840={'unitID':_0x2b5722,'memberID':_0x223b1e[_0x30be5b(0x3b3)],'type':_0x546eef,'changeset':p[_0x30be5b(0x3e0)](_0x121e3d)},_0x2f9a08=this[_0x30be5b(0x479)][_0x30be5b(0x17c)](It),_0x2a291c=this[_0x30be5b(0x479)]['getConfig'](G),_0x36f964=Jt((_0x273b33=(_0x31f14d=_0x2a291c==null?void 0x0:_0x2a291c[_0x30be5b(0x1f3)])!=null?_0x31f14d:_0x2f9a08)!=null?_0x273b33:Vt,_0x546eef,_0x2b5722);try{await this[_0x30be5b(0x3ad)]['post'](_0x36f964,{'body':_0x120840});}catch(_0x24674e){throw this['_logService'][_0x30be5b(0x451)]('[CollaborationSession]',_0x30be5b(0x300)),_0x24674e;}}async['_fetchMissChangesets'](_0x4f6848){var _0x32f1c1=_0x285f88;const {unitID:_0x328b7f,from:_0x54feaf,to:_0x4485c7,unitType:_0x4bf722}=_0x4f6848[_0x32f1c1(0x2cd)];return(await this[_0x32f1c1(0x48e)][_0x32f1c1(0x16f)]({'metadata':void 0x0},{'unitID':_0x328b7f,'type':_0x4bf722,'from':_0x54feaf,'to':_0x4485c7}))[_0x32f1c1(0x379)];}},exports[_0x285f88(0x1fe)]=zt([_e(0x0,a[_0x285f88(0x449)](a['Injector'])),_e(0x1,a[_0x285f88(0x449)](K[_0x285f88(0x163)])),_e(0x2,a[_0x285f88(0x32c)]),_e(0x3,a[_0x285f88(0x160)]),_e(0x4,p[_0x285f88(0x199)])],exports[_0x285f88(0x1fe)]);const Xt=_0x285f88(0x2b7);function Zt(_0x341998){var _0x2fe618=_0x285f88;return JSON[_0x2fe618(0x437)](_0x341998)['length'];}class $e{constructor(){var _0x14afa0=_0x285f88;A(this,_0x14afa0(0x2b6),new $[(_0x14afa0(0x3c7))]()),A(this,_0x14afa0(0x335),this['_commentUpdate$'][_0x14afa0(0x3c9)]());}['onCommentUpdate'](_0x23d5b8){var _0x44ffe8=_0x285f88;this[_0x44ffe8(0x2b6)]['next'](_0x23d5b8);}}var Qt=Object[_0x285f88(0x166)],ei=(_0x2919cd,_0x1f5555,_0x473e4c,_0x58e67f)=>{var _0x281e9b=_0x285f88;for(var _0x3c7d01=_0x58e67f>0x1?void 0x0:_0x58e67f?Qt(_0x1f5555,_0x473e4c):_0x1f5555,_0x19faa2=_0x2919cd[_0x281e9b(0x32b)]-0x1,_0x5f468a;_0x19faa2>=0x0;_0x19faa2--)(_0x5f468a=_0x2919cd[_0x19faa2])&&(_0x3c7d01=_0x5f468a(_0x3c7d01)||_0x3c7d01);return _0x3c7d01;},We=(_0x397e79,_0x1f86b6)=>(_0x51dfdb,_0x39c9e3)=>_0x1f86b6(_0x51dfdb,_0x39c9e3,_0x397e79);exports['MemberService']=class extends a[_0x285f88(0x36b)]{constructor(_0x1a81d9,_0x1a9bd5){var _0x1e0178=_0x285f88;super(),A(this,_0x1e0178(0x1a2),new Map()),A(this,_0x1e0178(0x4bd),new $[(_0x1e0178(0x3c7))]()),(this[_0x1e0178(0x393)]=_0x1a81d9,this[_0x1e0178(0x2a6)]=_0x1a9bd5,this[_0x1e0178(0x217)]($['merge'](this[_0x1e0178(0x393)][_0x1e0178(0x26d)](a[_0x1e0178(0x227)][_0x1e0178(0x433)])[_0x1e0178(0x41e)](V[_0x1e0178(0x476)](_0x348541=>_0x348541[_0x1e0178(0x349)]())),this[_0x1e0178(0x393)][_0x1e0178(0x26d)](a[_0x1e0178(0x227)][_0x1e0178(0x152)])[_0x1e0178(0x41e)](V['map'](_0x1541a8=>_0x1541a8['getUnitId']())),this[_0x1e0178(0x393)]['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x1e0178(0x376)])['pipe'](V['map'](_0x183f2f=>_0x183f2f[_0x1e0178(0x349)]())))['subscribe'](_0x549185=>this[_0x1e0178(0x2ec)](_0x549185))));}[_0x285f88(0x1a4)](_0x59c7b6){var _0x498943=_0x285f88;return this[_0x498943(0x1a2)][_0x498943(0x18e)](_0x59c7b6)?$['of'](this['_roomMembers']['get'](_0x59c7b6)):this['_roomCreated$'][_0x498943(0x41e)](V[_0x498943(0x476)](_0x58652b=>{var _0x39112a=_0x498943;if(_0x58652b===_0x59c7b6)return this[_0x39112a(0x1a2)][_0x39112a(0x4aa)](_0x58652b);}));}['setCurrentUser'](_0x3ffcd0){var _0x5122d2=_0x285f88;this[_0x5122d2(0x2a6)][_0x5122d2(0x1d6)](_0x3ffcd0);}[_0x285f88(0x4a5)](){var _0x549c34=_0x285f88;return this[_0x549c34(0x2a6)][_0x549c34(0x4a5)]();}[_0x285f88(0x1d9)](_0x4ccdca,_0x6e8d67){var _0x504740=_0x285f88;let _0x23167d=this[_0x504740(0x1a2)][_0x504740(0x4aa)](_0x4ccdca);_0x23167d||(_0x23167d=new ti(),this['_roomMembers'][_0x504740(0x16d)](_0x4ccdca,_0x23167d),this[_0x504740(0x4bd)][_0x504740(0x464)](_0x4ccdca)),_0x23167d[_0x504740(0x1d9)](_0x6e8d67);}['removeMember'](_0x1e2a9a,_0x35ee47){var _0x678886=_0x285f88;const _0x2c0dc6=this['_roomMembers'][_0x678886(0x4aa)](_0x1e2a9a);_0x2c0dc6&&_0x2c0dc6[_0x678886(0x3ee)](_0x35ee47);}['getRoom'](_0xecccb9){return this['_roomMembers']['get'](_0xecccb9);}[_0x285f88(0x173)](_0x55e8c2,_0x14c956){var _0x3a4cb2=_0x285f88;const _0x2d29f2=this[_0x3a4cb2(0x1a2)][_0x3a4cb2(0x4aa)](_0x55e8c2);if(_0x2d29f2)return _0x2d29f2[_0x3a4cb2(0x173)](_0x14c956);}['_removeRoom'](_0xb29230){var _0x5e0524=_0x285f88;const _0xe87cb2=this[_0x5e0524(0x1a2)][_0x5e0524(0x4aa)](_0xb29230);_0xe87cb2&&(_0xe87cb2[_0x5e0524(0x380)](),this[_0x5e0524(0x1a2)][_0x5e0524(0x274)](_0xb29230));}['dispose'](){var _0x2a5149=_0x285f88;this[_0x2a5149(0x1a2)][_0x2a5149(0x3d3)](_0x510d9a=>_0x510d9a[_0x2a5149(0x380)]()),this[_0x2a5149(0x1a2)][_0x2a5149(0x396)](),this[_0x2a5149(0x4bd)]['complete']();}},exports['MemberService']=ei([We(0x0,a['IUniverInstanceService']),We(0x1,a[_0x285f88(0x449)](a['UserManagerService']))],exports[_0x285f88(0x1f4)]);class ti extends a[_0x285f88(0x36b)]{constructor(){var _0x21e60d=_0x285f88;super(...arguments),A(this,_0x21e60d(0x19a),new Map()),A(this,_0x21e60d(0x255),new $[(_0x21e60d(0x425))](this[_0x21e60d(0x19a)])),A(this,_0x21e60d(0x45a),this[_0x21e60d(0x255)][_0x21e60d(0x3c9)]());}[_0x285f88(0x380)](){var _0x47495b=_0x285f88;this[_0x47495b(0x19a)][_0x47495b(0x396)]();}[_0x285f88(0x1d9)](_0x3e488c){var _0x314cb6=_0x285f88;this[_0x314cb6(0x19a)]['set'](_0x3e488c[_0x314cb6(0x3b3)],_0x3e488c),this[_0x314cb6(0x400)]();}[_0x285f88(0x3ee)](_0x219090){var _0x1b64a7=_0x285f88;this[_0x1b64a7(0x19a)]['delete'](_0x219090);}['getMember'](_0x3313ce){var _0x26dd85=_0x285f88;return this[_0x26dd85(0x19a)]['get'](_0x3313ce);}[_0x285f88(0x1f1)](){var _0x4564b2=_0x285f88;return Array[_0x4564b2(0x19f)](this['_members']['values']());}[_0x285f88(0x400)](){var _0x3021b7=_0x285f88;this[_0x3021b7(0x255)][_0x3021b7(0x464)](this['_members']);}}var ii=Object[_0x285f88(0x166)],ni=(_0x48924a,_0x472569,_0x2a426a,_0x1f4499)=>{var _0x5c8911=_0x285f88;for(var _0x3147eb=_0x1f4499>0x1?void 0x0:_0x1f4499?ii(_0x472569,_0x2a426a):_0x472569,_0x22c3ee=_0x48924a[_0x5c8911(0x32b)]-0x1,_0x455c8c;_0x22c3ee>=0x0;_0x22c3ee--)(_0x455c8c=_0x48924a[_0x22c3ee])&&(_0x3147eb=_0x455c8c(_0x3147eb)||_0x3147eb);return _0x3147eb;},se=(_0x397b42,_0x3ce4fa)=>(_0x55cb0d,_0x18664d)=>_0x3ce4fa(_0x55cb0d,_0x18664d,_0x397b42),re=(_0x3edb19=>(_0x3edb19[_0x3edb19['IDLE']=0x0]=_0x285f88(0x183),_0x3edb19[_0x3edb19[_0x285f88(0x324)]=0x1]=_0x285f88(0x324),_0x3edb19[_0x3edb19[_0x285f88(0x2ad)]=0x2]=_0x285f88(0x2ad),_0x3edb19[_0x3edb19[_0x285f88(0x472)]=0x3]=_0x285f88(0x472),_0x3edb19))(re||{});const Ye={[oe[_0x285f88(0x412)]]:_0x285f88(0x3fb),[oe[_0x285f88(0x237)]]:_0x285f88(0x3fa),[oe[_0x285f88(0x350)]]:_0x285f88(0x290),[oe[_0x285f88(0x48b)]]:_0x285f88(0x388),[oe[_0x285f88(0x262)]]:'session.room-cnt-exceeds'};exports[_0x285f88(0x1fb)]=class extends a[_0x285f88(0x1d3)]{constructor(_0x1d42f1,_0x28e930,_0x3824a0,_0x2295d4,_0x56da35,_0x36ba94,_0x416852,_0x401de4,_0x4e0e4e){var _0x3d6c94=_0x285f88;super(),A(this,'_sessionStatus$',new $['BehaviorSubject'](0x0)),A(this,_0x3d6c94(0x1b3),this['_sessionStatus$'][_0x3d6c94(0x3c9)]()),A(this,_0x3d6c94(0x364),new $[(_0x3d6c94(0x3c7))]()),A(this,_0x3d6c94(0x321),this[_0x3d6c94(0x364)][_0x3d6c94(0x3c9)]()),A(this,'_socket'),A(this,_0x3d6c94(0x37e)),A(this,'_collaborationTimeoutTimer'),A(this,_0x3d6c94(0x1df),!0x1),A(this,_0x3d6c94(0x49b),null),(this[_0x3d6c94(0x214)]=_0x1d42f1,this[_0x3d6c94(0x47e)]=_0x3824a0,this[_0x3d6c94(0x479)]=_0x2295d4,this[_0x3d6c94(0x345)]=_0x56da35,this['_memberService']=_0x36ba94,this['_commentService']=_0x416852,this[_0x3d6c94(0x351)]=_0x401de4,this[_0x3d6c94(0x2d6)]=_0x4e0e4e,this['_shouldReportTelemetry']=!!this['_telemetryService'],_0x28e930['pipe']($[_0x3d6c94(0x22e)](this[_0x3d6c94(0x2ea)]))['subscribe'](_0x10edd2=>{var _0x6eace1=_0x3d6c94,_0x24358f;typeof _0x10edd2>'u'||(this[_0x6eace1(0x481)]=_0x10edd2,_0x10edd2?(this['_joinRoom'](_0x10edd2),this[_0x6eace1(0x37e)]=_0x10edd2['message$']['subscribe'](_0x2e2ec4=>{var _0x46603a=_0x6eace1;_0x2e2ec4[_0x46603a(0x40c)]===this[_0x46603a(0x214)]&&this['_onCombEvent'](_0x2e2ec4);})):(this[_0x6eace1(0x392)](),this[_0x6eace1(0x18d)][_0x6eace1(0x464)](0x2),(_0x24358f=this[_0x6eace1(0x37e)])==null||_0x24358f[_0x6eace1(0x409)](),this[_0x6eace1(0x37e)]=null));}));}get[_0x285f88(0x198)](){var _0x38c176=_0x285f88;return this[_0x38c176(0x18d)][_0x38c176(0x32a)]();}[_0x285f88(0x39f)](){var _0x114011=_0x285f88,_0x3590b0,_0x2f2e45;return(_0x2f2e45=(_0x3590b0=this['_socket'])==null?void 0x0:_0x3590b0[_0x114011(0x3b3)])!=null?_0x2f2e45:null;}[_0x285f88(0x380)](){var _0x4ead23=_0x285f88;super[_0x4ead23(0x380)](),this[_0x4ead23(0x2ea)][_0x4ead23(0x464)](),this['dispose$'][_0x4ead23(0x1b6)]();}[_0x285f88(0x18c)](){var _0x24db05=_0x285f88,_0x48dcc8,_0x201bf5;this['_throwTelemetryCollaborationNewChangeset'](),(_0x48dcc8=this[_0x24db05(0x481)])==null||_0x48dcc8[_0x24db05(0x2ef)]({'cmd':W[_0x24db05(0x390)],'data':{'roomID':this[_0x24db05(0x214)]}}),(_0x201bf5=this['_socket'])==null||_0x201bf5[_0x24db05(0x18c)](),this[_0x24db05(0x364)][_0x24db05(0x1b6)](),this[_0x24db05(0x18d)][_0x24db05(0x1b6)](),this['dispose']();}['_onCombEvent'](_0x4566d9){var _0x417f20=_0x285f88;_0x4566d9[_0x417f20(0x420)]===W[_0x417f20(0x1ed)]?this[_0x417f20(0x154)](_0x4566d9):_0x4566d9[_0x417f20(0x420)]===W[_0x417f20(0x32d)]&&this[_0x417f20(0x352)](_0x4566d9);}[_0x285f88(0x3e9)](_0x10b7f2){var _0x884f93=_0x285f88;this[_0x884f93(0x18d)][_0x884f93(0x464)](0x1),_0x10b7f2[_0x884f93(0x2ef)]({'cmd':W[_0x884f93(0x1ed)],'routeKey':this[_0x884f93(0x214)],'routeType':'','data':{'rooms':[{'roomID':this[_0x884f93(0x214)]}]}});}[_0x285f88(0x154)](_0x323f1f){var _0x5a81d9=_0x285f88,_0x561063;if(_0x323f1f['code']in Ye){this[_0x5a81d9(0x351)][_0x5a81d9(0x46d)]({'id':Z['JOIN_ROOM_FAILED'],'data':Ye[_0x323f1f[_0x5a81d9(0x3fc)]]}),this[_0x5a81d9(0x18d)][_0x5a81d9(0x464)](0x2);return;}this[_0x5a81d9(0x18d)]['next'](0x3);const _0x34ff59=(_0x561063=_0x323f1f[_0x5a81d9(0x2cd)][_0x5a81d9(0x15e)][this['_unitID']])==null?void 0x0:_0x561063[_0x5a81d9(0x374)];_0x34ff59&&_0x34ff59[_0x5a81d9(0x3d3)](_0x12c18f=>this[_0x5a81d9(0x1b4)][_0x5a81d9(0x1d9)](this[_0x5a81d9(0x214)],_0x12c18f));}['_onRecvEvent'](_0x456aed){var _0x5661c8=_0x285f88;try{const _0x340c50=_0x456aed['data'];switch(_0x340c50['eventID']){case p[_0x5661c8(0x1ad)]['USERS_ENTER']:this[_0x5661c8(0x4b2)](_0x340c50),this[_0x5661c8(0x364)][_0x5661c8(0x464)](_0x340c50);break;case p[_0x5661c8(0x1ad)]['USERS_LEAVE']:this[_0x5661c8(0x3ac)](_0x340c50),this['_event$']['next'](_0x340c50);break;case p[_0x5661c8(0x1ad)][_0x5661c8(0x1d8)]:case p['CollaborationEvent'][_0x5661c8(0x39b)]:this[_0x5661c8(0x191)](),this[_0x5661c8(0x4af)](),this[_0x5661c8(0x364)][_0x5661c8(0x464)](_0x340c50);break;case p['CollaborationEvent'][_0x5661c8(0x233)]:this[_0x5661c8(0x47e)][_0x5661c8(0x451)](_0x5661c8(0x2a8)+JSON[_0x5661c8(0x437)](_0x340c50)),this[_0x5661c8(0x364)][_0x5661c8(0x464)](_0x340c50);break;case p[_0x5661c8(0x1ad)][_0x5661c8(0x326)]:this[_0x5661c8(0x33a)][_0x5661c8(0x1d1)](_0x340c50['data']),this[_0x5661c8(0x364)][_0x5661c8(0x464)](_0x340c50);break;default:this[_0x5661c8(0x364)][_0x5661c8(0x464)](_0x340c50);}}catch(_0x34d874){this[_0x5661c8(0x47e)][_0x5661c8(0x451)](_0x34d874,_0x456aed);}}[_0x285f88(0x4b2)](_0x50dfca){var _0x24a684=_0x285f88;this[_0x24a684(0x1b4)][_0x24a684(0x1d9)](this[_0x24a684(0x214)],_0x50dfca['data']);}[_0x285f88(0x3ac)](_0x5dfff7){var _0x3d3267=_0x285f88;this[_0x3d3267(0x1b4)][_0x3d3267(0x3ee)](this['_unitID'],_0x5dfff7[_0x3d3267(0x2cd)][_0x3d3267(0x3b3)]);}async['send'](_0x187f71,_0x1150b0){var _0x5b0893=_0x285f88;if(this['sessionStatus']!==0x3||!this[_0x5b0893(0x481)])throw new Error(_0x5b0893(0x2d2));try{_0x187f71[_0x5b0893(0x2e1)]===p[_0x5b0893(0x1ad)][_0x5b0893(0x2ee)]&&(this[_0x5b0893(0x281)](),this[_0x5b0893(0x286)](_0x187f71)),this['_socket'][_0x5b0893(0x2ef)]({'cmd':W[_0x5b0893(0x2ab)],'routeKey':_0x1150b0,'routeType':'','data':_0x187f71});}catch(_0x399b7c){this[_0x5b0893(0x47e)][_0x5b0893(0x451)](_0x399b7c);}}[_0x285f88(0x281)](){var _0x13dc63=_0x285f88,_0x478993;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x2e6dd8=_0x2f99;this[_0x2e6dd8(0x38c)]=null,this[_0x2e6dd8(0x351)]['emitEvent']({'id':Z[_0x2e6dd8(0x172)]});},(_0x478993=this[_0x13dc63(0x479)][_0x13dc63(0x17c)](ke))!=null?_0x478993:St);}[_0x285f88(0x4af)](){var _0x34d62b=_0x285f88;this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x34d62b(0x38c)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x1b01a6){var _0x5cd9e9=_0x285f88;if(!this[_0x5cd9e9(0x1df)])return;const {data:_0x39f71f}=_0x1b01a6,{unitID:_0xf69f11,changeset:_0x3f7b87}=_0x39f71f,{mutations:_0x2cdd76,type:_0x4d74de}=_0x3f7b87;this[_0x5cd9e9(0x49b)]={'unitId':_0xf69f11,'type':_0x4d74de,'startTime':performance[_0x5cd9e9(0x494)](),'stopTime':0x0,'duration':0x0,'size':Zt(_0x2cdd76)};}[_0x285f88(0x191)](){var _0x6ab048=_0x285f88;if(this['_shouldReportTelemetry']){if(!this[_0x6ab048(0x49b)]){this[_0x6ab048(0x47e)][_0x6ab048(0x451)](_0x6ab048(0x1c3),_0x6ab048(0x1da));return;}this[_0x6ab048(0x49b)]['stopTime']=performance[_0x6ab048(0x494)](),this[_0x6ab048(0x49b)]['duration']=this[_0x6ab048(0x49b)][_0x6ab048(0x475)]-this[_0x6ab048(0x49b)][_0x6ab048(0x1a1)],this[_0x6ab048(0x2d6)][_0x6ab048(0x3ef)](Xt,this[_0x6ab048(0x49b)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x468f43=_0x285f88;this[_0x468f43(0x49b)]=null;}},exports['CollaborationSession']=ni([se(0x2,a[_0x285f88(0x160)]),se(0x3,a[_0x285f88(0x32c)]),se(0x4,a['Inject'](a[_0x285f88(0x170)])),se(0x5,a[_0x285f88(0x449)](exports['MemberService'])),se(0x6,a[_0x285f88(0x449)]($e)),se(0x7,a[_0x285f88(0x449)](ee)),se(0x8,a[_0x285f88(0x203)](Pt[_0x285f88(0x2d5)]))],exports[_0x285f88(0x1fb)]);var ri=Object['getOwnPropertyDescriptor'],si=(_0x1ae0c3,_0x16b66e,_0x3234be,_0x4e20fc)=>{var _0x1e7643=_0x285f88;for(var _0x2a4ce1=_0x4e20fc>0x1?void 0x0:_0x4e20fc?ri(_0x16b66e,_0x3234be):_0x16b66e,_0x1b633a=_0x1ae0c3[_0x1e7643(0x32b)]-0x1,_0xa056f4;_0x1b633a>=0x0;_0x1b633a--)(_0xa056f4=_0x1ae0c3[_0x1b633a])&&(_0x2a4ce1=_0xa056f4(_0x2a4ce1)||_0x2a4ce1);return _0x2a4ce1;},he=(_0x143436,_0x1c0ba8)=>(_0x1b02d3,_0xf79494)=>_0x1c0ba8(_0x1b02d3,_0xf79494,_0x143436);exports[_0x285f88(0x2c1)]=class extends a[_0x285f88(0x36b)]{constructor(_0x42aa8a,_0x134d9b,_0x342fbc,_0x4942d7,_0xf8466a,_0x3c633d){var _0x42e641=_0x285f88;super(),A(this,_0x42e641(0x2e4),new $['BehaviorSubject'](void 0x0)),A(this,_0x42e641(0x3d8),this[_0x42e641(0x2e4)][_0x42e641(0x3c9)]()),A(this,_0x42e641(0x2be),null),A(this,_0x42e641(0x176),new Map()),A(this,_0x42e641(0x313),new $['BehaviorSubject'](re[_0x42e641(0x183)])),A(this,'status$',this['_status$']['asObservable']()),A(this,_0x42e641(0x480),!0x1),A(this,_0x42e641(0x498)),A(this,_0x42e641(0x2e6),0x0),A(this,_0x42e641(0x4a7)),A(this,'_timeoutTimer'),(this['_injector']=_0x42aa8a,this[_0x42e641(0x47e)]=_0x134d9b,this[_0x42e641(0x479)]=_0x342fbc,this['_socketService']=_0x4942d7,this[_0x42e641(0x351)]=_0xf8466a,this['_networkConditionService']=_0x3c633d,this[_0x42e641(0x1c0)]());}get[_0x285f88(0x481)](){var _0xdd6869=_0x285f88;return this[_0xdd6869(0x2e4)][_0xdd6869(0x32a)]();}[_0x285f88(0x1c0)](){var _0x256b0f=_0x285f88;this[_0x256b0f(0x4ab)]&&this[_0x256b0f(0x217)](this[_0x256b0f(0x4ab)][_0x256b0f(0x3db)][_0x256b0f(0x2d8)](_0x47a739=>{var _0x3e4fef=_0x256b0f;_0x47a739&&!this[_0x3e4fef(0x481)]&&this[_0x3e4fef(0x2d9)](),_0x47a739||this[_0x3e4fef(0x23a)]();}));}['dispose'](){var _0x37ee38=_0x285f88;super[_0x37ee38(0x380)](),this['_clearRetryConnectingTimer'](),this[_0x37ee38(0x405)](),this[_0x37ee38(0x319)](),this[_0x37ee38(0x176)]['forEach'](_0x3c725b=>_0x3c725b[_0x37ee38(0x380)]()),this['_sessions'][_0x37ee38(0x396)](),this[_0x37ee38(0x313)][_0x37ee38(0x1b6)]();}async[_0x285f88(0x440)](_0x274be7){var _0xb781e1=_0x285f88;if(this[_0xb781e1(0x176)][_0xb781e1(0x18e)](_0x274be7))return this['_sessions'][_0xb781e1(0x4aa)](_0x274be7);this['_tryEnsureSocket']();const _0x37cf18=this['_injector'][_0xb781e1(0x2f1)](exports[_0xb781e1(0x1fb)],_0x274be7,this['_socket$'][_0xb781e1(0x3c9)]());return this['_sessions']['set'](_0x274be7,_0x37cf18),_0x37cf18;}[_0x285f88(0x344)](_0x2c8504){var _0x41d545=_0x285f88,_0x1ad487;const _0x1e34fa=this[_0x41d545(0x176)]['get'](_0x2c8504);_0x1e34fa&&(this[_0x41d545(0x176)]['delete'](_0x2c8504),_0x1e34fa['close']()),this[_0x41d545(0x176)][_0x41d545(0x37c)]||(_0x1ad487=this['_socket'])==null||_0x1ad487[_0x41d545(0x18c)]();}['reconnect'](){var _0x15902c=_0x285f88;this[_0x15902c(0x2e6)]=0x0,this[_0x15902c(0x4a8)](),this[_0x15902c(0x348)]();}['_clearRetryConnectingTimer'](){var _0x3f5f13=_0x285f88;this[_0x3f5f13(0x498)]!=null&&(clearTimeout(this[_0x3f5f13(0x498)]),this[_0x3f5f13(0x498)]=null);}async[_0x285f88(0x2a4)](){var _0xffd6db=_0x285f88,_0x43c9ec,_0x555e82;const _0x29f91c=this[_0xffd6db(0x479)][_0xffd6db(0x17c)](ut),_0xe3bde8=this[_0xffd6db(0x479)][_0xffd6db(0x17c)](G),_0x3f7894=(_0x555e82=(_0x43c9ec=_0xe3bde8==null?void 0x0:_0xe3bde8[_0xffd6db(0x37a)])!=null?_0x43c9ec:_0x29f91c)!=null?_0x555e82:dt,_0xc29633=await this[_0xffd6db(0x26b)][_0xffd6db(0x25b)](_0x3f7894);return this[_0xffd6db(0x2be)]=_0xc29633,_0xc29633;}async[_0x285f88(0x3c8)](){var _0x4d1e57=_0x285f88,_0xee31aa,_0x22c10a;try{const _0x423eb8=(_0x22c10a=(_0xee31aa=this['_socket'])!=null?_0xee31aa:this[_0x4d1e57(0x2be)])!=null?_0x22c10a:await this[_0x4d1e57(0x2a4)]();if(_0x423eb8){const _0x3ca853=_0x423eb8[_0x4d1e57(0x2ef)];_0x423eb8['send']=_0x28f8ff=>(this[_0x4d1e57(0x1c1)](),_0x3ca853[_0x4d1e57(0x414)](_0x423eb8,[_0x28f8ff])),_0x423eb8['message$'][_0x4d1e57(0x2d8)](_0x36214b=>this[_0x4d1e57(0x264)](_0x423eb8,_0x36214b)),_0x423eb8[_0x4d1e57(0x25c)]['pipe'](V['take'](0x1))[_0x4d1e57(0x2d8)](_0x24445f=>this[_0x4d1e57(0x47e)][_0x4d1e57(0x451)](_0x4d1e57(0x34e),_0x24445f)),_0x423eb8[_0x4d1e57(0x244)]['pipe'](V[_0x4d1e57(0x27a)](0x1))[_0x4d1e57(0x2d8)](()=>{this['_onConnectionOpen'](_0x423eb8);}),_0x423eb8[_0x4d1e57(0x341)][_0x4d1e57(0x41e)](V[_0x4d1e57(0x27a)](0x1))[_0x4d1e57(0x2d8)](_0x474018=>{var _0x31869b=_0x4d1e57;this['_logService'][_0x31869b(0x3b2)]('[CollaborationSessionService]',_0x31869b(0x3a5),_0x474018),this[_0x31869b(0x385)]();});}}catch(_0x37ffb2){this[_0x4d1e57(0x47e)]['error'](_0x37ffb2),this[_0x4d1e57(0x385)]();}}['_onConnectionOpen'](_0x19d322){var _0x58935d=_0x285f88;this['_logService'][_0x58935d(0x3b2)]('[CollaborationSessionService]',_0x58935d(0x153)),_0x19d322[_0x58935d(0x2ef)]({'cmd':W[_0x58935d(0x363)]}),this[_0x58935d(0x1c1)]();}[_0x285f88(0x23a)](){var _0x1f3289=_0x285f88;this[_0x1f3289(0x480)]=!0x1,this[_0x1f3289(0x2be)]=null,this[_0x1f3289(0x313)][_0x1f3289(0x464)](re[_0x1f3289(0x2ad)]),this[_0x1f3289(0x2e4)][_0x1f3289(0x464)](null),this[_0x1f3289(0x405)](),this[_0x1f3289(0x319)]();}[_0x285f88(0x385)](){var _0x230ed2=_0x285f88,_0x50e339;this[_0x230ed2(0x23a)](),this['_retryCount']<((_0x50e339=this[_0x230ed2(0x479)]['getConfig'](ft))!=null?_0x50e339:jt)?(this['_collaborationUIEventService'][_0x230ed2(0x46d)]({'id':Z[_0x230ed2(0x386)]}),this[_0x230ed2(0x348)]()):this[_0x230ed2(0x351)][_0x230ed2(0x46d)]({'id':Z['SOCKET_FAILED']});}[_0x285f88(0x348)](){var _0x448efb=_0x285f88,_0xe81f07;const _0x4cf156=this[_0x448efb(0x2e6)],_0x2e46bb=this['_configService']['getConfig'](G),_0x27cd3d=_0x4cf156===0x0?0x0:((_0xe81f07=_0x2e46bb==null?void 0x0:_0x2e46bb[_0x448efb(0x1be)])!=null?_0xe81f07:$t)*0x2**_0x4cf156;this[_0x448efb(0x498)]=setTimeout(()=>{var _0x4d18be=_0x448efb;clearTimeout(this[_0x4d18be(0x498)]),this[_0x4d18be(0x498)]=null,this[_0x4d18be(0x3c8)]();},_0x27cd3d),this[_0x448efb(0x2e6)]+=0x1;}['_onMessage'](_0x30a919,_0x24b981){var _0xed089=_0x285f88;const {cmd:_0x1221c2}=_0x24b981;_0x1221c2===W['HELLO']&&!this[_0xed089(0x480)]&&(_0x30a919[_0xed089(0x3b3)]=_0x24b981['data']['memberID'],this['_socket$'][_0xed089(0x464)](_0x30a919),this[_0xed089(0x313)][_0xed089(0x464)](re[_0xed089(0x472)]),this[_0xed089(0x480)]=!0x0,this['_candidateSocket']=null),_0x1221c2===W['HEARTBEAT']&&this['_clearTimeoutTimer'](),this[_0xed089(0x1c1)]();}[_0x285f88(0x1c1)](){var _0x5ea7c0=_0x285f88,_0x25c363;this[_0x5ea7c0(0x319)](),this[_0x5ea7c0(0x4a7)]=setTimeout(()=>this[_0x5ea7c0(0x2fd)](),(_0x25c363=this[_0x5ea7c0(0x479)][_0x5ea7c0(0x17c)](vt))!=null?_0x25c363:Ht);}[_0x285f88(0x2fd)](){var _0x3d5b32=_0x285f88;this[_0x3d5b32(0x481)]['send']({'cmd':W['HEARTBEAT']}),this[_0x3d5b32(0x1a0)]();}[_0x285f88(0x1a0)](){var _0x4d1fbf=_0x285f88,_0x313dbd;this[_0x4d1fbf(0x35a)]=setTimeout(()=>this[_0x4d1fbf(0x385)](),(_0x313dbd=this[_0x4d1fbf(0x479)]['getConfig'](ke))!=null?_0x313dbd:St);}[_0x285f88(0x319)](){var _0x54f39b=_0x285f88;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x54f39b(0x4a7)]),this[_0x54f39b(0x4a7)]=null);}['_clearTimeoutTimer'](){var _0xec22b0=_0x285f88;this['_timeoutTimer']!=null&&(clearTimeout(this['_timeoutTimer']),this[_0xec22b0(0x35a)]=null);}},exports['CollaborationSessionService']=si([he(0x0,a[_0x285f88(0x449)](a[_0x285f88(0x2f2)])),he(0x1,a[_0x285f88(0x160)]),he(0x2,a[_0x285f88(0x32c)]),he(0x3,He),he(0x4,a[_0x285f88(0x449)](ee)),he(0x5,a[_0x285f88(0x203)](mt))],exports[_0x285f88(0x2c1)]);const q=a['createIdentifier'](_0x285f88(0x3f5));function oi(_0x553ca1){var _0x15a762=_0x285f88;return _0x15a762(0x21c)+_0x553ca1;}var ai=Object[_0x285f88(0x166)],ci=(_0x14610e,_0x2a1969,_0x111c0e,_0x3a00a1)=>{var _0x18f463=_0x285f88;for(var _0x3a901d=_0x3a00a1>0x1?void 0x0:_0x3a00a1?ai(_0x2a1969,_0x111c0e):_0x2a1969,_0x3cd0ac=_0x14610e[_0x18f463(0x32b)]-0x1,_0x1fd7ae;_0x3cd0ac>=0x0;_0x3cd0ac--)(_0x1fd7ae=_0x14610e[_0x3cd0ac])&&(_0x3a901d=_0x1fd7ae(_0x3a901d)||_0x3a901d);return _0x3a901d;},Ue=(_0x1f320f,_0x432193)=>(_0x818447,_0x4f05a7)=>_0x432193(_0x818447,_0x4f05a7,_0x1f320f);function hi(_0x23df4c){var _0xaf8d28=_0x285f88;const {unitID:_0x47943d,mutations:_0x5c7bb6}=_0x23df4c;return{'unitId':_0x47943d,'subUnitId':_0x5c7bb6[0x0][_0xaf8d28(0x468)]['subUnitId']};}exports[_0x285f88(0x1e3)]=class{constructor(_0x42dfad,_0x4255d4,_0x26d439){var _0x17218=_0x285f88;this[_0x17218(0x241)]=_0x42dfad,this[_0x17218(0x453)]=_0x4255d4,this['_instanceService']=_0x26d439;}[_0x285f88(0x42c)](_0x43cfa5){var _0x7a2e40=_0x285f88,_0x3a2e5c,_0x4ea860,_0x55d01e,_0x4c48a8;const _0x39f6b7=this[_0x7a2e40(0x241)][_0x7a2e40(0x4aa)](X[_0x7a2e40(0x1fc)]),{unitId:_0xbeee51,subUnitId:_0x204294}=hi(_0x43cfa5),_0x13721b=_0x39f6b7==null?void 0x0:_0x39f6b7[_0x7a2e40(0x404)](_0xbeee51)[_0x7a2e40(0x17d)](),_0xf5978f=(_0x4ea860=(_0x3a2e5c=this['_instanceService'][_0x7a2e40(0x2f3)](_0xbeee51))==null?void 0x0:_0x3a2e5c[_0x7a2e40(0x29f)]())==null?void 0x0:_0x4ea860[_0x7a2e40(0x334)]();if(_0x13721b['length']===0x0||!_0xbeee51||!_0x204294)return;const _0x3137d6=[{'id':X['SetSelectionsOperation']['id'],'params':{'unitId':_0xbeee51,'subUnitId':_0xf5978f,'selections':a[_0x7a2e40(0x2a0)][_0x7a2e40(0x1a9)](_0x13721b)}}],_0x2f9805=this[_0x7a2e40(0x453)]['transformMutationsWithChangeset'](_0x43cfa5,_0x3137d6);if(!p[_0x7a2e40(0x20a)](_0x2f9805))throw _0x2f9805[_0x7a2e40(0x451)];const _0x4f1db5=(_0x4c48a8=(_0x55d01e=_0x2f9805[_0x7a2e40(0x429)][0x0])==null?void 0x0:_0x55d01e['params'])==null?void 0x0:_0x4c48a8['selections'];if(Array[_0x7a2e40(0x30a)](_0x4f1db5)&&_0x4f1db5[_0x7a2e40(0x32b)]){if(_0x4f1db5['length']===_0x3137d6[0x0][_0x7a2e40(0x468)][_0x7a2e40(0x44e)][_0x7a2e40(0x32b)]&&_0x4f1db5[_0x7a2e40(0x1d4)]((_0x5251ad,_0x541711)=>a[_0x7a2e40(0x3c5)][_0x7a2e40(0x2c7)](_0x5251ad[_0x7a2e40(0x2f6)],_0x3137d6[0x0]['params'][_0x7a2e40(0x44e)][_0x541711][_0x7a2e40(0x2f6)])))return;this[_0x7a2e40(0x241)]['get'](a['ICommandService'])[_0x7a2e40(0x3eb)](X['SetSelectionsOperation']['id'],{'unitId':_0xbeee51,'subUnitId':_0xf5978f,'selections':_0x4f1db5});}}},exports[_0x285f88(0x1e3)]=ci([Ue(0x0,a[_0x285f88(0x449)](a['Injector'])),Ue(0x1,p['ITransformService']),Ue(0x2,a[_0x285f88(0x3ea)])],exports['SheetTransformSelectionsService']);const de=a[_0x285f88(0x411)]('univer-pro.collaboration-client.single-active-unit-service');var je=(_0x47b965=>(_0x47b965[_0x47b965[_0x285f88(0x3ec)]=0x0]=_0x285f88(0x3ec),_0x47b965[_0x47b965['OTHER_CLIENTS_EDITING']=0x1]='OTHER_CLIENTS_EDITING',_0x47b965))(je||{});const _i=new Set([X['InsertSheetMutation']['id']]);function Ge(_0x3ebfb4,_0x10a113,_0x32df29,_0x75f674,_0x2f7bbf){var _0xd98a12=_0x285f88,_0x2a9c15,_0x2fe108,_0x2ab462,_0x44bed3;const _0x417073=[];for(const _0x363c5a of _0x3ebfb4)if(_i[_0xd98a12(0x18e)](_0x363c5a['id'])){if(_0x417073['length']>0x0)break;_0x417073[_0xd98a12(0x19b)](_0x363c5a);break;}else _0x417073[_0xd98a12(0x19b)](_0x363c5a);const _0x2296a1=(_0x2fe108=(_0x2a9c15=_0x2f7bbf[_0xd98a12(0x4a5)]())==null?void 0x0:_0x2a9c15[_0xd98a12(0x257)])!=null?_0x2fe108:_0xd98a12(0x2c4),_0x382e24=(_0x44bed3=(_0x2ab462=_0x2f7bbf['getCurrentUser']())==null?void 0x0:_0x2ab462[_0xd98a12(0x3b3)])!=null?_0x44bed3:'unknown';return{'changeset':{'unitID':_0x10a113,'type':p['mapDocumentTypeToUniverType'](_0x32df29[_0xd98a12(0x196)](_0x10a113)),'baseRev':_0x75f674[_0xd98a12(0x156)](_0x10a113),'revision':0x0,'userID':_0x2296a1,'memberID':_0x382e24,'mutations':_0x417073},'pendingMutations':_0x3ebfb4['slice'](_0x417073['length'])};}function li(_0x4fca35,_0x1c6aa4,_0x484b81,_0x582357,_0x4b4731){var _0x2fc83a=_0x285f88,_0x4bb6c2,_0x10c69f,_0x533d54,_0x164e93;const _0x1fce26=[_0x4fca35[_0x2fc83a(0x252)]((_0x3cf82e,_0x5ee9ff)=>{var _0x8de929=_0x2fc83a,_0x32d9f8;const {id:_0x2ad386}=_0x3cf82e,{id:_0x1dc2d8,type:_0x5b00b5}=_0x5ee9ff,_0x4ebc15=(_0x32d9f8=_0x3cf82e['params'])!=null?_0x32d9f8:{'actions':null},_0x561dc2=_0x5ee9ff[_0x8de929(0x468)];if(_0x2ad386&&_0x2ad386!==_0x1dc2d8)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x2ad386+'\x20-\x20'+_0x1dc2d8+'.');return{..._0x3cf82e,'id':_0x1dc2d8,'type':_0x5b00b5,'params':{'unitId':_0x561dc2[_0x8de929(0x21e)],'textRanges':_0x561dc2['textRanges'],'actions':a['JSONX'][_0x8de929(0x204)](_0x4ebc15[_0x8de929(0x20b)],_0x561dc2['actions'])}};},{})],_0xb85f98=(_0x10c69f=(_0x4bb6c2=_0x4b4731[_0x2fc83a(0x4a5)]())==null?void 0x0:_0x4bb6c2[_0x2fc83a(0x257)])!=null?_0x10c69f:_0x2fc83a(0x2c4),_0x4bdef2=(_0x164e93=(_0x533d54=_0x4b4731['getCurrentUser']())==null?void 0x0:_0x533d54[_0x2fc83a(0x3b3)])!=null?_0x164e93:_0x2fc83a(0x2c4);return{'changeset':{'unitID':_0x1c6aa4,'type':p[_0x2fc83a(0x299)](_0x484b81[_0x2fc83a(0x196)](_0x1c6aa4)),'baseRev':_0x582357['getCurrentRevOfUnit'](_0x1c6aa4),'revision':0x0,'userID':_0xb85f98,'memberID':_0x4bdef2,'mutations':_0x1fce26},'pendingMutations':[]};}function bt(_0x3fb512,_0x2ed0f5){var _0x55e024=_0x285f88;const _0x394e01=new $[(_0x55e024(0x415))](0x1);return setTimeout(()=>_0x394e01[_0x55e024(0x464)](_0x2ed0f5),_0x3fb512),_0x394e01[_0x55e024(0x3c9)]()[_0x55e024(0x41e)]($[_0x55e024(0x27a)](0x1));}const ui={'id':X['EmptyMutation']['id'],'type':a[_0x285f88(0x1f6)][_0x285f88(0x155)],'params':{}};var di=Object['getOwnPropertyDescriptor'],ae=(_0x4a20cd,_0x2b5ea8,_0x305aac,_0x6027b8)=>{var _0x3bc21b=_0x285f88;for(var _0x288733=_0x6027b8>0x1?void 0x0:_0x6027b8?di(_0x2b5ea8,_0x305aac):_0x2b5ea8,_0x594fd4=_0x4a20cd[_0x3bc21b(0x32b)]-0x1,_0x3058b2;_0x594fd4>=0x0;_0x594fd4--)(_0x3058b2=_0x4a20cd[_0x594fd4])&&(_0x288733=_0x3058b2(_0x288733)||_0x288733);return _0x288733;},L=(_0x4ea2b3,_0x51ed3f)=>(_0x201377,_0x57219b)=>_0x51ed3f(_0x201377,_0x57219b,_0x4ea2b3),Be=(_0x4d68a1=>(_0x4d68a1[_0x285f88(0x159)]=_0x285f88(0x268),_0x4d68a1[_0x285f88(0x15a)]='synced',_0x4d68a1[_0x285f88(0x1b1)]=_0x285f88(0x2e2),_0x4d68a1[_0x285f88(0x3a9)]=_0x285f88(0x399),_0x4d68a1[_0x285f88(0x185)]=_0x285f88(0x340),_0x4d68a1[_0x285f88(0x1af)]=_0x285f88(0x377),_0x4d68a1[_0x285f88(0x43f)]=_0x285f88(0x44a),_0x4d68a1[_0x285f88(0x2ad)]=_0x285f88(0x39e),_0x4d68a1))(Be||{});const Rt=0xea60;class ce{constructor(_0x539f7a,_0x314a26,_0x36caaa,_0x3b6e4a,_0x480f85,_0x21a81d,_0x33df37,_0x13c8cc,_0x3a41f8){var _0x33661f=_0x285f88;A(this,_0x33661f(0x1c4),null),A(this,_0x33661f(0x2eb),[]),(this[_0x33661f(0x2af)]=_0x539f7a,this[_0x33661f(0x46c)]=_0x314a26,this[_0x33661f(0x2f8)]=_0x480f85,this[_0x33661f(0x4bb)]=_0x21a81d,this[_0x33661f(0x3ed)]=_0x33df37,this[_0x33661f(0x39d)]=_0x13c8cc,this[_0x33661f(0x1c5)]=_0x3a41f8,this['_awaitingChangeset']=_0x36caaa,this['_pendingMutations']=_0x3b6e4a);}[_0x285f88(0x3e1)](_0x509aa0){var _0x35d653=_0x285f88;const _0x570cd0=this[_0x35d653(0x39d)][_0x35d653(0x156)](this[_0x35d653(0x2af)]);return _0x509aa0[_0x35d653(0x228)]>_0x570cd0+0x1?(this['_handler'][_0x35d653(0x253)]({'from':_0x570cd0,'to':_0x509aa0[_0x35d653(0x228)]-0x1}),!0x0):!0x1;}[_0x285f88(0x489)](_0x258803){var _0x12a9cd=_0x285f88;this[_0x12a9cd(0x3ed)][_0x12a9cd(0x347)](this[_0x12a9cd(0x2af)],_0x258803);}[_0x285f88(0x218)](_0x1d6ff7){var _0x30c911=_0x285f88,_0x3fd15a,_0x381f08;(_0x381f08=(_0x3fd15a=this[_0x30c911(0x2f8)])[_0x30c911(0x184)])==null||_0x381f08[_0x30c911(0x207)](_0x3fd15a,_0x1d6ff7);}[_0x285f88(0x454)](_0x5dc4a6){var _0x1a9bac=_0x285f88,_0x3d3cec,_0x4d6878;return(_0x4d6878=(_0x3d3cec=this[_0x1a9bac(0x2f8)])[_0x1a9bac(0x3d9)])==null?void 0x0:_0x4d6878[_0x1a9bac(0x207)](_0x3d3cec,_0x5dc4a6);}[_0x285f88(0x2c6)](_0x15c1aa){var _0x20ba31=_0x285f88,_0x3500c0,_0x18f127;return(_0x18f127=(_0x3500c0=this[_0x20ba31(0x2f8)])['onTransformState'])==null?void 0x0:_0x18f127[_0x20ba31(0x207)](_0x3500c0,_0x15c1aa);}[_0x285f88(0x3f6)](_0x5afd66){var _0x465036=_0x285f88,_0x396846,_0x4a15b3,_0x491e4d;return(_0x491e4d=(_0x4a15b3=(_0x396846=this[_0x465036(0x2f8)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x4a15b3[_0x465036(0x207)](_0x396846,_0x5afd66))!=null?_0x491e4d:_0x5afd66;}[_0x285f88(0x2a9)](_0x52a3d8){var _0x522e4a=_0x285f88,_0x2d8d57,_0x51cc0e,_0x5952c7;return(_0x5952c7=(_0x51cc0e=(_0x2d8d57=this[_0x522e4a(0x2f8)])[_0x522e4a(0x23c)])==null?void 0x0:_0x51cc0e[_0x522e4a(0x207)](_0x2d8d57,_0x52a3d8))!=null?_0x5952c7:_0x52a3d8;}[_0x285f88(0x3e3)](_0xa33592){var _0x4337e5=_0x285f88,_0x16c5b7,_0x3b06fe;if(this[_0x4337e5(0x46c)]===J['UNIVER_DOC']){const {unitID:_0x12088c,mutations:_0x1af362,memberID:_0x567702}=_0xa33592,_0x51a4a2=_0x1af362[0x0][_0x4337e5(0x468)][_0x4337e5(0x416)];Array[_0x4337e5(0x30a)](_0x51a4a2)&&_0x51a4a2[_0x4337e5(0x32b)]>0x0&&((_0x3b06fe=(_0x16c5b7=this['_handler'])[_0x4337e5(0x34f)])==null||_0x3b06fe[_0x4337e5(0x207)](_0x16c5b7,{'unitID':_0x12088c,'memberID':_0x567702,'textRanges':_0x51a4a2}));}}[_0x285f88(0x4b6)](){var _0x3b895b=_0x285f88,_0x2087d4;(_0x2087d4=this[_0x3b895b(0x1c5)])==null||_0x2087d4[_0x3b895b(0x197)](this['unitID'],this[_0x3b895b(0x46c)],this['_awaitingChangeset'],this['_pendingMutations']);}[_0x285f88(0x359)](){var _0x57d925=_0x285f88;return this[_0x57d925(0x39d)][_0x57d925(0x156)](this[_0x57d925(0x2af)]);}[_0x285f88(0x456)](){var _0x4fbab5=_0x285f88;this[_0x4fbab5(0x39d)][_0x4fbab5(0x276)](this[_0x4fbab5(0x2af)]);}['_executeRemoteChangeset'](_0x3dbaa1){var _0x3dea1d=_0x285f88,_0x377fef;let _0x34b8ac=this[_0x3dea1d(0x3f6)](_0x3dbaa1);_0x34b8ac=this['_transformRemoteChangesetByStateCache'](_0x34b8ac);const _0x39d5bd=a['sequenceExecute'](_0x34b8ac['mutations'],this[_0x3dea1d(0x4bb)],{'fromCollab':!0x0});if(!_0x39d5bd[_0x3dea1d(0x471)])throw _0x39d5bd['error']instanceof Error?_0x39d5bd[_0x3dea1d(0x451)]:new Error((_0x377fef=_0x39d5bd['error'])!=null?_0x377fef:_0x3dea1d(0x490));this['_transformIMECache'](_0x34b8ac),this[_0x3dea1d(0x2c6)](_0x34b8ac),this[_0x3dea1d(0x489)](_0x3dbaa1),this[_0x3dea1d(0x218)](_0x34b8ac),this[_0x3dea1d(0x3e3)](_0x34b8ac),this[_0x3dea1d(0x456)]();}}exports['SyncedState']=class extends ce{constructor(_0x3eaa97,_0x315241,_0x188633,_0x5969e2,_0x269f47,_0x48b7ed,_0x3f62e6,_0x556d90,_0x473562,_0x494e2e){var _0x48df46=_0x285f88;super(_0x3eaa97,_0x315241,null,[],_0x188633,_0x3f62e6,_0x48b7ed,_0x5969e2,_0x494e2e),A(this,_0x48df46(0x1cd),'synced'),(this[_0x48df46(0x241)]=_0x269f47,this[_0x48df46(0x47e)]=_0x556d90,this[_0x48df46(0x453)]=_0x473562,this[_0x48df46(0x3a2)]=_0x494e2e);}[_0x285f88(0x2a1)](_0x17fbf4){var _0x446adc=_0x285f88;const _0x1b02c6=this['_injector'][_0x446adc(0x2f1)](exports[_0x446adc(0x278)],this[_0x446adc(0x2af)],this[_0x446adc(0x46c)],[_0x17fbf4],this[_0x446adc(0x2f8)]);return _0x1b02c6['_schedule'](),_0x1b02c6[_0x446adc(0x4b6)](),_0x1b02c6;}[_0x285f88(0x2ae)](_0x10592f){var _0x15e3fe=_0x285f88;if(this[_0x15e3fe(0x3e1)](_0x10592f))return this[_0x15e3fe(0x241)][_0x15e3fe(0x2f1)](exports[_0x15e3fe(0x24e)],this[_0x15e3fe(0x2af)],this[_0x15e3fe(0x46c)],null,[],null,[_0x10592f],this[_0x15e3fe(0x2f8)]);try{const _0x58a4bb=this['_transformService'][_0x15e3fe(0x3ba)](_0x10592f,[ui]);if(p[_0x15e3fe(0x20a)](_0x58a4bb)){const {c1Prime:_0x5dd17c}=_0x58a4bb;return this[_0x15e3fe(0x2fc)](_0x5dd17c),this;}throw _0x58a4bb[_0x15e3fe(0x451)];}catch(_0xe0d81a){return this[_0x15e3fe(0x47e)][_0x15e3fe(0x451)](_0xe0d81a),this[_0x15e3fe(0x3d4)](!0x1);}}[_0x285f88(0x3d4)](_0x160e56){var _0x274e15=_0x285f88;return this[_0x274e15(0x241)]['createInstance'](exports[_0x274e15(0x3f9)],this[_0x274e15(0x2af)],this[_0x274e15(0x46c)],null,[],this['_handler'],_0x160e56);}[_0x285f88(0x32e)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x285f88(0x33b)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x285f88(0x238)](){return this;}[_0x285f88(0x2b0)](){var _0xa62d35=_0x285f88;return this[_0xa62d35(0x241)][_0xa62d35(0x2f1)](exports['OfflineState'],this[_0xa62d35(0x2af)],this['type'],null,[],this['_handler']);}[_0x285f88(0x1bc)](){return this;}['resend'](){var _0x484441=_0x285f88;throw new Error(_0x484441(0x40a));}[_0x285f88(0x3b8)](){var _0x496f73=_0x285f88;const _0x25854b=this[_0x496f73(0x39d)][_0x496f73(0x156)](this['unitID']);return this[_0x496f73(0x2f8)]['onMissingChangesets']({'from':_0x25854b,'to':0x0}),this[_0x496f73(0x241)]['createInstance'](exports[_0x496f73(0x24e)],this[_0x496f73(0x2af)],this['type'],null,[],null,[],this[_0x496f73(0x2f8)]);}},exports['SyncedState']=ae([L(0x3,a[_0x285f88(0x449)](p['RevisionService'])),L(0x4,a[_0x285f88(0x449)](a[_0x285f88(0x2f2)])),L(0x5,a[_0x285f88(0x188)]),L(0x6,a['ICommandService']),L(0x7,a[_0x285f88(0x160)]),L(0x8,p[_0x285f88(0x293)]),L(0x9,a[_0x285f88(0x203)](q))],exports[_0x285f88(0x22f)]),exports[_0x285f88(0x278)]=class extends ce{constructor(_0x18de68,_0x33bf99,_0x37d14,_0x27e31f,_0x548692,_0x3846e1,_0x4711be,_0x78103d,_0x5e4447,_0xd9214e,_0x1b7fef,_0x5bcd71,_0x1e8cb5,_0x42b0c8){var _0x661c62=_0x285f88;super(_0x18de68,_0x33bf99,null,_0x37d14,_0x27e31f,_0x5e4447,_0x1e8cb5,_0x3846e1,_0x42b0c8),A(this,_0x661c62(0x1cd),_0x661c62(0x2e2)),A(this,_0x661c62(0x3e2),null),A(this,_0x661c62(0x212),null),(this['_injector']=_0x548692,this[_0x661c62(0x1b4)]=_0x4711be,this[_0x661c62(0x47e)]=_0x78103d,this[_0x661c62(0x479)]=_0xd9214e,this[_0x661c62(0x453)]=_0x1b7fef,this[_0x661c62(0x393)]=_0x5bcd71);}[_0x285f88(0x2a1)](_0x4da2ef){var _0x14bda7=_0x285f88;return this[_0x14bda7(0x2eb)][_0x14bda7(0x19b)](_0x4da2ef),this[_0x14bda7(0x4b6)](),this;}[_0x285f88(0x2ae)](_0x338048){var _0x2ed3e2=_0x285f88;if(this[_0x2ed3e2(0x3e1)](_0x338048))return this[_0x2ed3e2(0x354)](),this['_injector'][_0x2ed3e2(0x2f1)](exports['FetchingMissState'],this[_0x2ed3e2(0x2af)],this[_0x2ed3e2(0x46c)],null,this[_0x2ed3e2(0x2eb)],null,[_0x338048],this['_handler']);try{const _0x27ba53=this[_0x2ed3e2(0x453)][_0x2ed3e2(0x3ba)](_0x338048,this['_pendingMutations']);if(p[_0x2ed3e2(0x20a)](_0x27ba53)){const {c1Prime:_0x403f1e,m2Prime:_0x2004ae}=_0x27ba53;this['_executeRemoteChangeset'](_0x403f1e);const _0x16d51c=this[_0x2ed3e2(0x241)][_0x2ed3e2(0x2f1)](exports[_0x2ed3e2(0x278)],this[_0x2ed3e2(0x2af)],this['type'],_0x2004ae,this[_0x2ed3e2(0x2f8)]);this[_0x2ed3e2(0x354)]();const _0x30c8b7=new Date()['getTime'](),_0x2c8cf9=this[_0x2ed3e2(0x3e2)]?Math[_0x2ed3e2(0x493)](this[_0x2ed3e2(0x3e2)]-_0x30c8b7,0x0):this[_0x2ed3e2(0x339)]();return _0x16d51c['_schedule'](_0x2c8cf9),_0x16d51c;}throw _0x27ba53[_0x2ed3e2(0x451)];}catch(_0x3e5d84){return this[_0x2ed3e2(0x47e)]['error'](_0x3e5d84),this[_0x2ed3e2(0x3d4)](!0x1);}}[_0x285f88(0x32e)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x285f88(0x33b)](){var _0x1d34fb=_0x285f88;throw new Error(_0x1d34fb(0x375));}[_0x285f88(0x238)](){return this;}[_0x285f88(0x2b0)](){var _0x321832=_0x285f88;return this['_clearScheduledTask'](),this[_0x321832(0x241)][_0x321832(0x2f1)](exports[_0x321832(0x30d)],this[_0x321832(0x2af)],this[_0x321832(0x46c)],null,this[_0x321832(0x2eb)],this[_0x321832(0x2f8)]);}[_0x285f88(0x1bc)](){return this;}[_0x285f88(0x41f)](_0x1b0168){var _0x36749a=_0x285f88;const _0x78172d=_0x1b0168!=null?_0x1b0168:this[_0x36749a(0x339)]();this[_0x36749a(0x3e2)]=new Date()['getTime']()+_0x78172d,this[_0x36749a(0x212)]=setTimeout(()=>{var _0x1d2bc8=_0x36749a;this[_0x1d2bc8(0x354)]();let _0x4fbe6b=null;switch(this[_0x1d2bc8(0x46c)]){case J[_0x1d2bc8(0x433)]:{_0x4fbe6b=Ge(this['_pendingMutations'],this[_0x1d2bc8(0x2af)],this[_0x1d2bc8(0x393)],this[_0x1d2bc8(0x39d)],this[_0x1d2bc8(0x1b4)]);break;}case J[_0x1d2bc8(0x152)]:{this[_0x1d2bc8(0x2eb)][_0x1d2bc8(0x1d4)](_0x572d37=>_0x572d37['id']===ht[_0x1d2bc8(0x35f)]['id'])?_0x4fbe6b=li(this['_pendingMutations'],this[_0x1d2bc8(0x2af)],this[_0x1d2bc8(0x393)],this['_revisionService'],this[_0x1d2bc8(0x1b4)]):_0x4fbe6b=Ge(this['_pendingMutations'],this['unitID'],this[_0x1d2bc8(0x393)],this['_revisionService'],this[_0x1d2bc8(0x1b4)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x1d2bc8(0x46c)]+_0x1d2bc8(0x36d));}const {changeset:_0x160845,pendingMutations:_0x5dffe8}=_0x4fbe6b;this[_0x1d2bc8(0x2f8)][_0x1d2bc8(0x247)](_0x160845);const _0x15822f=_0x5dffe8[_0x1d2bc8(0x32b)]?this[_0x1d2bc8(0x241)][_0x1d2bc8(0x2f1)](exports[_0x1d2bc8(0x35c)],this['unitID'],this['type'],_0x160845,_0x5dffe8,this['_handler'],void 0x0):this[_0x1d2bc8(0x241)][_0x1d2bc8(0x2f1)](exports[_0x1d2bc8(0x26e)],this[_0x1d2bc8(0x2af)],this[_0x1d2bc8(0x46c)],_0x160845,this['_handler']);_0x15822f[_0x1d2bc8(0x4b6)](),this['_handler']['onStateChange'](this,_0x15822f);},_0x78172d);}[_0x285f88(0x339)](){var _0x36f710=_0x285f88,_0x1cb329;const _0x24f2e8=this[_0x36f710(0x479)]['getConfig'](G);return(_0x1cb329=_0x24f2e8==null?void 0x0:_0x24f2e8['sendChangesetTimeout'])!=null?_0x1cb329:xt;}[_0x285f88(0x213)](){var _0x73be93=_0x285f88;throw new Error(_0x73be93(0x205));}[_0x285f88(0x354)](){var _0x18b5c0=_0x285f88;this[_0x18b5c0(0x212)]!=null&&(clearTimeout(this[_0x18b5c0(0x212)]),this[_0x18b5c0(0x212)]=null);}[_0x285f88(0x3d4)](_0x2ec3cd){var _0x50f8aa=_0x285f88;return this['_clearScheduledTask'](),this[_0x50f8aa(0x241)][_0x50f8aa(0x2f1)](exports[_0x50f8aa(0x3f9)],this[_0x50f8aa(0x2af)],this[_0x50f8aa(0x46c)],null,this[_0x50f8aa(0x2eb)],this[_0x50f8aa(0x2f8)],_0x2ec3cd);}},exports['PendingState']=ae([L(0x4,a[_0x285f88(0x449)](a[_0x285f88(0x2f2)])),L(0x5,a[_0x285f88(0x449)](p['RevisionService'])),L(0x6,a[_0x285f88(0x449)](exports[_0x285f88(0x1f4)])),L(0x7,a[_0x285f88(0x160)]),L(0x8,a[_0x285f88(0x295)]),L(0x9,a[_0x285f88(0x32c)]),L(0xa,p[_0x285f88(0x293)]),L(0xb,a['IUniverInstanceService']),L(0xc,a[_0x285f88(0x188)]),L(0xd,a[_0x285f88(0x203)](q))],exports[_0x285f88(0x278)]),exports[_0x285f88(0x26e)]=class extends ce{constructor(_0x122574,_0x59cd05,_0x14cbef,_0x59c00a,_0x5bbd87,_0x185bd6,_0x2fd362,_0x1b73b3,_0x1f68a2,_0x1fddb6,_0x3cd414){var _0x19f1dd=_0x285f88;super(_0x122574,_0x59cd05,_0x14cbef,[],_0x59c00a,_0x2fd362,_0x1fddb6,_0x185bd6,_0x3cd414),A(this,_0x19f1dd(0x1cd),'awaiting'),A(this,_0x19f1dd(0x2c8),0x0),A(this,_0x19f1dd(0x291)),A(this,_0x19f1dd(0x1cc)),(this[_0x19f1dd(0x241)]=_0x5bbd87,this[_0x19f1dd(0x47e)]=_0x1b73b3,this[_0x19f1dd(0x453)]=_0x1f68a2);}[_0x285f88(0x2a1)](_0x406ed5){var _0x522763=_0x285f88;this[_0x522763(0x354)]();const _0x266842=this['_injector'][_0x522763(0x2f1)](exports[_0x522763(0x35c)],this[_0x522763(0x2af)],this[_0x522763(0x46c)],this[_0x522763(0x1c4)],[_0x406ed5],this[_0x522763(0x2f8)],this[_0x522763(0x291)]);return _0x266842[_0x522763(0x4b6)](),_0x266842;}['onRemoteChangeset'](_0x13f699){var _0xcb14db=_0x285f88;if(this[_0xcb14db(0x3e1)](_0x13f699))return this[_0xcb14db(0x354)](),this['_injector'][_0xcb14db(0x2f1)](exports[_0xcb14db(0x24e)],this[_0xcb14db(0x2af)],this[_0xcb14db(0x46c)],this[_0xcb14db(0x1c4)],[],null,[_0x13f699],this['_handler']);try{const _0x4e6cc8=this[_0xcb14db(0x453)][_0xcb14db(0x1ba)]([_0x13f699],[this[_0xcb14db(0x1c4)]],!0x1);if(p['isTransformChangesetsSuccess'](_0x4e6cc8)){const {c1Prime:_0x53a91d,c2Prime:_0x2ed48b}=_0x4e6cc8;this[_0xcb14db(0x2fc)](_0x53a91d[0x0]),_0x2ed48b[0x0][_0xcb14db(0x3be)]=this[_0xcb14db(0x359)](),this['_clearScheduledTask']();const _0x59e6fb=this[_0xcb14db(0x241)][_0xcb14db(0x2f1)](exports[_0xcb14db(0x26e)],this[_0xcb14db(0x2af)],this[_0xcb14db(0x46c)],_0x2ed48b[0x0],this['_handler']);return _0x59e6fb[_0xcb14db(0x4b6)](),_0x59e6fb;}return this[_0xcb14db(0x3d4)](!0x1);}catch(_0x1840c9){return this['_logService'][_0xcb14db(0x451)](_0x1840c9),this[_0xcb14db(0x3d4)](!0x1);}}[_0x285f88(0x32e)](_0x6fc490){var _0x2fc5d2=_0x285f88;this['_clearScheduledTask']();const _0x82ebd3=this[_0x2fc5d2(0x39d)][_0x2fc5d2(0x156)](this[_0x2fc5d2(0x2af)]);if(_0x6fc490[_0x2fc5d2(0x228)]<_0x82ebd3-0x1)return this;if(this[_0x2fc5d2(0x3e1)](_0x6fc490))return this[_0x2fc5d2(0x241)]['createInstance'](exports['FetchingMissState'],this['unitID'],this['type'],null,[],this[_0x2fc5d2(0x1c4)],[],this['_handler']);this[_0x2fc5d2(0x456)]();const _0x2787ff=this['_injector'][_0x2fc5d2(0x2f1)](exports['SyncedState'],this[_0x2fc5d2(0x2af)],this['type'],this['_handler']);return _0x2787ff[_0x2fc5d2(0x4b6)](),_0x2787ff;}['onRemoteRej'](_0x45d6d8){var _0x760b4e=_0x285f88;return this[_0x760b4e(0x3d4)](!!(_0x45d6d8!=null&&_0x45d6d8['isPermissionRej']));}['onRemoteRetry'](_0x291c5c){var _0x7f4081=_0x285f88;return this[_0x7f4081(0x2c8)]>Rt?this[_0x7f4081(0x2b0)]():(this[_0x7f4081(0x291)]=bt(this['_resendTimeout'],{'timeout':this[_0x7f4081(0x2c8)],'reqId':_0x291c5c['reqId']}),this[_0x7f4081(0x1cc)]=this[_0x7f4081(0x291)][_0x7f4081(0x2d8)](({reqId:_0x3e6a1d,timeout:_0x3360ff})=>{var _0x4c470c=_0x7f4081;this[_0x4c470c(0x4ac)](_0x3e6a1d,_0x3360ff);}),this);}[_0x285f88(0x2b0)](){var _0x4bb275=_0x285f88;return this[_0x4bb275(0x354)](),this[_0x4bb275(0x241)][_0x4bb275(0x2f1)](exports[_0x4bb275(0x30d)],this[_0x4bb275(0x2af)],this[_0x4bb275(0x46c)],this[_0x4bb275(0x1c4)],[],this[_0x4bb275(0x2f8)]);}[_0x285f88(0x1bc)](){return this;}[_0x285f88(0x213)](){var _0x41ef19=_0x285f88;this[_0x41ef19(0x2f8)][_0x41ef19(0x247)](this[_0x41ef19(0x1c4)]);}[_0x285f88(0x3d4)](_0x57d992){var _0x520780=_0x285f88;return this[_0x520780(0x354)](),this[_0x520780(0x241)][_0x520780(0x2f1)](exports[_0x520780(0x3f9)],this[_0x520780(0x2af)],this[_0x520780(0x46c)],this[_0x520780(0x1c4)],[],this[_0x520780(0x2f8)],_0x57d992);}[_0x285f88(0x4ac)](_0x2c1627,_0xc5f93c){var _0x3ef0c1=_0x285f88,_0x2f4ce9;_0x2c1627===((_0x2f4ce9=this[_0x3ef0c1(0x1c4)])==null?void 0x0:_0x2f4ce9[_0x3ef0c1(0x20e)])&&(this['resend'](),this['_resendTimeout']=_0xc5f93c===0x0?0x3e8:_0xc5f93c*0x2);}[_0x285f88(0x354)](){var _0x1ee329=_0x285f88,_0x430995;(_0x430995=this['_sender'])==null||_0x430995[_0x1ee329(0x409)](),this['_resendTimeout']=0x0;}},exports['AwaitingState']=ae([L(0x4,a[_0x285f88(0x449)](a[_0x285f88(0x2f2)])),L(0x5,a['Inject'](p[_0x285f88(0x43b)])),L(0x6,a['ICommandService']),L(0x7,a[_0x285f88(0x160)]),L(0x8,p[_0x285f88(0x293)]),L(0x9,a['IUndoRedoService']),L(0xa,a[_0x285f88(0x203)](q))],exports[_0x285f88(0x26e)]),exports[_0x285f88(0x35c)]=class extends ce{constructor(_0xe195ac,_0x2b522b,_0x1a733c,_0x580ea2,_0x139262,_0x3cc0aa,_0x26a1a0,_0x31f2a6,_0x1388d0,_0x3a58ff,_0x3557e7,_0x13dd76,_0x24c9e2){var _0x4f777f=_0x285f88;super(_0xe195ac,_0x2b522b,_0x1a733c,_0x580ea2,_0x139262,_0x1388d0,_0x13dd76,_0x31f2a6,_0x24c9e2),A(this,'status',_0x4f777f(0x340)),A(this,_0x4f777f(0x2c8),0x0),A(this,_0x4f777f(0x291)),A(this,_0x4f777f(0x1cc)),(this[_0x4f777f(0x241)]=_0x26a1a0,this['_logService']=_0x3a58ff,this[_0x4f777f(0x453)]=_0x3557e7,this[_0x4f777f(0x3a2)]=_0x24c9e2,_0x3cc0aa&&(this[_0x4f777f(0x291)]=_0x3cc0aa,this[_0x4f777f(0x1cc)]=this[_0x4f777f(0x291)]['subscribe'](({reqId:_0x24a4ca,timeout:_0x4b5659})=>{var _0x37a351=_0x4f777f;this[_0x37a351(0x4ac)](_0x24a4ca,_0x4b5659);})));}[_0x285f88(0x2a1)](_0x5535bb){var _0x9654b=_0x285f88;return this[_0x9654b(0x2eb)][_0x9654b(0x19b)](_0x5535bb),this;}['onRemoteChangeset'](_0x22caf0){var _0xa948b6=_0x285f88;if(this['_checkMissing'](_0x22caf0))return this[_0xa948b6(0x354)](),this[_0xa948b6(0x241)][_0xa948b6(0x2f1)](exports[_0xa948b6(0x24e)],this[_0xa948b6(0x2af)],this[_0xa948b6(0x46c)],this[_0xa948b6(0x1c4)],this[_0xa948b6(0x2eb)],null,[_0x22caf0],this[_0xa948b6(0x2f8)]);try{const _0x5617ca=this[_0xa948b6(0x453)][_0xa948b6(0x1ba)]([_0x22caf0],[this[_0xa948b6(0x1c4)]],!0x1);if(p[_0xa948b6(0x289)](_0x5617ca)){const {c1Prime:_0xfc3026,c2Prime:_0x299076}=_0x5617ca,_0xfc05e4=this[_0xa948b6(0x453)][_0xa948b6(0x3ba)](_0xfc3026[0x0],this[_0xa948b6(0x2eb)]);if(p[_0xa948b6(0x20a)](_0xfc05e4)){const {c1Prime:_0x273f55,m2Prime:_0x380c2d}=_0xfc05e4;return this['_executeRemoteChangeset'](_0x273f55),_0x299076[0x0]['baseRev']=this[_0xa948b6(0x359)](),this[_0xa948b6(0x354)](),this[_0xa948b6(0x241)][_0xa948b6(0x2f1)](exports['AwaitingWithPendingState'],this[_0xa948b6(0x2af)],this['type'],_0x299076[0x0],_0x380c2d,this[_0xa948b6(0x2f8)],void 0x0);}throw _0xfc05e4[_0xa948b6(0x451)];}throw _0x5617ca[_0xa948b6(0x451)];}catch(_0x3fadf0){return this[_0xa948b6(0x47e)][_0xa948b6(0x451)](_0x3fadf0),this[_0xa948b6(0x3d4)](!0x1);}}[_0x285f88(0x32e)](_0x1f9e5d){var _0x271b8c=_0x285f88;if(this['_clearScheduledTask'](),this[_0x271b8c(0x3e1)](_0x1f9e5d))return this[_0x271b8c(0x241)][_0x271b8c(0x2f1)](exports[_0x271b8c(0x24e)],this[_0x271b8c(0x2af)],this[_0x271b8c(0x46c)],null,this['_pendingMutations'],this[_0x271b8c(0x1c4)],[],this[_0x271b8c(0x2f8)]);this['_incrementRevisionNumber']();const _0x2cc6bc=this[_0x271b8c(0x241)][_0x271b8c(0x2f1)](exports['PendingState'],this[_0x271b8c(0x2af)],this['type'],this[_0x271b8c(0x2eb)],this[_0x271b8c(0x2f8)]);return _0x2cc6bc['_schedule'](),_0x2cc6bc[_0x271b8c(0x4b6)](),_0x2cc6bc;}[_0x285f88(0x33b)](_0x5ab6f1){var _0x5d2926=_0x285f88;return this[_0x5d2926(0x3d4)](!!(_0x5ab6f1!=null&&_0x5ab6f1[_0x5d2926(0x1e9)]));}[_0x285f88(0x238)](_0x3008c2){var _0x37ccb4=_0x285f88;return this['_resendTimeout']>Rt?this[_0x37ccb4(0x2b0)]():(this[_0x37ccb4(0x291)]=bt(this['_resendTimeout'],{'timeout':this[_0x37ccb4(0x2c8)],'reqId':_0x3008c2[_0x37ccb4(0x20e)]}),this[_0x37ccb4(0x1cc)]=this[_0x37ccb4(0x291)][_0x37ccb4(0x2d8)](({reqId:_0x1c9456,timeout:_0x45a7f3})=>{var _0x1447a5=_0x37ccb4;this[_0x1447a5(0x4ac)](_0x1c9456,_0x45a7f3);}),this);}[_0x285f88(0x2b0)](){var _0x21a71d=_0x285f88;return this[_0x21a71d(0x354)](),this[_0x21a71d(0x241)][_0x21a71d(0x2f1)](exports['OfflineState'],this[_0x21a71d(0x2af)],this[_0x21a71d(0x46c)],this[_0x21a71d(0x1c4)],this[_0x21a71d(0x2eb)],this[_0x21a71d(0x2f8)]);}[_0x285f88(0x1bc)](){return this;}[_0x285f88(0x213)](){var _0x1ac122=_0x285f88;this[_0x1ac122(0x2f8)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x285f88(0x3d4)](_0x109f9b){var _0x469cab=_0x285f88;return this[_0x469cab(0x354)](),this[_0x469cab(0x241)][_0x469cab(0x2f1)](exports[_0x469cab(0x3f9)],this[_0x469cab(0x2af)],this['type'],null,this[_0x469cab(0x2eb)],this[_0x469cab(0x2f8)],_0x109f9b);}[_0x285f88(0x4ac)](_0x38d0cf,_0x17fbc0){var _0x50bb55=_0x285f88,_0x5a95be;_0x38d0cf===((_0x5a95be=this['_awaitingChangeset'])==null?void 0x0:_0x5a95be['reqId'])&&(this[_0x50bb55(0x213)](),this[_0x50bb55(0x2c8)]=_0x17fbc0===0x0?0x3e8:_0x17fbc0*0x2);}['_clearScheduledTask'](){var _0x52c197=_0x285f88,_0x23f2a0;(_0x23f2a0=this[_0x52c197(0x1cc)])==null||_0x23f2a0[_0x52c197(0x409)](),this['_resendTimeout']=0x0;}},exports[_0x285f88(0x35c)]=ae([L(0x6,a[_0x285f88(0x449)](a[_0x285f88(0x2f2)])),L(0x7,a[_0x285f88(0x449)](p['RevisionService'])),L(0x8,a[_0x285f88(0x295)]),L(0x9,a[_0x285f88(0x160)]),L(0xa,p[_0x285f88(0x293)]),L(0xb,a[_0x285f88(0x188)]),L(0xc,a[_0x285f88(0x203)](q))],exports[_0x285f88(0x35c)]),exports[_0x285f88(0x3f9)]=class extends ce{constructor(_0x40e340,_0x4a07b4,_0x31ee96,_0x19bfd4,_0x476400,_0x152508=!0x1,_0xd04ee2,_0x5d1e47,_0x4db462,_0x350e21,_0x418d7f,_0xa47cc7,_0x403486){var _0x5d2af1=_0x285f88;super(_0x40e340,_0x4a07b4,_0x31ee96,_0x19bfd4,_0x476400,_0x5d1e47,_0x4db462,_0x350e21,_0x403486),A(this,_0x5d2af1(0x1cd),_0x5d2af1(0x44a)),(this[_0x5d2af1(0x49c)]=_0x152508,this[_0x5d2af1(0x2f0)]=_0xd04ee2,this[_0x5d2af1(0x345)]=_0x418d7f,this[_0x5d2af1(0x351)]=_0xa47cc7,this['localCacheService']=_0x403486,this[_0x5d2af1(0x369)](),this[_0x5d2af1(0x41d)](),this[_0x5d2af1(0x161)]());}[_0x285f88(0x2a1)](){return this;}[_0x285f88(0x2ae)](){return this;}[_0x285f88(0x32e)](){return this;}[_0x285f88(0x33b)](){return this;}[_0x285f88(0x238)](){return this;}[_0x285f88(0x2b0)](){return this;}[_0x285f88(0x1bc)](){return this;}[_0x285f88(0x213)](){var _0x2a865f=_0x285f88;throw new Error(_0x2a865f(0x37d));}[_0x285f88(0x41d)](){var _0xa93c98=_0x285f88,_0x107d0e;(_0x107d0e=this[_0xa93c98(0x1c5)])==null||_0x107d0e[_0xa93c98(0x197)](this[_0xa93c98(0x2af)],this[_0xa93c98(0x46c)],null,[]);}[_0x285f88(0x369)](){var _0x5641a3=_0x285f88;this['_isPermissionRej']?this[_0x5641a3(0x351)][_0x5641a3(0x46d)]({'id':Z[_0x5641a3(0x426)]}):this[_0x5641a3(0x351)][_0x5641a3(0x46d)]({'id':Z[_0x5641a3(0x43f)]});}[_0x285f88(0x161)](){var _0x1e3501=_0x285f88;this['_permissionService'][_0x1e3501(0x16b)](new X[(_0x1e3501(0x272))](this[_0x1e3501(0x2af)])['id'],!0x1);}},exports[_0x285f88(0x3f9)]=ae([L(0x6,a[_0x285f88(0x449)](a[_0x285f88(0x4ad)])),L(0x7,a[_0x285f88(0x295)]),L(0x8,a['IUndoRedoService']),L(0x9,a[_0x285f88(0x449)](p[_0x285f88(0x43b)])),L(0xa,a['Inject'](a[_0x285f88(0x170)])),L(0xb,a[_0x285f88(0x449)](ee)),L(0xc,a[_0x285f88(0x203)](q))],exports['ConflictState']),exports['OfflineState']=class extends ce{constructor(_0x42e95c,_0x52d01b,_0x18a368,_0x5bd39d,_0x29d95f,_0x8c5fe0,_0x415c62,_0x3690a1,_0x505fb8,_0x65ac01){var _0x3febe0=_0x285f88;super(_0x42e95c,_0x52d01b,_0x18a368,_0x5bd39d,_0x29d95f,_0x3690a1,_0x505fb8,_0x415c62,_0x65ac01),A(this,_0x3febe0(0x1cd),'offline'),this[_0x3febe0(0x241)]=_0x8c5fe0;}[_0x285f88(0x2a1)](_0x32b689){var _0x139674=_0x285f88;return this[_0x139674(0x2eb)][_0x139674(0x19b)](_0x32b689),this[_0x139674(0x4b6)](),this;}[_0x285f88(0x2ae)](_0x18b981){var _0x3c0368=_0x285f88;throw new Error(_0x3c0368(0x470));}[_0x285f88(0x32e)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x285f88(0x33b)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x285f88(0x238)](){return this;}[_0x285f88(0x2b0)](){return this;}[_0x285f88(0x1bc)](){var _0x14b6ee=_0x285f88;const {_injector:_0x22b769,_pendingMutations:_0x5a12bc,_awaitingChangeset:_0x2046c1,unitID:_0x3f0ffd,_handler:_0xbd8a6a,type:_0x48d9f3}=this,_0x5d77b7=Ot(_0x22b769,_0x3f0ffd,_0x48d9f3,_0x2046c1,_0x5a12bc,_0xbd8a6a);return _0x5d77b7 instanceof exports[_0x14b6ee(0x278)]?_0x5d77b7[_0x14b6ee(0x41f)]():(_0x5d77b7 instanceof exports[_0x14b6ee(0x35c)]||_0x5d77b7 instanceof exports['AwaitingState'])&&_0x5d77b7[_0x14b6ee(0x213)](),_0x5d77b7;}[_0x285f88(0x213)](){var _0xefe0d0=_0x285f88;throw new Error(_0xefe0d0(0x372));}},exports[_0x285f88(0x30d)]=ae([L(0x5,a[_0x285f88(0x449)](a[_0x285f88(0x2f2)])),L(0x6,a[_0x285f88(0x449)](p[_0x285f88(0x43b)])),L(0x7,a[_0x285f88(0x295)]),L(0x8,a[_0x285f88(0x188)]),L(0x9,a[_0x285f88(0x203)](q))],exports['OfflineState']),exports[_0x285f88(0x24e)]=class extends ce{constructor(_0x390dbb,_0x24eef4,_0x194b81,_0x53c048,_0x3cbd2e,_0xab3c17,_0x131cee,_0x27063c,_0x27e3de,_0x44c828,_0x47cbd9,_0x57127f,_0x1b3e9e,_0xd16542){var _0x304a24=_0x285f88;super(_0x390dbb,_0x24eef4,_0x194b81,_0x53c048,_0x131cee,_0x47cbd9,_0x57127f,_0x27e3de,_0xd16542),A(this,'status','fetch_missing'),(this[_0x304a24(0x3e6)]=_0x3cbd2e,this[_0x304a24(0x40d)]=_0xab3c17,this[_0x304a24(0x241)]=_0x27063c,this[_0x304a24(0x47e)]=_0x44c828,this[_0x304a24(0x453)]=_0x1b3e9e,this[_0x304a24(0x3a2)]=_0xd16542);}[_0x285f88(0x23e)](_0x4ef093){var _0x1e8f02=_0x285f88;try{const _0x398a9=[..._0x4ef093,...this[_0x1e8f02(0x40d)]],_0x454945=[this[_0x1e8f02(0x1c4)]||this['_acknowledgedAwaitingChangeset']][_0x1e8f02(0x331)](_0x527fcb=>!!_0x527fcb);let _0x6fabd0,_0x13064b;if(_0x454945['length']){const _0x4d5f09=this[_0x1e8f02(0x453)][_0x1e8f02(0x1ba)](_0x398a9,_0x454945,!0x1);if(!p[_0x1e8f02(0x289)](_0x4d5f09))throw _0x4d5f09[_0x1e8f02(0x451)];_0x6fabd0=_0x4d5f09[_0x1e8f02(0x427)],_0x13064b=_0x4d5f09[_0x1e8f02(0x194)];}else _0x6fabd0=_0x398a9,_0x13064b=[];let _0x29bf0c=this[_0x1e8f02(0x2eb)];_0x6fabd0[_0x1e8f02(0x3d3)](_0x217dfe=>{var _0x508700=_0x1e8f02;let _0x4a0ea7;if(_0x29bf0c[_0x508700(0x32b)]){const _0x4da0ef=this[_0x508700(0x453)][_0x508700(0x3ba)](_0x217dfe,_0x29bf0c);if(!p[_0x508700(0x20a)](_0x4da0ef))throw _0x4da0ef[_0x508700(0x451)];_0x4a0ea7=_0x4da0ef[_0x508700(0x427)],_0x29bf0c=_0x4da0ef[_0x508700(0x429)];}else _0x4a0ea7=_0x217dfe;this[_0x508700(0x2fc)](_0x4a0ea7);}),this[_0x1e8f02(0x3e6)]&&this[_0x1e8f02(0x456)](),this[_0x1e8f02(0x1c4)]&&_0x13064b[_0x1e8f02(0x32b)]&&(_0x13064b[0x0][_0x1e8f02(0x3be)]=this['_getCurrentRevision']());let _0xadbe97;if(this[_0x1e8f02(0x1c4)]&&_0x29bf0c[_0x1e8f02(0x32b)]!==0x0)_0xadbe97=this[_0x1e8f02(0x241)]['createInstance'](exports[_0x1e8f02(0x35c)],this[_0x1e8f02(0x2af)],this['type'],_0x13064b[0x0],_0x29bf0c,this[_0x1e8f02(0x2f8)],void 0x0);else{if(this[_0x1e8f02(0x1c4)]&&_0x29bf0c['length']===0x0)_0x13064b[0x0][_0x1e8f02(0x3be)]=this[_0x1e8f02(0x359)](),_0xadbe97=this['_injector'][_0x1e8f02(0x2f1)](exports[_0x1e8f02(0x26e)],this[_0x1e8f02(0x2af)],this[_0x1e8f02(0x46c)],_0x13064b[0x0],this[_0x1e8f02(0x2f8)]);else{if(_0x29bf0c['length']!==0x0){const _0xae56bb=this['_injector'][_0x1e8f02(0x2f1)](exports[_0x1e8f02(0x278)],this[_0x1e8f02(0x2af)],this[_0x1e8f02(0x46c)],_0x29bf0c,this[_0x1e8f02(0x2f8)]);_0xae56bb[_0x1e8f02(0x41f)](),_0xadbe97=_0xae56bb;}else _0xadbe97=this[_0x1e8f02(0x241)]['createInstance'](exports[_0x1e8f02(0x22f)],this['unitID'],this['type'],this['_handler']);}}return _0xadbe97['_updateLocalCache'](),_0xadbe97;}catch(_0xe77262){return this[_0x1e8f02(0x47e)][_0x1e8f02(0x451)](_0x1e8f02(0x1a6),'failed\x20to\x20apply\x20missed\x20changesets!',_0xe77262),this[_0x1e8f02(0x241)][_0x1e8f02(0x2f1)](exports[_0x1e8f02(0x3f9)],this[_0x1e8f02(0x2af)],this['type'],this[_0x1e8f02(0x1c4)],this[_0x1e8f02(0x2eb)],this['_handler'],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}['appendMutation'](_0x393c9e){var _0x3dc9b0=_0x285f88;return this[_0x3dc9b0(0x2eb)][_0x3dc9b0(0x19b)](_0x393c9e),this;}[_0x285f88(0x2ae)](_0x17007c){var _0x2850e6=_0x285f88;return this['_queuedRemoteChangesets'][_0x2850e6(0x19b)](_0x17007c),this;}[_0x285f88(0x32e)](_0x293d84){var _0x1b02fa=_0x285f88;if(this[_0x1b02fa(0x1c4)])return this[_0x1b02fa(0x3e6)]=this[_0x1b02fa(0x1c4)],this[_0x1b02fa(0x1c4)]=null,this;throw new Error(_0x1b02fa(0x49e));}[_0x285f88(0x33b)](_0x53f20b){return this['_onConflict'](!!(_0x53f20b!=null&&_0x53f20b['isPermissionRej']));}[_0x285f88(0x238)](){return this;}[_0x285f88(0x2b0)](){var _0x1079d6=_0x285f88;return this['_injector'][_0x1079d6(0x2f1)](exports[_0x1079d6(0x30d)],this[_0x1079d6(0x2af)],this[_0x1079d6(0x46c)],this[_0x1079d6(0x1c4)],this['_pendingMutations'],this['_handler']);}[_0x285f88(0x1bc)](){return this;}[_0x285f88(0x3d4)](_0x4d5a22){var _0x920a4f=_0x285f88;return this['_injector'][_0x920a4f(0x2f1)](exports['ConflictState'],this[_0x920a4f(0x2af)],this['type'],this[_0x920a4f(0x1c4)],this['_pendingMutations'],this['_handler'],_0x4d5a22);}},exports[_0x285f88(0x24e)]=ae([L(0x7,a[_0x285f88(0x449)](a[_0x285f88(0x2f2)])),L(0x8,a[_0x285f88(0x449)](p['RevisionService'])),L(0x9,a[_0x285f88(0x160)]),L(0xa,a[_0x285f88(0x295)]),L(0xb,a['IUndoRedoService']),L(0xc,p[_0x285f88(0x293)]),L(0xd,a[_0x285f88(0x203)](q))],exports[_0x285f88(0x24e)]);function Ot(_0x46dd8a,_0x12ca0f,_0x1994a5,_0x4528e4,_0x30d30f,_0x197109){var _0x34e117=_0x285f88;return _0x4528e4&&_0x30d30f[_0x34e117(0x32b)]?_0x46dd8a[_0x34e117(0x2f1)](exports['AwaitingWithPendingState'],_0x12ca0f,_0x1994a5,_0x4528e4,_0x30d30f,_0x197109,void 0x0):_0x4528e4?_0x46dd8a[_0x34e117(0x2f1)](exports[_0x34e117(0x26e)],_0x12ca0f,_0x1994a5,_0x4528e4,_0x197109):_0x30d30f['length']?_0x46dd8a[_0x34e117(0x2f1)](exports[_0x34e117(0x278)],_0x12ca0f,_0x1994a5,_0x30d30f,_0x197109):_0x46dd8a[_0x34e117(0x2f1)](exports['SyncedState'],_0x12ca0f,_0x1994a5,_0x197109);}var vi=Object[_0x285f88(0x166)],Fe=(_0x2dbe43,_0x2f7d93,_0x37a7d2,_0x19a886)=>{var _0x260013=_0x285f88;for(var _0x3981b9=_0x19a886>0x1?void 0x0:_0x19a886?vi(_0x2f7d93,_0x37a7d2):_0x2f7d93,_0x168312=_0x2dbe43[_0x260013(0x32b)]-0x1,_0x547641;_0x168312>=0x0;_0x168312--)(_0x547641=_0x2dbe43[_0x168312])&&(_0x3981b9=_0x547641(_0x3981b9)||_0x3981b9);return _0x3981b9;},j=(_0x1b4b9f,_0x3cb18e)=>(_0x346ce8,_0x561e94)=>_0x3cb18e(_0x346ce8,_0x561e94,_0x1b4b9f);exports[_0x285f88(0x316)]=class extends a['RxDisposable']{constructor(_0x56f53a,_0x224a25,_0x713914,_0x1b6360,_0x28e478,_0x3612d9,_0x5104dd,_0x3261a4,_0x4ffbac,_0x2e4199,_0x4e0f6a,_0x384a01,_0x18f3bd){var _0x58074d=_0x285f88;super(),A(this,'_state$',new $['BehaviorSubject'](null)),A(this,_0x58074d(0x294),this['_state$'][_0x58074d(0x3c9)]()),A(this,'_state'),A(this,_0x58074d(0x1ac),!0x1),A(this,_0x58074d(0x2cc),''),A(this,'_changesetReqId',0x0),A(this,'status$',this[_0x58074d(0x294)][_0x58074d(0x41e)]($[_0x58074d(0x476)](_0x56d8c1=>_0x56d8c1?_0x56d8c1[_0x58074d(0x1cd)]:Be[_0x58074d(0x2ad)]),$[_0x58074d(0x413)](0x1))),A(this,_0x58074d(0x20c),!0x1),A(this,_0x58074d(0x44b),[]),(this['unitID']=_0x56f53a,this[_0x58074d(0x21d)]=_0x224a25,this[_0x58074d(0x1f9)]=_0x713914,this[_0x58074d(0x241)]=_0x1b6360,this[_0x58074d(0x46a)]=_0x28e478,this['_localeService']=_0x3612d9,this['_revisionService']=_0x5104dd,this[_0x58074d(0x254)]=_0x3261a4,this[_0x58074d(0x47e)]=_0x4ffbac,this[_0x58074d(0x4bb)]=_0x2e4199,this[_0x58074d(0x2f0)]=_0x4e0f6a,this[_0x58074d(0x458)]=_0x384a01,this['_localCacheService']=_0x18f3bd);}get[_0x285f88(0x4b3)](){var _0x23b726=_0x285f88;return this[_0x23b726(0x430)];}async[_0x285f88(0x3cb)](){var _0x1e7f2a=_0x285f88;if(this[_0x1e7f2a(0x4b3)])throw new Error(_0x1e7f2a(0x280));await this['_init']();}[_0x285f88(0x2e3)](){var _0x35ce59=_0x285f88;return this[_0x35ce59(0x1ac)]=!0x0,a['toDisposable'](()=>{var _0x1160cb=_0x35ce59;this['_collaborationPaused']=!0x1,this[_0x1160cb(0x2da)]();});}[_0x285f88(0x2df)](_0x1b7c92){this['_onLocalMutation'](_0x1b7c92);}[_0x285f88(0x171)](_0x33e6ba){var _0x2c0f86=_0x285f88;this['_state']=_0x33e6ba,this[_0x2c0f86(0x2fe)][_0x2c0f86(0x464)](_0x33e6ba);}async[_0x285f88(0x1ab)](){var _0x407612=_0x285f88,_0x27ecfb;this['_updateState'](await this['_createInitialState']()),this[_0x407612(0x458)]&&((_0x27ecfb=this[_0x407612(0x458)])==null||_0x27ecfb[_0x407612(0x1bf)](this['unitID']),this[_0x407612(0x217)](this[_0x407612(0x458)][_0x407612(0x332)](this[_0x407612(0x2af)])[_0x407612(0x2d8)](_0x5d9a08=>{var _0x4f7484=_0x407612;this[_0x4f7484(0x47e)][_0x4f7484(0x3b2)](_0x4f7484(0x2ff),_0x4f7484(0x33e),_0x5d9a08),_0x5d9a08===je[_0x4f7484(0x3a8)]?(this[_0x4f7484(0x254)][_0x4f7484(0x46d)]({'id':Z['OTHER_CLIENT_EDITING']}),this[_0x4f7484(0x2f0)][_0x4f7484(0x16b)](new X['WorkbookEditablePermission'](this[_0x4f7484(0x2af)])['id'],!0x1),this[_0x4f7484(0x2f0)]['setShowComponents'](!0x1)):(this[_0x4f7484(0x2f0)][_0x4f7484(0x16b)](new X['WorkbookEditablePermission'](this['unitID'])['id'],!0x0),this[_0x4f7484(0x2f0)][_0x4f7484(0x443)](!0x0));})));let _0x525bda=!0x1;return this[_0x407612(0x217)](this[_0x407612(0x21d)][_0x407612(0x1b3)][_0x407612(0x2d8)](_0x4938e7=>{var _0x3aa5df=_0x407612;_0x4938e7===re['ONLINE']?this['_toggleOnline'](_0x525bda):_0x4938e7===re[_0x3aa5df(0x2ad)]&&(_0x525bda=!0x0,this['_toggleOffline']());})),this['disposeWithMe'](this['session']['event$'][_0x407612(0x2d8)](_0x4a82d1=>{var _0x1a99dc=_0x407612;try{switch(_0x4a82d1[_0x1a99dc(0x2e1)]){case p[_0x1a99dc(0x1ad)][_0x1a99dc(0x29b)]:{this[_0x1a99dc(0x398)](p['parseProtocolChangeset'](_0x4a82d1[_0x1a99dc(0x2cd)]));break;}case p[_0x1a99dc(0x1ad)][_0x1a99dc(0x1d8)]:{this[_0x1a99dc(0x421)](_0x4a82d1[_0x1a99dc(0x2cd)]);break;}case p[_0x1a99dc(0x1ad)][_0x1a99dc(0x384)]:{this[_0x1a99dc(0x229)]();break;}case p[_0x1a99dc(0x1ad)][_0x1a99dc(0x39b)]:{this[_0x1a99dc(0x1b7)](_0x4a82d1[_0x1a99dc(0x2cd)]);break;}case p[_0x1a99dc(0x1ad)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x1a99dc(0x1aa)](_0x4a82d1[_0x1a99dc(0x2cd)][_0x1a99dc(0x379)][_0x1a99dc(0x476)](_0x3e1e1c=>p[_0x1a99dc(0x2bc)](_0x3e1e1c)));break;}case p[_0x1a99dc(0x1ad)][_0x1a99dc(0x2f5)]:{this[_0x1a99dc(0x229)]({'isPermissionRej':!0x0});break;}case p[_0x1a99dc(0x1ad)]['UNISCRIPT_RUN']:break;}}catch(_0x48d027){throw console[_0x1a99dc(0x451)](_0x1a99dc(0x36c),_0x48d027),_0x48d027;}})),this['_state'];}[_0x285f88(0x17f)](){var _0x26cdf8=_0x285f88;this[_0x26cdf8(0x20c)]=!0x1;}[_0x285f88(0x318)](){var _0x1f69a4=_0x285f88;if(this[_0x1f69a4(0x20c)])throw new Error(_0x1f69a4(0x469));this[_0x1f69a4(0x20c)]=!0x0;}['_onLocalMutation'](_0x2b6152){var _0x3c6e47=_0x285f88;this[_0x3c6e47(0x318)](),this[_0x3c6e47(0x171)](this['_state'][_0x3c6e47(0x2a1)](_0x2b6152)),this[_0x3c6e47(0x17f)]();}[_0x285f88(0x398)](_0x49ff81){var _0x19e1b6=_0x285f88;if(!(_0x49ff81[_0x19e1b6(0x228)]<=this[_0x19e1b6(0x39d)][_0x19e1b6(0x156)](this[_0x19e1b6(0x2af)]))){if(this['_collaborationPaused']){this[_0x19e1b6(0x44b)][_0x19e1b6(0x19b)](_0x49ff81);return;}this[_0x19e1b6(0x362)](_0x49ff81);}}['_exhaustRemoteChangesetQueue'](){var _0x5730b1=_0x285f88;this[_0x5730b1(0x44b)]['forEach'](_0x4b5fff=>this[_0x5730b1(0x362)](_0x4b5fff)),this['_remoteChangesetQueue']=[];}[_0x285f88(0x362)](_0x368eba){var _0x15e564=_0x285f88;const _0x12d382=this[_0x15e564(0x46a)][_0x15e564(0x168)][_0x15e564(0x1ea)](this['_compressMutationService'][_0x15e564(0x168)][_0x15e564(0x2d0)]()[_0x15e564(0x42a)])(_0x368eba[_0x15e564(0x1b9)],null)||_0x368eba[_0x15e564(0x1b9)],_0x3113b7={..._0x368eba,'mutations':_0x12d382};this[_0x15e564(0x318)](),this[_0x15e564(0x171)](this[_0x15e564(0x430)]['onRemoteChangeset'](_0x3113b7)),this[_0x15e564(0x17f)]();}[_0x285f88(0x421)](_0xcb735a){var _0x2e9b9e=_0x285f88;this['_lockTransition'](),this[_0x2e9b9e(0x171)](this[_0x2e9b9e(0x430)][_0x2e9b9e(0x32e)](_0xcb735a)),this[_0x2e9b9e(0x17f)]();}[_0x285f88(0x229)](_0x3f5db5){var _0x42ae8f=_0x285f88;this[_0x42ae8f(0x318)](),this['_updateState'](this['_state'][_0x42ae8f(0x33b)](_0x3f5db5)),this[_0x42ae8f(0x17f)]();}[_0x285f88(0x1b7)](_0x4ce6cb){var _0x2cc849=_0x285f88;this[_0x2cc849(0x318)](),this[_0x2cc849(0x171)](this[_0x2cc849(0x430)][_0x2cc849(0x238)](_0x4ce6cb)),this['_unlockTransition']();}[_0x285f88(0x1aa)](_0x40e9a5){var _0x37ddbe=_0x285f88;if(!(this[_0x37ddbe(0x430)]instanceof exports[_0x37ddbe(0x24e)]))throw new TypeError(_0x37ddbe(0x484));const _0x135241=_0x40e9a5[_0x37ddbe(0x476)](_0x231e0f=>{var _0x167ff4=_0x37ddbe;const _0x3ad986=this[_0x167ff4(0x46a)][_0x167ff4(0x168)][_0x167ff4(0x1ea)](this[_0x167ff4(0x46a)][_0x167ff4(0x168)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x231e0f[_0x167ff4(0x1b9)],null)||_0x231e0f['mutations'];return{..._0x231e0f,'mutations':_0x3ad986};});this[_0x37ddbe(0x318)](),this['_updateState'](this[_0x37ddbe(0x430)][_0x37ddbe(0x23e)](_0x135241)),this[_0x37ddbe(0x17f)]();}[_0x285f88(0x3e4)](){var _0x2015f6=_0x285f88;this[_0x2015f6(0x318)](),this[_0x2015f6(0x171)](this[_0x2015f6(0x430)][_0x2015f6(0x2b0)]()),this[_0x2015f6(0x17f)]();}[_0x285f88(0x407)](_0x4e1e21=!0x1){var _0x3331b2=_0x285f88;this[_0x3331b2(0x318)](),this[_0x3331b2(0x171)](this[_0x3331b2(0x430)][_0x3331b2(0x1bc)]()),this[_0x3331b2(0x17f)]();const _0x42a482=this[_0x3331b2(0x430)];_0x4e1e21&&_0x42a482 instanceof exports[_0x3331b2(0x22f)]&&(this[_0x3331b2(0x318)](),this[_0x3331b2(0x171)](_0x42a482[_0x3331b2(0x3b8)]()),this[_0x3331b2(0x17f)]());}async[_0x285f88(0x410)](){return new Promise(_0x3a86c1=>{var _0x54cc08=_0x2f99;this[_0x54cc08(0x21d)]['sessionStatus$'][_0x54cc08(0x41e)]($[_0x54cc08(0x27a)](0x1))[_0x54cc08(0x2d8)](async _0x9899e0=>{var _0x7c8d5=_0x54cc08;_0x3a86c1(await this[_0x7c8d5(0x1b5)](_0x9899e0===re[_0x7c8d5(0x472)]));});});}['_createHandler'](){var _0x4228d2=_0x285f88;const _0x1a99e2=this[_0x4228d2(0x2af)];return{'onStateChange':(_0x1d7d67,_0x45dec7)=>{var _0x3662e3=_0x4228d2;if(_0x1d7d67!==this[_0x3662e3(0x430)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x1d7d67[_0x3662e3(0x1cd)]+'\x0aAfter:\x20'+_0x45dec7['status']+_0x3662e3(0x190)+this['_state'][_0x3662e3(0x1cd)]);this[_0x3662e3(0x171)](_0x45dec7);},'onSendChangeset':_0x1508a0=>{var _0xa28885=_0x4228d2;_0x1508a0['sid']||(_0x1508a0[_0xa28885(0x3cd)]=this['_changesetSessionId'],_0x1508a0[_0xa28885(0x20e)]=++this['_changesetReqId']);const _0x32a3e4={'eventID':p[_0xa28885(0x1ad)][_0xa28885(0x2ee)],'data':{'unitID':_0x1508a0[_0xa28885(0x2af)],'unitType':this['_type'],'changeset':_0x1508a0,'memberID':this[_0xa28885(0x21d)][_0xa28885(0x39f)]()}};this[_0xa28885(0x21d)]['send'](_0x32a3e4,this[_0xa28885(0x2af)]);},'onMissingChangesets':({from:_0x2197e7,to:_0x3002ba})=>{var _0x3c8318=_0x4228d2;this['_logService'][_0x3c8318(0x3b2)](_0x3c8318(0x2ff),_0x3c8318(0x2b5)+_0x2197e7+_0x3c8318(0x3de)+_0x3002ba);const _0x1b0060={'eventID':p[_0x3c8318(0x1ad)]['FETCH_MISSING'],'data':{'unitID':_0x1a99e2,'unitType':this[_0x3c8318(0x1f9)],'from':_0x2197e7,'to':_0x3002ba}};this[_0x3c8318(0x21d)][_0x3c8318(0x2ef)](_0x1b0060,this['unitID']);}};}async[_0x285f88(0x1b5)](_0x488181){var _0x10a3c9=_0x285f88,_0x4366f2,_0x40a5c7,_0xd294d9;const _0x187739=await((_0x4366f2=this['_localCacheService'])==null?void 0x0:_0x4366f2[_0x10a3c9(0x3b7)](this[_0x10a3c9(0x2af)])),_0x40ea54=(_0x40a5c7=_0x187739==null?void 0x0:_0x187739[_0x10a3c9(0x1b9)])!=null?_0x40a5c7:[],_0x399419=(_0xd294d9=_0x187739==null?void 0x0:_0x187739[_0x10a3c9(0x1f7)])!=null?_0xd294d9:null,_0x13452c=!!(_0x399419!=null&&_0x399419[_0x10a3c9(0x3cd)])&&!!(_0x399419!=null&&_0x399419['reqId']);this[_0x10a3c9(0x2cc)]=_0x13452c?_0x399419['sid']:p[_0x10a3c9(0x1c9)](),this[_0x10a3c9(0x402)]=_0x13452c?_0x399419[_0x10a3c9(0x20e)]:0x0;const _0x2c9d27=this['unitID'];try{this[_0x10a3c9(0x2c0)](_0x399419,_0x40ea54);}catch(_0x3d3a62){this['_logService'][_0x10a3c9(0x451)](_0x3d3a62);}const _0xb1c380=this[_0x10a3c9(0x24b)]();if(_0x488181){const _0x2ee6dc=Ot(this[_0x10a3c9(0x241)],_0x2c9d27,this['_type'],_0x399419,_0x40ea54,_0xb1c380);return _0x2ee6dc instanceof exports[_0x10a3c9(0x278)]?_0x2ee6dc['_schedule']():(_0x2ee6dc instanceof exports[_0x10a3c9(0x35c)]||_0x2ee6dc instanceof exports[_0x10a3c9(0x26e)])&&_0x2ee6dc[_0x10a3c9(0x213)](),_0x2ee6dc;}return this['_injector'][_0x10a3c9(0x2f1)](exports[_0x10a3c9(0x30d)],_0x2c9d27,this[_0x10a3c9(0x1f9)],_0x399419,_0x40ea54,_0xb1c380);}[_0x285f88(0x2c0)](_0x35582e,_0x120e66){var _0x12cd48=_0x285f88,_0x29f841,_0xb9e30c;const _0x594936=this[_0x12cd48(0x46a)][_0x12cd48(0x168)][_0x12cd48(0x1ea)](this[_0x12cd48(0x46a)][_0x12cd48(0x168)][_0x12cd48(0x2d0)]()[_0x12cd48(0x42a)]);(_0x29f841=_0x594936((_0x35582e==null?void 0x0:_0x35582e[_0x12cd48(0x1b9)])||[],null))==null||_0x29f841['forEach'](_0x1f9cf9=>this[_0x12cd48(0x4bb)][_0x12cd48(0x3eb)](_0x1f9cf9['id'],_0x1f9cf9['params'])),(_0xb9e30c=_0x594936(_0x120e66||[],null))==null||_0xb9e30c['forEach'](_0x15d643=>this['_commandService'][_0x12cd48(0x3eb)](_0x15d643['id'],_0x15d643[_0x12cd48(0x468)]));}},exports[_0x285f88(0x316)]=Fe([j(0x3,a[_0x285f88(0x449)](a[_0x285f88(0x2f2)])),j(0x4,a['Inject'](p['CompressMutationService'])),j(0x5,a[_0x285f88(0x449)](a[_0x285f88(0x170)])),j(0x6,a[_0x285f88(0x449)](p[_0x285f88(0x43b)])),j(0x7,a[_0x285f88(0x449)](ee)),j(0x8,a['ILogService']),j(0x9,a[_0x285f88(0x295)]),j(0xa,a[_0x285f88(0x4ad)]),j(0xb,a['Optional'](de)),j(0xc,a[_0x285f88(0x203)](q))],exports[_0x285f88(0x316)]),exports[_0x285f88(0x1d7)]=class extends exports[_0x285f88(0x316)]{constructor(_0x5d6694,_0x3ff0a6,_0x4025c9,_0x24a157,_0x356e41,_0xe9b705,_0x37a29a,_0x41fb73,_0x38a5e6,_0x2baf9d,_0x4f428d,_0x470139,_0x39f284){var _0x589855=_0x285f88;super(_0x5d6694,_0x4025c9,_0x3ff0a6,_0x24a157,_0x356e41,_0xe9b705,_0x37a29a,_0x41fb73,_0x38a5e6,_0x2baf9d,_0x4f428d,_0x470139,_0x39f284),A(this,_0x589855(0x1f5),null),(this['unitID']=_0x5d6694,this[_0x589855(0x46c)]=_0x3ff0a6);}[_0x285f88(0x28f)](_0x2ae730){var _0x177299=_0x285f88;this[_0x177299(0x1f5)]=_0x2ae730;}[_0x285f88(0x380)](){var _0x21b851=_0x285f88;this[_0x21b851(0x1f5)]=null,super[_0x21b851(0x380)]();}[_0x285f88(0x24b)](){var _0x5e76bf=_0x285f88;const _0x284524=super[_0x5e76bf(0x24b)]();return _0x284524['onTransformIME']=_0x35537e=>{var _0x392e7b=_0x5e76bf,_0x5cb992,_0x2eb4a9;return(_0x2eb4a9=(_0x5cb992=this[_0x392e7b(0x1f5)])==null?void 0x0:_0x5cb992[_0x392e7b(0x3d9)])==null?void 0x0:_0x2eb4a9['call'](_0x5cb992,_0x35537e);},_0x284524['onTransformState']=_0x17de7c=>{var _0x2a96e9=_0x5e76bf,_0x45ea1f,_0x13d2f0;return(_0x13d2f0=(_0x45ea1f=this['_handlerCallback'])==null?void 0x0:_0x45ea1f['onTransformState'])==null?void 0x0:_0x13d2f0[_0x2a96e9(0x207)](_0x45ea1f,_0x17de7c);},_0x284524['onTransformSelections']=_0x5e9d83=>{var _0x262649=_0x5e76bf,_0x2bc75b,_0xc2041d;return(_0xc2041d=(_0x2bc75b=this[_0x262649(0x1f5)])==null?void 0x0:_0x2bc75b['onTransformSelections'])==null?void 0x0:_0xc2041d['call'](_0x2bc75b,_0x5e9d83);},_0x284524[_0x5e76bf(0x34f)]=_0x3f7d5b=>{var _0x25e589=_0x5e76bf,_0xac4516,_0xc3adaa;return(_0xc3adaa=(_0xac4516=this[_0x25e589(0x1f5)])==null?void 0x0:_0xac4516['onSyncEditingCollabCursor'])==null?void 0x0:_0xc3adaa[_0x25e589(0x207)](_0xac4516,_0x3f7d5b);},_0x284524[_0x5e76bf(0x242)]=_0x2c9400=>{var _0x47ee41=_0x5e76bf,_0x5a467c,_0x27415c,_0x158fd8;if(!((_0x5a467c=this[_0x47ee41(0x1f5)])!=null&&_0x5a467c[_0x47ee41(0x242)]))throw new Error(_0x47ee41(0x2e5));return(_0x158fd8=(_0x27415c=this[_0x47ee41(0x1f5)])==null?void 0x0:_0x27415c[_0x47ee41(0x242)])==null?void 0x0:_0x158fd8['call'](_0x27415c,_0x2c9400);},_0x284524['onTransformRemoteChangesetByStateCache']=_0x32c857=>{var _0x5b271a=_0x5e76bf,_0x18967d,_0x5b23a8,_0x524133;if(!((_0x18967d=this[_0x5b271a(0x1f5)])!=null&&_0x18967d['onTransformRemoteChangesetByStateCache']))throw new Error(_0x5b271a(0x2e7));return(_0x524133=(_0x5b23a8=this[_0x5b271a(0x1f5)])==null?void 0x0:_0x5b23a8[_0x5b271a(0x23c)])==null?void 0x0:_0x524133['call'](_0x5b23a8,_0x32c857);},_0x284524;}async['_init'](){var _0x45ed41=_0x285f88;const _0x4f6cb8=await super['_init']();return this[_0x45ed41(0x217)](this[_0x45ed41(0x4bb)][_0x45ed41(0x2d3)]((_0xfe53fe,_0x19b31f)=>{var _0xcf3483=_0x45ed41;if(_0xfe53fe[_0xcf3483(0x46c)]!==a[_0xcf3483(0x1f6)][_0xcf3483(0x155)]||_0x19b31f!=null&&_0x19b31f[_0xcf3483(0x3d5)]||_0x19b31f!=null&&_0x19b31f[_0xcf3483(0x43a)]||_0xfe53fe['id']===ht[_0xcf3483(0x35f)]['id'])return;const _0x3fb40e=_0xfe53fe[_0xcf3483(0x468)];if((_0x3fb40e==null?void 0x0:_0x3fb40e[_0xcf3483(0x21e)])!==this['unitID'])return;const _0x3f3bf7=_0xfe53fe,_0x1df5bf=this[_0xcf3483(0x46a)][_0xcf3483(0x168)]['fetchThroughInterceptors'](this[_0xcf3483(0x46a)][_0xcf3483(0x168)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x3f3bf7],null)||[_0x3f3bf7];this[_0xcf3483(0x320)](_0x1df5bf[0x0]);})),_0x4f6cb8;}},exports['DocCollaborationEntity']=Fe([j(0x3,a[_0x285f88(0x449)](a[_0x285f88(0x2f2)])),j(0x4,a[_0x285f88(0x449)](p['CompressMutationService'])),j(0x5,a[_0x285f88(0x449)](a[_0x285f88(0x170)])),j(0x6,a[_0x285f88(0x449)](p[_0x285f88(0x43b)])),j(0x7,a[_0x285f88(0x449)](ee)),j(0x8,a['ILogService']),j(0x9,a[_0x285f88(0x295)]),j(0xa,a['IPermissionService']),j(0xb,a[_0x285f88(0x203)](de)),j(0xc,a[_0x285f88(0x203)](q))],exports['DocCollaborationEntity']),exports[_0x285f88(0x2a2)]=class extends exports['CollaborationEntity']{constructor(_0x43a148,_0x580ca9,_0x355671,_0x18ea5d,_0x1f4834,_0x39e1b2,_0x15e871,_0xf16079,_0x1895ac,_0x4b1eb1,_0x107273,_0x3569e5,_0x2bbb28,_0xe844ad){var _0x1ca38b=_0x285f88;super(_0x43a148,_0x355671,_0x580ca9,_0x18ea5d,_0x1f4834,_0x39e1b2,_0x15e871,_0x1895ac,_0x4b1eb1,_0x107273,_0x3569e5,_0x2bbb28,_0xe844ad),this[_0x1ca38b(0x2af)]=_0x43a148,this[_0x1ca38b(0x46c)]=_0x580ca9,this[_0x1ca38b(0x29a)]=_0xf16079;}[_0x285f88(0x24b)](){var _0x535628=_0x285f88;const _0x509c35=super[_0x535628(0x24b)]();return _0x509c35['onTransformSelections']=_0x244bd4=>this[_0x535628(0x29a)][_0x535628(0x42c)](_0x244bd4),_0x509c35;}async[_0x285f88(0x1ab)](){var _0x2ed710=_0x285f88;const _0x24a815=await super[_0x2ed710(0x1ab)]();return this[_0x2ed710(0x217)](this[_0x2ed710(0x4bb)][_0x2ed710(0x2d3)]((_0x2cd591,_0x33c763)=>{var _0x3b1119=_0x2ed710;if(_0x2cd591[_0x3b1119(0x46c)]!==a[_0x3b1119(0x1f6)][_0x3b1119(0x155)]||_0x33c763!=null&&_0x33c763[_0x3b1119(0x3d5)]||_0x33c763!=null&&_0x33c763['onlyLocal'])return;const _0x3b5b1e=_0x2cd591[_0x3b1119(0x468)];if((_0x3b5b1e==null?void 0x0:_0x3b5b1e[_0x3b1119(0x21e)])!==this['unitID'])return;const _0x42c41f=_0x2cd591,_0x5db1d5=this[_0x3b1119(0x46a)][_0x3b1119(0x168)][_0x3b1119(0x1ea)](this[_0x3b1119(0x46a)][_0x3b1119(0x168)][_0x3b1119(0x2d0)]()[_0x3b1119(0x22a)])([_0x42c41f],null)||[_0x42c41f];this[_0x3b1119(0x320)](_0x5db1d5[0x0]);})),_0x24a815;}},exports['SheetCollaborationEntity']=Fe([j(0x3,a[_0x285f88(0x449)](a[_0x285f88(0x2f2)])),j(0x4,a[_0x285f88(0x449)](p[_0x285f88(0x29c)])),j(0x5,a[_0x285f88(0x449)](a['LocaleService'])),j(0x6,a['Inject'](p['RevisionService'])),j(0x7,a[_0x285f88(0x449)](exports['SheetTransformSelectionsService'])),j(0x8,a[_0x285f88(0x449)](ee)),j(0x9,a['ILogService']),j(0xa,a[_0x285f88(0x295)]),j(0xb,a[_0x285f88(0x4ad)]),j(0xc,a[_0x285f88(0x203)](de)),j(0xd,a[_0x285f88(0x203)](q))],exports[_0x285f88(0x2a2)]);var Si=Object[_0x285f88(0x166)],fi=(_0x537723,_0x483ae2,_0x40400d,_0x193be2)=>{var _0x23c590=_0x285f88;for(var _0x5a2595=_0x193be2>0x1?void 0x0:_0x193be2?Si(_0x483ae2,_0x40400d):_0x483ae2,_0x136436=_0x537723[_0x23c590(0x32b)]-0x1,_0x44820e;_0x136436>=0x0;_0x136436--)(_0x44820e=_0x537723[_0x136436])&&(_0x5a2595=_0x44820e(_0x5a2595)||_0x5a2595);return _0x5a2595;},Se=(_0x16c204,_0x1375bc)=>(_0xff6ecc,_0x1aeacc)=>_0x1375bc(_0xff6ecc,_0x1aeacc,_0x16c204);exports[_0x285f88(0x457)]=class extends a[_0x285f88(0x1d3)]{constructor(_0x1e65e7,_0x2e311d,_0x10ba35,_0x3d0026){var _0x5dd06f=_0x285f88,_0xd9c10b;super(),A(this,'_entities',new Map()),A(this,_0x5dd06f(0x193),new $[(_0x5dd06f(0x3c7))]()),A(this,_0x5dd06f(0x279),this[_0x5dd06f(0x193)]['asObservable']()),(this['_injector']=_0x1e65e7,this[_0x5dd06f(0x23f)]=_0x2e311d,this[_0x5dd06f(0x479)]=_0x10ba35,this[_0x5dd06f(0x393)]=_0x3d0026,((_0xd9c10b=this[_0x5dd06f(0x479)][_0x5dd06f(0x17c)](G))==null?void 0x0:_0xd9c10b['enableCollaboration'])!==!0x1&&this[_0x5dd06f(0x1ab)]());}[_0x285f88(0x380)](){var _0x14bfbd=_0x285f88;super['dispose'](),this[_0x14bfbd(0x34d)][_0x14bfbd(0x3d3)](_0x3ef905=>_0x3ef905[_0x14bfbd(0x380)]()),this[_0x14bfbd(0x34d)][_0x14bfbd(0x396)]();}[_0x285f88(0x1ce)](_0x215b69){var _0x25d80e=_0x285f88,_0x545efb;return(_0x545efb=this[_0x25d80e(0x34d)]['get'](_0x215b69))!=null?_0x545efb:null;}[_0x285f88(0x3d6)](_0x4d55fb){var _0x5c8d4b=_0x285f88;const _0x4bc011=this['getCollabEntity'](_0x4d55fb);return _0x4bc011?$['of'](_0x4bc011):this[_0x5c8d4b(0x193)][_0x5c8d4b(0x41e)](V['filter'](_0x4e2c74=>_0x4e2c74[_0x5c8d4b(0x2af)]===_0x4d55fb));}[_0x285f88(0x165)](_0x580c91){var _0x39fde7=_0x285f88;return $[_0x39fde7(0x3c2)](this['getCollabEntity$'](_0x580c91)[_0x39fde7(0x41e)](V[_0x39fde7(0x476)](()=>{})));}['_init'](){var _0xb04f3f=_0x285f88;this['_univerInstanceService']['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0xb04f3f(0x433)])[_0xb04f3f(0x41e)]($['takeUntil'](this['dispose$']),V[_0xb04f3f(0x297)](0x10))[_0xb04f3f(0x2d8)](async _0x209b79=>{var _0x5438dc=_0xb04f3f;const _0x23644f=_0x209b79['getUnitId'](),_0x5af1ed=await this['_startCollaboration'](_0x23644f,J[_0x5438dc(0x433)]);this[_0x5438dc(0x34d)]['set'](_0x23644f,_0x5af1ed);}),this['_univerInstanceService'][_0xb04f3f(0x2e8)](a[_0xb04f3f(0x227)]['UNIVER_DOC'])['pipe']($[_0xb04f3f(0x22e)](this[_0xb04f3f(0x2ea)]),V[_0xb04f3f(0x297)](0x10))[_0xb04f3f(0x41e)](V[_0xb04f3f(0x331)](_0xfa25e5=>!_0xfa25e5[_0xb04f3f(0x349)]()[_0xb04f3f(0x3bf)]('__')))[_0xb04f3f(0x2d8)](async _0x4e4a75=>{var _0x411c5b=_0xb04f3f;const _0x3269a6=_0x4e4a75[_0x411c5b(0x349)](),_0x4706f9=await this[_0x411c5b(0x1ff)](_0x3269a6,J[_0x411c5b(0x152)]);this[_0x411c5b(0x34d)][_0x411c5b(0x16d)](_0x3269a6,_0x4706f9);}),$[_0xb04f3f(0x17a)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0xb04f3f(0x433)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0xb04f3f(0x152)]))[_0xb04f3f(0x41e)]($[_0xb04f3f(0x22e)](this[_0xb04f3f(0x2ea)]))[_0xb04f3f(0x2d8)](_0x53722a=>{var _0x5d2312=_0xb04f3f;const _0x1bc696=_0x53722a[_0x5d2312(0x349)](),_0x2b0e0a=this[_0x5d2312(0x34d)][_0x5d2312(0x4aa)](_0x1bc696);_0x2b0e0a&&(_0x2b0e0a['dispose'](),this[_0x5d2312(0x34d)][_0x5d2312(0x274)](_0x1bc696));});}async['_startCollaboration'](_0x110c8f,_0x14c45f){var _0x21e54d=_0x285f88;const _0x33d218=await this[_0x21e54d(0x23f)][_0x21e54d(0x440)](_0x110c8f),_0x2c5e04=this[_0x21e54d(0x241)][_0x21e54d(0x2f1)](this[_0x21e54d(0x309)](_0x14c45f),_0x110c8f,_0x14c45f,_0x33d218);return await _0x2c5e04['init'](),this[_0x21e54d(0x193)][_0x21e54d(0x464)](_0x2c5e04),_0x2c5e04;}[_0x285f88(0x309)](_0x278595){var _0x1528bb=_0x285f88;switch(_0x278595){case J[_0x1528bb(0x152)]:return exports[_0x1528bb(0x1d7)];case J[_0x1528bb(0x433)]:return exports[_0x1528bb(0x2a2)];default:throw new Error(_0x1528bb(0x3bd)+_0x278595);}}},exports[_0x285f88(0x457)]=fi([Se(0x0,a[_0x285f88(0x449)](a[_0x285f88(0x2f2)])),Se(0x1,a['Inject'](exports[_0x285f88(0x2c1)])),Se(0x2,a['IConfigService']),Se(0x3,a['IUniverInstanceService'])],exports[_0x285f88(0x457)]);var Ii=Object[_0x285f88(0x166)],pi=(_0x4e3978,_0xda41ff,_0x1995ae,_0x56b5ce)=>{var _0x443b65=_0x285f88;for(var _0x503290=_0x56b5ce>0x1?void 0x0:_0x56b5ce?Ii(_0xda41ff,_0x1995ae):_0xda41ff,_0x3d472d=_0x4e3978[_0x443b65(0x32b)]-0x1,_0x122fe0;_0x3d472d>=0x0;_0x3d472d--)(_0x122fe0=_0x4e3978[_0x3d472d])&&(_0x503290=_0x122fe0(_0x503290)||_0x503290);return _0x503290;},Ke=(_0x333503,_0x437184)=>(_0x226c94,_0x3906a1)=>_0x437184(_0x226c94,_0x3906a1,_0x333503);const gi='DEFAULT_FILE_NAME',Ei=_0x285f88(0x30c);let xe=class extends a[_0x285f88(0x36b)]{constructor(_0x1c31e1,_0x1ae326){var _0x4c8628=_0x285f88;super(),this[_0x4c8628(0x393)]=_0x1c31e1,this[_0x4c8628(0x479)]=_0x1ae326,this['_init']();}[_0x285f88(0x1ab)](){var _0x465b2f=_0x285f88;this['disposeWithMe'](this[_0x465b2f(0x393)][_0x465b2f(0x23b)]['subscribe'](()=>{var _0x532289=_0x465b2f,_0x13db57;const _0x1ac4b0=this['_univerInstanceService'][_0x532289(0x158)]();let _0x46e8d2=(_0x13db57=this[_0x532289(0x479)][_0x532289(0x17c)](gi))!=null?_0x13db57:Ei;_0x1ac4b0 instanceof a[_0x532289(0x19e)]&&(_0x46e8d2=_0x1ac4b0['name']),document[_0x532289(0x42e)]=_0x46e8d2;}));}};xe=pi([Ke(0x0,a[_0x285f88(0x3ea)]),Ke(0x1,a[_0x285f88(0x32c)])],xe);var mi=Object['getOwnPropertyDescriptor'],Ci=(_0x5344eb,_0x1fb1fe,_0x10aa5e,_0x39f671)=>{var _0xf66458=_0x285f88;for(var _0x376013=_0x39f671>0x1?void 0x0:_0x39f671?mi(_0x1fb1fe,_0x10aa5e):_0x1fb1fe,_0x4e5e4a=_0x5344eb[_0xf66458(0x32b)]-0x1,_0x51015b;_0x4e5e4a>=0x0;_0x4e5e4a--)(_0x51015b=_0x5344eb[_0x4e5e4a])&&(_0x376013=_0x51015b(_0x376013)||_0x376013);return _0x376013;},Ae=(_0x5f01a7,_0x1106fd)=>(_0x468e13,_0x333501)=>_0x1106fd(_0x468e13,_0x333501,_0x5f01a7);let ye=class{constructor(_0x7d0a2f,_0x455d0b,_0x593963){var _0x241fb3=_0x285f88;this[_0x241fb3(0x479)]=_0x7d0a2f,this[_0x241fb3(0x3ad)]=_0x455d0b,this['localeService']=_0x593963,this[_0x241fb3(0x3cb)]();}[_0x285f88(0x3cb)](){var _0x5ae5a7=_0x285f88;this['_httpService'][_0x5ae5a7(0x175)]({'priority':0x1,'interceptor':(_0x43b5f1,_0x44b651)=>_0x44b651(_0x43b5f1)[_0x5ae5a7(0x41e)]($['concatMap'](async _0xd717e0=>{var _0xbe4999=_0x5ae5a7;const _0x243489=_0xd717e0;if(_0x243489[_0xbe4999(0x1cd)]===0x191){if(typeof window>'u')throw new Error(_0xbe4999(0x36a));if(window[_0xbe4999(0x4c2)](this[_0xbe4999(0x403)]['t'](_0xbe4999(0x3d1)))){const _0x3bfa46=window['encodeURIComponent'](window[_0xbe4999(0x330)][_0xbe4999(0x2f9)]);window[_0xbe4999(0x330)][_0xbe4999(0x2f9)]=this['_getLoginPath']()+'?url='+_0x3bfa46;}}return _0x243489;}))});}[_0x285f88(0x27e)](){var _0x5bc8b8=_0x285f88,_0x572f41,_0xc9d021;const _0xaf7b3=this[_0x5bc8b8(0x479)]['getConfig'](pt),_0x16d216=this[_0x5bc8b8(0x479)]['getConfig'](G);return(_0xc9d021=(_0x572f41=_0x16d216==null?void 0x0:_0x16d216[_0x5bc8b8(0x4a6)])!=null?_0x572f41:_0xaf7b3)!=null?_0xc9d021:Wt;}};ye=Ci([Ae(0x0,a[_0x285f88(0x32c)]),Ae(0x1,a['Inject'](K[_0x285f88(0x163)])),Ae(0x2,a['Inject'](a[_0x285f88(0x170)]))],ye);var Ti=Object[_0x285f88(0x166)],bi=(_0x44a000,_0x12d509,_0x10dc25,_0x2c1c7b)=>{var _0x48b632=_0x285f88;for(var _0x2d0e2f=_0x2c1c7b>0x1?void 0x0:_0x2c1c7b?Ti(_0x12d509,_0x10dc25):_0x12d509,_0x3aeb15=_0x44a000[_0x48b632(0x32b)]-0x1,_0x271761;_0x3aeb15>=0x0;_0x3aeb15--)(_0x271761=_0x44a000[_0x3aeb15])&&(_0x2d0e2f=_0x271761(_0x2d0e2f)||_0x2d0e2f);return _0x2d0e2f;},qe=(_0x1dbb7f,_0x4ff0eb)=>(_0x146d6f,_0x42bad8)=>_0x4ff0eb(_0x146d6f,_0x42bad8,_0x1dbb7f);const Ve=_0x285f88(0x485),Ri=_0x285f88(0x37b);exports[_0x285f88(0x236)]=class extends a[_0x285f88(0x36b)]{constructor(_0x3aa5c1,_0x22cf24){var _0x2b702b=_0x285f88;super(),this[_0x2b702b(0x3d2)]=_0x3aa5c1,this[_0x2b702b(0x479)]=_0x22cf24,this[_0x2b702b(0x3bc)]();}[_0x285f88(0x3bc)](){var _0x5a9163=_0x285f88;const _0x21b75d=this;this[_0x5a9163(0x217)](this[_0x5a9163(0x3d2)][_0x5a9163(0x175)]({'priority':0x3e7,'interceptor':K[_0x5a9163(0x312)]({'isMatch'(_0x18e917){var _0x224275=_0x5a9163,_0x3540f4;if(_0x18e917['method']===_0x224275(0x37f)&&((_0x3540f4=_0x18e917['requestParams'])!=null&&_0x3540f4[_0x224275(0x17b)])){const {objectID:_0x3fd3e2,objectType:_0x985b75}=_0x18e917[_0x224275(0x463)][_0x224275(0x17b)]||{};if(!_0x3fd3e2||_0x985b75===void 0x0)return!0x1;const _0x2fc9b6=_0x21b75d[_0x224275(0x31a)]()+'/'+_0x985b75+'/object/'+_0x3fd3e2+_0x224275(0x33f);if(_0x18e917[_0x224275(0x1cf)]===_0x2fc9b6)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x309129){var _0x21e4a6=_0x5a9163,_0x3bd8b1;return(_0x3bd8b1=_0x309129['requestParams'])==null?void 0x0:_0x3bd8b1[_0x21e4a6(0x17b)];},'mergeParamsToRequest'(_0x18c729,_0x7af30f){var _0x13ae21=_0x5a9163;const _0x486282=_0x21b75d[_0x13ae21(0x31a)]()+_0x13ae21(0x2c2),_0x3f3c49=_0x18c729['reduce']((_0x9f58b6,_0x3d05ee)=>{var _0x4b37d0=_0x13ae21;const {unitID:_0x3a787e,objectID:_0x21a0a2,objectType:_0x51e043,actions:_0x5509d9}=_0x3d05ee;return _0x9f58b6[_0x3a787e]||(_0x9f58b6[_0x3a787e]={}),_0x9f58b6[_0x3a787e][_0x21a0a2]||(_0x9f58b6[_0x3a787e][_0x21a0a2]={'objectID':_0x21a0a2,'objectType':_0x51e043,'actions':[]}),_0x9f58b6[_0x3a787e][_0x21a0a2][_0x4b37d0(0x20b)][_0x4b37d0(0x19b)](..._0x5509d9),_0x9f58b6;},{}),_0x555c93=[];for(const _0x45c85b in _0x3f3c49)for(const _0x5cb3d8 in _0x3f3c49[_0x45c85b]){const {actions:_0x2202b8,objectType:_0x14c9f8}=_0x3f3c49[_0x45c85b][_0x5cb3d8],_0x405eb5=[...new Set(_0x2202b8)];_0x555c93[_0x13ae21(0x19b)]({'unitID':_0x45c85b,'objectID':_0x5cb3d8,'objectType':_0x14c9f8,'actions':_0x405eb5});}return new K[(_0x13ae21(0x25a))](_0x13ae21(0x37f),_0x486282,{'headers':_0x7af30f['headers'],'withCredentials':_0x7af30f[_0x13ae21(0x4bc)],'responseType':_0x7af30f[_0x13ae21(0x288)],'body':{'requests':_0x555c93}});}},{'distributeResult'(_0x1d3ef7,_0xce62e6){const {objectActions:_0x3aa5b7}=_0x1d3ef7;return _0xce62e6['map'](_0x889c2b=>{var _0x426446=_0x2f99;const {unitID:_0x3adf58,objectID:_0x3ab403,actions:_0x13a608}=_0x889c2b,_0x233322=_0x3aa5b7[_0x426446(0x29e)](_0x556d3d=>_0x556d3d[_0x426446(0x2af)]===_0x3adf58&&_0x556d3d[_0x426446(0x1c6)]===_0x3ab403),_0x3403aa=_0x13a608[_0x426446(0x476)](_0x195239=>_0x233322==null?void 0x0:_0x233322[_0x426446(0x20b)][_0x426446(0x29e)](_0x3b6dd3=>_0x3b6dd3['action']===_0x195239))['filter'](_0x36823c=>!!_0x36823c);return{'config':_0x889c2b,'result':{'actions':_0x3403aa,'error':_0x1d3ef7[_0x426446(0x451)]}};});}})}));}[_0x285f88(0x31a)](){var _0x1090ca=_0x285f88,_0x398658,_0x22d692;const _0x161d13=this[_0x1090ca(0x479)][_0x1090ca(0x17c)](Ve),_0x3b4a29=this[_0x1090ca(0x479)]['getConfig'](G);return(_0x22d692=(_0x398658=_0x3b4a29==null?void 0x0:_0x3b4a29[_0x1090ca(0x47a)])!=null?_0x398658:_0x161d13)!=null?_0x22d692:Ri;}async[_0x285f88(0x4ae)](_0x1efd05){var _0x50b32b=_0x285f88;const _0x10c352=this['_getAPIPrefixPath']()+'/'+_0x1efd05['objectType']+_0x50b32b(0x4ba);return(await this[_0x50b32b(0x3d2)][_0x50b32b(0x3af)](_0x10c352,{'body':_0x1efd05}))[_0x50b32b(0x17b)][_0x50b32b(0x1c6)]||'';}async['list'](_0x2229eb){var _0x26c07d=_0x285f88;const _0x54371d=this['_getAPIPrefixPath']()+_0x26c07d(0x467);return(await this['_HTTPService'][_0x26c07d(0x3af)](_0x54371d,{'body':_0x2229eb}))[_0x26c07d(0x17b)][_0x26c07d(0x261)];}async['update'](_0xd7e99a){var _0x255e84=_0x285f88,_0x5838e1,_0x541e3b;const _0x16ba2e=this['_getAPIPrefixPath']()+'/'+_0xd7e99a[_0x255e84(0x408)]+_0x255e84(0x2ac)+_0xd7e99a[_0x255e84(0x1c6)],_0x126110=await this[_0x255e84(0x3d2)][_0x255e84(0x19c)](_0x16ba2e,{'body':_0xd7e99a});if(((_0x541e3b=(_0x5838e1=_0x126110==null?void 0x0:_0x126110[_0x255e84(0x17b)])==null?void 0x0:_0x5838e1[_0x255e84(0x451)])==null?void 0x0:_0x541e3b[_0x255e84(0x3fc)])!==0x1)throw new Error(_0x255e84(0x419));}async[_0x285f88(0x3b0)](_0x3270d5){var _0xa0dd0=_0x285f88;const _0x2ed6f8=this[_0xa0dd0(0x31a)]()+'/'+_0x3270d5['objectType']+_0xa0dd0(0x2ac)+_0x3270d5[_0xa0dd0(0x1c6)]+_0xa0dd0(0x33f);return(await this[_0xa0dd0(0x3d2)][_0xa0dd0(0x3af)](_0x2ed6f8,{'body':_0x3270d5}))[_0xa0dd0(0x17b)][_0xa0dd0(0x20b)];}async[_0x285f88(0x43e)](_0xbf0c7c){var _0x31d799=_0x285f88;const _0x2b5a6c=this[_0x31d799(0x31a)]()+_0x31d799(0x2c2);return(await this[_0x31d799(0x3d2)][_0x31d799(0x3af)](_0x2b5a6c,{'body':{'requests':_0xbf0c7c}}))['body'][_0x31d799(0x16c)];}async[_0x285f88(0x38e)](_0x299d93){var _0x21dfb5=_0x285f88;const _0x2a9251=this[_0x21dfb5(0x31a)]()+'/'+_0x299d93[_0x21dfb5(0x408)]+_0x21dfb5(0x263),_0x2a7956=await this[_0x21dfb5(0x3d2)]['post'](_0x2a9251,{'body':_0x299d93});return{'roles':_0x2a7956['body'][_0x21dfb5(0x224)],'actions':_0x2a7956['body'][_0x21dfb5(0x20b)]};}async[_0x285f88(0x20d)](_0x4efe04){var _0x45a4d9=_0x285f88;const _0x46f539=this[_0x45a4d9(0x31a)]()+_0x45a4d9(0x3f1);await this['_HTTPService'][_0x45a4d9(0x274)](_0x46f539,{'params':{'collaboratorID':_0x4efe04['collaboratorID'],'objectID':_0x4efe04[_0x45a4d9(0x1c6)],'unitID':_0x4efe04['unitID']}});}async[_0x285f88(0x251)](_0xab6b49){var _0x580326=_0x285f88;const _0x3a6469=this[_0x580326(0x31a)]()+_0x580326(0x3f1);await this[_0x580326(0x3d2)][_0x580326(0x2e9)](_0x3a6469,{'body':_0xab6b49});}async[_0x285f88(0x473)](_0x210f39){var _0x39f47a=_0x285f88;const _0x48d177=this['_getAPIPrefixPath']()+_0x39f47a(0x3f1);await this[_0x39f47a(0x3d2)]['post'](_0x48d177,{'body':_0x210f39});}async[_0x285f88(0x210)](_0x2b6dc1){var _0x3f37db=_0x285f88;const _0x37d988=this[_0x3f37db(0x31a)]()+'/collaborator';return(await this[_0x3f37db(0x3d2)]['get'](_0x37d988,{'params':{'objectID':_0x2b6dc1[_0x3f37db(0x1c6)],'unitID':_0x2b6dc1[_0x3f37db(0x2af)]}}))[_0x3f37db(0x17b)][_0x3f37db(0x34b)];}async[_0x285f88(0x3aa)](_0x57879e){var _0x27579a=_0x285f88;const _0x49fd2e=this[_0x27579a(0x31a)]()+_0x27579a(0x3f1);await this[_0x27579a(0x3d2)][_0x27579a(0x19c)](_0x49fd2e,{'body':_0x57879e});}},exports['AuthzIoHttpService']=bi([qe(0x0,a['Inject'](K[_0x285f88(0x163)])),qe(0x1,a[_0x285f88(0x449)](a[_0x285f88(0x32c)]))],exports[_0x285f88(0x236)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x42af69){var _0x5a5298=_0x285f88;return _0x42af69&&_0x42af69[_0x5a5298(0x46f)]&&Object[_0x5a5298(0x221)][_0x5a5298(0x1dd)][_0x5a5298(0x207)](_0x42af69,_0x5a5298(0x2d4))?_0x42af69[_0x5a5298(0x2d4)]:_0x42af69;}var fe={'exports':{}};function Oi(_0x5eb2a4){var _0x52a6f7=_0x285f88;throw new Error(_0x52a6f7(0x3f4)+_0x5eb2a4+_0x52a6f7(0x20f));}var Ie={'exports':{}},yi=Ie['exports'],ze;function Q(){return ze||(ze=0x1,function(_0x86ce3b,_0x56a92b){(function(_0x18f163,_0x7f46ea){var _0x4d9cb2=_0x2f99;_0x86ce3b[_0x4d9cb2(0x1e2)]=_0x7f46ea();}(yi,function(){var _0x2b780f=_0x2b780f||function(_0x460da8,_0x22144e){var _0x27be31=_0x2f99,_0x3a2edc;if(typeof window<'u'&&window[_0x27be31(0x3f7)]&&(_0x3a2edc=window[_0x27be31(0x3f7)]),typeof self<'u'&&self[_0x27be31(0x3f7)]&&(_0x3a2edc=self[_0x27be31(0x3f7)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x3a2edc=globalThis['crypto']),!_0x3a2edc&&typeof window<'u'&&window[_0x27be31(0x371)]&&(_0x3a2edc=window[_0x27be31(0x371)]),!_0x3a2edc&&typeof Pe<'u'&&Pe['crypto']&&(_0x3a2edc=Pe[_0x27be31(0x3f7)]),!_0x3a2edc&&typeof Oi=='function')try{_0x3a2edc=require('crypto');}catch{}var _0x3bd64b=function(){var _0x586bc7=_0x27be31;if(_0x3a2edc){if(typeof _0x3a2edc[_0x586bc7(0x267)]==_0x586bc7(0x151))try{return _0x3a2edc[_0x586bc7(0x267)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3a2edc['randomBytes']==_0x586bc7(0x151))try{return _0x3a2edc['randomBytes'](0x4)[_0x586bc7(0x445)]();}catch{}}throw new Error(_0x586bc7(0x4be));},_0x1485e8=Object[_0x27be31(0x4ae)]||(function(){function _0x14b85(){}return function(_0x28aeea){var _0x489599=_0x2f99,_0x16000c;return _0x14b85['prototype']=_0x28aeea,_0x16000c=new _0x14b85(),_0x14b85[_0x489599(0x221)]=null,_0x16000c;};}()),_0x4791ff={},_0x5a04d4=_0x4791ff['lib']={},_0x43f722=_0x5a04d4[_0x27be31(0x1cb)]=(function(){return{'extend':function(_0x57c92f){var _0x1ca7e6=_0x2f99,_0x38b591=_0x1485e8(this);return _0x57c92f&&_0x38b591[_0x1ca7e6(0x3dd)](_0x57c92f),(!_0x38b591['hasOwnProperty'](_0x1ca7e6(0x3cb))||this[_0x1ca7e6(0x3cb)]===_0x38b591['init'])&&(_0x38b591[_0x1ca7e6(0x3cb)]=function(){var _0x1b891c=_0x1ca7e6;_0x38b591[_0x1b891c(0x487)][_0x1b891c(0x3cb)]['apply'](this,arguments);}),_0x38b591[_0x1ca7e6(0x3cb)][_0x1ca7e6(0x221)]=_0x38b591,_0x38b591[_0x1ca7e6(0x487)]=this,_0x38b591;},'create':function(){var _0x3aced4=_0x2f99,_0x2989cb=this['extend']();return _0x2989cb[_0x3aced4(0x3cb)][_0x3aced4(0x414)](_0x2989cb,arguments),_0x2989cb;},'init':function(){},'mixIn':function(_0x36efed){var _0x4dd790=_0x2f99;for(var _0x240ed5 in _0x36efed)_0x36efed[_0x4dd790(0x1dd)](_0x240ed5)&&(this[_0x240ed5]=_0x36efed[_0x240ed5]);_0x36efed[_0x4dd790(0x1dd)]('toString')&&(this[_0x4dd790(0x496)]=_0x36efed[_0x4dd790(0x496)]);},'clone':function(){var _0x211848=_0x2f99;return this[_0x211848(0x3cb)]['prototype']['extend'](this);}};}()),_0x5eace0=_0x5a04d4[_0x27be31(0x239)]=_0x43f722[_0x27be31(0x162)]({'init':function(_0x3ce19e,_0x45e70d){var _0x5b9b19=_0x27be31;_0x3ce19e=this[_0x5b9b19(0x333)]=_0x3ce19e||[],_0x45e70d!=_0x22144e?this[_0x5b9b19(0x269)]=_0x45e70d:this[_0x5b9b19(0x269)]=_0x3ce19e[_0x5b9b19(0x32b)]*0x4;},'toString':function(_0x3b9d68){var _0x6549f4=_0x27be31;return(_0x3b9d68||_0x37ba5e)[_0x6549f4(0x437)](this);},'concat':function(_0x371247){var _0x171949=_0x27be31,_0x1b63d3=this[_0x171949(0x333)],_0x48fdbf=_0x371247[_0x171949(0x333)],_0x530ef8=this[_0x171949(0x269)],_0xa177f2=_0x371247[_0x171949(0x269)];if(this[_0x171949(0x1de)](),_0x530ef8%0x4)for(var _0x5efc5b=0x0;_0x5efc5b<_0xa177f2;_0x5efc5b++){var _0x16c6c4=_0x48fdbf[_0x5efc5b>>>0x2]>>>0x18-_0x5efc5b%0x4*0x8&0xff;_0x1b63d3[_0x530ef8+_0x5efc5b>>>0x2]|=_0x16c6c4<<0x18-(_0x530ef8+_0x5efc5b)%0x4*0x8;}else{for(var _0x5b4c21=0x0;_0x5b4c21<_0xa177f2;_0x5b4c21+=0x4)_0x1b63d3[_0x530ef8+_0x5b4c21>>>0x2]=_0x48fdbf[_0x5b4c21>>>0x2];}return this[_0x171949(0x269)]+=_0xa177f2,this;},'clamp':function(){var _0x353055=_0x27be31,_0x14d0e1=this[_0x353055(0x333)],_0x536bbd=this[_0x353055(0x269)];_0x14d0e1[_0x536bbd>>>0x2]&=0xffffffff<<0x20-_0x536bbd%0x4*0x8,_0x14d0e1['length']=_0x460da8['ceil'](_0x536bbd/0x4);},'clone':function(){var _0x5db36f=_0x27be31,_0x2fbbb5=_0x43f722[_0x5db36f(0x3c1)]['call'](this);return _0x2fbbb5['words']=this['words'][_0x5db36f(0x2b9)](0x0),_0x2fbbb5;},'random':function(_0x4dbde8){var _0x46fd8b=_0x27be31;for(var _0x546c56=[],_0x310869=0x0;_0x310869<_0x4dbde8;_0x310869+=0x4)_0x546c56[_0x46fd8b(0x19b)](_0x3bd64b());return new _0x5eace0[(_0x46fd8b(0x3cb))](_0x546c56,_0x4dbde8);}}),_0x3ee00a=_0x4791ff[_0x27be31(0x2db)]={},_0x37ba5e=_0x3ee00a[_0x27be31(0x1e5)]={'stringify':function(_0x37fa1b){var _0x19a0f9=_0x27be31;for(var _0x5415f4=_0x37fa1b['words'],_0x48a6d3=_0x37fa1b['sigBytes'],_0x54e069=[],_0xca002=0x0;_0xca002<_0x48a6d3;_0xca002++){var _0x10722a=_0x5415f4[_0xca002>>>0x2]>>>0x18-_0xca002%0x4*0x8&0xff;_0x54e069['push']((_0x10722a>>>0x4)[_0x19a0f9(0x496)](0x10)),_0x54e069['push']((_0x10722a&0xf)['toString'](0x10));}return _0x54e069[_0x19a0f9(0x36e)]('');},'parse':function(_0x3dcf0f){var _0x920882=_0x27be31;for(var _0x2e0e85=_0x3dcf0f[_0x920882(0x32b)],_0x44df86=[],_0xd0d6c9=0x0;_0xd0d6c9<_0x2e0e85;_0xd0d6c9+=0x2)_0x44df86[_0xd0d6c9>>>0x3]|=parseInt(_0x3dcf0f[_0x920882(0x260)](_0xd0d6c9,0x2),0x10)<<0x18-_0xd0d6c9%0x8*0x4;return new _0x5eace0[(_0x920882(0x3cb))](_0x44df86,_0x2e0e85/0x2);}},_0xdd3872=_0x3ee00a['Latin1']={'stringify':function(_0x2fd3a5){var _0xd3fafe=_0x27be31;for(var _0x1a4cb6=_0x2fd3a5['words'],_0x2eec38=_0x2fd3a5['sigBytes'],_0x471f04=[],_0x5f5a5b=0x0;_0x5f5a5b<_0x2eec38;_0x5f5a5b++){var _0x61b637=_0x1a4cb6[_0x5f5a5b>>>0x2]>>>0x18-_0x5f5a5b%0x4*0x8&0xff;_0x471f04[_0xd3fafe(0x19b)](String[_0xd3fafe(0x3b4)](_0x61b637));}return _0x471f04[_0xd3fafe(0x36e)]('');},'parse':function(_0x5771df){var _0x1400de=_0x27be31;for(var _0x166a18=_0x5771df[_0x1400de(0x32b)],_0x2dbe62=[],_0x1cd7d0=0x0;_0x1cd7d0<_0x166a18;_0x1cd7d0++)_0x2dbe62[_0x1cd7d0>>>0x2]|=(_0x5771df['charCodeAt'](_0x1cd7d0)&0xff)<<0x18-_0x1cd7d0%0x4*0x8;return new _0x5eace0[(_0x1400de(0x3cb))](_0x2dbe62,_0x166a18);}},_0x191e2c=_0x3ee00a['Utf8']={'stringify':function(_0x17d95c){var _0x1fb8c5=_0x27be31;try{return decodeURIComponent(escape(_0xdd3872[_0x1fb8c5(0x437)](_0x17d95c)));}catch{throw new Error(_0x1fb8c5(0x1ec));}},'parse':function(_0x4161a0){return _0xdd3872['parse'](unescape(encodeURIComponent(_0x4161a0)));}},_0x35b61b=_0x5a04d4['BufferedBlockAlgorithm']=_0x43f722['extend']({'reset':function(){var _0x25c5b7=_0x27be31;this[_0x25c5b7(0x18b)]=new _0x5eace0[(_0x25c5b7(0x3cb))](),this[_0x25c5b7(0x28b)]=0x0;},'_append':function(_0x303806){var _0x6193f6=_0x27be31;typeof _0x303806==_0x6193f6(0x1a3)&&(_0x303806=_0x191e2c[_0x6193f6(0x4b0)](_0x303806)),this[_0x6193f6(0x18b)][_0x6193f6(0x230)](_0x303806),this[_0x6193f6(0x28b)]+=_0x303806[_0x6193f6(0x269)];},'_process':function(_0x34a1e9){var _0x1bfee5=_0x27be31,_0x126a6a,_0x23f150=this[_0x1bfee5(0x18b)],_0x300d9e=_0x23f150[_0x1bfee5(0x333)],_0x5997cc=_0x23f150[_0x1bfee5(0x269)],_0x54e9cb=this[_0x1bfee5(0x33c)],_0x111099=_0x54e9cb*0x4,_0x1d4579=_0x5997cc/_0x111099;_0x34a1e9?_0x1d4579=_0x460da8[_0x1bfee5(0x34c)](_0x1d4579):_0x1d4579=_0x460da8[_0x1bfee5(0x493)]((_0x1d4579|0x0)-this[_0x1bfee5(0x167)],0x0);var _0x2ff875=_0x1d4579*_0x54e9cb,_0x583c48=_0x460da8['min'](_0x2ff875*0x4,_0x5997cc);if(_0x2ff875){for(var _0xb84e5c=0x0;_0xb84e5c<_0x2ff875;_0xb84e5c+=_0x54e9cb)this[_0x1bfee5(0x31e)](_0x300d9e,_0xb84e5c);_0x126a6a=_0x300d9e[_0x1bfee5(0x301)](0x0,_0x2ff875),_0x23f150[_0x1bfee5(0x269)]-=_0x583c48;}return new _0x5eace0[(_0x1bfee5(0x3cb))](_0x126a6a,_0x583c48);},'clone':function(){var _0x5f0b2a=_0x27be31,_0x4b8da0=_0x43f722['clone'][_0x5f0b2a(0x207)](this);return _0x4b8da0[_0x5f0b2a(0x18b)]=this[_0x5f0b2a(0x18b)][_0x5f0b2a(0x3c1)](),_0x4b8da0;},'_minBufferSize':0x0});_0x5a04d4[_0x27be31(0x209)]=_0x35b61b[_0x27be31(0x162)]({'cfg':_0x43f722[_0x27be31(0x162)](),'init':function(_0x30cd93){var _0x121254=_0x27be31;this['cfg']=this['cfg'][_0x121254(0x162)](_0x30cd93),this['reset']();},'reset':function(){var _0x340117=_0x27be31;_0x35b61b['reset']['call'](this),this[_0x340117(0x181)]();},'update':function(_0x407fc8){var _0x1f52cd=_0x27be31;return this['_append'](_0x407fc8),this[_0x1f52cd(0x38b)](),this;},'finalize':function(_0x3b4e3b){var _0x5e6805=_0x27be31;_0x3b4e3b&&this['_append'](_0x3b4e3b);var _0x39e08b=this[_0x5e6805(0x315)]();return _0x39e08b;},'blockSize':0x10,'_createHelper':function(_0x359ab8){return function(_0x37bd4c,_0x51ad29){var _0x3dfadb=_0x2f99;return new _0x359ab8[(_0x3dfadb(0x3cb))](_0x51ad29)[_0x3dfadb(0x3d0)](_0x37bd4c);};},'_createHmacHelper':function(_0x52e756){return function(_0x5356f8,_0x77630){var _0x60d45=_0x2f99;return new _0x163a24[(_0x60d45(0x1a5))]['init'](_0x52e756,_0x77630)[_0x60d45(0x3d0)](_0x5356f8);};}});var _0x163a24=_0x4791ff[_0x27be31(0x174)]={};return _0x4791ff;}(Math);return _0x2b780f;}));}(Ie)),Ie['exports'];}var pe={'exports':{}},Ni=pe['exports'],Je;function yt(){var _0x3b8ae9=_0x285f88;return Je||(Je=0x1,function(_0x34b406,_0x334cbf){(function(_0xbe36d9,_0x3241ca){var _0xea0892=_0x2f99;_0x34b406[_0xea0892(0x1e2)]=_0x3241ca(Q());}(Ni,function(_0x1dbb67){var _0x13eef9=_0x2f99;return(function(){var _0xfdc339=_0x2f99,_0x352283=_0x1dbb67,_0x5a9ae8=_0x352283[_0xfdc339(0x459)],_0x5813f6=_0x5a9ae8['WordArray'],_0x2e8523=_0x352283[_0xfdc339(0x2db)];_0x2e8523['Base64']={'stringify':function(_0x580a6b){var _0x8e23d9=_0xfdc339,_0x2d7226=_0x580a6b[_0x8e23d9(0x333)],_0x2663fe=_0x580a6b[_0x8e23d9(0x269)],_0x38369d=this[_0x8e23d9(0x36f)];_0x580a6b[_0x8e23d9(0x1de)]();for(var _0x500375=[],_0x350491=0x0;_0x350491<_0x2663fe;_0x350491+=0x3)for(var _0x2cd9e6=_0x2d7226[_0x350491>>>0x2]>>>0x18-_0x350491%0x4*0x8&0xff,_0x21095d=_0x2d7226[_0x350491+0x1>>>0x2]>>>0x18-(_0x350491+0x1)%0x4*0x8&0xff,_0x7c6fbb=_0x2d7226[_0x350491+0x2>>>0x2]>>>0x18-(_0x350491+0x2)%0x4*0x8&0xff,_0x57956e=_0x2cd9e6<<0x10|_0x21095d<<0x8|_0x7c6fbb,_0x2c2ed4=0x0;_0x2c2ed4<0x4&&_0x350491+_0x2c2ed4*0.75<_0x2663fe;_0x2c2ed4++)_0x500375[_0x8e23d9(0x19b)](_0x38369d[_0x8e23d9(0x2b4)](_0x57956e>>>0x6*(0x3-_0x2c2ed4)&0x3f));var _0x4b833e=_0x38369d['charAt'](0x40);if(_0x4b833e){for(;_0x500375['length']%0x4;)_0x500375['push'](_0x4b833e);}return _0x500375[_0x8e23d9(0x36e)]('');},'parse':function(_0x1f57f7){var _0x54a0de=_0xfdc339,_0x44d4d4=_0x1f57f7['length'],_0x4152bd=this[_0x54a0de(0x36f)],_0x1ebb94=this['_reverseMap'];if(!_0x1ebb94){_0x1ebb94=this['_reverseMap']=[];for(var _0x309f0c=0x0;_0x309f0c<_0x4152bd['length'];_0x309f0c++)_0x1ebb94[_0x4152bd[_0x54a0de(0x219)](_0x309f0c)]=_0x309f0c;}var _0xadd830=_0x4152bd[_0x54a0de(0x2b4)](0x40);if(_0xadd830){var _0x53d908=_0x1f57f7['indexOf'](_0xadd830);_0x53d908!==-0x1&&(_0x44d4d4=_0x53d908);}return _0x2e9d4d(_0x1f57f7,_0x44d4d4,_0x1ebb94);},'_map':_0xfdc339(0x361)};function _0x2e9d4d(_0x238641,_0x4f5d4e,_0x26b7dc){var _0x3a3ff2=_0xfdc339;for(var _0x32f229=[],_0xa6ebeb=0x0,_0xa98f73=0x0;_0xa98f73<_0x4f5d4e;_0xa98f73++)if(_0xa98f73%0x4){var _0x18b5b9=_0x26b7dc[_0x238641[_0x3a3ff2(0x219)](_0xa98f73-0x1)]<<_0xa98f73%0x4*0x2,_0xa57d86=_0x26b7dc[_0x238641[_0x3a3ff2(0x219)](_0xa98f73)]>>>0x6-_0xa98f73%0x4*0x2,_0x3c4b44=_0x18b5b9|_0xa57d86;_0x32f229[_0xa6ebeb>>>0x2]|=_0x3c4b44<<0x18-_0xa6ebeb%0x4*0x8,_0xa6ebeb++;}return _0x5813f6['create'](_0x32f229,_0xa6ebeb);}}()),_0x1dbb67[_0x13eef9(0x2db)][_0x13eef9(0x444)];}));}(pe)),pe[_0x3b8ae9(0x1e2)];}var ge={'exports':{}},Di=ge['exports'],Xe;function Ui(){var _0x38f351=_0x285f88;return Xe||(Xe=0x1,function(_0x42069c,_0x2eb6fe){(function(_0x12fc06,_0x4cebfe){var _0x349dde=_0x2f99;_0x42069c[_0x349dde(0x1e2)]=_0x4cebfe(Q());}(Di,function(_0x75d5e9){var _0x402a35=_0x2f99;return function(_0x1b00d8){var _0x40cdf3=_0x2f99,_0x592d02=_0x75d5e9,_0x14b9c5=_0x592d02['lib'],_0x5de20c=_0x14b9c5[_0x40cdf3(0x239)],_0x2064b7=_0x14b9c5[_0x40cdf3(0x209)],_0x4e25b1=_0x592d02[_0x40cdf3(0x174)],_0x5da1e1=[];(function(){var _0x5a6f21=_0x40cdf3;for(var _0x4a2979=0x0;_0x4a2979<0x40;_0x4a2979++)_0x5da1e1[_0x4a2979]=_0x1b00d8[_0x5a6f21(0x3e5)](_0x1b00d8[_0x5a6f21(0x30e)](_0x4a2979+0x1))*0x100000000|0x0;}());var _0x27b3b3=_0x4e25b1['MD5']=_0x2064b7[_0x40cdf3(0x162)]({'_doReset':function(){var _0x22c021=_0x40cdf3;this['_hash']=new _0x5de20c[(_0x22c021(0x3cb))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1f1f37,_0x219b99){var _0x162100=_0x40cdf3;for(var _0x4d8114=0x0;_0x4d8114<0x10;_0x4d8114++){var _0x5cbe62=_0x219b99+_0x4d8114,_0x1d8e57=_0x1f1f37[_0x5cbe62];_0x1f1f37[_0x5cbe62]=(_0x1d8e57<<0x8|_0x1d8e57>>>0x18)&0xff00ff|(_0x1d8e57<<0x18|_0x1d8e57>>>0x8)&0xff00ff00;}var _0x13bc66=this[_0x162100(0x270)][_0x162100(0x333)],_0xca008f=_0x1f1f37[_0x219b99+0x0],_0x4f6a70=_0x1f1f37[_0x219b99+0x1],_0x1c5932=_0x1f1f37[_0x219b99+0x2],_0x505094=_0x1f1f37[_0x219b99+0x3],_0x1ca2e9=_0x1f1f37[_0x219b99+0x4],_0x4b29aa=_0x1f1f37[_0x219b99+0x5],_0x3ee75d=_0x1f1f37[_0x219b99+0x6],_0x593ea3=_0x1f1f37[_0x219b99+0x7],_0x3145d1=_0x1f1f37[_0x219b99+0x8],_0x2ddd82=_0x1f1f37[_0x219b99+0x9],_0x1f1039=_0x1f1f37[_0x219b99+0xa],_0x3a1397=_0x1f1f37[_0x219b99+0xb],_0x29edae=_0x1f1f37[_0x219b99+0xc],_0x1e0600=_0x1f1f37[_0x219b99+0xd],_0x3df306=_0x1f1f37[_0x219b99+0xe],_0x5ef68d=_0x1f1f37[_0x219b99+0xf],_0x96aed8=_0x13bc66[0x0],_0x488c3e=_0x13bc66[0x1],_0x20bdef=_0x13bc66[0x2],_0x27dba8=_0x13bc66[0x3];_0x96aed8=_0x1dc3a9(_0x96aed8,_0x488c3e,_0x20bdef,_0x27dba8,_0xca008f,0x7,_0x5da1e1[0x0]),_0x27dba8=_0x1dc3a9(_0x27dba8,_0x96aed8,_0x488c3e,_0x20bdef,_0x4f6a70,0xc,_0x5da1e1[0x1]),_0x20bdef=_0x1dc3a9(_0x20bdef,_0x27dba8,_0x96aed8,_0x488c3e,_0x1c5932,0x11,_0x5da1e1[0x2]),_0x488c3e=_0x1dc3a9(_0x488c3e,_0x20bdef,_0x27dba8,_0x96aed8,_0x505094,0x16,_0x5da1e1[0x3]),_0x96aed8=_0x1dc3a9(_0x96aed8,_0x488c3e,_0x20bdef,_0x27dba8,_0x1ca2e9,0x7,_0x5da1e1[0x4]),_0x27dba8=_0x1dc3a9(_0x27dba8,_0x96aed8,_0x488c3e,_0x20bdef,_0x4b29aa,0xc,_0x5da1e1[0x5]),_0x20bdef=_0x1dc3a9(_0x20bdef,_0x27dba8,_0x96aed8,_0x488c3e,_0x3ee75d,0x11,_0x5da1e1[0x6]),_0x488c3e=_0x1dc3a9(_0x488c3e,_0x20bdef,_0x27dba8,_0x96aed8,_0x593ea3,0x16,_0x5da1e1[0x7]),_0x96aed8=_0x1dc3a9(_0x96aed8,_0x488c3e,_0x20bdef,_0x27dba8,_0x3145d1,0x7,_0x5da1e1[0x8]),_0x27dba8=_0x1dc3a9(_0x27dba8,_0x96aed8,_0x488c3e,_0x20bdef,_0x2ddd82,0xc,_0x5da1e1[0x9]),_0x20bdef=_0x1dc3a9(_0x20bdef,_0x27dba8,_0x96aed8,_0x488c3e,_0x1f1039,0x11,_0x5da1e1[0xa]),_0x488c3e=_0x1dc3a9(_0x488c3e,_0x20bdef,_0x27dba8,_0x96aed8,_0x3a1397,0x16,_0x5da1e1[0xb]),_0x96aed8=_0x1dc3a9(_0x96aed8,_0x488c3e,_0x20bdef,_0x27dba8,_0x29edae,0x7,_0x5da1e1[0xc]),_0x27dba8=_0x1dc3a9(_0x27dba8,_0x96aed8,_0x488c3e,_0x20bdef,_0x1e0600,0xc,_0x5da1e1[0xd]),_0x20bdef=_0x1dc3a9(_0x20bdef,_0x27dba8,_0x96aed8,_0x488c3e,_0x3df306,0x11,_0x5da1e1[0xe]),_0x488c3e=_0x1dc3a9(_0x488c3e,_0x20bdef,_0x27dba8,_0x96aed8,_0x5ef68d,0x16,_0x5da1e1[0xf]),_0x96aed8=_0x31359e(_0x96aed8,_0x488c3e,_0x20bdef,_0x27dba8,_0x4f6a70,0x5,_0x5da1e1[0x10]),_0x27dba8=_0x31359e(_0x27dba8,_0x96aed8,_0x488c3e,_0x20bdef,_0x3ee75d,0x9,_0x5da1e1[0x11]),_0x20bdef=_0x31359e(_0x20bdef,_0x27dba8,_0x96aed8,_0x488c3e,_0x3a1397,0xe,_0x5da1e1[0x12]),_0x488c3e=_0x31359e(_0x488c3e,_0x20bdef,_0x27dba8,_0x96aed8,_0xca008f,0x14,_0x5da1e1[0x13]),_0x96aed8=_0x31359e(_0x96aed8,_0x488c3e,_0x20bdef,_0x27dba8,_0x4b29aa,0x5,_0x5da1e1[0x14]),_0x27dba8=_0x31359e(_0x27dba8,_0x96aed8,_0x488c3e,_0x20bdef,_0x1f1039,0x9,_0x5da1e1[0x15]),_0x20bdef=_0x31359e(_0x20bdef,_0x27dba8,_0x96aed8,_0x488c3e,_0x5ef68d,0xe,_0x5da1e1[0x16]),_0x488c3e=_0x31359e(_0x488c3e,_0x20bdef,_0x27dba8,_0x96aed8,_0x1ca2e9,0x14,_0x5da1e1[0x17]),_0x96aed8=_0x31359e(_0x96aed8,_0x488c3e,_0x20bdef,_0x27dba8,_0x2ddd82,0x5,_0x5da1e1[0x18]),_0x27dba8=_0x31359e(_0x27dba8,_0x96aed8,_0x488c3e,_0x20bdef,_0x3df306,0x9,_0x5da1e1[0x19]),_0x20bdef=_0x31359e(_0x20bdef,_0x27dba8,_0x96aed8,_0x488c3e,_0x505094,0xe,_0x5da1e1[0x1a]),_0x488c3e=_0x31359e(_0x488c3e,_0x20bdef,_0x27dba8,_0x96aed8,_0x3145d1,0x14,_0x5da1e1[0x1b]),_0x96aed8=_0x31359e(_0x96aed8,_0x488c3e,_0x20bdef,_0x27dba8,_0x1e0600,0x5,_0x5da1e1[0x1c]),_0x27dba8=_0x31359e(_0x27dba8,_0x96aed8,_0x488c3e,_0x20bdef,_0x1c5932,0x9,_0x5da1e1[0x1d]),_0x20bdef=_0x31359e(_0x20bdef,_0x27dba8,_0x96aed8,_0x488c3e,_0x593ea3,0xe,_0x5da1e1[0x1e]),_0x488c3e=_0x31359e(_0x488c3e,_0x20bdef,_0x27dba8,_0x96aed8,_0x29edae,0x14,_0x5da1e1[0x1f]),_0x96aed8=_0x44f9cb(_0x96aed8,_0x488c3e,_0x20bdef,_0x27dba8,_0x4b29aa,0x4,_0x5da1e1[0x20]),_0x27dba8=_0x44f9cb(_0x27dba8,_0x96aed8,_0x488c3e,_0x20bdef,_0x3145d1,0xb,_0x5da1e1[0x21]),_0x20bdef=_0x44f9cb(_0x20bdef,_0x27dba8,_0x96aed8,_0x488c3e,_0x3a1397,0x10,_0x5da1e1[0x22]),_0x488c3e=_0x44f9cb(_0x488c3e,_0x20bdef,_0x27dba8,_0x96aed8,_0x3df306,0x17,_0x5da1e1[0x23]),_0x96aed8=_0x44f9cb(_0x96aed8,_0x488c3e,_0x20bdef,_0x27dba8,_0x4f6a70,0x4,_0x5da1e1[0x24]),_0x27dba8=_0x44f9cb(_0x27dba8,_0x96aed8,_0x488c3e,_0x20bdef,_0x1ca2e9,0xb,_0x5da1e1[0x25]),_0x20bdef=_0x44f9cb(_0x20bdef,_0x27dba8,_0x96aed8,_0x488c3e,_0x593ea3,0x10,_0x5da1e1[0x26]),_0x488c3e=_0x44f9cb(_0x488c3e,_0x20bdef,_0x27dba8,_0x96aed8,_0x1f1039,0x17,_0x5da1e1[0x27]),_0x96aed8=_0x44f9cb(_0x96aed8,_0x488c3e,_0x20bdef,_0x27dba8,_0x1e0600,0x4,_0x5da1e1[0x28]),_0x27dba8=_0x44f9cb(_0x27dba8,_0x96aed8,_0x488c3e,_0x20bdef,_0xca008f,0xb,_0x5da1e1[0x29]),_0x20bdef=_0x44f9cb(_0x20bdef,_0x27dba8,_0x96aed8,_0x488c3e,_0x505094,0x10,_0x5da1e1[0x2a]),_0x488c3e=_0x44f9cb(_0x488c3e,_0x20bdef,_0x27dba8,_0x96aed8,_0x3ee75d,0x17,_0x5da1e1[0x2b]),_0x96aed8=_0x44f9cb(_0x96aed8,_0x488c3e,_0x20bdef,_0x27dba8,_0x2ddd82,0x4,_0x5da1e1[0x2c]),_0x27dba8=_0x44f9cb(_0x27dba8,_0x96aed8,_0x488c3e,_0x20bdef,_0x29edae,0xb,_0x5da1e1[0x2d]),_0x20bdef=_0x44f9cb(_0x20bdef,_0x27dba8,_0x96aed8,_0x488c3e,_0x5ef68d,0x10,_0x5da1e1[0x2e]),_0x488c3e=_0x44f9cb(_0x488c3e,_0x20bdef,_0x27dba8,_0x96aed8,_0x1c5932,0x17,_0x5da1e1[0x2f]),_0x96aed8=_0x503c4f(_0x96aed8,_0x488c3e,_0x20bdef,_0x27dba8,_0xca008f,0x6,_0x5da1e1[0x30]),_0x27dba8=_0x503c4f(_0x27dba8,_0x96aed8,_0x488c3e,_0x20bdef,_0x593ea3,0xa,_0x5da1e1[0x31]),_0x20bdef=_0x503c4f(_0x20bdef,_0x27dba8,_0x96aed8,_0x488c3e,_0x3df306,0xf,_0x5da1e1[0x32]),_0x488c3e=_0x503c4f(_0x488c3e,_0x20bdef,_0x27dba8,_0x96aed8,_0x4b29aa,0x15,_0x5da1e1[0x33]),_0x96aed8=_0x503c4f(_0x96aed8,_0x488c3e,_0x20bdef,_0x27dba8,_0x29edae,0x6,_0x5da1e1[0x34]),_0x27dba8=_0x503c4f(_0x27dba8,_0x96aed8,_0x488c3e,_0x20bdef,_0x505094,0xa,_0x5da1e1[0x35]),_0x20bdef=_0x503c4f(_0x20bdef,_0x27dba8,_0x96aed8,_0x488c3e,_0x1f1039,0xf,_0x5da1e1[0x36]),_0x488c3e=_0x503c4f(_0x488c3e,_0x20bdef,_0x27dba8,_0x96aed8,_0x4f6a70,0x15,_0x5da1e1[0x37]),_0x96aed8=_0x503c4f(_0x96aed8,_0x488c3e,_0x20bdef,_0x27dba8,_0x3145d1,0x6,_0x5da1e1[0x38]),_0x27dba8=_0x503c4f(_0x27dba8,_0x96aed8,_0x488c3e,_0x20bdef,_0x5ef68d,0xa,_0x5da1e1[0x39]),_0x20bdef=_0x503c4f(_0x20bdef,_0x27dba8,_0x96aed8,_0x488c3e,_0x3ee75d,0xf,_0x5da1e1[0x3a]),_0x488c3e=_0x503c4f(_0x488c3e,_0x20bdef,_0x27dba8,_0x96aed8,_0x1e0600,0x15,_0x5da1e1[0x3b]),_0x96aed8=_0x503c4f(_0x96aed8,_0x488c3e,_0x20bdef,_0x27dba8,_0x1ca2e9,0x6,_0x5da1e1[0x3c]),_0x27dba8=_0x503c4f(_0x27dba8,_0x96aed8,_0x488c3e,_0x20bdef,_0x3a1397,0xa,_0x5da1e1[0x3d]),_0x20bdef=_0x503c4f(_0x20bdef,_0x27dba8,_0x96aed8,_0x488c3e,_0x1c5932,0xf,_0x5da1e1[0x3e]),_0x488c3e=_0x503c4f(_0x488c3e,_0x20bdef,_0x27dba8,_0x96aed8,_0x2ddd82,0x15,_0x5da1e1[0x3f]),_0x13bc66[0x0]=_0x13bc66[0x0]+_0x96aed8|0x0,_0x13bc66[0x1]=_0x13bc66[0x1]+_0x488c3e|0x0,_0x13bc66[0x2]=_0x13bc66[0x2]+_0x20bdef|0x0,_0x13bc66[0x3]=_0x13bc66[0x3]+_0x27dba8|0x0;},'_doFinalize':function(){var _0x39cf80=_0x40cdf3,_0x2497dd=this['_data'],_0x3f043c=_0x2497dd[_0x39cf80(0x333)],_0xe4c153=this[_0x39cf80(0x28b)]*0x8,_0x4cccec=_0x2497dd[_0x39cf80(0x269)]*0x8;_0x3f043c[_0x4cccec>>>0x5]|=0x80<<0x18-_0x4cccec%0x20;var _0x36216f=_0x1b00d8['floor'](_0xe4c153/0x100000000),_0x35c790=_0xe4c153;_0x3f043c[(_0x4cccec+0x40>>>0x9<<0x4)+0xf]=(_0x36216f<<0x8|_0x36216f>>>0x18)&0xff00ff|(_0x36216f<<0x18|_0x36216f>>>0x8)&0xff00ff00,_0x3f043c[(_0x4cccec+0x40>>>0x9<<0x4)+0xe]=(_0x35c790<<0x8|_0x35c790>>>0x18)&0xff00ff|(_0x35c790<<0x18|_0x35c790>>>0x8)&0xff00ff00,_0x2497dd[_0x39cf80(0x269)]=(_0x3f043c['length']+0x1)*0x4,this['_process']();for(var _0x4da7b0=this[_0x39cf80(0x270)],_0xa92a2e=_0x4da7b0[_0x39cf80(0x333)],_0x22cc9b=0x0;_0x22cc9b<0x4;_0x22cc9b++){var _0x154d62=_0xa92a2e[_0x22cc9b];_0xa92a2e[_0x22cc9b]=(_0x154d62<<0x8|_0x154d62>>>0x18)&0xff00ff|(_0x154d62<<0x18|_0x154d62>>>0x8)&0xff00ff00;}return _0x4da7b0;},'clone':function(){var _0x259d03=_0x40cdf3,_0x374fc9=_0x2064b7[_0x259d03(0x3c1)][_0x259d03(0x207)](this);return _0x374fc9[_0x259d03(0x270)]=this[_0x259d03(0x270)][_0x259d03(0x3c1)](),_0x374fc9;}});function _0x1dc3a9(_0x4cb36d,_0x128c6e,_0x5dc473,_0x3e1305,_0x4c4eca,_0x2da237,_0x451ff8){var _0x478ea2=_0x4cb36d+(_0x128c6e&_0x5dc473|~_0x128c6e&_0x3e1305)+_0x4c4eca+_0x451ff8;return(_0x478ea2<<_0x2da237|_0x478ea2>>>0x20-_0x2da237)+_0x128c6e;}function _0x31359e(_0x5c9e0e,_0x44f302,_0x2443d7,_0x3b50ee,_0x1430d5,_0x19f32e,_0x544a59){var _0x251a98=_0x5c9e0e+(_0x44f302&_0x3b50ee|_0x2443d7&~_0x3b50ee)+_0x1430d5+_0x544a59;return(_0x251a98<<_0x19f32e|_0x251a98>>>0x20-_0x19f32e)+_0x44f302;}function _0x44f9cb(_0x1b3f1b,_0x29c096,_0x47df49,_0x1cd727,_0x56f792,_0x5d09ff,_0x15b62f){var _0x5913cc=_0x1b3f1b+(_0x29c096^_0x47df49^_0x1cd727)+_0x56f792+_0x15b62f;return(_0x5913cc<<_0x5d09ff|_0x5913cc>>>0x20-_0x5d09ff)+_0x29c096;}function _0x503c4f(_0x1c66f6,_0xefa958,_0x15910b,_0x41118a,_0x1b94a2,_0x1f82e8,_0x35a846){var _0x19c974=_0x1c66f6+(_0x15910b^(_0xefa958|~_0x41118a))+_0x1b94a2+_0x35a846;return(_0x19c974<<_0x1f82e8|_0x19c974>>>0x20-_0x1f82e8)+_0xefa958;}_0x592d02[_0x40cdf3(0x304)]=_0x2064b7[_0x40cdf3(0x2fa)](_0x27b3b3),_0x592d02['HmacMD5']=_0x2064b7[_0x40cdf3(0x417)](_0x27b3b3);}(Math),_0x75d5e9[_0x402a35(0x304)];}));}(ge)),ge[_0x38f351(0x1e2)];}var Ee={'exports':{}},me={'exports':{}},Ai=me[_0x285f88(0x1e2)],Ze;function Pi(){var _0x184e64=_0x285f88;return Ze||(Ze=0x1,function(_0x5c1c03,_0x50b968){(function(_0x2763a5,_0xd5500c){_0x5c1c03['exports']=_0xd5500c(Q());}(Ai,function(_0x1d729e){var _0x221332=_0x2f99;return(function(){var _0x54e62b=_0x2f99,_0x1203e6=_0x1d729e,_0x2a4ca8=_0x1203e6[_0x54e62b(0x459)],_0x5b9de7=_0x2a4ca8[_0x54e62b(0x239)],_0x3929e3=_0x2a4ca8['Hasher'],_0x25e378=_0x1203e6[_0x54e62b(0x174)],_0x3e3620=[],_0x36bf38=_0x25e378['SHA1']=_0x3929e3[_0x54e62b(0x162)]({'_doReset':function(){this['_hash']=new _0x5b9de7['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x5b0598,_0xc37c38){var _0x21520c=_0x54e62b;for(var _0x5ad6fb=this[_0x21520c(0x270)]['words'],_0x4c64ac=_0x5ad6fb[0x0],_0x5f21b1=_0x5ad6fb[0x1],_0x28be43=_0x5ad6fb[0x2],_0x164833=_0x5ad6fb[0x3],_0x185ff6=_0x5ad6fb[0x4],_0x236452=0x0;_0x236452<0x50;_0x236452++){if(_0x236452<0x10)_0x3e3620[_0x236452]=_0x5b0598[_0xc37c38+_0x236452]|0x0;else{var _0x303fbc=_0x3e3620[_0x236452-0x3]^_0x3e3620[_0x236452-0x8]^_0x3e3620[_0x236452-0xe]^_0x3e3620[_0x236452-0x10];_0x3e3620[_0x236452]=_0x303fbc<<0x1|_0x303fbc>>>0x1f;}var _0x38e240=(_0x4c64ac<<0x5|_0x4c64ac>>>0x1b)+_0x185ff6+_0x3e3620[_0x236452];_0x236452<0x14?_0x38e240+=(_0x5f21b1&_0x28be43|~_0x5f21b1&_0x164833)+0x5a827999:_0x236452<0x28?_0x38e240+=(_0x5f21b1^_0x28be43^_0x164833)+0x6ed9eba1:_0x236452<0x3c?_0x38e240+=(_0x5f21b1&_0x28be43|_0x5f21b1&_0x164833|_0x28be43&_0x164833)-0x70e44324:_0x38e240+=(_0x5f21b1^_0x28be43^_0x164833)-0x359d3e2a,_0x185ff6=_0x164833,_0x164833=_0x28be43,_0x28be43=_0x5f21b1<<0x1e|_0x5f21b1>>>0x2,_0x5f21b1=_0x4c64ac,_0x4c64ac=_0x38e240;}_0x5ad6fb[0x0]=_0x5ad6fb[0x0]+_0x4c64ac|0x0,_0x5ad6fb[0x1]=_0x5ad6fb[0x1]+_0x5f21b1|0x0,_0x5ad6fb[0x2]=_0x5ad6fb[0x2]+_0x28be43|0x0,_0x5ad6fb[0x3]=_0x5ad6fb[0x3]+_0x164833|0x0,_0x5ad6fb[0x4]=_0x5ad6fb[0x4]+_0x185ff6|0x0;},'_doFinalize':function(){var _0x66d42=_0x54e62b,_0x34dcd2=this[_0x66d42(0x18b)],_0x1e5b12=_0x34dcd2[_0x66d42(0x333)],_0x9510d1=this[_0x66d42(0x28b)]*0x8,_0x35b67d=_0x34dcd2[_0x66d42(0x269)]*0x8;return _0x1e5b12[_0x35b67d>>>0x5]|=0x80<<0x18-_0x35b67d%0x20,_0x1e5b12[(_0x35b67d+0x40>>>0x9<<0x4)+0xe]=Math[_0x66d42(0x202)](_0x9510d1/0x100000000),_0x1e5b12[(_0x35b67d+0x40>>>0x9<<0x4)+0xf]=_0x9510d1,_0x34dcd2[_0x66d42(0x269)]=_0x1e5b12[_0x66d42(0x32b)]*0x4,this[_0x66d42(0x38b)](),this['_hash'];},'clone':function(){var _0x4d89bb=_0x54e62b,_0x4e6eae=_0x3929e3[_0x4d89bb(0x3c1)][_0x4d89bb(0x207)](this);return _0x4e6eae[_0x4d89bb(0x270)]=this[_0x4d89bb(0x270)][_0x4d89bb(0x3c1)](),_0x4e6eae;}});_0x1203e6['SHA1']=_0x3929e3[_0x54e62b(0x2fa)](_0x36bf38),_0x1203e6[_0x54e62b(0x365)]=_0x3929e3[_0x54e62b(0x417)](_0x36bf38);}()),_0x1d729e[_0x221332(0x245)];}));}(me)),me[_0x184e64(0x1e2)];}var Ce={'exports':{}},Li=Ce[_0x285f88(0x1e2)],Qe;function wi(){var _0x5eb4b7=_0x285f88;return Qe||(Qe=0x1,function(_0x204882,_0x3b122f){(function(_0x22f4fe,_0x3bb344){_0x204882['exports']=_0x3bb344(Q());}(Li,function(_0x238243){(function(){var _0x56262c=_0x2f99,_0x2d5ea1=_0x238243,_0x201707=_0x2d5ea1[_0x56262c(0x459)],_0x169673=_0x201707['Base'],_0x3b8440=_0x2d5ea1[_0x56262c(0x2db)],_0x2d0cca=_0x3b8440['Utf8'],_0x3f3d6c=_0x2d5ea1[_0x56262c(0x174)];_0x3f3d6c[_0x56262c(0x1a5)]=_0x169673[_0x56262c(0x162)]({'init':function(_0x301d25,_0x51a85b){var _0x4d7ed6=_0x56262c;_0x301d25=this[_0x4d7ed6(0x30b)]=new _0x301d25[(_0x4d7ed6(0x3cb))](),typeof _0x51a85b==_0x4d7ed6(0x1a3)&&(_0x51a85b=_0x2d0cca[_0x4d7ed6(0x4b0)](_0x51a85b));var _0x52bd06=_0x301d25[_0x4d7ed6(0x33c)],_0x34b25e=_0x52bd06*0x4;_0x51a85b['sigBytes']>_0x34b25e&&(_0x51a85b=_0x301d25[_0x4d7ed6(0x3d0)](_0x51a85b)),_0x51a85b['clamp']();for(var _0xa3353e=this['_oKey']=_0x51a85b[_0x4d7ed6(0x3c1)](),_0x24cbcc=this[_0x4d7ed6(0x3d7)]=_0x51a85b[_0x4d7ed6(0x3c1)](),_0x2d6c70=_0xa3353e[_0x4d7ed6(0x333)],_0x511285=_0x24cbcc[_0x4d7ed6(0x333)],_0x13628d=0x0;_0x13628d<_0x52bd06;_0x13628d++)_0x2d6c70[_0x13628d]^=0x5c5c5c5c,_0x511285[_0x13628d]^=0x36363636;_0xa3353e[_0x4d7ed6(0x269)]=_0x24cbcc[_0x4d7ed6(0x269)]=_0x34b25e,this[_0x4d7ed6(0x273)]();},'reset':function(){var _0x229097=_0x56262c,_0x5f041e=this['_hasher'];_0x5f041e[_0x229097(0x273)](),_0x5f041e[_0x229097(0x4b1)](this['_iKey']);},'update':function(_0x5e3758){var _0x12cc20=_0x56262c;return this[_0x12cc20(0x30b)][_0x12cc20(0x4b1)](_0x5e3758),this;},'finalize':function(_0x4292c8){var _0x4104b7=_0x56262c,_0x258625=this['_hasher'],_0x16a207=_0x258625[_0x4104b7(0x3d0)](_0x4292c8);_0x258625['reset']();var _0x2a793e=_0x258625[_0x4104b7(0x3d0)](this['_oKey'][_0x4104b7(0x3c1)]()[_0x4104b7(0x230)](_0x16a207));return _0x2a793e;}});}());}));}(Ce)),Ce[_0x5eb4b7(0x1e2)];}var Mi=Ee[_0x285f88(0x1e2)],et;function Nt(){return et||(et=0x1,function(_0x445f27,_0x487c24){(function(_0x310e40,_0x5b4dab,_0x24be9d){_0x445f27['exports']=_0x5b4dab(Q(),Pi(),wi());}(Mi,function(_0x340bf3){var _0x5291aa=_0x2f99;return(function(){var _0x5d9178=_0x2f99,_0x4a33d9=_0x340bf3,_0xe1f37a=_0x4a33d9[_0x5d9178(0x459)],_0x25fe0a=_0xe1f37a['Base'],_0x55045b=_0xe1f37a[_0x5d9178(0x239)],_0x1ef225=_0x4a33d9['algo'],_0x59f684=_0x1ef225[_0x5d9178(0x304)],_0x36d70b=_0x1ef225[_0x5d9178(0x47f)]=_0x25fe0a['extend']({'cfg':_0x25fe0a[_0x5d9178(0x162)]({'keySize':0x80/0x20,'hasher':_0x59f684,'iterations':0x1}),'init':function(_0x5c187f){var _0x6b1e8b=_0x5d9178;this[_0x6b1e8b(0x45b)]=this[_0x6b1e8b(0x45b)][_0x6b1e8b(0x162)](_0x5c187f);},'compute':function(_0x5e7817,_0x569ca4){var _0x50a200=_0x5d9178;for(var _0x2655b6,_0x21e1c5=this[_0x50a200(0x45b)],_0x3c6ca0=_0x21e1c5[_0x50a200(0x1eb)][_0x50a200(0x4ae)](),_0x352531=_0x55045b[_0x50a200(0x4ae)](),_0x2384b2=_0x352531['words'],_0x42433b=_0x21e1c5['keySize'],_0x130773=_0x21e1c5[_0x50a200(0x2ce)];_0x2384b2[_0x50a200(0x32b)]<_0x42433b;){_0x2655b6&&_0x3c6ca0['update'](_0x2655b6),_0x2655b6=_0x3c6ca0[_0x50a200(0x4b1)](_0x5e7817)[_0x50a200(0x3d0)](_0x569ca4),_0x3c6ca0['reset']();for(var _0x3be7b8=0x1;_0x3be7b8<_0x130773;_0x3be7b8++)_0x2655b6=_0x3c6ca0[_0x50a200(0x3d0)](_0x2655b6),_0x3c6ca0['reset']();_0x352531[_0x50a200(0x230)](_0x2655b6);}return _0x352531[_0x50a200(0x269)]=_0x42433b*0x4,_0x352531;}});_0x4a33d9[_0x5d9178(0x47f)]=function(_0x389d89,_0x49b29b,_0x3c45d9){return _0x36d70b['create'](_0x3c45d9)['compute'](_0x389d89,_0x49b29b);};}()),_0x340bf3[_0x5291aa(0x47f)];}));}(Ee)),Ee['exports'];}var Te={'exports':{}},xi=Te[_0x285f88(0x1e2)],tt;function Dt(){var _0x32e58e=_0x285f88;return tt||(tt=0x1,function(_0x175248,_0x3c1c65){(function(_0x11bc10,_0x527337,_0x583ef1){var _0x2c9e02=_0x2f99;_0x175248[_0x2c9e02(0x1e2)]=_0x527337(Q(),Nt());}(xi,function(_0x1a6d46){var _0x23b660=_0x2f99;_0x1a6d46[_0x23b660(0x459)]['Cipher']||function(_0x225df3){var _0xc696ae=_0x23b660,_0x514977=_0x1a6d46,_0x5941ee=_0x514977['lib'],_0x594596=_0x5941ee[_0xc696ae(0x1cb)],_0x554004=_0x5941ee[_0xc696ae(0x239)],_0x1fc518=_0x5941ee[_0xc696ae(0x1c7)],_0x2c939c=_0x514977[_0xc696ae(0x2db)];_0x2c939c['Utf8'];var _0x13edf4=_0x2c939c[_0xc696ae(0x444)],_0x1d0983=_0x514977[_0xc696ae(0x174)],_0xca2096=_0x1d0983[_0xc696ae(0x47f)],_0x56ea94=_0x5941ee[_0xc696ae(0x1bb)]=_0x1fc518['extend']({'cfg':_0x594596[_0xc696ae(0x162)](),'createEncryptor':function(_0x50e1bc,_0xe19aee){var _0x38e8ab=_0xc696ae;return this[_0x38e8ab(0x4ae)](this[_0x38e8ab(0x42b)],_0x50e1bc,_0xe19aee);},'createDecryptor':function(_0x540001,_0x1e5b53){var _0x215db1=_0xc696ae;return this[_0x215db1(0x4ae)](this[_0x215db1(0x3da)],_0x540001,_0x1e5b53);},'init':function(_0x48f841,_0x4cf44e,_0x1a86f6){var _0x3f8c41=_0xc696ae;this[_0x3f8c41(0x45b)]=this[_0x3f8c41(0x45b)][_0x3f8c41(0x162)](_0x1a86f6),this[_0x3f8c41(0x3a0)]=_0x48f841,this[_0x3f8c41(0x2f4)]=_0x4cf44e,this[_0x3f8c41(0x273)]();},'reset':function(){var _0x597566=_0xc696ae;_0x1fc518[_0x597566(0x273)][_0x597566(0x207)](this),this[_0x597566(0x181)]();},'process':function(_0x20b82a){var _0x353615=_0xc696ae;return this[_0x353615(0x250)](_0x20b82a),this[_0x353615(0x38b)]();},'finalize':function(_0x525470){var _0x5f4e37=_0xc696ae;_0x525470&&this[_0x5f4e37(0x250)](_0x525470);var _0x30e9e5=this[_0x5f4e37(0x315)]();return _0x30e9e5;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x39cff0(_0x2e598e){var _0x2ea983=_0x2f99;return typeof _0x2e598e==_0x2ea983(0x1a3)?_0x39d05a:_0x1ba25e;}return function(_0x2d3ead){return{'encrypt':function(_0x1089f9,_0x504b22,_0x33618c){var _0x49140a=_0x2f99;return _0x39cff0(_0x504b22)[_0x49140a(0x48a)](_0x2d3ead,_0x1089f9,_0x504b22,_0x33618c);},'decrypt':function(_0xa5f002,_0xc7eab3,_0x541888){var _0x305084=_0x2f99;return _0x39cff0(_0xc7eab3)[_0x305084(0x26a)](_0x2d3ead,_0xa5f002,_0xc7eab3,_0x541888);}};};}())});_0x5941ee['StreamCipher']=_0x56ea94[_0xc696ae(0x162)]({'_doFinalize':function(){var _0x1f31a8=_0xc696ae,_0x248de4=this[_0x1f31a8(0x38b)](!0x0);return _0x248de4;},'blockSize':0x1});var _0xc0f6a=_0x514977[_0xc696ae(0x45e)]={},_0x1063c6=_0x5941ee[_0xc696ae(0x373)]=_0x594596[_0xc696ae(0x162)]({'createEncryptor':function(_0x4bc05e,_0x6dbc1d){var _0xd6cfa4=_0xc696ae;return this['Encryptor'][_0xd6cfa4(0x4ae)](_0x4bc05e,_0x6dbc1d);},'createDecryptor':function(_0x26945d,_0x3a3468){return this['Decryptor']['create'](_0x26945d,_0x3a3468);},'init':function(_0x2ed207,_0x5ce428){var _0x51e45=_0xc696ae;this[_0x51e45(0x317)]=_0x2ed207,this[_0x51e45(0x337)]=_0x5ce428;}}),_0x2c7a58=_0xc0f6a['CBC']=(function(){var _0x2d787=_0xc696ae,_0x25ae06=_0x1063c6[_0x2d787(0x162)]();_0x25ae06[_0x2d787(0x28d)]=_0x25ae06[_0x2d787(0x162)]({'processBlock':function(_0x580754,_0x473dc7){var _0x641d59=_0x2d787,_0x8e0cfa=this[_0x641d59(0x317)],_0xca9279=_0x8e0cfa[_0x641d59(0x33c)];_0x93e060[_0x641d59(0x207)](this,_0x580754,_0x473dc7,_0xca9279),_0x8e0cfa['encryptBlock'](_0x580754,_0x473dc7),this[_0x641d59(0x394)]=_0x580754['slice'](_0x473dc7,_0x473dc7+_0xca9279);}}),_0x25ae06[_0x2d787(0x48f)]=_0x25ae06[_0x2d787(0x162)]({'processBlock':function(_0x159772,_0x12b481){var _0x23fa06=_0x2d787,_0x24e5dc=this[_0x23fa06(0x317)],_0x57d9ee=_0x24e5dc[_0x23fa06(0x33c)],_0xef3d43=_0x159772['slice'](_0x12b481,_0x12b481+_0x57d9ee);_0x24e5dc['decryptBlock'](_0x159772,_0x12b481),_0x93e060['call'](this,_0x159772,_0x12b481,_0x57d9ee),this[_0x23fa06(0x394)]=_0xef3d43;}});function _0x93e060(_0x42edd5,_0x44aa06,_0x27e78f){var _0x24d5a8=_0x2d787,_0x148e66,_0x2624e3=this[_0x24d5a8(0x337)];_0x2624e3?(_0x148e66=_0x2624e3,this[_0x24d5a8(0x337)]=_0x225df3):_0x148e66=this[_0x24d5a8(0x394)];for(var _0x158088=0x0;_0x158088<_0x27e78f;_0x158088++)_0x42edd5[_0x44aa06+_0x158088]^=_0x148e66[_0x158088];}return _0x25ae06;}()),_0x1782da=_0x514977[_0xc696ae(0x18f)]={},_0x2b7ee8=_0x1782da[_0xc696ae(0x4b8)]={'pad':function(_0x1c4389,_0x4dff4e){var _0x2ef78d=_0xc696ae;for(var _0x217ff9=_0x4dff4e*0x4,_0x238932=_0x217ff9-_0x1c4389['sigBytes']%_0x217ff9,_0x3b69ac=_0x238932<<0x18|_0x238932<<0x10|_0x238932<<0x8|_0x238932,_0x5786e7=[],_0xc64268=0x0;_0xc64268<_0x238932;_0xc64268+=0x4)_0x5786e7[_0x2ef78d(0x19b)](_0x3b69ac);var _0x4200a6=_0x554004[_0x2ef78d(0x4ae)](_0x5786e7,_0x238932);_0x1c4389[_0x2ef78d(0x230)](_0x4200a6);},'unpad':function(_0x3d70b4){var _0x470c10=_0xc696ae,_0x4d4355=_0x3d70b4['words'][_0x3d70b4[_0x470c10(0x269)]-0x1>>>0x2]&0xff;_0x3d70b4[_0x470c10(0x269)]-=_0x4d4355;}};_0x5941ee['BlockCipher']=_0x56ea94[_0xc696ae(0x162)]({'cfg':_0x56ea94['cfg'][_0xc696ae(0x162)]({'mode':_0x2c7a58,'padding':_0x2b7ee8}),'reset':function(){var _0x1337a4=_0xc696ae,_0x452855;_0x56ea94[_0x1337a4(0x273)][_0x1337a4(0x207)](this);var _0x3f4912=this['cfg'],_0x54a4c3=_0x3f4912['iv'],_0x51c040=_0x3f4912['mode'];this[_0x1337a4(0x3a0)]==this[_0x1337a4(0x42b)]?_0x452855=_0x51c040[_0x1337a4(0x336)]:(_0x452855=_0x51c040['createDecryptor'],this[_0x1337a4(0x167)]=0x1),this['_mode']&&this[_0x1337a4(0x179)]['__creator']==_0x452855?this[_0x1337a4(0x179)][_0x1337a4(0x3cb)](this,_0x54a4c3&&_0x54a4c3[_0x1337a4(0x333)]):(this[_0x1337a4(0x179)]=_0x452855[_0x1337a4(0x207)](_0x51c040,this,_0x54a4c3&&_0x54a4c3[_0x1337a4(0x333)]),this[_0x1337a4(0x179)][_0x1337a4(0x3f8)]=_0x452855);},'_doProcessBlock':function(_0x581f60,_0x177ce3){var _0x43a9ab=_0xc696ae;this[_0x43a9ab(0x179)][_0x43a9ab(0x306)](_0x581f60,_0x177ce3);},'_doFinalize':function(){var _0x50196b=_0xc696ae,_0x186e8a,_0x2e4282=this['cfg'][_0x50196b(0x338)];return this[_0x50196b(0x3a0)]==this['_ENC_XFORM_MODE']?(_0x2e4282['pad'](this[_0x50196b(0x18b)],this[_0x50196b(0x33c)]),_0x186e8a=this[_0x50196b(0x38b)](!0x0)):(_0x186e8a=this['_process'](!0x0),_0x2e4282[_0x50196b(0x461)](_0x186e8a)),_0x186e8a;},'blockSize':0x80/0x20});var _0xf43f1=_0x5941ee[_0xc696ae(0x4a4)]=_0x594596[_0xc696ae(0x162)]({'init':function(_0x45a747){var _0xcda7df=_0xc696ae;this[_0xcda7df(0x3dd)](_0x45a747);},'toString':function(_0x1aaf80){var _0x3e4419=_0xc696ae;return(_0x1aaf80||this['formatter'])[_0x3e4419(0x437)](this);}}),_0x20da2a=_0x514977[_0xc696ae(0x1fd)]={},_0x1fe80f=_0x20da2a[_0xc696ae(0x389)]={'stringify':function(_0x4c33ca){var _0x4a914a=_0xc696ae,_0x22fa6a,_0x4c615d=_0x4c33ca[_0x4a914a(0x302)],_0x155a6e=_0x4c33ca[_0x4a914a(0x3ce)];return _0x155a6e?_0x22fa6a=_0x554004['create']([0x53616c74,0x65645f5f])['concat'](_0x155a6e)[_0x4a914a(0x230)](_0x4c615d):_0x22fa6a=_0x4c615d,_0x22fa6a[_0x4a914a(0x496)](_0x13edf4);},'parse':function(_0x809c2d){var _0x4b1266=_0xc696ae,_0x198e25,_0x468aab=_0x13edf4[_0x4b1266(0x4b0)](_0x809c2d),_0x265342=_0x468aab[_0x4b1266(0x333)];return _0x265342[0x0]==0x53616c74&&_0x265342[0x1]==0x65645f5f&&(_0x198e25=_0x554004[_0x4b1266(0x4ae)](_0x265342[_0x4b1266(0x2b9)](0x2,0x4)),_0x265342['splice'](0x0,0x4),_0x468aab[_0x4b1266(0x269)]-=0x10),_0xf43f1[_0x4b1266(0x4ae)]({'ciphertext':_0x468aab,'salt':_0x198e25});}},_0x1ba25e=_0x5941ee[_0xc696ae(0x1e8)]=_0x594596[_0xc696ae(0x162)]({'cfg':_0x594596[_0xc696ae(0x162)]({'format':_0x1fe80f}),'encrypt':function(_0x1fbddc,_0x2e1ee5,_0x4a5cf1,_0x3dc859){var _0x4e64ee=_0xc696ae;_0x3dc859=this[_0x4e64ee(0x45b)][_0x4e64ee(0x162)](_0x3dc859);var _0x32ca9d=_0x1fbddc[_0x4e64ee(0x336)](_0x4a5cf1,_0x3dc859),_0x2baa1c=_0x32ca9d[_0x4e64ee(0x3d0)](_0x2e1ee5),_0x5e2609=_0x32ca9d['cfg'];return _0xf43f1[_0x4e64ee(0x4ae)]({'ciphertext':_0x2baa1c,'key':_0x4a5cf1,'iv':_0x5e2609['iv'],'algorithm':_0x1fbddc,'mode':_0x5e2609[_0x4e64ee(0x45e)],'padding':_0x5e2609[_0x4e64ee(0x338)],'blockSize':_0x1fbddc[_0x4e64ee(0x33c)],'formatter':_0x3dc859[_0x4e64ee(0x1fd)]});},'decrypt':function(_0x5ea8c2,_0xae4d06,_0x56fe07,_0x500901){var _0x23ffbb=_0xc696ae;_0x500901=this[_0x23ffbb(0x45b)][_0x23ffbb(0x162)](_0x500901),_0xae4d06=this[_0x23ffbb(0x1ca)](_0xae4d06,_0x500901['format']);var _0x43573d=_0x5ea8c2[_0x23ffbb(0x248)](_0x56fe07,_0x500901)[_0x23ffbb(0x3d0)](_0xae4d06[_0x23ffbb(0x302)]);return _0x43573d;},'_parse':function(_0x8fcc34,_0x2a9bb4){var _0xb93cec=_0xc696ae;return typeof _0x8fcc34==_0xb93cec(0x1a3)?_0x2a9bb4[_0xb93cec(0x4b0)](_0x8fcc34,this):_0x8fcc34;}}),_0x3ebb25=_0x514977[_0xc696ae(0x17e)]={},_0x3e33c7=_0x3ebb25['OpenSSL']={'execute':function(_0x469834,_0x397488,_0x3e0e57,_0xd49a16,_0x3dce51){var _0x31006e=_0xc696ae;if(_0xd49a16||(_0xd49a16=_0x554004[_0x31006e(0x486)](0x40/0x8)),_0x3dce51)var _0x30527b=_0xca2096['create']({'keySize':_0x397488+_0x3e0e57,'hasher':_0x3dce51})[_0x31006e(0x370)](_0x469834,_0xd49a16);else var _0x30527b=_0xca2096[_0x31006e(0x4ae)]({'keySize':_0x397488+_0x3e0e57})[_0x31006e(0x370)](_0x469834,_0xd49a16);var _0x179bc8=_0x554004[_0x31006e(0x4ae)](_0x30527b['words']['slice'](_0x397488),_0x3e0e57*0x4);return _0x30527b[_0x31006e(0x269)]=_0x397488*0x4,_0xf43f1['create']({'key':_0x30527b,'iv':_0x179bc8,'salt':_0xd49a16});}},_0x39d05a=_0x5941ee[_0xc696ae(0x42f)]=_0x1ba25e[_0xc696ae(0x162)]({'cfg':_0x1ba25e[_0xc696ae(0x45b)][_0xc696ae(0x162)]({'kdf':_0x3e33c7}),'encrypt':function(_0x1c59ea,_0x5934f7,_0x4aae00,_0x257794){var _0x1e3d3b=_0xc696ae;_0x257794=this['cfg']['extend'](_0x257794);var _0x5cc79c=_0x257794[_0x1e3d3b(0x17e)][_0x1e3d3b(0x418)](_0x4aae00,_0x1c59ea[_0x1e3d3b(0x3f2)],_0x1c59ea[_0x1e3d3b(0x3ab)],_0x257794[_0x1e3d3b(0x3ce)],_0x257794['hasher']);_0x257794['iv']=_0x5cc79c['iv'];var _0x251057=_0x1ba25e[_0x1e3d3b(0x48a)][_0x1e3d3b(0x207)](this,_0x1c59ea,_0x5934f7,_0x5cc79c[_0x1e3d3b(0x182)],_0x257794);return _0x251057[_0x1e3d3b(0x3dd)](_0x5cc79c),_0x251057;},'decrypt':function(_0xe87f66,_0x3d77fa,_0x1080a6,_0x640bae){var _0x32b123=_0xc696ae;_0x640bae=this['cfg']['extend'](_0x640bae),_0x3d77fa=this[_0x32b123(0x1ca)](_0x3d77fa,_0x640bae[_0x32b123(0x1fd)]);var _0x124f1c=_0x640bae[_0x32b123(0x17e)][_0x32b123(0x418)](_0x1080a6,_0xe87f66[_0x32b123(0x3f2)],_0xe87f66[_0x32b123(0x3ab)],_0x3d77fa[_0x32b123(0x3ce)],_0x640bae['hasher']);_0x640bae['iv']=_0x124f1c['iv'];var _0x608ba1=_0x1ba25e[_0x32b123(0x26a)][_0x32b123(0x207)](this,_0xe87f66,_0x3d77fa,_0x124f1c[_0x32b123(0x182)],_0x640bae);return _0x608ba1;}});}();}));}(Te)),Te[_0x32e58e(0x1e2)];}var ki=fe[_0x285f88(0x1e2)],it;function Hi(){var _0x56f134=_0x285f88;return it||(it=0x1,function(_0x539d3b,_0x122819){(function(_0x3bc9d4,_0x53fed7,_0x29deed){var _0x11ee13=_0x2f99;_0x539d3b[_0x11ee13(0x1e2)]=_0x53fed7(Q(),yt(),Ui(),Nt(),Dt());}(ki,function(_0xb135f8){var _0x2a4f18=_0x2f99;return(function(){var _0x49c60f=_0x2f99,_0x52343f=_0xb135f8,_0xf26c71=_0x52343f[_0x49c60f(0x459)],_0x212df9=_0xf26c71[_0x49c60f(0x40f)],_0x9cf028=_0x52343f[_0x49c60f(0x174)],_0x5e5cb0=[],_0x1baaa0=[],_0x26b59b=[],_0x58e317=[],_0x33b468=[],_0x434cbb=[],_0x947540=[],_0x3df6e7=[],_0x1075b1=[],_0x17a318=[];(function(){for(var _0x4db3b7=[],_0x55c622=0x0;_0x55c622<0x100;_0x55c622++)_0x55c622<0x80?_0x4db3b7[_0x55c622]=_0x55c622<<0x1:_0x4db3b7[_0x55c622]=_0x55c622<<0x1^0x11b;for(var _0x3e4ffe=0x0,_0x58fb99=0x0,_0x55c622=0x0;_0x55c622<0x100;_0x55c622++){var _0x5ef196=_0x58fb99^_0x58fb99<<0x1^_0x58fb99<<0x2^_0x58fb99<<0x3^_0x58fb99<<0x4;_0x5ef196=_0x5ef196>>>0x8^_0x5ef196&0xff^0x63,_0x5e5cb0[_0x3e4ffe]=_0x5ef196,_0x1baaa0[_0x5ef196]=_0x3e4ffe;var _0x1b4da6=_0x4db3b7[_0x3e4ffe],_0x127178=_0x4db3b7[_0x1b4da6],_0xf7e678=_0x4db3b7[_0x127178],_0x2d16a5=_0x4db3b7[_0x5ef196]*0x101^_0x5ef196*0x1010100;_0x26b59b[_0x3e4ffe]=_0x2d16a5<<0x18|_0x2d16a5>>>0x8,_0x58e317[_0x3e4ffe]=_0x2d16a5<<0x10|_0x2d16a5>>>0x10,_0x33b468[_0x3e4ffe]=_0x2d16a5<<0x8|_0x2d16a5>>>0x18,_0x434cbb[_0x3e4ffe]=_0x2d16a5;var _0x2d16a5=_0xf7e678*0x1010101^_0x127178*0x10001^_0x1b4da6*0x101^_0x3e4ffe*0x1010100;_0x947540[_0x5ef196]=_0x2d16a5<<0x18|_0x2d16a5>>>0x8,_0x3df6e7[_0x5ef196]=_0x2d16a5<<0x10|_0x2d16a5>>>0x10,_0x1075b1[_0x5ef196]=_0x2d16a5<<0x8|_0x2d16a5>>>0x18,_0x17a318[_0x5ef196]=_0x2d16a5,_0x3e4ffe?(_0x3e4ffe=_0x1b4da6^_0x4db3b7[_0x4db3b7[_0x4db3b7[_0xf7e678^_0x1b4da6]]],_0x58fb99^=_0x4db3b7[_0x4db3b7[_0x58fb99]]):_0x3e4ffe=_0x58fb99=0x1;}}());var _0x59be44=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5dee4d=_0x9cf028['AES']=_0x212df9[_0x49c60f(0x162)]({'_doReset':function(){var _0x5320e4=_0x49c60f,_0x17bf58;if(!(this[_0x5320e4(0x307)]&&this[_0x5320e4(0x482)]===this[_0x5320e4(0x2f4)])){for(var _0x39cef7=this[_0x5320e4(0x482)]=this[_0x5320e4(0x2f4)],_0x3cfc08=_0x39cef7[_0x5320e4(0x333)],_0x40b870=_0x39cef7[_0x5320e4(0x269)]/0x4,_0x1790cb=this[_0x5320e4(0x307)]=_0x40b870+0x6,_0x1f3f2d=(_0x1790cb+0x1)*0x4,_0x7d3a70=this[_0x5320e4(0x1a7)]=[],_0x501ca3=0x0;_0x501ca3<_0x1f3f2d;_0x501ca3++)_0x501ca3<_0x40b870?_0x7d3a70[_0x501ca3]=_0x3cfc08[_0x501ca3]:(_0x17bf58=_0x7d3a70[_0x501ca3-0x1],_0x501ca3%_0x40b870?_0x40b870>0x6&&_0x501ca3%_0x40b870==0x4&&(_0x17bf58=_0x5e5cb0[_0x17bf58>>>0x18]<<0x18|_0x5e5cb0[_0x17bf58>>>0x10&0xff]<<0x10|_0x5e5cb0[_0x17bf58>>>0x8&0xff]<<0x8|_0x5e5cb0[_0x17bf58&0xff]):(_0x17bf58=_0x17bf58<<0x8|_0x17bf58>>>0x18,_0x17bf58=_0x5e5cb0[_0x17bf58>>>0x18]<<0x18|_0x5e5cb0[_0x17bf58>>>0x10&0xff]<<0x10|_0x5e5cb0[_0x17bf58>>>0x8&0xff]<<0x8|_0x5e5cb0[_0x17bf58&0xff],_0x17bf58^=_0x59be44[_0x501ca3/_0x40b870|0x0]<<0x18),_0x7d3a70[_0x501ca3]=_0x7d3a70[_0x501ca3-_0x40b870]^_0x17bf58);for(var _0x1798ec=this[_0x5320e4(0x28a)]=[],_0x45792e=0x0;_0x45792e<_0x1f3f2d;_0x45792e++){var _0x501ca3=_0x1f3f2d-_0x45792e;if(_0x45792e%0x4)var _0x17bf58=_0x7d3a70[_0x501ca3];else var _0x17bf58=_0x7d3a70[_0x501ca3-0x4];_0x45792e<0x4||_0x501ca3<=0x4?_0x1798ec[_0x45792e]=_0x17bf58:_0x1798ec[_0x45792e]=_0x947540[_0x5e5cb0[_0x17bf58>>>0x18]]^_0x3df6e7[_0x5e5cb0[_0x17bf58>>>0x10&0xff]]^_0x1075b1[_0x5e5cb0[_0x17bf58>>>0x8&0xff]]^_0x17a318[_0x5e5cb0[_0x17bf58&0xff]];}}},'encryptBlock':function(_0x22df21,_0x3ca4bf){var _0x299f20=_0x49c60f;this[_0x299f20(0x360)](_0x22df21,_0x3ca4bf,this[_0x299f20(0x1a7)],_0x26b59b,_0x58e317,_0x33b468,_0x434cbb,_0x5e5cb0);},'decryptBlock':function(_0x124689,_0x376a9e){var _0x1d747d=_0x49c60f,_0x20a383=_0x124689[_0x376a9e+0x1];_0x124689[_0x376a9e+0x1]=_0x124689[_0x376a9e+0x3],_0x124689[_0x376a9e+0x3]=_0x20a383,this[_0x1d747d(0x360)](_0x124689,_0x376a9e,this[_0x1d747d(0x28a)],_0x947540,_0x3df6e7,_0x1075b1,_0x17a318,_0x1baaa0);var _0x20a383=_0x124689[_0x376a9e+0x1];_0x124689[_0x376a9e+0x1]=_0x124689[_0x376a9e+0x3],_0x124689[_0x376a9e+0x3]=_0x20a383;},'_doCryptBlock':function(_0x6d0fab,_0x5985c5,_0x5d8d60,_0xd6c1c7,_0x14e6fb,_0x5072f0,_0x19b323,_0x147f83){var _0x110b04=_0x49c60f;for(var _0x55b110=this[_0x110b04(0x307)],_0x320620=_0x6d0fab[_0x5985c5]^_0x5d8d60[0x0],_0x1e9d76=_0x6d0fab[_0x5985c5+0x1]^_0x5d8d60[0x1],_0x3369b4=_0x6d0fab[_0x5985c5+0x2]^_0x5d8d60[0x2],_0x16cb85=_0x6d0fab[_0x5985c5+0x3]^_0x5d8d60[0x3],_0x5f4688=0x4,_0x3ee033=0x1;_0x3ee033<_0x55b110;_0x3ee033++){var _0x584a2a=_0xd6c1c7[_0x320620>>>0x18]^_0x14e6fb[_0x1e9d76>>>0x10&0xff]^_0x5072f0[_0x3369b4>>>0x8&0xff]^_0x19b323[_0x16cb85&0xff]^_0x5d8d60[_0x5f4688++],_0x16e457=_0xd6c1c7[_0x1e9d76>>>0x18]^_0x14e6fb[_0x3369b4>>>0x10&0xff]^_0x5072f0[_0x16cb85>>>0x8&0xff]^_0x19b323[_0x320620&0xff]^_0x5d8d60[_0x5f4688++],_0x5b27d2=_0xd6c1c7[_0x3369b4>>>0x18]^_0x14e6fb[_0x16cb85>>>0x10&0xff]^_0x5072f0[_0x320620>>>0x8&0xff]^_0x19b323[_0x1e9d76&0xff]^_0x5d8d60[_0x5f4688++],_0x4cfd3d=_0xd6c1c7[_0x16cb85>>>0x18]^_0x14e6fb[_0x320620>>>0x10&0xff]^_0x5072f0[_0x1e9d76>>>0x8&0xff]^_0x19b323[_0x3369b4&0xff]^_0x5d8d60[_0x5f4688++];_0x320620=_0x584a2a,_0x1e9d76=_0x16e457,_0x3369b4=_0x5b27d2,_0x16cb85=_0x4cfd3d;}var _0x584a2a=(_0x147f83[_0x320620>>>0x18]<<0x18|_0x147f83[_0x1e9d76>>>0x10&0xff]<<0x10|_0x147f83[_0x3369b4>>>0x8&0xff]<<0x8|_0x147f83[_0x16cb85&0xff])^_0x5d8d60[_0x5f4688++],_0x16e457=(_0x147f83[_0x1e9d76>>>0x18]<<0x18|_0x147f83[_0x3369b4>>>0x10&0xff]<<0x10|_0x147f83[_0x16cb85>>>0x8&0xff]<<0x8|_0x147f83[_0x320620&0xff])^_0x5d8d60[_0x5f4688++],_0x5b27d2=(_0x147f83[_0x3369b4>>>0x18]<<0x18|_0x147f83[_0x16cb85>>>0x10&0xff]<<0x10|_0x147f83[_0x320620>>>0x8&0xff]<<0x8|_0x147f83[_0x1e9d76&0xff])^_0x5d8d60[_0x5f4688++],_0x4cfd3d=(_0x147f83[_0x16cb85>>>0x18]<<0x18|_0x147f83[_0x320620>>>0x10&0xff]<<0x10|_0x147f83[_0x1e9d76>>>0x8&0xff]<<0x8|_0x147f83[_0x3369b4&0xff])^_0x5d8d60[_0x5f4688++];_0x6d0fab[_0x5985c5]=_0x584a2a,_0x6d0fab[_0x5985c5+0x1]=_0x16e457,_0x6d0fab[_0x5985c5+0x2]=_0x5b27d2,_0x6d0fab[_0x5985c5+0x3]=_0x4cfd3d;},'keySize':0x100/0x20});_0x52343f[_0x49c60f(0x382)]=_0x212df9['_createHelper'](_0x5dee4d);}()),_0xb135f8[_0x2a4f18(0x382)];}));}(fe)),fe[_0x56f134(0x1e2)];}var $i=Hi();const ji=ve($i);var Bi=yt();const nt=ve(Bi);var be={'exports':{}},Fi=be[_0x285f88(0x1e2)],rt;function Vi(){var _0x290160=_0x285f88;return rt||(rt=0x1,function(_0x3ce8f1,_0x45a2fa){(function(_0x40ce4d,_0x2abb70){var _0x4a0b7b=_0x2f99;_0x3ce8f1[_0x4a0b7b(0x1e2)]=_0x2abb70(Q());}(Fi,function(_0x3b13b9){var _0x5087d6=_0x2f99;return _0x3b13b9[_0x5087d6(0x2db)]['Utf8'];}));}(be)),be[_0x290160(0x1e2)];}var Wi=Vi();const Yi=ve(Wi);var Re={'exports':{}},Gi=Re['exports'],st;function Ki(){var _0x42b6d9=_0x285f88;return st||(st=0x1,function(_0x37e150,_0xaa1440){(function(_0x2a60bc,_0x13e43a){_0x37e150['exports']=_0x13e43a(Q());}(Gi,function(_0x342395){var _0x135101=_0x2f99;return(function(){var _0x4aee06=_0x2f99;if(typeof ArrayBuffer=='function'){var _0x315d2c=_0x342395,_0x18c059=_0x315d2c[_0x4aee06(0x459)],_0x3c50b0=_0x18c059[_0x4aee06(0x239)],_0x50f93f=_0x3c50b0[_0x4aee06(0x3cb)],_0x26b49a=_0x3c50b0[_0x4aee06(0x3cb)]=function(_0x12d04f){var _0x49833d=_0x4aee06;if(_0x12d04f instanceof ArrayBuffer&&(_0x12d04f=new Uint8Array(_0x12d04f)),(_0x12d04f instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x12d04f instanceof Uint8ClampedArray||_0x12d04f instanceof Int16Array||_0x12d04f instanceof Uint16Array||_0x12d04f instanceof Int32Array||_0x12d04f instanceof Uint32Array||_0x12d04f instanceof Float32Array||_0x12d04f instanceof Float64Array)&&(_0x12d04f=new Uint8Array(_0x12d04f[_0x49833d(0x45d)],_0x12d04f[_0x49833d(0x346)],_0x12d04f['byteLength'])),_0x12d04f instanceof Uint8Array){for(var _0x168531=_0x12d04f[_0x49833d(0x4b7)],_0x5b2f96=[],_0x1f6424=0x0;_0x1f6424<_0x168531;_0x1f6424++)_0x5b2f96[_0x1f6424>>>0x2]|=_0x12d04f[_0x1f6424]<<0x18-_0x1f6424%0x4*0x8;_0x50f93f[_0x49833d(0x207)](this,_0x5b2f96,_0x168531);}else _0x50f93f[_0x49833d(0x414)](this,arguments);};_0x26b49a['prototype']=_0x3c50b0;}}()),_0x342395[_0x135101(0x459)][_0x135101(0x239)];}));}(Re)),Re[_0x42b6d9(0x1e2)];}var qi=Ki();const zi=ve(qi);var Oe={'exports':{}},Ji=Oe[_0x285f88(0x1e2)],ot;function Xi(){var _0x2ab057=_0x285f88;return ot||(ot=0x1,function(_0x29512e,_0x59ad56){(function(_0x2e36f8,_0x1cd267,_0x45d955){var _0x17e53f=_0x2f99;_0x29512e[_0x17e53f(0x1e2)]=_0x1cd267(Q(),Dt());}(Ji,function(_0x4cd442){var _0x485fd4=_0x2f99;return _0x4cd442['pad'][_0x485fd4(0x187)]={'pad':function(){},'unpad':function(){}},_0x4cd442['pad'][_0x485fd4(0x187)];}));}(Oe)),Oe[_0x2ab057(0x1e2)];}var Zi=Xi();const Qi=ve(Zi);function en(_0x3eab98,_0x29bad6){var _0x245f94=_0x285f88;const _0x3f8e41=_0x29bad6-_0x3eab98['length']%_0x29bad6,_0x5c3c83=String[_0x245f94(0x3b4)](_0x3f8e41)[_0x245f94(0x29d)](_0x3f8e41);return _0x3eab98+_0x5c3c83;}function tn(_0x6a36bb,_0x2e5c8f){var _0x45407b=_0x285f88;const _0x31cc61=zi[_0x45407b(0x486)](0x10),_0x5dddc6=en(_0x6a36bb,0x10),_0x1de37f=ji[_0x45407b(0x48a)](Yi[_0x45407b(0x4b0)](_0x5dddc6),nt[_0x45407b(0x4b0)](_0x2e5c8f),{'iv':_0x31cc61,'padding':Qi});return _0x31cc61[_0x45407b(0x230)](_0x1de37f[_0x45407b(0x302)])[_0x45407b(0x496)](nt);}function nn(){var _0x4177f6=_0x285f88;const _0x21406d=Lt[_0x4177f6(0x222)]()['__Key__'];if(_0x21406d){const _0x26e487={'time':Math['floor'](Date['now']()/0x3e8),'domain':location[_0x4177f6(0x455)]};return tn(JSON[_0x4177f6(0x437)](_0x26e487),_0x21406d);}}var rn=Object['getOwnPropertyDescriptor'],sn=(_0xde9591,_0x40fed7,_0x44f309,_0x66bafb)=>{for(var _0xa6627a=_0x66bafb>0x1?void 0x0:_0x66bafb?rn(_0x40fed7,_0x44f309):_0x40fed7,_0x28f217=_0xde9591['length']-0x1,_0x3bee18;_0x28f217>=0x0;_0x28f217--)(_0x3bee18=_0xde9591[_0x28f217])&&(_0xa6627a=_0x3bee18(_0xa6627a)||_0xa6627a);return _0xa6627a;},on=(_0x2264e4,_0x3e0443)=>(_0x342c6e,_0x4e8588)=>_0x3e0443(_0x342c6e,_0x4e8588,_0x2264e4);let Ne=class{constructor(_0x122439){var _0x168b72=_0x285f88;this[_0x168b72(0x3ad)]=_0x122439,this[_0x168b72(0x3fe)]();}['_initRequestHeader'](){var _0xf0efda=_0x285f88;this[_0xf0efda(0x3ad)]['registerHTTPInterceptor']({'interceptor':(_0xd18122,_0x4c2ac0)=>{var _0x2972be=_0xf0efda;const _0x40a8e7=_0xd18122['headers'],_0x3d90c8=nn();return _0x3d90c8&&_0x40a8e7[_0x2972be(0x16d)](_0x2972be(0x462),_0x3d90c8),_0x4c2ac0(_0xd18122);}});}};Ne=sn([on(0x0,a[_0x285f88(0x449)](K[_0x285f88(0x163)]))],Ne);var an=Object[_0x285f88(0x166)],cn=(_0x19f446,_0x227f93,_0x17f2ed,_0x178f80)=>{for(var _0x2bc3a8=_0x178f80>0x1?void 0x0:_0x178f80?an(_0x227f93,_0x17f2ed):_0x227f93,_0x5a5039=_0x19f446['length']-0x1,_0x25975d;_0x5a5039>=0x0;_0x5a5039--)(_0x25975d=_0x19f446[_0x5a5039])&&(_0x2bc3a8=_0x25975d(_0x2bc3a8)||_0x2bc3a8);return _0x2bc3a8;},Le=(_0x1e372b,_0x247471)=>(_0x5f0713,_0x38869a)=>_0x247471(_0x5f0713,_0x38869a,_0x1e372b);exports[_0x285f88(0x1c2)]=class extends a['RxDisposable']{constructor(_0x1b8858,_0x484f1c,_0xb24e93){var _0x540220=_0x285f88;super(),A(this,_0x540220(0x3c6),new $['BehaviorSubject'](null)),A(this,_0x540220(0x3cc),this[_0x540220(0x3c6)]['asObservable']()),(this[_0x540220(0x47e)]=_0x1b8858,this[_0x540220(0x322)]=_0x484f1c,this['_localCacheService']=_0xb24e93);}async['loadUnitOfRevision'](_0x45d29d,_0x124950,_0x1999c3){var _0x1ea471=_0x285f88;this[_0x1ea471(0x3c6)][_0x1ea471(0x464)]({'unitId':_0x45d29d,'type':_0x124950});let _0x1bf172=null;switch(_0x124950){case J[_0x1ea471(0x433)]:{_0x1bf172=await this[_0x1ea471(0x322)][_0x1ea471(0x2fb)](_0x45d29d,_0x1999c3);break;}case J[_0x1ea471(0x152)]:{_0x1bf172=await this[_0x1ea471(0x322)][_0x1ea471(0x308)](_0x45d29d,_0x1999c3);break;}default:{this[_0x1ea471(0x47e)][_0x1ea471(0x451)](_0x1ea471(0x1d0),_0x1ea471(0x4c0));break;}}return _0x1bf172;}async[_0x285f88(0x368)](_0x27e509,_0x2208a9,_0x1c8927){var _0x32e651=_0x285f88,_0x426f40;this[_0x32e651(0x3c6)][_0x32e651(0x464)]({'unitId':_0x27e509,'type':_0x2208a9,'subUnitId':_0x1c8927});let _0x397acb=0x0;const _0x49ded7=await((_0x426f40=this[_0x32e651(0x1c5)])==null?void 0x0:_0x426f40['loadOfflineData'](_0x27e509));return _0x49ded7&&(_0x49ded7[_0x32e651(0x1f7)]||_0x49ded7[_0x32e651(0x1b9)][_0x32e651(0x32b)]!==0x0)&&(_0x397acb=_0x49ded7['rev']),_0x397acb===0x0&&this[_0x32e651(0x47e)][_0x32e651(0x3b2)](_0x32e651(0x1d0),_0x32e651(0x460)),this[_0x32e651(0x2bb)](_0x27e509,_0x2208a9,_0x397acb);}},exports[_0x285f88(0x1c2)]=cn([Le(0x0,a['ILogService']),Le(0x1,a[_0x285f88(0x449)](p[_0x285f88(0x246)])),Le(0x2,a[_0x285f88(0x203)](q))],exports[_0x285f88(0x1c2)]);var hn=Object[_0x285f88(0x166)],_n=(_0x2b5548,_0x152828,_0x4f7075,_0x220512)=>{var _0x33dd6e=_0x285f88;for(var _0x88af00=_0x220512>0x1?void 0x0:_0x220512?hn(_0x152828,_0x4f7075):_0x152828,_0x4503b5=_0x2b5548[_0x33dd6e(0x32b)]-0x1,_0xd3389d;_0x4503b5>=0x0;_0x4503b5--)(_0xd3389d=_0x2b5548[_0x4503b5])&&(_0x88af00=_0xd3389d(_0x88af00)||_0x88af00);return _0x88af00;},we=(_0xf970c6,_0x3ebbb1)=>(_0x1339f,_0x14c112)=>_0x3ebbb1(_0x1339f,_0x14c112,_0xf970c6);const ln=['image/png',_0x285f88(0x4a9),_0x285f88(0x4c1),_0x285f88(0x310),'image/bmp'],un=0x5*0x400*0x400,dn='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',vn=_0x285f88(0x208),Sn=_0x285f88(0x256),fn='/universer-api/file/{fileID}/sign-url';exports[_0x285f88(0x226)]=class{constructor(_0x47b823,_0x4700ac,_0x13241d){var _0x52fafd=_0x285f88;A(this,_0x52fafd(0x46b),0x0),A(this,'_change$',new $[(_0x52fafd(0x3c7))]()),A(this,'change$',this['_change$']),A(this,_0x52fafd(0x220),new Map()),(this[_0x52fafd(0x3ad)]=_0x47b823,this['_configService']=_0x4700ac,this[_0x52fafd(0x393)]=_0x13241d);}[_0x285f88(0x287)](_0x3e915e){var _0x323c6b=_0x285f88;this['_waitCount']=_0x3e915e,this['_change$'][_0x323c6b(0x464)](_0x3e915e);}[_0x285f88(0x3b1)](_0x4ba535,_0x3a99c1){var _0x3b51b2=_0x285f88;if(_0x3a99c1===z[_0x3b51b2(0x189)][_0x3b51b2(0x2aa)]){const _0x13c432=new Image();return _0x13c432[_0x3b51b2(0x329)]=_0x4ba535,_0x13c432;}return this[_0x3b51b2(0x220)][_0x3b51b2(0x4aa)](_0x4ba535);}[_0x285f88(0x428)](_0x54ab8b,_0x1a979e,_0x323db0){var _0x1f8efc=_0x285f88;_0x1a979e===z[_0x1f8efc(0x189)][_0x1f8efc(0x2aa)]||_0x323db0==null||this['_imageSourceCache'][_0x1f8efc(0x16d)](_0x54ab8b,_0x323db0);}async['getImage'](_0x1c74b5){var _0x5aff2b=_0x285f88;try{const _0x23341d=this[_0x5aff2b(0x27c)](this[_0x5aff2b(0x3ca)](),''+_0x1c74b5),_0x4fd64b=(await this[_0x5aff2b(0x3ad)][_0x5aff2b(0x4aa)](_0x23341d))[_0x5aff2b(0x17b)];if(_0x4fd64b[_0x5aff2b(0x451)]&&_0x4fd64b['error'][_0x5aff2b(0x3fc)]===gt['OK']){const _0x45b86a=new URL(_0x4fd64b[_0x5aff2b(0x1cf)],this[_0x5aff2b(0x3c3)]())[_0x5aff2b(0x496)]();return Promise[_0x5aff2b(0x397)](_0x45b86a);}return Promise[_0x5aff2b(0x3b5)](_0x4fd64b[_0x5aff2b(0x451)]);}catch(_0x11a67f){return Promise['reject'](_0x11a67f);}}async[_0x285f88(0x41a)](_0x5b3e31){var _0x400c40=_0x285f88;let _0x1067fb='';if(!ln['includes'](_0x5b3e31[_0x400c40(0x46c)]))return this['_decreaseWaiting'](),Promise['reject'](new Error(z[_0x400c40(0x395)]['ERROR_IMAGE_TYPE']));if(_0x5b3e31[_0x400c40(0x37c)]>un)return this[_0x400c40(0x387)](),Promise['reject'](new Error(z[_0x400c40(0x395)][_0x400c40(0x201)]));try{const _0x4d2617=new FormData();_0x4d2617['append'](_0x400c40(0x447),_0x5b3e31);const _0x2b1915=this[_0x400c40(0x393)]['getFocusedUnit'](),_0x39aba0=_0x2b1915==null?void 0x0:_0x2b1915[_0x400c40(0x349)]();if(!_0x39aba0)throw new Error('unitId\x20is\x20not\x20found');const _0x179b54=this['_getUploadFileURL']()+'?size='+_0x5b3e31['size'][_0x400c40(0x496)]()+'&source='+Et[_0x400c40(0x2cb)]+'&assign='+encodeURIComponent(_0x39aba0),_0x3218d4={'body':_0x4d2617},_0x121a56=(await this[_0x400c40(0x3ad)][_0x400c40(0x3af)](_0x179b54,_0x3218d4))[_0x400c40(0x17b)];if(typeof _0x121a56[_0x400c40(0x1fa)]!=_0x400c40(0x1a3))return this[_0x400c40(0x387)](),Promise[_0x400c40(0x3b5)](new Error(z[_0x400c40(0x395)][_0x400c40(0x367)]));_0x1067fb=_0x121a56[_0x400c40(0x1fa)];}catch{return this[_0x400c40(0x387)](),Promise['reject'](new Error(z[_0x400c40(0x395)]['ERROR_IMAGE']));}return new Promise((_0x16f2ff,_0x57ceb1)=>{var _0x4e07b5=_0x400c40;const _0x484f13=new FileReader();_0x484f13[_0x4e07b5(0x1f8)](_0x5b3e31),_0x484f13[_0x4e07b5(0x4a3)]=_0x39c9f9=>{var _0x33bfd6=_0x4e07b5,_0x4031cc;const _0xe26319=(_0x4031cc=_0x39c9f9['target'])==null?void 0x0:_0x4031cc[_0x33bfd6(0x471)];if(_0xe26319==null){this[_0x33bfd6(0x387)](),_0x57ceb1(new Error(z[_0x33bfd6(0x395)][_0x33bfd6(0x367)]));return;}const _0x198c38=a[_0x33bfd6(0x2a0)][_0x33bfd6(0x438)](0x6);_0x16f2ff({'imageId':_0x198c38,'imageSourceType':z[_0x33bfd6(0x189)]['UUID'],'source':_0x1067fb,'base64Cache':_0xe26319,'status':z[_0x33bfd6(0x395)][_0x33bfd6(0x26c)]}),this[_0x33bfd6(0x387)]();};});}['_getUploadFileURL'](){var _0x49697b=_0x285f88,_0x143d7e,_0x21a45b;const _0x5e2b80=this[_0x49697b(0x479)][_0x49697b(0x17c)](dn),_0x58631b=this[_0x49697b(0x479)]['getConfig'](G);return(_0x21a45b=(_0x143d7e=_0x58631b==null?void 0x0:_0x58631b[_0x49697b(0x2ed)])!=null?_0x143d7e:_0x5e2b80)!=null?_0x21a45b:vn;}['_getSignURL'](){var _0x1b00b9=_0x285f88,_0x3a20e4,_0x46c685;const _0xf44335=this[_0x1b00b9(0x479)][_0x1b00b9(0x17c)](Sn),_0x578d76=this['_configService'][_0x1b00b9(0x17c)](G);return(_0x46c685=(_0x3a20e4=_0x578d76==null?void 0x0:_0x578d76[_0x1b00b9(0x24a)])!=null?_0x3a20e4:_0xf44335)!=null?_0x46c685:fn;}['_getDownloadEndpointURL'](){var _0x1d6514=_0x285f88,_0x406c09;const _0x108a55=this[_0x1d6514(0x479)]['getConfig'](G);return(_0x406c09=_0x108a55==null?void 0x0:_0x108a55[_0x1d6514(0x2c5)])!=null?_0x406c09:location[_0x1d6514(0x422)];}[_0x285f88(0x27c)](_0xbd5f1f,_0x42f39b){var _0x5ded6c=_0x285f88;return _0xbd5f1f['replace'](_0x5ded6c(0x44f),_0x42f39b);}[_0x285f88(0x387)](){var _0x1bcf70=_0x285f88;this[_0x1bcf70(0x46b)]-=0x1,this[_0x1bcf70(0x283)][_0x1bcf70(0x464)](this[_0x1bcf70(0x46b)]);}},exports[_0x285f88(0x226)]=_n([we(0x0,a['Inject'](K[_0x285f88(0x163)])),we(0x1,a['IConfigService']),we(0x2,a['Inject'](a[_0x285f88(0x3ea)]))],exports[_0x285f88(0x226)]);var In=Object[_0x285f88(0x166)],pn=(_0x43ed90,_0x266c09,_0x240783,_0x5f0409)=>{var _0x2c6d41=_0x285f88;for(var _0x5e1cb1=_0x5f0409>0x1?void 0x0:_0x5f0409?In(_0x266c09,_0x240783):_0x266c09,_0x472fdf=_0x43ed90[_0x2c6d41(0x32b)]-0x1,_0x49eebc;_0x472fdf>=0x0;_0x472fdf--)(_0x49eebc=_0x43ed90[_0x472fdf])&&(_0x5e1cb1=_0x49eebc(_0x5e1cb1)||_0x5e1cb1);return _0x5e1cb1;},at=(_0x3110ee,_0x5b1860)=>(_0x15b253,_0x1e60e5)=>_0x5b1860(_0x15b253,_0x1e60e5,_0x3110ee);const gn=_0x285f88(0x37b);exports[_0x285f88(0x1b2)]=class{constructor(_0x1fbb9a,_0x56675a){var _0x187596=_0x285f88;this[_0x187596(0x479)]=_0x1fbb9a,this['_HTTPService']=_0x56675a;}[_0x285f88(0x31a)](){var _0x1ff94c=_0x285f88,_0x558053,_0x835ec9;const _0x37326e=this[_0x1ff94c(0x479)]['getConfig'](Ve),_0x15460f=this[_0x1ff94c(0x479)][_0x1ff94c(0x17c)](G);return(_0x835ec9=(_0x558053=_0x15460f==null?void 0x0:_0x15460f[_0x1ff94c(0x47a)])!=null?_0x558053:_0x37326e)!=null?_0x835ec9:gn;}async[_0x285f88(0x22d)](_0x2e2e82){var _0x453e8f=_0x285f88;const _0xf300c8=this[_0x453e8f(0x31a)]()+_0x453e8f(0x3f1);return{'list':[{'title':_0x453e8f(0x323),'mentions':(await this['_HTTPService']['get'](_0xf300c8,{'params':{'objectID':_0x2e2e82[_0x453e8f(0x21e)],'unitID':_0x2e2e82[_0x453e8f(0x21e)]}}))[_0x453e8f(0x17b)][_0x453e8f(0x34b)][_0x453e8f(0x476)](_0xc8099d=>({'objectId':_0xc8099d['id'],'name':_0xc8099d[_0x453e8f(0x1d2)][_0x453e8f(0x157)],'metadata':{'icon':_0xc8099d[_0x453e8f(0x1d2)][_0x453e8f(0x366)]},'label':_0xc8099d[_0x453e8f(0x1d2)]['name'],'objectType':a['MentionType'][_0x453e8f(0x495)]})),'metadata':{},'type':a[_0x453e8f(0x1db)][_0x453e8f(0x495)]}]};}},exports[_0x285f88(0x1b2)]=pn([at(0x0,a[_0x285f88(0x449)](a['IConfigService'])),at(0x1,a[_0x285f88(0x449)](K[_0x285f88(0x163)]))],exports['MentionIoHttpService']);var En=Object[_0x285f88(0x166)],mn=(_0x1a5d53,_0x1e2a2a,_0x2a4233,_0x4442f2)=>{var _0x1ac382=_0x285f88;for(var _0x4ddb8c=_0x4442f2>0x1?void 0x0:_0x4442f2?En(_0x1e2a2a,_0x2a4233):_0x1e2a2a,_0x4021dc=_0x1a5d53[_0x1ac382(0x32b)]-0x1,_0x4807b8;_0x4021dc>=0x0;_0x4021dc--)(_0x4807b8=_0x1a5d53[_0x4021dc])&&(_0x4ddb8c=_0x4807b8(_0x4ddb8c)||_0x4ddb8c);return _0x4ddb8c;},le=(_0x2ec458,_0x54c826)=>(_0x565600,_0x238967)=>_0x54c826(_0x565600,_0x238967,_0x2ec458);let De=class extends a[_0x285f88(0x1d3)]{constructor(_0x43bcde,_0x37baff,_0x4f02f1,_0x3ab679,_0x3a693a){var _0x3d094d=_0x285f88;super(),this[_0x3d094d(0x241)]=_0x43bcde,this[_0x3d094d(0x393)]=_0x37baff,this[_0x3d094d(0x2f0)]=_0x4f02f1,this['_collaborationSessionService']=_0x3ab679,this['_collaborationUIEventService']=_0x3a693a,this['_initUnitPermissionChange'](),this[_0x3d094d(0x234)]();}[_0x285f88(0x234)](){var _0x381271=_0x285f88;const _0xa6970c=async _0x2c19f8=>{var _0x23ff72=_0x2f99;(await this[_0x23ff72(0x488)]['requireSession'](_0x2c19f8))[_0x23ff72(0x321)]['pipe'](V[_0x23ff72(0x331)](_0x5e09e0=>_0x5e09e0[_0x23ff72(0x2e1)]===p[_0x23ff72(0x1ad)][_0x23ff72(0x42d)]),V[_0x23ff72(0x22e)](this[_0x23ff72(0x2ea)]))[_0x23ff72(0x2d8)](_0x3fd99a=>{var _0x3e638a=_0x23ff72;const _0x4288f7=_0x3fd99a,{reason:_0x199c69}=_0x4288f7[_0x3e638a(0x2cd)];this[_0x3e638a(0x351)][_0x3e638a(0x46d)]({'id':Z[_0x3e638a(0x27d)],'data':_0x199c69}),this['_permissionService'][_0x3e638a(0x16b)](new X[(_0x3e638a(0x272))](_0x2c19f8)['id'],!0x1),this[_0x3e638a(0x488)][_0x3e638a(0x344)](_0x2c19f8);});};$[_0x381271(0x17a)](this['_univerInstanceService'][_0x381271(0x2e8)](a[_0x381271(0x227)][_0x381271(0x433)]),this[_0x381271(0x393)][_0x381271(0x2e8)](a['UniverInstanceType']['UNIVER_DOC']))[_0x381271(0x41e)](V[_0x381271(0x476)](_0xc3c078=>_0xc3c078[_0x381271(0x349)]()),V[_0x381271(0x331)](_0x4bff36=>!a[_0x381271(0x49a)](_0x4bff36)),V[_0x381271(0x22e)](this[_0x381271(0x2ea)]))['subscribe'](_0x424942=>{_0xa6970c(_0x424942);});}['_initUnitPermissionChange'](){var _0x25e5a3=_0x285f88;const _0x4ef00e=async _0x4e8154=>{var _0x395e86=_0x2f99;const _0x2fadd8=await this[_0x395e86(0x488)][_0x395e86(0x440)](_0x4e8154),_0x1749e4=this[_0x395e86(0x241)][_0x395e86(0x4aa)](X[_0x395e86(0x1e0)]);_0x2fadd8[_0x395e86(0x321)][_0x395e86(0x41e)](V[_0x395e86(0x331)](_0x3002a5=>_0x3002a5[_0x395e86(0x2e1)]===p[_0x395e86(0x1ad)][_0x395e86(0x1e1)]),V['takeUntil'](this[_0x395e86(0x2ea)]))[_0x395e86(0x2d8)](_0x48b6bd=>{var _0xf2ed7a=_0x395e86;const _0x51cb70=_0x48b6bd,{objectId:_0x98788d}=_0x51cb70[_0xf2ed7a(0x2cd)];_0x98788d===_0x4e8154?_0x1749e4['initWorkbookPermissionChange'](_0x4e8154):_0x1749e4[_0xf2ed7a(0x478)](_0x4e8154,_0x98788d);});};$[_0x25e5a3(0x17a)](this[_0x25e5a3(0x393)]['getTypeOfUnitAdded$'](a[_0x25e5a3(0x227)][_0x25e5a3(0x433)]))[_0x25e5a3(0x41e)](V[_0x25e5a3(0x476)](_0x47e2c4=>_0x47e2c4[_0x25e5a3(0x349)]()),V[_0x25e5a3(0x331)](_0x33a24f=>!a[_0x25e5a3(0x49a)](_0x33a24f)),V['takeUntil'](this[_0x25e5a3(0x2ea)]))[_0x25e5a3(0x2d8)](_0x3e3680=>{_0x4ef00e(_0x3e3680);});}};De=mn([le(0x0,a[_0x285f88(0x449)](a[_0x285f88(0x2f2)])),le(0x1,a[_0x285f88(0x3ea)]),le(0x2,a[_0x285f88(0x4ad)]),le(0x3,a[_0x285f88(0x449)](exports[_0x285f88(0x2c1)])),le(0x4,a['Inject'](ee))],De);var Cn=Object['getOwnPropertyDescriptor'],Tn=(_0x2e28d9,_0x4d6acd,_0x4ce47d,_0x5839c2)=>{var _0x4e99be=_0x285f88;for(var _0x27de01=_0x5839c2>0x1?void 0x0:_0x5839c2?Cn(_0x4d6acd,_0x4ce47d):_0x4d6acd,_0x1cabf2=_0x2e28d9[_0x4e99be(0x32b)]-0x1,_0x5d505a;_0x1cabf2>=0x0;_0x1cabf2--)(_0x5d505a=_0x2e28d9[_0x1cabf2])&&(_0x27de01=_0x5d505a(_0x27de01)||_0x27de01);return _0x27de01;},ct=(_0x2b60bc,_0x255fef)=>(_0x284310,_0x58bf5d)=>_0x255fef(_0x284310,_0x58bf5d,_0x2b60bc);exports[_0x285f88(0x4b4)]=class{constructor(_0x4d0d0f,_0x495604){var _0x3071ff=_0x285f88;this['_configService']=_0x4d0d0f,this[_0x3071ff(0x3ad)]=_0x495604;}async[_0x285f88(0x39a)](_0x5aac39,_0x183c03){var _0x1af222=_0x285f88,_0x157f2b;const {unitID:_0x58d696,type:_0x25f4de,revision:_0x3feabc=0x0}=_0x183c03,_0x1b6cb7=this[_0x1af222(0x401)]()+'/'+_0x25f4de+_0x1af222(0x49f)+_0x58d696+'/rev/'+_0x3feabc,_0x178436=(await this[_0x1af222(0x3ad)][_0x1af222(0x4aa)](_0x1b6cb7))['body'],_0x187737=(_0x157f2b=_0x178436['snapshot'])==null?void 0x0:_0x157f2b[_0x1af222(0x2ca)];if(_0x187737){const _0x422ea8=_0x187737==null?void 0x0:_0x187737[_0x1af222(0x435)],_0x299612=p['textEncoder'][_0x1af222(0x2c3)](p['b64DecodeUnicode'](_0x422ea8));_0x187737[_0x1af222(0x435)]=_0x299612,Object[_0x1af222(0x27f)](_0x187737[_0x1af222(0x19d)])[_0x1af222(0x3d3)](([,_0x474116])=>{var _0x1d0cda=_0x1af222;const _0x637031=_0x474116['originalMeta'],_0x478562=p[_0x1d0cda(0x3a3)][_0x1d0cda(0x2c3)](p['b64DecodeUnicode'](_0x637031));_0x474116[_0x1d0cda(0x435)]=_0x478562;});}return _0x178436;}async[_0x285f88(0x342)](_0xa46008,_0x79ee87){var _0x540da6=_0x285f88;const {unitID:_0x5c00bc,type:_0x5686d6,blockID:_0x47f6d5}=_0x79ee87,_0x51a16e=this[_0x540da6(0x15b)]()+'/'+_0x5686d6+_0x540da6(0x49f)+_0x5c00bc+_0x540da6(0x477)+_0x47f6d5;return(await this[_0x540da6(0x3ad)][_0x540da6(0x4aa)](_0x51a16e))[_0x540da6(0x17b)];}async[_0x285f88(0x40b)](_0x5a87fa,_0x454c27){var _0x549126=_0x285f88;const {unitID:_0x388e26,type:_0x520b7f,blockID:_0x19a45b}=_0x454c27,_0x289d26=this['_getAPIPrefix']()+_0x549126(0x477)+_0x520b7f+_0x549126(0x49f)+_0x388e26+_0x549126(0x477)+_0x19a45b;return(await this['_httpService'][_0x549126(0x4aa)](_0x289d26))[_0x549126(0x17b)];}async[_0x285f88(0x16f)](_0x1d4519,_0x5c7110){var _0x15414a=_0x285f88;const {unitID:_0x295f04,type:_0xb434a0,from:_0x4c39b3,to:_0x1b9817}=_0x5c7110,_0x59dcf2=this[_0x15414a(0x15b)]()+'/'+_0xb434a0+_0x15414a(0x49f)+_0x295f04+'/fetchmissing?from='+_0x4c39b3+_0x15414a(0x1e4)+_0x1b9817;return(await this[_0x15414a(0x3ad)]['get'](_0x59dcf2))[_0x15414a(0x17b)];}['getSnapshotAPIPath'](){var _0x21f262=_0x285f88,_0x166e34;return(_0x166e34=this[_0x21f262(0x479)][_0x21f262(0x17c)](lt))!=null?_0x166e34:this[_0x21f262(0x15b)]();}['_getAPIPrefix'](){var _0x53d0d3=_0x285f88,_0x3611d2,_0x4a8fac;const _0x42f93e=this['_configService'][_0x53d0d3(0x17c)](_t),_0x289d1d=this['_configService'][_0x53d0d3(0x17c)](G);return(_0x4a8fac=(_0x3611d2=_0x289d1d==null?void 0x0:_0x289d1d[_0x53d0d3(0x31b)])!=null?_0x3611d2:_0x42f93e)!=null?_0x4a8fac:wt;}async[_0x285f88(0x24f)](_0x19c799,_0x3a941f){var _0x2d3133=_0x285f88;const _0x24ef51=_0x2d3133(0x296)+_0x3a941f[_0x2d3133(0x46c)]+_0x2d3133(0x49f)+_0x3a941f[_0x2d3133(0x2af)]+'/resources';return(await this[_0x2d3133(0x3ad)][_0x2d3133(0x4aa)](_0x24ef51,{'params':{'resourceId':JSON[_0x2d3133(0x437)](_0x3a941f[_0x2d3133(0x3e8)])}}))[_0x2d3133(0x17b)];}['saveSnapshot'](){var _0x3e5faf=_0x285f88;throw new Error(_0x3e5faf(0x25d));}[_0x285f88(0x27b)](){var _0xae965f=_0x285f88;throw new Error(_0xae965f(0x25d));}[_0x285f88(0x216)](){var _0x2e1a5e=_0x285f88;throw new Error(_0x2e1a5e(0x25d));}['saveChangeset'](){var _0x2ac7ed=_0x285f88;throw new Error(_0x2ac7ed(0x25d));}[_0x285f88(0x3c4)](){var _0x418982=_0x285f88;throw new Error(_0x418982(0x25d));}[_0x285f88(0x21a)](){var _0x40650a=_0x285f88;throw new Error(_0x40650a(0x25d));}},exports[_0x285f88(0x4b4)]=Tn([ct(0x0,a[_0x285f88(0x32c)]),ct(0x1,a[_0x285f88(0x449)](K['HTTPService']))],exports[_0x285f88(0x4b4)]);var bn=Object[_0x285f88(0x166)],Rn=(_0x37cb72,_0x22e88a,_0x2abed1,_0x5d61b2)=>{for(var _0x523ff8=_0x5d61b2>0x1?void 0x0:_0x5d61b2?bn(_0x22e88a,_0x2abed1):_0x22e88a,_0x321d87=_0x37cb72['length']-0x1,_0x235884;_0x321d87>=0x0;_0x321d87--)(_0x235884=_0x37cb72[_0x321d87])&&(_0x523ff8=_0x235884(_0x523ff8)||_0x523ff8);return _0x523ff8;},ue=(_0xfcc154,_0x3ac89f)=>(_0xc579f,_0x2ad142)=>_0x3ac89f(_0xc579f,_0x2ad142,_0xfcc154);exports[_0x285f88(0x492)]=class extends a['LocalUndoRedoService']{constructor(_0xf9a9ac,_0x2cf7cd,_0x15ea73,_0x121d13,_0x3b328e){var _0x3dba40=_0x285f88;super(_0xf9a9ac,_0x2cf7cd,_0x15ea73),this[_0x3dba40(0x453)]=_0x121d13,this[_0x3dba40(0x47e)]=_0x3b328e;}[_0x285f88(0x347)](_0x6ba71f,_0x361a87){var _0x49f492=_0x285f88;const _0x59f718=this[_0x49f492(0x2a7)](_0x6ba71f);if(_0x59f718)try{const _0x3fd077=this[_0x49f492(0x240)](_0x59f718,_0x361a87);this['_substituteUndoStack'](_0x6ba71f,_0x3fd077);}catch(_0x59c2fc){this[_0x49f492(0x47e)][_0x49f492(0x451)](_0x49f492(0x35e),_0x59c2fc),this['_clearUndo'](_0x6ba71f);}const _0x18d2d4=this[_0x49f492(0x235)](_0x6ba71f);if(_0x18d2d4)try{const _0x228105=this[_0x49f492(0x240)](_0x18d2d4,_0x361a87);this[_0x49f492(0x46e)](_0x6ba71f,_0x228105);}catch(_0x2163dc){this[_0x49f492(0x47e)][_0x49f492(0x451)](_0x2163dc),this[_0x49f492(0x423)](_0x6ba71f);}}[_0x285f88(0x4b5)](_0x60331f){var _0x5a90ff=_0x285f88;const _0x239de6=this['_getUndoStack'](_0x60331f);_0x239de6&&(_0x239de6[_0x5a90ff(0x32b)]=0x0,this[_0x5a90ff(0x1b0)]());}[_0x285f88(0x423)](_0x5d03ea){var _0x1bbc6c=_0x285f88;const _0x14385d=this[_0x1bbc6c(0x235)](_0x5d03ea);_0x14385d&&(_0x14385d[_0x1bbc6c(0x32b)]=0x0,this[_0x1bbc6c(0x1b0)]());}[_0x285f88(0x22b)](_0x320b2b,_0x524676){var _0x35d108=_0x285f88;this[_0x35d108(0x2f7)][_0x35d108(0x16d)](_0x320b2b,_0x524676),this['_updateStatus']();}['_substituteRedoStack'](_0x4e6d5b,_0x32156c){var _0x575e9b=_0x285f88;this[_0x575e9b(0x343)][_0x575e9b(0x16d)](_0x4e6d5b,_0x32156c),this['_updateStatus']();}[_0x285f88(0x240)](_0x2fd39f,_0x1f2719){var _0x2161a5=_0x285f88;const _0x4f6c59=[];let _0x15cf32=_0x1f2719,_0x1d715e=_0x1f2719;for(let _0x330e0a=_0x2fd39f[_0x2161a5(0x32b)]-0x1;_0x330e0a>=0x0;_0x330e0a--){const {unitID:_0x110765,undoMutations:_0x1946c0,redoMutations:_0xcadde8}=_0x2fd39f[_0x330e0a],_0x12890a=this['_transformService']['transformMutationsWithChangeset'](_0x15cf32,_0x1946c0),_0x41b057=this[_0x2161a5(0x453)][_0x2161a5(0x3ba)](_0x1d715e,_0xcadde8);if(p['isTransformMutationsWithChangesetFailure'](_0x12890a)||p['isTransformMutationsWithChangesetFailure'](_0x41b057)){this['_logService'][_0x2161a5(0x451)](_0x2161a5(0x35e),_0x2161a5(0x18a),_0x12890a,_0x41b057);break;}_0x15cf32=_0x12890a[_0x2161a5(0x427)],_0x1d715e=_0x41b057[_0x2161a5(0x427)],_0x4f6c59[_0x2161a5(0x19b)]({'unitID':_0x110765,'undoMutations':_0x12890a[_0x2161a5(0x429)],'redoMutations':_0x41b057[_0x2161a5(0x429)]});}return _0x4f6c59[_0x2161a5(0x3dc)]();}},exports[_0x285f88(0x492)]=Rn([ue(0x0,a[_0x285f88(0x3ea)]),ue(0x1,a[_0x285f88(0x295)]),ue(0x2,a['IContextService']),ue(0x3,p[_0x285f88(0x293)]),ue(0x4,a[_0x285f88(0x160)])],exports[_0x285f88(0x492)]);var On=Object[_0x285f88(0x44d)],yn=Object[_0x285f88(0x166)],Nn=(_0x32e08d,_0x323b95,_0x42f088)=>_0x323b95 in _0x32e08d?On(_0x32e08d,_0x323b95,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x42f088}):_0x32e08d[_0x323b95]=_0x42f088,Dn=(_0x5d9a36,_0x5de601,_0x2528f,_0x124b12)=>{var _0x2d6ffd=_0x285f88;for(var _0x2ada26=_0x124b12>0x1?void 0x0:_0x124b12?yn(_0x5de601,_0x2528f):_0x5de601,_0x24d27b=_0x5d9a36[_0x2d6ffd(0x32b)]-0x1,_0x43a63e;_0x24d27b>=0x0;_0x24d27b--)(_0x43a63e=_0x5d9a36[_0x24d27b])&&(_0x2ada26=_0x43a63e(_0x2ada26)||_0x2ada26);return _0x2ada26;},Me=(_0x4585b8,_0x142ea4)=>(_0x4b15bd,_0x567aa9)=>_0x142ea4(_0x4b15bd,_0x567aa9,_0x4585b8),Un=(_0x2ca759,_0x479e18,_0x4a4c3d)=>Nn(_0x2ca759,_0x479e18+'',_0x4a4c3d);const An=_0x285f88(0x186);exports['UniverCollaborationClientPlugin']=class extends a[_0x285f88(0x1f0)]{constructor(_0x1dd034,_0x48e1cc,_0x73cd90,_0x170744){var _0x338cac=_0x285f88;super(),A(this,_0x338cac(0x298)),(this[_0x338cac(0x47e)]=_0x48e1cc,this['_injector']=_0x73cd90,this[_0x338cac(0x479)]=_0x170744);const {..._0x1d91f4}=a['merge']({},Kt,_0x1dd034);if(!_0x1d91f4[_0x338cac(0x474)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x338cac(0x298)]=_0x1d91f4,this[_0x338cac(0x479)][_0x338cac(0x2bd)](G,_0x1d91f4);}[_0x285f88(0x3cf)](){var _0xa98ad2=_0x285f88;this['_registerDependencies'](),this[_0xa98ad2(0x31f)]();}['_registerDependencies'](){var _0x26591a=_0x285f88,_0xbc283e,_0x36b167;this[_0x26591a(0x241)][_0x26591a(0x18e)](a[_0x26591a(0x188)])&&this[_0x26591a(0x47e)][_0x26591a(0x451)](_0x26591a(0x31c),_0x26591a(0x275));const _0x2aa2ee=a[_0x26591a(0x41c)]([[a['IUndoRedoService'],{'useClass':exports[_0x26591a(0x492)]}],[exports[_0x26591a(0x2c1)]],[exports[_0x26591a(0x1f4)]],[exports[_0x26591a(0x1e3)]],[ye],[Ne],[$e],[De],[ee],[exports[_0x26591a(0x1c2)]],[He,{'useClass':this[_0x26591a(0x298)]['socketService']}],[p[_0x26591a(0x199)],{'useClass':exports[_0x26591a(0x4b4)]}],[a[_0x26591a(0x47b)],{'useClass':exports[_0x26591a(0x236)]}],[z['IImageIoService'],{'useClass':exports[_0x26591a(0x226)]}],[a['IMentionIOService'],{'useClass':exports[_0x26591a(0x1b2)]}],[exports[_0x26591a(0x457)]],[xe]],(_0xbc283e=this[_0x26591a(0x298)])==null?void 0x0:_0xbc283e[_0x26591a(0x1b8)]);if(!((_0x36b167=this[_0x26591a(0x298)])!=null&&_0x36b167[_0x26591a(0x35d)])){const _0x5e29cf=_0x2aa2ee[_0x26591a(0x21f)](([_0x228429])=>_0x228429===de);_0x5e29cf!==-0x1&&_0x2aa2ee['splice'](_0x5e29cf,0x1);}a[_0x26591a(0x32f)](this[_0x26591a(0x241)],_0x2aa2ee);}[_0x285f88(0x31f)](){var _0x1485cc=_0x285f88,_0x142569,_0x25dee3,_0x61ed1c;this[_0x1485cc(0x241)][_0x1485cc(0x4aa)](K['HTTPService'])[_0x1485cc(0x175)]({'priority':0x14,'interceptor':K['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x142569=this[_0x1485cc(0x298)])!=null&&_0x142569['enableOfflineEditing']||(_0x25dee3=this[_0x1485cc(0x241)][_0x1485cc(0x4aa)](q,a[_0x1485cc(0x431)][_0x1485cc(0x41b)]))==null||_0x25dee3[_0x1485cc(0x1e7)](),(_0x61ed1c=this['_config'])!=null&&_0x61ed1c[_0x1485cc(0x4a2)]&&a[_0x1485cc(0x358)](this[_0x1485cc(0x241)],[[ye]]),a[_0x1485cc(0x358)](this[_0x1485cc(0x241)],[[Ne],[exports['CollaborationController']],[De]]);}},Un(exports[_0x285f88(0x305)],'pluginName',An),exports['UniverCollaborationClientPlugin']=Dn([a['DependentOn'](p[_0x285f88(0x3fd)],K[_0x285f88(0x243)]),Me(0x1,a['ILogService']),Me(0x2,a[_0x285f88(0x449)](a[_0x285f88(0x2f2)])),Me(0x3,a[_0x285f88(0x32c)])],exports[_0x285f88(0x305)]),exports[_0x285f88(0x485)]=Ve,exports[_0x285f88(0x1a8)]=G,exports['COLLAB_SUBMIT_CHANGESET_URL_KEY']=It,exports[_0x285f88(0x164)]=ut,exports[_0x285f88(0x378)]=Be,exports[_0x285f88(0x325)]=Z,exports['CollaborationUIEventService']=ee,exports[_0x285f88(0x22c)]=$e,exports[_0x285f88(0x3f3)]=dt,exports[_0x285f88(0x44c)]=Gt,exports[_0x285f88(0x34a)]=kt,exports[_0x285f88(0x1c8)]=vt,exports['HEARTBEAT_TIMEOUT_KEY']=ke,exports[_0x285f88(0x1f2)]=He,exports['ILocalCacheService']=q,exports[_0x285f88(0x465)]=mt,exports['ISingleActiveUnitService']=de,exports[_0x285f88(0x3df)]=Ft,exports[_0x285f88(0x491)]=Bt,exports[_0x285f88(0x249)]=pt,exports['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=Yt,exports[_0x285f88(0x446)]=ft,exports[_0x285f88(0x25f)]=Mt,exports[_0x285f88(0x448)]=_t,exports['SNAPSHOT_URL_KEY']=lt,exports[_0x285f88(0x1ef)]=re,exports[_0x285f88(0x327)]=je,exports[_0x285f88(0x2bf)]=Ct,exports['getLocalCacheKey']=oi,exports['serializeCombRequest']=Tt;
1
+ 'use strict';var _0x369398=_0x5588;(function(_0x3a4dc7,_0x4814ce){var _0x233828=_0x5588,_0xc195a1=_0x3a4dc7();while(!![]){try{var _0x20d6eb=parseInt(_0x233828(0x47e))/0x1+parseInt(_0x233828(0x362))/0x2+parseInt(_0x233828(0x516))/0x3+-parseInt(_0x233828(0x4e7))/0x4+parseInt(_0x233828(0x3e8))/0x5+-parseInt(_0x233828(0x235))/0x6*(-parseInt(_0x233828(0x436))/0x7)+-parseInt(_0x233828(0x3bf))/0x8*(parseInt(_0x233828(0x223))/0x9);if(_0x20d6eb===_0x4814ce)break;else _0xc195a1['push'](_0xc195a1['shift']());}catch(_0x281d73){_0xc195a1['push'](_0xc195a1['shift']());}}}(_0x1086,0x2d999));var Ut=Object[_0x369398(0x2ff)],At=(_0x3bbd9b,_0x3061d2,_0xd49250)=>_0x3061d2 in _0x3bbd9b?Ut(_0x3bbd9b,_0x3061d2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xd49250}):_0x3bbd9b[_0x3061d2]=_0xd49250,A=(_0x14b1fc,_0x110177,_0xef07)=>At(_0x14b1fc,typeof _0x110177!='symbol'?_0x110177+'':_0x110177,_0xef07);Object[_0x369398(0x2ff)](exports,Symbol['toStringTag'],{'value':_0x369398(0x3af)});const a=require('@univerjs/core'),$=require('rxjs'),V=require('rxjs/operators'),p=require('@univerjs-pro/collaboration'),K=require('@univerjs/network'),Pt=require('@univerjs/telemetry'),ht=require('@univerjs/docs'),X=require('@univerjs/sheets'),z=require('@univerjs/drawing'),Lt=require('@univerjs-pro/license'),_t=_0x369398(0x2c5),wt='/universer-api/snapshot',lt=_0x369398(0x29e),Mt=_0x369398(0x3b2),xt=0x7d0,ut=_0x369398(0x2b1),dt=_0x369398(0x1ed),kt='/universer-api/user/session-ticket',vt='HEARTBEAT_INTERVAL',Ht=0x7530,ke=_0x369398(0x446),St=0x4e20,$t=0x4e20,ft='RETRY_CONNECTING_MAX_COUNT',jt=0x3,Bt=_0x369398(0x326),Ft=0x3e8,It='COLLAB_SUBMIT_CHANGESET_URL',Vt='/universer-api/comb',pt=_0x369398(0x27a),Wt='/universer-api/oidc/authpage',Yt=_0x369398(0x21e),Gt=_0x369398(0x51e);var gt=(_0x408e5e=>(_0x408e5e[_0x408e5e[_0x369398(0x2f0)]=0x0]=_0x369398(0x2f0),_0x408e5e[_0x408e5e['OK']=0x1]='OK',_0x408e5e[_0x408e5e[_0x369398(0x453)]=0x2]=_0x369398(0x453),_0x408e5e[_0x408e5e[_0x369398(0x3a4)]=0x3]=_0x369398(0x3a4),_0x408e5e[_0x408e5e[_0x369398(0x24b)]=0x4]='NOT_FOUND',_0x408e5e[_0x408e5e[_0x369398(0x217)]=0x5]=_0x369398(0x217),_0x408e5e[_0x408e5e['ALREADY_EXISTS']=0x6]=_0x369398(0x39a),_0x408e5e[_0x408e5e['INVALID_ARGUMENT']=0x7]=_0x369398(0x278),_0x408e5e[_0x408e5e[_0x369398(0x54d)]=0x8]=_0x369398(0x54d),_0x408e5e[_0x408e5e[_0x369398(0x4b7)]=0x9]=_0x369398(0x4b7),_0x408e5e[_0x408e5e[_0x369398(0x43f)]=0xa]='LOGIN_FAILED',_0x408e5e[_0x408e5e[_0x369398(0x3c7)]=0xb]=_0x369398(0x3c7),_0x408e5e[_0x408e5e[_0x369398(0x34c)]=0xc]=_0x369398(0x34c),_0x408e5e[_0x408e5e[_0x369398(0x44a)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x408e5e[_0x408e5e['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x369398(0x285),_0x408e5e[_0x408e5e[_0x369398(0x2ee)]=0x1389]=_0x369398(0x2ee),_0x408e5e[_0x408e5e[_0x369398(0x28a)]=0x1771]=_0x369398(0x28a),_0x408e5e[_0x408e5e[_0x369398(0x30c)]=0x1772]=_0x369398(0x30c),_0x408e5e[_0x408e5e[_0x369398(0x2cb)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x408e5e[_0x408e5e[_0x369398(0x239)]=0x1b59]='APPLY_REJECT',_0x408e5e[_0x408e5e[_0x369398(0x455)]=0x1b5a]=_0x369398(0x455),_0x408e5e[_0x408e5e[_0x369398(0x408)]=0x1b5b]=_0x369398(0x408),_0x408e5e[_0x408e5e[_0x369398(0x22d)]=0x1b5c]=_0x369398(0x22d),_0x408e5e[_0x408e5e[_0x369398(0x39b)]=0x1b5d]='APPLY_DUPLICATED',_0x408e5e[_0x408e5e['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x369398(0x501),_0x408e5e[_0x408e5e[_0x369398(0x3b7)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x408e5e[_0x408e5e[_0x369398(0x25b)]=0x232a]=_0x369398(0x25b),_0x408e5e[_0x408e5e['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x369398(0x38f),_0x408e5e[_0x408e5e[_0x369398(0x36d)]=0x232c]=_0x369398(0x36d),_0x408e5e[_0x408e5e['LICENSE_DISTRO_REJECTED']=0x232d]=_0x369398(0x415),_0x408e5e[_0x408e5e[_0x369398(0x262)]=0x2711]=_0x369398(0x262),_0x408e5e[_0x408e5e[_0x369398(0x37e)]=0x2712]=_0x369398(0x37e),_0x408e5e[_0x408e5e[_0x369398(0x4c7)]=0x2713]=_0x369398(0x4c7),_0x408e5e[_0x408e5e[_0x369398(0x461)]=0x2714]=_0x369398(0x461),_0x408e5e[_0x408e5e[_0x369398(0x432)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x408e5e[_0x408e5e[_0x369398(0x546)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x408e5e[_0x408e5e[_0x369398(0x29b)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x408e5e[_0x408e5e[_0x369398(0x4bf)]=0x271d]=_0x369398(0x4bf),_0x408e5e[_0x408e5e[_0x369398(0x1fe)]=0x271e]=_0x369398(0x1fe),_0x408e5e[_0x408e5e[_0x369398(0x365)]=0x271f]=_0x369398(0x365),_0x408e5e[_0x408e5e[_0x369398(0x2a7)]=0x2720]=_0x369398(0x2a7),_0x408e5e[_0x408e5e[_0x369398(0x379)]=0x2af9]=_0x369398(0x379),_0x408e5e[_0x408e5e[_0x369398(0x43d)]=0x2ee1]=_0x369398(0x43d),_0x408e5e[_0x408e5e[_0x369398(0x20f)]=0x2ee2]=_0x369398(0x20f),_0x408e5e[_0x408e5e['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x408e5e[_0x408e5e[_0x369398(0x2e2)]=0x2ee4]=_0x369398(0x2e2),_0x408e5e[_0x408e5e[_0x369398(0x4c3)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x408e5e[_0x408e5e[_0x369398(0x401)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x408e5e[_0x408e5e['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x408e5e[_0x408e5e['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x408e5e[_0x408e5e[_0x369398(0x4e3)]=-0x1]='UNRECOGNIZED',_0x408e5e))(gt||{}),J=(_0x4dcc63=>(_0x4dcc63[_0x4dcc63['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x4dcc63[_0x4dcc63[_0x369398(0x510)]=0x1]=_0x369398(0x510),_0x4dcc63[_0x4dcc63['UNIVER_SHEET']=0x2]=_0x369398(0x4d8),_0x4dcc63[_0x4dcc63[_0x369398(0x41c)]=0x3]=_0x369398(0x41c),_0x4dcc63[_0x4dcc63[_0x369398(0x3c5)]=0x4]=_0x369398(0x3c5),_0x4dcc63[_0x4dcc63[_0x369398(0x4e3)]=-0x1]=_0x369398(0x4e3),_0x4dcc63))(J||{}),W=(_0x30bcc1=>(_0x30bcc1[_0x30bcc1[_0x369398(0x39c)]=0x0]=_0x369398(0x39c),_0x30bcc1[_0x30bcc1[_0x369398(0x2fd)]=0x1]=_0x369398(0x2fd),_0x30bcc1[_0x30bcc1[_0x369398(0x41f)]=0x2]=_0x369398(0x41f),_0x30bcc1[_0x30bcc1['LEAVE']=0x3]=_0x369398(0x4ec),_0x30bcc1[_0x30bcc1['INGEST']=0x4]=_0x369398(0x3f7),_0x30bcc1[_0x30bcc1[_0x369398(0x296)]=0x5]=_0x369398(0x296),_0x30bcc1[_0x30bcc1['RECV']=0x6]=_0x369398(0x3e6),_0x30bcc1[_0x30bcc1[_0x369398(0x4e3)]=-0x1]=_0x369398(0x4e3),_0x30bcc1))(W||{}),oe=(_0x255e6a=>(_0x255e6a[_0x255e6a[_0x369398(0x3eb)]=0x0]=_0x369398(0x3eb),_0x255e6a[_0x255e6a['OK']=0x1]='OK',_0x255e6a[_0x255e6a[_0x369398(0x2ba)]=0x2]=_0x369398(0x2ba),_0x255e6a[_0x255e6a[_0x369398(0x289)]=0x3e9]=_0x369398(0x289),_0x255e6a[_0x255e6a['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x369398(0x2bb),_0x255e6a[_0x255e6a[_0x369398(0x2ca)]=0x3eb]=_0x369398(0x2ca),_0x255e6a[_0x255e6a[_0x369398(0x39d)]=0x3ec]=_0x369398(0x39d),_0x255e6a[_0x255e6a[_0x369398(0x4e3)]=-0x1]='UNRECOGNIZED',_0x255e6a))(oe||{}),Et=(_0x509004=>(_0x509004[_0x509004[_0x369398(0x50c)]=0x0]=_0x369398(0x50c),_0x509004[_0x509004[_0x369398(0x255)]=0x1]=_0x369398(0x255),_0x509004[_0x509004[_0x369398(0x503)]=0x2]='HttpExport',_0x509004[_0x509004[_0x369398(0x4eb)]=0x3]=_0x369398(0x4eb),_0x509004[_0x509004['UnitSnapshot']=0x4]='UnitSnapshot',_0x509004[_0x509004[_0x369398(0x33c)]=0x5]=_0x369398(0x33c),_0x509004[_0x509004['UNRECOGNIZED']=-0x1]=_0x369398(0x4e3),_0x509004))(Et||{});const G=_0x369398(0x513),Kt={};var Z=(_0x3055c9=>(_0x3055c9['OTHER_CLIENT_EDITING']=_0x369398(0x228),_0x3055c9[_0x369398(0x3a4)]=_0x369398(0x3a4),_0x3055c9[_0x369398(0x37a)]=_0x369398(0x37a),_0x3055c9[_0x369398(0x356)]=_0x369398(0x356),_0x3055c9[_0x369398(0x267)]=_0x369398(0x267),_0x3055c9[_0x369398(0x4f0)]=_0x369398(0x4f0),_0x3055c9[_0x369398(0x2d9)]=_0x369398(0x2d9),_0x3055c9[_0x369398(0x4bd)]=_0x369398(0x4bd),_0x3055c9))(Z||{});class ee{constructor(){var _0x17b248=_0x369398;A(this,_0x17b248(0x26c),new $[(_0x17b248(0x1fb))]()),A(this,_0x17b248(0x3a7),this[_0x17b248(0x26c)]['asObservable']());}[_0x369398(0x1e1)](_0x3c22ea){var _0x1fec07=_0x369398;this[_0x1fec07(0x26c)][_0x1fec07(0x25c)](_0x3c22ea);}}const mt=a['createIdentifier'](_0x369398(0x47a));function Ct(_0x159e6c){var _0x1c41d2=_0x369398,_0x195aed,_0x5d3874,_0x3a907c,_0x590ddd,_0x3cd38c;const _0x38ba36=_0x159e6c[_0x1c41d2(0x53b)],_0x44fcf1=JSON[_0x1c41d2(0x337)](_0x38ba36);switch(_0x44fcf1[_0x1c41d2(0x400)]){case W['HEARTBEAT']:case W[_0x1c41d2(0x2fd)]:{const _0x45cce2=_0x44fcf1[_0x1c41d2(0x3d8)];return{..._0x44fcf1,'data':_0x45cce2,'cmd':_0x44fcf1[_0x1c41d2(0x400)]};}case W[_0x1c41d2(0x41f)]:{const _0x52ce1f=_0x44fcf1[_0x1c41d2(0x297)];return{..._0x44fcf1,'data':_0x52ce1f,'cmd':_0x44fcf1[_0x1c41d2(0x400)]};}case W['RECV']:{const _0x4909bf=_0x44fcf1[_0x1c41d2(0x3c9)];switch(_0x4909bf['eventID']){case p['CollaborationEvent'][_0x1c41d2(0x27c)]:return{..._0x44fcf1,'data':{..._0x4909bf,'data':(_0x195aed=_0x4909bf[_0x1c41d2(0x534)])==null?void 0x0:_0x195aed['cs']},'cmd':_0x44fcf1['cmd']};case p[_0x1c41d2(0x473)]['CHANGESET_ACK']:return{..._0x44fcf1,'data':{..._0x4909bf,'data':(_0x5d3874=_0x4909bf[_0x1c41d2(0x241)])==null?void 0x0:_0x5d3874['cs']},'cmd':_0x44fcf1[_0x1c41d2(0x400)]};case p['CollaborationEvent'][_0x1c41d2(0x2d0)]:return{..._0x44fcf1,'data':{..._0x4909bf,'data':(_0x3a907c=_0x4909bf[_0x1c41d2(0x2fa)])==null?void 0x0:_0x3a907c['cs']},'cmd':_0x44fcf1[_0x1c41d2(0x400)]};case p[_0x1c41d2(0x473)][_0x1c41d2(0x286)]:return{..._0x44fcf1,'data':{..._0x4909bf,'data':(_0x590ddd=_0x4909bf[_0x1c41d2(0x22e)])==null?void 0x0:_0x590ddd['cs']},'cmd':_0x44fcf1['cmd']};case p['CollaborationEvent'][_0x1c41d2(0x277)]:return{..._0x44fcf1,'data':{..._0x4909bf,'data':(_0x3cd38c=_0x4909bf[_0x1c41d2(0x22a)])==null?void 0x0:_0x3cd38c['cs']},'cmd':_0x44fcf1[_0x1c41d2(0x400)]};case p[_0x1c41d2(0x473)][_0x1c41d2(0x508)]:return{..._0x44fcf1,'data':{..._0x4909bf,'data':_0x4909bf['updateCursorEvent']},'cmd':_0x44fcf1[_0x1c41d2(0x400)]};case p[_0x1c41d2(0x473)][_0x1c41d2(0x402)]:return{..._0x44fcf1,'data':{..._0x4909bf,'data':_0x4909bf[_0x1c41d2(0x41a)]},'cmd':_0x44fcf1[_0x1c41d2(0x400)]};case p['CollaborationEvent'][_0x1c41d2(0x206)]:return{..._0x44fcf1,'data':{..._0x4909bf,'data':_0x4909bf[_0x1c41d2(0x2f4)]},'cmd':_0x44fcf1[_0x1c41d2(0x400)]};case p[_0x1c41d2(0x473)]['LIVESHARE_NEW_HOST']:return{..._0x44fcf1,'data':{..._0x4909bf,'data':_0x4909bf[_0x1c41d2(0x332)]},'cmd':_0x44fcf1['cmd']};case p[_0x1c41d2(0x473)][_0x1c41d2(0x34a)]:case p['CollaborationEvent']['LIVESHARE_OPERATION']:return{..._0x44fcf1,'data':{..._0x4909bf,'data':_0x4909bf['liveShareOperation']},'cmd':_0x44fcf1[_0x1c41d2(0x400)]};case p[_0x1c41d2(0x473)][_0x1c41d2(0x284)]:return{..._0x44fcf1,'data':{..._0x4909bf,'data':_0x4909bf[_0x1c41d2(0x332)]},'cmd':_0x44fcf1[_0x1c41d2(0x400)]};case p[_0x1c41d2(0x473)][_0x1c41d2(0x264)]:return{..._0x44fcf1,'data':_0x4909bf,'cmd':_0x44fcf1[_0x1c41d2(0x400)]};case p[_0x1c41d2(0x473)]['COMMENT_UPDATE']:return{..._0x44fcf1,'data':{..._0x4909bf,'data':_0x4909bf[_0x1c41d2(0x448)]},'cmd':_0x44fcf1[_0x1c41d2(0x400)]};case p[_0x1c41d2(0x473)]['UPDATE_PERMISSION_OBJ']:return{..._0x44fcf1,'data':{..._0x4909bf,'data':_0x4909bf[_0x1c41d2(0x3d3)]},'cmd':_0x44fcf1['cmd']};case p[_0x1c41d2(0x473)][_0x1c41d2(0x287)]:return{..._0x44fcf1,'data':{..._0x4909bf,'data':_0x4909bf[_0x1c41d2(0x43e)]},'cmd':_0x44fcf1[_0x1c41d2(0x400)]};case p[_0x1c41d2(0x473)][_0x1c41d2(0x424)]:return{..._0x44fcf1,'data':{..._0x4909bf,'data':_0x4909bf[_0x1c41d2(0x4ac)]},'cmd':_0x44fcf1[_0x1c41d2(0x400)]};default:return _0x44fcf1;}}default:return _0x44fcf1;}}function Tt(_0x35b109){var _0x3d68c7=_0x369398;switch(_0x35b109[_0x3d68c7(0x400)]){case W['HEARTBEAT']:case W['HELLO']:return JSON[_0x3d68c7(0x1e7)]({'cmd':_0x35b109[_0x3d68c7(0x400)],'routeKey':_0x35b109[_0x3d68c7(0x208)]});case W[_0x3d68c7(0x3f7)]:{let _0x5b594c;switch(_0x35b109['data'][_0x3d68c7(0x26b)]){case p['CollaborationEvent'][_0x3d68c7(0x508)]:{_0x5b594c={'eventID':p['CollaborationEvent'][_0x3d68c7(0x508)],'updateCursorEvent':_0x35b109[_0x3d68c7(0x53b)][_0x3d68c7(0x53b)]};break;}case p[_0x3d68c7(0x473)]['USERS_LEAVE']:{_0x5b594c={'eventID':p['CollaborationEvent']['USERS_LEAVE'],'leaveEvent':_0x35b109[_0x3d68c7(0x53b)][_0x3d68c7(0x53b)]};break;}case p['CollaborationEvent'][_0x3d68c7(0x402)]:{_0x5b594c={'eventID':p[_0x3d68c7(0x473)][_0x3d68c7(0x402)],'joinEvent':_0x35b109['data'][_0x3d68c7(0x53b)]};break;}case p[_0x3d68c7(0x473)][_0x3d68c7(0x43b)]:{_0x5b594c={'eventID':p[_0x3d68c7(0x473)][_0x3d68c7(0x43b)],'liveShareNewHost':_0x35b109[_0x3d68c7(0x53b)]['data']};break;}case p['CollaborationEvent'][_0x3d68c7(0x319)]:{_0x5b594c={'eventID':p[_0x3d68c7(0x473)][_0x3d68c7(0x319)],'liveShareOperation':_0x35b109[_0x3d68c7(0x53b)]['data']};break;}case p[_0x3d68c7(0x473)][_0x3d68c7(0x284)]:{_0x5b594c={'eventID':p[_0x3d68c7(0x473)][_0x3d68c7(0x284)],'liveShareTerminate':_0x35b109[_0x3d68c7(0x53b)]['data']};break;}case p[_0x3d68c7(0x473)][_0x3d68c7(0x404)]:{_0x5b594c={'eventID':p[_0x3d68c7(0x473)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x35b109[_0x3d68c7(0x53b)][_0x3d68c7(0x53b)]};break;}case p['CollaborationEvent'][_0x3d68c7(0x34a)]:{_0x5b594c={'eventID':p['CollaborationEvent'][_0x3d68c7(0x34a)]};break;}default:_0x5b594c={'eventID':_0x35b109[_0x3d68c7(0x53b)][_0x3d68c7(0x26b)]};}return JSON[_0x3d68c7(0x1e7)]({'cmd':_0x35b109[_0x3d68c7(0x400)],'routeKey':_0x35b109[_0x3d68c7(0x208)],'collaMsg':_0x5b594c});}case W['JOIN']:return JSON[_0x3d68c7(0x1e7)]({'cmd':_0x35b109[_0x3d68c7(0x400)],'routeKey':_0x35b109[_0x3d68c7(0x208)],'joinReq':_0x35b109['data']});case W[_0x3d68c7(0x4ec)]:return JSON[_0x3d68c7(0x1e7)]({'cmd':_0x35b109['cmd'],'routeKey':_0x35b109[_0x3d68c7(0x208)],'leaveReq':_0x35b109['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var qt=Object[_0x369398(0x3b4)],zt=(_0x3420b1,_0x572758,_0x512d71,_0x24e390)=>{var _0x41949a=_0x369398;for(var _0x3eab40=_0x24e390>0x1?void 0x0:_0x24e390?qt(_0x572758,_0x512d71):_0x572758,_0x28a6de=_0x3420b1[_0x41949a(0x48b)]-0x1,_0x1a10c7;_0x28a6de>=0x0;_0x28a6de--)(_0x1a10c7=_0x3420b1[_0x28a6de])&&(_0x3eab40=_0x1a10c7(_0x3eab40)||_0x3eab40);return _0x3eab40;},_e=(_0x2beb8f,_0x5a3f66)=>(_0x23c8e7,_0x2b3e68)=>_0x5a3f66(_0x23c8e7,_0x2b3e68,_0x2beb8f);const He=a[_0x369398(0x4cc)](_0x369398(0x375));function Jt(_0x5e0577,_0x5a99dc,_0x1f3a79){var _0x123eda=_0x369398;return _0x5e0577+'/'+_0x5a99dc+'/unit/'+_0x1f3a79+_0x123eda(0x4c1);}exports[_0x369398(0x369)]=class extends a[_0x369398(0x437)]{constructor(_0x31d872,_0x2121f,_0xadf4c1,_0x1ce37d,_0x20d327){var _0x2742ae=_0x369398;super(),this[_0x2742ae(0x3ba)]=_0x31d872,this[_0x2742ae(0x229)]=_0x2121f,this['_configService']=_0xadf4c1,this['_logService']=_0x1ce37d,this[_0x2742ae(0x2d7)]=_0x20d327;}['_doCreateSocket'](_0x15d398){var _0x267b53=_0x369398;const _0x164aca=this[_0x267b53(0x3ba)][_0x267b53(0x383)](K[_0x267b53(0x1e6)]);if(!_0x164aca)throw new Error(_0x267b53(0x215));const _0x5bcc31=_0x164aca[_0x267b53(0x465)](_0x15d398);if(!_0x5bcc31)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x50dea0=new a[(_0x267b53(0x445))](),_0x3aa3a7=new $[(_0x267b53(0x1fb))]();_0x50dea0[_0x267b53(0x528)](_0x5bcc31['close$'][_0x267b53(0x34d)](_0x56b02f=>_0x3aa3a7['next'](_0x56b02f))),_0x50dea0[_0x267b53(0x528)](a[_0x267b53(0x2c7)](()=>_0x3aa3a7[_0x267b53(0x4b1)]()));const _0x3eb49d=new $[(_0x267b53(0x1fb))]();_0x50dea0['add'](_0x5bcc31['error$'][_0x267b53(0x34d)](_0x966a=>_0x3eb49d[_0x267b53(0x25c)](_0x966a))),_0x50dea0[_0x267b53(0x528)](a[_0x267b53(0x2c7)](()=>_0x3eb49d[_0x267b53(0x4b1)]()));const _0x45e1a5=new $['Subject']();_0x50dea0[_0x267b53(0x528)](_0x5bcc31['message$'][_0x267b53(0x34d)](_0x130f41=>{var _0x1749e1=_0x267b53;const _0x8d97cb=Ct(_0x130f41);_0x45e1a5[_0x1749e1(0x25c)](_0x8d97cb);})),_0x50dea0['add'](a['toDisposable'](()=>_0x45e1a5[_0x267b53(0x4b1)]()));let _0x43cd4f;const _0x35fdab=()=>{var _0x5e20f9=_0x267b53;_0x3eb49d[_0x5e20f9(0x25c)](new Event('connection\x20error')),_0x3aa3a7[_0x5e20f9(0x25c)](new Event(_0x5e20f9(0x361))),_0x43cd4f[_0x5e20f9(0x28c)]();};return _0x43cd4f={'memberID':'','close$':_0x3aa3a7[_0x267b53(0x381)](),'error$':_0x3eb49d[_0x267b53(0x381)](),'open$':_0x5bcc31[_0x267b53(0x37f)],'message$':_0x45e1a5['asObservable'](),'send':_0x1caa0f=>{var _0x1745c5=_0x267b53;if(_0x1caa0f[_0x1745c5(0x400)]===W[_0x1745c5(0x3f7)]){if(_0x1caa0f['data'][_0x1745c5(0x26b)]===p['CollaborationEvent']['SUBMIT_CHANGESET']){this[_0x1745c5(0x398)](_0x43cd4f,_0x1caa0f[_0x1745c5(0x53b)])[_0x1745c5(0x3a2)](_0x1aae2f=>{var _0x4e702b=_0x1745c5;this['_logService'][_0x4e702b(0x54a)](_0x1aae2f),_0x35fdab();});return;}if(_0x1caa0f[_0x1745c5(0x53b)][_0x1745c5(0x26b)]===p['CollaborationEvent'][_0x1745c5(0x244)]){const _0x47f8e8=_0x1caa0f[_0x1745c5(0x53b)];this[_0x1745c5(0x539)](_0x47f8e8)[_0x1745c5(0x545)](_0x52aa3d=>{var _0x2cee52=_0x1745c5;_0x45e1a5['next']({'cmd':W['RECV'],'code':oe['OK'],'routeKey':_0x47f8e8[_0x2cee52(0x53b)]['unitID'],'routeType':'','data':{'eventID':p[_0x2cee52(0x473)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x52aa3d}}});})[_0x1745c5(0x3a2)](_0x5e24e2=>{var _0x3de7cd=_0x1745c5;this[_0x3de7cd(0x2c6)][_0x3de7cd(0x54a)](_0x5e24e2),_0x35fdab();});return;}}_0x5bcc31[_0x1745c5(0x4d4)](Tt(_0x1caa0f));},'close':()=>{var _0x48745c=_0x267b53;_0x5bcc31[_0x48745c(0x28c)](),_0x50dea0[_0x48745c(0x333)]();}},_0x43cd4f;}async[_0x369398(0x398)](_0x1979b7,_0x518135){var _0x5e4b2e=_0x369398,_0x552cb8,_0x38913a;const {unitType:_0x6f1442,unitID:_0x367f9b,changeset:_0x37d967}=_0x518135[_0x5e4b2e(0x53b)],_0x1d7f6b={'unitID':_0x367f9b,'memberID':_0x1979b7[_0x5e4b2e(0x428)],'type':_0x6f1442,'changeset':p[_0x5e4b2e(0x25f)](_0x37d967)},_0x504e6=this[_0x5e4b2e(0x225)][_0x5e4b2e(0x3db)](It),_0x4a31a6=this[_0x5e4b2e(0x225)][_0x5e4b2e(0x3db)](G),_0x329e6b=Jt((_0x38913a=(_0x552cb8=_0x4a31a6==null?void 0x0:_0x4a31a6[_0x5e4b2e(0x36a)])!=null?_0x552cb8:_0x504e6)!=null?_0x38913a:Vt,_0x6f1442,_0x367f9b);try{await this[_0x5e4b2e(0x229)][_0x5e4b2e(0x499)](_0x329e6b,{'body':_0x1d7f6b});}catch(_0x217b9c){throw this[_0x5e4b2e(0x2c6)][_0x5e4b2e(0x54a)](_0x5e4b2e(0x252),_0x5e4b2e(0x2a2)),_0x217b9c;}}async['_fetchMissChangesets'](_0x330d3f){var _0x51d63d=_0x369398;const {unitID:_0x4d0eb5,from:_0x3f4a00,to:_0x1c2985,unitType:_0x583870}=_0x330d3f[_0x51d63d(0x53b)];return(await this[_0x51d63d(0x2d7)][_0x51d63d(0x4c5)]({'metadata':void 0x0},{'unitID':_0x4d0eb5,'type':_0x583870,'from':_0x3f4a00,'to':_0x1c2985}))[_0x51d63d(0x4e8)];}},exports[_0x369398(0x369)]=zt([_e(0x0,a[_0x369398(0x3f0)](a[_0x369398(0x3c1)])),_e(0x1,a[_0x369398(0x3f0)](K['HTTPService'])),_e(0x2,a[_0x369398(0x302)]),_e(0x3,a['ILogService']),_e(0x4,p[_0x369398(0x482)])],exports[_0x369398(0x369)]);const Xt=_0x369398(0x4ce);function Zt(_0x1b2819){var _0x4cd632=_0x369398;return JSON[_0x4cd632(0x1e7)](_0x1b2819)[_0x4cd632(0x48b)];}class $e{constructor(){var _0x407cac=_0x369398;A(this,_0x407cac(0x49f),new $[(_0x407cac(0x1fb))]()),A(this,_0x407cac(0x4af),this[_0x407cac(0x49f)][_0x407cac(0x381)]());}[_0x369398(0x1d2)](_0x37de93){var _0x1b8a34=_0x369398;this[_0x1b8a34(0x49f)][_0x1b8a34(0x25c)](_0x37de93);}}var Qt=Object[_0x369398(0x3b4)],ei=(_0x179eea,_0x2dc72a,_0x164517,_0x10c2c6)=>{for(var _0x208ffc=_0x10c2c6>0x1?void 0x0:_0x10c2c6?Qt(_0x2dc72a,_0x164517):_0x2dc72a,_0x5c4971=_0x179eea['length']-0x1,_0x413813;_0x5c4971>=0x0;_0x5c4971--)(_0x413813=_0x179eea[_0x5c4971])&&(_0x208ffc=_0x413813(_0x208ffc)||_0x208ffc);return _0x208ffc;},We=(_0x4a6e82,_0x1981eb)=>(_0x444a67,_0x35f9ec)=>_0x1981eb(_0x444a67,_0x35f9ec,_0x4a6e82);exports[_0x369398(0x25e)]=class extends a[_0x369398(0x437)]{constructor(_0x1f2cc0,_0x778233){var _0x2a4fc9=_0x369398;super(),A(this,_0x2a4fc9(0x425),new Map()),A(this,_0x2a4fc9(0x20d),new $[(_0x2a4fc9(0x1fb))]()),(this[_0x2a4fc9(0x3ae)]=_0x1f2cc0,this['_userManagerService']=_0x778233,this[_0x2a4fc9(0x2ef)]($[_0x2a4fc9(0x26a)](this[_0x2a4fc9(0x3ae)][_0x2a4fc9(0x2cf)](a['UniverInstanceType'][_0x2a4fc9(0x4d8)])[_0x2a4fc9(0x27d)](V['map'](_0x39f99c=>_0x39f99c[_0x2a4fc9(0x376)]())),this[_0x2a4fc9(0x3ae)][_0x2a4fc9(0x2cf)](a[_0x2a4fc9(0x1f5)][_0x2a4fc9(0x510)])[_0x2a4fc9(0x27d)](V[_0x2a4fc9(0x3ce)](_0x5eaf10=>_0x5eaf10[_0x2a4fc9(0x376)]())),this[_0x2a4fc9(0x3ae)]['getTypeOfUnitDisposed$'](a['UniverInstanceType'][_0x2a4fc9(0x41c)])[_0x2a4fc9(0x27d)](V[_0x2a4fc9(0x3ce)](_0x51d29c=>_0x51d29c[_0x2a4fc9(0x376)]())))[_0x2a4fc9(0x34d)](_0x85ec82=>this['_removeRoom'](_0x85ec82))));}[_0x369398(0x3f5)](_0x21e613){var _0x474411=_0x369398;return this['_roomMembers']['has'](_0x21e613)?$['of'](this[_0x474411(0x425)]['get'](_0x21e613)):this[_0x474411(0x20d)][_0x474411(0x27d)](V[_0x474411(0x3ce)](_0x1f5088=>{var _0x389e3d=_0x474411;if(_0x1f5088===_0x21e613)return this[_0x389e3d(0x425)][_0x389e3d(0x383)](_0x1f5088);}));}['setCurrentUser'](_0x38e813){var _0x25f62b=_0x369398;this[_0x25f62b(0x2de)][_0x25f62b(0x4ed)](_0x38e813);}[_0x369398(0x227)](){var _0x1daf2b=_0x369398;return this[_0x1daf2b(0x2de)]['getCurrentUser']();}[_0x369398(0x43a)](_0x97beaa,_0xd433b0){var _0x5d6d41=_0x369398;let _0x4e811b=this[_0x5d6d41(0x425)][_0x5d6d41(0x383)](_0x97beaa);_0x4e811b||(_0x4e811b=new ti(),this[_0x5d6d41(0x425)][_0x5d6d41(0x48a)](_0x97beaa,_0x4e811b),this[_0x5d6d41(0x20d)][_0x5d6d41(0x25c)](_0x97beaa)),_0x4e811b[_0x5d6d41(0x43a)](_0xd433b0);}[_0x369398(0x22f)](_0x504d16,_0x2110bc){var _0x3942b5=_0x369398;const _0x718af4=this['_roomMembers']['get'](_0x504d16);_0x718af4&&_0x718af4[_0x3942b5(0x22f)](_0x2110bc);}[_0x369398(0x547)](_0x354c8f){var _0x343ce4=_0x369398;return this['_roomMembers'][_0x343ce4(0x383)](_0x354c8f);}[_0x369398(0x1ea)](_0x4b9cee,_0x3805bf){var _0x4f37dd=_0x369398;const _0x1bff25=this[_0x4f37dd(0x425)][_0x4f37dd(0x383)](_0x4b9cee);if(_0x1bff25)return _0x1bff25['getMember'](_0x3805bf);}['_removeRoom'](_0x442b24){var _0x219c1c=_0x369398;const _0x6e224c=this[_0x219c1c(0x425)][_0x219c1c(0x383)](_0x442b24);_0x6e224c&&(_0x6e224c[_0x219c1c(0x333)](),this[_0x219c1c(0x425)]['delete'](_0x442b24));}[_0x369398(0x333)](){var _0x16ab80=_0x369398;this[_0x16ab80(0x425)]['forEach'](_0x271708=>_0x271708[_0x16ab80(0x333)]()),this[_0x16ab80(0x425)]['clear'](),this[_0x16ab80(0x20d)][_0x16ab80(0x4b1)]();}},exports[_0x369398(0x25e)]=ei([We(0x0,a[_0x369398(0x4d3)]),We(0x1,a[_0x369398(0x3f0)](a[_0x369398(0x439)]))],exports['MemberService']);class ti extends a[_0x369398(0x437)]{constructor(){var _0x517a72=_0x369398;super(...arguments),A(this,_0x517a72(0x44d),new Map()),A(this,_0x517a72(0x31a),new $[(_0x517a72(0x4fc))](this['_members'])),A(this,_0x517a72(0x2be),this['_members$']['asObservable']());}[_0x369398(0x333)](){var _0x28c379=_0x369398;this[_0x28c379(0x44d)][_0x28c379(0x3cc)]();}[_0x369398(0x43a)](_0x438216){var _0x384df8=_0x369398;this[_0x384df8(0x44d)][_0x384df8(0x48a)](_0x438216[_0x384df8(0x428)],_0x438216),this[_0x384df8(0x517)]();}[_0x369398(0x22f)](_0x2b87a7){var _0x25bb48=_0x369398;this[_0x25bb48(0x44d)]['delete'](_0x2b87a7);}[_0x369398(0x1ea)](_0x402beb){var _0x53541f=_0x369398;return this[_0x53541f(0x44d)][_0x53541f(0x383)](_0x402beb);}[_0x369398(0x2d5)](){var _0x5e3086=_0x369398;return Array[_0x5e3086(0x45d)](this[_0x5e3086(0x44d)][_0x5e3086(0x538)]());}[_0x369398(0x517)](){var _0x48c008=_0x369398;this[_0x48c008(0x31a)][_0x48c008(0x25c)](this[_0x48c008(0x44d)]);}}var ii=Object[_0x369398(0x3b4)],ni=(_0x153667,_0x2466c6,_0x20e9fe,_0x2a37dc)=>{for(var _0x6ad340=_0x2a37dc>0x1?void 0x0:_0x2a37dc?ii(_0x2466c6,_0x20e9fe):_0x2466c6,_0x104066=_0x153667['length']-0x1,_0x1f9b28;_0x104066>=0x0;_0x104066--)(_0x1f9b28=_0x153667[_0x104066])&&(_0x6ad340=_0x1f9b28(_0x6ad340)||_0x6ad340);return _0x6ad340;},se=(_0x1ac968,_0x1305ff)=>(_0x515e4c,_0x39c3ab)=>_0x1305ff(_0x515e4c,_0x39c3ab,_0x1ac968),re=(_0x247a1d=>(_0x247a1d[_0x247a1d['IDLE']=0x0]=_0x369398(0x46b),_0x247a1d[_0x247a1d[_0x369398(0x351)]=0x1]=_0x369398(0x351),_0x247a1d[_0x247a1d[_0x369398(0x4ff)]=0x2]=_0x369398(0x4ff),_0x247a1d[_0x247a1d['ONLINE']=0x3]=_0x369398(0x202),_0x247a1d))(re||{});const Ye={[oe[_0x369398(0x2ba)]]:_0x369398(0x44f),[oe[_0x369398(0x289)]]:_0x369398(0x451),[oe['JOIN_ROOM_NOT_EXISTS']]:_0x369398(0x4b2),[oe['JOIN_ROOM_PERMISSION_DENIED']]:_0x369398(0x438),[oe[_0x369398(0x39d)]]:_0x369398(0x46a)};exports[_0x369398(0x52b)]=class extends a[_0x369398(0x308)]{constructor(_0x4d0f30,_0x42b66a,_0x1837d4,_0x3c50db,_0x394ee0,_0x402e4e,_0x5c9eb9,_0x21857d,_0x2a6123){var _0x2d062b=_0x369398;super(),A(this,_0x2d062b(0x54b),new $['BehaviorSubject'](0x0)),A(this,_0x2d062b(0x496),this[_0x2d062b(0x54b)][_0x2d062b(0x381)]()),A(this,_0x2d062b(0x26c),new $[(_0x2d062b(0x1fb))]()),A(this,_0x2d062b(0x3a7),this['_event$'][_0x2d062b(0x381)]()),A(this,'_socket'),A(this,'_socketMessageSubscription'),A(this,'_collaborationTimeoutTimer'),A(this,'_shouldReportTelemetry',!0x1),A(this,'_telemetryInfo',null),(this[_0x2d062b(0x24f)]=_0x4d0f30,this[_0x2d062b(0x2c6)]=_0x1837d4,this[_0x2d062b(0x225)]=_0x3c50db,this[_0x2d062b(0x3cd)]=_0x394ee0,this['_memberService']=_0x402e4e,this['_commentService']=_0x5c9eb9,this[_0x2d062b(0x2d4)]=_0x21857d,this[_0x2d062b(0x31f)]=_0x2a6123,this[_0x2d062b(0x4f4)]=!!this[_0x2d062b(0x31f)],_0x42b66a['pipe']($[_0x2d062b(0x3b5)](this[_0x2d062b(0x391)]))['subscribe'](_0x37db09=>{var _0x57d0e5=_0x2d062b,_0x127f67;typeof _0x37db09>'u'||(this['_socket']=_0x37db09,_0x37db09?(this[_0x57d0e5(0x3a3)](_0x37db09),this[_0x57d0e5(0x35a)]=_0x37db09['message$'][_0x57d0e5(0x34d)](_0x36b71d=>{var _0x25ef73=_0x57d0e5;_0x36b71d['routeKey']===this[_0x25ef73(0x24f)]&&this[_0x25ef73(0x4c0)](_0x36b71d);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x57d0e5(0x54b)][_0x57d0e5(0x25c)](0x2),(_0x127f67=this['_socketMessageSubscription'])==null||_0x127f67[_0x57d0e5(0x2c1)](),this['_socketMessageSubscription']=null));}));}get[_0x369398(0x476)](){var _0x34d52d=_0x369398;return this['_sessionStatus$'][_0x34d52d(0x536)]();}[_0x369398(0x397)](){var _0x31ffe5=_0x369398,_0x295032,_0xbac93b;return(_0xbac93b=(_0x295032=this[_0x31ffe5(0x53c)])==null?void 0x0:_0x295032[_0x31ffe5(0x428)])!=null?_0xbac93b:null;}[_0x369398(0x333)](){var _0x4121ee=_0x369398;super[_0x4121ee(0x333)](),this['dispose$']['next'](),this[_0x4121ee(0x391)][_0x4121ee(0x4b1)]();}['close'](){var _0x52e2b5=_0x369398,_0x8fecf,_0x18dff1;this['_throwTelemetryCollaborationNewChangeset'](),(_0x8fecf=this[_0x52e2b5(0x53c)])==null||_0x8fecf[_0x52e2b5(0x4d4)]({'cmd':W[_0x52e2b5(0x4ec)],'data':{'roomID':this['_unitID']}}),(_0x18dff1=this['_socket'])==null||_0x18dff1['close'](),this[_0x52e2b5(0x26c)][_0x52e2b5(0x4b1)](),this[_0x52e2b5(0x54b)][_0x52e2b5(0x4b1)](),this[_0x52e2b5(0x333)]();}[_0x369398(0x4c0)](_0x3e778b){var _0x39a341=_0x369398;_0x3e778b[_0x39a341(0x400)]===W[_0x39a341(0x41f)]?this[_0x39a341(0x4a6)](_0x3e778b):_0x3e778b['cmd']===W[_0x39a341(0x3e6)]&&this['_onRecvEvent'](_0x3e778b);}[_0x369398(0x3a3)](_0x481b02){var _0x57bbbe=_0x369398;this['_sessionStatus$'][_0x57bbbe(0x25c)](0x1),_0x481b02[_0x57bbbe(0x4d4)]({'cmd':W[_0x57bbbe(0x41f)],'routeKey':this[_0x57bbbe(0x24f)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}['_onJoinRoomEvent'](_0x536c5b){var _0x595056=_0x369398,_0x18af26;if(_0x536c5b[_0x595056(0x37c)]in Ye){this[_0x595056(0x2d4)][_0x595056(0x1e1)]({'id':Z[_0x595056(0x267)],'data':Ye[_0x536c5b['code']]}),this[_0x595056(0x54b)]['next'](0x2);return;}this['_sessionStatus$'][_0x595056(0x25c)](0x3);const _0x13f2d7=(_0x18af26=_0x536c5b['data']['roomInfos'][this['_unitID']])==null?void 0x0:_0x18af26['members'];_0x13f2d7&&_0x13f2d7['forEach'](_0x4f770e=>this['_memberService']['updateMember'](this['_unitID'],_0x4f770e));}[_0x369398(0x497)](_0x1823f4){var _0x160f4a=_0x369398;try{const _0x27210d=_0x1823f4[_0x160f4a(0x53b)];switch(_0x27210d[_0x160f4a(0x26b)]){case p[_0x160f4a(0x473)][_0x160f4a(0x402)]:this['_onUserJoin'](_0x27210d),this['_event$'][_0x160f4a(0x25c)](_0x27210d);break;case p[_0x160f4a(0x473)][_0x160f4a(0x206)]:this['_onUserLeave'](_0x27210d),this['_event$']['next'](_0x27210d);break;case p[_0x160f4a(0x473)]['CHANGESET_ACK']:case p[_0x160f4a(0x473)][_0x160f4a(0x277)]:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this['_event$']['next'](_0x27210d);break;case p[_0x160f4a(0x473)]['MSG_FOR_ERROR']:this[_0x160f4a(0x2c6)]['error'](_0x160f4a(0x522)+JSON['stringify'](_0x27210d)),this[_0x160f4a(0x26c)][_0x160f4a(0x25c)](_0x27210d);break;case p[_0x160f4a(0x473)]['COMMENT_UPDATE']:this[_0x160f4a(0x533)][_0x160f4a(0x1d2)](_0x27210d[_0x160f4a(0x53b)]),this[_0x160f4a(0x26c)][_0x160f4a(0x25c)](_0x27210d);break;default:this['_event$'][_0x160f4a(0x25c)](_0x27210d);}}catch(_0x2d9757){this[_0x160f4a(0x2c6)][_0x160f4a(0x54a)](_0x2d9757,_0x1823f4);}}['_onUserJoin'](_0x5ee93e){var _0xffb4c=_0x369398;this[_0xffb4c(0x44c)][_0xffb4c(0x43a)](this[_0xffb4c(0x24f)],_0x5ee93e[_0xffb4c(0x53b)]);}[_0x369398(0x507)](_0x174173){var _0x3bcc6c=_0x369398;this['_memberService']['removeMember'](this['_unitID'],_0x174173[_0x3bcc6c(0x53b)]['memberID']);}async[_0x369398(0x4d4)](_0x6e45d3,_0x3146ee){var _0x19a045=_0x369398;if(this[_0x19a045(0x476)]!==0x3||!this[_0x19a045(0x53c)])throw new Error(_0x19a045(0x1de));try{_0x6e45d3['eventID']===p[_0x19a045(0x473)]['SUBMIT_CHANGESET']&&(this[_0x19a045(0x393)](),this['_startTelemetryCollaborationNewChangeset'](_0x6e45d3)),this[_0x19a045(0x53c)][_0x19a045(0x4d4)]({'cmd':W[_0x19a045(0x3f7)],'routeKey':_0x3146ee,'routeType':'','data':_0x6e45d3});}catch(_0x12fe2c){this[_0x19a045(0x2c6)][_0x19a045(0x54a)](_0x12fe2c);}}[_0x369398(0x393)](){var _0x38cc18=_0x369398,_0x4c3ac;this[_0x38cc18(0x2c0)]=setTimeout(()=>{var _0x3fe103=_0x38cc18;this['_collaborationTimeoutTimer']=null,this[_0x3fe103(0x2d4)]['emitEvent']({'id':Z['SUBMIT_CHANGESET_TIMEOUT']});},(_0x4c3ac=this[_0x38cc18(0x225)]['getConfig'](ke))!=null?_0x4c3ac:St);}[_0x369398(0x53f)](){var _0x561d42=_0x369398;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x561d42(0x2c0)]),this[_0x561d42(0x2c0)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x270973){var _0x91ec78=_0x369398;if(!this['_shouldReportTelemetry'])return;const {data:_0x5a936b}=_0x270973,{unitID:_0x56850d,changeset:_0x2ad08b}=_0x5a936b,{mutations:_0x52711f,type:_0x1ee97d}=_0x2ad08b;this[_0x91ec78(0x4f5)]={'unitId':_0x56850d,'type':_0x1ee97d,'startTime':performance[_0x91ec78(0x2e0)](),'stopTime':0x0,'duration':0x0,'size':Zt(_0x52711f)};}[_0x369398(0x25d)](){var _0x246971=_0x369398;if(this[_0x246971(0x4f4)]){if(!this['_telemetryInfo']){this['_logService'][_0x246971(0x54a)](_0x246971(0x252),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x246971(0x4f5)][_0x246971(0x292)]=performance[_0x246971(0x2e0)](),this['_telemetryInfo'][_0x246971(0x20e)]=this[_0x246971(0x4f5)][_0x246971(0x292)]-this['_telemetryInfo'][_0x246971(0x2a0)],this['_telemetryService'][_0x246971(0x4b0)](Xt,this[_0x246971(0x4f5)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}},exports[_0x369398(0x52b)]=ni([se(0x2,a[_0x369398(0x426)]),se(0x3,a[_0x369398(0x302)]),se(0x4,a[_0x369398(0x3f0)](a[_0x369398(0x2d6)])),se(0x5,a['Inject'](exports['MemberService'])),se(0x6,a[_0x369398(0x3f0)]($e)),se(0x7,a['Inject'](ee)),se(0x8,a[_0x369398(0x28e)](Pt['ITelemetryService']))],exports[_0x369398(0x52b)]);var ri=Object[_0x369398(0x3b4)],si=(_0x40ab2e,_0x2170e1,_0x1e7d88,_0x34cab3)=>{for(var _0x325f71=_0x34cab3>0x1?void 0x0:_0x34cab3?ri(_0x2170e1,_0x1e7d88):_0x2170e1,_0x376062=_0x40ab2e['length']-0x1,_0x16fa61;_0x376062>=0x0;_0x376062--)(_0x16fa61=_0x40ab2e[_0x376062])&&(_0x325f71=_0x16fa61(_0x325f71)||_0x325f71);return _0x325f71;},he=(_0x570f16,_0x423fba)=>(_0x267455,_0x4ef335)=>_0x423fba(_0x267455,_0x4ef335,_0x570f16);exports[_0x369398(0x4a9)]=class extends a[_0x369398(0x437)]{constructor(_0x8bb47a,_0x47cf0d,_0x5936a2,_0x2541a2,_0x41f993,_0x1e4dac){var _0x3d3030=_0x369398;super(),A(this,_0x3d3030(0x3b6),new $[(_0x3d3030(0x4fc))](void 0x0)),A(this,_0x3d3030(0x2b0),this[_0x3d3030(0x3b6)][_0x3d3030(0x381)]()),A(this,_0x3d3030(0x4da),null),A(this,_0x3d3030(0x2da),new Map()),A(this,_0x3d3030(0x4ea),new $[(_0x3d3030(0x4fc))](re[_0x3d3030(0x46b)])),A(this,'status$',this[_0x3d3030(0x4ea)][_0x3d3030(0x381)]()),A(this,_0x3d3030(0x413),!0x1),A(this,_0x3d3030(0x275)),A(this,_0x3d3030(0x249),0x0),A(this,_0x3d3030(0x2c9)),A(this,_0x3d3030(0x209)),(this[_0x3d3030(0x3ba)]=_0x8bb47a,this[_0x3d3030(0x2c6)]=_0x47cf0d,this['_configService']=_0x5936a2,this[_0x3d3030(0x329)]=_0x2541a2,this['_collaborationUIEventService']=_0x41f993,this[_0x3d3030(0x4c4)]=_0x1e4dac,this[_0x3d3030(0x34f)]());}get[_0x369398(0x53c)](){var _0x41a33c=_0x369398;return this[_0x41a33c(0x3b6)][_0x41a33c(0x536)]();}[_0x369398(0x34f)](){var _0x293500=_0x369398;this['_networkConditionService']&&this[_0x293500(0x2ef)](this[_0x293500(0x4c4)]['online$'][_0x293500(0x34d)](_0x40b54f=>{var _0x2826b4=_0x293500;_0x40b54f&&!this[_0x2826b4(0x53c)]&&this[_0x2826b4(0x29d)](),_0x40b54f||this[_0x2826b4(0x3e7)]();}));}[_0x369398(0x333)](){var _0xe88e6f=_0x369398;super[_0xe88e6f(0x333)](),this[_0xe88e6f(0x1e4)](),this[_0xe88e6f(0x3f1)](),this[_0xe88e6f(0x1ef)](),this['_sessions'][_0xe88e6f(0x3dc)](_0x493e59=>_0x493e59['dispose']()),this[_0xe88e6f(0x2da)][_0xe88e6f(0x3cc)](),this[_0xe88e6f(0x4ea)][_0xe88e6f(0x4b1)]();}async['requireSession'](_0x226829){var _0x2ac036=_0x369398;if(this[_0x2ac036(0x2da)][_0x2ac036(0x1dd)](_0x226829))return this[_0x2ac036(0x2da)][_0x2ac036(0x383)](_0x226829);this[_0x2ac036(0x380)]();const _0x5e4a06=this[_0x2ac036(0x3ba)]['createInstance'](exports['CollaborationSession'],_0x226829,this[_0x2ac036(0x3b6)][_0x2ac036(0x381)]());return this[_0x2ac036(0x2da)]['set'](_0x226829,_0x5e4a06),_0x5e4a06;}[_0x369398(0x346)](_0x7f6a7e){var _0x113346=_0x369398,_0x8e4ac3;const _0xe32be8=this[_0x113346(0x2da)][_0x113346(0x383)](_0x7f6a7e);_0xe32be8&&(this[_0x113346(0x2da)][_0x113346(0x1eb)](_0x7f6a7e),_0xe32be8['close']()),this['_sessions'][_0x113346(0x541)]||(_0x8e4ac3=this[_0x113346(0x53c)])==null||_0x8e4ac3[_0x113346(0x28c)]();}[_0x369398(0x29d)](){var _0x2b5091=_0x369398;this[_0x2b5091(0x249)]=0x0,this[_0x2b5091(0x1e4)](),this[_0x2b5091(0x1ce)]();}[_0x369398(0x1e4)](){var _0xec235c=_0x369398;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0xec235c(0x275)]),this[_0xec235c(0x275)]=null);}async['_createSocket'](){var _0x32067b=_0x369398,_0x301758,_0x53e403;const _0x1557d4=this[_0x32067b(0x225)]['getConfig'](ut),_0x2616a4=this['_configService'][_0x32067b(0x3db)](G),_0x3022d1=(_0x53e403=(_0x301758=_0x2616a4==null?void 0x0:_0x2616a4[_0x32067b(0x2a6)])!=null?_0x301758:_0x1557d4)!=null?_0x53e403:dt,_0xca0d4c=await this[_0x32067b(0x329)]['createSocket'](_0x3022d1);return this[_0x32067b(0x4da)]=_0xca0d4c,_0xca0d4c;}async[_0x369398(0x380)](){var _0x4fdb07=_0x369398,_0x9617c7,_0x24c8e2;try{const _0x307055=(_0x24c8e2=(_0x9617c7=this[_0x4fdb07(0x53c)])!=null?_0x9617c7:this[_0x4fdb07(0x4da)])!=null?_0x24c8e2:await this[_0x4fdb07(0x4d2)]();if(_0x307055){const _0x22897b=_0x307055[_0x4fdb07(0x4d4)];_0x307055[_0x4fdb07(0x4d4)]=_0x38dfb2=>(this['_rescheduleHeartbeat'](),_0x22897b['apply'](_0x307055,[_0x38dfb2])),_0x307055[_0x4fdb07(0x457)][_0x4fdb07(0x34d)](_0x47e02f=>this[_0x4fdb07(0x35b)](_0x307055,_0x47e02f)),_0x307055[_0x4fdb07(0x4a3)][_0x4fdb07(0x27d)](V['take'](0x1))[_0x4fdb07(0x34d)](_0x4984cd=>this[_0x4fdb07(0x2c6)][_0x4fdb07(0x54a)]('[CollaborationSessionService]:\x20socket\x20error',_0x4984cd)),_0x307055[_0x4fdb07(0x37f)][_0x4fdb07(0x27d)](V[_0x4fdb07(0x3cf)](0x1))[_0x4fdb07(0x34d)](()=>{this['_onConnectionOpen'](_0x307055);}),_0x307055[_0x4fdb07(0x1e9)][_0x4fdb07(0x27d)](V[_0x4fdb07(0x3cf)](0x1))[_0x4fdb07(0x34d)](_0x1e7e36=>{var _0x13d177=_0x4fdb07;this[_0x13d177(0x2c6)][_0x13d177(0x20a)]('[CollaborationSessionService]',_0x13d177(0x481),_0x1e7e36),this[_0x13d177(0x388)]();});}}catch(_0x1e9619){this[_0x4fdb07(0x2c6)][_0x4fdb07(0x54a)](_0x1e9619),this['_onConnectionFailed']();}}[_0x369398(0x254)](_0x50046d){var _0x41e007=_0x369398;this[_0x41e007(0x2c6)]['debug']('[CollaborationSessionService]',_0x41e007(0x21c)),_0x50046d[_0x41e007(0x4d4)]({'cmd':W[_0x41e007(0x2fd)]}),this['_rescheduleHeartbeat']();}['_onOffline'](){var _0x57fbc5=_0x369398;this[_0x57fbc5(0x413)]=!0x1,this['_candidateSocket']=null,this[_0x57fbc5(0x4ea)][_0x57fbc5(0x25c)](re['OFFLINE']),this[_0x57fbc5(0x3b6)][_0x57fbc5(0x25c)](null),this['_clearTimeoutTimer'](),this[_0x57fbc5(0x1ef)]();}[_0x369398(0x388)](){var _0x1d0dd1=_0x369398,_0x1dbccf;this['_onOffline'](),this[_0x1d0dd1(0x249)]<((_0x1dbccf=this[_0x1d0dd1(0x225)]['getConfig'](ft))!=null?_0x1dbccf:jt)?(this[_0x1d0dd1(0x2d4)][_0x1d0dd1(0x1e1)]({'id':Z['SOCKET_FAILED_RETRY']}),this[_0x1d0dd1(0x1ce)]()):this['_collaborationUIEventService']['emitEvent']({'id':Z[_0x1d0dd1(0x2d9)]});}['_tryReconnect'](){var _0x4937e1=_0x369398,_0xef0a72;const _0x12770b=this[_0x4937e1(0x249)],_0x3e6e7e=this[_0x4937e1(0x225)][_0x4937e1(0x3db)](G),_0xebc6fb=_0x12770b===0x0?0x0:((_0xef0a72=_0x3e6e7e==null?void 0x0:_0x3e6e7e[_0x4937e1(0x293)])!=null?_0xef0a72:$t)*0x2**_0x12770b;this[_0x4937e1(0x275)]=setTimeout(()=>{var _0x404e15=_0x4937e1;clearTimeout(this['_retryConnectingTimer']),this[_0x404e15(0x275)]=null,this[_0x404e15(0x380)]();},_0xebc6fb),this[_0x4937e1(0x249)]+=0x1;}[_0x369398(0x35b)](_0x11deca,_0x251825){var _0x55293e=_0x369398;const {cmd:_0x2c5e00}=_0x251825;_0x2c5e00===W[_0x55293e(0x2fd)]&&!this[_0x55293e(0x413)]&&(_0x11deca[_0x55293e(0x428)]=_0x251825[_0x55293e(0x53b)][_0x55293e(0x428)],this[_0x55293e(0x3b6)][_0x55293e(0x25c)](_0x11deca),this[_0x55293e(0x4ea)][_0x55293e(0x25c)](re[_0x55293e(0x202)]),this[_0x55293e(0x413)]=!0x0,this[_0x55293e(0x4da)]=null),_0x2c5e00===W[_0x55293e(0x296)]&&this['_clearTimeoutTimer'](),this[_0x55293e(0x3e1)]();}[_0x369398(0x3e1)](){var _0x4f6ac9=_0x369398,_0x404d0d;this[_0x4f6ac9(0x1ef)](),this[_0x4f6ac9(0x2c9)]=setTimeout(()=>this[_0x4f6ac9(0x406)](),(_0x404d0d=this[_0x4f6ac9(0x225)][_0x4f6ac9(0x3db)](vt))!=null?_0x404d0d:Ht);}[_0x369398(0x406)](){var _0x1e2a96=_0x369398;this[_0x1e2a96(0x53c)][_0x1e2a96(0x4d4)]({'cmd':W[_0x1e2a96(0x296)]}),this[_0x1e2a96(0x38d)]();}[_0x369398(0x38d)](){var _0x3a7b10=_0x369398,_0x5685f3;this[_0x3a7b10(0x209)]=setTimeout(()=>this[_0x3a7b10(0x388)](),(_0x5685f3=this[_0x3a7b10(0x225)]['getConfig'](ke))!=null?_0x5685f3:St);}[_0x369398(0x1ef)](){var _0x869de5=_0x369398;this[_0x869de5(0x2c9)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x869de5(0x2c9)]=null);}[_0x369398(0x3f1)](){var _0x2ac88b=_0x369398;this[_0x2ac88b(0x209)]!=null&&(clearTimeout(this[_0x2ac88b(0x209)]),this[_0x2ac88b(0x209)]=null);}},exports[_0x369398(0x4a9)]=si([he(0x0,a[_0x369398(0x3f0)](a[_0x369398(0x3c1)])),he(0x1,a['ILogService']),he(0x2,a[_0x369398(0x302)]),he(0x3,He),he(0x4,a[_0x369398(0x3f0)](ee)),he(0x5,a[_0x369398(0x28e)](mt))],exports[_0x369398(0x4a9)]);const q=a['createIdentifier'](_0x369398(0x3c6));function oi(_0x136ce4){var _0x55352a=_0x369398;return _0x55352a(0x30a)+_0x136ce4;}function _0x5588(_0x5b08df,_0x48a36e){var _0x108624=_0x1086();return _0x5588=function(_0x5588a2,_0x30e8c8){_0x5588a2=_0x5588a2-0x1ce;var _0x533778=_0x108624[_0x5588a2];return _0x533778;},_0x5588(_0x5b08df,_0x48a36e);}var ai=Object[_0x369398(0x3b4)],ci=(_0x22d036,_0x61cc82,_0x3db1d0,_0x4d1e0b)=>{var _0x36b3c6=_0x369398;for(var _0x5f4fbb=_0x4d1e0b>0x1?void 0x0:_0x4d1e0b?ai(_0x61cc82,_0x3db1d0):_0x61cc82,_0x42847c=_0x22d036[_0x36b3c6(0x48b)]-0x1,_0x58bd5a;_0x42847c>=0x0;_0x42847c--)(_0x58bd5a=_0x22d036[_0x42847c])&&(_0x5f4fbb=_0x58bd5a(_0x5f4fbb)||_0x5f4fbb);return _0x5f4fbb;},Ue=(_0x4e4611,_0x1df615)=>(_0x584d64,_0x385041)=>_0x1df615(_0x584d64,_0x385041,_0x4e4611);function hi(_0x356439){var _0x1215bc=_0x369398;const {unitID:_0x53609f,mutations:_0x23d8f4}=_0x356439;return{'unitId':_0x53609f,'subUnitId':_0x23d8f4[0x0][_0x1215bc(0x373)][_0x1215bc(0x226)]};}exports[_0x369398(0x31e)]=class{constructor(_0x3720ce,_0x3cd5c1,_0x206247){var _0xb1aef9=_0x369398;this[_0xb1aef9(0x3ba)]=_0x3720ce,this[_0xb1aef9(0x2cd)]=_0x3cd5c1,this[_0xb1aef9(0x512)]=_0x206247;}[_0x369398(0x36c)](_0x3e2255){var _0x2101e1=_0x369398,_0x14eff1,_0x2339dd,_0x442cd1,_0x1a2e44;const _0x5882c5=this[_0x2101e1(0x3ba)]['get'](X[_0x2101e1(0x24a)]),{unitId:_0x5758b0,subUnitId:_0x23e467}=hi(_0x3e2255),_0x5b14bd=_0x5882c5==null?void 0x0:_0x5882c5[_0x2101e1(0x274)](_0x5758b0)[_0x2101e1(0x474)](),_0x13c844=(_0x2339dd=(_0x14eff1=this['_instanceService'][_0x2101e1(0x1d0)](_0x5758b0))==null?void 0x0:_0x14eff1['getActiveSheet']())==null?void 0x0:_0x2339dd[_0x2101e1(0x33a)]();if(_0x5b14bd[_0x2101e1(0x48b)]===0x0||!_0x5758b0||!_0x23e467)return;const _0x13f383=[{'id':X[_0x2101e1(0x4f3)]['id'],'params':{'unitId':_0x5758b0,'subUnitId':_0x13c844,'selections':a[_0x2101e1(0x382)][_0x2101e1(0x4e4)](_0x5b14bd)}}],_0x193589=this['_transformService'][_0x2101e1(0x3c2)](_0x3e2255,_0x13f383);if(!p[_0x2101e1(0x370)](_0x193589))throw _0x193589['error'];const _0x31c51e=(_0x1a2e44=(_0x442cd1=_0x193589[_0x2101e1(0x416)][0x0])==null?void 0x0:_0x442cd1[_0x2101e1(0x373)])==null?void 0x0:_0x1a2e44[_0x2101e1(0x440)];if(Array[_0x2101e1(0x4c6)](_0x31c51e)&&_0x31c51e[_0x2101e1(0x48b)]){if(_0x31c51e['length']===_0x13f383[0x0]['params'][_0x2101e1(0x440)][_0x2101e1(0x48b)]&&_0x31c51e['every']((_0x2e287a,_0x463d4d)=>a['Rectangle'][_0x2101e1(0x3f9)](_0x2e287a['range'],_0x13f383[0x0][_0x2101e1(0x373)][_0x2101e1(0x440)][_0x463d4d][_0x2101e1(0x47d)])))return;this['_injector']['get'](a[_0x2101e1(0x4aa)])['executeCommand'](X[_0x2101e1(0x4f3)]['id'],{'unitId':_0x5758b0,'subUnitId':_0x13c844,'selections':_0x31c51e});}}},exports['SheetTransformSelectionsService']=ci([Ue(0x0,a[_0x369398(0x3f0)](a['Injector'])),Ue(0x1,p['ITransformService']),Ue(0x2,a['IUniverInstanceService'])],exports[_0x369398(0x31e)]);const de=a['createIdentifier'](_0x369398(0x1f2));var je=(_0x4de264=>(_0x4de264[_0x4de264['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x369398(0x2d8),_0x4de264[_0x4de264[_0x369398(0x343)]=0x1]=_0x369398(0x343),_0x4de264))(je||{});const _i=new Set([X[_0x369398(0x40a)]['id']]);function Ge(_0x468806,_0x173719,_0xedcf5b,_0x549c33,_0x5d356c){var _0x1d920f=_0x369398,_0x39c26c,_0x237c75,_0x2ca781,_0x317436;const _0x57130d=[];for(const _0x5ae73f of _0x468806)if(_i[_0x1d920f(0x1dd)](_0x5ae73f['id'])){if(_0x57130d[_0x1d920f(0x48b)]>0x0)break;_0x57130d[_0x1d920f(0x463)](_0x5ae73f);break;}else _0x57130d[_0x1d920f(0x463)](_0x5ae73f);const _0x3c9b2a=(_0x237c75=(_0x39c26c=_0x5d356c['getCurrentUser']())==null?void 0x0:_0x39c26c[_0x1d920f(0x2f9)])!=null?_0x237c75:_0x1d920f(0x27e),_0x53bfaf=(_0x317436=(_0x2ca781=_0x5d356c[_0x1d920f(0x227)]())==null?void 0x0:_0x2ca781[_0x1d920f(0x428)])!=null?_0x317436:_0x1d920f(0x27e);return{'changeset':{'unitID':_0x173719,'type':p[_0x1d920f(0x2b4)](_0xedcf5b[_0x1d920f(0x222)](_0x173719)),'baseRev':_0x549c33['getCurrentRevOfUnit'](_0x173719),'revision':0x0,'userID':_0x3c9b2a,'memberID':_0x53bfaf,'mutations':_0x57130d},'pendingMutations':_0x468806['slice'](_0x57130d[_0x1d920f(0x48b)])};}function li(_0x2e852e,_0x563f17,_0x33b061,_0x2cf185,_0x31438b){var _0x1c1723=_0x369398,_0x592a28,_0x3a93d0,_0x4b9d63,_0x4ec8d0;const _0x637ed6=[_0x2e852e['reduce']((_0xc77b3c,_0x15f219)=>{var _0x45b9cb=_0x5588,_0x5e9b93;const {id:_0x3fead1}=_0xc77b3c,{id:_0x3671d0,type:_0x3c24a1}=_0x15f219,_0x487836=(_0x5e9b93=_0xc77b3c[_0x45b9cb(0x373)])!=null?_0x5e9b93:{'actions':null},_0x1ea6fa=_0x15f219[_0x45b9cb(0x373)];if(_0x3fead1&&_0x3fead1!==_0x3671d0)throw new Error(_0x45b9cb(0x4dc)+_0x3fead1+_0x45b9cb(0x294)+_0x3671d0+'.');return{..._0xc77b3c,'id':_0x3671d0,'type':_0x3c24a1,'params':{'unitId':_0x1ea6fa[_0x45b9cb(0x205)],'textRanges':_0x1ea6fa[_0x45b9cb(0x37d)],'actions':a['JSONX']['compose'](_0x487836[_0x45b9cb(0x493)],_0x1ea6fa[_0x45b9cb(0x493)])}};},{})],_0xa5abb4=(_0x3a93d0=(_0x592a28=_0x31438b[_0x1c1723(0x227)]())==null?void 0x0:_0x592a28[_0x1c1723(0x2f9)])!=null?_0x3a93d0:'unknown',_0x2206b6=(_0x4ec8d0=(_0x4b9d63=_0x31438b[_0x1c1723(0x227)]())==null?void 0x0:_0x4b9d63[_0x1c1723(0x428)])!=null?_0x4ec8d0:_0x1c1723(0x27e);return{'changeset':{'unitID':_0x563f17,'type':p[_0x1c1723(0x2b4)](_0x33b061[_0x1c1723(0x222)](_0x563f17)),'baseRev':_0x2cf185[_0x1c1723(0x1f1)](_0x563f17),'revision':0x0,'userID':_0xa5abb4,'memberID':_0x2206b6,'mutations':_0x637ed6},'pendingMutations':[]};}function bt(_0xdf842b,_0x1bc4b8){var _0x95e0ed=_0x369398;const _0x3c253a=new $['ReplaySubject'](0x1);return setTimeout(()=>_0x3c253a[_0x95e0ed(0x25c)](_0x1bc4b8),_0xdf842b),_0x3c253a[_0x95e0ed(0x381)]()[_0x95e0ed(0x27d)]($[_0x95e0ed(0x3cf)](0x1));}const ui={'id':X[_0x369398(0x464)]['id'],'type':a[_0x369398(0x3ed)][_0x369398(0x301)],'params':{}};var di=Object[_0x369398(0x3b4)],ae=(_0x28e1ae,_0x160442,_0x19a010,_0x35fd08)=>{var _0x4cb08d=_0x369398;for(var _0x3c5b63=_0x35fd08>0x1?void 0x0:_0x35fd08?di(_0x160442,_0x19a010):_0x160442,_0x5a6ebe=_0x28e1ae[_0x4cb08d(0x48b)]-0x1,_0x58e439;_0x5a6ebe>=0x0;_0x5a6ebe--)(_0x58e439=_0x28e1ae[_0x5a6ebe])&&(_0x3c5b63=_0x58e439(_0x3c5b63)||_0x3c5b63);return _0x3c5b63;},L=(_0x5cbdc1,_0x522db0)=>(_0x2cc5c2,_0xde6beb)=>_0x522db0(_0x2cc5c2,_0xde6beb,_0x5cbdc1),Be=(_0x519081=>(_0x519081['NOT_COLLAB']=_0x369398(0x2fb),_0x519081[_0x369398(0x544)]='synced',_0x519081[_0x369398(0x4df)]=_0x369398(0x3ac),_0x519081[_0x369398(0x407)]='awaiting',_0x519081[_0x369398(0x1e2)]=_0x369398(0x21b),_0x519081[_0x369398(0x1e8)]=_0x369398(0x25a),_0x519081[_0x369398(0x37a)]=_0x369398(0x429),_0x519081[_0x369398(0x4ff)]=_0x369398(0x418),_0x519081))(Be||{});function _0x1086(){var _0x3dadc7=['loadOfflineData','IContextService','_onJoinRoomEvent','_entityInit$','_initCloseConn','CollaborationSessionService','ICommandService','AwaitingState','uniscriptRunEvent','max','_awaitingChangeset','commentUpdate$','capture','complete','session.room-not-exists','sigBytes','_createInitialState','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','status','COMPLETION_FINISHED','list','_compressMutationService','update','execute','body','SUBMIT_CHANGESET_TIMEOUT','AES','YUUMI_ALL_TABLES_IS_INVALID','_onCombEvent','/new_changes','function','INVITE_CODE_ALREADY_BOUND','_networkConditionService','fetchMissingChangesets','isArray','YUUMI_RATE_OVER_LIMIT','listRoles','HmacSHA1','COMPRESS_MUTATION_APPLY','_onRemoteChangeset','createIdentifier','enableAuthServer','collaboration_new_changeset','_snapshotService','_substituteUndoStack','_onRemoteRetry','_createSocket','IUniverInstanceService','send','_waitCount','getSnapshotAPIPath','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','UNIVER_SHEET','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_candidateSocket','_scheduleCompleteTimestamp','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','includes','_doFinalize','PENDING','createCollaborator','/block/','origin','UNRECOGNIZED','deepClone','splice','roles','1046752hMdVTm','changesets','[DataLoaderService]','_status$','UnitEmbedded','LEAVE','setCurrentUser','title','_localCacheService','SOCKET_FAILED_RETRY','updatePermissionPoint','COLLAB_SUBMIT_CHANGESET_URL_KEY','SetSelectionsOperation','_shouldReportTelemetry','_telemetryInfo','ICollaborationSocketService','session','_revisionService','setConfig','_iKey','_nDataBytes','BehaviorSubject','/universer-api/file/{fileID}/sign-url','refreshPermission','OFFLINE','registerHTTPInterceptor','CONNECTOR_DATA_TOO_LARGE','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','HttpExport','DEFAULT_WS_SESSION_TICKET_URL','find','_getLoginPath','_onUserLeave','UPDATE_CURSOR','readInt32LE','_transformSelections','_resendTimeout','Undefined','localeService','HTTPService','words','UNIVER_DOC','b64DecodeUnicode','_instanceService','collaboration-client.config','_schedule','_isPermissionRej','515652KSBKcU','_emitMembers','MentionIoHttpService','[OfflineState]:\x20received\x20changeset.','_entities','_keySchedule','clamp','_updateState','/universer-api/uniscript','Base','_substituteRedoStack','_singleActiveUnitService','save\x20fail\x20reason\x20is\x20','append','INetworkConditionService','init','image/jpg','HTTPRequest','add','location','status$','CollaborationSession','UniverCollaborationClientPlugin','_iv','_getRedoStack','OfflineState','_undoStacks','format','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_commentService','permissionRejEvent','HmacMD5','getValue','kdf','values','_fetchMissChangesets','_prevBlock','data','_socket','SUCCUSS','SessionStatus','_clearCollaborationTimeoutTimer','_initMergeInterceptor','size','_handler','CollaborationStatus','SYNCED','then','YUUMI_ASYNCIO_CANCELLED','getRoom','patch','every','error','_sessionStatus$','x-univer-host','TOO_MANY_REQUESTS','/collaborator','_tryReconnect','onRemoteAck','getUnit','_transformStateCache','onCommentUpdate','LOCAL_CACHE_INTERVAL_KEY','crypto','/rev/','/resources','_cipher','_applyRemoteChangeset','awaiting','_createHmacHelper','_clearLocalCache','fetchThroughInterceptors','has','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','workbook','_getUploadFileURL','emitEvent','AWAITING_WITH_PENDING','EvpKDF','_clearRetryConnectingTimer','_doCryptBlock','ISocketService','stringify','FETCH_MISS','close$','getMember','delete','ITransformService','ws://127.0.0.1:8000/universer-api/comb/connect','objectActions','_clearHeartbeatTimer','MentionType','getCurrentRevOfUnit','univer-pro.collaboration-client.single-active-unit-service','hostname','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','UniverInstanceType','_lockTransition','SerializableCipher','updateCollaborator','padding','_updateStatus','Subject','_reverseMap','image/jpeg','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_collabSessionService','appendMutation','getImage','ONLINE','authzUrl','substr','unitId','USERS_LEAVE','_pendingMutations','routeKey','_timeoutTimer','debug','_changesetSessionId','floor','_roomCreated$','duration','INVALID_INVITE_CODE','replace','/-/object/-/batch_allowed','[OfflineState]:\x20received\x20rejection.','FetchingMissState','_invKeySchedule','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','collaboratorID','UNAUTHENTICATED','resourceIDs','headers','put','awaiting_with_pending','socket\x20open.','_replaceFileID','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_transformRemoteChangesetByStateCache','name','SEND_CHANGESET_TIMEOUT_KEY','getUnitType','4076847Jvovut','charAt','_configService','subUnitId','getCurrentUser','OTHER_CLIENT_EDITING','_httpService','csShouldRetryEvent','synced','mutations','APPLY_PERMISSION_DENIED','csRejEvent','removeMember','ciphertext','PasswordBasedCipher','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','PendingState','_getCurrentRevision','30QVZqdY','_initDependencies','_getDownloadEndpointURL','fromCharCode','APPLY_REJECT','objects','onTransformRemoteChangesetByStateCache','loadDoc','[PendingState]:\x20received\x20rejection.','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_doReset','BlockCipher','csAckEvent','extend','Hex','FETCH_MISSING','__Key__','onCommandExecuted','_disableEditing','CompressMutationService','_retryCount','SheetsSelectionsService','NOT_FOUND','readAsDataURL','BlockCipherMode','getRandomValues','_unitID','/unit/','_getAPIPrefixPath','[CollaborationSession]','type','_onConnectionOpen','HttpImport','abs','getLatestCsReqIdBySid','registerDependencies','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','fetch_missing','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','next','_stopTelemetryCollaborationNewChangeset','MemberService','parseChangesetToProtocol','_transformUndoredo','pad','YUUMI_UNABLE_LOAD_URL','POST','MSG_FOR_ERROR','batchAllowed','CipherParams','JOIN_ROOM_FAILED','interceptor','_startCollaboration','merge','eventID','_event$','encryptBlock','_key','__esModule','getInterceptPoints','textEncoder','UnitStatus','onload','getWorkbookSelections','_retryConnectingTimer','_initUnitPermissionChange','CHANGESET_SHOULD_RETRY','INVALID_ARGUMENT','reduce','LOGIN_URL_KEY','listCollaborators','PERMISSION_REJ','pipe','unknown','reqId','MergeInterceptorFactory','getCollabEntity','revision','_onFetchMissResult','LIVESHARE_TERMINATE','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','CHANGESET_REJ','SHOULD_CLOSE_CONN','editing\x20status\x20changed\x20to','JOIN_ROOM_FULL','SNAPSHOT_INVALID_SNAPSHOT','_toggleOnline','close','IUndoRedoService','Optional','Error\x20on\x20receiving\x20event','reject','\x20to\x20','stopTime','retryConnectingInterval','\x20-\x20','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','HEARTBEAT','joinRsp','encrypt','AuthzIoHttpService','_sender','YUUMI_TABLE_NOT_FOUND_IN_UNIT','failed\x20to\x20apply\x20missed\x20changesets!','reconnect','SNAPSHOT_URL_KEY','onMissedChangesetFetched','startTime','action','submit\x20changeset\x20error!','isTransformChangesetsSuccess','_redoStacks','confirm','collabWebSocketUrl','YUUMI_CONNECTOR_URL_NOT_FOUND','_ENC_XFORM_MODE','loadSheet','_clearScheduledTask','_xformMode','isInternalEditorID','_toggleOffline','readyForCollab','uploadFileServerUrl','socket$','COLLAB_WEB_SOCKET_URL','sequenceExecute','onTransformState','mapDocumentTypeToUniverType','apply','decrypt','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','Hasher','__creator','FAIL','JOIN_ROOM_NOT_EXISTS','IPermissionService','ERROR_IMAGE','members$','Failed\x20to\x20update\x20permission\x20point','_collaborationTimeoutTimer','unsubscribe','_nRounds','getTime','CollaborationUIEventService','SNAPSHOT_SERVER_URL_KEY','_logService','toDisposable','_showConflictNotification','_sendHeartbeatTimer','JOIN_ROOM_PERMISSION_DENIED','ENSURE_SNAPSHOT_EXECUTION','_executeRemoteChangeset','_transformService','fetching\x20missing\x20changesets\x20from\x20','getTypeOfUnitDisposed$','NEW_CHANGESETS','People','_decreaseWaiting','localCacheService','_collaborationUIEventService','getAllMembers','LocaleService','_snapshotServerService','NO_OTHER_CLIENTS_EDITING','SOCKET_FAILED','_sessions','MD5','_getAPIPrefix','onTransformRemoteChangesetByIMECache','_userManagerService','ConflictState','now','touchDependencies','USER_NOT_INVITED_CODE','COMPRESS_MUTATION_SEND','_collaborationSessionService','loginUrlKey','_initRequestHeader','Malformed\x20UTF-8\x20data','getFocusedUnit','startsWith','CollaborationEntity','\x20in\x20_schedule.','_HTTPService','disableLocalCache','CHANGESET_REVISION_CONFILICT','disposeWithMe','UNDEFINED','_minBufferSize','change$','iterations','leaveEvent','CollaborationImageIoService','[UniverCollaborationClientPlugin]','AwaitingWithPendingState','shareReplay','userID','newCsEvent','not_collab','_createHelper','HELLO','&source=','defineProperty','setShowComponents','MUTATION','IConfigService','enc','transformChangesets','_remoteChangesetQueue','awaitingChangeset','_hasher','RxDisposable','method','unit-cache-','blockSize','SNAPSHOT_HAS_BEEN_REMOVED','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','IImageIoService','Could\x20not\x20dynamically\x20require\x20\x22','reset','RevisionService','Pkcs7','snapshot','_DEC_XFORM_MODE','prototype','_eventService','NoPadding','LocalUndoRedoService','LIVESHARE_OPERATION','_members$','HEARTBEAT_TIMEOUT_KEY','BufferedBlockAlgorithm','_change$','SheetTransformSelectionsService','_telemetryService','[SyncedState]:\x20received\x20rejection.','unpad','toString','override','ILocalCacheService','_onRemoteRejected','LOCAL_CACHE_INTERVAL','deleteCollaborator','call','_socketService','hasher','RETRY_CONNECTING_MAX_COUNT_KEY','Base64','\x0aCurrent:\x20','_hash','CollaborativeUndoRedoService','toggleOffline','_onLocalMutation','liveShareNewHost','dispose','algo','createEncryptor','_imageSourceCache','parse','_sendingTimer','IAuthzIoService','getSheetId','_checkMissing','UserProfileImg','/universer-api/stream/file/upload','onRemoteRej','onlyLocal','parseProtocolChangeset','/object/','_getSignURL','OTHER_CLIENTS_EDITING','mergeOverrideWithDependencies','[SyncedState]:\x20received\x20acknowledgement.','closeSession','{fileID}','DependentOn','/role','LIVESHARE_FETCH_OPERATIONS','onSendChangeset','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','subscribe','enableCollaboration','_listenToNetworkCondition','_registerDependencies','JOINING','enableSingleActiveInstanceLock','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','requestParams','onTransformIME','CLOSE_ROOM','getImageSourceCache','_clearRedo','randomBytes','_socketMessageSubscription','_onMessage','/allowed','initWorkbookPermissionChange','_changesetReqId','toggleOnline','_incrementRevisionNumber','connection\x20error','179108ilCkWc','copyFileMeta','keySize','YUUMI_AI_RUN_FAILED','mode','avatar','$super','CollaborationSocketService','collabSubmitChangesetUrl','getTypeOfUnitAdded$','transformSelections','LICENSE_EXPORT_SIZE_EXCEEDED','[CollaborationUndoRedoService]','executeCommand','isTransformMutationsWithChangesetSuccess','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_clearUndo','params','DEFAULT_FILE_NAME','univer-pro.collaboration-client-socket-service','getUnitId','Workbook','onLocalMutation','PY_RUNTIME_SCRIPT_ERROR','CONFLICT','_syncEditingCollabCursor','code','textRanges','YUUMI_URL_COL_OUT_OF_RANGE','open$','_tryEnsureSocket','asObservable','Tools','get','_parse','?size=','_unlockTransition','getResourcesRequest','_onConnectionFailed','signUrlServerUrl','join','putCollaborators','clone','_waitForHeartbeatResponse','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','LICENSE_IMPORT_SIZE_EXCEEDED','ceil','dispose$','saveChangeset','_scheduleCollaborationTimeoutTimer','addImageSourceCache','auth.needGotoLoginAlert','formatter','getMemberID','_submitChangeset','incrementRevOfUnit','ALREADY_EXISTS','APPLY_DUPLICATED','UNKNOWN_CMD','GLOBAL_ROOMS_CNT_EXCEEDS','fromCollab','indexOf','c1Prime','findIndex','catch','_joinRoom','PERMISSION_DENIED','PERSON','_commandService','event$','msCrypto','compute','HMAC','salt','pending','byteLength','_univerInstanceService','Module','key','UUID','SEND_CHANGESET_TIMEOUT','result','getOwnPropertyDescriptor','takeUntil','_socket$','LICENSE_MAX_UNITS_EXCEEDED','_createInitialStateImpl','encode','_injector','_resendTimer','resend','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','saveSheetBlock','8ENPWFs','HEARTBEAT_INTERVAL_KEY','Injector','transformMutationsWithChangeset','_keyPriorReset','onRemoteChangeset','UNIVER_PROJECT','collaboration-client.local-cache-service','MOBILE_VERIFY_CODE_MISMATCH','objectID','collaMsg','transformStack\x20failed!','uuidv4','clear','_localeService','map','take','_transformIMECache','CBC','DataLoaderService','updatePermissionObjEvent','SyncedState','FileId','[PendingState]:\x20unhandled\x20univer\x20type:\x20','ImageSourceType','infoRsp','UNIVER_COLLABORATION_CLIENT_PLUGIN','saveSnapshot','getConfig','forEach','SUBMIT_CHANGESET','_state$','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','/universer-api/snapshot/','_rescheduleHeartbeat','ERROR_EXCEED_SIZE','baseRev','_map','focused$','RECV','_onOffline','1814705wILFhz','collaborators','CommentService','UNKNOWN_CODE','exports','CommandType','loadUnit','_replayCachedMutations','Inject','_clearTimeoutTimer','ImageUploadStatusType','_updateLocalCache','_unitInfo$','waitForRoom$','create','INGEST','_transformStack','equals','subject','/universer-api/authz','unitID','SHA1','_data','_getCtorByUniverType','cmd','WECHAT_HAS_BEEN_BOUND','USERS_ENTER','ivSize','LIVESHARE_REQUEST_HOST','ThresholdInterceptorFactory','_sendHeartbeat','AWAITING','APPLY_REVISION_CONFILICT','deserializeToCombResponse','InsertSheetMutation','c2Prime','SheetPermissionInitController','_state','allowed','COLLAB_WEB_SOCKET_URL_KEY','concat','url','lib','_socketReady','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','LICENSE_DISTRO_REJECTED','m2Prime','cfg','offline','isTransformMutationsWithChangesetFailure','joinEvent','DocCollaborationEntity','UNIVER_SLIDE','updateOfflineData','WorkbookEditablePermission','JOIN','SnapshotServerOverHTTPService','Utf8','_handlerCallback','onRemoteRetry','UNISCRIPT_RUN','_roomMembers','ILogService','_acknowledgedAwaitingChangeset','memberID','conflict','fetchMiss','&to=','[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.','_sheetTransformSelectionsService','_type','target','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','downloadEndpointUrl','YUUMI_NO_CUBOID_FOR_QUESTION','originalMeta','_collaborationPaused','socketService','130942dAEdVB','Disposable','session.room-permission-denied','UserManagerService','updateMember','LIVESHARE_NEW_HOST','_mode','INVITE_CODE_HAS_BEEN_UES','shouldCloseConn','LOGIN_FAILED','selections','onMissingChangesets','requireSession','filter','_createHandler','DisposableCollection','HEARTBEAT_TIMEOUT','Quantity','commentUpdateEvent','SheetCollaborationEntity','EMAIL_VERIFY_CODE_MISMATCH','src','_memberService','_members','pluginName','session.join-failed','isPermissionRej','session.room-full','_doProcessBlock','INTERNAL_ERROR','onSyncEditingCollabCursor','APPLY_NON_SEQUENTIAL_REVISION','_permissionService','message$','_onRemoteACK','image/gif','objectType','CollaborationUIEventId','_process','from','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','Encryptor','CollaborationController','YUUMI_SUBSCRIPTION_NOT_FOUND','_getSendChangesetTimeout','push','EmptyMutation','createSocket','_append','sin','WordArray','getLocalCacheKey','session.room-cnt-exceeds','IDLE','?url=','_config','onTransformSelections','createDecryptor','_init','_transformRemoteChangesetByIMECache','createInstance','CollaborationEvent','getCurrentSelections','slice','sessionStatus','Decryptor','href','_transitionLocked','univer-pro.collaboration-client.network-condition.service','delay','random','range','183539CnCRXM','_resendWithTimeout','min','socket\x20close','ISnapshotServerService','serializeCombRequest','buffer','/fetchmissing?from=','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','charCodeAt','firstValueFrom','set','length','CHANGESET_ACK','Latin1','onStateChange','string','state$','hasOwnProperty','_onConflict','actions','mixIn','_undoRedoService','sessionStatus$','_onRecvEvent','getCollabEntity$','post','RichTextEditingMutation','encodeURIComponent','setWaitCount','_queuedRemoteChangesets','ERROR_IMAGE_TYPE','_commentUpdate$','sid','state','finalize','error$'];_0x1086=function(){return _0x3dadc7;};return _0x1086();}const Rt=0xea60;class ce{constructor(_0x5f26a3,_0x1881b0,_0x220a4b,_0x100747,_0x441baa,_0x4cedec,_0xf0dd0a,_0xd9c0d,_0xbd4f5c){var _0xa77abb=_0x369398;A(this,'_awaitingChangeset',null),A(this,_0xa77abb(0x207),[]),(this['unitID']=_0x5f26a3,this[_0xa77abb(0x253)]=_0x1881b0,this[_0xa77abb(0x542)]=_0x441baa,this[_0xa77abb(0x3a6)]=_0x4cedec,this[_0xa77abb(0x495)]=_0xf0dd0a,this[_0xa77abb(0x4f8)]=_0xd9c0d,this[_0xa77abb(0x4ef)]=_0xbd4f5c,this[_0xa77abb(0x4ae)]=_0x220a4b,this[_0xa77abb(0x207)]=_0x100747);}['_checkMissing'](_0x37652f){var _0x3e99a1=_0x369398;const _0xa47fd6=this[_0x3e99a1(0x4f8)][_0x3e99a1(0x1f1)](this[_0x3e99a1(0x3fc)]);return _0x37652f['revision']>_0xa47fd6+0x1?(this[_0x3e99a1(0x542)][_0x3e99a1(0x441)]({'from':_0xa47fd6,'to':_0x37652f[_0x3e99a1(0x282)]-0x1}),!0x0):!0x1;}[_0x369398(0x260)](_0x4e7f42){var _0x713688=_0x369398;this['_undoRedoService']['transformUndoRedo'](this[_0x713688(0x3fc)],_0x4e7f42);}[_0x369398(0x50a)](_0x3e4c28){var _0x5686ad=_0x369398,_0xcba4e,_0x209bfd;(_0x209bfd=(_0xcba4e=this[_0x5686ad(0x542)])['onTransformSelections'])==null||_0x209bfd[_0x5686ad(0x328)](_0xcba4e,_0x3e4c28);}['_transformIMECache'](_0x4ec2a3){var _0x448617=_0x369398,_0x19fcfa,_0x4c7cbe;return(_0x4c7cbe=(_0x19fcfa=this[_0x448617(0x542)])['onTransformIME'])==null?void 0x0:_0x4c7cbe[_0x448617(0x328)](_0x19fcfa,_0x4ec2a3);}[_0x369398(0x1d1)](_0x427079){var _0x538050=_0x369398,_0x34d42c,_0x3e4adb;return(_0x3e4adb=(_0x34d42c=this[_0x538050(0x542)])[_0x538050(0x2b3)])==null?void 0x0:_0x3e4adb[_0x538050(0x328)](_0x34d42c,_0x427079);}[_0x369398(0x471)](_0x31b99c){var _0x2c8a17=_0x369398,_0xb6de99,_0x82b6de,_0x1a2080;return(_0x1a2080=(_0x82b6de=(_0xb6de99=this[_0x2c8a17(0x542)])[_0x2c8a17(0x2dd)])==null?void 0x0:_0x82b6de[_0x2c8a17(0x328)](_0xb6de99,_0x31b99c))!=null?_0x1a2080:_0x31b99c;}[_0x369398(0x21f)](_0x3299fc){var _0x421658=_0x369398,_0x411c26,_0xc84a71,_0x33f069;return(_0x33f069=(_0xc84a71=(_0x411c26=this['_handler'])[_0x421658(0x23b)])==null?void 0x0:_0xc84a71[_0x421658(0x328)](_0x411c26,_0x3299fc))!=null?_0x33f069:_0x3299fc;}[_0x369398(0x37b)](_0x14115c){var _0x2a6c2f=_0x369398,_0x78e546,_0x2eeae6;if(this[_0x2a6c2f(0x253)]===J[_0x2a6c2f(0x510)]){const {unitID:_0x3c5add,mutations:_0x294732,memberID:_0x5bb040}=_0x14115c,_0x30b708=_0x294732[0x0]['params']['textRanges'];Array[_0x2a6c2f(0x4c6)](_0x30b708)&&_0x30b708[_0x2a6c2f(0x48b)]>0x0&&((_0x2eeae6=(_0x78e546=this[_0x2a6c2f(0x542)])[_0x2a6c2f(0x454)])==null||_0x2eeae6['call'](_0x78e546,{'unitID':_0x3c5add,'memberID':_0x5bb040,'textRanges':_0x30b708}));}}[_0x369398(0x3f3)](){var _0x312b11=_0x369398,_0x56b865;(_0x56b865=this[_0x312b11(0x4ef)])==null||_0x56b865[_0x312b11(0x41d)](this[_0x312b11(0x3fc)],this[_0x312b11(0x253)],this[_0x312b11(0x4ae)],this[_0x312b11(0x207)]);}[_0x369398(0x234)](){var _0x3ca9d2=_0x369398;return this[_0x3ca9d2(0x4f8)][_0x3ca9d2(0x1f1)](this[_0x3ca9d2(0x3fc)]);}['_incrementRevisionNumber'](){var _0x37c518=_0x369398;this[_0x37c518(0x4f8)][_0x37c518(0x399)](this[_0x37c518(0x3fc)]);}[_0x369398(0x2cc)](_0x5da500){var _0x9fc8bc=_0x369398,_0x31fdc7;let _0x3dc901=this[_0x9fc8bc(0x471)](_0x5da500);_0x3dc901=this[_0x9fc8bc(0x21f)](_0x3dc901);const _0x4477e1=a[_0x9fc8bc(0x2b2)](_0x3dc901[_0x9fc8bc(0x22c)],this[_0x9fc8bc(0x3a6)],{'fromCollab':!0x0});if(!_0x4477e1['result'])throw _0x4477e1[_0x9fc8bc(0x54a)]instanceof Error?_0x4477e1[_0x9fc8bc(0x54a)]:new Error((_0x31fdc7=_0x4477e1['error'])!=null?_0x31fdc7:'[CollaborationState]:\x20apply\x20error!');this[_0x9fc8bc(0x3d0)](_0x3dc901),this[_0x9fc8bc(0x1d1)](_0x3dc901),this[_0x9fc8bc(0x260)](_0x5da500),this[_0x9fc8bc(0x50a)](_0x3dc901),this[_0x9fc8bc(0x37b)](_0x3dc901),this['_incrementRevisionNumber']();}}exports[_0x369398(0x3d4)]=class extends ce{constructor(_0x33f543,_0x13ba08,_0x5a098f,_0x592f46,_0xec9f2e,_0x4e5b49,_0x511046,_0x1564a3,_0x17fef7,_0x40985f){var _0x50044a=_0x369398;super(_0x33f543,_0x13ba08,null,[],_0x5a098f,_0x511046,_0x4e5b49,_0x592f46,_0x40985f),A(this,_0x50044a(0x4b6),_0x50044a(0x22b)),(this[_0x50044a(0x3ba)]=_0xec9f2e,this[_0x50044a(0x2c6)]=_0x1564a3,this[_0x50044a(0x2cd)]=_0x17fef7,this['localCacheService']=_0x40985f);}[_0x369398(0x200)](_0x373b73){var _0xd8a9af=_0x369398;const _0x4f0e92=this['_injector'][_0xd8a9af(0x472)](exports['PendingState'],this['unitID'],this[_0xd8a9af(0x253)],[_0x373b73],this['_handler']);return _0x4f0e92[_0xd8a9af(0x514)](),_0x4f0e92[_0xd8a9af(0x3f3)](),_0x4f0e92;}[_0x369398(0x3c4)](_0x2dc2c2){var _0x25879f=_0x369398;if(this[_0x25879f(0x33b)](_0x2dc2c2))return this[_0x25879f(0x3ba)][_0x25879f(0x472)](exports[_0x25879f(0x213)],this['unitID'],this['type'],null,[],null,[_0x2dc2c2],this[_0x25879f(0x542)]);try{const _0x427028=this[_0x25879f(0x2cd)][_0x25879f(0x3c2)](_0x2dc2c2,[ui]);if(p[_0x25879f(0x370)](_0x427028)){const {c1Prime:_0x26faf7}=_0x427028;return this['_executeRemoteChangeset'](_0x26faf7),this;}throw _0x427028['error'];}catch(_0x2dca48){return this['_logService'][_0x25879f(0x54a)](_0x2dca48),this[_0x25879f(0x492)](!0x1);}}[_0x369398(0x492)](_0x2a487c){var _0x444305=_0x369398;return this[_0x444305(0x3ba)][_0x444305(0x472)](exports[_0x444305(0x2df)],this['unitID'],this[_0x444305(0x253)],null,[],this[_0x444305(0x542)],_0x2a487c);}[_0x369398(0x1cf)](){var _0x5f2ac7=_0x369398;throw new Error(_0x5f2ac7(0x345));}[_0x369398(0x33e)](){var _0x6b70c9=_0x369398;throw new Error(_0x6b70c9(0x320));}[_0x369398(0x423)](){return this;}['toggleOffline'](){var _0x2050ca=_0x369398;return this[_0x2050ca(0x3ba)][_0x2050ca(0x472)](exports[_0x2050ca(0x52f)],this['unitID'],this[_0x2050ca(0x253)],null,[],this[_0x2050ca(0x542)]);}[_0x369398(0x35f)](){return this;}[_0x369398(0x3bc)](){var _0x313a6c=_0x369398;throw new Error(_0x313a6c(0x430));}[_0x369398(0x42a)](){var _0x294e76=_0x369398;const _0x19c2ce=this[_0x294e76(0x4f8)][_0x294e76(0x1f1)](this[_0x294e76(0x3fc)]);return this[_0x294e76(0x542)][_0x294e76(0x441)]({'from':_0x19c2ce,'to':0x0}),this['_injector']['createInstance'](exports[_0x294e76(0x213)],this[_0x294e76(0x3fc)],this['type'],null,[],null,[],this[_0x294e76(0x542)]);}},exports[_0x369398(0x3d4)]=ae([L(0x3,a[_0x369398(0x3f0)](p['RevisionService'])),L(0x4,a[_0x369398(0x3f0)](a[_0x369398(0x3c1)])),L(0x5,a[_0x369398(0x28d)]),L(0x6,a['ICommandService']),L(0x7,a[_0x369398(0x426)]),L(0x8,p[_0x369398(0x1ec)]),L(0x9,a[_0x369398(0x28e)](q))],exports[_0x369398(0x3d4)]),exports[_0x369398(0x233)]=class extends ce{constructor(_0x232cfb,_0x5c11ea,_0x40cd7a,_0x4956a3,_0xcf793c,_0x34266f,_0x30cb68,_0x29e8e3,_0x28763a,_0x1604d9,_0x1e7e10,_0x255da6,_0x4dd80e,_0x5b3e24){var _0xc7afaa=_0x369398;super(_0x232cfb,_0x5c11ea,null,_0x40cd7a,_0x4956a3,_0x28763a,_0x4dd80e,_0x34266f,_0x5b3e24),A(this,'status',_0xc7afaa(0x3ac)),A(this,'_scheduleCompleteTimestamp',null),A(this,_0xc7afaa(0x338),null),(this[_0xc7afaa(0x3ba)]=_0xcf793c,this[_0xc7afaa(0x44c)]=_0x30cb68,this['_logService']=_0x29e8e3,this[_0xc7afaa(0x225)]=_0x1604d9,this[_0xc7afaa(0x2cd)]=_0x1e7e10,this[_0xc7afaa(0x3ae)]=_0x255da6);}[_0x369398(0x200)](_0x5e972e){var _0x38d045=_0x369398;return this[_0x38d045(0x207)][_0x38d045(0x463)](_0x5e972e),this[_0x38d045(0x3f3)](),this;}[_0x369398(0x3c4)](_0x4e8885){var _0x12d4f4=_0x369398;if(this['_checkMissing'](_0x4e8885))return this[_0x12d4f4(0x2aa)](),this[_0x12d4f4(0x3ba)][_0x12d4f4(0x472)](exports[_0x12d4f4(0x213)],this[_0x12d4f4(0x3fc)],this[_0x12d4f4(0x253)],null,this[_0x12d4f4(0x207)],null,[_0x4e8885],this[_0x12d4f4(0x542)]);try{const _0xcda750=this[_0x12d4f4(0x2cd)][_0x12d4f4(0x3c2)](_0x4e8885,this[_0x12d4f4(0x207)]);if(p[_0x12d4f4(0x370)](_0xcda750)){const {c1Prime:_0x49f26b,m2Prime:_0x57ef36}=_0xcda750;this['_executeRemoteChangeset'](_0x49f26b);const _0x584dd1=this[_0x12d4f4(0x3ba)]['createInstance'](exports[_0x12d4f4(0x233)],this[_0x12d4f4(0x3fc)],this[_0x12d4f4(0x253)],_0x57ef36,this[_0x12d4f4(0x542)]);this[_0x12d4f4(0x2aa)]();const _0x390062=new Date()['getTime'](),_0x180ae2=this[_0x12d4f4(0x4db)]?Math[_0x12d4f4(0x4ad)](this[_0x12d4f4(0x4db)]-_0x390062,0x0):this['_getSendChangesetTimeout']();return _0x584dd1[_0x12d4f4(0x514)](_0x180ae2),_0x584dd1;}throw _0xcda750[_0x12d4f4(0x54a)];}catch(_0x1e0498){return this[_0x12d4f4(0x2c6)][_0x12d4f4(0x54a)](_0x1e0498),this['_onConflict'](!0x1);}}[_0x369398(0x1cf)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x70dc22=_0x369398;throw new Error(_0x70dc22(0x23d));}[_0x369398(0x423)](){return this;}[_0x369398(0x330)](){var _0x2e1b26=_0x369398;return this[_0x2e1b26(0x2aa)](),this[_0x2e1b26(0x3ba)]['createInstance'](exports['OfflineState'],this[_0x2e1b26(0x3fc)],this[_0x2e1b26(0x253)],null,this[_0x2e1b26(0x207)],this['_handler']);}[_0x369398(0x35f)](){return this;}['_schedule'](_0x3a6cd6){var _0x2301cb=_0x369398;const _0x15be05=_0x3a6cd6!=null?_0x3a6cd6:this[_0x2301cb(0x462)]();this[_0x2301cb(0x4db)]=new Date()[_0x2301cb(0x2c3)]()+_0x15be05,this[_0x2301cb(0x338)]=setTimeout(()=>{var _0x45e7cd=_0x2301cb;this[_0x45e7cd(0x2aa)]();let _0x28a0e5=null;switch(this[_0x45e7cd(0x253)]){case J['UNIVER_SHEET']:{_0x28a0e5=Ge(this[_0x45e7cd(0x207)],this[_0x45e7cd(0x3fc)],this['_univerInstanceService'],this['_revisionService'],this[_0x45e7cd(0x44c)]);break;}case J[_0x45e7cd(0x510)]:{this[_0x45e7cd(0x207)][_0x45e7cd(0x549)](_0x3ebb80=>_0x3ebb80['id']===ht[_0x45e7cd(0x49a)]['id'])?_0x28a0e5=li(this['_pendingMutations'],this[_0x45e7cd(0x3fc)],this[_0x45e7cd(0x3ae)],this[_0x45e7cd(0x4f8)],this[_0x45e7cd(0x44c)]):_0x28a0e5=Ge(this[_0x45e7cd(0x207)],this['unitID'],this['_univerInstanceService'],this[_0x45e7cd(0x4f8)],this['_memberService']);break;}default:throw new Error(_0x45e7cd(0x3d6)+this[_0x45e7cd(0x253)]+_0x45e7cd(0x2eb));}const {changeset:_0x2b3162,pendingMutations:_0x2e94e8}=_0x28a0e5;this[_0x45e7cd(0x542)][_0x45e7cd(0x34b)](_0x2b3162);const _0x2b229c=_0x2e94e8[_0x45e7cd(0x48b)]?this[_0x45e7cd(0x3ba)][_0x45e7cd(0x472)](exports[_0x45e7cd(0x2f7)],this[_0x45e7cd(0x3fc)],this[_0x45e7cd(0x253)],_0x2b3162,_0x2e94e8,this[_0x45e7cd(0x542)],void 0x0):this['_injector'][_0x45e7cd(0x472)](exports[_0x45e7cd(0x4ab)],this[_0x45e7cd(0x3fc)],this[_0x45e7cd(0x253)],_0x2b3162,this[_0x45e7cd(0x542)]);_0x2b229c[_0x45e7cd(0x3f3)](),this[_0x45e7cd(0x542)][_0x45e7cd(0x48e)](this,_0x2b229c);},_0x15be05);}['_getSendChangesetTimeout'](){var _0x18671a=_0x369398,_0x2b1f1c;const _0x5a18e0=this['_configService'][_0x18671a(0x3db)](G);return(_0x2b1f1c=_0x5a18e0==null?void 0x0:_0x5a18e0['sendChangesetTimeout'])!=null?_0x2b1f1c:xt;}[_0x369398(0x3bc)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x369398(0x2aa)](){var _0x382d9e=_0x369398;this[_0x382d9e(0x338)]!=null&&(clearTimeout(this[_0x382d9e(0x338)]),this[_0x382d9e(0x338)]=null);}[_0x369398(0x492)](_0xbb4e9f){var _0x3790d8=_0x369398;return this[_0x3790d8(0x2aa)](),this['_injector'][_0x3790d8(0x472)](exports[_0x3790d8(0x2df)],this[_0x3790d8(0x3fc)],this[_0x3790d8(0x253)],null,this[_0x3790d8(0x207)],this[_0x3790d8(0x542)],_0xbb4e9f);}},exports[_0x369398(0x233)]=ae([L(0x4,a['Inject'](a[_0x369398(0x3c1)])),L(0x5,a[_0x369398(0x3f0)](p[_0x369398(0x311)])),L(0x6,a['Inject'](exports[_0x369398(0x25e)])),L(0x7,a[_0x369398(0x426)]),L(0x8,a[_0x369398(0x4aa)]),L(0x9,a[_0x369398(0x302)]),L(0xa,p['ITransformService']),L(0xb,a['IUniverInstanceService']),L(0xc,a[_0x369398(0x28d)]),L(0xd,a[_0x369398(0x28e)](q))],exports['PendingState']),exports[_0x369398(0x4ab)]=class extends ce{constructor(_0x27eccf,_0x5a89ea,_0x3b21f4,_0x45ac81,_0x2f99bc,_0x1ad235,_0x2a84f8,_0x1e60cf,_0x3642c1,_0x4656fe,_0x460c46){var _0x2acc4c=_0x369398;super(_0x27eccf,_0x5a89ea,_0x3b21f4,[],_0x45ac81,_0x2a84f8,_0x4656fe,_0x1ad235,_0x460c46),A(this,_0x2acc4c(0x4b6),_0x2acc4c(0x1d9)),A(this,_0x2acc4c(0x50b),0x0),A(this,_0x2acc4c(0x3bb)),A(this,'_sender'),(this[_0x2acc4c(0x3ba)]=_0x2f99bc,this[_0x2acc4c(0x2c6)]=_0x1e60cf,this['_transformService']=_0x3642c1);}[_0x369398(0x200)](_0x381b61){var _0x2cf1e9=_0x369398;this[_0x2cf1e9(0x2aa)]();const _0x45ada9=this[_0x2cf1e9(0x3ba)][_0x2cf1e9(0x472)](exports['AwaitingWithPendingState'],this[_0x2cf1e9(0x3fc)],this[_0x2cf1e9(0x253)],this[_0x2cf1e9(0x4ae)],[_0x381b61],this['_handler'],this['_resendTimer']);return _0x45ada9[_0x2cf1e9(0x3f3)](),_0x45ada9;}['onRemoteChangeset'](_0x9124fc){var _0x3a064e=_0x369398;if(this['_checkMissing'](_0x9124fc))return this[_0x3a064e(0x2aa)](),this[_0x3a064e(0x3ba)]['createInstance'](exports['FetchingMissState'],this[_0x3a064e(0x3fc)],this['type'],this['_awaitingChangeset'],[],null,[_0x9124fc],this[_0x3a064e(0x542)]);try{const _0x553f00=this['_transformService']['transformChangesets']([_0x9124fc],[this['_awaitingChangeset']],!0x1);if(p[_0x3a064e(0x2a3)](_0x553f00)){const {c1Prime:_0x94bc44,c2Prime:_0x416ec0}=_0x553f00;this[_0x3a064e(0x2cc)](_0x94bc44[0x0]),_0x416ec0[0x0][_0x3a064e(0x3e3)]=this[_0x3a064e(0x234)](),this['_clearScheduledTask']();const _0xe15ea3=this[_0x3a064e(0x3ba)][_0x3a064e(0x472)](exports[_0x3a064e(0x4ab)],this[_0x3a064e(0x3fc)],this[_0x3a064e(0x253)],_0x416ec0[0x0],this[_0x3a064e(0x542)]);return _0xe15ea3[_0x3a064e(0x3f3)](),_0xe15ea3;}return this['_onConflict'](!0x1);}catch(_0x8d6267){return this[_0x3a064e(0x2c6)][_0x3a064e(0x54a)](_0x8d6267),this[_0x3a064e(0x492)](!0x1);}}[_0x369398(0x1cf)](_0x5e3a7b){var _0x3803a7=_0x369398;this[_0x3803a7(0x2aa)]();const _0x2fdd63=this[_0x3803a7(0x4f8)][_0x3803a7(0x1f1)](this[_0x3803a7(0x3fc)]);if(_0x5e3a7b[_0x3803a7(0x282)]<_0x2fdd63-0x1)return this;if(this[_0x3803a7(0x33b)](_0x5e3a7b))return this[_0x3803a7(0x3ba)][_0x3803a7(0x472)](exports['FetchingMissState'],this[_0x3803a7(0x3fc)],this[_0x3803a7(0x253)],null,[],this[_0x3803a7(0x4ae)],[],this[_0x3803a7(0x542)]);this[_0x3803a7(0x360)]();const _0x3334b4=this[_0x3803a7(0x3ba)][_0x3803a7(0x472)](exports[_0x3803a7(0x3d4)],this[_0x3803a7(0x3fc)],this[_0x3803a7(0x253)],this['_handler']);return _0x3334b4[_0x3803a7(0x3f3)](),_0x3334b4;}[_0x369398(0x33e)](_0x345030){var _0x7cd313=_0x369398;return this[_0x7cd313(0x492)](!!(_0x345030!=null&&_0x345030[_0x7cd313(0x450)]));}[_0x369398(0x423)](_0x5975bb){var _0x509727=_0x369398;return this[_0x509727(0x50b)]>Rt?this[_0x509727(0x330)]():(this[_0x509727(0x3bb)]=bt(this[_0x509727(0x50b)],{'timeout':this[_0x509727(0x50b)],'reqId':_0x5975bb[_0x509727(0x27f)]}),this[_0x509727(0x29a)]=this[_0x509727(0x3bb)][_0x509727(0x34d)](({reqId:_0x489f10,timeout:_0x85d468})=>{var _0xbd2bcd=_0x509727;this[_0xbd2bcd(0x47f)](_0x489f10,_0x85d468);}),this);}[_0x369398(0x330)](){var _0xd20ed4=_0x369398;return this[_0xd20ed4(0x2aa)](),this[_0xd20ed4(0x3ba)]['createInstance'](exports[_0xd20ed4(0x52f)],this[_0xd20ed4(0x3fc)],this[_0xd20ed4(0x253)],this[_0xd20ed4(0x4ae)],[],this['_handler']);}['toggleOnline'](){return this;}['resend'](){var _0x53a20f=_0x369398;this['_handler'][_0x53a20f(0x34b)](this[_0x53a20f(0x4ae)]);}['_onConflict'](_0x4f0105){var _0x7baf5b=_0x369398;return this[_0x7baf5b(0x2aa)](),this[_0x7baf5b(0x3ba)][_0x7baf5b(0x472)](exports[_0x7baf5b(0x2df)],this[_0x7baf5b(0x3fc)],this[_0x7baf5b(0x253)],this[_0x7baf5b(0x4ae)],[],this[_0x7baf5b(0x542)],_0x4f0105);}[_0x369398(0x47f)](_0x18a9cb,_0x17a78f){var _0x568bcd=_0x369398,_0x1d1356;_0x18a9cb===((_0x1d1356=this[_0x568bcd(0x4ae)])==null?void 0x0:_0x1d1356['reqId'])&&(this[_0x568bcd(0x3bc)](),this['_resendTimeout']=_0x17a78f===0x0?0x3e8:_0x17a78f*0x2);}[_0x369398(0x2aa)](){var _0xd97e9e=_0x369398,_0x398b21;(_0x398b21=this[_0xd97e9e(0x29a)])==null||_0x398b21[_0xd97e9e(0x2c1)](),this[_0xd97e9e(0x50b)]=0x0;}},exports[_0x369398(0x4ab)]=ae([L(0x4,a[_0x369398(0x3f0)](a['Injector'])),L(0x5,a[_0x369398(0x3f0)](p[_0x369398(0x311)])),L(0x6,a[_0x369398(0x4aa)]),L(0x7,a['ILogService']),L(0x8,p[_0x369398(0x1ec)]),L(0x9,a[_0x369398(0x28d)]),L(0xa,a[_0x369398(0x28e)](q))],exports[_0x369398(0x4ab)]),exports[_0x369398(0x2f7)]=class extends ce{constructor(_0xb460ba,_0x31dfcd,_0x307f03,_0x5e87af,_0x4ce7af,_0x5d0b03,_0x5ab25f,_0x44c9e7,_0x416979,_0x3b0bb9,_0x599fff,_0x28e747,_0x1bd920){var _0x5e55b1=_0x369398;super(_0xb460ba,_0x31dfcd,_0x307f03,_0x5e87af,_0x4ce7af,_0x416979,_0x28e747,_0x44c9e7,_0x1bd920),A(this,_0x5e55b1(0x4b6),_0x5e55b1(0x21b)),A(this,'_resendTimeout',0x0),A(this,_0x5e55b1(0x3bb)),A(this,_0x5e55b1(0x29a)),(this[_0x5e55b1(0x3ba)]=_0x5ab25f,this[_0x5e55b1(0x2c6)]=_0x3b0bb9,this[_0x5e55b1(0x2cd)]=_0x599fff,this[_0x5e55b1(0x2d3)]=_0x1bd920,_0x5d0b03&&(this[_0x5e55b1(0x3bb)]=_0x5d0b03,this['_sender']=this[_0x5e55b1(0x3bb)][_0x5e55b1(0x34d)](({reqId:_0x5b50a2,timeout:_0x414263})=>{this['_resendWithTimeout'](_0x5b50a2,_0x414263);})));}['appendMutation'](_0x4870fd){return this['_pendingMutations']['push'](_0x4870fd),this;}[_0x369398(0x3c4)](_0x39d566){var _0x18c583=_0x369398;if(this['_checkMissing'](_0x39d566))return this[_0x18c583(0x2aa)](),this[_0x18c583(0x3ba)][_0x18c583(0x472)](exports['FetchingMissState'],this[_0x18c583(0x3fc)],this[_0x18c583(0x253)],this['_awaitingChangeset'],this[_0x18c583(0x207)],null,[_0x39d566],this[_0x18c583(0x542)]);try{const _0x1de4ab=this[_0x18c583(0x2cd)][_0x18c583(0x304)]([_0x39d566],[this[_0x18c583(0x4ae)]],!0x1);if(p[_0x18c583(0x2a3)](_0x1de4ab)){const {c1Prime:_0x3f1c3c,c2Prime:_0x54f534}=_0x1de4ab,_0x2fd452=this[_0x18c583(0x2cd)][_0x18c583(0x3c2)](_0x3f1c3c[0x0],this[_0x18c583(0x207)]);if(p[_0x18c583(0x370)](_0x2fd452)){const {c1Prime:_0x70621e,m2Prime:_0x33e51c}=_0x2fd452;return this[_0x18c583(0x2cc)](_0x70621e),_0x54f534[0x0][_0x18c583(0x3e3)]=this[_0x18c583(0x234)](),this[_0x18c583(0x2aa)](),this['_injector'][_0x18c583(0x472)](exports[_0x18c583(0x2f7)],this[_0x18c583(0x3fc)],this['type'],_0x54f534[0x0],_0x33e51c,this[_0x18c583(0x542)],void 0x0);}throw _0x2fd452['error'];}throw _0x1de4ab[_0x18c583(0x54a)];}catch(_0xd776c){return this['_logService'][_0x18c583(0x54a)](_0xd776c),this['_onConflict'](!0x1);}}[_0x369398(0x1cf)](_0xb831cc){var _0x36b289=_0x369398;if(this['_clearScheduledTask'](),this['_checkMissing'](_0xb831cc))return this[_0x36b289(0x3ba)]['createInstance'](exports[_0x36b289(0x213)],this[_0x36b289(0x3fc)],this[_0x36b289(0x253)],null,this[_0x36b289(0x207)],this[_0x36b289(0x4ae)],[],this['_handler']);this[_0x36b289(0x360)]();const _0x116e82=this[_0x36b289(0x3ba)]['createInstance'](exports[_0x36b289(0x233)],this[_0x36b289(0x3fc)],this['type'],this[_0x36b289(0x207)],this[_0x36b289(0x542)]);return _0x116e82[_0x36b289(0x514)](),_0x116e82[_0x36b289(0x3f3)](),_0x116e82;}[_0x369398(0x33e)](_0x2bcec7){var _0x25cba9=_0x369398;return this[_0x25cba9(0x492)](!!(_0x2bcec7!=null&&_0x2bcec7[_0x25cba9(0x450)]));}['onRemoteRetry'](_0x214f31){var _0x3ed16b=_0x369398;return this[_0x3ed16b(0x50b)]>Rt?this[_0x3ed16b(0x330)]():(this[_0x3ed16b(0x3bb)]=bt(this[_0x3ed16b(0x50b)],{'timeout':this[_0x3ed16b(0x50b)],'reqId':_0x214f31['reqId']}),this['_sender']=this[_0x3ed16b(0x3bb)][_0x3ed16b(0x34d)](({reqId:_0x4555a2,timeout:_0x389c5f})=>{this['_resendWithTimeout'](_0x4555a2,_0x389c5f);}),this);}[_0x369398(0x330)](){var _0x13dee9=_0x369398;return this[_0x13dee9(0x2aa)](),this[_0x13dee9(0x3ba)][_0x13dee9(0x472)](exports[_0x13dee9(0x52f)],this['unitID'],this[_0x13dee9(0x253)],this['_awaitingChangeset'],this[_0x13dee9(0x207)],this['_handler']);}['toggleOnline'](){return this;}[_0x369398(0x3bc)](){var _0x2419e6=_0x369398;this['_handler']['onSendChangeset'](this[_0x2419e6(0x4ae)]);}['_onConflict'](_0x349414){var _0x47c4a3=_0x369398;return this[_0x47c4a3(0x2aa)](),this[_0x47c4a3(0x3ba)][_0x47c4a3(0x472)](exports[_0x47c4a3(0x2df)],this[_0x47c4a3(0x3fc)],this[_0x47c4a3(0x253)],null,this[_0x47c4a3(0x207)],this[_0x47c4a3(0x542)],_0x349414);}[_0x369398(0x47f)](_0x1deb8d,_0x55ef0e){var _0x1bb7c0=_0x369398,_0x50830a;_0x1deb8d===((_0x50830a=this['_awaitingChangeset'])==null?void 0x0:_0x50830a[_0x1bb7c0(0x27f)])&&(this[_0x1bb7c0(0x3bc)](),this['_resendTimeout']=_0x55ef0e===0x0?0x3e8:_0x55ef0e*0x2);}[_0x369398(0x2aa)](){var _0x37b9f8=_0x369398,_0x2d24e8;(_0x2d24e8=this[_0x37b9f8(0x29a)])==null||_0x2d24e8[_0x37b9f8(0x2c1)](),this[_0x37b9f8(0x50b)]=0x0;}},exports['AwaitingWithPendingState']=ae([L(0x6,a['Inject'](a['Injector'])),L(0x7,a[_0x369398(0x3f0)](p[_0x369398(0x311)])),L(0x8,a[_0x369398(0x4aa)]),L(0x9,a['ILogService']),L(0xa,p[_0x369398(0x1ec)]),L(0xb,a[_0x369398(0x28d)]),L(0xc,a[_0x369398(0x28e)](q))],exports[_0x369398(0x2f7)]),exports[_0x369398(0x2df)]=class extends ce{constructor(_0x12d421,_0x14bb72,_0x3c260d,_0x59ea8e,_0x2c064d,_0x32472e=!0x1,_0x62837a,_0x3202d1,_0x4a9678,_0x31b280,_0x80a43b,_0x2635ee,_0xd428ea){var _0x3acb28=_0x369398;super(_0x12d421,_0x14bb72,_0x3c260d,_0x59ea8e,_0x2c064d,_0x3202d1,_0x4a9678,_0x31b280,_0xd428ea),A(this,'status','conflict'),(this[_0x3acb28(0x515)]=_0x32472e,this[_0x3acb28(0x456)]=_0x62837a,this[_0x3acb28(0x3cd)]=_0x80a43b,this['_collaborationUIEventService']=_0x2635ee,this[_0x3acb28(0x2d3)]=_0xd428ea,this['_showConflictNotification'](),this['_clearLocalCache'](),this[_0x3acb28(0x247)]());}[_0x369398(0x200)](){return this;}[_0x369398(0x3c4)](){return this;}[_0x369398(0x1cf)](){return this;}[_0x369398(0x33e)](){return this;}['onRemoteRetry'](){return this;}[_0x369398(0x330)](){return this;}[_0x369398(0x35f)](){return this;}[_0x369398(0x3bc)](){var _0x210748=_0x369398;throw new Error(_0x210748(0x502));}[_0x369398(0x1db)](){var _0x3e554e=_0x369398,_0x181714;(_0x181714=this[_0x3e554e(0x4ef)])==null||_0x181714['updateOfflineData'](this[_0x3e554e(0x3fc)],this[_0x3e554e(0x253)],null,[]);}[_0x369398(0x2c8)](){var _0x443c01=_0x369398;this[_0x443c01(0x515)]?this[_0x443c01(0x2d4)][_0x443c01(0x1e1)]({'id':Z[_0x443c01(0x3a4)]}):this[_0x443c01(0x2d4)]['emitEvent']({'id':Z['CONFLICT']});}[_0x369398(0x247)](){var _0x598d07=_0x369398;this[_0x598d07(0x456)][_0x598d07(0x4f1)](new X[(_0x598d07(0x41e))](this[_0x598d07(0x3fc)])['id'],!0x1);}},exports[_0x369398(0x2df)]=ae([L(0x6,a[_0x369398(0x3f0)](a[_0x369398(0x2bc)])),L(0x7,a[_0x369398(0x4aa)]),L(0x8,a[_0x369398(0x28d)]),L(0x9,a[_0x369398(0x3f0)](p['RevisionService'])),L(0xa,a[_0x369398(0x3f0)](a[_0x369398(0x2d6)])),L(0xb,a[_0x369398(0x3f0)](ee)),L(0xc,a['Optional'](q))],exports[_0x369398(0x2df)]),exports[_0x369398(0x52f)]=class extends ce{constructor(_0x42c690,_0xff386d,_0x27cdd6,_0x1866bf,_0x572ef2,_0x145580,_0x45e54a,_0x39d3f5,_0x2a8ee7,_0x39339a){var _0x5d939d=_0x369398;super(_0x42c690,_0xff386d,_0x27cdd6,_0x1866bf,_0x572ef2,_0x39d3f5,_0x2a8ee7,_0x45e54a,_0x39339a),A(this,_0x5d939d(0x4b6),_0x5d939d(0x418)),this['_injector']=_0x145580;}[_0x369398(0x200)](_0x5d1057){var _0x151d3d=_0x369398;return this[_0x151d3d(0x207)][_0x151d3d(0x463)](_0x5d1057),this[_0x151d3d(0x3f3)](),this;}[_0x369398(0x3c4)](_0x4e6d54){var _0x598666=_0x369398;throw new Error(_0x598666(0x519));}[_0x369398(0x1cf)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x369398(0x33e)](){var _0x1ca376=_0x369398;throw new Error(_0x1ca376(0x212));}['onRemoteRetry'](){return this;}[_0x369398(0x330)](){return this;}[_0x369398(0x35f)](){var _0x10d14b=_0x369398;const {_injector:_0x4a0dcd,_pendingMutations:_0x183690,_awaitingChangeset:_0x48e98b,unitID:_0x45a6e2,_handler:_0x4ba0e8,type:_0x1c9b9c}=this,_0x187964=Ot(_0x4a0dcd,_0x45a6e2,_0x1c9b9c,_0x48e98b,_0x183690,_0x4ba0e8);return _0x187964 instanceof exports[_0x10d14b(0x233)]?_0x187964[_0x10d14b(0x514)]():(_0x187964 instanceof exports[_0x10d14b(0x2f7)]||_0x187964 instanceof exports[_0x10d14b(0x4ab)])&&_0x187964[_0x10d14b(0x3bc)](),_0x187964;}[_0x369398(0x3bc)](){var _0x35d073=_0x369398;throw new Error(_0x35d073(0x45e));}},exports[_0x369398(0x52f)]=ae([L(0x5,a[_0x369398(0x3f0)](a[_0x369398(0x3c1)])),L(0x6,a[_0x369398(0x3f0)](p['RevisionService'])),L(0x7,a['ICommandService']),L(0x8,a['IUndoRedoService']),L(0x9,a[_0x369398(0x28e)](q))],exports[_0x369398(0x52f)]),exports[_0x369398(0x213)]=class extends ce{constructor(_0x200329,_0x10b50d,_0x34c083,_0xa469db,_0xeea295,_0x5ec1d3,_0x370bad,_0x47992b,_0x620056,_0x5e4909,_0x349bbe,_0x23e3bf,_0x276e16,_0x5ebe28){var _0x359f91=_0x369398;super(_0x200329,_0x10b50d,_0x34c083,_0xa469db,_0x370bad,_0x349bbe,_0x23e3bf,_0x620056,_0x5ebe28),A(this,_0x359f91(0x4b6),'fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0xeea295,this['_queuedRemoteChangesets']=_0x5ec1d3,this[_0x359f91(0x3ba)]=_0x47992b,this['_logService']=_0x5e4909,this[_0x359f91(0x2cd)]=_0x276e16,this['localCacheService']=_0x5ebe28);}[_0x369398(0x29f)](_0x2515f4){var _0x4bc98b=_0x369398;try{const _0xbd0df1=[..._0x2515f4,...this[_0x4bc98b(0x49d)]],_0x170298=[this[_0x4bc98b(0x4ae)]||this[_0x4bc98b(0x427)]][_0x4bc98b(0x443)](_0xd18795=>!!_0xd18795);let _0x5664aa,_0x1ca0e2;if(_0x170298[_0x4bc98b(0x48b)]){const _0x2c7b19=this[_0x4bc98b(0x2cd)]['transformChangesets'](_0xbd0df1,_0x170298,!0x1);if(!p[_0x4bc98b(0x2a3)](_0x2c7b19))throw _0x2c7b19[_0x4bc98b(0x54a)];_0x5664aa=_0x2c7b19[_0x4bc98b(0x3a0)],_0x1ca0e2=_0x2c7b19[_0x4bc98b(0x40b)];}else _0x5664aa=_0xbd0df1,_0x1ca0e2=[];let _0x191e67=this[_0x4bc98b(0x207)];_0x5664aa[_0x4bc98b(0x3dc)](_0x3af705=>{var _0x1a09a4=_0x4bc98b;let _0x5634ec;if(_0x191e67[_0x1a09a4(0x48b)]){const _0x293cf2=this[_0x1a09a4(0x2cd)][_0x1a09a4(0x3c2)](_0x3af705,_0x191e67);if(!p['isTransformMutationsWithChangesetSuccess'](_0x293cf2))throw _0x293cf2[_0x1a09a4(0x54a)];_0x5634ec=_0x293cf2['c1Prime'],_0x191e67=_0x293cf2[_0x1a09a4(0x416)];}else _0x5634ec=_0x3af705;this[_0x1a09a4(0x2cc)](_0x5634ec);}),this[_0x4bc98b(0x427)]&&this['_incrementRevisionNumber'](),this[_0x4bc98b(0x4ae)]&&_0x1ca0e2[_0x4bc98b(0x48b)]&&(_0x1ca0e2[0x0][_0x4bc98b(0x3e3)]=this[_0x4bc98b(0x234)]());let _0x532da9;if(this['_awaitingChangeset']&&_0x191e67[_0x4bc98b(0x48b)]!==0x0)_0x532da9=this[_0x4bc98b(0x3ba)][_0x4bc98b(0x472)](exports[_0x4bc98b(0x2f7)],this[_0x4bc98b(0x3fc)],this[_0x4bc98b(0x253)],_0x1ca0e2[0x0],_0x191e67,this[_0x4bc98b(0x542)],void 0x0);else{if(this['_awaitingChangeset']&&_0x191e67['length']===0x0)_0x1ca0e2[0x0]['baseRev']=this['_getCurrentRevision'](),_0x532da9=this['_injector'][_0x4bc98b(0x472)](exports[_0x4bc98b(0x4ab)],this[_0x4bc98b(0x3fc)],this['type'],_0x1ca0e2[0x0],this[_0x4bc98b(0x542)]);else{if(_0x191e67[_0x4bc98b(0x48b)]!==0x0){const _0x4f9a4e=this[_0x4bc98b(0x3ba)][_0x4bc98b(0x472)](exports['PendingState'],this[_0x4bc98b(0x3fc)],this[_0x4bc98b(0x253)],_0x191e67,this[_0x4bc98b(0x542)]);_0x4f9a4e['_schedule'](),_0x532da9=_0x4f9a4e;}else _0x532da9=this[_0x4bc98b(0x3ba)][_0x4bc98b(0x472)](exports['SyncedState'],this[_0x4bc98b(0x3fc)],this['type'],this[_0x4bc98b(0x542)]);}}return _0x532da9[_0x4bc98b(0x3f3)](),_0x532da9;}catch(_0x539049){return this[_0x4bc98b(0x2c6)][_0x4bc98b(0x54a)]('[FetchMissState]',_0x4bc98b(0x29c),_0x539049),this[_0x4bc98b(0x3ba)][_0x4bc98b(0x472)](exports[_0x4bc98b(0x2df)],this[_0x4bc98b(0x3fc)],this[_0x4bc98b(0x253)],this['_awaitingChangeset'],this[_0x4bc98b(0x207)],this['_handler'],!0x1);}}[_0x369398(0x3bc)](){var _0x166bff=_0x369398;throw new Error(_0x166bff(0x3bd));}[_0x369398(0x200)](_0x57bc52){var _0xbb8cd=_0x369398;return this[_0xbb8cd(0x207)][_0xbb8cd(0x463)](_0x57bc52),this;}[_0x369398(0x3c4)](_0x1058c4){var _0x1d0f40=_0x369398;return this[_0x1d0f40(0x49d)][_0x1d0f40(0x463)](_0x1058c4),this;}[_0x369398(0x1cf)](_0x57560a){var _0xa0ecf7=_0x369398;if(this[_0xa0ecf7(0x4ae)])return this[_0xa0ecf7(0x427)]=this['_awaitingChangeset'],this[_0xa0ecf7(0x4ae)]=null,this;throw new Error(_0xa0ecf7(0x1f4));}[_0x369398(0x33e)](_0x38827b){var _0x1f1ec9=_0x369398;return this[_0x1f1ec9(0x492)](!!(_0x38827b!=null&&_0x38827b[_0x1f1ec9(0x450)]));}['onRemoteRetry'](){return this;}[_0x369398(0x330)](){var _0x1534cc=_0x369398;return this['_injector']['createInstance'](exports[_0x1534cc(0x52f)],this[_0x1534cc(0x3fc)],this['type'],this[_0x1534cc(0x4ae)],this[_0x1534cc(0x207)],this[_0x1534cc(0x542)]);}[_0x369398(0x35f)](){return this;}[_0x369398(0x492)](_0x44a470){var _0x50c344=_0x369398;return this[_0x50c344(0x3ba)]['createInstance'](exports[_0x50c344(0x2df)],this[_0x50c344(0x3fc)],this[_0x50c344(0x253)],this[_0x50c344(0x4ae)],this[_0x50c344(0x207)],this[_0x50c344(0x542)],_0x44a470);}},exports[_0x369398(0x213)]=ae([L(0x7,a['Inject'](a[_0x369398(0x3c1)])),L(0x8,a[_0x369398(0x3f0)](p[_0x369398(0x311)])),L(0x9,a[_0x369398(0x426)]),L(0xa,a['ICommandService']),L(0xb,a[_0x369398(0x28d)]),L(0xc,p['ITransformService']),L(0xd,a['Optional'](q))],exports['FetchingMissState']);function Ot(_0x26162a,_0x1746f0,_0x5d078f,_0xa7f802,_0x2d97e1,_0xa14e23){var _0x3e6b17=_0x369398;return _0xa7f802&&_0x2d97e1[_0x3e6b17(0x48b)]?_0x26162a[_0x3e6b17(0x472)](exports[_0x3e6b17(0x2f7)],_0x1746f0,_0x5d078f,_0xa7f802,_0x2d97e1,_0xa14e23,void 0x0):_0xa7f802?_0x26162a[_0x3e6b17(0x472)](exports['AwaitingState'],_0x1746f0,_0x5d078f,_0xa7f802,_0xa14e23):_0x2d97e1[_0x3e6b17(0x48b)]?_0x26162a[_0x3e6b17(0x472)](exports[_0x3e6b17(0x233)],_0x1746f0,_0x5d078f,_0x2d97e1,_0xa14e23):_0x26162a[_0x3e6b17(0x472)](exports[_0x3e6b17(0x3d4)],_0x1746f0,_0x5d078f,_0xa14e23);}var vi=Object[_0x369398(0x3b4)],Fe=(_0x32a370,_0x4c9245,_0x3d7602,_0x2aa50a)=>{var _0x286475=_0x369398;for(var _0x3b5260=_0x2aa50a>0x1?void 0x0:_0x2aa50a?vi(_0x4c9245,_0x3d7602):_0x4c9245,_0x33c2d3=_0x32a370[_0x286475(0x48b)]-0x1,_0x531a6b;_0x33c2d3>=0x0;_0x33c2d3--)(_0x531a6b=_0x32a370[_0x33c2d3])&&(_0x3b5260=_0x531a6b(_0x3b5260)||_0x3b5260);return _0x3b5260;},j=(_0x36a827,_0x3cef3b)=>(_0x427fe1,_0x47efb9)=>_0x3cef3b(_0x427fe1,_0x47efb9,_0x36a827);exports[_0x369398(0x2ea)]=class extends a[_0x369398(0x308)]{constructor(_0x5c14a3,_0x336c8c,_0x4948bd,_0xe624e,_0x223048,_0x10aaa1,_0xaac49,_0x5b3b6f,_0x1f8f7b,_0x188658,_0x221450,_0x478094,_0x4ff6eb){var _0x591843=_0x369398;super(),A(this,_0x591843(0x3de),new $[(_0x591843(0x4fc))](null)),A(this,_0x591843(0x490),this[_0x591843(0x3de)][_0x591843(0x381)]()),A(this,_0x591843(0x40d)),A(this,_0x591843(0x434),!0x1),A(this,_0x591843(0x20b),''),A(this,_0x591843(0x35e),0x0),A(this,_0x591843(0x52a),this['state$'][_0x591843(0x27d)]($[_0x591843(0x3ce)](_0x130fb3=>_0x130fb3?_0x130fb3[_0x591843(0x4b6)]:Be['OFFLINE']),$[_0x591843(0x2f8)](0x1))),A(this,_0x591843(0x479),!0x1),A(this,_0x591843(0x305),[]),(this[_0x591843(0x3fc)]=_0x5c14a3,this[_0x591843(0x4f7)]=_0x336c8c,this[_0x591843(0x42e)]=_0x4948bd,this[_0x591843(0x3ba)]=_0xe624e,this[_0x591843(0x4b9)]=_0x223048,this[_0x591843(0x3cd)]=_0x10aaa1,this[_0x591843(0x4f8)]=_0xaac49,this[_0x591843(0x316)]=_0x5b3b6f,this[_0x591843(0x2c6)]=_0x1f8f7b,this['_commandService']=_0x188658,this[_0x591843(0x456)]=_0x221450,this['_singleActiveUnitService']=_0x478094,this[_0x591843(0x4ef)]=_0x4ff6eb);}get['state'](){var _0x435916=_0x369398;return this[_0x435916(0x40d)];}async[_0x369398(0x525)](){var _0x4581f6=_0x369398;if(this[_0x4581f6(0x4a1)])throw new Error(_0x4581f6(0x4d9));await this[_0x4581f6(0x470)]();}['pauseCollaboration'](){var _0x5df9df=_0x369398;return this[_0x5df9df(0x434)]=!0x0,a['toDisposable'](()=>{var _0x3370eb=_0x5df9df;this[_0x3370eb(0x434)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x369398(0x378)](_0x387321){var _0x37efd6=_0x369398;this[_0x37efd6(0x331)](_0x387321);}[_0x369398(0x51d)](_0x3b4422){var _0xd9712c=_0x369398;this['_state']=_0x3b4422,this[_0xd9712c(0x3de)][_0xd9712c(0x25c)](_0x3b4422);}async[_0x369398(0x470)](){var _0x37733e=_0x369398,_0x356807;this[_0x37733e(0x51d)](await this[_0x37733e(0x4b4)]()),this[_0x37733e(0x521)]&&((_0x356807=this[_0x37733e(0x521)])==null||_0x356807['editingUnit'](this[_0x37733e(0x3fc)]),this[_0x37733e(0x2ef)](this[_0x37733e(0x521)]['getUnitStatus$'](this[_0x37733e(0x3fc)])[_0x37733e(0x34d)](_0x1d1585=>{var _0x4c0b79=_0x37733e;this[_0x4c0b79(0x2c6)]['debug']('[CollaborationEntity]',_0x4c0b79(0x288),_0x1d1585),_0x1d1585===je[_0x4c0b79(0x343)]?(this[_0x4c0b79(0x316)][_0x4c0b79(0x1e1)]({'id':Z[_0x4c0b79(0x228)]}),this[_0x4c0b79(0x456)]['updatePermissionPoint'](new X[(_0x4c0b79(0x41e))](this['unitID'])['id'],!0x1),this['_permissionService'][_0x4c0b79(0x300)](!0x1)):(this['_permissionService'][_0x4c0b79(0x4f1)](new X[(_0x4c0b79(0x41e))](this['unitID'])['id'],!0x0),this[_0x4c0b79(0x456)][_0x4c0b79(0x300)](!0x0));})));let _0x2d8ca9=!0x1;return this[_0x37733e(0x2ef)](this[_0x37733e(0x4f7)][_0x37733e(0x496)]['subscribe'](_0x8efc88=>{var _0x171de3=_0x37733e;_0x8efc88===re['ONLINE']?this['_toggleOnline'](_0x2d8ca9):_0x8efc88===re[_0x171de3(0x4ff)]&&(_0x2d8ca9=!0x0,this[_0x171de3(0x2ad)]());})),this['disposeWithMe'](this[_0x37733e(0x4f7)]['event$'][_0x37733e(0x34d)](_0xece36=>{var _0x446592=_0x37733e;try{switch(_0xece36[_0x446592(0x26b)]){case p['CollaborationEvent']['NEW_CHANGESETS']:{this['_onRemoteChangeset'](p[_0x446592(0x340)](_0xece36[_0x446592(0x53b)]));break;}case p['CollaborationEvent'][_0x446592(0x48c)]:{this['_onRemoteACK'](_0xece36[_0x446592(0x53b)]);break;}case p[_0x446592(0x473)]['CHANGESET_REJ']:{this[_0x446592(0x325)]();break;}case p[_0x446592(0x473)][_0x446592(0x277)]:{this[_0x446592(0x4d1)](_0xece36[_0x446592(0x53b)]);break;}case p['CollaborationEvent']['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x446592(0x283)](_0xece36['data'][_0x446592(0x4e8)][_0x446592(0x3ce)](_0x10a331=>p['parseProtocolChangeset'](_0x10a331)));break;}case p[_0x446592(0x473)][_0x446592(0x27c)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case p[_0x446592(0x473)][_0x446592(0x424)]:break;}}catch(_0x3a5769){throw console['error'](_0x446592(0x28f),_0x3a5769),_0x3a5769;}})),this[_0x37733e(0x40d)];}[_0x369398(0x386)](){var _0x5ccb09=_0x369398;this[_0x5ccb09(0x479)]=!0x1;}[_0x369398(0x1f6)](){var _0xcc7ebe=_0x369398;if(this[_0xcc7ebe(0x479)])throw new Error(_0xcc7ebe(0x42c));this[_0xcc7ebe(0x479)]=!0x0;}[_0x369398(0x331)](_0xcf1ef7){var _0x3af3fa=_0x369398;this[_0x3af3fa(0x1f6)](),this[_0x3af3fa(0x51d)](this['_state']['appendMutation'](_0xcf1ef7)),this['_unlockTransition']();}[_0x369398(0x4cb)](_0x341a48){var _0x23c980=_0x369398;if(!(_0x341a48[_0x23c980(0x282)]<=this['_revisionService'][_0x23c980(0x1f1)](this[_0x23c980(0x3fc)]))){if(this['_collaborationPaused']){this[_0x23c980(0x305)]['push'](_0x341a48);return;}this[_0x23c980(0x1d8)](_0x341a48);}}['_exhaustRemoteChangesetQueue'](){var _0xb4ac5e=_0x369398;this[_0xb4ac5e(0x305)][_0xb4ac5e(0x3dc)](_0x73c61d=>this[_0xb4ac5e(0x1d8)](_0x73c61d)),this[_0xb4ac5e(0x305)]=[];}[_0x369398(0x1d8)](_0x18059e){var _0x13260d=_0x369398;const _0x3cc4e7=this[_0x13260d(0x4b9)][_0x13260d(0x268)]['fetchThroughInterceptors'](this[_0x13260d(0x4b9)][_0x13260d(0x268)][_0x13260d(0x270)]()['COMPRESS_MUTATION_APPLY'])(_0x18059e[_0x13260d(0x22c)],null)||_0x18059e[_0x13260d(0x22c)],_0x115179={..._0x18059e,'mutations':_0x3cc4e7};this[_0x13260d(0x1f6)](),this[_0x13260d(0x51d)](this['_state'][_0x13260d(0x3c4)](_0x115179)),this[_0x13260d(0x386)]();}[_0x369398(0x458)](_0x1d4e60){var _0x7ec2f9=_0x369398;this['_lockTransition'](),this[_0x7ec2f9(0x51d)](this[_0x7ec2f9(0x40d)][_0x7ec2f9(0x1cf)](_0x1d4e60)),this['_unlockTransition']();}[_0x369398(0x325)](_0x3cefc2){var _0x5d5b37=_0x369398;this[_0x5d5b37(0x1f6)](),this['_updateState'](this[_0x5d5b37(0x40d)][_0x5d5b37(0x33e)](_0x3cefc2)),this[_0x5d5b37(0x386)]();}[_0x369398(0x4d1)](_0x27745f){var _0x3fd6f5=_0x369398;this[_0x3fd6f5(0x1f6)](),this[_0x3fd6f5(0x51d)](this[_0x3fd6f5(0x40d)][_0x3fd6f5(0x423)](_0x27745f)),this[_0x3fd6f5(0x386)]();}[_0x369398(0x283)](_0x44d4e4){var _0x5e3aa6=_0x369398;if(!(this[_0x5e3aa6(0x40d)]instanceof exports[_0x5e3aa6(0x213)]))throw new TypeError(_0x5e3aa6(0x259));const _0x3ad919=_0x44d4e4[_0x5e3aa6(0x3ce)](_0x500d4b=>{var _0x5938d6=_0x5e3aa6;const _0x12b6fc=this['_compressMutationService']['interceptor'][_0x5938d6(0x1dc)](this[_0x5938d6(0x4b9)][_0x5938d6(0x268)][_0x5938d6(0x270)]()['COMPRESS_MUTATION_APPLY'])(_0x500d4b[_0x5938d6(0x22c)],null)||_0x500d4b[_0x5938d6(0x22c)];return{..._0x500d4b,'mutations':_0x12b6fc};});this[_0x5e3aa6(0x1f6)](),this[_0x5e3aa6(0x51d)](this[_0x5e3aa6(0x40d)][_0x5e3aa6(0x29f)](_0x3ad919)),this[_0x5e3aa6(0x386)]();}[_0x369398(0x2ad)](){var _0x8da9c7=_0x369398;this['_lockTransition'](),this[_0x8da9c7(0x51d)](this[_0x8da9c7(0x40d)][_0x8da9c7(0x330)]()),this[_0x8da9c7(0x386)]();}[_0x369398(0x28b)](_0x2abeeb=!0x1){var _0x5349a7=_0x369398;this[_0x5349a7(0x1f6)](),this[_0x5349a7(0x51d)](this[_0x5349a7(0x40d)]['toggleOnline']()),this[_0x5349a7(0x386)]();const _0x368c55=this[_0x5349a7(0x40d)];_0x2abeeb&&_0x368c55 instanceof exports[_0x5349a7(0x3d4)]&&(this[_0x5349a7(0x1f6)](),this[_0x5349a7(0x51d)](_0x368c55[_0x5349a7(0x42a)]()),this[_0x5349a7(0x386)]());}async['_createInitialState'](){return new Promise(_0xdfb04e=>{var _0x3e896f=_0x5588;this[_0x3e896f(0x4f7)]['sessionStatus$'][_0x3e896f(0x27d)]($[_0x3e896f(0x3cf)](0x1))[_0x3e896f(0x34d)](async _0x1020c3=>{var _0x5f55e3=_0x3e896f;_0xdfb04e(await this[_0x5f55e3(0x3b8)](_0x1020c3===re[_0x5f55e3(0x202)]));});});}[_0x369398(0x444)](){var _0x127675=_0x369398;const _0x1c8fbd=this[_0x127675(0x3fc)];return{'onStateChange':(_0x4b6889,_0x2e0867)=>{var _0x4130f0=_0x127675;if(_0x4b6889!==this[_0x4130f0(0x40d)])throw new Error(_0x4130f0(0x23e)+_0x4b6889[_0x4130f0(0x4b6)]+'\x0aAfter:\x20'+_0x2e0867['status']+_0x4130f0(0x32d)+this['_state'][_0x4130f0(0x4b6)]);this[_0x4130f0(0x51d)](_0x2e0867);},'onSendChangeset':_0x54f393=>{var _0x203ea3=_0x127675;_0x54f393[_0x203ea3(0x4a0)]||(_0x54f393[_0x203ea3(0x4a0)]=this[_0x203ea3(0x20b)],_0x54f393[_0x203ea3(0x27f)]=++this[_0x203ea3(0x35e)]);const _0x25b761={'eventID':p[_0x203ea3(0x473)][_0x203ea3(0x3dd)],'data':{'unitID':_0x54f393[_0x203ea3(0x3fc)],'unitType':this[_0x203ea3(0x42e)],'changeset':_0x54f393,'memberID':this[_0x203ea3(0x4f7)]['getMemberID']()}};this[_0x203ea3(0x4f7)]['send'](_0x25b761,this['unitID']);},'onMissingChangesets':({from:_0x339195,to:_0x33ee1c})=>{var _0x2b0662=_0x127675;this['_logService']['debug']('[CollaborationEntity]',_0x2b0662(0x2ce)+_0x339195+_0x2b0662(0x291)+_0x33ee1c);const _0x126afd={'eventID':p[_0x2b0662(0x473)]['FETCH_MISSING'],'data':{'unitID':_0x1c8fbd,'unitType':this['_type'],'from':_0x339195,'to':_0x33ee1c}};this[_0x2b0662(0x4f7)][_0x2b0662(0x4d4)](_0x126afd,this[_0x2b0662(0x3fc)]);}};}async[_0x369398(0x3b8)](_0x2f1d62){var _0xa4bd62=_0x369398,_0x31e9e3,_0x180b8a,_0x22c0d7;const _0x1f5649=await((_0x31e9e3=this[_0xa4bd62(0x4ef)])==null?void 0x0:_0x31e9e3['loadOfflineData'](this['unitID'])),_0x572fba=(_0x180b8a=_0x1f5649==null?void 0x0:_0x1f5649[_0xa4bd62(0x22c)])!=null?_0x180b8a:[],_0xd6ee32=(_0x22c0d7=_0x1f5649==null?void 0x0:_0x1f5649[_0xa4bd62(0x306)])!=null?_0x22c0d7:null,_0x38a96b=!!(_0xd6ee32!=null&&_0xd6ee32[_0xa4bd62(0x4a0)])&&!!(_0xd6ee32!=null&&_0xd6ee32['reqId']);this[_0xa4bd62(0x20b)]=_0x38a96b?_0xd6ee32[_0xa4bd62(0x4a0)]:p[_0xa4bd62(0x3cb)](),this['_changesetReqId']=_0x38a96b?_0xd6ee32['reqId']:0x0;const _0x58e89b=this['unitID'];try{this[_0xa4bd62(0x3ef)](_0xd6ee32,_0x572fba);}catch(_0x1cbf75){this[_0xa4bd62(0x2c6)][_0xa4bd62(0x54a)](_0x1cbf75);}const _0x59fedc=this[_0xa4bd62(0x444)]();if(_0x2f1d62){const _0x56adb0=Ot(this[_0xa4bd62(0x3ba)],_0x58e89b,this[_0xa4bd62(0x42e)],_0xd6ee32,_0x572fba,_0x59fedc);return _0x56adb0 instanceof exports[_0xa4bd62(0x233)]?_0x56adb0[_0xa4bd62(0x514)]():(_0x56adb0 instanceof exports[_0xa4bd62(0x2f7)]||_0x56adb0 instanceof exports[_0xa4bd62(0x4ab)])&&_0x56adb0[_0xa4bd62(0x3bc)](),_0x56adb0;}return this['_injector'][_0xa4bd62(0x472)](exports['OfflineState'],_0x58e89b,this['_type'],_0xd6ee32,_0x572fba,_0x59fedc);}[_0x369398(0x3ef)](_0xa51060,_0x3ef41c){var _0x1a6471=_0x369398,_0x14ce9d,_0xab1758;const _0x25db17=this[_0x1a6471(0x4b9)][_0x1a6471(0x268)]['fetchThroughInterceptors'](this[_0x1a6471(0x4b9)][_0x1a6471(0x268)]['getInterceptPoints']()[_0x1a6471(0x4ca)]);(_0x14ce9d=_0x25db17((_0xa51060==null?void 0x0:_0xa51060[_0x1a6471(0x22c)])||[],null))==null||_0x14ce9d[_0x1a6471(0x3dc)](_0x5ba455=>this[_0x1a6471(0x3a6)][_0x1a6471(0x36f)](_0x5ba455['id'],_0x5ba455['params'])),(_0xab1758=_0x25db17(_0x3ef41c||[],null))==null||_0xab1758[_0x1a6471(0x3dc)](_0x283cca=>this[_0x1a6471(0x3a6)][_0x1a6471(0x36f)](_0x283cca['id'],_0x283cca[_0x1a6471(0x373)]));}},exports['CollaborationEntity']=Fe([j(0x3,a['Inject'](a[_0x369398(0x3c1)])),j(0x4,a[_0x369398(0x3f0)](p[_0x369398(0x248)])),j(0x5,a[_0x369398(0x3f0)](a[_0x369398(0x2d6)])),j(0x6,a[_0x369398(0x3f0)](p['RevisionService'])),j(0x7,a[_0x369398(0x3f0)](ee)),j(0x8,a[_0x369398(0x426)]),j(0x9,a[_0x369398(0x4aa)]),j(0xa,a[_0x369398(0x2bc)]),j(0xb,a[_0x369398(0x28e)](de)),j(0xc,a[_0x369398(0x28e)](q))],exports[_0x369398(0x2ea)]),exports[_0x369398(0x41b)]=class extends exports[_0x369398(0x2ea)]{constructor(_0x481df9,_0x16975f,_0x5af9d5,_0x312a95,_0x32bd93,_0x8d274b,_0x28e364,_0x18b70a,_0x12d3c4,_0x438f88,_0x4be27c,_0x4d906a,_0xdf52e4){var _0x4b1e1f=_0x369398;super(_0x481df9,_0x5af9d5,_0x16975f,_0x312a95,_0x32bd93,_0x8d274b,_0x28e364,_0x18b70a,_0x12d3c4,_0x438f88,_0x4be27c,_0x4d906a,_0xdf52e4),A(this,_0x4b1e1f(0x422),null),(this[_0x4b1e1f(0x3fc)]=_0x481df9,this['type']=_0x16975f);}['addHandlerCallback'](_0x280d5b){var _0x1f1c4f=_0x369398;this[_0x1f1c4f(0x422)]=_0x280d5b;}['dispose'](){var _0x4b2cdd=_0x369398;this[_0x4b2cdd(0x422)]=null,super['dispose']();}[_0x369398(0x444)](){var _0x3df19c=_0x369398;const _0x1d64a0=super[_0x3df19c(0x444)]();return _0x1d64a0[_0x3df19c(0x355)]=_0x47a16b=>{var _0x3d50d7=_0x3df19c,_0x15af3d,_0x5516a0;return(_0x5516a0=(_0x15af3d=this['_handlerCallback'])==null?void 0x0:_0x15af3d['onTransformIME'])==null?void 0x0:_0x5516a0[_0x3d50d7(0x328)](_0x15af3d,_0x47a16b);},_0x1d64a0[_0x3df19c(0x2b3)]=_0x2e23cd=>{var _0x1f1e87=_0x3df19c,_0x131145,_0x2e5943;return(_0x2e5943=(_0x131145=this[_0x1f1e87(0x422)])==null?void 0x0:_0x131145[_0x1f1e87(0x2b3)])==null?void 0x0:_0x2e5943[_0x1f1e87(0x328)](_0x131145,_0x2e23cd);},_0x1d64a0[_0x3df19c(0x46e)]=_0x406d3d=>{var _0x102cbc=_0x3df19c,_0x51a03f,_0x1fb8ae;return(_0x1fb8ae=(_0x51a03f=this[_0x102cbc(0x422)])==null?void 0x0:_0x51a03f[_0x102cbc(0x46e)])==null?void 0x0:_0x1fb8ae['call'](_0x51a03f,_0x406d3d);},_0x1d64a0[_0x3df19c(0x454)]=_0x4f56c7=>{var _0x375516=_0x3df19c,_0x562736,_0x5dd66e;return(_0x5dd66e=(_0x562736=this[_0x375516(0x422)])==null?void 0x0:_0x562736[_0x375516(0x454)])==null?void 0x0:_0x5dd66e['call'](_0x562736,_0x4f56c7);},_0x1d64a0[_0x3df19c(0x2dd)]=_0x2a956a=>{var _0x58ddb5=_0x3df19c,_0x3f3b07,_0x5d9304,_0x4da73b;if(!((_0x3f3b07=this[_0x58ddb5(0x422)])!=null&&_0x3f3b07[_0x58ddb5(0x2dd)]))throw new Error(_0x58ddb5(0x353));return(_0x4da73b=(_0x5d9304=this[_0x58ddb5(0x422)])==null?void 0x0:_0x5d9304[_0x58ddb5(0x2dd)])==null?void 0x0:_0x4da73b[_0x58ddb5(0x328)](_0x5d9304,_0x2a956a);},_0x1d64a0[_0x3df19c(0x23b)]=_0x4e817e=>{var _0x15d6cf=_0x3df19c,_0x57d0cd,_0x2c6f22,_0x908ddc;if(!((_0x57d0cd=this[_0x15d6cf(0x422)])!=null&&_0x57d0cd[_0x15d6cf(0x23b)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x908ddc=(_0x2c6f22=this[_0x15d6cf(0x422)])==null?void 0x0:_0x2c6f22[_0x15d6cf(0x23b)])==null?void 0x0:_0x908ddc[_0x15d6cf(0x328)](_0x2c6f22,_0x4e817e);},_0x1d64a0;}async['_init'](){var _0x3cd87e=_0x369398;const _0x58888c=await super[_0x3cd87e(0x470)]();return this[_0x3cd87e(0x2ef)](this[_0x3cd87e(0x3a6)][_0x3cd87e(0x246)]((_0x564a1c,_0x195b3b)=>{var _0x49aa09=_0x3cd87e;if(_0x564a1c[_0x49aa09(0x253)]!==a[_0x49aa09(0x3ed)]['MUTATION']||_0x195b3b!=null&&_0x195b3b[_0x49aa09(0x39e)]||_0x195b3b!=null&&_0x195b3b[_0x49aa09(0x33f)]||_0x564a1c['id']===ht[_0x49aa09(0x49a)]['id'])return;const _0x4184f7=_0x564a1c[_0x49aa09(0x373)];if((_0x4184f7==null?void 0x0:_0x4184f7[_0x49aa09(0x205)])!==this[_0x49aa09(0x3fc)])return;const _0x3736a8=_0x564a1c,_0x9386d1=this[_0x49aa09(0x4b9)][_0x49aa09(0x268)]['fetchThroughInterceptors'](this[_0x49aa09(0x4b9)][_0x49aa09(0x268)][_0x49aa09(0x270)]()[_0x49aa09(0x2e3)])([_0x3736a8],null)||[_0x3736a8];this['_onLocalMutation'](_0x9386d1[0x0]);})),_0x58888c;}},exports[_0x369398(0x41b)]=Fe([j(0x3,a[_0x369398(0x3f0)](a['Injector'])),j(0x4,a[_0x369398(0x3f0)](p[_0x369398(0x248)])),j(0x5,a['Inject'](a['LocaleService'])),j(0x6,a[_0x369398(0x3f0)](p[_0x369398(0x311)])),j(0x7,a[_0x369398(0x3f0)](ee)),j(0x8,a[_0x369398(0x426)]),j(0x9,a['ICommandService']),j(0xa,a['IPermissionService']),j(0xb,a['Optional'](de)),j(0xc,a['Optional'](q))],exports[_0x369398(0x41b)]),exports['SheetCollaborationEntity']=class extends exports[_0x369398(0x2ea)]{constructor(_0x613f3c,_0x18f330,_0x521cc1,_0x4ca954,_0xd761bb,_0x3730e8,_0x212d4c,_0x24359e,_0x2a61d8,_0x619f2e,_0x339048,_0x51c11f,_0x55f660,_0x163105){var _0x5a48d3=_0x369398;super(_0x613f3c,_0x521cc1,_0x18f330,_0x4ca954,_0xd761bb,_0x3730e8,_0x212d4c,_0x2a61d8,_0x619f2e,_0x339048,_0x51c11f,_0x55f660,_0x163105),this['unitID']=_0x613f3c,this[_0x5a48d3(0x253)]=_0x18f330,this[_0x5a48d3(0x42d)]=_0x24359e;}['_createHandler'](){var _0x58267c=_0x369398;const _0x5ded0a=super['_createHandler']();return _0x5ded0a[_0x58267c(0x46e)]=_0x5c53aa=>this[_0x58267c(0x42d)]['transformSelections'](_0x5c53aa),_0x5ded0a;}async['_init'](){var _0x1a2587=_0x369398;const _0x279226=await super[_0x1a2587(0x470)]();return this['disposeWithMe'](this[_0x1a2587(0x3a6)][_0x1a2587(0x246)]((_0xd4ef52,_0x511372)=>{var _0x48216d=_0x1a2587;if(_0xd4ef52[_0x48216d(0x253)]!==a[_0x48216d(0x3ed)][_0x48216d(0x301)]||_0x511372!=null&&_0x511372[_0x48216d(0x39e)]||_0x511372!=null&&_0x511372['onlyLocal'])return;const _0x291a4e=_0xd4ef52['params'];if((_0x291a4e==null?void 0x0:_0x291a4e[_0x48216d(0x205)])!==this[_0x48216d(0x3fc)])return;const _0x5ec8db=_0xd4ef52,_0x5caca1=this[_0x48216d(0x4b9)][_0x48216d(0x268)][_0x48216d(0x1dc)](this['_compressMutationService'][_0x48216d(0x268)]['getInterceptPoints']()[_0x48216d(0x2e3)])([_0x5ec8db],null)||[_0x5ec8db];this[_0x48216d(0x331)](_0x5caca1[0x0]);})),_0x279226;}},exports[_0x369398(0x449)]=Fe([j(0x3,a[_0x369398(0x3f0)](a['Injector'])),j(0x4,a[_0x369398(0x3f0)](p[_0x369398(0x248)])),j(0x5,a['Inject'](a[_0x369398(0x2d6)])),j(0x6,a[_0x369398(0x3f0)](p[_0x369398(0x311)])),j(0x7,a[_0x369398(0x3f0)](exports['SheetTransformSelectionsService'])),j(0x8,a[_0x369398(0x3f0)](ee)),j(0x9,a['ILogService']),j(0xa,a[_0x369398(0x4aa)]),j(0xb,a[_0x369398(0x2bc)]),j(0xc,a['Optional'](de)),j(0xd,a['Optional'](q))],exports['SheetCollaborationEntity']);var Si=Object['getOwnPropertyDescriptor'],fi=(_0x47837c,_0x1cc234,_0x591f99,_0x1a8992)=>{var _0x16e115=_0x369398;for(var _0x296f88=_0x1a8992>0x1?void 0x0:_0x1a8992?Si(_0x1cc234,_0x591f99):_0x1cc234,_0x570ac7=_0x47837c[_0x16e115(0x48b)]-0x1,_0x1caa4e;_0x570ac7>=0x0;_0x570ac7--)(_0x1caa4e=_0x47837c[_0x570ac7])&&(_0x296f88=_0x1caa4e(_0x296f88)||_0x296f88);return _0x296f88;},Se=(_0x16bcac,_0xf429d)=>(_0x556be3,_0x112db8)=>_0xf429d(_0x556be3,_0x112db8,_0x16bcac);exports[_0x369398(0x460)]=class extends a[_0x369398(0x308)]{constructor(_0x300c41,_0x3545cb,_0x4848fa,_0x23b144){var _0x3c1970=_0x369398,_0x5b2aef;super(),A(this,_0x3c1970(0x51a),new Map()),A(this,_0x3c1970(0x4a7),new $[(_0x3c1970(0x1fb))]()),A(this,'entityInit$',this[_0x3c1970(0x4a7)][_0x3c1970(0x381)]()),(this['_injector']=_0x300c41,this['_collabSessionService']=_0x3545cb,this[_0x3c1970(0x225)]=_0x4848fa,this[_0x3c1970(0x3ae)]=_0x23b144,((_0x5b2aef=this[_0x3c1970(0x225)][_0x3c1970(0x3db)](G))==null?void 0x0:_0x5b2aef[_0x3c1970(0x34e)])!==!0x1&&this['_init']());}['dispose'](){var _0x55e1e5=_0x369398;super['dispose'](),this['_entities'][_0x55e1e5(0x3dc)](_0x481b1e=>_0x481b1e[_0x55e1e5(0x333)]()),this[_0x55e1e5(0x51a)]['clear']();}[_0x369398(0x281)](_0x107020){var _0x2e7514=_0x369398,_0x139c40;return(_0x139c40=this['_entities'][_0x2e7514(0x383)](_0x107020))!=null?_0x139c40:null;}[_0x369398(0x498)](_0x1bd09f){var _0x486adb=_0x369398;const _0x420f6f=this[_0x486adb(0x281)](_0x1bd09f);return _0x420f6f?$['of'](_0x420f6f):this[_0x486adb(0x4a7)][_0x486adb(0x27d)](V[_0x486adb(0x443)](_0x5c6d69=>_0x5c6d69['unitID']===_0x1bd09f));}[_0x369398(0x2ae)](_0x21937c){var _0x1b3fa7=_0x369398;return $[_0x1b3fa7(0x489)](this[_0x1b3fa7(0x498)](_0x21937c)[_0x1b3fa7(0x27d)](V[_0x1b3fa7(0x3ce)](()=>{})));}[_0x369398(0x470)](){var _0x1f9206=_0x369398;this[_0x1f9206(0x3ae)]['getTypeOfUnitAdded$'](a[_0x1f9206(0x1f5)][_0x1f9206(0x4d8)])[_0x1f9206(0x27d)]($[_0x1f9206(0x3b5)](this[_0x1f9206(0x391)]),V[_0x1f9206(0x47b)](0x10))[_0x1f9206(0x34d)](async _0x5263c1=>{var _0x192f52=_0x1f9206;const _0x134b64=_0x5263c1['getUnitId'](),_0x30d2dc=await this[_0x192f52(0x269)](_0x134b64,J[_0x192f52(0x4d8)]);this[_0x192f52(0x51a)][_0x192f52(0x48a)](_0x134b64,_0x30d2dc);}),this[_0x1f9206(0x3ae)][_0x1f9206(0x36b)](a[_0x1f9206(0x1f5)][_0x1f9206(0x510)])[_0x1f9206(0x27d)]($[_0x1f9206(0x3b5)](this[_0x1f9206(0x391)]),V[_0x1f9206(0x47b)](0x10))['pipe'](V[_0x1f9206(0x443)](_0x5841ab=>!_0x5841ab[_0x1f9206(0x376)]()[_0x1f9206(0x2e9)]('__')))[_0x1f9206(0x34d)](async _0x3c299b=>{var _0x15f5ad=_0x1f9206;const _0x40be95=_0x3c299b[_0x15f5ad(0x376)](),_0x3f2671=await this['_startCollaboration'](_0x40be95,J[_0x15f5ad(0x510)]);this[_0x15f5ad(0x51a)][_0x15f5ad(0x48a)](_0x40be95,_0x3f2671);}),$[_0x1f9206(0x26a)](this[_0x1f9206(0x3ae)]['getTypeOfUnitDisposed$'](a['UniverInstanceType']['UNIVER_SHEET']),this['_univerInstanceService'][_0x1f9206(0x2cf)](a['UniverInstanceType'][_0x1f9206(0x510)]))[_0x1f9206(0x27d)]($[_0x1f9206(0x3b5)](this[_0x1f9206(0x391)]))[_0x1f9206(0x34d)](_0x5ed0ea=>{var _0x1701e9=_0x1f9206;const _0x24d3d1=_0x5ed0ea[_0x1701e9(0x376)](),_0x95e9b=this[_0x1701e9(0x51a)][_0x1701e9(0x383)](_0x24d3d1);_0x95e9b&&(_0x95e9b[_0x1701e9(0x333)](),this[_0x1701e9(0x51a)][_0x1701e9(0x1eb)](_0x24d3d1));});}async[_0x369398(0x269)](_0x576f70,_0x5a6437){var _0x5d29b7=_0x369398;const _0x2a7175=await this[_0x5d29b7(0x1ff)][_0x5d29b7(0x442)](_0x576f70),_0x54ea1e=this[_0x5d29b7(0x3ba)][_0x5d29b7(0x472)](this['_getCtorByUniverType'](_0x5a6437),_0x576f70,_0x5a6437,_0x2a7175);return await _0x54ea1e[_0x5d29b7(0x525)](),this[_0x5d29b7(0x4a7)]['next'](_0x54ea1e),_0x54ea1e;}[_0x369398(0x3ff)](_0x25288e){var _0x25c7e5=_0x369398;switch(_0x25288e){case J[_0x25c7e5(0x510)]:return exports[_0x25c7e5(0x41b)];case J[_0x25c7e5(0x4d8)]:return exports['SheetCollaborationEntity'];default:throw new Error(_0x25c7e5(0x4d7)+_0x25288e);}}},exports['CollaborationController']=fi([Se(0x0,a[_0x369398(0x3f0)](a[_0x369398(0x3c1)])),Se(0x1,a['Inject'](exports['CollaborationSessionService'])),Se(0x2,a['IConfigService']),Se(0x3,a[_0x369398(0x4d3)])],exports[_0x369398(0x460)]);var Ii=Object[_0x369398(0x3b4)],pi=(_0x4ca117,_0x4b2249,_0x1f5d01,_0x1f788e)=>{var _0x2ee12a=_0x369398;for(var _0x282e6b=_0x1f788e>0x1?void 0x0:_0x1f788e?Ii(_0x4b2249,_0x1f5d01):_0x4b2249,_0x55a77f=_0x4ca117[_0x2ee12a(0x48b)]-0x1,_0x513e7a;_0x55a77f>=0x0;_0x55a77f--)(_0x513e7a=_0x4ca117[_0x55a77f])&&(_0x282e6b=_0x513e7a(_0x282e6b)||_0x282e6b);return _0x282e6b;},Ke=(_0x4eacbd,_0x57df4f)=>(_0xd1572a,_0x4e977b)=>_0x57df4f(_0xd1572a,_0x4e977b,_0x4eacbd);const gi=_0x369398(0x374),Ei='Univer';let xe=class extends a[_0x369398(0x437)]{constructor(_0x5816ce,_0x3c3dbe){var _0x500dac=_0x369398;super(),this['_univerInstanceService']=_0x5816ce,this[_0x500dac(0x225)]=_0x3c3dbe,this[_0x500dac(0x470)]();}[_0x369398(0x470)](){var _0x6ea69e=_0x369398;this[_0x6ea69e(0x2ef)](this[_0x6ea69e(0x3ae)][_0x6ea69e(0x3e5)][_0x6ea69e(0x34d)](()=>{var _0x596ad3=_0x6ea69e,_0x19da4c;const _0x45aaff=this['_univerInstanceService'][_0x596ad3(0x2e8)]();let _0x29aca4=(_0x19da4c=this[_0x596ad3(0x225)][_0x596ad3(0x3db)](gi))!=null?_0x19da4c:Ei;_0x45aaff instanceof a[_0x596ad3(0x377)]&&(_0x29aca4=_0x45aaff[_0x596ad3(0x220)]),document[_0x596ad3(0x4ee)]=_0x29aca4;}));}};xe=pi([Ke(0x0,a['IUniverInstanceService']),Ke(0x1,a['IConfigService'])],xe);var mi=Object[_0x369398(0x3b4)],Ci=(_0x11e998,_0x55e135,_0x3e73b3,_0x4916f9)=>{var _0x3a01e7=_0x369398;for(var _0x254b01=_0x4916f9>0x1?void 0x0:_0x4916f9?mi(_0x55e135,_0x3e73b3):_0x55e135,_0x97a578=_0x11e998[_0x3a01e7(0x48b)]-0x1,_0x2d5ddc;_0x97a578>=0x0;_0x97a578--)(_0x2d5ddc=_0x11e998[_0x97a578])&&(_0x254b01=_0x2d5ddc(_0x254b01)||_0x254b01);return _0x254b01;},Ae=(_0x1f8f01,_0x2bb8d3)=>(_0x29fbc4,_0x4be8c8)=>_0x2bb8d3(_0x29fbc4,_0x4be8c8,_0x1f8f01);let ye=class{constructor(_0x34be84,_0x25092b,_0x409fa){var _0x539f72=_0x369398;this[_0x539f72(0x225)]=_0x34be84,this[_0x539f72(0x229)]=_0x25092b,this[_0x539f72(0x50d)]=_0x409fa,this['init']();}['init'](){var _0x59e826=_0x369398;this[_0x59e826(0x229)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x5f5af3,_0x315842)=>_0x315842(_0x5f5af3)[_0x59e826(0x27d)]($['concatMap'](async _0x461dab=>{var _0x1a71e9=_0x59e826;const _0x5d7b01=_0x461dab;if(_0x5d7b01[_0x1a71e9(0x4b6)]===0x191){if(typeof window>'u')throw new Error(_0x1a71e9(0x487));if(window[_0x1a71e9(0x2a5)](this[_0x1a71e9(0x50d)]['t'](_0x1a71e9(0x395)))){const _0xaf04b4=window[_0x1a71e9(0x49b)](window[_0x1a71e9(0x529)][_0x1a71e9(0x478)]);window[_0x1a71e9(0x529)]['href']=this[_0x1a71e9(0x506)]()+_0x1a71e9(0x46c)+_0xaf04b4;}}return _0x5d7b01;}))});}[_0x369398(0x506)](){var _0x473ffb=_0x369398,_0x3d723a,_0x513677;const _0x228334=this['_configService'][_0x473ffb(0x3db)](pt),_0x492e7d=this[_0x473ffb(0x225)][_0x473ffb(0x3db)](G);return(_0x513677=(_0x3d723a=_0x492e7d==null?void 0x0:_0x492e7d[_0x473ffb(0x2e5)])!=null?_0x3d723a:_0x228334)!=null?_0x513677:Wt;}};ye=Ci([Ae(0x0,a[_0x369398(0x302)]),Ae(0x1,a[_0x369398(0x3f0)](K['HTTPService'])),Ae(0x2,a[_0x369398(0x3f0)](a['LocaleService']))],ye);var Ti=Object[_0x369398(0x3b4)],bi=(_0x3be00f,_0x4ea07f,_0x1f8d99,_0x2c9de1)=>{var _0x47795d=_0x369398;for(var _0x48da18=_0x2c9de1>0x1?void 0x0:_0x2c9de1?Ti(_0x4ea07f,_0x1f8d99):_0x4ea07f,_0x3ab4df=_0x3be00f[_0x47795d(0x48b)]-0x1,_0xec4a35;_0x3ab4df>=0x0;_0x3ab4df--)(_0xec4a35=_0x3be00f[_0x3ab4df])&&(_0x48da18=_0xec4a35(_0x48da18)||_0x48da18);return _0x48da18;},qe=(_0x5923f9,_0x2cfe31)=>(_0x11c22d,_0x4290f4)=>_0x2cfe31(_0x11c22d,_0x4290f4,_0x5923f9);const Ve='AUTHZ_URL_KEY',Ri=_0x369398(0x3fb);exports[_0x369398(0x299)]=class extends a[_0x369398(0x437)]{constructor(_0x1db7ab,_0x3063eb){var _0x5ba40c=_0x369398;super(),this[_0x5ba40c(0x2ec)]=_0x1db7ab,this['_configService']=_0x3063eb,this[_0x5ba40c(0x540)]();}[_0x369398(0x540)](){var _0x11869f=_0x369398;const _0x2ef85b=this;this[_0x11869f(0x2ef)](this[_0x11869f(0x2ec)][_0x11869f(0x500)]({'priority':0x3e7,'interceptor':K[_0x11869f(0x280)]({'isMatch'(_0x3f967){var _0x238832=_0x11869f,_0x11e352;if(_0x3f967[_0x238832(0x309)]===_0x238832(0x263)&&((_0x11e352=_0x3f967[_0x238832(0x354)])!=null&&_0x11e352['body'])){const {objectID:_0x5d2eed,objectType:_0x25ff52}=_0x3f967['requestParams']['body']||{};if(!_0x5d2eed||_0x25ff52===void 0x0)return!0x1;const _0x2dccf1=_0x2ef85b['_getAPIPrefixPath']()+'/'+_0x25ff52+_0x238832(0x341)+_0x5d2eed+_0x238832(0x35c);if(_0x3f967[_0x238832(0x411)]===_0x2dccf1)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3f9171){var _0x5576c5=_0x11869f,_0xa8476b;return(_0xa8476b=_0x3f9171[_0x5576c5(0x354)])==null?void 0x0:_0xa8476b['body'];},'mergeParamsToRequest'(_0x2be7a7,_0x2a15e8){var _0x54fc03=_0x11869f;const _0x468d72=_0x2ef85b[_0x54fc03(0x251)]()+_0x54fc03(0x211),_0x7e517e=_0x2be7a7[_0x54fc03(0x279)]((_0x4a306b,_0x31a5ab)=>{const {unitID:_0x566072,objectID:_0x164fe1,objectType:_0x563ae3,actions:_0x2b0371}=_0x31a5ab;return _0x4a306b[_0x566072]||(_0x4a306b[_0x566072]={}),_0x4a306b[_0x566072][_0x164fe1]||(_0x4a306b[_0x566072][_0x164fe1]={'objectID':_0x164fe1,'objectType':_0x563ae3,'actions':[]}),_0x4a306b[_0x566072][_0x164fe1]['actions']['push'](..._0x2b0371),_0x4a306b;},{}),_0x451306=[];for(const _0x2c4279 in _0x7e517e)for(const _0x65771f in _0x7e517e[_0x2c4279]){const {actions:_0x24f5d0,objectType:_0x54ee7f}=_0x7e517e[_0x2c4279][_0x65771f],_0xd3697b=[...new Set(_0x24f5d0)];_0x451306[_0x54fc03(0x463)]({'unitID':_0x2c4279,'objectID':_0x65771f,'objectType':_0x54ee7f,'actions':_0xd3697b});}return new K[(_0x54fc03(0x527))](_0x54fc03(0x263),_0x468d72,{'headers':_0x2a15e8[_0x54fc03(0x219)],'withCredentials':_0x2a15e8['withCredentials'],'responseType':_0x2a15e8['responseType'],'body':{'requests':_0x451306}});}},{'distributeResult'(_0x5dd6c4,_0x3ee11f){const {objectActions:_0x36ee55}=_0x5dd6c4;return _0x3ee11f['map'](_0xa3fe75=>{var _0x13f7c2=_0x5588;const {unitID:_0x17aeb0,objectID:_0xe97496,actions:_0x34450e}=_0xa3fe75,_0x2df4ca=_0x36ee55[_0x13f7c2(0x505)](_0x462191=>_0x462191[_0x13f7c2(0x3fc)]===_0x17aeb0&&_0x462191[_0x13f7c2(0x3c8)]===_0xe97496),_0x2e0e72=_0x34450e[_0x13f7c2(0x3ce)](_0x2adcb6=>_0x2df4ca==null?void 0x0:_0x2df4ca['actions'][_0x13f7c2(0x505)](_0x45c46e=>_0x45c46e[_0x13f7c2(0x2a1)]===_0x2adcb6))['filter'](_0xdd9061=>!!_0xdd9061);return{'config':_0xa3fe75,'result':{'actions':_0x2e0e72,'error':_0x5dd6c4[_0x13f7c2(0x54a)]}};});}})}));}['_getAPIPrefixPath'](){var _0x277c26=_0x369398,_0x349621,_0x5413bb;const _0x26e1b1=this[_0x277c26(0x225)][_0x277c26(0x3db)](Ve),_0x25e118=this[_0x277c26(0x225)][_0x277c26(0x3db)](G);return(_0x5413bb=(_0x349621=_0x25e118==null?void 0x0:_0x25e118[_0x277c26(0x203)])!=null?_0x349621:_0x26e1b1)!=null?_0x5413bb:Ri;}async[_0x369398(0x3f6)](_0x271e64){var _0x43b786=_0x369398;const _0x137145=this['_getAPIPrefixPath']()+'/'+_0x271e64['objectType']+'/object';return(await this[_0x43b786(0x2ec)][_0x43b786(0x499)](_0x137145,{'body':_0x271e64}))[_0x43b786(0x4bc)][_0x43b786(0x3c8)]||'';}async[_0x369398(0x4b8)](_0x32dfcd){var _0x13a000=_0x369398;const _0x24286f=this[_0x13a000(0x251)]()+'/-/object/list';return(await this[_0x13a000(0x2ec)][_0x13a000(0x499)](_0x24286f,{'body':_0x32dfcd}))[_0x13a000(0x4bc)][_0x13a000(0x23a)];}async[_0x369398(0x4ba)](_0x5ec123){var _0x2472d8=_0x369398,_0x4538f2,_0x3d1804;const _0x2cc1fc=this['_getAPIPrefixPath']()+'/'+_0x5ec123[_0x2472d8(0x45a)]+_0x2472d8(0x341)+_0x5ec123[_0x2472d8(0x3c8)],_0x361999=await this['_HTTPService'][_0x2472d8(0x21a)](_0x2cc1fc,{'body':_0x5ec123});if(((_0x3d1804=(_0x4538f2=_0x361999==null?void 0x0:_0x361999[_0x2472d8(0x4bc)])==null?void 0x0:_0x4538f2[_0x2472d8(0x54a)])==null?void 0x0:_0x3d1804['code'])!==0x1)throw new Error(_0x2472d8(0x2bf));}async[_0x369398(0x40e)](_0x55be8f){var _0x1db1d6=_0x369398;const _0x1bd918=this[_0x1db1d6(0x251)]()+'/'+_0x55be8f[_0x1db1d6(0x45a)]+_0x1db1d6(0x341)+_0x55be8f[_0x1db1d6(0x3c8)]+_0x1db1d6(0x35c);return(await this[_0x1db1d6(0x2ec)][_0x1db1d6(0x499)](_0x1bd918,{'body':_0x55be8f}))['body'][_0x1db1d6(0x493)];}async[_0x369398(0x265)](_0x13b6dc){var _0x25a5ea=_0x369398;const _0xe4a389=this[_0x25a5ea(0x251)]()+_0x25a5ea(0x211);return(await this[_0x25a5ea(0x2ec)][_0x25a5ea(0x499)](_0xe4a389,{'body':{'requests':_0x13b6dc}}))['body'][_0x25a5ea(0x1ee)];}async[_0x369398(0x4c8)](_0x778b74){var _0x4efd80=_0x369398;const _0x30366e=this[_0x4efd80(0x251)]()+'/'+_0x778b74['objectType']+_0x4efd80(0x349),_0x5cd0b2=await this['_HTTPService'][_0x4efd80(0x499)](_0x30366e,{'body':_0x778b74});return{'roles':_0x5cd0b2[_0x4efd80(0x4bc)][_0x4efd80(0x4e6)],'actions':_0x5cd0b2[_0x4efd80(0x4bc)][_0x4efd80(0x493)]};}async[_0x369398(0x327)](_0x2f363e){var _0x159827=_0x369398;const _0x5abdee=this[_0x159827(0x251)]()+_0x159827(0x54e);await this[_0x159827(0x2ec)][_0x159827(0x1eb)](_0x5abdee,{'params':{'collaboratorID':_0x2f363e[_0x159827(0x216)],'objectID':_0x2f363e[_0x159827(0x3c8)],'unitID':_0x2f363e[_0x159827(0x3fc)]}});}async[_0x369398(0x1f8)](_0xcccde3){var _0x245222=_0x369398;const _0x106ea9=this[_0x245222(0x251)]()+_0x245222(0x54e);await this[_0x245222(0x2ec)][_0x245222(0x548)](_0x106ea9,{'body':_0xcccde3});}async[_0x369398(0x4e0)](_0xf51f9e){var _0x2cc632=_0x369398;const _0x218cec=this[_0x2cc632(0x251)]()+'/collaborator';await this[_0x2cc632(0x2ec)][_0x2cc632(0x499)](_0x218cec,{'body':_0xf51f9e});}async[_0x369398(0x27b)](_0x997f37){var _0x16e495=_0x369398;const _0xd6a57=this[_0x16e495(0x251)]()+_0x16e495(0x54e);return(await this['_HTTPService'][_0x16e495(0x383)](_0xd6a57,{'params':{'objectID':_0x997f37[_0x16e495(0x3c8)],'unitID':_0x997f37['unitID']}}))[_0x16e495(0x4bc)][_0x16e495(0x3e9)];}async[_0x369398(0x38b)](_0x330ed1){var _0x55d080=_0x369398;const _0x4ddabe=this['_getAPIPrefixPath']()+_0x55d080(0x54e);await this[_0x55d080(0x2ec)]['put'](_0x4ddabe,{'body':_0x330ed1});}},exports['AuthzIoHttpService']=bi([qe(0x0,a[_0x369398(0x3f0)](K[_0x369398(0x50e)])),qe(0x1,a[_0x369398(0x3f0)](a[_0x369398(0x302)]))],exports['AuthzIoHttpService']);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x14e7bc){var _0x92fc73=_0x369398;return _0x14e7bc&&_0x14e7bc[_0x92fc73(0x26f)]&&Object['prototype']['hasOwnProperty']['call'](_0x14e7bc,'default')?_0x14e7bc['default']:_0x14e7bc;}var fe={'exports':{}};function Oi(_0x9803e4){var _0x30a39e=_0x369398;throw new Error(_0x30a39e(0x30f)+_0x9803e4+_0x30a39e(0x486));}var Ie={'exports':{}},yi=Ie['exports'],ze;function Q(){var _0x3d3536=_0x369398;return ze||(ze=0x1,function(_0x2e8823,_0x5707be){(function(_0x134bc2,_0x42c458){var _0x14ce80=_0x5588;_0x2e8823[_0x14ce80(0x3ec)]=_0x42c458();}(yi,function(){var _0x4a9176=_0x4a9176||function(_0x1f66bd,_0x2aa26b){var _0x2826a6=_0x5588,_0x4037d5;if(typeof window<'u'&&window[_0x2826a6(0x1d4)]&&(_0x4037d5=window[_0x2826a6(0x1d4)]),typeof self<'u'&&self[_0x2826a6(0x1d4)]&&(_0x4037d5=self['crypto']),typeof globalThis<'u'&&globalThis[_0x2826a6(0x1d4)]&&(_0x4037d5=globalThis[_0x2826a6(0x1d4)]),!_0x4037d5&&typeof window<'u'&&window[_0x2826a6(0x3a8)]&&(_0x4037d5=window['msCrypto']),!_0x4037d5&&typeof Pe<'u'&&Pe[_0x2826a6(0x1d4)]&&(_0x4037d5=Pe[_0x2826a6(0x1d4)]),!_0x4037d5&&typeof Oi=='function')try{_0x4037d5=require('crypto');}catch{}var _0x52260=function(){var _0x230f52=_0x2826a6;if(_0x4037d5){if(typeof _0x4037d5['getRandomValues']==_0x230f52(0x4c2))try{return _0x4037d5[_0x230f52(0x24e)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4037d5[_0x230f52(0x359)]==_0x230f52(0x4c2))try{return _0x4037d5[_0x230f52(0x359)](0x4)[_0x230f52(0x509)]();}catch{}}throw new Error(_0x230f52(0x371));},_0x16f4ef=Object[_0x2826a6(0x3f6)]||(function(){function _0x549d91(){}return function(_0x4975be){var _0x40a57c=_0x5588,_0x2f1a5e;return _0x549d91[_0x40a57c(0x315)]=_0x4975be,_0x2f1a5e=new _0x549d91(),_0x549d91[_0x40a57c(0x315)]=null,_0x2f1a5e;};}()),_0x18e236={},_0x59ed36=_0x18e236[_0x2826a6(0x412)]={},_0x29214b=_0x59ed36[_0x2826a6(0x51f)]=(function(){return{'extend':function(_0x51ef02){var _0x5ec177=_0x5588,_0x184fe0=_0x16f4ef(this);return _0x51ef02&&_0x184fe0[_0x5ec177(0x494)](_0x51ef02),(!_0x184fe0[_0x5ec177(0x491)](_0x5ec177(0x525))||this[_0x5ec177(0x525)]===_0x184fe0['init'])&&(_0x184fe0[_0x5ec177(0x525)]=function(){var _0x2a7363=_0x5ec177;_0x184fe0[_0x2a7363(0x368)][_0x2a7363(0x525)][_0x2a7363(0x2b5)](this,arguments);}),_0x184fe0[_0x5ec177(0x525)]['prototype']=_0x184fe0,_0x184fe0[_0x5ec177(0x368)]=this,_0x184fe0;},'create':function(){var _0x13e0be=_0x5588,_0xa27483=this[_0x13e0be(0x242)]();return _0xa27483[_0x13e0be(0x525)][_0x13e0be(0x2b5)](_0xa27483,arguments),_0xa27483;},'init':function(){},'mixIn':function(_0x230871){var _0x2addc0=_0x5588;for(var _0x312696 in _0x230871)_0x230871[_0x2addc0(0x491)](_0x312696)&&(this[_0x312696]=_0x230871[_0x312696]);_0x230871['hasOwnProperty']('toString')&&(this[_0x2addc0(0x322)]=_0x230871[_0x2addc0(0x322)]);},'clone':function(){var _0x54d4f7=_0x5588;return this['init'][_0x54d4f7(0x315)][_0x54d4f7(0x242)](this);}};}()),_0x2a4cfe=_0x59ed36[_0x2826a6(0x468)]=_0x29214b['extend']({'init':function(_0x1626f,_0x2b536c){var _0x10fbbe=_0x2826a6;_0x1626f=this[_0x10fbbe(0x50f)]=_0x1626f||[],_0x2b536c!=_0x2aa26b?this['sigBytes']=_0x2b536c:this[_0x10fbbe(0x4b3)]=_0x1626f[_0x10fbbe(0x48b)]*0x4;},'toString':function(_0x1f5df8){var _0x217779=_0x2826a6;return(_0x1f5df8||_0x32eac7)[_0x217779(0x1e7)](this);},'concat':function(_0x53af4e){var _0x318b88=_0x2826a6,_0x5a9a22=this['words'],_0x44b1c7=_0x53af4e[_0x318b88(0x50f)],_0x4f2668=this['sigBytes'],_0x236422=_0x53af4e[_0x318b88(0x4b3)];if(this[_0x318b88(0x51c)](),_0x4f2668%0x4)for(var _0x348705=0x0;_0x348705<_0x236422;_0x348705++){var _0x11e286=_0x44b1c7[_0x348705>>>0x2]>>>0x18-_0x348705%0x4*0x8&0xff;_0x5a9a22[_0x4f2668+_0x348705>>>0x2]|=_0x11e286<<0x18-(_0x4f2668+_0x348705)%0x4*0x8;}else{for(var _0xe39ab1=0x0;_0xe39ab1<_0x236422;_0xe39ab1+=0x4)_0x5a9a22[_0x4f2668+_0xe39ab1>>>0x2]=_0x44b1c7[_0xe39ab1>>>0x2];}return this[_0x318b88(0x4b3)]+=_0x236422,this;},'clamp':function(){var _0x54e6bb=_0x2826a6,_0x48221d=this[_0x54e6bb(0x50f)],_0x4379c4=this[_0x54e6bb(0x4b3)];_0x48221d[_0x4379c4>>>0x2]&=0xffffffff<<0x20-_0x4379c4%0x4*0x8,_0x48221d[_0x54e6bb(0x48b)]=_0x1f66bd[_0x54e6bb(0x390)](_0x4379c4/0x4);},'clone':function(){var _0x3b1a3b=_0x2826a6,_0x2fff45=_0x29214b[_0x3b1a3b(0x38c)][_0x3b1a3b(0x328)](this);return _0x2fff45[_0x3b1a3b(0x50f)]=this['words']['slice'](0x0),_0x2fff45;},'random':function(_0x24a119){var _0x9d71db=_0x2826a6;for(var _0x1029ba=[],_0x1d17e5=0x0;_0x1d17e5<_0x24a119;_0x1d17e5+=0x4)_0x1029ba[_0x9d71db(0x463)](_0x52260());return new _0x2a4cfe['init'](_0x1029ba,_0x24a119);}}),_0xec471f=_0x18e236[_0x2826a6(0x303)]={},_0x32eac7=_0xec471f[_0x2826a6(0x243)]={'stringify':function(_0x2a6c6b){var _0x58a84e=_0x2826a6;for(var _0x1e2532=_0x2a6c6b[_0x58a84e(0x50f)],_0x76fb6b=_0x2a6c6b[_0x58a84e(0x4b3)],_0x3aa9b=[],_0x778f10=0x0;_0x778f10<_0x76fb6b;_0x778f10++){var _0x314c18=_0x1e2532[_0x778f10>>>0x2]>>>0x18-_0x778f10%0x4*0x8&0xff;_0x3aa9b[_0x58a84e(0x463)]((_0x314c18>>>0x4)['toString'](0x10)),_0x3aa9b[_0x58a84e(0x463)]((_0x314c18&0xf)[_0x58a84e(0x322)](0x10));}return _0x3aa9b['join']('');},'parse':function(_0x1df10e){var _0x45679b=_0x2826a6;for(var _0x321c06=_0x1df10e[_0x45679b(0x48b)],_0x323016=[],_0x20ca0b=0x0;_0x20ca0b<_0x321c06;_0x20ca0b+=0x2)_0x323016[_0x20ca0b>>>0x3]|=parseInt(_0x1df10e[_0x45679b(0x204)](_0x20ca0b,0x2),0x10)<<0x18-_0x20ca0b%0x8*0x4;return new _0x2a4cfe[(_0x45679b(0x525))](_0x323016,_0x321c06/0x2);}},_0x4c75ab=_0xec471f[_0x2826a6(0x48d)]={'stringify':function(_0x5f24be){var _0x4cc522=_0x2826a6;for(var _0x1222ac=_0x5f24be[_0x4cc522(0x50f)],_0x199722=_0x5f24be[_0x4cc522(0x4b3)],_0x2bc417=[],_0x16733c=0x0;_0x16733c<_0x199722;_0x16733c++){var _0x5232a8=_0x1222ac[_0x16733c>>>0x2]>>>0x18-_0x16733c%0x4*0x8&0xff;_0x2bc417['push'](String[_0x4cc522(0x238)](_0x5232a8));}return _0x2bc417[_0x4cc522(0x38a)]('');},'parse':function(_0x5a1aa6){var _0x22568e=_0x2826a6;for(var _0x103b75=_0x5a1aa6[_0x22568e(0x48b)],_0x1b769d=[],_0x3f5a7f=0x0;_0x3f5a7f<_0x103b75;_0x3f5a7f++)_0x1b769d[_0x3f5a7f>>>0x2]|=(_0x5a1aa6[_0x22568e(0x488)](_0x3f5a7f)&0xff)<<0x18-_0x3f5a7f%0x4*0x8;return new _0x2a4cfe['init'](_0x1b769d,_0x103b75);}},_0x756838=_0xec471f[_0x2826a6(0x421)]={'stringify':function(_0x3b1b91){var _0x399dce=_0x2826a6;try{return decodeURIComponent(escape(_0x4c75ab['stringify'](_0x3b1b91)));}catch{throw new Error(_0x399dce(0x2e7));}},'parse':function(_0x1ec8d1){return _0x4c75ab['parse'](unescape(encodeURIComponent(_0x1ec8d1)));}},_0x25254a=_0x59ed36[_0x2826a6(0x31c)]=_0x29214b['extend']({'reset':function(){var _0x3dcba8=_0x2826a6;this['_data']=new _0x2a4cfe[(_0x3dcba8(0x525))](),this[_0x3dcba8(0x4fb)]=0x0;},'_append':function(_0x5bfaf4){var _0x39100e=_0x2826a6;typeof _0x5bfaf4==_0x39100e(0x48f)&&(_0x5bfaf4=_0x756838['parse'](_0x5bfaf4)),this[_0x39100e(0x3fe)][_0x39100e(0x410)](_0x5bfaf4),this[_0x39100e(0x4fb)]+=_0x5bfaf4[_0x39100e(0x4b3)];},'_process':function(_0xf36c5e){var _0x2dda18=_0x2826a6,_0x849a66,_0x7f479a=this[_0x2dda18(0x3fe)],_0x47935e=_0x7f479a[_0x2dda18(0x50f)],_0x309bf9=_0x7f479a[_0x2dda18(0x4b3)],_0x1f0839=this[_0x2dda18(0x30b)],_0x3ca7b5=_0x1f0839*0x4,_0x566ff6=_0x309bf9/_0x3ca7b5;_0xf36c5e?_0x566ff6=_0x1f66bd['ceil'](_0x566ff6):_0x566ff6=_0x1f66bd[_0x2dda18(0x4ad)]((_0x566ff6|0x0)-this[_0x2dda18(0x2f1)],0x0);var _0x3d9604=_0x566ff6*_0x1f0839,_0x5abc01=_0x1f66bd[_0x2dda18(0x480)](_0x3d9604*0x4,_0x309bf9);if(_0x3d9604){for(var _0x9262d7=0x0;_0x9262d7<_0x3d9604;_0x9262d7+=_0x1f0839)this[_0x2dda18(0x452)](_0x47935e,_0x9262d7);_0x849a66=_0x47935e[_0x2dda18(0x4e5)](0x0,_0x3d9604),_0x7f479a[_0x2dda18(0x4b3)]-=_0x5abc01;}return new _0x2a4cfe['init'](_0x849a66,_0x5abc01);},'clone':function(){var _0x4e852a=_0x2826a6,_0x17390c=_0x29214b[_0x4e852a(0x38c)][_0x4e852a(0x328)](this);return _0x17390c[_0x4e852a(0x3fe)]=this[_0x4e852a(0x3fe)][_0x4e852a(0x38c)](),_0x17390c;},'_minBufferSize':0x0});_0x59ed36[_0x2826a6(0x2b8)]=_0x25254a[_0x2826a6(0x242)]({'cfg':_0x29214b[_0x2826a6(0x242)](),'init':function(_0x5b8d43){var _0x2b8dff=_0x2826a6;this['cfg']=this[_0x2b8dff(0x417)][_0x2b8dff(0x242)](_0x5b8d43),this[_0x2b8dff(0x310)]();},'reset':function(){var _0x508d34=_0x2826a6;_0x25254a[_0x508d34(0x310)][_0x508d34(0x328)](this),this[_0x508d34(0x23f)]();},'update':function(_0x31ae9e){var _0x25c1b9=_0x2826a6;return this[_0x25c1b9(0x466)](_0x31ae9e),this[_0x25c1b9(0x45c)](),this;},'finalize':function(_0x5094c2){var _0x201c36=_0x2826a6;_0x5094c2&&this['_append'](_0x5094c2);var _0x1edef1=this[_0x201c36(0x4de)]();return _0x1edef1;},'blockSize':0x10,'_createHelper':function(_0xa8eb82){return function(_0x50ba43,_0x2f3ca3){var _0x4a4488=_0x5588;return new _0xa8eb82[(_0x4a4488(0x525))](_0x2f3ca3)[_0x4a4488(0x4a2)](_0x50ba43);};},'_createHmacHelper':function(_0x21ba5a){return function(_0x479dfa,_0x5936ef){var _0x1b700b=_0x5588;return new _0x30b4c7[(_0x1b700b(0x3aa))][(_0x1b700b(0x525))](_0x21ba5a,_0x5936ef)['finalize'](_0x479dfa);};}});var _0x30b4c7=_0x18e236['algo']={};return _0x18e236;}(Math);return _0x4a9176;}));}(Ie)),Ie[_0x3d3536(0x3ec)];}var pe={'exports':{}},Ni=pe[_0x369398(0x3ec)],Je;function yt(){var _0x4d7252=_0x369398;return Je||(Je=0x1,function(_0x222904,_0x4898e7){(function(_0x51f181,_0x3fe433){var _0x25e996=_0x5588;_0x222904[_0x25e996(0x3ec)]=_0x3fe433(Q());}(Ni,function(_0x397215){return(function(){var _0x28d02a=_0x5588,_0x1955f6=_0x397215,_0x466559=_0x1955f6['lib'],_0x2e89dc=_0x466559[_0x28d02a(0x468)],_0x48f90e=_0x1955f6['enc'];_0x48f90e[_0x28d02a(0x32c)]={'stringify':function(_0x46b4c9){var _0x400bb3=_0x28d02a,_0x53ff18=_0x46b4c9[_0x400bb3(0x50f)],_0x1c4d07=_0x46b4c9['sigBytes'],_0x3e13b5=this['_map'];_0x46b4c9[_0x400bb3(0x51c)]();for(var _0x34d0d5=[],_0x793de8=0x0;_0x793de8<_0x1c4d07;_0x793de8+=0x3)for(var _0x2fb6b5=_0x53ff18[_0x793de8>>>0x2]>>>0x18-_0x793de8%0x4*0x8&0xff,_0xabbfd4=_0x53ff18[_0x793de8+0x1>>>0x2]>>>0x18-(_0x793de8+0x1)%0x4*0x8&0xff,_0x59a967=_0x53ff18[_0x793de8+0x2>>>0x2]>>>0x18-(_0x793de8+0x2)%0x4*0x8&0xff,_0x36560f=_0x2fb6b5<<0x10|_0xabbfd4<<0x8|_0x59a967,_0x252ef7=0x0;_0x252ef7<0x4&&_0x793de8+_0x252ef7*0.75<_0x1c4d07;_0x252ef7++)_0x34d0d5[_0x400bb3(0x463)](_0x3e13b5['charAt'](_0x36560f>>>0x6*(0x3-_0x252ef7)&0x3f));var _0x513466=_0x3e13b5[_0x400bb3(0x224)](0x40);if(_0x513466){for(;_0x34d0d5[_0x400bb3(0x48b)]%0x4;)_0x34d0d5[_0x400bb3(0x463)](_0x513466);}return _0x34d0d5[_0x400bb3(0x38a)]('');},'parse':function(_0x421f6a){var _0x4a1349=_0x28d02a,_0x161b2d=_0x421f6a[_0x4a1349(0x48b)],_0x172f1e=this[_0x4a1349(0x3e4)],_0x26acf9=this['_reverseMap'];if(!_0x26acf9){_0x26acf9=this[_0x4a1349(0x1fc)]=[];for(var _0x5ad40e=0x0;_0x5ad40e<_0x172f1e[_0x4a1349(0x48b)];_0x5ad40e++)_0x26acf9[_0x172f1e[_0x4a1349(0x488)](_0x5ad40e)]=_0x5ad40e;}var _0x5c3968=_0x172f1e[_0x4a1349(0x224)](0x40);if(_0x5c3968){var _0x809f56=_0x421f6a[_0x4a1349(0x39f)](_0x5c3968);_0x809f56!==-0x1&&(_0x161b2d=_0x809f56);}return _0xf4a653(_0x421f6a,_0x161b2d,_0x26acf9);},'_map':_0x28d02a(0x414)};function _0xf4a653(_0x5b6db8,_0x2e28dd,_0x2c1779){var _0x1a0f1b=_0x28d02a;for(var _0x3bdfdc=[],_0x564372=0x0,_0x3906d3=0x0;_0x3906d3<_0x2e28dd;_0x3906d3++)if(_0x3906d3%0x4){var _0x809cf3=_0x2c1779[_0x5b6db8[_0x1a0f1b(0x488)](_0x3906d3-0x1)]<<_0x3906d3%0x4*0x2,_0x3de690=_0x2c1779[_0x5b6db8[_0x1a0f1b(0x488)](_0x3906d3)]>>>0x6-_0x3906d3%0x4*0x2,_0x88869f=_0x809cf3|_0x3de690;_0x3bdfdc[_0x564372>>>0x2]|=_0x88869f<<0x18-_0x564372%0x4*0x8,_0x564372++;}return _0x2e89dc['create'](_0x3bdfdc,_0x564372);}}()),_0x397215['enc']['Base64'];}));}(pe)),pe[_0x4d7252(0x3ec)];}var ge={'exports':{}},Di=ge[_0x369398(0x3ec)],Xe;function Ui(){var _0x5bb83f=_0x369398;return Xe||(Xe=0x1,function(_0x1d366b,_0x50fac2){(function(_0x258592,_0x3ed6fa){var _0x888d8d=_0x5588;_0x1d366b[_0x888d8d(0x3ec)]=_0x3ed6fa(Q());}(Di,function(_0x2a5b6d){return function(_0x517a85){var _0x4bd897=_0x5588,_0x846c15=_0x2a5b6d,_0x81e689=_0x846c15[_0x4bd897(0x412)],_0x4f568b=_0x81e689[_0x4bd897(0x468)],_0x59101a=_0x81e689[_0x4bd897(0x2b8)],_0x3f822d=_0x846c15['algo'],_0x5992ca=[];(function(){var _0x224bfb=_0x4bd897;for(var _0x1c350a=0x0;_0x1c350a<0x40;_0x1c350a++)_0x5992ca[_0x1c350a]=_0x517a85[_0x224bfb(0x256)](_0x517a85[_0x224bfb(0x467)](_0x1c350a+0x1))*0x100000000|0x0;}());var _0x2a18a8=_0x3f822d[_0x4bd897(0x2db)]=_0x59101a[_0x4bd897(0x242)]({'_doReset':function(){var _0x4d0f98=_0x4bd897;this['_hash']=new _0x4f568b[(_0x4d0f98(0x525))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xef5cb0,_0x447911){var _0x424655=_0x4bd897;for(var _0x3be2b2=0x0;_0x3be2b2<0x10;_0x3be2b2++){var _0x4d1b1d=_0x447911+_0x3be2b2,_0x19d4e4=_0xef5cb0[_0x4d1b1d];_0xef5cb0[_0x4d1b1d]=(_0x19d4e4<<0x8|_0x19d4e4>>>0x18)&0xff00ff|(_0x19d4e4<<0x18|_0x19d4e4>>>0x8)&0xff00ff00;}var _0x1d58a0=this[_0x424655(0x32e)][_0x424655(0x50f)],_0x14d2c2=_0xef5cb0[_0x447911+0x0],_0x6245e4=_0xef5cb0[_0x447911+0x1],_0x977de9=_0xef5cb0[_0x447911+0x2],_0xfe2f1=_0xef5cb0[_0x447911+0x3],_0x166684=_0xef5cb0[_0x447911+0x4],_0x40ad1a=_0xef5cb0[_0x447911+0x5],_0x2fc078=_0xef5cb0[_0x447911+0x6],_0x19d08c=_0xef5cb0[_0x447911+0x7],_0x490351=_0xef5cb0[_0x447911+0x8],_0x28ba31=_0xef5cb0[_0x447911+0x9],_0x1548bc=_0xef5cb0[_0x447911+0xa],_0x426e2d=_0xef5cb0[_0x447911+0xb],_0x17c8d8=_0xef5cb0[_0x447911+0xc],_0x53f32e=_0xef5cb0[_0x447911+0xd],_0xe3ba8b=_0xef5cb0[_0x447911+0xe],_0x208693=_0xef5cb0[_0x447911+0xf],_0x4c4239=_0x1d58a0[0x0],_0x2112a7=_0x1d58a0[0x1],_0x519c7f=_0x1d58a0[0x2],_0xd872ab=_0x1d58a0[0x3];_0x4c4239=_0x1685a4(_0x4c4239,_0x2112a7,_0x519c7f,_0xd872ab,_0x14d2c2,0x7,_0x5992ca[0x0]),_0xd872ab=_0x1685a4(_0xd872ab,_0x4c4239,_0x2112a7,_0x519c7f,_0x6245e4,0xc,_0x5992ca[0x1]),_0x519c7f=_0x1685a4(_0x519c7f,_0xd872ab,_0x4c4239,_0x2112a7,_0x977de9,0x11,_0x5992ca[0x2]),_0x2112a7=_0x1685a4(_0x2112a7,_0x519c7f,_0xd872ab,_0x4c4239,_0xfe2f1,0x16,_0x5992ca[0x3]),_0x4c4239=_0x1685a4(_0x4c4239,_0x2112a7,_0x519c7f,_0xd872ab,_0x166684,0x7,_0x5992ca[0x4]),_0xd872ab=_0x1685a4(_0xd872ab,_0x4c4239,_0x2112a7,_0x519c7f,_0x40ad1a,0xc,_0x5992ca[0x5]),_0x519c7f=_0x1685a4(_0x519c7f,_0xd872ab,_0x4c4239,_0x2112a7,_0x2fc078,0x11,_0x5992ca[0x6]),_0x2112a7=_0x1685a4(_0x2112a7,_0x519c7f,_0xd872ab,_0x4c4239,_0x19d08c,0x16,_0x5992ca[0x7]),_0x4c4239=_0x1685a4(_0x4c4239,_0x2112a7,_0x519c7f,_0xd872ab,_0x490351,0x7,_0x5992ca[0x8]),_0xd872ab=_0x1685a4(_0xd872ab,_0x4c4239,_0x2112a7,_0x519c7f,_0x28ba31,0xc,_0x5992ca[0x9]),_0x519c7f=_0x1685a4(_0x519c7f,_0xd872ab,_0x4c4239,_0x2112a7,_0x1548bc,0x11,_0x5992ca[0xa]),_0x2112a7=_0x1685a4(_0x2112a7,_0x519c7f,_0xd872ab,_0x4c4239,_0x426e2d,0x16,_0x5992ca[0xb]),_0x4c4239=_0x1685a4(_0x4c4239,_0x2112a7,_0x519c7f,_0xd872ab,_0x17c8d8,0x7,_0x5992ca[0xc]),_0xd872ab=_0x1685a4(_0xd872ab,_0x4c4239,_0x2112a7,_0x519c7f,_0x53f32e,0xc,_0x5992ca[0xd]),_0x519c7f=_0x1685a4(_0x519c7f,_0xd872ab,_0x4c4239,_0x2112a7,_0xe3ba8b,0x11,_0x5992ca[0xe]),_0x2112a7=_0x1685a4(_0x2112a7,_0x519c7f,_0xd872ab,_0x4c4239,_0x208693,0x16,_0x5992ca[0xf]),_0x4c4239=_0x88e55c(_0x4c4239,_0x2112a7,_0x519c7f,_0xd872ab,_0x6245e4,0x5,_0x5992ca[0x10]),_0xd872ab=_0x88e55c(_0xd872ab,_0x4c4239,_0x2112a7,_0x519c7f,_0x2fc078,0x9,_0x5992ca[0x11]),_0x519c7f=_0x88e55c(_0x519c7f,_0xd872ab,_0x4c4239,_0x2112a7,_0x426e2d,0xe,_0x5992ca[0x12]),_0x2112a7=_0x88e55c(_0x2112a7,_0x519c7f,_0xd872ab,_0x4c4239,_0x14d2c2,0x14,_0x5992ca[0x13]),_0x4c4239=_0x88e55c(_0x4c4239,_0x2112a7,_0x519c7f,_0xd872ab,_0x40ad1a,0x5,_0x5992ca[0x14]),_0xd872ab=_0x88e55c(_0xd872ab,_0x4c4239,_0x2112a7,_0x519c7f,_0x1548bc,0x9,_0x5992ca[0x15]),_0x519c7f=_0x88e55c(_0x519c7f,_0xd872ab,_0x4c4239,_0x2112a7,_0x208693,0xe,_0x5992ca[0x16]),_0x2112a7=_0x88e55c(_0x2112a7,_0x519c7f,_0xd872ab,_0x4c4239,_0x166684,0x14,_0x5992ca[0x17]),_0x4c4239=_0x88e55c(_0x4c4239,_0x2112a7,_0x519c7f,_0xd872ab,_0x28ba31,0x5,_0x5992ca[0x18]),_0xd872ab=_0x88e55c(_0xd872ab,_0x4c4239,_0x2112a7,_0x519c7f,_0xe3ba8b,0x9,_0x5992ca[0x19]),_0x519c7f=_0x88e55c(_0x519c7f,_0xd872ab,_0x4c4239,_0x2112a7,_0xfe2f1,0xe,_0x5992ca[0x1a]),_0x2112a7=_0x88e55c(_0x2112a7,_0x519c7f,_0xd872ab,_0x4c4239,_0x490351,0x14,_0x5992ca[0x1b]),_0x4c4239=_0x88e55c(_0x4c4239,_0x2112a7,_0x519c7f,_0xd872ab,_0x53f32e,0x5,_0x5992ca[0x1c]),_0xd872ab=_0x88e55c(_0xd872ab,_0x4c4239,_0x2112a7,_0x519c7f,_0x977de9,0x9,_0x5992ca[0x1d]),_0x519c7f=_0x88e55c(_0x519c7f,_0xd872ab,_0x4c4239,_0x2112a7,_0x19d08c,0xe,_0x5992ca[0x1e]),_0x2112a7=_0x88e55c(_0x2112a7,_0x519c7f,_0xd872ab,_0x4c4239,_0x17c8d8,0x14,_0x5992ca[0x1f]),_0x4c4239=_0x20d3f3(_0x4c4239,_0x2112a7,_0x519c7f,_0xd872ab,_0x40ad1a,0x4,_0x5992ca[0x20]),_0xd872ab=_0x20d3f3(_0xd872ab,_0x4c4239,_0x2112a7,_0x519c7f,_0x490351,0xb,_0x5992ca[0x21]),_0x519c7f=_0x20d3f3(_0x519c7f,_0xd872ab,_0x4c4239,_0x2112a7,_0x426e2d,0x10,_0x5992ca[0x22]),_0x2112a7=_0x20d3f3(_0x2112a7,_0x519c7f,_0xd872ab,_0x4c4239,_0xe3ba8b,0x17,_0x5992ca[0x23]),_0x4c4239=_0x20d3f3(_0x4c4239,_0x2112a7,_0x519c7f,_0xd872ab,_0x6245e4,0x4,_0x5992ca[0x24]),_0xd872ab=_0x20d3f3(_0xd872ab,_0x4c4239,_0x2112a7,_0x519c7f,_0x166684,0xb,_0x5992ca[0x25]),_0x519c7f=_0x20d3f3(_0x519c7f,_0xd872ab,_0x4c4239,_0x2112a7,_0x19d08c,0x10,_0x5992ca[0x26]),_0x2112a7=_0x20d3f3(_0x2112a7,_0x519c7f,_0xd872ab,_0x4c4239,_0x1548bc,0x17,_0x5992ca[0x27]),_0x4c4239=_0x20d3f3(_0x4c4239,_0x2112a7,_0x519c7f,_0xd872ab,_0x53f32e,0x4,_0x5992ca[0x28]),_0xd872ab=_0x20d3f3(_0xd872ab,_0x4c4239,_0x2112a7,_0x519c7f,_0x14d2c2,0xb,_0x5992ca[0x29]),_0x519c7f=_0x20d3f3(_0x519c7f,_0xd872ab,_0x4c4239,_0x2112a7,_0xfe2f1,0x10,_0x5992ca[0x2a]),_0x2112a7=_0x20d3f3(_0x2112a7,_0x519c7f,_0xd872ab,_0x4c4239,_0x2fc078,0x17,_0x5992ca[0x2b]),_0x4c4239=_0x20d3f3(_0x4c4239,_0x2112a7,_0x519c7f,_0xd872ab,_0x28ba31,0x4,_0x5992ca[0x2c]),_0xd872ab=_0x20d3f3(_0xd872ab,_0x4c4239,_0x2112a7,_0x519c7f,_0x17c8d8,0xb,_0x5992ca[0x2d]),_0x519c7f=_0x20d3f3(_0x519c7f,_0xd872ab,_0x4c4239,_0x2112a7,_0x208693,0x10,_0x5992ca[0x2e]),_0x2112a7=_0x20d3f3(_0x2112a7,_0x519c7f,_0xd872ab,_0x4c4239,_0x977de9,0x17,_0x5992ca[0x2f]),_0x4c4239=_0x5cb15f(_0x4c4239,_0x2112a7,_0x519c7f,_0xd872ab,_0x14d2c2,0x6,_0x5992ca[0x30]),_0xd872ab=_0x5cb15f(_0xd872ab,_0x4c4239,_0x2112a7,_0x519c7f,_0x19d08c,0xa,_0x5992ca[0x31]),_0x519c7f=_0x5cb15f(_0x519c7f,_0xd872ab,_0x4c4239,_0x2112a7,_0xe3ba8b,0xf,_0x5992ca[0x32]),_0x2112a7=_0x5cb15f(_0x2112a7,_0x519c7f,_0xd872ab,_0x4c4239,_0x40ad1a,0x15,_0x5992ca[0x33]),_0x4c4239=_0x5cb15f(_0x4c4239,_0x2112a7,_0x519c7f,_0xd872ab,_0x17c8d8,0x6,_0x5992ca[0x34]),_0xd872ab=_0x5cb15f(_0xd872ab,_0x4c4239,_0x2112a7,_0x519c7f,_0xfe2f1,0xa,_0x5992ca[0x35]),_0x519c7f=_0x5cb15f(_0x519c7f,_0xd872ab,_0x4c4239,_0x2112a7,_0x1548bc,0xf,_0x5992ca[0x36]),_0x2112a7=_0x5cb15f(_0x2112a7,_0x519c7f,_0xd872ab,_0x4c4239,_0x6245e4,0x15,_0x5992ca[0x37]),_0x4c4239=_0x5cb15f(_0x4c4239,_0x2112a7,_0x519c7f,_0xd872ab,_0x490351,0x6,_0x5992ca[0x38]),_0xd872ab=_0x5cb15f(_0xd872ab,_0x4c4239,_0x2112a7,_0x519c7f,_0x208693,0xa,_0x5992ca[0x39]),_0x519c7f=_0x5cb15f(_0x519c7f,_0xd872ab,_0x4c4239,_0x2112a7,_0x2fc078,0xf,_0x5992ca[0x3a]),_0x2112a7=_0x5cb15f(_0x2112a7,_0x519c7f,_0xd872ab,_0x4c4239,_0x53f32e,0x15,_0x5992ca[0x3b]),_0x4c4239=_0x5cb15f(_0x4c4239,_0x2112a7,_0x519c7f,_0xd872ab,_0x166684,0x6,_0x5992ca[0x3c]),_0xd872ab=_0x5cb15f(_0xd872ab,_0x4c4239,_0x2112a7,_0x519c7f,_0x426e2d,0xa,_0x5992ca[0x3d]),_0x519c7f=_0x5cb15f(_0x519c7f,_0xd872ab,_0x4c4239,_0x2112a7,_0x977de9,0xf,_0x5992ca[0x3e]),_0x2112a7=_0x5cb15f(_0x2112a7,_0x519c7f,_0xd872ab,_0x4c4239,_0x28ba31,0x15,_0x5992ca[0x3f]),_0x1d58a0[0x0]=_0x1d58a0[0x0]+_0x4c4239|0x0,_0x1d58a0[0x1]=_0x1d58a0[0x1]+_0x2112a7|0x0,_0x1d58a0[0x2]=_0x1d58a0[0x2]+_0x519c7f|0x0,_0x1d58a0[0x3]=_0x1d58a0[0x3]+_0xd872ab|0x0;},'_doFinalize':function(){var _0x46804a=_0x4bd897,_0x23b0d4=this[_0x46804a(0x3fe)],_0x8a4f02=_0x23b0d4['words'],_0x3dd0a4=this[_0x46804a(0x4fb)]*0x8,_0x150408=_0x23b0d4[_0x46804a(0x4b3)]*0x8;_0x8a4f02[_0x150408>>>0x5]|=0x80<<0x18-_0x150408%0x20;var _0x55d3aa=_0x517a85[_0x46804a(0x20c)](_0x3dd0a4/0x100000000),_0x36cbe1=_0x3dd0a4;_0x8a4f02[(_0x150408+0x40>>>0x9<<0x4)+0xf]=(_0x55d3aa<<0x8|_0x55d3aa>>>0x18)&0xff00ff|(_0x55d3aa<<0x18|_0x55d3aa>>>0x8)&0xff00ff00,_0x8a4f02[(_0x150408+0x40>>>0x9<<0x4)+0xe]=(_0x36cbe1<<0x8|_0x36cbe1>>>0x18)&0xff00ff|(_0x36cbe1<<0x18|_0x36cbe1>>>0x8)&0xff00ff00,_0x23b0d4[_0x46804a(0x4b3)]=(_0x8a4f02[_0x46804a(0x48b)]+0x1)*0x4,this[_0x46804a(0x45c)]();for(var _0x48c4de=this[_0x46804a(0x32e)],_0x47fca4=_0x48c4de[_0x46804a(0x50f)],_0x3328b6=0x0;_0x3328b6<0x4;_0x3328b6++){var _0x5c5eb8=_0x47fca4[_0x3328b6];_0x47fca4[_0x3328b6]=(_0x5c5eb8<<0x8|_0x5c5eb8>>>0x18)&0xff00ff|(_0x5c5eb8<<0x18|_0x5c5eb8>>>0x8)&0xff00ff00;}return _0x48c4de;},'clone':function(){var _0x28e38a=_0x4bd897,_0x4dc7f6=_0x59101a[_0x28e38a(0x38c)][_0x28e38a(0x328)](this);return _0x4dc7f6[_0x28e38a(0x32e)]=this[_0x28e38a(0x32e)][_0x28e38a(0x38c)](),_0x4dc7f6;}});function _0x1685a4(_0x3a0459,_0x15194c,_0x4a0ed8,_0x40acbc,_0x15f781,_0x6f3626,_0x37092f){var _0x45f13e=_0x3a0459+(_0x15194c&_0x4a0ed8|~_0x15194c&_0x40acbc)+_0x15f781+_0x37092f;return(_0x45f13e<<_0x6f3626|_0x45f13e>>>0x20-_0x6f3626)+_0x15194c;}function _0x88e55c(_0x3a3bb4,_0x4fe4d7,_0x33a7f3,_0x36e8fd,_0x596b86,_0xab21c0,_0x22cf9f){var _0x1987b7=_0x3a3bb4+(_0x4fe4d7&_0x36e8fd|_0x33a7f3&~_0x36e8fd)+_0x596b86+_0x22cf9f;return(_0x1987b7<<_0xab21c0|_0x1987b7>>>0x20-_0xab21c0)+_0x4fe4d7;}function _0x20d3f3(_0x35d116,_0x15dfb1,_0x34cc28,_0x39164e,_0x5ecbe0,_0xf33054,_0x27de17){var _0x20a098=_0x35d116+(_0x15dfb1^_0x34cc28^_0x39164e)+_0x5ecbe0+_0x27de17;return(_0x20a098<<_0xf33054|_0x20a098>>>0x20-_0xf33054)+_0x15dfb1;}function _0x5cb15f(_0x26838a,_0x536fdf,_0x50fd4d,_0x107c3f,_0x2d379b,_0x5093dd,_0x5f1abe){var _0x30afeb=_0x26838a+(_0x50fd4d^(_0x536fdf|~_0x107c3f))+_0x2d379b+_0x5f1abe;return(_0x30afeb<<_0x5093dd|_0x30afeb>>>0x20-_0x5093dd)+_0x536fdf;}_0x846c15['MD5']=_0x59101a[_0x4bd897(0x2fc)](_0x2a18a8),_0x846c15[_0x4bd897(0x535)]=_0x59101a[_0x4bd897(0x1da)](_0x2a18a8);}(Math),_0x2a5b6d['MD5'];}));}(ge)),ge[_0x5bb83f(0x3ec)];}var Ee={'exports':{}},me={'exports':{}},Ai=me[_0x369398(0x3ec)],Ze;function Pi(){var _0x259eb3=_0x369398;return Ze||(Ze=0x1,function(_0x1e9951,_0x4e420d){(function(_0x4e2ccf,_0x3fdd21){var _0x1a39ab=_0x5588;_0x1e9951[_0x1a39ab(0x3ec)]=_0x3fdd21(Q());}(Ai,function(_0x5ec1e0){var _0x53220b=_0x5588;return(function(){var _0x4e0067=_0x5588,_0x4b0d69=_0x5ec1e0,_0x192f2b=_0x4b0d69[_0x4e0067(0x412)],_0x7a91bb=_0x192f2b[_0x4e0067(0x468)],_0x211aa4=_0x192f2b['Hasher'],_0x1833f1=_0x4b0d69[_0x4e0067(0x334)],_0x299bf9=[],_0x49de69=_0x1833f1['SHA1']=_0x211aa4[_0x4e0067(0x242)]({'_doReset':function(){var _0xd4c067=_0x4e0067;this[_0xd4c067(0x32e)]=new _0x7a91bb[(_0xd4c067(0x525))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2dce0f,_0x1c3443){var _0x470f6e=_0x4e0067;for(var _0x559cda=this['_hash'][_0x470f6e(0x50f)],_0x281516=_0x559cda[0x0],_0x231abd=_0x559cda[0x1],_0x4a9736=_0x559cda[0x2],_0x2b753f=_0x559cda[0x3],_0x11b2c0=_0x559cda[0x4],_0x37eeba=0x0;_0x37eeba<0x50;_0x37eeba++){if(_0x37eeba<0x10)_0x299bf9[_0x37eeba]=_0x2dce0f[_0x1c3443+_0x37eeba]|0x0;else{var _0x11284d=_0x299bf9[_0x37eeba-0x3]^_0x299bf9[_0x37eeba-0x8]^_0x299bf9[_0x37eeba-0xe]^_0x299bf9[_0x37eeba-0x10];_0x299bf9[_0x37eeba]=_0x11284d<<0x1|_0x11284d>>>0x1f;}var _0x4a53f8=(_0x281516<<0x5|_0x281516>>>0x1b)+_0x11b2c0+_0x299bf9[_0x37eeba];_0x37eeba<0x14?_0x4a53f8+=(_0x231abd&_0x4a9736|~_0x231abd&_0x2b753f)+0x5a827999:_0x37eeba<0x28?_0x4a53f8+=(_0x231abd^_0x4a9736^_0x2b753f)+0x6ed9eba1:_0x37eeba<0x3c?_0x4a53f8+=(_0x231abd&_0x4a9736|_0x231abd&_0x2b753f|_0x4a9736&_0x2b753f)-0x70e44324:_0x4a53f8+=(_0x231abd^_0x4a9736^_0x2b753f)-0x359d3e2a,_0x11b2c0=_0x2b753f,_0x2b753f=_0x4a9736,_0x4a9736=_0x231abd<<0x1e|_0x231abd>>>0x2,_0x231abd=_0x281516,_0x281516=_0x4a53f8;}_0x559cda[0x0]=_0x559cda[0x0]+_0x281516|0x0,_0x559cda[0x1]=_0x559cda[0x1]+_0x231abd|0x0,_0x559cda[0x2]=_0x559cda[0x2]+_0x4a9736|0x0,_0x559cda[0x3]=_0x559cda[0x3]+_0x2b753f|0x0,_0x559cda[0x4]=_0x559cda[0x4]+_0x11b2c0|0x0;},'_doFinalize':function(){var _0x361a73=_0x4e0067,_0x4217db=this['_data'],_0x4239f3=_0x4217db[_0x361a73(0x50f)],_0x712201=this['_nDataBytes']*0x8,_0x57b1e3=_0x4217db['sigBytes']*0x8;return _0x4239f3[_0x57b1e3>>>0x5]|=0x80<<0x18-_0x57b1e3%0x20,_0x4239f3[(_0x57b1e3+0x40>>>0x9<<0x4)+0xe]=Math[_0x361a73(0x20c)](_0x712201/0x100000000),_0x4239f3[(_0x57b1e3+0x40>>>0x9<<0x4)+0xf]=_0x712201,_0x4217db['sigBytes']=_0x4239f3[_0x361a73(0x48b)]*0x4,this['_process'](),this[_0x361a73(0x32e)];},'clone':function(){var _0x41466d=_0x4e0067,_0xa364bf=_0x211aa4[_0x41466d(0x38c)][_0x41466d(0x328)](this);return _0xa364bf[_0x41466d(0x32e)]=this[_0x41466d(0x32e)][_0x41466d(0x38c)](),_0xa364bf;}});_0x4b0d69[_0x4e0067(0x3fd)]=_0x211aa4[_0x4e0067(0x2fc)](_0x49de69),_0x4b0d69[_0x4e0067(0x4c9)]=_0x211aa4[_0x4e0067(0x1da)](_0x49de69);}()),_0x5ec1e0[_0x53220b(0x3fd)];}));}(me)),me[_0x259eb3(0x3ec)];}var Ce={'exports':{}},Li=Ce['exports'],Qe;function wi(){var _0x22b621=_0x369398;return Qe||(Qe=0x1,function(_0x462440,_0xc1bbdb){(function(_0x438dfb,_0x1754af){var _0x54d660=_0x5588;_0x462440[_0x54d660(0x3ec)]=_0x1754af(Q());}(Li,function(_0x1b1275){(function(){var _0x4bdeff=_0x5588,_0x5bcd6c=_0x1b1275,_0x476d26=_0x5bcd6c[_0x4bdeff(0x412)],_0x1be276=_0x476d26[_0x4bdeff(0x51f)],_0x57b9f4=_0x5bcd6c[_0x4bdeff(0x303)],_0xaf68aa=_0x57b9f4[_0x4bdeff(0x421)],_0x360cc3=_0x5bcd6c['algo'];_0x360cc3[_0x4bdeff(0x3aa)]=_0x1be276[_0x4bdeff(0x242)]({'init':function(_0x32489f,_0x5caf76){var _0x15ea71=_0x4bdeff;_0x32489f=this['_hasher']=new _0x32489f[(_0x15ea71(0x525))](),typeof _0x5caf76=='string'&&(_0x5caf76=_0xaf68aa[_0x15ea71(0x337)](_0x5caf76));var _0xeb314f=_0x32489f['blockSize'],_0x3cb21e=_0xeb314f*0x4;_0x5caf76[_0x15ea71(0x4b3)]>_0x3cb21e&&(_0x5caf76=_0x32489f[_0x15ea71(0x4a2)](_0x5caf76)),_0x5caf76[_0x15ea71(0x51c)]();for(var _0xb7fdc1=this['_oKey']=_0x5caf76['clone'](),_0x1c05aa=this[_0x15ea71(0x4fa)]=_0x5caf76[_0x15ea71(0x38c)](),_0x9fd9b1=_0xb7fdc1[_0x15ea71(0x50f)],_0x433522=_0x1c05aa[_0x15ea71(0x50f)],_0xe79557=0x0;_0xe79557<_0xeb314f;_0xe79557++)_0x9fd9b1[_0xe79557]^=0x5c5c5c5c,_0x433522[_0xe79557]^=0x36363636;_0xb7fdc1[_0x15ea71(0x4b3)]=_0x1c05aa['sigBytes']=_0x3cb21e,this['reset']();},'reset':function(){var _0x228b22=_0x4bdeff,_0x3f546a=this[_0x228b22(0x307)];_0x3f546a[_0x228b22(0x310)](),_0x3f546a[_0x228b22(0x4ba)](this[_0x228b22(0x4fa)]);},'update':function(_0x26d2b4){var _0x4ff130=_0x4bdeff;return this[_0x4ff130(0x307)][_0x4ff130(0x4ba)](_0x26d2b4),this;},'finalize':function(_0xb130bd){var _0x3d94a9=_0x4bdeff,_0x47fa15=this[_0x3d94a9(0x307)],_0x3d1861=_0x47fa15['finalize'](_0xb130bd);_0x47fa15[_0x3d94a9(0x310)]();var _0xbd7031=_0x47fa15[_0x3d94a9(0x4a2)](this['_oKey'][_0x3d94a9(0x38c)]()[_0x3d94a9(0x410)](_0x3d1861));return _0xbd7031;}});}());}));}(Ce)),Ce[_0x22b621(0x3ec)];}var Mi=Ee[_0x369398(0x3ec)],et;function Nt(){var _0x3bf160=_0x369398;return et||(et=0x1,function(_0x4c0e85,_0x2b70f7){(function(_0x8b59dd,_0x194dff,_0x2d73df){_0x4c0e85['exports']=_0x194dff(Q(),Pi(),wi());}(Mi,function(_0x472edf){var _0x542c1b=_0x5588;return(function(){var _0x45a325=_0x5588,_0x1c2344=_0x472edf,_0x1c0c82=_0x1c2344[_0x45a325(0x412)],_0x2a210=_0x1c0c82[_0x45a325(0x51f)],_0x151e41=_0x1c0c82[_0x45a325(0x468)],_0x39fa57=_0x1c2344[_0x45a325(0x334)],_0xb278a4=_0x39fa57[_0x45a325(0x2db)],_0x507145=_0x39fa57[_0x45a325(0x1e3)]=_0x2a210[_0x45a325(0x242)]({'cfg':_0x2a210[_0x45a325(0x242)]({'keySize':0x80/0x20,'hasher':_0xb278a4,'iterations':0x1}),'init':function(_0x2c8eaa){var _0x2ca847=_0x45a325;this[_0x2ca847(0x417)]=this[_0x2ca847(0x417)][_0x2ca847(0x242)](_0x2c8eaa);},'compute':function(_0xef8612,_0x3c20d4){var _0x52db8b=_0x45a325;for(var _0x5d80d3,_0x5e911d=this[_0x52db8b(0x417)],_0x5737c6=_0x5e911d[_0x52db8b(0x32a)]['create'](),_0x36ee36=_0x151e41[_0x52db8b(0x3f6)](),_0x32589d=_0x36ee36[_0x52db8b(0x50f)],_0x400a58=_0x5e911d[_0x52db8b(0x364)],_0x37414d=_0x5e911d[_0x52db8b(0x2f3)];_0x32589d[_0x52db8b(0x48b)]<_0x400a58;){_0x5d80d3&&_0x5737c6[_0x52db8b(0x4ba)](_0x5d80d3),_0x5d80d3=_0x5737c6[_0x52db8b(0x4ba)](_0xef8612)[_0x52db8b(0x4a2)](_0x3c20d4),_0x5737c6['reset']();for(var _0x4ecdec=0x1;_0x4ecdec<_0x37414d;_0x4ecdec++)_0x5d80d3=_0x5737c6[_0x52db8b(0x4a2)](_0x5d80d3),_0x5737c6[_0x52db8b(0x310)]();_0x36ee36[_0x52db8b(0x410)](_0x5d80d3);}return _0x36ee36['sigBytes']=_0x400a58*0x4,_0x36ee36;}});_0x1c2344[_0x45a325(0x1e3)]=function(_0x1d5b80,_0x69815a,_0xbe6b42){var _0x38a41e=_0x45a325;return _0x507145[_0x38a41e(0x3f6)](_0xbe6b42)[_0x38a41e(0x3a9)](_0x1d5b80,_0x69815a);};}()),_0x472edf[_0x542c1b(0x1e3)];}));}(Ee)),Ee[_0x3bf160(0x3ec)];}var Te={'exports':{}},xi=Te[_0x369398(0x3ec)],tt;function Dt(){return tt||(tt=0x1,function(_0x4eb714,_0x398fd2){(function(_0x5312f6,_0x14bcf9,_0x94714b){var _0x3d9fc6=_0x5588;_0x4eb714[_0x3d9fc6(0x3ec)]=_0x14bcf9(Q(),Nt());}(xi,function(_0x39d1af){var _0x96911f=_0x5588;_0x39d1af[_0x96911f(0x412)]['Cipher']||function(_0x38b51c){var _0x38b04b=_0x96911f,_0x2a0466=_0x39d1af,_0x1b4f8d=_0x2a0466['lib'],_0x4bd039=_0x1b4f8d['Base'],_0x592ddb=_0x1b4f8d[_0x38b04b(0x468)],_0x5a4e7b=_0x1b4f8d['BufferedBlockAlgorithm'],_0x42ddab=_0x2a0466[_0x38b04b(0x303)];_0x42ddab[_0x38b04b(0x421)];var _0x8149d4=_0x42ddab['Base64'],_0xcebd6e=_0x2a0466['algo'],_0xa7c786=_0xcebd6e[_0x38b04b(0x1e3)],_0x5c54f5=_0x1b4f8d['Cipher']=_0x5a4e7b['extend']({'cfg':_0x4bd039['extend'](),'createEncryptor':function(_0xfd0ed1,_0x12b709){var _0x410c28=_0x38b04b;return this['create'](this[_0x410c28(0x2a8)],_0xfd0ed1,_0x12b709);},'createDecryptor':function(_0x24805d,_0x18f363){var _0x2ce2c3=_0x38b04b;return this[_0x2ce2c3(0x3f6)](this[_0x2ce2c3(0x314)],_0x24805d,_0x18f363);},'init':function(_0x179837,_0x522970,_0x1eb45a){var _0x404441=_0x38b04b;this['cfg']=this['cfg'][_0x404441(0x242)](_0x1eb45a),this['_xformMode']=_0x179837,this[_0x404441(0x26e)]=_0x522970,this[_0x404441(0x310)]();},'reset':function(){var _0x5fc324=_0x38b04b;_0x5a4e7b[_0x5fc324(0x310)][_0x5fc324(0x328)](this),this[_0x5fc324(0x23f)]();},'process':function(_0x4a7b47){var _0x339c04=_0x38b04b;return this[_0x339c04(0x466)](_0x4a7b47),this[_0x339c04(0x45c)]();},'finalize':function(_0x4076eb){var _0x244af1=_0x38b04b;_0x4076eb&&this[_0x244af1(0x466)](_0x4076eb);var _0x1caa1c=this[_0x244af1(0x4de)]();return _0x1caa1c;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x12bcce(_0x1429d2){return typeof _0x1429d2=='string'?_0x211f19:_0x4e3b02;}return function(_0x1b5baf){return{'encrypt':function(_0x555f08,_0x2d8f72,_0x4087c6){return _0x12bcce(_0x2d8f72)['encrypt'](_0x1b5baf,_0x555f08,_0x2d8f72,_0x4087c6);},'decrypt':function(_0x43fb72,_0x54af5f,_0x12b208){var _0x498b70=_0x5588;return _0x12bcce(_0x54af5f)[_0x498b70(0x2b6)](_0x1b5baf,_0x43fb72,_0x54af5f,_0x12b208);}};};}())});_0x1b4f8d['StreamCipher']=_0x5c54f5[_0x38b04b(0x242)]({'_doFinalize':function(){var _0x11fad0=this['_process'](!0x0);return _0x11fad0;},'blockSize':0x1});var _0x73315=_0x2a0466['mode']={},_0x5bbc4e=_0x1b4f8d[_0x38b04b(0x24d)]=_0x4bd039[_0x38b04b(0x242)]({'createEncryptor':function(_0x9e72b0,_0x5d276f){var _0xa0c7a3=_0x38b04b;return this[_0xa0c7a3(0x45f)][_0xa0c7a3(0x3f6)](_0x9e72b0,_0x5d276f);},'createDecryptor':function(_0x202002,_0x28269a){var _0x404859=_0x38b04b;return this[_0x404859(0x477)][_0x404859(0x3f6)](_0x202002,_0x28269a);},'init':function(_0x5b3964,_0x1e2bd5){var _0x1974bc=_0x38b04b;this['_cipher']=_0x5b3964,this[_0x1974bc(0x52d)]=_0x1e2bd5;}}),_0x4a869b=_0x73315[_0x38b04b(0x3d1)]=(function(){var _0x10a0a6=_0x38b04b,_0x282398=_0x5bbc4e['extend']();_0x282398[_0x10a0a6(0x45f)]=_0x282398[_0x10a0a6(0x242)]({'processBlock':function(_0x3f92e9,_0xaaa565){var _0x4c6592=_0x10a0a6,_0x38fc0d=this[_0x4c6592(0x1d7)],_0x21592c=_0x38fc0d[_0x4c6592(0x30b)];_0x48604d[_0x4c6592(0x328)](this,_0x3f92e9,_0xaaa565,_0x21592c),_0x38fc0d[_0x4c6592(0x26d)](_0x3f92e9,_0xaaa565),this[_0x4c6592(0x53a)]=_0x3f92e9['slice'](_0xaaa565,_0xaaa565+_0x21592c);}}),_0x282398[_0x10a0a6(0x477)]=_0x282398[_0x10a0a6(0x242)]({'processBlock':function(_0x5ccf35,_0x25e9cf){var _0x52ed95=_0x10a0a6,_0x1c71b6=this[_0x52ed95(0x1d7)],_0x41a75b=_0x1c71b6['blockSize'],_0x880149=_0x5ccf35[_0x52ed95(0x475)](_0x25e9cf,_0x25e9cf+_0x41a75b);_0x1c71b6['decryptBlock'](_0x5ccf35,_0x25e9cf),_0x48604d[_0x52ed95(0x328)](this,_0x5ccf35,_0x25e9cf,_0x41a75b),this[_0x52ed95(0x53a)]=_0x880149;}});function _0x48604d(_0x4ea2b2,_0x43adb1,_0x2017bd){var _0x214e4d=_0x10a0a6,_0x41f4c5,_0x2edab8=this['_iv'];_0x2edab8?(_0x41f4c5=_0x2edab8,this['_iv']=_0x38b51c):_0x41f4c5=this[_0x214e4d(0x53a)];for(var _0x5a4c77=0x0;_0x5a4c77<_0x2017bd;_0x5a4c77++)_0x4ea2b2[_0x43adb1+_0x5a4c77]^=_0x41f4c5[_0x5a4c77];}return _0x282398;}()),_0x189a10=_0x2a0466[_0x38b04b(0x261)]={},_0xa9f7a4=_0x189a10[_0x38b04b(0x312)]={'pad':function(_0x21831f,_0x1d0f22){var _0x313cab=_0x38b04b;for(var _0x5cbe1f=_0x1d0f22*0x4,_0x2215a9=_0x5cbe1f-_0x21831f[_0x313cab(0x4b3)]%_0x5cbe1f,_0x4c2089=_0x2215a9<<0x18|_0x2215a9<<0x10|_0x2215a9<<0x8|_0x2215a9,_0x12c055=[],_0x74d9ae=0x0;_0x74d9ae<_0x2215a9;_0x74d9ae+=0x4)_0x12c055[_0x313cab(0x463)](_0x4c2089);var _0x1bbff0=_0x592ddb[_0x313cab(0x3f6)](_0x12c055,_0x2215a9);_0x21831f[_0x313cab(0x410)](_0x1bbff0);},'unpad':function(_0x3e4df3){var _0x512864=_0x38b04b,_0x3563ce=_0x3e4df3[_0x512864(0x50f)][_0x3e4df3[_0x512864(0x4b3)]-0x1>>>0x2]&0xff;_0x3e4df3['sigBytes']-=_0x3563ce;}};_0x1b4f8d[_0x38b04b(0x240)]=_0x5c54f5[_0x38b04b(0x242)]({'cfg':_0x5c54f5[_0x38b04b(0x417)][_0x38b04b(0x242)]({'mode':_0x4a869b,'padding':_0xa9f7a4}),'reset':function(){var _0x4d9656=_0x38b04b,_0xcf8c09;_0x5c54f5[_0x4d9656(0x310)][_0x4d9656(0x328)](this);var _0x46c29d=this[_0x4d9656(0x417)],_0x5e7596=_0x46c29d['iv'],_0x5bef3d=_0x46c29d['mode'];this[_0x4d9656(0x2ab)]==this[_0x4d9656(0x2a8)]?_0xcf8c09=_0x5bef3d[_0x4d9656(0x335)]:(_0xcf8c09=_0x5bef3d[_0x4d9656(0x46f)],this[_0x4d9656(0x2f1)]=0x1),this[_0x4d9656(0x43c)]&&this[_0x4d9656(0x43c)][_0x4d9656(0x2b9)]==_0xcf8c09?this[_0x4d9656(0x43c)][_0x4d9656(0x525)](this,_0x5e7596&&_0x5e7596['words']):(this[_0x4d9656(0x43c)]=_0xcf8c09['call'](_0x5bef3d,this,_0x5e7596&&_0x5e7596['words']),this[_0x4d9656(0x43c)][_0x4d9656(0x2b9)]=_0xcf8c09);},'_doProcessBlock':function(_0x1b51b2,_0x1e3233){var _0x6ff2c0=_0x38b04b;this[_0x6ff2c0(0x43c)]['processBlock'](_0x1b51b2,_0x1e3233);},'_doFinalize':function(){var _0x17fbfb=_0x38b04b,_0x21992e,_0x5255f5=this[_0x17fbfb(0x417)][_0x17fbfb(0x1f9)];return this[_0x17fbfb(0x2ab)]==this[_0x17fbfb(0x2a8)]?(_0x5255f5[_0x17fbfb(0x261)](this[_0x17fbfb(0x3fe)],this[_0x17fbfb(0x30b)]),_0x21992e=this[_0x17fbfb(0x45c)](!0x0)):(_0x21992e=this['_process'](!0x0),_0x5255f5[_0x17fbfb(0x321)](_0x21992e)),_0x21992e;},'blockSize':0x80/0x20});var _0x4a9952=_0x1b4f8d[_0x38b04b(0x266)]=_0x4bd039[_0x38b04b(0x242)]({'init':function(_0x1ee0b3){this['mixIn'](_0x1ee0b3);},'toString':function(_0x255fea){var _0x389e59=_0x38b04b;return(_0x255fea||this[_0x389e59(0x396)])['stringify'](this);}}),_0xbff9f1=_0x2a0466[_0x38b04b(0x531)]={},_0x43f66a=_0xbff9f1['OpenSSL']={'stringify':function(_0x3d3528){var _0x544ea1=_0x38b04b,_0xeef19a,_0x354d5b=_0x3d3528[_0x544ea1(0x230)],_0x1dcb61=_0x3d3528[_0x544ea1(0x3ab)];return _0x1dcb61?_0xeef19a=_0x592ddb[_0x544ea1(0x3f6)]([0x53616c74,0x65645f5f])[_0x544ea1(0x410)](_0x1dcb61)[_0x544ea1(0x410)](_0x354d5b):_0xeef19a=_0x354d5b,_0xeef19a[_0x544ea1(0x322)](_0x8149d4);},'parse':function(_0xdc7eae){var _0x148ff0=_0x38b04b,_0x79005,_0x235356=_0x8149d4['parse'](_0xdc7eae),_0x34eaed=_0x235356[_0x148ff0(0x50f)];return _0x34eaed[0x0]==0x53616c74&&_0x34eaed[0x1]==0x65645f5f&&(_0x79005=_0x592ddb['create'](_0x34eaed[_0x148ff0(0x475)](0x2,0x4)),_0x34eaed[_0x148ff0(0x4e5)](0x0,0x4),_0x235356[_0x148ff0(0x4b3)]-=0x10),_0x4a9952[_0x148ff0(0x3f6)]({'ciphertext':_0x235356,'salt':_0x79005});}},_0x4e3b02=_0x1b4f8d[_0x38b04b(0x1f7)]=_0x4bd039[_0x38b04b(0x242)]({'cfg':_0x4bd039[_0x38b04b(0x242)]({'format':_0x43f66a}),'encrypt':function(_0x42808f,_0x1f4559,_0x510978,_0x51c756){var _0x1ee411=_0x38b04b;_0x51c756=this[_0x1ee411(0x417)][_0x1ee411(0x242)](_0x51c756);var _0x2929f1=_0x42808f[_0x1ee411(0x335)](_0x510978,_0x51c756),_0x40a282=_0x2929f1['finalize'](_0x1f4559),_0x34d9fb=_0x2929f1[_0x1ee411(0x417)];return _0x4a9952['create']({'ciphertext':_0x40a282,'key':_0x510978,'iv':_0x34d9fb['iv'],'algorithm':_0x42808f,'mode':_0x34d9fb[_0x1ee411(0x366)],'padding':_0x34d9fb[_0x1ee411(0x1f9)],'blockSize':_0x42808f[_0x1ee411(0x30b)],'formatter':_0x51c756[_0x1ee411(0x531)]});},'decrypt':function(_0x552e43,_0x3dce98,_0x5c4f77,_0x190aa3){var _0xf5dc69=_0x38b04b;_0x190aa3=this[_0xf5dc69(0x417)]['extend'](_0x190aa3),_0x3dce98=this[_0xf5dc69(0x384)](_0x3dce98,_0x190aa3[_0xf5dc69(0x531)]);var _0x2be44a=_0x552e43[_0xf5dc69(0x46f)](_0x5c4f77,_0x190aa3)[_0xf5dc69(0x4a2)](_0x3dce98[_0xf5dc69(0x230)]);return _0x2be44a;},'_parse':function(_0xd08dbf,_0x92c56b){var _0x404da0=_0x38b04b;return typeof _0xd08dbf==_0x404da0(0x48f)?_0x92c56b[_0x404da0(0x337)](_0xd08dbf,this):_0xd08dbf;}}),_0x464471=_0x2a0466[_0x38b04b(0x537)]={},_0x209bc7=_0x464471['OpenSSL']={'execute':function(_0x3ef17b,_0x1a354d,_0x324fdd,_0x22342e,_0x2b6ef2){var _0x393e85=_0x38b04b;if(_0x22342e||(_0x22342e=_0x592ddb['random'](0x40/0x8)),_0x2b6ef2)var _0x1adf10=_0xa7c786[_0x393e85(0x3f6)]({'keySize':_0x1a354d+_0x324fdd,'hasher':_0x2b6ef2})[_0x393e85(0x3a9)](_0x3ef17b,_0x22342e);else var _0x1adf10=_0xa7c786['create']({'keySize':_0x1a354d+_0x324fdd})['compute'](_0x3ef17b,_0x22342e);var _0x786659=_0x592ddb[_0x393e85(0x3f6)](_0x1adf10[_0x393e85(0x50f)]['slice'](_0x1a354d),_0x324fdd*0x4);return _0x1adf10[_0x393e85(0x4b3)]=_0x1a354d*0x4,_0x4a9952[_0x393e85(0x3f6)]({'key':_0x1adf10,'iv':_0x786659,'salt':_0x22342e});}},_0x211f19=_0x1b4f8d[_0x38b04b(0x231)]=_0x4e3b02[_0x38b04b(0x242)]({'cfg':_0x4e3b02[_0x38b04b(0x417)][_0x38b04b(0x242)]({'kdf':_0x209bc7}),'encrypt':function(_0x2fe712,_0x38f23b,_0x1ffebe,_0x3f77af){var _0x108e32=_0x38b04b;_0x3f77af=this[_0x108e32(0x417)]['extend'](_0x3f77af);var _0x4dd047=_0x3f77af[_0x108e32(0x537)][_0x108e32(0x4bb)](_0x1ffebe,_0x2fe712[_0x108e32(0x364)],_0x2fe712[_0x108e32(0x403)],_0x3f77af['salt'],_0x3f77af['hasher']);_0x3f77af['iv']=_0x4dd047['iv'];var _0x76845b=_0x4e3b02[_0x108e32(0x298)][_0x108e32(0x328)](this,_0x2fe712,_0x38f23b,_0x4dd047[_0x108e32(0x3b0)],_0x3f77af);return _0x76845b['mixIn'](_0x4dd047),_0x76845b;},'decrypt':function(_0x587720,_0x1501cb,_0x1e1232,_0x1a70b5){var _0x1999dd=_0x38b04b;_0x1a70b5=this['cfg']['extend'](_0x1a70b5),_0x1501cb=this[_0x1999dd(0x384)](_0x1501cb,_0x1a70b5[_0x1999dd(0x531)]);var _0x228133=_0x1a70b5['kdf'][_0x1999dd(0x4bb)](_0x1e1232,_0x587720[_0x1999dd(0x364)],_0x587720['ivSize'],_0x1501cb[_0x1999dd(0x3ab)],_0x1a70b5[_0x1999dd(0x32a)]);_0x1a70b5['iv']=_0x228133['iv'];var _0x71591a=_0x4e3b02[_0x1999dd(0x2b6)][_0x1999dd(0x328)](this,_0x587720,_0x1501cb,_0x228133[_0x1999dd(0x3b0)],_0x1a70b5);return _0x71591a;}});}();}));}(Te)),Te['exports'];}var ki=fe[_0x369398(0x3ec)],it;function Hi(){var _0x5e8c83=_0x369398;return it||(it=0x1,function(_0x24d44c,_0x3c0535){(function(_0x4ec867,_0x5e2e96,_0x3d9699){var _0x215175=_0x5588;_0x24d44c[_0x215175(0x3ec)]=_0x5e2e96(Q(),yt(),Ui(),Nt(),Dt());}(ki,function(_0x74a3c4){return(function(){var _0x30bdf7=_0x5588,_0x13a303=_0x74a3c4,_0x18c998=_0x13a303[_0x30bdf7(0x412)],_0x493ddb=_0x18c998[_0x30bdf7(0x240)],_0x3e530a=_0x13a303[_0x30bdf7(0x334)],_0x359518=[],_0x71a21d=[],_0xa69c=[],_0xa8cd5e=[],_0x202272=[],_0x193578=[],_0x494191=[],_0xe108e=[],_0x472235=[],_0x57150d=[];(function(){for(var _0x3267df=[],_0x32d9b2=0x0;_0x32d9b2<0x100;_0x32d9b2++)_0x32d9b2<0x80?_0x3267df[_0x32d9b2]=_0x32d9b2<<0x1:_0x3267df[_0x32d9b2]=_0x32d9b2<<0x1^0x11b;for(var _0x2fbabb=0x0,_0x541a89=0x0,_0x32d9b2=0x0;_0x32d9b2<0x100;_0x32d9b2++){var _0x438e8f=_0x541a89^_0x541a89<<0x1^_0x541a89<<0x2^_0x541a89<<0x3^_0x541a89<<0x4;_0x438e8f=_0x438e8f>>>0x8^_0x438e8f&0xff^0x63,_0x359518[_0x2fbabb]=_0x438e8f,_0x71a21d[_0x438e8f]=_0x2fbabb;var _0x76f136=_0x3267df[_0x2fbabb],_0x1b84ed=_0x3267df[_0x76f136],_0x1fb322=_0x3267df[_0x1b84ed],_0xc67cc5=_0x3267df[_0x438e8f]*0x101^_0x438e8f*0x1010100;_0xa69c[_0x2fbabb]=_0xc67cc5<<0x18|_0xc67cc5>>>0x8,_0xa8cd5e[_0x2fbabb]=_0xc67cc5<<0x10|_0xc67cc5>>>0x10,_0x202272[_0x2fbabb]=_0xc67cc5<<0x8|_0xc67cc5>>>0x18,_0x193578[_0x2fbabb]=_0xc67cc5;var _0xc67cc5=_0x1fb322*0x1010101^_0x1b84ed*0x10001^_0x76f136*0x101^_0x2fbabb*0x1010100;_0x494191[_0x438e8f]=_0xc67cc5<<0x18|_0xc67cc5>>>0x8,_0xe108e[_0x438e8f]=_0xc67cc5<<0x10|_0xc67cc5>>>0x10,_0x472235[_0x438e8f]=_0xc67cc5<<0x8|_0xc67cc5>>>0x18,_0x57150d[_0x438e8f]=_0xc67cc5,_0x2fbabb?(_0x2fbabb=_0x76f136^_0x3267df[_0x3267df[_0x3267df[_0x1fb322^_0x76f136]]],_0x541a89^=_0x3267df[_0x3267df[_0x541a89]]):_0x2fbabb=_0x541a89=0x1;}}());var _0x4f7c9f=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x453ade=_0x3e530a['AES']=_0x493ddb['extend']({'_doReset':function(){var _0x5aaf34=_0x30bdf7,_0x50b283;if(!(this[_0x5aaf34(0x2c2)]&&this['_keyPriorReset']===this[_0x5aaf34(0x26e)])){for(var _0x30a618=this[_0x5aaf34(0x3c3)]=this[_0x5aaf34(0x26e)],_0x3152c0=_0x30a618['words'],_0x4acb01=_0x30a618[_0x5aaf34(0x4b3)]/0x4,_0x47a7df=this['_nRounds']=_0x4acb01+0x6,_0x3092cc=(_0x47a7df+0x1)*0x4,_0x323b8f=this[_0x5aaf34(0x51b)]=[],_0x59a2e1=0x0;_0x59a2e1<_0x3092cc;_0x59a2e1++)_0x59a2e1<_0x4acb01?_0x323b8f[_0x59a2e1]=_0x3152c0[_0x59a2e1]:(_0x50b283=_0x323b8f[_0x59a2e1-0x1],_0x59a2e1%_0x4acb01?_0x4acb01>0x6&&_0x59a2e1%_0x4acb01==0x4&&(_0x50b283=_0x359518[_0x50b283>>>0x18]<<0x18|_0x359518[_0x50b283>>>0x10&0xff]<<0x10|_0x359518[_0x50b283>>>0x8&0xff]<<0x8|_0x359518[_0x50b283&0xff]):(_0x50b283=_0x50b283<<0x8|_0x50b283>>>0x18,_0x50b283=_0x359518[_0x50b283>>>0x18]<<0x18|_0x359518[_0x50b283>>>0x10&0xff]<<0x10|_0x359518[_0x50b283>>>0x8&0xff]<<0x8|_0x359518[_0x50b283&0xff],_0x50b283^=_0x4f7c9f[_0x59a2e1/_0x4acb01|0x0]<<0x18),_0x323b8f[_0x59a2e1]=_0x323b8f[_0x59a2e1-_0x4acb01]^_0x50b283);for(var _0x1e3799=this[_0x5aaf34(0x214)]=[],_0x3007d7=0x0;_0x3007d7<_0x3092cc;_0x3007d7++){var _0x59a2e1=_0x3092cc-_0x3007d7;if(_0x3007d7%0x4)var _0x50b283=_0x323b8f[_0x59a2e1];else var _0x50b283=_0x323b8f[_0x59a2e1-0x4];_0x3007d7<0x4||_0x59a2e1<=0x4?_0x1e3799[_0x3007d7]=_0x50b283:_0x1e3799[_0x3007d7]=_0x494191[_0x359518[_0x50b283>>>0x18]]^_0xe108e[_0x359518[_0x50b283>>>0x10&0xff]]^_0x472235[_0x359518[_0x50b283>>>0x8&0xff]]^_0x57150d[_0x359518[_0x50b283&0xff]];}}},'encryptBlock':function(_0x15088e,_0x2fd02b){var _0x532694=_0x30bdf7;this[_0x532694(0x1e5)](_0x15088e,_0x2fd02b,this[_0x532694(0x51b)],_0xa69c,_0xa8cd5e,_0x202272,_0x193578,_0x359518);},'decryptBlock':function(_0xc03913,_0x3922d5){var _0x1c741b=_0x30bdf7,_0x499656=_0xc03913[_0x3922d5+0x1];_0xc03913[_0x3922d5+0x1]=_0xc03913[_0x3922d5+0x3],_0xc03913[_0x3922d5+0x3]=_0x499656,this[_0x1c741b(0x1e5)](_0xc03913,_0x3922d5,this[_0x1c741b(0x214)],_0x494191,_0xe108e,_0x472235,_0x57150d,_0x71a21d);var _0x499656=_0xc03913[_0x3922d5+0x1];_0xc03913[_0x3922d5+0x1]=_0xc03913[_0x3922d5+0x3],_0xc03913[_0x3922d5+0x3]=_0x499656;},'_doCryptBlock':function(_0x18211e,_0x243dfa,_0x4d3644,_0x512422,_0x26bfb3,_0x5c19bc,_0x5025a4,_0x4adff3){for(var _0x44a1a6=this['_nRounds'],_0x53297e=_0x18211e[_0x243dfa]^_0x4d3644[0x0],_0x3e235a=_0x18211e[_0x243dfa+0x1]^_0x4d3644[0x1],_0xd46872=_0x18211e[_0x243dfa+0x2]^_0x4d3644[0x2],_0x54385b=_0x18211e[_0x243dfa+0x3]^_0x4d3644[0x3],_0x28595e=0x4,_0x419f84=0x1;_0x419f84<_0x44a1a6;_0x419f84++){var _0x23d65c=_0x512422[_0x53297e>>>0x18]^_0x26bfb3[_0x3e235a>>>0x10&0xff]^_0x5c19bc[_0xd46872>>>0x8&0xff]^_0x5025a4[_0x54385b&0xff]^_0x4d3644[_0x28595e++],_0x1ca1cf=_0x512422[_0x3e235a>>>0x18]^_0x26bfb3[_0xd46872>>>0x10&0xff]^_0x5c19bc[_0x54385b>>>0x8&0xff]^_0x5025a4[_0x53297e&0xff]^_0x4d3644[_0x28595e++],_0x252deb=_0x512422[_0xd46872>>>0x18]^_0x26bfb3[_0x54385b>>>0x10&0xff]^_0x5c19bc[_0x53297e>>>0x8&0xff]^_0x5025a4[_0x3e235a&0xff]^_0x4d3644[_0x28595e++],_0x1baaa8=_0x512422[_0x54385b>>>0x18]^_0x26bfb3[_0x53297e>>>0x10&0xff]^_0x5c19bc[_0x3e235a>>>0x8&0xff]^_0x5025a4[_0xd46872&0xff]^_0x4d3644[_0x28595e++];_0x53297e=_0x23d65c,_0x3e235a=_0x1ca1cf,_0xd46872=_0x252deb,_0x54385b=_0x1baaa8;}var _0x23d65c=(_0x4adff3[_0x53297e>>>0x18]<<0x18|_0x4adff3[_0x3e235a>>>0x10&0xff]<<0x10|_0x4adff3[_0xd46872>>>0x8&0xff]<<0x8|_0x4adff3[_0x54385b&0xff])^_0x4d3644[_0x28595e++],_0x1ca1cf=(_0x4adff3[_0x3e235a>>>0x18]<<0x18|_0x4adff3[_0xd46872>>>0x10&0xff]<<0x10|_0x4adff3[_0x54385b>>>0x8&0xff]<<0x8|_0x4adff3[_0x53297e&0xff])^_0x4d3644[_0x28595e++],_0x252deb=(_0x4adff3[_0xd46872>>>0x18]<<0x18|_0x4adff3[_0x54385b>>>0x10&0xff]<<0x10|_0x4adff3[_0x53297e>>>0x8&0xff]<<0x8|_0x4adff3[_0x3e235a&0xff])^_0x4d3644[_0x28595e++],_0x1baaa8=(_0x4adff3[_0x54385b>>>0x18]<<0x18|_0x4adff3[_0x53297e>>>0x10&0xff]<<0x10|_0x4adff3[_0x3e235a>>>0x8&0xff]<<0x8|_0x4adff3[_0xd46872&0xff])^_0x4d3644[_0x28595e++];_0x18211e[_0x243dfa]=_0x23d65c,_0x18211e[_0x243dfa+0x1]=_0x1ca1cf,_0x18211e[_0x243dfa+0x2]=_0x252deb,_0x18211e[_0x243dfa+0x3]=_0x1baaa8;},'keySize':0x100/0x20});_0x13a303[_0x30bdf7(0x4be)]=_0x493ddb[_0x30bdf7(0x2fc)](_0x453ade);}()),_0x74a3c4['AES'];}));}(fe)),fe[_0x5e8c83(0x3ec)];}var $i=Hi();const ji=ve($i);var Bi=yt();const nt=ve(Bi);var be={'exports':{}},Fi=be[_0x369398(0x3ec)],rt;function Vi(){var _0x1e950c=_0x369398;return rt||(rt=0x1,function(_0x563e34,_0x28adb2){(function(_0xd99df4,_0x4da447){var _0x308e95=_0x5588;_0x563e34[_0x308e95(0x3ec)]=_0x4da447(Q());}(Fi,function(_0x5f706e){var _0x2fbc4c=_0x5588;return _0x5f706e[_0x2fbc4c(0x303)][_0x2fbc4c(0x421)];}));}(be)),be[_0x1e950c(0x3ec)];}var Wi=Vi();const Yi=ve(Wi);var Re={'exports':{}},Gi=Re[_0x369398(0x3ec)],st;function Ki(){var _0x159893=_0x369398;return st||(st=0x1,function(_0x1cfa96,_0x4e36d2){(function(_0x2779b9,_0x25c54f){var _0xaef119=_0x5588;_0x1cfa96[_0xaef119(0x3ec)]=_0x25c54f(Q());}(Gi,function(_0x754531){var _0x355939=_0x5588;return(function(){var _0x278f4a=_0x5588;if(typeof ArrayBuffer==_0x278f4a(0x4c2)){var _0x39aefd=_0x754531,_0x14e49a=_0x39aefd[_0x278f4a(0x412)],_0x503a0c=_0x14e49a[_0x278f4a(0x468)],_0x4eb22b=_0x503a0c[_0x278f4a(0x525)],_0x1fbd31=_0x503a0c[_0x278f4a(0x525)]=function(_0x38864e){var _0x3189cd=_0x278f4a;if(_0x38864e instanceof ArrayBuffer&&(_0x38864e=new Uint8Array(_0x38864e)),(_0x38864e instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x38864e instanceof Uint8ClampedArray||_0x38864e instanceof Int16Array||_0x38864e instanceof Uint16Array||_0x38864e instanceof Int32Array||_0x38864e instanceof Uint32Array||_0x38864e instanceof Float32Array||_0x38864e instanceof Float64Array)&&(_0x38864e=new Uint8Array(_0x38864e[_0x3189cd(0x484)],_0x38864e['byteOffset'],_0x38864e[_0x3189cd(0x3ad)])),_0x38864e instanceof Uint8Array){for(var _0x5ba973=_0x38864e[_0x3189cd(0x3ad)],_0x3c15fd=[],_0x1c3d31=0x0;_0x1c3d31<_0x5ba973;_0x1c3d31++)_0x3c15fd[_0x1c3d31>>>0x2]|=_0x38864e[_0x1c3d31]<<0x18-_0x1c3d31%0x4*0x8;_0x4eb22b[_0x3189cd(0x328)](this,_0x3c15fd,_0x5ba973);}else _0x4eb22b[_0x3189cd(0x2b5)](this,arguments);};_0x1fbd31[_0x278f4a(0x315)]=_0x503a0c;}}()),_0x754531['lib'][_0x355939(0x468)];}));}(Re)),Re[_0x159893(0x3ec)];}var qi=Ki();const zi=ve(qi);var Oe={'exports':{}},Ji=Oe[_0x369398(0x3ec)],ot;function Xi(){return ot||(ot=0x1,function(_0x290b02,_0x1f4a6d){(function(_0x2fdc5a,_0x1623f1,_0x3ff8e3){_0x290b02['exports']=_0x1623f1(Q(),Dt());}(Ji,function(_0x24ca7d){var _0xd32168=_0x5588;return _0x24ca7d[_0xd32168(0x261)][_0xd32168(0x317)]={'pad':function(){},'unpad':function(){}},_0x24ca7d['pad'][_0xd32168(0x317)];}));}(Oe)),Oe['exports'];}var Zi=Xi();const Qi=ve(Zi);function en(_0x54af12,_0x3b3bcd){var _0x2a3ffd=_0x369398;const _0x5ac2d9=_0x3b3bcd-_0x54af12[_0x2a3ffd(0x48b)]%_0x3b3bcd,_0x17dd87=String[_0x2a3ffd(0x238)](_0x5ac2d9)['repeat'](_0x5ac2d9);return _0x54af12+_0x17dd87;}function tn(_0x314dcc,_0x8f5f93){var _0x17cea8=_0x369398;const _0x1525f0=zi[_0x17cea8(0x47c)](0x10),_0x5be8b3=en(_0x314dcc,0x10),_0x30f538=ji[_0x17cea8(0x298)](Yi[_0x17cea8(0x337)](_0x5be8b3),nt[_0x17cea8(0x337)](_0x8f5f93),{'iv':_0x1525f0,'padding':Qi});return _0x1525f0[_0x17cea8(0x410)](_0x30f538[_0x17cea8(0x230)])[_0x17cea8(0x322)](nt);}function nn(){var _0xb460f4=_0x369398;const _0x314af3=Lt['getGlobalObject']()[_0xb460f4(0x245)];if(_0x314af3){const _0x23bb57={'time':Math['floor'](Date['now']()/0x3e8),'domain':location[_0xb460f4(0x1f3)]};return tn(JSON[_0xb460f4(0x1e7)](_0x23bb57),_0x314af3);}}var rn=Object[_0x369398(0x3b4)],sn=(_0x4e9449,_0x3e0e9d,_0x22c4be,_0x5879ff)=>{var _0x550437=_0x369398;for(var _0x1a7108=_0x5879ff>0x1?void 0x0:_0x5879ff?rn(_0x3e0e9d,_0x22c4be):_0x3e0e9d,_0x8ade34=_0x4e9449[_0x550437(0x48b)]-0x1,_0x50122a;_0x8ade34>=0x0;_0x8ade34--)(_0x50122a=_0x4e9449[_0x8ade34])&&(_0x1a7108=_0x50122a(_0x1a7108)||_0x1a7108);return _0x1a7108;},on=(_0x2855b7,_0x28b7b6)=>(_0x35fb77,_0x447836)=>_0x28b7b6(_0x35fb77,_0x447836,_0x2855b7);let Ne=class{constructor(_0x714276){var _0x564efe=_0x369398;this[_0x564efe(0x229)]=_0x714276,this[_0x564efe(0x2e6)]();}[_0x369398(0x2e6)](){var _0x11c3fa=_0x369398;this['_httpService'][_0x11c3fa(0x500)]({'interceptor':(_0x2bc22a,_0x272ca4)=>{var _0x407d44=_0x11c3fa;const _0x3e9a96=_0x2bc22a[_0x407d44(0x219)],_0xbef90=nn();return _0xbef90&&_0x3e9a96[_0x407d44(0x48a)](_0x407d44(0x54c),_0xbef90),_0x272ca4(_0x2bc22a);}});}};Ne=sn([on(0x0,a[_0x369398(0x3f0)](K[_0x369398(0x50e)]))],Ne);var an=Object[_0x369398(0x3b4)],cn=(_0x226432,_0x1222d1,_0x496304,_0x107368)=>{for(var _0x280404=_0x107368>0x1?void 0x0:_0x107368?an(_0x1222d1,_0x496304):_0x1222d1,_0x4d3907=_0x226432['length']-0x1,_0x58f0e0;_0x4d3907>=0x0;_0x4d3907--)(_0x58f0e0=_0x226432[_0x4d3907])&&(_0x280404=_0x58f0e0(_0x280404)||_0x280404);return _0x280404;},Le=(_0x2d332f,_0x39aa77)=>(_0x1959f6,_0x424b53)=>_0x39aa77(_0x1959f6,_0x424b53,_0x2d332f);exports['DataLoaderService']=class extends a['RxDisposable']{constructor(_0x5322b3,_0x553779,_0x4b8f70){var _0x27dd2a=_0x369398;super(),A(this,'_unitInfo$',new $[(_0x27dd2a(0x4fc))](null)),A(this,'unitInfo$',this[_0x27dd2a(0x3f4)][_0x27dd2a(0x381)]()),(this[_0x27dd2a(0x2c6)]=_0x5322b3,this[_0x27dd2a(0x4cf)]=_0x553779,this['_localCacheService']=_0x4b8f70);}async['loadUnitOfRevision'](_0x5d9117,_0x38499e,_0x22510a){var _0x103d02=_0x369398;this[_0x103d02(0x3f4)][_0x103d02(0x25c)]({'unitId':_0x5d9117,'type':_0x38499e});let _0x28304b=null;switch(_0x38499e){case J['UNIVER_SHEET']:{_0x28304b=await this['_snapshotService'][_0x103d02(0x2a9)](_0x5d9117,_0x22510a);break;}case J[_0x103d02(0x510)]:{_0x28304b=await this['_snapshotService'][_0x103d02(0x23c)](_0x5d9117,_0x22510a);break;}default:{this[_0x103d02(0x2c6)][_0x103d02(0x54a)](_0x103d02(0x4e9),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x28304b;}async[_0x369398(0x3ee)](_0x1ddbbb,_0x4ee7f1,_0xe28730){var _0x29d829=_0x369398,_0xbdbe9d;this['_unitInfo$']['next']({'unitId':_0x1ddbbb,'type':_0x4ee7f1,'subUnitId':_0xe28730});let _0x3dbafc=0x0;const _0x6809dc=await((_0xbdbe9d=this[_0x29d829(0x4ef)])==null?void 0x0:_0xbdbe9d[_0x29d829(0x4a4)](_0x1ddbbb));return _0x6809dc&&(_0x6809dc[_0x29d829(0x306)]||_0x6809dc[_0x29d829(0x22c)]['length']!==0x0)&&(_0x3dbafc=_0x6809dc['rev']),_0x3dbafc===0x0&&this['_logService'][_0x29d829(0x20a)](_0x29d829(0x4e9),_0x29d829(0x232)),this['loadUnitOfRevision'](_0x1ddbbb,_0x4ee7f1,_0x3dbafc);}},exports[_0x369398(0x3d2)]=cn([Le(0x0,a[_0x369398(0x426)]),Le(0x1,a['Inject'](p['SnapshotService'])),Le(0x2,a[_0x369398(0x28e)](q))],exports[_0x369398(0x3d2)]);var hn=Object[_0x369398(0x3b4)],_n=(_0x2d834a,_0x5cf249,_0x1e4d03,_0xe32b4f)=>{var _0x49eb04=_0x369398;for(var _0x12c4e4=_0xe32b4f>0x1?void 0x0:_0xe32b4f?hn(_0x5cf249,_0x1e4d03):_0x5cf249,_0x57efc1=_0x2d834a[_0x49eb04(0x48b)]-0x1,_0x33eb21;_0x57efc1>=0x0;_0x57efc1--)(_0x33eb21=_0x2d834a[_0x57efc1])&&(_0x12c4e4=_0x33eb21(_0x12c4e4)||_0x12c4e4);return _0x12c4e4;},we=(_0x188398,_0x293038)=>(_0x416eae,_0x58e7e6)=>_0x293038(_0x416eae,_0x58e7e6,_0x188398);const ln=['image/png',_0x369398(0x1fd),_0x369398(0x526),_0x369398(0x459),'image/bmp'],un=0x5*0x400*0x400,dn='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',vn=_0x369398(0x33d),Sn=_0x369398(0x532),fn=_0x369398(0x4fd);exports[_0x369398(0x2f5)]=class{constructor(_0x1897b1,_0x10cac7,_0x88ccb1){var _0x25de37=_0x369398;A(this,'_waitCount',0x0),A(this,_0x25de37(0x31d),new $[(_0x25de37(0x1fb))]()),A(this,_0x25de37(0x2f2),this['_change$']),A(this,_0x25de37(0x336),new Map()),(this[_0x25de37(0x229)]=_0x1897b1,this[_0x25de37(0x225)]=_0x10cac7,this[_0x25de37(0x3ae)]=_0x88ccb1);}[_0x369398(0x49c)](_0x32352a){var _0x510f1e=_0x369398;this['_waitCount']=_0x32352a,this[_0x510f1e(0x31d)]['next'](_0x32352a);}[_0x369398(0x357)](_0x53371c,_0xc699e0){var _0x25ccbf=_0x369398;if(_0xc699e0===z['ImageSourceType']['BASE64']){const _0x53e17c=new Image();return _0x53e17c[_0x25ccbf(0x44b)]=_0x53371c,_0x53e17c;}return this['_imageSourceCache']['get'](_0x53371c);}[_0x369398(0x394)](_0x229dad,_0x456929,_0x552038){var _0x3511e4=_0x369398;_0x456929===z[_0x3511e4(0x3d7)]['BASE64']||_0x552038==null||this[_0x3511e4(0x336)][_0x3511e4(0x48a)](_0x229dad,_0x552038);}async[_0x369398(0x201)](_0x205da0){var _0x33d3ab=_0x369398;try{const _0x375d82=this[_0x33d3ab(0x21d)](this[_0x33d3ab(0x342)](),''+_0x205da0),_0x30f753=(await this[_0x33d3ab(0x229)][_0x33d3ab(0x383)](_0x375d82))[_0x33d3ab(0x4bc)];if(_0x30f753[_0x33d3ab(0x54a)]&&_0x30f753[_0x33d3ab(0x54a)]['code']===gt['OK']){const _0x439a3f=new URL(_0x30f753[_0x33d3ab(0x411)],this['_getDownloadEndpointURL']())[_0x33d3ab(0x322)]();return Promise['resolve'](_0x439a3f);}return Promise[_0x33d3ab(0x290)](_0x30f753[_0x33d3ab(0x54a)]);}catch(_0x3679a1){return Promise[_0x33d3ab(0x290)](_0x3679a1);}}async['saveImage'](_0x526df6){var _0x36e219=_0x369398;let _0x2017a7='';if(!ln[_0x36e219(0x4dd)](_0x526df6[_0x36e219(0x253)]))return this[_0x36e219(0x2d2)](),Promise[_0x36e219(0x290)](new Error(z['ImageUploadStatusType'][_0x36e219(0x49e)]));if(_0x526df6[_0x36e219(0x541)]>un)return this[_0x36e219(0x2d2)](),Promise['reject'](new Error(z[_0x36e219(0x3f2)][_0x36e219(0x3e2)]));try{const _0x17a1ea=new FormData();_0x17a1ea[_0x36e219(0x523)]('file',_0x526df6);const _0x38e81b=this['_univerInstanceService'][_0x36e219(0x2e8)](),_0x1a73ec=_0x38e81b==null?void 0x0:_0x38e81b['getUnitId']();if(!_0x1a73ec)throw new Error('unitId\x20is\x20not\x20found');const _0x1d4f0c=this[_0x36e219(0x1e0)]()+_0x36e219(0x385)+_0x526df6[_0x36e219(0x541)][_0x36e219(0x322)]()+_0x36e219(0x2fe)+Et['UnitEmbedded']+'&assign='+encodeURIComponent(_0x1a73ec),_0x584005={'body':_0x17a1ea},_0x17c7b5=(await this[_0x36e219(0x229)]['post'](_0x1d4f0c,_0x584005))[_0x36e219(0x4bc)];if(typeof _0x17c7b5['FileId']!='string')return this[_0x36e219(0x2d2)](),Promise[_0x36e219(0x290)](new Error(z[_0x36e219(0x3f2)][_0x36e219(0x2bd)]));_0x2017a7=_0x17c7b5[_0x36e219(0x3d5)];}catch{return this[_0x36e219(0x2d2)](),Promise[_0x36e219(0x290)](new Error(z['ImageUploadStatusType']['ERROR_IMAGE']));}return new Promise((_0xd34e9a,_0x4c9b4b)=>{var _0x1b34b2=_0x36e219;const _0x29ef57=new FileReader();_0x29ef57[_0x1b34b2(0x24c)](_0x526df6),_0x29ef57[_0x1b34b2(0x273)]=_0x40286f=>{var _0x2c5d13=_0x1b34b2,_0x4e9873;const _0x3495de=(_0x4e9873=_0x40286f[_0x2c5d13(0x42f)])==null?void 0x0:_0x4e9873[_0x2c5d13(0x3b3)];if(_0x3495de==null){this[_0x2c5d13(0x2d2)](),_0x4c9b4b(new Error(z['ImageUploadStatusType'][_0x2c5d13(0x2bd)]));return;}const _0x305e7b=a[_0x2c5d13(0x382)]['generateRandomId'](0x6);_0xd34e9a({'imageId':_0x305e7b,'imageSourceType':z[_0x2c5d13(0x3d7)][_0x2c5d13(0x3b1)],'source':_0x2017a7,'base64Cache':_0x3495de,'status':z[_0x2c5d13(0x3f2)][_0x2c5d13(0x53d)]}),this[_0x2c5d13(0x2d2)]();};});}[_0x369398(0x1e0)](){var _0x41f2bb=_0x369398,_0x4f31ab,_0x196882;const _0x165c8e=this[_0x41f2bb(0x225)][_0x41f2bb(0x3db)](dn),_0x4b094c=this[_0x41f2bb(0x225)]['getConfig'](G);return(_0x196882=(_0x4f31ab=_0x4b094c==null?void 0x0:_0x4b094c[_0x41f2bb(0x2af)])!=null?_0x4f31ab:_0x165c8e)!=null?_0x196882:vn;}[_0x369398(0x342)](){var _0x456615=_0x369398,_0x44c588,_0x4f0771;const _0x14857f=this['_configService'][_0x456615(0x3db)](Sn),_0x328100=this[_0x456615(0x225)][_0x456615(0x3db)](G);return(_0x4f0771=(_0x44c588=_0x328100==null?void 0x0:_0x328100[_0x456615(0x389)])!=null?_0x44c588:_0x14857f)!=null?_0x4f0771:fn;}[_0x369398(0x237)](){var _0x33e18e=_0x369398,_0x272fba;const _0x2f63ea=this['_configService'][_0x33e18e(0x3db)](G);return(_0x272fba=_0x2f63ea==null?void 0x0:_0x2f63ea[_0x33e18e(0x431)])!=null?_0x272fba:location[_0x33e18e(0x4e2)];}[_0x369398(0x21d)](_0x3ca210,_0xb46ca2){var _0x45266b=_0x369398;return _0x3ca210[_0x45266b(0x210)](_0x45266b(0x347),_0xb46ca2);}[_0x369398(0x2d2)](){var _0x334a47=_0x369398;this[_0x334a47(0x4d5)]-=0x1,this[_0x334a47(0x31d)][_0x334a47(0x25c)](this[_0x334a47(0x4d5)]);}},exports[_0x369398(0x2f5)]=_n([we(0x0,a[_0x369398(0x3f0)](K[_0x369398(0x50e)])),we(0x1,a[_0x369398(0x302)]),we(0x2,a[_0x369398(0x3f0)](a[_0x369398(0x4d3)]))],exports[_0x369398(0x2f5)]);var In=Object[_0x369398(0x3b4)],pn=(_0x524b55,_0x73a131,_0x2cb517,_0x27b779)=>{var _0x1776db=_0x369398;for(var _0x32a762=_0x27b779>0x1?void 0x0:_0x27b779?In(_0x73a131,_0x2cb517):_0x73a131,_0x3abd33=_0x524b55[_0x1776db(0x48b)]-0x1,_0x4eb0b8;_0x3abd33>=0x0;_0x3abd33--)(_0x4eb0b8=_0x524b55[_0x3abd33])&&(_0x32a762=_0x4eb0b8(_0x32a762)||_0x32a762);return _0x32a762;},at=(_0x1d25fc,_0x53042c)=>(_0x44ac47,_0x3bf105)=>_0x53042c(_0x44ac47,_0x3bf105,_0x1d25fc);const gn=_0x369398(0x3fb);exports[_0x369398(0x518)]=class{constructor(_0x17ce9d,_0x344567){var _0x5a8011=_0x369398;this[_0x5a8011(0x225)]=_0x17ce9d,this[_0x5a8011(0x2ec)]=_0x344567;}[_0x369398(0x251)](){var _0x4c2a59=_0x369398,_0x1e1e9d,_0x461833;const _0x43cf6e=this[_0x4c2a59(0x225)][_0x4c2a59(0x3db)](Ve),_0x144e55=this['_configService'][_0x4c2a59(0x3db)](G);return(_0x461833=(_0x1e1e9d=_0x144e55==null?void 0x0:_0x144e55[_0x4c2a59(0x203)])!=null?_0x1e1e9d:_0x43cf6e)!=null?_0x461833:gn;}async[_0x369398(0x4b8)](_0x4ae2ea){var _0x3bb8c5=_0x369398;const _0x3b0e80=this[_0x3bb8c5(0x251)]()+_0x3bb8c5(0x54e);return{'list':[{'title':_0x3bb8c5(0x2d1),'mentions':(await this[_0x3bb8c5(0x2ec)]['get'](_0x3b0e80,{'params':{'objectID':_0x4ae2ea[_0x3bb8c5(0x205)],'unitID':_0x4ae2ea[_0x3bb8c5(0x205)]}}))[_0x3bb8c5(0x4bc)][_0x3bb8c5(0x3e9)]['map'](_0x37d010=>({'objectId':_0x37d010['id'],'name':_0x37d010[_0x3bb8c5(0x3fa)][_0x3bb8c5(0x220)],'metadata':{'icon':_0x37d010[_0x3bb8c5(0x3fa)][_0x3bb8c5(0x367)]},'label':_0x37d010[_0x3bb8c5(0x3fa)][_0x3bb8c5(0x220)],'objectType':a[_0x3bb8c5(0x1f0)]['PERSON']})),'metadata':{},'type':a[_0x3bb8c5(0x1f0)][_0x3bb8c5(0x3a5)]}]};}},exports['MentionIoHttpService']=pn([at(0x0,a[_0x369398(0x3f0)](a[_0x369398(0x302)])),at(0x1,a['Inject'](K['HTTPService']))],exports[_0x369398(0x518)]);var En=Object[_0x369398(0x3b4)],mn=(_0x340509,_0x573a14,_0x3d3aec,_0x30d521)=>{var _0x1c66c8=_0x369398;for(var _0x458c64=_0x30d521>0x1?void 0x0:_0x30d521?En(_0x573a14,_0x3d3aec):_0x573a14,_0x1a4325=_0x340509[_0x1c66c8(0x48b)]-0x1,_0x3c3b53;_0x1a4325>=0x0;_0x1a4325--)(_0x3c3b53=_0x340509[_0x1a4325])&&(_0x458c64=_0x3c3b53(_0x458c64)||_0x458c64);return _0x458c64;},le=(_0x1ad493,_0x1d5b05)=>(_0xb23722,_0x1d497d)=>_0x1d5b05(_0xb23722,_0x1d497d,_0x1ad493);let De=class extends a[_0x369398(0x308)]{constructor(_0x3e3bbe,_0x26e4b3,_0x2276ff,_0x59f3a3,_0x3b4810){var _0x229f2b=_0x369398;super(),this[_0x229f2b(0x3ba)]=_0x3e3bbe,this[_0x229f2b(0x3ae)]=_0x26e4b3,this[_0x229f2b(0x456)]=_0x2276ff,this[_0x229f2b(0x2e4)]=_0x59f3a3,this[_0x229f2b(0x2d4)]=_0x3b4810,this['_initUnitPermissionChange'](),this[_0x229f2b(0x4a8)]();}['_initCloseConn'](){var _0x330bf9=_0x369398;const _0x210c89=async _0x4c44d0=>{var _0x5efa2b=_0x5588;(await this[_0x5efa2b(0x2e4)][_0x5efa2b(0x442)](_0x4c44d0))[_0x5efa2b(0x3a7)][_0x5efa2b(0x27d)](V[_0x5efa2b(0x443)](_0x4dc074=>_0x4dc074[_0x5efa2b(0x26b)]===p[_0x5efa2b(0x473)][_0x5efa2b(0x287)]),V[_0x5efa2b(0x3b5)](this[_0x5efa2b(0x391)]))[_0x5efa2b(0x34d)](_0x390f2b=>{var _0x1ab5f4=_0x5efa2b;const _0x27855f=_0x390f2b,{reason:_0x537f12}=_0x27855f[_0x1ab5f4(0x53b)];this[_0x1ab5f4(0x2d4)]['emitEvent']({'id':Z[_0x1ab5f4(0x356)],'data':_0x537f12}),this[_0x1ab5f4(0x456)]['updatePermissionPoint'](new X[(_0x1ab5f4(0x41e))](_0x4c44d0)['id'],!0x1),this[_0x1ab5f4(0x2e4)][_0x1ab5f4(0x346)](_0x4c44d0);});};$[_0x330bf9(0x26a)](this[_0x330bf9(0x3ae)][_0x330bf9(0x36b)](a[_0x330bf9(0x1f5)][_0x330bf9(0x4d8)]),this[_0x330bf9(0x3ae)][_0x330bf9(0x36b)](a[_0x330bf9(0x1f5)][_0x330bf9(0x510)]))[_0x330bf9(0x27d)](V[_0x330bf9(0x3ce)](_0x3a59ee=>_0x3a59ee['getUnitId']()),V[_0x330bf9(0x443)](_0x167009=>!a['isInternalEditorID'](_0x167009)),V[_0x330bf9(0x3b5)](this['dispose$']))[_0x330bf9(0x34d)](_0x4873c0=>{_0x210c89(_0x4873c0);});}[_0x369398(0x276)](){var _0x410b45=_0x369398;const _0x1461fa=async _0x7cc24=>{var _0x3cd176=_0x5588;const _0x177650=await this['_collaborationSessionService']['requireSession'](_0x7cc24),_0x18460d=this['_injector']['get'](X[_0x3cd176(0x40c)]);_0x177650['event$'][_0x3cd176(0x27d)](V[_0x3cd176(0x443)](_0x20b73c=>_0x20b73c[_0x3cd176(0x26b)]===p[_0x3cd176(0x473)]['UPDATE_PERMISSION_OBJ']),V[_0x3cd176(0x3b5)](this[_0x3cd176(0x391)]))[_0x3cd176(0x34d)](_0x3ca353=>{var _0x17bcb1=_0x3cd176;const _0x271ad3=_0x3ca353,{objectId:_0x12d76e}=_0x271ad3[_0x17bcb1(0x53b)];_0x12d76e===_0x7cc24?_0x18460d[_0x17bcb1(0x35d)](_0x7cc24):_0x18460d[_0x17bcb1(0x4fe)](_0x7cc24,_0x12d76e);});};$[_0x410b45(0x26a)](this[_0x410b45(0x3ae)][_0x410b45(0x36b)](a[_0x410b45(0x1f5)]['UNIVER_SHEET']))[_0x410b45(0x27d)](V[_0x410b45(0x3ce)](_0x16879d=>_0x16879d['getUnitId']()),V['filter'](_0x14dc8b=>!a[_0x410b45(0x2ac)](_0x14dc8b)),V['takeUntil'](this[_0x410b45(0x391)]))[_0x410b45(0x34d)](_0x30bbf3=>{_0x1461fa(_0x30bbf3);});}};De=mn([le(0x0,a[_0x369398(0x3f0)](a[_0x369398(0x3c1)])),le(0x1,a[_0x369398(0x4d3)]),le(0x2,a[_0x369398(0x2bc)]),le(0x3,a[_0x369398(0x3f0)](exports[_0x369398(0x4a9)])),le(0x4,a[_0x369398(0x3f0)](ee))],De);var Cn=Object[_0x369398(0x3b4)],Tn=(_0xc80047,_0x5ad918,_0x2ffea3,_0x4da07e)=>{var _0x3aa54d=_0x369398;for(var _0x4248ab=_0x4da07e>0x1?void 0x0:_0x4da07e?Cn(_0x5ad918,_0x2ffea3):_0x5ad918,_0x43b0df=_0xc80047[_0x3aa54d(0x48b)]-0x1,_0x426205;_0x43b0df>=0x0;_0x43b0df--)(_0x426205=_0xc80047[_0x43b0df])&&(_0x4248ab=_0x426205(_0x4248ab)||_0x4248ab);return _0x4248ab;},ct=(_0x1977c7,_0xc72d86)=>(_0x50d820,_0x1aa719)=>_0xc72d86(_0x50d820,_0x1aa719,_0x1977c7);exports[_0x369398(0x420)]=class{constructor(_0x30924c,_0x4db275){var _0x1b54bc=_0x369398;this[_0x1b54bc(0x225)]=_0x30924c,this['_httpService']=_0x4db275;}async['getUnitOnRev'](_0x4b8ef2,_0x4de6f4){var _0x250ffb=_0x369398,_0x31cb6b;const {unitID:_0x1fe8c1,type:_0x233eee,revision:_0x597380=0x0}=_0x4de6f4,_0x5c2bd3=this[_0x250ffb(0x4d6)]()+'/'+_0x233eee+'/unit/'+_0x1fe8c1+_0x250ffb(0x1d5)+_0x597380,_0x3ed5d6=(await this[_0x250ffb(0x229)][_0x250ffb(0x383)](_0x5c2bd3))[_0x250ffb(0x4bc)],_0x16adbd=(_0x31cb6b=_0x3ed5d6[_0x250ffb(0x313)])==null?void 0x0:_0x31cb6b[_0x250ffb(0x1df)];if(_0x16adbd){const _0x19131b=_0x16adbd==null?void 0x0:_0x16adbd[_0x250ffb(0x433)],_0x1090ee=p[_0x250ffb(0x271)][_0x250ffb(0x3b9)](p[_0x250ffb(0x511)](_0x19131b));_0x16adbd[_0x250ffb(0x433)]=_0x1090ee,Object['entries'](_0x16adbd['sheets'])[_0x250ffb(0x3dc)](([,_0x2c3b8d])=>{var _0x5cf96d=_0x250ffb;const _0x3c5741=_0x2c3b8d['originalMeta'],_0x3aeb78=p[_0x5cf96d(0x271)][_0x5cf96d(0x3b9)](p['b64DecodeUnicode'](_0x3c5741));_0x2c3b8d[_0x5cf96d(0x433)]=_0x3aeb78;});}return _0x3ed5d6;}async['getSheetBlock'](_0x5006b1,_0x14cf20){var _0x2e3ab5=_0x369398;const {unitID:_0x2dc785,type:_0x3192b3,blockID:_0x36e523}=_0x14cf20,_0x1f301a=this[_0x2e3ab5(0x2dc)]()+'/'+_0x3192b3+_0x2e3ab5(0x250)+_0x2dc785+_0x2e3ab5(0x4e1)+_0x36e523;return(await this[_0x2e3ab5(0x229)][_0x2e3ab5(0x383)](_0x1f301a))['body'];}async['getDeserializedSheetBlock'](_0x593305,_0xffbbee){var _0x13b0b0=_0x369398;const {unitID:_0x6f7f41,type:_0x53b3ce,blockID:_0x4da4e2}=_0xffbbee,_0x25f8f0=this[_0x13b0b0(0x2dc)]()+_0x13b0b0(0x4e1)+_0x53b3ce+_0x13b0b0(0x250)+_0x6f7f41+_0x13b0b0(0x4e1)+_0x4da4e2;return(await this[_0x13b0b0(0x229)][_0x13b0b0(0x383)](_0x25f8f0))[_0x13b0b0(0x4bc)];}async['fetchMissingChangesets'](_0x328d05,_0x1f9c8f){var _0x353b48=_0x369398;const {unitID:_0x27ad68,type:_0x5c547a,from:_0x1e3dbe,to:_0x28402d}=_0x1f9c8f,_0x19bfa3=this[_0x353b48(0x2dc)]()+'/'+_0x5c547a+_0x353b48(0x250)+_0x27ad68+_0x353b48(0x485)+_0x1e3dbe+_0x353b48(0x42b)+_0x28402d;return(await this[_0x353b48(0x229)][_0x353b48(0x383)](_0x19bfa3))['body'];}[_0x369398(0x4d6)](){var _0x5780ec=_0x369398,_0x1cb3ec;return(_0x1cb3ec=this[_0x5780ec(0x225)][_0x5780ec(0x3db)](lt))!=null?_0x1cb3ec:this[_0x5780ec(0x2dc)]();}[_0x369398(0x2dc)](){var _0x19a900=_0x369398,_0x8ecac6,_0x417ba8;const _0x27b7c5=this[_0x19a900(0x225)]['getConfig'](_t),_0x602082=this[_0x19a900(0x225)]['getConfig'](G);return(_0x417ba8=(_0x8ecac6=_0x602082==null?void 0x0:_0x602082['snapshotServerUrl'])!=null?_0x8ecac6:_0x27b7c5)!=null?_0x417ba8:wt;}async[_0x369398(0x387)](_0xbc1acd,_0x529b9b){var _0x3f91fc=_0x369398;const _0x10eec8=_0x3f91fc(0x3e0)+_0x529b9b[_0x3f91fc(0x253)]+_0x3f91fc(0x250)+_0x529b9b[_0x3f91fc(0x3fc)]+_0x3f91fc(0x1d6);return(await this[_0x3f91fc(0x229)]['get'](_0x10eec8,{'params':{'resourceId':JSON[_0x3f91fc(0x1e7)](_0x529b9b[_0x3f91fc(0x218)])}}))[_0x3f91fc(0x4bc)];}[_0x369398(0x3da)](){var _0x44e05e=_0x369398;throw new Error(_0x44e05e(0x295));}['updateSnapshot'](){var _0x43e85a=_0x369398;throw new Error(_0x43e85a(0x295));}[_0x369398(0x3be)](){var _0x544740=_0x369398;throw new Error(_0x544740(0x295));}[_0x369398(0x392)](){var _0x378a19=_0x369398;throw new Error(_0x378a19(0x295));}[_0x369398(0x363)](){var _0x1d823e=_0x369398;throw new Error(_0x1d823e(0x295));}[_0x369398(0x257)](){var _0x403243=_0x369398;throw new Error(_0x403243(0x295));}},exports['SnapshotServerOverHTTPService']=Tn([ct(0x0,a['IConfigService']),ct(0x1,a[_0x369398(0x3f0)](K[_0x369398(0x50e)]))],exports[_0x369398(0x420)]);var bn=Object[_0x369398(0x3b4)],Rn=(_0x439321,_0x56db1b,_0x4dec29,_0x571254)=>{for(var _0x59ad3a=_0x571254>0x1?void 0x0:_0x571254?bn(_0x56db1b,_0x4dec29):_0x56db1b,_0x5e316c=_0x439321['length']-0x1,_0x213f69;_0x5e316c>=0x0;_0x5e316c--)(_0x213f69=_0x439321[_0x5e316c])&&(_0x59ad3a=_0x213f69(_0x59ad3a)||_0x59ad3a);return _0x59ad3a;},ue=(_0x45f82e,_0xb67998)=>(_0x3e6757,_0x2f451a)=>_0xb67998(_0x3e6757,_0x2f451a,_0x45f82e);exports[_0x369398(0x32f)]=class extends a[_0x369398(0x318)]{constructor(_0x4ab3f6,_0x1c1cbc,_0x593568,_0x1685b4,_0xde8ac9){var _0x50a021=_0x369398;super(_0x4ab3f6,_0x1c1cbc,_0x593568),this[_0x50a021(0x2cd)]=_0x1685b4,this[_0x50a021(0x2c6)]=_0xde8ac9;}['transformUndoRedo'](_0xd327e2,_0x31ca9e){var _0x272a93=_0x369398;const _0x3c9d07=this['_getUndoStack'](_0xd327e2);if(_0x3c9d07)try{const _0xe0dcfe=this[_0x272a93(0x3f8)](_0x3c9d07,_0x31ca9e);this['_substituteUndoStack'](_0xd327e2,_0xe0dcfe);}catch(_0x1ec465){this[_0x272a93(0x2c6)][_0x272a93(0x54a)](_0x272a93(0x36e),_0x1ec465),this[_0x272a93(0x372)](_0xd327e2);}const _0x9e9a1c=this[_0x272a93(0x52e)](_0xd327e2);if(_0x9e9a1c)try{const _0x42ae59=this['_transformStack'](_0x9e9a1c,_0x31ca9e);this['_substituteRedoStack'](_0xd327e2,_0x42ae59);}catch(_0x3e6441){this[_0x272a93(0x2c6)][_0x272a93(0x54a)](_0x3e6441),this['_clearRedo'](_0xd327e2);}}['_clearUndo'](_0x17a418){var _0x3fcdec=_0x369398;const _0x6659e9=this['_getUndoStack'](_0x17a418);_0x6659e9&&(_0x6659e9[_0x3fcdec(0x48b)]=0x0,this[_0x3fcdec(0x1fa)]());}[_0x369398(0x358)](_0x2eaff3){var _0x22bbc5=_0x369398;const _0x9dcfb7=this[_0x22bbc5(0x52e)](_0x2eaff3);_0x9dcfb7&&(_0x9dcfb7['length']=0x0,this[_0x22bbc5(0x1fa)]());}[_0x369398(0x4d0)](_0x1620d4,_0x43a3f3){var _0x4da001=_0x369398;this[_0x4da001(0x530)][_0x4da001(0x48a)](_0x1620d4,_0x43a3f3),this[_0x4da001(0x1fa)]();}[_0x369398(0x520)](_0x3a6290,_0x1463cc){var _0x578fce=_0x369398;this[_0x578fce(0x2a4)][_0x578fce(0x48a)](_0x3a6290,_0x1463cc),this[_0x578fce(0x1fa)]();}[_0x369398(0x3f8)](_0x2450d5,_0x4c5e8d){var _0x1367f8=_0x369398;const _0x78dea0=[];let _0x278d62=_0x4c5e8d,_0x3ab5e6=_0x4c5e8d;for(let _0x2c310c=_0x2450d5[_0x1367f8(0x48b)]-0x1;_0x2c310c>=0x0;_0x2c310c--){const {unitID:_0x90dff0,undoMutations:_0x1fb65e,redoMutations:_0x3751c2}=_0x2450d5[_0x2c310c],_0x1508e1=this['_transformService'][_0x1367f8(0x3c2)](_0x278d62,_0x1fb65e),_0x4be7c4=this[_0x1367f8(0x2cd)][_0x1367f8(0x3c2)](_0x3ab5e6,_0x3751c2);if(p[_0x1367f8(0x419)](_0x1508e1)||p[_0x1367f8(0x419)](_0x4be7c4)){this[_0x1367f8(0x2c6)][_0x1367f8(0x54a)]('[CollaborationUndoRedoService]',_0x1367f8(0x3ca),_0x1508e1,_0x4be7c4);break;}_0x278d62=_0x1508e1['c1Prime'],_0x3ab5e6=_0x4be7c4[_0x1367f8(0x3a0)],_0x78dea0[_0x1367f8(0x463)]({'unitID':_0x90dff0,'undoMutations':_0x1508e1['m2Prime'],'redoMutations':_0x4be7c4[_0x1367f8(0x416)]});}return _0x78dea0['reverse']();}},exports['CollaborativeUndoRedoService']=Rn([ue(0x0,a[_0x369398(0x4d3)]),ue(0x1,a[_0x369398(0x4aa)]),ue(0x2,a[_0x369398(0x4a5)]),ue(0x3,p['ITransformService']),ue(0x4,a['ILogService'])],exports[_0x369398(0x32f)]);var On=Object['defineProperty'],yn=Object[_0x369398(0x3b4)],Nn=(_0x63d9f1,_0x262db6,_0x237fca)=>_0x262db6 in _0x63d9f1?On(_0x63d9f1,_0x262db6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x237fca}):_0x63d9f1[_0x262db6]=_0x237fca,Dn=(_0x4e6ea0,_0x160ab9,_0x279980,_0x81e6e1)=>{var _0x8fa6e2=_0x369398;for(var _0x5b8806=_0x81e6e1>0x1?void 0x0:_0x81e6e1?yn(_0x160ab9,_0x279980):_0x160ab9,_0x5642a5=_0x4e6ea0[_0x8fa6e2(0x48b)]-0x1,_0x100cf5;_0x5642a5>=0x0;_0x5642a5--)(_0x100cf5=_0x4e6ea0[_0x5642a5])&&(_0x5b8806=_0x100cf5(_0x5b8806)||_0x5b8806);return _0x5b8806;},Me=(_0x360443,_0x1bf70c)=>(_0x3717f3,_0x35dfe3)=>_0x1bf70c(_0x3717f3,_0x35dfe3,_0x360443),Un=(_0x54438a,_0x1eb469,_0x6591bd)=>Nn(_0x54438a,_0x1eb469+'',_0x6591bd);const An=_0x369398(0x3d9);exports['UniverCollaborationClientPlugin']=class extends a['Plugin']{constructor(_0x39bd6b,_0x2c1869,_0x382623,_0x479a52){var _0x543fe9=_0x369398;super(),A(this,_0x543fe9(0x46d)),(this[_0x543fe9(0x2c6)]=_0x2c1869,this['_injector']=_0x382623,this['_configService']=_0x479a52);const {..._0x22468b}=a[_0x543fe9(0x26a)]({},Kt,_0x39bd6b);if(!_0x22468b[_0x543fe9(0x435)])throw new Error(_0x543fe9(0x3df));this['_config']=_0x22468b,this[_0x543fe9(0x225)][_0x543fe9(0x4f9)](G,_0x22468b);}['onStarting'](){this['_registerDependencies'](),this['_initDependencies']();}[_0x369398(0x350)](){var _0x4d9d95=_0x369398,_0x83ae77,_0x5a878f;this[_0x4d9d95(0x3ba)][_0x4d9d95(0x1dd)](a[_0x4d9d95(0x28d)])&&this[_0x4d9d95(0x2c6)]['error'](_0x4d9d95(0x2f6),_0x4d9d95(0x2b7));const _0x55de29=a[_0x4d9d95(0x344)]([[a[_0x4d9d95(0x28d)],{'useClass':exports[_0x4d9d95(0x32f)]}],[exports[_0x4d9d95(0x4a9)]],[exports['MemberService']],[exports['SheetTransformSelectionsService']],[ye],[Ne],[$e],[De],[ee],[exports[_0x4d9d95(0x3d2)]],[He,{'useClass':this['_config'][_0x4d9d95(0x435)]}],[p[_0x4d9d95(0x482)],{'useClass':exports['SnapshotServerOverHTTPService']}],[a[_0x4d9d95(0x339)],{'useClass':exports['AuthzIoHttpService']}],[z[_0x4d9d95(0x30e)],{'useClass':exports[_0x4d9d95(0x2f5)]}],[a['IMentionIOService'],{'useClass':exports[_0x4d9d95(0x518)]}],[exports[_0x4d9d95(0x460)]],[xe]],(_0x83ae77=this[_0x4d9d95(0x46d)])==null?void 0x0:_0x83ae77[_0x4d9d95(0x323)]);if(!((_0x5a878f=this[_0x4d9d95(0x46d)])!=null&&_0x5a878f[_0x4d9d95(0x352)])){const _0x3b68f0=_0x55de29[_0x4d9d95(0x3a1)](([_0x1e282f])=>_0x1e282f===de);_0x3b68f0!==-0x1&&_0x55de29[_0x4d9d95(0x4e5)](_0x3b68f0,0x1);}a[_0x4d9d95(0x258)](this[_0x4d9d95(0x3ba)],_0x55de29);}[_0x369398(0x236)](){var _0x55e2fa=_0x369398,_0xf8e61,_0x233f46,_0x22cac8;this['_injector'][_0x55e2fa(0x383)](K[_0x55e2fa(0x50e)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':K[_0x55e2fa(0x405)]({'maxParallel':0x6})}),(_0xf8e61=this['_config'])!=null&&_0xf8e61['enableOfflineEditing']||(_0x233f46=this[_0x55e2fa(0x3ba)][_0x55e2fa(0x383)](q,a[_0x55e2fa(0x447)]['OPTIONAL']))==null||_0x233f46[_0x55e2fa(0x2ed)](),(_0x22cac8=this[_0x55e2fa(0x46d)])!=null&&_0x22cac8[_0x55e2fa(0x4cd)]&&a[_0x55e2fa(0x2e1)](this[_0x55e2fa(0x3ba)],[[ye]]),a[_0x55e2fa(0x2e1)](this[_0x55e2fa(0x3ba)],[[Ne],[exports['CollaborationController']],[De]]);}},Un(exports[_0x369398(0x52c)],_0x369398(0x44e),An),exports[_0x369398(0x52c)]=Dn([a[_0x369398(0x348)](p['UniverCollaborationPlugin'],K['UniverNetworkPlugin']),Me(0x1,a[_0x369398(0x426)]),Me(0x2,a[_0x369398(0x3f0)](a[_0x369398(0x3c1)])),Me(0x3,a[_0x369398(0x302)])],exports[_0x369398(0x52c)]),exports['AUTHZ_URL_KEY']=Ve,exports[_0x369398(0x38e)]=G,exports[_0x369398(0x4f2)]=It,exports[_0x369398(0x40f)]=ut,exports[_0x369398(0x543)]=Be,exports[_0x369398(0x45b)]=Z,exports[_0x369398(0x2c4)]=ee,exports[_0x369398(0x3ea)]=$e,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=dt,exports[_0x369398(0x30d)]=Gt,exports[_0x369398(0x504)]=kt,exports[_0x369398(0x3c0)]=vt,exports[_0x369398(0x31b)]=ke,exports[_0x369398(0x4f6)]=He,exports[_0x369398(0x324)]=q,exports[_0x369398(0x524)]=mt,exports['ISingleActiveUnitService']=de,exports[_0x369398(0x326)]=Ft,exports[_0x369398(0x1d3)]=Bt,exports[_0x369398(0x27a)]=pt,exports[_0x369398(0x4b5)]=Yt,exports[_0x369398(0x32b)]=ft,exports[_0x369398(0x221)]=Mt,exports[_0x369398(0x2c5)]=_t,exports[_0x369398(0x29e)]=lt,exports[_0x369398(0x53e)]=re,exports[_0x369398(0x272)]=je,exports[_0x369398(0x409)]=Ct,exports[_0x369398(0x469)]=oi,exports[_0x369398(0x483)]=Tt;