@univerjs/preset-docs-collaboration 0.16.1 → 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 _0x3662(_0x33e309,_0x123bed){_0x33e309=_0x33e309-0x115;var _0x43079e=_0x4307();var _0x366268=_0x43079e[_0x33e309];return _0x366268;}function _0x4307(){var _0x31519a=['_event$','HEARTBEAT_TIMEOUT_KEY','RETRY_CONNECTING_MAX_COUNT','amd','FETCH_MISS','transformStack\x20failed!','onSendChangeset','conflict','_reverseMap','state$','_transformSelections','getTypeOfUnitDisposed$','Latin1','fromCollab','_showConflictNotification','_cipher','1556907HydDoQ','UniverDrawing','closeSession','$super','PERMISSION_DENIED','ONLINE','_status$','_candidateSocket','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','now','_mode','join','POST','reqId','_incrementRevisionNumber','Optional','from','state','unitID','parseChangesetToProtocol','_schedule','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_iKey','getSheetBlock','PendingState','/universer-api/file/{fileID}/sign-url','sid','find','pauseCollaboration','onlyLocal','WorkbookEditablePermission','UNIVER_SLIDE','_throwTelemetryCollaborationNewChangeset','reconnect','BehaviorSubject','onRemoteAck','JSONX','SUCCUSS','focused$','BlockCipherMode','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','HEARTBEAT_INTERVAL_KEY','_awaitingChangeset','hasOwnProperty','\x0aAfter:\x20','m2Prime','_clearCollaborationTimeoutTimer','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','/universer-api/comb','JOIN_ROOM_PERMISSION_DENIED','data','_onRemoteACK','AuthzIoHttpService','EMAIL_HAS_BEEN_BOUND','defineProperty','CHANGESET_REJ','EmptyMutationInfo','permissionRejEvent','createInstance','_createHelper','SheetsSelectionsService','_collabSessionService','readAsDataURL','_sheetTransformSelectionsService','_doFinalize','collaboration-client.config','_unlockTransition','RETRY_CONNECTING_MAX_COUNT_KEY','byteLength','FETCH_MISSING','AWAITING_WITH_PENDING','SetSelectionsOperation','_initUnitPermissionChange','send','SOCKET_FAILED_RETRY','objectActions','_substituteRedoStack','_retryCount','session.room-cnt-exceeds','INVALID_ARGUMENT','toStringTag','Cipher','_getAPIPrefix','onTransformSelections','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','APPLY_REJECT','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','csShouldRetryEvent','ITransformService','_config','[CollaborationEntity]','stopTime','EvpKDF','function','copyFileMeta','ws://127.0.0.1:8000/universer-api/comb/connect','HTTPService','CHANGESET_ACK','HEARTBEAT_TIMEOUT','name','textEncoder','@univerjs/network','ImageSourceType','touchDependencies','getLatestCsReqIdBySid','asObservable','Failed\x20to\x20update\x20permission\x20point','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','UNRECOGNIZED','_eventService','SNAPSHOT_URL_KEY','initWorkbookPermissionChange','INTERNAL_ERROR','14733GNKAoX','Undefined','OFFLINE','_applyRemoteChangeset','WordArray','awaitingChangeset','every','stringify','_createHmacHelper','getCurrentSelections','LIVESHARE_FETCH_OPERATIONS','liveShareOperation','apply','_toggleOnline','_roomMembers','_change$','LEAVE','LIVESHARE_REQUEST_HOST','post','_updateLocalCache','hasher','UniverDocs','replace','_transitionLocked','unitId\x20is\x20not\x20found','_transformStack','Quantity','_onUserJoin','_singleActiveUnitService','ENTITLE_NEED_BILLING_ADDRESS','SUBMIT_CHANGESET_TIMEOUT','HttpExport','min','forEach','location','onRemoteRetry','unitId','_getRedoStack','UNIVER_PROJECT','MUTATION','responseType','_getLoginPath','_clearScheduledTask','ENTITLE_COUPON_EXPIRED','FAIL','dispose','Encryptor','ENTITLE_DUP_SUBSCRIPTION','_telemetryService','_rescheduleHeartbeat','NOT_FOUND','ISocketService','max','close$','_stopTelemetryCollaborationNewChangeset','_collaborationPaused','SNAPSHOT_HAS_BEEN_REMOVED','_invKeySchedule','_queuedRemoteChangesets','SHA1','enc','b64DecodeUnicode','shareReplay','ICollaborationSocketService','ERROR_IMAGE_TYPE','error$','save\x20fail\x20reason\x20is\x20','capture','getTime','init','createSocket','FetchingMissState','_exhaustRemoteChangesetQueue','RichTextEditingMutation','resolve','revision','slice','keySize','uniscriptRunEvent','@univerjs/sheets','MD5','merge','sequenceExecute','_networkConditionService','_startTelemetryCollaborationNewChangeset','_permissionService','has','selections','SUBMIT_CHANGESET','processBlock','_handlerCallback','_map','[PendingState]:\x20received\x20acknowledgement.','image/jpeg','length','authzUrl','NEW_CHANGESETS','/universer-api/stream/file/upload','Utf8','submit\x20changeset\x20error!','_createInitialStateImpl','debug','UNIVER_UNKNOWN','DEFAULT_WS_SESSION_TICKET_URL','crypto','method','editing\x20status\x20changed\x20to','changesets','ConflictState','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','extend','_revisionService','encryptBlock','CLOSE_ROOM','AwaitingWithPendingState','batchAllowed','actions','CommandType','Error\x20on\x20receiving\x20event','resolveWithBasePath','_nRounds','CommentService','snapshotServerUrl','_getSignURL','USERS_ENTER','PERMISSION_REJ','objectID','LICENSE_EXPORT_SIZE_EXCEEDED','getCollabEntity$','CollaborationEvent','_initRequestHeader','Disposable','ISnapshotServerService','Plugin','originalMeta','_getAPIPrefixPath','ENTITLE_CAN_NOT_BUY_LOWER_OTP','CollaborationEntity','_clearRedo','_key','unsubscribe','status','joinRsp','getConfig','getCurrentUser','[CollaborationSessionService]','Injector','_doCryptBlock','UNIVER_DOC','_waitForHeartbeatResponse','memberID','UNKNOWN_CMD','WECHAT_HAS_BEEN_BOUND','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','parseProtocolChangeset','YUUMI_RATE_OVER_LIMIT','uploadFileServerUrl','fetchMissingChangesets','loadDoc','ERROR_EXCEED_SIZE','\x20-\x20','SheetCollaborationEntity','textRanges','_removeRoom','blockSize','[CollaborationUndoRedoService]','INVITE_CODE_HAS_BEEN_UES','_transformIMECache','HEARTBEAT_INTERVAL','editingUnit','rxjs/operators','UPDATE_PERMISSION_OBJ','deepClone','getRandomValues','online$','ImageUploadStatusType','IPermissionService','IUndoRedoService','clone','_clearLocalCache','default','size','then','CollaborationStatus','LIVESHARE_OPERATION','Hex','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','REDEMPTION_CODE_FULLY_REDEEMED','_decreaseWaiting','getCurrentRevOfUnit','IUniverInstanceService','_createHandler','addHandlerCallback','_type','JOIN_ROOM_NOT_EXISTS','getUnitId','_onLocalMutation','COMPLETION_FINISHED','_initCloseConn','_compressMutationService','INVITE_CODE_ALREADY_BOUND','random','_changesetSessionId','LICENSE_IMPORT_SIZE_EXCEEDED','/allowed','mixIn','create','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','AES','session','LIVESHARE_NEW_HOST','createDecryptor','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_state','/role','_nDataBytes','object','reduce','not_collab','_remoteChangesetQueue','splice','_oKey','Inject','_hash','/object/','saveChangeset','string','getUnitStatus$','SOCKET_FAILED','status$','workbook','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','__splitChunk__','16540twArjU','_checkMissing','update','call','USERS_LEAVE','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','/fetchmissing?from=','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','onStarting','_scheduleCollaborationTimeoutTimer','UniverInstanceType','format','ENTITLE_REPORT_LIMIT_EXCEED','url','CHANGESET_SHOULD_RETRY','_replayCachedMutations','complete','toggleOnline','UniverNetwork','commentUpdateEvent','routeKey','onCommentUpdate','_localeService','_entities','MSG_FOR_ERROR','\x20in\x20_schedule.','duration','compute','SHOULD_CLOSE_CONN','UnitSnapshot','updateCursorEvent','add','People','ALREADY_EXISTS','PY_RUNTIME_SCRIPT_ERROR','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','univer-pro.collaboration-client-socket-service','_clearHeartbeatTimer','findIndex','prototype','_emitMembers','formatter','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','StreamCipher','_doProcessBlock','_sendingTimer','finalize','padding','lib','[CollaborationSession]','deserializeToCombResponse','_onJoinRoomEvent','_socketReady','_acknowledgedAwaitingChangeset','AUTHORIZE_CODE_ILLEGAL','REDEMPTION_CODE_HAS_BEEN_CREATED','AwaitingState','CollaborativeUndoRedoService','saveSheetBlock','enableAuthServer','_updateState','Tools','roles','mode','[OfflineState]:\x20received\x20acknowledgement.','range','event$','algo','_ENC_XFORM_MODE','loadUnitOfRevision','REDEMPTION_CODE_INACTIVE','params','INGEST','emitEvent','_pendingMutations','SnapshotService','getWorkbookSelections','loadUnit','univer-pro.collaboration-client.network-condition.service','OpenSSL','onTransformRemoteChangesetByIMECache','PSEUDO_FETCH_MISSING_RESULT','EMAIL_VERIFY_CODE_MISMATCH','NoPadding','csAckEvent','getLocalCacheKey','_members$','/universer-api/snapshot','mergeOverrideWithDependencies','action','allowed','collaboration_new_changeset','open$','_minBufferSize','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_updateStatus','result','Malformed\x20UTF-8\x20data','_sessions','Decryptor','/block/','executeCommand','delete','mapDocumentTypeToUniverType','_resendTimeout','catch','CONNECTOR_DATA_TOO_LARGE','ERROR_IMAGE','UniverCore','filter','DisposableCollection','salt','saveSnapshot','CollaborationSessionService','toString','_onConnectionOpen','isArray','INVITE_CODE_REQUIRED','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','collaMsg','UniverCollaborationPlugin','sessionStatus$','ReplaySubject','_httpService','SNAPSHOT_INVALID_SNAPSHOT','_changesetReqId','ThresholdInterceptorFactory','UNKNOWN_CODE','_clearUndo','_tryReconnect','session.room-permission-denied','UniverCollaborationClientPlugin','_snapshotServerService','[OfflineState]:\x20received\x20changeset.','_shouldReportTelemetry','__esModule','YUUMI_URL_COL_OUT_OF_RANGE','_onMessage','MentionIoHttpService','map','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','ClipsheetFragments','_collaborationUIEventService','removeMember','decrypt','substr','change$','fetching\x20missing\x20changesets\x20from\x20','DependentOn','disposeWithMe','delay','_onFetchMissResult','awaiting','_registerDependencies','ciphertext','AWAITING','updateOfflineData','Workbook','telemetry\x20info\x20is\x20not\x20initialized','UNIVER_SHEET','refreshPermission','ENTITLE_CHAT_LIMIT_EXCEED','fromCharCode','ISingleActiveUnitService','getInterceptPoints','_onRecvEvent','onRemoteChangeset','retryConnectingInterval','UnitStatus','_state$','getSnapshotAPIPath','_onRemoteRejected','session.room-full','transformChangesets','?size=','/universer-api/snapshot/','ENTITLE_USE_COUPON_NOT_1ST_TRADE','byteOffset','pad','title','execute','SheetPermissionInitController','collaboratorID','reject','HEARTBEAT','interceptor','target','REDEMPTION_CODE_NOT_STARTED','LOCAL_CACHE_INTERVAL','ivSize','LIVESHARE_TERMINATE','_createSocket','registerHTTPInterceptor','loadSheet','_collaborationTimeoutTimer','_replaceFileID','indexOf','transformUndoRedo','JOINING','encrypt','UNISCRIPT_RUN','get','IConfigService','disableLocalCache','pipe','LICENSE_MAX_UNITS_EXCEEDED','encodeURIComponent','SYNCED','UserManagerService','_createInitialState','decryptBlock','_doCreateSocket','OTHER_CLIENT_EDITING','offline','IDLE','collaborators','collabWebSocketUrl','\x20to\x20','_doReset','MOBILE_VERIFY_CODE_MISMATCH','43019750Hzzbzi','charCodeAt','_waitCount','_resendTimer','listCollaborators','_instanceService','DEFAULT_FILE_NAME','onStateChange','toggleOffline','LocaleService','_lockTransition','getGlobalObject','ILocalCacheService','socket\x20open.','APPLY_DUPLICATED','exports','[PendingState]:\x20received\x20rejection.','_socket$','firstValueFrom','charAt','readyForCollab','_parse','_configService','getOwnPropertyDescriptor','_syncEditingCollabCursor','_maxTotalRetryTimeout','rev','parse','withCredentials','CompressMutationService','CollaborationController','take','DATA_SOURCE_TOO_LARGE','_submitChangeset','c1Prime','newCsEvent','_members','uuidv4','_onConnectionFailed','takeUntil','connection\x20error','380rxaMkp','objectType','LICENSE_DISTRO_REJECTED','Base64','getSheetId','onTransformIME','_transformRemoteChangesetByIMECache','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_process','floor','&assign=','pending','updateSnapshot','_undoStacks','cfg','_clearTimeoutTimer','updatePermissionPoint','_getCtorByUniverType','/universer-api/authz','unknown','failed\x20to\x20apply\x20missed\x20changesets!','Module','hostname','src','getUnitType','image/gif','body','_getUploadFileURL','type','_redoStacks','APPLY_NON_SEQUENTIAL_REVISION','_retryConnectingTimer','DEFAULT_COLLAB_WEB_SOCKET_URL','error','[OfflineState]:\x20received\x20rejection.','ceil','ERROR_AGAIN','toDisposable','auth.needGotoLoginAlert','_userManagerService','_entityInit$','YUUMI_AI_RUN_FAILED','4966023hUpDXv','list','onload','socket$','LOGIN_FAILED','_onRemoteRetry','GLOBAL_ROOMS_CNT_EXCEEDS','INetworkConditionService','_transformStateCache','synced','_unitInfo$','JOIN_ROOM_FULL','href','_telemetryInfo','ICommandService','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','c2Prime','DocCollaborationEntity','msCrypto','isTransformChangesetsSuccess','PERSON','CBC','_xformMode','_getUndoStack','localeService','isPermissionRej','encode','USER_NOT_FOUND','reset','_memberService','UniverTelemetry','CollaborationUIEventId','subject','getUnitOnRev','_undoRedoService','isInternalEditorID','[PendingState]:\x20unhandled\x20univer\x20type:\x20','rxjs','createCollaborator','requireSession','CURRENT_STATUS_CANNOT_OPERATE','/collaborator','set','SerializableCipher','next','onTransformState','_scheduleCompleteTimestamp','JOIN_ROOM_FAILED','CollaborationSocketService','_imageSourceCache','UserProfileImg','@univerjs-pro/collaboration','createEncryptor','_getCurrentRevision','getActiveSheet','TOO_MANY_REQUESTS','getMember','_sendHeartbeatTimer','snapshot','LOGIN_TOKEN_PROCESSING_FAILED','_transformUndoredo','HELLO','push','_startCollaboration','_keySchedule','_transformRemoteChangesetByStateCache','REDEMPTION_INVALID_CODE','getAllMembers','concatMap','UNAUTHENTICATED','fetchMiss','RevisionService','_toggleOffline','randomBytes','buffer','7579229LiRSmU','objects','sendChangesetTimeout','updateMember','REDEMPTION_USER_NOT_ELIGIBLE','createIdentifier','setCurrentUser','resourceIDs','_socket','_substituteUndoStack','clear','getFocusedUnit','sheets','HttpImport','Hasher','/-/object/-/batch_allowed','@univerjs/core','_snapshotService','ITelemetryService','5728LzCuJg','Pkcs7','_HTTPService','LOCAL_CACHE_INTERVAL_KEY','code','RxDisposable','collabSubmitChangesetUrl','baseRev','_tryEnsureSocket','onMutationExecutedForCollab','SheetTransformSelectionsService','BufferedBlockAlgorithm','[DataLoaderService]','APPLY_PERMISSION_DENIED','onRemoteRej','x-univer-host','onSyncEditingCollabCursor','members$','ENTITLE_INVALID_COUPON_CODE','enableCollaboration','_iv','appendMutation','sigBytes','YUUMI_CONNECTOR_URL_NOT_FOUND','CipherParams','COMMENT_UPDATE','YUUMI_TABLE_NOT_FOUND_IN_UNIT','loadOfflineData','FileId','RECV','unpad','&to=','leaveEvent','cmd','getImage','YUUMI_NO_CUBOID_FOR_QUESTION','/rev/','IAuthzIoService','_commandService','setConfig','reverse','OPTIONAL','resend','_transformService','requestParams','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_injector','__creator','_initMergeInterceptor','@univerjs/telemetry','_isPermissionRej','USER_IS_ANONYMOUS','_append','Base','APPLY_REVISION_CONFILICT','_collaborationSessionService','_sessionStatus$','fetchThroughInterceptors','JOIN','_hasher','_disableEditing','updatePermissionObjEvent','_timeoutTimer','_handler','NO_OTHER_CLIENTS_EDITING','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','MemberService','subUnitId','_sender','setShowComponents','_socketMessageSubscription','INVALID_INVITE_CODE','6lhRpeO','UnitEmbedded','YUUMI_ASYNCIO_CANCELLED','_resendWithTimeout','subscribe','CollaborationSession','_sendHeartbeat','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','eventID','equals','/-/object/list','COMPRESS_MUTATION_APPLY','_roomCreated$','OfflineState','Subject','CollaborationImageIoService','clamp','CollaborationUIEventService','_getSendChangesetTimeout','UNDEFINED','_logService','/universer-api/uniscript','getTypeOfUnitAdded$','abs','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','downloadEndpointUrl','HmacSHA1','dispose$','transformMutationsWithChangeset','ILogService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','PAYMENT_CHANNEL_NOT_SUPPORT','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_localCacheService','isTransformMutationsWithChangesetFailure','_univerInstanceService','SyncedState','YUUMI_ALL_TABLES_IS_INVALID','[SyncedState]:\x20received\x20acknowledgement.','_initDependencies','_onCombEvent','_init','infoRsp','BASE64','_getDownloadEndpointURL','_data','/universer-api/oidc/authpage','mutations','_keyPriorReset','words','onLocalMutation','_commentUpdate$','OTHER_CLIENTS_EDITING','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_executeRemoteChangeset','CHANGESET_REVISION_CONFILICT','ENSURE_SNAPSHOT_EXECUTION','patch','univer-pro.collaboration-client.single-active-unit-service','getValue','localCacheService','incrementRevOfUnit','[SyncedState]:\x20received\x20rejection.','UPDATE_CURSOR','deleteCollaborator','UniverLicensePlugin','__Key__','_socketService','&source=','_clearRetryConnectingTimer','concat','CONFLICT','_onConflict','_onOffline','addImageSourceCache','UniverProLicense','SnapshotServerOverHTTPService','session.join-failed','UniverProCollaborationClient','YUUMI_UNABLE_LOAD_URL','values','MOBILE_HAS_BEEN_BOUND','?url=','3212358YDxxKu','ENTITLE_COUPON_USED_UP','message$','transformSelections','_onUserLeave','close','isTransformMutationsWithChangesetSuccess','_unitID','DataLoaderService','onMissedChangesetFetched','userID','unitInfo$','COMPRESS_MUTATION_SEND','fetch_missing','_listenToNetworkCondition','getCollabEntity','/unit/','_prevBlock','onTransformRemoteChangesetByStateCache','onMissingChangesets'];_0x4307=function(){return _0x31519a;};return _0x4307();}(function(_0x6b1e92,_0x475b6e){var _0x310994=_0x3662,_0x13f979=_0x6b1e92();while(!![]){try{var _0x20bf27=parseInt(_0x310994(0x451))/0x1+parseInt(_0x310994(0x42d))/0x2+parseInt(_0x310994(0x334))/0x3+parseInt(_0x310994(0x205))/0x4*(parseInt(_0x310994(0x30a))/0x5)+-parseInt(_0x310994(0x3da))/0x6*(parseInt(_0x310994(0x37f))/0x7)+parseInt(_0x310994(0x392))/0x8*(parseInt(_0x310994(0x11c))/0x9)+-parseInt(_0x310994(0x2e1))/0xa;if(_0x20bf27===_0x475b6e)break;else _0x13f979['push'](_0x13f979['shift']());}catch(_0x5c76df){_0x13f979['push'](_0x13f979['shift']());}}}(_0x4307,0xe09f9),function(_0x1836db,_0x953250){var _0x3c98c7=_0x3662;typeof exports==_0x3c98c7(0x1f4)&&typeof module<'u'?_0x953250(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==_0x3c98c7(0x4ae)&&define[_0x3c98c7(0x444)]?define([_0x3c98c7(0x2f0),_0x3c98c7(0x367),_0x3c98c7(0x38f),'@univerjs/docs',_0x3c98c7(0x16b),_0x3c98c7(0x359),_0x3c98c7(0x3c3),_0x3c98c7(0x1c6),_0x3c98c7(0x4b6),'@univerjs-pro/license','@univerjs/drawing'],_0x953250):(_0x1836db=typeof globalThis<'u'?globalThis:_0x1836db||self,_0x953250(_0x1836db[_0x3c98c7(0x428)]={},_0x1836db['UniverProCollaboration'],_0x1836db[_0x3c98c7(0x271)],_0x1836db[_0x3c98c7(0x131)],_0x1836db['UniverSheets'],_0x1836db[_0x3c98c7(0x359)],_0x1836db[_0x3c98c7(0x352)],_0x1836db[_0x3c98c7(0x359)]['operators'],_0x1836db[_0x3c98c7(0x217)],_0x1836db[_0x3c98c7(0x425)],_0x1836db[_0x3c98c7(0x452)]));}(this,function(_0x43236a,_0x4a4eff,_0x132a8a,_0x172117,_0x3b6fb7,_0x41f28e,_0x405871,_0xb6ddf5,_0x38b1a1,_0x2a39fc,_0x58931d){'use strict';var _0x56fe62=_0x3662;var _0x330ea0=Object[_0x56fe62(0x487)],_0x1ab224=(_0x4aca00,_0x5ec480,_0x23c991)=>_0x5ec480 in _0x4aca00?_0x330ea0(_0x4aca00,_0x5ec480,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x23c991}):_0x4aca00[_0x5ec480]=_0x23c991,_0x18d62f=(_0x36181b,_0x1849b5,_0x560986)=>_0x1ab224(_0x36181b,typeof _0x1849b5!='symbol'?_0x1849b5+'':_0x1849b5,_0x560986);const _0x304017=_0x56fe62(0x25c),_0x34823c=_0x56fe62(0x119),_0x148b14=_0x56fe62(0x4b0),_0x1e596d='/universer-api/user/session-ticket',_0x3a00b0=_0x56fe62(0x1c4),_0x5e0ea0=_0x56fe62(0x4b3),_0x23a235=_0x56fe62(0x443),_0x371f06=_0x56fe62(0x2c1),_0x31cb17=_0x56fe62(0x481),_0x1a755a=_0x56fe62(0x408),_0x29228a=_0x56fe62(0x20c),_0x555c26=_0x56fe62(0x3ef);var _0x41c854=(_0xcaef74=>(_0xcaef74[_0xcaef74['UNDEFINED']=0x0]=_0x56fe62(0x3ed),_0xcaef74[_0xcaef74['OK']=0x1]='OK',_0xcaef74[_0xcaef74['INTERNAL_ERROR']=0x2]=_0x56fe62(0x11b),_0xcaef74[_0xcaef74[_0x56fe62(0x455)]=0x3]=_0x56fe62(0x455),_0xcaef74[_0xcaef74['NOT_FOUND']=0x4]=_0x56fe62(0x14e),_0xcaef74[_0xcaef74[_0x56fe62(0x379)]=0x5]=_0x56fe62(0x379),_0xcaef74[_0xcaef74[_0x56fe62(0x226)]=0x6]=_0x56fe62(0x226),_0xcaef74[_0xcaef74[_0x56fe62(0x4a0)]=0x7]=_0x56fe62(0x4a0),_0xcaef74[_0xcaef74[_0x56fe62(0x36b)]=0x8]=_0x56fe62(0x36b),_0xcaef74[_0xcaef74[_0x56fe62(0x1e1)]=0x9]=_0x56fe62(0x1e1),_0xcaef74[_0xcaef74['LOGIN_FAILED']=0xa]=_0x56fe62(0x338),_0xcaef74[_0xcaef74[_0x56fe62(0x2e0)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0xcaef74[_0xcaef74['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x56fe62(0x3d3),_0xcaef74[_0xcaef74[_0x56fe62(0x257)]=0xd]=_0x56fe62(0x257),_0xcaef74[_0xcaef74[_0x56fe62(0x1eb)]=0xe]=_0x56fe62(0x1eb),_0xcaef74[_0xcaef74[_0x56fe62(0x23b)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0xcaef74[_0xcaef74[_0x56fe62(0x36f)]=0x10]=_0x56fe62(0x36f),_0xcaef74[_0xcaef74[_0x56fe62(0x35c)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0xcaef74[_0xcaef74[_0x56fe62(0x32e)]=0x65]=_0x56fe62(0x32e),_0xcaef74[_0xcaef74[_0x56fe62(0x34f)]=0xc9]='USER_NOT_FOUND',_0xcaef74[_0xcaef74[_0x56fe62(0x3c5)]=0xca]=_0x56fe62(0x3c5),_0xcaef74[_0xcaef74[_0x56fe62(0x411)]=0x1389]=_0x56fe62(0x411),_0xcaef74[_0xcaef74['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x56fe62(0x281),_0xcaef74[_0xcaef74[_0x56fe62(0x154)]=0x1772]=_0x56fe62(0x154),_0xcaef74[_0xcaef74[_0x56fe62(0x412)]=0x1773]=_0x56fe62(0x412),_0xcaef74[_0xcaef74[_0x56fe62(0x4a6)]=0x1b59]='APPLY_REJECT',_0xcaef74[_0xcaef74[_0x56fe62(0x328)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0xcaef74[_0xcaef74[_0x56fe62(0x3c8)]=0x1b5b]=_0x56fe62(0x3c8),_0xcaef74[_0xcaef74['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x56fe62(0x39f),_0xcaef74[_0xcaef74[_0x56fe62(0x2ef)]=0x1b5d]=_0x56fe62(0x2ef),_0xcaef74[_0xcaef74[_0x56fe62(0x26f)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0xcaef74[_0xcaef74[_0x56fe62(0x2d2)]=0x2329]=_0x56fe62(0x2d2),_0xcaef74[_0xcaef74[_0x56fe62(0x3f8)]=0x232a]=_0x56fe62(0x3f8),_0xcaef74[_0xcaef74[_0x56fe62(0x1e7)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0xcaef74[_0xcaef74['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x56fe62(0x19b),_0xcaef74[_0xcaef74[_0x56fe62(0x30c)]=0x232d]=_0x56fe62(0x30c),_0xcaef74[_0xcaef74[_0x56fe62(0x429)]=0x2711]=_0x56fe62(0x429),_0xcaef74[_0xcaef74[_0x56fe62(0x28d)]=0x2712]=_0x56fe62(0x28d),_0xcaef74[_0xcaef74[_0x56fe62(0x1b7)]=0x2713]=_0x56fe62(0x1b7),_0xcaef74[_0xcaef74['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0xcaef74[_0xcaef74[_0x56fe62(0x3b5)]=0x271a]=_0x56fe62(0x3b5),_0xcaef74[_0xcaef74[_0x56fe62(0x3dc)]=0x271b]=_0x56fe62(0x3dc),_0xcaef74[_0xcaef74[_0x56fe62(0x3ac)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0xcaef74[_0xcaef74['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x56fe62(0x3ff),_0xcaef74[_0xcaef74['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x56fe62(0x4a7),_0xcaef74[_0xcaef74[_0x56fe62(0x333)]=0x271f]=_0x56fe62(0x333),_0xcaef74[_0xcaef74[_0x56fe62(0x3a9)]=0x2720]=_0x56fe62(0x3a9),_0xcaef74[_0xcaef74['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x56fe62(0x227),_0xcaef74[_0xcaef74[_0x56fe62(0x1c2)]=0x2ee1]=_0x56fe62(0x1c2),_0xcaef74[_0xcaef74[_0x56fe62(0x3d9)]=0x2ee2]=_0x56fe62(0x3d9),_0xcaef74[_0xcaef74[_0x56fe62(0x27a)]=0x2ee3]=_0x56fe62(0x27a),_0xcaef74[_0xcaef74['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0xcaef74[_0xcaef74[_0x56fe62(0x1e4)]=0x2ee5]=_0x56fe62(0x1e4),_0xcaef74[_0xcaef74[_0x56fe62(0x1b4)]=0x32c9]=_0x56fe62(0x1b4),_0xcaef74[_0xcaef74['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x56fe62(0x42b),_0xcaef74[_0xcaef74[_0x56fe62(0x486)]=0x32cb]=_0x56fe62(0x486),_0xcaef74[_0xcaef74[_0x56fe62(0x1a4)]=0x36b1]=_0x56fe62(0x1a4),_0xcaef74[_0xcaef74['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x56fe62(0x3e1),_0xcaef74[_0xcaef74[_0x56fe62(0x14b)]=0x36b3]=_0x56fe62(0x14b),_0xcaef74[_0xcaef74[_0x56fe62(0x3f9)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0xcaef74[_0xcaef74[_0x56fe62(0x3a4)]=0x36b5]=_0x56fe62(0x3a4),_0xcaef74[_0xcaef74[_0x56fe62(0x147)]=0x36b6]=_0x56fe62(0x147),_0xcaef74[_0xcaef74['ENTITLE_COUPON_USED_UP']=0x36b7]=_0x56fe62(0x42e),_0xcaef74[_0xcaef74[_0x56fe62(0x2b5)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0xcaef74[_0xcaef74['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x56fe62(0x2a6),_0xcaef74[_0xcaef74['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x56fe62(0x211),_0xcaef74[_0xcaef74['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0xcaef74[_0xcaef74[_0x56fe62(0x139)]=0x37dd]=_0x56fe62(0x139),_0xcaef74[_0xcaef74[_0x56fe62(0x376)]=0x3a99]='REDEMPTION_INVALID_CODE',_0xcaef74[_0xcaef74[_0x56fe62(0x24b)]=0x3a9a]=_0x56fe62(0x24b),_0xcaef74[_0xcaef74['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x56fe62(0x1d7),_0xcaef74[_0xcaef74[_0x56fe62(0x2c0)]=0x3a9c]=_0x56fe62(0x2c0),_0xcaef74[_0xcaef74['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x56fe62(0x383),_0xcaef74[_0xcaef74['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x56fe62(0x40f),_0xcaef74[_0xcaef74['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x56fe62(0x23c),_0xcaef74[_0xcaef74[_0x56fe62(0x301)]=0x3e81]=_0x56fe62(0x301),_0xcaef74[_0xcaef74[_0x56fe62(0x117)]=-0x1]=_0x56fe62(0x117),_0xcaef74))(_0x41c854||{}),_0x5b3fe9=(_0x387318=>(_0x387318[_0x387318[_0x56fe62(0x182)]=0x0]=_0x56fe62(0x182),_0x387318[_0x387318[_0x56fe62(0x1b0)]=0x1]=_0x56fe62(0x1b0),_0x387318[_0x387318[_0x56fe62(0x2a4)]=0x2]='UNIVER_SHEET',_0x387318[_0x387318['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x387318[_0x387318[_0x56fe62(0x142)]=0x4]=_0x56fe62(0x142),_0x387318[_0x387318[_0x56fe62(0x117)]=-0x1]=_0x56fe62(0x117),_0x387318))(_0x5b3fe9||{}),_0x225c09=(_0x244af4=>(_0x244af4[_0x244af4['UNKNOWN_CMD']=0x0]=_0x56fe62(0x1b3),_0x244af4[_0x244af4[_0x56fe62(0x371)]=0x1]=_0x56fe62(0x371),_0x244af4[_0x244af4['JOIN']=0x2]='JOIN',_0x244af4[_0x244af4[_0x56fe62(0x12c)]=0x3]=_0x56fe62(0x12c),_0x244af4[_0x244af4[_0x56fe62(0x24d)]=0x4]='INGEST',_0x244af4[_0x244af4[_0x56fe62(0x2bd)]=0x5]=_0x56fe62(0x2bd),_0x244af4[_0x244af4[_0x56fe62(0x3af)]=0x6]=_0x56fe62(0x3af),_0x244af4[_0x244af4[_0x56fe62(0x117)]=-0x1]=_0x56fe62(0x117),_0x244af4))(_0x225c09||{}),_0x30b10a=(_0x15fda6=>(_0x15fda6[_0x15fda6[_0x56fe62(0x284)]=0x0]=_0x56fe62(0x284),_0x15fda6[_0x15fda6['OK']=0x1]='OK',_0x15fda6[_0x15fda6[_0x56fe62(0x148)]=0x2]='FAIL',_0x15fda6[_0x15fda6[_0x56fe62(0x33f)]=0x3e9]='JOIN_ROOM_FULL',_0x15fda6[_0x15fda6['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x56fe62(0x1de),_0x15fda6[_0x15fda6[_0x56fe62(0x482)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x15fda6[_0x15fda6[_0x56fe62(0x33a)]=0x3ec]=_0x56fe62(0x33a),_0x15fda6[_0x15fda6['UNRECOGNIZED']=-0x1]=_0x56fe62(0x117),_0x15fda6))(_0x30b10a||{}),_0x5c74c3=(_0x5bd318=>(_0x5bd318[_0x5bd318['Undefined']=0x0]=_0x56fe62(0x11d),_0x5bd318[_0x5bd318[_0x56fe62(0x38c)]=0x1]=_0x56fe62(0x38c),_0x5bd318[_0x5bd318['HttpExport']=0x2]=_0x56fe62(0x13b),_0x5bd318[_0x5bd318[_0x56fe62(0x3db)]=0x3]='UnitEmbedded',_0x5bd318[_0x5bd318[_0x56fe62(0x222)]=0x4]=_0x56fe62(0x222),_0x5bd318[_0x5bd318[_0x56fe62(0x366)]=0x5]='UserProfileImg',_0x5bd318[_0x5bd318['ClipsheetFragments']=0x6]=_0x56fe62(0x292),_0x5bd318[_0x5bd318[_0x56fe62(0x117)]=-0x1]='UNRECOGNIZED',_0x5bd318))(_0x5c74c3||{});const _0x3d0463=_0x56fe62(0x260);function _0x34b1d6(_0xd6cb02){var _0x8394ab=_0x56fe62;return JSON[_0x8394ab(0x123)](_0xd6cb02)[_0x8394ab(0x17a)];}var _0x3fbd84=(_0x2b0005=>(_0x2b0005[_0x56fe62(0x2d9)]='OTHER_CLIENT_EDITING',_0x2b0005[_0x56fe62(0x455)]=_0x56fe62(0x455),_0x2b0005[_0x56fe62(0x421)]=_0x56fe62(0x421),_0x2b0005[_0x56fe62(0x18d)]=_0x56fe62(0x18d),_0x2b0005[_0x56fe62(0x363)]='JOIN_ROOM_FAILED',_0x2b0005[_0x56fe62(0x49b)]='SOCKET_FAILED_RETRY',_0x2b0005['SOCKET_FAILED']=_0x56fe62(0x200),_0x2b0005[_0x56fe62(0x13a)]=_0x56fe62(0x13a),_0x2b0005))(_0x3fbd84||{});class _0x3d2ec6{constructor(){var _0x69e723=_0x56fe62;_0x18d62f(this,_0x69e723(0x441),new _0x41f28e[(_0x69e723(0x3e8))]()),_0x18d62f(this,_0x69e723(0x247),this[_0x69e723(0x441)][_0x69e723(0x4ba)]());}[_0x56fe62(0x24e)](_0x3ffcbd){var _0x490d4b=_0x56fe62;this[_0x490d4b(0x441)][_0x490d4b(0x360)](_0x3ffcbd);}}class _0x817b9d{constructor(){var _0x2a550c=_0x56fe62;_0x18d62f(this,'_commentUpdate$',new _0x41f28e[(_0x2a550c(0x3e8))]()),_0x18d62f(this,'commentUpdate$',this[_0x2a550c(0x40d)][_0x2a550c(0x4ba)]());}[_0x56fe62(0x21a)](_0x4b5722){var _0x588d73=_0x56fe62;this['_commentUpdate$'][_0x588d73(0x360)](_0x4b5722);}}var _0x5328c6=Object[_0x56fe62(0x2f8)],_0x3b189a=(_0x3166e3,_0x1971ee,_0x509cc6,_0x555567)=>{var _0x572650=_0x56fe62;for(var _0x369d16=_0x555567>0x1?void 0x0:_0x555567?_0x5328c6(_0x1971ee,_0x509cc6):_0x1971ee,_0x4719b8=_0x3166e3[_0x572650(0x17a)]-0x1,_0x4a6df9;_0x4719b8>=0x0;_0x4719b8--)(_0x4a6df9=_0x3166e3[_0x4719b8])&&(_0x369d16=_0x4a6df9(_0x369d16)||_0x369d16);return _0x369d16;},_0x4ecea7=(_0x3d8ecc,_0x1a2002)=>(_0x423315,_0x4607b0)=>_0x1a2002(_0x423315,_0x4607b0,_0x3d8ecc);_0x43236a['MemberService']=class extends _0x132a8a[_0x56fe62(0x19f)]{constructor(_0x325157,_0x479bb3){var _0x42a306=_0x56fe62;super(),_0x18d62f(this,_0x42a306(0x12a),new Map()),_0x18d62f(this,_0x42a306(0x3e6),new _0x41f28e[(_0x42a306(0x3e8))]()),(this[_0x42a306(0x3fd)]=_0x325157,this[_0x42a306(0x331)]=_0x479bb3,this[_0x42a306(0x29a)](_0x41f28e[_0x42a306(0x16d)](this['_univerInstanceService'][_0x42a306(0x44c)](_0x132a8a[_0x42a306(0x20f)]['UNIVER_SHEET'])[_0x42a306(0x2d1)](_0xb6ddf5['map'](_0x24ec60=>_0x24ec60[_0x42a306(0x1df)]())),this[_0x42a306(0x3fd)][_0x42a306(0x44c)](_0x132a8a[_0x42a306(0x20f)]['UNIVER_DOC'])[_0x42a306(0x2d1)](_0xb6ddf5[_0x42a306(0x290)](_0x267d7d=>_0x267d7d['getUnitId']())),this[_0x42a306(0x3fd)][_0x42a306(0x44c)](_0x132a8a[_0x42a306(0x20f)][_0x42a306(0x470)])['pipe'](_0xb6ddf5[_0x42a306(0x290)](_0x2e74ac=>_0x2e74ac[_0x42a306(0x1df)]())))[_0x42a306(0x3de)](_0xe9366d=>this[_0x42a306(0x1bf)](_0xe9366d))));}['waitForRoom$'](_0x187c08){var _0x464a5b=_0x56fe62;return this[_0x464a5b(0x12a)][_0x464a5b(0x172)](_0x187c08)?_0x41f28e['of'](this[_0x464a5b(0x12a)][_0x464a5b(0x2ce)](_0x187c08)):this[_0x464a5b(0x3e6)][_0x464a5b(0x2d1)](_0xb6ddf5[_0x464a5b(0x290)](_0x171ae7=>{var _0x3389bc=_0x464a5b;if(_0x171ae7===_0x187c08)return this[_0x3389bc(0x12a)]['get'](_0x171ae7);}));}[_0x56fe62(0x385)](_0x14597c){var _0x3744b6=_0x56fe62;this['_userManagerService'][_0x3744b6(0x385)](_0x14597c);}[_0x56fe62(0x1ac)](){var _0x4d2c4c=_0x56fe62;return this[_0x4d2c4c(0x331)][_0x4d2c4c(0x1ac)]();}['updateMember'](_0x5002f3,_0xe72f70){var _0x5e2e42=_0x56fe62;let _0x370bf5=this[_0x5e2e42(0x12a)][_0x5e2e42(0x2ce)](_0x5002f3);_0x370bf5||(_0x370bf5=new _0x21d799(),this[_0x5e2e42(0x12a)][_0x5e2e42(0x35e)](_0x5002f3,_0x370bf5),this['_roomCreated$'][_0x5e2e42(0x360)](_0x5002f3)),_0x370bf5[_0x5e2e42(0x382)](_0xe72f70);}[_0x56fe62(0x294)](_0x1acbd7,_0x2b7057){var _0x4de91f=_0x56fe62;const _0x445683=this[_0x4de91f(0x12a)][_0x4de91f(0x2ce)](_0x1acbd7);_0x445683&&_0x445683[_0x4de91f(0x294)](_0x2b7057);}['getRoom'](_0x300fd0){var _0x44f470=_0x56fe62;return this[_0x44f470(0x12a)][_0x44f470(0x2ce)](_0x300fd0);}[_0x56fe62(0x36c)](_0x174c22,_0x127608){var _0x4476bd=_0x56fe62;const _0x5e801c=this[_0x4476bd(0x12a)][_0x4476bd(0x2ce)](_0x174c22);if(_0x5e801c)return _0x5e801c[_0x4476bd(0x36c)](_0x127608);}[_0x56fe62(0x1bf)](_0x51620c){var _0x4be23b=_0x56fe62;const _0x2510bc=this[_0x4be23b(0x12a)][_0x4be23b(0x2ce)](_0x51620c);_0x2510bc&&(_0x2510bc[_0x4be23b(0x149)](),this[_0x4be23b(0x12a)][_0x4be23b(0x26b)](_0x51620c));}[_0x56fe62(0x149)](){var _0x48770f=_0x56fe62;this[_0x48770f(0x12a)]['forEach'](_0x5cb495=>_0x5cb495['dispose']()),this[_0x48770f(0x12a)]['clear'](),this[_0x48770f(0x3e6)][_0x48770f(0x215)]();}},_0x43236a[_0x56fe62(0x3d4)]=_0x3b189a([_0x4ecea7(0x0,_0x132a8a['IUniverInstanceService']),_0x4ecea7(0x1,_0x132a8a['Inject'](_0x132a8a[_0x56fe62(0x2d5)]))],_0x43236a['MemberService']);class _0x21d799 extends _0x132a8a[_0x56fe62(0x19f)]{constructor(){var _0x70b24b=_0x56fe62;super(...arguments),_0x18d62f(this,_0x70b24b(0x305),new Map()),_0x18d62f(this,_0x70b24b(0x25b),new _0x41f28e[(_0x70b24b(0x473))](this[_0x70b24b(0x305)])),_0x18d62f(this,_0x70b24b(0x3a3),this['_members$']['asObservable']());}[_0x56fe62(0x149)](){var _0x2cb0e7=_0x56fe62;this['_members'][_0x2cb0e7(0x389)]();}[_0x56fe62(0x382)](_0x3fb29e){var _0x4509fb=_0x56fe62;this['_members'][_0x4509fb(0x35e)](_0x3fb29e[_0x4509fb(0x1b2)],_0x3fb29e),this[_0x4509fb(0x22d)]();}['removeMember'](_0x41aec7){var _0x4b91cc=_0x56fe62;this[_0x4b91cc(0x305)][_0x4b91cc(0x26b)](_0x41aec7);}['getMember'](_0x548053){var _0x20a027=_0x56fe62;return this['_members'][_0x20a027(0x2ce)](_0x548053);}[_0x56fe62(0x377)](){var _0x2d1adf=_0x56fe62;return Array[_0x2d1adf(0x461)](this[_0x2d1adf(0x305)][_0x2d1adf(0x42a)]());}['_emitMembers'](){var _0xeadb60=_0x56fe62;this[_0xeadb60(0x25b)][_0xeadb60(0x360)](this['_members']);}}var _0x2b3895=Object['getOwnPropertyDescriptor'],_0x18a32e=(_0x14c5ad,_0x52cb06,_0x26a1c4,_0x45704c)=>{var _0x3282ea=_0x56fe62;for(var _0xf1526d=_0x45704c>0x1?void 0x0:_0x45704c?_0x2b3895(_0x52cb06,_0x26a1c4):_0x52cb06,_0x2fe758=_0x14c5ad[_0x3282ea(0x17a)]-0x1,_0x1593d7;_0x2fe758>=0x0;_0x2fe758--)(_0x1593d7=_0x14c5ad[_0x2fe758])&&(_0xf1526d=_0x1593d7(_0xf1526d)||_0xf1526d);return _0xf1526d;},_0x349648=(_0x3ee67a,_0x40abf7)=>(_0x752d75,_0x5adf0d)=>_0x40abf7(_0x752d75,_0x5adf0d,_0x3ee67a),_0x49f99f=(_0x59611e=>(_0x59611e[_0x59611e[_0x56fe62(0x2db)]=0x0]=_0x56fe62(0x2db),_0x59611e[_0x59611e[_0x56fe62(0x2cb)]=0x1]=_0x56fe62(0x2cb),_0x59611e[_0x59611e[_0x56fe62(0x11e)]=0x2]=_0x56fe62(0x11e),_0x59611e[_0x59611e['ONLINE']=0x3]=_0x56fe62(0x456),_0x59611e))(_0x49f99f||{});const _0x143bfc={[_0x30b10a[_0x56fe62(0x148)]]:_0x56fe62(0x427),[_0x30b10a[_0x56fe62(0x33f)]]:_0x56fe62(0x2b1),[_0x30b10a[_0x56fe62(0x1de)]]:'session.room-not-exists',[_0x30b10a['JOIN_ROOM_PERMISSION_DENIED']]:_0x56fe62(0x287),[_0x30b10a[_0x56fe62(0x33a)]]:_0x56fe62(0x49f)};_0x43236a[_0x56fe62(0x3df)]=class extends _0x132a8a[_0x56fe62(0x397)]{constructor(_0x4fdd2c,_0x4d50b5,_0x290d8c,_0x527049,_0x15f039,_0x10d2b4,_0x36ecb7,_0x3baef1){var _0x5a9fca=_0x56fe62;super(),_0x18d62f(this,'_sessionStatus$',new _0x41f28e['BehaviorSubject'](0x0)),_0x18d62f(this,'sessionStatus$',this['_sessionStatus$'][_0x5a9fca(0x4ba)]()),_0x18d62f(this,'_event$',new _0x41f28e[(_0x5a9fca(0x3e8))]()),_0x18d62f(this,_0x5a9fca(0x247),this['_event$'][_0x5a9fca(0x4ba)]()),_0x18d62f(this,_0x5a9fca(0x387)),_0x18d62f(this,_0x5a9fca(0x3d8)),_0x18d62f(this,_0x5a9fca(0x2c7)),_0x18d62f(this,_0x5a9fca(0x28b),!0x1),_0x18d62f(this,_0x5a9fca(0x341),null),(this[_0x5a9fca(0x434)]=_0x4fdd2c,this[_0x5a9fca(0x3ee)]=_0x290d8c,this['_configService']=_0x527049,this[_0x5a9fca(0x351)]=_0x15f039,this['_commentService']=_0x10d2b4,this[_0x5a9fca(0x293)]=_0x36ecb7,this[_0x5a9fca(0x14c)]=_0x3baef1,this['_shouldReportTelemetry']=!!this[_0x5a9fca(0x14c)],_0x4d50b5[_0x5a9fca(0x2d1)](_0x41f28e[_0x5a9fca(0x308)](this[_0x5a9fca(0x3f5)]))['subscribe'](_0x5efe04=>{var _0x738f9a=_0x5a9fca,_0xa2d22d;typeof _0x5efe04>'u'||(this['_socket']=_0x5efe04,_0x5efe04?(this['_joinRoom'](_0x5efe04),this[_0x738f9a(0x3d8)]=_0x5efe04[_0x738f9a(0x42f)][_0x738f9a(0x3de)](_0x13140b=>{var _0x261059=_0x738f9a;_0x13140b['routeKey']===this[_0x261059(0x434)]&&this['_onCombEvent'](_0x13140b);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x738f9a(0x3ca)][_0x738f9a(0x360)](0x2),(_0xa2d22d=this['_socketMessageSubscription'])==null||_0xa2d22d['unsubscribe'](),this[_0x738f9a(0x3d8)]=null));}));}get['sessionStatus'](){var _0x2e9674=_0x56fe62;return this['_sessionStatus$'][_0x2e9674(0x415)]();}['getMemberID'](){var _0x56dd94=_0x56fe62,_0x23b44d,_0x4ec3d6;return(_0x4ec3d6=(_0x23b44d=this[_0x56dd94(0x387)])==null?void 0x0:_0x23b44d[_0x56dd94(0x1b2)])!=null?_0x4ec3d6:null;}[_0x56fe62(0x149)](){var _0x4b2d4a=_0x56fe62;super[_0x4b2d4a(0x149)](),this[_0x4b2d4a(0x3f5)]['next'](),this['dispose$'][_0x4b2d4a(0x215)]();}['close'](){var _0x2a7761=_0x56fe62,_0x22533f,_0x1a7142;this[_0x2a7761(0x471)](),(_0x22533f=this[_0x2a7761(0x387)])==null||_0x22533f['send']({'cmd':_0x225c09[_0x2a7761(0x12c)],'data':{'roomID':this[_0x2a7761(0x434)]}}),(_0x1a7142=this['_socket'])==null||_0x1a7142[_0x2a7761(0x432)](),this['_event$'][_0x2a7761(0x215)](),this[_0x2a7761(0x3ca)][_0x2a7761(0x215)](),this[_0x2a7761(0x149)]();}[_0x56fe62(0x402)](_0x4e9f78){var _0x5314ad=_0x56fe62;_0x4e9f78[_0x5314ad(0x3b3)]===_0x225c09['JOIN']?this[_0x5314ad(0x238)](_0x4e9f78):_0x4e9f78[_0x5314ad(0x3b3)]===_0x225c09[_0x5314ad(0x3af)]&&this[_0x5314ad(0x2aa)](_0x4e9f78);}['_joinRoom'](_0x3bf17a){var _0x1e1e9a=_0x56fe62;this[_0x1e1e9a(0x3ca)][_0x1e1e9a(0x360)](0x1),_0x3bf17a[_0x1e1e9a(0x49a)]({'cmd':_0x225c09[_0x1e1e9a(0x3cc)],'routeKey':this[_0x1e1e9a(0x434)],'routeType':'','data':{'rooms':[{'roomID':this[_0x1e1e9a(0x434)]}]}});}[_0x56fe62(0x238)](_0x214b79){var _0x28eb92=_0x56fe62,_0x2ea0ec;if(_0x214b79[_0x28eb92(0x396)]in _0x143bfc){this[_0x28eb92(0x293)][_0x28eb92(0x24e)]({'id':_0x3fbd84[_0x28eb92(0x363)],'data':_0x143bfc[_0x214b79[_0x28eb92(0x396)]]}),this[_0x28eb92(0x3ca)][_0x28eb92(0x360)](0x2);return;}this[_0x28eb92(0x3ca)][_0x28eb92(0x360)](0x3);const _0x36d044=(_0x2ea0ec=_0x214b79['data']['roomInfos'][this[_0x28eb92(0x434)]])==null?void 0x0:_0x2ea0ec['members'];_0x36d044&&_0x36d044[_0x28eb92(0x13d)](_0x34940e=>this[_0x28eb92(0x351)]['updateMember'](this[_0x28eb92(0x434)],_0x34940e));}[_0x56fe62(0x2aa)](_0x597765){var _0x208e73=_0x56fe62;try{const _0x2bfb94=_0x597765[_0x208e73(0x483)];switch(_0x2bfb94[_0x208e73(0x3e2)]){case _0x4a4eff[_0x208e73(0x19d)][_0x208e73(0x198)]:this[_0x208e73(0x137)](_0x2bfb94),this['_event$']['next'](_0x2bfb94);break;case _0x4a4eff['CollaborationEvent'][_0x208e73(0x209)]:this[_0x208e73(0x431)](_0x2bfb94),this[_0x208e73(0x441)][_0x208e73(0x360)](_0x2bfb94);break;case _0x4a4eff[_0x208e73(0x19d)][_0x208e73(0x4b2)]:case _0x4a4eff[_0x208e73(0x19d)][_0x208e73(0x213)]:this[_0x208e73(0x152)](),this[_0x208e73(0x47f)](),this['_event$'][_0x208e73(0x360)](_0x2bfb94);break;case _0x4a4eff[_0x208e73(0x19d)][_0x208e73(0x21d)]:this[_0x208e73(0x3ee)][_0x208e73(0x32b)](_0x208e73(0x15e)+JSON['stringify'](_0x2bfb94)),this['_event$'][_0x208e73(0x360)](_0x2bfb94);break;case _0x4a4eff[_0x208e73(0x19d)][_0x208e73(0x3ab)]:this['_commentService'][_0x208e73(0x21a)](_0x2bfb94['data']),this[_0x208e73(0x441)][_0x208e73(0x360)](_0x2bfb94);break;default:this[_0x208e73(0x441)][_0x208e73(0x360)](_0x2bfb94);}}catch(_0xc5264b){this[_0x208e73(0x3ee)][_0x208e73(0x32b)](_0xc5264b,_0x597765);}}[_0x56fe62(0x137)](_0x4b543b){var _0x1953c6=_0x56fe62;this[_0x1953c6(0x351)]['updateMember'](this['_unitID'],_0x4b543b['data']);}[_0x56fe62(0x431)](_0x18ddc0){var _0x51289c=_0x56fe62;this['_memberService'][_0x51289c(0x294)](this['_unitID'],_0x18ddc0['data'][_0x51289c(0x1b2)]);}async[_0x56fe62(0x49a)](_0x520fb0,_0x2e7db8){var _0xd8d14b=_0x56fe62;if(this['sessionStatus']!==0x3||!this[_0xd8d14b(0x387)])throw new Error(_0xd8d14b(0x4a5));try{_0x520fb0[_0xd8d14b(0x3e2)]===_0x4a4eff['CollaborationEvent'][_0xd8d14b(0x174)]&&(this[_0xd8d14b(0x20e)](),this[_0xd8d14b(0x170)](_0x520fb0)),this[_0xd8d14b(0x387)][_0xd8d14b(0x49a)]({'cmd':_0x225c09[_0xd8d14b(0x24d)],'routeKey':_0x2e7db8,'routeType':'','data':_0x520fb0});}catch(_0x236ba1){this[_0xd8d14b(0x3ee)][_0xd8d14b(0x32b)](_0x236ba1);}}['_scheduleCollaborationTimeoutTimer'](){var _0x278316=_0x56fe62,_0x48011f;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x3ab64b=_0x3662;this[_0x3ab64b(0x2c7)]=null,this[_0x3ab64b(0x293)][_0x3ab64b(0x24e)]({'id':_0x3fbd84[_0x3ab64b(0x13a)]});},(_0x48011f=this[_0x278316(0x2f7)][_0x278316(0x1ab)](_0x5e0ea0))!=null?_0x48011f:0x4e20);}[_0x56fe62(0x47f)](){var _0x4b043a=_0x56fe62;this[_0x4b043a(0x2c7)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x4b043a(0x2c7)]=null);}[_0x56fe62(0x170)](_0x1a7665){var _0x46fa3b=_0x56fe62;if(!this[_0x46fa3b(0x28b)])return;const {data:_0x360619}=_0x1a7665,{unitID:_0x216be4,changeset:_0x412209}=_0x360619,{mutations:_0x4f94ef,type:_0x1956fc}=_0x412209;this[_0x46fa3b(0x341)]={'unitId':_0x216be4,'type':_0x1956fc,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x34b1d6(_0x4f94ef)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x403cb9=_0x56fe62;if(this[_0x403cb9(0x28b)]){if(!this[_0x403cb9(0x341)]){this[_0x403cb9(0x3ee)][_0x403cb9(0x32b)](_0x403cb9(0x236),_0x403cb9(0x2a3));return;}this[_0x403cb9(0x341)][_0x403cb9(0x4ac)]=performance[_0x403cb9(0x45a)](),this['_telemetryInfo'][_0x403cb9(0x21f)]=this[_0x403cb9(0x341)][_0x403cb9(0x4ac)]-this['_telemetryInfo']['startTime'],this[_0x403cb9(0x14c)][_0x403cb9(0x15f)](_0x3d0463,this[_0x403cb9(0x341)]),this[_0x403cb9(0x341)]=null;}}[_0x56fe62(0x471)](){var _0x1593fb=_0x56fe62;this[_0x1593fb(0x341)]=null;}},_0x43236a[_0x56fe62(0x3df)]=_0x18a32e([_0x349648(0x2,_0x132a8a['ILogService']),_0x349648(0x3,_0x132a8a[_0x56fe62(0x2cf)]),_0x349648(0x4,_0x132a8a[_0x56fe62(0x1fa)](_0x43236a[_0x56fe62(0x3d4)])),_0x349648(0x5,_0x132a8a['Inject'](_0x817b9d)),_0x349648(0x6,_0x132a8a[_0x56fe62(0x1fa)](_0x3d2ec6)),_0x349648(0x7,_0x132a8a[_0x56fe62(0x460)](_0x405871[_0x56fe62(0x391)]))],_0x43236a['CollaborationSession']);const _0x11f168=_0x132a8a['createIdentifier']('collaboration-client.local-cache-service');function _0x16e1be(_0x576792){return'unit-cache-'+_0x576792;}var _0x391e14=Object[_0x56fe62(0x2f8)],_0xd69d3a=(_0x1cd365,_0x3fd5ed,_0x5b4088,_0x4b350c)=>{for(var _0x192607=_0x4b350c>0x1?void 0x0:_0x4b350c?_0x391e14(_0x3fd5ed,_0x5b4088):_0x3fd5ed,_0xfe9388=_0x1cd365['length']-0x1,_0x22130f;_0xfe9388>=0x0;_0xfe9388--)(_0x22130f=_0x1cd365[_0xfe9388])&&(_0x192607=_0x22130f(_0x192607)||_0x192607);return _0x192607;},_0x165d53=(_0x242c68,_0x24f6a2)=>(_0x5f1555,_0x5e9ee7)=>_0x24f6a2(_0x5f1555,_0x5e9ee7,_0x242c68);function _0x118815(_0x2b13a5){var _0x23701e=_0x56fe62;const {unitID:_0x601bc7,mutations:_0xb77f72}=_0x2b13a5;return{'unitId':_0x601bc7,'subUnitId':_0xb77f72[_0x23701e(0x17a)]>0x0?_0xb77f72[0x0][_0x23701e(0x24c)][_0x23701e(0x3d5)]:null};}_0x43236a[_0x56fe62(0x39c)]=class{constructor(_0x5ad2c8,_0x241a0a,_0x52bf9f){var _0x247303=_0x56fe62;this[_0x247303(0x3c0)]=_0x5ad2c8,this[_0x247303(0x3bd)]=_0x241a0a,this[_0x247303(0x2e6)]=_0x52bf9f;}[_0x56fe62(0x430)](_0x492401){var _0x27c93f=_0x56fe62,_0x3b9e0f,_0x208c18,_0x53a15a,_0x39aea2;const _0x5a646d=this[_0x27c93f(0x3c0)][_0x27c93f(0x2ce)](_0x3b6fb7[_0x27c93f(0x48d)]),{unitId:_0x34cc81,subUnitId:_0x4b9b74}=_0x118815(_0x492401),_0x38a3e6=_0x5a646d==null?void 0x0:_0x5a646d[_0x27c93f(0x251)](_0x34cc81)[_0x27c93f(0x125)](),_0x3e733f=(_0x208c18=(_0x3b9e0f=this[_0x27c93f(0x2e6)]['getUnit'](_0x34cc81))==null?void 0x0:_0x3b9e0f[_0x27c93f(0x36a)]())==null?void 0x0:_0x208c18[_0x27c93f(0x30e)]();if(_0x38a3e6['length']===0x0||!_0x34cc81||!_0x4b9b74)return;const _0x1aa5ab=[{'id':_0x3b6fb7[_0x27c93f(0x498)]['id'],'params':{'unitId':_0x34cc81,'subUnitId':_0x3e733f,'selections':_0x132a8a[_0x27c93f(0x242)][_0x27c93f(0x1c8)](_0x38a3e6)}}],_0x492458=this['_transformService']['transformMutationsWithChangeset'](_0x492401,_0x1aa5ab);if(!_0x4a4eff['isTransformMutationsWithChangesetSuccess'](_0x492458))throw _0x492458[_0x27c93f(0x32b)];const _0x151029=(_0x39aea2=(_0x53a15a=_0x492458['m2Prime'][0x0])==null?void 0x0:_0x53a15a[_0x27c93f(0x24c)])==null?void 0x0:_0x39aea2[_0x27c93f(0x173)];if(Array[_0x27c93f(0x279)](_0x151029)&&_0x151029[_0x27c93f(0x17a)]){if(_0x151029[_0x27c93f(0x17a)]===_0x1aa5ab[0x0]['params'][_0x27c93f(0x173)][_0x27c93f(0x17a)]&&_0x151029[_0x27c93f(0x122)]((_0x30a87b,_0x124774)=>_0x132a8a['Rectangle'][_0x27c93f(0x3e3)](_0x30a87b[_0x27c93f(0x246)],_0x1aa5ab[0x0][_0x27c93f(0x24c)][_0x27c93f(0x173)][_0x124774][_0x27c93f(0x246)])))return;this['_injector'][_0x27c93f(0x2ce)](_0x132a8a[_0x27c93f(0x342)])[_0x27c93f(0x26a)](_0x3b6fb7[_0x27c93f(0x498)]['id'],{'unitId':_0x34cc81,'subUnitId':_0x3e733f,'selections':_0x151029});}}},_0x43236a[_0x56fe62(0x39c)]=_0xd69d3a([_0x165d53(0x0,_0x132a8a[_0x56fe62(0x1fa)](_0x132a8a[_0x56fe62(0x1ae)])),_0x165d53(0x1,_0x4a4eff[_0x56fe62(0x4a9)]),_0x165d53(0x2,_0x132a8a['IUniverInstanceService'])],_0x43236a[_0x56fe62(0x39c)]);const _0x4fa0d2=_0x132a8a[_0x56fe62(0x384)](_0x56fe62(0x414));var _0x494ec1=(_0x411ef8=>(_0x411ef8[_0x411ef8[_0x56fe62(0x3d2)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x411ef8[_0x411ef8[_0x56fe62(0x40e)]=0x1]=_0x56fe62(0x40e),_0x411ef8))(_0x494ec1||{});const _0x16e9e6=_0x56fe62(0x492),_0x498ad0={};function _0x575c33(_0x3c58d5){var _0x2657bb=_0x56fe62,_0x1b03eb;return!!((_0x1b03eb=_0x3c58d5['params'])!=null&&_0x1b03eb[_0x2657bb(0x204)]);}const _0x2d1465=new Set([_0x3b6fb7['InsertSheetMutation']['id']]);function _0x5c4962(_0x1e9a60,_0x5e5d67,_0x5b20de,_0x21adfc,_0x25254d){var _0x150bc7=_0x56fe62,_0x31e4b3,_0x11c331,_0x85764c,_0x5cb96a;const _0x43d01c=[];for(const _0x5c1961 of _0x1e9a60){if(_0x2d1465[_0x150bc7(0x172)](_0x5c1961['id'])){if(_0x43d01c[_0x150bc7(0x17a)]>0x0)break;_0x43d01c['push'](_0x5c1961);break;}if(_0x575c33(_0x5c1961)){if(_0x43d01c['length']>0x0)break;_0x43d01c[_0x150bc7(0x372)](_0x5c1961);break;}_0x43d01c[_0x150bc7(0x372)](_0x5c1961);}const _0x5627e1=(_0x11c331=(_0x31e4b3=_0x25254d[_0x150bc7(0x1ac)]())==null?void 0x0:_0x31e4b3[_0x150bc7(0x437)])!=null?_0x11c331:'unknown',_0x454e5e=(_0x5cb96a=(_0x85764c=_0x25254d[_0x150bc7(0x1ac)]())==null?void 0x0:_0x85764c[_0x150bc7(0x1b2)])!=null?_0x5cb96a:_0x150bc7(0x31d);return{'changeset':{'unitID':_0x5e5d67,'type':_0x4a4eff[_0x150bc7(0x26c)](_0x5b20de[_0x150bc7(0x322)](_0x5e5d67)),'baseRev':_0x21adfc['getCurrentRevOfUnit'](_0x5e5d67),'revision':0x0,'userID':_0x5627e1,'memberID':_0x454e5e,'mutations':_0x43d01c},'pendingMutations':_0x1e9a60[_0x150bc7(0x168)](_0x43d01c['length'])};}function _0x491ef9(_0x45633c,_0x4dd6a8,_0xa269b4,_0x537c8b,_0x33d748){var _0xfa8b1d=_0x56fe62,_0x596e1b,_0x3bc912,_0x525a36,_0xcad4d3;const _0x3c9473=[_0x45633c[_0xfa8b1d(0x1f5)]((_0x50e599,_0x1e7522)=>{var _0x2fd5c4=_0xfa8b1d,_0x24941e;const {id:_0x3a8aa9}=_0x50e599,{id:_0x23c0a4,type:_0x5b104a}=_0x1e7522,_0x174e01=(_0x24941e=_0x50e599[_0x2fd5c4(0x24c)])!=null?_0x24941e:{'actions':null},_0x7b15f1=_0x1e7522['params'];if(_0x3a8aa9&&_0x3a8aa9!==_0x23c0a4)throw new Error(_0x2fd5c4(0x1b5)+_0x3a8aa9+_0x2fd5c4(0x1bc)+_0x23c0a4+'.');return{..._0x50e599,'id':_0x23c0a4,'type':_0x5b104a,'params':{'unitId':_0x7b15f1[_0x2fd5c4(0x140)],'textRanges':_0x7b15f1[_0x2fd5c4(0x1be)],'actions':_0x132a8a[_0x2fd5c4(0x475)]['compose'](_0x174e01[_0x2fd5c4(0x190)],_0x7b15f1[_0x2fd5c4(0x190)])}};},{})],_0x5d424e=(_0x3bc912=(_0x596e1b=_0x33d748[_0xfa8b1d(0x1ac)]())==null?void 0x0:_0x596e1b['userID'])!=null?_0x3bc912:_0xfa8b1d(0x31d),_0x3b7489=(_0xcad4d3=(_0x525a36=_0x33d748['getCurrentUser']())==null?void 0x0:_0x525a36['memberID'])!=null?_0xcad4d3:'unknown';return{'changeset':{'unitID':_0x4dd6a8,'type':_0x4a4eff[_0xfa8b1d(0x26c)](_0xa269b4['getUnitType'](_0x4dd6a8)),'baseRev':_0x537c8b[_0xfa8b1d(0x1d9)](_0x4dd6a8),'revision':0x0,'userID':_0x5d424e,'memberID':_0x3b7489,'mutations':_0x3c9473},'pendingMutations':[]};}function _0x27b781(_0x598f92,_0x5609dc){var _0x19bea7=_0x56fe62;const _0x38f9e4=new _0x41f28e[(_0x19bea7(0x27f))](0x1);return setTimeout(()=>_0x38f9e4[_0x19bea7(0x360)](_0x5609dc),_0x598f92),_0x38f9e4[_0x19bea7(0x4ba)]()['pipe'](_0x41f28e['take'](0x1));}var _0x1410c1=Object[_0x56fe62(0x2f8)],_0x17f9d3=(_0x4e62a7,_0xb7710e,_0x9a5912,_0xbe2ac6)=>{for(var _0x7a0807=_0xbe2ac6>0x1?void 0x0:_0xbe2ac6?_0x1410c1(_0xb7710e,_0x9a5912):_0xb7710e,_0x4585bf=_0x4e62a7['length']-0x1,_0x5ba0a;_0x4585bf>=0x0;_0x4585bf--)(_0x5ba0a=_0x4e62a7[_0x4585bf])&&(_0x7a0807=_0x5ba0a(_0x7a0807)||_0x7a0807);return _0x7a0807;},_0x56631f=(_0x5d6359,_0x4724cd)=>(_0x54cf89,_0x5f3bcd)=>_0x4724cd(_0x54cf89,_0x5f3bcd,_0x5d6359),_0x1ce56e=(_0x36f514=>(_0x36f514['NOT_COLLAB']=_0x56fe62(0x1f6),_0x36f514[_0x56fe62(0x2d4)]=_0x56fe62(0x33d),_0x36f514['PENDING']='pending',_0x36f514[_0x56fe62(0x2a0)]=_0x56fe62(0x29d),_0x36f514[_0x56fe62(0x497)]='awaiting_with_pending',_0x36f514[_0x56fe62(0x445)]='fetch_missing',_0x36f514[_0x56fe62(0x421)]=_0x56fe62(0x448),_0x36f514[_0x56fe62(0x11e)]=_0x56fe62(0x2da),_0x36f514))(_0x1ce56e||{});const _0xceddff=0x4e20,_0x1b83db=0x2bf20;class _0x261201{constructor(_0x722837,_0x5b9c30,_0x4b4a8f,_0x4add2a,_0x16f112,_0x415ffe,_0x3c2c72,_0x3c6063,_0x411324){var _0x110d69=_0x56fe62;_0x18d62f(this,_0x110d69(0x47b),null),_0x18d62f(this,_0x110d69(0x24f),[]),(this[_0x110d69(0x463)]=_0x722837,this[_0x110d69(0x326)]=_0x5b9c30,this[_0x110d69(0x3d1)]=_0x16f112,this[_0x110d69(0x3b8)]=_0x415ffe,this[_0x110d69(0x356)]=_0x3c2c72,this['_revisionService']=_0x3c6063,this['_localCacheService']=_0x411324,this[_0x110d69(0x47b)]=_0x4b4a8f,this['_pendingMutations']=_0x4add2a);}[_0x56fe62(0x206)](_0x36174f){var _0x414cb2=_0x56fe62;const _0x39bf32=this[_0x414cb2(0x18b)][_0x414cb2(0x1d9)](this['unitID']);return _0x36174f[_0x414cb2(0x167)]>_0x39bf32+0x1?(this[_0x414cb2(0x3d1)][_0x414cb2(0x440)]({'from':_0x39bf32,'to':_0x36174f[_0x414cb2(0x167)]-0x1}),!0x0):!0x1;}[_0x56fe62(0x370)](_0x3fce0f){var _0x526b49=_0x56fe62;this[_0x526b49(0x356)][_0x526b49(0x2ca)](this[_0x526b49(0x463)],_0x3fce0f);}[_0x56fe62(0x44b)](_0x56e45b){var _0x185e79=_0x56fe62,_0x54c6e3,_0x526a49;(_0x526a49=(_0x54c6e3=this[_0x185e79(0x3d1)])[_0x185e79(0x4a4)])==null||_0x526a49[_0x185e79(0x208)](_0x54c6e3,_0x56e45b);}[_0x56fe62(0x1c3)](_0x3879c8){var _0x14c28a=_0x56fe62,_0x42292f,_0x31b045;return(_0x31b045=(_0x42292f=this[_0x14c28a(0x3d1)])['onTransformIME'])==null?void 0x0:_0x31b045[_0x14c28a(0x208)](_0x42292f,_0x3879c8);}[_0x56fe62(0x33c)](_0x435096){var _0x8261fd=_0x56fe62,_0x1ae602,_0x4d72fd;return(_0x4d72fd=(_0x1ae602=this['_handler'])[_0x8261fd(0x361)])==null?void 0x0:_0x4d72fd[_0x8261fd(0x208)](_0x1ae602,_0x435096);}['_transformRemoteChangesetByIMECache'](_0x29d7dd){var _0x5d4248=_0x56fe62,_0x2f8270,_0x417f57,_0x11f97f;return(_0x11f97f=(_0x417f57=(_0x2f8270=this[_0x5d4248(0x3d1)])[_0x5d4248(0x255)])==null?void 0x0:_0x417f57['call'](_0x2f8270,_0x29d7dd))!=null?_0x11f97f:_0x29d7dd;}[_0x56fe62(0x375)](_0x179e3e){var _0x5d56ee=_0x56fe62,_0x5c9e27,_0x576767,_0x16edac;return(_0x16edac=(_0x576767=(_0x5c9e27=this[_0x5d56ee(0x3d1)])[_0x5d56ee(0x43f)])==null?void 0x0:_0x576767['call'](_0x5c9e27,_0x179e3e))!=null?_0x16edac:_0x179e3e;}['_syncEditingCollabCursor'](_0x118dbf){var _0x1041c3=_0x56fe62,_0x577be6,_0x32801f;if(this[_0x1041c3(0x326)]===_0x5b3fe9[_0x1041c3(0x1b0)]){const {unitID:_0x42ab79,mutations:_0x31f7de,memberID:_0x377dae}=_0x118dbf,_0x41f79a=_0x31f7de[_0x1041c3(0x17a)]>0x0?_0x31f7de[0x0]['params'][_0x1041c3(0x1be)]:[];Array[_0x1041c3(0x279)](_0x41f79a)&&_0x41f79a[_0x1041c3(0x17a)]>0x0&&((_0x32801f=(_0x577be6=this[_0x1041c3(0x3d1)])[_0x1041c3(0x3a2)])==null||_0x32801f[_0x1041c3(0x208)](_0x577be6,{'unitID':_0x42ab79,'memberID':_0x377dae,'textRanges':_0x41f79a}));}}[_0x56fe62(0x12f)](){var _0x13609e=_0x56fe62,_0x8b6eb4;(_0x8b6eb4=this['_localCacheService'])==null||_0x8b6eb4['updateOfflineData'](this[_0x13609e(0x463)],this['type'],this[_0x13609e(0x47b)],this[_0x13609e(0x24f)]);}[_0x56fe62(0x369)](){var _0x554c69=_0x56fe62;return this['_revisionService'][_0x554c69(0x1d9)](this['unitID']);}[_0x56fe62(0x45f)](){var _0x185f0b=_0x56fe62;this[_0x185f0b(0x18b)][_0x185f0b(0x417)](this[_0x185f0b(0x463)]);}[_0x56fe62(0x410)](_0x1f32a6){var _0x3a8891=_0x56fe62,_0x2ad563;let _0x51ae7a=this[_0x3a8891(0x310)](_0x1f32a6);_0x51ae7a=this[_0x3a8891(0x375)](_0x51ae7a);const _0x881284=_0x132a8a[_0x3a8891(0x16e)](_0x51ae7a[_0x3a8891(0x409)],this['_commandService'],{'fromCollab':!0x0});if(!_0x881284[_0x3a8891(0x265)])throw _0x881284['error']instanceof Error?_0x881284[_0x3a8891(0x32b)]:new Error((_0x2ad563=_0x881284[_0x3a8891(0x32b)])!=null?_0x2ad563:'[CollaborationState]:\x20apply\x20error!');this[_0x3a8891(0x1c3)](_0x51ae7a),this[_0x3a8891(0x33c)](_0x51ae7a),this[_0x3a8891(0x370)](_0x1f32a6),this['_transformSelections'](_0x51ae7a),this[_0x3a8891(0x2f9)](_0x51ae7a),this[_0x3a8891(0x45f)]();}}_0x43236a['SyncedState']=class extends _0x261201{constructor(_0x289a5b,_0x202778,_0x34f8c9,_0x36e318,_0x272a1d,_0x33bfc1,_0x1bdb4e,_0x48cd78,_0x344daa,_0x4a7aa3){var _0x32aef1=_0x56fe62;super(_0x289a5b,_0x202778,null,[],_0x34f8c9,_0x1bdb4e,_0x33bfc1,_0x36e318,_0x4a7aa3),_0x18d62f(this,_0x32aef1(0x1a9),_0x32aef1(0x33d)),(this['_injector']=_0x272a1d,this['_logService']=_0x48cd78,this['_transformService']=_0x344daa,this[_0x32aef1(0x416)]=_0x4a7aa3);}[_0x56fe62(0x3a7)](_0x17565c){var _0xc95cf1=_0x56fe62;const _0x228b0a=this[_0xc95cf1(0x3c0)][_0xc95cf1(0x48b)](_0x43236a[_0xc95cf1(0x469)],this[_0xc95cf1(0x463)],this[_0xc95cf1(0x326)],[_0x17565c],this[_0xc95cf1(0x3d1)]);return _0x228b0a[_0xc95cf1(0x465)](),_0x228b0a[_0xc95cf1(0x12f)](),_0x228b0a;}[_0x56fe62(0x2ab)](_0x49e2f3){var _0x801f4a=_0x56fe62;if(this[_0x801f4a(0x206)](_0x49e2f3))return this[_0x801f4a(0x3c0)][_0x801f4a(0x48b)](_0x43236a[_0x801f4a(0x163)],this['unitID'],this[_0x801f4a(0x326)],null,[],null,[_0x49e2f3],this[_0x801f4a(0x3d1)]);try{const _0x2e0415=this[_0x801f4a(0x3bd)][_0x801f4a(0x3f6)](_0x49e2f3,[_0x4a4eff[_0x801f4a(0x489)]]);if(_0x4a4eff[_0x801f4a(0x433)](_0x2e0415)){const {c1Prime:_0x21b1d8}=_0x2e0415;return this['_executeRemoteChangeset'](_0x21b1d8),this;}throw _0x2e0415[_0x801f4a(0x32b)];}catch(_0x370ad9){return this[_0x801f4a(0x3ee)][_0x801f4a(0x32b)](_0x370ad9),this[_0x801f4a(0x422)](!0x1);}}[_0x56fe62(0x422)](_0xb142b1){var _0x49e8f2=_0x56fe62;return this[_0x49e8f2(0x3c0)]['createInstance'](_0x43236a[_0x49e8f2(0x188)],this[_0x49e8f2(0x463)],this[_0x49e8f2(0x326)],null,[],this[_0x49e8f2(0x3d1)],_0xb142b1);}[_0x56fe62(0x474)](){var _0x218b29=_0x56fe62;throw new Error(_0x218b29(0x400));}[_0x56fe62(0x3a0)](){var _0x1af59a=_0x56fe62;throw new Error(_0x1af59a(0x418));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x39e2cc=_0x56fe62;return this[_0x39e2cc(0x3c0)]['createInstance'](_0x43236a[_0x39e2cc(0x3e7)],this['unitID'],this[_0x39e2cc(0x326)],null,[],this[_0x39e2cc(0x3d1)]);}['toggleOnline'](){return this;}[_0x56fe62(0x3bc)](){var _0xa9430=_0x56fe62;throw new Error(_0xa9430(0x479));}[_0x56fe62(0x37a)](){var _0x2bdfce=_0x56fe62;const _0x1d6080=this['_revisionService']['getCurrentRevOfUnit'](this[_0x2bdfce(0x463)]);return this[_0x2bdfce(0x3d1)]['onMissingChangesets']({'from':_0x1d6080,'to':0x0}),this[_0x2bdfce(0x3c0)]['createInstance'](_0x43236a[_0x2bdfce(0x163)],this[_0x2bdfce(0x463)],this[_0x2bdfce(0x326)],null,[],null,[],this[_0x2bdfce(0x3d1)]);}},_0x43236a[_0x56fe62(0x3fe)]=_0x17f9d3([_0x56631f(0x3,_0x132a8a[_0x56fe62(0x1fa)](_0x4a4eff[_0x56fe62(0x37b)])),_0x56631f(0x4,_0x132a8a[_0x56fe62(0x1fa)](_0x132a8a[_0x56fe62(0x1ae)])),_0x56631f(0x5,_0x132a8a[_0x56fe62(0x1cd)]),_0x56631f(0x6,_0x132a8a[_0x56fe62(0x342)]),_0x56631f(0x7,_0x132a8a['ILogService']),_0x56631f(0x8,_0x4a4eff[_0x56fe62(0x4a9)]),_0x56631f(0x9,_0x132a8a[_0x56fe62(0x460)](_0x11f168))],_0x43236a[_0x56fe62(0x3fe)]),_0x43236a[_0x56fe62(0x469)]=class extends _0x261201{constructor(_0x3dc87f,_0x576dfa,_0x2b8f07,_0x7738a7,_0x5e43f9,_0x19a80b,_0x1cc572,_0x3e40f2,_0x1560d0,_0x47a83a,_0x4377f7,_0x99251c,_0x147d78,_0x1f9de4){var _0x2943c2=_0x56fe62;super(_0x3dc87f,_0x576dfa,null,_0x2b8f07,_0x7738a7,_0x1560d0,_0x147d78,_0x19a80b,_0x1f9de4),_0x18d62f(this,'status',_0x2943c2(0x315)),_0x18d62f(this,_0x2943c2(0x362),null),_0x18d62f(this,_0x2943c2(0x232),null),(this['_injector']=_0x5e43f9,this[_0x2943c2(0x351)]=_0x1cc572,this[_0x2943c2(0x3ee)]=_0x3e40f2,this[_0x2943c2(0x2f7)]=_0x47a83a,this[_0x2943c2(0x3bd)]=_0x4377f7,this[_0x2943c2(0x3fd)]=_0x99251c);}['appendMutation'](_0x46d036){var _0x5e13d8=_0x56fe62;return this[_0x5e13d8(0x24f)]['push'](_0x46d036),this[_0x5e13d8(0x12f)](),this;}[_0x56fe62(0x2ab)](_0x4e179f){var _0x2e9a27=_0x56fe62;if(this[_0x2e9a27(0x206)](_0x4e179f))return this[_0x2e9a27(0x146)](),this['_injector'][_0x2e9a27(0x48b)](_0x43236a[_0x2e9a27(0x163)],this[_0x2e9a27(0x463)],this[_0x2e9a27(0x326)],null,this[_0x2e9a27(0x24f)],null,[_0x4e179f],this[_0x2e9a27(0x3d1)]);try{const _0x421a99=this['_transformService'][_0x2e9a27(0x3f6)](_0x4e179f,this['_pendingMutations']);if(_0x4a4eff[_0x2e9a27(0x433)](_0x421a99)){const {c1Prime:_0x2d3291,m2Prime:_0x57a755}=_0x421a99;this[_0x2e9a27(0x410)](_0x2d3291);const _0x2023e9=this[_0x2e9a27(0x3c0)]['createInstance'](_0x43236a[_0x2e9a27(0x469)],this['unitID'],this[_0x2e9a27(0x326)],_0x57a755,this['_handler']);this[_0x2e9a27(0x146)]();const _0x5e845=new Date()[_0x2e9a27(0x160)](),_0x30b10d=this[_0x2e9a27(0x362)]?Math[_0x2e9a27(0x150)](this['_scheduleCompleteTimestamp']-_0x5e845,0x0):this[_0x2e9a27(0x3ec)]();return _0x2023e9[_0x2e9a27(0x465)](_0x30b10d),_0x2023e9;}throw _0x421a99['error'];}catch(_0x595ed6){return this[_0x2e9a27(0x3ee)][_0x2e9a27(0x32b)](_0x595ed6),this['_onConflict'](!0x1);}}['onRemoteAck'](){var _0x5bf637=_0x56fe62;throw new Error(_0x5bf637(0x178));}[_0x56fe62(0x3a0)](){var _0x2ef835=_0x56fe62;throw new Error(_0x2ef835(0x2f1));}[_0x56fe62(0x13f)](){return this;}[_0x56fe62(0x2e9)](){var _0x50e18b=_0x56fe62;return this[_0x50e18b(0x146)](),this[_0x50e18b(0x3c0)][_0x50e18b(0x48b)](_0x43236a[_0x50e18b(0x3e7)],this[_0x50e18b(0x463)],this[_0x50e18b(0x326)],null,this['_pendingMutations'],this['_handler']);}[_0x56fe62(0x216)](){return this;}[_0x56fe62(0x465)](_0x1fe539){var _0x481dd4=_0x56fe62;const _0x5c9fcf=_0x1fe539!=null?_0x1fe539:this[_0x481dd4(0x3ec)]();this[_0x481dd4(0x362)]=new Date()[_0x481dd4(0x160)]()+_0x5c9fcf,this[_0x481dd4(0x232)]=setTimeout(()=>{var _0x4c059a=_0x481dd4;this[_0x4c059a(0x146)]();let _0x56dacb=null;switch(this[_0x4c059a(0x326)]){case _0x5b3fe9[_0x4c059a(0x2a4)]:{_0x56dacb=_0x5c4962(this['_pendingMutations'],this[_0x4c059a(0x463)],this[_0x4c059a(0x3fd)],this[_0x4c059a(0x18b)],this[_0x4c059a(0x351)]);break;}case _0x5b3fe9[_0x4c059a(0x1b0)]:{this[_0x4c059a(0x24f)][_0x4c059a(0x122)](_0x4b3976=>_0x4b3976['id']===_0x172117[_0x4c059a(0x165)]['id'])?_0x56dacb=_0x491ef9(this[_0x4c059a(0x24f)],this[_0x4c059a(0x463)],this[_0x4c059a(0x3fd)],this[_0x4c059a(0x18b)],this[_0x4c059a(0x351)]):_0x56dacb=_0x5c4962(this[_0x4c059a(0x24f)],this['unitID'],this['_univerInstanceService'],this[_0x4c059a(0x18b)],this['_memberService']);break;}default:throw new Error(_0x4c059a(0x358)+this['type']+_0x4c059a(0x21e));}const {changeset:_0x45be3e,pendingMutations:_0x3b30a3}=_0x56dacb;this['_handler'][_0x4c059a(0x447)](_0x45be3e);const _0x39a5d2=_0x3b30a3[_0x4c059a(0x17a)]?this[_0x4c059a(0x3c0)]['createInstance'](_0x43236a[_0x4c059a(0x18e)],this[_0x4c059a(0x463)],this[_0x4c059a(0x326)],_0x45be3e,_0x3b30a3,this[_0x4c059a(0x3d1)],void 0x0):this[_0x4c059a(0x3c0)][_0x4c059a(0x48b)](_0x43236a['AwaitingState'],this['unitID'],this['type'],_0x45be3e,this[_0x4c059a(0x3d1)]);_0x39a5d2[_0x4c059a(0x12f)](),this[_0x4c059a(0x3d1)][_0x4c059a(0x2e8)](this,_0x39a5d2);},_0x5c9fcf);}['_getSendChangesetTimeout'](){var _0x5d1244=_0x56fe62,_0x280ca8;const _0x1d004c=this[_0x5d1244(0x2f7)][_0x5d1244(0x1ab)](_0x16e9e6);return(_0x280ca8=_0x1d004c==null?void 0x0:_0x1d004c[_0x5d1244(0x381)])!=null?_0x280ca8:0x7d0;}[_0x56fe62(0x3bc)](){var _0x199187=_0x56fe62;throw new Error(_0x199187(0x3bf));}[_0x56fe62(0x146)](){var _0x5ca41b=_0x56fe62;this[_0x5ca41b(0x232)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x5ca41b(0x232)]=null);}[_0x56fe62(0x422)](_0x173bc7){var _0x257a26=_0x56fe62;return this['_clearScheduledTask'](),this[_0x257a26(0x3c0)]['createInstance'](_0x43236a[_0x257a26(0x188)],this[_0x257a26(0x463)],this[_0x257a26(0x326)],null,this[_0x257a26(0x24f)],this[_0x257a26(0x3d1)],_0x173bc7);}},_0x43236a[_0x56fe62(0x469)]=_0x17f9d3([_0x56631f(0x4,_0x132a8a[_0x56fe62(0x1fa)](_0x132a8a[_0x56fe62(0x1ae)])),_0x56631f(0x5,_0x132a8a['Inject'](_0x4a4eff[_0x56fe62(0x37b)])),_0x56631f(0x6,_0x132a8a['Inject'](_0x43236a[_0x56fe62(0x3d4)])),_0x56631f(0x7,_0x132a8a['ILogService']),_0x56631f(0x8,_0x132a8a[_0x56fe62(0x342)]),_0x56631f(0x9,_0x132a8a[_0x56fe62(0x2cf)]),_0x56631f(0xa,_0x4a4eff[_0x56fe62(0x4a9)]),_0x56631f(0xb,_0x132a8a[_0x56fe62(0x1da)]),_0x56631f(0xc,_0x132a8a[_0x56fe62(0x1cd)]),_0x56631f(0xd,_0x132a8a[_0x56fe62(0x460)](_0x11f168))],_0x43236a[_0x56fe62(0x469)]),_0x43236a[_0x56fe62(0x23d)]=class extends _0x261201{constructor(_0x31c488,_0x5a12bc,_0x48a31f,_0x24985b,_0xac2208,_0x2bd8f5,_0x22fa38,_0x136904,_0x58616a,_0x1f03d9,_0x2a6af8){var _0x3887f6=_0x56fe62;super(_0x31c488,_0x5a12bc,_0x48a31f,[],_0x24985b,_0x22fa38,_0x1f03d9,_0x2bd8f5,_0x2a6af8),_0x18d62f(this,_0x3887f6(0x1a9),_0x3887f6(0x29d)),_0x18d62f(this,_0x3887f6(0x26d),0x0),_0x18d62f(this,_0x3887f6(0x2fa),0x0),_0x18d62f(this,'_resendTimer'),_0x18d62f(this,_0x3887f6(0x3d6)),(this[_0x3887f6(0x3c0)]=_0xac2208,this[_0x3887f6(0x3ee)]=_0x136904,this[_0x3887f6(0x3bd)]=_0x58616a);}[_0x56fe62(0x3a7)](_0xcc0db0){var _0x255d68=_0x56fe62;this[_0x255d68(0x146)]();const _0x22beae=this[_0x255d68(0x3c0)][_0x255d68(0x48b)](_0x43236a[_0x255d68(0x18e)],this[_0x255d68(0x463)],this['type'],this[_0x255d68(0x47b)],[_0xcc0db0],this['_handler'],this[_0x255d68(0x2e4)]);return _0x22beae[_0x255d68(0x12f)](),_0x22beae;}['onRemoteChangeset'](_0x269752){var _0x23016a=_0x56fe62;if(this['_checkMissing'](_0x269752))return this[_0x23016a(0x146)](),this[_0x23016a(0x3c0)][_0x23016a(0x48b)](_0x43236a['FetchingMissState'],this[_0x23016a(0x463)],this['type'],this[_0x23016a(0x47b)],[],null,[_0x269752],this['_handler']);try{const _0x283407=this[_0x23016a(0x3bd)][_0x23016a(0x2b2)]([_0x269752],[this[_0x23016a(0x47b)]],!0x1);if(_0x4a4eff[_0x23016a(0x347)](_0x283407)){const {c1Prime:_0x29210d,c2Prime:_0x3bdd15}=_0x283407;this[_0x23016a(0x410)](_0x29210d[0x0]),_0x3bdd15[0x0][_0x23016a(0x399)]=this[_0x23016a(0x369)](),this['_clearScheduledTask']();const _0x976274=this[_0x23016a(0x3c0)]['createInstance'](_0x43236a[_0x23016a(0x23d)],this[_0x23016a(0x463)],this[_0x23016a(0x326)],_0x3bdd15[0x0],this['_handler']);return _0x976274[_0x23016a(0x12f)](),_0x976274;}return this[_0x23016a(0x422)](!0x1);}catch(_0x105a83){return this[_0x23016a(0x3ee)][_0x23016a(0x32b)](_0x105a83),this[_0x23016a(0x422)](!0x1);}}['onRemoteAck'](_0x40458d){var _0x228045=_0x56fe62;this[_0x228045(0x146)]();const _0x1917e8=this['_revisionService'][_0x228045(0x1d9)](this[_0x228045(0x463)]);if(_0x40458d[_0x228045(0x167)]<_0x1917e8-0x1)return this;if(this[_0x228045(0x206)](_0x40458d))return this[_0x228045(0x3c0)][_0x228045(0x48b)](_0x43236a[_0x228045(0x163)],this[_0x228045(0x463)],this[_0x228045(0x326)],null,[],this[_0x228045(0x47b)],[],this['_handler']);this[_0x228045(0x45f)]();const _0x471d9d=this[_0x228045(0x3c0)][_0x228045(0x48b)](_0x43236a[_0x228045(0x3fe)],this[_0x228045(0x463)],this[_0x228045(0x326)],this['_handler']);return _0x471d9d[_0x228045(0x12f)](),_0x471d9d;}['onRemoteRej'](_0xf5f138){var _0x2bd7c3=_0x56fe62;return this[_0x2bd7c3(0x422)](!!(_0xf5f138!=null&&_0xf5f138[_0x2bd7c3(0x34d)]));}[_0x56fe62(0x13f)](_0x10d5e8){var _0x137bd5=_0x56fe62;return this[_0x137bd5(0x2fa)]>_0x1b83db?this[_0x137bd5(0x2e9)]():(this[_0x137bd5(0x2e4)]=_0x27b781(this[_0x137bd5(0x26d)],{'timeout':this[_0x137bd5(0x26d)],'reqId':_0x10d5e8['reqId']}),this[_0x137bd5(0x3d6)]=this[_0x137bd5(0x2e4)]['subscribe'](({reqId:_0x47dacd,timeout:_0x19a85f})=>{var _0x934776=_0x137bd5;this[_0x934776(0x3dd)](_0x47dacd,_0x19a85f);}),this);}[_0x56fe62(0x2e9)](){var _0x2e4406=_0x56fe62;return this[_0x2e4406(0x146)](),this[_0x2e4406(0x3c0)]['createInstance'](_0x43236a[_0x2e4406(0x3e7)],this[_0x2e4406(0x463)],this[_0x2e4406(0x326)],this[_0x2e4406(0x47b)],[],this[_0x2e4406(0x3d1)]);}[_0x56fe62(0x216)](){return this;}[_0x56fe62(0x3bc)](){var _0x392b8c=_0x56fe62;this[_0x392b8c(0x3d1)][_0x392b8c(0x447)](this[_0x392b8c(0x47b)]);}['_onConflict'](_0xfbb3e6){var _0x2814fa=_0x56fe62;return this[_0x2814fa(0x146)](),this['_injector'][_0x2814fa(0x48b)](_0x43236a[_0x2814fa(0x188)],this['unitID'],this[_0x2814fa(0x326)],this[_0x2814fa(0x47b)],[],this['_handler'],_0xfbb3e6);}[_0x56fe62(0x3dd)](_0x2f9b30,_0x3e0f07){var _0x3ac129=_0x56fe62,_0x5ad732;_0x2f9b30===((_0x5ad732=this['_awaitingChangeset'])==null?void 0x0:_0x5ad732['reqId'])&&(this['resend'](),this['_resendTimeout']=_0x3e0f07===0x0?0x3e8:Math[_0x3ac129(0x13c)](_0x3e0f07*0x2,_0xceddff),this['_maxTotalRetryTimeout']+=this[_0x3ac129(0x26d)]);}['_clearScheduledTask'](){var _0x1887aa=_0x56fe62,_0x5722fc;(_0x5722fc=this[_0x1887aa(0x3d6)])==null||_0x5722fc['unsubscribe'](),this[_0x1887aa(0x26d)]=0x0,this['_maxTotalRetryTimeout']=0x0;}},_0x43236a[_0x56fe62(0x23d)]=_0x17f9d3([_0x56631f(0x4,_0x132a8a[_0x56fe62(0x1fa)](_0x132a8a[_0x56fe62(0x1ae)])),_0x56631f(0x5,_0x132a8a[_0x56fe62(0x1fa)](_0x4a4eff[_0x56fe62(0x37b)])),_0x56631f(0x6,_0x132a8a[_0x56fe62(0x342)]),_0x56631f(0x7,_0x132a8a[_0x56fe62(0x3f7)]),_0x56631f(0x8,_0x4a4eff['ITransformService']),_0x56631f(0x9,_0x132a8a['IUndoRedoService']),_0x56631f(0xa,_0x132a8a[_0x56fe62(0x460)](_0x11f168))],_0x43236a['AwaitingState']),_0x43236a[_0x56fe62(0x18e)]=class extends _0x261201{constructor(_0x17c6e2,_0x3cf2de,_0x31a0a3,_0x2bd992,_0x4bedbc,_0x24ed12,_0x4e02d5,_0x58f0d1,_0x578431,_0x3fe941,_0x25cdc7,_0x4e7166,_0x2c4b9a){var _0x4f53cb=_0x56fe62;super(_0x17c6e2,_0x3cf2de,_0x31a0a3,_0x2bd992,_0x4bedbc,_0x578431,_0x4e7166,_0x58f0d1,_0x2c4b9a),_0x18d62f(this,'status','awaiting_with_pending'),_0x18d62f(this,'_resendTimeout',0x0),_0x18d62f(this,_0x4f53cb(0x2fa),0x0),_0x18d62f(this,_0x4f53cb(0x2e4)),_0x18d62f(this,_0x4f53cb(0x3d6)),(this[_0x4f53cb(0x3c0)]=_0x4e02d5,this[_0x4f53cb(0x3ee)]=_0x3fe941,this['_transformService']=_0x25cdc7,this[_0x4f53cb(0x416)]=_0x2c4b9a,_0x24ed12&&(this[_0x4f53cb(0x2e4)]=_0x24ed12,this[_0x4f53cb(0x3d6)]=this[_0x4f53cb(0x2e4)]['subscribe'](({reqId:_0x59d694,timeout:_0x3f686d})=>{this['_resendWithTimeout'](_0x59d694,_0x3f686d);})));}[_0x56fe62(0x3a7)](_0x52ff5d){var _0x236e2f=_0x56fe62;return this['_pendingMutations'][_0x236e2f(0x372)](_0x52ff5d),this;}[_0x56fe62(0x2ab)](_0x14761a){var _0x37f05c=_0x56fe62;if(this[_0x37f05c(0x206)](_0x14761a))return this[_0x37f05c(0x146)](),this['_injector'][_0x37f05c(0x48b)](_0x43236a[_0x37f05c(0x163)],this['unitID'],this[_0x37f05c(0x326)],this[_0x37f05c(0x47b)],this[_0x37f05c(0x24f)],null,[_0x14761a],this[_0x37f05c(0x3d1)]);try{const _0x5aaa35=this[_0x37f05c(0x3bd)][_0x37f05c(0x2b2)]([_0x14761a],[this['_awaitingChangeset']],!0x1);if(_0x4a4eff['isTransformChangesetsSuccess'](_0x5aaa35)){const {c1Prime:_0x199978,c2Prime:_0x5c31dd}=_0x5aaa35,_0x5f4416=this[_0x37f05c(0x3bd)][_0x37f05c(0x3f6)](_0x199978[0x0],this[_0x37f05c(0x24f)]);if(_0x4a4eff[_0x37f05c(0x433)](_0x5f4416)){const {c1Prime:_0x13989c,m2Prime:_0x170745}=_0x5f4416;return this[_0x37f05c(0x410)](_0x13989c),_0x5c31dd[0x0]['baseRev']=this[_0x37f05c(0x369)](),this[_0x37f05c(0x146)](),this[_0x37f05c(0x3c0)][_0x37f05c(0x48b)](_0x43236a[_0x37f05c(0x18e)],this[_0x37f05c(0x463)],this[_0x37f05c(0x326)],_0x5c31dd[0x0],_0x170745,this[_0x37f05c(0x3d1)],void 0x0);}throw _0x5f4416[_0x37f05c(0x32b)];}throw _0x5aaa35[_0x37f05c(0x32b)];}catch(_0x4532f8){return this[_0x37f05c(0x3ee)][_0x37f05c(0x32b)](_0x4532f8),this[_0x37f05c(0x422)](!0x1);}}[_0x56fe62(0x474)](_0x2ec21c){var _0x33d397=_0x56fe62;if(this[_0x33d397(0x146)](),this[_0x33d397(0x206)](_0x2ec21c))return this[_0x33d397(0x3c0)][_0x33d397(0x48b)](_0x43236a[_0x33d397(0x163)],this[_0x33d397(0x463)],this[_0x33d397(0x326)],null,this[_0x33d397(0x24f)],this[_0x33d397(0x47b)],[],this[_0x33d397(0x3d1)]);this[_0x33d397(0x45f)]();const _0x31552f=this[_0x33d397(0x3c0)][_0x33d397(0x48b)](_0x43236a[_0x33d397(0x469)],this[_0x33d397(0x463)],this['type'],this[_0x33d397(0x24f)],this[_0x33d397(0x3d1)]);return _0x31552f['_schedule'](),_0x31552f[_0x33d397(0x12f)](),_0x31552f;}[_0x56fe62(0x3a0)](_0x3ec89a){var _0x5f4dcc=_0x56fe62;return this['_onConflict'](!!(_0x3ec89a!=null&&_0x3ec89a[_0x5f4dcc(0x34d)]));}['onRemoteRetry'](_0x98bf2c){var _0x57930a=_0x56fe62;return this[_0x57930a(0x2fa)]>_0x1b83db?this[_0x57930a(0x2e9)]():(this[_0x57930a(0x2e4)]=_0x27b781(this['_resendTimeout'],{'timeout':this[_0x57930a(0x26d)],'reqId':_0x98bf2c[_0x57930a(0x45e)]}),this[_0x57930a(0x3d6)]=this['_resendTimer'][_0x57930a(0x3de)](({reqId:_0x2c1a22,timeout:_0x5e2b8b})=>{var _0x263d76=_0x57930a;this[_0x263d76(0x3dd)](_0x2c1a22,_0x5e2b8b);}),this);}['toggleOffline'](){var _0x4cdb0a=_0x56fe62;return this[_0x4cdb0a(0x146)](),this[_0x4cdb0a(0x3c0)][_0x4cdb0a(0x48b)](_0x43236a[_0x4cdb0a(0x3e7)],this[_0x4cdb0a(0x463)],this['type'],this[_0x4cdb0a(0x47b)],this[_0x4cdb0a(0x24f)],this[_0x4cdb0a(0x3d1)]);}['toggleOnline'](){return this;}[_0x56fe62(0x3bc)](){var _0x1e9755=_0x56fe62;this['_handler'][_0x1e9755(0x447)](this['_awaitingChangeset']);}[_0x56fe62(0x422)](_0x52c405){var _0x4ec0ea=_0x56fe62;return this[_0x4ec0ea(0x146)](),this['_injector'][_0x4ec0ea(0x48b)](_0x43236a[_0x4ec0ea(0x188)],this[_0x4ec0ea(0x463)],this[_0x4ec0ea(0x326)],null,this[_0x4ec0ea(0x24f)],this['_handler'],_0x52c405);}[_0x56fe62(0x3dd)](_0x16f797,_0x4f2e7c){var _0x5d5a26=_0x56fe62,_0x26f0a4;_0x16f797===((_0x26f0a4=this[_0x5d5a26(0x47b)])==null?void 0x0:_0x26f0a4[_0x5d5a26(0x45e)])&&(this[_0x5d5a26(0x3bc)](),this['_resendTimeout']=_0x4f2e7c===0x0?0x3e8:Math[_0x5d5a26(0x13c)](_0x4f2e7c*0x2,_0xceddff),this[_0x5d5a26(0x2fa)]+=this[_0x5d5a26(0x26d)]);}[_0x56fe62(0x146)](){var _0x478650=_0x56fe62,_0x5b9c13;(_0x5b9c13=this[_0x478650(0x3d6)])==null||_0x5b9c13[_0x478650(0x1a8)](),this[_0x478650(0x26d)]=0x0,this[_0x478650(0x2fa)]=0x0;}},_0x43236a[_0x56fe62(0x18e)]=_0x17f9d3([_0x56631f(0x6,_0x132a8a[_0x56fe62(0x1fa)](_0x132a8a['Injector'])),_0x56631f(0x7,_0x132a8a[_0x56fe62(0x1fa)](_0x4a4eff[_0x56fe62(0x37b)])),_0x56631f(0x8,_0x132a8a['ICommandService']),_0x56631f(0x9,_0x132a8a['ILogService']),_0x56631f(0xa,_0x4a4eff['ITransformService']),_0x56631f(0xb,_0x132a8a[_0x56fe62(0x1cd)]),_0x56631f(0xc,_0x132a8a[_0x56fe62(0x460)](_0x11f168))],_0x43236a[_0x56fe62(0x18e)]),_0x43236a[_0x56fe62(0x188)]=class extends _0x261201{constructor(_0x58a418,_0x1f157d,_0x4a95c8,_0x3e838c,_0x1118f9,_0x1458eb=!0x1,_0x9209d,_0x1af9ea,_0x124f83,_0x2fc80c,_0x8ab109,_0x5c8d91,_0x3a5c33){var _0x554417=_0x56fe62;super(_0x58a418,_0x1f157d,_0x4a95c8,_0x3e838c,_0x1118f9,_0x1af9ea,_0x124f83,_0x2fc80c,_0x3a5c33),_0x18d62f(this,_0x554417(0x1a9),_0x554417(0x448)),(this[_0x554417(0x3c4)]=_0x1458eb,this['_permissionService']=_0x9209d,this[_0x554417(0x21b)]=_0x8ab109,this['_collaborationUIEventService']=_0x5c8d91,this['localCacheService']=_0x3a5c33,this['_showConflictNotification'](),this[_0x554417(0x1cf)](),this[_0x554417(0x3ce)]());}[_0x56fe62(0x3a7)](){return this;}[_0x56fe62(0x2ab)](){return this;}[_0x56fe62(0x474)](){return this;}[_0x56fe62(0x3a0)](){return this;}[_0x56fe62(0x13f)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}[_0x56fe62(0x3bc)](){var _0x9df9c1=_0x56fe62;throw new Error(_0x9df9c1(0x189));}[_0x56fe62(0x1cf)](){var _0x3e5766=_0x56fe62,_0x3c6737;(_0x3c6737=this['_localCacheService'])==null||_0x3c6737[_0x3e5766(0x2a1)](this[_0x3e5766(0x463)],this['type'],null,[]);}[_0x56fe62(0x44f)](){var _0xfc9793=_0x56fe62;this[_0xfc9793(0x3c4)]?this[_0xfc9793(0x293)][_0xfc9793(0x24e)]({'id':_0x3fbd84[_0xfc9793(0x455)]}):this[_0xfc9793(0x293)][_0xfc9793(0x24e)]({'id':_0x3fbd84[_0xfc9793(0x421)]});}[_0x56fe62(0x3ce)](){var _0x4d7e1b=_0x56fe62;this[_0x4d7e1b(0x171)][_0x4d7e1b(0x31a)](new _0x3b6fb7[(_0x4d7e1b(0x46f))](this['unitID'])['id'],!0x1);}},_0x43236a[_0x56fe62(0x188)]=_0x17f9d3([_0x56631f(0x6,_0x132a8a['Inject'](_0x132a8a[_0x56fe62(0x1cc)])),_0x56631f(0x7,_0x132a8a['ICommandService']),_0x56631f(0x8,_0x132a8a[_0x56fe62(0x1cd)]),_0x56631f(0x9,_0x132a8a[_0x56fe62(0x1fa)](_0x4a4eff[_0x56fe62(0x37b)])),_0x56631f(0xa,_0x132a8a[_0x56fe62(0x1fa)](_0x132a8a[_0x56fe62(0x2ea)])),_0x56631f(0xb,_0x132a8a[_0x56fe62(0x1fa)](_0x3d2ec6)),_0x56631f(0xc,_0x132a8a['Optional'](_0x11f168))],_0x43236a[_0x56fe62(0x188)]),_0x43236a[_0x56fe62(0x3e7)]=class extends _0x261201{constructor(_0x36143a,_0x5e19af,_0x3b2e00,_0x4b7344,_0x290d7f,_0x2ffe6c,_0x10d0da,_0x3d35b4,_0x24ad9e,_0x2904b7){var _0x398d06=_0x56fe62;super(_0x36143a,_0x5e19af,_0x3b2e00,_0x4b7344,_0x290d7f,_0x3d35b4,_0x24ad9e,_0x10d0da,_0x2904b7),_0x18d62f(this,_0x398d06(0x1a9),_0x398d06(0x2da)),this['_injector']=_0x2ffe6c;}[_0x56fe62(0x3a7)](_0x1be84b){var _0x2302c3=_0x56fe62;return this[_0x2302c3(0x24f)][_0x2302c3(0x372)](_0x1be84b),this[_0x2302c3(0x12f)](),this;}['onRemoteChangeset'](_0x19254d){var _0x2f8adc=_0x56fe62;throw new Error(_0x2f8adc(0x28a));}[_0x56fe62(0x474)](){var _0x1c7bb9=_0x56fe62;throw new Error(_0x1c7bb9(0x245));}[_0x56fe62(0x3a0)](){var _0x5128f7=_0x56fe62;throw new Error(_0x5128f7(0x32c));}[_0x56fe62(0x13f)](){return this;}[_0x56fe62(0x2e9)](){return this;}[_0x56fe62(0x216)](){var _0x1d9075=_0x56fe62;const {_injector:_0x8796c3,_pendingMutations:_0x5d86eb,_awaitingChangeset:_0x2d43c5,unitID:_0x51d825,_handler:_0x2537f6,type:_0x3f9b6f}=this,_0x23e535=_0x18c48d(_0x8796c3,_0x51d825,_0x3f9b6f,_0x2d43c5,_0x5d86eb,_0x2537f6);return _0x23e535 instanceof _0x43236a[_0x1d9075(0x469)]?_0x23e535[_0x1d9075(0x465)]():(_0x23e535 instanceof _0x43236a[_0x1d9075(0x18e)]||_0x23e535 instanceof _0x43236a[_0x1d9075(0x23d)])&&_0x23e535[_0x1d9075(0x3bc)](),_0x23e535;}[_0x56fe62(0x3bc)](){var _0x5915fe=_0x56fe62;throw new Error(_0x5915fe(0x203));}},_0x43236a['OfflineState']=_0x17f9d3([_0x56631f(0x5,_0x132a8a[_0x56fe62(0x1fa)](_0x132a8a[_0x56fe62(0x1ae)])),_0x56631f(0x6,_0x132a8a[_0x56fe62(0x1fa)](_0x4a4eff['RevisionService'])),_0x56631f(0x7,_0x132a8a[_0x56fe62(0x342)]),_0x56631f(0x8,_0x132a8a[_0x56fe62(0x1cd)]),_0x56631f(0x9,_0x132a8a[_0x56fe62(0x460)](_0x11f168))],_0x43236a[_0x56fe62(0x3e7)]),_0x43236a['FetchingMissState']=class extends _0x261201{constructor(_0x4a6598,_0x2d5b5b,_0x39b059,_0x2a8ab2,_0x53df48,_0x45d52b,_0x4da1c1,_0x3110e8,_0x29f17e,_0x51066f,_0x3f9537,_0x2e0b36,_0x184dd7,_0x24403f){var _0x236528=_0x56fe62;super(_0x4a6598,_0x2d5b5b,_0x39b059,_0x2a8ab2,_0x4da1c1,_0x3f9537,_0x2e0b36,_0x29f17e,_0x24403f),_0x18d62f(this,_0x236528(0x1a9),_0x236528(0x43a)),(this['_acknowledgedAwaitingChangeset']=_0x53df48,this['_queuedRemoteChangesets']=_0x45d52b,this[_0x236528(0x3c0)]=_0x3110e8,this[_0x236528(0x3ee)]=_0x51066f,this['_transformService']=_0x184dd7,this['localCacheService']=_0x24403f);}[_0x56fe62(0x436)](_0x39bd3f){var _0x574059=_0x56fe62;try{const _0xf774c0=[..._0x39bd3f,...this[_0x574059(0x156)]],_0x877b53=[this[_0x574059(0x47b)]||this[_0x574059(0x23a)]][_0x574059(0x272)](_0x3c46cd=>!!_0x3c46cd);let _0x4da2fc,_0x4f7cce;if(_0x877b53[_0x574059(0x17a)]){const _0x45e15c=this[_0x574059(0x3bd)]['transformChangesets'](_0xf774c0,_0x877b53,!0x1);if(!_0x4a4eff['isTransformChangesetsSuccess'](_0x45e15c))throw _0x45e15c['error'];_0x4da2fc=_0x45e15c['c1Prime'],_0x4f7cce=_0x45e15c[_0x574059(0x344)];}else _0x4da2fc=_0xf774c0,_0x4f7cce=[];let _0x291120=this['_pendingMutations'];_0x4da2fc['forEach'](_0x40c041=>{var _0x907cec=_0x574059;let _0xe47654;if(_0x291120[_0x907cec(0x17a)]){const _0x52786d=this[_0x907cec(0x3bd)]['transformMutationsWithChangeset'](_0x40c041,_0x291120);if(!_0x4a4eff[_0x907cec(0x433)](_0x52786d))throw _0x52786d[_0x907cec(0x32b)];_0xe47654=_0x52786d[_0x907cec(0x303)],_0x291120=_0x52786d[_0x907cec(0x47e)];}else _0xe47654=_0x40c041;this['_executeRemoteChangeset'](_0xe47654);}),this[_0x574059(0x23a)]&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0x4f7cce[_0x574059(0x17a)]&&(_0x4f7cce[0x0][_0x574059(0x399)]=this[_0x574059(0x369)]());let _0x2caaca;if(this[_0x574059(0x47b)]&&_0x291120[_0x574059(0x17a)]!==0x0)_0x2caaca=this[_0x574059(0x3c0)][_0x574059(0x48b)](_0x43236a[_0x574059(0x18e)],this[_0x574059(0x463)],this[_0x574059(0x326)],_0x4f7cce[0x0],_0x291120,this[_0x574059(0x3d1)],void 0x0);else{if(this['_awaitingChangeset']&&_0x291120[_0x574059(0x17a)]===0x0)_0x4f7cce[0x0][_0x574059(0x399)]=this[_0x574059(0x369)](),_0x2caaca=this[_0x574059(0x3c0)][_0x574059(0x48b)](_0x43236a[_0x574059(0x23d)],this[_0x574059(0x463)],this[_0x574059(0x326)],_0x4f7cce[0x0],this[_0x574059(0x3d1)]);else{if(_0x291120[_0x574059(0x17a)]!==0x0){const _0x2f2b5f=this[_0x574059(0x3c0)][_0x574059(0x48b)](_0x43236a[_0x574059(0x469)],this[_0x574059(0x463)],this[_0x574059(0x326)],_0x291120,this[_0x574059(0x3d1)]);_0x2f2b5f[_0x574059(0x465)](),_0x2caaca=_0x2f2b5f;}else _0x2caaca=this[_0x574059(0x3c0)][_0x574059(0x48b)](_0x43236a[_0x574059(0x3fe)],this[_0x574059(0x463)],this[_0x574059(0x326)],this[_0x574059(0x3d1)]);}}return _0x2caaca[_0x574059(0x12f)](),_0x2caaca;}catch(_0x152852){return this[_0x574059(0x3ee)][_0x574059(0x32b)]('[FetchMissState]',_0x574059(0x31e),_0x152852),this[_0x574059(0x3c0)]['createInstance'](_0x43236a[_0x574059(0x188)],this[_0x574059(0x463)],this[_0x574059(0x326)],this[_0x574059(0x47b)],this[_0x574059(0x24f)],this[_0x574059(0x3d1)],!0x1);}}['resend'](){var _0x58947c=_0x56fe62;throw new Error(_0x58947c(0x1f0));}[_0x56fe62(0x3a7)](_0xf1cd65){var _0x361fb8=_0x56fe62;return this[_0x361fb8(0x24f)]['push'](_0xf1cd65),this;}[_0x56fe62(0x2ab)](_0x34676c){var _0x35adc6=_0x56fe62;return this[_0x35adc6(0x156)][_0x35adc6(0x372)](_0x34676c),this;}['onRemoteAck'](_0x5bd34d){var _0x47274f=_0x56fe62;if(this['_awaitingChangeset'])return this[_0x47274f(0x23a)]=this[_0x47274f(0x47b)],this['_awaitingChangeset']=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x123a10){var _0x3050fb=_0x56fe62;return this[_0x3050fb(0x422)](!!(_0x123a10!=null&&_0x123a10[_0x3050fb(0x34d)]));}[_0x56fe62(0x13f)](){return this;}[_0x56fe62(0x2e9)](){var _0x35f98a=_0x56fe62;return this[_0x35f98a(0x3c0)][_0x35f98a(0x48b)](_0x43236a[_0x35f98a(0x3e7)],this['unitID'],this[_0x35f98a(0x326)],this[_0x35f98a(0x47b)],this['_pendingMutations'],this[_0x35f98a(0x3d1)]);}[_0x56fe62(0x216)](){return this;}[_0x56fe62(0x422)](_0x168057){var _0x11132c=_0x56fe62;return this[_0x11132c(0x3c0)]['createInstance'](_0x43236a[_0x11132c(0x188)],this['unitID'],this[_0x11132c(0x326)],this[_0x11132c(0x47b)],this[_0x11132c(0x24f)],this[_0x11132c(0x3d1)],_0x168057);}},_0x43236a[_0x56fe62(0x163)]=_0x17f9d3([_0x56631f(0x7,_0x132a8a['Inject'](_0x132a8a['Injector'])),_0x56631f(0x8,_0x132a8a[_0x56fe62(0x1fa)](_0x4a4eff[_0x56fe62(0x37b)])),_0x56631f(0x9,_0x132a8a[_0x56fe62(0x3f7)]),_0x56631f(0xa,_0x132a8a[_0x56fe62(0x342)]),_0x56631f(0xb,_0x132a8a['IUndoRedoService']),_0x56631f(0xc,_0x4a4eff[_0x56fe62(0x4a9)]),_0x56631f(0xd,_0x132a8a['Optional'](_0x11f168))],_0x43236a[_0x56fe62(0x163)]);function _0x18c48d(_0x292abc,_0x2baaa4,_0x3dd4f5,_0x1daef1,_0x562a3e,_0xc785ef){var _0x56c4ae=_0x56fe62;return _0x1daef1&&_0x562a3e[_0x56c4ae(0x17a)]?_0x292abc['createInstance'](_0x43236a[_0x56c4ae(0x18e)],_0x2baaa4,_0x3dd4f5,_0x1daef1,_0x562a3e,_0xc785ef,void 0x0):_0x1daef1?_0x292abc['createInstance'](_0x43236a['AwaitingState'],_0x2baaa4,_0x3dd4f5,_0x1daef1,_0xc785ef):_0x562a3e['length']?_0x292abc[_0x56c4ae(0x48b)](_0x43236a['PendingState'],_0x2baaa4,_0x3dd4f5,_0x562a3e,_0xc785ef):_0x292abc[_0x56c4ae(0x48b)](_0x43236a[_0x56c4ae(0x3fe)],_0x2baaa4,_0x3dd4f5,_0xc785ef);}var _0x48ac7e=Object[_0x56fe62(0x2f8)],_0x5e7589=(_0x500ec0,_0x352fe2,_0x24360e,_0x9d20b4)=>{var _0xa2e161=_0x56fe62;for(var _0x4036b7=_0x9d20b4>0x1?void 0x0:_0x9d20b4?_0x48ac7e(_0x352fe2,_0x24360e):_0x352fe2,_0x5d8ba6=_0x500ec0[_0xa2e161(0x17a)]-0x1,_0x3804fa;_0x5d8ba6>=0x0;_0x5d8ba6--)(_0x3804fa=_0x500ec0[_0x5d8ba6])&&(_0x4036b7=_0x3804fa(_0x4036b7)||_0x4036b7);return _0x4036b7;},_0x2519fe=(_0x4081ad,_0x39b5ac)=>(_0x561b4c,_0x18541c)=>_0x39b5ac(_0x561b4c,_0x18541c,_0x4081ad);_0x43236a[_0x56fe62(0x1a5)]=class extends _0x132a8a['RxDisposable']{constructor(_0x179088,_0x2e5ed5,_0x157f2b,_0x1d01dd,_0x47bce3,_0x3572dd,_0x1e013a,_0x3c7698,_0x340b0a,_0x402def,_0x1a42f9,_0x11b10b,_0x3080be,_0x284e91){var _0x4384b9=_0x56fe62;super(),_0x18d62f(this,_0x4384b9(0x2ae),new _0x41f28e['BehaviorSubject'](null)),_0x18d62f(this,_0x4384b9(0x44a),this[_0x4384b9(0x2ae)][_0x4384b9(0x4ba)]()),_0x18d62f(this,_0x4384b9(0x1f1)),_0x18d62f(this,_0x4384b9(0x153),!0x1),_0x18d62f(this,'_changesetSessionId',''),_0x18d62f(this,'_changesetReqId',0x0),_0x18d62f(this,_0x4384b9(0x201),this[_0x4384b9(0x44a)][_0x4384b9(0x2d1)](_0x41f28e[_0x4384b9(0x290)](_0x3a4028=>_0x3a4028?_0x3a4028[_0x4384b9(0x1a9)]:_0x1ce56e[_0x4384b9(0x11e)]),_0x41f28e[_0x4384b9(0x15a)](0x1))),_0x18d62f(this,'_transitionLocked',!0x1),_0x18d62f(this,_0x4384b9(0x1f7),[]),(this[_0x4384b9(0x463)]=_0x179088,this[_0x4384b9(0x1ed)]=_0x2e5ed5,this[_0x4384b9(0x1dd)]=_0x157f2b,this[_0x4384b9(0x3c0)]=_0x1d01dd,this['_compressMutationService']=_0x47bce3,this['_localeService']=_0x3572dd,this[_0x4384b9(0x18b)]=_0x1e013a,this[_0x4384b9(0x118)]=_0x3c7698,this['_univerInstanceService']=_0x340b0a,this[_0x4384b9(0x3ee)]=_0x402def,this[_0x4384b9(0x3b8)]=_0x1a42f9,this['_permissionService']=_0x11b10b,this[_0x4384b9(0x138)]=_0x3080be,this['_localCacheService']=_0x284e91);}get[_0x56fe62(0x462)](){return this['_state'];}async[_0x56fe62(0x161)](){var _0x520f2a=_0x56fe62;if(this['state'])throw new Error(_0x520f2a(0x480));await this[_0x520f2a(0x403)]();}[_0x56fe62(0x46d)](){var _0xa2116d=_0x56fe62;return this[_0xa2116d(0x153)]=!0x0,_0x132a8a['toDisposable'](()=>{var _0x597891=_0xa2116d;this[_0x597891(0x153)]=!0x1,this[_0x597891(0x164)]();});}[_0x56fe62(0x40c)](_0x543bb1){this['_onLocalMutation'](_0x543bb1);}[_0x56fe62(0x241)](_0x264adc){var _0x314304=_0x56fe62;this['_state']=_0x264adc,this['_state$'][_0x314304(0x360)](_0x264adc);}async[_0x56fe62(0x403)](){var _0x190356=_0x56fe62,_0x29bace;this[_0x190356(0x241)](await this[_0x190356(0x2d6)]()),this['_singleActiveUnitService']&&((_0x29bace=this[_0x190356(0x138)])==null||_0x29bace[_0x190356(0x1c5)](this['unitID']),this[_0x190356(0x29a)](this[_0x190356(0x138)][_0x190356(0x1ff)](this['unitID'])[_0x190356(0x3de)](_0x53f119=>{var _0x5168a8=_0x190356;this[_0x5168a8(0x3ee)][_0x5168a8(0x181)]('[CollaborationEntity]',_0x5168a8(0x186),_0x53f119),_0x53f119===_0x494ec1[_0x5168a8(0x40e)]?(this[_0x5168a8(0x118)][_0x5168a8(0x24e)]({'id':_0x3fbd84[_0x5168a8(0x2d9)]}),this[_0x5168a8(0x171)][_0x5168a8(0x31a)](new _0x3b6fb7['WorkbookEditablePermission'](this[_0x5168a8(0x463)])['id'],!0x1),this['_permissionService'][_0x5168a8(0x3d7)](!0x1)):(this[_0x5168a8(0x171)][_0x5168a8(0x31a)](new _0x3b6fb7['WorkbookEditablePermission'](this[_0x5168a8(0x463)])['id'],!0x0),this[_0x5168a8(0x171)][_0x5168a8(0x3d7)](!0x0));})));let _0x2b88a3=!0x1;return this[_0x190356(0x29a)](this[_0x190356(0x1ed)][_0x190356(0x27e)][_0x190356(0x3de)](_0x26d303=>{var _0x1e268e=_0x190356;_0x26d303===_0x49f99f[_0x1e268e(0x456)]?this[_0x1e268e(0x129)](_0x2b88a3):_0x26d303===_0x49f99f[_0x1e268e(0x11e)]&&(_0x2b88a3=!0x0,this[_0x1e268e(0x37c)]());})),this[_0x190356(0x29a)](this['session'][_0x190356(0x247)][_0x190356(0x3de)](_0x272e9a=>{var _0x5616a5=_0x190356;try{switch(_0x272e9a[_0x5616a5(0x3e2)]){case _0x4a4eff[_0x5616a5(0x19d)][_0x5616a5(0x17c)]:{this['_onRemoteChangeset'](_0x4a4eff[_0x5616a5(0x1b6)](_0x272e9a[_0x5616a5(0x483)]));break;}case _0x4a4eff[_0x5616a5(0x19d)][_0x5616a5(0x4b2)]:{this['_onRemoteACK'](_0x272e9a[_0x5616a5(0x483)]);break;}case _0x4a4eff[_0x5616a5(0x19d)][_0x5616a5(0x488)]:{this[_0x5616a5(0x2b0)]();break;}case _0x4a4eff['CollaborationEvent'][_0x5616a5(0x213)]:{this[_0x5616a5(0x339)](_0x272e9a[_0x5616a5(0x483)]);break;}case _0x4a4eff[_0x5616a5(0x19d)][_0x5616a5(0x256)]:{this[_0x5616a5(0x29c)](_0x272e9a[_0x5616a5(0x483)][_0x5616a5(0x187)][_0x5616a5(0x290)](_0x541964=>_0x4a4eff[_0x5616a5(0x1b6)](_0x541964)));break;}case _0x4a4eff[_0x5616a5(0x19d)][_0x5616a5(0x199)]:{this[_0x5616a5(0x2b0)]({'isPermissionRej':!0x0});break;}case _0x4a4eff[_0x5616a5(0x19d)][_0x5616a5(0x2cd)]:break;}}catch(_0x2287fe){throw console[_0x5616a5(0x32b)](_0x5616a5(0x192),_0x2287fe),_0x2287fe;}})),this[_0x190356(0x1f1)];}[_0x56fe62(0x493)](){var _0x2611a2=_0x56fe62;this[_0x2611a2(0x133)]=!0x1;}[_0x56fe62(0x2eb)](){if(this['_transitionLocked'])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x515ba1){var _0xefbfc9=_0x56fe62;this['_lockTransition'](),this[_0xefbfc9(0x241)](this[_0xefbfc9(0x1f1)][_0xefbfc9(0x3a7)](_0x515ba1)),this[_0xefbfc9(0x493)]();}['_onRemoteChangeset'](_0x14288b){var _0x4dfe8d=_0x56fe62;if(!(_0x14288b[_0x4dfe8d(0x167)]<=this[_0x4dfe8d(0x18b)][_0x4dfe8d(0x1d9)](this[_0x4dfe8d(0x463)]))){if(this['_collaborationPaused']){this[_0x4dfe8d(0x1f7)][_0x4dfe8d(0x372)](_0x14288b);return;}this[_0x4dfe8d(0x11f)](_0x14288b);}}['_exhaustRemoteChangesetQueue'](){var _0x45f6ef=_0x56fe62;this[_0x45f6ef(0x1f7)]['forEach'](_0xa577ac=>this[_0x45f6ef(0x11f)](_0xa577ac)),this[_0x45f6ef(0x1f7)]=[];}['_applyRemoteChangeset'](_0x1c3a4c){var _0x56fd33=_0x56fe62;const _0x5e4165=this[_0x56fd33(0x1e3)]['interceptor'][_0x56fd33(0x3cb)](this[_0x56fd33(0x1e3)]['interceptor'][_0x56fd33(0x2a9)]()['COMPRESS_MUTATION_APPLY'])(_0x1c3a4c['mutations'],null)||_0x1c3a4c['mutations'],_0x4bb448={..._0x1c3a4c,'mutations':_0x5e4165};this[_0x56fd33(0x2eb)](),this[_0x56fd33(0x241)](this[_0x56fd33(0x1f1)][_0x56fd33(0x2ab)](_0x4bb448)),this['_unlockTransition']();}[_0x56fe62(0x484)](_0x1d7562){var _0x660618=_0x56fe62;this[_0x660618(0x2eb)](),this[_0x660618(0x241)](this[_0x660618(0x1f1)][_0x660618(0x474)](_0x1d7562)),this[_0x660618(0x493)]();}[_0x56fe62(0x2b0)](_0x55dd9b){var _0x2e3628=_0x56fe62;this['_lockTransition'](),this[_0x2e3628(0x241)](this[_0x2e3628(0x1f1)][_0x2e3628(0x3a0)](_0x55dd9b)),this['_unlockTransition']();}[_0x56fe62(0x339)](_0x52e2ca){var _0x253fad=_0x56fe62;this[_0x253fad(0x2eb)](),this['_updateState'](this[_0x253fad(0x1f1)]['onRemoteRetry'](_0x52e2ca)),this[_0x253fad(0x493)]();}[_0x56fe62(0x29c)](_0x10147d){var _0xc532f5=_0x56fe62;if(!(this[_0xc532f5(0x1f1)]instanceof _0x43236a[_0xc532f5(0x163)]))throw new TypeError(_0xc532f5(0x22f));const _0x47289b=_0x10147d['map'](_0x3bfe7e=>{var _0x5356b0=_0xc532f5;const _0x53084a=this[_0x5356b0(0x1e3)][_0x5356b0(0x2be)][_0x5356b0(0x3cb)](this['_compressMutationService'][_0x5356b0(0x2be)][_0x5356b0(0x2a9)]()[_0x5356b0(0x3e5)])(_0x3bfe7e[_0x5356b0(0x409)],null)||_0x3bfe7e['mutations'];return{..._0x3bfe7e,'mutations':_0x53084a};});this[_0xc532f5(0x2eb)](),this[_0xc532f5(0x241)](this[_0xc532f5(0x1f1)]['onMissedChangesetFetched'](_0x47289b)),this[_0xc532f5(0x493)]();}[_0x56fe62(0x37c)](){var _0x53bbde=_0x56fe62;this[_0x53bbde(0x2eb)](),this[_0x53bbde(0x241)](this['_state'][_0x53bbde(0x2e9)]()),this[_0x53bbde(0x493)]();}[_0x56fe62(0x129)](_0x5bbe3a=!0x1){var _0x26ffb8=_0x56fe62;this[_0x26ffb8(0x2eb)](),this['_updateState'](this[_0x26ffb8(0x1f1)]['toggleOnline']()),this[_0x26ffb8(0x493)]();const _0x576fa0=this['_state'];_0x5bbe3a&&_0x576fa0 instanceof _0x43236a[_0x26ffb8(0x3fe)]&&(this[_0x26ffb8(0x2eb)](),this['_updateState'](_0x576fa0[_0x26ffb8(0x37a)]()),this[_0x26ffb8(0x493)]());}async[_0x56fe62(0x2d6)](){return new Promise(_0x232b1a=>{var _0x4ca92b=_0x3662;this['session'][_0x4ca92b(0x27e)][_0x4ca92b(0x2d1)](_0x41f28e[_0x4ca92b(0x300)](0x1))['subscribe'](async _0x8bcf85=>{var _0x5edca0=_0x4ca92b;_0x232b1a(await this[_0x5edca0(0x180)](_0x8bcf85===_0x49f99f[_0x5edca0(0x456)]));});});}['_createHandler'](){var _0x1ada90=_0x56fe62;const _0x4b6932=this[_0x1ada90(0x463)];return{'onStateChange':(_0x939763,_0x101e80)=>{var _0x3dd408=_0x1ada90;if(_0x939763!==this[_0x3dd408(0x1f1)])throw new Error(_0x3dd408(0x343)+_0x939763[_0x3dd408(0x1a9)]+_0x3dd408(0x47d)+_0x101e80[_0x3dd408(0x1a9)]+'\x0aCurrent:\x20'+this[_0x3dd408(0x1f1)][_0x3dd408(0x1a9)]);this['_updateState'](_0x101e80);},'onSendChangeset':_0x28beb5=>{var _0x53156d=_0x1ada90;_0x28beb5[_0x53156d(0x46b)]||(_0x28beb5[_0x53156d(0x46b)]=this['_changesetSessionId'],_0x28beb5[_0x53156d(0x45e)]=++this[_0x53156d(0x282)]);const _0x2f8035={'eventID':_0x4a4eff[_0x53156d(0x19d)][_0x53156d(0x174)],'data':{'unitID':_0x28beb5[_0x53156d(0x463)],'unitType':this['_type'],'changeset':_0x28beb5,'memberID':this[_0x53156d(0x1ed)]['getMemberID']()}};this['session'][_0x53156d(0x49a)](_0x2f8035,this[_0x53156d(0x463)]);},'onMissingChangesets':({from:_0x4a8618,to:_0x434d5f})=>{var _0x5b3ff6=_0x1ada90;this[_0x5b3ff6(0x3ee)][_0x5b3ff6(0x181)](_0x5b3ff6(0x4ab),_0x5b3ff6(0x298)+_0x4a8618+_0x5b3ff6(0x2de)+_0x434d5f);const _0x4abd51={'eventID':_0x4a4eff[_0x5b3ff6(0x19d)][_0x5b3ff6(0x496)],'data':{'unitID':_0x4b6932,'unitType':this[_0x5b3ff6(0x1dd)],'from':_0x4a8618,'to':_0x434d5f}};this['session'][_0x5b3ff6(0x49a)](_0x4abd51,this['unitID']);}};}async[_0x56fe62(0x180)](_0xce73f0){var _0x2419ca=_0x56fe62,_0x434890,_0x1abf56,_0x491f61;const _0x16a75b=await((_0x434890=this[_0x2419ca(0x3fb)])==null?void 0x0:_0x434890[_0x2419ca(0x3ad)](this[_0x2419ca(0x463)])),_0x3b0e9a=(_0x1abf56=_0x16a75b==null?void 0x0:_0x16a75b[_0x2419ca(0x409)])!=null?_0x1abf56:[],_0x4bb3fc=(_0x491f61=_0x16a75b==null?void 0x0:_0x16a75b['awaitingChangeset'])!=null?_0x491f61:null,_0x2ad72e=!!(_0x4bb3fc!=null&&_0x4bb3fc[_0x2419ca(0x46b)])&&!!(_0x4bb3fc!=null&&_0x4bb3fc['reqId']);this[_0x2419ca(0x1e6)]=_0x2ad72e?_0x4bb3fc[_0x2419ca(0x46b)]:_0x4a4eff[_0x2419ca(0x306)](),this['_changesetReqId']=_0x2ad72e?_0x4bb3fc[_0x2419ca(0x45e)]:0x0;const _0x2c8397=this[_0x2419ca(0x463)];try{this[_0x2419ca(0x214)](_0x4bb3fc,_0x3b0e9a);}catch(_0x1d273c){this['_logService'][_0x2419ca(0x32b)](_0x1d273c);}const _0x51a9eb=this[_0x2419ca(0x1db)]();if(_0xce73f0){const _0x3d8b57=_0x18c48d(this[_0x2419ca(0x3c0)],_0x2c8397,this[_0x2419ca(0x1dd)],_0x4bb3fc,_0x3b0e9a,_0x51a9eb);return _0x3d8b57 instanceof _0x43236a[_0x2419ca(0x469)]?_0x3d8b57['_schedule']():(_0x3d8b57 instanceof _0x43236a[_0x2419ca(0x18e)]||_0x3d8b57 instanceof _0x43236a['AwaitingState'])&&_0x3d8b57[_0x2419ca(0x3bc)](),_0x3d8b57;}return this[_0x2419ca(0x3c0)][_0x2419ca(0x48b)](_0x43236a[_0x2419ca(0x3e7)],_0x2c8397,this[_0x2419ca(0x1dd)],_0x4bb3fc,_0x3b0e9a,_0x51a9eb);}[_0x56fe62(0x214)](_0x1b9c67,_0x31014a){var _0x10ae55=_0x56fe62,_0x55f89c,_0x160517;const _0x27fe84=this[_0x10ae55(0x1e3)]['interceptor']['fetchThroughInterceptors'](this['_compressMutationService'][_0x10ae55(0x2be)][_0x10ae55(0x2a9)]()[_0x10ae55(0x3e5)]);(_0x55f89c=_0x27fe84((_0x1b9c67==null?void 0x0:_0x1b9c67[_0x10ae55(0x409)])||[],null))==null||_0x55f89c[_0x10ae55(0x13d)](_0x594d48=>this[_0x10ae55(0x3b8)]['executeCommand'](_0x594d48['id'],_0x594d48['params'])),(_0x160517=_0x27fe84(_0x31014a||[],null))==null||_0x160517[_0x10ae55(0x13d)](_0x5b1342=>this[_0x10ae55(0x3b8)][_0x10ae55(0x26a)](_0x5b1342['id'],_0x5b1342[_0x10ae55(0x24c)]));}},_0x43236a[_0x56fe62(0x1a5)]=_0x5e7589([_0x2519fe(0x3,_0x132a8a['Inject'](_0x132a8a[_0x56fe62(0x1ae)])),_0x2519fe(0x4,_0x132a8a['Inject'](_0x4a4eff['CompressMutationService'])),_0x2519fe(0x5,_0x132a8a['Inject'](_0x132a8a[_0x56fe62(0x2ea)])),_0x2519fe(0x6,_0x132a8a[_0x56fe62(0x1fa)](_0x4a4eff[_0x56fe62(0x37b)])),_0x2519fe(0x7,_0x132a8a[_0x56fe62(0x1fa)](_0x3d2ec6)),_0x2519fe(0x8,_0x132a8a['IUniverInstanceService']),_0x2519fe(0x9,_0x132a8a[_0x56fe62(0x3f7)]),_0x2519fe(0xa,_0x132a8a[_0x56fe62(0x342)]),_0x2519fe(0xb,_0x132a8a[_0x56fe62(0x1cc)]),_0x2519fe(0xc,_0x132a8a[_0x56fe62(0x460)](_0x4fa0d2)),_0x2519fe(0xd,_0x132a8a['Optional'](_0x11f168))],_0x43236a['CollaborationEntity']),_0x43236a[_0x56fe62(0x345)]=class extends _0x43236a[_0x56fe62(0x1a5)]{constructor(_0x1077e8,_0x2eae31,_0x30afd1,_0x5ee45d,_0x527e4a,_0x348f2c,_0x173647,_0x1bd104,_0x2b4400,_0x3a575e,_0x34f79e,_0x5515ca,_0x49e7d7,_0x3b3b67){var _0x2b753a=_0x56fe62;super(_0x1077e8,_0x30afd1,_0x2eae31,_0x5ee45d,_0x527e4a,_0x348f2c,_0x173647,_0x1bd104,_0x2b4400,_0x3a575e,_0x34f79e,_0x5515ca,_0x49e7d7,_0x3b3b67),_0x18d62f(this,_0x2b753a(0x176),null),(this[_0x2b753a(0x463)]=_0x1077e8,this[_0x2b753a(0x326)]=_0x2eae31);}[_0x56fe62(0x1dc)](_0x1ee4cc){this['_handlerCallback']=_0x1ee4cc;}['dispose'](){var _0x7b8a1e=_0x56fe62;this[_0x7b8a1e(0x176)]=null,super[_0x7b8a1e(0x149)]();}['_createHandler'](){var _0x5e7284=_0x56fe62;const _0x57715e=super['_createHandler']();return _0x57715e[_0x5e7284(0x30f)]=_0x3537e8=>{var _0x3962c2=_0x5e7284,_0x456b85,_0x9dc336;return(_0x9dc336=(_0x456b85=this[_0x3962c2(0x176)])==null?void 0x0:_0x456b85[_0x3962c2(0x30f)])==null?void 0x0:_0x9dc336[_0x3962c2(0x208)](_0x456b85,_0x3537e8);},_0x57715e[_0x5e7284(0x361)]=_0x14d8e7=>{var _0xe6b4a4=_0x5e7284,_0x26e322,_0x48dcb0;return(_0x48dcb0=(_0x26e322=this[_0xe6b4a4(0x176)])==null?void 0x0:_0x26e322[_0xe6b4a4(0x361)])==null?void 0x0:_0x48dcb0[_0xe6b4a4(0x208)](_0x26e322,_0x14d8e7);},_0x57715e[_0x5e7284(0x4a4)]=_0x2c31a3=>{var _0x49adfe=_0x5e7284,_0x5a0586,_0xf9ea49;return(_0xf9ea49=(_0x5a0586=this[_0x49adfe(0x176)])==null?void 0x0:_0x5a0586['onTransformSelections'])==null?void 0x0:_0xf9ea49[_0x49adfe(0x208)](_0x5a0586,_0x2c31a3);},_0x57715e[_0x5e7284(0x3a2)]=_0x349165=>{var _0xf63cbf=_0x5e7284,_0x1577fa,_0x1ea82e;return(_0x1ea82e=(_0x1577fa=this[_0xf63cbf(0x176)])==null?void 0x0:_0x1577fa[_0xf63cbf(0x3a2)])==null?void 0x0:_0x1ea82e['call'](_0x1577fa,_0x349165);},_0x57715e[_0x5e7284(0x255)]=_0x388087=>{var _0x5c06d5=_0x5e7284,_0x15293d,_0x26fa67,_0x5842e8;if(!((_0x15293d=this['_handlerCallback'])!=null&&_0x15293d[_0x5c06d5(0x255)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x5842e8=(_0x26fa67=this[_0x5c06d5(0x176)])==null?void 0x0:_0x26fa67['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x5842e8[_0x5c06d5(0x208)](_0x26fa67,_0x388087);},_0x57715e[_0x5e7284(0x43f)]=_0x527caa=>{var _0x20a4ec=_0x5e7284,_0x53bf50,_0x44087e,_0x108813;if(!((_0x53bf50=this[_0x20a4ec(0x176)])!=null&&_0x53bf50[_0x20a4ec(0x43f)]))throw new Error(_0x20a4ec(0x116));return(_0x108813=(_0x44087e=this['_handlerCallback'])==null?void 0x0:_0x44087e[_0x20a4ec(0x43f)])==null?void 0x0:_0x108813[_0x20a4ec(0x208)](_0x44087e,_0x527caa);},_0x57715e;}async[_0x56fe62(0x403)](){var _0x58687f=_0x56fe62;const _0x156f79=await super[_0x58687f(0x403)]();return this[_0x58687f(0x29a)](this[_0x58687f(0x3b8)][_0x58687f(0x39b)]((_0xf18e08,_0x35f7b7)=>{var _0x2be695=_0x58687f;if(_0xf18e08[_0x2be695(0x326)]!==_0x132a8a[_0x2be695(0x191)][_0x2be695(0x143)]||_0x35f7b7!=null&&_0x35f7b7[_0x2be695(0x44e)]||_0x35f7b7!=null&&_0x35f7b7[_0x2be695(0x46e)]||_0xf18e08['id']===_0x172117['RichTextEditingMutation']['id'])return;const _0x212bfe=_0xf18e08[_0x2be695(0x24c)];if((_0x212bfe==null?void 0x0:_0x212bfe['unitId'])!==this[_0x2be695(0x463)])return;const _0x2705b3=_0xf18e08,_0x558f2b=this[_0x2be695(0x1e3)][_0x2be695(0x2be)][_0x2be695(0x3cb)](this[_0x2be695(0x1e3)][_0x2be695(0x2be)][_0x2be695(0x2a9)]()[_0x2be695(0x439)])([_0x2705b3],this[_0x2be695(0x3fd)])||[_0x2705b3];this['_onLocalMutation'](_0x558f2b[0x0]);})),_0x156f79;}},_0x43236a['DocCollaborationEntity']=_0x5e7589([_0x2519fe(0x3,_0x132a8a[_0x56fe62(0x1fa)](_0x132a8a[_0x56fe62(0x1ae)])),_0x2519fe(0x4,_0x132a8a[_0x56fe62(0x1fa)](_0x4a4eff[_0x56fe62(0x2fe)])),_0x2519fe(0x5,_0x132a8a[_0x56fe62(0x1fa)](_0x132a8a['LocaleService'])),_0x2519fe(0x6,_0x132a8a['Inject'](_0x4a4eff['RevisionService'])),_0x2519fe(0x7,_0x132a8a['Inject'](_0x3d2ec6)),_0x2519fe(0x8,_0x132a8a['IUniverInstanceService']),_0x2519fe(0x9,_0x132a8a[_0x56fe62(0x3f7)]),_0x2519fe(0xa,_0x132a8a['ICommandService']),_0x2519fe(0xb,_0x132a8a[_0x56fe62(0x1cc)]),_0x2519fe(0xc,_0x132a8a[_0x56fe62(0x460)](_0x4fa0d2)),_0x2519fe(0xd,_0x132a8a['Optional'](_0x11f168))],_0x43236a[_0x56fe62(0x345)]),_0x43236a[_0x56fe62(0x1bd)]=class extends _0x43236a[_0x56fe62(0x1a5)]{constructor(_0x11284e,_0x46d784,_0x1435e2,_0x5dbbd9,_0x5ce6ad,_0x20cf06,_0x340c4a,_0x513cff,_0x1d24de,_0x17eff1,_0x592ebd,_0x1dbd63,_0x3d32c4,_0x3c8b08,_0x274116){var _0xf24e6d=_0x56fe62;super(_0x11284e,_0x1435e2,_0x46d784,_0x5dbbd9,_0x5ce6ad,_0x20cf06,_0x340c4a,_0x1d24de,_0x17eff1,_0x592ebd,_0x1dbd63,_0x3d32c4,_0x3c8b08,_0x274116),this['unitID']=_0x11284e,this[_0xf24e6d(0x326)]=_0x46d784,this[_0xf24e6d(0x490)]=_0x513cff;}[_0x56fe62(0x1db)](){var _0x2e58d6=_0x56fe62;const _0x5c8db9=super[_0x2e58d6(0x1db)]();return _0x5c8db9[_0x2e58d6(0x4a4)]=_0x2a08ff=>this[_0x2e58d6(0x490)]['transformSelections'](_0x2a08ff),_0x5c8db9;}async[_0x56fe62(0x403)](){var _0x5ec85b=_0x56fe62;const _0x359153=await super[_0x5ec85b(0x403)]();return this[_0x5ec85b(0x29a)](this[_0x5ec85b(0x3b8)][_0x5ec85b(0x39b)]((_0x1de256,_0x39af71)=>{var _0x42b593=_0x5ec85b;if(_0x1de256['type']!==_0x132a8a['CommandType']['MUTATION']||_0x39af71!=null&&_0x39af71[_0x42b593(0x44e)]||_0x39af71!=null&&_0x39af71['onlyLocal'])return;const _0x54e7c5=_0x1de256[_0x42b593(0x24c)];if((_0x54e7c5==null?void 0x0:_0x54e7c5[_0x42b593(0x140)])!==this[_0x42b593(0x463)])return;const _0x26d582=_0x1de256,_0x39e32a=this[_0x42b593(0x1e3)]['interceptor'][_0x42b593(0x3cb)](this[_0x42b593(0x1e3)][_0x42b593(0x2be)][_0x42b593(0x2a9)]()[_0x42b593(0x439)])([_0x26d582],this[_0x42b593(0x3fd)])||[_0x26d582];this[_0x42b593(0x1e0)](_0x39e32a[0x0]);})),_0x359153;}},_0x43236a[_0x56fe62(0x1bd)]=_0x5e7589([_0x2519fe(0x3,_0x132a8a['Inject'](_0x132a8a[_0x56fe62(0x1ae)])),_0x2519fe(0x4,_0x132a8a[_0x56fe62(0x1fa)](_0x4a4eff[_0x56fe62(0x2fe)])),_0x2519fe(0x5,_0x132a8a[_0x56fe62(0x1fa)](_0x132a8a[_0x56fe62(0x2ea)])),_0x2519fe(0x6,_0x132a8a[_0x56fe62(0x1fa)](_0x4a4eff[_0x56fe62(0x37b)])),_0x2519fe(0x7,_0x132a8a['Inject'](_0x43236a['SheetTransformSelectionsService'])),_0x2519fe(0x8,_0x132a8a[_0x56fe62(0x1fa)](_0x3d2ec6)),_0x2519fe(0x9,_0x132a8a[_0x56fe62(0x1da)]),_0x2519fe(0xa,_0x132a8a[_0x56fe62(0x3f7)]),_0x2519fe(0xb,_0x132a8a[_0x56fe62(0x342)]),_0x2519fe(0xc,_0x132a8a['IPermissionService']),_0x2519fe(0xd,_0x132a8a['Optional'](_0x4fa0d2)),_0x2519fe(0xe,_0x132a8a['Optional'](_0x11f168))],_0x43236a[_0x56fe62(0x1bd)]);const _0x48b40=_0x132a8a['createIdentifier'](_0x56fe62(0x253));function _0x1ffe34(_0x200bc6){var _0x1570b9=_0x56fe62,_0x357120,_0x2ea319,_0x128e81,_0x50109b,_0x50b984;const _0x20f53e=_0x200bc6[_0x1570b9(0x483)],_0x444bb5=JSON[_0x1570b9(0x2fc)](_0x20f53e);switch(_0x444bb5[_0x1570b9(0x3b3)]){case _0x225c09[_0x1570b9(0x2bd)]:case _0x225c09[_0x1570b9(0x371)]:{const _0x4fe6f2=_0x444bb5[_0x1570b9(0x404)];return{..._0x444bb5,'data':_0x4fe6f2,'cmd':_0x444bb5['cmd']};}case _0x225c09[_0x1570b9(0x3cc)]:{const _0x2c2749=_0x444bb5[_0x1570b9(0x1aa)];return{..._0x444bb5,'data':_0x2c2749,'cmd':_0x444bb5['cmd']};}case _0x225c09[_0x1570b9(0x3af)]:{const _0x1a5efd=_0x444bb5[_0x1570b9(0x27c)];switch(_0x1a5efd[_0x1570b9(0x3e2)]){case _0x4a4eff[_0x1570b9(0x19d)][_0x1570b9(0x199)]:return{..._0x444bb5,'data':{..._0x1a5efd,'data':(_0x357120=_0x1a5efd[_0x1570b9(0x48a)])==null?void 0x0:_0x357120['cs']},'cmd':_0x444bb5[_0x1570b9(0x3b3)]};case _0x4a4eff[_0x1570b9(0x19d)]['CHANGESET_ACK']:return{..._0x444bb5,'data':{..._0x1a5efd,'data':(_0x2ea319=_0x1a5efd[_0x1570b9(0x259)])==null?void 0x0:_0x2ea319['cs']},'cmd':_0x444bb5[_0x1570b9(0x3b3)]};case _0x4a4eff[_0x1570b9(0x19d)][_0x1570b9(0x17c)]:return{..._0x444bb5,'data':{..._0x1a5efd,'data':(_0x128e81=_0x1a5efd[_0x1570b9(0x304)])==null?void 0x0:_0x128e81['cs']},'cmd':_0x444bb5['cmd']};case _0x4a4eff[_0x1570b9(0x19d)][_0x1570b9(0x488)]:return{..._0x444bb5,'data':{..._0x1a5efd,'data':(_0x50109b=_0x1a5efd['csRejEvent'])==null?void 0x0:_0x50109b['cs']},'cmd':_0x444bb5['cmd']};case _0x4a4eff['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:return{..._0x444bb5,'data':{..._0x1a5efd,'data':(_0x50b984=_0x1a5efd[_0x1570b9(0x4a8)])==null?void 0x0:_0x50b984['cs']},'cmd':_0x444bb5[_0x1570b9(0x3b3)]};case _0x4a4eff['CollaborationEvent']['UPDATE_CURSOR']:return{..._0x444bb5,'data':{..._0x1a5efd,'data':_0x1a5efd[_0x1570b9(0x223)]},'cmd':_0x444bb5[_0x1570b9(0x3b3)]};case _0x4a4eff[_0x1570b9(0x19d)][_0x1570b9(0x198)]:return{..._0x444bb5,'data':{..._0x1a5efd,'data':_0x1a5efd['joinEvent']},'cmd':_0x444bb5[_0x1570b9(0x3b3)]};case _0x4a4eff[_0x1570b9(0x19d)][_0x1570b9(0x209)]:return{..._0x444bb5,'data':{..._0x1a5efd,'data':_0x1a5efd[_0x1570b9(0x3b2)]},'cmd':_0x444bb5[_0x1570b9(0x3b3)]};case _0x4a4eff[_0x1570b9(0x19d)][_0x1570b9(0x1ee)]:return{..._0x444bb5,'data':{..._0x1a5efd,'data':_0x1a5efd['liveShareNewHost']},'cmd':_0x444bb5[_0x1570b9(0x3b3)]};case _0x4a4eff[_0x1570b9(0x19d)]['LIVESHARE_FETCH_OPERATIONS']:case _0x4a4eff['CollaborationEvent'][_0x1570b9(0x1d4)]:return{..._0x444bb5,'data':{..._0x1a5efd,'data':_0x1a5efd[_0x1570b9(0x127)]},'cmd':_0x444bb5[_0x1570b9(0x3b3)]};case _0x4a4eff[_0x1570b9(0x19d)]['LIVESHARE_TERMINATE']:return{..._0x444bb5,'data':{..._0x1a5efd,'data':_0x1a5efd['liveShareNewHost']},'cmd':_0x444bb5[_0x1570b9(0x3b3)]};case _0x4a4eff[_0x1570b9(0x19d)][_0x1570b9(0x21d)]:return{..._0x444bb5,'data':_0x1a5efd,'cmd':_0x444bb5[_0x1570b9(0x3b3)]};case _0x4a4eff[_0x1570b9(0x19d)]['COMMENT_UPDATE']:return{..._0x444bb5,'data':{..._0x1a5efd,'data':_0x1a5efd[_0x1570b9(0x218)]},'cmd':_0x444bb5['cmd']};case _0x4a4eff[_0x1570b9(0x19d)][_0x1570b9(0x1c7)]:return{..._0x444bb5,'data':{..._0x1a5efd,'data':_0x1a5efd[_0x1570b9(0x3cf)]},'cmd':_0x444bb5[_0x1570b9(0x3b3)]};case _0x4a4eff[_0x1570b9(0x19d)][_0x1570b9(0x221)]:return{..._0x444bb5,'data':{..._0x1a5efd,'data':_0x1a5efd['shouldCloseConn']},'cmd':_0x444bb5[_0x1570b9(0x3b3)]};case _0x4a4eff[_0x1570b9(0x19d)]['UNISCRIPT_RUN']:return{..._0x444bb5,'data':{..._0x1a5efd,'data':_0x1a5efd[_0x1570b9(0x16a)]},'cmd':_0x444bb5['cmd']};default:return _0x444bb5;}}default:return _0x444bb5;}}function _0x41ac03(_0x2a6c95){var _0x44bdfc=_0x56fe62;switch(_0x2a6c95[_0x44bdfc(0x3b3)]){case _0x225c09[_0x44bdfc(0x2bd)]:case _0x225c09[_0x44bdfc(0x371)]:return JSON['stringify']({'cmd':_0x2a6c95[_0x44bdfc(0x3b3)],'routeKey':_0x2a6c95[_0x44bdfc(0x219)]});case _0x225c09[_0x44bdfc(0x24d)]:{let _0x57507e;switch(_0x2a6c95[_0x44bdfc(0x483)][_0x44bdfc(0x3e2)]){case _0x4a4eff[_0x44bdfc(0x19d)][_0x44bdfc(0x419)]:{_0x57507e={'eventID':_0x4a4eff[_0x44bdfc(0x19d)][_0x44bdfc(0x419)],'updateCursorEvent':_0x2a6c95['data'][_0x44bdfc(0x483)]};break;}case _0x4a4eff[_0x44bdfc(0x19d)][_0x44bdfc(0x209)]:{_0x57507e={'eventID':_0x4a4eff[_0x44bdfc(0x19d)][_0x44bdfc(0x209)],'leaveEvent':_0x2a6c95[_0x44bdfc(0x483)][_0x44bdfc(0x483)]};break;}case _0x4a4eff[_0x44bdfc(0x19d)][_0x44bdfc(0x198)]:{_0x57507e={'eventID':_0x4a4eff['CollaborationEvent']['USERS_ENTER'],'joinEvent':_0x2a6c95['data'][_0x44bdfc(0x483)]};break;}case _0x4a4eff[_0x44bdfc(0x19d)][_0x44bdfc(0x1ee)]:{_0x57507e={'eventID':_0x4a4eff[_0x44bdfc(0x19d)][_0x44bdfc(0x1ee)],'liveShareNewHost':_0x2a6c95[_0x44bdfc(0x483)][_0x44bdfc(0x483)]};break;}case _0x4a4eff[_0x44bdfc(0x19d)][_0x44bdfc(0x1d4)]:{_0x57507e={'eventID':_0x4a4eff[_0x44bdfc(0x19d)][_0x44bdfc(0x1d4)],'liveShareOperation':_0x2a6c95[_0x44bdfc(0x483)]['data']};break;}case _0x4a4eff['CollaborationEvent'][_0x44bdfc(0x2c3)]:{_0x57507e={'eventID':_0x4a4eff[_0x44bdfc(0x19d)][_0x44bdfc(0x2c3)],'liveShareTerminate':_0x2a6c95['data']['data']};break;}case _0x4a4eff[_0x44bdfc(0x19d)]['LIVESHARE_REQUEST_HOST']:{_0x57507e={'eventID':_0x4a4eff[_0x44bdfc(0x19d)][_0x44bdfc(0x12d)],'liveShareRequestHost':_0x2a6c95[_0x44bdfc(0x483)][_0x44bdfc(0x483)]};break;}case _0x4a4eff[_0x44bdfc(0x19d)][_0x44bdfc(0x126)]:{_0x57507e={'eventID':_0x4a4eff['CollaborationEvent'][_0x44bdfc(0x126)]};break;}default:_0x57507e={'eventID':_0x2a6c95[_0x44bdfc(0x483)][_0x44bdfc(0x3e2)]};}return JSON[_0x44bdfc(0x123)]({'cmd':_0x2a6c95[_0x44bdfc(0x3b3)],'routeKey':_0x2a6c95['routeKey'],'collaMsg':_0x57507e});}case _0x225c09[_0x44bdfc(0x3cc)]:return JSON[_0x44bdfc(0x123)]({'cmd':_0x2a6c95['cmd'],'routeKey':_0x2a6c95[_0x44bdfc(0x219)],'joinReq':_0x2a6c95[_0x44bdfc(0x483)]});case _0x225c09[_0x44bdfc(0x12c)]:return JSON[_0x44bdfc(0x123)]({'cmd':_0x2a6c95[_0x44bdfc(0x3b3)],'routeKey':_0x2a6c95[_0x44bdfc(0x219)],'leaveReq':_0x2a6c95[_0x44bdfc(0x483)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x1dc7fd=Object['getOwnPropertyDescriptor'],_0x302652=(_0x589c92,_0x3a9399,_0x244b6c,_0x14e5f8)=>{var _0x35624e=_0x56fe62;for(var _0x15c745=_0x14e5f8>0x1?void 0x0:_0x14e5f8?_0x1dc7fd(_0x3a9399,_0x244b6c):_0x3a9399,_0x2f6891=_0x589c92[_0x35624e(0x17a)]-0x1,_0x4a4701;_0x2f6891>=0x0;_0x2f6891--)(_0x4a4701=_0x589c92[_0x2f6891])&&(_0x15c745=_0x4a4701(_0x15c745)||_0x15c745);return _0x15c745;},_0x279959=(_0x1bddea,_0x29bedb)=>(_0x58f245,_0x17d780)=>_0x29bedb(_0x58f245,_0x17d780,_0x1bddea);const _0x56cc51=_0x132a8a[_0x56fe62(0x384)](_0x56fe62(0x229));function _0x1304c5(_0x15b97d,_0x45e1c9,_0x4a2b53){var _0x4d639b=_0x56fe62;return _0x15b97d+'/'+_0x45e1c9+_0x4d639b(0x43d)+_0x4a2b53+'/new_changes';}_0x43236a[_0x56fe62(0x364)]=class extends _0x132a8a[_0x56fe62(0x19f)]{constructor(_0x1b5372,_0x294147,_0x45cd79,_0x46a7e2,_0x17e852){var _0x130ed3=_0x56fe62;super(),this[_0x130ed3(0x3c0)]=_0x1b5372,this[_0x130ed3(0x280)]=_0x294147,this[_0x130ed3(0x2f7)]=_0x45cd79,this['_logService']=_0x46a7e2,this['_snapshotServerService']=_0x17e852;}[_0x56fe62(0x2d8)](_0x3c5db1){var _0x510dd2=_0x56fe62;const _0x1662a2=this[_0x510dd2(0x3c0)]['get'](_0x38b1a1[_0x510dd2(0x14f)]);if(!_0x1662a2)throw new Error(_0x510dd2(0x466));const _0x331b4c=_0x1662a2[_0x510dd2(0x162)](_0x3c5db1);if(!_0x331b4c)throw new Error(_0x510dd2(0x27b));const _0x47937e=new _0x132a8a[(_0x510dd2(0x273))](),_0x71207a=new _0x41f28e['Subject']();_0x47937e[_0x510dd2(0x224)](_0x331b4c['close$']['subscribe'](_0xa15c44=>_0x71207a[_0x510dd2(0x360)](_0xa15c44))),_0x47937e[_0x510dd2(0x224)](_0x132a8a[_0x510dd2(0x32f)](()=>_0x71207a[_0x510dd2(0x215)]()));const _0x3a9cfb=new _0x41f28e[(_0x510dd2(0x3e8))]();_0x47937e[_0x510dd2(0x224)](_0x331b4c[_0x510dd2(0x15d)][_0x510dd2(0x3de)](_0x5ab42e=>_0x3a9cfb[_0x510dd2(0x360)](_0x5ab42e))),_0x47937e[_0x510dd2(0x224)](_0x132a8a[_0x510dd2(0x32f)](()=>_0x3a9cfb[_0x510dd2(0x215)]()));const _0x5b216a=new _0x41f28e['Subject']();_0x47937e[_0x510dd2(0x224)](_0x331b4c['message$']['subscribe'](_0x37330b=>{var _0x2f6650=_0x510dd2;const _0x122d5d=_0x1ffe34(_0x37330b);_0x5b216a[_0x2f6650(0x360)](_0x122d5d);})),_0x47937e['add'](_0x132a8a['toDisposable'](()=>_0x5b216a['complete']()));let _0x5e5a0a;const _0xed0e36=()=>{var _0x47c163=_0x510dd2;_0x3a9cfb[_0x47c163(0x360)](new Event(_0x47c163(0x309))),_0x71207a['next'](new Event(_0x47c163(0x309))),_0x5e5a0a[_0x47c163(0x432)]();};return _0x5e5a0a={'memberID':'','close$':_0x71207a[_0x510dd2(0x4ba)](),'error$':_0x3a9cfb[_0x510dd2(0x4ba)](),'open$':_0x331b4c['open$'],'message$':_0x5b216a[_0x510dd2(0x4ba)](),'send':_0x3ad72=>{var _0x10366d=_0x510dd2;if(_0x3ad72[_0x10366d(0x3b3)]===_0x225c09['INGEST']){if(_0x3ad72['data'][_0x10366d(0x3e2)]===_0x4a4eff[_0x10366d(0x19d)][_0x10366d(0x174)]){this['_submitChangeset'](_0x5e5a0a,_0x3ad72['data'])[_0x10366d(0x26e)](_0x7de23a=>{var _0x249702=_0x10366d;this[_0x249702(0x3ee)][_0x249702(0x32b)](_0x7de23a),_0xed0e36();});return;}if(_0x3ad72['data'][_0x10366d(0x3e2)]===_0x4a4eff[_0x10366d(0x19d)][_0x10366d(0x496)]){const _0x357e2f=_0x3ad72[_0x10366d(0x483)];this['_fetchMissChangesets'](_0x357e2f)[_0x10366d(0x1d2)](_0x188da6=>{var _0x59d606=_0x10366d;_0x5b216a[_0x59d606(0x360)]({'cmd':_0x225c09['RECV'],'code':_0x30b10a['OK'],'routeKey':_0x357e2f['data']['unitID'],'routeType':'','data':{'eventID':_0x4a4eff[_0x59d606(0x19d)][_0x59d606(0x256)],'data':{'changesets':_0x188da6}}});})[_0x10366d(0x26e)](_0xe2e0c=>{this['_logService']['error'](_0xe2e0c),_0xed0e36();});return;}}_0x331b4c['send'](_0x41ac03(_0x3ad72));},'close':()=>{_0x331b4c['close'](),_0x47937e['dispose']();}},_0x5e5a0a;}async[_0x56fe62(0x302)](_0x5dd6cf,_0xf48e17){var _0x5443a5=_0x56fe62,_0x2631b9;const {unitType:_0x4070dd,unitID:_0x2529f3,changeset:_0x201525}=_0xf48e17['data'],_0x5733d2={'unitID':_0x2529f3,'memberID':_0x5dd6cf[_0x5443a5(0x1b2)],'type':_0x4070dd,'changeset':_0x4a4eff[_0x5443a5(0x464)](_0x201525)},_0x31eca2=this[_0x5443a5(0x2f7)][_0x5443a5(0x1ab)](_0x16e9e6),_0x42862f=_0x1304c5((_0x2631b9=_0x31eca2==null?void 0x0:_0x31eca2[_0x5443a5(0x398)])!=null?_0x2631b9:_0x31cb17,_0x4070dd,_0x2529f3);try{await this['_httpService'][_0x5443a5(0x12e)](_0x42862f,{'body':_0x5733d2});}catch(_0x3e36b7){throw this[_0x5443a5(0x3ee)][_0x5443a5(0x32b)](_0x5443a5(0x236),_0x5443a5(0x17f)),_0x3e36b7;}}async['_fetchMissChangesets'](_0x2a87ce){var _0x890ecd=_0x56fe62;const {unitID:_0x7ba730,from:_0x3c612e,to:_0x3dee62,unitType:_0x1a0d35}=_0x2a87ce[_0x890ecd(0x483)];return(await this[_0x890ecd(0x289)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x7ba730,'type':_0x1a0d35,'from':_0x3c612e,'to':_0x3dee62}))[_0x890ecd(0x187)]['map'](_0x343510=>((_0x343510['mutations']===null||_0x343510[_0x890ecd(0x409)]===void 0x0)&&(_0x343510[_0x890ecd(0x409)]=[]),_0x343510));}},_0x43236a[_0x56fe62(0x364)]=_0x302652([_0x279959(0x0,_0x132a8a[_0x56fe62(0x1fa)](_0x132a8a['Injector'])),_0x279959(0x1,_0x132a8a[_0x56fe62(0x1fa)](_0x38b1a1[_0x56fe62(0x4b1)])),_0x279959(0x2,_0x132a8a['IConfigService']),_0x279959(0x3,_0x132a8a[_0x56fe62(0x3f7)]),_0x279959(0x4,_0x4a4eff[_0x56fe62(0x1a0)])],_0x43236a[_0x56fe62(0x364)]);var _0x369fb1=Object[_0x56fe62(0x2f8)],_0x429f3a=(_0x17fb7b,_0x232dd2,_0x22a4de,_0x5d8451)=>{var _0x414a8e=_0x56fe62;for(var _0x4fa3d6=_0x5d8451>0x1?void 0x0:_0x5d8451?_0x369fb1(_0x232dd2,_0x22a4de):_0x232dd2,_0x2a3726=_0x17fb7b[_0x414a8e(0x17a)]-0x1,_0x58a2a6;_0x2a3726>=0x0;_0x2a3726--)(_0x58a2a6=_0x17fb7b[_0x2a3726])&&(_0x4fa3d6=_0x58a2a6(_0x4fa3d6)||_0x4fa3d6);return _0x4fa3d6;},_0x55ad3e=(_0x1d39d8,_0x396b82)=>(_0x92a9bd,_0x5d2e7a)=>_0x396b82(_0x92a9bd,_0x5d2e7a,_0x1d39d8);_0x43236a['CollaborationSessionService']=class extends _0x132a8a[_0x56fe62(0x19f)]{constructor(_0x5572aa,_0x4ff09d,_0x2d18f2,_0x201a36,_0x32f342,_0x600918){var _0xffc513=_0x56fe62;super(),_0x18d62f(this,'_socket$',new _0x41f28e[(_0xffc513(0x473))](void 0x0)),_0x18d62f(this,_0xffc513(0x337),this[_0xffc513(0x2f2)]['asObservable']()),_0x18d62f(this,'_candidateSocket',null),_0x18d62f(this,_0xffc513(0x267),new Map()),_0x18d62f(this,_0xffc513(0x457),new _0x41f28e[(_0xffc513(0x473))](_0x49f99f[_0xffc513(0x2db)])),_0x18d62f(this,'status$',this[_0xffc513(0x457)][_0xffc513(0x4ba)]()),_0x18d62f(this,_0xffc513(0x239),!0x1),_0x18d62f(this,_0xffc513(0x329)),_0x18d62f(this,_0xffc513(0x49e),0x0),_0x18d62f(this,_0xffc513(0x36d)),_0x18d62f(this,_0xffc513(0x3d0)),(this[_0xffc513(0x3c0)]=_0x5572aa,this[_0xffc513(0x3ee)]=_0x4ff09d,this[_0xffc513(0x2f7)]=_0x2d18f2,this['_socketService']=_0x201a36,this[_0xffc513(0x293)]=_0x32f342,this[_0xffc513(0x16f)]=_0x600918,this[_0xffc513(0x43b)]());}get[_0x56fe62(0x387)](){var _0x4a973b=_0x56fe62;return this[_0x4a973b(0x2f2)]['getValue']();}[_0x56fe62(0x43b)](){var _0x1637b8=_0x56fe62;this[_0x1637b8(0x16f)]&&this['disposeWithMe'](this[_0x1637b8(0x16f)][_0x1637b8(0x1ca)][_0x1637b8(0x3de)](_0x1fcb17=>{var _0x2fc3f4=_0x1637b8;_0x1fcb17&&!this[_0x2fc3f4(0x387)]&&this[_0x2fc3f4(0x472)](),_0x1fcb17||this[_0x2fc3f4(0x423)]();}));}[_0x56fe62(0x149)](){var _0x3d48c7=_0x56fe62;super[_0x3d48c7(0x149)](),this[_0x3d48c7(0x41f)](),this[_0x3d48c7(0x319)](),this[_0x3d48c7(0x22a)](),this['_sessions']['forEach'](_0xff2250=>_0xff2250['dispose']()),this[_0x3d48c7(0x267)][_0x3d48c7(0x389)](),this[_0x3d48c7(0x457)][_0x3d48c7(0x215)]();}async['requireSession'](_0x1f06f9){var _0x19d345=_0x56fe62;if(this[_0x19d345(0x267)][_0x19d345(0x172)](_0x1f06f9))return this['_sessions'][_0x19d345(0x2ce)](_0x1f06f9);this[_0x19d345(0x39a)]();const _0x56440e=this[_0x19d345(0x3c0)][_0x19d345(0x48b)](_0x43236a[_0x19d345(0x3df)],_0x1f06f9,this[_0x19d345(0x2f2)][_0x19d345(0x4ba)]());return this['_sessions'][_0x19d345(0x35e)](_0x1f06f9,_0x56440e),_0x56440e;}[_0x56fe62(0x453)](_0x4015a0){var _0x463227=_0x56fe62,_0x3d6df6;const _0x575038=this[_0x463227(0x267)][_0x463227(0x2ce)](_0x4015a0);_0x575038&&(this[_0x463227(0x267)][_0x463227(0x26b)](_0x4015a0),_0x575038['close']()),this[_0x463227(0x267)][_0x463227(0x1d1)]||(_0x3d6df6=this['_socket'])==null||_0x3d6df6[_0x463227(0x432)]();}[_0x56fe62(0x472)](){var _0x8187b8=_0x56fe62;this['_retryCount']=0x0,this[_0x8187b8(0x41f)](),this['_tryReconnect']();}[_0x56fe62(0x41f)](){var _0x375189=_0x56fe62;this[_0x375189(0x329)]!=null&&(clearTimeout(this[_0x375189(0x329)]),this[_0x375189(0x329)]=null);}async[_0x56fe62(0x2c4)](){var _0x2feb9b=_0x56fe62,_0xa11360;const _0x2f4e50=this[_0x2feb9b(0x2f7)][_0x2feb9b(0x1ab)](_0x16e9e6),_0x103b36=(_0xa11360=_0x2f4e50==null?void 0x0:_0x2f4e50[_0x2feb9b(0x2dd)])!=null?_0xa11360:_0x148b14,_0x37ff84=await this[_0x2feb9b(0x41d)][_0x2feb9b(0x162)](_0x103b36);return this['_candidateSocket']=_0x37ff84,_0x37ff84;}async[_0x56fe62(0x39a)](){var _0x1c3b14=_0x56fe62,_0x9ceba6,_0x37b0fa;try{const _0xa5c613=(_0x37b0fa=(_0x9ceba6=this['_socket'])!=null?_0x9ceba6:this[_0x1c3b14(0x458)])!=null?_0x37b0fa:await this['_createSocket']();if(_0xa5c613){const _0x16eb03=_0xa5c613[_0x1c3b14(0x49a)];_0xa5c613[_0x1c3b14(0x49a)]=_0x56a78a=>(this[_0x1c3b14(0x14d)](),_0x16eb03[_0x1c3b14(0x128)](_0xa5c613,[_0x56a78a])),_0xa5c613[_0x1c3b14(0x42f)][_0x1c3b14(0x3de)](_0x35afd9=>this[_0x1c3b14(0x28e)](_0xa5c613,_0x35afd9)),_0xa5c613[_0x1c3b14(0x15d)][_0x1c3b14(0x2d1)](_0xb6ddf5[_0x1c3b14(0x300)](0x1))[_0x1c3b14(0x3de)](_0x1853e2=>this[_0x1c3b14(0x3ee)][_0x1c3b14(0x32b)]('[CollaborationSessionService]:\x20socket\x20error',_0x1853e2)),_0xa5c613[_0x1c3b14(0x261)]['pipe'](_0xb6ddf5[_0x1c3b14(0x300)](0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0xa5c613);}),_0xa5c613[_0x1c3b14(0x151)]['pipe'](_0xb6ddf5[_0x1c3b14(0x300)](0x1))[_0x1c3b14(0x3de)](_0xdb51e=>{var _0x21266b=_0x1c3b14;this[_0x21266b(0x3ee)][_0x21266b(0x181)](_0x21266b(0x1ad),'socket\x20close',_0xdb51e),this['_onConnectionFailed']();});}}catch(_0x21af10){this[_0x1c3b14(0x3ee)][_0x1c3b14(0x32b)](_0x21af10),this[_0x1c3b14(0x307)]();}}[_0x56fe62(0x278)](_0x2a6f95){var _0x59614e=_0x56fe62;this[_0x59614e(0x3ee)][_0x59614e(0x181)]('[CollaborationSessionService]',_0x59614e(0x2ee)),_0x2a6f95[_0x59614e(0x49a)]({'cmd':_0x225c09[_0x59614e(0x371)]}),this[_0x59614e(0x14d)]();}['_onOffline'](){var _0x10d9e6=_0x56fe62;this['_socketReady']=!0x1,this[_0x10d9e6(0x458)]=null,this['_status$'][_0x10d9e6(0x360)](_0x49f99f[_0x10d9e6(0x11e)]),this[_0x10d9e6(0x2f2)][_0x10d9e6(0x360)](null),this[_0x10d9e6(0x319)](),this[_0x10d9e6(0x22a)]();}[_0x56fe62(0x307)](){var _0x40071c=_0x56fe62,_0x149cb1;this[_0x40071c(0x423)](),this[_0x40071c(0x49e)]<((_0x149cb1=this[_0x40071c(0x2f7)]['getConfig'](_0x23a235))!=null?_0x149cb1:0x3)?(this[_0x40071c(0x293)][_0x40071c(0x24e)]({'id':_0x3fbd84[_0x40071c(0x49b)]}),this[_0x40071c(0x286)]()):this[_0x40071c(0x293)][_0x40071c(0x24e)]({'id':_0x3fbd84[_0x40071c(0x200)]});}[_0x56fe62(0x286)](){var _0x4d1f41=_0x56fe62,_0x80a127;const _0x226139=this[_0x4d1f41(0x49e)],_0x28d5a2=this['_configService'][_0x4d1f41(0x1ab)](_0x16e9e6),_0x35182d=_0x226139===0x0?0x0:((_0x80a127=_0x28d5a2==null?void 0x0:_0x28d5a2[_0x4d1f41(0x2ac)])!=null?_0x80a127:0x4e20)*0x2**_0x226139;this['_retryConnectingTimer']=setTimeout(()=>{var _0x32d50=_0x4d1f41;clearTimeout(this['_retryConnectingTimer']),this[_0x32d50(0x329)]=null,this[_0x32d50(0x39a)]();},_0x35182d),this['_retryCount']+=0x1;}[_0x56fe62(0x28e)](_0x161333,_0x26ab12){var _0x26550d=_0x56fe62;const {cmd:_0x429b60}=_0x26ab12;_0x429b60===_0x225c09[_0x26550d(0x371)]&&!this[_0x26550d(0x239)]&&(_0x161333['memberID']=_0x26ab12[_0x26550d(0x483)][_0x26550d(0x1b2)],this['_socket$'][_0x26550d(0x360)](_0x161333),this[_0x26550d(0x457)][_0x26550d(0x360)](_0x49f99f['ONLINE']),this[_0x26550d(0x239)]=!0x0,this[_0x26550d(0x458)]=null),_0x429b60===_0x225c09[_0x26550d(0x2bd)]&&this[_0x26550d(0x319)](),this[_0x26550d(0x14d)]();}[_0x56fe62(0x14d)](){var _0x214c3f=_0x56fe62,_0x40c042;this[_0x214c3f(0x22a)](),this[_0x214c3f(0x36d)]=setTimeout(()=>this[_0x214c3f(0x3e0)](),(_0x40c042=this[_0x214c3f(0x2f7)][_0x214c3f(0x1ab)](_0x3a00b0))!=null?_0x40c042:0x7530);}[_0x56fe62(0x3e0)](){var _0x4b26ca=_0x56fe62;this[_0x4b26ca(0x387)]['send']({'cmd':_0x225c09[_0x4b26ca(0x2bd)]}),this[_0x4b26ca(0x1b1)]();}[_0x56fe62(0x1b1)](){var _0xf02933=_0x56fe62,_0x1a63f3;this[_0xf02933(0x3d0)]=setTimeout(()=>this[_0xf02933(0x307)](),(_0x1a63f3=this[_0xf02933(0x2f7)][_0xf02933(0x1ab)](_0x5e0ea0))!=null?_0x1a63f3:0x4e20);}[_0x56fe62(0x22a)](){var _0x952972=_0x56fe62;this[_0x952972(0x36d)]!=null&&(clearTimeout(this[_0x952972(0x36d)]),this['_sendHeartbeatTimer']=null);}['_clearTimeoutTimer'](){var _0x126847=_0x56fe62;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x126847(0x3d0)]),this[_0x126847(0x3d0)]=null);}},_0x43236a['CollaborationSessionService']=_0x429f3a([_0x55ad3e(0x0,_0x132a8a[_0x56fe62(0x1fa)](_0x132a8a[_0x56fe62(0x1ae)])),_0x55ad3e(0x1,_0x132a8a['ILogService']),_0x55ad3e(0x2,_0x132a8a[_0x56fe62(0x2cf)]),_0x55ad3e(0x3,_0x56cc51),_0x55ad3e(0x4,_0x132a8a[_0x56fe62(0x1fa)](_0x3d2ec6)),_0x55ad3e(0x5,_0x132a8a['Optional'](_0x48b40))],_0x43236a[_0x56fe62(0x276)]);var _0x578104=Object[_0x56fe62(0x2f8)],_0x50aa3b=(_0x4c7c66,_0x13dcc8,_0x58bef7,_0x59f67c)=>{var _0x3ec24c=_0x56fe62;for(var _0x872605=_0x59f67c>0x1?void 0x0:_0x59f67c?_0x578104(_0x13dcc8,_0x58bef7):_0x13dcc8,_0x3c6666=_0x4c7c66[_0x3ec24c(0x17a)]-0x1,_0xa0340e;_0x3c6666>=0x0;_0x3c6666--)(_0xa0340e=_0x4c7c66[_0x3c6666])&&(_0x872605=_0xa0340e(_0x872605)||_0x872605);return _0x872605;},_0x579361=(_0x3fe936,_0x53f177)=>(_0x2e259c,_0x365d01)=>_0x53f177(_0x2e259c,_0x365d01,_0x3fe936);_0x43236a[_0x56fe62(0x2ff)]=class extends _0x132a8a[_0x56fe62(0x397)]{constructor(_0x4920ab,_0x46bdbe,_0x9b8078,_0x28b89c){var _0x57567a=_0x56fe62,_0x5dadf0;super(),_0x18d62f(this,_0x57567a(0x21c),new Map()),_0x18d62f(this,_0x57567a(0x332),new _0x41f28e[(_0x57567a(0x3e8))]()),_0x18d62f(this,'entityInit$',this[_0x57567a(0x332)]['asObservable']()),(this[_0x57567a(0x3c0)]=_0x4920ab,this[_0x57567a(0x48e)]=_0x46bdbe,this[_0x57567a(0x2f7)]=_0x9b8078,this[_0x57567a(0x3fd)]=_0x28b89c,((_0x5dadf0=this['_configService']['getConfig'](_0x16e9e6))==null?void 0x0:_0x5dadf0[_0x57567a(0x3a5)])!==!0x1&&this[_0x57567a(0x403)]());}[_0x56fe62(0x149)](){var _0x2241f9=_0x56fe62;super[_0x2241f9(0x149)](),this['_entities'][_0x2241f9(0x13d)](_0x5dd797=>_0x5dd797[_0x2241f9(0x149)]()),this[_0x2241f9(0x21c)][_0x2241f9(0x389)]();}[_0x56fe62(0x43c)](_0x220225){var _0x59e701=_0x56fe62,_0x22904a;return(_0x22904a=this[_0x59e701(0x21c)][_0x59e701(0x2ce)](_0x220225))!=null?_0x22904a:null;}[_0x56fe62(0x19c)](_0x520a42){var _0x2162dc=_0x56fe62;const _0x941976=this['getCollabEntity'](_0x520a42);return _0x941976?_0x41f28e['of'](_0x941976):this[_0x2162dc(0x332)][_0x2162dc(0x2d1)](_0xb6ddf5['filter'](_0x1e0810=>_0x1e0810['unitID']===_0x520a42));}[_0x56fe62(0x2f5)](_0x5abf7d){var _0x215f0a=_0x56fe62;return _0x41f28e[_0x215f0a(0x2f3)](this['getCollabEntity$'](_0x5abf7d)[_0x215f0a(0x2d1)](_0xb6ddf5[_0x215f0a(0x290)](()=>{})));}['_init'](){var _0x5f072e=_0x56fe62;this['_univerInstanceService'][_0x5f072e(0x3f0)](_0x132a8a[_0x5f072e(0x20f)]['UNIVER_SHEET'])['pipe'](_0x41f28e[_0x5f072e(0x308)](this[_0x5f072e(0x3f5)]),_0xb6ddf5[_0x5f072e(0x29b)](0x10))['subscribe'](async _0x43b48b=>{var _0x400768=_0x5f072e;const _0x21336b=_0x43b48b['getUnitId'](),_0x518ebb=await this[_0x400768(0x373)](_0x21336b,_0x5b3fe9['UNIVER_SHEET']);this[_0x400768(0x21c)][_0x400768(0x35e)](_0x21336b,_0x518ebb);}),this[_0x5f072e(0x3fd)]['getTypeOfUnitAdded$'](_0x132a8a[_0x5f072e(0x20f)][_0x5f072e(0x1b0)])['pipe'](_0x41f28e[_0x5f072e(0x308)](this[_0x5f072e(0x3f5)]),_0xb6ddf5['delay'](0x10))[_0x5f072e(0x2d1)](_0xb6ddf5['filter'](_0x855fcf=>!_0x855fcf[_0x5f072e(0x1df)]()['startsWith']('__')))[_0x5f072e(0x3de)](async _0x56fbdd=>{var _0x506314=_0x5f072e;const _0x44b60e=_0x56fbdd['getUnitId'](),_0x98868=await this['_startCollaboration'](_0x44b60e,_0x5b3fe9[_0x506314(0x1b0)]);this[_0x506314(0x21c)][_0x506314(0x35e)](_0x44b60e,_0x98868);}),_0x41f28e[_0x5f072e(0x16d)](this['_univerInstanceService'][_0x5f072e(0x44c)](_0x132a8a[_0x5f072e(0x20f)]['UNIVER_SHEET']),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x132a8a['UniverInstanceType'][_0x5f072e(0x1b0)]))['pipe'](_0x41f28e['takeUntil'](this['dispose$']))[_0x5f072e(0x3de)](_0x45a05b=>{var _0x510079=_0x5f072e;const _0x4e89ef=_0x45a05b[_0x510079(0x1df)](),_0x43dbcd=this['_entities']['get'](_0x4e89ef);_0x43dbcd&&(_0x43dbcd[_0x510079(0x149)](),this[_0x510079(0x21c)][_0x510079(0x26b)](_0x4e89ef));});}async[_0x56fe62(0x373)](_0x24e318,_0x5d0bc3){var _0x16486a=_0x56fe62;const _0x3e7f3f=await this[_0x16486a(0x48e)][_0x16486a(0x35b)](_0x24e318),_0xf1e7f9=this[_0x16486a(0x3c0)][_0x16486a(0x48b)](this[_0x16486a(0x31b)](_0x5d0bc3),_0x24e318,_0x5d0bc3,_0x3e7f3f);return await _0xf1e7f9['init'](),this[_0x16486a(0x332)][_0x16486a(0x360)](_0xf1e7f9),_0xf1e7f9;}['_getCtorByUniverType'](_0x2818aa){var _0x34dc80=_0x56fe62;switch(_0x2818aa){case _0x5b3fe9[_0x34dc80(0x1b0)]:return _0x43236a['DocCollaborationEntity'];case _0x5b3fe9[_0x34dc80(0x2a4)]:return _0x43236a[_0x34dc80(0x1bd)];default:throw new Error(_0x34dc80(0x1d6)+_0x2818aa);}}},_0x43236a[_0x56fe62(0x2ff)]=_0x50aa3b([_0x579361(0x0,_0x132a8a['Inject'](_0x132a8a[_0x56fe62(0x1ae)])),_0x579361(0x1,_0x132a8a['Inject'](_0x43236a[_0x56fe62(0x276)])),_0x579361(0x2,_0x132a8a[_0x56fe62(0x2cf)]),_0x579361(0x3,_0x132a8a[_0x56fe62(0x1da)])],_0x43236a[_0x56fe62(0x2ff)]);var _0x1406ab=Object[_0x56fe62(0x2f8)],_0x1cb4be=(_0x2d4a2e,_0x24fae3,_0x5af67e,_0x1f4ba6)=>{var _0x407f19=_0x56fe62;for(var _0xf6abdd=_0x1f4ba6>0x1?void 0x0:_0x1f4ba6?_0x1406ab(_0x24fae3,_0x5af67e):_0x24fae3,_0x5ea4a9=_0x2d4a2e[_0x407f19(0x17a)]-0x1,_0x3e1824;_0x5ea4a9>=0x0;_0x5ea4a9--)(_0x3e1824=_0x2d4a2e[_0x5ea4a9])&&(_0xf6abdd=_0x3e1824(_0xf6abdd)||_0xf6abdd);return _0xf6abdd;},_0x35ca67=(_0x4d2cb5,_0xfe6346)=>(_0x2a0787,_0x3f0049)=>_0xfe6346(_0x2a0787,_0x3f0049,_0x4d2cb5);const _0x427962=_0x56fe62(0x2e7),_0x26c930='Univer';let _0x2f1d9c=class extends _0x132a8a[_0x56fe62(0x19f)]{constructor(_0x3f8ceb,_0x47c850){var _0x2ed62b=_0x56fe62;super(),this[_0x2ed62b(0x3fd)]=_0x3f8ceb,this['_configService']=_0x47c850,this[_0x2ed62b(0x403)]();}['_init'](){var _0x35ce49=_0x56fe62;this[_0x35ce49(0x29a)](this[_0x35ce49(0x3fd)][_0x35ce49(0x477)][_0x35ce49(0x3de)](()=>{var _0x1f4a4f=_0x35ce49,_0xf49129;const _0x3293e5=this[_0x1f4a4f(0x3fd)][_0x1f4a4f(0x38a)]();let _0x519d89=(_0xf49129=this[_0x1f4a4f(0x2f7)][_0x1f4a4f(0x1ab)](_0x427962))!=null?_0xf49129:_0x26c930;_0x3293e5 instanceof _0x132a8a[_0x1f4a4f(0x2a2)]&&(_0x519d89=_0x3293e5['name']),document[_0x1f4a4f(0x2b8)]=_0x519d89;}));}};_0x2f1d9c=_0x1cb4be([_0x35ca67(0x0,_0x132a8a[_0x56fe62(0x1da)]),_0x35ca67(0x1,_0x132a8a[_0x56fe62(0x2cf)])],_0x2f1d9c);var _0x50c15b=Object[_0x56fe62(0x2f8)],_0x17c026=(_0x17db5d,_0x14eb70,_0x4ece4e,_0x256533)=>{for(var _0x374863=_0x256533>0x1?void 0x0:_0x256533?_0x50c15b(_0x14eb70,_0x4ece4e):_0x14eb70,_0xbda6=_0x17db5d['length']-0x1,_0x31544c;_0xbda6>=0x0;_0xbda6--)(_0x31544c=_0x17db5d[_0xbda6])&&(_0x374863=_0x31544c(_0x374863)||_0x374863);return _0x374863;},_0x438125=(_0x22477e,_0x2282d2)=>(_0x64831,_0x121140)=>_0x2282d2(_0x64831,_0x121140,_0x22477e);let _0x398cd6=class{constructor(_0x2abc49,_0x102601,_0x481c01){var _0x24282d=_0x56fe62;this['_configService']=_0x2abc49,this[_0x24282d(0x280)]=_0x102601,this[_0x24282d(0x34c)]=_0x481c01,this['init']();}[_0x56fe62(0x161)](){var _0x1da1b0=_0x56fe62;this[_0x1da1b0(0x280)][_0x1da1b0(0x2c5)]({'priority':0x1,'interceptor':(_0xb5d66c,_0xd8c46c)=>_0xd8c46c(_0xb5d66c)['pipe'](_0x41f28e[_0x1da1b0(0x378)](async _0x2dd256=>{var _0x4a81ab=_0x1da1b0;const _0x210323=_0x2dd256;if(_0x210323[_0x4a81ab(0x1a9)]===0x191){if(typeof window>'u')throw new Error(_0x4a81ab(0x228));if(window['confirm'](this[_0x4a81ab(0x34c)]['t'](_0x4a81ab(0x330)))){const _0x4defb9=window[_0x4a81ab(0x2d3)](window[_0x4a81ab(0x13e)][_0x4a81ab(0x340)]);window[_0x4a81ab(0x13e)][_0x4a81ab(0x340)]=this['_getLoginPath']()+_0x4a81ab(0x42c)+_0x4defb9;}}return _0x210323;}))});}[_0x56fe62(0x145)](){var _0x468c2e=_0x56fe62,_0xf7d358;const _0x5f3a60=this[_0x468c2e(0x2f7)][_0x468c2e(0x1ab)](_0x16e9e6);return(_0xf7d358=_0x5f3a60==null?void 0x0:_0x5f3a60['loginUrlKey'])!=null?_0xf7d358:_0x1a755a;}};_0x398cd6=_0x17c026([_0x438125(0x0,_0x132a8a[_0x56fe62(0x2cf)]),_0x438125(0x1,_0x132a8a[_0x56fe62(0x1fa)](_0x38b1a1[_0x56fe62(0x4b1)])),_0x438125(0x2,_0x132a8a['Inject'](_0x132a8a[_0x56fe62(0x2ea)]))],_0x398cd6);var _0x22c2e1=Object[_0x56fe62(0x2f8)],_0x561570=(_0x22571c,_0x48dcea,_0x5f1048,_0x5d7958)=>{var _0x4cd908=_0x56fe62;for(var _0x4fe759=_0x5d7958>0x1?void 0x0:_0x5d7958?_0x22c2e1(_0x48dcea,_0x5f1048):_0x48dcea,_0x5538e1=_0x22571c[_0x4cd908(0x17a)]-0x1,_0x5ee697;_0x5538e1>=0x0;_0x5538e1--)(_0x5ee697=_0x22571c[_0x5538e1])&&(_0x4fe759=_0x5ee697(_0x4fe759)||_0x4fe759);return _0x4fe759;},_0x2e58e4=(_0x261b7a,_0x1a5681)=>(_0xa82325,_0x2dc959)=>_0x1a5681(_0xa82325,_0x2dc959,_0x261b7a);const _0x2bb4af=_0x56fe62(0x31c);_0x43236a[_0x56fe62(0x485)]=class extends _0x132a8a['Disposable']{constructor(_0x5a1a90,_0x57b703){var _0x41fc8d=_0x56fe62;super(),this['_HTTPService']=_0x5a1a90,this[_0x41fc8d(0x2f7)]=_0x57b703,this['_initMergeInterceptor']();}[_0x56fe62(0x3c2)](){var _0xa0629e=_0x56fe62;const _0x395ef5=this;this['disposeWithMe'](this[_0xa0629e(0x394)][_0xa0629e(0x2c5)]({'priority':0x3e7,'interceptor':_0x38b1a1['MergeInterceptorFactory']({'isMatch'(_0x415762){var _0x3e30b1=_0xa0629e,_0x419bf9;if(_0x415762[_0x3e30b1(0x185)]===_0x3e30b1(0x45d)&&((_0x419bf9=_0x415762[_0x3e30b1(0x3be)])!=null&&_0x419bf9[_0x3e30b1(0x324)])){const {objectID:_0x374f81,objectType:_0x271405}=_0x415762['requestParams'][_0x3e30b1(0x324)]||{};if(!_0x374f81||_0x271405===void 0x0)return!0x1;const _0x3d66c3=_0x395ef5[_0x3e30b1(0x1a3)]()+'/'+_0x271405+_0x3e30b1(0x1fc)+_0x374f81+'/allowed';if(_0x415762[_0x3e30b1(0x212)]===_0x3d66c3)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xdda7a4){var _0x2f7cc7=_0xa0629e,_0x263e6c;return(_0x263e6c=_0xdda7a4[_0x2f7cc7(0x3be)])==null?void 0x0:_0x263e6c[_0x2f7cc7(0x324)];},'mergeParamsToRequest'(_0x213223,_0x1fa5a7){var _0x345f12=_0xa0629e;const _0x5913f5=_0x395ef5[_0x345f12(0x1a3)]()+_0x345f12(0x38e),_0x4b8ddb=_0x213223[_0x345f12(0x1f5)]((_0x328718,_0x5da1cc)=>{const {unitID:_0x2d48e8,objectID:_0x2fe642,objectType:_0x236813,actions:_0xc82517}=_0x5da1cc;return _0x328718[_0x2d48e8]||(_0x328718[_0x2d48e8]={}),_0x328718[_0x2d48e8][_0x2fe642]||(_0x328718[_0x2d48e8][_0x2fe642]={'objectID':_0x2fe642,'objectType':_0x236813,'actions':[]}),_0x328718[_0x2d48e8][_0x2fe642]['actions']['push'](..._0xc82517),_0x328718;},{}),_0x2c23b6=[];for(const _0x2ae16e in _0x4b8ddb)for(const _0x1ce283 in _0x4b8ddb[_0x2ae16e]){const {actions:_0x566ee2,objectType:_0x38f095}=_0x4b8ddb[_0x2ae16e][_0x1ce283],_0x11d4d0=[...new Set(_0x566ee2)];_0x2c23b6[_0x345f12(0x372)]({'unitID':_0x2ae16e,'objectID':_0x1ce283,'objectType':_0x38f095,'actions':_0x11d4d0});}return new _0x38b1a1['HTTPRequest']('POST',_0x5913f5,{'headers':_0x1fa5a7['headers'],'withCredentials':_0x1fa5a7[_0x345f12(0x2fd)],'responseType':_0x1fa5a7[_0x345f12(0x144)],'body':{'requests':_0x2c23b6}});}},{'distributeResult'(_0x439c71,_0x150acf){var _0x429ca2=_0xa0629e;const {objectActions:_0x20f789}=_0x439c71;return _0x150acf[_0x429ca2(0x290)](_0x271ac5=>{var _0x1a80bc=_0x429ca2;const {unitID:_0x456c1d,objectID:_0x3ebf9b,actions:_0x105ec5}=_0x271ac5,_0x141f3d=_0x20f789[_0x1a80bc(0x46c)](_0x81cc8f=>_0x81cc8f[_0x1a80bc(0x463)]===_0x456c1d&&_0x81cc8f['objectID']===_0x3ebf9b),_0xca0a98=_0x105ec5[_0x1a80bc(0x290)](_0x3b6db8=>_0x141f3d==null?void 0x0:_0x141f3d[_0x1a80bc(0x190)][_0x1a80bc(0x46c)](_0x2b2eb6=>_0x2b2eb6[_0x1a80bc(0x25e)]===_0x3b6db8))[_0x1a80bc(0x272)](_0x4921e8=>!!_0x4921e8);return{'config':_0x271ac5,'result':{'actions':_0xca0a98,'error':_0x439c71[_0x1a80bc(0x32b)]}};});}})}));}[_0x56fe62(0x1a3)](){var _0x49568e=_0x56fe62,_0xe3a8d;const _0x30d176=this['_configService'][_0x49568e(0x1ab)](_0x16e9e6);return(_0xe3a8d=_0x30d176==null?void 0x0:_0x30d176['authzUrl'])!=null?_0xe3a8d:_0x2bb4af;}async[_0x56fe62(0x1ea)](_0x30bb20){var _0x1bab91=_0x56fe62;const _0xc8166c=this[_0x1bab91(0x1a3)]()+'/'+_0x30bb20[_0x1bab91(0x30b)]+'/object';return(await this[_0x1bab91(0x394)][_0x1bab91(0x12e)](_0xc8166c,{'body':_0x30bb20}))['body']['objectID']||'';}async['list'](_0x5d08c9){var _0x54ccbd=_0x56fe62;const _0xd0483=this[_0x54ccbd(0x1a3)]()+_0x54ccbd(0x3e4);return(await this['_HTTPService'][_0x54ccbd(0x12e)](_0xd0483,{'body':_0x5d08c9}))[_0x54ccbd(0x324)][_0x54ccbd(0x380)];}async[_0x56fe62(0x207)](_0x240bbb){var _0x4a7877=_0x56fe62,_0x5db90f,_0x1490bc;const _0x29f143=this['_getAPIPrefixPath']()+'/'+_0x240bbb['objectType']+_0x4a7877(0x1fc)+_0x240bbb[_0x4a7877(0x19a)],_0xabcaf4=await this['_HTTPService']['put'](_0x29f143,{'body':_0x240bbb});if(((_0x1490bc=(_0x5db90f=_0xabcaf4==null?void 0x0:_0xabcaf4[_0x4a7877(0x324)])==null?void 0x0:_0x5db90f[_0x4a7877(0x32b)])==null?void 0x0:_0x1490bc['code'])!==0x1)throw new Error(_0x4a7877(0x115));}async[_0x56fe62(0x25f)](_0x48133c){var _0x4e23d4=_0x56fe62;const _0x56e390=this['_getAPIPrefixPath']()+'/'+_0x48133c['objectType']+_0x4e23d4(0x1fc)+_0x48133c[_0x4e23d4(0x19a)]+_0x4e23d4(0x1e8);return(await this['_HTTPService'][_0x4e23d4(0x12e)](_0x56e390,{'body':_0x48133c}))[_0x4e23d4(0x324)]['actions'];}async[_0x56fe62(0x18f)](_0x768472){var _0xe92348=_0x56fe62;const _0xf7b8d8=this['_getAPIPrefixPath']()+_0xe92348(0x38e);return(await this['_HTTPService'][_0xe92348(0x12e)](_0xf7b8d8,{'body':{'requests':_0x768472}}))[_0xe92348(0x324)][_0xe92348(0x49c)];}async['listRoles'](_0x4a80c6){var _0x407497=_0x56fe62;const _0x47b6e9=this[_0x407497(0x1a3)]()+'/'+_0x4a80c6[_0x407497(0x30b)]+_0x407497(0x1f2),_0x190fa3=await this[_0x407497(0x394)][_0x407497(0x12e)](_0x47b6e9,{'body':_0x4a80c6});return{'roles':_0x190fa3['body'][_0x407497(0x243)],'actions':_0x190fa3['body']['actions']};}async[_0x56fe62(0x41a)](_0x8cce60){var _0x474e6a=_0x56fe62;const _0x2a5772=this[_0x474e6a(0x1a3)]()+_0x474e6a(0x35d);await this['_HTTPService'][_0x474e6a(0x26b)](_0x2a5772,{'params':{'collaboratorID':_0x8cce60[_0x474e6a(0x2bb)],'objectID':_0x8cce60['objectID'],'unitID':_0x8cce60[_0x474e6a(0x463)]}});}async['updateCollaborator'](_0x7cc206){var _0x4e344c=_0x56fe62;const _0x4602aa=this[_0x4e344c(0x1a3)]()+'/collaborator';await this[_0x4e344c(0x394)][_0x4e344c(0x413)](_0x4602aa,{'body':_0x7cc206});}async[_0x56fe62(0x35a)](_0x4d1812){var _0x1f55b7=_0x56fe62;const _0x1ee0b4=this[_0x1f55b7(0x1a3)]()+'/collaborator';await this[_0x1f55b7(0x394)][_0x1f55b7(0x12e)](_0x1ee0b4,{'body':_0x4d1812});}async[_0x56fe62(0x2e5)](_0x1290a5){var _0x35a4c6=_0x56fe62;const _0x3a26ba=this[_0x35a4c6(0x1a3)]()+_0x35a4c6(0x35d);return(await this[_0x35a4c6(0x394)]['get'](_0x3a26ba,{'params':{'objectID':_0x1290a5['objectID'],'unitID':_0x1290a5['unitID']}}))[_0x35a4c6(0x324)][_0x35a4c6(0x2dc)];}async['putCollaborators'](_0x5f28a7){var _0x4d6912=_0x56fe62;const _0x33cc78=this[_0x4d6912(0x1a3)]()+'/collaborator';await this['_HTTPService']['put'](_0x33cc78,{'body':_0x5f28a7});}},_0x43236a[_0x56fe62(0x485)]=_0x561570([_0x2e58e4(0x0,_0x132a8a[_0x56fe62(0x1fa)](_0x38b1a1['HTTPService'])),_0x2e58e4(0x1,_0x132a8a[_0x56fe62(0x1fa)](_0x132a8a[_0x56fe62(0x2cf)]))],_0x43236a[_0x56fe62(0x485)]);var _0x3f1dc8=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x519655(_0x21f633){var _0x2405bf=_0x56fe62;return _0x21f633&&_0x21f633[_0x2405bf(0x28c)]&&Object[_0x2405bf(0x22c)]['hasOwnProperty'][_0x2405bf(0x208)](_0x21f633,_0x2405bf(0x1d0))?_0x21f633[_0x2405bf(0x1d0)]:_0x21f633;}var _0xf153ba={'exports':{}};function _0x5dedcb(_0x303338){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x303338+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var _0x5a262a={'exports':{}},_0x56a934=_0x5a262a[_0x56fe62(0x2f0)],_0x9af129;function _0x3a4bbd(){var _0x23dd5b=_0x56fe62;return _0x9af129||(_0x9af129=0x1,function(_0x29e0c6,_0x2ee461){(function(_0x41381c,_0x596a3d){var _0x56e0b3=_0x3662;_0x29e0c6[_0x56e0b3(0x2f0)]=_0x596a3d();}(_0x56a934,function(){var _0x1a09e9=_0x1a09e9||function(_0x5c8df6,_0x569326){var _0x18cd4c=_0x3662,_0x35a166;if(typeof window<'u'&&window[_0x18cd4c(0x184)]&&(_0x35a166=window['crypto']),typeof self<'u'&&self[_0x18cd4c(0x184)]&&(_0x35a166=self[_0x18cd4c(0x184)]),typeof globalThis<'u'&&globalThis[_0x18cd4c(0x184)]&&(_0x35a166=globalThis[_0x18cd4c(0x184)]),!_0x35a166&&typeof window<'u'&&window[_0x18cd4c(0x346)]&&(_0x35a166=window['msCrypto']),!_0x35a166&&typeof _0x3f1dc8<'u'&&_0x3f1dc8[_0x18cd4c(0x184)]&&(_0x35a166=_0x3f1dc8['crypto']),!_0x35a166&&typeof _0x5dedcb==_0x18cd4c(0x4ae))try{_0x35a166=require('crypto');}catch{}var _0x1c20c8=function(){var _0x134a79=_0x18cd4c;if(_0x35a166){if(typeof _0x35a166['getRandomValues']==_0x134a79(0x4ae))try{return _0x35a166[_0x134a79(0x1c9)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x35a166[_0x134a79(0x37d)]==_0x134a79(0x4ae))try{return _0x35a166[_0x134a79(0x37d)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x134a79(0x459));},_0x27a9fe=Object[_0x18cd4c(0x1ea)]||(function(){function _0x49a1e0(){}return function(_0x4e6bca){var _0x307e71=_0x3662,_0x4b0724;return _0x49a1e0[_0x307e71(0x22c)]=_0x4e6bca,_0x4b0724=new _0x49a1e0(),_0x49a1e0['prototype']=null,_0x4b0724;};}()),_0x5eebd2={},_0x3c41bd=_0x5eebd2[_0x18cd4c(0x235)]={},_0x20ec0e=_0x3c41bd[_0x18cd4c(0x3c7)]=(function(){return{'extend':function(_0x41b936){var _0x106007=_0x3662,_0x288a88=_0x27a9fe(this);return _0x41b936&&_0x288a88[_0x106007(0x1e9)](_0x41b936),(!_0x288a88[_0x106007(0x47c)](_0x106007(0x161))||this[_0x106007(0x161)]===_0x288a88[_0x106007(0x161)])&&(_0x288a88[_0x106007(0x161)]=function(){var _0x48f195=_0x106007;_0x288a88['$super'][_0x48f195(0x161)][_0x48f195(0x128)](this,arguments);}),_0x288a88[_0x106007(0x161)][_0x106007(0x22c)]=_0x288a88,_0x288a88[_0x106007(0x454)]=this,_0x288a88;},'create':function(){var _0x577afb=_0x3662,_0x44083a=this['extend']();return _0x44083a[_0x577afb(0x161)]['apply'](_0x44083a,arguments),_0x44083a;},'init':function(){},'mixIn':function(_0x1dbc69){var _0x427bf1=_0x3662;for(var _0x4aa736 in _0x1dbc69)_0x1dbc69[_0x427bf1(0x47c)](_0x4aa736)&&(this[_0x4aa736]=_0x1dbc69[_0x4aa736]);_0x1dbc69['hasOwnProperty'](_0x427bf1(0x277))&&(this[_0x427bf1(0x277)]=_0x1dbc69[_0x427bf1(0x277)]);},'clone':function(){var _0x40c23c=_0x3662;return this[_0x40c23c(0x161)][_0x40c23c(0x22c)][_0x40c23c(0x18a)](this);}};}()),_0x20ddce=_0x3c41bd[_0x18cd4c(0x120)]=_0x20ec0e[_0x18cd4c(0x18a)]({'init':function(_0x5aedfe,_0x208065){var _0x138060=_0x18cd4c;_0x5aedfe=this['words']=_0x5aedfe||[],_0x208065!=_0x569326?this[_0x138060(0x3a8)]=_0x208065:this[_0x138060(0x3a8)]=_0x5aedfe[_0x138060(0x17a)]*0x4;},'toString':function(_0x58e518){var _0x1b5da7=_0x18cd4c;return(_0x58e518||_0x3230a8)[_0x1b5da7(0x123)](this);},'concat':function(_0x1302d8){var _0x8e39c7=_0x18cd4c,_0x508fd7=this['words'],_0x58afea=_0x1302d8[_0x8e39c7(0x40b)],_0x5e988a=this[_0x8e39c7(0x3a8)],_0x5d45b2=_0x1302d8[_0x8e39c7(0x3a8)];if(this[_0x8e39c7(0x3ea)](),_0x5e988a%0x4)for(var _0x3e52b9=0x0;_0x3e52b9<_0x5d45b2;_0x3e52b9++){var _0x556fc7=_0x58afea[_0x3e52b9>>>0x2]>>>0x18-_0x3e52b9%0x4*0x8&0xff;_0x508fd7[_0x5e988a+_0x3e52b9>>>0x2]|=_0x556fc7<<0x18-(_0x5e988a+_0x3e52b9)%0x4*0x8;}else{for(var _0xd9acfd=0x0;_0xd9acfd<_0x5d45b2;_0xd9acfd+=0x4)_0x508fd7[_0x5e988a+_0xd9acfd>>>0x2]=_0x58afea[_0xd9acfd>>>0x2];}return this[_0x8e39c7(0x3a8)]+=_0x5d45b2,this;},'clamp':function(){var _0x194c15=_0x18cd4c,_0x2f0490=this[_0x194c15(0x40b)],_0x210f53=this[_0x194c15(0x3a8)];_0x2f0490[_0x210f53>>>0x2]&=0xffffffff<<0x20-_0x210f53%0x4*0x8,_0x2f0490[_0x194c15(0x17a)]=_0x5c8df6[_0x194c15(0x32d)](_0x210f53/0x4);},'clone':function(){var _0x5641a1=_0x18cd4c,_0x450c74=_0x20ec0e[_0x5641a1(0x1ce)][_0x5641a1(0x208)](this);return _0x450c74[_0x5641a1(0x40b)]=this[_0x5641a1(0x40b)][_0x5641a1(0x168)](0x0),_0x450c74;},'random':function(_0x93ccd7){var _0x4df8a4=_0x18cd4c;for(var _0x4ef50e=[],_0x3f150c=0x0;_0x3f150c<_0x93ccd7;_0x3f150c+=0x4)_0x4ef50e[_0x4df8a4(0x372)](_0x1c20c8());return new _0x20ddce[(_0x4df8a4(0x161))](_0x4ef50e,_0x93ccd7);}}),_0x24da70=_0x5eebd2[_0x18cd4c(0x158)]={},_0x3230a8=_0x24da70[_0x18cd4c(0x1d5)]={'stringify':function(_0x4d3806){var _0x22b2bd=_0x18cd4c;for(var _0x72552f=_0x4d3806[_0x22b2bd(0x40b)],_0x1198af=_0x4d3806[_0x22b2bd(0x3a8)],_0x11d4e9=[],_0x3a4ae9=0x0;_0x3a4ae9<_0x1198af;_0x3a4ae9++){var _0x45d6ac=_0x72552f[_0x3a4ae9>>>0x2]>>>0x18-_0x3a4ae9%0x4*0x8&0xff;_0x11d4e9[_0x22b2bd(0x372)]((_0x45d6ac>>>0x4)[_0x22b2bd(0x277)](0x10)),_0x11d4e9['push']((_0x45d6ac&0xf)[_0x22b2bd(0x277)](0x10));}return _0x11d4e9[_0x22b2bd(0x45c)]('');},'parse':function(_0xddb25){var _0x121747=_0x18cd4c;for(var _0x577c31=_0xddb25[_0x121747(0x17a)],_0x3fc4b9=[],_0x5951e1=0x0;_0x5951e1<_0x577c31;_0x5951e1+=0x2)_0x3fc4b9[_0x5951e1>>>0x3]|=parseInt(_0xddb25[_0x121747(0x296)](_0x5951e1,0x2),0x10)<<0x18-_0x5951e1%0x8*0x4;return new _0x20ddce[(_0x121747(0x161))](_0x3fc4b9,_0x577c31/0x2);}},_0x2e7665=_0x24da70[_0x18cd4c(0x44d)]={'stringify':function(_0x512f4e){var _0xccc627=_0x18cd4c;for(var _0x4e9408=_0x512f4e[_0xccc627(0x40b)],_0x43627f=_0x512f4e['sigBytes'],_0x5208f2=[],_0x50b577=0x0;_0x50b577<_0x43627f;_0x50b577++){var _0x5a4f4a=_0x4e9408[_0x50b577>>>0x2]>>>0x18-_0x50b577%0x4*0x8&0xff;_0x5208f2['push'](String[_0xccc627(0x2a7)](_0x5a4f4a));}return _0x5208f2['join']('');},'parse':function(_0x44ab86){var _0x446bb2=_0x18cd4c;for(var _0x2939a4=_0x44ab86[_0x446bb2(0x17a)],_0x2cd208=[],_0x903812=0x0;_0x903812<_0x2939a4;_0x903812++)_0x2cd208[_0x903812>>>0x2]|=(_0x44ab86[_0x446bb2(0x2e2)](_0x903812)&0xff)<<0x18-_0x903812%0x4*0x8;return new _0x20ddce[(_0x446bb2(0x161))](_0x2cd208,_0x2939a4);}},_0x2cc0f7=_0x24da70['Utf8']={'stringify':function(_0x2d4df4){var _0x443892=_0x18cd4c;try{return decodeURIComponent(escape(_0x2e7665[_0x443892(0x123)](_0x2d4df4)));}catch{throw new Error(_0x443892(0x266));}},'parse':function(_0x35f32a){return _0x2e7665['parse'](unescape(encodeURIComponent(_0x35f32a)));}},_0x2fbc40=_0x3c41bd[_0x18cd4c(0x39d)]=_0x20ec0e[_0x18cd4c(0x18a)]({'reset':function(){var _0x27b58c=_0x18cd4c;this[_0x27b58c(0x407)]=new _0x20ddce[(_0x27b58c(0x161))](),this['_nDataBytes']=0x0;},'_append':function(_0x1ecb0c){var _0x3ba641=_0x18cd4c;typeof _0x1ecb0c==_0x3ba641(0x1fe)&&(_0x1ecb0c=_0x2cc0f7[_0x3ba641(0x2fc)](_0x1ecb0c)),this['_data'][_0x3ba641(0x420)](_0x1ecb0c),this[_0x3ba641(0x1f3)]+=_0x1ecb0c[_0x3ba641(0x3a8)];},'_process':function(_0x3e6998){var _0x5a3000=_0x18cd4c,_0x3c4a3c,_0x42e038=this[_0x5a3000(0x407)],_0x7a14b5=_0x42e038[_0x5a3000(0x40b)],_0x415976=_0x42e038[_0x5a3000(0x3a8)],_0x4a2d7c=this[_0x5a3000(0x1c0)],_0x5d9d76=_0x4a2d7c*0x4,_0x4f8c77=_0x415976/_0x5d9d76;_0x3e6998?_0x4f8c77=_0x5c8df6['ceil'](_0x4f8c77):_0x4f8c77=_0x5c8df6[_0x5a3000(0x150)]((_0x4f8c77|0x0)-this['_minBufferSize'],0x0);var _0x2430f4=_0x4f8c77*_0x4a2d7c,_0xe19c75=_0x5c8df6[_0x5a3000(0x13c)](_0x2430f4*0x4,_0x415976);if(_0x2430f4){for(var _0x33d6d7=0x0;_0x33d6d7<_0x2430f4;_0x33d6d7+=_0x4a2d7c)this[_0x5a3000(0x231)](_0x7a14b5,_0x33d6d7);_0x3c4a3c=_0x7a14b5[_0x5a3000(0x1f8)](0x0,_0x2430f4),_0x42e038[_0x5a3000(0x3a8)]-=_0xe19c75;}return new _0x20ddce['init'](_0x3c4a3c,_0xe19c75);},'clone':function(){var _0x5c32bc=_0x18cd4c,_0x51eb13=_0x20ec0e[_0x5c32bc(0x1ce)][_0x5c32bc(0x208)](this);return _0x51eb13['_data']=this[_0x5c32bc(0x407)][_0x5c32bc(0x1ce)](),_0x51eb13;},'_minBufferSize':0x0});_0x3c41bd[_0x18cd4c(0x38d)]=_0x2fbc40[_0x18cd4c(0x18a)]({'cfg':_0x20ec0e[_0x18cd4c(0x18a)](),'init':function(_0x235e61){var _0x22c3a0=_0x18cd4c;this[_0x22c3a0(0x318)]=this[_0x22c3a0(0x318)]['extend'](_0x235e61),this[_0x22c3a0(0x350)]();},'reset':function(){var _0x381d22=_0x18cd4c;_0x2fbc40[_0x381d22(0x350)][_0x381d22(0x208)](this),this['_doReset']();},'update':function(_0x3e63c2){var _0x16a5b8=_0x18cd4c;return this[_0x16a5b8(0x3c6)](_0x3e63c2),this[_0x16a5b8(0x312)](),this;},'finalize':function(_0x1d7365){var _0xc3b53c=_0x18cd4c;_0x1d7365&&this[_0xc3b53c(0x3c6)](_0x1d7365);var _0x40e298=this[_0xc3b53c(0x491)]();return _0x40e298;},'blockSize':0x10,'_createHelper':function(_0x562074){return function(_0x583783,_0x3ddb3b){var _0xd793dc=_0x3662;return new _0x562074[(_0xd793dc(0x161))](_0x3ddb3b)[_0xd793dc(0x233)](_0x583783);};},'_createHmacHelper':function(_0x50c18c){return function(_0x396c3c,_0x45daf4){var _0x1746d7=_0x3662;return new _0x5a7fa6['HMAC'][(_0x1746d7(0x161))](_0x50c18c,_0x45daf4)[_0x1746d7(0x233)](_0x396c3c);};}});var _0x5a7fa6=_0x5eebd2[_0x18cd4c(0x248)]={};return _0x5eebd2;}(Math);return _0x1a09e9;}));}(_0x5a262a)),_0x5a262a[_0x23dd5b(0x2f0)];}var _0xace712={'exports':{}},_0xa6b832=_0xace712[_0x56fe62(0x2f0)],_0x1ac35a;function _0x18e8c5(){var _0x56c028=_0x56fe62;return _0x1ac35a||(_0x1ac35a=0x1,function(_0x4f67ec,_0x3af83f){(function(_0x4467ed,_0x15504e){_0x4f67ec['exports']=_0x15504e(_0x3a4bbd());}(_0xa6b832,function(_0x819209){var _0x3daff0=_0x3662;return(function(){var _0x2beda5=_0x3662,_0x5cf8a1=_0x819209,_0x46b50d=_0x5cf8a1[_0x2beda5(0x235)],_0x515e69=_0x46b50d['WordArray'],_0x2562dd=_0x5cf8a1[_0x2beda5(0x158)];_0x2562dd[_0x2beda5(0x30d)]={'stringify':function(_0x2752aa){var _0x2b66f8=_0x2beda5,_0x2004a8=_0x2752aa['words'],_0x1eb4df=_0x2752aa[_0x2b66f8(0x3a8)],_0x5530f2=this['_map'];_0x2752aa['clamp']();for(var _0x58f45c=[],_0x145148=0x0;_0x145148<_0x1eb4df;_0x145148+=0x3)for(var _0xe0df6d=_0x2004a8[_0x145148>>>0x2]>>>0x18-_0x145148%0x4*0x8&0xff,_0x598043=_0x2004a8[_0x145148+0x1>>>0x2]>>>0x18-(_0x145148+0x1)%0x4*0x8&0xff,_0x5e433e=_0x2004a8[_0x145148+0x2>>>0x2]>>>0x18-(_0x145148+0x2)%0x4*0x8&0xff,_0x2b0b26=_0xe0df6d<<0x10|_0x598043<<0x8|_0x5e433e,_0x17da62=0x0;_0x17da62<0x4&&_0x145148+_0x17da62*0.75<_0x1eb4df;_0x17da62++)_0x58f45c['push'](_0x5530f2[_0x2b66f8(0x2f4)](_0x2b0b26>>>0x6*(0x3-_0x17da62)&0x3f));var _0x599a78=_0x5530f2[_0x2b66f8(0x2f4)](0x40);if(_0x599a78){for(;_0x58f45c[_0x2b66f8(0x17a)]%0x4;)_0x58f45c[_0x2b66f8(0x372)](_0x599a78);}return _0x58f45c[_0x2b66f8(0x45c)]('');},'parse':function(_0x29c729){var _0xb61f77=_0x2beda5,_0x585894=_0x29c729[_0xb61f77(0x17a)],_0x3ea965=this[_0xb61f77(0x177)],_0x16f069=this['_reverseMap'];if(!_0x16f069){_0x16f069=this[_0xb61f77(0x449)]=[];for(var _0x30e149=0x0;_0x30e149<_0x3ea965[_0xb61f77(0x17a)];_0x30e149++)_0x16f069[_0x3ea965['charCodeAt'](_0x30e149)]=_0x30e149;}var _0xc10bd4=_0x3ea965[_0xb61f77(0x2f4)](0x40);if(_0xc10bd4){var _0x11a05d=_0x29c729[_0xb61f77(0x2c9)](_0xc10bd4);_0x11a05d!==-0x1&&(_0x585894=_0x11a05d);}return _0x32b999(_0x29c729,_0x585894,_0x16f069);},'_map':_0x2beda5(0x20a)};function _0x32b999(_0x117f53,_0x6a6726,_0x24446a){var _0x270cee=_0x2beda5;for(var _0x3265cc=[],_0x30f13b=0x0,_0x134a77=0x0;_0x134a77<_0x6a6726;_0x134a77++)if(_0x134a77%0x4){var _0xcfdbcd=_0x24446a[_0x117f53['charCodeAt'](_0x134a77-0x1)]<<_0x134a77%0x4*0x2,_0x7a186f=_0x24446a[_0x117f53[_0x270cee(0x2e2)](_0x134a77)]>>>0x6-_0x134a77%0x4*0x2,_0x159d60=_0xcfdbcd|_0x7a186f;_0x3265cc[_0x30f13b>>>0x2]|=_0x159d60<<0x18-_0x30f13b%0x4*0x8,_0x30f13b++;}return _0x515e69[_0x270cee(0x1ea)](_0x3265cc,_0x30f13b);}}()),_0x819209[_0x3daff0(0x158)][_0x3daff0(0x30d)];}));}(_0xace712)),_0xace712[_0x56c028(0x2f0)];}var _0x22abfd={'exports':{}},_0x54c78f=_0x22abfd[_0x56fe62(0x2f0)],_0x4e04a2;function _0xfa6a88(){var _0x4a040e=_0x56fe62;return _0x4e04a2||(_0x4e04a2=0x1,function(_0xdabd1d,_0x5480f8){(function(_0x5e37c8,_0x15c7d1){_0xdabd1d['exports']=_0x15c7d1(_0x3a4bbd());}(_0x54c78f,function(_0x1746a2){return function(_0x1afdfc){var _0xde101d=_0x3662,_0x2aeea9=_0x1746a2,_0x3cc216=_0x2aeea9[_0xde101d(0x235)],_0x932cef=_0x3cc216['WordArray'],_0x5dcc07=_0x3cc216[_0xde101d(0x38d)],_0x4941d3=_0x2aeea9[_0xde101d(0x248)],_0x4a221b=[];(function(){var _0x9f156b=_0xde101d;for(var _0x46ad66=0x0;_0x46ad66<0x40;_0x46ad66++)_0x4a221b[_0x46ad66]=_0x1afdfc[_0x9f156b(0x3f1)](_0x1afdfc['sin'](_0x46ad66+0x1))*0x100000000|0x0;}());var _0x4ba7d4=_0x4941d3[_0xde101d(0x16c)]=_0x5dcc07[_0xde101d(0x18a)]({'_doReset':function(){var _0x3d3ea4=_0xde101d;this[_0x3d3ea4(0x1fb)]=new _0x932cef[(_0x3d3ea4(0x161))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x58679b,_0xa2cb48){var _0x364860=_0xde101d;for(var _0x286ec3=0x0;_0x286ec3<0x10;_0x286ec3++){var _0x11dab7=_0xa2cb48+_0x286ec3,_0x27fb69=_0x58679b[_0x11dab7];_0x58679b[_0x11dab7]=(_0x27fb69<<0x8|_0x27fb69>>>0x18)&0xff00ff|(_0x27fb69<<0x18|_0x27fb69>>>0x8)&0xff00ff00;}var _0x564436=this['_hash'][_0x364860(0x40b)],_0x3340e1=_0x58679b[_0xa2cb48+0x0],_0x74ed6f=_0x58679b[_0xa2cb48+0x1],_0x29fce0=_0x58679b[_0xa2cb48+0x2],_0x1a2d58=_0x58679b[_0xa2cb48+0x3],_0x36dcf8=_0x58679b[_0xa2cb48+0x4],_0x26e9fc=_0x58679b[_0xa2cb48+0x5],_0x667baa=_0x58679b[_0xa2cb48+0x6],_0x48f379=_0x58679b[_0xa2cb48+0x7],_0x56ecaa=_0x58679b[_0xa2cb48+0x8],_0x5d8c27=_0x58679b[_0xa2cb48+0x9],_0xa240c8=_0x58679b[_0xa2cb48+0xa],_0x388e3b=_0x58679b[_0xa2cb48+0xb],_0x242fc1=_0x58679b[_0xa2cb48+0xc],_0x55a9c7=_0x58679b[_0xa2cb48+0xd],_0x1fde1a=_0x58679b[_0xa2cb48+0xe],_0x13a979=_0x58679b[_0xa2cb48+0xf],_0x2df9df=_0x564436[0x0],_0x4952ff=_0x564436[0x1],_0x534e15=_0x564436[0x2],_0x30539a=_0x564436[0x3];_0x2df9df=_0x189117(_0x2df9df,_0x4952ff,_0x534e15,_0x30539a,_0x3340e1,0x7,_0x4a221b[0x0]),_0x30539a=_0x189117(_0x30539a,_0x2df9df,_0x4952ff,_0x534e15,_0x74ed6f,0xc,_0x4a221b[0x1]),_0x534e15=_0x189117(_0x534e15,_0x30539a,_0x2df9df,_0x4952ff,_0x29fce0,0x11,_0x4a221b[0x2]),_0x4952ff=_0x189117(_0x4952ff,_0x534e15,_0x30539a,_0x2df9df,_0x1a2d58,0x16,_0x4a221b[0x3]),_0x2df9df=_0x189117(_0x2df9df,_0x4952ff,_0x534e15,_0x30539a,_0x36dcf8,0x7,_0x4a221b[0x4]),_0x30539a=_0x189117(_0x30539a,_0x2df9df,_0x4952ff,_0x534e15,_0x26e9fc,0xc,_0x4a221b[0x5]),_0x534e15=_0x189117(_0x534e15,_0x30539a,_0x2df9df,_0x4952ff,_0x667baa,0x11,_0x4a221b[0x6]),_0x4952ff=_0x189117(_0x4952ff,_0x534e15,_0x30539a,_0x2df9df,_0x48f379,0x16,_0x4a221b[0x7]),_0x2df9df=_0x189117(_0x2df9df,_0x4952ff,_0x534e15,_0x30539a,_0x56ecaa,0x7,_0x4a221b[0x8]),_0x30539a=_0x189117(_0x30539a,_0x2df9df,_0x4952ff,_0x534e15,_0x5d8c27,0xc,_0x4a221b[0x9]),_0x534e15=_0x189117(_0x534e15,_0x30539a,_0x2df9df,_0x4952ff,_0xa240c8,0x11,_0x4a221b[0xa]),_0x4952ff=_0x189117(_0x4952ff,_0x534e15,_0x30539a,_0x2df9df,_0x388e3b,0x16,_0x4a221b[0xb]),_0x2df9df=_0x189117(_0x2df9df,_0x4952ff,_0x534e15,_0x30539a,_0x242fc1,0x7,_0x4a221b[0xc]),_0x30539a=_0x189117(_0x30539a,_0x2df9df,_0x4952ff,_0x534e15,_0x55a9c7,0xc,_0x4a221b[0xd]),_0x534e15=_0x189117(_0x534e15,_0x30539a,_0x2df9df,_0x4952ff,_0x1fde1a,0x11,_0x4a221b[0xe]),_0x4952ff=_0x189117(_0x4952ff,_0x534e15,_0x30539a,_0x2df9df,_0x13a979,0x16,_0x4a221b[0xf]),_0x2df9df=_0x59afe9(_0x2df9df,_0x4952ff,_0x534e15,_0x30539a,_0x74ed6f,0x5,_0x4a221b[0x10]),_0x30539a=_0x59afe9(_0x30539a,_0x2df9df,_0x4952ff,_0x534e15,_0x667baa,0x9,_0x4a221b[0x11]),_0x534e15=_0x59afe9(_0x534e15,_0x30539a,_0x2df9df,_0x4952ff,_0x388e3b,0xe,_0x4a221b[0x12]),_0x4952ff=_0x59afe9(_0x4952ff,_0x534e15,_0x30539a,_0x2df9df,_0x3340e1,0x14,_0x4a221b[0x13]),_0x2df9df=_0x59afe9(_0x2df9df,_0x4952ff,_0x534e15,_0x30539a,_0x26e9fc,0x5,_0x4a221b[0x14]),_0x30539a=_0x59afe9(_0x30539a,_0x2df9df,_0x4952ff,_0x534e15,_0xa240c8,0x9,_0x4a221b[0x15]),_0x534e15=_0x59afe9(_0x534e15,_0x30539a,_0x2df9df,_0x4952ff,_0x13a979,0xe,_0x4a221b[0x16]),_0x4952ff=_0x59afe9(_0x4952ff,_0x534e15,_0x30539a,_0x2df9df,_0x36dcf8,0x14,_0x4a221b[0x17]),_0x2df9df=_0x59afe9(_0x2df9df,_0x4952ff,_0x534e15,_0x30539a,_0x5d8c27,0x5,_0x4a221b[0x18]),_0x30539a=_0x59afe9(_0x30539a,_0x2df9df,_0x4952ff,_0x534e15,_0x1fde1a,0x9,_0x4a221b[0x19]),_0x534e15=_0x59afe9(_0x534e15,_0x30539a,_0x2df9df,_0x4952ff,_0x1a2d58,0xe,_0x4a221b[0x1a]),_0x4952ff=_0x59afe9(_0x4952ff,_0x534e15,_0x30539a,_0x2df9df,_0x56ecaa,0x14,_0x4a221b[0x1b]),_0x2df9df=_0x59afe9(_0x2df9df,_0x4952ff,_0x534e15,_0x30539a,_0x55a9c7,0x5,_0x4a221b[0x1c]),_0x30539a=_0x59afe9(_0x30539a,_0x2df9df,_0x4952ff,_0x534e15,_0x29fce0,0x9,_0x4a221b[0x1d]),_0x534e15=_0x59afe9(_0x534e15,_0x30539a,_0x2df9df,_0x4952ff,_0x48f379,0xe,_0x4a221b[0x1e]),_0x4952ff=_0x59afe9(_0x4952ff,_0x534e15,_0x30539a,_0x2df9df,_0x242fc1,0x14,_0x4a221b[0x1f]),_0x2df9df=_0x283e1e(_0x2df9df,_0x4952ff,_0x534e15,_0x30539a,_0x26e9fc,0x4,_0x4a221b[0x20]),_0x30539a=_0x283e1e(_0x30539a,_0x2df9df,_0x4952ff,_0x534e15,_0x56ecaa,0xb,_0x4a221b[0x21]),_0x534e15=_0x283e1e(_0x534e15,_0x30539a,_0x2df9df,_0x4952ff,_0x388e3b,0x10,_0x4a221b[0x22]),_0x4952ff=_0x283e1e(_0x4952ff,_0x534e15,_0x30539a,_0x2df9df,_0x1fde1a,0x17,_0x4a221b[0x23]),_0x2df9df=_0x283e1e(_0x2df9df,_0x4952ff,_0x534e15,_0x30539a,_0x74ed6f,0x4,_0x4a221b[0x24]),_0x30539a=_0x283e1e(_0x30539a,_0x2df9df,_0x4952ff,_0x534e15,_0x36dcf8,0xb,_0x4a221b[0x25]),_0x534e15=_0x283e1e(_0x534e15,_0x30539a,_0x2df9df,_0x4952ff,_0x48f379,0x10,_0x4a221b[0x26]),_0x4952ff=_0x283e1e(_0x4952ff,_0x534e15,_0x30539a,_0x2df9df,_0xa240c8,0x17,_0x4a221b[0x27]),_0x2df9df=_0x283e1e(_0x2df9df,_0x4952ff,_0x534e15,_0x30539a,_0x55a9c7,0x4,_0x4a221b[0x28]),_0x30539a=_0x283e1e(_0x30539a,_0x2df9df,_0x4952ff,_0x534e15,_0x3340e1,0xb,_0x4a221b[0x29]),_0x534e15=_0x283e1e(_0x534e15,_0x30539a,_0x2df9df,_0x4952ff,_0x1a2d58,0x10,_0x4a221b[0x2a]),_0x4952ff=_0x283e1e(_0x4952ff,_0x534e15,_0x30539a,_0x2df9df,_0x667baa,0x17,_0x4a221b[0x2b]),_0x2df9df=_0x283e1e(_0x2df9df,_0x4952ff,_0x534e15,_0x30539a,_0x5d8c27,0x4,_0x4a221b[0x2c]),_0x30539a=_0x283e1e(_0x30539a,_0x2df9df,_0x4952ff,_0x534e15,_0x242fc1,0xb,_0x4a221b[0x2d]),_0x534e15=_0x283e1e(_0x534e15,_0x30539a,_0x2df9df,_0x4952ff,_0x13a979,0x10,_0x4a221b[0x2e]),_0x4952ff=_0x283e1e(_0x4952ff,_0x534e15,_0x30539a,_0x2df9df,_0x29fce0,0x17,_0x4a221b[0x2f]),_0x2df9df=_0x30ee6f(_0x2df9df,_0x4952ff,_0x534e15,_0x30539a,_0x3340e1,0x6,_0x4a221b[0x30]),_0x30539a=_0x30ee6f(_0x30539a,_0x2df9df,_0x4952ff,_0x534e15,_0x48f379,0xa,_0x4a221b[0x31]),_0x534e15=_0x30ee6f(_0x534e15,_0x30539a,_0x2df9df,_0x4952ff,_0x1fde1a,0xf,_0x4a221b[0x32]),_0x4952ff=_0x30ee6f(_0x4952ff,_0x534e15,_0x30539a,_0x2df9df,_0x26e9fc,0x15,_0x4a221b[0x33]),_0x2df9df=_0x30ee6f(_0x2df9df,_0x4952ff,_0x534e15,_0x30539a,_0x242fc1,0x6,_0x4a221b[0x34]),_0x30539a=_0x30ee6f(_0x30539a,_0x2df9df,_0x4952ff,_0x534e15,_0x1a2d58,0xa,_0x4a221b[0x35]),_0x534e15=_0x30ee6f(_0x534e15,_0x30539a,_0x2df9df,_0x4952ff,_0xa240c8,0xf,_0x4a221b[0x36]),_0x4952ff=_0x30ee6f(_0x4952ff,_0x534e15,_0x30539a,_0x2df9df,_0x74ed6f,0x15,_0x4a221b[0x37]),_0x2df9df=_0x30ee6f(_0x2df9df,_0x4952ff,_0x534e15,_0x30539a,_0x56ecaa,0x6,_0x4a221b[0x38]),_0x30539a=_0x30ee6f(_0x30539a,_0x2df9df,_0x4952ff,_0x534e15,_0x13a979,0xa,_0x4a221b[0x39]),_0x534e15=_0x30ee6f(_0x534e15,_0x30539a,_0x2df9df,_0x4952ff,_0x667baa,0xf,_0x4a221b[0x3a]),_0x4952ff=_0x30ee6f(_0x4952ff,_0x534e15,_0x30539a,_0x2df9df,_0x55a9c7,0x15,_0x4a221b[0x3b]),_0x2df9df=_0x30ee6f(_0x2df9df,_0x4952ff,_0x534e15,_0x30539a,_0x36dcf8,0x6,_0x4a221b[0x3c]),_0x30539a=_0x30ee6f(_0x30539a,_0x2df9df,_0x4952ff,_0x534e15,_0x388e3b,0xa,_0x4a221b[0x3d]),_0x534e15=_0x30ee6f(_0x534e15,_0x30539a,_0x2df9df,_0x4952ff,_0x29fce0,0xf,_0x4a221b[0x3e]),_0x4952ff=_0x30ee6f(_0x4952ff,_0x534e15,_0x30539a,_0x2df9df,_0x5d8c27,0x15,_0x4a221b[0x3f]),_0x564436[0x0]=_0x564436[0x0]+_0x2df9df|0x0,_0x564436[0x1]=_0x564436[0x1]+_0x4952ff|0x0,_0x564436[0x2]=_0x564436[0x2]+_0x534e15|0x0,_0x564436[0x3]=_0x564436[0x3]+_0x30539a|0x0;},'_doFinalize':function(){var _0xe98d=_0xde101d,_0x446e37=this[_0xe98d(0x407)],_0xd5e101=_0x446e37[_0xe98d(0x40b)],_0x2197bc=this['_nDataBytes']*0x8,_0x2fa36b=_0x446e37[_0xe98d(0x3a8)]*0x8;_0xd5e101[_0x2fa36b>>>0x5]|=0x80<<0x18-_0x2fa36b%0x20;var _0x3ef84a=_0x1afdfc['floor'](_0x2197bc/0x100000000),_0x29ec3c=_0x2197bc;_0xd5e101[(_0x2fa36b+0x40>>>0x9<<0x4)+0xf]=(_0x3ef84a<<0x8|_0x3ef84a>>>0x18)&0xff00ff|(_0x3ef84a<<0x18|_0x3ef84a>>>0x8)&0xff00ff00,_0xd5e101[(_0x2fa36b+0x40>>>0x9<<0x4)+0xe]=(_0x29ec3c<<0x8|_0x29ec3c>>>0x18)&0xff00ff|(_0x29ec3c<<0x18|_0x29ec3c>>>0x8)&0xff00ff00,_0x446e37[_0xe98d(0x3a8)]=(_0xd5e101[_0xe98d(0x17a)]+0x1)*0x4,this[_0xe98d(0x312)]();for(var _0x42eee8=this[_0xe98d(0x1fb)],_0x40c738=_0x42eee8[_0xe98d(0x40b)],_0x4e1b9d=0x0;_0x4e1b9d<0x4;_0x4e1b9d++){var _0x46025c=_0x40c738[_0x4e1b9d];_0x40c738[_0x4e1b9d]=(_0x46025c<<0x8|_0x46025c>>>0x18)&0xff00ff|(_0x46025c<<0x18|_0x46025c>>>0x8)&0xff00ff00;}return _0x42eee8;},'clone':function(){var _0x3ee5ca=_0xde101d,_0x5b8914=_0x5dcc07[_0x3ee5ca(0x1ce)][_0x3ee5ca(0x208)](this);return _0x5b8914[_0x3ee5ca(0x1fb)]=this[_0x3ee5ca(0x1fb)][_0x3ee5ca(0x1ce)](),_0x5b8914;}});function _0x189117(_0x4f706a,_0x5e0aa8,_0x14f379,_0x594eee,_0x25bf31,_0x109d95,_0x14ed84){var _0x2c53ba=_0x4f706a+(_0x5e0aa8&_0x14f379|~_0x5e0aa8&_0x594eee)+_0x25bf31+_0x14ed84;return(_0x2c53ba<<_0x109d95|_0x2c53ba>>>0x20-_0x109d95)+_0x5e0aa8;}function _0x59afe9(_0x482004,_0x3f1c9d,_0x4635a9,_0x5006c0,_0x65975e,_0x5d9946,_0xa31117){var _0x1f797c=_0x482004+(_0x3f1c9d&_0x5006c0|_0x4635a9&~_0x5006c0)+_0x65975e+_0xa31117;return(_0x1f797c<<_0x5d9946|_0x1f797c>>>0x20-_0x5d9946)+_0x3f1c9d;}function _0x283e1e(_0x96e85e,_0xf5ab95,_0x36cf63,_0x559411,_0x4bac2a,_0x32b92d,_0x14e519){var _0x4bc6aa=_0x96e85e+(_0xf5ab95^_0x36cf63^_0x559411)+_0x4bac2a+_0x14e519;return(_0x4bc6aa<<_0x32b92d|_0x4bc6aa>>>0x20-_0x32b92d)+_0xf5ab95;}function _0x30ee6f(_0x1cf158,_0xddf272,_0x14938a,_0x21cd87,_0x504ba5,_0x59d43d,_0x5156fe){var _0x2acf72=_0x1cf158+(_0x14938a^(_0xddf272|~_0x21cd87))+_0x504ba5+_0x5156fe;return(_0x2acf72<<_0x59d43d|_0x2acf72>>>0x20-_0x59d43d)+_0xddf272;}_0x2aeea9[_0xde101d(0x16c)]=_0x5dcc07[_0xde101d(0x48c)](_0x4ba7d4),_0x2aeea9['HmacMD5']=_0x5dcc07[_0xde101d(0x124)](_0x4ba7d4);}(Math),_0x1746a2['MD5'];}));}(_0x22abfd)),_0x22abfd[_0x4a040e(0x2f0)];}var _0x148e47={'exports':{}},_0x5a7dff={'exports':{}},_0x4548df=_0x5a7dff[_0x56fe62(0x2f0)],_0x5c9589;function _0x25e551(){var _0x40f5e5=_0x56fe62;return _0x5c9589||(_0x5c9589=0x1,function(_0x48cec8,_0x3c636b){(function(_0xab69ed,_0x2de4ce){var _0x5dc5a3=_0x3662;_0x48cec8[_0x5dc5a3(0x2f0)]=_0x2de4ce(_0x3a4bbd());}(_0x4548df,function(_0x2cc46a){return(function(){var _0x53b1ea=_0x3662,_0x2c067e=_0x2cc46a,_0x41f036=_0x2c067e[_0x53b1ea(0x235)],_0x5c016e=_0x41f036[_0x53b1ea(0x120)],_0x12cbe0=_0x41f036[_0x53b1ea(0x38d)],_0x3fda38=_0x2c067e[_0x53b1ea(0x248)],_0x4a438b=[],_0x15c9b6=_0x3fda38[_0x53b1ea(0x157)]=_0x12cbe0[_0x53b1ea(0x18a)]({'_doReset':function(){var _0x27049a=_0x53b1ea;this[_0x27049a(0x1fb)]=new _0x5c016e[(_0x27049a(0x161))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x20f302,_0x1f53aa){var _0x16927a=_0x53b1ea;for(var _0x5ea47b=this['_hash'][_0x16927a(0x40b)],_0x411b85=_0x5ea47b[0x0],_0x5f5cbe=_0x5ea47b[0x1],_0x550fd4=_0x5ea47b[0x2],_0xdd7d35=_0x5ea47b[0x3],_0xd6ab13=_0x5ea47b[0x4],_0x1f73a8=0x0;_0x1f73a8<0x50;_0x1f73a8++){if(_0x1f73a8<0x10)_0x4a438b[_0x1f73a8]=_0x20f302[_0x1f53aa+_0x1f73a8]|0x0;else{var _0x27ad04=_0x4a438b[_0x1f73a8-0x3]^_0x4a438b[_0x1f73a8-0x8]^_0x4a438b[_0x1f73a8-0xe]^_0x4a438b[_0x1f73a8-0x10];_0x4a438b[_0x1f73a8]=_0x27ad04<<0x1|_0x27ad04>>>0x1f;}var _0x1ec0de=(_0x411b85<<0x5|_0x411b85>>>0x1b)+_0xd6ab13+_0x4a438b[_0x1f73a8];_0x1f73a8<0x14?_0x1ec0de+=(_0x5f5cbe&_0x550fd4|~_0x5f5cbe&_0xdd7d35)+0x5a827999:_0x1f73a8<0x28?_0x1ec0de+=(_0x5f5cbe^_0x550fd4^_0xdd7d35)+0x6ed9eba1:_0x1f73a8<0x3c?_0x1ec0de+=(_0x5f5cbe&_0x550fd4|_0x5f5cbe&_0xdd7d35|_0x550fd4&_0xdd7d35)-0x70e44324:_0x1ec0de+=(_0x5f5cbe^_0x550fd4^_0xdd7d35)-0x359d3e2a,_0xd6ab13=_0xdd7d35,_0xdd7d35=_0x550fd4,_0x550fd4=_0x5f5cbe<<0x1e|_0x5f5cbe>>>0x2,_0x5f5cbe=_0x411b85,_0x411b85=_0x1ec0de;}_0x5ea47b[0x0]=_0x5ea47b[0x0]+_0x411b85|0x0,_0x5ea47b[0x1]=_0x5ea47b[0x1]+_0x5f5cbe|0x0,_0x5ea47b[0x2]=_0x5ea47b[0x2]+_0x550fd4|0x0,_0x5ea47b[0x3]=_0x5ea47b[0x3]+_0xdd7d35|0x0,_0x5ea47b[0x4]=_0x5ea47b[0x4]+_0xd6ab13|0x0;},'_doFinalize':function(){var _0xedffb3=_0x53b1ea,_0x4b7774=this[_0xedffb3(0x407)],_0x4c2484=_0x4b7774[_0xedffb3(0x40b)],_0x4ed28f=this[_0xedffb3(0x1f3)]*0x8,_0x2d66db=_0x4b7774[_0xedffb3(0x3a8)]*0x8;return _0x4c2484[_0x2d66db>>>0x5]|=0x80<<0x18-_0x2d66db%0x20,_0x4c2484[(_0x2d66db+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x4ed28f/0x100000000),_0x4c2484[(_0x2d66db+0x40>>>0x9<<0x4)+0xf]=_0x4ed28f,_0x4b7774['sigBytes']=_0x4c2484['length']*0x4,this['_process'](),this[_0xedffb3(0x1fb)];},'clone':function(){var _0x5a51a6=_0x53b1ea,_0x271fb3=_0x12cbe0[_0x5a51a6(0x1ce)][_0x5a51a6(0x208)](this);return _0x271fb3[_0x5a51a6(0x1fb)]=this[_0x5a51a6(0x1fb)]['clone'](),_0x271fb3;}});_0x2c067e[_0x53b1ea(0x157)]=_0x12cbe0[_0x53b1ea(0x48c)](_0x15c9b6),_0x2c067e[_0x53b1ea(0x3f4)]=_0x12cbe0['_createHmacHelper'](_0x15c9b6);}()),_0x2cc46a['SHA1'];}));}(_0x5a7dff)),_0x5a7dff[_0x40f5e5(0x2f0)];}var _0x4a99fd={'exports':{}},_0x37bedf=_0x4a99fd[_0x56fe62(0x2f0)],_0x3467df;function _0xbc9c28(){var _0x11ab58=_0x56fe62;return _0x3467df||(_0x3467df=0x1,function(_0x16989b,_0x16479d){(function(_0x41d45f,_0x339925){var _0x291a68=_0x3662;_0x16989b[_0x291a68(0x2f0)]=_0x339925(_0x3a4bbd());}(_0x37bedf,function(_0x2ad5ef){(function(){var _0x381f15=_0x3662,_0x275e83=_0x2ad5ef,_0x15d6ef=_0x275e83['lib'],_0x11de6e=_0x15d6ef[_0x381f15(0x3c7)],_0x343f93=_0x275e83['enc'],_0x2d139b=_0x343f93[_0x381f15(0x17e)],_0x54a7a4=_0x275e83[_0x381f15(0x248)];_0x54a7a4['HMAC']=_0x11de6e[_0x381f15(0x18a)]({'init':function(_0x29e6e4,_0x40721c){var _0x4766dc=_0x381f15;_0x29e6e4=this[_0x4766dc(0x3cd)]=new _0x29e6e4['init'](),typeof _0x40721c=='string'&&(_0x40721c=_0x2d139b[_0x4766dc(0x2fc)](_0x40721c));var _0x17bc79=_0x29e6e4[_0x4766dc(0x1c0)],_0x519d33=_0x17bc79*0x4;_0x40721c[_0x4766dc(0x3a8)]>_0x519d33&&(_0x40721c=_0x29e6e4[_0x4766dc(0x233)](_0x40721c)),_0x40721c[_0x4766dc(0x3ea)]();for(var _0xc4c9a0=this['_oKey']=_0x40721c[_0x4766dc(0x1ce)](),_0x174579=this[_0x4766dc(0x467)]=_0x40721c[_0x4766dc(0x1ce)](),_0x4d3966=_0xc4c9a0['words'],_0x5a1e6e=_0x174579[_0x4766dc(0x40b)],_0xf7c891=0x0;_0xf7c891<_0x17bc79;_0xf7c891++)_0x4d3966[_0xf7c891]^=0x5c5c5c5c,_0x5a1e6e[_0xf7c891]^=0x36363636;_0xc4c9a0[_0x4766dc(0x3a8)]=_0x174579[_0x4766dc(0x3a8)]=_0x519d33,this['reset']();},'reset':function(){var _0x8bb385=_0x381f15,_0x48420a=this['_hasher'];_0x48420a['reset'](),_0x48420a[_0x8bb385(0x207)](this[_0x8bb385(0x467)]);},'update':function(_0x117c51){var _0x3ca48f=_0x381f15;return this['_hasher'][_0x3ca48f(0x207)](_0x117c51),this;},'finalize':function(_0x211245){var _0xdfa65=_0x381f15,_0x235c8e=this[_0xdfa65(0x3cd)],_0x57ed87=_0x235c8e[_0xdfa65(0x233)](_0x211245);_0x235c8e[_0xdfa65(0x350)]();var _0x9a611c=_0x235c8e['finalize'](this[_0xdfa65(0x1f9)]['clone']()['concat'](_0x57ed87));return _0x9a611c;}});}());}));}(_0x4a99fd)),_0x4a99fd[_0x11ab58(0x2f0)];}var _0x360544=_0x148e47[_0x56fe62(0x2f0)],_0x14fa66;function _0x46846c(){return _0x14fa66||(_0x14fa66=0x1,function(_0x3f0397,_0x50b5b2){(function(_0x2e0c6c,_0x3d116d,_0x452d71){_0x3f0397['exports']=_0x3d116d(_0x3a4bbd(),_0x25e551(),_0xbc9c28());}(_0x360544,function(_0x324260){var _0x592bce=_0x3662;return(function(){var _0x1951eb=_0x3662,_0x389bb3=_0x324260,_0x34a2fe=_0x389bb3['lib'],_0x1b05ec=_0x34a2fe[_0x1951eb(0x3c7)],_0x54cfb4=_0x34a2fe[_0x1951eb(0x120)],_0x22133f=_0x389bb3[_0x1951eb(0x248)],_0x3e90bc=_0x22133f['MD5'],_0x573e8e=_0x22133f[_0x1951eb(0x4ad)]=_0x1b05ec[_0x1951eb(0x18a)]({'cfg':_0x1b05ec[_0x1951eb(0x18a)]({'keySize':0x80/0x20,'hasher':_0x3e90bc,'iterations':0x1}),'init':function(_0x49b0b3){var _0x32332c=_0x1951eb;this[_0x32332c(0x318)]=this['cfg'][_0x32332c(0x18a)](_0x49b0b3);},'compute':function(_0x42ae9a,_0x1e8bc8){var _0x2997f2=_0x1951eb;for(var _0x110ed4,_0x56923c=this[_0x2997f2(0x318)],_0x381d6c=_0x56923c['hasher']['create'](),_0x4af2b1=_0x54cfb4['create'](),_0x313cc2=_0x4af2b1[_0x2997f2(0x40b)],_0x3b2535=_0x56923c[_0x2997f2(0x169)],_0x57755a=_0x56923c['iterations'];_0x313cc2[_0x2997f2(0x17a)]<_0x3b2535;){_0x110ed4&&_0x381d6c[_0x2997f2(0x207)](_0x110ed4),_0x110ed4=_0x381d6c[_0x2997f2(0x207)](_0x42ae9a)['finalize'](_0x1e8bc8),_0x381d6c[_0x2997f2(0x350)]();for(var _0x2c3155=0x1;_0x2c3155<_0x57755a;_0x2c3155++)_0x110ed4=_0x381d6c[_0x2997f2(0x233)](_0x110ed4),_0x381d6c[_0x2997f2(0x350)]();_0x4af2b1[_0x2997f2(0x420)](_0x110ed4);}return _0x4af2b1[_0x2997f2(0x3a8)]=_0x3b2535*0x4,_0x4af2b1;}});_0x389bb3[_0x1951eb(0x4ad)]=function(_0x5aed3d,_0x1a515b,_0x4fc1a7){var _0x4fea77=_0x1951eb;return _0x573e8e[_0x4fea77(0x1ea)](_0x4fc1a7)[_0x4fea77(0x220)](_0x5aed3d,_0x1a515b);};}()),_0x324260[_0x592bce(0x4ad)];}));}(_0x148e47)),_0x148e47['exports'];}var _0x5c85f4={'exports':{}},_0x185735=_0x5c85f4['exports'],_0xf56260;function _0x108d55(){var _0x285b10=_0x56fe62;return _0xf56260||(_0xf56260=0x1,function(_0x20aac6,_0x6aa359){(function(_0x15b8a5,_0x13d460,_0x284521){var _0x39b428=_0x3662;_0x20aac6[_0x39b428(0x2f0)]=_0x13d460(_0x3a4bbd(),_0x46846c());}(_0x185735,function(_0x5b6970){var _0x56a629=_0x3662;_0x5b6970['lib'][_0x56a629(0x4a2)]||function(_0x2fd7db){var _0x151e66=_0x56a629,_0x27ebe3=_0x5b6970,_0x19cc81=_0x27ebe3[_0x151e66(0x235)],_0x11dfe6=_0x19cc81[_0x151e66(0x3c7)],_0x4f667c=_0x19cc81[_0x151e66(0x120)],_0x6d3b3d=_0x19cc81[_0x151e66(0x39d)],_0x32f04e=_0x27ebe3[_0x151e66(0x158)];_0x32f04e[_0x151e66(0x17e)];var _0x459c63=_0x32f04e['Base64'],_0x4d9481=_0x27ebe3[_0x151e66(0x248)],_0x2b4786=_0x4d9481[_0x151e66(0x4ad)],_0x6ab47e=_0x19cc81[_0x151e66(0x4a2)]=_0x6d3b3d[_0x151e66(0x18a)]({'cfg':_0x11dfe6[_0x151e66(0x18a)](),'createEncryptor':function(_0x1612c7,_0x12b380){var _0x25b5c9=_0x151e66;return this[_0x25b5c9(0x1ea)](this['_ENC_XFORM_MODE'],_0x1612c7,_0x12b380);},'createDecryptor':function(_0x42352e,_0x3b66d7){var _0xfe1c6=_0x151e66;return this[_0xfe1c6(0x1ea)](this['_DEC_XFORM_MODE'],_0x42352e,_0x3b66d7);},'init':function(_0x41d25d,_0x481668,_0x45fbfb){var _0x3c8b18=_0x151e66;this[_0x3c8b18(0x318)]=this[_0x3c8b18(0x318)][_0x3c8b18(0x18a)](_0x45fbfb),this[_0x3c8b18(0x34a)]=_0x41d25d,this['_key']=_0x481668,this[_0x3c8b18(0x350)]();},'reset':function(){var _0x11d351=_0x151e66;_0x6d3b3d[_0x11d351(0x350)][_0x11d351(0x208)](this),this[_0x11d351(0x2df)]();},'process':function(_0x18d6d5){var _0x1b06c3=_0x151e66;return this[_0x1b06c3(0x3c6)](_0x18d6d5),this['_process']();},'finalize':function(_0x15918f){var _0x3a6777=_0x151e66;_0x15918f&&this[_0x3a6777(0x3c6)](_0x15918f);var _0x255b58=this[_0x3a6777(0x491)]();return _0x255b58;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3f08f5(_0x1c8c9c){var _0x2ed500=_0x3662;return typeof _0x1c8c9c==_0x2ed500(0x1fe)?_0x138693:_0x5749c0;}return function(_0x4f6551){return{'encrypt':function(_0xa1b7d7,_0x4b0bd5,_0x2aab16){var _0x5c6da0=_0x3662;return _0x3f08f5(_0x4b0bd5)[_0x5c6da0(0x2cc)](_0x4f6551,_0xa1b7d7,_0x4b0bd5,_0x2aab16);},'decrypt':function(_0xdca139,_0x4fa91e,_0x3ef6fb){var _0x1874c8=_0x3662;return _0x3f08f5(_0x4fa91e)[_0x1874c8(0x295)](_0x4f6551,_0xdca139,_0x4fa91e,_0x3ef6fb);}};};}())});_0x19cc81[_0x151e66(0x230)]=_0x6ab47e[_0x151e66(0x18a)]({'_doFinalize':function(){var _0x145f6f=_0x151e66,_0x565a0c=this[_0x145f6f(0x312)](!0x0);return _0x565a0c;},'blockSize':0x1});var _0x3766f8=_0x27ebe3[_0x151e66(0x244)]={},_0x152bc0=_0x19cc81[_0x151e66(0x478)]=_0x11dfe6[_0x151e66(0x18a)]({'createEncryptor':function(_0x5cd510,_0x50ecff){var _0x16e50e=_0x151e66;return this[_0x16e50e(0x14a)][_0x16e50e(0x1ea)](_0x5cd510,_0x50ecff);},'createDecryptor':function(_0x1f69e9,_0x9e0c1b){var _0xf1a111=_0x151e66;return this['Decryptor'][_0xf1a111(0x1ea)](_0x1f69e9,_0x9e0c1b);},'init':function(_0x16881f,_0x19d461){var _0x5cfa77=_0x151e66;this['_cipher']=_0x16881f,this[_0x5cfa77(0x3a6)]=_0x19d461;}}),_0x44a1d7=_0x3766f8[_0x151e66(0x349)]=(function(){var _0x39ecfd=_0x151e66,_0x8e5b5a=_0x152bc0[_0x39ecfd(0x18a)]();_0x8e5b5a[_0x39ecfd(0x14a)]=_0x8e5b5a['extend']({'processBlock':function(_0x30ea42,_0x57f055){var _0x1d828c=_0x39ecfd,_0x16496d=this[_0x1d828c(0x450)],_0x2702f5=_0x16496d['blockSize'];_0x265d76[_0x1d828c(0x208)](this,_0x30ea42,_0x57f055,_0x2702f5),_0x16496d[_0x1d828c(0x18c)](_0x30ea42,_0x57f055),this[_0x1d828c(0x43e)]=_0x30ea42[_0x1d828c(0x168)](_0x57f055,_0x57f055+_0x2702f5);}}),_0x8e5b5a[_0x39ecfd(0x268)]=_0x8e5b5a[_0x39ecfd(0x18a)]({'processBlock':function(_0x3d1718,_0x539ba8){var _0x17fc82=_0x39ecfd,_0x20f92d=this[_0x17fc82(0x450)],_0x47dfc6=_0x20f92d['blockSize'],_0x25bab8=_0x3d1718[_0x17fc82(0x168)](_0x539ba8,_0x539ba8+_0x47dfc6);_0x20f92d[_0x17fc82(0x2d7)](_0x3d1718,_0x539ba8),_0x265d76[_0x17fc82(0x208)](this,_0x3d1718,_0x539ba8,_0x47dfc6),this['_prevBlock']=_0x25bab8;}});function _0x265d76(_0x5a96e2,_0x3703cf,_0xebb6f6){var _0x201c90=_0x39ecfd,_0x3cec97,_0x1745b5=this['_iv'];_0x1745b5?(_0x3cec97=_0x1745b5,this[_0x201c90(0x3a6)]=_0x2fd7db):_0x3cec97=this[_0x201c90(0x43e)];for(var _0x178c46=0x0;_0x178c46<_0xebb6f6;_0x178c46++)_0x5a96e2[_0x3703cf+_0x178c46]^=_0x3cec97[_0x178c46];}return _0x8e5b5a;}()),_0x1d9d95=_0x27ebe3['pad']={},_0x19bb27=_0x1d9d95[_0x151e66(0x393)]={'pad':function(_0xf2b2f6,_0x1575a1){var _0x8d9272=_0x151e66;for(var _0x563236=_0x1575a1*0x4,_0x26d1fa=_0x563236-_0xf2b2f6[_0x8d9272(0x3a8)]%_0x563236,_0x693afa=_0x26d1fa<<0x18|_0x26d1fa<<0x10|_0x26d1fa<<0x8|_0x26d1fa,_0x5e0808=[],_0x39060c=0x0;_0x39060c<_0x26d1fa;_0x39060c+=0x4)_0x5e0808[_0x8d9272(0x372)](_0x693afa);var _0x3ddf36=_0x4f667c['create'](_0x5e0808,_0x26d1fa);_0xf2b2f6[_0x8d9272(0x420)](_0x3ddf36);},'unpad':function(_0x473cf7){var _0x405dc9=_0x151e66,_0x2789d9=_0x473cf7[_0x405dc9(0x40b)][_0x473cf7['sigBytes']-0x1>>>0x2]&0xff;_0x473cf7['sigBytes']-=_0x2789d9;}};_0x19cc81['BlockCipher']=_0x6ab47e[_0x151e66(0x18a)]({'cfg':_0x6ab47e[_0x151e66(0x318)][_0x151e66(0x18a)]({'mode':_0x44a1d7,'padding':_0x19bb27}),'reset':function(){var _0x24f6a5=_0x151e66,_0x49d382;_0x6ab47e[_0x24f6a5(0x350)][_0x24f6a5(0x208)](this);var _0x1e31e2=this['cfg'],_0xb4afc0=_0x1e31e2['iv'],_0x17ea64=_0x1e31e2[_0x24f6a5(0x244)];this[_0x24f6a5(0x34a)]==this[_0x24f6a5(0x249)]?_0x49d382=_0x17ea64[_0x24f6a5(0x368)]:(_0x49d382=_0x17ea64[_0x24f6a5(0x1ef)],this[_0x24f6a5(0x262)]=0x1),this['_mode']&&this[_0x24f6a5(0x45b)][_0x24f6a5(0x3c1)]==_0x49d382?this['_mode'][_0x24f6a5(0x161)](this,_0xb4afc0&&_0xb4afc0[_0x24f6a5(0x40b)]):(this[_0x24f6a5(0x45b)]=_0x49d382[_0x24f6a5(0x208)](_0x17ea64,this,_0xb4afc0&&_0xb4afc0[_0x24f6a5(0x40b)]),this[_0x24f6a5(0x45b)][_0x24f6a5(0x3c1)]=_0x49d382);},'_doProcessBlock':function(_0x236903,_0x1e982e){var _0xf415bb=_0x151e66;this[_0xf415bb(0x45b)][_0xf415bb(0x175)](_0x236903,_0x1e982e);},'_doFinalize':function(){var _0x128527=_0x151e66,_0x2a06d5,_0x413968=this[_0x128527(0x318)][_0x128527(0x234)];return this[_0x128527(0x34a)]==this[_0x128527(0x249)]?(_0x413968[_0x128527(0x2b7)](this[_0x128527(0x407)],this[_0x128527(0x1c0)]),_0x2a06d5=this[_0x128527(0x312)](!0x0)):(_0x2a06d5=this[_0x128527(0x312)](!0x0),_0x413968[_0x128527(0x3b0)](_0x2a06d5)),_0x2a06d5;},'blockSize':0x80/0x20});var _0x1da196=_0x19cc81[_0x151e66(0x3aa)]=_0x11dfe6[_0x151e66(0x18a)]({'init':function(_0x5547a3){var _0x332d49=_0x151e66;this[_0x332d49(0x1e9)](_0x5547a3);},'toString':function(_0xfaee93){var _0x355e4b=_0x151e66;return(_0xfaee93||this[_0x355e4b(0x22e)])[_0x355e4b(0x123)](this);}}),_0x4d5b9e=_0x27ebe3[_0x151e66(0x210)]={},_0x2aee2f=_0x4d5b9e[_0x151e66(0x254)]={'stringify':function(_0x30779a){var _0x446af6=_0x151e66,_0x1e20de,_0x246f07=_0x30779a[_0x446af6(0x29f)],_0x10a122=_0x30779a[_0x446af6(0x274)];return _0x10a122?_0x1e20de=_0x4f667c['create']([0x53616c74,0x65645f5f])[_0x446af6(0x420)](_0x10a122)[_0x446af6(0x420)](_0x246f07):_0x1e20de=_0x246f07,_0x1e20de['toString'](_0x459c63);},'parse':function(_0x5ca866){var _0x58a41a=_0x151e66,_0x201e58,_0x4c2884=_0x459c63['parse'](_0x5ca866),_0x594699=_0x4c2884['words'];return _0x594699[0x0]==0x53616c74&&_0x594699[0x1]==0x65645f5f&&(_0x201e58=_0x4f667c['create'](_0x594699[_0x58a41a(0x168)](0x2,0x4)),_0x594699[_0x58a41a(0x1f8)](0x0,0x4),_0x4c2884[_0x58a41a(0x3a8)]-=0x10),_0x1da196['create']({'ciphertext':_0x4c2884,'salt':_0x201e58});}},_0x5749c0=_0x19cc81[_0x151e66(0x35f)]=_0x11dfe6['extend']({'cfg':_0x11dfe6[_0x151e66(0x18a)]({'format':_0x2aee2f}),'encrypt':function(_0x2409c3,_0x54361b,_0x119714,_0x438a70){var _0x4d2dba=_0x151e66;_0x438a70=this[_0x4d2dba(0x318)][_0x4d2dba(0x18a)](_0x438a70);var _0x1922c5=_0x2409c3[_0x4d2dba(0x368)](_0x119714,_0x438a70),_0x58915f=_0x1922c5[_0x4d2dba(0x233)](_0x54361b),_0x3f2b51=_0x1922c5[_0x4d2dba(0x318)];return _0x1da196[_0x4d2dba(0x1ea)]({'ciphertext':_0x58915f,'key':_0x119714,'iv':_0x3f2b51['iv'],'algorithm':_0x2409c3,'mode':_0x3f2b51[_0x4d2dba(0x244)],'padding':_0x3f2b51[_0x4d2dba(0x234)],'blockSize':_0x2409c3[_0x4d2dba(0x1c0)],'formatter':_0x438a70[_0x4d2dba(0x210)]});},'decrypt':function(_0x478fed,_0x3fe320,_0x724005,_0x1a0ce4){var _0x5b9520=_0x151e66;_0x1a0ce4=this[_0x5b9520(0x318)][_0x5b9520(0x18a)](_0x1a0ce4),_0x3fe320=this[_0x5b9520(0x2f6)](_0x3fe320,_0x1a0ce4['format']);var _0x525de4=_0x478fed[_0x5b9520(0x1ef)](_0x724005,_0x1a0ce4)[_0x5b9520(0x233)](_0x3fe320[_0x5b9520(0x29f)]);return _0x525de4;},'_parse':function(_0x371388,_0x357fd6){var _0x157f5a=_0x151e66;return typeof _0x371388==_0x157f5a(0x1fe)?_0x357fd6['parse'](_0x371388,this):_0x371388;}}),_0x47858f=_0x27ebe3['kdf']={},_0x17ad89=_0x47858f[_0x151e66(0x254)]={'execute':function(_0x386984,_0x238812,_0x483110,_0x38aa80,_0x1060da){var _0x1b168f=_0x151e66;if(_0x38aa80||(_0x38aa80=_0x4f667c[_0x1b168f(0x1e5)](0x40/0x8)),_0x1060da)var _0xefb884=_0x2b4786['create']({'keySize':_0x238812+_0x483110,'hasher':_0x1060da})[_0x1b168f(0x220)](_0x386984,_0x38aa80);else var _0xefb884=_0x2b4786[_0x1b168f(0x1ea)]({'keySize':_0x238812+_0x483110})[_0x1b168f(0x220)](_0x386984,_0x38aa80);var _0x42e957=_0x4f667c[_0x1b168f(0x1ea)](_0xefb884[_0x1b168f(0x40b)][_0x1b168f(0x168)](_0x238812),_0x483110*0x4);return _0xefb884[_0x1b168f(0x3a8)]=_0x238812*0x4,_0x1da196[_0x1b168f(0x1ea)]({'key':_0xefb884,'iv':_0x42e957,'salt':_0x38aa80});}},_0x138693=_0x19cc81['PasswordBasedCipher']=_0x5749c0[_0x151e66(0x18a)]({'cfg':_0x5749c0['cfg'][_0x151e66(0x18a)]({'kdf':_0x17ad89}),'encrypt':function(_0x3a6246,_0x2c1ecb,_0x59becd,_0x191335){var _0x527f0e=_0x151e66;_0x191335=this[_0x527f0e(0x318)][_0x527f0e(0x18a)](_0x191335);var _0x104b1e=_0x191335['kdf']['execute'](_0x59becd,_0x3a6246['keySize'],_0x3a6246[_0x527f0e(0x2c2)],_0x191335[_0x527f0e(0x274)],_0x191335[_0x527f0e(0x130)]);_0x191335['iv']=_0x104b1e['iv'];var _0x1042a5=_0x5749c0[_0x527f0e(0x2cc)][_0x527f0e(0x208)](this,_0x3a6246,_0x2c1ecb,_0x104b1e['key'],_0x191335);return _0x1042a5[_0x527f0e(0x1e9)](_0x104b1e),_0x1042a5;},'decrypt':function(_0x47c6ec,_0x17eb9f,_0x494b7d,_0x13540b){var _0x4949a9=_0x151e66;_0x13540b=this['cfg'][_0x4949a9(0x18a)](_0x13540b),_0x17eb9f=this['_parse'](_0x17eb9f,_0x13540b[_0x4949a9(0x210)]);var _0x41f2e3=_0x13540b['kdf'][_0x4949a9(0x2b9)](_0x494b7d,_0x47c6ec[_0x4949a9(0x169)],_0x47c6ec[_0x4949a9(0x2c2)],_0x17eb9f[_0x4949a9(0x274)],_0x13540b[_0x4949a9(0x130)]);_0x13540b['iv']=_0x41f2e3['iv'];var _0x37c4cd=_0x5749c0['decrypt']['call'](this,_0x47c6ec,_0x17eb9f,_0x41f2e3['key'],_0x13540b);return _0x37c4cd;}});}();}));}(_0x5c85f4)),_0x5c85f4[_0x285b10(0x2f0)];}var _0x43cebf=_0xf153ba[_0x56fe62(0x2f0)],_0x56630c;function _0x47d9dc(){var _0x1e0205=_0x56fe62;return _0x56630c||(_0x56630c=0x1,function(_0x5abe93,_0x44928f){(function(_0x2ad79b,_0x238243,_0x3ec116){var _0x26c9cf=_0x3662;_0x5abe93[_0x26c9cf(0x2f0)]=_0x238243(_0x3a4bbd(),_0x18e8c5(),_0xfa6a88(),_0x46846c(),_0x108d55());}(_0x43cebf,function(_0x2ff593){return(function(){var _0x522f2f=_0x3662,_0x2be796=_0x2ff593,_0x43f348=_0x2be796[_0x522f2f(0x235)],_0xce3d00=_0x43f348['BlockCipher'],_0x2d085f=_0x2be796[_0x522f2f(0x248)],_0x5e12b0=[],_0xf7d05e=[],_0x5899c7=[],_0x194bb5=[],_0x1bf054=[],_0x19ec1b=[],_0x591f7e=[],_0x5c3ee2=[],_0xa16f9f=[],_0x1e2696=[];(function(){for(var _0x14bdfd=[],_0x80f0ef=0x0;_0x80f0ef<0x100;_0x80f0ef++)_0x80f0ef<0x80?_0x14bdfd[_0x80f0ef]=_0x80f0ef<<0x1:_0x14bdfd[_0x80f0ef]=_0x80f0ef<<0x1^0x11b;for(var _0x536216=0x0,_0x522dcf=0x0,_0x80f0ef=0x0;_0x80f0ef<0x100;_0x80f0ef++){var _0x334fca=_0x522dcf^_0x522dcf<<0x1^_0x522dcf<<0x2^_0x522dcf<<0x3^_0x522dcf<<0x4;_0x334fca=_0x334fca>>>0x8^_0x334fca&0xff^0x63,_0x5e12b0[_0x536216]=_0x334fca,_0xf7d05e[_0x334fca]=_0x536216;var _0x2be9b0=_0x14bdfd[_0x536216],_0x305773=_0x14bdfd[_0x2be9b0],_0xd94c42=_0x14bdfd[_0x305773],_0x45a3de=_0x14bdfd[_0x334fca]*0x101^_0x334fca*0x1010100;_0x5899c7[_0x536216]=_0x45a3de<<0x18|_0x45a3de>>>0x8,_0x194bb5[_0x536216]=_0x45a3de<<0x10|_0x45a3de>>>0x10,_0x1bf054[_0x536216]=_0x45a3de<<0x8|_0x45a3de>>>0x18,_0x19ec1b[_0x536216]=_0x45a3de;var _0x45a3de=_0xd94c42*0x1010101^_0x305773*0x10001^_0x2be9b0*0x101^_0x536216*0x1010100;_0x591f7e[_0x334fca]=_0x45a3de<<0x18|_0x45a3de>>>0x8,_0x5c3ee2[_0x334fca]=_0x45a3de<<0x10|_0x45a3de>>>0x10,_0xa16f9f[_0x334fca]=_0x45a3de<<0x8|_0x45a3de>>>0x18,_0x1e2696[_0x334fca]=_0x45a3de,_0x536216?(_0x536216=_0x2be9b0^_0x14bdfd[_0x14bdfd[_0x14bdfd[_0xd94c42^_0x2be9b0]]],_0x522dcf^=_0x14bdfd[_0x14bdfd[_0x522dcf]]):_0x536216=_0x522dcf=0x1;}}());var _0x3b28c6=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2b113c=_0x2d085f[_0x522f2f(0x1ec)]=_0xce3d00['extend']({'_doReset':function(){var _0xdfee23=_0x522f2f,_0x40dcfa;if(!(this[_0xdfee23(0x194)]&&this[_0xdfee23(0x40a)]===this[_0xdfee23(0x1a7)])){for(var _0x315203=this['_keyPriorReset']=this[_0xdfee23(0x1a7)],_0x5b8e0c=_0x315203[_0xdfee23(0x40b)],_0x436da2=_0x315203['sigBytes']/0x4,_0x5794ad=this[_0xdfee23(0x194)]=_0x436da2+0x6,_0x52294d=(_0x5794ad+0x1)*0x4,_0x4fc05f=this[_0xdfee23(0x374)]=[],_0x1c0c1e=0x0;_0x1c0c1e<_0x52294d;_0x1c0c1e++)_0x1c0c1e<_0x436da2?_0x4fc05f[_0x1c0c1e]=_0x5b8e0c[_0x1c0c1e]:(_0x40dcfa=_0x4fc05f[_0x1c0c1e-0x1],_0x1c0c1e%_0x436da2?_0x436da2>0x6&&_0x1c0c1e%_0x436da2==0x4&&(_0x40dcfa=_0x5e12b0[_0x40dcfa>>>0x18]<<0x18|_0x5e12b0[_0x40dcfa>>>0x10&0xff]<<0x10|_0x5e12b0[_0x40dcfa>>>0x8&0xff]<<0x8|_0x5e12b0[_0x40dcfa&0xff]):(_0x40dcfa=_0x40dcfa<<0x8|_0x40dcfa>>>0x18,_0x40dcfa=_0x5e12b0[_0x40dcfa>>>0x18]<<0x18|_0x5e12b0[_0x40dcfa>>>0x10&0xff]<<0x10|_0x5e12b0[_0x40dcfa>>>0x8&0xff]<<0x8|_0x5e12b0[_0x40dcfa&0xff],_0x40dcfa^=_0x3b28c6[_0x1c0c1e/_0x436da2|0x0]<<0x18),_0x4fc05f[_0x1c0c1e]=_0x4fc05f[_0x1c0c1e-_0x436da2]^_0x40dcfa);for(var _0x41ec26=this[_0xdfee23(0x155)]=[],_0x1004f3=0x0;_0x1004f3<_0x52294d;_0x1004f3++){var _0x1c0c1e=_0x52294d-_0x1004f3;if(_0x1004f3%0x4)var _0x40dcfa=_0x4fc05f[_0x1c0c1e];else var _0x40dcfa=_0x4fc05f[_0x1c0c1e-0x4];_0x1004f3<0x4||_0x1c0c1e<=0x4?_0x41ec26[_0x1004f3]=_0x40dcfa:_0x41ec26[_0x1004f3]=_0x591f7e[_0x5e12b0[_0x40dcfa>>>0x18]]^_0x5c3ee2[_0x5e12b0[_0x40dcfa>>>0x10&0xff]]^_0xa16f9f[_0x5e12b0[_0x40dcfa>>>0x8&0xff]]^_0x1e2696[_0x5e12b0[_0x40dcfa&0xff]];}}},'encryptBlock':function(_0x56dc4e,_0x5696cf){var _0x31c7be=_0x522f2f;this[_0x31c7be(0x1af)](_0x56dc4e,_0x5696cf,this[_0x31c7be(0x374)],_0x5899c7,_0x194bb5,_0x1bf054,_0x19ec1b,_0x5e12b0);},'decryptBlock':function(_0x4802cc,_0x54200d){var _0x355e10=_0x522f2f,_0x1a5c6d=_0x4802cc[_0x54200d+0x1];_0x4802cc[_0x54200d+0x1]=_0x4802cc[_0x54200d+0x3],_0x4802cc[_0x54200d+0x3]=_0x1a5c6d,this[_0x355e10(0x1af)](_0x4802cc,_0x54200d,this[_0x355e10(0x155)],_0x591f7e,_0x5c3ee2,_0xa16f9f,_0x1e2696,_0xf7d05e);var _0x1a5c6d=_0x4802cc[_0x54200d+0x1];_0x4802cc[_0x54200d+0x1]=_0x4802cc[_0x54200d+0x3],_0x4802cc[_0x54200d+0x3]=_0x1a5c6d;},'_doCryptBlock':function(_0xc591df,_0x5be937,_0x5ee0ce,_0x221298,_0x410147,_0x14dee5,_0x15ebc2,_0x55afbd){for(var _0x386ae9=this['_nRounds'],_0x467218=_0xc591df[_0x5be937]^_0x5ee0ce[0x0],_0x34a956=_0xc591df[_0x5be937+0x1]^_0x5ee0ce[0x1],_0x211400=_0xc591df[_0x5be937+0x2]^_0x5ee0ce[0x2],_0x17ce3e=_0xc591df[_0x5be937+0x3]^_0x5ee0ce[0x3],_0x5b7a11=0x4,_0x347190=0x1;_0x347190<_0x386ae9;_0x347190++){var _0x5450aa=_0x221298[_0x467218>>>0x18]^_0x410147[_0x34a956>>>0x10&0xff]^_0x14dee5[_0x211400>>>0x8&0xff]^_0x15ebc2[_0x17ce3e&0xff]^_0x5ee0ce[_0x5b7a11++],_0x3cbb9d=_0x221298[_0x34a956>>>0x18]^_0x410147[_0x211400>>>0x10&0xff]^_0x14dee5[_0x17ce3e>>>0x8&0xff]^_0x15ebc2[_0x467218&0xff]^_0x5ee0ce[_0x5b7a11++],_0x1318da=_0x221298[_0x211400>>>0x18]^_0x410147[_0x17ce3e>>>0x10&0xff]^_0x14dee5[_0x467218>>>0x8&0xff]^_0x15ebc2[_0x34a956&0xff]^_0x5ee0ce[_0x5b7a11++],_0x234630=_0x221298[_0x17ce3e>>>0x18]^_0x410147[_0x467218>>>0x10&0xff]^_0x14dee5[_0x34a956>>>0x8&0xff]^_0x15ebc2[_0x211400&0xff]^_0x5ee0ce[_0x5b7a11++];_0x467218=_0x5450aa,_0x34a956=_0x3cbb9d,_0x211400=_0x1318da,_0x17ce3e=_0x234630;}var _0x5450aa=(_0x55afbd[_0x467218>>>0x18]<<0x18|_0x55afbd[_0x34a956>>>0x10&0xff]<<0x10|_0x55afbd[_0x211400>>>0x8&0xff]<<0x8|_0x55afbd[_0x17ce3e&0xff])^_0x5ee0ce[_0x5b7a11++],_0x3cbb9d=(_0x55afbd[_0x34a956>>>0x18]<<0x18|_0x55afbd[_0x211400>>>0x10&0xff]<<0x10|_0x55afbd[_0x17ce3e>>>0x8&0xff]<<0x8|_0x55afbd[_0x467218&0xff])^_0x5ee0ce[_0x5b7a11++],_0x1318da=(_0x55afbd[_0x211400>>>0x18]<<0x18|_0x55afbd[_0x17ce3e>>>0x10&0xff]<<0x10|_0x55afbd[_0x467218>>>0x8&0xff]<<0x8|_0x55afbd[_0x34a956&0xff])^_0x5ee0ce[_0x5b7a11++],_0x234630=(_0x55afbd[_0x17ce3e>>>0x18]<<0x18|_0x55afbd[_0x467218>>>0x10&0xff]<<0x10|_0x55afbd[_0x34a956>>>0x8&0xff]<<0x8|_0x55afbd[_0x211400&0xff])^_0x5ee0ce[_0x5b7a11++];_0xc591df[_0x5be937]=_0x5450aa,_0xc591df[_0x5be937+0x1]=_0x3cbb9d,_0xc591df[_0x5be937+0x2]=_0x1318da,_0xc591df[_0x5be937+0x3]=_0x234630;},'keySize':0x100/0x20});_0x2be796[_0x522f2f(0x1ec)]=_0xce3d00[_0x522f2f(0x48c)](_0x2b113c);}()),_0x2ff593['AES'];}));}(_0xf153ba)),_0xf153ba[_0x1e0205(0x2f0)];}var _0x115c2b=_0x47d9dc();const _0x1c5685=_0x519655(_0x115c2b);var _0x4d6c32=_0x18e8c5();const _0x4352b4=_0x519655(_0x4d6c32);var _0x45648e={'exports':{}},_0x6a5c44=_0x45648e['exports'],_0x34ed6a;function _0xb55a8e(){var _0xb8f45=_0x56fe62;return _0x34ed6a||(_0x34ed6a=0x1,function(_0x1e7a31,_0x494df1){(function(_0x5c70cf,_0x236b41){var _0x50dd01=_0x3662;_0x1e7a31[_0x50dd01(0x2f0)]=_0x236b41(_0x3a4bbd());}(_0x6a5c44,function(_0x43c6a1){var _0x304474=_0x3662;return _0x43c6a1[_0x304474(0x158)][_0x304474(0x17e)];}));}(_0x45648e)),_0x45648e[_0xb8f45(0x2f0)];}var _0x4217c4=_0xb55a8e();const _0x44f985=_0x519655(_0x4217c4);var _0x4aac90={'exports':{}},_0x1039aa=_0x4aac90[_0x56fe62(0x2f0)],_0x2acd93;function _0x305c99(){return _0x2acd93||(_0x2acd93=0x1,function(_0x174636,_0x2bfa9c){(function(_0x3251fd,_0x2dc4d6){var _0x31e24e=_0x3662;_0x174636[_0x31e24e(0x2f0)]=_0x2dc4d6(_0x3a4bbd());}(_0x1039aa,function(_0xb3a326){var _0x531ae8=_0x3662;return(function(){var _0x34940d=_0x3662;if(typeof ArrayBuffer==_0x34940d(0x4ae)){var _0x17967e=_0xb3a326,_0x132382=_0x17967e[_0x34940d(0x235)],_0x3e41e2=_0x132382[_0x34940d(0x120)],_0x5bff3c=_0x3e41e2[_0x34940d(0x161)],_0x1d085c=_0x3e41e2[_0x34940d(0x161)]=function(_0x7415ab){var _0x1c72c3=_0x34940d;if(_0x7415ab instanceof ArrayBuffer&&(_0x7415ab=new Uint8Array(_0x7415ab)),(_0x7415ab instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x7415ab instanceof Uint8ClampedArray||_0x7415ab instanceof Int16Array||_0x7415ab instanceof Uint16Array||_0x7415ab instanceof Int32Array||_0x7415ab instanceof Uint32Array||_0x7415ab instanceof Float32Array||_0x7415ab instanceof Float64Array)&&(_0x7415ab=new Uint8Array(_0x7415ab[_0x1c72c3(0x37e)],_0x7415ab[_0x1c72c3(0x2b6)],_0x7415ab[_0x1c72c3(0x495)])),_0x7415ab instanceof Uint8Array){for(var _0x4442dd=_0x7415ab[_0x1c72c3(0x495)],_0x312182=[],_0x5efcc0=0x0;_0x5efcc0<_0x4442dd;_0x5efcc0++)_0x312182[_0x5efcc0>>>0x2]|=_0x7415ab[_0x5efcc0]<<0x18-_0x5efcc0%0x4*0x8;_0x5bff3c[_0x1c72c3(0x208)](this,_0x312182,_0x4442dd);}else _0x5bff3c[_0x1c72c3(0x128)](this,arguments);};_0x1d085c[_0x34940d(0x22c)]=_0x3e41e2;}}()),_0xb3a326['lib'][_0x531ae8(0x120)];}));}(_0x4aac90)),_0x4aac90['exports'];}var _0x39c9c6=_0x305c99();const _0x4eb3c7=_0x519655(_0x39c9c6);var _0x2e3722={'exports':{}},_0xfdb0f5=_0x2e3722[_0x56fe62(0x2f0)],_0x138a11;function _0x3613c(){var _0xfbfb3b=_0x56fe62;return _0x138a11||(_0x138a11=0x1,function(_0x4b414b,_0x3f502e){(function(_0x4e4177,_0xcb105d,_0x31d2d5){var _0x145989=_0x3662;_0x4b414b[_0x145989(0x2f0)]=_0xcb105d(_0x3a4bbd(),_0x108d55());}(_0xfdb0f5,function(_0x18a286){var _0x3fc50b=_0x3662;return _0x18a286[_0x3fc50b(0x2b7)][_0x3fc50b(0x258)]={'pad':function(){},'unpad':function(){}},_0x18a286[_0x3fc50b(0x2b7)][_0x3fc50b(0x258)];}));}(_0x2e3722)),_0x2e3722[_0xfbfb3b(0x2f0)];}var _0x127e54=_0x3613c();const _0x3a8438=_0x519655(_0x127e54);function _0x5498a4(_0xf41d0d,_0x1c8cc4){var _0x223140=_0x56fe62;const _0x4b44ad=_0x1c8cc4-_0xf41d0d[_0x223140(0x17a)]%_0x1c8cc4,_0xde9744=String['fromCharCode'](_0x4b44ad)['repeat'](_0x4b44ad);return _0xf41d0d+_0xde9744;}function _0x19c79b(_0x5edc0e,_0x123b69){var _0x18f57e=_0x56fe62;const _0x35a28a=_0x4eb3c7[_0x18f57e(0x1e5)](0x10),_0x39d3ce=_0x5498a4(_0x5edc0e,0x10),_0x59838c=_0x1c5685[_0x18f57e(0x2cc)](_0x44f985[_0x18f57e(0x2fc)](_0x39d3ce),_0x4352b4[_0x18f57e(0x2fc)](_0x123b69),{'iv':_0x35a28a,'padding':_0x3a8438});return _0x35a28a['concat'](_0x59838c[_0x18f57e(0x29f)])[_0x18f57e(0x277)](_0x4352b4);}function _0x13d1aa(){var _0x6bc58a=_0x56fe62;const _0x53b4cd=_0x2a39fc[_0x6bc58a(0x2ec)]()[_0x6bc58a(0x41c)];if(typeof window<'u'&&typeof window[_0x6bc58a(0x13e)]<'u'&&_0x53b4cd){const _0x4e4e4d={'time':Math[_0x6bc58a(0x313)](Date[_0x6bc58a(0x45a)]()/0x3e8),'domain':location[_0x6bc58a(0x320)]};return _0x19c79b(JSON['stringify'](_0x4e4e4d),_0x53b4cd);}}var _0x409d9a=Object[_0x56fe62(0x2f8)],_0x52d76c=(_0x1e4d9f,_0x3ff8ea,_0x2288cb,_0x2dfa35)=>{var _0x158682=_0x56fe62;for(var _0x1519e9=_0x2dfa35>0x1?void 0x0:_0x2dfa35?_0x409d9a(_0x3ff8ea,_0x2288cb):_0x3ff8ea,_0x59126e=_0x1e4d9f[_0x158682(0x17a)]-0x1,_0x5667fb;_0x59126e>=0x0;_0x59126e--)(_0x5667fb=_0x1e4d9f[_0x59126e])&&(_0x1519e9=_0x5667fb(_0x1519e9)||_0x1519e9);return _0x1519e9;},_0x1d10b2=(_0x582781,_0x27354b)=>(_0x45b742,_0x1ae328)=>_0x27354b(_0x45b742,_0x1ae328,_0x582781);let _0x132e87=class{constructor(_0x584e3d){var _0x38c50b=_0x56fe62;this[_0x38c50b(0x280)]=_0x584e3d,this[_0x38c50b(0x19e)]();}[_0x56fe62(0x19e)](){this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x3a0bec,_0x12ffdd)=>{var _0x240668=_0x3662;const _0x3d1a09=_0x3a0bec['headers'],_0x516638=_0x13d1aa();return _0x516638&&_0x3d1a09[_0x240668(0x35e)](_0x240668(0x3a1),_0x516638),_0x12ffdd(_0x3a0bec);}});}};_0x132e87=_0x52d76c([_0x1d10b2(0x0,_0x132a8a[_0x56fe62(0x1fa)](_0x38b1a1[_0x56fe62(0x4b1)]))],_0x132e87);var _0x17404b=Object[_0x56fe62(0x2f8)],_0xd2a2fb=(_0x42b384,_0x286be1,_0x3bd6ed,_0x100b09)=>{var _0xc28c13=_0x56fe62;for(var _0x60db9b=_0x100b09>0x1?void 0x0:_0x100b09?_0x17404b(_0x286be1,_0x3bd6ed):_0x286be1,_0x58b300=_0x42b384[_0xc28c13(0x17a)]-0x1,_0x58c7b4;_0x58b300>=0x0;_0x58b300--)(_0x58c7b4=_0x42b384[_0x58b300])&&(_0x60db9b=_0x58c7b4(_0x60db9b)||_0x60db9b);return _0x60db9b;},_0x1fac74=(_0x5ca792,_0x4f56ec)=>(_0x360771,_0x2b4fbc)=>_0x4f56ec(_0x360771,_0x2b4fbc,_0x5ca792);_0x43236a[_0x56fe62(0x435)]=class extends _0x132a8a[_0x56fe62(0x397)]{constructor(_0x52acd1,_0x45954e,_0x32a6a7){var _0x3d23bc=_0x56fe62;super(),_0x18d62f(this,_0x3d23bc(0x33e),new _0x41f28e[(_0x3d23bc(0x473))](null)),_0x18d62f(this,_0x3d23bc(0x438),this[_0x3d23bc(0x33e)][_0x3d23bc(0x4ba)]()),(this[_0x3d23bc(0x3ee)]=_0x52acd1,this[_0x3d23bc(0x390)]=_0x45954e,this[_0x3d23bc(0x3fb)]=_0x32a6a7);}async[_0x56fe62(0x24a)](_0x2d1a5b,_0x467b7b,_0x593ca1){var _0x19b085=_0x56fe62;this[_0x19b085(0x33e)]['next']({'unitId':_0x2d1a5b,'type':_0x467b7b});let _0x5909d9=null;switch(_0x467b7b){case _0x5b3fe9[_0x19b085(0x2a4)]:{_0x5909d9=await this[_0x19b085(0x390)][_0x19b085(0x2c6)](_0x2d1a5b,_0x593ca1);break;}case _0x5b3fe9[_0x19b085(0x1b0)]:{_0x5909d9=await this[_0x19b085(0x390)][_0x19b085(0x1ba)](_0x2d1a5b,_0x593ca1);break;}default:{this[_0x19b085(0x3ee)][_0x19b085(0x32b)](_0x19b085(0x39e),_0x19b085(0x291));break;}}return _0x5909d9;}async[_0x56fe62(0x252)](_0x4a2423,_0x57784a,_0x3d0e15){var _0x3bbee8=_0x56fe62,_0x446e4f;this[_0x3bbee8(0x33e)][_0x3bbee8(0x360)]({'unitId':_0x4a2423,'type':_0x57784a,'subUnitId':_0x3d0e15});let _0x468319=0x0;const _0x507349=await((_0x446e4f=this[_0x3bbee8(0x3fb)])==null?void 0x0:_0x446e4f[_0x3bbee8(0x3ad)](_0x4a2423));return _0x507349&&(_0x507349[_0x3bbee8(0x121)]||_0x507349[_0x3bbee8(0x409)][_0x3bbee8(0x17a)]!==0x0)&&(_0x468319=_0x507349[_0x3bbee8(0x2fb)]),_0x468319===0x0&&this[_0x3bbee8(0x3ee)][_0x3bbee8(0x181)](_0x3bbee8(0x39e),_0x3bbee8(0x3fa)),this[_0x3bbee8(0x24a)](_0x4a2423,_0x57784a,_0x468319);}},_0x43236a[_0x56fe62(0x435)]=_0xd2a2fb([_0x1fac74(0x0,_0x132a8a[_0x56fe62(0x3f7)]),_0x1fac74(0x1,_0x132a8a['Inject'](_0x4a4eff[_0x56fe62(0x250)])),_0x1fac74(0x2,_0x132a8a['Optional'](_0x11f168))],_0x43236a[_0x56fe62(0x435)]);var _0x5be236=Object[_0x56fe62(0x2f8)],_0x3dc17b=(_0x5ca037,_0x22a3ed,_0xdece1a,_0x7ae0f6)=>{for(var _0x48ca0a=_0x7ae0f6>0x1?void 0x0:_0x7ae0f6?_0x5be236(_0x22a3ed,_0xdece1a):_0x22a3ed,_0x509e02=_0x5ca037['length']-0x1,_0x2b7dde;_0x509e02>=0x0;_0x509e02--)(_0x2b7dde=_0x5ca037[_0x509e02])&&(_0x48ca0a=_0x2b7dde(_0x48ca0a)||_0x48ca0a);return _0x48ca0a;},_0x545a82=(_0x361382,_0x292d4f)=>(_0xf55557,_0x3b62e4)=>_0x292d4f(_0xf55557,_0x3b62e4,_0x361382);const _0x544011=['image/png',_0x56fe62(0x179),'image/jpg',_0x56fe62(0x323),'image/bmp'],_0x5b8f1f=0x5*0x400*0x400,_0x199c0e=_0x56fe62(0x17d),_0x2d393d=_0x56fe62(0x46a);_0x43236a[_0x56fe62(0x3e9)]=class{constructor(_0x18b92a,_0x475cf2,_0x2737fb){var _0x5e0bd8=_0x56fe62;_0x18d62f(this,_0x5e0bd8(0x2e3),0x0),_0x18d62f(this,'_change$',new _0x41f28e[(_0x5e0bd8(0x3e8))]()),_0x18d62f(this,_0x5e0bd8(0x297),this[_0x5e0bd8(0x12b)]),_0x18d62f(this,_0x5e0bd8(0x365),new Map()),(this[_0x5e0bd8(0x280)]=_0x18b92a,this[_0x5e0bd8(0x2f7)]=_0x475cf2,this[_0x5e0bd8(0x3fd)]=_0x2737fb);}['setWaitCount'](_0x4bb140){var _0x3b9bc1=_0x56fe62;this['_waitCount']=_0x4bb140,this[_0x3b9bc1(0x12b)][_0x3b9bc1(0x360)](_0x4bb140);}['getImageSourceCache'](_0x458b7c,_0x1f0ba1){var _0x4b65dd=_0x56fe62;if(_0x1f0ba1===_0x58931d[_0x4b65dd(0x4b7)][_0x4b65dd(0x405)]){const _0x215849=new Image();return _0x215849[_0x4b65dd(0x321)]=_0x458b7c,_0x215849;}return this['_imageSourceCache'][_0x4b65dd(0x2ce)](_0x458b7c);}[_0x56fe62(0x424)](_0x129a9a,_0x4a0c61,_0x2616fc){var _0xc3e480=_0x56fe62;_0x4a0c61===_0x58931d[_0xc3e480(0x4b7)][_0xc3e480(0x405)]||_0x2616fc==null||this['_imageSourceCache'][_0xc3e480(0x35e)](_0x129a9a,_0x2616fc);}async[_0x56fe62(0x3b4)](_0x5d69a1){var _0x23287d=_0x56fe62;try{const _0x591d92=this[_0x23287d(0x2c8)](this[_0x23287d(0x197)](),''+_0x5d69a1),_0x1d5a2f=(await this[_0x23287d(0x280)]['get'](_0x591d92))['body'];if(_0x1d5a2f['error']&&_0x1d5a2f[_0x23287d(0x32b)][_0x23287d(0x396)]===_0x41c854['OK']){const _0x4190c2=_0x132a8a[_0x23287d(0x193)](_0x1d5a2f[_0x23287d(0x212)],this[_0x23287d(0x406)]());return Promise[_0x23287d(0x166)](_0x4190c2);}return Promise[_0x23287d(0x2bc)](_0x1d5a2f['error']);}catch(_0x282b52){return Promise[_0x23287d(0x2bc)](_0x282b52);}}async['saveImage'](_0x404576){var _0x5a442c=_0x56fe62;let _0x37bb42='';if(!_0x544011['includes'](_0x404576[_0x5a442c(0x326)]))return this[_0x5a442c(0x1d8)](),Promise['reject'](new Error(_0x58931d[_0x5a442c(0x1cb)][_0x5a442c(0x15c)]));if(_0x404576[_0x5a442c(0x1d1)]>_0x5b8f1f)return this[_0x5a442c(0x1d8)](),Promise[_0x5a442c(0x2bc)](new Error(_0x58931d[_0x5a442c(0x1cb)][_0x5a442c(0x1bb)]));try{const _0x518780=new FormData();_0x518780['append']('file',_0x404576);const _0x3a4376=this['_univerInstanceService'][_0x5a442c(0x38a)](),_0x2ba4a1=_0x3a4376==null?void 0x0:_0x3a4376['getUnitId']();if(!_0x2ba4a1)throw new Error(_0x5a442c(0x134));const _0x1e2373=this[_0x5a442c(0x325)]()+_0x5a442c(0x2b3)+_0x404576[_0x5a442c(0x1d1)][_0x5a442c(0x277)]()+_0x5a442c(0x41e)+_0x5c74c3[_0x5a442c(0x3db)]+_0x5a442c(0x314)+encodeURIComponent(_0x2ba4a1),_0x375b24={'body':_0x518780},_0x58374d=(await this[_0x5a442c(0x280)][_0x5a442c(0x12e)](_0x1e2373,_0x375b24))[_0x5a442c(0x324)];if(typeof _0x58374d[_0x5a442c(0x3ae)]!=_0x5a442c(0x1fe))return this[_0x5a442c(0x1d8)](),Promise[_0x5a442c(0x2bc)](new Error(_0x58931d[_0x5a442c(0x1cb)]['ERROR_IMAGE']));_0x37bb42=_0x58374d[_0x5a442c(0x3ae)];}catch{return this[_0x5a442c(0x1d8)](),Promise[_0x5a442c(0x2bc)](new Error(_0x58931d['ImageUploadStatusType'][_0x5a442c(0x270)]));}return new Promise((_0x37d984,_0x535142)=>{var _0x5e4c6a=_0x5a442c;const _0x437fea=new FileReader();_0x437fea[_0x5e4c6a(0x48f)](_0x404576),_0x437fea[_0x5e4c6a(0x336)]=_0x222057=>{var _0x3be106=_0x5e4c6a,_0x3d4e3e;const _0x351ca4=(_0x3d4e3e=_0x222057[_0x3be106(0x2bf)])==null?void 0x0:_0x3d4e3e[_0x3be106(0x265)];if(_0x351ca4==null){this['_decreaseWaiting'](),_0x535142(new Error(_0x58931d['ImageUploadStatusType'][_0x3be106(0x270)]));return;}const _0x33d04a=_0x132a8a['generateRandomId'](0x6);_0x37d984({'imageId':_0x33d04a,'imageSourceType':_0x58931d[_0x3be106(0x4b7)]['UUID'],'source':_0x37bb42,'base64Cache':_0x351ca4,'status':_0x58931d[_0x3be106(0x1cb)][_0x3be106(0x476)]}),this['_decreaseWaiting']();};});}[_0x56fe62(0x325)](){var _0x1d4423=_0x56fe62,_0x582ad5;const _0x24b40a=this[_0x1d4423(0x2f7)][_0x1d4423(0x1ab)](_0x16e9e6);return(_0x582ad5=_0x24b40a==null?void 0x0:_0x24b40a[_0x1d4423(0x1b8)])!=null?_0x582ad5:_0x199c0e;}[_0x56fe62(0x197)](){var _0x3fa41e=_0x56fe62,_0xfb7b67;const _0x2b858b=this[_0x3fa41e(0x2f7)][_0x3fa41e(0x1ab)](_0x16e9e6);return(_0xfb7b67=_0x2b858b==null?void 0x0:_0x2b858b['signUrlServerUrl'])!=null?_0xfb7b67:_0x2d393d;}['_getDownloadEndpointURL'](){var _0x172091=_0x56fe62,_0x194783;const _0x121cca=this[_0x172091(0x2f7)][_0x172091(0x1ab)](_0x16e9e6);return(_0x194783=_0x121cca==null?void 0x0:_0x121cca[_0x172091(0x3f3)])!=null?_0x194783:location['origin'];}[_0x56fe62(0x2c8)](_0x2b67fd,_0x2c17f9){var _0x1b0ab3=_0x56fe62;return _0x2b67fd[_0x1b0ab3(0x132)]('{fileID}',_0x2c17f9);}[_0x56fe62(0x1d8)](){var _0x365964=_0x56fe62;this[_0x365964(0x2e3)]-=0x1,this[_0x365964(0x12b)][_0x365964(0x360)](this['_waitCount']);}},_0x43236a[_0x56fe62(0x3e9)]=_0x3dc17b([_0x545a82(0x0,_0x132a8a['Inject'](_0x38b1a1[_0x56fe62(0x4b1)])),_0x545a82(0x1,_0x132a8a[_0x56fe62(0x2cf)]),_0x545a82(0x2,_0x132a8a[_0x56fe62(0x1fa)](_0x132a8a[_0x56fe62(0x1da)]))],_0x43236a['CollaborationImageIoService']);var _0x10a3cd=Object[_0x56fe62(0x2f8)],_0x435895=(_0x3ff2ec,_0x5e6b3e,_0x5ca9ab,_0x3f6258)=>{var _0x27941d=_0x56fe62;for(var _0xcbfa08=_0x3f6258>0x1?void 0x0:_0x3f6258?_0x10a3cd(_0x5e6b3e,_0x5ca9ab):_0x5e6b3e,_0x5c233d=_0x3ff2ec[_0x27941d(0x17a)]-0x1,_0x303ffa;_0x5c233d>=0x0;_0x5c233d--)(_0x303ffa=_0x3ff2ec[_0x5c233d])&&(_0xcbfa08=_0x303ffa(_0xcbfa08)||_0xcbfa08);return _0xcbfa08;},_0x4326c4=(_0x34a4af,_0xdd687)=>(_0x1ecc2e,_0x43e27c)=>_0xdd687(_0x1ecc2e,_0x43e27c,_0x34a4af);const _0xa68804=_0x56fe62(0x31c);_0x43236a['MentionIoHttpService']=class{constructor(_0xb4edda,_0x3584a4){var _0x5b632f=_0x56fe62;this[_0x5b632f(0x2f7)]=_0xb4edda,this['_HTTPService']=_0x3584a4;}[_0x56fe62(0x1a3)](){var _0x71864c=_0x56fe62,_0x30a600;const _0x2c2c1b=this[_0x71864c(0x2f7)][_0x71864c(0x1ab)](_0x16e9e6);return(_0x30a600=_0x2c2c1b==null?void 0x0:_0x2c2c1b[_0x71864c(0x17b)])!=null?_0x30a600:_0xa68804;}async[_0x56fe62(0x335)](_0x36b03d){var _0x238255=_0x56fe62;const _0xef47f8=this[_0x238255(0x1a3)]()+_0x238255(0x35d);return{'list':[{'title':_0x238255(0x225),'mentions':(await this[_0x238255(0x394)][_0x238255(0x2ce)](_0xef47f8,{'params':{'objectID':_0x36b03d[_0x238255(0x140)],'unitID':_0x36b03d[_0x238255(0x140)]}}))[_0x238255(0x324)]['collaborators'][_0x238255(0x290)](_0xf3f9cc=>({'objectId':_0xf3f9cc['id'],'name':_0xf3f9cc[_0x238255(0x354)][_0x238255(0x4b4)],'metadata':{'icon':_0xf3f9cc[_0x238255(0x354)]['avatar']},'label':_0xf3f9cc[_0x238255(0x354)][_0x238255(0x4b4)],'objectType':_0x132a8a['MentionType']['PERSON']})),'metadata':{},'type':_0x132a8a['MentionType'][_0x238255(0x348)]}]};}},_0x43236a['MentionIoHttpService']=_0x435895([_0x4326c4(0x0,_0x132a8a[_0x56fe62(0x1fa)](_0x132a8a['IConfigService'])),_0x4326c4(0x1,_0x132a8a['Inject'](_0x38b1a1['HTTPService']))],_0x43236a[_0x56fe62(0x28f)]);var _0x42b4d1=Object[_0x56fe62(0x2f8)],_0x24ac77=(_0x37d342,_0x2a4497,_0x141654,_0x55bbc1)=>{var _0x5b642c=_0x56fe62;for(var _0x5169cd=_0x55bbc1>0x1?void 0x0:_0x55bbc1?_0x42b4d1(_0x2a4497,_0x141654):_0x2a4497,_0x24277d=_0x37d342[_0x5b642c(0x17a)]-0x1,_0x81b154;_0x24277d>=0x0;_0x24277d--)(_0x81b154=_0x37d342[_0x24277d])&&(_0x5169cd=_0x81b154(_0x5169cd)||_0x5169cd);return _0x5169cd;},_0x868438=(_0x8c6171,_0x3c646f)=>(_0x66d659,_0x51acc9)=>_0x3c646f(_0x66d659,_0x51acc9,_0x8c6171);let _0x294196=class extends _0x132a8a[_0x56fe62(0x397)]{constructor(_0x516334,_0xd2670,_0x14b4ea,_0x35c363,_0x328ff2){var _0x31023e=_0x56fe62;super(),this[_0x31023e(0x3c0)]=_0x516334,this['_univerInstanceService']=_0xd2670,this[_0x31023e(0x171)]=_0x14b4ea,this[_0x31023e(0x3c9)]=_0x35c363,this[_0x31023e(0x293)]=_0x328ff2,this[_0x31023e(0x499)](),this[_0x31023e(0x1e2)]();}[_0x56fe62(0x1e2)](){var _0x2780c9=_0x56fe62;const _0x1fb754=async _0x4bdd20=>{var _0x4cb3fd=_0x3662;(await this[_0x4cb3fd(0x3c9)][_0x4cb3fd(0x35b)](_0x4bdd20))[_0x4cb3fd(0x247)][_0x4cb3fd(0x2d1)](_0xb6ddf5[_0x4cb3fd(0x272)](_0x300429=>_0x300429[_0x4cb3fd(0x3e2)]===_0x4a4eff[_0x4cb3fd(0x19d)][_0x4cb3fd(0x221)]),_0xb6ddf5[_0x4cb3fd(0x308)](this['dispose$']))[_0x4cb3fd(0x3de)](_0x18668b=>{var _0xf1b3b7=_0x4cb3fd;const _0x291cf0=_0x18668b,{reason:_0x59a2d6}=_0x291cf0[_0xf1b3b7(0x483)];this[_0xf1b3b7(0x293)]['emitEvent']({'id':_0x3fbd84['CLOSE_ROOM'],'data':_0x59a2d6}),this[_0xf1b3b7(0x171)][_0xf1b3b7(0x31a)](new _0x3b6fb7[(_0xf1b3b7(0x46f))](_0x4bdd20)['id'],!0x1),this[_0xf1b3b7(0x3c9)][_0xf1b3b7(0x453)](_0x4bdd20);});};_0x41f28e[_0x2780c9(0x16d)](this['_univerInstanceService'][_0x2780c9(0x3f0)](_0x132a8a[_0x2780c9(0x20f)]['UNIVER_SHEET']),this[_0x2780c9(0x3fd)][_0x2780c9(0x3f0)](_0x132a8a[_0x2780c9(0x20f)][_0x2780c9(0x1b0)]))[_0x2780c9(0x2d1)](_0xb6ddf5[_0x2780c9(0x290)](_0x611238=>_0x611238[_0x2780c9(0x1df)]()),_0xb6ddf5[_0x2780c9(0x272)](_0xbc4d0=>!_0x132a8a[_0x2780c9(0x357)](_0xbc4d0)),_0xb6ddf5[_0x2780c9(0x308)](this['dispose$']))[_0x2780c9(0x3de)](_0x4ce522=>{_0x1fb754(_0x4ce522);});}['_initUnitPermissionChange'](){var _0x52707f=_0x56fe62;const _0x4d1d66=async _0x5555ad=>{var _0x16eed1=_0x3662;const _0x5d2a1f=await this[_0x16eed1(0x3c9)][_0x16eed1(0x35b)](_0x5555ad),_0x4d6fe1=this['_injector'][_0x16eed1(0x2ce)](_0x3b6fb7[_0x16eed1(0x2ba)]);_0x5d2a1f[_0x16eed1(0x247)][_0x16eed1(0x2d1)](_0xb6ddf5[_0x16eed1(0x272)](_0xc3d684=>_0xc3d684[_0x16eed1(0x3e2)]===_0x4a4eff['CollaborationEvent'][_0x16eed1(0x1c7)]),_0xb6ddf5['takeUntil'](this[_0x16eed1(0x3f5)]))['subscribe'](_0x26f9c2=>{var _0x5adfd2=_0x16eed1;const _0x480f45=_0x26f9c2,{objectId:_0x4b84d1}=_0x480f45['data'];_0x4b84d1===_0x5555ad?_0x4d6fe1[_0x5adfd2(0x11a)](_0x5555ad):_0x4d6fe1[_0x5adfd2(0x2a5)](_0x5555ad,_0x4b84d1);});};_0x41f28e[_0x52707f(0x16d)](this[_0x52707f(0x3fd)][_0x52707f(0x3f0)](_0x132a8a['UniverInstanceType'][_0x52707f(0x2a4)]))['pipe'](_0xb6ddf5['map'](_0xe96fd=>_0xe96fd[_0x52707f(0x1df)]()),_0xb6ddf5[_0x52707f(0x272)](_0x1550cb=>!_0x132a8a[_0x52707f(0x357)](_0x1550cb)),_0xb6ddf5['takeUntil'](this[_0x52707f(0x3f5)]))[_0x52707f(0x3de)](_0x642978=>{_0x4d1d66(_0x642978);});}};_0x294196=_0x24ac77([_0x868438(0x0,_0x132a8a[_0x56fe62(0x1fa)](_0x132a8a[_0x56fe62(0x1ae)])),_0x868438(0x1,_0x132a8a[_0x56fe62(0x1da)]),_0x868438(0x2,_0x132a8a[_0x56fe62(0x1cc)]),_0x868438(0x3,_0x132a8a['Inject'](_0x43236a['CollaborationSessionService'])),_0x868438(0x4,_0x132a8a[_0x56fe62(0x1fa)](_0x3d2ec6))],_0x294196);var _0x116d2c=Object['getOwnPropertyDescriptor'],_0x3a6b98=(_0x4e09e9,_0x2198e5,_0x1b051b,_0x56a8f2)=>{var _0x59ad50=_0x56fe62;for(var _0x1fd550=_0x56a8f2>0x1?void 0x0:_0x56a8f2?_0x116d2c(_0x2198e5,_0x1b051b):_0x2198e5,_0x5bd807=_0x4e09e9[_0x59ad50(0x17a)]-0x1,_0x5c6971;_0x5bd807>=0x0;_0x5bd807--)(_0x5c6971=_0x4e09e9[_0x5bd807])&&(_0x1fd550=_0x5c6971(_0x1fd550)||_0x1fd550);return _0x1fd550;},_0x1f6e1c=(_0x3689b4,_0x316871)=>(_0x58f1d4,_0x1d3511)=>_0x316871(_0x58f1d4,_0x1d3511,_0x3689b4);_0x43236a['SnapshotServerOverHTTPService']=class{constructor(_0x12ef8d,_0x4a22e1){var _0x151b39=_0x56fe62;this[_0x151b39(0x2f7)]=_0x12ef8d,this[_0x151b39(0x280)]=_0x4a22e1;}async[_0x56fe62(0x355)](_0x4d88aa,_0x502fd9){var _0x326e39=_0x56fe62,_0x2f8a65;const {unitID:_0x456d62,type:_0x45183b,revision:_0x526801=0x0}=_0x502fd9,_0xd37e2a=this[_0x326e39(0x2af)]()+'/'+_0x45183b+_0x326e39(0x43d)+_0x456d62+_0x326e39(0x3b6)+_0x526801,_0x410ebf=(await this[_0x326e39(0x280)][_0x326e39(0x2ce)](_0xd37e2a))[_0x326e39(0x324)],_0x3be701=(_0x2f8a65=_0x410ebf[_0x326e39(0x36e)])==null?void 0x0:_0x2f8a65[_0x326e39(0x202)];if(_0x3be701){const _0xb96658=_0x3be701==null?void 0x0:_0x3be701['originalMeta'],_0x29bfc8=_0x4a4eff[_0x326e39(0x4b5)][_0x326e39(0x34e)](_0x4a4eff[_0x326e39(0x159)](_0xb96658));_0x3be701[_0x326e39(0x1a2)]=_0x29bfc8,Object['entries'](_0x3be701[_0x326e39(0x38b)])[_0x326e39(0x13d)](([,_0x2c98f0])=>{var _0x3d6eaa=_0x326e39;const _0x35e663=_0x2c98f0['originalMeta'],_0x584c04=_0x4a4eff['textEncoder']['encode'](_0x4a4eff[_0x3d6eaa(0x159)](_0x35e663));_0x2c98f0[_0x3d6eaa(0x1a2)]=_0x584c04;});}return _0x410ebf;}async[_0x56fe62(0x468)](_0x19ae6b,_0x4abf02){var _0x2fb178=_0x56fe62;const {unitID:_0x256bc0,type:_0x2189f7,blockID:_0x4a0ad5}=_0x4abf02,_0x50f398=this['_getAPIPrefix']()+'/'+_0x2189f7+_0x2fb178(0x43d)+_0x256bc0+'/block/'+_0x4a0ad5;return(await this[_0x2fb178(0x280)][_0x2fb178(0x2ce)](_0x50f398))[_0x2fb178(0x324)];}async['getDeserializedSheetBlock'](_0x195d59,_0x2ffe5a){var _0x2e072c=_0x56fe62;const {unitID:_0x3808b4,type:_0x419ac6,blockID:_0x598a20}=_0x2ffe5a,_0x1e5bcd=this[_0x2e072c(0x4a3)]()+_0x2e072c(0x269)+_0x419ac6+'/unit/'+_0x3808b4+_0x2e072c(0x269)+_0x598a20;return(await this[_0x2e072c(0x280)][_0x2e072c(0x2ce)](_0x1e5bcd))[_0x2e072c(0x324)];}async[_0x56fe62(0x1b9)](_0x272113,_0x1d451d){var _0x59c559=_0x56fe62;const {unitID:_0x2635b4,type:_0x44c550,from:_0x3ddab1,to:_0x564b9c}=_0x1d451d,_0x140c6c=this['_getAPIPrefix']()+'/'+_0x44c550+_0x59c559(0x43d)+_0x2635b4+_0x59c559(0x20b)+_0x3ddab1+_0x59c559(0x3b1)+_0x564b9c;return(await this['_httpService'][_0x59c559(0x2ce)](_0x140c6c))[_0x59c559(0x324)];}[_0x56fe62(0x2af)](){var _0x12a840=_0x56fe62,_0x3f7c5e;return(_0x3f7c5e=this['_configService'][_0x12a840(0x1ab)](_0x34823c))!=null?_0x3f7c5e:this[_0x12a840(0x4a3)]();}[_0x56fe62(0x4a3)](){var _0x4a0002=_0x56fe62,_0x14b534;const _0x1c4407=this['_configService']['getConfig'](_0x16e9e6);return(_0x14b534=_0x1c4407==null?void 0x0:_0x1c4407[_0x4a0002(0x196)])!=null?_0x14b534:_0x304017;}async['getResourcesRequest'](_0x367197,_0x3372c4){var _0x8bd5be=_0x56fe62;const _0x5e0f6e=_0x8bd5be(0x2b4)+_0x3372c4['type']+_0x8bd5be(0x43d)+_0x3372c4[_0x8bd5be(0x463)]+'/resources';return(await this[_0x8bd5be(0x280)][_0x8bd5be(0x2ce)](_0x5e0f6e,{'params':{'resourceId':JSON[_0x8bd5be(0x123)](_0x3372c4[_0x8bd5be(0x386)])}}))[_0x8bd5be(0x324)];}[_0x56fe62(0x275)](){var _0x53d0bd=_0x56fe62;throw new Error(_0x53d0bd(0x263));}[_0x56fe62(0x316)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x56fe62(0x23f)](){var _0x12ea1e=_0x56fe62;throw new Error(_0x12ea1e(0x263));}[_0x56fe62(0x1fd)](){var _0x416559=_0x56fe62;throw new Error(_0x416559(0x263));}[_0x56fe62(0x4af)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x56fe62(0x4b9)](){var _0x1a1375=_0x56fe62;throw new Error(_0x1a1375(0x263));}},_0x43236a[_0x56fe62(0x426)]=_0x3a6b98([_0x1f6e1c(0x0,_0x132a8a['IConfigService']),_0x1f6e1c(0x1,_0x132a8a['Inject'](_0x38b1a1['HTTPService']))],_0x43236a[_0x56fe62(0x426)]);var _0x17de4d=Object[_0x56fe62(0x2f8)],_0x439086=(_0x610a2a,_0x396c0d,_0x356b1c,_0x9087d5)=>{var _0x2495a1=_0x56fe62;for(var _0x4c30b5=_0x9087d5>0x1?void 0x0:_0x9087d5?_0x17de4d(_0x396c0d,_0x356b1c):_0x396c0d,_0x15879a=_0x610a2a[_0x2495a1(0x17a)]-0x1,_0x116534;_0x15879a>=0x0;_0x15879a--)(_0x116534=_0x610a2a[_0x15879a])&&(_0x4c30b5=_0x116534(_0x4c30b5)||_0x4c30b5);return _0x4c30b5;},_0x1d302a=(_0x555c2d,_0x36abcb)=>(_0xfa72c7,_0x15dcae)=>_0x36abcb(_0xfa72c7,_0x15dcae,_0x555c2d);_0x43236a['CollaborativeUndoRedoService']=class extends _0x132a8a['LocalUndoRedoService']{constructor(_0x1856cc,_0x14ab28,_0x36ebbd,_0x49d380,_0x4ca0d0){var _0x51033a=_0x56fe62;super(_0x1856cc,_0x14ab28,_0x36ebbd),this['_transformService']=_0x49d380,this[_0x51033a(0x3ee)]=_0x4ca0d0;}[_0x56fe62(0x2ca)](_0x1d2a84,_0x104920){var _0x401bb7=_0x56fe62;const _0x3e3539=this['_getUndoStack'](_0x1d2a84);if(_0x3e3539)try{const _0xc3a7ff=this[_0x401bb7(0x135)](_0x3e3539,_0x104920);this[_0x401bb7(0x388)](_0x1d2a84,_0xc3a7ff);}catch(_0x5d9669){this[_0x401bb7(0x3ee)][_0x401bb7(0x32b)](_0x401bb7(0x1c1),_0x5d9669),this[_0x401bb7(0x285)](_0x1d2a84);}const _0x1cf12f=this[_0x401bb7(0x141)](_0x1d2a84);if(_0x1cf12f)try{const _0x5f411b=this[_0x401bb7(0x135)](_0x1cf12f,_0x104920);this['_substituteRedoStack'](_0x1d2a84,_0x5f411b);}catch(_0x36b56a){this[_0x401bb7(0x3ee)][_0x401bb7(0x32b)](_0x36b56a),this[_0x401bb7(0x1a6)](_0x1d2a84);}}[_0x56fe62(0x285)](_0x170d8a){var _0x3c9254=_0x56fe62;const _0x42af0a=this[_0x3c9254(0x34b)](_0x170d8a);_0x42af0a&&(_0x42af0a[_0x3c9254(0x17a)]=0x0,this['_updateStatus']());}[_0x56fe62(0x1a6)](_0x5eb056){var _0x24ad4c=_0x56fe62;const _0x5192f9=this[_0x24ad4c(0x141)](_0x5eb056);_0x5192f9&&(_0x5192f9[_0x24ad4c(0x17a)]=0x0,this[_0x24ad4c(0x264)]());}['_substituteUndoStack'](_0x49efbc,_0x7a4d38){var _0x5540b5=_0x56fe62;this[_0x5540b5(0x317)]['set'](_0x49efbc,_0x7a4d38),this[_0x5540b5(0x264)]();}[_0x56fe62(0x49d)](_0x5d90ce,_0x19ad2d){var _0x32503a=_0x56fe62;this[_0x32503a(0x327)][_0x32503a(0x35e)](_0x5d90ce,_0x19ad2d),this[_0x32503a(0x264)]();}[_0x56fe62(0x135)](_0x43b600,_0x31ae14){var _0x36b9b3=_0x56fe62;const _0x3b48b0=[];let _0x4d517a=_0x31ae14,_0x53fff0=_0x31ae14;for(let _0x47e2d1=_0x43b600[_0x36b9b3(0x17a)]-0x1;_0x47e2d1>=0x0;_0x47e2d1--){const {unitID:_0x43e6b4,undoMutations:_0x5c1512,redoMutations:_0x3e945c}=_0x43b600[_0x47e2d1],_0x578c58=this[_0x36b9b3(0x3bd)]['transformMutationsWithChangeset'](_0x4d517a,_0x5c1512),_0x53a03b=this[_0x36b9b3(0x3bd)][_0x36b9b3(0x3f6)](_0x53fff0,_0x3e945c);if(_0x4a4eff['isTransformMutationsWithChangesetFailure'](_0x578c58)||_0x4a4eff[_0x36b9b3(0x3fc)](_0x53a03b)){this[_0x36b9b3(0x3ee)][_0x36b9b3(0x32b)](_0x36b9b3(0x1c1),_0x36b9b3(0x446),_0x578c58,_0x53a03b);break;}_0x4d517a=_0x578c58[_0x36b9b3(0x303)],_0x53fff0=_0x53a03b[_0x36b9b3(0x303)],_0x3b48b0['push']({'unitID':_0x43e6b4,'undoMutations':_0x578c58[_0x36b9b3(0x47e)],'redoMutations':_0x53a03b['m2Prime']});}return _0x3b48b0[_0x36b9b3(0x3ba)]();}},_0x43236a['CollaborativeUndoRedoService']=_0x439086([_0x1d302a(0x0,_0x132a8a['IUniverInstanceService']),_0x1d302a(0x1,_0x132a8a[_0x56fe62(0x342)]),_0x1d302a(0x2,_0x132a8a['IContextService']),_0x1d302a(0x3,_0x4a4eff[_0x56fe62(0x4a9)]),_0x1d302a(0x4,_0x132a8a[_0x56fe62(0x3f7)])],_0x43236a[_0x56fe62(0x23e)]);var _0x528a0a=Object['defineProperty'],_0x4a48e6=Object[_0x56fe62(0x2f8)],_0x48f071=(_0x1c5647,_0x5f169e,_0x288c72)=>_0x5f169e in _0x1c5647?_0x528a0a(_0x1c5647,_0x5f169e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x288c72}):_0x1c5647[_0x5f169e]=_0x288c72,_0x4a45a3=(_0x1e563a,_0x5b3335,_0x1fca0f,_0x20e8bd)=>{var _0x3c3584=_0x56fe62;for(var _0x323ae2=_0x20e8bd>0x1?void 0x0:_0x20e8bd?_0x4a48e6(_0x5b3335,_0x1fca0f):_0x5b3335,_0x25ff1c=_0x1e563a[_0x3c3584(0x17a)]-0x1,_0x2acace;_0x25ff1c>=0x0;_0x25ff1c--)(_0x2acace=_0x1e563a[_0x25ff1c])&&(_0x323ae2=_0x2acace(_0x323ae2)||_0x323ae2);return _0x323ae2;},_0x3e11eb=(_0x409686,_0x427bf5)=>(_0x3871f3,_0x7a86f6)=>_0x427bf5(_0x3871f3,_0x7a86f6,_0x409686),_0x259d04=(_0xa8c599,_0x43f0cc,_0x144126)=>_0x48f071(_0xa8c599,_0x43f0cc+'',_0x144126);const _0x21558c='UNIVER_COLLABORATION_CLIENT_PLUGIN';_0x43236a[_0x56fe62(0x288)]=class extends _0x132a8a[_0x56fe62(0x1a1)]{constructor(_0x15552f,_0x156d70,_0x6ee677,_0x2d47c4){var _0x54c6e2=_0x56fe62;super(),_0x18d62f(this,_0x54c6e2(0x4aa)),(this[_0x54c6e2(0x3ee)]=_0x156d70,this['_injector']=_0x6ee677,this[_0x54c6e2(0x2f7)]=_0x2d47c4);const {..._0x5c6248}=_0x132a8a['merge']({},_0x498ad0,_0x15552f);if(!_0x5c6248['socketService'])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x54c6e2(0x4aa)]=_0x5c6248,this[_0x54c6e2(0x2f7)][_0x54c6e2(0x3b9)](_0x16e9e6,_0x5c6248);}[_0x56fe62(0x20d)](){var _0x28de4f=_0x56fe62;this[_0x28de4f(0x29e)](),this[_0x28de4f(0x401)]();}[_0x56fe62(0x29e)](){var _0x7b7cf1=_0x56fe62,_0x2a1d8b,_0x185e60;this['_injector'][_0x7b7cf1(0x172)](_0x132a8a[_0x7b7cf1(0x1cd)])&&this[_0x7b7cf1(0x3ee)][_0x7b7cf1(0x32b)]('[UniverCollaborationClientPlugin]',_0x7b7cf1(0x3f2));const _0x5ba216=_0x132a8a[_0x7b7cf1(0x25d)]([[_0x132a8a[_0x7b7cf1(0x1cd)],{'useClass':_0x43236a['CollaborativeUndoRedoService']}],[_0x43236a[_0x7b7cf1(0x276)]],[_0x43236a[_0x7b7cf1(0x3d4)]],[_0x43236a['SheetTransformSelectionsService']],[_0x398cd6],[_0x132e87],[_0x817b9d],[_0x294196],[_0x3d2ec6],[_0x43236a[_0x7b7cf1(0x435)]],[_0x56cc51,{'useClass':this[_0x7b7cf1(0x4aa)]['socketService']}],[_0x4a4eff[_0x7b7cf1(0x1a0)],{'useClass':_0x43236a[_0x7b7cf1(0x426)]}],[_0x132a8a[_0x7b7cf1(0x3b7)],{'useClass':_0x43236a[_0x7b7cf1(0x485)]}],[_0x58931d['IImageIoService'],{'useClass':_0x43236a['CollaborationImageIoService']}],[_0x132a8a['IMentionIOService'],{'useClass':_0x43236a[_0x7b7cf1(0x28f)]}],[_0x43236a[_0x7b7cf1(0x2ff)]],[_0x2f1d9c]],(_0x2a1d8b=this[_0x7b7cf1(0x4aa)])==null?void 0x0:_0x2a1d8b['override']);if(!((_0x185e60=this[_0x7b7cf1(0x4aa)])!=null&&_0x185e60['enableSingleActiveInstanceLock'])){const _0x1f0d08=_0x5ba216[_0x7b7cf1(0x22b)](([_0x36149f])=>_0x36149f===_0x4fa0d2);_0x1f0d08!==-0x1&&_0x5ba216[_0x7b7cf1(0x1f8)](_0x1f0d08,0x1);}_0x132a8a['registerDependencies'](this[_0x7b7cf1(0x3c0)],_0x5ba216);}[_0x56fe62(0x401)](){var _0x46cebd=_0x56fe62,_0xb4d06b,_0x1d719a,_0x392c4f;this['_injector']['get'](_0x38b1a1[_0x46cebd(0x4b1)])[_0x46cebd(0x2c5)]({'priority':0x14,'interceptor':_0x38b1a1[_0x46cebd(0x283)]({'maxParallel':0x6})}),(_0xb4d06b=this[_0x46cebd(0x4aa)])!=null&&_0xb4d06b['enableOfflineEditing']||(_0x1d719a=this[_0x46cebd(0x3c0)][_0x46cebd(0x2ce)](_0x11f168,_0x132a8a[_0x46cebd(0x136)][_0x46cebd(0x3bb)]))==null||_0x1d719a[_0x46cebd(0x2d0)](),(_0x392c4f=this['_config'])!=null&&_0x392c4f[_0x46cebd(0x240)]&&_0x132a8a[_0x46cebd(0x4b8)](this['_injector'],[[_0x398cd6]]),_0x132a8a[_0x46cebd(0x4b8)](this['_injector'],[[_0x132e87],[_0x43236a[_0x46cebd(0x2ff)]],[_0x294196]]);}},_0x259d04(_0x43236a[_0x56fe62(0x288)],'pluginName',_0x21558c),_0x43236a[_0x56fe62(0x288)]=_0x4a45a3([_0x132a8a[_0x56fe62(0x299)](_0x2a39fc[_0x56fe62(0x41b)],_0x4a4eff[_0x56fe62(0x27d)],_0x38b1a1['UniverNetworkPlugin']),_0x3e11eb(0x1,_0x132a8a[_0x56fe62(0x3f7)]),_0x3e11eb(0x2,_0x132a8a['Inject'](_0x132a8a[_0x56fe62(0x1ae)])),_0x3e11eb(0x3,_0x132a8a[_0x56fe62(0x2cf)])],_0x43236a['UniverCollaborationClientPlugin']),_0x43236a[_0x56fe62(0x311)]=_0x16e9e6,_0x43236a[_0x56fe62(0x1d3)]=_0x1ce56e,_0x43236a[_0x56fe62(0x353)]=_0x3fbd84,_0x43236a[_0x56fe62(0x3eb)]=_0x3d2ec6,_0x43236a[_0x56fe62(0x195)]=_0x817b9d,_0x43236a[_0x56fe62(0x32a)]=_0x148b14,_0x43236a['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=_0x555c26,_0x43236a[_0x56fe62(0x183)]=_0x1e596d,_0x43236a[_0x56fe62(0x47a)]=_0x3a00b0,_0x43236a[_0x56fe62(0x442)]=_0x5e0ea0,_0x43236a[_0x56fe62(0x15b)]=_0x56cc51,_0x43236a[_0x56fe62(0x2ed)]=_0x11f168,_0x43236a[_0x56fe62(0x33b)]=_0x48b40,_0x43236a[_0x56fe62(0x2a8)]=_0x4fa0d2,_0x43236a[_0x56fe62(0x2c1)]=0x3e8,_0x43236a[_0x56fe62(0x395)]=_0x371f06,_0x43236a['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=_0x29228a,_0x43236a[_0x56fe62(0x494)]=_0x23a235,_0x43236a['SessionStatus']=_0x49f99f,_0x43236a[_0x56fe62(0x2ad)]=_0x494ec1,_0x43236a[_0x56fe62(0x237)]=_0x1ffe34,_0x43236a[_0x56fe62(0x25a)]=_0x16e1be,_0x43236a['serializeCombRequest']=_0x41ac03,Object[_0x56fe62(0x487)](_0x43236a,Symbol[_0x56fe62(0x4a1)],{'value':_0x56fe62(0x31f)});}));
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 _0x10be(){const _0x4abc6d=['switchMap','loadSheetAsync','subscribe','54042rjMsOq','_injector','@univerjs-pro/collaboration','extend','UniverProCollaboration','_univerInstanceService','add','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','members$','pipe','readyForCollab','_snapshotService','FUniver','_initialize','575UiqAVg','status$','state','getUnitId','defineProperty','registerEventHandler','CollaborationStatus','_collaborationController','UniverCore','1057529NXaMyN','12JVWDKa','getUniverSheet','loadServerUnitOfRevision','getCollaborationStatus','createInstance','168lzJhhb','@univerjs/core','Event','unitID','UniverProCollaborationClient','getFocusedUnit','4039570WtwgUU','toStringTag','toDisposable','_handler','18hBCcpo','fireEvent','subscribeCollaborators','CollaborationController','698614bJcDZh','values','rxjs','entityInit$','NOT_COLLAB','Inject','8huOIjK','loadUnit','from','FEnum','get','disposeWithMe','exports','FCollaboration','loadActiveSheet','loadUnitOfRevision','411662IjiZBM','status','object','loadSheet','UniverProCollaborationClientFacade','CollaborationStatusChanged','loadActiveSheetAsync','loadServerUnit','Module','getCollaboration','@univerjs-pro/collaboration-client','6236329SJfHaF','getOwnPropertyDescriptor','DataLoaderService','@univerjs/core/facade','65732eryerQ'];_0x10be=function(){return _0x4abc6d;};return _0x10be();}function _0x2c5a(_0x487c46,_0x3ce330){_0x487c46=_0x487c46-0xeb;const _0x10be9c=_0x10be();let _0x2c5a10=_0x10be9c[_0x487c46];return _0x2c5a10;}(function(_0xfb8e04,_0x3ac774){const _0x13c46e=_0x2c5a,_0x37b5e3=_0xfb8e04();while(!![]){try{const _0x2e46e1=-parseInt(_0x13c46e(0x133))/0x1+parseInt(_0x13c46e(0x109))/0x2+-parseInt(_0x13c46e(0xeb))/0x3*(parseInt(_0x13c46e(0x118))/0x4)+-parseInt(_0x13c46e(0x12a))/0x5*(-parseInt(_0x13c46e(0x11c))/0x6)+parseInt(_0x13c46e(0xf9))/0x7*(-parseInt(_0x13c46e(0xff))/0x8)+-parseInt(_0x13c46e(0xf5))/0x9*(-parseInt(_0x13c46e(0xf1))/0xa)+-parseInt(_0x13c46e(0x114))/0xb*(-parseInt(_0x13c46e(0x134))/0xc);if(_0x2e46e1===_0x3ac774)break;else _0x37b5e3['push'](_0x37b5e3['shift']());}catch(_0x4e6c64){_0x37b5e3['push'](_0x37b5e3['shift']());}}}(_0x10be,0x8391e),function(_0x3394d4,_0x37f268){const _0x3a3962=_0x2c5a;typeof exports==_0x3a3962(0x10b)&&typeof module<'u'?_0x37f268(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('rxjs')):typeof define=='function'&&define['amd']?define([_0x3a3962(0x105),_0x3a3962(0x113),_0x3a3962(0x117),_0x3a3962(0xec),_0x3a3962(0x11e),_0x3a3962(0xfb)],_0x37f268):(_0x3394d4=typeof globalThis<'u'?globalThis:_0x3394d4||self,_0x37f268(_0x3394d4[_0x3a3962(0x10d)]={},_0x3394d4[_0x3a3962(0xef)],_0x3394d4['UniverCoreFacade'],_0x3394d4[_0x3a3962(0x132)],_0x3394d4[_0x3a3962(0x120)],_0x3394d4[_0x3a3962(0xfb)]));}(this,function(_0x123a99,_0x342178,_0x18b6e0,_0x1cc93f,_0xf167f9,_0x5c8a09){'use strict';const _0x366aab=_0x2c5a;class _0x3d5c66 extends _0x18b6e0[_0x366aab(0x102)]{get[_0x366aab(0x130)](){const _0x337e90=_0x366aab;return _0x342178[_0x337e90(0x130)];}}_0x18b6e0[_0x366aab(0x102)]['extend'](_0x3d5c66);class _0x8005c{get['CollaborationStatusChanged'](){return'CollaborationStatusChanged';}}_0x18b6e0['FEventName']['extend'](_0x8005c);var _0x505911=Object[_0x366aab(0x115)],_0x103a38=(_0x7724fa,_0x13a37b,_0x2ff29e,_0x280965)=>{for(var _0x25ce85=_0x280965>0x1?void 0x0:_0x280965?_0x505911(_0x13a37b,_0x2ff29e):_0x13a37b,_0x1acb39=_0x7724fa['length']-0x1,_0x396d41;_0x1acb39>=0x0;_0x1acb39--)(_0x396d41=_0x7724fa[_0x1acb39])&&(_0x25ce85=_0x396d41(_0x25ce85)||_0x25ce85);return _0x25ce85;},_0x53415b=(_0x462193,_0x436c1d)=>(_0x1f9cda,_0x374b99)=>_0x436c1d(_0x1f9cda,_0x374b99,_0x462193);_0x123a99[_0x366aab(0x106)]=class extends _0x18b6e0['FBase']{constructor(_0x4ab055,_0xf59311,_0x149b6b,_0x181734,_0x2c458c){const _0x117484=_0x366aab;super(),this[_0x117484(0xf4)]=_0x4ab055,this[_0x117484(0x11d)]=_0xf59311,this[_0x117484(0x121)]=_0x149b6b,this[_0x117484(0x127)]=_0x181734,this[_0x117484(0x131)]=_0x2c458c;}async[_0x366aab(0x107)](){const _0x3c1fd8=_0x366aab;return this[_0x3c1fd8(0x10f)]();}async[_0x366aab(0x10f)](){const _0xe00e31=_0x366aab;throw new Error(_0xe00e31(0x123));}async[_0x366aab(0x10c)](_0x37329f){const _0x5350d4=_0x366aab;return this[_0x5350d4(0x11a)](_0x37329f);}async['loadSheetAsync'](_0x335af1,_0x2df050){const _0x753b78=_0x366aab;return await this[_0x753b78(0x127)][_0x753b78(0x10c)](_0x335af1,0x0,_0x2df050)?(await this[_0x753b78(0x131)][_0x753b78(0x126)](_0x335af1),this['_handler']['getUniverSheet'](_0x335af1)):null;}[_0x366aab(0xf7)](_0x36d2d3,_0x4e8d63){const _0x18799c=_0x366aab,_0x4e3838=this[_0x18799c(0x11d)][_0x18799c(0x103)](_0x342178['MemberService'])['waitForRoom$'](_0x36d2d3)[_0x18799c(0x125)](_0x5c8a09[_0x18799c(0x119)](_0x7e64a8=>_0x7e64a8[_0x18799c(0x124)]))[_0x18799c(0x11b)](_0x135d3b=>_0x4e8d63(Array[_0x18799c(0x101)](_0x135d3b[_0x18799c(0xfa)]())));return _0x1cc93f[_0x18799c(0xf3)](_0x4e3838);}[_0x366aab(0x137)](_0x211c95){const _0x265a1e=_0x366aab;var _0x59ded2;let _0x10a3ec;if(_0x211c95)_0x10a3ec=_0x211c95;else{const _0x4d356f=this['_univerInstanceService'][_0x265a1e(0xf0)]();_0x10a3ec=_0x4d356f==null?void 0x0:_0x4d356f[_0x265a1e(0x12d)]();}if(!_0x10a3ec)return _0x342178[_0x265a1e(0x130)][_0x265a1e(0xfd)];const _0x3915f0=this['_collaborationController']['getCollabEntity'](_0x10a3ec);return(_0x59ded2=_0x3915f0==null?void 0x0:_0x3915f0[_0x265a1e(0x12c)][_0x265a1e(0x10a)])!=null?_0x59ded2:_0x342178['CollaborationStatus'][_0x265a1e(0xfd)];}},_0x123a99[_0x366aab(0x106)]=_0x103a38([_0x53415b(0x1,_0x1cc93f[_0x366aab(0xfe)](_0x1cc93f['Injector'])),_0x53415b(0x2,_0x1cc93f['IUniverInstanceService']),_0x53415b(0x3,_0x1cc93f[_0x366aab(0xfe)](_0xf167f9['SnapshotService'])),_0x53415b(0x4,_0x1cc93f['Inject'](_0x342178[_0x366aab(0xf8)]))],_0x123a99[_0x366aab(0x106)]);class _0x3e0bb5 extends _0x18b6e0[_0x366aab(0x128)]{[_0x366aab(0x129)](_0x1ac0ae){const _0x175626=_0x366aab,_0x16ddbb=_0x1ac0ae[_0x175626(0x103)](_0x342178['CollaborationController']);this[_0x175626(0x104)](this[_0x175626(0x12f)](this[_0x175626(0xed)][_0x175626(0x10e)],()=>{const _0x34bf3c=_0x175626,_0x56e817=new _0x1cc93f['DisposableCollection'](),_0x189128=_0x16ddbb[_0x34bf3c(0xfc)]['subscribe'](_0x5ac082=>{const _0x22385a=_0x34bf3c,_0x327881=_0x5ac082[_0x22385a(0x12b)][_0x22385a(0x11b)](_0x1e7f5a=>{const _0x297f94=_0x22385a;this[_0x297f94(0xf6)](this['Event'][_0x297f94(0x10e)],{'unitId':_0x5ac082[_0x297f94(0xee)],'status':_0x1e7f5a});});_0x56e817[_0x22385a(0x122)](_0x1cc93f['toDisposable'](_0x327881));});return _0x56e817[_0x34bf3c(0x122)](_0x1cc93f['toDisposable'](_0x189128)),_0x56e817;}));}[_0x366aab(0x112)](){const _0x408815=_0x366aab;return this[_0x408815(0x11d)][_0x408815(0x138)](_0x123a99[_0x408815(0x106)],{'getUniverSheet':_0x11dba2=>this[_0x408815(0x135)](_0x11dba2)});}[_0x366aab(0x110)](_0x465a19,_0x137d1f,_0x319dfe){const _0x12ab07=_0x366aab;return this[_0x12ab07(0x11d)][_0x12ab07(0x103)](_0x342178[_0x12ab07(0x116)])[_0x12ab07(0x100)](_0x465a19,_0x137d1f,_0x319dfe);}[_0x366aab(0x136)](_0x39e245,_0x5f1497,_0x280948){const _0x27549c=_0x366aab;return this['_injector'][_0x27549c(0x103)](_0x342178[_0x27549c(0x116)])[_0x27549c(0x108)](_0x39e245,_0x5f1497,_0x280948);}}_0x18b6e0['FUniver'][_0x366aab(0x11f)](_0x3e0bb5),Object[_0x366aab(0x12e)](_0x123a99,Symbol[_0x366aab(0xf2)],{'value':_0x366aab(0x111)});}));
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(_0x29f525,_0x13b533){const _0x35d19a=_0x4f4a,_0x18e649=_0x29f525();while(!![]){try{const _0x12d7d1=-parseInt(_0x35d19a(0x38c))/0x1+parseInt(_0x35d19a(0x392))/0x2+parseInt(_0x35d19a(0x1ed))/0x3*(parseInt(_0x35d19a(0x2a5))/0x4)+parseInt(_0x35d19a(0x19d))/0x5*(-parseInt(_0x35d19a(0x232))/0x6)+parseInt(_0x35d19a(0xf7))/0x7*(-parseInt(_0x35d19a(0x208))/0x8)+parseInt(_0x35d19a(0x124))/0x9*(parseInt(_0x35d19a(0x158))/0xa)+parseInt(_0x35d19a(0xe8))/0xb;if(_0x12d7d1===_0x13b533)break;else _0x18e649['push'](_0x18e649['shift']());}catch(_0x8a5fe4){_0x18e649['push'](_0x18e649['shift']());}}}(_0x458d,0xcd23a),function(_0x187132,_0x5c6ee8){const _0x206b75=_0x4f4a;typeof exports==_0x206b75(0xd0)&&typeof module<'u'?_0x5c6ee8(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==_0x206b75(0x341)&&define[_0x206b75(0x15a)]?define([_0x206b75(0x132),_0x206b75(0xcc),_0x206b75(0xfd),'@univerjs/core','@univerjs/ui',_0x206b75(0x22e),_0x206b75(0x2c3),_0x206b75(0x318),_0x206b75(0x37d),'@univerjs/sheets','@univerjs/engine-render',_0x206b75(0x156),'@univerjs/docs-ui',_0x206b75(0x20a),'@univerjs-pro/collaboration',_0x206b75(0x339),_0x206b75(0x2e8),_0x206b75(0xe0),_0x206b75(0x204)],_0x5c6ee8):(_0x187132=typeof globalThis<'u'?globalThis:_0x187132||self,_0x5c6ee8(_0x187132[_0x206b75(0x335)]={},_0x187132[_0x206b75(0x1de)],_0x187132[_0x206b75(0x316)],_0x187132[_0x206b75(0x389)],_0x187132[_0x206b75(0x20d)],_0x187132['rxjs'],_0x187132[_0x206b75(0x2ad)],_0x187132[_0x206b75(0x1de)],_0x187132[_0x206b75(0x33a)],_0x187132['UniverSheets'],_0x187132[_0x206b75(0x353)],_0x187132[_0x206b75(0x269)],_0x187132['UniverDocsUi'],_0x187132[_0x206b75(0x3a2)],_0x187132[_0x206b75(0x329)],_0x187132['UniverDocs'],_0x187132['UniverEngineFormula'],_0x187132[_0x206b75(0x22e)][_0x206b75(0x1c9)],_0x187132[_0x206b75(0xbb)]));}(this,function(_0x12f853,_0x96b66,_0x483f62,_0x2f9c71,_0x97839d,_0x4b9e95,_0x15837d,_0x4301c4,_0x67e237,_0x219559,_0x3281d5,_0x1c1235,_0x244982,_0x484fb1,_0x555c33,_0x20fc77,_0x5a5f64,_0x32e776,_0x4dff07){'use strict';const _0x1203bc=_0x4f4a;var _0x4d54f9=Object[_0x1203bc(0x34f)],_0x389878=(_0x3ea495,_0xa76e66,_0x4d5362)=>_0xa76e66 in _0x3ea495?_0x4d54f9(_0x3ea495,_0xa76e66,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4d5362}):_0x3ea495[_0xa76e66]=_0x4d5362,_0x5e2d7e=(_0x58980c,_0x3a5d25,_0x1c3e53)=>_0x389878(_0x58980c,typeof _0x3a5d25!=_0x1203bc(0x170)?_0x3a5d25+'':_0x3a5d25,_0x1c3e53);function _0x195981({ref:_0xf9305e,..._0x46b691}){const _0x432d1e=_0x1203bc,{icon:_0x2345d6,id:_0x5a8117,className:_0x59cd59,extend:_0x33c950,..._0x54f83b}=_0x46b691,_0x43e9d5=(_0x432d1e(0x31b)+_0x5a8117+'\x20'+(_0x59cd59||''))[_0x432d1e(0x261)](),_0x2bbca9=_0x4301c4['useRef']('_'+_0x2bf27c());return _0x435068(_0x2345d6,''+_0x5a8117,{'defIds':_0x2345d6[_0x432d1e(0x1c2)],'idSuffix':_0x2bbca9[_0x432d1e(0x360)]},{'ref':_0xf9305e,'className':_0x43e9d5,..._0x54f83b},_0x33c950);}function _0x435068(_0x263044,_0x2201cb,_0x5e9086,_0x1264f9,_0x7cc389){const _0x204963=_0x1203bc;return _0x4301c4[_0x204963(0x36f)](_0x263044[_0x204963(0x31f)],{'key':_0x2201cb,..._0x34f126(_0x263044,_0x5e9086,_0x7cc389),..._0x1264f9},(_0x211b01(_0x263044,_0x5e9086)[_0x204963(0x2ef)]||[])['map']((_0x5bf72e,_0xa40c5c)=>_0x435068(_0x5bf72e,_0x2201cb+'-'+_0x263044['tag']+'-'+_0xa40c5c,_0x5e9086,void 0x0,_0x7cc389)));}function _0x34f126(_0x35626f,_0x1fbed5,_0x4e1d7e){const _0x4ef02c=_0x1203bc,_0x2fbf5b={..._0x35626f[_0x4ef02c(0x310)]};_0x4e1d7e!=null&&_0x4e1d7e['colorChannel1']&&_0x2fbf5b[_0x4ef02c(0x10b)]==='colorChannel1'&&(_0x2fbf5b[_0x4ef02c(0x10b)]=_0x4e1d7e['colorChannel1']),_0x35626f['tag']===_0x4ef02c(0x240)&&_0x2fbf5b['id']&&(_0x2fbf5b['id']=_0x2fbf5b['id']+_0x1fbed5[_0x4ef02c(0x268)]),Object['entries'](_0x2fbf5b)[_0x4ef02c(0x2fb)](([_0x250511,_0x19a5df])=>{const _0x25888e=_0x4ef02c;_0x250511===_0x25888e(0x240)&&typeof _0x19a5df==_0x25888e(0x179)&&(_0x2fbf5b[_0x250511]=_0x19a5df[_0x25888e(0x195)](/url\(#(.*)\)/,'url(#$1'+_0x1fbed5[_0x25888e(0x268)]+')'));});const {defIds:_0x2bb985}=_0x1fbed5;return!_0x2bb985||_0x2bb985['length']===0x0||(_0x35626f[_0x4ef02c(0x31f)]==='use'&&_0x2fbf5b[_0x4ef02c(0xc0)]&&(_0x2fbf5b[_0x4ef02c(0xc0)]=_0x2fbf5b[_0x4ef02c(0xc0)]+_0x1fbed5[_0x4ef02c(0x268)]),Object['entries'](_0x2fbf5b)[_0x4ef02c(0x2fb)](([_0x3e20d6,_0x726668])=>{const _0x2f99af=_0x4ef02c;typeof _0x726668==_0x2f99af(0x179)&&(_0x2fbf5b[_0x3e20d6]=_0x726668[_0x2f99af(0x195)](/url\(#(.*)\)/,_0x2f99af(0x202)+_0x1fbed5[_0x2f99af(0x268)]+')'));})),_0x2fbf5b;}function _0x211b01(_0x2538ad,_0x439785){const _0x2f72d6=_0x1203bc;var _0x27059d;const {defIds:_0x3f7bf6}=_0x439785;return!_0x3f7bf6||_0x3f7bf6['length']===0x0?_0x2538ad:_0x2538ad['tag']===_0x2f72d6(0x24f)&&((_0x27059d=_0x2538ad[_0x2f72d6(0x2ef)])!=null&&_0x27059d[_0x2f72d6(0x381)])?{..._0x2538ad,'children':_0x2538ad[_0x2f72d6(0x2ef)][_0x2f72d6(0x29a)](_0xbf5aa5=>typeof _0xbf5aa5['attrs']['id']==_0x2f72d6(0x179)&&_0x3f7bf6&&_0x3f7bf6['includes'](_0xbf5aa5[_0x2f72d6(0x310)]['id'])?{..._0xbf5aa5,'attrs':{..._0xbf5aa5[_0x2f72d6(0x310)],'id':_0xbf5aa5[_0x2f72d6(0x310)]['id']+_0x439785[_0x2f72d6(0x268)]}}:_0xbf5aa5)}:_0x2538ad;}function _0x2bf27c(){const _0x85907d=_0x1203bc;return Math[_0x85907d(0x11f)]()[_0x85907d(0x24c)](0x24)[_0x85907d(0x393)](0x2,0x8);}_0x195981[_0x1203bc(0x36b)]=_0x1203bc(0x2ab);const _0x4985b7={'tag':_0x1203bc(0x379),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1203bc(0x19f),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x1203bc(0x361)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x1203bc(0x160),'attrs':{'stroke':'currentColor','d':'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','strokeLinecap':_0x1203bc(0x2a4),'strokeLinejoin':_0x1203bc(0x2a4),'strokeWidth':1.2}}]},{'tag':_0x1203bc(0x24f),'attrs':{},'children':[{'tag':_0x1203bc(0x236),'attrs':{'id':_0x1203bc(0x34b)},'children':[{'tag':_0x1203bc(0x160),'attrs':{'fill':_0x1203bc(0xc8),'d':_0x1203bc(0x289)}}]}]}],'defIds':[_0x1203bc(0x34b)]},_0x52581a=_0x4301c4['forwardRef'](function(_0x270e7f,_0xa491f0){const _0x495bf4=_0x1203bc;return _0x4301c4['createElement'](_0x195981,Object[_0x495bf4(0x122)]({},_0x270e7f,{'id':_0x495bf4(0x16d),'ref':_0xa491f0,'icon':_0x4985b7}));});_0x52581a[_0x1203bc(0x36b)]='OffLineIcon';const _0x214dd1={'tag':_0x1203bc(0x379),'attrs':{'xmlns':_0x1203bc(0x3bc),'fill':_0x1203bc(0x19f),'viewBox':_0x1203bc(0x312),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0x1203bc(0x362),'d':_0x1203bc(0x3b6),'strokeLinecap':_0x1203bc(0x2a4),'strokeLinejoin':_0x1203bc(0x2a4),'strokeWidth':1.2}}]},{'tag':_0x1203bc(0x24f),'attrs':{},'children':[{'tag':_0x1203bc(0x236),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x1203bc(0x117)]},_0x85e077=_0x4301c4[_0x1203bc(0x2ae)](function(_0x5e926e,_0x3b1bab){const _0xdad42d=_0x1203bc;return _0x4301c4[_0xdad42d(0x36f)](_0x195981,Object[_0xdad42d(0x122)]({},_0x5e926e,{'id':'on-line-icon','ref':_0x3b1bab,'icon':_0x214dd1}));});_0x85e077[_0x1203bc(0x36b)]=_0x1203bc(0x1d0);function _0x3a4d1c(_0x3ddcd6){const _0x9c242d=_0x1203bc;switch(_0x3ddcd6){case _0x483f62[_0x9c242d(0x380)][_0x9c242d(0x397)]:return _0x9c242d(0x394);case _0x483f62['CollaborationStatus'][_0x9c242d(0x277)]:return _0x9c242d(0x2ce);case _0x483f62[_0x9c242d(0x380)][_0x9c242d(0x399)]:return'collabStatus.fetchMiss';case _0x483f62[_0x9c242d(0x380)][_0x9c242d(0x3a7)]:return _0x9c242d(0x1e0);case _0x483f62[_0x9c242d(0x380)][_0x9c242d(0x33b)]:case _0x483f62[_0x9c242d(0x380)][_0x9c242d(0x2f9)]:return'collabStatus.syncing';case _0x483f62['CollaborationStatus'][_0x9c242d(0x1df)]:case _0x483f62[_0x9c242d(0x380)][_0x9c242d(0x1b0)]:return _0x9c242d(0xdb);}}function _0x2a3dde(_0xe96f0e){const _0x207331=_0x1203bc,{status$:_0x7037f6}=_0xe96f0e,_0x5d56ef=_0x97839d['useObservable'](_0x7037f6,_0x483f62[_0x207331(0x380)][_0x207331(0x3a7)]),_0x3efe77=_0x97839d[_0x207331(0x142)](_0x2f9c71[_0x207331(0xed)]),_0x1c7112=_0x97839d['useDependency'](_0x483f62[_0x207331(0xcd)]),_0x1becc1=_0x5d56ef!==_0x483f62[_0x207331(0x380)][_0x207331(0x397)],_0xa782ec=_0x3efe77['t'](_0x3a4d1c(_0x5d56ef)),_0x378c5c=_0x1becc1?_0x96b66[_0x207331(0x343)](_0x85e077,{}):_0x96b66[_0x207331(0x343)](_0x52581a,{}),_0x1ab94b=_0x4301c4[_0x207331(0x3a6)](()=>{const _0x3a5eb5=_0x207331;_0x1becc1||_0x1c7112[_0x3a5eb5(0x120)]();},[_0x1becc1,_0x1c7112]);function _0x5c5f75(){const _0x1c1b5f=_0x207331;return _0x96b66[_0x1c1b5f(0x15b)](_0x1c1b5f(0x209),{'className':_0x1c1b5f(0x2e3),'onClick':_0x1ab94b,'children':[_0x96b66[_0x1c1b5f(0x343)](_0x1c1b5f(0x209),{'className':_0x15837d['clsx'](_0x1c1b5f(0x11c),{'univer-text-green-500':_0x1becc1,'univer-text-red-500':!_0x1becc1}),'children':_0x378c5c}),_0x96b66[_0x1c1b5f(0x343)](_0x1c1b5f(0x209),{'className':_0x1c1b5f(0x270),'children':_0xa782ec})]});}return _0x1becc1?_0x5c5f75():_0x96b66['jsx'](_0x15837d[_0x207331(0x14f)],{'title':_0x3efe77['t']('collab-client.tooltip.reconnect'),'children':_0x5c5f75()});}var _0x36054f=Object[_0x1203bc(0x29b)],_0x4a9f7a=(_0x2ed028,_0x4cf1ae,_0x3e7ff2,_0x345c82)=>{const _0x2c2f9a=_0x1203bc;for(var _0x2afdcf=_0x345c82>0x1?void 0x0:_0x345c82?_0x36054f(_0x4cf1ae,_0x3e7ff2):_0x4cf1ae,_0x3d235e=_0x2ed028[_0x2c2f9a(0x381)]-0x1,_0x46e285;_0x3d235e>=0x0;_0x3d235e--)(_0x46e285=_0x2ed028[_0x3d235e])&&(_0x2afdcf=_0x46e285(_0x2afdcf)||_0x2afdcf);return _0x2afdcf;},_0x23e03f=(_0x144785,_0x1aaf99)=>(_0x153161,_0xd61431)=>_0x1aaf99(_0x153161,_0xd61431,_0x144785);_0x12f853[_0x1203bc(0x2e9)]=class extends _0x2f9c71[_0x1203bc(0x255)]{constructor(_0x466c32,_0x5ad0cb,_0x26ab69,_0x240c1c){const _0x52b790=_0x1203bc;super(),_0x5e2d7e(this,_0x52b790(0x1a2),new _0x4b9e95[(_0x52b790(0x396))](_0x483f62['CollaborationStatus'][_0x52b790(0x3a7)])),(this[_0x52b790(0xf9)]=_0x466c32,this[_0x52b790(0x2ec)]=_0x5ad0cb,this[_0x52b790(0x15f)]=_0x26ab69,this[_0x52b790(0x12b)]=_0x240c1c,this[_0x52b790(0x31d)](),this[_0x52b790(0x1fd)]());}[_0x1203bc(0x1fd)](){const _0x387ea0=_0x1203bc;this[_0x387ea0(0x293)](this['_univerInstanceService']['focused$'][_0x387ea0(0x1e5)](_0x4b9e95[_0x387ea0(0xfa)](()=>{const _0x3f4a7e=_0x387ea0,_0x3d9703=this[_0x3f4a7e(0xf9)][_0x3f4a7e(0x193)]();return _0x3d9703?this['_collaborationController'][_0x3f4a7e(0x2be)](_0x3d9703[_0x3f4a7e(0x140)]()):_0x4b9e95['of'](null);}),_0x4b9e95['switchMap'](_0x5f0291=>_0x5f0291?_0x5f0291[_0x387ea0(0x330)]:_0x4b9e95['of'](_0x483f62[_0x387ea0(0x380)]['NOT_COLLAB'])))[_0x387ea0(0x33f)](_0x1e4caa=>{const _0x4ba50d=_0x387ea0;this[_0x4ba50d(0x1a2)][_0x4ba50d(0x326)](_0x1e4caa);}));}[_0x1203bc(0x31d)](){const _0x55751d=_0x1203bc;this['disposeWithMe'](this[_0x55751d(0x12b)][_0x55751d(0x25b)](_0x97839d[_0x55751d(0x2d5)]['HEADER_MENU'],()=>_0x97839d[_0x55751d(0x27d)](_0x46db35({'status$':this[_0x55751d(0x1a2)][_0x55751d(0x2f7)]()}),this[_0x55751d(0x2ec)])));}},_0x12f853[_0x1203bc(0x2e9)]=_0x4a9f7a([_0x23e03f(0x0,_0x2f9c71[_0x1203bc(0x19b)]),_0x23e03f(0x1,_0x2f9c71[_0x1203bc(0x165)](_0x2f9c71[_0x1203bc(0x1cd)])),_0x23e03f(0x2,_0x2f9c71[_0x1203bc(0x165)](_0x483f62['CollaborationController'])),_0x23e03f(0x3,_0x97839d[_0x1203bc(0x32c)])],_0x12f853[_0x1203bc(0x2e9)]);function _0x46db35(_0x19202e){const {status$:_0x359aa5}=_0x19202e;return function(){const _0x531725=_0x4f4a;return _0x96b66[_0x531725(0x343)](_0x2a3dde,{'status$':_0x359aa5});};}const _0x34744d=_0x2f9c71[_0x1203bc(0x259)]('uni.network.url-service');var _0x599d13=Object[_0x1203bc(0x29b)],_0x18bd4c=(_0x1244c4,_0x35e8a6,_0x286ed9,_0x3e87ba)=>{for(var _0x10c8fe=_0x3e87ba>0x1?void 0x0:_0x3e87ba?_0x599d13(_0x35e8a6,_0x286ed9):_0x35e8a6,_0x3c77b1=_0x1244c4['length']-0x1,_0x126d8b;_0x3c77b1>=0x0;_0x3c77b1--)(_0x126d8b=_0x1244c4[_0x3c77b1])&&(_0x10c8fe=_0x126d8b(_0x10c8fe)||_0x10c8fe);return _0x10c8fe;},_0x197664=(_0x172e86,_0x5211bd)=>(_0x429ce6,_0x4b47bb)=>_0x5211bd(_0x429ce6,_0x4b47bb,_0x172e86);_0x12f853[_0x1203bc(0x211)]=class extends _0x2f9c71['RxDisposable']{constructor(_0x277a1a,_0x3936e8,_0x591f28,_0x4eb1b8,_0xe45530){const _0x237508=_0x1203bc;super(),this[_0x237508(0x2a8)]=_0x277a1a,this[_0x237508(0x21d)]=_0x3936e8,this['_commandService']=_0x591f28,this[_0x237508(0x1c1)]=_0x4eb1b8,_0xe45530?_0xe45530==null||_0xe45530[_0x237508(0x2ba)]()[_0x237508(0x1ee)](()=>this[_0x237508(0x3ad)]()):(this[_0x237508(0x21d)][_0x237508(0x34e)](_0x237508(0x246),_0x237508(0x308)),this['_init']());}async['_init'](){const _0x10e8a1=_0x1203bc,_0x216805=this[_0x10e8a1(0x2a8)][_0x10e8a1(0x229)](_0x10e8a1(0xd3)),_0x4c79ce=this[_0x10e8a1(0x2a8)]['getParam'](_0x10e8a1(0x101)),_0x106227=this[_0x10e8a1(0x2a8)][_0x10e8a1(0x229)](_0x10e8a1(0x118));if(!_0x216805||!_0x4c79ce){this[_0x10e8a1(0x21d)]['debug'](_0x10e8a1(0x246),_0x10e8a1(0x241));return;}const _0x2ae4dd=await this['_dataLoaderService'][_0x10e8a1(0x2c1)](_0x216805,Number(_0x4c79ce),_0x106227);_0x2ae4dd&&_0x2ae4dd instanceof _0x2f9c71[_0x10e8a1(0x26b)]&&this['_setupSubUnitSync'](_0x2ae4dd);}async['_setupSubUnitSync'](_0x231aaa){const _0x12d87b=_0x1203bc;await this[_0x12d87b(0x303)](_0x231aaa),_0x231aaa[_0x12d87b(0x23e)]['pipe'](_0x4b9e95[_0x12d87b(0x300)](this[_0x12d87b(0x17c)]))['subscribe'](_0x46fd0c=>{const _0x21590a=_0x12d87b;_0x46fd0c&&this[_0x21590a(0x1b6)](_0x46fd0c);}),this['_urlService'][_0x12d87b(0x189)][_0x12d87b(0x1e5)](_0x4b9e95[_0x12d87b(0x300)](this[_0x12d87b(0x17c)]))[_0x12d87b(0x33f)](()=>this[_0x12d87b(0x303)](_0x231aaa));}[_0x1203bc(0x1b6)](_0x3b2da5,_0x43ddfa=!0x1){const _0x23bcf5=_0x1203bc,_0x1dd4f6=this['_urlService'][_0x23bcf5(0x229)]('subunit');_0x3b2da5[_0x23bcf5(0x2b0)]()!==_0x1dd4f6&&this[_0x23bcf5(0x2a8)][_0x23bcf5(0x377)]('subunit',_0x3b2da5['getSheetId'](),_0x43ddfa);}async[_0x1203bc(0x303)](_0x50579a){const _0x560294=_0x1203bc;var _0x10b491;const _0x5177f6=this['_urlService'][_0x560294(0x229)](_0x560294(0x118));if(!_0x5177f6||!_0x50579a[_0x560294(0x150)](_0x5177f6)){const _0x33322=_0x50579a[_0x560294(0xde)]()[0x0],_0x4be507=_0x50579a[_0x560294(0x150)](_0x33322);if(!_0x4be507)return;this['_updateURLWithCurrentState'](_0x4be507,!0x0),await this[_0x560294(0x13b)][_0x560294(0x143)](_0x219559[_0x560294(0x27e)]['id'],{'unitId':_0x50579a[_0x560294(0x140)](),'subUnitId':_0x33322});return;}((_0x10b491=_0x50579a[_0x560294(0x36e)]())==null?void 0x0:_0x10b491[_0x560294(0x2b0)]())!==_0x5177f6&&await this['_commandService']['executeCommand'](_0x219559['SetWorksheetActivateCommand']['id'],{'unitId':_0x50579a[_0x560294(0x140)](),'subUnitId':_0x5177f6});}},_0x12f853[_0x1203bc(0x211)]=_0x18bd4c([_0x197664(0x0,_0x34744d),_0x197664(0x1,_0x2f9c71[_0x1203bc(0x220)]),_0x197664(0x2,_0x2f9c71[_0x1203bc(0x183)]),_0x197664(0x3,_0x2f9c71[_0x1203bc(0x165)](_0x483f62['DataLoaderService'])),_0x197664(0x4,_0x2f9c71[_0x1203bc(0x36d)](_0x67e237[_0x1203bc(0xee)]))],_0x12f853[_0x1203bc(0x211)]);var _0x25864e=Object[_0x1203bc(0x29b)],_0x301770=(_0xc343fd,_0x278394,_0x1a15af,_0x59a5c4)=>{const _0xc8032d=_0x1203bc;for(var _0x90bd2f=_0x59a5c4>0x1?void 0x0:_0x59a5c4?_0x25864e(_0x278394,_0x1a15af):_0x278394,_0x3527a7=_0xc343fd[_0xc8032d(0x381)]-0x1,_0x4ed143;_0x3527a7>=0x0;_0x3527a7--)(_0x4ed143=_0xc343fd[_0x3527a7])&&(_0x90bd2f=_0x4ed143(_0x90bd2f)||_0x90bd2f);return _0x90bd2f;},_0x898994=(_0x559cd6,_0x4e2012)=>(_0xf89589,_0xbb1d66)=>_0x4e2012(_0xf89589,_0xbb1d66,_0x559cd6);let _0x82a21d=class extends _0x2f9c71[_0x1203bc(0x201)]{constructor(_0x3e6f1e,_0x5bcb6b){const _0x2c5fcd=_0x1203bc;super(),this[_0x2c5fcd(0x197)]=_0x3e6f1e,this[_0x2c5fcd(0x2e5)]=_0x5bcb6b,this['_init']();}['_init'](){const _0x4ab6e3=_0x1203bc,_0x1a126b=this;this[_0x4ab6e3(0x293)](this[_0x4ab6e3(0x197)]['addClipboardHook']({'onBeforePasteImage':async _0x1c861b=>{const _0x1b0af1=_0x4ab6e3,_0x4a2f89=await _0x1a126b[_0x1b0af1(0x2e5)][_0x1b0af1(0x14d)](_0x1c861b);return _0x4a2f89?{'source':_0x4a2f89[_0x1b0af1(0x10d)],'imageSourceType':_0x4a2f89[_0x1b0af1(0x366)]}:null;}}));}};_0x82a21d=_0x301770([_0x898994(0x0,_0x244982[_0x1203bc(0x1ae)]),_0x898994(0x1,_0x484fb1['IImageIoService'])],_0x82a21d);const _0x1ec272=[_0x1203bc(0x1dc),_0x1203bc(0x163),_0x1203bc(0xf5),_0x1203bc(0x10a),_0x1203bc(0x1e2),'yellow.400'];class _0x3df9df extends _0x2f9c71[_0x1203bc(0x255)]{constructor(){const _0x1a89b4=_0x1203bc;super(...arguments),_0x5e2d7e(this,_0x1a89b4(0xc9),new Map()),_0x5e2d7e(this,'_colorIndex',0x0);}[_0x1203bc(0x3a5)](_0x241002){const _0x31e197=_0x1203bc;if(this[_0x31e197(0xc9)][_0x31e197(0x1c6)](_0x241002))return this[_0x31e197(0xc9)][_0x31e197(0x28e)](_0x241002);const _0x3f1f39=_0x1ec272[this[_0x31e197(0xdf)]];return this[_0x31e197(0xdf)]=(this[_0x31e197(0xdf)]+0x1)%_0x1ec272[_0x31e197(0x381)],this[_0x31e197(0xc9)][_0x31e197(0x186)](_0x241002,_0x3f1f39),_0x3f1f39;}}function _0x4be0c1(_0x5597de){const _0x34fb6f=_0x1203bc;let _0x141871='';for(const _0xbf18c5 of _0x5597de){const {startOffset:_0x4c83fc,endOffset:_0x32248e,isActive:_0x3bed93,rangeType:_0x1c0d92,segmentId:_0x5b28bc,segmentPage:_0x41ce83}=_0xbf18c5;_0x141871[_0x34fb6f(0x381)]&&(_0x141871+=','),_0x141871+=_0x4c83fc+':'+_0x32248e+':'+(_0x3bed93?'1':'0')+':'+_0x1c0d92+':'+_0x5b28bc+':'+_0x41ce83;}return _0x141871;}function _0x1f250d(_0xb86f58){const _0x504b9d=_0x1203bc,_0x4c0a48=_0xb86f58[_0x504b9d(0x1e6)](','),_0x17d960=[];for(const _0x344c90 of _0x4c0a48){const [_0x505db5,_0x262f8b,_0x24488e,_0x12edad,_0x5d3e31,_0xf639ee]=_0x344c90[_0x504b9d(0x1e6)](':');_0x17d960[_0x504b9d(0x35e)]({'startOffset':Number(_0x505db5),'endOffset':Number(_0x262f8b),'collapsed':_0x505db5===_0x262f8b,'isActive':_0x24488e==='1','rangeType':_0x12edad===_0x2f9c71[_0x504b9d(0x2fd)]['TEXT']?_0x2f9c71[_0x504b9d(0x2fd)]['TEXT']:_0x2f9c71[_0x504b9d(0x2fd)][_0x504b9d(0x234)],'segmentId':typeof _0x5d3e31==_0x504b9d(0x179)?String(_0x5d3e31):'','segmentPage':Number(_0xf639ee!=null?_0xf639ee:-0x1)});}return _0x17d960['some'](_0x42605c=>_0x42605c[_0x504b9d(0x264)])||(_0x17d960[0x0]['isActive']=!0x0),_0x17d960;}class _0x26bb99 extends _0x2f9c71[_0x1203bc(0x201)]{constructor(){const _0x5c1bc4=_0x1203bc;super(...arguments),_0x5e2d7e(this,_0x5c1bc4(0x1bd),new _0x4b9e95['BehaviorSubject'](null)),_0x5e2d7e(this,_0x5c1bc4(0x2cc),this[_0x5c1bc4(0x1bd)]['asObservable']());}[_0x1203bc(0x11a)](_0x1081d5){const _0x2d47b9=_0x1203bc,{unitID:_0x3d227f,memberID:_0x54dc3d,textRanges:_0x496ff7}=_0x1081d5,_0x3f0f43=_0x4be0c1(_0x496ff7);if(_0x3f0f43==='')return;const _0x11b9a1={'unitID':_0x3d227f,'memberID':_0x54dc3d,'selection':_0x3f0f43};this[_0x2d47b9(0x1bd)][_0x2d47b9(0x326)](_0x11b9a1);}}var _0x5ba5b3=Object[_0x1203bc(0x29b)],_0x19b86f=(_0xf720b3,_0x4a8e5e,_0x6a464d,_0x37eccb)=>{const _0x5db74f=_0x1203bc;for(var _0x4acf6d=_0x37eccb>0x1?void 0x0:_0x37eccb?_0x5ba5b3(_0x4a8e5e,_0x6a464d):_0x4a8e5e,_0x54b408=_0xf720b3[_0x5db74f(0x381)]-0x1,_0x3a30d0;_0x54b408>=0x0;_0x54b408--)(_0x3a30d0=_0xf720b3[_0x54b408])&&(_0x4acf6d=_0x3a30d0(_0x4acf6d)||_0x4acf6d);return _0x4acf6d;},_0x2b894e=(_0x3eb21a,_0x2e5a6e)=>(_0x202668,_0x334e1a)=>_0x2e5a6e(_0x202668,_0x334e1a,_0x3eb21a);const _0x3cad77=0x12c,_0x273cc9=0x64;let _0x57615a=class extends _0x2f9c71['RxDisposable']{constructor(_0xeb493a,_0x13fe80,_0xaade06,_0x9e3347,_0x572247,_0x5f3e36,_0x4a6681,_0x497bf2,_0x1b3867){const _0x2aaf74=_0x1203bc;super(),_0x5e2d7e(this,_0x2aaf74(0x207),!0x1),_0x5e2d7e(this,'_init',!0x1),_0x5e2d7e(this,_0x2aaf74(0x102),new _0x4b9e95['BehaviorSubject'](new Map())),_0x5e2d7e(this,_0x2aaf74(0x3a0),this[_0x2aaf74(0x102)][_0x2aaf74(0x2f7)]()),_0x5e2d7e(this,'_roomMembers$',new _0x4b9e95[(_0x2aaf74(0x396))]([])),_0x5e2d7e(this,_0x2aaf74(0x297),this[_0x2aaf74(0x1ff)][_0x2aaf74(0x1e5)](_0x4b9e95[_0x2aaf74(0x306)](_0x3cad77))),_0x5e2d7e(this,'_updateLocalCursor',_0x2f9c71[_0x2aaf74(0x167)](_0x35fd15=>{const _0xaa9006=_0x2aaf74,_0x424611={'eventID':_0x555c33[_0xaa9006(0x230)][_0xaa9006(0xca)],'data':{'unitID':this[_0xaa9006(0x1fe)],'memberID':this[_0xaa9006(0xea)][_0xaa9006(0xbd)](),'selection':_0x4be0c1(_0x35fd15)}};this[_0xaa9006(0xea)][_0xaa9006(0xda)](_0x424611,this[_0xaa9006(0x1fe)]);},_0x273cc9)),(this['unitID']=_0xeb493a,this[_0x2aaf74(0xea)]=_0x13fe80,this[_0x2aaf74(0x2ec)]=_0xaade06,this[_0x2aaf74(0x307)]=_0x9e3347,this['_memberService']=_0x572247,this['_syncEditingCollabCursorService']=_0x5f3e36,this[_0x2aaf74(0x147)]=_0x4a6681,this[_0x2aaf74(0xf9)]=_0x497bf2,this[_0x2aaf74(0x13b)]=_0x1b3867);}get[_0x1203bc(0x2d6)](){const _0x3f7721=_0x1203bc;return this[_0x3f7721(0x102)]['getValue']();}get['roomMembers'](){const _0x486096=_0x1203bc;return this[_0x486096(0x1ff)][_0x486096(0x2f5)]();}['dispose'](){const _0x37b310=_0x1203bc;super[_0x37b310(0x105)](),this[_0x37b310(0x102)]['next'](new Map()),this[_0x37b310(0x102)]['complete'](),this[_0x37b310(0x1ff)][_0x37b310(0x326)]([]),this['_roomMembers$'][_0x37b310(0x1a3)]();}[_0x1203bc(0x16a)](){const _0x1544b1=_0x1203bc;this['_init']||(this[_0x1544b1(0x3ad)]=!0x0,this[_0x1544b1(0xea)][_0x1544b1(0x385)][_0x1544b1(0x1e5)](_0x4b9e95[_0x1544b1(0x300)](this[_0x1544b1(0x17c)]))[_0x1544b1(0x33f)](_0x1db965=>{const _0x39741b=_0x1544b1;_0x1db965===_0x483f62[_0x39741b(0x1a7)][_0x39741b(0x376)]?this[_0x39741b(0x28b)]():this[_0x39741b(0x22b)]();}),this['_session'][_0x1544b1(0x262)][_0x1544b1(0x1e5)](_0x4b9e95['takeUntil'](this[_0x1544b1(0x17c)]))['subscribe'](_0xd0ca74=>{const _0x5f55b8=_0x1544b1,_0x188d47=_0xd0ca74[_0x5f55b8(0x2de)];_0x188d47===_0x555c33['CollaborationEvent']['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0xd0ca74),_0x188d47===_0x555c33['CollaborationEvent'][_0x5f55b8(0x278)]&&this[_0x5f55b8(0x19e)](_0xd0ca74);}),this[_0x1544b1(0x293)](this['_commandService'][_0x1544b1(0x395)](_0x415c87=>{const _0x630048=_0x1544b1,_0xa5e46f=_0x415c87[_0x630048(0x285)];_0xa5e46f!=null&&this[_0x630048(0x207)]&&_0x415c87['id']===_0x20fc77[_0x630048(0x146)]['id']&&_0xa5e46f['unitId']===this['unitID']&&_0xa5e46f['isEditing']===!0x1&&_0xa5e46f[_0x630048(0x248)]['length']>0x0&&this['_updateLocalCursor'](_0xa5e46f[_0x630048(0x248)]);})),this[_0x1544b1(0x3b7)][_0x1544b1(0x2cc)][_0x1544b1(0x1e5)](_0x4b9e95['takeUntil'](this[_0x1544b1(0x17c)]))[_0x1544b1(0x33f)](_0x5a8e52=>{const _0x43d5f2=_0x1544b1;if((_0x5a8e52==null?void 0x0:_0x5a8e52[_0x43d5f2(0x1fe)])!==this[_0x43d5f2(0x1fe)])return;const _0x5edc45={'eventID':_0x555c33['CollaborationEvent']['UPDATE_CURSOR'],'data':_0x5a8e52};this[_0x43d5f2(0x2db)](_0x5edc45);}),this[_0x1544b1(0x293)](this[_0x1544b1(0x13b)][_0x1544b1(0x395)](_0x53326b=>{const _0x34ff56=_0x1544b1;if(_0x53326b[_0x34ff56(0x285)]==null)return;const _0x143a60=_0x53326b[_0x34ff56(0x285)];if(_0x53326b['id']!==_0x20fc77['RichTextEditingMutation']['id']||_0x143a60[_0x34ff56(0x23a)]!==this[_0x34ff56(0x1fe)])return;const _0xe7a31c={'id':'doc.mutation.rich-text-editing','params':_0x143a60},_0x3e564a=this[_0x34ff56(0x2d6)];for(const [_0x44d5c3,_0x3cba64]of _0x3e564a){const _0x185994={'id':_0x34ff56(0x20f),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x3cba64[_0x34ff56(0x248)]}},_0x43322d=this[_0x34ff56(0x147)][_0x34ff56(0x221)](_0xe7a31c,_0x185994,!0x1);if(_0x555c33[_0x34ff56(0x352)](_0x43322d))throw _0x43322d[_0x34ff56(0x2af)];_0x3e564a[_0x34ff56(0x186)](_0x44d5c3,{..._0x3cba64,'ranges':_0x43322d['m2Prime']['params']['textRanges']});}queueMicrotask(()=>{const _0x530020=_0x34ff56;this[_0x530020(0x102)][_0x530020(0x326)](_0x3e564a);});})));}[_0x1203bc(0x2db)](_0x3822ec){const _0x194f88=_0x1203bc;var _0x1ede94,_0x1202e1;const {memberID:_0x216dec,selection:_0x4b65a6}=_0x3822ec[_0x194f88(0x39e)],_0x4a1f9e=_0x1f250d(_0x4b65a6),_0x56dd2e=(_0x1202e1=(_0x1ede94=this['_memberService']['getMember'](this[_0x194f88(0x1fe)],_0x216dec))==null?void 0x0:_0x1ede94[_0x194f88(0x29d)])!=null?_0x1202e1:'Unknown\x20user',_0x4f7050={'color':this['_colorAssignService'][_0x194f88(0x3a5)](_0x216dec),'name':_0x56dd2e,'ranges':_0x4a1f9e},_0x5dfe51=this['cursorInfo'];_0x5dfe51[_0x194f88(0x186)](_0x216dec,_0x4f7050),this[_0x194f88(0x102)]['next'](_0x5dfe51);}[_0x1203bc(0x19e)](_0x5b594a){const _0x7fbb05=_0x1203bc,{memberID:_0x38db5c}=_0x5b594a[_0x7fbb05(0x39e)],_0x54ff9c=this[_0x7fbb05(0x2d6)];_0x54ff9c['delete'](_0x38db5c),this[_0x7fbb05(0x102)][_0x7fbb05(0x326)](_0x54ff9c);}[_0x1203bc(0x28b)](){const _0x3811a8=_0x1203bc;var _0x5c604c;if(this[_0x3811a8(0x207)]=!0x0,((_0x5c604c=this['_univerInstanceService'][_0x3811a8(0x193)]())==null?void 0x0:_0x5c604c[_0x3811a8(0x140)]())!==this[_0x3811a8(0x1fe)])return;const _0x450429=this[_0x3811a8(0x2ec)][_0x3811a8(0x28e)](_0x20fc77[_0x3811a8(0xc3)])[_0x3811a8(0x12f)]();Array['isArray'](_0x450429)&&_0x450429[_0x3811a8(0x381)]>0x0&&this[_0x3811a8(0x292)](_0x450429);}[_0x1203bc(0x22b)](){const _0x2032df=_0x1203bc;this[_0x2032df(0x207)]=!0x1;}};_0x57615a=_0x19b86f([_0x2b894e(0x2,_0x2f9c71[_0x1203bc(0x165)](_0x2f9c71[_0x1203bc(0x1cd)])),_0x2b894e(0x3,_0x2f9c71['Inject'](_0x3df9df)),_0x2b894e(0x4,_0x2f9c71[_0x1203bc(0x165)](_0x483f62['MemberService'])),_0x2b894e(0x5,_0x2f9c71[_0x1203bc(0x165)](_0x26bb99)),_0x2b894e(0x6,_0x555c33[_0x1203bc(0x243)]),_0x2b894e(0x7,_0x2f9c71['IUniverInstanceService']),_0x2b894e(0x8,_0x2f9c71['ICommandService'])],_0x57615a);var _0x576251=Object['getOwnPropertyDescriptor'],_0x501c02=(_0x2e9ad7,_0x10efef,_0x48eca9,_0x2b4e4a)=>{const _0x52f9e8=_0x1203bc;for(var _0x992d7a=_0x2b4e4a>0x1?void 0x0:_0x2b4e4a?_0x576251(_0x10efef,_0x48eca9):_0x10efef,_0x5000e4=_0x2e9ad7[_0x52f9e8(0x381)]-0x1,_0xccb650;_0x5000e4>=0x0;_0x5000e4--)(_0xccb650=_0x2e9ad7[_0x5000e4])&&(_0x992d7a=_0xccb650(_0x992d7a)||_0x992d7a);return _0x992d7a;},_0x45cd70=(_0x5fd37b,_0x518ee3)=>(_0x350c40,_0x1fcfe1)=>_0x518ee3(_0x350c40,_0x1fcfe1,_0x5fd37b);const _0x81cc4a=0x12c,_0x78a1e=0x64,_0x23add1=()=>{let _0x569124=[],_0x5d30dd=!0x1;return _0x4afbe8=>{const _0x3a951d=_0x4f4a;_0x569124[_0x3a951d(0x35e)](_0x4afbe8),_0x5d30dd||(_0x5d30dd=!0x0,setTimeout(()=>{const _0x3b6798=_0x3a951d;_0x569124[_0x3b6798(0x2fb)](_0x179352=>_0x179352()),_0x569124=[],_0x5d30dd=!0x1;}));};};let _0x119670=class extends _0x2f9c71[_0x1203bc(0x201)]{constructor(_0x34be70,_0x33e8e8,_0x35ace7,_0x591a80,_0x1508db,_0xb57b21,_0x237710,_0xa275e0){const _0xb10a97=_0x1203bc;super(),_0x5e2d7e(this,_0xb10a97(0x207),!0x1),_0x5e2d7e(this,'_init',!0x1),_0x5e2d7e(this,_0xb10a97(0x102),new _0x4b9e95[(_0xb10a97(0x396))](new Map())),_0x5e2d7e(this,'cursorInfo$',this[_0xb10a97(0x102)][_0xb10a97(0x2f7)]()),_0x5e2d7e(this,'_roomMembers$',new _0x4b9e95[(_0xb10a97(0x396))]([])),_0x5e2d7e(this,_0xb10a97(0x297),this[_0xb10a97(0x1ff)]['pipe'](_0x4b9e95['debounceTime'](_0x81cc4a))),_0x5e2d7e(this,_0xb10a97(0x292),_0x2f9c71[_0xb10a97(0x167)]((_0x124f8a,_0x2fcc13)=>{const _0x361fd7=_0xb10a97,_0x3cba08={'eventID':_0x555c33[_0x361fd7(0x230)][_0x361fd7(0xca)],'data':{'unitID':this[_0x361fd7(0x1fe)],'memberID':this['_session']['getMemberID'](),'selection':_0x5a5f64[_0x361fd7(0x194)](_0x124f8a,_0x2fcc13[_0x361fd7(0xf4)])}};this[_0x361fd7(0xea)][_0x361fd7(0xda)](_0x3cba08,this[_0x361fd7(0x1fe)]);},_0x78a1e)),(this['unitID']=_0x34be70,this[_0xb10a97(0xea)]=_0x33e8e8,this[_0xb10a97(0x2ec)]=_0x35ace7,this[_0xb10a97(0x307)]=_0x591a80,this[_0xb10a97(0xc7)]=_0x1508db,this[_0xb10a97(0xf9)]=_0xb57b21,this['_commandService']=_0x237710,this[_0xb10a97(0x1db)]=_0xa275e0);}get[_0x1203bc(0x2d6)](){const _0x2f6387=_0x1203bc;return this[_0x2f6387(0x102)][_0x2f6387(0x2f5)]();}get['roomMembers'](){const _0x185d77=_0x1203bc;return this[_0x185d77(0x1ff)]['getValue']();}[_0x1203bc(0x105)](){const _0x42d709=_0x1203bc;super[_0x42d709(0x105)](),this[_0x42d709(0x102)][_0x42d709(0x326)](new Map()),this[_0x42d709(0x102)][_0x42d709(0x1a3)](),this[_0x42d709(0x1ff)][_0x42d709(0x326)]([]),this[_0x42d709(0x1ff)][_0x42d709(0x1a3)]();}[_0x1203bc(0x16a)](){const _0x569a04=_0x1203bc;this[_0x569a04(0x3ad)]||(this[_0x569a04(0x3ad)]=!0x0,this['_session']['sessionStatus$'][_0x569a04(0x1e5)](_0x4b9e95[_0x569a04(0x300)](this[_0x569a04(0x17c)]))['subscribe'](_0x265428=>{const _0x1fc4c3=_0x569a04;_0x265428===_0x483f62[_0x1fc4c3(0x1a7)][_0x1fc4c3(0x376)]?this[_0x1fc4c3(0x28b)]():this[_0x1fc4c3(0x22b)]();}),this[_0x569a04(0xea)]['event$']['pipe'](_0x4b9e95['takeUntil'](this[_0x569a04(0x17c)]))[_0x569a04(0x33f)](_0xb3d658=>{const _0x3d505f=_0x569a04,_0x322464=_0xb3d658['eventID'];_0x322464===_0x555c33[_0x3d505f(0x230)][_0x3d505f(0xca)]&&this[_0x3d505f(0x2db)](_0xb3d658),_0x322464===_0x555c33[_0x3d505f(0x230)]['USERS_LEAVE']&&this[_0x3d505f(0x19e)](_0xb3d658);}),this[_0x569a04(0x18c)](),this[_0x569a04(0x293)](this[_0x569a04(0x13b)][_0x569a04(0x395)](_0x24c67a=>{const _0x57f1ad=_0x569a04;if(this[_0x57f1ad(0x207)]&&_0x24c67a['id']===_0x219559[_0x57f1ad(0x1f7)]['id']&&_0x24c67a[_0x57f1ad(0x285)][_0x57f1ad(0x23a)]===this['unitID']){const _0x30884a=_0x24c67a['params'];this[_0x57f1ad(0x292)](_0x30884a[_0x57f1ad(0x2e0)],_0x30884a[_0x57f1ad(0x1c3)][0x0]);}})));}[_0x1203bc(0x2db)](_0x331c7d){const _0x5f39b1=_0x1203bc;var _0x5a3962,_0x412aaa;const {memberID:_0x182dc0,selection:_0xa8ebf5}=_0x331c7d['data'],{sheetName:_0x46cc4c,range:_0x3b0cd1}=_0x5a5f64[_0x5f39b1(0x24e)](_0xa8ebf5),_0x479553={'name':(_0x412aaa=(_0x5a3962=this[_0x5f39b1(0xc7)][_0x5f39b1(0x370)](this[_0x5f39b1(0x1fe)],_0x182dc0))==null?void 0x0:_0x5a3962[_0x5f39b1(0x29d)])!=null?_0x412aaa:_0x5f39b1(0x191),'range':this[_0x5f39b1(0x148)](_0x46cc4c,_0x3b0cd1),'sheetID':_0x46cc4c,'color':this[_0x5f39b1(0x307)][_0x5f39b1(0x3a5)](_0x182dc0),'selection':_0xa8ebf5},_0x2ad183=this['cursorInfo'];_0x2ad183[_0x5f39b1(0x186)](_0x182dc0,_0x479553),this[_0x5f39b1(0x102)][_0x5f39b1(0x326)](_0x2ad183);}['_onCursorDelete'](_0x38b010){const _0x10f355=_0x1203bc,{memberID:_0x1a2b38}=_0x38b010[_0x10f355(0x39e)],_0x50c2be=this[_0x10f355(0x2d6)];_0x50c2be[_0x10f355(0x2eb)](_0x1a2b38),this[_0x10f355(0x102)][_0x10f355(0x326)](_0x50c2be);}['_getMergeRange'](_0x5f7ec8,_0x428aa5){const _0x3d1a73=_0x1203bc;var _0x29b3c8,_0x1e3758;const _0x20550b=(_0x1e3758=(_0x29b3c8=this[_0x3d1a73(0xf9)][_0x3d1a73(0x22a)](this[_0x3d1a73(0x1fe)]))==null?void 0x0:_0x29b3c8[_0x3d1a73(0x150)](_0x5f7ec8))==null?void 0x0:_0x1e3758['getMergeData']();return(_0x20550b==null?void 0x0:_0x20550b[_0x3d1a73(0x214)](_0x5c2e50=>_0x2f9c71[_0x3d1a73(0x244)][_0x3d1a73(0x257)](_0x5c2e50,_0x428aa5)))||_0x428aa5;}[_0x1203bc(0x18c)](){const _0x2775c1=_0x1203bc,_0x3a4aa2=new _0x2f9c71['DisposableCollection'](),_0x8cbea9=_0x23add1(),_0x143547=()=>{const _0x39a01c=_0x4f4a;_0x3a4aa2[_0x39a01c(0x105)]();const _0x2c8249=(_0xe639c9,_0x3036ef,_0x28c885,_0x54f96a)=>{const _0x5a2456=_0x39a01c;let _0x24e6c2=[];switch(_0xe639c9['id']){case _0x219559['EffectRefRangId'][_0x5a2456(0xe4)]:{_0x24e6c2=_0x219559['handleDeleteRangeMoveLeft'](_0xe639c9,_0x54f96a);break;}case _0x219559[_0x5a2456(0x26e)][_0x5a2456(0x1e9)]:{_0x24e6c2=_0x219559[_0x5a2456(0x26d)](_0xe639c9,_0x54f96a);break;}case _0x219559[_0x5a2456(0x26e)]['InsertColCommandId']:{_0x24e6c2=_0x219559[_0x5a2456(0x384)](_0xe639c9,_0x54f96a);break;}case _0x219559['EffectRefRangId'][_0x5a2456(0x1da)]:{_0x24e6c2=_0x219559['handleInsertRangeMoveDown'](_0xe639c9,_0x54f96a);break;}case _0x219559['EffectRefRangId'][_0x5a2456(0x2c8)]:{_0x24e6c2=_0x219559['handleInsertRangeMoveRight'](_0xe639c9,_0x54f96a);break;}case _0x219559['EffectRefRangId']['InsertRowCommandId']:{_0x24e6c2=_0x219559[_0x5a2456(0x103)](_0xe639c9,_0x54f96a);break;}case _0x219559[_0x5a2456(0x26e)][_0x5a2456(0x11b)]:{_0x24e6c2=_0x219559[_0x5a2456(0x110)](_0xe639c9,_0x54f96a);break;}case _0x219559[_0x5a2456(0x26e)]['RemoveColCommandId']:{_0x24e6c2=_0x219559[_0x5a2456(0x18f)](_0xe639c9,_0x54f96a);break;}case _0x219559[_0x5a2456(0x26e)]['RemoveRowCommandId']:{_0x24e6c2=_0x219559['handleIRemoveRow'](_0xe639c9,_0x54f96a);break;}}const _0x15ab9e=_0x219559[_0x5a2456(0x35a)](_0x24e6c2,_0x54f96a),_0x59fcf8=this[_0x5a2456(0x2d6)]['get'](_0x3036ef);if(_0x59fcf8&&_0x15ab9e){const _0x5eb9b6={..._0x59fcf8,'range':_0x15ab9e};this[_0x5a2456(0x2d6)][_0x5a2456(0x186)](_0x3036ef,_0x5eb9b6),_0x8cbea9(()=>{const _0x4fed9a=_0x5a2456,_0x344707=this[_0x4fed9a(0x1db)][_0x4fed9a(0x327)](_0x15ab9e,_0x3e3278=>(_0x344707[_0x4fed9a(0x105)](),_0x2c8249(_0x3e3278,_0x3036ef,_0x28c885,_0x15ab9e)));_0x3a4aa2[_0x4fed9a(0x298)](_0x344707);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x39d0cf,_0x4449ad)=>{const _0x5487e3=_0x39a01c,{range:_0x1afdeb,sheetID:_0x1c88b2}=_0x39d0cf,_0x383193=this[_0x5487e3(0x1db)]['registerRefRange'](_0x1afdeb,_0x1bc461=>(_0x383193['dispose'](),_0x2c8249(_0x1bc461,_0x4449ad,_0x1c88b2,_0x1afdeb)));_0x3a4aa2['add'](_0x383193);});};this['disposeWithMe'](_0x2f9c71[_0x2775c1(0x1e7)](this['_cursorInfo$'][_0x2775c1(0x33f)](()=>{_0x143547();})));}['_toggleOnline'](){const _0x12fcfb=_0x1203bc;var _0x21784f,_0x1c2570;if(this[_0x12fcfb(0x207)]=!0x0,((_0x21784f=this[_0x12fcfb(0xf9)][_0x12fcfb(0x193)]())==null?void 0x0:_0x21784f[_0x12fcfb(0x140)]())!==this[_0x12fcfb(0x1fe)])return;const _0x54bf84=(_0x1c2570=this[_0x12fcfb(0x2ec)][_0x12fcfb(0x28e)](_0x219559['SheetsSelectionsService'])[_0x12fcfb(0x157)]())==null?void 0x0:_0x1c2570[0x0],_0xe365d2=this[_0x12fcfb(0xf9)][_0x12fcfb(0x35c)](_0x2f9c71['UniverInstanceType'][_0x12fcfb(0x18a)])[_0x12fcfb(0x36e)]();_0x54bf84&&_0xe365d2&&this[_0x12fcfb(0x292)](_0xe365d2[_0x12fcfb(0x2b0)](),_0x54bf84);}[_0x1203bc(0x22b)](){const _0xdcca8f=_0x1203bc;this[_0xdcca8f(0x207)]=!0x1;}};_0x119670=_0x501c02([_0x45cd70(0x2,_0x2f9c71[_0x1203bc(0x165)](_0x2f9c71[_0x1203bc(0x1cd)])),_0x45cd70(0x3,_0x2f9c71[_0x1203bc(0x165)](_0x3df9df)),_0x45cd70(0x4,_0x2f9c71[_0x1203bc(0x165)](_0x483f62[_0x1203bc(0x1d9)])),_0x45cd70(0x5,_0x2f9c71[_0x1203bc(0x19b)]),_0x45cd70(0x6,_0x2f9c71['ICommandService']),_0x45cd70(0x7,_0x2f9c71[_0x1203bc(0x165)](_0x219559['RefRangeService']))],_0x119670);var _0x1fe194=Object[_0x1203bc(0x29b)],_0x5cb0a7=(_0x422b62,_0x513a10,_0xe05663,_0x1b24fd)=>{const _0x34c65d=_0x1203bc;for(var _0x39eb9e=_0x1b24fd>0x1?void 0x0:_0x1b24fd?_0x1fe194(_0x513a10,_0xe05663):_0x513a10,_0x6106f9=_0x422b62[_0x34c65d(0x381)]-0x1,_0x36497e;_0x6106f9>=0x0;_0x6106f9--)(_0x36497e=_0x422b62[_0x6106f9])&&(_0x39eb9e=_0x36497e(_0x39eb9e)||_0x39eb9e);return _0x39eb9e;},_0x2d8717=(_0x4ed8a4,_0x5685f2)=>(_0x23f73a,_0x5b2d9a)=>_0x5685f2(_0x23f73a,_0x5b2d9a,_0x4ed8a4);let _0x36bfc6=class extends _0x2f9c71[_0x1203bc(0x201)]{constructor(_0x2605d9,_0x3637e0,_0x4205ea){const _0x4cb732=_0x1203bc;super(),_0x5e2d7e(this,'_entities',new Map()),_0x5e2d7e(this,'_entityInit$',new _0x4b9e95[(_0x4cb732(0x272))]()),(this['_univerInstanceService']=_0x2605d9,this[_0x4cb732(0x2ec)]=_0x3637e0,this['_collabSessionService']=_0x4205ea,this['_init']());}[_0x1203bc(0x105)](){const _0xa1bba8=_0x1203bc;super[_0xa1bba8(0x105)](),this[_0xa1bba8(0x24b)]['complete'](),this['_entities'][_0xa1bba8(0x2fb)](_0x1a3c2b=>_0x1a3c2b[_0xa1bba8(0x105)]());}[_0x1203bc(0x2fc)](_0x261a39){const _0x3b2c3d=_0x1203bc;return this[_0x3b2c3d(0x12a)][_0x3b2c3d(0x1c6)](_0x261a39)?this['_entities'][_0x3b2c3d(0x28e)](_0x261a39)[_0x3b2c3d(0x3a0)]:this[_0x3b2c3d(0x24b)]['pipe'](_0x4b9e95[_0x3b2c3d(0x309)](_0xc6a9ec=>_0xc6a9ec[_0x3b2c3d(0x1fe)]===_0x261a39),_0x4b9e95[_0x3b2c3d(0xfa)](_0xb77831=>_0xb77831[_0x3b2c3d(0x3a0)]));}['_init'](){const _0x5968f3=_0x1203bc;this[_0x5968f3(0xf9)][_0x5968f3(0x3bb)](_0x2f9c71['UniverInstanceType'][_0x5968f3(0x18a)])[_0x5968f3(0x1e5)](_0x4b9e95['takeUntil'](this[_0x5968f3(0x17c)]))[_0x5968f3(0x33f)](async _0x52b2e0=>{const _0x2fde7c=_0x5968f3,_0x59a907=_0x52b2e0[_0x2fde7c(0x140)](),_0x3da98a=await this[_0x2fde7c(0xe6)](_0x59a907);this[_0x2fde7c(0x24b)]['next'](_0x3da98a),this[_0x2fde7c(0x12a)]['set'](_0x59a907,_0x3da98a);}),this[_0x5968f3(0xf9)][_0x5968f3(0x3bb)](_0x2f9c71[_0x5968f3(0xe2)]['UNIVER_DOC'])[_0x5968f3(0x1e5)](_0x4b9e95[_0x5968f3(0x300)](this['dispose$']))[_0x5968f3(0x1e5)](_0x4b9e95[_0x5968f3(0x309)](_0x5f0fe0=>!_0x5f0fe0[_0x5968f3(0x140)]()[_0x5968f3(0x239)]('__')))[_0x5968f3(0x33f)](async _0x1c8789=>{const _0x337ef1=_0x5968f3,_0x32d3a7=_0x1c8789[_0x337ef1(0x140)](),_0x291a43=await this['_startDocCollabCursor'](_0x32d3a7);this[_0x337ef1(0x24b)][_0x337ef1(0x326)](_0x291a43),this[_0x337ef1(0x12a)][_0x337ef1(0x186)](_0x32d3a7,_0x291a43);}),_0x4b9e95[_0x5968f3(0x134)](this[_0x5968f3(0xf9)][_0x5968f3(0x314)](_0x2f9c71[_0x5968f3(0xe2)]['UNIVER_DOC']),this[_0x5968f3(0xf9)]['getTypeOfUnitDisposed$'](_0x2f9c71[_0x5968f3(0xe2)][_0x5968f3(0x18a)]))['pipe'](_0x4b9e95[_0x5968f3(0x300)](this[_0x5968f3(0x17c)]))['subscribe'](_0x3705d3=>{const _0x40407a=_0x5968f3,_0x161b95=_0x3705d3[_0x40407a(0x140)](),_0x5eb26c=this[_0x40407a(0x12a)][_0x40407a(0x28e)](_0x161b95);_0x5eb26c&&(_0x5eb26c['dispose'](),this[_0x40407a(0x12a)]['delete'](_0x161b95));});}async['_startSheetCollabCursor'](_0x400d1e){const _0x28544b=_0x1203bc,_0x21c131=await this[_0x28544b(0x25d)][_0x28544b(0x171)](_0x400d1e),_0xbdf37e=this[_0x28544b(0x2ec)][_0x28544b(0x238)](_0x119670,_0x400d1e,_0x21c131);return _0xbdf37e[_0x28544b(0x16a)](),_0xbdf37e;}async['_startDocCollabCursor'](_0x21e956){const _0x3420da=_0x1203bc,_0x365f7f=await this[_0x3420da(0x25d)]['requireSession'](_0x21e956),_0x2ab348=this[_0x3420da(0x2ec)][_0x3420da(0x238)](_0x57615a,_0x21e956,_0x365f7f);return _0x2ab348['init'](),_0x2ab348;}};_0x36bfc6=_0x5cb0a7([_0x2d8717(0x0,_0x2f9c71[_0x1203bc(0x19b)]),_0x2d8717(0x1,_0x2f9c71['Inject'](_0x2f9c71[_0x1203bc(0x1cd)])),_0x2d8717(0x2,_0x2f9c71[_0x1203bc(0x165)](_0x483f62['CollaborationSessionService']))],_0x36bfc6);const _0xd05176=0x14,_0x4372ef=0xc8,_0xa44669=0x4,_0x3a2f07=0x5;function _0x3d942e(_0xe2300c,_0x72777d){const _0x3bc46c=_0x1203bc;let {radius:_0x2ae5e0,width:_0xaaf1e5,height:_0x936305}=_0x72777d;_0x2ae5e0=_0x2ae5e0!=null?_0x2ae5e0:0x0,_0xaaf1e5=_0xaaf1e5!=null?_0xaaf1e5:0x1e,_0x936305=_0x936305!=null?_0x936305:0x1e;let _0x39063e=0x0,_0x157b6b=0x0,_0x4b2959=0x0;_0x39063e=_0x157b6b=_0x4b2959=Math[_0x3bc46c(0x31e)](_0x2ae5e0,_0xaaf1e5/0x2,_0x936305/0x2),_0xe2300c[_0x3bc46c(0x279)](),_0xe2300c[_0x3bc46c(0x168)](_0x39063e,0x0),_0xe2300c[_0x3bc46c(0x200)](_0xaaf1e5-_0x157b6b,0x0),_0xe2300c['arc'](_0xaaf1e5-_0x157b6b,_0x157b6b,_0x157b6b,Math['PI']*0x3/0x2,0x0,!0x1),_0xe2300c[_0x3bc46c(0x200)](_0xaaf1e5,_0x936305-_0x4b2959),_0xe2300c['arc'](_0xaaf1e5-_0x4b2959,_0x936305-_0x4b2959,_0x4b2959,0x0,Math['PI']/0x2,!0x1),_0xe2300c[_0x3bc46c(0x200)](0x0,_0x936305),_0xe2300c[_0x3bc46c(0x200)](0x0,_0x39063e),_0xe2300c[_0x3bc46c(0x249)](_0x39063e,_0x39063e,_0x39063e,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xe2300c[_0x3bc46c(0x1c7)](),_0x72777d['fill']&&(_0xe2300c[_0x3bc46c(0x125)](),_0xe2300c[_0x3bc46c(0x17d)]=_0x72777d[_0x3bc46c(0x10b)],_0x72777d[_0x3bc46c(0x2c2)]===_0x3bc46c(0x29e)?_0xe2300c[_0x3bc46c(0x10b)](_0x3bc46c(0x29e)):_0xe2300c[_0x3bc46c(0x10b)](),_0xe2300c[_0x3bc46c(0x175)]());}class _0x559954 extends _0x3281d5[_0x1203bc(0x2b8)]{constructor(_0x13b599,_0x188511){const _0x284579=_0x1203bc;super(_0x13b599,_0x188511),_0x5e2d7e(this,_0x284579(0x2d3)),_0x5e2d7e(this,_0x284579(0x23d)),(this[_0x284579(0x2d3)]=_0x188511==null?void 0x0:_0x188511['color'],this[_0x284579(0x23d)]=_0x188511==null?void 0x0:_0x188511['text']);}static[_0x1203bc(0x275)](_0x4b1fef,_0x36d412){const _0x4df57f=_0x1203bc,{text:_0x33d167,color:_0xef662f}=_0x36d412;_0x4b1fef[_0x4df57f(0x125)](),_0x4b1fef[_0x4df57f(0x30b)]=_0x4df57f(0x2ac);const _0x30a7ec=_0x4b1fef['measureText'](_0x33d167)[_0x4df57f(0x181)],_0x3c146b=Math['min'](_0x30a7ec+0x2*_0xa44669,_0x4372ef);_0x3d942e(_0x4b1fef,{'height':_0xd05176,'radius':0x4,'width':_0x3c146b,'fill':_0xef662f}),_0x4b1fef['fillStyle']=_0x4df57f(0x16f);const _0x2ed808=_0xa44669,_0x22bd38=_0xd05176-_0x3a2f07,_0x353f96=_0x4372ef-0x2*_0xa44669;if(_0x30a7ec>_0x353f96){let _0x4ad1d4='',_0x54dc67=0x0;for(const _0x76b812 of _0x33d167){const _0x2db4ae=_0x4b1fef[_0x4df57f(0xdd)](_0x76b812)[_0x4df57f(0x181)];if(_0x54dc67+_0x2db4ae<=_0x353f96-_0x4b1fef[_0x4df57f(0xdd)](_0x4df57f(0x27a))[_0x4df57f(0x181)])_0x4ad1d4+=_0x76b812,_0x54dc67+=_0x2db4ae;else{_0x4ad1d4+=_0x4df57f(0x27a);break;}}_0x4b1fef[_0x4df57f(0x1d8)](_0x4ad1d4,_0x2ed808,_0x22bd38);}else _0x4b1fef[_0x4df57f(0x1d8)](_0x33d167,_0x2ed808,_0x22bd38);_0x4b1fef[_0x4df57f(0x175)]();}[_0x1203bc(0x2f2)](_0x16d5c8){const _0x5aeede=_0x1203bc;_0x559954[_0x5aeede(0x275)](_0x16d5c8,this);}}const _0x3b4446=_0x1203bc(0x32d),_0xe5d8ad='collab-text-range-',_0x2e7d8e=_0x1203bc(0x212),_0x21ed4e=0x6,_0x2600dd=1.5,_0x60bfa0=0x4,_0xcf3c6b=1.5,_0x106c5a=_0x1203bc(0x2ea);class _0x2d9246{constructor(_0x1f5520,_0x4ce624,_0x58f3e0,_0x181414){const _0x589105=_0x1203bc;_0x5e2d7e(this,_0x589105(0x18b),[]),_0x5e2d7e(this,_0x589105(0x33d),null),_0x5e2d7e(this,_0x589105(0x371),null),_0x5e2d7e(this,'_anchorDot',null),_0x5e2d7e(this,_0x589105(0x1d7),null),_0x5e2d7e(this,'_eventUnsubscribe',null),(this[_0x589105(0x345)]=_0x1f5520,this[_0x589105(0x242)]=_0x4ce624,this[_0x589105(0x2f6)]=_0x58f3e0,this[_0x589105(0x169)]=_0x181414,this[_0x589105(0x2d1)]());}set['_hover'](_0x247a06){const _0x47a4f4=_0x1203bc;_0x247a06?(this[_0x47a4f4(0x283)]&&this[_0x47a4f4(0x283)][_0x47a4f4(0x30e)](),this[_0x47a4f4(0x371)]&&this[_0x47a4f4(0x371)][_0x47a4f4(0x363)]()):(this[_0x47a4f4(0x283)]&&this[_0x47a4f4(0x283)]['show'](),this[_0x47a4f4(0x371)]&&this[_0x47a4f4(0x371)][_0x47a4f4(0x30e)]());}[_0x1203bc(0x105)](){const _0x386ee9=_0x1203bc;for(const _0x1bf889 of this['_shapes'])_0x1bf889[_0x386ee9(0x105)]();this[_0x386ee9(0x371)]&&this[_0x386ee9(0x371)][_0x386ee9(0x105)](),this['_anchorDot']&&this[_0x386ee9(0x283)][_0x386ee9(0x105)](),this['_anchor']&&this[_0x386ee9(0x33d)][_0x386ee9(0x105)](),this[_0x386ee9(0x2ff)]&&this[_0x386ee9(0x2ff)]();}[_0x1203bc(0x2d1)](){const _0x396901=_0x1203bc;var _0x3dc10e;const {_docSkeleton:_0x2d90a6,_document:_0x3dc91d}=this,{color:_0x493c81,name:_0x87838f,ranges:_0x3c8174}=this[_0x396901(0x345)],_0x1464fc=_0x3dc91d[_0x396901(0x173)](),{docsLeft:_0xdc1164,docsTop:_0x3dcb7f}=_0x1464fc,_0x4b5e2e=new _0x244982[(_0x396901(0x271))](_0x1464fc,_0x2d90a6);for(const {startOffset:_0x2ba660,endOffset:_0x32f1e9,rangeType:_0xfc15d6,segmentId:_0x42c331,segmentPage:_0x312de9,collapsed:_0x206a0e,isActive:_0x525f43}of _0x3c8174){const _0x2188eb=_0x2d90a6[_0x396901(0x37e)](_0x2ba660,!0x0,_0x42c331,_0x312de9);let _0x3062b5=_0x2d90a6[_0x396901(0x37e)](_0x32f1e9,!0x0,_0x42c331,_0x312de9);if(_0x3062b5==null&&(_0x3062b5=_0x2d90a6[_0x396901(0x37e)](_0x32f1e9-0x1,!0x1,_0x42c331,_0x312de9)),_0x525f43){const {contentBoxPointGroup:_0x41ca31}=_0x4b5e2e[_0x396901(0x15c)](_0x3062b5,_0x3062b5);if(_0x41ca31[_0x396901(0x381)]===0x0)continue;this[_0x396901(0x2f4)](_0x493c81,_0x41ca31,_0xdc1164,_0x3dcb7f,_0x87838f),this[_0x396901(0x2ff)]=this[_0x396901(0x1c5)]();}if(_0x2188eb&&_0x3062b5){if(_0xfc15d6===_0x2f9c71['DOC_RANGE_TYPE'][_0x396901(0x234)]){const _0x302dcf=new _0x244982['NodePositionConvertToRectRange'](_0x1464fc,_0x2d90a6),{pointGroup:_0x36ce4a}=(_0x3dc10e=_0x302dcf[_0x396901(0x15c)](_0x2188eb,_0x3062b5))!=null?_0x3dc10e:{};if(_0x36ce4a==null||_0x36ce4a[_0x396901(0x381)]===0x0)continue;this['_drawRectRange'](_0x493c81,_0x36ce4a,_0xdc1164,_0x3dcb7f);}else{if(!_0x206a0e){const {borderBoxPointGroup:_0x143d27}=_0x4b5e2e[_0x396901(0x15c)](_0x2188eb,_0x3062b5);if(_0x143d27['length']===0x0)continue;this[_0x396901(0x131)](_0x493c81,_0x143d27,_0xdc1164,_0x3dcb7f);}}}}}[_0x1203bc(0x2f4)](_0x1c1f7e,_0x34c0a9,_0x757e19,_0x2b415c,_0x318969){const _0x13f016=_0x1203bc,_0x25b661=this[_0x13f016(0x331)](_0x34c0a9),{left:_0x29e4a4,top:_0x23a540,height:_0x1eea3e}=_0x25b661,_0x463f4a=this['_getScale'](),_0x1e42be=_0xcf3c6b/_0x463f4a,_0x2f4e64=new _0x3281d5[(_0x13f016(0x346))](_0x3b4446+_0x2f9c71[_0x13f016(0x188)](_0x21ed4e),{'left':_0x29e4a4+_0x757e19-_0x1e42be,'top':_0x23a540+_0x2b415c,'height':_0x1eea3e,'width':_0x2600dd,'fill':_0x1c1f7e||_0x3281d5[_0x13f016(0x149)](_0x2f9c71[_0x13f016(0x216)][_0x13f016(0xfe)],0x0),'strokeWidth':_0x1e42be,'stroke':_0x106c5a,'evented':!0x0});this[_0x13f016(0x33d)]=_0x2f4e64,this[_0x13f016(0x242)][_0x13f016(0x398)](_0x2f4e64,_0x244982[_0x13f016(0x17b)]);const _0x3e99a4=new _0x3281d5[(_0x13f016(0x346))](_0x3b4446+_0x2f9c71['generateRandomId'](_0x21ed4e),{'left':_0x29e4a4+_0x757e19-_0x1e42be,'top':_0x23a540+_0x2b415c-_0x60bfa0/0x2,'height':_0x60bfa0,'width':_0x60bfa0,'fill':_0x1c1f7e||_0x3281d5[_0x13f016(0x149)](_0x2f9c71[_0x13f016(0x216)][_0x13f016(0xfe)],0x0),'strokeWidth':0x0,'stroke':_0x1c1f7e||_0x3281d5[_0x13f016(0x149)](_0x2f9c71[_0x13f016(0x216)][_0x13f016(0xfe)],0x0),'evented':!0x1});this[_0x13f016(0x283)]=_0x3e99a4,this[_0x13f016(0x242)][_0x13f016(0x398)](_0x3e99a4,_0x244982[_0x13f016(0x17b)]);const _0x4f6ffb=new _0x559954(_0x3b4446+_0x2f9c71['generateRandomId'](_0x21ed4e),{'left':_0x29e4a4+_0x757e19-_0x1e42be,'top':_0x23a540+_0x2b415c-_0xd05176,'text':_0x318969,'color':_0x1c1f7e});this[_0x13f016(0x371)]=_0x4f6ffb,this['_scene'][_0x13f016(0x398)](_0x4f6ffb,_0x244982[_0x13f016(0x17b)]),this[_0x13f016(0x252)]=!0x1;}[_0x1203bc(0x1c5)](){const _0x266a6f=_0x1203bc,_0x36efc7=this[_0x266a6f(0x33d)][_0x266a6f(0x219)]['subscribeEvent'](()=>{const _0x5d0d82=_0x266a6f;this[_0x5d0d82(0x252)]=!0x0;}),_0x1af884=this['_anchor']['onPointerLeave$'][_0x266a6f(0x1ba)](()=>{const _0x258e7a=_0x266a6f;this[_0x258e7a(0x1d7)]&&clearTimeout(this[_0x258e7a(0x1d7)]),this['_hideTimer']=setTimeout(()=>{const _0x432125=_0x258e7a;this[_0x432125(0x252)]=!0x1;},0x7d0);});return()=>{const _0x268391=_0x266a6f;_0x36efc7[_0x268391(0x16c)](),_0x1af884[_0x268391(0x16c)]();};}[_0x1203bc(0x131)](_0x34b4fd,_0x421568,_0x2b180b,_0x44e102){const _0x4e78a4=_0x1203bc,_0x5d4686=new _0x2f9c71['ColorKit'](_0x34b4fd)[_0x4e78a4(0x1d5)](0.2)[_0x4e78a4(0x1b1)](),_0x25d512=new _0x3281d5[(_0x4e78a4(0x296))](_0xe5d8ad+_0x2f9c71['generateRandomId'](_0x21ed4e),{'pointsGroup':_0x421568,'fill':_0x5d4686||_0x3281d5[_0x4e78a4(0x149)](_0x2f9c71[_0x4e78a4(0x216)][_0x4e78a4(0xfe)],0.2),'left':_0x2b180b,'top':_0x44e102,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4e78a4(0x18b)][_0x4e78a4(0x35e)](_0x25d512),this[_0x4e78a4(0x242)]['addObject'](_0x25d512,_0x244982[_0x4e78a4(0x17b)]);}[_0x1203bc(0xbe)](_0x223ba7,_0x286809,_0x46caf8,_0x5ccdb5){const _0x300e45=_0x1203bc,_0xdeba5d=new _0x2f9c71[(_0x300e45(0x332))](_0x223ba7)['setAlpha'](0.2)[_0x300e45(0x1b1)](),_0xd9db93=new _0x3281d5[(_0x300e45(0x296))](_0x2e7d8e+_0x2f9c71['generateRandomId'](_0x21ed4e),{'pointsGroup':_0x286809,'fill':_0xdeba5d||_0x3281d5[_0x300e45(0x149)](_0x2f9c71[_0x300e45(0x216)][_0x300e45(0xfe)],0.2),'left':_0x46caf8,'top':_0x5ccdb5,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x300e45(0x18b)]['push'](_0xd9db93),this[_0x300e45(0x242)][_0x300e45(0x398)](_0xd9db93,_0x244982[_0x300e45(0x17b)]);}[_0x1203bc(0x331)](_0x44918c){const _0x37cb50=_0x44918c[0x0],_0x2a8186=_0x37cb50[0x0],_0x546f4f=_0x37cb50[0x2],{x:_0x2ffed5,y:_0x2275f7}=_0x2a8186,{x:_0x2fc2cf,y:_0x35544f}=_0x546f4f;return{'left':_0x2ffed5,'top':_0x2275f7,'width':_0x2fc2cf-_0x2ffed5,'height':_0x35544f-_0x2275f7};}[_0x1203bc(0x256)](){const _0x246bba=_0x1203bc,{scaleX:_0x2d79bb,scaleY:_0x5bbbf5}=this[_0x246bba(0x242)][_0x246bba(0x294)]();return Math['max'](_0x2d79bb,_0x5bbbf5);}}var _0x968117=Object[_0x1203bc(0x29b)],_0x573101=(_0x58a024,_0x582c8d,_0x2c07eb,_0x6293f2)=>{const _0x38bbd4=_0x1203bc;for(var _0x155b42=_0x6293f2>0x1?void 0x0:_0x6293f2?_0x968117(_0x582c8d,_0x2c07eb):_0x582c8d,_0x519432=_0x58a024[_0x38bbd4(0x381)]-0x1,_0x22ec87;_0x519432>=0x0;_0x519432--)(_0x22ec87=_0x58a024[_0x519432])&&(_0x155b42=_0x22ec87(_0x155b42)||_0x155b42);return _0x155b42;},_0x14f373=(_0x27d8d0,_0x3d6e96)=>(_0x188106,_0x38fe72)=>_0x3d6e96(_0x188106,_0x38fe72,_0x27d8d0);let _0x574c0a=class extends _0x2f9c71[_0x1203bc(0x201)]{constructor(_0x49049a,_0x593524,_0x1a03c4,_0x4d7947,_0x146604){const _0x4edc16=_0x1203bc;super(),_0x5e2d7e(this,_0x4edc16(0x128),[]),_0x5e2d7e(this,_0x4edc16(0x3ac),[]),(this[_0x4edc16(0x301)]=_0x49049a,this[_0x4edc16(0x2a6)]=_0x593524,this['_collabCursorController']=_0x1a03c4,this[_0x4edc16(0x13b)]=_0x4d7947,this[_0x4edc16(0x14c)]=_0x146604,this[_0x4edc16(0x3ad)]());}[_0x1203bc(0x3ad)](){const _0x13d08d=_0x1203bc,_0x1b9c5b=this[_0x13d08d(0x301)][_0x13d08d(0x23a)],_0x5334f4=this[_0x13d08d(0x2a6)];this['disposeWithMe'](_0x4b9e95[_0x13d08d(0x190)]([this['_collabCursorController'][_0x13d08d(0x2fc)](_0x1b9c5b),this['_themeService'][_0x13d08d(0x210)]])[_0x13d08d(0x1e5)](_0x32e776[_0x13d08d(0x29a)](([_0x4deb93,_0x175728])=>({'skeleton':_0x5334f4[_0x13d08d(0x2e4)](),'cursors':[..._0x4deb93[_0x13d08d(0x27c)]()][_0x13d08d(0x2e1)](_0x5884da=>({..._0x5884da,'color':this['_themeService'][_0x13d08d(0x2c9)](_0x5884da[_0x13d08d(0x2d3)])}))})))[_0x13d08d(0x33f)](_0x2fc88a=>{const _0x3469e3=_0x13d08d;if(this[_0x3469e3(0x1a0)](),_0x2fc88a){const {skeleton:_0x2f4f04,cursors:_0x12c4fb}=_0x2fc88a;this[_0x3469e3(0x1ad)](_0x2f4f04,_0x12c4fb);}})),this[_0x13d08d(0x136)](),this[_0x13d08d(0xf3)]();}[_0x1203bc(0x1ad)](_0x193167,_0x45a752){const _0x3f80ac=_0x1203bc,{scene:_0x4e2c70,mainComponent:_0x1979a9}=this['_context'],_0x127722=_0x45a752[_0x3f80ac(0x29a)](_0x3e7c68=>new _0x2d9246(_0x3e7c68,_0x4e2c70,_0x193167,_0x1979a9));this[_0x3f80ac(0x128)]=_0x127722,this[_0x3f80ac(0x3ac)]=_0x45a752;}[_0x1203bc(0x359)](){const _0x570e71=_0x1203bc;this[_0x570e71(0x1a0)]();const {scene:_0x301af0,mainComponent:_0xb7117b}=this[_0x570e71(0x301)],_0xcd4bbb=this[_0x570e71(0x2a6)][_0x570e71(0x2e4)](),_0x29a5d6=this[_0x570e71(0x3ac)]['map'](_0x419473=>new _0x2d9246(_0x419473,_0x301af0,_0xcd4bbb,_0xb7117b));this[_0x570e71(0x128)]=_0x29a5d6;}[_0x1203bc(0x1a0)](){const _0x306964=_0x1203bc;this[_0x306964(0x128)][_0x306964(0x2fb)](_0x53c704=>_0x53c704['dispose']()),this['_cursorShapes']=[];}[_0x1203bc(0xf3)](){const _0x58e3f5=_0x1203bc,_0x55ec71=[_0x244982[_0x58e3f5(0x12c)]['id']];this[_0x58e3f5(0x293)](this[_0x58e3f5(0x13b)][_0x58e3f5(0x395)](_0x4eb248=>{const _0x54d70d=_0x58e3f5;_0x55ec71['includes'](_0x4eb248['id'])&&_0x4eb248['params'][_0x54d70d(0x23a)]===this['_context'][_0x54d70d(0x23a)]&&this[_0x54d70d(0x359)]();}));}[_0x1203bc(0x136)](){const _0x33ed1b=_0x1203bc;this[_0x33ed1b(0x293)](_0x2f9c71[_0x33ed1b(0x2d7)](this['_context'][_0x33ed1b(0x387)][_0x33ed1b(0x203)])[_0x33ed1b(0x1e5)](_0x32e776[_0x33ed1b(0x309)](_0x578f04=>_0x578f04[_0x33ed1b(0x101)]===_0x3281d5['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x33ed1b(0x383)]),_0x32e776['throttleTime'](0x10))[_0x33ed1b(0x33f)](()=>{this['_refreshCollabCursors']();}));}};_0x574c0a=_0x573101([_0x14f373(0x1,_0x2f9c71[_0x1203bc(0x165)](_0x20fc77['DocSkeletonManagerService'])),_0x14f373(0x2,_0x2f9c71[_0x1203bc(0x165)](_0x36bfc6)),_0x14f373(0x3,_0x2f9c71[_0x1203bc(0x183)]),_0x14f373(0x4,_0x2f9c71['Inject'](_0x2f9c71['ThemeService']))],_0x574c0a);const _0x35b26b=0x1,_0x6547b7=1.5;class _0x4486c3 extends _0x3281d5[_0x1203bc(0x2b8)]{constructor(_0x551e1b,_0x2b4f7e){const _0x238635=_0x1203bc;var _0x492c26,_0x18502e;super(_0x551e1b,_0x2b4f7e),_0x5e2d7e(this,_0x238635(0x321)),_0x5e2d7e(this,_0x238635(0x192),!0x1),_0x5e2d7e(this,_0x238635(0xc6)),_0x5e2d7e(this,_0x238635(0x2f8),''),_0x5e2d7e(this,_0x238635(0x13f),_0x238635(0x2e2)),_0x5e2d7e(this,_0x238635(0x19c)),_0x5e2d7e(this,'_showText'),_0x5e2d7e(this,_0x238635(0x266)),_0x5e2d7e(this,'_highlightSecond',0x4),_0x5e2d7e(this,_0x238635(0xd9)),_0x5e2d7e(this,_0x238635(0x2c7)),_0x5e2d7e(this,_0x238635(0x106),!0x0),_0x5e2d7e(this,_0x238635(0x231),0x0),(_0x2b4f7e&&(this['setShapeProps'](_0x2b4f7e),_0x2b4f7e[_0x238635(0x17a)]&&((_0x492c26=_0x2b4f7e[_0x238635(0x2cf)])!=null?_0x492c26:this[_0x238635(0x1e8)])&&this[_0x238635(0x1f6)]((_0x18502e=_0x2b4f7e[_0x238635(0x2cf)])!=null?_0x18502e:this[_0x238635(0x1e8)])),this[_0x238635(0x219)][_0x238635(0x1ba)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x238635(0xf6)][_0x238635(0x1ba)](()=>this[_0x238635(0x224)]({'hovered':!0x1})));}[_0x1203bc(0x299)](_0x21571f){const _0x47c519=_0x1203bc;this[_0x47c519(0x231)]=_0x21571f;}[_0x1203bc(0x224)](_0x145655){const _0x2cfafb=_0x1203bc;var _0x22b5fb,_0x5b40e6,_0x2534c2,_0x2df314,_0x2b0afc,_0x3d90d3,_0x49d743;this['_color']=(_0x22b5fb=_0x145655['color'])!=null?_0x22b5fb:this[_0x2cfafb(0x321)],this[_0x2cfafb(0x192)]=(_0x5b40e6=_0x145655['hovered'])!=null?_0x5b40e6:this[_0x2cfafb(0x192)],this[_0x2cfafb(0xc6)]=(_0x2534c2=_0x145655[_0x2cfafb(0xf4)])!=null?_0x2534c2:this[_0x2cfafb(0xc6)],this[_0x2cfafb(0x2f8)]=(_0x2df314=_0x145655[_0x2cfafb(0x29d)])!=null?_0x2df314:this[_0x2cfafb(0x2f8)],this[_0x2cfafb(0x13f)]=(_0x2b0afc=_0x145655[_0x2cfafb(0xec)])!=null?_0x2b0afc:this[_0x2cfafb(0x13f)],this['_backgroundColor']=(_0x3d90d3=_0x145655['backgroundColor'])!=null?_0x3d90d3:this['_backgroundColor'],this[_0x2cfafb(0x1ac)]=(_0x49d743=_0x145655[_0x2cfafb(0x2a7)])!=null?_0x49d743:this['_showText'],_0x145655[_0x2cfafb(0x2cf)]!==void 0x0&&(this[_0x2cfafb(0x1e8)]=_0x145655['highlightSecond']),_0x145655[_0x2cfafb(0x17a)]!==void 0x0&&(this[_0x2cfafb(0x266)]=_0x145655[_0x2cfafb(0x17a)]),_0x145655[_0x2cfafb(0x32e)]!==void 0x0&&(this[_0x2cfafb(0x231)]=_0x145655['offsetY']),this['transformByState']({'width':_0x145655[_0x2cfafb(0x181)],'height':_0x145655[_0x2cfafb(0x3ab)]});}[_0x1203bc(0x29f)](_0x27ce65){const _0x9c0013=_0x1203bc,{row:_0x4c3393,column:_0x9bd32f}=_0x27ce65;if(_0x4c3393>=this['_range']['startRow']&&_0x4c3393<=this[_0x9c0013(0xc6)][_0x9c0013(0x2e6)]&&_0x9bd32f>=this[_0x9c0013(0xc6)][_0x9c0013(0x390)]&&_0x9bd32f<=this[_0x9c0013(0xc6)]['endColumn']){this[_0x9c0013(0x224)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x1203bc(0x1f6)](_0x1150f3){const _0x5878db=_0x1203bc;this[_0x5878db(0x295)](),this[_0x5878db(0x106)]=!0x0,this[_0x5878db(0x2c7)]=window[_0x5878db(0x37f)](()=>{const _0x5d61b0=_0x5878db;this['_isBlinkVisible']=!this['_isBlinkVisible'],this[_0x5d61b0(0x3a8)](!0x0);},0x1f4),this[_0x5878db(0xd9)]=window[_0x5878db(0x1a1)](()=>{const _0x5615ae=_0x5878db;this[_0x5615ae(0x295)](),this[_0x5615ae(0x106)]=!0x0,this[_0x5615ae(0x3a8)](!0x0);},_0x1150f3*0x3e8);}[_0x1203bc(0x295)](){const _0x549161=_0x1203bc;this[_0x549161(0x2c7)]&&(window[_0x549161(0x196)](this[_0x549161(0x2c7)]),this[_0x549161(0x2c7)]=void 0x0),this[_0x549161(0xd9)]&&(window[_0x549161(0x30c)](this[_0x549161(0xd9)]),this['_blinkTimer']=void 0x0);}['triggerDblclick'](_0x5d9652){return!0x1;}[_0x1203bc(0x105)](){const _0x127e57=_0x1203bc;this[_0x127e57(0x295)](),super[_0x127e57(0x105)]();}[_0x1203bc(0x2f2)](_0x5ec917){const _0xc10335=_0x1203bc;var _0x11631e,_0x3817e5;let _0x1c2319=this[_0xc10335(0x321)],_0x546ada=this[_0xc10335(0x19c)];this['_highlight']&&!this[_0xc10335(0x106)]&&(_0x1c2319=this[_0xc10335(0x22d)](this[_0xc10335(0x321)]),_0x546ada=this[_0xc10335(0x19c)]?this[_0xc10335(0x22d)](this['_backgroundColor']):void 0x0),_0x3281d5[_0xc10335(0x346)][_0xc10335(0x275)](_0x5ec917,{'width':this[_0xc10335(0x181)],'height':this['height'],'strokeWidth':(_0x11631e=this[_0xc10335(0x351)])!=null?_0x11631e:_0x6547b7,'stroke':_0x1c2319,'evented':!0x1,'fill':_0x546ada}),(this[_0xc10335(0x192)]||this[_0xc10335(0x1ac)])&&(_0x5ec917[_0xc10335(0x125)](),_0x5ec917[_0xc10335(0xdc)](0x1,0x0,0x0,0x1,this[_0xc10335(0x181)],(this[_0xc10335(0x13f)]===_0xc10335(0x3ae)?0x0:-_0xd05176)+((_0x3817e5=this[_0xc10335(0x231)])!=null?_0x3817e5:0x0)),_0x559954[_0xc10335(0x275)](_0x5ec917,{'text':this['_name'],'color':_0x1c2319}),_0x5ec917['restore']());}[_0x1203bc(0x22d)](_0x47c26e){const _0x404dc3=_0x1203bc;if(_0x47c26e['startsWith']('#')){const _0x345c88=Number[_0x404dc3(0x344)](_0x47c26e[_0x404dc3(0x3ba)](0x1,0x3),0x10),_0x3cbeaf=Number[_0x404dc3(0x344)](_0x47c26e['slice'](0x3,0x5),0x10),_0xe8da20=Number[_0x404dc3(0x344)](_0x47c26e['slice'](0x5,0x7),0x10);return _0x404dc3(0x305)+_0x345c88+',\x20'+_0x3cbeaf+',\x20'+_0xe8da20+_0x404dc3(0x2d9);}return _0x47c26e[_0x404dc3(0x239)](_0x404dc3(0x267))?_0x47c26e[_0x404dc3(0x195)](/[\d.]+\)$/g,_0x404dc3(0x14e)):_0x47c26e['startsWith'](_0x404dc3(0x322))?_0x47c26e['replace'](_0x404dc3(0x322),_0x404dc3(0x267))[_0x404dc3(0x195)](')',_0x404dc3(0x2d9)):_0x47c26e;}}var _0x1d1e3d=Object[_0x1203bc(0x29b)],_0x323a1f=(_0x58f51d,_0x4ad0a0,_0x490f1e,_0x5336c3)=>{const _0x52d2fd=_0x1203bc;for(var _0x53057d=_0x5336c3>0x1?void 0x0:_0x5336c3?_0x1d1e3d(_0x4ad0a0,_0x490f1e):_0x4ad0a0,_0x3a1ccb=_0x58f51d[_0x52d2fd(0x381)]-0x1,_0x150456;_0x3a1ccb>=0x0;_0x3a1ccb--)(_0x150456=_0x58f51d[_0x3a1ccb])&&(_0x53057d=_0x150456(_0x53057d)||_0x53057d);return _0x53057d;},_0x1becd4=(_0x971e2,_0x21a6cb)=>(_0x2a6503,_0x4f8622)=>_0x21a6cb(_0x2a6503,_0x4f8622,_0x971e2);const _0x574c8c=0x1389;let _0x1873f7=class extends _0x2f9c71[_0x1203bc(0x201)]{constructor(_0x3749a7,_0x17441c,_0x77cdb8,_0x1a97ad){const _0x31d43c=_0x1203bc;super(),_0x5e2d7e(this,'_cursors',new Set()),_0x5e2d7e(this,'_lastPointer',null),(this['_context']=_0x3749a7,this[_0x31d43c(0x39a)]=_0x17441c,this[_0x31d43c(0x3af)]=_0x77cdb8,this[_0x31d43c(0x14c)]=_0x1a97ad,this[_0x31d43c(0x3ad)]());}[_0x1203bc(0x3ad)](){const _0x4361f2=_0x1203bc;this[_0x4361f2(0x39a)][_0x4361f2(0x104)]['pipe'](_0x32e776[_0x4361f2(0x300)](this[_0x4361f2(0x17c)]),_0x32e776['switchMap'](_0x5342e4=>{const _0x497915=_0x4361f2;if(_0x5342e4){const _0x166d75=_0x5342e4[_0x497915(0x2cd)];return _0x4b9e95[_0x497915(0x190)](this[_0x497915(0x3af)]['getCollabCursors$'](this[_0x497915(0x301)][_0x497915(0x23a)]),this[_0x497915(0x14c)][_0x497915(0x210)])['pipe'](_0x32e776[_0x497915(0x29a)](([_0x59afaa,_0x4094a8])=>{const _0x36e09a=new Map();return _0x59afaa['forEach']((_0xc43f6f,_0xdf9dc4)=>{const _0x43d9bf=_0x4f4a;if(_0xc43f6f[_0x43d9bf(0x2ca)]===_0x166d75){const _0x265f9e={..._0xc43f6f};_0x265f9e[_0x43d9bf(0x2d3)]=this['_themeService'][_0x43d9bf(0x2c9)](_0xc43f6f[_0x43d9bf(0x2d3)]),_0x36e09a[_0x43d9bf(0x186)](_0xdf9dc4,_0x265f9e);}}),{'skeleton':_0x5342e4,'cursors':_0x36e09a};}));}return _0x4b9e95['of']({'skeleton':null,'cursors':new Map()});}))[_0x4361f2(0x33f)](({skeleton:_0x496145,cursors:_0x4cb985})=>{const _0x58777b=_0x4361f2;this[_0x58777b(0x1a0)](),_0x496145&&this['_updateCollabCursors'](_0x496145,_0x4cb985);}),this[_0x4361f2(0x39a)][_0x4361f2(0x104)][_0x4361f2(0x33f)](_0x172ea3=>{const _0x4bc7ac=_0x4361f2;if(_0x172ea3==null)return;const {skeleton:_0x5e2a56}=_0x172ea3,{scene:_0x37b314}=this['_context'];_0x37b314[_0x4bc7ac(0x253)][_0x4bc7ac(0x1ba)](_0x2f9c71[_0x4bc7ac(0x167)](_0x66b67e=>{const _0x23ec1f=_0x4bc7ac;var _0x327887,_0x1990d3;const {offsetX:_0x695f3a,offsetY:_0x153a03}=_0x66b67e,{x:_0x4d335b,y:_0x149c8a}=_0x37b314[_0x23ec1f(0x30f)](_0x3281d5[_0x23ec1f(0xcf)]['FromArray']([_0x695f3a,_0x153a03])),{scaleX:_0xa8e76b,scaleY:_0x2849ec}=_0x37b314[_0x23ec1f(0x294)](),_0x367edb=_0x37b314[_0x23ec1f(0x2f0)](_0x3281d5[_0x23ec1f(0x1b5)][_0x23ec1f(0x28a)]),_0x352812=_0x37b314[_0x23ec1f(0x20c)](_0x3281d5['Vector2'][_0x23ec1f(0x114)]([_0x4d335b,_0x149c8a]),_0x367edb),_0x406748=_0x5e2a56[_0x23ec1f(0x198)](_0x695f3a,_0x153a03,_0xa8e76b,_0x2849ec,_0x352812);((_0x327887=this[_0x23ec1f(0x2a2)])==null?void 0x0:_0x327887[_0x23ec1f(0xd2)])===_0x406748[_0x23ec1f(0xd2)]&&((_0x1990d3=this['_lastPointer'])==null?void 0x0:_0x1990d3['row'])===_0x406748[_0x23ec1f(0x2a3)]||this[_0x23ec1f(0x3ac)][_0x23ec1f(0x2fb)](_0x504b67=>{const _0x247ec8=_0x23ec1f;_0x504b67[_0x247ec8(0x29f)](_0x406748);});},0x64));});}[_0x1203bc(0x1ad)](_0x2c298a,_0x236aba){const _0x2e25ab=_0x1203bc;var _0x3f4bb6;const _0x596a80=(_0x3f4bb6=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x3f4bb6[_0x2e25ab(0x368)];if(!_0x596a80)return;const _0x2d6783=this[_0x2e25ab(0xd6)]();if(!_0x2d6783)return;this['_cursors'][_0x2e25ab(0x2fb)](_0x4e6557=>{const _0x3a2a86=_0x2e25ab;_0x4e6557[_0x3a2a86(0x3a8)]();});const {scene:_0x22bb15}=_0x2d6783,_0x3b9997=_0x2081c9(Array[_0x2e25ab(0x1f5)](_0x236aba[_0x2e25ab(0x27c)]()))[_0x2e25ab(0x29a)](_0x36d7bf=>{const _0x2114c3=_0x2e25ab,{color:_0xe92f3e,range:_0x1e6715,name:_0x205c9d,selection:_0x28aa93,sheetID:_0x3c4f8b}=_0x36d7bf,{startColumn:_0x2cc079,startRow:_0x521aa8,endColumn:_0x54dfe4,endRow:_0x3f22cc}=_0x1e6715,_0x2e87e0=_0x4dff07[_0x2114c3(0x274)](_0x521aa8,_0x2cc079,_0x22bb15,_0x596a80),_0x5cd0eb=_0x4dff07[_0x2114c3(0x274)](_0x3f22cc,_0x54dfe4,_0x22bb15,_0x596a80),{columnHeaderHeightAndMarginTop:_0x1db48e}=_0x596a80,{startX:_0x5985c5,startY:_0x3899c6}=_0x2e87e0,{endX:_0x566cd4,endY:_0x3def22}=_0x5cd0eb,_0x21350a=_0x566cd4-_0x5985c5,_0xbe6108=_0x3def22-_0x3899c6,_0x1c75fc={'labelPosition':_0x3899c6-_0x1db48e>=_0xd05176?'top':'bottom','sheetID':_0x3c4f8b,'range':_0x1e6715,'color':_0xe92f3e,'name':_0x205c9d,'selection':_0x28aa93,'left':_0x5985c5,'top':_0x3899c6,'width':_0x21350a,'height':_0xbe6108,'evented':!0x1,'zIndex':_0x574c8c};return new _0x4486c3(_0x205c9d,_0x1c75fc);});_0x22bb15[_0x2e25ab(0x281)](_0x3b9997,_0x35b26b),this[_0x2e25ab(0x3ac)]=new Set(_0x3b9997);}['_removeCollabCursors'](){const _0x4b9d73=_0x1203bc;var _0x2cfc79;(_0x2cfc79=this[_0x4b9d73(0x3ac)])==null||_0x2cfc79[_0x4b9d73(0x2fb)](_0xab6b7b=>_0xab6b7b[_0x4b9d73(0x105)]());}[_0x1203bc(0xd6)](){const _0xfd7b35=_0x1203bc;return _0x4dff07[_0xfd7b35(0xe3)](this[_0xfd7b35(0x301)][_0xfd7b35(0xd3)],this[_0xfd7b35(0x301)]);}};_0x1873f7=_0x323a1f([_0x1becd4(0x1,_0x2f9c71[_0x1203bc(0x165)](_0x4dff07[_0x1203bc(0xce)])),_0x1becd4(0x2,_0x2f9c71['Inject'](_0x36bfc6)),_0x1becd4(0x3,_0x2f9c71[_0x1203bc(0x165)](_0x2f9c71[_0x1203bc(0x38e)]))],_0x1873f7);function _0x2081c9(_0x2f06e6){const _0x550c62=_0x1203bc,_0x4e43b2=new Map();return _0x2f06e6['forEach'](_0x3b5756=>{const _0xc4f50=_0x4f4a;if(_0x4e43b2[_0xc4f50(0x1c6)](_0x3b5756[_0xc4f50(0x116)])){const _0x191839=_0x4e43b2['get'](_0x3b5756['selection']);_0x191839[_0xc4f50(0x29d)]+=',\x20'+_0x3b5756[_0xc4f50(0x29d)];}else _0x4e43b2[_0xc4f50(0x186)](_0x3b5756[_0xc4f50(0x116)],_0x3b5756);}),Array[_0x550c62(0x1f5)](_0x4e43b2['values']());}var _0x20b299=Object['getOwnPropertyDescriptor'],_0x4a5461=(_0x425688,_0x5b81d0,_0x264236,_0x3d05db)=>{const _0x19e8da=_0x1203bc;for(var _0x486843=_0x3d05db>0x1?void 0x0:_0x3d05db?_0x20b299(_0x5b81d0,_0x264236):_0x5b81d0,_0x10098f=_0x425688[_0x19e8da(0x381)]-0x1,_0x32aa59;_0x10098f>=0x0;_0x10098f--)(_0x32aa59=_0x425688[_0x10098f])&&(_0x486843=_0x32aa59(_0x486843)||_0x486843);return _0x486843;},_0xc0722a=(_0x2cc2ea,_0x4143f0)=>(_0x6bac97,_0x495051)=>_0x4143f0(_0x6bac97,_0x495051,_0x2cc2ea);let _0x527dfc=class extends _0x2f9c71[_0x1203bc(0x255)]{constructor(_0x5962a1,_0x43836,_0x3285b2,_0x52d734,_0x38e393,_0xfb7a0c){const _0x25ab76=_0x1203bc;super(),this[_0x25ab76(0x154)]=_0x5962a1,this[_0x25ab76(0x115)]=_0x43836,this[_0x25ab76(0x22c)]=_0x3285b2,this[_0x25ab76(0x250)]=_0x52d734,this[_0x25ab76(0x166)]=_0x38e393,this[_0x25ab76(0x2dc)]=_0xfb7a0c,this['_setupBeforeClosingHandler'](),this[_0x25ab76(0x180)]();}[_0x1203bc(0x2dd)](){const _0xa33559=_0x1203bc;this[_0xa33559(0x293)](this[_0xa33559(0x154)][_0xa33559(0xf0)](()=>{const _0x528a74=_0xa33559;if(this[_0x528a74(0x115)][_0x528a74(0x112)][_0x528a74(0x260)])return this[_0x528a74(0x2dc)]['t'](_0x528a74(0x25a));}));}[_0x1203bc(0x180)](){const _0x277c72=_0x1203bc;this[_0x277c72(0x293)](this[_0x277c72(0x22c)][_0x277c72(0x262)][_0x277c72(0x33f)](_0x16b242=>{const _0x929239=_0x277c72;_0x16b242['id']===_0x483f62[_0x929239(0xe5)][_0x929239(0x178)]&&this[_0x929239(0x250)][_0x929239(0x363)]({'type':_0x15837d['MessageType']['Warning'],'content':this['_localeService']['t'](_0x929239(0x119))}),_0x16b242['id']===_0x483f62[_0x929239(0xe5)][_0x929239(0x1ab)]&&this[_0x929239(0x250)]['show']({'type':_0x15837d[_0x929239(0x176)][_0x929239(0x373)],'content':this[_0x929239(0x2dc)]['t'](_0x929239(0x3aa))}),_0x16b242['id']===_0x483f62[_0x929239(0xe5)]['PERMISSION_DENIED']&&this['_notificationService'][_0x929239(0x363)]({'title':this[_0x929239(0x2dc)]['t'](_0x929239(0xe1)),'content':this[_0x929239(0x2dc)]['t'](_0x929239(0x14a)),'type':_0x929239(0x2af),'duration':0x0}),_0x16b242['id']===_0x483f62['CollaborationUIEventId']['CONFLICT']&&this['_messageService'][_0x929239(0x363)]({'type':_0x15837d[_0x929239(0x176)][_0x929239(0x375)],'content':this[_0x929239(0x2dc)]['t'](_0x929239(0x3aa))+'('+_0x16b242['data']+')'}),_0x16b242['id']===_0x483f62['CollaborationUIEventId'][_0x929239(0x20e)]&&this[_0x929239(0x250)][_0x929239(0x363)]({'type':_0x15837d[_0x929239(0x176)]['Warning'],'content':this[_0x929239(0x2dc)]['t'](_0x16b242[_0x929239(0x39e)]||'')}),_0x16b242['id']===_0x483f62[_0x929239(0xe5)]['SOCKET_FAILED_RETRY']&&this[_0x929239(0x250)]['show']({'type':_0x15837d['MessageType'][_0x929239(0x373)],'content':this[_0x929239(0x2dc)]['t'](_0x929239(0x237))}),_0x16b242['id']===_0x483f62[_0x929239(0xe5)][_0x929239(0x15d)]&&this['_messageService'][_0x929239(0x363)]({'type':_0x15837d[_0x929239(0x176)][_0x929239(0x375)],'content':this[_0x929239(0x2dc)]['t'](_0x929239(0x1c4))}),_0x16b242['id']===_0x483f62[_0x929239(0xe5)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x929239(0x250)][_0x929239(0x363)]({'type':_0x15837d[_0x929239(0x176)][_0x929239(0x375)],'content':this[_0x929239(0x2dc)]['t']('session.collaboration-timeout')});}));}};_0x527dfc=_0x4a5461([_0xc0722a(0x0,_0x97839d[_0x1203bc(0x137)]),_0xc0722a(0x1,_0x483f62['ILocalCacheService']),_0xc0722a(0x2,_0x2f9c71[_0x1203bc(0x165)](_0x483f62[_0x1203bc(0x2cb)])),_0xc0722a(0x3,_0x97839d[_0x1203bc(0x1f2)]),_0xc0722a(0x4,_0x97839d['INotificationService']),_0xc0722a(0x5,_0x2f9c71['Inject'](_0x2f9c71[_0x1203bc(0xed)]))],_0x527dfc);var _0xc685af=Object[_0x1203bc(0x29b)],_0x371308=(_0x47f9a4,_0x1a556c,_0x3ef694,_0x2d0d4b)=>{for(var _0x2b679d=_0x2d0d4b>0x1?void 0x0:_0x2d0d4b?_0xc685af(_0x1a556c,_0x3ef694):_0x1a556c,_0x51f203=_0x47f9a4['length']-0x1,_0x6dce08;_0x51f203>=0x0;_0x51f203--)(_0x6dce08=_0x47f9a4[_0x51f203])&&(_0x2b679d=_0x6dce08(_0x2b679d)||_0x2b679d);return _0x2b679d;},_0x2e7cd5=(_0x246028,_0x3f928d)=>(_0x5e8fe4,_0x3bd26d)=>_0x3f928d(_0x5e8fe4,_0x3bd26d,_0x246028);let _0x45fd84=class extends _0x2f9c71['Disposable']{constructor(_0x1320c4,_0x49230b,_0x589204,_0x3ff1e2){const _0x1d45b4=_0x1203bc;super(),_0x5e2d7e(this,_0x1d45b4(0x213)),(this[_0x1d45b4(0x2ec)]=_0x1320c4,this['_httpService']=_0x49230b,this['_logService']=_0x589204,this['_collaborationSessionService']=_0x3ff1e2,this['_init']());}[_0x1203bc(0x3ad)](){const _0x5cd137=_0x1203bc;this[_0x5cd137(0x365)](),this['_initUnhandledRejectionListener'](),this[_0x5cd137(0x26f)](),this[_0x5cd137(0x1d2)]();}[_0x1203bc(0x1d2)](){const _0x160b8b=_0x1203bc;this[_0x160b8b(0x293)](this[_0x160b8b(0x2a0)][_0x160b8b(0x174)][_0x160b8b(0x33f)](_0x507ae4=>{const _0x59e4e0=_0x160b8b;this['_memberID']=_0x507ae4==null?void 0x0:_0x507ae4[_0x59e4e0(0x320)];}));}[_0x1203bc(0x365)](){const _0xba927=_0x1203bc,_0x2cfc31=_0x318b58=>{const _0x2faf14=_0x4f4a;var _0x4c8acb;this['_uploadLog'](_0x2faf14(0x2af),_0x2faf14(0x1d3)+_0x318b58[_0x2faf14(0x13a)]+_0x2faf14(0x138)+_0x318b58[_0x2faf14(0x3b9)]+':'+_0x318b58[_0x2faf14(0x1b3)]+':'+_0x318b58['colno']+'\x0a'+(((_0x4c8acb=_0x318b58[_0x2faf14(0x2af)])==null?void 0x0:_0x4c8acb[_0x2faf14(0xc4)])||''));};window[_0xba927(0x18e)](_0xba927(0x2af),_0x2cfc31),this[_0xba927(0x293)](()=>{const _0x4eb90d=_0xba927;window[_0x4eb90d(0x1d6)](_0x4eb90d(0x2af),_0x2cfc31);});}[_0x1203bc(0x164)](){const _0x31cc0c=_0x1203bc,_0x2803cb=_0x367d56=>{const _0x13531b=_0x4f4a;this[_0x13531b(0x30d)]('error',_0x13531b(0x291)+_0x367d56[_0x13531b(0xe7)]);};window[_0x31cc0c(0x18e)]('unhandledrejection',_0x2803cb),this[_0x31cc0c(0x293)](()=>{const _0x3d68b8=_0x31cc0c;window[_0x3d68b8(0x1d6)](_0x3d68b8(0x100),_0x2803cb);});}[_0x1203bc(0x26f)](){const _0x35534d=_0x1203bc,_0x3baae5=this['_logService'][_0x35534d(0x2af)][_0x35534d(0x2f3)](this[_0x35534d(0x21d)]);this['_logService']['error']=(..._0x3f8dcb)=>{const _0x363023=_0x35534d,_0x2be9be=_0x3f8dcb[_0x363023(0x29a)](_0x451b4f=>_0x451b4f instanceof Error?_0x451b4f[_0x363023(0x13a)]+'\x0a'+_0x451b4f[_0x363023(0xc4)]:String(_0x451b4f))['join']('\x20');this['_uploadLog'](_0x363023(0x2af),'[LogService\x20Error]:\x20'+_0x2be9be),_0x3baae5(..._0x3f8dcb);},this[_0x35534d(0x293)](()=>{const _0x5c59b6=_0x35534d;this['_logService'][_0x5c59b6(0x2af)]=_0x3baae5;});}[_0x1203bc(0x30d)](_0x58008a,_0x13e641){const _0x5ae812=_0x1203bc;try{const _0x364b19={'userId':this['_memberID'],'logLabel':_0x58008a,'content':_0x13e641};this[_0x5ae812(0x247)][_0x5ae812(0x2d8)](_0x5ae812(0x1f9),{'body':_0x364b19})[_0x5ae812(0x22f)](()=>{});}catch{}}};_0x45fd84=_0x371308([_0x2e7cd5(0x0,_0x2f9c71[_0x1203bc(0x165)](_0x2f9c71[_0x1203bc(0x1cd)])),_0x2e7cd5(0x1,_0x2f9c71['Inject'](_0x1c1235['HTTPService'])),_0x2e7cd5(0x2,_0x2f9c71[_0x1203bc(0x220)]),_0x2e7cd5(0x3,_0x2f9c71[_0x1203bc(0x165)](_0x483f62[_0x1203bc(0xcd)]))],_0x45fd84);const _0x5e1025=_0x1203bc(0x145),_0x4795ce={};var _0x5e8509=Object[_0x1203bc(0x29b)],_0x16495f=(_0x56c938,_0xa9c055,_0x2ef2e1,_0x48768c)=>{const _0x46da02=_0x1203bc;for(var _0x2c9a04=_0x48768c>0x1?void 0x0:_0x48768c?_0x5e8509(_0xa9c055,_0x2ef2e1):_0xa9c055,_0x32d0cb=_0x56c938[_0x46da02(0x381)]-0x1,_0x326d80;_0x32d0cb>=0x0;_0x32d0cb--)(_0x326d80=_0x56c938[_0x32d0cb])&&(_0x2c9a04=_0x326d80(_0x2c9a04)||_0x2c9a04);return _0x2c9a04;},_0x48f5ce=(_0x1ef467,_0x409386)=>(_0x458e56,_0x2e58a3)=>_0x409386(_0x458e56,_0x2e58a3,_0x1ef467);let _0x36697e=class{constructor(_0x49b08d,_0x1b54f1){const _0x338126=_0x1203bc;this[_0x338126(0x147)]=_0x49b08d,this[_0x338126(0x386)]=_0x1b54f1;}[_0x1203bc(0x391)](_0x4e95ac){const _0x569ee6=_0x1203bc;this[_0x569ee6(0x336)](_0x4e95ac),this['_transformPreviousActiveRange'](_0x4e95ac);}['transformRemoteChangeset'](_0x31d54c){const _0x31fd54=_0x1203bc,{unitID:_0x2ab4f5}=_0x31d54c,_0x579709=this[_0x31fd54(0x386)][_0x31fd54(0x206)](_0x2ab4f5)['with'](_0x244982[_0x31fd54(0x199)]),{redoCache:_0x1e341d}=_0x579709[_0x31fd54(0xf8)]();if(_0x1e341d[_0x31fd54(0x381)]===0x0)return _0x31d54c;let _0x348a4c=_0x2f9c71[_0x31fd54(0x28c)][_0x31fd54(0x317)](_0x31d54c[_0x31fd54(0x35f)][0x0]);for(let _0x51178a=0x0;_0x51178a<_0x1e341d[_0x31fd54(0x381)];_0x51178a++){const _0x1cf7c3={'id':'doc.mutation.rich-text-editing','params':{..._0x1e341d[_0x51178a]}},_0x58923f=this[_0x31fd54(0x147)][_0x31fd54(0x221)](_0x348a4c,_0x1cf7c3,!0x1);if(_0x555c33[_0x31fd54(0x352)](_0x58923f))throw _0x58923f['error'];_0x348a4c=_0x58923f[_0x31fd54(0x2c5)];}return{..._0x2f9c71[_0x31fd54(0x28c)][_0x31fd54(0x317)](_0x31d54c),'mutations':[_0x348a4c]};}[_0x1203bc(0x336)](_0x3fa52c){const _0x547cca=_0x1203bc,{unitID:_0x1e9060}=_0x3fa52c,_0x191925=this[_0x547cca(0x386)][_0x547cca(0x206)](_0x1e9060)[_0x547cca(0xd7)](_0x244982[_0x547cca(0x199)]),{undoCache:_0x4f7004,redoCache:_0x5edd07}=_0x191925[_0x547cca(0xf8)]();if(_0x4f7004[_0x547cca(0x381)]===0x0||_0x5edd07[_0x547cca(0x381)]===0x0)return;const _0x36261e=[],_0x16b361=[];let _0x3bb572=_0x2f9c71[_0x547cca(0x28c)][_0x547cca(0x317)](_0x3fa52c[_0x547cca(0x35f)][0x0]),_0x1b0d08=_0x2f9c71[_0x547cca(0x28c)]['deepClone'](_0x3fa52c['mutations'][0x0]);for(let _0x1a1161=_0x4f7004['length']-0x1;_0x1a1161>=0x0;_0x1a1161--){const _0x267e6f={'id':_0x547cca(0x20f),'params':{..._0x4f7004[_0x1a1161]}},_0x2e7c08={'id':_0x547cca(0x20f),'params':{..._0x5edd07[_0x1a1161]}},_0x5aca63=this[_0x547cca(0x147)][_0x547cca(0x221)](_0x3bb572,_0x267e6f,!0x1),_0xc8b37c=this['_transformService'][_0x547cca(0x221)](_0x1b0d08,_0x2e7c08,!0x1);if(_0x555c33[_0x547cca(0x352)](_0x5aca63))throw _0x5aca63['error'];if(_0x555c33['isTransformMutationFailure'](_0xc8b37c))throw _0xc8b37c[_0x547cca(0x2af)];_0x36261e[_0x547cca(0xeb)](_0x5aca63[_0x547cca(0x338)][_0x547cca(0x285)]),_0x16b361[_0x547cca(0xeb)](_0xc8b37c[_0x547cca(0x338)]['params']),_0x3bb572=_0x5aca63[_0x547cca(0x2c5)],_0x1b0d08=_0xc8b37c[_0x547cca(0x2c5)];}_0x191925[_0x547cca(0x144)]({'undoCache':_0x36261e,'redoCache':_0x16b361});}['_transformPreviousActiveRange'](_0x2118e7){const _0x1b1d02=_0x1203bc,{unitID:_0x2b05e9}=_0x2118e7,_0x5977f6=this[_0x1b1d02(0x386)][_0x1b1d02(0x206)](_0x2b05e9)[_0x1b1d02(0xd7)](_0x244982[_0x1b1d02(0x199)]),_0x455900=_0x5977f6[_0x1b1d02(0x1fc)]();if(_0x455900==null)return;const _0x57fcd2=[{'id':_0x1b1d02(0x20f),'params':{'unitId':_0x2118e7[_0x1b1d02(0x1fe)],'actions':null,'textRanges':[_0x455900]}}],_0x648836=this[_0x1b1d02(0x147)][_0x1b1d02(0x24a)](_0x2118e7,_0x57fcd2);if(!_0x555c33[_0x1b1d02(0x218)](_0x648836))throw _0x648836[_0x1b1d02(0x2af)];const _0x3d10a3=_0x648836[_0x1b1d02(0x338)][0x0]['params'][_0x1b1d02(0x25e)];Array[_0x1b1d02(0x364)](_0x3d10a3)&&_0x3d10a3['length']&&_0x5977f6[_0x1b1d02(0x29c)](_0x3d10a3[0x0]);}};_0x36697e=_0x16495f([_0x48f5ce(0x0,_0x555c33[_0x1203bc(0x243)]),_0x48f5ce(0x1,_0x3281d5[_0x1203bc(0x2b9)])],_0x36697e);var _0x443791=Object['getOwnPropertyDescriptor'],_0x2f8c9b=(_0x22c127,_0x556055,_0x43c28e,_0x3be538)=>{const _0x508c36=_0x1203bc;for(var _0x50cdf1=_0x3be538>0x1?void 0x0:_0x3be538?_0x443791(_0x556055,_0x43c28e):_0x556055,_0x17df93=_0x22c127[_0x508c36(0x381)]-0x1,_0x32f700;_0x17df93>=0x0;_0x17df93--)(_0x32f700=_0x22c127[_0x17df93])&&(_0x50cdf1=_0x32f700(_0x50cdf1)||_0x50cdf1);return _0x50cdf1;},_0x38a613=(_0x434f49,_0x42e47e)=>(_0x121da5,_0x25af04)=>_0x42e47e(_0x121da5,_0x25af04,_0x434f49);let _0x3e9655=class{constructor(_0xaeb8a6,_0xf5d195,_0x4838e0){const _0x35f1f2=_0x1203bc;this[_0x35f1f2(0x2ec)]=_0xaeb8a6,this[_0x35f1f2(0x147)]=_0xf5d195,this[_0x35f1f2(0x313)]=_0x4838e0;}[_0x1203bc(0x2c0)](_0x4b0f48){const _0x178f54=_0x1203bc;this[_0x178f54(0x1b9)](_0x4b0f48);}[_0x1203bc(0x17e)](_0x32d496){const _0x2404a6=_0x1203bc,{unitID:_0x2db3a5}=_0x32d496,{collaboration:_0x5ea277}=this[_0x2404a6(0x313)][_0x2404a6(0xd5)](_0x2db3a5);if(_0x5ea277[_0x2404a6(0x381)]===0x0)return _0x32d496;let _0x31061e=_0x2f9c71[_0x2404a6(0x28c)][_0x2404a6(0x317)](_0x32d496[_0x2404a6(0x35f)][0x0]);for(let _0x3e6539=0x0;_0x3e6539<_0x5ea277[_0x2404a6(0x381)];_0x3e6539++){const _0x172448={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5ea277[_0x3e6539]['unitId'],..._0x5ea277[_0x3e6539]['redoState']}},_0x2548f0=this[_0x2404a6(0x147)][_0x2404a6(0x221)](_0x31061e,_0x172448,!0x1);if(_0x555c33[_0x2404a6(0x352)](_0x2548f0))throw _0x2548f0[_0x2404a6(0x2af)];_0x31061e=_0x2548f0[_0x2404a6(0x2c5)];}return{..._0x2f9c71[_0x2404a6(0x28c)]['deepClone'](_0x32d496),'mutations':[_0x31061e]};}[_0x1203bc(0x1b9)](_0x4c110a){const _0x2c1497=_0x1203bc,{unitID:_0x19b41e}=_0x4c110a,{history:_0x412210,collaboration:_0x24d376}=this[_0x2c1497(0x313)][_0x2c1497(0xd5)](_0x19b41e);if(_0x412210[_0x2c1497(0x381)]===0x0&&_0x24d376[_0x2c1497(0x381)]===0x0)return;const _0x412fea=[],_0x4a72f9=[];let _0xf7a022=_0x2f9c71[_0x2c1497(0x28c)]['deepClone'](_0x4c110a['mutations'][0x0]),_0x20f069=_0x2f9c71[_0x2c1497(0x28c)][_0x2c1497(0x317)](_0x4c110a[_0x2c1497(0x35f)][0x0]);for(let _0x52844e=_0x412210[_0x2c1497(0x381)]-0x1;_0x52844e>=0x0;_0x52844e--){const _0x7e1e6={'id':_0x2c1497(0x20f),'params':{'unitId':_0x412210[_0x52844e][_0x2c1497(0x23a)],..._0x412210[_0x52844e][_0x2c1497(0x3a9)]}},_0x319255={'id':_0x2c1497(0x20f),'params':{'unitId':_0x412210[_0x52844e]['unitId'],..._0x412210[_0x52844e][_0x2c1497(0x3a4)]}},_0x3ff626=this['_transformService'][_0x2c1497(0x221)](_0xf7a022,_0x7e1e6,!0x1),_0x5c450f=this['_transformService'][_0x2c1497(0x221)](_0x20f069,_0x319255,!0x1);if(_0x555c33[_0x2c1497(0x352)](_0x3ff626))throw _0x3ff626['error'];if(_0x555c33[_0x2c1497(0x352)](_0x5c450f))throw _0x5c450f[_0x2c1497(0x2af)];_0x412fea['unshift']({..._0x412210[_0x52844e],'undoState':_0x3ff626[_0x2c1497(0x338)]['params'],'redoState':_0x5c450f[_0x2c1497(0x338)][_0x2c1497(0x285)]}),_0xf7a022=_0x3ff626[_0x2c1497(0x2c5)],_0x20f069=_0x5c450f[_0x2c1497(0x2c5)];}_0xf7a022=_0x2f9c71[_0x2c1497(0x28c)][_0x2c1497(0x317)](_0x4c110a[_0x2c1497(0x35f)][0x0]),_0x20f069=_0x2f9c71[_0x2c1497(0x28c)]['deepClone'](_0x4c110a[_0x2c1497(0x35f)][0x0]);for(let _0x15490e=_0x24d376[_0x2c1497(0x381)]-0x1;_0x15490e>=0x0;_0x15490e--){const _0x3876e3={'id':_0x2c1497(0x20f),'params':{'unitId':_0x24d376[_0x15490e][_0x2c1497(0x23a)],..._0x24d376[_0x15490e][_0x2c1497(0x3a9)]}},_0x33e6db={'id':_0x2c1497(0x20f),'params':{'unitId':_0x24d376[_0x15490e][_0x2c1497(0x23a)],..._0x24d376[_0x15490e]['redoState']}},_0x4ae584=this[_0x2c1497(0x147)][_0x2c1497(0x221)](_0xf7a022,_0x3876e3,!0x1),_0x2b56cd=this[_0x2c1497(0x147)][_0x2c1497(0x221)](_0x20f069,_0x33e6db,!0x1);if(_0x555c33['isTransformMutationFailure'](_0x4ae584))throw _0x4ae584[_0x2c1497(0x2af)];if(_0x555c33[_0x2c1497(0x352)](_0x2b56cd))throw _0x2b56cd[_0x2c1497(0x2af)];_0x4a72f9[_0x2c1497(0xeb)]({..._0x24d376[_0x15490e],'undoState':_0x4ae584[_0x2c1497(0x338)][_0x2c1497(0x285)],'redoState':_0x2b56cd[_0x2c1497(0x338)][_0x2c1497(0x285)]}),_0xf7a022=_0x4ae584[_0x2c1497(0x2c5)],_0x20f069=_0x2b56cd[_0x2c1497(0x2c5)];}this[_0x2c1497(0x313)][_0x2c1497(0x215)](_0x19b41e,{'history':_0x412fea,'collaboration':_0x4a72f9});}};_0x3e9655=_0x2f8c9b([_0x38a613(0x0,_0x2f9c71[_0x1203bc(0x165)](_0x2f9c71[_0x1203bc(0x1cd)])),_0x38a613(0x1,_0x555c33['ITransformService']),_0x38a613(0x2,_0x2f9c71['Inject'](_0x244982[_0x1203bc(0xef)]))],_0x3e9655);var _0x1414af=Object[_0x1203bc(0x29b)],_0x3cbb8d=(_0x3e9b17,_0x4a7f0a,_0x3323d0,_0xadb195)=>{const _0x48cc89=_0x1203bc;for(var _0x418eb9=_0xadb195>0x1?void 0x0:_0xadb195?_0x1414af(_0x4a7f0a,_0x3323d0):_0x4a7f0a,_0x28507c=_0x3e9b17[_0x48cc89(0x381)]-0x1,_0x3f460b;_0x28507c>=0x0;_0x28507c--)(_0x3f460b=_0x3e9b17[_0x28507c])&&(_0x418eb9=_0x3f460b(_0x418eb9)||_0x418eb9);return _0x418eb9;},_0x1ccaf1=(_0x3a7987,_0x381a94)=>(_0x453435,_0x12e6d2)=>_0x381a94(_0x453435,_0x12e6d2,_0x3a7987);let _0x39b66e=class{constructor(_0x19f0fa,_0x398c43){const _0x468cd4=_0x1203bc;this['_injector']=_0x19f0fa,this[_0x468cd4(0x147)]=_0x398c43;}[_0x1203bc(0x33c)](_0x3e7bda){const _0x247d63=_0x1203bc;var _0x32e2c1;const _0x267804=this['_injector'][_0x247d63(0x28e)](_0x20fc77[_0x247d63(0xc3)]),_0x5ac00c=(_0x32e2c1=_0x267804[_0x247d63(0x12f)]())!=null?_0x32e2c1:[];if(_0x5ac00c[_0x247d63(0x381)]===0x0)return;const _0x5e6605=_0x3e7bda[_0x247d63(0x1fe)],_0x5cc6f8=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5e6605,'actions':null,'textRanges':_0x5ac00c}}],_0x5b927f=this[_0x247d63(0x147)][_0x247d63(0x24a)](_0x3e7bda,_0x5cc6f8);if(!_0x555c33[_0x247d63(0x218)](_0x5b927f))throw _0x5b927f[_0x247d63(0x2af)];const _0x18d369=_0x5b927f[_0x247d63(0x338)][0x0][_0x247d63(0x285)][_0x247d63(0x25e)];Array[_0x247d63(0x364)](_0x18d369)&&_0x18d369[_0x247d63(0x381)]&&_0x267804[_0x247d63(0x39f)](_0x18d369,{'unitId':_0x5e6605,'subUnitId':_0x5e6605},!0x1);}};_0x39b66e=_0x3cbb8d([_0x1ccaf1(0x0,_0x2f9c71[_0x1203bc(0x165)](_0x2f9c71['Injector'])),_0x1ccaf1(0x1,_0x555c33[_0x1203bc(0x243)])],_0x39b66e);var _0x3419e0=Object[_0x1203bc(0x29b)],_0x59396=(_0x2934e3,_0x1d8a5d,_0x2d995f,_0x4c61b6)=>{const _0x3519ff=_0x1203bc;for(var _0x1e6749=_0x4c61b6>0x1?void 0x0:_0x4c61b6?_0x3419e0(_0x1d8a5d,_0x2d995f):_0x1d8a5d,_0x177343=_0x2934e3[_0x3519ff(0x381)]-0x1,_0x5aed69;_0x177343>=0x0;_0x177343--)(_0x5aed69=_0x2934e3[_0x177343])&&(_0x1e6749=_0x5aed69(_0x1e6749)||_0x1e6749);return _0x1e6749;},_0x52362c=(_0x5ec067,_0x21f7eb)=>(_0xda2590,_0x373148)=>_0x21f7eb(_0xda2590,_0x373148,_0x5ec067);let _0x438673=class extends _0x2f9c71[_0x1203bc(0x255)]{constructor(_0x20bb8b,_0x412338,_0x35a9e9,_0x4f97af,_0x2cc036,_0x5d600d,_0x4ea25d,_0x35bad2){const _0x5555ad=_0x1203bc;super(),_0x5e2d7e(this,_0x5555ad(0x1a2),new _0x4b9e95[(_0x5555ad(0x396))](_0x483f62[_0x5555ad(0x380)][_0x5555ad(0x3a7)])),(this['_docStateChangeManagerService']=_0x20bb8b,this['_collaborationController']=_0x412338,this[_0x5555ad(0x1d1)]=_0x35a9e9,this[_0x5555ad(0x1ce)]=_0x4f97af,this[_0x5555ad(0x1bb)]=_0x2cc036,this[_0x5555ad(0x3a1)]=_0x5d600d,this[_0x5555ad(0x250)]=_0x4ea25d,this[_0x5555ad(0x2dc)]=_0x35bad2,this['_initEntityListener']());}[_0x1203bc(0x3b2)](){const _0x1ea874=_0x1203bc;this[_0x1ea874(0x293)](this[_0x1ea874(0x15f)][_0x1ea874(0x27b)][_0x1ea874(0x33f)](_0x536fec=>{const _0x22fd53=_0x1ea874,_0x1e7f32=this[_0x22fd53(0x313)][_0x22fd53(0x287)][_0x22fd53(0x33f)](_0x364588=>{const _0x40eccd=_0x22fd53;if(_0x364588==null)return;const {unitId:_0x59f4c5,redoState:_0x21630f,commandId:_0x2b52d5}=_0x364588;if(_0x59f4c5!==_0x536fec[_0x40eccd(0x1fe)])return;const _0xb5af3f={'id':_0x2b52d5,'type':_0x2f9c71[_0x40eccd(0xf2)]['MUTATION'],'params':{'unitId':_0x59f4c5,'actions':_0x21630f[_0x40eccd(0x1f1)],'textRanges':null}};_0x536fec[_0x40eccd(0x227)](_0xb5af3f);});if(_0x536fec[_0x22fd53(0x293)](_0x1e7f32),_0x536fec instanceof _0x483f62[_0x22fd53(0x13d)]){const _0x3d42c3={'onTransformIME':_0x39536f=>this[_0x22fd53(0x1d1)][_0x22fd53(0x391)](_0x39536f),'onTransformState':_0x49c381=>this['_docTransformStateCacheService'][_0x22fd53(0x2c0)](_0x49c381),'onTransformSelections':_0x1934d3=>this[_0x22fd53(0x1bb)][_0x22fd53(0x33c)](_0x1934d3),'onSyncEditingCollabCursor':_0x1ae780=>this['_docSyncEditingCollabCursorService'][_0x22fd53(0x11a)](_0x1ae780),'onTransformRemoteChangesetByIMECache':_0x8c0186=>this[_0x22fd53(0x1d1)]['transformRemoteChangeset'](_0x8c0186),'onTransformRemoteChangesetByStateCache':_0x1d3142=>this[_0x22fd53(0x1ce)][_0x22fd53(0x17e)](_0x1d3142)};_0x536fec[_0x22fd53(0x2d4)](_0x3d42c3);}}));}};_0x438673=_0x59396([_0x52362c(0x0,_0x2f9c71[_0x1203bc(0x165)](_0x244982[_0x1203bc(0xef)])),_0x52362c(0x1,_0x2f9c71[_0x1203bc(0x165)](_0x483f62[_0x1203bc(0xbf)])),_0x52362c(0x2,_0x2f9c71[_0x1203bc(0x165)](_0x36697e)),_0x52362c(0x3,_0x2f9c71[_0x1203bc(0x165)](_0x3e9655)),_0x52362c(0x4,_0x2f9c71[_0x1203bc(0x165)](_0x39b66e)),_0x52362c(0x5,_0x2f9c71[_0x1203bc(0x165)](_0x26bb99)),_0x52362c(0x6,_0x97839d[_0x1203bc(0x1f2)]),_0x52362c(0x7,_0x2f9c71[_0x1203bc(0x165)](_0x2f9c71[_0x1203bc(0xed)]))],_0x438673);var _0x4a6838=(_0x45c16f=>(_0x45c16f[_0x45c16f[_0x1203bc(0x2bb)]=0x0]=_0x1203bc(0x2bb),_0x45c16f[_0x45c16f['OK']=0x1]='OK',_0x45c16f[_0x45c16f[_0x1203bc(0x324)]=0x2]=_0x1203bc(0x324),_0x45c16f[_0x45c16f[_0x1203bc(0x223)]=0x3]=_0x1203bc(0x223),_0x45c16f[_0x45c16f[_0x1203bc(0x21e)]=0x4]=_0x1203bc(0x21e),_0x45c16f[_0x45c16f['UNAUTHENTICATED']=0x5]=_0x1203bc(0x1d4),_0x45c16f[_0x45c16f[_0x1203bc(0x302)]=0x6]='ALREADY_EXISTS',_0x45c16f[_0x45c16f[_0x1203bc(0x28f)]=0x7]=_0x1203bc(0x28f),_0x45c16f[_0x45c16f[_0x1203bc(0x280)]=0x8]=_0x1203bc(0x280),_0x45c16f[_0x45c16f[_0x1203bc(0x184)]=0x9]=_0x1203bc(0x184),_0x45c16f[_0x45c16f[_0x1203bc(0x2bd)]=0xa]=_0x1203bc(0x2bd),_0x45c16f[_0x45c16f['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x1203bc(0x2b5),_0x45c16f[_0x45c16f[_0x1203bc(0x126)]=0xc]=_0x1203bc(0x126),_0x45c16f[_0x45c16f[_0x1203bc(0x37c)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x45c16f[_0x45c16f[_0x1203bc(0x245)]=0xe]=_0x1203bc(0x245),_0x45c16f[_0x45c16f[_0x1203bc(0x185)]=0xf]=_0x1203bc(0x185),_0x45c16f[_0x45c16f['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x1203bc(0x342),_0x45c16f[_0x45c16f['CURRENT_STATUS_CANNOT_OPERATE']=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x45c16f[_0x45c16f['ERROR_AGAIN']=0x65]=_0x1203bc(0x1ef),_0x45c16f[_0x45c16f['USER_NOT_FOUND']=0xc9]=_0x1203bc(0x21a),_0x45c16f[_0x45c16f[_0x1203bc(0xd4)]=0xca]=_0x1203bc(0xd4),_0x45c16f[_0x45c16f[_0x1203bc(0x357)]=0x1389]=_0x1203bc(0x357),_0x45c16f[_0x45c16f[_0x1203bc(0x21c)]=0x1771]=_0x1203bc(0x21c),_0x45c16f[_0x45c16f['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x1203bc(0x1a4),_0x45c16f[_0x45c16f['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x1203bc(0xf1),_0x45c16f[_0x45c16f[_0x1203bc(0x107)]=0x1b59]='APPLY_REJECT',_0x45c16f[_0x45c16f[_0x1203bc(0x16e)]=0x1b5a]=_0x1203bc(0x16e),_0x45c16f[_0x45c16f[_0x1203bc(0x311)]=0x1b5b]=_0x1203bc(0x311),_0x45c16f[_0x45c16f['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x1203bc(0x319),_0x45c16f[_0x45c16f[_0x1203bc(0xbc)]=0x1b5d]='APPLY_DUPLICATED',_0x45c16f[_0x45c16f[_0x1203bc(0x347)]=0x1f41]=_0x1203bc(0x347),_0x45c16f[_0x45c16f[_0x1203bc(0x1b4)]=0x2329]=_0x1203bc(0x1b4),_0x45c16f[_0x45c16f['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x1203bc(0x21f),_0x45c16f[_0x45c16f[_0x1203bc(0x235)]=0x232b]=_0x1203bc(0x235),_0x45c16f[_0x45c16f['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x45c16f[_0x45c16f[_0x1203bc(0x273)]=0x232d]=_0x1203bc(0x273),_0x45c16f[_0x45c16f[_0x1203bc(0x1bf)]=0x2711]=_0x1203bc(0x1bf),_0x45c16f[_0x45c16f[_0x1203bc(0x2b4)]=0x2712]=_0x1203bc(0x2b4),_0x45c16f[_0x45c16f['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x1203bc(0x2d0),_0x45c16f[_0x45c16f[_0x1203bc(0x334)]=0x2714]=_0x1203bc(0x334),_0x45c16f[_0x45c16f['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x1203bc(0x1a6),_0x45c16f[_0x45c16f['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x1203bc(0x388),_0x45c16f[_0x45c16f[_0x1203bc(0x38b)]=0x271c]=_0x1203bc(0x38b),_0x45c16f[_0x45c16f[_0x1203bc(0x1f3)]=0x271d]=_0x1203bc(0x1f3),_0x45c16f[_0x45c16f[_0x1203bc(0x349)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x45c16f[_0x45c16f[_0x1203bc(0x325)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x45c16f[_0x45c16f[_0x1203bc(0x19a)]=0x2720]=_0x1203bc(0x19a),_0x45c16f[_0x45c16f[_0x1203bc(0x1ec)]=0x2af9]=_0x1203bc(0x1ec),_0x45c16f[_0x45c16f[_0x1203bc(0x161)]=0x2ee1]=_0x1203bc(0x161),_0x45c16f[_0x45c16f[_0x1203bc(0x3b5)]=0x2ee2]=_0x1203bc(0x3b5),_0x45c16f[_0x45c16f[_0x1203bc(0x12e)]=0x2ee3]=_0x1203bc(0x12e),_0x45c16f[_0x45c16f['USER_NOT_INVITED_CODE']=0x2ee4]=_0x1203bc(0x333),_0x45c16f[_0x45c16f[_0x1203bc(0x38d)]=0x2ee5]=_0x1203bc(0x38d),_0x45c16f[_0x45c16f[_0x1203bc(0x2d2)]=0x32c9]=_0x1203bc(0x2d2),_0x45c16f[_0x45c16f[_0x1203bc(0x1af)]=0x32ca]=_0x1203bc(0x1af),_0x45c16f[_0x45c16f['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x1203bc(0x1fb),_0x45c16f[_0x45c16f['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x1203bc(0x3b1),_0x45c16f[_0x45c16f[_0x1203bc(0x2aa)]=0x36b2]=_0x1203bc(0x2aa),_0x45c16f[_0x45c16f[_0x1203bc(0x354)]=0x36b3]=_0x1203bc(0x354),_0x45c16f[_0x45c16f[_0x1203bc(0x111)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x45c16f[_0x45c16f['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x1203bc(0x284),_0x45c16f[_0x45c16f[_0x1203bc(0x258)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x45c16f[_0x45c16f[_0x1203bc(0x1eb)]=0x36b7]=_0x1203bc(0x1eb),_0x45c16f[_0x45c16f[_0x1203bc(0x34d)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x45c16f[_0x45c16f[_0x1203bc(0x1bc)]=0x3715]=_0x1203bc(0x1bc),_0x45c16f[_0x45c16f['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x1203bc(0x25c),_0x45c16f[_0x45c16f[_0x1203bc(0x304)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x45c16f[_0x45c16f['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x1203bc(0x1cc),_0x45c16f[_0x45c16f[_0x1203bc(0x129)]=0x3a99]=_0x1203bc(0x129),_0x45c16f[_0x45c16f[_0x1203bc(0x2ee)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x45c16f[_0x45c16f[_0x1203bc(0xfb)]=0x3a9b]=_0x1203bc(0xfb),_0x45c16f[_0x45c16f['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x1203bc(0x2f1),_0x45c16f[_0x45c16f[_0x1203bc(0x2b7)]=0x3a9d]=_0x1203bc(0x2b7),_0x45c16f[_0x45c16f[_0x1203bc(0x35b)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x45c16f[_0x45c16f[_0x1203bc(0x35d)]=0x3a9f]=_0x1203bc(0x35d),_0x45c16f[_0x45c16f['DATA_SOURCE_TOO_LARGE']=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x45c16f[_0x45c16f[_0x1203bc(0x340)]=-0x1]=_0x1203bc(0x340),_0x45c16f))(_0x4a6838||{});function _0x495f53(_0x22e7dc){const _0x1ceb04=_0x1203bc;var _0x1297c7,_0x13e81e;const _0x52da72=(_0x1297c7=_0x22e7dc[_0x1ceb04(0x12d)])==null?void 0x0:_0x1297c7[_0x1ceb04(0x26c)],_0x576ce5=((_0x13e81e=_0x22e7dc[_0x1ceb04(0x12d)])==null?void 0x0:_0x13e81e['totalFormulasToCalculate'])||0x0;return _0x52da72===_0x5a5f64[_0x1ceb04(0x1a5)][_0x1ceb04(0x16b)]&&_0x576ce5>0x0;}function _0x173df2(_0x2be568){const _0x2c1438=_0x1203bc;return _0x2be568[_0x2c1438(0x2c4)]===_0x5a5f64[_0x2c1438(0x290)]['SUCCESS'];}var _0x33f215=Object[_0x1203bc(0x29b)],_0x1df6f2=(_0x3bc246,_0x50e924,_0x5e4070,_0x19d1ee)=>{const _0xf2204b=_0x1203bc;for(var _0x3fa361=_0x19d1ee>0x1?void 0x0:_0x19d1ee?_0x33f215(_0x50e924,_0x5e4070):_0x50e924,_0x206fb2=_0x3bc246[_0xf2204b(0x381)]-0x1,_0x4a2baa;_0x206fb2>=0x0;_0x206fb2--)(_0x4a2baa=_0x3bc246[_0x206fb2])&&(_0x3fa361=_0x4a2baa(_0x3fa361)||_0x3fa361);return _0x3fa361;},_0x14de57=(_0x2fb7e7,_0x3dc11a)=>(_0x1a4fa7,_0x4c6f46)=>_0x3dc11a(_0x1a4fa7,_0x4c6f46,_0x2fb7e7);const _0x23d3ee=_0x1203bc(0x2fa),_0x3d8b05=_0x1203bc(0x1b8),_0x15c3ca='/universer-api/license/formula/limit/done';let _0x368987=class extends _0x2f9c71[_0x1203bc(0x255)]{constructor(_0x4e6549,_0x30966b,_0x4841da,_0x2394c6,_0x11070e,_0x4671b9,_0x56358b){const _0x8715b4=_0x1203bc;super(),_0x5e2d7e(this,'_pollingInterval',null),_0x5e2d7e(this,_0x8715b4(0x10e),0x0),_0x5e2d7e(this,'_currentUsage',0x0),_0x5e2d7e(this,_0x8715b4(0x350),[]),_0x5e2d7e(this,_0x8715b4(0xc1),0x0),(this['_messageService']=_0x4e6549,this['_commandService']=_0x30966b,this[_0x8715b4(0x233)]=_0x4841da,this[_0x8715b4(0x247)]=_0x2394c6,this['_univerInstanceService']=_0x11070e,this['_logService']=_0x4671b9,this[_0x8715b4(0x2dc)]=_0x56358b,this[_0x8715b4(0x374)]());}[_0x1203bc(0x374)](){const _0x1f02af=_0x1203bc;this[_0x1f02af(0x293)](this[_0x1f02af(0x13b)]['beforeCommandExecuted']((_0x35f9a9,_0x1385dc)=>{const _0x164be3=_0x1f02af;var _0x2ad5be;if(_0x35f9a9['id']!==_0x5a5f64[_0x164be3(0x37b)]['id'])return;const _0x185abe=_0x35f9a9[_0x164be3(0x285)];if(!this[_0x164be3(0x1f8)]((_0x2ad5be=_0x185abe[_0x164be3(0x323)])!=null?_0x2ad5be:[]))return;if(!this[_0x164be3(0x11e)]())throw this['_checkAndWaitForCalculationPermission'](_0x35f9a9,_0x1385dc),this[_0x164be3(0x130)](),new _0x2f9c71[(_0x164be3(0x1aa))]();})),this[_0x1f02af(0x293)](this[_0x1f02af(0x13b)][_0x1f02af(0x395)]((_0x38b17d,_0x38b44c)=>{const _0x50ea2e=_0x1f02af;if(_0x38b17d['id']!==_0x5a5f64[_0x50ea2e(0x265)]['id'])return;const _0xcd5430=_0x38b17d['params'];if(_0x495f53(_0xcd5430)){const _0x44edc1=_0x2f9c71[_0x50ea2e(0x188)]();this[_0x50ea2e(0x350)][_0x50ea2e(0x35e)](_0x44edc1),this[_0x50ea2e(0x39d)](_0x44edc1);}else{if(_0x173df2(_0xcd5430)&&this['_taskIds'][_0x50ea2e(0x381)]>0x0){const _0x26fc64=this['_taskIds']['shift']();this[_0x50ea2e(0x1c0)](_0x26fc64);}}}));}[_0x1203bc(0x105)](){const _0xa6ddf0=_0x1203bc;super['dispose'](),this[_0xa6ddf0(0x328)](),this['_taskIds']=[],this['_currentUsage']=0x0,this[_0xa6ddf0(0x10e)]=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x1203bc(0x337)](_0x5b4e93,_0x2bfd98){const _0x394e8a=_0x1203bc;for(let _0x12b2df=0x0;_0x12b2df<0x1e;_0x12b2df++)try{if(await this['_getFormulaLimitStatus'](),this['_checkCalculationAvailable']()){this[_0x394e8a(0x14b)](_0x5b4e93,_0x2bfd98),this[_0x394e8a(0x250)][_0x394e8a(0x363)]({'content':this['_localeService']['t']('formula.calculation.started'),'type':_0x15837d[_0x394e8a(0x176)]['Success']});return;}await new Promise(_0x397b6f=>{const _0x34ca4a=_0x394e8a;this['_pollingInterval']=window[_0x34ca4a(0x1a1)](_0x397b6f,0x3e8);});}catch(_0x1dfd30){this['_logService']['error'](_0x1dfd30);}this[_0x394e8a(0x250)]['show']({'content':this[_0x394e8a(0x2dc)]['t']('formula.calculation.unable'),'type':_0x15837d[_0x394e8a(0x176)]['Error']});}['_applyCommand'](_0x1fe25,_0x3377e2){const _0x44cf88=_0x1203bc;try{this[_0x44cf88(0x13b)][_0x44cf88(0x143)](_0x1fe25['id'],_0x1fe25[_0x44cf88(0x285)],_0x3377e2);}catch(_0x2d6e44){this['_logService']['error'](_0x2d6e44);}}[_0x1203bc(0xd8)](_0x1c6684,_0x4dd8cc){const _0x4e3a40=_0x1203bc;_0x4dd8cc<this[_0x4e3a40(0xc1)]||(this[_0x4e3a40(0xc1)]=_0x4dd8cc,this[_0x4e3a40(0x10e)]=Number[_0x4e3a40(0x344)](_0x1c6684['maxFormulaLimit']),this[_0x4e3a40(0x135)]=Number[_0x4e3a40(0x344)](_0x1c6684[_0x4e3a40(0x367)]));}async[_0x1203bc(0x39d)](_0x462473){const _0x24518f=_0x1203bc;var _0x363c7d,_0x5d2404;const _0x2decf4=Date[_0x24518f(0x20b)]();try{const _0x8836c8=((_0x363c7d=this[_0x24518f(0x233)]['getConfig'](_0x483f62['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x363c7d[_0x24518f(0x187)])||_0x3d8b05,_0xc07248=(await this[_0x24518f(0x247)][_0x24518f(0x2d8)](_0x8836c8,{'body':JSON[_0x24518f(0x2b2)]({'taskId':_0x462473})}))[_0x24518f(0x24d)];if(((_0x5d2404=_0xc07248[_0x24518f(0x2af)])==null?void 0x0:_0x5d2404[_0x24518f(0x1e3)])!==_0x4a6838['OK'])return;this['_setFormulaLimitStatus'](_0xc07248[_0x24518f(0x226)],_0x2decf4);}catch(_0x434c71){this[_0x24518f(0x21d)]['error'](_0x434c71);}}async['_getFormulaLimitStatus'](_0x2d6b10){const _0x211de7=_0x1203bc;var _0xa7dbe,_0x479f09;const _0xbd8651=Date['now']();try{const _0x1fc96a=((_0xa7dbe=this[_0x211de7(0x233)]['getConfig'](_0x483f62['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0xa7dbe['getFormulaLimitStatusUrl'])||_0x23d3ee,_0x3ab193=_0x2d6b10?_0x1fc96a+_0x211de7(0x39c)+encodeURIComponent(_0x2d6b10):_0x1fc96a,_0x311239=(await this['_httpService']['get'](_0x3ab193))[_0x211de7(0x24d)];if(((_0x479f09=_0x311239[_0x211de7(0x2af)])==null?void 0x0:_0x479f09[_0x211de7(0x1e3)])!==_0x4a6838['OK'])return;this[_0x211de7(0xd8)](_0x311239[_0x211de7(0x226)],_0xbd8651);}catch(_0x2d5c6b){this[_0x211de7(0x21d)][_0x211de7(0x2af)](_0x2d5c6b);}}async[_0x1203bc(0x1c0)](_0xc148f1){const _0xd6e16b=_0x1203bc;var _0x2dd10e,_0x2704e4;const _0x2c1731=Date[_0xd6e16b(0x20b)]();try{const _0x5f29fb=((_0x2dd10e=this[_0xd6e16b(0x233)][_0xd6e16b(0x36a)](_0x483f62[_0xd6e16b(0x2c6)]))==null?void 0x0:_0x2dd10e['releaseFormulaLimitUrl'])||_0x15c3ca,_0x3b9a14=(await this[_0xd6e16b(0x247)][_0xd6e16b(0x2d8)](_0x5f29fb,{'body':JSON[_0xd6e16b(0x2b2)]({'taskId':_0xc148f1})}))[_0xd6e16b(0x24d)];if(((_0x2704e4=_0x3b9a14[_0xd6e16b(0x2af)])==null?void 0x0:_0x2704e4[_0xd6e16b(0x1e3)])!==_0x4a6838['OK'])return;this[_0xd6e16b(0xd8)](_0x3b9a14['limitInfo'],_0x2c1731);}catch(_0x2477d9){this['_logService'][_0xd6e16b(0x2af)](_0x2477d9);}}['_checkCalculationAvailable'](){const _0x60e26a=_0x1203bc;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x60e26a(0x10e)]-this[_0x60e26a(0x135)]>0x0;}[_0x1203bc(0x328)](){const _0xecd2f1=_0x1203bc;this[_0xecd2f1(0x28d)]&&(clearTimeout(this[_0xecd2f1(0x28d)]),this['_pollingInterval']=null);}[_0x1203bc(0x130)](){const _0x11cf0d=_0x1203bc;this[_0x11cf0d(0x250)][_0x11cf0d(0x363)]({'content':this[_0x11cf0d(0x2dc)]['t'](_0x11cf0d(0x263)),'type':_0x15837d[_0x11cf0d(0x176)][_0x11cf0d(0x2ed)]});}['_hasFormulaInDirtyRanges'](_0x403328){const _0x199646=_0x1203bc;for(const _0x3b3d42 of _0x403328){const {unitId:_0x5727b5,sheetId:_0x1823d2,range:_0x187f67}=_0x3b3d42,_0x19d4e0=this[_0x199646(0xf9)][_0x199646(0x369)](_0x5727b5);if(!_0x19d4e0)continue;const _0x5110e9=_0x19d4e0['getSheetBySheetId'](_0x1823d2);if(!_0x5110e9)continue;const _0x110d71=_0x5110e9[_0x199646(0x1a8)]();for(let _0x30c2ae=_0x187f67[_0x199646(0x152)];_0x30c2ae<=_0x187f67[_0x199646(0x2e6)];_0x30c2ae++)for(let _0xda3887=_0x187f67[_0x199646(0x390)];_0xda3887<=_0x187f67[_0x199646(0x139)];_0xda3887++){const _0x221960=_0x110d71[_0x199646(0x2f5)](_0x30c2ae,_0xda3887);if(_0x221960&&(_0x2f9c71['isFormulaString'](_0x221960['f'])||_0x2f9c71[_0x199646(0xe9)](_0x221960['si'])))return!0x0;}}return!0x1;}};_0x368987=_0x1df6f2([_0x14de57(0x0,_0x2f9c71[_0x1203bc(0x165)](_0x97839d[_0x1203bc(0x1f2)])),_0x14de57(0x1,_0x2f9c71[_0x1203bc(0x183)]),_0x14de57(0x2,_0x2f9c71[_0x1203bc(0xff)]),_0x14de57(0x3,_0x2f9c71[_0x1203bc(0x165)](_0x1c1235[_0x1203bc(0x23f)])),_0x14de57(0x4,_0x2f9c71[_0x1203bc(0x19b)]),_0x14de57(0x5,_0x2f9c71[_0x1203bc(0x220)]),_0x14de57(0x6,_0x2f9c71[_0x1203bc(0x165)](_0x2f9c71[_0x1203bc(0xed)]))],_0x368987);var _0x5e4b19=Object['getOwnPropertyDescriptor'],_0x495ba0=(_0x19298b,_0x38d222,_0x454adf,_0x22cc69)=>{const _0x4e3346=_0x1203bc;for(var _0x1196f8=_0x22cc69>0x1?void 0x0:_0x22cc69?_0x5e4b19(_0x38d222,_0x454adf):_0x38d222,_0x3395a4=_0x19298b[_0x4e3346(0x381)]-0x1,_0x527f14;_0x3395a4>=0x0;_0x3395a4--)(_0x527f14=_0x19298b[_0x3395a4])&&(_0x1196f8=_0x527f14(_0x1196f8)||_0x1196f8);return _0x1196f8;},_0x5456a3=(_0x5827f4,_0xa49079)=>(_0x428ba0,_0x24f691)=>_0xa49079(_0x428ba0,_0x24f691,_0x5827f4);let _0x4da336=class extends _0x2f9c71[_0x1203bc(0x255)]{constructor(_0x5bd9c8,_0x245ebf,_0x32d4fc){const _0x2d24f3=_0x1203bc;super(),_0x5e2d7e(this,'_cachedData',new Map()),_0x5e2d7e(this,_0x2d24f3(0xd1),new Map()),_0x5e2d7e(this,_0x2d24f3(0x113),!0x1),(this[_0x2d24f3(0x233)]=_0x5bd9c8,this[_0x2d24f3(0x2a9)]=_0x245ebf,this[_0x2d24f3(0x33e)]=_0x32d4fc);}[_0x1203bc(0x31a)](){const _0x24a052=_0x1203bc;this[_0x24a052(0x113)]=!0x0;}[_0x1203bc(0x13c)](){this['_disabled']=!0x1;}get[_0x1203bc(0x112)](){const _0x21113f=_0x1203bc;return this[_0x21113f(0xd1)];}['dispose'](){const _0x1b20d1=_0x1203bc;this[_0x1b20d1(0x18d)]()[_0x1b20d1(0x1ee)](()=>super['dispose']());}async[_0x1203bc(0x251)](_0x4768bc){const _0x362f51=_0x1203bc;return this[_0x362f51(0x113)]?null:this[_0x362f51(0x2a9)]['getItem'](_0x483f62[_0x362f51(0x276)](_0x4768bc));}async[_0x1203bc(0x39b)](_0x43fcbc,_0x16324a){const _0x4ea8a3=_0x1203bc;return!!this[_0x4ea8a3(0x2a9)]['setItem'](_0x43fcbc,_0x16324a);}[_0x1203bc(0xfc)](_0x687b89,_0x3d3350,_0x4c51e3,_0x70bfb1){const _0x210d14=_0x1203bc,_0x59c1de=this[_0x210d14(0x33e)]['getCurrentRevOfUnit'](_0x687b89);this[_0x210d14(0x21b)][_0x210d14(0x186)](_0x687b89,{'unitID':_0x687b89,'type':_0x3d3350,'awaitingChangeset':_0x4c51e3,'mutations':_0x70bfb1,'rev':_0x59c1de}),this[_0x210d14(0xd1)][_0x210d14(0x1c6)](_0x687b89)||this['_scheduleSaving'](_0x687b89);}[_0x1203bc(0x32a)](_0x4be823){const _0x349e60=_0x1203bc,_0xc692a9=this[_0x349e60(0x1a9)]();_0xc692a9===0x0?this[_0x349e60(0x1fa)](_0x4be823):this[_0x349e60(0xd1)][_0x349e60(0x186)](_0x4be823,setTimeout(()=>this[_0x349e60(0x1fa)](_0x4be823),_0xc692a9));}[_0x1203bc(0x1a9)](){const _0x7791c0=_0x1203bc;var _0x28e8d4;return(_0x28e8d4=this[_0x7791c0(0x233)]['getConfig'](_0x483f62[_0x7791c0(0x2bc)]))!=null?_0x28e8d4:_0x483f62['LOCAL_CACHE_INTERVAL'];}[_0x1203bc(0x1fa)](_0x3ac8a7){const _0x2f34d8=_0x1203bc,_0x1ceadb=this[_0x2f34d8(0xd1)][_0x2f34d8(0x28e)](_0x3ac8a7);return _0x1ceadb!==void 0x0&&window[_0x2f34d8(0x30c)](_0x1ceadb),this[_0x2f34d8(0x2a9)][_0x2f34d8(0x32b)](_0x483f62['getLocalCacheKey'](_0x3ac8a7),this[_0x2f34d8(0x21b)]['get'](_0x3ac8a7))[_0x2f34d8(0x1ee)](()=>this[_0x2f34d8(0xd1)]['delete'](_0x3ac8a7));}async[_0x1203bc(0x18d)](){const _0x385b26=_0x1203bc,_0x5b671d=[];this['_saveTaskMap'][_0x385b26(0x2fb)]((_0x399482,_0x568903)=>{const _0x3bf4cf=_0x385b26;window['clearTimeout'](_0x399482),_0x5b671d[_0x3bf4cf(0x35e)](this[_0x3bf4cf(0x1fa)](_0x568903)[_0x3bf4cf(0x1ee)](()=>{const _0x55a6d5=_0x3bf4cf;this[_0x55a6d5(0xd1)][_0x55a6d5(0x2eb)](_0x568903);}));}),await Promise[_0x385b26(0x1dd)](_0x5b671d);}};_0x4da336=_0x495ba0([_0x5456a3(0x0,_0x2f9c71[_0x1203bc(0xff)]),_0x5456a3(0x1,_0x2f9c71[_0x1203bc(0x2b3)]),_0x5456a3(0x2,_0x2f9c71[_0x1203bc(0x165)](_0x555c33[_0x1203bc(0x3b3)]))],_0x4da336);class _0x29b4a8 extends _0x2f9c71[_0x1203bc(0x201)]{constructor(){const _0x503272=_0x1203bc;super(),_0x5e2d7e(this,_0x503272(0x189)),this['urlChange$']=_0x4b9e95['fromEvent'](window,_0x503272(0x2b6))[_0x503272(0x1e5)](_0x4b9e95[_0x503272(0x300)](this[_0x503272(0x17c)]),_0x4b9e95[_0x503272(0x153)](0x1),_0x4b9e95[_0x503272(0x172)](void 0x0));}[_0x1203bc(0x377)](_0x55a47a,_0x5ff7d4,_0x5e18a6=!0x1){const _0x4c844b=_0x1203bc,_0x4150ad=new URL(window[_0x4c844b(0x1e1)][_0x4c844b(0x13e)]);_0x4150ad[_0x4c844b(0x348)][_0x4c844b(0x186)](_0x55a47a,_0x5ff7d4),_0x5e18a6?window[_0x4c844b(0x10c)][_0x4c844b(0x177)]('','',_0x4150ad['toString']()):window['history']['pushState']('','',_0x4150ad[_0x4c844b(0x24c)]());}[_0x1203bc(0x34a)](_0x50d8ae,_0x559719=!0x1){const _0x1d3de9=_0x1203bc,_0xea18b6=new URL(window[_0x1d3de9(0x1e1)][_0x1d3de9(0x13e)]);_0xea18b6['searchParams'][_0x1d3de9(0x2eb)](_0x50d8ae),_0x559719?window[_0x1d3de9(0x10c)][_0x1d3de9(0x177)]('','',_0xea18b6[_0x1d3de9(0x24c)]()):window[_0x1d3de9(0x10c)]['pushState']('','',_0xea18b6[_0x1d3de9(0x24c)]());}[_0x1203bc(0x229)](_0x1dc9b2){const _0x297071=_0x1203bc;var _0x476346;return(_0x476346=new URL(window['location'][_0x297071(0x13e)])[_0x297071(0x348)][_0x297071(0x28e)](_0x1dc9b2))!=null?_0x476346:void 0x0;}}var _0xc3dee6=Object[_0x1203bc(0x34f)],_0x34cf1d=Object[_0x1203bc(0x29b)],_0x42903a=(_0x4407f2,_0x4c0271,_0x2d0f31)=>_0x4c0271 in _0x4407f2?_0xc3dee6(_0x4407f2,_0x4c0271,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d0f31}):_0x4407f2[_0x4c0271]=_0x2d0f31,_0x9fe56f=(_0x50be3c,_0x28f70a,_0x457eb2,_0x1ac430)=>{for(var _0x4d395b=_0x1ac430>0x1?void 0x0:_0x1ac430?_0x34cf1d(_0x28f70a,_0x457eb2):_0x28f70a,_0x467939=_0x50be3c['length']-0x1,_0x5841b7;_0x467939>=0x0;_0x467939--)(_0x5841b7=_0x50be3c[_0x467939])&&(_0x4d395b=_0x5841b7(_0x4d395b)||_0x4d395b);return _0x4d395b;},_0x35d4f9=(_0x2113b0,_0x464874)=>(_0x49f3e5,_0x1adc30)=>_0x464874(_0x49f3e5,_0x1adc30,_0x2113b0),_0x55406a=(_0x5f1b1a,_0x57fa41,_0x16ae79)=>_0x42903a(_0x5f1b1a,_0x57fa41+'',_0x16ae79);const _0x1e5233=_0x1203bc(0x288);_0x12f853[_0x1203bc(0x3b0)]=class extends _0x2f9c71['Plugin']{constructor(_0x5a379c=_0x4795ce,_0x1ff696,_0x4493e9,_0x5d15f5){const _0x43be0b=_0x1203bc;super(),this[_0x43be0b(0x37a)]=_0x5a379c,this[_0x43be0b(0x386)]=_0x1ff696,this[_0x43be0b(0x2ec)]=_0x4493e9,this[_0x43be0b(0x233)]=_0x5d15f5;const {..._0x329284}=_0x2f9c71[_0x43be0b(0x134)]({},_0x4795ce,this[_0x43be0b(0x37a)]);this['_configService'][_0x43be0b(0x38f)](_0x5e1025,_0x329284);}[_0x1203bc(0x378)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x1203bc(0x15e)](){this['_registerRenderDependencies']();}[_0x1203bc(0x228)](){const _0x2bdb08=_0x1203bc;var _0x3a5aa0;const _0x4d717b=[[_0x3df9df],[_0x368987],[_0x39b66e],[_0x36697e],[_0x3e9655],[_0x26bb99],[_0x34744d,{'useClass':_0x29b4a8}],[_0x1c1235[_0x2bdb08(0x2b1)],{'useClass':_0x1c1235['WebSocketService']}],[_0x483f62['ILocalCacheService'],{'useClass':_0x4da336}],[_0x12f853['DesktopCollaborationStatusDisplayController']],[_0x438673],[_0x527dfc],[_0x36bfc6],[_0x82a21d],[_0x12f853[_0x2bdb08(0x211)]]];this[_0x2bdb08(0x37a)][_0x2bdb08(0x282)]&&_0x4d717b[_0x2bdb08(0x35e)]([_0x45fd84]),_0x2f9c71[_0x2bdb08(0x32f)](this['_injector'],_0x2f9c71[_0x2bdb08(0x1be)](_0x4d717b,(_0x3a5aa0=this['_config'])==null?void 0x0:_0x3a5aa0[_0x2bdb08(0x1b2)]));}['_registerRenderDependencies'](){const _0x353e8d=_0x1203bc;this[_0x353e8d(0x293)](this[_0x353e8d(0x386)][_0x353e8d(0x38a)](_0x2f9c71[_0x353e8d(0xe2)][_0x353e8d(0x1ea)],[_0x574c0a])),this[_0x353e8d(0x293)](this[_0x353e8d(0x386)][_0x353e8d(0x38a)](_0x2f9c71['UniverInstanceType'][_0x353e8d(0x18a)],[_0x1873f7]));}[_0x1203bc(0xcb)](){const _0x35b33e=_0x1203bc;_0x2f9c71[_0x35b33e(0x1cb)](this[_0x35b33e(0x2ec)],[[_0x36bfc6],[_0x12f853[_0x35b33e(0x2e9)]],[_0x438673],[_0x527dfc],[_0x12f853['CollaborationDataLoaderController']],[_0x368987]]),this['_config']['enableFrontendLog']&&_0x2f9c71[_0x35b33e(0x1cb)](this['_injector'],[[_0x45fd84]]);}},_0x55406a(_0x12f853[_0x1203bc(0x3b0)],_0x1203bc(0x1c8),_0x1e5233),_0x12f853[_0x1203bc(0x3b0)]=_0x9fe56f([_0x2f9c71[_0x1203bc(0xc2)](_0x483f62[_0x1203bc(0x2fe)]),_0x35d4f9(0x1,_0x3281d5['IRenderManagerService']),_0x35d4f9(0x2,_0x2f9c71[_0x1203bc(0x165)](_0x2f9c71[_0x1203bc(0x1cd)])),_0x35d4f9(0x3,_0x2f9c71[_0x1203bc(0xff)])],_0x12f853[_0x1203bc(0x3b0)]);var _0x448232=Object[_0x1203bc(0x29b)],_0x291ce1=(_0x45e29a,_0x2ea9de,_0x4ec5bc,_0x322c1a)=>{for(var _0x4dc779=_0x322c1a>0x1?void 0x0:_0x322c1a?_0x448232(_0x2ea9de,_0x4ec5bc):_0x2ea9de,_0x58b3aa=_0x45e29a['length']-0x1,_0x26cfa8;_0x58b3aa>=0x0;_0x58b3aa--)(_0x26cfa8=_0x45e29a[_0x58b3aa])&&(_0x4dc779=_0x26cfa8(_0x4dc779)||_0x4dc779);return _0x4dc779;},_0x321dfb=(_0x2bf8e4,_0x18e937)=>(_0x195df2,_0x5c8fac)=>_0x18e937(_0x195df2,_0x5c8fac,_0x2bf8e4);_0x12f853[_0x1203bc(0x3b4)]=class extends _0x483f62['CollaborationSocketService']{constructor(_0x677f80,_0x36e83a,_0x38ea4f,_0x498fba,_0x8eb34b){super(_0x677f80,_0x36e83a,_0x38ea4f,_0x498fba,_0x8eb34b);}async[_0x1203bc(0xc5)](_0x2c67f3){const _0x5cdb9f=_0x1203bc,_0x1e440a=await this[_0x5cdb9f(0x31c)](),_0x13b70b=this[_0x5cdb9f(0x36c)](_0x2c67f3,_0x1e440a);return this[_0x5cdb9f(0x2df)](_0x13b70b);}[_0x1203bc(0x36c)](_0x41617d,_0x29edef){const _0x284264=_0x1203bc,_0x2d7596=typeof window>'u'?new URL(_0x41617d):new URL(_0x41617d,window[_0x284264(0x1e1)][_0x284264(0x155)]);_0x2d7596[_0x284264(0x348)][_0x284264(0x186)](_0x284264(0x1f4),_0x29edef);const _0x4f4240=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x284264(0x1e1)][_0x284264(0x162)]);return _0x4f4240[_0x284264(0x28e)](_0x284264(0x3a3))&&_0x2d7596[_0x284264(0x348)]['set'](_0x284264(0x3a3),_0x4f4240['get'](_0x284264(0x3a3))),_0x2d7596['toString']();}async[_0x1203bc(0x31c)](){const _0x6232b9=_0x1203bc;var _0x2f309a,_0x4ab5d7,_0x225eda;const _0x55df1d=this['_configService']['getConfig'](_0x483f62[_0x6232b9(0x2c6)]),_0x589a0=(_0x2f309a=_0x55df1d==null?void 0x0:_0x55df1d[_0x6232b9(0x1f0)])!=null?_0x2f309a:_0x483f62[_0x6232b9(0x358)];return(_0x225eda=(_0x4ab5d7=(await this[_0x6232b9(0x247)][_0x6232b9(0x28e)](_0x589a0,{'headers':{'Content-Type':_0x6232b9(0x1e4)}}))[_0x6232b9(0x24d)])==null?void 0x0:_0x4ab5d7[_0x6232b9(0x315)])!=null?_0x225eda:'';}},_0x12f853[_0x1203bc(0x3b4)]=_0x291ce1([_0x321dfb(0x0,_0x2f9c71[_0x1203bc(0x165)](_0x2f9c71['Injector'])),_0x321dfb(0x1,_0x2f9c71[_0x1203bc(0x165)](_0x1c1235[_0x1203bc(0x23f)])),_0x321dfb(0x2,_0x2f9c71[_0x1203bc(0xff)]),_0x321dfb(0x3,_0x2f9c71[_0x1203bc(0x220)]),_0x321dfb(0x4,_0x555c33[_0x1203bc(0x26a)])],_0x12f853[_0x1203bc(0x3b4)]);var _0x31126f=Object[_0x1203bc(0x29b)],_0xc32723=(_0x2ea642,_0x105da2,_0x2d7721,_0x7eb7a7)=>{const _0x14b9e2=_0x1203bc;for(var _0x5dd060=_0x7eb7a7>0x1?void 0x0:_0x7eb7a7?_0x31126f(_0x105da2,_0x2d7721):_0x105da2,_0x31709b=_0x2ea642[_0x14b9e2(0x381)]-0x1,_0x93c027;_0x31709b>=0x0;_0x31709b--)(_0x93c027=_0x2ea642[_0x31709b])&&(_0x5dd060=_0x93c027(_0x5dd060)||_0x5dd060);return _0x5dd060;},_0x7a1df2=(_0x12fdc1,_0x4679fe)=>(_0x568a37,_0x152efd)=>_0x4679fe(_0x568a37,_0x152efd,_0x12fdc1);_0x12f853[_0x1203bc(0x127)]=class extends _0x2f9c71[_0x1203bc(0x255)]{constructor(_0x57025b,_0x45a223,_0x100136){const _0x2e89b7=_0x1203bc;super(),this['_instanceService']=_0x57025b,this[_0x2e89b7(0x247)]=_0x45a223,this[_0x2e89b7(0x233)]=_0x100136;}async['runOnServer'](_0x5c709b,_0x2bd209,_0x43bc49,..._0x12c122){const _0xd29922=_0x1203bc;var _0x52d537,_0x5e376f,_0x4b94ac,_0x17a7d5;const _0x236dac=this['_instanceService'][_0xd29922(0x193)]();if(!_0x236dac)throw new Error(_0xd29922(0x1ca));const _0x4ed675=((_0x52d537=this[_0xd29922(0x233)]['getConfig'](_0x483f62[_0xd29922(0x121)]))!=null?_0x52d537:_0x483f62['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x5c709b+_0xd29922(0x222)+_0x2bd209,_0x3812c2=new URL(window['location'][_0xd29922(0x13e)]),_0x15327e={'scriptId':_0x5c709b,'runId':(_0x5e376f=_0x3812c2[_0xd29922(0x348)][_0xd29922(0x28e)]('runId'))!=null?_0x5e376f:'','function':_0x2bd209,'unitId':_0x236dac[_0xd29922(0x140)](),'argsOfFunction':JSON['stringify'](_0x12c122),'invokeId':(_0x4b94ac=_0x43bc49[_0xd29922(0x23b)])!=null?_0x4b94ac:'','executionId':(_0x17a7d5=_0x43bc49[_0xd29922(0x2da)])!=null?_0x17a7d5:''};try{const _0x136c59=await this[_0xd29922(0x247)][_0xd29922(0x2d8)](_0x4ed675,{'body':_0x15327e});return _0x136c59['body']['error']&&_0x136c59[_0xd29922(0x24d)]['error'][_0xd29922(0x1e3)]!==_0x4a6838['OK']?_0xd29922(0x1b7):_0x136c59['body'][_0xd29922(0x159)];}catch{return _0xd29922(0x1b7);}}},_0x12f853['RemoteUniscriptService']=_0xc32723([_0x7a1df2(0x0,_0x2f9c71['IUniverInstanceService']),_0x7a1df2(0x1,_0x2f9c71[_0x1203bc(0x165)](_0x1c1235[_0x1203bc(0x23f)])),_0x7a1df2(0x2,_0x2f9c71[_0x1203bc(0xff)])],_0x12f853[_0x1203bc(0x127)]);const _0x1eec61=0x7530,_0x200768='ACTIVE_UNIT_EVENT_CHANNEL';class _0x495ce4 extends _0x2f9c71['Disposable']{constructor(){const _0x3e1cfb=_0x1203bc;super(),_0x5e2d7e(this,'_id',_0x2f9c71['generateRandomId']()),_0x5e2d7e(this,_0x3e1cfb(0x123),new Set()),_0x5e2d7e(this,_0x3e1cfb(0x34c),new Map()),_0x5e2d7e(this,_0x3e1cfb(0x286),null),_0x5e2d7e(this,_0x3e1cfb(0x3b8),new Map()),_0x5e2d7e(this,_0x3e1cfb(0x25f),new Map()),this['_init']();}[_0x1203bc(0x105)](){const _0x3f1727=_0x1203bc;super[_0x3f1727(0x105)](),this[_0x3f1727(0x3b8)]['forEach']((_0x3e7e27,_0x51fbff)=>this[_0x3f1727(0x27f)](_0x51fbff)),this[_0x3f1727(0x286)]&&window[_0x3f1727(0x196)](this[_0x3f1727(0x286)]);}[_0x1203bc(0x108)](_0x4fe474){const _0x496169=_0x1203bc;return this[_0x496169(0x356)](_0x4fe474)['pipe'](_0x4b9e95['distinctUntilChanged']());}[_0x1203bc(0x23c)](_0x32b73e){const _0x1659ca=_0x1203bc;this[_0x1659ca(0x123)][_0x1659ca(0x260)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x1659ca(0x298)](_0x32b73e),this[_0x1659ca(0x109)]({'type':0x0,'memberID':this[_0x1659ca(0x254)],'unitIDs':[_0x32b73e],'isForwarded':!0x1});}[_0x1203bc(0x133)](_0x19854c){const _0x3db240=_0x1203bc;this[_0x3db240(0x123)][_0x3db240(0x2eb)](_0x19854c),this['_selfUnitIDs'][_0x3db240(0x260)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this[_0x3db240(0x286)]);}[_0x1203bc(0x3ad)](){const _0x4609a0=_0x1203bc;this[_0x4609a0(0x293)](_0x2f9c71[_0x4609a0(0x1e7)](_0x4b9e95[_0x4609a0(0x205)](window,_0x4609a0(0x382))['subscribe'](_0x53e443=>{const _0x12f2d9=_0x4609a0;if(_0x53e443[_0x12f2d9(0x17f)]!==_0x200768||!_0x53e443[_0x12f2d9(0x10f)])return;const _0x434d99=JSON[_0x12f2d9(0x225)](_0x53e443['newValue']);this['_handleEvent'](_0x434d99);}))),window[_0x4609a0(0x18e)]('unload',()=>this[_0x4609a0(0x109)]({'type':0x1,'memberID':this[_0x4609a0(0x254)],'unitIDs':Array[_0x4609a0(0x1f5)](this[_0x4609a0(0x123)])}));}[_0x1203bc(0x355)](_0x16668b){const _0x9c1370=_0x1203bc;switch(_0x16668b[_0x9c1370(0x101)]){case 0x0:this[_0x9c1370(0x2e7)](_0x16668b);break;case 0x1:this[_0x9c1370(0x372)](_0x16668b);break;case 0x2:this[_0x9c1370(0x1cf)](_0x16668b);break;}}['_handleJoinEvent'](_0x32ee86){const _0x59d014=_0x1203bc,{unitIDs:_0x43dd0c,memberID:_0x41f5b5,isForwarded:_0x2b88cb}=_0x32ee86;_0x43dd0c['forEach'](_0x33eded=>{const _0x21c3ac=_0x4f4a;if(!_0x2b88cb&&this[_0x21c3ac(0x34c)][_0x21c3ac(0x1c6)](_0x33eded)&&this[_0x21c3ac(0x356)](_0x33eded)[_0x21c3ac(0x326)](_0x483f62[_0x21c3ac(0x2bf)][_0x21c3ac(0x2a1)]),!this[_0x21c3ac(0x34c)]['has'](_0x33eded)||!this['_unitOnClients'][_0x21c3ac(0x28e)](_0x33eded)[_0x21c3ac(0x1c6)](_0x41f5b5)){const _0x11494f=this[_0x21c3ac(0x34c)][_0x21c3ac(0x28e)](_0x33eded)||new Set();_0x11494f[_0x21c3ac(0x298)](_0x41f5b5),this[_0x21c3ac(0x34c)][_0x21c3ac(0x186)](_0x33eded,_0x11494f),this['_scheduleClearOtherTimer'](_0x41f5b5);}}),_0x2b88cb||this[_0x59d014(0x109)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x59d014(0x123)]],'isForwarded':!0x0});}[_0x1203bc(0x30a)](_0x41ef2f){const _0x46b0e8=_0x1203bc;this[_0x46b0e8(0x27f)](_0x41ef2f);const _0xa168e4=window[_0x46b0e8(0x1a1)](()=>{const _0x1dc31b=_0x46b0e8;this[_0x1dc31b(0x34c)]['forEach'](_0x5419e5=>{const _0x20be0f=_0x1dc31b;_0x5419e5[_0x20be0f(0x2eb)](_0x41ef2f);});},_0x1eec61*0x2);this['_clearOtherTimers'][_0x46b0e8(0x186)](_0x41ef2f,_0xa168e4);}[_0x1203bc(0x27f)](_0x3f7a0e){const _0x552025=_0x1203bc;if(this[_0x552025(0x3b8)][_0x552025(0x1c6)](_0x3f7a0e)){const _0x11f4f7=this['_clearOtherTimers'][_0x552025(0x28e)](_0x3f7a0e);_0x11f4f7&&window['clearTimeout'](_0x11f4f7),this['_clearOtherTimers'][_0x552025(0x186)](_0x3f7a0e,null);}}['_handleLeaveEvent'](_0x28ceff){const _0x578e69=_0x1203bc,{memberID:_0x102499,unitIDs:_0x185362}=_0x28ceff;_0x185362[_0x578e69(0x2fb)](_0x990b4a=>{const _0x5a2a10=_0x578e69;var _0xc74f2f;const _0x27f906=this[_0x5a2a10(0x34c)][_0x5a2a10(0x28e)](_0x990b4a);_0x27f906&&(_0x27f906['delete'](_0x102499),(_0xc74f2f=this['_ensureSubject'](_0x990b4a))==null||_0xc74f2f['next'](_0x27f906[_0x5a2a10(0x260)]===0x0?_0x483f62[_0x5a2a10(0x2bf)][_0x5a2a10(0x141)]:_0x483f62[_0x5a2a10(0x2bf)][_0x5a2a10(0x2a1)]));}),this[_0x578e69(0x27f)](_0x102499);}[_0x1203bc(0x1cf)](_0x594d32){const _0x2e05f7=_0x1203bc;this[_0x2e05f7(0x30a)](_0x594d32[_0x2e05f7(0x320)]);}[_0x1203bc(0x109)](_0x1fd62f){const _0x3c7888=_0x1203bc;localStorage[_0x3c7888(0x32b)](_0x200768,JSON[_0x3c7888(0x2b2)](_0x1fd62f));}['_scheduleHeartbeat'](){const _0x58a35b=_0x1203bc;this[_0x58a35b(0x286)]=window[_0x58a35b(0x37f)](()=>{const _0x3bade9=_0x58a35b;this[_0x3bade9(0x109)]({'type':0x2,'memberID':this[_0x3bade9(0x254)]});},_0x1eec61);}[_0x1203bc(0x356)](_0xb44b48){const _0x40031a=_0x1203bc;return this[_0x40031a(0x25f)][_0x40031a(0x1c6)](_0xb44b48)||this[_0x40031a(0x25f)][_0x40031a(0x186)](_0xb44b48,new _0x4b9e95[(_0x40031a(0x396))](_0x483f62[_0x40031a(0x2bf)][_0x40031a(0x141)])),this[_0x40031a(0x25f)]['get'](_0xb44b48);}}_0x12f853[_0x1203bc(0x182)]=_0x34744d,_0x12f853['SheetCollabCursorShape']=_0x4486c3,_0x12f853[_0x1203bc(0x11d)]=_0x495ce4,_0x12f853['WebURLService']=_0x29b4a8,Object['defineProperty'](_0x12f853,Symbol[_0x1203bc(0x151)],{'value':_0x1203bc(0x217)});}));function _0x4f4a(_0x121786,_0x2ada10){_0x121786=_0x121786-0xbb;const _0x458d66=_0x458d();let _0x4f4aec=_0x458d66[_0x121786];return _0x4f4aec;}function _0x458d(){const _0x166f88=['getUniverSheetInstance','_toggleOffline','_collaborationUIEventService','_getLighterColor','rxjs','catch','CollaborationEvent','_offsetY','6MHuTpD','_configService','RECT','LICENSE_IMPORT_SIZE_EXCEEDED','clipPath','session.will-retry','createInstance','startsWith','unitId','invokeId','editingUnit','text','activeSheet$','HTTPService','mask','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_scene','ITransformService','Rectangle','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','[CollaborationDataLoaderController]','_httpService','ranges','arc','transformMutationsWithChangeset','_entityInit$','toString','body','deserializeRangeWithSheet','defs','_messageService','loadOfflineData','_hover','onPointerMove$','_id','Disposable','_getScale','contains','ENTITLE_COUPON_EXPIRED','createIdentifier','collaboration.offline-data-not-saved','registerComponent','ENTITLE_REPORT_LIMIT_EXCEED','_collabSessionService','textRanges','_unitStatus','size','trim','event$','formula.calculation.waiting','isActive','SetFormulaCalculationNotificationMutation','_highlight','rgba','idSuffix','UniverNetwork','ISnapshotServerService','Workbook','stage','handleDeleteRangeMoveUp','EffectRefRangId','_monkeyPatchLogService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','NodePositionConvertToCursor','Subject','LICENSE_DISTRO_REJECTED','getCoordByCell','drawWith','getLocalCacheKey','CONFLICT','USERS_LEAVE','beginPath','...','entityInit$','values','connectInjector','SetWorksheetActivateCommand','_removeClearOtherTimer','TOO_MANY_REQUESTS','addObjects','enableFrontendLog','_anchorDot','ENTITLE_INVALID_COUPON_CODE','params','_heartbeatTimer','docStateChange$','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','M0\x200H16V16H0z','VIEW_MAIN','_toggleOnline','Tools','_pollingInterval','get','INVALID_ARGUMENT','FormulaExecutedStateType','[Unhandled\x20Rejection]:\x20','_updateLocalCursor','disposeWithMe','getAncestorScale','_stopBlinking','RegularPolygon','roomMembers$','add','setOffsetY','map','getOwnPropertyDescriptor','setActiveRange','name','evenodd','onMouseMove','_collaborationSessionService','OTHER_CLIENTS_EDITING','_lastPointer','row','round','7316BDGEvH','_docSkeletonManagerService','showText','_urlService','_localStorageService','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','UniverIcon','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','UniverDesign','forwardRef','error','getSheetId','ISocketService','stringify','ILocalStorageService','YUUMI_URL_COL_OUT_OF_RANGE','MOBILE_VERIFY_CODE_MISMATCH','popstate','REDEMPTION_USER_NOT_ELIGIBLE','Shape','IRenderManagerService','whenReady','UNDEFINED','LOCAL_CACHE_INTERVAL_KEY','LOGIN_FAILED','getCollabEntity$','UnitStatus','transformStateCache','loadUnit','fillRule','@univerjs/design','functionsExecutedState','m1Prime','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_blinkIntervalTimer','InsertRangeMoveRightCommandId','getColorFromTheme','sheetID','CollaborationUIEventService','collabCursorState$','sheetId','collabStatus.conflict','highlightSecond','YUUMI_RATE_OVER_LIMIT','_render','WECHAT_HAS_BEEN_BOUND','color','addHandlerCallback','BuiltInUIPart','cursorInfo','fromEventSubject','post',',\x200.2)','executionId','_onCursorUpdate','_localeService','_setupBeforeClosingHandler','eventID','_doCreateSocket','subUnitId','flatMap','top','univer-flex\x20univer-items-center','getSkeleton','_imageIoService','endRow','_handleJoinEvent','@univerjs/engine-formula','DesktopCollaborationStatusDisplayController','rgba(255,\x20255,\x20255,\x200.01)','delete','_injector','Loading','REDEMPTION_CODE_INACTIVE','children','getViewport','REDEMPTION_CODE_NOT_STARTED','_draw','bind','_drawAnchor','getValue','_docSkeleton','asObservable','_name','AWAITING_WITH_PENDING','/universer-api/license/formula/limit/status','forEach','getCollabCursors$','DOC_RANGE_TYPE','UniverCollaborationClientPlugin','_eventUnsubscribe','takeUntil','_context','ALREADY_EXISTS','_updateSubUnitFromURLParams','ENTITLE_INSUFFICIENT_QUOTA','rgba(','debounceTime','_colorAssignService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','filter','_scheduleClearOtherTimer','font','clearTimeout','_uploadLog','hide','getRelativeToViewportCoord','attrs','APPLY_REVISION_CONFILICT','0\x200\x2017\x2016','_docStateChangeManagerService','getTypeOfUnitDisposed$','ticket','UniverProCollaborationClient','deepClone','react','APPLY_PERMISSION_DENIED','disableLocalCache','univerjs-icon\x20univerjs-icon-','_getSessionTicket','_initStatusComponent','min','tag','memberID','_color','rgb','dirtyRanges','INTERNAL_ERROR','YUUMI_AI_RUN_FAILED','next','registerRefRange','_clearPolling','UniverProCollaboration','_scheduleSaving','setItem','IUIPartsService','collab-text-anchor-','offsetY','registerDependencies','status$','_getAnchorBounding','ColorKit','USER_NOT_INVITED_CODE','YUUMI_SUBSCRIPTION_NOT_FOUND','UniverProCollaborationClientUi','_transformUndoRedoStack','_checkAndWaitForCalculationPermission','m2Prime','@univerjs/docs','UniverRpc','AWAITING','transformSelections','_anchor','_revisionService','subscribe','UNRECOGNIZED','function','LOGIN_TOKEN_PROCESSING_FAILED','jsx','parseInt','_cursor','Rect','CONNECTOR_DATA_TOO_LARGE','searchParams','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','removeParam','off-line-icon_clip0_910_343','_unitOnClients','ENTITLE_USE_COUPON_NOT_1ST_TRADE','debug','defineProperty','_taskIds','strokeWidth','isTransformMutationFailure','UniverEngineRender','ENTITLE_DUP_SUBSCRIPTION','_handleEvent','_ensureSubject','CHANGESET_REVISION_CONFILICT','DEFAULT_WS_SESSION_TICKET_URL','_refreshCollabCursors','runRefRangeMutations','REDEMPTION_USER_REDEEM_TIMES_EXCEED','getCurrentUnitForType','REDEMPTION_CODE_HAS_BEEN_CREATED','push','mutations','current','1em','currentColor','show','isArray','_initWindowErrorListener','imageSourceType','currentUsage','skeleton','getUnit','getConfig','displayName','_createSocketURL','Optional','getActiveSheet','createElement','getMember','_textBubble','_handleLeaveEvent','Warning','_initCommandInterceptor','Error','ONLINE','setParam','onStarting','svg','_config','SetFormulaCalculationStartMutation','EMAIL_VERIFY_CODE_MISMATCH','@univerjs/rpc','findNodePositionByCharIndex','setInterval','CollaborationStatus','length','storage','resize','handleInsertCol','sessionStatus$','_renderManagerService','engine','YUUMI_ASYNCIO_CANCELLED','UniverCore','registerRenderModule','YUUMI_TABLE_NOT_FOUND_IN_UNIT','365660tnfgdP','INVITE_CODE_ALREADY_BOUND','ThemeService','setConfig','startColumn','transformIMECache','2549358YLCsER','substring','collabStatus.offline','onCommandExecuted','BehaviorSubject','OFFLINE','addObject','FETCH_MISS','_sheetSkeletonManagerService','saveOfflineData','?taskId=','_startCalculationLimit','data','replaceDocRanges','cursorInfo$','_docSyncEditingCollabCursorService','UniverDrawing','runId','redoState','assignAColorForMemberID','useCallback','NOT_COLLAB','makeDirty','undoState','collaboration.closeRoom','height','_cursors','_init','bottom','_collabCursorController','UniverCollaborationClientUIPlugin','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_initEntityListener','RevisionService','BrowserCollaborationSocketService','INVALID_INVITE_CODE','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','_syncEditingCollabCursorService','_clearOtherTimers','filename','slice','getTypeOfUnitAdded$','http://www.w3.org/2000/svg','UniverSheetsUi','APPLY_DUPLICATED','getMemberID','_drawRectRange','CollaborationController','xlink:href','_lastResponseTimestamp','DependentOn','DocSelectionManagerService','stack','createSocket','_range','_memberService','white','_assignedColors','UPDATE_CURSOR','_initDependencies','react/jsx-runtime','CollaborationSessionService','SheetSkeletonManagerService','Vector2','object','_saveTaskMap','column','unit','USER_IS_ANONYMOUS','getStateCache','_getSheetObject','with','_setFormulaLimitStatus','_blinkTimer','send','collabStatus.synced','transform','measureText','getUnhiddenWorksheets','_colorIndex','rxjs/operators','permission.title','UniverInstanceType','getSheetObject','DeleteRangeMoveLeftCommandId','CollaborationUIEventId','_startSheetCollabCursor','reason','11675554BZCLEf','isFormulaId','_session','unshift','labelPosition','LocaleService','IRemoteInstanceService','DocStateChangeManagerService','registerBeforeClose','ENSURE_SNAPSHOT_EXECUTION','CommandType','_initCommandExecutedListener','range','green.600','onPointerLeave$','7scSKag','getUndoRedoMutationParamsCache','_univerInstanceService','switchMap','REDEMPTION_CODE_FULLY_REDEEMED','updateOfflineData','@univerjs-pro/collaboration-client','black','IConfigService','unhandledrejection','type','_cursorInfo$','handleInsertRow','currentSkeleton$','dispose','_isBlinkVisible','APPLY_REJECT','getUnitStatus$','_send','red.300','fill','history','source','_maxFormulaLimit','newValue','handleMoveRange','PAYMENT_CHANNEL_NOT_SUPPORT','saveTaskMap','_disabled','FromArray','_localCacheService','selection','on-line-icon_clip0_910_349','subunit','collaboration.single-unit.warning','syncEditingCollabCursor','MoveRangeCommandId','univer-mr-2\x20univer-flex\x20univer-text-xl','WebBrowserSingleActiveUnitService','_checkCalculationAvailable','random','reconnect','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','assign','_selfUnitIDs','18CkHToN','save','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','RemoteUniscriptService','_cursorShapes','REDEMPTION_INVALID_CODE','_entities','_uiPartsService','SetDocZoomRatioOperation','stageInfo','INVITE_CODE_REQUIRED','getDocRanges','_showGuardMessage','_drawTextRange','exports','disposeUnit','merge','_currentUsage','_initResize','IBeforeCloseService','\x20at\x20','endColumn','message','_commandService','enableLocalCache','DocCollaborationEntity','href','_labelPosition','getUnitId','NO_OTHER_CLIENTS_EDITING','useDependency','executeCommand','setUndoRedoMutationParamsCache','collaboration-client-ui.config','SetTextSelectionsOperation','_transformService','_getMergeRange','getColor','permission.content','_applyCommand','_themeService','saveImage','0.2)','Tooltip','getSheetBySheetId','toStringTag','startRow','shareReplay','_beforeCloseService','origin','@univerjs/network','getCurrentSelections','2650550qsjjwp','result','amd','jsxs','getRangePointData','SOCKET_FAILED','onRendered','_collaborationController','path','INVITE_CODE_HAS_BEEN_UES','search','jiqing.500','_initUnhandledRejectionListener','Inject','_notificationService','debounce','moveTo','_document','init','START_CALCULATION','unsubscribe','off-line-icon','APPLY_NON_SEQUENTIAL_REVISION','#FFF','symbol','requireSession','mapTo','getOffsetConfig','socket$','restore','MessageType','replaceState','OTHER_CLIENT_EDITING','string','highlight','TEXT_RANGE_LAYER_INDEX','dispose$','fillStyle','transformRemoteChangeset','key','_initEvent','width','IURLService','ICommandService','COMPLETION_FINISHED','AUTHORIZE_CODE_ILLEGAL','set','startFormulaLimitUrl','generateRandomId','urlChange$','UNIVER_SHEET','_shapes','_onRefRangeChange','exhaustSavingTask','addEventListener','handleIRemoveCol','combineLatest','Unknown\x20user','_hovered','getFocusedUnit','serializeRangeWithSheet','replace','clearInterval','_docClipboardService','getCellPositionByOffset','DocIMEInputManagerService','YUUMI_CONNECTOR_URL_NOT_FOUND','IUniverInstanceService','_backgroundColor','7360055EcqddW','_onCursorDelete','none','_removeCollabCursors','setTimeout','_status$','complete','SNAPSHOT_HAS_BEEN_REMOVED','FormulaExecuteStageType','YUUMI_NO_CUBOID_FOR_QUESTION','SessionStatus','getCellMatrix','_getSaveTimeout','CanceledError','CLOSE_ROOM','_showText','_updateCollabCursors','IDocClipboardService','MOBILE_HAS_BEEN_BOUND','PENDING','toRgbString','override','lineno','LICENSE_MAX_UNITS_EXCEEDED','SHEET_VIEWPORT_KEY','_updateURLWithCurrentState','Failed','/universer-api/license/formula/limit/start','_transformHistoryAndStateStack','subscribeEvent','_docTransformSelectionsService','ENTITLE_CHAT_LIMIT_EXCEED','_collabCursorState$','mergeOverrideWithDependencies','YUUMI_UNABLE_LOAD_URL','_releaseCalculationLimit','_dataLoaderService','defIds','selections','session.connection-failed','_handleHover','has','closePath','pluginName','operators','[RemoteUniscriptService]:\x20no\x20focused\x20unit','touchDependencies','ENTITLE_NEED_BILLING_ADDRESS','Injector','_docTransformStateCacheService','_handleHeartbeatEvent','OnLineIcon','_docTransformIMECacheService','_initUserListener','[Window\x20Error]:\x20','UNAUTHENTICATED','setAlpha','removeEventListener','_hideTimer','fillText','MemberService','InsertRangeMoveDownCommandId','_refRangeService','purple.300','all','React','SYNCED','collabStatus.notCollab','location','blue.400','code','application/json','pipe','split','toDisposable','_highlightSecond','DeleteRangeMoveUpCommandId','UNIVER_DOC','ENTITLE_COUPON_USED_UP','PY_RUNTIME_SCRIPT_ERROR','375Fmterv','then','ERROR_AGAIN','wsSessionTicketUrl','actions','IMessageService','YUUMI_ALL_TABLES_IS_INVALID','sessionTicket','from','_startBlinking','SetSelectionsOperation','_hasFormulaInDirtyRanges','/universer-api/frontend/logs','_saveCache','EMAIL_HAS_BEEN_BOUND','getActiveRange','_initStatusListener','unitID','_roomMembers$','lineTo','RxDisposable','url(#$1','onTransformChange$','@univerjs/sheets-ui','fromEvent','getRenderById','_online','3335256oiReVT','div','@univerjs/drawing','now','getVpScrollXYInfoByPosToVp','UniverUi','JOIN_ROOM_FAILED','doc.mutation.rich-text-editing','currentTheme$','CollaborationDataLoaderController','collab-rect-range-','_memberID','find','setStateCache','COLORS','Module','isTransformMutationsWithChangesetSuccess','onPointerEnter$','USER_NOT_FOUND','_cachedData','SNAPSHOT_INVALID_SNAPSHOT','_logService','NOT_FOUND','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','ILogService','transformMutation','/run/','PERMISSION_DENIED','setShapeProps','parse','limitInfo','onLocalMutation','_registerDependencies','getParam'];_0x458d=function(){return _0x166f88;};return _0x458d();}
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 _0x3f66(_0x54fc7e,_0x4059a8){_0x54fc7e=_0x54fc7e-0xbb;var _0x2deceb=_0x2dec();var _0x3f66fe=_0x2deceb[_0x54fc7e];return _0x3f66fe;}(function(_0x3dccbd,_0x42b6d3){var _0x238faa=_0x3f66,_0xa0cd98=_0x3dccbd();while(!![]){try{var _0x351b8f=parseInt(_0x238faa(0xc8))/0x1+parseInt(_0x238faa(0xc6))/0x2*(-parseInt(_0x238faa(0xc7))/0x3)+parseInt(_0x238faa(0xc2))/0x4+-parseInt(_0x238faa(0xbc))/0x5*(-parseInt(_0x238faa(0xbf))/0x6)+-parseInt(_0x238faa(0xc4))/0x7*(parseInt(_0x238faa(0xcc))/0x8)+parseInt(_0x238faa(0xce))/0x9*(parseInt(_0x238faa(0xc9))/0xa)+-parseInt(_0x238faa(0xbe))/0xb;if(_0x351b8f===_0x42b6d3)break;else _0xa0cd98['push'](_0xa0cd98['shift']());}catch(_0x3ab0b2){_0xa0cd98['push'](_0xa0cd98['shift']());}}}(_0x2dec,0x740df),function(_0x2adffd,_0x1c8db9){var _0x74bd25=_0x3f66;typeof exports==_0x74bd25(0xca)&&typeof module<'u'?_0x1c8db9(require('@univerjs-pro/collaboration-client-ui'),require('@univerjs/core/facade')):typeof define==_0x74bd25(0xcd)&&define[_0x74bd25(0xc3)]?define(['@univerjs-pro/collaboration-client-ui','@univerjs/core/facade'],_0x1c8db9):(_0x2adffd=typeof globalThis<'u'?globalThis:_0x2adffd||self,_0x1c8db9(_0x2adffd[_0x74bd25(0xc1)],_0x2adffd[_0x74bd25(0xc5)]));}(this,function(_0x24fa77,_0x8a172b){'use strict';var _0x269de6=_0x3f66;class _0x1ab7bd extends _0x8a172b[_0x269de6(0xbb)]{[_0x269de6(0xbd)](_0x180006,_0x42df85,..._0x4a58ca){var _0x2638be=_0x269de6;return this[_0x2638be(0xc0)]['get'](_0x24fa77[_0x2638be(0xcb)])[_0x2638be(0xbd)](_0x180006,_0x42df85,{},..._0x4a58ca);}}_0x8a172b[_0x269de6(0xbb)]['extend'](_0x1ab7bd);}));function _0x2dec(){var _0x170477=['UniverCoreFacade','10ErtMKp','44313CbnuRj','43887xsbUho','10GXMRrB','object','RemoteUniscriptService','79160xEVqoC','function','7449597txVLby','FUniver','5jmWMhC','runOnServer','10376729vpsmtx','2013582hSmLHa','_injector','UniverProCollaborationClientUi','3001604YqJniC','amd','329GwHIRe'];_0x2dec=function(){return _0x170477;};return _0x2dec();}
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"})}));