@univerjs-pro/collaboration-client 0.10.6 → 0.10.7-nightly.202509090319

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.
Files changed (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +11 -11
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- var _0x3719d7=_0x3e70;(function(_0x43b06a,_0xe1f524){var _0x389131=_0x3e70,_0x5e27a9=_0x43b06a();while(!![]){try{var _0x459db6=parseInt(_0x389131(0x2be))/0x1+-parseInt(_0x389131(0x300))/0x2*(-parseInt(_0x389131(0x2f4))/0x3)+parseInt(_0x389131(0x1e9))/0x4+-parseInt(_0x389131(0x452))/0x5+-parseInt(_0x389131(0x34a))/0x6+-parseInt(_0x389131(0x2cd))/0x7*(-parseInt(_0x389131(0x1fc))/0x8)+-parseInt(_0x389131(0x437))/0x9*(-parseInt(_0x389131(0x47a))/0xa);if(_0x459db6===_0xe1f524)break;else _0x5e27a9['push'](_0x5e27a9['shift']());}catch(_0x573617){_0x5e27a9['push'](_0x5e27a9['shift']());}}}(_0x345c,0x78ff2));var yi=Object[_0x3719d7(0x323)],Ni=(_0x2b9b3b,_0x51b990,_0x53b207)=>_0x51b990 in _0x2b9b3b?yi(_0x2b9b3b,_0x51b990,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x53b207}):_0x2b9b3b[_0x51b990]=_0x53b207,N=(_0x56e71c,_0x510d58,_0x53e474)=>Ni(_0x56e71c,typeof _0x510d58!='symbol'?_0x510d58+'':_0x510d58,_0x53e474);import{CollaborationEvent as _0x1454f,ITransformService as _0x53796d,isTransformMutationsWithChangesetSuccess as _0x22b450,mapDocumentTypeToUniverType as _0x23c0c5,RevisionService as _0x1882ad,isTransformChangesetsSuccess as _0x212dc7,CompressMutationService as _0x3bed2b,parseProtocolChangeset as _0xf37b2f,uuidv4 as _0x34342e,ISnapshotServerService as _0x364d64,parseChangesetToProtocol as _0x3c14dd,SnapshotService as _0xba1272,textEncoder as _0x5a9644,b64DecodeUnicode as _0x7bb237,isTransformMutationsWithChangesetFailure as _0x3e3cfd,UniverCollaborationPlugin as _0x20245b}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x3b570d,Inject as _0x9a05e2,UserManagerService as _0x1c9002,Disposable as _0x3c4e94,UniverInstanceType as _0x14a7db,ILogService as _0x116fbc,IConfigService as _0x3f20e3,Optional as _0x16e192,RxDisposable as _0x103aff,createIdentifier as _0x428e84,Injector as _0x220a42,Tools as _0xefb524,Rectangle as _0xe2622d,ICommandService as _0x5491ec,JSONX as _0x3503b4,CommandType as _0x1f5e95,IUndoRedoService as _0x36e271,IPermissionService as _0x1fa5cb,LocaleService as _0xfa6b6f,sequenceExecute as _0x288403,toDisposable as _0x1d27ff,DisposableCollection as _0x380f49,Workbook as _0x52dadb,generateRandomId as _0x3c6a17,MentionType as _0x9eb8b8,isInternalEditorID as _0x125852,LocalUndoRedoService as _0x39dd25,IContextService as _0x127030,DependentOn as _0x388995,Plugin as _0xe33549,merge as _0x3ff756,mergeOverrideWithDependencies as _0x5e76f3,IAuthzIoService as _0x3f2941,IMentionIOService as _0x2fa4d8,registerDependencies as _0x3bb1d1,Quantity as _0x4a4281,touchDependencies as _0x82f3a3}from'@univerjs/core';import{RichTextEditingMutation as _0x56aa1d}from'@univerjs/docs';import{SheetsSelectionsService as _0x27cf59,SetSelectionsOperation as _0x39f493,InsertSheetMutation as _0x5e97a1,EmptyMutation as _0x295ef4,WorkbookEditablePermission as _0x52443e,SheetPermissionInitController as _0x367d49}from'@univerjs/sheets';import{Subject as _0x3ca5c9,merge as _0x2f8997,of as _0x224c4f,BehaviorSubject as _0x261aac,takeUntil as _0x4176c5,ReplaySubject as _0x2f4850,take as _0x17a050,map as _0x2fd62e,shareReplay as _0x2a36ea,firstValueFrom as _0x4d9741,concatMap as _0x182fc3}from'rxjs';import{ITelemetryService as _0x57e83d}from'@univerjs/telemetry';import{map as _0x5a13d1,take as _0x3d8f27,filter as _0x1e33d7,delay as _0x1e3ec4,takeUntil as _0x35375c}from'rxjs/operators';import{HTTPService as _0x4ae839,ISocketService as _0x201287,MergeInterceptorFactory as _0x24f580,HTTPRequest as _0x3792af,UniverNetworkPlugin as _0xe72fc3,ThresholdInterceptorFactory as _0x3fddbe}from'@univerjs/network';function _0x345c(){var _0xaebb7b=['_members$','entries','dispose$','AES','_acknowledgedAwaitingChangeset','_iKey','filter','FileId','name','/unit/','getTypeOfUnitDisposed$','_onRemoteRejected','revision','sheets','\x20to\x20','snapshot','objectType','_resendWithTimeout','HEARTBEAT','IDLE','_process','_transformUndoredo','_startTelemetryCollaborationNewChangeset','_doFinalize','send','keySize','_state','Decryptor','RECV','UNIVER_PROJECT','lib','getImage','HmacMD5','_replaceFileID','getRoom','file','onCommentUpdate','socket$','_minBufferSize','Utf8','registerHTTPInterceptor','encode','disposeWithMe','[DataLoaderService]','_removeRoom','sendChangesetTimeout','objectActions','_key','csRejEvent','loginUrlKey','_collaborationTimeoutTimer','Base64','UPDATE_CURSOR','/-/object/list','ivSize','_transformService','/rev/','leaveEvent','resend','CBC','originalMeta','_oKey','downloadEndpointUrl','_clearRetryConnectingTimer','HEARTBEAT_TIMEOUT','_onConflict','rev','_sheetTransformSelectionsService','_httpService','_onOffline','override','_revisionService','YUUMI_ALL_TABLES_IS_INVALID','data','SHOULD_CLOSE_CONN','_timeoutTimer','UNIVER_COLLABORATION_CLIENT_PLUGIN','YUUMI_SUBSCRIPTION_NOT_FOUND','closeSession','deleteCollaborator','ERROR_EXCEED_SIZE','range','HELLO','SOCKET_FAILED_RETRY','get','_undoStacks','state','awaitingChangeset','_DEC_XFORM_MODE','_permissionService','_startCollaboration','WECHAT_HAS_BEEN_BOUND','[OfflineState]:\x20received\x20rejection.','_sessions','createDecryptor','UNIVER_SLIDE','msCrypto','mixIn','createInstance','_replayCachedMutations','YUUMI_AI_RUN_FAILED','UNISCRIPT_RUN','LIVESHARE_TERMINATE','_logService','reduce','_redoStacks','map','CLOSE_ROOM','/collaborator','ONLINE','interceptor','_stopTelemetryCollaborationNewChangeset','_awaitingChangeset','reverse','unpad','_disableEditing','permissionRejEvent','getMember','updateCollaborator','HMAC','LIVESHARE_FETCH_OPERATIONS','updateSnapshot','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_createHandler','CHANGESET_REVISION_CONFILICT','commentUpdateEvent','_clearHeartbeatTimer','_iv','_getSendChangesetTimeout','APPLY_REVISION_CONFILICT','createSocket','iterations','getRandomValues','add','message$','emitEvent','/block/','COMPLETION_FINISHED','sessionStatus','YUUMI_CONNECTOR_URL_NOT_FOUND','Failed\x20to\x20update\x20permission\x20point','EvpKDF','_unlockTransition','LICENSE_MAX_UNITS_EXCEEDED','INVALID_ARGUMENT','has','_onUserJoin','_changesetSessionId','StreamCipher','FETCH_MISS','[OfflineState]:\x20received\x20changeset.','fromCollab','patch','LIVESHARE_REQUEST_HOST','INVITE_CODE_ALREADY_BOUND','_transformIMECache','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','AWAITING_WITH_PENDING','_tryEnsureSocket','LICENSE_IMPORT_SIZE_EXCEEDED','connection\x20error','_prevBlock','JOINING','NOT_COLLAB','min','&assign=','subscribe','UNIVER_DOC','_queuedRemoteChangesets','_commandService','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','CHANGESET_SHOULD_RETRY','WordArray','slice','mode','_keyPriorReset','PERMISSION_DENIED','_telemetryInfo','append','_showConflictNotification','fromCharCode','_getDownloadEndpointURL','splice','getSheetBlock','default','sigBytes','COMMENT_UPDATE','MUTATION','MOBILE_HAS_BEEN_BOUND','getResourcesRequest','hostname','_getAPIPrefixPath','JOIN_ROOM_NOT_EXISTS','ALREADY_EXISTS','dispose','memberID','concat','createEncryptor','_status$','synced','_roomCreated$','EMAIL_VERIFY_CODE_MISMATCH','_handlerCallback','_parse','entityInit$','parse','session.room-permission-denied','getTypeOfUnitAdded$','_onMessage','Univer','__creator','setWaitCount','then','ERROR_IMAGE','getDeserializedSheetBlock','?url=','2781117ekelJe','next','selections','unitID','x-univer-host','disableLocalCache','SNAPSHOT_INVALID_SNAPSHOT','_remoteChangesetQueue','_waitCount','stopTime','_isPermissionRej','updatePermissionObjEvent','UnitEmbedded','every','SUCCUSS','CHANGESET_REJ','_decreaseWaiting','POST','floor','_entities','result','readyForCollab','FETCH_MISSING','location','clone','algo','socket\x20open.','4379800qhjCtR','status','open$','fetchThroughInterceptors','state$','USER_NOT_INVITED_CODE','_pendingMutations','INVITE_CODE_HAS_BEEN_UES','_localeService','reqId','_candidateSocket','_scheduleCollaborationTimeoutTimer','isArray','MD5','_doCreateSocket','error$','[CollaborationUndoRedoService]','length','capture','_telemetryService','toggleOnline','charAt','getSnapshotAPIPath','INVITE_CODE_REQUIRED','UPDATE_PERMISSION_OBJ','_doCryptBlock','pauseCollaboration','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','/universer-api/authz','APPLY_DUPLICATED','_changesetReqId','USERS_ENTER','collaborators','forEach','collaboration_new_changeset','[SyncedState]:\x20received\x20rejection.','body','COMPRESS_MUTATION_SEND','init','_type','10SObaXS','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_data','update','getWorkbookSelections','EMAIL_HAS_BEEN_BOUND','awaiting_with_pending','_onFetchMissResult','collaboratorID','/universer-api/snapshot/','_univerInstanceService','getCurrentUser','_socketReady','byteLength','UUID','appendMutation','size','encodeURIComponent','_onRemoteRetry','MSG_FOR_ERROR','addHandlerCallback','_invKeySchedule','_onCombEvent','fetchMiss','_event$','error','LEAVE','_getSignURL','_onConnectionOpen','_onConnectionFailed','_onRemoteChangeset','url','commentUpdate$','\x20in\x20_schedule.','charCodeAt','socketService','_reverseMap','/universer-api/file/{fileID}/sign-url','enc','withCredentials','byteOffset','addImageSourceCache','onTransformSelections','getUnitType','extend','compute','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','/universer-api/stream/file/upload','_socketMessageSubscription','mutations','_updateState','OFFLINE','_transformSelections','UNRECOGNIZED','CHANGESET_ACK','method','collabSubmitChangesetUrl','session.join-failed','requestParams','roles','[CollaborationSessionService]','_compressMutationService','_userManagerService','UNKNOWN_CODE','indexOf','_unitInfo$','fetch_missing','toggleOffline','abs','removeMember','LOGIN_FAILED','offline','_updateLocalCache','set','Cipher','Undefined','[CollaborationSession]','?size=','_sendingTimer','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_getCtorByUniverType','asObservable','localeService','_executeRemoteChangeset','PSEUDO_FETCH_MISSING_RESULT','_getLoginPath','_shouldReportTelemetry','delete','hasher','sessionStatus$','waitForRoom$','fetching\x20missing\x20changesets\x20from\x20','clear','_syncEditingCollabCursor','COMPRESS_MUTATION_APPLY','c1Prime','_toggleOnline','_tryReconnect','getCollabEntity','uploadFileServerUrl','batchAllowed','join','PENDING','118548eFDugK','_throwTelemetryCollaborationNewChangeset','UNIVER_SHEET','_unitID','/universer-api/comb','_eventService','onStarting','_injector','_initRequestHeader','_updateStatus','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_cipher','_hasher','_createSocket','onRemoteChangeset','now','NEW_CHANGESETS','_hash','PasswordBasedCipher','24856dyTlRb','loadUnitOfRevision','transformMutationsWithChangeset','PERSON','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','PERMISSION_REJ','_socketService','_clearUndo','_getUndoStack','onRemoteAck','onMissedChangesetFetched','formatter','BASE64','_getAPIPrefix','getCurrentSelections','_mode','_onJoinRoomEvent','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','eventID','_sender','status$','joinEvent','image/jpeg','onRemoteRej','_sessionStatus$','onTransformIME','code','saveChangeset','textRanges','&source=','collaboration-client.config','Could\x20not\x20dynamically\x20require\x20\x22','_commentUpdate$','loadUnit','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_incrementRevisionNumber','change$','_transformRemoteChangesetByIMECache','_localCacheService','onlyLocal','randomBytes','FAIL','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','changesets','routeKey','debug','/object/','kdf','CONFLICT','OpenSSL','_createHelper','getInterceptPoints','/allowed','auth.needGotoLoginAlert','_transitionLocked','onTransformRemoteChangesetByStateCache','DEFAULT_FILE_NAME','_handler','HEARTBEAT_INTERVAL','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','loadDoc','startTime','Hex','_keySchedule','initWorkbookPermissionChange','getMemberID','localCacheService','substr','session.room-not-exists','onSyncEditingCollabCursor','avatar','_init','[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.','actions','type','onSendChangeset','transformSelections','HttpExport','_transformStack','execute','Hasher','_registerDependencies','UnitSnapshot','_onUserLeave','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','awaiting','CONNECTOR_DATA_TOO_LARGE','target','UNKNOWN_CMD','call','reject','_substituteRedoStack','executeCommand','LICENSE_DISTRO_REJECTED','newCsEvent','readInt32LE','setShowComponents','LICENSE_EXPORT_SIZE_EXCEEDED','NOT_FOUND','random','_getRedoStack','JOIN','INGEST','toString','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','conflict','event$','objects','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_state$','_sendHeartbeat','post','enableAuthServer','format','_networkConditionService','ceil','onMissingChangesets','objectID','_nDataBytes','_change$','headers','UNAUTHENTICATED','close','getConfig','m2Prime','_retryCount','_ENC_XFORM_MODE','SUBMIT_CHANGESET','_memberService','words','_append','_HTTPService','_createInitialStateImpl','getUnitStatus$','JOIN_ROOM_FULL','_submitChangeset','/object','pipe','pending','_listenToNetworkCondition','onRemoteRetry','_socket$','$super','_members','[UniverCollaborationClientPlugin]','max','subject','params','_getCurrentRevision','{fileID}','_transformRemoteChangesetByStateCache','clamp','_rescheduleHeartbeat','SUBMIT_CHANGESET_TIMEOUT','JOIN_ROOM_FAILED','getValue','_entityInit$','_commentService','_schedule','OTHER_CLIENT_EDITING','INVALID_INVITE_CODE','create','_snapshotService','Error\x20on\x20receiving\x20event','session','saveImage','_singleActiveUnitService','/resources','UserProfileImg','_collaborationPaused','BlockCipherMode','UNIVER_UNKNOWN','userID','updateCursorEvent','fetchMissingChangesets','_joinRoom','_collaborationSessionService','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','updatePermissionPoint','_map','liveShareNewHost','[OfflineState]:\x20received\x20acknowledgement.','_configService','key','getTime','list','_sendHeartbeatTimer','collaMsg','sid','session.room-cnt-exceeds','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','authzUrl','blockSize','742238wvkwYT','_clearScheduledTask','ciphertext','_scheduleCompleteTimestamp','startsWith','[FetchMissState]','_toggleOffline','NO_OTHER_CLIENTS_EDITING','cmd','_transformStateCache','stringify','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_exhaustRemoteChangesetQueue','members$','onTransformState','175YEhJkX','TOO_MANY_REQUESTS','/role','getOwnPropertyDescriptor','onTransformRemoteChangesetByIMECache','getCurrentRevOfUnit','apply','image/png','_nRounds','exports','_onRemoteACK','unit-cache-','_xformMode','href','/-/object/-/batch_allowed','hasOwnProperty','People','_waitForHeartbeatResponse','crypto','reset','GLOBAL_ROOMS_CNT_EXCEEDS','APPLY_NON_SEQUENTIAL_REVISION','title','_onLocalMutation','getAllMembers','onStateChange','createCollaborator','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','deepClone','[CollaborationEntity]','HttpImport','pad','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_applyRemoteChangeset','_resendTimer','_checkMissing','loadSheet','action','_snapshotServerService','140925dSoxmV','updateMember','requireSession','&to=','ERROR_IMAGE_TYPE','_socket','refreshPermission','ws://127.0.0.1:8000/universer-api/comb/connect','copyFileMeta','_clearTimeoutTimer','liveShareOperation','_imageSourceCache','12Zbndlc','listRoles','SNAPSHOT_HAS_BEEN_REMOVED','transformChangesets','APPLY_REJECT','_collabSessionService','onCommandExecuted','updateOfflineData','retryConnectingInterval','_roomMembers','SOCKET_FAILED','SHA1','_createHmacHelper','roomInfos','_lockTransition','put','_instanceService','_doProcessBlock','origin','USERS_LEAVE','c2Prime','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','infoRsp','getUnit','NoPadding','complete','getFocusedUnit','_initDependencies','univer-pro.collaboration-client-socket-service','unsubscribe','isPermissionRej','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','salt','_getUploadFileURL','_initUnitPermissionChange','defineProperty','image/gif','_createInitialState','_initCloseConn','catch','transformUndoRedo','close$','_collaborationUIEventService','pluginName','RETRY_CONNECTING_MAX_COUNT','INTERNAL_ERROR','_doReset','_emitMembers','_retryConnectingTimer','encrypt','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_config','UNDEFINED','collaboration-client.local-cache-service','YUUMI_UNABLE_LOAD_URL','cfg','putCollaborators','Base','_resendTimeout','setCurrentUser','from','baseRev','push','Encryptor','includes','getImageSourceCache','prototype','[CollaborationSessionService]:\x20socket\x20error','_substituteUndoStack','PY_RUNTIME_SCRIPT_ERROR','_initMergeInterceptor','string','OTHER_CLIENTS_EDITING','JOIN_ROOM_PERMISSION_DENIED','413106eDgjmM','YUUMI_ASYNCIO_CANCELLED','unknown','/universer-api/snapshot','readAsDataURL','_clearRedo','LIVESHARE_NEW_HOST','unitInfo$','univer-pro.collaboration-client.single-active-unit-service','_onRecvEvent','getUnitId','HmacSHA1','function','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','finalize','_fetchMissChangesets','SerializableCipher','session.room-full','unitId','BufferedBlockAlgorithm','decrypt'];_0x345c=function(){return _0xaebb7b;};return _0x345c();}import{ImageSourceType as _0x2297e6,ImageUploadStatusType as _0x5d8351,IImageIoService as _0x377a8c}from'@univerjs/drawing';import{getGlobalObject as _0x1bb761}from'@univerjs-pro/license';const fs=_0x3719d7(0x34d),vs='SNAPSHOT_URL_KEY',ps=0x7d0,ms=_0x3719d7(0x2fb),Ir='/universer-api/user/session-ticket',gs=_0x3719d7(0x236),Ss=0x7530,di=_0x3719d7(0x39f),fi=0x4e20,Es=0x4e20,Is=_0x3719d7(0x32c),Ts=0x3,Tr='LOCAL_CACHE_INTERVAL',Cr=0x3e8,Cs=_0x3719d7(0x1ed),Rs='/universer-api/oidc/authpage',Rr='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Or='/universer-api/uniscript';var vi=(_0x462650=>(_0x462650[_0x462650[_0x3719d7(0x334)]=0x0]='UNDEFINED',_0x462650[_0x462650['OK']=0x1]='OK',_0x462650[_0x462650[_0x3719d7(0x32d)]=0x2]='INTERNAL_ERROR',_0x462650[_0x462650['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x462650[_0x462650[_0x3719d7(0x25e)]=0x4]=_0x3719d7(0x25e),_0x462650[_0x462650['UNAUTHENTICATED']=0x5]=_0x3719d7(0x275),_0x462650[_0x462650[_0x3719d7(0x420)]=0x6]='ALREADY_EXISTS',_0x462650[_0x462650['INVALID_ARGUMENT']=0x7]=_0x3719d7(0x3ef),_0x462650[_0x462650['TOO_MANY_REQUESTS']=0x8]=_0x3719d7(0x2ce),_0x462650[_0x462650[_0x3719d7(0x3e8)]=0x9]='COMPLETION_FINISHED',_0x462650[_0x462650[_0x3719d7(0x1c8)]=0xa]='LOGIN_FAILED',_0x462650[_0x462650['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x462650[_0x462650[_0x3719d7(0x268)]=0xc]=_0x3719d7(0x268),_0x462650[_0x462650['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x3719d7(0x428),_0x462650[_0x462650[_0x3719d7(0x315)]=0xe]=_0x3719d7(0x315),_0x462650[_0x462650[_0x3719d7(0x3db)]=0x1389]=_0x3719d7(0x3db),_0x462650[_0x462650[_0x3719d7(0x43d)]=0x1771]=_0x3719d7(0x43d),_0x462650[_0x462650[_0x3719d7(0x302)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x462650[_0x462650['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x462650[_0x462650['APPLY_REJECT']=0x1b59]=_0x3719d7(0x304),_0x462650[_0x462650[_0x3719d7(0x2e2)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x462650[_0x462650['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x3719d7(0x3e0),_0x462650[_0x462650['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x462650[_0x462650[_0x3719d7(0x46f)]=0x1b5d]=_0x3719d7(0x46f),_0x462650[_0x462650[_0x3719d7(0x252)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x462650[_0x462650[_0x3719d7(0x3ee)]=0x2329]=_0x3719d7(0x3ee),_0x462650[_0x462650['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x462650[_0x462650[_0x3719d7(0x3fe)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x462650[_0x462650[_0x3719d7(0x25d)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x462650[_0x462650[_0x3719d7(0x259)]=0x232d]=_0x3719d7(0x259),_0x462650[_0x462650[_0x3719d7(0x336)]=0x2711]=_0x3719d7(0x336),_0x462650[_0x462650['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x462650[_0x462650['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x462650[_0x462650['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x3719d7(0x3ac),_0x462650[_0x462650['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x462650[_0x462650[_0x3719d7(0x34b)]=0x271b]=_0x3719d7(0x34b),_0x462650[_0x462650[_0x3719d7(0x47b)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x462650[_0x462650[_0x3719d7(0x3a7)]=0x271d]=_0x3719d7(0x3a7),_0x462650[_0x462650[_0x3719d7(0x332)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x462650[_0x462650[_0x3719d7(0x3c3)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x462650[_0x462650['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x3719d7(0x3ea),_0x462650[_0x462650[_0x3719d7(0x345)]=0x2af9]=_0x3719d7(0x345),_0x462650[_0x462650['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x3719d7(0x459),_0x462650[_0x462650['INVALID_INVITE_CODE']=0x2ee2]=_0x3719d7(0x29c),_0x462650[_0x462650[_0x3719d7(0x469)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x462650[_0x462650[_0x3719d7(0x457)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x462650[_0x462650[_0x3719d7(0x3f9)]=0x2ee5]=_0x3719d7(0x3f9),_0x462650[_0x462650[_0x3719d7(0x3ba)]=0x32c9]=_0x3719d7(0x3ba),_0x462650[_0x462650['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x3719d7(0x41b),_0x462650[_0x462650[_0x3719d7(0x47f)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x462650[_0x462650[_0x3719d7(0x1b7)]=-0x1]=_0x3719d7(0x1b7),_0x462650))(vi||{}),Z=(_0x4128cb=>(_0x4128cb[_0x4128cb['UNIVER_UNKNOWN']=0x0]=_0x3719d7(0x2a7),_0x4128cb[_0x4128cb[_0x3719d7(0x406)]=0x1]=_0x3719d7(0x406),_0x4128cb[_0x4128cb[_0x3719d7(0x1eb)]=0x2]=_0x3719d7(0x1eb),_0x4128cb[_0x4128cb[_0x3719d7(0x3be)]=0x3]='UNIVER_SLIDE',_0x4128cb[_0x4128cb[_0x3719d7(0x37c)]=0x4]=_0x3719d7(0x37c),_0x4128cb[_0x4128cb[_0x3719d7(0x1b7)]=-0x1]=_0x3719d7(0x1b7),_0x4128cb))(Z||{}),F=(_0x3e1709=>(_0x3e1709[_0x3e1709[_0x3719d7(0x254)]=0x0]='UNKNOWN_CMD',_0x3e1709[_0x3e1709[_0x3719d7(0x3b1)]=0x1]=_0x3719d7(0x3b1),_0x3e1709[_0x3e1709['JOIN']=0x2]='JOIN',_0x3e1709[_0x3e1709[_0x3719d7(0x19c)]=0x3]=_0x3719d7(0x19c),_0x3e1709[_0x3e1709[_0x3719d7(0x262)]=0x4]='INGEST',_0x3e1709[_0x3e1709[_0x3719d7(0x371)]=0x5]=_0x3719d7(0x371),_0x3e1709[_0x3e1709[_0x3719d7(0x37b)]=0x6]=_0x3719d7(0x37b),_0x3e1709[_0x3e1709['UNRECOGNIZED']=-0x1]=_0x3719d7(0x1b7),_0x3e1709))(F||{}),pe=(_0x2f7e8a=>(_0x2f7e8a[_0x2f7e8a[_0x3719d7(0x1c1)]=0x0]=_0x3719d7(0x1c1),_0x2f7e8a[_0x2f7e8a['OK']=0x1]='OK',_0x2f7e8a[_0x2f7e8a[_0x3719d7(0x225)]=0x2]='FAIL',_0x2f7e8a[_0x2f7e8a[_0x3719d7(0x282)]=0x3e9]=_0x3719d7(0x282),_0x2f7e8a[_0x2f7e8a[_0x3719d7(0x41f)]=0x3ea]=_0x3719d7(0x41f),_0x2f7e8a[_0x2f7e8a['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x3719d7(0x349),_0x2f7e8a[_0x2f7e8a[_0x3719d7(0x2e1)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x2f7e8a[_0x2f7e8a[_0x3719d7(0x1b7)]=-0x1]='UNRECOGNIZED',_0x2f7e8a))(pe||{}),pi=(_0x361b1c=>(_0x361b1c[_0x361b1c[_0x3719d7(0x1cd)]=0x0]='Undefined',_0x361b1c[_0x361b1c[_0x3719d7(0x2eb)]=0x1]=_0x3719d7(0x2eb),_0x361b1c[_0x361b1c[_0x3719d7(0x249)]=0x2]=_0x3719d7(0x249),_0x361b1c[_0x361b1c[_0x3719d7(0x443)]=0x3]='UnitEmbedded',_0x361b1c[_0x361b1c[_0x3719d7(0x24e)]=0x4]=_0x3719d7(0x24e),_0x361b1c[_0x361b1c['UserProfileImg']=0x5]=_0x3719d7(0x2a4),_0x361b1c[_0x361b1c[_0x3719d7(0x1b7)]=-0x1]=_0x3719d7(0x1b7),_0x361b1c))(pi||{});const Os=_0x3719d7(0x474);function bs(_0x5ef569){var _0x210881=_0x3719d7;return JSON[_0x210881(0x2c8)](_0x5ef569)['length'];}var ne=(_0x570339=>(_0x570339['OTHER_CLIENT_EDITING']=_0x3719d7(0x29b),_0x570339[_0x3719d7(0x40f)]=_0x3719d7(0x40f),_0x570339['CONFLICT']=_0x3719d7(0x22c),_0x570339[_0x3719d7(0x3ca)]='CLOSE_ROOM',_0x570339['JOIN_ROOM_FAILED']=_0x3719d7(0x296),_0x570339[_0x3719d7(0x3b2)]=_0x3719d7(0x3b2),_0x570339[_0x3719d7(0x30a)]=_0x3719d7(0x30a),_0x570339[_0x3719d7(0x295)]=_0x3719d7(0x295),_0x570339))(ne||{});class ve{constructor(){var _0x393596=_0x3719d7;N(this,'_event$',new _0x3ca5c9()),N(this,_0x393596(0x266),this[_0x393596(0x19a)]['asObservable']());}[_0x3719d7(0x3e6)](_0x1487c4){var _0x438118=_0x3719d7;this['_event$'][_0x438118(0x438)](_0x1487c4);}}class mi{constructor(){var _0x270269=_0x3719d7;N(this,_0x270269(0x21c),new _0x3ca5c9()),N(this,_0x270269(0x1a2),this['_commentUpdate$'][_0x270269(0x1d3)]());}['onCommentUpdate'](_0xbfc76e){var _0x1ea67b=_0x3719d7;this['_commentUpdate$'][_0x1ea67b(0x438)](_0xbfc76e);}}var ys=Object[_0x3719d7(0x2d0)],Ns=(_0x53b483,_0x369258,_0x932515,_0xba687a)=>{var _0x21bcdd=_0x3719d7;for(var _0x5ab866=_0xba687a>0x1?void 0x0:_0xba687a?ys(_0x369258,_0x932515):_0x369258,_0x518812=_0x53b483[_0x21bcdd(0x463)]-0x1,_0x2a2c71;_0x518812>=0x0;_0x518812--)(_0x2a2c71=_0x53b483[_0x518812])&&(_0x5ab866=_0x2a2c71(_0x5ab866)||_0x5ab866);return _0x5ab866;},Ft=(_0xf37f77,_0x21df00)=>(_0x4963d6,_0x3b1b64)=>_0x21df00(_0x4963d6,_0x3b1b64,_0xf37f77);let we=class extends _0x3c4e94{constructor(_0xf2a307,_0x4da51e){var _0x16256a=_0x3719d7;super(),N(this,'_roomMembers',new Map()),N(this,_0x16256a(0x427),new _0x3ca5c9()),(this[_0x16256a(0x484)]=_0xf2a307,this[_0x16256a(0x1c0)]=_0x4da51e,this[_0x16256a(0x389)](_0x2f8997(this['_univerInstanceService'][_0x16256a(0x369)](_0x14a7db[_0x16256a(0x1eb)])[_0x16256a(0x285)](_0x5a13d1(_0x4fb92d=>_0x4fb92d['getUnitId']())),this['_univerInstanceService'][_0x16256a(0x369)](_0x14a7db['UNIVER_DOC'])[_0x16256a(0x285)](_0x5a13d1(_0x4e74b6=>_0x4e74b6[_0x16256a(0x354)]())),this[_0x16256a(0x484)][_0x16256a(0x369)](_0x14a7db[_0x16256a(0x3be)])['pipe'](_0x5a13d1(_0x3fa120=>_0x3fa120[_0x16256a(0x354)]())))[_0x16256a(0x405)](_0x2e42de=>this[_0x16256a(0x38b)](_0x2e42de))));}[_0x3719d7(0x1dc)](_0x3f0ee2){var _0xcc11c6=_0x3719d7;return this[_0xcc11c6(0x309)][_0xcc11c6(0x3f0)](_0x3f0ee2)?_0x224c4f(this[_0xcc11c6(0x309)][_0xcc11c6(0x3b3)](_0x3f0ee2)):this[_0xcc11c6(0x427)][_0xcc11c6(0x285)](_0x5a13d1(_0x445318=>{var _0x2b1611=_0xcc11c6;if(_0x445318===_0x3f0ee2)return this[_0x2b1611(0x309)][_0x2b1611(0x3b3)](_0x445318);}));}['setCurrentUser'](_0xde4aee){var _0x37dbf0=_0x3719d7;this['_userManagerService'][_0x37dbf0(0x33b)](_0xde4aee);}[_0x3719d7(0x485)](){var _0x4fb851=_0x3719d7;return this[_0x4fb851(0x1c0)][_0x4fb851(0x485)]();}[_0x3719d7(0x2f5)](_0x421e99,_0x231357){var _0x9a6fd0=_0x3719d7;let _0x43a20d=this[_0x9a6fd0(0x309)]['get'](_0x421e99);_0x43a20d||(_0x43a20d=new Ds(),this[_0x9a6fd0(0x309)]['set'](_0x421e99,_0x43a20d),this[_0x9a6fd0(0x427)]['next'](_0x421e99)),_0x43a20d[_0x9a6fd0(0x2f5)](_0x231357);}[_0x3719d7(0x1c7)](_0x12aacc,_0x39f2af){var _0x2dea95=_0x3719d7;const _0x5eaf74=this[_0x2dea95(0x309)][_0x2dea95(0x3b3)](_0x12aacc);_0x5eaf74&&_0x5eaf74[_0x2dea95(0x1c7)](_0x39f2af);}[_0x3719d7(0x381)](_0x53d3d2){var _0x1688fc=_0x3719d7;return this[_0x1688fc(0x309)]['get'](_0x53d3d2);}[_0x3719d7(0x3d4)](_0x31eae0,_0x237bfb){var _0x51df4e=_0x3719d7;const _0x188db9=this[_0x51df4e(0x309)][_0x51df4e(0x3b3)](_0x31eae0);if(_0x188db9)return _0x188db9[_0x51df4e(0x3d4)](_0x237bfb);}['_removeRoom'](_0x55a5e0){var _0x418078=_0x3719d7;const _0x5d28df=this['_roomMembers']['get'](_0x55a5e0);_0x5d28df&&(_0x5d28df[_0x418078(0x421)](),this[_0x418078(0x309)]['delete'](_0x55a5e0));}[_0x3719d7(0x421)](){var _0x4f4999=_0x3719d7;this[_0x4f4999(0x309)][_0x4f4999(0x473)](_0x272448=>_0x272448[_0x4f4999(0x421)]()),this[_0x4f4999(0x309)][_0x4f4999(0x1de)](),this['_roomCreated$'][_0x4f4999(0x319)]();}};we=Ns([Ft(0x0,_0x3b570d),Ft(0x1,_0x9a05e2(_0x1c9002))],we);class Ds extends _0x3c4e94{constructor(){var _0x50a172=_0x3719d7;super(...arguments),N(this,_0x50a172(0x28b),new Map()),N(this,_0x50a172(0x35f),new _0x261aac(this[_0x50a172(0x28b)])),N(this,_0x50a172(0x2cb),this['_members$'][_0x50a172(0x1d3)]());}['dispose'](){var _0x28dab2=_0x3719d7;this[_0x28dab2(0x28b)][_0x28dab2(0x1de)]();}['updateMember'](_0x117bf6){var _0x6081c9=_0x3719d7;this[_0x6081c9(0x28b)][_0x6081c9(0x1cb)](_0x117bf6['memberID'],_0x117bf6),this[_0x6081c9(0x32f)]();}[_0x3719d7(0x1c7)](_0x4b4950){var _0x5bc09c=_0x3719d7;this[_0x5bc09c(0x28b)]['delete'](_0x4b4950);}[_0x3719d7(0x3d4)](_0x92ca72){var _0x4bd9ce=_0x3719d7;return this['_members'][_0x4bd9ce(0x3b3)](_0x92ca72);}[_0x3719d7(0x2e5)](){var _0x37d813=_0x3719d7;return Array[_0x37d813(0x33c)](this[_0x37d813(0x28b)]['values']());}[_0x3719d7(0x32f)](){var _0x59e705=_0x3719d7;this['_members$'][_0x59e705(0x438)](this[_0x59e705(0x28b)]);}}var Us=Object[_0x3719d7(0x2d0)],As=(_0x5f37b2,_0x225eba,_0x4a76d7,_0x5ab1aa)=>{var _0x1cd828=_0x3719d7;for(var _0x265382=_0x5ab1aa>0x1?void 0x0:_0x5ab1aa?Us(_0x225eba,_0x4a76d7):_0x225eba,_0x4b4ab5=_0x5f37b2[_0x1cd828(0x463)]-0x1,_0x4c4099;_0x4b4ab5>=0x0;_0x4b4ab5--)(_0x4c4099=_0x5f37b2[_0x4b4ab5])&&(_0x265382=_0x4c4099(_0x265382)||_0x265382);return _0x265382;},Ce=(_0x1161ed,_0x559ca6)=>(_0xd0abee,_0x3d8df0)=>_0x559ca6(_0xd0abee,_0x3d8df0,_0x1161ed),ge=(_0x377127=>(_0x377127[_0x377127[_0x3719d7(0x372)]=0x0]=_0x3719d7(0x372),_0x377127[_0x377127[_0x3719d7(0x401)]=0x1]='JOINING',_0x377127[_0x377127[_0x3719d7(0x1b5)]=0x2]=_0x3719d7(0x1b5),_0x377127[_0x377127[_0x3719d7(0x3cc)]=0x3]=_0x3719d7(0x3cc),_0x377127))(ge||{});const Vt={[pe[_0x3719d7(0x225)]]:_0x3719d7(0x1bb),[pe[_0x3719d7(0x282)]]:_0x3719d7(0x35b),[pe['JOIN_ROOM_NOT_EXISTS']]:_0x3719d7(0x240),[pe[_0x3719d7(0x349)]]:_0x3719d7(0x42d),[pe[_0x3719d7(0x2e1)]]:_0x3719d7(0x2ba)};let gt=class extends _0x103aff{constructor(_0x4ab777,_0x445568,_0x4b83e4,_0x17f24a,_0x397ef3,_0x131641,_0x5e5dc9,_0x2ceee6){var _0x1a178c=_0x3719d7;super(),N(this,_0x1a178c(0x214),new _0x261aac(0x0)),N(this,_0x1a178c(0x1db),this[_0x1a178c(0x214)][_0x1a178c(0x1d3)]()),N(this,_0x1a178c(0x19a),new _0x3ca5c9()),N(this,_0x1a178c(0x266),this[_0x1a178c(0x19a)][_0x1a178c(0x1d3)]()),N(this,_0x1a178c(0x2f9)),N(this,_0x1a178c(0x1b2)),N(this,_0x1a178c(0x391)),N(this,_0x1a178c(0x1d8),!0x1),N(this,'_telemetryInfo',null),(this[_0x1a178c(0x1ec)]=_0x4ab777,this['_logService']=_0x4b83e4,this['_configService']=_0x17f24a,this['_memberService']=_0x397ef3,this[_0x1a178c(0x299)]=_0x131641,this[_0x1a178c(0x32a)]=_0x5e5dc9,this[_0x1a178c(0x465)]=_0x2ceee6,this[_0x1a178c(0x1d8)]=!!this[_0x1a178c(0x465)],_0x445568[_0x1a178c(0x285)](_0x4176c5(this[_0x1a178c(0x361)]))[_0x1a178c(0x405)](_0x46aa3f=>{var _0x59f6dd=_0x1a178c,_0x12b5e3;typeof _0x46aa3f>'u'||(this[_0x59f6dd(0x2f9)]=_0x46aa3f,_0x46aa3f?(this[_0x59f6dd(0x2ab)](_0x46aa3f),this['_socketMessageSubscription']=_0x46aa3f[_0x59f6dd(0x3e5)][_0x59f6dd(0x405)](_0x32ae0a=>{var _0x36bda1=_0x59f6dd;_0x32ae0a[_0x36bda1(0x228)]===this[_0x36bda1(0x1ec)]&&this['_onCombEvent'](_0x32ae0a);})):(this[_0x59f6dd(0x1ea)](),this['_sessionStatus$'][_0x59f6dd(0x438)](0x2),(_0x12b5e3=this[_0x59f6dd(0x1b2)])==null||_0x12b5e3[_0x59f6dd(0x31d)](),this['_socketMessageSubscription']=null));}));}get[_0x3719d7(0x3e9)](){var _0x41bb24=_0x3719d7;return this[_0x41bb24(0x214)][_0x41bb24(0x297)]();}[_0x3719d7(0x23d)](){var _0xaf5d8f,_0x542c41;return(_0x542c41=(_0xaf5d8f=this['_socket'])==null?void 0x0:_0xaf5d8f['memberID'])!=null?_0x542c41:null;}[_0x3719d7(0x421)](){var _0x3ed57e=_0x3719d7;super['dispose'](),this[_0x3ed57e(0x361)]['next'](),this[_0x3ed57e(0x361)][_0x3ed57e(0x319)]();}[_0x3719d7(0x276)](){var _0x42966d=_0x3719d7,_0x33b321,_0x2e1caa;this[_0x42966d(0x1ea)](),(_0x33b321=this['_socket'])==null||_0x33b321[_0x42966d(0x377)]({'cmd':F[_0x42966d(0x19c)],'data':{'roomID':this[_0x42966d(0x1ec)]}}),(_0x2e1caa=this[_0x42966d(0x2f9)])==null||_0x2e1caa['close'](),this[_0x42966d(0x19a)][_0x42966d(0x319)](),this['_sessionStatus$'][_0x42966d(0x319)](),this[_0x42966d(0x421)]();}[_0x3719d7(0x198)](_0x588753){var _0x227342=_0x3719d7;_0x588753['cmd']===F[_0x227342(0x261)]?this[_0x227342(0x20c)](_0x588753):_0x588753[_0x227342(0x2c6)]===F[_0x227342(0x37b)]&&this['_onRecvEvent'](_0x588753);}['_joinRoom'](_0x27dae5){var _0x384371=_0x3719d7;this[_0x384371(0x214)][_0x384371(0x438)](0x1),_0x27dae5[_0x384371(0x377)]({'cmd':F[_0x384371(0x261)],'routeKey':this[_0x384371(0x1ec)],'routeType':'','data':{'rooms':[{'roomID':this[_0x384371(0x1ec)]}]}});}[_0x3719d7(0x20c)](_0xf5857d){var _0x5b3e97=_0x3719d7,_0x6359d7;if(_0xf5857d[_0x5b3e97(0x216)]in Vt){this[_0x5b3e97(0x32a)][_0x5b3e97(0x3e6)]({'id':ne[_0x5b3e97(0x296)],'data':Vt[_0xf5857d[_0x5b3e97(0x216)]]}),this[_0x5b3e97(0x214)][_0x5b3e97(0x438)](0x2);return;}this[_0x5b3e97(0x214)][_0x5b3e97(0x438)](0x3);const _0x58013c=(_0x6359d7=_0xf5857d['data'][_0x5b3e97(0x30d)][this[_0x5b3e97(0x1ec)]])==null?void 0x0:_0x6359d7['members'];_0x58013c&&_0x58013c[_0x5b3e97(0x473)](_0x36c9ea=>this[_0x5b3e97(0x27c)]['updateMember'](this[_0x5b3e97(0x1ec)],_0x36c9ea));}[_0x3719d7(0x353)](_0x1bcbe9){var _0x497c05=_0x3719d7;try{const _0x28fe7f=_0x1bcbe9[_0x497c05(0x3a8)];switch(_0x28fe7f['eventID']){case _0x1454f[_0x497c05(0x471)]:this[_0x497c05(0x3f1)](_0x28fe7f),this[_0x497c05(0x19a)]['next'](_0x28fe7f);break;case _0x1454f[_0x497c05(0x313)]:this[_0x497c05(0x24f)](_0x28fe7f),this[_0x497c05(0x19a)]['next'](_0x28fe7f);break;case _0x1454f[_0x497c05(0x1b8)]:case _0x1454f['CHANGESET_SHOULD_RETRY']:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this['_event$'][_0x497c05(0x438)](_0x28fe7f);break;case _0x1454f[_0x497c05(0x195)]:this[_0x497c05(0x3c6)][_0x497c05(0x19b)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x497c05(0x2c8)](_0x28fe7f)),this[_0x497c05(0x19a)][_0x497c05(0x438)](_0x28fe7f);break;case _0x1454f[_0x497c05(0x419)]:this[_0x497c05(0x299)][_0x497c05(0x383)](_0x28fe7f[_0x497c05(0x3a8)]),this[_0x497c05(0x19a)][_0x497c05(0x438)](_0x28fe7f);break;default:this[_0x497c05(0x19a)][_0x497c05(0x438)](_0x28fe7f);}}catch(_0x53002f){this[_0x497c05(0x3c6)]['error'](_0x53002f,_0x1bcbe9);}}[_0x3719d7(0x3f1)](_0x45b78d){var _0x4ae29b=_0x3719d7;this[_0x4ae29b(0x27c)]['updateMember'](this['_unitID'],_0x45b78d[_0x4ae29b(0x3a8)]);}[_0x3719d7(0x24f)](_0x5e0fd7){var _0x50de44=_0x3719d7;this[_0x50de44(0x27c)]['removeMember'](this['_unitID'],_0x5e0fd7['data'][_0x50de44(0x422)]);}async[_0x3719d7(0x377)](_0x20c961,_0x5bdc96){var _0x50449e=_0x3719d7;if(this[_0x50449e(0x3e9)]!==0x3||!this['_socket'])throw new Error(_0x50449e(0x2e8));try{_0x20c961[_0x50449e(0x20e)]===_0x1454f[_0x50449e(0x27b)]&&(this[_0x50449e(0x45d)](),this['_startTelemetryCollaborationNewChangeset'](_0x20c961)),this[_0x50449e(0x2f9)][_0x50449e(0x377)]({'cmd':F['INGEST'],'routeKey':_0x5bdc96,'routeType':'','data':_0x20c961});}catch(_0x258933){this['_logService'][_0x50449e(0x19b)](_0x258933);}}[_0x3719d7(0x45d)](){var _0xeb9893=_0x3719d7,_0x7b0ccb;this[_0xeb9893(0x391)]=setTimeout(()=>{var _0x79d9d1=_0xeb9893;this[_0x79d9d1(0x391)]=null,this[_0x79d9d1(0x32a)][_0x79d9d1(0x3e6)]({'id':ne[_0x79d9d1(0x295)]});},(_0x7b0ccb=this[_0xeb9893(0x2b3)]['getConfig'](di))!=null?_0x7b0ccb:fi);}['_clearCollaborationTimeoutTimer'](){var _0x1ef527=_0x3719d7;this[_0x1ef527(0x391)]&&(clearTimeout(this[_0x1ef527(0x391)]),this[_0x1ef527(0x391)]=null);}[_0x3719d7(0x375)](_0x5b2259){var _0x5b171=_0x3719d7;if(!this[_0x5b171(0x1d8)])return;const {data:_0x31fdcc}=_0x5b2259,{unitID:_0x511378,changeset:_0x4caa9a}=_0x31fdcc,{mutations:_0x970336,type:_0x349254}=_0x4caa9a;this[_0x5b171(0x410)]={'unitId':_0x511378,'type':_0x349254,'startTime':performance[_0x5b171(0x1f8)](),'stopTime':0x0,'duration':0x0,'size':bs(_0x970336)};}[_0x3719d7(0x3ce)](){var _0x1bbb8f=_0x3719d7;if(this['_shouldReportTelemetry']){if(!this[_0x1bbb8f(0x410)]){this[_0x1bbb8f(0x3c6)][_0x1bbb8f(0x19b)]('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x1bbb8f(0x410)][_0x1bbb8f(0x440)]=performance[_0x1bbb8f(0x1f8)](),this[_0x1bbb8f(0x410)]['duration']=this['_telemetryInfo'][_0x1bbb8f(0x440)]-this['_telemetryInfo'][_0x1bbb8f(0x239)],this[_0x1bbb8f(0x465)][_0x1bbb8f(0x464)](Os,this[_0x1bbb8f(0x410)]),this[_0x1bbb8f(0x410)]=null;}}[_0x3719d7(0x1ea)](){this['_telemetryInfo']=null;}};gt=As([Ce(0x2,_0x116fbc),Ce(0x3,_0x3f20e3),Ce(0x4,_0x9a05e2(we)),Ce(0x5,_0x9a05e2(mi)),Ce(0x6,_0x9a05e2(ve)),Ce(0x7,_0x16e192(_0x57e83d))],gt);const J=_0x428e84(_0x3719d7(0x335));function br(_0x1c552a){var _0x2e6c66=_0x3719d7;return _0x2e6c66(0x2d8)+_0x1c552a;}var ws=Object[_0x3719d7(0x2d0)],Ps=(_0x72e1fa,_0x3a23be,_0x2105a3,_0x5c0ea9)=>{var _0x542b0e=_0x3719d7;for(var _0xd90321=_0x5c0ea9>0x1?void 0x0:_0x5c0ea9?ws(_0x3a23be,_0x2105a3):_0x3a23be,_0x245b7a=_0x72e1fa[_0x542b0e(0x463)]-0x1,_0x1f8b8f;_0x245b7a>=0x0;_0x245b7a--)(_0x1f8b8f=_0x72e1fa[_0x245b7a])&&(_0xd90321=_0x1f8b8f(_0xd90321)||_0xd90321);return _0xd90321;},ut=(_0xe14109,_0x141374)=>(_0x5db5a3,_0x184cf6)=>_0x141374(_0x5db5a3,_0x184cf6,_0xe14109);function Ms(_0x2519a3){var _0x345901=_0x3719d7;const {unitID:_0x5b2a94,mutations:_0x260349}=_0x2519a3;return{'unitId':_0x5b2a94,'subUnitId':_0x260349[0x0][_0x345901(0x28f)]['subUnitId']};}let it=class{constructor(_0x592f15,_0x5786c9,_0x56fbec){var _0x65eade=_0x3719d7;this[_0x65eade(0x1f0)]=_0x592f15,this[_0x65eade(0x396)]=_0x5786c9,this['_instanceService']=_0x56fbec;}[_0x3719d7(0x248)](_0x30e5db){var _0x1c9a9c=_0x3719d7,_0x1771cf,_0x3b6924,_0x5e3f38,_0xa1cf01;const _0x37e070=this[_0x1c9a9c(0x1f0)][_0x1c9a9c(0x3b3)](_0x27cf59),{unitId:_0xab105b,subUnitId:_0x3f37a6}=Ms(_0x30e5db),_0x42337d=_0x37e070==null?void 0x0:_0x37e070[_0x1c9a9c(0x47e)](_0xab105b)[_0x1c9a9c(0x20a)](),_0x308ceb=(_0x3b6924=(_0x1771cf=this[_0x1c9a9c(0x310)][_0x1c9a9c(0x317)](_0xab105b))==null?void 0x0:_0x1771cf['getActiveSheet']())==null?void 0x0:_0x3b6924['getSheetId']();if(_0x42337d['length']===0x0||!_0xab105b||!_0x3f37a6)return;const _0x481603=[{'id':_0x39f493['id'],'params':{'unitId':_0xab105b,'subUnitId':_0x308ceb,'selections':_0xefb524[_0x1c9a9c(0x2e9)](_0x42337d)}}],_0x5687d2=this[_0x1c9a9c(0x396)]['transformMutationsWithChangeset'](_0x30e5db,_0x481603);if(!_0x22b450(_0x5687d2))throw _0x5687d2[_0x1c9a9c(0x19b)];const _0x50b7e1=(_0xa1cf01=(_0x5e3f38=_0x5687d2[_0x1c9a9c(0x278)][0x0])==null?void 0x0:_0x5e3f38[_0x1c9a9c(0x28f)])==null?void 0x0:_0xa1cf01[_0x1c9a9c(0x439)];if(Array[_0x1c9a9c(0x45e)](_0x50b7e1)&&_0x50b7e1[_0x1c9a9c(0x463)]){if(_0x50b7e1['length']===_0x481603[0x0][_0x1c9a9c(0x28f)][_0x1c9a9c(0x439)][_0x1c9a9c(0x463)]&&_0x50b7e1[_0x1c9a9c(0x444)]((_0x364ccb,_0x2280d8)=>_0xe2622d['equals'](_0x364ccb[_0x1c9a9c(0x3b0)],_0x481603[0x0][_0x1c9a9c(0x28f)][_0x1c9a9c(0x439)][_0x2280d8][_0x1c9a9c(0x3b0)])))return;this['_injector'][_0x1c9a9c(0x3b3)](_0x5491ec)[_0x1c9a9c(0x258)](_0x39f493['id'],{'unitId':_0xab105b,'subUnitId':_0x308ceb,'selections':_0x50b7e1});}}};it=Ps([ut(0x0,_0x9a05e2(_0x220a42)),ut(0x1,_0x53796d),ut(0x2,_0x3b570d)],it);const ht=_0x428e84(_0x3719d7(0x352));var gi=(_0xf34973=>(_0xf34973[_0xf34973[_0x3719d7(0x2c5)]=0x0]=_0x3719d7(0x2c5),_0xf34973[_0xf34973['OTHER_CLIENTS_EDITING']=0x1]='OTHER_CLIENTS_EDITING',_0xf34973))(gi||{});const K=_0x3719d7(0x21a),Ls={},xs=new Set([_0x5e97a1['id']]);function Wt(_0x11805d,_0x3f20cc,_0x4d9d75,_0x1e8afd,_0xb5f421){var _0x3d92f2=_0x3719d7,_0x26895e,_0x396948,_0x525d45,_0x79ba31;const _0x2feaa6=[];for(const _0x33c870 of _0x11805d)if(xs[_0x3d92f2(0x3f0)](_0x33c870['id'])){if(_0x2feaa6[_0x3d92f2(0x463)]>0x0)break;_0x2feaa6[_0x3d92f2(0x33e)](_0x33c870);break;}else _0x2feaa6[_0x3d92f2(0x33e)](_0x33c870);const _0x590523=(_0x396948=(_0x26895e=_0xb5f421[_0x3d92f2(0x485)]())==null?void 0x0:_0x26895e[_0x3d92f2(0x2a8)])!=null?_0x396948:_0x3d92f2(0x34c),_0x176f53=(_0x79ba31=(_0x525d45=_0xb5f421[_0x3d92f2(0x485)]())==null?void 0x0:_0x525d45['memberID'])!=null?_0x79ba31:_0x3d92f2(0x34c);return{'changeset':{'unitID':_0x3f20cc,'type':_0x23c0c5(_0x4d9d75[_0x3d92f2(0x1ad)](_0x3f20cc)),'baseRev':_0x1e8afd[_0x3d92f2(0x2d2)](_0x3f20cc),'revision':0x0,'userID':_0x590523,'memberID':_0x176f53,'mutations':_0x2feaa6},'pendingMutations':_0x11805d[_0x3d92f2(0x40c)](_0x2feaa6['length'])};}function ks(_0x162671,_0x50cee8,_0x5496ac,_0x19bbe2,_0x373f10){var _0x53c25f=_0x3719d7,_0x5ce589,_0x17170b,_0x15ad5d,_0x19e3e4;const _0x2654ad=[_0x162671[_0x53c25f(0x3c7)]((_0x16d10f,_0x4c344a)=>{var _0x34fd80=_0x53c25f,_0x2b1e87;const {id:_0x4e612f}=_0x16d10f,{id:_0x24b413,type:_0x52abd4}=_0x4c344a,_0xddc198=(_0x2b1e87=_0x16d10f[_0x34fd80(0x28f)])!=null?_0x2b1e87:{'actions':null},_0xa1b9be=_0x4c344a[_0x34fd80(0x28f)];if(_0x4e612f&&_0x4e612f!==_0x24b413)throw new Error(_0x34fd80(0x3d9)+_0x4e612f+'\x20-\x20'+_0x24b413+'.');return{..._0x16d10f,'id':_0x24b413,'type':_0x52abd4,'params':{'unitId':_0xa1b9be[_0x34fd80(0x35c)],'textRanges':_0xa1b9be[_0x34fd80(0x218)],'actions':_0x3503b4['compose'](_0xddc198[_0x34fd80(0x245)],_0xa1b9be['actions'])}};},{})],_0x256216=(_0x17170b=(_0x5ce589=_0x373f10['getCurrentUser']())==null?void 0x0:_0x5ce589['userID'])!=null?_0x17170b:_0x53c25f(0x34c),_0x44ca70=(_0x19e3e4=(_0x15ad5d=_0x373f10['getCurrentUser']())==null?void 0x0:_0x15ad5d['memberID'])!=null?_0x19e3e4:_0x53c25f(0x34c);return{'changeset':{'unitID':_0x50cee8,'type':_0x23c0c5(_0x5496ac[_0x53c25f(0x1ad)](_0x50cee8)),'baseRev':_0x19bbe2[_0x53c25f(0x2d2)](_0x50cee8),'revision':0x0,'userID':_0x256216,'memberID':_0x44ca70,'mutations':_0x2654ad},'pendingMutations':[]};}function Si(_0x53a86f,_0x509886){var _0x46bbcb=_0x3719d7;const _0xf0593a=new _0x2f4850(0x1);return setTimeout(()=>_0xf0593a['next'](_0x509886),_0x53a86f),_0xf0593a[_0x46bbcb(0x1d3)]()['pipe'](_0x17a050(0x1));}const $s={'id':_0x295ef4['id'],'type':_0x1f5e95[_0x3719d7(0x41a)],'params':{}};var Hs=Object[_0x3719d7(0x2d0)],Ee=(_0x5e579d,_0x53b7cf,_0x5b227f,_0x26f94b)=>{var _0x5378c2=_0x3719d7;for(var _0xca5536=_0x26f94b>0x1?void 0x0:_0x26f94b?Hs(_0x53b7cf,_0x5b227f):_0x53b7cf,_0x46336e=_0x5e579d[_0x5378c2(0x463)]-0x1,_0x4e37b6;_0x46336e>=0x0;_0x46336e--)(_0x4e37b6=_0x5e579d[_0x46336e])&&(_0xca5536=_0x4e37b6(_0xca5536)||_0xca5536);return _0xca5536;},P=(_0x2614c7,_0x3bc42f)=>(_0xf12c3a,_0x413d9a)=>_0x3bc42f(_0xf12c3a,_0x413d9a,_0x2614c7),Ei=(_0x81690d=>(_0x81690d[_0x3719d7(0x402)]='not_collab',_0x81690d['SYNCED']=_0x3719d7(0x426),_0x81690d[_0x3719d7(0x1e8)]='pending',_0x81690d['AWAITING']='awaiting',_0x81690d[_0x3719d7(0x3fc)]=_0x3719d7(0x480),_0x81690d[_0x3719d7(0x3f4)]=_0x3719d7(0x1c4),_0x81690d[_0x3719d7(0x22c)]='conflict',_0x81690d[_0x3719d7(0x1b5)]=_0x3719d7(0x1c9),_0x81690d))(Ei||{});const Ii=0xea60;class Ie{constructor(_0x2bd83b,_0x3cdd0b,_0x161b9c,_0xda1639,_0x3d3e27,_0xed4f27,_0x57ca38,_0x2268f7,_0x54f921){var _0x58fe8f=_0x3719d7;N(this,_0x58fe8f(0x3cf),null),N(this,_0x58fe8f(0x458),[]),(this[_0x58fe8f(0x43a)]=_0x2bd83b,this[_0x58fe8f(0x246)]=_0x3cdd0b,this['_handler']=_0x3d3e27,this[_0x58fe8f(0x408)]=_0xed4f27,this['_undoRedoService']=_0x57ca38,this[_0x58fe8f(0x3a6)]=_0x2268f7,this['_localCacheService']=_0x54f921,this[_0x58fe8f(0x3cf)]=_0x161b9c,this['_pendingMutations']=_0xda1639);}['_checkMissing'](_0x17c968){var _0x26bd41=_0x3719d7;const _0x3f2b44=this[_0x26bd41(0x3a6)][_0x26bd41(0x2d2)](this['unitID']);return _0x17c968[_0x26bd41(0x36b)]>_0x3f2b44+0x1?(this['_handler']['onMissingChangesets']({'from':_0x3f2b44,'to':_0x17c968[_0x26bd41(0x36b)]-0x1}),!0x0):!0x1;}[_0x3719d7(0x374)](_0x59fd25){var _0x2bd826=_0x3719d7;this['_undoRedoService'][_0x2bd826(0x328)](this[_0x2bd826(0x43a)],_0x59fd25);}[_0x3719d7(0x1b6)](_0x2d7cbc){var _0x57f0ec=_0x3719d7,_0xd8383d,_0x52e372;(_0x52e372=(_0xd8383d=this[_0x57f0ec(0x235)])[_0x57f0ec(0x1ac)])==null||_0x52e372['call'](_0xd8383d,_0x2d7cbc);}[_0x3719d7(0x3fa)](_0x59f3fe){var _0x432307=_0x3719d7,_0x186a91,_0x2ac07e;return(_0x2ac07e=(_0x186a91=this[_0x432307(0x235)])[_0x432307(0x215)])==null?void 0x0:_0x2ac07e['call'](_0x186a91,_0x59f3fe);}[_0x3719d7(0x2c7)](_0x3c7716){var _0x3227ec=_0x3719d7,_0x36a8ee,_0x36ca60;return(_0x36ca60=(_0x36a8ee=this[_0x3227ec(0x235)])[_0x3227ec(0x2cc)])==null?void 0x0:_0x36ca60[_0x3227ec(0x255)](_0x36a8ee,_0x3c7716);}[_0x3719d7(0x221)](_0x46142c){var _0x1b5938,_0x230fe0,_0xb59071;return(_0xb59071=(_0x230fe0=(_0x1b5938=this['_handler'])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x230fe0['call'](_0x1b5938,_0x46142c))!=null?_0xb59071:_0x46142c;}[_0x3719d7(0x292)](_0x15d67a){var _0x45ab10=_0x3719d7,_0x46622e,_0x17244e,_0x190cda;return(_0x190cda=(_0x17244e=(_0x46622e=this[_0x45ab10(0x235)])[_0x45ab10(0x233)])==null?void 0x0:_0x17244e[_0x45ab10(0x255)](_0x46622e,_0x15d67a))!=null?_0x190cda:_0x15d67a;}[_0x3719d7(0x1df)](_0x4c23cb){var _0x542a64=_0x3719d7,_0x4661b1,_0x189ded;if(this[_0x542a64(0x246)]===Z[_0x542a64(0x406)]){const {unitID:_0x371713,mutations:_0x383245,memberID:_0x1bab59}=_0x4c23cb,_0x3e4909=_0x383245[0x0][_0x542a64(0x28f)][_0x542a64(0x218)];Array[_0x542a64(0x45e)](_0x3e4909)&&_0x3e4909['length']>0x0&&((_0x189ded=(_0x4661b1=this[_0x542a64(0x235)])['onSyncEditingCollabCursor'])==null||_0x189ded[_0x542a64(0x255)](_0x4661b1,{'unitID':_0x371713,'memberID':_0x1bab59,'textRanges':_0x3e4909}));}}[_0x3719d7(0x1ca)](){var _0x71b0e5=_0x3719d7,_0x24c61f;(_0x24c61f=this['_localCacheService'])==null||_0x24c61f['updateOfflineData'](this['unitID'],this[_0x71b0e5(0x246)],this[_0x71b0e5(0x3cf)],this[_0x71b0e5(0x458)]);}[_0x3719d7(0x290)](){var _0x4e65b1=_0x3719d7;return this[_0x4e65b1(0x3a6)][_0x4e65b1(0x2d2)](this[_0x4e65b1(0x43a)]);}[_0x3719d7(0x21f)](){var _0x102595=_0x3719d7;this[_0x102595(0x3a6)]['incrementRevOfUnit'](this[_0x102595(0x43a)]);}[_0x3719d7(0x1d5)](_0x1ad22f){var _0x2ba68f=_0x3719d7,_0x5a88d6;let _0x170825=this[_0x2ba68f(0x221)](_0x1ad22f);_0x170825=this[_0x2ba68f(0x292)](_0x170825);const _0x2ccb00=_0x288403(_0x170825[_0x2ba68f(0x1b3)],this[_0x2ba68f(0x408)],{'fromCollab':!0x0});if(!_0x2ccb00['result'])throw _0x2ccb00[_0x2ba68f(0x19b)]instanceof Error?_0x2ccb00[_0x2ba68f(0x19b)]:new Error((_0x5a88d6=_0x2ccb00[_0x2ba68f(0x19b)])!=null?_0x5a88d6:'[CollaborationState]:\x20apply\x20error!');this[_0x2ba68f(0x3fa)](_0x170825),this['_transformStateCache'](_0x170825),this['_transformUndoredo'](_0x1ad22f),this[_0x2ba68f(0x1b6)](_0x170825),this[_0x2ba68f(0x1df)](_0x170825),this['_incrementRevisionNumber']();}}let ye=class extends Ie{constructor(_0x541577,_0x1969ee,_0x4b116f,_0xcd9eda,_0x11cc4b,_0x5b7b78,_0x33d02a,_0x28f2f4,_0x5cf4fb,_0x116486){var _0x4208c7=_0x3719d7;super(_0x541577,_0x1969ee,null,[],_0x4b116f,_0x33d02a,_0x5b7b78,_0xcd9eda,_0x116486),N(this,_0x4208c7(0x453),_0x4208c7(0x426)),(this[_0x4208c7(0x1f0)]=_0x11cc4b,this[_0x4208c7(0x3c6)]=_0x28f2f4,this[_0x4208c7(0x396)]=_0x5cf4fb,this[_0x4208c7(0x23e)]=_0x116486);}[_0x3719d7(0x191)](_0x31fabf){var _0x176ff5=_0x3719d7;const _0x5999ef=this['_injector'][_0x176ff5(0x3c1)](re,this[_0x176ff5(0x43a)],this[_0x176ff5(0x246)],[_0x31fabf],this[_0x176ff5(0x235)]);return _0x5999ef[_0x176ff5(0x29a)](),_0x5999ef[_0x176ff5(0x1ca)](),_0x5999ef;}[_0x3719d7(0x1f7)](_0x42cd93){var _0x30819b=_0x3719d7;if(this[_0x30819b(0x2f0)](_0x42cd93))return this['_injector']['createInstance'](Q,this[_0x30819b(0x43a)],this[_0x30819b(0x246)],null,[],null,[_0x42cd93],this[_0x30819b(0x235)]);try{const _0x39fe5e=this[_0x30819b(0x396)][_0x30819b(0x1fe)](_0x42cd93,[$s]);if(_0x22b450(_0x39fe5e)){const {c1Prime:_0x40c108}=_0x39fe5e;return this[_0x30819b(0x1d5)](_0x40c108),this;}throw _0x39fe5e[_0x30819b(0x19b)];}catch(_0x3d7a56){return this[_0x30819b(0x3c6)][_0x30819b(0x19b)](_0x3d7a56),this['_onConflict'](!0x1);}}[_0x3719d7(0x3a0)](_0x1d966b){var _0x50762a=_0x3719d7;return this[_0x50762a(0x1f0)][_0x50762a(0x3c1)](le,this['unitID'],this['type'],null,[],this['_handler'],_0x1d966b);}[_0x3719d7(0x205)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x3719d7(0x213)](){var _0x2b6276=_0x3719d7;throw new Error(_0x2b6276(0x475));}[_0x3719d7(0x288)](){return this;}['toggleOffline'](){var _0x2c46c8=_0x3719d7;return this[_0x2c46c8(0x1f0)]['createInstance'](ue,this[_0x2c46c8(0x43a)],this['type'],null,[],this[_0x2c46c8(0x235)]);}['toggleOnline'](){return this;}[_0x3719d7(0x399)](){var _0x18e417=_0x3719d7;throw new Error(_0x18e417(0x20d));}[_0x3719d7(0x199)](){var _0x120afe=_0x3719d7;const _0x3304f9=this['_revisionService'][_0x120afe(0x2d2)](this[_0x120afe(0x43a)]);return this[_0x120afe(0x235)][_0x120afe(0x270)]({'from':_0x3304f9,'to':0x0}),this[_0x120afe(0x1f0)][_0x120afe(0x3c1)](Q,this['unitID'],this['type'],null,[],null,[],this['_handler']);}};ye=Ee([P(0x3,_0x9a05e2(_0x1882ad)),P(0x4,_0x9a05e2(_0x220a42)),P(0x5,_0x36e271),P(0x6,_0x5491ec),P(0x7,_0x116fbc),P(0x8,_0x53796d),P(0x9,_0x16e192(J))],ye);let re=class extends Ie{constructor(_0x5646be,_0x3d9d74,_0x5243bd,_0xd1cd2e,_0x1477ca,_0x1afb99,_0x319d82,_0x3eb9c7,_0x5ec189,_0xf8667b,_0x1eec61,_0x303cf1,_0x3b4246,_0xc78a5b){var _0x522b80=_0x3719d7;super(_0x5646be,_0x3d9d74,null,_0x5243bd,_0xd1cd2e,_0x5ec189,_0x3b4246,_0x1afb99,_0xc78a5b),N(this,'status',_0x522b80(0x286)),N(this,_0x522b80(0x2c1),null),N(this,_0x522b80(0x1d0),null),(this['_injector']=_0x1477ca,this[_0x522b80(0x27c)]=_0x319d82,this[_0x522b80(0x3c6)]=_0x3eb9c7,this[_0x522b80(0x2b3)]=_0xf8667b,this[_0x522b80(0x396)]=_0x1eec61,this[_0x522b80(0x484)]=_0x303cf1);}[_0x3719d7(0x191)](_0x14cea2){var _0xcf451f=_0x3719d7;return this[_0xcf451f(0x458)][_0xcf451f(0x33e)](_0x14cea2),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x16a9f7){var _0x3995e0=_0x3719d7;if(this['_checkMissing'](_0x16a9f7))return this[_0x3995e0(0x2bf)](),this[_0x3995e0(0x1f0)][_0x3995e0(0x3c1)](Q,this[_0x3995e0(0x43a)],this[_0x3995e0(0x246)],null,this[_0x3995e0(0x458)],null,[_0x16a9f7],this[_0x3995e0(0x235)]);try{const _0x43a6fe=this[_0x3995e0(0x396)]['transformMutationsWithChangeset'](_0x16a9f7,this[_0x3995e0(0x458)]);if(_0x22b450(_0x43a6fe)){const {c1Prime:_0xf53078,m2Prime:_0x4c9006}=_0x43a6fe;this['_executeRemoteChangeset'](_0xf53078);const _0x2f7cdf=this[_0x3995e0(0x1f0)][_0x3995e0(0x3c1)](re,this[_0x3995e0(0x43a)],this[_0x3995e0(0x246)],_0x4c9006,this[_0x3995e0(0x235)]);this[_0x3995e0(0x2bf)]();const _0x45d3cf=new Date()[_0x3995e0(0x2b5)](),_0x187e6e=this[_0x3995e0(0x2c1)]?Math[_0x3995e0(0x28d)](this[_0x3995e0(0x2c1)]-_0x45d3cf,0x0):this[_0x3995e0(0x3df)]();return _0x2f7cdf['_schedule'](_0x187e6e),_0x2f7cdf;}throw _0x43a6fe[_0x3995e0(0x19b)];}catch(_0x2035c2){return this['_logService'][_0x3995e0(0x19b)](_0x2035c2),this[_0x3995e0(0x3a0)](!0x1);}}[_0x3719d7(0x205)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x3719d7(0x288)](){return this;}[_0x3719d7(0x1c5)](){var _0x1f78fd=_0x3719d7;return this[_0x1f78fd(0x2bf)](),this[_0x1f78fd(0x1f0)]['createInstance'](ue,this[_0x1f78fd(0x43a)],this[_0x1f78fd(0x246)],null,this[_0x1f78fd(0x458)],this[_0x1f78fd(0x235)]);}[_0x3719d7(0x466)](){return this;}[_0x3719d7(0x29a)](_0xf2b7f6){var _0x5123aa=_0x3719d7;const _0x4c8448=_0xf2b7f6!=null?_0xf2b7f6:this['_getSendChangesetTimeout']();this[_0x5123aa(0x2c1)]=new Date()[_0x5123aa(0x2b5)]()+_0x4c8448,this[_0x5123aa(0x1d0)]=setTimeout(()=>{var _0x26027c=_0x5123aa;this[_0x26027c(0x2bf)]();let _0x3c6a08=null;switch(this[_0x26027c(0x246)]){case Z['UNIVER_SHEET']:{_0x3c6a08=Wt(this[_0x26027c(0x458)],this[_0x26027c(0x43a)],this['_univerInstanceService'],this[_0x26027c(0x3a6)],this['_memberService']);break;}case Z['UNIVER_DOC']:{this[_0x26027c(0x458)][_0x26027c(0x444)](_0x3cfb9b=>_0x3cfb9b['id']===_0x56aa1d['id'])?_0x3c6a08=ks(this[_0x26027c(0x458)],this[_0x26027c(0x43a)],this[_0x26027c(0x484)],this[_0x26027c(0x3a6)],this['_memberService']):_0x3c6a08=Wt(this['_pendingMutations'],this[_0x26027c(0x43a)],this[_0x26027c(0x484)],this['_revisionService'],this[_0x26027c(0x27c)]);break;}default:throw new Error(_0x26027c(0x1d1)+this[_0x26027c(0x246)]+_0x26027c(0x1a3));}const {changeset:_0x319d57,pendingMutations:_0x34512d}=_0x3c6a08;this[_0x26027c(0x235)][_0x26027c(0x247)](_0x319d57);const _0x58ab23=_0x34512d[_0x26027c(0x463)]?this[_0x26027c(0x1f0)][_0x26027c(0x3c1)](ae,this[_0x26027c(0x43a)],this[_0x26027c(0x246)],_0x319d57,_0x34512d,this[_0x26027c(0x235)],void 0x0):this[_0x26027c(0x1f0)][_0x26027c(0x3c1)](_e,this['unitID'],this[_0x26027c(0x246)],_0x319d57,this[_0x26027c(0x235)]);_0x58ab23[_0x26027c(0x1ca)](),this['_handler'][_0x26027c(0x2e6)](this,_0x58ab23);},_0x4c8448);}[_0x3719d7(0x3df)](){var _0xf180ef=_0x3719d7,_0x382623;const _0x55861e=this[_0xf180ef(0x2b3)]['getConfig'](K);return(_0x382623=_0x55861e==null?void 0x0:_0x55861e[_0xf180ef(0x38c)])!=null?_0x382623:ps;}[_0x3719d7(0x399)](){var _0xc50b79=_0x3719d7;throw new Error(_0xc50b79(0x200));}[_0x3719d7(0x2bf)](){var _0x4e65ee=_0x3719d7;this['_sendingTimer']!=null&&(clearTimeout(this['_sendingTimer']),this[_0x4e65ee(0x1d0)]=null);}[_0x3719d7(0x3a0)](_0x2925f0){var _0x580548=_0x3719d7;return this[_0x580548(0x2bf)](),this[_0x580548(0x1f0)][_0x580548(0x3c1)](le,this[_0x580548(0x43a)],this['type'],null,this[_0x580548(0x458)],this[_0x580548(0x235)],_0x2925f0);}};re=Ee([P(0x4,_0x9a05e2(_0x220a42)),P(0x5,_0x9a05e2(_0x1882ad)),P(0x6,_0x9a05e2(we)),P(0x7,_0x116fbc),P(0x8,_0x5491ec),P(0x9,_0x3f20e3),P(0xa,_0x53796d),P(0xb,_0x3b570d),P(0xc,_0x36e271),P(0xd,_0x16e192(J))],re);let _e=class extends Ie{constructor(_0x159469,_0x50b08c,_0x5288e4,_0x53a586,_0x4861c0,_0x42cf31,_0x77ab1d,_0x28f01a,_0x42a868,_0x3b5311,_0x3766e7){var _0x16f35c=_0x3719d7;super(_0x159469,_0x50b08c,_0x5288e4,[],_0x53a586,_0x77ab1d,_0x3b5311,_0x42cf31,_0x3766e7),N(this,_0x16f35c(0x453),_0x16f35c(0x251)),N(this,_0x16f35c(0x33a),0x0),N(this,_0x16f35c(0x2ef)),N(this,_0x16f35c(0x20f)),(this[_0x16f35c(0x1f0)]=_0x4861c0,this[_0x16f35c(0x3c6)]=_0x28f01a,this[_0x16f35c(0x396)]=_0x42a868);}[_0x3719d7(0x191)](_0x3d7d32){var _0x51fdf4=_0x3719d7;this[_0x51fdf4(0x2bf)]();const _0x3f2f20=this[_0x51fdf4(0x1f0)][_0x51fdf4(0x3c1)](ae,this['unitID'],this[_0x51fdf4(0x246)],this[_0x51fdf4(0x3cf)],[_0x3d7d32],this[_0x51fdf4(0x235)],this[_0x51fdf4(0x2ef)]);return _0x3f2f20[_0x51fdf4(0x1ca)](),_0x3f2f20;}[_0x3719d7(0x1f7)](_0x48b011){var _0x178e47=_0x3719d7;if(this['_checkMissing'](_0x48b011))return this['_clearScheduledTask'](),this[_0x178e47(0x1f0)][_0x178e47(0x3c1)](Q,this['unitID'],this[_0x178e47(0x246)],this['_awaitingChangeset'],[],null,[_0x48b011],this['_handler']);try{const _0x145c6e=this['_transformService'][_0x178e47(0x303)]([_0x48b011],[this[_0x178e47(0x3cf)]],!0x1);if(_0x212dc7(_0x145c6e)){const {c1Prime:_0x1ce716,c2Prime:_0x175c40}=_0x145c6e;this[_0x178e47(0x1d5)](_0x1ce716[0x0]),_0x175c40[0x0]['baseRev']=this[_0x178e47(0x290)](),this['_clearScheduledTask']();const _0x14abc4=this[_0x178e47(0x1f0)][_0x178e47(0x3c1)](_e,this['unitID'],this[_0x178e47(0x246)],_0x175c40[0x0],this[_0x178e47(0x235)]);return _0x14abc4['_updateLocalCache'](),_0x14abc4;}return this[_0x178e47(0x3a0)](!0x1);}catch(_0x39c6dd){return this[_0x178e47(0x3c6)][_0x178e47(0x19b)](_0x39c6dd),this[_0x178e47(0x3a0)](!0x1);}}[_0x3719d7(0x205)](_0x1eb12e){var _0x430765=_0x3719d7;this[_0x430765(0x2bf)]();const _0x5bec96=this[_0x430765(0x3a6)][_0x430765(0x2d2)](this[_0x430765(0x43a)]);if(_0x1eb12e[_0x430765(0x36b)]<_0x5bec96-0x1)return this;if(this[_0x430765(0x2f0)](_0x1eb12e))return this[_0x430765(0x1f0)][_0x430765(0x3c1)](Q,this[_0x430765(0x43a)],this[_0x430765(0x246)],null,[],this['_awaitingChangeset'],[],this['_handler']);this[_0x430765(0x21f)]();const _0x4366e4=this[_0x430765(0x1f0)][_0x430765(0x3c1)](ye,this[_0x430765(0x43a)],this[_0x430765(0x246)],this[_0x430765(0x235)]);return _0x4366e4['_updateLocalCache'](),_0x4366e4;}[_0x3719d7(0x213)](_0x39d402){var _0x450566=_0x3719d7;return this['_onConflict'](!!(_0x39d402!=null&&_0x39d402[_0x450566(0x31e)]));}['onRemoteRetry'](_0x60280f){var _0x278be7=_0x3719d7;return this[_0x278be7(0x33a)]>Ii?this[_0x278be7(0x1c5)]():(this[_0x278be7(0x2ef)]=Si(this[_0x278be7(0x33a)],{'timeout':this[_0x278be7(0x33a)],'reqId':_0x60280f[_0x278be7(0x45b)]}),this[_0x278be7(0x20f)]=this['_resendTimer'][_0x278be7(0x405)](({reqId:_0x5b265f,timeout:_0x4f8c0e})=>{var _0x416305=_0x278be7;this[_0x416305(0x370)](_0x5b265f,_0x4f8c0e);}),this);}[_0x3719d7(0x1c5)](){var _0x3b6c1d=_0x3719d7;return this[_0x3b6c1d(0x2bf)](),this[_0x3b6c1d(0x1f0)][_0x3b6c1d(0x3c1)](ue,this[_0x3b6c1d(0x43a)],this[_0x3b6c1d(0x246)],this[_0x3b6c1d(0x3cf)],[],this[_0x3b6c1d(0x235)]);}[_0x3719d7(0x466)](){return this;}[_0x3719d7(0x399)](){var _0xd3d3f1=_0x3719d7;this[_0xd3d3f1(0x235)]['onSendChangeset'](this[_0xd3d3f1(0x3cf)]);}[_0x3719d7(0x3a0)](_0x22a47){var _0x35f788=_0x3719d7;return this[_0x35f788(0x2bf)](),this[_0x35f788(0x1f0)][_0x35f788(0x3c1)](le,this[_0x35f788(0x43a)],this['type'],this[_0x35f788(0x3cf)],[],this[_0x35f788(0x235)],_0x22a47);}[_0x3719d7(0x370)](_0x587187,_0x1b4226){var _0x28dcc1=_0x3719d7,_0x1b4385;_0x587187===((_0x1b4385=this[_0x28dcc1(0x3cf)])==null?void 0x0:_0x1b4385[_0x28dcc1(0x45b)])&&(this['resend'](),this[_0x28dcc1(0x33a)]=_0x1b4226===0x0?0x3e8:_0x1b4226*0x2);}['_clearScheduledTask'](){var _0x1d1fde=_0x3719d7,_0x4cf260;(_0x4cf260=this['_sender'])==null||_0x4cf260['unsubscribe'](),this[_0x1d1fde(0x33a)]=0x0;}};_e=Ee([P(0x4,_0x9a05e2(_0x220a42)),P(0x5,_0x9a05e2(_0x1882ad)),P(0x6,_0x5491ec),P(0x7,_0x116fbc),P(0x8,_0x53796d),P(0x9,_0x36e271),P(0xa,_0x16e192(J))],_e);let ae=class extends Ie{constructor(_0x8a76,_0x5623a3,_0x5cb571,_0x1c593e,_0x38ddd9,_0x42adbd,_0x19bbfb,_0x2e4acc,_0x3c208c,_0x536d0a,_0x15a8f3,_0x46d23f,_0x53b7f2){var _0x322046=_0x3719d7;super(_0x8a76,_0x5623a3,_0x5cb571,_0x1c593e,_0x38ddd9,_0x3c208c,_0x46d23f,_0x2e4acc,_0x53b7f2),N(this,'status',_0x322046(0x480)),N(this,_0x322046(0x33a),0x0),N(this,_0x322046(0x2ef)),N(this,_0x322046(0x20f)),(this[_0x322046(0x1f0)]=_0x19bbfb,this[_0x322046(0x3c6)]=_0x536d0a,this[_0x322046(0x396)]=_0x15a8f3,this['localCacheService']=_0x53b7f2,_0x42adbd&&(this[_0x322046(0x2ef)]=_0x42adbd,this[_0x322046(0x20f)]=this['_resendTimer'][_0x322046(0x405)](({reqId:_0xa5511d,timeout:_0x5eda72})=>{var _0x32f333=_0x322046;this[_0x32f333(0x370)](_0xa5511d,_0x5eda72);})));}[_0x3719d7(0x191)](_0x27616a){var _0x239683=_0x3719d7;return this['_pendingMutations'][_0x239683(0x33e)](_0x27616a),this;}[_0x3719d7(0x1f7)](_0x1b1033){var _0x406b48=_0x3719d7;if(this['_checkMissing'](_0x1b1033))return this[_0x406b48(0x2bf)](),this[_0x406b48(0x1f0)][_0x406b48(0x3c1)](Q,this['unitID'],this['type'],this['_awaitingChangeset'],this[_0x406b48(0x458)],null,[_0x1b1033],this[_0x406b48(0x235)]);try{const _0x4a9f45=this[_0x406b48(0x396)][_0x406b48(0x303)]([_0x1b1033],[this[_0x406b48(0x3cf)]],!0x1);if(_0x212dc7(_0x4a9f45)){const {c1Prime:_0x44e81e,c2Prime:_0x5632a3}=_0x4a9f45,_0x2ef930=this[_0x406b48(0x396)][_0x406b48(0x1fe)](_0x44e81e[0x0],this[_0x406b48(0x458)]);if(_0x22b450(_0x2ef930)){const {c1Prime:_0x271b3b,m2Prime:_0x3e6e8c}=_0x2ef930;return this[_0x406b48(0x1d5)](_0x271b3b),_0x5632a3[0x0][_0x406b48(0x33d)]=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this[_0x406b48(0x1f0)]['createInstance'](ae,this[_0x406b48(0x43a)],this['type'],_0x5632a3[0x0],_0x3e6e8c,this[_0x406b48(0x235)],void 0x0);}throw _0x2ef930['error'];}throw _0x4a9f45[_0x406b48(0x19b)];}catch(_0x559b04){return this['_logService']['error'](_0x559b04),this['_onConflict'](!0x1);}}[_0x3719d7(0x205)](_0xda2337){var _0x12029d=_0x3719d7;if(this['_clearScheduledTask'](),this[_0x12029d(0x2f0)](_0xda2337))return this[_0x12029d(0x1f0)][_0x12029d(0x3c1)](Q,this[_0x12029d(0x43a)],this['type'],null,this[_0x12029d(0x458)],this['_awaitingChangeset'],[],this['_handler']);this[_0x12029d(0x21f)]();const _0xf34f11=this[_0x12029d(0x1f0)][_0x12029d(0x3c1)](re,this[_0x12029d(0x43a)],this[_0x12029d(0x246)],this[_0x12029d(0x458)],this[_0x12029d(0x235)]);return _0xf34f11[_0x12029d(0x29a)](),_0xf34f11[_0x12029d(0x1ca)](),_0xf34f11;}[_0x3719d7(0x213)](_0x2e9491){var _0x263324=_0x3719d7;return this[_0x263324(0x3a0)](!!(_0x2e9491!=null&&_0x2e9491[_0x263324(0x31e)]));}[_0x3719d7(0x288)](_0x588e5f){var _0x48a8a0=_0x3719d7;return this[_0x48a8a0(0x33a)]>Ii?this[_0x48a8a0(0x1c5)]():(this[_0x48a8a0(0x2ef)]=Si(this[_0x48a8a0(0x33a)],{'timeout':this[_0x48a8a0(0x33a)],'reqId':_0x588e5f[_0x48a8a0(0x45b)]}),this['_sender']=this[_0x48a8a0(0x2ef)][_0x48a8a0(0x405)](({reqId:_0x155dfc,timeout:_0x548ff8})=>{var _0x988ed=_0x48a8a0;this[_0x988ed(0x370)](_0x155dfc,_0x548ff8);}),this);}[_0x3719d7(0x1c5)](){var _0x22746d=_0x3719d7;return this[_0x22746d(0x2bf)](),this['_injector']['createInstance'](ue,this[_0x22746d(0x43a)],this[_0x22746d(0x246)],this[_0x22746d(0x3cf)],this['_pendingMutations'],this[_0x22746d(0x235)]);}[_0x3719d7(0x466)](){return this;}['resend'](){var _0xf7eb0b=_0x3719d7;this[_0xf7eb0b(0x235)][_0xf7eb0b(0x247)](this['_awaitingChangeset']);}[_0x3719d7(0x3a0)](_0x1a830a){var _0x3e2283=_0x3719d7;return this[_0x3e2283(0x2bf)](),this[_0x3e2283(0x1f0)][_0x3e2283(0x3c1)](le,this[_0x3e2283(0x43a)],this[_0x3e2283(0x246)],null,this[_0x3e2283(0x458)],this[_0x3e2283(0x235)],_0x1a830a);}['_resendWithTimeout'](_0x2cf280,_0x369f57){var _0x22cfa1=_0x3719d7,_0x5aaa77;_0x2cf280===((_0x5aaa77=this['_awaitingChangeset'])==null?void 0x0:_0x5aaa77[_0x22cfa1(0x45b)])&&(this[_0x22cfa1(0x399)](),this[_0x22cfa1(0x33a)]=_0x369f57===0x0?0x3e8:_0x369f57*0x2);}[_0x3719d7(0x2bf)](){var _0x3765b1=_0x3719d7,_0x45c24e;(_0x45c24e=this[_0x3765b1(0x20f)])==null||_0x45c24e['unsubscribe'](),this['_resendTimeout']=0x0;}};ae=Ee([P(0x6,_0x9a05e2(_0x220a42)),P(0x7,_0x9a05e2(_0x1882ad)),P(0x8,_0x5491ec),P(0x9,_0x116fbc),P(0xa,_0x53796d),P(0xb,_0x36e271),P(0xc,_0x16e192(J))],ae);let le=class extends Ie{constructor(_0x4b13cd,_0x33b24b,_0x21008a,_0x422199,_0x2006ae,_0x35aef6=!0x1,_0xe06a6,_0x46d1c6,_0x4f6a8d,_0xfeae8d,_0x2c29dd,_0x9a5425,_0x64eb88){var _0x2c0848=_0x3719d7;super(_0x4b13cd,_0x33b24b,_0x21008a,_0x422199,_0x2006ae,_0x46d1c6,_0x4f6a8d,_0xfeae8d,_0x64eb88),N(this,_0x2c0848(0x453),_0x2c0848(0x265)),(this['_isPermissionRej']=_0x35aef6,this['_permissionService']=_0xe06a6,this['_localeService']=_0x2c29dd,this[_0x2c0848(0x32a)]=_0x9a5425,this[_0x2c0848(0x23e)]=_0x64eb88,this[_0x2c0848(0x412)](),this['_clearLocalCache'](),this['_disableEditing']());}[_0x3719d7(0x191)](){return this;}['onRemoteChangeset'](){return this;}[_0x3719d7(0x205)](){return this;}['onRemoteRej'](){return this;}[_0x3719d7(0x288)](){return this;}[_0x3719d7(0x1c5)](){return this;}[_0x3719d7(0x466)](){return this;}[_0x3719d7(0x399)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){var _0x5b2b7f=_0x3719d7,_0x502cc4;(_0x502cc4=this['_localCacheService'])==null||_0x502cc4[_0x5b2b7f(0x307)](this[_0x5b2b7f(0x43a)],this[_0x5b2b7f(0x246)],null,[]);}['_showConflictNotification'](){var _0x33c5f1=_0x3719d7;this[_0x33c5f1(0x441)]?this['_collaborationUIEventService']['emitEvent']({'id':ne[_0x33c5f1(0x40f)]}):this[_0x33c5f1(0x32a)][_0x33c5f1(0x3e6)]({'id':ne[_0x33c5f1(0x22c)]});}[_0x3719d7(0x3d2)](){var _0x248b57=_0x3719d7;this['_permissionService']['updatePermissionPoint'](new _0x52443e(this[_0x248b57(0x43a)])['id'],!0x1);}};le=Ee([P(0x6,_0x9a05e2(_0x1fa5cb)),P(0x7,_0x5491ec),P(0x8,_0x36e271),P(0x9,_0x9a05e2(_0x1882ad)),P(0xa,_0x9a05e2(_0xfa6b6f)),P(0xb,_0x9a05e2(ve)),P(0xc,_0x16e192(J))],le);let ue=class extends Ie{constructor(_0x2618fb,_0x53659f,_0x18e177,_0x3ba328,_0x312eeb,_0x110a11,_0x321326,_0x5022c6,_0x93ff8b,_0x4d275b){var _0x5547eb=_0x3719d7;super(_0x2618fb,_0x53659f,_0x18e177,_0x3ba328,_0x312eeb,_0x5022c6,_0x93ff8b,_0x321326,_0x4d275b),N(this,_0x5547eb(0x453),_0x5547eb(0x1c9)),this[_0x5547eb(0x1f0)]=_0x110a11;}[_0x3719d7(0x191)](_0x44f76c){var _0x236783=_0x3719d7;return this['_pendingMutations']['push'](_0x44f76c),this[_0x236783(0x1ca)](),this;}[_0x3719d7(0x1f7)](_0x248fc8){var _0x22bbc7=_0x3719d7;throw new Error(_0x22bbc7(0x3f5));}['onRemoteAck'](){var _0x5b5ce6=_0x3719d7;throw new Error(_0x5b5ce6(0x2b2));}['onRemoteRej'](){var _0x10c5ec=_0x3719d7;throw new Error(_0x10c5ec(0x3bb));}[_0x3719d7(0x288)](){return this;}[_0x3719d7(0x1c5)](){return this;}['toggleOnline'](){var _0xb8aa7b=_0x3719d7;const {_injector:_0x2de56b,_pendingMutations:_0x15cff7,_awaitingChangeset:_0x3ab54f,unitID:_0x8577f,_handler:_0xcd27f5,type:_0x31dccb}=this,_0xb40054=Ti(_0x2de56b,_0x8577f,_0x31dccb,_0x3ab54f,_0x15cff7,_0xcd27f5);return _0xb40054 instanceof re?_0xb40054[_0xb8aa7b(0x29a)]():(_0xb40054 instanceof ae||_0xb40054 instanceof _e)&&_0xb40054[_0xb8aa7b(0x399)](),_0xb40054;}[_0x3719d7(0x399)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ue=Ee([P(0x5,_0x9a05e2(_0x220a42)),P(0x6,_0x9a05e2(_0x1882ad)),P(0x7,_0x5491ec),P(0x8,_0x36e271),P(0x9,_0x16e192(J))],ue);let Q=class extends Ie{constructor(_0x454e11,_0x55203c,_0x56b725,_0x321baf,_0xfe807,_0x201d6a,_0x309b3e,_0x3487ae,_0x2903f6,_0x10998c,_0x261a33,_0x4c28d3,_0xbd795b,_0x34b1fe){var _0x3ce583=_0x3719d7;super(_0x454e11,_0x55203c,_0x56b725,_0x321baf,_0x309b3e,_0x261a33,_0x4c28d3,_0x2903f6,_0x34b1fe),N(this,_0x3ce583(0x453),'fetch_missing'),(this[_0x3ce583(0x363)]=_0xfe807,this[_0x3ce583(0x407)]=_0x201d6a,this['_injector']=_0x3487ae,this['_logService']=_0x10998c,this[_0x3ce583(0x396)]=_0xbd795b,this['localCacheService']=_0x34b1fe);}[_0x3719d7(0x206)](_0x4f2450){var _0xdb0066=_0x3719d7;try{const _0x305c08=[..._0x4f2450,...this[_0xdb0066(0x407)]],_0x319865=[this[_0xdb0066(0x3cf)]||this[_0xdb0066(0x363)]][_0xdb0066(0x365)](_0x27c911=>!!_0x27c911);let _0x1c04e7,_0x51fad3;if(_0x319865['length']){const _0x1379f9=this['_transformService']['transformChangesets'](_0x305c08,_0x319865,!0x1);if(!_0x212dc7(_0x1379f9))throw _0x1379f9['error'];_0x1c04e7=_0x1379f9[_0xdb0066(0x1e1)],_0x51fad3=_0x1379f9[_0xdb0066(0x314)];}else _0x1c04e7=_0x305c08,_0x51fad3=[];let _0x3ceed5=this[_0xdb0066(0x458)];_0x1c04e7['forEach'](_0x567d1b=>{var _0x17e613=_0xdb0066;let _0x308792;if(_0x3ceed5[_0x17e613(0x463)]){const _0x1a7938=this[_0x17e613(0x396)][_0x17e613(0x1fe)](_0x567d1b,_0x3ceed5);if(!_0x22b450(_0x1a7938))throw _0x1a7938[_0x17e613(0x19b)];_0x308792=_0x1a7938[_0x17e613(0x1e1)],_0x3ceed5=_0x1a7938[_0x17e613(0x278)];}else _0x308792=_0x567d1b;this[_0x17e613(0x1d5)](_0x308792);}),this[_0xdb0066(0x363)]&&this[_0xdb0066(0x21f)](),this['_awaitingChangeset']&&_0x51fad3[_0xdb0066(0x463)]&&(_0x51fad3[0x0][_0xdb0066(0x33d)]=this[_0xdb0066(0x290)]());let _0x347277;if(this[_0xdb0066(0x3cf)]&&_0x3ceed5[_0xdb0066(0x463)]!==0x0)_0x347277=this[_0xdb0066(0x1f0)][_0xdb0066(0x3c1)](ae,this[_0xdb0066(0x43a)],this['type'],_0x51fad3[0x0],_0x3ceed5,this[_0xdb0066(0x235)],void 0x0);else{if(this['_awaitingChangeset']&&_0x3ceed5['length']===0x0)_0x51fad3[0x0][_0xdb0066(0x33d)]=this[_0xdb0066(0x290)](),_0x347277=this[_0xdb0066(0x1f0)]['createInstance'](_e,this['unitID'],this[_0xdb0066(0x246)],_0x51fad3[0x0],this[_0xdb0066(0x235)]);else{if(_0x3ceed5['length']!==0x0){const _0x5865ca=this[_0xdb0066(0x1f0)][_0xdb0066(0x3c1)](re,this[_0xdb0066(0x43a)],this[_0xdb0066(0x246)],_0x3ceed5,this['_handler']);_0x5865ca[_0xdb0066(0x29a)](),_0x347277=_0x5865ca;}else _0x347277=this[_0xdb0066(0x1f0)]['createInstance'](ye,this['unitID'],this[_0xdb0066(0x246)],this[_0xdb0066(0x235)]);}}return _0x347277[_0xdb0066(0x1ca)](),_0x347277;}catch(_0x3fc3c2){return this[_0xdb0066(0x3c6)][_0xdb0066(0x19b)](_0xdb0066(0x2c3),'failed\x20to\x20apply\x20missed\x20changesets!',_0x3fc3c2),this[_0xdb0066(0x1f0)]['createInstance'](le,this[_0xdb0066(0x43a)],this['type'],this[_0xdb0066(0x3cf)],this[_0xdb0066(0x458)],this['_handler'],!0x1);}}[_0x3719d7(0x399)](){var _0x2cbf22=_0x3719d7;throw new Error(_0x2cbf22(0x226));}['appendMutation'](_0x6afb03){var _0x45ca17=_0x3719d7;return this[_0x45ca17(0x458)][_0x45ca17(0x33e)](_0x6afb03),this;}[_0x3719d7(0x1f7)](_0x39fd06){var _0x5c14c2=_0x3719d7;return this[_0x5c14c2(0x407)][_0x5c14c2(0x33e)](_0x39fd06),this;}[_0x3719d7(0x205)](_0x3677ea){var _0x43ea38=_0x3719d7;if(this['_awaitingChangeset'])return this[_0x43ea38(0x363)]=this[_0x43ea38(0x3cf)],this[_0x43ea38(0x3cf)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x3719d7(0x213)](_0x1afd72){var _0x374292=_0x3719d7;return this[_0x374292(0x3a0)](!!(_0x1afd72!=null&&_0x1afd72[_0x374292(0x31e)]));}[_0x3719d7(0x288)](){return this;}[_0x3719d7(0x1c5)](){var _0x469e5e=_0x3719d7;return this['_injector'][_0x469e5e(0x3c1)](ue,this[_0x469e5e(0x43a)],this[_0x469e5e(0x246)],this[_0x469e5e(0x3cf)],this['_pendingMutations'],this['_handler']);}[_0x3719d7(0x466)](){return this;}['_onConflict'](_0xdbf94c){var _0x29ccb0=_0x3719d7;return this[_0x29ccb0(0x1f0)][_0x29ccb0(0x3c1)](le,this[_0x29ccb0(0x43a)],this[_0x29ccb0(0x246)],this[_0x29ccb0(0x3cf)],this[_0x29ccb0(0x458)],this[_0x29ccb0(0x235)],_0xdbf94c);}};Q=Ee([P(0x7,_0x9a05e2(_0x220a42)),P(0x8,_0x9a05e2(_0x1882ad)),P(0x9,_0x116fbc),P(0xa,_0x5491ec),P(0xb,_0x36e271),P(0xc,_0x53796d),P(0xd,_0x16e192(J))],Q);function Ti(_0x5ea504,_0x194605,_0x46683e,_0x115cef,_0x501ea4,_0x3c583f){var _0x129404=_0x3719d7;return _0x115cef&&_0x501ea4[_0x129404(0x463)]?_0x5ea504[_0x129404(0x3c1)](ae,_0x194605,_0x46683e,_0x115cef,_0x501ea4,_0x3c583f,void 0x0):_0x115cef?_0x5ea504[_0x129404(0x3c1)](_e,_0x194605,_0x46683e,_0x115cef,_0x3c583f):_0x501ea4[_0x129404(0x463)]?_0x5ea504[_0x129404(0x3c1)](re,_0x194605,_0x46683e,_0x501ea4,_0x3c583f):_0x5ea504[_0x129404(0x3c1)](ye,_0x194605,_0x46683e,_0x3c583f);}var Bs=Object[_0x3719d7(0x2d0)],wt=(_0x469f75,_0x195514,_0x26bee0,_0x805f48)=>{var _0x6cd343=_0x3719d7;for(var _0x314b69=_0x805f48>0x1?void 0x0:_0x805f48?Bs(_0x195514,_0x26bee0):_0x195514,_0x5c2732=_0x469f75[_0x6cd343(0x463)]-0x1,_0x37a8f8;_0x5c2732>=0x0;_0x5c2732--)(_0x37a8f8=_0x469f75[_0x5c2732])&&(_0x314b69=_0x37a8f8(_0x314b69)||_0x314b69);return _0x314b69;},H=(_0x5a8b18,_0x2067e5)=>(_0x4d3f85,_0x5ed135)=>_0x2067e5(_0x4d3f85,_0x5ed135,_0x5a8b18);let st=class extends _0x103aff{constructor(_0x527863,_0x5676d8,_0x32676f,_0x1f5fcb,_0x17704a,_0x5ef9d8,_0x464071,_0x15766c,_0x4d68ec,_0xf17cb3,_0x2ade5e,_0x4e658d,_0x4689b1){var _0x59813f=_0x3719d7;super(),N(this,_0x59813f(0x269),new _0x261aac(null)),N(this,_0x59813f(0x456),this[_0x59813f(0x269)][_0x59813f(0x1d3)]()),N(this,'_state'),N(this,'_collaborationPaused',!0x1),N(this,_0x59813f(0x3f2),''),N(this,_0x59813f(0x470),0x0),N(this,_0x59813f(0x210),this[_0x59813f(0x456)][_0x59813f(0x285)](_0x2fd62e(_0x2ca8ca=>_0x2ca8ca?_0x2ca8ca[_0x59813f(0x453)]:Ei[_0x59813f(0x1b5)]),_0x2a36ea(0x1))),N(this,_0x59813f(0x232),!0x1),N(this,_0x59813f(0x43e),[]),(this[_0x59813f(0x43a)]=_0x527863,this['session']=_0x5676d8,this[_0x59813f(0x479)]=_0x32676f,this[_0x59813f(0x1f0)]=_0x1f5fcb,this[_0x59813f(0x1bf)]=_0x17704a,this[_0x59813f(0x45a)]=_0x5ef9d8,this[_0x59813f(0x3a6)]=_0x464071,this[_0x59813f(0x1ee)]=_0x15766c,this[_0x59813f(0x3c6)]=_0x4d68ec,this[_0x59813f(0x408)]=_0xf17cb3,this[_0x59813f(0x3b8)]=_0x2ade5e,this[_0x59813f(0x2a2)]=_0x4e658d,this[_0x59813f(0x222)]=_0x4689b1);}get['state'](){var _0x3d936c=_0x3719d7;return this[_0x3d936c(0x379)];}async['init'](){var _0x28dec2=_0x3719d7;if(this[_0x28dec2(0x3b5)])throw new Error(_0x28dec2(0x409));await this[_0x28dec2(0x243)]();}[_0x3719d7(0x46c)](){var _0x27c01c=_0x3719d7;return this[_0x27c01c(0x2a5)]=!0x0,_0x1d27ff(()=>{var _0x1c863d=_0x27c01c;this['_collaborationPaused']=!0x1,this[_0x1c863d(0x2ca)]();});}['onLocalMutation'](_0x2e3df2){var _0x45b57=_0x3719d7;this[_0x45b57(0x2e4)](_0x2e3df2);}[_0x3719d7(0x1b4)](_0x1b3861){var _0xe74f02=_0x3719d7;this[_0xe74f02(0x379)]=_0x1b3861,this['_state$'][_0xe74f02(0x438)](_0x1b3861);}async[_0x3719d7(0x243)](){var _0xaadd01=_0x3719d7,_0x4ec624;this[_0xaadd01(0x1b4)](await this[_0xaadd01(0x325)]()),this['_singleActiveUnitService']&&((_0x4ec624=this[_0xaadd01(0x2a2)])==null||_0x4ec624['editingUnit'](this['unitID']),this[_0xaadd01(0x389)](this[_0xaadd01(0x2a2)][_0xaadd01(0x281)](this[_0xaadd01(0x43a)])['subscribe'](_0x5d0a0c=>{var _0x18a32b=_0xaadd01;this[_0x18a32b(0x3c6)]['debug'](_0x18a32b(0x2ea),'editing\x20status\x20changed\x20to',_0x5d0a0c),_0x5d0a0c===gi[_0x18a32b(0x348)]?(this[_0x18a32b(0x1ee)]['emitEvent']({'id':ne['OTHER_CLIENT_EDITING']}),this[_0x18a32b(0x3b8)][_0x18a32b(0x2af)](new _0x52443e(this[_0x18a32b(0x43a)])['id'],!0x1),this['_permissionService'][_0x18a32b(0x25c)](!0x1)):(this[_0x18a32b(0x3b8)][_0x18a32b(0x2af)](new _0x52443e(this[_0x18a32b(0x43a)])['id'],!0x0),this['_permissionService'][_0x18a32b(0x25c)](!0x0));})));let _0xfe4e2d=!0x1;return this[_0xaadd01(0x389)](this[_0xaadd01(0x2a0)][_0xaadd01(0x1db)]['subscribe'](_0x2476fa=>{var _0x24945e=_0xaadd01;_0x2476fa===ge[_0x24945e(0x3cc)]?this[_0x24945e(0x1e2)](_0xfe4e2d):_0x2476fa===ge[_0x24945e(0x1b5)]&&(_0xfe4e2d=!0x0,this[_0x24945e(0x2c4)]());})),this[_0xaadd01(0x389)](this[_0xaadd01(0x2a0)][_0xaadd01(0x266)][_0xaadd01(0x405)](_0x5ad014=>{var _0x382bd3=_0xaadd01;try{switch(_0x5ad014[_0x382bd3(0x20e)]){case _0x1454f['NEW_CHANGESETS']:{this[_0x382bd3(0x1a0)](_0xf37b2f(_0x5ad014['data']));break;}case _0x1454f[_0x382bd3(0x1b8)]:{this[_0x382bd3(0x2d7)](_0x5ad014[_0x382bd3(0x3a8)]);break;}case _0x1454f[_0x382bd3(0x446)]:{this[_0x382bd3(0x36a)]();break;}case _0x1454f[_0x382bd3(0x40a)]:{this['_onRemoteRetry'](_0x5ad014[_0x382bd3(0x3a8)]);break;}case _0x1454f[_0x382bd3(0x1d6)]:{this[_0x382bd3(0x481)](_0x5ad014[_0x382bd3(0x3a8)][_0x382bd3(0x227)]['map'](_0x51a7ed=>_0xf37b2f(_0x51a7ed)));break;}case _0x1454f[_0x382bd3(0x201)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x1454f[_0x382bd3(0x3c4)]:break;}}catch(_0x39acb9){throw console[_0x382bd3(0x19b)](_0x382bd3(0x29f),_0x39acb9),_0x39acb9;}})),this['_state'];}['_unlockTransition'](){var _0x12de13=_0x3719d7;this[_0x12de13(0x232)]=!0x1;}[_0x3719d7(0x30e)](){var _0x59debe=_0x3719d7;if(this[_0x59debe(0x232)])throw new Error(_0x59debe(0x244));this[_0x59debe(0x232)]=!0x0;}[_0x3719d7(0x2e4)](_0x2a3a20){var _0x143413=_0x3719d7;this[_0x143413(0x30e)](),this[_0x143413(0x1b4)](this['_state']['appendMutation'](_0x2a3a20)),this[_0x143413(0x3ed)]();}[_0x3719d7(0x1a0)](_0x2d8e86){var _0x2c288c=_0x3719d7;if(!(_0x2d8e86['revision']<=this[_0x2c288c(0x3a6)][_0x2c288c(0x2d2)](this['unitID']))){if(this[_0x2c288c(0x2a5)]){this[_0x2c288c(0x43e)][_0x2c288c(0x33e)](_0x2d8e86);return;}this[_0x2c288c(0x2ee)](_0x2d8e86);}}[_0x3719d7(0x2ca)](){var _0x3d18eb=_0x3719d7;this[_0x3d18eb(0x43e)]['forEach'](_0xf2362f=>this[_0x3d18eb(0x2ee)](_0xf2362f)),this['_remoteChangesetQueue']=[];}[_0x3719d7(0x2ee)](_0x3d3778){var _0x3bac29=_0x3719d7;const _0x4c8541=this[_0x3bac29(0x1bf)][_0x3bac29(0x3cd)][_0x3bac29(0x455)](this['_compressMutationService'][_0x3bac29(0x3cd)][_0x3bac29(0x22f)]()['COMPRESS_MUTATION_APPLY'])(_0x3d3778[_0x3bac29(0x1b3)],null)||_0x3d3778[_0x3bac29(0x1b3)],_0x572c32={..._0x3d3778,'mutations':_0x4c8541};this[_0x3bac29(0x30e)](),this[_0x3bac29(0x1b4)](this[_0x3bac29(0x379)][_0x3bac29(0x1f7)](_0x572c32)),this[_0x3bac29(0x3ed)]();}[_0x3719d7(0x2d7)](_0x3c2568){var _0x3e99b1=_0x3719d7;this['_lockTransition'](),this[_0x3e99b1(0x1b4)](this[_0x3e99b1(0x379)][_0x3e99b1(0x205)](_0x3c2568)),this[_0x3e99b1(0x3ed)]();}[_0x3719d7(0x36a)](_0x33d93d){var _0x4fa6e6=_0x3719d7;this[_0x4fa6e6(0x30e)](),this[_0x4fa6e6(0x1b4)](this[_0x4fa6e6(0x379)][_0x4fa6e6(0x213)](_0x33d93d)),this[_0x4fa6e6(0x3ed)]();}[_0x3719d7(0x194)](_0x5d73c7){var _0x331e20=_0x3719d7;this[_0x331e20(0x30e)](),this[_0x331e20(0x1b4)](this[_0x331e20(0x379)]['onRemoteRetry'](_0x5d73c7)),this[_0x331e20(0x3ed)]();}[_0x3719d7(0x481)](_0x3dfbb8){var _0x4baa9d=_0x3719d7;if(!(this[_0x4baa9d(0x379)]instanceof Q))throw new TypeError(_0x4baa9d(0x46d));const _0x58f047=_0x3dfbb8['map'](_0x42a029=>{var _0x54190e=_0x4baa9d;const _0x4b1f92=this[_0x54190e(0x1bf)]['interceptor'][_0x54190e(0x455)](this[_0x54190e(0x1bf)]['interceptor'][_0x54190e(0x22f)]()[_0x54190e(0x1e0)])(_0x42a029['mutations'],null)||_0x42a029[_0x54190e(0x1b3)];return{..._0x42a029,'mutations':_0x4b1f92};});this[_0x4baa9d(0x30e)](),this[_0x4baa9d(0x1b4)](this[_0x4baa9d(0x379)][_0x4baa9d(0x206)](_0x58f047)),this[_0x4baa9d(0x3ed)]();}[_0x3719d7(0x2c4)](){var _0xfc8dc9=_0x3719d7;this[_0xfc8dc9(0x30e)](),this[_0xfc8dc9(0x1b4)](this[_0xfc8dc9(0x379)][_0xfc8dc9(0x1c5)]()),this[_0xfc8dc9(0x3ed)]();}['_toggleOnline'](_0x5954e4=!0x1){var _0x87dc38=_0x3719d7;this[_0x87dc38(0x30e)](),this[_0x87dc38(0x1b4)](this[_0x87dc38(0x379)][_0x87dc38(0x466)]()),this[_0x87dc38(0x3ed)]();const _0x408c90=this[_0x87dc38(0x379)];_0x5954e4&&_0x408c90 instanceof ye&&(this[_0x87dc38(0x30e)](),this['_updateState'](_0x408c90[_0x87dc38(0x199)]()),this['_unlockTransition']());}async[_0x3719d7(0x325)](){return new Promise(_0x284ec1=>{var _0x4b0aff=_0x3e70;this[_0x4b0aff(0x2a0)][_0x4b0aff(0x1db)]['pipe'](_0x17a050(0x1))['subscribe'](async _0x11091c=>{var _0x2e88a2=_0x4b0aff;_0x284ec1(await this[_0x2e88a2(0x280)](_0x11091c===ge[_0x2e88a2(0x3cc)]));});});}[_0x3719d7(0x3da)](){var _0x527cff=_0x3719d7;const _0x1dbe13=this[_0x527cff(0x43a)];return{'onStateChange':(_0x24b63d,_0xba60b4)=>{var _0x21119d=_0x527cff;if(_0x24b63d!==this[_0x21119d(0x379)])throw new Error(_0x21119d(0x250)+_0x24b63d[_0x21119d(0x453)]+'\x0aAfter:\x20'+_0xba60b4[_0x21119d(0x453)]+'\x0aCurrent:\x20'+this[_0x21119d(0x379)][_0x21119d(0x453)]);this[_0x21119d(0x1b4)](_0xba60b4);},'onSendChangeset':_0x21473e=>{var _0x261f4a=_0x527cff;_0x21473e[_0x261f4a(0x2b9)]||(_0x21473e[_0x261f4a(0x2b9)]=this[_0x261f4a(0x3f2)],_0x21473e[_0x261f4a(0x45b)]=++this[_0x261f4a(0x470)]);const _0x4c31e6={'eventID':_0x1454f[_0x261f4a(0x27b)],'data':{'unitID':_0x21473e[_0x261f4a(0x43a)],'unitType':this[_0x261f4a(0x479)],'changeset':_0x21473e,'memberID':this[_0x261f4a(0x2a0)][_0x261f4a(0x23d)]()}};this['session'][_0x261f4a(0x377)](_0x4c31e6,this[_0x261f4a(0x43a)]);},'onMissingChangesets':({from:_0x42ecb6,to:_0x13e5bb})=>{var _0x118887=_0x527cff;this[_0x118887(0x3c6)][_0x118887(0x229)](_0x118887(0x2ea),_0x118887(0x1dd)+_0x42ecb6+_0x118887(0x36d)+_0x13e5bb);const _0x18777a={'eventID':_0x1454f[_0x118887(0x44d)],'data':{'unitID':_0x1dbe13,'unitType':this[_0x118887(0x479)],'from':_0x42ecb6,'to':_0x13e5bb}};this['session'][_0x118887(0x377)](_0x18777a,this[_0x118887(0x43a)]);}};}async[_0x3719d7(0x280)](_0x53b84f){var _0x4c5e45=_0x3719d7,_0x43b162,_0xdcf562,_0x101cf6;const _0x6c674b=await((_0x43b162=this[_0x4c5e45(0x222)])==null?void 0x0:_0x43b162['loadOfflineData'](this[_0x4c5e45(0x43a)])),_0x203f69=(_0xdcf562=_0x6c674b==null?void 0x0:_0x6c674b[_0x4c5e45(0x1b3)])!=null?_0xdcf562:[],_0x27dbb6=(_0x101cf6=_0x6c674b==null?void 0x0:_0x6c674b[_0x4c5e45(0x3b6)])!=null?_0x101cf6:null,_0x54286c=!!(_0x27dbb6!=null&&_0x27dbb6[_0x4c5e45(0x2b9)])&&!!(_0x27dbb6!=null&&_0x27dbb6[_0x4c5e45(0x45b)]);this[_0x4c5e45(0x3f2)]=_0x54286c?_0x27dbb6[_0x4c5e45(0x2b9)]:_0x34342e(),this[_0x4c5e45(0x470)]=_0x54286c?_0x27dbb6[_0x4c5e45(0x45b)]:0x0;const _0xb0626b=this[_0x4c5e45(0x43a)];try{this[_0x4c5e45(0x3c2)](_0x27dbb6,_0x203f69);}catch(_0x4f8f5a){this[_0x4c5e45(0x3c6)][_0x4c5e45(0x19b)](_0x4f8f5a);}const _0x309bb7=this['_createHandler']();if(_0x53b84f){const _0x146a31=Ti(this[_0x4c5e45(0x1f0)],_0xb0626b,this[_0x4c5e45(0x479)],_0x27dbb6,_0x203f69,_0x309bb7);return _0x146a31 instanceof re?_0x146a31[_0x4c5e45(0x29a)]():(_0x146a31 instanceof ae||_0x146a31 instanceof _e)&&_0x146a31[_0x4c5e45(0x399)](),_0x146a31;}return this[_0x4c5e45(0x1f0)]['createInstance'](ue,_0xb0626b,this[_0x4c5e45(0x479)],_0x27dbb6,_0x203f69,_0x309bb7);}[_0x3719d7(0x3c2)](_0x33c452,_0x42693e){var _0xdbcab5=_0x3719d7,_0x104a99,_0x3eb28f;const _0x14896b=this['_compressMutationService'][_0xdbcab5(0x3cd)][_0xdbcab5(0x455)](this[_0xdbcab5(0x1bf)][_0xdbcab5(0x3cd)][_0xdbcab5(0x22f)]()['COMPRESS_MUTATION_APPLY']);(_0x104a99=_0x14896b((_0x33c452==null?void 0x0:_0x33c452[_0xdbcab5(0x1b3)])||[],null))==null||_0x104a99[_0xdbcab5(0x473)](_0x2b58cb=>this[_0xdbcab5(0x408)][_0xdbcab5(0x258)](_0x2b58cb['id'],_0x2b58cb[_0xdbcab5(0x28f)])),(_0x3eb28f=_0x14896b(_0x42693e||[],null))==null||_0x3eb28f[_0xdbcab5(0x473)](_0x17d0bb=>this[_0xdbcab5(0x408)][_0xdbcab5(0x258)](_0x17d0bb['id'],_0x17d0bb[_0xdbcab5(0x28f)]));}};st=wt([H(0x3,_0x9a05e2(_0x220a42)),H(0x4,_0x9a05e2(_0x3bed2b)),H(0x5,_0x9a05e2(_0xfa6b6f)),H(0x6,_0x9a05e2(_0x1882ad)),H(0x7,_0x9a05e2(ve)),H(0x8,_0x116fbc),H(0x9,_0x5491ec),H(0xa,_0x1fa5cb),H(0xb,_0x16e192(ht)),H(0xc,_0x16e192(J))],st);let St=class extends st{constructor(_0x12880a,_0x557186,_0x50483c,_0x57c23c,_0x2db31c,_0x181a01,_0x3f7f98,_0x160bb7,_0x10f81b,_0x3a7b4d,_0x90f26e,_0x3a2a72,_0x5e3a1e){var _0x2d9dd7=_0x3719d7;super(_0x12880a,_0x50483c,_0x557186,_0x57c23c,_0x2db31c,_0x181a01,_0x3f7f98,_0x160bb7,_0x10f81b,_0x3a7b4d,_0x90f26e,_0x3a2a72,_0x5e3a1e),N(this,'_handlerCallback',null),(this['unitID']=_0x12880a,this[_0x2d9dd7(0x246)]=_0x557186);}[_0x3719d7(0x196)](_0x13690c){var _0x4c33f8=_0x3719d7;this[_0x4c33f8(0x429)]=_0x13690c;}[_0x3719d7(0x421)](){var _0x34d0dd=_0x3719d7;this['_handlerCallback']=null,super[_0x34d0dd(0x421)]();}[_0x3719d7(0x3da)](){var _0x2dafdf=_0x3719d7;const _0x491a2d=super[_0x2dafdf(0x3da)]();return _0x491a2d[_0x2dafdf(0x215)]=_0x6ed728=>{var _0xf660f7=_0x2dafdf,_0x3b3802,_0x447407;return(_0x447407=(_0x3b3802=this[_0xf660f7(0x429)])==null?void 0x0:_0x3b3802['onTransformIME'])==null?void 0x0:_0x447407[_0xf660f7(0x255)](_0x3b3802,_0x6ed728);},_0x491a2d[_0x2dafdf(0x2cc)]=_0x4b89b0=>{var _0x484e85=_0x2dafdf,_0x3c7c33,_0x200679;return(_0x200679=(_0x3c7c33=this['_handlerCallback'])==null?void 0x0:_0x3c7c33[_0x484e85(0x2cc)])==null?void 0x0:_0x200679[_0x484e85(0x255)](_0x3c7c33,_0x4b89b0);},_0x491a2d[_0x2dafdf(0x1ac)]=_0x50c2b7=>{var _0x468cc6=_0x2dafdf,_0x56ca9a,_0x1da7eb;return(_0x1da7eb=(_0x56ca9a=this['_handlerCallback'])==null?void 0x0:_0x56ca9a[_0x468cc6(0x1ac)])==null?void 0x0:_0x1da7eb[_0x468cc6(0x255)](_0x56ca9a,_0x50c2b7);},_0x491a2d[_0x2dafdf(0x241)]=_0x3e8b0c=>{var _0x214451=_0x2dafdf,_0x5c928c,_0x389112;return(_0x389112=(_0x5c928c=this[_0x214451(0x429)])==null?void 0x0:_0x5c928c['onSyncEditingCollabCursor'])==null?void 0x0:_0x389112[_0x214451(0x255)](_0x5c928c,_0x3e8b0c);},_0x491a2d[_0x2dafdf(0x2d1)]=_0x4a659e=>{var _0x451422=_0x2dafdf,_0x1adb98,_0x4de5bf,_0x340dbf;if(!((_0x1adb98=this[_0x451422(0x429)])!=null&&_0x1adb98['onTransformRemoteChangesetByIMECache']))throw new Error(_0x451422(0x2ae));return(_0x340dbf=(_0x4de5bf=this['_handlerCallback'])==null?void 0x0:_0x4de5bf['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x340dbf['call'](_0x4de5bf,_0x4a659e);},_0x491a2d[_0x2dafdf(0x233)]=_0x199822=>{var _0x5f2d86=_0x2dafdf,_0x344a1d,_0x326984,_0x1cdb99;if(!((_0x344a1d=this['_handlerCallback'])!=null&&_0x344a1d[_0x5f2d86(0x233)]))throw new Error(_0x5f2d86(0x1b0));return(_0x1cdb99=(_0x326984=this['_handlerCallback'])==null?void 0x0:_0x326984[_0x5f2d86(0x233)])==null?void 0x0:_0x1cdb99[_0x5f2d86(0x255)](_0x326984,_0x199822);},_0x491a2d;}async[_0x3719d7(0x243)](){var _0x150da4=_0x3719d7;const _0x55f1f8=await super['_init']();return this[_0x150da4(0x389)](this[_0x150da4(0x408)][_0x150da4(0x306)]((_0x4bb9c9,_0x4cdd2d)=>{var _0xe22884=_0x150da4;if(_0x4bb9c9[_0xe22884(0x246)]!==_0x1f5e95[_0xe22884(0x41a)]||_0x4cdd2d!=null&&_0x4cdd2d[_0xe22884(0x3f6)]||_0x4cdd2d!=null&&_0x4cdd2d[_0xe22884(0x223)]||_0x4bb9c9['id']===_0x56aa1d['id'])return;const _0x4ff33a=_0x4bb9c9[_0xe22884(0x28f)];if((_0x4ff33a==null?void 0x0:_0x4ff33a[_0xe22884(0x35c)])!==this[_0xe22884(0x43a)])return;const _0xde716c=_0x4bb9c9,_0x1afda0=this['_compressMutationService'][_0xe22884(0x3cd)][_0xe22884(0x455)](this[_0xe22884(0x1bf)][_0xe22884(0x3cd)]['getInterceptPoints']()[_0xe22884(0x477)])([_0xde716c],null)||[_0xde716c];this[_0xe22884(0x2e4)](_0x1afda0[0x0]);})),_0x55f1f8;}};St=wt([H(0x3,_0x9a05e2(_0x220a42)),H(0x4,_0x9a05e2(_0x3bed2b)),H(0x5,_0x9a05e2(_0xfa6b6f)),H(0x6,_0x9a05e2(_0x1882ad)),H(0x7,_0x9a05e2(ve)),H(0x8,_0x116fbc),H(0x9,_0x5491ec),H(0xa,_0x1fa5cb),H(0xb,_0x16e192(ht)),H(0xc,_0x16e192(J))],St);let Et=class extends st{constructor(_0x5abdc2,_0x56cfe4,_0x26d7a7,_0x2873b4,_0x744706,_0x448caf,_0x2e4ccd,_0x2d0fb8,_0xc83465,_0x22dde1,_0x362ac9,_0x57a6e3,_0x195f4a,_0x2e8076){var _0x5b4ca0=_0x3719d7;super(_0x5abdc2,_0x26d7a7,_0x56cfe4,_0x2873b4,_0x744706,_0x448caf,_0x2e4ccd,_0xc83465,_0x22dde1,_0x362ac9,_0x57a6e3,_0x195f4a,_0x2e8076),this[_0x5b4ca0(0x43a)]=_0x5abdc2,this[_0x5b4ca0(0x246)]=_0x56cfe4,this[_0x5b4ca0(0x3a2)]=_0x2d0fb8;}['_createHandler'](){var _0x49bb12=_0x3719d7;const _0x23f9fe=super[_0x49bb12(0x3da)]();return _0x23f9fe[_0x49bb12(0x1ac)]=_0x326dd5=>this[_0x49bb12(0x3a2)][_0x49bb12(0x248)](_0x326dd5),_0x23f9fe;}async[_0x3719d7(0x243)](){var _0x5a2a01=_0x3719d7;const _0x46e2c3=await super['_init']();return this[_0x5a2a01(0x389)](this[_0x5a2a01(0x408)][_0x5a2a01(0x306)]((_0x59889b,_0x4a7b56)=>{var _0xc5d220=_0x5a2a01;if(_0x59889b[_0xc5d220(0x246)]!==_0x1f5e95[_0xc5d220(0x41a)]||_0x4a7b56!=null&&_0x4a7b56[_0xc5d220(0x3f6)]||_0x4a7b56!=null&&_0x4a7b56['onlyLocal'])return;const _0xe9bf1b=_0x59889b['params'];if((_0xe9bf1b==null?void 0x0:_0xe9bf1b['unitId'])!==this[_0xc5d220(0x43a)])return;const _0x5246cc=_0x59889b,_0x54dd82=this[_0xc5d220(0x1bf)][_0xc5d220(0x3cd)][_0xc5d220(0x455)](this[_0xc5d220(0x1bf)]['interceptor'][_0xc5d220(0x22f)]()[_0xc5d220(0x477)])([_0x5246cc],null)||[_0x5246cc];this[_0xc5d220(0x2e4)](_0x54dd82[0x0]);})),_0x46e2c3;}};Et=wt([H(0x3,_0x9a05e2(_0x220a42)),H(0x4,_0x9a05e2(_0x3bed2b)),H(0x5,_0x9a05e2(_0xfa6b6f)),H(0x6,_0x9a05e2(_0x1882ad)),H(0x7,_0x9a05e2(it)),H(0x8,_0x9a05e2(ve)),H(0x9,_0x116fbc),H(0xa,_0x5491ec),H(0xb,_0x1fa5cb),H(0xc,_0x16e192(ht)),H(0xd,_0x16e192(J))],Et);const js=_0x428e84('univer-pro.collaboration-client.network-condition.service');function Fs(_0x49977a){var _0x182133=_0x3719d7,_0x54593c,_0x1ad2dc,_0x313b8a,_0x30b5aa,_0xa8eb1;const _0x5e6b22=_0x49977a[_0x182133(0x3a8)],_0x138eee=JSON['parse'](_0x5e6b22);switch(_0x138eee['cmd']){case F[_0x182133(0x371)]:case F[_0x182133(0x3b1)]:{const _0x59665b=_0x138eee[_0x182133(0x316)];return{..._0x138eee,'data':_0x59665b,'cmd':_0x138eee[_0x182133(0x2c6)]};}case F[_0x182133(0x261)]:{const _0x1c4fa3=_0x138eee['joinRsp'];return{..._0x138eee,'data':_0x1c4fa3,'cmd':_0x138eee[_0x182133(0x2c6)]};}case F['RECV']:{const _0x2e9773=_0x138eee[_0x182133(0x2b8)];switch(_0x2e9773['eventID']){case _0x1454f[_0x182133(0x201)]:return{..._0x138eee,'data':{..._0x2e9773,'data':(_0x54593c=_0x2e9773[_0x182133(0x3d3)])==null?void 0x0:_0x54593c['cs']},'cmd':_0x138eee['cmd']};case _0x1454f[_0x182133(0x1b8)]:return{..._0x138eee,'data':{..._0x2e9773,'data':(_0x1ad2dc=_0x2e9773['csAckEvent'])==null?void 0x0:_0x1ad2dc['cs']},'cmd':_0x138eee[_0x182133(0x2c6)]};case _0x1454f[_0x182133(0x1f9)]:return{..._0x138eee,'data':{..._0x2e9773,'data':(_0x313b8a=_0x2e9773[_0x182133(0x25a)])==null?void 0x0:_0x313b8a['cs']},'cmd':_0x138eee['cmd']};case _0x1454f[_0x182133(0x446)]:return{..._0x138eee,'data':{..._0x2e9773,'data':(_0x30b5aa=_0x2e9773[_0x182133(0x38f)])==null?void 0x0:_0x30b5aa['cs']},'cmd':_0x138eee[_0x182133(0x2c6)]};case _0x1454f['CHANGESET_SHOULD_RETRY']:return{..._0x138eee,'data':{..._0x2e9773,'data':(_0xa8eb1=_0x2e9773['csShouldRetryEvent'])==null?void 0x0:_0xa8eb1['cs']},'cmd':_0x138eee[_0x182133(0x2c6)]};case _0x1454f[_0x182133(0x393)]:return{..._0x138eee,'data':{..._0x2e9773,'data':_0x2e9773[_0x182133(0x2a9)]},'cmd':_0x138eee['cmd']};case _0x1454f[_0x182133(0x471)]:return{..._0x138eee,'data':{..._0x2e9773,'data':_0x2e9773[_0x182133(0x211)]},'cmd':_0x138eee['cmd']};case _0x1454f[_0x182133(0x313)]:return{..._0x138eee,'data':{..._0x2e9773,'data':_0x2e9773[_0x182133(0x398)]},'cmd':_0x138eee['cmd']};case _0x1454f[_0x182133(0x350)]:return{..._0x138eee,'data':{..._0x2e9773,'data':_0x2e9773[_0x182133(0x2b1)]},'cmd':_0x138eee[_0x182133(0x2c6)]};case _0x1454f[_0x182133(0x3d7)]:case _0x1454f['LIVESHARE_OPERATION']:return{..._0x138eee,'data':{..._0x2e9773,'data':_0x2e9773[_0x182133(0x2fe)]},'cmd':_0x138eee[_0x182133(0x2c6)]};case _0x1454f['LIVESHARE_TERMINATE']:return{..._0x138eee,'data':{..._0x2e9773,'data':_0x2e9773[_0x182133(0x2b1)]},'cmd':_0x138eee['cmd']};case _0x1454f[_0x182133(0x195)]:return{..._0x138eee,'data':_0x2e9773,'cmd':_0x138eee['cmd']};case _0x1454f[_0x182133(0x419)]:return{..._0x138eee,'data':{..._0x2e9773,'data':_0x2e9773[_0x182133(0x3dc)]},'cmd':_0x138eee[_0x182133(0x2c6)]};case _0x1454f[_0x182133(0x46a)]:return{..._0x138eee,'data':{..._0x2e9773,'data':_0x2e9773[_0x182133(0x442)]},'cmd':_0x138eee[_0x182133(0x2c6)]};case _0x1454f['SHOULD_CLOSE_CONN']:return{..._0x138eee,'data':{..._0x2e9773,'data':_0x2e9773['shouldCloseConn']},'cmd':_0x138eee[_0x182133(0x2c6)]};case _0x1454f[_0x182133(0x3c4)]:return{..._0x138eee,'data':{..._0x2e9773,'data':_0x2e9773['uniscriptRunEvent']},'cmd':_0x138eee[_0x182133(0x2c6)]};default:return _0x138eee;}}default:return _0x138eee;}}function Vs(_0x3091b4){var _0x213cb3=_0x3719d7;switch(_0x3091b4['cmd']){case F[_0x213cb3(0x371)]:case F[_0x213cb3(0x3b1)]:return JSON[_0x213cb3(0x2c8)]({'cmd':_0x3091b4['cmd'],'routeKey':_0x3091b4[_0x213cb3(0x228)]});case F[_0x213cb3(0x262)]:{let _0x52dfc0;switch(_0x3091b4['data'][_0x213cb3(0x20e)]){case _0x1454f['UPDATE_CURSOR']:{_0x52dfc0={'eventID':_0x1454f[_0x213cb3(0x393)],'updateCursorEvent':_0x3091b4[_0x213cb3(0x3a8)][_0x213cb3(0x3a8)]};break;}case _0x1454f[_0x213cb3(0x313)]:{_0x52dfc0={'eventID':_0x1454f[_0x213cb3(0x313)],'leaveEvent':_0x3091b4[_0x213cb3(0x3a8)][_0x213cb3(0x3a8)]};break;}case _0x1454f[_0x213cb3(0x471)]:{_0x52dfc0={'eventID':_0x1454f[_0x213cb3(0x471)],'joinEvent':_0x3091b4[_0x213cb3(0x3a8)][_0x213cb3(0x3a8)]};break;}case _0x1454f[_0x213cb3(0x350)]:{_0x52dfc0={'eventID':_0x1454f[_0x213cb3(0x350)],'liveShareNewHost':_0x3091b4[_0x213cb3(0x3a8)][_0x213cb3(0x3a8)]};break;}case _0x1454f['LIVESHARE_OPERATION']:{_0x52dfc0={'eventID':_0x1454f['LIVESHARE_OPERATION'],'liveShareOperation':_0x3091b4[_0x213cb3(0x3a8)][_0x213cb3(0x3a8)]};break;}case _0x1454f[_0x213cb3(0x3c5)]:{_0x52dfc0={'eventID':_0x1454f[_0x213cb3(0x3c5)],'liveShareTerminate':_0x3091b4[_0x213cb3(0x3a8)][_0x213cb3(0x3a8)]};break;}case _0x1454f['LIVESHARE_REQUEST_HOST']:{_0x52dfc0={'eventID':_0x1454f[_0x213cb3(0x3f8)],'liveShareRequestHost':_0x3091b4[_0x213cb3(0x3a8)][_0x213cb3(0x3a8)]};break;}case _0x1454f[_0x213cb3(0x3d7)]:{_0x52dfc0={'eventID':_0x1454f[_0x213cb3(0x3d7)]};break;}default:_0x52dfc0={'eventID':_0x3091b4[_0x213cb3(0x3a8)]['eventID']};}return JSON['stringify']({'cmd':_0x3091b4[_0x213cb3(0x2c6)],'routeKey':_0x3091b4[_0x213cb3(0x228)],'collaMsg':_0x52dfc0});}case F['JOIN']:return JSON[_0x213cb3(0x2c8)]({'cmd':_0x3091b4[_0x213cb3(0x2c6)],'routeKey':_0x3091b4[_0x213cb3(0x228)],'joinReq':_0x3091b4[_0x213cb3(0x3a8)]});case F[_0x213cb3(0x19c)]:return JSON[_0x213cb3(0x2c8)]({'cmd':_0x3091b4[_0x213cb3(0x2c6)],'routeKey':_0x3091b4[_0x213cb3(0x228)],'leaveReq':_0x3091b4[_0x213cb3(0x3a8)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Ws=Object[_0x3719d7(0x2d0)],Gs=(_0x1b15da,_0x41e19a,_0x35dabd,_0x366240)=>{var _0x304130=_0x3719d7;for(var _0x5c9586=_0x366240>0x1?void 0x0:_0x366240?Ws(_0x41e19a,_0x35dabd):_0x41e19a,_0x24129a=_0x1b15da[_0x304130(0x463)]-0x1,_0xca1256;_0x24129a>=0x0;_0x24129a--)(_0xca1256=_0x1b15da[_0x24129a])&&(_0x5c9586=_0xca1256(_0x5c9586)||_0x5c9586);return _0x5c9586;},De=(_0x3ffad6,_0x3a128a)=>(_0x67ad0d,_0x3afd4f)=>_0x3a128a(_0x67ad0d,_0x3afd4f,_0x3ffad6);const Ci=_0x428e84(_0x3719d7(0x31c));function Ys(_0x2a839e,_0x39c654,_0x1cee3a){var _0x3117b9=_0x3719d7;return _0x2a839e+'/'+_0x39c654+_0x3117b9(0x368)+_0x1cee3a+'/new_changes';}let Gt=class extends _0x3c4e94{constructor(_0x28cd61,_0x4a3c39,_0x2193cb,_0x386bf6,_0x2282b8){var _0x40bd41=_0x3719d7;super(),this['_injector']=_0x28cd61,this[_0x40bd41(0x3a3)]=_0x4a3c39,this[_0x40bd41(0x2b3)]=_0x2193cb,this['_logService']=_0x386bf6,this[_0x40bd41(0x2f3)]=_0x2282b8;}[_0x3719d7(0x460)](_0x2cef70){var _0x5e784d=_0x3719d7;const _0x3342a2=this[_0x5e784d(0x1f0)]['get'](_0x201287);if(!_0x3342a2)throw new Error(_0x5e784d(0x2ed));const _0x5a9809=_0x3342a2[_0x5e784d(0x3e1)](_0x2cef70);if(!_0x5a9809)throw new Error(_0x5e784d(0x264));const _0x322758=new _0x380f49(),_0x5a8e5b=new _0x3ca5c9();_0x322758[_0x5e784d(0x3e4)](_0x5a9809[_0x5e784d(0x329)][_0x5e784d(0x405)](_0x45e8ff=>_0x5a8e5b[_0x5e784d(0x438)](_0x45e8ff))),_0x322758[_0x5e784d(0x3e4)](_0x1d27ff(()=>_0x5a8e5b[_0x5e784d(0x319)]()));const _0x469370=new _0x3ca5c9();_0x322758[_0x5e784d(0x3e4)](_0x5a9809[_0x5e784d(0x461)]['subscribe'](_0x109337=>_0x469370[_0x5e784d(0x438)](_0x109337))),_0x322758['add'](_0x1d27ff(()=>_0x469370['complete']()));const _0x30bbe8=new _0x3ca5c9();_0x322758[_0x5e784d(0x3e4)](_0x5a9809[_0x5e784d(0x3e5)][_0x5e784d(0x405)](_0x24a8c5=>{var _0x4c5118=_0x5e784d;const _0x395338=Fs(_0x24a8c5);_0x30bbe8[_0x4c5118(0x438)](_0x395338);})),_0x322758[_0x5e784d(0x3e4)](_0x1d27ff(()=>_0x30bbe8[_0x5e784d(0x319)]()));let _0x3616e5;const _0x17aaea=()=>{var _0x194a4=_0x5e784d;_0x469370[_0x194a4(0x438)](new Event(_0x194a4(0x3ff))),_0x5a8e5b[_0x194a4(0x438)](new Event(_0x194a4(0x3ff))),_0x3616e5[_0x194a4(0x276)]();};return _0x3616e5={'memberID':'','close$':_0x5a8e5b[_0x5e784d(0x1d3)](),'error$':_0x469370[_0x5e784d(0x1d3)](),'open$':_0x5a9809[_0x5e784d(0x454)],'message$':_0x30bbe8[_0x5e784d(0x1d3)](),'send':_0x42b2eb=>{var _0x3b1eae=_0x5e784d;if(_0x42b2eb[_0x3b1eae(0x2c6)]===F['INGEST']){if(_0x42b2eb['data'][_0x3b1eae(0x20e)]===_0x1454f[_0x3b1eae(0x27b)]){this[_0x3b1eae(0x283)](_0x3616e5,_0x42b2eb[_0x3b1eae(0x3a8)])[_0x3b1eae(0x327)](_0x3261b6=>{var _0x3af60f=_0x3b1eae;this['_logService'][_0x3af60f(0x19b)](_0x3261b6),_0x17aaea();});return;}if(_0x42b2eb[_0x3b1eae(0x3a8)][_0x3b1eae(0x20e)]===_0x1454f[_0x3b1eae(0x44d)]){const _0x5c9895=_0x42b2eb['data'];this[_0x3b1eae(0x359)](_0x5c9895)[_0x3b1eae(0x433)](_0x47c4a1=>{var _0x4e1745=_0x3b1eae;_0x30bbe8['next']({'cmd':F[_0x4e1745(0x37b)],'code':pe['OK'],'routeKey':_0x5c9895[_0x4e1745(0x3a8)][_0x4e1745(0x43a)],'routeType':'','data':{'eventID':_0x1454f['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x47c4a1}}});})[_0x3b1eae(0x327)](_0x4d12a0=>{var _0x5d81f7=_0x3b1eae;this[_0x5d81f7(0x3c6)][_0x5d81f7(0x19b)](_0x4d12a0),_0x17aaea();});return;}}_0x5a9809['send'](Vs(_0x42b2eb));},'close':()=>{var _0xf30c37=_0x5e784d;_0x5a9809[_0xf30c37(0x276)](),_0x322758[_0xf30c37(0x421)]();}},_0x3616e5;}async['_submitChangeset'](_0x2ff656,_0x4a0a96){var _0x3dc482=_0x3719d7,_0x1bc046;const {unitType:_0x495c1e,unitID:_0x390bab,changeset:_0x4c5671}=_0x4a0a96[_0x3dc482(0x3a8)],_0x4800e5={'unitID':_0x390bab,'memberID':_0x2ff656[_0x3dc482(0x422)],'type':_0x495c1e,'changeset':_0x3c14dd(_0x4c5671)},_0x5d38ae=this[_0x3dc482(0x2b3)][_0x3dc482(0x277)](K),_0x1d1068=Ys((_0x1bc046=_0x5d38ae==null?void 0x0:_0x5d38ae[_0x3dc482(0x1ba)])!=null?_0x1bc046:Cs,_0x495c1e,_0x390bab);try{await this[_0x3dc482(0x3a3)][_0x3dc482(0x26b)](_0x1d1068,{'body':_0x4800e5});}catch(_0x580bcd){throw this[_0x3dc482(0x3c6)][_0x3dc482(0x19b)](_0x3dc482(0x1ce),'submit\x20changeset\x20error!'),_0x580bcd;}}async[_0x3719d7(0x359)](_0x57104e){var _0x21ba5b=_0x3719d7;const {unitID:_0xa4de23,from:_0x893e26,to:_0x48ddb8,unitType:_0x1efffc}=_0x57104e[_0x21ba5b(0x3a8)];return(await this[_0x21ba5b(0x2f3)][_0x21ba5b(0x2aa)]({'metadata':void 0x0},{'unitID':_0xa4de23,'type':_0x1efffc,'from':_0x893e26,'to':_0x48ddb8}))[_0x21ba5b(0x227)];}};Gt=Gs([De(0x0,_0x9a05e2(_0x220a42)),De(0x1,_0x9a05e2(_0x4ae839)),De(0x2,_0x3f20e3),De(0x3,_0x116fbc),De(0x4,_0x364d64)],Gt);var Ks=Object[_0x3719d7(0x2d0)],qs=(_0xc45bfd,_0x3efd99,_0x53c14f,_0x5868f0)=>{var _0xa7a84d=_0x3719d7;for(var _0x270ddc=_0x5868f0>0x1?void 0x0:_0x5868f0?Ks(_0x3efd99,_0x53c14f):_0x3efd99,_0x2512d6=_0xc45bfd[_0xa7a84d(0x463)]-0x1,_0x572f0d;_0x2512d6>=0x0;_0x2512d6--)(_0x572f0d=_0xc45bfd[_0x2512d6])&&(_0x270ddc=_0x572f0d(_0x270ddc)||_0x270ddc);return _0x270ddc;},Re=(_0x4322fd,_0xd19adc)=>(_0x6b58e4,_0x35fff7)=>_0xd19adc(_0x6b58e4,_0x35fff7,_0x4322fd);let Pe=class extends _0x3c4e94{constructor(_0x30e926,_0x3485b1,_0x55de94,_0x5af34,_0x32361e,_0x137515){var _0x32924d=_0x3719d7;super(),N(this,_0x32924d(0x289),new _0x261aac(void 0x0)),N(this,_0x32924d(0x384),this[_0x32924d(0x289)][_0x32924d(0x1d3)]()),N(this,'_candidateSocket',null),N(this,'_sessions',new Map()),N(this,_0x32924d(0x425),new _0x261aac(ge[_0x32924d(0x372)])),N(this,_0x32924d(0x210),this[_0x32924d(0x425)][_0x32924d(0x1d3)]()),N(this,_0x32924d(0x18e),!0x1),N(this,_0x32924d(0x330)),N(this,_0x32924d(0x279),0x0),N(this,_0x32924d(0x2b7)),N(this,_0x32924d(0x3aa)),(this[_0x32924d(0x1f0)]=_0x30e926,this[_0x32924d(0x3c6)]=_0x3485b1,this[_0x32924d(0x2b3)]=_0x55de94,this[_0x32924d(0x202)]=_0x5af34,this['_collaborationUIEventService']=_0x32361e,this[_0x32924d(0x26e)]=_0x137515,this['_listenToNetworkCondition']());}get['_socket'](){var _0x2c12db=_0x3719d7;return this[_0x2c12db(0x289)][_0x2c12db(0x297)]();}[_0x3719d7(0x287)](){var _0x228927=_0x3719d7;this['_networkConditionService']&&this[_0x228927(0x389)](this[_0x228927(0x26e)]['online$']['subscribe'](_0x142884=>{var _0x1772c6=_0x228927;_0x142884&&!this[_0x1772c6(0x2f9)]&&this['reconnect'](),_0x142884||this[_0x1772c6(0x3a4)]();}));}[_0x3719d7(0x421)](){var _0x40bc71=_0x3719d7;super[_0x40bc71(0x421)](),this[_0x40bc71(0x39e)](),this[_0x40bc71(0x2fd)](),this[_0x40bc71(0x3dd)](),this[_0x40bc71(0x3bc)][_0x40bc71(0x473)](_0x253b2c=>_0x253b2c[_0x40bc71(0x421)]()),this[_0x40bc71(0x3bc)][_0x40bc71(0x1de)](),this['_status$'][_0x40bc71(0x319)]();}async['requireSession'](_0x840b5d){var _0x19f300=_0x3719d7;if(this['_sessions'][_0x19f300(0x3f0)](_0x840b5d))return this['_sessions'][_0x19f300(0x3b3)](_0x840b5d);this['_tryEnsureSocket']();const _0x4a27dc=this['_injector']['createInstance'](gt,_0x840b5d,this['_socket$'][_0x19f300(0x1d3)]());return this[_0x19f300(0x3bc)][_0x19f300(0x1cb)](_0x840b5d,_0x4a27dc),_0x4a27dc;}[_0x3719d7(0x3ad)](_0x42359f){var _0x36ed3d=_0x3719d7,_0x328a3c;const _0x5770cb=this[_0x36ed3d(0x3bc)][_0x36ed3d(0x3b3)](_0x42359f);_0x5770cb&&(this[_0x36ed3d(0x3bc)][_0x36ed3d(0x1d9)](_0x42359f),_0x5770cb[_0x36ed3d(0x276)]()),this[_0x36ed3d(0x3bc)][_0x36ed3d(0x192)]||(_0x328a3c=this[_0x36ed3d(0x2f9)])==null||_0x328a3c[_0x36ed3d(0x276)]();}['reconnect'](){var _0x76480a=_0x3719d7;this[_0x76480a(0x279)]=0x0,this[_0x76480a(0x39e)](),this[_0x76480a(0x1e3)]();}[_0x3719d7(0x39e)](){var _0x22a88e=_0x3719d7;this[_0x22a88e(0x330)]!=null&&(clearTimeout(this[_0x22a88e(0x330)]),this[_0x22a88e(0x330)]=null);}async[_0x3719d7(0x1f6)](){var _0x38dcb3=_0x3719d7,_0x35cfea;const _0x2f59c8=this[_0x38dcb3(0x2b3)][_0x38dcb3(0x277)](K),_0x139600=(_0x35cfea=_0x2f59c8==null?void 0x0:_0x2f59c8['collabWebSocketUrl'])!=null?_0x35cfea:ms,_0x2f8892=await this[_0x38dcb3(0x202)][_0x38dcb3(0x3e1)](_0x139600);return this['_candidateSocket']=_0x2f8892,_0x2f8892;}async[_0x3719d7(0x3fd)](){var _0x180604=_0x3719d7,_0x59c00b,_0x3e74de;try{const _0x2e60b4=(_0x3e74de=(_0x59c00b=this['_socket'])!=null?_0x59c00b:this['_candidateSocket'])!=null?_0x3e74de:await this[_0x180604(0x1f6)]();if(_0x2e60b4){const _0x36ad9d=_0x2e60b4[_0x180604(0x377)];_0x2e60b4['send']=_0x21341c=>(this['_rescheduleHeartbeat'](),_0x36ad9d['apply'](_0x2e60b4,[_0x21341c])),_0x2e60b4[_0x180604(0x3e5)][_0x180604(0x405)](_0x1fd65f=>this[_0x180604(0x42f)](_0x2e60b4,_0x1fd65f)),_0x2e60b4[_0x180604(0x461)][_0x180604(0x285)](_0x3d8f27(0x1))['subscribe'](_0x5416c9=>this['_logService'][_0x180604(0x19b)](_0x180604(0x343),_0x5416c9)),_0x2e60b4['open$']['pipe'](_0x3d8f27(0x1))[_0x180604(0x405)](()=>{var _0x1ae6af=_0x180604;this[_0x1ae6af(0x19e)](_0x2e60b4);}),_0x2e60b4[_0x180604(0x329)]['pipe'](_0x3d8f27(0x1))[_0x180604(0x405)](_0x1f0cb2=>{var _0x27f564=_0x180604;this[_0x27f564(0x3c6)]['debug']('[CollaborationSessionService]','socket\x20close',_0x1f0cb2),this['_onConnectionFailed']();});}}catch(_0x4b26f4){this['_logService'][_0x180604(0x19b)](_0x4b26f4),this[_0x180604(0x19f)]();}}['_onConnectionOpen'](_0x389ef1){var _0x188386=_0x3719d7;this['_logService'][_0x188386(0x229)](_0x188386(0x1be),_0x188386(0x451)),_0x389ef1[_0x188386(0x377)]({'cmd':F[_0x188386(0x3b1)]}),this[_0x188386(0x294)]();}['_onOffline'](){var _0x17ac0f=_0x3719d7;this['_socketReady']=!0x1,this[_0x17ac0f(0x45c)]=null,this[_0x17ac0f(0x425)][_0x17ac0f(0x438)](ge['OFFLINE']),this[_0x17ac0f(0x289)]['next'](null),this[_0x17ac0f(0x2fd)](),this[_0x17ac0f(0x3dd)]();}[_0x3719d7(0x19f)](){var _0x50a558=_0x3719d7,_0x56be1a;this[_0x50a558(0x3a4)](),this[_0x50a558(0x279)]<((_0x56be1a=this['_configService']['getConfig'](Is))!=null?_0x56be1a:Ts)?(this[_0x50a558(0x32a)][_0x50a558(0x3e6)]({'id':ne[_0x50a558(0x3b2)]}),this[_0x50a558(0x1e3)]()):this[_0x50a558(0x32a)][_0x50a558(0x3e6)]({'id':ne[_0x50a558(0x30a)]});}[_0x3719d7(0x1e3)](){var _0x555111=_0x3719d7,_0x51c8f0;const _0xcbbcde=this[_0x555111(0x279)],_0x4daebe=this[_0x555111(0x2b3)]['getConfig'](K),_0x2791de=_0xcbbcde===0x0?0x0:((_0x51c8f0=_0x4daebe==null?void 0x0:_0x4daebe[_0x555111(0x308)])!=null?_0x51c8f0:Es)*0x2**_0xcbbcde;this[_0x555111(0x330)]=setTimeout(()=>{var _0x19a8c4=_0x555111;clearTimeout(this[_0x19a8c4(0x330)]),this[_0x19a8c4(0x330)]=null,this[_0x19a8c4(0x3fd)]();},_0x2791de),this[_0x555111(0x279)]+=0x1;}['_onMessage'](_0x8d2d36,_0x400eba){var _0x399c4a=_0x3719d7;const {cmd:_0x26a6e2}=_0x400eba;_0x26a6e2===F[_0x399c4a(0x3b1)]&&!this['_socketReady']&&(_0x8d2d36['memberID']=_0x400eba[_0x399c4a(0x3a8)][_0x399c4a(0x422)],this['_socket$'][_0x399c4a(0x438)](_0x8d2d36),this['_status$'][_0x399c4a(0x438)](ge['ONLINE']),this[_0x399c4a(0x18e)]=!0x0,this['_candidateSocket']=null),_0x26a6e2===F[_0x399c4a(0x371)]&&this[_0x399c4a(0x2fd)](),this['_rescheduleHeartbeat']();}[_0x3719d7(0x294)](){var _0x3ce8f5=_0x3719d7,_0x152ab4;this[_0x3ce8f5(0x3dd)](),this[_0x3ce8f5(0x2b7)]=setTimeout(()=>this[_0x3ce8f5(0x26a)](),(_0x152ab4=this[_0x3ce8f5(0x2b3)][_0x3ce8f5(0x277)](gs))!=null?_0x152ab4:Ss);}[_0x3719d7(0x26a)](){var _0x4384f4=_0x3719d7;this['_socket'][_0x4384f4(0x377)]({'cmd':F['HEARTBEAT']}),this[_0x4384f4(0x2de)]();}[_0x3719d7(0x2de)](){var _0x1eac75=_0x3719d7,_0x3c7d13;this[_0x1eac75(0x3aa)]=setTimeout(()=>this[_0x1eac75(0x19f)](),(_0x3c7d13=this['_configService'][_0x1eac75(0x277)](di))!=null?_0x3c7d13:fi);}[_0x3719d7(0x3dd)](){var _0x2ddd07=_0x3719d7;this[_0x2ddd07(0x2b7)]!=null&&(clearTimeout(this[_0x2ddd07(0x2b7)]),this['_sendHeartbeatTimer']=null);}['_clearTimeoutTimer'](){var _0x2eb79a=_0x3719d7;this[_0x2eb79a(0x3aa)]!=null&&(clearTimeout(this[_0x2eb79a(0x3aa)]),this[_0x2eb79a(0x3aa)]=null);}};Pe=qs([Re(0x0,_0x9a05e2(_0x220a42)),Re(0x1,_0x116fbc),Re(0x2,_0x3f20e3),Re(0x3,Ci),Re(0x4,_0x9a05e2(ve)),Re(0x5,_0x16e192(js))],Pe);var zs=Object[_0x3719d7(0x2d0)],Js=(_0x28990c,_0x415d8f,_0x22ab7c,_0x47b21c)=>{var _0x3558e4=_0x3719d7;for(var _0x48d73b=_0x47b21c>0x1?void 0x0:_0x47b21c?zs(_0x415d8f,_0x22ab7c):_0x415d8f,_0x395776=_0x28990c[_0x3558e4(0x463)]-0x1,_0xe94aa7;_0x395776>=0x0;_0x395776--)(_0xe94aa7=_0x28990c[_0x395776])&&(_0x48d73b=_0xe94aa7(_0x48d73b)||_0x48d73b);return _0x48d73b;},Be=(_0x9ddf55,_0x46df37)=>(_0x1d450a,_0x1e0107)=>_0x46df37(_0x1d450a,_0x1e0107,_0x9ddf55);let nt=class extends _0x103aff{constructor(_0x50a984,_0x4de8b8,_0xbffc7b,_0x30d4d8){var _0x50f957=_0x3719d7,_0x186601;super(),N(this,'_entities',new Map()),N(this,_0x50f957(0x298),new _0x3ca5c9()),N(this,_0x50f957(0x42b),this[_0x50f957(0x298)][_0x50f957(0x1d3)]()),(this[_0x50f957(0x1f0)]=_0x50a984,this[_0x50f957(0x305)]=_0x4de8b8,this[_0x50f957(0x2b3)]=_0xbffc7b,this[_0x50f957(0x484)]=_0x30d4d8,((_0x186601=this[_0x50f957(0x2b3)]['getConfig'](K))==null?void 0x0:_0x186601['enableCollaboration'])!==!0x1&&this['_init']());}[_0x3719d7(0x421)](){var _0x453624=_0x3719d7;super['dispose'](),this['_entities']['forEach'](_0x3e4d9e=>_0x3e4d9e['dispose']()),this[_0x453624(0x44a)]['clear']();}[_0x3719d7(0x1e4)](_0x193611){var _0x4eec28=_0x3719d7,_0x57cdb6;return(_0x57cdb6=this[_0x4eec28(0x44a)][_0x4eec28(0x3b3)](_0x193611))!=null?_0x57cdb6:null;}['getCollabEntity$'](_0x698ef0){var _0x3d8b5a=_0x3719d7;const _0x44f1d1=this[_0x3d8b5a(0x1e4)](_0x698ef0);return _0x44f1d1?_0x224c4f(_0x44f1d1):this[_0x3d8b5a(0x298)][_0x3d8b5a(0x285)](_0x1e33d7(_0x7f8faf=>_0x7f8faf[_0x3d8b5a(0x43a)]===_0x698ef0));}[_0x3719d7(0x44c)](_0x5ed621){var _0x4d7fc1=_0x3719d7;return _0x4d9741(this['getCollabEntity$'](_0x5ed621)[_0x4d7fc1(0x285)](_0x5a13d1(()=>{})));}[_0x3719d7(0x243)](){var _0x4e6a79=_0x3719d7;this['_univerInstanceService'][_0x4e6a79(0x42e)](_0x14a7db[_0x4e6a79(0x1eb)])[_0x4e6a79(0x285)](_0x4176c5(this[_0x4e6a79(0x361)]),_0x1e3ec4(0x10))[_0x4e6a79(0x405)](async _0x512b0b=>{var _0x550d78=_0x4e6a79;const _0x2ca89a=_0x512b0b['getUnitId'](),_0xcda845=await this[_0x550d78(0x3b9)](_0x2ca89a,Z[_0x550d78(0x1eb)]);this[_0x550d78(0x44a)][_0x550d78(0x1cb)](_0x2ca89a,_0xcda845);}),this[_0x4e6a79(0x484)][_0x4e6a79(0x42e)](_0x14a7db[_0x4e6a79(0x406)])[_0x4e6a79(0x285)](_0x4176c5(this['dispose$']),_0x1e3ec4(0x10))[_0x4e6a79(0x285)](_0x1e33d7(_0x4f1d84=>!_0x4f1d84['getUnitId']()[_0x4e6a79(0x2c2)]('__')))[_0x4e6a79(0x405)](async _0x39eb85=>{var _0x567136=_0x4e6a79;const _0x310fba=_0x39eb85[_0x567136(0x354)](),_0x863877=await this['_startCollaboration'](_0x310fba,Z[_0x567136(0x406)]);this[_0x567136(0x44a)][_0x567136(0x1cb)](_0x310fba,_0x863877);}),_0x2f8997(this['_univerInstanceService'][_0x4e6a79(0x369)](_0x14a7db[_0x4e6a79(0x1eb)]),this[_0x4e6a79(0x484)][_0x4e6a79(0x369)](_0x14a7db[_0x4e6a79(0x406)]))[_0x4e6a79(0x285)](_0x4176c5(this[_0x4e6a79(0x361)]))[_0x4e6a79(0x405)](_0x3211d0=>{var _0x26d4a2=_0x4e6a79;const _0x212175=_0x3211d0['getUnitId'](),_0x2981ce=this[_0x26d4a2(0x44a)]['get'](_0x212175);_0x2981ce&&(_0x2981ce[_0x26d4a2(0x421)](),this[_0x26d4a2(0x44a)][_0x26d4a2(0x1d9)](_0x212175));});}async['_startCollaboration'](_0x4de581,_0x4e753e){var _0x40b189=_0x3719d7;const _0xd760d3=await this[_0x40b189(0x305)]['requireSession'](_0x4de581),_0x43bb58=this[_0x40b189(0x1f0)][_0x40b189(0x3c1)](this[_0x40b189(0x1d2)](_0x4e753e),_0x4de581,_0x4e753e,_0xd760d3);return await _0x43bb58[_0x40b189(0x478)](),this[_0x40b189(0x298)][_0x40b189(0x438)](_0x43bb58),_0x43bb58;}[_0x3719d7(0x1d2)](_0x23b2b5){var _0x235a0b=_0x3719d7;switch(_0x23b2b5){case Z[_0x235a0b(0x406)]:return St;case Z[_0x235a0b(0x1eb)]:return Et;default:throw new Error(_0x235a0b(0x31f)+_0x23b2b5);}}};nt=Js([Be(0x0,_0x9a05e2(_0x220a42)),Be(0x1,_0x9a05e2(Pe)),Be(0x2,_0x3f20e3),Be(0x3,_0x3b570d)],nt);var Xs=Object[_0x3719d7(0x2d0)],Zs=(_0x6ee165,_0x22b4c7,_0x2f246d,_0x13d112)=>{var _0x3a52c9=_0x3719d7;for(var _0x5e56ad=_0x13d112>0x1?void 0x0:_0x13d112?Xs(_0x22b4c7,_0x2f246d):_0x22b4c7,_0xb7ac5a=_0x6ee165[_0x3a52c9(0x463)]-0x1,_0x13b098;_0xb7ac5a>=0x0;_0xb7ac5a--)(_0x13b098=_0x6ee165[_0xb7ac5a])&&(_0x5e56ad=_0x13b098(_0x5e56ad)||_0x5e56ad);return _0x5e56ad;},Yt=(_0x499ed1,_0x2816e3)=>(_0xd0363,_0x488996)=>_0x2816e3(_0xd0363,_0x488996,_0x499ed1);const Qs=_0x3719d7(0x234),en=_0x3719d7(0x430);let It=class extends _0x3c4e94{constructor(_0x8589e,_0x139190){var _0x2ff3c0=_0x3719d7;super(),this['_univerInstanceService']=_0x8589e,this[_0x2ff3c0(0x2b3)]=_0x139190,this[_0x2ff3c0(0x243)]();}[_0x3719d7(0x243)](){var _0x1f73b3=_0x3719d7;this['disposeWithMe'](this['_univerInstanceService']['focused$'][_0x1f73b3(0x405)](()=>{var _0x3c4e51=_0x1f73b3,_0x2a0d2f;const _0x3146b4=this['_univerInstanceService'][_0x3c4e51(0x31a)]();let _0x42390=(_0x2a0d2f=this['_configService']['getConfig'](Qs))!=null?_0x2a0d2f:en;_0x3146b4 instanceof _0x52dadb&&(_0x42390=_0x3146b4[_0x3c4e51(0x367)]),document[_0x3c4e51(0x2e3)]=_0x42390;}));}};It=Zs([Yt(0x0,_0x3b570d),Yt(0x1,_0x3f20e3)],It);var tn=Object[_0x3719d7(0x2d0)],sn=(_0x4e3c7e,_0x16229e,_0x51245d,_0x4d8d58)=>{var _0x6e777d=_0x3719d7;for(var _0x37d742=_0x4d8d58>0x1?void 0x0:_0x4d8d58?tn(_0x16229e,_0x51245d):_0x16229e,_0x57280b=_0x4e3c7e[_0x6e777d(0x463)]-0x1,_0xc47981;_0x57280b>=0x0;_0x57280b--)(_0xc47981=_0x4e3c7e[_0x57280b])&&(_0x37d742=_0xc47981(_0x37d742)||_0x37d742);return _0x37d742;},dt=(_0x3ca6b9,_0x421cc4)=>(_0xd4be23,_0x2bc31d)=>_0x421cc4(_0xd4be23,_0x2bc31d,_0x3ca6b9);let rt=class{constructor(_0xed860b,_0x481880,_0x213852){var _0x10bd06=_0x3719d7;this[_0x10bd06(0x2b3)]=_0xed860b,this[_0x10bd06(0x3a3)]=_0x481880,this['localeService']=_0x213852,this[_0x10bd06(0x478)]();}['init'](){var _0x3d5d9d=_0x3719d7;this[_0x3d5d9d(0x3a3)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x36f020,_0x56ae82)=>_0x56ae82(_0x36f020)[_0x3d5d9d(0x285)](_0x182fc3(async _0x499fa4=>{var _0xa53ae5=_0x3d5d9d;const _0x1273b5=_0x499fa4;if(_0x1273b5[_0xa53ae5(0x453)]===0x191){if(typeof window>'u')throw new Error(_0xa53ae5(0x3fb));if(window['confirm'](this[_0xa53ae5(0x1d4)]['t'](_0xa53ae5(0x231)))){const _0x12b77d=window[_0xa53ae5(0x193)](window['location'][_0xa53ae5(0x2da)]);window[_0xa53ae5(0x44e)]['href']=this[_0xa53ae5(0x1d7)]()+_0xa53ae5(0x436)+_0x12b77d;}}return _0x1273b5;}))});}[_0x3719d7(0x1d7)](){var _0x35798d=_0x3719d7,_0x4226e5;const _0x49e960=this[_0x35798d(0x2b3)]['getConfig'](K);return(_0x4226e5=_0x49e960==null?void 0x0:_0x49e960[_0x35798d(0x390)])!=null?_0x4226e5:Rs;}};rt=sn([dt(0x0,_0x3f20e3),dt(0x1,_0x9a05e2(_0x4ae839)),dt(0x2,_0x9a05e2(_0xfa6b6f))],rt);var nn=Object[_0x3719d7(0x2d0)],rn=(_0x1e1a4d,_0x2e4d1b,_0xc46b60,_0x4d2fb2)=>{var _0x10f833=_0x3719d7;for(var _0x520474=_0x4d2fb2>0x1?void 0x0:_0x4d2fb2?nn(_0x2e4d1b,_0xc46b60):_0x2e4d1b,_0x4aec9b=_0x1e1a4d[_0x10f833(0x463)]-0x1,_0x44f695;_0x4aec9b>=0x0;_0x4aec9b--)(_0x44f695=_0x1e1a4d[_0x4aec9b])&&(_0x520474=_0x44f695(_0x520474)||_0x520474);return _0x520474;},Kt=(_0x30bd86,_0x48d40b)=>(_0x679017,_0x3d5fff)=>_0x48d40b(_0x679017,_0x3d5fff,_0x30bd86);const an=_0x3719d7(0x46e);let Tt=class extends _0x3c4e94{constructor(_0x2a7ba6,_0x52ed1d){var _0x54d65e=_0x3719d7;super(),this[_0x54d65e(0x27f)]=_0x2a7ba6,this[_0x54d65e(0x2b3)]=_0x52ed1d,this[_0x54d65e(0x346)]();}[_0x3719d7(0x346)](){var _0x13eb12=_0x3719d7;const _0x35a150=this;this['disposeWithMe'](this[_0x13eb12(0x27f)][_0x13eb12(0x387)]({'priority':0x3e7,'interceptor':_0x24f580({'isMatch'(_0xba1a4a){var _0x3e6d3d=_0x13eb12,_0x26e3dc;if(_0xba1a4a[_0x3e6d3d(0x1b9)]===_0x3e6d3d(0x448)&&((_0x26e3dc=_0xba1a4a[_0x3e6d3d(0x1bc)])!=null&&_0x26e3dc[_0x3e6d3d(0x476)])){const {objectID:_0x4ed943,objectType:_0x1657db}=_0xba1a4a[_0x3e6d3d(0x1bc)][_0x3e6d3d(0x476)]||{};if(!_0x4ed943||_0x1657db===void 0x0)return!0x1;const _0x5aaec3=_0x35a150['_getAPIPrefixPath']()+'/'+_0x1657db+_0x3e6d3d(0x22a)+_0x4ed943+'/allowed';if(_0xba1a4a[_0x3e6d3d(0x1a1)]===_0x5aaec3)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2534bc){var _0x5cec33=_0x13eb12,_0x5482fd;return(_0x5482fd=_0x2534bc['requestParams'])==null?void 0x0:_0x5482fd[_0x5cec33(0x476)];},'mergeParamsToRequest'(_0x39e26f,_0x35085b){var _0x4f5fdf=_0x13eb12;const _0x43f9ee=_0x35a150[_0x4f5fdf(0x41e)]()+_0x4f5fdf(0x2db),_0x16243d=_0x39e26f[_0x4f5fdf(0x3c7)]((_0x384e2f,_0x384334)=>{var _0x3435fd=_0x4f5fdf;const {unitID:_0x30096e,objectID:_0x2a18a0,objectType:_0x2b7ae5,actions:_0x17fae8}=_0x384334;return _0x384e2f[_0x30096e]||(_0x384e2f[_0x30096e]={}),_0x384e2f[_0x30096e][_0x2a18a0]||(_0x384e2f[_0x30096e][_0x2a18a0]={'objectID':_0x2a18a0,'objectType':_0x2b7ae5,'actions':[]}),_0x384e2f[_0x30096e][_0x2a18a0][_0x3435fd(0x245)][_0x3435fd(0x33e)](..._0x17fae8),_0x384e2f;},{}),_0x59306e=[];for(const _0x11eb01 in _0x16243d)for(const _0xf65a19 in _0x16243d[_0x11eb01]){const {actions:_0x268c87,objectType:_0x1dde3b}=_0x16243d[_0x11eb01][_0xf65a19],_0x5b562e=[...new Set(_0x268c87)];_0x59306e['push']({'unitID':_0x11eb01,'objectID':_0xf65a19,'objectType':_0x1dde3b,'actions':_0x5b562e});}return new _0x3792af(_0x4f5fdf(0x448),_0x43f9ee,{'headers':_0x35085b[_0x4f5fdf(0x274)],'withCredentials':_0x35085b[_0x4f5fdf(0x1a9)],'responseType':_0x35085b['responseType'],'body':{'requests':_0x59306e}});}},{'distributeResult'(_0x227032,_0x1374bb){const {objectActions:_0x108b76}=_0x227032;return _0x1374bb['map'](_0x424cef=>{var _0xad7581=_0x3e70;const {unitID:_0x4a8964,objectID:_0x377af8,actions:_0x1f98a2}=_0x424cef,_0x418fcf=_0x108b76['find'](_0xc3c796=>_0xc3c796['unitID']===_0x4a8964&&_0xc3c796[_0xad7581(0x271)]===_0x377af8),_0x11e82c=_0x1f98a2['map'](_0x1220a0=>_0x418fcf==null?void 0x0:_0x418fcf['actions']['find'](_0x316471=>_0x316471[_0xad7581(0x2f2)]===_0x1220a0))['filter'](_0x275722=>!!_0x275722);return{'config':_0x424cef,'result':{'actions':_0x11e82c,'error':_0x227032[_0xad7581(0x19b)]}};});}})}));}[_0x3719d7(0x41e)](){var _0x271779=_0x3719d7,_0x2c3572;const _0xe0ff1f=this[_0x271779(0x2b3)][_0x271779(0x277)](K);return(_0x2c3572=_0xe0ff1f==null?void 0x0:_0xe0ff1f[_0x271779(0x2bc)])!=null?_0x2c3572:an;}async[_0x3719d7(0x29d)](_0x5d507f){var _0x319eef=_0x3719d7;const _0x228d03=this[_0x319eef(0x41e)]()+'/'+_0x5d507f['objectType']+_0x319eef(0x284);return(await this['_HTTPService']['post'](_0x228d03,{'body':_0x5d507f}))[_0x319eef(0x476)]['objectID']||'';}async['list'](_0x13ed38){var _0x3b1bc9=_0x3719d7;const _0x11640c=this['_getAPIPrefixPath']()+_0x3b1bc9(0x394);return(await this[_0x3b1bc9(0x27f)][_0x3b1bc9(0x26b)](_0x11640c,{'body':_0x13ed38}))['body'][_0x3b1bc9(0x267)];}async[_0x3719d7(0x47d)](_0x7767aa){var _0x389d3d=_0x3719d7,_0x54c92a,_0x411037;const _0x101333=this[_0x389d3d(0x41e)]()+'/'+_0x7767aa['objectType']+_0x389d3d(0x22a)+_0x7767aa[_0x389d3d(0x271)],_0x3851d8=await this[_0x389d3d(0x27f)]['put'](_0x101333,{'body':_0x7767aa});if(((_0x411037=(_0x54c92a=_0x3851d8==null?void 0x0:_0x3851d8['body'])==null?void 0x0:_0x54c92a['error'])==null?void 0x0:_0x411037[_0x389d3d(0x216)])!==0x1)throw new Error(_0x389d3d(0x3eb));}async['allowed'](_0x4a668f){var _0x2dcfee=_0x3719d7;const _0x42c271=this[_0x2dcfee(0x41e)]()+'/'+_0x4a668f[_0x2dcfee(0x36f)]+_0x2dcfee(0x22a)+_0x4a668f[_0x2dcfee(0x271)]+_0x2dcfee(0x230);return(await this[_0x2dcfee(0x27f)][_0x2dcfee(0x26b)](_0x42c271,{'body':_0x4a668f}))[_0x2dcfee(0x476)][_0x2dcfee(0x245)];}async[_0x3719d7(0x1e6)](_0x35f060){var _0x591fdd=_0x3719d7;const _0x5660fa=this[_0x591fdd(0x41e)]()+'/-/object/-/batch_allowed';return(await this[_0x591fdd(0x27f)][_0x591fdd(0x26b)](_0x5660fa,{'body':{'requests':_0x35f060}}))[_0x591fdd(0x476)][_0x591fdd(0x38d)];}async[_0x3719d7(0x301)](_0x342844){var _0x2234ed=_0x3719d7;const _0x3f03d5=this[_0x2234ed(0x41e)]()+'/'+_0x342844['objectType']+_0x2234ed(0x2cf),_0x5ca807=await this[_0x2234ed(0x27f)]['post'](_0x3f03d5,{'body':_0x342844});return{'roles':_0x5ca807['body'][_0x2234ed(0x1bd)],'actions':_0x5ca807['body'][_0x2234ed(0x245)]};}async[_0x3719d7(0x3ae)](_0x42688f){var _0xd0e61c=_0x3719d7;const _0x3ca343=this[_0xd0e61c(0x41e)]()+_0xd0e61c(0x3cb);await this[_0xd0e61c(0x27f)][_0xd0e61c(0x1d9)](_0x3ca343,{'params':{'collaboratorID':_0x42688f[_0xd0e61c(0x482)],'objectID':_0x42688f[_0xd0e61c(0x271)],'unitID':_0x42688f[_0xd0e61c(0x43a)]}});}async[_0x3719d7(0x3d5)](_0x24f048){var _0x1a68fb=_0x3719d7;const _0x1a835f=this[_0x1a68fb(0x41e)]()+_0x1a68fb(0x3cb);await this['_HTTPService'][_0x1a68fb(0x3f7)](_0x1a835f,{'body':_0x24f048});}async[_0x3719d7(0x2e7)](_0x14f7b1){var _0x57467a=_0x3719d7;const _0x1ec1cf=this[_0x57467a(0x41e)]()+_0x57467a(0x3cb);await this[_0x57467a(0x27f)][_0x57467a(0x26b)](_0x1ec1cf,{'body':_0x14f7b1});}async['listCollaborators'](_0x1586b4){var _0x31430f=_0x3719d7;const _0x2f3168=this[_0x31430f(0x41e)]()+_0x31430f(0x3cb);return(await this[_0x31430f(0x27f)][_0x31430f(0x3b3)](_0x2f3168,{'params':{'objectID':_0x1586b4[_0x31430f(0x271)],'unitID':_0x1586b4[_0x31430f(0x43a)]}}))[_0x31430f(0x476)][_0x31430f(0x472)];}async[_0x3719d7(0x338)](_0x60f26a){var _0x583e9d=_0x3719d7;const _0x5a30d6=this[_0x583e9d(0x41e)]()+_0x583e9d(0x3cb);await this[_0x583e9d(0x27f)][_0x583e9d(0x30f)](_0x5a30d6,{'body':_0x60f26a});}};Tt=rn([Kt(0x0,_0x9a05e2(_0x4ae839)),Kt(0x1,_0x9a05e2(_0x3f20e3))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x3a485d){var _0x14bb17=_0x3719d7;return _0x3a485d&&_0x3a485d['__esModule']&&Object[_0x14bb17(0x342)][_0x14bb17(0x2dc)]['call'](_0x3a485d,_0x14bb17(0x417))?_0x3a485d[_0x14bb17(0x417)]:_0x3a485d;}var Ve={'exports':{}};function on(_0x46ac4a){var _0x3b7ca9=_0x3719d7;throw new Error(_0x3b7ca9(0x21b)+_0x46ac4a+_0x3b7ca9(0x2ad));}var We={'exports':{}},cn=We[_0x3719d7(0x2d6)],qt;function te(){var _0x4dca9e=_0x3719d7;return qt||(qt=0x1,function(_0x4455cf,_0x407192){(function(_0x32858a,_0x4d416c){var _0x3bd662=_0x3e70;_0x4455cf[_0x3bd662(0x2d6)]=_0x4d416c();}(cn,function(){var _0x4dea35=_0x4dea35||function(_0x23b8a8,_0x5b8301){var _0xd4cc85=_0x3e70,_0x51c9b0;if(typeof window<'u'&&window[_0xd4cc85(0x2df)]&&(_0x51c9b0=window['crypto']),typeof self<'u'&&self[_0xd4cc85(0x2df)]&&(_0x51c9b0=self['crypto']),typeof globalThis<'u'&&globalThis['crypto']&&(_0x51c9b0=globalThis[_0xd4cc85(0x2df)]),!_0x51c9b0&&typeof window<'u'&&window[_0xd4cc85(0x3bf)]&&(_0x51c9b0=window[_0xd4cc85(0x3bf)]),!_0x51c9b0&&typeof ft<'u'&&ft['crypto']&&(_0x51c9b0=ft['crypto']),!_0x51c9b0&&typeof on==_0xd4cc85(0x356))try{_0x51c9b0=require('crypto');}catch{}var _0x1b1a76=function(){var _0x3e73b9=_0xd4cc85;if(_0x51c9b0){if(typeof _0x51c9b0['getRandomValues']==_0x3e73b9(0x356))try{return _0x51c9b0[_0x3e73b9(0x3e3)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x51c9b0[_0x3e73b9(0x224)]==_0x3e73b9(0x356))try{return _0x51c9b0[_0x3e73b9(0x224)](0x4)[_0x3e73b9(0x25b)]();}catch{}}throw new Error(_0x3e73b9(0x357));},_0x3512f4=Object[_0xd4cc85(0x29d)]||(function(){function _0x24d681(){}return function(_0x174393){var _0x123b1b=_0x3e70,_0x4c3190;return _0x24d681['prototype']=_0x174393,_0x4c3190=new _0x24d681(),_0x24d681[_0x123b1b(0x342)]=null,_0x4c3190;};}()),_0x479fe3={},_0x4f18e7=_0x479fe3['lib']={},_0x5b6c42=_0x4f18e7[_0xd4cc85(0x339)]=(function(){return{'extend':function(_0x244c65){var _0x3613c5=_0x3e70,_0x176646=_0x3512f4(this);return _0x244c65&&_0x176646['mixIn'](_0x244c65),(!_0x176646[_0x3613c5(0x2dc)](_0x3613c5(0x478))||this[_0x3613c5(0x478)]===_0x176646[_0x3613c5(0x478)])&&(_0x176646[_0x3613c5(0x478)]=function(){var _0x53d98a=_0x3613c5;_0x176646['$super'][_0x53d98a(0x478)][_0x53d98a(0x2d3)](this,arguments);}),_0x176646['init'][_0x3613c5(0x342)]=_0x176646,_0x176646[_0x3613c5(0x28a)]=this,_0x176646;},'create':function(){var _0x190ad4=_0x3e70,_0x2cdca4=this[_0x190ad4(0x1ae)]();return _0x2cdca4['init'][_0x190ad4(0x2d3)](_0x2cdca4,arguments),_0x2cdca4;},'init':function(){},'mixIn':function(_0x4208d7){var _0xc57e72=_0x3e70;for(var _0x4a970d in _0x4208d7)_0x4208d7[_0xc57e72(0x2dc)](_0x4a970d)&&(this[_0x4a970d]=_0x4208d7[_0x4a970d]);_0x4208d7[_0xc57e72(0x2dc)](_0xc57e72(0x263))&&(this[_0xc57e72(0x263)]=_0x4208d7[_0xc57e72(0x263)]);},'clone':function(){var _0x57f117=_0x3e70;return this[_0x57f117(0x478)][_0x57f117(0x342)][_0x57f117(0x1ae)](this);}};}()),_0x3a93ce=_0x4f18e7[_0xd4cc85(0x40b)]=_0x5b6c42[_0xd4cc85(0x1ae)]({'init':function(_0xa8be86,_0x28bd0b){var _0x30770c=_0xd4cc85;_0xa8be86=this[_0x30770c(0x27d)]=_0xa8be86||[],_0x28bd0b!=_0x5b8301?this[_0x30770c(0x418)]=_0x28bd0b:this[_0x30770c(0x418)]=_0xa8be86[_0x30770c(0x463)]*0x4;},'toString':function(_0x174bd5){var _0x3b91d4=_0xd4cc85;return(_0x174bd5||_0x4d3d1b)[_0x3b91d4(0x2c8)](this);},'concat':function(_0x1171fd){var _0x655e5d=_0xd4cc85,_0xf5948f=this['words'],_0x370405=_0x1171fd[_0x655e5d(0x27d)],_0x2ad848=this['sigBytes'],_0x6240aa=_0x1171fd['sigBytes'];if(this[_0x655e5d(0x293)](),_0x2ad848%0x4)for(var _0x5b742b=0x0;_0x5b742b<_0x6240aa;_0x5b742b++){var _0x5c53d3=_0x370405[_0x5b742b>>>0x2]>>>0x18-_0x5b742b%0x4*0x8&0xff;_0xf5948f[_0x2ad848+_0x5b742b>>>0x2]|=_0x5c53d3<<0x18-(_0x2ad848+_0x5b742b)%0x4*0x8;}else{for(var _0x57fe60=0x0;_0x57fe60<_0x6240aa;_0x57fe60+=0x4)_0xf5948f[_0x2ad848+_0x57fe60>>>0x2]=_0x370405[_0x57fe60>>>0x2];}return this[_0x655e5d(0x418)]+=_0x6240aa,this;},'clamp':function(){var _0x7a4f=_0xd4cc85,_0x482224=this[_0x7a4f(0x27d)],_0x25613c=this[_0x7a4f(0x418)];_0x482224[_0x25613c>>>0x2]&=0xffffffff<<0x20-_0x25613c%0x4*0x8,_0x482224['length']=_0x23b8a8[_0x7a4f(0x26f)](_0x25613c/0x4);},'clone':function(){var _0x3d91ec=_0xd4cc85,_0x21bfac=_0x5b6c42[_0x3d91ec(0x44f)][_0x3d91ec(0x255)](this);return _0x21bfac[_0x3d91ec(0x27d)]=this['words'][_0x3d91ec(0x40c)](0x0),_0x21bfac;},'random':function(_0x2be738){var _0x2ee286=_0xd4cc85;for(var _0x49c118=[],_0x2c9413=0x0;_0x2c9413<_0x2be738;_0x2c9413+=0x4)_0x49c118['push'](_0x1b1a76());return new _0x3a93ce[(_0x2ee286(0x478))](_0x49c118,_0x2be738);}}),_0x37fcfb=_0x479fe3['enc']={},_0x4d3d1b=_0x37fcfb[_0xd4cc85(0x23a)]={'stringify':function(_0x4a84e3){var _0x5bc225=_0xd4cc85;for(var _0x5b426e=_0x4a84e3[_0x5bc225(0x27d)],_0x373182=_0x4a84e3[_0x5bc225(0x418)],_0x575c97=[],_0x1ebda8=0x0;_0x1ebda8<_0x373182;_0x1ebda8++){var _0x839f4c=_0x5b426e[_0x1ebda8>>>0x2]>>>0x18-_0x1ebda8%0x4*0x8&0xff;_0x575c97['push']((_0x839f4c>>>0x4)[_0x5bc225(0x263)](0x10)),_0x575c97['push']((_0x839f4c&0xf)[_0x5bc225(0x263)](0x10));}return _0x575c97['join']('');},'parse':function(_0x4d0206){var _0x286491=_0xd4cc85;for(var _0x2728d8=_0x4d0206[_0x286491(0x463)],_0x106582=[],_0x48ab9b=0x0;_0x48ab9b<_0x2728d8;_0x48ab9b+=0x2)_0x106582[_0x48ab9b>>>0x3]|=parseInt(_0x4d0206[_0x286491(0x23f)](_0x48ab9b,0x2),0x10)<<0x18-_0x48ab9b%0x8*0x4;return new _0x3a93ce[(_0x286491(0x478))](_0x106582,_0x2728d8/0x2);}},_0x22dc8f=_0x37fcfb['Latin1']={'stringify':function(_0x106976){var _0x2f70d3=_0xd4cc85;for(var _0x5921c1=_0x106976[_0x2f70d3(0x27d)],_0x217f87=_0x106976['sigBytes'],_0x483efa=[],_0x352cfc=0x0;_0x352cfc<_0x217f87;_0x352cfc++){var _0x399e16=_0x5921c1[_0x352cfc>>>0x2]>>>0x18-_0x352cfc%0x4*0x8&0xff;_0x483efa[_0x2f70d3(0x33e)](String[_0x2f70d3(0x413)](_0x399e16));}return _0x483efa[_0x2f70d3(0x1e7)]('');},'parse':function(_0xaa02b6){var _0x499718=_0xd4cc85;for(var _0x1704ae=_0xaa02b6[_0x499718(0x463)],_0x121484=[],_0x302679=0x0;_0x302679<_0x1704ae;_0x302679++)_0x121484[_0x302679>>>0x2]|=(_0xaa02b6[_0x499718(0x1a4)](_0x302679)&0xff)<<0x18-_0x302679%0x4*0x8;return new _0x3a93ce['init'](_0x121484,_0x1704ae);}},_0x52f48d=_0x37fcfb['Utf8']={'stringify':function(_0x2fd4a9){try{return decodeURIComponent(escape(_0x22dc8f['stringify'](_0x2fd4a9)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x31f919){var _0x344c1b=_0xd4cc85;return _0x22dc8f[_0x344c1b(0x42c)](unescape(encodeURIComponent(_0x31f919)));}},_0x5cdc4b=_0x4f18e7[_0xd4cc85(0x35d)]=_0x5b6c42[_0xd4cc85(0x1ae)]({'reset':function(){var _0x3c0be1=_0xd4cc85;this['_data']=new _0x3a93ce[(_0x3c0be1(0x478))](),this[_0x3c0be1(0x272)]=0x0;},'_append':function(_0x49d571){var _0x5cd6e8=_0xd4cc85;typeof _0x49d571==_0x5cd6e8(0x347)&&(_0x49d571=_0x52f48d[_0x5cd6e8(0x42c)](_0x49d571)),this[_0x5cd6e8(0x47c)][_0x5cd6e8(0x423)](_0x49d571),this[_0x5cd6e8(0x272)]+=_0x49d571[_0x5cd6e8(0x418)];},'_process':function(_0x250f75){var _0x559f68=_0xd4cc85,_0x307a42,_0xc68a59=this[_0x559f68(0x47c)],_0x14d701=_0xc68a59[_0x559f68(0x27d)],_0x1ba1c6=_0xc68a59[_0x559f68(0x418)],_0x480293=this[_0x559f68(0x2bd)],_0x4d2312=_0x480293*0x4,_0x2fc406=_0x1ba1c6/_0x4d2312;_0x250f75?_0x2fc406=_0x23b8a8[_0x559f68(0x26f)](_0x2fc406):_0x2fc406=_0x23b8a8[_0x559f68(0x28d)]((_0x2fc406|0x0)-this['_minBufferSize'],0x0);var _0x1a721b=_0x2fc406*_0x480293,_0x118a2b=_0x23b8a8[_0x559f68(0x403)](_0x1a721b*0x4,_0x1ba1c6);if(_0x1a721b){for(var _0x10a410=0x0;_0x10a410<_0x1a721b;_0x10a410+=_0x480293)this[_0x559f68(0x311)](_0x14d701,_0x10a410);_0x307a42=_0x14d701[_0x559f68(0x415)](0x0,_0x1a721b),_0xc68a59[_0x559f68(0x418)]-=_0x118a2b;}return new _0x3a93ce[(_0x559f68(0x478))](_0x307a42,_0x118a2b);},'clone':function(){var _0x5cda35=_0xd4cc85,_0x138817=_0x5b6c42[_0x5cda35(0x44f)][_0x5cda35(0x255)](this);return _0x138817[_0x5cda35(0x47c)]=this['_data'][_0x5cda35(0x44f)](),_0x138817;},'_minBufferSize':0x0});_0x4f18e7[_0xd4cc85(0x24c)]=_0x5cdc4b[_0xd4cc85(0x1ae)]({'cfg':_0x5b6c42[_0xd4cc85(0x1ae)](),'init':function(_0x556a32){var _0x5ecc84=_0xd4cc85;this['cfg']=this[_0x5ecc84(0x337)][_0x5ecc84(0x1ae)](_0x556a32),this[_0x5ecc84(0x2e0)]();},'reset':function(){var _0x309d64=_0xd4cc85;_0x5cdc4b[_0x309d64(0x2e0)]['call'](this),this[_0x309d64(0x32e)]();},'update':function(_0x45280b){var _0x5a2e10=_0xd4cc85;return this[_0x5a2e10(0x27e)](_0x45280b),this[_0x5a2e10(0x373)](),this;},'finalize':function(_0x5e8dda){var _0x1ed05b=_0xd4cc85;_0x5e8dda&&this['_append'](_0x5e8dda);var _0x3ce4ee=this[_0x1ed05b(0x376)]();return _0x3ce4ee;},'blockSize':0x10,'_createHelper':function(_0x391b5f){return function(_0x2a11ad,_0x3b60df){var _0x40fa7c=_0x3e70;return new _0x391b5f['init'](_0x3b60df)[_0x40fa7c(0x358)](_0x2a11ad);};},'_createHmacHelper':function(_0x1ff715){return function(_0xbf15ba,_0x4a28d3){var _0x4ad75f=_0x3e70;return new _0x216bd7[(_0x4ad75f(0x3d6))]['init'](_0x1ff715,_0x4a28d3)[_0x4ad75f(0x358)](_0xbf15ba);};}});var _0x216bd7=_0x479fe3[_0xd4cc85(0x450)]={};return _0x479fe3;}(Math);return _0x4dea35;}));}(We)),We[_0x4dca9e(0x2d6)];}var Ge={'exports':{}},hn=Ge['exports'],zt;function Ri(){var _0x57977f=_0x3719d7;return zt||(zt=0x1,function(_0x5b5d3c,_0x47886e){(function(_0x24df6d,_0x145e36){var _0x2c60f5=_0x3e70;_0x5b5d3c[_0x2c60f5(0x2d6)]=_0x145e36(te());}(hn,function(_0xf288b2){var _0x14b4b5=_0x3e70;return(function(){var _0x166a62=_0x3e70,_0x4d6093=_0xf288b2,_0x10d094=_0x4d6093[_0x166a62(0x37d)],_0x5e255e=_0x10d094[_0x166a62(0x40b)],_0x405037=_0x4d6093[_0x166a62(0x1a8)];_0x405037[_0x166a62(0x392)]={'stringify':function(_0x2a6d08){var _0x4181c0=_0x166a62,_0x2f6ac2=_0x2a6d08['words'],_0x98f32c=_0x2a6d08[_0x4181c0(0x418)],_0x49a620=this[_0x4181c0(0x2b0)];_0x2a6d08[_0x4181c0(0x293)]();for(var _0x231272=[],_0x2f1400=0x0;_0x2f1400<_0x98f32c;_0x2f1400+=0x3)for(var _0x4d15fb=_0x2f6ac2[_0x2f1400>>>0x2]>>>0x18-_0x2f1400%0x4*0x8&0xff,_0xad14ec=_0x2f6ac2[_0x2f1400+0x1>>>0x2]>>>0x18-(_0x2f1400+0x1)%0x4*0x8&0xff,_0x7fe994=_0x2f6ac2[_0x2f1400+0x2>>>0x2]>>>0x18-(_0x2f1400+0x2)%0x4*0x8&0xff,_0x4a3129=_0x4d15fb<<0x10|_0xad14ec<<0x8|_0x7fe994,_0x5bb045=0x0;_0x5bb045<0x4&&_0x2f1400+_0x5bb045*0.75<_0x98f32c;_0x5bb045++)_0x231272[_0x4181c0(0x33e)](_0x49a620[_0x4181c0(0x467)](_0x4a3129>>>0x6*(0x3-_0x5bb045)&0x3f));var _0xa7b36f=_0x49a620[_0x4181c0(0x467)](0x40);if(_0xa7b36f){for(;_0x231272[_0x4181c0(0x463)]%0x4;)_0x231272[_0x4181c0(0x33e)](_0xa7b36f);}return _0x231272[_0x4181c0(0x1e7)]('');},'parse':function(_0x2d9193){var _0x4f9f34=_0x166a62,_0x50b411=_0x2d9193[_0x4f9f34(0x463)],_0x3b0886=this[_0x4f9f34(0x2b0)],_0x4f5728=this[_0x4f9f34(0x1a6)];if(!_0x4f5728){_0x4f5728=this['_reverseMap']=[];for(var _0x18485b=0x0;_0x18485b<_0x3b0886[_0x4f9f34(0x463)];_0x18485b++)_0x4f5728[_0x3b0886[_0x4f9f34(0x1a4)](_0x18485b)]=_0x18485b;}var _0x268158=_0x3b0886[_0x4f9f34(0x467)](0x40);if(_0x268158){var _0x490fc7=_0x2d9193[_0x4f9f34(0x1c2)](_0x268158);_0x490fc7!==-0x1&&(_0x50b411=_0x490fc7);}return _0x406c73(_0x2d9193,_0x50b411,_0x4f5728);},'_map':_0x166a62(0x21e)};function _0x406c73(_0x1dea87,_0x1ae817,_0x210c34){var _0x192461=_0x166a62;for(var _0x4272c7=[],_0xb21216=0x0,_0xb0766a=0x0;_0xb0766a<_0x1ae817;_0xb0766a++)if(_0xb0766a%0x4){var _0x2eeb15=_0x210c34[_0x1dea87[_0x192461(0x1a4)](_0xb0766a-0x1)]<<_0xb0766a%0x4*0x2,_0x27d27f=_0x210c34[_0x1dea87[_0x192461(0x1a4)](_0xb0766a)]>>>0x6-_0xb0766a%0x4*0x2,_0x3dd83e=_0x2eeb15|_0x27d27f;_0x4272c7[_0xb21216>>>0x2]|=_0x3dd83e<<0x18-_0xb21216%0x4*0x8,_0xb21216++;}return _0x5e255e['create'](_0x4272c7,_0xb21216);}}()),_0xf288b2[_0x14b4b5(0x1a8)][_0x14b4b5(0x392)];}));}(Ge)),Ge[_0x57977f(0x2d6)];}var Ye={'exports':{}},_n=Ye[_0x3719d7(0x2d6)],Jt;function ln(){var _0x5e6c1f=_0x3719d7;return Jt||(Jt=0x1,function(_0x4b1216,_0x31035e){(function(_0x200c33,_0x118042){var _0x498b97=_0x3e70;_0x4b1216[_0x498b97(0x2d6)]=_0x118042(te());}(_n,function(_0x152f89){var _0x3f122f=_0x3e70;return function(_0x1136e0){var _0xf0b21a=_0x3e70,_0x28aebb=_0x152f89,_0x4b1daf=_0x28aebb['lib'],_0x51a6f6=_0x4b1daf[_0xf0b21a(0x40b)],_0x561c37=_0x4b1daf[_0xf0b21a(0x24c)],_0x47dbd2=_0x28aebb[_0xf0b21a(0x450)],_0x548009=[];(function(){var _0x67491f=_0xf0b21a;for(var _0x126680=0x0;_0x126680<0x40;_0x126680++)_0x548009[_0x126680]=_0x1136e0[_0x67491f(0x1c6)](_0x1136e0['sin'](_0x126680+0x1))*0x100000000|0x0;}());var _0x1adc3f=_0x47dbd2[_0xf0b21a(0x45f)]=_0x561c37['extend']({'_doReset':function(){var _0x7880ec=_0xf0b21a;this[_0x7880ec(0x1fa)]=new _0x51a6f6['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1f68a8,_0x10e7d6){var _0xbf5812=_0xf0b21a;for(var _0x1a739b=0x0;_0x1a739b<0x10;_0x1a739b++){var _0x5152d5=_0x10e7d6+_0x1a739b,_0x477c58=_0x1f68a8[_0x5152d5];_0x1f68a8[_0x5152d5]=(_0x477c58<<0x8|_0x477c58>>>0x18)&0xff00ff|(_0x477c58<<0x18|_0x477c58>>>0x8)&0xff00ff00;}var _0x4a8d15=this[_0xbf5812(0x1fa)]['words'],_0x5a4c1e=_0x1f68a8[_0x10e7d6+0x0],_0x46faa3=_0x1f68a8[_0x10e7d6+0x1],_0x585585=_0x1f68a8[_0x10e7d6+0x2],_0xcb27fe=_0x1f68a8[_0x10e7d6+0x3],_0x31bc43=_0x1f68a8[_0x10e7d6+0x4],_0x128444=_0x1f68a8[_0x10e7d6+0x5],_0x1ba871=_0x1f68a8[_0x10e7d6+0x6],_0x313c3f=_0x1f68a8[_0x10e7d6+0x7],_0x52e892=_0x1f68a8[_0x10e7d6+0x8],_0x355507=_0x1f68a8[_0x10e7d6+0x9],_0x3de84c=_0x1f68a8[_0x10e7d6+0xa],_0x422047=_0x1f68a8[_0x10e7d6+0xb],_0x10d7e8=_0x1f68a8[_0x10e7d6+0xc],_0x452e8e=_0x1f68a8[_0x10e7d6+0xd],_0x26d404=_0x1f68a8[_0x10e7d6+0xe],_0x37143e=_0x1f68a8[_0x10e7d6+0xf],_0x9d5635=_0x4a8d15[0x0],_0x179b43=_0x4a8d15[0x1],_0x393865=_0x4a8d15[0x2],_0x2f77c1=_0x4a8d15[0x3];_0x9d5635=_0x372cb1(_0x9d5635,_0x179b43,_0x393865,_0x2f77c1,_0x5a4c1e,0x7,_0x548009[0x0]),_0x2f77c1=_0x372cb1(_0x2f77c1,_0x9d5635,_0x179b43,_0x393865,_0x46faa3,0xc,_0x548009[0x1]),_0x393865=_0x372cb1(_0x393865,_0x2f77c1,_0x9d5635,_0x179b43,_0x585585,0x11,_0x548009[0x2]),_0x179b43=_0x372cb1(_0x179b43,_0x393865,_0x2f77c1,_0x9d5635,_0xcb27fe,0x16,_0x548009[0x3]),_0x9d5635=_0x372cb1(_0x9d5635,_0x179b43,_0x393865,_0x2f77c1,_0x31bc43,0x7,_0x548009[0x4]),_0x2f77c1=_0x372cb1(_0x2f77c1,_0x9d5635,_0x179b43,_0x393865,_0x128444,0xc,_0x548009[0x5]),_0x393865=_0x372cb1(_0x393865,_0x2f77c1,_0x9d5635,_0x179b43,_0x1ba871,0x11,_0x548009[0x6]),_0x179b43=_0x372cb1(_0x179b43,_0x393865,_0x2f77c1,_0x9d5635,_0x313c3f,0x16,_0x548009[0x7]),_0x9d5635=_0x372cb1(_0x9d5635,_0x179b43,_0x393865,_0x2f77c1,_0x52e892,0x7,_0x548009[0x8]),_0x2f77c1=_0x372cb1(_0x2f77c1,_0x9d5635,_0x179b43,_0x393865,_0x355507,0xc,_0x548009[0x9]),_0x393865=_0x372cb1(_0x393865,_0x2f77c1,_0x9d5635,_0x179b43,_0x3de84c,0x11,_0x548009[0xa]),_0x179b43=_0x372cb1(_0x179b43,_0x393865,_0x2f77c1,_0x9d5635,_0x422047,0x16,_0x548009[0xb]),_0x9d5635=_0x372cb1(_0x9d5635,_0x179b43,_0x393865,_0x2f77c1,_0x10d7e8,0x7,_0x548009[0xc]),_0x2f77c1=_0x372cb1(_0x2f77c1,_0x9d5635,_0x179b43,_0x393865,_0x452e8e,0xc,_0x548009[0xd]),_0x393865=_0x372cb1(_0x393865,_0x2f77c1,_0x9d5635,_0x179b43,_0x26d404,0x11,_0x548009[0xe]),_0x179b43=_0x372cb1(_0x179b43,_0x393865,_0x2f77c1,_0x9d5635,_0x37143e,0x16,_0x548009[0xf]),_0x9d5635=_0x1f503b(_0x9d5635,_0x179b43,_0x393865,_0x2f77c1,_0x46faa3,0x5,_0x548009[0x10]),_0x2f77c1=_0x1f503b(_0x2f77c1,_0x9d5635,_0x179b43,_0x393865,_0x1ba871,0x9,_0x548009[0x11]),_0x393865=_0x1f503b(_0x393865,_0x2f77c1,_0x9d5635,_0x179b43,_0x422047,0xe,_0x548009[0x12]),_0x179b43=_0x1f503b(_0x179b43,_0x393865,_0x2f77c1,_0x9d5635,_0x5a4c1e,0x14,_0x548009[0x13]),_0x9d5635=_0x1f503b(_0x9d5635,_0x179b43,_0x393865,_0x2f77c1,_0x128444,0x5,_0x548009[0x14]),_0x2f77c1=_0x1f503b(_0x2f77c1,_0x9d5635,_0x179b43,_0x393865,_0x3de84c,0x9,_0x548009[0x15]),_0x393865=_0x1f503b(_0x393865,_0x2f77c1,_0x9d5635,_0x179b43,_0x37143e,0xe,_0x548009[0x16]),_0x179b43=_0x1f503b(_0x179b43,_0x393865,_0x2f77c1,_0x9d5635,_0x31bc43,0x14,_0x548009[0x17]),_0x9d5635=_0x1f503b(_0x9d5635,_0x179b43,_0x393865,_0x2f77c1,_0x355507,0x5,_0x548009[0x18]),_0x2f77c1=_0x1f503b(_0x2f77c1,_0x9d5635,_0x179b43,_0x393865,_0x26d404,0x9,_0x548009[0x19]),_0x393865=_0x1f503b(_0x393865,_0x2f77c1,_0x9d5635,_0x179b43,_0xcb27fe,0xe,_0x548009[0x1a]),_0x179b43=_0x1f503b(_0x179b43,_0x393865,_0x2f77c1,_0x9d5635,_0x52e892,0x14,_0x548009[0x1b]),_0x9d5635=_0x1f503b(_0x9d5635,_0x179b43,_0x393865,_0x2f77c1,_0x452e8e,0x5,_0x548009[0x1c]),_0x2f77c1=_0x1f503b(_0x2f77c1,_0x9d5635,_0x179b43,_0x393865,_0x585585,0x9,_0x548009[0x1d]),_0x393865=_0x1f503b(_0x393865,_0x2f77c1,_0x9d5635,_0x179b43,_0x313c3f,0xe,_0x548009[0x1e]),_0x179b43=_0x1f503b(_0x179b43,_0x393865,_0x2f77c1,_0x9d5635,_0x10d7e8,0x14,_0x548009[0x1f]),_0x9d5635=_0x540fd2(_0x9d5635,_0x179b43,_0x393865,_0x2f77c1,_0x128444,0x4,_0x548009[0x20]),_0x2f77c1=_0x540fd2(_0x2f77c1,_0x9d5635,_0x179b43,_0x393865,_0x52e892,0xb,_0x548009[0x21]),_0x393865=_0x540fd2(_0x393865,_0x2f77c1,_0x9d5635,_0x179b43,_0x422047,0x10,_0x548009[0x22]),_0x179b43=_0x540fd2(_0x179b43,_0x393865,_0x2f77c1,_0x9d5635,_0x26d404,0x17,_0x548009[0x23]),_0x9d5635=_0x540fd2(_0x9d5635,_0x179b43,_0x393865,_0x2f77c1,_0x46faa3,0x4,_0x548009[0x24]),_0x2f77c1=_0x540fd2(_0x2f77c1,_0x9d5635,_0x179b43,_0x393865,_0x31bc43,0xb,_0x548009[0x25]),_0x393865=_0x540fd2(_0x393865,_0x2f77c1,_0x9d5635,_0x179b43,_0x313c3f,0x10,_0x548009[0x26]),_0x179b43=_0x540fd2(_0x179b43,_0x393865,_0x2f77c1,_0x9d5635,_0x3de84c,0x17,_0x548009[0x27]),_0x9d5635=_0x540fd2(_0x9d5635,_0x179b43,_0x393865,_0x2f77c1,_0x452e8e,0x4,_0x548009[0x28]),_0x2f77c1=_0x540fd2(_0x2f77c1,_0x9d5635,_0x179b43,_0x393865,_0x5a4c1e,0xb,_0x548009[0x29]),_0x393865=_0x540fd2(_0x393865,_0x2f77c1,_0x9d5635,_0x179b43,_0xcb27fe,0x10,_0x548009[0x2a]),_0x179b43=_0x540fd2(_0x179b43,_0x393865,_0x2f77c1,_0x9d5635,_0x1ba871,0x17,_0x548009[0x2b]),_0x9d5635=_0x540fd2(_0x9d5635,_0x179b43,_0x393865,_0x2f77c1,_0x355507,0x4,_0x548009[0x2c]),_0x2f77c1=_0x540fd2(_0x2f77c1,_0x9d5635,_0x179b43,_0x393865,_0x10d7e8,0xb,_0x548009[0x2d]),_0x393865=_0x540fd2(_0x393865,_0x2f77c1,_0x9d5635,_0x179b43,_0x37143e,0x10,_0x548009[0x2e]),_0x179b43=_0x540fd2(_0x179b43,_0x393865,_0x2f77c1,_0x9d5635,_0x585585,0x17,_0x548009[0x2f]),_0x9d5635=_0x336fe1(_0x9d5635,_0x179b43,_0x393865,_0x2f77c1,_0x5a4c1e,0x6,_0x548009[0x30]),_0x2f77c1=_0x336fe1(_0x2f77c1,_0x9d5635,_0x179b43,_0x393865,_0x313c3f,0xa,_0x548009[0x31]),_0x393865=_0x336fe1(_0x393865,_0x2f77c1,_0x9d5635,_0x179b43,_0x26d404,0xf,_0x548009[0x32]),_0x179b43=_0x336fe1(_0x179b43,_0x393865,_0x2f77c1,_0x9d5635,_0x128444,0x15,_0x548009[0x33]),_0x9d5635=_0x336fe1(_0x9d5635,_0x179b43,_0x393865,_0x2f77c1,_0x10d7e8,0x6,_0x548009[0x34]),_0x2f77c1=_0x336fe1(_0x2f77c1,_0x9d5635,_0x179b43,_0x393865,_0xcb27fe,0xa,_0x548009[0x35]),_0x393865=_0x336fe1(_0x393865,_0x2f77c1,_0x9d5635,_0x179b43,_0x3de84c,0xf,_0x548009[0x36]),_0x179b43=_0x336fe1(_0x179b43,_0x393865,_0x2f77c1,_0x9d5635,_0x46faa3,0x15,_0x548009[0x37]),_0x9d5635=_0x336fe1(_0x9d5635,_0x179b43,_0x393865,_0x2f77c1,_0x52e892,0x6,_0x548009[0x38]),_0x2f77c1=_0x336fe1(_0x2f77c1,_0x9d5635,_0x179b43,_0x393865,_0x37143e,0xa,_0x548009[0x39]),_0x393865=_0x336fe1(_0x393865,_0x2f77c1,_0x9d5635,_0x179b43,_0x1ba871,0xf,_0x548009[0x3a]),_0x179b43=_0x336fe1(_0x179b43,_0x393865,_0x2f77c1,_0x9d5635,_0x452e8e,0x15,_0x548009[0x3b]),_0x9d5635=_0x336fe1(_0x9d5635,_0x179b43,_0x393865,_0x2f77c1,_0x31bc43,0x6,_0x548009[0x3c]),_0x2f77c1=_0x336fe1(_0x2f77c1,_0x9d5635,_0x179b43,_0x393865,_0x422047,0xa,_0x548009[0x3d]),_0x393865=_0x336fe1(_0x393865,_0x2f77c1,_0x9d5635,_0x179b43,_0x585585,0xf,_0x548009[0x3e]),_0x179b43=_0x336fe1(_0x179b43,_0x393865,_0x2f77c1,_0x9d5635,_0x355507,0x15,_0x548009[0x3f]),_0x4a8d15[0x0]=_0x4a8d15[0x0]+_0x9d5635|0x0,_0x4a8d15[0x1]=_0x4a8d15[0x1]+_0x179b43|0x0,_0x4a8d15[0x2]=_0x4a8d15[0x2]+_0x393865|0x0,_0x4a8d15[0x3]=_0x4a8d15[0x3]+_0x2f77c1|0x0;},'_doFinalize':function(){var _0x13bd56=_0xf0b21a,_0x8326c2=this[_0x13bd56(0x47c)],_0x3f591d=_0x8326c2[_0x13bd56(0x27d)],_0x30f92d=this['_nDataBytes']*0x8,_0x5c837f=_0x8326c2[_0x13bd56(0x418)]*0x8;_0x3f591d[_0x5c837f>>>0x5]|=0x80<<0x18-_0x5c837f%0x20;var _0x52f699=_0x1136e0[_0x13bd56(0x449)](_0x30f92d/0x100000000),_0x3a6ede=_0x30f92d;_0x3f591d[(_0x5c837f+0x40>>>0x9<<0x4)+0xf]=(_0x52f699<<0x8|_0x52f699>>>0x18)&0xff00ff|(_0x52f699<<0x18|_0x52f699>>>0x8)&0xff00ff00,_0x3f591d[(_0x5c837f+0x40>>>0x9<<0x4)+0xe]=(_0x3a6ede<<0x8|_0x3a6ede>>>0x18)&0xff00ff|(_0x3a6ede<<0x18|_0x3a6ede>>>0x8)&0xff00ff00,_0x8326c2[_0x13bd56(0x418)]=(_0x3f591d['length']+0x1)*0x4,this[_0x13bd56(0x373)]();for(var _0x217d33=this[_0x13bd56(0x1fa)],_0x800288=_0x217d33[_0x13bd56(0x27d)],_0x3c5875=0x0;_0x3c5875<0x4;_0x3c5875++){var _0x57e7e5=_0x800288[_0x3c5875];_0x800288[_0x3c5875]=(_0x57e7e5<<0x8|_0x57e7e5>>>0x18)&0xff00ff|(_0x57e7e5<<0x18|_0x57e7e5>>>0x8)&0xff00ff00;}return _0x217d33;},'clone':function(){var _0x549f02=_0xf0b21a,_0x41d976=_0x561c37[_0x549f02(0x44f)][_0x549f02(0x255)](this);return _0x41d976['_hash']=this['_hash'][_0x549f02(0x44f)](),_0x41d976;}});function _0x372cb1(_0x3a9874,_0x55e6db,_0xef14a9,_0x4d5bf0,_0x568c8f,_0x527315,_0x47868a){var _0x35a824=_0x3a9874+(_0x55e6db&_0xef14a9|~_0x55e6db&_0x4d5bf0)+_0x568c8f+_0x47868a;return(_0x35a824<<_0x527315|_0x35a824>>>0x20-_0x527315)+_0x55e6db;}function _0x1f503b(_0x1aafff,_0x451a47,_0x207045,_0xc80f41,_0x50828c,_0xe9c06e,_0x12e0ae){var _0x24b9a3=_0x1aafff+(_0x451a47&_0xc80f41|_0x207045&~_0xc80f41)+_0x50828c+_0x12e0ae;return(_0x24b9a3<<_0xe9c06e|_0x24b9a3>>>0x20-_0xe9c06e)+_0x451a47;}function _0x540fd2(_0x213ceb,_0xee1b86,_0x429a7d,_0x197edf,_0x1dee9e,_0x3fb2b8,_0x429ca4){var _0x26aa19=_0x213ceb+(_0xee1b86^_0x429a7d^_0x197edf)+_0x1dee9e+_0x429ca4;return(_0x26aa19<<_0x3fb2b8|_0x26aa19>>>0x20-_0x3fb2b8)+_0xee1b86;}function _0x336fe1(_0x6b3591,_0x3b09e6,_0x53b2e1,_0x21f716,_0x5db267,_0x1a0795,_0xe8df97){var _0x216a77=_0x6b3591+(_0x53b2e1^(_0x3b09e6|~_0x21f716))+_0x5db267+_0xe8df97;return(_0x216a77<<_0x1a0795|_0x216a77>>>0x20-_0x1a0795)+_0x3b09e6;}_0x28aebb['MD5']=_0x561c37[_0xf0b21a(0x22e)](_0x1adc3f),_0x28aebb[_0xf0b21a(0x37f)]=_0x561c37[_0xf0b21a(0x30c)](_0x1adc3f);}(Math),_0x152f89[_0x3f122f(0x45f)];}));}(Ye)),Ye[_0x5e6c1f(0x2d6)];}var Ke={'exports':{}},qe={'exports':{}},un=qe[_0x3719d7(0x2d6)],Xt;function dn(){return Xt||(Xt=0x1,function(_0x53c012,_0x1825b2){(function(_0x5b6fd1,_0x53b812){_0x53c012['exports']=_0x53b812(te());}(un,function(_0x5f2d69){var _0x36c87f=_0x3e70;return(function(){var _0x5e3c03=_0x3e70,_0x35737c=_0x5f2d69,_0x30a824=_0x35737c[_0x5e3c03(0x37d)],_0x23ed06=_0x30a824[_0x5e3c03(0x40b)],_0x4dfba4=_0x30a824['Hasher'],_0x10d4a4=_0x35737c[_0x5e3c03(0x450)],_0x4cd716=[],_0x300b7f=_0x10d4a4['SHA1']=_0x4dfba4[_0x5e3c03(0x1ae)]({'_doReset':function(){var _0x31f8cb=_0x5e3c03;this[_0x31f8cb(0x1fa)]=new _0x23ed06['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x31e544,_0x558152){var _0x5eb948=_0x5e3c03;for(var _0x5582c2=this[_0x5eb948(0x1fa)]['words'],_0x419689=_0x5582c2[0x0],_0x35cbc2=_0x5582c2[0x1],_0x5b44a9=_0x5582c2[0x2],_0x254ac7=_0x5582c2[0x3],_0x3a800a=_0x5582c2[0x4],_0x1e4c91=0x0;_0x1e4c91<0x50;_0x1e4c91++){if(_0x1e4c91<0x10)_0x4cd716[_0x1e4c91]=_0x31e544[_0x558152+_0x1e4c91]|0x0;else{var _0xe317f6=_0x4cd716[_0x1e4c91-0x3]^_0x4cd716[_0x1e4c91-0x8]^_0x4cd716[_0x1e4c91-0xe]^_0x4cd716[_0x1e4c91-0x10];_0x4cd716[_0x1e4c91]=_0xe317f6<<0x1|_0xe317f6>>>0x1f;}var _0x1d8dc1=(_0x419689<<0x5|_0x419689>>>0x1b)+_0x3a800a+_0x4cd716[_0x1e4c91];_0x1e4c91<0x14?_0x1d8dc1+=(_0x35cbc2&_0x5b44a9|~_0x35cbc2&_0x254ac7)+0x5a827999:_0x1e4c91<0x28?_0x1d8dc1+=(_0x35cbc2^_0x5b44a9^_0x254ac7)+0x6ed9eba1:_0x1e4c91<0x3c?_0x1d8dc1+=(_0x35cbc2&_0x5b44a9|_0x35cbc2&_0x254ac7|_0x5b44a9&_0x254ac7)-0x70e44324:_0x1d8dc1+=(_0x35cbc2^_0x5b44a9^_0x254ac7)-0x359d3e2a,_0x3a800a=_0x254ac7,_0x254ac7=_0x5b44a9,_0x5b44a9=_0x35cbc2<<0x1e|_0x35cbc2>>>0x2,_0x35cbc2=_0x419689,_0x419689=_0x1d8dc1;}_0x5582c2[0x0]=_0x5582c2[0x0]+_0x419689|0x0,_0x5582c2[0x1]=_0x5582c2[0x1]+_0x35cbc2|0x0,_0x5582c2[0x2]=_0x5582c2[0x2]+_0x5b44a9|0x0,_0x5582c2[0x3]=_0x5582c2[0x3]+_0x254ac7|0x0,_0x5582c2[0x4]=_0x5582c2[0x4]+_0x3a800a|0x0;},'_doFinalize':function(){var _0x4ebe33=_0x5e3c03,_0x3983d8=this['_data'],_0x3e20f7=_0x3983d8[_0x4ebe33(0x27d)],_0x5aedc0=this[_0x4ebe33(0x272)]*0x8,_0x1f4d77=_0x3983d8[_0x4ebe33(0x418)]*0x8;return _0x3e20f7[_0x1f4d77>>>0x5]|=0x80<<0x18-_0x1f4d77%0x20,_0x3e20f7[(_0x1f4d77+0x40>>>0x9<<0x4)+0xe]=Math[_0x4ebe33(0x449)](_0x5aedc0/0x100000000),_0x3e20f7[(_0x1f4d77+0x40>>>0x9<<0x4)+0xf]=_0x5aedc0,_0x3983d8[_0x4ebe33(0x418)]=_0x3e20f7[_0x4ebe33(0x463)]*0x4,this['_process'](),this[_0x4ebe33(0x1fa)];},'clone':function(){var _0x3f5e1d=_0x5e3c03,_0x2d97c6=_0x4dfba4['clone'][_0x3f5e1d(0x255)](this);return _0x2d97c6[_0x3f5e1d(0x1fa)]=this['_hash'][_0x3f5e1d(0x44f)](),_0x2d97c6;}});_0x35737c['SHA1']=_0x4dfba4[_0x5e3c03(0x22e)](_0x300b7f),_0x35737c[_0x5e3c03(0x355)]=_0x4dfba4[_0x5e3c03(0x30c)](_0x300b7f);}()),_0x5f2d69[_0x36c87f(0x30b)];}));}(qe)),qe['exports'];}var ze={'exports':{}},fn=ze[_0x3719d7(0x2d6)],Zt;function vn(){var _0xaa64be=_0x3719d7;return Zt||(Zt=0x1,function(_0x5d055d,_0x4bed82){(function(_0x507352,_0x52fab4){var _0x3b67e2=_0x3e70;_0x5d055d[_0x3b67e2(0x2d6)]=_0x52fab4(te());}(fn,function(_0x5ef076){(function(){var _0x29b6d8=_0x3e70,_0x58e67b=_0x5ef076,_0x22915c=_0x58e67b[_0x29b6d8(0x37d)],_0x4b9c97=_0x22915c[_0x29b6d8(0x339)],_0x1dfb86=_0x58e67b[_0x29b6d8(0x1a8)],_0x165461=_0x1dfb86['Utf8'],_0x348edb=_0x58e67b[_0x29b6d8(0x450)];_0x348edb[_0x29b6d8(0x3d6)]=_0x4b9c97[_0x29b6d8(0x1ae)]({'init':function(_0x204591,_0x243989){var _0x1ebb79=_0x29b6d8;_0x204591=this['_hasher']=new _0x204591[(_0x1ebb79(0x478))](),typeof _0x243989==_0x1ebb79(0x347)&&(_0x243989=_0x165461['parse'](_0x243989));var _0x240530=_0x204591['blockSize'],_0x21fe52=_0x240530*0x4;_0x243989[_0x1ebb79(0x418)]>_0x21fe52&&(_0x243989=_0x204591[_0x1ebb79(0x358)](_0x243989)),_0x243989[_0x1ebb79(0x293)]();for(var _0xcbc373=this[_0x1ebb79(0x39c)]=_0x243989[_0x1ebb79(0x44f)](),_0x145a8a=this[_0x1ebb79(0x364)]=_0x243989[_0x1ebb79(0x44f)](),_0x3c4460=_0xcbc373[_0x1ebb79(0x27d)],_0x3f6750=_0x145a8a[_0x1ebb79(0x27d)],_0x24c387=0x0;_0x24c387<_0x240530;_0x24c387++)_0x3c4460[_0x24c387]^=0x5c5c5c5c,_0x3f6750[_0x24c387]^=0x36363636;_0xcbc373[_0x1ebb79(0x418)]=_0x145a8a[_0x1ebb79(0x418)]=_0x21fe52,this[_0x1ebb79(0x2e0)]();},'reset':function(){var _0x52d52d=_0x29b6d8,_0x207646=this[_0x52d52d(0x1f5)];_0x207646['reset'](),_0x207646[_0x52d52d(0x47d)](this['_iKey']);},'update':function(_0x45ff83){var _0x2db811=_0x29b6d8;return this[_0x2db811(0x1f5)][_0x2db811(0x47d)](_0x45ff83),this;},'finalize':function(_0x3206a0){var _0x203fed=_0x29b6d8,_0x2dc978=this['_hasher'],_0x2096d4=_0x2dc978['finalize'](_0x3206a0);_0x2dc978['reset']();var _0x2ba7ef=_0x2dc978['finalize'](this[_0x203fed(0x39c)][_0x203fed(0x44f)]()[_0x203fed(0x423)](_0x2096d4));return _0x2ba7ef;}});}());}));}(ze)),ze[_0xaa64be(0x2d6)];}var pn=Ke[_0x3719d7(0x2d6)],Qt;function Oi(){return Qt||(Qt=0x1,function(_0x53716d,_0x5b0171){(function(_0x236183,_0x1ad409,_0x3ad6fd){var _0x59d458=_0x3e70;_0x53716d[_0x59d458(0x2d6)]=_0x1ad409(te(),dn(),vn());}(pn,function(_0x20c20d){var _0x110fd2=_0x3e70;return(function(){var _0x408473=_0x3e70,_0x2a450c=_0x20c20d,_0x5428=_0x2a450c[_0x408473(0x37d)],_0x384821=_0x5428[_0x408473(0x339)],_0xa81275=_0x5428[_0x408473(0x40b)],_0x3da845=_0x2a450c[_0x408473(0x450)],_0x1d9898=_0x3da845['MD5'],_0x19ed3b=_0x3da845[_0x408473(0x3ec)]=_0x384821[_0x408473(0x1ae)]({'cfg':_0x384821['extend']({'keySize':0x80/0x20,'hasher':_0x1d9898,'iterations':0x1}),'init':function(_0x26559b){var _0x1ae36b=_0x408473;this[_0x1ae36b(0x337)]=this['cfg'][_0x1ae36b(0x1ae)](_0x26559b);},'compute':function(_0x4bedd4,_0x553d57){var _0x25668e=_0x408473;for(var _0x2daffc,_0x2a0ed8=this[_0x25668e(0x337)],_0x15925f=_0x2a0ed8[_0x25668e(0x1da)][_0x25668e(0x29d)](),_0x58ed34=_0xa81275[_0x25668e(0x29d)](),_0x2ab4cc=_0x58ed34['words'],_0x4d4b16=_0x2a0ed8['keySize'],_0x17cf65=_0x2a0ed8[_0x25668e(0x3e2)];_0x2ab4cc[_0x25668e(0x463)]<_0x4d4b16;){_0x2daffc&&_0x15925f['update'](_0x2daffc),_0x2daffc=_0x15925f[_0x25668e(0x47d)](_0x4bedd4)['finalize'](_0x553d57),_0x15925f[_0x25668e(0x2e0)]();for(var _0x2bbc80=0x1;_0x2bbc80<_0x17cf65;_0x2bbc80++)_0x2daffc=_0x15925f['finalize'](_0x2daffc),_0x15925f[_0x25668e(0x2e0)]();_0x58ed34[_0x25668e(0x423)](_0x2daffc);}return _0x58ed34[_0x25668e(0x418)]=_0x4d4b16*0x4,_0x58ed34;}});_0x2a450c[_0x408473(0x3ec)]=function(_0x1662eb,_0x533078,_0x592814){var _0x366198=_0x408473;return _0x19ed3b[_0x366198(0x29d)](_0x592814)[_0x366198(0x1af)](_0x1662eb,_0x533078);};}()),_0x20c20d[_0x110fd2(0x3ec)];}));}(Ke)),Ke['exports'];}var Je={'exports':{}},mn=Je[_0x3719d7(0x2d6)],ei;function bi(){var _0x3693a4=_0x3719d7;return ei||(ei=0x1,function(_0x472e79,_0x83e1ae){(function(_0x389df5,_0x521cba,_0x23141d){var _0x4fa038=_0x3e70;_0x472e79[_0x4fa038(0x2d6)]=_0x521cba(te(),Oi());}(mn,function(_0x1cbaba){var _0x2fb79f=_0x3e70;_0x1cbaba['lib'][_0x2fb79f(0x1cc)]||function(_0x281cdd){var _0x58a9f3=_0x2fb79f,_0x4e223f=_0x1cbaba,_0x11fe56=_0x4e223f[_0x58a9f3(0x37d)],_0x528d77=_0x11fe56[_0x58a9f3(0x339)],_0x4dc865=_0x11fe56[_0x58a9f3(0x40b)],_0x1189a4=_0x11fe56[_0x58a9f3(0x35d)],_0x3d3493=_0x4e223f['enc'];_0x3d3493[_0x58a9f3(0x386)];var _0x47aa36=_0x3d3493[_0x58a9f3(0x392)],_0x5f27fc=_0x4e223f[_0x58a9f3(0x450)],_0x5dd204=_0x5f27fc[_0x58a9f3(0x3ec)],_0x8d9564=_0x11fe56[_0x58a9f3(0x1cc)]=_0x1189a4['extend']({'cfg':_0x528d77[_0x58a9f3(0x1ae)](),'createEncryptor':function(_0x34b127,_0x5a64ea){var _0x4145b7=_0x58a9f3;return this[_0x4145b7(0x29d)](this[_0x4145b7(0x27a)],_0x34b127,_0x5a64ea);},'createDecryptor':function(_0x2e56df,_0x311351){var _0x315391=_0x58a9f3;return this['create'](this[_0x315391(0x3b7)],_0x2e56df,_0x311351);},'init':function(_0x49dce3,_0x117bf5,_0x3e0f28){var _0x125cb1=_0x58a9f3;this[_0x125cb1(0x337)]=this[_0x125cb1(0x337)]['extend'](_0x3e0f28),this[_0x125cb1(0x2d9)]=_0x49dce3,this['_key']=_0x117bf5,this[_0x125cb1(0x2e0)]();},'reset':function(){var _0x55c48d=_0x58a9f3;_0x1189a4[_0x55c48d(0x2e0)][_0x55c48d(0x255)](this),this[_0x55c48d(0x32e)]();},'process':function(_0x166e1b){var _0x242d97=_0x58a9f3;return this[_0x242d97(0x27e)](_0x166e1b),this[_0x242d97(0x373)]();},'finalize':function(_0x5d03d7){var _0x2b3c19=_0x58a9f3;_0x5d03d7&&this['_append'](_0x5d03d7);var _0x180f35=this[_0x2b3c19(0x376)]();return _0x180f35;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2e85db(_0x17c74c){var _0x2f7bda=_0x3e70;return typeof _0x17c74c==_0x2f7bda(0x347)?_0x21d7bb:_0x34a247;}return function(_0x4c2120){return{'encrypt':function(_0x3a584a,_0x555832,_0x298833){return _0x2e85db(_0x555832)['encrypt'](_0x4c2120,_0x3a584a,_0x555832,_0x298833);},'decrypt':function(_0x17db20,_0x14b566,_0x734c21){var _0x2e708e=_0x3e70;return _0x2e85db(_0x14b566)[_0x2e708e(0x35e)](_0x4c2120,_0x17db20,_0x14b566,_0x734c21);}};};}())});_0x11fe56[_0x58a9f3(0x3f3)]=_0x8d9564['extend']({'_doFinalize':function(){var _0x23bf5f=_0x58a9f3,_0x4b05b4=this[_0x23bf5f(0x373)](!0x0);return _0x4b05b4;},'blockSize':0x1});var _0x3babee=_0x4e223f[_0x58a9f3(0x40d)]={},_0x19b4af=_0x11fe56[_0x58a9f3(0x2a6)]=_0x528d77[_0x58a9f3(0x1ae)]({'createEncryptor':function(_0x1ef52b,_0xd7e2ba){var _0x1d7047=_0x58a9f3;return this[_0x1d7047(0x33f)][_0x1d7047(0x29d)](_0x1ef52b,_0xd7e2ba);},'createDecryptor':function(_0x41361c,_0x45725a){var _0x287aa3=_0x58a9f3;return this['Decryptor'][_0x287aa3(0x29d)](_0x41361c,_0x45725a);},'init':function(_0x595ed9,_0x35c4ae){var _0x255682=_0x58a9f3;this[_0x255682(0x1f4)]=_0x595ed9,this[_0x255682(0x3de)]=_0x35c4ae;}}),_0x4f282a=_0x3babee[_0x58a9f3(0x39a)]=(function(){var _0x28cf56=_0x58a9f3,_0x34c81a=_0x19b4af[_0x28cf56(0x1ae)]();_0x34c81a[_0x28cf56(0x33f)]=_0x34c81a['extend']({'processBlock':function(_0x365d86,_0x259d1b){var _0x1807f3=_0x28cf56,_0xbdb2c4=this[_0x1807f3(0x1f4)],_0x10db17=_0xbdb2c4[_0x1807f3(0x2bd)];_0x418521['call'](this,_0x365d86,_0x259d1b,_0x10db17),_0xbdb2c4['encryptBlock'](_0x365d86,_0x259d1b),this[_0x1807f3(0x400)]=_0x365d86[_0x1807f3(0x40c)](_0x259d1b,_0x259d1b+_0x10db17);}}),_0x34c81a[_0x28cf56(0x37a)]=_0x34c81a['extend']({'processBlock':function(_0xff88aa,_0x5b1164){var _0x521a06=_0x28cf56,_0x19aeb9=this[_0x521a06(0x1f4)],_0x56b791=_0x19aeb9[_0x521a06(0x2bd)],_0x31e134=_0xff88aa[_0x521a06(0x40c)](_0x5b1164,_0x5b1164+_0x56b791);_0x19aeb9['decryptBlock'](_0xff88aa,_0x5b1164),_0x418521[_0x521a06(0x255)](this,_0xff88aa,_0x5b1164,_0x56b791),this[_0x521a06(0x400)]=_0x31e134;}});function _0x418521(_0x390f36,_0xc4ff8b,_0x5301cf){var _0x294ae6=_0x28cf56,_0xb4eb9e,_0x5d5c53=this['_iv'];_0x5d5c53?(_0xb4eb9e=_0x5d5c53,this[_0x294ae6(0x3de)]=_0x281cdd):_0xb4eb9e=this['_prevBlock'];for(var _0xbfe614=0x0;_0xbfe614<_0x5301cf;_0xbfe614++)_0x390f36[_0xc4ff8b+_0xbfe614]^=_0xb4eb9e[_0xbfe614];}return _0x34c81a;}()),_0x45a941=_0x4e223f[_0x58a9f3(0x2ec)]={},_0x4c82d3=_0x45a941['Pkcs7']={'pad':function(_0x37ebff,_0x10fd65){var _0x2e57b6=_0x58a9f3;for(var _0x6ae90f=_0x10fd65*0x4,_0x58c72e=_0x6ae90f-_0x37ebff[_0x2e57b6(0x418)]%_0x6ae90f,_0x6fa3ab=_0x58c72e<<0x18|_0x58c72e<<0x10|_0x58c72e<<0x8|_0x58c72e,_0x6a6f0f=[],_0x31e71a=0x0;_0x31e71a<_0x58c72e;_0x31e71a+=0x4)_0x6a6f0f['push'](_0x6fa3ab);var _0x3d39af=_0x4dc865[_0x2e57b6(0x29d)](_0x6a6f0f,_0x58c72e);_0x37ebff[_0x2e57b6(0x423)](_0x3d39af);},'unpad':function(_0x1221a2){var _0x4ce0d5=_0x58a9f3,_0x68a202=_0x1221a2[_0x4ce0d5(0x27d)][_0x1221a2[_0x4ce0d5(0x418)]-0x1>>>0x2]&0xff;_0x1221a2['sigBytes']-=_0x68a202;}};_0x11fe56['BlockCipher']=_0x8d9564['extend']({'cfg':_0x8d9564[_0x58a9f3(0x337)][_0x58a9f3(0x1ae)]({'mode':_0x4f282a,'padding':_0x4c82d3}),'reset':function(){var _0x8e63cc=_0x58a9f3,_0x3657f7;_0x8d9564[_0x8e63cc(0x2e0)][_0x8e63cc(0x255)](this);var _0x16942f=this[_0x8e63cc(0x337)],_0x3f330d=_0x16942f['iv'],_0x8a6e44=_0x16942f[_0x8e63cc(0x40d)];this['_xformMode']==this[_0x8e63cc(0x27a)]?_0x3657f7=_0x8a6e44['createEncryptor']:(_0x3657f7=_0x8a6e44['createDecryptor'],this[_0x8e63cc(0x385)]=0x1),this[_0x8e63cc(0x20b)]&&this[_0x8e63cc(0x20b)][_0x8e63cc(0x431)]==_0x3657f7?this[_0x8e63cc(0x20b)]['init'](this,_0x3f330d&&_0x3f330d[_0x8e63cc(0x27d)]):(this[_0x8e63cc(0x20b)]=_0x3657f7['call'](_0x8a6e44,this,_0x3f330d&&_0x3f330d[_0x8e63cc(0x27d)]),this[_0x8e63cc(0x20b)][_0x8e63cc(0x431)]=_0x3657f7);},'_doProcessBlock':function(_0x419034,_0x1a8bb0){this['_mode']['processBlock'](_0x419034,_0x1a8bb0);},'_doFinalize':function(){var _0x2711a3=_0x58a9f3,_0x260ee1,_0x40a489=this['cfg']['padding'];return this['_xformMode']==this[_0x2711a3(0x27a)]?(_0x40a489[_0x2711a3(0x2ec)](this[_0x2711a3(0x47c)],this['blockSize']),_0x260ee1=this[_0x2711a3(0x373)](!0x0)):(_0x260ee1=this[_0x2711a3(0x373)](!0x0),_0x40a489[_0x2711a3(0x3d1)](_0x260ee1)),_0x260ee1;},'blockSize':0x80/0x20});var _0xd61ef2=_0x11fe56['CipherParams']=_0x528d77[_0x58a9f3(0x1ae)]({'init':function(_0x3daebd){this['mixIn'](_0x3daebd);},'toString':function(_0x3c6397){var _0x371514=_0x58a9f3;return(_0x3c6397||this[_0x371514(0x207)])[_0x371514(0x2c8)](this);}}),_0x18ddd6=_0x4e223f[_0x58a9f3(0x26d)]={},_0x2668e5=_0x18ddd6[_0x58a9f3(0x22d)]={'stringify':function(_0x12e923){var _0x49b758=_0x58a9f3,_0x3a6211,_0x310e6d=_0x12e923[_0x49b758(0x2c0)],_0x584961=_0x12e923[_0x49b758(0x320)];return _0x584961?_0x3a6211=_0x4dc865['create']([0x53616c74,0x65645f5f])[_0x49b758(0x423)](_0x584961)[_0x49b758(0x423)](_0x310e6d):_0x3a6211=_0x310e6d,_0x3a6211['toString'](_0x47aa36);},'parse':function(_0x5cf6b0){var _0x333c21=_0x58a9f3,_0x2d7a2b,_0x3f106f=_0x47aa36[_0x333c21(0x42c)](_0x5cf6b0),_0x3ad5c4=_0x3f106f[_0x333c21(0x27d)];return _0x3ad5c4[0x0]==0x53616c74&&_0x3ad5c4[0x1]==0x65645f5f&&(_0x2d7a2b=_0x4dc865[_0x333c21(0x29d)](_0x3ad5c4[_0x333c21(0x40c)](0x2,0x4)),_0x3ad5c4[_0x333c21(0x415)](0x0,0x4),_0x3f106f[_0x333c21(0x418)]-=0x10),_0xd61ef2['create']({'ciphertext':_0x3f106f,'salt':_0x2d7a2b});}},_0x34a247=_0x11fe56[_0x58a9f3(0x35a)]=_0x528d77[_0x58a9f3(0x1ae)]({'cfg':_0x528d77['extend']({'format':_0x2668e5}),'encrypt':function(_0x2879b1,_0x35acb3,_0x14857c,_0x29106c){var _0x1b43bd=_0x58a9f3;_0x29106c=this[_0x1b43bd(0x337)]['extend'](_0x29106c);var _0x23371d=_0x2879b1[_0x1b43bd(0x424)](_0x14857c,_0x29106c),_0x4121e5=_0x23371d[_0x1b43bd(0x358)](_0x35acb3),_0x20da25=_0x23371d[_0x1b43bd(0x337)];return _0xd61ef2[_0x1b43bd(0x29d)]({'ciphertext':_0x4121e5,'key':_0x14857c,'iv':_0x20da25['iv'],'algorithm':_0x2879b1,'mode':_0x20da25['mode'],'padding':_0x20da25['padding'],'blockSize':_0x2879b1[_0x1b43bd(0x2bd)],'formatter':_0x29106c[_0x1b43bd(0x26d)]});},'decrypt':function(_0xd330ee,_0x2a64fa,_0x3a85c4,_0x351eaf){var _0x1f9d59=_0x58a9f3;_0x351eaf=this[_0x1f9d59(0x337)][_0x1f9d59(0x1ae)](_0x351eaf),_0x2a64fa=this[_0x1f9d59(0x42a)](_0x2a64fa,_0x351eaf[_0x1f9d59(0x26d)]);var _0x5c849b=_0xd330ee[_0x1f9d59(0x3bd)](_0x3a85c4,_0x351eaf)[_0x1f9d59(0x358)](_0x2a64fa[_0x1f9d59(0x2c0)]);return _0x5c849b;},'_parse':function(_0x510cf,_0x7bd9f3){var _0x3bd21e=_0x58a9f3;return typeof _0x510cf==_0x3bd21e(0x347)?_0x7bd9f3[_0x3bd21e(0x42c)](_0x510cf,this):_0x510cf;}}),_0x46af6c=_0x4e223f[_0x58a9f3(0x22b)]={},_0x3acc41=_0x46af6c[_0x58a9f3(0x22d)]={'execute':function(_0x14ce97,_0x373fe4,_0x55762a,_0x3a6b52,_0x348b5b){var _0x1e8b3a=_0x58a9f3;if(_0x3a6b52||(_0x3a6b52=_0x4dc865[_0x1e8b3a(0x25f)](0x40/0x8)),_0x348b5b)var _0x1b010d=_0x5dd204['create']({'keySize':_0x373fe4+_0x55762a,'hasher':_0x348b5b})['compute'](_0x14ce97,_0x3a6b52);else var _0x1b010d=_0x5dd204[_0x1e8b3a(0x29d)]({'keySize':_0x373fe4+_0x55762a})[_0x1e8b3a(0x1af)](_0x14ce97,_0x3a6b52);var _0x456e1e=_0x4dc865[_0x1e8b3a(0x29d)](_0x1b010d[_0x1e8b3a(0x27d)]['slice'](_0x373fe4),_0x55762a*0x4);return _0x1b010d[_0x1e8b3a(0x418)]=_0x373fe4*0x4,_0xd61ef2[_0x1e8b3a(0x29d)]({'key':_0x1b010d,'iv':_0x456e1e,'salt':_0x3a6b52});}},_0x21d7bb=_0x11fe56[_0x58a9f3(0x1fb)]=_0x34a247['extend']({'cfg':_0x34a247[_0x58a9f3(0x337)][_0x58a9f3(0x1ae)]({'kdf':_0x3acc41}),'encrypt':function(_0x136362,_0x5b9488,_0x5ba7eb,_0x476bee){var _0x2063d9=_0x58a9f3;_0x476bee=this[_0x2063d9(0x337)][_0x2063d9(0x1ae)](_0x476bee);var _0x3f5691=_0x476bee[_0x2063d9(0x22b)][_0x2063d9(0x24b)](_0x5ba7eb,_0x136362[_0x2063d9(0x378)],_0x136362[_0x2063d9(0x395)],_0x476bee['salt'],_0x476bee[_0x2063d9(0x1da)]);_0x476bee['iv']=_0x3f5691['iv'];var _0x49be09=_0x34a247[_0x2063d9(0x331)][_0x2063d9(0x255)](this,_0x136362,_0x5b9488,_0x3f5691[_0x2063d9(0x2b4)],_0x476bee);return _0x49be09[_0x2063d9(0x3c0)](_0x3f5691),_0x49be09;},'decrypt':function(_0x4a71db,_0xdcb7e9,_0x30fbd7,_0x9ef3c1){var _0x22fa90=_0x58a9f3;_0x9ef3c1=this['cfg']['extend'](_0x9ef3c1),_0xdcb7e9=this['_parse'](_0xdcb7e9,_0x9ef3c1[_0x22fa90(0x26d)]);var _0x413ab6=_0x9ef3c1['kdf']['execute'](_0x30fbd7,_0x4a71db[_0x22fa90(0x378)],_0x4a71db['ivSize'],_0xdcb7e9[_0x22fa90(0x320)],_0x9ef3c1['hasher']);_0x9ef3c1['iv']=_0x413ab6['iv'];var _0x1cb2b2=_0x34a247[_0x22fa90(0x35e)][_0x22fa90(0x255)](this,_0x4a71db,_0xdcb7e9,_0x413ab6[_0x22fa90(0x2b4)],_0x9ef3c1);return _0x1cb2b2;}});}();}));}(Je)),Je[_0x3693a4(0x2d6)];}var gn=Ve[_0x3719d7(0x2d6)],ti;function Sn(){var _0x43f05a=_0x3719d7;return ti||(ti=0x1,function(_0x1a9c0d,_0xf8da2d){(function(_0x18e127,_0x2db897,_0x895069){var _0x3024b0=_0x3e70;_0x1a9c0d[_0x3024b0(0x2d6)]=_0x2db897(te(),Ri(),ln(),Oi(),bi());}(gn,function(_0x3dd989){var _0x488882=_0x3e70;return(function(){var _0x1acf39=_0x3e70,_0x1f1405=_0x3dd989,_0x2d2e69=_0x1f1405[_0x1acf39(0x37d)],_0x4a4ef2=_0x2d2e69['BlockCipher'],_0x42fcdd=_0x1f1405[_0x1acf39(0x450)],_0x441eef=[],_0x50d572=[],_0x2863c2=[],_0x3bfd2c=[],_0x482f91=[],_0x4c74ac=[],_0x1c3b90=[],_0x5808ae=[],_0xa7e41a=[],_0x9c6206=[];(function(){for(var _0x24633b=[],_0xe3c3e9=0x0;_0xe3c3e9<0x100;_0xe3c3e9++)_0xe3c3e9<0x80?_0x24633b[_0xe3c3e9]=_0xe3c3e9<<0x1:_0x24633b[_0xe3c3e9]=_0xe3c3e9<<0x1^0x11b;for(var _0x2f1c19=0x0,_0x28fab7=0x0,_0xe3c3e9=0x0;_0xe3c3e9<0x100;_0xe3c3e9++){var _0x5d40e9=_0x28fab7^_0x28fab7<<0x1^_0x28fab7<<0x2^_0x28fab7<<0x3^_0x28fab7<<0x4;_0x5d40e9=_0x5d40e9>>>0x8^_0x5d40e9&0xff^0x63,_0x441eef[_0x2f1c19]=_0x5d40e9,_0x50d572[_0x5d40e9]=_0x2f1c19;var _0x1d1082=_0x24633b[_0x2f1c19],_0x2df367=_0x24633b[_0x1d1082],_0x498700=_0x24633b[_0x2df367],_0x2fee62=_0x24633b[_0x5d40e9]*0x101^_0x5d40e9*0x1010100;_0x2863c2[_0x2f1c19]=_0x2fee62<<0x18|_0x2fee62>>>0x8,_0x3bfd2c[_0x2f1c19]=_0x2fee62<<0x10|_0x2fee62>>>0x10,_0x482f91[_0x2f1c19]=_0x2fee62<<0x8|_0x2fee62>>>0x18,_0x4c74ac[_0x2f1c19]=_0x2fee62;var _0x2fee62=_0x498700*0x1010101^_0x2df367*0x10001^_0x1d1082*0x101^_0x2f1c19*0x1010100;_0x1c3b90[_0x5d40e9]=_0x2fee62<<0x18|_0x2fee62>>>0x8,_0x5808ae[_0x5d40e9]=_0x2fee62<<0x10|_0x2fee62>>>0x10,_0xa7e41a[_0x5d40e9]=_0x2fee62<<0x8|_0x2fee62>>>0x18,_0x9c6206[_0x5d40e9]=_0x2fee62,_0x2f1c19?(_0x2f1c19=_0x1d1082^_0x24633b[_0x24633b[_0x24633b[_0x498700^_0x1d1082]]],_0x28fab7^=_0x24633b[_0x24633b[_0x28fab7]]):_0x2f1c19=_0x28fab7=0x1;}}());var _0x2bc4f8=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2c3d60=_0x42fcdd[_0x1acf39(0x362)]=_0x4a4ef2[_0x1acf39(0x1ae)]({'_doReset':function(){var _0x4dd229=_0x1acf39,_0x55ddf7;if(!(this[_0x4dd229(0x2d5)]&&this[_0x4dd229(0x40e)]===this[_0x4dd229(0x38e)])){for(var _0x3d260f=this[_0x4dd229(0x40e)]=this['_key'],_0x329599=_0x3d260f[_0x4dd229(0x27d)],_0x324b9a=_0x3d260f['sigBytes']/0x4,_0x17c66d=this[_0x4dd229(0x2d5)]=_0x324b9a+0x6,_0x4c82a7=(_0x17c66d+0x1)*0x4,_0x4257d2=this[_0x4dd229(0x23b)]=[],_0x39a214=0x0;_0x39a214<_0x4c82a7;_0x39a214++)_0x39a214<_0x324b9a?_0x4257d2[_0x39a214]=_0x329599[_0x39a214]:(_0x55ddf7=_0x4257d2[_0x39a214-0x1],_0x39a214%_0x324b9a?_0x324b9a>0x6&&_0x39a214%_0x324b9a==0x4&&(_0x55ddf7=_0x441eef[_0x55ddf7>>>0x18]<<0x18|_0x441eef[_0x55ddf7>>>0x10&0xff]<<0x10|_0x441eef[_0x55ddf7>>>0x8&0xff]<<0x8|_0x441eef[_0x55ddf7&0xff]):(_0x55ddf7=_0x55ddf7<<0x8|_0x55ddf7>>>0x18,_0x55ddf7=_0x441eef[_0x55ddf7>>>0x18]<<0x18|_0x441eef[_0x55ddf7>>>0x10&0xff]<<0x10|_0x441eef[_0x55ddf7>>>0x8&0xff]<<0x8|_0x441eef[_0x55ddf7&0xff],_0x55ddf7^=_0x2bc4f8[_0x39a214/_0x324b9a|0x0]<<0x18),_0x4257d2[_0x39a214]=_0x4257d2[_0x39a214-_0x324b9a]^_0x55ddf7);for(var _0x395e54=this[_0x4dd229(0x197)]=[],_0xf386a7=0x0;_0xf386a7<_0x4c82a7;_0xf386a7++){var _0x39a214=_0x4c82a7-_0xf386a7;if(_0xf386a7%0x4)var _0x55ddf7=_0x4257d2[_0x39a214];else var _0x55ddf7=_0x4257d2[_0x39a214-0x4];_0xf386a7<0x4||_0x39a214<=0x4?_0x395e54[_0xf386a7]=_0x55ddf7:_0x395e54[_0xf386a7]=_0x1c3b90[_0x441eef[_0x55ddf7>>>0x18]]^_0x5808ae[_0x441eef[_0x55ddf7>>>0x10&0xff]]^_0xa7e41a[_0x441eef[_0x55ddf7>>>0x8&0xff]]^_0x9c6206[_0x441eef[_0x55ddf7&0xff]];}}},'encryptBlock':function(_0x2a276c,_0x178256){var _0x2efaf8=_0x1acf39;this[_0x2efaf8(0x46b)](_0x2a276c,_0x178256,this[_0x2efaf8(0x23b)],_0x2863c2,_0x3bfd2c,_0x482f91,_0x4c74ac,_0x441eef);},'decryptBlock':function(_0x31d98d,_0x5e2bf7){var _0x4ed4bc=_0x1acf39,_0x176047=_0x31d98d[_0x5e2bf7+0x1];_0x31d98d[_0x5e2bf7+0x1]=_0x31d98d[_0x5e2bf7+0x3],_0x31d98d[_0x5e2bf7+0x3]=_0x176047,this['_doCryptBlock'](_0x31d98d,_0x5e2bf7,this[_0x4ed4bc(0x197)],_0x1c3b90,_0x5808ae,_0xa7e41a,_0x9c6206,_0x50d572);var _0x176047=_0x31d98d[_0x5e2bf7+0x1];_0x31d98d[_0x5e2bf7+0x1]=_0x31d98d[_0x5e2bf7+0x3],_0x31d98d[_0x5e2bf7+0x3]=_0x176047;},'_doCryptBlock':function(_0x32c36e,_0x5f109a,_0x515918,_0x587f4a,_0x2ce2c1,_0x4f52ea,_0x1380e1,_0x1aa3e5){var _0x4120ba=_0x1acf39;for(var _0x45d503=this[_0x4120ba(0x2d5)],_0x1ec0cf=_0x32c36e[_0x5f109a]^_0x515918[0x0],_0x138e36=_0x32c36e[_0x5f109a+0x1]^_0x515918[0x1],_0x267ab7=_0x32c36e[_0x5f109a+0x2]^_0x515918[0x2],_0x33caa1=_0x32c36e[_0x5f109a+0x3]^_0x515918[0x3],_0x58f284=0x4,_0x4bdd5a=0x1;_0x4bdd5a<_0x45d503;_0x4bdd5a++){var _0x5a65ff=_0x587f4a[_0x1ec0cf>>>0x18]^_0x2ce2c1[_0x138e36>>>0x10&0xff]^_0x4f52ea[_0x267ab7>>>0x8&0xff]^_0x1380e1[_0x33caa1&0xff]^_0x515918[_0x58f284++],_0x1eecfa=_0x587f4a[_0x138e36>>>0x18]^_0x2ce2c1[_0x267ab7>>>0x10&0xff]^_0x4f52ea[_0x33caa1>>>0x8&0xff]^_0x1380e1[_0x1ec0cf&0xff]^_0x515918[_0x58f284++],_0x2985a8=_0x587f4a[_0x267ab7>>>0x18]^_0x2ce2c1[_0x33caa1>>>0x10&0xff]^_0x4f52ea[_0x1ec0cf>>>0x8&0xff]^_0x1380e1[_0x138e36&0xff]^_0x515918[_0x58f284++],_0x36a422=_0x587f4a[_0x33caa1>>>0x18]^_0x2ce2c1[_0x1ec0cf>>>0x10&0xff]^_0x4f52ea[_0x138e36>>>0x8&0xff]^_0x1380e1[_0x267ab7&0xff]^_0x515918[_0x58f284++];_0x1ec0cf=_0x5a65ff,_0x138e36=_0x1eecfa,_0x267ab7=_0x2985a8,_0x33caa1=_0x36a422;}var _0x5a65ff=(_0x1aa3e5[_0x1ec0cf>>>0x18]<<0x18|_0x1aa3e5[_0x138e36>>>0x10&0xff]<<0x10|_0x1aa3e5[_0x267ab7>>>0x8&0xff]<<0x8|_0x1aa3e5[_0x33caa1&0xff])^_0x515918[_0x58f284++],_0x1eecfa=(_0x1aa3e5[_0x138e36>>>0x18]<<0x18|_0x1aa3e5[_0x267ab7>>>0x10&0xff]<<0x10|_0x1aa3e5[_0x33caa1>>>0x8&0xff]<<0x8|_0x1aa3e5[_0x1ec0cf&0xff])^_0x515918[_0x58f284++],_0x2985a8=(_0x1aa3e5[_0x267ab7>>>0x18]<<0x18|_0x1aa3e5[_0x33caa1>>>0x10&0xff]<<0x10|_0x1aa3e5[_0x1ec0cf>>>0x8&0xff]<<0x8|_0x1aa3e5[_0x138e36&0xff])^_0x515918[_0x58f284++],_0x36a422=(_0x1aa3e5[_0x33caa1>>>0x18]<<0x18|_0x1aa3e5[_0x1ec0cf>>>0x10&0xff]<<0x10|_0x1aa3e5[_0x138e36>>>0x8&0xff]<<0x8|_0x1aa3e5[_0x267ab7&0xff])^_0x515918[_0x58f284++];_0x32c36e[_0x5f109a]=_0x5a65ff,_0x32c36e[_0x5f109a+0x1]=_0x1eecfa,_0x32c36e[_0x5f109a+0x2]=_0x2985a8,_0x32c36e[_0x5f109a+0x3]=_0x36a422;},'keySize':0x100/0x20});_0x1f1405['AES']=_0x4a4ef2[_0x1acf39(0x22e)](_0x2c3d60);}()),_0x3dd989[_0x488882(0x362)];}));}(Ve)),Ve[_0x43f05a(0x2d6)];}var En=Sn();const In=$e(En);var Tn=Ri();const ii=$e(Tn);var Xe={'exports':{}},Cn=Xe[_0x3719d7(0x2d6)],si;function Rn(){var _0x43cc0b=_0x3719d7;return si||(si=0x1,function(_0x24d796,_0x3d813c){(function(_0x5afdd7,_0x2d2aeb){var _0x28a794=_0x3e70;_0x24d796[_0x28a794(0x2d6)]=_0x2d2aeb(te());}(Cn,function(_0x374ae2){var _0x77fe90=_0x3e70;return _0x374ae2[_0x77fe90(0x1a8)]['Utf8'];}));}(Xe)),Xe[_0x43cc0b(0x2d6)];}function _0x3e70(_0x1dbf28,_0x2f2efe){var _0x345c54=_0x345c();return _0x3e70=function(_0x3e7022,_0x19ab00){_0x3e7022=_0x3e7022-0x18e;var _0x21d694=_0x345c54[_0x3e7022];return _0x21d694;},_0x3e70(_0x1dbf28,_0x2f2efe);}var On=Rn();const bn=$e(On);var Ze={'exports':{}},yn=Ze['exports'],ni;function Nn(){return ni||(ni=0x1,function(_0x523540,_0x1a95ca){(function(_0x512454,_0x236a58){var _0x168b87=_0x3e70;_0x523540[_0x168b87(0x2d6)]=_0x236a58(te());}(yn,function(_0x384abe){var _0x3fdf8e=_0x3e70;return(function(){var _0x46d327=_0x3e70;if(typeof ArrayBuffer==_0x46d327(0x356)){var _0x3753c2=_0x384abe,_0x5072c9=_0x3753c2[_0x46d327(0x37d)],_0x16d3c6=_0x5072c9[_0x46d327(0x40b)],_0x3a31b7=_0x16d3c6[_0x46d327(0x478)],_0x20c02f=_0x16d3c6[_0x46d327(0x478)]=function(_0x19a6d9){var _0x3aa311=_0x46d327;if(_0x19a6d9 instanceof ArrayBuffer&&(_0x19a6d9=new Uint8Array(_0x19a6d9)),(_0x19a6d9 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x19a6d9 instanceof Uint8ClampedArray||_0x19a6d9 instanceof Int16Array||_0x19a6d9 instanceof Uint16Array||_0x19a6d9 instanceof Int32Array||_0x19a6d9 instanceof Uint32Array||_0x19a6d9 instanceof Float32Array||_0x19a6d9 instanceof Float64Array)&&(_0x19a6d9=new Uint8Array(_0x19a6d9['buffer'],_0x19a6d9[_0x3aa311(0x1aa)],_0x19a6d9[_0x3aa311(0x18f)])),_0x19a6d9 instanceof Uint8Array){for(var _0x43c9a0=_0x19a6d9[_0x3aa311(0x18f)],_0x5ab99e=[],_0xf21101=0x0;_0xf21101<_0x43c9a0;_0xf21101++)_0x5ab99e[_0xf21101>>>0x2]|=_0x19a6d9[_0xf21101]<<0x18-_0xf21101%0x4*0x8;_0x3a31b7[_0x3aa311(0x255)](this,_0x5ab99e,_0x43c9a0);}else _0x3a31b7[_0x3aa311(0x2d3)](this,arguments);};_0x20c02f['prototype']=_0x16d3c6;}}()),_0x384abe['lib'][_0x3fdf8e(0x40b)];}));}(Ze)),Ze['exports'];}var Dn=Nn();const Un=$e(Dn);var Qe={'exports':{}},An=Qe[_0x3719d7(0x2d6)],ri;function wn(){var _0x22e2cd=_0x3719d7;return ri||(ri=0x1,function(_0x47fa3e,_0x407c04){(function(_0x1e1173,_0x32a058,_0x47b588){var _0x496904=_0x3e70;_0x47fa3e[_0x496904(0x2d6)]=_0x32a058(te(),bi());}(An,function(_0x3f2829){var _0x327eed=_0x3e70;return _0x3f2829[_0x327eed(0x2ec)][_0x327eed(0x318)]={'pad':function(){},'unpad':function(){}},_0x3f2829['pad'][_0x327eed(0x318)];}));}(Qe)),Qe[_0x22e2cd(0x2d6)];}var Pn=wn();const Mn=$e(Pn);function Ln(_0x50ce02,_0x5d5996){var _0x3fbdf5=_0x3719d7;const _0x2cc3f1=_0x5d5996-_0x50ce02[_0x3fbdf5(0x463)]%_0x5d5996,_0x332250=String[_0x3fbdf5(0x413)](_0x2cc3f1)['repeat'](_0x2cc3f1);return _0x50ce02+_0x332250;}function xn(_0xd14dec,_0x4200c0){var _0x2c1c43=_0x3719d7;const _0x53a67b=Un[_0x2c1c43(0x25f)](0x10),_0xc0e54f=Ln(_0xd14dec,0x10),_0x5ecd4e=In[_0x2c1c43(0x331)](bn['parse'](_0xc0e54f),ii[_0x2c1c43(0x42c)](_0x4200c0),{'iv':_0x53a67b,'padding':Mn});return _0x53a67b[_0x2c1c43(0x423)](_0x5ecd4e[_0x2c1c43(0x2c0)])[_0x2c1c43(0x263)](ii);}function kn(){var _0x35569a=_0x3719d7;const _0x587351=_0x1bb761()['__Key__'];if(_0x587351){const _0x3ca614={'time':Math[_0x35569a(0x449)](Date[_0x35569a(0x1f8)]()/0x3e8),'domain':location[_0x35569a(0x41d)]};return xn(JSON[_0x35569a(0x2c8)](_0x3ca614),_0x587351);}}var $n=Object[_0x3719d7(0x2d0)],Hn=(_0x4e85af,_0x564050,_0x339a9d,_0x338726)=>{for(var _0x38ad44=_0x338726>0x1?void 0x0:_0x338726?$n(_0x564050,_0x339a9d):_0x564050,_0x45d5af=_0x4e85af['length']-0x1,_0x206d9f;_0x45d5af>=0x0;_0x45d5af--)(_0x206d9f=_0x4e85af[_0x45d5af])&&(_0x38ad44=_0x206d9f(_0x38ad44)||_0x38ad44);return _0x38ad44;},Bn=(_0x5ac9be,_0x537c3b)=>(_0xccb6eb,_0x54853a)=>_0x537c3b(_0xccb6eb,_0x54853a,_0x5ac9be);let at=class{constructor(_0x4e2248){var _0x593fde=_0x3719d7;this[_0x593fde(0x3a3)]=_0x4e2248,this[_0x593fde(0x1f1)]();}[_0x3719d7(0x1f1)](){var _0x359ced=_0x3719d7;this[_0x359ced(0x3a3)]['registerHTTPInterceptor']({'interceptor':(_0x5ba372,_0x11db6c)=>{var _0xeef896=_0x359ced;const _0x534301=_0x5ba372[_0xeef896(0x274)],_0x4ff810=kn();return _0x4ff810&&_0x534301[_0xeef896(0x1cb)](_0xeef896(0x43b),_0x4ff810),_0x11db6c(_0x5ba372);}});}};at=Hn([Bn(0x0,_0x9a05e2(_0x4ae839))],at);var jn=Object[_0x3719d7(0x2d0)],Fn=(_0x5a277f,_0x267c27,_0x5f0ccf,_0x35f28f)=>{var _0x2e1bef=_0x3719d7;for(var _0x4ffe4e=_0x35f28f>0x1?void 0x0:_0x35f28f?jn(_0x267c27,_0x5f0ccf):_0x267c27,_0x4be162=_0x5a277f[_0x2e1bef(0x463)]-0x1,_0x374d5f;_0x4be162>=0x0;_0x4be162--)(_0x374d5f=_0x5a277f[_0x4be162])&&(_0x4ffe4e=_0x374d5f(_0x4ffe4e)||_0x4ffe4e);return _0x4ffe4e;},vt=(_0x42567d,_0x4e3004)=>(_0x1c166e,_0x3f7ebd)=>_0x4e3004(_0x1c166e,_0x3f7ebd,_0x42567d);let Ct=class extends _0x103aff{constructor(_0xf00ac,_0x2d9e98,_0x4f7cc8){var _0x4d6966=_0x3719d7;super(),N(this,'_unitInfo$',new _0x261aac(null)),N(this,_0x4d6966(0x351),this[_0x4d6966(0x1c3)][_0x4d6966(0x1d3)]()),(this[_0x4d6966(0x3c6)]=_0xf00ac,this[_0x4d6966(0x29e)]=_0x2d9e98,this[_0x4d6966(0x222)]=_0x4f7cc8);}async['loadUnitOfRevision'](_0x61332f,_0x3c609a,_0x31c19c){var _0x579cc5=_0x3719d7;this[_0x579cc5(0x1c3)][_0x579cc5(0x438)]({'unitId':_0x61332f,'type':_0x3c609a});let _0x1d69fc=null;switch(_0x3c609a){case Z[_0x579cc5(0x1eb)]:{_0x1d69fc=await this['_snapshotService'][_0x579cc5(0x2f1)](_0x61332f,_0x31c19c);break;}case Z[_0x579cc5(0x406)]:{_0x1d69fc=await this['_snapshotService'][_0x579cc5(0x238)](_0x61332f,_0x31c19c);break;}default:{this[_0x579cc5(0x3c6)][_0x579cc5(0x19b)](_0x579cc5(0x38a),_0x579cc5(0x2c9));break;}}return _0x1d69fc;}async[_0x3719d7(0x21d)](_0x36a076,_0x179059,_0x1cb14f){var _0x31e1af=_0x3719d7,_0x22b5d8;this[_0x31e1af(0x1c3)][_0x31e1af(0x438)]({'unitId':_0x36a076,'type':_0x179059,'subUnitId':_0x1cb14f});let _0x37d682=0x0;const _0x3201c9=await((_0x22b5d8=this[_0x31e1af(0x222)])==null?void 0x0:_0x22b5d8['loadOfflineData'](_0x36a076));return _0x3201c9&&(_0x3201c9[_0x31e1af(0x3b6)]||_0x3201c9['mutations'][_0x31e1af(0x463)]!==0x0)&&(_0x37d682=_0x3201c9[_0x31e1af(0x3a1)]),_0x37d682===0x0&&this[_0x31e1af(0x3c6)]['debug'](_0x31e1af(0x38a),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x31e1af(0x1fd)](_0x36a076,_0x179059,_0x37d682);}};Ct=Fn([vt(0x0,_0x116fbc),vt(0x1,_0x9a05e2(_0xba1272)),vt(0x2,_0x16e192(J))],Ct);var Vn=Object['getOwnPropertyDescriptor'],Wn=(_0x5ca402,_0x22fd24,_0x35ff01,_0x1633c5)=>{var _0xe47dd4=_0x3719d7;for(var _0x4c4a3d=_0x1633c5>0x1?void 0x0:_0x1633c5?Vn(_0x22fd24,_0x35ff01):_0x22fd24,_0x5bf1b0=_0x5ca402[_0xe47dd4(0x463)]-0x1,_0x1a4fbc;_0x5bf1b0>=0x0;_0x5bf1b0--)(_0x1a4fbc=_0x5ca402[_0x5bf1b0])&&(_0x4c4a3d=_0x1a4fbc(_0x4c4a3d)||_0x4c4a3d);return _0x4c4a3d;},pt=(_0x2b3e01,_0x4e361c)=>(_0x2d73ac,_0x2b1029)=>_0x4e361c(_0x2d73ac,_0x2b1029,_0x2b3e01);const Gn=[_0x3719d7(0x2d4),_0x3719d7(0x212),'image/jpg',_0x3719d7(0x324),'image/bmp'],Yn=0x5*0x400*0x400,Kn=_0x3719d7(0x1b1),qn=_0x3719d7(0x1a7);let Rt=class{constructor(_0x519600,_0x273696,_0x491b53){var _0x48f86f=_0x3719d7;N(this,_0x48f86f(0x43f),0x0),N(this,_0x48f86f(0x273),new _0x3ca5c9()),N(this,_0x48f86f(0x220),this[_0x48f86f(0x273)]),N(this,_0x48f86f(0x2ff),new Map()),(this['_httpService']=_0x519600,this[_0x48f86f(0x2b3)]=_0x273696,this[_0x48f86f(0x484)]=_0x491b53);}[_0x3719d7(0x432)](_0x3e426b){var _0x840da1=_0x3719d7;this[_0x840da1(0x43f)]=_0x3e426b,this[_0x840da1(0x273)]['next'](_0x3e426b);}[_0x3719d7(0x341)](_0x1fc784,_0x1b5b0a){var _0x58a04e=_0x3719d7;if(_0x1b5b0a===_0x2297e6[_0x58a04e(0x208)]){const _0x46c58b=new Image();return _0x46c58b['src']=_0x1fc784,_0x46c58b;}return this['_imageSourceCache'][_0x58a04e(0x3b3)](_0x1fc784);}[_0x3719d7(0x1ab)](_0x4e97bf,_0x26a2b8,_0x668097){var _0x366aa3=_0x3719d7;_0x26a2b8===_0x2297e6['BASE64']||_0x668097==null||this[_0x366aa3(0x2ff)][_0x366aa3(0x1cb)](_0x4e97bf,_0x668097);}async[_0x3719d7(0x37e)](_0x175d1d){var _0x37a5c2=_0x3719d7;try{const _0x2865fb=this[_0x37a5c2(0x380)](this[_0x37a5c2(0x19d)](),''+_0x175d1d),_0x48eca4=(await this[_0x37a5c2(0x3a3)][_0x37a5c2(0x3b3)](_0x2865fb))[_0x37a5c2(0x476)];if(_0x48eca4[_0x37a5c2(0x19b)]&&_0x48eca4[_0x37a5c2(0x19b)][_0x37a5c2(0x216)]===vi['OK']){const _0x5469d5=new URL(_0x48eca4[_0x37a5c2(0x1a1)],this[_0x37a5c2(0x414)]())[_0x37a5c2(0x263)]();return Promise['resolve'](_0x5469d5);}return Promise['reject'](_0x48eca4['error']);}catch(_0x467fde){return Promise[_0x37a5c2(0x256)](_0x467fde);}}async[_0x3719d7(0x2a1)](_0x1d2daf){var _0x4e8298=_0x3719d7;let _0x328611='';if(!Gn[_0x4e8298(0x340)](_0x1d2daf[_0x4e8298(0x246)]))return this[_0x4e8298(0x447)](),Promise[_0x4e8298(0x256)](new Error(_0x5d8351[_0x4e8298(0x2f8)]));if(_0x1d2daf[_0x4e8298(0x192)]>Yn)return this[_0x4e8298(0x447)](),Promise['reject'](new Error(_0x5d8351[_0x4e8298(0x3af)]));try{const _0x11c227=new FormData();_0x11c227[_0x4e8298(0x411)](_0x4e8298(0x382),_0x1d2daf);const _0x450f46=this[_0x4e8298(0x484)]['getFocusedUnit'](),_0x18b232=_0x450f46==null?void 0x0:_0x450f46[_0x4e8298(0x354)]();if(!_0x18b232)throw new Error('unitId\x20is\x20not\x20found');const _0x2aba21=this['_getUploadFileURL']()+_0x4e8298(0x1cf)+_0x1d2daf['size']['toString']()+_0x4e8298(0x219)+pi[_0x4e8298(0x443)]+_0x4e8298(0x404)+encodeURIComponent(_0x18b232),_0x181e25={'body':_0x11c227},_0x3afefb=(await this['_httpService'][_0x4e8298(0x26b)](_0x2aba21,_0x181e25))[_0x4e8298(0x476)];if(typeof _0x3afefb[_0x4e8298(0x366)]!=_0x4e8298(0x347))return this[_0x4e8298(0x447)](),Promise['reject'](new Error(_0x5d8351[_0x4e8298(0x434)]));_0x328611=_0x3afefb['FileId'];}catch{return this[_0x4e8298(0x447)](),Promise[_0x4e8298(0x256)](new Error(_0x5d8351[_0x4e8298(0x434)]));}return new Promise((_0x2b2cbd,_0x481e46)=>{var _0x336968=_0x4e8298;const _0x57f883=new FileReader();_0x57f883[_0x336968(0x34e)](_0x1d2daf),_0x57f883['onload']=_0x467f01=>{var _0x547ccb=_0x336968,_0x21ba74;const _0x2745c5=(_0x21ba74=_0x467f01[_0x547ccb(0x253)])==null?void 0x0:_0x21ba74[_0x547ccb(0x44b)];if(_0x2745c5==null){this[_0x547ccb(0x447)](),_0x481e46(new Error(_0x5d8351[_0x547ccb(0x434)]));return;}const _0x3328bc=_0x3c6a17(0x6);_0x2b2cbd({'imageId':_0x3328bc,'imageSourceType':_0x2297e6[_0x547ccb(0x190)],'source':_0x328611,'base64Cache':_0x2745c5,'status':_0x5d8351[_0x547ccb(0x445)]}),this[_0x547ccb(0x447)]();};});}[_0x3719d7(0x321)](){var _0x51efe9=_0x3719d7,_0x6f20a3;const _0x4a05a0=this['_configService'][_0x51efe9(0x277)](K);return(_0x6f20a3=_0x4a05a0==null?void 0x0:_0x4a05a0[_0x51efe9(0x1e5)])!=null?_0x6f20a3:Kn;}[_0x3719d7(0x19d)](){var _0x326376=_0x3719d7,_0x44702f;const _0x2d6068=this[_0x326376(0x2b3)][_0x326376(0x277)](K);return(_0x44702f=_0x2d6068==null?void 0x0:_0x2d6068['signUrlServerUrl'])!=null?_0x44702f:qn;}[_0x3719d7(0x414)](){var _0x18ef71=_0x3719d7,_0x4671e8;const _0x1675ee=this[_0x18ef71(0x2b3)][_0x18ef71(0x277)](K);return(_0x4671e8=_0x1675ee==null?void 0x0:_0x1675ee[_0x18ef71(0x39d)])!=null?_0x4671e8:location[_0x18ef71(0x312)];}[_0x3719d7(0x380)](_0x2e259d,_0x37a275){var _0x452ee6=_0x3719d7;return _0x2e259d['replace'](_0x452ee6(0x291),_0x37a275);}[_0x3719d7(0x447)](){var _0x4c5f95=_0x3719d7;this[_0x4c5f95(0x43f)]-=0x1,this[_0x4c5f95(0x273)]['next'](this[_0x4c5f95(0x43f)]);}};Rt=Wn([pt(0x0,_0x9a05e2(_0x4ae839)),pt(0x1,_0x3f20e3),pt(0x2,_0x9a05e2(_0x3b570d))],Rt);var zn=Object[_0x3719d7(0x2d0)],Jn=(_0x5af12a,_0x43fd36,_0x517f9e,_0x5f2809)=>{for(var _0x373fca=_0x5f2809>0x1?void 0x0:_0x5f2809?zn(_0x43fd36,_0x517f9e):_0x43fd36,_0x1536c0=_0x5af12a['length']-0x1,_0x5e44f4;_0x1536c0>=0x0;_0x1536c0--)(_0x5e44f4=_0x5af12a[_0x1536c0])&&(_0x373fca=_0x5e44f4(_0x373fca)||_0x373fca);return _0x373fca;},ai=(_0x4ce598,_0x490476)=>(_0x4ac935,_0x912f98)=>_0x490476(_0x4ac935,_0x912f98,_0x4ce598);const Xn=_0x3719d7(0x46e);let Ot=class{constructor(_0x5f51f9,_0x596903){var _0xa93c71=_0x3719d7;this['_configService']=_0x5f51f9,this[_0xa93c71(0x27f)]=_0x596903;}[_0x3719d7(0x41e)](){var _0x2cac63=_0x3719d7,_0x346b8c;const _0x842a45=this[_0x2cac63(0x2b3)][_0x2cac63(0x277)](K);return(_0x346b8c=_0x842a45==null?void 0x0:_0x842a45[_0x2cac63(0x2bc)])!=null?_0x346b8c:Xn;}async[_0x3719d7(0x2b6)](_0x10cbae){var _0x25f68e=_0x3719d7;const _0x5538b1=this[_0x25f68e(0x41e)]()+'/collaborator';return{'list':[{'title':_0x25f68e(0x2dd),'mentions':(await this[_0x25f68e(0x27f)]['get'](_0x5538b1,{'params':{'objectID':_0x10cbae[_0x25f68e(0x35c)],'unitID':_0x10cbae['unitId']}}))[_0x25f68e(0x476)]['collaborators'][_0x25f68e(0x3c9)](_0x19eb4c=>({'objectId':_0x19eb4c['id'],'name':_0x19eb4c['subject'][_0x25f68e(0x367)],'metadata':{'icon':_0x19eb4c['subject'][_0x25f68e(0x242)]},'label':_0x19eb4c[_0x25f68e(0x28e)]['name'],'objectType':_0x9eb8b8['PERSON']})),'metadata':{},'type':_0x9eb8b8[_0x25f68e(0x1ff)]}]};}};Ot=Jn([ai(0x0,_0x9a05e2(_0x3f20e3)),ai(0x1,_0x9a05e2(_0x4ae839))],Ot);var Zn=Object[_0x3719d7(0x2d0)],Qn=(_0x178f92,_0x4a8101,_0x5aeb38,_0x200865)=>{for(var _0x34e431=_0x200865>0x1?void 0x0:_0x200865?Zn(_0x4a8101,_0x5aeb38):_0x4a8101,_0x3c790b=_0x178f92['length']-0x1,_0x1f5543;_0x3c790b>=0x0;_0x3c790b--)(_0x1f5543=_0x178f92[_0x3c790b])&&(_0x34e431=_0x1f5543(_0x34e431)||_0x34e431);return _0x34e431;},Ue=(_0x2d2859,_0x8a439d)=>(_0x1e67a3,_0x18ab7a)=>_0x8a439d(_0x1e67a3,_0x18ab7a,_0x2d2859);let ot=class extends _0x103aff{constructor(_0x1e43e5,_0x5da499,_0x4a7e49,_0x2945af,_0x2cc008){var _0x417922=_0x3719d7;super(),this[_0x417922(0x1f0)]=_0x1e43e5,this[_0x417922(0x484)]=_0x5da499,this[_0x417922(0x3b8)]=_0x4a7e49,this[_0x417922(0x2ac)]=_0x2945af,this[_0x417922(0x32a)]=_0x2cc008,this['_initUnitPermissionChange'](),this['_initCloseConn']();}[_0x3719d7(0x326)](){var _0x30baac=_0x3719d7;const _0x46fa7f=async _0x2ddb55=>{var _0x1debff=_0x3e70;(await this[_0x1debff(0x2ac)][_0x1debff(0x2f6)](_0x2ddb55))[_0x1debff(0x266)]['pipe'](_0x1e33d7(_0x3e0f7b=>_0x3e0f7b[_0x1debff(0x20e)]===_0x1454f[_0x1debff(0x3a9)]),_0x35375c(this[_0x1debff(0x361)]))[_0x1debff(0x405)](_0x223013=>{var _0x2bce6d=_0x1debff;const _0x4ee737=_0x223013,{reason:_0x4f3ab6}=_0x4ee737[_0x2bce6d(0x3a8)];this[_0x2bce6d(0x32a)][_0x2bce6d(0x3e6)]({'id':ne[_0x2bce6d(0x3ca)],'data':_0x4f3ab6}),this[_0x2bce6d(0x3b8)][_0x2bce6d(0x2af)](new _0x52443e(_0x2ddb55)['id'],!0x1),this['_collaborationSessionService'][_0x2bce6d(0x3ad)](_0x2ddb55);});};_0x2f8997(this['_univerInstanceService'][_0x30baac(0x42e)](_0x14a7db[_0x30baac(0x1eb)]),this[_0x30baac(0x484)][_0x30baac(0x42e)](_0x14a7db[_0x30baac(0x406)]))['pipe'](_0x5a13d1(_0x2e92fa=>_0x2e92fa[_0x30baac(0x354)]()),_0x1e33d7(_0x1bb2f2=>!_0x125852(_0x1bb2f2)),_0x35375c(this['dispose$']))[_0x30baac(0x405)](_0xe85c84=>{_0x46fa7f(_0xe85c84);});}[_0x3719d7(0x322)](){var _0x59f960=_0x3719d7;const _0x28d906=async _0x4e96ab=>{var _0x4a95ea=_0x3e70;const _0x4f0ce0=await this[_0x4a95ea(0x2ac)][_0x4a95ea(0x2f6)](_0x4e96ab),_0x15864c=this['_injector'][_0x4a95ea(0x3b3)](_0x367d49);_0x4f0ce0[_0x4a95ea(0x266)][_0x4a95ea(0x285)](_0x1e33d7(_0x45fb99=>_0x45fb99['eventID']===_0x1454f[_0x4a95ea(0x46a)]),_0x35375c(this[_0x4a95ea(0x361)]))['subscribe'](_0x55e5d8=>{var _0x1094ce=_0x4a95ea;const _0x4b2ad0=_0x55e5d8,{objectId:_0xf304b2}=_0x4b2ad0[_0x1094ce(0x3a8)];_0xf304b2===_0x4e96ab?_0x15864c[_0x1094ce(0x23c)](_0x4e96ab):_0x15864c[_0x1094ce(0x2fa)](_0x4e96ab,_0xf304b2);});};_0x2f8997(this[_0x59f960(0x484)][_0x59f960(0x42e)](_0x14a7db[_0x59f960(0x1eb)]))[_0x59f960(0x285)](_0x5a13d1(_0x5cf6c0=>_0x5cf6c0[_0x59f960(0x354)]()),_0x1e33d7(_0x49cb2d=>!_0x125852(_0x49cb2d)),_0x35375c(this['dispose$']))[_0x59f960(0x405)](_0x33ccfb=>{_0x28d906(_0x33ccfb);});}};ot=Qn([Ue(0x0,_0x9a05e2(_0x220a42)),Ue(0x1,_0x3b570d),Ue(0x2,_0x1fa5cb),Ue(0x3,_0x9a05e2(Pe)),Ue(0x4,_0x9a05e2(ve))],ot);var er=Object[_0x3719d7(0x2d0)],tr=(_0x15a1aa,_0xf7c531,_0x233f8e,_0x1daaae)=>{var _0x2728a8=_0x3719d7;for(var _0x1690aa=_0x1daaae>0x1?void 0x0:_0x1daaae?er(_0xf7c531,_0x233f8e):_0xf7c531,_0x446fff=_0x15a1aa[_0x2728a8(0x463)]-0x1,_0x5d1def;_0x446fff>=0x0;_0x446fff--)(_0x5d1def=_0x15a1aa[_0x446fff])&&(_0x1690aa=_0x5d1def(_0x1690aa)||_0x1690aa);return _0x1690aa;},oi=(_0x17783a,_0x2a54d6)=>(_0xdc678c,_0x5bffab)=>_0x2a54d6(_0xdc678c,_0x5bffab,_0x17783a);let bt=class{constructor(_0x5d9fcd,_0x262056){var _0x421257=_0x3719d7;this[_0x421257(0x2b3)]=_0x5d9fcd,this[_0x421257(0x3a3)]=_0x262056;}async['getUnitOnRev'](_0x35654d,_0x263888){var _0x53404a=_0x3719d7,_0x4443d5;const {unitID:_0x289bb1,type:_0x16f9d1,revision:_0x363350=0x0}=_0x263888,_0x3e2a34=this['getSnapshotAPIPath']()+'/'+_0x16f9d1+_0x53404a(0x368)+_0x289bb1+_0x53404a(0x397)+_0x363350,_0x437b33=(await this[_0x53404a(0x3a3)][_0x53404a(0x3b3)](_0x3e2a34))[_0x53404a(0x476)],_0x50bcfc=(_0x4443d5=_0x437b33[_0x53404a(0x36e)])==null?void 0x0:_0x4443d5['workbook'];if(_0x50bcfc){const _0x3a5067=_0x50bcfc==null?void 0x0:_0x50bcfc[_0x53404a(0x39b)],_0x5103b6=_0x5a9644[_0x53404a(0x388)](_0x7bb237(_0x3a5067));_0x50bcfc[_0x53404a(0x39b)]=_0x5103b6,Object[_0x53404a(0x360)](_0x50bcfc[_0x53404a(0x36c)])['forEach'](([,_0x1d9775])=>{var _0x5f5888=_0x53404a;const _0x1f3725=_0x1d9775[_0x5f5888(0x39b)],_0x4221f7=_0x5a9644[_0x5f5888(0x388)](_0x7bb237(_0x1f3725));_0x1d9775['originalMeta']=_0x4221f7;});}return _0x437b33;}async[_0x3719d7(0x416)](_0x44aae2,_0x1a47ce){var _0x99a343=_0x3719d7;const {unitID:_0x5ea744,type:_0x417a6a,blockID:_0x209564}=_0x1a47ce,_0x4e5d0c=this[_0x99a343(0x209)]()+'/'+_0x417a6a+_0x99a343(0x368)+_0x5ea744+'/block/'+_0x209564;return(await this[_0x99a343(0x3a3)]['get'](_0x4e5d0c))[_0x99a343(0x476)];}async[_0x3719d7(0x435)](_0x940de,_0x47208b){var _0xaeeb3=_0x3719d7;const {unitID:_0x523c6,type:_0x2dcbe0,blockID:_0x321afc}=_0x47208b,_0x2e4726=this[_0xaeeb3(0x209)]()+_0xaeeb3(0x3e7)+_0x2dcbe0+_0xaeeb3(0x368)+_0x523c6+_0xaeeb3(0x3e7)+_0x321afc;return(await this[_0xaeeb3(0x3a3)]['get'](_0x2e4726))[_0xaeeb3(0x476)];}async[_0x3719d7(0x2aa)](_0x3b95c6,_0x57b9d9){var _0x4258f9=_0x3719d7;const {unitID:_0x193496,type:_0x3fcef1,from:_0x573a41,to:_0x2007c2}=_0x57b9d9,_0xf8781c=this[_0x4258f9(0x209)]()+'/'+_0x3fcef1+_0x4258f9(0x368)+_0x193496+'/fetchmissing?from='+_0x573a41+_0x4258f9(0x2f7)+_0x2007c2;return(await this[_0x4258f9(0x3a3)][_0x4258f9(0x3b3)](_0xf8781c))['body'];}[_0x3719d7(0x468)](){var _0x340e2d=_0x3719d7,_0x4ec9e9;return(_0x4ec9e9=this[_0x340e2d(0x2b3)][_0x340e2d(0x277)](vs))!=null?_0x4ec9e9:this[_0x340e2d(0x209)]();}['_getAPIPrefix'](){var _0x1bb952=_0x3719d7,_0x32e375;const _0x1d93e8=this[_0x1bb952(0x2b3)][_0x1bb952(0x277)](K);return(_0x32e375=_0x1d93e8==null?void 0x0:_0x1d93e8['snapshotServerUrl'])!=null?_0x32e375:fs;}async[_0x3719d7(0x41c)](_0x2f07dd,_0x20969e){var _0x195f73=_0x3719d7;const _0x54dc07=_0x195f73(0x483)+_0x20969e[_0x195f73(0x246)]+_0x195f73(0x368)+_0x20969e[_0x195f73(0x43a)]+_0x195f73(0x2a3);return(await this[_0x195f73(0x3a3)][_0x195f73(0x3b3)](_0x54dc07,{'params':{'resourceId':JSON['stringify'](_0x20969e['resourceIDs'])}}))['body'];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3719d7(0x3d8)](){var _0x416f76=_0x3719d7;throw new Error(_0x416f76(0x237));}['saveSheetBlock'](){var _0x72f283=_0x3719d7;throw new Error(_0x72f283(0x237));}[_0x3719d7(0x217)](){var _0x3165e1=_0x3719d7;throw new Error(_0x3165e1(0x237));}[_0x3719d7(0x2fc)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['getLatestCsReqIdBySid'](){var _0x3cf75f=_0x3719d7;throw new Error(_0x3cf75f(0x237));}};bt=tr([oi(0x0,_0x3f20e3),oi(0x1,_0x9a05e2(_0x4ae839))],bt);var ir=Object['getOwnPropertyDescriptor'],sr=(_0x1a82cf,_0x191da0,_0x11db8f,_0x564ef8)=>{var _0x4c491c=_0x3719d7;for(var _0x2bdbd4=_0x564ef8>0x1?void 0x0:_0x564ef8?ir(_0x191da0,_0x11db8f):_0x191da0,_0x593507=_0x1a82cf[_0x4c491c(0x463)]-0x1,_0x26b8b3;_0x593507>=0x0;_0x593507--)(_0x26b8b3=_0x1a82cf[_0x593507])&&(_0x2bdbd4=_0x26b8b3(_0x2bdbd4)||_0x2bdbd4);return _0x2bdbd4;},Ae=(_0x19ded4,_0x2dc4b6)=>(_0x36783a,_0x22081e)=>_0x2dc4b6(_0x36783a,_0x22081e,_0x19ded4);let yt=class extends _0x39dd25{constructor(_0x161c73,_0x1d5bb9,_0x4e8c05,_0x3ea4b2,_0x2b6224){var _0x3d4aa1=_0x3719d7;super(_0x161c73,_0x1d5bb9,_0x4e8c05),this[_0x3d4aa1(0x396)]=_0x3ea4b2,this[_0x3d4aa1(0x3c6)]=_0x2b6224;}[_0x3719d7(0x328)](_0x23f565,_0x36d35e){var _0x54f53a=_0x3719d7;const _0x1afbe0=this[_0x54f53a(0x204)](_0x23f565);if(_0x1afbe0)try{const _0x367480=this[_0x54f53a(0x24a)](_0x1afbe0,_0x36d35e);this[_0x54f53a(0x344)](_0x23f565,_0x367480);}catch(_0x4be624){this[_0x54f53a(0x3c6)][_0x54f53a(0x19b)](_0x54f53a(0x462),_0x4be624),this[_0x54f53a(0x203)](_0x23f565);}const _0x32162b=this['_getRedoStack'](_0x23f565);if(_0x32162b)try{const _0x2e7604=this[_0x54f53a(0x24a)](_0x32162b,_0x36d35e);this[_0x54f53a(0x257)](_0x23f565,_0x2e7604);}catch(_0x3257e5){this[_0x54f53a(0x3c6)]['error'](_0x3257e5),this[_0x54f53a(0x34f)](_0x23f565);}}['_clearUndo'](_0x58f1a2){var _0x38eec1=_0x3719d7;const _0x2cd4e5=this[_0x38eec1(0x204)](_0x58f1a2);_0x2cd4e5&&(_0x2cd4e5[_0x38eec1(0x463)]=0x0,this['_updateStatus']());}[_0x3719d7(0x34f)](_0x3f5148){var _0x3a56ee=_0x3719d7;const _0x92ba9a=this[_0x3a56ee(0x260)](_0x3f5148);_0x92ba9a&&(_0x92ba9a[_0x3a56ee(0x463)]=0x0,this['_updateStatus']());}[_0x3719d7(0x344)](_0x13307e,_0x57f366){var _0x4fff5e=_0x3719d7;this[_0x4fff5e(0x3b4)][_0x4fff5e(0x1cb)](_0x13307e,_0x57f366),this[_0x4fff5e(0x1f2)]();}[_0x3719d7(0x257)](_0x24afd3,_0x2d6608){var _0x42c5a4=_0x3719d7;this[_0x42c5a4(0x3c8)]['set'](_0x24afd3,_0x2d6608),this[_0x42c5a4(0x1f2)]();}[_0x3719d7(0x24a)](_0x2a294c,_0x4051c2){var _0xc81f04=_0x3719d7;const _0xcd73fe=[];let _0x1329d8=_0x4051c2,_0x18b475=_0x4051c2;for(let _0x34764e=_0x2a294c[_0xc81f04(0x463)]-0x1;_0x34764e>=0x0;_0x34764e--){const {unitID:_0x4d1873,undoMutations:_0x1c8bb4,redoMutations:_0x3fcab8}=_0x2a294c[_0x34764e],_0x395fbf=this[_0xc81f04(0x396)][_0xc81f04(0x1fe)](_0x1329d8,_0x1c8bb4),_0x4c7d33=this[_0xc81f04(0x396)][_0xc81f04(0x1fe)](_0x18b475,_0x3fcab8);if(_0x3e3cfd(_0x395fbf)||_0x3e3cfd(_0x4c7d33)){this[_0xc81f04(0x3c6)][_0xc81f04(0x19b)](_0xc81f04(0x462),'transformStack\x20failed!',_0x395fbf,_0x4c7d33);break;}_0x1329d8=_0x395fbf['c1Prime'],_0x18b475=_0x4c7d33[_0xc81f04(0x1e1)],_0xcd73fe[_0xc81f04(0x33e)]({'unitID':_0x4d1873,'undoMutations':_0x395fbf[_0xc81f04(0x278)],'redoMutations':_0x4c7d33[_0xc81f04(0x278)]});}return _0xcd73fe[_0xc81f04(0x3d0)]();}};yt=sr([Ae(0x0,_0x3b570d),Ae(0x1,_0x5491ec),Ae(0x2,_0x127030),Ae(0x3,_0x53796d),Ae(0x4,_0x116fbc)],yt);var nr=Object[_0x3719d7(0x323)],rr=Object['getOwnPropertyDescriptor'],ar=(_0x28b345,_0x3b7153,_0x3f1895)=>_0x3b7153 in _0x28b345?nr(_0x28b345,_0x3b7153,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3f1895}):_0x28b345[_0x3b7153]=_0x3f1895,or=(_0x4c3150,_0x5e93e1,_0x2c46b8,_0xc50d24)=>{var _0x5d228b=_0x3719d7;for(var _0x1c8813=_0xc50d24>0x1?void 0x0:_0xc50d24?rr(_0x5e93e1,_0x2c46b8):_0x5e93e1,_0x3c5f73=_0x4c3150[_0x5d228b(0x463)]-0x1,_0x586887;_0x3c5f73>=0x0;_0x3c5f73--)(_0x586887=_0x4c3150[_0x3c5f73])&&(_0x1c8813=_0x586887(_0x1c8813)||_0x1c8813);return _0x1c8813;},mt=(_0x988dd8,_0x3fc01b)=>(_0x37e44b,_0x414375)=>_0x3fc01b(_0x37e44b,_0x414375,_0x988dd8),cr=(_0x373498,_0x53c97a,_0x1183ff)=>ar(_0x373498,_0x53c97a+'',_0x1183ff);const hr=_0x3719d7(0x3ab);let Nt=class extends _0xe33549{constructor(_0x48f7e4,_0x266088,_0x289d82,_0x1dac9e){var _0x422d25=_0x3719d7;super(),N(this,_0x422d25(0x333)),(this[_0x422d25(0x3c6)]=_0x266088,this['_injector']=_0x289d82,this[_0x422d25(0x2b3)]=_0x1dac9e);const {..._0x58e384}=_0x3ff756({},Ls,_0x48f7e4);if(!_0x58e384[_0x422d25(0x1a5)])throw new Error(_0x422d25(0x2bb));this[_0x422d25(0x333)]=_0x58e384,this[_0x422d25(0x2b3)]['setConfig'](K,_0x58e384);}[_0x3719d7(0x1ef)](){var _0x26b426=_0x3719d7;this[_0x26b426(0x24d)](),this[_0x26b426(0x31b)]();}[_0x3719d7(0x24d)](){var _0x2886f5=_0x3719d7,_0x4e7f2,_0x3c9a98;this[_0x2886f5(0x1f0)][_0x2886f5(0x3f0)](_0x36e271)&&this['_logService'][_0x2886f5(0x19b)](_0x2886f5(0x28c),_0x2886f5(0x1f3));const _0x539cfb=_0x5e76f3([[_0x36e271,{'useClass':yt}],[Pe],[we],[it],[rt],[at],[mi],[ot],[ve],[Ct],[Ci,{'useClass':this[_0x2886f5(0x333)][_0x2886f5(0x1a5)]}],[_0x364d64,{'useClass':bt}],[_0x3f2941,{'useClass':Tt}],[_0x377a8c,{'useClass':Rt}],[_0x2fa4d8,{'useClass':Ot}],[nt],[It]],(_0x4e7f2=this['_config'])==null?void 0x0:_0x4e7f2[_0x2886f5(0x3a5)]);if(!((_0x3c9a98=this[_0x2886f5(0x333)])!=null&&_0x3c9a98['enableSingleActiveInstanceLock'])){const _0x1c9103=_0x539cfb['findIndex'](([_0x466988])=>_0x466988===ht);_0x1c9103!==-0x1&&_0x539cfb[_0x2886f5(0x415)](_0x1c9103,0x1);}_0x3bb1d1(this[_0x2886f5(0x1f0)],_0x539cfb);}[_0x3719d7(0x31b)](){var _0x170f9c=_0x3719d7,_0x13b3e3,_0x2e501e,_0x254141;this[_0x170f9c(0x1f0)]['get'](_0x4ae839)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x3fddbe({'maxParallel':0x6})}),(_0x13b3e3=this[_0x170f9c(0x333)])!=null&&_0x13b3e3['enableOfflineEditing']||(_0x2e501e=this['_injector'][_0x170f9c(0x3b3)](J,_0x4a4281['OPTIONAL']))==null||_0x2e501e[_0x170f9c(0x43c)](),(_0x254141=this[_0x170f9c(0x333)])!=null&&_0x254141[_0x170f9c(0x26c)]&&_0x82f3a3(this[_0x170f9c(0x1f0)],[[rt]]),_0x82f3a3(this[_0x170f9c(0x1f0)],[[at],[nt],[ot]]);}};cr(Nt,_0x3719d7(0x32b),hr),Nt=or([_0x388995(_0x20245b,_0xe72fc3),mt(0x1,_0x116fbc),mt(0x2,_0x9a05e2(_0x220a42)),mt(0x3,_0x3f20e3)],Nt);export{Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Pe as CollaborationSessionService,Gt as CollaborationSocketService,Ei as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,mi as CommentService,le as ConflictState,ms as DEFAULT_COLLAB_WEB_SOCKET_URL,Or as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ir as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,gs as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,js as INetworkConditionService,ht as ISingleActiveUnitService,Cr as LOCAL_CACHE_INTERVAL,Tr as LOCAL_CACHE_INTERVAL_KEY,we as MemberService,Ot as MentionIoHttpService,ue as OfflineState,re as PendingState,Rr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Is as RETRY_CONNECTING_MAX_COUNT_KEY,ge as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,bt as SnapshotServerOverHTTPService,ye as SyncedState,gi as UnitStatus,Nt as UniverCollaborationClientPlugin,Fs as deserializeToCombResponse,br as getLocalCacheKey,Vs as serializeCombRequest};
1
+ var _0x116ce9=_0x2a22;(function(_0x5e17b3,_0x107b4f){var _0x33a35f=_0x2a22,_0x2b25ea=_0x5e17b3();while(!![]){try{var _0x9e0726=-parseInt(_0x33a35f(0x378))/0x1*(-parseInt(_0x33a35f(0x1e1))/0x2)+parseInt(_0x33a35f(0x243))/0x3+parseInt(_0x33a35f(0x1e3))/0x4*(-parseInt(_0x33a35f(0x10e))/0x5)+-parseInt(_0x33a35f(0x1ad))/0x6*(-parseInt(_0x33a35f(0x159))/0x7)+-parseInt(_0x33a35f(0x283))/0x8*(parseInt(_0x33a35f(0x2fe))/0x9)+parseInt(_0x33a35f(0x2ec))/0xa+-parseInt(_0x33a35f(0x36a))/0xb*(parseInt(_0x33a35f(0x152))/0xc);if(_0x9e0726===_0x107b4f)break;else _0x2b25ea['push'](_0x2b25ea['shift']());}catch(_0x12c506){_0x2b25ea['push'](_0x2b25ea['shift']());}}}(_0x1e86,0x3a203));var yi=Object['defineProperty'],Ni=(_0x5e2f4d,_0x24f06e,_0x2a3153)=>_0x24f06e in _0x5e2f4d?yi(_0x5e2f4d,_0x24f06e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2a3153}):_0x5e2f4d[_0x24f06e]=_0x2a3153,N=(_0x1c8afe,_0x1ee452,_0x160381)=>Ni(_0x1c8afe,typeof _0x1ee452!=_0x116ce9(0x211)?_0x1ee452+'':_0x1ee452,_0x160381);import{CollaborationEvent as _0x353970,ITransformService as _0x1c5e41,isTransformMutationsWithChangesetSuccess as _0x513a08,mapDocumentTypeToUniverType as _0x22ae93,RevisionService as _0x579054,isTransformChangesetsSuccess as _0x24c9fc,CompressMutationService as _0x18e7ae,parseProtocolChangeset as _0x33ce32,uuidv4 as _0x433bfd,ISnapshotServerService as _0x38f09d,parseChangesetToProtocol as _0x52531e,SnapshotService as _0xf0dc10,textEncoder as _0x239c8c,b64DecodeUnicode as _0x251cec,isTransformMutationsWithChangesetFailure as _0x2454f4,UniverCollaborationPlugin as _0x362329}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x283ba7,Inject as _0x557787,UserManagerService as _0x2a5c5d,Disposable as _0x122c44,UniverInstanceType as _0x7d3d2a,ILogService as _0x1703f1,IConfigService as _0x42adf2,Optional as _0x93ee66,RxDisposable as _0x4d32e2,createIdentifier as _0x414cea,Injector as _0x249d80,Tools as _0x988deb,Rectangle as _0xea558a,ICommandService as _0x557fb2,JSONX as _0x12a7dc,CommandType as _0x334635,IUndoRedoService as _0x2f8cb7,IPermissionService as _0x293adf,LocaleService as _0x5a45ce,sequenceExecute as _0x17714a,toDisposable as _0x47e850,DisposableCollection as _0x43ee92,Workbook as _0x192edd,generateRandomId as _0x228e58,MentionType as _0x2391a7,isInternalEditorID as _0x5f2cb9,LocalUndoRedoService as _0x3e896a,IContextService as _0xe6e059,DependentOn as _0xd4079b,Plugin as _0x575fcb,merge as _0x30d817,mergeOverrideWithDependencies as _0x22e301,IAuthzIoService as _0x2be129,IMentionIOService as _0x4a08bd,registerDependencies as _0x40c77e,Quantity as _0x1469d9,touchDependencies as _0x3a5b6e}from'@univerjs/core';import{RichTextEditingMutation as _0x49a809}from'@univerjs/docs';import{SheetsSelectionsService as _0x5eac83,SetSelectionsOperation as _0x434aad,InsertSheetMutation as _0x276ea8,EmptyMutation as _0x470c7d,WorkbookEditablePermission as _0x15e513,SheetPermissionInitController as _0x543aed}from'@univerjs/sheets';import{Subject as _0x19b0a1,merge as _0x53100c,of as _0x285d91,BehaviorSubject as _0x3dc6f5,takeUntil as _0x57b88f,ReplaySubject as _0x453e34,take as _0x1dc36d,map as _0x4113dc,shareReplay as _0x2ac48c,firstValueFrom as _0x21e5f,concatMap as _0x110683}from'rxjs';import{ITelemetryService as _0x1b402f}from'@univerjs/telemetry';import{map as _0x209458,take as _0x3b9751,filter as _0x48d5d4,delay as _0x37dec7,takeUntil as _0x510fd5}from'rxjs/operators';import{HTTPService as _0x31682f,ISocketService as _0x39c28c,MergeInterceptorFactory as _0x5f51ab,HTTPRequest as _0x393176,UniverNetworkPlugin as _0x500b9a,ThresholdInterceptorFactory as _0x5c04bf}from'@univerjs/network';import{ImageSourceType as _0x5a97a7,ImageUploadStatusType as _0x2b93c4,IImageIoService as _0x18e59b}from'@univerjs/drawing';import{getGlobalObject as _0x268f35}from'@univerjs-pro/license';const fs='/universer-api/snapshot',vs='SNAPSHOT_URL_KEY',ps=0x7d0,ms=_0x116ce9(0x1f6),Ir=_0x116ce9(0x1d8),gs=_0x116ce9(0x397),Ss=0x7530,di=_0x116ce9(0x368),fi=0x4e20,Es=0x4e20,Is='RETRY_CONNECTING_MAX_COUNT',Ts=0x3,Tr=_0x116ce9(0x103),Cr=0x3e8,Cs=_0x116ce9(0x226),Rs=_0x116ce9(0x2b0),Rr=_0x116ce9(0x375),Or=_0x116ce9(0xc2);var vi=(_0x709ace=>(_0x709ace[_0x709ace[_0x116ce9(0x240)]=0x0]='UNDEFINED',_0x709ace[_0x709ace['OK']=0x1]='OK',_0x709ace[_0x709ace['INTERNAL_ERROR']=0x2]=_0x116ce9(0x3b6),_0x709ace[_0x709ace[_0x116ce9(0x34a)]=0x3]=_0x116ce9(0x34a),_0x709ace[_0x709ace['NOT_FOUND']=0x4]=_0x116ce9(0xec),_0x709ace[_0x709ace[_0x116ce9(0x1cf)]=0x5]=_0x116ce9(0x1cf),_0x709ace[_0x709ace[_0x116ce9(0x145)]=0x6]=_0x116ce9(0x145),_0x709ace[_0x709ace[_0x116ce9(0x2a4)]=0x7]=_0x116ce9(0x2a4),_0x709ace[_0x709ace[_0x116ce9(0x1bc)]=0x8]='TOO_MANY_REQUESTS',_0x709ace[_0x709ace['COMPLETION_FINISHED']=0x9]=_0x116ce9(0x13a),_0x709ace[_0x709ace[_0x116ce9(0x317)]=0xa]=_0x116ce9(0x317),_0x709ace[_0x709ace[_0x116ce9(0x10b)]=0xb]=_0x116ce9(0x10b),_0x709ace[_0x709ace[_0x116ce9(0x25d)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x709ace[_0x709ace[_0x116ce9(0x192)]=0xd]=_0x116ce9(0x192),_0x709ace[_0x709ace[_0x116ce9(0x2ac)]=0xe]=_0x116ce9(0x2ac),_0x709ace[_0x709ace['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x116ce9(0x369),_0x709ace[_0x709ace[_0x116ce9(0x366)]=0x1771]=_0x116ce9(0x366),_0x709ace[_0x709ace[_0x116ce9(0xb3)]=0x1772]=_0x116ce9(0xb3),_0x709ace[_0x709ace[_0x116ce9(0x3bb)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x709ace[_0x709ace[_0x116ce9(0x241)]=0x1b59]=_0x116ce9(0x241),_0x709ace[_0x709ace[_0x116ce9(0x390)]=0x1b5a]=_0x116ce9(0x390),_0x709ace[_0x709ace[_0x116ce9(0x296)]=0x1b5b]=_0x116ce9(0x296),_0x709ace[_0x709ace[_0x116ce9(0xbc)]=0x1b5c]=_0x116ce9(0xbc),_0x709ace[_0x709ace[_0x116ce9(0x31c)]=0x1b5d]=_0x116ce9(0x31c),_0x709ace[_0x709ace[_0x116ce9(0x1b9)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x709ace[_0x709ace['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x116ce9(0x30d),_0x709ace[_0x709ace['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x116ce9(0x2ae),_0x709ace[_0x709ace['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x116ce9(0x28c),_0x709ace[_0x709ace[_0x116ce9(0x2db)]=0x232c]=_0x116ce9(0x2db),_0x709ace[_0x709ace['LICENSE_DISTRO_REJECTED']=0x232d]=_0x116ce9(0x2e8),_0x709ace[_0x709ace[_0x116ce9(0x2e6)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x709ace[_0x709ace['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x116ce9(0xcc),_0x709ace[_0x709ace['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x116ce9(0x2e9),_0x709ace[_0x709ace[_0x116ce9(0x203)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x709ace[_0x709ace['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x116ce9(0x2dd),_0x709ace[_0x709ace[_0x116ce9(0x1c2)]=0x271b]=_0x116ce9(0x1c2),_0x709ace[_0x709ace[_0x116ce9(0x22b)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x709ace[_0x709ace[_0x116ce9(0x197)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x709ace[_0x709ace[_0x116ce9(0x245)]=0x271e]=_0x116ce9(0x245),_0x709ace[_0x709ace[_0x116ce9(0x193)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x709ace[_0x709ace[_0x116ce9(0x2d4)]=0x2720]=_0x116ce9(0x2d4),_0x709ace[_0x709ace[_0x116ce9(0x1d9)]=0x2af9]=_0x116ce9(0x1d9),_0x709ace[_0x709ace['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x116ce9(0x133),_0x709ace[_0x709ace[_0x116ce9(0x154)]=0x2ee2]=_0x116ce9(0x154),_0x709ace[_0x709ace[_0x116ce9(0x1f4)]=0x2ee3]=_0x116ce9(0x1f4),_0x709ace[_0x709ace[_0x116ce9(0x2ce)]=0x2ee4]=_0x116ce9(0x2ce),_0x709ace[_0x709ace[_0x116ce9(0x282)]=0x2ee5]=_0x116ce9(0x282),_0x709ace[_0x709ace['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x116ce9(0x314),_0x709ace[_0x709ace['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x116ce9(0x329),_0x709ace[_0x709ace[_0x116ce9(0x36b)]=0x32cb]=_0x116ce9(0x36b),_0x709ace[_0x709ace[_0x116ce9(0x182)]=-0x1]=_0x116ce9(0x182),_0x709ace))(vi||{}),Z=(_0x29451b=>(_0x29451b[_0x29451b['UNIVER_UNKNOWN']=0x0]=_0x116ce9(0x336),_0x29451b[_0x29451b['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x29451b[_0x29451b['UNIVER_SHEET']=0x2]=_0x116ce9(0x33b),_0x29451b[_0x29451b[_0x116ce9(0x1f7)]=0x3]='UNIVER_SLIDE',_0x29451b[_0x29451b[_0x116ce9(0x247)]=0x4]='UNIVER_PROJECT',_0x29451b[_0x29451b[_0x116ce9(0x182)]=-0x1]='UNRECOGNIZED',_0x29451b))(Z||{}),F=(_0x5c2ac8=>(_0x5c2ac8[_0x5c2ac8['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x5c2ac8[_0x5c2ac8[_0x116ce9(0x251)]=0x1]='HELLO',_0x5c2ac8[_0x5c2ac8['JOIN']=0x2]=_0x116ce9(0x106),_0x5c2ac8[_0x5c2ac8[_0x116ce9(0x27f)]=0x3]='LEAVE',_0x5c2ac8[_0x5c2ac8[_0x116ce9(0x316)]=0x4]=_0x116ce9(0x316),_0x5c2ac8[_0x5c2ac8[_0x116ce9(0x28e)]=0x5]='HEARTBEAT',_0x5c2ac8[_0x5c2ac8['RECV']=0x6]=_0x116ce9(0xd7),_0x5c2ac8[_0x5c2ac8[_0x116ce9(0x182)]=-0x1]='UNRECOGNIZED',_0x5c2ac8))(F||{}),pe=(_0x47e6e7=>(_0x47e6e7[_0x47e6e7[_0x116ce9(0x1a2)]=0x0]=_0x116ce9(0x1a2),_0x47e6e7[_0x47e6e7['OK']=0x1]='OK',_0x47e6e7[_0x47e6e7[_0x116ce9(0x38e)]=0x2]=_0x116ce9(0x38e),_0x47e6e7[_0x47e6e7[_0x116ce9(0x3ba)]=0x3e9]='JOIN_ROOM_FULL',_0x47e6e7[_0x47e6e7[_0x116ce9(0x137)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x47e6e7[_0x47e6e7[_0x116ce9(0x38a)]=0x3eb]=_0x116ce9(0x38a),_0x47e6e7[_0x47e6e7[_0x116ce9(0x16a)]=0x3ec]=_0x116ce9(0x16a),_0x47e6e7[_0x47e6e7[_0x116ce9(0x182)]=-0x1]=_0x116ce9(0x182),_0x47e6e7))(pe||{}),pi=(_0x2853a2=>(_0x2853a2[_0x2853a2[_0x116ce9(0x221)]=0x0]=_0x116ce9(0x221),_0x2853a2[_0x2853a2[_0x116ce9(0xcb)]=0x1]='HttpImport',_0x2853a2[_0x2853a2[_0x116ce9(0x189)]=0x2]='HttpExport',_0x2853a2[_0x2853a2[_0x116ce9(0x278)]=0x3]=_0x116ce9(0x278),_0x2853a2[_0x2853a2['UnitSnapshot']=0x4]=_0x116ce9(0x177),_0x2853a2[_0x2853a2[_0x116ce9(0x25e)]=0x5]='UserProfileImg',_0x2853a2[_0x2853a2[_0x116ce9(0x182)]=-0x1]=_0x116ce9(0x182),_0x2853a2))(pi||{});const Os=_0x116ce9(0xe4);function bs(_0x48695c){var _0x150471=_0x116ce9;return JSON[_0x150471(0xf4)](_0x48695c)[_0x150471(0x196)];}var ne=(_0x32960e=>(_0x32960e[_0x116ce9(0x1eb)]=_0x116ce9(0x1eb),_0x32960e[_0x116ce9(0x34a)]=_0x116ce9(0x34a),_0x32960e[_0x116ce9(0x1ce)]='CONFLICT',_0x32960e[_0x116ce9(0x167)]=_0x116ce9(0x167),_0x32960e[_0x116ce9(0x172)]=_0x116ce9(0x172),_0x32960e['SOCKET_FAILED_RETRY']=_0x116ce9(0x331),_0x32960e['SOCKET_FAILED']=_0x116ce9(0x261),_0x32960e[_0x116ce9(0x254)]=_0x116ce9(0x254),_0x32960e))(ne||{});class ve{constructor(){var _0x3359f8=_0x116ce9;N(this,_0x3359f8(0x381),new _0x19b0a1()),N(this,'event$',this[_0x3359f8(0x381)][_0x3359f8(0x18e)]());}[_0x116ce9(0x1df)](_0x44040c){var _0x4ddce2=_0x116ce9;this[_0x4ddce2(0x381)][_0x4ddce2(0x371)](_0x44040c);}}class mi{constructor(){var _0x45de6e=_0x116ce9;N(this,_0x45de6e(0x374),new _0x19b0a1()),N(this,_0x45de6e(0x30a),this[_0x45de6e(0x374)][_0x45de6e(0x18e)]());}[_0x116ce9(0x1ed)](_0x5df4b5){var _0x405af9=_0x116ce9;this[_0x405af9(0x374)][_0x405af9(0x371)](_0x5df4b5);}}var ys=Object[_0x116ce9(0x396)],Ns=(_0x579912,_0x539244,_0x978cf0,_0x865058)=>{var _0x4b4f03=_0x116ce9;for(var _0x57cbcf=_0x865058>0x1?void 0x0:_0x865058?ys(_0x539244,_0x978cf0):_0x539244,_0x5e669f=_0x579912[_0x4b4f03(0x196)]-0x1,_0x12a56c;_0x5e669f>=0x0;_0x5e669f--)(_0x12a56c=_0x579912[_0x5e669f])&&(_0x57cbcf=_0x12a56c(_0x57cbcf)||_0x57cbcf);return _0x57cbcf;},Ft=(_0x183455,_0x51ccca)=>(_0x3657fc,_0x5d9bdc)=>_0x51ccca(_0x3657fc,_0x5d9bdc,_0x183455);let we=class extends _0x122c44{constructor(_0x27ffb1,_0x1ed275){var _0x3e037e=_0x116ce9;super(),N(this,'_roomMembers',new Map()),N(this,_0x3e037e(0x2b5),new _0x19b0a1()),(this[_0x3e037e(0xc7)]=_0x27ffb1,this[_0x3e037e(0x36f)]=_0x1ed275,this[_0x3e037e(0xf0)](_0x53100c(this['_univerInstanceService'][_0x3e037e(0x201)](_0x7d3d2a[_0x3e037e(0x33b)])['pipe'](_0x209458(_0x12c228=>_0x12c228['getUnitId']())),this[_0x3e037e(0xc7)]['getTypeOfUnitDisposed$'](_0x7d3d2a[_0x3e037e(0x1f8)])[_0x3e037e(0x266)](_0x209458(_0x3c625d=>_0x3c625d[_0x3e037e(0x130)]())),this[_0x3e037e(0xc7)]['getTypeOfUnitDisposed$'](_0x7d3d2a['UNIVER_SLIDE'])['pipe'](_0x209458(_0x283b5e=>_0x283b5e[_0x3e037e(0x130)]())))['subscribe'](_0x5dd081=>this[_0x3e037e(0x20b)](_0x5dd081))));}[_0x116ce9(0x29d)](_0x421833){var _0x4c3a1d=_0x116ce9;return this[_0x4c3a1d(0x17a)][_0x4c3a1d(0x322)](_0x421833)?_0x285d91(this['_roomMembers'][_0x4c3a1d(0x38f)](_0x421833)):this[_0x4c3a1d(0x2b5)][_0x4c3a1d(0x266)](_0x209458(_0x1d6a76=>{var _0x120c0f=_0x4c3a1d;if(_0x1d6a76===_0x421833)return this[_0x120c0f(0x17a)][_0x120c0f(0x38f)](_0x1d6a76);}));}['setCurrentUser'](_0x50d230){var _0x1d3c43=_0x116ce9;this[_0x1d3c43(0x36f)][_0x1d3c43(0x2a2)](_0x50d230);}['getCurrentUser'](){var _0x21d964=_0x116ce9;return this[_0x21d964(0x36f)][_0x21d964(0x1ff)]();}[_0x116ce9(0x1e0)](_0x4f99e1,_0x5caab4){var _0x2c439b=_0x116ce9;let _0xbfdbe6=this[_0x2c439b(0x17a)]['get'](_0x4f99e1);_0xbfdbe6||(_0xbfdbe6=new Ds(),this[_0x2c439b(0x17a)][_0x2c439b(0x228)](_0x4f99e1,_0xbfdbe6),this[_0x2c439b(0x2b5)]['next'](_0x4f99e1)),_0xbfdbe6['updateMember'](_0x5caab4);}[_0x116ce9(0x1d0)](_0x401948,_0x54a600){var _0xf38f2a=_0x116ce9;const _0x3235ad=this['_roomMembers'][_0xf38f2a(0x38f)](_0x401948);_0x3235ad&&_0x3235ad[_0xf38f2a(0x1d0)](_0x54a600);}[_0x116ce9(0x2fa)](_0x30dcc0){var _0x58bcbb=_0x116ce9;return this['_roomMembers'][_0x58bcbb(0x38f)](_0x30dcc0);}[_0x116ce9(0x2d1)](_0x333288,_0x1bb609){var _0x6d2339=_0x116ce9;const _0x6eb283=this[_0x6d2339(0x17a)][_0x6d2339(0x38f)](_0x333288);if(_0x6eb283)return _0x6eb283[_0x6d2339(0x2d1)](_0x1bb609);}[_0x116ce9(0x20b)](_0x41c4b9){var _0x1d4000=_0x116ce9;const _0x21e726=this[_0x1d4000(0x17a)][_0x1d4000(0x38f)](_0x41c4b9);_0x21e726&&(_0x21e726['dispose'](),this[_0x1d4000(0x17a)][_0x1d4000(0xba)](_0x41c4b9));}[_0x116ce9(0xd2)](){var _0x52f011=_0x116ce9;this[_0x52f011(0x17a)][_0x52f011(0x12d)](_0x5d5425=>_0x5d5425[_0x52f011(0xd2)]()),this['_roomMembers'][_0x52f011(0xe1)](),this[_0x52f011(0x2b5)][_0x52f011(0x26c)]();}};we=Ns([Ft(0x0,_0x283ba7),Ft(0x1,_0x557787(_0x2a5c5d))],we);class Ds extends _0x122c44{constructor(){var _0x29e2dd=_0x116ce9;super(...arguments),N(this,_0x29e2dd(0x1d7),new Map()),N(this,'_members$',new _0x3dc6f5(this['_members'])),N(this,_0x29e2dd(0x3b8),this[_0x29e2dd(0x244)][_0x29e2dd(0x18e)]());}[_0x116ce9(0xd2)](){var _0x31cf45=_0x116ce9;this[_0x31cf45(0x1d7)][_0x31cf45(0xe1)]();}['updateMember'](_0x42e5f2){var _0x501c40=_0x116ce9;this[_0x501c40(0x1d7)][_0x501c40(0x228)](_0x42e5f2[_0x501c40(0x399)],_0x42e5f2),this[_0x501c40(0x110)]();}[_0x116ce9(0x1d0)](_0xdb5ac1){var _0x3eb88d=_0x116ce9;this['_members'][_0x3eb88d(0xba)](_0xdb5ac1);}[_0x116ce9(0x2d1)](_0x2d6e10){var _0x4d3c60=_0x116ce9;return this[_0x4d3c60(0x1d7)][_0x4d3c60(0x38f)](_0x2d6e10);}[_0x116ce9(0x1c3)](){var _0x5efa6d=_0x116ce9;return Array[_0x5efa6d(0x11e)](this['_members'][_0x5efa6d(0x2da)]());}[_0x116ce9(0x110)](){var _0x503dc2=_0x116ce9;this['_members$']['next'](this[_0x503dc2(0x1d7)]);}}var Us=Object[_0x116ce9(0x396)],As=(_0x505164,_0x154aad,_0x32e3ae,_0x3c800f)=>{for(var _0x7677ac=_0x3c800f>0x1?void 0x0:_0x3c800f?Us(_0x154aad,_0x32e3ae):_0x154aad,_0xd34d2c=_0x505164['length']-0x1,_0x275524;_0xd34d2c>=0x0;_0xd34d2c--)(_0x275524=_0x505164[_0xd34d2c])&&(_0x7677ac=_0x275524(_0x7677ac)||_0x7677ac);return _0x7677ac;},Ce=(_0x2c8f2e,_0x1adfd4)=>(_0x56a25f,_0x41e4d4)=>_0x1adfd4(_0x56a25f,_0x41e4d4,_0x2c8f2e),ge=(_0xdf85ae=>(_0xdf85ae[_0xdf85ae[_0x116ce9(0x238)]=0x0]=_0x116ce9(0x238),_0xdf85ae[_0xdf85ae[_0x116ce9(0x3b5)]=0x1]=_0x116ce9(0x3b5),_0xdf85ae[_0xdf85ae[_0x116ce9(0x26d)]=0x2]=_0x116ce9(0x26d),_0xdf85ae[_0xdf85ae[_0x116ce9(0x35f)]=0x3]=_0x116ce9(0x35f),_0xdf85ae))(ge||{});const Vt={[pe[_0x116ce9(0x38e)]]:_0x116ce9(0x227),[pe[_0x116ce9(0x3ba)]]:_0x116ce9(0x332),[pe[_0x116ce9(0x137)]]:_0x116ce9(0x220),[pe['JOIN_ROOM_PERMISSION_DENIED']]:'session.room-permission-denied',[pe[_0x116ce9(0x16a)]]:'session.room-cnt-exceeds'};let gt=class extends _0x4d32e2{constructor(_0x5be47b,_0x423baa,_0x392d94,_0x145976,_0x40a2a2,_0x2d4d5f,_0xc524bd,_0x576274){var _0x5aa632=_0x116ce9;super(),N(this,_0x5aa632(0x325),new _0x3dc6f5(0x0)),N(this,_0x5aa632(0x253),this[_0x5aa632(0x325)][_0x5aa632(0x18e)]()),N(this,_0x5aa632(0x381),new _0x19b0a1()),N(this,_0x5aa632(0x320),this[_0x5aa632(0x381)]['asObservable']()),N(this,'_socket'),N(this,'_socketMessageSubscription'),N(this,_0x5aa632(0x1af)),N(this,_0x5aa632(0x195),!0x1),N(this,_0x5aa632(0x372),null),(this['_unitID']=_0x5be47b,this['_logService']=_0x392d94,this[_0x5aa632(0x206)]=_0x145976,this[_0x5aa632(0x2cd)]=_0x40a2a2,this[_0x5aa632(0x1ef)]=_0x2d4d5f,this[_0x5aa632(0xe9)]=_0xc524bd,this[_0x5aa632(0xdc)]=_0x576274,this['_shouldReportTelemetry']=!!this[_0x5aa632(0xdc)],_0x423baa[_0x5aa632(0x266)](_0x57b88f(this[_0x5aa632(0x1f0)]))[_0x5aa632(0x2f2)](_0x4ae4ae=>{var _0x3357ed=_0x5aa632,_0x1c1e8b;typeof _0x4ae4ae>'u'||(this[_0x3357ed(0x217)]=_0x4ae4ae,_0x4ae4ae?(this[_0x3357ed(0x37b)](_0x4ae4ae),this['_socketMessageSubscription']=_0x4ae4ae[_0x3357ed(0x21b)][_0x3357ed(0x2f2)](_0x54ca00=>{var _0x42ba91=_0x3357ed;_0x54ca00['routeKey']===this[_0x42ba91(0x395)]&&this['_onCombEvent'](_0x54ca00);})):(this[_0x3357ed(0x187)](),this[_0x3357ed(0x325)][_0x3357ed(0x371)](0x2),(_0x1c1e8b=this['_socketMessageSubscription'])==null||_0x1c1e8b[_0x3357ed(0x169)](),this[_0x3357ed(0x385)]=null));}));}get['sessionStatus'](){var _0x4ada61=_0x116ce9;return this[_0x4ada61(0x325)][_0x4ada61(0x21e)]();}['getMemberID'](){var _0x357215=_0x116ce9,_0x2a340a,_0x4a42ef;return(_0x4a42ef=(_0x2a340a=this[_0x357215(0x217)])==null?void 0x0:_0x2a340a[_0x357215(0x399)])!=null?_0x4a42ef:null;}['dispose'](){var _0x1fd60b=_0x116ce9;super[_0x1fd60b(0xd2)](),this[_0x1fd60b(0x1f0)][_0x1fd60b(0x371)](),this[_0x1fd60b(0x1f0)]['complete']();}[_0x116ce9(0x298)](){var _0x19abe5=_0x116ce9,_0x3b95f6,_0x58d6df;this['_throwTelemetryCollaborationNewChangeset'](),(_0x3b95f6=this[_0x19abe5(0x217)])==null||_0x3b95f6[_0x19abe5(0x32b)]({'cmd':F['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x58d6df=this['_socket'])==null||_0x58d6df[_0x19abe5(0x298)](),this[_0x19abe5(0x381)][_0x19abe5(0x26c)](),this[_0x19abe5(0x325)][_0x19abe5(0x26c)](),this[_0x19abe5(0xd2)]();}[_0x116ce9(0x2bc)](_0x407252){var _0x3122e7=_0x116ce9;_0x407252[_0x3122e7(0x14d)]===F['JOIN']?this[_0x3122e7(0x32e)](_0x407252):_0x407252[_0x3122e7(0x14d)]===F[_0x3122e7(0xd7)]&&this[_0x3122e7(0x3a8)](_0x407252);}[_0x116ce9(0x37b)](_0x482d92){var _0x278383=_0x116ce9;this['_sessionStatus$'][_0x278383(0x371)](0x1),_0x482d92[_0x278383(0x32b)]({'cmd':F['JOIN'],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x278383(0x395)]}]}});}[_0x116ce9(0x32e)](_0x24abe8){var _0x3960aa=_0x116ce9,_0x292087;if(_0x24abe8[_0x3960aa(0x230)]in Vt){this[_0x3960aa(0xe9)]['emitEvent']({'id':ne[_0x3960aa(0x172)],'data':Vt[_0x24abe8[_0x3960aa(0x230)]]}),this[_0x3960aa(0x325)][_0x3960aa(0x371)](0x2);return;}this[_0x3960aa(0x325)][_0x3960aa(0x371)](0x3);const _0x556372=(_0x292087=_0x24abe8['data']['roomInfos'][this['_unitID']])==null?void 0x0:_0x292087[_0x3960aa(0x14e)];_0x556372&&_0x556372['forEach'](_0x575253=>this[_0x3960aa(0x2cd)][_0x3960aa(0x1e0)](this[_0x3960aa(0x395)],_0x575253));}[_0x116ce9(0x3a8)](_0x46779e){var _0x5ca923=_0x116ce9;try{const _0x4d9a7a=_0x46779e[_0x5ca923(0x249)];switch(_0x4d9a7a[_0x5ca923(0x171)]){case _0x353970[_0x5ca923(0x18f)]:this['_onUserJoin'](_0x4d9a7a),this[_0x5ca923(0x381)][_0x5ca923(0x371)](_0x4d9a7a);break;case _0x353970[_0x5ca923(0x1d1)]:this['_onUserLeave'](_0x4d9a7a),this[_0x5ca923(0x381)][_0x5ca923(0x371)](_0x4d9a7a);break;case _0x353970[_0x5ca923(0x333)]:case _0x353970[_0x5ca923(0x139)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x5ca923(0x136)](),this['_event$']['next'](_0x4d9a7a);break;case _0x353970[_0x5ca923(0x13b)]:this[_0x5ca923(0x156)]['error'](_0x5ca923(0x108)+JSON[_0x5ca923(0xf4)](_0x4d9a7a)),this['_event$'][_0x5ca923(0x371)](_0x4d9a7a);break;case _0x353970['COMMENT_UPDATE']:this[_0x5ca923(0x1ef)][_0x5ca923(0x1ed)](_0x4d9a7a[_0x5ca923(0x249)]),this[_0x5ca923(0x381)][_0x5ca923(0x371)](_0x4d9a7a);break;default:this[_0x5ca923(0x381)][_0x5ca923(0x371)](_0x4d9a7a);}}catch(_0x246d92){this[_0x5ca923(0x156)][_0x5ca923(0x112)](_0x246d92,_0x46779e);}}[_0x116ce9(0x1aa)](_0x10b69d){var _0xb2d6f6=_0x116ce9;this[_0xb2d6f6(0x2cd)][_0xb2d6f6(0x1e0)](this[_0xb2d6f6(0x395)],_0x10b69d[_0xb2d6f6(0x249)]);}[_0x116ce9(0x353)](_0x3a4ea0){var _0x38a396=_0x116ce9;this[_0x38a396(0x2cd)]['removeMember'](this[_0x38a396(0x395)],_0x3a4ea0[_0x38a396(0x249)][_0x38a396(0x399)]);}async[_0x116ce9(0x32b)](_0x5c0da4,_0x21fe4c){var _0x5478ca=_0x116ce9;if(this[_0x5478ca(0x2af)]!==0x3||!this[_0x5478ca(0x217)])throw new Error(_0x5478ca(0x2c6));try{_0x5c0da4[_0x5478ca(0x171)]===_0x353970[_0x5478ca(0x219)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x5478ca(0x1b0)](_0x5c0da4)),this[_0x5478ca(0x217)][_0x5478ca(0x32b)]({'cmd':F[_0x5478ca(0x316)],'routeKey':_0x21fe4c,'routeType':'','data':_0x5c0da4});}catch(_0x2d9331){this[_0x5478ca(0x156)]['error'](_0x2d9331);}}[_0x116ce9(0x14f)](){var _0x185bb2=_0x116ce9,_0x377d67;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x41278a=_0x2a22;this['_collaborationTimeoutTimer']=null,this[_0x41278a(0xe9)][_0x41278a(0x1df)]({'id':ne[_0x41278a(0x254)]});},(_0x377d67=this[_0x185bb2(0x206)][_0x185bb2(0x232)](di))!=null?_0x377d67:fi);}[_0x116ce9(0x136)](){var _0x270c09=_0x116ce9;this[_0x270c09(0x1af)]&&(clearTimeout(this[_0x270c09(0x1af)]),this[_0x270c09(0x1af)]=null);}[_0x116ce9(0x1b0)](_0x1eb9bf){var _0x30bb6f=_0x116ce9;if(!this[_0x30bb6f(0x195)])return;const {data:_0x3a3241}=_0x1eb9bf,{unitID:_0xde4bfd,changeset:_0x219895}=_0x3a3241,{mutations:_0x4d0505,type:_0x451388}=_0x219895;this['_telemetryInfo']={'unitId':_0xde4bfd,'type':_0x451388,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':bs(_0x4d0505)};}[_0x116ce9(0xe6)](){var _0xcc21a0=_0x116ce9;if(this['_shouldReportTelemetry']){if(!this[_0xcc21a0(0x372)]){this[_0xcc21a0(0x156)][_0xcc21a0(0x112)](_0xcc21a0(0x10f),_0xcc21a0(0x15f));return;}this[_0xcc21a0(0x372)][_0xcc21a0(0x10d)]=performance['now'](),this[_0xcc21a0(0x372)][_0xcc21a0(0x34f)]=this[_0xcc21a0(0x372)][_0xcc21a0(0x10d)]-this[_0xcc21a0(0x372)][_0xcc21a0(0x30b)],this[_0xcc21a0(0xdc)][_0xcc21a0(0x131)](Os,this[_0xcc21a0(0x372)]),this[_0xcc21a0(0x372)]=null;}}[_0x116ce9(0x187)](){var _0x450b6d=_0x116ce9;this[_0x450b6d(0x372)]=null;}};gt=As([Ce(0x2,_0x1703f1),Ce(0x3,_0x42adf2),Ce(0x4,_0x557787(we)),Ce(0x5,_0x557787(mi)),Ce(0x6,_0x557787(ve)),Ce(0x7,_0x93ee66(_0x1b402f))],gt);const J=_0x414cea('collaboration-client.local-cache-service');function br(_0x4210a1){return'unit-cache-'+_0x4210a1;}var ws=Object[_0x116ce9(0x396)],Ps=(_0x3c539e,_0x13c3fa,_0xc1f1a,_0x4e6be6)=>{for(var _0x14af1d=_0x4e6be6>0x1?void 0x0:_0x4e6be6?ws(_0x13c3fa,_0xc1f1a):_0x13c3fa,_0xe77e55=_0x3c539e['length']-0x1,_0x377883;_0xe77e55>=0x0;_0xe77e55--)(_0x377883=_0x3c539e[_0xe77e55])&&(_0x14af1d=_0x377883(_0x14af1d)||_0x14af1d);return _0x14af1d;},ut=(_0x4ea62c,_0x1d6878)=>(_0x65aa5a,_0x587438)=>_0x1d6878(_0x65aa5a,_0x587438,_0x4ea62c);function Ms(_0x2da4ef){var _0x351ec2=_0x116ce9;const {unitID:_0x2166d0,mutations:_0x25d23d}=_0x2da4ef;return{'unitId':_0x2166d0,'subUnitId':_0x25d23d[0x0][_0x351ec2(0x3a5)]['subUnitId']};}let it=class{constructor(_0x2a2925,_0x3fd35f,_0x59c326){var _0x5352a6=_0x116ce9;this[_0x5352a6(0x15b)]=_0x2a2925,this[_0x5352a6(0x304)]=_0x3fd35f,this[_0x5352a6(0x23c)]=_0x59c326;}[_0x116ce9(0x2df)](_0x1b9d13){var _0x43e8aa=_0x116ce9,_0x5da7ce,_0x56e793,_0x293f52,_0xfa7084;const _0x5c56f=this[_0x43e8aa(0x15b)][_0x43e8aa(0x38f)](_0x5eac83),{unitId:_0x312113,subUnitId:_0x57381f}=Ms(_0x1b9d13),_0x320fa4=_0x5c56f==null?void 0x0:_0x5c56f[_0x43e8aa(0xb0)](_0x312113)[_0x43e8aa(0x12a)](),_0x6fa2fe=(_0x56e793=(_0x5da7ce=this[_0x43e8aa(0x23c)]['getUnit'](_0x312113))==null?void 0x0:_0x5da7ce['getActiveSheet']())==null?void 0x0:_0x56e793[_0x43e8aa(0x1a4)]();if(_0x320fa4['length']===0x0||!_0x312113||!_0x57381f)return;const _0x2b4833=[{'id':_0x434aad['id'],'params':{'unitId':_0x312113,'subUnitId':_0x6fa2fe,'selections':_0x988deb[_0x43e8aa(0x29e)](_0x320fa4)}}],_0x530470=this[_0x43e8aa(0x304)][_0x43e8aa(0xe5)](_0x1b9d13,_0x2b4833);if(!_0x513a08(_0x530470))throw _0x530470[_0x43e8aa(0x112)];const _0x5284d9=(_0xfa7084=(_0x293f52=_0x530470['m2Prime'][0x0])==null?void 0x0:_0x293f52[_0x43e8aa(0x3a5)])==null?void 0x0:_0xfa7084[_0x43e8aa(0x15d)];if(Array[_0x43e8aa(0x250)](_0x5284d9)&&_0x5284d9[_0x43e8aa(0x196)]){if(_0x5284d9[_0x43e8aa(0x196)]===_0x2b4833[0x0]['params'][_0x43e8aa(0x15d)][_0x43e8aa(0x196)]&&_0x5284d9['every']((_0x5c13a7,_0x273c89)=>_0xea558a['equals'](_0x5c13a7['range'],_0x2b4833[0x0][_0x43e8aa(0x3a5)][_0x43e8aa(0x15d)][_0x273c89][_0x43e8aa(0x24f)])))return;this[_0x43e8aa(0x15b)]['get'](_0x557fb2)[_0x43e8aa(0x2cf)](_0x434aad['id'],{'unitId':_0x312113,'subUnitId':_0x6fa2fe,'selections':_0x5284d9});}}};it=Ps([ut(0x0,_0x557787(_0x249d80)),ut(0x1,_0x1c5e41),ut(0x2,_0x283ba7)],it);const ht=_0x414cea(_0x116ce9(0x37a));var gi=(_0x5bb782=>(_0x5bb782[_0x5bb782['NO_OTHER_CLIENTS_EDITING']=0x0]='NO_OTHER_CLIENTS_EDITING',_0x5bb782[_0x5bb782['OTHER_CLIENTS_EDITING']=0x1]=_0x116ce9(0x2d5),_0x5bb782))(gi||{});const K=_0x116ce9(0xe8),Ls={},xs=new Set([_0x276ea8['id']]);function Wt(_0xadc450,_0x39f2db,_0x56af7d,_0x3b7fe0,_0x32ff48){var _0x365321=_0x116ce9,_0x225853,_0x64160b,_0x19eb9d,_0x502818;const _0x5948b5=[];for(const _0xa9e69f of _0xadc450)if(xs['has'](_0xa9e69f['id'])){if(_0x5948b5['length']>0x0)break;_0x5948b5[_0x365321(0x39e)](_0xa9e69f);break;}else _0x5948b5[_0x365321(0x39e)](_0xa9e69f);const _0x14c20a=(_0x64160b=(_0x225853=_0x32ff48['getCurrentUser']())==null?void 0x0:_0x225853['userID'])!=null?_0x64160b:_0x365321(0x31e),_0x2d5e91=(_0x502818=(_0x19eb9d=_0x32ff48['getCurrentUser']())==null?void 0x0:_0x19eb9d['memberID'])!=null?_0x502818:_0x365321(0x31e);return{'changeset':{'unitID':_0x39f2db,'type':_0x22ae93(_0x56af7d[_0x365321(0x2cb)](_0x39f2db)),'baseRev':_0x3b7fe0[_0x365321(0x23a)](_0x39f2db),'revision':0x0,'userID':_0x14c20a,'memberID':_0x2d5e91,'mutations':_0x5948b5},'pendingMutations':_0xadc450[_0x365321(0x39a)](_0x5948b5[_0x365321(0x196)])};}function ks(_0x1d63d4,_0x5f5ab4,_0x307e75,_0x1b181d,_0x2fedf8){var _0x54e8a2=_0x116ce9,_0x317c6e,_0x2f4f99,_0x402aa4,_0x5811cd;const _0xfae24a=[_0x1d63d4[_0x54e8a2(0x3b1)]((_0xb13309,_0x16aa4d)=>{var _0x20f784=_0x54e8a2,_0x22865d;const {id:_0x2d1483}=_0xb13309,{id:_0x4436f5,type:_0x5877fa}=_0x16aa4d,_0x4698a7=(_0x22865d=_0xb13309[_0x20f784(0x3a5)])!=null?_0x22865d:{'actions':null},_0x287f52=_0x16aa4d['params'];if(_0x2d1483&&_0x2d1483!==_0x4436f5)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x2d1483+'\x20-\x20'+_0x4436f5+'.');return{..._0xb13309,'id':_0x4436f5,'type':_0x5877fa,'params':{'unitId':_0x287f52['unitId'],'textRanges':_0x287f52[_0x20f784(0x24e)],'actions':_0x12a7dc[_0x20f784(0x302)](_0x4698a7[_0x20f784(0x305)],_0x287f52[_0x20f784(0x305)])}};},{})],_0x47d46a=(_0x2f4f99=(_0x317c6e=_0x2fedf8['getCurrentUser']())==null?void 0x0:_0x317c6e['userID'])!=null?_0x2f4f99:_0x54e8a2(0x31e),_0x2ddf6f=(_0x5811cd=(_0x402aa4=_0x2fedf8[_0x54e8a2(0x1ff)]())==null?void 0x0:_0x402aa4[_0x54e8a2(0x399)])!=null?_0x5811cd:'unknown';return{'changeset':{'unitID':_0x5f5ab4,'type':_0x22ae93(_0x307e75[_0x54e8a2(0x2cb)](_0x5f5ab4)),'baseRev':_0x1b181d[_0x54e8a2(0x23a)](_0x5f5ab4),'revision':0x0,'userID':_0x47d46a,'memberID':_0x2ddf6f,'mutations':_0xfae24a},'pendingMutations':[]};}function Si(_0x5a7b47,_0x4931c7){var _0x49233f=_0x116ce9;const _0x55be37=new _0x453e34(0x1);return setTimeout(()=>_0x55be37['next'](_0x4931c7),_0x5a7b47),_0x55be37[_0x49233f(0x18e)]()[_0x49233f(0x266)](_0x1dc36d(0x1));}const $s={'id':_0x470c7d['id'],'type':_0x334635[_0x116ce9(0x216)],'params':{}};var Hs=Object['getOwnPropertyDescriptor'],Ee=(_0x563967,_0x47dcbe,_0x58e4ce,_0x139cfe)=>{for(var _0x521c1d=_0x139cfe>0x1?void 0x0:_0x139cfe?Hs(_0x47dcbe,_0x58e4ce):_0x47dcbe,_0x56653c=_0x563967['length']-0x1,_0x3b6278;_0x56653c>=0x0;_0x56653c--)(_0x3b6278=_0x563967[_0x56653c])&&(_0x521c1d=_0x3b6278(_0x521c1d)||_0x521c1d);return _0x521c1d;},P=(_0x2c08bc,_0x3edac0)=>(_0x444774,_0x205562)=>_0x3edac0(_0x444774,_0x205562,_0x2c08bc),Ei=(_0x468902=>(_0x468902['NOT_COLLAB']=_0x116ce9(0xc4),_0x468902[_0x116ce9(0x118)]=_0x116ce9(0x2a5),_0x468902[_0x116ce9(0x224)]=_0x116ce9(0x379),_0x468902[_0x116ce9(0xce)]='awaiting',_0x468902[_0x116ce9(0x113)]=_0x116ce9(0xf9),_0x468902[_0x116ce9(0x12b)]='fetch_missing',_0x468902[_0x116ce9(0x1ce)]=_0x116ce9(0xc1),_0x468902[_0x116ce9(0x26d)]=_0x116ce9(0x218),_0x468902))(Ei||{});const Ii=0xea60;class Ie{constructor(_0x570fa1,_0x4dcdd7,_0x5f28fe,_0x5074ea,_0x262d91,_0x55fb4b,_0x5cd759,_0x42bc56,_0x32421d){var _0x144546=_0x116ce9;N(this,'_awaitingChangeset',null),N(this,_0x144546(0x2a7),[]),(this['unitID']=_0x570fa1,this[_0x144546(0x18b)]=_0x4dcdd7,this[_0x144546(0x147)]=_0x262d91,this[_0x144546(0x36c)]=_0x55fb4b,this[_0x144546(0x327)]=_0x5cd759,this[_0x144546(0x239)]=_0x42bc56,this[_0x144546(0x1b8)]=_0x32421d,this[_0x144546(0x3b0)]=_0x5f28fe,this['_pendingMutations']=_0x5074ea);}['_checkMissing'](_0x5c0c26){var _0x25b310=_0x116ce9;const _0x262477=this[_0x25b310(0x239)][_0x25b310(0x23a)](this['unitID']);return _0x5c0c26[_0x25b310(0x1f5)]>_0x262477+0x1?(this[_0x25b310(0x147)][_0x25b310(0x23f)]({'from':_0x262477,'to':_0x5c0c26[_0x25b310(0x1f5)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x7a2116){var _0x8b5f=_0x116ce9;this[_0x8b5f(0x327)][_0x8b5f(0x291)](this[_0x8b5f(0x1b1)],_0x7a2116);}[_0x116ce9(0x377)](_0x1b4456){var _0x2100c0=_0x116ce9,_0x270f80,_0xd5bbdd;(_0xd5bbdd=(_0x270f80=this[_0x2100c0(0x147)])[_0x2100c0(0x39c)])==null||_0xd5bbdd[_0x2100c0(0x28b)](_0x270f80,_0x1b4456);}[_0x116ce9(0x35d)](_0x334796){var _0x29f862=_0x116ce9,_0x43ff10,_0x4ec887;return(_0x4ec887=(_0x43ff10=this[_0x29f862(0x147)])[_0x29f862(0x212)])==null?void 0x0:_0x4ec887[_0x29f862(0x28b)](_0x43ff10,_0x334796);}[_0x116ce9(0x1e2)](_0xe9f795){var _0x4cfb64=_0x116ce9,_0x4a6c23,_0x3aee56;return(_0x3aee56=(_0x4a6c23=this[_0x4cfb64(0x147)])[_0x4cfb64(0xd5)])==null?void 0x0:_0x3aee56[_0x4cfb64(0x28b)](_0x4a6c23,_0xe9f795);}[_0x116ce9(0x388)](_0x44a7a7){var _0x1d3d24=_0x116ce9,_0x4452b0,_0x59bccb,_0x22b6fd;return(_0x22b6fd=(_0x59bccb=(_0x4452b0=this['_handler'])[_0x1d3d24(0x3ac)])==null?void 0x0:_0x59bccb[_0x1d3d24(0x28b)](_0x4452b0,_0x44a7a7))!=null?_0x22b6fd:_0x44a7a7;}[_0x116ce9(0x2a6)](_0x2ba073){var _0x170e1d=_0x116ce9,_0xea7c03,_0x9d9500,_0x1ce3c4;return(_0x1ce3c4=(_0x9d9500=(_0xea7c03=this[_0x170e1d(0x147)])[_0x170e1d(0xc6)])==null?void 0x0:_0x9d9500[_0x170e1d(0x28b)](_0xea7c03,_0x2ba073))!=null?_0x1ce3c4:_0x2ba073;}[_0x116ce9(0x259)](_0x23f338){var _0x402f92=_0x116ce9,_0x55d901,_0x541a0a;if(this[_0x402f92(0x18b)]===Z[_0x402f92(0x1f8)]){const {unitID:_0x52fe45,mutations:_0x54421a,memberID:_0x1fc917}=_0x23f338,_0x1f1a2a=_0x54421a[0x0][_0x402f92(0x3a5)][_0x402f92(0x24e)];Array[_0x402f92(0x250)](_0x1f1a2a)&&_0x1f1a2a[_0x402f92(0x196)]>0x0&&((_0x541a0a=(_0x55d901=this[_0x402f92(0x147)])[_0x402f92(0x2e4)])==null||_0x541a0a[_0x402f92(0x28b)](_0x55d901,{'unitID':_0x52fe45,'memberID':_0x1fc917,'textRanges':_0x1f1a2a}));}}[_0x116ce9(0x39b)](){var _0x3f4bab=_0x116ce9,_0x4784ed;(_0x4784ed=this[_0x3f4bab(0x1b8)])==null||_0x4784ed['updateOfflineData'](this['unitID'],this[_0x3f4bab(0x18b)],this[_0x3f4bab(0x3b0)],this[_0x3f4bab(0x2a7)]);}['_getCurrentRevision'](){var _0x2b6e83=_0x116ce9;return this[_0x2b6e83(0x239)][_0x2b6e83(0x23a)](this[_0x2b6e83(0x1b1)]);}[_0x116ce9(0x2c1)](){var _0xbb36d8=_0x116ce9;this['_revisionService'][_0xbb36d8(0x236)](this[_0xbb36d8(0x1b1)]);}[_0x116ce9(0xe3)](_0x3ebe47){var _0x25b4b4=_0x116ce9,_0x1b5b08;let _0x364515=this[_0x25b4b4(0x388)](_0x3ebe47);_0x364515=this[_0x25b4b4(0x2a6)](_0x364515);const _0x34d175=_0x17714a(_0x364515[_0x25b4b4(0x392)],this[_0x25b4b4(0x36c)],{'fromCollab':!0x0});if(!_0x34d175[_0x25b4b4(0x358)])throw _0x34d175[_0x25b4b4(0x112)]instanceof Error?_0x34d175[_0x25b4b4(0x112)]:new Error((_0x1b5b08=_0x34d175['error'])!=null?_0x1b5b08:'[CollaborationState]:\x20apply\x20error!');this[_0x25b4b4(0x35d)](_0x364515),this[_0x25b4b4(0x1e2)](_0x364515),this['_transformUndoredo'](_0x3ebe47),this[_0x25b4b4(0x377)](_0x364515),this[_0x25b4b4(0x259)](_0x364515),this[_0x25b4b4(0x2c1)]();}}let ye=class extends Ie{constructor(_0x2ae65c,_0x128caa,_0x4a77c3,_0x153658,_0x3d69ed,_0x367773,_0x246049,_0x42c775,_0x2de594,_0x3deb19){var _0xc04124=_0x116ce9;super(_0x2ae65c,_0x128caa,null,[],_0x4a77c3,_0x246049,_0x367773,_0x153658,_0x3deb19),N(this,_0xc04124(0x102),_0xc04124(0x2a5)),(this[_0xc04124(0x15b)]=_0x3d69ed,this[_0xc04124(0x156)]=_0x42c775,this['_transformService']=_0x2de594,this[_0xc04124(0xd0)]=_0x3deb19);}[_0x116ce9(0x2f6)](_0x460060){var _0x61a70e=_0x116ce9;const _0x12102e=this['_injector'][_0x61a70e(0x13d)](re,this[_0x61a70e(0x1b1)],this[_0x61a70e(0x18b)],[_0x460060],this[_0x61a70e(0x147)]);return _0x12102e['_schedule'](),_0x12102e[_0x61a70e(0x39b)](),_0x12102e;}[_0x116ce9(0x300)](_0x3e7486){var _0x3dca32=_0x116ce9;if(this['_checkMissing'](_0x3e7486))return this['_injector'][_0x3dca32(0x13d)](Q,this[_0x3dca32(0x1b1)],this[_0x3dca32(0x18b)],null,[],null,[_0x3e7486],this['_handler']);try{const _0x25f0ce=this[_0x3dca32(0x304)][_0x3dca32(0xe5)](_0x3e7486,[$s]);if(_0x513a08(_0x25f0ce)){const {c1Prime:_0x4c3f35}=_0x25f0ce;return this['_executeRemoteChangeset'](_0x4c3f35),this;}throw _0x25f0ce[_0x3dca32(0x112)];}catch(_0x5e8bd4){return this[_0x3dca32(0x156)][_0x3dca32(0x112)](_0x5e8bd4),this[_0x3dca32(0x301)](!0x1);}}[_0x116ce9(0x301)](_0xd2aea9){var _0x5e8476=_0x116ce9;return this[_0x5e8476(0x15b)][_0x5e8476(0x13d)](le,this[_0x5e8476(0x1b1)],this[_0x5e8476(0x18b)],null,[],this[_0x5e8476(0x147)],_0xd2aea9);}[_0x116ce9(0x321)](){var _0x346359=_0x116ce9;throw new Error(_0x346359(0xea));}[_0x116ce9(0xdf)](){var _0x3312b4=_0x116ce9;throw new Error(_0x3312b4(0x2fc));}[_0x116ce9(0x1ae)](){return this;}['toggleOffline'](){var _0x53d2c7=_0x116ce9;return this[_0x53d2c7(0x15b)][_0x53d2c7(0x13d)](ue,this['unitID'],this[_0x53d2c7(0x18b)],null,[],this[_0x53d2c7(0x147)]);}[_0x116ce9(0x1bf)](){return this;}[_0x116ce9(0x175)](){var _0x4526d0=_0x116ce9;throw new Error(_0x4526d0(0x1fb));}[_0x116ce9(0x19c)](){var _0x127d31=_0x116ce9;const _0x333769=this[_0x127d31(0x239)][_0x127d31(0x23a)](this[_0x127d31(0x1b1)]);return this['_handler'][_0x127d31(0x23f)]({'from':_0x333769,'to':0x0}),this[_0x127d31(0x15b)][_0x127d31(0x13d)](Q,this[_0x127d31(0x1b1)],this[_0x127d31(0x18b)],null,[],null,[],this[_0x127d31(0x147)]);}};ye=Ee([P(0x3,_0x557787(_0x579054)),P(0x4,_0x557787(_0x249d80)),P(0x5,_0x2f8cb7),P(0x6,_0x557fb2),P(0x7,_0x1703f1),P(0x8,_0x1c5e41),P(0x9,_0x93ee66(J))],ye);let re=class extends Ie{constructor(_0x3723c9,_0x342aa6,_0x4b72d8,_0x248d45,_0x3c255e,_0x21bc26,_0x5ac08a,_0x50d271,_0x2b8d10,_0xcc4ee3,_0x2d1d9e,_0x19c583,_0x2c83a3,_0x1c637e){var _0xe1cb1a=_0x116ce9;super(_0x3723c9,_0x342aa6,null,_0x4b72d8,_0x248d45,_0x2b8d10,_0x2c83a3,_0x21bc26,_0x1c637e),N(this,_0xe1cb1a(0x102),_0xe1cb1a(0x379)),N(this,_0xe1cb1a(0x341),null),N(this,_0xe1cb1a(0x299),null),(this[_0xe1cb1a(0x15b)]=_0x3c255e,this[_0xe1cb1a(0x2cd)]=_0x5ac08a,this[_0xe1cb1a(0x156)]=_0x50d271,this[_0xe1cb1a(0x206)]=_0xcc4ee3,this[_0xe1cb1a(0x304)]=_0x2d1d9e,this['_univerInstanceService']=_0x19c583);}['appendMutation'](_0x1b6de9){var _0x247e0d=_0x116ce9;return this[_0x247e0d(0x2a7)][_0x247e0d(0x39e)](_0x1b6de9),this[_0x247e0d(0x39b)](),this;}[_0x116ce9(0x300)](_0x5b467d){var _0x59364c=_0x116ce9;if(this[_0x59364c(0x37f)](_0x5b467d))return this[_0x59364c(0x23d)](),this[_0x59364c(0x15b)][_0x59364c(0x13d)](Q,this[_0x59364c(0x1b1)],this['type'],null,this[_0x59364c(0x2a7)],null,[_0x5b467d],this[_0x59364c(0x147)]);try{const _0x5f40a8=this[_0x59364c(0x304)][_0x59364c(0xe5)](_0x5b467d,this[_0x59364c(0x2a7)]);if(_0x513a08(_0x5f40a8)){const {c1Prime:_0x3f828e,m2Prime:_0x3fb521}=_0x5f40a8;this['_executeRemoteChangeset'](_0x3f828e);const _0x591f62=this[_0x59364c(0x15b)][_0x59364c(0x13d)](re,this[_0x59364c(0x1b1)],this['type'],_0x3fb521,this['_handler']);this[_0x59364c(0x23d)]();const _0x59e636=new Date()[_0x59364c(0x2e1)](),_0xa59f77=this[_0x59364c(0x341)]?Math[_0x59364c(0x313)](this[_0x59364c(0x341)]-_0x59e636,0x0):this[_0x59364c(0x290)]();return _0x591f62['_schedule'](_0xa59f77),_0x591f62;}throw _0x5f40a8[_0x59364c(0x112)];}catch(_0x4844b7){return this[_0x59364c(0x156)][_0x59364c(0x112)](_0x4844b7),this['_onConflict'](!0x1);}}[_0x116ce9(0x321)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x116ce9(0xdf)](){var _0x1d1e08=_0x116ce9;throw new Error(_0x1d1e08(0x1c7));}[_0x116ce9(0x1ae)](){return this;}[_0x116ce9(0x173)](){var _0x4adf04=_0x116ce9;return this[_0x4adf04(0x23d)](),this[_0x4adf04(0x15b)][_0x4adf04(0x13d)](ue,this[_0x4adf04(0x1b1)],this[_0x4adf04(0x18b)],null,this[_0x4adf04(0x2a7)],this[_0x4adf04(0x147)]);}[_0x116ce9(0x1bf)](){return this;}[_0x116ce9(0x1ec)](_0x301eef){var _0x236c13=_0x116ce9;const _0x12f792=_0x301eef!=null?_0x301eef:this[_0x236c13(0x290)]();this['_scheduleCompleteTimestamp']=new Date()['getTime']()+_0x12f792,this['_sendingTimer']=setTimeout(()=>{var _0x4fc63f=_0x236c13;this[_0x4fc63f(0x23d)]();let _0x579f4a=null;switch(this[_0x4fc63f(0x18b)]){case Z[_0x4fc63f(0x33b)]:{_0x579f4a=Wt(this[_0x4fc63f(0x2a7)],this['unitID'],this[_0x4fc63f(0xc7)],this['_revisionService'],this[_0x4fc63f(0x2cd)]);break;}case Z[_0x4fc63f(0x1f8)]:{this[_0x4fc63f(0x2a7)][_0x4fc63f(0x364)](_0x51c6d5=>_0x51c6d5['id']===_0x49a809['id'])?_0x579f4a=ks(this[_0x4fc63f(0x2a7)],this[_0x4fc63f(0x1b1)],this[_0x4fc63f(0xc7)],this[_0x4fc63f(0x239)],this[_0x4fc63f(0x2cd)]):_0x579f4a=Wt(this[_0x4fc63f(0x2a7)],this[_0x4fc63f(0x1b1)],this[_0x4fc63f(0xc7)],this[_0x4fc63f(0x239)],this[_0x4fc63f(0x2cd)]);break;}default:throw new Error(_0x4fc63f(0x2f1)+this[_0x4fc63f(0x18b)]+_0x4fc63f(0x355));}const {changeset:_0x12b764,pendingMutations:_0x38a053}=_0x579f4a;this[_0x4fc63f(0x147)][_0x4fc63f(0x28f)](_0x12b764);const _0x2381d4=_0x38a053[_0x4fc63f(0x196)]?this[_0x4fc63f(0x15b)][_0x4fc63f(0x13d)](ae,this[_0x4fc63f(0x1b1)],this[_0x4fc63f(0x18b)],_0x12b764,_0x38a053,this['_handler'],void 0x0):this[_0x4fc63f(0x15b)][_0x4fc63f(0x13d)](_e,this[_0x4fc63f(0x1b1)],this[_0x4fc63f(0x18b)],_0x12b764,this[_0x4fc63f(0x147)]);_0x2381d4[_0x4fc63f(0x39b)](),this[_0x4fc63f(0x147)][_0x4fc63f(0x3b3)](this,_0x2381d4);},_0x12f792);}[_0x116ce9(0x290)](){var _0x16a1cb=_0x116ce9,_0x433f78;const _0xb911f3=this['_configService']['getConfig'](K);return(_0x433f78=_0xb911f3==null?void 0x0:_0xb911f3[_0x16a1cb(0xcd)])!=null?_0x433f78:ps;}[_0x116ce9(0x175)](){var _0x3c5034=_0x116ce9;throw new Error(_0x3c5034(0x1ee));}['_clearScheduledTask'](){var _0x43fa46=_0x116ce9;this['_sendingTimer']!=null&&(clearTimeout(this[_0x43fa46(0x299)]),this['_sendingTimer']=null);}[_0x116ce9(0x301)](_0x9a4b8){var _0xf8a8bf=_0x116ce9;return this[_0xf8a8bf(0x23d)](),this['_injector'][_0xf8a8bf(0x13d)](le,this[_0xf8a8bf(0x1b1)],this[_0xf8a8bf(0x18b)],null,this['_pendingMutations'],this['_handler'],_0x9a4b8);}};re=Ee([P(0x4,_0x557787(_0x249d80)),P(0x5,_0x557787(_0x579054)),P(0x6,_0x557787(we)),P(0x7,_0x1703f1),P(0x8,_0x557fb2),P(0x9,_0x42adf2),P(0xa,_0x1c5e41),P(0xb,_0x283ba7),P(0xc,_0x2f8cb7),P(0xd,_0x93ee66(J))],re);let _e=class extends Ie{constructor(_0x3753c2,_0x411973,_0x1c9078,_0x2b738a,_0x2c786d,_0x1f5efc,_0x491794,_0x38b4f4,_0x26b6f4,_0x4ea362,_0x4d3da3){var _0x5d2b6b=_0x116ce9;super(_0x3753c2,_0x411973,_0x1c9078,[],_0x2b738a,_0x491794,_0x4ea362,_0x1f5efc,_0x4d3da3),N(this,_0x5d2b6b(0x102),'awaiting'),N(this,'_resendTimeout',0x0),N(this,_0x5d2b6b(0x146)),N(this,_0x5d2b6b(0x24c)),(this[_0x5d2b6b(0x15b)]=_0x2c786d,this[_0x5d2b6b(0x156)]=_0x38b4f4,this[_0x5d2b6b(0x304)]=_0x26b6f4);}['appendMutation'](_0x1660c0){var _0x4cd694=_0x116ce9;this[_0x4cd694(0x23d)]();const _0x2b4602=this[_0x4cd694(0x15b)][_0x4cd694(0x13d)](ae,this['unitID'],this[_0x4cd694(0x18b)],this['_awaitingChangeset'],[_0x1660c0],this[_0x4cd694(0x147)],this[_0x4cd694(0x146)]);return _0x2b4602[_0x4cd694(0x39b)](),_0x2b4602;}[_0x116ce9(0x300)](_0x578e47){var _0x1f8b1c=_0x116ce9;if(this['_checkMissing'](_0x578e47))return this[_0x1f8b1c(0x23d)](),this[_0x1f8b1c(0x15b)]['createInstance'](Q,this[_0x1f8b1c(0x1b1)],this[_0x1f8b1c(0x18b)],this[_0x1f8b1c(0x3b0)],[],null,[_0x578e47],this[_0x1f8b1c(0x147)]);try{const _0x224dab=this[_0x1f8b1c(0x304)][_0x1f8b1c(0x2c3)]([_0x578e47],[this['_awaitingChangeset']],!0x1);if(_0x24c9fc(_0x224dab)){const {c1Prime:_0x28a908,c2Prime:_0x3ae69b}=_0x224dab;this[_0x1f8b1c(0xe3)](_0x28a908[0x0]),_0x3ae69b[0x0]['baseRev']=this[_0x1f8b1c(0xda)](),this[_0x1f8b1c(0x23d)]();const _0x3a220c=this[_0x1f8b1c(0x15b)][_0x1f8b1c(0x13d)](_e,this['unitID'],this[_0x1f8b1c(0x18b)],_0x3ae69b[0x0],this[_0x1f8b1c(0x147)]);return _0x3a220c['_updateLocalCache'](),_0x3a220c;}return this['_onConflict'](!0x1);}catch(_0x36c647){return this['_logService'][_0x1f8b1c(0x112)](_0x36c647),this[_0x1f8b1c(0x301)](!0x1);}}['onRemoteAck'](_0x252741){var _0x3a6bae=_0x116ce9;this[_0x3a6bae(0x23d)]();const _0x2564b7=this[_0x3a6bae(0x239)][_0x3a6bae(0x23a)](this[_0x3a6bae(0x1b1)]);if(_0x252741[_0x3a6bae(0x1f5)]<_0x2564b7-0x1)return this;if(this[_0x3a6bae(0x37f)](_0x252741))return this['_injector']['createInstance'](Q,this[_0x3a6bae(0x1b1)],this['type'],null,[],this['_awaitingChangeset'],[],this['_handler']);this[_0x3a6bae(0x2c1)]();const _0x50407b=this[_0x3a6bae(0x15b)][_0x3a6bae(0x13d)](ye,this[_0x3a6bae(0x1b1)],this[_0x3a6bae(0x18b)],this[_0x3a6bae(0x147)]);return _0x50407b[_0x3a6bae(0x39b)](),_0x50407b;}[_0x116ce9(0xdf)](_0xa09b5f){var _0xa8028=_0x116ce9;return this['_onConflict'](!!(_0xa09b5f!=null&&_0xa09b5f[_0xa8028(0xd1)]));}[_0x116ce9(0x1ae)](_0x4d1d46){var _0x287476=_0x116ce9;return this[_0x287476(0xf3)]>Ii?this[_0x287476(0x173)]():(this['_resendTimer']=Si(this[_0x287476(0xf3)],{'timeout':this[_0x287476(0xf3)],'reqId':_0x4d1d46[_0x287476(0x190)]}),this['_sender']=this['_resendTimer']['subscribe'](({reqId:_0x5eab79,timeout:_0x4fa661})=>{var _0x4b4da2=_0x287476;this[_0x4b4da2(0x1a0)](_0x5eab79,_0x4fa661);}),this);}[_0x116ce9(0x173)](){var _0x137a1d=_0x116ce9;return this['_clearScheduledTask'](),this[_0x137a1d(0x15b)][_0x137a1d(0x13d)](ue,this[_0x137a1d(0x1b1)],this[_0x137a1d(0x18b)],this['_awaitingChangeset'],[],this[_0x137a1d(0x147)]);}[_0x116ce9(0x1bf)](){return this;}[_0x116ce9(0x175)](){var _0x3dcdc4=_0x116ce9;this['_handler'][_0x3dcdc4(0x28f)](this['_awaitingChangeset']);}[_0x116ce9(0x301)](_0x1f9201){var _0x493e07=_0x116ce9;return this[_0x493e07(0x23d)](),this[_0x493e07(0x15b)][_0x493e07(0x13d)](le,this[_0x493e07(0x1b1)],this[_0x493e07(0x18b)],this['_awaitingChangeset'],[],this['_handler'],_0x1f9201);}[_0x116ce9(0x1a0)](_0x56877e,_0x4db60f){var _0x2d3ce8=_0x116ce9,_0x483564;_0x56877e===((_0x483564=this[_0x2d3ce8(0x3b0)])==null?void 0x0:_0x483564[_0x2d3ce8(0x190)])&&(this[_0x2d3ce8(0x175)](),this[_0x2d3ce8(0xf3)]=_0x4db60f===0x0?0x3e8:_0x4db60f*0x2);}[_0x116ce9(0x23d)](){var _0x51f653=_0x116ce9,_0x361efd;(_0x361efd=this[_0x51f653(0x24c)])==null||_0x361efd['unsubscribe'](),this[_0x51f653(0xf3)]=0x0;}};_e=Ee([P(0x4,_0x557787(_0x249d80)),P(0x5,_0x557787(_0x579054)),P(0x6,_0x557fb2),P(0x7,_0x1703f1),P(0x8,_0x1c5e41),P(0x9,_0x2f8cb7),P(0xa,_0x93ee66(J))],_e);let ae=class extends Ie{constructor(_0xe53225,_0x5cb6ec,_0x5edbc3,_0xae48f2,_0x3b4ffb,_0x5bcdfa,_0x3687ec,_0x31a8fb,_0x530c22,_0x519826,_0x3a0610,_0x534796,_0x182be8){var _0x1a84c8=_0x116ce9;super(_0xe53225,_0x5cb6ec,_0x5edbc3,_0xae48f2,_0x3b4ffb,_0x530c22,_0x534796,_0x31a8fb,_0x182be8),N(this,_0x1a84c8(0x102),_0x1a84c8(0xf9)),N(this,_0x1a84c8(0xf3),0x0),N(this,_0x1a84c8(0x146)),N(this,_0x1a84c8(0x24c)),(this[_0x1a84c8(0x15b)]=_0x3687ec,this[_0x1a84c8(0x156)]=_0x519826,this[_0x1a84c8(0x304)]=_0x3a0610,this[_0x1a84c8(0xd0)]=_0x182be8,_0x5bcdfa&&(this[_0x1a84c8(0x146)]=_0x5bcdfa,this['_sender']=this[_0x1a84c8(0x146)]['subscribe'](({reqId:_0x1a7241,timeout:_0x25e60d})=>{var _0x14b424=_0x1a84c8;this[_0x14b424(0x1a0)](_0x1a7241,_0x25e60d);})));}[_0x116ce9(0x2f6)](_0x519d78){var _0x3a19ae=_0x116ce9;return this[_0x3a19ae(0x2a7)][_0x3a19ae(0x39e)](_0x519d78),this;}[_0x116ce9(0x300)](_0x1b12dd){var _0x413b79=_0x116ce9;if(this[_0x413b79(0x37f)](_0x1b12dd))return this[_0x413b79(0x23d)](),this[_0x413b79(0x15b)][_0x413b79(0x13d)](Q,this[_0x413b79(0x1b1)],this['type'],this['_awaitingChangeset'],this['_pendingMutations'],null,[_0x1b12dd],this[_0x413b79(0x147)]);try{const _0x5a4bc2=this[_0x413b79(0x304)][_0x413b79(0x2c3)]([_0x1b12dd],[this[_0x413b79(0x3b0)]],!0x1);if(_0x24c9fc(_0x5a4bc2)){const {c1Prime:_0x17a135,c2Prime:_0x573c11}=_0x5a4bc2,_0x4e74ca=this[_0x413b79(0x304)][_0x413b79(0xe5)](_0x17a135[0x0],this['_pendingMutations']);if(_0x513a08(_0x4e74ca)){const {c1Prime:_0x473708,m2Prime:_0x267f9d}=_0x4e74ca;return this[_0x413b79(0xe3)](_0x473708),_0x573c11[0x0]['baseRev']=this[_0x413b79(0xda)](),this[_0x413b79(0x23d)](),this[_0x413b79(0x15b)][_0x413b79(0x13d)](ae,this[_0x413b79(0x1b1)],this[_0x413b79(0x18b)],_0x573c11[0x0],_0x267f9d,this[_0x413b79(0x147)],void 0x0);}throw _0x4e74ca[_0x413b79(0x112)];}throw _0x5a4bc2[_0x413b79(0x112)];}catch(_0x4d76a4){return this[_0x413b79(0x156)]['error'](_0x4d76a4),this[_0x413b79(0x301)](!0x1);}}['onRemoteAck'](_0xea965b){var _0x54ed40=_0x116ce9;if(this[_0x54ed40(0x23d)](),this[_0x54ed40(0x37f)](_0xea965b))return this['_injector'][_0x54ed40(0x13d)](Q,this[_0x54ed40(0x1b1)],this['type'],null,this['_pendingMutations'],this[_0x54ed40(0x3b0)],[],this['_handler']);this[_0x54ed40(0x2c1)]();const _0x40efaa=this['_injector']['createInstance'](re,this[_0x54ed40(0x1b1)],this[_0x54ed40(0x18b)],this['_pendingMutations'],this['_handler']);return _0x40efaa[_0x54ed40(0x1ec)](),_0x40efaa[_0x54ed40(0x39b)](),_0x40efaa;}[_0x116ce9(0xdf)](_0x46175c){var _0x1e78ed=_0x116ce9;return this['_onConflict'](!!(_0x46175c!=null&&_0x46175c[_0x1e78ed(0xd1)]));}[_0x116ce9(0x1ae)](_0x538710){var _0x16670d=_0x116ce9;return this[_0x16670d(0xf3)]>Ii?this[_0x16670d(0x173)]():(this['_resendTimer']=Si(this[_0x16670d(0xf3)],{'timeout':this[_0x16670d(0xf3)],'reqId':_0x538710['reqId']}),this[_0x16670d(0x24c)]=this['_resendTimer']['subscribe'](({reqId:_0x50a75a,timeout:_0x83d7e1})=>{var _0x5d29cb=_0x16670d;this[_0x5d29cb(0x1a0)](_0x50a75a,_0x83d7e1);}),this);}[_0x116ce9(0x173)](){var _0x3f3bd3=_0x116ce9;return this[_0x3f3bd3(0x23d)](),this[_0x3f3bd3(0x15b)][_0x3f3bd3(0x13d)](ue,this['unitID'],this[_0x3f3bd3(0x18b)],this['_awaitingChangeset'],this[_0x3f3bd3(0x2a7)],this[_0x3f3bd3(0x147)]);}['toggleOnline'](){return this;}['resend'](){var _0x333bc2=_0x116ce9;this[_0x333bc2(0x147)][_0x333bc2(0x28f)](this[_0x333bc2(0x3b0)]);}[_0x116ce9(0x301)](_0x4a1064){var _0x4b6959=_0x116ce9;return this['_clearScheduledTask'](),this[_0x4b6959(0x15b)]['createInstance'](le,this['unitID'],this[_0x4b6959(0x18b)],null,this[_0x4b6959(0x2a7)],this[_0x4b6959(0x147)],_0x4a1064);}[_0x116ce9(0x1a0)](_0x28546e,_0x169d51){var _0x24db49=_0x116ce9,_0x3bbced;_0x28546e===((_0x3bbced=this[_0x24db49(0x3b0)])==null?void 0x0:_0x3bbced[_0x24db49(0x190)])&&(this[_0x24db49(0x175)](),this[_0x24db49(0xf3)]=_0x169d51===0x0?0x3e8:_0x169d51*0x2);}[_0x116ce9(0x23d)](){var _0x2c9754=_0x116ce9,_0x587492;(_0x587492=this['_sender'])==null||_0x587492['unsubscribe'](),this[_0x2c9754(0xf3)]=0x0;}};ae=Ee([P(0x6,_0x557787(_0x249d80)),P(0x7,_0x557787(_0x579054)),P(0x8,_0x557fb2),P(0x9,_0x1703f1),P(0xa,_0x1c5e41),P(0xb,_0x2f8cb7),P(0xc,_0x93ee66(J))],ae);let le=class extends Ie{constructor(_0x57af7d,_0xf241e2,_0x4308a7,_0x3eac16,_0x31eab9,_0x5a647f=!0x1,_0x110e2e,_0x2601dc,_0x34c502,_0x2a5307,_0x160a4e,_0x5450ff,_0x41e0a9){var _0x55213d=_0x116ce9;super(_0x57af7d,_0xf241e2,_0x4308a7,_0x3eac16,_0x31eab9,_0x2601dc,_0x34c502,_0x2a5307,_0x41e0a9),N(this,_0x55213d(0x102),_0x55213d(0xc1)),(this[_0x55213d(0xbd)]=_0x5a647f,this[_0x55213d(0x119)]=_0x110e2e,this[_0x55213d(0x26e)]=_0x160a4e,this['_collaborationUIEventService']=_0x5450ff,this[_0x55213d(0xd0)]=_0x41e0a9,this[_0x55213d(0x352)](),this[_0x55213d(0x164)](),this['_disableEditing']());}['appendMutation'](){return this;}[_0x116ce9(0x300)](){return this;}['onRemoteAck'](){return this;}[_0x116ce9(0xdf)](){return this;}[_0x116ce9(0x1ae)](){return this;}[_0x116ce9(0x173)](){return this;}[_0x116ce9(0x1bf)](){return this;}['resend'](){var _0xcc43ec=_0x116ce9;throw new Error(_0xcc43ec(0x16f));}[_0x116ce9(0x164)](){var _0x160a87=_0x116ce9,_0x10e2b9;(_0x10e2b9=this[_0x160a87(0x1b8)])==null||_0x10e2b9[_0x160a87(0x387)](this[_0x160a87(0x1b1)],this[_0x160a87(0x18b)],null,[]);}[_0x116ce9(0x352)](){var _0x9170e4=_0x116ce9;this[_0x9170e4(0xbd)]?this[_0x9170e4(0xe9)]['emitEvent']({'id':ne[_0x9170e4(0x34a)]}):this[_0x9170e4(0xe9)][_0x9170e4(0x1df)]({'id':ne[_0x9170e4(0x1ce)]});}['_disableEditing'](){var _0x4d3504=_0x116ce9;this[_0x4d3504(0x119)][_0x4d3504(0x26b)](new _0x15e513(this['unitID'])['id'],!0x1);}};le=Ee([P(0x6,_0x557787(_0x293adf)),P(0x7,_0x557fb2),P(0x8,_0x2f8cb7),P(0x9,_0x557787(_0x579054)),P(0xa,_0x557787(_0x5a45ce)),P(0xb,_0x557787(ve)),P(0xc,_0x93ee66(J))],le);let ue=class extends Ie{constructor(_0x3b78d5,_0x4db8dd,_0x52d0ac,_0x127c12,_0x368d65,_0x3481c9,_0x5d8416,_0x42ac1e,_0x4eaf33,_0x364b40){var _0x4687ee=_0x116ce9;super(_0x3b78d5,_0x4db8dd,_0x52d0ac,_0x127c12,_0x368d65,_0x42ac1e,_0x4eaf33,_0x5d8416,_0x364b40),N(this,_0x4687ee(0x102),'offline'),this['_injector']=_0x3481c9;}[_0x116ce9(0x2f6)](_0x4cdb43){var _0x36cb7a=_0x116ce9;return this['_pendingMutations'][_0x36cb7a(0x39e)](_0x4cdb43),this[_0x36cb7a(0x39b)](),this;}[_0x116ce9(0x300)](_0x174459){var _0x2954f8=_0x116ce9;throw new Error(_0x2954f8(0x287));}[_0x116ce9(0x321)](){var _0x5e5898=_0x116ce9;throw new Error(_0x5e5898(0xb8));}['onRemoteRej'](){var _0x44a5b5=_0x116ce9;throw new Error(_0x44a5b5(0x350));}[_0x116ce9(0x1ae)](){return this;}['toggleOffline'](){return this;}[_0x116ce9(0x1bf)](){var _0x1a8511=_0x116ce9;const {_injector:_0xfee084,_pendingMutations:_0x11996e,_awaitingChangeset:_0x32f022,unitID:_0xb504c7,_handler:_0x316d96,type:_0x252a59}=this,_0x43efc8=Ti(_0xfee084,_0xb504c7,_0x252a59,_0x32f022,_0x11996e,_0x316d96);return _0x43efc8 instanceof re?_0x43efc8[_0x1a8511(0x1ec)]():(_0x43efc8 instanceof ae||_0x43efc8 instanceof _e)&&_0x43efc8[_0x1a8511(0x175)](),_0x43efc8;}[_0x116ce9(0x175)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ue=Ee([P(0x5,_0x557787(_0x249d80)),P(0x6,_0x557787(_0x579054)),P(0x7,_0x557fb2),P(0x8,_0x2f8cb7),P(0x9,_0x93ee66(J))],ue);let Q=class extends Ie{constructor(_0xe367c4,_0x44e40c,_0x5e088d,_0x559271,_0x156cbe,_0x7172f3,_0xed38c6,_0x5dab5e,_0x5e7d2e,_0x161714,_0x24cee8,_0x5c3b63,_0x4cf58f,_0x25b2f6){var _0x4834bf=_0x116ce9;super(_0xe367c4,_0x44e40c,_0x5e088d,_0x559271,_0xed38c6,_0x24cee8,_0x5c3b63,_0x5e7d2e,_0x25b2f6),N(this,_0x4834bf(0x102),'fetch_missing'),(this[_0x4834bf(0x36e)]=_0x156cbe,this[_0x4834bf(0x120)]=_0x7172f3,this['_injector']=_0x5dab5e,this[_0x4834bf(0x156)]=_0x161714,this[_0x4834bf(0x304)]=_0x4cf58f,this[_0x4834bf(0xd0)]=_0x25b2f6);}[_0x116ce9(0x1b2)](_0x23698d){var _0x235f6f=_0x116ce9;try{const _0x410c7e=[..._0x23698d,...this[_0x235f6f(0x120)]],_0x167030=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']]['filter'](_0x154bfd=>!!_0x154bfd);let _0x41753f,_0xae76eb;if(_0x167030[_0x235f6f(0x196)]){const _0x48e9de=this[_0x235f6f(0x304)][_0x235f6f(0x2c3)](_0x410c7e,_0x167030,!0x1);if(!_0x24c9fc(_0x48e9de))throw _0x48e9de[_0x235f6f(0x112)];_0x41753f=_0x48e9de[_0x235f6f(0x3c1)],_0xae76eb=_0x48e9de[_0x235f6f(0x35a)];}else _0x41753f=_0x410c7e,_0xae76eb=[];let _0x4d4813=this[_0x235f6f(0x2a7)];_0x41753f[_0x235f6f(0x12d)](_0x451460=>{var _0x82b5e2=_0x235f6f;let _0x9cf350;if(_0x4d4813['length']){const _0x5794e9=this[_0x82b5e2(0x304)][_0x82b5e2(0xe5)](_0x451460,_0x4d4813);if(!_0x513a08(_0x5794e9))throw _0x5794e9[_0x82b5e2(0x112)];_0x9cf350=_0x5794e9[_0x82b5e2(0x3c1)],_0x4d4813=_0x5794e9[_0x82b5e2(0x23e)];}else _0x9cf350=_0x451460;this['_executeRemoteChangeset'](_0x9cf350);}),this['_acknowledgedAwaitingChangeset']&&this[_0x235f6f(0x2c1)](),this[_0x235f6f(0x3b0)]&&_0xae76eb[_0x235f6f(0x196)]&&(_0xae76eb[0x0][_0x235f6f(0x105)]=this['_getCurrentRevision']());let _0x32c751;if(this[_0x235f6f(0x3b0)]&&_0x4d4813[_0x235f6f(0x196)]!==0x0)_0x32c751=this['_injector'][_0x235f6f(0x13d)](ae,this['unitID'],this[_0x235f6f(0x18b)],_0xae76eb[0x0],_0x4d4813,this[_0x235f6f(0x147)],void 0x0);else{if(this[_0x235f6f(0x3b0)]&&_0x4d4813['length']===0x0)_0xae76eb[0x0][_0x235f6f(0x105)]=this['_getCurrentRevision'](),_0x32c751=this['_injector'][_0x235f6f(0x13d)](_e,this[_0x235f6f(0x1b1)],this[_0x235f6f(0x18b)],_0xae76eb[0x0],this[_0x235f6f(0x147)]);else{if(_0x4d4813[_0x235f6f(0x196)]!==0x0){const _0x3420b3=this['_injector'][_0x235f6f(0x13d)](re,this[_0x235f6f(0x1b1)],this['type'],_0x4d4813,this[_0x235f6f(0x147)]);_0x3420b3[_0x235f6f(0x1ec)](),_0x32c751=_0x3420b3;}else _0x32c751=this[_0x235f6f(0x15b)][_0x235f6f(0x13d)](ye,this[_0x235f6f(0x1b1)],this[_0x235f6f(0x18b)],this['_handler']);}}return _0x32c751[_0x235f6f(0x39b)](),_0x32c751;}catch(_0x2937da){return this[_0x235f6f(0x156)][_0x235f6f(0x112)](_0x235f6f(0x373),'failed\x20to\x20apply\x20missed\x20changesets!',_0x2937da),this[_0x235f6f(0x15b)][_0x235f6f(0x13d)](le,this[_0x235f6f(0x1b1)],this[_0x235f6f(0x18b)],this[_0x235f6f(0x3b0)],this[_0x235f6f(0x2a7)],this[_0x235f6f(0x147)],!0x1);}}[_0x116ce9(0x175)](){var _0x2d8e25=_0x116ce9;throw new Error(_0x2d8e25(0x2aa));}[_0x116ce9(0x2f6)](_0x434a5e){var _0x5263da=_0x116ce9;return this[_0x5263da(0x2a7)][_0x5263da(0x39e)](_0x434a5e),this;}['onRemoteChangeset'](_0x120f7f){var _0x1dd1bb=_0x116ce9;return this['_queuedRemoteChangesets'][_0x1dd1bb(0x39e)](_0x120f7f),this;}['onRemoteAck'](_0x4ccbbb){var _0x1e9605=_0x116ce9;if(this[_0x1e9605(0x3b0)])return this[_0x1e9605(0x36e)]=this[_0x1e9605(0x3b0)],this[_0x1e9605(0x3b0)]=null,this;throw new Error(_0x1e9605(0x11d));}['onRemoteRej'](_0x495d29){var _0x56a936=_0x116ce9;return this[_0x56a936(0x301)](!!(_0x495d29!=null&&_0x495d29[_0x56a936(0xd1)]));}[_0x116ce9(0x1ae)](){return this;}[_0x116ce9(0x173)](){var _0x57183c=_0x116ce9;return this[_0x57183c(0x15b)][_0x57183c(0x13d)](ue,this[_0x57183c(0x1b1)],this[_0x57183c(0x18b)],this[_0x57183c(0x3b0)],this['_pendingMutations'],this[_0x57183c(0x147)]);}['toggleOnline'](){return this;}['_onConflict'](_0x4a6b4e){var _0x4c8cf7=_0x116ce9;return this[_0x4c8cf7(0x15b)][_0x4c8cf7(0x13d)](le,this[_0x4c8cf7(0x1b1)],this['type'],this['_awaitingChangeset'],this[_0x4c8cf7(0x2a7)],this[_0x4c8cf7(0x147)],_0x4a6b4e);}};Q=Ee([P(0x7,_0x557787(_0x249d80)),P(0x8,_0x557787(_0x579054)),P(0x9,_0x1703f1),P(0xa,_0x557fb2),P(0xb,_0x2f8cb7),P(0xc,_0x1c5e41),P(0xd,_0x93ee66(J))],Q);function Ti(_0x257842,_0x4bf21b,_0x1c8676,_0x2d98fc,_0x3a9255,_0x49b6e5){var _0x527e41=_0x116ce9;return _0x2d98fc&&_0x3a9255[_0x527e41(0x196)]?_0x257842['createInstance'](ae,_0x4bf21b,_0x1c8676,_0x2d98fc,_0x3a9255,_0x49b6e5,void 0x0):_0x2d98fc?_0x257842['createInstance'](_e,_0x4bf21b,_0x1c8676,_0x2d98fc,_0x49b6e5):_0x3a9255[_0x527e41(0x196)]?_0x257842[_0x527e41(0x13d)](re,_0x4bf21b,_0x1c8676,_0x3a9255,_0x49b6e5):_0x257842['createInstance'](ye,_0x4bf21b,_0x1c8676,_0x49b6e5);}var Bs=Object[_0x116ce9(0x396)],wt=(_0x3caf06,_0x34fda5,_0x16b7c0,_0x361aa2)=>{for(var _0x8bf389=_0x361aa2>0x1?void 0x0:_0x361aa2?Bs(_0x34fda5,_0x16b7c0):_0x34fda5,_0x4e4d53=_0x3caf06['length']-0x1,_0x1f2b53;_0x4e4d53>=0x0;_0x4e4d53--)(_0x1f2b53=_0x3caf06[_0x4e4d53])&&(_0x8bf389=_0x1f2b53(_0x8bf389)||_0x8bf389);return _0x8bf389;},H=(_0x409a62,_0xbc247)=>(_0x3f8c09,_0xda0f65)=>_0xbc247(_0x3f8c09,_0xda0f65,_0x409a62);let st=class extends _0x4d32e2{constructor(_0x1a8ff2,_0xc2129b,_0x2f5b99,_0x36769b,_0x2b4632,_0xbc6354,_0x8920dd,_0x18a9a5,_0x3de350,_0x92dc67,_0x25c303,_0x4a18ea,_0x416fa0){var _0x543690=_0x116ce9;super(),N(this,_0x543690(0xde),new _0x3dc6f5(null)),N(this,_0x543690(0x202),this[_0x543690(0xde)][_0x543690(0x18e)]()),N(this,'_state'),N(this,_0x543690(0x14b),!0x1),N(this,_0x543690(0x365),''),N(this,'_changesetReqId',0x0),N(this,_0x543690(0x273),this[_0x543690(0x202)][_0x543690(0x266)](_0x4113dc(_0x280f1d=>_0x280f1d?_0x280f1d[_0x543690(0x102)]:Ei[_0x543690(0x26d)]),_0x2ac48c(0x1))),N(this,_0x543690(0x19f),!0x1),N(this,_0x543690(0x1e9),[]),(this[_0x543690(0x1b1)]=_0x1a8ff2,this['session']=_0xc2129b,this[_0x543690(0x310)]=_0x2f5b99,this[_0x543690(0x15b)]=_0x36769b,this[_0x543690(0x148)]=_0x2b4632,this[_0x543690(0x26e)]=_0xbc6354,this[_0x543690(0x239)]=_0x8920dd,this[_0x543690(0x360)]=_0x18a9a5,this[_0x543690(0x156)]=_0x3de350,this[_0x543690(0x36c)]=_0x92dc67,this[_0x543690(0x119)]=_0x25c303,this['_singleActiveUnitService']=_0x4a18ea,this[_0x543690(0x1b8)]=_0x416fa0);}get[_0x116ce9(0x2f9)](){var _0x1bb841=_0x116ce9;return this[_0x1bb841(0x157)];}async['init'](){var _0x152746=_0x116ce9;if(this[_0x152746(0x2f9)])throw new Error(_0x152746(0x134));await this['_init']();}[_0x116ce9(0x257)](){var _0x512094=_0x116ce9;return this[_0x512094(0x14b)]=!0x0,_0x47e850(()=>{var _0x682f7c=_0x512094;this[_0x682f7c(0x14b)]=!0x1,this[_0x682f7c(0x1a3)]();});}[_0x116ce9(0x344)](_0x3a37bf){var _0x29abd7=_0x116ce9;this[_0x29abd7(0x2ab)](_0x3a37bf);}[_0x116ce9(0x181)](_0x45035c){var _0x325f6a=_0x116ce9;this[_0x325f6a(0x157)]=_0x45035c,this[_0x325f6a(0xde)][_0x325f6a(0x371)](_0x45035c);}async['_init'](){var _0x5d2e41=_0x116ce9,_0x1c3bad;this[_0x5d2e41(0x181)](await this[_0x5d2e41(0x17c)]()),this['_singleActiveUnitService']&&((_0x1c3bad=this[_0x5d2e41(0x2c0)])==null||_0x1c3bad[_0x5d2e41(0x129)](this[_0x5d2e41(0x1b1)]),this['disposeWithMe'](this['_singleActiveUnitService'][_0x5d2e41(0x335)](this[_0x5d2e41(0x1b1)])['subscribe'](_0x1fe3d8=>{var _0x50360d=_0x5d2e41;this[_0x50360d(0x156)][_0x50360d(0x347)](_0x50360d(0xdd),_0x50360d(0x38b),_0x1fe3d8),_0x1fe3d8===gi[_0x50360d(0x2d5)]?(this[_0x50360d(0x360)][_0x50360d(0x1df)]({'id':ne[_0x50360d(0x1eb)]}),this[_0x50360d(0x119)]['updatePermissionPoint'](new _0x15e513(this[_0x50360d(0x1b1)])['id'],!0x1),this[_0x50360d(0x119)][_0x50360d(0x29b)](!0x1)):(this[_0x50360d(0x119)][_0x50360d(0x26b)](new _0x15e513(this[_0x50360d(0x1b1)])['id'],!0x0),this[_0x50360d(0x119)]['setShowComponents'](!0x0));})));let _0x35cae5=!0x1;return this[_0x5d2e41(0xf0)](this[_0x5d2e41(0x101)][_0x5d2e41(0x253)]['subscribe'](_0x3cf30e=>{var _0x470750=_0x5d2e41;_0x3cf30e===ge[_0x470750(0x35f)]?this[_0x470750(0x3c2)](_0x35cae5):_0x3cf30e===ge[_0x470750(0x26d)]&&(_0x35cae5=!0x0,this['_toggleOffline']());})),this[_0x5d2e41(0xf0)](this['session']['event$'][_0x5d2e41(0x2f2)](_0x41614e=>{var _0x4b2293=_0x5d2e41;try{switch(_0x41614e['eventID']){case _0x353970[_0x4b2293(0x1fd)]:{this[_0x4b2293(0x20a)](_0x33ce32(_0x41614e[_0x4b2293(0x249)]));break;}case _0x353970[_0x4b2293(0x333)]:{this['_onRemoteACK'](_0x41614e['data']);break;}case _0x353970[_0x4b2293(0x2b7)]:{this[_0x4b2293(0x1f9)]();break;}case _0x353970[_0x4b2293(0x139)]:{this[_0x4b2293(0x274)](_0x41614e['data']);break;}case _0x353970['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x4b2293(0x3b4)](_0x41614e[_0x4b2293(0x249)][_0x4b2293(0x31f)][_0x4b2293(0x27b)](_0x49bdac=>_0x33ce32(_0x49bdac)));break;}case _0x353970['PERMISSION_REJ']:{this[_0x4b2293(0x1f9)]({'isPermissionRej':!0x0});break;}case _0x353970[_0x4b2293(0x12c)]:break;}}catch(_0x4e350b){throw console['error'](_0x4b2293(0x37c),_0x4e350b),_0x4e350b;}})),this[_0x5d2e41(0x157)];}['_unlockTransition'](){this['_transitionLocked']=!0x1;}[_0x116ce9(0xfd)](){var _0x5759d5=_0x116ce9;if(this[_0x5759d5(0x19f)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x5759d5(0x19f)]=!0x0;}[_0x116ce9(0x2ab)](_0x13ccd5){var _0x44e058=_0x116ce9;this[_0x44e058(0xfd)](),this[_0x44e058(0x181)](this['_state'][_0x44e058(0x2f6)](_0x13ccd5)),this['_unlockTransition']();}[_0x116ce9(0x20a)](_0x53b45b){var _0x18ffd3=_0x116ce9;if(!(_0x53b45b[_0x18ffd3(0x1f5)]<=this[_0x18ffd3(0x239)][_0x18ffd3(0x23a)](this[_0x18ffd3(0x1b1)]))){if(this['_collaborationPaused']){this['_remoteChangesetQueue'][_0x18ffd3(0x39e)](_0x53b45b);return;}this[_0x18ffd3(0x22f)](_0x53b45b);}}[_0x116ce9(0x1a3)](){var _0x20f12f=_0x116ce9;this['_remoteChangesetQueue'][_0x20f12f(0x12d)](_0x19eb4f=>this['_applyRemoteChangeset'](_0x19eb4f)),this['_remoteChangesetQueue']=[];}[_0x116ce9(0x22f)](_0x11b9b9){var _0x35409d=_0x116ce9;const _0xadc53=this[_0x35409d(0x148)]['interceptor']['fetchThroughInterceptors'](this['_compressMutationService']['interceptor']['getInterceptPoints']()[_0x35409d(0x27a)])(_0x11b9b9[_0x35409d(0x392)],null)||_0x11b9b9['mutations'],_0x2bf68d={..._0x11b9b9,'mutations':_0xadc53};this[_0x35409d(0xfd)](),this[_0x35409d(0x181)](this['_state'][_0x35409d(0x300)](_0x2bf68d)),this[_0x35409d(0x2c8)]();}['_onRemoteACK'](_0x319a36){var _0x363db2=_0x116ce9;this[_0x363db2(0xfd)](),this[_0x363db2(0x181)](this[_0x363db2(0x157)]['onRemoteAck'](_0x319a36)),this[_0x363db2(0x2c8)]();}['_onRemoteRejected'](_0x1266f1){var _0x28db9e=_0x116ce9;this[_0x28db9e(0xfd)](),this[_0x28db9e(0x181)](this[_0x28db9e(0x157)]['onRemoteRej'](_0x1266f1)),this[_0x28db9e(0x2c8)]();}[_0x116ce9(0x274)](_0x249ad5){var _0x32decf=_0x116ce9;this[_0x32decf(0xfd)](),this[_0x32decf(0x181)](this['_state']['onRemoteRetry'](_0x249ad5)),this[_0x32decf(0x2c8)]();}[_0x116ce9(0x3b4)](_0x3c552a){var _0xf74525=_0x116ce9;if(!(this[_0xf74525(0x157)]instanceof Q))throw new TypeError(_0xf74525(0x361));const _0x12639e=_0x3c552a[_0xf74525(0x27b)](_0x412ca0=>{var _0xb122e0=_0xf74525;const _0x774c63=this[_0xb122e0(0x148)][_0xb122e0(0x382)][_0xb122e0(0x39d)](this[_0xb122e0(0x148)][_0xb122e0(0x382)][_0xb122e0(0x3aa)]()[_0xb122e0(0x27a)])(_0x412ca0['mutations'],null)||_0x412ca0[_0xb122e0(0x392)];return{..._0x412ca0,'mutations':_0x774c63};});this['_lockTransition'](),this[_0xf74525(0x181)](this[_0xf74525(0x157)][_0xf74525(0x1b2)](_0x12639e)),this[_0xf74525(0x2c8)]();}['_toggleOffline'](){var _0x4e9688=_0x116ce9;this[_0x4e9688(0xfd)](),this[_0x4e9688(0x181)](this[_0x4e9688(0x157)][_0x4e9688(0x173)]()),this[_0x4e9688(0x2c8)]();}[_0x116ce9(0x3c2)](_0x1dbab4=!0x1){var _0x37b89b=_0x116ce9;this[_0x37b89b(0xfd)](),this['_updateState'](this[_0x37b89b(0x157)][_0x37b89b(0x1bf)]()),this[_0x37b89b(0x2c8)]();const _0x4ccdbd=this['_state'];_0x1dbab4&&_0x4ccdbd instanceof ye&&(this[_0x37b89b(0xfd)](),this[_0x37b89b(0x181)](_0x4ccdbd[_0x37b89b(0x19c)]()),this[_0x37b89b(0x2c8)]());}async[_0x116ce9(0x17c)](){return new Promise(_0x26e322=>{var _0x4983e1=_0x2a22;this[_0x4983e1(0x101)][_0x4983e1(0x253)]['pipe'](_0x1dc36d(0x1))['subscribe'](async _0x44b10d=>{var _0x3f2539=_0x4983e1;_0x26e322(await this[_0x3f2539(0xfe)](_0x44b10d===ge[_0x3f2539(0x35f)]));});});}[_0x116ce9(0x384)](){var _0x24a40e=_0x116ce9;const _0x1bea6b=this[_0x24a40e(0x1b1)];return{'onStateChange':(_0x193606,_0x235f24)=>{var _0x22bd16=_0x24a40e;if(_0x193606!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x193606[_0x22bd16(0x102)]+_0x22bd16(0x12f)+_0x235f24['status']+_0x22bd16(0x21c)+this['_state']['status']);this[_0x22bd16(0x181)](_0x235f24);},'onSendChangeset':_0x2646e4=>{var _0x5dc268=_0x24a40e;_0x2646e4[_0x5dc268(0x20e)]||(_0x2646e4[_0x5dc268(0x20e)]=this[_0x5dc268(0x365)],_0x2646e4['reqId']=++this[_0x5dc268(0x29c)]);const _0x5e121d={'eventID':_0x353970['SUBMIT_CHANGESET'],'data':{'unitID':_0x2646e4['unitID'],'unitType':this['_type'],'changeset':_0x2646e4,'memberID':this['session']['getMemberID']()}};this['session']['send'](_0x5e121d,this[_0x5dc268(0x1b1)]);},'onMissingChangesets':({from:_0x1025ed,to:_0x21621f})=>{var _0x881cf6=_0x24a40e;this[_0x881cf6(0x156)][_0x881cf6(0x347)](_0x881cf6(0xdd),'fetching\x20missing\x20changesets\x20from\x20'+_0x1025ed+_0x881cf6(0xbb)+_0x21621f);const _0x83a0c8={'eventID':_0x353970[_0x881cf6(0x324)],'data':{'unitID':_0x1bea6b,'unitType':this['_type'],'from':_0x1025ed,'to':_0x21621f}};this['session'][_0x881cf6(0x32b)](_0x83a0c8,this['unitID']);}};}async[_0x116ce9(0xfe)](_0x29079e){var _0x252ba8=_0x116ce9,_0x23929a,_0x49857d,_0x478be3;const _0xefec20=await((_0x23929a=this[_0x252ba8(0x1b8)])==null?void 0x0:_0x23929a[_0x252ba8(0x354)](this[_0x252ba8(0x1b1)])),_0x5cfc6a=(_0x49857d=_0xefec20==null?void 0x0:_0xefec20[_0x252ba8(0x392)])!=null?_0x49857d:[],_0x2d0564=(_0x478be3=_0xefec20==null?void 0x0:_0xefec20['awaitingChangeset'])!=null?_0x478be3:null,_0xe66e37=!!(_0x2d0564!=null&&_0x2d0564[_0x252ba8(0x20e)])&&!!(_0x2d0564!=null&&_0x2d0564[_0x252ba8(0x190)]);this[_0x252ba8(0x365)]=_0xe66e37?_0x2d0564['sid']:_0x433bfd(),this[_0x252ba8(0x29c)]=_0xe66e37?_0x2d0564[_0x252ba8(0x190)]:0x0;const _0x34a883=this[_0x252ba8(0x1b1)];try{this[_0x252ba8(0x2fd)](_0x2d0564,_0x5cfc6a);}catch(_0x883ae6){this['_logService'][_0x252ba8(0x112)](_0x883ae6);}const _0x42feb1=this[_0x252ba8(0x384)]();if(_0x29079e){const _0x43b64b=Ti(this[_0x252ba8(0x15b)],_0x34a883,this[_0x252ba8(0x310)],_0x2d0564,_0x5cfc6a,_0x42feb1);return _0x43b64b instanceof re?_0x43b64b['_schedule']():(_0x43b64b instanceof ae||_0x43b64b instanceof _e)&&_0x43b64b['resend'](),_0x43b64b;}return this[_0x252ba8(0x15b)]['createInstance'](ue,_0x34a883,this[_0x252ba8(0x310)],_0x2d0564,_0x5cfc6a,_0x42feb1);}[_0x116ce9(0x2fd)](_0x2764c3,_0x39116f){var _0x474c5e=_0x116ce9,_0x1e88f0,_0x2bcf82;const _0xd5ddb6=this[_0x474c5e(0x148)][_0x474c5e(0x382)][_0x474c5e(0x39d)](this[_0x474c5e(0x148)][_0x474c5e(0x382)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x1e88f0=_0xd5ddb6((_0x2764c3==null?void 0x0:_0x2764c3[_0x474c5e(0x392)])||[],null))==null||_0x1e88f0['forEach'](_0xb96bb2=>this[_0x474c5e(0x36c)][_0x474c5e(0x2cf)](_0xb96bb2['id'],_0xb96bb2[_0x474c5e(0x3a5)])),(_0x2bcf82=_0xd5ddb6(_0x39116f||[],null))==null||_0x2bcf82[_0x474c5e(0x12d)](_0x17c605=>this[_0x474c5e(0x36c)]['executeCommand'](_0x17c605['id'],_0x17c605[_0x474c5e(0x3a5)]));}};st=wt([H(0x3,_0x557787(_0x249d80)),H(0x4,_0x557787(_0x18e7ae)),H(0x5,_0x557787(_0x5a45ce)),H(0x6,_0x557787(_0x579054)),H(0x7,_0x557787(ve)),H(0x8,_0x1703f1),H(0x9,_0x557fb2),H(0xa,_0x293adf),H(0xb,_0x93ee66(ht)),H(0xc,_0x93ee66(J))],st);let St=class extends st{constructor(_0x45b6e6,_0x4d4974,_0x365c90,_0x1dfa3f,_0x52b8f8,_0x40c049,_0x24fff4,_0x92d431,_0x5cb40e,_0x287174,_0x1ad48b,_0xb502fb,_0xf6f14c){var _0x43fd67=_0x116ce9;super(_0x45b6e6,_0x365c90,_0x4d4974,_0x1dfa3f,_0x52b8f8,_0x40c049,_0x24fff4,_0x92d431,_0x5cb40e,_0x287174,_0x1ad48b,_0xb502fb,_0xf6f14c),N(this,'_handlerCallback',null),(this[_0x43fd67(0x1b1)]=_0x45b6e6,this[_0x43fd67(0x18b)]=_0x4d4974);}[_0x116ce9(0x3a4)](_0x57648c){var _0x547131=_0x116ce9;this[_0x547131(0x248)]=_0x57648c;}[_0x116ce9(0xd2)](){var _0x494469=_0x116ce9;this[_0x494469(0x248)]=null,super[_0x494469(0xd2)]();}[_0x116ce9(0x384)](){var _0x25582b=_0x116ce9;const _0x3f7837=super[_0x25582b(0x384)]();return _0x3f7837[_0x25582b(0x212)]=_0x2c0205=>{var _0x3a8407=_0x25582b,_0x3516f1,_0x59b006;return(_0x59b006=(_0x3516f1=this[_0x3a8407(0x248)])==null?void 0x0:_0x3516f1[_0x3a8407(0x212)])==null?void 0x0:_0x59b006[_0x3a8407(0x28b)](_0x3516f1,_0x2c0205);},_0x3f7837[_0x25582b(0xd5)]=_0x1ace25=>{var _0x2f5c1d=_0x25582b,_0x918c6,_0x508aaf;return(_0x508aaf=(_0x918c6=this[_0x2f5c1d(0x248)])==null?void 0x0:_0x918c6['onTransformState'])==null?void 0x0:_0x508aaf[_0x2f5c1d(0x28b)](_0x918c6,_0x1ace25);},_0x3f7837['onTransformSelections']=_0xd4c1c8=>{var _0x34fd3c=_0x25582b,_0x396974,_0x149679;return(_0x149679=(_0x396974=this['_handlerCallback'])==null?void 0x0:_0x396974[_0x34fd3c(0x39c)])==null?void 0x0:_0x149679[_0x34fd3c(0x28b)](_0x396974,_0xd4c1c8);},_0x3f7837['onSyncEditingCollabCursor']=_0x26d62a=>{var _0xadec5d=_0x25582b,_0x5ac543,_0x3eaab2;return(_0x3eaab2=(_0x5ac543=this[_0xadec5d(0x248)])==null?void 0x0:_0x5ac543[_0xadec5d(0x2e4)])==null?void 0x0:_0x3eaab2[_0xadec5d(0x28b)](_0x5ac543,_0x26d62a);},_0x3f7837[_0x25582b(0x3ac)]=_0x1d0e8a=>{var _0x4f9944=_0x25582b,_0x62026,_0x5b5aa4,_0x3180ae;if(!((_0x62026=this[_0x4f9944(0x248)])!=null&&_0x62026[_0x4f9944(0x3ac)]))throw new Error(_0x4f9944(0x1da));return(_0x3180ae=(_0x5b5aa4=this[_0x4f9944(0x248)])==null?void 0x0:_0x5b5aa4[_0x4f9944(0x3ac)])==null?void 0x0:_0x3180ae[_0x4f9944(0x28b)](_0x5b5aa4,_0x1d0e8a);},_0x3f7837['onTransformRemoteChangesetByStateCache']=_0x2abcea=>{var _0x455eea=_0x25582b,_0x55df88,_0x3211fd,_0x54f617;if(!((_0x55df88=this['_handlerCallback'])!=null&&_0x55df88[_0x455eea(0xc6)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x54f617=(_0x3211fd=this[_0x455eea(0x248)])==null?void 0x0:_0x3211fd[_0x455eea(0xc6)])==null?void 0x0:_0x54f617[_0x455eea(0x28b)](_0x3211fd,_0x2abcea);},_0x3f7837;}async[_0x116ce9(0x30c)](){var _0x1ef43a=_0x116ce9;const _0xddba6f=await super['_init']();return this[_0x1ef43a(0xf0)](this[_0x1ef43a(0x36c)][_0x1ef43a(0x33e)]((_0x200ac7,_0x23ac79)=>{var _0x3b4010=_0x1ef43a;if(_0x200ac7[_0x3b4010(0x18b)]!==_0x334635[_0x3b4010(0x216)]||_0x23ac79!=null&&_0x23ac79['fromCollab']||_0x23ac79!=null&&_0x23ac79[_0x3b4010(0xbe)]||_0x200ac7['id']===_0x49a809['id'])return;const _0x289851=_0x200ac7[_0x3b4010(0x3a5)];if((_0x289851==null?void 0x0:_0x289851['unitId'])!==this[_0x3b4010(0x1b1)])return;const _0x20371d=_0x200ac7,_0x53c020=this[_0x3b4010(0x148)][_0x3b4010(0x382)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x3b4010(0x382)][_0x3b4010(0x3aa)]()[_0x3b4010(0xdb)])([_0x20371d],null)||[_0x20371d];this[_0x3b4010(0x2ab)](_0x53c020[0x0]);})),_0xddba6f;}};St=wt([H(0x3,_0x557787(_0x249d80)),H(0x4,_0x557787(_0x18e7ae)),H(0x5,_0x557787(_0x5a45ce)),H(0x6,_0x557787(_0x579054)),H(0x7,_0x557787(ve)),H(0x8,_0x1703f1),H(0x9,_0x557fb2),H(0xa,_0x293adf),H(0xb,_0x93ee66(ht)),H(0xc,_0x93ee66(J))],St);let Et=class extends st{constructor(_0x4c0b6d,_0x409106,_0x26f0c1,_0x12741f,_0x123c11,_0x40a431,_0x15f3da,_0x1c9d84,_0x269370,_0x540e39,_0x27ae2a,_0x54f5ad,_0x2d5d2b,_0x1d7c69){var _0x3af97a=_0x116ce9;super(_0x4c0b6d,_0x26f0c1,_0x409106,_0x12741f,_0x123c11,_0x40a431,_0x15f3da,_0x269370,_0x540e39,_0x27ae2a,_0x54f5ad,_0x2d5d2b,_0x1d7c69),this['unitID']=_0x4c0b6d,this[_0x3af97a(0x18b)]=_0x409106,this['_sheetTransformSelectionsService']=_0x1c9d84;}[_0x116ce9(0x384)](){var _0x33ef32=_0x116ce9;const _0x1d348d=super['_createHandler']();return _0x1d348d[_0x33ef32(0x39c)]=_0x4da089=>this[_0x33ef32(0x2b3)][_0x33ef32(0x2df)](_0x4da089),_0x1d348d;}async[_0x116ce9(0x30c)](){var _0x1a2dcb=_0x116ce9;const _0x329e32=await super[_0x1a2dcb(0x30c)]();return this['disposeWithMe'](this[_0x1a2dcb(0x36c)]['onCommandExecuted']((_0x463e4c,_0x17c1a5)=>{var _0x599358=_0x1a2dcb;if(_0x463e4c[_0x599358(0x18b)]!==_0x334635[_0x599358(0x216)]||_0x17c1a5!=null&&_0x17c1a5[_0x599358(0x346)]||_0x17c1a5!=null&&_0x17c1a5[_0x599358(0xbe)])return;const _0x294d25=_0x463e4c['params'];if((_0x294d25==null?void 0x0:_0x294d25['unitId'])!==this[_0x599358(0x1b1)])return;const _0x2fd10a=_0x463e4c,_0x4b214=this[_0x599358(0x148)][_0x599358(0x382)][_0x599358(0x39d)](this['_compressMutationService']['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x2fd10a],null)||[_0x2fd10a];this[_0x599358(0x2ab)](_0x4b214[0x0]);})),_0x329e32;}};Et=wt([H(0x3,_0x557787(_0x249d80)),H(0x4,_0x557787(_0x18e7ae)),H(0x5,_0x557787(_0x5a45ce)),H(0x6,_0x557787(_0x579054)),H(0x7,_0x557787(it)),H(0x8,_0x557787(ve)),H(0x9,_0x1703f1),H(0xa,_0x557fb2),H(0xb,_0x293adf),H(0xc,_0x93ee66(ht)),H(0xd,_0x93ee66(J))],Et);const js=_0x414cea(_0x116ce9(0x1c8));function Fs(_0x4aa2d7){var _0x293ec4=_0x116ce9,_0x2c6c9f,_0x5ecfca,_0x3acbdd,_0x48c5e4,_0x305bf5;const _0xf16cae=_0x4aa2d7[_0x293ec4(0x249)],_0x2a2fc8=JSON[_0x293ec4(0x1c6)](_0xf16cae);switch(_0x2a2fc8[_0x293ec4(0x14d)]){case F[_0x293ec4(0x28e)]:case F[_0x293ec4(0x251)]:{const _0x202a22=_0x2a2fc8[_0x293ec4(0x258)];return{..._0x2a2fc8,'data':_0x202a22,'cmd':_0x2a2fc8[_0x293ec4(0x14d)]};}case F['JOIN']:{const _0x4f5be5=_0x2a2fc8[_0x293ec4(0x35b)];return{..._0x2a2fc8,'data':_0x4f5be5,'cmd':_0x2a2fc8['cmd']};}case F[_0x293ec4(0xd7)]:{const _0x25fa20=_0x2a2fc8['collaMsg'];switch(_0x25fa20['eventID']){case _0x353970[_0x293ec4(0x39f)]:return{..._0x2a2fc8,'data':{..._0x25fa20,'data':(_0x2c6c9f=_0x25fa20['permissionRejEvent'])==null?void 0x0:_0x2c6c9f['cs']},'cmd':_0x2a2fc8[_0x293ec4(0x14d)]};case _0x353970['CHANGESET_ACK']:return{..._0x2a2fc8,'data':{..._0x25fa20,'data':(_0x5ecfca=_0x25fa20[_0x293ec4(0x3a1)])==null?void 0x0:_0x5ecfca['cs']},'cmd':_0x2a2fc8[_0x293ec4(0x14d)]};case _0x353970[_0x293ec4(0x1fd)]:return{..._0x2a2fc8,'data':{..._0x25fa20,'data':(_0x3acbdd=_0x25fa20[_0x293ec4(0x32a)])==null?void 0x0:_0x3acbdd['cs']},'cmd':_0x2a2fc8[_0x293ec4(0x14d)]};case _0x353970['CHANGESET_REJ']:return{..._0x2a2fc8,'data':{..._0x25fa20,'data':(_0x48c5e4=_0x25fa20[_0x293ec4(0xb6)])==null?void 0x0:_0x48c5e4['cs']},'cmd':_0x2a2fc8[_0x293ec4(0x14d)]};case _0x353970[_0x293ec4(0x139)]:return{..._0x2a2fc8,'data':{..._0x25fa20,'data':(_0x305bf5=_0x25fa20[_0x293ec4(0x1cc)])==null?void 0x0:_0x305bf5['cs']},'cmd':_0x2a2fc8[_0x293ec4(0x14d)]};case _0x353970[_0x293ec4(0x1e4)]:return{..._0x2a2fc8,'data':{..._0x25fa20,'data':_0x25fa20['updateCursorEvent']},'cmd':_0x2a2fc8[_0x293ec4(0x14d)]};case _0x353970[_0x293ec4(0x18f)]:return{..._0x2a2fc8,'data':{..._0x25fa20,'data':_0x25fa20[_0x293ec4(0x116)]},'cmd':_0x2a2fc8[_0x293ec4(0x14d)]};case _0x353970['USERS_LEAVE']:return{..._0x2a2fc8,'data':{..._0x25fa20,'data':_0x25fa20[_0x293ec4(0x1c0)]},'cmd':_0x2a2fc8[_0x293ec4(0x14d)]};case _0x353970[_0x293ec4(0x25c)]:return{..._0x2a2fc8,'data':{..._0x25fa20,'data':_0x25fa20[_0x293ec4(0x3ad)]},'cmd':_0x2a2fc8[_0x293ec4(0x14d)]};case _0x353970[_0x293ec4(0x280)]:case _0x353970['LIVESHARE_OPERATION']:return{..._0x2a2fc8,'data':{..._0x25fa20,'data':_0x25fa20[_0x293ec4(0x1a7)]},'cmd':_0x2a2fc8[_0x293ec4(0x14d)]};case _0x353970[_0x293ec4(0x32d)]:return{..._0x2a2fc8,'data':{..._0x25fa20,'data':_0x25fa20[_0x293ec4(0x3ad)]},'cmd':_0x2a2fc8['cmd']};case _0x353970[_0x293ec4(0x13b)]:return{..._0x2a2fc8,'data':_0x25fa20,'cmd':_0x2a2fc8[_0x293ec4(0x14d)]};case _0x353970[_0x293ec4(0x208)]:return{..._0x2a2fc8,'data':{..._0x25fa20,'data':_0x25fa20['commentUpdateEvent']},'cmd':_0x2a2fc8['cmd']};case _0x353970[_0x293ec4(0x27d)]:return{..._0x2a2fc8,'data':{..._0x25fa20,'data':_0x25fa20[_0x293ec4(0x376)]},'cmd':_0x2a2fc8[_0x293ec4(0x14d)]};case _0x353970['SHOULD_CLOSE_CONN']:return{..._0x2a2fc8,'data':{..._0x25fa20,'data':_0x25fa20['shouldCloseConn']},'cmd':_0x2a2fc8['cmd']};case _0x353970['UNISCRIPT_RUN']:return{..._0x2a2fc8,'data':{..._0x25fa20,'data':_0x25fa20[_0x293ec4(0x178)]},'cmd':_0x2a2fc8['cmd']};default:return _0x2a2fc8;}}default:return _0x2a2fc8;}}function Vs(_0x123398){var _0x550515=_0x116ce9;switch(_0x123398[_0x550515(0x14d)]){case F['HEARTBEAT']:case F['HELLO']:return JSON[_0x550515(0xf4)]({'cmd':_0x123398[_0x550515(0x14d)],'routeKey':_0x123398[_0x550515(0x2ff)]});case F[_0x550515(0x316)]:{let _0x169d8a;switch(_0x123398[_0x550515(0x249)]['eventID']){case _0x353970[_0x550515(0x1e4)]:{_0x169d8a={'eventID':_0x353970[_0x550515(0x1e4)],'updateCursorEvent':_0x123398[_0x550515(0x249)][_0x550515(0x249)]};break;}case _0x353970['USERS_LEAVE']:{_0x169d8a={'eventID':_0x353970[_0x550515(0x1d1)],'leaveEvent':_0x123398['data'][_0x550515(0x249)]};break;}case _0x353970['USERS_ENTER']:{_0x169d8a={'eventID':_0x353970[_0x550515(0x18f)],'joinEvent':_0x123398[_0x550515(0x249)][_0x550515(0x249)]};break;}case _0x353970[_0x550515(0x25c)]:{_0x169d8a={'eventID':_0x353970['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x123398['data'][_0x550515(0x249)]};break;}case _0x353970[_0x550515(0x13c)]:{_0x169d8a={'eventID':_0x353970['LIVESHARE_OPERATION'],'liveShareOperation':_0x123398['data'][_0x550515(0x249)]};break;}case _0x353970[_0x550515(0x32d)]:{_0x169d8a={'eventID':_0x353970[_0x550515(0x32d)],'liveShareTerminate':_0x123398[_0x550515(0x249)]['data']};break;}case _0x353970[_0x550515(0xf7)]:{_0x169d8a={'eventID':_0x353970[_0x550515(0xf7)],'liveShareRequestHost':_0x123398[_0x550515(0x249)]['data']};break;}case _0x353970[_0x550515(0x280)]:{_0x169d8a={'eventID':_0x353970[_0x550515(0x280)]};break;}default:_0x169d8a={'eventID':_0x123398['data'][_0x550515(0x171)]};}return JSON[_0x550515(0xf4)]({'cmd':_0x123398[_0x550515(0x14d)],'routeKey':_0x123398['routeKey'],'collaMsg':_0x169d8a});}case F[_0x550515(0x106)]:return JSON[_0x550515(0xf4)]({'cmd':_0x123398[_0x550515(0x14d)],'routeKey':_0x123398[_0x550515(0x2ff)],'joinReq':_0x123398[_0x550515(0x249)]});case F[_0x550515(0x27f)]:return JSON['stringify']({'cmd':_0x123398['cmd'],'routeKey':_0x123398[_0x550515(0x2ff)],'leaveReq':_0x123398[_0x550515(0x249)]});default:throw new Error(_0x550515(0x268));}}var Ws=Object[_0x116ce9(0x396)],Gs=(_0x3a93f0,_0x36083b,_0x870cb,_0x7e7a18)=>{for(var _0x421381=_0x7e7a18>0x1?void 0x0:_0x7e7a18?Ws(_0x36083b,_0x870cb):_0x36083b,_0x54be0b=_0x3a93f0['length']-0x1,_0x23f309;_0x54be0b>=0x0;_0x54be0b--)(_0x23f309=_0x3a93f0[_0x54be0b])&&(_0x421381=_0x23f309(_0x421381)||_0x421381);return _0x421381;},De=(_0x4f0df6,_0xd057a0)=>(_0x508007,_0xfebfe0)=>_0xd057a0(_0x508007,_0xfebfe0,_0x4f0df6);const Ci=_0x414cea(_0x116ce9(0x13f));function Ys(_0x1bc2a7,_0x5c3a9f,_0x5b9fbc){var _0x4ab416=_0x116ce9;return _0x1bc2a7+'/'+_0x5c3a9f+_0x4ab416(0x345)+_0x5b9fbc+_0x4ab416(0x2ba);}let Gt=class extends _0x122c44{constructor(_0x454cc3,_0xc96fe6,_0x2e56c2,_0x27b4a0,_0x35eba0){var _0x8e73e=_0x116ce9;super(),this[_0x8e73e(0x15b)]=_0x454cc3,this[_0x8e73e(0x276)]=_0xc96fe6,this[_0x8e73e(0x206)]=_0x2e56c2,this[_0x8e73e(0x156)]=_0x27b4a0,this['_snapshotServerService']=_0x35eba0;}[_0x116ce9(0x339)](_0x120f54){var _0x3537fd=_0x116ce9;const _0x5d2410=this['_injector']['get'](_0x39c28c);if(!_0x5d2410)throw new Error(_0x3537fd(0x370));const _0x512f6f=_0x5d2410[_0x3537fd(0x2d9)](_0x120f54);if(!_0x512f6f)throw new Error(_0x3537fd(0x288));const _0x2b8bc5=new _0x43ee92(),_0x26b4ad=new _0x19b0a1();_0x2b8bc5[_0x3537fd(0xca)](_0x512f6f[_0x3537fd(0x337)][_0x3537fd(0x2f2)](_0x4426c2=>_0x26b4ad[_0x3537fd(0x371)](_0x4426c2))),_0x2b8bc5[_0x3537fd(0xca)](_0x47e850(()=>_0x26b4ad[_0x3537fd(0x26c)]()));const _0x25ea22=new _0x19b0a1();_0x2b8bc5[_0x3537fd(0xca)](_0x512f6f[_0x3537fd(0x34b)][_0x3537fd(0x2f2)](_0xf0ebe0=>_0x25ea22[_0x3537fd(0x371)](_0xf0ebe0))),_0x2b8bc5[_0x3537fd(0xca)](_0x47e850(()=>_0x25ea22[_0x3537fd(0x26c)]()));const _0xe616b1=new _0x19b0a1();_0x2b8bc5[_0x3537fd(0xca)](_0x512f6f[_0x3537fd(0x21b)][_0x3537fd(0x2f2)](_0x51e2dc=>{var _0x5ede14=_0x3537fd;const _0x1a7a0b=Fs(_0x51e2dc);_0xe616b1[_0x5ede14(0x371)](_0x1a7a0b);})),_0x2b8bc5[_0x3537fd(0xca)](_0x47e850(()=>_0xe616b1['complete']()));let _0x399410;const _0x44fef3=()=>{var _0x58b57e=_0x3537fd;_0x25ea22[_0x58b57e(0x371)](new Event(_0x58b57e(0x10a))),_0x26b4ad[_0x58b57e(0x371)](new Event(_0x58b57e(0x10a))),_0x399410[_0x58b57e(0x298)]();};return _0x399410={'memberID':'','close$':_0x26b4ad['asObservable'](),'error$':_0x25ea22[_0x3537fd(0x18e)](),'open$':_0x512f6f[_0x3537fd(0x140)],'message$':_0xe616b1[_0x3537fd(0x18e)](),'send':_0x273866=>{var _0x592a21=_0x3537fd;if(_0x273866[_0x592a21(0x14d)]===F[_0x592a21(0x316)]){if(_0x273866[_0x592a21(0x249)][_0x592a21(0x171)]===_0x353970['SUBMIT_CHANGESET']){this[_0x592a21(0x34c)](_0x399410,_0x273866[_0x592a21(0x249)])[_0x592a21(0x1ba)](_0x22c00c=>{var _0x469bb0=_0x592a21;this[_0x469bb0(0x156)][_0x469bb0(0x112)](_0x22c00c),_0x44fef3();});return;}if(_0x273866['data']['eventID']===_0x353970[_0x592a21(0x324)]){const _0xf5951d=_0x273866[_0x592a21(0x249)];this[_0x592a21(0x179)](_0xf5951d)[_0x592a21(0x269)](_0x437818=>{var _0x3bb3f9=_0x592a21;_0xe616b1['next']({'cmd':F[_0x3bb3f9(0xd7)],'code':pe['OK'],'routeKey':_0xf5951d[_0x3bb3f9(0x249)]['unitID'],'routeType':'','data':{'eventID':_0x353970[_0x3bb3f9(0x2bb)],'data':{'changesets':_0x437818}}});})[_0x592a21(0x1ba)](_0x3c4827=>{var _0x280a43=_0x592a21;this[_0x280a43(0x156)][_0x280a43(0x112)](_0x3c4827),_0x44fef3();});return;}}_0x512f6f[_0x592a21(0x32b)](Vs(_0x273866));},'close':()=>{var _0x4157bb=_0x3537fd;_0x512f6f[_0x4157bb(0x298)](),_0x2b8bc5['dispose']();}},_0x399410;}async[_0x116ce9(0x34c)](_0x4f6aec,_0x2edbd1){var _0x413b04=_0x116ce9,_0x2dc631;const {unitType:_0x57a009,unitID:_0x5b9331,changeset:_0x3d8454}=_0x2edbd1['data'],_0x203c09={'unitID':_0x5b9331,'memberID':_0x4f6aec[_0x413b04(0x399)],'type':_0x57a009,'changeset':_0x52531e(_0x3d8454)},_0x1edff5=this[_0x413b04(0x206)]['getConfig'](K),_0x2ad3ed=Ys((_0x2dc631=_0x1edff5==null?void 0x0:_0x1edff5['collabSubmitChangesetUrl'])!=null?_0x2dc631:Cs,_0x57a009,_0x5b9331);try{await this[_0x413b04(0x276)]['post'](_0x2ad3ed,{'body':_0x203c09});}catch(_0x6b1bc1){throw this[_0x413b04(0x156)][_0x413b04(0x112)](_0x413b04(0x10f),_0x413b04(0x36d)),_0x6b1bc1;}}async[_0x116ce9(0x179)](_0x3b3d2e){var _0x45c9d4=_0x116ce9;const {unitID:_0x2f6fc7,from:_0xf8f23,to:_0x13f429,unitType:_0x509e2f}=_0x3b3d2e[_0x45c9d4(0x249)];return(await this[_0x45c9d4(0x2e3)][_0x45c9d4(0x255)]({'metadata':void 0x0},{'unitID':_0x2f6fc7,'type':_0x509e2f,'from':_0xf8f23,'to':_0x13f429}))['changesets'];}};Gt=Gs([De(0x0,_0x557787(_0x249d80)),De(0x1,_0x557787(_0x31682f)),De(0x2,_0x42adf2),De(0x3,_0x1703f1),De(0x4,_0x38f09d)],Gt);var Ks=Object[_0x116ce9(0x396)],qs=(_0x4f0332,_0x3a1315,_0x56c21c,_0x3d531a)=>{var _0x50d399=_0x116ce9;for(var _0x5996df=_0x3d531a>0x1?void 0x0:_0x3d531a?Ks(_0x3a1315,_0x56c21c):_0x3a1315,_0x16ad78=_0x4f0332[_0x50d399(0x196)]-0x1,_0x52556b;_0x16ad78>=0x0;_0x16ad78--)(_0x52556b=_0x4f0332[_0x16ad78])&&(_0x5996df=_0x52556b(_0x5996df)||_0x5996df);return _0x5996df;},Re=(_0x30a20f,_0x3b33ba)=>(_0x1b370c,_0x1e2d94)=>_0x3b33ba(_0x1b370c,_0x1e2d94,_0x30a20f);let Pe=class extends _0x122c44{constructor(_0x2376f1,_0x3844c6,_0x1963bd,_0xdc0970,_0x214fef,_0x309ca9){var _0x48db38=_0x116ce9;super(),N(this,_0x48db38(0x18c),new _0x3dc6f5(void 0x0)),N(this,_0x48db38(0xb9),this[_0x48db38(0x18c)][_0x48db38(0x18e)]()),N(this,_0x48db38(0xbf),null),N(this,_0x48db38(0x3c0),new Map()),N(this,_0x48db38(0x33c),new _0x3dc6f5(ge['IDLE'])),N(this,_0x48db38(0x273),this[_0x48db38(0x33c)]['asObservable']()),N(this,_0x48db38(0xf2),!0x1),N(this,'_retryConnectingTimer'),N(this,_0x48db38(0x340),0x0),N(this,_0x48db38(0x235)),N(this,_0x48db38(0x319)),(this['_injector']=_0x2376f1,this[_0x48db38(0x156)]=_0x3844c6,this[_0x48db38(0x206)]=_0x1963bd,this[_0x48db38(0x2c9)]=_0xdc0970,this[_0x48db38(0xe9)]=_0x214fef,this[_0x48db38(0xe0)]=_0x309ca9,this[_0x48db38(0x1d2)]());}get[_0x116ce9(0x217)](){var _0x2128c9=_0x116ce9;return this['_socket$'][_0x2128c9(0x21e)]();}[_0x116ce9(0x1d2)](){var _0x1ac843=_0x116ce9;this[_0x1ac843(0xe0)]&&this[_0x1ac843(0xf0)](this['_networkConditionService']['online$'][_0x1ac843(0x2f2)](_0xa652f4=>{var _0x3ecaa0=_0x1ac843;_0xa652f4&&!this[_0x3ecaa0(0x217)]&&this[_0x3ecaa0(0x165)](),_0xa652f4||this[_0x3ecaa0(0x121)]();}));}[_0x116ce9(0xd2)](){var _0x5c3b28=_0x116ce9;super[_0x5c3b28(0xd2)](),this[_0x5c3b28(0x267)](),this[_0x5c3b28(0x3bc)](),this[_0x5c3b28(0x223)](),this['_sessions'][_0x5c3b28(0x12d)](_0x83cd93=>_0x83cd93['dispose']()),this[_0x5c3b28(0x3c0)]['clear'](),this['_status$']['complete']();}async['requireSession'](_0x5f4ade){var _0x4ff625=_0x116ce9;if(this[_0x4ff625(0x3c0)][_0x4ff625(0x322)](_0x5f4ade))return this[_0x4ff625(0x3c0)]['get'](_0x5f4ade);this[_0x4ff625(0x160)]();const _0x4f471b=this[_0x4ff625(0x15b)][_0x4ff625(0x13d)](gt,_0x5f4ade,this['_socket$']['asObservable']());return this[_0x4ff625(0x3c0)][_0x4ff625(0x228)](_0x5f4ade,_0x4f471b),_0x4f471b;}[_0x116ce9(0x2f5)](_0x3437d8){var _0x28083e=_0x116ce9,_0x16868f;const _0x5a0e21=this[_0x28083e(0x3c0)]['get'](_0x3437d8);_0x5a0e21&&(this[_0x28083e(0x3c0)][_0x28083e(0xba)](_0x3437d8),_0x5a0e21[_0x28083e(0x298)]()),this[_0x28083e(0x3c0)]['size']||(_0x16868f=this[_0x28083e(0x217)])==null||_0x16868f[_0x28083e(0x298)]();}['reconnect'](){var _0x2446e1=_0x116ce9;this[_0x2446e1(0x340)]=0x0,this[_0x2446e1(0x267)](),this[_0x2446e1(0x1b5)]();}[_0x116ce9(0x267)](){var _0x416e40=_0x116ce9;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x416e40(0xee)]),this['_retryConnectingTimer']=null);}async[_0x116ce9(0x308)](){var _0x15bee3=_0x116ce9,_0x4b6a70;const _0x364c11=this['_configService'][_0x15bee3(0x232)](K),_0x34efd9=(_0x4b6a70=_0x364c11==null?void 0x0:_0x364c11[_0x15bee3(0x2de)])!=null?_0x4b6a70:ms,_0xe043c4=await this[_0x15bee3(0x2c9)]['createSocket'](_0x34efd9);return this[_0x15bee3(0xbf)]=_0xe043c4,_0xe043c4;}async[_0x116ce9(0x160)](){var _0x52555e=_0x116ce9,_0x13d52b,_0x5a237a;try{const _0x17b219=(_0x5a237a=(_0x13d52b=this[_0x52555e(0x217)])!=null?_0x13d52b:this['_candidateSocket'])!=null?_0x5a237a:await this[_0x52555e(0x308)]();if(_0x17b219){const _0x20d513=_0x17b219[_0x52555e(0x32b)];_0x17b219[_0x52555e(0x32b)]=_0x15c1f9=>(this[_0x52555e(0x205)](),_0x20d513[_0x52555e(0x2d7)](_0x17b219,[_0x15c1f9])),_0x17b219[_0x52555e(0x21b)]['subscribe'](_0x375b7e=>this['_onMessage'](_0x17b219,_0x375b7e)),_0x17b219[_0x52555e(0x34b)][_0x52555e(0x266)](_0x3b9751(0x1))['subscribe'](_0x3216fa=>this[_0x52555e(0x156)][_0x52555e(0x112)](_0x52555e(0x25a),_0x3216fa)),_0x17b219['open$'][_0x52555e(0x266)](_0x3b9751(0x1))[_0x52555e(0x2f2)](()=>{var _0x22ef76=_0x52555e;this[_0x22ef76(0x2dc)](_0x17b219);}),_0x17b219[_0x52555e(0x337)][_0x52555e(0x266)](_0x3b9751(0x1))[_0x52555e(0x2f2)](_0x4f907d=>{var _0x53315b=_0x52555e;this['_logService'][_0x53315b(0x347)]('[CollaborationSessionService]',_0x53315b(0x2ca),_0x4f907d),this[_0x53315b(0x31a)]();});}}catch(_0x303410){this[_0x52555e(0x156)][_0x52555e(0x112)](_0x303410),this[_0x52555e(0x31a)]();}}[_0x116ce9(0x2dc)](_0x2b5a46){var _0x4dc307=_0x116ce9;this[_0x4dc307(0x156)][_0x4dc307(0x347)]('[CollaborationSessionService]',_0x4dc307(0xd6)),_0x2b5a46[_0x4dc307(0x32b)]({'cmd':F['HELLO']}),this['_rescheduleHeartbeat']();}['_onOffline'](){var _0xe7868=_0x116ce9;this['_socketReady']=!0x1,this[_0xe7868(0xbf)]=null,this[_0xe7868(0x33c)][_0xe7868(0x371)](ge[_0xe7868(0x26d)]),this[_0xe7868(0x18c)][_0xe7868(0x371)](null),this[_0xe7868(0x3bc)](),this[_0xe7868(0x223)]();}[_0x116ce9(0x31a)](){var _0x2aa9d2=_0x116ce9,_0x12442b;this[_0x2aa9d2(0x121)](),this[_0x2aa9d2(0x340)]<((_0x12442b=this[_0x2aa9d2(0x206)][_0x2aa9d2(0x232)](Is))!=null?_0x12442b:Ts)?(this[_0x2aa9d2(0xe9)]['emitEvent']({'id':ne[_0x2aa9d2(0x331)]}),this['_tryReconnect']()):this[_0x2aa9d2(0xe9)][_0x2aa9d2(0x1df)]({'id':ne[_0x2aa9d2(0x261)]});}['_tryReconnect'](){var _0x322895=_0x116ce9,_0x5d19e8;const _0x5ea929=this['_retryCount'],_0x1fdcc1=this[_0x322895(0x206)]['getConfig'](K),_0x30a976=_0x5ea929===0x0?0x0:((_0x5d19e8=_0x1fdcc1==null?void 0x0:_0x1fdcc1[_0x322895(0x174)])!=null?_0x5d19e8:Es)*0x2**_0x5ea929;this['_retryConnectingTimer']=setTimeout(()=>{var _0x447a89=_0x322895;clearTimeout(this[_0x447a89(0xee)]),this[_0x447a89(0xee)]=null,this[_0x447a89(0x160)]();},_0x30a976),this[_0x322895(0x340)]+=0x1;}[_0x116ce9(0x2ed)](_0x1ba56e,_0x3a9170){var _0x4dc85e=_0x116ce9;const {cmd:_0x4089dd}=_0x3a9170;_0x4089dd===F['HELLO']&&!this[_0x4dc85e(0xf2)]&&(_0x1ba56e[_0x4dc85e(0x399)]=_0x3a9170[_0x4dc85e(0x249)][_0x4dc85e(0x399)],this[_0x4dc85e(0x18c)][_0x4dc85e(0x371)](_0x1ba56e),this[_0x4dc85e(0x33c)][_0x4dc85e(0x371)](ge[_0x4dc85e(0x35f)]),this[_0x4dc85e(0xf2)]=!0x0,this['_candidateSocket']=null),_0x4089dd===F[_0x4dc85e(0x28e)]&&this[_0x4dc85e(0x3bc)](),this[_0x4dc85e(0x205)]();}[_0x116ce9(0x205)](){var _0x19d401=_0x116ce9,_0x38c506;this[_0x19d401(0x223)](),this[_0x19d401(0x235)]=setTimeout(()=>this[_0x19d401(0x126)](),(_0x38c506=this[_0x19d401(0x206)][_0x19d401(0x232)](gs))!=null?_0x38c506:Ss);}[_0x116ce9(0x126)](){var _0x6af053=_0x116ce9;this['_socket'][_0x6af053(0x32b)]({'cmd':F[_0x6af053(0x28e)]}),this['_waitForHeartbeatResponse']();}[_0x116ce9(0xff)](){var _0x236494=_0x116ce9,_0x52af81;this[_0x236494(0x319)]=setTimeout(()=>this[_0x236494(0x31a)](),(_0x52af81=this[_0x236494(0x206)][_0x236494(0x232)](di))!=null?_0x52af81:fi);}['_clearHeartbeatTimer'](){var _0x350d82=_0x116ce9;this[_0x350d82(0x235)]!=null&&(clearTimeout(this[_0x350d82(0x235)]),this[_0x350d82(0x235)]=null);}[_0x116ce9(0x3bc)](){var _0x2294f3=_0x116ce9;this[_0x2294f3(0x319)]!=null&&(clearTimeout(this[_0x2294f3(0x319)]),this[_0x2294f3(0x319)]=null);}};Pe=qs([Re(0x0,_0x557787(_0x249d80)),Re(0x1,_0x1703f1),Re(0x2,_0x42adf2),Re(0x3,Ci),Re(0x4,_0x557787(ve)),Re(0x5,_0x93ee66(js))],Pe);var zs=Object[_0x116ce9(0x396)],Js=(_0xdd0b24,_0xc56a65,_0x30b7cb,_0x16dbd8)=>{var _0x28b86f=_0x116ce9;for(var _0xe3ccd=_0x16dbd8>0x1?void 0x0:_0x16dbd8?zs(_0xc56a65,_0x30b7cb):_0xc56a65,_0xf62d44=_0xdd0b24[_0x28b86f(0x196)]-0x1,_0x540fe2;_0xf62d44>=0x0;_0xf62d44--)(_0x540fe2=_0xdd0b24[_0xf62d44])&&(_0xe3ccd=_0x540fe2(_0xe3ccd)||_0xe3ccd);return _0xe3ccd;},Be=(_0x3afa85,_0x1429e1)=>(_0x4c43dd,_0x30fbde)=>_0x1429e1(_0x4c43dd,_0x30fbde,_0x3afa85);let nt=class extends _0x4d32e2{constructor(_0x3f36b2,_0x412c2e,_0x1ac30d,_0x1c7717){var _0x23cac6=_0x116ce9,_0x4c7743;super(),N(this,_0x23cac6(0x20d),new Map()),N(this,_0x23cac6(0x213),new _0x19b0a1()),N(this,_0x23cac6(0x32c),this[_0x23cac6(0x213)][_0x23cac6(0x18e)]()),(this[_0x23cac6(0x15b)]=_0x3f36b2,this[_0x23cac6(0x24a)]=_0x412c2e,this[_0x23cac6(0x206)]=_0x1ac30d,this[_0x23cac6(0xc7)]=_0x1c7717,((_0x4c7743=this['_configService'][_0x23cac6(0x232)](K))==null?void 0x0:_0x4c7743[_0x23cac6(0x2c2)])!==!0x1&&this['_init']());}['dispose'](){var _0x5cd247=_0x116ce9;super[_0x5cd247(0xd2)](),this[_0x5cd247(0x20d)][_0x5cd247(0x12d)](_0x5695bc=>_0x5695bc[_0x5cd247(0xd2)]()),this['_entities'][_0x5cd247(0xe1)]();}['getCollabEntity'](_0x104bea){var _0x3a0b70=_0x116ce9,_0x2b22ec;return(_0x2b22ec=this[_0x3a0b70(0x20d)]['get'](_0x104bea))!=null?_0x2b22ec:null;}[_0x116ce9(0x183)](_0x5dbdfd){var _0x2d1d3e=_0x116ce9;const _0x11d066=this[_0x2d1d3e(0x138)](_0x5dbdfd);return _0x11d066?_0x285d91(_0x11d066):this[_0x2d1d3e(0x213)][_0x2d1d3e(0x266)](_0x48d5d4(_0x157e4b=>_0x157e4b[_0x2d1d3e(0x1b1)]===_0x5dbdfd));}[_0x116ce9(0x104)](_0x25e3c8){var _0x1e6987=_0x116ce9;return _0x21e5f(this[_0x1e6987(0x183)](_0x25e3c8)[_0x1e6987(0x266)](_0x209458(()=>{})));}[_0x116ce9(0x30c)](){var _0x4d0ef4=_0x116ce9;this[_0x4d0ef4(0xc7)]['getTypeOfUnitAdded$'](_0x7d3d2a[_0x4d0ef4(0x33b)])['pipe'](_0x57b88f(this['dispose$']),_0x37dec7(0x10))[_0x4d0ef4(0x2f2)](async _0x25d021=>{var _0x1c140e=_0x4d0ef4;const _0x21bb7e=_0x25d021[_0x1c140e(0x130)](),_0x2b4ff7=await this[_0x1c140e(0xeb)](_0x21bb7e,Z['UNIVER_SHEET']);this[_0x1c140e(0x20d)][_0x1c140e(0x228)](_0x21bb7e,_0x2b4ff7);}),this[_0x4d0ef4(0xc7)][_0x4d0ef4(0x367)](_0x7d3d2a[_0x4d0ef4(0x1f8)])[_0x4d0ef4(0x266)](_0x57b88f(this[_0x4d0ef4(0x1f0)]),_0x37dec7(0x10))[_0x4d0ef4(0x266)](_0x48d5d4(_0x218894=>!_0x218894[_0x4d0ef4(0x130)]()[_0x4d0ef4(0x256)]('__')))[_0x4d0ef4(0x2f2)](async _0x4edf08=>{var _0x21cc4f=_0x4d0ef4;const _0x3fd790=_0x4edf08[_0x21cc4f(0x130)](),_0x26383d=await this[_0x21cc4f(0xeb)](_0x3fd790,Z[_0x21cc4f(0x1f8)]);this[_0x21cc4f(0x20d)][_0x21cc4f(0x228)](_0x3fd790,_0x26383d);}),_0x53100c(this['_univerInstanceService'][_0x4d0ef4(0x201)](_0x7d3d2a[_0x4d0ef4(0x33b)]),this[_0x4d0ef4(0xc7)][_0x4d0ef4(0x201)](_0x7d3d2a['UNIVER_DOC']))['pipe'](_0x57b88f(this['dispose$']))[_0x4d0ef4(0x2f2)](_0x1e2a45=>{var _0x5ee393=_0x4d0ef4;const _0x163b65=_0x1e2a45[_0x5ee393(0x130)](),_0x585051=this[_0x5ee393(0x20d)]['get'](_0x163b65);_0x585051&&(_0x585051[_0x5ee393(0xd2)](),this[_0x5ee393(0x20d)][_0x5ee393(0xba)](_0x163b65));});}async[_0x116ce9(0xeb)](_0x5c80cd,_0x4361fb){var _0x3694dc=_0x116ce9;const _0x5492cc=await this[_0x3694dc(0x24a)][_0x3694dc(0x297)](_0x5c80cd),_0x18f5b2=this[_0x3694dc(0x15b)][_0x3694dc(0x13d)](this[_0x3694dc(0x2be)](_0x4361fb),_0x5c80cd,_0x4361fb,_0x5492cc);return await _0x18f5b2['init'](),this[_0x3694dc(0x213)]['next'](_0x18f5b2),_0x18f5b2;}[_0x116ce9(0x2be)](_0x427fc3){var _0x5234cd=_0x116ce9;switch(_0x427fc3){case Z['UNIVER_DOC']:return St;case Z[_0x5234cd(0x33b)]:return Et;default:throw new Error(_0x5234cd(0x380)+_0x427fc3);}}};nt=Js([Be(0x0,_0x557787(_0x249d80)),Be(0x1,_0x557787(Pe)),Be(0x2,_0x42adf2),Be(0x3,_0x283ba7)],nt);var Xs=Object['getOwnPropertyDescriptor'],Zs=(_0x4320cc,_0x34179e,_0x312764,_0x337dcf)=>{var _0x35d9a9=_0x116ce9;for(var _0x5b40f9=_0x337dcf>0x1?void 0x0:_0x337dcf?Xs(_0x34179e,_0x312764):_0x34179e,_0x1c90be=_0x4320cc[_0x35d9a9(0x196)]-0x1,_0x599d55;_0x1c90be>=0x0;_0x1c90be--)(_0x599d55=_0x4320cc[_0x1c90be])&&(_0x5b40f9=_0x599d55(_0x5b40f9)||_0x5b40f9);return _0x5b40f9;},Yt=(_0x483ea0,_0x527114)=>(_0x4adf20,_0x1fb684)=>_0x527114(_0x4adf20,_0x1fb684,_0x483ea0);const Qs=_0x116ce9(0xe7),en='Univer';let It=class extends _0x122c44{constructor(_0x3a476d,_0x111767){var _0x488a7b=_0x116ce9;super(),this[_0x488a7b(0xc7)]=_0x3a476d,this[_0x488a7b(0x206)]=_0x111767,this[_0x488a7b(0x30c)]();}[_0x116ce9(0x30c)](){var _0x1f90c8=_0x116ce9;this['disposeWithMe'](this[_0x1f90c8(0xc7)]['focused$']['subscribe'](()=>{var _0x45b60f=_0x1f90c8,_0xe52c25;const _0x48b5c4=this[_0x45b60f(0xc7)][_0x45b60f(0x1b4)]();let _0x21c587=(_0xe52c25=this[_0x45b60f(0x206)][_0x45b60f(0x232)](Qs))!=null?_0xe52c25:en;_0x48b5c4 instanceof _0x192edd&&(_0x21c587=_0x48b5c4[_0x45b60f(0x144)]),document[_0x45b60f(0x309)]=_0x21c587;}));}};It=Zs([Yt(0x0,_0x283ba7),Yt(0x1,_0x42adf2)],It);var tn=Object[_0x116ce9(0x396)],sn=(_0x4e4210,_0x116a6b,_0x1d5211,_0x5440fd)=>{var _0x21a1da=_0x116ce9;for(var _0x2eed8c=_0x5440fd>0x1?void 0x0:_0x5440fd?tn(_0x116a6b,_0x1d5211):_0x116a6b,_0x1ce415=_0x4e4210[_0x21a1da(0x196)]-0x1,_0x393957;_0x1ce415>=0x0;_0x1ce415--)(_0x393957=_0x4e4210[_0x1ce415])&&(_0x2eed8c=_0x393957(_0x2eed8c)||_0x2eed8c);return _0x2eed8c;},dt=(_0x1c8983,_0x5d42bb)=>(_0x1b37c5,_0x183ca2)=>_0x5d42bb(_0x1b37c5,_0x183ca2,_0x1c8983);let rt=class{constructor(_0x3df16b,_0x5b1929,_0x5c6b2e){var _0x46ed37=_0x116ce9;this[_0x46ed37(0x206)]=_0x3df16b,this[_0x46ed37(0x276)]=_0x5b1929,this[_0x46ed37(0x15a)]=_0x5c6b2e,this[_0x46ed37(0x2c4)]();}['init'](){var _0x20015f=_0x116ce9;this[_0x20015f(0x276)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x51478b,_0x1beeee)=>_0x1beeee(_0x51478b)[_0x20015f(0x266)](_0x110683(async _0x3af34a=>{var _0x4c8593=_0x20015f;const _0xd2ac88=_0x3af34a;if(_0xd2ac88[_0x4c8593(0x102)]===0x191){if(typeof window>'u')throw new Error(_0x4c8593(0x1c9));if(window['confirm'](this['localeService']['t'](_0x4c8593(0xed)))){const _0x2aa065=window[_0x4c8593(0x122)](window[_0x4c8593(0x1ea)][_0x4c8593(0x35e)]);window[_0x4c8593(0x1ea)][_0x4c8593(0x35e)]=this[_0x4c8593(0x199)]()+_0x4c8593(0x315)+_0x2aa065;}}return _0xd2ac88;}))});}['_getLoginPath'](){var _0x4a75c1=_0x116ce9,_0x4494cf;const _0x78355b=this['_configService']['getConfig'](K);return(_0x4494cf=_0x78355b==null?void 0x0:_0x78355b[_0x4a75c1(0x1a8)])!=null?_0x4494cf:Rs;}};rt=sn([dt(0x0,_0x42adf2),dt(0x1,_0x557787(_0x31682f)),dt(0x2,_0x557787(_0x5a45ce))],rt);var nn=Object['getOwnPropertyDescriptor'],rn=(_0x3a97d3,_0x10325a,_0x9c6efb,_0x52a9d5)=>{var _0x967969=_0x116ce9;for(var _0x16191d=_0x52a9d5>0x1?void 0x0:_0x52a9d5?nn(_0x10325a,_0x9c6efb):_0x10325a,_0x5c4201=_0x3a97d3[_0x967969(0x196)]-0x1,_0x25b8cc;_0x5c4201>=0x0;_0x5c4201--)(_0x25b8cc=_0x3a97d3[_0x5c4201])&&(_0x16191d=_0x25b8cc(_0x16191d)||_0x16191d);return _0x16191d;},Kt=(_0x4b1f0f,_0x56b7f9)=>(_0x489d75,_0x183ae6)=>_0x56b7f9(_0x489d75,_0x183ae6,_0x4b1f0f);const an=_0x116ce9(0xd4);let Tt=class extends _0x122c44{constructor(_0x3f034e,_0x456a02){var _0x1c184b=_0x116ce9;super(),this[_0x1c184b(0x231)]=_0x3f034e,this[_0x1c184b(0x206)]=_0x456a02,this[_0x1c184b(0x1c4)]();}['_initMergeInterceptor'](){var _0x42a1cd=_0x116ce9;const _0x31d4da=this;this[_0x42a1cd(0xf0)](this[_0x42a1cd(0x231)][_0x42a1cd(0x2b4)]({'priority':0x3e7,'interceptor':_0x5f51ab({'isMatch'(_0x3ed1e1){var _0x49bf90=_0x42a1cd,_0x3f5bf4;if(_0x3ed1e1[_0x49bf90(0x11a)]===_0x49bf90(0x35c)&&((_0x3f5bf4=_0x3ed1e1[_0x49bf90(0xb1)])!=null&&_0x3f5bf4[_0x49bf90(0x132)])){const {objectID:_0x52cfc4,objectType:_0x5c9038}=_0x3ed1e1[_0x49bf90(0xb1)][_0x49bf90(0x132)]||{};if(!_0x52cfc4||_0x5c9038===void 0x0)return!0x1;const _0xda2d05=_0x31d4da['_getAPIPrefixPath']()+'/'+_0x5c9038+_0x49bf90(0x166)+_0x52cfc4+_0x49bf90(0x185);if(_0x3ed1e1[_0x49bf90(0x2e0)]===_0xda2d05)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5e48e2){var _0x562ae8=_0x42a1cd,_0x3ff338;return(_0x3ff338=_0x5e48e2[_0x562ae8(0xb1)])==null?void 0x0:_0x3ff338[_0x562ae8(0x132)];},'mergeParamsToRequest'(_0x4d586a,_0xe81c06){var _0x250bd3=_0x42a1cd;const _0x11581c=_0x31d4da[_0x250bd3(0x34d)]()+_0x250bd3(0x1ac),_0xcde079=_0x4d586a['reduce']((_0x549266,_0x82e58)=>{var _0x16b985=_0x250bd3;const {unitID:_0x29146a,objectID:_0x6116ac,objectType:_0x407171,actions:_0x91d7b5}=_0x82e58;return _0x549266[_0x29146a]||(_0x549266[_0x29146a]={}),_0x549266[_0x29146a][_0x6116ac]||(_0x549266[_0x29146a][_0x6116ac]={'objectID':_0x6116ac,'objectType':_0x407171,'actions':[]}),_0x549266[_0x29146a][_0x6116ac][_0x16b985(0x305)][_0x16b985(0x39e)](..._0x91d7b5),_0x549266;},{}),_0x183aa9=[];for(const _0x70b5b4 in _0xcde079)for(const _0x1d30d7 in _0xcde079[_0x70b5b4]){const {actions:_0x16930e,objectType:_0x9dc46}=_0xcde079[_0x70b5b4][_0x1d30d7],_0x42a282=[...new Set(_0x16930e)];_0x183aa9['push']({'unitID':_0x70b5b4,'objectID':_0x1d30d7,'objectType':_0x9dc46,'actions':_0x42a282});}return new _0x393176(_0x250bd3(0x35c),_0x11581c,{'headers':_0xe81c06[_0x250bd3(0x1fa)],'withCredentials':_0xe81c06['withCredentials'],'responseType':_0xe81c06[_0x250bd3(0x12e)],'body':{'requests':_0x183aa9}});}},{'distributeResult'(_0x232e78,_0x23cf4c){var _0x44d5f7=_0x42a1cd;const {objectActions:_0x44615a}=_0x232e78;return _0x23cf4c[_0x44d5f7(0x27b)](_0x60a1d7=>{var _0x1f4014=_0x44d5f7;const {unitID:_0x213071,objectID:_0x1eeea9,actions:_0xfe9fce}=_0x60a1d7,_0x534c14=_0x44615a['find'](_0x2d3ff1=>_0x2d3ff1[_0x1f4014(0x1b1)]===_0x213071&&_0x2d3ff1['objectID']===_0x1eeea9),_0x4e23d0=_0xfe9fce['map'](_0x536a4e=>_0x534c14==null?void 0x0:_0x534c14['actions'][_0x1f4014(0x2f7)](_0x1b8988=>_0x1b8988[_0x1f4014(0xd3)]===_0x536a4e))[_0x1f4014(0x312)](_0x1ab43d=>!!_0x1ab43d);return{'config':_0x60a1d7,'result':{'actions':_0x4e23d0,'error':_0x232e78['error']}};});}})}));}['_getAPIPrefixPath'](){var _0x29718f=_0x116ce9,_0x3f040e;const _0xe71428=this['_configService'][_0x29718f(0x232)](K);return(_0x3f040e=_0xe71428==null?void 0x0:_0xe71428[_0x29718f(0xf8)])!=null?_0x3f040e:an;}async[_0x116ce9(0x109)](_0x4cfff2){var _0x3178f3=_0x116ce9;const _0x43d688=this['_getAPIPrefixPath']()+'/'+_0x4cfff2[_0x3178f3(0xb5)]+_0x3178f3(0x1de);return(await this['_HTTPService']['post'](_0x43d688,{'body':_0x4cfff2}))['body'][_0x3178f3(0x307)]||'';}async['list'](_0x5717dc){var _0x29372d=_0x116ce9;const _0x4933aa=this[_0x29372d(0x34d)]()+_0x29372d(0x2d6);return(await this[_0x29372d(0x231)][_0x29372d(0x326)](_0x4933aa,{'body':_0x5717dc}))[_0x29372d(0x132)][_0x29372d(0x2b9)];}async['update'](_0x5ee2d6){var _0x1507b7=_0x116ce9,_0x194785,_0x3dd333;const _0x1f43ef=this[_0x1507b7(0x34d)]()+'/'+_0x5ee2d6[_0x1507b7(0xb5)]+_0x1507b7(0x166)+_0x5ee2d6[_0x1507b7(0x307)],_0x266fd3=await this[_0x1507b7(0x231)][_0x1507b7(0x2f0)](_0x1f43ef,{'body':_0x5ee2d6});if(((_0x3dd333=(_0x194785=_0x266fd3==null?void 0x0:_0x266fd3[_0x1507b7(0x132)])==null?void 0x0:_0x194785[_0x1507b7(0x112)])==null?void 0x0:_0x3dd333[_0x1507b7(0x230)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x116ce9(0x1cd)](_0xb69bee){var _0x344330=_0x116ce9;const _0x37e200=this['_getAPIPrefixPath']()+'/'+_0xb69bee[_0x344330(0xb5)]+_0x344330(0x166)+_0xb69bee[_0x344330(0x307)]+'/allowed';return(await this[_0x344330(0x231)][_0x344330(0x326)](_0x37e200,{'body':_0xb69bee}))[_0x344330(0x132)][_0x344330(0x305)];}async[_0x116ce9(0x3ae)](_0x1b356c){var _0x23c5f8=_0x116ce9;const _0x398f77=this[_0x23c5f8(0x34d)]()+_0x23c5f8(0x1ac);return(await this[_0x23c5f8(0x231)][_0x23c5f8(0x326)](_0x398f77,{'body':{'requests':_0x1b356c}}))[_0x23c5f8(0x132)]['objectActions'];}async[_0x116ce9(0x1b7)](_0x133854){var _0x22681e=_0x116ce9;const _0x532ab9=this[_0x22681e(0x34d)]()+'/'+_0x133854[_0x22681e(0xb5)]+_0x22681e(0x135),_0x4604f6=await this[_0x22681e(0x231)][_0x22681e(0x326)](_0x532ab9,{'body':_0x133854});return{'roles':_0x4604f6[_0x22681e(0x132)][_0x22681e(0x21d)],'actions':_0x4604f6[_0x22681e(0x132)][_0x22681e(0x305)]};}async['deleteCollaborator'](_0x59db38){var _0x1678e4=_0x116ce9;const _0x76dd1=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x1678e4(0x231)][_0x1678e4(0xba)](_0x76dd1,{'params':{'collaboratorID':_0x59db38[_0x1678e4(0xc5)],'objectID':_0x59db38['objectID'],'unitID':_0x59db38[_0x1678e4(0x1b1)]}});}async[_0x116ce9(0x234)](_0x443c6a){var _0x2d01c7=_0x116ce9;const _0x1a6ab0=this['_getAPIPrefixPath']()+'/collaborator';await this['_HTTPService'][_0x2d01c7(0x2d0)](_0x1a6ab0,{'body':_0x443c6a});}async['createCollaborator'](_0x227d3d){var _0x170873=_0x116ce9;const _0x4b49de=this['_getAPIPrefixPath']()+_0x170873(0x1a5);await this['_HTTPService'][_0x170873(0x326)](_0x4b49de,{'body':_0x227d3d});}async[_0x116ce9(0x210)](_0x24e863){var _0x41baf2=_0x116ce9;const _0x5993a0=this[_0x41baf2(0x34d)]()+_0x41baf2(0x1a5);return(await this[_0x41baf2(0x231)][_0x41baf2(0x38f)](_0x5993a0,{'params':{'objectID':_0x24e863[_0x41baf2(0x307)],'unitID':_0x24e863[_0x41baf2(0x1b1)]}}))[_0x41baf2(0x132)][_0x41baf2(0xaf)];}async[_0x116ce9(0x142)](_0x317349){var _0x569a4e=_0x116ce9;const _0x483ab8=this[_0x569a4e(0x34d)]()+_0x569a4e(0x1a5);await this['_HTTPService'][_0x569a4e(0x2f0)](_0x483ab8,{'body':_0x317349});}};Tt=rn([Kt(0x0,_0x557787(_0x31682f)),Kt(0x1,_0x557787(_0x42adf2))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x2ef108){var _0xe30c9c=_0x116ce9;return _0x2ef108&&_0x2ef108[_0xe30c9c(0x286)]&&Object[_0xe30c9c(0x107)][_0xe30c9c(0x1e7)][_0xe30c9c(0x28b)](_0x2ef108,_0xe30c9c(0x1f3))?_0x2ef108[_0xe30c9c(0x1f3)]:_0x2ef108;}var Ve={'exports':{}};function on(_0xf71319){var _0x3c2e58=_0x116ce9;throw new Error(_0x3c2e58(0x33a)+_0xf71319+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var We={'exports':{}},cn=We['exports'],qt;function te(){var _0x27b68e=_0x116ce9;return qt||(qt=0x1,function(_0x72c282,_0x444266){(function(_0x1a708a,_0x4d5bbf){var _0x539332=_0x2a22;_0x72c282[_0x539332(0x3a0)]=_0x4d5bbf();}(cn,function(){var _0x596ff0=_0x596ff0||function(_0x20722a,_0x4bc0ae){var _0x97b905=_0x2a22,_0x25fdcb;if(typeof window<'u'&&window['crypto']&&(_0x25fdcb=window['crypto']),typeof self<'u'&&self[_0x97b905(0x2c5)]&&(_0x25fdcb=self['crypto']),typeof globalThis<'u'&&globalThis['crypto']&&(_0x25fdcb=globalThis[_0x97b905(0x2c5)]),!_0x25fdcb&&typeof window<'u'&&window[_0x97b905(0x2d3)]&&(_0x25fdcb=window[_0x97b905(0x2d3)]),!_0x25fdcb&&typeof ft<'u'&&ft[_0x97b905(0x2c5)]&&(_0x25fdcb=ft[_0x97b905(0x2c5)]),!_0x25fdcb&&typeof on==_0x97b905(0x348))try{_0x25fdcb=require('crypto');}catch{}var _0x4dd909=function(){var _0x4202ee=_0x97b905;if(_0x25fdcb){if(typeof _0x25fdcb[_0x4202ee(0x162)]==_0x4202ee(0x348))try{return _0x25fdcb[_0x4202ee(0x162)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x25fdcb['randomBytes']==_0x4202ee(0x348))try{return _0x25fdcb[_0x4202ee(0x127)](0x4)[_0x4202ee(0x143)]();}catch{}}throw new Error(_0x4202ee(0x264));},_0x20c963=Object[_0x97b905(0x109)]||(function(){function _0x2e9ff2(){}return function(_0x252848){var _0xdf84b0=_0x2a22,_0x4d9ff0;return _0x2e9ff2['prototype']=_0x252848,_0x4d9ff0=new _0x2e9ff2(),_0x2e9ff2[_0xdf84b0(0x107)]=null,_0x4d9ff0;};}()),_0x1b674a={},_0x14df61=_0x1b674a['lib']={},_0x4ea80e=_0x14df61['Base']=(function(){return{'extend':function(_0x36574a){var _0x213a0d=_0x2a22,_0x43c2d2=_0x20c963(this);return _0x36574a&&_0x43c2d2['mixIn'](_0x36574a),(!_0x43c2d2[_0x213a0d(0x1e7)](_0x213a0d(0x2c4))||this[_0x213a0d(0x2c4)]===_0x43c2d2[_0x213a0d(0x2c4)])&&(_0x43c2d2[_0x213a0d(0x2c4)]=function(){var _0x45c9ba=_0x213a0d;_0x43c2d2['$super'][_0x45c9ba(0x2c4)][_0x45c9ba(0x2d7)](this,arguments);}),_0x43c2d2['init']['prototype']=_0x43c2d2,_0x43c2d2[_0x213a0d(0x14c)]=this,_0x43c2d2;},'create':function(){var _0x397d42=_0x2a22,_0xfbb077=this[_0x397d42(0x14a)]();return _0xfbb077[_0x397d42(0x2c4)][_0x397d42(0x2d7)](_0xfbb077,arguments),_0xfbb077;},'init':function(){},'mixIn':function(_0x447f0a){var _0x4f6081=_0x2a22;for(var _0x37fc0e in _0x447f0a)_0x447f0a['hasOwnProperty'](_0x37fc0e)&&(this[_0x37fc0e]=_0x447f0a[_0x37fc0e]);_0x447f0a[_0x4f6081(0x1e7)](_0x4f6081(0x394))&&(this[_0x4f6081(0x394)]=_0x447f0a['toString']);},'clone':function(){var _0x230000=_0x2a22;return this[_0x230000(0x2c4)]['prototype']['extend'](this);}};}()),_0x2ce9c9=_0x14df61[_0x97b905(0x1a6)]=_0x4ea80e['extend']({'init':function(_0x5650d6,_0x436efa){var _0x1a0fd7=_0x97b905;_0x5650d6=this[_0x1a0fd7(0x23b)]=_0x5650d6||[],_0x436efa!=_0x4bc0ae?this[_0x1a0fd7(0xd9)]=_0x436efa:this['sigBytes']=_0x5650d6['length']*0x4;},'toString':function(_0x50f8f8){return(_0x50f8f8||_0xdf263e)['stringify'](this);},'concat':function(_0x4c1a8d){var _0x34aa6e=_0x97b905,_0x5c8c03=this[_0x34aa6e(0x23b)],_0x20499b=_0x4c1a8d[_0x34aa6e(0x23b)],_0x45dfe8=this[_0x34aa6e(0xd9)],_0x39fc0a=_0x4c1a8d[_0x34aa6e(0xd9)];if(this[_0x34aa6e(0x3a3)](),_0x45dfe8%0x4)for(var _0x4baa64=0x0;_0x4baa64<_0x39fc0a;_0x4baa64++){var _0x369d94=_0x20499b[_0x4baa64>>>0x2]>>>0x18-_0x4baa64%0x4*0x8&0xff;_0x5c8c03[_0x45dfe8+_0x4baa64>>>0x2]|=_0x369d94<<0x18-(_0x45dfe8+_0x4baa64)%0x4*0x8;}else{for(var _0x257059=0x0;_0x257059<_0x39fc0a;_0x257059+=0x4)_0x5c8c03[_0x45dfe8+_0x257059>>>0x2]=_0x20499b[_0x257059>>>0x2];}return this[_0x34aa6e(0xd9)]+=_0x39fc0a,this;},'clamp':function(){var _0x14e45a=_0x97b905,_0x4effd1=this[_0x14e45a(0x23b)],_0xef7111=this['sigBytes'];_0x4effd1[_0xef7111>>>0x2]&=0xffffffff<<0x20-_0xef7111%0x4*0x8,_0x4effd1[_0x14e45a(0x196)]=_0x20722a['ceil'](_0xef7111/0x4);},'clone':function(){var _0x3ad760=_0x97b905,_0x1528c6=_0x4ea80e[_0x3ad760(0x277)]['call'](this);return _0x1528c6[_0x3ad760(0x23b)]=this['words']['slice'](0x0),_0x1528c6;},'random':function(_0x3a0179){var _0x38f9c5=_0x97b905;for(var _0x1de603=[],_0x7d75c5=0x0;_0x7d75c5<_0x3a0179;_0x7d75c5+=0x4)_0x1de603[_0x38f9c5(0x39e)](_0x4dd909());return new _0x2ce9c9['init'](_0x1de603,_0x3a0179);}}),_0x287dbd=_0x1b674a[_0x97b905(0xfa)]={},_0xdf263e=_0x287dbd[_0x97b905(0x2a9)]={'stringify':function(_0x561ac2){var _0x28f425=_0x97b905;for(var _0x152965=_0x561ac2[_0x28f425(0x23b)],_0x51bae3=_0x561ac2[_0x28f425(0xd9)],_0x56a782=[],_0x18e8f3=0x0;_0x18e8f3<_0x51bae3;_0x18e8f3++){var _0x288352=_0x152965[_0x18e8f3>>>0x2]>>>0x18-_0x18e8f3%0x4*0x8&0xff;_0x56a782[_0x28f425(0x39e)]((_0x288352>>>0x4)[_0x28f425(0x394)](0x10)),_0x56a782[_0x28f425(0x39e)]((_0x288352&0xf)['toString'](0x10));}return _0x56a782['join']('');},'parse':function(_0x1a9cc5){var _0x31ab5e=_0x97b905;for(var _0x3dfb43=_0x1a9cc5[_0x31ab5e(0x196)],_0x135036=[],_0x3a48c8=0x0;_0x3a48c8<_0x3dfb43;_0x3a48c8+=0x2)_0x135036[_0x3a48c8>>>0x3]|=parseInt(_0x1a9cc5[_0x31ab5e(0x3b2)](_0x3a48c8,0x2),0x10)<<0x18-_0x3a48c8%0x8*0x4;return new _0x2ce9c9[(_0x31ab5e(0x2c4))](_0x135036,_0x3dfb43/0x2);}},_0x4d3fde=_0x287dbd[_0x97b905(0x24b)]={'stringify':function(_0xdf1c93){var _0x400ff8=_0x97b905;for(var _0x158395=_0xdf1c93[_0x400ff8(0x23b)],_0x240b05=_0xdf1c93[_0x400ff8(0xd9)],_0x39a61e=[],_0x4b02d0=0x0;_0x4b02d0<_0x240b05;_0x4b02d0++){var _0x42a61f=_0x158395[_0x4b02d0>>>0x2]>>>0x18-_0x4b02d0%0x4*0x8&0xff;_0x39a61e[_0x400ff8(0x39e)](String[_0x400ff8(0x3b7)](_0x42a61f));}return _0x39a61e[_0x400ff8(0x141)]('');},'parse':function(_0x5cd417){var _0x2f8b88=_0x97b905;for(var _0x265f9d=_0x5cd417[_0x2f8b88(0x196)],_0x5eb973=[],_0x4178ec=0x0;_0x4178ec<_0x265f9d;_0x4178ec++)_0x5eb973[_0x4178ec>>>0x2]|=(_0x5cd417[_0x2f8b88(0x31d)](_0x4178ec)&0xff)<<0x18-_0x4178ec%0x4*0x8;return new _0x2ce9c9[(_0x2f8b88(0x2c4))](_0x5eb973,_0x265f9d);}},_0x5241d6=_0x287dbd[_0x97b905(0x279)]={'stringify':function(_0x421085){var _0x1b280a=_0x97b905;try{return decodeURIComponent(escape(_0x4d3fde[_0x1b280a(0xf4)](_0x421085)));}catch{throw new Error(_0x1b280a(0x293));}},'parse':function(_0x29c8ab){var _0x1202ea=_0x97b905;return _0x4d3fde[_0x1202ea(0x1c6)](unescape(encodeURIComponent(_0x29c8ab)));}},_0x2e7cf8=_0x14df61[_0x97b905(0x2cc)]=_0x4ea80e[_0x97b905(0x14a)]({'reset':function(){var _0x4ba9ae=_0x97b905;this[_0x4ba9ae(0x184)]=new _0x2ce9c9[(_0x4ba9ae(0x2c4))](),this[_0x4ba9ae(0x275)]=0x0;},'_append':function(_0x2e8595){var _0x5af7bc=_0x97b905;typeof _0x2e8595==_0x5af7bc(0x16c)&&(_0x2e8595=_0x5241d6[_0x5af7bc(0x1c6)](_0x2e8595)),this['_data']['concat'](_0x2e8595),this[_0x5af7bc(0x275)]+=_0x2e8595[_0x5af7bc(0xd9)];},'_process':function(_0x3c790a){var _0x1056dd=_0x97b905,_0x177e8f,_0x257dbc=this[_0x1056dd(0x184)],_0x38af7e=_0x257dbc[_0x1056dd(0x23b)],_0x2f1248=_0x257dbc[_0x1056dd(0xd9)],_0x4a2fa2=this[_0x1056dd(0x270)],_0x4d0dde=_0x4a2fa2*0x4,_0x8c2434=_0x2f1248/_0x4d0dde;_0x3c790a?_0x8c2434=_0x20722a[_0x1056dd(0xc8)](_0x8c2434):_0x8c2434=_0x20722a[_0x1056dd(0x313)]((_0x8c2434|0x0)-this[_0x1056dd(0x18d)],0x0);var _0x1d3116=_0x8c2434*_0x4a2fa2,_0x352023=_0x20722a[_0x1056dd(0x363)](_0x1d3116*0x4,_0x2f1248);if(_0x1d3116){for(var _0x43e665=0x0;_0x43e665<_0x1d3116;_0x43e665+=_0x4a2fa2)this['_doProcessBlock'](_0x38af7e,_0x43e665);_0x177e8f=_0x38af7e[_0x1056dd(0x281)](0x0,_0x1d3116),_0x257dbc[_0x1056dd(0xd9)]-=_0x352023;}return new _0x2ce9c9['init'](_0x177e8f,_0x352023);},'clone':function(){var _0x14dcab=_0x97b905,_0x31da72=_0x4ea80e[_0x14dcab(0x277)][_0x14dcab(0x28b)](this);return _0x31da72[_0x14dcab(0x184)]=this[_0x14dcab(0x184)][_0x14dcab(0x277)](),_0x31da72;},'_minBufferSize':0x0});_0x14df61[_0x97b905(0x306)]=_0x2e7cf8[_0x97b905(0x14a)]({'cfg':_0x4ea80e[_0x97b905(0x14a)](),'init':function(_0x8ab5e0){var _0x663fd8=_0x97b905;this[_0x663fd8(0x2a8)]=this[_0x663fd8(0x2a8)]['extend'](_0x8ab5e0),this['reset']();},'reset':function(){var _0x20d843=_0x97b905;_0x2e7cf8[_0x20d843(0x318)]['call'](this),this[_0x20d843(0x37d)]();},'update':function(_0x39be59){var _0x5c50f6=_0x97b905;return this[_0x5c50f6(0xb2)](_0x39be59),this[_0x5c50f6(0x2c7)](),this;},'finalize':function(_0x120bae){var _0xbc584=_0x97b905;_0x120bae&&this['_append'](_0x120bae);var _0x1ad15e=this[_0xbc584(0x349)]();return _0x1ad15e;},'blockSize':0x10,'_createHelper':function(_0xc412e0){return function(_0x5a0beb,_0x48de64){var _0x518a02=_0x2a22;return new _0xc412e0[(_0x518a02(0x2c4))](_0x48de64)[_0x518a02(0x3a9)](_0x5a0beb);};},'_createHmacHelper':function(_0x372ee3){return function(_0x5d4282,_0x5cd6b8){var _0x364e47=_0x2a22;return new _0x19d1e4[(_0x364e47(0x334))]['init'](_0x372ee3,_0x5cd6b8)[_0x364e47(0x3a9)](_0x5d4282);};}});var _0x19d1e4=_0x1b674a[_0x97b905(0x1a1)]={};return _0x1b674a;}(Math);return _0x596ff0;}));}(We)),We[_0x27b68e(0x3a0)];}var Ge={'exports':{}},hn=Ge['exports'],zt;function Ri(){var _0x463008=_0x116ce9;return zt||(zt=0x1,function(_0x3db8ce,_0x2dce98){(function(_0x507403,_0xf40914){var _0x158348=_0x2a22;_0x3db8ce[_0x158348(0x3a0)]=_0xf40914(te());}(hn,function(_0x4917f8){var _0xb9c0f6=_0x2a22;return(function(){var _0x24fcb6=_0x2a22,_0x40aee5=_0x4917f8,_0x227a95=_0x40aee5[_0x24fcb6(0x153)],_0x4bfa8b=_0x227a95[_0x24fcb6(0x1a6)],_0x4b9063=_0x40aee5[_0x24fcb6(0xfa)];_0x4b9063[_0x24fcb6(0x1d6)]={'stringify':function(_0x543bbb){var _0x765cf3=_0x24fcb6,_0x58eaf0=_0x543bbb[_0x765cf3(0x23b)],_0x265f57=_0x543bbb['sigBytes'],_0x3f558c=this['_map'];_0x543bbb[_0x765cf3(0x3a3)]();for(var _0x32d9de=[],_0x440e24=0x0;_0x440e24<_0x265f57;_0x440e24+=0x3)for(var _0x5b5e31=_0x58eaf0[_0x440e24>>>0x2]>>>0x18-_0x440e24%0x4*0x8&0xff,_0x13b81b=_0x58eaf0[_0x440e24+0x1>>>0x2]>>>0x18-(_0x440e24+0x1)%0x4*0x8&0xff,_0x144301=_0x58eaf0[_0x440e24+0x2>>>0x2]>>>0x18-(_0x440e24+0x2)%0x4*0x8&0xff,_0x9c788f=_0x5b5e31<<0x10|_0x13b81b<<0x8|_0x144301,_0x47d9e7=0x0;_0x47d9e7<0x4&&_0x440e24+_0x47d9e7*0.75<_0x265f57;_0x47d9e7++)_0x32d9de[_0x765cf3(0x39e)](_0x3f558c['charAt'](_0x9c788f>>>0x6*(0x3-_0x47d9e7)&0x3f));var _0x955bb6=_0x3f558c[_0x765cf3(0x1fc)](0x40);if(_0x955bb6){for(;_0x32d9de[_0x765cf3(0x196)]%0x4;)_0x32d9de['push'](_0x955bb6);}return _0x32d9de[_0x765cf3(0x141)]('');},'parse':function(_0x40bde5){var _0x4c430b=_0x24fcb6,_0x3777e1=_0x40bde5[_0x4c430b(0x196)],_0x4f5aa2=this[_0x4c430b(0x15e)],_0x238fd8=this[_0x4c430b(0x198)];if(!_0x238fd8){_0x238fd8=this['_reverseMap']=[];for(var _0x6d91e5=0x0;_0x6d91e5<_0x4f5aa2[_0x4c430b(0x196)];_0x6d91e5++)_0x238fd8[_0x4f5aa2[_0x4c430b(0x31d)](_0x6d91e5)]=_0x6d91e5;}var _0x5bdc7c=_0x4f5aa2['charAt'](0x40);if(_0x5bdc7c){var _0x2826b5=_0x40bde5[_0x4c430b(0x246)](_0x5bdc7c);_0x2826b5!==-0x1&&(_0x3777e1=_0x2826b5);}return _0x36220d(_0x40bde5,_0x3777e1,_0x238fd8);},'_map':_0x24fcb6(0xf5)};function _0x36220d(_0x5211da,_0x40411a,_0x55e29f){var _0x5ee292=_0x24fcb6;for(var _0x251310=[],_0xdac7aa=0x0,_0x5c701e=0x0;_0x5c701e<_0x40411a;_0x5c701e++)if(_0x5c701e%0x4){var _0x18431c=_0x55e29f[_0x5211da[_0x5ee292(0x31d)](_0x5c701e-0x1)]<<_0x5c701e%0x4*0x2,_0x221edf=_0x55e29f[_0x5211da[_0x5ee292(0x31d)](_0x5c701e)]>>>0x6-_0x5c701e%0x4*0x2,_0x16c0b1=_0x18431c|_0x221edf;_0x251310[_0xdac7aa>>>0x2]|=_0x16c0b1<<0x18-_0xdac7aa%0x4*0x8,_0xdac7aa++;}return _0x4bfa8b['create'](_0x251310,_0xdac7aa);}}()),_0x4917f8[_0xb9c0f6(0xfa)][_0xb9c0f6(0x1d6)];}));}(Ge)),Ge[_0x463008(0x3a0)];}var Ye={'exports':{}},_n=Ye[_0x116ce9(0x3a0)],Jt;function ln(){return Jt||(Jt=0x1,function(_0x3ba822,_0x488007){(function(_0xa2eb25,_0x2b362e){var _0x3f789c=_0x2a22;_0x3ba822[_0x3f789c(0x3a0)]=_0x2b362e(te());}(_n,function(_0x20b372){return function(_0x36a496){var _0x2b94a1=_0x2a22,_0x3b23eb=_0x20b372,_0x377c5e=_0x3b23eb[_0x2b94a1(0x153)],_0x52d1a8=_0x377c5e[_0x2b94a1(0x1a6)],_0x22ab5b=_0x377c5e[_0x2b94a1(0x306)],_0x1bc6b5=_0x3b23eb[_0x2b94a1(0x1a1)],_0x6ce1b1=[];(function(){var _0x802df5=_0x2b94a1;for(var _0x188eae=0x0;_0x188eae<0x40;_0x188eae++)_0x6ce1b1[_0x188eae]=_0x36a496[_0x802df5(0x11c)](_0x36a496[_0x802df5(0x1bd)](_0x188eae+0x1))*0x100000000|0x0;}());var _0x11f5cb=_0x1bc6b5[_0x2b94a1(0x252)]=_0x22ab5b[_0x2b94a1(0x14a)]({'_doReset':function(){var _0x34fc63=_0x2b94a1;this[_0x34fc63(0x393)]=new _0x52d1a8['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x33f1ce,_0x1bd4cb){var _0x33b38d=_0x2b94a1;for(var _0x1ffaa2=0x0;_0x1ffaa2<0x10;_0x1ffaa2++){var _0x536dff=_0x1bd4cb+_0x1ffaa2,_0x26b4e0=_0x33f1ce[_0x536dff];_0x33f1ce[_0x536dff]=(_0x26b4e0<<0x8|_0x26b4e0>>>0x18)&0xff00ff|(_0x26b4e0<<0x18|_0x26b4e0>>>0x8)&0xff00ff00;}var _0x4ac81b=this[_0x33b38d(0x393)][_0x33b38d(0x23b)],_0x232020=_0x33f1ce[_0x1bd4cb+0x0],_0x3e9400=_0x33f1ce[_0x1bd4cb+0x1],_0x26dcb9=_0x33f1ce[_0x1bd4cb+0x2],_0x322707=_0x33f1ce[_0x1bd4cb+0x3],_0x23ebda=_0x33f1ce[_0x1bd4cb+0x4],_0x1d7913=_0x33f1ce[_0x1bd4cb+0x5],_0x344269=_0x33f1ce[_0x1bd4cb+0x6],_0x10c362=_0x33f1ce[_0x1bd4cb+0x7],_0x279c67=_0x33f1ce[_0x1bd4cb+0x8],_0x230fa1=_0x33f1ce[_0x1bd4cb+0x9],_0x254aef=_0x33f1ce[_0x1bd4cb+0xa],_0x3ecc84=_0x33f1ce[_0x1bd4cb+0xb],_0x5f3f95=_0x33f1ce[_0x1bd4cb+0xc],_0x2f0045=_0x33f1ce[_0x1bd4cb+0xd],_0x18daac=_0x33f1ce[_0x1bd4cb+0xe],_0x20bb10=_0x33f1ce[_0x1bd4cb+0xf],_0x1c35b9=_0x4ac81b[0x0],_0x510e39=_0x4ac81b[0x1],_0x263b4c=_0x4ac81b[0x2],_0x3c2841=_0x4ac81b[0x3];_0x1c35b9=_0x4dbb10(_0x1c35b9,_0x510e39,_0x263b4c,_0x3c2841,_0x232020,0x7,_0x6ce1b1[0x0]),_0x3c2841=_0x4dbb10(_0x3c2841,_0x1c35b9,_0x510e39,_0x263b4c,_0x3e9400,0xc,_0x6ce1b1[0x1]),_0x263b4c=_0x4dbb10(_0x263b4c,_0x3c2841,_0x1c35b9,_0x510e39,_0x26dcb9,0x11,_0x6ce1b1[0x2]),_0x510e39=_0x4dbb10(_0x510e39,_0x263b4c,_0x3c2841,_0x1c35b9,_0x322707,0x16,_0x6ce1b1[0x3]),_0x1c35b9=_0x4dbb10(_0x1c35b9,_0x510e39,_0x263b4c,_0x3c2841,_0x23ebda,0x7,_0x6ce1b1[0x4]),_0x3c2841=_0x4dbb10(_0x3c2841,_0x1c35b9,_0x510e39,_0x263b4c,_0x1d7913,0xc,_0x6ce1b1[0x5]),_0x263b4c=_0x4dbb10(_0x263b4c,_0x3c2841,_0x1c35b9,_0x510e39,_0x344269,0x11,_0x6ce1b1[0x6]),_0x510e39=_0x4dbb10(_0x510e39,_0x263b4c,_0x3c2841,_0x1c35b9,_0x10c362,0x16,_0x6ce1b1[0x7]),_0x1c35b9=_0x4dbb10(_0x1c35b9,_0x510e39,_0x263b4c,_0x3c2841,_0x279c67,0x7,_0x6ce1b1[0x8]),_0x3c2841=_0x4dbb10(_0x3c2841,_0x1c35b9,_0x510e39,_0x263b4c,_0x230fa1,0xc,_0x6ce1b1[0x9]),_0x263b4c=_0x4dbb10(_0x263b4c,_0x3c2841,_0x1c35b9,_0x510e39,_0x254aef,0x11,_0x6ce1b1[0xa]),_0x510e39=_0x4dbb10(_0x510e39,_0x263b4c,_0x3c2841,_0x1c35b9,_0x3ecc84,0x16,_0x6ce1b1[0xb]),_0x1c35b9=_0x4dbb10(_0x1c35b9,_0x510e39,_0x263b4c,_0x3c2841,_0x5f3f95,0x7,_0x6ce1b1[0xc]),_0x3c2841=_0x4dbb10(_0x3c2841,_0x1c35b9,_0x510e39,_0x263b4c,_0x2f0045,0xc,_0x6ce1b1[0xd]),_0x263b4c=_0x4dbb10(_0x263b4c,_0x3c2841,_0x1c35b9,_0x510e39,_0x18daac,0x11,_0x6ce1b1[0xe]),_0x510e39=_0x4dbb10(_0x510e39,_0x263b4c,_0x3c2841,_0x1c35b9,_0x20bb10,0x16,_0x6ce1b1[0xf]),_0x1c35b9=_0x58cf66(_0x1c35b9,_0x510e39,_0x263b4c,_0x3c2841,_0x3e9400,0x5,_0x6ce1b1[0x10]),_0x3c2841=_0x58cf66(_0x3c2841,_0x1c35b9,_0x510e39,_0x263b4c,_0x344269,0x9,_0x6ce1b1[0x11]),_0x263b4c=_0x58cf66(_0x263b4c,_0x3c2841,_0x1c35b9,_0x510e39,_0x3ecc84,0xe,_0x6ce1b1[0x12]),_0x510e39=_0x58cf66(_0x510e39,_0x263b4c,_0x3c2841,_0x1c35b9,_0x232020,0x14,_0x6ce1b1[0x13]),_0x1c35b9=_0x58cf66(_0x1c35b9,_0x510e39,_0x263b4c,_0x3c2841,_0x1d7913,0x5,_0x6ce1b1[0x14]),_0x3c2841=_0x58cf66(_0x3c2841,_0x1c35b9,_0x510e39,_0x263b4c,_0x254aef,0x9,_0x6ce1b1[0x15]),_0x263b4c=_0x58cf66(_0x263b4c,_0x3c2841,_0x1c35b9,_0x510e39,_0x20bb10,0xe,_0x6ce1b1[0x16]),_0x510e39=_0x58cf66(_0x510e39,_0x263b4c,_0x3c2841,_0x1c35b9,_0x23ebda,0x14,_0x6ce1b1[0x17]),_0x1c35b9=_0x58cf66(_0x1c35b9,_0x510e39,_0x263b4c,_0x3c2841,_0x230fa1,0x5,_0x6ce1b1[0x18]),_0x3c2841=_0x58cf66(_0x3c2841,_0x1c35b9,_0x510e39,_0x263b4c,_0x18daac,0x9,_0x6ce1b1[0x19]),_0x263b4c=_0x58cf66(_0x263b4c,_0x3c2841,_0x1c35b9,_0x510e39,_0x322707,0xe,_0x6ce1b1[0x1a]),_0x510e39=_0x58cf66(_0x510e39,_0x263b4c,_0x3c2841,_0x1c35b9,_0x279c67,0x14,_0x6ce1b1[0x1b]),_0x1c35b9=_0x58cf66(_0x1c35b9,_0x510e39,_0x263b4c,_0x3c2841,_0x2f0045,0x5,_0x6ce1b1[0x1c]),_0x3c2841=_0x58cf66(_0x3c2841,_0x1c35b9,_0x510e39,_0x263b4c,_0x26dcb9,0x9,_0x6ce1b1[0x1d]),_0x263b4c=_0x58cf66(_0x263b4c,_0x3c2841,_0x1c35b9,_0x510e39,_0x10c362,0xe,_0x6ce1b1[0x1e]),_0x510e39=_0x58cf66(_0x510e39,_0x263b4c,_0x3c2841,_0x1c35b9,_0x5f3f95,0x14,_0x6ce1b1[0x1f]),_0x1c35b9=_0x4e58f3(_0x1c35b9,_0x510e39,_0x263b4c,_0x3c2841,_0x1d7913,0x4,_0x6ce1b1[0x20]),_0x3c2841=_0x4e58f3(_0x3c2841,_0x1c35b9,_0x510e39,_0x263b4c,_0x279c67,0xb,_0x6ce1b1[0x21]),_0x263b4c=_0x4e58f3(_0x263b4c,_0x3c2841,_0x1c35b9,_0x510e39,_0x3ecc84,0x10,_0x6ce1b1[0x22]),_0x510e39=_0x4e58f3(_0x510e39,_0x263b4c,_0x3c2841,_0x1c35b9,_0x18daac,0x17,_0x6ce1b1[0x23]),_0x1c35b9=_0x4e58f3(_0x1c35b9,_0x510e39,_0x263b4c,_0x3c2841,_0x3e9400,0x4,_0x6ce1b1[0x24]),_0x3c2841=_0x4e58f3(_0x3c2841,_0x1c35b9,_0x510e39,_0x263b4c,_0x23ebda,0xb,_0x6ce1b1[0x25]),_0x263b4c=_0x4e58f3(_0x263b4c,_0x3c2841,_0x1c35b9,_0x510e39,_0x10c362,0x10,_0x6ce1b1[0x26]),_0x510e39=_0x4e58f3(_0x510e39,_0x263b4c,_0x3c2841,_0x1c35b9,_0x254aef,0x17,_0x6ce1b1[0x27]),_0x1c35b9=_0x4e58f3(_0x1c35b9,_0x510e39,_0x263b4c,_0x3c2841,_0x2f0045,0x4,_0x6ce1b1[0x28]),_0x3c2841=_0x4e58f3(_0x3c2841,_0x1c35b9,_0x510e39,_0x263b4c,_0x232020,0xb,_0x6ce1b1[0x29]),_0x263b4c=_0x4e58f3(_0x263b4c,_0x3c2841,_0x1c35b9,_0x510e39,_0x322707,0x10,_0x6ce1b1[0x2a]),_0x510e39=_0x4e58f3(_0x510e39,_0x263b4c,_0x3c2841,_0x1c35b9,_0x344269,0x17,_0x6ce1b1[0x2b]),_0x1c35b9=_0x4e58f3(_0x1c35b9,_0x510e39,_0x263b4c,_0x3c2841,_0x230fa1,0x4,_0x6ce1b1[0x2c]),_0x3c2841=_0x4e58f3(_0x3c2841,_0x1c35b9,_0x510e39,_0x263b4c,_0x5f3f95,0xb,_0x6ce1b1[0x2d]),_0x263b4c=_0x4e58f3(_0x263b4c,_0x3c2841,_0x1c35b9,_0x510e39,_0x20bb10,0x10,_0x6ce1b1[0x2e]),_0x510e39=_0x4e58f3(_0x510e39,_0x263b4c,_0x3c2841,_0x1c35b9,_0x26dcb9,0x17,_0x6ce1b1[0x2f]),_0x1c35b9=_0x2a3de2(_0x1c35b9,_0x510e39,_0x263b4c,_0x3c2841,_0x232020,0x6,_0x6ce1b1[0x30]),_0x3c2841=_0x2a3de2(_0x3c2841,_0x1c35b9,_0x510e39,_0x263b4c,_0x10c362,0xa,_0x6ce1b1[0x31]),_0x263b4c=_0x2a3de2(_0x263b4c,_0x3c2841,_0x1c35b9,_0x510e39,_0x18daac,0xf,_0x6ce1b1[0x32]),_0x510e39=_0x2a3de2(_0x510e39,_0x263b4c,_0x3c2841,_0x1c35b9,_0x1d7913,0x15,_0x6ce1b1[0x33]),_0x1c35b9=_0x2a3de2(_0x1c35b9,_0x510e39,_0x263b4c,_0x3c2841,_0x5f3f95,0x6,_0x6ce1b1[0x34]),_0x3c2841=_0x2a3de2(_0x3c2841,_0x1c35b9,_0x510e39,_0x263b4c,_0x322707,0xa,_0x6ce1b1[0x35]),_0x263b4c=_0x2a3de2(_0x263b4c,_0x3c2841,_0x1c35b9,_0x510e39,_0x254aef,0xf,_0x6ce1b1[0x36]),_0x510e39=_0x2a3de2(_0x510e39,_0x263b4c,_0x3c2841,_0x1c35b9,_0x3e9400,0x15,_0x6ce1b1[0x37]),_0x1c35b9=_0x2a3de2(_0x1c35b9,_0x510e39,_0x263b4c,_0x3c2841,_0x279c67,0x6,_0x6ce1b1[0x38]),_0x3c2841=_0x2a3de2(_0x3c2841,_0x1c35b9,_0x510e39,_0x263b4c,_0x20bb10,0xa,_0x6ce1b1[0x39]),_0x263b4c=_0x2a3de2(_0x263b4c,_0x3c2841,_0x1c35b9,_0x510e39,_0x344269,0xf,_0x6ce1b1[0x3a]),_0x510e39=_0x2a3de2(_0x510e39,_0x263b4c,_0x3c2841,_0x1c35b9,_0x2f0045,0x15,_0x6ce1b1[0x3b]),_0x1c35b9=_0x2a3de2(_0x1c35b9,_0x510e39,_0x263b4c,_0x3c2841,_0x23ebda,0x6,_0x6ce1b1[0x3c]),_0x3c2841=_0x2a3de2(_0x3c2841,_0x1c35b9,_0x510e39,_0x263b4c,_0x3ecc84,0xa,_0x6ce1b1[0x3d]),_0x263b4c=_0x2a3de2(_0x263b4c,_0x3c2841,_0x1c35b9,_0x510e39,_0x26dcb9,0xf,_0x6ce1b1[0x3e]),_0x510e39=_0x2a3de2(_0x510e39,_0x263b4c,_0x3c2841,_0x1c35b9,_0x230fa1,0x15,_0x6ce1b1[0x3f]),_0x4ac81b[0x0]=_0x4ac81b[0x0]+_0x1c35b9|0x0,_0x4ac81b[0x1]=_0x4ac81b[0x1]+_0x510e39|0x0,_0x4ac81b[0x2]=_0x4ac81b[0x2]+_0x263b4c|0x0,_0x4ac81b[0x3]=_0x4ac81b[0x3]+_0x3c2841|0x0;},'_doFinalize':function(){var _0x16c743=_0x2b94a1,_0x11c3eb=this[_0x16c743(0x184)],_0x531336=_0x11c3eb['words'],_0x58c6a6=this['_nDataBytes']*0x8,_0x3db428=_0x11c3eb[_0x16c743(0xd9)]*0x8;_0x531336[_0x3db428>>>0x5]|=0x80<<0x18-_0x3db428%0x20;var _0x24c58e=_0x36a496['floor'](_0x58c6a6/0x100000000),_0x401f3d=_0x58c6a6;_0x531336[(_0x3db428+0x40>>>0x9<<0x4)+0xf]=(_0x24c58e<<0x8|_0x24c58e>>>0x18)&0xff00ff|(_0x24c58e<<0x18|_0x24c58e>>>0x8)&0xff00ff00,_0x531336[(_0x3db428+0x40>>>0x9<<0x4)+0xe]=(_0x401f3d<<0x8|_0x401f3d>>>0x18)&0xff00ff|(_0x401f3d<<0x18|_0x401f3d>>>0x8)&0xff00ff00,_0x11c3eb[_0x16c743(0xd9)]=(_0x531336[_0x16c743(0x196)]+0x1)*0x4,this[_0x16c743(0x2c7)]();for(var _0x3fbdff=this[_0x16c743(0x393)],_0x3c0d1c=_0x3fbdff[_0x16c743(0x23b)],_0x38a3fc=0x0;_0x38a3fc<0x4;_0x38a3fc++){var _0x48f487=_0x3c0d1c[_0x38a3fc];_0x3c0d1c[_0x38a3fc]=(_0x48f487<<0x8|_0x48f487>>>0x18)&0xff00ff|(_0x48f487<<0x18|_0x48f487>>>0x8)&0xff00ff00;}return _0x3fbdff;},'clone':function(){var _0x240885=_0x2b94a1,_0x17090f=_0x22ab5b[_0x240885(0x277)][_0x240885(0x28b)](this);return _0x17090f[_0x240885(0x393)]=this[_0x240885(0x393)][_0x240885(0x277)](),_0x17090f;}});function _0x4dbb10(_0x59566b,_0x2f0c9f,_0x1132ad,_0x35dab5,_0x251a52,_0x5acf0c,_0x3683ec){var _0x30067f=_0x59566b+(_0x2f0c9f&_0x1132ad|~_0x2f0c9f&_0x35dab5)+_0x251a52+_0x3683ec;return(_0x30067f<<_0x5acf0c|_0x30067f>>>0x20-_0x5acf0c)+_0x2f0c9f;}function _0x58cf66(_0x32f89c,_0x1781e9,_0x2322c8,_0x59441a,_0xdb0879,_0x608db4,_0x5ca380){var _0x1d24c3=_0x32f89c+(_0x1781e9&_0x59441a|_0x2322c8&~_0x59441a)+_0xdb0879+_0x5ca380;return(_0x1d24c3<<_0x608db4|_0x1d24c3>>>0x20-_0x608db4)+_0x1781e9;}function _0x4e58f3(_0x50cebe,_0x39fe7f,_0x41f2e4,_0x568bf6,_0x5e6e25,_0x148bd9,_0x2a79bb){var _0x1a2aac=_0x50cebe+(_0x39fe7f^_0x41f2e4^_0x568bf6)+_0x5e6e25+_0x2a79bb;return(_0x1a2aac<<_0x148bd9|_0x1a2aac>>>0x20-_0x148bd9)+_0x39fe7f;}function _0x2a3de2(_0x48ba26,_0x337e1e,_0x350b02,_0xd60c11,_0x325412,_0x471c5a,_0x5e7cfe){var _0x3baadb=_0x48ba26+(_0x350b02^(_0x337e1e|~_0xd60c11))+_0x325412+_0x5e7cfe;return(_0x3baadb<<_0x471c5a|_0x3baadb>>>0x20-_0x471c5a)+_0x337e1e;}_0x3b23eb['MD5']=_0x22ab5b[_0x2b94a1(0x37e)](_0x11f5cb),_0x3b23eb[_0x2b94a1(0x155)]=_0x22ab5b[_0x2b94a1(0x16b)](_0x11f5cb);}(Math),_0x20b372['MD5'];}));}(Ye)),Ye['exports'];}var Ke={'exports':{}},qe={'exports':{}},un=qe[_0x116ce9(0x3a0)],Xt;function dn(){var _0x32bfbe=_0x116ce9;return Xt||(Xt=0x1,function(_0x584e2a,_0x3dec1a){(function(_0x43cfa6,_0x21a3cb){var _0x457cf4=_0x2a22;_0x584e2a[_0x457cf4(0x3a0)]=_0x21a3cb(te());}(un,function(_0x1bad73){var _0x10a917=_0x2a22;return(function(){var _0x4cce1a=_0x2a22,_0x3ec768=_0x1bad73,_0x3e3b04=_0x3ec768[_0x4cce1a(0x153)],_0x3b41a7=_0x3e3b04[_0x4cce1a(0x1a6)],_0x2ba4a2=_0x3e3b04[_0x4cce1a(0x306)],_0x61328=_0x3ec768[_0x4cce1a(0x1a1)],_0x2c9cd6=[],_0x2325ba=_0x61328['SHA1']=_0x2ba4a2['extend']({'_doReset':function(){var _0x597134=_0x4cce1a;this[_0x597134(0x393)]=new _0x3b41a7['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x5e5e8c,_0x1631d9){var _0x4d5f08=_0x4cce1a;for(var _0x2302b8=this[_0x4d5f08(0x393)][_0x4d5f08(0x23b)],_0x1cb90b=_0x2302b8[0x0],_0x5e9251=_0x2302b8[0x1],_0x107e90=_0x2302b8[0x2],_0x174929=_0x2302b8[0x3],_0x1aaf58=_0x2302b8[0x4],_0x26c523=0x0;_0x26c523<0x50;_0x26c523++){if(_0x26c523<0x10)_0x2c9cd6[_0x26c523]=_0x5e5e8c[_0x1631d9+_0x26c523]|0x0;else{var _0x218e20=_0x2c9cd6[_0x26c523-0x3]^_0x2c9cd6[_0x26c523-0x8]^_0x2c9cd6[_0x26c523-0xe]^_0x2c9cd6[_0x26c523-0x10];_0x2c9cd6[_0x26c523]=_0x218e20<<0x1|_0x218e20>>>0x1f;}var _0x381990=(_0x1cb90b<<0x5|_0x1cb90b>>>0x1b)+_0x1aaf58+_0x2c9cd6[_0x26c523];_0x26c523<0x14?_0x381990+=(_0x5e9251&_0x107e90|~_0x5e9251&_0x174929)+0x5a827999:_0x26c523<0x28?_0x381990+=(_0x5e9251^_0x107e90^_0x174929)+0x6ed9eba1:_0x26c523<0x3c?_0x381990+=(_0x5e9251&_0x107e90|_0x5e9251&_0x174929|_0x107e90&_0x174929)-0x70e44324:_0x381990+=(_0x5e9251^_0x107e90^_0x174929)-0x359d3e2a,_0x1aaf58=_0x174929,_0x174929=_0x107e90,_0x107e90=_0x5e9251<<0x1e|_0x5e9251>>>0x2,_0x5e9251=_0x1cb90b,_0x1cb90b=_0x381990;}_0x2302b8[0x0]=_0x2302b8[0x0]+_0x1cb90b|0x0,_0x2302b8[0x1]=_0x2302b8[0x1]+_0x5e9251|0x0,_0x2302b8[0x2]=_0x2302b8[0x2]+_0x107e90|0x0,_0x2302b8[0x3]=_0x2302b8[0x3]+_0x174929|0x0,_0x2302b8[0x4]=_0x2302b8[0x4]+_0x1aaf58|0x0;},'_doFinalize':function(){var _0x4acaf2=_0x4cce1a,_0x1c945c=this[_0x4acaf2(0x184)],_0x487862=_0x1c945c[_0x4acaf2(0x23b)],_0x3e3b9f=this[_0x4acaf2(0x275)]*0x8,_0x360741=_0x1c945c[_0x4acaf2(0xd9)]*0x8;return _0x487862[_0x360741>>>0x5]|=0x80<<0x18-_0x360741%0x20,_0x487862[(_0x360741+0x40>>>0x9<<0x4)+0xe]=Math[_0x4acaf2(0x1e6)](_0x3e3b9f/0x100000000),_0x487862[(_0x360741+0x40>>>0x9<<0x4)+0xf]=_0x3e3b9f,_0x1c945c[_0x4acaf2(0xd9)]=_0x487862['length']*0x4,this[_0x4acaf2(0x2c7)](),this[_0x4acaf2(0x393)];},'clone':function(){var _0x51fa19=_0x4cce1a,_0x4fe729=_0x2ba4a2['clone']['call'](this);return _0x4fe729[_0x51fa19(0x393)]=this['_hash'][_0x51fa19(0x277)](),_0x4fe729;}});_0x3ec768[_0x4cce1a(0x303)]=_0x2ba4a2['_createHelper'](_0x2325ba),_0x3ec768['HmacSHA1']=_0x2ba4a2[_0x4cce1a(0x16b)](_0x2325ba);}()),_0x1bad73[_0x10a917(0x303)];}));}(qe)),qe[_0x32bfbe(0x3a0)];}var ze={'exports':{}},fn=ze[_0x116ce9(0x3a0)],Zt;function vn(){var _0x27d49b=_0x116ce9;return Zt||(Zt=0x1,function(_0x338bf6,_0x42751e){(function(_0x42f437,_0x1b6d27){var _0x1675af=_0x2a22;_0x338bf6[_0x1675af(0x3a0)]=_0x1b6d27(te());}(fn,function(_0xa8f5d5){(function(){var _0x13bea7=_0x2a22,_0x816ec6=_0xa8f5d5,_0xed65dd=_0x816ec6[_0x13bea7(0x153)],_0x4fedfe=_0xed65dd[_0x13bea7(0x125)],_0x285210=_0x816ec6['enc'],_0x364957=_0x285210[_0x13bea7(0x279)],_0x2097a8=_0x816ec6[_0x13bea7(0x1a1)];_0x2097a8[_0x13bea7(0x334)]=_0x4fedfe[_0x13bea7(0x14a)]({'init':function(_0x1ff9e8,_0x44e7da){var _0x5d0814=_0x13bea7;_0x1ff9e8=this['_hasher']=new _0x1ff9e8[(_0x5d0814(0x2c4))](),typeof _0x44e7da==_0x5d0814(0x16c)&&(_0x44e7da=_0x364957[_0x5d0814(0x1c6)](_0x44e7da));var _0x306df6=_0x1ff9e8[_0x5d0814(0x270)],_0x9bf68=_0x306df6*0x4;_0x44e7da['sigBytes']>_0x9bf68&&(_0x44e7da=_0x1ff9e8['finalize'](_0x44e7da)),_0x44e7da[_0x5d0814(0x3a3)]();for(var _0x164997=this[_0x5d0814(0x29f)]=_0x44e7da[_0x5d0814(0x277)](),_0x48c270=this[_0x5d0814(0x26f)]=_0x44e7da[_0x5d0814(0x277)](),_0x39e529=_0x164997['words'],_0x1ab592=_0x48c270[_0x5d0814(0x23b)],_0x10b6a1=0x0;_0x10b6a1<_0x306df6;_0x10b6a1++)_0x39e529[_0x10b6a1]^=0x5c5c5c5c,_0x1ab592[_0x10b6a1]^=0x36363636;_0x164997['sigBytes']=_0x48c270[_0x5d0814(0xd9)]=_0x9bf68,this[_0x5d0814(0x318)]();},'reset':function(){var _0x2e768a=_0x13bea7,_0x5264e6=this['_hasher'];_0x5264e6[_0x2e768a(0x318)](),_0x5264e6['update'](this[_0x2e768a(0x26f)]);},'update':function(_0x5943e5){var _0x487a6c=_0x13bea7;return this[_0x487a6c(0x27e)]['update'](_0x5943e5),this;},'finalize':function(_0xac0ae1){var _0x2fc5da=_0x13bea7,_0x141377=this[_0x2fc5da(0x27e)],_0x283fc2=_0x141377[_0x2fc5da(0x3a9)](_0xac0ae1);_0x141377[_0x2fc5da(0x318)]();var _0x38cf3e=_0x141377['finalize'](this[_0x2fc5da(0x29f)]['clone']()[_0x2fc5da(0x2fb)](_0x283fc2));return _0x38cf3e;}});}());}));}(ze)),ze[_0x27d49b(0x3a0)];}var pn=Ke['exports'],Qt;function Oi(){var _0x18ca57=_0x116ce9;return Qt||(Qt=0x1,function(_0x362bca,_0x2fbaba){(function(_0x36623f,_0x29888f,_0x44e21a){var _0xda427d=_0x2a22;_0x362bca[_0xda427d(0x3a0)]=_0x29888f(te(),dn(),vn());}(pn,function(_0x10b88f){var _0x176db5=_0x2a22;return(function(){var _0x69a970=_0x2a22,_0x1df296=_0x10b88f,_0x31100c=_0x1df296[_0x69a970(0x153)],_0x439c0a=_0x31100c['Base'],_0x393e35=_0x31100c['WordArray'],_0xc450ea=_0x1df296[_0x69a970(0x1a1)],_0x16c6fd=_0xc450ea[_0x69a970(0x252)],_0x2ddac4=_0xc450ea[_0x69a970(0x222)]=_0x439c0a[_0x69a970(0x14a)]({'cfg':_0x439c0a['extend']({'keySize':0x80/0x20,'hasher':_0x16c6fd,'iterations':0x1}),'init':function(_0x490e05){var _0x340f79=_0x69a970;this[_0x340f79(0x2a8)]=this[_0x340f79(0x2a8)][_0x340f79(0x14a)](_0x490e05);},'compute':function(_0x2f3231,_0x5aef29){var _0x32fbe4=_0x69a970;for(var _0x3d0f10,_0x44ce3d=this[_0x32fbe4(0x2a8)],_0x3d04ff=_0x44ce3d[_0x32fbe4(0xc3)][_0x32fbe4(0x109)](),_0x210e0f=_0x393e35[_0x32fbe4(0x109)](),_0xe9201b=_0x210e0f[_0x32fbe4(0x23b)],_0x2a7025=_0x44ce3d[_0x32fbe4(0x114)],_0x4073bf=_0x44ce3d[_0x32fbe4(0x30f)];_0xe9201b[_0x32fbe4(0x196)]<_0x2a7025;){_0x3d0f10&&_0x3d04ff[_0x32fbe4(0x3ab)](_0x3d0f10),_0x3d0f10=_0x3d04ff[_0x32fbe4(0x3ab)](_0x2f3231)['finalize'](_0x5aef29),_0x3d04ff['reset']();for(var _0x39af7d=0x1;_0x39af7d<_0x4073bf;_0x39af7d++)_0x3d0f10=_0x3d04ff['finalize'](_0x3d0f10),_0x3d04ff[_0x32fbe4(0x318)]();_0x210e0f[_0x32fbe4(0x2fb)](_0x3d0f10);}return _0x210e0f[_0x32fbe4(0xd9)]=_0x2a7025*0x4,_0x210e0f;}});_0x1df296['EvpKDF']=function(_0x3b8264,_0x32434c,_0x42a78d){var _0x1bcd65=_0x69a970;return _0x2ddac4[_0x1bcd65(0x109)](_0x42a78d)[_0x1bcd65(0x1b6)](_0x3b8264,_0x32434c);};}()),_0x10b88f[_0x176db5(0x222)];}));}(Ke)),Ke[_0x18ca57(0x3a0)];}var Je={'exports':{}},mn=Je[_0x116ce9(0x3a0)],ei;function bi(){var _0x40a191=_0x116ce9;return ei||(ei=0x1,function(_0x1b93df,_0x1ef79a){(function(_0x55e342,_0x3d3376,_0x2f1876){var _0x29650e=_0x2a22;_0x1b93df[_0x29650e(0x3a0)]=_0x3d3376(te(),Oi());}(mn,function(_0x36c6d6){var _0x1d751e=_0x2a22;_0x36c6d6[_0x1d751e(0x153)][_0x1d751e(0x27c)]||function(_0x21126b){var _0x4905e7=_0x1d751e,_0x454ac2=_0x36c6d6,_0x2dc3d4=_0x454ac2['lib'],_0x447a82=_0x2dc3d4[_0x4905e7(0x125)],_0x44047b=_0x2dc3d4[_0x4905e7(0x1a6)],_0x3d089d=_0x2dc3d4[_0x4905e7(0x2cc)],_0x2ad4e9=_0x454ac2['enc'];_0x2ad4e9['Utf8'];var _0x4119a4=_0x2ad4e9[_0x4905e7(0x1d6)],_0x1cf92f=_0x454ac2['algo'],_0x290319=_0x1cf92f['EvpKDF'],_0x1b69bb=_0x2dc3d4[_0x4905e7(0x27c)]=_0x3d089d[_0x4905e7(0x14a)]({'cfg':_0x447a82['extend'](),'createEncryptor':function(_0x5c82d8,_0x29b564){var _0x864c9c=_0x4905e7;return this[_0x864c9c(0x109)](this[_0x864c9c(0x22a)],_0x5c82d8,_0x29b564);},'createDecryptor':function(_0x910d08,_0x54f237){var _0x48ddcc=_0x4905e7;return this[_0x48ddcc(0x109)](this[_0x48ddcc(0x2ea)],_0x910d08,_0x54f237);},'init':function(_0x2e37f4,_0x5a887b,_0x438865){var _0xee1a0e=_0x4905e7;this[_0xee1a0e(0x2a8)]=this[_0xee1a0e(0x2a8)]['extend'](_0x438865),this[_0xee1a0e(0x161)]=_0x2e37f4,this['_key']=_0x5a887b,this['reset']();},'reset':function(){var _0x555971=_0x4905e7;_0x3d089d[_0x555971(0x318)]['call'](this),this[_0x555971(0x37d)]();},'process':function(_0xb5cf45){var _0x591851=_0x4905e7;return this[_0x591851(0xb2)](_0xb5cf45),this[_0x591851(0x2c7)]();},'finalize':function(_0x3a268f){var _0x2f0239=_0x4905e7;_0x3a268f&&this[_0x2f0239(0xb2)](_0x3a268f);var _0x4102dc=this['_doFinalize']();return _0x4102dc;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4c7d1c(_0x2cc628){var _0x36e6a2=_0x2a22;return typeof _0x2cc628==_0x36e6a2(0x16c)?_0x3c7bc9:_0x466db7;}return function(_0x217594){return{'encrypt':function(_0x27fa1a,_0x15a3d1,_0x3a031e){var _0x25b7a3=_0x2a22;return _0x4c7d1c(_0x15a3d1)[_0x25b7a3(0x263)](_0x217594,_0x27fa1a,_0x15a3d1,_0x3a031e);},'decrypt':function(_0x3fd079,_0x283dba,_0x4f5e06){var _0x5e6886=_0x2a22;return _0x4c7d1c(_0x283dba)[_0x5e6886(0x33f)](_0x217594,_0x3fd079,_0x283dba,_0x4f5e06);}};};}())});_0x2dc3d4[_0x4905e7(0x15c)]=_0x1b69bb[_0x4905e7(0x14a)]({'_doFinalize':function(){var _0xae988b=_0x4905e7,_0x3eea08=this[_0xae988b(0x2c7)](!0x0);return _0x3eea08;},'blockSize':0x1});var _0x42cecd=_0x454ac2[_0x4905e7(0x311)]={},_0x136a76=_0x2dc3d4[_0x4905e7(0x3bd)]=_0x447a82['extend']({'createEncryptor':function(_0x5df88c,_0x5217b4){var _0x216323=_0x4905e7;return this[_0x216323(0x20c)][_0x216323(0x109)](_0x5df88c,_0x5217b4);},'createDecryptor':function(_0x81090c,_0x4f54fd){var _0x3fa604=_0x4905e7;return this['Decryptor'][_0x3fa604(0x109)](_0x81090c,_0x4f54fd);},'init':function(_0x442fe2,_0x4ffebf){var _0x3b1d00=_0x4905e7;this[_0x3b1d00(0x1b3)]=_0x442fe2,this[_0x3b1d00(0x11b)]=_0x4ffebf;}}),_0x9b6d46=_0x42cecd[_0x4905e7(0xd8)]=(function(){var _0x5bd8fc=_0x4905e7,_0x4d3235=_0x136a76[_0x5bd8fc(0x14a)]();_0x4d3235[_0x5bd8fc(0x20c)]=_0x4d3235['extend']({'processBlock':function(_0x382dda,_0xa9f502){var _0x981f1e=_0x5bd8fc,_0x47e123=this[_0x981f1e(0x1b3)],_0x3189ec=_0x47e123[_0x981f1e(0x270)];_0x39c9c3[_0x981f1e(0x28b)](this,_0x382dda,_0xa9f502,_0x3189ec),_0x47e123[_0x981f1e(0x1e5)](_0x382dda,_0xa9f502),this[_0x981f1e(0x2a0)]=_0x382dda['slice'](_0xa9f502,_0xa9f502+_0x3189ec);}}),_0x4d3235[_0x5bd8fc(0x357)]=_0x4d3235[_0x5bd8fc(0x14a)]({'processBlock':function(_0xb4bb00,_0x23641e){var _0x3ed547=_0x5bd8fc,_0x3cebd1=this['_cipher'],_0x23a44e=_0x3cebd1[_0x3ed547(0x270)],_0x1c5653=_0xb4bb00[_0x3ed547(0x39a)](_0x23641e,_0x23641e+_0x23a44e);_0x3cebd1[_0x3ed547(0x21a)](_0xb4bb00,_0x23641e),_0x39c9c3[_0x3ed547(0x28b)](this,_0xb4bb00,_0x23641e,_0x23a44e),this[_0x3ed547(0x2a0)]=_0x1c5653;}});function _0x39c9c3(_0x1561ac,_0x1d933d,_0x4e8d80){var _0x52bcc1=_0x5bd8fc,_0x4360ea,_0xb75fa1=this[_0x52bcc1(0x11b)];_0xb75fa1?(_0x4360ea=_0xb75fa1,this['_iv']=_0x21126b):_0x4360ea=this[_0x52bcc1(0x2a0)];for(var _0x2ed32c=0x0;_0x2ed32c<_0x4e8d80;_0x2ed32c++)_0x1561ac[_0x1d933d+_0x2ed32c]^=_0x4360ea[_0x2ed32c];}return _0x4d3235;}()),_0x1fc2ac=_0x454ac2['pad']={},_0xe82569=_0x1fc2ac[_0x4905e7(0x186)]={'pad':function(_0x4141b5,_0x3e2748){var _0x50372e=_0x4905e7;for(var _0xf6120f=_0x3e2748*0x4,_0x3d3723=_0xf6120f-_0x4141b5[_0x50372e(0xd9)]%_0xf6120f,_0x3ff36c=_0x3d3723<<0x18|_0x3d3723<<0x10|_0x3d3723<<0x8|_0x3d3723,_0x26cd41=[],_0x5a2052=0x0;_0x5a2052<_0x3d3723;_0x5a2052+=0x4)_0x26cd41['push'](_0x3ff36c);var _0x1ba885=_0x44047b['create'](_0x26cd41,_0x3d3723);_0x4141b5['concat'](_0x1ba885);},'unpad':function(_0x299ba6){var _0x2f2856=_0x4905e7,_0x25b7bd=_0x299ba6[_0x2f2856(0x23b)][_0x299ba6[_0x2f2856(0xd9)]-0x1>>>0x2]&0xff;_0x299ba6[_0x2f2856(0xd9)]-=_0x25b7bd;}};_0x2dc3d4[_0x4905e7(0x356)]=_0x1b69bb['extend']({'cfg':_0x1b69bb['cfg']['extend']({'mode':_0x9b6d46,'padding':_0xe82569}),'reset':function(){var _0x1538bf=_0x4905e7,_0x5519b2;_0x1b69bb[_0x1538bf(0x318)][_0x1538bf(0x28b)](this);var _0x3cdfaf=this['cfg'],_0x2fd75e=_0x3cdfaf['iv'],_0x5bd80a=_0x3cdfaf[_0x1538bf(0x311)];this[_0x1538bf(0x161)]==this['_ENC_XFORM_MODE']?_0x5519b2=_0x5bd80a[_0x1538bf(0x158)]:(_0x5519b2=_0x5bd80a[_0x1538bf(0x2e5)],this[_0x1538bf(0x18d)]=0x1),this['_mode']&&this[_0x1538bf(0x10c)][_0x1538bf(0x215)]==_0x5519b2?this[_0x1538bf(0x10c)][_0x1538bf(0x2c4)](this,_0x2fd75e&&_0x2fd75e[_0x1538bf(0x23b)]):(this[_0x1538bf(0x10c)]=_0x5519b2[_0x1538bf(0x28b)](_0x5bd80a,this,_0x2fd75e&&_0x2fd75e[_0x1538bf(0x23b)]),this[_0x1538bf(0x10c)]['__creator']=_0x5519b2);},'_doProcessBlock':function(_0x53f9cb,_0x4b66a5){var _0x9b9684=_0x4905e7;this[_0x9b9684(0x10c)][_0x9b9684(0x1fe)](_0x53f9cb,_0x4b66a5);},'_doFinalize':function(){var _0x53e202=_0x4905e7,_0x3481eb,_0x5b92af=this[_0x53e202(0x2a8)][_0x53e202(0x111)];return this[_0x53e202(0x161)]==this[_0x53e202(0x22a)]?(_0x5b92af[_0x53e202(0x272)](this[_0x53e202(0x184)],this[_0x53e202(0x270)]),_0x3481eb=this[_0x53e202(0x2c7)](!0x0)):(_0x3481eb=this[_0x53e202(0x2c7)](!0x0),_0x5b92af[_0x53e202(0x3a2)](_0x3481eb)),_0x3481eb;},'blockSize':0x80/0x20});var _0x3210c3=_0x2dc3d4[_0x4905e7(0x176)]=_0x447a82[_0x4905e7(0x14a)]({'init':function(_0x1a9908){this['mixIn'](_0x1a9908);},'toString':function(_0x3ed262){var _0x36ecbd=_0x4905e7;return(_0x3ed262||this['formatter'])[_0x36ecbd(0xf4)](this);}}),_0x2acf6b=_0x454ac2[_0x4905e7(0x163)]={},_0x1080fc=_0x2acf6b[_0x4905e7(0x34e)]={'stringify':function(_0x57e60d){var _0x271b74=_0x4905e7,_0x3663e2,_0x5977dc=_0x57e60d[_0x271b74(0x20f)],_0x339975=_0x57e60d[_0x271b74(0x1ab)];return _0x339975?_0x3663e2=_0x44047b[_0x271b74(0x109)]([0x53616c74,0x65645f5f])[_0x271b74(0x2fb)](_0x339975)['concat'](_0x5977dc):_0x3663e2=_0x5977dc,_0x3663e2[_0x271b74(0x394)](_0x4119a4);},'parse':function(_0x446f4d){var _0x37bf8c=_0x4905e7,_0x55f528,_0x5263cd=_0x4119a4[_0x37bf8c(0x1c6)](_0x446f4d),_0x89f597=_0x5263cd['words'];return _0x89f597[0x0]==0x53616c74&&_0x89f597[0x1]==0x65645f5f&&(_0x55f528=_0x44047b[_0x37bf8c(0x109)](_0x89f597['slice'](0x2,0x4)),_0x89f597[_0x37bf8c(0x281)](0x0,0x4),_0x5263cd[_0x37bf8c(0xd9)]-=0x10),_0x3210c3[_0x37bf8c(0x109)]({'ciphertext':_0x5263cd,'salt':_0x55f528});}},_0x466db7=_0x2dc3d4[_0x4905e7(0x1a9)]=_0x447a82[_0x4905e7(0x14a)]({'cfg':_0x447a82[_0x4905e7(0x14a)]({'format':_0x1080fc}),'encrypt':function(_0x4fb008,_0x5f2334,_0x47c1e5,_0x42da1a){var _0x26d2e6=_0x4905e7;_0x42da1a=this[_0x26d2e6(0x2a8)]['extend'](_0x42da1a);var _0x5d7d48=_0x4fb008[_0x26d2e6(0x158)](_0x47c1e5,_0x42da1a),_0x34852c=_0x5d7d48['finalize'](_0x5f2334),_0x442581=_0x5d7d48['cfg'];return _0x3210c3[_0x26d2e6(0x109)]({'ciphertext':_0x34852c,'key':_0x47c1e5,'iv':_0x442581['iv'],'algorithm':_0x4fb008,'mode':_0x442581[_0x26d2e6(0x311)],'padding':_0x442581[_0x26d2e6(0x111)],'blockSize':_0x4fb008[_0x26d2e6(0x270)],'formatter':_0x42da1a[_0x26d2e6(0x163)]});},'decrypt':function(_0x4cb672,_0x177159,_0x9806a3,_0xe13f5){var _0x50b317=_0x4905e7;_0xe13f5=this[_0x50b317(0x2a8)]['extend'](_0xe13f5),_0x177159=this['_parse'](_0x177159,_0xe13f5[_0x50b317(0x163)]);var _0x4b571c=_0x4cb672[_0x50b317(0x2e5)](_0x9806a3,_0xe13f5)[_0x50b317(0x3a9)](_0x177159[_0x50b317(0x20f)]);return _0x4b571c;},'_parse':function(_0x4a03e6,_0x3e885a){var _0x2fadef=_0x4905e7;return typeof _0x4a03e6=='string'?_0x3e885a[_0x2fadef(0x1c6)](_0x4a03e6,this):_0x4a03e6;}}),_0x150b71=_0x454ac2[_0x4905e7(0x17e)]={},_0xecd6ea=_0x150b71[_0x4905e7(0x34e)]={'execute':function(_0x518356,_0x6cadca,_0x3f6f47,_0x137b86,_0x3f7dfe){var _0x32ddc5=_0x4905e7;if(_0x137b86||(_0x137b86=_0x44047b[_0x32ddc5(0x398)](0x40/0x8)),_0x3f7dfe)var _0x53f5db=_0x290319[_0x32ddc5(0x109)]({'keySize':_0x6cadca+_0x3f6f47,'hasher':_0x3f7dfe})[_0x32ddc5(0x1b6)](_0x518356,_0x137b86);else var _0x53f5db=_0x290319['create']({'keySize':_0x6cadca+_0x3f6f47})[_0x32ddc5(0x1b6)](_0x518356,_0x137b86);var _0x418ee5=_0x44047b[_0x32ddc5(0x109)](_0x53f5db['words'][_0x32ddc5(0x39a)](_0x6cadca),_0x3f6f47*0x4);return _0x53f5db[_0x32ddc5(0xd9)]=_0x6cadca*0x4,_0x3210c3[_0x32ddc5(0x109)]({'key':_0x53f5db,'iv':_0x418ee5,'salt':_0x137b86});}},_0x3c7bc9=_0x2dc3d4[_0x4905e7(0x168)]=_0x466db7[_0x4905e7(0x14a)]({'cfg':_0x466db7[_0x4905e7(0x2a8)][_0x4905e7(0x14a)]({'kdf':_0xecd6ea}),'encrypt':function(_0x31db3d,_0x50bf68,_0x37d938,_0x23b501){var _0x3ebc28=_0x4905e7;_0x23b501=this[_0x3ebc28(0x2a8)][_0x3ebc28(0x14a)](_0x23b501);var _0x3c7680=_0x23b501[_0x3ebc28(0x17e)][_0x3ebc28(0x150)](_0x37d938,_0x31db3d[_0x3ebc28(0x114)],_0x31db3d[_0x3ebc28(0x22e)],_0x23b501[_0x3ebc28(0x1ab)],_0x23b501[_0x3ebc28(0xc3)]);_0x23b501['iv']=_0x3c7680['iv'];var _0x40580e=_0x466db7[_0x3ebc28(0x263)][_0x3ebc28(0x28b)](this,_0x31db3d,_0x50bf68,_0x3c7680[_0x3ebc28(0x188)],_0x23b501);return _0x40580e[_0x3ebc28(0x28a)](_0x3c7680),_0x40580e;},'decrypt':function(_0x5918ea,_0x17e14a,_0x54a1f8,_0x5e2afa){var _0x3f1427=_0x4905e7;_0x5e2afa=this['cfg'][_0x3f1427(0x14a)](_0x5e2afa),_0x17e14a=this[_0x3f1427(0x2b1)](_0x17e14a,_0x5e2afa[_0x3f1427(0x163)]);var _0x294de6=_0x5e2afa[_0x3f1427(0x17e)][_0x3f1427(0x150)](_0x54a1f8,_0x5918ea[_0x3f1427(0x114)],_0x5918ea['ivSize'],_0x17e14a[_0x3f1427(0x1ab)],_0x5e2afa['hasher']);_0x5e2afa['iv']=_0x294de6['iv'];var _0x18d2fc=_0x466db7[_0x3f1427(0x33f)]['call'](this,_0x5918ea,_0x17e14a,_0x294de6[_0x3f1427(0x188)],_0x5e2afa);return _0x18d2fc;}});}();}));}(Je)),Je[_0x40a191(0x3a0)];}var gn=Ve[_0x116ce9(0x3a0)],ti;function Sn(){return ti||(ti=0x1,function(_0x2421fc,_0x4b19e6){(function(_0x527f1f,_0x5b947b,_0x4bbb04){var _0x37356a=_0x2a22;_0x2421fc[_0x37356a(0x3a0)]=_0x5b947b(te(),Ri(),ln(),Oi(),bi());}(gn,function(_0x53b706){var _0x3f09f0=_0x2a22;return(function(){var _0x3ac2ae=_0x2a22,_0x56630e=_0x53b706,_0x485ffa=_0x56630e[_0x3ac2ae(0x153)],_0x133d3f=_0x485ffa[_0x3ac2ae(0x356)],_0x14670e=_0x56630e[_0x3ac2ae(0x1a1)],_0x427422=[],_0x4b7dff=[],_0x3d8ee9=[],_0x107a4c=[],_0x16ec05=[],_0x4261a0=[],_0x45cffc=[],_0x48f6ac=[],_0x49d97f=[],_0x1d3036=[];(function(){for(var _0x100c19=[],_0x453e51=0x0;_0x453e51<0x100;_0x453e51++)_0x453e51<0x80?_0x100c19[_0x453e51]=_0x453e51<<0x1:_0x100c19[_0x453e51]=_0x453e51<<0x1^0x11b;for(var _0x4f62b4=0x0,_0x234c97=0x0,_0x453e51=0x0;_0x453e51<0x100;_0x453e51++){var _0x477a6b=_0x234c97^_0x234c97<<0x1^_0x234c97<<0x2^_0x234c97<<0x3^_0x234c97<<0x4;_0x477a6b=_0x477a6b>>>0x8^_0x477a6b&0xff^0x63,_0x427422[_0x4f62b4]=_0x477a6b,_0x4b7dff[_0x477a6b]=_0x4f62b4;var _0x21d785=_0x100c19[_0x4f62b4],_0x39c71a=_0x100c19[_0x21d785],_0x2d532a=_0x100c19[_0x39c71a],_0x49267f=_0x100c19[_0x477a6b]*0x101^_0x477a6b*0x1010100;_0x3d8ee9[_0x4f62b4]=_0x49267f<<0x18|_0x49267f>>>0x8,_0x107a4c[_0x4f62b4]=_0x49267f<<0x10|_0x49267f>>>0x10,_0x16ec05[_0x4f62b4]=_0x49267f<<0x8|_0x49267f>>>0x18,_0x4261a0[_0x4f62b4]=_0x49267f;var _0x49267f=_0x2d532a*0x1010101^_0x39c71a*0x10001^_0x21d785*0x101^_0x4f62b4*0x1010100;_0x45cffc[_0x477a6b]=_0x49267f<<0x18|_0x49267f>>>0x8,_0x48f6ac[_0x477a6b]=_0x49267f<<0x10|_0x49267f>>>0x10,_0x49d97f[_0x477a6b]=_0x49267f<<0x8|_0x49267f>>>0x18,_0x1d3036[_0x477a6b]=_0x49267f,_0x4f62b4?(_0x4f62b4=_0x21d785^_0x100c19[_0x100c19[_0x100c19[_0x2d532a^_0x21d785]]],_0x234c97^=_0x100c19[_0x100c19[_0x234c97]]):_0x4f62b4=_0x234c97=0x1;}}());var _0x14c32f=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x19b3a5=_0x14670e['AES']=_0x133d3f[_0x3ac2ae(0x14a)]({'_doReset':function(){var _0x1680a6=_0x3ac2ae,_0x84e8b1;if(!(this[_0x1680a6(0x359)]&&this[_0x1680a6(0x3c3)]===this[_0x1680a6(0xc0)])){for(var _0x23145b=this[_0x1680a6(0x3c3)]=this[_0x1680a6(0xc0)],_0x4db5ca=_0x23145b[_0x1680a6(0x23b)],_0x26b4d2=_0x23145b[_0x1680a6(0xd9)]/0x4,_0x10dace=this[_0x1680a6(0x359)]=_0x26b4d2+0x6,_0x45cb9e=(_0x10dace+0x1)*0x4,_0x131b61=this[_0x1680a6(0x2e2)]=[],_0x3baf1f=0x0;_0x3baf1f<_0x45cb9e;_0x3baf1f++)_0x3baf1f<_0x26b4d2?_0x131b61[_0x3baf1f]=_0x4db5ca[_0x3baf1f]:(_0x84e8b1=_0x131b61[_0x3baf1f-0x1],_0x3baf1f%_0x26b4d2?_0x26b4d2>0x6&&_0x3baf1f%_0x26b4d2==0x4&&(_0x84e8b1=_0x427422[_0x84e8b1>>>0x18]<<0x18|_0x427422[_0x84e8b1>>>0x10&0xff]<<0x10|_0x427422[_0x84e8b1>>>0x8&0xff]<<0x8|_0x427422[_0x84e8b1&0xff]):(_0x84e8b1=_0x84e8b1<<0x8|_0x84e8b1>>>0x18,_0x84e8b1=_0x427422[_0x84e8b1>>>0x18]<<0x18|_0x427422[_0x84e8b1>>>0x10&0xff]<<0x10|_0x427422[_0x84e8b1>>>0x8&0xff]<<0x8|_0x427422[_0x84e8b1&0xff],_0x84e8b1^=_0x14c32f[_0x3baf1f/_0x26b4d2|0x0]<<0x18),_0x131b61[_0x3baf1f]=_0x131b61[_0x3baf1f-_0x26b4d2]^_0x84e8b1);for(var _0x5beb63=this[_0x1680a6(0x209)]=[],_0x394eeb=0x0;_0x394eeb<_0x45cb9e;_0x394eeb++){var _0x3baf1f=_0x45cb9e-_0x394eeb;if(_0x394eeb%0x4)var _0x84e8b1=_0x131b61[_0x3baf1f];else var _0x84e8b1=_0x131b61[_0x3baf1f-0x4];_0x394eeb<0x4||_0x3baf1f<=0x4?_0x5beb63[_0x394eeb]=_0x84e8b1:_0x5beb63[_0x394eeb]=_0x45cffc[_0x427422[_0x84e8b1>>>0x18]]^_0x48f6ac[_0x427422[_0x84e8b1>>>0x10&0xff]]^_0x49d97f[_0x427422[_0x84e8b1>>>0x8&0xff]]^_0x1d3036[_0x427422[_0x84e8b1&0xff]];}}},'encryptBlock':function(_0x598c56,_0x4e8fde){var _0x382243=_0x3ac2ae;this[_0x382243(0x1d5)](_0x598c56,_0x4e8fde,this[_0x382243(0x2e2)],_0x3d8ee9,_0x107a4c,_0x16ec05,_0x4261a0,_0x427422);},'decryptBlock':function(_0x40a8ec,_0x479c51){var _0x4ebf51=_0x40a8ec[_0x479c51+0x1];_0x40a8ec[_0x479c51+0x1]=_0x40a8ec[_0x479c51+0x3],_0x40a8ec[_0x479c51+0x3]=_0x4ebf51,this['_doCryptBlock'](_0x40a8ec,_0x479c51,this['_invKeySchedule'],_0x45cffc,_0x48f6ac,_0x49d97f,_0x1d3036,_0x4b7dff);var _0x4ebf51=_0x40a8ec[_0x479c51+0x1];_0x40a8ec[_0x479c51+0x1]=_0x40a8ec[_0x479c51+0x3],_0x40a8ec[_0x479c51+0x3]=_0x4ebf51;},'_doCryptBlock':function(_0x7d88ba,_0xa93386,_0x2dfba9,_0x5804c1,_0x7d8de2,_0x3b2285,_0x45301c,_0x14a540){var _0xe9aaaf=_0x3ac2ae;for(var _0x2f26d9=this[_0xe9aaaf(0x359)],_0x150512=_0x7d88ba[_0xa93386]^_0x2dfba9[0x0],_0x182c4a=_0x7d88ba[_0xa93386+0x1]^_0x2dfba9[0x1],_0x2334fd=_0x7d88ba[_0xa93386+0x2]^_0x2dfba9[0x2],_0x3fa055=_0x7d88ba[_0xa93386+0x3]^_0x2dfba9[0x3],_0x249504=0x4,_0x4f3a3f=0x1;_0x4f3a3f<_0x2f26d9;_0x4f3a3f++){var _0x51b1b9=_0x5804c1[_0x150512>>>0x18]^_0x7d8de2[_0x182c4a>>>0x10&0xff]^_0x3b2285[_0x2334fd>>>0x8&0xff]^_0x45301c[_0x3fa055&0xff]^_0x2dfba9[_0x249504++],_0x1981cc=_0x5804c1[_0x182c4a>>>0x18]^_0x7d8de2[_0x2334fd>>>0x10&0xff]^_0x3b2285[_0x3fa055>>>0x8&0xff]^_0x45301c[_0x150512&0xff]^_0x2dfba9[_0x249504++],_0x397eae=_0x5804c1[_0x2334fd>>>0x18]^_0x7d8de2[_0x3fa055>>>0x10&0xff]^_0x3b2285[_0x150512>>>0x8&0xff]^_0x45301c[_0x182c4a&0xff]^_0x2dfba9[_0x249504++],_0x1e3958=_0x5804c1[_0x3fa055>>>0x18]^_0x7d8de2[_0x150512>>>0x10&0xff]^_0x3b2285[_0x182c4a>>>0x8&0xff]^_0x45301c[_0x2334fd&0xff]^_0x2dfba9[_0x249504++];_0x150512=_0x51b1b9,_0x182c4a=_0x1981cc,_0x2334fd=_0x397eae,_0x3fa055=_0x1e3958;}var _0x51b1b9=(_0x14a540[_0x150512>>>0x18]<<0x18|_0x14a540[_0x182c4a>>>0x10&0xff]<<0x10|_0x14a540[_0x2334fd>>>0x8&0xff]<<0x8|_0x14a540[_0x3fa055&0xff])^_0x2dfba9[_0x249504++],_0x1981cc=(_0x14a540[_0x182c4a>>>0x18]<<0x18|_0x14a540[_0x2334fd>>>0x10&0xff]<<0x10|_0x14a540[_0x3fa055>>>0x8&0xff]<<0x8|_0x14a540[_0x150512&0xff])^_0x2dfba9[_0x249504++],_0x397eae=(_0x14a540[_0x2334fd>>>0x18]<<0x18|_0x14a540[_0x3fa055>>>0x10&0xff]<<0x10|_0x14a540[_0x150512>>>0x8&0xff]<<0x8|_0x14a540[_0x182c4a&0xff])^_0x2dfba9[_0x249504++],_0x1e3958=(_0x14a540[_0x3fa055>>>0x18]<<0x18|_0x14a540[_0x150512>>>0x10&0xff]<<0x10|_0x14a540[_0x182c4a>>>0x8&0xff]<<0x8|_0x14a540[_0x2334fd&0xff])^_0x2dfba9[_0x249504++];_0x7d88ba[_0xa93386]=_0x51b1b9,_0x7d88ba[_0xa93386+0x1]=_0x1981cc,_0x7d88ba[_0xa93386+0x2]=_0x397eae,_0x7d88ba[_0xa93386+0x3]=_0x1e3958;},'keySize':0x100/0x20});_0x56630e[_0x3ac2ae(0x11f)]=_0x133d3f['_createHelper'](_0x19b3a5);}()),_0x53b706[_0x3f09f0(0x11f)];}));}(Ve)),Ve['exports'];}var En=Sn();const In=$e(En);var Tn=Ri();const ii=$e(Tn);var Xe={'exports':{}},Cn=Xe['exports'],si;function Rn(){return si||(si=0x1,function(_0x5429e2,_0x1089e0){(function(_0x4e2f3b,_0x375bf2){var _0x36d363=_0x2a22;_0x5429e2[_0x36d363(0x3a0)]=_0x375bf2(te());}(Cn,function(_0x310d6f){var _0x2abf96=_0x2a22;return _0x310d6f[_0x2abf96(0xfa)]['Utf8'];}));}(Xe)),Xe['exports'];}var On=Rn();const bn=$e(On);var Ze={'exports':{}},yn=Ze[_0x116ce9(0x3a0)],ni;function Nn(){var _0x2a8cc8=_0x116ce9;return ni||(ni=0x1,function(_0x3e7e2b,_0x2a065e){(function(_0x25290a,_0x4cf4eb){var _0x3997fb=_0x2a22;_0x3e7e2b[_0x3997fb(0x3a0)]=_0x4cf4eb(te());}(yn,function(_0x52963a){var _0x3d8219=_0x2a22;return(function(){var _0x3e31f6=_0x2a22;if(typeof ArrayBuffer==_0x3e31f6(0x348)){var _0x41cabf=_0x52963a,_0x43aed4=_0x41cabf[_0x3e31f6(0x153)],_0x3ec4f3=_0x43aed4[_0x3e31f6(0x1a6)],_0x482be2=_0x3ec4f3[_0x3e31f6(0x2c4)],_0x98eb51=_0x3ec4f3[_0x3e31f6(0x2c4)]=function(_0x369f56){var _0xa4d80f=_0x3e31f6;if(_0x369f56 instanceof ArrayBuffer&&(_0x369f56=new Uint8Array(_0x369f56)),(_0x369f56 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x369f56 instanceof Uint8ClampedArray||_0x369f56 instanceof Int16Array||_0x369f56 instanceof Uint16Array||_0x369f56 instanceof Int32Array||_0x369f56 instanceof Uint32Array||_0x369f56 instanceof Float32Array||_0x369f56 instanceof Float64Array)&&(_0x369f56=new Uint8Array(_0x369f56['buffer'],_0x369f56['byteOffset'],_0x369f56[_0xa4d80f(0xf1)])),_0x369f56 instanceof Uint8Array){for(var _0x3736e4=_0x369f56[_0xa4d80f(0xf1)],_0x133d08=[],_0x177a96=0x0;_0x177a96<_0x3736e4;_0x177a96++)_0x133d08[_0x177a96>>>0x2]|=_0x369f56[_0x177a96]<<0x18-_0x177a96%0x4*0x8;_0x482be2[_0xa4d80f(0x28b)](this,_0x133d08,_0x3736e4);}else _0x482be2['apply'](this,arguments);};_0x98eb51['prototype']=_0x3ec4f3;}}()),_0x52963a['lib'][_0x3d8219(0x1a6)];}));}(Ze)),Ze[_0x2a8cc8(0x3a0)];}var Dn=Nn();const Un=$e(Dn);var Qe={'exports':{}},An=Qe[_0x116ce9(0x3a0)],ri;function wn(){return ri||(ri=0x1,function(_0x3ee0ee,_0x2fd625){(function(_0x35e3ea,_0x1997bb,_0x4f162c){var _0x7f065=_0x2a22;_0x3ee0ee[_0x7f065(0x3a0)]=_0x1997bb(te(),bi());}(An,function(_0x5f5b95){var _0x25a378=_0x2a22;return _0x5f5b95['pad'][_0x25a378(0x1d3)]={'pad':function(){},'unpad':function(){}},_0x5f5b95['pad']['NoPadding'];}));}(Qe)),Qe['exports'];}var Pn=wn();const Mn=$e(Pn);function _0x2a22(_0x5d3cb9,_0x444ef3){var _0x1e8678=_0x1e86();return _0x2a22=function(_0x2a22a7,_0x12846d){_0x2a22a7=_0x2a22a7-0xaf;var _0x3e69ce=_0x1e8678[_0x2a22a7];return _0x3e69ce;},_0x2a22(_0x5d3cb9,_0x444ef3);}function _0x1e86(){var _0x5dab45=['subscribe','UUID','getImage','closeSession','appendMutation','find','_decreaseWaiting','state','getRoom','concat','[SyncedState]:\x20received\x20rejection.','_replayCachedMutations','7731xixyka','routeKey','onRemoteChangeset','_onConflict','compose','SHA1','_transformService','actions','Hasher','objectID','_createSocket','title','commentUpdate$','startTime','_init','LICENSE_MAX_UNITS_EXCEEDED','unitInfo$','iterations','_type','mode','filter','max','WECHAT_HAS_BEEN_BOUND','?url=','INGEST','LOGIN_FAILED','reset','_timeoutTimer','_onConnectionFailed','getSnapshotAPIPath','APPLY_DUPLICATED','charCodeAt','unknown','changesets','event$','onRemoteAck','has','_config','FETCH_MISSING','_sessionStatus$','post','_undoRedoService','UNIVER_COLLABORATION_CLIENT_PLUGIN','MOBILE_HAS_BEEN_BOUND','newCsEvent','send','entityInit$','LIVESHARE_TERMINATE','_onJoinRoomEvent','loadSheet','resolve','SOCKET_FAILED_RETRY','session.room-full','CHANGESET_ACK','HMAC','getUnitStatus$','UNIVER_UNKNOWN','close$','now','_doCreateSocket','Could\x20not\x20dynamically\x20require\x20\x22','UNIVER_SHEET','_status$','/resources','onCommandExecuted','decrypt','_retryCount','_scheduleCompleteTimestamp','loadUnit','src','onLocalMutation','/unit/','fromCollab','debug','function','_doFinalize','PERMISSION_DENIED','error$','_submitChangeset','_getAPIPrefixPath','OpenSSL','duration','[OfflineState]:\x20received\x20rejection.','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_showConflictNotification','_onUserLeave','loadOfflineData','\x20in\x20_schedule.','BlockCipher','Decryptor','result','_nRounds','c2Prime','joinRsp','POST','_transformIMECache','href','ONLINE','_eventService','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','x-univer-host','min','every','_changesetSessionId','SNAPSHOT_INVALID_SNAPSHOT','getTypeOfUnitAdded$','HEARTBEAT_TIMEOUT','CHANGESET_REVISION_CONFILICT','460658NTpTaZ','EMAIL_HAS_BEEN_BOUND','_commandService','submit\x20changeset\x20error!','_acknowledgedAwaitingChangeset','_userManagerService','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','next','_telemetryInfo','[FetchMissState]','_commentUpdate$','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','updatePermissionObjEvent','_transformSelections','1jrueRY','pending','univer-pro.collaboration-client.single-active-unit-service','_joinRoom','Error\x20on\x20receiving\x20event','_doReset','_createHelper','_checkMissing','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_event$','interceptor','override','_createHandler','_socketMessageSubscription','_replaceFileID','updateOfflineData','_transformRemoteChangesetByIMECache','readAsDataURL','JOIN_ROOM_PERMISSION_DENIED','editing\x20status\x20changed\x20to','ERROR_EXCEED_SIZE','__Key__','FAIL','get','APPLY_NON_SEQUENTIAL_REVISION','replace','mutations','_hash','toString','_unitID','getOwnPropertyDescriptor','HEARTBEAT_INTERVAL','random','memberID','slice','_updateLocalCache','onTransformSelections','fetchThroughInterceptors','push','PERMISSION_REJ','exports','csAckEvent','unpad','clamp','addHandlerCallback','params','unitId','SUCCUSS','_onRecvEvent','finalize','getInterceptPoints','update','onTransformRemoteChangesetByIMECache','liveShareNewHost','batchAllowed','enableAuthServer','_awaitingChangeset','reduce','substr','onStateChange','_onFetchMissResult','JOINING','INTERNAL_ERROR','fromCharCode','members$','reject','JOIN_ROOM_FULL','ENSURE_SNAPSHOT_EXECUTION','_clearTimeoutTimer','BlockCipherMode','_registerDependencies','_substituteUndoStack','_sessions','c1Prime','_toggleOnline','_keyPriorReset','collaborators','getWorkbookSelections','requestParams','_append','SNAPSHOT_HAS_BEEN_REMOVED','enableOfflineEditing','objectType','csRejEvent','socketService','[OfflineState]:\x20received\x20acknowledgement.','socket$','delete','\x20to\x20','APPLY_PERMISSION_DENIED','_isPermissionRej','onlyLocal','_candidateSocket','_key','conflict','/universer-api/uniscript','hasher','not_collab','collaboratorID','onTransformRemoteChangesetByStateCache','_univerInstanceService','ceil','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','add','HttpImport','YUUMI_URL_COL_OUT_OF_RANGE','sendChangesetTimeout','AWAITING','_transformStack','localCacheService','isPermissionRej','dispose','action','/universer-api/authz','onTransformState','socket\x20open.','RECV','CBC','sigBytes','_getCurrentRevision','COMPRESS_MUTATION_SEND','_telemetryService','[CollaborationEntity]','_state$','onRemoteRej','_networkConditionService','clear','rev','_executeRemoteChangeset','collaboration_new_changeset','transformMutationsWithChangeset','_stopTelemetryCollaborationNewChangeset','DEFAULT_FILE_NAME','collaboration-client.config','_collaborationUIEventService','[SyncedState]:\x20received\x20acknowledgement.','_startCollaboration','NOT_FOUND','auth.needGotoLoginAlert','_retryConnectingTimer','copyFileMeta','disposeWithMe','byteLength','_socketReady','_resendTimeout','stringify','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','awaitingChangeset','LIVESHARE_REQUEST_HOST','authzUrl','awaiting_with_pending','enc','OPTIONAL','image/gif','_lockTransition','_createInitialStateImpl','_waitForHeartbeatResponse','saveImage','session','status','LOCAL_CACHE_INTERVAL','readyForCollab','baseRev','JOIN','prototype','save\x20fail\x20reason\x20is\x20','create','connection\x20error','MOBILE_VERIFY_CODE_MISMATCH','_mode','stopTime','145zDBRHf','[CollaborationSession]','_emitMembers','padding','error','AWAITING_WITH_PENDING','keySize','[UniverCollaborationClientPlugin]','joinEvent','saveSnapshot','SYNCED','_permissionService','method','_iv','abs','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','from','AES','_queuedRemoteChangesets','_onOffline','encodeURIComponent','_getUploadFileURL','[CollaborationUndoRedoService]','Base','_sendHeartbeat','randomBytes','disableLocalCache','editingUnit','getCurrentSelections','FETCH_MISS','UNISCRIPT_RUN','forEach','responseType','\x0aAfter:\x20','getUnitId','capture','body','INVITE_CODE_HAS_BEEN_UES','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','/role','_clearCollaborationTimeoutTimer','JOIN_ROOM_NOT_EXISTS','getCollabEntity','CHANGESET_SHOULD_RETRY','COMPLETION_FINISHED','MSG_FOR_ERROR','LIVESHARE_OPERATION','createInstance','/rev/','univer-pro.collaboration-client-socket-service','open$','join','putCollaborators','readInt32LE','name','ALREADY_EXISTS','_resendTimer','_handler','_compressMutationService','findIndex','extend','_collaborationPaused','$super','cmd','members','_scheduleCollaborationTimeoutTimer','execute','resourceIDs','72QCGnez','lib','INVALID_INVITE_CODE','HmacMD5','_logService','_state','createEncryptor','119ySxcAK','localeService','_injector','StreamCipher','selections','_map','telemetry\x20info\x20is\x20not\x20initialized','_tryEnsureSocket','_xformMode','getRandomValues','format','_clearLocalCache','reconnect','/object/','CLOSE_ROOM','PasswordBasedCipher','unsubscribe','GLOBAL_ROOMS_CNT_EXCEEDS','_createHmacHelper','string','/fetchmissing?from=','_getDownloadEndpointURL','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','entries','eventID','JOIN_ROOM_FAILED','toggleOffline','retryConnectingInterval','resend','CipherParams','UnitSnapshot','uniscriptRunEvent','_fetchMissChangesets','_roomMembers','[DataLoaderService]','_createInitialState','hostname','kdf','_getUndoStack','downloadEndpointUrl','_updateState','UNRECOGNIZED','getCollabEntity$','_data','/allowed','Pkcs7','_throwTelemetryCollaborationNewChangeset','key','HttpExport','loadDoc','type','_socket$','_minBufferSize','asObservable','USERS_ENTER','reqId','_change$','EMAIL_VERIFY_CODE_MISMATCH','YUUMI_AI_RUN_FAILED','_initUnitPermissionChange','_shouldReportTelemetry','length','YUUMI_ALL_TABLES_IS_INVALID','_reverseMap','_getLoginPath','refreshPermission','includes','fetchMiss','size','_clearUndo','_transitionLocked','_resendWithTimeout','algo','UNKNOWN_CODE','_exhaustRemoteChangesetQueue','getSheetId','/collaborator','WordArray','liveShareOperation','loginUrlKey','SerializableCipher','_onUserJoin','salt','/-/object/-/batch_allowed','14748QepkZK','onRemoteRetry','_collaborationTimeoutTimer','_startTelemetryCollaborationNewChangeset','unitID','onMissedChangesetFetched','_cipher','getFocusedUnit','_tryReconnect','compute','listRoles','_localCacheService','CONNECTOR_DATA_TOO_LARGE','catch','workbook','TOO_MANY_REQUESTS','sin','avatar','toggleOnline','leaveEvent','setWaitCount','YUUMI_ASYNCIO_CANCELLED','getAllMembers','_initMergeInterceptor','_updateStatus','parse','[PendingState]:\x20received\x20rejection.','univer-pro.collaboration-client.network-condition.service','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','&assign=','target','csShouldRetryEvent','allowed','CONFLICT','UNAUTHENTICATED','removeMember','USERS_LEAVE','_listenToNetworkCondition','NoPadding','initWorkbookPermissionChange','_doCryptBlock','Base64','_members','/universer-api/user/session-ticket','PY_RUNTIME_SCRIPT_ERROR','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','saveChangeset','addImageSourceCache','_getRedoStack','/object','emitEvent','updateMember','933428QKhJVd','_transformStateCache','59424bkXaIu','UPDATE_CURSOR','encryptBlock','floor','hasOwnProperty','_undoStacks','_remoteChangesetQueue','location','OTHER_CLIENT_EDITING','_schedule','onCommentUpdate','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_commentService','dispose$','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_clearRedo','default','INVITE_CODE_REQUIRED','revision','ws://127.0.0.1:8000/universer-api/comb/connect','UNIVER_SLIDE','UNIVER_DOC','_onRemoteRejected','headers','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','charAt','NEW_CHANGESETS','processBlock','getCurrentUser','_substituteRedoStack','getTypeOfUnitDisposed$','state$','YUUMI_SUBSCRIPTION_NOT_FOUND','/universer-api/file/{fileID}/sign-url','_rescheduleHeartbeat','_configService','/block/','COMMENT_UPDATE','_invKeySchedule','_onRemoteChangeset','_removeRoom','Encryptor','_entities','sid','ciphertext','listCollaborators','symbol','onTransformIME','_entityInit$','_collaborationSessionService','__creator','MUTATION','_socket','offline','SUBMIT_CHANGESET','decryptBlock','message$','\x0aCurrent:\x20','roles','getValue','image/jpeg','session.room-not-exists','Undefined','EvpKDF','_clearHeartbeatTimer','PENDING','originalMeta','/universer-api/comb','session.join-failed','set','sheets','_ENC_XFORM_MODE','YUUMI_TABLE_NOT_FOUND_IN_UNIT','{fileID}','_unitInfo$','ivSize','_applyRemoteChangeset','code','_HTTPService','getConfig','updateSnapshot','updateCollaborator','_sendHeartbeatTimer','incrementRevOfUnit','_getAPIPrefix','IDLE','_revisionService','getCurrentRevOfUnit','words','_instanceService','_clearScheduledTask','m2Prime','onMissingChangesets','UNDEFINED','APPLY_REJECT','People','1018494ZrHXtV','_members$','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','indexOf','UNIVER_PROJECT','_handlerCallback','data','_collabSessionService','Latin1','_sender','append','textRanges','range','isArray','HELLO','MD5','sessionStatus$','SUBMIT_CHANGESET_TIMEOUT','fetchMissingChangesets','startsWith','pauseCollaboration','infoRsp','_syncEditingCollabCursor','[CollaborationSessionService]:\x20socket\x20error','image/bmp','LIVESHARE_NEW_HOST','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','UserProfileImg','signUrlServerUrl','encode','SOCKET_FAILED','setConfig','encrypt','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_waitCount','pipe','_clearRetryConnectingTimer','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','then','_redoStacks','updatePermissionPoint','complete','OFFLINE','_localeService','_iKey','blockSize','PERSON','pad','status$','_onRemoteRetry','_nDataBytes','_httpService','clone','UnitEmbedded','Utf8','COMPRESS_MUTATION_APPLY','map','Cipher','UPDATE_PERMISSION_OBJ','_hasher','LEAVE','LIVESHARE_FETCH_OPERATIONS','splice','INVITE_CODE_ALREADY_BOUND','2632xLXyIe','subject','enableSingleActiveInstanceLock','__esModule','[OfflineState]:\x20received\x20changeset.','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','change$','mixIn','call','LICENSE_IMPORT_SIZE_EXCEEDED','loadUnitOfRevision','HEARTBEAT','onSendChangeset','_getSendChangesetTimeout','transformUndoRedo','snapshotServerUrl','Malformed\x20UTF-8\x20data','_imageSourceCache','pluginName','APPLY_REVISION_CONFILICT','requireSession','close','_sendingTimer','ERROR_IMAGE','setShowComponents','_changesetReqId','waitForRoom$','deepClone','_oKey','_prevBlock','reverse','setCurrentUser','onStarting','INVALID_ARGUMENT','synced','_transformRemoteChangesetByStateCache','_pendingMutations','cfg','Hex','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_onLocalMutation','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','/universer-api/stream/file/upload','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','sessionStatus','/universer-api/oidc/authpage','_parse','_initCloseConn','_sheetTransformSelectionsService','registerHTTPInterceptor','_roomCreated$','unitId\x20is\x20not\x20found','CHANGESET_REJ','_getSignURL','objects','/new_changes','PSEUDO_FETCH_MISSING_RESULT','_onCombEvent','_initDependencies','_getCtorByUniverType','_snapshotService','_singleActiveUnitService','_incrementRevisionNumber','enableCollaboration','transformChangesets','init','crypto','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_process','_unlockTransition','_socketService','socket\x20close','getUnitType','BufferedBlockAlgorithm','_memberService','USER_NOT_INVITED_CODE','executeCommand','patch','getMember','snapshot','msCrypto','YUUMI_CONNECTOR_URL_NOT_FOUND','OTHER_CLIENTS_EDITING','/-/object/list','apply','getDeserializedSheetBlock','createSocket','values','LICENSE_EXPORT_SIZE_EXCEEDED','_onConnectionOpen','YUUMI_NO_CUBOID_FOR_QUESTION','collabWebSocketUrl','transformSelections','url','getTime','_keySchedule','_snapshotServerService','onSyncEditingCollabCursor','createDecryptor','YUUMI_UNABLE_LOAD_URL','uploadFileServerUrl','LICENSE_DISTRO_REJECTED','YUUMI_RATE_OVER_LIMIT','_DEC_XFORM_MODE','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','3547880MtOJPh','_onMessage','BASE64','FileId','put','[PendingState]:\x20unhandled\x20univer\x20type:\x20'];_0x1e86=function(){return _0x5dab45;};return _0x1e86();}function Ln(_0x2cdf07,_0x211962){var _0x546472=_0x116ce9;const _0xd65ddb=_0x211962-_0x2cdf07[_0x546472(0x196)]%_0x211962,_0x17a0b3=String[_0x546472(0x3b7)](_0xd65ddb)['repeat'](_0xd65ddb);return _0x2cdf07+_0x17a0b3;}function xn(_0x36c407,_0x50025c){var _0x3ff026=_0x116ce9;const _0x11d46d=Un[_0x3ff026(0x398)](0x10),_0x3f84e3=Ln(_0x36c407,0x10),_0x1b5d0b=In[_0x3ff026(0x263)](bn['parse'](_0x3f84e3),ii['parse'](_0x50025c),{'iv':_0x11d46d,'padding':Mn});return _0x11d46d[_0x3ff026(0x2fb)](_0x1b5d0b[_0x3ff026(0x20f)])[_0x3ff026(0x394)](ii);}function kn(){var _0x28c741=_0x116ce9;const _0x27f417=_0x268f35()[_0x28c741(0x38d)];if(_0x27f417){const _0x112718={'time':Math[_0x28c741(0x1e6)](Date[_0x28c741(0x338)]()/0x3e8),'domain':location[_0x28c741(0x17d)]};return xn(JSON[_0x28c741(0xf4)](_0x112718),_0x27f417);}}var $n=Object['getOwnPropertyDescriptor'],Hn=(_0x41371d,_0x20c42f,_0x546666,_0x5e0c6a)=>{var _0x4089ba=_0x116ce9;for(var _0x1ca7db=_0x5e0c6a>0x1?void 0x0:_0x5e0c6a?$n(_0x20c42f,_0x546666):_0x20c42f,_0x598173=_0x41371d[_0x4089ba(0x196)]-0x1,_0x52c22f;_0x598173>=0x0;_0x598173--)(_0x52c22f=_0x41371d[_0x598173])&&(_0x1ca7db=_0x52c22f(_0x1ca7db)||_0x1ca7db);return _0x1ca7db;},Bn=(_0x42dffe,_0xb85a05)=>(_0x5692a1,_0x588d0f)=>_0xb85a05(_0x5692a1,_0x588d0f,_0x42dffe);let at=class{constructor(_0x4ef238){var _0x390106=_0x116ce9;this[_0x390106(0x276)]=_0x4ef238,this['_initRequestHeader']();}['_initRequestHeader'](){var _0x1abf63=_0x116ce9;this[_0x1abf63(0x276)]['registerHTTPInterceptor']({'interceptor':(_0x3e2a99,_0x27b752)=>{var _0x1106fa=_0x1abf63;const _0xc6ee41=_0x3e2a99['headers'],_0x22a704=kn();return _0x22a704&&_0xc6ee41['set'](_0x1106fa(0x362),_0x22a704),_0x27b752(_0x3e2a99);}});}};at=Hn([Bn(0x0,_0x557787(_0x31682f))],at);var jn=Object['getOwnPropertyDescriptor'],Fn=(_0x1fe094,_0x15209f,_0x2fd333,_0x4c68ba)=>{var _0xa8384d=_0x116ce9;for(var _0x169352=_0x4c68ba>0x1?void 0x0:_0x4c68ba?jn(_0x15209f,_0x2fd333):_0x15209f,_0x3a1a3b=_0x1fe094[_0xa8384d(0x196)]-0x1,_0x45df70;_0x3a1a3b>=0x0;_0x3a1a3b--)(_0x45df70=_0x1fe094[_0x3a1a3b])&&(_0x169352=_0x45df70(_0x169352)||_0x169352);return _0x169352;},vt=(_0x8f82bc,_0x289dab)=>(_0x55f3d4,_0xb06ed3)=>_0x289dab(_0x55f3d4,_0xb06ed3,_0x8f82bc);let Ct=class extends _0x4d32e2{constructor(_0x5d761c,_0x123423,_0x17d8e1){var _0x47aa89=_0x116ce9;super(),N(this,'_unitInfo$',new _0x3dc6f5(null)),N(this,_0x47aa89(0x30e),this[_0x47aa89(0x22d)][_0x47aa89(0x18e)]()),(this[_0x47aa89(0x156)]=_0x5d761c,this[_0x47aa89(0x2bf)]=_0x123423,this[_0x47aa89(0x1b8)]=_0x17d8e1);}async[_0x116ce9(0x28d)](_0x5a33c1,_0x227914,_0x42ad51){var _0x45b7ba=_0x116ce9;this[_0x45b7ba(0x22d)][_0x45b7ba(0x371)]({'unitId':_0x5a33c1,'type':_0x227914});let _0x2602a9=null;switch(_0x227914){case Z[_0x45b7ba(0x33b)]:{_0x2602a9=await this['_snapshotService'][_0x45b7ba(0x32f)](_0x5a33c1,_0x42ad51);break;}case Z[_0x45b7ba(0x1f8)]:{_0x2602a9=await this[_0x45b7ba(0x2bf)][_0x45b7ba(0x18a)](_0x5a33c1,_0x42ad51);break;}default:{this['_logService'][_0x45b7ba(0x112)](_0x45b7ba(0x17b),_0x45b7ba(0x1f1));break;}}return _0x2602a9;}async[_0x116ce9(0x342)](_0x3fdce8,_0x46a909,_0x57c06f){var _0x5f4d24=_0x116ce9,_0x234ac5;this[_0x5f4d24(0x22d)]['next']({'unitId':_0x3fdce8,'type':_0x46a909,'subUnitId':_0x57c06f});let _0x7c7f83=0x0;const _0x17ce6a=await((_0x234ac5=this[_0x5f4d24(0x1b8)])==null?void 0x0:_0x234ac5[_0x5f4d24(0x354)](_0x3fdce8));return _0x17ce6a&&(_0x17ce6a[_0x5f4d24(0xf6)]||_0x17ce6a[_0x5f4d24(0x392)]['length']!==0x0)&&(_0x7c7f83=_0x17ce6a[_0x5f4d24(0xe2)]),_0x7c7f83===0x0&&this[_0x5f4d24(0x156)][_0x5f4d24(0x347)](_0x5f4d24(0x17b),_0x5f4d24(0xc9)),this[_0x5f4d24(0x28d)](_0x3fdce8,_0x46a909,_0x7c7f83);}};Ct=Fn([vt(0x0,_0x1703f1),vt(0x1,_0x557787(_0xf0dc10)),vt(0x2,_0x93ee66(J))],Ct);var Vn=Object[_0x116ce9(0x396)],Wn=(_0x4c432b,_0x1acfa3,_0x201d20,_0x2ac43b)=>{var _0x30b9f8=_0x116ce9;for(var _0x341bd7=_0x2ac43b>0x1?void 0x0:_0x2ac43b?Vn(_0x1acfa3,_0x201d20):_0x1acfa3,_0x53ec39=_0x4c432b[_0x30b9f8(0x196)]-0x1,_0x5dbbc2;_0x53ec39>=0x0;_0x53ec39--)(_0x5dbbc2=_0x4c432b[_0x53ec39])&&(_0x341bd7=_0x5dbbc2(_0x341bd7)||_0x341bd7);return _0x341bd7;},pt=(_0x527f33,_0x3e8c57)=>(_0x13a90d,_0x5ca311)=>_0x3e8c57(_0x13a90d,_0x5ca311,_0x527f33);const Gn=['image/png',_0x116ce9(0x21f),'image/jpg',_0x116ce9(0xfc),_0x116ce9(0x25b)],Yn=0x5*0x400*0x400,Kn=_0x116ce9(0x2ad),qn=_0x116ce9(0x204);let Rt=class{constructor(_0x143b52,_0x135656,_0x56ed6c){var _0xcc98e6=_0x116ce9;N(this,'_waitCount',0x0),N(this,_0xcc98e6(0x191),new _0x19b0a1()),N(this,_0xcc98e6(0x289),this['_change$']),N(this,'_imageSourceCache',new Map()),(this[_0xcc98e6(0x276)]=_0x143b52,this[_0xcc98e6(0x206)]=_0x135656,this[_0xcc98e6(0xc7)]=_0x56ed6c);}[_0x116ce9(0x1c1)](_0x2e4f84){var _0x5c883e=_0x116ce9;this[_0x5c883e(0x265)]=_0x2e4f84,this[_0x5c883e(0x191)][_0x5c883e(0x371)](_0x2e4f84);}['getImageSourceCache'](_0x4bc203,_0x2c2bcf){var _0x5e1d73=_0x116ce9;if(_0x2c2bcf===_0x5a97a7[_0x5e1d73(0x2ee)]){const _0x516971=new Image();return _0x516971[_0x5e1d73(0x343)]=_0x4bc203,_0x516971;}return this[_0x5e1d73(0x294)]['get'](_0x4bc203);}[_0x116ce9(0x1dc)](_0x3d50d5,_0x52d030,_0x1cad9d){var _0x2cb8ea=_0x116ce9;_0x52d030===_0x5a97a7[_0x2cb8ea(0x2ee)]||_0x1cad9d==null||this[_0x2cb8ea(0x294)][_0x2cb8ea(0x228)](_0x3d50d5,_0x1cad9d);}async[_0x116ce9(0x2f4)](_0xb5bfb3){var _0x369ec2=_0x116ce9;try{const _0x336941=this[_0x369ec2(0x386)](this[_0x369ec2(0x2b8)](),''+_0xb5bfb3),_0x206a52=(await this[_0x369ec2(0x276)][_0x369ec2(0x38f)](_0x336941))[_0x369ec2(0x132)];if(_0x206a52[_0x369ec2(0x112)]&&_0x206a52[_0x369ec2(0x112)][_0x369ec2(0x230)]===vi['OK']){const _0x5930d1=new URL(_0x206a52[_0x369ec2(0x2e0)],this[_0x369ec2(0x16e)]())[_0x369ec2(0x394)]();return Promise[_0x369ec2(0x330)](_0x5930d1);}return Promise[_0x369ec2(0x3b9)](_0x206a52[_0x369ec2(0x112)]);}catch(_0x555a8f){return Promise[_0x369ec2(0x3b9)](_0x555a8f);}}async[_0x116ce9(0x100)](_0x72dae2){var _0x59b29d=_0x116ce9;let _0x33da03='';if(!Gn[_0x59b29d(0x19b)](_0x72dae2[_0x59b29d(0x18b)]))return this['_decreaseWaiting'](),Promise[_0x59b29d(0x3b9)](new Error(_0x2b93c4['ERROR_IMAGE_TYPE']));if(_0x72dae2[_0x59b29d(0x19d)]>Yn)return this[_0x59b29d(0x2f8)](),Promise[_0x59b29d(0x3b9)](new Error(_0x2b93c4[_0x59b29d(0x38c)]));try{const _0x356184=new FormData();_0x356184[_0x59b29d(0x24d)]('file',_0x72dae2);const _0x2fe17c=this['_univerInstanceService'][_0x59b29d(0x1b4)](),_0x428e0e=_0x2fe17c==null?void 0x0:_0x2fe17c['getUnitId']();if(!_0x428e0e)throw new Error(_0x59b29d(0x2b6));const _0x44d205=this[_0x59b29d(0x123)]()+'?size='+_0x72dae2[_0x59b29d(0x19d)][_0x59b29d(0x394)]()+'&source='+pi[_0x59b29d(0x278)]+_0x59b29d(0x1ca)+encodeURIComponent(_0x428e0e),_0x3ae19d={'body':_0x356184},_0x2110e1=(await this[_0x59b29d(0x276)][_0x59b29d(0x326)](_0x44d205,_0x3ae19d))[_0x59b29d(0x132)];if(typeof _0x2110e1['FileId']!=_0x59b29d(0x16c))return this[_0x59b29d(0x2f8)](),Promise[_0x59b29d(0x3b9)](new Error(_0x2b93c4[_0x59b29d(0x29a)]));_0x33da03=_0x2110e1[_0x59b29d(0x2ef)];}catch{return this[_0x59b29d(0x2f8)](),Promise[_0x59b29d(0x3b9)](new Error(_0x2b93c4['ERROR_IMAGE']));}return new Promise((_0x2f0dc8,_0x16dc87)=>{var _0x2a32f4=_0x59b29d;const _0x373081=new FileReader();_0x373081[_0x2a32f4(0x389)](_0x72dae2),_0x373081['onload']=_0x4bf9d0=>{var _0x47dc1a=_0x2a32f4,_0x588b83;const _0x192e27=(_0x588b83=_0x4bf9d0[_0x47dc1a(0x1cb)])==null?void 0x0:_0x588b83[_0x47dc1a(0x358)];if(_0x192e27==null){this[_0x47dc1a(0x2f8)](),_0x16dc87(new Error(_0x2b93c4[_0x47dc1a(0x29a)]));return;}const _0x340e13=_0x228e58(0x6);_0x2f0dc8({'imageId':_0x340e13,'imageSourceType':_0x5a97a7[_0x47dc1a(0x2f3)],'source':_0x33da03,'base64Cache':_0x192e27,'status':_0x2b93c4[_0x47dc1a(0x3a7)]}),this[_0x47dc1a(0x2f8)]();};});}[_0x116ce9(0x123)](){var _0x43eca1=_0x116ce9,_0x39199a;const _0x92be18=this[_0x43eca1(0x206)][_0x43eca1(0x232)](K);return(_0x39199a=_0x92be18==null?void 0x0:_0x92be18[_0x43eca1(0x2e7)])!=null?_0x39199a:Kn;}[_0x116ce9(0x2b8)](){var _0x2a408f=_0x116ce9,_0x55d0bc;const _0x18c2a7=this['_configService']['getConfig'](K);return(_0x55d0bc=_0x18c2a7==null?void 0x0:_0x18c2a7[_0x2a408f(0x25f)])!=null?_0x55d0bc:qn;}[_0x116ce9(0x16e)](){var _0x456c61=_0x116ce9,_0x2f1276;const _0x49e796=this[_0x456c61(0x206)]['getConfig'](K);return(_0x2f1276=_0x49e796==null?void 0x0:_0x49e796[_0x456c61(0x180)])!=null?_0x2f1276:location['origin'];}['_replaceFileID'](_0x438ed8,_0x3cc195){var _0x5d3fa8=_0x116ce9;return _0x438ed8[_0x5d3fa8(0x391)](_0x5d3fa8(0x22c),_0x3cc195);}[_0x116ce9(0x2f8)](){var _0x282650=_0x116ce9;this['_waitCount']-=0x1,this[_0x282650(0x191)][_0x282650(0x371)](this[_0x282650(0x265)]);}};Rt=Wn([pt(0x0,_0x557787(_0x31682f)),pt(0x1,_0x42adf2),pt(0x2,_0x557787(_0x283ba7))],Rt);var zn=Object[_0x116ce9(0x396)],Jn=(_0x4363bb,_0x272a93,_0x27e441,_0x4b3a59)=>{for(var _0x5270e4=_0x4b3a59>0x1?void 0x0:_0x4b3a59?zn(_0x272a93,_0x27e441):_0x272a93,_0x3bc95b=_0x4363bb['length']-0x1,_0x22de31;_0x3bc95b>=0x0;_0x3bc95b--)(_0x22de31=_0x4363bb[_0x3bc95b])&&(_0x5270e4=_0x22de31(_0x5270e4)||_0x5270e4);return _0x5270e4;},ai=(_0x427305,_0xb06a88)=>(_0x2f0815,_0x258715)=>_0xb06a88(_0x2f0815,_0x258715,_0x427305);const Xn='/universer-api/authz';let Ot=class{constructor(_0x13e678,_0x2875f3){var _0x524ea5=_0x116ce9;this[_0x524ea5(0x206)]=_0x13e678,this[_0x524ea5(0x231)]=_0x2875f3;}[_0x116ce9(0x34d)](){var _0x520af2=_0x116ce9,_0x356b5e;const _0x299dc0=this[_0x520af2(0x206)][_0x520af2(0x232)](K);return(_0x356b5e=_0x299dc0==null?void 0x0:_0x299dc0[_0x520af2(0xf8)])!=null?_0x356b5e:Xn;}async['list'](_0x2fbaef){var _0x21e204=_0x116ce9;const _0x112509=this['_getAPIPrefixPath']()+'/collaborator';return{'list':[{'title':_0x21e204(0x242),'mentions':(await this[_0x21e204(0x231)][_0x21e204(0x38f)](_0x112509,{'params':{'objectID':_0x2fbaef[_0x21e204(0x3a6)],'unitID':_0x2fbaef['unitId']}}))[_0x21e204(0x132)][_0x21e204(0xaf)][_0x21e204(0x27b)](_0x43b3cd=>({'objectId':_0x43b3cd['id'],'name':_0x43b3cd['subject'][_0x21e204(0x144)],'metadata':{'icon':_0x43b3cd[_0x21e204(0x284)][_0x21e204(0x1be)]},'label':_0x43b3cd[_0x21e204(0x284)][_0x21e204(0x144)],'objectType':_0x2391a7[_0x21e204(0x271)]})),'metadata':{},'type':_0x2391a7[_0x21e204(0x271)]}]};}};Ot=Jn([ai(0x0,_0x557787(_0x42adf2)),ai(0x1,_0x557787(_0x31682f))],Ot);var Zn=Object[_0x116ce9(0x396)],Qn=(_0x2e81ff,_0x21d763,_0x3c3335,_0x3d2d75)=>{var _0x4dc2a7=_0x116ce9;for(var _0x9b47be=_0x3d2d75>0x1?void 0x0:_0x3d2d75?Zn(_0x21d763,_0x3c3335):_0x21d763,_0x2357e5=_0x2e81ff[_0x4dc2a7(0x196)]-0x1,_0x269e5f;_0x2357e5>=0x0;_0x2357e5--)(_0x269e5f=_0x2e81ff[_0x2357e5])&&(_0x9b47be=_0x269e5f(_0x9b47be)||_0x9b47be);return _0x9b47be;},Ue=(_0x52e7bb,_0x18a5d8)=>(_0x5a2aa9,_0x4bac97)=>_0x18a5d8(_0x5a2aa9,_0x4bac97,_0x52e7bb);let ot=class extends _0x4d32e2{constructor(_0x40d37d,_0x5d083d,_0x5b325f,_0x5515a6,_0x2e6455){var _0x138609=_0x116ce9;super(),this['_injector']=_0x40d37d,this['_univerInstanceService']=_0x5d083d,this[_0x138609(0x119)]=_0x5b325f,this['_collaborationSessionService']=_0x5515a6,this[_0x138609(0xe9)]=_0x2e6455,this['_initUnitPermissionChange'](),this[_0x138609(0x2b2)]();}[_0x116ce9(0x2b2)](){var _0x56fe92=_0x116ce9;const _0x4dabf4=async _0x5e4bdd=>{var _0x2f5313=_0x2a22;(await this['_collaborationSessionService'][_0x2f5313(0x297)](_0x5e4bdd))[_0x2f5313(0x320)][_0x2f5313(0x266)](_0x48d5d4(_0x440fda=>_0x440fda[_0x2f5313(0x171)]===_0x353970['SHOULD_CLOSE_CONN']),_0x510fd5(this[_0x2f5313(0x1f0)]))[_0x2f5313(0x2f2)](_0x3586c5=>{var _0x10c766=_0x2f5313;const _0x49ee17=_0x3586c5,{reason:_0x559f31}=_0x49ee17['data'];this[_0x10c766(0xe9)][_0x10c766(0x1df)]({'id':ne[_0x10c766(0x167)],'data':_0x559f31}),this[_0x10c766(0x119)][_0x10c766(0x26b)](new _0x15e513(_0x5e4bdd)['id'],!0x1),this[_0x10c766(0x214)]['closeSession'](_0x5e4bdd);});};_0x53100c(this[_0x56fe92(0xc7)][_0x56fe92(0x367)](_0x7d3d2a[_0x56fe92(0x33b)]),this[_0x56fe92(0xc7)][_0x56fe92(0x367)](_0x7d3d2a['UNIVER_DOC']))[_0x56fe92(0x266)](_0x209458(_0x1fa63d=>_0x1fa63d[_0x56fe92(0x130)]()),_0x48d5d4(_0x5e9e1b=>!_0x5f2cb9(_0x5e9e1b)),_0x510fd5(this[_0x56fe92(0x1f0)]))[_0x56fe92(0x2f2)](_0x5d9809=>{_0x4dabf4(_0x5d9809);});}[_0x116ce9(0x194)](){var _0x33499b=_0x116ce9;const _0xb52b27=async _0x2d17af=>{var _0x38ecdf=_0x2a22;const _0x29089c=await this[_0x38ecdf(0x214)][_0x38ecdf(0x297)](_0x2d17af),_0x4afe0c=this[_0x38ecdf(0x15b)]['get'](_0x543aed);_0x29089c[_0x38ecdf(0x320)]['pipe'](_0x48d5d4(_0x41f77e=>_0x41f77e[_0x38ecdf(0x171)]===_0x353970[_0x38ecdf(0x27d)]),_0x510fd5(this[_0x38ecdf(0x1f0)]))[_0x38ecdf(0x2f2)](_0x4259b6=>{var _0x128cc1=_0x38ecdf;const _0x775bd5=_0x4259b6,{objectId:_0x35c9d2}=_0x775bd5['data'];_0x35c9d2===_0x2d17af?_0x4afe0c[_0x128cc1(0x1d4)](_0x2d17af):_0x4afe0c[_0x128cc1(0x19a)](_0x2d17af,_0x35c9d2);});};_0x53100c(this[_0x33499b(0xc7)]['getTypeOfUnitAdded$'](_0x7d3d2a['UNIVER_SHEET']))[_0x33499b(0x266)](_0x209458(_0x40a5be=>_0x40a5be[_0x33499b(0x130)]()),_0x48d5d4(_0x263e75=>!_0x5f2cb9(_0x263e75)),_0x510fd5(this[_0x33499b(0x1f0)]))[_0x33499b(0x2f2)](_0x210574=>{_0xb52b27(_0x210574);});}};ot=Qn([Ue(0x0,_0x557787(_0x249d80)),Ue(0x1,_0x283ba7),Ue(0x2,_0x293adf),Ue(0x3,_0x557787(Pe)),Ue(0x4,_0x557787(ve))],ot);var er=Object[_0x116ce9(0x396)],tr=(_0x460a95,_0xeb20f2,_0x193901,_0x5246f4)=>{var _0x1ad3b4=_0x116ce9;for(var _0x1ca329=_0x5246f4>0x1?void 0x0:_0x5246f4?er(_0xeb20f2,_0x193901):_0xeb20f2,_0x40cf75=_0x460a95[_0x1ad3b4(0x196)]-0x1,_0x3834b8;_0x40cf75>=0x0;_0x40cf75--)(_0x3834b8=_0x460a95[_0x40cf75])&&(_0x1ca329=_0x3834b8(_0x1ca329)||_0x1ca329);return _0x1ca329;},oi=(_0x513359,_0x5e8b1f)=>(_0x44ea22,_0x502e5c)=>_0x5e8b1f(_0x44ea22,_0x502e5c,_0x513359);let bt=class{constructor(_0xa7af3,_0x1a7f25){var _0x13ed7a=_0x116ce9;this[_0x13ed7a(0x206)]=_0xa7af3,this['_httpService']=_0x1a7f25;}async['getUnitOnRev'](_0x367c89,_0x207a5c){var _0x4d9022=_0x116ce9,_0x2da516;const {unitID:_0x1e4e15,type:_0x447600,revision:_0x2732a3=0x0}=_0x207a5c,_0x4b0325=this['getSnapshotAPIPath']()+'/'+_0x447600+_0x4d9022(0x345)+_0x1e4e15+_0x4d9022(0x13e)+_0x2732a3,_0x1f9292=(await this[_0x4d9022(0x276)]['get'](_0x4b0325))['body'],_0x5355df=(_0x2da516=_0x1f9292[_0x4d9022(0x2d2)])==null?void 0x0:_0x2da516[_0x4d9022(0x1bb)];if(_0x5355df){const _0x1816a7=_0x5355df==null?void 0x0:_0x5355df[_0x4d9022(0x225)],_0x9667bc=_0x239c8c[_0x4d9022(0x260)](_0x251cec(_0x1816a7));_0x5355df['originalMeta']=_0x9667bc,Object[_0x4d9022(0x170)](_0x5355df[_0x4d9022(0x229)])[_0x4d9022(0x12d)](([,_0x5b171f])=>{var _0x3f5547=_0x4d9022;const _0x3d55a7=_0x5b171f[_0x3f5547(0x225)],_0x3bdf6e=_0x239c8c[_0x3f5547(0x260)](_0x251cec(_0x3d55a7));_0x5b171f['originalMeta']=_0x3bdf6e;});}return _0x1f9292;}async['getSheetBlock'](_0x2036aa,_0x361f35){var _0x6e8ddf=_0x116ce9;const {unitID:_0x34c36f,type:_0x3ba6cc,blockID:_0x3c5d89}=_0x361f35,_0x1f43e7=this['_getAPIPrefix']()+'/'+_0x3ba6cc+'/unit/'+_0x34c36f+_0x6e8ddf(0x207)+_0x3c5d89;return(await this['_httpService']['get'](_0x1f43e7))['body'];}async[_0x116ce9(0x2d8)](_0x9467ad,_0x354154){var _0x11d1b5=_0x116ce9;const {unitID:_0x23dc09,type:_0x5d73b4,blockID:_0x567fe8}=_0x354154,_0xe74317=this[_0x11d1b5(0x237)]()+_0x11d1b5(0x207)+_0x5d73b4+_0x11d1b5(0x345)+_0x23dc09+_0x11d1b5(0x207)+_0x567fe8;return(await this[_0x11d1b5(0x276)]['get'](_0xe74317))[_0x11d1b5(0x132)];}async[_0x116ce9(0x255)](_0x15f07d,_0x5be2a2){var _0x55d59c=_0x116ce9;const {unitID:_0x49d352,type:_0x194b9b,from:_0x497c9f,to:_0x4f3d07}=_0x5be2a2,_0x7e953b=this[_0x55d59c(0x237)]()+'/'+_0x194b9b+_0x55d59c(0x345)+_0x49d352+_0x55d59c(0x16d)+_0x497c9f+'&to='+_0x4f3d07;return(await this['_httpService'][_0x55d59c(0x38f)](_0x7e953b))[_0x55d59c(0x132)];}[_0x116ce9(0x31b)](){var _0x4242d2=_0x116ce9,_0x1f618b;return(_0x1f618b=this[_0x4242d2(0x206)][_0x4242d2(0x232)](vs))!=null?_0x1f618b:this[_0x4242d2(0x237)]();}[_0x116ce9(0x237)](){var _0x340930=_0x116ce9,_0x2ccebf;const _0x4c9b75=this[_0x340930(0x206)][_0x340930(0x232)](K);return(_0x2ccebf=_0x4c9b75==null?void 0x0:_0x4c9b75[_0x340930(0x292)])!=null?_0x2ccebf:fs;}async['getResourcesRequest'](_0x257273,_0x30f115){var _0xd7385b=_0x116ce9;const _0x2b7df7='/universer-api/snapshot/'+_0x30f115[_0xd7385b(0x18b)]+_0xd7385b(0x345)+_0x30f115['unitID']+_0xd7385b(0x33d);return(await this['_httpService']['get'](_0x2b7df7,{'params':{'resourceId':JSON[_0xd7385b(0xf4)](_0x30f115[_0xd7385b(0x151)])}}))[_0xd7385b(0x132)];}[_0x116ce9(0x117)](){var _0x216875=_0x116ce9;throw new Error(_0x216875(0x351));}[_0x116ce9(0x233)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveSheetBlock'](){var _0x218782=_0x116ce9;throw new Error(_0x218782(0x351));}[_0x116ce9(0x1db)](){var _0x4289a9=_0x116ce9;throw new Error(_0x4289a9(0x351));}[_0x116ce9(0xef)](){var _0x38ef1b=_0x116ce9;throw new Error(_0x38ef1b(0x351));}['getLatestCsReqIdBySid'](){var _0x19e397=_0x116ce9;throw new Error(_0x19e397(0x351));}};bt=tr([oi(0x0,_0x42adf2),oi(0x1,_0x557787(_0x31682f))],bt);var ir=Object[_0x116ce9(0x396)],sr=(_0x48682e,_0x474f6b,_0x11353c,_0x552f51)=>{for(var _0x2ae0c7=_0x552f51>0x1?void 0x0:_0x552f51?ir(_0x474f6b,_0x11353c):_0x474f6b,_0x307f6a=_0x48682e['length']-0x1,_0x2fe1fa;_0x307f6a>=0x0;_0x307f6a--)(_0x2fe1fa=_0x48682e[_0x307f6a])&&(_0x2ae0c7=_0x2fe1fa(_0x2ae0c7)||_0x2ae0c7);return _0x2ae0c7;},Ae=(_0x2eb134,_0x4f0b18)=>(_0x3980f5,_0x47b5af)=>_0x4f0b18(_0x3980f5,_0x47b5af,_0x2eb134);let yt=class extends _0x3e896a{constructor(_0xd8986c,_0x2b37c8,_0x1157b9,_0x21b770,_0x43aefe){var _0xdf24c1=_0x116ce9;super(_0xd8986c,_0x2b37c8,_0x1157b9),this[_0xdf24c1(0x304)]=_0x21b770,this['_logService']=_0x43aefe;}[_0x116ce9(0x291)](_0x29666c,_0x35377e){var _0x45f888=_0x116ce9;const _0x5bc49c=this[_0x45f888(0x17f)](_0x29666c);if(_0x5bc49c)try{const _0x17a0ed=this['_transformStack'](_0x5bc49c,_0x35377e);this[_0x45f888(0x3bf)](_0x29666c,_0x17a0ed);}catch(_0x541240){this[_0x45f888(0x156)]['error']('[CollaborationUndoRedoService]',_0x541240),this[_0x45f888(0x19e)](_0x29666c);}const _0x3a1791=this[_0x45f888(0x1dd)](_0x29666c);if(_0x3a1791)try{const _0x524b2b=this[_0x45f888(0xcf)](_0x3a1791,_0x35377e);this[_0x45f888(0x200)](_0x29666c,_0x524b2b);}catch(_0x490f67){this[_0x45f888(0x156)][_0x45f888(0x112)](_0x490f67),this[_0x45f888(0x1f2)](_0x29666c);}}[_0x116ce9(0x19e)](_0x237dcf){var _0x25f1aa=_0x116ce9;const _0x2514cc=this[_0x25f1aa(0x17f)](_0x237dcf);_0x2514cc&&(_0x2514cc[_0x25f1aa(0x196)]=0x0,this[_0x25f1aa(0x1c5)]());}[_0x116ce9(0x1f2)](_0x29d24e){var _0x10b92=_0x116ce9;const _0x41b0ac=this[_0x10b92(0x1dd)](_0x29d24e);_0x41b0ac&&(_0x41b0ac[_0x10b92(0x196)]=0x0,this[_0x10b92(0x1c5)]());}[_0x116ce9(0x3bf)](_0x17544d,_0x21ad58){var _0x26e756=_0x116ce9;this[_0x26e756(0x1e8)]['set'](_0x17544d,_0x21ad58),this[_0x26e756(0x1c5)]();}['_substituteRedoStack'](_0x45b9d3,_0x3a6f3d){var _0x219b07=_0x116ce9;this[_0x219b07(0x26a)][_0x219b07(0x228)](_0x45b9d3,_0x3a6f3d),this[_0x219b07(0x1c5)]();}[_0x116ce9(0xcf)](_0x6e3531,_0x4f2d13){var _0xd41065=_0x116ce9;const _0x283ee7=[];let _0x53b4d7=_0x4f2d13,_0x4eb53c=_0x4f2d13;for(let _0x321c19=_0x6e3531[_0xd41065(0x196)]-0x1;_0x321c19>=0x0;_0x321c19--){const {unitID:_0x1ae0e4,undoMutations:_0x345e7c,redoMutations:_0x305e88}=_0x6e3531[_0x321c19],_0x13d74f=this[_0xd41065(0x304)][_0xd41065(0xe5)](_0x53b4d7,_0x345e7c),_0x59822c=this[_0xd41065(0x304)][_0xd41065(0xe5)](_0x4eb53c,_0x305e88);if(_0x2454f4(_0x13d74f)||_0x2454f4(_0x59822c)){this[_0xd41065(0x156)][_0xd41065(0x112)](_0xd41065(0x124),'transformStack\x20failed!',_0x13d74f,_0x59822c);break;}_0x53b4d7=_0x13d74f[_0xd41065(0x3c1)],_0x4eb53c=_0x59822c[_0xd41065(0x3c1)],_0x283ee7[_0xd41065(0x39e)]({'unitID':_0x1ae0e4,'undoMutations':_0x13d74f['m2Prime'],'redoMutations':_0x59822c[_0xd41065(0x23e)]});}return _0x283ee7[_0xd41065(0x2a1)]();}};yt=sr([Ae(0x0,_0x283ba7),Ae(0x1,_0x557fb2),Ae(0x2,_0xe6e059),Ae(0x3,_0x1c5e41),Ae(0x4,_0x1703f1)],yt);var nr=Object['defineProperty'],rr=Object[_0x116ce9(0x396)],ar=(_0x392d55,_0x290197,_0x26d3e8)=>_0x290197 in _0x392d55?nr(_0x392d55,_0x290197,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x26d3e8}):_0x392d55[_0x290197]=_0x26d3e8,or=(_0x344e15,_0x4e16a2,_0x1a7ab3,_0x4bda6b)=>{var _0x48a85a=_0x116ce9;for(var _0x5c1191=_0x4bda6b>0x1?void 0x0:_0x4bda6b?rr(_0x4e16a2,_0x1a7ab3):_0x4e16a2,_0x4a6978=_0x344e15[_0x48a85a(0x196)]-0x1,_0x34e697;_0x4a6978>=0x0;_0x4a6978--)(_0x34e697=_0x344e15[_0x4a6978])&&(_0x5c1191=_0x34e697(_0x5c1191)||_0x5c1191);return _0x5c1191;},mt=(_0x194d58,_0x26284b)=>(_0x550aca,_0x5e98be)=>_0x26284b(_0x550aca,_0x5e98be,_0x194d58),cr=(_0x257e2d,_0x451f54,_0x18fc5c)=>ar(_0x257e2d,_0x451f54+'',_0x18fc5c);const hr=_0x116ce9(0x328);let Nt=class extends _0x575fcb{constructor(_0x3a23c0,_0x5bd09d,_0x4160bf,_0x48dce6){var _0x4a05e7=_0x116ce9;super(),N(this,_0x4a05e7(0x323)),(this[_0x4a05e7(0x156)]=_0x5bd09d,this[_0x4a05e7(0x15b)]=_0x4160bf,this[_0x4a05e7(0x206)]=_0x48dce6);const {..._0x30729c}=_0x30d817({},Ls,_0x3a23c0);if(!_0x30729c[_0x4a05e7(0xb7)])throw new Error(_0x4a05e7(0x2eb));this[_0x4a05e7(0x323)]=_0x30729c,this[_0x4a05e7(0x206)][_0x4a05e7(0x262)](K,_0x30729c);}[_0x116ce9(0x2a3)](){var _0xab2e67=_0x116ce9;this[_0xab2e67(0x3be)](),this['_initDependencies']();}[_0x116ce9(0x3be)](){var _0x2b64f6=_0x116ce9,_0xab245a,_0xd0d3ae;this[_0x2b64f6(0x15b)][_0x2b64f6(0x322)](_0x2f8cb7)&&this['_logService'][_0x2b64f6(0x112)](_0x2b64f6(0x115),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x1f2ab7=_0x22e301([[_0x2f8cb7,{'useClass':yt}],[Pe],[we],[it],[rt],[at],[mi],[ot],[ve],[Ct],[Ci,{'useClass':this[_0x2b64f6(0x323)]['socketService']}],[_0x38f09d,{'useClass':bt}],[_0x2be129,{'useClass':Tt}],[_0x18e59b,{'useClass':Rt}],[_0x4a08bd,{'useClass':Ot}],[nt],[It]],(_0xab245a=this['_config'])==null?void 0x0:_0xab245a[_0x2b64f6(0x383)]);if(!((_0xd0d3ae=this['_config'])!=null&&_0xd0d3ae[_0x2b64f6(0x285)])){const _0x48edca=_0x1f2ab7[_0x2b64f6(0x149)](([_0x2da03f])=>_0x2da03f===ht);_0x48edca!==-0x1&&_0x1f2ab7[_0x2b64f6(0x281)](_0x48edca,0x1);}_0x40c77e(this['_injector'],_0x1f2ab7);}[_0x116ce9(0x2bd)](){var _0x5bd2a9=_0x116ce9,_0x458a5d,_0x2ecd97,_0x18e674;this[_0x5bd2a9(0x15b)][_0x5bd2a9(0x38f)](_0x31682f)[_0x5bd2a9(0x2b4)]({'priority':0x14,'interceptor':_0x5c04bf({'maxParallel':0x6})}),(_0x458a5d=this[_0x5bd2a9(0x323)])!=null&&_0x458a5d[_0x5bd2a9(0xb4)]||(_0x2ecd97=this[_0x5bd2a9(0x15b)]['get'](J,_0x1469d9[_0x5bd2a9(0xfb)]))==null||_0x2ecd97[_0x5bd2a9(0x128)](),(_0x18e674=this[_0x5bd2a9(0x323)])!=null&&_0x18e674[_0x5bd2a9(0x3af)]&&_0x3a5b6e(this[_0x5bd2a9(0x15b)],[[rt]]),_0x3a5b6e(this[_0x5bd2a9(0x15b)],[[at],[nt],[ot]]);}};cr(Nt,_0x116ce9(0x295),hr),Nt=or([_0xd4079b(_0x362329,_0x500b9a),mt(0x1,_0x1703f1),mt(0x2,_0x557787(_0x249d80)),mt(0x3,_0x42adf2)],Nt);export{Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Pe as CollaborationSessionService,Gt as CollaborationSocketService,Ei as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,mi as CommentService,le as ConflictState,ms as DEFAULT_COLLAB_WEB_SOCKET_URL,Or as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ir as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,gs as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,js as INetworkConditionService,ht as ISingleActiveUnitService,Cr as LOCAL_CACHE_INTERVAL,Tr as LOCAL_CACHE_INTERVAL_KEY,we as MemberService,Ot as MentionIoHttpService,ue as OfflineState,re as PendingState,Rr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Is as RETRY_CONNECTING_MAX_COUNT_KEY,ge as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,bt as SnapshotServerOverHTTPService,ye as SyncedState,gi as UnitStatus,Nt as UniverCollaborationClientPlugin,Fs as deserializeToCombResponse,br as getLocalCacheKey,Vs as serializeCombRequest};