@univerjs/preset-docs-collaboration 0.16.0 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/umd/index.js CHANGED
@@ -1,14 +1,14 @@
1
1
  // @univerjs-pro/collaboration-client/index
2
- function _0x573a(_0x216f09,_0x5222ec){_0x216f09=_0x216f09-0x195;var _0x3d8f8c=_0x3d8f();var _0x573a26=_0x3d8f8c[_0x216f09];return _0x573a26;}function _0x3d8f(){var _0x4f2ac9=['setCurrentUser','ENTITLE_COUPON_EXPIRED','pipe','_transformIMECache','3285275wVZhBt','firstValueFrom','target','_unitID','UniverTelemetry','_onOffline','LocaleService','_substituteUndoStack','submit\x20changeset\x20error!','REDEMPTION_USER_REDEEM_TIMES_EXCEED','onRemoteAck','COMPLETION_FINISHED','getMember','hasOwnProperty','eventID','[CollaborationEntity]','error$','originalMeta','getFocusedUnit','now','updateCollaborator','image/bmp','LICENSE_EXPORT_SIZE_EXCEEDED','event$','editing\x20status\x20changed\x20to','unsubscribe','editingUnit','pad','stringify','salt','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','m2Prime','@univerjs/telemetry','Rectangle','/universer-api/snapshot/','encode','delete','/universer-api/uniscript','Disposable','HEARTBEAT_INTERVAL','shouldCloseConn','_event$','getTypeOfUnitAdded$','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','find','location','_singleActiveUnitService','[DataLoaderService]','RxDisposable','kdf','createSocket','YUUMI_RATE_OVER_LIMIT','removeMember','_transformService','auth.needGotoLoginAlert','INGEST','subject','OpenSSL','REDEMPTION_CODE_FULLY_REDEEMED','session.room-full','28452VdQqPc','reset','registerHTTPInterceptor','close','_resendTimer','_mode','session.room-permission-denied','CipherParams','ceil','crypto','SUCCUSS','_key','get','WECHAT_HAS_BEEN_BOUND','ITransformService','onlyLocal','_iv','onTransformRemoteChangesetByStateCache','saveSheetBlock','headers','_transformUndoredo','ENTITLE_NEED_BILLING_ADDRESS','onTransformState','_memberService','329SJSxPu','CONFLICT','INVITE_CODE_HAS_BEEN_UES','floor','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_updateStatus','_onRemoteRetry','ALREADY_EXISTS','CollaborationStatus','SNAPSHOT_HAS_BEEN_REMOVED','_shouldReportTelemetry','forEach','loginUrlKey','DisposableCollection','complete','socket\x20close','UserProfileImg','_transformRemoteChangesetByStateCache','AuthzIoHttpService','registerDependencies','getCurrentUser','title','_transitionLocked','WorkbookEditablePermission','_emitMembers','selections','_createSocket','_onRemoteACK','startTime','CollaborationSession','_disableEditing','_entities','file','MentionIoHttpService','PERSON','onTransformRemoteChangesetByIMECache','onSendChangeset','min','not_collab','ENTITLE_CAN_NOT_BUY_LOWER_OTP','isTransformMutationsWithChangesetSuccess','_append','FetchingMissState','_transformSelections','socket$','createEncryptor','merge','batchAllowed','YUUMI_URL_COL_OUT_OF_RANGE','save\x20fail\x20reason\x20is\x20','sequenceExecute','YUUMI_ASYNCIO_CANCELLED','dispose','defineProperty','?size=','_joinRoom','INetworkConditionService','stopTime','ITelemetryService','HttpImport','online$','_sessionStatus$','EvpKDF','format','SheetsSelectionsService','WordArray','collaboration-client.config','SUBMIT_CHANGESET_TIMEOUT','@univerjs-pro/collaboration','_createInitialState','_syncEditingCollabCursor','clone','OTHER_CLIENTS_EDITING','CollaborationEvent','_sheetTransformSelectionsService','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','createInstance','_HTTPService','_state$','UNDEFINED','_lockTransition','join','MergeInterceptorFactory','push','AWAITING_WITH_PENDING','authzUrl','emitEvent','awaiting','collaborators','IUndoRedoService','repeat','FileId','DEFAULT_COLLAB_WEB_SOCKET_URL','IUniverInstanceService','_scheduleCollaborationTimeoutTimer','getInterceptPoints','onStateChange','onRemoteRej','JOIN_ROOM_NOT_EXISTS','type','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','offline','TOO_MANY_REQUESTS','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_state','onRemoteChangeset','saveSnapshot','randomBytes','MUTATION','IPermissionService','_undoStacks','_scheduleCompleteTimestamp','state','_permissionService','IConfigService','_undoRedoService','charCodeAt','/universer-api/comb','_onJoinRoomEvent','values','localeService','Quantity','\x20in\x20_schedule.','key','create','setShowComponents','dispose$','USERS_ENTER','put','UNIVER_UNKNOWN','_collaborationSessionService','SessionStatus','_xformMode','joinEvent','_onRecvEvent','unit-cache-','_getCtorByUniverType','subUnitId','EMAIL_HAS_BEEN_BOUND','CURRENT_STATUS_CANNOT_OPERATE','image/jpeg','AUTHORIZE_CODE_ILLEGAL','focused$','image/gif','parseProtocolChangeset','_sendHeartbeatTimer','mergeOverrideWithDependencies','ICommandService','LIVESHARE_NEW_HOST','YUUMI_ALL_TABLES_IS_INVALID','getSnapshotAPIPath','RETRY_CONNECTING_MAX_COUNT','/universer-api/file/{fileID}/sign-url','PERMISSION_DENIED','RETRY_CONNECTING_MAX_COUNT_KEY','_unlockTransition','DataLoaderService','__splitChunk__','@univerjs/core','members','size','_isPermissionRej','APPLY_REVISION_CONFILICT','JSONX','onStarting','collabSubmitChangesetUrl','/unit/','_clearScheduledTask','ENTITLE_COUPON_USED_UP','RichTextEditingMutation','_transformStack','/universer-api/authz','NO_OTHER_CLIENTS_EDITING','_initUnitPermissionChange','UNIVER_PROJECT','transformMutationsWithChangeset','USERS_LEAVE','_logService','processBlock','FETCH_MISSING','[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.','_telemetryInfo','unitId','/collaborator','error','People','[SyncedState]:\x20received\x20rejection.','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','rev','SNAPSHOT_URL_KEY','fetchThroughInterceptors','_getAPIPrefixPath','_httpService','Decryptor','Tools','debug','disableLocalCache','onMissedChangesetFetched','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','MOBILE_HAS_BEEN_BOUND','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','object','setWaitCount','getUnitOnRev','iterations','_applyRemoteChangeset','filter','_commentUpdate$','toString','UNRECOGNIZED','USER_NOT_INVITED_CODE','Injector','SerializableCipher','hostname','enableSingleActiveInstanceLock','_onConflict','onRemoteRetry','createDecryptor','onMissingChangesets','waitForRoom$','_resendTimeout','buffer','apply','updatePermissionObjEvent','_socket','_acknowledgedAwaitingChangeset','lib','YUUMI_UNABLE_LOAD_URL','updatePermissionPoint','send','_remoteChangesetQueue','reconnect','touchDependencies','SheetCollaborationEntity','_commandService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','HmacMD5','SOCKET_FAILED','ERROR_EXCEED_SIZE','equals','getSheetId','session.room-not-exists','update','unitInfo$','StreamCipher','JOIN_ROOM_PERMISSION_DENIED','_tryReconnect','INVITE_CODE_ALREADY_BOUND','_getRedoStack','_iKey','random','includes','sendChangesetTimeout','_executeRemoteChangeset','/fetchmissing?from=','HEARTBEAT','_waitForHeartbeatResponse','_univerInstanceService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','fromCharCode','HmacSHA1','AES','workbook','_clearLocalCache','9KiQkhQ','AwaitingState','_commentService','getSheetBlock','delay','execute','ivSize','_map','onMutationExecutedForCollab','ImageUploadStatusType','shareReplay','_decreaseWaiting','Inject','awaitingChangeset','_handler','textEncoder','UniverCollaborationPlugin','_incrementRevisionNumber','_snapshotServerService','HTTPService','cfg','_pendingMutations','HMAC','_networkConditionService','loadUnitOfRevision','_submitChangeset','univer-pro.collaboration-client.network-condition.service','_initMergeInterceptor','asObservable','_changesetSessionId','CompressMutationService','_type','closeSession','ClipsheetFragments','_collaborationPaused','map','_reverseMap','sid','_init','AWAITING','UnitEmbedded','PSEUDO_FETCH_MISSING_RESULT','REDEMPTION_CODE_INACTIVE','DocCollaborationEntity','getTypeOfUnitDisposed$','APPLY_DUPLICATED','appendMutation','sheets','_updateState','FETCH_MISS','getMemberID','CollaborationSocketService','/object','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','transformSelections','/allowed','_prevBlock','deserializeToCombResponse','_imageSourceCache','JOIN_ROOM_FULL','JOINING','serializeCombRequest','addImageSourceCache','MD5','_doCreateSocket','HttpExport','objects','/universer-api/snapshot','IAuthzIoService','decrypt','onSyncEditingCollabCursor','onTransformIME','_getDownloadEndpointURL','SYNCED','_sendingTimer','ENTITLE_INSUFFICIENT_QUOTA','append','has','copyFileMeta','textRanges','clamp','subscribe','ws://127.0.0.1:8000/universer-api/comb/connect','getUnitType','requestParams','encrypt','\x0aAfter:\x20','exports','_initCloseConn','CLOSE_ROOM','updateOfflineData','497922kKGeQm','_onCombEvent','_onLocalMutation','_entityInit$','data','_onUserJoin','csShouldRetryEvent','_cipher','$super','_showConflictNotification','ImageSourceType','CollaborationUIEventId','objectActions','Hasher','_toggleOnline','_onMessage','[FetchMissState]','_schedule','init','members$','Optional','Plugin','hasher','LOCAL_CACHE_INTERVAL','listRoles','toggleOnline','OTHER_CLIENT_EDITING','_clearRedo','range','listCollaborators','/-/object/list','UNIVER_SLIDE','enc','transformChangesets','reject','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','ERROR_IMAGE_TYPE','@univerjs-pro/license','_redoStacks','INVALID_INVITE_CODE','getCollabEntity','UNKNOWN_CMD','_members$','take','_removeRoom','_listenToNetworkCondition','_retryCount','isTransformChangesetsSuccess','_doReset','_socketService','action','updateCursorEvent','INVITE_CODE_REQUIRED','reduce','_localeService','getConfig','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','__Key__','_hash','OfflineState','LIVESHARE_TERMINATE','reqId','CHANGESET_ACK','_configService','objectID','takeUntil','Hex','roomInfos','concatMap','Utf8','synced','_createHmacHelper','_clearRetryConnectingTimer','_checkMissing','decryptBlock','createIdentifier','_awaitingChangeset','default','changesets','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','awaiting_with_pending','_getSendChangesetTimeout','_onConnectionFailed','APPLY_PERMISSION_DENIED','requireSession','NoPadding','rxjs/operators','allowed','HTTPRequest','YUUMI_SUBSCRIPTION_NOT_FOUND','src','UUID','[OfflineState]:\x20received\x20rejection.','algo','SHA1','joinRsp','_rescheduleHeartbeat','/universer-api/user/session-ticket','_parse','SetSelectionsOperation','roles','UNIVER_DOC','MentionType','_onFetchMissResult','EMAIL_VERIFY_CODE_MISMATCH','_clearUndo','UNAUTHENTICATED','INTERNAL_ERROR','isInternalEditorID','onload','getCollabEntity$','slice','_stopTelemetryCollaborationNewChangeset','ENTITLE_INVALID_COUPON_CODE','_eventService','_createHandler','_createInitialStateImpl','LICENSE_MAX_UNITS_EXCEEDED','DEFAULT_WS_SESSION_TICKET_URL','[CollaborationSession]','UniverLicensePlugin','string','unpad','finalize','liveShareNewHost','socket\x20open.','YUUMI_NO_CUBOID_FOR_QUESTION','loadOfflineData','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','fetchMiss','getRoom','getActiveSheet','CollaborationUIEventService','_retryConnectingTimer','resourceIDs','loadSheet','getWorkbookSelections','_initRequestHeader','_collaborationTimeoutTimer','CollaborationController','abs','Encryptor','getUnit','toStringTag','b64DecodeUnicode','interceptor','initWorkbookPermissionChange','status$','APPLY_REJECT','msCrypto','disposeWithMe','c1Prime','PendingState','entries','JOIN_ROOM_FAILED','_roomMembers','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','ENSURE_SNAPSHOT_EXECUTION','ICollaborationSocketService','Cipher','PY_RUNTIME_SCRIPT_ERROR','byteOffset','REDEMPTION_INVALID_CODE','/block/','getCurrentRevOfUnit','684920KqvHKj','csAckEvent','CollaborationImageIoService','ILogService','COMPRESS_MUTATION_APPLY','collaMsg','ConflictState','USER_NOT_FOUND','objectType','charAt','REDEMPTION_USER_NOT_ELIGIBLE','_updateLocalCache','revision','words','LocalUndoRedoService','CHANGESET_SHOULD_RETRY','Failed\x20to\x20update\x20permission\x20point','_getSignURL','CollaborativeUndoRedoService','fetch_missing','_process','_getUndoStack','UnitSnapshot','unknown','collaboratorID','_clearHeartbeatTimer','readAsDataURL','ENTITLE_DUP_SUBSCRIPTION','call','message$','_startCollaboration','_minBufferSize','LIVESHARE_REQUEST_HOST','createCollaborator','_initDependencies','/new_changes','encryptBlock','putCollaborators','generateRandomId','origin','deepClone','getLocalCacheKey','params','byteLength','Subject','status','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','toDisposable','UniverNetworkPlugin','ONLINE','YUUMI_AI_RUN_FAILED','JOIN','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','getUnitId','&source=','CollaborationEntity','Module','avatar','getTime','ENTITLE_USE_COUPON_NOT_1ST_TRADE','CHANGESET_REJ','_doCryptBlock','session','2286732YmBBKA','_sendHeartbeat','UniverNetwork','isPermissionRej','code','/universer-api/oidc/authpage','_fetchMissChangesets','x-univer-host','_status$','_compressMutationService','ERROR_IMAGE','SHOULD_CLOSE_CONN','routeKey','\x20to\x20','UniverCollaborationClientPlugin','?url=','splice','_onUserLeave','HELLO','GLOBAL_ROOMS_CNT_EXCEEDS','_clearCollaborationTimeoutTimer','BlockCipher','_transformStateCache','_invKeySchedule','_config','UPDATE_CURSOR','leaveEvent','session.room-cnt-exceeds','4244168RyWcXt','actions','Base','sin','LICENSE_IMPORT_SIZE_EXCEEDED','_injector','length','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','BASE64','_candidateSocket','getUnitStatus$','COMPRESS_MUTATION_SEND','_replayCachedMutations','INVALID_ARGUMENT','/-/object/-/batch_allowed','extend','getAllMembers','symbol','addHandlerCallback','[OfflineState]:\x20received\x20changeset.','InsertSheetMutation','_changesetReqId','clear','_unitInfo$','@univerjs/drawing','isArray','permissionRejEvent','/universer-api/stream/file/upload','unitId\x20is\x20not\x20found','_waitCount','refreshPermission','Univer','getOwnPropertyDescriptor','SUBMIT_CHANGESET','SOCKET_FAILED_RETRY','_replaceFileID','fromCollab','_oKey','_tryEnsureSocket','_transformRemoteChangesetByIMECache','ISnapshotServerService','fetching\x20missing\x20changesets\x20from\x20','_resendWithTimeout','_registerDependencies','sessionStatus','APPLY_NON_SEQUENTIAL_REVISION','SheetPermissionInitController','[CollaborationState]:\x20apply\x20error!','_timeoutTimer','body','collabWebSocketUrl','_substituteRedoStack','_getUploadFileURL','compute','close$','mapDocumentTypeToUniverType','_keySchedule','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_localCacheService','parse','_revisionService','CHANGESET_REVISION_CONFILICT','mode','sigBytes','unitID','_maxTotalRetryTimeout','sessionStatus$','getLatestCsReqIdBySid','ISocketService','uniscriptRunEvent','_exhaustRemoteChangesetQueue','MemberService','AwaitingWithPendingState','add','onLocalMutation','UNIVER_COLLABORATION_CLIENT_PLUGIN','UPDATE_PERMISSION_OBJ','transformStack\x20failed!','snapshot','FAIL','RevisionService','[PendingState]:\x20unhandled\x20univer\x20type:\x20','prototype','_instanceService','LEAVE','RECV','cmd','/object/','REDEMPTION_CODE_HAS_BEEN_CREATED','Base64','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','keySize','DATA_SOURCE_TOO_LARGE','_doProcessBlock','concat','uploadFileServerUrl','incrementRevOfUnit','HEARTBEAT_TIMEOUT','UniverProCollaboration','_ENC_XFORM_MODE','every','open$','operators','infoRsp','resend','substr','_onRemoteRejected','POST','_socketReady','_getCurrentRevision','HEARTBEAT_TIMEOUT_KEY','_change$','UniverProLicense','/role','updateMember','reverse','_onRemoteChangeset','ciphertext','YUUMI_CONNECTOR_URL_NOT_FOUND','blockSize','_collaborationUIEventService','_sender','ENTITLE_CHAT_LIMIT_EXCEED','localCacheService','image/png','toggleOffline','REDEMPTION_CODE_NOT_STARTED','formatter','_throwTelemetryCollaborationNewChangeset','PERMISSION_REJ','max','next','UNIVER_SHEET','_onConnectionOpen','PENDING','UNISCRIPT_RUN','memberID','ERROR_AGAIN','UniverInstanceType','SyncedState','UniverCore','_data','Pkcs7','enableAuthServer','_clearTimeoutTimer','_queuedRemoteChangesets','_handlerCallback','function','href','isTransformMutationsWithChangesetFailure','set','_toggleOffline','change$','confirm','socketService','getRandomValues','UserManagerService','responseType','ReplaySubject','replace','patch','[CollaborationSessionService]','catch','mutations','SNAPSHOT_INVALID_SNAPSHOT','conflict','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','rxjs','CommandType','compose','override','pauseCollaboration','fetchMissingChangesets','NOT_COLLAB','[PendingState]:\x20received\x20acknowledgement.','padding','_telemetryService','_socket$','UniverDocs','mixIn','ENTITLE_REPORT_LIMIT_EXCEED','_DEC_XFORM_MODE','Undefined','&to=','_roomCreated$','onCommentUpdate','from','BlockCipherMode','_collabSessionService','SnapshotServerOverHTTPService','BehaviorSubject','_nRounds','uuidv4','OFFLINE','USER_IS_ANONYMOUS','state$','_nDataBytes','3nSfkTY','resolve','IImageIoService','_sessions','userID','@univerjs/network','CollaborationSessionService','LIVESHARE_OPERATION','_snapshotService','IDLE','executeCommand','_getAPIPrefix','_doFinalize','result','_socketMessageSubscription','startsWith','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_startTelemetryCollaborationNewChangeset','LOGIN_FAILED','CONNECTOR_DATA_TOO_LARGE','_hasher','readInt32LE','onTransformSelections','image/jpg','LICENSE_DISTRO_REJECTED','21289770BzSGZq','connection\x20error','@univerjs/docs','[CollaborationUndoRedoService]','baseRev','SheetTransformSelectionsService','post','Could\x20not\x20dynamically\x20require\x20\x22','LIVESHARE_FETCH_OPERATIONS','_members'];_0x3d8f=function(){return _0x4f2ac9;};return _0x3d8f();}(function(_0x4a9abc,_0x11939b){var _0x1636eb=_0x573a,_0x22944c=_0x4a9abc();while(!![]){try{var _0x4dda02=-parseInt(_0x1636eb(0x210))/0x1+-parseInt(_0x1636eb(0x2b5))/0x2+parseInt(_0x1636eb(0x3d5))/0x3*(-parseInt(_0x1636eb(0x2f4))/0x4)+-parseInt(_0x1636eb(0x3fc))/0x5+parseInt(_0x1636eb(0x438))/0x6*(-parseInt(_0x1636eb(0x450))/0x7)+parseInt(_0x1636eb(0x310))/0x8*(parseInt(_0x1636eb(0x1b5))/0x9)+parseInt(_0x1636eb(0x3ee))/0xa;if(_0x4dda02===_0x11939b)break;else _0x22944c['push'](_0x22944c['shift']());}catch(_0x2b802e){_0x22944c['push'](_0x22944c['shift']());}}}(_0x3d8f,0x59b90),function(_0x3d328d,_0x2147dc){var _0x39ef04=_0x573a;typeof exports==_0x39ef04(0x519)&&typeof module<'u'?_0x2147dc(exports,require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs/telemetry'),require('rxjs/operators'),require('@univerjs/network'),require('@univerjs-pro/license'),require('@univerjs/drawing')):typeof define==_0x39ef04(0x3a3)&&define['amd']?define([_0x39ef04(0x20c),_0x39ef04(0x494),_0x39ef04(0x4ee),_0x39ef04(0x3f0),'@univerjs/sheets',_0x39ef04(0x3b7),_0x39ef04(0x41c),_0x39ef04(0x266),_0x39ef04(0x3da),_0x39ef04(0x235),_0x39ef04(0x328)],_0x2147dc):(_0x3d328d=typeof globalThis<'u'?globalThis:_0x3d328d||self,_0x2147dc(_0x3d328d['UniverProCollaborationClient']={},_0x3d328d[_0x39ef04(0x372)],_0x3d328d[_0x39ef04(0x39c)],_0x3d328d[_0x39ef04(0x3c2)],_0x3d328d['UniverSheets'],_0x3d328d[_0x39ef04(0x3b7)],_0x3d328d[_0x39ef04(0x400)],_0x3d328d[_0x39ef04(0x3b7)][_0x39ef04(0x376)],_0x3d328d[_0x39ef04(0x2f6)],_0x3d328d[_0x39ef04(0x380)],_0x3d328d['UniverDrawing']));}(this,function(_0x5e3fa4,_0x35009e,_0x158513,_0xc7e141,_0x18f772,_0x32f9ef,_0xd66539,_0x16efa3,_0x5b6221,_0x4b2b6c,_0x2bf003){'use strict';var _0x2229a0=_0x573a;var _0x55ee76=Object[_0x2229a0(0x485)],_0x30f971=(_0x498f36,_0xe11188,_0x58bf81)=>_0xe11188 in _0x498f36?_0x55ee76(_0x498f36,_0xe11188,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x58bf81}):_0x498f36[_0xe11188]=_0x58bf81,_0x4b59b5=(_0x43ed6b,_0x23b098,_0x195f9a)=>_0x30f971(_0x43ed6b,typeof _0x23b098!=_0x2229a0(0x321)?_0x23b098+'':_0x23b098,_0x195f9a);const _0x7842a=_0x2229a0(0x1f8),_0xa82dae=_0x2229a0(0x50d),_0x46c157=_0x2229a0(0x207),_0x19d93b=_0x2229a0(0x271),_0x50386d=_0x2229a0(0x423),_0x3bd8ba=_0x2229a0(0x371),_0x2a69c3=_0x2229a0(0x4e7),_0x175c63=_0x2229a0(0x227),_0x3083bf=_0x2229a0(0x4c5),_0x5868b9=_0x2229a0(0x2f9),_0x37bb98=_0x2229a0(0x233),_0x10b865=_0x2229a0(0x421);var _0x2878f7=(_0x40abf4=>(_0x40abf4[_0x40abf4[_0x2229a0(0x49f)]=0x0]=_0x2229a0(0x49f),_0x40abf4[_0x40abf4['OK']=0x1]='OK',_0x40abf4[_0x40abf4[_0x2229a0(0x27b)]=0x2]=_0x2229a0(0x27b),_0x40abf4[_0x40abf4[_0x2229a0(0x4e9)]=0x3]=_0x2229a0(0x4e9),_0x40abf4[_0x40abf4['NOT_FOUND']=0x4]='NOT_FOUND',_0x40abf4[_0x40abf4['UNAUTHENTICATED']=0x5]=_0x2229a0(0x27a),_0x40abf4[_0x40abf4['ALREADY_EXISTS']=0x6]=_0x2229a0(0x457),_0x40abf4[_0x40abf4[_0x2229a0(0x31d)]=0x7]=_0x2229a0(0x31d),_0x40abf4[_0x40abf4[_0x2229a0(0x4b6)]=0x8]='TOO_MANY_REQUESTS',_0x40abf4[_0x40abf4[_0x2229a0(0x407)]=0x9]=_0x2229a0(0x407),_0x40abf4[_0x40abf4[_0x2229a0(0x3e7)]=0xa]=_0x2229a0(0x3e7),_0x40abf4[_0x40abf4['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x40abf4[_0x40abf4[_0x2229a0(0x317)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x40abf4[_0x40abf4[_0x2229a0(0x278)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x40abf4[_0x40abf4[_0x2229a0(0x25f)]=0xe]=_0x2229a0(0x25f),_0x40abf4[_0x40abf4[_0x2229a0(0x4dd)]=0xf]=_0x2229a0(0x4dd),_0x40abf4[_0x40abf4['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x40abf4[_0x40abf4['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x2229a0(0x4db),_0x40abf4[_0x40abf4[_0x2229a0(0x399)]=0x65]=_0x2229a0(0x399),_0x40abf4[_0x40abf4[_0x2229a0(0x2bc)]=0xc9]=_0x2229a0(0x2bc),_0x40abf4[_0x40abf4[_0x2229a0(0x3d2)]=0xca]=_0x2229a0(0x3d2),_0x40abf4[_0x40abf4['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x2229a0(0x34d),_0x40abf4[_0x40abf4[_0x2229a0(0x3b4)]=0x1771]=_0x2229a0(0x3b4),_0x40abf4[_0x40abf4[_0x2229a0(0x459)]=0x1772]=_0x2229a0(0x459),_0x40abf4[_0x40abf4[_0x2229a0(0x2ad)]=0x1773]=_0x2229a0(0x2ad),_0x40abf4[_0x40abf4[_0x2229a0(0x2a4)]=0x1b59]=_0x2229a0(0x2a4),_0x40abf4[_0x40abf4[_0x2229a0(0x33d)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x40abf4[_0x40abf4[_0x2229a0(0x4f2)]=0x1b5b]=_0x2229a0(0x4f2),_0x40abf4[_0x40abf4[_0x2229a0(0x263)]=0x1b5c]=_0x2229a0(0x263),_0x40abf4[_0x40abf4[_0x2229a0(0x1e2)]=0x1b5d]=_0x2229a0(0x1e2),_0x40abf4[_0x40abf4[_0x2229a0(0x3e8)]=0x1f41]=_0x2229a0(0x3e8),_0x40abf4[_0x40abf4[_0x2229a0(0x285)]=0x2329]=_0x2229a0(0x285),_0x40abf4[_0x40abf4[_0x2229a0(0x198)]=0x232a]=_0x2229a0(0x198),_0x40abf4[_0x40abf4[_0x2229a0(0x314)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x40abf4[_0x40abf4[_0x2229a0(0x412)]=0x232c]=_0x2229a0(0x412),_0x40abf4[_0x40abf4[_0x2229a0(0x3ed)]=0x232d]=_0x2229a0(0x3ed),_0x40abf4[_0x40abf4[_0x2229a0(0x533)]=0x2711]=_0x2229a0(0x533),_0x40abf4[_0x40abf4[_0x2229a0(0x480)]=0x2712]=_0x2229a0(0x480),_0x40abf4[_0x40abf4[_0x2229a0(0x42f)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x40abf4[_0x40abf4[_0x2229a0(0x269)]=0x2714]=_0x2229a0(0x269),_0x40abf4[_0x40abf4[_0x2229a0(0x28e)]=0x271a]=_0x2229a0(0x28e),_0x40abf4[_0x40abf4['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x2229a0(0x483),_0x40abf4[_0x40abf4[_0x2229a0(0x1af)]=0x271c]=_0x2229a0(0x1af),_0x40abf4[_0x40abf4[_0x2229a0(0x4e5)]=0x271d]=_0x2229a0(0x4e5),_0x40abf4[_0x40abf4[_0x2229a0(0x4b7)]=0x271e]=_0x2229a0(0x4b7),_0x40abf4[_0x40abf4[_0x2229a0(0x2e7)]=0x271f]=_0x2229a0(0x2e7),_0x40abf4[_0x40abf4['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x2229a0(0x386),_0x40abf4[_0x40abf4[_0x2229a0(0x2b0)]=0x2af9]=_0x2229a0(0x2b0),_0x40abf4[_0x40abf4[_0x2229a0(0x452)]=0x2ee1]=_0x2229a0(0x452),_0x40abf4[_0x40abf4[_0x2229a0(0x237)]=0x2ee2]=_0x2229a0(0x237),_0x40abf4[_0x40abf4[_0x2229a0(0x244)]=0x2ee3]=_0x2229a0(0x244),_0x40abf4[_0x40abf4['USER_NOT_INVITED_CODE']=0x2ee4]=_0x2229a0(0x522),_0x40abf4[_0x40abf4[_0x2229a0(0x1a4)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x40abf4[_0x40abf4[_0x2229a0(0x445)]=0x32c9]=_0x2229a0(0x445),_0x40abf4[_0x40abf4[_0x2229a0(0x517)]=0x32ca]=_0x2229a0(0x517),_0x40abf4[_0x40abf4['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x2229a0(0x4da),_0x40abf4[_0x40abf4[_0x2229a0(0x477)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x40abf4[_0x40abf4[_0x2229a0(0x49b)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x40abf4[_0x40abf4[_0x2229a0(0x2d0)]=0x36b3]=_0x2229a0(0x2d0),_0x40abf4[_0x40abf4['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x40abf4[_0x40abf4['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x2229a0(0x281),_0x40abf4[_0x40abf4[_0x2229a0(0x3f9)]=0x36b6]=_0x2229a0(0x3f9),_0x40abf4[_0x40abf4[_0x2229a0(0x4f8)]=0x36b7]=_0x2229a0(0x4f8),_0x40abf4[_0x40abf4[_0x2229a0(0x2f0)]=0x36b8]=_0x2229a0(0x2f0),_0x40abf4[_0x40abf4[_0x2229a0(0x38a)]=0x3715]=_0x2229a0(0x38a),_0x40abf4[_0x40abf4[_0x2229a0(0x3c4)]=0x3716]=_0x2229a0(0x3c4),_0x40abf4[_0x40abf4[_0x2229a0(0x200)]=0x3717]=_0x2229a0(0x200),_0x40abf4[_0x40abf4[_0x2229a0(0x44d)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x40abf4[_0x40abf4[_0x2229a0(0x2b2)]=0x3a99]=_0x2229a0(0x2b2),_0x40abf4[_0x40abf4[_0x2229a0(0x1df)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x40abf4[_0x40abf4[_0x2229a0(0x436)]=0x3a9b]=_0x2229a0(0x436),_0x40abf4[_0x40abf4[_0x2229a0(0x38e)]=0x3a9c]=_0x2229a0(0x38e),_0x40abf4[_0x40abf4[_0x2229a0(0x2bf)]=0x3a9d]=_0x2229a0(0x2bf),_0x40abf4[_0x40abf4[_0x2229a0(0x405)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x40abf4[_0x40abf4['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x2229a0(0x368),_0x40abf4[_0x40abf4[_0x2229a0(0x36c)]=0x3e81]=_0x2229a0(0x36c),_0x40abf4[_0x40abf4[_0x2229a0(0x521)]=-0x1]=_0x2229a0(0x521),_0x40abf4))(_0x2878f7||{}),_0x24c96d=(_0x4cefe2=>(_0x4cefe2[_0x4cefe2['UNIVER_UNKNOWN']=0x0]=_0x2229a0(0x4d1),_0x4cefe2[_0x4cefe2[_0x2229a0(0x275)]=0x1]='UNIVER_DOC',_0x4cefe2[_0x4cefe2[_0x2229a0(0x394)]=0x2]=_0x2229a0(0x394),_0x4cefe2[_0x4cefe2[_0x2229a0(0x22f)]=0x3]=_0x2229a0(0x22f),_0x4cefe2[_0x4cefe2[_0x2229a0(0x4fe)]=0x4]=_0x2229a0(0x4fe),_0x4cefe2[_0x4cefe2[_0x2229a0(0x521)]=-0x1]=_0x2229a0(0x521),_0x4cefe2))(_0x24c96d||{}),_0x5db895=(_0x4bd8ca=>(_0x4bd8ca[_0x4bd8ca[_0x2229a0(0x239)]=0x0]=_0x2229a0(0x239),_0x4bd8ca[_0x4bd8ca[_0x2229a0(0x306)]=0x1]=_0x2229a0(0x306),_0x4bd8ca[_0x4bd8ca[_0x2229a0(0x2e8)]=0x2]=_0x2229a0(0x2e8),_0x4bd8ca[_0x4bd8ca[_0x2229a0(0x364)]=0x3]=_0x2229a0(0x364),_0x4bd8ca[_0x4bd8ca['INGEST']=0x4]=_0x2229a0(0x433),_0x4bd8ca[_0x4bd8ca[_0x2229a0(0x1ac)]=0x5]='HEARTBEAT',_0x4bd8ca[_0x4bd8ca['RECV']=0x6]=_0x2229a0(0x365),_0x4bd8ca[_0x4bd8ca[_0x2229a0(0x521)]=-0x1]=_0x2229a0(0x521),_0x4bd8ca))(_0x5db895||{}),_0xaed6cc=(_0x4a282e=>(_0x4a282e[_0x4a282e['UNKNOWN_CODE']=0x0]='UNKNOWN_CODE',_0x4a282e[_0x4a282e['OK']=0x1]='OK',_0x4a282e[_0x4a282e[_0x2229a0(0x35f)]=0x2]=_0x2229a0(0x35f),_0x4a282e[_0x4a282e[_0x2229a0(0x1f0)]=0x3e9]='JOIN_ROOM_FULL',_0x4a282e[_0x4a282e[_0x2229a0(0x4b2)]=0x3ea]=_0x2229a0(0x4b2),_0x4a282e[_0x4a282e[_0x2229a0(0x1a2)]=0x3eb]=_0x2229a0(0x1a2),_0x4a282e[_0x4a282e['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x2229a0(0x307),_0x4a282e[_0x4a282e['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x4a282e))(_0xaed6cc||{}),_0x1b6d95=(_0x10710c=>(_0x10710c[_0x10710c['Undefined']=0x0]=_0x2229a0(0x3c6),_0x10710c[_0x10710c[_0x2229a0(0x48b)]=0x1]=_0x2229a0(0x48b),_0x10710c[_0x10710c[_0x2229a0(0x1f6)]=0x2]=_0x2229a0(0x1f6),_0x10710c[_0x10710c['UnitEmbedded']=0x3]=_0x2229a0(0x1dd),_0x10710c[_0x10710c[_0x2229a0(0x2cb)]=0x4]='UnitSnapshot',_0x10710c[_0x10710c[_0x2229a0(0x460)]=0x5]=_0x2229a0(0x460),_0x10710c[_0x10710c[_0x2229a0(0x1d6)]=0x6]=_0x2229a0(0x1d6),_0x10710c[_0x10710c[_0x2229a0(0x521)]=-0x1]='UNRECOGNIZED',_0x10710c))(_0x1b6d95||{});const _0x53b2f7='collaboration_new_changeset';function _0x38397d(_0x3c62c8){var _0xf6cf4=_0x2229a0;return JSON[_0xf6cf4(0x418)](_0x3c62c8)['length'];}var _0x306c72=(_0x4197e8=>(_0x4197e8['OTHER_CLIENT_EDITING']=_0x2229a0(0x22a),_0x4197e8['PERMISSION_DENIED']=_0x2229a0(0x4e9),_0x4197e8[_0x2229a0(0x451)]=_0x2229a0(0x451),_0x4197e8[_0x2229a0(0x20e)]=_0x2229a0(0x20e),_0x4197e8[_0x2229a0(0x2aa)]='JOIN_ROOM_FAILED',_0x4197e8[_0x2229a0(0x332)]=_0x2229a0(0x332),_0x4197e8['SOCKET_FAILED']=_0x2229a0(0x19a),_0x4197e8[_0x2229a0(0x493)]='SUBMIT_CHANGESET_TIMEOUT',_0x4197e8))(_0x306c72||{});class _0x1a9793{constructor(){var _0x51404b=_0x2229a0;_0x4b59b5(this,_0x51404b(0x425),new _0x32f9ef[(_0x51404b(0x2e1))]()),_0x4b59b5(this,'event$',this[_0x51404b(0x425)][_0x51404b(0x1d1)]());}[_0x2229a0(0x4a6)](_0x2cce7a){var _0x2c1361=_0x2229a0;this[_0x2c1361(0x425)][_0x2c1361(0x393)](_0x2cce7a);}}class _0x1a53f1{constructor(){var _0x1253d9=_0x2229a0;_0x4b59b5(this,_0x1253d9(0x51f),new _0x32f9ef[(_0x1253d9(0x2e1))]()),_0x4b59b5(this,'commentUpdate$',this[_0x1253d9(0x51f)][_0x1253d9(0x1d1)]());}[_0x2229a0(0x3c9)](_0x26bc0e){var _0x51284d=_0x2229a0;this[_0x51284d(0x51f)][_0x51284d(0x393)](_0x26bc0e);}}var _0x7b7cf8=Object['getOwnPropertyDescriptor'],_0x143db0=(_0x4870dc,_0x494e05,_0x104b60,_0xb201a9)=>{for(var _0x3b0af4=_0xb201a9>0x1?void 0x0:_0xb201a9?_0x7b7cf8(_0x494e05,_0x104b60):_0x494e05,_0x5e6348=_0x4870dc['length']-0x1,_0x43f222;_0x5e6348>=0x0;_0x5e6348--)(_0x43f222=_0x4870dc[_0x5e6348])&&(_0x3b0af4=_0x43f222(_0x3b0af4)||_0x3b0af4);return _0x3b0af4;},_0x5d09d8=(_0x5549e8,_0x44067f)=>(_0x257425,_0x23ec82)=>_0x44067f(_0x257425,_0x23ec82,_0x5549e8);_0x5e3fa4[_0x2229a0(0x357)]=class extends _0x158513[_0x2229a0(0x422)]{constructor(_0x18b7d4,_0x4e121d){var _0x40ad7e=_0x2229a0;super(),_0x4b59b5(this,_0x40ad7e(0x2ab),new Map()),_0x4b59b5(this,'_roomCreated$',new _0x32f9ef['Subject']()),(this[_0x40ad7e(0x1ae)]=_0x18b7d4,this['_userManagerService']=_0x4e121d,this[_0x40ad7e(0x2a6)](_0x32f9ef[_0x40ad7e(0x47e)](this[_0x40ad7e(0x1ae)][_0x40ad7e(0x1e1)](_0x158513['UniverInstanceType'][_0x40ad7e(0x394)])[_0x40ad7e(0x3fa)](_0x16efa3[_0x40ad7e(0x1d8)](_0x1854bb=>_0x1854bb[_0x40ad7e(0x2ea)]())),this[_0x40ad7e(0x1ae)][_0x40ad7e(0x1e1)](_0x158513[_0x40ad7e(0x39a)][_0x40ad7e(0x275)])[_0x40ad7e(0x3fa)](_0x16efa3[_0x40ad7e(0x1d8)](_0x42087f=>_0x42087f[_0x40ad7e(0x2ea)]())),this[_0x40ad7e(0x1ae)]['getTypeOfUnitDisposed$'](_0x158513[_0x40ad7e(0x39a)]['UNIVER_SLIDE'])[_0x40ad7e(0x3fa)](_0x16efa3[_0x40ad7e(0x1d8)](_0x4bf122=>_0x4bf122[_0x40ad7e(0x2ea)]())))[_0x40ad7e(0x206)](_0x58fec8=>this[_0x40ad7e(0x23c)](_0x58fec8))));}[_0x2229a0(0x52b)](_0x24eed2){var _0x1ebdd6=_0x2229a0;return this[_0x1ebdd6(0x2ab)][_0x1ebdd6(0x202)](_0x24eed2)?_0x32f9ef['of'](this[_0x1ebdd6(0x2ab)][_0x1ebdd6(0x444)](_0x24eed2)):this[_0x1ebdd6(0x3c8)][_0x1ebdd6(0x3fa)](_0x16efa3[_0x1ebdd6(0x1d8)](_0x10bf59=>{var _0x40e067=_0x1ebdd6;if(_0x10bf59===_0x24eed2)return this[_0x40e067(0x2ab)][_0x40e067(0x444)](_0x10bf59);}));}[_0x2229a0(0x3f8)](_0x54e564){var _0x5dd58f=_0x2229a0;this['_userManagerService'][_0x5dd58f(0x3f8)](_0x54e564);}[_0x2229a0(0x464)](){var _0xc17974=_0x2229a0;return this['_userManagerService'][_0xc17974(0x464)]();}[_0x2229a0(0x382)](_0x5a30ba,_0x4fac45){var _0x3e2db1=_0x2229a0;let _0x4d5211=this['_roomMembers']['get'](_0x5a30ba);_0x4d5211||(_0x4d5211=new _0x5382ac(),this['_roomMembers'][_0x3e2db1(0x3a6)](_0x5a30ba,_0x4d5211),this[_0x3e2db1(0x3c8)][_0x3e2db1(0x393)](_0x5a30ba)),_0x4d5211[_0x3e2db1(0x382)](_0x4fac45);}[_0x2229a0(0x430)](_0x2f7343,_0x523bea){var _0x5c681c=_0x2229a0;const _0x12cdcd=this[_0x5c681c(0x2ab)]['get'](_0x2f7343);_0x12cdcd&&_0x12cdcd[_0x5c681c(0x430)](_0x523bea);}[_0x2229a0(0x292)](_0x45a39d){var _0x4e6041=_0x2229a0;return this[_0x4e6041(0x2ab)][_0x4e6041(0x444)](_0x45a39d);}[_0x2229a0(0x408)](_0xe4cf06,_0x552ea8){var _0x3771a1=_0x2229a0;const _0x1eae58=this[_0x3771a1(0x2ab)]['get'](_0xe4cf06);if(_0x1eae58)return _0x1eae58[_0x3771a1(0x408)](_0x552ea8);}[_0x2229a0(0x23c)](_0x12acae){var _0x2c74ca=_0x2229a0;const _0x3456c3=this[_0x2c74ca(0x2ab)][_0x2c74ca(0x444)](_0x12acae);_0x3456c3&&(_0x3456c3[_0x2c74ca(0x484)](),this['_roomMembers'][_0x2c74ca(0x420)](_0x12acae));}[_0x2229a0(0x484)](){var _0x52f404=_0x2229a0;this[_0x52f404(0x2ab)]['forEach'](_0x3eba85=>_0x3eba85['dispose']()),this['_roomMembers']['clear'](),this[_0x52f404(0x3c8)][_0x52f404(0x45e)]();}},_0x5e3fa4[_0x2229a0(0x357)]=_0x143db0([_0x5d09d8(0x0,_0x158513[_0x2229a0(0x4ad)]),_0x5d09d8(0x1,_0x158513[_0x2229a0(0x1c1)](_0x158513[_0x2229a0(0x3ac)]))],_0x5e3fa4['MemberService']);class _0x5382ac extends _0x158513['Disposable']{constructor(){var _0x26f0a6=_0x2229a0;super(...arguments),_0x4b59b5(this,'_members',new Map()),_0x4b59b5(this,_0x26f0a6(0x23a),new _0x32f9ef[(_0x26f0a6(0x3ce))](this[_0x26f0a6(0x3f7)])),_0x4b59b5(this,_0x26f0a6(0x223),this[_0x26f0a6(0x23a)][_0x26f0a6(0x1d1)]());}[_0x2229a0(0x484)](){var _0x203a82=_0x2229a0;this[_0x203a82(0x3f7)][_0x203a82(0x326)]();}[_0x2229a0(0x382)](_0xffe9b){var _0x39caf5=_0x2229a0;this[_0x39caf5(0x3f7)][_0x39caf5(0x3a6)](_0xffe9b[_0x39caf5(0x398)],_0xffe9b),this[_0x39caf5(0x468)]();}[_0x2229a0(0x430)](_0x5cc65a){var _0x118fbe=_0x2229a0;this[_0x118fbe(0x3f7)]['delete'](_0x5cc65a);}['getMember'](_0x4db446){var _0x504d10=_0x2229a0;return this[_0x504d10(0x3f7)][_0x504d10(0x444)](_0x4db446);}[_0x2229a0(0x320)](){var _0x49488c=_0x2229a0;return Array[_0x49488c(0x3ca)](this[_0x49488c(0x3f7)][_0x49488c(0x4c7)]());}['_emitMembers'](){var _0x4483e4=_0x2229a0;this[_0x4483e4(0x23a)][_0x4483e4(0x393)](this[_0x4483e4(0x3f7)]);}}var _0x5adfda=Object[_0x2229a0(0x330)],_0x49c2dd=(_0x523b08,_0x1f0381,_0x10f000,_0x3bd931)=>{var _0x3981b8=_0x2229a0;for(var _0x45e47e=_0x3bd931>0x1?void 0x0:_0x3bd931?_0x5adfda(_0x1f0381,_0x10f000):_0x1f0381,_0xfa5076=_0x523b08[_0x3981b8(0x316)]-0x1,_0x33c2d5;_0xfa5076>=0x0;_0xfa5076--)(_0x33c2d5=_0x523b08[_0xfa5076])&&(_0x45e47e=_0x33c2d5(_0x45e47e)||_0x45e47e);return _0x45e47e;},_0x353f89=(_0xafbfc3,_0x5369de)=>(_0x19375d,_0x118efb)=>_0x5369de(_0x19375d,_0x118efb,_0xafbfc3),_0x366b35=(_0x25be4f=>(_0x25be4f[_0x25be4f[_0x2229a0(0x3de)]=0x0]=_0x2229a0(0x3de),_0x25be4f[_0x25be4f[_0x2229a0(0x1f1)]=0x1]='JOINING',_0x25be4f[_0x25be4f['OFFLINE']=0x2]=_0x2229a0(0x3d1),_0x25be4f[_0x25be4f[_0x2229a0(0x2e6)]=0x3]=_0x2229a0(0x2e6),_0x25be4f))(_0x366b35||{});const _0x5dd6b1={[_0xaed6cc[_0x2229a0(0x35f)]]:'session.join-failed',[_0xaed6cc[_0x2229a0(0x1f0)]]:_0x2229a0(0x437),[_0xaed6cc[_0x2229a0(0x4b2)]]:_0x2229a0(0x19e),[_0xaed6cc['JOIN_ROOM_PERMISSION_DENIED']]:_0x2229a0(0x43e),[_0xaed6cc[_0x2229a0(0x307)]]:_0x2229a0(0x30f)};_0x5e3fa4['CollaborationSession']=class extends _0x158513['RxDisposable']{constructor(_0x2703e7,_0x4d4132,_0x126c1a,_0xf08078,_0x1ff70c,_0x2060e1,_0xd5a425,_0x268ecd){var _0x156b88=_0x2229a0;super(),_0x4b59b5(this,_0x156b88(0x48d),new _0x32f9ef[(_0x156b88(0x3ce))](0x0)),_0x4b59b5(this,_0x156b88(0x352),this[_0x156b88(0x48d)]['asObservable']()),_0x4b59b5(this,'_event$',new _0x32f9ef[(_0x156b88(0x2e1))]()),_0x4b59b5(this,_0x156b88(0x413),this['_event$'][_0x156b88(0x1d1)]()),_0x4b59b5(this,_0x156b88(0x530)),_0x4b59b5(this,_0x156b88(0x3e3)),_0x4b59b5(this,'_collaborationTimeoutTimer'),_0x4b59b5(this,_0x156b88(0x45a),!0x1),_0x4b59b5(this,_0x156b88(0x505),null),(this['_unitID']=_0x2703e7,this['_logService']=_0x126c1a,this[_0x156b88(0x24f)]=_0xf08078,this[_0x156b88(0x44f)]=_0x1ff70c,this['_commentService']=_0x2060e1,this['_collaborationUIEventService']=_0xd5a425,this[_0x156b88(0x3c0)]=_0x268ecd,this[_0x156b88(0x45a)]=!!this[_0x156b88(0x3c0)],_0x4d4132['pipe'](_0x32f9ef[_0x156b88(0x251)](this[_0x156b88(0x4ce)]))[_0x156b88(0x206)](_0x2ea068=>{var _0x4b22c0=_0x156b88,_0x526315;typeof _0x2ea068>'u'||(this[_0x4b22c0(0x530)]=_0x2ea068,_0x2ea068?(this['_joinRoom'](_0x2ea068),this[_0x4b22c0(0x3e3)]=_0x2ea068['message$']['subscribe'](_0x51d015=>{var _0x468f50=_0x4b22c0;_0x51d015[_0x468f50(0x300)]===this[_0x468f50(0x3ff)]&&this[_0x468f50(0x211)](_0x51d015);})):(this[_0x4b22c0(0x390)](),this[_0x4b22c0(0x48d)][_0x4b22c0(0x393)](0x2),(_0x526315=this[_0x4b22c0(0x3e3)])==null||_0x526315[_0x4b22c0(0x415)](),this[_0x4b22c0(0x3e3)]=null));}));}get[_0x2229a0(0x33c)](){var _0x4b6d76=_0x2229a0;return this[_0x4b6d76(0x48d)]['getValue']();}['getMemberID'](){var _0x7445e1=_0x2229a0,_0xd744c8,_0x55d5c0;return(_0x55d5c0=(_0xd744c8=this[_0x7445e1(0x530)])==null?void 0x0:_0xd744c8[_0x7445e1(0x398)])!=null?_0x55d5c0:null;}['dispose'](){var _0x3afe73=_0x2229a0;super[_0x3afe73(0x484)](),this[_0x3afe73(0x4ce)][_0x3afe73(0x393)](),this[_0x3afe73(0x4ce)][_0x3afe73(0x45e)]();}['close'](){var _0x5be70c=_0x2229a0,_0x111143,_0x454f59;this['_throwTelemetryCollaborationNewChangeset'](),(_0x111143=this[_0x5be70c(0x530)])==null||_0x111143[_0x5be70c(0x535)]({'cmd':_0x5db895['LEAVE'],'data':{'roomID':this[_0x5be70c(0x3ff)]}}),(_0x454f59=this['_socket'])==null||_0x454f59[_0x5be70c(0x43b)](),this['_event$'][_0x5be70c(0x45e)](),this[_0x5be70c(0x48d)][_0x5be70c(0x45e)](),this[_0x5be70c(0x484)]();}[_0x2229a0(0x211)](_0xce2a4a){var _0x504e6a=_0x2229a0;_0xce2a4a[_0x504e6a(0x366)]===_0x5db895['JOIN']?this[_0x504e6a(0x4c6)](_0xce2a4a):_0xce2a4a[_0x504e6a(0x366)]===_0x5db895['RECV']&&this[_0x504e6a(0x4d6)](_0xce2a4a);}[_0x2229a0(0x487)](_0x3fb966){var _0x22e120=_0x2229a0;this[_0x22e120(0x48d)][_0x22e120(0x393)](0x1),_0x3fb966['send']({'cmd':_0x5db895[_0x22e120(0x2e8)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x22e120(0x3ff)]}]}});}['_onJoinRoomEvent'](_0x4095dc){var _0x29891d=_0x2229a0,_0x401cf3;if(_0x4095dc[_0x29891d(0x2f8)]in _0x5dd6b1){this[_0x29891d(0x388)][_0x29891d(0x4a6)]({'id':_0x306c72[_0x29891d(0x2aa)],'data':_0x5dd6b1[_0x4095dc[_0x29891d(0x2f8)]]}),this[_0x29891d(0x48d)][_0x29891d(0x393)](0x2);return;}this['_sessionStatus$'][_0x29891d(0x393)](0x3);const _0x26ddb3=(_0x401cf3=_0x4095dc['data'][_0x29891d(0x253)][this[_0x29891d(0x3ff)]])==null?void 0x0:_0x401cf3[_0x29891d(0x4ef)];_0x26ddb3&&_0x26ddb3[_0x29891d(0x45b)](_0x389b85=>this[_0x29891d(0x44f)]['updateMember'](this['_unitID'],_0x389b85));}[_0x2229a0(0x4d6)](_0x6c8ec9){var _0x20eea0=_0x2229a0;try{const _0x3eb770=_0x6c8ec9[_0x20eea0(0x214)];switch(_0x3eb770[_0x20eea0(0x40a)]){case _0x35009e[_0x20eea0(0x499)][_0x20eea0(0x4cf)]:this[_0x20eea0(0x215)](_0x3eb770),this[_0x20eea0(0x425)][_0x20eea0(0x393)](_0x3eb770);break;case _0x35009e['CollaborationEvent'][_0x20eea0(0x500)]:this[_0x20eea0(0x305)](_0x3eb770),this['_event$'][_0x20eea0(0x393)](_0x3eb770);break;case _0x35009e[_0x20eea0(0x499)][_0x20eea0(0x24e)]:case _0x35009e[_0x20eea0(0x499)][_0x20eea0(0x2c4)]:this[_0x20eea0(0x280)](),this[_0x20eea0(0x308)](),this['_event$'][_0x20eea0(0x393)](_0x3eb770);break;case _0x35009e[_0x20eea0(0x499)]['MSG_FOR_ERROR']:this[_0x20eea0(0x501)]['error'](_0x20eea0(0x481)+JSON['stringify'](_0x3eb770)),this[_0x20eea0(0x425)][_0x20eea0(0x393)](_0x3eb770);break;case _0x35009e[_0x20eea0(0x499)]['COMMENT_UPDATE']:this[_0x20eea0(0x1b7)][_0x20eea0(0x3c9)](_0x3eb770[_0x20eea0(0x214)]),this['_event$']['next'](_0x3eb770);break;default:this[_0x20eea0(0x425)]['next'](_0x3eb770);}}catch(_0x4f67e3){this[_0x20eea0(0x501)]['error'](_0x4f67e3,_0x6c8ec9);}}[_0x2229a0(0x215)](_0x4095b5){var _0x7a14a7=_0x2229a0;this[_0x7a14a7(0x44f)][_0x7a14a7(0x382)](this['_unitID'],_0x4095b5[_0x7a14a7(0x214)]);}['_onUserLeave'](_0x1fc723){var _0x2baa35=_0x2229a0;this['_memberService']['removeMember'](this['_unitID'],_0x1fc723[_0x2baa35(0x214)][_0x2baa35(0x398)]);}async[_0x2229a0(0x535)](_0x2460e9,_0x23f1a5){var _0x3fd22c=_0x2229a0;if(this[_0x3fd22c(0x33c)]!==0x3||!this[_0x3fd22c(0x530)])throw new Error(_0x3fd22c(0x36a));try{_0x2460e9[_0x3fd22c(0x40a)]===_0x35009e[_0x3fd22c(0x499)][_0x3fd22c(0x331)]&&(this[_0x3fd22c(0x4ae)](),this[_0x3fd22c(0x3e6)](_0x2460e9)),this['_socket'][_0x3fd22c(0x535)]({'cmd':_0x5db895[_0x3fd22c(0x433)],'routeKey':_0x23f1a5,'routeType':'','data':_0x2460e9});}catch(_0x4a4de2){this[_0x3fd22c(0x501)][_0x3fd22c(0x508)](_0x4a4de2);}}['_scheduleCollaborationTimeoutTimer'](){var _0x326ce9=_0x2229a0,_0x256121;this[_0x326ce9(0x29a)]=setTimeout(()=>{var _0x565f96=_0x326ce9;this['_collaborationTimeoutTimer']=null,this[_0x565f96(0x388)][_0x565f96(0x4a6)]({'id':_0x306c72[_0x565f96(0x493)]});},(_0x256121=this[_0x326ce9(0x24f)][_0x326ce9(0x247)](_0x3bd8ba))!=null?_0x256121:0x4e20);}[_0x2229a0(0x308)](){var _0x1f36bb=_0x2229a0;this[_0x1f36bb(0x29a)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}[_0x2229a0(0x3e6)](_0x4338ab){var _0x3320d1=_0x2229a0;if(!this[_0x3320d1(0x45a)])return;const {data:_0x16b9c5}=_0x4338ab,{unitID:_0x72f571,changeset:_0x7170fa}=_0x16b9c5,{mutations:_0x2605db,type:_0x3711c2}=_0x7170fa;this[_0x3320d1(0x505)]={'unitId':_0x72f571,'type':_0x3711c2,'startTime':performance[_0x3320d1(0x40f)](),'stopTime':0x0,'duration':0x0,'size':_0x38397d(_0x2605db)};}[_0x2229a0(0x280)](){var _0x382e9d=_0x2229a0;if(this[_0x382e9d(0x45a)]){if(!this[_0x382e9d(0x505)]){this[_0x382e9d(0x501)][_0x382e9d(0x508)](_0x382e9d(0x287),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x382e9d(0x505)][_0x382e9d(0x489)]=performance[_0x382e9d(0x40f)](),this[_0x382e9d(0x505)]['duration']=this[_0x382e9d(0x505)]['stopTime']-this[_0x382e9d(0x505)][_0x382e9d(0x46c)],this[_0x382e9d(0x3c0)]['capture'](_0x53b2f7,this['_telemetryInfo']),this[_0x382e9d(0x505)]=null;}}[_0x2229a0(0x390)](){var _0x1ef16c=_0x2229a0;this[_0x1ef16c(0x505)]=null;}},_0x5e3fa4[_0x2229a0(0x46d)]=_0x49c2dd([_0x353f89(0x2,_0x158513[_0x2229a0(0x2b8)]),_0x353f89(0x3,_0x158513[_0x2229a0(0x4c2)]),_0x353f89(0x4,_0x158513[_0x2229a0(0x1c1)](_0x5e3fa4[_0x2229a0(0x357)])),_0x353f89(0x5,_0x158513['Inject'](_0x1a53f1)),_0x353f89(0x6,_0x158513['Inject'](_0x1a9793)),_0x353f89(0x7,_0x158513[_0x2229a0(0x224)](_0xd66539[_0x2229a0(0x48a)]))],_0x5e3fa4[_0x2229a0(0x46d)]);const _0x53e5a0=_0x158513['createIdentifier']('collaboration-client.local-cache-service');function _0x3941b5(_0x48d9cb){var _0x2c107b=_0x2229a0;return _0x2c107b(0x4d7)+_0x48d9cb;}var _0x464dce=Object['getOwnPropertyDescriptor'],_0x4737c5=(_0x25abd9,_0x64710c,_0x331b90,_0x152a48)=>{var _0x55f3c8=_0x2229a0;for(var _0x13ba17=_0x152a48>0x1?void 0x0:_0x152a48?_0x464dce(_0x64710c,_0x331b90):_0x64710c,_0x3c8237=_0x25abd9[_0x55f3c8(0x316)]-0x1,_0x97343e;_0x3c8237>=0x0;_0x3c8237--)(_0x97343e=_0x25abd9[_0x3c8237])&&(_0x13ba17=_0x97343e(_0x13ba17)||_0x13ba17);return _0x13ba17;},_0x455ab7=(_0x35e47f,_0x36898d)=>(_0x76c355,_0x148125)=>_0x36898d(_0x76c355,_0x148125,_0x35e47f);function _0x442ea1(_0x74dec4){var _0x4abbd9=_0x2229a0;const {unitID:_0x49da11,mutations:_0x1bba08}=_0x74dec4;return{'unitId':_0x49da11,'subUnitId':_0x1bba08[_0x4abbd9(0x316)]>0x0?_0x1bba08[0x0][_0x4abbd9(0x2df)][_0x4abbd9(0x4d9)]:null};}_0x5e3fa4['SheetTransformSelectionsService']=class{constructor(_0x399d42,_0x16a4fa,_0x1b93fb){var _0x3828fe=_0x2229a0;this['_injector']=_0x399d42,this[_0x3828fe(0x431)]=_0x16a4fa,this[_0x3828fe(0x363)]=_0x1b93fb;}[_0x2229a0(0x1eb)](_0x464716){var _0x28ada8=_0x2229a0,_0x52b0b0,_0xff1caf,_0x3823db,_0x25ddce;const _0x423211=this[_0x28ada8(0x315)][_0x28ada8(0x444)](_0x18f772[_0x28ada8(0x490)]),{unitId:_0xdc650a,subUnitId:_0x558b1}=_0x442ea1(_0x464716),_0x2cc404=_0x423211==null?void 0x0:_0x423211[_0x28ada8(0x298)](_0xdc650a)['getCurrentSelections'](),_0x50f99f=(_0xff1caf=(_0x52b0b0=this[_0x28ada8(0x363)][_0x28ada8(0x29e)](_0xdc650a))==null?void 0x0:_0x52b0b0[_0x28ada8(0x293)]())==null?void 0x0:_0xff1caf[_0x28ada8(0x19d)]();if(_0x2cc404[_0x28ada8(0x316)]===0x0||!_0xdc650a||!_0x558b1)return;const _0x5ef000=[{'id':_0x18f772[_0x28ada8(0x273)]['id'],'params':{'unitId':_0xdc650a,'subUnitId':_0x50f99f,'selections':_0x158513[_0x28ada8(0x512)][_0x28ada8(0x2dd)](_0x2cc404)}}],_0x9c9c35=this[_0x28ada8(0x431)][_0x28ada8(0x4ff)](_0x464716,_0x5ef000);if(!_0x35009e[_0x28ada8(0x478)](_0x9c9c35))throw _0x9c9c35[_0x28ada8(0x508)];const _0x5ddfc4=(_0x25ddce=(_0x3823db=_0x9c9c35['m2Prime'][0x0])==null?void 0x0:_0x3823db[_0x28ada8(0x2df)])==null?void 0x0:_0x25ddce[_0x28ada8(0x469)];if(Array[_0x28ada8(0x329)](_0x5ddfc4)&&_0x5ddfc4[_0x28ada8(0x316)]){if(_0x5ddfc4[_0x28ada8(0x316)]===_0x5ef000[0x0][_0x28ada8(0x2df)]['selections'][_0x28ada8(0x316)]&&_0x5ddfc4[_0x28ada8(0x374)]((_0x4ab574,_0x445163)=>_0x158513[_0x28ada8(0x41d)][_0x28ada8(0x19c)](_0x4ab574[_0x28ada8(0x22c)],_0x5ef000[0x0][_0x28ada8(0x2df)][_0x28ada8(0x469)][_0x445163][_0x28ada8(0x22c)])))return;this[_0x28ada8(0x315)]['get'](_0x158513[_0x28ada8(0x4e3)])['executeCommand'](_0x18f772[_0x28ada8(0x273)]['id'],{'unitId':_0xdc650a,'subUnitId':_0x50f99f,'selections':_0x5ddfc4});}}},_0x5e3fa4[_0x2229a0(0x3f3)]=_0x4737c5([_0x455ab7(0x0,_0x158513['Inject'](_0x158513['Injector'])),_0x455ab7(0x1,_0x35009e[_0x2229a0(0x446)]),_0x455ab7(0x2,_0x158513[_0x2229a0(0x4ad)])],_0x5e3fa4[_0x2229a0(0x3f3)]);const _0x25ea7f=_0x158513['createIdentifier']('univer-pro.collaboration-client.single-active-unit-service');var _0x309040=(_0x5020e2=>(_0x5020e2[_0x5020e2[_0x2229a0(0x4fc)]=0x0]=_0x2229a0(0x4fc),_0x5020e2[_0x5020e2[_0x2229a0(0x498)]=0x1]=_0x2229a0(0x498),_0x5020e2))(_0x309040||{});const _0x5e0130=_0x2229a0(0x492),_0x5ccedc={};function _0x2d3791(_0x27a3c2){var _0x11f55c=_0x2229a0,_0x4aece1;return!!((_0x4aece1=_0x27a3c2['params'])!=null&&_0x4aece1[_0x11f55c(0x4ed)]);}const _0x4f49f8=new Set([_0x18f772[_0x2229a0(0x324)]['id']]);function _0x26d5a0(_0x15cf12,_0x5aae5d,_0x43d7b1,_0x23b713,_0x5cedfb){var _0x4bb90a=_0x2229a0,_0x274527,_0x1a1903,_0xd61443,_0xcc5ccb;const _0x14f274=[];for(const _0x462ad1 of _0x15cf12){if(_0x4f49f8[_0x4bb90a(0x202)](_0x462ad1['id'])){if(_0x14f274['length']>0x0)break;_0x14f274[_0x4bb90a(0x4a3)](_0x462ad1);break;}if(_0x2d3791(_0x462ad1)){if(_0x14f274[_0x4bb90a(0x316)]>0x0)break;_0x14f274[_0x4bb90a(0x4a3)](_0x462ad1);break;}_0x14f274['push'](_0x462ad1);}const _0xfa894e=(_0x1a1903=(_0x274527=_0x5cedfb['getCurrentUser']())==null?void 0x0:_0x274527['userID'])!=null?_0x1a1903:_0x4bb90a(0x2cc),_0x4ce221=(_0xcc5ccb=(_0xd61443=_0x5cedfb['getCurrentUser']())==null?void 0x0:_0xd61443[_0x4bb90a(0x398)])!=null?_0xcc5ccb:_0x4bb90a(0x2cc);return{'changeset':{'unitID':_0x5aae5d,'type':_0x35009e[_0x4bb90a(0x347)](_0x43d7b1[_0x4bb90a(0x208)](_0x5aae5d)),'baseRev':_0x23b713[_0x4bb90a(0x2b4)](_0x5aae5d),'revision':0x0,'userID':_0xfa894e,'memberID':_0x4ce221,'mutations':_0x14f274},'pendingMutations':_0x15cf12['slice'](_0x14f274[_0x4bb90a(0x316)])};}function _0x150ab5(_0x225624,_0x184e8f,_0x25f0ff,_0x5edd15,_0x55fde7){var _0x3b9a74=_0x2229a0,_0x2e04a5,_0x56d7d5,_0x4ae9a1,_0x3bbb59;const _0x4aad24=[_0x225624[_0x3b9a74(0x245)]((_0x1d6d55,_0x543308)=>{var _0x2f053f=_0x3b9a74,_0x1352af;const {id:_0x139066}=_0x1d6d55,{id:_0x28c185,type:_0x16491e}=_0x543308,_0x31910a=(_0x1352af=_0x1d6d55[_0x2f053f(0x2df)])!=null?_0x1352af:{'actions':null},_0x5f18e7=_0x543308[_0x2f053f(0x2df)];if(_0x139066&&_0x139066!==_0x28c185)throw new Error(_0x2f053f(0x518)+_0x139066+'\x20-\x20'+_0x28c185+'.');return{..._0x1d6d55,'id':_0x28c185,'type':_0x16491e,'params':{'unitId':_0x5f18e7[_0x2f053f(0x506)],'textRanges':_0x5f18e7[_0x2f053f(0x204)],'actions':_0x158513[_0x2f053f(0x4f3)][_0x2f053f(0x3b9)](_0x31910a[_0x2f053f(0x311)],_0x5f18e7[_0x2f053f(0x311)])}};},{})],_0x3503e3=(_0x56d7d5=(_0x2e04a5=_0x55fde7['getCurrentUser']())==null?void 0x0:_0x2e04a5[_0x3b9a74(0x3d9)])!=null?_0x56d7d5:'unknown',_0x3cdc33=(_0x3bbb59=(_0x4ae9a1=_0x55fde7[_0x3b9a74(0x464)]())==null?void 0x0:_0x4ae9a1['memberID'])!=null?_0x3bbb59:_0x3b9a74(0x2cc);return{'changeset':{'unitID':_0x184e8f,'type':_0x35009e[_0x3b9a74(0x347)](_0x25f0ff[_0x3b9a74(0x208)](_0x184e8f)),'baseRev':_0x5edd15[_0x3b9a74(0x2b4)](_0x184e8f),'revision':0x0,'userID':_0x3503e3,'memberID':_0x3cdc33,'mutations':_0x4aad24},'pendingMutations':[]};}function _0xfd43e4(_0x23f088,_0x4a6231){var _0x2407e6=_0x2229a0;const _0x42c3ff=new _0x32f9ef[(_0x2407e6(0x3ae))](0x1);return setTimeout(()=>_0x42c3ff['next'](_0x4a6231),_0x23f088),_0x42c3ff[_0x2407e6(0x1d1)]()[_0x2407e6(0x3fa)](_0x32f9ef[_0x2407e6(0x23b)](0x1));}var _0x301b6e=Object[_0x2229a0(0x330)],_0x563741=(_0x33830f,_0x2be161,_0x2dd367,_0x56ebb6)=>{for(var _0x26357e=_0x56ebb6>0x1?void 0x0:_0x56ebb6?_0x301b6e(_0x2be161,_0x2dd367):_0x2be161,_0x1a3eb2=_0x33830f['length']-0x1,_0x3e89fc;_0x1a3eb2>=0x0;_0x1a3eb2--)(_0x3e89fc=_0x33830f[_0x1a3eb2])&&(_0x26357e=_0x3e89fc(_0x26357e)||_0x26357e);return _0x26357e;},_0x2cc99c=(_0x4d2355,_0x217375)=>(_0x5cd36d,_0x2afd52)=>_0x217375(_0x5cd36d,_0x2afd52,_0x4d2355),_0x3eee43=(_0x2b55ef=>(_0x2b55ef[_0x2229a0(0x3bd)]=_0x2229a0(0x476),_0x2b55ef[_0x2229a0(0x1fe)]=_0x2229a0(0x256),_0x2b55ef[_0x2229a0(0x396)]='pending',_0x2b55ef[_0x2229a0(0x1dc)]='awaiting',_0x2b55ef[_0x2229a0(0x4a4)]='awaiting_with_pending',_0x2b55ef[_0x2229a0(0x1e6)]='fetch_missing',_0x2b55ef[_0x2229a0(0x451)]=_0x2229a0(0x3b5),_0x2b55ef[_0x2229a0(0x3d1)]=_0x2229a0(0x4b5),_0x2b55ef))(_0x3eee43||{});const _0x5f0507=0x4e20,_0x428c3c=0x2bf20;class _0xec761{constructor(_0x28b996,_0x25b54c,_0x1fe5c1,_0x410889,_0x513916,_0x2770cd,_0x4697bc,_0x4a3d24,_0x4a95be){var _0x5514a8=_0x2229a0;_0x4b59b5(this,_0x5514a8(0x25c),null),_0x4b59b5(this,_0x5514a8(0x1ca),[]),(this[_0x5514a8(0x350)]=_0x28b996,this[_0x5514a8(0x4b3)]=_0x25b54c,this[_0x5514a8(0x1c3)]=_0x513916,this[_0x5514a8(0x197)]=_0x2770cd,this[_0x5514a8(0x4c3)]=_0x4697bc,this['_revisionService']=_0x4a3d24,this[_0x5514a8(0x34a)]=_0x4a95be,this[_0x5514a8(0x25c)]=_0x1fe5c1,this[_0x5514a8(0x1ca)]=_0x410889);}['_checkMissing'](_0x5a47e6){var _0x44f3bf=_0x2229a0;const _0x267ab0=this['_revisionService']['getCurrentRevOfUnit'](this[_0x44f3bf(0x350)]);return _0x5a47e6[_0x44f3bf(0x2c1)]>_0x267ab0+0x1?(this[_0x44f3bf(0x1c3)][_0x44f3bf(0x52a)]({'from':_0x267ab0,'to':_0x5a47e6[_0x44f3bf(0x2c1)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x3bb7b3){var _0x200136=_0x2229a0;this[_0x200136(0x4c3)]['transformUndoRedo'](this['unitID'],_0x3bb7b3);}[_0x2229a0(0x47b)](_0x12ab54){var _0x5e732c=_0x2229a0,_0x104372,_0x38197a;(_0x38197a=(_0x104372=this[_0x5e732c(0x1c3)])[_0x5e732c(0x3eb)])==null||_0x38197a[_0x5e732c(0x2d1)](_0x104372,_0x12ab54);}['_transformIMECache'](_0x143aac){var _0x3a66c7=_0x2229a0,_0x448f29,_0x3efef8;return(_0x3efef8=(_0x448f29=this[_0x3a66c7(0x1c3)])['onTransformIME'])==null?void 0x0:_0x3efef8['call'](_0x448f29,_0x143aac);}['_transformStateCache'](_0x107519){var _0x279b66=_0x2229a0,_0x2f7455,_0x34dc32;return(_0x34dc32=(_0x2f7455=this[_0x279b66(0x1c3)])[_0x279b66(0x44e)])==null?void 0x0:_0x34dc32[_0x279b66(0x2d1)](_0x2f7455,_0x107519);}[_0x2229a0(0x337)](_0x57238a){var _0x9fcab3=_0x2229a0,_0xf36b9c,_0x42ecb8,_0x34be58;return(_0x34be58=(_0x42ecb8=(_0xf36b9c=this[_0x9fcab3(0x1c3)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x42ecb8[_0x9fcab3(0x2d1)](_0xf36b9c,_0x57238a))!=null?_0x34be58:_0x57238a;}[_0x2229a0(0x461)](_0x57dbf5){var _0x3a429a=_0x2229a0,_0x4e19a4,_0x13bb8c,_0x59588f;return(_0x59588f=(_0x13bb8c=(_0x4e19a4=this[_0x3a429a(0x1c3)])[_0x3a429a(0x449)])==null?void 0x0:_0x13bb8c['call'](_0x4e19a4,_0x57dbf5))!=null?_0x59588f:_0x57dbf5;}[_0x2229a0(0x496)](_0x580537){var _0x3fc181=_0x2229a0,_0x13e3fc,_0x27ea76;if(this[_0x3fc181(0x4b3)]===_0x24c96d[_0x3fc181(0x275)]){const {unitID:_0x4ccf5f,mutations:_0x3e13fa,memberID:_0x9f5208}=_0x580537,_0x4badfa=_0x3e13fa[_0x3fc181(0x316)]>0x0?_0x3e13fa[0x0][_0x3fc181(0x2df)][_0x3fc181(0x204)]:[];Array[_0x3fc181(0x329)](_0x4badfa)&&_0x4badfa[_0x3fc181(0x316)]>0x0&&((_0x27ea76=(_0x13e3fc=this[_0x3fc181(0x1c3)])[_0x3fc181(0x1fb)])==null||_0x27ea76[_0x3fc181(0x2d1)](_0x13e3fc,{'unitID':_0x4ccf5f,'memberID':_0x9f5208,'textRanges':_0x4badfa}));}}[_0x2229a0(0x2c0)](){var _0x574874=_0x2229a0,_0x341829;(_0x341829=this[_0x574874(0x34a)])==null||_0x341829[_0x574874(0x20f)](this[_0x574874(0x350)],this[_0x574874(0x4b3)],this[_0x574874(0x25c)],this[_0x574874(0x1ca)]);}[_0x2229a0(0x37d)](){var _0x398090=_0x2229a0;return this['_revisionService'][_0x398090(0x2b4)](this[_0x398090(0x350)]);}[_0x2229a0(0x1c6)](){var _0x4b9547=_0x2229a0;this[_0x4b9547(0x34c)][_0x4b9547(0x370)](this['unitID']);}[_0x2229a0(0x1aa)](_0x44ec78){var _0x2fe9c4=_0x2229a0,_0x4ea012;let _0x2437e1=this['_transformRemoteChangesetByIMECache'](_0x44ec78);_0x2437e1=this[_0x2fe9c4(0x461)](_0x2437e1);const _0x85deb3=_0x158513[_0x2fe9c4(0x482)](_0x2437e1[_0x2fe9c4(0x3b3)],this[_0x2fe9c4(0x197)],{'fromCollab':!0x0});if(!_0x85deb3[_0x2fe9c4(0x3e2)])throw _0x85deb3['error']instanceof Error?_0x85deb3['error']:new Error((_0x4ea012=_0x85deb3[_0x2fe9c4(0x508)])!=null?_0x4ea012:_0x2fe9c4(0x33f));this[_0x2fe9c4(0x3fb)](_0x2437e1),this[_0x2fe9c4(0x30a)](_0x2437e1),this[_0x2fe9c4(0x44c)](_0x44ec78),this['_transformSelections'](_0x2437e1),this[_0x2fe9c4(0x496)](_0x2437e1),this['_incrementRevisionNumber']();}}_0x5e3fa4['SyncedState']=class extends _0xec761{constructor(_0x2ef943,_0x1d7de4,_0x2372b5,_0x5c99cc,_0x3656df,_0x38a2d4,_0x391d34,_0xa5dfb7,_0x4edc0b,_0x8203ee){var _0x5db08e=_0x2229a0;super(_0x2ef943,_0x1d7de4,null,[],_0x2372b5,_0x391d34,_0x38a2d4,_0x5c99cc,_0x8203ee),_0x4b59b5(this,_0x5db08e(0x2e2),_0x5db08e(0x256)),(this[_0x5db08e(0x315)]=_0x3656df,this[_0x5db08e(0x501)]=_0xa5dfb7,this[_0x5db08e(0x431)]=_0x4edc0b,this['localCacheService']=_0x8203ee);}[_0x2229a0(0x1e3)](_0x40065a){var _0x436715=_0x2229a0;const _0x56032d=this[_0x436715(0x315)][_0x436715(0x49c)](_0x5e3fa4[_0x436715(0x2a8)],this[_0x436715(0x350)],this[_0x436715(0x4b3)],[_0x40065a],this['_handler']);return _0x56032d['_schedule'](),_0x56032d[_0x436715(0x2c0)](),_0x56032d;}[_0x2229a0(0x4b9)](_0x5f3abc){var _0x2492dd=_0x2229a0;if(this[_0x2492dd(0x259)](_0x5f3abc))return this[_0x2492dd(0x315)][_0x2492dd(0x49c)](_0x5e3fa4[_0x2492dd(0x47a)],this[_0x2492dd(0x350)],this[_0x2492dd(0x4b3)],null,[],null,[_0x5f3abc],this['_handler']);try{const _0x2f39ff=this[_0x2492dd(0x431)][_0x2492dd(0x4ff)](_0x5f3abc,[_0x35009e['EmptyMutationInfo']]);if(_0x35009e[_0x2492dd(0x478)](_0x2f39ff)){const {c1Prime:_0x3db86f}=_0x2f39ff;return this[_0x2492dd(0x1aa)](_0x3db86f),this;}throw _0x2f39ff[_0x2492dd(0x508)];}catch(_0xc81dcd){return this[_0x2492dd(0x501)][_0x2492dd(0x508)](_0xc81dcd),this['_onConflict'](!0x1);}}[_0x2229a0(0x527)](_0x2daccf){var _0x113cb3=_0x2229a0;return this[_0x113cb3(0x315)][_0x113cb3(0x49c)](_0x5e3fa4['ConflictState'],this[_0x113cb3(0x350)],this['type'],null,[],this[_0x113cb3(0x1c3)],_0x2daccf);}['onRemoteAck'](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0xcb54ce=_0x2229a0;throw new Error(_0xcb54ce(0x50a));}['onRemoteRetry'](){return this;}[_0x2229a0(0x38d)](){var _0x34b286=_0x2229a0;return this[_0x34b286(0x315)][_0x34b286(0x49c)](_0x5e3fa4['OfflineState'],this['unitID'],this[_0x34b286(0x4b3)],null,[],this[_0x34b286(0x1c3)]);}[_0x2229a0(0x229)](){return this;}[_0x2229a0(0x378)](){var _0x1891d7=_0x2229a0;throw new Error(_0x1891d7(0x290));}[_0x2229a0(0x291)](){var _0x1e208f=_0x2229a0;const _0x2c55c1=this[_0x1e208f(0x34c)][_0x1e208f(0x2b4)](this[_0x1e208f(0x350)]);return this[_0x1e208f(0x1c3)]['onMissingChangesets']({'from':_0x2c55c1,'to':0x0}),this['_injector']['createInstance'](_0x5e3fa4[_0x1e208f(0x47a)],this['unitID'],this[_0x1e208f(0x4b3)],null,[],null,[],this['_handler']);}},_0x5e3fa4[_0x2229a0(0x39b)]=_0x563741([_0x2cc99c(0x3,_0x158513[_0x2229a0(0x1c1)](_0x35009e[_0x2229a0(0x360)])),_0x2cc99c(0x4,_0x158513['Inject'](_0x158513[_0x2229a0(0x523)])),_0x2cc99c(0x5,_0x158513[_0x2229a0(0x4a9)]),_0x2cc99c(0x6,_0x158513[_0x2229a0(0x4e3)]),_0x2cc99c(0x7,_0x158513[_0x2229a0(0x2b8)]),_0x2cc99c(0x8,_0x35009e[_0x2229a0(0x446)]),_0x2cc99c(0x9,_0x158513['Optional'](_0x53e5a0))],_0x5e3fa4[_0x2229a0(0x39b)]),_0x5e3fa4['PendingState']=class extends _0xec761{constructor(_0x14ff7b,_0x338af5,_0x2ea394,_0x537a1c,_0x18aeef,_0x10414f,_0x1c9568,_0x2d796c,_0x2f8420,_0x4c7e4b,_0x1c55c4,_0x5156d2,_0x3e82a7,_0xc173e7){var _0x23890b=_0x2229a0;super(_0x14ff7b,_0x338af5,null,_0x2ea394,_0x537a1c,_0x2f8420,_0x3e82a7,_0x10414f,_0xc173e7),_0x4b59b5(this,_0x23890b(0x2e2),'pending'),_0x4b59b5(this,_0x23890b(0x4bf),null),_0x4b59b5(this,_0x23890b(0x1ff),null),(this[_0x23890b(0x315)]=_0x18aeef,this[_0x23890b(0x44f)]=_0x1c9568,this[_0x23890b(0x501)]=_0x2d796c,this[_0x23890b(0x24f)]=_0x4c7e4b,this[_0x23890b(0x431)]=_0x1c55c4,this['_univerInstanceService']=_0x5156d2);}[_0x2229a0(0x1e3)](_0x50e56a){var _0x194ae1=_0x2229a0;return this['_pendingMutations']['push'](_0x50e56a),this[_0x194ae1(0x2c0)](),this;}[_0x2229a0(0x4b9)](_0x585510){var _0x5fba01=_0x2229a0;if(this[_0x5fba01(0x259)](_0x585510))return this[_0x5fba01(0x4f7)](),this[_0x5fba01(0x315)][_0x5fba01(0x49c)](_0x5e3fa4[_0x5fba01(0x47a)],this[_0x5fba01(0x350)],this[_0x5fba01(0x4b3)],null,this[_0x5fba01(0x1ca)],null,[_0x585510],this[_0x5fba01(0x1c3)]);try{const _0x3e5681=this[_0x5fba01(0x431)]['transformMutationsWithChangeset'](_0x585510,this['_pendingMutations']);if(_0x35009e[_0x5fba01(0x478)](_0x3e5681)){const {c1Prime:_0x4e73b9,m2Prime:_0x4c39af}=_0x3e5681;this[_0x5fba01(0x1aa)](_0x4e73b9);const _0x1ac218=this[_0x5fba01(0x315)][_0x5fba01(0x49c)](_0x5e3fa4['PendingState'],this[_0x5fba01(0x350)],this[_0x5fba01(0x4b3)],_0x4c39af,this[_0x5fba01(0x1c3)]);this[_0x5fba01(0x4f7)]();const _0x5a643e=new Date()[_0x5fba01(0x2ef)](),_0x26fbde=this['_scheduleCompleteTimestamp']?Math[_0x5fba01(0x392)](this[_0x5fba01(0x4bf)]-_0x5a643e,0x0):this[_0x5fba01(0x261)]();return _0x1ac218[_0x5fba01(0x221)](_0x26fbde),_0x1ac218;}throw _0x3e5681[_0x5fba01(0x508)];}catch(_0x257d4f){return this['_logService'][_0x5fba01(0x508)](_0x257d4f),this['_onConflict'](!0x1);}}[_0x2229a0(0x406)](){var _0x196428=_0x2229a0;throw new Error(_0x196428(0x3be));}[_0x2229a0(0x4b1)](){throw new Error('[PendingState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x2229a0(0x38d)](){var _0x22b707=_0x2229a0;return this[_0x22b707(0x4f7)](),this[_0x22b707(0x315)][_0x22b707(0x49c)](_0x5e3fa4[_0x22b707(0x24b)],this['unitID'],this[_0x22b707(0x4b3)],null,this[_0x22b707(0x1ca)],this[_0x22b707(0x1c3)]);}[_0x2229a0(0x229)](){return this;}['_schedule'](_0x51ac64){var _0x124a9c=_0x2229a0;const _0xe70336=_0x51ac64!=null?_0x51ac64:this[_0x124a9c(0x261)]();this['_scheduleCompleteTimestamp']=new Date()[_0x124a9c(0x2ef)]()+_0xe70336,this['_sendingTimer']=setTimeout(()=>{var _0x51b559=_0x124a9c;this[_0x51b559(0x4f7)]();let _0x2fbd53=null;switch(this[_0x51b559(0x4b3)]){case _0x24c96d[_0x51b559(0x394)]:{_0x2fbd53=_0x26d5a0(this[_0x51b559(0x1ca)],this[_0x51b559(0x350)],this[_0x51b559(0x1ae)],this['_revisionService'],this['_memberService']);break;}case _0x24c96d[_0x51b559(0x275)]:{this[_0x51b559(0x1ca)][_0x51b559(0x374)](_0x3cbd09=>_0x3cbd09['id']===_0xc7e141[_0x51b559(0x4f9)]['id'])?_0x2fbd53=_0x150ab5(this[_0x51b559(0x1ca)],this[_0x51b559(0x350)],this[_0x51b559(0x1ae)],this[_0x51b559(0x34c)],this['_memberService']):_0x2fbd53=_0x26d5a0(this[_0x51b559(0x1ca)],this[_0x51b559(0x350)],this['_univerInstanceService'],this['_revisionService'],this[_0x51b559(0x44f)]);break;}default:throw new Error(_0x51b559(0x361)+this[_0x51b559(0x4b3)]+_0x51b559(0x4ca));}const {changeset:_0xf5dcd2,pendingMutations:_0x2f752b}=_0x2fbd53;this[_0x51b559(0x1c3)]['onSendChangeset'](_0xf5dcd2);const _0x174936=_0x2f752b[_0x51b559(0x316)]?this[_0x51b559(0x315)][_0x51b559(0x49c)](_0x5e3fa4['AwaitingWithPendingState'],this[_0x51b559(0x350)],this[_0x51b559(0x4b3)],_0xf5dcd2,_0x2f752b,this[_0x51b559(0x1c3)],void 0x0):this['_injector'][_0x51b559(0x49c)](_0x5e3fa4[_0x51b559(0x1b6)],this[_0x51b559(0x350)],this[_0x51b559(0x4b3)],_0xf5dcd2,this[_0x51b559(0x1c3)]);_0x174936[_0x51b559(0x2c0)](),this['_handler'][_0x51b559(0x4b0)](this,_0x174936);},_0xe70336);}[_0x2229a0(0x261)](){var _0x52fa60=_0x2229a0,_0x5b250a;const _0x459c81=this['_configService'][_0x52fa60(0x247)](_0x5e0130);return(_0x5b250a=_0x459c81==null?void 0x0:_0x459c81[_0x52fa60(0x1a9)])!=null?_0x5b250a:0x7d0;}['resend'](){var _0x553fb9=_0x2229a0;throw new Error(_0x553fb9(0x3b6));}[_0x2229a0(0x4f7)](){var _0x11a290=_0x2229a0;this[_0x11a290(0x1ff)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x11a290(0x1ff)]=null);}[_0x2229a0(0x527)](_0x46e81e){var _0x584004=_0x2229a0;return this[_0x584004(0x4f7)](),this[_0x584004(0x315)]['createInstance'](_0x5e3fa4[_0x584004(0x2bb)],this[_0x584004(0x350)],this[_0x584004(0x4b3)],null,this[_0x584004(0x1ca)],this['_handler'],_0x46e81e);}},_0x5e3fa4[_0x2229a0(0x2a8)]=_0x563741([_0x2cc99c(0x4,_0x158513[_0x2229a0(0x1c1)](_0x158513[_0x2229a0(0x523)])),_0x2cc99c(0x5,_0x158513[_0x2229a0(0x1c1)](_0x35009e['RevisionService'])),_0x2cc99c(0x6,_0x158513['Inject'](_0x5e3fa4[_0x2229a0(0x357)])),_0x2cc99c(0x7,_0x158513[_0x2229a0(0x2b8)]),_0x2cc99c(0x8,_0x158513[_0x2229a0(0x4e3)]),_0x2cc99c(0x9,_0x158513[_0x2229a0(0x4c2)]),_0x2cc99c(0xa,_0x35009e['ITransformService']),_0x2cc99c(0xb,_0x158513['IUniverInstanceService']),_0x2cc99c(0xc,_0x158513[_0x2229a0(0x4a9)]),_0x2cc99c(0xd,_0x158513[_0x2229a0(0x224)](_0x53e5a0))],_0x5e3fa4[_0x2229a0(0x2a8)]),_0x5e3fa4[_0x2229a0(0x1b6)]=class extends _0xec761{constructor(_0x1d3471,_0x355082,_0x3aaae6,_0x20942b,_0x5ac19f,_0x293d8c,_0x5776b7,_0x5536d6,_0x5a991f,_0x2d83fe,_0x9014e1){var _0x2f899d=_0x2229a0;super(_0x1d3471,_0x355082,_0x3aaae6,[],_0x20942b,_0x5776b7,_0x2d83fe,_0x293d8c,_0x9014e1),_0x4b59b5(this,'status',_0x2f899d(0x4a7)),_0x4b59b5(this,_0x2f899d(0x52c),0x0),_0x4b59b5(this,_0x2f899d(0x351),0x0),_0x4b59b5(this,'_resendTimer'),_0x4b59b5(this,_0x2f899d(0x389)),(this['_injector']=_0x5ac19f,this[_0x2f899d(0x501)]=_0x5536d6,this[_0x2f899d(0x431)]=_0x5a991f);}[_0x2229a0(0x1e3)](_0x26f83e){var _0x53dc56=_0x2229a0;this[_0x53dc56(0x4f7)]();const _0x44e6ec=this[_0x53dc56(0x315)][_0x53dc56(0x49c)](_0x5e3fa4['AwaitingWithPendingState'],this['unitID'],this[_0x53dc56(0x4b3)],this[_0x53dc56(0x25c)],[_0x26f83e],this[_0x53dc56(0x1c3)],this['_resendTimer']);return _0x44e6ec[_0x53dc56(0x2c0)](),_0x44e6ec;}['onRemoteChangeset'](_0x3fbc7b){var _0x3f80d8=_0x2229a0;if(this[_0x3f80d8(0x259)](_0x3fbc7b))return this['_clearScheduledTask'](),this[_0x3f80d8(0x315)]['createInstance'](_0x5e3fa4[_0x3f80d8(0x47a)],this[_0x3f80d8(0x350)],this[_0x3f80d8(0x4b3)],this[_0x3f80d8(0x25c)],[],null,[_0x3fbc7b],this[_0x3f80d8(0x1c3)]);try{const _0xed83f2=this[_0x3f80d8(0x431)][_0x3f80d8(0x231)]([_0x3fbc7b],[this['_awaitingChangeset']],!0x1);if(_0x35009e[_0x3f80d8(0x23f)](_0xed83f2)){const {c1Prime:_0x2714d0,c2Prime:_0x62974f}=_0xed83f2;this[_0x3f80d8(0x1aa)](_0x2714d0[0x0]),_0x62974f[0x0][_0x3f80d8(0x3f2)]=this['_getCurrentRevision'](),this[_0x3f80d8(0x4f7)]();const _0x4d0c73=this[_0x3f80d8(0x315)][_0x3f80d8(0x49c)](_0x5e3fa4[_0x3f80d8(0x1b6)],this[_0x3f80d8(0x350)],this[_0x3f80d8(0x4b3)],_0x62974f[0x0],this[_0x3f80d8(0x1c3)]);return _0x4d0c73[_0x3f80d8(0x2c0)](),_0x4d0c73;}return this[_0x3f80d8(0x527)](!0x1);}catch(_0x37de1b){return this['_logService'][_0x3f80d8(0x508)](_0x37de1b),this[_0x3f80d8(0x527)](!0x1);}}[_0x2229a0(0x406)](_0x1adbff){var _0x3c2794=_0x2229a0;this[_0x3c2794(0x4f7)]();const _0x204ac9=this['_revisionService'][_0x3c2794(0x2b4)](this['unitID']);if(_0x1adbff[_0x3c2794(0x2c1)]<_0x204ac9-0x1)return this;if(this[_0x3c2794(0x259)](_0x1adbff))return this[_0x3c2794(0x315)]['createInstance'](_0x5e3fa4['FetchingMissState'],this[_0x3c2794(0x350)],this[_0x3c2794(0x4b3)],null,[],this['_awaitingChangeset'],[],this[_0x3c2794(0x1c3)]);this[_0x3c2794(0x1c6)]();const _0x33f291=this['_injector'][_0x3c2794(0x49c)](_0x5e3fa4[_0x3c2794(0x39b)],this[_0x3c2794(0x350)],this['type'],this[_0x3c2794(0x1c3)]);return _0x33f291['_updateLocalCache'](),_0x33f291;}[_0x2229a0(0x4b1)](_0xb19d61){var _0x568315=_0x2229a0;return this[_0x568315(0x527)](!!(_0xb19d61!=null&&_0xb19d61[_0x568315(0x2f7)]));}['onRemoteRetry'](_0x31e87c){var _0x3013ae=_0x2229a0;return this['_maxTotalRetryTimeout']>_0x428c3c?this[_0x3013ae(0x38d)]():(this['_resendTimer']=_0xfd43e4(this[_0x3013ae(0x52c)],{'timeout':this[_0x3013ae(0x52c)],'reqId':_0x31e87c[_0x3013ae(0x24d)]}),this[_0x3013ae(0x389)]=this[_0x3013ae(0x43c)][_0x3013ae(0x206)](({reqId:_0x27038b,timeout:_0x30d37a})=>{this['_resendWithTimeout'](_0x27038b,_0x30d37a);}),this);}[_0x2229a0(0x38d)](){var _0x3f51ca=_0x2229a0;return this[_0x3f51ca(0x4f7)](),this[_0x3f51ca(0x315)][_0x3f51ca(0x49c)](_0x5e3fa4[_0x3f51ca(0x24b)],this[_0x3f51ca(0x350)],this[_0x3f51ca(0x4b3)],this[_0x3f51ca(0x25c)],[],this[_0x3f51ca(0x1c3)]);}[_0x2229a0(0x229)](){return this;}[_0x2229a0(0x378)](){var _0x11425a=_0x2229a0;this[_0x11425a(0x1c3)][_0x11425a(0x474)](this[_0x11425a(0x25c)]);}['_onConflict'](_0x33f279){var _0x3fd781=_0x2229a0;return this[_0x3fd781(0x4f7)](),this[_0x3fd781(0x315)][_0x3fd781(0x49c)](_0x5e3fa4[_0x3fd781(0x2bb)],this['unitID'],this[_0x3fd781(0x4b3)],this['_awaitingChangeset'],[],this[_0x3fd781(0x1c3)],_0x33f279);}[_0x2229a0(0x33a)](_0x395649,_0x31177f){var _0x129818=_0x2229a0,_0xafe8a0;_0x395649===((_0xafe8a0=this[_0x129818(0x25c)])==null?void 0x0:_0xafe8a0['reqId'])&&(this['resend'](),this[_0x129818(0x52c)]=_0x31177f===0x0?0x3e8:Math['min'](_0x31177f*0x2,_0x5f0507),this['_maxTotalRetryTimeout']+=this[_0x129818(0x52c)]);}['_clearScheduledTask'](){var _0x1fdfeb=_0x2229a0,_0x46315d;(_0x46315d=this[_0x1fdfeb(0x389)])==null||_0x46315d[_0x1fdfeb(0x415)](),this[_0x1fdfeb(0x52c)]=0x0,this[_0x1fdfeb(0x351)]=0x0;}},_0x5e3fa4[_0x2229a0(0x1b6)]=_0x563741([_0x2cc99c(0x4,_0x158513[_0x2229a0(0x1c1)](_0x158513[_0x2229a0(0x523)])),_0x2cc99c(0x5,_0x158513['Inject'](_0x35009e['RevisionService'])),_0x2cc99c(0x6,_0x158513['ICommandService']),_0x2cc99c(0x7,_0x158513[_0x2229a0(0x2b8)]),_0x2cc99c(0x8,_0x35009e[_0x2229a0(0x446)]),_0x2cc99c(0x9,_0x158513[_0x2229a0(0x4a9)]),_0x2cc99c(0xa,_0x158513[_0x2229a0(0x224)](_0x53e5a0))],_0x5e3fa4[_0x2229a0(0x1b6)]),_0x5e3fa4[_0x2229a0(0x358)]=class extends _0xec761{constructor(_0x1c9786,_0x1fc2c1,_0x423429,_0x4cf90f,_0x4afb76,_0x581547,_0x366224,_0x237623,_0x18cffe,_0x3b7f63,_0x4bf2b2,_0xb662fd,_0x1afb7d){var _0x2ba15b=_0x2229a0;super(_0x1c9786,_0x1fc2c1,_0x423429,_0x4cf90f,_0x4afb76,_0x18cffe,_0xb662fd,_0x237623,_0x1afb7d),_0x4b59b5(this,_0x2ba15b(0x2e2),_0x2ba15b(0x260)),_0x4b59b5(this,_0x2ba15b(0x52c),0x0),_0x4b59b5(this,_0x2ba15b(0x351),0x0),_0x4b59b5(this,'_resendTimer'),_0x4b59b5(this,_0x2ba15b(0x389)),(this[_0x2ba15b(0x315)]=_0x366224,this[_0x2ba15b(0x501)]=_0x3b7f63,this['_transformService']=_0x4bf2b2,this[_0x2ba15b(0x38b)]=_0x1afb7d,_0x581547&&(this[_0x2ba15b(0x43c)]=_0x581547,this[_0x2ba15b(0x389)]=this[_0x2ba15b(0x43c)][_0x2ba15b(0x206)](({reqId:_0xfb882d,timeout:_0xef66ea})=>{this['_resendWithTimeout'](_0xfb882d,_0xef66ea);})));}['appendMutation'](_0x3aba3f){var _0x3e4910=_0x2229a0;return this[_0x3e4910(0x1ca)][_0x3e4910(0x4a3)](_0x3aba3f),this;}[_0x2229a0(0x4b9)](_0x1a042b){var _0x2c97c6=_0x2229a0;if(this[_0x2c97c6(0x259)](_0x1a042b))return this[_0x2c97c6(0x4f7)](),this[_0x2c97c6(0x315)][_0x2c97c6(0x49c)](_0x5e3fa4[_0x2c97c6(0x47a)],this[_0x2c97c6(0x350)],this[_0x2c97c6(0x4b3)],this[_0x2c97c6(0x25c)],this[_0x2c97c6(0x1ca)],null,[_0x1a042b],this[_0x2c97c6(0x1c3)]);try{const _0x5d602b=this[_0x2c97c6(0x431)][_0x2c97c6(0x231)]([_0x1a042b],[this['_awaitingChangeset']],!0x1);if(_0x35009e['isTransformChangesetsSuccess'](_0x5d602b)){const {c1Prime:_0x35b96b,c2Prime:_0x4e3733}=_0x5d602b,_0x1b3af1=this['_transformService'][_0x2c97c6(0x4ff)](_0x35b96b[0x0],this[_0x2c97c6(0x1ca)]);if(_0x35009e[_0x2c97c6(0x478)](_0x1b3af1)){const {c1Prime:_0x5a4d3c,m2Prime:_0x21b58f}=_0x1b3af1;return this['_executeRemoteChangeset'](_0x5a4d3c),_0x4e3733[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x2c97c6(0x4f7)](),this['_injector'][_0x2c97c6(0x49c)](_0x5e3fa4[_0x2c97c6(0x358)],this[_0x2c97c6(0x350)],this['type'],_0x4e3733[0x0],_0x21b58f,this[_0x2c97c6(0x1c3)],void 0x0);}throw _0x1b3af1[_0x2c97c6(0x508)];}throw _0x5d602b['error'];}catch(_0x1038a4){return this[_0x2c97c6(0x501)][_0x2c97c6(0x508)](_0x1038a4),this[_0x2c97c6(0x527)](!0x1);}}['onRemoteAck'](_0x459abb){var _0x506ab9=_0x2229a0;if(this[_0x506ab9(0x4f7)](),this[_0x506ab9(0x259)](_0x459abb))return this[_0x506ab9(0x315)]['createInstance'](_0x5e3fa4['FetchingMissState'],this[_0x506ab9(0x350)],this[_0x506ab9(0x4b3)],null,this[_0x506ab9(0x1ca)],this[_0x506ab9(0x25c)],[],this[_0x506ab9(0x1c3)]);this[_0x506ab9(0x1c6)]();const _0xa855f6=this['_injector'][_0x506ab9(0x49c)](_0x5e3fa4[_0x506ab9(0x2a8)],this[_0x506ab9(0x350)],this[_0x506ab9(0x4b3)],this[_0x506ab9(0x1ca)],this['_handler']);return _0xa855f6[_0x506ab9(0x221)](),_0xa855f6[_0x506ab9(0x2c0)](),_0xa855f6;}[_0x2229a0(0x4b1)](_0x412a55){var _0x52af23=_0x2229a0;return this[_0x52af23(0x527)](!!(_0x412a55!=null&&_0x412a55[_0x52af23(0x2f7)]));}[_0x2229a0(0x528)](_0xb92c0c){var _0x35ed5e=_0x2229a0;return this[_0x35ed5e(0x351)]>_0x428c3c?this[_0x35ed5e(0x38d)]():(this['_resendTimer']=_0xfd43e4(this[_0x35ed5e(0x52c)],{'timeout':this[_0x35ed5e(0x52c)],'reqId':_0xb92c0c['reqId']}),this[_0x35ed5e(0x389)]=this[_0x35ed5e(0x43c)][_0x35ed5e(0x206)](({reqId:_0x455bad,timeout:_0x54fb35})=>{this['_resendWithTimeout'](_0x455bad,_0x54fb35);}),this);}['toggleOffline'](){var _0x3cdecd=_0x2229a0;return this[_0x3cdecd(0x4f7)](),this[_0x3cdecd(0x315)][_0x3cdecd(0x49c)](_0x5e3fa4[_0x3cdecd(0x24b)],this[_0x3cdecd(0x350)],this[_0x3cdecd(0x4b3)],this['_awaitingChangeset'],this[_0x3cdecd(0x1ca)],this[_0x3cdecd(0x1c3)]);}[_0x2229a0(0x229)](){return this;}[_0x2229a0(0x378)](){var _0x2ff984=_0x2229a0;this[_0x2ff984(0x1c3)][_0x2ff984(0x474)](this[_0x2ff984(0x25c)]);}['_onConflict'](_0x8b639d){var _0x136b8f=_0x2229a0;return this[_0x136b8f(0x4f7)](),this[_0x136b8f(0x315)][_0x136b8f(0x49c)](_0x5e3fa4['ConflictState'],this[_0x136b8f(0x350)],this[_0x136b8f(0x4b3)],null,this[_0x136b8f(0x1ca)],this[_0x136b8f(0x1c3)],_0x8b639d);}[_0x2229a0(0x33a)](_0x5f5074,_0x46303e){var _0x380016=_0x2229a0,_0x4043e4;_0x5f5074===((_0x4043e4=this[_0x380016(0x25c)])==null?void 0x0:_0x4043e4[_0x380016(0x24d)])&&(this[_0x380016(0x378)](),this[_0x380016(0x52c)]=_0x46303e===0x0?0x3e8:Math['min'](_0x46303e*0x2,_0x5f0507),this[_0x380016(0x351)]+=this[_0x380016(0x52c)]);}[_0x2229a0(0x4f7)](){var _0xb7c4f1=_0x2229a0,_0x4c9a0b;(_0x4c9a0b=this['_sender'])==null||_0x4c9a0b[_0xb7c4f1(0x415)](),this[_0xb7c4f1(0x52c)]=0x0,this[_0xb7c4f1(0x351)]=0x0;}},_0x5e3fa4[_0x2229a0(0x358)]=_0x563741([_0x2cc99c(0x6,_0x158513[_0x2229a0(0x1c1)](_0x158513[_0x2229a0(0x523)])),_0x2cc99c(0x7,_0x158513['Inject'](_0x35009e[_0x2229a0(0x360)])),_0x2cc99c(0x8,_0x158513[_0x2229a0(0x4e3)]),_0x2cc99c(0x9,_0x158513[_0x2229a0(0x2b8)]),_0x2cc99c(0xa,_0x35009e[_0x2229a0(0x446)]),_0x2cc99c(0xb,_0x158513[_0x2229a0(0x4a9)]),_0x2cc99c(0xc,_0x158513[_0x2229a0(0x224)](_0x53e5a0))],_0x5e3fa4[_0x2229a0(0x358)]),_0x5e3fa4[_0x2229a0(0x2bb)]=class extends _0xec761{constructor(_0xb49555,_0x13cbae,_0x399195,_0x1d5fd4,_0x175cd7,_0x1917d4=!0x1,_0x6d5c9f,_0x314e78,_0x2d6d29,_0x4164f3,_0x50fed4,_0x50d49d,_0x27fa4c){var _0x25b5e4=_0x2229a0;super(_0xb49555,_0x13cbae,_0x399195,_0x1d5fd4,_0x175cd7,_0x314e78,_0x2d6d29,_0x4164f3,_0x27fa4c),_0x4b59b5(this,_0x25b5e4(0x2e2),_0x25b5e4(0x3b5)),(this[_0x25b5e4(0x4f1)]=_0x1917d4,this[_0x25b5e4(0x4c1)]=_0x6d5c9f,this[_0x25b5e4(0x246)]=_0x50fed4,this[_0x25b5e4(0x388)]=_0x50d49d,this[_0x25b5e4(0x38b)]=_0x27fa4c,this['_showConflictNotification'](),this[_0x25b5e4(0x1b4)](),this[_0x25b5e4(0x46e)]());}[_0x2229a0(0x1e3)](){return this;}[_0x2229a0(0x4b9)](){return this;}['onRemoteAck'](){return this;}[_0x2229a0(0x4b1)](){return this;}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x2229a0(0x229)](){return this;}[_0x2229a0(0x378)](){var _0x49f7bd=_0x2229a0;throw new Error(_0x49f7bd(0x248));}[_0x2229a0(0x1b4)](){var _0x551a22=_0x2229a0,_0x1064b0;(_0x1064b0=this[_0x551a22(0x34a)])==null||_0x1064b0['updateOfflineData'](this[_0x551a22(0x350)],this['type'],null,[]);}[_0x2229a0(0x219)](){var _0x158cfd=_0x2229a0;this[_0x158cfd(0x4f1)]?this['_collaborationUIEventService'][_0x158cfd(0x4a6)]({'id':_0x306c72['PERMISSION_DENIED']}):this[_0x158cfd(0x388)][_0x158cfd(0x4a6)]({'id':_0x306c72[_0x158cfd(0x451)]});}[_0x2229a0(0x46e)](){var _0x579d3f=_0x2229a0;this[_0x579d3f(0x4c1)][_0x579d3f(0x534)](new _0x18f772['WorkbookEditablePermission'](this[_0x579d3f(0x350)])['id'],!0x1);}},_0x5e3fa4[_0x2229a0(0x2bb)]=_0x563741([_0x2cc99c(0x6,_0x158513[_0x2229a0(0x1c1)](_0x158513['IPermissionService'])),_0x2cc99c(0x7,_0x158513['ICommandService']),_0x2cc99c(0x8,_0x158513['IUndoRedoService']),_0x2cc99c(0x9,_0x158513[_0x2229a0(0x1c1)](_0x35009e[_0x2229a0(0x360)])),_0x2cc99c(0xa,_0x158513[_0x2229a0(0x1c1)](_0x158513['LocaleService'])),_0x2cc99c(0xb,_0x158513[_0x2229a0(0x1c1)](_0x1a9793)),_0x2cc99c(0xc,_0x158513[_0x2229a0(0x224)](_0x53e5a0))],_0x5e3fa4[_0x2229a0(0x2bb)]),_0x5e3fa4[_0x2229a0(0x24b)]=class extends _0xec761{constructor(_0x7b68ce,_0x2f21b9,_0x4c3b27,_0x348b92,_0x2d23e9,_0x244042,_0x2e16de,_0x55ded8,_0x16a4d4,_0x16c11a){var _0x5ce7be=_0x2229a0;super(_0x7b68ce,_0x2f21b9,_0x4c3b27,_0x348b92,_0x2d23e9,_0x55ded8,_0x16a4d4,_0x2e16de,_0x16c11a),_0x4b59b5(this,_0x5ce7be(0x2e2),_0x5ce7be(0x4b5)),this[_0x5ce7be(0x315)]=_0x244042;}['appendMutation'](_0x3f14f3){var _0x176dfe=_0x2229a0;return this[_0x176dfe(0x1ca)][_0x176dfe(0x4a3)](_0x3f14f3),this['_updateLocalCache'](),this;}[_0x2229a0(0x4b9)](_0x295827){var _0x2f7ac4=_0x2229a0;throw new Error(_0x2f7ac4(0x323));}[_0x2229a0(0x406)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x2229a0(0x4b1)](){var _0x110d0a=_0x2229a0;throw new Error(_0x110d0a(0x26c));}['onRemoteRetry'](){return this;}[_0x2229a0(0x38d)](){return this;}[_0x2229a0(0x229)](){var _0x41cc00=_0x2229a0;const {_injector:_0x1d4c98,_pendingMutations:_0x522e83,_awaitingChangeset:_0xe9eaeb,unitID:_0x5b8cd5,_handler:_0x214b4c,type:_0x4f3eb3}=this,_0x3cb6c7=_0x331482(_0x1d4c98,_0x5b8cd5,_0x4f3eb3,_0xe9eaeb,_0x522e83,_0x214b4c);return _0x3cb6c7 instanceof _0x5e3fa4[_0x41cc00(0x2a8)]?_0x3cb6c7['_schedule']():(_0x3cb6c7 instanceof _0x5e3fa4['AwaitingWithPendingState']||_0x3cb6c7 instanceof _0x5e3fa4['AwaitingState'])&&_0x3cb6c7[_0x41cc00(0x378)](),_0x3cb6c7;}[_0x2229a0(0x378)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},_0x5e3fa4['OfflineState']=_0x563741([_0x2cc99c(0x5,_0x158513['Inject'](_0x158513[_0x2229a0(0x523)])),_0x2cc99c(0x6,_0x158513[_0x2229a0(0x1c1)](_0x35009e[_0x2229a0(0x360)])),_0x2cc99c(0x7,_0x158513[_0x2229a0(0x4e3)]),_0x2cc99c(0x8,_0x158513['IUndoRedoService']),_0x2cc99c(0x9,_0x158513[_0x2229a0(0x224)](_0x53e5a0))],_0x5e3fa4[_0x2229a0(0x24b)]),_0x5e3fa4['FetchingMissState']=class extends _0xec761{constructor(_0x38e3d5,_0x2b79d5,_0x51ef1f,_0x209930,_0xb3eacc,_0x51ed75,_0x840260,_0x43b6bd,_0x5efbb7,_0xa429f4,_0x149a7d,_0x5705ad,_0x3cb224,_0x16be48){var _0x2a587c=_0x2229a0;super(_0x38e3d5,_0x2b79d5,_0x51ef1f,_0x209930,_0x840260,_0x149a7d,_0x5705ad,_0x5efbb7,_0x16be48),_0x4b59b5(this,'status',_0x2a587c(0x2c8)),(this['_acknowledgedAwaitingChangeset']=_0xb3eacc,this[_0x2a587c(0x3a1)]=_0x51ed75,this[_0x2a587c(0x315)]=_0x43b6bd,this[_0x2a587c(0x501)]=_0xa429f4,this[_0x2a587c(0x431)]=_0x3cb224,this[_0x2a587c(0x38b)]=_0x16be48);}['onMissedChangesetFetched'](_0xe46e04){var _0x2c050c=_0x2229a0;try{const _0x15184c=[..._0xe46e04,...this['_queuedRemoteChangesets']],_0x1b91f2=[this[_0x2c050c(0x25c)]||this['_acknowledgedAwaitingChangeset']]['filter'](_0xa88136=>!!_0xa88136);let _0x3452ae,_0x1b6efa;if(_0x1b91f2[_0x2c050c(0x316)]){const _0x5df2b5=this[_0x2c050c(0x431)][_0x2c050c(0x231)](_0x15184c,_0x1b91f2,!0x1);if(!_0x35009e[_0x2c050c(0x23f)](_0x5df2b5))throw _0x5df2b5[_0x2c050c(0x508)];_0x3452ae=_0x5df2b5[_0x2c050c(0x2a7)],_0x1b6efa=_0x5df2b5['c2Prime'];}else _0x3452ae=_0x15184c,_0x1b6efa=[];let _0x1634b1=this[_0x2c050c(0x1ca)];_0x3452ae[_0x2c050c(0x45b)](_0x2c7f6d=>{var _0x26acc5=_0x2c050c;let _0x541bdd;if(_0x1634b1[_0x26acc5(0x316)]){const _0xbae1fe=this['_transformService'][_0x26acc5(0x4ff)](_0x2c7f6d,_0x1634b1);if(!_0x35009e[_0x26acc5(0x478)](_0xbae1fe))throw _0xbae1fe[_0x26acc5(0x508)];_0x541bdd=_0xbae1fe['c1Prime'],_0x1634b1=_0xbae1fe[_0x26acc5(0x41b)];}else _0x541bdd=_0x2c7f6d;this[_0x26acc5(0x1aa)](_0x541bdd);}),this['_acknowledgedAwaitingChangeset']&&this['_incrementRevisionNumber'](),this[_0x2c050c(0x25c)]&&_0x1b6efa[_0x2c050c(0x316)]&&(_0x1b6efa[0x0]['baseRev']=this[_0x2c050c(0x37d)]());let _0x13f717;if(this[_0x2c050c(0x25c)]&&_0x1634b1[_0x2c050c(0x316)]!==0x0)_0x13f717=this[_0x2c050c(0x315)][_0x2c050c(0x49c)](_0x5e3fa4[_0x2c050c(0x358)],this[_0x2c050c(0x350)],this[_0x2c050c(0x4b3)],_0x1b6efa[0x0],_0x1634b1,this[_0x2c050c(0x1c3)],void 0x0);else{if(this[_0x2c050c(0x25c)]&&_0x1634b1['length']===0x0)_0x1b6efa[0x0][_0x2c050c(0x3f2)]=this[_0x2c050c(0x37d)](),_0x13f717=this['_injector'][_0x2c050c(0x49c)](_0x5e3fa4[_0x2c050c(0x1b6)],this[_0x2c050c(0x350)],this['type'],_0x1b6efa[0x0],this[_0x2c050c(0x1c3)]);else{if(_0x1634b1[_0x2c050c(0x316)]!==0x0){const _0x129e40=this['_injector'][_0x2c050c(0x49c)](_0x5e3fa4[_0x2c050c(0x2a8)],this['unitID'],this[_0x2c050c(0x4b3)],_0x1634b1,this[_0x2c050c(0x1c3)]);_0x129e40[_0x2c050c(0x221)](),_0x13f717=_0x129e40;}else _0x13f717=this[_0x2c050c(0x315)]['createInstance'](_0x5e3fa4['SyncedState'],this[_0x2c050c(0x350)],this[_0x2c050c(0x4b3)],this['_handler']);}}return _0x13f717[_0x2c050c(0x2c0)](),_0x13f717;}catch(_0x37b0bb){return this[_0x2c050c(0x501)][_0x2c050c(0x508)](_0x2c050c(0x220),'failed\x20to\x20apply\x20missed\x20changesets!',_0x37b0bb),this['_injector'][_0x2c050c(0x49c)](_0x5e3fa4[_0x2c050c(0x2bb)],this['unitID'],this['type'],this['_awaitingChangeset'],this[_0x2c050c(0x1ca)],this[_0x2c050c(0x1c3)],!0x1);}}[_0x2229a0(0x378)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2229a0(0x1e3)](_0x1a1690){var _0x4fdeae=_0x2229a0;return this['_pendingMutations'][_0x4fdeae(0x4a3)](_0x1a1690),this;}[_0x2229a0(0x4b9)](_0x212352){return this['_queuedRemoteChangesets']['push'](_0x212352),this;}['onRemoteAck'](_0x545fe5){var _0x3dee01=_0x2229a0;if(this[_0x3dee01(0x25c)])return this[_0x3dee01(0x531)]=this[_0x3dee01(0x25c)],this[_0x3dee01(0x25c)]=null,this;throw new Error(_0x3dee01(0x41a));}[_0x2229a0(0x4b1)](_0x19ca60){var _0x2a6e32=_0x2229a0;return this[_0x2a6e32(0x527)](!!(_0x19ca60!=null&&_0x19ca60[_0x2a6e32(0x2f7)]));}[_0x2229a0(0x528)](){return this;}[_0x2229a0(0x38d)](){var _0x4ad5b8=_0x2229a0;return this['_injector'][_0x4ad5b8(0x49c)](_0x5e3fa4['OfflineState'],this[_0x4ad5b8(0x350)],this['type'],this[_0x4ad5b8(0x25c)],this[_0x4ad5b8(0x1ca)],this[_0x4ad5b8(0x1c3)]);}[_0x2229a0(0x229)](){return this;}[_0x2229a0(0x527)](_0x20ec4c){var _0x15741b=_0x2229a0;return this[_0x15741b(0x315)][_0x15741b(0x49c)](_0x5e3fa4[_0x15741b(0x2bb)],this[_0x15741b(0x350)],this['type'],this[_0x15741b(0x25c)],this[_0x15741b(0x1ca)],this[_0x15741b(0x1c3)],_0x20ec4c);}},_0x5e3fa4[_0x2229a0(0x47a)]=_0x563741([_0x2cc99c(0x7,_0x158513[_0x2229a0(0x1c1)](_0x158513[_0x2229a0(0x523)])),_0x2cc99c(0x8,_0x158513[_0x2229a0(0x1c1)](_0x35009e[_0x2229a0(0x360)])),_0x2cc99c(0x9,_0x158513[_0x2229a0(0x2b8)]),_0x2cc99c(0xa,_0x158513[_0x2229a0(0x4e3)]),_0x2cc99c(0xb,_0x158513['IUndoRedoService']),_0x2cc99c(0xc,_0x35009e['ITransformService']),_0x2cc99c(0xd,_0x158513[_0x2229a0(0x224)](_0x53e5a0))],_0x5e3fa4['FetchingMissState']);function _0x331482(_0x122d18,_0x48c9e6,_0x5a01ae,_0x5ab6d1,_0x133e86,_0x49833b){var _0x5a2ee2=_0x2229a0;return _0x5ab6d1&&_0x133e86[_0x5a2ee2(0x316)]?_0x122d18[_0x5a2ee2(0x49c)](_0x5e3fa4[_0x5a2ee2(0x358)],_0x48c9e6,_0x5a01ae,_0x5ab6d1,_0x133e86,_0x49833b,void 0x0):_0x5ab6d1?_0x122d18['createInstance'](_0x5e3fa4[_0x5a2ee2(0x1b6)],_0x48c9e6,_0x5a01ae,_0x5ab6d1,_0x49833b):_0x133e86['length']?_0x122d18['createInstance'](_0x5e3fa4[_0x5a2ee2(0x2a8)],_0x48c9e6,_0x5a01ae,_0x133e86,_0x49833b):_0x122d18[_0x5a2ee2(0x49c)](_0x5e3fa4['SyncedState'],_0x48c9e6,_0x5a01ae,_0x49833b);}var _0x238d51=Object[_0x2229a0(0x330)],_0x23ca75=(_0x31d875,_0x5b8871,_0x270246,_0x1e8f49)=>{var _0x373a05=_0x2229a0;for(var _0x10bace=_0x1e8f49>0x1?void 0x0:_0x1e8f49?_0x238d51(_0x5b8871,_0x270246):_0x5b8871,_0xcf2813=_0x31d875[_0x373a05(0x316)]-0x1,_0x229f0e;_0xcf2813>=0x0;_0xcf2813--)(_0x229f0e=_0x31d875[_0xcf2813])&&(_0x10bace=_0x229f0e(_0x10bace)||_0x10bace);return _0x10bace;},_0x48b40d=(_0x3bd9ca,_0x2b2513)=>(_0x50cda2,_0x118a3d)=>_0x2b2513(_0x50cda2,_0x118a3d,_0x3bd9ca);_0x5e3fa4[_0x2229a0(0x2ec)]=class extends _0x158513[_0x2229a0(0x42c)]{constructor(_0x58c936,_0x57f9d3,_0x5c88e1,_0x3e5edd,_0x19a596,_0x6b0747,_0x459fd,_0x37394b,_0x3e2faf,_0xb9a989,_0x5ce21f,_0x2a5a2c,_0xe0d8b9,_0x49928d){var _0x302491=_0x2229a0;super(),_0x4b59b5(this,'_state$',new _0x32f9ef['BehaviorSubject'](null)),_0x4b59b5(this,'state$',this[_0x302491(0x49e)][_0x302491(0x1d1)]()),_0x4b59b5(this,_0x302491(0x4b8)),_0x4b59b5(this,_0x302491(0x1d7),!0x1),_0x4b59b5(this,_0x302491(0x1d2),''),_0x4b59b5(this,_0x302491(0x325),0x0),_0x4b59b5(this,_0x302491(0x2a3),this[_0x302491(0x3d3)]['pipe'](_0x32f9ef[_0x302491(0x1d8)](_0x4084f2=>_0x4084f2?_0x4084f2[_0x302491(0x2e2)]:_0x3eee43['OFFLINE']),_0x32f9ef[_0x302491(0x1bf)](0x1))),_0x4b59b5(this,_0x302491(0x466),!0x1),_0x4b59b5(this,_0x302491(0x536),[]),(this[_0x302491(0x350)]=_0x58c936,this['session']=_0x57f9d3,this[_0x302491(0x1d4)]=_0x5c88e1,this[_0x302491(0x315)]=_0x3e5edd,this['_compressMutationService']=_0x19a596,this[_0x302491(0x246)]=_0x6b0747,this[_0x302491(0x34c)]=_0x459fd,this[_0x302491(0x282)]=_0x37394b,this[_0x302491(0x1ae)]=_0x3e2faf,this[_0x302491(0x501)]=_0xb9a989,this[_0x302491(0x197)]=_0x5ce21f,this[_0x302491(0x4c1)]=_0x2a5a2c,this[_0x302491(0x42a)]=_0xe0d8b9,this['_localCacheService']=_0x49928d);}get['state'](){var _0x2711a8=_0x2229a0;return this[_0x2711a8(0x4b8)];}async[_0x2229a0(0x222)](){var _0x1d587f=_0x2229a0;if(this[_0x1d587f(0x4c0)])throw new Error(_0x1d587f(0x4b4));await this[_0x1d587f(0x1db)]();}[_0x2229a0(0x3bb)](){var _0xd790ed=_0x2229a0;return this[_0xd790ed(0x1d7)]=!0x0,_0x158513[_0xd790ed(0x2e4)](()=>{var _0xcdfea2=_0xd790ed;this[_0xcdfea2(0x1d7)]=!0x1,this[_0xcdfea2(0x356)]();});}[_0x2229a0(0x35a)](_0x153321){var _0x2890bf=_0x2229a0;this[_0x2890bf(0x212)](_0x153321);}[_0x2229a0(0x1e5)](_0x18d120){var _0x33cdce=_0x2229a0;this[_0x33cdce(0x4b8)]=_0x18d120,this[_0x33cdce(0x49e)]['next'](_0x18d120);}async[_0x2229a0(0x1db)](){var _0x99d0e9=_0x2229a0,_0x2a3c23;this['_updateState'](await this[_0x99d0e9(0x495)]()),this[_0x99d0e9(0x42a)]&&((_0x2a3c23=this[_0x99d0e9(0x42a)])==null||_0x2a3c23[_0x99d0e9(0x416)](this[_0x99d0e9(0x350)]),this['disposeWithMe'](this[_0x99d0e9(0x42a)][_0x99d0e9(0x31a)](this[_0x99d0e9(0x350)])[_0x99d0e9(0x206)](_0x20bdea=>{var _0x3624bb=_0x99d0e9;this['_logService'][_0x3624bb(0x513)](_0x3624bb(0x40b),_0x3624bb(0x414),_0x20bdea),_0x20bdea===_0x309040[_0x3624bb(0x498)]?(this[_0x3624bb(0x282)][_0x3624bb(0x4a6)]({'id':_0x306c72['OTHER_CLIENT_EDITING']}),this[_0x3624bb(0x4c1)][_0x3624bb(0x534)](new _0x18f772[(_0x3624bb(0x467))](this[_0x3624bb(0x350)])['id'],!0x1),this[_0x3624bb(0x4c1)][_0x3624bb(0x4cd)](!0x1)):(this[_0x3624bb(0x4c1)][_0x3624bb(0x534)](new _0x18f772['WorkbookEditablePermission'](this[_0x3624bb(0x350)])['id'],!0x0),this['_permissionService']['setShowComponents'](!0x0));})));let _0x515cf2=!0x1;return this['disposeWithMe'](this[_0x99d0e9(0x2f3)][_0x99d0e9(0x352)][_0x99d0e9(0x206)](_0x5ed50c=>{var _0x1a9b8e=_0x99d0e9;_0x5ed50c===_0x366b35['ONLINE']?this['_toggleOnline'](_0x515cf2):_0x5ed50c===_0x366b35[_0x1a9b8e(0x3d1)]&&(_0x515cf2=!0x0,this[_0x1a9b8e(0x3a7)]());})),this['disposeWithMe'](this[_0x99d0e9(0x2f3)]['event$'][_0x99d0e9(0x206)](_0x4e3138=>{var _0x558ac9=_0x99d0e9;try{switch(_0x4e3138[_0x558ac9(0x40a)]){case _0x35009e[_0x558ac9(0x499)]['NEW_CHANGESETS']:{this['_onRemoteChangeset'](_0x35009e[_0x558ac9(0x4e0)](_0x4e3138[_0x558ac9(0x214)]));break;}case _0x35009e[_0x558ac9(0x499)][_0x558ac9(0x24e)]:{this['_onRemoteACK'](_0x4e3138[_0x558ac9(0x214)]);break;}case _0x35009e[_0x558ac9(0x499)]['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case _0x35009e[_0x558ac9(0x499)][_0x558ac9(0x2c4)]:{this['_onRemoteRetry'](_0x4e3138[_0x558ac9(0x214)]);break;}case _0x35009e[_0x558ac9(0x499)][_0x558ac9(0x1de)]:{this['_onFetchMissResult'](_0x4e3138['data'][_0x558ac9(0x25e)][_0x558ac9(0x1d8)](_0x4a4714=>_0x35009e[_0x558ac9(0x4e0)](_0x4a4714)));break;}case _0x35009e[_0x558ac9(0x499)][_0x558ac9(0x391)]:{this[_0x558ac9(0x37a)]({'isPermissionRej':!0x0});break;}case _0x35009e[_0x558ac9(0x499)][_0x558ac9(0x397)]:break;}}catch(_0x1ed521){throw console[_0x558ac9(0x508)]('Error\x20on\x20receiving\x20event',_0x1ed521),_0x1ed521;}})),this[_0x99d0e9(0x4b8)];}[_0x2229a0(0x4eb)](){var _0x1c47b8=_0x2229a0;this[_0x1c47b8(0x466)]=!0x1;}[_0x2229a0(0x4a0)](){var _0x5703b7=_0x2229a0;if(this['_transitionLocked'])throw new Error(_0x5703b7(0x504));this['_transitionLocked']=!0x0;}[_0x2229a0(0x212)](_0x167b79){var _0x4bbf81=_0x2229a0;this[_0x4bbf81(0x4a0)](),this['_updateState'](this['_state'][_0x4bbf81(0x1e3)](_0x167b79)),this[_0x4bbf81(0x4eb)]();}[_0x2229a0(0x384)](_0x11345e){var _0x345e65=_0x2229a0;if(!(_0x11345e['revision']<=this[_0x345e65(0x34c)][_0x345e65(0x2b4)](this[_0x345e65(0x350)]))){if(this[_0x345e65(0x1d7)]){this['_remoteChangesetQueue'][_0x345e65(0x4a3)](_0x11345e);return;}this[_0x345e65(0x51d)](_0x11345e);}}[_0x2229a0(0x356)](){var _0x259b9c=_0x2229a0;this[_0x259b9c(0x536)][_0x259b9c(0x45b)](_0x4a80b7=>this['_applyRemoteChangeset'](_0x4a80b7)),this[_0x259b9c(0x536)]=[];}[_0x2229a0(0x51d)](_0x2bcbfa){var _0x3db7aa=_0x2229a0;const _0x508001=this[_0x3db7aa(0x2fd)][_0x3db7aa(0x2a1)][_0x3db7aa(0x50e)](this[_0x3db7aa(0x2fd)]['interceptor'][_0x3db7aa(0x4af)]()['COMPRESS_MUTATION_APPLY'])(_0x2bcbfa[_0x3db7aa(0x3b3)],null)||_0x2bcbfa[_0x3db7aa(0x3b3)],_0x5e2b02={..._0x2bcbfa,'mutations':_0x508001};this[_0x3db7aa(0x4a0)](),this[_0x3db7aa(0x1e5)](this[_0x3db7aa(0x4b8)]['onRemoteChangeset'](_0x5e2b02)),this[_0x3db7aa(0x4eb)]();}[_0x2229a0(0x46b)](_0x43c8b4){var _0x5ca10e=_0x2229a0;this[_0x5ca10e(0x4a0)](),this[_0x5ca10e(0x1e5)](this[_0x5ca10e(0x4b8)][_0x5ca10e(0x406)](_0x43c8b4)),this[_0x5ca10e(0x4eb)]();}['_onRemoteRejected'](_0xde70eb){var _0x4b5acc=_0x2229a0;this[_0x4b5acc(0x4a0)](),this['_updateState'](this[_0x4b5acc(0x4b8)][_0x4b5acc(0x4b1)](_0xde70eb)),this[_0x4b5acc(0x4eb)]();}[_0x2229a0(0x456)](_0x29538d){var _0x189669=_0x2229a0;this['_lockTransition'](),this['_updateState'](this[_0x189669(0x4b8)]['onRemoteRetry'](_0x29538d)),this[_0x189669(0x4eb)]();}[_0x2229a0(0x277)](_0x2ca4e8){var _0x3dea63=_0x2229a0;if(!(this[_0x3dea63(0x4b8)]instanceof _0x5e3fa4[_0x3dea63(0x47a)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x4c7247=_0x2ca4e8[_0x3dea63(0x1d8)](_0x1aa2a5=>{var _0x225c1c=_0x3dea63;const _0x234d44=this['_compressMutationService'][_0x225c1c(0x2a1)][_0x225c1c(0x50e)](this[_0x225c1c(0x2fd)][_0x225c1c(0x2a1)][_0x225c1c(0x4af)]()['COMPRESS_MUTATION_APPLY'])(_0x1aa2a5[_0x225c1c(0x3b3)],null)||_0x1aa2a5[_0x225c1c(0x3b3)];return{..._0x1aa2a5,'mutations':_0x234d44};});this[_0x3dea63(0x4a0)](),this['_updateState'](this[_0x3dea63(0x4b8)][_0x3dea63(0x515)](_0x4c7247)),this[_0x3dea63(0x4eb)]();}[_0x2229a0(0x3a7)](){var _0x5c15b4=_0x2229a0;this['_lockTransition'](),this[_0x5c15b4(0x1e5)](this['_state']['toggleOffline']()),this[_0x5c15b4(0x4eb)]();}[_0x2229a0(0x21e)](_0x1437ae=!0x1){var _0x18ae62=_0x2229a0;this[_0x18ae62(0x4a0)](),this[_0x18ae62(0x1e5)](this['_state'][_0x18ae62(0x229)]()),this['_unlockTransition']();const _0x45cb93=this['_state'];_0x1437ae&&_0x45cb93 instanceof _0x5e3fa4[_0x18ae62(0x39b)]&&(this[_0x18ae62(0x4a0)](),this[_0x18ae62(0x1e5)](_0x45cb93[_0x18ae62(0x291)]()),this[_0x18ae62(0x4eb)]());}async[_0x2229a0(0x495)](){return new Promise(_0x2da805=>{var _0x356f77=_0x573a;this[_0x356f77(0x2f3)][_0x356f77(0x352)]['pipe'](_0x32f9ef[_0x356f77(0x23b)](0x1))[_0x356f77(0x206)](async _0x1de28f=>{var _0x5d66d1=_0x356f77;_0x2da805(await this[_0x5d66d1(0x284)](_0x1de28f===_0x366b35['ONLINE']));});});}[_0x2229a0(0x283)](){var _0x306214=_0x2229a0;const _0x1c320c=this[_0x306214(0x350)];return{'onStateChange':(_0x523c7c,_0x1911e8)=>{var _0x1d092e=_0x306214;if(_0x523c7c!==this['_state'])throw new Error(_0x1d092e(0x516)+_0x523c7c[_0x1d092e(0x2e2)]+_0x1d092e(0x20b)+_0x1911e8['status']+'\x0aCurrent:\x20'+this[_0x1d092e(0x4b8)]['status']);this[_0x1d092e(0x1e5)](_0x1911e8);},'onSendChangeset':_0x37890a=>{var _0x757948=_0x306214;_0x37890a[_0x757948(0x1da)]||(_0x37890a[_0x757948(0x1da)]=this[_0x757948(0x1d2)],_0x37890a['reqId']=++this[_0x757948(0x325)]);const _0x22a16a={'eventID':_0x35009e['CollaborationEvent']['SUBMIT_CHANGESET'],'data':{'unitID':_0x37890a[_0x757948(0x350)],'unitType':this['_type'],'changeset':_0x37890a,'memberID':this[_0x757948(0x2f3)][_0x757948(0x1e7)]()}};this['session']['send'](_0x22a16a,this[_0x757948(0x350)]);},'onMissingChangesets':({from:_0x3734e4,to:_0x4ce987})=>{var _0x54be32=_0x306214;this[_0x54be32(0x501)][_0x54be32(0x513)](_0x54be32(0x40b),_0x54be32(0x339)+_0x3734e4+_0x54be32(0x301)+_0x4ce987);const _0x190a5c={'eventID':_0x35009e[_0x54be32(0x499)][_0x54be32(0x503)],'data':{'unitID':_0x1c320c,'unitType':this[_0x54be32(0x1d4)],'from':_0x3734e4,'to':_0x4ce987}};this[_0x54be32(0x2f3)][_0x54be32(0x535)](_0x190a5c,this[_0x54be32(0x350)]);}};}async['_createInitialStateImpl'](_0x580b0d){var _0xca5b8f=_0x2229a0,_0x5c7f67,_0x42846d,_0x29bcf2;const _0x2c01a2=await((_0x5c7f67=this[_0xca5b8f(0x34a)])==null?void 0x0:_0x5c7f67['loadOfflineData'](this['unitID'])),_0x1d2958=(_0x42846d=_0x2c01a2==null?void 0x0:_0x2c01a2[_0xca5b8f(0x3b3)])!=null?_0x42846d:[],_0x42a700=(_0x29bcf2=_0x2c01a2==null?void 0x0:_0x2c01a2[_0xca5b8f(0x1c2)])!=null?_0x29bcf2:null,_0x48f1e0=!!(_0x42a700!=null&&_0x42a700[_0xca5b8f(0x1da)])&&!!(_0x42a700!=null&&_0x42a700[_0xca5b8f(0x24d)]);this[_0xca5b8f(0x1d2)]=_0x48f1e0?_0x42a700['sid']:_0x35009e[_0xca5b8f(0x3d0)](),this[_0xca5b8f(0x325)]=_0x48f1e0?_0x42a700[_0xca5b8f(0x24d)]:0x0;const _0x25b9f5=this['unitID'];try{this[_0xca5b8f(0x31c)](_0x42a700,_0x1d2958);}catch(_0x37ace2){this[_0xca5b8f(0x501)][_0xca5b8f(0x508)](_0x37ace2);}const _0x125856=this['_createHandler']();if(_0x580b0d){const _0x45ee74=_0x331482(this[_0xca5b8f(0x315)],_0x25b9f5,this[_0xca5b8f(0x1d4)],_0x42a700,_0x1d2958,_0x125856);return _0x45ee74 instanceof _0x5e3fa4['PendingState']?_0x45ee74[_0xca5b8f(0x221)]():(_0x45ee74 instanceof _0x5e3fa4[_0xca5b8f(0x358)]||_0x45ee74 instanceof _0x5e3fa4[_0xca5b8f(0x1b6)])&&_0x45ee74[_0xca5b8f(0x378)](),_0x45ee74;}return this[_0xca5b8f(0x315)][_0xca5b8f(0x49c)](_0x5e3fa4[_0xca5b8f(0x24b)],_0x25b9f5,this[_0xca5b8f(0x1d4)],_0x42a700,_0x1d2958,_0x125856);}[_0x2229a0(0x31c)](_0x32c3a9,_0x3983ec){var _0x5f321b=_0x2229a0,_0xccfb97,_0x16aaeb;const _0x340e6f=this['_compressMutationService'][_0x5f321b(0x2a1)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x5f321b(0x2a1)][_0x5f321b(0x4af)]()[_0x5f321b(0x2b9)]);(_0xccfb97=_0x340e6f((_0x32c3a9==null?void 0x0:_0x32c3a9[_0x5f321b(0x3b3)])||[],null))==null||_0xccfb97['forEach'](_0x19b7d2=>this['_commandService'][_0x5f321b(0x3df)](_0x19b7d2['id'],_0x19b7d2[_0x5f321b(0x2df)])),(_0x16aaeb=_0x340e6f(_0x3983ec||[],null))==null||_0x16aaeb[_0x5f321b(0x45b)](_0x584538=>this[_0x5f321b(0x197)][_0x5f321b(0x3df)](_0x584538['id'],_0x584538[_0x5f321b(0x2df)]));}},_0x5e3fa4[_0x2229a0(0x2ec)]=_0x23ca75([_0x48b40d(0x3,_0x158513[_0x2229a0(0x1c1)](_0x158513['Injector'])),_0x48b40d(0x4,_0x158513[_0x2229a0(0x1c1)](_0x35009e[_0x2229a0(0x1d3)])),_0x48b40d(0x5,_0x158513[_0x2229a0(0x1c1)](_0x158513['LocaleService'])),_0x48b40d(0x6,_0x158513[_0x2229a0(0x1c1)](_0x35009e['RevisionService'])),_0x48b40d(0x7,_0x158513[_0x2229a0(0x1c1)](_0x1a9793)),_0x48b40d(0x8,_0x158513[_0x2229a0(0x4ad)]),_0x48b40d(0x9,_0x158513['ILogService']),_0x48b40d(0xa,_0x158513[_0x2229a0(0x4e3)]),_0x48b40d(0xb,_0x158513['IPermissionService']),_0x48b40d(0xc,_0x158513[_0x2229a0(0x224)](_0x25ea7f)),_0x48b40d(0xd,_0x158513[_0x2229a0(0x224)](_0x53e5a0))],_0x5e3fa4[_0x2229a0(0x2ec)]),_0x5e3fa4[_0x2229a0(0x1e0)]=class extends _0x5e3fa4['CollaborationEntity']{constructor(_0x563e47,_0x5eb17f,_0x509a95,_0x367233,_0x189e88,_0xdd030d,_0x2c6dc9,_0x11d248,_0x23c60a,_0x9c4f84,_0x1efe89,_0x5747cf,_0x4a55b0,_0xf69068){var _0x11eb4d=_0x2229a0;super(_0x563e47,_0x509a95,_0x5eb17f,_0x367233,_0x189e88,_0xdd030d,_0x2c6dc9,_0x11d248,_0x23c60a,_0x9c4f84,_0x1efe89,_0x5747cf,_0x4a55b0,_0xf69068),_0x4b59b5(this,'_handlerCallback',null),(this['unitID']=_0x563e47,this[_0x11eb4d(0x4b3)]=_0x5eb17f);}[_0x2229a0(0x322)](_0xa673ec){var _0x434fd4=_0x2229a0;this[_0x434fd4(0x3a2)]=_0xa673ec;}['dispose'](){var _0x2c63d5=_0x2229a0;this[_0x2c63d5(0x3a2)]=null,super[_0x2c63d5(0x484)]();}['_createHandler'](){var _0x40dd7d=_0x2229a0;const _0x52bd51=super[_0x40dd7d(0x283)]();return _0x52bd51[_0x40dd7d(0x1fc)]=_0x40de3c=>{var _0x357fdd=_0x40dd7d,_0x47ad27,_0x10c368;return(_0x10c368=(_0x47ad27=this[_0x357fdd(0x3a2)])==null?void 0x0:_0x47ad27[_0x357fdd(0x1fc)])==null?void 0x0:_0x10c368[_0x357fdd(0x2d1)](_0x47ad27,_0x40de3c);},_0x52bd51[_0x40dd7d(0x44e)]=_0x195849=>{var _0x237f4e=_0x40dd7d,_0x2833ea,_0x2106e3;return(_0x2106e3=(_0x2833ea=this[_0x237f4e(0x3a2)])==null?void 0x0:_0x2833ea[_0x237f4e(0x44e)])==null?void 0x0:_0x2106e3['call'](_0x2833ea,_0x195849);},_0x52bd51['onTransformSelections']=_0x5b1913=>{var _0x5aa4cf=_0x40dd7d,_0x4c09c0,_0x246a75;return(_0x246a75=(_0x4c09c0=this['_handlerCallback'])==null?void 0x0:_0x4c09c0[_0x5aa4cf(0x3eb)])==null?void 0x0:_0x246a75['call'](_0x4c09c0,_0x5b1913);},_0x52bd51['onSyncEditingCollabCursor']=_0x18a17f=>{var _0x409d73=_0x40dd7d,_0x1de672,_0x584dd6;return(_0x584dd6=(_0x1de672=this[_0x409d73(0x3a2)])==null?void 0x0:_0x1de672['onSyncEditingCollabCursor'])==null?void 0x0:_0x584dd6[_0x409d73(0x2d1)](_0x1de672,_0x18a17f);},_0x52bd51[_0x40dd7d(0x473)]=_0x3bcc23=>{var _0x320231=_0x40dd7d,_0xa59418,_0x2e3da8,_0x2878fb;if(!((_0xa59418=this[_0x320231(0x3a2)])!=null&&_0xa59418['onTransformRemoteChangesetByIMECache']))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x2878fb=(_0x2e3da8=this[_0x320231(0x3a2)])==null?void 0x0:_0x2e3da8['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x2878fb[_0x320231(0x2d1)](_0x2e3da8,_0x3bcc23);},_0x52bd51[_0x40dd7d(0x449)]=_0x4e3e82=>{var _0x2c4091=_0x40dd7d,_0x94ea8c,_0x4090f9,_0x4b6927;if(!((_0x94ea8c=this[_0x2c4091(0x3a2)])!=null&&_0x94ea8c[_0x2c4091(0x449)]))throw new Error(_0x2c4091(0x3e5));return(_0x4b6927=(_0x4090f9=this[_0x2c4091(0x3a2)])==null?void 0x0:_0x4090f9['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x4b6927[_0x2c4091(0x2d1)](_0x4090f9,_0x4e3e82);},_0x52bd51;}async[_0x2229a0(0x1db)](){var _0x54427f=_0x2229a0;const _0x325a65=await super[_0x54427f(0x1db)]();return this['disposeWithMe'](this[_0x54427f(0x197)][_0x54427f(0x1bd)]((_0x48d8d4,_0x4a8ed3)=>{var _0x2409e9=_0x54427f;if(_0x48d8d4[_0x2409e9(0x4b3)]!==_0x158513[_0x2409e9(0x3b8)][_0x2409e9(0x4bc)]||_0x4a8ed3!=null&&_0x4a8ed3[_0x2409e9(0x334)]||_0x4a8ed3!=null&&_0x4a8ed3['onlyLocal']||_0x48d8d4['id']===_0xc7e141[_0x2409e9(0x4f9)]['id'])return;const _0x25c283=_0x48d8d4[_0x2409e9(0x2df)];if((_0x25c283==null?void 0x0:_0x25c283[_0x2409e9(0x506)])!==this[_0x2409e9(0x350)])return;const _0x5d5e7c=_0x48d8d4,_0x431e39=this[_0x2409e9(0x2fd)]['interceptor'][_0x2409e9(0x50e)](this[_0x2409e9(0x2fd)][_0x2409e9(0x2a1)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x5d5e7c],this[_0x2409e9(0x1ae)])||[_0x5d5e7c];this[_0x2409e9(0x212)](_0x431e39[0x0]);})),_0x325a65;}},_0x5e3fa4['DocCollaborationEntity']=_0x23ca75([_0x48b40d(0x3,_0x158513[_0x2229a0(0x1c1)](_0x158513[_0x2229a0(0x523)])),_0x48b40d(0x4,_0x158513[_0x2229a0(0x1c1)](_0x35009e[_0x2229a0(0x1d3)])),_0x48b40d(0x5,_0x158513[_0x2229a0(0x1c1)](_0x158513[_0x2229a0(0x402)])),_0x48b40d(0x6,_0x158513[_0x2229a0(0x1c1)](_0x35009e['RevisionService'])),_0x48b40d(0x7,_0x158513['Inject'](_0x1a9793)),_0x48b40d(0x8,_0x158513['IUniverInstanceService']),_0x48b40d(0x9,_0x158513['ILogService']),_0x48b40d(0xa,_0x158513['ICommandService']),_0x48b40d(0xb,_0x158513[_0x2229a0(0x4bd)]),_0x48b40d(0xc,_0x158513[_0x2229a0(0x224)](_0x25ea7f)),_0x48b40d(0xd,_0x158513[_0x2229a0(0x224)](_0x53e5a0))],_0x5e3fa4[_0x2229a0(0x1e0)]),_0x5e3fa4[_0x2229a0(0x196)]=class extends _0x5e3fa4[_0x2229a0(0x2ec)]{constructor(_0x41fe30,_0x330ca9,_0x759d66,_0x425602,_0xae613a,_0xb8d4c8,_0x185c3f,_0x2c2230,_0x55ef3a,_0x14a862,_0x3b1887,_0x136b70,_0x501b7f,_0x13d224,_0x5113ef){var _0x541560=_0x2229a0;super(_0x41fe30,_0x759d66,_0x330ca9,_0x425602,_0xae613a,_0xb8d4c8,_0x185c3f,_0x55ef3a,_0x14a862,_0x3b1887,_0x136b70,_0x501b7f,_0x13d224,_0x5113ef),this[_0x541560(0x350)]=_0x41fe30,this[_0x541560(0x4b3)]=_0x330ca9,this['_sheetTransformSelectionsService']=_0x2c2230;}[_0x2229a0(0x283)](){var _0xc3889c=_0x2229a0;const _0x54a9e4=super[_0xc3889c(0x283)]();return _0x54a9e4['onTransformSelections']=_0x6620e5=>this[_0xc3889c(0x49a)][_0xc3889c(0x1eb)](_0x6620e5),_0x54a9e4;}async['_init'](){var _0x229b62=_0x2229a0;const _0xf8305b=await super['_init']();return this[_0x229b62(0x2a6)](this[_0x229b62(0x197)]['onMutationExecutedForCollab']((_0x3e97fb,_0x580e89)=>{var _0x50acdc=_0x229b62;if(_0x3e97fb['type']!==_0x158513[_0x50acdc(0x3b8)][_0x50acdc(0x4bc)]||_0x580e89!=null&&_0x580e89[_0x50acdc(0x334)]||_0x580e89!=null&&_0x580e89[_0x50acdc(0x447)])return;const _0xc58e3a=_0x3e97fb[_0x50acdc(0x2df)];if((_0xc58e3a==null?void 0x0:_0xc58e3a[_0x50acdc(0x506)])!==this[_0x50acdc(0x350)])return;const _0x14d5ad=_0x3e97fb,_0x2cd936=this[_0x50acdc(0x2fd)][_0x50acdc(0x2a1)]['fetchThroughInterceptors'](this[_0x50acdc(0x2fd)][_0x50acdc(0x2a1)][_0x50acdc(0x4af)]()[_0x50acdc(0x31b)])([_0x14d5ad],this[_0x50acdc(0x1ae)])||[_0x14d5ad];this[_0x50acdc(0x212)](_0x2cd936[0x0]);})),_0xf8305b;}},_0x5e3fa4[_0x2229a0(0x196)]=_0x23ca75([_0x48b40d(0x3,_0x158513[_0x2229a0(0x1c1)](_0x158513[_0x2229a0(0x523)])),_0x48b40d(0x4,_0x158513[_0x2229a0(0x1c1)](_0x35009e[_0x2229a0(0x1d3)])),_0x48b40d(0x5,_0x158513['Inject'](_0x158513[_0x2229a0(0x402)])),_0x48b40d(0x6,_0x158513[_0x2229a0(0x1c1)](_0x35009e[_0x2229a0(0x360)])),_0x48b40d(0x7,_0x158513[_0x2229a0(0x1c1)](_0x5e3fa4[_0x2229a0(0x3f3)])),_0x48b40d(0x8,_0x158513[_0x2229a0(0x1c1)](_0x1a9793)),_0x48b40d(0x9,_0x158513['IUniverInstanceService']),_0x48b40d(0xa,_0x158513[_0x2229a0(0x2b8)]),_0x48b40d(0xb,_0x158513[_0x2229a0(0x4e3)]),_0x48b40d(0xc,_0x158513[_0x2229a0(0x4bd)]),_0x48b40d(0xd,_0x158513[_0x2229a0(0x224)](_0x25ea7f)),_0x48b40d(0xe,_0x158513[_0x2229a0(0x224)](_0x53e5a0))],_0x5e3fa4[_0x2229a0(0x196)]);const _0x215e06=_0x158513[_0x2229a0(0x25b)](_0x2229a0(0x1cf));function _0x9e4075(_0x2fa23c){var _0x2dc53a=_0x2229a0,_0x3b920a,_0x159f88,_0x124df8,_0x1a03ab,_0x25bd25;const _0xa3dee9=_0x2fa23c['data'],_0x415225=JSON[_0x2dc53a(0x34b)](_0xa3dee9);switch(_0x415225[_0x2dc53a(0x366)]){case _0x5db895['HEARTBEAT']:case _0x5db895['HELLO']:{const _0x328d90=_0x415225[_0x2dc53a(0x377)];return{..._0x415225,'data':_0x328d90,'cmd':_0x415225['cmd']};}case _0x5db895[_0x2dc53a(0x2e8)]:{const _0x3cc75c=_0x415225[_0x2dc53a(0x26f)];return{..._0x415225,'data':_0x3cc75c,'cmd':_0x415225[_0x2dc53a(0x366)]};}case _0x5db895[_0x2dc53a(0x365)]:{const _0x1f1055=_0x415225[_0x2dc53a(0x2ba)];switch(_0x1f1055['eventID']){case _0x35009e['CollaborationEvent'][_0x2dc53a(0x391)]:return{..._0x415225,'data':{..._0x1f1055,'data':(_0x3b920a=_0x1f1055[_0x2dc53a(0x32a)])==null?void 0x0:_0x3b920a['cs']},'cmd':_0x415225['cmd']};case _0x35009e[_0x2dc53a(0x499)]['CHANGESET_ACK']:return{..._0x415225,'data':{..._0x1f1055,'data':(_0x159f88=_0x1f1055[_0x2dc53a(0x2b6)])==null?void 0x0:_0x159f88['cs']},'cmd':_0x415225[_0x2dc53a(0x366)]};case _0x35009e['CollaborationEvent']['NEW_CHANGESETS']:return{..._0x415225,'data':{..._0x1f1055,'data':(_0x124df8=_0x1f1055['newCsEvent'])==null?void 0x0:_0x124df8['cs']},'cmd':_0x415225[_0x2dc53a(0x366)]};case _0x35009e[_0x2dc53a(0x499)][_0x2dc53a(0x2f1)]:return{..._0x415225,'data':{..._0x1f1055,'data':(_0x1a03ab=_0x1f1055['csRejEvent'])==null?void 0x0:_0x1a03ab['cs']},'cmd':_0x415225['cmd']};case _0x35009e[_0x2dc53a(0x499)][_0x2dc53a(0x2c4)]:return{..._0x415225,'data':{..._0x1f1055,'data':(_0x25bd25=_0x1f1055[_0x2dc53a(0x216)])==null?void 0x0:_0x25bd25['cs']},'cmd':_0x415225[_0x2dc53a(0x366)]};case _0x35009e['CollaborationEvent'][_0x2dc53a(0x30d)]:return{..._0x415225,'data':{..._0x1f1055,'data':_0x1f1055[_0x2dc53a(0x243)]},'cmd':_0x415225[_0x2dc53a(0x366)]};case _0x35009e[_0x2dc53a(0x499)][_0x2dc53a(0x4cf)]:return{..._0x415225,'data':{..._0x1f1055,'data':_0x1f1055[_0x2dc53a(0x4d5)]},'cmd':_0x415225[_0x2dc53a(0x366)]};case _0x35009e[_0x2dc53a(0x499)][_0x2dc53a(0x500)]:return{..._0x415225,'data':{..._0x1f1055,'data':_0x1f1055[_0x2dc53a(0x30e)]},'cmd':_0x415225[_0x2dc53a(0x366)]};case _0x35009e[_0x2dc53a(0x499)][_0x2dc53a(0x4e4)]:return{..._0x415225,'data':{..._0x1f1055,'data':_0x1f1055[_0x2dc53a(0x28c)]},'cmd':_0x415225[_0x2dc53a(0x366)]};case _0x35009e[_0x2dc53a(0x499)][_0x2dc53a(0x3f6)]:case _0x35009e[_0x2dc53a(0x499)]['LIVESHARE_OPERATION']:return{..._0x415225,'data':{..._0x1f1055,'data':_0x1f1055['liveShareOperation']},'cmd':_0x415225[_0x2dc53a(0x366)]};case _0x35009e[_0x2dc53a(0x499)][_0x2dc53a(0x24c)]:return{..._0x415225,'data':{..._0x1f1055,'data':_0x1f1055[_0x2dc53a(0x28c)]},'cmd':_0x415225['cmd']};case _0x35009e[_0x2dc53a(0x499)]['MSG_FOR_ERROR']:return{..._0x415225,'data':_0x1f1055,'cmd':_0x415225[_0x2dc53a(0x366)]};case _0x35009e[_0x2dc53a(0x499)]['COMMENT_UPDATE']:return{..._0x415225,'data':{..._0x1f1055,'data':_0x1f1055['commentUpdateEvent']},'cmd':_0x415225['cmd']};case _0x35009e[_0x2dc53a(0x499)][_0x2dc53a(0x35c)]:return{..._0x415225,'data':{..._0x1f1055,'data':_0x1f1055[_0x2dc53a(0x52f)]},'cmd':_0x415225['cmd']};case _0x35009e['CollaborationEvent'][_0x2dc53a(0x2ff)]:return{..._0x415225,'data':{..._0x1f1055,'data':_0x1f1055[_0x2dc53a(0x424)]},'cmd':_0x415225[_0x2dc53a(0x366)]};case _0x35009e['CollaborationEvent'][_0x2dc53a(0x397)]:return{..._0x415225,'data':{..._0x1f1055,'data':_0x1f1055[_0x2dc53a(0x355)]},'cmd':_0x415225[_0x2dc53a(0x366)]};default:return _0x415225;}}default:return _0x415225;}}function _0xea9c25(_0x4b3261){var _0x1342ba=_0x2229a0;switch(_0x4b3261[_0x1342ba(0x366)]){case _0x5db895['HEARTBEAT']:case _0x5db895['HELLO']:return JSON[_0x1342ba(0x418)]({'cmd':_0x4b3261[_0x1342ba(0x366)],'routeKey':_0x4b3261[_0x1342ba(0x300)]});case _0x5db895[_0x1342ba(0x433)]:{let _0x1bc114;switch(_0x4b3261['data']['eventID']){case _0x35009e[_0x1342ba(0x499)][_0x1342ba(0x30d)]:{_0x1bc114={'eventID':_0x35009e[_0x1342ba(0x499)][_0x1342ba(0x30d)],'updateCursorEvent':_0x4b3261['data'][_0x1342ba(0x214)]};break;}case _0x35009e[_0x1342ba(0x499)]['USERS_LEAVE']:{_0x1bc114={'eventID':_0x35009e[_0x1342ba(0x499)]['USERS_LEAVE'],'leaveEvent':_0x4b3261[_0x1342ba(0x214)][_0x1342ba(0x214)]};break;}case _0x35009e[_0x1342ba(0x499)][_0x1342ba(0x4cf)]:{_0x1bc114={'eventID':_0x35009e[_0x1342ba(0x499)][_0x1342ba(0x4cf)],'joinEvent':_0x4b3261['data']['data']};break;}case _0x35009e[_0x1342ba(0x499)][_0x1342ba(0x4e4)]:{_0x1bc114={'eventID':_0x35009e[_0x1342ba(0x499)][_0x1342ba(0x4e4)],'liveShareNewHost':_0x4b3261['data'][_0x1342ba(0x214)]};break;}case _0x35009e[_0x1342ba(0x499)][_0x1342ba(0x3dc)]:{_0x1bc114={'eventID':_0x35009e[_0x1342ba(0x499)][_0x1342ba(0x3dc)],'liveShareOperation':_0x4b3261[_0x1342ba(0x214)]['data']};break;}case _0x35009e[_0x1342ba(0x499)][_0x1342ba(0x24c)]:{_0x1bc114={'eventID':_0x35009e[_0x1342ba(0x499)][_0x1342ba(0x24c)],'liveShareTerminate':_0x4b3261[_0x1342ba(0x214)][_0x1342ba(0x214)]};break;}case _0x35009e[_0x1342ba(0x499)][_0x1342ba(0x2d5)]:{_0x1bc114={'eventID':_0x35009e['CollaborationEvent'][_0x1342ba(0x2d5)],'liveShareRequestHost':_0x4b3261[_0x1342ba(0x214)][_0x1342ba(0x214)]};break;}case _0x35009e[_0x1342ba(0x499)]['LIVESHARE_FETCH_OPERATIONS']:{_0x1bc114={'eventID':_0x35009e['CollaborationEvent'][_0x1342ba(0x3f6)]};break;}default:_0x1bc114={'eventID':_0x4b3261[_0x1342ba(0x214)]['eventID']};}return JSON[_0x1342ba(0x418)]({'cmd':_0x4b3261[_0x1342ba(0x366)],'routeKey':_0x4b3261[_0x1342ba(0x300)],'collaMsg':_0x1bc114});}case _0x5db895[_0x1342ba(0x2e8)]:return JSON[_0x1342ba(0x418)]({'cmd':_0x4b3261[_0x1342ba(0x366)],'routeKey':_0x4b3261['routeKey'],'joinReq':_0x4b3261[_0x1342ba(0x214)]});case _0x5db895[_0x1342ba(0x364)]:return JSON[_0x1342ba(0x418)]({'cmd':_0x4b3261[_0x1342ba(0x366)],'routeKey':_0x4b3261[_0x1342ba(0x300)],'leaveReq':_0x4b3261[_0x1342ba(0x214)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x3687ad=Object[_0x2229a0(0x330)],_0x2c3026=(_0x4bb9e7,_0x17272b,_0x449fce,_0x3d6684)=>{var _0x1782f5=_0x2229a0;for(var _0x1ff327=_0x3d6684>0x1?void 0x0:_0x3d6684?_0x3687ad(_0x17272b,_0x449fce):_0x17272b,_0x5f4029=_0x4bb9e7[_0x1782f5(0x316)]-0x1,_0x4219b0;_0x5f4029>=0x0;_0x5f4029--)(_0x4219b0=_0x4bb9e7[_0x5f4029])&&(_0x1ff327=_0x4219b0(_0x1ff327)||_0x1ff327);return _0x1ff327;},_0x383668=(_0x577159,_0x31d3a7)=>(_0x125a72,_0x2f17b2)=>_0x31d3a7(_0x125a72,_0x2f17b2,_0x577159);const _0xd4806f=_0x158513['createIdentifier']('univer-pro.collaboration-client-socket-service');function _0x2b79eb(_0x2d72ac,_0x5f2eac,_0x564e4f){var _0x41fe6b=_0x2229a0;return _0x2d72ac+'/'+_0x5f2eac+_0x41fe6b(0x4f6)+_0x564e4f+_0x41fe6b(0x2d8);}_0x5e3fa4[_0x2229a0(0x1e8)]=class extends _0x158513[_0x2229a0(0x422)]{constructor(_0x292865,_0x278a5f,_0x4aaddb,_0x2f6ec0,_0x39aaa1){var _0x55da14=_0x2229a0;super(),this[_0x55da14(0x315)]=_0x292865,this[_0x55da14(0x510)]=_0x278a5f,this[_0x55da14(0x24f)]=_0x4aaddb,this[_0x55da14(0x501)]=_0x2f6ec0,this[_0x55da14(0x1c7)]=_0x39aaa1;}[_0x2229a0(0x1f5)](_0x2b3886){var _0x3d2bb8=_0x2229a0;const _0x21570d=this[_0x3d2bb8(0x315)]['get'](_0x5b6221[_0x3d2bb8(0x354)]);if(!_0x21570d)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x224ecb=_0x21570d['createSocket'](_0x2b3886);if(!_0x224ecb)throw new Error(_0x3d2bb8(0x2e3));const _0x4aae5a=new _0x158513[(_0x3d2bb8(0x45d))](),_0x2bfce6=new _0x32f9ef['Subject']();_0x4aae5a[_0x3d2bb8(0x359)](_0x224ecb['close$'][_0x3d2bb8(0x206)](_0x5bad3d=>_0x2bfce6['next'](_0x5bad3d))),_0x4aae5a[_0x3d2bb8(0x359)](_0x158513['toDisposable'](()=>_0x2bfce6['complete']()));const _0x3145e7=new _0x32f9ef[(_0x3d2bb8(0x2e1))]();_0x4aae5a[_0x3d2bb8(0x359)](_0x224ecb[_0x3d2bb8(0x40c)][_0x3d2bb8(0x206)](_0x4257c2=>_0x3145e7['next'](_0x4257c2))),_0x4aae5a[_0x3d2bb8(0x359)](_0x158513[_0x3d2bb8(0x2e4)](()=>_0x3145e7['complete']()));const _0x6908df=new _0x32f9ef['Subject']();_0x4aae5a[_0x3d2bb8(0x359)](_0x224ecb[_0x3d2bb8(0x2d2)][_0x3d2bb8(0x206)](_0x5c1c47=>{var _0x4de5ae=_0x3d2bb8;const _0xf7204d=_0x9e4075(_0x5c1c47);_0x6908df[_0x4de5ae(0x393)](_0xf7204d);})),_0x4aae5a[_0x3d2bb8(0x359)](_0x158513[_0x3d2bb8(0x2e4)](()=>_0x6908df[_0x3d2bb8(0x45e)]()));let _0x5086a9;const _0x3370a3=()=>{var _0x59f7f4=_0x3d2bb8;_0x3145e7[_0x59f7f4(0x393)](new Event(_0x59f7f4(0x3ef))),_0x2bfce6[_0x59f7f4(0x393)](new Event(_0x59f7f4(0x3ef))),_0x5086a9['close']();};return _0x5086a9={'memberID':'','close$':_0x2bfce6[_0x3d2bb8(0x1d1)](),'error$':_0x3145e7[_0x3d2bb8(0x1d1)](),'open$':_0x224ecb[_0x3d2bb8(0x375)],'message$':_0x6908df[_0x3d2bb8(0x1d1)](),'send':_0x2d30b3=>{var _0x3b055a=_0x3d2bb8;if(_0x2d30b3['cmd']===_0x5db895[_0x3b055a(0x433)]){if(_0x2d30b3[_0x3b055a(0x214)][_0x3b055a(0x40a)]===_0x35009e[_0x3b055a(0x499)]['SUBMIT_CHANGESET']){this[_0x3b055a(0x1ce)](_0x5086a9,_0x2d30b3['data'])[_0x3b055a(0x3b2)](_0x1d3373=>{var _0x32ed61=_0x3b055a;this['_logService'][_0x32ed61(0x508)](_0x1d3373),_0x3370a3();});return;}if(_0x2d30b3[_0x3b055a(0x214)]['eventID']===_0x35009e[_0x3b055a(0x499)][_0x3b055a(0x503)]){const _0x4ef84f=_0x2d30b3['data'];this[_0x3b055a(0x2fa)](_0x4ef84f)['then'](_0x360aeb=>{var _0x282dee=_0x3b055a;_0x6908df[_0x282dee(0x393)]({'cmd':_0x5db895[_0x282dee(0x365)],'code':_0xaed6cc['OK'],'routeKey':_0x4ef84f[_0x282dee(0x214)]['unitID'],'routeType':'','data':{'eventID':_0x35009e['CollaborationEvent'][_0x282dee(0x1de)],'data':{'changesets':_0x360aeb}}});})[_0x3b055a(0x3b2)](_0x27af6c=>{var _0x2819c5=_0x3b055a;this[_0x2819c5(0x501)]['error'](_0x27af6c),_0x3370a3();});return;}}_0x224ecb['send'](_0xea9c25(_0x2d30b3));},'close':()=>{var _0x21877a=_0x3d2bb8;_0x224ecb[_0x21877a(0x43b)](),_0x4aae5a['dispose']();}},_0x5086a9;}async[_0x2229a0(0x1ce)](_0x304f67,_0xa55ce0){var _0x7ee7c9=_0x2229a0,_0xba5f11;const {unitType:_0x3d1514,unitID:_0x50652e,changeset:_0x5886df}=_0xa55ce0[_0x7ee7c9(0x214)],_0x22500f={'unitID':_0x50652e,'memberID':_0x304f67[_0x7ee7c9(0x398)],'type':_0x3d1514,'changeset':_0x35009e['parseChangesetToProtocol'](_0x5886df)},_0x162003=this['_configService'][_0x7ee7c9(0x247)](_0x5e0130),_0x3ec443=_0x2b79eb((_0xba5f11=_0x162003==null?void 0x0:_0x162003[_0x7ee7c9(0x4f5)])!=null?_0xba5f11:_0x3083bf,_0x3d1514,_0x50652e);try{await this[_0x7ee7c9(0x510)][_0x7ee7c9(0x3f4)](_0x3ec443,{'body':_0x22500f});}catch(_0x5b7ff4){throw this[_0x7ee7c9(0x501)]['error']('[CollaborationSession]',_0x7ee7c9(0x404)),_0x5b7ff4;}}async[_0x2229a0(0x2fa)](_0x3e925a){var _0xf17a21=_0x2229a0;const {unitID:_0xb6e52e,from:_0x31aae2,to:_0x1e205b,unitType:_0x39693c}=_0x3e925a['data'];return(await this[_0xf17a21(0x1c7)][_0xf17a21(0x3bc)]({'metadata':void 0x0},{'unitID':_0xb6e52e,'type':_0x39693c,'from':_0x31aae2,'to':_0x1e205b}))[_0xf17a21(0x25e)][_0xf17a21(0x1d8)](_0x4dfc2a=>((_0x4dfc2a['mutations']===null||_0x4dfc2a[_0xf17a21(0x3b3)]===void 0x0)&&(_0x4dfc2a['mutations']=[]),_0x4dfc2a));}},_0x5e3fa4['CollaborationSocketService']=_0x2c3026([_0x383668(0x0,_0x158513[_0x2229a0(0x1c1)](_0x158513[_0x2229a0(0x523)])),_0x383668(0x1,_0x158513[_0x2229a0(0x1c1)](_0x5b6221[_0x2229a0(0x1c8)])),_0x383668(0x2,_0x158513[_0x2229a0(0x4c2)]),_0x383668(0x3,_0x158513[_0x2229a0(0x2b8)]),_0x383668(0x4,_0x35009e[_0x2229a0(0x338)])],_0x5e3fa4[_0x2229a0(0x1e8)]);var _0x333744=Object['getOwnPropertyDescriptor'],_0x2b7ee1=(_0x546b6a,_0x468c5f,_0x23356d,_0x3341ea)=>{for(var _0xb5e068=_0x3341ea>0x1?void 0x0:_0x3341ea?_0x333744(_0x468c5f,_0x23356d):_0x468c5f,_0x3df6c8=_0x546b6a['length']-0x1,_0x31c1c2;_0x3df6c8>=0x0;_0x3df6c8--)(_0x31c1c2=_0x546b6a[_0x3df6c8])&&(_0xb5e068=_0x31c1c2(_0xb5e068)||_0xb5e068);return _0xb5e068;},_0x5aa2c0=(_0x2538b0,_0x4f8fb3)=>(_0x4efd6a,_0x4e2d23)=>_0x4f8fb3(_0x4efd6a,_0x4e2d23,_0x2538b0);_0x5e3fa4[_0x2229a0(0x3db)]=class extends _0x158513[_0x2229a0(0x422)]{constructor(_0x22fe7e,_0xf979f0,_0x4bb443,_0x2536f6,_0x1ed162,_0x5bed19){var _0x41cca1=_0x2229a0;super(),_0x4b59b5(this,'_socket$',new _0x32f9ef[(_0x41cca1(0x3ce))](void 0x0)),_0x4b59b5(this,_0x41cca1(0x47c),this['_socket$'][_0x41cca1(0x1d1)]()),_0x4b59b5(this,'_candidateSocket',null),_0x4b59b5(this,_0x41cca1(0x3d8),new Map()),_0x4b59b5(this,_0x41cca1(0x2fc),new _0x32f9ef[(_0x41cca1(0x3ce))](_0x366b35['IDLE'])),_0x4b59b5(this,_0x41cca1(0x2a3),this[_0x41cca1(0x2fc)][_0x41cca1(0x1d1)]()),_0x4b59b5(this,_0x41cca1(0x37c),!0x1),_0x4b59b5(this,_0x41cca1(0x295)),_0x4b59b5(this,_0x41cca1(0x23e),0x0),_0x4b59b5(this,'_sendHeartbeatTimer'),_0x4b59b5(this,'_timeoutTimer'),(this[_0x41cca1(0x315)]=_0x22fe7e,this['_logService']=_0xf979f0,this[_0x41cca1(0x24f)]=_0x4bb443,this['_socketService']=_0x2536f6,this['_collaborationUIEventService']=_0x1ed162,this[_0x41cca1(0x1cc)]=_0x5bed19,this[_0x41cca1(0x23d)]());}get[_0x2229a0(0x530)](){var _0x2598d5=_0x2229a0;return this[_0x2598d5(0x3c1)]['getValue']();}[_0x2229a0(0x23d)](){var _0x3d26b9=_0x2229a0;this[_0x3d26b9(0x1cc)]&&this['disposeWithMe'](this[_0x3d26b9(0x1cc)][_0x3d26b9(0x48c)][_0x3d26b9(0x206)](_0x2b912d=>{var _0xa5b85=_0x3d26b9;_0x2b912d&&!this[_0xa5b85(0x530)]&&this[_0xa5b85(0x537)](),_0x2b912d||this[_0xa5b85(0x401)]();}));}[_0x2229a0(0x484)](){var _0x31fa44=_0x2229a0;super['dispose'](),this['_clearRetryConnectingTimer'](),this[_0x31fa44(0x3a0)](),this[_0x31fa44(0x2ce)](),this[_0x31fa44(0x3d8)]['forEach'](_0x2d608b=>_0x2d608b[_0x31fa44(0x484)]()),this['_sessions'][_0x31fa44(0x326)](),this[_0x31fa44(0x2fc)][_0x31fa44(0x45e)]();}async[_0x2229a0(0x264)](_0x370ec2){var _0x5aa677=_0x2229a0;if(this[_0x5aa677(0x3d8)][_0x5aa677(0x202)](_0x370ec2))return this[_0x5aa677(0x3d8)][_0x5aa677(0x444)](_0x370ec2);this[_0x5aa677(0x336)]();const _0x49d72a=this[_0x5aa677(0x315)][_0x5aa677(0x49c)](_0x5e3fa4[_0x5aa677(0x46d)],_0x370ec2,this[_0x5aa677(0x3c1)][_0x5aa677(0x1d1)]());return this[_0x5aa677(0x3d8)][_0x5aa677(0x3a6)](_0x370ec2,_0x49d72a),_0x49d72a;}[_0x2229a0(0x1d5)](_0x4ac624){var _0x18b7dc=_0x2229a0,_0x27d9be;const _0x44a37b=this[_0x18b7dc(0x3d8)][_0x18b7dc(0x444)](_0x4ac624);_0x44a37b&&(this[_0x18b7dc(0x3d8)]['delete'](_0x4ac624),_0x44a37b[_0x18b7dc(0x43b)]()),this[_0x18b7dc(0x3d8)][_0x18b7dc(0x4f0)]||(_0x27d9be=this[_0x18b7dc(0x530)])==null||_0x27d9be[_0x18b7dc(0x43b)]();}[_0x2229a0(0x537)](){var _0x58c90c=_0x2229a0;this['_retryCount']=0x0,this[_0x58c90c(0x258)](),this[_0x58c90c(0x1a3)]();}['_clearRetryConnectingTimer'](){var _0xd7e3ba=_0x2229a0;this[_0xd7e3ba(0x295)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0xd7e3ba(0x295)]=null);}async[_0x2229a0(0x46a)](){var _0xc94f38=_0x2229a0,_0x317246;const _0xdfec6f=this[_0xc94f38(0x24f)][_0xc94f38(0x247)](_0x5e0130),_0x248cb4=(_0x317246=_0xdfec6f==null?void 0x0:_0xdfec6f[_0xc94f38(0x342)])!=null?_0x317246:_0x46c157,_0x43a6e2=await this[_0xc94f38(0x241)][_0xc94f38(0x42e)](_0x248cb4);return this[_0xc94f38(0x319)]=_0x43a6e2,_0x43a6e2;}async['_tryEnsureSocket'](){var _0x4dbde4=_0x2229a0,_0x211ab6,_0x1c9bda;try{const _0x4c1941=(_0x1c9bda=(_0x211ab6=this[_0x4dbde4(0x530)])!=null?_0x211ab6:this[_0x4dbde4(0x319)])!=null?_0x1c9bda:await this[_0x4dbde4(0x46a)]();if(_0x4c1941){const _0x224626=_0x4c1941[_0x4dbde4(0x535)];_0x4c1941['send']=_0x341af3=>(this[_0x4dbde4(0x270)](),_0x224626[_0x4dbde4(0x52e)](_0x4c1941,[_0x341af3])),_0x4c1941[_0x4dbde4(0x2d2)][_0x4dbde4(0x206)](_0x24df6f=>this[_0x4dbde4(0x21f)](_0x4c1941,_0x24df6f)),_0x4c1941[_0x4dbde4(0x40c)][_0x4dbde4(0x3fa)](_0x16efa3[_0x4dbde4(0x23b)](0x1))[_0x4dbde4(0x206)](_0x572519=>this['_logService'][_0x4dbde4(0x508)]('[CollaborationSessionService]:\x20socket\x20error',_0x572519)),_0x4c1941['open$'][_0x4dbde4(0x3fa)](_0x16efa3[_0x4dbde4(0x23b)](0x1))['subscribe'](()=>{var _0x51d197=_0x4dbde4;this[_0x51d197(0x395)](_0x4c1941);}),_0x4c1941[_0x4dbde4(0x346)]['pipe'](_0x16efa3[_0x4dbde4(0x23b)](0x1))[_0x4dbde4(0x206)](_0x5ed01c=>{var _0x21e6d8=_0x4dbde4;this[_0x21e6d8(0x501)][_0x21e6d8(0x513)](_0x21e6d8(0x3b1),_0x21e6d8(0x45f),_0x5ed01c),this['_onConnectionFailed']();});}}catch(_0x1c9070){this[_0x4dbde4(0x501)]['error'](_0x1c9070),this[_0x4dbde4(0x262)]();}}['_onConnectionOpen'](_0x3fc7bd){var _0x332f58=_0x2229a0;this[_0x332f58(0x501)][_0x332f58(0x513)](_0x332f58(0x3b1),_0x332f58(0x28d)),_0x3fc7bd[_0x332f58(0x535)]({'cmd':_0x5db895[_0x332f58(0x306)]}),this[_0x332f58(0x270)]();}['_onOffline'](){var _0x328852=_0x2229a0;this[_0x328852(0x37c)]=!0x1,this[_0x328852(0x319)]=null,this['_status$'][_0x328852(0x393)](_0x366b35[_0x328852(0x3d1)]),this[_0x328852(0x3c1)][_0x328852(0x393)](null),this[_0x328852(0x3a0)](),this[_0x328852(0x2ce)]();}['_onConnectionFailed'](){var _0x2798e7=_0x2229a0,_0x11625a;this[_0x2798e7(0x401)](),this[_0x2798e7(0x23e)]<((_0x11625a=this['_configService'][_0x2798e7(0x247)](_0x2a69c3))!=null?_0x11625a:0x3)?(this[_0x2798e7(0x388)][_0x2798e7(0x4a6)]({'id':_0x306c72[_0x2798e7(0x332)]}),this['_tryReconnect']()):this['_collaborationUIEventService'][_0x2798e7(0x4a6)]({'id':_0x306c72['SOCKET_FAILED']});}[_0x2229a0(0x1a3)](){var _0x31c424=_0x2229a0,_0x5a8704;const _0x1bf76a=this[_0x31c424(0x23e)],_0x597534=this[_0x31c424(0x24f)][_0x31c424(0x247)](_0x5e0130),_0x1e8a1a=_0x1bf76a===0x0?0x0:((_0x5a8704=_0x597534==null?void 0x0:_0x597534['retryConnectingInterval'])!=null?_0x5a8704:0x4e20)*0x2**_0x1bf76a;this['_retryConnectingTimer']=setTimeout(()=>{var _0x35551b=_0x31c424;clearTimeout(this['_retryConnectingTimer']),this[_0x35551b(0x295)]=null,this[_0x35551b(0x336)]();},_0x1e8a1a),this[_0x31c424(0x23e)]+=0x1;}[_0x2229a0(0x21f)](_0x52e0ea,_0x1da9f5){var _0x437df9=_0x2229a0;const {cmd:_0x2feadb}=_0x1da9f5;_0x2feadb===_0x5db895[_0x437df9(0x306)]&&!this[_0x437df9(0x37c)]&&(_0x52e0ea[_0x437df9(0x398)]=_0x1da9f5[_0x437df9(0x214)][_0x437df9(0x398)],this[_0x437df9(0x3c1)][_0x437df9(0x393)](_0x52e0ea),this[_0x437df9(0x2fc)][_0x437df9(0x393)](_0x366b35[_0x437df9(0x2e6)]),this['_socketReady']=!0x0,this[_0x437df9(0x319)]=null),_0x2feadb===_0x5db895[_0x437df9(0x1ac)]&&this[_0x437df9(0x3a0)](),this[_0x437df9(0x270)]();}['_rescheduleHeartbeat'](){var _0xca7a84=_0x2229a0,_0x234eb2;this[_0xca7a84(0x2ce)](),this[_0xca7a84(0x4e1)]=setTimeout(()=>this[_0xca7a84(0x2f5)](),(_0x234eb2=this[_0xca7a84(0x24f)][_0xca7a84(0x247)](_0x50386d))!=null?_0x234eb2:0x7530);}['_sendHeartbeat'](){var _0x558d33=_0x2229a0;this[_0x558d33(0x530)][_0x558d33(0x535)]({'cmd':_0x5db895[_0x558d33(0x1ac)]}),this[_0x558d33(0x1ad)]();}[_0x2229a0(0x1ad)](){var _0x39cb24=_0x2229a0,_0x39f0c6;this[_0x39cb24(0x340)]=setTimeout(()=>this[_0x39cb24(0x262)](),(_0x39f0c6=this[_0x39cb24(0x24f)][_0x39cb24(0x247)](_0x3bd8ba))!=null?_0x39f0c6:0x4e20);}['_clearHeartbeatTimer'](){var _0x4e39d6=_0x2229a0;this[_0x4e39d6(0x4e1)]!=null&&(clearTimeout(this[_0x4e39d6(0x4e1)]),this[_0x4e39d6(0x4e1)]=null);}[_0x2229a0(0x3a0)](){var _0x1d11d5=_0x2229a0;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x1d11d5(0x340)]),this[_0x1d11d5(0x340)]=null);}},_0x5e3fa4[_0x2229a0(0x3db)]=_0x2b7ee1([_0x5aa2c0(0x0,_0x158513[_0x2229a0(0x1c1)](_0x158513[_0x2229a0(0x523)])),_0x5aa2c0(0x1,_0x158513[_0x2229a0(0x2b8)]),_0x5aa2c0(0x2,_0x158513['IConfigService']),_0x5aa2c0(0x3,_0xd4806f),_0x5aa2c0(0x4,_0x158513[_0x2229a0(0x1c1)](_0x1a9793)),_0x5aa2c0(0x5,_0x158513['Optional'](_0x215e06))],_0x5e3fa4[_0x2229a0(0x3db)]);var _0x5be50e=Object[_0x2229a0(0x330)],_0x5c3685=(_0x5a9ed7,_0x4960b7,_0x2211b3,_0x29fea3)=>{var _0x469e44=_0x2229a0;for(var _0x504900=_0x29fea3>0x1?void 0x0:_0x29fea3?_0x5be50e(_0x4960b7,_0x2211b3):_0x4960b7,_0x1c41ab=_0x5a9ed7[_0x469e44(0x316)]-0x1,_0x39c5c8;_0x1c41ab>=0x0;_0x1c41ab--)(_0x39c5c8=_0x5a9ed7[_0x1c41ab])&&(_0x504900=_0x39c5c8(_0x504900)||_0x504900);return _0x504900;},_0x59a335=(_0x578055,_0x2cccf4)=>(_0x23014e,_0xb16280)=>_0x2cccf4(_0x23014e,_0xb16280,_0x578055);_0x5e3fa4[_0x2229a0(0x29b)]=class extends _0x158513[_0x2229a0(0x42c)]{constructor(_0x3a0d9f,_0x3d0623,_0x302fff,_0x1f4fee){var _0x304f84=_0x2229a0,_0x9abf6d;super(),_0x4b59b5(this,_0x304f84(0x46f),new Map()),_0x4b59b5(this,'_entityInit$',new _0x32f9ef[(_0x304f84(0x2e1))]()),_0x4b59b5(this,'entityInit$',this[_0x304f84(0x213)][_0x304f84(0x1d1)]()),(this[_0x304f84(0x315)]=_0x3a0d9f,this[_0x304f84(0x3cc)]=_0x3d0623,this['_configService']=_0x302fff,this[_0x304f84(0x1ae)]=_0x1f4fee,((_0x9abf6d=this[_0x304f84(0x24f)][_0x304f84(0x247)](_0x5e0130))==null?void 0x0:_0x9abf6d['enableCollaboration'])!==!0x1&&this[_0x304f84(0x1db)]());}[_0x2229a0(0x484)](){var _0x4046ed=_0x2229a0;super[_0x4046ed(0x484)](),this[_0x4046ed(0x46f)][_0x4046ed(0x45b)](_0x5542b0=>_0x5542b0[_0x4046ed(0x484)]()),this[_0x4046ed(0x46f)][_0x4046ed(0x326)]();}[_0x2229a0(0x238)](_0x442737){var _0x3ad6ca=_0x2229a0,_0x577642;return(_0x577642=this[_0x3ad6ca(0x46f)][_0x3ad6ca(0x444)](_0x442737))!=null?_0x577642:null;}[_0x2229a0(0x27e)](_0x525b23){var _0x2eeef0=_0x2229a0;const _0x578128=this[_0x2eeef0(0x238)](_0x525b23);return _0x578128?_0x32f9ef['of'](_0x578128):this[_0x2eeef0(0x213)][_0x2eeef0(0x3fa)](_0x16efa3[_0x2eeef0(0x51e)](_0x2feb2e=>_0x2feb2e['unitID']===_0x525b23));}['readyForCollab'](_0x4687a7){var _0x28f90a=_0x2229a0;return _0x32f9ef[_0x28f90a(0x3fd)](this['getCollabEntity$'](_0x4687a7)[_0x28f90a(0x3fa)](_0x16efa3[_0x28f90a(0x1d8)](()=>{})));}[_0x2229a0(0x1db)](){var _0x327ce4=_0x2229a0;this[_0x327ce4(0x1ae)][_0x327ce4(0x426)](_0x158513[_0x327ce4(0x39a)]['UNIVER_SHEET'])[_0x327ce4(0x3fa)](_0x32f9ef[_0x327ce4(0x251)](this['dispose$']),_0x16efa3[_0x327ce4(0x1b9)](0x10))[_0x327ce4(0x206)](async _0x22fd72=>{var _0x54a0d9=_0x327ce4;const _0x1262bc=_0x22fd72['getUnitId'](),_0x26d6a3=await this[_0x54a0d9(0x2d3)](_0x1262bc,_0x24c96d['UNIVER_SHEET']);this[_0x54a0d9(0x46f)][_0x54a0d9(0x3a6)](_0x1262bc,_0x26d6a3);}),this[_0x327ce4(0x1ae)]['getTypeOfUnitAdded$'](_0x158513[_0x327ce4(0x39a)][_0x327ce4(0x275)])[_0x327ce4(0x3fa)](_0x32f9ef[_0x327ce4(0x251)](this[_0x327ce4(0x4ce)]),_0x16efa3[_0x327ce4(0x1b9)](0x10))[_0x327ce4(0x3fa)](_0x16efa3[_0x327ce4(0x51e)](_0x14d8bd=>!_0x14d8bd['getUnitId']()[_0x327ce4(0x3e4)]('__')))[_0x327ce4(0x206)](async _0x1d6f0e=>{var _0x3ffa74=_0x327ce4;const _0x4ed926=_0x1d6f0e['getUnitId'](),_0xb85e25=await this[_0x3ffa74(0x2d3)](_0x4ed926,_0x24c96d[_0x3ffa74(0x275)]);this[_0x3ffa74(0x46f)][_0x3ffa74(0x3a6)](_0x4ed926,_0xb85e25);}),_0x32f9ef[_0x327ce4(0x47e)](this['_univerInstanceService'][_0x327ce4(0x1e1)](_0x158513[_0x327ce4(0x39a)][_0x327ce4(0x394)]),this[_0x327ce4(0x1ae)][_0x327ce4(0x1e1)](_0x158513[_0x327ce4(0x39a)][_0x327ce4(0x275)]))['pipe'](_0x32f9ef['takeUntil'](this['dispose$']))['subscribe'](_0x3fd3b9=>{var _0x5e500d=_0x327ce4;const _0x163086=_0x3fd3b9['getUnitId'](),_0x269cba=this[_0x5e500d(0x46f)][_0x5e500d(0x444)](_0x163086);_0x269cba&&(_0x269cba[_0x5e500d(0x484)](),this['_entities'][_0x5e500d(0x420)](_0x163086));});}async[_0x2229a0(0x2d3)](_0x3efbab,_0x43f1e4){var _0x17e7c1=_0x2229a0;const _0x58e43d=await this[_0x17e7c1(0x3cc)][_0x17e7c1(0x264)](_0x3efbab),_0x10102a=this[_0x17e7c1(0x315)][_0x17e7c1(0x49c)](this[_0x17e7c1(0x4d8)](_0x43f1e4),_0x3efbab,_0x43f1e4,_0x58e43d);return await _0x10102a[_0x17e7c1(0x222)](),this[_0x17e7c1(0x213)][_0x17e7c1(0x393)](_0x10102a),_0x10102a;}[_0x2229a0(0x4d8)](_0x323e33){var _0x464874=_0x2229a0;switch(_0x323e33){case _0x24c96d[_0x464874(0x275)]:return _0x5e3fa4['DocCollaborationEntity'];case _0x24c96d['UNIVER_SHEET']:return _0x5e3fa4['SheetCollaborationEntity'];default:throw new Error(_0x464874(0x2ac)+_0x323e33);}}},_0x5e3fa4['CollaborationController']=_0x5c3685([_0x59a335(0x0,_0x158513['Inject'](_0x158513[_0x2229a0(0x523)])),_0x59a335(0x1,_0x158513['Inject'](_0x5e3fa4['CollaborationSessionService'])),_0x59a335(0x2,_0x158513[_0x2229a0(0x4c2)]),_0x59a335(0x3,_0x158513[_0x2229a0(0x4ad)])],_0x5e3fa4[_0x2229a0(0x29b)]);var _0x7403dc=Object[_0x2229a0(0x330)],_0x5a37fe=(_0x34f0b6,_0x2e586f,_0x2a8898,_0x3f0856)=>{var _0x598cf8=_0x2229a0;for(var _0x40cb53=_0x3f0856>0x1?void 0x0:_0x3f0856?_0x7403dc(_0x2e586f,_0x2a8898):_0x2e586f,_0x2cba79=_0x34f0b6[_0x598cf8(0x316)]-0x1,_0x5b1912;_0x2cba79>=0x0;_0x2cba79--)(_0x5b1912=_0x34f0b6[_0x2cba79])&&(_0x40cb53=_0x5b1912(_0x40cb53)||_0x40cb53);return _0x40cb53;},_0x81f59=(_0x22a5f3,_0x384ea5)=>(_0x1a07f1,_0x37195f)=>_0x384ea5(_0x1a07f1,_0x37195f,_0x22a5f3);const _0x212335='DEFAULT_FILE_NAME',_0x42aa19=_0x2229a0(0x32f);let _0x370f44=class extends _0x158513['Disposable']{constructor(_0x43898a,_0x52f801){var _0x38f47e=_0x2229a0;super(),this[_0x38f47e(0x1ae)]=_0x43898a,this['_configService']=_0x52f801,this[_0x38f47e(0x1db)]();}[_0x2229a0(0x1db)](){var _0x1f851c=_0x2229a0;this[_0x1f851c(0x2a6)](this[_0x1f851c(0x1ae)][_0x1f851c(0x4de)][_0x1f851c(0x206)](()=>{var _0x37ec29=_0x1f851c,_0x1fcdd5;const _0x478d7b=this[_0x37ec29(0x1ae)][_0x37ec29(0x40e)]();let _0x3d8bbf=(_0x1fcdd5=this['_configService'][_0x37ec29(0x247)](_0x212335))!=null?_0x1fcdd5:_0x42aa19;_0x478d7b instanceof _0x158513['Workbook']&&(_0x3d8bbf=_0x478d7b['name']),document[_0x37ec29(0x465)]=_0x3d8bbf;}));}};_0x370f44=_0x5a37fe([_0x81f59(0x0,_0x158513[_0x2229a0(0x4ad)]),_0x81f59(0x1,_0x158513['IConfigService'])],_0x370f44);var _0x228baa=Object['getOwnPropertyDescriptor'],_0x4dd02b=(_0x3bcff0,_0x2041ff,_0x4bb0ee,_0x379883)=>{var _0x44969c=_0x2229a0;for(var _0x353d1f=_0x379883>0x1?void 0x0:_0x379883?_0x228baa(_0x2041ff,_0x4bb0ee):_0x2041ff,_0x15408d=_0x3bcff0[_0x44969c(0x316)]-0x1,_0xbbce96;_0x15408d>=0x0;_0x15408d--)(_0xbbce96=_0x3bcff0[_0x15408d])&&(_0x353d1f=_0xbbce96(_0x353d1f)||_0x353d1f);return _0x353d1f;},_0x5871e2=(_0x18ba7a,_0x506a23)=>(_0x281523,_0x5014ad)=>_0x506a23(_0x281523,_0x5014ad,_0x18ba7a);let _0x4c5a49=class{constructor(_0x366941,_0x377ba5,_0x161487){var _0x71fcad=_0x2229a0;this[_0x71fcad(0x24f)]=_0x366941,this[_0x71fcad(0x510)]=_0x377ba5,this[_0x71fcad(0x4c8)]=_0x161487,this['init']();}[_0x2229a0(0x222)](){var _0x1e7587=_0x2229a0;this[_0x1e7587(0x510)][_0x1e7587(0x43a)]({'priority':0x1,'interceptor':(_0x17d648,_0xf81591)=>_0xf81591(_0x17d648)[_0x1e7587(0x3fa)](_0x32f9ef[_0x1e7587(0x254)](async _0x1d09fa=>{var _0x32c9e4=_0x1e7587;const _0x5ac92a=_0x1d09fa;if(_0x5ac92a[_0x32c9e4(0x2e2)]===0x191){if(typeof window>'u')throw new Error(_0x32c9e4(0x50b));if(window[_0x32c9e4(0x3a9)](this['localeService']['t'](_0x32c9e4(0x432)))){const _0x4cf0c4=window['encodeURIComponent'](window[_0x32c9e4(0x429)][_0x32c9e4(0x3a4)]);window[_0x32c9e4(0x429)][_0x32c9e4(0x3a4)]=this['_getLoginPath']()+_0x32c9e4(0x303)+_0x4cf0c4;}}return _0x5ac92a;}))});}['_getLoginPath'](){var _0x1bf67c=_0x2229a0,_0x23d1ec;const _0x18ed1a=this[_0x1bf67c(0x24f)]['getConfig'](_0x5e0130);return(_0x23d1ec=_0x18ed1a==null?void 0x0:_0x18ed1a[_0x1bf67c(0x45c)])!=null?_0x23d1ec:_0x5868b9;}};_0x4c5a49=_0x4dd02b([_0x5871e2(0x0,_0x158513[_0x2229a0(0x4c2)]),_0x5871e2(0x1,_0x158513[_0x2229a0(0x1c1)](_0x5b6221[_0x2229a0(0x1c8)])),_0x5871e2(0x2,_0x158513[_0x2229a0(0x1c1)](_0x158513[_0x2229a0(0x402)]))],_0x4c5a49);var _0x6a556b=Object[_0x2229a0(0x330)],_0x5dadef=(_0x8223c0,_0x4e0d96,_0x38e7f1,_0x328602)=>{var _0x5d31c5=_0x2229a0;for(var _0x8359c=_0x328602>0x1?void 0x0:_0x328602?_0x6a556b(_0x4e0d96,_0x38e7f1):_0x4e0d96,_0x4c43b8=_0x8223c0[_0x5d31c5(0x316)]-0x1,_0x4cc56c;_0x4c43b8>=0x0;_0x4c43b8--)(_0x4cc56c=_0x8223c0[_0x4c43b8])&&(_0x8359c=_0x4cc56c(_0x8359c)||_0x8359c);return _0x8359c;},_0x55fb05=(_0x167737,_0x998ef7)=>(_0x4c7437,_0x2639d1)=>_0x998ef7(_0x4c7437,_0x2639d1,_0x167737);const _0x367c79=_0x2229a0(0x4fb);_0x5e3fa4['AuthzIoHttpService']=class extends _0x158513[_0x2229a0(0x422)]{constructor(_0x2fe6f8,_0x11d5e1){var _0x5e6f7a=_0x2229a0;super(),this['_HTTPService']=_0x2fe6f8,this[_0x5e6f7a(0x24f)]=_0x11d5e1,this[_0x5e6f7a(0x1d0)]();}[_0x2229a0(0x1d0)](){var _0x71987b=_0x2229a0;const _0x4b9596=this;this[_0x71987b(0x2a6)](this[_0x71987b(0x49d)][_0x71987b(0x43a)]({'priority':0x3e7,'interceptor':_0x5b6221[_0x71987b(0x4a2)]({'isMatch'(_0x2aef58){var _0x44e06d=_0x71987b,_0x38d1f4;if(_0x2aef58['method']===_0x44e06d(0x37b)&&((_0x38d1f4=_0x2aef58[_0x44e06d(0x209)])!=null&&_0x38d1f4[_0x44e06d(0x341)])){const {objectID:_0x44eacd,objectType:_0x18e5eb}=_0x2aef58[_0x44e06d(0x209)][_0x44e06d(0x341)]||{};if(!_0x44eacd||_0x18e5eb===void 0x0)return!0x1;const _0x2444b9=_0x4b9596[_0x44e06d(0x50f)]()+'/'+_0x18e5eb+_0x44e06d(0x367)+_0x44eacd+_0x44e06d(0x1ec);if(_0x2aef58['url']===_0x2444b9)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2cc569){var _0xe9774f=_0x71987b,_0x308da2;return(_0x308da2=_0x2cc569[_0xe9774f(0x209)])==null?void 0x0:_0x308da2[_0xe9774f(0x341)];},'mergeParamsToRequest'(_0xfa1441,_0x1fdf44){var _0x44bff3=_0x71987b;const _0x19f00a=_0x4b9596[_0x44bff3(0x50f)]()+_0x44bff3(0x31e),_0x4a48fe=_0xfa1441['reduce']((_0x4eec8e,_0x52ba3a)=>{var _0x590cd6=_0x44bff3;const {unitID:_0x1ec604,objectID:_0x2ed14a,objectType:_0x7e4aa0,actions:_0xe71021}=_0x52ba3a;return _0x4eec8e[_0x1ec604]||(_0x4eec8e[_0x1ec604]={}),_0x4eec8e[_0x1ec604][_0x2ed14a]||(_0x4eec8e[_0x1ec604][_0x2ed14a]={'objectID':_0x2ed14a,'objectType':_0x7e4aa0,'actions':[]}),_0x4eec8e[_0x1ec604][_0x2ed14a][_0x590cd6(0x311)][_0x590cd6(0x4a3)](..._0xe71021),_0x4eec8e;},{}),_0x2ebe89=[];for(const _0x3f7059 in _0x4a48fe)for(const _0x384d63 in _0x4a48fe[_0x3f7059]){const {actions:_0x5197fb,objectType:_0x266124}=_0x4a48fe[_0x3f7059][_0x384d63],_0x15cbff=[...new Set(_0x5197fb)];_0x2ebe89[_0x44bff3(0x4a3)]({'unitID':_0x3f7059,'objectID':_0x384d63,'objectType':_0x266124,'actions':_0x15cbff});}return new _0x5b6221[(_0x44bff3(0x268))](_0x44bff3(0x37b),_0x19f00a,{'headers':_0x1fdf44[_0x44bff3(0x44b)],'withCredentials':_0x1fdf44['withCredentials'],'responseType':_0x1fdf44[_0x44bff3(0x3ad)],'body':{'requests':_0x2ebe89}});}},{'distributeResult'(_0x55c496,_0x533910){var _0xcbb353=_0x71987b;const {objectActions:_0x49ff58}=_0x55c496;return _0x533910[_0xcbb353(0x1d8)](_0x39fb1d=>{var _0x19e332=_0xcbb353;const {unitID:_0x19c7c3,objectID:_0x55eb1b,actions:_0x351ee4}=_0x39fb1d,_0x310de8=_0x49ff58[_0x19e332(0x428)](_0x2f378a=>_0x2f378a[_0x19e332(0x350)]===_0x19c7c3&&_0x2f378a[_0x19e332(0x250)]===_0x55eb1b),_0x40cc2d=_0x351ee4['map'](_0x413738=>_0x310de8==null?void 0x0:_0x310de8['actions'][_0x19e332(0x428)](_0x4a1cd4=>_0x4a1cd4[_0x19e332(0x242)]===_0x413738))['filter'](_0x1bae7b=>!!_0x1bae7b);return{'config':_0x39fb1d,'result':{'actions':_0x40cc2d,'error':_0x55c496['error']}};});}})}));}[_0x2229a0(0x50f)](){var _0x3be82d=_0x2229a0,_0x4ff433;const _0x293688=this[_0x3be82d(0x24f)][_0x3be82d(0x247)](_0x5e0130);return(_0x4ff433=_0x293688==null?void 0x0:_0x293688['authzUrl'])!=null?_0x4ff433:_0x367c79;}async['create'](_0x5c03c5){var _0x2899cc=_0x2229a0;const _0x580848=this[_0x2899cc(0x50f)]()+'/'+_0x5c03c5[_0x2899cc(0x2bd)]+_0x2899cc(0x1e9);return(await this[_0x2899cc(0x49d)][_0x2899cc(0x3f4)](_0x580848,{'body':_0x5c03c5}))[_0x2899cc(0x341)][_0x2899cc(0x250)]||'';}async['list'](_0xe4bf87){var _0x1ab69e=_0x2229a0;const _0x62d611=this['_getAPIPrefixPath']()+_0x1ab69e(0x22e);return(await this[_0x1ab69e(0x49d)][_0x1ab69e(0x3f4)](_0x62d611,{'body':_0xe4bf87}))[_0x1ab69e(0x341)][_0x1ab69e(0x1f7)];}async['update'](_0x229bec){var _0x187d14=_0x2229a0,_0x186c96,_0x1ffeb7;const _0x48ac1e=this[_0x187d14(0x50f)]()+'/'+_0x229bec['objectType']+_0x187d14(0x367)+_0x229bec['objectID'],_0x64cec2=await this[_0x187d14(0x49d)][_0x187d14(0x4d0)](_0x48ac1e,{'body':_0x229bec});if(((_0x1ffeb7=(_0x186c96=_0x64cec2==null?void 0x0:_0x64cec2[_0x187d14(0x341)])==null?void 0x0:_0x186c96[_0x187d14(0x508)])==null?void 0x0:_0x1ffeb7['code'])!==0x1)throw new Error(_0x187d14(0x2c5));}async[_0x2229a0(0x267)](_0x441722){var _0x1bddc2=_0x2229a0;const _0x572c20=this['_getAPIPrefixPath']()+'/'+_0x441722[_0x1bddc2(0x2bd)]+_0x1bddc2(0x367)+_0x441722['objectID']+_0x1bddc2(0x1ec);return(await this[_0x1bddc2(0x49d)][_0x1bddc2(0x3f4)](_0x572c20,{'body':_0x441722}))[_0x1bddc2(0x341)][_0x1bddc2(0x311)];}async[_0x2229a0(0x47f)](_0x104c97){var _0xe60a=_0x2229a0;const _0x54057e=this[_0xe60a(0x50f)]()+_0xe60a(0x31e);return(await this['_HTTPService']['post'](_0x54057e,{'body':{'requests':_0x104c97}}))[_0xe60a(0x341)][_0xe60a(0x21c)];}async[_0x2229a0(0x228)](_0x2faac8){var _0x44abb6=_0x2229a0;const _0x38bda6=this['_getAPIPrefixPath']()+'/'+_0x2faac8['objectType']+_0x44abb6(0x381),_0x2f54af=await this['_HTTPService'][_0x44abb6(0x3f4)](_0x38bda6,{'body':_0x2faac8});return{'roles':_0x2f54af[_0x44abb6(0x341)][_0x44abb6(0x274)],'actions':_0x2f54af[_0x44abb6(0x341)]['actions']};}async['deleteCollaborator'](_0x38a817){var _0x2de49f=_0x2229a0;const _0x42acc4=this[_0x2de49f(0x50f)]()+'/collaborator';await this[_0x2de49f(0x49d)]['delete'](_0x42acc4,{'params':{'collaboratorID':_0x38a817[_0x2de49f(0x2cd)],'objectID':_0x38a817['objectID'],'unitID':_0x38a817[_0x2de49f(0x350)]}});}async[_0x2229a0(0x410)](_0x522bba){var _0x49842d=_0x2229a0;const _0x209ca6=this['_getAPIPrefixPath']()+_0x49842d(0x507);await this[_0x49842d(0x49d)][_0x49842d(0x3b0)](_0x209ca6,{'body':_0x522bba});}async[_0x2229a0(0x2d6)](_0x46fdbf){var _0x9f31d9=_0x2229a0;const _0x57bfef=this[_0x9f31d9(0x50f)]()+_0x9f31d9(0x507);await this[_0x9f31d9(0x49d)][_0x9f31d9(0x3f4)](_0x57bfef,{'body':_0x46fdbf});}async[_0x2229a0(0x22d)](_0x7e51c){var _0x2c31a9=_0x2229a0;const _0x5195ab=this[_0x2c31a9(0x50f)]()+'/collaborator';return(await this[_0x2c31a9(0x49d)]['get'](_0x5195ab,{'params':{'objectID':_0x7e51c[_0x2c31a9(0x250)],'unitID':_0x7e51c[_0x2c31a9(0x350)]}}))[_0x2c31a9(0x341)][_0x2c31a9(0x4a8)];}async[_0x2229a0(0x2da)](_0x57b457){var _0x20e282=_0x2229a0;const _0x52df63=this[_0x20e282(0x50f)]()+_0x20e282(0x507);await this[_0x20e282(0x49d)][_0x20e282(0x4d0)](_0x52df63,{'body':_0x57b457});}},_0x5e3fa4[_0x2229a0(0x462)]=_0x5dadef([_0x55fb05(0x0,_0x158513[_0x2229a0(0x1c1)](_0x5b6221[_0x2229a0(0x1c8)])),_0x55fb05(0x1,_0x158513['Inject'](_0x158513[_0x2229a0(0x4c2)]))],_0x5e3fa4[_0x2229a0(0x462)]);var _0x348c0f=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x5afa2c(_0x35e669){var _0x3702ed=_0x2229a0;return _0x35e669&&_0x35e669['__esModule']&&Object['prototype'][_0x3702ed(0x409)][_0x3702ed(0x2d1)](_0x35e669,_0x3702ed(0x25d))?_0x35e669[_0x3702ed(0x25d)]:_0x35e669;}var _0x1d4c9d={'exports':{}};function _0x322950(_0x578a67){var _0x693656=_0x2229a0;throw new Error(_0x693656(0x3f5)+_0x578a67+_0x693656(0x2e9));}var _0x40ed59={'exports':{}},_0x299603=_0x40ed59['exports'],_0x2b9ffd;function _0x1b8113(){var _0x529008=_0x2229a0;return _0x2b9ffd||(_0x2b9ffd=0x1,function(_0x59114e,_0x1464a1){(function(_0x3e0009,_0x1eb953){var _0x5cf7cb=_0x573a;_0x59114e[_0x5cf7cb(0x20c)]=_0x1eb953();}(_0x299603,function(){var _0x3f5a45=_0x3f5a45||function(_0x2139ef,_0x3a2e15){var _0x3f825d=_0x573a,_0x1159f5;if(typeof window<'u'&&window[_0x3f825d(0x441)]&&(_0x1159f5=window[_0x3f825d(0x441)]),typeof self<'u'&&self[_0x3f825d(0x441)]&&(_0x1159f5=self[_0x3f825d(0x441)]),typeof globalThis<'u'&&globalThis[_0x3f825d(0x441)]&&(_0x1159f5=globalThis[_0x3f825d(0x441)]),!_0x1159f5&&typeof window<'u'&&window[_0x3f825d(0x2a5)]&&(_0x1159f5=window[_0x3f825d(0x2a5)]),!_0x1159f5&&typeof _0x348c0f<'u'&&_0x348c0f[_0x3f825d(0x441)]&&(_0x1159f5=_0x348c0f[_0x3f825d(0x441)]),!_0x1159f5&&typeof _0x322950==_0x3f825d(0x3a3))try{_0x1159f5=require('crypto');}catch{}var _0x2c4a25=function(){var _0x52b858=_0x3f825d;if(_0x1159f5){if(typeof _0x1159f5[_0x52b858(0x3ab)]==_0x52b858(0x3a3))try{return _0x1159f5[_0x52b858(0x3ab)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1159f5[_0x52b858(0x4bb)]=='function')try{return _0x1159f5[_0x52b858(0x4bb)](0x4)[_0x52b858(0x3ea)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x133a28=Object[_0x3f825d(0x4cc)]||(function(){function _0x41e45c(){}return function(_0x48c701){var _0x30ec45=_0x573a,_0x7bae7a;return _0x41e45c[_0x30ec45(0x362)]=_0x48c701,_0x7bae7a=new _0x41e45c(),_0x41e45c[_0x30ec45(0x362)]=null,_0x7bae7a;};}()),_0x1168a8={},_0x40bafd=_0x1168a8[_0x3f825d(0x532)]={},_0x2a17e4=_0x40bafd[_0x3f825d(0x312)]=(function(){return{'extend':function(_0x39f7c9){var _0x30dd6d=_0x573a,_0x5c8aa0=_0x133a28(this);return _0x39f7c9&&_0x5c8aa0['mixIn'](_0x39f7c9),(!_0x5c8aa0[_0x30dd6d(0x409)](_0x30dd6d(0x222))||this[_0x30dd6d(0x222)]===_0x5c8aa0['init'])&&(_0x5c8aa0[_0x30dd6d(0x222)]=function(){var _0x34e691=_0x30dd6d;_0x5c8aa0[_0x34e691(0x218)][_0x34e691(0x222)][_0x34e691(0x52e)](this,arguments);}),_0x5c8aa0[_0x30dd6d(0x222)][_0x30dd6d(0x362)]=_0x5c8aa0,_0x5c8aa0['$super']=this,_0x5c8aa0;},'create':function(){var _0x38f062=_0x573a,_0x44504d=this[_0x38f062(0x31f)]();return _0x44504d['init'][_0x38f062(0x52e)](_0x44504d,arguments),_0x44504d;},'init':function(){},'mixIn':function(_0x2cebe7){var _0x1c6f89=_0x573a;for(var _0x48826c in _0x2cebe7)_0x2cebe7['hasOwnProperty'](_0x48826c)&&(this[_0x48826c]=_0x2cebe7[_0x48826c]);_0x2cebe7['hasOwnProperty'](_0x1c6f89(0x520))&&(this[_0x1c6f89(0x520)]=_0x2cebe7[_0x1c6f89(0x520)]);},'clone':function(){var _0x1fabff=_0x573a;return this[_0x1fabff(0x222)]['prototype'][_0x1fabff(0x31f)](this);}};}()),_0x5f4bda=_0x40bafd[_0x3f825d(0x491)]=_0x2a17e4[_0x3f825d(0x31f)]({'init':function(_0x1ecfe6,_0x42d11e){var _0x100a52=_0x3f825d;_0x1ecfe6=this['words']=_0x1ecfe6||[],_0x42d11e!=_0x3a2e15?this[_0x100a52(0x34f)]=_0x42d11e:this['sigBytes']=_0x1ecfe6[_0x100a52(0x316)]*0x4;},'toString':function(_0x500f44){var _0x181dbd=_0x3f825d;return(_0x500f44||_0x14b71c)[_0x181dbd(0x418)](this);},'concat':function(_0x3cf84b){var _0x4ae314=_0x3f825d,_0xc99ed0=this[_0x4ae314(0x2c2)],_0x1b0d7a=_0x3cf84b['words'],_0x468ac9=this['sigBytes'],_0x4e7e07=_0x3cf84b[_0x4ae314(0x34f)];if(this['clamp'](),_0x468ac9%0x4)for(var _0x416840=0x0;_0x416840<_0x4e7e07;_0x416840++){var _0x195425=_0x1b0d7a[_0x416840>>>0x2]>>>0x18-_0x416840%0x4*0x8&0xff;_0xc99ed0[_0x468ac9+_0x416840>>>0x2]|=_0x195425<<0x18-(_0x468ac9+_0x416840)%0x4*0x8;}else{for(var _0x3c1f60=0x0;_0x3c1f60<_0x4e7e07;_0x3c1f60+=0x4)_0xc99ed0[_0x468ac9+_0x3c1f60>>>0x2]=_0x1b0d7a[_0x3c1f60>>>0x2];}return this[_0x4ae314(0x34f)]+=_0x4e7e07,this;},'clamp':function(){var _0x38805e=_0x3f825d,_0x128752=this[_0x38805e(0x2c2)],_0x552d06=this[_0x38805e(0x34f)];_0x128752[_0x552d06>>>0x2]&=0xffffffff<<0x20-_0x552d06%0x4*0x8,_0x128752['length']=_0x2139ef['ceil'](_0x552d06/0x4);},'clone':function(){var _0x2dd593=_0x3f825d,_0x12e593=_0x2a17e4[_0x2dd593(0x497)][_0x2dd593(0x2d1)](this);return _0x12e593[_0x2dd593(0x2c2)]=this[_0x2dd593(0x2c2)][_0x2dd593(0x27f)](0x0),_0x12e593;},'random':function(_0x114578){var _0x39821b=_0x3f825d;for(var _0x35c53b=[],_0x5dc99a=0x0;_0x5dc99a<_0x114578;_0x5dc99a+=0x4)_0x35c53b[_0x39821b(0x4a3)](_0x2c4a25());return new _0x5f4bda[(_0x39821b(0x222))](_0x35c53b,_0x114578);}}),_0x224d63=_0x1168a8[_0x3f825d(0x230)]={},_0x14b71c=_0x224d63[_0x3f825d(0x252)]={'stringify':function(_0x273897){var _0x3001ad=_0x3f825d;for(var _0x3ac50f=_0x273897['words'],_0x34f293=_0x273897[_0x3001ad(0x34f)],_0x16a6b7=[],_0x4f8e7b=0x0;_0x4f8e7b<_0x34f293;_0x4f8e7b++){var _0x1cd903=_0x3ac50f[_0x4f8e7b>>>0x2]>>>0x18-_0x4f8e7b%0x4*0x8&0xff;_0x16a6b7[_0x3001ad(0x4a3)]((_0x1cd903>>>0x4)['toString'](0x10)),_0x16a6b7[_0x3001ad(0x4a3)]((_0x1cd903&0xf)[_0x3001ad(0x520)](0x10));}return _0x16a6b7['join']('');},'parse':function(_0x1769e9){var _0x2c7b46=_0x3f825d;for(var _0x40b1c3=_0x1769e9[_0x2c7b46(0x316)],_0x2cf0aa=[],_0x449f6e=0x0;_0x449f6e<_0x40b1c3;_0x449f6e+=0x2)_0x2cf0aa[_0x449f6e>>>0x3]|=parseInt(_0x1769e9[_0x2c7b46(0x379)](_0x449f6e,0x2),0x10)<<0x18-_0x449f6e%0x8*0x4;return new _0x5f4bda['init'](_0x2cf0aa,_0x40b1c3/0x2);}},_0x435815=_0x224d63['Latin1']={'stringify':function(_0x5f430d){var _0x499d11=_0x3f825d;for(var _0x46e109=_0x5f430d[_0x499d11(0x2c2)],_0x547a89=_0x5f430d[_0x499d11(0x34f)],_0x28b12b=[],_0x268125=0x0;_0x268125<_0x547a89;_0x268125++){var _0x52855d=_0x46e109[_0x268125>>>0x2]>>>0x18-_0x268125%0x4*0x8&0xff;_0x28b12b['push'](String[_0x499d11(0x1b0)](_0x52855d));}return _0x28b12b[_0x499d11(0x4a1)]('');},'parse':function(_0x4f4ca3){var _0x36c4de=_0x3f825d;for(var _0x47414b=_0x4f4ca3[_0x36c4de(0x316)],_0x5f1785=[],_0x281311=0x0;_0x281311<_0x47414b;_0x281311++)_0x5f1785[_0x281311>>>0x2]|=(_0x4f4ca3[_0x36c4de(0x4c4)](_0x281311)&0xff)<<0x18-_0x281311%0x4*0x8;return new _0x5f4bda[(_0x36c4de(0x222))](_0x5f1785,_0x47414b);}},_0x3f4179=_0x224d63[_0x3f825d(0x255)]={'stringify':function(_0x263082){var _0x1daf81=_0x3f825d;try{return decodeURIComponent(escape(_0x435815[_0x1daf81(0x418)](_0x263082)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0xe7136b){var _0x375871=_0x3f825d;return _0x435815[_0x375871(0x34b)](unescape(encodeURIComponent(_0xe7136b)));}},_0x29f9c2=_0x40bafd['BufferedBlockAlgorithm']=_0x2a17e4[_0x3f825d(0x31f)]({'reset':function(){var _0x2e0360=_0x3f825d;this[_0x2e0360(0x39d)]=new _0x5f4bda['init'](),this['_nDataBytes']=0x0;},'_append':function(_0xbeb43e){var _0x2a8ef9=_0x3f825d;typeof _0xbeb43e=='string'&&(_0xbeb43e=_0x3f4179[_0x2a8ef9(0x34b)](_0xbeb43e)),this[_0x2a8ef9(0x39d)][_0x2a8ef9(0x36e)](_0xbeb43e),this[_0x2a8ef9(0x3d4)]+=_0xbeb43e[_0x2a8ef9(0x34f)];},'_process':function(_0x5df789){var _0x59cd14=_0x3f825d,_0x421d20,_0x2c052d=this[_0x59cd14(0x39d)],_0x65f581=_0x2c052d['words'],_0x4545e1=_0x2c052d[_0x59cd14(0x34f)],_0xbcea0c=this[_0x59cd14(0x387)],_0x1af773=_0xbcea0c*0x4,_0x584f69=_0x4545e1/_0x1af773;_0x5df789?_0x584f69=_0x2139ef[_0x59cd14(0x440)](_0x584f69):_0x584f69=_0x2139ef[_0x59cd14(0x392)]((_0x584f69|0x0)-this['_minBufferSize'],0x0);var _0x13b312=_0x584f69*_0xbcea0c,_0x166332=_0x2139ef[_0x59cd14(0x475)](_0x13b312*0x4,_0x4545e1);if(_0x13b312){for(var _0x12b4b2=0x0;_0x12b4b2<_0x13b312;_0x12b4b2+=_0xbcea0c)this[_0x59cd14(0x36d)](_0x65f581,_0x12b4b2);_0x421d20=_0x65f581[_0x59cd14(0x304)](0x0,_0x13b312),_0x2c052d[_0x59cd14(0x34f)]-=_0x166332;}return new _0x5f4bda[(_0x59cd14(0x222))](_0x421d20,_0x166332);},'clone':function(){var _0x561c76=_0x3f825d,_0x1f94e5=_0x2a17e4[_0x561c76(0x497)][_0x561c76(0x2d1)](this);return _0x1f94e5[_0x561c76(0x39d)]=this['_data'][_0x561c76(0x497)](),_0x1f94e5;},'_minBufferSize':0x0});_0x40bafd[_0x3f825d(0x21d)]=_0x29f9c2['extend']({'cfg':_0x2a17e4[_0x3f825d(0x31f)](),'init':function(_0x39dc7d){var _0x46404a=_0x3f825d;this[_0x46404a(0x1c9)]=this[_0x46404a(0x1c9)]['extend'](_0x39dc7d),this['reset']();},'reset':function(){var _0x313d8a=_0x3f825d;_0x29f9c2['reset'][_0x313d8a(0x2d1)](this),this[_0x313d8a(0x240)]();},'update':function(_0xca459f){var _0x5d9981=_0x3f825d;return this[_0x5d9981(0x479)](_0xca459f),this['_process'](),this;},'finalize':function(_0x2faf28){_0x2faf28&&this['_append'](_0x2faf28);var _0x3f5499=this['_doFinalize']();return _0x3f5499;},'blockSize':0x10,'_createHelper':function(_0x293fa1){return function(_0x174733,_0x456914){var _0x3b693e=_0x573a;return new _0x293fa1[(_0x3b693e(0x222))](_0x456914)[_0x3b693e(0x28b)](_0x174733);};},'_createHmacHelper':function(_0x372b85){return function(_0x1e3c42,_0x233d47){var _0x2a64ba=_0x573a;return new _0x59719a['HMAC']['init'](_0x372b85,_0x233d47)[_0x2a64ba(0x28b)](_0x1e3c42);};}});var _0x59719a=_0x1168a8[_0x3f825d(0x26d)]={};return _0x1168a8;}(Math);return _0x3f5a45;}));}(_0x40ed59)),_0x40ed59[_0x529008(0x20c)];}var _0x1b88ff={'exports':{}},_0x172013=_0x1b88ff[_0x2229a0(0x20c)],_0x4b8b6f;function _0x4fdf03(){var _0x59694b=_0x2229a0;return _0x4b8b6f||(_0x4b8b6f=0x1,function(_0x272279,_0x2f5d4){(function(_0x10c387,_0x5ddf73){var _0x180a24=_0x573a;_0x272279[_0x180a24(0x20c)]=_0x5ddf73(_0x1b8113());}(_0x172013,function(_0x1b4eca){var _0x406c25=_0x573a;return(function(){var _0x3de827=_0x573a,_0x3fe6cc=_0x1b4eca,_0x5ac4b3=_0x3fe6cc[_0x3de827(0x532)],_0x172a44=_0x5ac4b3[_0x3de827(0x491)],_0x3af924=_0x3fe6cc[_0x3de827(0x230)];_0x3af924[_0x3de827(0x369)]={'stringify':function(_0x32fa3f){var _0x2c4cf9=_0x3de827,_0x2ad8ae=_0x32fa3f[_0x2c4cf9(0x2c2)],_0x95302e=_0x32fa3f[_0x2c4cf9(0x34f)],_0x39e79f=this[_0x2c4cf9(0x1bc)];_0x32fa3f[_0x2c4cf9(0x205)]();for(var _0x4e2959=[],_0x20fcc0=0x0;_0x20fcc0<_0x95302e;_0x20fcc0+=0x3)for(var _0x2eed83=_0x2ad8ae[_0x20fcc0>>>0x2]>>>0x18-_0x20fcc0%0x4*0x8&0xff,_0xe74361=_0x2ad8ae[_0x20fcc0+0x1>>>0x2]>>>0x18-(_0x20fcc0+0x1)%0x4*0x8&0xff,_0x32024a=_0x2ad8ae[_0x20fcc0+0x2>>>0x2]>>>0x18-(_0x20fcc0+0x2)%0x4*0x8&0xff,_0xfb147f=_0x2eed83<<0x10|_0xe74361<<0x8|_0x32024a,_0x366182=0x0;_0x366182<0x4&&_0x20fcc0+_0x366182*0.75<_0x95302e;_0x366182++)_0x4e2959[_0x2c4cf9(0x4a3)](_0x39e79f['charAt'](_0xfb147f>>>0x6*(0x3-_0x366182)&0x3f));var _0x40a291=_0x39e79f[_0x2c4cf9(0x2be)](0x40);if(_0x40a291){for(;_0x4e2959[_0x2c4cf9(0x316)]%0x4;)_0x4e2959[_0x2c4cf9(0x4a3)](_0x40a291);}return _0x4e2959['join']('');},'parse':function(_0x277593){var _0x48b6d2=_0x3de827,_0x1551b9=_0x277593[_0x48b6d2(0x316)],_0x5bd120=this[_0x48b6d2(0x1bc)],_0xb80fc8=this[_0x48b6d2(0x1d9)];if(!_0xb80fc8){_0xb80fc8=this[_0x48b6d2(0x1d9)]=[];for(var _0x5b5aad=0x0;_0x5b5aad<_0x5bd120['length'];_0x5b5aad++)_0xb80fc8[_0x5bd120[_0x48b6d2(0x4c4)](_0x5b5aad)]=_0x5b5aad;}var _0x5a8d9c=_0x5bd120[_0x48b6d2(0x2be)](0x40);if(_0x5a8d9c){var _0x27463f=_0x277593['indexOf'](_0x5a8d9c);_0x27463f!==-0x1&&(_0x1551b9=_0x27463f);}return _0x29b2ac(_0x277593,_0x1551b9,_0xb80fc8);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x29b2ac(_0x263611,_0x29bab8,_0x48f2fc){var _0x5f2656=_0x3de827;for(var _0x139795=[],_0x591e7f=0x0,_0x48168a=0x0;_0x48168a<_0x29bab8;_0x48168a++)if(_0x48168a%0x4){var _0x103d43=_0x48f2fc[_0x263611['charCodeAt'](_0x48168a-0x1)]<<_0x48168a%0x4*0x2,_0x15f2c4=_0x48f2fc[_0x263611['charCodeAt'](_0x48168a)]>>>0x6-_0x48168a%0x4*0x2,_0x29f087=_0x103d43|_0x15f2c4;_0x139795[_0x591e7f>>>0x2]|=_0x29f087<<0x18-_0x591e7f%0x4*0x8,_0x591e7f++;}return _0x172a44[_0x5f2656(0x4cc)](_0x139795,_0x591e7f);}}()),_0x1b4eca[_0x406c25(0x230)][_0x406c25(0x369)];}));}(_0x1b88ff)),_0x1b88ff[_0x59694b(0x20c)];}var _0x27d2e0={'exports':{}},_0xa49163=_0x27d2e0[_0x2229a0(0x20c)],_0x3e4da9;function _0x4c535b(){return _0x3e4da9||(_0x3e4da9=0x1,function(_0x2ab414,_0x498547){(function(_0x10570a,_0x24a277){var _0x203291=_0x573a;_0x2ab414[_0x203291(0x20c)]=_0x24a277(_0x1b8113());}(_0xa49163,function(_0x2eade8){var _0x4650d0=_0x573a;return function(_0x296d57){var _0x4966a9=_0x573a,_0x4d64ee=_0x2eade8,_0x3ea176=_0x4d64ee['lib'],_0x2087f7=_0x3ea176[_0x4966a9(0x491)],_0x44a581=_0x3ea176[_0x4966a9(0x21d)],_0xe0106=_0x4d64ee[_0x4966a9(0x26d)],_0x276c7a=[];(function(){var _0x1470d0=_0x4966a9;for(var _0x4c71f5=0x0;_0x4c71f5<0x40;_0x4c71f5++)_0x276c7a[_0x4c71f5]=_0x296d57[_0x1470d0(0x29c)](_0x296d57[_0x1470d0(0x313)](_0x4c71f5+0x1))*0x100000000|0x0;}());var _0x5e8384=_0xe0106[_0x4966a9(0x1f4)]=_0x44a581[_0x4966a9(0x31f)]({'_doReset':function(){var _0x22cb34=_0x4966a9;this[_0x22cb34(0x24a)]=new _0x2087f7[(_0x22cb34(0x222))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x552928,_0x5a8c83){var _0xb919f1=_0x4966a9;for(var _0x5d83c9=0x0;_0x5d83c9<0x10;_0x5d83c9++){var _0x5a4e7b=_0x5a8c83+_0x5d83c9,_0x3244a4=_0x552928[_0x5a4e7b];_0x552928[_0x5a4e7b]=(_0x3244a4<<0x8|_0x3244a4>>>0x18)&0xff00ff|(_0x3244a4<<0x18|_0x3244a4>>>0x8)&0xff00ff00;}var _0x3ee28e=this[_0xb919f1(0x24a)][_0xb919f1(0x2c2)],_0x243ccd=_0x552928[_0x5a8c83+0x0],_0x1bcee5=_0x552928[_0x5a8c83+0x1],_0x5d6ad4=_0x552928[_0x5a8c83+0x2],_0x4055b7=_0x552928[_0x5a8c83+0x3],_0x4261d1=_0x552928[_0x5a8c83+0x4],_0x426d23=_0x552928[_0x5a8c83+0x5],_0x8f70bb=_0x552928[_0x5a8c83+0x6],_0x5046fb=_0x552928[_0x5a8c83+0x7],_0x45d8b4=_0x552928[_0x5a8c83+0x8],_0x1ad953=_0x552928[_0x5a8c83+0x9],_0x392928=_0x552928[_0x5a8c83+0xa],_0x436f08=_0x552928[_0x5a8c83+0xb],_0x3b1867=_0x552928[_0x5a8c83+0xc],_0xe4a0d5=_0x552928[_0x5a8c83+0xd],_0x2dbd5b=_0x552928[_0x5a8c83+0xe],_0x452d9f=_0x552928[_0x5a8c83+0xf],_0x4c2d6f=_0x3ee28e[0x0],_0xef1608=_0x3ee28e[0x1],_0x49bb0b=_0x3ee28e[0x2],_0x35d100=_0x3ee28e[0x3];_0x4c2d6f=_0xf40c51(_0x4c2d6f,_0xef1608,_0x49bb0b,_0x35d100,_0x243ccd,0x7,_0x276c7a[0x0]),_0x35d100=_0xf40c51(_0x35d100,_0x4c2d6f,_0xef1608,_0x49bb0b,_0x1bcee5,0xc,_0x276c7a[0x1]),_0x49bb0b=_0xf40c51(_0x49bb0b,_0x35d100,_0x4c2d6f,_0xef1608,_0x5d6ad4,0x11,_0x276c7a[0x2]),_0xef1608=_0xf40c51(_0xef1608,_0x49bb0b,_0x35d100,_0x4c2d6f,_0x4055b7,0x16,_0x276c7a[0x3]),_0x4c2d6f=_0xf40c51(_0x4c2d6f,_0xef1608,_0x49bb0b,_0x35d100,_0x4261d1,0x7,_0x276c7a[0x4]),_0x35d100=_0xf40c51(_0x35d100,_0x4c2d6f,_0xef1608,_0x49bb0b,_0x426d23,0xc,_0x276c7a[0x5]),_0x49bb0b=_0xf40c51(_0x49bb0b,_0x35d100,_0x4c2d6f,_0xef1608,_0x8f70bb,0x11,_0x276c7a[0x6]),_0xef1608=_0xf40c51(_0xef1608,_0x49bb0b,_0x35d100,_0x4c2d6f,_0x5046fb,0x16,_0x276c7a[0x7]),_0x4c2d6f=_0xf40c51(_0x4c2d6f,_0xef1608,_0x49bb0b,_0x35d100,_0x45d8b4,0x7,_0x276c7a[0x8]),_0x35d100=_0xf40c51(_0x35d100,_0x4c2d6f,_0xef1608,_0x49bb0b,_0x1ad953,0xc,_0x276c7a[0x9]),_0x49bb0b=_0xf40c51(_0x49bb0b,_0x35d100,_0x4c2d6f,_0xef1608,_0x392928,0x11,_0x276c7a[0xa]),_0xef1608=_0xf40c51(_0xef1608,_0x49bb0b,_0x35d100,_0x4c2d6f,_0x436f08,0x16,_0x276c7a[0xb]),_0x4c2d6f=_0xf40c51(_0x4c2d6f,_0xef1608,_0x49bb0b,_0x35d100,_0x3b1867,0x7,_0x276c7a[0xc]),_0x35d100=_0xf40c51(_0x35d100,_0x4c2d6f,_0xef1608,_0x49bb0b,_0xe4a0d5,0xc,_0x276c7a[0xd]),_0x49bb0b=_0xf40c51(_0x49bb0b,_0x35d100,_0x4c2d6f,_0xef1608,_0x2dbd5b,0x11,_0x276c7a[0xe]),_0xef1608=_0xf40c51(_0xef1608,_0x49bb0b,_0x35d100,_0x4c2d6f,_0x452d9f,0x16,_0x276c7a[0xf]),_0x4c2d6f=_0x17e19f(_0x4c2d6f,_0xef1608,_0x49bb0b,_0x35d100,_0x1bcee5,0x5,_0x276c7a[0x10]),_0x35d100=_0x17e19f(_0x35d100,_0x4c2d6f,_0xef1608,_0x49bb0b,_0x8f70bb,0x9,_0x276c7a[0x11]),_0x49bb0b=_0x17e19f(_0x49bb0b,_0x35d100,_0x4c2d6f,_0xef1608,_0x436f08,0xe,_0x276c7a[0x12]),_0xef1608=_0x17e19f(_0xef1608,_0x49bb0b,_0x35d100,_0x4c2d6f,_0x243ccd,0x14,_0x276c7a[0x13]),_0x4c2d6f=_0x17e19f(_0x4c2d6f,_0xef1608,_0x49bb0b,_0x35d100,_0x426d23,0x5,_0x276c7a[0x14]),_0x35d100=_0x17e19f(_0x35d100,_0x4c2d6f,_0xef1608,_0x49bb0b,_0x392928,0x9,_0x276c7a[0x15]),_0x49bb0b=_0x17e19f(_0x49bb0b,_0x35d100,_0x4c2d6f,_0xef1608,_0x452d9f,0xe,_0x276c7a[0x16]),_0xef1608=_0x17e19f(_0xef1608,_0x49bb0b,_0x35d100,_0x4c2d6f,_0x4261d1,0x14,_0x276c7a[0x17]),_0x4c2d6f=_0x17e19f(_0x4c2d6f,_0xef1608,_0x49bb0b,_0x35d100,_0x1ad953,0x5,_0x276c7a[0x18]),_0x35d100=_0x17e19f(_0x35d100,_0x4c2d6f,_0xef1608,_0x49bb0b,_0x2dbd5b,0x9,_0x276c7a[0x19]),_0x49bb0b=_0x17e19f(_0x49bb0b,_0x35d100,_0x4c2d6f,_0xef1608,_0x4055b7,0xe,_0x276c7a[0x1a]),_0xef1608=_0x17e19f(_0xef1608,_0x49bb0b,_0x35d100,_0x4c2d6f,_0x45d8b4,0x14,_0x276c7a[0x1b]),_0x4c2d6f=_0x17e19f(_0x4c2d6f,_0xef1608,_0x49bb0b,_0x35d100,_0xe4a0d5,0x5,_0x276c7a[0x1c]),_0x35d100=_0x17e19f(_0x35d100,_0x4c2d6f,_0xef1608,_0x49bb0b,_0x5d6ad4,0x9,_0x276c7a[0x1d]),_0x49bb0b=_0x17e19f(_0x49bb0b,_0x35d100,_0x4c2d6f,_0xef1608,_0x5046fb,0xe,_0x276c7a[0x1e]),_0xef1608=_0x17e19f(_0xef1608,_0x49bb0b,_0x35d100,_0x4c2d6f,_0x3b1867,0x14,_0x276c7a[0x1f]),_0x4c2d6f=_0x18a81e(_0x4c2d6f,_0xef1608,_0x49bb0b,_0x35d100,_0x426d23,0x4,_0x276c7a[0x20]),_0x35d100=_0x18a81e(_0x35d100,_0x4c2d6f,_0xef1608,_0x49bb0b,_0x45d8b4,0xb,_0x276c7a[0x21]),_0x49bb0b=_0x18a81e(_0x49bb0b,_0x35d100,_0x4c2d6f,_0xef1608,_0x436f08,0x10,_0x276c7a[0x22]),_0xef1608=_0x18a81e(_0xef1608,_0x49bb0b,_0x35d100,_0x4c2d6f,_0x2dbd5b,0x17,_0x276c7a[0x23]),_0x4c2d6f=_0x18a81e(_0x4c2d6f,_0xef1608,_0x49bb0b,_0x35d100,_0x1bcee5,0x4,_0x276c7a[0x24]),_0x35d100=_0x18a81e(_0x35d100,_0x4c2d6f,_0xef1608,_0x49bb0b,_0x4261d1,0xb,_0x276c7a[0x25]),_0x49bb0b=_0x18a81e(_0x49bb0b,_0x35d100,_0x4c2d6f,_0xef1608,_0x5046fb,0x10,_0x276c7a[0x26]),_0xef1608=_0x18a81e(_0xef1608,_0x49bb0b,_0x35d100,_0x4c2d6f,_0x392928,0x17,_0x276c7a[0x27]),_0x4c2d6f=_0x18a81e(_0x4c2d6f,_0xef1608,_0x49bb0b,_0x35d100,_0xe4a0d5,0x4,_0x276c7a[0x28]),_0x35d100=_0x18a81e(_0x35d100,_0x4c2d6f,_0xef1608,_0x49bb0b,_0x243ccd,0xb,_0x276c7a[0x29]),_0x49bb0b=_0x18a81e(_0x49bb0b,_0x35d100,_0x4c2d6f,_0xef1608,_0x4055b7,0x10,_0x276c7a[0x2a]),_0xef1608=_0x18a81e(_0xef1608,_0x49bb0b,_0x35d100,_0x4c2d6f,_0x8f70bb,0x17,_0x276c7a[0x2b]),_0x4c2d6f=_0x18a81e(_0x4c2d6f,_0xef1608,_0x49bb0b,_0x35d100,_0x1ad953,0x4,_0x276c7a[0x2c]),_0x35d100=_0x18a81e(_0x35d100,_0x4c2d6f,_0xef1608,_0x49bb0b,_0x3b1867,0xb,_0x276c7a[0x2d]),_0x49bb0b=_0x18a81e(_0x49bb0b,_0x35d100,_0x4c2d6f,_0xef1608,_0x452d9f,0x10,_0x276c7a[0x2e]),_0xef1608=_0x18a81e(_0xef1608,_0x49bb0b,_0x35d100,_0x4c2d6f,_0x5d6ad4,0x17,_0x276c7a[0x2f]),_0x4c2d6f=_0x516248(_0x4c2d6f,_0xef1608,_0x49bb0b,_0x35d100,_0x243ccd,0x6,_0x276c7a[0x30]),_0x35d100=_0x516248(_0x35d100,_0x4c2d6f,_0xef1608,_0x49bb0b,_0x5046fb,0xa,_0x276c7a[0x31]),_0x49bb0b=_0x516248(_0x49bb0b,_0x35d100,_0x4c2d6f,_0xef1608,_0x2dbd5b,0xf,_0x276c7a[0x32]),_0xef1608=_0x516248(_0xef1608,_0x49bb0b,_0x35d100,_0x4c2d6f,_0x426d23,0x15,_0x276c7a[0x33]),_0x4c2d6f=_0x516248(_0x4c2d6f,_0xef1608,_0x49bb0b,_0x35d100,_0x3b1867,0x6,_0x276c7a[0x34]),_0x35d100=_0x516248(_0x35d100,_0x4c2d6f,_0xef1608,_0x49bb0b,_0x4055b7,0xa,_0x276c7a[0x35]),_0x49bb0b=_0x516248(_0x49bb0b,_0x35d100,_0x4c2d6f,_0xef1608,_0x392928,0xf,_0x276c7a[0x36]),_0xef1608=_0x516248(_0xef1608,_0x49bb0b,_0x35d100,_0x4c2d6f,_0x1bcee5,0x15,_0x276c7a[0x37]),_0x4c2d6f=_0x516248(_0x4c2d6f,_0xef1608,_0x49bb0b,_0x35d100,_0x45d8b4,0x6,_0x276c7a[0x38]),_0x35d100=_0x516248(_0x35d100,_0x4c2d6f,_0xef1608,_0x49bb0b,_0x452d9f,0xa,_0x276c7a[0x39]),_0x49bb0b=_0x516248(_0x49bb0b,_0x35d100,_0x4c2d6f,_0xef1608,_0x8f70bb,0xf,_0x276c7a[0x3a]),_0xef1608=_0x516248(_0xef1608,_0x49bb0b,_0x35d100,_0x4c2d6f,_0xe4a0d5,0x15,_0x276c7a[0x3b]),_0x4c2d6f=_0x516248(_0x4c2d6f,_0xef1608,_0x49bb0b,_0x35d100,_0x4261d1,0x6,_0x276c7a[0x3c]),_0x35d100=_0x516248(_0x35d100,_0x4c2d6f,_0xef1608,_0x49bb0b,_0x436f08,0xa,_0x276c7a[0x3d]),_0x49bb0b=_0x516248(_0x49bb0b,_0x35d100,_0x4c2d6f,_0xef1608,_0x5d6ad4,0xf,_0x276c7a[0x3e]),_0xef1608=_0x516248(_0xef1608,_0x49bb0b,_0x35d100,_0x4c2d6f,_0x1ad953,0x15,_0x276c7a[0x3f]),_0x3ee28e[0x0]=_0x3ee28e[0x0]+_0x4c2d6f|0x0,_0x3ee28e[0x1]=_0x3ee28e[0x1]+_0xef1608|0x0,_0x3ee28e[0x2]=_0x3ee28e[0x2]+_0x49bb0b|0x0,_0x3ee28e[0x3]=_0x3ee28e[0x3]+_0x35d100|0x0;},'_doFinalize':function(){var _0x5072e9=_0x4966a9,_0x1b6c7c=this[_0x5072e9(0x39d)],_0x1be594=_0x1b6c7c[_0x5072e9(0x2c2)],_0x369ecc=this[_0x5072e9(0x3d4)]*0x8,_0x39802a=_0x1b6c7c['sigBytes']*0x8;_0x1be594[_0x39802a>>>0x5]|=0x80<<0x18-_0x39802a%0x20;var _0x51e3fd=_0x296d57['floor'](_0x369ecc/0x100000000),_0xc9fcb3=_0x369ecc;_0x1be594[(_0x39802a+0x40>>>0x9<<0x4)+0xf]=(_0x51e3fd<<0x8|_0x51e3fd>>>0x18)&0xff00ff|(_0x51e3fd<<0x18|_0x51e3fd>>>0x8)&0xff00ff00,_0x1be594[(_0x39802a+0x40>>>0x9<<0x4)+0xe]=(_0xc9fcb3<<0x8|_0xc9fcb3>>>0x18)&0xff00ff|(_0xc9fcb3<<0x18|_0xc9fcb3>>>0x8)&0xff00ff00,_0x1b6c7c[_0x5072e9(0x34f)]=(_0x1be594[_0x5072e9(0x316)]+0x1)*0x4,this[_0x5072e9(0x2c9)]();for(var _0x55af45=this['_hash'],_0x5b720e=_0x55af45['words'],_0x3ef113=0x0;_0x3ef113<0x4;_0x3ef113++){var _0x34ca5b=_0x5b720e[_0x3ef113];_0x5b720e[_0x3ef113]=(_0x34ca5b<<0x8|_0x34ca5b>>>0x18)&0xff00ff|(_0x34ca5b<<0x18|_0x34ca5b>>>0x8)&0xff00ff00;}return _0x55af45;},'clone':function(){var _0x312ff4=_0x4966a9,_0x19c3ca=_0x44a581['clone'][_0x312ff4(0x2d1)](this);return _0x19c3ca['_hash']=this['_hash']['clone'](),_0x19c3ca;}});function _0xf40c51(_0x1da729,_0x34c8d8,_0x4e6d0b,_0x17e4c2,_0x37a978,_0x13212f,_0x26f36f){var _0x38e35f=_0x1da729+(_0x34c8d8&_0x4e6d0b|~_0x34c8d8&_0x17e4c2)+_0x37a978+_0x26f36f;return(_0x38e35f<<_0x13212f|_0x38e35f>>>0x20-_0x13212f)+_0x34c8d8;}function _0x17e19f(_0x5b3891,_0x354851,_0x443544,_0x32ba81,_0x222fea,_0x44506c,_0x52d02a){var _0xfad42c=_0x5b3891+(_0x354851&_0x32ba81|_0x443544&~_0x32ba81)+_0x222fea+_0x52d02a;return(_0xfad42c<<_0x44506c|_0xfad42c>>>0x20-_0x44506c)+_0x354851;}function _0x18a81e(_0x28a740,_0x50a8f0,_0x2a3798,_0x220100,_0x1ee3f0,_0x5eaa34,_0x377c7a){var _0x4b0340=_0x28a740+(_0x50a8f0^_0x2a3798^_0x220100)+_0x1ee3f0+_0x377c7a;return(_0x4b0340<<_0x5eaa34|_0x4b0340>>>0x20-_0x5eaa34)+_0x50a8f0;}function _0x516248(_0x3d2892,_0xd85df5,_0x1854e4,_0x5be6c3,_0x29b59f,_0x2139ac,_0x1b047d){var _0x4dbe6e=_0x3d2892+(_0x1854e4^(_0xd85df5|~_0x5be6c3))+_0x29b59f+_0x1b047d;return(_0x4dbe6e<<_0x2139ac|_0x4dbe6e>>>0x20-_0x2139ac)+_0xd85df5;}_0x4d64ee[_0x4966a9(0x1f4)]=_0x44a581['_createHelper'](_0x5e8384),_0x4d64ee[_0x4966a9(0x199)]=_0x44a581[_0x4966a9(0x257)](_0x5e8384);}(Math),_0x2eade8[_0x4650d0(0x1f4)];}));}(_0x27d2e0)),_0x27d2e0['exports'];}var _0x148d47={'exports':{}},_0x530dae={'exports':{}},_0x1925da=_0x530dae[_0x2229a0(0x20c)],_0x3aab40;function _0x3fe2ba(){var _0x4b4a39=_0x2229a0;return _0x3aab40||(_0x3aab40=0x1,function(_0x401b3f,_0x1a47d1){(function(_0x448fcc,_0x5479c6){var _0x47353c=_0x573a;_0x401b3f[_0x47353c(0x20c)]=_0x5479c6(_0x1b8113());}(_0x1925da,function(_0x5e161d){var _0x4ced5e=_0x573a;return(function(){var _0x3eb32f=_0x573a,_0x3b5902=_0x5e161d,_0x51d837=_0x3b5902['lib'],_0x3c5274=_0x51d837[_0x3eb32f(0x491)],_0x2f9d9b=_0x51d837[_0x3eb32f(0x21d)],_0x1ebd6a=_0x3b5902[_0x3eb32f(0x26d)],_0x449243=[],_0x2a93bf=_0x1ebd6a[_0x3eb32f(0x26e)]=_0x2f9d9b[_0x3eb32f(0x31f)]({'_doReset':function(){var _0x4bd350=_0x3eb32f;this['_hash']=new _0x3c5274[(_0x4bd350(0x222))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4b728a,_0x4e3b70){var _0x57ae79=_0x3eb32f;for(var _0x3ccf37=this[_0x57ae79(0x24a)][_0x57ae79(0x2c2)],_0x4406d2=_0x3ccf37[0x0],_0x40a0ca=_0x3ccf37[0x1],_0x972110=_0x3ccf37[0x2],_0x302de9=_0x3ccf37[0x3],_0x594f15=_0x3ccf37[0x4],_0x4b3f33=0x0;_0x4b3f33<0x50;_0x4b3f33++){if(_0x4b3f33<0x10)_0x449243[_0x4b3f33]=_0x4b728a[_0x4e3b70+_0x4b3f33]|0x0;else{var _0x2558ab=_0x449243[_0x4b3f33-0x3]^_0x449243[_0x4b3f33-0x8]^_0x449243[_0x4b3f33-0xe]^_0x449243[_0x4b3f33-0x10];_0x449243[_0x4b3f33]=_0x2558ab<<0x1|_0x2558ab>>>0x1f;}var _0x2c0df4=(_0x4406d2<<0x5|_0x4406d2>>>0x1b)+_0x594f15+_0x449243[_0x4b3f33];_0x4b3f33<0x14?_0x2c0df4+=(_0x40a0ca&_0x972110|~_0x40a0ca&_0x302de9)+0x5a827999:_0x4b3f33<0x28?_0x2c0df4+=(_0x40a0ca^_0x972110^_0x302de9)+0x6ed9eba1:_0x4b3f33<0x3c?_0x2c0df4+=(_0x40a0ca&_0x972110|_0x40a0ca&_0x302de9|_0x972110&_0x302de9)-0x70e44324:_0x2c0df4+=(_0x40a0ca^_0x972110^_0x302de9)-0x359d3e2a,_0x594f15=_0x302de9,_0x302de9=_0x972110,_0x972110=_0x40a0ca<<0x1e|_0x40a0ca>>>0x2,_0x40a0ca=_0x4406d2,_0x4406d2=_0x2c0df4;}_0x3ccf37[0x0]=_0x3ccf37[0x0]+_0x4406d2|0x0,_0x3ccf37[0x1]=_0x3ccf37[0x1]+_0x40a0ca|0x0,_0x3ccf37[0x2]=_0x3ccf37[0x2]+_0x972110|0x0,_0x3ccf37[0x3]=_0x3ccf37[0x3]+_0x302de9|0x0,_0x3ccf37[0x4]=_0x3ccf37[0x4]+_0x594f15|0x0;},'_doFinalize':function(){var _0x2a5350=_0x3eb32f,_0x5b982d=this[_0x2a5350(0x39d)],_0x96e2d=_0x5b982d[_0x2a5350(0x2c2)],_0x5e59c1=this['_nDataBytes']*0x8,_0x2f2822=_0x5b982d[_0x2a5350(0x34f)]*0x8;return _0x96e2d[_0x2f2822>>>0x5]|=0x80<<0x18-_0x2f2822%0x20,_0x96e2d[(_0x2f2822+0x40>>>0x9<<0x4)+0xe]=Math[_0x2a5350(0x453)](_0x5e59c1/0x100000000),_0x96e2d[(_0x2f2822+0x40>>>0x9<<0x4)+0xf]=_0x5e59c1,_0x5b982d[_0x2a5350(0x34f)]=_0x96e2d['length']*0x4,this['_process'](),this[_0x2a5350(0x24a)];},'clone':function(){var _0x7ed56e=_0x3eb32f,_0x17b7f9=_0x2f9d9b[_0x7ed56e(0x497)][_0x7ed56e(0x2d1)](this);return _0x17b7f9['_hash']=this['_hash'][_0x7ed56e(0x497)](),_0x17b7f9;}});_0x3b5902[_0x3eb32f(0x26e)]=_0x2f9d9b['_createHelper'](_0x2a93bf),_0x3b5902[_0x3eb32f(0x1b1)]=_0x2f9d9b['_createHmacHelper'](_0x2a93bf);}()),_0x5e161d[_0x4ced5e(0x26e)];}));}(_0x530dae)),_0x530dae[_0x4b4a39(0x20c)];}var _0x221fd7={'exports':{}},_0x3fe893=_0x221fd7[_0x2229a0(0x20c)],_0x266181;function _0x44695e(){var _0xbf8118=_0x2229a0;return _0x266181||(_0x266181=0x1,function(_0x335d80,_0x31c58b){(function(_0x216108,_0x53558b){var _0x51d414=_0x573a;_0x335d80[_0x51d414(0x20c)]=_0x53558b(_0x1b8113());}(_0x3fe893,function(_0x352be0){(function(){var _0x45fbc3=_0x573a,_0x376ab4=_0x352be0,_0x273aa9=_0x376ab4[_0x45fbc3(0x532)],_0x2cb9a2=_0x273aa9[_0x45fbc3(0x312)],_0x28a4b8=_0x376ab4[_0x45fbc3(0x230)],_0x536bc0=_0x28a4b8['Utf8'],_0x2d9dcb=_0x376ab4[_0x45fbc3(0x26d)];_0x2d9dcb[_0x45fbc3(0x1cb)]=_0x2cb9a2[_0x45fbc3(0x31f)]({'init':function(_0x1aaf4c,_0x5d2c21){var _0x3390a7=_0x45fbc3;_0x1aaf4c=this['_hasher']=new _0x1aaf4c[(_0x3390a7(0x222))](),typeof _0x5d2c21==_0x3390a7(0x289)&&(_0x5d2c21=_0x536bc0['parse'](_0x5d2c21));var _0x15c498=_0x1aaf4c[_0x3390a7(0x387)],_0x4f5ca1=_0x15c498*0x4;_0x5d2c21[_0x3390a7(0x34f)]>_0x4f5ca1&&(_0x5d2c21=_0x1aaf4c[_0x3390a7(0x28b)](_0x5d2c21)),_0x5d2c21[_0x3390a7(0x205)]();for(var _0x4f5dd8=this[_0x3390a7(0x335)]=_0x5d2c21[_0x3390a7(0x497)](),_0x56c616=this['_iKey']=_0x5d2c21[_0x3390a7(0x497)](),_0x1bb4f8=_0x4f5dd8[_0x3390a7(0x2c2)],_0x82c05=_0x56c616[_0x3390a7(0x2c2)],_0xa89d26=0x0;_0xa89d26<_0x15c498;_0xa89d26++)_0x1bb4f8[_0xa89d26]^=0x5c5c5c5c,_0x82c05[_0xa89d26]^=0x36363636;_0x4f5dd8['sigBytes']=_0x56c616[_0x3390a7(0x34f)]=_0x4f5ca1,this[_0x3390a7(0x439)]();},'reset':function(){var _0x241fb3=_0x45fbc3,_0x3b3324=this['_hasher'];_0x3b3324[_0x241fb3(0x439)](),_0x3b3324['update'](this[_0x241fb3(0x1a6)]);},'update':function(_0x149509){return this['_hasher']['update'](_0x149509),this;},'finalize':function(_0xf4a413){var _0x15a5a2=_0x45fbc3,_0x41c461=this[_0x15a5a2(0x3e9)],_0x416b2c=_0x41c461[_0x15a5a2(0x28b)](_0xf4a413);_0x41c461['reset']();var _0x17bd1e=_0x41c461['finalize'](this[_0x15a5a2(0x335)][_0x15a5a2(0x497)]()[_0x15a5a2(0x36e)](_0x416b2c));return _0x17bd1e;}});}());}));}(_0x221fd7)),_0x221fd7[_0xbf8118(0x20c)];}var _0xc2230b=_0x148d47[_0x2229a0(0x20c)],_0x4dd67;function _0x1ff6ca(){var _0x1b2bc8=_0x2229a0;return _0x4dd67||(_0x4dd67=0x1,function(_0x22604f,_0x480518){(function(_0x4491dd,_0x163539,_0x8406d7){_0x22604f['exports']=_0x163539(_0x1b8113(),_0x3fe2ba(),_0x44695e());}(_0xc2230b,function(_0x51ee1e){var _0x5169c1=_0x573a;return(function(){var _0x23f8e5=_0x573a,_0x3b3ad9=_0x51ee1e,_0x1af90d=_0x3b3ad9[_0x23f8e5(0x532)],_0x148eca=_0x1af90d['Base'],_0x2a3818=_0x1af90d[_0x23f8e5(0x491)],_0x259525=_0x3b3ad9[_0x23f8e5(0x26d)],_0x34d5dc=_0x259525[_0x23f8e5(0x1f4)],_0x4b34c3=_0x259525[_0x23f8e5(0x48e)]=_0x148eca[_0x23f8e5(0x31f)]({'cfg':_0x148eca['extend']({'keySize':0x80/0x20,'hasher':_0x34d5dc,'iterations':0x1}),'init':function(_0x535a62){var _0x41aac1=_0x23f8e5;this['cfg']=this[_0x41aac1(0x1c9)][_0x41aac1(0x31f)](_0x535a62);},'compute':function(_0x334618,_0x16ad8d){var _0x2ae965=_0x23f8e5;for(var _0x7a61ff,_0x372c02=this['cfg'],_0x48d622=_0x372c02[_0x2ae965(0x226)][_0x2ae965(0x4cc)](),_0xda19d2=_0x2a3818[_0x2ae965(0x4cc)](),_0x34c69c=_0xda19d2[_0x2ae965(0x2c2)],_0x286ca3=_0x372c02[_0x2ae965(0x36b)],_0x47014d=_0x372c02[_0x2ae965(0x51c)];_0x34c69c[_0x2ae965(0x316)]<_0x286ca3;){_0x7a61ff&&_0x48d622[_0x2ae965(0x19f)](_0x7a61ff),_0x7a61ff=_0x48d622[_0x2ae965(0x19f)](_0x334618)[_0x2ae965(0x28b)](_0x16ad8d),_0x48d622[_0x2ae965(0x439)]();for(var _0xb09bab=0x1;_0xb09bab<_0x47014d;_0xb09bab++)_0x7a61ff=_0x48d622[_0x2ae965(0x28b)](_0x7a61ff),_0x48d622[_0x2ae965(0x439)]();_0xda19d2[_0x2ae965(0x36e)](_0x7a61ff);}return _0xda19d2[_0x2ae965(0x34f)]=_0x286ca3*0x4,_0xda19d2;}});_0x3b3ad9[_0x23f8e5(0x48e)]=function(_0x1dd636,_0x61d7ad,_0xa2c85e){var _0xed87e2=_0x23f8e5;return _0x4b34c3['create'](_0xa2c85e)[_0xed87e2(0x345)](_0x1dd636,_0x61d7ad);};}()),_0x51ee1e[_0x5169c1(0x48e)];}));}(_0x148d47)),_0x148d47[_0x1b2bc8(0x20c)];}var _0x56e6c0={'exports':{}},_0x528aec=_0x56e6c0[_0x2229a0(0x20c)],_0x58cc97;function _0x215449(){return _0x58cc97||(_0x58cc97=0x1,function(_0x585c36,_0x29803f){(function(_0x263773,_0x51ca22,_0x4bc69c){var _0x1d9d54=_0x573a;_0x585c36[_0x1d9d54(0x20c)]=_0x51ca22(_0x1b8113(),_0x1ff6ca());}(_0x528aec,function(_0x349d87){var _0x3bb0b0=_0x573a;_0x349d87[_0x3bb0b0(0x532)]['Cipher']||function(_0x324ca6){var _0xbe9b0=_0x3bb0b0,_0x353036=_0x349d87,_0x543ad1=_0x353036[_0xbe9b0(0x532)],_0x254fad=_0x543ad1[_0xbe9b0(0x312)],_0x3d639a=_0x543ad1['WordArray'],_0x5b4a8f=_0x543ad1['BufferedBlockAlgorithm'],_0x30cd85=_0x353036[_0xbe9b0(0x230)];_0x30cd85['Utf8'];var _0x33feb4=_0x30cd85[_0xbe9b0(0x369)],_0x93aba3=_0x353036[_0xbe9b0(0x26d)],_0x17b511=_0x93aba3[_0xbe9b0(0x48e)],_0x215352=_0x543ad1[_0xbe9b0(0x2af)]=_0x5b4a8f['extend']({'cfg':_0x254fad[_0xbe9b0(0x31f)](),'createEncryptor':function(_0x31ab98,_0x218a28){var _0x1f8f20=_0xbe9b0;return this[_0x1f8f20(0x4cc)](this['_ENC_XFORM_MODE'],_0x31ab98,_0x218a28);},'createDecryptor':function(_0x5d8756,_0x47922e){var _0xfeeac7=_0xbe9b0;return this[_0xfeeac7(0x4cc)](this[_0xfeeac7(0x3c5)],_0x5d8756,_0x47922e);},'init':function(_0x1d90e9,_0x192161,_0x5cda67){var _0x41b240=_0xbe9b0;this[_0x41b240(0x1c9)]=this[_0x41b240(0x1c9)]['extend'](_0x5cda67),this[_0x41b240(0x4d4)]=_0x1d90e9,this['_key']=_0x192161,this[_0x41b240(0x439)]();},'reset':function(){var _0x3cb5e7=_0xbe9b0;_0x5b4a8f['reset'][_0x3cb5e7(0x2d1)](this),this[_0x3cb5e7(0x240)]();},'process':function(_0x53e9cb){var _0x53cbca=_0xbe9b0;return this[_0x53cbca(0x479)](_0x53e9cb),this['_process']();},'finalize':function(_0x30ba5f){var _0x16abce=_0xbe9b0;_0x30ba5f&&this[_0x16abce(0x479)](_0x30ba5f);var _0x2e585b=this[_0x16abce(0x3e1)]();return _0x2e585b;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4116cd(_0x2d76bd){var _0x1888ef=_0x573a;return typeof _0x2d76bd==_0x1888ef(0x289)?_0x3622ff:_0x506df2;}return function(_0x3381b8){return{'encrypt':function(_0x317403,_0x36bcec,_0x4c2b2e){return _0x4116cd(_0x36bcec)['encrypt'](_0x3381b8,_0x317403,_0x36bcec,_0x4c2b2e);},'decrypt':function(_0x1b6e97,_0x81029d,_0x5e1919){var _0x311ffc=_0x573a;return _0x4116cd(_0x81029d)[_0x311ffc(0x1fa)](_0x3381b8,_0x1b6e97,_0x81029d,_0x5e1919);}};};}())});_0x543ad1[_0xbe9b0(0x1a1)]=_0x215352[_0xbe9b0(0x31f)]({'_doFinalize':function(){var _0x2ec6ad=_0xbe9b0,_0xea1fe=this[_0x2ec6ad(0x2c9)](!0x0);return _0xea1fe;},'blockSize':0x1});var _0x53d67b=_0x353036['mode']={},_0x379393=_0x543ad1[_0xbe9b0(0x3cb)]=_0x254fad['extend']({'createEncryptor':function(_0x49cecf,_0x3109a7){var _0x1ec827=_0xbe9b0;return this[_0x1ec827(0x29d)][_0x1ec827(0x4cc)](_0x49cecf,_0x3109a7);},'createDecryptor':function(_0x182969,_0x33a781){var _0x3bb44e=_0xbe9b0;return this[_0x3bb44e(0x511)][_0x3bb44e(0x4cc)](_0x182969,_0x33a781);},'init':function(_0x58e59b,_0x54aab2){var _0x34149a=_0xbe9b0;this[_0x34149a(0x217)]=_0x58e59b,this[_0x34149a(0x448)]=_0x54aab2;}}),_0x57f238=_0x53d67b['CBC']=(function(){var _0x52f753=_0xbe9b0,_0x1119bb=_0x379393[_0x52f753(0x31f)]();_0x1119bb[_0x52f753(0x29d)]=_0x1119bb['extend']({'processBlock':function(_0x39c1d7,_0x44d6ac){var _0x28964e=_0x52f753,_0x1efe49=this[_0x28964e(0x217)],_0x4ffdb6=_0x1efe49[_0x28964e(0x387)];_0x299bcc[_0x28964e(0x2d1)](this,_0x39c1d7,_0x44d6ac,_0x4ffdb6),_0x1efe49[_0x28964e(0x2d9)](_0x39c1d7,_0x44d6ac),this[_0x28964e(0x1ed)]=_0x39c1d7['slice'](_0x44d6ac,_0x44d6ac+_0x4ffdb6);}}),_0x1119bb[_0x52f753(0x511)]=_0x1119bb[_0x52f753(0x31f)]({'processBlock':function(_0x4b46a4,_0x1194f5){var _0x11913b=_0x52f753,_0x207dfa=this[_0x11913b(0x217)],_0x2f968b=_0x207dfa['blockSize'],_0x101574=_0x4b46a4['slice'](_0x1194f5,_0x1194f5+_0x2f968b);_0x207dfa[_0x11913b(0x25a)](_0x4b46a4,_0x1194f5),_0x299bcc[_0x11913b(0x2d1)](this,_0x4b46a4,_0x1194f5,_0x2f968b),this[_0x11913b(0x1ed)]=_0x101574;}});function _0x299bcc(_0x2a776d,_0x5c3c49,_0x52c00f){var _0x41602a=_0x52f753,_0x429b1b,_0xc54812=this[_0x41602a(0x448)];_0xc54812?(_0x429b1b=_0xc54812,this[_0x41602a(0x448)]=_0x324ca6):_0x429b1b=this['_prevBlock'];for(var _0xb6c0fb=0x0;_0xb6c0fb<_0x52c00f;_0xb6c0fb++)_0x2a776d[_0x5c3c49+_0xb6c0fb]^=_0x429b1b[_0xb6c0fb];}return _0x1119bb;}()),_0x438e29=_0x353036[_0xbe9b0(0x417)]={},_0x1ad88e=_0x438e29[_0xbe9b0(0x39e)]={'pad':function(_0x2da9f2,_0x1e5563){var _0x4006d0=_0xbe9b0;for(var _0x2b0ffd=_0x1e5563*0x4,_0xb9a3d5=_0x2b0ffd-_0x2da9f2[_0x4006d0(0x34f)]%_0x2b0ffd,_0x389aa2=_0xb9a3d5<<0x18|_0xb9a3d5<<0x10|_0xb9a3d5<<0x8|_0xb9a3d5,_0xcb98ad=[],_0x40374f=0x0;_0x40374f<_0xb9a3d5;_0x40374f+=0x4)_0xcb98ad[_0x4006d0(0x4a3)](_0x389aa2);var _0x317e39=_0x3d639a[_0x4006d0(0x4cc)](_0xcb98ad,_0xb9a3d5);_0x2da9f2[_0x4006d0(0x36e)](_0x317e39);},'unpad':function(_0x5f005e){var _0x100d2c=_0xbe9b0,_0x405de8=_0x5f005e[_0x100d2c(0x2c2)][_0x5f005e[_0x100d2c(0x34f)]-0x1>>>0x2]&0xff;_0x5f005e[_0x100d2c(0x34f)]-=_0x405de8;}};_0x543ad1[_0xbe9b0(0x309)]=_0x215352[_0xbe9b0(0x31f)]({'cfg':_0x215352[_0xbe9b0(0x1c9)][_0xbe9b0(0x31f)]({'mode':_0x57f238,'padding':_0x1ad88e}),'reset':function(){var _0x43547c=_0xbe9b0,_0xc38bb9;_0x215352[_0x43547c(0x439)][_0x43547c(0x2d1)](this);var _0x2484dc=this['cfg'],_0xcf74e4=_0x2484dc['iv'],_0x2af823=_0x2484dc[_0x43547c(0x34e)];this['_xformMode']==this['_ENC_XFORM_MODE']?_0xc38bb9=_0x2af823[_0x43547c(0x47d)]:(_0xc38bb9=_0x2af823[_0x43547c(0x529)],this[_0x43547c(0x2d4)]=0x1),this['_mode']&&this[_0x43547c(0x43d)]['__creator']==_0xc38bb9?this['_mode'][_0x43547c(0x222)](this,_0xcf74e4&&_0xcf74e4[_0x43547c(0x2c2)]):(this['_mode']=_0xc38bb9[_0x43547c(0x2d1)](_0x2af823,this,_0xcf74e4&&_0xcf74e4[_0x43547c(0x2c2)]),this[_0x43547c(0x43d)]['__creator']=_0xc38bb9);},'_doProcessBlock':function(_0x487349,_0x13b5dc){var _0xbf95e0=_0xbe9b0;this[_0xbf95e0(0x43d)][_0xbf95e0(0x502)](_0x487349,_0x13b5dc);},'_doFinalize':function(){var _0x19f7be=_0xbe9b0,_0x21abd0,_0x57a862=this[_0x19f7be(0x1c9)][_0x19f7be(0x3bf)];return this[_0x19f7be(0x4d4)]==this[_0x19f7be(0x373)]?(_0x57a862['pad'](this[_0x19f7be(0x39d)],this[_0x19f7be(0x387)]),_0x21abd0=this[_0x19f7be(0x2c9)](!0x0)):(_0x21abd0=this['_process'](!0x0),_0x57a862[_0x19f7be(0x28a)](_0x21abd0)),_0x21abd0;},'blockSize':0x80/0x20});var _0x4eda08=_0x543ad1[_0xbe9b0(0x43f)]=_0x254fad[_0xbe9b0(0x31f)]({'init':function(_0x110149){this['mixIn'](_0x110149);},'toString':function(_0x187ef1){var _0x2838fe=_0xbe9b0;return(_0x187ef1||this[_0x2838fe(0x38f)])[_0x2838fe(0x418)](this);}}),_0x8e96cf=_0x353036[_0xbe9b0(0x48f)]={},_0x44d9af=_0x8e96cf[_0xbe9b0(0x435)]={'stringify':function(_0x21cd32){var _0x120739=_0xbe9b0,_0x3dc25a,_0x107b1a=_0x21cd32[_0x120739(0x385)],_0x531a47=_0x21cd32[_0x120739(0x419)];return _0x531a47?_0x3dc25a=_0x3d639a[_0x120739(0x4cc)]([0x53616c74,0x65645f5f])[_0x120739(0x36e)](_0x531a47)[_0x120739(0x36e)](_0x107b1a):_0x3dc25a=_0x107b1a,_0x3dc25a[_0x120739(0x520)](_0x33feb4);},'parse':function(_0x2107cf){var _0x59cb1e=_0xbe9b0,_0x3bb427,_0x53a816=_0x33feb4[_0x59cb1e(0x34b)](_0x2107cf),_0x9bdc96=_0x53a816[_0x59cb1e(0x2c2)];return _0x9bdc96[0x0]==0x53616c74&&_0x9bdc96[0x1]==0x65645f5f&&(_0x3bb427=_0x3d639a[_0x59cb1e(0x4cc)](_0x9bdc96['slice'](0x2,0x4)),_0x9bdc96['splice'](0x0,0x4),_0x53a816[_0x59cb1e(0x34f)]-=0x10),_0x4eda08['create']({'ciphertext':_0x53a816,'salt':_0x3bb427});}},_0x506df2=_0x543ad1[_0xbe9b0(0x524)]=_0x254fad[_0xbe9b0(0x31f)]({'cfg':_0x254fad['extend']({'format':_0x44d9af}),'encrypt':function(_0x19fb5b,_0x210e15,_0x39b572,_0x544bbb){var _0x529547=_0xbe9b0;_0x544bbb=this['cfg'][_0x529547(0x31f)](_0x544bbb);var _0x2175b6=_0x19fb5b[_0x529547(0x47d)](_0x39b572,_0x544bbb),_0x4e90e1=_0x2175b6[_0x529547(0x28b)](_0x210e15),_0x431622=_0x2175b6[_0x529547(0x1c9)];return _0x4eda08[_0x529547(0x4cc)]({'ciphertext':_0x4e90e1,'key':_0x39b572,'iv':_0x431622['iv'],'algorithm':_0x19fb5b,'mode':_0x431622['mode'],'padding':_0x431622[_0x529547(0x3bf)],'blockSize':_0x19fb5b[_0x529547(0x387)],'formatter':_0x544bbb['format']});},'decrypt':function(_0x4bd737,_0x9ec603,_0x4a6688,_0x75070d){var _0x360dd6=_0xbe9b0;_0x75070d=this[_0x360dd6(0x1c9)][_0x360dd6(0x31f)](_0x75070d),_0x9ec603=this[_0x360dd6(0x272)](_0x9ec603,_0x75070d['format']);var _0x2bec95=_0x4bd737[_0x360dd6(0x529)](_0x4a6688,_0x75070d)[_0x360dd6(0x28b)](_0x9ec603[_0x360dd6(0x385)]);return _0x2bec95;},'_parse':function(_0x1bad34,_0x43ae6c){var _0x540b35=_0xbe9b0;return typeof _0x1bad34==_0x540b35(0x289)?_0x43ae6c['parse'](_0x1bad34,this):_0x1bad34;}}),_0x14bbfe=_0x353036[_0xbe9b0(0x42d)]={},_0x3841dd=_0x14bbfe[_0xbe9b0(0x435)]={'execute':function(_0x5ebce3,_0x1806f2,_0x1ecf1a,_0x5b1abe,_0x4f5150){var _0x819f92=_0xbe9b0;if(_0x5b1abe||(_0x5b1abe=_0x3d639a[_0x819f92(0x1a7)](0x40/0x8)),_0x4f5150)var _0x1a6d45=_0x17b511[_0x819f92(0x4cc)]({'keySize':_0x1806f2+_0x1ecf1a,'hasher':_0x4f5150})[_0x819f92(0x345)](_0x5ebce3,_0x5b1abe);else var _0x1a6d45=_0x17b511[_0x819f92(0x4cc)]({'keySize':_0x1806f2+_0x1ecf1a})[_0x819f92(0x345)](_0x5ebce3,_0x5b1abe);var _0x100e06=_0x3d639a[_0x819f92(0x4cc)](_0x1a6d45['words'][_0x819f92(0x27f)](_0x1806f2),_0x1ecf1a*0x4);return _0x1a6d45[_0x819f92(0x34f)]=_0x1806f2*0x4,_0x4eda08[_0x819f92(0x4cc)]({'key':_0x1a6d45,'iv':_0x100e06,'salt':_0x5b1abe});}},_0x3622ff=_0x543ad1['PasswordBasedCipher']=_0x506df2[_0xbe9b0(0x31f)]({'cfg':_0x506df2[_0xbe9b0(0x1c9)][_0xbe9b0(0x31f)]({'kdf':_0x3841dd}),'encrypt':function(_0x445359,_0x22d1ac,_0x3fbf62,_0x1c29ac){var _0x20df53=_0xbe9b0;_0x1c29ac=this[_0x20df53(0x1c9)]['extend'](_0x1c29ac);var _0xacb973=_0x1c29ac['kdf'][_0x20df53(0x1ba)](_0x3fbf62,_0x445359['keySize'],_0x445359[_0x20df53(0x1bb)],_0x1c29ac[_0x20df53(0x419)],_0x1c29ac['hasher']);_0x1c29ac['iv']=_0xacb973['iv'];var _0x4b5477=_0x506df2[_0x20df53(0x20a)]['call'](this,_0x445359,_0x22d1ac,_0xacb973[_0x20df53(0x4cb)],_0x1c29ac);return _0x4b5477[_0x20df53(0x3c3)](_0xacb973),_0x4b5477;},'decrypt':function(_0x106409,_0x20b07a,_0x5cd80b,_0x46352c){var _0x5b0ff7=_0xbe9b0;_0x46352c=this['cfg']['extend'](_0x46352c),_0x20b07a=this['_parse'](_0x20b07a,_0x46352c[_0x5b0ff7(0x48f)]);var _0x57bbfe=_0x46352c[_0x5b0ff7(0x42d)][_0x5b0ff7(0x1ba)](_0x5cd80b,_0x106409['keySize'],_0x106409[_0x5b0ff7(0x1bb)],_0x20b07a[_0x5b0ff7(0x419)],_0x46352c[_0x5b0ff7(0x226)]);_0x46352c['iv']=_0x57bbfe['iv'];var _0x1de500=_0x506df2[_0x5b0ff7(0x1fa)][_0x5b0ff7(0x2d1)](this,_0x106409,_0x20b07a,_0x57bbfe[_0x5b0ff7(0x4cb)],_0x46352c);return _0x1de500;}});}();}));}(_0x56e6c0)),_0x56e6c0['exports'];}var _0x4f9845=_0x1d4c9d[_0x2229a0(0x20c)],_0x3145a8;function _0x3484b9(){var _0x2db368=_0x2229a0;return _0x3145a8||(_0x3145a8=0x1,function(_0x51c53a,_0x625e7){(function(_0x32305d,_0x3ece16,_0x4da55b){var _0xad7908=_0x573a;_0x51c53a[_0xad7908(0x20c)]=_0x3ece16(_0x1b8113(),_0x4fdf03(),_0x4c535b(),_0x1ff6ca(),_0x215449());}(_0x4f9845,function(_0x5264a4){var _0x35c07e=_0x573a;return(function(){var _0x1af60c=_0x573a,_0x280bc5=_0x5264a4,_0x225a6a=_0x280bc5['lib'],_0x840425=_0x225a6a['BlockCipher'],_0x3b7349=_0x280bc5['algo'],_0x341eb6=[],_0x4a6866=[],_0x1325b2=[],_0x4887f8=[],_0x9b023b=[],_0x17b5d=[],_0x131573=[],_0x358341=[],_0xc9bbc5=[],_0x319d4c=[];(function(){for(var _0x44d4ca=[],_0x1c6f61=0x0;_0x1c6f61<0x100;_0x1c6f61++)_0x1c6f61<0x80?_0x44d4ca[_0x1c6f61]=_0x1c6f61<<0x1:_0x44d4ca[_0x1c6f61]=_0x1c6f61<<0x1^0x11b;for(var _0x1bdead=0x0,_0x22bf34=0x0,_0x1c6f61=0x0;_0x1c6f61<0x100;_0x1c6f61++){var _0x2e933f=_0x22bf34^_0x22bf34<<0x1^_0x22bf34<<0x2^_0x22bf34<<0x3^_0x22bf34<<0x4;_0x2e933f=_0x2e933f>>>0x8^_0x2e933f&0xff^0x63,_0x341eb6[_0x1bdead]=_0x2e933f,_0x4a6866[_0x2e933f]=_0x1bdead;var _0x2a9f22=_0x44d4ca[_0x1bdead],_0x3b0468=_0x44d4ca[_0x2a9f22],_0x27d828=_0x44d4ca[_0x3b0468],_0x107e89=_0x44d4ca[_0x2e933f]*0x101^_0x2e933f*0x1010100;_0x1325b2[_0x1bdead]=_0x107e89<<0x18|_0x107e89>>>0x8,_0x4887f8[_0x1bdead]=_0x107e89<<0x10|_0x107e89>>>0x10,_0x9b023b[_0x1bdead]=_0x107e89<<0x8|_0x107e89>>>0x18,_0x17b5d[_0x1bdead]=_0x107e89;var _0x107e89=_0x27d828*0x1010101^_0x3b0468*0x10001^_0x2a9f22*0x101^_0x1bdead*0x1010100;_0x131573[_0x2e933f]=_0x107e89<<0x18|_0x107e89>>>0x8,_0x358341[_0x2e933f]=_0x107e89<<0x10|_0x107e89>>>0x10,_0xc9bbc5[_0x2e933f]=_0x107e89<<0x8|_0x107e89>>>0x18,_0x319d4c[_0x2e933f]=_0x107e89,_0x1bdead?(_0x1bdead=_0x2a9f22^_0x44d4ca[_0x44d4ca[_0x44d4ca[_0x27d828^_0x2a9f22]]],_0x22bf34^=_0x44d4ca[_0x44d4ca[_0x22bf34]]):_0x1bdead=_0x22bf34=0x1;}}());var _0xb862a5=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3f61cf=_0x3b7349[_0x1af60c(0x1b2)]=_0x840425[_0x1af60c(0x31f)]({'_doReset':function(){var _0x42d296=_0x1af60c,_0x3a897c;if(!(this[_0x42d296(0x3cf)]&&this['_keyPriorReset']===this[_0x42d296(0x443)])){for(var _0x55d76f=this['_keyPriorReset']=this[_0x42d296(0x443)],_0x2eff80=_0x55d76f[_0x42d296(0x2c2)],_0x33f3ce=_0x55d76f[_0x42d296(0x34f)]/0x4,_0x980a34=this[_0x42d296(0x3cf)]=_0x33f3ce+0x6,_0x362183=(_0x980a34+0x1)*0x4,_0x34c562=this[_0x42d296(0x348)]=[],_0x5ad2ba=0x0;_0x5ad2ba<_0x362183;_0x5ad2ba++)_0x5ad2ba<_0x33f3ce?_0x34c562[_0x5ad2ba]=_0x2eff80[_0x5ad2ba]:(_0x3a897c=_0x34c562[_0x5ad2ba-0x1],_0x5ad2ba%_0x33f3ce?_0x33f3ce>0x6&&_0x5ad2ba%_0x33f3ce==0x4&&(_0x3a897c=_0x341eb6[_0x3a897c>>>0x18]<<0x18|_0x341eb6[_0x3a897c>>>0x10&0xff]<<0x10|_0x341eb6[_0x3a897c>>>0x8&0xff]<<0x8|_0x341eb6[_0x3a897c&0xff]):(_0x3a897c=_0x3a897c<<0x8|_0x3a897c>>>0x18,_0x3a897c=_0x341eb6[_0x3a897c>>>0x18]<<0x18|_0x341eb6[_0x3a897c>>>0x10&0xff]<<0x10|_0x341eb6[_0x3a897c>>>0x8&0xff]<<0x8|_0x341eb6[_0x3a897c&0xff],_0x3a897c^=_0xb862a5[_0x5ad2ba/_0x33f3ce|0x0]<<0x18),_0x34c562[_0x5ad2ba]=_0x34c562[_0x5ad2ba-_0x33f3ce]^_0x3a897c);for(var _0x1a9c85=this[_0x42d296(0x30b)]=[],_0x2057ab=0x0;_0x2057ab<_0x362183;_0x2057ab++){var _0x5ad2ba=_0x362183-_0x2057ab;if(_0x2057ab%0x4)var _0x3a897c=_0x34c562[_0x5ad2ba];else var _0x3a897c=_0x34c562[_0x5ad2ba-0x4];_0x2057ab<0x4||_0x5ad2ba<=0x4?_0x1a9c85[_0x2057ab]=_0x3a897c:_0x1a9c85[_0x2057ab]=_0x131573[_0x341eb6[_0x3a897c>>>0x18]]^_0x358341[_0x341eb6[_0x3a897c>>>0x10&0xff]]^_0xc9bbc5[_0x341eb6[_0x3a897c>>>0x8&0xff]]^_0x319d4c[_0x341eb6[_0x3a897c&0xff]];}}},'encryptBlock':function(_0xa30b60,_0x481d5b){var _0x34e920=_0x1af60c;this[_0x34e920(0x2f2)](_0xa30b60,_0x481d5b,this[_0x34e920(0x348)],_0x1325b2,_0x4887f8,_0x9b023b,_0x17b5d,_0x341eb6);},'decryptBlock':function(_0x105684,_0x5e2f8c){var _0x7ee24f=_0x105684[_0x5e2f8c+0x1];_0x105684[_0x5e2f8c+0x1]=_0x105684[_0x5e2f8c+0x3],_0x105684[_0x5e2f8c+0x3]=_0x7ee24f,this['_doCryptBlock'](_0x105684,_0x5e2f8c,this['_invKeySchedule'],_0x131573,_0x358341,_0xc9bbc5,_0x319d4c,_0x4a6866);var _0x7ee24f=_0x105684[_0x5e2f8c+0x1];_0x105684[_0x5e2f8c+0x1]=_0x105684[_0x5e2f8c+0x3],_0x105684[_0x5e2f8c+0x3]=_0x7ee24f;},'_doCryptBlock':function(_0x213c08,_0x2dddfe,_0x22b064,_0x20f0c9,_0x4fe76e,_0x3d116a,_0x158df3,_0x5e8195){for(var _0x2ba7d3=this['_nRounds'],_0x34603b=_0x213c08[_0x2dddfe]^_0x22b064[0x0],_0x36c3a0=_0x213c08[_0x2dddfe+0x1]^_0x22b064[0x1],_0x1d1f1f=_0x213c08[_0x2dddfe+0x2]^_0x22b064[0x2],_0x1f98c9=_0x213c08[_0x2dddfe+0x3]^_0x22b064[0x3],_0x577bd8=0x4,_0x47e9b7=0x1;_0x47e9b7<_0x2ba7d3;_0x47e9b7++){var _0x457db1=_0x20f0c9[_0x34603b>>>0x18]^_0x4fe76e[_0x36c3a0>>>0x10&0xff]^_0x3d116a[_0x1d1f1f>>>0x8&0xff]^_0x158df3[_0x1f98c9&0xff]^_0x22b064[_0x577bd8++],_0x66fcd0=_0x20f0c9[_0x36c3a0>>>0x18]^_0x4fe76e[_0x1d1f1f>>>0x10&0xff]^_0x3d116a[_0x1f98c9>>>0x8&0xff]^_0x158df3[_0x34603b&0xff]^_0x22b064[_0x577bd8++],_0x1b812e=_0x20f0c9[_0x1d1f1f>>>0x18]^_0x4fe76e[_0x1f98c9>>>0x10&0xff]^_0x3d116a[_0x34603b>>>0x8&0xff]^_0x158df3[_0x36c3a0&0xff]^_0x22b064[_0x577bd8++],_0x140ecb=_0x20f0c9[_0x1f98c9>>>0x18]^_0x4fe76e[_0x34603b>>>0x10&0xff]^_0x3d116a[_0x36c3a0>>>0x8&0xff]^_0x158df3[_0x1d1f1f&0xff]^_0x22b064[_0x577bd8++];_0x34603b=_0x457db1,_0x36c3a0=_0x66fcd0,_0x1d1f1f=_0x1b812e,_0x1f98c9=_0x140ecb;}var _0x457db1=(_0x5e8195[_0x34603b>>>0x18]<<0x18|_0x5e8195[_0x36c3a0>>>0x10&0xff]<<0x10|_0x5e8195[_0x1d1f1f>>>0x8&0xff]<<0x8|_0x5e8195[_0x1f98c9&0xff])^_0x22b064[_0x577bd8++],_0x66fcd0=(_0x5e8195[_0x36c3a0>>>0x18]<<0x18|_0x5e8195[_0x1d1f1f>>>0x10&0xff]<<0x10|_0x5e8195[_0x1f98c9>>>0x8&0xff]<<0x8|_0x5e8195[_0x34603b&0xff])^_0x22b064[_0x577bd8++],_0x1b812e=(_0x5e8195[_0x1d1f1f>>>0x18]<<0x18|_0x5e8195[_0x1f98c9>>>0x10&0xff]<<0x10|_0x5e8195[_0x34603b>>>0x8&0xff]<<0x8|_0x5e8195[_0x36c3a0&0xff])^_0x22b064[_0x577bd8++],_0x140ecb=(_0x5e8195[_0x1f98c9>>>0x18]<<0x18|_0x5e8195[_0x34603b>>>0x10&0xff]<<0x10|_0x5e8195[_0x36c3a0>>>0x8&0xff]<<0x8|_0x5e8195[_0x1d1f1f&0xff])^_0x22b064[_0x577bd8++];_0x213c08[_0x2dddfe]=_0x457db1,_0x213c08[_0x2dddfe+0x1]=_0x66fcd0,_0x213c08[_0x2dddfe+0x2]=_0x1b812e,_0x213c08[_0x2dddfe+0x3]=_0x140ecb;},'keySize':0x100/0x20});_0x280bc5[_0x1af60c(0x1b2)]=_0x840425['_createHelper'](_0x3f61cf);}()),_0x5264a4[_0x35c07e(0x1b2)];}));}(_0x1d4c9d)),_0x1d4c9d[_0x2db368(0x20c)];}var _0x3c5494=_0x3484b9();const _0x1f8401=_0x5afa2c(_0x3c5494);var _0x2d3089=_0x4fdf03();const _0x223d77=_0x5afa2c(_0x2d3089);var _0x29a279={'exports':{}},_0x1d8036=_0x29a279[_0x2229a0(0x20c)],_0x317627;function _0x2ccc4c(){var _0x58bcf7=_0x2229a0;return _0x317627||(_0x317627=0x1,function(_0x1dac5e,_0x54ad7d){(function(_0x396e69,_0x3149be){var _0x8dfe85=_0x573a;_0x1dac5e[_0x8dfe85(0x20c)]=_0x3149be(_0x1b8113());}(_0x1d8036,function(_0x44cf56){var _0x3e0080=_0x573a;return _0x44cf56[_0x3e0080(0x230)]['Utf8'];}));}(_0x29a279)),_0x29a279[_0x58bcf7(0x20c)];}var _0x1bc40e=_0x2ccc4c();const _0x16d5b6=_0x5afa2c(_0x1bc40e);var _0x29c63f={'exports':{}},_0x10dcc0=_0x29c63f['exports'],_0x4dadc3;function _0x4e145f(){var _0x54ed6c=_0x2229a0;return _0x4dadc3||(_0x4dadc3=0x1,function(_0x5a11ce,_0x3b3275){(function(_0xdbccff,_0x41adf8){var _0x820d9c=_0x573a;_0x5a11ce[_0x820d9c(0x20c)]=_0x41adf8(_0x1b8113());}(_0x10dcc0,function(_0xaef276){var _0x12bafc=_0x573a;return(function(){var _0x427c28=_0x573a;if(typeof ArrayBuffer==_0x427c28(0x3a3)){var _0x5b3671=_0xaef276,_0x1f4a7b=_0x5b3671['lib'],_0x1f7752=_0x1f4a7b['WordArray'],_0x5949d0=_0x1f7752[_0x427c28(0x222)],_0x15c073=_0x1f7752[_0x427c28(0x222)]=function(_0x306cb8){var _0x5426af=_0x427c28;if(_0x306cb8 instanceof ArrayBuffer&&(_0x306cb8=new Uint8Array(_0x306cb8)),(_0x306cb8 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x306cb8 instanceof Uint8ClampedArray||_0x306cb8 instanceof Int16Array||_0x306cb8 instanceof Uint16Array||_0x306cb8 instanceof Int32Array||_0x306cb8 instanceof Uint32Array||_0x306cb8 instanceof Float32Array||_0x306cb8 instanceof Float64Array)&&(_0x306cb8=new Uint8Array(_0x306cb8[_0x5426af(0x52d)],_0x306cb8[_0x5426af(0x2b1)],_0x306cb8[_0x5426af(0x2e0)])),_0x306cb8 instanceof Uint8Array){for(var _0x4dafc4=_0x306cb8[_0x5426af(0x2e0)],_0x59eb7d=[],_0x5923d6=0x0;_0x5923d6<_0x4dafc4;_0x5923d6++)_0x59eb7d[_0x5923d6>>>0x2]|=_0x306cb8[_0x5923d6]<<0x18-_0x5923d6%0x4*0x8;_0x5949d0[_0x5426af(0x2d1)](this,_0x59eb7d,_0x4dafc4);}else _0x5949d0['apply'](this,arguments);};_0x15c073[_0x427c28(0x362)]=_0x1f7752;}}()),_0xaef276[_0x12bafc(0x532)]['WordArray'];}));}(_0x29c63f)),_0x29c63f[_0x54ed6c(0x20c)];}var _0x15c2d9=_0x4e145f();const _0x1737b5=_0x5afa2c(_0x15c2d9);var _0x44b6db={'exports':{}},_0x4f9b5b=_0x44b6db[_0x2229a0(0x20c)],_0x1030cc;function _0x9517bb(){var _0x23456e=_0x2229a0;return _0x1030cc||(_0x1030cc=0x1,function(_0x40c453,_0x5dd361){(function(_0x146f8f,_0x4c02b9,_0x16347c){var _0x40fdfd=_0x573a;_0x40c453[_0x40fdfd(0x20c)]=_0x4c02b9(_0x1b8113(),_0x215449());}(_0x4f9b5b,function(_0x3319bd){var _0x420056=_0x573a;return _0x3319bd[_0x420056(0x417)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x3319bd[_0x420056(0x417)][_0x420056(0x265)];}));}(_0x44b6db)),_0x44b6db[_0x23456e(0x20c)];}var _0x7830d5=_0x9517bb();const _0x505b05=_0x5afa2c(_0x7830d5);function _0x2f39ca(_0x3f7037,_0x58bd1c){var _0x1c102b=_0x2229a0;const _0x845c06=_0x58bd1c-_0x3f7037[_0x1c102b(0x316)]%_0x58bd1c,_0x42386b=String[_0x1c102b(0x1b0)](_0x845c06)[_0x1c102b(0x4aa)](_0x845c06);return _0x3f7037+_0x42386b;}function _0x785fd2(_0x291de1,_0x332525){var _0x5d6d6a=_0x2229a0;const _0x3f77e1=_0x1737b5[_0x5d6d6a(0x1a7)](0x10),_0xe68f01=_0x2f39ca(_0x291de1,0x10),_0x44e01e=_0x1f8401[_0x5d6d6a(0x20a)](_0x16d5b6[_0x5d6d6a(0x34b)](_0xe68f01),_0x223d77[_0x5d6d6a(0x34b)](_0x332525),{'iv':_0x3f77e1,'padding':_0x505b05});return _0x3f77e1['concat'](_0x44e01e[_0x5d6d6a(0x385)])[_0x5d6d6a(0x520)](_0x223d77);}function _0x24183f(){var _0x194b38=_0x2229a0;const _0x976237=_0x4b2b6c['getGlobalObject']()[_0x194b38(0x249)];if(typeof window<'u'&&typeof window['location']<'u'&&_0x976237){const _0x34ff42={'time':Math[_0x194b38(0x453)](Date['now']()/0x3e8),'domain':location[_0x194b38(0x525)]};return _0x785fd2(JSON[_0x194b38(0x418)](_0x34ff42),_0x976237);}}var _0x3173dd=Object['getOwnPropertyDescriptor'],_0x5ac8a3=(_0x316d0d,_0x1643d2,_0x312b29,_0x46c7ff)=>{var _0x4f0673=_0x2229a0;for(var _0x3d7362=_0x46c7ff>0x1?void 0x0:_0x46c7ff?_0x3173dd(_0x1643d2,_0x312b29):_0x1643d2,_0x5ba2b5=_0x316d0d[_0x4f0673(0x316)]-0x1,_0x13d7ae;_0x5ba2b5>=0x0;_0x5ba2b5--)(_0x13d7ae=_0x316d0d[_0x5ba2b5])&&(_0x3d7362=_0x13d7ae(_0x3d7362)||_0x3d7362);return _0x3d7362;},_0x11a146=(_0x2ad62b,_0x14af00)=>(_0x24176d,_0x104249)=>_0x14af00(_0x24176d,_0x104249,_0x2ad62b);let _0xfc7ebc=class{constructor(_0x453dde){var _0x403c43=_0x2229a0;this['_httpService']=_0x453dde,this[_0x403c43(0x299)]();}[_0x2229a0(0x299)](){var _0x174487=_0x2229a0;this[_0x174487(0x510)]['registerHTTPInterceptor']({'interceptor':(_0x6f8728,_0x54fbb2)=>{var _0x16829d=_0x174487;const _0x473429=_0x6f8728[_0x16829d(0x44b)],_0x36d3c4=_0x24183f();return _0x36d3c4&&_0x473429[_0x16829d(0x3a6)](_0x16829d(0x2fb),_0x36d3c4),_0x54fbb2(_0x6f8728);}});}};_0xfc7ebc=_0x5ac8a3([_0x11a146(0x0,_0x158513[_0x2229a0(0x1c1)](_0x5b6221[_0x2229a0(0x1c8)]))],_0xfc7ebc);var _0x13ed95=Object[_0x2229a0(0x330)],_0x596de=(_0x5ddd35,_0x5ad850,_0x4b2ab8,_0x48c9ad)=>{var _0x4e5278=_0x2229a0;for(var _0x4f9670=_0x48c9ad>0x1?void 0x0:_0x48c9ad?_0x13ed95(_0x5ad850,_0x4b2ab8):_0x5ad850,_0x2b9b52=_0x5ddd35[_0x4e5278(0x316)]-0x1,_0x1c572c;_0x2b9b52>=0x0;_0x2b9b52--)(_0x1c572c=_0x5ddd35[_0x2b9b52])&&(_0x4f9670=_0x1c572c(_0x4f9670)||_0x4f9670);return _0x4f9670;},_0x35c7fd=(_0x2bebdd,_0x2c6472)=>(_0x45c5ba,_0x2815fa)=>_0x2c6472(_0x45c5ba,_0x2815fa,_0x2bebdd);_0x5e3fa4[_0x2229a0(0x4ec)]=class extends _0x158513[_0x2229a0(0x42c)]{constructor(_0x515a10,_0x5ab780,_0x4b924a){var _0x32c2e5=_0x2229a0;super(),_0x4b59b5(this,_0x32c2e5(0x327),new _0x32f9ef[(_0x32c2e5(0x3ce))](null)),_0x4b59b5(this,_0x32c2e5(0x1a0),this[_0x32c2e5(0x327)][_0x32c2e5(0x1d1)]()),(this['_logService']=_0x515a10,this[_0x32c2e5(0x3dd)]=_0x5ab780,this['_localCacheService']=_0x4b924a);}async['loadUnitOfRevision'](_0xda567f,_0xcc5934,_0x5e0a69){var _0xeace81=_0x2229a0;this[_0xeace81(0x327)][_0xeace81(0x393)]({'unitId':_0xda567f,'type':_0xcc5934});let _0x10d333=null;switch(_0xcc5934){case _0x24c96d[_0xeace81(0x394)]:{_0x10d333=await this[_0xeace81(0x3dd)][_0xeace81(0x297)](_0xda567f,_0x5e0a69);break;}case _0x24c96d['UNIVER_DOC']:{_0x10d333=await this[_0xeace81(0x3dd)]['loadDoc'](_0xda567f,_0x5e0a69);break;}default:{this[_0xeace81(0x501)]['error'](_0xeace81(0x42b),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x10d333;}async['loadUnit'](_0x4ec3c2,_0xc634d8,_0x6841ec){var _0xf44a8f=_0x2229a0,_0x44ecdc;this[_0xf44a8f(0x327)]['next']({'unitId':_0x4ec3c2,'type':_0xc634d8,'subUnitId':_0x6841ec});let _0x3fd001=0x0;const _0x301030=await((_0x44ecdc=this['_localCacheService'])==null?void 0x0:_0x44ecdc[_0xf44a8f(0x28f)](_0x4ec3c2));return _0x301030&&(_0x301030[_0xf44a8f(0x1c2)]||_0x301030[_0xf44a8f(0x3b3)]['length']!==0x0)&&(_0x3fd001=_0x301030[_0xf44a8f(0x50c)]),_0x3fd001===0x0&&this[_0xf44a8f(0x501)]['debug'](_0xf44a8f(0x42b),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0xf44a8f(0x1cd)](_0x4ec3c2,_0xc634d8,_0x3fd001);}},_0x5e3fa4[_0x2229a0(0x4ec)]=_0x596de([_0x35c7fd(0x0,_0x158513['ILogService']),_0x35c7fd(0x1,_0x158513[_0x2229a0(0x1c1)](_0x35009e['SnapshotService'])),_0x35c7fd(0x2,_0x158513[_0x2229a0(0x224)](_0x53e5a0))],_0x5e3fa4[_0x2229a0(0x4ec)]);var _0x392260=Object['getOwnPropertyDescriptor'],_0xbfce8b=(_0x5ed7b3,_0x5cb32a,_0x2cd55a,_0x41d60b)=>{for(var _0x1ad2cb=_0x41d60b>0x1?void 0x0:_0x41d60b?_0x392260(_0x5cb32a,_0x2cd55a):_0x5cb32a,_0x1f9aaa=_0x5ed7b3['length']-0x1,_0x5710fa;_0x1f9aaa>=0x0;_0x1f9aaa--)(_0x5710fa=_0x5ed7b3[_0x1f9aaa])&&(_0x1ad2cb=_0x5710fa(_0x1ad2cb)||_0x1ad2cb);return _0x1ad2cb;},_0xd19d7b=(_0x1eeff6,_0x314977)=>(_0x53b6b8,_0x1d7a9e)=>_0x314977(_0x53b6b8,_0x1d7a9e,_0x1eeff6);const _0x66c128=[_0x2229a0(0x38c),_0x2229a0(0x4dc),_0x2229a0(0x3ec),_0x2229a0(0x4df),_0x2229a0(0x411)],_0x5d0c92=0x5*0x400*0x400,_0x3d37b0=_0x2229a0(0x32b),_0x3e918f=_0x2229a0(0x4e8);_0x5e3fa4['CollaborationImageIoService']=class{constructor(_0x5ad0d0,_0x522af4,_0x3ecfb9){var _0x144d67=_0x2229a0;_0x4b59b5(this,'_waitCount',0x0),_0x4b59b5(this,'_change$',new _0x32f9ef[(_0x144d67(0x2e1))]()),_0x4b59b5(this,_0x144d67(0x3a8),this[_0x144d67(0x37f)]),_0x4b59b5(this,'_imageSourceCache',new Map()),(this[_0x144d67(0x510)]=_0x5ad0d0,this['_configService']=_0x522af4,this[_0x144d67(0x1ae)]=_0x3ecfb9);}[_0x2229a0(0x51a)](_0x2345ad){var _0x414b5a=_0x2229a0;this[_0x414b5a(0x32d)]=_0x2345ad,this[_0x414b5a(0x37f)][_0x414b5a(0x393)](_0x2345ad);}['getImageSourceCache'](_0x3f1459,_0x396f10){var _0x331c32=_0x2229a0;if(_0x396f10===_0x2bf003[_0x331c32(0x21a)][_0x331c32(0x318)]){const _0x1d2bac=new Image();return _0x1d2bac[_0x331c32(0x26a)]=_0x3f1459,_0x1d2bac;}return this[_0x331c32(0x1ef)][_0x331c32(0x444)](_0x3f1459);}[_0x2229a0(0x1f3)](_0x46a801,_0x294203,_0x7ffe23){var _0x348a17=_0x2229a0;_0x294203===_0x2bf003[_0x348a17(0x21a)]['BASE64']||_0x7ffe23==null||this[_0x348a17(0x1ef)][_0x348a17(0x3a6)](_0x46a801,_0x7ffe23);}async['getImage'](_0x5ef339){var _0x3f43ac=_0x2229a0;try{const _0x4a89a4=this[_0x3f43ac(0x333)](this[_0x3f43ac(0x2c6)](),''+_0x5ef339),_0x38cf5d=(await this['_httpService']['get'](_0x4a89a4))[_0x3f43ac(0x341)];if(_0x38cf5d['error']&&_0x38cf5d['error'][_0x3f43ac(0x2f8)]===_0x2878f7['OK']){const _0x5c6139=_0x158513['resolveWithBasePath'](_0x38cf5d['url'],this['_getDownloadEndpointURL']());return Promise[_0x3f43ac(0x3d6)](_0x5c6139);}return Promise['reject'](_0x38cf5d['error']);}catch(_0x497cae){return Promise[_0x3f43ac(0x232)](_0x497cae);}}async['saveImage'](_0x4538c1){var _0x66fc46=_0x2229a0;let _0x2b27cc='';if(!_0x66c128[_0x66fc46(0x1a8)](_0x4538c1[_0x66fc46(0x4b3)]))return this[_0x66fc46(0x1c0)](),Promise[_0x66fc46(0x232)](new Error(_0x2bf003[_0x66fc46(0x1be)][_0x66fc46(0x234)]));if(_0x4538c1[_0x66fc46(0x4f0)]>_0x5d0c92)return this[_0x66fc46(0x1c0)](),Promise['reject'](new Error(_0x2bf003['ImageUploadStatusType'][_0x66fc46(0x19b)]));try{const _0x4adf87=new FormData();_0x4adf87[_0x66fc46(0x201)](_0x66fc46(0x470),_0x4538c1);const _0x79aada=this[_0x66fc46(0x1ae)][_0x66fc46(0x40e)](),_0x4fdd2b=_0x79aada==null?void 0x0:_0x79aada['getUnitId']();if(!_0x4fdd2b)throw new Error(_0x66fc46(0x32c));const _0x2a5a66=this[_0x66fc46(0x344)]()+_0x66fc46(0x486)+_0x4538c1[_0x66fc46(0x4f0)][_0x66fc46(0x520)]()+_0x66fc46(0x2eb)+_0x1b6d95[_0x66fc46(0x1dd)]+'&assign='+encodeURIComponent(_0x4fdd2b),_0x3b8c35={'body':_0x4adf87},_0x1a86e6=(await this[_0x66fc46(0x510)][_0x66fc46(0x3f4)](_0x2a5a66,_0x3b8c35))[_0x66fc46(0x341)];if(typeof _0x1a86e6['FileId']!='string')return this[_0x66fc46(0x1c0)](),Promise[_0x66fc46(0x232)](new Error(_0x2bf003[_0x66fc46(0x1be)]['ERROR_IMAGE']));_0x2b27cc=_0x1a86e6[_0x66fc46(0x4ab)];}catch{return this[_0x66fc46(0x1c0)](),Promise[_0x66fc46(0x232)](new Error(_0x2bf003[_0x66fc46(0x1be)][_0x66fc46(0x2fe)]));}return new Promise((_0x468642,_0x5d4b2e)=>{var _0x28318b=_0x66fc46;const _0x23669c=new FileReader();_0x23669c[_0x28318b(0x2cf)](_0x4538c1),_0x23669c[_0x28318b(0x27d)]=_0x34d06f=>{var _0x6bb38=_0x28318b,_0x1a0bac;const _0x8a9631=(_0x1a0bac=_0x34d06f[_0x6bb38(0x3fe)])==null?void 0x0:_0x1a0bac[_0x6bb38(0x3e2)];if(_0x8a9631==null){this[_0x6bb38(0x1c0)](),_0x5d4b2e(new Error(_0x2bf003[_0x6bb38(0x1be)][_0x6bb38(0x2fe)]));return;}const _0x130f3a=_0x158513[_0x6bb38(0x2db)](0x6);_0x468642({'imageId':_0x130f3a,'imageSourceType':_0x2bf003['ImageSourceType'][_0x6bb38(0x26b)],'source':_0x2b27cc,'base64Cache':_0x8a9631,'status':_0x2bf003[_0x6bb38(0x1be)][_0x6bb38(0x442)]}),this[_0x6bb38(0x1c0)]();};});}[_0x2229a0(0x344)](){var _0x296a11=_0x2229a0,_0x5d28b3;const _0x1d9339=this[_0x296a11(0x24f)][_0x296a11(0x247)](_0x5e0130);return(_0x5d28b3=_0x1d9339==null?void 0x0:_0x1d9339[_0x296a11(0x36f)])!=null?_0x5d28b3:_0x3d37b0;}['_getSignURL'](){var _0x2612b0=_0x2229a0,_0x5c9170;const _0x3c4aab=this[_0x2612b0(0x24f)][_0x2612b0(0x247)](_0x5e0130);return(_0x5c9170=_0x3c4aab==null?void 0x0:_0x3c4aab['signUrlServerUrl'])!=null?_0x5c9170:_0x3e918f;}[_0x2229a0(0x1fd)](){var _0x128974=_0x2229a0,_0x3a6452;const _0x28fb07=this[_0x128974(0x24f)][_0x128974(0x247)](_0x5e0130);return(_0x3a6452=_0x28fb07==null?void 0x0:_0x28fb07['downloadEndpointUrl'])!=null?_0x3a6452:location[_0x128974(0x2dc)];}[_0x2229a0(0x333)](_0x37865a,_0x5a01ee){var _0x2c072e=_0x2229a0;return _0x37865a[_0x2c072e(0x3af)]('{fileID}',_0x5a01ee);}[_0x2229a0(0x1c0)](){var _0x7eb51e=_0x2229a0;this[_0x7eb51e(0x32d)]-=0x1,this[_0x7eb51e(0x37f)][_0x7eb51e(0x393)](this['_waitCount']);}},_0x5e3fa4['CollaborationImageIoService']=_0xbfce8b([_0xd19d7b(0x0,_0x158513['Inject'](_0x5b6221[_0x2229a0(0x1c8)])),_0xd19d7b(0x1,_0x158513[_0x2229a0(0x4c2)]),_0xd19d7b(0x2,_0x158513[_0x2229a0(0x1c1)](_0x158513[_0x2229a0(0x4ad)]))],_0x5e3fa4[_0x2229a0(0x2b7)]);var _0x1b72a1=Object['getOwnPropertyDescriptor'],_0x50aa69=(_0x586c85,_0x1573eb,_0x122824,_0x269269)=>{var _0x48c97a=_0x2229a0;for(var _0x31e345=_0x269269>0x1?void 0x0:_0x269269?_0x1b72a1(_0x1573eb,_0x122824):_0x1573eb,_0x7dda5b=_0x586c85[_0x48c97a(0x316)]-0x1,_0x5a66f9;_0x7dda5b>=0x0;_0x7dda5b--)(_0x5a66f9=_0x586c85[_0x7dda5b])&&(_0x31e345=_0x5a66f9(_0x31e345)||_0x31e345);return _0x31e345;},_0x4d8d81=(_0x55b691,_0x128c54)=>(_0x149794,_0x299223)=>_0x128c54(_0x149794,_0x299223,_0x55b691);const _0x21400e=_0x2229a0(0x4fb);_0x5e3fa4[_0x2229a0(0x471)]=class{constructor(_0x1ced79,_0x21a7ce){var _0x40c873=_0x2229a0;this[_0x40c873(0x24f)]=_0x1ced79,this[_0x40c873(0x49d)]=_0x21a7ce;}[_0x2229a0(0x50f)](){var _0x589107=_0x2229a0,_0x211588;const _0x5632ab=this[_0x589107(0x24f)]['getConfig'](_0x5e0130);return(_0x211588=_0x5632ab==null?void 0x0:_0x5632ab[_0x589107(0x4a5)])!=null?_0x211588:_0x21400e;}async['list'](_0x5b6407){var _0x1fafb6=_0x2229a0;const _0x2cfa3c=this[_0x1fafb6(0x50f)]()+'/collaborator';return{'list':[{'title':_0x1fafb6(0x509),'mentions':(await this[_0x1fafb6(0x49d)][_0x1fafb6(0x444)](_0x2cfa3c,{'params':{'objectID':_0x5b6407[_0x1fafb6(0x506)],'unitID':_0x5b6407[_0x1fafb6(0x506)]}}))['body'][_0x1fafb6(0x4a8)][_0x1fafb6(0x1d8)](_0x4e07f5=>({'objectId':_0x4e07f5['id'],'name':_0x4e07f5[_0x1fafb6(0x434)]['name'],'metadata':{'icon':_0x4e07f5['subject'][_0x1fafb6(0x2ee)]},'label':_0x4e07f5[_0x1fafb6(0x434)]['name'],'objectType':_0x158513['MentionType'][_0x1fafb6(0x472)]})),'metadata':{},'type':_0x158513[_0x1fafb6(0x276)]['PERSON']}]};}},_0x5e3fa4[_0x2229a0(0x471)]=_0x50aa69([_0x4d8d81(0x0,_0x158513[_0x2229a0(0x1c1)](_0x158513[_0x2229a0(0x4c2)])),_0x4d8d81(0x1,_0x158513['Inject'](_0x5b6221[_0x2229a0(0x1c8)]))],_0x5e3fa4['MentionIoHttpService']);var _0x23dec3=Object[_0x2229a0(0x330)],_0x2fb8dd=(_0x5cc208,_0x5dfa8e,_0x200307,_0x11bf33)=>{var _0x5e055e=_0x2229a0;for(var _0x58dfbe=_0x11bf33>0x1?void 0x0:_0x11bf33?_0x23dec3(_0x5dfa8e,_0x200307):_0x5dfa8e,_0x3d066b=_0x5cc208[_0x5e055e(0x316)]-0x1,_0x472a7a;_0x3d066b>=0x0;_0x3d066b--)(_0x472a7a=_0x5cc208[_0x3d066b])&&(_0x58dfbe=_0x472a7a(_0x58dfbe)||_0x58dfbe);return _0x58dfbe;},_0x3604ad=(_0x5be16e,_0x833606)=>(_0x51c6f9,_0x1e506a)=>_0x833606(_0x51c6f9,_0x1e506a,_0x5be16e);let _0x38cfa4=class extends _0x158513[_0x2229a0(0x42c)]{constructor(_0x2d5f72,_0x539e3d,_0x4deeac,_0x38ae3c,_0x525949){var _0x322bc0=_0x2229a0;super(),this[_0x322bc0(0x315)]=_0x2d5f72,this[_0x322bc0(0x1ae)]=_0x539e3d,this[_0x322bc0(0x4c1)]=_0x4deeac,this[_0x322bc0(0x4d2)]=_0x38ae3c,this['_collaborationUIEventService']=_0x525949,this[_0x322bc0(0x4fd)](),this[_0x322bc0(0x20d)]();}[_0x2229a0(0x20d)](){var _0x4d3b95=_0x2229a0;const _0x418f3d=async _0x34ed4a=>{var _0x53880b=_0x573a;(await this[_0x53880b(0x4d2)][_0x53880b(0x264)](_0x34ed4a))[_0x53880b(0x413)][_0x53880b(0x3fa)](_0x16efa3['filter'](_0x418663=>_0x418663[_0x53880b(0x40a)]===_0x35009e[_0x53880b(0x499)][_0x53880b(0x2ff)]),_0x16efa3['takeUntil'](this[_0x53880b(0x4ce)]))[_0x53880b(0x206)](_0x47ab45=>{var _0x33761d=_0x53880b;const _0x51c6a6=_0x47ab45,{reason:_0x478fc4}=_0x51c6a6[_0x33761d(0x214)];this['_collaborationUIEventService']['emitEvent']({'id':_0x306c72[_0x33761d(0x20e)],'data':_0x478fc4}),this[_0x33761d(0x4c1)][_0x33761d(0x534)](new _0x18f772[(_0x33761d(0x467))](_0x34ed4a)['id'],!0x1),this['_collaborationSessionService'][_0x33761d(0x1d5)](_0x34ed4a);});};_0x32f9ef[_0x4d3b95(0x47e)](this[_0x4d3b95(0x1ae)][_0x4d3b95(0x426)](_0x158513[_0x4d3b95(0x39a)][_0x4d3b95(0x394)]),this[_0x4d3b95(0x1ae)][_0x4d3b95(0x426)](_0x158513[_0x4d3b95(0x39a)]['UNIVER_DOC']))[_0x4d3b95(0x3fa)](_0x16efa3['map'](_0x5db9f6=>_0x5db9f6[_0x4d3b95(0x2ea)]()),_0x16efa3['filter'](_0x2201bc=>!_0x158513[_0x4d3b95(0x27c)](_0x2201bc)),_0x16efa3[_0x4d3b95(0x251)](this[_0x4d3b95(0x4ce)]))['subscribe'](_0x3c66b=>{_0x418f3d(_0x3c66b);});}[_0x2229a0(0x4fd)](){var _0x5b4873=_0x2229a0;const _0x8d297=async _0x35a907=>{var _0x9fca92=_0x573a;const _0x3d1dff=await this[_0x9fca92(0x4d2)]['requireSession'](_0x35a907),_0x2b63c2=this[_0x9fca92(0x315)][_0x9fca92(0x444)](_0x18f772[_0x9fca92(0x33e)]);_0x3d1dff[_0x9fca92(0x413)][_0x9fca92(0x3fa)](_0x16efa3[_0x9fca92(0x51e)](_0x114a33=>_0x114a33[_0x9fca92(0x40a)]===_0x35009e[_0x9fca92(0x499)]['UPDATE_PERMISSION_OBJ']),_0x16efa3[_0x9fca92(0x251)](this[_0x9fca92(0x4ce)]))['subscribe'](_0xe2ec33=>{var _0x908da4=_0x9fca92;const _0x1fe9b1=_0xe2ec33,{objectId:_0x5618b2}=_0x1fe9b1['data'];_0x5618b2===_0x35a907?_0x2b63c2[_0x908da4(0x2a2)](_0x35a907):_0x2b63c2[_0x908da4(0x32e)](_0x35a907,_0x5618b2);});};_0x32f9ef[_0x5b4873(0x47e)](this[_0x5b4873(0x1ae)]['getTypeOfUnitAdded$'](_0x158513['UniverInstanceType'][_0x5b4873(0x394)]))['pipe'](_0x16efa3[_0x5b4873(0x1d8)](_0x12c3d4=>_0x12c3d4[_0x5b4873(0x2ea)]()),_0x16efa3['filter'](_0x10e131=>!_0x158513[_0x5b4873(0x27c)](_0x10e131)),_0x16efa3[_0x5b4873(0x251)](this[_0x5b4873(0x4ce)]))[_0x5b4873(0x206)](_0x2067b1=>{_0x8d297(_0x2067b1);});}};_0x38cfa4=_0x2fb8dd([_0x3604ad(0x0,_0x158513[_0x2229a0(0x1c1)](_0x158513[_0x2229a0(0x523)])),_0x3604ad(0x1,_0x158513['IUniverInstanceService']),_0x3604ad(0x2,_0x158513[_0x2229a0(0x4bd)]),_0x3604ad(0x3,_0x158513[_0x2229a0(0x1c1)](_0x5e3fa4['CollaborationSessionService'])),_0x3604ad(0x4,_0x158513[_0x2229a0(0x1c1)](_0x1a9793))],_0x38cfa4);var _0x1d5720=Object[_0x2229a0(0x330)],_0x1bdc95=(_0x27074d,_0x3444e4,_0x3c26b6,_0x349ebf)=>{var _0x460e6d=_0x2229a0;for(var _0x316e3d=_0x349ebf>0x1?void 0x0:_0x349ebf?_0x1d5720(_0x3444e4,_0x3c26b6):_0x3444e4,_0x2b6bd0=_0x27074d[_0x460e6d(0x316)]-0x1,_0xd0338b;_0x2b6bd0>=0x0;_0x2b6bd0--)(_0xd0338b=_0x27074d[_0x2b6bd0])&&(_0x316e3d=_0xd0338b(_0x316e3d)||_0x316e3d);return _0x316e3d;},_0x1c6e30=(_0x4d0c27,_0x1f8e45)=>(_0x46c7e7,_0x20b7e2)=>_0x1f8e45(_0x46c7e7,_0x20b7e2,_0x4d0c27);_0x5e3fa4['SnapshotServerOverHTTPService']=class{constructor(_0x34cca1,_0x576ede){var _0x3ea3aa=_0x2229a0;this['_configService']=_0x34cca1,this[_0x3ea3aa(0x510)]=_0x576ede;}async[_0x2229a0(0x51b)](_0xecd800,_0x189ff7){var _0x179a7b=_0x2229a0,_0x5e4c56;const {unitID:_0x523ed2,type:_0x54361a,revision:_0x2e0aa5=0x0}=_0x189ff7,_0x22f5f8=this[_0x179a7b(0x4e6)]()+'/'+_0x54361a+'/unit/'+_0x523ed2+'/rev/'+_0x2e0aa5,_0xd138f4=(await this[_0x179a7b(0x510)]['get'](_0x22f5f8))['body'],_0x18df05=(_0x5e4c56=_0xd138f4[_0x179a7b(0x35e)])==null?void 0x0:_0x5e4c56[_0x179a7b(0x1b3)];if(_0x18df05){const _0xd600a5=_0x18df05==null?void 0x0:_0x18df05[_0x179a7b(0x40d)],_0x25d10b=_0x35009e['textEncoder']['encode'](_0x35009e[_0x179a7b(0x2a0)](_0xd600a5));_0x18df05['originalMeta']=_0x25d10b,Object[_0x179a7b(0x2a9)](_0x18df05[_0x179a7b(0x1e4)])[_0x179a7b(0x45b)](([,_0x1b5fac])=>{var _0x4bfd9a=_0x179a7b;const _0x977d9=_0x1b5fac[_0x4bfd9a(0x40d)],_0x27fc64=_0x35009e[_0x4bfd9a(0x1c4)][_0x4bfd9a(0x41f)](_0x35009e[_0x4bfd9a(0x2a0)](_0x977d9));_0x1b5fac[_0x4bfd9a(0x40d)]=_0x27fc64;});}return _0xd138f4;}async[_0x2229a0(0x1b8)](_0x1931d9,_0x34cfb2){var _0x4c169c=_0x2229a0;const {unitID:_0x48602f,type:_0x45e491,blockID:_0x4bd6f0}=_0x34cfb2,_0x514df4=this['_getAPIPrefix']()+'/'+_0x45e491+'/unit/'+_0x48602f+_0x4c169c(0x2b3)+_0x4bd6f0;return(await this['_httpService'][_0x4c169c(0x444)](_0x514df4))['body'];}async['getDeserializedSheetBlock'](_0x192d84,_0x3bdbfb){var _0x5b0d15=_0x2229a0;const {unitID:_0x1d7dd8,type:_0x4aefbb,blockID:_0xba17e4}=_0x3bdbfb,_0x2be5a5=this[_0x5b0d15(0x3e0)]()+_0x5b0d15(0x2b3)+_0x4aefbb+_0x5b0d15(0x4f6)+_0x1d7dd8+_0x5b0d15(0x2b3)+_0xba17e4;return(await this[_0x5b0d15(0x510)]['get'](_0x2be5a5))[_0x5b0d15(0x341)];}async[_0x2229a0(0x3bc)](_0x20a725,_0x3a52ed){var _0x3f17ec=_0x2229a0;const {unitID:_0x176034,type:_0x44d55e,from:_0x451c0a,to:_0x498e4b}=_0x3a52ed,_0x4eb8ed=this[_0x3f17ec(0x3e0)]()+'/'+_0x44d55e+'/unit/'+_0x176034+_0x3f17ec(0x1ab)+_0x451c0a+_0x3f17ec(0x3c7)+_0x498e4b;return(await this[_0x3f17ec(0x510)][_0x3f17ec(0x444)](_0x4eb8ed))[_0x3f17ec(0x341)];}[_0x2229a0(0x4e6)](){var _0x9785be=_0x2229a0,_0xe8b078;return(_0xe8b078=this[_0x9785be(0x24f)]['getConfig'](_0xa82dae))!=null?_0xe8b078:this['_getAPIPrefix']();}['_getAPIPrefix'](){var _0x1fb358=_0x2229a0,_0xacf5d5;const _0x1696b3=this['_configService'][_0x1fb358(0x247)](_0x5e0130);return(_0xacf5d5=_0x1696b3==null?void 0x0:_0x1696b3['snapshotServerUrl'])!=null?_0xacf5d5:_0x7842a;}async['getResourcesRequest'](_0x462c7d,_0x4f0e61){var _0x5d0f8a=_0x2229a0;const _0x549932=_0x5d0f8a(0x41e)+_0x4f0e61['type']+_0x5d0f8a(0x4f6)+_0x4f0e61[_0x5d0f8a(0x350)]+'/resources';return(await this[_0x5d0f8a(0x510)][_0x5d0f8a(0x444)](_0x549932,{'params':{'resourceId':JSON['stringify'](_0x4f0e61[_0x5d0f8a(0x296)])}}))[_0x5d0f8a(0x341)];}[_0x2229a0(0x4ba)](){var _0x4056c8=_0x2229a0;throw new Error(_0x4056c8(0x1ea));}['updateSnapshot'](){var _0x9ec84e=_0x2229a0;throw new Error(_0x9ec84e(0x1ea));}[_0x2229a0(0x44a)](){var _0x1069ad=_0x2229a0;throw new Error(_0x1069ad(0x1ea));}['saveChangeset'](){var _0x529866=_0x2229a0;throw new Error(_0x529866(0x1ea));}[_0x2229a0(0x203)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2229a0(0x353)](){var _0x1dd8eb=_0x2229a0;throw new Error(_0x1dd8eb(0x1ea));}},_0x5e3fa4[_0x2229a0(0x3cd)]=_0x1bdc95([_0x1c6e30(0x0,_0x158513[_0x2229a0(0x4c2)]),_0x1c6e30(0x1,_0x158513[_0x2229a0(0x1c1)](_0x5b6221['HTTPService']))],_0x5e3fa4[_0x2229a0(0x3cd)]);var _0x16cc78=Object['getOwnPropertyDescriptor'],_0xee438=(_0x145e34,_0x62ceae,_0x22b012,_0x4c5dad)=>{var _0xf6b2ad=_0x2229a0;for(var _0x33f8c2=_0x4c5dad>0x1?void 0x0:_0x4c5dad?_0x16cc78(_0x62ceae,_0x22b012):_0x62ceae,_0x292c93=_0x145e34[_0xf6b2ad(0x316)]-0x1,_0x3d68f1;_0x292c93>=0x0;_0x292c93--)(_0x3d68f1=_0x145e34[_0x292c93])&&(_0x33f8c2=_0x3d68f1(_0x33f8c2)||_0x33f8c2);return _0x33f8c2;},_0x41d99c=(_0x380f6e,_0x4e6899)=>(_0x546f7b,_0x42bb9a)=>_0x4e6899(_0x546f7b,_0x42bb9a,_0x380f6e);_0x5e3fa4['CollaborativeUndoRedoService']=class extends _0x158513[_0x2229a0(0x2c3)]{constructor(_0x3295cb,_0x318bd1,_0x554661,_0x2f5f7b,_0x1d8395){var _0x23e15b=_0x2229a0;super(_0x3295cb,_0x318bd1,_0x554661),this[_0x23e15b(0x431)]=_0x2f5f7b,this['_logService']=_0x1d8395;}['transformUndoRedo'](_0x20bef2,_0x4e4384){var _0x1eab80=_0x2229a0;const _0x2bcee2=this['_getUndoStack'](_0x20bef2);if(_0x2bcee2)try{const _0x1a0df4=this[_0x1eab80(0x4fa)](_0x2bcee2,_0x4e4384);this[_0x1eab80(0x403)](_0x20bef2,_0x1a0df4);}catch(_0x2d3ef8){this[_0x1eab80(0x501)][_0x1eab80(0x508)](_0x1eab80(0x3f1),_0x2d3ef8),this[_0x1eab80(0x279)](_0x20bef2);}const _0x3c21f6=this['_getRedoStack'](_0x20bef2);if(_0x3c21f6)try{const _0xb443b8=this[_0x1eab80(0x4fa)](_0x3c21f6,_0x4e4384);this[_0x1eab80(0x343)](_0x20bef2,_0xb443b8);}catch(_0x4c8d49){this[_0x1eab80(0x501)][_0x1eab80(0x508)](_0x4c8d49),this[_0x1eab80(0x22b)](_0x20bef2);}}[_0x2229a0(0x279)](_0x2793c2){var _0x2d0bb0=_0x2229a0;const _0x6b7a4f=this[_0x2d0bb0(0x2ca)](_0x2793c2);_0x6b7a4f&&(_0x6b7a4f[_0x2d0bb0(0x316)]=0x0,this['_updateStatus']());}[_0x2229a0(0x22b)](_0x34b952){var _0x169dd2=_0x2229a0;const _0x3d343a=this[_0x169dd2(0x1a5)](_0x34b952);_0x3d343a&&(_0x3d343a['length']=0x0,this['_updateStatus']());}[_0x2229a0(0x403)](_0x184115,_0xeb13c9){var _0x1e7c07=_0x2229a0;this[_0x1e7c07(0x4be)]['set'](_0x184115,_0xeb13c9),this[_0x1e7c07(0x455)]();}[_0x2229a0(0x343)](_0x5c66e9,_0x475c53){var _0x4922a0=_0x2229a0;this[_0x4922a0(0x236)][_0x4922a0(0x3a6)](_0x5c66e9,_0x475c53),this['_updateStatus']();}['_transformStack'](_0x23aa41,_0x535325){var _0x3832da=_0x2229a0;const _0xdd2d92=[];let _0xde6a10=_0x535325,_0x2202ef=_0x535325;for(let _0x3d1180=_0x23aa41[_0x3832da(0x316)]-0x1;_0x3d1180>=0x0;_0x3d1180--){const {unitID:_0x5856ea,undoMutations:_0xd81437,redoMutations:_0x7ff26}=_0x23aa41[_0x3d1180],_0x51cc2b=this[_0x3832da(0x431)][_0x3832da(0x4ff)](_0xde6a10,_0xd81437),_0x27276e=this['_transformService'][_0x3832da(0x4ff)](_0x2202ef,_0x7ff26);if(_0x35009e['isTransformMutationsWithChangesetFailure'](_0x51cc2b)||_0x35009e[_0x3832da(0x3a5)](_0x27276e)){this['_logService'][_0x3832da(0x508)](_0x3832da(0x3f1),_0x3832da(0x35d),_0x51cc2b,_0x27276e);break;}_0xde6a10=_0x51cc2b[_0x3832da(0x2a7)],_0x2202ef=_0x27276e[_0x3832da(0x2a7)],_0xdd2d92[_0x3832da(0x4a3)]({'unitID':_0x5856ea,'undoMutations':_0x51cc2b[_0x3832da(0x41b)],'redoMutations':_0x27276e[_0x3832da(0x41b)]});}return _0xdd2d92[_0x3832da(0x383)]();}},_0x5e3fa4[_0x2229a0(0x2c7)]=_0xee438([_0x41d99c(0x0,_0x158513[_0x2229a0(0x4ad)]),_0x41d99c(0x1,_0x158513[_0x2229a0(0x4e3)]),_0x41d99c(0x2,_0x158513['IContextService']),_0x41d99c(0x3,_0x35009e['ITransformService']),_0x41d99c(0x4,_0x158513[_0x2229a0(0x2b8)])],_0x5e3fa4[_0x2229a0(0x2c7)]);var _0x156f4b=Object[_0x2229a0(0x485)],_0x5a715b=Object['getOwnPropertyDescriptor'],_0x4e3532=(_0x3ced55,_0x1990d3,_0x509b76)=>_0x1990d3 in _0x3ced55?_0x156f4b(_0x3ced55,_0x1990d3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x509b76}):_0x3ced55[_0x1990d3]=_0x509b76,_0x1e587f=(_0x3773ca,_0x9b0b33,_0x224b95,_0x2cfc79)=>{var _0x26f674=_0x2229a0;for(var _0x5eb221=_0x2cfc79>0x1?void 0x0:_0x2cfc79?_0x5a715b(_0x9b0b33,_0x224b95):_0x9b0b33,_0x11eb95=_0x3773ca[_0x26f674(0x316)]-0x1,_0x3c4d81;_0x11eb95>=0x0;_0x11eb95--)(_0x3c4d81=_0x3773ca[_0x11eb95])&&(_0x5eb221=_0x3c4d81(_0x5eb221)||_0x5eb221);return _0x5eb221;},_0x16976e=(_0x5afea5,_0x5b9afa)=>(_0x3a5949,_0x188720)=>_0x5b9afa(_0x3a5949,_0x188720,_0x5afea5),_0x49a415=(_0x1f8219,_0xd4e0ab,_0x4da2f1)=>_0x4e3532(_0x1f8219,_0xd4e0ab+'',_0x4da2f1);const _0x45007a=_0x2229a0(0x35b);_0x5e3fa4[_0x2229a0(0x302)]=class extends _0x158513[_0x2229a0(0x225)]{constructor(_0x284f05,_0x2741b7,_0x4a6770,_0x35310d){var _0x2e7036=_0x2229a0;super(),_0x4b59b5(this,_0x2e7036(0x30c)),(this[_0x2e7036(0x501)]=_0x2741b7,this[_0x2e7036(0x315)]=_0x4a6770,this[_0x2e7036(0x24f)]=_0x35310d);const {..._0x2724ae}=_0x158513[_0x2e7036(0x47e)]({},_0x5ccedc,_0x284f05);if(!_0x2724ae[_0x2e7036(0x3aa)])throw new Error(_0x2e7036(0x427));this['_config']=_0x2724ae,this[_0x2e7036(0x24f)]['setConfig'](_0x5e0130,_0x2724ae);}[_0x2229a0(0x4f4)](){var _0x1db318=_0x2229a0;this[_0x1db318(0x33b)](),this[_0x1db318(0x2d7)]();}[_0x2229a0(0x33b)](){var _0x22bc9c=_0x2229a0,_0x2ed5ab,_0x4d91b7;this[_0x22bc9c(0x315)][_0x22bc9c(0x202)](_0x158513['IUndoRedoService'])&&this[_0x22bc9c(0x501)][_0x22bc9c(0x508)]('[UniverCollaborationClientPlugin]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x5d61e1=_0x158513[_0x22bc9c(0x4e2)]([[_0x158513[_0x22bc9c(0x4a9)],{'useClass':_0x5e3fa4['CollaborativeUndoRedoService']}],[_0x5e3fa4[_0x22bc9c(0x3db)]],[_0x5e3fa4[_0x22bc9c(0x357)]],[_0x5e3fa4[_0x22bc9c(0x3f3)]],[_0x4c5a49],[_0xfc7ebc],[_0x1a53f1],[_0x38cfa4],[_0x1a9793],[_0x5e3fa4[_0x22bc9c(0x4ec)]],[_0xd4806f,{'useClass':this[_0x22bc9c(0x30c)][_0x22bc9c(0x3aa)]}],[_0x35009e[_0x22bc9c(0x338)],{'useClass':_0x5e3fa4[_0x22bc9c(0x3cd)]}],[_0x158513[_0x22bc9c(0x1f9)],{'useClass':_0x5e3fa4[_0x22bc9c(0x462)]}],[_0x2bf003[_0x22bc9c(0x3d7)],{'useClass':_0x5e3fa4['CollaborationImageIoService']}],[_0x158513['IMentionIOService'],{'useClass':_0x5e3fa4['MentionIoHttpService']}],[_0x5e3fa4[_0x22bc9c(0x29b)]],[_0x370f44]],(_0x2ed5ab=this[_0x22bc9c(0x30c)])==null?void 0x0:_0x2ed5ab[_0x22bc9c(0x3ba)]);if(!((_0x4d91b7=this['_config'])!=null&&_0x4d91b7[_0x22bc9c(0x526)])){const _0x5657f6=_0x5d61e1['findIndex'](([_0x814eb4])=>_0x814eb4===_0x25ea7f);_0x5657f6!==-0x1&&_0x5d61e1[_0x22bc9c(0x304)](_0x5657f6,0x1);}_0x158513[_0x22bc9c(0x463)](this[_0x22bc9c(0x315)],_0x5d61e1);}[_0x2229a0(0x2d7)](){var _0x1d3a02=_0x2229a0,_0x46c1e8,_0x1b2ad3,_0x456901;this['_injector'][_0x1d3a02(0x444)](_0x5b6221['HTTPService'])[_0x1d3a02(0x43a)]({'priority':0x14,'interceptor':_0x5b6221['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x46c1e8=this[_0x1d3a02(0x30c)])!=null&&_0x46c1e8['enableOfflineEditing']||(_0x1b2ad3=this['_injector'][_0x1d3a02(0x444)](_0x53e5a0,_0x158513[_0x1d3a02(0x4c9)]['OPTIONAL']))==null||_0x1b2ad3[_0x1d3a02(0x514)](),(_0x456901=this[_0x1d3a02(0x30c)])!=null&&_0x456901[_0x1d3a02(0x39f)]&&_0x158513[_0x1d3a02(0x195)](this[_0x1d3a02(0x315)],[[_0x4c5a49]]),_0x158513[_0x1d3a02(0x195)](this['_injector'],[[_0xfc7ebc],[_0x5e3fa4['CollaborationController']],[_0x38cfa4]]);}},_0x49a415(_0x5e3fa4[_0x2229a0(0x302)],'pluginName',_0x45007a),_0x5e3fa4[_0x2229a0(0x302)]=_0x1e587f([_0x158513['DependentOn'](_0x4b2b6c[_0x2229a0(0x288)],_0x35009e[_0x2229a0(0x1c5)],_0x5b6221[_0x2229a0(0x2e5)]),_0x16976e(0x1,_0x158513[_0x2229a0(0x2b8)]),_0x16976e(0x2,_0x158513[_0x2229a0(0x1c1)](_0x158513['Injector'])),_0x16976e(0x3,_0x158513[_0x2229a0(0x4c2)])],_0x5e3fa4[_0x2229a0(0x302)]),_0x5e3fa4['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=_0x5e0130,_0x5e3fa4[_0x2229a0(0x458)]=_0x3eee43,_0x5e3fa4[_0x2229a0(0x21b)]=_0x306c72,_0x5e3fa4[_0x2229a0(0x294)]=_0x1a9793,_0x5e3fa4['CommentService']=_0x1a53f1,_0x5e3fa4[_0x2229a0(0x4ac)]=_0x46c157,_0x5e3fa4[_0x2229a0(0x349)]=_0x10b865,_0x5e3fa4[_0x2229a0(0x286)]=_0x19d93b,_0x5e3fa4['HEARTBEAT_INTERVAL_KEY']=_0x50386d,_0x5e3fa4[_0x2229a0(0x37e)]=_0x3bd8ba,_0x5e3fa4[_0x2229a0(0x2ae)]=_0xd4806f,_0x5e3fa4['ILocalCacheService']=_0x53e5a0,_0x5e3fa4[_0x2229a0(0x488)]=_0x215e06,_0x5e3fa4['ISingleActiveUnitService']=_0x25ea7f,_0x5e3fa4['LOCAL_CACHE_INTERVAL']=0x3e8,_0x5e3fa4['LOCAL_CACHE_INTERVAL_KEY']=_0x175c63,_0x5e3fa4[_0x2229a0(0x454)]=_0x37bb98,_0x5e3fa4[_0x2229a0(0x4ea)]=_0x2a69c3,_0x5e3fa4[_0x2229a0(0x4d3)]=_0x366b35,_0x5e3fa4['UnitStatus']=_0x309040,_0x5e3fa4[_0x2229a0(0x1ee)]=_0x9e4075,_0x5e3fa4[_0x2229a0(0x2de)]=_0x3941b5,_0x5e3fa4[_0x2229a0(0x1f2)]=_0xea9c25,Object[_0x2229a0(0x485)](_0x5e3fa4,Symbol[_0x2229a0(0x29f)],{'value':_0x2229a0(0x2ed)});}));
2
+ (function(_0x355041,_0x49143d){var _0x49739b=_0x24bd,_0x4cdf92=_0x355041();while(!![]){try{var _0x476620=parseInt(_0x49739b(0x2b0))/0x1*(-parseInt(_0x49739b(0x321))/0x2)+parseInt(_0x49739b(0x118))/0x3*(parseInt(_0x49739b(0x3f1))/0x4)+parseInt(_0x49739b(0x28b))/0x5*(parseInt(_0x49739b(0x20e))/0x6)+parseInt(_0x49739b(0x305))/0x7*(-parseInt(_0x49739b(0x127))/0x8)+-parseInt(_0x49739b(0x471))/0x9+-parseInt(_0x49739b(0x2a6))/0xa+parseInt(_0x49739b(0x269))/0xb;if(_0x476620===_0x49143d)break;else _0x4cdf92['push'](_0x4cdf92['shift']());}catch(_0x41e6bc){_0x4cdf92['push'](_0x4cdf92['shift']());}}}(_0x236a,0xc277d),function(_0x56968e,_0x4d3f4f){var _0x2422a5=_0x24bd;typeof exports==_0x2422a5(0x36f)&&typeof module<'u'?_0x4d3f4f(exports,require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs/telemetry'),require('rxjs/operators'),require('@univerjs/network'),require('@univerjs-pro/license'),require('@univerjs/drawing')):typeof define==_0x2422a5(0x14b)&&define[_0x2422a5(0x3f6)]?define([_0x2422a5(0x3e2),'@univerjs-pro/collaboration','@univerjs/core','@univerjs/docs',_0x2422a5(0x274),_0x2422a5(0x433),'@univerjs/telemetry',_0x2422a5(0x2dd),'@univerjs/network',_0x2422a5(0x2c7),_0x2422a5(0x42b)],_0x4d3f4f):(_0x56968e=typeof globalThis<'u'?globalThis:_0x56968e||self,_0x4d3f4f(_0x56968e[_0x2422a5(0x35e)]={},_0x56968e['UniverProCollaboration'],_0x56968e[_0x2422a5(0x391)],_0x56968e[_0x2422a5(0x208)],_0x56968e['UniverSheets'],_0x56968e[_0x2422a5(0x433)],_0x56968e['UniverTelemetry'],_0x56968e[_0x2422a5(0x433)][_0x2422a5(0x266)],_0x56968e[_0x2422a5(0x28c)],_0x56968e[_0x2422a5(0x26a)],_0x56968e['UniverDrawing']));}(this,function(_0x56d6c4,_0x1c769f,_0x59c11e,_0x3b050e,_0x5a669f,_0x2e4023,_0x1881d8,_0x5a3a61,_0x3bd6c0,_0x3d654f,_0x46fad0){'use strict';var _0xcc99a3=_0x24bd;var _0x1e9569=Object[_0xcc99a3(0x28f)],_0x28a003=(_0x1893dc,_0x757b72,_0x387140)=>_0x757b72 in _0x1893dc?_0x1e9569(_0x1893dc,_0x757b72,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x387140}):_0x1893dc[_0x757b72]=_0x387140,_0x12df8a=(_0x129a3a,_0x35c45e,_0x1aba48)=>_0x28a003(_0x129a3a,typeof _0x35c45e!=_0xcc99a3(0x123)?_0x35c45e+'':_0x35c45e,_0x1aba48);const _0x587023=_0xcc99a3(0x291),_0x3a1a38=_0xcc99a3(0x2c2),_0x4f93f4='ws://127.0.0.1:8000/universer-api/comb/connect',_0x2f1019='/universer-api/user/session-ticket',_0x46cdcc=_0xcc99a3(0x2a8),_0x2978c9=_0xcc99a3(0x40f),_0x32ae98='RETRY_CONNECTING_MAX_COUNT',_0x58dba2=_0xcc99a3(0x2da),_0x20c741='/universer-api/comb',_0x485162='/universer-api/oidc/authpage',_0x242614=_0xcc99a3(0x121),_0xb70474=_0xcc99a3(0x252);var _0x2d62a3=(_0x329b13=>(_0x329b13[_0x329b13[_0xcc99a3(0x30e)]=0x0]=_0xcc99a3(0x30e),_0x329b13[_0x329b13['OK']=0x1]='OK',_0x329b13[_0x329b13[_0xcc99a3(0x37a)]=0x2]=_0xcc99a3(0x37a),_0x329b13[_0x329b13[_0xcc99a3(0x17f)]=0x3]=_0xcc99a3(0x17f),_0x329b13[_0x329b13[_0xcc99a3(0x36c)]=0x4]=_0xcc99a3(0x36c),_0x329b13[_0x329b13[_0xcc99a3(0x2ff)]=0x5]=_0xcc99a3(0x2ff),_0x329b13[_0x329b13['ALREADY_EXISTS']=0x6]=_0xcc99a3(0x264),_0x329b13[_0x329b13['INVALID_ARGUMENT']=0x7]=_0xcc99a3(0x333),_0x329b13[_0x329b13[_0xcc99a3(0x270)]=0x8]='TOO_MANY_REQUESTS',_0x329b13[_0x329b13[_0xcc99a3(0x21a)]=0x9]=_0xcc99a3(0x21a),_0x329b13[_0x329b13['LOGIN_FAILED']=0xa]=_0xcc99a3(0x2f1),_0x329b13[_0x329b13[_0xcc99a3(0x367)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x329b13[_0x329b13[_0xcc99a3(0x341)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x329b13[_0x329b13[_0xcc99a3(0x29a)]=0xd]=_0xcc99a3(0x29a),_0x329b13[_0x329b13['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0xcc99a3(0x16c),_0x329b13[_0x329b13['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0xcc99a3(0x2d8),_0x329b13[_0x329b13[_0xcc99a3(0x25c)]=0x10]=_0xcc99a3(0x25c),_0x329b13[_0x329b13[_0xcc99a3(0x319)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x329b13[_0x329b13[_0xcc99a3(0x238)]=0x65]='ERROR_AGAIN',_0x329b13[_0x329b13[_0xcc99a3(0x248)]=0xc9]='USER_NOT_FOUND',_0x329b13[_0x329b13['USER_IS_ANONYMOUS']=0xca]=_0xcc99a3(0x2ca),_0x329b13[_0x329b13['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x329b13[_0x329b13[_0xcc99a3(0x3dc)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x329b13[_0x329b13[_0xcc99a3(0x1e7)]=0x1772]=_0xcc99a3(0x1e7),_0x329b13[_0x329b13[_0xcc99a3(0x34c)]=0x1773]=_0xcc99a3(0x34c),_0x329b13[_0x329b13[_0xcc99a3(0x205)]=0x1b59]='APPLY_REJECT',_0x329b13[_0x329b13[_0xcc99a3(0x1d0)]=0x1b5a]=_0xcc99a3(0x1d0),_0x329b13[_0x329b13[_0xcc99a3(0x1c0)]=0x1b5b]=_0xcc99a3(0x1c0),_0x329b13[_0x329b13[_0xcc99a3(0x2ed)]=0x1b5c]=_0xcc99a3(0x2ed),_0x329b13[_0x329b13[_0xcc99a3(0x22a)]=0x1b5d]='APPLY_DUPLICATED',_0x329b13[_0x329b13[_0xcc99a3(0x18e)]=0x1f41]=_0xcc99a3(0x18e),_0x329b13[_0x329b13['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x329b13[_0x329b13[_0xcc99a3(0x22e)]=0x232a]=_0xcc99a3(0x22e),_0x329b13[_0x329b13[_0xcc99a3(0x2b2)]=0x232b]=_0xcc99a3(0x2b2),_0x329b13[_0x329b13[_0xcc99a3(0x43f)]=0x232c]=_0xcc99a3(0x43f),_0x329b13[_0x329b13[_0xcc99a3(0x3b8)]=0x232d]=_0xcc99a3(0x3b8),_0x329b13[_0x329b13[_0xcc99a3(0x212)]=0x2711]=_0xcc99a3(0x212),_0x329b13[_0x329b13[_0xcc99a3(0x258)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x329b13[_0x329b13[_0xcc99a3(0x168)]=0x2713]=_0xcc99a3(0x168),_0x329b13[_0x329b13[_0xcc99a3(0x152)]=0x2714]=_0xcc99a3(0x152),_0x329b13[_0x329b13[_0xcc99a3(0x183)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x329b13[_0x329b13['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0xcc99a3(0x1bc),_0x329b13[_0x329b13[_0xcc99a3(0x165)]=0x271c]=_0xcc99a3(0x165),_0x329b13[_0x329b13[_0xcc99a3(0x46e)]=0x271d]=_0xcc99a3(0x46e),_0x329b13[_0x329b13[_0xcc99a3(0x2ea)]=0x271e]=_0xcc99a3(0x2ea),_0x329b13[_0x329b13['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x329b13[_0x329b13[_0xcc99a3(0x2e9)]=0x2720]=_0xcc99a3(0x2e9),_0x329b13[_0x329b13[_0xcc99a3(0x3a4)]=0x2af9]=_0xcc99a3(0x3a4),_0x329b13[_0x329b13[_0xcc99a3(0x353)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x329b13[_0x329b13[_0xcc99a3(0x186)]=0x2ee2]=_0xcc99a3(0x186),_0x329b13[_0x329b13['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x329b13[_0x329b13[_0xcc99a3(0x297)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x329b13[_0x329b13[_0xcc99a3(0x277)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x329b13[_0x329b13[_0xcc99a3(0x1dc)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x329b13[_0x329b13[_0xcc99a3(0x166)]=0x32ca]=_0xcc99a3(0x166),_0x329b13[_0x329b13[_0xcc99a3(0x107)]=0x32cb]=_0xcc99a3(0x107),_0x329b13[_0x329b13[_0xcc99a3(0x145)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x329b13[_0x329b13[_0xcc99a3(0x448)]=0x36b2]=_0xcc99a3(0x448),_0x329b13[_0x329b13[_0xcc99a3(0x3fc)]=0x36b3]=_0xcc99a3(0x3fc),_0x329b13[_0x329b13[_0xcc99a3(0x428)]=0x36b4]=_0xcc99a3(0x428),_0x329b13[_0x329b13[_0xcc99a3(0x16d)]=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x329b13[_0x329b13[_0xcc99a3(0x1f1)]=0x36b6]=_0xcc99a3(0x1f1),_0x329b13[_0x329b13['ENTITLE_COUPON_USED_UP']=0x36b7]=_0xcc99a3(0x2cb),_0x329b13[_0x329b13['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x329b13[_0x329b13[_0xcc99a3(0x255)]=0x3715]=_0xcc99a3(0x255),_0x329b13[_0x329b13[_0xcc99a3(0x2d9)]=0x3716]=_0xcc99a3(0x2d9),_0x329b13[_0x329b13[_0xcc99a3(0x1b4)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x329b13[_0x329b13[_0xcc99a3(0x219)]=0x37dd]=_0xcc99a3(0x219),_0x329b13[_0x329b13['REDEMPTION_INVALID_CODE']=0x3a99]=_0xcc99a3(0x3be),_0x329b13[_0x329b13[_0xcc99a3(0x329)]=0x3a9a]=_0xcc99a3(0x329),_0x329b13[_0x329b13[_0xcc99a3(0x2c6)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x329b13[_0x329b13[_0xcc99a3(0x2b5)]=0x3a9c]=_0xcc99a3(0x2b5),_0x329b13[_0x329b13[_0xcc99a3(0x2be)]=0x3a9d]=_0xcc99a3(0x2be),_0x329b13[_0x329b13['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x329b13[_0x329b13[_0xcc99a3(0x2f9)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x329b13[_0x329b13[_0xcc99a3(0x3b4)]=0x3e81]=_0xcc99a3(0x3b4),_0x329b13[_0x329b13[_0xcc99a3(0x12f)]=-0x1]=_0xcc99a3(0x12f),_0x329b13))(_0x2d62a3||{}),_0x5dd0f1=(_0x5c2f7d=>(_0x5c2f7d[_0x5c2f7d[_0xcc99a3(0x1aa)]=0x0]=_0xcc99a3(0x1aa),_0x5c2f7d[_0x5c2f7d[_0xcc99a3(0x338)]=0x1]='UNIVER_DOC',_0x5c2f7d[_0x5c2f7d[_0xcc99a3(0x32a)]=0x2]=_0xcc99a3(0x32a),_0x5c2f7d[_0x5c2f7d['UNIVER_SLIDE']=0x3]=_0xcc99a3(0x3f9),_0x5c2f7d[_0x5c2f7d['UNIVER_PROJECT']=0x4]=_0xcc99a3(0x470),_0x5c2f7d[_0x5c2f7d[_0xcc99a3(0x12f)]=-0x1]=_0xcc99a3(0x12f),_0x5c2f7d))(_0x5dd0f1||{}),_0x3e52e9=(_0x114d68=>(_0x114d68[_0x114d68['UNKNOWN_CMD']=0x0]=_0xcc99a3(0x133),_0x114d68[_0x114d68['HELLO']=0x1]=_0xcc99a3(0x462),_0x114d68[_0x114d68['JOIN']=0x2]='JOIN',_0x114d68[_0x114d68[_0xcc99a3(0x295)]=0x3]=_0xcc99a3(0x295),_0x114d68[_0x114d68[_0xcc99a3(0x432)]=0x4]=_0xcc99a3(0x432),_0x114d68[_0x114d68['HEARTBEAT']=0x5]=_0xcc99a3(0x33e),_0x114d68[_0x114d68[_0xcc99a3(0x14e)]=0x6]=_0xcc99a3(0x14e),_0x114d68[_0x114d68[_0xcc99a3(0x12f)]=-0x1]=_0xcc99a3(0x12f),_0x114d68))(_0x3e52e9||{}),_0x56d48a=(_0xb03099=>(_0xb03099[_0xb03099[_0xcc99a3(0x372)]=0x0]=_0xcc99a3(0x372),_0xb03099[_0xb03099['OK']=0x1]='OK',_0xb03099[_0xb03099[_0xcc99a3(0x19b)]=0x2]='FAIL',_0xb03099[_0xb03099[_0xcc99a3(0x2fd)]=0x3e9]='JOIN_ROOM_FULL',_0xb03099[_0xb03099[_0xcc99a3(0x13b)]=0x3ea]=_0xcc99a3(0x13b),_0xb03099[_0xb03099[_0xcc99a3(0x12b)]=0x3eb]=_0xcc99a3(0x12b),_0xb03099[_0xb03099[_0xcc99a3(0x33f)]=0x3ec]=_0xcc99a3(0x33f),_0xb03099[_0xb03099[_0xcc99a3(0x12f)]=-0x1]=_0xcc99a3(0x12f),_0xb03099))(_0x56d48a||{}),_0x21535e=(_0x485b0c=>(_0x485b0c[_0x485b0c[_0xcc99a3(0x16f)]=0x0]=_0xcc99a3(0x16f),_0x485b0c[_0x485b0c[_0xcc99a3(0x28e)]=0x1]='HttpImport',_0x485b0c[_0x485b0c[_0xcc99a3(0x1ed)]=0x2]=_0xcc99a3(0x1ed),_0x485b0c[_0x485b0c['UnitEmbedded']=0x3]=_0xcc99a3(0x457),_0x485b0c[_0x485b0c[_0xcc99a3(0x3aa)]=0x4]=_0xcc99a3(0x3aa),_0x485b0c[_0x485b0c['UserProfileImg']=0x5]=_0xcc99a3(0x256),_0x485b0c[_0x485b0c[_0xcc99a3(0x392)]=0x6]='ClipsheetFragments',_0x485b0c[_0x485b0c['UNRECOGNIZED']=-0x1]=_0xcc99a3(0x12f),_0x485b0c))(_0x21535e||{});const _0x4956ff=_0xcc99a3(0x112);function _0x39d30d(_0x3bba16){var _0x57586a=_0xcc99a3;return JSON[_0x57586a(0x180)](_0x3bba16)['length'];}var _0x5b41c0=(_0x47b309=>(_0x47b309[_0xcc99a3(0x25d)]='OTHER_CLIENT_EDITING',_0x47b309['PERMISSION_DENIED']=_0xcc99a3(0x17f),_0x47b309['CONFLICT']=_0xcc99a3(0x13e),_0x47b309[_0xcc99a3(0x418)]='CLOSE_ROOM',_0x47b309[_0xcc99a3(0x409)]=_0xcc99a3(0x409),_0x47b309[_0xcc99a3(0x343)]=_0xcc99a3(0x343),_0x47b309[_0xcc99a3(0x33a)]=_0xcc99a3(0x33a),_0x47b309[_0xcc99a3(0x3df)]=_0xcc99a3(0x3df),_0x47b309))(_0x5b41c0||{});class _0x1948fa{constructor(){var _0x1ba06d=_0xcc99a3;_0x12df8a(this,_0x1ba06d(0x2e6),new _0x2e4023[(_0x1ba06d(0x32b))]()),_0x12df8a(this,_0x1ba06d(0x29f),this['_event$'][_0x1ba06d(0x387)]());}[_0xcc99a3(0x44a)](_0x512f1b){var _0x33fb91=_0xcc99a3;this[_0x33fb91(0x2e6)][_0x33fb91(0x332)](_0x512f1b);}}class _0x5229b9{constructor(){var _0x4c8470=_0xcc99a3;_0x12df8a(this,_0x4c8470(0x315),new _0x2e4023[(_0x4c8470(0x32b))]()),_0x12df8a(this,_0x4c8470(0x187),this['_commentUpdate$']['asObservable']());}[_0xcc99a3(0x272)](_0x1ee338){var _0x2b2c40=_0xcc99a3;this[_0x2b2c40(0x315)][_0x2b2c40(0x332)](_0x1ee338);}}var _0xb64ddf=Object['getOwnPropertyDescriptor'],_0x235c1a=(_0x1d8e29,_0x3d2099,_0x44e5b3,_0x8d65a9)=>{for(var _0x2c06eb=_0x8d65a9>0x1?void 0x0:_0x8d65a9?_0xb64ddf(_0x3d2099,_0x44e5b3):_0x3d2099,_0xf3b17b=_0x1d8e29['length']-0x1,_0x230dac;_0xf3b17b>=0x0;_0xf3b17b--)(_0x230dac=_0x1d8e29[_0xf3b17b])&&(_0x2c06eb=_0x230dac(_0x2c06eb)||_0x2c06eb);return _0x2c06eb;},_0x3a3034=(_0x4f5800,_0xa33684)=>(_0x51f513,_0x4b717c)=>_0xa33684(_0x51f513,_0x4b717c,_0x4f5800);_0x56d6c4['MemberService']=class extends _0x59c11e[_0xcc99a3(0x18b)]{constructor(_0x43fcef,_0x16e65f){var _0x50e2f9=_0xcc99a3;super(),_0x12df8a(this,_0x50e2f9(0x282),new Map()),_0x12df8a(this,_0x50e2f9(0x25f),new _0x2e4023['Subject']()),(this[_0x50e2f9(0x206)]=_0x43fcef,this[_0x50e2f9(0x23e)]=_0x16e65f,this[_0x50e2f9(0x36d)](_0x2e4023[_0x50e2f9(0x1d4)](this[_0x50e2f9(0x206)][_0x50e2f9(0x304)](_0x59c11e['UniverInstanceType'][_0x50e2f9(0x32a)])[_0x50e2f9(0x41b)](_0x5a3a61[_0x50e2f9(0x417)](_0x345445=>_0x345445[_0x50e2f9(0x39f)]())),this['_univerInstanceService'][_0x50e2f9(0x304)](_0x59c11e['UniverInstanceType'][_0x50e2f9(0x338)])[_0x50e2f9(0x41b)](_0x5a3a61[_0x50e2f9(0x417)](_0x1e880a=>_0x1e880a[_0x50e2f9(0x39f)]())),this[_0x50e2f9(0x206)]['getTypeOfUnitDisposed$'](_0x59c11e[_0x50e2f9(0x1e0)][_0x50e2f9(0x3f9)])[_0x50e2f9(0x41b)](_0x5a3a61[_0x50e2f9(0x417)](_0x43c434=>_0x43c434['getUnitId']())))['subscribe'](_0x4ff344=>this[_0x50e2f9(0x401)](_0x4ff344))));}['waitForRoom$'](_0x45b09d){var _0x56f97e=_0xcc99a3;return this['_roomMembers'][_0x56f97e(0x480)](_0x45b09d)?_0x2e4023['of'](this[_0x56f97e(0x282)]['get'](_0x45b09d)):this[_0x56f97e(0x25f)][_0x56f97e(0x41b)](_0x5a3a61['map'](_0x121e00=>{var _0xcde8d9=_0x56f97e;if(_0x121e00===_0x45b09d)return this[_0xcde8d9(0x282)][_0xcde8d9(0x3e8)](_0x121e00);}));}[_0xcc99a3(0x422)](_0x919983){var _0x566897=_0xcc99a3;this[_0x566897(0x23e)][_0x566897(0x422)](_0x919983);}[_0xcc99a3(0x2e7)](){var _0x3e5864=_0xcc99a3;return this['_userManagerService'][_0x3e5864(0x2e7)]();}[_0xcc99a3(0x20d)](_0x17c44e,_0x253dda){var _0x1aff95=_0xcc99a3;let _0x2c79df=this[_0x1aff95(0x282)][_0x1aff95(0x3e8)](_0x17c44e);_0x2c79df||(_0x2c79df=new _0x1feef0(),this[_0x1aff95(0x282)]['set'](_0x17c44e,_0x2c79df),this[_0x1aff95(0x25f)][_0x1aff95(0x332)](_0x17c44e)),_0x2c79df[_0x1aff95(0x20d)](_0x253dda);}[_0xcc99a3(0x11b)](_0xc1821e,_0x228999){var _0x16cad9=_0xcc99a3;const _0x198645=this['_roomMembers'][_0x16cad9(0x3e8)](_0xc1821e);_0x198645&&_0x198645[_0x16cad9(0x11b)](_0x228999);}[_0xcc99a3(0x355)](_0x5760c8){var _0x34e0b6=_0xcc99a3;return this[_0x34e0b6(0x282)][_0x34e0b6(0x3e8)](_0x5760c8);}[_0xcc99a3(0x1f9)](_0x5a6c5e,_0x34b320){var _0x5b061e=_0xcc99a3;const _0x4c3274=this[_0x5b061e(0x282)]['get'](_0x5a6c5e);if(_0x4c3274)return _0x4c3274['getMember'](_0x34b320);}[_0xcc99a3(0x401)](_0x54477a){var _0x7137f4=_0xcc99a3;const _0x37553e=this[_0x7137f4(0x282)][_0x7137f4(0x3e8)](_0x54477a);_0x37553e&&(_0x37553e[_0x7137f4(0x267)](),this[_0x7137f4(0x282)][_0x7137f4(0x15c)](_0x54477a));}['dispose'](){var _0x40bc72=_0xcc99a3;this[_0x40bc72(0x282)][_0x40bc72(0x44c)](_0xeb4f7e=>_0xeb4f7e[_0x40bc72(0x267)]()),this[_0x40bc72(0x282)][_0x40bc72(0x113)](),this[_0x40bc72(0x25f)][_0x40bc72(0x3e7)]();}},_0x56d6c4[_0xcc99a3(0x1bd)]=_0x235c1a([_0x3a3034(0x0,_0x59c11e[_0xcc99a3(0x469)]),_0x3a3034(0x1,_0x59c11e['Inject'](_0x59c11e[_0xcc99a3(0x383)]))],_0x56d6c4[_0xcc99a3(0x1bd)]);class _0x1feef0 extends _0x59c11e['Disposable']{constructor(){var _0x524853=_0xcc99a3;super(...arguments),_0x12df8a(this,_0x524853(0x115),new Map()),_0x12df8a(this,_0x524853(0x30d),new _0x2e4023[(_0x524853(0x177))](this[_0x524853(0x115)])),_0x12df8a(this,_0x524853(0x3d8),this[_0x524853(0x30d)]['asObservable']());}[_0xcc99a3(0x267)](){var _0x2d30a4=_0xcc99a3;this['_members'][_0x2d30a4(0x113)]();}[_0xcc99a3(0x20d)](_0xed7196){var _0x1419e6=_0xcc99a3;this[_0x1419e6(0x115)]['set'](_0xed7196['memberID'],_0xed7196),this[_0x1419e6(0x26e)]();}[_0xcc99a3(0x11b)](_0x2a6059){var _0x5330d2=_0xcc99a3;this[_0x5330d2(0x115)][_0x5330d2(0x15c)](_0x2a6059);}[_0xcc99a3(0x1f9)](_0x1104ef){var _0x120dea=_0xcc99a3;return this[_0x120dea(0x115)]['get'](_0x1104ef);}[_0xcc99a3(0x1df)](){var _0x1c0ee2=_0xcc99a3;return Array[_0x1c0ee2(0x1ee)](this[_0x1c0ee2(0x115)][_0x1c0ee2(0x39a)]());}[_0xcc99a3(0x26e)](){var _0x25db6=_0xcc99a3;this[_0x25db6(0x30d)]['next'](this['_members']);}}var _0x4905d0=Object[_0xcc99a3(0x188)],_0x3af164=(_0x172c65,_0x567f2c,_0x448e0b,_0x44549c)=>{for(var _0x8fa43=_0x44549c>0x1?void 0x0:_0x44549c?_0x4905d0(_0x567f2c,_0x448e0b):_0x567f2c,_0x2d753a=_0x172c65['length']-0x1,_0x9ea397;_0x2d753a>=0x0;_0x2d753a--)(_0x9ea397=_0x172c65[_0x2d753a])&&(_0x8fa43=_0x9ea397(_0x8fa43)||_0x8fa43);return _0x8fa43;},_0x5e44e9=(_0x45b256,_0x472acb)=>(_0x816382,_0x561773)=>_0x472acb(_0x816382,_0x561773,_0x45b256),_0x1ab480=(_0x1195f9=>(_0x1195f9[_0x1195f9[_0xcc99a3(0x2a1)]=0x0]=_0xcc99a3(0x2a1),_0x1195f9[_0x1195f9[_0xcc99a3(0x1a7)]=0x1]=_0xcc99a3(0x1a7),_0x1195f9[_0x1195f9['OFFLINE']=0x2]=_0xcc99a3(0x160),_0x1195f9[_0x1195f9[_0xcc99a3(0x1e5)]=0x3]=_0xcc99a3(0x1e5),_0x1195f9))(_0x1ab480||{});const _0x4fd390={[_0x56d48a[_0xcc99a3(0x19b)]]:_0xcc99a3(0x335),[_0x56d48a['JOIN_ROOM_FULL']]:'session.room-full',[_0x56d48a[_0xcc99a3(0x13b)]]:_0xcc99a3(0x308),[_0x56d48a[_0xcc99a3(0x12b)]]:'session.room-permission-denied',[_0x56d48a[_0xcc99a3(0x33f)]]:'session.room-cnt-exceeds'};_0x56d6c4['CollaborationSession']=class extends _0x59c11e[_0xcc99a3(0x250)]{constructor(_0xcaacc3,_0x4ce497,_0x2d001e,_0x8710c1,_0x54d8af,_0x3f9b4a,_0x3225ec,_0x45c954){var _0x55b0f1=_0xcc99a3;super(),_0x12df8a(this,'_sessionStatus$',new _0x2e4023['BehaviorSubject'](0x0)),_0x12df8a(this,_0x55b0f1(0x2cd),this[_0x55b0f1(0x2e8)]['asObservable']()),_0x12df8a(this,_0x55b0f1(0x2e6),new _0x2e4023[(_0x55b0f1(0x32b))]()),_0x12df8a(this,_0x55b0f1(0x29f),this[_0x55b0f1(0x2e6)]['asObservable']()),_0x12df8a(this,_0x55b0f1(0x36b)),_0x12df8a(this,'_socketMessageSubscription'),_0x12df8a(this,_0x55b0f1(0x17a)),_0x12df8a(this,_0x55b0f1(0x40e),!0x1),_0x12df8a(this,_0x55b0f1(0x473),null),(this[_0x55b0f1(0x443)]=_0xcaacc3,this[_0x55b0f1(0x249)]=_0x2d001e,this[_0x55b0f1(0x463)]=_0x8710c1,this[_0x55b0f1(0x451)]=_0x54d8af,this['_commentService']=_0x3f9b4a,this['_collaborationUIEventService']=_0x3225ec,this[_0x55b0f1(0x1ca)]=_0x45c954,this['_shouldReportTelemetry']=!!this[_0x55b0f1(0x1ca)],_0x4ce497['pipe'](_0x2e4023[_0x55b0f1(0x210)](this[_0x55b0f1(0x2ab)]))[_0x55b0f1(0x1b3)](_0xe68dce=>{var _0x1689cc=_0x55b0f1,_0x15a3a4;typeof _0xe68dce>'u'||(this[_0x1689cc(0x36b)]=_0xe68dce,_0xe68dce?(this[_0x1689cc(0x230)](_0xe68dce),this[_0x1689cc(0x109)]=_0xe68dce[_0x1689cc(0x3d1)][_0x1689cc(0x1b3)](_0x35e5a9=>{var _0x3c9f6a=_0x1689cc;_0x35e5a9[_0x3c9f6a(0x172)]===this[_0x3c9f6a(0x443)]&&this[_0x3c9f6a(0x2df)](_0x35e5a9);})):(this[_0x1689cc(0x174)](),this[_0x1689cc(0x2e8)]['next'](0x2),(_0x15a3a4=this[_0x1689cc(0x109)])==null||_0x15a3a4[_0x1689cc(0x24e)](),this[_0x1689cc(0x109)]=null));}));}get[_0xcc99a3(0x426)](){var _0x526bf7=_0xcc99a3;return this[_0x526bf7(0x2e8)][_0x526bf7(0x1af)]();}['getMemberID'](){var _0x370ef2=_0xcc99a3,_0x32aa15,_0x4fa5a9;return(_0x4fa5a9=(_0x32aa15=this[_0x370ef2(0x36b)])==null?void 0x0:_0x32aa15[_0x370ef2(0x494)])!=null?_0x4fa5a9:null;}[_0xcc99a3(0x267)](){var _0x161376=_0xcc99a3;super[_0x161376(0x267)](),this[_0x161376(0x33c)](),this[_0x161376(0x2ab)][_0x161376(0x332)](),this[_0x161376(0x2ab)][_0x161376(0x3e7)]();}[_0xcc99a3(0x33c)](){var _0x4657b6=_0xcc99a3,_0x1660f6,_0x7af4a4;this[_0x4657b6(0x174)](),(_0x1660f6=this['_socket'])==null||_0x1660f6[_0x4657b6(0x201)]({'cmd':_0x3e52e9[_0x4657b6(0x295)],'data':{'roomID':this[_0x4657b6(0x443)]}}),(_0x7af4a4=this[_0x4657b6(0x36b)])==null||_0x7af4a4['close'](),this[_0x4657b6(0x2e6)][_0x4657b6(0x3e7)](),this[_0x4657b6(0x2e8)][_0x4657b6(0x3e7)]();}[_0xcc99a3(0x2df)](_0x1ec3c0){var _0x35251b=_0xcc99a3;_0x1ec3c0[_0x35251b(0x407)]===_0x3e52e9['JOIN']?this[_0x35251b(0x23a)](_0x1ec3c0):_0x1ec3c0['cmd']===_0x3e52e9[_0x35251b(0x14e)]&&this['_onRecvEvent'](_0x1ec3c0);}['_joinRoom'](_0x362e31){var _0x4de57d=_0xcc99a3;this['_sessionStatus$'][_0x4de57d(0x332)](0x1),_0x362e31['send']({'cmd':_0x3e52e9[_0x4de57d(0x320)],'routeKey':this[_0x4de57d(0x443)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0xcc99a3(0x23a)](_0x18ce75){var _0x4b6245=_0xcc99a3,_0x1f1a67;if(_0x18ce75['code']in _0x4fd390){this[_0x4b6245(0x314)]['emitEvent']({'id':_0x5b41c0[_0x4b6245(0x409)],'data':_0x4fd390[_0x18ce75[_0x4b6245(0x44e)]]}),this['_sessionStatus$'][_0x4b6245(0x332)](0x2);return;}this['_sessionStatus$']['next'](0x3);const _0x2c9c8b=(_0x1f1a67=_0x18ce75[_0x4b6245(0x2e0)]['roomInfos'][this[_0x4b6245(0x443)]])==null?void 0x0:_0x1f1a67[_0x4b6245(0x342)];_0x2c9c8b&&_0x2c9c8b[_0x4b6245(0x44c)](_0x1a61ca=>this['_memberService'][_0x4b6245(0x20d)](this[_0x4b6245(0x443)],_0x1a61ca));}['_onRecvEvent'](_0x21644d){var _0xb898d2=_0xcc99a3;try{const _0x4e84da=_0x21644d[_0xb898d2(0x2e0)];switch(_0x4e84da[_0xb898d2(0x2e3)]){case _0x1c769f[_0xb898d2(0x28a)][_0xb898d2(0x20a)]:this[_0xb898d2(0x18c)](_0x4e84da),this[_0xb898d2(0x2e6)]['next'](_0x4e84da);break;case _0x1c769f[_0xb898d2(0x28a)][_0xb898d2(0x30c)]:this[_0xb898d2(0x309)](_0x4e84da),this[_0xb898d2(0x2e6)]['next'](_0x4e84da);break;case _0x1c769f[_0xb898d2(0x28a)]['CHANGESET_ACK']:case _0x1c769f['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:this[_0xb898d2(0x200)](),this[_0xb898d2(0x130)](),this[_0xb898d2(0x2e6)][_0xb898d2(0x332)](_0x4e84da);break;case _0x1c769f[_0xb898d2(0x28a)]['MSG_FOR_ERROR']:this[_0xb898d2(0x249)][_0xb898d2(0x485)](_0xb898d2(0x30b)+JSON[_0xb898d2(0x180)](_0x4e84da)),this[_0xb898d2(0x2e6)][_0xb898d2(0x332)](_0x4e84da);break;case _0x1c769f[_0xb898d2(0x28a)][_0xb898d2(0x2f8)]:this['_commentService']['onCommentUpdate'](_0x4e84da['data']),this[_0xb898d2(0x2e6)][_0xb898d2(0x332)](_0x4e84da);break;default:this[_0xb898d2(0x2e6)][_0xb898d2(0x332)](_0x4e84da);}}catch(_0x2a0c18){this['_logService'][_0xb898d2(0x485)](_0x2a0c18,_0x21644d);}}[_0xcc99a3(0x18c)](_0x58601f){var _0x10fe85=_0xcc99a3;this[_0x10fe85(0x451)]['updateMember'](this[_0x10fe85(0x443)],_0x58601f[_0x10fe85(0x2e0)]);}['_onUserLeave'](_0x1f9020){var _0xdf7038=_0xcc99a3;this[_0xdf7038(0x451)]['removeMember'](this['_unitID'],_0x1f9020[_0xdf7038(0x2e0)]['memberID']);}async[_0xcc99a3(0x201)](_0x254c8c,_0x397dcd){var _0x3168b9=_0xcc99a3;if(this[_0x3168b9(0x426)]!==0x3||!this[_0x3168b9(0x36b)])throw new Error(_0x3168b9(0x161));try{_0x254c8c[_0x3168b9(0x2e3)]===_0x1c769f[_0x3168b9(0x28a)][_0x3168b9(0x16b)]&&(this[_0x3168b9(0x30f)](),this[_0x3168b9(0x33d)](_0x254c8c)),this[_0x3168b9(0x36b)]['send']({'cmd':_0x3e52e9[_0x3168b9(0x432)],'routeKey':_0x397dcd,'routeType':'','data':_0x254c8c});}catch(_0x3dcd03){this[_0x3168b9(0x249)][_0x3168b9(0x485)](_0x3dcd03);}}['_scheduleCollaborationTimeoutTimer'](){var _0x54caf4=_0xcc99a3,_0x4d3345;this[_0x54caf4(0x17a)]=setTimeout(()=>{var _0x17ceaa=_0x54caf4;this[_0x17ceaa(0x17a)]=null,this[_0x17ceaa(0x314)][_0x17ceaa(0x44a)]({'id':_0x5b41c0[_0x17ceaa(0x3df)]});},(_0x4d3345=this[_0x54caf4(0x463)]['getConfig'](_0x2978c9))!=null?_0x4d3345:0x4e20);}['_clearCollaborationTimeoutTimer'](){var _0x57f3a5=_0xcc99a3;this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x57f3a5(0x17a)]=null);}[_0xcc99a3(0x33d)](_0xa9d9bd){var _0x2508ef=_0xcc99a3;if(!this[_0x2508ef(0x40e)])return;const {data:_0x13eb7b}=_0xa9d9bd,{unitID:_0x8f3378,changeset:_0x37550d}=_0x13eb7b,{mutations:_0x5e0db2,type:_0x393de9}=_0x37550d;this[_0x2508ef(0x473)]={'unitId':_0x8f3378,'type':_0x393de9,'startTime':performance[_0x2508ef(0x22d)](),'stopTime':0x0,'duration':0x0,'size':_0x39d30d(_0x5e0db2)};}[_0xcc99a3(0x200)](){var _0x424d27=_0xcc99a3;if(this[_0x424d27(0x40e)]){if(!this[_0x424d27(0x473)]){this['_logService']['error'](_0x424d27(0x11a),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo']['stopTime']=performance[_0x424d27(0x22d)](),this[_0x424d27(0x473)][_0x424d27(0x2c4)]=this['_telemetryInfo']['stopTime']-this[_0x424d27(0x473)]['startTime'],this[_0x424d27(0x1ca)][_0x424d27(0x14f)](_0x4956ff,this[_0x424d27(0x473)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x2e84a1=_0xcc99a3;this[_0x2e84a1(0x473)]=null;}},_0x56d6c4[_0xcc99a3(0x3c3)]=_0x3af164([_0x5e44e9(0x2,_0x59c11e[_0xcc99a3(0x481)]),_0x5e44e9(0x3,_0x59c11e['IConfigService']),_0x5e44e9(0x4,_0x59c11e[_0xcc99a3(0x3c1)](_0x56d6c4['MemberService'])),_0x5e44e9(0x5,_0x59c11e[_0xcc99a3(0x3c1)](_0x5229b9)),_0x5e44e9(0x6,_0x59c11e['Inject'](_0x1948fa)),_0x5e44e9(0x7,_0x59c11e[_0xcc99a3(0x226)](_0x1881d8['ITelemetryService']))],_0x56d6c4['CollaborationSession']);const _0x5826b1=_0x59c11e[_0xcc99a3(0x42e)](_0xcc99a3(0x37f));function _0x70f03a(_0x2ee0d8){var _0x65d33c=_0xcc99a3;return _0x65d33c(0x429)+_0x2ee0d8;}var _0x17a9bd=Object[_0xcc99a3(0x188)],_0x41a779=(_0x5c8e0e,_0x538fa9,_0x4f9659,_0x43e0aa)=>{for(var _0x3ad4d3=_0x43e0aa>0x1?void 0x0:_0x43e0aa?_0x17a9bd(_0x538fa9,_0x4f9659):_0x538fa9,_0x3dadd4=_0x5c8e0e['length']-0x1,_0x590eec;_0x3dadd4>=0x0;_0x3dadd4--)(_0x590eec=_0x5c8e0e[_0x3dadd4])&&(_0x3ad4d3=_0x590eec(_0x3ad4d3)||_0x3ad4d3);return _0x3ad4d3;},_0x23d4dd=(_0x3d06d3,_0x557a9b)=>(_0x1bb68b,_0x15ee12)=>_0x557a9b(_0x1bb68b,_0x15ee12,_0x3d06d3);function _0x5eeb50(_0x5bdf17){var _0x33c4f6=_0xcc99a3;const {unitID:_0x5b14e1,mutations:_0x7c0b0a}=_0x5bdf17;return{'unitId':_0x5b14e1,'subUnitId':_0x7c0b0a[_0x33c4f6(0x3db)]>0x0?_0x7c0b0a[0x0][_0x33c4f6(0x2db)]['subUnitId']:null};}_0x56d6c4[_0xcc99a3(0x322)]=class{constructor(_0x5c20e6,_0x345aa4,_0x5d499b){var _0x52831a=_0xcc99a3;this[_0x52831a(0x47d)]=_0x5c20e6,this[_0x52831a(0x13d)]=_0x345aa4,this['_instanceService']=_0x5d499b;}[_0xcc99a3(0x1ae)](_0x2f775f){var _0x33ef74=_0xcc99a3,_0x2d3e02,_0x18367c,_0x229170,_0x10f729;const _0x383ef8=this[_0x33ef74(0x47d)][_0x33ef74(0x3e8)](_0x5a669f[_0x33ef74(0x154)]),{unitId:_0x5b4b90,subUnitId:_0xa8f53f}=_0x5eeb50(_0x2f775f),_0x5937b8=_0x383ef8==null?void 0x0:_0x383ef8[_0x33ef74(0x3e4)](_0x5b4b90)[_0x33ef74(0x111)](),_0x47416a=(_0x18367c=(_0x2d3e02=this['_instanceService'][_0x33ef74(0x22f)](_0x5b4b90))==null?void 0x0:_0x2d3e02[_0x33ef74(0x2dc)]())==null?void 0x0:_0x18367c['getSheetId']();if(_0x5937b8['length']===0x0||!_0x5b4b90||!_0xa8f53f)return;const _0x1d731a=[{'id':_0x5a669f[_0x33ef74(0x147)]['id'],'params':{'unitId':_0x5b4b90,'subUnitId':_0x47416a,'selections':_0x59c11e[_0x33ef74(0x1f6)]['deepClone'](_0x5937b8)}}],_0x598e00=this['_transformService'][_0x33ef74(0x324)](_0x2f775f,_0x1d731a);if(!_0x1c769f['isTransformMutationsWithChangesetSuccess'](_0x598e00))throw _0x598e00[_0x33ef74(0x485)];const _0x22f738=(_0x10f729=(_0x229170=_0x598e00['m2Prime'][0x0])==null?void 0x0:_0x229170[_0x33ef74(0x2db)])==null?void 0x0:_0x10f729[_0x33ef74(0x3b5)];if(Array[_0x33ef74(0x460)](_0x22f738)&&_0x22f738[_0x33ef74(0x3db)]){if(_0x22f738[_0x33ef74(0x3db)]===_0x1d731a[0x0][_0x33ef74(0x2db)][_0x33ef74(0x3b5)][_0x33ef74(0x3db)]&&_0x22f738[_0x33ef74(0x22b)]((_0x32216e,_0x557866)=>_0x59c11e[_0x33ef74(0x171)][_0x33ef74(0x3bf)](_0x32216e[_0x33ef74(0x37b)],_0x1d731a[0x0][_0x33ef74(0x2db)]['selections'][_0x557866][_0x33ef74(0x37b)])))return;this['_injector'][_0x33ef74(0x3e8)](_0x59c11e[_0x33ef74(0x477)])[_0x33ef74(0x27f)](_0x5a669f[_0x33ef74(0x147)]['id'],{'unitId':_0x5b4b90,'subUnitId':_0x47416a,'selections':_0x22f738});}}},_0x56d6c4[_0xcc99a3(0x322)]=_0x41a779([_0x23d4dd(0x0,_0x59c11e[_0xcc99a3(0x3c1)](_0x59c11e[_0xcc99a3(0x10c)])),_0x23d4dd(0x1,_0x1c769f['ITransformService']),_0x23d4dd(0x2,_0x59c11e[_0xcc99a3(0x469)])],_0x56d6c4[_0xcc99a3(0x322)]);const _0x2f52ab=_0x59c11e[_0xcc99a3(0x42e)](_0xcc99a3(0x3a7));var _0x265b23=(_0x1bc29c=>(_0x1bc29c[_0x1bc29c[_0xcc99a3(0x246)]=0x0]=_0xcc99a3(0x246),_0x1bc29c[_0x1bc29c[_0xcc99a3(0x38f)]=0x1]='OTHER_CLIENTS_EDITING',_0x1bc29c))(_0x265b23||{});const _0x20be82=_0xcc99a3(0x2fb),_0x5544a9={};function _0x38d70a(_0x17ae57){var _0x597d2a=_0xcc99a3,_0x59a17d;return!!((_0x59a17d=_0x17ae57[_0x597d2a(0x2db)])!=null&&_0x59a17d[_0x597d2a(0x453)]);}const _0x52b7f2=new Set([_0x5a669f[_0xcc99a3(0x398)]['id']]);function _0x52b3ad(_0x8de259,_0x556bcb,_0x326ccf,_0x42da9c,_0x4b1746){var _0x2f4c9b=_0xcc99a3,_0xce14f0,_0x3d90e7,_0x5027f2,_0x3e6352;const _0x4dd415=[];for(const _0x12c5be of _0x8de259){if(_0x52b7f2['has'](_0x12c5be['id'])){if(_0x4dd415[_0x2f4c9b(0x3db)]>0x0)break;_0x4dd415['push'](_0x12c5be);break;}if(_0x38d70a(_0x12c5be)){if(_0x4dd415[_0x2f4c9b(0x3db)]>0x0)break;_0x4dd415['push'](_0x12c5be);break;}_0x4dd415[_0x2f4c9b(0x3c2)](_0x12c5be);}const _0x3518d5=(_0x3d90e7=(_0xce14f0=_0x4b1746[_0x2f4c9b(0x2e7)]())==null?void 0x0:_0xce14f0[_0x2f4c9b(0x3ea)])!=null?_0x3d90e7:_0x2f4c9b(0x155),_0x17999b=(_0x3e6352=(_0x5027f2=_0x4b1746[_0x2f4c9b(0x2e7)]())==null?void 0x0:_0x5027f2[_0x2f4c9b(0x494)])!=null?_0x3e6352:_0x2f4c9b(0x155);return{'changeset':{'unitID':_0x556bcb,'type':_0x1c769f[_0x2f4c9b(0x2aa)](_0x326ccf[_0x2f4c9b(0x193)](_0x556bcb)),'baseRev':_0x42da9c[_0x2f4c9b(0x1a3)](_0x556bcb),'revision':0x0,'userID':_0x3518d5,'memberID':_0x17999b,'mutations':_0x4dd415},'pendingMutations':_0x8de259[_0x2f4c9b(0x313)](_0x4dd415[_0x2f4c9b(0x3db)])};}function _0x4344cb(_0xd1d59c,_0x4b8e83,_0x5983c5,_0xd0e6b1,_0x457ce5){var _0x1edb99=_0xcc99a3,_0x2a29a3,_0x1210ab,_0x5414ad,_0x3870e1;const _0x421b5c=[_0xd1d59c[_0x1edb99(0x450)]((_0x3c0b5d,_0x3e1e9a)=>{var _0x146e05=_0x1edb99,_0x6108a2;const {id:_0x441fde}=_0x3c0b5d,{id:_0x13c649,type:_0x11e71a}=_0x3e1e9a,_0x209ed0=(_0x6108a2=_0x3c0b5d[_0x146e05(0x2db)])!=null?_0x6108a2:{'actions':null},_0x23850d=_0x3e1e9a[_0x146e05(0x2db)];if(_0x441fde&&_0x441fde!==_0x13c649)throw new Error(_0x146e05(0x19e)+_0x441fde+_0x146e05(0x1fd)+_0x13c649+'.');return{..._0x3c0b5d,'id':_0x13c649,'type':_0x11e71a,'params':{'unitId':_0x23850d[_0x146e05(0x40c)],'textRanges':_0x23850d['textRanges'],'actions':_0x59c11e['JSONX'][_0x146e05(0x3fe)](_0x209ed0[_0x146e05(0x34f)],_0x23850d[_0x146e05(0x34f)])}};},{})],_0x249bdd=(_0x1210ab=(_0x2a29a3=_0x457ce5[_0x1edb99(0x2e7)]())==null?void 0x0:_0x2a29a3[_0x1edb99(0x3ea)])!=null?_0x1210ab:_0x1edb99(0x155),_0x404897=(_0x3870e1=(_0x5414ad=_0x457ce5[_0x1edb99(0x2e7)]())==null?void 0x0:_0x5414ad[_0x1edb99(0x494)])!=null?_0x3870e1:_0x1edb99(0x155);return{'changeset':{'unitID':_0x4b8e83,'type':_0x1c769f[_0x1edb99(0x2aa)](_0x5983c5[_0x1edb99(0x193)](_0x4b8e83)),'baseRev':_0xd0e6b1[_0x1edb99(0x1a3)](_0x4b8e83),'revision':0x0,'userID':_0x249bdd,'memberID':_0x404897,'mutations':_0x421b5c},'pendingMutations':[]};}function _0x29c782(_0x3ea387,_0x3233d1){var _0x5591fe=_0xcc99a3;const _0x71efb6=new _0x2e4023[(_0x5591fe(0x33b))](0x1);return setTimeout(()=>_0x71efb6['next'](_0x3233d1),_0x3ea387),_0x71efb6[_0x5591fe(0x387)]()[_0x5591fe(0x41b)](_0x2e4023[_0x5591fe(0x424)](0x1));}var _0x416d46=Object['getOwnPropertyDescriptor'],_0x31d56a=(_0x5af700,_0x24095b,_0x48601b,_0xb72150)=>{for(var _0x3a67d6=_0xb72150>0x1?void 0x0:_0xb72150?_0x416d46(_0x24095b,_0x48601b):_0x24095b,_0x276d70=_0x5af700['length']-0x1,_0x15ca5e;_0x276d70>=0x0;_0x276d70--)(_0x15ca5e=_0x5af700[_0x276d70])&&(_0x3a67d6=_0x15ca5e(_0x3a67d6)||_0x3a67d6);return _0x3a67d6;},_0x4d64b4=(_0x152b10,_0x541cd0)=>(_0x57b971,_0x104881)=>_0x541cd0(_0x57b971,_0x104881,_0x152b10),_0x6fdfaf=(_0x4e0c07=>(_0x4e0c07[_0xcc99a3(0x3c5)]=_0xcc99a3(0x184),_0x4e0c07[_0xcc99a3(0x38a)]=_0xcc99a3(0x2d2),_0x4e0c07[_0xcc99a3(0x3ac)]='pending',_0x4e0c07[_0xcc99a3(0x47a)]=_0xcc99a3(0x251),_0x4e0c07[_0xcc99a3(0x225)]=_0xcc99a3(0x303),_0x4e0c07[_0xcc99a3(0x447)]='fetch_missing',_0x4e0c07[_0xcc99a3(0x13e)]=_0xcc99a3(0x3a5),_0x4e0c07[_0xcc99a3(0x160)]=_0xcc99a3(0x260),_0x4e0c07))(_0x6fdfaf||{});const _0x4c3852=0x4e20,_0x4db33e=0x2bf20;class _0x37d986{constructor(_0x4825b5,_0x4c4eee,_0x3bcf74,_0x3ea8c6,_0xee44b0,_0x4f8b3a,_0x57d6ee,_0x4c80d3,_0x1d4ba6){var _0x5547d4=_0xcc99a3;_0x12df8a(this,_0x5547d4(0x237),null),_0x12df8a(this,_0x5547d4(0x10f),[]),(this[_0x5547d4(0x157)]=_0x4825b5,this[_0x5547d4(0x23c)]=_0x4c4eee,this[_0x5547d4(0x222)]=_0xee44b0,this[_0x5547d4(0x413)]=_0x4f8b3a,this[_0x5547d4(0x11d)]=_0x57d6ee,this[_0x5547d4(0x143)]=_0x4c80d3,this[_0x5547d4(0x3de)]=_0x1d4ba6,this[_0x5547d4(0x237)]=_0x3bcf74,this[_0x5547d4(0x10f)]=_0x3ea8c6);}['_checkMissing'](_0xe9a30c){var _0x20f929=_0xcc99a3;const _0x50c33d=this[_0x20f929(0x143)][_0x20f929(0x1a3)](this['unitID']);return _0xe9a30c[_0x20f929(0x298)]>_0x50c33d+0x1?(this[_0x20f929(0x222)]['onMissingChangesets']({'from':_0x50c33d,'to':_0xe9a30c[_0x20f929(0x298)]-0x1}),!0x0):!0x1;}[_0xcc99a3(0x245)](_0xd5ec20){var _0x3cbfb7=_0xcc99a3;this[_0x3cbfb7(0x11d)][_0x3cbfb7(0x2c3)](this[_0x3cbfb7(0x157)],_0xd5ec20);}['_transformSelections'](_0x4fd02b){var _0x5ec3a7=_0xcc99a3,_0x2d03c3,_0x503771;(_0x503771=(_0x2d03c3=this['_handler'])[_0x5ec3a7(0x1c4)])==null||_0x503771[_0x5ec3a7(0x293)](_0x2d03c3,_0x4fd02b);}['_transformIMECache'](_0x3bb6e1){var _0x5bb69a=_0xcc99a3,_0x45430c,_0x3c61b5;return(_0x3c61b5=(_0x45430c=this[_0x5bb69a(0x222)])[_0x5bb69a(0x1a5)])==null?void 0x0:_0x3c61b5[_0x5bb69a(0x293)](_0x45430c,_0x3bb6e1);}[_0xcc99a3(0x42f)](_0x2da4a4){var _0x78af84=_0xcc99a3,_0xe3bf74,_0x23cd32;return(_0x23cd32=(_0xe3bf74=this['_handler'])[_0x78af84(0x379)])==null?void 0x0:_0x23cd32[_0x78af84(0x293)](_0xe3bf74,_0x2da4a4);}[_0xcc99a3(0x499)](_0x1b6cf3){var _0xa6e027=_0xcc99a3,_0x354810,_0x1853e9,_0x1b71a0;return(_0x1b71a0=(_0x1853e9=(_0x354810=this[_0xa6e027(0x222)])[_0xa6e027(0x31a)])==null?void 0x0:_0x1853e9[_0xa6e027(0x293)](_0x354810,_0x1b6cf3))!=null?_0x1b71a0:_0x1b6cf3;}[_0xcc99a3(0x2c9)](_0x31734e){var _0x112234=_0xcc99a3,_0x417070,_0x207983,_0x541fff;return(_0x541fff=(_0x207983=(_0x417070=this['_handler'])[_0x112234(0x40d)])==null?void 0x0:_0x207983[_0x112234(0x293)](_0x417070,_0x31734e))!=null?_0x541fff:_0x31734e;}['_syncEditingCollabCursor'](_0x3bdab2){var _0x30dc4d=_0xcc99a3,_0x37ebe4,_0x575515;if(this[_0x30dc4d(0x23c)]===_0x5dd0f1[_0x30dc4d(0x338)]){const {unitID:_0x275c17,mutations:_0x457671,memberID:_0x1d204f}=_0x3bdab2,_0x5dab1b=_0x457671[_0x30dc4d(0x3db)]>0x0?_0x457671[0x0]['params'][_0x30dc4d(0x45d)]:[];Array[_0x30dc4d(0x460)](_0x5dab1b)&&_0x5dab1b[_0x30dc4d(0x3db)]>0x0&&((_0x575515=(_0x37ebe4=this[_0x30dc4d(0x222)])[_0x30dc4d(0x3da)])==null||_0x575515['call'](_0x37ebe4,{'unitID':_0x275c17,'memberID':_0x1d204f,'textRanges':_0x5dab1b}));}}[_0xcc99a3(0x284)](){var _0x41f5ad=_0xcc99a3,_0x35045c;(_0x35045c=this[_0x41f5ad(0x3de)])==null||_0x35045c['updateOfflineData'](this[_0x41f5ad(0x157)],this['type'],this[_0x41f5ad(0x237)],this[_0x41f5ad(0x10f)]);}['_getCurrentRevision'](){var _0x231e9a=_0xcc99a3;return this[_0x231e9a(0x143)][_0x231e9a(0x1a3)](this['unitID']);}['_incrementRevisionNumber'](){var _0x5d3d9c=_0xcc99a3;this[_0x5d3d9c(0x143)][_0x5d3d9c(0x1eb)](this[_0x5d3d9c(0x157)]);}[_0xcc99a3(0x2bc)](_0x2636b4){var _0x115990=_0xcc99a3,_0x311be3;let _0x284e24=this[_0x115990(0x499)](_0x2636b4);_0x284e24=this[_0x115990(0x2c9)](_0x284e24);const _0x346544=_0x59c11e[_0x115990(0x176)](_0x284e24[_0x115990(0x456)],this[_0x115990(0x413)],{'fromCollab':!0x0});if(!_0x346544['result'])throw _0x346544['error']instanceof Error?_0x346544[_0x115990(0x485)]:new Error((_0x311be3=_0x346544[_0x115990(0x485)])!=null?_0x311be3:_0x115990(0x3fb));this[_0x115990(0x43e)](_0x284e24),this[_0x115990(0x42f)](_0x284e24),this[_0x115990(0x245)](_0x2636b4),this[_0x115990(0x307)](_0x284e24),this['_syncEditingCollabCursor'](_0x284e24),this[_0x115990(0x395)]();}}_0x56d6c4[_0xcc99a3(0x22c)]=class extends _0x37d986{constructor(_0x2f081c,_0x2243e6,_0x58c677,_0xa00cd8,_0x2fa980,_0x58a3d6,_0x3c0db5,_0x2683a9,_0x53d1f4,_0x33bda9){var _0x4e9865=_0xcc99a3;super(_0x2f081c,_0x2243e6,null,[],_0x58c677,_0x3c0db5,_0x58a3d6,_0xa00cd8,_0x33bda9),_0x12df8a(this,'status',_0x4e9865(0x2d2)),(this[_0x4e9865(0x47d)]=_0x2fa980,this['_logService']=_0x2683a9,this[_0x4e9865(0x13d)]=_0x53d1f4,this[_0x4e9865(0x1ff)]=_0x33bda9);}['appendMutation'](_0x56b562){var _0x146a1b=_0xcc99a3;const _0xd0e771=this['_injector'][_0x146a1b(0x2e1)](_0x56d6c4[_0x146a1b(0x2f3)],this['unitID'],this[_0x146a1b(0x23c)],[_0x56b562],this[_0x146a1b(0x222)]);return _0xd0e771['_schedule'](),_0xd0e771[_0x146a1b(0x284)](),_0xd0e771;}['onRemoteChangeset'](_0x4b2af3){var _0x3ea69e=_0xcc99a3;if(this['_checkMissing'](_0x4b2af3))return this[_0x3ea69e(0x47d)][_0x3ea69e(0x2e1)](_0x56d6c4[_0x3ea69e(0x3d6)],this[_0x3ea69e(0x157)],this[_0x3ea69e(0x23c)],null,[],null,[_0x4b2af3],this[_0x3ea69e(0x222)]);try{const _0xf9df3b=this[_0x3ea69e(0x13d)][_0x3ea69e(0x324)](_0x4b2af3,[_0x1c769f['EmptyMutationInfo']]);if(_0x1c769f[_0x3ea69e(0x2d1)](_0xf9df3b)){const {c1Prime:_0x5c298d}=_0xf9df3b;return this[_0x3ea69e(0x2bc)](_0x5c298d),this;}throw _0xf9df3b[_0x3ea69e(0x485)];}catch(_0x529526){return this[_0x3ea69e(0x249)]['error'](_0x529526),this['_onConflict'](!0x1);}}[_0xcc99a3(0x3b9)](_0x35f306){var _0x56b515=_0xcc99a3;return this[_0x56b515(0x47d)][_0x56b515(0x2e1)](_0x56d6c4[_0x56b515(0x14c)],this[_0x56b515(0x157)],this['type'],null,[],this['_handler'],_0x35f306);}[_0xcc99a3(0x1d3)](){var _0x188b71=_0xcc99a3;throw new Error(_0x188b71(0x179));}[_0xcc99a3(0x199)](){var _0x510b72=_0xcc99a3;throw new Error(_0x510b72(0x3ab));}['onRemoteRetry'](){return this;}[_0xcc99a3(0x1e8)](){var _0x396015=_0xcc99a3;return this[_0x396015(0x47d)][_0x396015(0x2e1)](_0x56d6c4[_0x396015(0x3e5)],this[_0x396015(0x157)],this['type'],null,[],this['_handler']);}[_0xcc99a3(0x2f6)](){return this;}[_0xcc99a3(0x488)](){var _0x57bdbc=_0xcc99a3;throw new Error(_0x57bdbc(0x328));}[_0xcc99a3(0x45f)](){var _0x5e04a7=_0xcc99a3;const _0x30d522=this['_revisionService'][_0x5e04a7(0x1a3)](this['unitID']);return this[_0x5e04a7(0x222)][_0x5e04a7(0x1ad)]({'from':_0x30d522,'to':0x0}),this[_0x5e04a7(0x47d)][_0x5e04a7(0x2e1)](_0x56d6c4[_0x5e04a7(0x3d6)],this[_0x5e04a7(0x157)],this[_0x5e04a7(0x23c)],null,[],null,[],this[_0x5e04a7(0x222)]);}},_0x56d6c4['SyncedState']=_0x31d56a([_0x4d64b4(0x3,_0x59c11e[_0xcc99a3(0x3c1)](_0x1c769f[_0xcc99a3(0x35f)])),_0x4d64b4(0x4,_0x59c11e['Inject'](_0x59c11e[_0xcc99a3(0x10c)])),_0x4d64b4(0x5,_0x59c11e[_0xcc99a3(0x1be)]),_0x4d64b4(0x6,_0x59c11e[_0xcc99a3(0x477)]),_0x4d64b4(0x7,_0x59c11e['ILogService']),_0x4d64b4(0x8,_0x1c769f[_0xcc99a3(0x10b)]),_0x4d64b4(0x9,_0x59c11e[_0xcc99a3(0x226)](_0x5826b1))],_0x56d6c4[_0xcc99a3(0x22c)]),_0x56d6c4[_0xcc99a3(0x2f3)]=class extends _0x37d986{constructor(_0x4642b2,_0x33066e,_0xc02ac1,_0x4df0dd,_0xa5e9a4,_0x13153f,_0x1583a5,_0x329109,_0x509435,_0x30cc7c,_0x4692c3,_0x442ce3,_0x5226b8,_0x21c090){var _0x347497=_0xcc99a3;super(_0x4642b2,_0x33066e,null,_0xc02ac1,_0x4df0dd,_0x509435,_0x5226b8,_0x13153f,_0x21c090),_0x12df8a(this,_0x347497(0x1a9),_0x347497(0x3e6)),_0x12df8a(this,'_scheduleCompleteTimestamp',null),_0x12df8a(this,_0x347497(0x3ef),null),(this[_0x347497(0x47d)]=_0xa5e9a4,this[_0x347497(0x451)]=_0x1583a5,this[_0x347497(0x249)]=_0x329109,this['_configService']=_0x30cc7c,this[_0x347497(0x13d)]=_0x4692c3,this[_0x347497(0x206)]=_0x442ce3);}[_0xcc99a3(0x32c)](_0x26a3a8){return this['_pendingMutations']['push'](_0x26a3a8),this['_updateLocalCache'](),this;}[_0xcc99a3(0x144)](_0xe05f7e){var _0x5d6ff4=_0xcc99a3;if(this['_checkMissing'](_0xe05f7e))return this[_0x5d6ff4(0x299)](),this[_0x5d6ff4(0x47d)][_0x5d6ff4(0x2e1)](_0x56d6c4['FetchingMissState'],this[_0x5d6ff4(0x157)],this['type'],null,this['_pendingMutations'],null,[_0xe05f7e],this['_handler']);try{const _0x7c1b54=this[_0x5d6ff4(0x13d)][_0x5d6ff4(0x324)](_0xe05f7e,this['_pendingMutations']);if(_0x1c769f[_0x5d6ff4(0x2d1)](_0x7c1b54)){const {c1Prime:_0x1ab371,m2Prime:_0x35b53a}=_0x7c1b54;this[_0x5d6ff4(0x2bc)](_0x1ab371);const _0x16aabf=this[_0x5d6ff4(0x47d)][_0x5d6ff4(0x2e1)](_0x56d6c4[_0x5d6ff4(0x2f3)],this[_0x5d6ff4(0x157)],this[_0x5d6ff4(0x23c)],_0x35b53a,this[_0x5d6ff4(0x222)]);this[_0x5d6ff4(0x299)]();const _0x48185e=new Date()[_0x5d6ff4(0x1ba)](),_0x2b1fec=this[_0x5d6ff4(0x45c)]?Math[_0x5d6ff4(0x340)](this['_scheduleCompleteTimestamp']-_0x48185e,0x0):this[_0x5d6ff4(0x425)]();return _0x16aabf[_0x5d6ff4(0x148)](_0x2b1fec),_0x16aabf;}throw _0x7c1b54[_0x5d6ff4(0x485)];}catch(_0x40a1d7){return this[_0x5d6ff4(0x249)][_0x5d6ff4(0x485)](_0x40a1d7),this[_0x5d6ff4(0x3b9)](!0x1);}}['onRemoteAck'](){var _0x508fce=_0xcc99a3;throw new Error(_0x508fce(0x1b7));}[_0xcc99a3(0x199)](){throw new Error('[PendingState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0xcc99a3(0x1e8)](){var _0x364002=_0xcc99a3;return this[_0x364002(0x299)](),this['_injector']['createInstance'](_0x56d6c4[_0x364002(0x3e5)],this[_0x364002(0x157)],this[_0x364002(0x23c)],null,this[_0x364002(0x10f)],this[_0x364002(0x222)]);}[_0xcc99a3(0x2f6)](){return this;}[_0xcc99a3(0x148)](_0x50238b){var _0x5a4d5c=_0xcc99a3;const _0x599889=_0x50238b!=null?_0x50238b:this[_0x5a4d5c(0x425)]();this[_0x5a4d5c(0x45c)]=new Date()[_0x5a4d5c(0x1ba)]()+_0x599889,this[_0x5a4d5c(0x3ef)]=setTimeout(()=>{var _0x353256=_0x5a4d5c;this[_0x353256(0x299)]();let _0x31861e=null;switch(this[_0x353256(0x23c)]){case _0x5dd0f1['UNIVER_SHEET']:{_0x31861e=_0x52b3ad(this[_0x353256(0x10f)],this[_0x353256(0x157)],this[_0x353256(0x206)],this[_0x353256(0x143)],this[_0x353256(0x451)]);break;}case _0x5dd0f1['UNIVER_DOC']:{this[_0x353256(0x10f)][_0x353256(0x22b)](_0x30ed08=>_0x30ed08['id']===_0x3b050e[_0x353256(0x257)]['id'])?_0x31861e=_0x4344cb(this[_0x353256(0x10f)],this['unitID'],this[_0x353256(0x206)],this[_0x353256(0x143)],this[_0x353256(0x451)]):_0x31861e=_0x52b3ad(this[_0x353256(0x10f)],this[_0x353256(0x157)],this['_univerInstanceService'],this[_0x353256(0x143)],this[_0x353256(0x451)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x353256(0x23c)]+'\x20in\x20_schedule.');}const {changeset:_0x4f44ea,pendingMutations:_0x598431}=_0x31861e;this['_handler'][_0x353256(0x114)](_0x4f44ea);const _0x28af88=_0x598431[_0x353256(0x3db)]?this[_0x353256(0x47d)]['createInstance'](_0x56d6c4[_0x353256(0x32e)],this['unitID'],this[_0x353256(0x23c)],_0x4f44ea,_0x598431,this['_handler'],void 0x0):this[_0x353256(0x47d)]['createInstance'](_0x56d6c4[_0x353256(0x1ea)],this[_0x353256(0x157)],this['type'],_0x4f44ea,this[_0x353256(0x222)]);_0x28af88[_0x353256(0x284)](),this[_0x353256(0x222)][_0x353256(0x2cf)](this,_0x28af88);},_0x599889);}[_0xcc99a3(0x425)](){var _0x5384dc=_0xcc99a3,_0x292675;const _0x39a065=this[_0x5384dc(0x463)]['getConfig'](_0x20be82);return(_0x292675=_0x39a065==null?void 0x0:_0x39a065[_0x5384dc(0x156)])!=null?_0x292675:0x7d0;}[_0xcc99a3(0x488)](){var _0x28fd61=_0xcc99a3;throw new Error(_0x28fd61(0x1d9));}[_0xcc99a3(0x299)](){var _0x479e08=_0xcc99a3;this[_0x479e08(0x3ef)]!=null&&(clearTimeout(this[_0x479e08(0x3ef)]),this['_sendingTimer']=null);}[_0xcc99a3(0x3b9)](_0x2b976e){var _0x1a022f=_0xcc99a3;return this[_0x1a022f(0x299)](),this[_0x1a022f(0x47d)][_0x1a022f(0x2e1)](_0x56d6c4[_0x1a022f(0x14c)],this[_0x1a022f(0x157)],this['type'],null,this['_pendingMutations'],this['_handler'],_0x2b976e);}},_0x56d6c4[_0xcc99a3(0x2f3)]=_0x31d56a([_0x4d64b4(0x4,_0x59c11e[_0xcc99a3(0x3c1)](_0x59c11e[_0xcc99a3(0x10c)])),_0x4d64b4(0x5,_0x59c11e['Inject'](_0x1c769f[_0xcc99a3(0x35f)])),_0x4d64b4(0x6,_0x59c11e[_0xcc99a3(0x3c1)](_0x56d6c4[_0xcc99a3(0x1bd)])),_0x4d64b4(0x7,_0x59c11e['ILogService']),_0x4d64b4(0x8,_0x59c11e[_0xcc99a3(0x477)]),_0x4d64b4(0x9,_0x59c11e[_0xcc99a3(0x375)]),_0x4d64b4(0xa,_0x1c769f['ITransformService']),_0x4d64b4(0xb,_0x59c11e[_0xcc99a3(0x469)]),_0x4d64b4(0xc,_0x59c11e[_0xcc99a3(0x1be)]),_0x4d64b4(0xd,_0x59c11e[_0xcc99a3(0x226)](_0x5826b1))],_0x56d6c4['PendingState']),_0x56d6c4[_0xcc99a3(0x1ea)]=class extends _0x37d986{constructor(_0x157bcd,_0x3c938c,_0x3273ac,_0x2af1ac,_0x4797be,_0x5a8f39,_0x501804,_0x402ce0,_0x35deca,_0x3639b1,_0x519b86){var _0x4dabea=_0xcc99a3;super(_0x157bcd,_0x3c938c,_0x3273ac,[],_0x2af1ac,_0x501804,_0x3639b1,_0x5a8f39,_0x519b86),_0x12df8a(this,_0x4dabea(0x1a9),_0x4dabea(0x251)),_0x12df8a(this,'_resendTimeout',0x0),_0x12df8a(this,'_maxTotalRetryTimeout',0x0),_0x12df8a(this,_0x4dabea(0x2e2)),_0x12df8a(this,_0x4dabea(0x370)),(this[_0x4dabea(0x47d)]=_0x4797be,this[_0x4dabea(0x249)]=_0x402ce0,this[_0x4dabea(0x13d)]=_0x35deca);}[_0xcc99a3(0x32c)](_0x3a5261){var _0x501ed1=_0xcc99a3;this[_0x501ed1(0x299)]();const _0x18f3e1=this[_0x501ed1(0x47d)][_0x501ed1(0x2e1)](_0x56d6c4[_0x501ed1(0x32e)],this[_0x501ed1(0x157)],this[_0x501ed1(0x23c)],this[_0x501ed1(0x237)],[_0x3a5261],this[_0x501ed1(0x222)],this[_0x501ed1(0x2e2)]);return _0x18f3e1[_0x501ed1(0x284)](),_0x18f3e1;}['onRemoteChangeset'](_0x3ef4e1){var _0x7ac9bb=_0xcc99a3;if(this['_checkMissing'](_0x3ef4e1))return this[_0x7ac9bb(0x299)](),this[_0x7ac9bb(0x47d)][_0x7ac9bb(0x2e1)](_0x56d6c4[_0x7ac9bb(0x3d6)],this['unitID'],this['type'],this[_0x7ac9bb(0x237)],[],null,[_0x3ef4e1],this['_handler']);try{const _0x38b337=this['_transformService'][_0x7ac9bb(0x3d4)]([_0x3ef4e1],[this[_0x7ac9bb(0x237)]],!0x1);if(_0x1c769f['isTransformChangesetsSuccess'](_0x38b337)){const {c1Prime:_0x369db7,c2Prime:_0x5421b2}=_0x38b337;this[_0x7ac9bb(0x2bc)](_0x369db7[0x0]),_0x5421b2[0x0][_0x7ac9bb(0x3d2)]=this[_0x7ac9bb(0x48f)](),this[_0x7ac9bb(0x299)]();const _0x265848=this[_0x7ac9bb(0x47d)][_0x7ac9bb(0x2e1)](_0x56d6c4[_0x7ac9bb(0x1ea)],this['unitID'],this[_0x7ac9bb(0x23c)],_0x5421b2[0x0],this[_0x7ac9bb(0x222)]);return _0x265848[_0x7ac9bb(0x284)](),_0x265848;}return this[_0x7ac9bb(0x3b9)](!0x1);}catch(_0x392026){return this[_0x7ac9bb(0x249)]['error'](_0x392026),this['_onConflict'](!0x1);}}[_0xcc99a3(0x1d3)](_0x31b479){var _0x5030ba=_0xcc99a3;this[_0x5030ba(0x299)]();const _0x4c26c4=this[_0x5030ba(0x143)][_0x5030ba(0x1a3)](this['unitID']);if(_0x31b479[_0x5030ba(0x298)]<_0x4c26c4-0x1)return this;if(this['_checkMissing'](_0x31b479))return this[_0x5030ba(0x47d)][_0x5030ba(0x2e1)](_0x56d6c4[_0x5030ba(0x3d6)],this[_0x5030ba(0x157)],this[_0x5030ba(0x23c)],null,[],this[_0x5030ba(0x237)],[],this[_0x5030ba(0x222)]);this[_0x5030ba(0x395)]();const _0x3696f2=this['_injector'][_0x5030ba(0x2e1)](_0x56d6c4[_0x5030ba(0x22c)],this[_0x5030ba(0x157)],this[_0x5030ba(0x23c)],this[_0x5030ba(0x222)]);return _0x3696f2['_updateLocalCache'](),_0x3696f2;}[_0xcc99a3(0x199)](_0x20688a){var _0x5b1d00=_0xcc99a3;return this['_onConflict'](!!(_0x20688a!=null&&_0x20688a[_0x5b1d00(0x13c)]));}[_0xcc99a3(0x467)](_0x5a2f89){var _0x4a2473=_0xcc99a3;return this[_0x4a2473(0x388)]>_0x4db33e?this['toggleOffline']():(this[_0x4a2473(0x2e2)]=_0x29c782(this[_0x4a2473(0x3cc)],{'timeout':this[_0x4a2473(0x3cc)],'reqId':_0x5a2f89[_0x4a2473(0x125)]}),this[_0x4a2473(0x370)]=this[_0x4a2473(0x2e2)]['subscribe'](({reqId:_0xbb8c21,timeout:_0xf0785})=>{this['_resendWithTimeout'](_0xbb8c21,_0xf0785);}),this);}['toggleOffline'](){var _0x26391b=_0xcc99a3;return this['_clearScheduledTask'](),this[_0x26391b(0x47d)]['createInstance'](_0x56d6c4[_0x26391b(0x3e5)],this[_0x26391b(0x157)],this[_0x26391b(0x23c)],this[_0x26391b(0x237)],[],this[_0x26391b(0x222)]);}[_0xcc99a3(0x2f6)](){return this;}[_0xcc99a3(0x488)](){var _0x58812b=_0xcc99a3;this[_0x58812b(0x222)][_0x58812b(0x114)](this[_0x58812b(0x237)]);}[_0xcc99a3(0x3b9)](_0x4a7723){var _0x3ec372=_0xcc99a3;return this[_0x3ec372(0x299)](),this[_0x3ec372(0x47d)][_0x3ec372(0x2e1)](_0x56d6c4[_0x3ec372(0x14c)],this['unitID'],this[_0x3ec372(0x23c)],this[_0x3ec372(0x237)],[],this[_0x3ec372(0x222)],_0x4a7723);}[_0xcc99a3(0x1f2)](_0x1f435f,_0x507601){var _0x321f08=_0xcc99a3,_0x2ea445;_0x1f435f===((_0x2ea445=this['_awaitingChangeset'])==null?void 0x0:_0x2ea445['reqId'])&&(this['resend'](),this[_0x321f08(0x3cc)]=_0x507601===0x0?0x3e8:Math[_0x321f08(0x3c4)](_0x507601*0x2,_0x4c3852),this[_0x321f08(0x388)]+=this['_resendTimeout']);}[_0xcc99a3(0x299)](){var _0x55a681=_0xcc99a3,_0x458f9e;(_0x458f9e=this[_0x55a681(0x370)])==null||_0x458f9e[_0x55a681(0x24e)](),this[_0x55a681(0x3cc)]=0x0,this[_0x55a681(0x388)]=0x0;}},_0x56d6c4['AwaitingState']=_0x31d56a([_0x4d64b4(0x4,_0x59c11e[_0xcc99a3(0x3c1)](_0x59c11e[_0xcc99a3(0x10c)])),_0x4d64b4(0x5,_0x59c11e['Inject'](_0x1c769f[_0xcc99a3(0x35f)])),_0x4d64b4(0x6,_0x59c11e[_0xcc99a3(0x477)]),_0x4d64b4(0x7,_0x59c11e['ILogService']),_0x4d64b4(0x8,_0x1c769f[_0xcc99a3(0x10b)]),_0x4d64b4(0x9,_0x59c11e[_0xcc99a3(0x1be)]),_0x4d64b4(0xa,_0x59c11e[_0xcc99a3(0x226)](_0x5826b1))],_0x56d6c4['AwaitingState']),_0x56d6c4[_0xcc99a3(0x32e)]=class extends _0x37d986{constructor(_0x3a4091,_0x4ebc90,_0x5ee6a4,_0x1bb72f,_0xffdf6d,_0x2a775a,_0x10bd38,_0x13de9b,_0xcecf21,_0x23af98,_0x2898c1,_0x383561,_0x485163){var _0x4a7eba=_0xcc99a3;super(_0x3a4091,_0x4ebc90,_0x5ee6a4,_0x1bb72f,_0xffdf6d,_0xcecf21,_0x383561,_0x13de9b,_0x485163),_0x12df8a(this,_0x4a7eba(0x1a9),_0x4a7eba(0x303)),_0x12df8a(this,'_resendTimeout',0x0),_0x12df8a(this,_0x4a7eba(0x388),0x0),_0x12df8a(this,_0x4a7eba(0x2e2)),_0x12df8a(this,_0x4a7eba(0x370)),(this[_0x4a7eba(0x47d)]=_0x10bd38,this[_0x4a7eba(0x249)]=_0x23af98,this[_0x4a7eba(0x13d)]=_0x2898c1,this[_0x4a7eba(0x1ff)]=_0x485163,_0x2a775a&&(this['_resendTimer']=_0x2a775a,this[_0x4a7eba(0x370)]=this[_0x4a7eba(0x2e2)][_0x4a7eba(0x1b3)](({reqId:_0x29fd83,timeout:_0x5a678e})=>{var _0x29aea4=_0x4a7eba;this[_0x29aea4(0x1f2)](_0x29fd83,_0x5a678e);})));}['appendMutation'](_0x2e9ae4){var _0x48e63f=_0xcc99a3;return this[_0x48e63f(0x10f)][_0x48e63f(0x3c2)](_0x2e9ae4),this;}['onRemoteChangeset'](_0x8fc667){var _0x4d2e70=_0xcc99a3;if(this[_0x4d2e70(0x2cc)](_0x8fc667))return this[_0x4d2e70(0x299)](),this[_0x4d2e70(0x47d)][_0x4d2e70(0x2e1)](_0x56d6c4[_0x4d2e70(0x3d6)],this[_0x4d2e70(0x157)],this[_0x4d2e70(0x23c)],this['_awaitingChangeset'],this['_pendingMutations'],null,[_0x8fc667],this[_0x4d2e70(0x222)]);try{const _0x2a85e8=this[_0x4d2e70(0x13d)][_0x4d2e70(0x3d4)]([_0x8fc667],[this['_awaitingChangeset']],!0x1);if(_0x1c769f['isTransformChangesetsSuccess'](_0x2a85e8)){const {c1Prime:_0x115693,c2Prime:_0x120a29}=_0x2a85e8,_0x24379b=this[_0x4d2e70(0x13d)][_0x4d2e70(0x324)](_0x115693[0x0],this[_0x4d2e70(0x10f)]);if(_0x1c769f[_0x4d2e70(0x2d1)](_0x24379b)){const {c1Prime:_0x300a6,m2Prime:_0x4bd90a}=_0x24379b;return this[_0x4d2e70(0x2bc)](_0x300a6),_0x120a29[0x0]['baseRev']=this[_0x4d2e70(0x48f)](),this[_0x4d2e70(0x299)](),this[_0x4d2e70(0x47d)][_0x4d2e70(0x2e1)](_0x56d6c4[_0x4d2e70(0x32e)],this[_0x4d2e70(0x157)],this[_0x4d2e70(0x23c)],_0x120a29[0x0],_0x4bd90a,this[_0x4d2e70(0x222)],void 0x0);}throw _0x24379b[_0x4d2e70(0x485)];}throw _0x2a85e8[_0x4d2e70(0x485)];}catch(_0x4ca0e3){return this[_0x4d2e70(0x249)][_0x4d2e70(0x485)](_0x4ca0e3),this[_0x4d2e70(0x3b9)](!0x1);}}[_0xcc99a3(0x1d3)](_0x11b8e9){var _0x290a46=_0xcc99a3;if(this['_clearScheduledTask'](),this['_checkMissing'](_0x11b8e9))return this[_0x290a46(0x47d)]['createInstance'](_0x56d6c4['FetchingMissState'],this['unitID'],this['type'],null,this[_0x290a46(0x10f)],this[_0x290a46(0x237)],[],this[_0x290a46(0x222)]);this['_incrementRevisionNumber']();const _0x1651ce=this['_injector'][_0x290a46(0x2e1)](_0x56d6c4[_0x290a46(0x2f3)],this[_0x290a46(0x157)],this[_0x290a46(0x23c)],this[_0x290a46(0x10f)],this[_0x290a46(0x222)]);return _0x1651ce[_0x290a46(0x148)](),_0x1651ce['_updateLocalCache'](),_0x1651ce;}[_0xcc99a3(0x199)](_0x305faf){var _0x7d9325=_0xcc99a3;return this['_onConflict'](!!(_0x305faf!=null&&_0x305faf[_0x7d9325(0x13c)]));}[_0xcc99a3(0x467)](_0x6e38c1){var _0x2397ce=_0xcc99a3;return this[_0x2397ce(0x388)]>_0x4db33e?this[_0x2397ce(0x1e8)]():(this[_0x2397ce(0x2e2)]=_0x29c782(this[_0x2397ce(0x3cc)],{'timeout':this[_0x2397ce(0x3cc)],'reqId':_0x6e38c1[_0x2397ce(0x125)]}),this['_sender']=this[_0x2397ce(0x2e2)][_0x2397ce(0x1b3)](({reqId:_0x571bba,timeout:_0x2900d1})=>{var _0x508d23=_0x2397ce;this[_0x508d23(0x1f2)](_0x571bba,_0x2900d1);}),this);}[_0xcc99a3(0x1e8)](){var _0x336dfd=_0xcc99a3;return this[_0x336dfd(0x299)](),this[_0x336dfd(0x47d)][_0x336dfd(0x2e1)](_0x56d6c4['OfflineState'],this[_0x336dfd(0x157)],this[_0x336dfd(0x23c)],this[_0x336dfd(0x237)],this[_0x336dfd(0x10f)],this[_0x336dfd(0x222)]);}[_0xcc99a3(0x2f6)](){return this;}[_0xcc99a3(0x488)](){var _0x4a4f4e=_0xcc99a3;this[_0x4a4f4e(0x222)][_0x4a4f4e(0x114)](this['_awaitingChangeset']);}['_onConflict'](_0x304fd2){var _0x2aaa03=_0xcc99a3;return this[_0x2aaa03(0x299)](),this[_0x2aaa03(0x47d)]['createInstance'](_0x56d6c4['ConflictState'],this[_0x2aaa03(0x157)],this[_0x2aaa03(0x23c)],null,this['_pendingMutations'],this[_0x2aaa03(0x222)],_0x304fd2);}[_0xcc99a3(0x1f2)](_0x7b7dd9,_0x37c22){var _0xa1b4b6=_0xcc99a3,_0x3161e2;_0x7b7dd9===((_0x3161e2=this['_awaitingChangeset'])==null?void 0x0:_0x3161e2['reqId'])&&(this[_0xa1b4b6(0x488)](),this['_resendTimeout']=_0x37c22===0x0?0x3e8:Math[_0xa1b4b6(0x3c4)](_0x37c22*0x2,_0x4c3852),this['_maxTotalRetryTimeout']+=this['_resendTimeout']);}[_0xcc99a3(0x299)](){var _0x200198=_0xcc99a3,_0x5f1344;(_0x5f1344=this['_sender'])==null||_0x5f1344[_0x200198(0x24e)](),this[_0x200198(0x3cc)]=0x0,this['_maxTotalRetryTimeout']=0x0;}},_0x56d6c4[_0xcc99a3(0x32e)]=_0x31d56a([_0x4d64b4(0x6,_0x59c11e[_0xcc99a3(0x3c1)](_0x59c11e[_0xcc99a3(0x10c)])),_0x4d64b4(0x7,_0x59c11e[_0xcc99a3(0x3c1)](_0x1c769f['RevisionService'])),_0x4d64b4(0x8,_0x59c11e[_0xcc99a3(0x477)]),_0x4d64b4(0x9,_0x59c11e[_0xcc99a3(0x481)]),_0x4d64b4(0xa,_0x1c769f[_0xcc99a3(0x10b)]),_0x4d64b4(0xb,_0x59c11e[_0xcc99a3(0x1be)]),_0x4d64b4(0xc,_0x59c11e[_0xcc99a3(0x226)](_0x5826b1))],_0x56d6c4[_0xcc99a3(0x32e)]),_0x56d6c4[_0xcc99a3(0x14c)]=class extends _0x37d986{constructor(_0x163ae8,_0x540fe0,_0x1ea520,_0x20335d,_0x39d803,_0x4d25d7=!0x1,_0x377057,_0x37f0eb,_0x290075,_0x4cd0ad,_0x3ef463,_0x40f021,_0x187538){var _0x1c7b50=_0xcc99a3;super(_0x163ae8,_0x540fe0,_0x1ea520,_0x20335d,_0x39d803,_0x37f0eb,_0x290075,_0x4cd0ad,_0x187538),_0x12df8a(this,'status','conflict'),(this['_isPermissionRej']=_0x4d25d7,this[_0x1c7b50(0x47b)]=_0x377057,this['_localeService']=_0x3ef463,this[_0x1c7b50(0x314)]=_0x40f021,this['localCacheService']=_0x187538,this[_0x1c7b50(0x3b6)](),this[_0x1c7b50(0x220)](),this[_0x1c7b50(0x273)]());}[_0xcc99a3(0x32c)](){return this;}[_0xcc99a3(0x144)](){return this;}['onRemoteAck'](){return this;}[_0xcc99a3(0x199)](){return this;}[_0xcc99a3(0x467)](){return this;}[_0xcc99a3(0x1e8)](){return this;}['toggleOnline'](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xcc99a3(0x220)](){var _0x1d3472=_0xcc99a3,_0x308b93;(_0x308b93=this[_0x1d3472(0x3de)])==null||_0x308b93['updateOfflineData'](this[_0x1d3472(0x157)],this[_0x1d3472(0x23c)],null,[]);}[_0xcc99a3(0x3b6)](){var _0x32691b=_0xcc99a3;this['_isPermissionRej']?this[_0x32691b(0x314)][_0x32691b(0x44a)]({'id':_0x5b41c0[_0x32691b(0x17f)]}):this[_0x32691b(0x314)]['emitEvent']({'id':_0x5b41c0[_0x32691b(0x13e)]});}[_0xcc99a3(0x273)](){var _0x38b197=_0xcc99a3;this['_permissionService'][_0x38b197(0x37c)](new _0x5a669f['WorkbookEditablePermission'](this[_0x38b197(0x157)])['id'],!0x1);}},_0x56d6c4[_0xcc99a3(0x14c)]=_0x31d56a([_0x4d64b4(0x6,_0x59c11e['Inject'](_0x59c11e[_0xcc99a3(0x354)])),_0x4d64b4(0x7,_0x59c11e['ICommandService']),_0x4d64b4(0x8,_0x59c11e[_0xcc99a3(0x1be)]),_0x4d64b4(0x9,_0x59c11e[_0xcc99a3(0x3c1)](_0x1c769f[_0xcc99a3(0x35f)])),_0x4d64b4(0xa,_0x59c11e[_0xcc99a3(0x3c1)](_0x59c11e['LocaleService'])),_0x4d64b4(0xb,_0x59c11e[_0xcc99a3(0x3c1)](_0x1948fa)),_0x4d64b4(0xc,_0x59c11e[_0xcc99a3(0x226)](_0x5826b1))],_0x56d6c4[_0xcc99a3(0x14c)]),_0x56d6c4[_0xcc99a3(0x3e5)]=class extends _0x37d986{constructor(_0x8d25c8,_0x62099,_0x4d9636,_0x4a2aa8,_0x34fb6c,_0x4c34d4,_0xfaa8c3,_0x11c259,_0xf1a671,_0x22018b){var _0x4a4761=_0xcc99a3;super(_0x8d25c8,_0x62099,_0x4d9636,_0x4a2aa8,_0x34fb6c,_0x11c259,_0xf1a671,_0xfaa8c3,_0x22018b),_0x12df8a(this,_0x4a4761(0x1a9),'offline'),this[_0x4a4761(0x47d)]=_0x4c34d4;}[_0xcc99a3(0x32c)](_0x378543){var _0x1bcaa4=_0xcc99a3;return this[_0x1bcaa4(0x10f)][_0x1bcaa4(0x3c2)](_0x378543),this[_0x1bcaa4(0x284)](),this;}[_0xcc99a3(0x144)](_0xe58764){var _0x444f2b=_0xcc99a3;throw new Error(_0x444f2b(0x197));}[_0xcc99a3(0x1d3)](){var _0x3e4ed2=_0xcc99a3;throw new Error(_0x3e4ed2(0x361));}[_0xcc99a3(0x199)](){var _0x528eab=_0xcc99a3;throw new Error(_0x528eab(0x2ee));}['onRemoteRetry'](){return this;}[_0xcc99a3(0x1e8)](){return this;}[_0xcc99a3(0x2f6)](){var _0xc286fd=_0xcc99a3;const {_injector:_0x92c96,_pendingMutations:_0x481266,_awaitingChangeset:_0x1fec16,unitID:_0x1bd482,_handler:_0x221da0,type:_0x3d26bc}=this,_0xb2e796=_0x5ba983(_0x92c96,_0x1bd482,_0x3d26bc,_0x1fec16,_0x481266,_0x221da0);return _0xb2e796 instanceof _0x56d6c4[_0xc286fd(0x2f3)]?_0xb2e796[_0xc286fd(0x148)]():(_0xb2e796 instanceof _0x56d6c4['AwaitingWithPendingState']||_0xb2e796 instanceof _0x56d6c4[_0xc286fd(0x1ea)])&&_0xb2e796[_0xc286fd(0x488)](),_0xb2e796;}[_0xcc99a3(0x488)](){var _0x5052cd=_0xcc99a3;throw new Error(_0x5052cd(0x110));}},_0x56d6c4['OfflineState']=_0x31d56a([_0x4d64b4(0x5,_0x59c11e[_0xcc99a3(0x3c1)](_0x59c11e[_0xcc99a3(0x10c)])),_0x4d64b4(0x6,_0x59c11e[_0xcc99a3(0x3c1)](_0x1c769f[_0xcc99a3(0x35f)])),_0x4d64b4(0x7,_0x59c11e['ICommandService']),_0x4d64b4(0x8,_0x59c11e[_0xcc99a3(0x1be)]),_0x4d64b4(0x9,_0x59c11e['Optional'](_0x5826b1))],_0x56d6c4[_0xcc99a3(0x3e5)]),_0x56d6c4[_0xcc99a3(0x3d6)]=class extends _0x37d986{constructor(_0x2a0843,_0x5353e2,_0xa245f6,_0x3d26dc,_0x165efa,_0x22d59a,_0x35296b,_0x1d3028,_0x428dc2,_0x308526,_0x2bf196,_0x174176,_0x14edb6,_0x15f8eb){var _0x1316cc=_0xcc99a3;super(_0x2a0843,_0x5353e2,_0xa245f6,_0x3d26dc,_0x35296b,_0x2bf196,_0x174176,_0x428dc2,_0x15f8eb),_0x12df8a(this,_0x1316cc(0x1a9),_0x1316cc(0x153)),(this['_acknowledgedAwaitingChangeset']=_0x165efa,this[_0x1316cc(0x25a)]=_0x22d59a,this['_injector']=_0x1d3028,this[_0x1316cc(0x249)]=_0x308526,this[_0x1316cc(0x13d)]=_0x14edb6,this[_0x1316cc(0x1ff)]=_0x15f8eb);}[_0xcc99a3(0x2d6)](_0x33f5d9){var _0x4771fe=_0xcc99a3;try{const _0x11586b=[..._0x33f5d9,...this[_0x4771fe(0x25a)]],_0x42ec5f=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']][_0x4771fe(0x182)](_0x2c2b2b=>!!_0x2c2b2b);let _0x4bf61a,_0x169e85;if(_0x42ec5f[_0x4771fe(0x3db)]){const _0x57f4ac=this['_transformService'][_0x4771fe(0x3d4)](_0x11586b,_0x42ec5f,!0x1);if(!_0x1c769f[_0x4771fe(0x2bf)](_0x57f4ac))throw _0x57f4ac['error'];_0x4bf61a=_0x57f4ac[_0x4771fe(0x1f7)],_0x169e85=_0x57f4ac[_0x4771fe(0x34d)];}else _0x4bf61a=_0x11586b,_0x169e85=[];let _0x55063d=this[_0x4771fe(0x10f)];_0x4bf61a[_0x4771fe(0x44c)](_0x5ef92c=>{var _0x1859b2=_0x4771fe;let _0x366696;if(_0x55063d[_0x1859b2(0x3db)]){const _0x27162b=this['_transformService'][_0x1859b2(0x324)](_0x5ef92c,_0x55063d);if(!_0x1c769f[_0x1859b2(0x2d1)](_0x27162b))throw _0x27162b['error'];_0x366696=_0x27162b[_0x1859b2(0x1f7)],_0x55063d=_0x27162b[_0x1859b2(0x419)];}else _0x366696=_0x5ef92c;this[_0x1859b2(0x2bc)](_0x366696);}),this[_0x4771fe(0x3ae)]&&this['_incrementRevisionNumber'](),this[_0x4771fe(0x237)]&&_0x169e85['length']&&(_0x169e85[0x0][_0x4771fe(0x3d2)]=this['_getCurrentRevision']());let _0x4ed471;if(this['_awaitingChangeset']&&_0x55063d['length']!==0x0)_0x4ed471=this[_0x4771fe(0x47d)][_0x4771fe(0x2e1)](_0x56d6c4[_0x4771fe(0x32e)],this['unitID'],this[_0x4771fe(0x23c)],_0x169e85[0x0],_0x55063d,this[_0x4771fe(0x222)],void 0x0);else{if(this[_0x4771fe(0x237)]&&_0x55063d[_0x4771fe(0x3db)]===0x0)_0x169e85[0x0][_0x4771fe(0x3d2)]=this[_0x4771fe(0x48f)](),_0x4ed471=this[_0x4771fe(0x47d)][_0x4771fe(0x2e1)](_0x56d6c4[_0x4771fe(0x1ea)],this[_0x4771fe(0x157)],this[_0x4771fe(0x23c)],_0x169e85[0x0],this[_0x4771fe(0x222)]);else{if(_0x55063d['length']!==0x0){const _0x1ea33e=this['_injector']['createInstance'](_0x56d6c4[_0x4771fe(0x2f3)],this[_0x4771fe(0x157)],this[_0x4771fe(0x23c)],_0x55063d,this[_0x4771fe(0x222)]);_0x1ea33e[_0x4771fe(0x148)](),_0x4ed471=_0x1ea33e;}else _0x4ed471=this['_injector'][_0x4771fe(0x2e1)](_0x56d6c4['SyncedState'],this['unitID'],this[_0x4771fe(0x23c)],this[_0x4771fe(0x222)]);}}return _0x4ed471[_0x4771fe(0x284)](),_0x4ed471;}catch(_0x21781d){return this[_0x4771fe(0x249)][_0x4771fe(0x485)](_0x4771fe(0x3c7),_0x4771fe(0x46f),_0x21781d),this[_0x4771fe(0x47d)][_0x4771fe(0x2e1)](_0x56d6c4[_0x4771fe(0x14c)],this['unitID'],this[_0x4771fe(0x23c)],this[_0x4771fe(0x237)],this['_pendingMutations'],this[_0x4771fe(0x222)],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xcc99a3(0x32c)](_0x46a5d0){var _0x511eed=_0xcc99a3;return this[_0x511eed(0x10f)][_0x511eed(0x3c2)](_0x46a5d0),this;}[_0xcc99a3(0x144)](_0x39a203){return this['_queuedRemoteChangesets']['push'](_0x39a203),this;}[_0xcc99a3(0x1d3)](_0x3421f5){var _0x45cd7e=_0xcc99a3;if(this[_0x45cd7e(0x237)])return this[_0x45cd7e(0x3ae)]=this[_0x45cd7e(0x237)],this[_0x45cd7e(0x237)]=null,this;throw new Error(_0x45cd7e(0x44d));}['onRemoteRej'](_0x1eedb5){var _0x533efd=_0xcc99a3;return this[_0x533efd(0x3b9)](!!(_0x1eedb5!=null&&_0x1eedb5[_0x533efd(0x13c)]));}[_0xcc99a3(0x467)](){return this;}['toggleOffline'](){var _0x5c1bd3=_0xcc99a3;return this[_0x5c1bd3(0x47d)][_0x5c1bd3(0x2e1)](_0x56d6c4['OfflineState'],this[_0x5c1bd3(0x157)],this[_0x5c1bd3(0x23c)],this[_0x5c1bd3(0x237)],this[_0x5c1bd3(0x10f)],this['_handler']);}[_0xcc99a3(0x2f6)](){return this;}[_0xcc99a3(0x3b9)](_0x48458b){var _0x2a5917=_0xcc99a3;return this[_0x2a5917(0x47d)]['createInstance'](_0x56d6c4[_0x2a5917(0x14c)],this[_0x2a5917(0x157)],this['type'],this[_0x2a5917(0x237)],this['_pendingMutations'],this[_0x2a5917(0x222)],_0x48458b);}},_0x56d6c4[_0xcc99a3(0x3d6)]=_0x31d56a([_0x4d64b4(0x7,_0x59c11e[_0xcc99a3(0x3c1)](_0x59c11e[_0xcc99a3(0x10c)])),_0x4d64b4(0x8,_0x59c11e[_0xcc99a3(0x3c1)](_0x1c769f[_0xcc99a3(0x35f)])),_0x4d64b4(0x9,_0x59c11e[_0xcc99a3(0x481)]),_0x4d64b4(0xa,_0x59c11e[_0xcc99a3(0x477)]),_0x4d64b4(0xb,_0x59c11e[_0xcc99a3(0x1be)]),_0x4d64b4(0xc,_0x1c769f['ITransformService']),_0x4d64b4(0xd,_0x59c11e[_0xcc99a3(0x226)](_0x5826b1))],_0x56d6c4[_0xcc99a3(0x3d6)]);function _0x5ba983(_0x20138f,_0x53aa1d,_0x4c9b3c,_0x4e2337,_0x3f70ed,_0x422557){var _0x19b3c8=_0xcc99a3;return _0x4e2337&&_0x3f70ed[_0x19b3c8(0x3db)]?_0x20138f[_0x19b3c8(0x2e1)](_0x56d6c4['AwaitingWithPendingState'],_0x53aa1d,_0x4c9b3c,_0x4e2337,_0x3f70ed,_0x422557,void 0x0):_0x4e2337?_0x20138f[_0x19b3c8(0x2e1)](_0x56d6c4[_0x19b3c8(0x1ea)],_0x53aa1d,_0x4c9b3c,_0x4e2337,_0x422557):_0x3f70ed[_0x19b3c8(0x3db)]?_0x20138f[_0x19b3c8(0x2e1)](_0x56d6c4[_0x19b3c8(0x2f3)],_0x53aa1d,_0x4c9b3c,_0x3f70ed,_0x422557):_0x20138f['createInstance'](_0x56d6c4[_0x19b3c8(0x22c)],_0x53aa1d,_0x4c9b3c,_0x422557);}var _0xb10c57=Object[_0xcc99a3(0x188)],_0x43fa97=(_0x45355d,_0x7f79ba,_0x54407f,_0x26180b)=>{var _0x2f4ad7=_0xcc99a3;for(var _0x46db6d=_0x26180b>0x1?void 0x0:_0x26180b?_0xb10c57(_0x7f79ba,_0x54407f):_0x7f79ba,_0xbf6653=_0x45355d[_0x2f4ad7(0x3db)]-0x1,_0x1d58eb;_0xbf6653>=0x0;_0xbf6653--)(_0x1d58eb=_0x45355d[_0xbf6653])&&(_0x46db6d=_0x1d58eb(_0x46db6d)||_0x46db6d);return _0x46db6d;},_0x4e310b=(_0x150c17,_0x510f64)=>(_0x206d00,_0x484848)=>_0x510f64(_0x206d00,_0x484848,_0x150c17);_0x56d6c4['CollaborationEntity']=class extends _0x59c11e[_0xcc99a3(0x250)]{constructor(_0x20b0df,_0xdfd606,_0x2a3018,_0x529353,_0x5a8cb8,_0x25db8e,_0x4a3c2e,_0x353b10,_0x3ff2fa,_0x1c431f,_0x5f385d,_0x1b9744,_0x1897c5,_0xab28e9){var _0x174eba=_0xcc99a3;super(),_0x12df8a(this,_0x174eba(0x26f),new _0x2e4023[(_0x174eba(0x177))](null)),_0x12df8a(this,'state$',this[_0x174eba(0x26f)][_0x174eba(0x387)]()),_0x12df8a(this,'_state'),_0x12df8a(this,'_collaborationPaused',!0x1),_0x12df8a(this,_0x174eba(0x138),''),_0x12df8a(this,_0x174eba(0x1d5),0x0),_0x12df8a(this,_0x174eba(0x29e),this['state$']['pipe'](_0x2e4023['map'](_0x52f5f8=>_0x52f5f8?_0x52f5f8[_0x174eba(0x1a9)]:_0x6fdfaf[_0x174eba(0x160)]),_0x2e4023[_0x174eba(0x446)](0x1))),_0x12df8a(this,_0x174eba(0x330),!0x1),_0x12df8a(this,'_remoteChangesetQueue',[]),(this[_0x174eba(0x157)]=_0x20b0df,this[_0x174eba(0x23d)]=_0xdfd606,this[_0x174eba(0x1f8)]=_0x2a3018,this[_0x174eba(0x47d)]=_0x529353,this[_0x174eba(0x439)]=_0x5a8cb8,this['_localeService']=_0x25db8e,this['_revisionService']=_0x4a3c2e,this[_0x174eba(0x489)]=_0x353b10,this[_0x174eba(0x206)]=_0x3ff2fa,this[_0x174eba(0x249)]=_0x1c431f,this[_0x174eba(0x413)]=_0x5f385d,this[_0x174eba(0x47b)]=_0x1b9744,this[_0x174eba(0x46b)]=_0x1897c5,this['_localCacheService']=_0xab28e9);}get[_0xcc99a3(0x2d3)](){var _0x3d3587=_0xcc99a3;return this[_0x3d3587(0x12e)];}async[_0xcc99a3(0x263)](){var _0x2a2b4b=_0xcc99a3;if(this[_0x2a2b4b(0x2d3)])throw new Error(_0x2a2b4b(0x3d9));await this[_0x2a2b4b(0x1bb)]();}[_0xcc99a3(0x44b)](){var _0x3ffdf6=_0xcc99a3;return this['_collaborationPaused']=!0x0,_0x59c11e[_0x3ffdf6(0x352)](()=>{var _0x3156b4=_0x3ffdf6;this[_0x3156b4(0x285)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0xcc99a3(0x279)](_0x2f3aed){var _0xe60a2e=_0xcc99a3;this[_0xe60a2e(0x356)](_0x2f3aed);}[_0xcc99a3(0x2a9)](_0x46f5f6){this['_state']=_0x46f5f6,this['_state$']['next'](_0x46f5f6);}async[_0xcc99a3(0x1bb)](){var _0xb36da4=_0xcc99a3,_0x569d6f;this[_0xb36da4(0x2a9)](await this['_createInitialState']()),this[_0xb36da4(0x46b)]&&((_0x569d6f=this[_0xb36da4(0x46b)])==null||_0x569d6f[_0xb36da4(0x120)](this[_0xb36da4(0x157)]),this[_0xb36da4(0x36d)](this[_0xb36da4(0x46b)][_0xb36da4(0x1ac)](this[_0xb36da4(0x157)])[_0xb36da4(0x1b3)](_0x2eb1b6=>{var _0x36e745=_0xb36da4;this[_0x36e745(0x249)]['debug'](_0x36e745(0x347),'editing\x20status\x20changed\x20to',_0x2eb1b6),_0x2eb1b6===_0x265b23[_0x36e745(0x38f)]?(this[_0x36e745(0x489)][_0x36e745(0x44a)]({'id':_0x5b41c0[_0x36e745(0x25d)]}),this[_0x36e745(0x47b)]['updatePermissionPoint'](new _0x5a669f['WorkbookEditablePermission'](this[_0x36e745(0x157)])['id'],!0x1),this[_0x36e745(0x47b)]['setShowComponents'](!0x1)):(this['_permissionService']['updatePermissionPoint'](new _0x5a669f[(_0x36e745(0x268))](this['unitID'])['id'],!0x0),this['_permissionService'][_0x36e745(0x218)](!0x0));})));let _0x67f12a=!0x1;return this['disposeWithMe'](this[_0xb36da4(0x23d)][_0xb36da4(0x2cd)][_0xb36da4(0x1b3)](_0x3076b7=>{var _0x16991d=_0xb36da4;_0x3076b7===_0x1ab480[_0x16991d(0x1e5)]?this[_0x16991d(0x482)](_0x67f12a):_0x3076b7===_0x1ab480['OFFLINE']&&(_0x67f12a=!0x0,this[_0x16991d(0x18f)]());})),this[_0xb36da4(0x36d)](this['session'][_0xb36da4(0x29f)][_0xb36da4(0x1b3)](_0x40ef3a=>{var _0x2c719a=_0xb36da4;try{switch(_0x40ef3a[_0x2c719a(0x2e3)]){case _0x1c769f[_0x2c719a(0x28a)][_0x2c719a(0x15d)]:{this[_0x2c719a(0x1e9)](_0x1c769f['parseProtocolChangeset'](_0x40ef3a[_0x2c719a(0x2e0)]));break;}case _0x1c769f[_0x2c719a(0x28a)][_0x2c719a(0x134)]:{this[_0x2c719a(0x21e)](_0x40ef3a[_0x2c719a(0x2e0)]);break;}case _0x1c769f[_0x2c719a(0x28a)][_0x2c719a(0x3a9)]:{this[_0x2c719a(0x357)]();break;}case _0x1c769f[_0x2c719a(0x28a)][_0x2c719a(0x41c)]:{this[_0x2c719a(0x468)](_0x40ef3a['data']);break;}case _0x1c769f[_0x2c719a(0x28a)][_0x2c719a(0x204)]:{this[_0x2c719a(0x41d)](_0x40ef3a['data'][_0x2c719a(0x137)][_0x2c719a(0x417)](_0x5d50b4=>_0x1c769f[_0x2c719a(0x1e3)](_0x5d50b4)));break;}case _0x1c769f[_0x2c719a(0x28a)][_0x2c719a(0x3ba)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x1c769f[_0x2c719a(0x28a)][_0x2c719a(0x11e)]:break;}}catch(_0xbd5102){throw console[_0x2c719a(0x485)](_0x2c719a(0x1dd),_0xbd5102),_0xbd5102;}})),this['_state'];}[_0xcc99a3(0x19a)](){var _0x5460bf=_0xcc99a3;this[_0x5460bf(0x330)]=!0x1;}[_0xcc99a3(0x486)](){var _0x160e87=_0xcc99a3;if(this[_0x160e87(0x330)])throw new Error(_0x160e87(0x476));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x55c478){var _0x49fce0=_0xcc99a3;this[_0x49fce0(0x486)](),this[_0x49fce0(0x2a9)](this[_0x49fce0(0x12e)]['appendMutation'](_0x55c478)),this[_0x49fce0(0x19a)]();}[_0xcc99a3(0x1e9)](_0x3672e6){var _0x34506a=_0xcc99a3;if(!(_0x3672e6[_0x34506a(0x298)]<=this['_revisionService'][_0x34506a(0x1a3)](this[_0x34506a(0x157)]))){if(this[_0x34506a(0x285)]){this[_0x34506a(0x1ec)][_0x34506a(0x3c2)](_0x3672e6);return;}this['_applyRemoteChangeset'](_0x3672e6);}}[_0xcc99a3(0x31c)](){var _0x43a25f=_0xcc99a3;this[_0x43a25f(0x1ec)][_0x43a25f(0x44c)](_0xa715e9=>this[_0x43a25f(0x35c)](_0xa715e9)),this[_0x43a25f(0x1ec)]=[];}[_0xcc99a3(0x35c)](_0x9643a9){var _0x41e991=_0xcc99a3;const _0x24dc52=this[_0x41e991(0x439)][_0x41e991(0x491)]['fetchThroughInterceptors'](this[_0x41e991(0x439)][_0x41e991(0x491)][_0x41e991(0x163)]()[_0x41e991(0x2fe)])(_0x9643a9[_0x41e991(0x456)],null)||_0x9643a9[_0x41e991(0x456)],_0x2053c4={..._0x9643a9,'mutations':_0x24dc52};this[_0x41e991(0x486)](),this['_updateState'](this[_0x41e991(0x12e)][_0x41e991(0x144)](_0x2053c4)),this['_unlockTransition']();}['_onRemoteACK'](_0x653cb6){var _0x249e07=_0xcc99a3;this[_0x249e07(0x486)](),this[_0x249e07(0x2a9)](this[_0x249e07(0x12e)][_0x249e07(0x1d3)](_0x653cb6)),this[_0x249e07(0x19a)]();}[_0xcc99a3(0x357)](_0x57b8b4){var _0x53585=_0xcc99a3;this[_0x53585(0x486)](),this[_0x53585(0x2a9)](this[_0x53585(0x12e)]['onRemoteRej'](_0x57b8b4)),this['_unlockTransition']();}[_0xcc99a3(0x468)](_0x3deffa){var _0xb7941d=_0xcc99a3;this[_0xb7941d(0x486)](),this['_updateState'](this['_state']['onRemoteRetry'](_0x3deffa)),this['_unlockTransition']();}[_0xcc99a3(0x41d)](_0x569973){var _0x517a83=_0xcc99a3;if(!(this[_0x517a83(0x12e)]instanceof _0x56d6c4['FetchingMissState']))throw new TypeError(_0x517a83(0x294));const _0x36c475=_0x569973['map'](_0x5e53b2=>{var _0x3a03fc=_0x517a83;const _0xdcd54c=this[_0x3a03fc(0x439)][_0x3a03fc(0x491)]['fetchThroughInterceptors'](this[_0x3a03fc(0x439)]['interceptor']['getInterceptPoints']()[_0x3a03fc(0x2fe)])(_0x5e53b2[_0x3a03fc(0x456)],null)||_0x5e53b2[_0x3a03fc(0x456)];return{..._0x5e53b2,'mutations':_0xdcd54c};});this[_0x517a83(0x486)](),this[_0x517a83(0x2a9)](this[_0x517a83(0x12e)][_0x517a83(0x2d6)](_0x36c475)),this[_0x517a83(0x19a)]();}['_toggleOffline'](){var _0x39a4c0=_0xcc99a3;this[_0x39a4c0(0x486)](),this[_0x39a4c0(0x2a9)](this['_state']['toggleOffline']()),this[_0x39a4c0(0x19a)]();}[_0xcc99a3(0x482)](_0x2d2dfb=!0x1){var _0x3efed0=_0xcc99a3;this['_lockTransition'](),this['_updateState'](this[_0x3efed0(0x12e)]['toggleOnline']()),this[_0x3efed0(0x19a)]();const _0x287b7d=this['_state'];_0x2d2dfb&&_0x287b7d instanceof _0x56d6c4[_0x3efed0(0x22c)]&&(this['_lockTransition'](),this[_0x3efed0(0x2a9)](_0x287b7d['fetchMiss']()),this['_unlockTransition']());}async[_0xcc99a3(0x228)](){return new Promise(_0x3b5560=>{var _0x2d020a=_0x24bd;this[_0x2d020a(0x23d)][_0x2d020a(0x2cd)][_0x2d020a(0x41b)](_0x2e4023[_0x2d020a(0x424)](0x1))[_0x2d020a(0x1b3)](async _0x2592bf=>{var _0x2806c9=_0x2d020a;_0x3b5560(await this[_0x2806c9(0x2e5)](_0x2592bf===_0x1ab480['ONLINE']));});});}[_0xcc99a3(0x3a1)](){var _0x1ea9de=_0xcc99a3;const _0x2b2417=this[_0x1ea9de(0x157)];return{'onStateChange':(_0x30c4f9,_0x3f51c4)=>{var _0x22ad02=_0x1ea9de;if(_0x30c4f9!==this[_0x22ad02(0x12e)])throw new Error(_0x22ad02(0x2bb)+_0x30c4f9[_0x22ad02(0x1a9)]+_0x22ad02(0x276)+_0x3f51c4[_0x22ad02(0x1a9)]+_0x22ad02(0x286)+this['_state'][_0x22ad02(0x1a9)]);this['_updateState'](_0x3f51c4);},'onSendChangeset':_0x15dd68=>{var _0x36324b=_0x1ea9de;_0x15dd68[_0x36324b(0x487)]||(_0x15dd68[_0x36324b(0x487)]=this[_0x36324b(0x138)],_0x15dd68[_0x36324b(0x125)]=++this['_changesetReqId']);const _0x3111a9={'eventID':_0x1c769f[_0x36324b(0x28a)][_0x36324b(0x16b)],'data':{'unitID':_0x15dd68['unitID'],'unitType':this[_0x36324b(0x1f8)],'changeset':_0x15dd68,'memberID':this['session'][_0x36324b(0x2e4)]()}};this[_0x36324b(0x23d)][_0x36324b(0x201)](_0x3111a9,this[_0x36324b(0x157)]);},'onMissingChangesets':({from:_0x2b7b96,to:_0x1dbb84})=>{var _0x1fc859=_0x1ea9de;this[_0x1fc859(0x249)][_0x1fc859(0x2d7)](_0x1fc859(0x347),_0x1fc859(0x20c)+_0x2b7b96+'\x20to\x20'+_0x1dbb84);const _0x421969={'eventID':_0x1c769f[_0x1fc859(0x28a)][_0x1fc859(0x23b)],'data':{'unitID':_0x2b2417,'unitType':this[_0x1fc859(0x1f8)],'from':_0x2b7b96,'to':_0x1dbb84}};this[_0x1fc859(0x23d)][_0x1fc859(0x201)](_0x421969,this['unitID']);}};}async[_0xcc99a3(0x2e5)](_0x2a248a){var _0x3c515b=_0xcc99a3,_0x9423be,_0x1eb23b,_0x38d587;const _0x3b205e=await((_0x9423be=this[_0x3c515b(0x3de)])==null?void 0x0:_0x9423be[_0x3c515b(0x43a)](this[_0x3c515b(0x157)])),_0x3833d3=(_0x1eb23b=_0x3b205e==null?void 0x0:_0x3b205e[_0x3c515b(0x456)])!=null?_0x1eb23b:[],_0x3e3335=(_0x38d587=_0x3b205e==null?void 0x0:_0x3b205e[_0x3c515b(0x3a3)])!=null?_0x38d587:null,_0x4610bd=!!(_0x3e3335!=null&&_0x3e3335[_0x3c515b(0x487)])&&!!(_0x3e3335!=null&&_0x3e3335['reqId']);this[_0x3c515b(0x138)]=_0x4610bd?_0x3e3335[_0x3c515b(0x487)]:_0x1c769f['uuidv4'](),this['_changesetReqId']=_0x4610bd?_0x3e3335[_0x3c515b(0x125)]:0x0;const _0x29b6a0=this['unitID'];try{this['_replayCachedMutations'](_0x3e3335,_0x3833d3);}catch(_0x40f20b){this['_logService'][_0x3c515b(0x485)](_0x40f20b);}const _0x17c66f=this[_0x3c515b(0x3a1)]();if(_0x2a248a){const _0x17a54c=_0x5ba983(this[_0x3c515b(0x47d)],_0x29b6a0,this[_0x3c515b(0x1f8)],_0x3e3335,_0x3833d3,_0x17c66f);return _0x17a54c instanceof _0x56d6c4[_0x3c515b(0x2f3)]?_0x17a54c[_0x3c515b(0x148)]():(_0x17a54c instanceof _0x56d6c4['AwaitingWithPendingState']||_0x17a54c instanceof _0x56d6c4[_0x3c515b(0x1ea)])&&_0x17a54c['resend'](),_0x17a54c;}return this[_0x3c515b(0x47d)]['createInstance'](_0x56d6c4['OfflineState'],_0x29b6a0,this['_type'],_0x3e3335,_0x3833d3,_0x17c66f);}[_0xcc99a3(0x380)](_0x1ae63d,_0x33b684){var _0x2583ae=_0xcc99a3,_0x4b54ad,_0x3a9574;const _0x4da9fb=this[_0x2583ae(0x439)][_0x2583ae(0x491)][_0x2583ae(0x24a)](this[_0x2583ae(0x439)][_0x2583ae(0x491)][_0x2583ae(0x163)]()['COMPRESS_MUTATION_APPLY']);(_0x4b54ad=_0x4da9fb((_0x1ae63d==null?void 0x0:_0x1ae63d[_0x2583ae(0x456)])||[],null))==null||_0x4b54ad[_0x2583ae(0x44c)](_0x328ac4=>this[_0x2583ae(0x413)][_0x2583ae(0x27f)](_0x328ac4['id'],_0x328ac4[_0x2583ae(0x2db)])),(_0x3a9574=_0x4da9fb(_0x33b684||[],null))==null||_0x3a9574[_0x2583ae(0x44c)](_0x50328e=>this[_0x2583ae(0x413)]['executeCommand'](_0x50328e['id'],_0x50328e[_0x2583ae(0x2db)]));}},_0x56d6c4['CollaborationEntity']=_0x43fa97([_0x4e310b(0x3,_0x59c11e[_0xcc99a3(0x3c1)](_0x59c11e[_0xcc99a3(0x10c)])),_0x4e310b(0x4,_0x59c11e['Inject'](_0x1c769f['CompressMutationService'])),_0x4e310b(0x5,_0x59c11e[_0xcc99a3(0x3c1)](_0x59c11e[_0xcc99a3(0x131)])),_0x4e310b(0x6,_0x59c11e['Inject'](_0x1c769f[_0xcc99a3(0x35f)])),_0x4e310b(0x7,_0x59c11e[_0xcc99a3(0x3c1)](_0x1948fa)),_0x4e310b(0x8,_0x59c11e[_0xcc99a3(0x469)]),_0x4e310b(0x9,_0x59c11e['ILogService']),_0x4e310b(0xa,_0x59c11e[_0xcc99a3(0x477)]),_0x4e310b(0xb,_0x59c11e['IPermissionService']),_0x4e310b(0xc,_0x59c11e['Optional'](_0x2f52ab)),_0x4e310b(0xd,_0x59c11e[_0xcc99a3(0x226)](_0x5826b1))],_0x56d6c4[_0xcc99a3(0x444)]),_0x56d6c4[_0xcc99a3(0x175)]=class extends _0x56d6c4['CollaborationEntity']{constructor(_0xaa2344,_0x2feb85,_0x37b3ec,_0x18cafb,_0x15831a,_0x3f4c9b,_0x2746ff,_0x42161d,_0x136b95,_0x58ea9a,_0x29e649,_0x3bb393,_0xd8cba2,_0x3db3ba){var _0x551993=_0xcc99a3;super(_0xaa2344,_0x37b3ec,_0x2feb85,_0x18cafb,_0x15831a,_0x3f4c9b,_0x2746ff,_0x42161d,_0x136b95,_0x58ea9a,_0x29e649,_0x3bb393,_0xd8cba2,_0x3db3ba),_0x12df8a(this,_0x551993(0x376),null),(this[_0x551993(0x157)]=_0xaa2344,this[_0x551993(0x23c)]=_0x2feb85);}[_0xcc99a3(0x39d)](_0x4c13ae){var _0x2d093f=_0xcc99a3;this[_0x2d093f(0x376)]=_0x4c13ae;}['dispose'](){var _0x515b7c=_0xcc99a3;this[_0x515b7c(0x376)]=null,super[_0x515b7c(0x267)]();}[_0xcc99a3(0x3a1)](){var _0x50cd80=_0xcc99a3;const _0x2d7f9c=super[_0x50cd80(0x3a1)]();return _0x2d7f9c['onTransformIME']=_0x31c03b=>{var _0x10c3ec=_0x50cd80,_0x3f7e7c,_0x514647;return(_0x514647=(_0x3f7e7c=this[_0x10c3ec(0x376)])==null?void 0x0:_0x3f7e7c[_0x10c3ec(0x1a5)])==null?void 0x0:_0x514647[_0x10c3ec(0x293)](_0x3f7e7c,_0x31c03b);},_0x2d7f9c['onTransformState']=_0x1f310b=>{var _0x2bd340=_0x50cd80,_0x4f750e,_0x532f93;return(_0x532f93=(_0x4f750e=this[_0x2bd340(0x376)])==null?void 0x0:_0x4f750e[_0x2bd340(0x379)])==null?void 0x0:_0x532f93[_0x2bd340(0x293)](_0x4f750e,_0x1f310b);},_0x2d7f9c[_0x50cd80(0x1c4)]=_0x5df4cc=>{var _0x289a77=_0x50cd80,_0x6a89ff,_0x90b057;return(_0x90b057=(_0x6a89ff=this['_handlerCallback'])==null?void 0x0:_0x6a89ff[_0x289a77(0x1c4)])==null?void 0x0:_0x90b057['call'](_0x6a89ff,_0x5df4cc);},_0x2d7f9c[_0x50cd80(0x3da)]=_0x838ce0=>{var _0x2fb406=_0x50cd80,_0x343625,_0x3db768;return(_0x3db768=(_0x343625=this[_0x2fb406(0x376)])==null?void 0x0:_0x343625[_0x2fb406(0x3da)])==null?void 0x0:_0x3db768[_0x2fb406(0x293)](_0x343625,_0x838ce0);},_0x2d7f9c[_0x50cd80(0x31a)]=_0x174155=>{var _0x3532ac=_0x50cd80,_0x3c34f8,_0x1258da,_0x2accc2;if(!((_0x3c34f8=this[_0x3532ac(0x376)])!=null&&_0x3c34f8['onTransformRemoteChangesetByIMECache']))throw new Error(_0x3532ac(0x1f4));return(_0x2accc2=(_0x1258da=this[_0x3532ac(0x376)])==null?void 0x0:_0x1258da['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x2accc2[_0x3532ac(0x293)](_0x1258da,_0x174155);},_0x2d7f9c['onTransformRemoteChangesetByStateCache']=_0x37f54c=>{var _0x5f0f7c=_0x50cd80,_0x102032,_0x726681,_0x5eea1c;if(!((_0x102032=this[_0x5f0f7c(0x376)])!=null&&_0x102032[_0x5f0f7c(0x40d)]))throw new Error(_0x5f0f7c(0x3c8));return(_0x5eea1c=(_0x726681=this[_0x5f0f7c(0x376)])==null?void 0x0:_0x726681['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x5eea1c[_0x5f0f7c(0x293)](_0x726681,_0x37f54c);},_0x2d7f9c;}async[_0xcc99a3(0x1bb)](){var _0xf10c79=_0xcc99a3;const _0x365f97=await super[_0xf10c79(0x1bb)]();return this['disposeWithMe'](this['_commandService'][_0xf10c79(0x229)]((_0x3ef426,_0x11c7d9)=>{var _0x24ba95=_0xf10c79;if(_0x3ef426['type']!==_0x59c11e[_0x24ba95(0x31d)]['MUTATION']||_0x11c7d9!=null&&_0x11c7d9['fromCollab']||_0x11c7d9!=null&&_0x11c7d9[_0x24ba95(0x484)]||_0x3ef426['id']===_0x3b050e[_0x24ba95(0x257)]['id'])return;const _0xacf46f=_0x3ef426[_0x24ba95(0x2db)];if((_0xacf46f==null?void 0x0:_0xacf46f[_0x24ba95(0x40c)])!==this[_0x24ba95(0x157)])return;const _0x10f95e=_0x3ef426,_0x269e35=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x24ba95(0x439)][_0x24ba95(0x491)]['getInterceptPoints']()[_0x24ba95(0x397)])([_0x10f95e],this[_0x24ba95(0x206)])||[_0x10f95e];this['_onLocalMutation'](_0x269e35[0x0]);})),_0x365f97;}},_0x56d6c4[_0xcc99a3(0x175)]=_0x43fa97([_0x4e310b(0x3,_0x59c11e[_0xcc99a3(0x3c1)](_0x59c11e[_0xcc99a3(0x10c)])),_0x4e310b(0x4,_0x59c11e['Inject'](_0x1c769f[_0xcc99a3(0x300)])),_0x4e310b(0x5,_0x59c11e['Inject'](_0x59c11e[_0xcc99a3(0x131)])),_0x4e310b(0x6,_0x59c11e[_0xcc99a3(0x3c1)](_0x1c769f[_0xcc99a3(0x35f)])),_0x4e310b(0x7,_0x59c11e['Inject'](_0x1948fa)),_0x4e310b(0x8,_0x59c11e[_0xcc99a3(0x469)]),_0x4e310b(0x9,_0x59c11e['ILogService']),_0x4e310b(0xa,_0x59c11e[_0xcc99a3(0x477)]),_0x4e310b(0xb,_0x59c11e[_0xcc99a3(0x354)]),_0x4e310b(0xc,_0x59c11e[_0xcc99a3(0x226)](_0x2f52ab)),_0x4e310b(0xd,_0x59c11e[_0xcc99a3(0x226)](_0x5826b1))],_0x56d6c4[_0xcc99a3(0x175)]),_0x56d6c4[_0xcc99a3(0x221)]=class extends _0x56d6c4[_0xcc99a3(0x444)]{constructor(_0xdc59e4,_0x3528ee,_0x403795,_0x4d3149,_0x58c7dc,_0x51d1be,_0x3cb286,_0x388005,_0x3bdd42,_0x5c22ed,_0x340456,_0x4ef238,_0x23ca82,_0x415bb9,_0x10ddff){var _0xa18a65=_0xcc99a3;super(_0xdc59e4,_0x403795,_0x3528ee,_0x4d3149,_0x58c7dc,_0x51d1be,_0x3cb286,_0x3bdd42,_0x5c22ed,_0x340456,_0x4ef238,_0x23ca82,_0x415bb9,_0x10ddff),this[_0xa18a65(0x157)]=_0xdc59e4,this['type']=_0x3528ee,this[_0xa18a65(0x2ba)]=_0x388005;}[_0xcc99a3(0x3a1)](){var _0x2b686b=_0xcc99a3;const _0x2f0e5a=super[_0x2b686b(0x3a1)]();return _0x2f0e5a[_0x2b686b(0x1c4)]=_0xdf4587=>this['_sheetTransformSelectionsService'][_0x2b686b(0x1ae)](_0xdf4587),_0x2f0e5a;}async[_0xcc99a3(0x1bb)](){var _0x5c0cb8=_0xcc99a3;const _0x37122b=await super[_0x5c0cb8(0x1bb)]();return this[_0x5c0cb8(0x36d)](this['_commandService'][_0x5c0cb8(0x229)]((_0x148941,_0xf7130c)=>{var _0x38d4b8=_0x5c0cb8;if(_0x148941[_0x38d4b8(0x23c)]!==_0x59c11e[_0x38d4b8(0x31d)]['MUTATION']||_0xf7130c!=null&&_0xf7130c[_0x38d4b8(0x454)]||_0xf7130c!=null&&_0xf7130c[_0x38d4b8(0x484)])return;const _0x1d259c=_0x148941[_0x38d4b8(0x2db)];if((_0x1d259c==null?void 0x0:_0x1d259c[_0x38d4b8(0x40c)])!==this[_0x38d4b8(0x157)])return;const _0x5166ec=_0x148941,_0x405e54=this[_0x38d4b8(0x439)][_0x38d4b8(0x491)]['fetchThroughInterceptors'](this[_0x38d4b8(0x439)][_0x38d4b8(0x491)][_0x38d4b8(0x163)]()[_0x38d4b8(0x397)])([_0x5166ec],this[_0x38d4b8(0x206)])||[_0x5166ec];this[_0x38d4b8(0x356)](_0x405e54[0x0]);})),_0x37122b;}},_0x56d6c4[_0xcc99a3(0x221)]=_0x43fa97([_0x4e310b(0x3,_0x59c11e[_0xcc99a3(0x3c1)](_0x59c11e[_0xcc99a3(0x10c)])),_0x4e310b(0x4,_0x59c11e['Inject'](_0x1c769f['CompressMutationService'])),_0x4e310b(0x5,_0x59c11e['Inject'](_0x59c11e[_0xcc99a3(0x131)])),_0x4e310b(0x6,_0x59c11e['Inject'](_0x1c769f[_0xcc99a3(0x35f)])),_0x4e310b(0x7,_0x59c11e[_0xcc99a3(0x3c1)](_0x56d6c4[_0xcc99a3(0x322)])),_0x4e310b(0x8,_0x59c11e[_0xcc99a3(0x3c1)](_0x1948fa)),_0x4e310b(0x9,_0x59c11e[_0xcc99a3(0x469)]),_0x4e310b(0xa,_0x59c11e[_0xcc99a3(0x481)]),_0x4e310b(0xb,_0x59c11e[_0xcc99a3(0x477)]),_0x4e310b(0xc,_0x59c11e['IPermissionService']),_0x4e310b(0xd,_0x59c11e[_0xcc99a3(0x226)](_0x2f52ab)),_0x4e310b(0xe,_0x59c11e[_0xcc99a3(0x226)](_0x5826b1))],_0x56d6c4[_0xcc99a3(0x221)]);const _0xc44d19=_0x59c11e[_0xcc99a3(0x42e)](_0xcc99a3(0x117));function _0x3e50b2(_0x2afec3){var _0x22ed0e=_0xcc99a3,_0x2b570b,_0x49e074,_0x4de0e5,_0x312c1f,_0x5cdb96;const _0xcd8e79=_0x2afec3[_0x22ed0e(0x2e0)],_0x5702a0=JSON[_0x22ed0e(0x139)](_0xcd8e79);switch(_0x5702a0[_0x22ed0e(0x407)]){case _0x3e52e9['HEARTBEAT']:case _0x3e52e9[_0x22ed0e(0x462)]:{const _0x9e2ada=_0x5702a0[_0x22ed0e(0x358)];return{..._0x5702a0,'data':_0x9e2ada,'cmd':_0x5702a0['cmd']};}case _0x3e52e9[_0x22ed0e(0x320)]:{const _0x202414=_0x5702a0[_0x22ed0e(0x45b)];return{..._0x5702a0,'data':_0x202414,'cmd':_0x5702a0[_0x22ed0e(0x407)]};}case _0x3e52e9[_0x22ed0e(0x14e)]:{const _0x359439=_0x5702a0['collaMsg'];switch(_0x359439[_0x22ed0e(0x2e3)]){case _0x1c769f[_0x22ed0e(0x28a)][_0x22ed0e(0x3ba)]:return{..._0x5702a0,'data':{..._0x359439,'data':(_0x2b570b=_0x359439['permissionRejEvent'])==null?void 0x0:_0x2b570b['cs']},'cmd':_0x5702a0[_0x22ed0e(0x407)]};case _0x1c769f[_0x22ed0e(0x28a)]['CHANGESET_ACK']:return{..._0x5702a0,'data':{..._0x359439,'data':(_0x49e074=_0x359439[_0x22ed0e(0x349)])==null?void 0x0:_0x49e074['cs']},'cmd':_0x5702a0[_0x22ed0e(0x407)]};case _0x1c769f[_0x22ed0e(0x28a)][_0x22ed0e(0x15d)]:return{..._0x5702a0,'data':{..._0x359439,'data':(_0x4de0e5=_0x359439[_0x22ed0e(0x3c0)])==null?void 0x0:_0x4de0e5['cs']},'cmd':_0x5702a0['cmd']};case _0x1c769f[_0x22ed0e(0x28a)][_0x22ed0e(0x3a9)]:return{..._0x5702a0,'data':{..._0x359439,'data':(_0x312c1f=_0x359439[_0x22ed0e(0x3a2)])==null?void 0x0:_0x312c1f['cs']},'cmd':_0x5702a0['cmd']};case _0x1c769f[_0x22ed0e(0x28a)]['CHANGESET_SHOULD_RETRY']:return{..._0x5702a0,'data':{..._0x359439,'data':(_0x5cdb96=_0x359439[_0x22ed0e(0x350)])==null?void 0x0:_0x5cdb96['cs']},'cmd':_0x5702a0[_0x22ed0e(0x407)]};case _0x1c769f[_0x22ed0e(0x28a)][_0x22ed0e(0x416)]:return{..._0x5702a0,'data':{..._0x359439,'data':_0x359439['updateCursorEvent']},'cmd':_0x5702a0['cmd']};case _0x1c769f[_0x22ed0e(0x28a)][_0x22ed0e(0x20a)]:return{..._0x5702a0,'data':{..._0x359439,'data':_0x359439[_0x22ed0e(0x2a4)]},'cmd':_0x5702a0['cmd']};case _0x1c769f[_0x22ed0e(0x28a)][_0x22ed0e(0x30c)]:return{..._0x5702a0,'data':{..._0x359439,'data':_0x359439[_0x22ed0e(0x2f2)]},'cmd':_0x5702a0[_0x22ed0e(0x407)]};case _0x1c769f[_0x22ed0e(0x28a)][_0x22ed0e(0x3d3)]:return{..._0x5702a0,'data':{..._0x359439,'data':_0x359439[_0x22ed0e(0x32f)]},'cmd':_0x5702a0[_0x22ed0e(0x407)]};case _0x1c769f[_0x22ed0e(0x28a)]['LIVESHARE_FETCH_OPERATIONS']:case _0x1c769f[_0x22ed0e(0x28a)][_0x22ed0e(0x346)]:return{..._0x5702a0,'data':{..._0x359439,'data':_0x359439[_0x22ed0e(0x1cf)]},'cmd':_0x5702a0[_0x22ed0e(0x407)]};case _0x1c769f[_0x22ed0e(0x28a)][_0x22ed0e(0x2b1)]:return{..._0x5702a0,'data':{..._0x359439,'data':_0x359439[_0x22ed0e(0x32f)]},'cmd':_0x5702a0[_0x22ed0e(0x407)]};case _0x1c769f['CollaborationEvent']['MSG_FOR_ERROR']:return{..._0x5702a0,'data':_0x359439,'cmd':_0x5702a0[_0x22ed0e(0x407)]};case _0x1c769f[_0x22ed0e(0x28a)][_0x22ed0e(0x2f8)]:return{..._0x5702a0,'data':{..._0x359439,'data':_0x359439[_0x22ed0e(0x213)]},'cmd':_0x5702a0[_0x22ed0e(0x407)]};case _0x1c769f[_0x22ed0e(0x28a)][_0x22ed0e(0x339)]:return{..._0x5702a0,'data':{..._0x359439,'data':_0x359439[_0x22ed0e(0x1bf)]},'cmd':_0x5702a0['cmd']};case _0x1c769f[_0x22ed0e(0x28a)][_0x22ed0e(0x458)]:return{..._0x5702a0,'data':{..._0x359439,'data':_0x359439[_0x22ed0e(0x34a)]},'cmd':_0x5702a0[_0x22ed0e(0x407)]};case _0x1c769f[_0x22ed0e(0x28a)][_0x22ed0e(0x11e)]:return{..._0x5702a0,'data':{..._0x359439,'data':_0x359439[_0x22ed0e(0x239)]},'cmd':_0x5702a0[_0x22ed0e(0x407)]};default:return _0x5702a0;}}default:return _0x5702a0;}}function _0x1ab1cd(_0x2822e5){var _0x21a666=_0xcc99a3;switch(_0x2822e5[_0x21a666(0x407)]){case _0x3e52e9[_0x21a666(0x33e)]:case _0x3e52e9[_0x21a666(0x462)]:return JSON[_0x21a666(0x180)]({'cmd':_0x2822e5[_0x21a666(0x407)],'routeKey':_0x2822e5[_0x21a666(0x172)]});case _0x3e52e9[_0x21a666(0x432)]:{let _0x934dd4;switch(_0x2822e5['data'][_0x21a666(0x2e3)]){case _0x1c769f['CollaborationEvent'][_0x21a666(0x416)]:{_0x934dd4={'eventID':_0x1c769f['CollaborationEvent'][_0x21a666(0x416)],'updateCursorEvent':_0x2822e5[_0x21a666(0x2e0)][_0x21a666(0x2e0)]};break;}case _0x1c769f[_0x21a666(0x28a)]['USERS_LEAVE']:{_0x934dd4={'eventID':_0x1c769f[_0x21a666(0x28a)][_0x21a666(0x30c)],'leaveEvent':_0x2822e5[_0x21a666(0x2e0)][_0x21a666(0x2e0)]};break;}case _0x1c769f[_0x21a666(0x28a)][_0x21a666(0x20a)]:{_0x934dd4={'eventID':_0x1c769f[_0x21a666(0x28a)][_0x21a666(0x20a)],'joinEvent':_0x2822e5[_0x21a666(0x2e0)][_0x21a666(0x2e0)]};break;}case _0x1c769f['CollaborationEvent'][_0x21a666(0x3d3)]:{_0x934dd4={'eventID':_0x1c769f['CollaborationEvent'][_0x21a666(0x3d3)],'liveShareNewHost':_0x2822e5['data']['data']};break;}case _0x1c769f[_0x21a666(0x28a)][_0x21a666(0x346)]:{_0x934dd4={'eventID':_0x1c769f['CollaborationEvent'][_0x21a666(0x346)],'liveShareOperation':_0x2822e5[_0x21a666(0x2e0)][_0x21a666(0x2e0)]};break;}case _0x1c769f['CollaborationEvent']['LIVESHARE_TERMINATE']:{_0x934dd4={'eventID':_0x1c769f[_0x21a666(0x28a)][_0x21a666(0x2b1)],'liveShareTerminate':_0x2822e5[_0x21a666(0x2e0)][_0x21a666(0x2e0)]};break;}case _0x1c769f[_0x21a666(0x28a)][_0x21a666(0x3d7)]:{_0x934dd4={'eventID':_0x1c769f['CollaborationEvent'][_0x21a666(0x3d7)],'liveShareRequestHost':_0x2822e5[_0x21a666(0x2e0)][_0x21a666(0x2e0)]};break;}case _0x1c769f[_0x21a666(0x28a)]['LIVESHARE_FETCH_OPERATIONS']:{_0x934dd4={'eventID':_0x1c769f[_0x21a666(0x28a)][_0x21a666(0x289)]};break;}default:_0x934dd4={'eventID':_0x2822e5['data'][_0x21a666(0x2e3)]};}return JSON['stringify']({'cmd':_0x2822e5[_0x21a666(0x407)],'routeKey':_0x2822e5[_0x21a666(0x172)],'collaMsg':_0x934dd4});}case _0x3e52e9[_0x21a666(0x320)]:return JSON[_0x21a666(0x180)]({'cmd':_0x2822e5[_0x21a666(0x407)],'routeKey':_0x2822e5[_0x21a666(0x172)],'joinReq':_0x2822e5[_0x21a666(0x2e0)]});case _0x3e52e9[_0x21a666(0x295)]:return JSON[_0x21a666(0x180)]({'cmd':_0x2822e5['cmd'],'routeKey':_0x2822e5[_0x21a666(0x172)],'leaveReq':_0x2822e5[_0x21a666(0x2e0)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x1018fa=Object[_0xcc99a3(0x188)],_0x2444a1=(_0x3017b5,_0x347e4a,_0x494d46,_0x28cf08)=>{var _0x3d52bc=_0xcc99a3;for(var _0x326bd8=_0x28cf08>0x1?void 0x0:_0x28cf08?_0x1018fa(_0x347e4a,_0x494d46):_0x347e4a,_0x1a5112=_0x3017b5[_0x3d52bc(0x3db)]-0x1,_0x298d3b;_0x1a5112>=0x0;_0x1a5112--)(_0x298d3b=_0x3017b5[_0x1a5112])&&(_0x326bd8=_0x298d3b(_0x326bd8)||_0x326bd8);return _0x326bd8;},_0x24b57b=(_0x284c6d,_0x3b446c)=>(_0x4f67e8,_0x51812f)=>_0x3b446c(_0x4f67e8,_0x51812f,_0x284c6d);const _0x2f986d=_0x59c11e[_0xcc99a3(0x42e)](_0xcc99a3(0x25b));function _0x170af5(_0x20f514,_0x50adec,_0x565649){return _0x20f514+'/'+_0x50adec+'/unit/'+_0x565649+'/new_changes';}_0x56d6c4[_0xcc99a3(0x261)]=class extends _0x59c11e[_0xcc99a3(0x18b)]{constructor(_0x448721,_0x1be078,_0x1e8d08,_0x4c2c7e,_0x573006){var _0x564e5a=_0xcc99a3;super(),this[_0x564e5a(0x47d)]=_0x448721,this[_0x564e5a(0x1ab)]=_0x1be078,this[_0x564e5a(0x463)]=_0x1e8d08,this['_logService']=_0x4c2c7e,this['_snapshotServerService']=_0x573006;}['_doCreateSocket'](_0x341186){var _0x412618=_0xcc99a3;const _0x1fec6b=this[_0x412618(0x47d)][_0x412618(0x3e8)](_0x3bd6c0[_0x412618(0x36e)]);if(!_0x1fec6b)throw new Error(_0x412618(0x106));const _0x13dc13=_0x1fec6b[_0x412618(0x24b)](_0x341186);if(!_0x13dc13)throw new Error(_0x412618(0x1b0));const _0x5d4448=new _0x59c11e[(_0x412618(0x1a2))](),_0x352f03=new _0x2e4023['Subject']();_0x5d4448[_0x412618(0x359)](_0x13dc13[_0x412618(0x438)][_0x412618(0x1b3)](_0x120514=>_0x352f03['next'](_0x120514))),_0x5d4448[_0x412618(0x359)](_0x59c11e[_0x412618(0x352)](()=>_0x352f03[_0x412618(0x3e7)]()));const _0x4d5e0c=new _0x2e4023['Subject']();_0x5d4448[_0x412618(0x359)](_0x13dc13['error$'][_0x412618(0x1b3)](_0x27480d=>_0x4d5e0c[_0x412618(0x332)](_0x27480d))),_0x5d4448[_0x412618(0x359)](_0x59c11e[_0x412618(0x352)](()=>_0x4d5e0c[_0x412618(0x3e7)]()));const _0x52bdc9=new _0x2e4023[(_0x412618(0x32b))]();_0x5d4448[_0x412618(0x359)](_0x13dc13[_0x412618(0x3d1)][_0x412618(0x1b3)](_0x580bcc=>{var _0x29411c=_0x412618;const _0x51f5ba=_0x3e50b2(_0x580bcc);_0x52bdc9[_0x29411c(0x332)](_0x51f5ba);})),_0x5d4448['add'](_0x59c11e['toDisposable'](()=>_0x52bdc9['complete']()));let _0x18f8d7;const _0x15eec9=()=>{var _0x26c048=_0x412618;_0x4d5e0c[_0x26c048(0x332)](new Event(_0x26c048(0x196))),_0x352f03[_0x26c048(0x332)](new Event(_0x26c048(0x196))),_0x18f8d7[_0x26c048(0x33c)]();};return _0x18f8d7={'memberID':'','close$':_0x352f03[_0x412618(0x387)](),'error$':_0x4d5e0c[_0x412618(0x387)](),'open$':_0x13dc13[_0x412618(0x474)],'message$':_0x52bdc9['asObservable'](),'send':_0x370a3f=>{var _0xd4c317=_0x412618;if(_0x370a3f['cmd']===_0x3e52e9[_0xd4c317(0x432)]){if(_0x370a3f['data'][_0xd4c317(0x2e3)]===_0x1c769f['CollaborationEvent']['SUBMIT_CHANGESET']){this[_0xd4c317(0x105)](_0x18f8d7,_0x370a3f[_0xd4c317(0x2e0)])[_0xd4c317(0x1e4)](_0x56f5d3=>{var _0xd49e2a=_0xd4c317;this['_logService'][_0xd49e2a(0x485)](_0x56f5d3),_0x15eec9();});return;}if(_0x370a3f['data'][_0xd4c317(0x2e3)]===_0x1c769f[_0xd4c317(0x28a)]['FETCH_MISSING']){const _0x387538=_0x370a3f[_0xd4c317(0x2e0)];this[_0xd4c317(0x459)](_0x387538)[_0xd4c317(0x26c)](_0x531b73=>{var _0x5b6ec9=_0xd4c317;_0x52bdc9[_0x5b6ec9(0x332)]({'cmd':_0x3e52e9[_0x5b6ec9(0x14e)],'code':_0x56d48a['OK'],'routeKey':_0x387538[_0x5b6ec9(0x2e0)][_0x5b6ec9(0x157)],'routeType':'','data':{'eventID':_0x1c769f[_0x5b6ec9(0x28a)][_0x5b6ec9(0x204)],'data':{'changesets':_0x531b73}}});})[_0xd4c317(0x1e4)](_0x5e2230=>{var _0x43fbb0=_0xd4c317;this[_0x43fbb0(0x249)][_0x43fbb0(0x485)](_0x5e2230),_0x15eec9();});return;}}_0x13dc13[_0xd4c317(0x201)](_0x1ab1cd(_0x370a3f));},'close':()=>{var _0x29f88e=_0x412618;_0x13dc13['close'](),_0x5d4448[_0x29f88e(0x267)]();}},_0x18f8d7;}async[_0xcc99a3(0x105)](_0x101279,_0x5aba31){var _0x5c7ab6=_0xcc99a3,_0x2dca34;const {unitType:_0x5d7529,unitID:_0x13fe84,changeset:_0x4e55bc}=_0x5aba31[_0x5c7ab6(0x2e0)],_0x2027ec={'unitID':_0x13fe84,'memberID':_0x101279[_0x5c7ab6(0x494)],'type':_0x5d7529,'changeset':_0x1c769f[_0x5c7ab6(0x1c6)](_0x4e55bc)},_0xb8838b=this[_0x5c7ab6(0x463)][_0x5c7ab6(0x192)](_0x20be82),_0x5cb416=_0x170af5((_0x2dca34=_0xb8838b==null?void 0x0:_0xb8838b['collabSubmitChangesetUrl'])!=null?_0x2dca34:_0x20c741,_0x5d7529,_0x13fe84);try{await this['_httpService'][_0x5c7ab6(0x31f)](_0x5cb416,{'body':_0x2027ec});}catch(_0x636ea2){throw this[_0x5c7ab6(0x249)][_0x5c7ab6(0x485)]('[CollaborationSession]','submit\x20changeset\x20error!'),_0x636ea2;}}async[_0xcc99a3(0x459)](_0x52bf34){var _0x17740e=_0xcc99a3;const {unitID:_0x57efcb,from:_0x4fae33,to:_0x42192d,unitType:_0x5a32cd}=_0x52bf34[_0x17740e(0x2e0)];return(await this[_0x17740e(0x3ff)][_0x17740e(0x34e)]({'metadata':void 0x0},{'unitID':_0x57efcb,'type':_0x5a32cd,'from':_0x4fae33,'to':_0x42192d}))[_0x17740e(0x137)]['map'](_0x31585a=>((_0x31585a[_0x17740e(0x456)]===null||_0x31585a[_0x17740e(0x456)]===void 0x0)&&(_0x31585a[_0x17740e(0x456)]=[]),_0x31585a));}},_0x56d6c4[_0xcc99a3(0x261)]=_0x2444a1([_0x24b57b(0x0,_0x59c11e['Inject'](_0x59c11e[_0xcc99a3(0x10c)])),_0x24b57b(0x1,_0x59c11e[_0xcc99a3(0x3c1)](_0x3bd6c0[_0xcc99a3(0x254)])),_0x24b57b(0x2,_0x59c11e[_0xcc99a3(0x375)]),_0x24b57b(0x3,_0x59c11e[_0xcc99a3(0x481)]),_0x24b57b(0x4,_0x1c769f[_0xcc99a3(0x2ae)])],_0x56d6c4[_0xcc99a3(0x261)]);var _0x5f43b3=Object[_0xcc99a3(0x188)],_0x1a1ee0=(_0x5260c2,_0x2feb54,_0x5d10ed,_0x109272)=>{var _0x162cf3=_0xcc99a3;for(var _0x43c5a8=_0x109272>0x1?void 0x0:_0x109272?_0x5f43b3(_0x2feb54,_0x5d10ed):_0x2feb54,_0x26d36f=_0x5260c2[_0x162cf3(0x3db)]-0x1,_0x340e07;_0x26d36f>=0x0;_0x26d36f--)(_0x340e07=_0x5260c2[_0x26d36f])&&(_0x43c5a8=_0x340e07(_0x43c5a8)||_0x43c5a8);return _0x43c5a8;},_0x2351ce=(_0x5c2cae,_0x42e3cb)=>(_0x3d862f,_0x287ab3)=>_0x42e3cb(_0x3d862f,_0x287ab3,_0x5c2cae);_0x56d6c4[_0xcc99a3(0x400)]=class extends _0x59c11e[_0xcc99a3(0x18b)]{constructor(_0x2767e1,_0x2bf3e5,_0x2785d4,_0x29ad09,_0x1a5641,_0x30ff3e){var _0x2a339f=_0xcc99a3;super(),_0x12df8a(this,_0x2a339f(0x2bd),new _0x2e4023[(_0x2a339f(0x177))](void 0x0)),_0x12df8a(this,_0x2a339f(0x223),this[_0x2a339f(0x2bd)]['asObservable']()),_0x12df8a(this,_0x2a339f(0x2c5),null),_0x12df8a(this,_0x2a339f(0x224),new Map()),_0x12df8a(this,_0x2a339f(0x207),new _0x2e4023['BehaviorSubject'](_0x1ab480['IDLE'])),_0x12df8a(this,_0x2a339f(0x29e),this['_status$'][_0x2a339f(0x387)]()),_0x12df8a(this,_0x2a339f(0x3b0),!0x1),_0x12df8a(this,'_retryConnectingTimer'),_0x12df8a(this,_0x2a339f(0x217),0x0),_0x12df8a(this,_0x2a339f(0x436)),_0x12df8a(this,_0x2a339f(0x43d)),(this[_0x2a339f(0x47d)]=_0x2767e1,this[_0x2a339f(0x249)]=_0x2bf3e5,this[_0x2a339f(0x463)]=_0x2785d4,this['_socketService']=_0x29ad09,this[_0x2a339f(0x314)]=_0x1a5641,this['_networkConditionService']=_0x30ff3e,this[_0x2a339f(0x132)]());}get['_socket'](){var _0x1af9dd=_0xcc99a3;return this[_0x1af9dd(0x2bd)][_0x1af9dd(0x1af)]();}[_0xcc99a3(0x132)](){var _0x5f3d42=_0xcc99a3;this['_networkConditionService']&&this[_0x5f3d42(0x36d)](this[_0x5f3d42(0x331)][_0x5f3d42(0x216)][_0x5f3d42(0x1b3)](_0x20ad1d=>{var _0xbd567d=_0x5f3d42;_0x20ad1d&&!this[_0xbd567d(0x36b)]&&this['reconnect'](),_0x20ad1d||this['_onOffline']();}));}['dispose'](){var _0x19b425=_0xcc99a3;super[_0x19b425(0x267)](),this[_0x19b425(0x38d)](),this[_0x19b425(0x466)](),this[_0x19b425(0x1a0)](),this['_sessions'][_0x19b425(0x44c)](_0x5a1bfb=>_0x5a1bfb['dispose']()),this[_0x19b425(0x224)][_0x19b425(0x113)](),this[_0x19b425(0x207)][_0x19b425(0x3e7)]();}async[_0xcc99a3(0x278)](_0x25d7ea){var _0xe14d4d=_0xcc99a3;if(this[_0xe14d4d(0x224)][_0xe14d4d(0x480)](_0x25d7ea))return this['_sessions'][_0xe14d4d(0x3e8)](_0x25d7ea);this['_tryEnsureSocket']();const _0x23977c=this[_0xe14d4d(0x47d)][_0xe14d4d(0x2e1)](_0x56d6c4[_0xe14d4d(0x3c3)],_0x25d7ea,this[_0xe14d4d(0x2bd)][_0xe14d4d(0x387)]());return this[_0xe14d4d(0x224)]['set'](_0x25d7ea,_0x23977c),_0x23977c;}[_0xcc99a3(0x2b9)](_0x40e1d0){var _0xc89329=_0xcc99a3,_0x352b1a;const _0xfae0ab=this[_0xc89329(0x224)][_0xc89329(0x3e8)](_0x40e1d0);_0xfae0ab&&(this[_0xc89329(0x224)][_0xc89329(0x15c)](_0x40e1d0),_0xfae0ab[_0xc89329(0x33c)]()),this[_0xc89329(0x224)][_0xc89329(0x3e3)]||(_0x352b1a=this[_0xc89329(0x36b)])==null||_0x352b1a[_0xc89329(0x33c)]();}[_0xcc99a3(0x3a6)](){var _0x1b3abf=_0xcc99a3;this['_retryCount']=0x0,this[_0x1b3abf(0x38d)](),this['_tryReconnect']();}[_0xcc99a3(0x38d)](){var _0x20295e=_0xcc99a3;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x20295e(0x2f7)]),this['_retryConnectingTimer']=null);}async['_createSocket'](){var _0x2bf74c=_0xcc99a3,_0x352f35;const _0x42adff=this[_0x2bf74c(0x463)]['getConfig'](_0x20be82),_0x50961f=(_0x352f35=_0x42adff==null?void 0x0:_0x42adff[_0x2bf74c(0x10d)])!=null?_0x352f35:_0x4f93f4,_0x64b506=await this['_socketService'][_0x2bf74c(0x24b)](_0x50961f);return this[_0x2bf74c(0x2c5)]=_0x64b506,_0x64b506;}async[_0xcc99a3(0x1f0)](){var _0x4fe165=_0xcc99a3,_0x2797fd,_0xeaf116;try{const _0x4d9bb0=(_0xeaf116=(_0x2797fd=this[_0x4fe165(0x36b)])!=null?_0x2797fd:this[_0x4fe165(0x2c5)])!=null?_0xeaf116:await this[_0x4fe165(0x1cd)]();if(_0x4d9bb0){const _0x2e2010=_0x4d9bb0[_0x4fe165(0x201)];_0x4d9bb0[_0x4fe165(0x201)]=_0x1e8d55=>(_0x1e8d55[_0x4fe165(0x407)]!==_0x3e52e9['LEAVE']&&this['_rescheduleHeartbeat'](),_0x2e2010[_0x4fe165(0x3ad)](_0x4d9bb0,[_0x1e8d55])),_0x4d9bb0['message$'][_0x4fe165(0x1b3)](_0x24de2f=>this[_0x4fe165(0x2a3)](_0x4d9bb0,_0x24de2f)),_0x4d9bb0[_0x4fe165(0x478)][_0x4fe165(0x41b)](_0x5a3a61['take'](0x1))[_0x4fe165(0x1b3)](_0x2ff882=>this[_0x4fe165(0x249)][_0x4fe165(0x485)](_0x4fe165(0x37d),_0x2ff882)),_0x4d9bb0['open$'][_0x4fe165(0x41b)](_0x5a3a61[_0x4fe165(0x424)](0x1))[_0x4fe165(0x1b3)](()=>{var _0x329654=_0x4fe165;this[_0x329654(0x3cb)](_0x4d9bb0);}),_0x4d9bb0[_0x4fe165(0x438)][_0x4fe165(0x41b)](_0x5a3a61['take'](0x1))[_0x4fe165(0x1b3)](_0x81e5f1=>{var _0x19033b=_0x4fe165;this[_0x19033b(0x249)]['debug']('[CollaborationSessionService]',_0x19033b(0x42d),_0x81e5f1),this[_0x19033b(0x1b5)]();});}}catch(_0x1802d3){this[_0x4fe165(0x249)][_0x4fe165(0x485)](_0x1802d3),this[_0x4fe165(0x1b5)]();}}['_onConnectionOpen'](_0x1091d2){var _0x5b9b01=_0xcc99a3;this[_0x5b9b01(0x249)][_0x5b9b01(0x2d7)](_0x5b9b01(0x365),'socket\x20open.'),_0x1091d2[_0x5b9b01(0x201)]({'cmd':_0x3e52e9[_0x5b9b01(0x462)]}),this[_0x5b9b01(0x170)]();}[_0xcc99a3(0x288)](){var _0x200b2a=_0xcc99a3;this['_socketReady']=!0x1,this[_0x200b2a(0x2c5)]=null,this[_0x200b2a(0x207)][_0x200b2a(0x332)](_0x1ab480[_0x200b2a(0x160)]),this['_socket$'][_0x200b2a(0x332)](null),this[_0x200b2a(0x466)](),this['_clearHeartbeatTimer']();}[_0xcc99a3(0x1b5)](){var _0x39bbe4=_0xcc99a3,_0x2d4d76;this['_onOffline'](),this[_0x39bbe4(0x217)]<((_0x2d4d76=this['_configService']['getConfig'](_0x32ae98))!=null?_0x2d4d76:0x3)?(this['_collaborationUIEventService'][_0x39bbe4(0x44a)]({'id':_0x5b41c0[_0x39bbe4(0x343)]}),this['_tryReconnect']()):this[_0x39bbe4(0x314)]['emitEvent']({'id':_0x5b41c0[_0x39bbe4(0x33a)]});}[_0xcc99a3(0x3eb)](){var _0x1a4a70=_0xcc99a3,_0x26de03;const _0x526b1f=this[_0x1a4a70(0x217)],_0x2ac40b=this[_0x1a4a70(0x463)][_0x1a4a70(0x192)](_0x20be82),_0x2473ca=_0x526b1f===0x0?0x0:((_0x26de03=_0x2ac40b==null?void 0x0:_0x2ac40b[_0x1a4a70(0x1b8)])!=null?_0x26de03:0x4e20)*0x2**_0x526b1f;this[_0x1a4a70(0x2f7)]=setTimeout(()=>{var _0x51bd60=_0x1a4a70;clearTimeout(this[_0x51bd60(0x2f7)]),this[_0x51bd60(0x2f7)]=null,this[_0x51bd60(0x1f0)]();},_0x2473ca),this['_retryCount']+=0x1;}[_0xcc99a3(0x2a3)](_0x196b51,_0x52da3b){var _0x344ea2=_0xcc99a3;const {cmd:_0x4885e0}=_0x52da3b;_0x4885e0===_0x3e52e9[_0x344ea2(0x462)]&&!this[_0x344ea2(0x3b0)]&&(_0x196b51['memberID']=_0x52da3b[_0x344ea2(0x2e0)][_0x344ea2(0x494)],this[_0x344ea2(0x2bd)]['next'](_0x196b51),this[_0x344ea2(0x207)][_0x344ea2(0x332)](_0x1ab480[_0x344ea2(0x1e5)]),this[_0x344ea2(0x3b0)]=!0x0,this['_candidateSocket']=null),_0x4885e0===_0x3e52e9[_0x344ea2(0x33e)]&&this['_clearTimeoutTimer'](),this[_0x344ea2(0x170)]();}[_0xcc99a3(0x170)](){var _0x537476=_0xcc99a3,_0x400b1c;this[_0x537476(0x1a0)](),this[_0x537476(0x436)]=setTimeout(()=>this[_0x537476(0x35a)](),(_0x400b1c=this['_configService'][_0x537476(0x192)](_0x46cdcc))!=null?_0x400b1c:0x7530);}[_0xcc99a3(0x35a)](){var _0x46dd99=_0xcc99a3;this[_0x46dd99(0x36b)][_0x46dd99(0x201)]({'cmd':_0x3e52e9[_0x46dd99(0x33e)]}),this[_0x46dd99(0x281)]();}['_waitForHeartbeatResponse'](){var _0x5ac945=_0xcc99a3,_0x4a9801;this[_0x5ac945(0x43d)]=setTimeout(()=>this[_0x5ac945(0x1b5)](),(_0x4a9801=this[_0x5ac945(0x463)][_0x5ac945(0x192)](_0x2978c9))!=null?_0x4a9801:0x4e20);}[_0xcc99a3(0x1a0)](){var _0x2ec11e=_0xcc99a3;this[_0x2ec11e(0x436)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0xcc99a3(0x466)](){var _0x67063c=_0xcc99a3;this[_0x67063c(0x43d)]!=null&&(clearTimeout(this[_0x67063c(0x43d)]),this[_0x67063c(0x43d)]=null);}},_0x56d6c4['CollaborationSessionService']=_0x1a1ee0([_0x2351ce(0x0,_0x59c11e[_0xcc99a3(0x3c1)](_0x59c11e['Injector'])),_0x2351ce(0x1,_0x59c11e[_0xcc99a3(0x481)]),_0x2351ce(0x2,_0x59c11e['IConfigService']),_0x2351ce(0x3,_0x2f986d),_0x2351ce(0x4,_0x59c11e[_0xcc99a3(0x3c1)](_0x1948fa)),_0x2351ce(0x5,_0x59c11e[_0xcc99a3(0x226)](_0xc44d19))],_0x56d6c4['CollaborationSessionService']);var _0x43b735=Object[_0xcc99a3(0x188)],_0xf2375f=(_0x12de39,_0x424098,_0x145e01,_0x5bb6a8)=>{var _0x2a413e=_0xcc99a3;for(var _0x1fbdce=_0x5bb6a8>0x1?void 0x0:_0x5bb6a8?_0x43b735(_0x424098,_0x145e01):_0x424098,_0x3252f8=_0x12de39[_0x2a413e(0x3db)]-0x1,_0x3c27de;_0x3252f8>=0x0;_0x3252f8--)(_0x3c27de=_0x12de39[_0x3252f8])&&(_0x1fbdce=_0x3c27de(_0x1fbdce)||_0x1fbdce);return _0x1fbdce;},_0x207ce6=(_0x5aadf6,_0x2f7e29)=>(_0x586d63,_0xded00b)=>_0x2f7e29(_0x586d63,_0xded00b,_0x5aadf6);_0x56d6c4[_0xcc99a3(0x327)]=class extends _0x59c11e[_0xcc99a3(0x250)]{constructor(_0x569883,_0x5f392a,_0xcd5be5,_0x40aaec){var _0xf2f63a=_0xcc99a3,_0xc6e878;super(),_0x12df8a(this,'_entities',new Map()),_0x12df8a(this,_0xf2f63a(0x18d),new _0x2e4023[(_0xf2f63a(0x32b))]()),_0x12df8a(this,_0xf2f63a(0x27d),this[_0xf2f63a(0x18d)][_0xf2f63a(0x387)]()),(this[_0xf2f63a(0x47d)]=_0x569883,this[_0xf2f63a(0x1a6)]=_0x5f392a,this[_0xf2f63a(0x463)]=_0xcd5be5,this['_univerInstanceService']=_0x40aaec,((_0xc6e878=this[_0xf2f63a(0x463)][_0xf2f63a(0x192)](_0x20be82))==null?void 0x0:_0xc6e878[_0xf2f63a(0x198)])!==!0x1&&this['_init']());}[_0xcc99a3(0x267)](){var _0x10a3e4=_0xcc99a3;super[_0x10a3e4(0x267)](),this[_0x10a3e4(0x146)][_0x10a3e4(0x44c)](_0x2a57ad=>_0x2a57ad[_0x10a3e4(0x267)]()),this['_entities']['clear']();}[_0xcc99a3(0x318)](_0x3d0571){var _0x37e276=_0xcc99a3,_0x1b80fc;return(_0x1b80fc=this[_0x37e276(0x146)][_0x37e276(0x3e8)](_0x3d0571))!=null?_0x1b80fc:null;}[_0xcc99a3(0x2d0)](_0x23c7db){var _0x3c1331=_0xcc99a3;const _0x593daa=this[_0x3c1331(0x318)](_0x23c7db);return _0x593daa?_0x2e4023['of'](_0x593daa):this[_0x3c1331(0x18d)][_0x3c1331(0x41b)](_0x5a3a61[_0x3c1331(0x182)](_0x532453=>_0x532453['unitID']===_0x23c7db));}['readyForCollab'](_0x5442a9){var _0x562ae2=_0xcc99a3;return _0x2e4023[_0x562ae2(0x26d)](this['getCollabEntity$'](_0x5442a9)['pipe'](_0x5a3a61[_0x562ae2(0x417)](()=>{})));}['_init'](){var _0x30a2a4=_0xcc99a3;this['_univerInstanceService'][_0x30a2a4(0x25e)](_0x59c11e[_0x30a2a4(0x1e0)][_0x30a2a4(0x32a)])[_0x30a2a4(0x41b)](_0x2e4023[_0x30a2a4(0x210)](this['dispose$']),_0x5a3a61[_0x30a2a4(0x142)](0x10))['subscribe'](async _0xe4d921=>{var _0x53f70b=_0x30a2a4;const _0x17155a=_0xe4d921[_0x53f70b(0x39f)](),_0x47e845=await this[_0x53f70b(0x292)](_0x17155a,_0x5dd0f1['UNIVER_SHEET']);this[_0x53f70b(0x146)]['set'](_0x17155a,_0x47e845);}),this['_univerInstanceService'][_0x30a2a4(0x25e)](_0x59c11e[_0x30a2a4(0x1e0)][_0x30a2a4(0x338)])[_0x30a2a4(0x41b)](_0x2e4023[_0x30a2a4(0x210)](this[_0x30a2a4(0x2ab)]),_0x5a3a61[_0x30a2a4(0x142)](0x10))[_0x30a2a4(0x41b)](_0x5a3a61['filter'](_0x2a89a8=>!_0x2a89a8[_0x30a2a4(0x39f)]()[_0x30a2a4(0x393)]('__')))['subscribe'](async _0x689e22=>{var _0x2fdffa=_0x30a2a4;const _0x43f2c4=_0x689e22[_0x2fdffa(0x39f)](),_0x3e381f=await this[_0x2fdffa(0x292)](_0x43f2c4,_0x5dd0f1['UNIVER_DOC']);this[_0x2fdffa(0x146)]['set'](_0x43f2c4,_0x3e381f);}),_0x2e4023['merge'](this['_univerInstanceService'][_0x30a2a4(0x304)](_0x59c11e[_0x30a2a4(0x1e0)][_0x30a2a4(0x32a)]),this[_0x30a2a4(0x206)][_0x30a2a4(0x304)](_0x59c11e[_0x30a2a4(0x1e0)][_0x30a2a4(0x338)]))[_0x30a2a4(0x41b)](_0x2e4023[_0x30a2a4(0x210)](this[_0x30a2a4(0x2ab)]))[_0x30a2a4(0x1b3)](_0x4ac487=>{var _0x51d192=_0x30a2a4;const _0x37bcf3=_0x4ac487[_0x51d192(0x39f)](),_0x52d270=this[_0x51d192(0x146)][_0x51d192(0x3e8)](_0x37bcf3);_0x52d270&&(_0x52d270[_0x51d192(0x267)](),this[_0x51d192(0x146)][_0x51d192(0x15c)](_0x37bcf3));});}async[_0xcc99a3(0x292)](_0x1947d1,_0x4d8796){var _0x1f4f15=_0xcc99a3;const _0x1e7cbc=await this[_0x1f4f15(0x1a6)][_0x1f4f15(0x278)](_0x1947d1),_0x36fd36=this['_injector'][_0x1f4f15(0x2e1)](this[_0x1f4f15(0x2a0)](_0x4d8796),_0x1947d1,_0x4d8796,_0x1e7cbc);return await _0x36fd36['init'](),this[_0x1f4f15(0x18d)][_0x1f4f15(0x332)](_0x36fd36),_0x36fd36;}[_0xcc99a3(0x2a0)](_0x150072){var _0x4ce590=_0xcc99a3;switch(_0x150072){case _0x5dd0f1[_0x4ce590(0x338)]:return _0x56d6c4[_0x4ce590(0x175)];case _0x5dd0f1[_0x4ce590(0x32a)]:return _0x56d6c4[_0x4ce590(0x221)];default:throw new Error(_0x4ce590(0x3cf)+_0x150072);}}},_0x56d6c4[_0xcc99a3(0x327)]=_0xf2375f([_0x207ce6(0x0,_0x59c11e[_0xcc99a3(0x3c1)](_0x59c11e[_0xcc99a3(0x10c)])),_0x207ce6(0x1,_0x59c11e['Inject'](_0x56d6c4['CollaborationSessionService'])),_0x207ce6(0x2,_0x59c11e['IConfigService']),_0x207ce6(0x3,_0x59c11e[_0xcc99a3(0x469)])],_0x56d6c4[_0xcc99a3(0x327)]);const _0x54942b={'name':_0xcc99a3(0x296),'version':'0.17.0'};var _0x505998=Object[_0xcc99a3(0x188)],_0x6cd632=(_0x220dce,_0x22958f,_0x2b7f38,_0x46d93c)=>{var _0x12d445=_0xcc99a3;for(var _0x50b9dc=_0x46d93c>0x1?void 0x0:_0x46d93c?_0x505998(_0x22958f,_0x2b7f38):_0x22958f,_0x39ec2c=_0x220dce[_0x12d445(0x3db)]-0x1,_0x1946cb;_0x39ec2c>=0x0;_0x39ec2c--)(_0x1946cb=_0x220dce[_0x39ec2c])&&(_0x50b9dc=_0x1946cb(_0x50b9dc)||_0x50b9dc);return _0x50b9dc;},_0x129217=(_0x5b1c41,_0x51c421)=>(_0x455877,_0x7213f2)=>_0x51c421(_0x455877,_0x7213f2,_0x5b1c41);const _0x541862=_0xcc99a3(0x479),_0x3de5c9='Univer';let _0x1b9e7c=class extends _0x59c11e[_0xcc99a3(0x18b)]{constructor(_0x46b1d6,_0x20abe7){super(),this['_univerInstanceService']=_0x46b1d6,this['_configService']=_0x20abe7,this['_init']();}[_0xcc99a3(0x1bb)](){var _0x15abec=_0xcc99a3;this['disposeWithMe'](this[_0x15abec(0x206)][_0x15abec(0x1f3)][_0x15abec(0x1b3)](()=>{var _0x36a3ac=_0x15abec,_0x40d474;const _0x1dd87e=this[_0x36a3ac(0x206)][_0x36a3ac(0x158)]();let _0x3094e2=(_0x40d474=this[_0x36a3ac(0x463)]['getConfig'](_0x541862))!=null?_0x40d474:_0x3de5c9;_0x1dd87e instanceof _0x59c11e[_0x36a3ac(0x2fa)]&&(_0x3094e2=_0x1dd87e[_0x36a3ac(0x195)]),document[_0x36a3ac(0x41e)]=_0x3094e2;}));}};_0x1b9e7c=_0x6cd632([_0x129217(0x0,_0x59c11e[_0xcc99a3(0x469)]),_0x129217(0x1,_0x59c11e[_0xcc99a3(0x375)])],_0x1b9e7c);var _0x242a8a=Object[_0xcc99a3(0x188)],_0x5e0767=(_0x488f24,_0x2c2c88,_0x31b405,_0x4cf93d)=>{for(var _0x43b3a8=_0x4cf93d>0x1?void 0x0:_0x4cf93d?_0x242a8a(_0x2c2c88,_0x31b405):_0x2c2c88,_0x460c70=_0x488f24['length']-0x1,_0xdd8287;_0x460c70>=0x0;_0x460c70--)(_0xdd8287=_0x488f24[_0x460c70])&&(_0x43b3a8=_0xdd8287(_0x43b3a8)||_0x43b3a8);return _0x43b3a8;},_0x282cf1=(_0x431e17,_0x59b4b4)=>(_0x19e6e5,_0x4c07bd)=>_0x59b4b4(_0x19e6e5,_0x4c07bd,_0x431e17);let _0x2691fe=class{constructor(_0x6fcf68,_0x96928,_0x320230){var _0x1b4da4=_0xcc99a3;this['_configService']=_0x6fcf68,this[_0x1b4da4(0x1ab)]=_0x96928,this['localeService']=_0x320230,this[_0x1b4da4(0x263)]();}[_0xcc99a3(0x263)](){var _0x1a21a4=_0xcc99a3;this[_0x1a21a4(0x1ab)][_0x1a21a4(0x162)]({'priority':0x1,'interceptor':(_0x43ded2,_0x292983)=>_0x292983(_0x43ded2)['pipe'](_0x2e4023['concatMap'](async _0x2992e4=>{var _0x4735a0=_0x1a21a4;const _0x290a39=_0x2992e4;if(_0x290a39[_0x4735a0(0x1a9)]===0x191){if(typeof window>'u')throw new Error(_0x4735a0(0x16e));if(window[_0x4735a0(0x1ce)](this[_0x4735a0(0x1d8)]['t']('auth.needGotoLoginAlert'))){const _0x528d4e=window[_0x4735a0(0x382)](window['location'][_0x4735a0(0x1fb)]);window[_0x4735a0(0x1b2)]['href']=this[_0x4735a0(0x2ac)]()+'?url='+_0x528d4e;}}return _0x290a39;}))});}[_0xcc99a3(0x2ac)](){var _0x15de86=_0xcc99a3,_0x3a9ca0;const _0x57a970=this[_0x15de86(0x463)][_0x15de86(0x192)](_0x20be82);return(_0x3a9ca0=_0x57a970==null?void 0x0:_0x57a970[_0x15de86(0x366)])!=null?_0x3a9ca0:_0x485162;}};_0x2691fe=_0x5e0767([_0x282cf1(0x0,_0x59c11e[_0xcc99a3(0x375)]),_0x282cf1(0x1,_0x59c11e['Inject'](_0x3bd6c0['HTTPService'])),_0x282cf1(0x2,_0x59c11e[_0xcc99a3(0x3c1)](_0x59c11e[_0xcc99a3(0x131)]))],_0x2691fe);var _0x4797bd=Object[_0xcc99a3(0x188)],_0x49db77=(_0x11bdd2,_0x2c024d,_0x20f2da,_0x20588d)=>{for(var _0x2cea60=_0x20588d>0x1?void 0x0:_0x20588d?_0x4797bd(_0x2c024d,_0x20f2da):_0x2c024d,_0xd7bdc=_0x11bdd2['length']-0x1,_0x4a4b10;_0xd7bdc>=0x0;_0xd7bdc--)(_0x4a4b10=_0x11bdd2[_0xd7bdc])&&(_0x2cea60=_0x4a4b10(_0x2cea60)||_0x2cea60);return _0x2cea60;},_0x42a266=(_0x26c4b3,_0x345e6e)=>(_0x343f28,_0x5c62bd)=>_0x345e6e(_0x343f28,_0x5c62bd,_0x26c4b3);const _0x8840d3=_0xcc99a3(0x21b);_0x56d6c4[_0xcc99a3(0x1d1)]=class extends _0x59c11e[_0xcc99a3(0x18b)]{constructor(_0x4a0abe,_0x1617f9){var _0x308fcb=_0xcc99a3;super(),this[_0x308fcb(0x396)]=_0x4a0abe,this[_0x308fcb(0x463)]=_0x1617f9,this[_0x308fcb(0x1c8)]();}[_0xcc99a3(0x1c8)](){var _0x5e8935=_0xcc99a3;const _0x8194f7=this;this[_0x5e8935(0x36d)](this[_0x5e8935(0x396)][_0x5e8935(0x162)]({'priority':0x3e7,'interceptor':_0x3bd6c0['MergeInterceptorFactory']({'isMatch'(_0x5c27b8){var _0x2af744=_0x5e8935,_0x92cb07;if(_0x5c27b8['method']==='POST'&&((_0x92cb07=_0x5c27b8[_0x2af744(0x32d)])!=null&&_0x92cb07['body'])){const {objectID:_0x6edf55,objectType:_0x1214af}=_0x5c27b8['requestParams']['body']||{};if(!_0x6edf55||_0x1214af===void 0x0)return!0x1;const _0xbc183e=_0x8194f7[_0x2af744(0x1f5)]()+'/'+_0x1214af+_0x2af744(0x301)+_0x6edf55+'/allowed';if(_0x5c27b8[_0x2af744(0x3f3)]===_0xbc183e)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x21f229){var _0x1c76fd=_0x5e8935,_0x511cb5;return(_0x511cb5=_0x21f229['requestParams'])==null?void 0x0:_0x511cb5[_0x1c76fd(0x389)];},'mergeParamsToRequest'(_0x32d627,_0x59526a){var _0x1d8c5f=_0x5e8935;const _0x19772d=_0x8194f7['_getAPIPrefixPath']()+_0x1d8c5f(0x3bd),_0x815ac7=_0x32d627[_0x1d8c5f(0x450)]((_0x2b7b66,_0x1c0f2f)=>{var _0x176f72=_0x1d8c5f;const {unitID:_0x3a1a4f,objectID:_0x15fb6c,objectType:_0x5777aa,actions:_0x20daa8}=_0x1c0f2f;return _0x2b7b66[_0x3a1a4f]||(_0x2b7b66[_0x3a1a4f]={}),_0x2b7b66[_0x3a1a4f][_0x15fb6c]||(_0x2b7b66[_0x3a1a4f][_0x15fb6c]={'objectID':_0x15fb6c,'objectType':_0x5777aa,'actions':[]}),_0x2b7b66[_0x3a1a4f][_0x15fb6c][_0x176f72(0x34f)][_0x176f72(0x3c2)](..._0x20daa8),_0x2b7b66;},{}),_0xac5a09=[];for(const _0x1341ca in _0x815ac7)for(const _0x31d98b in _0x815ac7[_0x1341ca]){const {actions:_0x165b29,objectType:_0x292b39}=_0x815ac7[_0x1341ca][_0x31d98b],_0x5a222a=[...new Set(_0x165b29)];_0xac5a09[_0x1d8c5f(0x3c2)]({'unitID':_0x1341ca,'objectID':_0x31d98b,'objectType':_0x292b39,'actions':_0x5a222a});}return new _0x3bd6c0[(_0x1d8c5f(0x235))]('POST',_0x19772d,{'headers':_0x59526a[_0x1d8c5f(0x46a)],'withCredentials':_0x59526a[_0x1d8c5f(0x483)],'responseType':_0x59526a['responseType'],'body':{'requests':_0xac5a09}});}},{'distributeResult'(_0x5a54d7,_0x1c847b){var _0x3d561e=_0x5e8935;const {objectActions:_0x5b137c}=_0x5a54d7;return _0x1c847b[_0x3d561e(0x417)](_0x1e2676=>{var _0x444716=_0x3d561e;const {unitID:_0x3d97b7,objectID:_0x214dc3,actions:_0x156b3b}=_0x1e2676,_0xec969c=_0x5b137c[_0x444716(0x1fa)](_0x166a6e=>_0x166a6e['unitID']===_0x3d97b7&&_0x166a6e[_0x444716(0x126)]===_0x214dc3),_0x4d9ace=_0x156b3b['map'](_0x46380e=>_0xec969c==null?void 0x0:_0xec969c[_0x444716(0x34f)]['find'](_0xd4bf92=>_0xd4bf92['action']===_0x46380e))[_0x444716(0x182)](_0x24efac=>!!_0x24efac);return{'config':_0x1e2676,'result':{'actions':_0x4d9ace,'error':_0x5a54d7[_0x444716(0x485)]}};});}})}));}[_0xcc99a3(0x1f5)](){var _0x495069=_0xcc99a3,_0x4ddff5;const _0x588c92=this[_0x495069(0x463)][_0x495069(0x192)](_0x20be82);return(_0x4ddff5=_0x588c92==null?void 0x0:_0x588c92[_0x495069(0x42a)])!=null?_0x4ddff5:_0x8840d3;}async[_0xcc99a3(0x209)](_0x22b011){var _0x2d4d1d=_0xcc99a3;const _0x2fd677=this[_0x2d4d1d(0x1f5)]()+'/'+_0x22b011[_0x2d4d1d(0x15f)]+_0x2d4d1d(0x442);return(await this[_0x2d4d1d(0x396)][_0x2d4d1d(0x31f)](_0x2fd677,{'body':_0x22b011}))['body'][_0x2d4d1d(0x126)]||'';}async[_0xcc99a3(0x38e)](_0x9f6a32){var _0x481940=_0xcc99a3;const _0x7cf99=this[_0x481940(0x1f5)]()+_0x481940(0x47e);return(await this[_0x481940(0x396)][_0x481940(0x31f)](_0x7cf99,{'body':_0x9f6a32}))[_0x481940(0x389)][_0x481940(0x377)];}async[_0xcc99a3(0x2ce)](_0x19674e){var _0x56dea1=_0xcc99a3,_0x59ff6c,_0x42c0d6;const _0x355d1b=this[_0x56dea1(0x1f5)]()+'/'+_0x19674e[_0x56dea1(0x15f)]+_0x56dea1(0x301)+_0x19674e[_0x56dea1(0x126)],_0x443f49=await this[_0x56dea1(0x396)]['put'](_0x355d1b,{'body':_0x19674e});if(((_0x42c0d6=(_0x59ff6c=_0x443f49==null?void 0x0:_0x443f49[_0x56dea1(0x389)])==null?void 0x0:_0x59ff6c['error'])==null?void 0x0:_0x42c0d6[_0x56dea1(0x44e)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0xcc99a3(0x47f)](_0x11fd8d){var _0x5ccafc=_0xcc99a3;const _0xe22370=this[_0x5ccafc(0x1f5)]()+'/'+_0x11fd8d[_0x5ccafc(0x15f)]+'/object/'+_0x11fd8d[_0x5ccafc(0x126)]+'/allowed';return(await this[_0x5ccafc(0x396)][_0x5ccafc(0x31f)](_0xe22370,{'body':_0x11fd8d}))['body'][_0x5ccafc(0x34f)];}async[_0xcc99a3(0x243)](_0x4446f4){var _0xa0eb39=_0xcc99a3;const _0x38abd6=this[_0xa0eb39(0x1f5)]()+_0xa0eb39(0x3bd);return(await this[_0xa0eb39(0x396)]['post'](_0x38abd6,{'body':{'requests':_0x4446f4}}))['body'][_0xa0eb39(0x3bb)];}async['listRoles'](_0x4df8ce){var _0x4cab92=_0xcc99a3;const _0x5139bc=this['_getAPIPrefixPath']()+'/'+_0x4df8ce['objectType']+'/role',_0x591180=await this[_0x4cab92(0x396)][_0x4cab92(0x31f)](_0x5139bc,{'body':_0x4df8ce});return{'roles':_0x591180[_0x4cab92(0x389)][_0x4cab92(0x1b9)],'actions':_0x591180[_0x4cab92(0x389)][_0x4cab92(0x34f)]};}async['deleteCollaborator'](_0x36d3f3){var _0x30fae5=_0xcc99a3;const _0x461a3d=this[_0x30fae5(0x1f5)]()+_0x30fae5(0x49a);await this['_HTTPService'][_0x30fae5(0x15c)](_0x461a3d,{'params':{'collaboratorID':_0x36d3f3['collaboratorID'],'objectID':_0x36d3f3['objectID'],'unitID':_0x36d3f3['unitID']}});}async[_0xcc99a3(0x445)](_0x5b49bf){var _0x5f123c=_0xcc99a3;const _0x1ce9c6=this[_0x5f123c(0x1f5)]()+'/collaborator';await this[_0x5f123c(0x396)][_0x5f123c(0x185)](_0x1ce9c6,{'body':_0x5b49bf});}async[_0xcc99a3(0x30a)](_0x3f127a){var _0x40bbd2=_0xcc99a3;const _0x340b39=this['_getAPIPrefixPath']()+_0x40bbd2(0x49a);await this[_0x40bbd2(0x396)][_0x40bbd2(0x31f)](_0x340b39,{'body':_0x3f127a});}async['listCollaborators'](_0xb45de5){var _0x33a489=_0xcc99a3;const _0x8d8016=this[_0x33a489(0x1f5)]()+_0x33a489(0x49a);return(await this['_HTTPService']['get'](_0x8d8016,{'params':{'objectID':_0xb45de5[_0x33a489(0x126)],'unitID':_0xb45de5['unitID']}}))[_0x33a489(0x389)]['collaborators'];}async['putCollaborators'](_0x330ce1){var _0x774825=_0xcc99a3;const _0x5d8d27=this['_getAPIPrefixPath']()+_0x774825(0x49a);await this[_0x774825(0x396)]['put'](_0x5d8d27,{'body':_0x330ce1});}},_0x56d6c4[_0xcc99a3(0x1d1)]=_0x49db77([_0x42a266(0x0,_0x59c11e[_0xcc99a3(0x3c1)](_0x3bd6c0[_0xcc99a3(0x254)])),_0x42a266(0x1,_0x59c11e[_0xcc99a3(0x3c1)](_0x59c11e['IConfigService']))],_0x56d6c4[_0xcc99a3(0x1d1)]);var _0x11e2a2=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x4bf3e8(_0x573acf){var _0x534c41=_0xcc99a3;return _0x573acf&&_0x573acf[_0x534c41(0x194)]&&Object[_0x534c41(0x247)][_0x534c41(0x2b7)][_0x534c41(0x293)](_0x573acf,_0x534c41(0x244))?_0x573acf['default']:_0x573acf;}var _0x1c7045={'exports':{}};function _0x5484bf(_0x59fb34){var _0x145dae=_0xcc99a3;throw new Error(_0x145dae(0x492)+_0x59fb34+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var _0xd1ca0b={'exports':{}},_0x4842f5=_0xd1ca0b['exports'],_0x5df9be;function _0x1822f1(){var _0x543333=_0xcc99a3;return _0x5df9be||(_0x5df9be=0x1,function(_0x11bfef,_0x2c42f0){(function(_0x218852,_0x281fd5){_0x11bfef['exports']=_0x281fd5();}(_0x4842f5,function(){var _0x1c5753=_0x1c5753||function(_0x10eff4,_0x22ec72){var _0x217ca4=_0x24bd,_0x22f392;if(typeof window<'u'&&window['crypto']&&(_0x22f392=window[_0x217ca4(0x2c8)]),typeof self<'u'&&self[_0x217ca4(0x2c8)]&&(_0x22f392=self[_0x217ca4(0x2c8)]),typeof globalThis<'u'&&globalThis[_0x217ca4(0x2c8)]&&(_0x22f392=globalThis[_0x217ca4(0x2c8)]),!_0x22f392&&typeof window<'u'&&window['msCrypto']&&(_0x22f392=window[_0x217ca4(0x381)]),!_0x22f392&&typeof _0x11e2a2<'u'&&_0x11e2a2[_0x217ca4(0x2c8)]&&(_0x22f392=_0x11e2a2[_0x217ca4(0x2c8)]),!_0x22f392&&typeof _0x5484bf==_0x217ca4(0x14b))try{_0x22f392=require('crypto');}catch{}var _0x262c34=function(){var _0x38868d=_0x217ca4;if(_0x22f392){if(typeof _0x22f392[_0x38868d(0x3d5)]=='function')try{return _0x22f392[_0x38868d(0x3d5)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x22f392['randomBytes']==_0x38868d(0x14b))try{return _0x22f392[_0x38868d(0x2c0)](0x4)[_0x38868d(0x1cc)]();}catch{}}throw new Error(_0x38868d(0x3f7));},_0x2e78be=Object[_0x217ca4(0x209)]||(function(){function _0x2f08aa(){}return function(_0x4d928b){var _0x41c939=_0x24bd,_0x30f9dc;return _0x2f08aa['prototype']=_0x4d928b,_0x30f9dc=new _0x2f08aa(),_0x2f08aa[_0x41c939(0x247)]=null,_0x30f9dc;};}()),_0x447b5e={},_0x2a1317=_0x447b5e[_0x217ca4(0x412)]={},_0x3019a8=_0x2a1317[_0x217ca4(0x14d)]=(function(){return{'extend':function(_0x5a7c95){var _0x49c285=_0x24bd,_0x584101=_0x2e78be(this);return _0x5a7c95&&_0x584101['mixIn'](_0x5a7c95),(!_0x584101[_0x49c285(0x2b7)](_0x49c285(0x263))||this[_0x49c285(0x263)]===_0x584101[_0x49c285(0x263)])&&(_0x584101[_0x49c285(0x263)]=function(){var _0x3ca85b=_0x49c285;_0x584101[_0x3ca85b(0x2eb)][_0x3ca85b(0x263)][_0x3ca85b(0x3ad)](this,arguments);}),_0x584101[_0x49c285(0x263)][_0x49c285(0x247)]=_0x584101,_0x584101[_0x49c285(0x2eb)]=this,_0x584101;},'create':function(){var _0x452345=_0x24bd,_0x1adb60=this[_0x452345(0x323)]();return _0x1adb60[_0x452345(0x263)][_0x452345(0x3ad)](_0x1adb60,arguments),_0x1adb60;},'init':function(){},'mixIn':function(_0x4c8374){var _0x460302=_0x24bd;for(var _0x42dd84 in _0x4c8374)_0x4c8374[_0x460302(0x2b7)](_0x42dd84)&&(this[_0x42dd84]=_0x4c8374[_0x42dd84]);_0x4c8374[_0x460302(0x2b7)]('toString')&&(this[_0x460302(0x2c1)]=_0x4c8374['toString']);},'clone':function(){var _0x52e934=_0x24bd;return this[_0x52e934(0x263)][_0x52e934(0x247)][_0x52e934(0x323)](this);}};}()),_0x3700ba=_0x2a1317['WordArray']=_0x3019a8[_0x217ca4(0x323)]({'init':function(_0x18534c,_0x1fa2da){var _0x5aacf0=_0x217ca4;_0x18534c=this[_0x5aacf0(0x287)]=_0x18534c||[],_0x1fa2da!=_0x22ec72?this[_0x5aacf0(0x19d)]=_0x1fa2da:this['sigBytes']=_0x18534c[_0x5aacf0(0x3db)]*0x4;},'toString':function(_0x3d1ddf){var _0x182ba3=_0x217ca4;return(_0x3d1ddf||_0x3dbf18)[_0x182ba3(0x180)](this);},'concat':function(_0xe45408){var _0x5a7ccc=_0x217ca4,_0x398d5a=this['words'],_0x44f6c3=_0xe45408[_0x5a7ccc(0x287)],_0x56aab4=this['sigBytes'],_0x14e98e=_0xe45408[_0x5a7ccc(0x19d)];if(this[_0x5a7ccc(0x2d5)](),_0x56aab4%0x4)for(var _0x468b1a=0x0;_0x468b1a<_0x14e98e;_0x468b1a++){var _0xc78d3f=_0x44f6c3[_0x468b1a>>>0x2]>>>0x18-_0x468b1a%0x4*0x8&0xff;_0x398d5a[_0x56aab4+_0x468b1a>>>0x2]|=_0xc78d3f<<0x18-(_0x56aab4+_0x468b1a)%0x4*0x8;}else{for(var _0x3d733d=0x0;_0x3d733d<_0x14e98e;_0x3d733d+=0x4)_0x398d5a[_0x56aab4+_0x3d733d>>>0x2]=_0x44f6c3[_0x3d733d>>>0x2];}return this[_0x5a7ccc(0x19d)]+=_0x14e98e,this;},'clamp':function(){var _0x11e7f8=_0x217ca4,_0x530d2c=this[_0x11e7f8(0x287)],_0x2689b4=this['sigBytes'];_0x530d2c[_0x2689b4>>>0x2]&=0xffffffff<<0x20-_0x2689b4%0x4*0x8,_0x530d2c[_0x11e7f8(0x3db)]=_0x10eff4[_0x11e7f8(0x29b)](_0x2689b4/0x4);},'clone':function(){var _0x1d6a7f=_0x217ca4,_0x4ea16d=_0x3019a8[_0x1d6a7f(0x35d)][_0x1d6a7f(0x293)](this);return _0x4ea16d[_0x1d6a7f(0x287)]=this['words'][_0x1d6a7f(0x313)](0x0),_0x4ea16d;},'random':function(_0x4f2433){var _0x56f887=_0x217ca4;for(var _0x4b6b5c=[],_0x506e6d=0x0;_0x506e6d<_0x4f2433;_0x506e6d+=0x4)_0x4b6b5c[_0x56f887(0x3c2)](_0x262c34());return new _0x3700ba['init'](_0x4b6b5c,_0x4f2433);}}),_0x306ffc=_0x447b5e[_0x217ca4(0x461)]={},_0x3dbf18=_0x306ffc[_0x217ca4(0x475)]={'stringify':function(_0x425858){var _0x2b04fd=_0x217ca4;for(var _0x1c89b2=_0x425858[_0x2b04fd(0x287)],_0x2685e1=_0x425858[_0x2b04fd(0x19d)],_0x2773b2=[],_0x32a65e=0x0;_0x32a65e<_0x2685e1;_0x32a65e++){var _0x485697=_0x1c89b2[_0x32a65e>>>0x2]>>>0x18-_0x32a65e%0x4*0x8&0xff;_0x2773b2[_0x2b04fd(0x3c2)]((_0x485697>>>0x4)['toString'](0x10)),_0x2773b2['push']((_0x485697&0xf)[_0x2b04fd(0x2c1)](0x10));}return _0x2773b2[_0x2b04fd(0x27e)]('');},'parse':function(_0x528401){var _0x583d9e=_0x217ca4;for(var _0x3b468d=_0x528401['length'],_0x4cd181=[],_0x574e9a=0x0;_0x574e9a<_0x3b468d;_0x574e9a+=0x2)_0x4cd181[_0x574e9a>>>0x3]|=parseInt(_0x528401[_0x583d9e(0x1ef)](_0x574e9a,0x2),0x10)<<0x18-_0x574e9a%0x8*0x4;return new _0x3700ba[(_0x583d9e(0x263))](_0x4cd181,_0x3b468d/0x2);}},_0x4cf9ae=_0x306ffc['Latin1']={'stringify':function(_0x11e3aa){var _0x2cf75e=_0x217ca4;for(var _0x4e7209=_0x11e3aa['words'],_0x25e56b=_0x11e3aa['sigBytes'],_0x188283=[],_0x557eff=0x0;_0x557eff<_0x25e56b;_0x557eff++){var _0x59a7d0=_0x4e7209[_0x557eff>>>0x2]>>>0x18-_0x557eff%0x4*0x8&0xff;_0x188283[_0x2cf75e(0x3c2)](String['fromCharCode'](_0x59a7d0));}return _0x188283[_0x2cf75e(0x27e)]('');},'parse':function(_0x532e56){var _0x44e851=_0x217ca4;for(var _0x1356c1=_0x532e56[_0x44e851(0x3db)],_0x47f082=[],_0x56a72d=0x0;_0x56a72d<_0x1356c1;_0x56a72d++)_0x47f082[_0x56a72d>>>0x2]|=(_0x532e56[_0x44e851(0x368)](_0x56a72d)&0xff)<<0x18-_0x56a72d%0x4*0x8;return new _0x3700ba['init'](_0x47f082,_0x1356c1);}},_0x4b67bb=_0x306ffc[_0x217ca4(0x2af)]={'stringify':function(_0x1bc765){var _0x22f991=_0x217ca4;try{return decodeURIComponent(escape(_0x4cf9ae[_0x22f991(0x180)](_0x1bc765)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0xd35fb3){var _0x1d0821=_0x217ca4;return _0x4cf9ae[_0x1d0821(0x139)](unescape(encodeURIComponent(_0xd35fb3)));}},_0x4a44e3=_0x2a1317['BufferedBlockAlgorithm']=_0x3019a8['extend']({'reset':function(){var _0x4b0809=_0x217ca4;this[_0x4b0809(0x265)]=new _0x3700ba[(_0x4b0809(0x263))](),this[_0x4b0809(0x1d7)]=0x0;},'_append':function(_0x503de8){var _0x496fb2=_0x217ca4;typeof _0x503de8==_0x496fb2(0x140)&&(_0x503de8=_0x4b67bb[_0x496fb2(0x139)](_0x503de8)),this['_data'][_0x496fb2(0x2f5)](_0x503de8),this['_nDataBytes']+=_0x503de8[_0x496fb2(0x19d)];},'_process':function(_0x1d042b){var _0x1acb42=_0x217ca4,_0x26f96a,_0x1c2b9e=this['_data'],_0x4d3a86=_0x1c2b9e['words'],_0x24b971=_0x1c2b9e['sigBytes'],_0x226b8c=this[_0x1acb42(0x11f)],_0x491c2a=_0x226b8c*0x4,_0x5947c2=_0x24b971/_0x491c2a;_0x1d042b?_0x5947c2=_0x10eff4['ceil'](_0x5947c2):_0x5947c2=_0x10eff4[_0x1acb42(0x340)]((_0x5947c2|0x0)-this[_0x1acb42(0x150)],0x0);var _0x34ac6d=_0x5947c2*_0x226b8c,_0x4a2951=_0x10eff4['min'](_0x34ac6d*0x4,_0x24b971);if(_0x34ac6d){for(var _0x3c56f7=0x0;_0x3c56f7<_0x34ac6d;_0x3c56f7+=_0x226b8c)this['_doProcessBlock'](_0x4d3a86,_0x3c56f7);_0x26f96a=_0x4d3a86[_0x1acb42(0x310)](0x0,_0x34ac6d),_0x1c2b9e[_0x1acb42(0x19d)]-=_0x4a2951;}return new _0x3700ba[(_0x1acb42(0x263))](_0x26f96a,_0x4a2951);},'clone':function(){var _0x4aa3c5=_0x217ca4,_0x25fab7=_0x3019a8[_0x4aa3c5(0x35d)]['call'](this);return _0x25fab7[_0x4aa3c5(0x265)]=this[_0x4aa3c5(0x265)]['clone'](),_0x25fab7;},'_minBufferSize':0x0});_0x2a1317[_0x217ca4(0x116)]=_0x4a44e3[_0x217ca4(0x323)]({'cfg':_0x3019a8['extend'](),'init':function(_0x43d565){var _0x29f8a1=_0x217ca4;this[_0x29f8a1(0x452)]=this[_0x29f8a1(0x452)][_0x29f8a1(0x323)](_0x43d565),this['reset']();},'reset':function(){var _0x375f44=_0x217ca4;_0x4a44e3['reset'][_0x375f44(0x293)](this),this[_0x375f44(0x159)]();},'update':function(_0x18d662){var _0x2a3b67=_0x217ca4;return this[_0x2a3b67(0x371)](_0x18d662),this[_0x2a3b67(0x119)](),this;},'finalize':function(_0x1b9fd0){var _0x22a1c0=_0x217ca4;_0x1b9fd0&&this['_append'](_0x1b9fd0);var _0xe09066=this[_0x22a1c0(0x215)]();return _0xe09066;},'blockSize':0x10,'_createHelper':function(_0x34ced1){return function(_0x9ebe24,_0x394e5f){var _0x434512=_0x24bd;return new _0x34ced1[(_0x434512(0x263))](_0x394e5f)[_0x434512(0x16a)](_0x9ebe24);};},'_createHmacHelper':function(_0x37f49e){return function(_0x228109,_0x18fa78){var _0x7845a=_0x24bd;return new _0x1ce7ea[(_0x7845a(0x1c1))]['init'](_0x37f49e,_0x18fa78)['finalize'](_0x228109);};}});var _0x1ce7ea=_0x447b5e['algo']={};return _0x447b5e;}(Math);return _0x1c5753;}));}(_0xd1ca0b)),_0xd1ca0b[_0x543333(0x3e2)];}var _0x1d52b1={'exports':{}},_0x270bb8=_0x1d52b1[_0xcc99a3(0x3e2)],_0x1a34fd;function _0x6e53cf(){var _0x75e1fb=_0xcc99a3;return _0x1a34fd||(_0x1a34fd=0x1,function(_0x595d74,_0x1eb34f){(function(_0x1ea1e2,_0x186d21){var _0x264414=_0x24bd;_0x595d74[_0x264414(0x3e2)]=_0x186d21(_0x1822f1());}(_0x270bb8,function(_0x46e3ad){var _0xde6ed7=_0x24bd;return(function(){var _0x5c428b=_0x24bd,_0x4f9073=_0x46e3ad,_0x2df28b=_0x4f9073['lib'],_0x4cf311=_0x2df28b[_0x5c428b(0x24d)],_0x524183=_0x4f9073[_0x5c428b(0x461)];_0x524183[_0x5c428b(0x312)]={'stringify':function(_0x395ecc){var _0x248d4a=_0x5c428b,_0x23bbe9=_0x395ecc['words'],_0x3d4f21=_0x395ecc[_0x248d4a(0x19d)],_0x15cf4c=this[_0x248d4a(0x3fa)];_0x395ecc[_0x248d4a(0x2d5)]();for(var _0x130c93=[],_0x140848=0x0;_0x140848<_0x3d4f21;_0x140848+=0x3)for(var _0x1cf459=_0x23bbe9[_0x140848>>>0x2]>>>0x18-_0x140848%0x4*0x8&0xff,_0x5a8a7e=_0x23bbe9[_0x140848+0x1>>>0x2]>>>0x18-(_0x140848+0x1)%0x4*0x8&0xff,_0x1c9db9=_0x23bbe9[_0x140848+0x2>>>0x2]>>>0x18-(_0x140848+0x2)%0x4*0x8&0xff,_0x5d76a7=_0x1cf459<<0x10|_0x5a8a7e<<0x8|_0x1c9db9,_0x3e9b7f=0x0;_0x3e9b7f<0x4&&_0x140848+_0x3e9b7f*0.75<_0x3d4f21;_0x3e9b7f++)_0x130c93[_0x248d4a(0x3c2)](_0x15cf4c[_0x248d4a(0x45a)](_0x5d76a7>>>0x6*(0x3-_0x3e9b7f)&0x3f));var _0x532a5d=_0x15cf4c[_0x248d4a(0x45a)](0x40);if(_0x532a5d){for(;_0x130c93['length']%0x4;)_0x130c93[_0x248d4a(0x3c2)](_0x532a5d);}return _0x130c93['join']('');},'parse':function(_0x13c48a){var _0x40a646=_0x5c428b,_0x60f75d=_0x13c48a[_0x40a646(0x3db)],_0x56b586=this[_0x40a646(0x3fa)],_0x16c2cc=this[_0x40a646(0x48d)];if(!_0x16c2cc){_0x16c2cc=this[_0x40a646(0x48d)]=[];for(var _0x33be76=0x0;_0x33be76<_0x56b586[_0x40a646(0x3db)];_0x33be76++)_0x16c2cc[_0x56b586[_0x40a646(0x368)](_0x33be76)]=_0x33be76;}var _0x235e56=_0x56b586[_0x40a646(0x45a)](0x40);if(_0x235e56){var _0x433a5e=_0x13c48a['indexOf'](_0x235e56);_0x433a5e!==-0x1&&(_0x60f75d=_0x433a5e);}return _0x14e189(_0x13c48a,_0x60f75d,_0x16c2cc);},'_map':_0x5c428b(0x214)};function _0x14e189(_0x281bfc,_0x5ba0f6,_0x46804d){var _0x33fc33=_0x5c428b;for(var _0x3c5180=[],_0x150ffb=0x0,_0x12c3b6=0x0;_0x12c3b6<_0x5ba0f6;_0x12c3b6++)if(_0x12c3b6%0x4){var _0x36b6fc=_0x46804d[_0x281bfc[_0x33fc33(0x368)](_0x12c3b6-0x1)]<<_0x12c3b6%0x4*0x2,_0x12f8f6=_0x46804d[_0x281bfc[_0x33fc33(0x368)](_0x12c3b6)]>>>0x6-_0x12c3b6%0x4*0x2,_0x4ff4ff=_0x36b6fc|_0x12f8f6;_0x3c5180[_0x150ffb>>>0x2]|=_0x4ff4ff<<0x18-_0x150ffb%0x4*0x8,_0x150ffb++;}return _0x4cf311['create'](_0x3c5180,_0x150ffb);}}()),_0x46e3ad[_0xde6ed7(0x461)][_0xde6ed7(0x312)];}));}(_0x1d52b1)),_0x1d52b1[_0x75e1fb(0x3e2)];}var _0x13f51a={'exports':{}},_0x561bd7=_0x13f51a[_0xcc99a3(0x3e2)],_0x93e956;function _0x4f884e(){return _0x93e956||(_0x93e956=0x1,function(_0x5a4b58,_0x1a24ed){(function(_0x502505,_0x46d9dc){_0x5a4b58['exports']=_0x46d9dc(_0x1822f1());}(_0x561bd7,function(_0x14c06a){var _0x3c75db=_0x24bd;return function(_0x116614){var _0x15019e=_0x24bd,_0x5b6ba0=_0x14c06a,_0x3eecda=_0x5b6ba0[_0x15019e(0x412)],_0x4d256e=_0x3eecda[_0x15019e(0x24d)],_0x42ded7=_0x3eecda[_0x15019e(0x116)],_0x3c48ae=_0x5b6ba0['algo'],_0x26094c=[];(function(){var _0x52e4b6=_0x15019e;for(var _0x1074c8=0x0;_0x1074c8<0x40;_0x1074c8++)_0x26094c[_0x1074c8]=_0x116614['abs'](_0x116614[_0x52e4b6(0x37e)](_0x1074c8+0x1))*0x100000000|0x0;}());var _0x19c004=_0x3c48ae[_0x15019e(0x306)]=_0x42ded7['extend']({'_doReset':function(){var _0x339959=_0x15019e;this[_0x339959(0x190)]=new _0x4d256e['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xfe3591,_0x1fb87e){var _0x42a911=_0x15019e;for(var _0x339281=0x0;_0x339281<0x10;_0x339281++){var _0x2efb57=_0x1fb87e+_0x339281,_0x466c84=_0xfe3591[_0x2efb57];_0xfe3591[_0x2efb57]=(_0x466c84<<0x8|_0x466c84>>>0x18)&0xff00ff|(_0x466c84<<0x18|_0x466c84>>>0x8)&0xff00ff00;}var _0x12d8c5=this[_0x42a911(0x190)]['words'],_0x40e0a3=_0xfe3591[_0x1fb87e+0x0],_0x5bdf4a=_0xfe3591[_0x1fb87e+0x1],_0x1806b5=_0xfe3591[_0x1fb87e+0x2],_0x32f2f6=_0xfe3591[_0x1fb87e+0x3],_0x12590f=_0xfe3591[_0x1fb87e+0x4],_0x18ac52=_0xfe3591[_0x1fb87e+0x5],_0x446448=_0xfe3591[_0x1fb87e+0x6],_0x2b7b8d=_0xfe3591[_0x1fb87e+0x7],_0x397f72=_0xfe3591[_0x1fb87e+0x8],_0x32071c=_0xfe3591[_0x1fb87e+0x9],_0x17d6ac=_0xfe3591[_0x1fb87e+0xa],_0x104dab=_0xfe3591[_0x1fb87e+0xb],_0x286601=_0xfe3591[_0x1fb87e+0xc],_0x1d2492=_0xfe3591[_0x1fb87e+0xd],_0x50ae5b=_0xfe3591[_0x1fb87e+0xe],_0x3b7c3c=_0xfe3591[_0x1fb87e+0xf],_0x1a25ec=_0x12d8c5[0x0],_0x3f1acc=_0x12d8c5[0x1],_0x437e73=_0x12d8c5[0x2],_0x4edc5b=_0x12d8c5[0x3];_0x1a25ec=_0x584c00(_0x1a25ec,_0x3f1acc,_0x437e73,_0x4edc5b,_0x40e0a3,0x7,_0x26094c[0x0]),_0x4edc5b=_0x584c00(_0x4edc5b,_0x1a25ec,_0x3f1acc,_0x437e73,_0x5bdf4a,0xc,_0x26094c[0x1]),_0x437e73=_0x584c00(_0x437e73,_0x4edc5b,_0x1a25ec,_0x3f1acc,_0x1806b5,0x11,_0x26094c[0x2]),_0x3f1acc=_0x584c00(_0x3f1acc,_0x437e73,_0x4edc5b,_0x1a25ec,_0x32f2f6,0x16,_0x26094c[0x3]),_0x1a25ec=_0x584c00(_0x1a25ec,_0x3f1acc,_0x437e73,_0x4edc5b,_0x12590f,0x7,_0x26094c[0x4]),_0x4edc5b=_0x584c00(_0x4edc5b,_0x1a25ec,_0x3f1acc,_0x437e73,_0x18ac52,0xc,_0x26094c[0x5]),_0x437e73=_0x584c00(_0x437e73,_0x4edc5b,_0x1a25ec,_0x3f1acc,_0x446448,0x11,_0x26094c[0x6]),_0x3f1acc=_0x584c00(_0x3f1acc,_0x437e73,_0x4edc5b,_0x1a25ec,_0x2b7b8d,0x16,_0x26094c[0x7]),_0x1a25ec=_0x584c00(_0x1a25ec,_0x3f1acc,_0x437e73,_0x4edc5b,_0x397f72,0x7,_0x26094c[0x8]),_0x4edc5b=_0x584c00(_0x4edc5b,_0x1a25ec,_0x3f1acc,_0x437e73,_0x32071c,0xc,_0x26094c[0x9]),_0x437e73=_0x584c00(_0x437e73,_0x4edc5b,_0x1a25ec,_0x3f1acc,_0x17d6ac,0x11,_0x26094c[0xa]),_0x3f1acc=_0x584c00(_0x3f1acc,_0x437e73,_0x4edc5b,_0x1a25ec,_0x104dab,0x16,_0x26094c[0xb]),_0x1a25ec=_0x584c00(_0x1a25ec,_0x3f1acc,_0x437e73,_0x4edc5b,_0x286601,0x7,_0x26094c[0xc]),_0x4edc5b=_0x584c00(_0x4edc5b,_0x1a25ec,_0x3f1acc,_0x437e73,_0x1d2492,0xc,_0x26094c[0xd]),_0x437e73=_0x584c00(_0x437e73,_0x4edc5b,_0x1a25ec,_0x3f1acc,_0x50ae5b,0x11,_0x26094c[0xe]),_0x3f1acc=_0x584c00(_0x3f1acc,_0x437e73,_0x4edc5b,_0x1a25ec,_0x3b7c3c,0x16,_0x26094c[0xf]),_0x1a25ec=_0x4442ba(_0x1a25ec,_0x3f1acc,_0x437e73,_0x4edc5b,_0x5bdf4a,0x5,_0x26094c[0x10]),_0x4edc5b=_0x4442ba(_0x4edc5b,_0x1a25ec,_0x3f1acc,_0x437e73,_0x446448,0x9,_0x26094c[0x11]),_0x437e73=_0x4442ba(_0x437e73,_0x4edc5b,_0x1a25ec,_0x3f1acc,_0x104dab,0xe,_0x26094c[0x12]),_0x3f1acc=_0x4442ba(_0x3f1acc,_0x437e73,_0x4edc5b,_0x1a25ec,_0x40e0a3,0x14,_0x26094c[0x13]),_0x1a25ec=_0x4442ba(_0x1a25ec,_0x3f1acc,_0x437e73,_0x4edc5b,_0x18ac52,0x5,_0x26094c[0x14]),_0x4edc5b=_0x4442ba(_0x4edc5b,_0x1a25ec,_0x3f1acc,_0x437e73,_0x17d6ac,0x9,_0x26094c[0x15]),_0x437e73=_0x4442ba(_0x437e73,_0x4edc5b,_0x1a25ec,_0x3f1acc,_0x3b7c3c,0xe,_0x26094c[0x16]),_0x3f1acc=_0x4442ba(_0x3f1acc,_0x437e73,_0x4edc5b,_0x1a25ec,_0x12590f,0x14,_0x26094c[0x17]),_0x1a25ec=_0x4442ba(_0x1a25ec,_0x3f1acc,_0x437e73,_0x4edc5b,_0x32071c,0x5,_0x26094c[0x18]),_0x4edc5b=_0x4442ba(_0x4edc5b,_0x1a25ec,_0x3f1acc,_0x437e73,_0x50ae5b,0x9,_0x26094c[0x19]),_0x437e73=_0x4442ba(_0x437e73,_0x4edc5b,_0x1a25ec,_0x3f1acc,_0x32f2f6,0xe,_0x26094c[0x1a]),_0x3f1acc=_0x4442ba(_0x3f1acc,_0x437e73,_0x4edc5b,_0x1a25ec,_0x397f72,0x14,_0x26094c[0x1b]),_0x1a25ec=_0x4442ba(_0x1a25ec,_0x3f1acc,_0x437e73,_0x4edc5b,_0x1d2492,0x5,_0x26094c[0x1c]),_0x4edc5b=_0x4442ba(_0x4edc5b,_0x1a25ec,_0x3f1acc,_0x437e73,_0x1806b5,0x9,_0x26094c[0x1d]),_0x437e73=_0x4442ba(_0x437e73,_0x4edc5b,_0x1a25ec,_0x3f1acc,_0x2b7b8d,0xe,_0x26094c[0x1e]),_0x3f1acc=_0x4442ba(_0x3f1acc,_0x437e73,_0x4edc5b,_0x1a25ec,_0x286601,0x14,_0x26094c[0x1f]),_0x1a25ec=_0x27401f(_0x1a25ec,_0x3f1acc,_0x437e73,_0x4edc5b,_0x18ac52,0x4,_0x26094c[0x20]),_0x4edc5b=_0x27401f(_0x4edc5b,_0x1a25ec,_0x3f1acc,_0x437e73,_0x397f72,0xb,_0x26094c[0x21]),_0x437e73=_0x27401f(_0x437e73,_0x4edc5b,_0x1a25ec,_0x3f1acc,_0x104dab,0x10,_0x26094c[0x22]),_0x3f1acc=_0x27401f(_0x3f1acc,_0x437e73,_0x4edc5b,_0x1a25ec,_0x50ae5b,0x17,_0x26094c[0x23]),_0x1a25ec=_0x27401f(_0x1a25ec,_0x3f1acc,_0x437e73,_0x4edc5b,_0x5bdf4a,0x4,_0x26094c[0x24]),_0x4edc5b=_0x27401f(_0x4edc5b,_0x1a25ec,_0x3f1acc,_0x437e73,_0x12590f,0xb,_0x26094c[0x25]),_0x437e73=_0x27401f(_0x437e73,_0x4edc5b,_0x1a25ec,_0x3f1acc,_0x2b7b8d,0x10,_0x26094c[0x26]),_0x3f1acc=_0x27401f(_0x3f1acc,_0x437e73,_0x4edc5b,_0x1a25ec,_0x17d6ac,0x17,_0x26094c[0x27]),_0x1a25ec=_0x27401f(_0x1a25ec,_0x3f1acc,_0x437e73,_0x4edc5b,_0x1d2492,0x4,_0x26094c[0x28]),_0x4edc5b=_0x27401f(_0x4edc5b,_0x1a25ec,_0x3f1acc,_0x437e73,_0x40e0a3,0xb,_0x26094c[0x29]),_0x437e73=_0x27401f(_0x437e73,_0x4edc5b,_0x1a25ec,_0x3f1acc,_0x32f2f6,0x10,_0x26094c[0x2a]),_0x3f1acc=_0x27401f(_0x3f1acc,_0x437e73,_0x4edc5b,_0x1a25ec,_0x446448,0x17,_0x26094c[0x2b]),_0x1a25ec=_0x27401f(_0x1a25ec,_0x3f1acc,_0x437e73,_0x4edc5b,_0x32071c,0x4,_0x26094c[0x2c]),_0x4edc5b=_0x27401f(_0x4edc5b,_0x1a25ec,_0x3f1acc,_0x437e73,_0x286601,0xb,_0x26094c[0x2d]),_0x437e73=_0x27401f(_0x437e73,_0x4edc5b,_0x1a25ec,_0x3f1acc,_0x3b7c3c,0x10,_0x26094c[0x2e]),_0x3f1acc=_0x27401f(_0x3f1acc,_0x437e73,_0x4edc5b,_0x1a25ec,_0x1806b5,0x17,_0x26094c[0x2f]),_0x1a25ec=_0x44a32a(_0x1a25ec,_0x3f1acc,_0x437e73,_0x4edc5b,_0x40e0a3,0x6,_0x26094c[0x30]),_0x4edc5b=_0x44a32a(_0x4edc5b,_0x1a25ec,_0x3f1acc,_0x437e73,_0x2b7b8d,0xa,_0x26094c[0x31]),_0x437e73=_0x44a32a(_0x437e73,_0x4edc5b,_0x1a25ec,_0x3f1acc,_0x50ae5b,0xf,_0x26094c[0x32]),_0x3f1acc=_0x44a32a(_0x3f1acc,_0x437e73,_0x4edc5b,_0x1a25ec,_0x18ac52,0x15,_0x26094c[0x33]),_0x1a25ec=_0x44a32a(_0x1a25ec,_0x3f1acc,_0x437e73,_0x4edc5b,_0x286601,0x6,_0x26094c[0x34]),_0x4edc5b=_0x44a32a(_0x4edc5b,_0x1a25ec,_0x3f1acc,_0x437e73,_0x32f2f6,0xa,_0x26094c[0x35]),_0x437e73=_0x44a32a(_0x437e73,_0x4edc5b,_0x1a25ec,_0x3f1acc,_0x17d6ac,0xf,_0x26094c[0x36]),_0x3f1acc=_0x44a32a(_0x3f1acc,_0x437e73,_0x4edc5b,_0x1a25ec,_0x5bdf4a,0x15,_0x26094c[0x37]),_0x1a25ec=_0x44a32a(_0x1a25ec,_0x3f1acc,_0x437e73,_0x4edc5b,_0x397f72,0x6,_0x26094c[0x38]),_0x4edc5b=_0x44a32a(_0x4edc5b,_0x1a25ec,_0x3f1acc,_0x437e73,_0x3b7c3c,0xa,_0x26094c[0x39]),_0x437e73=_0x44a32a(_0x437e73,_0x4edc5b,_0x1a25ec,_0x3f1acc,_0x446448,0xf,_0x26094c[0x3a]),_0x3f1acc=_0x44a32a(_0x3f1acc,_0x437e73,_0x4edc5b,_0x1a25ec,_0x1d2492,0x15,_0x26094c[0x3b]),_0x1a25ec=_0x44a32a(_0x1a25ec,_0x3f1acc,_0x437e73,_0x4edc5b,_0x12590f,0x6,_0x26094c[0x3c]),_0x4edc5b=_0x44a32a(_0x4edc5b,_0x1a25ec,_0x3f1acc,_0x437e73,_0x104dab,0xa,_0x26094c[0x3d]),_0x437e73=_0x44a32a(_0x437e73,_0x4edc5b,_0x1a25ec,_0x3f1acc,_0x1806b5,0xf,_0x26094c[0x3e]),_0x3f1acc=_0x44a32a(_0x3f1acc,_0x437e73,_0x4edc5b,_0x1a25ec,_0x32071c,0x15,_0x26094c[0x3f]),_0x12d8c5[0x0]=_0x12d8c5[0x0]+_0x1a25ec|0x0,_0x12d8c5[0x1]=_0x12d8c5[0x1]+_0x3f1acc|0x0,_0x12d8c5[0x2]=_0x12d8c5[0x2]+_0x437e73|0x0,_0x12d8c5[0x3]=_0x12d8c5[0x3]+_0x4edc5b|0x0;},'_doFinalize':function(){var _0x4e8470=_0x15019e,_0x2c5240=this[_0x4e8470(0x265)],_0x52071f=_0x2c5240[_0x4e8470(0x287)],_0x25c834=this['_nDataBytes']*0x8,_0x5e4c85=_0x2c5240[_0x4e8470(0x19d)]*0x8;_0x52071f[_0x5e4c85>>>0x5]|=0x80<<0x18-_0x5e4c85%0x20;var _0x518960=_0x116614['floor'](_0x25c834/0x100000000),_0x3c5078=_0x25c834;_0x52071f[(_0x5e4c85+0x40>>>0x9<<0x4)+0xf]=(_0x518960<<0x8|_0x518960>>>0x18)&0xff00ff|(_0x518960<<0x18|_0x518960>>>0x8)&0xff00ff00,_0x52071f[(_0x5e4c85+0x40>>>0x9<<0x4)+0xe]=(_0x3c5078<<0x8|_0x3c5078>>>0x18)&0xff00ff|(_0x3c5078<<0x18|_0x3c5078>>>0x8)&0xff00ff00,_0x2c5240[_0x4e8470(0x19d)]=(_0x52071f[_0x4e8470(0x3db)]+0x1)*0x4,this[_0x4e8470(0x119)]();for(var _0x1aa017=this[_0x4e8470(0x190)],_0x5cc943=_0x1aa017[_0x4e8470(0x287)],_0x1face0=0x0;_0x1face0<0x4;_0x1face0++){var _0x59bdd6=_0x5cc943[_0x1face0];_0x5cc943[_0x1face0]=(_0x59bdd6<<0x8|_0x59bdd6>>>0x18)&0xff00ff|(_0x59bdd6<<0x18|_0x59bdd6>>>0x8)&0xff00ff00;}return _0x1aa017;},'clone':function(){var _0x2afe26=_0x15019e,_0x41a907=_0x42ded7[_0x2afe26(0x35d)][_0x2afe26(0x293)](this);return _0x41a907[_0x2afe26(0x190)]=this[_0x2afe26(0x190)][_0x2afe26(0x35d)](),_0x41a907;}});function _0x584c00(_0x3f72bd,_0x590826,_0xeb8721,_0x7bac67,_0x49f59d,_0x55f017,_0x68e2c8){var _0x2bee3b=_0x3f72bd+(_0x590826&_0xeb8721|~_0x590826&_0x7bac67)+_0x49f59d+_0x68e2c8;return(_0x2bee3b<<_0x55f017|_0x2bee3b>>>0x20-_0x55f017)+_0x590826;}function _0x4442ba(_0x1dd9ff,_0x1f18e2,_0x5b9273,_0x1134c7,_0x275abb,_0x59d5e2,_0xbc1797){var _0x4d4d04=_0x1dd9ff+(_0x1f18e2&_0x1134c7|_0x5b9273&~_0x1134c7)+_0x275abb+_0xbc1797;return(_0x4d4d04<<_0x59d5e2|_0x4d4d04>>>0x20-_0x59d5e2)+_0x1f18e2;}function _0x27401f(_0x38cd5f,_0x3bd49e,_0x32eac1,_0x5e4d45,_0x10eff8,_0x41ff4c,_0x499e47){var _0x180436=_0x38cd5f+(_0x3bd49e^_0x32eac1^_0x5e4d45)+_0x10eff8+_0x499e47;return(_0x180436<<_0x41ff4c|_0x180436>>>0x20-_0x41ff4c)+_0x3bd49e;}function _0x44a32a(_0x2e27d8,_0x3c8134,_0x54b144,_0x57daf2,_0x7fd6f8,_0x562ece,_0x3497f6){var _0x4a4030=_0x2e27d8+(_0x54b144^(_0x3c8134|~_0x57daf2))+_0x7fd6f8+_0x3497f6;return(_0x4a4030<<_0x562ece|_0x4a4030>>>0x20-_0x562ece)+_0x3c8134;}_0x5b6ba0['MD5']=_0x42ded7['_createHelper'](_0x19c004),_0x5b6ba0['HmacMD5']=_0x42ded7[_0x15019e(0x122)](_0x19c004);}(Math),_0x14c06a[_0x3c75db(0x306)];}));}(_0x13f51a)),_0x13f51a['exports'];}var _0x307b0c={'exports':{}},_0x527be9={'exports':{}},_0x5c0f1d=_0x527be9[_0xcc99a3(0x3e2)],_0x5b3c91;function _0x4b6bd9(){return _0x5b3c91||(_0x5b3c91=0x1,function(_0x18920c,_0x1345f5){(function(_0x35f01b,_0x56c4ed){var _0x2ecfbc=_0x24bd;_0x18920c[_0x2ecfbc(0x3e2)]=_0x56c4ed(_0x1822f1());}(_0x5c0f1d,function(_0x3dfc9b){return(function(){var _0x3abf0a=_0x24bd,_0x4da4cd=_0x3dfc9b,_0x20dad0=_0x4da4cd[_0x3abf0a(0x412)],_0x2e2965=_0x20dad0['WordArray'],_0x4d69cc=_0x20dad0[_0x3abf0a(0x116)],_0x27ca4c=_0x4da4cd[_0x3abf0a(0x21d)],_0x12e291=[],_0xafc341=_0x27ca4c[_0x3abf0a(0x3fd)]=_0x4d69cc[_0x3abf0a(0x323)]({'_doReset':function(){var _0x3a8eda=_0x3abf0a;this[_0x3a8eda(0x190)]=new _0x2e2965[(_0x3a8eda(0x263))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2a0d1d,_0x4f2b04){var _0x32a0ed=_0x3abf0a;for(var _0x499a27=this[_0x32a0ed(0x190)][_0x32a0ed(0x287)],_0x872b12=_0x499a27[0x0],_0x3abeed=_0x499a27[0x1],_0x3febf2=_0x499a27[0x2],_0x4af06e=_0x499a27[0x3],_0xc96270=_0x499a27[0x4],_0x14ba23=0x0;_0x14ba23<0x50;_0x14ba23++){if(_0x14ba23<0x10)_0x12e291[_0x14ba23]=_0x2a0d1d[_0x4f2b04+_0x14ba23]|0x0;else{var _0x4f94ed=_0x12e291[_0x14ba23-0x3]^_0x12e291[_0x14ba23-0x8]^_0x12e291[_0x14ba23-0xe]^_0x12e291[_0x14ba23-0x10];_0x12e291[_0x14ba23]=_0x4f94ed<<0x1|_0x4f94ed>>>0x1f;}var _0x515ddb=(_0x872b12<<0x5|_0x872b12>>>0x1b)+_0xc96270+_0x12e291[_0x14ba23];_0x14ba23<0x14?_0x515ddb+=(_0x3abeed&_0x3febf2|~_0x3abeed&_0x4af06e)+0x5a827999:_0x14ba23<0x28?_0x515ddb+=(_0x3abeed^_0x3febf2^_0x4af06e)+0x6ed9eba1:_0x14ba23<0x3c?_0x515ddb+=(_0x3abeed&_0x3febf2|_0x3abeed&_0x4af06e|_0x3febf2&_0x4af06e)-0x70e44324:_0x515ddb+=(_0x3abeed^_0x3febf2^_0x4af06e)-0x359d3e2a,_0xc96270=_0x4af06e,_0x4af06e=_0x3febf2,_0x3febf2=_0x3abeed<<0x1e|_0x3abeed>>>0x2,_0x3abeed=_0x872b12,_0x872b12=_0x515ddb;}_0x499a27[0x0]=_0x499a27[0x0]+_0x872b12|0x0,_0x499a27[0x1]=_0x499a27[0x1]+_0x3abeed|0x0,_0x499a27[0x2]=_0x499a27[0x2]+_0x3febf2|0x0,_0x499a27[0x3]=_0x499a27[0x3]+_0x4af06e|0x0,_0x499a27[0x4]=_0x499a27[0x4]+_0xc96270|0x0;},'_doFinalize':function(){var _0x474b2a=_0x3abf0a,_0x328b5c=this[_0x474b2a(0x265)],_0x1b8ae2=_0x328b5c['words'],_0x5498b6=this[_0x474b2a(0x1d7)]*0x8,_0x496980=_0x328b5c[_0x474b2a(0x19d)]*0x8;return _0x1b8ae2[_0x496980>>>0x5]|=0x80<<0x18-_0x496980%0x20,_0x1b8ae2[(_0x496980+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x5498b6/0x100000000),_0x1b8ae2[(_0x496980+0x40>>>0x9<<0x4)+0xf]=_0x5498b6,_0x328b5c['sigBytes']=_0x1b8ae2[_0x474b2a(0x3db)]*0x4,this[_0x474b2a(0x119)](),this[_0x474b2a(0x190)];},'clone':function(){var _0xb6861e=_0x3abf0a,_0x3ff2d7=_0x4d69cc[_0xb6861e(0x35d)][_0xb6861e(0x293)](this);return _0x3ff2d7[_0xb6861e(0x190)]=this[_0xb6861e(0x190)]['clone'](),_0x3ff2d7;}});_0x4da4cd['SHA1']=_0x4d69cc[_0x3abf0a(0x189)](_0xafc341),_0x4da4cd[_0x3abf0a(0x363)]=_0x4d69cc['_createHmacHelper'](_0xafc341);}()),_0x3dfc9b['SHA1'];}));}(_0x527be9)),_0x527be9['exports'];}var _0x1c96fd={'exports':{}},_0x2e709c=_0x1c96fd[_0xcc99a3(0x3e2)],_0x3fa593;function _0x2cecb3(){return _0x3fa593||(_0x3fa593=0x1,function(_0x2d5313,_0x18bfcf){(function(_0x256f6a,_0x23ae61){var _0x416853=_0x24bd;_0x2d5313[_0x416853(0x3e2)]=_0x23ae61(_0x1822f1());}(_0x2e709c,function(_0x3c9c6b){(function(){var _0x27d142=_0x24bd,_0xfa2ac1=_0x3c9c6b,_0x1dffbe=_0xfa2ac1[_0x27d142(0x412)],_0x48c0b5=_0x1dffbe[_0x27d142(0x14d)],_0x3fcf9c=_0xfa2ac1[_0x27d142(0x461)],_0x2183c7=_0x3fcf9c[_0x27d142(0x2af)],_0x4f6b96=_0xfa2ac1[_0x27d142(0x21d)];_0x4f6b96[_0x27d142(0x1c1)]=_0x48c0b5[_0x27d142(0x323)]({'init':function(_0x59fdb3,_0x257020){var _0xf251e6=_0x27d142;_0x59fdb3=this['_hasher']=new _0x59fdb3['init'](),typeof _0x257020==_0xf251e6(0x140)&&(_0x257020=_0x2183c7[_0xf251e6(0x139)](_0x257020));var _0x24d8ae=_0x59fdb3['blockSize'],_0x4f37af=_0x24d8ae*0x4;_0x257020[_0xf251e6(0x19d)]>_0x4f37af&&(_0x257020=_0x59fdb3[_0xf251e6(0x16a)](_0x257020)),_0x257020['clamp']();for(var _0x2de5fc=this[_0xf251e6(0x345)]=_0x257020[_0xf251e6(0x35d)](),_0x55fffc=this['_iKey']=_0x257020[_0xf251e6(0x35d)](),_0x498824=_0x2de5fc[_0xf251e6(0x287)],_0x2aa827=_0x55fffc[_0xf251e6(0x287)],_0x3f7c46=0x0;_0x3f7c46<_0x24d8ae;_0x3f7c46++)_0x498824[_0x3f7c46]^=0x5c5c5c5c,_0x2aa827[_0x3f7c46]^=0x36363636;_0x2de5fc[_0xf251e6(0x19d)]=_0x55fffc[_0xf251e6(0x19d)]=_0x4f37af,this[_0xf251e6(0x437)]();},'reset':function(){var _0x2dbc9b=_0x27d142,_0x4b7fc9=this[_0x2dbc9b(0x234)];_0x4b7fc9[_0x2dbc9b(0x437)](),_0x4b7fc9[_0x2dbc9b(0x2ce)](this['_iKey']);},'update':function(_0x370270){var _0x578345=_0x27d142;return this[_0x578345(0x234)][_0x578345(0x2ce)](_0x370270),this;},'finalize':function(_0x1875fb){var _0x3dcefe=_0x27d142,_0x1395f8=this[_0x3dcefe(0x234)],_0xbfac24=_0x1395f8['finalize'](_0x1875fb);_0x1395f8['reset']();var _0x3d3566=_0x1395f8[_0x3dcefe(0x16a)](this[_0x3dcefe(0x345)][_0x3dcefe(0x35d)]()['concat'](_0xbfac24));return _0x3d3566;}});}());}));}(_0x1c96fd)),_0x1c96fd['exports'];}var _0x2ba66a=_0x307b0c[_0xcc99a3(0x3e2)],_0x8185f9;function _0x1fb9a4(){var _0x430282=_0xcc99a3;return _0x8185f9||(_0x8185f9=0x1,function(_0x1b3d01,_0x12cd6f){(function(_0x411967,_0x157c6d,_0x14707b){var _0x363308=_0x24bd;_0x1b3d01[_0x363308(0x3e2)]=_0x157c6d(_0x1822f1(),_0x4b6bd9(),_0x2cecb3());}(_0x2ba66a,function(_0x272c50){var _0x58e4cf=_0x24bd;return(function(){var _0x68aa65=_0x24bd,_0x556bb4=_0x272c50,_0x40f08c=_0x556bb4['lib'],_0x2d0a3b=_0x40f08c[_0x68aa65(0x14d)],_0x2184e4=_0x40f08c[_0x68aa65(0x24d)],_0x5d9bc9=_0x556bb4[_0x68aa65(0x21d)],_0x493508=_0x5d9bc9[_0x68aa65(0x306)],_0x2fe649=_0x5d9bc9[_0x68aa65(0x231)]=_0x2d0a3b[_0x68aa65(0x323)]({'cfg':_0x2d0a3b[_0x68aa65(0x323)]({'keySize':0x80/0x20,'hasher':_0x493508,'iterations':0x1}),'init':function(_0x33010a){var _0xc5d80d=_0x68aa65;this[_0xc5d80d(0x452)]=this['cfg'][_0xc5d80d(0x323)](_0x33010a);},'compute':function(_0x4930d9,_0x52bb7f){var _0x36db07=_0x68aa65;for(var _0x213ace,_0x1ed193=this[_0x36db07(0x452)],_0x5eb257=_0x1ed193[_0x36db07(0x19f)][_0x36db07(0x209)](),_0x3bda4c=_0x2184e4[_0x36db07(0x209)](),_0xf2af46=_0x3bda4c[_0x36db07(0x287)],_0x4e30f6=_0x1ed193[_0x36db07(0x348)],_0x3162b3=_0x1ed193[_0x36db07(0x28d)];_0xf2af46['length']<_0x4e30f6;){_0x213ace&&_0x5eb257[_0x36db07(0x2ce)](_0x213ace),_0x213ace=_0x5eb257[_0x36db07(0x2ce)](_0x4930d9)[_0x36db07(0x16a)](_0x52bb7f),_0x5eb257['reset']();for(var _0x35b442=0x1;_0x35b442<_0x3162b3;_0x35b442++)_0x213ace=_0x5eb257[_0x36db07(0x16a)](_0x213ace),_0x5eb257[_0x36db07(0x437)]();_0x3bda4c[_0x36db07(0x2f5)](_0x213ace);}return _0x3bda4c[_0x36db07(0x19d)]=_0x4e30f6*0x4,_0x3bda4c;}});_0x556bb4[_0x68aa65(0x231)]=function(_0x719f30,_0x3e1176,_0x4108ac){var _0x4b3e06=_0x68aa65;return _0x2fe649['create'](_0x4108ac)[_0x4b3e06(0x3af)](_0x719f30,_0x3e1176);};}()),_0x272c50[_0x58e4cf(0x231)];}));}(_0x307b0c)),_0x307b0c[_0x430282(0x3e2)];}var _0x25e658={'exports':{}},_0x270817=_0x25e658[_0xcc99a3(0x3e2)],_0x87f58;function _0x4aa1df(){var _0x1a653e=_0xcc99a3;return _0x87f58||(_0x87f58=0x1,function(_0x670999,_0x15bc20){(function(_0x1ee8eb,_0x1247b1,_0x3c434b){var _0x214960=_0x24bd;_0x670999[_0x214960(0x3e2)]=_0x1247b1(_0x1822f1(),_0x1fb9a4());}(_0x270817,function(_0x52cd1d){var _0x328aca=_0x24bd;_0x52cd1d[_0x328aca(0x412)]['Cipher']||function(_0x4bb362){var _0xc4ac68=_0x328aca,_0x21e473=_0x52cd1d,_0x28484b=_0x21e473[_0xc4ac68(0x412)],_0x17543b=_0x28484b['Base'],_0x1a8ed7=_0x28484b['WordArray'],_0x5da03f=_0x28484b[_0xc4ac68(0x374)],_0x53ada3=_0x21e473[_0xc4ac68(0x461)];_0x53ada3[_0xc4ac68(0x2af)];var _0x2df664=_0x53ada3[_0xc4ac68(0x312)],_0x5b3de3=_0x21e473[_0xc4ac68(0x21d)],_0x27613e=_0x5b3de3[_0xc4ac68(0x231)],_0x3ff633=_0x28484b[_0xc4ac68(0x364)]=_0x5da03f[_0xc4ac68(0x323)]({'cfg':_0x17543b['extend'](),'createEncryptor':function(_0x41f0e0,_0x2861a6){var _0x14002f=_0xc4ac68;return this[_0x14002f(0x209)](this[_0x14002f(0x326)],_0x41f0e0,_0x2861a6);},'createDecryptor':function(_0x25e00e,_0x33442b){var _0x26854d=_0xc4ac68;return this[_0x26854d(0x209)](this[_0x26854d(0x405)],_0x25e00e,_0x33442b);},'init':function(_0x42ff05,_0xea1a8,_0x3eb66c){var _0x347c72=_0xc4ac68;this[_0x347c72(0x452)]=this[_0x347c72(0x452)]['extend'](_0x3eb66c),this['_xformMode']=_0x42ff05,this[_0x347c72(0x311)]=_0xea1a8,this[_0x347c72(0x437)]();},'reset':function(){var _0x42d2c8=_0xc4ac68;_0x5da03f[_0x42d2c8(0x437)][_0x42d2c8(0x293)](this),this['_doReset']();},'process':function(_0x27357c){var _0x2564bf=_0xc4ac68;return this[_0x2564bf(0x371)](_0x27357c),this[_0x2564bf(0x119)]();},'finalize':function(_0x3daf29){var _0x945d03=_0xc4ac68;_0x3daf29&&this[_0x945d03(0x371)](_0x3daf29);var _0x1daf8f=this[_0x945d03(0x215)]();return _0x1daf8f;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1f9856(_0x4ae8e0){var _0x1b4352=_0x24bd;return typeof _0x4ae8e0==_0x1b4352(0x140)?_0x104ffc:_0xe02d0f;}return function(_0xc945f1){return{'encrypt':function(_0x2423d4,_0x4ef371,_0x3a66e0){var _0x7aa97=_0x24bd;return _0x1f9856(_0x4ef371)[_0x7aa97(0x360)](_0xc945f1,_0x2423d4,_0x4ef371,_0x3a66e0);},'decrypt':function(_0x4dbba0,_0x5af346,_0x1579e3){var _0x462f21=_0x24bd;return _0x1f9856(_0x5af346)[_0x462f21(0x39c)](_0xc945f1,_0x4dbba0,_0x5af346,_0x1579e3);}};};}())});_0x28484b[_0xc4ac68(0x38c)]=_0x3ff633[_0xc4ac68(0x323)]({'_doFinalize':function(){var _0x9a5d0f=_0xc4ac68,_0x5b0f0e=this[_0x9a5d0f(0x119)](!0x0);return _0x5b0f0e;},'blockSize':0x1});var _0x38c2e5=_0x21e473['mode']={},_0x3d707a=_0x28484b['BlockCipherMode']=_0x17543b['extend']({'createEncryptor':function(_0x28ff2a,_0x5e7359){var _0x45d8d6=_0xc4ac68;return this[_0x45d8d6(0x17d)]['create'](_0x28ff2a,_0x5e7359);},'createDecryptor':function(_0x580851,_0x43b721){var _0x52e351=_0xc4ac68;return this[_0x52e351(0x271)]['create'](_0x580851,_0x43b721);},'init':function(_0x7bd0ea,_0x4e6e82){this['_cipher']=_0x7bd0ea,this['_iv']=_0x4e6e82;}}),_0x32d476=_0x38c2e5[_0xc4ac68(0x31b)]=(function(){var _0x52b471=_0xc4ac68,_0x3ab15c=_0x3d707a[_0x52b471(0x323)]();_0x3ab15c['Encryptor']=_0x3ab15c[_0x52b471(0x323)]({'processBlock':function(_0x26c626,_0x3e09b5){var _0x360b07=_0x52b471,_0x1c681e=this['_cipher'],_0x3d6366=_0x1c681e['blockSize'];_0x564267[_0x360b07(0x293)](this,_0x26c626,_0x3e09b5,_0x3d6366),_0x1c681e[_0x360b07(0x128)](_0x26c626,_0x3e09b5),this[_0x360b07(0x27b)]=_0x26c626[_0x360b07(0x313)](_0x3e09b5,_0x3e09b5+_0x3d6366);}}),_0x3ab15c['Decryptor']=_0x3ab15c[_0x52b471(0x323)]({'processBlock':function(_0x220c92,_0x168aea){var _0x17b052=_0x52b471,_0x3c5221=this[_0x17b052(0x124)],_0x25622a=_0x3c5221[_0x17b052(0x11f)],_0x20c461=_0x220c92[_0x17b052(0x313)](_0x168aea,_0x168aea+_0x25622a);_0x3c5221[_0x17b052(0x178)](_0x220c92,_0x168aea),_0x564267['call'](this,_0x220c92,_0x168aea,_0x25622a),this[_0x17b052(0x27b)]=_0x20c461;}});function _0x564267(_0x5d91ba,_0x375e53,_0x307a1f){var _0x27ed6f=_0x52b471,_0x3629af,_0x2e9031=this[_0x27ed6f(0x1c3)];_0x2e9031?(_0x3629af=_0x2e9031,this['_iv']=_0x4bb362):_0x3629af=this[_0x27ed6f(0x27b)];for(var _0x21ad1c=0x0;_0x21ad1c<_0x307a1f;_0x21ad1c++)_0x5d91ba[_0x375e53+_0x21ad1c]^=_0x3629af[_0x21ad1c];}return _0x3ab15c;}()),_0x5b113c=_0x21e473['pad']={},_0x46f059=_0x5b113c[_0xc4ac68(0x151)]={'pad':function(_0xe36572,_0xdf0a4e){var _0x587b4d=_0xc4ac68;for(var _0x11ddf5=_0xdf0a4e*0x4,_0x1a329c=_0x11ddf5-_0xe36572[_0x587b4d(0x19d)]%_0x11ddf5,_0x4216e7=_0x1a329c<<0x18|_0x1a329c<<0x10|_0x1a329c<<0x8|_0x1a329c,_0xc4327a=[],_0x2e512d=0x0;_0x2e512d<_0x1a329c;_0x2e512d+=0x4)_0xc4327a['push'](_0x4216e7);var _0x47d965=_0x1a8ed7['create'](_0xc4327a,_0x1a329c);_0xe36572[_0x587b4d(0x2f5)](_0x47d965);},'unpad':function(_0x12666e){var _0x2efbcc=_0xc4ac68,_0x56ce04=_0x12666e[_0x2efbcc(0x287)][_0x12666e[_0x2efbcc(0x19d)]-0x1>>>0x2]&0xff;_0x12666e[_0x2efbcc(0x19d)]-=_0x56ce04;}};_0x28484b[_0xc4ac68(0x334)]=_0x3ff633[_0xc4ac68(0x323)]({'cfg':_0x3ff633['cfg'][_0xc4ac68(0x323)]({'mode':_0x32d476,'padding':_0x46f059}),'reset':function(){var _0x8f321=_0xc4ac68,_0x575dd2;_0x3ff633['reset']['call'](this);var _0x330571=this['cfg'],_0x115c26=_0x330571['iv'],_0x57ebe3=_0x330571['mode'];this[_0x8f321(0x27c)]==this['_ENC_XFORM_MODE']?_0x575dd2=_0x57ebe3['createEncryptor']:(_0x575dd2=_0x57ebe3[_0x8f321(0x31e)],this[_0x8f321(0x150)]=0x1),this[_0x8f321(0x404)]&&this['_mode']['__creator']==_0x575dd2?this['_mode'][_0x8f321(0x263)](this,_0x115c26&&_0x115c26[_0x8f321(0x287)]):(this['_mode']=_0x575dd2[_0x8f321(0x293)](_0x57ebe3,this,_0x115c26&&_0x115c26[_0x8f321(0x287)]),this['_mode']['__creator']=_0x575dd2);},'_doProcessBlock':function(_0x24946e,_0x48ba88){var _0x22eb0b=_0xc4ac68;this[_0x22eb0b(0x404)]['processBlock'](_0x24946e,_0x48ba88);},'_doFinalize':function(){var _0x2da2e1=_0xc4ac68,_0xf16f5c,_0x310343=this[_0x2da2e1(0x452)][_0x2da2e1(0x2fc)];return this[_0x2da2e1(0x27c)]==this[_0x2da2e1(0x326)]?(_0x310343[_0x2da2e1(0x3bc)](this[_0x2da2e1(0x265)],this['blockSize']),_0xf16f5c=this[_0x2da2e1(0x119)](!0x0)):(_0xf16f5c=this[_0x2da2e1(0x119)](!0x0),_0x310343[_0x2da2e1(0x3ec)](_0xf16f5c)),_0xf16f5c;},'blockSize':0x80/0x20});var _0x286251=_0x28484b[_0xc4ac68(0x498)]=_0x17543b[_0xc4ac68(0x323)]({'init':function(_0x3e6be3){var _0x5bee69=_0xc4ac68;this[_0x5bee69(0x136)](_0x3e6be3);},'toString':function(_0x3d2cb9){var _0x58b0b9=_0xc4ac68;return(_0x3d2cb9||this[_0x58b0b9(0x43c)])[_0x58b0b9(0x180)](this);}}),_0x1408e1=_0x21e473[_0xc4ac68(0x19c)]={},_0x5a73a8=_0x1408e1['OpenSSL']={'stringify':function(_0x20bbd0){var _0x287b08=_0xc4ac68,_0x11a925,_0x180685=_0x20bbd0['ciphertext'],_0x268330=_0x20bbd0['salt'];return _0x268330?_0x11a925=_0x1a8ed7['create']([0x53616c74,0x65645f5f])['concat'](_0x268330)['concat'](_0x180685):_0x11a925=_0x180685,_0x11a925[_0x287b08(0x2c1)](_0x2df664);},'parse':function(_0x2515f7){var _0x15dc2d=_0xc4ac68,_0x31c87e,_0x44739f=_0x2df664[_0x15dc2d(0x139)](_0x2515f7),_0x5b5aea=_0x44739f[_0x15dc2d(0x287)];return _0x5b5aea[0x0]==0x53616c74&&_0x5b5aea[0x1]==0x65645f5f&&(_0x31c87e=_0x1a8ed7[_0x15dc2d(0x209)](_0x5b5aea[_0x15dc2d(0x313)](0x2,0x4)),_0x5b5aea[_0x15dc2d(0x310)](0x0,0x4),_0x44739f[_0x15dc2d(0x19d)]-=0x10),_0x286251[_0x15dc2d(0x209)]({'ciphertext':_0x44739f,'salt':_0x31c87e});}},_0xe02d0f=_0x28484b[_0xc4ac68(0x181)]=_0x17543b[_0xc4ac68(0x323)]({'cfg':_0x17543b['extend']({'format':_0x5a73a8}),'encrypt':function(_0x1a5baf,_0x199163,_0x552b2e,_0x63e9b7){var _0x2c575d=_0xc4ac68;_0x63e9b7=this[_0x2c575d(0x452)][_0x2c575d(0x323)](_0x63e9b7);var _0x58bca2=_0x1a5baf[_0x2c575d(0x24c)](_0x552b2e,_0x63e9b7),_0x4ffaff=_0x58bca2[_0x2c575d(0x16a)](_0x199163),_0x1622d9=_0x58bca2['cfg'];return _0x286251[_0x2c575d(0x209)]({'ciphertext':_0x4ffaff,'key':_0x552b2e,'iv':_0x1622d9['iv'],'algorithm':_0x1a5baf,'mode':_0x1622d9[_0x2c575d(0x211)],'padding':_0x1622d9['padding'],'blockSize':_0x1a5baf[_0x2c575d(0x11f)],'formatter':_0x63e9b7[_0x2c575d(0x19c)]});},'decrypt':function(_0x766925,_0x362e5d,_0x53de48,_0x458805){var _0x109161=_0xc4ac68;_0x458805=this[_0x109161(0x452)]['extend'](_0x458805),_0x362e5d=this[_0x109161(0x3f2)](_0x362e5d,_0x458805[_0x109161(0x19c)]);var _0x3d92d8=_0x766925[_0x109161(0x31e)](_0x53de48,_0x458805)['finalize'](_0x362e5d['ciphertext']);return _0x3d92d8;},'_parse':function(_0x48962d,_0x42d0e7){var _0x318068=_0xc4ac68;return typeof _0x48962d==_0x318068(0x140)?_0x42d0e7[_0x318068(0x139)](_0x48962d,this):_0x48962d;}}),_0x736505=_0x21e473[_0xc4ac68(0x3ce)]={},_0x459d76=_0x736505[_0xc4ac68(0x1c9)]={'execute':function(_0x5782c7,_0x1a990a,_0x1c5524,_0x5bf2af,_0x472a11){var _0xad2bd9=_0xc4ac68;if(_0x5bf2af||(_0x5bf2af=_0x1a8ed7[_0xad2bd9(0x48b)](0x40/0x8)),_0x472a11)var _0x567bdb=_0x27613e[_0xad2bd9(0x209)]({'keySize':_0x1a990a+_0x1c5524,'hasher':_0x472a11})['compute'](_0x5782c7,_0x5bf2af);else var _0x567bdb=_0x27613e['create']({'keySize':_0x1a990a+_0x1c5524})['compute'](_0x5782c7,_0x5bf2af);var _0x23583d=_0x1a8ed7[_0xad2bd9(0x209)](_0x567bdb[_0xad2bd9(0x287)]['slice'](_0x1a990a),_0x1c5524*0x4);return _0x567bdb[_0xad2bd9(0x19d)]=_0x1a990a*0x4,_0x286251['create']({'key':_0x567bdb,'iv':_0x23583d,'salt':_0x5bf2af});}},_0x104ffc=_0x28484b[_0xc4ac68(0x35b)]=_0xe02d0f['extend']({'cfg':_0xe02d0f[_0xc4ac68(0x452)][_0xc4ac68(0x323)]({'kdf':_0x459d76}),'encrypt':function(_0x4e4fc7,_0x486d34,_0x916faf,_0x5eb834){var _0x324d0e=_0xc4ac68;_0x5eb834=this[_0x324d0e(0x452)][_0x324d0e(0x323)](_0x5eb834);var _0x347a5a=_0x5eb834[_0x324d0e(0x3ce)][_0x324d0e(0x233)](_0x916faf,_0x4e4fc7[_0x324d0e(0x348)],_0x4e4fc7[_0x324d0e(0x17b)],_0x5eb834[_0x324d0e(0x3e0)],_0x5eb834['hasher']);_0x5eb834['iv']=_0x347a5a['iv'];var _0x969085=_0xe02d0f['encrypt'][_0x324d0e(0x293)](this,_0x4e4fc7,_0x486d34,_0x347a5a['key'],_0x5eb834);return _0x969085[_0x324d0e(0x136)](_0x347a5a),_0x969085;},'decrypt':function(_0xcc325d,_0x4fa5e2,_0x4aa0ca,_0x2bec7b){var _0x4bf0d9=_0xc4ac68;_0x2bec7b=this[_0x4bf0d9(0x452)][_0x4bf0d9(0x323)](_0x2bec7b),_0x4fa5e2=this[_0x4bf0d9(0x3f2)](_0x4fa5e2,_0x2bec7b['format']);var _0x817caf=_0x2bec7b['kdf'][_0x4bf0d9(0x233)](_0x4aa0ca,_0xcc325d[_0x4bf0d9(0x348)],_0xcc325d[_0x4bf0d9(0x17b)],_0x4fa5e2[_0x4bf0d9(0x3e0)],_0x2bec7b['hasher']);_0x2bec7b['iv']=_0x817caf['iv'];var _0x4b7216=_0xe02d0f[_0x4bf0d9(0x39c)][_0x4bf0d9(0x293)](this,_0xcc325d,_0x4fa5e2,_0x817caf['key'],_0x2bec7b);return _0x4b7216;}});}();}));}(_0x25e658)),_0x25e658[_0x1a653e(0x3e2)];}var _0x2ea90f=_0x1c7045[_0xcc99a3(0x3e2)],_0x304a6a;function _0x11181e(){var _0x2b28c7=_0xcc99a3;return _0x304a6a||(_0x304a6a=0x1,function(_0x51638a,_0x5a091d){(function(_0x50543a,_0x52e25a,_0x3d9176){var _0x58f63e=_0x24bd;_0x51638a[_0x58f63e(0x3e2)]=_0x52e25a(_0x1822f1(),_0x6e53cf(),_0x4f884e(),_0x1fb9a4(),_0x4aa1df());}(_0x2ea90f,function(_0x5defbc){var _0x322e0a=_0x24bd;return(function(){var _0x2ee2fd=_0x24bd,_0x292925=_0x5defbc,_0x161879=_0x292925[_0x2ee2fd(0x412)],_0x20469a=_0x161879[_0x2ee2fd(0x334)],_0x449fda=_0x292925[_0x2ee2fd(0x21d)],_0x4f9a15=[],_0x59d4bf=[],_0x401207=[],_0x301e0d=[],_0x57000e=[],_0x58b00c=[],_0x59a431=[],_0x6c6467=[],_0x4d8586=[],_0x349d42=[];(function(){for(var _0x61fa95=[],_0x48ecd2=0x0;_0x48ecd2<0x100;_0x48ecd2++)_0x48ecd2<0x80?_0x61fa95[_0x48ecd2]=_0x48ecd2<<0x1:_0x61fa95[_0x48ecd2]=_0x48ecd2<<0x1^0x11b;for(var _0x25c856=0x0,_0x4809c9=0x0,_0x48ecd2=0x0;_0x48ecd2<0x100;_0x48ecd2++){var _0x111769=_0x4809c9^_0x4809c9<<0x1^_0x4809c9<<0x2^_0x4809c9<<0x3^_0x4809c9<<0x4;_0x111769=_0x111769>>>0x8^_0x111769&0xff^0x63,_0x4f9a15[_0x25c856]=_0x111769,_0x59d4bf[_0x111769]=_0x25c856;var _0x2adeee=_0x61fa95[_0x25c856],_0x3dd755=_0x61fa95[_0x2adeee],_0x461e30=_0x61fa95[_0x3dd755],_0x4ced32=_0x61fa95[_0x111769]*0x101^_0x111769*0x1010100;_0x401207[_0x25c856]=_0x4ced32<<0x18|_0x4ced32>>>0x8,_0x301e0d[_0x25c856]=_0x4ced32<<0x10|_0x4ced32>>>0x10,_0x57000e[_0x25c856]=_0x4ced32<<0x8|_0x4ced32>>>0x18,_0x58b00c[_0x25c856]=_0x4ced32;var _0x4ced32=_0x461e30*0x1010101^_0x3dd755*0x10001^_0x2adeee*0x101^_0x25c856*0x1010100;_0x59a431[_0x111769]=_0x4ced32<<0x18|_0x4ced32>>>0x8,_0x6c6467[_0x111769]=_0x4ced32<<0x10|_0x4ced32>>>0x10,_0x4d8586[_0x111769]=_0x4ced32<<0x8|_0x4ced32>>>0x18,_0x349d42[_0x111769]=_0x4ced32,_0x25c856?(_0x25c856=_0x2adeee^_0x61fa95[_0x61fa95[_0x61fa95[_0x461e30^_0x2adeee]]],_0x4809c9^=_0x61fa95[_0x61fa95[_0x4809c9]]):_0x25c856=_0x4809c9=0x1;}}());var _0x13a334=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x357d1c=_0x449fda[_0x2ee2fd(0x36a)]=_0x20469a[_0x2ee2fd(0x323)]({'_doReset':function(){var _0x115c5d=_0x2ee2fd,_0x2d7069;if(!(this['_nRounds']&&this['_keyPriorReset']===this['_key'])){for(var _0xb69fb3=this[_0x115c5d(0x423)]=this[_0x115c5d(0x311)],_0x3dd143=_0xb69fb3[_0x115c5d(0x287)],_0x22c966=_0xb69fb3[_0x115c5d(0x19d)]/0x4,_0x5f1752=this['_nRounds']=_0x22c966+0x6,_0x333d5e=(_0x5f1752+0x1)*0x4,_0x426384=this[_0x115c5d(0x283)]=[],_0x38cc56=0x0;_0x38cc56<_0x333d5e;_0x38cc56++)_0x38cc56<_0x22c966?_0x426384[_0x38cc56]=_0x3dd143[_0x38cc56]:(_0x2d7069=_0x426384[_0x38cc56-0x1],_0x38cc56%_0x22c966?_0x22c966>0x6&&_0x38cc56%_0x22c966==0x4&&(_0x2d7069=_0x4f9a15[_0x2d7069>>>0x18]<<0x18|_0x4f9a15[_0x2d7069>>>0x10&0xff]<<0x10|_0x4f9a15[_0x2d7069>>>0x8&0xff]<<0x8|_0x4f9a15[_0x2d7069&0xff]):(_0x2d7069=_0x2d7069<<0x8|_0x2d7069>>>0x18,_0x2d7069=_0x4f9a15[_0x2d7069>>>0x18]<<0x18|_0x4f9a15[_0x2d7069>>>0x10&0xff]<<0x10|_0x4f9a15[_0x2d7069>>>0x8&0xff]<<0x8|_0x4f9a15[_0x2d7069&0xff],_0x2d7069^=_0x13a334[_0x38cc56/_0x22c966|0x0]<<0x18),_0x426384[_0x38cc56]=_0x426384[_0x38cc56-_0x22c966]^_0x2d7069);for(var _0xcfdf44=this[_0x115c5d(0x2a7)]=[],_0x17692e=0x0;_0x17692e<_0x333d5e;_0x17692e++){var _0x38cc56=_0x333d5e-_0x17692e;if(_0x17692e%0x4)var _0x2d7069=_0x426384[_0x38cc56];else var _0x2d7069=_0x426384[_0x38cc56-0x4];_0x17692e<0x4||_0x38cc56<=0x4?_0xcfdf44[_0x17692e]=_0x2d7069:_0xcfdf44[_0x17692e]=_0x59a431[_0x4f9a15[_0x2d7069>>>0x18]]^_0x6c6467[_0x4f9a15[_0x2d7069>>>0x10&0xff]]^_0x4d8586[_0x4f9a15[_0x2d7069>>>0x8&0xff]]^_0x349d42[_0x4f9a15[_0x2d7069&0xff]];}}},'encryptBlock':function(_0x47b2ad,_0x36d50a){var _0x49ba58=_0x2ee2fd;this[_0x49ba58(0x430)](_0x47b2ad,_0x36d50a,this[_0x49ba58(0x283)],_0x401207,_0x301e0d,_0x57000e,_0x58b00c,_0x4f9a15);},'decryptBlock':function(_0x412ce5,_0x349c80){var _0x54a994=_0x2ee2fd,_0x3edf6a=_0x412ce5[_0x349c80+0x1];_0x412ce5[_0x349c80+0x1]=_0x412ce5[_0x349c80+0x3],_0x412ce5[_0x349c80+0x3]=_0x3edf6a,this[_0x54a994(0x430)](_0x412ce5,_0x349c80,this[_0x54a994(0x2a7)],_0x59a431,_0x6c6467,_0x4d8586,_0x349d42,_0x59d4bf);var _0x3edf6a=_0x412ce5[_0x349c80+0x1];_0x412ce5[_0x349c80+0x1]=_0x412ce5[_0x349c80+0x3],_0x412ce5[_0x349c80+0x3]=_0x3edf6a;},'_doCryptBlock':function(_0xcc04e0,_0x57fe5e,_0x42387d,_0x4a184b,_0x3af443,_0x2c0b75,_0x4468a1,_0x37e95a){var _0x5c255d=_0x2ee2fd;for(var _0x29c19a=this[_0x5c255d(0x369)],_0x281926=_0xcc04e0[_0x57fe5e]^_0x42387d[0x0],_0x13e383=_0xcc04e0[_0x57fe5e+0x1]^_0x42387d[0x1],_0x16de51=_0xcc04e0[_0x57fe5e+0x2]^_0x42387d[0x2],_0x3c01cd=_0xcc04e0[_0x57fe5e+0x3]^_0x42387d[0x3],_0x322400=0x4,_0x8dd91c=0x1;_0x8dd91c<_0x29c19a;_0x8dd91c++){var _0x66337c=_0x4a184b[_0x281926>>>0x18]^_0x3af443[_0x13e383>>>0x10&0xff]^_0x2c0b75[_0x16de51>>>0x8&0xff]^_0x4468a1[_0x3c01cd&0xff]^_0x42387d[_0x322400++],_0x1573de=_0x4a184b[_0x13e383>>>0x18]^_0x3af443[_0x16de51>>>0x10&0xff]^_0x2c0b75[_0x3c01cd>>>0x8&0xff]^_0x4468a1[_0x281926&0xff]^_0x42387d[_0x322400++],_0x1f2020=_0x4a184b[_0x16de51>>>0x18]^_0x3af443[_0x3c01cd>>>0x10&0xff]^_0x2c0b75[_0x281926>>>0x8&0xff]^_0x4468a1[_0x13e383&0xff]^_0x42387d[_0x322400++],_0x6ce25b=_0x4a184b[_0x3c01cd>>>0x18]^_0x3af443[_0x281926>>>0x10&0xff]^_0x2c0b75[_0x13e383>>>0x8&0xff]^_0x4468a1[_0x16de51&0xff]^_0x42387d[_0x322400++];_0x281926=_0x66337c,_0x13e383=_0x1573de,_0x16de51=_0x1f2020,_0x3c01cd=_0x6ce25b;}var _0x66337c=(_0x37e95a[_0x281926>>>0x18]<<0x18|_0x37e95a[_0x13e383>>>0x10&0xff]<<0x10|_0x37e95a[_0x16de51>>>0x8&0xff]<<0x8|_0x37e95a[_0x3c01cd&0xff])^_0x42387d[_0x322400++],_0x1573de=(_0x37e95a[_0x13e383>>>0x18]<<0x18|_0x37e95a[_0x16de51>>>0x10&0xff]<<0x10|_0x37e95a[_0x3c01cd>>>0x8&0xff]<<0x8|_0x37e95a[_0x281926&0xff])^_0x42387d[_0x322400++],_0x1f2020=(_0x37e95a[_0x16de51>>>0x18]<<0x18|_0x37e95a[_0x3c01cd>>>0x10&0xff]<<0x10|_0x37e95a[_0x281926>>>0x8&0xff]<<0x8|_0x37e95a[_0x13e383&0xff])^_0x42387d[_0x322400++],_0x6ce25b=(_0x37e95a[_0x3c01cd>>>0x18]<<0x18|_0x37e95a[_0x281926>>>0x10&0xff]<<0x10|_0x37e95a[_0x13e383>>>0x8&0xff]<<0x8|_0x37e95a[_0x16de51&0xff])^_0x42387d[_0x322400++];_0xcc04e0[_0x57fe5e]=_0x66337c,_0xcc04e0[_0x57fe5e+0x1]=_0x1573de,_0xcc04e0[_0x57fe5e+0x2]=_0x1f2020,_0xcc04e0[_0x57fe5e+0x3]=_0x6ce25b;},'keySize':0x100/0x20});_0x292925[_0x2ee2fd(0x36a)]=_0x20469a['_createHelper'](_0x357d1c);}()),_0x5defbc[_0x322e0a(0x36a)];}));}(_0x1c7045)),_0x1c7045[_0x2b28c7(0x3e2)];}var _0x282e3f=_0x11181e();const _0x3d3248=_0x4bf3e8(_0x282e3f);var _0x40f09e=_0x6e53cf();const _0x222e53=_0x4bf3e8(_0x40f09e);var _0x1e6e49={'exports':{}},_0x3d7b6c=_0x1e6e49['exports'],_0x270174;function _0x38b781(){var _0x3697eb=_0xcc99a3;return _0x270174||(_0x270174=0x1,function(_0x13e6c1,_0x1c0c06){(function(_0xb1fcb8,_0x11a3ca){_0x13e6c1['exports']=_0x11a3ca(_0x1822f1());}(_0x3d7b6c,function(_0x4b9ea3){var _0x4faf22=_0x24bd;return _0x4b9ea3['enc'][_0x4faf22(0x2af)];}));}(_0x1e6e49)),_0x1e6e49[_0x3697eb(0x3e2)];}var _0x1f7064=_0x38b781();const _0x59658e=_0x4bf3e8(_0x1f7064);var _0x1bf755={'exports':{}},_0x35366e=_0x1bf755[_0xcc99a3(0x3e2)],_0x376bbd;function _0x387ed0(){return _0x376bbd||(_0x376bbd=0x1,function(_0x449d82,_0x2c5659){(function(_0xc15140,_0x3477f3){var _0x526f46=_0x24bd;_0x449d82[_0x526f46(0x3e2)]=_0x3477f3(_0x1822f1());}(_0x35366e,function(_0x3e96ba){var _0x3893ec=_0x24bd;return(function(){var _0xdeabdb=_0x24bd;if(typeof ArrayBuffer=='function'){var _0x4c998c=_0x3e96ba,_0x2ace0c=_0x4c998c[_0xdeabdb(0x412)],_0x17ede5=_0x2ace0c[_0xdeabdb(0x24d)],_0x541715=_0x17ede5[_0xdeabdb(0x263)],_0x59d84f=_0x17ede5['init']=function(_0x22ff6e){var _0x3adaf0=_0xdeabdb;if(_0x22ff6e instanceof ArrayBuffer&&(_0x22ff6e=new Uint8Array(_0x22ff6e)),(_0x22ff6e instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x22ff6e instanceof Uint8ClampedArray||_0x22ff6e instanceof Int16Array||_0x22ff6e instanceof Uint16Array||_0x22ff6e instanceof Int32Array||_0x22ff6e instanceof Uint32Array||_0x22ff6e instanceof Float32Array||_0x22ff6e instanceof Float64Array)&&(_0x22ff6e=new Uint8Array(_0x22ff6e[_0x3adaf0(0x472)],_0x22ff6e[_0x3adaf0(0x493)],_0x22ff6e[_0x3adaf0(0x1d2)])),_0x22ff6e instanceof Uint8Array){for(var _0x497b4d=_0x22ff6e['byteLength'],_0x10596a=[],_0x16cf8f=0x0;_0x16cf8f<_0x497b4d;_0x16cf8f++)_0x10596a[_0x16cf8f>>>0x2]|=_0x22ff6e[_0x16cf8f]<<0x18-_0x16cf8f%0x4*0x8;_0x541715[_0x3adaf0(0x293)](this,_0x10596a,_0x497b4d);}else _0x541715[_0x3adaf0(0x3ad)](this,arguments);};_0x59d84f[_0xdeabdb(0x247)]=_0x17ede5;}}()),_0x3e96ba[_0x3893ec(0x412)][_0x3893ec(0x24d)];}));}(_0x1bf755)),_0x1bf755['exports'];}var _0x3b974e=_0x387ed0();const _0x3b0ceb=_0x4bf3e8(_0x3b974e);var _0x2d1eec={'exports':{}},_0xbe86c9=_0x2d1eec[_0xcc99a3(0x3e2)],_0x5988ff;function _0x9cedc6(){var _0x306535=_0xcc99a3;return _0x5988ff||(_0x5988ff=0x1,function(_0x1496f6,_0x32b072){(function(_0x3c26e9,_0x368887,_0x52bdc0){_0x1496f6['exports']=_0x368887(_0x1822f1(),_0x4aa1df());}(_0xbe86c9,function(_0x25f8b3){var _0x2757fa=_0x24bd;return _0x25f8b3[_0x2757fa(0x3bc)][_0x2757fa(0x27a)]={'pad':function(){},'unpad':function(){}},_0x25f8b3[_0x2757fa(0x3bc)]['NoPadding'];}));}(_0x2d1eec)),_0x2d1eec[_0x306535(0x3e2)];}var _0x5c0040=_0x9cedc6();const _0xa6aa3=_0x4bf3e8(_0x5c0040);function _0x25a97e(_0x441691,_0x5c4d93){var _0x361cae=_0xcc99a3;const _0x2d4625=_0x5c4d93-_0x441691[_0x361cae(0x3db)]%_0x5c4d93,_0x42d7d4=String[_0x361cae(0x362)](_0x2d4625)[_0x361cae(0x129)](_0x2d4625);return _0x441691+_0x42d7d4;}function _0x5570dd(_0x3cc293,_0x3af6cc){var _0x4bee69=_0xcc99a3;const _0x3fc96b=_0x3b0ceb[_0x4bee69(0x48b)](0x10),_0xc7fa05=_0x25a97e(_0x3cc293,0x10),_0x5245e9=_0x3d3248[_0x4bee69(0x360)](_0x59658e['parse'](_0xc7fa05),_0x222e53[_0x4bee69(0x139)](_0x3af6cc),{'iv':_0x3fc96b,'padding':_0xa6aa3});return _0x3fc96b['concat'](_0x5245e9[_0x4bee69(0x394)])[_0x4bee69(0x2c1)](_0x222e53);}function _0x14403a(){var _0x1bba29=_0xcc99a3;const _0x470a55=_0x3d654f[_0x1bba29(0x344)]()['__Key__'];if(typeof window<'u'&&typeof window[_0x1bba29(0x1b2)]<'u'&&_0x470a55){const _0x10bf54={'time':Math['floor'](Date['now']()/0x3e8),'domain':location['hostname']};return _0x5570dd(JSON[_0x1bba29(0x180)](_0x10bf54),_0x470a55);}}var _0x5f535a=Object['getOwnPropertyDescriptor'],_0xabe46d=(_0x210090,_0x260696,_0x4efcc9,_0x1b329a)=>{for(var _0x266e39=_0x1b329a>0x1?void 0x0:_0x1b329a?_0x5f535a(_0x260696,_0x4efcc9):_0x260696,_0x43137b=_0x210090['length']-0x1,_0x4d1b84;_0x43137b>=0x0;_0x43137b--)(_0x4d1b84=_0x210090[_0x43137b])&&(_0x266e39=_0x4d1b84(_0x266e39)||_0x266e39);return _0x266e39;},_0x27c3f5=(_0x5c51c8,_0x18cf78)=>(_0x1bbfbf,_0x270f1b)=>_0x18cf78(_0x1bbfbf,_0x270f1b,_0x5c51c8);let _0x164e41=class{constructor(_0x2cc93c){var _0x14d319=_0xcc99a3;this[_0x14d319(0x1ab)]=_0x2cc93c,this[_0x14d319(0x39b)]();}['_initRequestHeader'](){var _0x32f6ba=_0xcc99a3;this[_0x32f6ba(0x1ab)]['registerHTTPInterceptor']({'interceptor':(_0x1cf60a,_0x40ee98)=>{var _0x3b114a=_0x32f6ba;const _0x353fd1=_0x1cf60a[_0x3b114a(0x46a)],_0x3530d4=_0x14403a();return _0x3530d4&&_0x353fd1['set'](_0x3b114a(0x13a),_0x3530d4),_0x40ee98(_0x1cf60a);}});}};_0x164e41=_0xabe46d([_0x27c3f5(0x0,_0x59c11e['Inject'](_0x3bd6c0[_0xcc99a3(0x254)]))],_0x164e41);var _0x50ee9f=Object[_0xcc99a3(0x188)],_0x157030=(_0x668c7d,_0xdb7188,_0x7498c8,_0x4740f2)=>{var _0x2f622f=_0xcc99a3;for(var _0x49dbed=_0x4740f2>0x1?void 0x0:_0x4740f2?_0x50ee9f(_0xdb7188,_0x7498c8):_0xdb7188,_0x4aa4fa=_0x668c7d[_0x2f622f(0x3db)]-0x1,_0x84d78;_0x4aa4fa>=0x0;_0x4aa4fa--)(_0x84d78=_0x668c7d[_0x4aa4fa])&&(_0x49dbed=_0x84d78(_0x49dbed)||_0x49dbed);return _0x49dbed;},_0x10e455=(_0x5b51da,_0x2ad2de)=>(_0x17c6ab,_0x18861f)=>_0x2ad2de(_0x17c6ab,_0x18861f,_0x5b51da);_0x56d6c4[_0xcc99a3(0x410)]=class extends _0x59c11e[_0xcc99a3(0x250)]{constructor(_0x45f772,_0x3a9d01,_0x164c7e){var _0x26af83=_0xcc99a3;super(),_0x12df8a(this,_0x26af83(0x10e),new _0x2e4023[(_0x26af83(0x177))](null)),_0x12df8a(this,_0x26af83(0x414),this[_0x26af83(0x10e)][_0x26af83(0x387)]()),(this['_logService']=_0x45f772,this[_0x26af83(0x3b3)]=_0x3a9d01,this[_0x26af83(0x3de)]=_0x164c7e);}async[_0xcc99a3(0x23f)](_0x22415c,_0x27eb53,_0x1f8f53){var _0x4c753e=_0xcc99a3;this[_0x4c753e(0x10e)]['next']({'unitId':_0x22415c,'type':_0x27eb53});let _0x379101=null;switch(_0x27eb53){case _0x5dd0f1[_0x4c753e(0x32a)]:{_0x379101=await this[_0x4c753e(0x3b3)]['loadSheet'](_0x22415c,_0x1f8f53);break;}case _0x5dd0f1[_0x4c753e(0x338)]:{_0x379101=await this[_0x4c753e(0x3b3)][_0x4c753e(0x3e1)](_0x22415c,_0x1f8f53);break;}default:{this[_0x4c753e(0x249)][_0x4c753e(0x485)]('[DataLoaderService]','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x379101;}async['loadUnit'](_0x56c245,_0x40dcb0,_0x30b624){var _0x6eae04=_0xcc99a3,_0xe69479;this[_0x6eae04(0x10e)][_0x6eae04(0x332)]({'unitId':_0x56c245,'type':_0x40dcb0,'subUnitId':_0x30b624});let _0x5b78ff=0x0;const _0xb89118=await((_0xe69479=this[_0x6eae04(0x3de)])==null?void 0x0:_0xe69479[_0x6eae04(0x43a)](_0x56c245));return _0xb89118&&(_0xb89118[_0x6eae04(0x3a3)]||_0xb89118[_0x6eae04(0x456)][_0x6eae04(0x3db)]!==0x0)&&(_0x5b78ff=_0xb89118[_0x6eae04(0x12d)]),_0x5b78ff===0x0&&this[_0x6eae04(0x249)][_0x6eae04(0x2d7)](_0x6eae04(0x164),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x6eae04(0x23f)](_0x56c245,_0x40dcb0,_0x5b78ff);}},_0x56d6c4[_0xcc99a3(0x410)]=_0x157030([_0x10e455(0x0,_0x59c11e[_0xcc99a3(0x481)]),_0x10e455(0x1,_0x59c11e['Inject'](_0x1c769f[_0xcc99a3(0x1c7)])),_0x10e455(0x2,_0x59c11e[_0xcc99a3(0x226)](_0x5826b1))],_0x56d6c4[_0xcc99a3(0x410)]);var _0x2c8e31=Object[_0xcc99a3(0x188)],_0x54ce25=(_0x417f96,_0x62bf9b,_0x11ca03,_0x5a8900)=>{var _0x3965bb=_0xcc99a3;for(var _0x2aaa28=_0x5a8900>0x1?void 0x0:_0x5a8900?_0x2c8e31(_0x62bf9b,_0x11ca03):_0x62bf9b,_0x2d8283=_0x417f96[_0x3965bb(0x3db)]-0x1,_0x210e76;_0x2d8283>=0x0;_0x2d8283--)(_0x210e76=_0x417f96[_0x2d8283])&&(_0x2aaa28=_0x210e76(_0x2aaa28)||_0x2aaa28);return _0x2aaa28;},_0x5854d9=(_0x5c9a85,_0x327096)=>(_0x5b0a42,_0x590bf3)=>_0x327096(_0x5b0a42,_0x590bf3,_0x5c9a85);const _0x48b5dd=[_0xcc99a3(0x1fc),_0xcc99a3(0x48e),'image/jpg',_0xcc99a3(0x13f),'image/bmp'],_0x3ef3cb=0x5*0x400*0x400,_0x2cfa3d=_0xcc99a3(0x1e1),_0xa016f6='/universer-api/file/{fileID}/sign-url';_0x56d6c4[_0xcc99a3(0x378)]=class{constructor(_0x390241,_0x26798b,_0xec30ed){var _0x2b21f5=_0xcc99a3;_0x12df8a(this,_0x2b21f5(0x290),0x0),_0x12df8a(this,_0x2b21f5(0x465),new _0x2e4023[(_0x2b21f5(0x32b))]()),_0x12df8a(this,_0x2b21f5(0x420),this[_0x2b21f5(0x465)]),_0x12df8a(this,_0x2b21f5(0x17c),new Map()),(this['_httpService']=_0x390241,this[_0x2b21f5(0x463)]=_0x26798b,this['_univerInstanceService']=_0xec30ed);}['setWaitCount'](_0x5beba8){var _0x417fee=_0xcc99a3;this['_waitCount']=_0x5beba8,this[_0x417fee(0x465)]['next'](_0x5beba8);}[_0xcc99a3(0x455)](_0x5e4b2d,_0x221398){var _0x232758=_0xcc99a3;if(_0x221398===_0x46fad0[_0x232758(0x191)]['BASE64']){const _0x83a4a0=new Image();return _0x83a4a0[_0x232758(0x259)]=_0x5e4b2d,_0x83a4a0;}return this[_0x232758(0x17c)][_0x232758(0x3e8)](_0x5e4b2d);}['addImageSourceCache'](_0x1f3fdc,_0x221cff,_0x33883d){var _0x120459=_0xcc99a3;_0x221cff===_0x46fad0[_0x120459(0x191)]['BASE64']||_0x33883d==null||this[_0x120459(0x17c)][_0x120459(0x2f0)](_0x1f3fdc,_0x33883d);}async[_0xcc99a3(0x18a)](_0x2b1486){var _0x354379=_0xcc99a3;try{const _0x1e0123=this['_replaceFileID'](this[_0x354379(0x46d)](),''+_0x2b1486),_0x138e35=(await this[_0x354379(0x1ab)]['get'](_0x1e0123))[_0x354379(0x389)];if(_0x138e35[_0x354379(0x485)]&&_0x138e35[_0x354379(0x485)]['code']===_0x2d62a3['OK']){const _0x29800a=_0x59c11e[_0x354379(0x2ad)](_0x138e35[_0x354379(0x3f3)],this[_0x354379(0x1fe)]());return Promise[_0x354379(0x1e6)](_0x29800a);}return Promise[_0x354379(0x434)](_0x138e35['error']);}catch(_0x22eed9){return Promise[_0x354379(0x434)](_0x22eed9);}}async['saveImage'](_0x3cf233){var _0x3a039=_0xcc99a3;let _0x2038c9='';if(!_0x48b5dd[_0x3a039(0x48c)](_0x3cf233[_0x3a039(0x23c)]))return this[_0x3a039(0x337)](),Promise[_0x3a039(0x434)](new Error(_0x46fad0[_0x3a039(0x431)][_0x3a039(0x402)]));if(_0x3cf233[_0x3a039(0x3e3)]>_0x3ef3cb)return this[_0x3a039(0x337)](),Promise[_0x3a039(0x434)](new Error(_0x46fad0[_0x3a039(0x431)][_0x3a039(0x1e2)]));try{const _0xb70854=new FormData();_0xb70854[_0x3a039(0x2d4)](_0x3a039(0x3cd),_0x3cf233);const _0xcba6c7=this[_0x3a039(0x206)]['getFocusedUnit'](),_0xe981cc=_0xcba6c7==null?void 0x0:_0xcba6c7[_0x3a039(0x39f)]();if(!_0xe981cc)throw new Error(_0x3a039(0x11c));const _0x3a221d=this[_0x3a039(0x227)]()+_0x3a039(0x21f)+_0x3cf233[_0x3a039(0x3e3)][_0x3a039(0x2c1)]()+'&source='+_0x21535e[_0x3a039(0x457)]+'&assign='+encodeURIComponent(_0xe981cc),_0x2d09fd={'body':_0xb70854},_0x2aae02=(await this[_0x3a039(0x1ab)][_0x3a039(0x31f)](_0x3a221d,_0x2d09fd))['body'];if(typeof _0x2aae02['FileId']!=_0x3a039(0x140))return this[_0x3a039(0x337)](),Promise[_0x3a039(0x434)](new Error(_0x46fad0[_0x3a039(0x431)][_0x3a039(0x386)]));_0x2038c9=_0x2aae02[_0x3a039(0x2a5)];}catch{return this['_decreaseWaiting'](),Promise[_0x3a039(0x434)](new Error(_0x46fad0[_0x3a039(0x431)][_0x3a039(0x386)]));}return new Promise((_0x5c529f,_0x5d132e)=>{var _0x527ac5=_0x3a039;const _0x17b55f=new FileReader();_0x17b55f[_0x527ac5(0x351)](_0x3cf233),_0x17b55f[_0x527ac5(0x3a0)]=_0xba20ef=>{var _0x3028ec=_0x527ac5,_0x4a9307;const _0x30fe41=(_0x4a9307=_0xba20ef[_0x3028ec(0x262)])==null?void 0x0:_0x4a9307['result'];if(_0x30fe41==null){this[_0x3028ec(0x337)](),_0x5d132e(new Error(_0x46fad0[_0x3028ec(0x431)][_0x3028ec(0x386)]));return;}const _0x1a7b30=_0x59c11e[_0x3028ec(0x34b)](0x6);_0x5c529f({'imageId':_0x1a7b30,'imageSourceType':_0x46fad0[_0x3028ec(0x191)][_0x3028ec(0x1a1)],'source':_0x2038c9,'base64Cache':_0x30fe41,'status':_0x46fad0[_0x3028ec(0x431)][_0x3028ec(0x325)]}),this[_0x3028ec(0x337)]();};});}[_0xcc99a3(0x227)](){var _0x5bfb8b=_0xcc99a3,_0xcb6d40;const _0x16b69c=this['_configService'][_0x5bfb8b(0x192)](_0x20be82);return(_0xcb6d40=_0x16b69c==null?void 0x0:_0x16b69c[_0x5bfb8b(0x47c)])!=null?_0xcb6d40:_0x2cfa3d;}[_0xcc99a3(0x46d)](){var _0x27ed68=_0xcc99a3,_0x59a132;const _0x89096c=this[_0x27ed68(0x463)][_0x27ed68(0x192)](_0x20be82);return(_0x59a132=_0x89096c==null?void 0x0:_0x89096c[_0x27ed68(0x421)])!=null?_0x59a132:_0xa016f6;}[_0xcc99a3(0x1fe)](){var _0x4e787a=_0xcc99a3,_0x57b90c;const _0x159f14=this[_0x4e787a(0x463)]['getConfig'](_0x20be82);return(_0x57b90c=_0x159f14==null?void 0x0:_0x159f14[_0x4e787a(0x317)])!=null?_0x57b90c:location['origin'];}['_replaceFileID'](_0x947dbf,_0x15995c){var _0xee0604=_0xcc99a3;return _0x947dbf[_0xee0604(0x3c9)](_0xee0604(0x43b),_0x15995c);}[_0xcc99a3(0x337)](){var _0x3e7c88=_0xcc99a3;this[_0x3e7c88(0x290)]-=0x1,this[_0x3e7c88(0x465)][_0x3e7c88(0x332)](this[_0x3e7c88(0x290)]);}},_0x56d6c4[_0xcc99a3(0x378)]=_0x54ce25([_0x5854d9(0x0,_0x59c11e[_0xcc99a3(0x3c1)](_0x3bd6c0[_0xcc99a3(0x254)])),_0x5854d9(0x1,_0x59c11e[_0xcc99a3(0x375)]),_0x5854d9(0x2,_0x59c11e[_0xcc99a3(0x3c1)](_0x59c11e[_0xcc99a3(0x469)]))],_0x56d6c4[_0xcc99a3(0x378)]);var _0xdfa99c=Object[_0xcc99a3(0x188)],_0xa5b747=(_0x329ec5,_0x2f2ceb,_0x12aeb1,_0x468fcf)=>{var _0xd111ce=_0xcc99a3;for(var _0x5304a4=_0x468fcf>0x1?void 0x0:_0x468fcf?_0xdfa99c(_0x2f2ceb,_0x12aeb1):_0x2f2ceb,_0x57e928=_0x329ec5[_0xd111ce(0x3db)]-0x1,_0x27fe3d;_0x57e928>=0x0;_0x57e928--)(_0x27fe3d=_0x329ec5[_0x57e928])&&(_0x5304a4=_0x27fe3d(_0x5304a4)||_0x5304a4);return _0x5304a4;},_0x121155=(_0x34464f,_0x13636e)=>(_0x446cb1,_0x1879d4)=>_0x13636e(_0x446cb1,_0x1879d4,_0x34464f);const _0x582d5b=_0xcc99a3(0x21b);_0x56d6c4[_0xcc99a3(0x3b7)]=class{constructor(_0x2a947c,_0x3e883b){var _0x2e21cf=_0xcc99a3;this[_0x2e21cf(0x463)]=_0x2a947c,this[_0x2e21cf(0x396)]=_0x3e883b;}[_0xcc99a3(0x1f5)](){var _0x3197a8=_0xcc99a3,_0x26e993;const _0x32360f=this[_0x3197a8(0x463)]['getConfig'](_0x20be82);return(_0x26e993=_0x32360f==null?void 0x0:_0x32360f[_0x3197a8(0x42a)])!=null?_0x26e993:_0x582d5b;}async['list'](_0x3517aa){var _0x53c72a=_0xcc99a3;const _0x3025ba=this['_getAPIPrefixPath']()+_0x53c72a(0x49a);return{'list':[{'title':_0x53c72a(0x390),'mentions':(await this[_0x53c72a(0x396)][_0x53c72a(0x3e8)](_0x3025ba,{'params':{'objectID':_0x3517aa[_0x53c72a(0x40c)],'unitID':_0x3517aa['unitId']}}))['body'][_0x53c72a(0x17e)][_0x53c72a(0x417)](_0x529b62=>({'objectId':_0x529b62['id'],'name':_0x529b62['subject']['name'],'metadata':{'icon':_0x529b62[_0x53c72a(0x403)][_0x53c72a(0x1a8)]},'label':_0x529b62[_0x53c72a(0x403)]['name'],'objectType':_0x59c11e['MentionType'][_0x53c72a(0x440)]})),'metadata':{},'type':_0x59c11e[_0x53c72a(0x1db)][_0x53c72a(0x440)]}]};}},_0x56d6c4[_0xcc99a3(0x3b7)]=_0xa5b747([_0x121155(0x0,_0x59c11e[_0xcc99a3(0x3c1)](_0x59c11e[_0xcc99a3(0x375)])),_0x121155(0x1,_0x59c11e[_0xcc99a3(0x3c1)](_0x3bd6c0['HTTPService']))],_0x56d6c4['MentionIoHttpService']);var _0x43e894=Object[_0xcc99a3(0x188)],_0x352349=(_0x3dbdac,_0x3ca167,_0x456378,_0x2e15ba)=>{for(var _0x243590=_0x2e15ba>0x1?void 0x0:_0x2e15ba?_0x43e894(_0x3ca167,_0x456378):_0x3ca167,_0x692159=_0x3dbdac['length']-0x1,_0x1102b0;_0x692159>=0x0;_0x692159--)(_0x1102b0=_0x3dbdac[_0x692159])&&(_0x243590=_0x1102b0(_0x243590)||_0x243590);return _0x243590;},_0x3c95fa=(_0x40f82e,_0x4d1ec1)=>(_0x49c590,_0x3ae386)=>_0x4d1ec1(_0x49c590,_0x3ae386,_0x40f82e);let _0x6efa81=class extends _0x59c11e[_0xcc99a3(0x250)]{constructor(_0xc523d5,_0x43e923,_0x3a942a,_0xd9bd00,_0x49f03a){var _0x38cd5e=_0xcc99a3;super(),this[_0x38cd5e(0x47d)]=_0xc523d5,this[_0x38cd5e(0x206)]=_0x43e923,this[_0x38cd5e(0x47b)]=_0x3a942a,this[_0x38cd5e(0x384)]=_0xd9bd00,this[_0x38cd5e(0x314)]=_0x49f03a,this[_0x38cd5e(0x399)](),this[_0x38cd5e(0x3b2)]();}['_initCloseConn'](){var _0x5c0539=_0xcc99a3;const _0x2d36cf=async _0xd9878=>{var _0x1028a6=_0x24bd;(await this[_0x1028a6(0x384)][_0x1028a6(0x278)](_0xd9878))[_0x1028a6(0x29f)][_0x1028a6(0x41b)](_0x5a3a61[_0x1028a6(0x182)](_0x4bc26c=>_0x4bc26c[_0x1028a6(0x2e3)]===_0x1c769f[_0x1028a6(0x28a)][_0x1028a6(0x458)]),_0x5a3a61['takeUntil'](this['dispose$']))[_0x1028a6(0x1b3)](_0x36401f=>{var _0x4ccb43=_0x1028a6;const _0x38612d=_0x36401f,{reason:_0x4c3362}=_0x38612d[_0x4ccb43(0x2e0)];this['_collaborationUIEventService'][_0x4ccb43(0x44a)]({'id':_0x5b41c0['CLOSE_ROOM'],'data':_0x4c3362}),this[_0x4ccb43(0x47b)][_0x4ccb43(0x37c)](new _0x5a669f[(_0x4ccb43(0x268))](_0xd9878)['id'],!0x1),this[_0x4ccb43(0x384)][_0x4ccb43(0x2b9)](_0xd9878);});};_0x2e4023[_0x5c0539(0x1d4)](this[_0x5c0539(0x206)]['getTypeOfUnitAdded$'](_0x59c11e[_0x5c0539(0x1e0)]['UNIVER_SHEET']),this['_univerInstanceService'][_0x5c0539(0x25e)](_0x59c11e[_0x5c0539(0x1e0)][_0x5c0539(0x338)]))[_0x5c0539(0x41b)](_0x5a3a61[_0x5c0539(0x417)](_0xa1ddb6=>_0xa1ddb6[_0x5c0539(0x39f)]()),_0x5a3a61['filter'](_0x2a67eb=>!_0x59c11e[_0x5c0539(0x3c6)](_0x2a67eb)),_0x5a3a61[_0x5c0539(0x210)](this[_0x5c0539(0x2ab)]))[_0x5c0539(0x1b3)](_0x4d2f18=>{_0x2d36cf(_0x4d2f18);});}[_0xcc99a3(0x399)](){var _0x29aca8=_0xcc99a3;const _0x3e291e=async _0xdc845c=>{var _0x39104a=_0x24bd;const _0x5b5931=await this['_collaborationSessionService'][_0x39104a(0x278)](_0xdc845c),_0x442eb4=this[_0x39104a(0x47d)][_0x39104a(0x3e8)](_0x5a669f[_0x39104a(0x3f0)]);_0x5b5931[_0x39104a(0x29f)]['pipe'](_0x5a3a61[_0x39104a(0x182)](_0x11961c=>_0x11961c[_0x39104a(0x2e3)]===_0x1c769f[_0x39104a(0x28a)][_0x39104a(0x339)]),_0x5a3a61[_0x39104a(0x210)](this['dispose$']))[_0x39104a(0x1b3)](_0x235fed=>{var _0x867207=_0x39104a;const _0x4c61fd=_0x235fed,{objectId:_0x12f870}=_0x4c61fd[_0x867207(0x2e0)];_0x12f870===_0xdc845c?_0x442eb4[_0x867207(0x3f8)](_0xdc845c):_0x442eb4[_0x867207(0x1b6)](_0xdc845c,_0x12f870);});};_0x2e4023[_0x29aca8(0x1d4)](this[_0x29aca8(0x206)][_0x29aca8(0x25e)](_0x59c11e['UniverInstanceType'][_0x29aca8(0x32a)]))['pipe'](_0x5a3a61['map'](_0x565f06=>_0x565f06[_0x29aca8(0x39f)]()),_0x5a3a61[_0x29aca8(0x182)](_0x5f6d7f=>!_0x59c11e[_0x29aca8(0x3c6)](_0x5f6d7f)),_0x5a3a61['takeUntil'](this[_0x29aca8(0x2ab)]))['subscribe'](_0x4c21a3=>{_0x3e291e(_0x4c21a3);});}};_0x6efa81=_0x352349([_0x3c95fa(0x0,_0x59c11e['Inject'](_0x59c11e[_0xcc99a3(0x10c)])),_0x3c95fa(0x1,_0x59c11e['IUniverInstanceService']),_0x3c95fa(0x2,_0x59c11e[_0xcc99a3(0x354)]),_0x3c95fa(0x3,_0x59c11e[_0xcc99a3(0x3c1)](_0x56d6c4[_0xcc99a3(0x400)])),_0x3c95fa(0x4,_0x59c11e['Inject'](_0x1948fa))],_0x6efa81);var _0x2e8544=Object[_0xcc99a3(0x188)],_0x598762=(_0x22b806,_0x3b8a5b,_0x56e66e,_0x18f842)=>{var _0x42c38c=_0xcc99a3;for(var _0xd79186=_0x18f842>0x1?void 0x0:_0x18f842?_0x2e8544(_0x3b8a5b,_0x56e66e):_0x3b8a5b,_0x35582e=_0x22b806[_0x42c38c(0x3db)]-0x1,_0xbacf8;_0x35582e>=0x0;_0x35582e--)(_0xbacf8=_0x22b806[_0x35582e])&&(_0xd79186=_0xbacf8(_0xd79186)||_0xd79186);return _0xd79186;},_0x310574=(_0x51aa62,_0x68b0a0)=>(_0x47a16c,_0x3b76da)=>_0x68b0a0(_0x47a16c,_0x3b76da,_0x51aa62);_0x56d6c4[_0xcc99a3(0x1cb)]=class{constructor(_0x4134f4,_0x136554){var _0x2c21a6=_0xcc99a3;this[_0x2c21a6(0x463)]=_0x4134f4,this[_0x2c21a6(0x1ab)]=_0x136554;}async[_0xcc99a3(0x1c2)](_0x22c264,_0x351923){var _0x22f395=_0xcc99a3,_0x398d1f;const {unitID:_0x126c55,type:_0x449347,revision:_0x52dcb9=0x0}=_0x351923,_0x517796=this[_0x22f395(0x3e9)]()+'/'+_0x449347+_0x22f395(0x435)+_0x126c55+_0x22f395(0x15a)+_0x52dcb9,_0x5beb78=(await this['_httpService'][_0x22f395(0x3e8)](_0x517796))['body'],_0x28f9bf=(_0x398d1f=_0x5beb78['snapshot'])==null?void 0x0:_0x398d1f[_0x22f395(0x45e)];if(_0x28f9bf){const _0x8c151b=_0x28f9bf==null?void 0x0:_0x28f9bf[_0x22f395(0x173)],_0x22f6e9=_0x1c769f[_0x22f395(0x236)][_0x22f395(0x2de)](_0x1c769f[_0x22f395(0x3b1)](_0x8c151b));_0x28f9bf[_0x22f395(0x173)]=_0x22f6e9,Object[_0x22f395(0x2ec)](_0x28f9bf[_0x22f395(0x280)])[_0x22f395(0x44c)](([,_0x16d606])=>{var _0x2accbb=_0x22f395;const _0x309c7e=_0x16d606[_0x2accbb(0x173)],_0x46b57a=_0x1c769f['textEncoder'][_0x2accbb(0x2de)](_0x1c769f[_0x2accbb(0x3b1)](_0x309c7e));_0x16d606['originalMeta']=_0x46b57a;});}return _0x5beb78;}async[_0xcc99a3(0x10a)](_0x14af43,_0x593dd4){var _0x3004f7=_0xcc99a3;const {unitID:_0x3c0cf7,type:_0x3689bd,blockID:_0x285ff2}=_0x593dd4,_0x59484b=this[_0x3004f7(0x3ee)]()+'/'+_0x3689bd+_0x3004f7(0x435)+_0x3c0cf7+'/block/'+_0x285ff2;return(await this[_0x3004f7(0x1ab)][_0x3004f7(0x3e8)](_0x59484b))[_0x3004f7(0x389)];}async['getDeserializedSheetBlock'](_0xf446bd,_0x7de8c1){var _0x37326d=_0xcc99a3;const {unitID:_0xd796af,type:_0x29b372,blockID:_0x388ade}=_0x7de8c1,_0x289ef3=this[_0x37326d(0x3ee)]()+'/block/'+_0x29b372+_0x37326d(0x435)+_0xd796af+_0x37326d(0x26b)+_0x388ade;return(await this[_0x37326d(0x1ab)][_0x37326d(0x3e8)](_0x289ef3))[_0x37326d(0x389)];}async[_0xcc99a3(0x34e)](_0x447fbf,_0x56e873){var _0x315395=_0xcc99a3;const {unitID:_0x37c11b,type:_0xf03ca8,from:_0x4f3043,to:_0x3aa457}=_0x56e873,_0x33a95d=this[_0x315395(0x3ee)]()+'/'+_0xf03ca8+'/unit/'+_0x37c11b+'/fetchmissing?from='+_0x4f3043+_0x315395(0x2a2)+_0x3aa457;return(await this[_0x315395(0x1ab)][_0x315395(0x3e8)](_0x33a95d))[_0x315395(0x389)];}[_0xcc99a3(0x3e9)](){var _0x208733=_0xcc99a3,_0x4c20de;return(_0x4c20de=this[_0x208733(0x463)][_0x208733(0x192)](_0x3a1a38))!=null?_0x4c20de:this['_getAPIPrefix']();}[_0xcc99a3(0x3ee)](){var _0x25deb1=_0xcc99a3,_0x56e02e;const _0x51e6a8=this[_0x25deb1(0x463)]['getConfig'](_0x20be82);return(_0x56e02e=_0x51e6a8==null?void 0x0:_0x51e6a8[_0x25deb1(0x3ca)])!=null?_0x56e02e:_0x587023;}async[_0xcc99a3(0x29d)](_0x4d701a,_0x53bff6){var _0x1ec8cd=_0xcc99a3;const _0x51d801=_0x1ec8cd(0x373)+_0x53bff6[_0x1ec8cd(0x23c)]+_0x1ec8cd(0x435)+_0x53bff6[_0x1ec8cd(0x157)]+_0x1ec8cd(0x449);return(await this[_0x1ec8cd(0x1ab)][_0x1ec8cd(0x3e8)](_0x51d801,{'params':{'resourceId':JSON['stringify'](_0x53bff6[_0x1ec8cd(0x408)])}}))[_0x1ec8cd(0x389)];}[_0xcc99a3(0x427)](){var _0x354460=_0xcc99a3;throw new Error(_0x354460(0x40a));}[_0xcc99a3(0x167)](){var _0x29d6ba=_0xcc99a3;throw new Error(_0x29d6ba(0x40a));}[_0xcc99a3(0x3ed)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xcc99a3(0x253)](){var _0x5ef6cf=_0xcc99a3;throw new Error(_0x5ef6cf(0x40a));}['copyFileMeta'](){var _0xf95f1f=_0xcc99a3;throw new Error(_0xf95f1f(0x40a));}[_0xcc99a3(0x497)](){var _0x116989=_0xcc99a3;throw new Error(_0x116989(0x40a));}},_0x56d6c4[_0xcc99a3(0x1cb)]=_0x598762([_0x310574(0x0,_0x59c11e['IConfigService']),_0x310574(0x1,_0x59c11e[_0xcc99a3(0x3c1)](_0x3bd6c0[_0xcc99a3(0x254)]))],_0x56d6c4['SnapshotServerOverHTTPService']);var _0x447568=Object[_0xcc99a3(0x188)],_0x13e4fa=(_0x4f9df1,_0x207609,_0x47d7a3,_0x575aac)=>{var _0x148165=_0xcc99a3;for(var _0x25bce1=_0x575aac>0x1?void 0x0:_0x575aac?_0x447568(_0x207609,_0x47d7a3):_0x207609,_0x34114f=_0x4f9df1[_0x148165(0x3db)]-0x1,_0x2f1cd3;_0x34114f>=0x0;_0x34114f--)(_0x2f1cd3=_0x4f9df1[_0x34114f])&&(_0x25bce1=_0x2f1cd3(_0x25bce1)||_0x25bce1);return _0x25bce1;},_0x197c1a=(_0x1ad170,_0x38dc21)=>(_0x27c214,_0x13bf8d)=>_0x38dc21(_0x27c214,_0x13bf8d,_0x1ad170);_0x56d6c4[_0xcc99a3(0x24f)]=class extends _0x59c11e[_0xcc99a3(0x3a8)]{constructor(_0x7d7afc,_0x13bda9,_0x28a043,_0x46c6f1,_0x582cef){var _0x3a372d=_0xcc99a3;super(_0x7d7afc,_0x13bda9,_0x28a043),this[_0x3a372d(0x13d)]=_0x46c6f1,this[_0x3a372d(0x249)]=_0x582cef;}['transformUndoRedo'](_0x1ac3a8,_0x2a64ba){var _0x935b8c=_0xcc99a3;const _0x44b269=this[_0x935b8c(0x135)](_0x1ac3a8);if(_0x44b269)try{const _0x3325e1=this[_0x935b8c(0x40b)](_0x44b269,_0x2a64ba);this['_substituteUndoStack'](_0x1ac3a8,_0x3325e1);}catch(_0x5d39c3){this['_logService']['error']('[CollaborationUndoRedoService]',_0x5d39c3),this[_0x935b8c(0x406)](_0x1ac3a8);}const _0x4c6d20=this[_0x935b8c(0x464)](_0x1ac3a8);if(_0x4c6d20)try{const _0x4b82ca=this[_0x935b8c(0x40b)](_0x4c6d20,_0x2a64ba);this[_0x935b8c(0x1b1)](_0x1ac3a8,_0x4b82ca);}catch(_0x22a892){this[_0x935b8c(0x249)][_0x935b8c(0x485)](_0x22a892),this['_clearRedo'](_0x1ac3a8);}}[_0xcc99a3(0x406)](_0x43f5bb){var _0x375e26=_0xcc99a3;const _0x3ccc1a=this['_getUndoStack'](_0x43f5bb);_0x3ccc1a&&(_0x3ccc1a[_0x375e26(0x3db)]=0x0,this['_updateStatus']());}[_0xcc99a3(0x241)](_0xf95d2a){var _0x539f18=_0xcc99a3;const _0x1647fe=this[_0x539f18(0x464)](_0xf95d2a);_0x1647fe&&(_0x1647fe[_0x539f18(0x3db)]=0x0,this[_0x539f18(0x336)]());}[_0xcc99a3(0x2f4)](_0x17cd18,_0x28f28e){var _0x4ffae2=_0xcc99a3;this[_0x4ffae2(0x316)][_0x4ffae2(0x2f0)](_0x17cd18,_0x28f28e),this[_0x4ffae2(0x336)]();}[_0xcc99a3(0x1b1)](_0x5ea5a5,_0xbdcbb8){this['_redoStacks']['set'](_0x5ea5a5,_0xbdcbb8),this['_updateStatus']();}[_0xcc99a3(0x40b)](_0x3869b1,_0x33957a){var _0x4fcbf9=_0xcc99a3;const _0x33c475=[];let _0x3e39dd=_0x33957a,_0x33bf36=_0x33957a;for(let _0xbb8eef=_0x3869b1[_0x4fcbf9(0x3db)]-0x1;_0xbb8eef>=0x0;_0xbb8eef--){const {unitID:_0x1b8210,undoMutations:_0x1c2151,redoMutations:_0x4b5e3c}=_0x3869b1[_0xbb8eef],_0xaf389b=this['_transformService'][_0x4fcbf9(0x324)](_0x3e39dd,_0x1c2151),_0x899554=this[_0x4fcbf9(0x13d)]['transformMutationsWithChangeset'](_0x33bf36,_0x4b5e3c);if(_0x1c769f[_0x4fcbf9(0x2b8)](_0xaf389b)||_0x1c769f[_0x4fcbf9(0x2b8)](_0x899554)){this[_0x4fcbf9(0x249)][_0x4fcbf9(0x485)](_0x4fcbf9(0x1a4),'transformStack\x20failed!',_0xaf389b,_0x899554);break;}_0x3e39dd=_0xaf389b[_0x4fcbf9(0x1f7)],_0x33bf36=_0x899554[_0x4fcbf9(0x1f7)],_0x33c475[_0x4fcbf9(0x3c2)]({'unitID':_0x1b8210,'undoMutations':_0xaf389b[_0x4fcbf9(0x419)],'redoMutations':_0x899554['m2Prime']});}return _0x33c475[_0x4fcbf9(0x275)]();}},_0x56d6c4[_0xcc99a3(0x24f)]=_0x13e4fa([_0x197c1a(0x0,_0x59c11e[_0xcc99a3(0x469)]),_0x197c1a(0x1,_0x59c11e[_0xcc99a3(0x477)]),_0x197c1a(0x2,_0x59c11e[_0xcc99a3(0x232)]),_0x197c1a(0x3,_0x1c769f[_0xcc99a3(0x10b)]),_0x197c1a(0x4,_0x59c11e[_0xcc99a3(0x481)])],_0x56d6c4[_0xcc99a3(0x24f)]);var _0x41d51f=Object[_0xcc99a3(0x28f)],_0x273c0c=Object[_0xcc99a3(0x188)],_0x41a690=(_0x41b725,_0x19a956,_0x186e66)=>_0x19a956 in _0x41b725?_0x41d51f(_0x41b725,_0x19a956,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x186e66}):_0x41b725[_0x19a956]=_0x186e66,_0x295315=(_0x5c50b3,_0x26fe9f,_0x455f94,_0x40a7ef)=>{var _0x29317a=_0xcc99a3;for(var _0x2a5426=_0x40a7ef>0x1?void 0x0:_0x40a7ef?_0x273c0c(_0x26fe9f,_0x455f94):_0x26fe9f,_0x492561=_0x5c50b3[_0x29317a(0x3db)]-0x1,_0x28373c;_0x492561>=0x0;_0x492561--)(_0x28373c=_0x5c50b3[_0x492561])&&(_0x2a5426=_0x28373c(_0x2a5426)||_0x2a5426);return _0x2a5426;},_0x1bbb05=(_0x3c658a,_0x4d76f9)=>(_0x412b1c,_0x56871c)=>_0x4d76f9(_0x412b1c,_0x56871c,_0x3c658a),_0x4a9d6e=(_0x8bedc2,_0x5b90e2,_0x1dca8b)=>_0x41a690(_0x8bedc2,typeof _0x5b90e2!='symbol'?_0x5b90e2+'':_0x5b90e2,_0x1dca8b);_0x56d6c4[_0xcc99a3(0x411)]=class extends _0x59c11e[_0xcc99a3(0x203)]{constructor(_0x4af699={},_0x4e7e50,_0x3742ae,_0x16b314){var _0x554fe4=_0xcc99a3;super(),this[_0x554fe4(0x302)]=_0x4af699,this[_0x554fe4(0x249)]=_0x4e7e50,this[_0x554fe4(0x47d)]=_0x3742ae,this['_configService']=_0x16b314;const {..._0x9b94f8}=_0x59c11e[_0x554fe4(0x1d4)]({},_0x5544a9,_0x4af699);if(!_0x9b94f8[_0x554fe4(0x441)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x554fe4(0x302)]=_0x9b94f8,this[_0x554fe4(0x463)][_0x554fe4(0x41f)](_0x20be82,_0x9b94f8);}[_0xcc99a3(0x141)](){var _0x21499=_0xcc99a3;this[_0x21499(0x1da)](),this[_0x21499(0x490)]();}[_0xcc99a3(0x1da)](){var _0xb9acb6=_0xcc99a3,_0x450dd2,_0x27e130;this[_0xb9acb6(0x47d)][_0xb9acb6(0x480)](_0x59c11e[_0xb9acb6(0x1be)])&&this[_0xb9acb6(0x249)]['error'](_0xb9acb6(0x415),_0xb9acb6(0x15e));const _0x4e7936=_0x59c11e[_0xb9acb6(0x20f)]([[_0x59c11e[_0xb9acb6(0x1be)],{'useClass':_0x56d6c4[_0xb9acb6(0x24f)]}],[_0x56d6c4['CollaborationSessionService']],[_0x56d6c4[_0xb9acb6(0x1bd)]],[_0x56d6c4['SheetTransformSelectionsService']],[_0x2691fe],[_0x164e41],[_0x5229b9],[_0x6efa81],[_0x1948fa],[_0x56d6c4[_0xb9acb6(0x410)]],[_0x2f986d,{'useClass':this[_0xb9acb6(0x302)][_0xb9acb6(0x441)]}],[_0x1c769f[_0xb9acb6(0x2ae)],{'useClass':_0x56d6c4[_0xb9acb6(0x1cb)]}],[_0x59c11e[_0xb9acb6(0x1c5)],{'useClass':_0x56d6c4['AuthzIoHttpService']}],[_0x46fad0[_0xb9acb6(0x46c)],{'useClass':_0x56d6c4[_0xb9acb6(0x378)]}],[_0x59c11e[_0xb9acb6(0x1d6)],{'useClass':_0x56d6c4[_0xb9acb6(0x3b7)]}],[_0x56d6c4[_0xb9acb6(0x327)]],[_0x1b9e7c]],(_0x450dd2=this[_0xb9acb6(0x302)])==null?void 0x0:_0x450dd2[_0xb9acb6(0x496)]);if(!((_0x27e130=this['_config'])!=null&&_0x27e130[_0xb9acb6(0x2b3)])){const _0x516580=_0x4e7936[_0xb9acb6(0x3d0)](([_0x3afc77])=>_0x3afc77===_0x2f52ab);_0x516580!==-0x1&&_0x4e7936[_0xb9acb6(0x310)](_0x516580,0x1);}_0x59c11e[_0xb9acb6(0x108)](this[_0xb9acb6(0x47d)],_0x4e7936);}[_0xcc99a3(0x490)](){var _0x538d15=_0xcc99a3,_0x458e61,_0x56e08f,_0x115d02;this[_0x538d15(0x47d)][_0x538d15(0x3e8)](_0x3bd6c0[_0x538d15(0x254)])[_0x538d15(0x162)]({'priority':0x14,'interceptor':_0x3bd6c0[_0x538d15(0x3f4)]({'maxParallel':0x6})}),(_0x458e61=this[_0x538d15(0x302)])!=null&&_0x458e61[_0x538d15(0x15b)]||(_0x56e08f=this['_injector'][_0x538d15(0x3e8)](_0x5826b1,_0x59c11e[_0x538d15(0x240)][_0x538d15(0x44f)]))==null||_0x56e08f['disableLocalCache'](),(_0x115d02=this['_config'])!=null&&_0x115d02[_0x538d15(0x41a)]&&_0x59c11e['touchDependencies'](this[_0x538d15(0x47d)],[[_0x2691fe]]),_0x59c11e[_0x538d15(0x149)](this[_0x538d15(0x47d)],[[_0x164e41],[_0x56d6c4[_0x538d15(0x327)]],[_0x6efa81]]);}},_0x4a9d6e(_0x56d6c4['UniverCollaborationClientPlugin'],_0xcc99a3(0x39e),_0xcc99a3(0x20b)),_0x4a9d6e(_0x56d6c4[_0xcc99a3(0x411)],'packageName',_0x54942b[_0xcc99a3(0x195)]),_0x4a9d6e(_0x56d6c4[_0xcc99a3(0x411)],'version',_0x54942b[_0xcc99a3(0x38b)]),_0x56d6c4[_0xcc99a3(0x411)]=_0x295315([_0x59c11e[_0xcc99a3(0x12c)](_0x3d654f[_0xcc99a3(0x2ef)],_0x1c769f[_0xcc99a3(0x42c)],_0x3bd6c0[_0xcc99a3(0x48a)]),_0x1bbb05(0x1,_0x59c11e[_0xcc99a3(0x481)]),_0x1bbb05(0x2,_0x59c11e[_0xcc99a3(0x3c1)](_0x59c11e[_0xcc99a3(0x10c)])),_0x1bbb05(0x3,_0x59c11e[_0xcc99a3(0x375)])],_0x56d6c4[_0xcc99a3(0x411)]),_0x56d6c4['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=_0x20be82,_0x56d6c4[_0xcc99a3(0x242)]=_0x6fdfaf,_0x56d6c4[_0xcc99a3(0x202)]=_0x5b41c0,_0x56d6c4[_0xcc99a3(0x29c)]=_0x1948fa,_0x56d6c4[_0xcc99a3(0x495)]=_0x5229b9,_0x56d6c4['DEFAULT_COLLAB_WEB_SOCKET_URL']=_0x4f93f4,_0x56d6c4[_0xcc99a3(0x12a)]=_0xb70474,_0x56d6c4[_0xcc99a3(0x3dd)]=_0x2f1019,_0x56d6c4['HEARTBEAT_INTERVAL_KEY']=_0x46cdcc,_0x56d6c4[_0xcc99a3(0x14a)]=_0x2978c9,_0x56d6c4[_0xcc99a3(0x2b6)]=_0x2f986d,_0x56d6c4['ILocalCacheService']=_0x5826b1,_0x56d6c4['INetworkConditionService']=_0xc44d19,_0x56d6c4[_0xcc99a3(0x21c)]=_0x2f52ab,_0x56d6c4[_0xcc99a3(0x2da)]=0x3e8,_0x56d6c4['LOCAL_CACHE_INTERVAL_KEY']=_0x58dba2,_0x56d6c4[_0xcc99a3(0x2b4)]=_0x242614,_0x56d6c4['RETRY_CONNECTING_MAX_COUNT_KEY']=_0x32ae98,_0x56d6c4[_0xcc99a3(0x1de)]=_0x1ab480,_0x56d6c4['UnitStatus']=_0x265b23,_0x56d6c4[_0xcc99a3(0x3f5)]=_0x3e50b2,_0x56d6c4[_0xcc99a3(0x385)]=_0x70f03a,_0x56d6c4['serializeCombRequest']=_0x1ab1cd,Object['defineProperty'](_0x56d6c4,Symbol[_0xcc99a3(0x169)],{'value':'Module'});}));function _0x24bd(_0x2de0ae,_0x3b6ce8){_0x2de0ae=_0x2de0ae-0x105;var _0x236a86=_0x236a();var _0x24bd8b=_0x236a86[_0x2de0ae];return _0x24bd8b;}function _0x236a(){var _0x4bc1c2=['JOIN','2173874PdoWKP','SheetTransformSelectionsService','extend','transformMutationsWithChangeset','SUCCUSS','_ENC_XFORM_MODE','CollaborationController','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','REDEMPTION_CODE_INACTIVE','UNIVER_SHEET','Subject','appendMutation','requestParams','AwaitingWithPendingState','liveShareNewHost','_transitionLocked','_networkConditionService','next','INVALID_ARGUMENT','BlockCipher','session.join-failed','_updateStatus','_decreaseWaiting','UNIVER_DOC','UPDATE_PERMISSION_OBJ','SOCKET_FAILED','ReplaySubject','close','_startTelemetryCollaborationNewChangeset','HEARTBEAT','GLOBAL_ROOMS_CNT_EXCEEDS','max','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','members','SOCKET_FAILED_RETRY','getGlobalObject','_oKey','LIVESHARE_OPERATION','[CollaborationEntity]','keySize','csAckEvent','shouldCloseConn','generateRandomId','ENSURE_SNAPSHOT_EXECUTION','c2Prime','fetchMissingChangesets','actions','csShouldRetryEvent','readAsDataURL','toDisposable','INVITE_CODE_HAS_BEEN_UES','IPermissionService','getRoom','_onLocalMutation','_onRemoteRejected','infoRsp','add','_sendHeartbeat','PasswordBasedCipher','_applyRemoteChangeset','clone','UniverProCollaborationClient','RevisionService','encrypt','[OfflineState]:\x20received\x20acknowledgement.','fromCharCode','HmacSHA1','Cipher','[CollaborationSessionService]','loginUrlKey','MOBILE_VERIFY_CODE_MISMATCH','charCodeAt','_nRounds','AES','_socket','NOT_FOUND','disposeWithMe','ISocketService','object','_sender','_append','UNKNOWN_CODE','/universer-api/snapshot/','BufferedBlockAlgorithm','IConfigService','_handlerCallback','objects','CollaborationImageIoService','onTransformState','INTERNAL_ERROR','range','updatePermissionPoint','[CollaborationSessionService]:\x20socket\x20error','sin','collaboration-client.local-cache-service','_replayCachedMutations','msCrypto','encodeURIComponent','UserManagerService','_collaborationSessionService','getLocalCacheKey','ERROR_IMAGE','asObservable','_maxTotalRetryTimeout','body','SYNCED','version','StreamCipher','_clearRetryConnectingTimer','list','OTHER_CLIENTS_EDITING','People','UniverCore','ClipsheetFragments','startsWith','ciphertext','_incrementRevisionNumber','_HTTPService','COMPRESS_MUTATION_SEND','InsertSheetMutation','_initUnitPermissionChange','values','_initRequestHeader','decrypt','addHandlerCallback','pluginName','getUnitId','onload','_createHandler','csRejEvent','awaitingChangeset','PY_RUNTIME_SCRIPT_ERROR','conflict','reconnect','univer-pro.collaboration-client.single-active-unit-service','LocalUndoRedoService','CHANGESET_REJ','UnitSnapshot','[SyncedState]:\x20received\x20rejection.','PENDING','apply','_acknowledgedAwaitingChangeset','compute','_socketReady','b64DecodeUnicode','_initCloseConn','_snapshotService','DATA_SOURCE_TOO_LARGE','selections','_showConflictNotification','MentionIoHttpService','LICENSE_DISTRO_REJECTED','_onConflict','PERMISSION_REJ','objectActions','pad','/-/object/-/batch_allowed','REDEMPTION_INVALID_CODE','equals','newCsEvent','Inject','push','CollaborationSession','min','NOT_COLLAB','isInternalEditorID','[FetchMissState]','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','replace','snapshotServerUrl','_onConnectionOpen','_resendTimeout','file','kdf','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','findIndex','message$','baseRev','LIVESHARE_NEW_HOST','transformChangesets','getRandomValues','FetchingMissState','LIVESHARE_REQUEST_HOST','members$','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','onSyncEditingCollabCursor','length','SNAPSHOT_INVALID_SNAPSHOT','DEFAULT_WS_SESSION_TICKET_URL','_localCacheService','SUBMIT_CHANGESET_TIMEOUT','salt','loadDoc','exports','size','getWorkbookSelections','OfflineState','pending','complete','get','getSnapshotAPIPath','userID','_tryReconnect','unpad','saveSheetBlock','_getAPIPrefix','_sendingTimer','SheetPermissionInitController','4WvQJnl','_parse','url','ThresholdInterceptorFactory','deserializeToCombResponse','amd','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','initWorkbookPermissionChange','UNIVER_SLIDE','_map','[CollaborationState]:\x20apply\x20error!','ENTITLE_DUP_SUBSCRIPTION','SHA1','compose','_snapshotServerService','CollaborationSessionService','_removeRoom','ERROR_IMAGE_TYPE','subject','_mode','_DEC_XFORM_MODE','_clearUndo','cmd','resourceIDs','JOIN_ROOM_FAILED','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_transformStack','unitId','onTransformRemoteChangesetByStateCache','_shouldReportTelemetry','HEARTBEAT_TIMEOUT','DataLoaderService','UniverCollaborationClientPlugin','lib','_commandService','unitInfo$','[UniverCollaborationClientPlugin]','UPDATE_CURSOR','map','CLOSE_ROOM','m2Prime','enableAuthServer','pipe','CHANGESET_SHOULD_RETRY','_onFetchMissResult','title','setConfig','change$','signUrlServerUrl','setCurrentUser','_keyPriorReset','take','_getSendChangesetTimeout','sessionStatus','saveSnapshot','PAYMENT_CHANNEL_NOT_SUPPORT','unit-cache-','authzUrl','@univerjs/drawing','UniverCollaborationPlugin','socket\x20close','createIdentifier','_transformStateCache','_doCryptBlock','ImageUploadStatusType','INGEST','rxjs','reject','/unit/','_sendHeartbeatTimer','reset','close$','_compressMutationService','loadOfflineData','{fileID}','formatter','_timeoutTimer','_transformIMECache','LICENSE_EXPORT_SIZE_EXCEEDED','PERSON','socketService','/object','_unitID','CollaborationEntity','updateCollaborator','shareReplay','FETCH_MISS','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','/resources','emitEvent','pauseCollaboration','forEach','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','code','OPTIONAL','reduce','_memberService','cfg','__splitChunk__','fromCollab','getImageSourceCache','mutations','UnitEmbedded','SHOULD_CLOSE_CONN','_fetchMissChangesets','charAt','joinRsp','_scheduleCompleteTimestamp','textRanges','workbook','fetchMiss','isArray','enc','HELLO','_configService','_getRedoStack','_change$','_clearTimeoutTimer','onRemoteRetry','_onRemoteRetry','IUniverInstanceService','headers','_singleActiveUnitService','IImageIoService','_getSignURL','YUUMI_ALL_TABLES_IS_INVALID','failed\x20to\x20apply\x20missed\x20changesets!','UNIVER_PROJECT','9150894xKiizT','buffer','_telemetryInfo','open$','Hex','[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.','ICommandService','error$','DEFAULT_FILE_NAME','AWAITING','_permissionService','uploadFileServerUrl','_injector','/-/object/list','allowed','has','ILogService','_toggleOnline','withCredentials','onlyLocal','error','_lockTransition','sid','resend','_eventService','UniverNetworkPlugin','random','includes','_reverseMap','image/jpeg','_getCurrentRevision','_initDependencies','interceptor','Could\x20not\x20dynamically\x20require\x20\x22','byteOffset','memberID','CommentService','override','getLatestCsReqIdBySid','CipherParams','_transformRemoteChangesetByIMECache','/collaborator','_submitChangeset','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','EMAIL_HAS_BEEN_BOUND','registerDependencies','_socketMessageSubscription','getSheetBlock','ITransformService','Injector','collabWebSocketUrl','_unitInfo$','_pendingMutations','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','getCurrentSelections','collaboration_new_changeset','clear','onSendChangeset','_members','Hasher','univer-pro.collaboration-client.network-condition.service','125217kivFZc','_process','[CollaborationSession]','removeMember','unitId\x20is\x20not\x20found','_undoRedoService','UNISCRIPT_RUN','blockSize','editingUnit','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_createHmacHelper','symbol','_cipher','reqId','objectID','1585784NpWcBg','encryptBlock','repeat','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','JOIN_ROOM_PERMISSION_DENIED','DependentOn','rev','_state','UNRECOGNIZED','_clearCollaborationTimeoutTimer','LocaleService','_listenToNetworkCondition','UNKNOWN_CMD','CHANGESET_ACK','_getUndoStack','mixIn','changesets','_changesetSessionId','parse','x-univer-host','JOIN_ROOM_NOT_EXISTS','isPermissionRej','_transformService','CONFLICT','image/gif','string','onStarting','delay','_revisionService','onRemoteChangeset','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_entities','SetSelectionsOperation','_schedule','touchDependencies','HEARTBEAT_TIMEOUT_KEY','function','ConflictState','Base','RECV','capture','_minBufferSize','Pkcs7','YUUMI_SUBSCRIPTION_NOT_FOUND','fetch_missing','SheetsSelectionsService','unknown','sendChangesetTimeout','unitID','getFocusedUnit','_doReset','/rev/','enableOfflineEditing','delete','NEW_CHANGESETS','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','objectType','OFFLINE','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','registerHTTPInterceptor','getInterceptPoints','[DataLoaderService]','YUUMI_TABLE_NOT_FOUND_IN_UNIT','MOBILE_HAS_BEEN_BOUND','updateSnapshot','YUUMI_RATE_OVER_LIMIT','toStringTag','finalize','SUBMIT_CHANGESET','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','ENTITLE_INVALID_COUPON_CODE','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','Undefined','_rescheduleHeartbeat','Rectangle','routeKey','originalMeta','_throwTelemetryCollaborationNewChangeset','DocCollaborationEntity','sequenceExecute','BehaviorSubject','decryptBlock','[SyncedState]:\x20received\x20acknowledgement.','_collaborationTimeoutTimer','ivSize','_imageSourceCache','Encryptor','collaborators','PERMISSION_DENIED','stringify','SerializableCipher','filter','YUUMI_NO_CUBOID_FOR_QUESTION','not_collab','patch','INVALID_INVITE_CODE','commentUpdate$','getOwnPropertyDescriptor','_createHelper','getImage','Disposable','_onUserJoin','_entityInit$','CONNECTOR_DATA_TOO_LARGE','_toggleOffline','_hash','ImageSourceType','getConfig','getUnitType','__esModule','name','connection\x20error','[OfflineState]:\x20received\x20changeset.','enableCollaboration','onRemoteRej','_unlockTransition','FAIL','format','sigBytes','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','hasher','_clearHeartbeatTimer','UUID','DisposableCollection','getCurrentRevOfUnit','[CollaborationUndoRedoService]','onTransformIME','_collabSessionService','JOINING','avatar','status','UNIVER_UNKNOWN','_httpService','getUnitStatus$','onMissingChangesets','transformSelections','getValue','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_substituteRedoStack','location','subscribe','ENTITLE_INSUFFICIENT_QUOTA','_onConnectionFailed','refreshPermission','[PendingState]:\x20received\x20acknowledgement.','retryConnectingInterval','roles','getTime','_init','YUUMI_ASYNCIO_CANCELLED','MemberService','IUndoRedoService','updatePermissionObjEvent','APPLY_REVISION_CONFILICT','HMAC','getUnitOnRev','_iv','onTransformSelections','IAuthzIoService','parseChangesetToProtocol','SnapshotService','_initMergeInterceptor','OpenSSL','_telemetryService','SnapshotServerOverHTTPService','readInt32LE','_createSocket','confirm','liveShareOperation','APPLY_NON_SEQUENTIAL_REVISION','AuthzIoHttpService','byteLength','onRemoteAck','merge','_changesetReqId','IMentionIOService','_nDataBytes','localeService','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_registerDependencies','MentionType','WECHAT_HAS_BEEN_BOUND','Error\x20on\x20receiving\x20event','SessionStatus','getAllMembers','UniverInstanceType','/universer-api/stream/file/upload','ERROR_EXCEED_SIZE','parseProtocolChangeset','catch','ONLINE','resolve','SNAPSHOT_HAS_BEEN_REMOVED','toggleOffline','_onRemoteChangeset','AwaitingState','incrementRevOfUnit','_remoteChangesetQueue','HttpExport','from','substr','_tryEnsureSocket','ENTITLE_COUPON_EXPIRED','_resendWithTimeout','focused$','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_getAPIPrefixPath','Tools','c1Prime','_type','getMember','find','href','image/png','\x20-\x20','_getDownloadEndpointURL','localCacheService','_stopTelemetryCollaborationNewChangeset','send','CollaborationUIEventId','Plugin','PSEUDO_FETCH_MISSING_RESULT','APPLY_REJECT','_univerInstanceService','_status$','UniverDocs','create','USERS_ENTER','UNIVER_COLLABORATION_CLIENT_PLUGIN','fetching\x20missing\x20changesets\x20from\x20','updateMember','910974KjgulH','mergeOverrideWithDependencies','takeUntil','mode','YUUMI_UNABLE_LOAD_URL','commentUpdateEvent','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_doFinalize','online$','_retryCount','setShowComponents','ENTITLE_NEED_BILLING_ADDRESS','COMPLETION_FINISHED','/universer-api/authz','ISingleActiveUnitService','algo','_onRemoteACK','?size=','_clearLocalCache','SheetCollaborationEntity','_handler','socket$','_sessions','AWAITING_WITH_PENDING','Optional','_getUploadFileURL','_createInitialState','onMutationExecutedForCollab','APPLY_DUPLICATED','every','SyncedState','now','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getUnit','_joinRoom','EvpKDF','IContextService','execute','_hasher','HTTPRequest','textEncoder','_awaitingChangeset','ERROR_AGAIN','uniscriptRunEvent','_onJoinRoomEvent','FETCH_MISSING','type','session','_userManagerService','loadUnitOfRevision','Quantity','_clearRedo','CollaborationStatus','batchAllowed','default','_transformUndoredo','NO_OTHER_CLIENTS_EDITING','prototype','USER_NOT_FOUND','_logService','fetchThroughInterceptors','createSocket','createEncryptor','WordArray','unsubscribe','CollaborativeUndoRedoService','RxDisposable','awaiting','/universer-api/uniscript','saveChangeset','HTTPService','ENTITLE_CHAT_LIMIT_EXCEED','UserProfileImg','RichTextEditingMutation','YUUMI_URL_COL_OUT_OF_RANGE','src','_queuedRemoteChangesets','univer-pro.collaboration-client-socket-service','LOGIN_TOKEN_PROCESSING_FAILED','OTHER_CLIENT_EDITING','getTypeOfUnitAdded$','_roomCreated$','offline','CollaborationSocketService','target','init','ALREADY_EXISTS','_data','operators','dispose','WorkbookEditablePermission','37744135clsHDP','UniverProLicense','/block/','then','firstValueFrom','_emitMembers','_state$','TOO_MANY_REQUESTS','Decryptor','onCommentUpdate','_disableEditing','@univerjs/sheets','reverse','\x0aAfter:\x20','INVITE_CODE_ALREADY_BOUND','requireSession','onLocalMutation','NoPadding','_prevBlock','_xformMode','entityInit$','join','executeCommand','sheets','_waitForHeartbeatResponse','_roomMembers','_keySchedule','_updateLocalCache','_collaborationPaused','\x0aCurrent:\x20','words','_onOffline','LIVESHARE_FETCH_OPERATIONS','CollaborationEvent','45zeuxOh','UniverNetwork','iterations','HttpImport','defineProperty','_waitCount','/universer-api/snapshot','_startCollaboration','call','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','LEAVE','@univerjs-pro/collaboration-client','USER_NOT_INVITED_CODE','revision','_clearScheduledTask','EMAIL_VERIFY_CODE_MISMATCH','ceil','CollaborationUIEventService','getResourcesRequest','status$','event$','_getCtorByUniverType','IDLE','&to=','_onMessage','joinEvent','FileId','9481260ybdCcZ','_invKeySchedule','HEARTBEAT_INTERVAL','_updateState','mapDocumentTypeToUniverType','dispose$','_getLoginPath','resolveWithBasePath','ISnapshotServerService','Utf8','1oyfQDJ','LIVESHARE_TERMINATE','LICENSE_IMPORT_SIZE_EXCEEDED','enableSingleActiveInstanceLock','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','REDEMPTION_CODE_NOT_STARTED','ICollaborationSocketService','hasOwnProperty','isTransformMutationsWithChangesetFailure','closeSession','_sheetTransformSelectionsService','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_executeRemoteChangeset','_socket$','REDEMPTION_USER_NOT_ELIGIBLE','isTransformChangesetsSuccess','randomBytes','toString','SNAPSHOT_URL_KEY','transformUndoRedo','duration','_candidateSocket','REDEMPTION_CODE_FULLY_REDEEMED','@univerjs-pro/license','crypto','_transformRemoteChangesetByStateCache','USER_IS_ANONYMOUS','ENTITLE_COUPON_USED_UP','_checkMissing','sessionStatus$','update','onStateChange','getCollabEntity$','isTransformMutationsWithChangesetSuccess','synced','state','append','clamp','onMissedChangesetFetched','debug','AUTHORIZE_CODE_ILLEGAL','ENTITLE_REPORT_LIMIT_EXCEED','LOCAL_CACHE_INTERVAL','params','getActiveSheet','rxjs/operators','encode','_onCombEvent','data','createInstance','_resendTimer','eventID','getMemberID','_createInitialStateImpl','_event$','getCurrentUser','_sessionStatus$','YUUMI_CONNECTOR_URL_NOT_FOUND','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','$super','entries','APPLY_PERMISSION_DENIED','[OfflineState]:\x20received\x20rejection.','UniverLicensePlugin','set','LOGIN_FAILED','leaveEvent','PendingState','_substituteUndoStack','concat','toggleOnline','_retryConnectingTimer','COMMENT_UPDATE','REDEMPTION_CODE_HAS_BEEN_CREATED','Workbook','collaboration-client.config','padding','JOIN_ROOM_FULL','COMPRESS_MUTATION_APPLY','UNAUTHENTICATED','CompressMutationService','/object/','_config','awaiting_with_pending','getTypeOfUnitDisposed$','35lzaOao','MD5','_transformSelections','session.room-not-exists','_onUserLeave','createCollaborator','save\x20fail\x20reason\x20is\x20','USERS_LEAVE','_members$','UNDEFINED','_scheduleCollaborationTimeoutTimer','splice','_key','Base64','slice','_collaborationUIEventService','_commentUpdate$','_undoStacks','downloadEndpointUrl','getCollabEntity','CURRENT_STATUS_CANNOT_OPERATE','onTransformRemoteChangesetByIMECache','CBC','_exhaustRemoteChangesetQueue','CommandType','createDecryptor','post'];_0x236a=function(){return _0x4bc1c2;};return _0x236a();}
3
3
 
4
4
  // @univerjs-pro/collaboration-client/facade
5
- function _0x4553(_0x26347d,_0x381536){_0x26347d=_0x26347d-0x81;const _0x82a155=_0x82a1();let _0x45533a=_0x82a155[_0x26347d];return _0x45533a;}(function(_0x50771a,_0x205d40){const _0x2ea843=_0x4553,_0x49dcf2=_0x50771a();while(!![]){try{const _0x1c8f34=-parseInt(_0x2ea843(0x97))/0x1*(parseInt(_0x2ea843(0xc2))/0x2)+-parseInt(_0x2ea843(0xaa))/0x3*(-parseInt(_0x2ea843(0x9f))/0x4)+-parseInt(_0x2ea843(0x92))/0x5+parseInt(_0x2ea843(0x98))/0x6+parseInt(_0x2ea843(0x93))/0x7+parseInt(_0x2ea843(0x95))/0x8*(parseInt(_0x2ea843(0xb5))/0x9)+parseInt(_0x2ea843(0xcc))/0xa*(-parseInt(_0x2ea843(0xad))/0xb);if(_0x1c8f34===_0x205d40)break;else _0x49dcf2['push'](_0x49dcf2['shift']());}catch(_0x2ad569){_0x49dcf2['push'](_0x49dcf2['shift']());}}}(_0x82a1,0x8d2d1),function(_0x24eac7,_0x5ead9f){const _0x64c44d=_0x4553;typeof exports==_0x64c44d(0x99)&&typeof module<'u'?_0x5ead9f(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('rxjs')):typeof define==_0x64c44d(0x9c)&&define[_0x64c44d(0x90)]?define([_0x64c44d(0xc6),_0x64c44d(0x88),'@univerjs/core/facade',_0x64c44d(0xc3),_0x64c44d(0x89),_0x64c44d(0x9d)],_0x5ead9f):(_0x24eac7=typeof globalThis<'u'?globalThis:_0x24eac7||self,_0x5ead9f(_0x24eac7[_0x64c44d(0xb2)]={},_0x24eac7['UniverProCollaborationClient'],_0x24eac7[_0x64c44d(0x9e)],_0x24eac7[_0x64c44d(0xc9)],_0x24eac7[_0x64c44d(0xa4)],_0x24eac7[_0x64c44d(0x9d)]));}(this,function(_0xcc8aed,_0x19a2de,_0x49f43c,_0x3bd131,_0x10d1d8,_0x58cc6b){'use strict';const _0x4cb981=_0x4553;class _0x4db785 extends _0x49f43c[_0x4cb981(0x87)]{get[_0x4cb981(0xc0)](){const _0x574ea4=_0x4cb981;return _0x19a2de[_0x574ea4(0xc0)];}}_0x49f43c[_0x4cb981(0x87)][_0x4cb981(0xa8)](_0x4db785);class _0x366b31{get[_0x4cb981(0xbf)](){return'CollaborationStatusChanged';}}_0x49f43c['FEventName'][_0x4cb981(0xa8)](_0x366b31);var _0x5e3cf9=Object[_0x4cb981(0x9a)],_0x4210d3=(_0x291e36,_0x5bc48d,_0x164efb,_0x57848c)=>{const _0x1f5d7f=_0x4cb981;for(var _0x1a824d=_0x57848c>0x1?void 0x0:_0x57848c?_0x5e3cf9(_0x5bc48d,_0x164efb):_0x5bc48d,_0x318ecd=_0x291e36[_0x1f5d7f(0xaf)]-0x1,_0x432944;_0x318ecd>=0x0;_0x318ecd--)(_0x432944=_0x291e36[_0x318ecd])&&(_0x1a824d=_0x432944(_0x1a824d)||_0x1a824d);return _0x1a824d;},_0x160ec=(_0x9396fc,_0x55216f)=>(_0x376bac,_0x329e92)=>_0x55216f(_0x376bac,_0x329e92,_0x9396fc);_0xcc8aed[_0x4cb981(0xae)]=class extends _0x49f43c[_0x4cb981(0xb3)]{constructor(_0x5ba629,_0x581e60,_0xd648d0,_0x34ac94,_0x126d46){const _0x3905cb=_0x4cb981;super(),this[_0x3905cb(0xcd)]=_0x5ba629,this[_0x3905cb(0x94)]=_0x581e60,this[_0x3905cb(0xa3)]=_0xd648d0,this[_0x3905cb(0x8e)]=_0x34ac94,this[_0x3905cb(0x96)]=_0x126d46;}async[_0x4cb981(0xcb)](){const _0x2a71c6=_0x4cb981;return this[_0x2a71c6(0x82)]();}async['loadActiveSheetAsync'](){const _0x5c58fe=_0x4cb981;throw new Error(_0x5c58fe(0x8f));}async[_0x4cb981(0xa7)](_0x44471a){return this['loadSheetAsync'](_0x44471a);}async[_0x4cb981(0xa0)](_0x511832,_0xa55b61){const _0x447dd5=_0x4cb981;return await this[_0x447dd5(0x8e)][_0x447dd5(0xa7)](_0x511832,0x0,_0xa55b61)?(await this[_0x447dd5(0x96)][_0x447dd5(0xbd)](_0x511832),this['_handler'][_0x447dd5(0xba)](_0x511832)):null;}[_0x4cb981(0x8d)](_0x202987,_0x30b73b){const _0x50f553=_0x4cb981,_0x2cef6e=this[_0x50f553(0x94)][_0x50f553(0xc1)](_0x19a2de[_0x50f553(0xa5)])[_0x50f553(0x8b)](_0x202987)['pipe'](_0x58cc6b[_0x50f553(0xc5)](_0x413fcd=>_0x413fcd[_0x50f553(0xb0)]))[_0x50f553(0x91)](_0x2986de=>_0x30b73b(Array[_0x50f553(0xb8)](_0x2986de['values']())));return _0x3bd131['toDisposable'](_0x2cef6e);}[_0x4cb981(0xab)](_0x1153ce){const _0x29a3c0=_0x4cb981;var _0x16470b;let _0x3666b2;if(_0x1153ce)_0x3666b2=_0x1153ce;else{const _0x2838ce=this[_0x29a3c0(0xa3)][_0x29a3c0(0xa1)]();_0x3666b2=_0x2838ce==null?void 0x0:_0x2838ce[_0x29a3c0(0x83)]();}if(!_0x3666b2)return _0x19a2de[_0x29a3c0(0xc0)]['NOT_COLLAB'];const _0x5d7a36=this[_0x29a3c0(0x96)][_0x29a3c0(0x8a)](_0x3666b2);return(_0x16470b=_0x5d7a36==null?void 0x0:_0x5d7a36[_0x29a3c0(0xc8)][_0x29a3c0(0x81)])!=null?_0x16470b:_0x19a2de[_0x29a3c0(0xc0)][_0x29a3c0(0xac)];}},_0xcc8aed['FCollaboration']=_0x4210d3([_0x160ec(0x1,_0x3bd131[_0x4cb981(0xca)](_0x3bd131[_0x4cb981(0x85)])),_0x160ec(0x2,_0x3bd131['IUniverInstanceService']),_0x160ec(0x3,_0x3bd131[_0x4cb981(0xca)](_0x10d1d8[_0x4cb981(0xbe)])),_0x160ec(0x4,_0x3bd131[_0x4cb981(0xca)](_0x19a2de[_0x4cb981(0xb1)]))],_0xcc8aed[_0x4cb981(0xae)]);class _0x47fcb1 extends _0x49f43c[_0x4cb981(0xa2)]{[_0x4cb981(0xbb)](_0x278747){const _0x41da62=_0x4cb981,_0x12cacd=_0x278747['get'](_0x19a2de[_0x41da62(0xb1)]);this[_0x41da62(0xbc)](this['registerEventHandler'](this[_0x41da62(0xb9)][_0x41da62(0xbf)],()=>{const _0x3b61dd=_0x41da62,_0x697335=new _0x3bd131[(_0x3b61dd(0xc4))](),_0x568023=_0x12cacd[_0x3b61dd(0x8c)][_0x3b61dd(0x91)](_0x5a25eb=>{const _0x5a963d=_0x3b61dd,_0x1fa561=_0x5a25eb['status$'][_0x5a963d(0x91)](_0x102c32=>{const _0x4236b4=_0x5a963d;this[_0x4236b4(0xb7)](this['Event']['CollaborationStatusChanged'],{'unitId':_0x5a25eb[_0x4236b4(0xa6)],'status':_0x102c32});});_0x697335[_0x5a963d(0xb6)](_0x3bd131[_0x5a963d(0xb4)](_0x1fa561));});return _0x697335[_0x3b61dd(0xb6)](_0x3bd131[_0x3b61dd(0xb4)](_0x568023)),_0x697335;}));}['getCollaboration'](){const _0x21df9e=_0x4cb981;return this['_injector']['createInstance'](_0xcc8aed[_0x21df9e(0xae)],{'getUniverSheet':_0xaf7694=>this[_0x21df9e(0xba)](_0xaf7694)});}[_0x4cb981(0x9b)](_0x38072b,_0x56e6ea,_0x950e6a){const _0x5cc1a8=_0x4cb981;return this[_0x5cc1a8(0x94)][_0x5cc1a8(0xc1)](_0x19a2de['DataLoaderService'])['loadUnit'](_0x38072b,_0x56e6ea,_0x950e6a);}['loadServerUnitOfRevision'](_0x4be8d1,_0x2fb4a7,_0x458000){const _0xe4b603=_0x4cb981;return this[_0xe4b603(0x94)][_0xe4b603(0xc1)](_0x19a2de['DataLoaderService'])[_0xe4b603(0x86)](_0x4be8d1,_0x2fb4a7,_0x458000);}}_0x49f43c[_0x4cb981(0xa2)]['extend'](_0x47fcb1),Object[_0x4cb981(0xa9)](_0xcc8aed,Symbol[_0x4cb981(0x84)],{'value':_0x4cb981(0xc7)});}));function _0x82a1(){const _0x124982=['loadActiveSheet','20Sdyvkb','_handler','status','loadActiveSheetAsync','getUnitId','toStringTag','Injector','loadUnitOfRevision','FEnum','@univerjs-pro/collaboration-client','@univerjs-pro/collaboration','getCollabEntity','waitForRoom$','entityInit$','subscribeCollaborators','_snapshotService','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','amd','subscribe','3981635NzVFPP','6868435BoWwtk','_injector','62984lsaIuT','_collaborationController','31069OJpnfH','3722928pvGINT','object','getOwnPropertyDescriptor','loadServerUnit','function','rxjs','UniverCoreFacade','3374984bzymkM','loadSheetAsync','getFocusedUnit','FUniver','_univerInstanceService','UniverProCollaboration','MemberService','unitID','loadSheet','extend','defineProperty','3TVyBGS','getCollaborationStatus','NOT_COLLAB','1490137RgMydA','FCollaboration','length','members$','CollaborationController','UniverProCollaborationClientFacade','FBase','toDisposable','9iJBmca','add','fireEvent','from','Event','getUniverSheet','_initialize','disposeWithMe','readyForCollab','SnapshotService','CollaborationStatusChanged','CollaborationStatus','get','52PgXQUp','@univerjs/core','DisposableCollection','switchMap','exports','Module','state','UniverCore','Inject'];_0x82a1=function(){return _0x124982;};return _0x82a1();}
5
+ function _0x5567(_0x5f50e5,_0x42e906){_0x5f50e5=_0x5f50e5-0x1ee;const _0x4b03d4=_0x4b03();let _0x55670e=_0x4b03d4[_0x5f50e5];return _0x55670e;}function _0x4b03(){const _0x48925b=['readyForCollab','loadUnit','loadActiveSheetAsync','UniverProCollaborationClientFacade','rxjs','defineProperty','getUniverSheet','loadSheetAsync','fireEvent','getCollaboration','_collaborationController','function','subscribe','state','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','Inject','Module','members$','status','toStringTag','loadSheet','9mYVGue','length','switchMap','extend','UniverCore','2922405FuRGgu','exports','FEnum','_univerInstanceService','30XoMYfV','984ieGYBv','50491XQaHRh','MemberService','from','_handler','pipe','toDisposable','@univerjs-pro/collaboration','133400vSOYtJ','add','loadUnitOfRevision','waitForRoom$','_initialize','CollaborationStatusChanged','disposeWithMe','status$','loadServerUnit','NOT_COLLAB','getUnitId','CollaborationController','getCollabEntity','1081982sOjkgw','UniverProCollaborationClient','object','createInstance','DataLoaderService','SnapshotService','get','IUniverInstanceService','3328712GyFJyX','FEventName','_injector','14969950doZgxT','getFocusedUnit','unitID','FCollaboration','registerEventHandler','getOwnPropertyDescriptor','888595swLPgU','FBase','CollaborationStatus','loadServerUnitOfRevision','Event','Injector','DisposableCollection','FUniver'];_0x4b03=function(){return _0x48925b;};return _0x4b03();}(function(_0x11a4c8,_0x23cfb4){const _0x4aa28c=_0x5567,_0x2d0678=_0x11a4c8();while(!![]){try{const _0x473b43=parseInt(_0x4aa28c(0x1f6))/0x1+parseInt(_0x4aa28c(0x232))/0x2+-parseInt(_0x4aa28c(0x21c))/0x3*(parseInt(_0x4aa28c(0x225))/0x4)+-parseInt(_0x4aa28c(0x218))/0x5+parseInt(_0x4aa28c(0x21d))/0x6*(parseInt(_0x4aa28c(0x21e))/0x7)+-parseInt(_0x4aa28c(0x23a))/0x8*(-parseInt(_0x4aa28c(0x213))/0x9)+-parseInt(_0x4aa28c(0x1f0))/0xa;if(_0x473b43===_0x23cfb4)break;else _0x2d0678['push'](_0x2d0678['shift']());}catch(_0x3fe50a){_0x2d0678['push'](_0x2d0678['shift']());}}}(_0x4b03,0x95cff),function(_0x5d13cb,_0x578d2e){const _0xd9994c=_0x5567;typeof exports==_0xd9994c(0x234)&&typeof module<'u'?_0x578d2e(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('rxjs')):typeof define==_0xd9994c(0x209)&&define['amd']?define([_0xd9994c(0x219),'@univerjs-pro/collaboration-client','@univerjs/core/facade','@univerjs/core',_0xd9994c(0x224),'rxjs'],_0x578d2e):(_0x5d13cb=typeof globalThis<'u'?globalThis:_0x5d13cb||self,_0x578d2e(_0x5d13cb[_0xd9994c(0x201)]={},_0x5d13cb[_0xd9994c(0x233)],_0x5d13cb['UniverCoreFacade'],_0x5d13cb[_0xd9994c(0x217)],_0x5d13cb['UniverProCollaboration'],_0x5d13cb[_0xd9994c(0x202)]));}(this,function(_0x376ff5,_0x44e69e,_0x19685e,_0x2d57ac,_0x25a970,_0xfb4d35){'use strict';const _0x4bfb25=_0x5567;class _0x393611 extends _0x19685e[_0x4bfb25(0x21a)]{get[_0x4bfb25(0x1f8)](){const _0x5ae59c=_0x4bfb25;return _0x44e69e[_0x5ae59c(0x1f8)];}}_0x19685e[_0x4bfb25(0x21a)][_0x4bfb25(0x216)](_0x393611);class _0x4c15ae{get[_0x4bfb25(0x22a)](){const _0x34c759=_0x4bfb25;return _0x34c759(0x22a);}}_0x19685e[_0x4bfb25(0x1ee)]['extend'](_0x4c15ae);var _0x1ac0d0=Object[_0x4bfb25(0x1f5)],_0x6d76df=(_0x5d01fd,_0x8a95b0,_0x57fe74,_0x53a293)=>{const _0x3f328c=_0x4bfb25;for(var _0x5750d1=_0x53a293>0x1?void 0x0:_0x53a293?_0x1ac0d0(_0x8a95b0,_0x57fe74):_0x8a95b0,_0x4f9a9c=_0x5d01fd[_0x3f328c(0x214)]-0x1,_0x1a2458;_0x4f9a9c>=0x0;_0x4f9a9c--)(_0x1a2458=_0x5d01fd[_0x4f9a9c])&&(_0x5750d1=_0x1a2458(_0x5750d1)||_0x5750d1);return _0x5750d1;},_0x379d7f=(_0x545bdc,_0x48b4ae)=>(_0x24176c,_0x167e2d)=>_0x48b4ae(_0x24176c,_0x167e2d,_0x545bdc);_0x376ff5[_0x4bfb25(0x1f3)]=class extends _0x19685e[_0x4bfb25(0x1f7)]{constructor(_0x564cfa,_0x28b3d0,_0xd727e6,_0x114196,_0x2ecf3e){const _0x13a0e8=_0x4bfb25;super(),this[_0x13a0e8(0x221)]=_0x564cfa,this[_0x13a0e8(0x1ef)]=_0x28b3d0,this[_0x13a0e8(0x21b)]=_0xd727e6,this['_snapshotService']=_0x114196,this[_0x13a0e8(0x208)]=_0x2ecf3e;}async['loadActiveSheet'](){const _0x1f4000=_0x4bfb25;return this[_0x1f4000(0x200)]();}async[_0x4bfb25(0x200)](){const _0x189a17=_0x4bfb25;throw new Error(_0x189a17(0x20c));}async[_0x4bfb25(0x212)](_0x556143){const _0x1de2dd=_0x4bfb25;return this[_0x1de2dd(0x205)](_0x556143);}async[_0x4bfb25(0x205)](_0x4f892f,_0x516352){const _0x312116=_0x4bfb25;return await this['_snapshotService'][_0x312116(0x212)](_0x4f892f,0x0,_0x516352)?(await this['_collaborationController'][_0x312116(0x1fe)](_0x4f892f),this[_0x312116(0x221)][_0x312116(0x204)](_0x4f892f)):null;}['subscribeCollaborators'](_0x2d2a46,_0x343e60){const _0x3bd559=_0x4bfb25,_0x14d215=this['_injector'][_0x3bd559(0x238)](_0x44e69e[_0x3bd559(0x21f)])[_0x3bd559(0x228)](_0x2d2a46)[_0x3bd559(0x222)](_0xfb4d35[_0x3bd559(0x215)](_0x1b2587=>_0x1b2587[_0x3bd559(0x20f)]))[_0x3bd559(0x20a)](_0x23de26=>_0x343e60(Array[_0x3bd559(0x220)](_0x23de26['values']())));return _0x2d57ac[_0x3bd559(0x223)](_0x14d215);}['getCollaborationStatus'](_0xa5fd66){const _0x9a2870=_0x4bfb25;var _0x344ede;let _0x424d03;if(_0xa5fd66)_0x424d03=_0xa5fd66;else{const _0xd7c4b8=this['_univerInstanceService'][_0x9a2870(0x1f1)]();_0x424d03=_0xd7c4b8==null?void 0x0:_0xd7c4b8[_0x9a2870(0x22f)]();}if(!_0x424d03)return _0x44e69e[_0x9a2870(0x1f8)][_0x9a2870(0x22e)];const _0x48f717=this[_0x9a2870(0x208)][_0x9a2870(0x231)](_0x424d03);return(_0x344ede=_0x48f717==null?void 0x0:_0x48f717[_0x9a2870(0x20b)][_0x9a2870(0x210)])!=null?_0x344ede:_0x44e69e[_0x9a2870(0x1f8)]['NOT_COLLAB'];}},_0x376ff5[_0x4bfb25(0x1f3)]=_0x6d76df([_0x379d7f(0x1,_0x2d57ac['Inject'](_0x2d57ac[_0x4bfb25(0x1fb)])),_0x379d7f(0x2,_0x2d57ac[_0x4bfb25(0x239)]),_0x379d7f(0x3,_0x2d57ac['Inject'](_0x25a970[_0x4bfb25(0x237)])),_0x379d7f(0x4,_0x2d57ac[_0x4bfb25(0x20d)](_0x44e69e[_0x4bfb25(0x230)]))],_0x376ff5[_0x4bfb25(0x1f3)]);class _0x808d45 extends _0x19685e[_0x4bfb25(0x1fd)]{[_0x4bfb25(0x229)](_0x5ea897){const _0x352921=_0x4bfb25,_0x28c360=_0x5ea897[_0x352921(0x238)](_0x44e69e[_0x352921(0x230)]);this[_0x352921(0x22b)](this[_0x352921(0x1f4)](this[_0x352921(0x1fa)][_0x352921(0x22a)],()=>{const _0x5a5ea3=_0x352921,_0x100aa1=new _0x2d57ac[(_0x5a5ea3(0x1fc))](),_0x135208=_0x28c360['entityInit$']['subscribe'](_0xffa6f=>{const _0x4612af=_0x5a5ea3,_0x19f0cd=_0xffa6f[_0x4612af(0x22c)][_0x4612af(0x20a)](_0x290de4=>{const _0x30185b=_0x4612af;this[_0x30185b(0x206)](this[_0x30185b(0x1fa)][_0x30185b(0x22a)],{'unitId':_0xffa6f[_0x30185b(0x1f2)],'status':_0x290de4});});_0x100aa1[_0x4612af(0x226)](_0x2d57ac[_0x4612af(0x223)](_0x19f0cd));});return _0x100aa1[_0x5a5ea3(0x226)](_0x2d57ac[_0x5a5ea3(0x223)](_0x135208)),_0x100aa1;}));}[_0x4bfb25(0x207)](){const _0x2dec16=_0x4bfb25;return this[_0x2dec16(0x1ef)][_0x2dec16(0x235)](_0x376ff5[_0x2dec16(0x1f3)],{'getUniverSheet':_0xfe86b2=>this['getUniverSheet'](_0xfe86b2)});}[_0x4bfb25(0x22d)](_0x54d00c,_0x4944b3,_0x2e7ded){const _0x3f5fc3=_0x4bfb25;return this[_0x3f5fc3(0x1ef)][_0x3f5fc3(0x238)](_0x44e69e[_0x3f5fc3(0x236)])[_0x3f5fc3(0x1ff)](_0x54d00c,_0x4944b3,_0x2e7ded);}[_0x4bfb25(0x1f9)](_0x3ec237,_0x40ebba,_0x3a3a28){const _0x4d0957=_0x4bfb25;return this[_0x4d0957(0x1ef)][_0x4d0957(0x238)](_0x44e69e[_0x4d0957(0x236)])[_0x4d0957(0x227)](_0x3ec237,_0x40ebba,_0x3a3a28);}}_0x19685e['FUniver'][_0x4bfb25(0x216)](_0x808d45),Object[_0x4bfb25(0x203)](_0x376ff5,Symbol[_0x4bfb25(0x211)],{'value':_0x4bfb25(0x20e)});}));
6
6
 
7
7
  // @univerjs-pro/collaboration-client-ui/index
8
- function _0x529e(_0x43c004,_0x57bb13){_0x43c004=_0x43c004-0x12d;const _0x773f39=_0x773f();let _0x529e1c=_0x773f39[_0x43c004];return _0x529e1c;}(function(_0x46151b,_0x393009){const _0x387a0f=_0x529e,_0xa7923=_0x46151b();while(!![]){try{const _0x31011f=-parseInt(_0x387a0f(0x2c0))/0x1*(parseInt(_0x387a0f(0x314))/0x2)+parseInt(_0x387a0f(0x3b9))/0x3+-parseInt(_0x387a0f(0x376))/0x4+-parseInt(_0x387a0f(0x38c))/0x5+parseInt(_0x387a0f(0x3fa))/0x6+parseInt(_0x387a0f(0x2b2))/0x7*(parseInt(_0x387a0f(0x32e))/0x8)+parseInt(_0x387a0f(0x3ee))/0x9;if(_0x31011f===_0x393009)break;else _0xa7923['push'](_0xa7923['shift']());}catch(_0x4a3851){_0xa7923['push'](_0xa7923['shift']());}}}(_0x773f,0xcae86),function(_0x349b61,_0x470876){const _0x49a34d=_0x529e;typeof exports==_0x49a34d(0x2a0)&&typeof module<'u'?_0x470876(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x49a34d(0x410)&&define['amd']?define(['exports',_0x49a34d(0x252),'@univerjs-pro/collaboration-client',_0x49a34d(0x3b4),_0x49a34d(0x3b8),_0x49a34d(0x39c),'@univerjs/design',_0x49a34d(0x2e3),_0x49a34d(0x329),_0x49a34d(0x2fd),_0x49a34d(0x25a),'@univerjs/network',_0x49a34d(0x1fc),_0x49a34d(0x2e5),_0x49a34d(0x3e3),_0x49a34d(0x151),'@univerjs/engine-formula',_0x49a34d(0x14e),_0x49a34d(0x40b)],_0x470876):(_0x349b61=typeof globalThis<'u'?globalThis:_0x349b61||self,_0x470876(_0x349b61[_0x49a34d(0x407)]={},_0x349b61[_0x49a34d(0x198)],_0x349b61[_0x49a34d(0x326)],_0x349b61[_0x49a34d(0x20e)],_0x349b61[_0x49a34d(0x2e2)],_0x349b61['rxjs'],_0x349b61[_0x49a34d(0x283)],_0x349b61[_0x49a34d(0x198)],_0x349b61[_0x49a34d(0x3cf)],_0x349b61[_0x49a34d(0x2ad)],_0x349b61[_0x49a34d(0x183)],_0x349b61['UniverNetwork'],_0x349b61[_0x49a34d(0x313)],_0x349b61[_0x49a34d(0x29e)],_0x349b61[_0x49a34d(0x1a6)],_0x349b61['UniverDocs'],_0x349b61['UniverEngineFormula'],_0x349b61[_0x49a34d(0x39c)]['operators'],_0x349b61[_0x49a34d(0x2ae)]));}(this,function(_0x44307e,_0x5228ee,_0x49b930,_0x63378d,_0x2c32f5,_0xdb7e78,_0x25c8b9,_0x17a231,_0x5cb2c9,_0xd76991,_0x3be252,_0x4af045,_0x466fa5,_0x8f1469,_0x1a1813,_0x461a0f,_0x1a201e,_0x410faa,_0x128e05){'use strict';const _0xa2269c=_0x529e;var _0x417d29=Object[_0xa2269c(0x159)],_0x55fe2b=(_0x17366f,_0x91a24e,_0x33c1fb)=>_0x91a24e in _0x17366f?_0x417d29(_0x17366f,_0x91a24e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x33c1fb}):_0x17366f[_0x91a24e]=_0x33c1fb,_0x354915=(_0x490cdc,_0x56a536,_0x11a92c)=>_0x55fe2b(_0x490cdc,typeof _0x56a536!=_0xa2269c(0x2f7)?_0x56a536+'':_0x56a536,_0x11a92c);function _0x4affd3({ref:_0x204c7c,..._0x15f5b4}){const _0x2e7de5=_0xa2269c,{icon:_0x457eba,id:_0x339b47,className:_0x104fba,extend:_0x223d4a,..._0xc55f25}=_0x15f5b4,_0x210816=(_0x2e7de5(0x3e2)+_0x339b47+'\x20'+(_0x104fba||''))['trim'](),_0xe5da07=_0x17a231[_0x2e7de5(0x316)]('_'+_0x176112());return _0x3bcd3d(_0x457eba,''+_0x339b47,{'defIds':_0x457eba[_0x2e7de5(0x39d)],'idSuffix':_0xe5da07[_0x2e7de5(0x185)]},{'ref':_0x204c7c,'className':_0x210816,..._0xc55f25},_0x223d4a);}function _0x3bcd3d(_0x5d235d,_0x3db30c,_0x3886db,_0x2dda0b,_0x37c1f1){const _0x481628=_0xa2269c;return _0x17a231[_0x481628(0x2d4)](_0x5d235d['tag'],{'key':_0x3db30c,..._0x5d228a(_0x5d235d,_0x3886db,_0x37c1f1),..._0x2dda0b},(_0x49854e(_0x5d235d,_0x3886db)['children']||[])[_0x481628(0x1e3)]((_0xd7171b,_0x366eec)=>_0x3bcd3d(_0xd7171b,_0x3db30c+'-'+_0x5d235d[_0x481628(0x3f7)]+'-'+_0x366eec,_0x3886db,void 0x0,_0x37c1f1)));}function _0x5d228a(_0x99ed47,_0x29257c,_0x1bc02d){const _0x30a201=_0xa2269c,_0x235559={..._0x99ed47[_0x30a201(0x3ba)]};_0x1bc02d!=null&&_0x1bc02d[_0x30a201(0x323)]&&_0x235559[_0x30a201(0x41c)]===_0x30a201(0x323)&&(_0x235559[_0x30a201(0x41c)]=_0x1bc02d[_0x30a201(0x323)]),_0x99ed47[_0x30a201(0x3f7)]===_0x30a201(0x29c)&&_0x235559['id']&&(_0x235559['id']=_0x235559['id']+_0x29257c[_0x30a201(0x262)]),Object[_0x30a201(0x3ce)](_0x235559)['forEach'](([_0x6373e9,_0x52e7ae])=>{const _0x50f931=_0x30a201;_0x6373e9===_0x50f931(0x29c)&&typeof _0x52e7ae==_0x50f931(0x2d1)&&(_0x235559[_0x6373e9]=_0x52e7ae[_0x50f931(0x3f2)](/url\(#(.*)\)/,_0x50f931(0x1b5)+_0x29257c['idSuffix']+')'));});const {defIds:_0xa155d6}=_0x29257c;return!_0xa155d6||_0xa155d6[_0x30a201(0x3af)]===0x0||(_0x99ed47[_0x30a201(0x3f7)]===_0x30a201(0x2bc)&&_0x235559[_0x30a201(0x27a)]&&(_0x235559[_0x30a201(0x27a)]=_0x235559[_0x30a201(0x27a)]+_0x29257c[_0x30a201(0x262)]),Object[_0x30a201(0x3ce)](_0x235559)[_0x30a201(0x399)](([_0xf8f23d,_0x30764a])=>{const _0x4aa27e=_0x30a201;typeof _0x30764a==_0x4aa27e(0x2d1)&&(_0x235559[_0xf8f23d]=_0x30764a[_0x4aa27e(0x3f2)](/url\(#(.*)\)/,_0x4aa27e(0x1b5)+_0x29257c['idSuffix']+')'));})),_0x235559;}function _0x49854e(_0x34de19,_0x16e19b){const _0x3a08e8=_0xa2269c;var _0x106384;const {defIds:_0x4cd127}=_0x16e19b;return!_0x4cd127||_0x4cd127[_0x3a08e8(0x3af)]===0x0?_0x34de19:_0x34de19['tag']===_0x3a08e8(0x22e)&&((_0x106384=_0x34de19[_0x3a08e8(0x218)])!=null&&_0x106384[_0x3a08e8(0x3af)])?{..._0x34de19,'children':_0x34de19[_0x3a08e8(0x218)][_0x3a08e8(0x1e3)](_0x58c89f=>typeof _0x58c89f[_0x3a08e8(0x3ba)]['id']==_0x3a08e8(0x2d1)&&_0x4cd127&&_0x4cd127['includes'](_0x58c89f[_0x3a08e8(0x3ba)]['id'])?{..._0x58c89f,'attrs':{..._0x58c89f[_0x3a08e8(0x3ba)],'id':_0x58c89f[_0x3a08e8(0x3ba)]['id']+_0x16e19b['idSuffix']}}:_0x58c89f)}:_0x34de19;}function _0x176112(){const _0x1767f1=_0xa2269c;return Math[_0x1767f1(0x294)]()[_0x1767f1(0x397)](0x24)['substring'](0x2,0x8);}_0x4affd3['displayName']='UniverIcon';const _0x21c81f={'tag':_0xa2269c(0x3e9),'attrs':{'xmlns':_0xa2269c(0x1a2),'fill':_0xa2269c(0x396),'viewBox':_0xa2269c(0x36f),'width':_0xa2269c(0x33b),'height':_0xa2269c(0x33b)},'children':[{'tag':'g','attrs':{'clipPath':_0xa2269c(0x3dc)},'children':[{'tag':'path','attrs':{'stroke':_0xa2269c(0x362),'d':_0xa2269c(0x331),'strokeLinecap':_0xa2269c(0x2d6),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0xa2269c(0x22e),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0xa2269c(0x30e)},'children':[{'tag':_0xa2269c(0x3ad),'attrs':{'fill':_0xa2269c(0x1dd),'d':_0xa2269c(0x423)}}]}]}],'defIds':[_0xa2269c(0x30e)]},_0x3d6961=_0x17a231['forwardRef'](function(_0x1afe61,_0x54bd2f){const _0x8de741=_0xa2269c;return _0x17a231[_0x8de741(0x2d4)](_0x4affd3,Object[_0x8de741(0x378)]({},_0x1afe61,{'id':'off-line-icon','ref':_0x54bd2f,'icon':_0x21c81f}));});_0x3d6961[_0xa2269c(0x282)]=_0xa2269c(0x324);const _0x5b7bc3={'tag':_0xa2269c(0x3e9),'attrs':{'xmlns':_0xa2269c(0x1a2),'fill':'none','viewBox':_0xa2269c(0x34a),'width':_0xa2269c(0x33b),'height':_0xa2269c(0x33b)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0xa2269c(0x3ad),'attrs':{'stroke':_0xa2269c(0x362),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0xa2269c(0x2d6),'strokeLinejoin':_0xa2269c(0x2d6),'strokeWidth':1.2}}]},{'tag':_0xa2269c(0x22e),'attrs':{},'children':[{'tag':_0xa2269c(0x3ae),'attrs':{'id':_0xa2269c(0x182)},'children':[{'tag':_0xa2269c(0x3ad),'attrs':{'fill':'white','d':_0xa2269c(0x423),'transform':_0xa2269c(0x3be)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x52e695=_0x17a231['forwardRef'](function(_0x4d1237,_0x3ed03c){const _0x29d69d=_0xa2269c;return _0x17a231[_0x29d69d(0x2d4)](_0x4affd3,Object[_0x29d69d(0x378)]({},_0x4d1237,{'id':_0x29d69d(0x40d),'ref':_0x3ed03c,'icon':_0x5b7bc3}));});_0x52e695[_0xa2269c(0x282)]=_0xa2269c(0x325);function _0x206f1e(_0x519cf0){const _0x1d8661=_0xa2269c;switch(_0x519cf0){case _0x49b930[_0x1d8661(0x27d)][_0x1d8661(0x3d0)]:return _0x1d8661(0x155);case _0x49b930['CollaborationStatus'][_0x1d8661(0x3fe)]:return _0x1d8661(0x19f);case _0x49b930['CollaborationStatus'][_0x1d8661(0x2f4)]:return _0x1d8661(0x3c5);case _0x49b930[_0x1d8661(0x27d)][_0x1d8661(0x2cc)]:return _0x1d8661(0x142);case _0x49b930[_0x1d8661(0x27d)][_0x1d8661(0x18c)]:case _0x49b930[_0x1d8661(0x27d)][_0x1d8661(0x31e)]:return'collabStatus.syncing';case _0x49b930[_0x1d8661(0x27d)][_0x1d8661(0x13c)]:case _0x49b930['CollaborationStatus']['PENDING']:return _0x1d8661(0x1c7);}}function _0x53fd79(_0x209ef0){const _0x139bdd=_0xa2269c,{status$:_0x1ab461}=_0x209ef0,_0x4e6a1f=_0x2c32f5[_0x139bdd(0x40a)](_0x1ab461,_0x49b930['CollaborationStatus'][_0x139bdd(0x2cc)]),_0x5eae36=_0x2c32f5[_0x139bdd(0x2bf)](_0x63378d[_0x139bdd(0x428)]),_0xd69406=_0x2c32f5[_0x139bdd(0x2bf)](_0x49b930[_0x139bdd(0x42a)]),_0x5daa68=_0x4e6a1f!==_0x49b930[_0x139bdd(0x27d)]['OFFLINE'],_0x30325d=_0x5eae36['t'](_0x206f1e(_0x4e6a1f)),_0x2bf0c0=_0x5daa68?_0x5228ee['jsx'](_0x52e695,{}):_0x5228ee[_0x139bdd(0x3d4)](_0x3d6961,{}),_0x293dc4=_0x17a231[_0x139bdd(0x220)](()=>{const _0x54e5ef=_0x139bdd;_0x5daa68||_0xd69406[_0x54e5ef(0x16f)]();},[_0x5daa68,_0xd69406]);function _0x1c459c(){const _0xafe6f6=_0x139bdd;return _0x5228ee[_0xafe6f6(0x1cb)](_0xafe6f6(0x257),{'className':_0xafe6f6(0x29f),'onClick':_0x293dc4,'children':[_0x5228ee[_0xafe6f6(0x3d4)]('div',{'className':_0x25c8b9[_0xafe6f6(0x3aa)](_0xafe6f6(0x271),{'univer-text-green-500':_0x5daa68,'univer-text-red-500':!_0x5daa68}),'children':_0x2bf0c0}),_0x5228ee['jsx'](_0xafe6f6(0x257),{'className':_0xafe6f6(0x2df),'children':_0x30325d})]});}return _0x5daa68?_0x1c459c():_0x5228ee[_0x139bdd(0x3d4)](_0x25c8b9['Tooltip'],{'title':_0x5eae36['t']('collab-client.tooltip.reconnect'),'children':_0x1c459c()});}var _0x297817=Object[_0xa2269c(0x2ee)],_0x29e575=(_0x36c875,_0x1d9459,_0x49927a,_0x5f5a9d)=>{const _0x5226ab=_0xa2269c;for(var _0x5339a9=_0x5f5a9d>0x1?void 0x0:_0x5f5a9d?_0x297817(_0x1d9459,_0x49927a):_0x1d9459,_0x3b9047=_0x36c875[_0x5226ab(0x3af)]-0x1,_0x2bfd10;_0x3b9047>=0x0;_0x3b9047--)(_0x2bfd10=_0x36c875[_0x3b9047])&&(_0x5339a9=_0x2bfd10(_0x5339a9)||_0x5339a9);return _0x5339a9;},_0x2fd305=(_0x19aaf7,_0x1b9451)=>(_0x2d5f19,_0x31507f)=>_0x1b9451(_0x2d5f19,_0x31507f,_0x19aaf7);_0x44307e[_0xa2269c(0x345)]=class extends _0x63378d[_0xa2269c(0x2eb)]{constructor(_0xc5e4f2,_0x294e63,_0x37a325,_0x220bc0){const _0x5d8e69=_0xa2269c;super(),_0x354915(this,'_status$',new _0xdb7e78['BehaviorSubject'](_0x49b930[_0x5d8e69(0x27d)][_0x5d8e69(0x2cc)])),(this[_0x5d8e69(0x1ef)]=_0xc5e4f2,this[_0x5d8e69(0x2c9)]=_0x294e63,this[_0x5d8e69(0x2ba)]=_0x37a325,this['_uiPartsService']=_0x220bc0,this[_0x5d8e69(0x3c3)](),this['_initStatusListener']());}['_initStatusListener'](){const _0x40ec40=_0xa2269c;this['disposeWithMe'](this[_0x40ec40(0x1ef)]['focused$'][_0x40ec40(0x287)](_0xdb7e78[_0x40ec40(0x390)](()=>{const _0x53afcb=_0x40ec40,_0x43b8cb=this['_univerInstanceService'][_0x53afcb(0x1b2)]();return _0x43b8cb?this[_0x53afcb(0x2ba)][_0x53afcb(0x30f)](_0x43b8cb[_0x53afcb(0x1b6)]()):_0xdb7e78['of'](null);}),_0xdb7e78[_0x40ec40(0x390)](_0x4da037=>_0x4da037?_0x4da037['status$']:_0xdb7e78['of'](_0x49b930[_0x40ec40(0x27d)][_0x40ec40(0x2cc)])))['subscribe'](_0x2eb629=>{const _0xabfd42=_0x40ec40;this[_0xabfd42(0x421)][_0xabfd42(0x386)](_0x2eb629);}));}[_0xa2269c(0x3c3)](){const _0x355ff4=_0xa2269c;this[_0x355ff4(0x165)](this[_0x355ff4(0x41e)]['registerComponent'](_0x2c32f5[_0x355ff4(0x1be)]['HEADER_MENU'],()=>_0x2c32f5[_0x355ff4(0x270)](_0x50080d({'status$':this[_0x355ff4(0x421)][_0x355ff4(0x187)]()}),this['_injector'])));}},_0x44307e['DesktopCollaborationStatusDisplayController']=_0x29e575([_0x2fd305(0x0,_0x63378d[_0xa2269c(0x240)]),_0x2fd305(0x1,_0x63378d['Inject'](_0x63378d[_0xa2269c(0x2e7)])),_0x2fd305(0x2,_0x63378d['Inject'](_0x49b930[_0xa2269c(0x30d)])),_0x2fd305(0x3,_0x2c32f5[_0xa2269c(0x229)])],_0x44307e[_0xa2269c(0x345)]);function _0x50080d(_0x5efb6f){const {status$:_0x3cd1dd}=_0x5efb6f;return function(){const _0x39f06f=_0x529e;return _0x5228ee[_0x39f06f(0x3d4)](_0x53fd79,{'status$':_0x3cd1dd});};}const _0xdbf68a=_0x63378d[_0xa2269c(0x337)](_0xa2269c(0x1a4));var _0x2842ba=Object[_0xa2269c(0x2ee)],_0x51b3aa=(_0x3538e5,_0x4d2f44,_0x13bc8a,_0x687cc2)=>{const _0x3bcc28=_0xa2269c;for(var _0x3e7d50=_0x687cc2>0x1?void 0x0:_0x687cc2?_0x2842ba(_0x4d2f44,_0x13bc8a):_0x4d2f44,_0x3e858b=_0x3538e5[_0x3bcc28(0x3af)]-0x1,_0x180b64;_0x3e858b>=0x0;_0x3e858b--)(_0x180b64=_0x3538e5[_0x3e858b])&&(_0x3e7d50=_0x180b64(_0x3e7d50)||_0x3e7d50);return _0x3e7d50;},_0x40a181=(_0x391baa,_0x5ddfc9)=>(_0x3bac6f,_0x190327)=>_0x5ddfc9(_0x3bac6f,_0x190327,_0x391baa);_0x44307e[_0xa2269c(0x19e)]=class extends _0x63378d[_0xa2269c(0x1ac)]{constructor(_0x55b116,_0x18577e,_0x52e176,_0x247aee,_0x327622){const _0x24736a=_0xa2269c;super(),this[_0x24736a(0x139)]=_0x55b116,this['_logService']=_0x18577e,this['_commandService']=_0x52e176,this[_0x24736a(0x35a)]=_0x247aee,_0x327622?_0x327622==null||_0x327622[_0x24736a(0x425)]()[_0x24736a(0x3e6)](()=>this[_0x24736a(0x29a)]()):(this[_0x24736a(0x1c2)][_0x24736a(0x2ea)]('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x24736a(0x29a)]());}async[_0xa2269c(0x29a)](){const _0x34f4f7=_0xa2269c,_0x2e0944=this[_0x34f4f7(0x139)][_0x34f4f7(0x312)](_0x34f4f7(0x35b)),_0xe7baa5=this['_urlService'][_0x34f4f7(0x312)](_0x34f4f7(0x1f3)),_0x3b8625=this[_0x34f4f7(0x139)][_0x34f4f7(0x312)](_0x34f4f7(0x339));if(!_0x2e0944||!_0xe7baa5){this[_0x34f4f7(0x1c2)][_0x34f4f7(0x2ea)]('[CollaborationDataLoaderController]',_0x34f4f7(0x137));return;}const _0x1e9b39=await this[_0x34f4f7(0x35a)][_0x34f4f7(0x190)](_0x2e0944,Number(_0xe7baa5),_0x3b8625);_0x1e9b39&&_0x1e9b39 instanceof _0x63378d[_0x34f4f7(0x160)]&&this[_0x34f4f7(0x31c)](_0x1e9b39);}async[_0xa2269c(0x31c)](_0x3f4d7d){const _0x478391=_0xa2269c;await this[_0x478391(0x2d5)](_0x3f4d7d),_0x3f4d7d[_0x478391(0x23c)]['pipe'](_0xdb7e78['takeUntil'](this[_0x478391(0x3f6)]))[_0x478391(0x3bd)](_0x3d738e=>{const _0x19d85a=_0x478391;_0x3d738e&&this[_0x19d85a(0x228)](_0x3d738e);}),this['_urlService'][_0x478391(0x281)][_0x478391(0x287)](_0xdb7e78[_0x478391(0x393)](this[_0x478391(0x3f6)]))[_0x478391(0x3bd)](()=>this[_0x478391(0x2d5)](_0x3f4d7d));}[_0xa2269c(0x228)](_0x21bb5d,_0x4de05e=!0x1){const _0x328c30=_0xa2269c,_0x2045a4=this[_0x328c30(0x139)][_0x328c30(0x312)](_0x328c30(0x339));_0x21bb5d[_0x328c30(0x41b)]()!==_0x2045a4&&this[_0x328c30(0x139)][_0x328c30(0x264)]('subunit',_0x21bb5d[_0x328c30(0x41b)](),_0x4de05e);}async['_updateSubUnitFromURLParams'](_0x57a73d){const _0x456486=_0xa2269c;var _0x56b194;const _0x2f04a5=this[_0x456486(0x139)]['getParam']('subunit');if(!_0x2f04a5||!_0x57a73d[_0x456486(0x148)](_0x2f04a5)){const _0x53319a=_0x57a73d['getUnhiddenWorksheets']()[0x0],_0x326343=_0x57a73d[_0x456486(0x148)](_0x53319a);if(!_0x326343)return;this[_0x456486(0x228)](_0x326343,!0x0),await this[_0x456486(0x234)][_0x456486(0x22c)](_0xd76991['SetWorksheetActivateCommand']['id'],{'unitId':_0x57a73d[_0x456486(0x1b6)](),'subUnitId':_0x53319a});return;}((_0x56b194=_0x57a73d[_0x456486(0x412)]())==null?void 0x0:_0x56b194[_0x456486(0x41b)]())!==_0x2f04a5&&await this['_commandService'][_0x456486(0x22c)](_0xd76991[_0x456486(0x20f)]['id'],{'unitId':_0x57a73d[_0x456486(0x1b6)](),'subUnitId':_0x2f04a5});}},_0x44307e[_0xa2269c(0x19e)]=_0x51b3aa([_0x40a181(0x0,_0xdbf68a),_0x40a181(0x1,_0x63378d['ILogService']),_0x40a181(0x2,_0x63378d[_0xa2269c(0x278)]),_0x40a181(0x3,_0x63378d[_0xa2269c(0x1ce)](_0x49b930[_0xa2269c(0x162)])),_0x40a181(0x4,_0x63378d[_0xa2269c(0x35d)](_0x5cb2c9[_0xa2269c(0x15c)]))],_0x44307e['CollaborationDataLoaderController']);var _0xb401ae=Object[_0xa2269c(0x2ee)],_0x24d6f5=(_0x588f10,_0x2d3b01,_0x9eb345,_0x2ae13c)=>{const _0x17ab09=_0xa2269c;for(var _0x173bdc=_0x2ae13c>0x1?void 0x0:_0x2ae13c?_0xb401ae(_0x2d3b01,_0x9eb345):_0x2d3b01,_0x5f2c47=_0x588f10[_0x17ab09(0x3af)]-0x1,_0x21d62f;_0x5f2c47>=0x0;_0x5f2c47--)(_0x21d62f=_0x588f10[_0x5f2c47])&&(_0x173bdc=_0x21d62f(_0x173bdc)||_0x173bdc);return _0x173bdc;},_0x502f2c=(_0x360fa0,_0x20d029)=>(_0x550fe9,_0x5132b0)=>_0x20d029(_0x550fe9,_0x5132b0,_0x360fa0);let _0x1ae3d3=class extends _0x63378d[_0xa2269c(0x1ac)]{constructor(_0x2a1ce0,_0x5be240){const _0x3a7d65=_0xa2269c;super(),this[_0x3a7d65(0x330)]=_0x2a1ce0,this[_0x3a7d65(0x266)]=_0x5be240,this[_0x3a7d65(0x29a)]();}['_init'](){const _0x216ae4=_0xa2269c,_0x2e403d=this;this[_0x216ae4(0x165)](this[_0x216ae4(0x330)][_0x216ae4(0x429)]({'onBeforePasteImage':async _0x3316c1=>{const _0x294e2d=_0x216ae4,_0x1b9c9b=await _0x2e403d['_imageIoService'][_0x294e2d(0x1e1)](_0x3316c1);return _0x1b9c9b?{'source':_0x1b9c9b[_0x294e2d(0x223)],'imageSourceType':_0x1b9c9b[_0x294e2d(0x179)]}:null;}}));}};_0x1ae3d3=_0x24d6f5([_0x502f2c(0x0,_0x466fa5[_0xa2269c(0x2c5)]),_0x502f2c(0x1,_0x8f1469[_0xa2269c(0x2c4)])],_0x1ae3d3);const _0x3bdee1=[_0xa2269c(0x2e0),_0xa2269c(0x306),_0xa2269c(0x355),_0xa2269c(0x2f6),_0xa2269c(0x2a7),_0xa2269c(0x31d)];class _0x59a235 extends _0x63378d[_0xa2269c(0x2eb)]{constructor(){const _0x3ff836=_0xa2269c;super(...arguments),_0x354915(this,_0x3ff836(0x259),new Map()),_0x354915(this,_0x3ff836(0x288),0x0);}['assignAColorForMemberID'](_0x22f18b){const _0x2f6a88=_0xa2269c;if(this['_assignedColors'][_0x2f6a88(0x305)](_0x22f18b))return this['_assignedColors'][_0x2f6a88(0x1ed)](_0x22f18b);const _0x48b5cb=_0x3bdee1[this['_colorIndex']];return this['_colorIndex']=(this[_0x2f6a88(0x288)]+0x1)%_0x3bdee1[_0x2f6a88(0x3af)],this[_0x2f6a88(0x259)]['set'](_0x22f18b,_0x48b5cb),_0x48b5cb;}}function _0x12fc01(_0x271da7){let _0x348955='';for(const _0x4deb9c of _0x271da7){const {startOffset:_0x4cfb77,endOffset:_0x190d58,isActive:_0x12c4e2,rangeType:_0x3833b4,segmentId:_0x36e1b7,segmentPage:_0x125ff2}=_0x4deb9c;_0x348955['length']&&(_0x348955+=','),_0x348955+=_0x4cfb77+':'+_0x190d58+':'+(_0x12c4e2?'1':'0')+':'+_0x3833b4+':'+_0x36e1b7+':'+_0x125ff2;}return _0x348955;}function _0x48b4d2(_0x2d5855){const _0x539682=_0xa2269c,_0x1716fd=_0x2d5855[_0x539682(0x21b)](','),_0x19c907=[];for(const _0x2b5c56 of _0x1716fd){const [_0x37c62f,_0x3381e1,_0x1407a7,_0x56f73d,_0x1b5f71,_0x3fd852]=_0x2b5c56[_0x539682(0x21b)](':');_0x19c907['push']({'startOffset':Number(_0x37c62f),'endOffset':Number(_0x3381e1),'collapsed':_0x37c62f===_0x3381e1,'isActive':_0x1407a7==='1','rangeType':_0x56f73d===_0x63378d['DOC_RANGE_TYPE']['TEXT']?_0x63378d[_0x539682(0x418)]['TEXT']:_0x63378d[_0x539682(0x418)]['RECT'],'segmentId':typeof _0x1b5f71==_0x539682(0x2d1)?String(_0x1b5f71):'','segmentPage':Number(_0x3fd852!=null?_0x3fd852:-0x1)});}return _0x19c907[_0x539682(0x2ac)](_0x3e7db0=>_0x3e7db0[_0x539682(0x1b3)])||(_0x19c907[0x0][_0x539682(0x1b3)]=!0x0),_0x19c907;}class _0x5ad830 extends _0x63378d['RxDisposable']{constructor(){const _0x576ba7=_0xa2269c;super(...arguments),_0x354915(this,_0x576ba7(0x196),new _0xdb7e78[(_0x576ba7(0x189))](null)),_0x354915(this,_0x576ba7(0x16d),this['_collabCursorState$'][_0x576ba7(0x187)]());}[_0xa2269c(0x2a8)](_0x23dc03){const _0xe54d38=_0xa2269c,{unitID:_0xadea3d,memberID:_0x1477dd,textRanges:_0x29f240}=_0x23dc03,_0x5dfd58=_0x12fc01(_0x29f240);if(_0x5dfd58==='')return;const _0x3dd870={'unitID':_0xadea3d,'memberID':_0x1477dd,'selection':_0x5dfd58};this['_collabCursorState$'][_0xe54d38(0x386)](_0x3dd870);}}var _0x11503e=Object[_0xa2269c(0x2ee)],_0x4a4c41=(_0x4c2f25,_0xe37408,_0x37a88e,_0x50c77c)=>{const _0x5da81e=_0xa2269c;for(var _0x2f9a3f=_0x50c77c>0x1?void 0x0:_0x50c77c?_0x11503e(_0xe37408,_0x37a88e):_0xe37408,_0x2956a8=_0x4c2f25[_0x5da81e(0x3af)]-0x1,_0x1be8d2;_0x2956a8>=0x0;_0x2956a8--)(_0x1be8d2=_0x4c2f25[_0x2956a8])&&(_0x2f9a3f=_0x1be8d2(_0x2f9a3f)||_0x2f9a3f);return _0x2f9a3f;},_0x41f6b2=(_0x344a54,_0x1a2aed)=>(_0x4155fa,_0x530f0a)=>_0x1a2aed(_0x4155fa,_0x530f0a,_0x344a54);const _0x1db983=0x12c,_0x33b0d0=0x64;let _0x551c12=class extends _0x63378d['RxDisposable']{constructor(_0x17bdfd,_0x3c61b8,_0xf90692,_0x484f4e,_0x5b4b5d,_0x189c5b,_0x31feed,_0x5057f0,_0x29fb39){const _0x5ae633=_0xa2269c;super(),_0x354915(this,_0x5ae633(0x244),!0x1),_0x354915(this,'_init',!0x1),_0x354915(this,_0x5ae633(0x1e6),new _0xdb7e78[(_0x5ae633(0x189))](new Map())),_0x354915(this,_0x5ae633(0x22f),this[_0x5ae633(0x1e6)][_0x5ae633(0x187)]()),_0x354915(this,'_roomMembers$',new _0xdb7e78[(_0x5ae633(0x189))]([])),_0x354915(this,_0x5ae633(0x26d),this[_0x5ae633(0x2de)][_0x5ae633(0x287)](_0xdb7e78[_0x5ae633(0x1db)](_0x1db983))),_0x354915(this,'_updateLocalCursor',_0x63378d['debounce'](_0x12f5b5=>{const _0x2ef93f=_0x5ae633,_0x3201d8={'eventID':_0x1a1813[_0x2ef93f(0x392)][_0x2ef93f(0x26b)],'data':{'unitID':this[_0x2ef93f(0x3a6)],'memberID':this[_0x2ef93f(0x387)]['getMemberID'](),'selection':_0x12fc01(_0x12f5b5)}};this[_0x2ef93f(0x387)][_0x2ef93f(0x1f0)](_0x3201d8,this['unitID']);},_0x33b0d0)),(this['unitID']=_0x17bdfd,this[_0x5ae633(0x387)]=_0x3c61b8,this[_0x5ae633(0x2c9)]=_0xf90692,this[_0x5ae633(0x389)]=_0x484f4e,this[_0x5ae633(0x366)]=_0x5b4b5d,this[_0x5ae633(0x22d)]=_0x189c5b,this[_0x5ae633(0x253)]=_0x31feed,this[_0x5ae633(0x1ef)]=_0x5057f0,this[_0x5ae633(0x234)]=_0x29fb39);}get[_0xa2269c(0x401)](){const _0x27ee53=_0xa2269c;return this[_0x27ee53(0x1e6)][_0x27ee53(0x273)]();}get[_0xa2269c(0x23e)](){const _0x320aee=_0xa2269c;return this[_0x320aee(0x2de)][_0x320aee(0x273)]();}['dispose'](){const _0x439204=_0xa2269c;super[_0x439204(0x212)](),this['_cursorInfo$'][_0x439204(0x386)](new Map()),this[_0x439204(0x1e6)][_0x439204(0x285)](),this[_0x439204(0x2de)][_0x439204(0x386)]([]),this[_0x439204(0x2de)][_0x439204(0x285)]();}['init'](){const _0x970bf7=_0xa2269c;this[_0x970bf7(0x29a)]||(this[_0x970bf7(0x29a)]=!0x0,this[_0x970bf7(0x387)][_0x970bf7(0x1e0)][_0x970bf7(0x287)](_0xdb7e78[_0x970bf7(0x393)](this[_0x970bf7(0x3f6)]))['subscribe'](_0x2ed547=>{const _0x6eb3c9=_0x970bf7;_0x2ed547===_0x49b930['SessionStatus'][_0x6eb3c9(0x32b)]?this[_0x6eb3c9(0x3e0)]():this['_toggleOffline']();}),this[_0x970bf7(0x387)][_0x970bf7(0x3eb)]['pipe'](_0xdb7e78[_0x970bf7(0x393)](this[_0x970bf7(0x3f6)]))[_0x970bf7(0x3bd)](_0x31af1e=>{const _0x1d6725=_0x970bf7,_0x556dff=_0x31af1e['eventID'];_0x556dff===_0x1a1813[_0x1d6725(0x392)][_0x1d6725(0x26b)]&&this[_0x1d6725(0x135)](_0x31af1e),_0x556dff===_0x1a1813[_0x1d6725(0x392)][_0x1d6725(0x18a)]&&this[_0x1d6725(0x28f)](_0x31af1e);}),this[_0x970bf7(0x165)](this['_commandService'][_0x970bf7(0x172)](_0x1bfb84=>{const _0x1abef6=_0x970bf7,_0x5623a7=_0x1bfb84[_0x1abef6(0x364)];_0x5623a7!=null&&this['_online']&&_0x1bfb84['id']===_0x461a0f[_0x1abef6(0x367)]['id']&&_0x5623a7['unitId']===this['unitID']&&_0x5623a7[_0x1abef6(0x22a)]===!0x1&&_0x5623a7[_0x1abef6(0x32d)][_0x1abef6(0x3af)]>0x0&&this[_0x1abef6(0x1df)](_0x5623a7[_0x1abef6(0x32d)]);})),this[_0x970bf7(0x22d)]['collabCursorState$'][_0x970bf7(0x287)](_0xdb7e78[_0x970bf7(0x393)](this[_0x970bf7(0x3f6)]))['subscribe'](_0x3d93e7=>{const _0x344100=_0x970bf7;if((_0x3d93e7==null?void 0x0:_0x3d93e7[_0x344100(0x3a6)])!==this['unitID'])return;const _0x4136e7={'eventID':_0x1a1813[_0x344100(0x392)][_0x344100(0x26b)],'data':_0x3d93e7};this['_onCursorUpdate'](_0x4136e7);}),this[_0x970bf7(0x165)](this['_commandService'][_0x970bf7(0x172)](_0x4fc68d=>{const _0x1d09d4=_0x970bf7;if(_0x4fc68d[_0x1d09d4(0x364)]==null)return;const _0x398e69=_0x4fc68d[_0x1d09d4(0x364)];if(_0x4fc68d['id']!==_0x461a0f['RichTextEditingMutation']['id']||_0x398e69['unitId']!==this['unitID'])return;const _0x5ec51e={'id':'doc.mutation.rich-text-editing','params':_0x398e69},_0x204153=this[_0x1d09d4(0x401)];for(const [_0x1d6666,_0x3d9690]of _0x204153){const _0x3c5343={'id':_0x1d09d4(0x3c4),'params':{'unitId':this[_0x1d09d4(0x3a6)],'actions':null,'textRanges':_0x3d9690['ranges']}},_0x33ab60=this[_0x1d09d4(0x253)][_0x1d09d4(0x2c8)](_0x5ec51e,_0x3c5343,!0x1);if(_0x1a1813[_0x1d09d4(0x417)](_0x33ab60))throw _0x33ab60[_0x1d09d4(0x33d)];_0x204153['set'](_0x1d6666,{..._0x3d9690,'ranges':_0x33ab60[_0x1d09d4(0x310)][_0x1d09d4(0x364)][_0x1d09d4(0x426)]});}queueMicrotask(()=>{const _0x54df73=_0x1d09d4;this[_0x54df73(0x1e6)]['next'](_0x204153);});})));}[_0xa2269c(0x135)](_0x3d4816){const _0x364ac3=_0xa2269c;var _0xcbb2ed,_0x317152;const {memberID:_0xf8b093,selection:_0x4342bd}=_0x3d4816[_0x364ac3(0x347)],_0xef94b0=_0x48b4d2(_0x4342bd),_0xcd5072=(_0x317152=(_0xcbb2ed=this[_0x364ac3(0x366)][_0x364ac3(0x26a)](this['unitID'],_0xf8b093))==null?void 0x0:_0xcbb2ed['name'])!=null?_0x317152:_0x364ac3(0x1ba),_0x56bc80={'color':this[_0x364ac3(0x389)][_0x364ac3(0x21f)](_0xf8b093),'name':_0xcd5072,'ranges':_0xef94b0},_0x3c8ba6=this[_0x364ac3(0x401)];_0x3c8ba6[_0x364ac3(0x233)](_0xf8b093,_0x56bc80),this[_0x364ac3(0x1e6)][_0x364ac3(0x386)](_0x3c8ba6);}[_0xa2269c(0x28f)](_0x2d9a9e){const _0x1b7b31=_0xa2269c,{memberID:_0xde9daa}=_0x2d9a9e['data'],_0x2ea0dd=this[_0x1b7b31(0x401)];_0x2ea0dd[_0x1b7b31(0x219)](_0xde9daa),this['_cursorInfo$'][_0x1b7b31(0x386)](_0x2ea0dd);}[_0xa2269c(0x3e0)](){const _0x407e47=_0xa2269c;var _0x1bb213;if(this[_0x407e47(0x244)]=!0x0,((_0x1bb213=this[_0x407e47(0x1ef)][_0x407e47(0x1b2)]())==null?void 0x0:_0x1bb213[_0x407e47(0x1b6)]())!==this['unitID'])return;const _0x5c4a8c=this[_0x407e47(0x2c9)]['get'](_0x461a0f[_0x407e47(0x370)])[_0x407e47(0x206)]();Array[_0x407e47(0x14a)](_0x5c4a8c)&&_0x5c4a8c[_0x407e47(0x3af)]>0x0&&this[_0x407e47(0x1df)](_0x5c4a8c);}[_0xa2269c(0x161)](){const _0x3f620b=_0xa2269c;this[_0x3f620b(0x244)]=!0x1;}};_0x551c12=_0x4a4c41([_0x41f6b2(0x2,_0x63378d[_0xa2269c(0x1ce)](_0x63378d[_0xa2269c(0x2e7)])),_0x41f6b2(0x3,_0x63378d[_0xa2269c(0x1ce)](_0x59a235)),_0x41f6b2(0x4,_0x63378d[_0xa2269c(0x1ce)](_0x49b930[_0xa2269c(0x1e2)])),_0x41f6b2(0x5,_0x63378d[_0xa2269c(0x1ce)](_0x5ad830)),_0x41f6b2(0x6,_0x1a1813[_0xa2269c(0x19d)]),_0x41f6b2(0x7,_0x63378d[_0xa2269c(0x240)]),_0x41f6b2(0x8,_0x63378d[_0xa2269c(0x278)])],_0x551c12);var _0x391675=Object[_0xa2269c(0x2ee)],_0x20cb9f=(_0x3fee7b,_0xd69a4c,_0x4960f9,_0x216f1e)=>{for(var _0x281e22=_0x216f1e>0x1?void 0x0:_0x216f1e?_0x391675(_0xd69a4c,_0x4960f9):_0xd69a4c,_0x1bf915=_0x3fee7b['length']-0x1,_0x5c947f;_0x1bf915>=0x0;_0x1bf915--)(_0x5c947f=_0x3fee7b[_0x1bf915])&&(_0x281e22=_0x5c947f(_0x281e22)||_0x281e22);return _0x281e22;},_0x54a434=(_0x23ca6e,_0x5b2079)=>(_0x347c67,_0x50b0a5)=>_0x5b2079(_0x347c67,_0x50b0a5,_0x23ca6e);const _0x239728=0x12c,_0x3a394f=0x64,_0x2ad53b=()=>{let _0x2cf674=[],_0x222fc9=!0x1;return _0xb29351=>{const _0x4c1d09=_0x529e;_0x2cf674[_0x4c1d09(0x2ca)](_0xb29351),_0x222fc9||(_0x222fc9=!0x0,setTimeout(()=>{const _0x31e92c=_0x4c1d09;_0x2cf674[_0x31e92c(0x399)](_0x3640d1=>_0x3640d1()),_0x2cf674=[],_0x222fc9=!0x1;}));};};let _0x592626=class extends _0x63378d[_0xa2269c(0x1ac)]{constructor(_0x4ae30c,_0x4221b8,_0x4f5b91,_0x201429,_0x54b391,_0x36a097,_0xc4fc4f,_0x1061fe){const _0x4712c9=_0xa2269c;super(),_0x354915(this,_0x4712c9(0x244),!0x1),_0x354915(this,_0x4712c9(0x29a),!0x1),_0x354915(this,_0x4712c9(0x1e6),new _0xdb7e78[(_0x4712c9(0x189))](new Map())),_0x354915(this,_0x4712c9(0x22f),this[_0x4712c9(0x1e6)]['asObservable']()),_0x354915(this,_0x4712c9(0x2de),new _0xdb7e78[(_0x4712c9(0x189))]([])),_0x354915(this,'roomMembers$',this[_0x4712c9(0x2de)]['pipe'](_0xdb7e78[_0x4712c9(0x1db)](_0x239728))),_0x354915(this,'_updateLocalCursor',_0x63378d[_0x4712c9(0x134)]((_0x512a59,_0x35a930)=>{const _0xac1d5e=_0x4712c9,_0x4f2de5={'eventID':_0x1a1813[_0xac1d5e(0x392)]['UPDATE_CURSOR'],'data':{'unitID':this[_0xac1d5e(0x3a6)],'memberID':this[_0xac1d5e(0x387)][_0xac1d5e(0x2e6)](),'selection':_0x1a201e[_0xac1d5e(0x17f)](_0x512a59,_0x35a930['range'])}};this[_0xac1d5e(0x387)][_0xac1d5e(0x1f0)](_0x4f2de5,this[_0xac1d5e(0x3a6)]);},_0x3a394f)),(this[_0x4712c9(0x3a6)]=_0x4ae30c,this[_0x4712c9(0x387)]=_0x4221b8,this[_0x4712c9(0x2c9)]=_0x4f5b91,this['_colorAssignService']=_0x201429,this[_0x4712c9(0x366)]=_0x54b391,this[_0x4712c9(0x1ef)]=_0x36a097,this['_commandService']=_0xc4fc4f,this[_0x4712c9(0x258)]=_0x1061fe);}get['cursorInfo'](){const _0x547163=_0xa2269c;return this[_0x547163(0x1e6)][_0x547163(0x273)]();}get[_0xa2269c(0x23e)](){const _0x526322=_0xa2269c;return this[_0x526322(0x2de)][_0x526322(0x273)]();}['dispose'](){const _0x1f94d5=_0xa2269c;super[_0x1f94d5(0x212)](),this[_0x1f94d5(0x1e6)]['next'](new Map()),this['_cursorInfo$'][_0x1f94d5(0x285)](),this['_roomMembers$'][_0x1f94d5(0x386)]([]),this[_0x1f94d5(0x2de)][_0x1f94d5(0x285)]();}[_0xa2269c(0x17c)](){const _0x3965e8=_0xa2269c;this[_0x3965e8(0x29a)]||(this[_0x3965e8(0x29a)]=!0x0,this['_session'][_0x3965e8(0x1e0)][_0x3965e8(0x287)](_0xdb7e78[_0x3965e8(0x393)](this['dispose$']))[_0x3965e8(0x3bd)](_0x3791d8=>{const _0x4680e6=_0x3965e8;_0x3791d8===_0x49b930['SessionStatus'][_0x4680e6(0x32b)]?this['_toggleOnline']():this['_toggleOffline']();}),this['_session'][_0x3965e8(0x3eb)][_0x3965e8(0x287)](_0xdb7e78[_0x3965e8(0x393)](this['dispose$']))[_0x3965e8(0x3bd)](_0x53a45b=>{const _0x183704=_0x3965e8,_0x182b40=_0x53a45b['eventID'];_0x182b40===_0x1a1813[_0x183704(0x392)][_0x183704(0x26b)]&&this[_0x183704(0x135)](_0x53a45b),_0x182b40===_0x1a1813[_0x183704(0x392)]['USERS_LEAVE']&&this[_0x183704(0x28f)](_0x53a45b);}),this[_0x3965e8(0x1b0)](),this[_0x3965e8(0x165)](this[_0x3965e8(0x234)][_0x3965e8(0x172)](_0x564869=>{const _0x28f35e=_0x3965e8;if(this[_0x28f35e(0x244)]&&_0x564869['id']===_0xd76991[_0x28f35e(0x1ec)]['id']&&_0x564869[_0x28f35e(0x364)][_0x28f35e(0x1bb)]===this[_0x28f35e(0x3a6)]){const _0x359d75=_0x564869['params'];this[_0x28f35e(0x1df)](_0x359d75[_0x28f35e(0x275)],_0x359d75['selections'][0x0]);}})));}[_0xa2269c(0x135)](_0x26b90f){const _0x504555=_0xa2269c;var _0x2a4de0,_0x3c719d;const {memberID:_0x34ebab,selection:_0x14e042}=_0x26b90f[_0x504555(0x347)],{sheetName:_0x44f64c,range:_0x5d4783}=_0x1a201e['deserializeRangeWithSheet'](_0x14e042),_0x40a1fb={'name':(_0x3c719d=(_0x2a4de0=this[_0x504555(0x366)][_0x504555(0x26a)](this[_0x504555(0x3a6)],_0x34ebab))==null?void 0x0:_0x2a4de0[_0x504555(0x1f8)])!=null?_0x3c719d:_0x504555(0x1ba),'range':this[_0x504555(0x2f0)](_0x44f64c,_0x5d4783),'sheetID':_0x44f64c,'color':this[_0x504555(0x389)]['assignAColorForMemberID'](_0x34ebab),'selection':_0x14e042},_0x472031=this[_0x504555(0x401)];_0x472031[_0x504555(0x233)](_0x34ebab,_0x40a1fb),this[_0x504555(0x1e6)][_0x504555(0x386)](_0x472031);}['_onCursorDelete'](_0x564d2b){const _0xb68b1b=_0xa2269c,{memberID:_0x2202f3}=_0x564d2b[_0xb68b1b(0x347)],_0x35f17f=this[_0xb68b1b(0x401)];_0x35f17f[_0xb68b1b(0x219)](_0x2202f3),this[_0xb68b1b(0x1e6)][_0xb68b1b(0x386)](_0x35f17f);}['_getMergeRange'](_0xe41b9f,_0x58d33d){const _0x14d27f=_0xa2269c;var _0x4e3943,_0x555629;const _0x1bc3e4=(_0x555629=(_0x4e3943=this['_univerInstanceService'][_0x14d27f(0x3c2)](this[_0x14d27f(0x3a6)]))==null?void 0x0:_0x4e3943[_0x14d27f(0x148)](_0xe41b9f))==null?void 0x0:_0x555629[_0x14d27f(0x20c)]();return(_0x1bc3e4==null?void 0x0:_0x1bc3e4[_0x14d27f(0x13f)](_0x3bd1fd=>_0x63378d[_0x14d27f(0x1fe)][_0x14d27f(0x2b4)](_0x3bd1fd,_0x58d33d)))||_0x58d33d;}[_0xa2269c(0x1b0)](){const _0x24d292=_0xa2269c,_0x5dfe6e=new _0x63378d[(_0x24d292(0x403))](),_0x358329=_0x2ad53b(),_0x122958=()=>{const _0x476e0d=_0x24d292;_0x5dfe6e[_0x476e0d(0x212)]();const _0x46b04f=(_0x16f737,_0x2585aa,_0x16cf11,_0x504c68)=>{const _0xf3b8f6=_0x476e0d;let _0x3c4c89=[];switch(_0x16f737['id']){case _0xd76991[_0xf3b8f6(0x24b)][_0xf3b8f6(0x3d1)]:{_0x3c4c89=_0xd76991[_0xf3b8f6(0x30c)](_0x16f737,_0x504c68);break;}case _0xd76991[_0xf3b8f6(0x24b)][_0xf3b8f6(0x39f)]:{_0x3c4c89=_0xd76991[_0xf3b8f6(0x3ea)](_0x16f737,_0x504c68);break;}case _0xd76991[_0xf3b8f6(0x24b)][_0xf3b8f6(0x27f)]:{_0x3c4c89=_0xd76991['handleInsertCol'](_0x16f737,_0x504c68);break;}case _0xd76991[_0xf3b8f6(0x24b)][_0xf3b8f6(0x261)]:{_0x3c4c89=_0xd76991[_0xf3b8f6(0x350)](_0x16f737,_0x504c68);break;}case _0xd76991[_0xf3b8f6(0x24b)][_0xf3b8f6(0x415)]:{_0x3c4c89=_0xd76991[_0xf3b8f6(0x217)](_0x16f737,_0x504c68);break;}case _0xd76991[_0xf3b8f6(0x24b)][_0xf3b8f6(0x2c3)]:{_0x3c4c89=_0xd76991[_0xf3b8f6(0x3e4)](_0x16f737,_0x504c68);break;}case _0xd76991[_0xf3b8f6(0x24b)]['MoveRangeCommandId']:{_0x3c4c89=_0xd76991[_0xf3b8f6(0x28d)](_0x16f737,_0x504c68);break;}case _0xd76991[_0xf3b8f6(0x24b)][_0xf3b8f6(0x318)]:{_0x3c4c89=_0xd76991['handleIRemoveCol'](_0x16f737,_0x504c68);break;}case _0xd76991[_0xf3b8f6(0x24b)]['RemoveRowCommandId']:{_0x3c4c89=_0xd76991[_0xf3b8f6(0x1a0)](_0x16f737,_0x504c68);break;}}const _0x3ebaf8=_0xd76991[_0xf3b8f6(0x27e)](_0x3c4c89,_0x504c68),_0x3e41e1=this[_0xf3b8f6(0x401)][_0xf3b8f6(0x1ed)](_0x2585aa);if(_0x3e41e1&&_0x3ebaf8){const _0x4aaf71={..._0x3e41e1,'range':_0x3ebaf8};this['cursorInfo'][_0xf3b8f6(0x233)](_0x2585aa,_0x4aaf71),_0x358329(()=>{const _0x1cd3e9=_0xf3b8f6,_0xe83337=this[_0x1cd3e9(0x258)][_0x1cd3e9(0x395)](_0x3ebaf8,_0x2a45f2=>(_0xe83337[_0x1cd3e9(0x212)](),_0x46b04f(_0x2a45f2,_0x2585aa,_0x16cf11,_0x3ebaf8)));_0x5dfe6e['add'](_0xe83337);});}return{'redos':[],'undos':[]};};this[_0x476e0d(0x401)]['forEach']((_0x776159,_0x3811be)=>{const _0x5d7890=_0x476e0d,{range:_0x5917d2,sheetID:_0x17c643}=_0x776159,_0xfddfa5=this['_refRangeService'][_0x5d7890(0x395)](_0x5917d2,_0x267d6e=>(_0xfddfa5['dispose'](),_0x46b04f(_0x267d6e,_0x3811be,_0x17c643,_0x5917d2)));_0x5dfe6e[_0x5d7890(0x2a3)](_0xfddfa5);});};this[_0x24d292(0x165)](_0x63378d['toDisposable'](this['_cursorInfo$'][_0x24d292(0x3bd)](()=>{_0x122958();})));}[_0xa2269c(0x3e0)](){const _0x5dfb6a=_0xa2269c;var _0x50125e,_0x39656d;if(this['_online']=!0x0,((_0x50125e=this[_0x5dfb6a(0x1ef)]['getFocusedUnit']())==null?void 0x0:_0x50125e[_0x5dfb6a(0x1b6)]())!==this[_0x5dfb6a(0x3a6)])return;const _0x460cb4=(_0x39656d=this[_0x5dfb6a(0x2c9)][_0x5dfb6a(0x1ed)](_0xd76991['SheetsSelectionsService'])[_0x5dfb6a(0x2ce)]())==null?void 0x0:_0x39656d[0x0],_0x13b691=this['_univerInstanceService']['getCurrentUnitForType'](_0x63378d[_0x5dfb6a(0x332)][_0x5dfb6a(0x24a)])[_0x5dfb6a(0x412)]();_0x460cb4&&_0x13b691&&this[_0x5dfb6a(0x1df)](_0x13b691[_0x5dfb6a(0x41b)](),_0x460cb4);}[_0xa2269c(0x161)](){const _0x40adfd=_0xa2269c;this[_0x40adfd(0x244)]=!0x1;}};_0x592626=_0x20cb9f([_0x54a434(0x2,_0x63378d[_0xa2269c(0x1ce)](_0x63378d[_0xa2269c(0x2e7)])),_0x54a434(0x3,_0x63378d[_0xa2269c(0x1ce)](_0x59a235)),_0x54a434(0x4,_0x63378d[_0xa2269c(0x1ce)](_0x49b930[_0xa2269c(0x1e2)])),_0x54a434(0x5,_0x63378d[_0xa2269c(0x240)]),_0x54a434(0x6,_0x63378d['ICommandService']),_0x54a434(0x7,_0x63378d[_0xa2269c(0x1ce)](_0xd76991[_0xa2269c(0x309)]))],_0x592626);var _0x4863a5=Object[_0xa2269c(0x2ee)],_0x56f9e3=(_0x4314c9,_0x1d33f5,_0x41590f,_0xd0d701)=>{for(var _0x3c097a=_0xd0d701>0x1?void 0x0:_0xd0d701?_0x4863a5(_0x1d33f5,_0x41590f):_0x1d33f5,_0x2863eb=_0x4314c9['length']-0x1,_0x529f4d;_0x2863eb>=0x0;_0x2863eb--)(_0x529f4d=_0x4314c9[_0x2863eb])&&(_0x3c097a=_0x529f4d(_0x3c097a)||_0x3c097a);return _0x3c097a;},_0x158f07=(_0x5dd9cb,_0x1f72fb)=>(_0x3b4ae8,_0x505811)=>_0x1f72fb(_0x3b4ae8,_0x505811,_0x5dd9cb);let _0x64597c=class extends _0x63378d[_0xa2269c(0x1ac)]{constructor(_0x27345d,_0x36173a,_0x1cdb61){const _0x448588=_0xa2269c;super(),_0x354915(this,_0x448588(0x2dc),new Map()),_0x354915(this,_0x448588(0x35f),new _0xdb7e78[(_0x448588(0x1f1))]()),(this['_univerInstanceService']=_0x27345d,this['_injector']=_0x36173a,this[_0x448588(0x340)]=_0x1cdb61,this[_0x448588(0x29a)]());}[_0xa2269c(0x212)](){const _0xb7c8cf=_0xa2269c;super['dispose'](),this[_0xb7c8cf(0x35f)][_0xb7c8cf(0x285)](),this[_0xb7c8cf(0x2dc)]['forEach'](_0x6c8f4c=>_0x6c8f4c[_0xb7c8cf(0x212)]());}[_0xa2269c(0x2a6)](_0x3fbb9a){const _0x341644=_0xa2269c;return this[_0x341644(0x2dc)][_0x341644(0x305)](_0x3fbb9a)?this[_0x341644(0x2dc)][_0x341644(0x1ed)](_0x3fbb9a)[_0x341644(0x22f)]:this[_0x341644(0x35f)][_0x341644(0x287)](_0xdb7e78[_0x341644(0x131)](_0x239c28=>_0x239c28[_0x341644(0x3a6)]===_0x3fbb9a),_0xdb7e78[_0x341644(0x390)](_0x691665=>_0x691665[_0x341644(0x22f)]));}['_init'](){const _0x4d9dfd=_0xa2269c;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x63378d['UniverInstanceType']['UNIVER_SHEET'])[_0x4d9dfd(0x287)](_0xdb7e78[_0x4d9dfd(0x393)](this[_0x4d9dfd(0x3f6)]))['subscribe'](async _0x37dcdc=>{const _0x258ec4=_0x4d9dfd,_0x1e4bc4=_0x37dcdc['getUnitId'](),_0x312398=await this[_0x258ec4(0x335)](_0x1e4bc4);this[_0x258ec4(0x35f)][_0x258ec4(0x386)](_0x312398),this[_0x258ec4(0x2dc)][_0x258ec4(0x233)](_0x1e4bc4,_0x312398);}),this['_univerInstanceService'][_0x4d9dfd(0x13b)](_0x63378d[_0x4d9dfd(0x332)][_0x4d9dfd(0x143)])[_0x4d9dfd(0x287)](_0xdb7e78[_0x4d9dfd(0x393)](this[_0x4d9dfd(0x3f6)]))['pipe'](_0xdb7e78[_0x4d9dfd(0x131)](_0xe7a139=>!_0xe7a139[_0x4d9dfd(0x1b6)]()[_0x4d9dfd(0x3e5)]('__')))[_0x4d9dfd(0x3bd)](async _0x4bc348=>{const _0x792e4d=_0x4d9dfd,_0x43fdc2=_0x4bc348['getUnitId'](),_0x42047d=await this[_0x792e4d(0x29d)](_0x43fdc2);this[_0x792e4d(0x35f)][_0x792e4d(0x386)](_0x42047d),this[_0x792e4d(0x2dc)]['set'](_0x43fdc2,_0x42047d);}),_0xdb7e78[_0x4d9dfd(0x232)](this[_0x4d9dfd(0x1ef)][_0x4d9dfd(0x1a9)](_0x63378d['UniverInstanceType']['UNIVER_DOC']),this[_0x4d9dfd(0x1ef)][_0x4d9dfd(0x1a9)](_0x63378d[_0x4d9dfd(0x332)][_0x4d9dfd(0x24a)]))[_0x4d9dfd(0x287)](_0xdb7e78[_0x4d9dfd(0x393)](this[_0x4d9dfd(0x3f6)]))[_0x4d9dfd(0x3bd)](_0x5a9188=>{const _0x14397e=_0x4d9dfd,_0x545934=_0x5a9188[_0x14397e(0x1b6)](),_0x18bea5=this[_0x14397e(0x2dc)]['get'](_0x545934);_0x18bea5&&(_0x18bea5[_0x14397e(0x212)](),this[_0x14397e(0x2dc)]['delete'](_0x545934));});}async[_0xa2269c(0x335)](_0x498dd7){const _0x46e127=_0xa2269c,_0x4b8335=await this[_0x46e127(0x340)][_0x46e127(0x3e7)](_0x498dd7),_0x2b1401=this[_0x46e127(0x2c9)][_0x46e127(0x19b)](_0x592626,_0x498dd7,_0x4b8335);return _0x2b1401[_0x46e127(0x17c)](),_0x2b1401;}async[_0xa2269c(0x29d)](_0x37d6ae){const _0x285708=_0xa2269c,_0x48cabd=await this[_0x285708(0x340)][_0x285708(0x3e7)](_0x37d6ae),_0x577ec2=this[_0x285708(0x2c9)][_0x285708(0x19b)](_0x551c12,_0x37d6ae,_0x48cabd);return _0x577ec2['init'](),_0x577ec2;}};_0x64597c=_0x56f9e3([_0x158f07(0x0,_0x63378d[_0xa2269c(0x240)]),_0x158f07(0x1,_0x63378d['Inject'](_0x63378d[_0xa2269c(0x2e7)])),_0x158f07(0x2,_0x63378d[_0xa2269c(0x1ce)](_0x49b930[_0xa2269c(0x42a)]))],_0x64597c);const _0x5d0cb4=0x14,_0x11b99b=0xc8,_0xf4c062=0x4,_0x345351=0x5;function _0x5c3c70(_0x221e12,_0x45cc65){const _0x33ea30=_0xa2269c;let {radius:_0x30de65,width:_0x168ee0,height:_0x3cb5ce}=_0x45cc65;_0x30de65=_0x30de65!=null?_0x30de65:0x0,_0x168ee0=_0x168ee0!=null?_0x168ee0:0x1e,_0x3cb5ce=_0x3cb5ce!=null?_0x3cb5ce:0x1e;let _0x5e3f36=0x0,_0xea8327=0x0,_0x1ec24d=0x0;_0x5e3f36=_0xea8327=_0x1ec24d=Math[_0x33ea30(0x250)](_0x30de65,_0x168ee0/0x2,_0x3cb5ce/0x2),_0x221e12[_0x33ea30(0x238)](),_0x221e12[_0x33ea30(0x1ab)](_0x5e3f36,0x0),_0x221e12[_0x33ea30(0x2d8)](_0x168ee0-_0xea8327,0x0),_0x221e12[_0x33ea30(0x3fc)](_0x168ee0-_0xea8327,_0xea8327,_0xea8327,Math['PI']*0x3/0x2,0x0,!0x1),_0x221e12['lineTo'](_0x168ee0,_0x3cb5ce-_0x1ec24d),_0x221e12[_0x33ea30(0x3fc)](_0x168ee0-_0x1ec24d,_0x3cb5ce-_0x1ec24d,_0x1ec24d,0x0,Math['PI']/0x2,!0x1),_0x221e12['lineTo'](0x0,_0x3cb5ce),_0x221e12['lineTo'](0x0,_0x5e3f36),_0x221e12['arc'](_0x5e3f36,_0x5e3f36,_0x5e3f36,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x221e12[_0x33ea30(0x40f)](),_0x45cc65[_0x33ea30(0x41c)]&&(_0x221e12[_0x33ea30(0x180)](),_0x221e12[_0x33ea30(0x3db)]=_0x45cc65[_0x33ea30(0x41c)],_0x45cc65[_0x33ea30(0x1bd)]==='evenodd'?_0x221e12['fill'](_0x33ea30(0x2ff)):_0x221e12['fill'](),_0x221e12[_0x33ea30(0x405)]());}class _0x19ce18 extends _0x3be252[_0xa2269c(0x42d)]{constructor(_0x480218,_0x3ab927){const _0x521e33=_0xa2269c;super(_0x480218,_0x3ab927),_0x354915(this,_0x521e33(0x3fb)),_0x354915(this,_0x521e33(0x321)),(this[_0x521e33(0x3fb)]=_0x3ab927==null?void 0x0:_0x3ab927[_0x521e33(0x3fb)],this['text']=_0x3ab927==null?void 0x0:_0x3ab927[_0x521e33(0x321)]);}static[_0xa2269c(0x336)](_0x6e8466,_0x36bd93){const _0x26f0ed=_0xa2269c,{text:_0xf5ee36,color:_0x5bed96}=_0x36bd93;_0x6e8466[_0x26f0ed(0x180)](),_0x6e8466[_0x26f0ed(0x194)]=_0x26f0ed(0x1cc);const _0x44a440=_0x6e8466[_0x26f0ed(0x1fa)](_0xf5ee36)[_0x26f0ed(0x208)],_0x15fbad=Math[_0x26f0ed(0x250)](_0x44a440+0x2*_0xf4c062,_0x11b99b);_0x5c3c70(_0x6e8466,{'height':_0x5d0cb4,'radius':0x4,'width':_0x15fbad,'fill':_0x5bed96}),_0x6e8466['fillStyle']='#FFF';const _0x117904=_0xf4c062,_0x52e581=_0x5d0cb4-_0x345351,_0x1c2b2e=_0x11b99b-0x2*_0xf4c062;if(_0x44a440>_0x1c2b2e){let _0x18eb0e='',_0x8003bf=0x0;for(const _0x5be078 of _0xf5ee36){const _0x5380ae=_0x6e8466[_0x26f0ed(0x1fa)](_0x5be078)[_0x26f0ed(0x208)];if(_0x8003bf+_0x5380ae<=_0x1c2b2e-_0x6e8466[_0x26f0ed(0x1fa)](_0x26f0ed(0x205))[_0x26f0ed(0x208)])_0x18eb0e+=_0x5be078,_0x8003bf+=_0x5380ae;else{_0x18eb0e+='...';break;}}_0x6e8466['fillText'](_0x18eb0e,_0x117904,_0x52e581);}else _0x6e8466['fillText'](_0xf5ee36,_0x117904,_0x52e581);_0x6e8466[_0x26f0ed(0x405)]();}[_0xa2269c(0x34e)](_0x8c594d){_0x19ce18['drawWith'](_0x8c594d,this);}}const _0x5ee5cb=_0xa2269c(0x268),_0x20ad32='collab-text-range-',_0x31c2ae=_0xa2269c(0x416),_0x53cfc9=0x6,_0xf91a10=1.5,_0x3a8d60=0x4,_0x1fdad0=1.5,_0x3d44c3=_0xa2269c(0x349);class _0x5ed346{constructor(_0x3ce6ce,_0x388b7a,_0x5205e6,_0x1f8d06){const _0x4d14e5=_0xa2269c;_0x354915(this,_0x4d14e5(0x3da),[]),_0x354915(this,_0x4d14e5(0x300),null),_0x354915(this,_0x4d14e5(0x2b7),null),_0x354915(this,'_anchorDot',null),_0x354915(this,_0x4d14e5(0x40c),null),_0x354915(this,_0x4d14e5(0x230),null),(this[_0x4d14e5(0x38f)]=_0x3ce6ce,this[_0x4d14e5(0x293)]=_0x388b7a,this[_0x4d14e5(0x33c)]=_0x5205e6,this[_0x4d14e5(0x1af)]=_0x1f8d06,this[_0x4d14e5(0x147)]());}set['_hover'](_0x1bd7b7){const _0x1092fa=_0xa2269c;_0x1bd7b7?(this[_0x1092fa(0x3df)]&&this[_0x1092fa(0x3df)][_0x1092fa(0x18f)](),this[_0x1092fa(0x2b7)]&&this[_0x1092fa(0x2b7)][_0x1092fa(0x277)]()):(this['_anchorDot']&&this[_0x1092fa(0x3df)][_0x1092fa(0x277)](),this[_0x1092fa(0x2b7)]&&this['_textBubble'][_0x1092fa(0x18f)]());}['dispose'](){const _0x83aab1=_0xa2269c;for(const _0x18948d of this['_shapes'])_0x18948d['dispose']();this[_0x83aab1(0x2b7)]&&this[_0x83aab1(0x2b7)][_0x83aab1(0x212)](),this[_0x83aab1(0x3df)]&&this[_0x83aab1(0x3df)][_0x83aab1(0x212)](),this[_0x83aab1(0x300)]&&this[_0x83aab1(0x300)]['dispose'](),this[_0x83aab1(0x230)]&&this[_0x83aab1(0x230)]();}[_0xa2269c(0x147)](){const _0x46e73b=_0xa2269c;var _0x15f3c7;const {_docSkeleton:_0x165dcc,_document:_0x25b06e}=this,{color:_0x15489d,name:_0x38162b,ranges:_0x3adfa7}=this['_cursor'],_0x13b584=_0x25b06e[_0x46e73b(0x1de)](),{docsLeft:_0x55abce,docsTop:_0x3ccfa0}=_0x13b584,_0x495f07=new _0x466fa5[(_0x46e73b(0x2cb))](_0x13b584,_0x165dcc);for(const {startOffset:_0x275b45,endOffset:_0x5a1a49,rangeType:_0x5744ee,segmentId:_0x3859bb,segmentPage:_0x274606,collapsed:_0x20fdbe,isActive:_0x5143b0}of _0x3adfa7){const _0x292f3b=_0x165dcc[_0x46e73b(0x31f)](_0x275b45,!0x0,_0x3859bb,_0x274606);let _0x230a9a=_0x165dcc[_0x46e73b(0x31f)](_0x5a1a49,!0x0,_0x3859bb,_0x274606);if(_0x230a9a==null&&(_0x230a9a=_0x165dcc[_0x46e73b(0x31f)](_0x5a1a49-0x1,!0x1,_0x3859bb,_0x274606)),_0x5143b0){const {contentBoxPointGroup:_0x3790d3}=_0x495f07[_0x46e73b(0x1ff)](_0x230a9a,_0x230a9a);if(_0x3790d3['length']===0x0)continue;this[_0x46e73b(0x3e8)](_0x15489d,_0x3790d3,_0x55abce,_0x3ccfa0,_0x38162b),this[_0x46e73b(0x230)]=this['_handleHover']();}if(_0x292f3b&&_0x230a9a){if(_0x5744ee===_0x63378d[_0x46e73b(0x418)][_0x46e73b(0x1b7)]){const _0x23b6c3=new _0x466fa5[(_0x46e73b(0x37f))](_0x13b584,_0x165dcc),{pointGroup:_0x5ea46b}=(_0x15f3c7=_0x23b6c3[_0x46e73b(0x1ff)](_0x292f3b,_0x230a9a))!=null?_0x15f3c7:{};if(_0x5ea46b==null||_0x5ea46b[_0x46e73b(0x3af)]===0x0)continue;this['_drawRectRange'](_0x15489d,_0x5ea46b,_0x55abce,_0x3ccfa0);}else{if(!_0x20fdbe){const {borderBoxPointGroup:_0x235645}=_0x495f07[_0x46e73b(0x1ff)](_0x292f3b,_0x230a9a);if(_0x235645[_0x46e73b(0x3af)]===0x0)continue;this[_0x46e73b(0x17b)](_0x15489d,_0x235645,_0x55abce,_0x3ccfa0);}}}}}[_0xa2269c(0x3e8)](_0x3b2547,_0x40872a,_0x153e58,_0x474f3f,_0x9ec782){const _0x5f45aa=_0xa2269c,_0x13198e=this[_0x5f45aa(0x3b5)](_0x40872a),{left:_0x2b3752,top:_0x46a6b4,height:_0x481c7e}=_0x13198e,_0x55c11a=this['_getScale'](),_0x2336ef=_0x1fdad0/_0x55c11a,_0x3dae01=new _0x3be252[(_0x5f45aa(0x3b6))](_0x5ee5cb+_0x63378d[_0x5f45aa(0x311)](_0x53cfc9),{'left':_0x2b3752+_0x153e58-_0x2336ef,'top':_0x46a6b4+_0x474f3f,'height':_0x481c7e,'width':_0xf91a10,'fill':_0x3b2547||_0x3be252['getColor'](_0x63378d[_0x5f45aa(0x177)]['black'],0x0),'strokeWidth':_0x2336ef,'stroke':_0x3d44c3,'evented':!0x0});this[_0x5f45aa(0x300)]=_0x3dae01,this[_0x5f45aa(0x293)]['addObject'](_0x3dae01,_0x466fa5[_0x5f45aa(0x167)]);const _0x254137=new _0x3be252[(_0x5f45aa(0x3b6))](_0x5ee5cb+_0x63378d[_0x5f45aa(0x311)](_0x53cfc9),{'left':_0x2b3752+_0x153e58-_0x2336ef,'top':_0x46a6b4+_0x474f3f-_0x3a8d60/0x2,'height':_0x3a8d60,'width':_0x3a8d60,'fill':_0x3b2547||_0x3be252[_0x5f45aa(0x3c1)](_0x63378d[_0x5f45aa(0x177)][_0x5f45aa(0x406)],0x0),'strokeWidth':0x0,'stroke':_0x3b2547||_0x3be252['getColor'](_0x63378d['COLORS'][_0x5f45aa(0x406)],0x0),'evented':!0x1});this[_0x5f45aa(0x3df)]=_0x254137,this[_0x5f45aa(0x293)]['addObject'](_0x254137,_0x466fa5[_0x5f45aa(0x167)]);const _0x3c5382=new _0x19ce18(_0x5ee5cb+_0x63378d[_0x5f45aa(0x311)](_0x53cfc9),{'left':_0x2b3752+_0x153e58-_0x2336ef,'top':_0x46a6b4+_0x474f3f-_0x5d0cb4,'text':_0x9ec782,'color':_0x3b2547});this['_textBubble']=_0x3c5382,this[_0x5f45aa(0x293)][_0x5f45aa(0x201)](_0x3c5382,_0x466fa5['TEXT_RANGE_LAYER_INDEX']),this[_0x5f45aa(0x360)]=!0x1;}[_0xa2269c(0x289)](){const _0x112cb8=_0xa2269c,_0x439e1b=this[_0x112cb8(0x300)]['onPointerEnter$'][_0x112cb8(0x334)](()=>{const _0xb44066=_0x112cb8;this[_0xb44066(0x360)]=!0x0;}),_0x18471c=this[_0x112cb8(0x300)]['onPointerLeave$'][_0x112cb8(0x334)](()=>{const _0x2bcf4f=_0x112cb8;this[_0x2bcf4f(0x40c)]&&clearTimeout(this[_0x2bcf4f(0x40c)]),this[_0x2bcf4f(0x40c)]=setTimeout(()=>{const _0x51423d=_0x2bcf4f;this[_0x51423d(0x360)]=!0x1;},0x7d0);});return()=>{const _0x4b85b4=_0x112cb8;_0x439e1b['unsubscribe'](),_0x18471c[_0x4b85b4(0x21d)]();};}['_drawTextRange'](_0x23e543,_0x2176bd,_0x4a967b,_0x2d4edb){const _0x170bad=_0xa2269c,_0x23227f=new _0x63378d['ColorKit'](_0x23e543)['setAlpha'](0.2)[_0x170bad(0x292)](),_0x3e3cb9=new _0x3be252[(_0x170bad(0x243))](_0x20ad32+_0x63378d[_0x170bad(0x311)](_0x53cfc9),{'pointsGroup':_0x2176bd,'fill':_0x23227f||_0x3be252[_0x170bad(0x3c1)](_0x63378d[_0x170bad(0x177)][_0x170bad(0x406)],0.2),'left':_0x4a967b,'top':_0x2d4edb,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x170bad(0x3da)][_0x170bad(0x2ca)](_0x3e3cb9),this['_scene'][_0x170bad(0x201)](_0x3e3cb9,_0x466fa5[_0x170bad(0x167)]);}['_drawRectRange'](_0x24717e,_0x2877ee,_0x6f25d,_0x38a70f){const _0x2d7bc6=_0xa2269c,_0x9f08e2=new _0x63378d[(_0x2d7bc6(0x215))](_0x24717e)[_0x2d7bc6(0x31b)](0.2)[_0x2d7bc6(0x292)](),_0x555c4d=new _0x3be252[(_0x2d7bc6(0x243))](_0x31c2ae+_0x63378d['generateRandomId'](_0x53cfc9),{'pointsGroup':_0x2877ee,'fill':_0x9f08e2||_0x3be252[_0x2d7bc6(0x3c1)](_0x63378d['COLORS'][_0x2d7bc6(0x406)],0.2),'left':_0x6f25d,'top':_0x38a70f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2d7bc6(0x3da)]['push'](_0x555c4d),this[_0x2d7bc6(0x293)]['addObject'](_0x555c4d,_0x466fa5['TEXT_RANGE_LAYER_INDEX']);}[_0xa2269c(0x3b5)](_0x2f1a6a){const _0x3ddbd8=_0x2f1a6a[0x0],_0x4414cf=_0x3ddbd8[0x0],_0x388fb5=_0x3ddbd8[0x2],{x:_0x34fa7f,y:_0x3a20e8}=_0x4414cf,{x:_0x188cc3,y:_0x14f281}=_0x388fb5;return{'left':_0x34fa7f,'top':_0x3a20e8,'width':_0x188cc3-_0x34fa7f,'height':_0x14f281-_0x3a20e8};}[_0xa2269c(0x1e7)](){const _0x2da4b1=_0xa2269c,{scaleX:_0x404dcc,scaleY:_0x512c08}=this['_scene'][_0x2da4b1(0x3ff)]();return Math[_0x2da4b1(0x42b)](_0x404dcc,_0x512c08);}}var _0x2e951c=Object[_0xa2269c(0x2ee)],_0x1aeba4=(_0x2bd56f,_0x555368,_0x5b105f,_0x235a22)=>{for(var _0x8ad11b=_0x235a22>0x1?void 0x0:_0x235a22?_0x2e951c(_0x555368,_0x5b105f):_0x555368,_0x34cc93=_0x2bd56f['length']-0x1,_0x4970cb;_0x34cc93>=0x0;_0x34cc93--)(_0x4970cb=_0x2bd56f[_0x34cc93])&&(_0x8ad11b=_0x4970cb(_0x8ad11b)||_0x8ad11b);return _0x8ad11b;},_0x205a67=(_0x2d930f,_0x176cf4)=>(_0x195a9a,_0x4eda20)=>_0x176cf4(_0x195a9a,_0x4eda20,_0x2d930f);let _0x13c409=class extends _0x63378d[_0xa2269c(0x1ac)]{constructor(_0x1da0bf,_0x2089c1,_0x35dcc7,_0x1b0d15,_0x148164){const _0x18e100=_0xa2269c;super(),_0x354915(this,_0x18e100(0x2b9),[]),_0x354915(this,_0x18e100(0x267),[]),(this[_0x18e100(0x363)]=_0x1da0bf,this[_0x18e100(0x2dd)]=_0x2089c1,this[_0x18e100(0x1c5)]=_0x35dcc7,this[_0x18e100(0x234)]=_0x1b0d15,this[_0x18e100(0x25e)]=_0x148164,this[_0x18e100(0x29a)]());}['_init'](){const _0x53bc0e=_0xa2269c,_0x7fa4d3=this[_0x53bc0e(0x363)][_0x53bc0e(0x1bb)],_0xa0995e=this[_0x53bc0e(0x2dd)];this[_0x53bc0e(0x165)](_0xdb7e78[_0x53bc0e(0x25b)]([this[_0x53bc0e(0x1c5)][_0x53bc0e(0x2a6)](_0x7fa4d3),this[_0x53bc0e(0x25e)][_0x53bc0e(0x3f5)]])[_0x53bc0e(0x287)](_0x410faa[_0x53bc0e(0x1e3)](([_0x4155d4,_0x6354b6])=>({'skeleton':_0xa0995e['getSkeleton'](),'cursors':[..._0x4155d4['values']()][_0x53bc0e(0x2cf)](_0x101c8b=>({..._0x101c8b,'color':this[_0x53bc0e(0x25e)]['getColorFromTheme'](_0x101c8b['color'])}))})))[_0x53bc0e(0x3bd)](_0x480345=>{const _0x1a86d9=_0x53bc0e;if(this[_0x1a86d9(0x39e)](),_0x480345){const {skeleton:_0x117549,cursors:_0x3545c0}=_0x480345;this[_0x1a86d9(0x195)](_0x117549,_0x3545c0);}})),this['_initResize'](),this[_0x53bc0e(0x2e4)]();}[_0xa2269c(0x195)](_0x1972d9,_0x4c2dc4){const _0x86c05d=_0xa2269c,{scene:_0x49bfa9,mainComponent:_0x3b5d4d}=this['_context'],_0x1e0e21=_0x4c2dc4[_0x86c05d(0x1e3)](_0x4ad91f=>new _0x5ed346(_0x4ad91f,_0x49bfa9,_0x1972d9,_0x3b5d4d));this['_cursorShapes']=_0x1e0e21,this['_cursors']=_0x4c2dc4;}['_refreshCollabCursors'](){const _0x1d066f=_0xa2269c;this[_0x1d066f(0x39e)]();const {scene:_0x487ab1,mainComponent:_0x4f4e89}=this['_context'],_0x169e18=this[_0x1d066f(0x2dd)][_0x1d066f(0x1f4)](),_0x41e64e=this[_0x1d066f(0x267)][_0x1d066f(0x1e3)](_0x2abd89=>new _0x5ed346(_0x2abd89,_0x487ab1,_0x169e18,_0x4f4e89));this[_0x1d066f(0x2b9)]=_0x41e64e;}[_0xa2269c(0x39e)](){const _0x15fa29=_0xa2269c;this[_0x15fa29(0x2b9)]['forEach'](_0x40785a=>_0x40785a[_0x15fa29(0x212)]()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x5cf580=_0xa2269c,_0x3642f6=[_0x466fa5[_0x5cf580(0x377)]['id']];this[_0x5cf580(0x165)](this[_0x5cf580(0x234)][_0x5cf580(0x172)](_0x3642f9=>{const _0x2c6129=_0x5cf580;_0x3642f6['includes'](_0x3642f9['id'])&&_0x3642f9[_0x2c6129(0x364)][_0x2c6129(0x1bb)]===this[_0x2c6129(0x363)][_0x2c6129(0x1bb)]&&this[_0x2c6129(0x39b)]();}));}[_0xa2269c(0x152)](){const _0x31b05d=_0xa2269c;this[_0x31b05d(0x165)](_0x63378d[_0x31b05d(0x13e)](this[_0x31b05d(0x363)][_0x31b05d(0x1cf)]['onTransformChange$'])[_0x31b05d(0x287)](_0x410faa[_0x31b05d(0x131)](_0x52e992=>_0x52e992[_0x31b05d(0x1f3)]===_0x3be252[_0x31b05d(0x3e1)][_0x31b05d(0x2b6)]),_0x410faa['throttleTime'](0x10))[_0x31b05d(0x3bd)](()=>{this['_refreshCollabCursors']();}));}};_0x13c409=_0x1aeba4([_0x205a67(0x1,_0x63378d[_0xa2269c(0x1ce)](_0x461a0f[_0xa2269c(0x37e)])),_0x205a67(0x2,_0x63378d[_0xa2269c(0x1ce)](_0x64597c)),_0x205a67(0x3,_0x63378d['ICommandService']),_0x205a67(0x4,_0x63378d[_0xa2269c(0x1ce)](_0x63378d[_0xa2269c(0x174)]))],_0x13c409);const _0x2311d3=0x1,_0x591a0c=1.5;class _0x205978 extends _0x3be252[_0xa2269c(0x42d)]{constructor(_0x516215,_0x264040){const _0x4c148c=_0xa2269c;var _0x5a6b05,_0x57a940;super(_0x516215,_0x264040),_0x354915(this,'_color'),_0x354915(this,_0x4c148c(0x35e),!0x1),_0x354915(this,_0x4c148c(0x3fd)),_0x354915(this,_0x4c148c(0x15e),''),_0x354915(this,_0x4c148c(0x37c),_0x4c148c(0x20b)),_0x354915(this,_0x4c148c(0x1a7)),_0x354915(this,_0x4c148c(0x353)),_0x354915(this,'_highlight'),_0x354915(this,_0x4c148c(0x2af),0x4),_0x354915(this,'_blinkTimer'),_0x354915(this,_0x4c148c(0x2aa)),_0x354915(this,_0x4c148c(0x371),!0x0),_0x354915(this,'_offsetY',0x0),(_0x264040&&(this[_0x4c148c(0x2be)](_0x264040),_0x264040[_0x4c148c(0x322)]&&((_0x5a6b05=_0x264040[_0x4c148c(0x16c)])!=null?_0x5a6b05:this[_0x4c148c(0x2af)])&&this[_0x4c148c(0x237)]((_0x57a940=_0x264040['highlightSecond'])!=null?_0x57a940:this[_0x4c148c(0x2af)])),this[_0x4c148c(0x1a8)][_0x4c148c(0x334)](()=>this[_0x4c148c(0x2be)]({'hovered':!0x0})),this[_0x4c148c(0x173)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}['setOffsetY'](_0x103f91){const _0x1fb073=_0xa2269c;this[_0x1fb073(0x3d3)]=_0x103f91;}[_0xa2269c(0x2be)](_0x3ee671){const _0x132723=_0xa2269c;var _0x379221,_0x3bbd8a,_0x3691cc,_0x1161a5,_0x32dc47,_0x281af7,_0x124ab6;this[_0x132723(0x1eb)]=(_0x379221=_0x3ee671['color'])!=null?_0x379221:this[_0x132723(0x1eb)],this[_0x132723(0x35e)]=(_0x3bbd8a=_0x3ee671[_0x132723(0x202)])!=null?_0x3bbd8a:this['_hovered'],this[_0x132723(0x3fd)]=(_0x3691cc=_0x3ee671[_0x132723(0x373)])!=null?_0x3691cc:this[_0x132723(0x3fd)],this[_0x132723(0x15e)]=(_0x1161a5=_0x3ee671[_0x132723(0x1f8)])!=null?_0x1161a5:this['_name'],this[_0x132723(0x37c)]=(_0x32dc47=_0x3ee671[_0x132723(0x21e)])!=null?_0x32dc47:this['_labelPosition'],this['_backgroundColor']=(_0x281af7=_0x3ee671[_0x132723(0x192)])!=null?_0x281af7:this[_0x132723(0x1a7)],this['_showText']=(_0x124ab6=_0x3ee671['showText'])!=null?_0x124ab6:this[_0x132723(0x353)],_0x3ee671[_0x132723(0x16c)]!==void 0x0&&(this[_0x132723(0x2af)]=_0x3ee671[_0x132723(0x16c)]),_0x3ee671['highlight']!==void 0x0&&(this['_highlight']=_0x3ee671[_0x132723(0x322)]),_0x3ee671[_0x132723(0x30a)]!==void 0x0&&(this[_0x132723(0x3d3)]=_0x3ee671['offsetY']),this[_0x132723(0x157)]({'width':_0x3ee671[_0x132723(0x208)],'height':_0x3ee671[_0x132723(0x1ee)]});}[_0xa2269c(0x26e)](_0x158b2d){const _0x422b81=_0xa2269c,{row:_0x238b76,column:_0x49e702}=_0x158b2d;if(_0x238b76>=this[_0x422b81(0x3fd)][_0x422b81(0x2c6)]&&_0x238b76<=this[_0x422b81(0x3fd)][_0x422b81(0x2f1)]&&_0x49e702>=this[_0x422b81(0x3fd)][_0x422b81(0x41a)]&&_0x49e702<=this[_0x422b81(0x3fd)][_0x422b81(0x1e4)]){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0xa2269c(0x237)](_0x503512){const _0x32bd0f=_0xa2269c;this[_0x32bd0f(0x170)](),this[_0x32bd0f(0x371)]=!0x0,this['_blinkIntervalTimer']=window[_0x32bd0f(0x344)](()=>{const _0x5844e6=_0x32bd0f;this[_0x5844e6(0x371)]=!this[_0x5844e6(0x371)],this[_0x5844e6(0x2c1)](!0x0);},0x1f4),this[_0x32bd0f(0x22b)]=window[_0x32bd0f(0x409)](()=>{const _0x40161b=_0x32bd0f;this[_0x40161b(0x170)](),this[_0x40161b(0x371)]=!0x0,this['makeDirty'](!0x0);},_0x503512*0x3e8);}['_stopBlinking'](){const _0xde91ee=_0xa2269c;this[_0xde91ee(0x2aa)]&&(window[_0xde91ee(0x1a1)](this['_blinkIntervalTimer']),this[_0xde91ee(0x2aa)]=void 0x0),this[_0xde91ee(0x22b)]&&(window['clearTimeout'](this[_0xde91ee(0x22b)]),this[_0xde91ee(0x22b)]=void 0x0);}[_0xa2269c(0x33a)](_0x41f97b){return!0x1;}[_0xa2269c(0x212)](){const _0x3bf8f7=_0xa2269c;this[_0x3bf8f7(0x170)](),super[_0x3bf8f7(0x212)]();}[_0xa2269c(0x34e)](_0x1c2d6f){const _0x506919=_0xa2269c;var _0x4551c4,_0x3ed101;let _0x5bdfc8=this['_color'],_0x5ab784=this[_0x506919(0x1a7)];this['_highlight']&&!this[_0x506919(0x371)]&&(_0x5bdfc8=this[_0x506919(0x32f)](this[_0x506919(0x1eb)]),_0x5ab784=this[_0x506919(0x1a7)]?this[_0x506919(0x32f)](this[_0x506919(0x1a7)]):void 0x0),_0x3be252[_0x506919(0x3b6)][_0x506919(0x336)](_0x1c2d6f,{'width':this[_0x506919(0x208)],'height':this[_0x506919(0x1ee)],'strokeWidth':(_0x4551c4=this['strokeWidth'])!=null?_0x4551c4:_0x591a0c,'stroke':_0x5bdfc8,'evented':!0x1,'fill':_0x5ab784}),(this[_0x506919(0x35e)]||this[_0x506919(0x353)])&&(_0x1c2d6f[_0x506919(0x180)](),_0x1c2d6f[_0x506919(0x394)](0x1,0x0,0x0,0x1,this[_0x506919(0x208)],(this[_0x506919(0x37c)]===_0x506919(0x21a)?0x0:-_0x5d0cb4)+((_0x3ed101=this[_0x506919(0x3d3)])!=null?_0x3ed101:0x0)),_0x19ce18[_0x506919(0x336)](_0x1c2d6f,{'text':this[_0x506919(0x15e)],'color':_0x5bdfc8}),_0x1c2d6f[_0x506919(0x405)]());}['_getLighterColor'](_0x2d05bc){const _0x46ee47=_0xa2269c;if(_0x2d05bc[_0x46ee47(0x3e5)]('#')){const _0x410cc5=Number['parseInt'](_0x2d05bc[_0x46ee47(0x2a1)](0x1,0x3),0x10),_0x4a3548=Number[_0x46ee47(0x213)](_0x2d05bc[_0x46ee47(0x2a1)](0x3,0x5),0x10),_0x18ce45=Number[_0x46ee47(0x213)](_0x2d05bc['slice'](0x5,0x7),0x10);return'rgba('+_0x410cc5+',\x20'+_0x4a3548+',\x20'+_0x18ce45+_0x46ee47(0x317);}return _0x2d05bc['startsWith'](_0x46ee47(0x2f5))?_0x2d05bc[_0x46ee47(0x3f2)](/[\d.]+\)$/g,_0x46ee47(0x35c)):_0x2d05bc[_0x46ee47(0x3e5)](_0x46ee47(0x422))?_0x2d05bc[_0x46ee47(0x3f2)](_0x46ee47(0x422),_0x46ee47(0x2f5))['replace'](')',_0x46ee47(0x317)):_0x2d05bc;}}var _0x1113dc=Object[_0xa2269c(0x2ee)],_0xf0af5f=(_0x33cc46,_0x2211f8,_0x135d96,_0x54981d)=>{const _0x10b083=_0xa2269c;for(var _0x2953d0=_0x54981d>0x1?void 0x0:_0x54981d?_0x1113dc(_0x2211f8,_0x135d96):_0x2211f8,_0x3c1bd2=_0x33cc46[_0x10b083(0x3af)]-0x1,_0x555fab;_0x3c1bd2>=0x0;_0x3c1bd2--)(_0x555fab=_0x33cc46[_0x3c1bd2])&&(_0x2953d0=_0x555fab(_0x2953d0)||_0x2953d0);return _0x2953d0;},_0xdb520c=(_0x371abe,_0x143e3b)=>(_0x57e449,_0x351bd0)=>_0x143e3b(_0x57e449,_0x351bd0,_0x371abe);const _0x2f7455=0x1389;let _0x1331e9=class extends _0x63378d[_0xa2269c(0x1ac)]{constructor(_0x3136b0,_0x375b6c,_0x35e496,_0x5e3366){const _0x361d2c=_0xa2269c;super(),_0x354915(this,'_cursors',new Set()),_0x354915(this,_0x361d2c(0x391),null),(this[_0x361d2c(0x363)]=_0x3136b0,this[_0x361d2c(0x38a)]=_0x375b6c,this['_collabCursorController']=_0x35e496,this[_0x361d2c(0x25e)]=_0x5e3366,this['_init']());}['_init'](){const _0x19dd4a=_0xa2269c;this[_0x19dd4a(0x38a)][_0x19dd4a(0x2d3)][_0x19dd4a(0x287)](_0x410faa['takeUntil'](this[_0x19dd4a(0x3f6)]),_0x410faa[_0x19dd4a(0x390)](_0x3ab0a3=>{const _0x207143=_0x19dd4a;if(_0x3ab0a3){const _0x2202c6=_0x3ab0a3[_0x207143(0x18b)];return _0xdb7e78[_0x207143(0x25b)](this[_0x207143(0x1c5)][_0x207143(0x2a6)](this['_context'][_0x207143(0x1bb)]),this['_themeService']['currentTheme$'])[_0x207143(0x287)](_0x410faa['map'](([_0x1de5ab,_0x567d06])=>{const _0xae27d3=_0x207143,_0x2391f8=new Map();return _0x1de5ab[_0xae27d3(0x399)]((_0x5360da,_0x33fcdc)=>{const _0x2fecaa=_0xae27d3;if(_0x5360da['sheetID']===_0x2202c6){const _0x2e077c={..._0x5360da};_0x2e077c[_0x2fecaa(0x3fb)]=this['_themeService'][_0x2fecaa(0x2ab)](_0x5360da['color']),_0x2391f8[_0x2fecaa(0x233)](_0x33fcdc,_0x2e077c);}}),{'skeleton':_0x3ab0a3,'cursors':_0x2391f8};}));}return _0xdb7e78['of']({'skeleton':null,'cursors':new Map()});}))[_0x19dd4a(0x3bd)](({skeleton:_0x1f3da3,cursors:_0x20cc8b})=>{const _0x4c26e9=_0x19dd4a;this['_removeCollabCursors'](),_0x1f3da3&&this[_0x4c26e9(0x195)](_0x1f3da3,_0x20cc8b);}),this[_0x19dd4a(0x38a)][_0x19dd4a(0x2d3)][_0x19dd4a(0x3bd)](_0x4ad105=>{const _0x3df926=_0x19dd4a;if(_0x4ad105==null)return;const {skeleton:_0x4be836}=_0x4ad105,{scene:_0x4535e3}=this[_0x3df926(0x363)];_0x4535e3['onPointerMove$'][_0x3df926(0x334)](_0x63378d[_0x3df926(0x134)](_0x199752=>{const _0x232055=_0x3df926;var _0x2c19db,_0x4845a0;const {offsetX:_0x3a59f3,offsetY:_0x80fd41}=_0x199752,{x:_0x142595,y:_0x492333}=_0x4535e3[_0x232055(0x221)](_0x3be252[_0x232055(0x214)][_0x232055(0x150)]([_0x3a59f3,_0x80fd41])),{scaleX:_0x26a7da,scaleY:_0x165edf}=_0x4535e3['getAncestorScale'](),_0x50db9f=_0x4535e3[_0x232055(0x3b7)](_0x3be252[_0x232055(0x18d)][_0x232055(0x26c)]),_0x17d241=_0x4535e3[_0x232055(0x1c8)](_0x3be252['Vector2'][_0x232055(0x150)]([_0x142595,_0x492333]),_0x50db9f),_0xbcd2bf=_0x4be836[_0x232055(0x224)](_0x3a59f3,_0x80fd41,_0x26a7da,_0x165edf,_0x17d241);((_0x2c19db=this[_0x232055(0x391)])==null?void 0x0:_0x2c19db[_0x232055(0x249)])===_0xbcd2bf['column']&&((_0x4845a0=this[_0x232055(0x391)])==null?void 0x0:_0x4845a0['row'])===_0xbcd2bf[_0x232055(0x24c)]||this['_cursors']['forEach'](_0x1a3aac=>{const _0x10b9d6=_0x232055;_0x1a3aac[_0x10b9d6(0x26e)](_0xbcd2bf);});},0x64));});}[_0xa2269c(0x195)](_0x323960,_0x27091a){const _0x11763b=_0xa2269c;var _0x4eee2c;const _0x4794a9=(_0x4eee2c=this['_sheetSkeletonManagerService'][_0x11763b(0x2ec)]())==null?void 0x0:_0x4eee2c[_0x11763b(0x327)];if(!_0x4794a9)return;const _0x442444=this[_0x11763b(0x3bf)]();if(!_0x442444)return;this[_0x11763b(0x267)][_0x11763b(0x399)](_0x4057d2=>{const _0x1c6531=_0x11763b;_0x4057d2[_0x1c6531(0x2c1)]();});const {scene:_0x46dd93}=_0x442444,_0x56ffc0=_0x56f43a(Array[_0x11763b(0x140)](_0x27091a[_0x11763b(0x28a)]()))[_0x11763b(0x1e3)](_0x4e938c=>{const _0x21f102=_0x11763b,{color:_0x13cb4c,range:_0x528e2d,name:_0x113ac0,selection:_0x3a1fa0,sheetID:_0x163825}=_0x4e938c,{startColumn:_0x32d678,startRow:_0x1a980b,endColumn:_0x474e36,endRow:_0x5549ce}=_0x528e2d,_0x4f196f=_0x128e05[_0x21f102(0x19c)](_0x1a980b,_0x32d678,_0x46dd93,_0x4794a9),_0x5c3677=_0x128e05['getCoordByCell'](_0x5549ce,_0x474e36,_0x46dd93,_0x4794a9),{columnHeaderHeightAndMarginTop:_0x107396}=_0x4794a9,{startX:_0x53f0b8,startY:_0x1ea8ed}=_0x4f196f,{endX:_0xa7b4e9,endY:_0x4794a}=_0x5c3677,_0x554718=_0xa7b4e9-_0x53f0b8,_0x2cd02c=_0x4794a-_0x1ea8ed,_0x44d6e6={'labelPosition':_0x1ea8ed-_0x107396>=_0x5d0cb4?_0x21f102(0x20b):_0x21f102(0x21a),'sheetID':_0x163825,'range':_0x528e2d,'color':_0x13cb4c,'name':_0x113ac0,'selection':_0x3a1fa0,'left':_0x53f0b8,'top':_0x1ea8ed,'width':_0x554718,'height':_0x2cd02c,'evented':!0x1,'zIndex':_0x2f7455};return new _0x205978(_0x113ac0,_0x44d6e6);});_0x46dd93[_0x11763b(0x34b)](_0x56ffc0,_0x2311d3),this[_0x11763b(0x267)]=new Set(_0x56ffc0);}[_0xa2269c(0x39e)](){const _0x341919=_0xa2269c;var _0x199a3e;(_0x199a3e=this['_cursors'])==null||_0x199a3e[_0x341919(0x399)](_0x152f72=>_0x152f72[_0x341919(0x212)]());}[_0xa2269c(0x3bf)](){const _0x593d21=_0xa2269c;return _0x128e05['getSheetObject'](this[_0x593d21(0x363)][_0x593d21(0x35b)],this[_0x593d21(0x363)]);}};_0x1331e9=_0xf0af5f([_0xdb520c(0x1,_0x63378d[_0xa2269c(0x1ce)](_0x128e05[_0xa2269c(0x24f)])),_0xdb520c(0x2,_0x63378d[_0xa2269c(0x1ce)](_0x64597c)),_0xdb520c(0x3,_0x63378d[_0xa2269c(0x1ce)](_0x63378d['ThemeService']))],_0x1331e9);function _0x56f43a(_0x4c4037){const _0x3dcbb1=_0xa2269c,_0xe7b28d=new Map();return _0x4c4037['forEach'](_0x47d575=>{const _0x5629a8=_0x529e;if(_0xe7b28d[_0x5629a8(0x305)](_0x47d575[_0x5629a8(0x163)])){const _0x523e7c=_0xe7b28d['get'](_0x47d575[_0x5629a8(0x163)]);_0x523e7c[_0x5629a8(0x1f8)]+=',\x20'+_0x47d575[_0x5629a8(0x1f8)];}else _0xe7b28d[_0x5629a8(0x233)](_0x47d575[_0x5629a8(0x163)],_0x47d575);}),Array[_0x3dcbb1(0x140)](_0xe7b28d['values']());}var _0x5244b0=Object[_0xa2269c(0x2ee)],_0x39f9dc=(_0x563bdf,_0x19cef9,_0x39524d,_0x42f715)=>{for(var _0x54622f=_0x42f715>0x1?void 0x0:_0x42f715?_0x5244b0(_0x19cef9,_0x39524d):_0x19cef9,_0xa04517=_0x563bdf['length']-0x1,_0x627d77;_0xa04517>=0x0;_0xa04517--)(_0x627d77=_0x563bdf[_0xa04517])&&(_0x54622f=_0x627d77(_0x54622f)||_0x54622f);return _0x54622f;},_0x10a510=(_0x4dee72,_0x139213)=>(_0x3aca7a,_0x455ccd)=>_0x139213(_0x3aca7a,_0x455ccd,_0x4dee72);let _0x158e9b=class extends _0x63378d['Disposable']{constructor(_0x41d25a,_0x4bab6b,_0x3d39a9,_0x4420da,_0x540eed,_0x1ec05c){const _0x58b8e8=_0xa2269c;super(),this[_0x58b8e8(0x3d8)]=_0x41d25a,this['_localCacheService']=_0x4bab6b,this['_collaborationUIEventService']=_0x3d39a9,this[_0x58b8e8(0x295)]=_0x4420da,this[_0x58b8e8(0x2b3)]=_0x540eed,this['_localeService']=_0x1ec05c,this[_0x58b8e8(0x38e)](),this[_0x58b8e8(0x356)]();}['_setupBeforeClosingHandler'](){const _0x5e78b7=_0xa2269c;this[_0x5e78b7(0x165)](this['_beforeCloseService'][_0x5e78b7(0x181)](()=>{const _0x5b075b=_0x5e78b7;if(this[_0x5b075b(0x2f9)]['saveTaskMap'][_0x5b075b(0x368)])return this[_0x5b075b(0x1f2)]['t'](_0x5b075b(0x290));}));}[_0xa2269c(0x356)](){const _0x2b1af4=_0xa2269c;this['disposeWithMe'](this[_0x2b1af4(0x251)][_0x2b1af4(0x3eb)][_0x2b1af4(0x3bd)](_0x3a4de4=>{const _0x4d8f0e=_0x2b1af4;_0x3a4de4['id']===_0x49b930['CollaborationUIEventId']['OTHER_CLIENT_EDITING']&&this[_0x4d8f0e(0x295)][_0x4d8f0e(0x277)]({'type':_0x25c8b9[_0x4d8f0e(0x2d0)]['Warning'],'content':this['_localeService']['t'](_0x4d8f0e(0x3ac))}),_0x3a4de4['id']===_0x49b930[_0x4d8f0e(0x2c2)][_0x4d8f0e(0x354)]&&this['_messageService']['show']({'type':_0x25c8b9[_0x4d8f0e(0x2d0)][_0x4d8f0e(0x19a)],'content':this[_0x4d8f0e(0x1f2)]['t'](_0x4d8f0e(0x37a))}),_0x3a4de4['id']===_0x49b930[_0x4d8f0e(0x2c2)][_0x4d8f0e(0x2c7)]&&this[_0x4d8f0e(0x2b3)][_0x4d8f0e(0x277)]({'title':this[_0x4d8f0e(0x1f2)]['t'](_0x4d8f0e(0x263)),'content':this[_0x4d8f0e(0x1f2)]['t'](_0x4d8f0e(0x1d8)),'type':_0x4d8f0e(0x33d),'duration':0x0}),_0x3a4de4['id']===_0x49b930['CollaborationUIEventId']['CONFLICT']&&this[_0x4d8f0e(0x295)]['show']({'type':_0x25c8b9[_0x4d8f0e(0x2d0)]['Error'],'content':this[_0x4d8f0e(0x1f2)]['t'](_0x4d8f0e(0x37a))+'('+_0x3a4de4['data']+')'}),_0x3a4de4['id']===_0x49b930['CollaborationUIEventId']['JOIN_ROOM_FAILED']&&this[_0x4d8f0e(0x295)]['show']({'type':_0x25c8b9[_0x4d8f0e(0x2d0)]['Warning'],'content':this[_0x4d8f0e(0x1f2)]['t'](_0x3a4de4[_0x4d8f0e(0x347)]||'')}),_0x3a4de4['id']===_0x49b930[_0x4d8f0e(0x2c2)]['SOCKET_FAILED_RETRY']&&this['_messageService']['show']({'type':_0x25c8b9[_0x4d8f0e(0x2d0)][_0x4d8f0e(0x19a)],'content':this['_localeService']['t'](_0x4d8f0e(0x2b0))}),_0x3a4de4['id']===_0x49b930[_0x4d8f0e(0x2c2)][_0x4d8f0e(0x236)]&&this['_messageService'][_0x4d8f0e(0x277)]({'type':_0x25c8b9['MessageType'][_0x4d8f0e(0x269)],'content':this[_0x4d8f0e(0x1f2)]['t'](_0x4d8f0e(0x2a2))}),_0x3a4de4['id']===_0x49b930[_0x4d8f0e(0x2c2)][_0x4d8f0e(0x36d)]&&this[_0x4d8f0e(0x295)][_0x4d8f0e(0x277)]({'type':_0x25c8b9['MessageType'][_0x4d8f0e(0x269)],'content':this[_0x4d8f0e(0x1f2)]['t'](_0x4d8f0e(0x3a1))});}));}};_0x158e9b=_0x39f9dc([_0x10a510(0x0,_0x2c32f5[_0xa2269c(0x2fc)]),_0x10a510(0x1,_0x49b930[_0xa2269c(0x31a)]),_0x10a510(0x2,_0x63378d[_0xa2269c(0x1ce)](_0x49b930[_0xa2269c(0x374)])),_0x10a510(0x3,_0x2c32f5[_0xa2269c(0x1d5)]),_0x10a510(0x4,_0x2c32f5['INotificationService']),_0x10a510(0x5,_0x63378d['Inject'](_0x63378d[_0xa2269c(0x428)]))],_0x158e9b);var _0x26530e=Object[_0xa2269c(0x2ee)],_0x462ffa=(_0xaf1537,_0x34a084,_0x40c17f,_0x409888)=>{const _0x43d652=_0xa2269c;for(var _0x153208=_0x409888>0x1?void 0x0:_0x409888?_0x26530e(_0x34a084,_0x40c17f):_0x34a084,_0x128b86=_0xaf1537[_0x43d652(0x3af)]-0x1,_0x14e0f3;_0x128b86>=0x0;_0x128b86--)(_0x14e0f3=_0xaf1537[_0x128b86])&&(_0x153208=_0x14e0f3(_0x153208)||_0x153208);return _0x153208;},_0x370ebd=(_0x1d770f,_0x435178)=>(_0x30debb,_0xf8b043)=>_0x435178(_0x30debb,_0xf8b043,_0x1d770f);let _0xc0f0de=class extends _0x63378d['Disposable']{constructor(_0x2caa92,_0xac59fc,_0x32ae04,_0x477f06){const _0x4704e5=_0xa2269c;super(),_0x354915(this,_0x4704e5(0x18e)),(this['_injector']=_0x2caa92,this['_httpService']=_0xac59fc,this[_0x4704e5(0x1c2)]=_0x32ae04,this[_0x4704e5(0x3b2)]=_0x477f06,this[_0x4704e5(0x29a)]());}[_0xa2269c(0x29a)](){const _0x2bbf70=_0xa2269c;this['_initWindowErrorListener'](),this[_0x2bbf70(0x3a9)](),this[_0x2bbf70(0x132)](),this[_0x2bbf70(0x304)]();}[_0xa2269c(0x304)](){const _0x1d5610=_0xa2269c;this[_0x1d5610(0x165)](this[_0x1d5610(0x3b2)][_0x1d5610(0x28b)][_0x1d5610(0x3bd)](_0x35898a=>{const _0x369768=_0x1d5610;this[_0x369768(0x18e)]=_0x35898a==null?void 0x0:_0x35898a[_0x369768(0x203)];}));}['_initWindowErrorListener'](){const _0x197052=_0xd0653f=>{const _0xc1c35a=_0x529e;var _0x5406f4;this['_uploadLog'](_0xc1c35a(0x33d),_0xc1c35a(0x222)+_0xd0653f['message']+_0xc1c35a(0x3a0)+_0xd0653f['filename']+':'+_0xd0653f[_0xc1c35a(0x1f9)]+':'+_0xd0653f[_0xc1c35a(0x296)]+'\x0a'+(((_0x5406f4=_0xd0653f['error'])==null?void 0x0:_0x5406f4[_0xc1c35a(0x1ea)])||''));};window['addEventListener']('error',_0x197052),this['disposeWithMe'](()=>{const _0x5a68f2=_0x529e;window[_0x5a68f2(0x272)]('error',_0x197052);});}['_initUnhandledRejectionListener'](){const _0x591b69=_0xa2269c,_0x35a558=_0x106c1a=>{const _0x38f824=_0x529e;this['_uploadLog'](_0x38f824(0x33d),_0x38f824(0x342)+_0x106c1a[_0x38f824(0x1fb)]);};window[_0x591b69(0x156)]('unhandledrejection',_0x35a558),this[_0x591b69(0x165)](()=>{const _0x4bccd9=_0x591b69;window[_0x4bccd9(0x272)](_0x4bccd9(0x23a),_0x35a558);});}[_0xa2269c(0x132)](){const _0x3f7427=_0xa2269c,_0x2eec77=this[_0x3f7427(0x1c2)]['error'][_0x3f7427(0x33f)](this[_0x3f7427(0x1c2)]);this[_0x3f7427(0x1c2)][_0x3f7427(0x33d)]=(..._0x38898e)=>{const _0x58d22b=_0x3f7427,_0x2857bd=_0x38898e['map'](_0x845136=>_0x845136 instanceof Error?_0x845136[_0x58d22b(0x207)]+'\x0a'+_0x845136[_0x58d22b(0x1ea)]:String(_0x845136))['join']('\x20');this['_uploadLog'](_0x58d22b(0x33d),_0x58d22b(0x3ef)+_0x2857bd),_0x2eec77(..._0x38898e);},this['disposeWithMe'](()=>{const _0x1c722d=_0x3f7427;this[_0x1c722d(0x1c2)][_0x1c722d(0x33d)]=_0x2eec77;});}[_0xa2269c(0x2ef)](_0x3c2086,_0xf0b30){const _0x1cae53=_0xa2269c;try{const _0x2e44db={'userId':this['_memberID'],'logLabel':_0x3c2086,'content':_0xf0b30};this['_httpService'][_0x1cae53(0x284)](_0x1cae53(0x14c),{'body':_0x2e44db})['catch'](()=>{});}catch{}}};_0xc0f0de=_0x462ffa([_0x370ebd(0x0,_0x63378d[_0xa2269c(0x1ce)](_0x63378d[_0xa2269c(0x2e7)])),_0x370ebd(0x1,_0x63378d['Inject'](_0x4af045[_0xa2269c(0x246)])),_0x370ebd(0x2,_0x63378d[_0xa2269c(0x2f3)]),_0x370ebd(0x3,_0x63378d[_0xa2269c(0x1ce)](_0x49b930[_0xa2269c(0x42a)]))],_0xc0f0de);const _0x392784=_0xa2269c(0x3a2),_0x78c6d={};var _0x235532=Object[_0xa2269c(0x2ee)],_0x1f4741=(_0x28aff9,_0x8fd339,_0x1a5ba0,_0x2dcd24)=>{for(var _0x34c08d=_0x2dcd24>0x1?void 0x0:_0x2dcd24?_0x235532(_0x8fd339,_0x1a5ba0):_0x8fd339,_0x4e2816=_0x28aff9['length']-0x1,_0x15b7cb;_0x4e2816>=0x0;_0x4e2816--)(_0x15b7cb=_0x28aff9[_0x4e2816])&&(_0x34c08d=_0x15b7cb(_0x34c08d)||_0x34c08d);return _0x34c08d;},_0x349fbe=(_0x2f77d7,_0x545b0f)=>(_0x45464d,_0x1ffe31)=>_0x545b0f(_0x45464d,_0x1ffe31,_0x2f77d7);let _0x38d822=class{constructor(_0x54ebef,_0x15b255){const _0x4b54ca=_0xa2269c;this[_0x4b54ca(0x253)]=_0x54ebef,this[_0x4b54ca(0x191)]=_0x15b255;}[_0xa2269c(0x372)](_0x480270){const _0x51795c=_0xa2269c;this['_transformUndoRedoStack'](_0x480270),this[_0x51795c(0x408)](_0x480270);}[_0xa2269c(0x39a)](_0xd80189){const _0x1f1f70=_0xa2269c,{unitID:_0x1fcdd7}=_0xd80189,_0x5c0ea6=this[_0x1f1f70(0x191)][_0x1f1f70(0x1a5)](_0x1fcdd7)['with'](_0x466fa5[_0x1f1f70(0x1d2)]),{redoCache:_0x4a259a}=_0x5c0ea6['getUndoRedoMutationParamsCache']();if(_0x4a259a[_0x1f1f70(0x3af)]===0x0)return _0xd80189;let _0x5ef59e=_0x63378d['Tools'][_0x1f1f70(0x3d6)](_0xd80189[_0x1f1f70(0x298)][0x0]);for(let _0x5b73fc=0x0;_0x5b73fc<_0x4a259a[_0x1f1f70(0x3af)];_0x5b73fc++){const _0x46f537={'id':_0x1f1f70(0x3c4),'params':{..._0x4a259a[_0x5b73fc]}},_0x42ba09=this[_0x1f1f70(0x253)][_0x1f1f70(0x2c8)](_0x5ef59e,_0x46f537,!0x1);if(_0x1a1813[_0x1f1f70(0x417)](_0x42ba09))throw _0x42ba09[_0x1f1f70(0x33d)];_0x5ef59e=_0x42ba09[_0x1f1f70(0x2fa)];}return{..._0x63378d[_0x1f1f70(0x1d6)][_0x1f1f70(0x3d6)](_0xd80189),'mutations':[_0x5ef59e]};}['_transformUndoRedoStack'](_0x43a262){const _0x1009c1=_0xa2269c,{unitID:_0x1fc6ee}=_0x43a262,_0x214944=this[_0x1009c1(0x191)][_0x1009c1(0x1a5)](_0x1fc6ee)[_0x1009c1(0x338)](_0x466fa5[_0x1009c1(0x1d2)]),{undoCache:_0x198541,redoCache:_0x23cff5}=_0x214944[_0x1009c1(0x1f7)]();if(_0x198541['length']===0x0||_0x23cff5[_0x1009c1(0x3af)]===0x0)return;const _0x1b5d88=[],_0x845317=[];let _0x12c59b=_0x63378d[_0x1009c1(0x1d6)][_0x1009c1(0x3d6)](_0x43a262[_0x1009c1(0x298)][0x0]),_0x5ad649=_0x63378d[_0x1009c1(0x1d6)][_0x1009c1(0x3d6)](_0x43a262['mutations'][0x0]);for(let _0x500848=_0x198541['length']-0x1;_0x500848>=0x0;_0x500848--){const _0x321cab={'id':_0x1009c1(0x3c4),'params':{..._0x198541[_0x500848]}},_0x535271={'id':_0x1009c1(0x3c4),'params':{..._0x23cff5[_0x500848]}},_0xe3dc7c=this[_0x1009c1(0x253)][_0x1009c1(0x2c8)](_0x12c59b,_0x321cab,!0x1),_0x2d18d6=this[_0x1009c1(0x253)][_0x1009c1(0x2c8)](_0x5ad649,_0x535271,!0x1);if(_0x1a1813[_0x1009c1(0x417)](_0xe3dc7c))throw _0xe3dc7c[_0x1009c1(0x33d)];if(_0x1a1813[_0x1009c1(0x417)](_0x2d18d6))throw _0x2d18d6[_0x1009c1(0x33d)];_0x1b5d88[_0x1009c1(0x2ed)](_0xe3dc7c[_0x1009c1(0x310)][_0x1009c1(0x364)]),_0x845317['unshift'](_0x2d18d6[_0x1009c1(0x310)]['params']),_0x12c59b=_0xe3dc7c[_0x1009c1(0x2fa)],_0x5ad649=_0x2d18d6['m1Prime'];}_0x214944[_0x1009c1(0x1c1)]({'undoCache':_0x1b5d88,'redoCache':_0x845317});}[_0xa2269c(0x408)](_0x2b82b0){const _0x3fcc5a=_0xa2269c,{unitID:_0x56b231}=_0x2b82b0,_0x4ca577=this['_renderManagerService'][_0x3fcc5a(0x1a5)](_0x56b231)[_0x3fcc5a(0x338)](_0x466fa5['DocIMEInputManagerService']),_0x598b17=_0x4ca577[_0x3fcc5a(0x227)]();if(_0x598b17==null)return;const _0x1a46fe=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2b82b0[_0x3fcc5a(0x3a6)],'actions':null,'textRanges':[_0x598b17]}}],_0x9fc8f4=this[_0x3fcc5a(0x253)][_0x3fcc5a(0x36b)](_0x2b82b0,_0x1a46fe);if(!_0x1a1813[_0x3fcc5a(0x239)](_0x9fc8f4))throw _0x9fc8f4[_0x3fcc5a(0x33d)];const _0x4e4774=_0x9fc8f4['m2Prime'][0x0][_0x3fcc5a(0x364)][_0x3fcc5a(0x426)];Array['isArray'](_0x4e4774)&&_0x4e4774[_0x3fcc5a(0x3af)]&&_0x4ca577['setActiveRange'](_0x4e4774[0x0]);}};_0x38d822=_0x1f4741([_0x349fbe(0x0,_0x1a1813[_0xa2269c(0x19d)]),_0x349fbe(0x1,_0x3be252[_0xa2269c(0x3f0)])],_0x38d822);var _0x20976e=Object[_0xa2269c(0x2ee)],_0x3a111f=(_0x3b3da7,_0xd4c475,_0x54c70c,_0x368681)=>{const _0x4d6391=_0xa2269c;for(var _0x37b8a3=_0x368681>0x1?void 0x0:_0x368681?_0x20976e(_0xd4c475,_0x54c70c):_0xd4c475,_0x1e903d=_0x3b3da7[_0x4d6391(0x3af)]-0x1,_0x564c20;_0x1e903d>=0x0;_0x1e903d--)(_0x564c20=_0x3b3da7[_0x1e903d])&&(_0x37b8a3=_0x564c20(_0x37b8a3)||_0x37b8a3);return _0x37b8a3;},_0x2c6f9e=(_0x1c2bd1,_0xcdb98e)=>(_0x2e9082,_0x1e24f5)=>_0xcdb98e(_0x2e9082,_0x1e24f5,_0x1c2bd1);let _0x1f7a6b=class{constructor(_0x5c3db5,_0x112e7c,_0x1b467a){const _0x65ab18=_0xa2269c;this[_0x65ab18(0x2c9)]=_0x5c3db5,this['_transformService']=_0x112e7c,this['_docStateChangeManagerService']=_0x1b467a;}[_0xa2269c(0x3cc)](_0x5e7cec){const _0x2ff87c=_0xa2269c;this[_0x2ff87c(0x3c6)](_0x5e7cec);}[_0xa2269c(0x39a)](_0x46d98e){const _0x72e096=_0xa2269c,{unitID:_0x2db3f5}=_0x46d98e,{collaboration:_0x1fc249}=this['_docStateChangeManagerService'][_0x72e096(0x20a)](_0x2db3f5);if(_0x1fc249[_0x72e096(0x3af)]===0x0)return _0x46d98e;let _0x15ac7a=_0x63378d[_0x72e096(0x1d6)]['deepClone'](_0x46d98e[_0x72e096(0x298)][0x0]);for(let _0x3e20cd=0x0;_0x3e20cd<_0x1fc249[_0x72e096(0x3af)];_0x3e20cd++){const _0x5b52aa={'id':_0x72e096(0x3c4),'params':{'unitId':_0x1fc249[_0x3e20cd][_0x72e096(0x1bb)],..._0x1fc249[_0x3e20cd][_0x72e096(0x1b9)]}},_0x159959=this[_0x72e096(0x253)][_0x72e096(0x2c8)](_0x15ac7a,_0x5b52aa,!0x1);if(_0x1a1813[_0x72e096(0x417)](_0x159959))throw _0x159959[_0x72e096(0x33d)];_0x15ac7a=_0x159959[_0x72e096(0x2fa)];}return{..._0x63378d['Tools'][_0x72e096(0x3d6)](_0x46d98e),'mutations':[_0x15ac7a]};}[_0xa2269c(0x3c6)](_0x115db7){const _0xc433ff=_0xa2269c,{unitID:_0x51dc22}=_0x115db7,{history:_0x2e8a33,collaboration:_0x251f72}=this['_docStateChangeManagerService'][_0xc433ff(0x20a)](_0x51dc22);if(_0x2e8a33[_0xc433ff(0x3af)]===0x0&&_0x251f72['length']===0x0)return;const _0x22e568=[],_0x4da94a=[];let _0x39a31c=_0x63378d[_0xc433ff(0x1d6)]['deepClone'](_0x115db7[_0xc433ff(0x298)][0x0]),_0x3dfce7=_0x63378d[_0xc433ff(0x1d6)][_0xc433ff(0x3d6)](_0x115db7[_0xc433ff(0x298)][0x0]);for(let _0x39bd77=_0x2e8a33[_0xc433ff(0x3af)]-0x1;_0x39bd77>=0x0;_0x39bd77--){const _0x362a89={'id':_0xc433ff(0x3c4),'params':{'unitId':_0x2e8a33[_0x39bd77][_0xc433ff(0x1bb)],..._0x2e8a33[_0x39bd77][_0xc433ff(0x2f2)]}},_0xc68a95={'id':_0xc433ff(0x3c4),'params':{'unitId':_0x2e8a33[_0x39bd77][_0xc433ff(0x1bb)],..._0x2e8a33[_0x39bd77][_0xc433ff(0x1b9)]}},_0x888ef7=this[_0xc433ff(0x253)][_0xc433ff(0x2c8)](_0x39a31c,_0x362a89,!0x1),_0x269a25=this[_0xc433ff(0x253)][_0xc433ff(0x2c8)](_0x3dfce7,_0xc68a95,!0x1);if(_0x1a1813[_0xc433ff(0x417)](_0x888ef7))throw _0x888ef7[_0xc433ff(0x33d)];if(_0x1a1813[_0xc433ff(0x417)](_0x269a25))throw _0x269a25[_0xc433ff(0x33d)];_0x22e568[_0xc433ff(0x2ed)]({..._0x2e8a33[_0x39bd77],'undoState':_0x888ef7[_0xc433ff(0x310)][_0xc433ff(0x364)],'redoState':_0x269a25[_0xc433ff(0x310)][_0xc433ff(0x364)]}),_0x39a31c=_0x888ef7[_0xc433ff(0x2fa)],_0x3dfce7=_0x269a25[_0xc433ff(0x2fa)];}_0x39a31c=_0x63378d['Tools']['deepClone'](_0x115db7[_0xc433ff(0x298)][0x0]),_0x3dfce7=_0x63378d['Tools']['deepClone'](_0x115db7['mutations'][0x0]);for(let _0x1ffe1c=_0x251f72[_0xc433ff(0x3af)]-0x1;_0x1ffe1c>=0x0;_0x1ffe1c--){const _0x30f155={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x251f72[_0x1ffe1c][_0xc433ff(0x1bb)],..._0x251f72[_0x1ffe1c][_0xc433ff(0x2f2)]}},_0x527a27={'id':_0xc433ff(0x3c4),'params':{'unitId':_0x251f72[_0x1ffe1c][_0xc433ff(0x1bb)],..._0x251f72[_0x1ffe1c][_0xc433ff(0x1b9)]}},_0x347713=this[_0xc433ff(0x253)][_0xc433ff(0x2c8)](_0x39a31c,_0x30f155,!0x1),_0x4ed613=this['_transformService'][_0xc433ff(0x2c8)](_0x3dfce7,_0x527a27,!0x1);if(_0x1a1813['isTransformMutationFailure'](_0x347713))throw _0x347713[_0xc433ff(0x33d)];if(_0x1a1813[_0xc433ff(0x417)](_0x4ed613))throw _0x4ed613[_0xc433ff(0x33d)];_0x4da94a[_0xc433ff(0x2ed)]({..._0x251f72[_0x1ffe1c],'undoState':_0x347713[_0xc433ff(0x310)][_0xc433ff(0x364)],'redoState':_0x4ed613['m2Prime'][_0xc433ff(0x364)]}),_0x39a31c=_0x347713[_0xc433ff(0x2fa)],_0x3dfce7=_0x4ed613[_0xc433ff(0x2fa)];}this['_docStateChangeManagerService'][_0xc433ff(0x231)](_0x51dc22,{'history':_0x22e568,'collaboration':_0x4da94a});}};_0x1f7a6b=_0x3a111f([_0x2c6f9e(0x0,_0x63378d['Inject'](_0x63378d[_0xa2269c(0x2e7)])),_0x2c6f9e(0x1,_0x1a1813['ITransformService']),_0x2c6f9e(0x2,_0x63378d[_0xa2269c(0x1ce)](_0x466fa5['DocStateChangeManagerService']))],_0x1f7a6b);var _0x43dbcd=Object[_0xa2269c(0x2ee)],_0xd3278a=(_0x25da8a,_0x434498,_0x3e37a9,_0x199bb8)=>{for(var _0x2edf3c=_0x199bb8>0x1?void 0x0:_0x199bb8?_0x43dbcd(_0x434498,_0x3e37a9):_0x434498,_0x2680ae=_0x25da8a['length']-0x1,_0x1e35af;_0x2680ae>=0x0;_0x2680ae--)(_0x1e35af=_0x25da8a[_0x2680ae])&&(_0x2edf3c=_0x1e35af(_0x2edf3c)||_0x2edf3c);return _0x2edf3c;},_0x46a7b7=(_0x231282,_0x5cb26b)=>(_0x398054,_0x54fb6d)=>_0x5cb26b(_0x398054,_0x54fb6d,_0x231282);let _0x58b866=class{constructor(_0x259101,_0x57220b){const _0x40b848=_0xa2269c;this['_injector']=_0x259101,this[_0x40b848(0x253)]=_0x57220b;}[_0xa2269c(0x24d)](_0x4ea3f8){const _0x24092d=_0xa2269c;var _0x3664ec;const _0x262941=this[_0x24092d(0x2c9)]['get'](_0x461a0f[_0x24092d(0x370)]),_0x1c755b=(_0x3664ec=_0x262941[_0x24092d(0x206)]())!=null?_0x3664ec:[];if(_0x1c755b[_0x24092d(0x3af)]===0x0)return;const _0x5704aa=_0x4ea3f8['unitID'],_0x22f82a=[{'id':_0x24092d(0x3c4),'params':{'unitId':_0x5704aa,'actions':null,'textRanges':_0x1c755b}}],_0x110429=this[_0x24092d(0x253)][_0x24092d(0x36b)](_0x4ea3f8,_0x22f82a);if(!_0x1a1813[_0x24092d(0x239)](_0x110429))throw _0x110429['error'];const _0x2d79a7=_0x110429[_0x24092d(0x310)][0x0]['params'][_0x24092d(0x426)];Array['isArray'](_0x2d79a7)&&_0x2d79a7[_0x24092d(0x3af)]&&_0x262941[_0x24092d(0x308)](_0x2d79a7,{'unitId':_0x5704aa,'subUnitId':_0x5704aa},!0x1);}};_0x58b866=_0xd3278a([_0x46a7b7(0x0,_0x63378d[_0xa2269c(0x1ce)](_0x63378d[_0xa2269c(0x2e7)])),_0x46a7b7(0x1,_0x1a1813['ITransformService'])],_0x58b866);var _0x4f2798=Object[_0xa2269c(0x2ee)],_0x11b54d=(_0x107862,_0x222e11,_0x5d9f56,_0x11df6f)=>{const _0x3b106b=_0xa2269c;for(var _0x5de845=_0x11df6f>0x1?void 0x0:_0x11df6f?_0x4f2798(_0x222e11,_0x5d9f56):_0x222e11,_0x10901e=_0x107862[_0x3b106b(0x3af)]-0x1,_0x292496;_0x10901e>=0x0;_0x10901e--)(_0x292496=_0x107862[_0x10901e])&&(_0x5de845=_0x292496(_0x5de845)||_0x5de845);return _0x5de845;},_0x20c60a=(_0x48e8c8,_0x693078)=>(_0x4513a6,_0x53ee15)=>_0x693078(_0x4513a6,_0x53ee15,_0x48e8c8);let _0xc3f04c=class extends _0x63378d[_0xa2269c(0x2eb)]{constructor(_0x25f8bb,_0xbe2d47,_0x1db2cf,_0x59a1b3,_0x2d6986,_0xaa8cc7,_0x47062b,_0x42e01b){const _0x4e3d0d=_0xa2269c;super(),_0x354915(this,'_status$',new _0xdb7e78[(_0x4e3d0d(0x189))](_0x49b930['CollaborationStatus'][_0x4e3d0d(0x2cc)])),(this['_docStateChangeManagerService']=_0x25f8bb,this[_0x4e3d0d(0x2ba)]=_0xbe2d47,this[_0x4e3d0d(0x17d)]=_0x1db2cf,this[_0x4e3d0d(0x3f8)]=_0x59a1b3,this['_docTransformSelectionsService']=_0x2d6986,this['_docSyncEditingCollabCursorService']=_0xaa8cc7,this['_messageService']=_0x47062b,this[_0x4e3d0d(0x1f2)]=_0x42e01b,this[_0x4e3d0d(0x1c6)]());}['_initEntityListener'](){const _0x437b85=_0xa2269c;this[_0x437b85(0x165)](this['_collaborationController'][_0x437b85(0x41d)][_0x437b85(0x3bd)](_0x294d3a=>{const _0x2a35b5=_0x437b85,_0x258175=this['_docStateChangeManagerService']['docStateChange$'][_0x2a35b5(0x3bd)](_0x7f4d05=>{const _0x297955=_0x2a35b5;if(_0x7f4d05==null)return;const {unitId:_0x4498b7,redoState:_0x1dd0d4,commandId:_0x27f55a}=_0x7f4d05;if(_0x4498b7!==_0x294d3a['unitID'])return;const _0x150003={'id':_0x27f55a,'type':_0x63378d[_0x297955(0x2cd)][_0x297955(0x279)],'params':{'unitId':_0x4498b7,'actions':_0x1dd0d4['actions'],'textRanges':null}};_0x294d3a[_0x297955(0x247)](_0x150003);});if(_0x294d3a[_0x2a35b5(0x165)](_0x258175),_0x294d3a instanceof _0x49b930['DocCollaborationEntity']){const _0x17943d={'onTransformIME':_0x51781=>this[_0x2a35b5(0x17d)][_0x2a35b5(0x372)](_0x51781),'onTransformState':_0x61a8c7=>this[_0x2a35b5(0x3f8)][_0x2a35b5(0x3cc)](_0x61a8c7),'onTransformSelections':_0x1f1fdc=>this['_docTransformSelectionsService'][_0x2a35b5(0x24d)](_0x1f1fdc),'onSyncEditingCollabCursor':_0x5f3d46=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x5f3d46),'onTransformRemoteChangesetByIMECache':_0xd8cf1=>this[_0x2a35b5(0x17d)]['transformRemoteChangeset'](_0xd8cf1),'onTransformRemoteChangesetByStateCache':_0x2446e7=>this[_0x2a35b5(0x3f8)]['transformRemoteChangeset'](_0x2446e7)};_0x294d3a[_0x2a35b5(0x29b)](_0x17943d);}}));}};_0xc3f04c=_0x11b54d([_0x20c60a(0x0,_0x63378d['Inject'](_0x466fa5['DocStateChangeManagerService'])),_0x20c60a(0x1,_0x63378d['Inject'](_0x49b930['CollaborationController'])),_0x20c60a(0x2,_0x63378d[_0xa2269c(0x1ce)](_0x38d822)),_0x20c60a(0x3,_0x63378d['Inject'](_0x1f7a6b)),_0x20c60a(0x4,_0x63378d[_0xa2269c(0x1ce)](_0x58b866)),_0x20c60a(0x5,_0x63378d[_0xa2269c(0x1ce)](_0x5ad830)),_0x20c60a(0x6,_0x2c32f5[_0xa2269c(0x1d5)]),_0x20c60a(0x7,_0x63378d['Inject'](_0x63378d[_0xa2269c(0x428)]))],_0xc3f04c);var _0x3df578=(_0x4993b0=>(_0x4993b0[_0x4993b0[_0xa2269c(0x3a3)]=0x0]='UNDEFINED',_0x4993b0[_0x4993b0['OK']=0x1]='OK',_0x4993b0[_0x4993b0[_0xa2269c(0x158)]=0x2]=_0xa2269c(0x158),_0x4993b0[_0x4993b0[_0xa2269c(0x2c7)]=0x3]=_0xa2269c(0x2c7),_0x4993b0[_0x4993b0[_0xa2269c(0x1fd)]=0x4]=_0xa2269c(0x1fd),_0x4993b0[_0x4993b0[_0xa2269c(0x1d0)]=0x5]=_0xa2269c(0x1d0),_0x4993b0[_0x4993b0[_0xa2269c(0x193)]=0x6]='ALREADY_EXISTS',_0x4993b0[_0x4993b0[_0xa2269c(0x1b4)]=0x7]=_0xa2269c(0x1b4),_0x4993b0[_0x4993b0[_0xa2269c(0x1c9)]=0x8]='TOO_MANY_REQUESTS',_0x4993b0[_0x4993b0[_0xa2269c(0x398)]=0x9]=_0xa2269c(0x398),_0x4993b0[_0x4993b0[_0xa2269c(0x1c3)]=0xa]=_0xa2269c(0x1c3),_0x4993b0[_0x4993b0[_0xa2269c(0x225)]=0xb]=_0xa2269c(0x225),_0x4993b0[_0x4993b0[_0xa2269c(0x3c9)]=0xc]=_0xa2269c(0x3c9),_0x4993b0[_0x4993b0[_0xa2269c(0x2db)]=0xd]=_0xa2269c(0x2db),_0x4993b0[_0x4993b0[_0xa2269c(0x17e)]=0xe]=_0xa2269c(0x17e),_0x4993b0[_0x4993b0[_0xa2269c(0x25d)]=0xf]=_0xa2269c(0x25d),_0x4993b0[_0x4993b0[_0xa2269c(0x1bc)]=0x10]=_0xa2269c(0x1bc),_0x4993b0[_0x4993b0['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0xa2269c(0x184),_0x4993b0[_0x4993b0[_0xa2269c(0x13d)]=0x65]=_0xa2269c(0x13d),_0x4993b0[_0x4993b0[_0xa2269c(0x382)]=0xc9]=_0xa2269c(0x382),_0x4993b0[_0x4993b0[_0xa2269c(0x424)]=0xca]=_0xa2269c(0x424),_0x4993b0[_0x4993b0[_0xa2269c(0x210)]=0x1389]=_0xa2269c(0x210),_0x4993b0[_0x4993b0['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x4993b0[_0x4993b0[_0xa2269c(0x2d7)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x4993b0[_0x4993b0[_0xa2269c(0x3b1)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x4993b0[_0x4993b0[_0xa2269c(0x175)]=0x1b59]=_0xa2269c(0x175),_0x4993b0[_0x4993b0[_0xa2269c(0x1a3)]=0x1b5a]=_0xa2269c(0x1a3),_0x4993b0[_0x4993b0[_0xa2269c(0x17a)]=0x1b5b]=_0xa2269c(0x17a),_0x4993b0[_0x4993b0[_0xa2269c(0x3ca)]=0x1b5c]=_0xa2269c(0x3ca),_0x4993b0[_0x4993b0[_0xa2269c(0x1ad)]=0x1b5d]=_0xa2269c(0x1ad),_0x4993b0[_0x4993b0[_0xa2269c(0x12e)]=0x1f41]=_0xa2269c(0x12e),_0x4993b0[_0x4993b0[_0xa2269c(0x2a5)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x4993b0[_0x4993b0[_0xa2269c(0x2b1)]=0x232a]=_0xa2269c(0x2b1),_0x4993b0[_0x4993b0[_0xa2269c(0x146)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x4993b0[_0x4993b0[_0xa2269c(0x3b3)]=0x232c]=_0xa2269c(0x3b3),_0x4993b0[_0x4993b0[_0xa2269c(0x226)]=0x232d]=_0xa2269c(0x226),_0x4993b0[_0x4993b0[_0xa2269c(0x16b)]=0x2711]=_0xa2269c(0x16b),_0x4993b0[_0x4993b0['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x4993b0[_0x4993b0[_0xa2269c(0x130)]=0x2713]=_0xa2269c(0x130),_0x4993b0[_0x4993b0[_0xa2269c(0x28e)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x4993b0[_0x4993b0[_0xa2269c(0x3f3)]=0x271a]=_0xa2269c(0x3f3),_0x4993b0[_0x4993b0['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0xa2269c(0x2f8),_0x4993b0[_0x4993b0[_0xa2269c(0x3a4)]=0x271c]=_0xa2269c(0x3a4),_0x4993b0[_0x4993b0[_0xa2269c(0x136)]=0x271d]=_0xa2269c(0x136),_0x4993b0[_0x4993b0[_0xa2269c(0x15b)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x4993b0[_0x4993b0['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x4993b0[_0x4993b0[_0xa2269c(0x276)]=0x2720]=_0xa2269c(0x276),_0x4993b0[_0x4993b0[_0xa2269c(0x27b)]=0x2af9]=_0xa2269c(0x27b),_0x4993b0[_0x4993b0['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x4993b0[_0x4993b0[_0xa2269c(0x369)]=0x2ee2]=_0xa2269c(0x369),_0x4993b0[_0x4993b0[_0xa2269c(0x23f)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x4993b0[_0x4993b0[_0xa2269c(0x3a8)]=0x2ee4]=_0xa2269c(0x3a8),_0x4993b0[_0x4993b0[_0xa2269c(0x302)]=0x2ee5]=_0xa2269c(0x302),_0x4993b0[_0x4993b0[_0xa2269c(0x1f5)]=0x32c9]=_0xa2269c(0x1f5),_0x4993b0[_0x4993b0['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0xa2269c(0x3f9),_0x4993b0[_0x4993b0['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x4993b0[_0x4993b0['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x4993b0[_0x4993b0['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0xa2269c(0x400),_0x4993b0[_0x4993b0[_0xa2269c(0x12f)]=0x36b3]=_0xa2269c(0x12f),_0x4993b0[_0x4993b0[_0xa2269c(0x36e)]=0x36b4]=_0xa2269c(0x36e),_0x4993b0[_0x4993b0[_0xa2269c(0x402)]=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x4993b0[_0x4993b0['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0xa2269c(0x2b5),_0x4993b0[_0x4993b0[_0xa2269c(0x37b)]=0x36b7]=_0xa2269c(0x37b),_0x4993b0[_0x4993b0[_0xa2269c(0x34c)]=0x36b8]=_0xa2269c(0x34c),_0x4993b0[_0x4993b0['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0xa2269c(0x32a),_0x4993b0[_0x4993b0[_0xa2269c(0x3ed)]=0x3716]=_0xa2269c(0x3ed),_0x4993b0[_0x4993b0[_0xa2269c(0x341)]=0x3717]=_0xa2269c(0x341),_0x4993b0[_0x4993b0['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0xa2269c(0x385),_0x4993b0[_0x4993b0[_0xa2269c(0x383)]=0x3a99]=_0xa2269c(0x383),_0x4993b0[_0x4993b0['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0xa2269c(0x32c),_0x4993b0[_0x4993b0[_0xa2269c(0x25c)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x4993b0[_0x4993b0[_0xa2269c(0x176)]=0x3a9c]=_0xa2269c(0x176),_0x4993b0[_0x4993b0[_0xa2269c(0x28c)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x4993b0[_0x4993b0[_0xa2269c(0x1ca)]=0x3a9e]=_0xa2269c(0x1ca),_0x4993b0[_0x4993b0[_0xa2269c(0x1d3)]=0x3a9f]=_0xa2269c(0x1d3),_0x4993b0[_0x4993b0[_0xa2269c(0x36c)]=0x3e81]=_0xa2269c(0x36c),_0x4993b0[_0x4993b0[_0xa2269c(0x1aa)]=-0x1]=_0xa2269c(0x1aa),_0x4993b0))(_0x3df578||{});function _0x3302db(_0x54f7b5){const _0x542da1=_0xa2269c;var _0x3c5097,_0x426fe0;const _0x1a6774=(_0x3c5097=_0x54f7b5[_0x542da1(0x216)])==null?void 0x0:_0x3c5097[_0x542da1(0x351)],_0x532c43=((_0x426fe0=_0x54f7b5['stageInfo'])==null?void 0x0:_0x426fe0['totalFormulasToCalculate'])||0x0;return _0x1a6774===_0x1a201e['FormulaExecuteStageType'][_0x542da1(0x379)]&&_0x532c43>0x0;}function _0x165cdd(_0x166b23){return _0x166b23['functionsExecutedState']===_0x1a201e['FormulaExecutedStateType']['SUCCESS'];}var _0xb1dc2d=Object['getOwnPropertyDescriptor'],_0x46a064=(_0x1b8151,_0x458f7c,_0x1cd2fc,_0x2b7f94)=>{const _0x3e85fe=_0xa2269c;for(var _0x22af85=_0x2b7f94>0x1?void 0x0:_0x2b7f94?_0xb1dc2d(_0x458f7c,_0x1cd2fc):_0x458f7c,_0x1ae599=_0x1b8151[_0x3e85fe(0x3af)]-0x1,_0x473ac9;_0x1ae599>=0x0;_0x1ae599--)(_0x473ac9=_0x1b8151[_0x1ae599])&&(_0x22af85=_0x473ac9(_0x22af85)||_0x22af85);return _0x22af85;},_0x3a44a7=(_0x5c29dd,_0x22ddd0)=>(_0x1e6106,_0x360fbb)=>_0x22ddd0(_0x1e6106,_0x360fbb,_0x5c29dd);const _0x47d8d1=_0xa2269c(0x15d),_0xec6fb3=_0xa2269c(0x419),_0x288692=_0xa2269c(0x1c0);let _0x5735c9=class extends _0x63378d[_0xa2269c(0x2eb)]{constructor(_0x580b1b,_0x391228,_0x24e36e,_0x61a9ef,_0x51104b,_0x1256e9,_0x51fb8e){const _0xced4d5=_0xa2269c;super(),_0x354915(this,_0xced4d5(0x245),null),_0x354915(this,_0xced4d5(0x241),0x0),_0x354915(this,'_currentUsage',0x0),_0x354915(this,_0xced4d5(0x1dc),[]),_0x354915(this,_0xced4d5(0x260),0x0),(this[_0xced4d5(0x295)]=_0x580b1b,this[_0xced4d5(0x234)]=_0x391228,this[_0xced4d5(0x359)]=_0x24e36e,this['_httpService']=_0x61a9ef,this[_0xced4d5(0x1ef)]=_0x51104b,this[_0xced4d5(0x1c2)]=_0x1256e9,this[_0xced4d5(0x1f2)]=_0x51fb8e,this['_initCommandInterceptor']());}[_0xa2269c(0x40e)](){const _0x3fdd0d=_0xa2269c;this['disposeWithMe'](this[_0x3fdd0d(0x234)]['beforeCommandExecuted']((_0xa80b27,_0xd01793)=>{const _0x4b3593=_0x3fdd0d;var _0x2643fc;if(_0xa80b27['id']!==_0x1a201e['SetFormulaCalculationStartMutation']['id'])return;const _0x22e792=_0xa80b27[_0x4b3593(0x364)];if(!this['_hasFormulaInDirtyRanges']((_0x2643fc=_0x22e792[_0x4b3593(0x380)])!=null?_0x2643fc:[]))return;if(!this[_0x4b3593(0x38d)]())throw this['_checkAndWaitForCalculationPermission'](_0xa80b27,_0xd01793),this[_0x4b3593(0x14d)](),new _0x63378d[(_0x4b3593(0x2bd))]();})),this[_0x3fdd0d(0x165)](this['_commandService'][_0x3fdd0d(0x172)]((_0x24a6f0,_0x2d041e)=>{const _0x5e0e85=_0x3fdd0d;if(_0x24a6f0['id']!==_0x1a201e[_0x5e0e85(0x254)]['id'])return;const _0x21dd77=_0x24a6f0[_0x5e0e85(0x364)];if(_0x3302db(_0x21dd77)){const _0x2744f2=_0x63378d[_0x5e0e85(0x311)]();this[_0x5e0e85(0x1dc)][_0x5e0e85(0x2ca)](_0x2744f2),this[_0x5e0e85(0x20d)](_0x2744f2);}else{if(_0x165cdd(_0x21dd77)&&this['_taskIds'][_0x5e0e85(0x3af)]>0x0){const _0x370dc8=this[_0x5e0e85(0x1dc)][_0x5e0e85(0x388)]();this['_releaseCalculationLimit'](_0x370dc8);}}}));}[_0xa2269c(0x212)](){const _0x359a26=_0xa2269c;super[_0x359a26(0x212)](),this['_clearPolling'](),this[_0x359a26(0x1dc)]=[],this[_0x359a26(0x16e)]=0x0,this['_maxFormulaLimit']=0x0,this[_0x359a26(0x260)]=0x0;}async[_0xa2269c(0x15f)](_0xb2bba5,_0x20ffb8){const _0x5c0773=_0xa2269c;for(let _0x204cc5=0x0;_0x204cc5<0x1e;_0x204cc5++)try{if(await this['_getFormulaLimitStatus'](),this[_0x5c0773(0x38d)]()){this[_0x5c0773(0x188)](_0xb2bba5,_0x20ffb8),this['_messageService']['show']({'content':this[_0x5c0773(0x1f2)]['t'](_0x5c0773(0x3f1)),'type':_0x25c8b9[_0x5c0773(0x2d0)][_0x5c0773(0x1b1)]});return;}await new Promise(_0x201632=>{const _0x3d3a25=_0x5c0773;this[_0x3d3a25(0x245)]=window[_0x3d3a25(0x409)](_0x201632,0x3e8);});}catch(_0x367f78){this['_logService'][_0x5c0773(0x33d)](_0x367f78);}this[_0x5c0773(0x295)]['show']({'content':this[_0x5c0773(0x1f2)]['t'](_0x5c0773(0x381)),'type':_0x25c8b9[_0x5c0773(0x2d0)][_0x5c0773(0x269)]});}[_0xa2269c(0x188)](_0x1b953d,_0x4d23fd){const _0x53faf8=_0xa2269c;try{this['_commandService']['executeCommand'](_0x1b953d['id'],_0x1b953d[_0x53faf8(0x364)],_0x4d23fd);}catch(_0x2e600d){this['_logService'][_0x53faf8(0x33d)](_0x2e600d);}}[_0xa2269c(0x15a)](_0x54d75c,_0x4a4945){const _0x314489=_0xa2269c;_0x4a4945<this['_lastResponseTimestamp']||(this[_0x314489(0x260)]=_0x4a4945,this[_0x314489(0x241)]=Number['parseInt'](_0x54d75c['maxFormulaLimit']),this[_0x314489(0x16e)]=Number['parseInt'](_0x54d75c[_0x314489(0x1e8)]));}async['_startCalculationLimit'](_0x58aca9){const _0x335a1c=_0xa2269c;var _0x271e19,_0x2ed0a0;const _0x42e199=Date[_0x335a1c(0x171)]();try{const _0x52fe0d=((_0x271e19=this[_0x335a1c(0x359)]['getConfig'](_0x49b930[_0x335a1c(0x149)]))==null?void 0x0:_0x271e19[_0x335a1c(0x280)])||_0xec6fb3,_0x390e46=(await this['_httpService']['post'](_0x52fe0d,{'body':JSON[_0x335a1c(0x133)]({'taskId':_0x58aca9})}))[_0x335a1c(0x1d9)];if(((_0x2ed0a0=_0x390e46[_0x335a1c(0x33d)])==null?void 0x0:_0x2ed0a0[_0x335a1c(0x24e)])!==_0x3df578['OK'])return;this[_0x335a1c(0x15a)](_0x390e46[_0x335a1c(0x199)],_0x42e199);}catch(_0x903fb9){this[_0x335a1c(0x1c2)]['error'](_0x903fb9);}}async[_0xa2269c(0x3bc)](_0x1cfe42){const _0x36d449=_0xa2269c;var _0x570fb1,_0x2bb6ba;const _0x3c6d50=Date['now']();try{const _0x3c8c70=((_0x570fb1=this[_0x36d449(0x359)]['getConfig'](_0x49b930[_0x36d449(0x149)]))==null?void 0x0:_0x570fb1[_0x36d449(0x38b)])||_0x47d8d1,_0x62d285=_0x1cfe42?_0x3c8c70+_0x36d449(0x3dd)+encodeURIComponent(_0x1cfe42):_0x3c8c70,_0x20b2f1=(await this[_0x36d449(0x3c0)]['get'](_0x62d285))[_0x36d449(0x1d9)];if(((_0x2bb6ba=_0x20b2f1[_0x36d449(0x33d)])==null?void 0x0:_0x2bb6ba['code'])!==_0x3df578['OK'])return;this[_0x36d449(0x15a)](_0x20b2f1[_0x36d449(0x199)],_0x3c6d50);}catch(_0x1d4972){this[_0x36d449(0x1c2)][_0x36d449(0x33d)](_0x1d4972);}}async[_0xa2269c(0x427)](_0xe9a102){const _0x320d42=_0xa2269c;var _0x4b2c2c,_0x3bfa0e;const _0x4617ad=Date[_0x320d42(0x171)]();try{const _0x17d2f6=((_0x4b2c2c=this[_0x320d42(0x359)][_0x320d42(0x265)](_0x49b930[_0x320d42(0x149)]))==null?void 0x0:_0x4b2c2c['releaseFormulaLimitUrl'])||_0x288692,_0x40498d=(await this[_0x320d42(0x3c0)]['post'](_0x17d2f6,{'body':JSON[_0x320d42(0x133)]({'taskId':_0xe9a102})}))[_0x320d42(0x1d9)];if(((_0x3bfa0e=_0x40498d[_0x320d42(0x33d)])==null?void 0x0:_0x3bfa0e[_0x320d42(0x24e)])!==_0x3df578['OK'])return;this[_0x320d42(0x15a)](_0x40498d[_0x320d42(0x199)],_0x4617ad);}catch(_0x5bdb6e){this[_0x320d42(0x1c2)][_0x320d42(0x33d)](_0x5bdb6e);}}[_0xa2269c(0x38d)](){const _0x3f2b8f=_0xa2269c;return this[_0x3f2b8f(0x241)]===0x0?!0x0:this[_0x3f2b8f(0x241)]-this[_0x3f2b8f(0x16e)]>0x0;}[_0xa2269c(0x2da)](){const _0x3b18c1=_0xa2269c;this[_0x3b18c1(0x245)]&&(clearTimeout(this[_0x3b18c1(0x245)]),this[_0x3b18c1(0x245)]=null);}[_0xa2269c(0x14d)](){const _0x34c437=_0xa2269c;this[_0x34c437(0x295)][_0x34c437(0x277)]({'content':this[_0x34c437(0x1f2)]['t'](_0x34c437(0x1d4)),'type':_0x25c8b9[_0x34c437(0x2d0)][_0x34c437(0x144)]});}[_0xa2269c(0x14b)](_0xa75241){const _0x57aa7d=_0xa2269c;for(const _0x10ebc2 of _0xa75241){const {unitId:_0x58c330,sheetId:_0x4bfd0b,range:_0x22606d}=_0x10ebc2,_0x36d69a=this[_0x57aa7d(0x1ef)][_0x57aa7d(0x256)](_0x58c330);if(!_0x36d69a)continue;const _0x25ee4e=_0x36d69a['getSheetBySheetId'](_0x4bfd0b);if(!_0x25ee4e)continue;const _0x1f0188=_0x25ee4e['getCellMatrix']();for(let _0x289661=_0x22606d[_0x57aa7d(0x2c6)];_0x289661<=_0x22606d['endRow'];_0x289661++)for(let _0x547a88=_0x22606d[_0x57aa7d(0x41a)];_0x547a88<=_0x22606d[_0x57aa7d(0x1e4)];_0x547a88++){const _0x2d9518=_0x1f0188[_0x57aa7d(0x273)](_0x289661,_0x547a88);if(_0x2d9518&&(_0x63378d[_0x57aa7d(0x3ab)](_0x2d9518['f'])||_0x63378d[_0x57aa7d(0x3ec)](_0x2d9518['si'])))return!0x0;}}return!0x1;}};_0x5735c9=_0x46a064([_0x3a44a7(0x0,_0x63378d['Inject'](_0x2c32f5[_0xa2269c(0x1d5)])),_0x3a44a7(0x1,_0x63378d[_0xa2269c(0x278)]),_0x3a44a7(0x2,_0x63378d[_0xa2269c(0x154)]),_0x3a44a7(0x3,_0x63378d['Inject'](_0x4af045[_0xa2269c(0x246)])),_0x3a44a7(0x4,_0x63378d['IUniverInstanceService']),_0x3a44a7(0x5,_0x63378d[_0xa2269c(0x2f3)]),_0x3a44a7(0x6,_0x63378d[_0xa2269c(0x1ce)](_0x63378d[_0xa2269c(0x428)]))],_0x5735c9);var _0x58de3a=Object['getOwnPropertyDescriptor'],_0x18e92a=(_0x54d290,_0x1f7837,_0x2c9237,_0x1eef2e)=>{for(var _0xfd60c=_0x1eef2e>0x1?void 0x0:_0x1eef2e?_0x58de3a(_0x1f7837,_0x2c9237):_0x1f7837,_0xce2dfa=_0x54d290['length']-0x1,_0x4c7f48;_0xce2dfa>=0x0;_0xce2dfa--)(_0x4c7f48=_0x54d290[_0xce2dfa])&&(_0xfd60c=_0x4c7f48(_0xfd60c)||_0xfd60c);return _0xfd60c;},_0x13b743=(_0x44746f,_0x17633a)=>(_0x585d3e,_0x135975)=>_0x17633a(_0x585d3e,_0x135975,_0x44746f);let _0x45caea=class extends _0x63378d['Disposable']{constructor(_0x4230f5,_0x3a5b88,_0x4ae42c){const _0x28c188=_0xa2269c;super(),_0x354915(this,'_cachedData',new Map()),_0x354915(this,_0x28c188(0x1f6),new Map()),_0x354915(this,_0x28c188(0x3cb),!0x1),(this['_configService']=_0x4230f5,this[_0x28c188(0x1e9)]=_0x3a5b88,this[_0x28c188(0x3cd)]=_0x4ae42c);}[_0xa2269c(0x33e)](){this['_disabled']=!0x0;}[_0xa2269c(0x3b0)](){const _0x2ff888=_0xa2269c;this[_0x2ff888(0x3cb)]=!0x1;}get[_0xa2269c(0x2e8)](){const _0x1e8ead=_0xa2269c;return this[_0x1e8ead(0x1f6)];}[_0xa2269c(0x212)](){const _0x55bf77=_0xa2269c;this[_0x55bf77(0x2e9)]()['then'](()=>super['dispose']());}async[_0xa2269c(0x169)](_0x183717){const _0x4459c7=_0xa2269c;return this[_0x4459c7(0x3cb)]?null:this[_0x4459c7(0x1e9)][_0x4459c7(0x41f)](_0x49b930['getLocalCacheKey'](_0x183717));}async[_0xa2269c(0x274)](_0x17a216,_0x27f173){const _0x4489f7=_0xa2269c;return!!this[_0x4489f7(0x1e9)][_0x4489f7(0x3c8)](_0x17a216,_0x27f173);}[_0xa2269c(0x2a4)](_0x207bb2,_0x1b6882,_0x161a10,_0x1fd252){const _0x2cec25=_0xa2269c,_0x5ce2ea=this[_0x2cec25(0x3cd)][_0x2cec25(0x1bf)](_0x207bb2);this[_0x2cec25(0x26f)]['set'](_0x207bb2,{'unitID':_0x207bb2,'type':_0x1b6882,'awaitingChangeset':_0x161a10,'mutations':_0x1fd252,'rev':_0x5ce2ea}),this[_0x2cec25(0x1f6)]['has'](_0x207bb2)||this[_0x2cec25(0x37d)](_0x207bb2);}[_0xa2269c(0x37d)](_0xbd25cf){const _0x1971e5=_0xa2269c,_0x2b5f62=this[_0x1971e5(0x1ae)]();_0x2b5f62===0x0?this[_0x1971e5(0x320)](_0xbd25cf):this[_0x1971e5(0x1f6)][_0x1971e5(0x233)](_0xbd25cf,setTimeout(()=>this[_0x1971e5(0x320)](_0xbd25cf),_0x2b5f62));}[_0xa2269c(0x1ae)](){const _0x44ec72=_0xa2269c;var _0x15c927;return(_0x15c927=this[_0x44ec72(0x359)][_0x44ec72(0x265)](_0x49b930['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x15c927:_0x49b930['LOCAL_CACHE_INTERVAL'];}[_0xa2269c(0x320)](_0x495afc){const _0x482a17=_0xa2269c,_0x44e8a5=this[_0x482a17(0x1f6)][_0x482a17(0x1ed)](_0x495afc);return _0x44e8a5!==void 0x0&&window[_0x482a17(0x297)](_0x44e8a5),this[_0x482a17(0x1e9)][_0x482a17(0x3c8)](_0x49b930['getLocalCacheKey'](_0x495afc),this[_0x482a17(0x26f)][_0x482a17(0x1ed)](_0x495afc))[_0x482a17(0x3e6)](()=>this[_0x482a17(0x1f6)][_0x482a17(0x219)](_0x495afc));}async[_0xa2269c(0x2e9)](){const _0x2f0b87=_0xa2269c,_0x19faf4=[];this[_0x2f0b87(0x1f6)][_0x2f0b87(0x399)]((_0x52f398,_0x2be1c8)=>{const _0xabfa27=_0x2f0b87;window[_0xabfa27(0x297)](_0x52f398),_0x19faf4[_0xabfa27(0x2ca)](this[_0xabfa27(0x320)](_0x2be1c8)[_0xabfa27(0x3e6)](()=>{const _0x1a9fba=_0xabfa27;this[_0x1a9fba(0x1f6)][_0x1a9fba(0x219)](_0x2be1c8);}));}),await Promise[_0x2f0b87(0x42c)](_0x19faf4);}};_0x45caea=_0x18e92a([_0x13b743(0x0,_0x63378d[_0xa2269c(0x154)]),_0x13b743(0x1,_0x63378d[_0xa2269c(0x145)]),_0x13b743(0x2,_0x63378d['Inject'](_0x1a1813[_0xa2269c(0x1b8)]))],_0x45caea);class _0x21f8d9 extends _0x63378d[_0xa2269c(0x1ac)]{constructor(){const _0x589dc1=_0xa2269c;super(),_0x354915(this,_0x589dc1(0x281)),this['urlChange$']=_0xdb7e78[_0x589dc1(0x303)](window,'popstate')['pipe'](_0xdb7e78[_0x589dc1(0x393)](this[_0x589dc1(0x3f6)]),_0xdb7e78['shareReplay'](0x1),_0xdb7e78[_0x589dc1(0x2bb)](void 0x0));}[_0xa2269c(0x264)](_0x16cde5,_0x5c585b,_0x51c4c8=!0x1){const _0x3842cc=_0xa2269c,_0x2fd153=new URL(window[_0x3842cc(0x235)][_0x3842cc(0x307)]);_0x2fd153[_0x3842cc(0x211)]['set'](_0x16cde5,_0x5c585b),_0x51c4c8?window['history'][_0x3842cc(0x1da)]('','',_0x2fd153['toString']()):window[_0x3842cc(0x3d5)][_0x3842cc(0x186)]('','',_0x2fd153[_0x3842cc(0x397)]());}[_0xa2269c(0x255)](_0x17ce84,_0x3a2691=!0x1){const _0x21bb43=_0xa2269c,_0x3a29da=new URL(window['location']['href']);_0x3a29da[_0x21bb43(0x211)][_0x21bb43(0x219)](_0x17ce84),_0x3a2691?window[_0x21bb43(0x3d5)][_0x21bb43(0x1da)]('','',_0x3a29da[_0x21bb43(0x397)]()):window[_0x21bb43(0x3d5)]['pushState']('','',_0x3a29da[_0x21bb43(0x397)]());}['getParam'](_0x5f081c){const _0x27ef63=_0xa2269c;var _0x3b8e85;return(_0x3b8e85=new URL(window['location'][_0x27ef63(0x307)])['searchParams'][_0x27ef63(0x1ed)](_0x5f081c))!=null?_0x3b8e85:void 0x0;}}var _0x59acac=Object['defineProperty'],_0x4a0235=Object[_0xa2269c(0x2ee)],_0x57edaf=(_0x33eae6,_0x1d5bdc,_0x2c5000)=>_0x1d5bdc in _0x33eae6?_0x59acac(_0x33eae6,_0x1d5bdc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2c5000}):_0x33eae6[_0x1d5bdc]=_0x2c5000,_0x24f56d=(_0x3fef4c,_0x2e1a0c,_0x1ab5ed,_0x5c2bc4)=>{const _0x453e79=_0xa2269c;for(var _0x596150=_0x5c2bc4>0x1?void 0x0:_0x5c2bc4?_0x4a0235(_0x2e1a0c,_0x1ab5ed):_0x2e1a0c,_0x5e12bb=_0x3fef4c[_0x453e79(0x3af)]-0x1,_0x2c0a44;_0x5e12bb>=0x0;_0x5e12bb--)(_0x2c0a44=_0x3fef4c[_0x5e12bb])&&(_0x596150=_0x2c0a44(_0x596150)||_0x596150);return _0x596150;},_0x27a835=(_0x472384,_0x1d5095)=>(_0x178c95,_0x13754b)=>_0x1d5095(_0x178c95,_0x13754b,_0x472384),_0x4d6cbc=(_0x5b3bbe,_0x5aa146,_0x1c1cf1)=>_0x57edaf(_0x5b3bbe,_0x5aa146+'',_0x1c1cf1);const _0x4d27a0=_0xa2269c(0x141);_0x44307e['UniverCollaborationClientUIPlugin']=class extends _0x63378d[_0xa2269c(0x404)]{constructor(_0x5821f3=_0x78c6d,_0x34019f,_0x131222,_0xfcad03){const _0x175719=_0xa2269c;super(),this[_0x175719(0x328)]=_0x5821f3,this[_0x175719(0x191)]=_0x34019f,this['_injector']=_0x131222,this[_0x175719(0x359)]=_0xfcad03;const {..._0x286102}=_0x63378d[_0x175719(0x232)]({},_0x78c6d,this[_0x175719(0x328)]);this[_0x175719(0x359)][_0x175719(0x3c7)](_0x392784,_0x286102);}[_0xa2269c(0x204)](){const _0x6b8404=_0xa2269c;this[_0x6b8404(0x420)](),this[_0x6b8404(0x315)]();}[_0xa2269c(0x319)](){this['_registerRenderDependencies']();}[_0xa2269c(0x420)](){const _0x269a1d=_0xa2269c;var _0x203173;const _0x15c4ad=[[_0x59a235],[_0x5735c9],[_0x58b866],[_0x38d822],[_0x1f7a6b],[_0x5ad830],[_0xdbf68a,{'useClass':_0x21f8d9}],[_0x4af045[_0x269a1d(0x178)],{'useClass':_0x4af045['WebSocketService']}],[_0x49b930[_0x269a1d(0x31a)],{'useClass':_0x45caea}],[_0x44307e['DesktopCollaborationStatusDisplayController']],[_0xc3f04c],[_0x158e9b],[_0x64597c],[_0x1ae3d3],[_0x44307e[_0x269a1d(0x19e)]]];this[_0x269a1d(0x328)]['enableFrontendLog']&&_0x15c4ad[_0x269a1d(0x2ca)]([_0xc0f0de]),_0x63378d['registerDependencies'](this['_injector'],_0x63378d[_0x269a1d(0x414)](_0x15c4ad,(_0x203173=this[_0x269a1d(0x328)])==null?void 0x0:_0x203173[_0x269a1d(0x1c4)]));}[_0xa2269c(0x343)](){const _0x54d6a8=_0xa2269c;this[_0x54d6a8(0x165)](this[_0x54d6a8(0x191)]['registerRenderModule'](_0x63378d[_0x54d6a8(0x332)][_0x54d6a8(0x143)],[_0x13c409])),this[_0x54d6a8(0x165)](this['_renderManagerService'][_0x54d6a8(0x30b)](_0x63378d[_0x54d6a8(0x332)]['UNIVER_SHEET'],[_0x1331e9]));}[_0xa2269c(0x315)](){const _0x36e812=_0xa2269c;_0x63378d[_0x36e812(0x357)](this[_0x36e812(0x2c9)],[[_0x64597c],[_0x44307e[_0x36e812(0x345)]],[_0xc3f04c],[_0x158e9b],[_0x44307e[_0x36e812(0x19e)]],[_0x5735c9]]),this[_0x36e812(0x328)][_0x36e812(0x365)]&&_0x63378d[_0x36e812(0x357)](this[_0x36e812(0x2c9)],[[_0xc0f0de]]);}},_0x4d6cbc(_0x44307e[_0xa2269c(0x291)],_0xa2269c(0x299),_0x4d27a0),_0x44307e['UniverCollaborationClientUIPlugin']=_0x24f56d([_0x63378d['DependentOn'](_0x49b930['UniverCollaborationClientPlugin']),_0x27a835(0x1,_0x3be252[_0xa2269c(0x3f0)]),_0x27a835(0x2,_0x63378d[_0xa2269c(0x1ce)](_0x63378d[_0xa2269c(0x2e7)])),_0x27a835(0x3,_0x63378d['IConfigService'])],_0x44307e[_0xa2269c(0x291)]);var _0x1b86d3=Object[_0xa2269c(0x2ee)],_0x4905f0=(_0x3089fe,_0x330532,_0xedbe31,_0x7573b7)=>{const _0x40ac1d=_0xa2269c;for(var _0x27258e=_0x7573b7>0x1?void 0x0:_0x7573b7?_0x1b86d3(_0x330532,_0xedbe31):_0x330532,_0x48206d=_0x3089fe[_0x40ac1d(0x3af)]-0x1,_0x5d25da;_0x48206d>=0x0;_0x48206d--)(_0x5d25da=_0x3089fe[_0x48206d])&&(_0x27258e=_0x5d25da(_0x27258e)||_0x27258e);return _0x27258e;},_0x500736=(_0x44a083,_0x39e659)=>(_0x4e3533,_0x4049e4)=>_0x39e659(_0x4e3533,_0x4049e4,_0x44a083);_0x44307e['BrowserCollaborationSocketService']=class extends _0x49b930['CollaborationSocketService']{constructor(_0xfe00e8,_0xf1364a,_0x561ed9,_0x75d6f8,_0x42841b){super(_0xfe00e8,_0xf1364a,_0x561ed9,_0x75d6f8,_0x42841b);}async[_0xa2269c(0x1e5)](_0x4c3922){const _0x4e3d69=_0xa2269c,_0x5627aa=await this[_0x4e3d69(0x2d2)](),_0x4d2865=this[_0x4e3d69(0x358)](_0x4c3922,_0x5627aa);return this[_0x4e3d69(0x23b)](_0x4d2865);}['_createSocketURL'](_0x204718,_0x3e5b97){const _0x44a55a=_0xa2269c,_0x388239=typeof window>'u'?new URL(_0x204718):new URL(_0x204718,window[_0x44a55a(0x235)][_0x44a55a(0x209)]);_0x388239[_0x44a55a(0x211)][_0x44a55a(0x233)](_0x44a55a(0x1d7),_0x3e5b97);const _0xbfe21=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x44a55a(0x235)][_0x44a55a(0x23d)]);return _0xbfe21['get'](_0x44a55a(0x168))&&_0x388239[_0x44a55a(0x211)][_0x44a55a(0x233)](_0x44a55a(0x168),_0xbfe21[_0x44a55a(0x1ed)]('runId')),_0x388239['toString']();}async[_0xa2269c(0x2d2)](){const _0x26a830=_0xa2269c;var _0x1eb75a,_0x17fec6,_0x1fab27;const _0xea222c=this['_configService'][_0x26a830(0x265)](_0x49b930[_0x26a830(0x149)]),_0x48d89f=(_0x1eb75a=_0xea222c==null?void 0x0:_0xea222c[_0x26a830(0x3bb)])!=null?_0x1eb75a:_0x49b930[_0x26a830(0x197)];return(_0x1fab27=(_0x17fec6=(await this[_0x26a830(0x3c0)]['get'](_0x48d89f,{'headers':{'Content-Type':_0x26a830(0x36a)}}))[_0x26a830(0x1d9)])==null?void 0x0:_0x17fec6[_0x26a830(0x248)])!=null?_0x1fab27:'';}},_0x44307e[_0xa2269c(0x2e1)]=_0x4905f0([_0x500736(0x0,_0x63378d[_0xa2269c(0x1ce)](_0x63378d[_0xa2269c(0x2e7)])),_0x500736(0x1,_0x63378d[_0xa2269c(0x1ce)](_0x4af045[_0xa2269c(0x246)])),_0x500736(0x2,_0x63378d[_0xa2269c(0x154)]),_0x500736(0x3,_0x63378d[_0xa2269c(0x2f3)]),_0x500736(0x4,_0x1a1813[_0xa2269c(0x27c)])],_0x44307e[_0xa2269c(0x2e1)]);var _0x385ce8=Object[_0xa2269c(0x2ee)],_0xc0e532=(_0x206822,_0x136c2b,_0x17d05d,_0x5470f0)=>{const _0x4242ce=_0xa2269c;for(var _0x16b2a9=_0x5470f0>0x1?void 0x0:_0x5470f0?_0x385ce8(_0x136c2b,_0x17d05d):_0x136c2b,_0x4767e7=_0x206822[_0x4242ce(0x3af)]-0x1,_0x197127;_0x4767e7>=0x0;_0x4767e7--)(_0x197127=_0x206822[_0x4767e7])&&(_0x16b2a9=_0x197127(_0x16b2a9)||_0x16b2a9);return _0x16b2a9;},_0x34f248=(_0x5bde0e,_0x4f631f)=>(_0xd3c0df,_0x306c1b)=>_0x4f631f(_0xd3c0df,_0x306c1b,_0x5bde0e);_0x44307e['RemoteUniscriptService']=class extends _0x63378d['Disposable']{constructor(_0x456248,_0x1e5b0f,_0x42458e){const _0x1b9e02=_0xa2269c;super(),this[_0x1b9e02(0x166)]=_0x456248,this[_0x1b9e02(0x3c0)]=_0x1e5b0f,this['_configService']=_0x42458e;}async[_0xa2269c(0x3d7)](_0x1ae7ce,_0x1c58da,_0xf7e998,..._0x1e4663){const _0x4594b4=_0xa2269c;var _0x36db0a,_0x22f8be,_0x8caa67,_0x1656fd;const _0x4bc928=this[_0x4594b4(0x166)]['getFocusedUnit']();if(!_0x4bc928)throw new Error(_0x4594b4(0x361));const _0x8d9c82=((_0x36db0a=this[_0x4594b4(0x359)]['getConfig'](_0x49b930['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x36db0a:_0x49b930[_0x4594b4(0x352)])+'/'+_0x1ae7ce+_0x4594b4(0x25f)+_0x1c58da,_0x559770=new URL(window[_0x4594b4(0x235)][_0x4594b4(0x307)]),_0x270ebd={'scriptId':_0x1ae7ce,'runId':(_0x22f8be=_0x559770['searchParams'][_0x4594b4(0x1ed)](_0x4594b4(0x168)))!=null?_0x22f8be:'','function':_0x1c58da,'unitId':_0x4bc928[_0x4594b4(0x1b6)](),'argsOfFunction':JSON['stringify'](_0x1e4663),'invokeId':(_0x8caa67=_0xf7e998['invokeId'])!=null?_0x8caa67:'','executionId':(_0x1656fd=_0xf7e998[_0x4594b4(0x12d)])!=null?_0x1656fd:''};try{const _0x5dcef0=await this[_0x4594b4(0x3c0)][_0x4594b4(0x284)](_0x8d9c82,{'body':_0x270ebd});return _0x5dcef0[_0x4594b4(0x1d9)][_0x4594b4(0x33d)]&&_0x5dcef0['body'][_0x4594b4(0x33d)]['code']!==_0x3df578['OK']?_0x4594b4(0x242):_0x5dcef0[_0x4594b4(0x1d9)][_0x4594b4(0x13a)];}catch{return _0x4594b4(0x242);}}},_0x44307e[_0xa2269c(0x14f)]=_0xc0e532([_0x34f248(0x0,_0x63378d[_0xa2269c(0x240)]),_0x34f248(0x1,_0x63378d[_0xa2269c(0x1ce)](_0x4af045[_0xa2269c(0x246)])),_0x34f248(0x2,_0x63378d[_0xa2269c(0x154)])],_0x44307e[_0xa2269c(0x14f)]);const _0x975c74=0x7530,_0x626da=_0xa2269c(0x153);class _0x441d1d extends _0x63378d[_0xa2269c(0x2eb)]{constructor(){const _0x41f4f6=_0xa2269c;super(),_0x354915(this,_0x41f4f6(0x3a7),_0x63378d['generateRandomId']()),_0x354915(this,_0x41f4f6(0x2a9),new Set()),_0x354915(this,_0x41f4f6(0x301),new Map()),_0x354915(this,_0x41f4f6(0x3f4),null),_0x354915(this,'_clearOtherTimers',new Map()),_0x354915(this,'_unitStatus',new Map()),this[_0x41f4f6(0x29a)]();}[_0xa2269c(0x212)](){const _0x2183c8=_0xa2269c;super[_0x2183c8(0x212)](),this[_0x2183c8(0x411)][_0x2183c8(0x399)]((_0xb3a77a,_0x5d5137)=>this[_0x2183c8(0x2fb)](_0x5d5137)),this[_0x2183c8(0x3f4)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0xa2269c(0x286)](_0x1d6850){const _0x41a4ff=_0xa2269c;return this['_ensureSubject'](_0x1d6850)[_0x41a4ff(0x287)](_0xdb7e78[_0x41a4ff(0x2b8)]());}[_0xa2269c(0x3d9)](_0x58dc97){const _0x46afd9=_0xa2269c;this[_0x46afd9(0x2a9)][_0x46afd9(0x368)]===0x0&&this['_scheduleHeartbeat'](),this[_0x46afd9(0x2a9)][_0x46afd9(0x2a3)](_0x58dc97),this['_send']({'type':0x0,'memberID':this[_0x46afd9(0x3a7)],'unitIDs':[_0x58dc97],'isForwarded':!0x1});}[_0xa2269c(0x346)](_0x298d86){const _0x169bf4=_0xa2269c;this['_selfUnitIDs'][_0x169bf4(0x219)](_0x298d86),this[_0x169bf4(0x2a9)]['size']===0x0&&this[_0x169bf4(0x3f4)]&&window[_0x169bf4(0x1a1)](this[_0x169bf4(0x3f4)]);}[_0xa2269c(0x29a)](){const _0x13f0f2=_0xa2269c;this[_0x13f0f2(0x165)](_0x63378d[_0x13f0f2(0x200)](_0xdb7e78[_0x13f0f2(0x303)](window,_0x13f0f2(0x333))['subscribe'](_0x2a988d=>{const _0x59bc13=_0x13f0f2;if(_0x2a988d[_0x59bc13(0x348)]!==_0x626da||!_0x2a988d[_0x59bc13(0x2d9)])return;const _0x55f234=JSON['parse'](_0x2a988d[_0x59bc13(0x2d9)]);this[_0x59bc13(0x21c)](_0x55f234);}))),window['addEventListener'](_0x13f0f2(0x34f),()=>this[_0x13f0f2(0x3d2)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x13f0f2(0x140)](this['_selfUnitIDs'])}));}[_0xa2269c(0x21c)](_0x216336){const _0x44add3=_0xa2269c;switch(_0x216336['type']){case 0x0:this[_0x44add3(0x16a)](_0x216336);break;case 0x1:this['_handleLeaveEvent'](_0x216336);break;case 0x2:this[_0x44add3(0x138)](_0x216336);break;}}[_0xa2269c(0x16a)](_0x217338){const _0x153eec=_0xa2269c,{unitIDs:_0x6f0611,memberID:_0x5100da,isForwarded:_0x1d34aa}=_0x217338;_0x6f0611[_0x153eec(0x399)](_0x197c29=>{const _0x376ec3=_0x153eec;if(!_0x1d34aa&&this[_0x376ec3(0x301)][_0x376ec3(0x305)](_0x197c29)&&this[_0x376ec3(0x2fe)](_0x197c29)[_0x376ec3(0x386)](_0x49b930[_0x376ec3(0x375)][_0x376ec3(0x3a5)]),!this[_0x376ec3(0x301)]['has'](_0x197c29)||!this[_0x376ec3(0x301)]['get'](_0x197c29)[_0x376ec3(0x305)](_0x5100da)){const _0x1d01d9=this['_unitOnClients'][_0x376ec3(0x1ed)](_0x197c29)||new Set();_0x1d01d9[_0x376ec3(0x2a3)](_0x5100da),this[_0x376ec3(0x301)][_0x376ec3(0x233)](_0x197c29,_0x1d01d9),this['_scheduleClearOtherTimer'](_0x5100da);}}),_0x1d34aa||this[_0x153eec(0x3d2)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0xa2269c(0x1cd)](_0x5cdd94){const _0x5647a2=_0xa2269c;this[_0x5647a2(0x2fb)](_0x5cdd94);const _0x1bf723=window[_0x5647a2(0x409)](()=>{const _0x40e7ca=_0x5647a2;this[_0x40e7ca(0x301)][_0x40e7ca(0x399)](_0x584b63=>{_0x584b63['delete'](_0x5cdd94);});},_0x975c74*0x2);this[_0x5647a2(0x411)][_0x5647a2(0x233)](_0x5cdd94,_0x1bf723);}[_0xa2269c(0x2fb)](_0x416eb5){const _0x6898be=_0xa2269c;if(this[_0x6898be(0x411)][_0x6898be(0x305)](_0x416eb5)){const _0x4572b7=this['_clearOtherTimers']['get'](_0x416eb5);_0x4572b7&&window[_0x6898be(0x297)](_0x4572b7),this['_clearOtherTimers']['set'](_0x416eb5,null);}}['_handleLeaveEvent'](_0x1e67a5){const _0x33e0df=_0xa2269c,{memberID:_0x44adc6,unitIDs:_0x1d6591}=_0x1e67a5;_0x1d6591[_0x33e0df(0x399)](_0x5797e1=>{const _0xda1786=_0x33e0df;var _0x4ecaef;const _0x1221f0=this[_0xda1786(0x301)][_0xda1786(0x1ed)](_0x5797e1);_0x1221f0&&(_0x1221f0[_0xda1786(0x219)](_0x44adc6),(_0x4ecaef=this[_0xda1786(0x2fe)](_0x5797e1))==null||_0x4ecaef[_0xda1786(0x386)](_0x1221f0[_0xda1786(0x368)]===0x0?_0x49b930[_0xda1786(0x375)]['NO_OTHER_CLIENTS_EDITING']:_0x49b930[_0xda1786(0x375)][_0xda1786(0x3a5)]));}),this['_removeClearOtherTimer'](_0x44adc6);}[_0xa2269c(0x138)](_0x46ca6e){const _0x518e3e=_0xa2269c;this[_0x518e3e(0x1cd)](_0x46ca6e['memberID']);}[_0xa2269c(0x3d2)](_0x17e955){const _0x1426c4=_0xa2269c;localStorage['setItem'](_0x626da,JSON[_0x1426c4(0x133)](_0x17e955));}['_scheduleHeartbeat'](){const _0x4b2d4f=_0xa2269c;this[_0x4b2d4f(0x3f4)]=window[_0x4b2d4f(0x344)](()=>{const _0x4158c9=_0x4b2d4f;this[_0x4158c9(0x3d2)]({'type':0x2,'memberID':this[_0x4158c9(0x3a7)]});},_0x975c74);}[_0xa2269c(0x2fe)](_0x5fc6fe){const _0x2e1cc8=_0xa2269c;return this[_0x2e1cc8(0x413)][_0x2e1cc8(0x305)](_0x5fc6fe)||this[_0x2e1cc8(0x413)][_0x2e1cc8(0x233)](_0x5fc6fe,new _0xdb7e78[(_0x2e1cc8(0x189))](_0x49b930[_0x2e1cc8(0x375)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x2e1cc8(0x413)][_0x2e1cc8(0x1ed)](_0x5fc6fe);}}_0x44307e[_0xa2269c(0x384)]=_0xdbf68a,_0x44307e[_0xa2269c(0x1d1)]=_0x205978,_0x44307e['WebBrowserSingleActiveUnitService']=_0x441d1d,_0x44307e[_0xa2269c(0x164)]=_0x21f8d9,Object['defineProperty'](_0x44307e,Symbol[_0xa2269c(0x3de)],{'value':_0xa2269c(0x34d)});}));function _0x773f(){const _0x3abc02=['_memberService','SetTextSelectionsOperation','size','INVALID_INVITE_CODE','application/json','transformMutationsWithChangeset','DATA_SOURCE_TOO_LARGE','SUBMIT_CHANGESET_TIMEOUT','PAYMENT_CHANNEL_NOT_SUPPORT','0\x200\x2016\x2016','DocSelectionManagerService','_isBlinkVisible','transformIMECache','range','CollaborationUIEventService','UnitStatus','759328lCeajv','SetDocZoomRatioOperation','assign','START_CALCULATION','collaboration.closeRoom','ENTITLE_COUPON_USED_UP','_labelPosition','_scheduleSaving','DocSkeletonManagerService','NodePositionConvertToRectRange','dirtyRanges','formula.calculation.unable','USER_NOT_FOUND','REDEMPTION_INVALID_CODE','IURLService','ENTITLE_NEED_BILLING_ADDRESS','next','_session','shift','_colorAssignService','_sheetSkeletonManagerService','getFormulaLimitStatusUrl','5798130XdNqZj','_checkCalculationAvailable','_setupBeforeClosingHandler','_cursor','switchMap','_lastPointer','CollaborationEvent','takeUntil','transform','registerRefRange','none','toString','COMPLETION_FINISHED','forEach','transformRemoteChangeset','_refreshCollabCursors','rxjs','defIds','_removeCollabCursors','DeleteRangeMoveUpCommandId','\x20at\x20','session.collaboration-timeout','collaboration-client-ui.config','UNDEFINED','YUUMI_TABLE_NOT_FOUND_IN_UNIT','OTHER_CLIENTS_EDITING','unitID','_id','USER_NOT_INVITED_CODE','_initUnhandledRejectionListener','clsx','isFormulaString','collaboration.single-unit.warning','path','clipPath','length','enableLocalCache','ENSURE_SNAPSHOT_EXECUTION','_collaborationSessionService','LICENSE_EXPORT_SIZE_EXCEEDED','@univerjs/core','_getAnchorBounding','Rect','getViewport','@univerjs/ui','842628YZNVdz','attrs','wsSessionTicketUrl','_getFormulaLimitStatus','subscribe','translate(.97)','_getSheetObject','_httpService','getColor','getUniverSheetInstance','_initStatusComponent','doc.mutation.rich-text-editing','collabStatus.fetchMiss','_transformHistoryAndStateStack','setConfig','setItem','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','APPLY_PERMISSION_DENIED','_disabled','transformStateCache','_revisionService','entries','UniverRpc','OFFLINE','DeleteRangeMoveLeftCommandId','_send','_offsetY','jsx','history','deepClone','runOnServer','_beforeCloseService','editingUnit','_shapes','fillStyle','url(#off-line-icon_clip0_910_343)','?taskId=','toStringTag','_anchorDot','_toggleOnline','TRANSFORM_CHANGE_OBSERVABLE_TYPE','univerjs-icon\x20univerjs-icon-','@univerjs-pro/collaboration','handleInsertRow','startsWith','then','requireSession','_drawAnchor','svg','handleDeleteRangeMoveUp','event$','isFormulaId','ENTITLE_REPORT_LIMIT_EXCEED','8826039vSPFoi','[LogService\x20Error]:\x20','IRenderManagerService','formula.calculation.started','replace','YUUMI_NO_CUBOID_FOR_QUESTION','_heartbeatTimer','currentTheme$','dispose$','tag','_docTransformStateCacheService','MOBILE_HAS_BEEN_BOUND','9585630sklfWU','color','arc','_range','CONFLICT','getAncestorScale','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','cursorInfo','ENTITLE_INVALID_COUPON_CODE','DisposableCollection','Plugin','restore','black','UniverProCollaborationClientUi','_transformPreviousActiveRange','setTimeout','useObservable','@univerjs/sheets-ui','_hideTimer','on-line-icon','_initCommandInterceptor','closePath','function','_clearOtherTimers','getActiveSheet','_unitStatus','mergeOverrideWithDependencies','InsertRangeMoveRightCommandId','collab-rect-range-','isTransformMutationFailure','DOC_RANGE_TYPE','/universer-api/license/formula/limit/start','startColumn','getSheetId','fill','entityInit$','_uiPartsService','getItem','_registerDependencies','_status$','rgb','M0\x200H16V16H0z','USER_IS_ANONYMOUS','whenReady','textRanges','_releaseCalculationLimit','LocaleService','addClipboardHook','CollaborationSessionService','max','all','Shape','executionId','CONNECTOR_DATA_TOO_LARGE','ENTITLE_DUP_SUBSCRIPTION','YUUMI_RATE_OVER_LIMIT','filter','_monkeyPatchLogService','stringify','debounce','_onCursorUpdate','YUUMI_ALL_TABLES_IS_INVALID','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_handleHeartbeatEvent','_urlService','result','getTypeOfUnitAdded$','SYNCED','ERROR_AGAIN','fromEventSubject','find','from','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','collabStatus.notCollab','UNIVER_DOC','Loading','ILocalStorageService','LICENSE_IMPORT_SIZE_EXCEEDED','_render','getSheetBySheetId','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','isArray','_hasFormulaInDirtyRanges','/universer-api/frontend/logs','_showGuardMessage','rxjs/operators','RemoteUniscriptService','FromArray','@univerjs/docs','_initResize','ACTIVE_UNIT_EVENT_CHANNEL','IConfigService','collabStatus.offline','addEventListener','transformByState','INTERNAL_ERROR','defineProperty','_setFormulaLimitStatus','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','IRemoteInstanceService','/universer-api/license/formula/limit/status','_name','_checkAndWaitForCalculationPermission','Workbook','_toggleOffline','DataLoaderService','selection','WebURLService','disposeWithMe','_instanceService','TEXT_RANGE_LAYER_INDEX','runId','loadOfflineData','_handleJoinEvent','YUUMI_UNABLE_LOAD_URL','highlightSecond','collabCursorState$','_currentUsage','reconnect','_stopBlinking','now','onCommandExecuted','onPointerLeave$','ThemeService','APPLY_REJECT','REDEMPTION_CODE_NOT_STARTED','COLORS','ISocketService','imageSourceType','APPLY_REVISION_CONFILICT','_drawTextRange','init','_docTransformIMECacheService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','serializeRangeWithSheet','save','registerBeforeClose','on-line-icon_clip0_910_349','UniverEngineRender','CURRENT_STATUS_CANNOT_OPERATE','current','pushState','asObservable','_applyCommand','BehaviorSubject','USERS_LEAVE','sheetId','AWAITING','SHEET_VIEWPORT_KEY','_memberID','hide','loadUnit','_renderManagerService','backgroundColor','ALREADY_EXISTS','font','_updateCollabCursors','_collabCursorState$','DEFAULT_WS_SESSION_TICKET_URL','React','limitInfo','Warning','createInstance','getCoordByCell','ITransformService','CollaborationDataLoaderController','collabStatus.conflict','handleIRemoveRow','clearInterval','http://www.w3.org/2000/svg','APPLY_NON_SEQUENTIAL_REVISION','uni.network.url-service','getRenderById','UniverProCollaboration','_backgroundColor','onPointerEnter$','getTypeOfUnitDisposed$','UNRECOGNIZED','moveTo','RxDisposable','APPLY_DUPLICATED','_getSaveTimeout','_document','_onRefRangeChange','Success','getFocusedUnit','isActive','INVALID_ARGUMENT','url(#$1','getUnitId','RECT','RevisionService','redoState','Unknown\x20user','unitId','LOGIN_TOKEN_PROCESSING_FAILED','fillRule','BuiltInUIPart','getCurrentRevOfUnit','/universer-api/license/formula/limit/done','setUndoRedoMutationParamsCache','_logService','LOGIN_FAILED','override','_collabCursorController','_initEntityListener','collabStatus.synced','getVpScrollXYInfoByPosToVp','TOO_MANY_REQUESTS','REDEMPTION_USER_REDEEM_TIMES_EXCEED','jsxs','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_scheduleClearOtherTimer','Inject','engine','UNAUTHENTICATED','SheetCollabCursorShape','DocIMEInputManagerService','REDEMPTION_CODE_HAS_BEEN_CREATED','formula.calculation.waiting','IMessageService','Tools','sessionTicket','permission.content','body','replaceState','debounceTime','_taskIds','white','getOffsetConfig','_updateLocalCursor','sessionStatus$','saveImage','MemberService','map','endColumn','createSocket','_cursorInfo$','_getScale','currentUsage','_localStorageService','stack','_color','SetSelectionsOperation','get','height','_univerInstanceService','send','Subject','_localeService','type','getSkeleton','WECHAT_HAS_BEEN_BOUND','_saveTaskMap','getUndoRedoMutationParamsCache','name','lineno','measureText','reason','@univerjs/docs-ui','NOT_FOUND','Rectangle','getRangePointData','toDisposable','addObject','hovered','memberID','onStarting','...','getDocRanges','message','width','origin','getStateCache','top','getMergeData','_startCalculationLimit','UniverCore','SetWorksheetActivateCommand','CHANGESET_REVISION_CONFILICT','searchParams','dispose','parseInt','Vector2','ColorKit','stageInfo','handleInsertRangeMoveRight','children','delete','bottom','split','_handleEvent','unsubscribe','labelPosition','assignAColorForMemberID','useCallback','getRelativeToViewportCoord','[Window\x20Error]:\x20','source','getCellPositionByOffset','MOBILE_VERIFY_CODE_MISMATCH','LICENSE_DISTRO_REJECTED','getActiveRange','_updateURLWithCurrentState','IUIPartsService','isEditing','_blinkTimer','executeCommand','_syncEditingCollabCursorService','defs','cursorInfo$','_eventUnsubscribe','setStateCache','merge','set','_commandService','location','SOCKET_FAILED','_startBlinking','beginPath','isTransformMutationsWithChangesetSuccess','unhandledrejection','_doCreateSocket','activeSheet$','search','roomMembers','INVITE_CODE_REQUIRED','IUniverInstanceService','_maxFormulaLimit','Failed','RegularPolygon','_online','_pollingInterval','HTTPService','onLocalMutation','ticket','column','UNIVER_SHEET','EffectRefRangId','row','transformSelections','code','SheetSkeletonManagerService','min','_collaborationUIEventService','react/jsx-runtime','_transformService','SetFormulaCalculationNotificationMutation','removeParam','getUnit','div','_refRangeService','_assignedColors','@univerjs/engine-render','combineLatest','REDEMPTION_CODE_FULLY_REDEEMED','AUTHORIZE_CODE_ILLEGAL','_themeService','/run/','_lastResponseTimestamp','InsertRangeMoveDownCommandId','idSuffix','permission.title','setParam','getConfig','_imageIoService','_cursors','collab-text-anchor-','Error','getMember','UPDATE_CURSOR','VIEW_MAIN','roomMembers$','onMouseMove','_cachedData','connectInjector','univer-mr-2\x20univer-flex\x20univer-text-xl','removeEventListener','getValue','saveOfflineData','subUnitId','YUUMI_CONNECTOR_URL_NOT_FOUND','show','ICommandService','MUTATION','xlink:href','PY_RUNTIME_SCRIPT_ERROR','ISnapshotServerService','CollaborationStatus','runRefRangeMutations','InsertColCommandId','startFormulaLimitUrl','urlChange$','displayName','UniverDesign','post','complete','getUnitStatus$','pipe','_colorIndex','_handleHover','values','socket$','REDEMPTION_USER_NOT_ELIGIBLE','handleMoveRange','YUUMI_SUBSCRIPTION_NOT_FOUND','_onCursorDelete','collaboration.offline-data-not-saved','UniverCollaborationClientUIPlugin','toRgbString','_scene','random','_messageService','colno','clearTimeout','mutations','pluginName','_init','addHandlerCallback','mask','_startDocCollabCursor','UniverDrawing','univer-flex\x20univer-items-center','object','slice','session.connection-failed','add','updateOfflineData','LICENSE_MAX_UNITS_EXCEEDED','getCollabCursors$','blue.400','syncEditingCollabCursor','_selfUnitIDs','_blinkIntervalTimer','getColorFromTheme','some','UniverSheets','UniverSheetsUi','_highlightSecond','session.will-retry','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','5271406JOWMUX','_notificationService','contains','ENTITLE_COUPON_EXPIRED','resize','_textBubble','distinctUntilChanged','_cursorShapes','_collaborationController','mapTo','use','CanceledError','setShapeProps','useDependency','11098lNnzXS','makeDirty','CollaborationUIEventId','InsertRowCommandId','IImageIoService','IDocClipboardService','startRow','PERMISSION_DENIED','transformMutation','_injector','push','NodePositionConvertToCursor','NOT_COLLAB','CommandType','getCurrentSelections','flatMap','MessageType','string','_getSessionTicket','currentSkeleton$','createElement','_updateSubUnitFromURLParams','round','SNAPSHOT_HAS_BEEN_REMOVED','lineTo','newValue','_clearPolling','EMAIL_VERIFY_CODE_MISMATCH','_entities','_docSkeletonManagerService','_roomMembers$','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','purple.300','BrowserCollaborationSocketService','UniverUi','react','_initCommandExecutedListener','@univerjs/drawing','getMemberID','Injector','saveTaskMap','exhaustSavingTask','debug','Disposable','getCurrent','unshift','getOwnPropertyDescriptor','_uploadLog','_getMergeRange','endRow','undoState','ILogService','FETCH_MISS','rgba','red.300','symbol','YUUMI_ASYNCIO_CANCELLED','_localCacheService','m1Prime','_removeClearOtherTimer','IBeforeCloseService','@univerjs/sheets','_ensureSubject','evenodd','_anchor','_unitOnClients','INVITE_CODE_ALREADY_BOUND','fromEvent','_initUserListener','has','jiqing.500','href','replaceDocRanges','RefRangeService','offsetY','registerRenderModule','handleDeleteRangeMoveLeft','CollaborationController','off-line-icon_clip0_910_343','getCollabEntity$','m2Prime','generateRandomId','getParam','UniverDocsUi','258LLwlgz','_initDependencies','useRef',',\x200.2)','RemoveColCommandId','onRendered','ILocalCacheService','setAlpha','_setupSubUnitSync','yellow.400','AWAITING_WITH_PENDING','findNodePositionByCharIndex','_saveCache','text','highlight','colorChannel1','OffLineIcon','OnLineIcon','UniverProCollaborationClient','skeleton','_config','@univerjs/rpc','ENTITLE_CHAT_LIMIT_EXCEED','ONLINE','REDEMPTION_CODE_INACTIVE','ranges','8GapNvZ','_getLighterColor','_docClipboardService','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','UniverInstanceType','storage','subscribeEvent','_startSheetCollabCursor','drawWith','createIdentifier','with','subunit','triggerDblclick','1em','_docSkeleton','error','disableLocalCache','bind','_collabSessionService','ENTITLE_INSUFFICIENT_QUOTA','[Unhandled\x20Rejection]:\x20','_registerRenderDependencies','setInterval','DesktopCollaborationStatusDisplayController','disposeUnit','data','key','rgba(255,\x20255,\x20255,\x200.01)','0\x200\x2017\x2016','addObjects','ENTITLE_USE_COUPON_NOT_1ST_TRADE','Module','_draw','unload','handleInsertRangeMoveDown','stage','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_showText','CLOSE_ROOM','green.600','_initEvent','touchDependencies','_createSocketURL','_configService','_dataLoaderService','unit','0.2)','Optional','_hovered','_entityInit$','_hover','[RemoteUniscriptService]:\x20no\x20focused\x20unit','currentColor','_context','params','enableFrontendLog'];_0x773f=function(){return _0x3abc02;};return _0x773f();}
8
+ function _0x43cc(_0x349140,_0x58a075){_0x349140=_0x349140-0x1de;const _0xa1711b=_0xa171();let _0x43cc66=_0xa1711b[_0x349140];return _0x43cc66;}(function(_0x48d50d,_0x3a0bca){const _0x4eaa70=_0x43cc,_0x5814fd=_0x48d50d();while(!![]){try{const _0x223f32=parseInt(_0x4eaa70(0x311))/0x1+parseInt(_0x4eaa70(0x334))/0x2+-parseInt(_0x4eaa70(0x4cd))/0x3*(-parseInt(_0x4eaa70(0x3e4))/0x4)+parseInt(_0x4eaa70(0x220))/0x5+parseInt(_0x4eaa70(0x2a3))/0x6+-parseInt(_0x4eaa70(0x2d2))/0x7*(-parseInt(_0x4eaa70(0x453))/0x8)+-parseInt(_0x4eaa70(0x3b1))/0x9;if(_0x223f32===_0x3a0bca)break;else _0x5814fd['push'](_0x5814fd['shift']());}catch(_0x3e21c7){_0x5814fd['push'](_0x5814fd['shift']());}}}(_0xa171,0x7b804),function(_0x8b0612,_0x3458bf){const _0x16c940=_0x43cc;typeof exports=='object'&&typeof module<'u'?_0x3458bf(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x16c940(0x48e)&&define['amd']?define(['exports','react/jsx-runtime','@univerjs-pro/collaboration-client',_0x16c940(0x41f),'@univerjs/ui',_0x16c940(0x378),'@univerjs/design',_0x16c940(0x2bd),_0x16c940(0x4a6),_0x16c940(0x3ee),_0x16c940(0x385),_0x16c940(0x3c4),_0x16c940(0x3cd),_0x16c940(0x340),_0x16c940(0x439),'@univerjs/docs',_0x16c940(0x417),'rxjs/operators',_0x16c940(0x1ef)],_0x3458bf):(_0x8b0612=typeof globalThis<'u'?globalThis:_0x8b0612||self,_0x3458bf(_0x8b0612[_0x16c940(0x37d)]={},_0x8b0612[_0x16c940(0x2ad)],_0x8b0612[_0x16c940(0x414)],_0x8b0612[_0x16c940(0x236)],_0x8b0612[_0x16c940(0x25b)],_0x8b0612[_0x16c940(0x378)],_0x8b0612[_0x16c940(0x251)],_0x8b0612['React'],_0x8b0612['UniverRpc'],_0x8b0612[_0x16c940(0x392)],_0x8b0612[_0x16c940(0x4d0)],_0x8b0612[_0x16c940(0x455)],_0x8b0612['UniverDocsUi'],_0x8b0612[_0x16c940(0x34e)],_0x8b0612['UniverProCollaboration'],_0x8b0612[_0x16c940(0x397)],_0x8b0612['UniverEngineFormula'],_0x8b0612[_0x16c940(0x378)][_0x16c940(0x253)],_0x8b0612[_0x16c940(0x37a)]));}(this,function(_0x2d9fff,_0x174d1c,_0xc712b5,_0x2d11dc,_0x95a23a,_0x433dcc,_0x1bfc45,_0x1d9c9d,_0x2335c2,_0x3b63cc,_0x371184,_0x5a38fd,_0x1ff6d4,_0x31e87a,_0x1509c8,_0x30435f,_0x17936f,_0xbeb681,_0xd80992){'use strict';const _0x392691=_0x43cc;var _0x7ca67d=Object['defineProperty'],_0xaea4e8=(_0x122a37,_0x3d4ef1,_0x2065f3)=>_0x3d4ef1 in _0x122a37?_0x7ca67d(_0x122a37,_0x3d4ef1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2065f3}):_0x122a37[_0x3d4ef1]=_0x2065f3,_0x4a3e10=(_0x357e62,_0x1cfb2e,_0xa08a57)=>_0xaea4e8(_0x357e62,typeof _0x1cfb2e!='symbol'?_0x1cfb2e+'':_0x1cfb2e,_0xa08a57);function _0x247df8({ref:_0x6f24c1,..._0x4ba230}){const _0x5bbc05=_0x43cc,{icon:_0x479ef6,id:_0x4bf51c,className:_0x40d499,extend:_0x126848,..._0xad670e}=_0x4ba230,_0x28b41b=(_0x5bbc05(0x319)+_0x4bf51c+'\x20'+(_0x40d499||''))[_0x5bbc05(0x2f9)](),_0x193cde=_0x1d9c9d[_0x5bbc05(0x28d)]('_'+_0x36a881());return _0x5d768f(_0x479ef6,''+_0x4bf51c,{'defIds':_0x479ef6[_0x5bbc05(0x4aa)],'idSuffix':_0x193cde[_0x5bbc05(0x48c)]},{'ref':_0x6f24c1,'className':_0x28b41b,..._0xad670e},_0x126848);}function _0x5d768f(_0x30f3e6,_0x216131,_0x39601b,_0x325bad,_0x59858d){const _0x3590d2=_0x43cc;return _0x1d9c9d[_0x3590d2(0x4e2)](_0x30f3e6[_0x3590d2(0x2f8)],{'key':_0x216131,..._0x5e38de(_0x30f3e6,_0x39601b,_0x59858d),..._0x325bad},(_0x6ccc1f(_0x30f3e6,_0x39601b)[_0x3590d2(0x215)]||[])[_0x3590d2(0x337)]((_0x2cf6b8,_0x16ba69)=>_0x5d768f(_0x2cf6b8,_0x216131+'-'+_0x30f3e6['tag']+'-'+_0x16ba69,_0x39601b,void 0x0,_0x59858d)));}function _0x5e38de(_0x5be755,_0x5cec55,_0x1917d6){const _0x11031c=_0x43cc,_0x2206da={..._0x5be755['attrs']};_0x1917d6!=null&&_0x1917d6['colorChannel1']&&_0x2206da[_0x11031c(0x44e)]===_0x11031c(0x382)&&(_0x2206da[_0x11031c(0x44e)]=_0x1917d6[_0x11031c(0x382)]),_0x5be755[_0x11031c(0x2f8)]===_0x11031c(0x295)&&_0x2206da['id']&&(_0x2206da['id']=_0x2206da['id']+_0x5cec55[_0x11031c(0x3b7)]),Object[_0x11031c(0x30a)](_0x2206da)['forEach'](([_0x38d245,_0x24ab74])=>{const _0xac4766=_0x11031c;_0x38d245==='mask'&&typeof _0x24ab74==_0xac4766(0x450)&&(_0x2206da[_0x38d245]=_0x24ab74['replace'](/url\(#(.*)\)/,_0xac4766(0x489)+_0x5cec55[_0xac4766(0x3b7)]+')'));});const {defIds:_0x30774d}=_0x5cec55;return!_0x30774d||_0x30774d[_0x11031c(0x30c)]===0x0||(_0x5be755[_0x11031c(0x2f8)]===_0x11031c(0x3fb)&&_0x2206da['xlink:href']&&(_0x2206da[_0x11031c(0x2f3)]=_0x2206da[_0x11031c(0x2f3)]+_0x5cec55['idSuffix']),Object[_0x11031c(0x30a)](_0x2206da)['forEach'](([_0x9ecbc3,_0x2607de])=>{const _0x5377fa=_0x11031c;typeof _0x2607de==_0x5377fa(0x450)&&(_0x2206da[_0x9ecbc3]=_0x2607de[_0x5377fa(0x4a4)](/url\(#(.*)\)/,_0x5377fa(0x489)+_0x5cec55[_0x5377fa(0x3b7)]+')'));})),_0x2206da;}function _0x6ccc1f(_0x2c1882,_0x3e39c5){const _0x3c2505=_0x43cc;var _0x3fb4fc;const {defIds:_0xb2302b}=_0x3e39c5;return!_0xb2302b||_0xb2302b[_0x3c2505(0x30c)]===0x0?_0x2c1882:_0x2c1882[_0x3c2505(0x2f8)]===_0x3c2505(0x430)&&((_0x3fb4fc=_0x2c1882[_0x3c2505(0x215)])!=null&&_0x3fb4fc[_0x3c2505(0x30c)])?{..._0x2c1882,'children':_0x2c1882[_0x3c2505(0x215)][_0x3c2505(0x337)](_0x18ff2f=>typeof _0x18ff2f[_0x3c2505(0x3d4)]['id']==_0x3c2505(0x450)&&_0xb2302b&&_0xb2302b[_0x3c2505(0x390)](_0x18ff2f[_0x3c2505(0x3d4)]['id'])?{..._0x18ff2f,'attrs':{..._0x18ff2f[_0x3c2505(0x3d4)],'id':_0x18ff2f[_0x3c2505(0x3d4)]['id']+_0x3e39c5[_0x3c2505(0x3b7)]}}:_0x18ff2f)}:_0x2c1882;}function _0x36a881(){const _0x19e8eb=_0x43cc;return Math[_0x19e8eb(0x44b)]()[_0x19e8eb(0x40b)](0x24)[_0x19e8eb(0x216)](0x2,0x8);}_0x247df8['displayName']=_0x392691(0x34d);const _0x1df558={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x392691(0x240),'viewBox':_0x392691(0x1ec),'width':_0x392691(0x4ee),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x392691(0x2f6)},'children':[{'tag':_0x392691(0x2ab),'attrs':{'stroke':_0x392691(0x270),'d':_0x392691(0x470),'strokeLinecap':_0x392691(0x459),'strokeLinejoin':_0x392691(0x459),'strokeWidth':1.2}}]},{'tag':_0x392691(0x430),'attrs':{},'children':[{'tag':_0x392691(0x372),'attrs':{'id':_0x392691(0x318)},'children':[{'tag':_0x392691(0x2ab),'attrs':{'fill':_0x392691(0x1ea),'d':_0x392691(0x432)}}]}]}],'defIds':[_0x392691(0x318)]},_0x5a0428=_0x1d9c9d['forwardRef'](function(_0x37fc4b,_0x54a6a5){const _0x281f0a=_0x392691;return _0x1d9c9d[_0x281f0a(0x4e2)](_0x247df8,Object['assign']({},_0x37fc4b,{'id':_0x281f0a(0x29b),'ref':_0x54a6a5,'icon':_0x1df558}));});_0x5a0428[_0x392691(0x4ba)]='OffLineIcon';const _0x5cb7d8={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x392691(0x240),'viewBox':_0x392691(0x284),'width':_0x392691(0x4ee),'height':_0x392691(0x4ee)},'children':[{'tag':'g','attrs':{'clipPath':_0x392691(0x43b)},'children':[{'tag':_0x392691(0x2ab),'attrs':{'stroke':_0x392691(0x270),'d':_0x392691(0x1fa),'strokeLinecap':'round','strokeLinejoin':_0x392691(0x459),'strokeWidth':1.2}}]},{'tag':_0x392691(0x430),'attrs':{},'children':[{'tag':_0x392691(0x372),'attrs':{'id':_0x392691(0x2c2)},'children':[{'tag':_0x392691(0x2ab),'attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':_0x392691(0x2ea)}}]}]}],'defIds':[_0x392691(0x2c2)]},_0x4d015c=_0x1d9c9d[_0x392691(0x4b3)](function(_0x586292,_0x54cb6e){const _0x540a45=_0x392691;return _0x1d9c9d[_0x540a45(0x4e2)](_0x247df8,Object['assign']({},_0x586292,{'id':_0x540a45(0x23b),'ref':_0x54cb6e,'icon':_0x5cb7d8}));});_0x4d015c[_0x392691(0x4ba)]='OnLineIcon';function _0x110955(_0x165597){const _0x20baca=_0x392691;switch(_0x165597){case _0xc712b5[_0x20baca(0x207)][_0x20baca(0x4c0)]:return _0x20baca(0x3b3);case _0xc712b5[_0x20baca(0x207)][_0x20baca(0x492)]:return _0x20baca(0x420);case _0xc712b5[_0x20baca(0x207)][_0x20baca(0x481)]:return'collabStatus.fetchMiss';case _0xc712b5[_0x20baca(0x207)]['NOT_COLLAB']:return _0x20baca(0x1eb);case _0xc712b5['CollaborationStatus'][_0x20baca(0x21d)]:case _0xc712b5['CollaborationStatus'][_0x20baca(0x324)]:return _0x20baca(0x4ca);case _0xc712b5[_0x20baca(0x207)][_0x20baca(0x2e8)]:case _0xc712b5[_0x20baca(0x207)][_0x20baca(0x389)]:return _0x20baca(0x23c);}}function _0x50f78b(_0x1b8668){const _0x5dbb1d=_0x392691,{status$:_0x44cbe0}=_0x1b8668,_0x36088b=_0x95a23a[_0x5dbb1d(0x3c1)](_0x44cbe0,_0xc712b5[_0x5dbb1d(0x207)][_0x5dbb1d(0x447)]),_0x36f7a0=_0x95a23a['useDependency'](_0x2d11dc['LocaleService']),_0x5281f5=_0x95a23a['useDependency'](_0xc712b5[_0x5dbb1d(0x3ba)]),_0x3b48e2=_0x36088b!==_0xc712b5[_0x5dbb1d(0x207)]['OFFLINE'],_0x1860d9=_0x36f7a0['t'](_0x110955(_0x36088b)),_0x56ecfe=_0x3b48e2?_0x174d1c[_0x5dbb1d(0x485)](_0x4d015c,{}):_0x174d1c['jsx'](_0x5a0428,{}),_0x1ea68b=_0x1d9c9d[_0x5dbb1d(0x3a2)](()=>{const _0x4a54f0=_0x5dbb1d;_0x3b48e2||_0x5281f5[_0x4a54f0(0x26d)]();},[_0x3b48e2,_0x5281f5]);function _0x1c87f9(){const _0x47545a=_0x5dbb1d;return _0x174d1c[_0x47545a(0x47a)]('div',{'className':_0x47545a(0x437),'onClick':_0x1ea68b,'children':[_0x174d1c['jsx']('div',{'className':_0x1bfc45[_0x47545a(0x317)](_0x47545a(0x2a9),{'univer-text-green-500':_0x3b48e2,'univer-text-red-500':!_0x3b48e2}),'children':_0x56ecfe}),_0x174d1c[_0x47545a(0x485)](_0x47545a(0x369),{'className':_0x47545a(0x3b2),'children':_0x1860d9})]});}return _0x3b48e2?_0x1c87f9():_0x174d1c[_0x5dbb1d(0x485)](_0x1bfc45[_0x5dbb1d(0x3a5)],{'title':_0x36f7a0['t'](_0x5dbb1d(0x2db)),'children':_0x1c87f9()});}var _0x16aa9c=Object[_0x392691(0x39f)],_0x310a24=(_0x15e238,_0x76619d,_0x22a83a,_0x743735)=>{const _0x31216f=_0x392691;for(var _0x53cd68=_0x743735>0x1?void 0x0:_0x743735?_0x16aa9c(_0x76619d,_0x22a83a):_0x76619d,_0x312f20=_0x15e238[_0x31216f(0x30c)]-0x1,_0x3070d2;_0x312f20>=0x0;_0x312f20--)(_0x3070d2=_0x15e238[_0x312f20])&&(_0x53cd68=_0x3070d2(_0x53cd68)||_0x53cd68);return _0x53cd68;},_0x447e2c=(_0x2dba0c,_0x1bb13e)=>(_0x32e1ad,_0x553d7d)=>_0x1bb13e(_0x32e1ad,_0x553d7d,_0x2dba0c);_0x2d9fff['DesktopCollaborationStatusDisplayController']=class extends _0x2d11dc[_0x392691(0x1e0)]{constructor(_0x1b2d1a,_0x3cb657,_0x5ed20b,_0x1a8f70){const _0x1ddfe4=_0x392691;super(),_0x4a3e10(this,_0x1ddfe4(0x360),new _0x433dcc[(_0x1ddfe4(0x42a))](_0xc712b5[_0x1ddfe4(0x207)]['NOT_COLLAB'])),(this[_0x1ddfe4(0x401)]=_0x1b2d1a,this['_injector']=_0x3cb657,this[_0x1ddfe4(0x2ca)]=_0x5ed20b,this[_0x1ddfe4(0x443)]=_0x1a8f70,this[_0x1ddfe4(0x273)](),this['_initStatusListener']());}[_0x392691(0x497)](){const _0x21fa3c=_0x392691;this[_0x21fa3c(0x2c5)](this[_0x21fa3c(0x401)]['focused$'][_0x21fa3c(0x38d)](_0x433dcc['switchMap'](()=>{const _0x59f281=_0x21fa3c,_0xeed5ea=this[_0x59f281(0x401)][_0x59f281(0x364)]();return _0xeed5ea?this[_0x59f281(0x2ca)]['getCollabEntity$'](_0xeed5ea[_0x59f281(0x33a)]()):_0x433dcc['of'](null);}),_0x433dcc[_0x21fa3c(0x33c)](_0x2a013c=>_0x2a013c?_0x2a013c[_0x21fa3c(0x34c)]:_0x433dcc['of'](_0xc712b5[_0x21fa3c(0x207)][_0x21fa3c(0x447)])))[_0x21fa3c(0x47f)](_0x3f30eb=>{const _0x35e300=_0x21fa3c;this[_0x35e300(0x360)][_0x35e300(0x1fb)](_0x3f30eb);}));}[_0x392691(0x273)](){const _0x1a7b5a=_0x392691;this[_0x1a7b5a(0x2c5)](this[_0x1a7b5a(0x443)]['registerComponent'](_0x95a23a[_0x1a7b5a(0x330)][_0x1a7b5a(0x25e)],()=>_0x95a23a['connectInjector'](_0x3e5ab2({'status$':this[_0x1a7b5a(0x360)][_0x1a7b5a(0x4c5)]()}),this[_0x1a7b5a(0x248)])));}},_0x2d9fff[_0x392691(0x22f)]=_0x310a24([_0x447e2c(0x0,_0x2d11dc[_0x392691(0x27d)]),_0x447e2c(0x1,_0x2d11dc[_0x392691(0x36d)](_0x2d11dc[_0x392691(0x47d)])),_0x447e2c(0x2,_0x2d11dc[_0x392691(0x36d)](_0xc712b5[_0x392691(0x255)])),_0x447e2c(0x3,_0x95a23a[_0x392691(0x202)])],_0x2d9fff[_0x392691(0x22f)]);function _0x3e5ab2(_0x2a1485){const {status$:_0x57f21e}=_0x2a1485;return function(){return _0x174d1c['jsx'](_0x50f78b,{'status$':_0x57f21e});};}const _0x2f7718=_0x2d11dc[_0x392691(0x1ff)]('uni.network.url-service');var _0x202bae=Object[_0x392691(0x39f)],_0x3228ca=(_0x1f8ea7,_0x32304e,_0x22c7a1,_0x4c9008)=>{for(var _0x13a86d=_0x4c9008>0x1?void 0x0:_0x4c9008?_0x202bae(_0x32304e,_0x22c7a1):_0x32304e,_0x42b1b7=_0x1f8ea7['length']-0x1,_0x3b2be0;_0x42b1b7>=0x0;_0x42b1b7--)(_0x3b2be0=_0x1f8ea7[_0x42b1b7])&&(_0x13a86d=_0x3b2be0(_0x13a86d)||_0x13a86d);return _0x13a86d;},_0x2fa474=(_0x4277f5,_0x2dc3fa)=>(_0x59fe39,_0x3678a0)=>_0x2dc3fa(_0x59fe39,_0x3678a0,_0x4277f5);_0x2d9fff['CollaborationDataLoaderController']=class extends _0x2d11dc[_0x392691(0x2bb)]{constructor(_0x2fb301,_0x4ac6b7,_0x484b24,_0xc1cbdf,_0x4cb88a){const _0x1a47ca=_0x392691;super(),this[_0x1a47ca(0x231)]=_0x2fb301,this[_0x1a47ca(0x307)]=_0x4ac6b7,this[_0x1a47ca(0x3cf)]=_0x484b24,this[_0x1a47ca(0x4b5)]=_0xc1cbdf,_0x4cb88a?_0x4cb88a==null||_0x4cb88a[_0x1a47ca(0x380)]()[_0x1a47ca(0x258)](()=>this[_0x1a47ca(0x411)]()):(this[_0x1a47ca(0x307)][_0x1a47ca(0x491)](_0x1a47ca(0x29c),_0x1a47ca(0x358)),this[_0x1a47ca(0x411)]());}async['_init'](){const _0x4a78a4=_0x392691,_0x4101f9=this[_0x4a78a4(0x231)]['getParam'](_0x4a78a4(0x362)),_0x3b64ab=this[_0x4a78a4(0x231)][_0x4a78a4(0x4ea)]('type'),_0x290bf2=this[_0x4a78a4(0x231)][_0x4a78a4(0x4ea)](_0x4a78a4(0x35d));if(!_0x4101f9||!_0x3b64ab){this[_0x4a78a4(0x307)][_0x4a78a4(0x491)](_0x4a78a4(0x29c),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x134b9d=await this[_0x4a78a4(0x4b5)][_0x4a78a4(0x3da)](_0x4101f9,Number(_0x3b64ab),_0x290bf2);_0x134b9d&&_0x134b9d instanceof _0x2d11dc[_0x4a78a4(0x283)]&&this[_0x4a78a4(0x4a0)](_0x134b9d);}async[_0x392691(0x4a0)](_0x2926ab){const _0x234ab1=_0x392691;await this['_updateSubUnitFromURLParams'](_0x2926ab),_0x2926ab[_0x234ab1(0x31c)][_0x234ab1(0x38d)](_0x433dcc['takeUntil'](this[_0x234ab1(0x1f8)]))[_0x234ab1(0x47f)](_0xa41225=>{const _0x1f4bad=_0x234ab1;_0xa41225&&this[_0x1f4bad(0x2fb)](_0xa41225);}),this[_0x234ab1(0x231)][_0x234ab1(0x239)][_0x234ab1(0x38d)](_0x433dcc['takeUntil'](this[_0x234ab1(0x1f8)]))[_0x234ab1(0x47f)](()=>this[_0x234ab1(0x347)](_0x2926ab));}['_updateURLWithCurrentState'](_0x1f73a6,_0x466704=!0x1){const _0x215e3f=_0x392691,_0x3b7f93=this[_0x215e3f(0x231)][_0x215e3f(0x4ea)]('subunit');_0x1f73a6[_0x215e3f(0x39d)]()!==_0x3b7f93&&this[_0x215e3f(0x231)][_0x215e3f(0x25a)]('subunit',_0x1f73a6[_0x215e3f(0x39d)](),_0x466704);}async[_0x392691(0x347)](_0x1e706e){const _0x264fef=_0x392691;var _0x37b50d;const _0x33ac13=this[_0x264fef(0x231)][_0x264fef(0x4ea)](_0x264fef(0x35d));if(!_0x33ac13||!_0x1e706e['getSheetBySheetId'](_0x33ac13)){const _0x79188=_0x1e706e[_0x264fef(0x278)]()[0x0],_0x19af9b=_0x1e706e[_0x264fef(0x363)](_0x79188);if(!_0x19af9b)return;this[_0x264fef(0x2fb)](_0x19af9b,!0x0),await this[_0x264fef(0x3cf)][_0x264fef(0x373)](_0x3b63cc[_0x264fef(0x367)]['id'],{'unitId':_0x1e706e['getUnitId'](),'subUnitId':_0x79188});return;}((_0x37b50d=_0x1e706e[_0x264fef(0x290)]())==null?void 0x0:_0x37b50d[_0x264fef(0x39d)]())!==_0x33ac13&&await this[_0x264fef(0x3cf)][_0x264fef(0x373)](_0x3b63cc[_0x264fef(0x367)]['id'],{'unitId':_0x1e706e[_0x264fef(0x33a)](),'subUnitId':_0x33ac13});}},_0x2d9fff['CollaborationDataLoaderController']=_0x3228ca([_0x2fa474(0x0,_0x2f7718),_0x2fa474(0x1,_0x2d11dc[_0x392691(0x4a1)]),_0x2fa474(0x2,_0x2d11dc[_0x392691(0x3aa)]),_0x2fa474(0x3,_0x2d11dc[_0x392691(0x36d)](_0xc712b5[_0x392691(0x435)])),_0x2fa474(0x4,_0x2d11dc[_0x392691(0x259)](_0x2335c2['IRemoteInstanceService']))],_0x2d9fff[_0x392691(0x406)]);const _0x5cab09={'name':_0x392691(0x4b4),'version':_0x392691(0x2df)};var _0x56c884=Object[_0x392691(0x39f)],_0x3458df=(_0x5997d9,_0x16afdd,_0x5e4b05,_0x10d043)=>{const _0x404fe3=_0x392691;for(var _0x8d6096=_0x10d043>0x1?void 0x0:_0x10d043?_0x56c884(_0x16afdd,_0x5e4b05):_0x16afdd,_0x186083=_0x5997d9[_0x404fe3(0x30c)]-0x1,_0x484e51;_0x186083>=0x0;_0x186083--)(_0x484e51=_0x5997d9[_0x186083])&&(_0x8d6096=_0x484e51(_0x8d6096)||_0x8d6096);return _0x8d6096;},_0x36224a=(_0x5612b1,_0x32a655)=>(_0x4e0c2a,_0x20733b)=>_0x32a655(_0x4e0c2a,_0x20733b,_0x5612b1);let _0x147aca=class extends _0x2d11dc[_0x392691(0x2bb)]{constructor(_0x174513,_0x8e0cb5){const _0x4c585d=_0x392691;super(),this[_0x4c585d(0x304)]=_0x174513,this[_0x4c585d(0x4af)]=_0x8e0cb5,this['_init']();}[_0x392691(0x411)](){const _0x2bef25=_0x392691,_0x4ab12e=this;this[_0x2bef25(0x2c5)](this[_0x2bef25(0x304)]['addClipboardHook']({'onBeforePasteImage':async _0x1db33a=>{const _0x381441=_0x2bef25,_0xbc6dd2=await _0x4ab12e[_0x381441(0x4af)][_0x381441(0x36b)](_0x1db33a);return _0xbc6dd2?{'source':_0xbc6dd2[_0x381441(0x4e9)],'imageSourceType':_0xbc6dd2[_0x381441(0x204)]}:null;}}));}};_0x147aca=_0x3458df([_0x36224a(0x0,_0x1ff6d4['IDocClipboardService']),_0x36224a(0x1,_0x31e87a[_0x392691(0x440)])],_0x147aca);const _0x170ce0=['purple.300',_0x392691(0x4e1),_0x392691(0x3fa),_0x392691(0x393),_0x392691(0x4e7),_0x392691(0x3bb)];class _0x478943 extends _0x2d11dc[_0x392691(0x1e0)]{constructor(){const _0x597abc=_0x392691;super(...arguments),_0x4a3e10(this,_0x597abc(0x3d6),new Map()),_0x4a3e10(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x4fb086){const _0xee1338=_0x392691;if(this[_0xee1338(0x3d6)][_0xee1338(0x4ab)](_0x4fb086))return this['_assignedColors'][_0xee1338(0x2fe)](_0x4fb086);const _0x45f736=_0x170ce0[this['_colorIndex']];return this[_0xee1338(0x4cc)]=(this['_colorIndex']+0x1)%_0x170ce0[_0xee1338(0x30c)],this[_0xee1338(0x3d6)][_0xee1338(0x250)](_0x4fb086,_0x45f736),_0x45f736;}}function _0x1dbf56(_0xf0ccfb){const _0x40ced0=_0x392691;let _0x4ad86f='';for(const _0x561231 of _0xf0ccfb){const {startOffset:_0x5c1fa9,endOffset:_0x44268b,isActive:_0x246a54,rangeType:_0x470ed8,segmentId:_0x47b42b,segmentPage:_0x36b854}=_0x561231;_0x4ad86f[_0x40ced0(0x30c)]&&(_0x4ad86f+=','),_0x4ad86f+=_0x5c1fa9+':'+_0x44268b+':'+(_0x246a54?'1':'0')+':'+_0x470ed8+':'+_0x47b42b+':'+_0x36b854;}return _0x4ad86f;}function _0x214c7b(_0x3e33bf){const _0xa280c8=_0x392691,_0x2047db=_0x3e33bf[_0xa280c8(0x39c)](','),_0x31ef1c=[];for(const _0xdd3460 of _0x2047db){const [_0x415f0b,_0x15456,_0x55a91c,_0x585e5c,_0x2c04cf,_0x11c1e8]=_0xdd3460[_0xa280c8(0x39c)](':');_0x31ef1c[_0xa280c8(0x381)]({'startOffset':Number(_0x415f0b),'endOffset':Number(_0x15456),'collapsed':_0x415f0b===_0x15456,'isActive':_0x55a91c==='1','rangeType':_0x585e5c===_0x2d11dc[_0xa280c8(0x2e7)][_0xa280c8(0x2cb)]?_0x2d11dc[_0xa280c8(0x2e7)]['TEXT']:_0x2d11dc['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0x2c04cf=='string'?String(_0x2c04cf):'','segmentPage':Number(_0x11c1e8!=null?_0x11c1e8:-0x1)});}return _0x31ef1c['some'](_0x3ac502=>_0x3ac502[_0xa280c8(0x480)])||(_0x31ef1c[0x0]['isActive']=!0x0),_0x31ef1c;}class _0x549909 extends _0x2d11dc[_0x392691(0x2bb)]{constructor(){const _0x291791=_0x392691;super(...arguments),_0x4a3e10(this,_0x291791(0x1fc),new _0x433dcc[(_0x291791(0x42a))](null)),_0x4a3e10(this,_0x291791(0x260),this['_collabCursorState$'][_0x291791(0x4c5)]());}[_0x392691(0x2f1)](_0x238d59){const _0x2123d8=_0x392691,{unitID:_0x47dc4c,memberID:_0x51e57e,textRanges:_0x1dc25b}=_0x238d59,_0x15c69d=_0x1dbf56(_0x1dc25b);if(_0x15c69d==='')return;const _0x438c6a={'unitID':_0x47dc4c,'memberID':_0x51e57e,'selection':_0x15c69d};this[_0x2123d8(0x1fc)]['next'](_0x438c6a);}}var _0x4e2f9f=Object[_0x392691(0x39f)],_0x2c9586=(_0x192306,_0x427dfe,_0x38d092,_0x216ec2)=>{for(var _0x4c2d3b=_0x216ec2>0x1?void 0x0:_0x216ec2?_0x4e2f9f(_0x427dfe,_0x38d092):_0x427dfe,_0x196ec6=_0x192306['length']-0x1,_0x5997c8;_0x196ec6>=0x0;_0x196ec6--)(_0x5997c8=_0x192306[_0x196ec6])&&(_0x4c2d3b=_0x5997c8(_0x4c2d3b)||_0x4c2d3b);return _0x4c2d3b;},_0x3ac3d8=(_0x508c75,_0x303cee)=>(_0x1fa080,_0x509f0c)=>_0x303cee(_0x1fa080,_0x509f0c,_0x508c75);const _0x2f64f8=0x12c,_0x5efacd=0x64;let _0x518c40=class extends _0x2d11dc[_0x392691(0x2bb)]{constructor(_0x5a2a4a,_0xf7fedb,_0x346f9f,_0x523daf,_0x424b18,_0x11bd1b,_0x4ee987,_0x3b8e67,_0x56d833){const _0x5ba8a6=_0x392691;super(),_0x4a3e10(this,_0x5ba8a6(0x415),!0x1),_0x4a3e10(this,'_init',!0x1),_0x4a3e10(this,_0x5ba8a6(0x3d7),new _0x433dcc[(_0x5ba8a6(0x42a))](new Map())),_0x4a3e10(this,_0x5ba8a6(0x4c9),this[_0x5ba8a6(0x3d7)][_0x5ba8a6(0x4c5)]()),_0x4a3e10(this,'_roomMembers$',new _0x433dcc[(_0x5ba8a6(0x42a))]([])),_0x4a3e10(this,_0x5ba8a6(0x454),this[_0x5ba8a6(0x272)][_0x5ba8a6(0x38d)](_0x433dcc[_0x5ba8a6(0x25c)](_0x2f64f8))),_0x4a3e10(this,'_updateLocalCursor',_0x2d11dc['debounce'](_0x181fe5=>{const _0x4f5bff=_0x5ba8a6,_0x15410c={'eventID':_0x1509c8[_0x4f5bff(0x327)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x4f5bff(0x391)],'memberID':this[_0x4f5bff(0x3f9)][_0x4f5bff(0x3bc)](),'selection':_0x1dbf56(_0x181fe5)}};this[_0x4f5bff(0x3f9)][_0x4f5bff(0x27a)](_0x15410c,this[_0x4f5bff(0x391)]);},_0x5efacd)),(this['unitID']=_0x5a2a4a,this[_0x5ba8a6(0x3f9)]=_0xf7fedb,this[_0x5ba8a6(0x248)]=_0x346f9f,this[_0x5ba8a6(0x3df)]=_0x523daf,this[_0x5ba8a6(0x39e)]=_0x424b18,this[_0x5ba8a6(0x427)]=_0x11bd1b,this[_0x5ba8a6(0x3c6)]=_0x4ee987,this[_0x5ba8a6(0x401)]=_0x3b8e67,this['_commandService']=_0x56d833);}get[_0x392691(0x49a)](){const _0x86e174=_0x392691;return this[_0x86e174(0x3d7)][_0x86e174(0x20c)]();}get['roomMembers'](){const _0x3190b7=_0x392691;return this[_0x3190b7(0x272)][_0x3190b7(0x20c)]();}['dispose'](){const _0x57b6e7=_0x392691;super[_0x57b6e7(0x2a5)](),this[_0x57b6e7(0x3d7)][_0x57b6e7(0x1fb)](new Map()),this['_cursorInfo$'][_0x57b6e7(0x262)](),this['_roomMembers$'][_0x57b6e7(0x1fb)]([]),this[_0x57b6e7(0x272)]['complete']();}[_0x392691(0x423)](){const _0x91aa55=_0x392691;this[_0x91aa55(0x411)]||(this['_init']=!0x0,this[_0x91aa55(0x3f9)][_0x91aa55(0x24a)][_0x91aa55(0x38d)](_0x433dcc[_0x91aa55(0x28c)](this[_0x91aa55(0x1f8)]))[_0x91aa55(0x47f)](_0x23ce60=>{const _0x3d8f46=_0x91aa55;_0x23ce60===_0xc712b5[_0x3d8f46(0x3b5)][_0x3d8f46(0x37b)]?this[_0x3d8f46(0x2a8)]():this[_0x3d8f46(0x24f)]();}),this[_0x91aa55(0x3f9)]['event$'][_0x91aa55(0x38d)](_0x433dcc[_0x91aa55(0x28c)](this[_0x91aa55(0x1f8)]))[_0x91aa55(0x47f)](_0xc3b121=>{const _0x12eff3=_0x91aa55,_0x10abab=_0xc3b121[_0x12eff3(0x4c8)];_0x10abab===_0x1509c8['CollaborationEvent'][_0x12eff3(0x1e7)]&&this[_0x12eff3(0x276)](_0xc3b121),_0x10abab===_0x1509c8[_0x12eff3(0x327)][_0x12eff3(0x289)]&&this['_onCursorDelete'](_0xc3b121);}),this[_0x91aa55(0x2c5)](this['_commandService'][_0x91aa55(0x1ee)](_0x48298c=>{const _0x39e735=_0x91aa55,_0x5d294f=_0x48298c[_0x39e735(0x44a)];_0x5d294f!=null&&this[_0x39e735(0x415)]&&_0x48298c['id']===_0x30435f[_0x39e735(0x438)]['id']&&_0x5d294f[_0x39e735(0x20f)]===this[_0x39e735(0x391)]&&_0x5d294f[_0x39e735(0x30d)]===!0x1&&_0x5d294f[_0x39e735(0x296)][_0x39e735(0x30c)]>0x0&&this[_0x39e735(0x26e)](_0x5d294f[_0x39e735(0x296)]);})),this[_0x91aa55(0x427)][_0x91aa55(0x260)]['pipe'](_0x433dcc[_0x91aa55(0x28c)](this['dispose$']))[_0x91aa55(0x47f)](_0x618c08=>{const _0x1f45b4=_0x91aa55;if((_0x618c08==null?void 0x0:_0x618c08[_0x1f45b4(0x391)])!==this[_0x1f45b4(0x391)])return;const _0x20f603={'eventID':_0x1509c8['CollaborationEvent'][_0x1f45b4(0x1e7)],'data':_0x618c08};this[_0x1f45b4(0x276)](_0x20f603);}),this[_0x91aa55(0x2c5)](this[_0x91aa55(0x3cf)][_0x91aa55(0x1ee)](_0x503540=>{const _0x37f3c4=_0x91aa55;if(_0x503540[_0x37f3c4(0x44a)]==null)return;const _0x2a30f6=_0x503540[_0x37f3c4(0x44a)];if(_0x503540['id']!==_0x30435f[_0x37f3c4(0x465)]['id']||_0x2a30f6[_0x37f3c4(0x20f)]!==this['unitID'])return;const _0x8af6e4={'id':_0x37f3c4(0x3e3),'params':_0x2a30f6},_0x127885=this[_0x37f3c4(0x49a)];for(const [_0x2b76b0,_0x343b0f]of _0x127885){const _0x20e903={'id':_0x37f3c4(0x3e3),'params':{'unitId':this[_0x37f3c4(0x391)],'actions':null,'textRanges':_0x343b0f[_0x37f3c4(0x296)]}},_0x37f330=this[_0x37f3c4(0x3c6)][_0x37f3c4(0x1e4)](_0x8af6e4,_0x20e903,!0x1);if(_0x1509c8[_0x37f3c4(0x279)](_0x37f330))throw _0x37f330[_0x37f3c4(0x4f1)];_0x127885[_0x37f3c4(0x250)](_0x2b76b0,{..._0x343b0f,'ranges':_0x37f330[_0x37f3c4(0x227)][_0x37f3c4(0x44a)][_0x37f3c4(0x200)]});}queueMicrotask(()=>{const _0x4b2618=_0x37f3c4;this[_0x4b2618(0x3d7)][_0x4b2618(0x1fb)](_0x127885);});})));}['_onCursorUpdate'](_0x410040){const _0xa829c7=_0x392691;var _0xc04b9b,_0x1aa8a1;const {memberID:_0x3ea09c,selection:_0xdf689b}=_0x410040[_0xa829c7(0x4a8)],_0x431171=_0x214c7b(_0xdf689b),_0x136d4f=(_0x1aa8a1=(_0xc04b9b=this[_0xa829c7(0x39e)][_0xa829c7(0x3d5)](this[_0xa829c7(0x391)],_0x3ea09c))==null?void 0x0:_0xc04b9b[_0xa829c7(0x3c3)])!=null?_0x1aa8a1:_0xa829c7(0x1ed),_0x3d0ac8={'color':this[_0xa829c7(0x3df)]['assignAColorForMemberID'](_0x3ea09c),'name':_0x136d4f,'ranges':_0x431171},_0x17baee=this['cursorInfo'];_0x17baee['set'](_0x3ea09c,_0x3d0ac8),this['_cursorInfo$'][_0xa829c7(0x1fb)](_0x17baee);}[_0x392691(0x42f)](_0x2edd70){const _0xf55843=_0x392691,{memberID:_0x27dcb5}=_0x2edd70[_0xf55843(0x4a8)],_0xc80647=this[_0xf55843(0x49a)];_0xc80647[_0xf55843(0x34b)](_0x27dcb5),this[_0xf55843(0x3d7)][_0xf55843(0x1fb)](_0xc80647);}[_0x392691(0x2a8)](){const _0x415ca2=_0x392691;var _0x31b5a0;if(this[_0x415ca2(0x415)]=!0x0,((_0x31b5a0=this['_univerInstanceService'][_0x415ca2(0x364)]())==null?void 0x0:_0x31b5a0['getUnitId']())!==this[_0x415ca2(0x391)])return;const _0x1db8f7=this[_0x415ca2(0x248)][_0x415ca2(0x2fe)](_0x30435f[_0x415ca2(0x241)])['getDocRanges']();Array['isArray'](_0x1db8f7)&&_0x1db8f7[_0x415ca2(0x30c)]>0x0&&this[_0x415ca2(0x26e)](_0x1db8f7);}[_0x392691(0x24f)](){const _0x36a0a1=_0x392691;this[_0x36a0a1(0x415)]=!0x1;}};_0x518c40=_0x2c9586([_0x3ac3d8(0x2,_0x2d11dc['Inject'](_0x2d11dc[_0x392691(0x47d)])),_0x3ac3d8(0x3,_0x2d11dc[_0x392691(0x36d)](_0x478943)),_0x3ac3d8(0x4,_0x2d11dc[_0x392691(0x36d)](_0xc712b5[_0x392691(0x2c0)])),_0x3ac3d8(0x5,_0x2d11dc[_0x392691(0x36d)](_0x549909)),_0x3ac3d8(0x6,_0x1509c8['ITransformService']),_0x3ac3d8(0x7,_0x2d11dc[_0x392691(0x27d)]),_0x3ac3d8(0x8,_0x2d11dc['ICommandService'])],_0x518c40);var _0x32b52b=Object['getOwnPropertyDescriptor'],_0x4b01dc=(_0x33d2f6,_0x340edf,_0x2fd704,_0x33221a)=>{const _0x2840c6=_0x392691;for(var _0x5f1df9=_0x33221a>0x1?void 0x0:_0x33221a?_0x32b52b(_0x340edf,_0x2fd704):_0x340edf,_0x141609=_0x33d2f6[_0x2840c6(0x30c)]-0x1,_0x1b5cfc;_0x141609>=0x0;_0x141609--)(_0x1b5cfc=_0x33d2f6[_0x141609])&&(_0x5f1df9=_0x1b5cfc(_0x5f1df9)||_0x5f1df9);return _0x5f1df9;},_0x5c9596=(_0x591d9d,_0x5bb632)=>(_0x2bc5b6,_0x400e38)=>_0x5bb632(_0x2bc5b6,_0x400e38,_0x591d9d);const _0x3eeaad=0x12c,_0x1c3f25=0x64,_0x526dfa=()=>{let _0x5f4edf=[],_0x302f3f=!0x1;return _0x13b307=>{const _0x498be6=_0x43cc;_0x5f4edf[_0x498be6(0x381)](_0x13b307),_0x302f3f||(_0x302f3f=!0x0,setTimeout(()=>{const _0x156e2f=_0x498be6;_0x5f4edf[_0x156e2f(0x34f)](_0x25aa38=>_0x25aa38()),_0x5f4edf=[],_0x302f3f=!0x1;}));};};let _0x30ed65=class extends _0x2d11dc['RxDisposable']{constructor(_0x33f15c,_0x297e75,_0xbc9793,_0x107e51,_0xb71ad0,_0x1c3b56,_0x297523,_0x183759){const _0x1fa801=_0x392691;super(),_0x4a3e10(this,_0x1fa801(0x415),!0x1),_0x4a3e10(this,'_init',!0x1),_0x4a3e10(this,_0x1fa801(0x3d7),new _0x433dcc[(_0x1fa801(0x42a))](new Map())),_0x4a3e10(this,_0x1fa801(0x4c9),this['_cursorInfo$'][_0x1fa801(0x4c5)]()),_0x4a3e10(this,'_roomMembers$',new _0x433dcc[(_0x1fa801(0x42a))]([])),_0x4a3e10(this,_0x1fa801(0x454),this[_0x1fa801(0x272)][_0x1fa801(0x38d)](_0x433dcc[_0x1fa801(0x25c)](_0x3eeaad))),_0x4a3e10(this,_0x1fa801(0x26e),_0x2d11dc['debounce']((_0x2bb48d,_0x5ccdf6)=>{const _0x177d57=_0x1fa801,_0x1a4a97={'eventID':_0x1509c8[_0x177d57(0x327)][_0x177d57(0x1e7)],'data':{'unitID':this['unitID'],'memberID':this[_0x177d57(0x3f9)][_0x177d57(0x3bc)](),'selection':_0x17936f['serializeRangeWithSheet'](_0x2bb48d,_0x5ccdf6[_0x177d57(0x4d8)])}};this['_session'][_0x177d57(0x27a)](_0x1a4a97,this[_0x177d57(0x391)]);},_0x1c3f25)),(this[_0x1fa801(0x391)]=_0x33f15c,this['_session']=_0x297e75,this['_injector']=_0xbc9793,this[_0x1fa801(0x3df)]=_0x107e51,this[_0x1fa801(0x39e)]=_0xb71ad0,this[_0x1fa801(0x401)]=_0x1c3b56,this[_0x1fa801(0x3cf)]=_0x297523,this['_refRangeService']=_0x183759);}get[_0x392691(0x49a)](){const _0x3dabdc=_0x392691;return this[_0x3dabdc(0x3d7)][_0x3dabdc(0x20c)]();}get[_0x392691(0x387)](){const _0x41557c=_0x392691;return this['_roomMembers$'][_0x41557c(0x20c)]();}[_0x392691(0x2a5)](){const _0x49f0d1=_0x392691;super[_0x49f0d1(0x2a5)](),this[_0x49f0d1(0x3d7)][_0x49f0d1(0x1fb)](new Map()),this['_cursorInfo$'][_0x49f0d1(0x262)](),this[_0x49f0d1(0x272)][_0x49f0d1(0x1fb)]([]),this['_roomMembers$'][_0x49f0d1(0x262)]();}[_0x392691(0x423)](){const _0x2dd708=_0x392691;this['_init']||(this[_0x2dd708(0x411)]=!0x0,this[_0x2dd708(0x3f9)]['sessionStatus$'][_0x2dd708(0x38d)](_0x433dcc[_0x2dd708(0x28c)](this[_0x2dd708(0x1f8)]))[_0x2dd708(0x47f)](_0x55140b=>{const _0x3a4db2=_0x2dd708;_0x55140b===_0xc712b5[_0x3a4db2(0x3b5)][_0x3a4db2(0x37b)]?this['_toggleOnline']():this[_0x3a4db2(0x24f)]();}),this[_0x2dd708(0x3f9)][_0x2dd708(0x2f0)]['pipe'](_0x433dcc[_0x2dd708(0x28c)](this[_0x2dd708(0x1f8)]))[_0x2dd708(0x47f)](_0x18ba4c=>{const _0xf1f246=_0x2dd708,_0x185f99=_0x18ba4c[_0xf1f246(0x4c8)];_0x185f99===_0x1509c8[_0xf1f246(0x327)][_0xf1f246(0x1e7)]&&this[_0xf1f246(0x276)](_0x18ba4c),_0x185f99===_0x1509c8[_0xf1f246(0x327)]['USERS_LEAVE']&&this[_0xf1f246(0x42f)](_0x18ba4c);}),this[_0x2dd708(0x477)](),this[_0x2dd708(0x2c5)](this[_0x2dd708(0x3cf)]['onCommandExecuted'](_0x2ef848=>{const _0x42f043=_0x2dd708;if(this['_online']&&_0x2ef848['id']===_0x3b63cc[_0x42f043(0x462)]['id']&&_0x2ef848[_0x42f043(0x44a)]['unitId']===this[_0x42f043(0x391)]){const _0xde6a4=_0x2ef848[_0x42f043(0x44a)];this[_0x42f043(0x26e)](_0xde6a4['subUnitId'],_0xde6a4['selections'][0x0]);}})));}[_0x392691(0x276)](_0x3d31ec){const _0x485a84=_0x392691;var _0x8714b3,_0x5033b3;const {memberID:_0x2c0de1,selection:_0x170e33}=_0x3d31ec[_0x485a84(0x4a8)],{sheetName:_0x2f7570,range:_0x8ee278}=_0x17936f[_0x485a84(0x3b9)](_0x170e33),_0x40a40c={'name':(_0x5033b3=(_0x8714b3=this['_memberService'][_0x485a84(0x3d5)](this['unitID'],_0x2c0de1))==null?void 0x0:_0x8714b3[_0x485a84(0x3c3)])!=null?_0x5033b3:_0x485a84(0x1ed),'range':this[_0x485a84(0x24e)](_0x2f7570,_0x8ee278),'sheetID':_0x2f7570,'color':this[_0x485a84(0x3df)][_0x485a84(0x495)](_0x2c0de1),'selection':_0x170e33},_0x2daaa6=this[_0x485a84(0x49a)];_0x2daaa6[_0x485a84(0x250)](_0x2c0de1,_0x40a40c),this[_0x485a84(0x3d7)][_0x485a84(0x1fb)](_0x2daaa6);}['_onCursorDelete'](_0x4a0c9b){const _0x10e158=_0x392691,{memberID:_0x584ccb}=_0x4a0c9b[_0x10e158(0x4a8)],_0x5c5d29=this['cursorInfo'];_0x5c5d29[_0x10e158(0x34b)](_0x584ccb),this['_cursorInfo$'][_0x10e158(0x1fb)](_0x5c5d29);}['_getMergeRange'](_0x4d6989,_0x3bf192){const _0x36d010=_0x392691;var _0x59f17c,_0x51fd47;const _0x11576e=(_0x51fd47=(_0x59f17c=this[_0x36d010(0x401)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x59f17c['getSheetBySheetId'](_0x4d6989))==null?void 0x0:_0x51fd47[_0x36d010(0x40d)]();return(_0x11576e==null?void 0x0:_0x11576e[_0x36d010(0x25d)](_0x1a5bbb=>_0x2d11dc[_0x36d010(0x471)][_0x36d010(0x4a9)](_0x1a5bbb,_0x3bf192)))||_0x3bf192;}[_0x392691(0x477)](){const _0x36deb3=_0x392691,_0x3a2659=new _0x2d11dc[(_0x36deb3(0x4c1))](),_0x33f129=_0x526dfa(),_0x4ee347=()=>{const _0x56825d=_0x36deb3;_0x3a2659['dispose']();const _0x2fec3d=(_0x44c81f,_0x13481d,_0x31c41a,_0x5d6474)=>{const _0x2d9b0d=_0x43cc;let _0x63251c=[];switch(_0x44c81f['id']){case _0x3b63cc[_0x2d9b0d(0x46a)]['DeleteRangeMoveLeftCommandId']:{_0x63251c=_0x3b63cc[_0x2d9b0d(0x468)](_0x44c81f,_0x5d6474);break;}case _0x3b63cc[_0x2d9b0d(0x46a)][_0x2d9b0d(0x368)]:{_0x63251c=_0x3b63cc[_0x2d9b0d(0x2ed)](_0x44c81f,_0x5d6474);break;}case _0x3b63cc['EffectRefRangId'][_0x2d9b0d(0x2fc)]:{_0x63251c=_0x3b63cc['handleInsertCol'](_0x44c81f,_0x5d6474);break;}case _0x3b63cc[_0x2d9b0d(0x46a)][_0x2d9b0d(0x310)]:{_0x63251c=_0x3b63cc[_0x2d9b0d(0x29f)](_0x44c81f,_0x5d6474);break;}case _0x3b63cc[_0x2d9b0d(0x46a)][_0x2d9b0d(0x457)]:{_0x63251c=_0x3b63cc[_0x2d9b0d(0x229)](_0x44c81f,_0x5d6474);break;}case _0x3b63cc[_0x2d9b0d(0x46a)]['InsertRowCommandId']:{_0x63251c=_0x3b63cc[_0x2d9b0d(0x36a)](_0x44c81f,_0x5d6474);break;}case _0x3b63cc[_0x2d9b0d(0x46a)][_0x2d9b0d(0x4c7)]:{_0x63251c=_0x3b63cc[_0x2d9b0d(0x475)](_0x44c81f,_0x5d6474);break;}case _0x3b63cc[_0x2d9b0d(0x46a)][_0x2d9b0d(0x303)]:{_0x63251c=_0x3b63cc[_0x2d9b0d(0x29a)](_0x44c81f,_0x5d6474);break;}case _0x3b63cc[_0x2d9b0d(0x46a)]['RemoveRowCommandId']:{_0x63251c=_0x3b63cc[_0x2d9b0d(0x43a)](_0x44c81f,_0x5d6474);break;}}const _0x3f0f78=_0x3b63cc[_0x2d9b0d(0x205)](_0x63251c,_0x5d6474),_0x424b49=this['cursorInfo']['get'](_0x13481d);if(_0x424b49&&_0x3f0f78){const _0x632ab9={..._0x424b49,'range':_0x3f0f78};this['cursorInfo'][_0x2d9b0d(0x250)](_0x13481d,_0x632ab9),_0x33f129(()=>{const _0x12ca49=_0x2d9b0d,_0x4fd1ef=this[_0x12ca49(0x472)][_0x12ca49(0x2ec)](_0x3f0f78,_0x514881=>(_0x4fd1ef[_0x12ca49(0x2a5)](),_0x2fec3d(_0x514881,_0x13481d,_0x31c41a,_0x3f0f78)));_0x3a2659[_0x12ca49(0x4ac)](_0x4fd1ef);});}return{'redos':[],'undos':[]};};this[_0x56825d(0x49a)]['forEach']((_0x2cd399,_0x1d3e3b)=>{const _0x34d216=_0x56825d,{range:_0x59051b,sheetID:_0x1bebaf}=_0x2cd399,_0x2e89e4=this[_0x34d216(0x472)][_0x34d216(0x2ec)](_0x59051b,_0x372a00=>(_0x2e89e4[_0x34d216(0x2a5)](),_0x2fec3d(_0x372a00,_0x1d3e3b,_0x1bebaf,_0x59051b)));_0x3a2659[_0x34d216(0x4ac)](_0x2e89e4);});};this[_0x36deb3(0x2c5)](_0x2d11dc[_0x36deb3(0x39b)](this[_0x36deb3(0x3d7)][_0x36deb3(0x47f)](()=>{_0x4ee347();})));}[_0x392691(0x2a8)](){const _0x2317c8=_0x392691;var _0xe6ba1b,_0x5e2439;if(this[_0x2317c8(0x415)]=!0x0,((_0xe6ba1b=this[_0x2317c8(0x401)][_0x2317c8(0x364)]())==null?void 0x0:_0xe6ba1b[_0x2317c8(0x33a)]())!==this['unitID'])return;const _0x18a90d=(_0x5e2439=this[_0x2317c8(0x248)][_0x2317c8(0x2fe)](_0x3b63cc[_0x2317c8(0x297)])[_0x2317c8(0x39a)]())==null?void 0x0:_0x5e2439[0x0],_0x3ab4f9=this[_0x2317c8(0x401)][_0x2317c8(0x47e)](_0x2d11dc['UniverInstanceType'][_0x2317c8(0x3e2)])[_0x2317c8(0x290)]();_0x18a90d&&_0x3ab4f9&&this['_updateLocalCursor'](_0x3ab4f9[_0x2317c8(0x39d)](),_0x18a90d);}[_0x392691(0x24f)](){this['_online']=!0x1;}};_0x30ed65=_0x4b01dc([_0x5c9596(0x2,_0x2d11dc['Inject'](_0x2d11dc[_0x392691(0x47d)])),_0x5c9596(0x3,_0x2d11dc['Inject'](_0x478943)),_0x5c9596(0x4,_0x2d11dc[_0x392691(0x36d)](_0xc712b5[_0x392691(0x2c0)])),_0x5c9596(0x5,_0x2d11dc[_0x392691(0x27d)]),_0x5c9596(0x6,_0x2d11dc[_0x392691(0x3aa)]),_0x5c9596(0x7,_0x2d11dc[_0x392691(0x36d)](_0x3b63cc['RefRangeService']))],_0x30ed65);var _0x316a1e=Object[_0x392691(0x39f)],_0x5cae46=(_0x3723ba,_0x4951db,_0x2ad6b6,_0x4295f7)=>{const _0x2d5689=_0x392691;for(var _0x399250=_0x4295f7>0x1?void 0x0:_0x4295f7?_0x316a1e(_0x4951db,_0x2ad6b6):_0x4951db,_0xc3d5c7=_0x3723ba[_0x2d5689(0x30c)]-0x1,_0x4f3dec;_0xc3d5c7>=0x0;_0xc3d5c7--)(_0x4f3dec=_0x3723ba[_0xc3d5c7])&&(_0x399250=_0x4f3dec(_0x399250)||_0x399250);return _0x399250;},_0x3dad5d=(_0x1976ad,_0x5847da)=>(_0x1fea6f,_0x244342)=>_0x5847da(_0x1fea6f,_0x244342,_0x1976ad);let _0x3d0a15=class extends _0x2d11dc[_0x392691(0x2bb)]{constructor(_0x34d9f7,_0x4a9944,_0xaef1fc){const _0x339f7e=_0x392691;super(),_0x4a3e10(this,_0x339f7e(0x4db),new Map()),_0x4a3e10(this,_0x339f7e(0x22e),new _0x433dcc[(_0x339f7e(0x35b))]()),(this['_univerInstanceService']=_0x34d9f7,this[_0x339f7e(0x248)]=_0x4a9944,this[_0x339f7e(0x352)]=_0xaef1fc,this[_0x339f7e(0x411)]());}['dispose'](){const _0x2c26c3=_0x392691;super[_0x2c26c3(0x2a5)](),this[_0x2c26c3(0x22e)][_0x2c26c3(0x262)](),this['_entities']['forEach'](_0x2bae0d=>_0x2bae0d[_0x2c26c3(0x2a5)]());}[_0x392691(0x23a)](_0x49455f){const _0x2f63ce=_0x392691;return this[_0x2f63ce(0x4db)][_0x2f63ce(0x4ab)](_0x49455f)?this[_0x2f63ce(0x4db)][_0x2f63ce(0x2fe)](_0x49455f)[_0x2f63ce(0x4c9)]:this['_entityInit$'][_0x2f63ce(0x38d)](_0x433dcc[_0x2f63ce(0x4d2)](_0xfd05d1=>_0xfd05d1[_0x2f63ce(0x391)]===_0x49455f),_0x433dcc[_0x2f63ce(0x33c)](_0x1c8fc8=>_0x1c8fc8[_0x2f63ce(0x4c9)]));}[_0x392691(0x411)](){const _0x12c689=_0x392691;this[_0x12c689(0x401)][_0x12c689(0x2c7)](_0x2d11dc[_0x12c689(0x238)][_0x12c689(0x3e2)])[_0x12c689(0x38d)](_0x433dcc[_0x12c689(0x28c)](this[_0x12c689(0x1f8)]))[_0x12c689(0x47f)](async _0x1af62e=>{const _0x2d39a4=_0x12c689,_0x5ce580=_0x1af62e['getUnitId'](),_0x9e3849=await this[_0x2d39a4(0x29e)](_0x5ce580);this['_entityInit$'][_0x2d39a4(0x1fb)](_0x9e3849),this['_entities'][_0x2d39a4(0x250)](_0x5ce580,_0x9e3849);}),this[_0x12c689(0x401)]['getTypeOfUnitAdded$'](_0x2d11dc['UniverInstanceType'][_0x12c689(0x230)])[_0x12c689(0x38d)](_0x433dcc[_0x12c689(0x28c)](this['dispose$']))[_0x12c689(0x38d)](_0x433dcc['filter'](_0x574a39=>!_0x574a39[_0x12c689(0x33a)]()['startsWith']('__')))[_0x12c689(0x47f)](async _0x2a426d=>{const _0x9b7928=_0x12c689,_0x1c390f=_0x2a426d['getUnitId'](),_0x256575=await this[_0x9b7928(0x408)](_0x1c390f);this['_entityInit$'][_0x9b7928(0x1fb)](_0x256575),this[_0x9b7928(0x4db)][_0x9b7928(0x250)](_0x1c390f,_0x256575);}),_0x433dcc[_0x12c689(0x24d)](this[_0x12c689(0x401)][_0x12c689(0x30e)](_0x2d11dc['UniverInstanceType'][_0x12c689(0x230)]),this[_0x12c689(0x401)][_0x12c689(0x30e)](_0x2d11dc[_0x12c689(0x238)][_0x12c689(0x3e2)]))[_0x12c689(0x38d)](_0x433dcc[_0x12c689(0x28c)](this[_0x12c689(0x1f8)]))[_0x12c689(0x47f)](_0x359df8=>{const _0x2c07d1=_0x12c689,_0x586d9e=_0x359df8[_0x2c07d1(0x33a)](),_0x4ab7f4=this['_entities'][_0x2c07d1(0x2fe)](_0x586d9e);_0x4ab7f4&&(_0x4ab7f4[_0x2c07d1(0x2a5)](),this['_entities'][_0x2c07d1(0x34b)](_0x586d9e));});}async['_startSheetCollabCursor'](_0x2c8279){const _0x14ebb7=_0x392691,_0x4da5f0=await this[_0x14ebb7(0x352)][_0x14ebb7(0x30b)](_0x2c8279),_0x345b77=this[_0x14ebb7(0x248)][_0x14ebb7(0x3ce)](_0x30ed65,_0x2c8279,_0x4da5f0);return _0x345b77['init'](),_0x345b77;}async[_0x392691(0x408)](_0x4e271e){const _0x1c7c18=_0x392691,_0x44d778=await this[_0x1c7c18(0x352)][_0x1c7c18(0x30b)](_0x4e271e),_0x51223d=this[_0x1c7c18(0x248)][_0x1c7c18(0x3ce)](_0x518c40,_0x4e271e,_0x44d778);return _0x51223d[_0x1c7c18(0x423)](),_0x51223d;}};_0x3d0a15=_0x5cae46([_0x3dad5d(0x0,_0x2d11dc[_0x392691(0x27d)]),_0x3dad5d(0x1,_0x2d11dc[_0x392691(0x36d)](_0x2d11dc[_0x392691(0x47d)])),_0x3dad5d(0x2,_0x2d11dc[_0x392691(0x36d)](_0xc712b5['CollaborationSessionService']))],_0x3d0a15);const _0x5ce148=0x14,_0x46e16a=0xc8,_0xf1a88c=0x4,_0x7bf3e=0x5;function _0x51c0fc(_0x1e85f1,_0x1a9e61){const _0x24d1dc=_0x392691;let {radius:_0x122d42,width:_0x595ccf,height:_0x2e95d7}=_0x1a9e61;_0x122d42=_0x122d42!=null?_0x122d42:0x0,_0x595ccf=_0x595ccf!=null?_0x595ccf:0x1e,_0x2e95d7=_0x2e95d7!=null?_0x2e95d7:0x1e;let _0x59d946=0x0,_0x41cfc9=0x0,_0x4be64a=0x0;_0x59d946=_0x41cfc9=_0x4be64a=Math[_0x24d1dc(0x1f2)](_0x122d42,_0x595ccf/0x2,_0x2e95d7/0x2),_0x1e85f1[_0x24d1dc(0x261)](),_0x1e85f1[_0x24d1dc(0x275)](_0x59d946,0x0),_0x1e85f1['lineTo'](_0x595ccf-_0x41cfc9,0x0),_0x1e85f1[_0x24d1dc(0x4e4)](_0x595ccf-_0x41cfc9,_0x41cfc9,_0x41cfc9,Math['PI']*0x3/0x2,0x0,!0x1),_0x1e85f1[_0x24d1dc(0x4e8)](_0x595ccf,_0x2e95d7-_0x4be64a),_0x1e85f1[_0x24d1dc(0x4e4)](_0x595ccf-_0x4be64a,_0x2e95d7-_0x4be64a,_0x4be64a,0x0,Math['PI']/0x2,!0x1),_0x1e85f1['lineTo'](0x0,_0x2e95d7),_0x1e85f1[_0x24d1dc(0x4e8)](0x0,_0x59d946),_0x1e85f1[_0x24d1dc(0x4e4)](_0x59d946,_0x59d946,_0x59d946,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1e85f1[_0x24d1dc(0x4e3)](),_0x1a9e61['fill']&&(_0x1e85f1[_0x24d1dc(0x3a4)](),_0x1e85f1[_0x24d1dc(0x405)]=_0x1a9e61[_0x24d1dc(0x44e)],_0x1a9e61[_0x24d1dc(0x33f)]===_0x24d1dc(0x26a)?_0x1e85f1[_0x24d1dc(0x44e)]('evenodd'):_0x1e85f1[_0x24d1dc(0x44e)](),_0x1e85f1[_0x24d1dc(0x403)]());}class _0x4d22ab extends _0x371184[_0x392691(0x254)]{constructor(_0x45ef28,_0x51addd){const _0x9d14be=_0x392691;super(_0x45ef28,_0x51addd),_0x4a3e10(this,_0x9d14be(0x49f)),_0x4a3e10(this,'text'),(this[_0x9d14be(0x49f)]=_0x51addd==null?void 0x0:_0x51addd[_0x9d14be(0x49f)],this[_0x9d14be(0x354)]=_0x51addd==null?void 0x0:_0x51addd[_0x9d14be(0x354)]);}static[_0x392691(0x21b)](_0x1a2e5b,_0x8a398f){const _0x35ff7c=_0x392691,{text:_0x49ea57,color:_0x21a350}=_0x8a398f;_0x1a2e5b['save'](),_0x1a2e5b[_0x35ff7c(0x4a3)]=_0x35ff7c(0x43c);const _0x2353e3=_0x1a2e5b[_0x35ff7c(0x345)](_0x49ea57)[_0x35ff7c(0x32d)],_0x129d12=Math['min'](_0x2353e3+0x2*_0xf1a88c,_0x46e16a);_0x51c0fc(_0x1a2e5b,{'height':_0x5ce148,'radius':0x4,'width':_0x129d12,'fill':_0x21a350}),_0x1a2e5b[_0x35ff7c(0x405)]='#FFF';const _0x1036c3=_0xf1a88c,_0x986372=_0x5ce148-_0x7bf3e,_0x3cd7a5=_0x46e16a-0x2*_0xf1a88c;if(_0x2353e3>_0x3cd7a5){let _0x3d4fa1='',_0x1136c1=0x0;for(const _0x1c5b0b of _0x49ea57){const _0x1ffb94=_0x1a2e5b[_0x35ff7c(0x345)](_0x1c5b0b)[_0x35ff7c(0x32d)];if(_0x1136c1+_0x1ffb94<=_0x3cd7a5-_0x1a2e5b[_0x35ff7c(0x345)]('...')[_0x35ff7c(0x32d)])_0x3d4fa1+=_0x1c5b0b,_0x1136c1+=_0x1ffb94;else{_0x3d4fa1+=_0x35ff7c(0x3bf);break;}}_0x1a2e5b[_0x35ff7c(0x281)](_0x3d4fa1,_0x1036c3,_0x986372);}else _0x1a2e5b[_0x35ff7c(0x281)](_0x49ea57,_0x1036c3,_0x986372);_0x1a2e5b[_0x35ff7c(0x403)]();}['_draw'](_0x59d9c4){const _0x41ab7e=_0x392691;_0x4d22ab[_0x41ab7e(0x21b)](_0x59d9c4,this);}}const _0x3adddc='collab-text-anchor-',_0x37f06f=_0x392691(0x42e),_0x2412d9=_0x392691(0x479),_0x16880f=0x6,_0x274f14=1.5,_0x30f878=0x4,_0x3ca638=1.5,_0x4ed0cc=_0x392691(0x348);class _0x5cacfc{constructor(_0x2c375c,_0x3378ba,_0x272a0f,_0x13c74d){const _0x2759d0=_0x392691;_0x4a3e10(this,_0x2759d0(0x42c),[]),_0x4a3e10(this,_0x2759d0(0x35c),null),_0x4a3e10(this,_0x2759d0(0x37e),null),_0x4a3e10(this,_0x2759d0(0x2b8),null),_0x4a3e10(this,'_hideTimer',null),_0x4a3e10(this,'_eventUnsubscribe',null),(this[_0x2759d0(0x3d3)]=_0x2c375c,this[_0x2759d0(0x359)]=_0x3378ba,this[_0x2759d0(0x44c)]=_0x272a0f,this[_0x2759d0(0x41c)]=_0x13c74d,this[_0x2759d0(0x3fc)]());}set[_0x392691(0x2af)](_0x2285a7){const _0x188c10=_0x392691;_0x2285a7?(this[_0x188c10(0x2b8)]&&this[_0x188c10(0x2b8)][_0x188c10(0x4da)](),this[_0x188c10(0x37e)]&&this[_0x188c10(0x37e)]['show']()):(this[_0x188c10(0x2b8)]&&this[_0x188c10(0x2b8)][_0x188c10(0x442)](),this[_0x188c10(0x37e)]&&this[_0x188c10(0x37e)][_0x188c10(0x4da)]());}[_0x392691(0x2a5)](){const _0x302cbf=_0x392691;for(const _0x28543d of this[_0x302cbf(0x42c)])_0x28543d['dispose']();this['_textBubble']&&this[_0x302cbf(0x37e)][_0x302cbf(0x2a5)](),this[_0x302cbf(0x2b8)]&&this[_0x302cbf(0x2b8)]['dispose'](),this['_anchor']&&this[_0x302cbf(0x35c)][_0x302cbf(0x2a5)](),this[_0x302cbf(0x2cf)]&&this[_0x302cbf(0x2cf)]();}[_0x392691(0x3fc)](){const _0x42ff0b=_0x392691;var _0x466c89;const {_docSkeleton:_0x5752fc,_document:_0x4b1f50}=this,{color:_0x427a7b,name:_0x490646,ranges:_0xda62ef}=this[_0x42ff0b(0x3d3)],_0x2513a3=_0x4b1f50[_0x42ff0b(0x208)](),{docsLeft:_0x36d6fa,docsTop:_0x142828}=_0x2513a3,_0x5f634d=new _0x1ff6d4[(_0x42ff0b(0x498))](_0x2513a3,_0x5752fc);for(const {startOffset:_0x41a00a,endOffset:_0x15ba1a,rangeType:_0x55bbc9,segmentId:_0x310705,segmentPage:_0x61d891,collapsed:_0x1a3041,isActive:_0xbcf605}of _0xda62ef){const _0x3d5ab4=_0x5752fc[_0x42ff0b(0x209)](_0x41a00a,!0x0,_0x310705,_0x61d891);let _0xd0f04b=_0x5752fc[_0x42ff0b(0x209)](_0x15ba1a,!0x0,_0x310705,_0x61d891);if(_0xd0f04b==null&&(_0xd0f04b=_0x5752fc[_0x42ff0b(0x209)](_0x15ba1a-0x1,!0x1,_0x310705,_0x61d891)),_0xbcf605){const {contentBoxPointGroup:_0x5269a4}=_0x5f634d['getRangePointData'](_0xd0f04b,_0xd0f04b);if(_0x5269a4[_0x42ff0b(0x30c)]===0x0)continue;this[_0x42ff0b(0x379)](_0x427a7b,_0x5269a4,_0x36d6fa,_0x142828,_0x490646),this['_eventUnsubscribe']=this[_0x42ff0b(0x2d9)]();}if(_0x3d5ab4&&_0xd0f04b){if(_0x55bbc9===_0x2d11dc[_0x42ff0b(0x2e7)][_0x42ff0b(0x2ba)]){const _0x1728ae=new _0x1ff6d4['NodePositionConvertToRectRange'](_0x2513a3,_0x5752fc),{pointGroup:_0x45826d}=(_0x466c89=_0x1728ae[_0x42ff0b(0x26c)](_0x3d5ab4,_0xd0f04b))!=null?_0x466c89:{};if(_0x45826d==null||_0x45826d['length']===0x0)continue;this[_0x42ff0b(0x4ad)](_0x427a7b,_0x45826d,_0x36d6fa,_0x142828);}else{if(!_0x1a3041){const {borderBoxPointGroup:_0xa325b0}=_0x5f634d[_0x42ff0b(0x26c)](_0x3d5ab4,_0xd0f04b);if(_0xa325b0['length']===0x0)continue;this[_0x42ff0b(0x460)](_0x427a7b,_0xa325b0,_0x36d6fa,_0x142828);}}}}}['_drawAnchor'](_0xf5cf94,_0x15ad0a,_0x5f3d85,_0x10dbc8,_0x39367c){const _0x4572c2=_0x392691,_0x2dfbdc=this[_0x4572c2(0x3ca)](_0x15ad0a),{left:_0xddfec8,top:_0x3cfc15,height:_0x1264ee}=_0x2dfbdc,_0x457ed3=this[_0x4572c2(0x3e8)](),_0x4bd1f0=_0x3ca638/_0x457ed3,_0x597ce7=new _0x371184[(_0x4572c2(0x2aa))](_0x3adddc+_0x2d11dc[_0x4572c2(0x269)](_0x16880f),{'left':_0xddfec8+_0x5f3d85-_0x4bd1f0,'top':_0x3cfc15+_0x10dbc8,'height':_0x1264ee,'width':_0x274f14,'fill':_0xf5cf94||_0x371184['getColor'](_0x2d11dc['COLORS'][_0x4572c2(0x293)],0x0),'strokeWidth':_0x4bd1f0,'stroke':_0x4ed0cc,'evented':!0x0});this[_0x4572c2(0x35c)]=_0x597ce7,this[_0x4572c2(0x359)][_0x4572c2(0x24b)](_0x597ce7,_0x1ff6d4[_0x4572c2(0x424)]);const _0x42574c=new _0x371184['Rect'](_0x3adddc+_0x2d11dc[_0x4572c2(0x269)](_0x16880f),{'left':_0xddfec8+_0x5f3d85-_0x4bd1f0,'top':_0x3cfc15+_0x10dbc8-_0x30f878/0x2,'height':_0x30f878,'width':_0x30f878,'fill':_0xf5cf94||_0x371184[_0x4572c2(0x2bf)](_0x2d11dc[_0x4572c2(0x474)][_0x4572c2(0x293)],0x0),'strokeWidth':0x0,'stroke':_0xf5cf94||_0x371184[_0x4572c2(0x2bf)](_0x2d11dc[_0x4572c2(0x474)]['black'],0x0),'evented':!0x1});this[_0x4572c2(0x2b8)]=_0x42574c,this[_0x4572c2(0x359)][_0x4572c2(0x24b)](_0x42574c,_0x1ff6d4[_0x4572c2(0x424)]);const _0x1b8e6b=new _0x4d22ab(_0x3adddc+_0x2d11dc['generateRandomId'](_0x16880f),{'left':_0xddfec8+_0x5f3d85-_0x4bd1f0,'top':_0x3cfc15+_0x10dbc8-_0x5ce148,'text':_0x39367c,'color':_0xf5cf94});this[_0x4572c2(0x37e)]=_0x1b8e6b,this[_0x4572c2(0x359)][_0x4572c2(0x24b)](_0x1b8e6b,_0x1ff6d4[_0x4572c2(0x424)]),this['_hover']=!0x1;}[_0x392691(0x2d9)](){const _0x1ab143=_0x392691,_0x52b06f=this[_0x1ab143(0x35c)][_0x1ab143(0x2ce)][_0x1ab143(0x288)](()=>{const _0x1295f9=_0x1ab143;this[_0x1295f9(0x2af)]=!0x0;}),_0x4a3b53=this[_0x1ab143(0x35c)][_0x1ab143(0x2a6)]['subscribeEvent'](()=>{const _0x1d2252=_0x1ab143;this[_0x1d2252(0x222)]&&clearTimeout(this[_0x1d2252(0x222)]),this[_0x1d2252(0x222)]=setTimeout(()=>{const _0x16b5fb=_0x1d2252;this[_0x16b5fb(0x2af)]=!0x1;},0x7d0);});return()=>{const _0x2685ab=_0x1ab143;_0x52b06f[_0x2685ab(0x38f)](),_0x4a3b53['unsubscribe']();};}[_0x392691(0x460)](_0x2f9ce7,_0x5df4b7,_0x449556,_0xa950d1){const _0x215cdf=_0x392691,_0x499fa2=new _0x2d11dc[(_0x215cdf(0x321))](_0x2f9ce7)['setAlpha'](0.2)['toRgbString'](),_0x5c2128=new _0x371184['RegularPolygon'](_0x37f06f+_0x2d11dc[_0x215cdf(0x269)](_0x16880f),{'pointsGroup':_0x5df4b7,'fill':_0x499fa2||_0x371184[_0x215cdf(0x2bf)](_0x2d11dc[_0x215cdf(0x474)][_0x215cdf(0x293)],0.2),'left':_0x449556,'top':_0xa950d1,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x215cdf(0x381)](_0x5c2128),this[_0x215cdf(0x359)][_0x215cdf(0x24b)](_0x5c2128,_0x1ff6d4[_0x215cdf(0x424)]);}['_drawRectRange'](_0x519dad,_0x5cf7a6,_0x4c4221,_0x5e4d1c){const _0x54e0f5=_0x392691,_0x427b83=new _0x2d11dc['ColorKit'](_0x519dad)[_0x54e0f5(0x482)](0.2)['toRgbString'](),_0x444145=new _0x371184[(_0x54e0f5(0x27f))](_0x2412d9+_0x2d11dc[_0x54e0f5(0x269)](_0x16880f),{'pointsGroup':_0x5cf7a6,'fill':_0x427b83||_0x371184[_0x54e0f5(0x2bf)](_0x2d11dc[_0x54e0f5(0x474)]['black'],0.2),'left':_0x4c4221,'top':_0x5e4d1c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x54e0f5(0x42c)][_0x54e0f5(0x381)](_0x444145),this[_0x54e0f5(0x359)][_0x54e0f5(0x24b)](_0x444145,_0x1ff6d4[_0x54e0f5(0x424)]);}[_0x392691(0x3ca)](_0x4e9da0){const _0xfc38f5=_0x4e9da0[0x0],_0x5370a0=_0xfc38f5[0x0],_0x37deb8=_0xfc38f5[0x2],{x:_0x47cfb6,y:_0x397493}=_0x5370a0,{x:_0x5825ef,y:_0x1bcaee}=_0x37deb8;return{'left':_0x47cfb6,'top':_0x397493,'width':_0x5825ef-_0x47cfb6,'height':_0x1bcaee-_0x397493};}['_getScale'](){const _0x5a7a17=_0x392691,{scaleX:_0xcadda8,scaleY:_0x385c38}=this[_0x5a7a17(0x359)][_0x5a7a17(0x376)]();return Math['max'](_0xcadda8,_0x385c38);}}var _0x1dd45b=Object['getOwnPropertyDescriptor'],_0x21d693=(_0x24dea6,_0x2c0427,_0x166df3,_0x4c6201)=>{const _0x374970=_0x392691;for(var _0x29cd06=_0x4c6201>0x1?void 0x0:_0x4c6201?_0x1dd45b(_0x2c0427,_0x166df3):_0x2c0427,_0x4306bb=_0x24dea6[_0x374970(0x30c)]-0x1,_0xc6fbfa;_0x4306bb>=0x0;_0x4306bb--)(_0xc6fbfa=_0x24dea6[_0x4306bb])&&(_0x29cd06=_0xc6fbfa(_0x29cd06)||_0x29cd06);return _0x29cd06;},_0x193f3=(_0x5d44ae,_0x2d8168)=>(_0x16a660,_0x3bcd93)=>_0x2d8168(_0x16a660,_0x3bcd93,_0x5d44ae);let _0x872bc4=class extends _0x2d11dc[_0x392691(0x2bb)]{constructor(_0x981018,_0x538b2e,_0x1392d3,_0x3b0609,_0x2505d4){const _0x3ca7dd=_0x392691;super(),_0x4a3e10(this,_0x3ca7dd(0x383),[]),_0x4a3e10(this,'_cursors',[]),(this['_context']=_0x981018,this[_0x3ca7dd(0x32c)]=_0x538b2e,this['_collabCursorController']=_0x1392d3,this[_0x3ca7dd(0x3cf)]=_0x3b0609,this[_0x3ca7dd(0x422)]=_0x2505d4,this['_init']());}['_init'](){const _0x2850ee=_0x392691,_0xc78624=this[_0x2850ee(0x2d0)][_0x2850ee(0x20f)],_0x5c6fd1=this[_0x2850ee(0x32c)];this[_0x2850ee(0x2c5)](_0x433dcc[_0x2850ee(0x2eb)]([this['_collabCursorController'][_0x2850ee(0x23a)](_0xc78624),this[_0x2850ee(0x422)][_0x2850ee(0x394)]])[_0x2850ee(0x38d)](_0xbeb681['map'](([_0x4d2f3a,_0x2f66a4])=>({'skeleton':_0x5c6fd1[_0x2850ee(0x3d1)](),'cursors':[..._0x4d2f3a['values']()][_0x2850ee(0x257)](_0x2caf0e=>({..._0x2caf0e,'color':this[_0x2850ee(0x422)]['getColorFromTheme'](_0x2caf0e[_0x2850ee(0x49f)])}))})))['subscribe'](_0xcd1175=>{const _0x284497=_0x2850ee;if(this[_0x284497(0x256)](),_0xcd1175){const {skeleton:_0x4e4b5f,cursors:_0x4639ff}=_0xcd1175;this[_0x284497(0x3c5)](_0x4e4b5f,_0x4639ff);}})),this[_0x2850ee(0x225)](),this[_0x2850ee(0x28e)]();}[_0x392691(0x3c5)](_0x19ebdc,_0x34c9e8){const _0x1513ae=_0x392691,{scene:_0x143a2c,mainComponent:_0x23661b}=this[_0x1513ae(0x2d0)],_0xac4f5e=_0x34c9e8[_0x1513ae(0x337)](_0x276b2e=>new _0x5cacfc(_0x276b2e,_0x143a2c,_0x19ebdc,_0x23661b));this['_cursorShapes']=_0xac4f5e,this['_cursors']=_0x34c9e8;}[_0x392691(0x3d9)](){const _0x557188=_0x392691;this['_removeCollabCursors']();const {scene:_0x40fbda,mainComponent:_0xb20672}=this['_context'],_0x15d88=this['_docSkeletonManagerService'][_0x557188(0x3d1)](),_0x1edc03=this[_0x557188(0x218)][_0x557188(0x337)](_0x215c33=>new _0x5cacfc(_0x215c33,_0x40fbda,_0x15d88,_0xb20672));this[_0x557188(0x383)]=_0x1edc03;}[_0x392691(0x256)](){const _0x39542d=_0x392691;this[_0x39542d(0x383)][_0x39542d(0x34f)](_0x363fde=>_0x363fde[_0x39542d(0x2a5)]()),this[_0x39542d(0x383)]=[];}[_0x392691(0x28e)](){const _0x29e346=_0x392691,_0x5d72f2=[_0x1ff6d4['SetDocZoomRatioOperation']['id']];this[_0x29e346(0x2c5)](this['_commandService'][_0x29e346(0x1ee)](_0x11de64=>{const _0x462ec7=_0x29e346;_0x5d72f2['includes'](_0x11de64['id'])&&_0x11de64['params'][_0x462ec7(0x20f)]===this['_context'][_0x462ec7(0x20f)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0xdfde9=_0x392691;this[_0xdfde9(0x2c5)](_0x2d11dc[_0xdfde9(0x446)](this[_0xdfde9(0x2d0)][_0xdfde9(0x36f)][_0xdfde9(0x31d)])['pipe'](_0xbeb681[_0xdfde9(0x4d2)](_0x4d01f3=>_0x4d01f3[_0xdfde9(0x3d8)]===_0x371184[_0xdfde9(0x493)][_0xdfde9(0x316)]),_0xbeb681[_0xdfde9(0x286)](0x10))['subscribe'](()=>{const _0x36ebfc=_0xdfde9;this[_0x36ebfc(0x3d9)]();}));}};_0x872bc4=_0x21d693([_0x193f3(0x1,_0x2d11dc['Inject'](_0x30435f['DocSkeletonManagerService'])),_0x193f3(0x2,_0x2d11dc[_0x392691(0x36d)](_0x3d0a15)),_0x193f3(0x3,_0x2d11dc[_0x392691(0x3aa)]),_0x193f3(0x4,_0x2d11dc[_0x392691(0x36d)](_0x2d11dc[_0x392691(0x246)]))],_0x872bc4);const _0x41b1d6=0x1,_0x3b9cee=1.5;class _0x895cf0 extends _0x371184[_0x392691(0x254)]{constructor(_0x39fcb6,_0x4b190e){const _0x40f544=_0x392691;var _0x5adc9c,_0x51074e;super(_0x39fcb6,_0x4b190e),_0x4a3e10(this,_0x40f544(0x38c)),_0x4a3e10(this,'_hovered',!0x1),_0x4a3e10(this,_0x40f544(0x412)),_0x4a3e10(this,'_name',''),_0x4a3e10(this,_0x40f544(0x421),_0x40f544(0x2d5)),_0x4a3e10(this,_0x40f544(0x21e)),_0x4a3e10(this,_0x40f544(0x1fd)),_0x4a3e10(this,'_highlight'),_0x4a3e10(this,'_highlightSecond',0x4),_0x4a3e10(this,'_blinkTimer'),_0x4a3e10(this,_0x40f544(0x274)),_0x4a3e10(this,_0x40f544(0x235),!0x0),_0x4a3e10(this,_0x40f544(0x2dc),0x0),(_0x4b190e&&(this['setShapeProps'](_0x4b190e),_0x4b190e[_0x40f544(0x355)]&&((_0x5adc9c=_0x4b190e[_0x40f544(0x35f)])!=null?_0x5adc9c:this[_0x40f544(0x375)])&&this[_0x40f544(0x26b)]((_0x51074e=_0x4b190e[_0x40f544(0x35f)])!=null?_0x51074e:this[_0x40f544(0x375)])),this[_0x40f544(0x2ce)][_0x40f544(0x288)](()=>this[_0x40f544(0x461)]({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0x40f544(0x461)]({'hovered':!0x1})));}[_0x392691(0x3d2)](_0x556a20){this['_offsetY']=_0x556a20;}[_0x392691(0x461)](_0x18e4b5){const _0x22dc1a=_0x392691;var _0x2e980c,_0x686638,_0x45c3bc,_0xce840a,_0x1db9b6,_0xb76cb3,_0x3408a2;this[_0x22dc1a(0x38c)]=(_0x2e980c=_0x18e4b5[_0x22dc1a(0x49f)])!=null?_0x2e980c:this[_0x22dc1a(0x38c)],this['_hovered']=(_0x686638=_0x18e4b5[_0x22dc1a(0x371)])!=null?_0x686638:this[_0x22dc1a(0x1fe)],this[_0x22dc1a(0x412)]=(_0x45c3bc=_0x18e4b5[_0x22dc1a(0x4d8)])!=null?_0x45c3bc:this['_range'],this['_name']=(_0xce840a=_0x18e4b5[_0x22dc1a(0x3c3)])!=null?_0xce840a:this[_0x22dc1a(0x426)],this[_0x22dc1a(0x421)]=(_0x1db9b6=_0x18e4b5[_0x22dc1a(0x3b6)])!=null?_0x1db9b6:this[_0x22dc1a(0x421)],this['_backgroundColor']=(_0xb76cb3=_0x18e4b5['backgroundColor'])!=null?_0xb76cb3:this[_0x22dc1a(0x21e)],this[_0x22dc1a(0x1fd)]=(_0x3408a2=_0x18e4b5[_0x22dc1a(0x370)])!=null?_0x3408a2:this[_0x22dc1a(0x1fd)],_0x18e4b5[_0x22dc1a(0x35f)]!==void 0x0&&(this['_highlightSecond']=_0x18e4b5['highlightSecond']),_0x18e4b5[_0x22dc1a(0x355)]!==void 0x0&&(this[_0x22dc1a(0x4e0)]=_0x18e4b5[_0x22dc1a(0x355)]),_0x18e4b5[_0x22dc1a(0x384)]!==void 0x0&&(this[_0x22dc1a(0x2dc)]=_0x18e4b5[_0x22dc1a(0x384)]),this[_0x22dc1a(0x2e1)]({'width':_0x18e4b5[_0x22dc1a(0x32d)],'height':_0x18e4b5['height']});}['onMouseMove'](_0x2ff5c0){const _0x8de2f8=_0x392691,{row:_0x27252e,column:_0x13b4e6}=_0x2ff5c0;if(_0x27252e>=this['_range'][_0x8de2f8(0x47b)]&&_0x27252e<=this[_0x8de2f8(0x412)][_0x8de2f8(0x4b2)]&&_0x13b4e6>=this[_0x8de2f8(0x412)][_0x8de2f8(0x46e)]&&_0x13b4e6<=this[_0x8de2f8(0x412)][_0x8de2f8(0x45b)]){this[_0x8de2f8(0x461)]({'hovered':!0x0});return;}this[_0x8de2f8(0x461)]({'hovered':!0x1});}[_0x392691(0x26b)](_0x180f75){const _0x1599a0=_0x392691;this['_stopBlinking'](),this[_0x1599a0(0x235)]=!0x0,this['_blinkIntervalTimer']=window[_0x1599a0(0x3f1)](()=>{const _0x561b2c=_0x1599a0;this['_isBlinkVisible']=!this[_0x561b2c(0x235)],this['makeDirty'](!0x0);},0x1f4),this['_blinkTimer']=window[_0x1599a0(0x243)](()=>{const _0x25f57a=_0x1599a0;this[_0x25f57a(0x287)](),this[_0x25f57a(0x235)]=!0x0,this[_0x25f57a(0x322)](!0x0);},_0x180f75*0x3e8);}['_stopBlinking'](){const _0x1a9495=_0x392691;this['_blinkIntervalTimer']&&(window['clearInterval'](this[_0x1a9495(0x274)]),this[_0x1a9495(0x274)]=void 0x0),this[_0x1a9495(0x4d5)]&&(window[_0x1a9495(0x201)](this[_0x1a9495(0x4d5)]),this['_blinkTimer']=void 0x0);}[_0x392691(0x38b)](_0x45b545){return!0x1;}[_0x392691(0x2a5)](){const _0x2ff563=_0x392691;this[_0x2ff563(0x287)](),super['dispose']();}[_0x392691(0x25f)](_0x8bf51c){const _0x370a13=_0x392691;var _0x3baa5c,_0x142045;let _0x1d5e80=this[_0x370a13(0x38c)],_0x64d95b=this[_0x370a13(0x21e)];this[_0x370a13(0x4e0)]&&!this[_0x370a13(0x235)]&&(_0x1d5e80=this['_getLighterColor'](this['_color']),_0x64d95b=this[_0x370a13(0x21e)]?this['_getLighterColor'](this[_0x370a13(0x21e)]):void 0x0),_0x371184[_0x370a13(0x2aa)][_0x370a13(0x21b)](_0x8bf51c,{'width':this['width'],'height':this[_0x370a13(0x346)],'strokeWidth':(_0x3baa5c=this[_0x370a13(0x22c)])!=null?_0x3baa5c:_0x3b9cee,'stroke':_0x1d5e80,'evented':!0x1,'fill':_0x64d95b}),(this[_0x370a13(0x1fe)]||this[_0x370a13(0x1fd)])&&(_0x8bf51c[_0x370a13(0x3a4)](),_0x8bf51c['transform'](0x1,0x0,0x0,0x1,this[_0x370a13(0x32d)],(this[_0x370a13(0x421)]==='bottom'?0x0:-_0x5ce148)+((_0x142045=this[_0x370a13(0x2dc)])!=null?_0x142045:0x0)),_0x4d22ab[_0x370a13(0x21b)](_0x8bf51c,{'text':this[_0x370a13(0x426)],'color':_0x1d5e80}),_0x8bf51c['restore']());}['_getLighterColor'](_0x4dbf60){const _0x238d67=_0x392691;if(_0x4dbf60[_0x238d67(0x416)]('#')){const _0x38ed2f=Number[_0x238d67(0x361)](_0x4dbf60[_0x238d67(0x425)](0x1,0x3),0x10),_0x2ff406=Number[_0x238d67(0x361)](_0x4dbf60[_0x238d67(0x425)](0x3,0x5),0x10),_0x387388=Number[_0x238d67(0x361)](_0x4dbf60['slice'](0x5,0x7),0x10);return _0x238d67(0x3b4)+_0x38ed2f+',\x20'+_0x2ff406+',\x20'+_0x387388+_0x238d67(0x40c);}return _0x4dbf60[_0x238d67(0x416)](_0x238d67(0x228))?_0x4dbf60['replace'](/[\d.]+\)$/g,_0x238d67(0x41e)):_0x4dbf60[_0x238d67(0x416)](_0x238d67(0x3c8))?_0x4dbf60[_0x238d67(0x4a4)]('rgb',_0x238d67(0x228))['replace'](')',_0x238d67(0x40c)):_0x4dbf60;}}var _0x2204e5=Object[_0x392691(0x39f)],_0x3cdcf4=(_0x37dcfa,_0x213824,_0x4f0d7d,_0x31ecf1)=>{const _0x130c0a=_0x392691;for(var _0x270515=_0x31ecf1>0x1?void 0x0:_0x31ecf1?_0x2204e5(_0x213824,_0x4f0d7d):_0x213824,_0x2fedfa=_0x37dcfa[_0x130c0a(0x30c)]-0x1,_0x59d3fa;_0x2fedfa>=0x0;_0x2fedfa--)(_0x59d3fa=_0x37dcfa[_0x2fedfa])&&(_0x270515=_0x59d3fa(_0x270515)||_0x270515);return _0x270515;},_0x526237=(_0x41755c,_0x3a6d2c)=>(_0x558f37,_0x3b66bd)=>_0x3a6d2c(_0x558f37,_0x3b66bd,_0x41755c);const _0x4e6bca=0x1389;let _0x34444f=class extends _0x2d11dc['RxDisposable']{constructor(_0x154812,_0x55b2c1,_0x5b12b7,_0x3e30a0){const _0x2ae207=_0x392691;super(),_0x4a3e10(this,_0x2ae207(0x218),new Set()),_0x4a3e10(this,_0x2ae207(0x1df),null),(this[_0x2ae207(0x2d0)]=_0x154812,this['_sheetSkeletonManagerService']=_0x55b2c1,this['_collabCursorController']=_0x5b12b7,this[_0x2ae207(0x422)]=_0x3e30a0,this[_0x2ae207(0x411)]());}[_0x392691(0x411)](){const _0x1d7d28=_0x392691;this[_0x1d7d28(0x247)][_0x1d7d28(0x2e2)]['pipe'](_0xbeb681[_0x1d7d28(0x28c)](this[_0x1d7d28(0x1f8)]),_0xbeb681['switchMap'](_0x313b96=>{const _0xdc5206=_0x1d7d28;if(_0x313b96){const _0x1aa423=_0x313b96['sheetId'];return _0x433dcc['combineLatest'](this[_0xdc5206(0x2be)][_0xdc5206(0x23a)](this[_0xdc5206(0x2d0)]['unitId']),this[_0xdc5206(0x422)][_0xdc5206(0x394)])[_0xdc5206(0x38d)](_0xbeb681[_0xdc5206(0x337)](([_0x1534fd,_0x58d095])=>{const _0x35dc5a=new Map();return _0x1534fd['forEach']((_0x26399c,_0x342b2a)=>{const _0x2594a9=_0x43cc;if(_0x26399c['sheetID']===_0x1aa423){const _0x3619f8={..._0x26399c};_0x3619f8['color']=this[_0x2594a9(0x422)][_0x2594a9(0x436)](_0x26399c[_0x2594a9(0x49f)]),_0x35dc5a[_0x2594a9(0x250)](_0x342b2a,_0x3619f8);}}),{'skeleton':_0x313b96,'cursors':_0x35dc5a};}));}return _0x433dcc['of']({'skeleton':null,'cursors':new Map()});}))[_0x1d7d28(0x47f)](({skeleton:_0x3e3562,cursors:_0x519915})=>{const _0x5bc669=_0x1d7d28;this[_0x5bc669(0x256)](),_0x3e3562&&this[_0x5bc669(0x3c5)](_0x3e3562,_0x519915);}),this[_0x1d7d28(0x247)]['currentSkeleton$'][_0x1d7d28(0x47f)](_0x128519=>{const _0x5d87fe=_0x1d7d28;if(_0x128519==null)return;const {skeleton:_0xd9d8d1}=_0x128519,{scene:_0xcb51e6}=this[_0x5d87fe(0x2d0)];_0xcb51e6[_0x5d87fe(0x452)]['subscribeEvent'](_0x2d11dc[_0x5d87fe(0x45a)](_0x4a9bd2=>{const _0x253f12=_0x5d87fe;var _0x2f125e,_0x466353;const {offsetX:_0xd6650,offsetY:_0x1d04cd}=_0x4a9bd2,{x:_0x1a2b13,y:_0xbaa63c}=_0xcb51e6[_0x253f12(0x49d)](_0x371184['Vector2']['FromArray']([_0xd6650,_0x1d04cd])),{scaleX:_0x126628,scaleY:_0x11b9d5}=_0xcb51e6['getAncestorScale'](),_0x3cd25f=_0xcb51e6[_0x253f12(0x2dd)](_0x371184[_0x253f12(0x488)][_0x253f12(0x234)]),_0x441600=_0xcb51e6[_0x253f12(0x3c0)](_0x371184[_0x253f12(0x2a0)][_0x253f12(0x3af)]([_0x1a2b13,_0xbaa63c]),_0x3cd25f),_0xa2be6f=_0xd9d8d1[_0x253f12(0x407)](_0xd6650,_0x1d04cd,_0x126628,_0x11b9d5,_0x441600);((_0x2f125e=this[_0x253f12(0x1df)])==null?void 0x0:_0x2f125e['column'])===_0xa2be6f[_0x253f12(0x2c3)]&&((_0x466353=this[_0x253f12(0x1df)])==null?void 0x0:_0x466353[_0x253f12(0x3e5)])===_0xa2be6f['row']||this[_0x253f12(0x218)][_0x253f12(0x34f)](_0x32ae5f=>{const _0x411a96=_0x253f12;_0x32ae5f[_0x411a96(0x344)](_0xa2be6f);});},0x64));});}['_updateCollabCursors'](_0x18947c,_0x3eaabc){const _0x37487b=_0x392691;var _0x554074;const _0x4dd514=(_0x554074=this[_0x37487b(0x247)]['getCurrent']())==null?void 0x0:_0x554074[_0x37487b(0x41d)];if(!_0x4dd514)return;const _0x3e4a1d=this[_0x37487b(0x3c2)]();if(!_0x3e4a1d)return;this[_0x37487b(0x218)][_0x37487b(0x34f)](_0x17c0f4=>{_0x17c0f4['makeDirty']();});const {scene:_0x23eebd}=_0x3e4a1d,_0x22e600=_0x453dd2(Array[_0x37487b(0x4d1)](_0x3eaabc['values']()))[_0x37487b(0x337)](_0x4abea8=>{const _0x1c073e=_0x37487b,{color:_0x337c0e,range:_0x47ad5e,name:_0x1df66a,selection:_0xe3225,sheetID:_0x4039dd}=_0x4abea8,{startColumn:_0x29925c,startRow:_0x3ad0f2,endColumn:_0x3eb110,endRow:_0x576646}=_0x47ad5e,_0x1dbe5d=_0xd80992[_0x1c073e(0x365)](_0x3ad0f2,_0x29925c,_0x23eebd,_0x4dd514),_0x3bd412=_0xd80992[_0x1c073e(0x365)](_0x576646,_0x3eb110,_0x23eebd,_0x4dd514),{columnHeaderHeightAndMarginTop:_0x55a4c9}=_0x4dd514,{startX:_0x9013c7,startY:_0x64c9d8}=_0x1dbe5d,{endX:_0x1e31ab,endY:_0x3449b8}=_0x3bd412,_0x42f19f=_0x1e31ab-_0x9013c7,_0x196223=_0x3449b8-_0x64c9d8,_0x3ce986={'labelPosition':_0x64c9d8-_0x55a4c9>=_0x5ce148?_0x1c073e(0x2d5):_0x1c073e(0x42d),'sheetID':_0x4039dd,'range':_0x47ad5e,'color':_0x337c0e,'name':_0x1df66a,'selection':_0xe3225,'left':_0x9013c7,'top':_0x64c9d8,'width':_0x42f19f,'height':_0x196223,'evented':!0x1,'zIndex':_0x4e6bca};return new _0x895cf0(_0x1df66a,_0x3ce986);});_0x23eebd[_0x37487b(0x34a)](_0x22e600,_0x41b1d6),this['_cursors']=new Set(_0x22e600);}[_0x392691(0x256)](){const _0x37632b=_0x392691;var _0x44a340;(_0x44a340=this[_0x37632b(0x218)])==null||_0x44a340[_0x37632b(0x34f)](_0x4137c6=>_0x4137c6['dispose']());}[_0x392691(0x3c2)](){const _0x1bc1d1=_0x392691;return _0xd80992[_0x1bc1d1(0x3e6)](this[_0x1bc1d1(0x2d0)]['unit'],this[_0x1bc1d1(0x2d0)]);}};_0x34444f=_0x3cdcf4([_0x526237(0x1,_0x2d11dc[_0x392691(0x36d)](_0xd80992[_0x392691(0x484)])),_0x526237(0x2,_0x2d11dc[_0x392691(0x36d)](_0x3d0a15)),_0x526237(0x3,_0x2d11dc[_0x392691(0x36d)](_0x2d11dc[_0x392691(0x246)]))],_0x34444f);function _0x453dd2(_0x2fcb24){const _0x3c98d4=_0x392691,_0x419b9f=new Map();return _0x2fcb24[_0x3c98d4(0x34f)](_0x50e96f=>{const _0x4b2f5c=_0x3c98d4;if(_0x419b9f[_0x4b2f5c(0x4ab)](_0x50e96f[_0x4b2f5c(0x2ef)])){const _0x33aefb=_0x419b9f['get'](_0x50e96f[_0x4b2f5c(0x2ef)]);_0x33aefb[_0x4b2f5c(0x3c3)]+=',\x20'+_0x50e96f[_0x4b2f5c(0x3c3)];}else _0x419b9f['set'](_0x50e96f[_0x4b2f5c(0x2ef)],_0x50e96f);}),Array['from'](_0x419b9f[_0x3c98d4(0x33e)]());}var _0x33878f=Object[_0x392691(0x39f)],_0x2359aa=(_0x45cec6,_0x52b0c4,_0x5d389f,_0x49da9a)=>{const _0x5a2619=_0x392691;for(var _0x3d4195=_0x49da9a>0x1?void 0x0:_0x49da9a?_0x33878f(_0x52b0c4,_0x5d389f):_0x52b0c4,_0x3d391d=_0x45cec6[_0x5a2619(0x30c)]-0x1,_0x13391a;_0x3d391d>=0x0;_0x3d391d--)(_0x13391a=_0x45cec6[_0x3d391d])&&(_0x3d4195=_0x13391a(_0x3d4195)||_0x3d4195);return _0x3d4195;},_0xe250b4=(_0x3c311e,_0x3afe99)=>(_0x20c809,_0x1e8421)=>_0x3afe99(_0x20c809,_0x1e8421,_0x3c311e);let _0x2647f1=class extends _0x2d11dc[_0x392691(0x1e0)]{constructor(_0x28c7e6,_0x100246,_0x55e36f,_0x31cea6,_0x33b886,_0x3b000f){const _0x254e92=_0x392691;super(),this['_beforeCloseService']=_0x28c7e6,this[_0x254e92(0x2a1)]=_0x100246,this['_collaborationUIEventService']=_0x55e36f,this['_messageService']=_0x31cea6,this[_0x254e92(0x343)]=_0x33b886,this['_localeService']=_0x3b000f,this[_0x254e92(0x233)](),this[_0x254e92(0x483)]();}[_0x392691(0x233)](){const _0xcf6ecf=_0x392691;this[_0xcf6ecf(0x2c5)](this['_beforeCloseService'][_0xcf6ecf(0x469)](()=>{const _0x3692b0=_0xcf6ecf;if(this[_0x3692b0(0x2a1)][_0x3692b0(0x298)][_0x3692b0(0x299)])return this['_localeService']['t'](_0x3692b0(0x2e4));}));}[_0x392691(0x483)](){const _0x14d5cd=_0x392691;this['disposeWithMe'](this[_0x14d5cd(0x3a1)][_0x14d5cd(0x2f0)]['subscribe'](_0x2c8b3c=>{const _0x218b30=_0x14d5cd;_0x2c8b3c['id']===_0xc712b5['CollaborationUIEventId'][_0x218b30(0x476)]&&this[_0x218b30(0x2c4)][_0x218b30(0x442)]({'type':_0x1bfc45['MessageType'][_0x218b30(0x43d)],'content':this['_localeService']['t'](_0x218b30(0x2d8))}),_0x2c8b3c['id']===_0xc712b5[_0x218b30(0x301)][_0x218b30(0x263)]&&this['_messageService'][_0x218b30(0x442)]({'type':_0x1bfc45[_0x218b30(0x2de)][_0x218b30(0x43d)],'content':this[_0x218b30(0x226)]['t']('collaboration.closeRoom')}),_0x2c8b3c['id']===_0xc712b5[_0x218b30(0x301)][_0x218b30(0x3b8)]&&this[_0x218b30(0x343)][_0x218b30(0x442)]({'title':this['_localeService']['t'](_0x218b30(0x2d1)),'content':this['_localeService']['t'](_0x218b30(0x429)),'type':'error','duration':0x0}),_0x2c8b3c['id']===_0xc712b5[_0x218b30(0x301)]['CONFLICT']&&this['_messageService'][_0x218b30(0x442)]({'type':_0x1bfc45[_0x218b30(0x2de)]['Error'],'content':this[_0x218b30(0x226)]['t']('collaboration.closeRoom')+'('+_0x2c8b3c[_0x218b30(0x4a8)]+')'}),_0x2c8b3c['id']===_0xc712b5['CollaborationUIEventId'][_0x218b30(0x46d)]&&this[_0x218b30(0x2c4)][_0x218b30(0x442)]({'type':_0x1bfc45[_0x218b30(0x2de)][_0x218b30(0x43d)],'content':this['_localeService']['t'](_0x2c8b3c[_0x218b30(0x4a8)]||'')}),_0x2c8b3c['id']===_0xc712b5[_0x218b30(0x301)][_0x218b30(0x302)]&&this[_0x218b30(0x2c4)][_0x218b30(0x442)]({'type':_0x1bfc45[_0x218b30(0x2de)][_0x218b30(0x43d)],'content':this[_0x218b30(0x226)]['t'](_0x218b30(0x3a7))}),_0x2c8b3c['id']===_0xc712b5[_0x218b30(0x301)][_0x218b30(0x3ea)]&&this['_messageService'][_0x218b30(0x442)]({'type':_0x1bfc45['MessageType'][_0x218b30(0x395)],'content':this[_0x218b30(0x226)]['t'](_0x218b30(0x264))}),_0x2c8b3c['id']===_0xc712b5[_0x218b30(0x301)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x218b30(0x2c4)][_0x218b30(0x442)]({'type':_0x1bfc45[_0x218b30(0x2de)][_0x218b30(0x395)],'content':this[_0x218b30(0x226)]['t'](_0x218b30(0x28a))});}));}};_0x2647f1=_0x2359aa([_0xe250b4(0x0,_0x95a23a[_0x392691(0x2fa)]),_0xe250b4(0x1,_0xc712b5[_0x392691(0x3f5)]),_0xe250b4(0x2,_0x2d11dc[_0x392691(0x36d)](_0xc712b5[_0x392691(0x451)])),_0xe250b4(0x3,_0x95a23a[_0x392691(0x2b0)]),_0xe250b4(0x4,_0x95a23a['INotificationService']),_0xe250b4(0x5,_0x2d11dc['Inject'](_0x2d11dc[_0x392691(0x32b)]))],_0x2647f1);const _0x34c500='collaboration-client-ui.config',_0x4e002a={};var _0x467e9d=Object[_0x392691(0x39f)],_0x5c366b=(_0x19546f,_0x279fd0,_0x3081fd,_0x1003c0)=>{const _0x1402a6=_0x392691;for(var _0x28e41a=_0x1003c0>0x1?void 0x0:_0x1003c0?_0x467e9d(_0x279fd0,_0x3081fd):_0x279fd0,_0x59152a=_0x19546f[_0x1402a6(0x30c)]-0x1,_0xe6b0fd;_0x59152a>=0x0;_0x59152a--)(_0xe6b0fd=_0x19546f[_0x59152a])&&(_0x28e41a=_0xe6b0fd(_0x28e41a)||_0x28e41a);return _0x28e41a;},_0x294a34=(_0x15fb4b,_0x4ddef2)=>(_0xd61519,_0x1a38fc)=>_0x4ddef2(_0xd61519,_0x1a38fc,_0x15fb4b);let _0x2ae871=class{constructor(_0xf8fdbc,_0x3afb3b){const _0x293d07=_0x392691;this[_0x293d07(0x3c6)]=_0xf8fdbc,this[_0x293d07(0x3e7)]=_0x3afb3b;}['transformIMECache'](_0x1705cd){const _0x5b0bd4=_0x392691;this['_transformUndoRedoStack'](_0x1705cd),this[_0x5b0bd4(0x48a)](_0x1705cd);}[_0x392691(0x336)](_0xacce96){const _0x2c7040=_0x392691,{unitID:_0x2662d5}=_0xacce96,_0x2bc0b2=this[_0x2c7040(0x3e7)]['getRenderById'](_0x2662d5)[_0x2c7040(0x3fd)](_0x1ff6d4[_0x2c7040(0x32a)]),{redoCache:_0x2fe03e}=_0x2bc0b2['getUndoRedoMutationParamsCache']();if(_0x2fe03e[_0x2c7040(0x30c)]===0x0)return _0xacce96;let _0x4697af=_0x2d11dc[_0x2c7040(0x396)][_0x2c7040(0x31b)](_0xacce96['mutations'][0x0]);for(let _0x2a14dc=0x0;_0x2a14dc<_0x2fe03e[_0x2c7040(0x30c)];_0x2a14dc++){const _0x515756={'id':'doc.mutation.rich-text-editing','params':{..._0x2fe03e[_0x2a14dc]}},_0x508396=this[_0x2c7040(0x3c6)][_0x2c7040(0x1e4)](_0x4697af,_0x515756,!0x1);if(_0x1509c8[_0x2c7040(0x279)](_0x508396))throw _0x508396[_0x2c7040(0x4f1)];_0x4697af=_0x508396['m1Prime'];}return{..._0x2d11dc[_0x2c7040(0x396)][_0x2c7040(0x31b)](_0xacce96),'mutations':[_0x4697af]};}[_0x392691(0x1f9)](_0x14cd9c){const _0x58f0f6=_0x392691,{unitID:_0x2ffac6}=_0x14cd9c,_0x4fc542=this[_0x58f0f6(0x3e7)]['getRenderById'](_0x2ffac6)[_0x58f0f6(0x3fd)](_0x1ff6d4[_0x58f0f6(0x32a)]),{undoCache:_0x2514e6,redoCache:_0x5e5b08}=_0x4fc542[_0x58f0f6(0x456)]();if(_0x2514e6[_0x58f0f6(0x30c)]===0x0||_0x5e5b08[_0x58f0f6(0x30c)]===0x0)return;const _0x1b4b21=[],_0x1df6de=[];let _0x581dc8=_0x2d11dc[_0x58f0f6(0x396)][_0x58f0f6(0x31b)](_0x14cd9c['mutations'][0x0]),_0x292638=_0x2d11dc[_0x58f0f6(0x396)][_0x58f0f6(0x31b)](_0x14cd9c['mutations'][0x0]);for(let _0x61e342=_0x2514e6['length']-0x1;_0x61e342>=0x0;_0x61e342--){const _0x1eae43={'id':_0x58f0f6(0x3e3),'params':{..._0x2514e6[_0x61e342]}},_0x406bd0={'id':_0x58f0f6(0x3e3),'params':{..._0x5e5b08[_0x61e342]}},_0x3d1a69=this[_0x58f0f6(0x3c6)][_0x58f0f6(0x1e4)](_0x581dc8,_0x1eae43,!0x1),_0xedb399=this[_0x58f0f6(0x3c6)]['transformMutation'](_0x292638,_0x406bd0,!0x1);if(_0x1509c8['isTransformMutationFailure'](_0x3d1a69))throw _0x3d1a69['error'];if(_0x1509c8[_0x58f0f6(0x279)](_0xedb399))throw _0xedb399['error'];_0x1b4b21[_0x58f0f6(0x487)](_0x3d1a69[_0x58f0f6(0x227)][_0x58f0f6(0x44a)]),_0x1df6de[_0x58f0f6(0x487)](_0xedb399[_0x58f0f6(0x227)][_0x58f0f6(0x44a)]),_0x581dc8=_0x3d1a69[_0x58f0f6(0x3e9)],_0x292638=_0xedb399[_0x58f0f6(0x3e9)];}_0x4fc542[_0x58f0f6(0x48b)]({'undoCache':_0x1b4b21,'redoCache':_0x1df6de});}[_0x392691(0x48a)](_0x59a61a){const _0x52f73c=_0x392691,{unitID:_0x2484a4}=_0x59a61a,_0x1c23b0=this[_0x52f73c(0x3e7)][_0x52f73c(0x4a5)](_0x2484a4)['with'](_0x1ff6d4['DocIMEInputManagerService']),_0x41f57c=_0x1c23b0[_0x52f73c(0x339)]();if(_0x41f57c==null)return;const _0x22c249=[{'id':_0x52f73c(0x3e3),'params':{'unitId':_0x59a61a[_0x52f73c(0x391)],'actions':null,'textRanges':[_0x41f57c]}}],_0x41f318=this[_0x52f73c(0x3c6)][_0x52f73c(0x21c)](_0x59a61a,_0x22c249);if(!_0x1509c8[_0x52f73c(0x2ae)](_0x41f318))throw _0x41f318['error'];const _0x427023=_0x41f318[_0x52f73c(0x227)][0x0]['params'][_0x52f73c(0x200)];Array['isArray'](_0x427023)&&_0x427023['length']&&_0x1c23b0[_0x52f73c(0x211)](_0x427023[0x0]);}};_0x2ae871=_0x5c366b([_0x294a34(0x0,_0x1509c8['ITransformService']),_0x294a34(0x1,_0x371184[_0x392691(0x3ad)])],_0x2ae871);var _0x49417f=Object[_0x392691(0x39f)],_0x1b29e3=(_0x5071f1,_0x210167,_0x3270d8,_0x4b0548)=>{for(var _0x1eff7a=_0x4b0548>0x1?void 0x0:_0x4b0548?_0x49417f(_0x210167,_0x3270d8):_0x210167,_0x18e29e=_0x5071f1['length']-0x1,_0x536886;_0x18e29e>=0x0;_0x18e29e--)(_0x536886=_0x5071f1[_0x18e29e])&&(_0x1eff7a=_0x536886(_0x1eff7a)||_0x1eff7a);return _0x1eff7a;},_0x175910=(_0x1d6b38,_0x32d8b6)=>(_0x5af9b0,_0x2a4487)=>_0x32d8b6(_0x5af9b0,_0x2a4487,_0x1d6b38);let _0x59057e=class{constructor(_0x512c31,_0x1faa19,_0x1e039f){const _0x2e5d51=_0x392691;this[_0x2e5d51(0x248)]=_0x512c31,this[_0x2e5d51(0x3c6)]=_0x1faa19,this['_docStateChangeManagerService']=_0x1e039f;}[_0x392691(0x3f6)](_0x3d3684){const _0x2ded58=_0x392691;this[_0x2ded58(0x291)](_0x3d3684);}[_0x392691(0x336)](_0x3ecf6d){const _0x3f58b6=_0x392691,{unitID:_0x274c2f}=_0x3ecf6d,{collaboration:_0x8bbc52}=this[_0x3f58b6(0x3f4)][_0x3f58b6(0x431)](_0x274c2f);if(_0x8bbc52['length']===0x0)return _0x3ecf6d;let _0x558ebd=_0x2d11dc[_0x3f58b6(0x396)][_0x3f58b6(0x31b)](_0x3ecf6d['mutations'][0x0]);for(let _0x4bbced=0x0;_0x4bbced<_0x8bbc52[_0x3f58b6(0x30c)];_0x4bbced++){const _0x1c2cdd={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x8bbc52[_0x4bbced]['unitId'],..._0x8bbc52[_0x4bbced]['redoState']}},_0x1a83ea=this[_0x3f58b6(0x3c6)]['transformMutation'](_0x558ebd,_0x1c2cdd,!0x1);if(_0x1509c8[_0x3f58b6(0x279)](_0x1a83ea))throw _0x1a83ea[_0x3f58b6(0x4f1)];_0x558ebd=_0x1a83ea[_0x3f58b6(0x3e9)];}return{..._0x2d11dc[_0x3f58b6(0x396)][_0x3f58b6(0x31b)](_0x3ecf6d),'mutations':[_0x558ebd]};}[_0x392691(0x291)](_0x31dfae){const _0x3670e7=_0x392691,{unitID:_0x42db59}=_0x31dfae,{history:_0xd824b3,collaboration:_0x352a94}=this[_0x3670e7(0x3f4)][_0x3670e7(0x431)](_0x42db59);if(_0xd824b3[_0x3670e7(0x30c)]===0x0&&_0x352a94[_0x3670e7(0x30c)]===0x0)return;const _0x319146=[],_0x337201=[];let _0x578cfb=_0x2d11dc[_0x3670e7(0x396)][_0x3670e7(0x31b)](_0x31dfae['mutations'][0x0]),_0x53dc3d=_0x2d11dc[_0x3670e7(0x396)][_0x3670e7(0x31b)](_0x31dfae[_0x3670e7(0x2cc)][0x0]);for(let _0x2fe3a9=_0xd824b3[_0x3670e7(0x30c)]-0x1;_0x2fe3a9>=0x0;_0x2fe3a9--){const _0x9c0525={'id':_0x3670e7(0x3e3),'params':{'unitId':_0xd824b3[_0x2fe3a9][_0x3670e7(0x20f)],..._0xd824b3[_0x2fe3a9][_0x3670e7(0x22d)]}},_0x2ce022={'id':_0x3670e7(0x3e3),'params':{'unitId':_0xd824b3[_0x2fe3a9][_0x3670e7(0x20f)],..._0xd824b3[_0x2fe3a9][_0x3670e7(0x441)]}},_0x4846df=this['_transformService'][_0x3670e7(0x1e4)](_0x578cfb,_0x9c0525,!0x1),_0x239d33=this[_0x3670e7(0x3c6)]['transformMutation'](_0x53dc3d,_0x2ce022,!0x1);if(_0x1509c8['isTransformMutationFailure'](_0x4846df))throw _0x4846df['error'];if(_0x1509c8[_0x3670e7(0x279)](_0x239d33))throw _0x239d33[_0x3670e7(0x4f1)];_0x319146[_0x3670e7(0x487)]({..._0xd824b3[_0x2fe3a9],'undoState':_0x4846df[_0x3670e7(0x227)][_0x3670e7(0x44a)],'redoState':_0x239d33['m2Prime'][_0x3670e7(0x44a)]}),_0x578cfb=_0x4846df[_0x3670e7(0x3e9)],_0x53dc3d=_0x239d33['m1Prime'];}_0x578cfb=_0x2d11dc['Tools'][_0x3670e7(0x31b)](_0x31dfae[_0x3670e7(0x2cc)][0x0]),_0x53dc3d=_0x2d11dc[_0x3670e7(0x396)][_0x3670e7(0x31b)](_0x31dfae[_0x3670e7(0x2cc)][0x0]);for(let _0x86f68a=_0x352a94['length']-0x1;_0x86f68a>=0x0;_0x86f68a--){const _0x15d93c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x352a94[_0x86f68a][_0x3670e7(0x20f)],..._0x352a94[_0x86f68a][_0x3670e7(0x22d)]}},_0x53f87f={'id':_0x3670e7(0x3e3),'params':{'unitId':_0x352a94[_0x86f68a][_0x3670e7(0x20f)],..._0x352a94[_0x86f68a][_0x3670e7(0x441)]}},_0x271a38=this[_0x3670e7(0x3c6)][_0x3670e7(0x1e4)](_0x578cfb,_0x15d93c,!0x1),_0x109d2e=this[_0x3670e7(0x3c6)]['transformMutation'](_0x53dc3d,_0x53f87f,!0x1);if(_0x1509c8['isTransformMutationFailure'](_0x271a38))throw _0x271a38[_0x3670e7(0x4f1)];if(_0x1509c8['isTransformMutationFailure'](_0x109d2e))throw _0x109d2e[_0x3670e7(0x4f1)];_0x337201[_0x3670e7(0x487)]({..._0x352a94[_0x86f68a],'undoState':_0x271a38[_0x3670e7(0x227)]['params'],'redoState':_0x109d2e[_0x3670e7(0x227)]['params']}),_0x578cfb=_0x271a38[_0x3670e7(0x3e9)],_0x53dc3d=_0x109d2e['m1Prime'];}this[_0x3670e7(0x3f4)]['setStateCache'](_0x42db59,{'history':_0x319146,'collaboration':_0x337201});}};_0x59057e=_0x1b29e3([_0x175910(0x0,_0x2d11dc[_0x392691(0x36d)](_0x2d11dc[_0x392691(0x47d)])),_0x175910(0x1,_0x1509c8[_0x392691(0x237)]),_0x175910(0x2,_0x2d11dc[_0x392691(0x36d)](_0x1ff6d4[_0x392691(0x2b7)]))],_0x59057e);var _0x75f636=Object['getOwnPropertyDescriptor'],_0x403f5d=(_0xfa76b0,_0x176503,_0x371b20,_0x44a8ca)=>{const _0x2f305d=_0x392691;for(var _0x3b45dc=_0x44a8ca>0x1?void 0x0:_0x44a8ca?_0x75f636(_0x176503,_0x371b20):_0x176503,_0x20fe60=_0xfa76b0[_0x2f305d(0x30c)]-0x1,_0x80ae2b;_0x20fe60>=0x0;_0x20fe60--)(_0x80ae2b=_0xfa76b0[_0x20fe60])&&(_0x3b45dc=_0x80ae2b(_0x3b45dc)||_0x3b45dc);return _0x3b45dc;},_0x12010e=(_0x23d725,_0x396d89)=>(_0x314c34,_0x86cdd4)=>_0x396d89(_0x314c34,_0x86cdd4,_0x23d725);let _0x32e2e9=class{constructor(_0x212c0b,_0x263696){const _0x1bf5a6=_0x392691;this['_injector']=_0x212c0b,this[_0x1bf5a6(0x3c6)]=_0x263696;}[_0x392691(0x3ab)](_0x33dcdf){const _0x435a40=_0x392691;var _0x3ceb15;const _0x377844=this[_0x435a40(0x248)][_0x435a40(0x2fe)](_0x30435f[_0x435a40(0x241)]),_0x197988=(_0x3ceb15=_0x377844[_0x435a40(0x1e3)]())!=null?_0x3ceb15:[];if(_0x197988['length']===0x0)return;const _0xdac4de=_0x33dcdf[_0x435a40(0x391)],_0x549549=[{'id':_0x435a40(0x3e3),'params':{'unitId':_0xdac4de,'actions':null,'textRanges':_0x197988}}],_0x4996e9=this['_transformService'][_0x435a40(0x21c)](_0x33dcdf,_0x549549);if(!_0x1509c8['isTransformMutationsWithChangesetSuccess'](_0x4996e9))throw _0x4996e9[_0x435a40(0x4f1)];const _0x2f995b=_0x4996e9[_0x435a40(0x227)][0x0][_0x435a40(0x44a)][_0x435a40(0x200)];Array[_0x435a40(0x329)](_0x2f995b)&&_0x2f995b['length']&&_0x377844[_0x435a40(0x27c)](_0x2f995b,{'unitId':_0xdac4de,'subUnitId':_0xdac4de},!0x1);}};_0x32e2e9=_0x403f5d([_0x12010e(0x0,_0x2d11dc[_0x392691(0x36d)](_0x2d11dc[_0x392691(0x47d)])),_0x12010e(0x1,_0x1509c8['ITransformService'])],_0x32e2e9);var _0x4aa303=Object[_0x392691(0x39f)],_0x3a72f5=(_0x589a61,_0xe0427a,_0x552971,_0xa7657)=>{const _0x1290ac=_0x392691;for(var _0x241855=_0xa7657>0x1?void 0x0:_0xa7657?_0x4aa303(_0xe0427a,_0x552971):_0xe0427a,_0x1450ba=_0x589a61[_0x1290ac(0x30c)]-0x1,_0x4c8c60;_0x1450ba>=0x0;_0x1450ba--)(_0x4c8c60=_0x589a61[_0x1450ba])&&(_0x241855=_0x4c8c60(_0x241855)||_0x241855);return _0x241855;},_0x5c18f7=(_0x2709d1,_0xe45ef8)=>(_0xc2727c,_0x4e191b)=>_0xe45ef8(_0xc2727c,_0x4e191b,_0x2709d1);let _0x4518ef=class extends _0x2d11dc[_0x392691(0x1e0)]{constructor(_0x207d4d,_0x7a843c,_0xf7581d,_0x55596a,_0x568988,_0x165f76,_0x3a11f7,_0x471420){const _0x576ecc=_0x392691;super(),_0x4a3e10(this,'_status$',new _0x433dcc[(_0x576ecc(0x42a))](_0xc712b5[_0x576ecc(0x207)][_0x576ecc(0x447)])),(this[_0x576ecc(0x3f4)]=_0x207d4d,this[_0x576ecc(0x2ca)]=_0x7a843c,this['_docTransformIMECacheService']=_0xf7581d,this[_0x576ecc(0x3cb)]=_0x55596a,this['_docTransformSelectionsService']=_0x568988,this[_0x576ecc(0x38a)]=_0x165f76,this['_messageService']=_0x3a11f7,this[_0x576ecc(0x226)]=_0x471420,this['_initEntityListener']());}['_initEntityListener'](){const _0x309e59=_0x392691;this['disposeWithMe'](this[_0x309e59(0x2ca)][_0x309e59(0x458)][_0x309e59(0x47f)](_0x1ed940=>{const _0x12d1d3=_0x309e59,_0x5f42d5=this[_0x12d1d3(0x3f4)][_0x12d1d3(0x3f2)][_0x12d1d3(0x47f)](_0x170a00=>{const _0x1ef2c9=_0x12d1d3;if(_0x170a00==null)return;const {unitId:_0x69dfc7,redoState:_0xf7d42a,commandId:_0x20aaf9}=_0x170a00;if(_0x69dfc7!==_0x1ed940[_0x1ef2c9(0x391)])return;const _0x1e1845={'id':_0x20aaf9,'type':_0x2d11dc[_0x1ef2c9(0x494)][_0x1ef2c9(0x2bc)],'params':{'unitId':_0x69dfc7,'actions':_0xf7d42a[_0x1ef2c9(0x32f)],'textRanges':null}};_0x1ed940['onLocalMutation'](_0x1e1845);});if(_0x1ed940['disposeWithMe'](_0x5f42d5),_0x1ed940 instanceof _0xc712b5['DocCollaborationEntity']){const _0x476f19={'onTransformIME':_0x4f0904=>this[_0x12d1d3(0x3d0)][_0x12d1d3(0x449)](_0x4f0904),'onTransformState':_0x158d32=>this[_0x12d1d3(0x3cb)][_0x12d1d3(0x3f6)](_0x158d32),'onTransformSelections':_0xd44047=>this[_0x12d1d3(0x2f2)][_0x12d1d3(0x3ab)](_0xd44047),'onSyncEditingCollabCursor':_0x423f18=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x423f18),'onTransformRemoteChangesetByIMECache':_0x18491a=>this['_docTransformIMECacheService'][_0x12d1d3(0x336)](_0x18491a),'onTransformRemoteChangesetByStateCache':_0x217b93=>this[_0x12d1d3(0x3cb)][_0x12d1d3(0x336)](_0x217b93)};_0x1ed940[_0x12d1d3(0x323)](_0x476f19);}}));}};_0x4518ef=_0x3a72f5([_0x5c18f7(0x0,_0x2d11dc[_0x392691(0x36d)](_0x1ff6d4['DocStateChangeManagerService'])),_0x5c18f7(0x1,_0x2d11dc[_0x392691(0x36d)](_0xc712b5[_0x392691(0x255)])),_0x5c18f7(0x2,_0x2d11dc[_0x392691(0x36d)](_0x2ae871)),_0x5c18f7(0x3,_0x2d11dc[_0x392691(0x36d)](_0x59057e)),_0x5c18f7(0x4,_0x2d11dc['Inject'](_0x32e2e9)),_0x5c18f7(0x5,_0x2d11dc['Inject'](_0x549909)),_0x5c18f7(0x6,_0x95a23a[_0x392691(0x2b0)]),_0x5c18f7(0x7,_0x2d11dc[_0x392691(0x36d)](_0x2d11dc[_0x392691(0x32b)]))],_0x4518ef);var _0x41495e=Object[_0x392691(0x39f)],_0x2a0a87=(_0x493cf4,_0x8aa5,_0x67db4d,_0x3e4d70)=>{for(var _0x56b808=_0x3e4d70>0x1?void 0x0:_0x3e4d70?_0x41495e(_0x8aa5,_0x67db4d):_0x8aa5,_0x595e55=_0x493cf4['length']-0x1,_0x52dbe1;_0x595e55>=0x0;_0x595e55--)(_0x52dbe1=_0x493cf4[_0x595e55])&&(_0x56b808=_0x52dbe1(_0x56b808)||_0x56b808);return _0x56b808;},_0x344db3=(_0x4a7295,_0xf3cd2a)=>(_0x43de87,_0xb8849f)=>_0xf3cd2a(_0x43de87,_0xb8849f,_0x4a7295);let _0x2137b1=class extends _0x2d11dc[_0x392691(0x1e0)]{constructor(_0x50a9f3,_0x495a49,_0x501697,_0x213944){const _0x30557a=_0x392691;super(),_0x4a3e10(this,'_memberID'),(this['_injector']=_0x50a9f3,this['_httpService']=_0x495a49,this[_0x30557a(0x307)]=_0x501697,this[_0x30557a(0x24c)]=_0x213944,this[_0x30557a(0x411)]());}['_init'](){const _0x56b07c=_0x392691;this[_0x56b07c(0x214)](),this[_0x56b07c(0x3cc)](),this[_0x56b07c(0x308)](),this['_initUserListener']();}['_initUserListener'](){const _0x23c942=_0x392691;this['disposeWithMe'](this[_0x23c942(0x24c)]['socket$'][_0x23c942(0x47f)](_0x52ce2e=>{const _0x405f5c=_0x23c942;this[_0x405f5c(0x280)]=_0x52ce2e==null?void 0x0:_0x52ce2e[_0x405f5c(0x4b9)];}));}[_0x392691(0x214)](){const _0x38682d=_0x392691,_0x3be5d1=_0x38cbc4=>{const _0x59dd38=_0x43cc;var _0x19c375;this[_0x59dd38(0x466)](_0x59dd38(0x4f1),_0x59dd38(0x467)+_0x38cbc4[_0x59dd38(0x22b)]+'\x20at\x20'+_0x38cbc4[_0x59dd38(0x356)]+':'+_0x38cbc4[_0x59dd38(0x38e)]+':'+_0x38cbc4[_0x59dd38(0x335)]+'\x0a'+(((_0x19c375=_0x38cbc4[_0x59dd38(0x4f1)])==null?void 0x0:_0x19c375[_0x59dd38(0x277)])||''));};window[_0x38682d(0x1e8)](_0x38682d(0x4f1),_0x3be5d1),this[_0x38682d(0x2c5)](()=>{const _0x491954=_0x38682d;window[_0x491954(0x1e5)]('error',_0x3be5d1);});}['_initUnhandledRejectionListener'](){const _0x155bb7=_0x392691,_0x1675e1=_0x154e61=>{const _0x30f33b=_0x43cc;this[_0x30f33b(0x466)]('error',_0x30f33b(0x20b)+_0x154e61[_0x30f33b(0x2e0)]);};window[_0x155bb7(0x1e8)](_0x155bb7(0x3c7),_0x1675e1),this['disposeWithMe'](()=>{const _0x1a24b7=_0x155bb7;window[_0x1a24b7(0x1e5)](_0x1a24b7(0x3c7),_0x1675e1);});}[_0x392691(0x308)](){const _0x2c28c1=_0x392691,_0x2dcee2=this[_0x2c28c1(0x307)][_0x2c28c1(0x4f1)]['bind'](this[_0x2c28c1(0x307)]);this[_0x2c28c1(0x307)][_0x2c28c1(0x4f1)]=(..._0x46fa4d)=>{const _0x496aef=_0x2c28c1,_0x50e077=_0x46fa4d[_0x496aef(0x337)](_0x4ee718=>_0x4ee718 instanceof Error?_0x4ee718[_0x496aef(0x22b)]+'\x0a'+_0x4ee718[_0x496aef(0x277)]:String(_0x4ee718))['join']('\x20');this[_0x496aef(0x466)]('error','[LogService\x20Error]:\x20'+_0x50e077),_0x2dcee2(..._0x46fa4d);},this[_0x2c28c1(0x2c5)](()=>{const _0x554872=_0x2c28c1;this[_0x554872(0x307)][_0x554872(0x4f1)]=_0x2dcee2;});}[_0x392691(0x466)](_0x3e63d8,_0x45ed26){const _0x26cce8=_0x392691;try{const _0x462176={'userId':this[_0x26cce8(0x280)],'logLabel':_0x3e63d8,'content':_0x45ed26};this[_0x26cce8(0x21a)][_0x26cce8(0x252)](_0x26cce8(0x4d9),{'body':_0x462176})[_0x26cce8(0x1f0)](()=>{});}catch{}}};_0x2137b1=_0x2a0a87([_0x344db3(0x0,_0x2d11dc[_0x392691(0x36d)](_0x2d11dc[_0x392691(0x47d)])),_0x344db3(0x1,_0x2d11dc[_0x392691(0x36d)](_0x5a38fd[_0x392691(0x42b)])),_0x344db3(0x2,_0x2d11dc[_0x392691(0x4a1)]),_0x344db3(0x3,_0x2d11dc[_0x392691(0x36d)](_0xc712b5['CollaborationSessionService']))],_0x2137b1);var _0x38fd21=(_0x333f0d=>(_0x333f0d[_0x333f0d[_0x392691(0x366)]=0x0]='UNDEFINED',_0x333f0d[_0x333f0d['OK']=0x1]='OK',_0x333f0d[_0x333f0d[_0x392691(0x309)]=0x2]=_0x392691(0x309),_0x333f0d[_0x333f0d[_0x392691(0x3b8)]=0x3]=_0x392691(0x3b8),_0x333f0d[_0x333f0d[_0x392691(0x448)]=0x4]=_0x392691(0x448),_0x333f0d[_0x333f0d[_0x392691(0x473)]=0x5]=_0x392691(0x473),_0x333f0d[_0x333f0d[_0x392691(0x20a)]=0x6]='ALREADY_EXISTS',_0x333f0d[_0x333f0d[_0x392691(0x217)]=0x7]=_0x392691(0x217),_0x333f0d[_0x333f0d['TOO_MANY_REQUESTS']=0x8]=_0x392691(0x496),_0x333f0d[_0x333f0d[_0x392691(0x31e)]=0x9]='COMPLETION_FINISHED',_0x333f0d[_0x333f0d['LOGIN_FAILED']=0xa]=_0x392691(0x249),_0x333f0d[_0x333f0d[_0x392691(0x315)]=0xb]=_0x392691(0x315),_0x333f0d[_0x333f0d[_0x392691(0x31a)]=0xc]=_0x392691(0x31a),_0x333f0d[_0x333f0d['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x392691(0x20e),_0x333f0d[_0x333f0d['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x392691(0x203),_0x333f0d[_0x333f0d[_0x392691(0x341)]=0xf]=_0x392691(0x341),_0x333f0d[_0x333f0d[_0x392691(0x2b1)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x333f0d[_0x333f0d[_0x392691(0x2b5)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x333f0d[_0x333f0d[_0x392691(0x4bb)]=0x65]='ERROR_AGAIN',_0x333f0d[_0x333f0d[_0x392691(0x325)]=0xc9]=_0x392691(0x325),_0x333f0d[_0x333f0d[_0x392691(0x2b4)]=0xca]='USER_IS_ANONYMOUS',_0x333f0d[_0x333f0d[_0x392691(0x45f)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x333f0d[_0x333f0d['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x392691(0x2b9),_0x333f0d[_0x333f0d[_0x392691(0x45c)]=0x1772]=_0x392691(0x45c),_0x333f0d[_0x333f0d[_0x392691(0x219)]=0x1773]=_0x392691(0x219),_0x333f0d[_0x333f0d[_0x392691(0x294)]=0x1b59]=_0x392691(0x294),_0x333f0d[_0x333f0d['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x392691(0x44f),_0x333f0d[_0x333f0d['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x392691(0x4ce),_0x333f0d[_0x333f0d[_0x392691(0x2ff)]=0x1b5c]=_0x392691(0x2ff),_0x333f0d[_0x333f0d[_0x392691(0x46f)]=0x1b5d]=_0x392691(0x46f),_0x333f0d[_0x333f0d[_0x392691(0x2cd)]=0x1f41]=_0x392691(0x2cd),_0x333f0d[_0x333f0d['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x392691(0x433),_0x333f0d[_0x333f0d['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x392691(0x206),_0x333f0d[_0x333f0d[_0x392691(0x3ec)]=0x232b]=_0x392691(0x3ec),_0x333f0d[_0x333f0d['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x333f0d[_0x333f0d[_0x392691(0x4b0)]=0x232d]=_0x392691(0x4b0),_0x333f0d[_0x333f0d[_0x392691(0x3a3)]=0x2711]=_0x392691(0x3a3),_0x333f0d[_0x333f0d[_0x392691(0x3be)]=0x2712]=_0x392691(0x3be),_0x333f0d[_0x333f0d['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x392691(0x463),_0x333f0d[_0x333f0d[_0x392691(0x4b6)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x333f0d[_0x333f0d[_0x392691(0x4ef)]=0x271a]=_0x392691(0x4ef),_0x333f0d[_0x333f0d[_0x392691(0x2ee)]=0x271b]=_0x392691(0x2ee),_0x333f0d[_0x333f0d[_0x392691(0x478)]=0x271c]=_0x392691(0x478),_0x333f0d[_0x333f0d[_0x392691(0x1de)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x333f0d[_0x333f0d[_0x392691(0x266)]=0x271e]=_0x392691(0x266),_0x333f0d[_0x333f0d['YUUMI_AI_RUN_FAILED']=0x271f]=_0x392691(0x26f),_0x333f0d[_0x333f0d[_0x392691(0x3de)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x333f0d[_0x333f0d[_0x392691(0x292)]=0x2af9]=_0x392691(0x292),_0x333f0d[_0x333f0d[_0x392691(0x2da)]=0x2ee1]=_0x392691(0x2da),_0x333f0d[_0x333f0d['INVALID_INVITE_CODE']=0x2ee2]=_0x392691(0x43f),_0x333f0d[_0x333f0d[_0x392691(0x28f)]=0x2ee3]=_0x392691(0x28f),_0x333f0d[_0x333f0d[_0x392691(0x4eb)]=0x2ee4]=_0x392691(0x4eb),_0x333f0d[_0x333f0d[_0x392691(0x1f5)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x333f0d[_0x333f0d[_0x392691(0x428)]=0x32c9]=_0x392691(0x428),_0x333f0d[_0x333f0d[_0x392691(0x305)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x333f0d[_0x333f0d[_0x392691(0x2fd)]=0x32cb]=_0x392691(0x2fd),_0x333f0d[_0x333f0d['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x392691(0x31f),_0x333f0d[_0x333f0d[_0x392691(0x4d6)]=0x36b2]=_0x392691(0x4d6),_0x333f0d[_0x333f0d[_0x392691(0x1e1)]=0x36b3]=_0x392691(0x1e1),_0x333f0d[_0x333f0d['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x392691(0x3ac),_0x333f0d[_0x333f0d[_0x392691(0x271)]=0x36b5]=_0x392691(0x271),_0x333f0d[_0x333f0d[_0x392691(0x1e9)]=0x36b6]=_0x392691(0x1e9),_0x333f0d[_0x333f0d[_0x392691(0x3dc)]=0x36b7]=_0x392691(0x3dc),_0x333f0d[_0x333f0d[_0x392691(0x2a2)]=0x36b8]=_0x392691(0x2a2),_0x333f0d[_0x333f0d[_0x392691(0x41b)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x333f0d[_0x333f0d[_0x392691(0x312)]=0x3716]=_0x392691(0x312),_0x333f0d[_0x333f0d[_0x392691(0x267)]=0x3717]=_0x392691(0x267),_0x333f0d[_0x333f0d[_0x392691(0x331)]=0x37dd]=_0x392691(0x331),_0x333f0d[_0x333f0d[_0x392691(0x2b2)]=0x3a99]=_0x392691(0x2b2),_0x333f0d[_0x333f0d[_0x392691(0x4de)]=0x3a9a]=_0x392691(0x4de),_0x333f0d[_0x333f0d[_0x392691(0x434)]=0x3a9b]=_0x392691(0x434),_0x333f0d[_0x333f0d[_0x392691(0x4cf)]=0x3a9c]=_0x392691(0x4cf),_0x333f0d[_0x333f0d[_0x392691(0x4c2)]=0x3a9d]=_0x392691(0x4c2),_0x333f0d[_0x333f0d[_0x392691(0x2d4)]=0x3a9e]=_0x392691(0x2d4),_0x333f0d[_0x333f0d['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x392691(0x4f0),_0x333f0d[_0x333f0d[_0x392691(0x418)]=0x3e81]=_0x392691(0x418),_0x333f0d[_0x333f0d[_0x392691(0x4bc)]=-0x1]='UNRECOGNIZED',_0x333f0d))(_0x38fd21||{});function _0x2b5c02(_0x171914){const _0x15311d=_0x392691;var _0x1e3ebc,_0x9720fd;const _0x3d841e=(_0x1e3ebc=_0x171914[_0x15311d(0x28b)])==null?void 0x0:_0x1e3ebc[_0x15311d(0x36e)],_0x573a8b=((_0x9720fd=_0x171914[_0x15311d(0x28b)])==null?void 0x0:_0x9720fd['totalFormulasToCalculate'])||0x0;return _0x3d841e===_0x17936f[_0x15311d(0x232)][_0x15311d(0x4b7)]&&_0x573a8b>0x0;}function _0x8c7beb(_0x1ea6e8){const _0x3a3008=_0x392691;return _0x1ea6e8['functionsExecutedState']===_0x17936f[_0x3a3008(0x4dd)]['SUCCESS'];}var _0x4e5a7f=Object[_0x392691(0x39f)],_0x5287a4=(_0x4573ad,_0x24a40a,_0x7fe17e,_0x108503)=>{const _0x5f11fd=_0x392691;for(var _0x5ca37c=_0x108503>0x1?void 0x0:_0x108503?_0x4e5a7f(_0x24a40a,_0x7fe17e):_0x24a40a,_0xd4eb44=_0x4573ad[_0x5f11fd(0x30c)]-0x1,_0x1e04c4;_0xd4eb44>=0x0;_0xd4eb44--)(_0x1e04c4=_0x4573ad[_0xd4eb44])&&(_0x5ca37c=_0x1e04c4(_0x5ca37c)||_0x5ca37c);return _0x5ca37c;},_0x697519=(_0x22fb1c,_0x206319)=>(_0x65ecac,_0x3bba96)=>_0x206319(_0x65ecac,_0x3bba96,_0x22fb1c);const _0xbfd331=_0x392691(0x399),_0x3cf3e6=_0x392691(0x332),_0x56da87=_0x392691(0x3f0);let _0x538ef3=class extends _0x2d11dc[_0x392691(0x1e0)]{constructor(_0x2f84bf,_0x3dabcd,_0x5dce12,_0x20a484,_0x29480c,_0x2ed2ad,_0x56ae04){const _0xc2a4b0=_0x392691;super(),_0x4a3e10(this,'_pollingInterval',null),_0x4a3e10(this,'_maxFormulaLimit',0x0),_0x4a3e10(this,'_currentUsage',0x0),_0x4a3e10(this,'_taskIds',[]),_0x4a3e10(this,_0xc2a4b0(0x49b),0x0),(this[_0xc2a4b0(0x2c4)]=_0x2f84bf,this['_commandService']=_0x3dabcd,this['_configService']=_0x5dce12,this[_0xc2a4b0(0x21a)]=_0x20a484,this['_univerInstanceService']=_0x29480c,this[_0xc2a4b0(0x307)]=_0x2ed2ad,this[_0xc2a4b0(0x226)]=_0x56ae04,this[_0xc2a4b0(0x3e0)]());}[_0x392691(0x3e0)](){const _0x47401a=_0x392691;this[_0x47401a(0x2c5)](this[_0x47401a(0x3cf)]['beforeCommandExecuted']((_0x565d6d,_0xd8b055)=>{const _0x1706a4=_0x47401a;var _0x5d2690;if(_0x565d6d['id']!==_0x17936f[_0x1706a4(0x2a7)]['id'])return;const _0x3a84d9=_0x565d6d['params'];if(!this['_hasFormulaInDirtyRanges']((_0x5d2690=_0x3a84d9['dirtyRanges'])!=null?_0x5d2690:[]))return;if(!this[_0x1706a4(0x285)]())throw this[_0x1706a4(0x265)](_0x565d6d,_0xd8b055),this[_0x1706a4(0x2b6)](),new _0x2d11dc[(_0x1706a4(0x23d))]();})),this['disposeWithMe'](this[_0x47401a(0x3cf)][_0x47401a(0x1ee)]((_0xa38bff,_0x38a39a)=>{const _0x2274cf=_0x47401a;if(_0xa38bff['id']!==_0x17936f[_0x2274cf(0x3f7)]['id'])return;const _0x277e82=_0xa38bff[_0x2274cf(0x44a)];if(_0x2b5c02(_0x277e82)){const _0x12559e=_0x2d11dc[_0x2274cf(0x269)]();this[_0x2274cf(0x32e)][_0x2274cf(0x381)](_0x12559e),this['_startCalculationLimit'](_0x12559e);}else{if(_0x8c7beb(_0x277e82)&&this[_0x2274cf(0x32e)][_0x2274cf(0x30c)]>0x0){const _0x4828c3=this[_0x2274cf(0x32e)][_0x2274cf(0x45d)]();this['_releaseCalculationLimit'](_0x4828c3);}}}));}[_0x392691(0x2a5)](){const _0x2eb93e=_0x392691;super['dispose'](),this['_clearPolling'](),this[_0x2eb93e(0x32e)]=[],this[_0x2eb93e(0x1f1)]=0x0,this[_0x2eb93e(0x2e5)]=0x0,this[_0x2eb93e(0x49b)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x5b5db5,_0x5bf870){const _0x48d420=_0x392691;for(let _0x2c9d33=0x0;_0x2c9d33<0x1e;_0x2c9d33++)try{if(await this[_0x48d420(0x3a9)](),this[_0x48d420(0x285)]()){this[_0x48d420(0x3a8)](_0x5b5db5,_0x5bf870),this[_0x48d420(0x2c4)][_0x48d420(0x442)]({'content':this[_0x48d420(0x226)]['t'](_0x48d420(0x404)),'type':_0x1bfc45[_0x48d420(0x2de)]['Success']});return;}await new Promise(_0x50ecd1=>{const _0x24ec52=_0x48d420;this[_0x24ec52(0x413)]=window['setTimeout'](_0x50ecd1,0x3e8);});}catch(_0x225c9f){this[_0x48d420(0x307)][_0x48d420(0x4f1)](_0x225c9f);}this[_0x48d420(0x2c4)][_0x48d420(0x442)]({'content':this['_localeService']['t'](_0x48d420(0x4e5)),'type':_0x1bfc45['MessageType']['Error']});}[_0x392691(0x3a8)](_0x3af3f9,_0x231a49){const _0x36eeca=_0x392691;try{this[_0x36eeca(0x3cf)][_0x36eeca(0x373)](_0x3af3f9['id'],_0x3af3f9[_0x36eeca(0x44a)],_0x231a49);}catch(_0x5d0a96){this[_0x36eeca(0x307)][_0x36eeca(0x4f1)](_0x5d0a96);}}[_0x392691(0x3ef)](_0x2712b9,_0x5de3d0){const _0xeae0b6=_0x392691;_0x5de3d0<this[_0xeae0b6(0x49b)]||(this[_0xeae0b6(0x49b)]=_0x5de3d0,this[_0xeae0b6(0x2e5)]=Number[_0xeae0b6(0x361)](_0x2712b9[_0xeae0b6(0x4c6)]),this[_0xeae0b6(0x1f1)]=Number[_0xeae0b6(0x361)](_0x2712b9[_0xeae0b6(0x419)]));}async[_0x392691(0x223)](_0x2e5721){const _0x11b78d=_0x392691;var _0x4488e2,_0x4b4255;const _0x119ccf=Date['now']();try{const _0xc9b29e=((_0x4488e2=this['_configService'][_0x11b78d(0x36c)](_0xc712b5[_0x11b78d(0x4b8)]))==null?void 0x0:_0x4488e2[_0x11b78d(0x282)])||_0x3cf3e6,_0x2f6669=(await this[_0x11b78d(0x21a)][_0x11b78d(0x252)](_0xc9b29e,{'body':JSON[_0x11b78d(0x2e3)]({'taskId':_0x2e5721})}))[_0x11b78d(0x35e)];if(((_0x4b4255=_0x2f6669[_0x11b78d(0x4f1)])==null?void 0x0:_0x4b4255[_0x11b78d(0x445)])!==_0x38fd21['OK'])return;this[_0x11b78d(0x3ef)](_0x2f6669['limitInfo'],_0x119ccf);}catch(_0x7ce96c){this[_0x11b78d(0x307)][_0x11b78d(0x4f1)](_0x7ce96c);}}async['_getFormulaLimitStatus'](_0x22014e){const _0x490524=_0x392691;var _0x487c17,_0x16ee49;const _0x10ccc2=Date['now']();try{const _0x1852fe=((_0x487c17=this['_configService'][_0x490524(0x36c)](_0xc712b5[_0x490524(0x4b8)]))==null?void 0x0:_0x487c17[_0x490524(0x314)])||_0xbfd331,_0x3e5c20=_0x22014e?_0x1852fe+_0x490524(0x4c4)+encodeURIComponent(_0x22014e):_0x1852fe,_0x7cbaaa=(await this[_0x490524(0x21a)][_0x490524(0x2fe)](_0x3e5c20))[_0x490524(0x35e)];if(((_0x16ee49=_0x7cbaaa[_0x490524(0x4f1)])==null?void 0x0:_0x16ee49[_0x490524(0x445)])!==_0x38fd21['OK'])return;this['_setFormulaLimitStatus'](_0x7cbaaa['limitInfo'],_0x10ccc2);}catch(_0x1ccb60){this['_logService'][_0x490524(0x4f1)](_0x1ccb60);}}async[_0x392691(0x1f6)](_0x13944c){const _0x163b08=_0x392691;var _0x54766b,_0x23584f;const _0xba3919=Date['now']();try{const _0x140352=((_0x54766b=this['_configService']['getConfig'](_0xc712b5[_0x163b08(0x4b8)]))==null?void 0x0:_0x54766b[_0x163b08(0x242)])||_0x56da87,_0x2ef4da=(await this[_0x163b08(0x21a)][_0x163b08(0x252)](_0x140352,{'body':JSON[_0x163b08(0x2e3)]({'taskId':_0x13944c})}))['body'];if(((_0x23584f=_0x2ef4da[_0x163b08(0x4f1)])==null?void 0x0:_0x23584f[_0x163b08(0x445)])!==_0x38fd21['OK'])return;this[_0x163b08(0x3ef)](_0x2ef4da[_0x163b08(0x4ae)],_0xba3919);}catch(_0x19faf6){this[_0x163b08(0x307)][_0x163b08(0x4f1)](_0x19faf6);}}[_0x392691(0x285)](){const _0x16f60b=_0x392691;return this[_0x16f60b(0x2e5)]===0x0?!0x0:this[_0x16f60b(0x2e5)]-this[_0x16f60b(0x1f1)]>0x0;}[_0x392691(0x306)](){const _0x76497b=_0x392691;this[_0x76497b(0x413)]&&(clearTimeout(this['_pollingInterval']),this[_0x76497b(0x413)]=null);}[_0x392691(0x2b6)](){const _0x461770=_0x392691;this[_0x461770(0x2c4)][_0x461770(0x442)]({'content':this[_0x461770(0x226)]['t'](_0x461770(0x353)),'type':_0x1bfc45[_0x461770(0x2de)][_0x461770(0x49e)]});}[_0x392691(0x3e1)](_0x27601c){const _0x262724=_0x392691;for(const _0x4d0f27 of _0x27601c){const {unitId:_0x2b04c9,sheetId:_0x4c29a,range:_0xbc0e3d}=_0x4d0f27,_0x1d38ad=this[_0x262724(0x401)][_0x262724(0x27b)](_0x2b04c9);if(!_0x1d38ad)continue;const _0x21d585=_0x1d38ad[_0x262724(0x363)](_0x4c29a);if(!_0x21d585)continue;const _0x341224=_0x21d585['getCellMatrix']();for(let _0x595fd0=_0xbc0e3d['startRow'];_0x595fd0<=_0xbc0e3d[_0x262724(0x4b2)];_0x595fd0++)for(let _0xdc3dc4=_0xbc0e3d[_0x262724(0x46e)];_0xdc3dc4<=_0xbc0e3d['endColumn'];_0xdc3dc4++){const _0x343481=_0x341224[_0x262724(0x20c)](_0x595fd0,_0xdc3dc4);if(_0x343481&&(_0x2d11dc['isFormulaString'](_0x343481['f'])||_0x2d11dc['isFormulaId'](_0x343481['si'])))return!0x0;}}return!0x1;}};_0x538ef3=_0x5287a4([_0x697519(0x0,_0x2d11dc[_0x392691(0x36d)](_0x95a23a[_0x392691(0x2b0)])),_0x697519(0x1,_0x2d11dc['ICommandService']),_0x697519(0x2,_0x2d11dc[_0x392691(0x37c)]),_0x697519(0x3,_0x2d11dc['Inject'](_0x5a38fd[_0x392691(0x42b)])),_0x697519(0x4,_0x2d11dc['IUniverInstanceService']),_0x697519(0x5,_0x2d11dc[_0x392691(0x4a1)]),_0x697519(0x6,_0x2d11dc[_0x392691(0x36d)](_0x2d11dc['LocaleService']))],_0x538ef3);var _0x448dee=Object[_0x392691(0x39f)],_0x360fde=(_0x23e644,_0x3b15aa,_0x43b428,_0x576e33)=>{const _0x56f3db=_0x392691;for(var _0x13cfca=_0x576e33>0x1?void 0x0:_0x576e33?_0x448dee(_0x3b15aa,_0x43b428):_0x3b15aa,_0x2ba186=_0x23e644[_0x56f3db(0x30c)]-0x1,_0x18ab40;_0x2ba186>=0x0;_0x2ba186--)(_0x18ab40=_0x23e644[_0x2ba186])&&(_0x13cfca=_0x18ab40(_0x13cfca)||_0x13cfca);return _0x13cfca;},_0x37a402=(_0x201d0c,_0x4c1269)=>(_0x10a8c9,_0x29bb69)=>_0x4c1269(_0x10a8c9,_0x29bb69,_0x201d0c);let _0x4c1ed1=class extends _0x2d11dc[_0x392691(0x1e0)]{constructor(_0x531729,_0x2e90d5,_0x370e25){const _0x2975e6=_0x392691;super(),_0x4a3e10(this,_0x2975e6(0x46b),new Map()),_0x4a3e10(this,_0x2975e6(0x40a),new Map()),_0x4a3e10(this,'_disabled',!0x1),(this[_0x2975e6(0x499)]=_0x531729,this[_0x2975e6(0x4be)]=_0x2e90d5,this[_0x2975e6(0x2f4)]=_0x370e25);}[_0x392691(0x48d)](){const _0x1d7da1=_0x392691;this[_0x1d7da1(0x3a6)]=!0x0;}['enableLocalCache'](){const _0x422f44=_0x392691;this[_0x422f44(0x3a6)]=!0x1;}get[_0x392691(0x298)](){const _0x20c65a=_0x392691;return this[_0x20c65a(0x40a)];}['dispose'](){const _0x52977a=_0x392691;this[_0x52977a(0x349)]()[_0x52977a(0x258)](()=>super[_0x52977a(0x2a5)]());}async['loadOfflineData'](_0x26795e){const _0xd57861=_0x392691;return this[_0xd57861(0x3a6)]?null:this[_0xd57861(0x4be)][_0xd57861(0x320)](_0xc712b5[_0xd57861(0x210)](_0x26795e));}async[_0x392691(0x2c8)](_0xd3314d,_0x4ce9e9){const _0x442f06=_0x392691;return!!this['_localStorageService'][_0x442f06(0x22a)](_0xd3314d,_0x4ce9e9);}[_0x392691(0x212)](_0x48f8a5,_0x1573ed,_0x4bcda7,_0x5a1555){const _0x48b8f3=_0x392691,_0x25c3f9=this[_0x48b8f3(0x2f4)][_0x48b8f3(0x410)](_0x48f8a5);this['_cachedData'][_0x48b8f3(0x250)](_0x48f8a5,{'unitID':_0x48f8a5,'type':_0x1573ed,'awaitingChangeset':_0x4bcda7,'mutations':_0x5a1555,'rev':_0x25c3f9}),this['_saveTaskMap'][_0x48b8f3(0x4ab)](_0x48f8a5)||this['_scheduleSaving'](_0x48f8a5);}[_0x392691(0x1f4)](_0x2639ac){const _0x3075c9=_0x392691,_0x58fa90=this[_0x3075c9(0x1f3)]();_0x58fa90===0x0?this[_0x3075c9(0x3dd)](_0x2639ac):this[_0x3075c9(0x40a)][_0x3075c9(0x250)](_0x2639ac,setTimeout(()=>this[_0x3075c9(0x3dd)](_0x2639ac),_0x58fa90));}['_getSaveTimeout'](){const _0x3afe4f=_0x392691;var _0x59889e;return(_0x59889e=this[_0x3afe4f(0x499)][_0x3afe4f(0x36c)](_0xc712b5[_0x3afe4f(0x4d3)]))!=null?_0x59889e:_0xc712b5[_0x3afe4f(0x3eb)];}[_0x392691(0x3dd)](_0x2147a4){const _0x5a7635=_0x392691,_0x32badc=this[_0x5a7635(0x40a)][_0x5a7635(0x2fe)](_0x2147a4);return _0x32badc!==void 0x0&&window[_0x5a7635(0x201)](_0x32badc),this[_0x5a7635(0x4be)][_0x5a7635(0x22a)](_0xc712b5['getLocalCacheKey'](_0x2147a4),this[_0x5a7635(0x46b)][_0x5a7635(0x2fe)](_0x2147a4))[_0x5a7635(0x258)](()=>this[_0x5a7635(0x40a)][_0x5a7635(0x34b)](_0x2147a4));}async[_0x392691(0x349)](){const _0x5e6f67=[];this['_saveTaskMap']['forEach']((_0x4656ae,_0x564ee4)=>{const _0x3b6eb9=_0x43cc;window[_0x3b6eb9(0x201)](_0x4656ae),_0x5e6f67[_0x3b6eb9(0x381)](this[_0x3b6eb9(0x3dd)](_0x564ee4)['then'](()=>{const _0x1b886f=_0x3b6eb9;this[_0x1b886f(0x40a)][_0x1b886f(0x34b)](_0x564ee4);}));}),await Promise['all'](_0x5e6f67);}};_0x4c1ed1=_0x360fde([_0x37a402(0x0,_0x2d11dc[_0x392691(0x37c)]),_0x37a402(0x1,_0x2d11dc[_0x392691(0x2c1)]),_0x37a402(0x2,_0x2d11dc[_0x392691(0x36d)](_0x1509c8['RevisionService']))],_0x4c1ed1);class _0x9713ed extends _0x2d11dc[_0x392691(0x2bb)]{constructor(){const _0xe79d8b=_0x392691;super(),_0x4a3e10(this,'urlChange$'),this[_0xe79d8b(0x239)]=_0x433dcc[_0xe79d8b(0x47c)](window,_0xe79d8b(0x23e))[_0xe79d8b(0x38d)](_0x433dcc[_0xe79d8b(0x28c)](this[_0xe79d8b(0x1f8)]),_0x433dcc[_0xe79d8b(0x3f8)](0x1),_0x433dcc[_0xe79d8b(0x1e6)](void 0x0));}[_0x392691(0x25a)](_0x569ffc,_0x2068ca,_0x351cb7=!0x1){const _0x3116f7=_0x392691,_0x106622=new URL(window[_0x3116f7(0x357)]['href']);_0x106622[_0x3116f7(0x3a0)][_0x3116f7(0x250)](_0x569ffc,_0x2068ca),_0x351cb7?window[_0x3116f7(0x29d)][_0x3116f7(0x2c6)]('','',_0x106622[_0x3116f7(0x40b)]()):window['history']['pushState']('','',_0x106622[_0x3116f7(0x40b)]());}[_0x392691(0x3c9)](_0x47e2e8,_0x3a8060=!0x1){const _0x575951=_0x392691,_0x226b59=new URL(window[_0x575951(0x357)][_0x575951(0x48f)]);_0x226b59[_0x575951(0x3a0)]['delete'](_0x47e2e8),_0x3a8060?window[_0x575951(0x29d)]['replaceState']('','',_0x226b59[_0x575951(0x40b)]()):window[_0x575951(0x29d)][_0x575951(0x245)]('','',_0x226b59[_0x575951(0x40b)]());}[_0x392691(0x4ea)](_0x478298){const _0x41df9f=_0x392691;var _0x196ae1;return(_0x196ae1=new URL(window['location']['href'])['searchParams'][_0x41df9f(0x2fe)](_0x478298))!=null?_0x196ae1:void 0x0;}}var _0x33f469=Object[_0x392691(0x44d)],_0x1a20a7=Object[_0x392691(0x39f)],_0x2037a4=(_0x5603c9,_0x416638,_0x3950ab)=>_0x416638 in _0x5603c9?_0x33f469(_0x5603c9,_0x416638,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3950ab}):_0x5603c9[_0x416638]=_0x3950ab,_0x57abad=(_0x557e31,_0x2d75e4,_0x387bf9,_0x3140de)=>{const _0x47398c=_0x392691;for(var _0x3d3f11=_0x3140de>0x1?void 0x0:_0x3140de?_0x1a20a7(_0x2d75e4,_0x387bf9):_0x2d75e4,_0x156ddd=_0x557e31[_0x47398c(0x30c)]-0x1,_0x4b7a48;_0x156ddd>=0x0;_0x156ddd--)(_0x4b7a48=_0x557e31[_0x156ddd])&&(_0x3d3f11=_0x4b7a48(_0x3d3f11)||_0x3d3f11);return _0x3d3f11;},_0x2078a7=(_0x455544,_0x1e46c1)=>(_0x22ce6c,_0x1c2db6)=>_0x1e46c1(_0x22ce6c,_0x1c2db6,_0x455544),_0x5b0a82=(_0x356997,_0x1a30e0,_0x51f5fb)=>_0x2037a4(_0x356997,typeof _0x1a30e0!=_0x392691(0x30f)?_0x1a30e0+'':_0x1a30e0,_0x51f5fb);_0x2d9fff[_0x392691(0x402)]=class extends _0x2d11dc[_0x392691(0x20d)]{constructor(_0x42c619=_0x4e002a,_0x5e1ee3,_0x4b76d0,_0x7032a2){const _0x861fd=_0x392691;super(),this[_0x861fd(0x213)]=_0x42c619,this[_0x861fd(0x3e7)]=_0x5e1ee3,this[_0x861fd(0x248)]=_0x4b76d0,this[_0x861fd(0x499)]=_0x7032a2;const {..._0x7584db}=_0x2d11dc[_0x861fd(0x24d)]({},_0x4e002a,this[_0x861fd(0x213)]);this['_configService']['setConfig'](_0x34c500,_0x7584db);}[_0x392691(0x2e6)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x392691(0x326)](){const _0x18d1e2=_0x392691;this[_0x18d1e2(0x33b)]();}[_0x392691(0x3fe)](){const _0x90d246=_0x392691;var _0x80a5cb;const _0x300e6e=[[_0x478943],[_0x538ef3],[_0x32e2e9],[_0x2ae871],[_0x59057e],[_0x549909],[_0x2f7718,{'useClass':_0x9713ed}],[_0x5a38fd[_0x90d246(0x49c)],{'useClass':_0x5a38fd[_0x90d246(0x4bf)]}],[_0xc712b5[_0x90d246(0x3f5)],{'useClass':_0x4c1ed1}],[_0x2d9fff[_0x90d246(0x22f)]],[_0x4518ef],[_0x2647f1],[_0x3d0a15],[_0x147aca],[_0x2d9fff[_0x90d246(0x406)]]];this[_0x90d246(0x213)]['enableFrontendLog']&&_0x300e6e[_0x90d246(0x381)]([_0x2137b1]),_0x2d11dc[_0x90d246(0x4f2)](this[_0x90d246(0x248)],_0x2d11dc[_0x90d246(0x388)](_0x300e6e,(_0x80a5cb=this[_0x90d246(0x213)])==null?void 0x0:_0x80a5cb[_0x90d246(0x409)]));}[_0x392691(0x33b)](){const _0x38c20c=_0x392691;this[_0x38c20c(0x2c5)](this[_0x38c20c(0x3e7)][_0x38c20c(0x2a4)](_0x2d11dc[_0x38c20c(0x238)]['UNIVER_DOC'],[_0x872bc4])),this[_0x38c20c(0x2c5)](this[_0x38c20c(0x3e7)][_0x38c20c(0x2a4)](_0x2d11dc['UniverInstanceType'][_0x38c20c(0x3e2)],[_0x34444f]));}[_0x392691(0x45e)](){const _0x22dcb7=_0x392691;_0x2d11dc['touchDependencies'](this[_0x22dcb7(0x248)],[[_0x3d0a15],[_0x2d9fff[_0x22dcb7(0x22f)]],[_0x4518ef],[_0x2647f1],[_0x2d9fff[_0x22dcb7(0x406)]],[_0x538ef3]]),this[_0x22dcb7(0x213)]['enableFrontendLog']&&_0x2d11dc[_0x22dcb7(0x221)](this[_0x22dcb7(0x248)],[[_0x2137b1]]);}},_0x5b0a82(_0x2d9fff[_0x392691(0x402)],'pluginName',_0x392691(0x490)),_0x5b0a82(_0x2d9fff[_0x392691(0x402)],_0x392691(0x338),_0x5cab09[_0x392691(0x3c3)]),_0x5b0a82(_0x2d9fff[_0x392691(0x402)],_0x392691(0x1f7),_0x5cab09[_0x392691(0x1f7)]),_0x2d9fff[_0x392691(0x402)]=_0x57abad([_0x2d11dc[_0x392691(0x4d7)](_0xc712b5[_0x392691(0x21f)]),_0x2078a7(0x1,_0x371184[_0x392691(0x3ad)]),_0x2078a7(0x2,_0x2d11dc[_0x392691(0x36d)](_0x2d11dc[_0x392691(0x47d)])),_0x2078a7(0x3,_0x2d11dc[_0x392691(0x37c)])],_0x2d9fff[_0x392691(0x402)]);var _0x409863=Object[_0x392691(0x39f)],_0x5ee72a=(_0x5192a1,_0x3086bd,_0x2d0443,_0x2a7bec)=>{for(var _0x496f54=_0x2a7bec>0x1?void 0x0:_0x2a7bec?_0x409863(_0x3086bd,_0x2d0443):_0x3086bd,_0x3778cf=_0x5192a1['length']-0x1,_0xa59e5;_0x3778cf>=0x0;_0x3778cf--)(_0xa59e5=_0x5192a1[_0x3778cf])&&(_0x496f54=_0xa59e5(_0x496f54)||_0x496f54);return _0x496f54;},_0x5d3f29=(_0x138d44,_0xdeb745)=>(_0x606f3e,_0x31c313)=>_0xdeb745(_0x606f3e,_0x31c313,_0x138d44);_0x2d9fff[_0x392691(0x386)]=class extends _0xc712b5[_0x392691(0x486)]{constructor(_0x35c47b,_0x254aa3,_0x3b710f,_0x3e313f,_0x4ae1e6){super(_0x35c47b,_0x254aa3,_0x3b710f,_0x3e313f,_0x4ae1e6);}async[_0x392691(0x444)](_0x13a61f){const _0x2a57ea=_0x392691,_0xbc47e2=await this[_0x2a57ea(0x377)](),_0x2c5b11=this['_createSocketURL'](_0x13a61f,_0xbc47e2);return this[_0x2a57ea(0x4a2)](_0x2c5b11);}[_0x392691(0x400)](_0x2b603d,_0x4ad794){const _0x4c1926=_0x392691,_0x38b18c=typeof window>'u'?new URL(_0x2b603d):new URL(_0x2b603d,window['location'][_0x4c1926(0x4c3)]);_0x38b18c[_0x4c1926(0x3a0)]['set']('sessionTicket',_0x4ad794);const _0x25b872=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x4c1926(0x268)]);return _0x25b872['get'](_0x4c1926(0x3ed))&&_0x38b18c['searchParams']['set'](_0x4c1926(0x3ed),_0x25b872[_0x4c1926(0x2fe)](_0x4c1926(0x3ed))),_0x38b18c['toString']();}async[_0x392691(0x377)](){const _0x40f423=_0x392691;var _0x345c3d,_0xd17829,_0x58fc9b;const _0x228c9a=this[_0x40f423(0x499)][_0x40f423(0x36c)](_0xc712b5[_0x40f423(0x4b8)]),_0x182902=(_0x345c3d=_0x228c9a==null?void 0x0:_0x228c9a[_0x40f423(0x328)])!=null?_0x345c3d:_0xc712b5[_0x40f423(0x2f7)];return(_0x58fc9b=(_0xd17829=(await this['_httpService'][_0x40f423(0x2fe)](_0x182902,{'headers':{'Content-Type':_0x40f423(0x4df)}}))['body'])==null?void 0x0:_0xd17829[_0x40f423(0x3bd)])!=null?_0x58fc9b:'';}},_0x2d9fff[_0x392691(0x386)]=_0x5ee72a([_0x5d3f29(0x0,_0x2d11dc[_0x392691(0x36d)](_0x2d11dc[_0x392691(0x47d)])),_0x5d3f29(0x1,_0x2d11dc[_0x392691(0x36d)](_0x5a38fd['HTTPService'])),_0x5d3f29(0x2,_0x2d11dc[_0x392691(0x37c)]),_0x5d3f29(0x3,_0x2d11dc[_0x392691(0x4a1)]),_0x5d3f29(0x4,_0x1509c8[_0x392691(0x40f)])],_0x2d9fff['BrowserCollaborationSocketService']);var _0x106dc3=Object[_0x392691(0x39f)],_0x58ec89=(_0x5dd3da,_0x2f1307,_0x2f48de,_0x741edf)=>{for(var _0x39ad25=_0x741edf>0x1?void 0x0:_0x741edf?_0x106dc3(_0x2f1307,_0x2f48de):_0x2f1307,_0x592d43=_0x5dd3da['length']-0x1,_0x6de58b;_0x592d43>=0x0;_0x592d43--)(_0x6de58b=_0x5dd3da[_0x592d43])&&(_0x39ad25=_0x6de58b(_0x39ad25)||_0x39ad25);return _0x39ad25;},_0x28e23c=(_0x1c3dc8,_0x25f2b2)=>(_0xac733b,_0x1d0691)=>_0x25f2b2(_0xac733b,_0x1d0691,_0x1c3dc8);_0x2d9fff[_0x392691(0x40e)]=class extends _0x2d11dc['Disposable']{constructor(_0x3d895b,_0x286ddc,_0x3bd70c){const _0x59e29b=_0x392691;super(),this[_0x59e29b(0x4e6)]=_0x3d895b,this[_0x59e29b(0x21a)]=_0x286ddc,this[_0x59e29b(0x499)]=_0x3bd70c;}async[_0x392691(0x33d)](_0x4b8c59,_0x41127e,_0x3b6fbf,..._0x4cc513){const _0x2b501c=_0x392691;var _0x571756,_0x5e806c,_0x184730,_0xdf9178;const _0x5f0c0d=this[_0x2b501c(0x4e6)]['getFocusedUnit']();if(!_0x5f0c0d)throw new Error(_0x2b501c(0x351));const _0x269014=((_0x571756=this[_0x2b501c(0x499)][_0x2b501c(0x36c)](_0xc712b5[_0x2b501c(0x3ff)]))!=null?_0x571756:_0xc712b5[_0x2b501c(0x2d3)])+'/'+_0x4b8c59+_0x2b501c(0x224)+_0x41127e,_0x35ce23=new URL(window['location'][_0x2b501c(0x48f)]),_0x46deda={'scriptId':_0x4b8c59,'runId':(_0x5e806c=_0x35ce23[_0x2b501c(0x3a0)][_0x2b501c(0x2fe)]('runId'))!=null?_0x5e806c:'','function':_0x41127e,'unitId':_0x5f0c0d[_0x2b501c(0x33a)](),'argsOfFunction':JSON[_0x2b501c(0x2e3)](_0x4cc513),'invokeId':(_0x184730=_0x3b6fbf[_0x2b501c(0x2c9)])!=null?_0x184730:'','executionId':(_0xdf9178=_0x3b6fbf[_0x2b501c(0x1e2)])!=null?_0xdf9178:''};try{const _0x3e0157=await this[_0x2b501c(0x21a)]['post'](_0x269014,{'body':_0x46deda});return _0x3e0157[_0x2b501c(0x35e)][_0x2b501c(0x4f1)]&&_0x3e0157[_0x2b501c(0x35e)][_0x2b501c(0x4f1)][_0x2b501c(0x445)]!==_0x38fd21['OK']?_0x2b501c(0x398):_0x3e0157[_0x2b501c(0x35e)][_0x2b501c(0x2ac)];}catch{return'Failed';}}},_0x2d9fff['RemoteUniscriptService']=_0x58ec89([_0x28e23c(0x0,_0x2d11dc[_0x392691(0x27d)]),_0x28e23c(0x1,_0x2d11dc[_0x392691(0x36d)](_0x5a38fd[_0x392691(0x42b)])),_0x28e23c(0x2,_0x2d11dc[_0x392691(0x37c)])],_0x2d9fff[_0x392691(0x40e)]);const _0x278ef7=0x7530,_0x33bee2=_0x392691(0x3ae);class _0x5ce158 extends _0x2d11dc['Disposable']{constructor(){const _0x2b15f2=_0x392691;super(),_0x4a3e10(this,'_id',_0x2d11dc[_0x2b15f2(0x269)]()),_0x4a3e10(this,'_selfUnitIDs',new Set()),_0x4a3e10(this,_0x2b15f2(0x41a),new Map()),_0x4a3e10(this,'_heartbeatTimer',null),_0x4a3e10(this,'_clearOtherTimers',new Map()),_0x4a3e10(this,_0x2b15f2(0x313),new Map()),this[_0x2b15f2(0x411)]();}[_0x392691(0x2a5)](){const _0x56ed6b=_0x392691;super['dispose'](),this[_0x56ed6b(0x4cb)]['forEach']((_0x20ae0c,_0x73d182)=>this[_0x56ed6b(0x464)](_0x73d182)),this[_0x56ed6b(0x374)]&&window[_0x56ed6b(0x43e)](this[_0x56ed6b(0x374)]);}[_0x392691(0x2b3)](_0x3687e3){const _0x3f5c8d=_0x392691;return this[_0x3f5c8d(0x333)](_0x3687e3)[_0x3f5c8d(0x38d)](_0x433dcc[_0x3f5c8d(0x3b0)]());}[_0x392691(0x4a7)](_0x563ce7){const _0x5dcd86=_0x392691;this[_0x5dcd86(0x244)]['size']===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x5dcd86(0x4ac)](_0x563ce7),this[_0x5dcd86(0x4ed)]({'type':0x0,'memberID':this[_0x5dcd86(0x46c)],'unitIDs':[_0x563ce7],'isForwarded':!0x1});}[_0x392691(0x300)](_0xbccbb){const _0x6ca51b=_0x392691;this[_0x6ca51b(0x244)][_0x6ca51b(0x34b)](_0xbccbb),this[_0x6ca51b(0x244)][_0x6ca51b(0x299)]===0x0&&this['_heartbeatTimer']&&window[_0x6ca51b(0x43e)](this[_0x6ca51b(0x374)]);}[_0x392691(0x411)](){const _0x3aa773=_0x392691;this[_0x3aa773(0x2c5)](_0x2d11dc['toDisposable'](_0x433dcc[_0x3aa773(0x47c)](window,_0x3aa773(0x4dc))['subscribe'](_0x4410cb=>{const _0x32044f=_0x3aa773;if(_0x4410cb['key']!==_0x33bee2||!_0x4410cb[_0x32044f(0x342)])return;const _0x5c9894=JSON[_0x32044f(0x2d6)](_0x4410cb[_0x32044f(0x342)]);this[_0x32044f(0x2e9)](_0x5c9894);}))),window[_0x3aa773(0x1e8)](_0x3aa773(0x35a),()=>this['_send']({'type':0x1,'memberID':this[_0x3aa773(0x46c)],'unitIDs':Array[_0x3aa773(0x4d1)](this[_0x3aa773(0x244)])}));}[_0x392691(0x2e9)](_0x993b64){const _0x5aa644=_0x392691;switch(_0x993b64['type']){case 0x0:this[_0x5aa644(0x4b1)](_0x993b64);break;case 0x1:this['_handleLeaveEvent'](_0x993b64);break;case 0x2:this[_0x5aa644(0x2d7)](_0x993b64);break;}}[_0x392691(0x4b1)](_0x3f99c0){const _0x5937ff=_0x392691,{unitIDs:_0x551952,memberID:_0x2d9507,isForwarded:_0x3b9e84}=_0x3f99c0;_0x551952[_0x5937ff(0x34f)](_0x3fb29e=>{const _0x58487a=_0x5937ff;if(!_0x3b9e84&&this[_0x58487a(0x41a)][_0x58487a(0x4ab)](_0x3fb29e)&&this[_0x58487a(0x333)](_0x3fb29e)[_0x58487a(0x1fb)](_0xc712b5['UnitStatus'][_0x58487a(0x4ec)]),!this[_0x58487a(0x41a)][_0x58487a(0x4ab)](_0x3fb29e)||!this[_0x58487a(0x41a)]['get'](_0x3fb29e)['has'](_0x2d9507)){const _0x3a4e6f=this[_0x58487a(0x41a)][_0x58487a(0x2fe)](_0x3fb29e)||new Set();_0x3a4e6f[_0x58487a(0x4ac)](_0x2d9507),this['_unitOnClients']['set'](_0x3fb29e,_0x3a4e6f),this[_0x58487a(0x4bd)](_0x2d9507);}}),_0x3b9e84||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x5937ff(0x244)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x38bf00){const _0x3576ac=_0x392691;this[_0x3576ac(0x464)](_0x38bf00);const _0x4feb55=window[_0x3576ac(0x243)](()=>{const _0x31c478=_0x3576ac;this[_0x31c478(0x41a)]['forEach'](_0x1e39d9=>{const _0x18534a=_0x31c478;_0x1e39d9[_0x18534a(0x34b)](_0x38bf00);});},_0x278ef7*0x2);this[_0x3576ac(0x4cb)]['set'](_0x38bf00,_0x4feb55);}[_0x392691(0x464)](_0x343f89){const _0xf01231=_0x392691;if(this['_clearOtherTimers'][_0xf01231(0x4ab)](_0x343f89)){const _0x57d65b=this[_0xf01231(0x4cb)][_0xf01231(0x2fe)](_0x343f89);_0x57d65b&&window[_0xf01231(0x201)](_0x57d65b),this[_0xf01231(0x4cb)][_0xf01231(0x250)](_0x343f89,null);}}[_0x392691(0x37f)](_0x5cd156){const _0x1eddd3=_0x392691,{memberID:_0x4e40bb,unitIDs:_0x4e92e7}=_0x5cd156;_0x4e92e7['forEach'](_0x4e9c35=>{const _0x5f1c01=_0x43cc;var _0x3b9551;const _0x5709bd=this[_0x5f1c01(0x41a)][_0x5f1c01(0x2fe)](_0x4e9c35);_0x5709bd&&(_0x5709bd['delete'](_0x4e40bb),(_0x3b9551=this[_0x5f1c01(0x333)](_0x4e9c35))==null||_0x3b9551[_0x5f1c01(0x1fb)](_0x5709bd[_0x5f1c01(0x299)]===0x0?_0xc712b5[_0x5f1c01(0x350)][_0x5f1c01(0x4d4)]:_0xc712b5['UnitStatus'][_0x5f1c01(0x4ec)]));}),this[_0x1eddd3(0x464)](_0x4e40bb);}[_0x392691(0x2d7)](_0x4aaf98){const _0x72def0=_0x392691;this['_scheduleClearOtherTimer'](_0x4aaf98[_0x72def0(0x4b9)]);}[_0x392691(0x4ed)](_0x46f30c){const _0x5a1fa5=_0x392691;localStorage[_0x5a1fa5(0x22a)](_0x33bee2,JSON[_0x5a1fa5(0x2e3)](_0x46f30c));}[_0x392691(0x27e)](){const _0x46060b=_0x392691;this[_0x46060b(0x374)]=window[_0x46060b(0x3f1)](()=>{const _0x710d27=_0x46060b;this[_0x710d27(0x4ed)]({'type':0x2,'memberID':this[_0x710d27(0x46c)]});},_0x278ef7);}['_ensureSubject'](_0x1db953){const _0x1956df=_0x392691;return this[_0x1956df(0x313)]['has'](_0x1db953)||this[_0x1956df(0x313)][_0x1956df(0x250)](_0x1db953,new _0x433dcc[(_0x1956df(0x42a))](_0xc712b5[_0x1956df(0x350)][_0x1956df(0x4d4)])),this[_0x1956df(0x313)][_0x1956df(0x2fe)](_0x1db953);}}_0x2d9fff['IURLService']=_0x2f7718,_0x2d9fff[_0x392691(0x23f)]=_0x895cf0,_0x2d9fff[_0x392691(0x2f5)]=_0x5ce158,_0x2d9fff[_0x392691(0x3db)]=_0x9713ed,Object[_0x392691(0x44d)](_0x2d9fff,Symbol['toStringTag'],{'value':_0x392691(0x3f3)});}));function _0xa171(){const _0x1eb1b3=['SessionStatus','labelPosition','idSuffix','PERMISSION_DENIED','deserializeRangeWithSheet','CollaborationSessionService','yellow.400','getMemberID','ticket','YUUMI_URL_COL_OUT_OF_RANGE','...','getVpScrollXYInfoByPosToVp','useObservable','_getSheetObject','name','@univerjs/network','_updateCollabCursors','_transformService','unhandledrejection','rgb','removeParam','_getAnchorBounding','_docTransformStateCacheService','_initUnhandledRejectionListener','@univerjs/docs-ui','createInstance','_commandService','_docTransformIMECacheService','getSkeleton','setOffsetY','_cursor','attrs','getMember','_assignedColors','_cursorInfo$','type','_refreshCollabCursors','loadUnit','WebURLService','ENTITLE_COUPON_USED_UP','_saveCache','YUUMI_CONNECTOR_URL_NOT_FOUND','_colorAssignService','_initCommandInterceptor','_hasFormulaInDirtyRanges','UNIVER_SHEET','doc.mutation.rich-text-editing','4YppiTf','row','getSheetObject','_renderManagerService','_getScale','m1Prime','SOCKET_FAILED','LOCAL_CACHE_INTERVAL','LICENSE_IMPORT_SIZE_EXCEEDED','runId','@univerjs/sheets','_setFormulaLimitStatus','/universer-api/license/formula/limit/done','setInterval','docStateChange$','Module','_docStateChangeManagerService','ILocalCacheService','transformStateCache','SetFormulaCalculationNotificationMutation','shareReplay','_session','green.600','use','_render','with','_registerDependencies','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_createSocketURL','_univerInstanceService','UniverCollaborationClientUIPlugin','restore','formula.calculation.started','fillStyle','CollaborationDataLoaderController','getCellPositionByOffset','_startDocCollabCursor','override','_saveTaskMap','toString',',\x200.2)','getMergeData','RemoteUniscriptService','ISnapshotServerService','getCurrentRevOfUnit','_init','_range','_pollingInterval','UniverProCollaborationClient','_online','startsWith','@univerjs/engine-formula','DATA_SOURCE_TOO_LARGE','currentUsage','_unitOnClients','ENTITLE_CHAT_LIMIT_EXCEED','_document','skeleton','0.2)','@univerjs/core','collabStatus.conflict','_labelPosition','_themeService','init','TEXT_RANGE_LAYER_INDEX','slice','_name','_syncEditingCollabCursorService','WECHAT_HAS_BEEN_BOUND','permission.content','BehaviorSubject','HTTPService','_shapes','bottom','collab-text-range-','_onCursorDelete','defs','getStateCache','M0\x200H16V16H0z','LICENSE_MAX_UNITS_EXCEEDED','REDEMPTION_CODE_FULLY_REDEEMED','DataLoaderService','getColorFromTheme','univer-flex\x20univer-items-center','SetTextSelectionsOperation','@univerjs-pro/collaboration','handleIRemoveRow','url(#on-line-icon_clip0_910_349)','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','Warning','clearInterval','INVALID_INVITE_CODE','IImageIoService','redoState','show','_uiPartsService','createSocket','code','fromEventSubject','NOT_COLLAB','NOT_FOUND','transformIMECache','params','random','_docSkeleton','defineProperty','fill','APPLY_NON_SEQUENTIAL_REVISION','string','CollaborationUIEventService','onPointerMove$','56RAOySe','roomMembers$','UniverNetwork','getUndoRedoMutationParamsCache','InsertRangeMoveRightCommandId','entityInit$','round','debounce','endColumn','SNAPSHOT_HAS_BEEN_REMOVED','shift','_initDependencies','CHANGESET_REVISION_CONFILICT','_drawTextRange','setShapeProps','SetSelectionsOperation','YUUMI_RATE_OVER_LIMIT','_removeClearOtherTimer','RichTextEditingMutation','_uploadLog','[Window\x20Error]:\x20','handleDeleteRangeMoveLeft','registerBeforeClose','EffectRefRangId','_cachedData','_id','JOIN_ROOM_FAILED','startColumn','APPLY_DUPLICATED','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','Rectangle','_refRangeService','UNAUTHENTICATED','COLORS','handleMoveRange','OTHER_CLIENT_EDITING','_onRefRangeChange','YUUMI_TABLE_NOT_FOUND_IN_UNIT','collab-rect-range-','jsxs','startRow','fromEvent','Injector','getCurrentUnitForType','subscribe','isActive','FETCH_MISS','setAlpha','_initEvent','SheetSkeletonManagerService','jsx','CollaborationSocketService','unshift','SHEET_VIEWPORT_KEY','url(#$1','_transformPreviousActiveRange','setUndoRedoMutationParamsCache','current','disableLocalCache','function','href','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','debug','CONFLICT','TRANSFORM_CHANGE_OBSERVABLE_TYPE','CommandType','assignAColorForMemberID','TOO_MANY_REQUESTS','_initStatusListener','NodePositionConvertToCursor','_configService','cursorInfo','_lastResponseTimestamp','ISocketService','getRelativeToViewportCoord','Loading','color','_setupSubUnitSync','ILogService','_doCreateSocket','font','replace','getRenderById','@univerjs/rpc','editingUnit','data','contains','defIds','has','add','_drawRectRange','limitInfo','_imageIoService','LICENSE_DISTRO_REJECTED','_handleJoinEvent','endRow','forwardRef','@univerjs-pro/collaboration-client-ui','_dataLoaderService','YUUMI_SUBSCRIPTION_NOT_FOUND','START_CALCULATION','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','memberID','displayName','ERROR_AGAIN','UNRECOGNIZED','_scheduleClearOtherTimer','_localStorageService','WebSocketService','OFFLINE','DisposableCollection','REDEMPTION_USER_NOT_ELIGIBLE','origin','?taskId=','asObservable','maxFormulaLimit','MoveRangeCommandId','eventID','cursorInfo$','collabStatus.syncing','_clearOtherTimers','_colorIndex','653181KhAYiX','APPLY_REVISION_CONFILICT','REDEMPTION_CODE_NOT_STARTED','UniverEngineRender','from','filter','LOCAL_CACHE_INTERVAL_KEY','NO_OTHER_CLIENTS_EDITING','_blinkTimer','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','DependentOn','range','/universer-api/frontend/logs','hide','_entities','storage','FormulaExecutedStateType','REDEMPTION_CODE_INACTIVE','application/json','_highlight','jiqing.500','createElement','closePath','arc','formula.calculation.unable','_instanceService','blue.400','lineTo','source','getParam','USER_NOT_INVITED_CODE','OTHER_CLIENTS_EDITING','_send','1em','YUUMI_NO_CUBOID_FOR_QUESTION','REDEMPTION_CODE_HAS_BEEN_CREATED','error','registerDependencies','YUUMI_ALL_TABLES_IS_INVALID','_lastPointer','Disposable','ENTITLE_DUP_SUBSCRIPTION','executionId','getDocRanges','transformMutation','removeEventListener','mapTo','UPDATE_CURSOR','addEventListener','ENTITLE_COUPON_EXPIRED','white','collabStatus.notCollab','0\x200\x2016\x2016','Unknown\x20user','onCommandExecuted','@univerjs/sheets-ui','catch','_currentUsage','min','_getSaveTimeout','_scheduleSaving','INVITE_CODE_ALREADY_BOUND','_releaseCalculationLimit','version','dispose$','_transformUndoRedoStack','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','next','_collabCursorState$','_showText','_hovered','createIdentifier','textRanges','clearTimeout','IUIPartsService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','imageSourceType','runRefRangeMutations','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','CollaborationStatus','getOffsetConfig','findNodePositionByCharIndex','ALREADY_EXISTS','[Unhandled\x20Rejection]:\x20','getValue','Plugin','EMAIL_VERIFY_CODE_MISMATCH','unitId','getLocalCacheKey','setActiveRange','updateOfflineData','_config','_initWindowErrorListener','children','substring','INVALID_ARGUMENT','_cursors','ENSURE_SNAPSHOT_EXECUTION','_httpService','drawWith','transformMutationsWithChangeset','AWAITING','_backgroundColor','UniverCollaborationClientPlugin','3966700ZeoXwe','touchDependencies','_hideTimer','_startCalculationLimit','/run/','_initResize','_localeService','m2Prime','rgba','handleInsertRangeMoveRight','setItem','message','strokeWidth','undoState','_entityInit$','DesktopCollaborationStatusDisplayController','UNIVER_DOC','_urlService','FormulaExecuteStageType','_setupBeforeClosingHandler','VIEW_MAIN','_isBlinkVisible','UniverCore','ITransformService','UniverInstanceType','urlChange$','getCollabCursors$','on-line-icon','collabStatus.synced','CanceledError','popstate','SheetCollabCursorShape','none','DocSelectionManagerService','releaseFormulaLimitUrl','setTimeout','_selfUnitIDs','pushState','ThemeService','_sheetSkeletonManagerService','_injector','LOGIN_FAILED','sessionStatus$','addObject','_collaborationSessionService','merge','_getMergeRange','_toggleOffline','set','UniverDesign','post','operators','Shape','CollaborationController','_removeCollabCursors','flatMap','then','Optional','setParam','UniverUi','debounceTime','find','HEADER_MENU','_draw','collabCursorState$','beginPath','complete','CLOSE_ROOM','session.connection-failed','_checkAndWaitForCalculationPermission','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','ENTITLE_INSUFFICIENT_QUOTA','search','generateRandomId','evenodd','_startBlinking','getRangePointData','reconnect','_updateLocalCursor','YUUMI_AI_RUN_FAILED','currentColor','ENTITLE_INVALID_COUPON_CODE','_roomMembers$','_initStatusComponent','_blinkIntervalTimer','moveTo','_onCursorUpdate','stack','getUnhiddenWorksheets','isTransformMutationFailure','send','getUnit','replaceDocRanges','IUniverInstanceService','_scheduleHeartbeat','RegularPolygon','_memberID','fillText','startFormulaLimitUrl','Workbook','0\x200\x2017\x2016','_checkCalculationAvailable','throttleTime','_stopBlinking','subscribeEvent','USERS_LEAVE','session.collaboration-timeout','stageInfo','takeUntil','useRef','_initCommandExecutedListener','INVITE_CODE_REQUIRED','getActiveSheet','_transformHistoryAndStateStack','PY_RUNTIME_SCRIPT_ERROR','black','APPLY_REJECT','mask','ranges','SheetsSelectionsService','saveTaskMap','size','handleIRemoveCol','off-line-icon','[CollaborationDataLoaderController]','history','_startSheetCollabCursor','handleInsertRangeMoveDown','Vector2','_localCacheService','ENTITLE_USE_COUPON_NOT_1ST_TRADE','3662850vJIJBl','registerRenderModule','dispose','onPointerLeave$','SetFormulaCalculationStartMutation','_toggleOnline','univer-mr-2\x20univer-flex\x20univer-text-xl','Rect','path','result','React','isTransformMutationsWithChangesetSuccess','_hover','IMessageService','LOGIN_TOKEN_PROCESSING_FAILED','REDEMPTION_INVALID_CODE','getUnitStatus$','USER_IS_ANONYMOUS','CURRENT_STATUS_CANNOT_OPERATE','_showGuardMessage','DocStateChangeManagerService','_anchorDot','SNAPSHOT_INVALID_SNAPSHOT','RECT','RxDisposable','MUTATION','react','_collabCursorController','getColor','MemberService','ILocalStorageService','on-line-icon_clip0_910_349','column','_messageService','disposeWithMe','replaceState','getTypeOfUnitAdded$','saveOfflineData','invokeId','_collaborationController','TEXT','mutations','CONNECTOR_DATA_TOO_LARGE','onPointerEnter$','_eventUnsubscribe','_context','permission.title','194257MDXlEP','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','REDEMPTION_USER_REDEEM_TIMES_EXCEED','top','parse','_handleHeartbeatEvent','collaboration.single-unit.warning','_handleHover','INVITE_CODE_HAS_BEEN_UES','collab-client.tooltip.reconnect','_offsetY','getViewport','MessageType','0.17.0','reason','transformByState','currentSkeleton$','stringify','collaboration.offline-data-not-saved','_maxFormulaLimit','onStarting','DOC_RANGE_TYPE','SYNCED','_handleEvent','translate(.97)','combineLatest','registerRefRange','handleDeleteRangeMoveUp','YUUMI_ASYNCIO_CANCELLED','selection','event$','syncEditingCollabCursor','_docTransformSelectionsService','xlink:href','_revisionService','WebBrowserSingleActiveUnitService','url(#off-line-icon_clip0_910_343)','DEFAULT_WS_SESSION_TICKET_URL','tag','trim','IBeforeCloseService','_updateURLWithCurrentState','InsertColCommandId','EMAIL_HAS_BEEN_BOUND','get','APPLY_PERMISSION_DENIED','disposeUnit','CollaborationUIEventId','SOCKET_FAILED_RETRY','RemoveColCommandId','_docClipboardService','MOBILE_HAS_BEEN_BOUND','_clearPolling','_logService','_monkeyPatchLogService','INTERNAL_ERROR','entries','requireSession','length','isEditing','getTypeOfUnitDisposed$','symbol','InsertRangeMoveDownCommandId','955268ZBkSnS','ENTITLE_REPORT_LIMIT_EXCEED','_unitStatus','getFormulaLimitStatusUrl','MOBILE_VERIFY_CODE_MISMATCH','resize','clsx','off-line-icon_clip0_910_343','univerjs-icon\x20univerjs-icon-','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','deepClone','activeSheet$','onTransformChange$','COMPLETION_FINISHED','ENTITLE_CAN_NOT_BUY_LOWER_OTP','getItem','ColorKit','makeDirty','addHandlerCallback','AWAITING_WITH_PENDING','USER_NOT_FOUND','onRendered','CollaborationEvent','wsSessionTicketUrl','isArray','DocIMEInputManagerService','LocaleService','_docSkeletonManagerService','width','_taskIds','actions','BuiltInUIPart','ENTITLE_NEED_BILLING_ADDRESS','/universer-api/license/formula/limit/start','_ensureSubject','1443738xaSoNn','colno','transformRemoteChangeset','map','packageName','getActiveRange','getUnitId','_registerRenderDependencies','switchMap','runOnServer','values','fillRule','@univerjs/drawing','AUTHORIZE_CODE_ILLEGAL','newValue','_notificationService','onMouseMove','measureText','height','_updateSubUnitFromURLParams','rgba(255,\x20255,\x20255,\x200.01)','exhaustSavingTask','addObjects','delete','status$','UniverIcon','UniverDrawing','forEach','UnitStatus','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_collabSessionService','formula.calculation.waiting','text','highlight','filename','location','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_scene','unload','Subject','_anchor','subunit','body','highlightSecond','_status$','parseInt','unit','getSheetBySheetId','getFocusedUnit','getCoordByCell','UNDEFINED','SetWorksheetActivateCommand','DeleteRangeMoveUpCommandId','div','handleInsertRow','saveImage','getConfig','Inject','stage','engine','showText','hovered','clipPath','executeCommand','_heartbeatTimer','_highlightSecond','getAncestorScale','_getSessionTicket','rxjs','_drawAnchor','UniverSheetsUi','ONLINE','IConfigService','UniverProCollaborationClientUi','_textBubble','_handleLeaveEvent','whenReady','push','colorChannel1','_cursorShapes','offsetY','@univerjs/engine-render','BrowserCollaborationSocketService','roomMembers','mergeOverrideWithDependencies','PENDING','_docSyncEditingCollabCursorService','triggerDblclick','_color','pipe','lineno','unsubscribe','includes','unitID','UniverSheets','red.300','currentTheme$','Error','Tools','UniverDocs','Failed','/universer-api/license/formula/limit/status','getCurrentSelections','toDisposable','split','getSheetId','_memberService','getOwnPropertyDescriptor','searchParams','_collaborationUIEventService','useCallback','YUUMI_UNABLE_LOAD_URL','save','Tooltip','_disabled','session.will-retry','_applyCommand','_getFormulaLimitStatus','ICommandService','transformSelections','PAYMENT_CHANNEL_NOT_SUPPORT','IRenderManagerService','ACTIVE_UNIT_EVENT_CHANNEL','FromArray','distinctUntilChanged','26883684PWqsFs','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','collabStatus.offline','rgba('];_0xa171=function(){return _0x1eb1b3;};return _0xa171();}
9
9
 
10
10
  // @univerjs-pro/collaboration-client-ui/facade
11
- function _0x3b59(){var _0x4a375d=['amd','1233594eGvrpz','654MTRvMt','function','108843Jdgbia','UniverCoreFacade','extend','291120yudgsD','RemoteUniscriptService','4613610kjcTNF','42911HAiGNI','_injector','@univerjs-pro/collaboration-client-ui','UniverProCollaborationClientUi','runOnServer','FUniver','9605408HoKmBR','get','object','15742863FvwOLt','4jzpvvi','62VCcFTQ'];_0x3b59=function(){return _0x4a375d;};return _0x3b59();}function _0x34c5(_0x40f0c3,_0x154c4f){_0x40f0c3=_0x40f0c3-0xcd;var _0x3b59ea=_0x3b59();var _0x34c52c=_0x3b59ea[_0x40f0c3];return _0x34c52c;}(function(_0x515d3d,_0x1a0ebf){var _0x18785b=_0x34c5,_0x263eaa=_0x515d3d();while(!![]){try{var _0x4d729c=-parseInt(_0x18785b(0xce))/0x1*(parseInt(_0x18785b(0xd9))/0x2)+-parseInt(_0x18785b(0xdb))/0x3+-parseInt(_0x18785b(0xd8))/0x4*(parseInt(_0x18785b(0xe1))/0x5)+-parseInt(_0x18785b(0xdc))/0x6*(-parseInt(_0x18785b(0xde))/0x7)+-parseInt(_0x18785b(0xd4))/0x8+parseInt(_0x18785b(0xd7))/0x9+parseInt(_0x18785b(0xcd))/0xa;if(_0x4d729c===_0x1a0ebf)break;else _0x263eaa['push'](_0x263eaa['shift']());}catch(_0x176d20){_0x263eaa['push'](_0x263eaa['shift']());}}}(_0x3b59,0xdcf6e),function(_0x35c1ee,_0x51e4b2){var _0x1d5cdc=_0x34c5;typeof exports==_0x1d5cdc(0xd6)&&typeof module<'u'?_0x51e4b2(require('@univerjs-pro/collaboration-client-ui'),require('@univerjs/core/facade')):typeof define==_0x1d5cdc(0xdd)&&define[_0x1d5cdc(0xda)]?define([_0x1d5cdc(0xd0),'@univerjs/core/facade'],_0x51e4b2):(_0x35c1ee=typeof globalThis<'u'?globalThis:_0x35c1ee||self,_0x51e4b2(_0x35c1ee[_0x1d5cdc(0xd1)],_0x35c1ee[_0x1d5cdc(0xdf)]));}(this,function(_0x3c7846,_0x3c6f4b){'use strict';var _0x2a90fb=_0x34c5;class _0xfde1ec extends _0x3c6f4b[_0x2a90fb(0xd3)]{['runOnServer'](_0xc496b4,_0x33c065,..._0x54c4e6){var _0x408bea=_0x2a90fb;return this[_0x408bea(0xcf)][_0x408bea(0xd5)](_0x3c7846[_0x408bea(0xe2)])[_0x408bea(0xd2)](_0xc496b4,_0x33c065,{},..._0x54c4e6);}}_0x3c6f4b[_0x2a90fb(0xd3)][_0x2a90fb(0xe0)](_0xfde1ec);}));
11
+ (function(_0x5b84e3,_0x44a581){var _0x39edc6=_0x4b50,_0x57763f=_0x5b84e3();while(!![]){try{var _0x30a022=-parseInt(_0x39edc6(0x175))/0x1*(parseInt(_0x39edc6(0x174))/0x2)+parseInt(_0x39edc6(0x163))/0x3+-parseInt(_0x39edc6(0x165))/0x4*(-parseInt(_0x39edc6(0x177))/0x5)+parseInt(_0x39edc6(0x172))/0x6*(-parseInt(_0x39edc6(0x167))/0x7)+-parseInt(_0x39edc6(0x173))/0x8+-parseInt(_0x39edc6(0x169))/0x9*(parseInt(_0x39edc6(0x16d))/0xa)+-parseInt(_0x39edc6(0x16a))/0xb*(-parseInt(_0x39edc6(0x171))/0xc);if(_0x30a022===_0x44a581)break;else _0x57763f['push'](_0x57763f['shift']());}catch(_0x21ae4c){_0x57763f['push'](_0x57763f['shift']());}}}(_0x3e60,0x5dbdd),function(_0x39ff44,_0x1bfe87){var _0x12b3f3=_0x4b50;typeof exports==_0x12b3f3(0x166)&&typeof module<'u'?_0x1bfe87(require('@univerjs-pro/collaboration-client-ui'),require('@univerjs/core/facade')):typeof define==_0x12b3f3(0x16c)&&define[_0x12b3f3(0x16b)]?define([_0x12b3f3(0x179),_0x12b3f3(0x168)],_0x1bfe87):(_0x39ff44=typeof globalThis<'u'?globalThis:_0x39ff44||self,_0x1bfe87(_0x39ff44['UniverProCollaborationClientUi'],_0x39ff44[_0x12b3f3(0x178)]));}(this,function(_0x55250a,_0x264757){'use strict';var _0x20a958=_0x4b50;class _0x56c759 extends _0x264757[_0x20a958(0x164)]{[_0x20a958(0x170)](_0x4b32f4,_0x365709,..._0x3bf21e){var _0x283f3f=_0x20a958;return this[_0x283f3f(0x16f)][_0x283f3f(0x176)](_0x55250a[_0x283f3f(0x16e)])[_0x283f3f(0x170)](_0x4b32f4,_0x365709,{},..._0x3bf21e);}}_0x264757[_0x20a958(0x164)]['extend'](_0x56c759);}));function _0x4b50(_0x297cbc,_0x33a204){_0x297cbc=_0x297cbc-0x163;var _0x3e60aa=_0x3e60();var _0x4b509d=_0x3e60aa[_0x297cbc];return _0x4b509d;}function _0x3e60(){var _0x524892=['396898zWNFFP','3BzyKas','get','5IWMStO','UniverCoreFacade','@univerjs-pro/collaboration-client-ui','852966AKgLtJ','FUniver','2173924ffLzNl','object','1767815mxIuWY','@univerjs/core/facade','381447KblTBV','22kuHRzE','amd','function','70oHPzdF','RemoteUniscriptService','_injector','runOnServer','4581576adIrvR','6hVuPpf','502888parjTI'];_0x3e60=function(){return _0x524892;};return _0x3e60();}
12
12
 
13
13
  // index
14
14
  (function(e,i){typeof exports=="object"&&typeof module<"u"?i(exports,require("@univerjs-pro/collaboration"),require("@univerjs-pro/collaboration-client"),require("@univerjs-pro/collaboration-client-ui"),require("@univerjs-pro/collaboration-client/lib/facade")):typeof define=="function"&&define.amd?define(["exports","@univerjs-pro/collaboration","@univerjs-pro/collaboration-client","@univerjs-pro/collaboration-client-ui","@univerjs-pro/collaboration-client/lib/facade"],i):(e=typeof globalThis<"u"?globalThis:e||self,i(e.UniverPresetDocsCollaboration={},e.UniverProCollaboration,e.UniverProCollaborationClient,e.UniverProCollaborationClientUi))})(this,(function(e,i,l,t){"use strict";function a(n){const r=new URL(n,window.location.origin);switch(r.protocol){case"https:":r.protocol="wss:";break;case"http:":r.protocol="ws:";break}return r.toString()}function s(n={}){const{universerEndpoint:r}=n,o=r!=null?r:`${window.location.protocol}//${window.location.host}`;return{plugins:[i.UniverCollaborationPlugin,[l.UniverCollaborationClientPlugin,{socketService:t.BrowserCollaborationSocketService,enableOfflineEditing:!0,enableSingleActiveInstanceLock:!0,enableAuthServer:!0,authzUrl:`${o}/universer-api/authz`,snapshotServerUrl:`${o}/universer-api/snapshot`,collabSubmitChangesetUrl:`${o}/universer-api/comb`,collabWebSocketUrl:a(`${o}/universer-api/comb/connect`),loginUrlKey:`${o}/universer-api/oidc/authpage`,uploadFileServerUrl:`${o}/universer-api/stream/file/upload`,signUrlServerUrl:`${o}/universer-api/file/{fileID}/sign-url`,downloadEndpointUrl:`${o}/`,wsSessionTicketUrl:`${o}/universer-api/user/session-ticket`,sendChangesetTimeout:200}],t.UniverCollaborationClientUIPlugin]}}e.UniverDocsCollaborationPreset=s,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}));