@univerjs-pro/collaboration-client 0.5.0-nightly.202411091605 → 0.5.0-nightly.202411111606
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +16 -16
package/lib/umd/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function _0x4e9c(_0x106a58,_0x56134e){const _0x2b24bd=_0x2b24();return _0x4e9c=function(_0x4e9cdb,_0xe1c9fe){_0x4e9cdb=_0x4e9cdb-0x196;let _0x37c12a=_0x2b24bd[_0x4e9cdb];return _0x37c12a;},_0x4e9c(_0x106a58,_0x56134e);}function _0x2b24(){const _0x1bcd45=['execute','_socketMessageSubscription','RichTextEditingMutation','csShouldRetryEvent','getImageSourceCache','removeMember','/-/object/list','isTransformMutationsWithChangesetFailure','ILogService','/unit/','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','unsubscribe','resolve','onTransformRemoteChangesetByIMECache','[SyncedState]:\x20received\x20acknowledgement.','blue400','setInterval','IAuthzIoService','ICollaborationSocketService','setTimeout','_clearOtherTimers','getUndoRedoMutationParamsCache','_replaceFileID','shouldCloseConn','@univerjs/docs','getMergeData','clamp','BuiltInUIPart','_socketReady','_localCacheService','snapshotServerUrl','getColor','_keySchedule','getParam','with','finalize','_notificationService','_getScale','@univerjs/docs-ui','_transformHistoryAndStateStack','equals','objects','_textBubble','SNAPSHOT_URL_KEY','onTransformRemoteChangesetByStateCache','[UniverCollaborationClientPlugin]','BASE64','_updateURLWithCurrentState','setParam','_unitStatus','_tryReconnect','bottom','_undoStacks','_sendHeartbeat','clone','_context','PSEUDO_FETCH_MISSING_RESULT','registerBeforeClose','_refRangeService','CollaborationEntity','getCollabEntity','retryConnectingInterval','_handleHeartbeatEvent','parseProtocolChangeset','disableLocalCache','HEADER_MENU','_candidateSocket','react','size','[CollaborationSession]','_backgroundColor','OffLineSingle','_waitCount','off-line-single','enableSingleActiveInstanceLock','ThresholdInterceptorFactory','_listenToOnlineEvent','setUndoRedoMutationParamsCache','CHANGESET_REJ','awaiting','dispose','_clearScheduledTask','UNRECOGNIZED','set','LocalUndoRedoService','@univerjs/sheets-ui','url(#off-line-single_clip0_910_343)','forEach','close$','cmd','svg','unshift','_onJoinRoomEvent','initWorkbookPermissionChange','on-line-single_clip0_910_349','getTypeOfUnitDisposed$','for','InsertSheetMutation','AWAITING','_state$','socket$','unitID','assign','_updateCollabCursors','measureText','_setupBeforeClosingHandler','IRemoteInstanceService','fetchThroughInterceptors','_getUndoStack','_transformRemoteChangesetByIMECache','_sendHeartbeatTimer','onReady','newCsEvent','FETCH_MISS','transformSelections','Rectangle','error$','updateCursorEvent','push','ERROR_IMAGE','UniverNetwork','@univerjs/ui','_onOffline','[OfflineState]:\x20received\x20changeset.','[PendingState]:\x20received\x20rejection.','forwardRef','handleIRemoveRow','ICommandService','blockSize','_pendingMutations','_onUserLeave','createInstance','isTransformMutationFailure','send','_transitionLocked','_setupSubUnitSync','SheetCollaborationEntity','className','IPermissionService','replace','[FetchMissState]','_createInitialStateImpl','transformStateCache','UNIVER_UNKNOWN','_saveCache','random','_submitChangeset','_telemetryInfo','_state','mergeOverrideWithDependencies','Malformed\x20UTF-8\x20data','onPointerLeave$','_cursors','_getSnapshotAPIPrefix','fetchMiss','ENSURE_SNAPSHOT_EXECUTION','SetSelectionsOperation','MSG_FOR_ERROR','jsxs','b64DecodeUnicode','createIdentifier','_initRequestHeader','url','ColorKit','reqId','getValue','commentUpdate$','getUnitType','putCollaborators','COLLAB_WEB_SOCKET_URL_KEY','gold400','byteOffset','serializeCombRequest','SNAPSHOT_HAS_BEEN_REMOVED','_labelPosition','_map','...','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','event$','members','ReactCurrentOwner','getActiveSheet','subscribe','/universer-api/comb','_fetchMissChangesets','__creator','replaceDocRanges','_createInitialState','mixIn','SHOULD_CLOSE_CONN','_initStatusComponent','onlineStatusIcon','DisposableCollection','children','defIds','_cursorShapes','ciphertext','debounce','encrypt','image/gif','_getAnchorBounding','RxDisposable','getUnit','_docTransformIMECacheService','_startDocCollabCursor','CHANGESET_ACK','_onCursorUpdate','getRenderById','transformStack\x20failed!','UniverSheets','m2Prime','every','DocCollaborationEntity','HttpImport','COLLAB_SUBMIT_CHANGESET_URL','_collabSessionService','RefRangeService','DependentOn','setStateCache','string','@univerjs/rpc','rev','\x20in\x20_schedule.','useRef','_collaborationSessionService','&assign=','json','onRemoteAck','length','_redoStacks','USERS_ENTER','CollaborationSocketService','startTime','type','result','Vector2','off-line-single_clip0_910_343','unitId\x20is\x20not\x20found','currentTheme$','getUnitId','collabStatus.conflict','subUnitId','_onRefRangeChange','&source=','UNKNOWN_CODE','Rect','_init','getRangePointData','collaboratorID','unitId','_onConnectionOpen','kdf','changesets','sid','_handleEvent','UniverCollaborationClientPlugin','body','Module','collab-text-range-','setConfig','reduce','CHANGESET_REVISION_CONFILICT','_stopTelemetryCollaborationNewChangeset','AWAITING_WITH_PENDING','VIEW_MAIN','_undoRedoService','getCurrentUser','_handleJoinEvent','hasOwnProperty','getUniverSheetInstance','_commentService','_send','_hash','CollaborationStatusDisplay','_changesetReqId','saveImage','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','getTime','UniverUi','collabStatus.syncing','handleDeleteRangeMoveUp','idSuffix','docStateChange$','_exhaustRemoteChangesetQueue','$super','BlockCipher','[CollaborationSessionService]','setAlpha','AuthzIoHttpService','_clearUndo','charAt','BehaviorSubject','_messageService','clipPath','withCredentials','currentSkeleton$','collabWebSocketUrl','asObservable','onRemoteRej','SnapshotService','objectID','_scheduleTimestamp','getTypeOfUnitAdded$','JOIN','responseType','hasher','mode','getConfig','_initMergeInterceptor','TRANSFORM_CHANGE_OBSERVABLE_TYPE','save','ws://127.0.0.1:8000/universer-api/comb/connect','endColumn','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','saveOfflineData','sin','deepClone','Undefined','?url=','_incrementRevisionNumber','_name','handleInsertRangeMoveDown','LIVESHARE_FETCH_OPERATIONS','/collaborator','_getAPIPrefixPath','batchAllowed','_removeRoom','addObjects','Decryptor','_status$','randomUUID','includes','buffer','UNDEFINED','_nDataBytes','\x20-\x20','formatter','redoState','editing\x20status\x20changed\x20to','onMouseMove','univer-pro.collaboration-client.single-active-unit-service','/object/','fillStyle','TEXT_RANGE_LAYER_INDEX','incrementRevOfUnit','routeKey','pad','colorChannel1','infoRsp','DocIMEInputManagerService','UNIVER_DOC','_roomMembers','takeUntil','objectType','DocSkeletonManagerService','_transformStateCache','EmptyMutation','_transformUndoRedoStack','getFocusedUnit','onRemoteChangeset','_logService','DOC_RANGE_TYPE','1em','newValue','joinRsp','session.room-full','Plugin','LocalCacheService','unpad','/universer-api/file/{fileID}/sign-url','_clearHeartbeatTimer','ImageIoService','getUnitStatus$','_colorAssignService','collabStatus.synced','_assignedColors','snapshot','createCollaborator','_anchor','Injector','\x0aCurrent:\x20','ivSize','xlink:href','unknown','ImageUploadStatusType','OFFLINE','requestParams','_updateLocalCursor','rng','extend','displayName','ranges','black','SUBMIT_CHANGESET','HMAC','_drawTextRange','indexOf','onTransformChange$','conflict.title','restore','failed\x20to\x20apply\x20missed\x20changesets!','msCrypto','[PendingState]:\x20received\x20acknowledgement.','action','0\x200\x2017\x2016','_getSignURL','toggleOffline','RECV','WebSocketService','CONNECTOR_DATA_TOO_LARGE','sheetId','message$','_docTransformStateCacheService','getOffsetConfig','top','UniverNetworkPlugin','_getSheetObject','_colorIndex','getMemberID','PERMISSION_REJ','color','_updateLocalCache','downloadEndpointUrl','collab-client.tooltip.reconnect','subunit','MoveRangeCommandId','mapTo','_createSocket','toLowerCase','_event$','offline','_imageSourceCache','_collaborationTimeoutTimer','allowed','fillRule','status$','_onFetchMissResult','purple300','_scheduleClearOtherTimer','RegularPolygon','_initResize','_change$','_injector','LocaleService','enableAuthServer','ISnapshotServerService','LICENSE_DISTRO_REJECTED','getDocRanges','reconnect','awaitingChangeset','@univerjs/engine-render','title','src','UniverSheetsUi','collaboration-client.config','resize','DocSelectionManagerService','requireSession','_localStorageService','decryptBlock','fromEvent','_getSaveTimeout','debounceTime','_removeClearOtherTimer','workbook','_uiPartsService','width','_color','UnitSnapshot','_listenToOfflineEvent','@univerjs/design','#FFF','getViewport','_cursor','enc','_throwTelemetryCollaborationNewChangeset','online','assignAColorForMemberID','lineTo','loginUrlKey','_handleLeaveEvent','getVpScrollXYInfoByPosToVp','_append','drawWith','InsertRowCommandId','SNAPSHOT_INVALID_SNAPSHOT','getLatestCsReqIdBySid','_initUnitPermissionChange','whenReady','generateRandomId','fetching\x20missing\x20changesets\x20from\x20','post','createSocket','onlineStatusTitle','transformChangesets','SHA1','univer-online-status-title','filter','ITelemetryService','/object','toString','saveChangeset','fetchMissingChangesets','LOGIN_URL_KEY','byteLength','IMessageService','_getCurrentRevision','uploadFileServerUrl','defineProperty','_onCombEvent','hide','sheets','addObject','activeSheet$','_hover','_lockTransition','Disposable','compute','doc.mutation.rich-text-editing','UniverCollaborationClient','_startSheetCollabCursor','onTransformSelections','HmacSHA1','collab-rect-range-','map','algo','Base','_hovered','CompressMutationService','closeSession','449874VdJXeg','Pkcs7','auth.needGotoLoginAlert','#fff','awaiting_with_pending','socket\x20open.','translate(.97)','_retryCount','pending','/new_changes','_updateState','Hex','CBC','disposeUnit','1022367kTwjnX','_hideTimer','UniverEngineFormula','interceptor','_clearTimeoutTimer','IBeforeCloseService','rxjs/operators','_socket','_createHandler','HEARTBEAT','onSyncEditingCollabCursor','NOT_COLLAB','react.fragment','x-univer-host','range','Workbook','splice','univer-pro.collaboration-client-socket-service','conflict.content','LEAVE','_oKey','registerRenderModule','take','UNIVER_SHEET','textRanges','ImageSourceType','TOO_MANY_REQUESTS','_registerRenderDependencies','BufferedBlockAlgorithm','_ensureSubject','apply','HEARTBEAT_INTERVAL_KEY','_queuedRemoteChangesets','_loadSheet','searchParams','m1Prime','FromArray','16PkkDpR','_unlockTransition','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','Tooltip','COMPRESS_MUTATION_APPLY','onPointerEnter$','POST','@univerjs/drawing','not_collab','executeCommand','UniverDesign','column','makeDirty','getCollabEntity$','add','format','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','complete','_handler','_parse','_collaborationPaused','_lastPointer','_compressMutationService','SEND_CHANGESET_TIMEOUT','/universer-api/authz','error','min','_collabCursorController','backgroundColor','dispose$','_initCommandExecutedListener','onCommandExecuted','roles','Inject','COLORS','_configService','stopTime','state$','iterations','override','HELLO','ONLINE','leaveEvent','INVALID_ARGUMENT','SheetPermissionInitController','words','UnitEmbedded','_userManagerService','UniverRpc','call','touchDependencies','_onConnectionFailed','sessionStatus$','_toggleOffline','MessageType','getInterceptPoints','ITransformService','_process','_showConflictNotification','_permissionService','_clearLocalCache','_instanceService','isActive','getCurrentRevOfUnit','INTERNAL_ERROR','toDisposable','ThemeService','getSheetObject','div','ceil','IImageIoService','_transformUndoredo','substr','_cursorInfo$','YUUMI_SUBSCRIPTION_NOT_FOUND','Unknown\x20user','collabCursorState$','_updateSubUnitFromURLParams','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','[DataLoaderController]','location','_tryEnsureSocket','submit\x20changeset\x20error!','reverse','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','onMissingChangesets','_ENC_XFORM_MODE','_renderManagerService','_beforeCloseService','CollaborationStatus','prototype','registerHTTPInterceptor','cursorInfo$','Base64','_shouldReportTelemetry','_id','SerializableCipher','roomMembers','sequenceExecute','onMissedChangesetFetched','get','onlineStatus','_rescheduleHeartbeat','_getSendChangesetTimeout','UNIVER_PROJECT','Fragment','_transformIMECache','_resendTimeout','now','from','YUUMI_UNABLE_LOAD_URL','randomBytes','_commentUpdate$','put','InsertColCommandId','pushState','@univerjs/telemetry','onRemoteRetry','_range','_localeService','join','getAncestorScale','create','LIVESHARE_OPERATION','_sender','OTHER_CLIENTS_EDITING','SNAPSHOT_SERVER_URL_KEY','_handleHover','merge','originalMeta','_changesetSessionId','_scheduleSaving','WordArray','HEARTBEAT_TIMEOUT_KEY','arc','code','symbol','ref','UniverTelemetry','UniverCore','entries','_drawAnchor','_getCtorByUniverType','getStateCache','_resendWithTimeout','getCollabCursors$','_loadDoc','engine','7319040eIJGmU','fillText','conflict','on-line-single','[CollaborationUndoRedoService]','update','_doCryptBlock','@univerjs/network','jsx','COLLAB_WEB_SOCKET_URL','ERROR_EXCEED_SIZE','text','/block/','_awaitingChangeset','floor','_resendTimer','headers','deserializeRangeWithSheet','name','getRelativeToViewportCoord','_toggleOnline','actions','c1Prime','UniverInstanceType','enableLocalCache','find','_syncEditingCollabCursorService','__esModule','onStateChange','_reverseMap','8ORMsRP','LOCAL_CACHE_INTERVAL_KEY','createElement','EffectRefRangId','_timeoutTimer','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','LICENSE_IMPORT_SIZE_EXCEEDED','_eventUnsubscribe','Tools','path','AES','/-/object/-/batch_allowed','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','focused$','cfg','selection','replaceState','sendChangesetTimeout','LICENSE_MAX_UNITS_EXCEEDED','_type','YUUMI_URL_COL_OUT_OF_RANGE','_roomMembers$','verdancy600','_iv','copyFileMeta','_iKey','_DEC_XFORM_MODE','mutations','switchMap','HttpExport','_getRedoStack','padding','appendMutation','getRandomValues','collabStatus.fetchMiss','roomInfos','ERROR_IMAGE_TYPE','session.connection-failed','&to=','urlChange$','Shape','_snapshotServerService','registerDependencies','startRow','defaultProps','_disabled','_nRounds','defs','distinctUntilChanged','HTTPRequest','react.element','_transformSelections','_ws','CollaborationController','_config','findNodePositionByCharIndex','toStringTag','setShapeProps','_unitOnClients','UNIVER_SLIDE','cursorInfo','PERMISSION_DENIED','delay','_docSkeletonManagerService','transformMutationsWithChangeset','sessionStatus','_substituteRedoStack','@univerjs/sheets','COLLAB_SUBMIT_CHANGESET_URL_KEY','_getUploadFileURL','INGEST','{fileID}','_executeRemoteChangeset','DeleteRangeMoveUpCommandId','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_substituteUndoStack','getRoom','then','refreshPermission','parse','history','saveSheetBlock','NO_OTHER_CLIENTS_EDITING','/resources','_entityInit$','_univerInstanceService','univer-online-status-icon','permissionRejEvent','encode','SetWorksheetActivateCommand','deleteCollaborator','evenodd','getSheetBySheetId','_drawRectRange','NodePositionConvertToCursor','open$','_onLocalMutation','_urlService','mapDocumentTypeToUniverType','method','APPLY_DUPLICATED','getResourcesRequest','_session','updateOfflineData','UPDATE_CURSOR','_doFinalize','LIVESHARE_REQUEST_HOST','_getDownloadEndpointURL','IDLE','CollaborationEvent','IUniverInstanceService','_cipher','isTransformMutationsWithChangesetSuccess','_xformMode','_singleActiveUnitService','handleIRemoveCol','_scheduleCollaborationTimeoutTimer','clear','NodePositionConvertToRectRange','session','use','Hasher','socket\x20close','_applyRemoteChangeset','WorkbookEditablePermission','_HTTPService','NoPadding','_collabCursorState$','setCurrentUser','getSheetId','round','_sessions','COMPLETION_FINISHED','isInternalEditorID','connection\x20error','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_revisionService','@univerjs/core','params','crypto','_anchorDot','_sendingTimer','onTransformState','deserializeToCombResponse','MergeInterceptorFactory','MemberService','_socket$','encryptBlock','FETCH_MISSING','isTransformChangesetsSuccess','CollaborationSession','concat','APPLY_NON_SEQUENTIAL_REVISION','_remoteChangesetQueue','univer-offline','_docSkeleton','UniverDocsUi','CommandType','Error','[CollaborationEntity]','decrypt','[CollaborationSessionService]:\x20socket\x20error','HEARTBEAT_INTERVAL','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','collaboration.closeRoom','_memberService','eventID','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','editingUnit','/allowed','_onCursorDelete','_joinRoom','useDependency','_createHelper','_collaborationController','RETRY_CONNECTING_MAX_COUNT_KEY','_cachedData','getSkeleton','collaMsg','_prevBlock','DesktopCollaborationStatusDisplayController','univerjs-icon\x20univerjs-icon-','getCurrent','object','resourceIDs','_sessionStatus$','PENDING','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','Encryptor','JOINING','_online','_docSyncEditingCollabCursorService','_shapes','localeService','Warning','transform','\x20to\x20','duration','FileId','rxjs','_createHmacHelper','createEncryptor','unload','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','handleInsertRow','NOT_FOUND','Utf8','popstate','APPLY_REJECT','1145604CRCqvJ','collaboration-session-retry','LICENSE_EXPORT_SIZE_EXCEEDED','capture','APPLY_REVISION_CONFILICT','ACTIVE_UNIT_EVENT_CHANNEL','onSendChangeset','max','stringify','_clearRedo','loadOfflineData','runRefRangeMutations','connectInjector','transformRemoteChangeset','0\x200\x2016\x2016','getDeserializedSheetBlock','MD5','height','closePath','_data','concatMap','_key','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','parseChangesetToProtocol','RevisionService','_saveTaskMap','next','_socketService','contains','COMMENT_UPDATE','change$','_acknowledgedAwaitingChangeset','memberID','throttleTime','readAsDataURL','clearTimeout','exhaustSavingTask','fill','exports','UniverCollaborationPlugin','catch','getCurrentUnitForType','MUTATION','liveShareOperation','setShowComponents','red300','RECT','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_registerDependencies','_sheetTransformSelectionsService','/fetchmissing?from=','getItem','CHANGESET_SHOULD_RETRY','current','collab-text-anchor-','__Key__','UniverCollaboration','getActiveRange','uni.network.url-service','getImage','reset','updatePermissionPoint','IContextService','IRenderManagerService','sigBytes','list','_unitID','SUCCUSS','FAIL','_onRemoteACK','pipe','IUndoRedoService','authzUrl','startColumn','row','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','AUTHZ_URL_KEY','isEditing','M0\x200H16V16H0z','data','_heartbeatTimer','setItem','Optional','HmacMD5','_mode','synced','_refreshCollabCursors','bind','resend','onTransformIME','addEventListener','icon','_onConflict','_initDependencies','_schedule','_docStateChangeManagerService','_retryConnectingTimer','transformMutation','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','6TgJZKG','onCommentUpdate','[OfflineState]:\x20received\x20acknowledgement.','delete','InsertRangeMoveDownCommandId','UNAUTHENTICATED','1102nHLHQM','image/jpeg','handleMoveRange','_hasher','_getAPIPrefix','fromCharCode','target','/rev/','LIVESHARE_NEW_HOST','HTTPService','show','baseRev','function','permission.content','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_entities','joinEvent','status','SheetsSelectionsService','UniverEngineRender','attrs','_isPermissionRej','_syncEditingCollabCursor','shareReplay','VIEWPORT_KEY','@univerjs-pro/collaboration','updateMember','has','1139035xplNpz','close','addImageSourceCache','UPDATE_PERMISSION_OBJ','disposeWithMe','_scheduleHeartbeat','_transformRemoteChangesetByStateCache','href','onload','registerRefRange','transformUndoRedo','lib','_snapshotService','subscribeEvent','image/bmp','revision','values','_checkMissing','Subject','_clearCollaborationTimeoutTimer','_transformService','\x0aAfter:\x20','isArray','_startCollaboration','_transformPreviousActiveRange','key','debug','NEW_CHANGESETS','reject','fromEventSubject','YUUMI_RATE_OVER_LIMIT','_minBufferSize','INotificationService','getUnitOnRev','_doProcessBlock','_initEventListeners','UniverDrawing','collaboration-client.offline-data-not-saved','syncEditingCollabCursor','_removeCollabCursors','_telemetryService','IConfigService','Could\x20not\x20dynamically\x20require\x20\x22','selections','permission.title','slice','_members','_getLoginPath','endRow','roomMembers$','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_invKeySchedule','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','USERS_LEAVE','DataLoaderController','_selfUnitIDs','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','enableOfflineEditing','SYNCED','fetch_missing','_onRemoteRejected','tag','CollaborationSessionService','getUnhiddenWorksheets','csAckEvent','EvpKDF','getSheetBlock','SnapshotServerOverHTTPService','_themeService','getCurrentSelections','_sheetSkeletonManagerService','APPLY_PERMISSION_DENIED','onPointerMove$','textEncoder','init','currentColor','csRejEvent','_transformStack','useObservable','CONFLICT','getOwnPropertyDescriptor','image/jpg','getOwnPropertySymbols','_disableEditing','_commandService','_scene','_decreaseWaiting','Cipher','undoState','getCoordByCell','_keyPriorReset','_waitForHeartbeatResponse','LIVESHARE_TERMINATE','[CollaborationState]:\x20apply\x20error!','some','_updateStatus','collaborators','getMember','BlockCipherMode','1455734HqoKsY','_httpService','clearInterval','state','EXCHANGE_SIGN_URL_SERVER_URL_KEY','fromCollab','_onMessage','toggleOnline'];_0x2b24=function(){return _0x1bcd45;};return _0x2b24();}(function(_0x258242,_0x56eb7a){const _0x1de028=_0x4e9c,_0x51009e=_0x258242();while(!![]){try{const _0x4ad7ca=parseInt(_0x1de028(0x32d))/0x1*(parseInt(_0x1de028(0x519))/0x2)+-parseInt(_0x1de028(0x308))/0x3+-parseInt(_0x1de028(0x4b0))/0x4+parseInt(_0x1de028(0x535))/0x5*(parseInt(_0x1de028(0x513))/0x6)+-parseInt(_0x1de028(0x598))/0x7*(parseInt(_0x1de028(0x3df))/0x8)+parseInt(_0x1de028(0x2fa))/0x9+parseInt(_0x1de028(0x3c1))/0xa;if(_0x4ad7ca===_0x56eb7a)break;else _0x51009e['push'](_0x51009e['shift']());}catch(_0x31faeb){_0x51009e['push'](_0x51009e['shift']());}}}(_0x2b24,0x2cc41),function(_0x172fc7,_0x301313){const _0x570b3a=_0x4e9c;typeof exports==_0x570b3a(0x496)&&typeof module<'u'?_0x301313(exports,require(_0x570b3a(0x468)),require(_0x570b3a(0x4a6)),require(_0x570b3a(0x30e)),require(_0x570b3a(0x2be)),require(_0x570b3a(0x619)),require(_0x570b3a(0x3c8)),require(_0x570b3a(0x532)),require(_0x570b3a(0x3a1)),require(_0x570b3a(0x5c6)),require(_0x570b3a(0x422)),require('@univerjs/engine-render'),require(_0x570b3a(0x5b8)),require(_0x570b3a(0x334)),require('@univerjs/engine-formula'),require(_0x570b3a(0x5f5)),require(_0x570b3a(0x5e3)),require('@univerjs/rpc')):typeof define==_0x570b3a(0x525)&&define['amd']?define([_0x570b3a(0x4d6),_0x570b3a(0x468),_0x570b3a(0x4a6),'rxjs/operators','@univerjs/design','@univerjs/ui',_0x570b3a(0x3c8),_0x570b3a(0x532),_0x570b3a(0x3a1),_0x570b3a(0x5c6),_0x570b3a(0x422),_0x570b3a(0x2aa),_0x570b3a(0x5b8),_0x570b3a(0x334),'@univerjs/engine-formula',_0x570b3a(0x5f5),_0x570b3a(0x5e3),_0x570b3a(0x1c4)],_0x301313):(_0x172fc7=typeof globalThis<'u'?globalThis:_0x172fc7||self,_0x301313(_0x172fc7[_0x570b3a(0x2ef)]={},_0x172fc7[_0x570b3a(0x3b8)],_0x172fc7[_0x570b3a(0x4a6)],_0x172fc7['rxjs']['operators'],_0x172fc7[_0x570b3a(0x337)],_0x172fc7[_0x570b3a(0x1fe)],_0x172fc7[_0x570b3a(0x618)],_0x172fc7[_0x570b3a(0x4e8)],_0x172fc7[_0x570b3a(0x3b7)],_0x172fc7[_0x570b3a(0x47b)],_0x172fc7[_0x570b3a(0x1b9)],_0x172fc7[_0x570b3a(0x52c)],_0x172fc7['UniverDocs'],_0x172fc7[_0x570b3a(0x559)],_0x172fc7[_0x570b3a(0x30a)],_0x172fc7[_0x570b3a(0x2ad)],_0x172fc7['React'],_0x172fc7[_0x570b3a(0x35d)]));}(this,function(_0xc68ebf,_0x260eff,_0x543965,_0x59f7e7,_0x5b25cc,_0x604b87,_0x155315,_0x11d062,_0x2b3aba,_0x1517b1,_0x47516e,_0x1f079c,_0x433bf3,_0x19d17d,_0x3f4006,_0x3393de,_0x4f19ed,_0x57856c){'use strict';const _0x5e0aad=_0x4e9c;var _0x376502=Object[_0x5e0aad(0x2e4)],_0x376eef=(_0x4601a6,_0x5c06c2,_0x1fcc99)=>_0x5c06c2 in _0x4601a6?_0x376502(_0x4601a6,_0x5c06c2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1fcc99}):_0x4601a6[_0x5c06c2]=_0x1fcc99,_0x133e34=(_0x595957,_0x1ed8f2,_0x2a9bed)=>_0x376eef(_0x595957,typeof _0x1ed8f2!=_0x5e0aad(0x3b5)?_0x1ed8f2+'':_0x1ed8f2,_0x2a9bed);const _0x7baa0b='SNAPSHOT_SERVER_URL_KEY',_0x160498='/universer-api/snapshot',_0x1b2b84='SNAPSHOT_URL_KEY',_0x1f76de=_0x5e0aad(0x344),_0x3e0ff9=_0x5e0aad(0x3ca),_0x40b237=_0x5e0aad(0x21f),_0x337e6a=_0x5e0aad(0x481),_0x382caf='HEARTBEAT_TIMEOUT',_0x347671='RETRY_CONNECTING_MAX_COUNT',_0x514025='LOCAL_CACHE_INTERVAL',_0x9131fa=_0x5e0aad(0x1be),_0x534986=_0x5e0aad(0x19f),_0x38bbff=_0x5e0aad(0x2df),_0xfc3e4='/universer-api/oidc/authpage';var _0x43b34c=(_0x3d4a60=>(_0x3d4a60[_0x3d4a60[_0x5e0aad(0x235)]=0x0]='UNDEFINED',_0x3d4a60[_0x3d4a60['OK']=0x1]='OK',_0x3d4a60[_0x3d4a60['INTERNAL_ERROR']=0x2]=_0x5e0aad(0x36d),_0x3d4a60[_0x3d4a60['PERMISSION_DENIED']=0x3]=_0x5e0aad(0x41c),_0x3d4a60[_0x3d4a60[_0x5e0aad(0x4ac)]=0x4]=_0x5e0aad(0x4ac),_0x3d4a60[_0x3d4a60[_0x5e0aad(0x518)]=0x5]='UNAUTHENTICATED',_0x3d4a60[_0x3d4a60['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x3d4a60[_0x3d4a60[_0x5e0aad(0x358)]=0x7]=_0x5e0aad(0x358),_0x3d4a60[_0x3d4a60[_0x5e0aad(0x322)]=0x8]='TOO_MANY_REQUESTS',_0x3d4a60[_0x3d4a60[_0x5e0aad(0x463)]=0x9]=_0x5e0aad(0x463),_0x3d4a60[_0x3d4a60[_0x5e0aad(0x1ed)]=0x1389]=_0x5e0aad(0x1ed),_0x3d4a60[_0x3d4a60[_0x5e0aad(0x2cd)]=0x1771]=_0x5e0aad(0x2cd),_0x3d4a60[_0x3d4a60[_0x5e0aad(0x64d)]=0x1772]=_0x5e0aad(0x64d),_0x3d4a60[_0x3d4a60[_0x5e0aad(0x63b)]=0x1773]=_0x5e0aad(0x63b),_0x3d4a60[_0x3d4a60[_0x5e0aad(0x4af)]=0x1b59]=_0x5e0aad(0x4af),_0x3d4a60[_0x3d4a60[_0x5e0aad(0x477)]=0x1b5a]=_0x5e0aad(0x477),_0x3d4a60[_0x3d4a60[_0x5e0aad(0x4b4)]=0x1b5b]=_0x5e0aad(0x4b4),_0x3d4a60[_0x3d4a60[_0x5e0aad(0x57c)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x3d4a60[_0x3d4a60[_0x5e0aad(0x443)]=0x1b5d]='APPLY_DUPLICATED',_0x3d4a60[_0x3d4a60[_0x5e0aad(0x281)]=0x1f41]=_0x5e0aad(0x281),_0x3d4a60[_0x3d4a60[_0x5e0aad(0x3f1)]=0x2329]=_0x5e0aad(0x3f1),_0x3d4a60[_0x3d4a60[_0x5e0aad(0x221)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x3d4a60[_0x3d4a60[_0x5e0aad(0x3e5)]=0x232b]=_0x5e0aad(0x3e5),_0x3d4a60[_0x3d4a60[_0x5e0aad(0x4b2)]=0x232c]=_0x5e0aad(0x4b2),_0x3d4a60[_0x3d4a60[_0x5e0aad(0x2a6)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x3d4a60[_0x3d4a60[_0x5e0aad(0x39b)]=0x2711]=_0x5e0aad(0x39b),_0x3d4a60[_0x3d4a60[_0x5e0aad(0x3f3)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x3d4a60[_0x3d4a60[_0x5e0aad(0x553)]=0x2713]=_0x5e0aad(0x553),_0x3d4a60[_0x3d4a60[_0x5e0aad(0x377)]=0x2714]=_0x5e0aad(0x377),_0x3d4a60[_0x3d4a60['UNRECOGNIZED']=-0x1]=_0x5e0aad(0x5f2),_0x3d4a60))(_0x43b34c||{}),_0x376044=(_0x5c9eb8=>(_0x5c9eb8[_0x5c9eb8[_0x5e0aad(0x62f)]=0x0]='UNIVER_UNKNOWN',_0x5c9eb8[_0x5c9eb8[_0x5e0aad(0x246)]=0x1]=_0x5e0aad(0x246),_0x5c9eb8[_0x5c9eb8[_0x5e0aad(0x31f)]=0x2]=_0x5e0aad(0x31f),_0x5c9eb8[_0x5c9eb8['UNIVER_SLIDE']=0x3]=_0x5e0aad(0x41a),_0x5c9eb8[_0x5c9eb8[_0x5e0aad(0x395)]=0x4]=_0x5e0aad(0x395),_0x5c9eb8[_0x5c9eb8[_0x5e0aad(0x5f2)]=-0x1]=_0x5e0aad(0x5f2),_0x5c9eb8))(_0x376044||{}),_0x1f5e17=(_0x4432c9=>(_0x4432c9[_0x4432c9['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x4432c9[_0x4432c9['HELLO']=0x1]=_0x5e0aad(0x355),_0x4432c9[_0x4432c9['JOIN']=0x2]='JOIN',_0x4432c9[_0x4432c9['LEAVE']=0x3]=_0x5e0aad(0x31b),_0x4432c9[_0x4432c9[_0x5e0aad(0x425)]=0x4]=_0x5e0aad(0x425),_0x4432c9[_0x4432c9['HEARTBEAT']=0x5]=_0x5e0aad(0x311),_0x4432c9[_0x4432c9[_0x5e0aad(0x27f)]=0x6]=_0x5e0aad(0x27f),_0x4432c9[_0x4432c9[_0x5e0aad(0x5f2)]=-0x1]=_0x5e0aad(0x5f2),_0x4432c9))(_0x1f5e17||{}),_0x2f4484=(_0x1b35a9=>(_0x1b35a9[_0x1b35a9[_0x5e0aad(0x1dc)]=0x0]=_0x5e0aad(0x1dc),_0x1b35a9[_0x1b35a9['OK']=0x1]='OK',_0x1b35a9[_0x1b35a9['FAIL']=0x2]=_0x5e0aad(0x4f4),_0x1b35a9[_0x1b35a9[_0x5e0aad(0x5f2)]=-0x1]='UNRECOGNIZED',_0x1b35a9))(_0x2f4484||{}),_0x27083f=(_0x391418=>(_0x391418[_0x391418['Undefined']=0x0]=_0x5e0aad(0x225),_0x391418[_0x391418['HttpImport']=0x1]=_0x5e0aad(0x1bd),_0x391418[_0x391418[_0x5e0aad(0x3fc)]=0x2]='HttpExport',_0x391418[_0x391418[_0x5e0aad(0x35b)]=0x3]=_0x5e0aad(0x35b),_0x391418[_0x391418[_0x5e0aad(0x2bc)]=0x4]='UnitSnapshot',_0x391418[_0x391418[_0x5e0aad(0x5f2)]=-0x1]='UNRECOGNIZED',_0x391418))(_0x27083f||{});const _0x48905f=_0x5e0aad(0x2ae),_0x3aef1e={};function _0x257780(_0x4b04bc){const _0x523121=_0x5e0aad;var _0x22cc19,_0x8f383,_0xacc026,_0x32e8eb,_0x1d4493;const _0x19bb2d=_0x4b04bc[_0x523121(0x4ff)],_0x353d4e=JSON[_0x523121(0x42e)](_0x19bb2d);switch(_0x353d4e[_0x523121(0x5f9)]){case _0x1f5e17[_0x523121(0x311)]:case _0x1f5e17[_0x523121(0x355)]:{const _0x306584=_0x353d4e[_0x523121(0x244)];return{..._0x353d4e,'data':_0x306584,'cmd':_0x353d4e[_0x523121(0x5f9)]};}case _0x1f5e17[_0x523121(0x217)]:{const _0x120a9b=_0x353d4e[_0x523121(0x254)];return{..._0x353d4e,'data':_0x120a9b,'cmd':_0x353d4e[_0x523121(0x5f9)]};}case _0x1f5e17[_0x523121(0x27f)]:{const _0x1bdd51=_0x353d4e[_0x523121(0x491)];switch(_0x1bdd51['eventID']){case _0x11d062[_0x523121(0x44c)][_0x523121(0x28b)]:return{..._0x353d4e,'data':{..._0x1bdd51,'data':(_0x22cc19=_0x1bdd51[_0x523121(0x436)])==null?void 0x0:_0x22cc19['cs']},'cmd':_0x353d4e['cmd']};case _0x11d062[_0x523121(0x44c)]['CHANGESET_ACK']:return{..._0x353d4e,'data':{..._0x1bdd51,'data':(_0x8f383=_0x1bdd51[_0x523121(0x575)])==null?void 0x0:_0x8f383['cs']},'cmd':_0x353d4e['cmd']};case _0x11d062['CollaborationEvent'][_0x523121(0x550)]:return{..._0x353d4e,'data':{..._0x1bdd51,'data':(_0xacc026=_0x1bdd51[_0x523121(0x610)])==null?void 0x0:_0xacc026['cs']},'cmd':_0x353d4e[_0x523121(0x5f9)]};case _0x11d062[_0x523121(0x44c)][_0x523121(0x5ee)]:return{..._0x353d4e,'data':{..._0x1bdd51,'data':(_0x32e8eb=_0x1bdd51[_0x523121(0x581)])==null?void 0x0:_0x32e8eb['cs']},'cmd':_0x353d4e['cmd']};case _0x11d062[_0x523121(0x44c)]['CHANGESET_SHOULD_RETRY']:return{..._0x353d4e,'data':{..._0x1bdd51,'data':(_0x1d4493=_0x1bdd51[_0x523121(0x5a3)])==null?void 0x0:_0x1d4493['cs']},'cmd':_0x353d4e[_0x523121(0x5f9)]};case _0x11d062['CollaborationEvent'][_0x523121(0x447)]:return{..._0x353d4e,'data':{..._0x1bdd51,'data':_0x1bdd51[_0x523121(0x615)]},'cmd':_0x353d4e[_0x523121(0x5f9)]};case _0x11d062[_0x523121(0x44c)][_0x523121(0x1ce)]:return{..._0x353d4e,'data':{..._0x1bdd51,'data':_0x1bdd51[_0x523121(0x529)]},'cmd':_0x353d4e[_0x523121(0x5f9)]};case _0x11d062['CollaborationEvent'][_0x523121(0x56a)]:return{..._0x353d4e,'data':{..._0x1bdd51,'data':_0x1bdd51[_0x523121(0x357)]},'cmd':_0x353d4e['cmd']};case _0x11d062[_0x523121(0x44c)][_0x523121(0x521)]:return{..._0x353d4e,'data':{..._0x1bdd51,'data':_0x1bdd51['liveShareNewHost']},'cmd':_0x353d4e[_0x523121(0x5f9)]};case _0x11d062[_0x523121(0x44c)]['LIVESHARE_FETCH_OPERATIONS']:case _0x11d062[_0x523121(0x44c)][_0x523121(0x3a8)]:return{..._0x353d4e,'data':{..._0x1bdd51,'data':_0x1bdd51[_0x523121(0x4db)]},'cmd':_0x353d4e['cmd']};case _0x11d062[_0x523121(0x44c)][_0x523121(0x591)]:return{..._0x353d4e,'data':{..._0x1bdd51,'data':_0x1bdd51['liveShareNewHost']},'cmd':_0x353d4e['cmd']};case _0x11d062[_0x523121(0x44c)]['MSG_FOR_ERROR']:return{..._0x353d4e,'data':_0x1bdd51,'cmd':_0x353d4e['cmd']};case _0x11d062[_0x523121(0x44c)]['COMMENT_UPDATE']:return{..._0x353d4e,'data':{..._0x1bdd51,'data':_0x1bdd51['commentUpdateEvent']},'cmd':_0x353d4e[_0x523121(0x5f9)]};case _0x11d062[_0x523121(0x44c)][_0x523121(0x538)]:return{..._0x353d4e,'data':{..._0x1bdd51,'data':_0x1bdd51['updatePermissionObjEvent']},'cmd':_0x353d4e[_0x523121(0x5f9)]};case _0x11d062[_0x523121(0x44c)]['SHOULD_CLOSE_CONN']:return{..._0x353d4e,'data':{..._0x1bdd51,'data':_0x1bdd51[_0x523121(0x5b7)]},'cmd':_0x353d4e[_0x523121(0x5f9)]};default:return _0x353d4e;}}default:return _0x353d4e;}}function _0x2e7376(_0x14ac0c){const _0x3dfdc5=_0x5e0aad;switch(_0x14ac0c['cmd']){case _0x1f5e17[_0x3dfdc5(0x311)]:case _0x1f5e17[_0x3dfdc5(0x355)]:return JSON[_0x3dfdc5(0x4b8)]({'cmd':_0x14ac0c[_0x3dfdc5(0x5f9)],'routeKey':_0x14ac0c['routeKey']});case _0x1f5e17[_0x3dfdc5(0x425)]:{let _0x5c332c;switch(_0x14ac0c[_0x3dfdc5(0x4ff)][_0x3dfdc5(0x485)]){case _0x11d062[_0x3dfdc5(0x44c)][_0x3dfdc5(0x447)]:{_0x5c332c={'eventID':_0x11d062[_0x3dfdc5(0x44c)][_0x3dfdc5(0x447)],'updateCursorEvent':_0x14ac0c[_0x3dfdc5(0x4ff)]['data']};break;}case _0x11d062[_0x3dfdc5(0x44c)][_0x3dfdc5(0x56a)]:{_0x5c332c={'eventID':_0x11d062[_0x3dfdc5(0x44c)][_0x3dfdc5(0x56a)],'leaveEvent':_0x14ac0c[_0x3dfdc5(0x4ff)]['data']};break;}case _0x11d062[_0x3dfdc5(0x44c)][_0x3dfdc5(0x1ce)]:{_0x5c332c={'eventID':_0x11d062[_0x3dfdc5(0x44c)][_0x3dfdc5(0x1ce)],'joinEvent':_0x14ac0c[_0x3dfdc5(0x4ff)][_0x3dfdc5(0x4ff)]};break;}case _0x11d062[_0x3dfdc5(0x44c)]['LIVESHARE_NEW_HOST']:{_0x5c332c={'eventID':_0x11d062['CollaborationEvent'][_0x3dfdc5(0x521)],'liveShareNewHost':_0x14ac0c['data'][_0x3dfdc5(0x4ff)]};break;}case _0x11d062[_0x3dfdc5(0x44c)][_0x3dfdc5(0x3a8)]:{_0x5c332c={'eventID':_0x11d062[_0x3dfdc5(0x44c)][_0x3dfdc5(0x3a8)],'liveShareOperation':_0x14ac0c[_0x3dfdc5(0x4ff)]['data']};break;}case _0x11d062[_0x3dfdc5(0x44c)][_0x3dfdc5(0x591)]:{_0x5c332c={'eventID':_0x11d062[_0x3dfdc5(0x44c)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x14ac0c[_0x3dfdc5(0x4ff)]['data']};break;}case _0x11d062[_0x3dfdc5(0x44c)]['LIVESHARE_REQUEST_HOST']:{_0x5c332c={'eventID':_0x11d062[_0x3dfdc5(0x44c)][_0x3dfdc5(0x449)],'liveShareRequestHost':_0x14ac0c[_0x3dfdc5(0x4ff)][_0x3dfdc5(0x4ff)]};break;}case _0x11d062[_0x3dfdc5(0x44c)][_0x3dfdc5(0x22a)]:{_0x5c332c={'eventID':_0x11d062[_0x3dfdc5(0x44c)][_0x3dfdc5(0x22a)]};break;}default:_0x5c332c={'eventID':_0x14ac0c[_0x3dfdc5(0x4ff)][_0x3dfdc5(0x485)]};}return JSON[_0x3dfdc5(0x4b8)]({'cmd':_0x14ac0c[_0x3dfdc5(0x5f9)],'routeKey':_0x14ac0c[_0x3dfdc5(0x241)],'collaMsg':_0x5c332c});}case _0x1f5e17[_0x3dfdc5(0x217)]:return JSON[_0x3dfdc5(0x4b8)]({'cmd':_0x14ac0c[_0x3dfdc5(0x5f9)],'routeKey':_0x14ac0c[_0x3dfdc5(0x241)],'joinReq':_0x14ac0c[_0x3dfdc5(0x4ff)]});case _0x1f5e17[_0x3dfdc5(0x31b)]:return JSON['stringify']({'cmd':_0x14ac0c[_0x3dfdc5(0x5f9)],'routeKey':_0x14ac0c[_0x3dfdc5(0x241)],'leaveReq':_0x14ac0c['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x496fd1=Object[_0x5e0aad(0x2e4)],_0x41fff2=Object[_0x5e0aad(0x585)],_0x491f6b=(_0x33bf1d,_0x47cd8d,_0x14f9aa,_0x5c9222)=>{const _0x414351=_0x5e0aad;for(var _0x26551f=_0x5c9222>0x1?void 0x0:_0x5c9222?_0x41fff2(_0x47cd8d,_0x14f9aa):_0x47cd8d,_0x58d024=_0x33bf1d[_0x414351(0x1cc)]-0x1,_0x58bd0a;_0x58d024>=0x0;_0x58d024--)(_0x58bd0a=_0x33bf1d[_0x58d024])&&(_0x26551f=(_0x5c9222?_0x58bd0a(_0x47cd8d,_0x14f9aa,_0x26551f):_0x58bd0a(_0x26551f))||_0x26551f);return _0x5c9222&&_0x26551f&&_0x496fd1(_0x47cd8d,_0x14f9aa,_0x26551f),_0x26551f;},_0x3d8986=(_0x151535,_0x5c415d)=>(_0x3b16f7,_0x45a67d)=>_0x5c415d(_0x3b16f7,_0x45a67d,_0x151535);const _0x2e3395=_0x260eff[_0x5e0aad(0x640)](_0x5e0aad(0x319));function _0x6d7d92(_0x5a1d2c,_0x2cf035,_0x4b9aae){const _0x144ffd=_0x5e0aad;return _0x5a1d2c+'/'+_0x2cf035+_0x144ffd(0x5a9)+_0x4b9aae+_0x144ffd(0x303);}_0xc68ebf[_0x5e0aad(0x1cf)]=class extends _0x260eff[_0x5e0aad(0x2ec)]{constructor(_0x4942f3,_0x202e3f,_0x4b7994,_0x3031a9,_0x25eeed){const _0x48c91d=_0x5e0aad;super(),this['_http']=_0x4942f3,this[_0x48c91d(0x413)]=_0x202e3f,this['_configService']=_0x4b7994,this[_0x48c91d(0x250)]=_0x3031a9,this[_0x48c91d(0x408)]=_0x25eeed;}['createSocket'](_0x44e63c){const _0x4f3845=_0x5e0aad,_0x56c4b5=this['_ws'][_0x4f3845(0x2d4)](_0x44e63c);if(!_0x56c4b5)throw new Error(_0x4f3845(0x512));const _0x35fdfe=new _0x260eff[(_0x4f3845(0x1a8))](),_0x44e1fa=new _0x543965[(_0x4f3845(0x547))]();_0x35fdfe[_0x4f3845(0x33b)](_0x56c4b5[_0x4f3845(0x5f8)][_0x4f3845(0x19e)](_0x347008=>_0x44e1fa[_0x4f3845(0x4ca)](_0x347008))),_0x35fdfe['add'](_0x260eff[_0x4f3845(0x36e)](()=>_0x44e1fa['complete']()));const _0x570800=new _0x543965['Subject']();_0x35fdfe[_0x4f3845(0x33b)](_0x56c4b5[_0x4f3845(0x614)][_0x4f3845(0x19e)](_0x44102f=>_0x570800[_0x4f3845(0x4ca)](_0x44102f))),_0x35fdfe['add'](_0x260eff[_0x4f3845(0x36e)](()=>_0x570800['complete']()));const _0x167683=new _0x543965[(_0x4f3845(0x547))]();_0x35fdfe['add'](_0x56c4b5[_0x4f3845(0x283)][_0x4f3845(0x19e)](_0x4fef71=>{const _0x15338b=_0x4f3845,_0x369dc9=_0x257780(_0x4fef71);_0x167683[_0x15338b(0x4ca)](_0x369dc9);})),_0x35fdfe[_0x4f3845(0x33b)](_0x260eff[_0x4f3845(0x36e)](()=>_0x167683[_0x4f3845(0x33e)]()));let _0x2981e7;const _0x72cb8e=()=>{const _0x4a1081=_0x4f3845;_0x570800[_0x4a1081(0x4ca)](new Event(_0x4a1081(0x465))),_0x44e1fa[_0x4a1081(0x4ca)](new CloseEvent(_0x4a1081(0x465))),_0x2981e7[_0x4a1081(0x536)]();};return _0x2981e7={'memberID':'','close$':_0x44e1fa[_0x4f3845(0x211)](),'error$':_0x570800['asObservable'](),'open$':_0x56c4b5[_0x4f3845(0x43e)],'message$':_0x167683[_0x4f3845(0x211)](),'send':_0x6ad35=>{const _0x230aed=_0x4f3845;if(_0x6ad35[_0x230aed(0x5f9)]===_0x1f5e17[_0x230aed(0x425)]){if(_0x6ad35['data'][_0x230aed(0x485)]===_0x11d062[_0x230aed(0x44c)][_0x230aed(0x271)]){this[_0x230aed(0x632)](_0x2981e7,_0x6ad35['data'])[_0x230aed(0x4d8)](_0x139c28=>{const _0x397c38=_0x230aed;this['_logService'][_0x397c38(0x346)](_0x139c28),_0x72cb8e();});return;}if(_0x6ad35[_0x230aed(0x4ff)][_0x230aed(0x485)]===_0x11d062[_0x230aed(0x44c)][_0x230aed(0x473)]){const _0x4c4a79=_0x6ad35[_0x230aed(0x4ff)];this[_0x230aed(0x1a0)](_0x4c4a79)[_0x230aed(0x42c)](_0x4f9bf4=>{const _0x7ef79b=_0x230aed;_0x167683[_0x7ef79b(0x4ca)]({'cmd':_0x1f5e17[_0x7ef79b(0x27f)],'code':_0x2f4484['OK'],'routeKey':_0x4c4a79['data'][_0x7ef79b(0x605)],'routeType':'','data':{'eventID':_0x11d062['CollaborationEvent'][_0x7ef79b(0x5d8)],'data':{'changesets':_0x4f9bf4}}});})['catch'](_0x16c597=>{const _0x11f91b=_0x230aed;this['_logService'][_0x11f91b(0x346)](_0x16c597),_0x72cb8e();});return;}}_0x56c4b5[_0x230aed(0x625)](_0x2e7376(_0x6ad35));},'close':()=>{const _0x4cf552=_0x4f3845;_0x56c4b5[_0x4cf552(0x536)](),_0x35fdfe[_0x4cf552(0x5f0)]();}},_0x2981e7;}async['_submitChangeset'](_0x301585,_0x20c814){const _0x4b161f=_0x5e0aad;var _0x111c48,_0xc76adb;const {unitType:_0x43a906,unitID:_0x47b312,changeset:_0x4d7594}=_0x20c814['data'],_0x308cab={'unitID':_0x47b312,'memberID':_0x301585[_0x4b161f(0x4d0)],'type':_0x43a906,'changeset':_0x11d062[_0x4b161f(0x4c7)](_0x4d7594)},_0x97c8fa=this[_0x4b161f(0x350)]['getConfig'](_0x9131fa),_0x271f25=this['_configService'][_0x4b161f(0x21b)](_0x48905f),_0x2948ad=_0x6d7d92((_0xc76adb=(_0x111c48=_0x271f25==null?void 0x0:_0x271f25['collabSubmitChangesetUrl'])!=null?_0x111c48:_0x97c8fa)!=null?_0xc76adb:_0x534986,_0x43a906,_0x47b312);try{await this['_http'][_0x4b161f(0x2d3)](_0x2948ad,{'body':_0x308cab});}catch(_0x445e3b){throw this['_logService'][_0x4b161f(0x346)](_0x4b161f(0x5e5),_0x4b161f(0x37f)),_0x445e3b;}}async['_fetchMissChangesets'](_0x5c40a6){const _0x2bfaa2=_0x5e0aad,{unitID:_0x28092e,from:_0x4b3fd5,to:_0x4d354f,unitType:_0x418e89}=_0x5c40a6[_0x2bfaa2(0x4ff)];return(await this[_0x2bfaa2(0x408)][_0x2bfaa2(0x2de)]({'metadata':void 0x0},{'unitID':_0x28092e,'type':_0x418e89,'from':_0x4b3fd5,'to':_0x4d354f}))[_0x2bfaa2(0x1e4)];}},_0xc68ebf[_0x5e0aad(0x1cf)]=_0x491f6b([_0x3d8986(0x0,_0x260eff[_0x5e0aad(0x34e)](_0x155315[_0x5e0aad(0x522)])),_0x3d8986(0x1,_0x260eff[_0x5e0aad(0x34e)](_0x155315[_0x5e0aad(0x280)])),_0x3d8986(0x2,_0x260eff[_0x5e0aad(0x55e)]),_0x3d8986(0x3,_0x260eff['ILogService']),_0x3d8986(0x4,_0x11d062[_0x5e0aad(0x2a5)])],_0xc68ebf['CollaborationSocketService']);const _0x3cc192='collaboration_new_changeset';function _0x10b099(_0x47031b){const _0x5238c8=_0x5e0aad;return JSON[_0x5238c8(0x4b8)](_0x47031b)[_0x5238c8(0x1cc)];}class _0x1e9033{constructor(){const _0x202bd2=_0x5e0aad;_0x133e34(this,'_commentUpdate$',new _0x543965[(_0x202bd2(0x547))]()),_0x133e34(this,_0x202bd2(0x646),this[_0x202bd2(0x39d)][_0x202bd2(0x211)]());}[_0x5e0aad(0x514)](_0x556886){const _0x5aaa39=_0x5e0aad;this['_commentUpdate$'][_0x5aaa39(0x4ca)](_0x556886);}}var _0x515df2=Object[_0x5e0aad(0x2e4)],_0x336a37=Object['getOwnPropertyDescriptor'],_0x42ca5e=(_0x54ca67,_0x17d456,_0x51fd54,_0x15fd11)=>{for(var _0x57d646=_0x15fd11>0x1?void 0x0:_0x15fd11?_0x336a37(_0x17d456,_0x51fd54):_0x17d456,_0x57941a=_0x54ca67['length']-0x1,_0x1cf702;_0x57941a>=0x0;_0x57941a--)(_0x1cf702=_0x54ca67[_0x57941a])&&(_0x57d646=(_0x15fd11?_0x1cf702(_0x17d456,_0x51fd54,_0x57d646):_0x1cf702(_0x57d646))||_0x57d646);return _0x15fd11&&_0x57d646&&_0x515df2(_0x17d456,_0x51fd54,_0x57d646),_0x57d646;},_0x4a560b=(_0x5d15a2,_0x1d6b10)=>(_0x4c6144,_0x393ebd)=>_0x1d6b10(_0x4c6144,_0x393ebd,_0x5d15a2);_0xc68ebf[_0x5e0aad(0x470)]=class extends _0x260eff[_0x5e0aad(0x2ec)]{constructor(_0x174063,_0x3d5ef7){const _0x482cc5=_0x5e0aad;super(),_0x133e34(this,_0x482cc5(0x247),new Map()),(this[_0x482cc5(0x434)]=_0x174063,this['_userManagerService']=_0x3d5ef7,this[_0x482cc5(0x539)](_0x260eff[_0x482cc5(0x36e)](_0x543965[_0x482cc5(0x3ad)](this[_0x482cc5(0x434)][_0x482cc5(0x5ff)](_0x260eff[_0x482cc5(0x3d8)]['UNIVER_SHEET'])[_0x482cc5(0x4f6)](_0x59f7e7[_0x482cc5(0x2f4)](_0x1578db=>_0x1578db[_0x482cc5(0x1d7)]())),this[_0x482cc5(0x434)][_0x482cc5(0x5ff)](_0x260eff['UniverInstanceType'][_0x482cc5(0x246)])['pipe'](_0x59f7e7[_0x482cc5(0x2f4)](_0x2eba4a=>_0x2eba4a['getUnitId']())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x260eff[_0x482cc5(0x3d8)][_0x482cc5(0x41a)])['pipe'](_0x59f7e7['map'](_0x3eafcb=>_0x3eafcb[_0x482cc5(0x1d7)]())))['subscribe'](_0xd982f4=>this['_removeRoom'](_0xd982f4)))));}['setCurrentUser'](_0x5ad9d9){const _0x4c74bb=_0x5e0aad;this[_0x4c74bb(0x35c)][_0x4c74bb(0x45f)](_0x5ad9d9);}[_0x5e0aad(0x1f2)](){const _0x22905e=_0x5e0aad;return this[_0x22905e(0x35c)][_0x22905e(0x1f2)]();}['updateMember'](_0x2690bb,_0x15ba66){const _0x1c144c=_0x5e0aad;let _0x2c287d=this[_0x1c144c(0x247)][_0x1c144c(0x391)](_0x2690bb);_0x2c287d||(_0x2c287d=new _0x3aacb2(),this[_0x1c144c(0x247)][_0x1c144c(0x5f3)](_0x2690bb,_0x2c287d)),_0x2c287d[_0x1c144c(0x533)](_0x15ba66);}[_0x5e0aad(0x5a5)](_0x2d78e5,_0x712859){const _0x4487ef=_0x5e0aad,_0x45a288=this['_roomMembers'][_0x4487ef(0x391)](_0x2d78e5);_0x45a288&&_0x45a288['removeMember'](_0x712859);}[_0x5e0aad(0x42b)](_0x4cbc03){const _0x144781=_0x5e0aad;return this[_0x144781(0x247)]['get'](_0x4cbc03);}[_0x5e0aad(0x596)](_0x22a473,_0x38f4ba){const _0x520611=_0x5e0aad,_0xd27eca=this['_roomMembers'][_0x520611(0x391)](_0x22a473);if(_0xd27eca)return _0xd27eca[_0x520611(0x596)](_0x38f4ba);}[_0x5e0aad(0x22e)](_0x3f3e50){const _0x239d70=_0x5e0aad,_0x353ef6=this[_0x239d70(0x247)][_0x239d70(0x391)](_0x3f3e50);_0x353ef6&&(_0x353ef6[_0x239d70(0x5f0)](),this[_0x239d70(0x247)][_0x239d70(0x516)](_0x3f3e50));}[_0x5e0aad(0x5f0)](){const _0x2f3cdf=_0x5e0aad;this['_roomMembers'][_0x2f3cdf(0x5f7)](_0xf150e0=>_0xf150e0[_0x2f3cdf(0x5f0)]()),this[_0x2f3cdf(0x247)]['clear']();}},_0xc68ebf[_0x5e0aad(0x470)]=_0x42ca5e([_0x4a560b(0x0,_0x260eff[_0x5e0aad(0x44d)]),_0x4a560b(0x1,_0x260eff[_0x5e0aad(0x34e)](_0x260eff['UserManagerService']))],_0xc68ebf[_0x5e0aad(0x470)]);class _0x3aacb2 extends _0x260eff['Disposable']{constructor(){super(...arguments),_0x133e34(this,'_members',new Map());}[_0x5e0aad(0x5f0)](){const _0x50f77d=_0x5e0aad;this[_0x50f77d(0x563)][_0x50f77d(0x454)]();}['updateMember'](_0x4e4dff){const _0x2dfa0c=_0x5e0aad;this[_0x2dfa0c(0x563)][_0x2dfa0c(0x5f3)](_0x4e4dff[_0x2dfa0c(0x4d0)],_0x4e4dff);}[_0x5e0aad(0x5a5)](_0x341d85){const _0x14beac=_0x5e0aad;this['_members'][_0x14beac(0x516)](_0x341d85);}[_0x5e0aad(0x596)](_0xa2fae5){const _0x10e1a9=_0x5e0aad;return this[_0x10e1a9(0x563)][_0x10e1a9(0x391)](_0xa2fae5);}['getAllMembers'](){const _0x336b88=_0x5e0aad;return Array[_0x336b88(0x39a)](this[_0x336b88(0x563)][_0x336b88(0x545)]());}}var _0x31850e=Object['defineProperty'],_0x1abeff=Object['getOwnPropertyDescriptor'],_0x5458ea=(_0x1dd467,_0x50bb67,_0x2fa375,_0x502968)=>{const _0x552a87=_0x5e0aad;for(var _0xca2449=_0x502968>0x1?void 0x0:_0x502968?_0x1abeff(_0x50bb67,_0x2fa375):_0x50bb67,_0x548144=_0x1dd467[_0x552a87(0x1cc)]-0x1,_0x15bc13;_0x548144>=0x0;_0x548144--)(_0x15bc13=_0x1dd467[_0x548144])&&(_0xca2449=(_0x502968?_0x15bc13(_0x50bb67,_0x2fa375,_0xca2449):_0x15bc13(_0xca2449))||_0xca2449);return _0x502968&&_0xca2449&&_0x31850e(_0x50bb67,_0x2fa375,_0xca2449),_0xca2449;},_0x44339c=(_0x2c76ca,_0x3edfa9)=>(_0x221c40,_0x55ca02)=>_0x3edfa9(_0x221c40,_0x55ca02,_0x2c76ca),_0x55a137=(_0x12ecc0=>(_0x12ecc0[_0x12ecc0['IDLE']=0x0]='IDLE',_0x12ecc0[_0x12ecc0[_0x5e0aad(0x49c)]=0x1]=_0x5e0aad(0x49c),_0x12ecc0[_0x12ecc0['OFFLINE']=0x2]='OFFLINE',_0x12ecc0[_0x12ecc0[_0x5e0aad(0x356)]=0x3]=_0x5e0aad(0x356),_0x12ecc0))(_0x55a137||{});_0xc68ebf[_0x5e0aad(0x475)]=class extends _0x260eff[_0x5e0aad(0x1b1)]{constructor(_0xc249db,_0x56dbf5,_0x3a1e52,_0x478b5a,_0x2be462,_0x1c822b,_0x21bccd,_0x1ce77c,_0xdd1c21,_0xf84caf){const _0x3c00f0=_0x5e0aad;super(),_0x133e34(this,_0x3c00f0(0x498),new _0x543965[(_0x3c00f0(0x20b))](0x0)),_0x133e34(this,_0x3c00f0(0x361),this[_0x3c00f0(0x498)][_0x3c00f0(0x211)]()),_0x133e34(this,'_event$',new _0x543965[(_0x3c00f0(0x547))]()),_0x133e34(this,'event$',this[_0x3c00f0(0x295)][_0x3c00f0(0x211)]()),_0x133e34(this,'_socket'),_0x133e34(this,_0x3c00f0(0x5a1)),_0x133e34(this,'_collaborationTimeoutTimer'),_0x133e34(this,_0x3c00f0(0x38b),!0x1),_0x133e34(this,_0x3c00f0(0x633),null),(this['_unitID']=_0xc249db,this['_logService']=_0x3a1e52,this[_0x3c00f0(0x385)]=_0x478b5a,this['_messageService']=_0x2be462,this[_0x3c00f0(0x350)]=_0x1c822b,this[_0x3c00f0(0x3a4)]=_0x21bccd,this[_0x3c00f0(0x484)]=_0x1ce77c,this[_0x3c00f0(0x1f6)]=_0xdd1c21,this[_0x3c00f0(0x55d)]=_0xf84caf,this[_0x3c00f0(0x38b)]=!!this[_0x3c00f0(0x55d)],_0x56dbf5[_0x3c00f0(0x4f6)](_0x543965[_0x3c00f0(0x248)](this['dispose$']))[_0x3c00f0(0x19e)](_0x2973ed=>{const _0x434726=_0x3c00f0;var _0x8a9cad;typeof _0x2973ed>'u'||(this[_0x434726(0x30f)]=_0x2973ed,_0x2973ed?(this[_0x434726(0x48a)](_0x2973ed),this[_0x434726(0x5a1)]=_0x2973ed[_0x434726(0x283)]['subscribe'](_0x39386d=>{const _0x2d85e2=_0x434726;_0x39386d[_0x2d85e2(0x241)]===this[_0x2d85e2(0x4f2)]&&this[_0x2d85e2(0x2e5)](_0x39386d);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x434726(0x498)]['next'](0x2),(_0x8a9cad=this[_0x434726(0x5a1)])==null||_0x8a9cad[_0x434726(0x5ab)](),this[_0x434726(0x5a1)]=null));}),this[_0x3c00f0(0x539)](this[_0x3c00f0(0x385)]['registerOnClose'](()=>{const _0x3c74a=_0x3c00f0;var _0x146d34;(_0x146d34=this[_0x3c74a(0x30f)])==null||_0x146d34[_0x3c74a(0x625)]({'cmd':_0x1f5e17[_0x3c74a(0x31b)],'data':{'roomID':this[_0x3c74a(0x4f2)]}});})));}get[_0x5e0aad(0x420)](){const _0x3ae1f3=_0x5e0aad;return this[_0x3ae1f3(0x498)][_0x3ae1f3(0x645)]();}[_0x5e0aad(0x28a)](){const _0xb65c31=_0x5e0aad;var _0x5efbf8,_0x49485d;return(_0x49485d=(_0x5efbf8=this[_0xb65c31(0x30f)])==null?void 0x0:_0x5efbf8[_0xb65c31(0x4d0)])!=null?_0x49485d:null;}[_0x5e0aad(0x5f0)](){const _0x46d6eb=_0x5e0aad;super[_0x46d6eb(0x5f0)](),this[_0x46d6eb(0x34a)][_0x46d6eb(0x4ca)](),this[_0x46d6eb(0x34a)]['complete']();}['close'](){const _0x10d71d=_0x5e0aad;var _0x2fb3f5,_0x1c8046;this[_0x10d71d(0x2c3)](),(_0x2fb3f5=this[_0x10d71d(0x30f)])==null||_0x2fb3f5[_0x10d71d(0x625)]({'cmd':_0x1f5e17[_0x10d71d(0x31b)],'data':{'roomID':this['_unitID']}}),(_0x1c8046=this[_0x10d71d(0x30f)])==null||_0x1c8046[_0x10d71d(0x536)](),this[_0x10d71d(0x295)][_0x10d71d(0x33e)](),this['_sessionStatus$'][_0x10d71d(0x33e)](),this[_0x10d71d(0x5f0)]();}['_onCombEvent'](_0x3461c1){const _0x2728e0=_0x5e0aad;_0x3461c1[_0x2728e0(0x5f9)]===_0x1f5e17['JOIN']?this[_0x2728e0(0x5fc)](_0x3461c1):_0x3461c1[_0x2728e0(0x5f9)]===_0x1f5e17[_0x2728e0(0x27f)]&&this['_onRecvEvent'](_0x3461c1);}['_joinRoom'](_0x50d4be){const _0x35563c=_0x5e0aad;this['_sessionStatus$']['next'](0x1),_0x50d4be[_0x35563c(0x625)]({'cmd':_0x1f5e17[_0x35563c(0x217)],'routeKey':this[_0x35563c(0x4f2)],'routeType':'','data':{'rooms':[{'roomID':this[_0x35563c(0x4f2)]}]}});}['_onJoinRoomEvent'](_0x57c854){const _0x3c5759=_0x5e0aad;var _0x1bce06;if(_0x57c854[_0x3c5759(0x3b4)]===_0x2f4484['FAIL']){this['_messageService']['show']({'type':_0x5b25cc[_0x3c5759(0x363)][_0x3c5759(0x4a1)],'content':this[_0x3c5759(0x3a4)]['t'](_0x3c5759(0x255))}),this[_0x3c5759(0x498)][_0x3c5759(0x4ca)](0x2);return;}this[_0x3c5759(0x498)]['next'](0x3);const _0x1ebc56=(_0x1bce06=_0x57c854[_0x3c5759(0x4ff)][_0x3c5759(0x402)][this[_0x3c5759(0x4f2)]])==null?void 0x0:_0x1bce06[_0x3c5759(0x19b)];_0x1ebc56&&_0x1ebc56['forEach'](_0x396a89=>this[_0x3c5759(0x484)][_0x3c5759(0x533)](this[_0x3c5759(0x4f2)],_0x396a89));}['_onRecvEvent'](_0x39e2b1){const _0x100c80=_0x5e0aad;try{const _0x30e7f4=_0x39e2b1[_0x100c80(0x4ff)];switch(_0x30e7f4[_0x100c80(0x485)]){case _0x11d062[_0x100c80(0x44c)][_0x100c80(0x1ce)]:this['_onUserJoin'](_0x30e7f4),this[_0x100c80(0x295)][_0x100c80(0x4ca)](_0x30e7f4);break;case _0x11d062[_0x100c80(0x44c)][_0x100c80(0x56a)]:this[_0x100c80(0x622)](_0x30e7f4),this[_0x100c80(0x295)][_0x100c80(0x4ca)](_0x30e7f4);break;case _0x11d062[_0x100c80(0x44c)]['CHANGESET_ACK']:case _0x11d062[_0x100c80(0x44c)][_0x100c80(0x4e4)]:this[_0x100c80(0x1ee)](),this['_clearCollaborationTimeoutTimer'](),this['_event$'][_0x100c80(0x4ca)](_0x30e7f4);break;case _0x11d062[_0x100c80(0x44c)][_0x100c80(0x63d)]:this[_0x100c80(0x250)][_0x100c80(0x346)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x100c80(0x4b8)](_0x30e7f4)),this[_0x100c80(0x295)][_0x100c80(0x4ca)](_0x30e7f4);break;case _0x11d062[_0x100c80(0x44c)][_0x100c80(0x4cd)]:this[_0x100c80(0x1f6)][_0x100c80(0x514)](_0x30e7f4['data']),this['_event$'][_0x100c80(0x4ca)](_0x30e7f4);break;default:this[_0x100c80(0x295)][_0x100c80(0x4ca)](_0x30e7f4);}}catch(_0x36f8fe){this[_0x100c80(0x250)][_0x100c80(0x346)](_0x36f8fe,_0x39e2b1);}}['_onUserJoin'](_0x2a3ec8){const _0x1d34fa=_0x5e0aad;this[_0x1d34fa(0x484)][_0x1d34fa(0x533)](this[_0x1d34fa(0x4f2)],_0x2a3ec8['data']);}[_0x5e0aad(0x622)](_0x35b7a2){const _0x284e3e=_0x5e0aad;this[_0x284e3e(0x484)][_0x284e3e(0x5a5)](this[_0x284e3e(0x4f2)],_0x35b7a2[_0x284e3e(0x4ff)][_0x284e3e(0x4d0)]);}async[_0x5e0aad(0x625)](_0x1c6657,_0x17eb0a){const _0x3d7e2e=_0x5e0aad;if(this[_0x3d7e2e(0x420)]!==0x3||!this[_0x3d7e2e(0x30f)])throw new Error(_0x3d7e2e(0x4fb));try{_0x1c6657[_0x3d7e2e(0x485)]===_0x11d062[_0x3d7e2e(0x44c)][_0x3d7e2e(0x271)]&&(this[_0x3d7e2e(0x453)](),this['_startTelemetryCollaborationNewChangeset'](_0x1c6657)),this[_0x3d7e2e(0x30f)]['send']({'cmd':_0x1f5e17[_0x3d7e2e(0x425)],'routeKey':_0x17eb0a,'routeType':'','data':_0x1c6657});}catch(_0x1c2d69){this[_0x3d7e2e(0x250)][_0x3d7e2e(0x346)](_0x1c2d69);}}[_0x5e0aad(0x453)](){const _0x5d9140=_0x5e0aad;var _0x52cab9;this[_0x5d9140(0x298)]=window['setTimeout'](()=>{const _0x40d19a=_0x5d9140;this[_0x40d19a(0x298)]=null,this[_0x40d19a(0x20c)][_0x40d19a(0x523)]({'type':_0x5b25cc[_0x40d19a(0x363)][_0x40d19a(0x47d)],'content':this[_0x40d19a(0x3a4)]['t']('session.collaboration-timeout')});},(_0x52cab9=this[_0x5d9140(0x350)][_0x5d9140(0x21b)](_0x382caf))!=null?_0x52cab9:0x4e20);}[_0x5e0aad(0x548)](){const _0x3a8505=_0x5e0aad;this[_0x3a8505(0x298)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x3a8505(0x298)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x30e4fd){const _0x45f9bb=_0x5e0aad;if(!this[_0x45f9bb(0x38b)])return;const {data:_0x26bf20}=_0x30e4fd,{unitID:_0x472a70,changeset:_0x1d940e}=_0x26bf20,{mutations:_0x403ebd,type:_0x52e915}=_0x1d940e;this[_0x45f9bb(0x633)]={'unitId':_0x472a70,'type':_0x52e915,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x10b099(_0x403ebd)};}['_stopTelemetryCollaborationNewChangeset'](){const _0x2cb117=_0x5e0aad;if(this[_0x2cb117(0x38b)]){if(!this[_0x2cb117(0x633)]){this[_0x2cb117(0x250)][_0x2cb117(0x346)](_0x2cb117(0x5e5),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x2cb117(0x633)][_0x2cb117(0x351)]=performance['now'](),this[_0x2cb117(0x633)][_0x2cb117(0x4a4)]=this[_0x2cb117(0x633)]['stopTime']-this[_0x2cb117(0x633)][_0x2cb117(0x1d0)],this[_0x2cb117(0x55d)][_0x2cb117(0x4b3)](_0x3cc192,this[_0x2cb117(0x633)]),this[_0x2cb117(0x633)]=null;}}[_0x5e0aad(0x2c3)](){const _0x578a7b=_0x5e0aad;this[_0x578a7b(0x633)]=null;}},_0xc68ebf[_0x5e0aad(0x475)]=_0x5458ea([_0x44339c(0x2,_0x260eff[_0x5e0aad(0x5a8)]),_0x44339c(0x3,_0x604b87[_0x5e0aad(0x30d)]),_0x44339c(0x4,_0x604b87['IMessageService']),_0x44339c(0x5,_0x260eff[_0x5e0aad(0x55e)]),_0x44339c(0x6,_0x260eff[_0x5e0aad(0x34e)](_0x260eff['LocaleService'])),_0x44339c(0x7,_0x260eff[_0x5e0aad(0x34e)](_0xc68ebf[_0x5e0aad(0x470)])),_0x44339c(0x8,_0x260eff[_0x5e0aad(0x34e)](_0x1e9033)),_0x44339c(0x9,_0x260eff[_0x5e0aad(0x502)](_0x2b3aba[_0x5e0aad(0x2da)]))],_0xc68ebf[_0x5e0aad(0x475)]);var _0x433ee6=Object['defineProperty'],_0x1d0b5a=Object['getOwnPropertyDescriptor'],_0x42881a=(_0x18388a,_0x399b95,_0x5f3530,_0x54b8eb)=>{const _0x2bc0ac=_0x5e0aad;for(var _0x194c2e=_0x54b8eb>0x1?void 0x0:_0x54b8eb?_0x1d0b5a(_0x399b95,_0x5f3530):_0x399b95,_0x3e6990=_0x18388a[_0x2bc0ac(0x1cc)]-0x1,_0x53169d;_0x3e6990>=0x0;_0x3e6990--)(_0x53169d=_0x18388a[_0x3e6990])&&(_0x194c2e=(_0x54b8eb?_0x53169d(_0x399b95,_0x5f3530,_0x194c2e):_0x53169d(_0x194c2e))||_0x194c2e);return _0x54b8eb&&_0x194c2e&&_0x433ee6(_0x399b95,_0x5f3530,_0x194c2e),_0x194c2e;},_0x2706dc=(_0x50f8b1,_0x536b13)=>(_0xa98e4a,_0x346cbf)=>_0x536b13(_0xa98e4a,_0x346cbf,_0x50f8b1);_0xc68ebf[_0x5e0aad(0x573)]=class extends _0x260eff[_0x5e0aad(0x2ec)]{constructor(_0x4aed59,_0x237da0,_0x3aede3,_0x2d9b95,_0x382308,_0x40b98e){const _0x579f98=_0x5e0aad;super(),_0x133e34(this,_0x579f98(0x471),new _0x543965[(_0x579f98(0x20b))](void 0x0)),_0x133e34(this,_0x579f98(0x604),this['_socket$'][_0x579f98(0x211)]()),_0x133e34(this,'_candidateSocket',null),_0x133e34(this,_0x579f98(0x462),new Map()),_0x133e34(this,_0x579f98(0x231),new _0x543965[(_0x579f98(0x20b))](_0x55a137[_0x579f98(0x44b)])),_0x133e34(this,_0x579f98(0x29b),this[_0x579f98(0x231)]['asObservable']()),_0x133e34(this,'_socketReady',!0x1),_0x133e34(this,'_retryConnectingTimer'),_0x133e34(this,_0x579f98(0x301),0x0),_0x133e34(this,_0x579f98(0x60e)),_0x133e34(this,_0x579f98(0x3e3)),(this[_0x579f98(0x2a2)]=_0x4aed59,this[_0x579f98(0x3a4)]=_0x237da0,this['_messageService']=_0x3aede3,this[_0x579f98(0x250)]=_0x2d9b95,this[_0x579f98(0x350)]=_0x382308,this[_0x579f98(0x4cb)]=_0x40b98e,this[_0x579f98(0x558)]());}get[_0x5e0aad(0x30f)](){const _0x20c12a=_0x5e0aad;return this[_0x20c12a(0x471)][_0x20c12a(0x645)]();}[_0x5e0aad(0x558)](){const _0x4c7c2c=_0x5e0aad;this[_0x4c7c2c(0x2bd)](),this[_0x4c7c2c(0x5ec)]();}[_0x5e0aad(0x5f0)](){const _0x58e72b=_0x5e0aad;super[_0x58e72b(0x5f0)](),this['_sessions'][_0x58e72b(0x5f7)](_0x4d08b8=>_0x4d08b8['dispose']()),this[_0x58e72b(0x462)][_0x58e72b(0x454)](),this[_0x58e72b(0x231)]['complete']();}async[_0x5e0aad(0x2b1)](_0x22538d){const _0x152e15=_0x5e0aad;if(this[_0x152e15(0x462)][_0x152e15(0x534)](_0x22538d))return this[_0x152e15(0x462)][_0x152e15(0x391)](_0x22538d);this['_tryEnsureSocket']();const _0x2d6935=this['_injector'][_0x152e15(0x623)](_0xc68ebf[_0x152e15(0x475)],_0x22538d,this['_socket$'][_0x152e15(0x211)]());return this['_sessions'][_0x152e15(0x5f3)](_0x22538d,_0x2d6935),_0x2d6935;}[_0x5e0aad(0x2f9)](_0x58f9e8){const _0x5908f4=_0x5e0aad;var _0x1b978e;const _0x125ff6=this[_0x5908f4(0x462)][_0x5908f4(0x391)](_0x58f9e8);_0x125ff6&&(this[_0x5908f4(0x462)][_0x5908f4(0x516)](_0x58f9e8),_0x125ff6['close']()),this[_0x5908f4(0x462)][_0x5908f4(0x5e4)]||(_0x1b978e=this[_0x5908f4(0x30f)])==null||_0x1b978e[_0x5908f4(0x536)]();}[_0x5e0aad(0x2a8)](){const _0x23eed7=_0x5e0aad;this[_0x23eed7(0x301)]=0x0,this[_0x23eed7(0x510)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x23eed7(0x510)]=null),this[_0x23eed7(0x5d2)]();}[_0x5e0aad(0x293)](){const _0x1133eb=_0x5e0aad;var _0x242dd0,_0x3ea89d;const _0x4d89bb=this['_configService'][_0x1133eb(0x21b)](_0x3e0ff9),_0x1e99cd=this[_0x1133eb(0x350)][_0x1133eb(0x21b)](_0x48905f),_0x435d08=(_0x3ea89d=(_0x242dd0=_0x1e99cd==null?void 0x0:_0x1e99cd[_0x1133eb(0x210)])!=null?_0x242dd0:_0x4d89bb)!=null?_0x3ea89d:_0x40b237,_0x3b468a=this[_0x1133eb(0x4cb)][_0x1133eb(0x2d4)](_0x435d08);return this[_0x1133eb(0x5e2)]=_0x3b468a,_0x3b468a;}[_0x5e0aad(0x37e)](){const _0x58590e=_0x5e0aad;var _0x49265b,_0x43ec71;try{const _0xf071bd=(_0x43ec71=(_0x49265b=this[_0x58590e(0x30f)])!=null?_0x49265b:this[_0x58590e(0x5e2)])!=null?_0x43ec71:this[_0x58590e(0x293)]();if(_0xf071bd){const _0x4b27b6=_0xf071bd[_0x58590e(0x625)];_0xf071bd['send']=_0x4b2700=>(this[_0x58590e(0x393)](),_0x4b27b6[_0x58590e(0x326)](_0xf071bd,[_0x4b2700])),_0xf071bd[_0x58590e(0x283)]['subscribe'](_0x1a640d=>this[_0x58590e(0x59e)](_0xf071bd,_0x1a640d)),_0xf071bd[_0x58590e(0x614)][_0x58590e(0x4f6)](_0x59f7e7[_0x58590e(0x31e)](0x1))[_0x58590e(0x19e)](_0x10cd2c=>this['_logService'][_0x58590e(0x346)](_0x58590e(0x480),_0x10cd2c)),_0xf071bd['open$'][_0x58590e(0x4f6)](_0x59f7e7[_0x58590e(0x31e)](0x1))[_0x58590e(0x19e)](()=>{const _0x492085=_0x58590e;this[_0x492085(0x1e2)](_0xf071bd);}),_0xf071bd[_0x58590e(0x5f8)][_0x58590e(0x4f6)](_0x59f7e7[_0x58590e(0x31e)](0x1))[_0x58590e(0x19e)](_0x53cb19=>{const _0x466ce1=_0x58590e;this[_0x466ce1(0x250)][_0x466ce1(0x54f)](_0x466ce1(0x206),_0x466ce1(0x459),_0x53cb19),this['_onConnectionFailed']();});}}catch(_0x227fac){this[_0x58590e(0x250)][_0x58590e(0x346)](_0x227fac),this[_0x58590e(0x360)]();}}[_0x5e0aad(0x1e2)](_0x534d5a){const _0x392816=_0x5e0aad;this[_0x392816(0x250)][_0x392816(0x54f)]('[CollaborationSessionService]',_0x392816(0x2ff)),_0x534d5a['send']({'cmd':_0x1f5e17[_0x392816(0x355)]}),this[_0x392816(0x393)]();}[_0x5e0aad(0x2bd)](){const _0x444c36=_0x5e0aad;window[_0x444c36(0x50a)]('offline',()=>this[_0x444c36(0x61a)]());}[_0x5e0aad(0x61a)](){const _0x4cea92=_0x5e0aad;this[_0x4cea92(0x5bc)]=!0x1,this['_candidateSocket']=null,this[_0x4cea92(0x231)][_0x4cea92(0x4ca)](_0x55a137[_0x4cea92(0x269)]),this[_0x4cea92(0x471)][_0x4cea92(0x4ca)](null),this[_0x4cea92(0x30c)](),this['_clearHeartbeatTimer']();}[_0x5e0aad(0x360)](){const _0x3084da=_0x5e0aad;var _0x3bbdd2;this[_0x3084da(0x61a)](),this['_retryCount']<((_0x3bbdd2=this['_configService'][_0x3084da(0x21b)](_0x347671))!=null?_0x3bbdd2:0x3)?(this['_messageService']['show']({'key':_0x3084da(0x4b1),'type':_0x5b25cc[_0x3084da(0x363)][_0x3084da(0x4a1)],'content':this[_0x3084da(0x3a4)]['t']('session.will-retry')}),this[_0x3084da(0x5d2)]()):this[_0x3084da(0x20c)][_0x3084da(0x523)]({'key':_0x3084da(0x4b1),'type':_0x5b25cc['MessageType']['Error'],'content':this[_0x3084da(0x3a4)]['t'](_0x3084da(0x404))});}['_listenToOnlineEvent'](){const _0x3be183=_0x5e0aad,_0x578b66=()=>{const _0x553174=_0x4e9c;this[_0x553174(0x30f)]||this[_0x553174(0x2a8)]();},_0x413ab4=()=>{const _0x13fa53=_0x4e9c;this[_0x13fa53(0x30f)]||document['visibilityState']==='hidden'||this[_0x13fa53(0x2a8)]();};window[_0x3be183(0x50a)]('online',_0x578b66),document[_0x3be183(0x50a)]('visibilitychange',_0x413ab4);}[_0x5e0aad(0x5d2)](){const _0x5dec57=_0x5e0aad;var _0x170256;const _0x387b06=this[_0x5dec57(0x301)],_0x22f8a3=this[_0x5dec57(0x350)]['getConfig'](_0x48905f),_0x47f062=_0x387b06===0x0?0x0:((_0x170256=_0x22f8a3==null?void 0x0:_0x22f8a3[_0x5dec57(0x5dd)])!=null?_0x170256:0x4e20)*0x2**_0x387b06;this['_retryConnectingTimer']=window[_0x5dec57(0x5b3)](()=>{const _0x39437c=_0x5dec57;clearTimeout(this[_0x39437c(0x510)]),this[_0x39437c(0x510)]=null,this[_0x39437c(0x37e)]();},_0x47f062),this[_0x5dec57(0x301)]+=0x1;}[_0x5e0aad(0x59e)](_0x46fe94,_0x41d3da){const _0x7e8a2f=_0x5e0aad,{cmd:_0x3bcf7}=_0x41d3da;_0x3bcf7===_0x1f5e17[_0x7e8a2f(0x355)]&&!this['_socketReady']&&(_0x46fe94[_0x7e8a2f(0x4d0)]=_0x41d3da[_0x7e8a2f(0x4ff)][_0x7e8a2f(0x4d0)],this[_0x7e8a2f(0x471)][_0x7e8a2f(0x4ca)](_0x46fe94),this[_0x7e8a2f(0x231)][_0x7e8a2f(0x4ca)](_0x55a137[_0x7e8a2f(0x356)]),this[_0x7e8a2f(0x5bc)]=!0x0,this[_0x7e8a2f(0x5e2)]=null),_0x3bcf7===_0x1f5e17[_0x7e8a2f(0x311)]&&this[_0x7e8a2f(0x30c)](),this[_0x7e8a2f(0x393)]();}['_rescheduleHeartbeat'](){const _0x59855b=_0x5e0aad;var _0xf5f1be;this[_0x59855b(0x25a)](),this['_sendHeartbeatTimer']=window[_0x59855b(0x5b3)](()=>this[_0x59855b(0x5d5)](),(_0xf5f1be=this[_0x59855b(0x350)][_0x59855b(0x21b)](_0x337e6a))!=null?_0xf5f1be:0x7530);}[_0x5e0aad(0x5d5)](){const _0x164675=_0x5e0aad;this[_0x164675(0x30f)]['send']({'cmd':_0x1f5e17[_0x164675(0x311)]}),this[_0x164675(0x590)]();}[_0x5e0aad(0x590)](){const _0x30bdc6=_0x5e0aad;var _0x2b8798;this[_0x30bdc6(0x3e3)]=window[_0x30bdc6(0x5b3)](()=>this[_0x30bdc6(0x360)](),(_0x2b8798=this[_0x30bdc6(0x350)][_0x30bdc6(0x21b)](_0x382caf))!=null?_0x2b8798:0x4e20);}['_clearHeartbeatTimer'](){const _0x47b184=_0x5e0aad;this[_0x47b184(0x60e)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x47b184(0x60e)]=null);}[_0x5e0aad(0x30c)](){const _0x50d3db=_0x5e0aad;this[_0x50d3db(0x3e3)]!=null&&(clearTimeout(this[_0x50d3db(0x3e3)]),this[_0x50d3db(0x3e3)]=null);}},_0xc68ebf[_0x5e0aad(0x573)]=_0x42881a([_0x2706dc(0x0,_0x260eff[_0x5e0aad(0x34e)](_0x260eff[_0x5e0aad(0x263)])),_0x2706dc(0x1,_0x260eff['Inject'](_0x260eff['LocaleService'])),_0x2706dc(0x2,_0x604b87[_0x5e0aad(0x2e1)]),_0x2706dc(0x3,_0x260eff['ILogService']),_0x2706dc(0x4,_0x260eff[_0x5e0aad(0x55e)]),_0x2706dc(0x5,_0x2e3395)],_0xc68ebf[_0x5e0aad(0x573)]);const _0x1af168=[];for(let _0x17266a=0x0;_0x17266a<0x100;++_0x17266a)_0x1af168[_0x5e0aad(0x616)]((_0x17266a+0x100)[_0x5e0aad(0x2dc)](0x10)['slice'](0x1));function _0x35e41f(_0x3f49cd,_0x5d44da=0x0){const _0x93a75a=_0x5e0aad;return(_0x1af168[_0x3f49cd[_0x5d44da+0x0]]+_0x1af168[_0x3f49cd[_0x5d44da+0x1]]+_0x1af168[_0x3f49cd[_0x5d44da+0x2]]+_0x1af168[_0x3f49cd[_0x5d44da+0x3]]+'-'+_0x1af168[_0x3f49cd[_0x5d44da+0x4]]+_0x1af168[_0x3f49cd[_0x5d44da+0x5]]+'-'+_0x1af168[_0x3f49cd[_0x5d44da+0x6]]+_0x1af168[_0x3f49cd[_0x5d44da+0x7]]+'-'+_0x1af168[_0x3f49cd[_0x5d44da+0x8]]+_0x1af168[_0x3f49cd[_0x5d44da+0x9]]+'-'+_0x1af168[_0x3f49cd[_0x5d44da+0xa]]+_0x1af168[_0x3f49cd[_0x5d44da+0xb]]+_0x1af168[_0x3f49cd[_0x5d44da+0xc]]+_0x1af168[_0x3f49cd[_0x5d44da+0xd]]+_0x1af168[_0x3f49cd[_0x5d44da+0xe]]+_0x1af168[_0x3f49cd[_0x5d44da+0xf]])[_0x93a75a(0x294)]();}let _0x460a43;const _0x409d1c=new Uint8Array(0x10);function _0x1f64dd(){const _0x3b4bdf=_0x5e0aad;if(!_0x460a43){if(typeof crypto>'u'||!crypto[_0x3b4bdf(0x400)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');_0x460a43=crypto[_0x3b4bdf(0x400)][_0x3b4bdf(0x507)](crypto);}return _0x460a43(_0x409d1c);}const _0xefe7f2={'randomUUID':typeof crypto<'u'&&crypto[_0x5e0aad(0x232)]&&crypto[_0x5e0aad(0x232)][_0x5e0aad(0x507)](crypto)};function _0x673fa3(_0x4287f5,_0x2c394e,_0x1d01d7){const _0x2c737a=_0x5e0aad;if(_0xefe7f2[_0x2c737a(0x232)]&&!_0x2c394e&&!_0x4287f5)return _0xefe7f2[_0x2c737a(0x232)]();_0x4287f5=_0x4287f5||{};const _0x1c096c=_0x4287f5[_0x2c737a(0x631)]||(_0x4287f5[_0x2c737a(0x26c)]||_0x1f64dd)();return _0x1c096c[0x6]=_0x1c096c[0x6]&0xf|0x40,_0x1c096c[0x8]=_0x1c096c[0x8]&0x3f|0x80,_0x35e41f(_0x1c096c);}var _0x1c92e4=Object[_0x5e0aad(0x2e4)],_0x54cadd=Object[_0x5e0aad(0x585)],_0x5bba4e=(_0x3cd16f,_0x41ff1c,_0x814b82,_0x114f3b)=>{for(var _0x3801c3=_0x114f3b>0x1?void 0x0:_0x114f3b?_0x54cadd(_0x41ff1c,_0x814b82):_0x41ff1c,_0x231eb7=_0x3cd16f['length']-0x1,_0x1c7792;_0x231eb7>=0x0;_0x231eb7--)(_0x1c7792=_0x3cd16f[_0x231eb7])&&(_0x3801c3=(_0x114f3b?_0x1c7792(_0x41ff1c,_0x814b82,_0x3801c3):_0x1c7792(_0x3801c3))||_0x3801c3);return _0x114f3b&&_0x3801c3&&_0x1c92e4(_0x41ff1c,_0x814b82,_0x3801c3),_0x3801c3;},_0x23edf7=(_0x44a252,_0x592df9)=>(_0x5c8f95,_0x363fb1)=>_0x592df9(_0x5c8f95,_0x363fb1,_0x44a252);let _0x517100=class{constructor(_0x2e132b,_0x353d2c,_0xab8580){const _0x59ff37=_0x5e0aad;this['_injector']=_0x2e132b,this[_0x59ff37(0x549)]=_0x353d2c,this[_0x59ff37(0x384)]=_0xab8580;}['transformIMECache'](_0x55e732){const _0x4967ec=_0x5e0aad;this['_transformUndoRedoStack'](_0x55e732),this[_0x4967ec(0x54d)](_0x55e732);}[_0x5e0aad(0x4bd)](_0x2d3e61){const _0x587639=_0x5e0aad,{unitID:_0x54dd94}=_0x2d3e61,_0x5dcd03=this[_0x587639(0x384)]['getRenderById'](_0x54dd94)[_0x587639(0x5c2)](_0x1517b1[_0x587639(0x245)]),{redoCache:_0xee33c1}=_0x5dcd03[_0x587639(0x5b5)]();if(_0xee33c1[_0x587639(0x1cc)]===0x0)return _0x2d3e61;let _0x47d6c6=_0x260eff[_0x587639(0x3e7)][_0x587639(0x224)](_0x2d3e61[_0x587639(0x3fa)][0x0]);for(let _0x4dba32=0x0;_0x4dba32<_0xee33c1[_0x587639(0x1cc)];_0x4dba32++){const _0x277aae={'id':_0x587639(0x2ee),'params':{..._0xee33c1[_0x4dba32]}},_0x387bbf=this[_0x587639(0x549)]['transformMutation'](_0x47d6c6,_0x277aae,!0x1);if(_0x11d062[_0x587639(0x624)](_0x387bbf))throw _0x387bbf[_0x587639(0x346)];_0x47d6c6=_0x387bbf[_0x587639(0x32b)];}return{..._0x260eff[_0x587639(0x3e7)][_0x587639(0x224)](_0x2d3e61),'mutations':[_0x47d6c6]};}[_0x5e0aad(0x24d)](_0x432387){const _0x5764f7=_0x5e0aad,{unitID:_0x1880d6}=_0x432387,_0x5a06ba=this[_0x5764f7(0x384)][_0x5764f7(0x1b7)](_0x1880d6)[_0x5764f7(0x5c2)](_0x1517b1['DocIMEInputManagerService']),{undoCache:_0x48cef8,redoCache:_0x2f9954}=_0x5a06ba[_0x5764f7(0x5b5)]();if(_0x48cef8[_0x5764f7(0x1cc)]===0x0||_0x2f9954['length']===0x0)return;const _0x34ef44=[],_0x1b5b0a=[];let _0x156ca2=_0x260eff[_0x5764f7(0x3e7)][_0x5764f7(0x224)](_0x432387['mutations'][0x0]),_0x1d6e9e=_0x260eff[_0x5764f7(0x3e7)][_0x5764f7(0x224)](_0x432387[_0x5764f7(0x3fa)][0x0]);for(let _0x1da38c=_0x48cef8['length']-0x1;_0x1da38c>=0x0;_0x1da38c--){const _0x37ac42={'id':'doc.mutation.rich-text-editing','params':{..._0x48cef8[_0x1da38c]}},_0x595f61={'id':_0x5764f7(0x2ee),'params':{..._0x2f9954[_0x1da38c]}},_0x5b2a1b=this[_0x5764f7(0x549)]['transformMutation'](_0x156ca2,_0x37ac42,!0x1),_0x333b47=this[_0x5764f7(0x549)][_0x5764f7(0x511)](_0x1d6e9e,_0x595f61,!0x1);if(_0x11d062[_0x5764f7(0x624)](_0x5b2a1b))throw _0x5b2a1b[_0x5764f7(0x346)];if(_0x11d062['isTransformMutationFailure'](_0x333b47))throw _0x333b47[_0x5764f7(0x346)];_0x34ef44[_0x5764f7(0x5fb)](_0x5b2a1b['m2Prime'][_0x5764f7(0x469)]),_0x1b5b0a[_0x5764f7(0x5fb)](_0x333b47[_0x5764f7(0x1ba)]['params']),_0x156ca2=_0x5b2a1b[_0x5764f7(0x32b)],_0x1d6e9e=_0x333b47['m1Prime'];}_0x5a06ba[_0x5764f7(0x5ed)]({'undoCache':_0x34ef44,'redoCache':_0x1b5b0a});}['_transformPreviousActiveRange'](_0x3cf9a5){const _0x5a8ad=_0x5e0aad,{unitID:_0x586bfd}=_0x3cf9a5,_0x522d12=this[_0x5a8ad(0x384)][_0x5a8ad(0x1b7)](_0x586bfd)[_0x5a8ad(0x5c2)](_0x1517b1[_0x5a8ad(0x245)]),_0x14eb24=_0x522d12[_0x5a8ad(0x4e9)]();if(_0x14eb24==null)return;const _0x3bdb1e=[{'id':_0x5a8ad(0x2ee),'params':{'unitId':_0x3cf9a5[_0x5a8ad(0x605)],'actions':null,'textRanges':[_0x14eb24]}}],_0x50604b=this[_0x5a8ad(0x549)][_0x5a8ad(0x41f)](_0x3cf9a5,_0x3bdb1e);if(!_0x11d062[_0x5a8ad(0x44f)](_0x50604b))throw _0x50604b[_0x5a8ad(0x346)];const _0x184ddf=_0x50604b[_0x5a8ad(0x1ba)][0x0][_0x5a8ad(0x469)][_0x5a8ad(0x320)];Array[_0x5a8ad(0x54b)](_0x184ddf)&&_0x184ddf[_0x5a8ad(0x1cc)]&&_0x522d12['setActiveRange'](_0x184ddf[0x0]);}};_0x517100=_0x5bba4e([_0x23edf7(0x0,_0x260eff[_0x5e0aad(0x34e)](_0x260eff['Injector'])),_0x23edf7(0x1,_0x11d062[_0x5e0aad(0x365)]),_0x23edf7(0x2,_0x1f079c['IRenderManagerService'])],_0x517100);var _0x57a36b=Object[_0x5e0aad(0x2e4)],_0x5da1da=Object[_0x5e0aad(0x585)],_0x4e53f2=(_0x51d16e,_0x2e44ef,_0x2e7154,_0x20bbc6)=>{for(var _0xa1ee13=_0x20bbc6>0x1?void 0x0:_0x20bbc6?_0x5da1da(_0x2e44ef,_0x2e7154):_0x2e44ef,_0x300f92=_0x51d16e['length']-0x1,_0x4a5b33;_0x300f92>=0x0;_0x300f92--)(_0x4a5b33=_0x51d16e[_0x300f92])&&(_0xa1ee13=(_0x20bbc6?_0x4a5b33(_0x2e44ef,_0x2e7154,_0xa1ee13):_0x4a5b33(_0xa1ee13))||_0xa1ee13);return _0x20bbc6&&_0xa1ee13&&_0x57a36b(_0x2e44ef,_0x2e7154,_0xa1ee13),_0xa1ee13;},_0x5be7d4=(_0x4e1a54,_0xf46748)=>(_0x102368,_0x55718e)=>_0xf46748(_0x102368,_0x55718e,_0x4e1a54);_0xc68ebf[_0x5e0aad(0x257)]=class extends _0x260eff[_0x5e0aad(0x2ec)]{constructor(_0x42533b,_0x32af6d,_0x6884a6,_0x86c6ac,_0x4b7e58){const _0x398a35=_0x5e0aad;super(),_0x133e34(this,_0x398a35(0x48f),new Map()),_0x133e34(this,_0x398a35(0x4c9),new Map()),_0x133e34(this,_0x398a35(0x40c),!0x1),(this['_configService']=_0x42533b,this[_0x398a35(0x2b2)]=_0x32af6d,this[_0x398a35(0x385)]=_0x6884a6,this[_0x398a35(0x3a4)]=_0x86c6ac,this[_0x398a35(0x467)]=_0x4b7e58,this[_0x398a35(0x609)]());}[_0x5e0aad(0x5e0)](){const _0x359fba=_0x5e0aad;this[_0x359fba(0x40c)]=!0x0;}[_0x5e0aad(0x3d9)](){this['_disabled']=!0x1;}[_0x5e0aad(0x5f0)](){const _0x175a72=_0x5e0aad;this['exhaustSavingTask']()[_0x175a72(0x42c)](()=>super[_0x175a72(0x5f0)]());}async[_0x5e0aad(0x4ba)](_0x14163e){const _0x3ec2ca=_0x5e0aad;return this[_0x3ec2ca(0x40c)]?null:this[_0x3ec2ca(0x2b2)][_0x3ec2ca(0x4e3)](_0x1706ad(_0x14163e));}async[_0x5e0aad(0x222)](_0x260988,_0x5bfee5){const _0x528a63=_0x5e0aad;return!!this[_0x528a63(0x2b2)][_0x528a63(0x501)](_0x260988,_0x5bfee5);}[_0x5e0aad(0x446)](_0x35dba3,_0x4ca2ca,_0x42b86d,_0x3dbe4b){const _0x2d6160=_0x5e0aad,_0x24cc7e=this[_0x2d6160(0x467)][_0x2d6160(0x36c)](_0x35dba3);this[_0x2d6160(0x48f)][_0x2d6160(0x5f3)](_0x35dba3,{'unitID':_0x35dba3,'type':_0x4ca2ca,'awaitingChangeset':_0x42b86d,'mutations':_0x3dbe4b,'rev':_0x24cc7e}),this[_0x2d6160(0x4c9)][_0x2d6160(0x534)](_0x35dba3)||this[_0x2d6160(0x3b0)](_0x35dba3);}[_0x5e0aad(0x3b0)](_0xcc8c9a){const _0xd80c8=_0x5e0aad,_0x320f13=this[_0xd80c8(0x2b5)]();_0x320f13===0x0?this[_0xd80c8(0x630)](_0xcc8c9a):this['_saveTaskMap']['set'](_0xcc8c9a,setTimeout(()=>this[_0xd80c8(0x630)](_0xcc8c9a),_0x320f13));}[_0x5e0aad(0x2b5)](){const _0x2f831f=_0x5e0aad;var _0x4e3f4a;return(_0x4e3f4a=this[_0x2f831f(0x350)][_0x2f831f(0x21b)](_0x514025))!=null?_0x4e3f4a:0x3e8;}[_0x5e0aad(0x630)](_0x3cdff3){const _0x59f174=_0x5e0aad,_0x2ae835=this['_saveTaskMap'][_0x59f174(0x391)](_0x3cdff3);return _0x2ae835!==void 0x0&&window[_0x59f174(0x4d3)](_0x2ae835),this[_0x59f174(0x2b2)][_0x59f174(0x501)](_0x1706ad(_0x3cdff3),this[_0x59f174(0x48f)]['get'](_0x3cdff3))[_0x59f174(0x42c)](()=>this[_0x59f174(0x4c9)][_0x59f174(0x516)](_0x3cdff3));}async[_0x5e0aad(0x4d4)](){const _0xcb97ff=_0x5e0aad,_0x14db23=[];this[_0xcb97ff(0x4c9)]['forEach']((_0x487ba6,_0x31b5bd)=>{const _0x7524ef=_0xcb97ff;window['clearTimeout'](_0x487ba6),_0x14db23[_0x7524ef(0x616)](this[_0x7524ef(0x630)](_0x31b5bd)[_0x7524ef(0x42c)](()=>{this['_saveTaskMap']['delete'](_0x31b5bd);}));}),await Promise['all'](_0x14db23);}[_0x5e0aad(0x609)](){const _0x4c7dcd=_0x5e0aad;this[_0x4c7dcd(0x539)](this[_0x4c7dcd(0x385)][_0x4c7dcd(0x5d9)](()=>{const _0x26d02f=_0x4c7dcd;if(this[_0x26d02f(0x4c9)][_0x26d02f(0x5e4)])return this['_localeService']['t'](_0x26d02f(0x55a));}));}},_0xc68ebf[_0x5e0aad(0x257)]=_0x4e53f2([_0x5be7d4(0x0,_0x260eff[_0x5e0aad(0x55e)]),_0x5be7d4(0x1,_0x260eff['ILocalStorageService']),_0x5be7d4(0x2,_0x604b87[_0x5e0aad(0x30d)]),_0x5be7d4(0x3,_0x260eff[_0x5e0aad(0x34e)](_0x260eff[_0x5e0aad(0x2a3)])),_0x5be7d4(0x4,_0x260eff['Inject'](_0x11d062['RevisionService']))],_0xc68ebf[_0x5e0aad(0x257)]);function _0x1706ad(_0x1ef4d3){return'unit-cache-'+_0x1ef4d3;}var _0x5ac00d=Object[_0x5e0aad(0x2e4)],_0x53d88e=Object[_0x5e0aad(0x585)],_0x499801=(_0x5f065e,_0x487df0,_0x426b05,_0x1c2cf0)=>{const _0x96e6d8=_0x5e0aad;for(var _0x4985ca=_0x1c2cf0>0x1?void 0x0:_0x1c2cf0?_0x53d88e(_0x487df0,_0x426b05):_0x487df0,_0x2f766c=_0x5f065e[_0x96e6d8(0x1cc)]-0x1,_0x2df7e4;_0x2f766c>=0x0;_0x2f766c--)(_0x2df7e4=_0x5f065e[_0x2f766c])&&(_0x4985ca=(_0x1c2cf0?_0x2df7e4(_0x487df0,_0x426b05,_0x4985ca):_0x2df7e4(_0x4985ca))||_0x4985ca);return _0x1c2cf0&&_0x4985ca&&_0x5ac00d(_0x487df0,_0x426b05,_0x4985ca),_0x4985ca;},_0x14ad80=(_0x451206,_0x391d0f)=>(_0x1a53f3,_0x4dfb3c)=>_0x391d0f(_0x1a53f3,_0x4dfb3c,_0x451206);function _0x12a465(_0x213830){const _0x5caba7=_0x5e0aad,{unitID:_0x2c3d7d,mutations:_0x2e1fef}=_0x213830;return{'unitId':_0x2c3d7d,'subUnitId':_0x2e1fef[0x0][_0x5caba7(0x469)]['subUnitId']};}let _0x5642f4=class{constructor(_0x4785a2,_0x3578cc,_0x596767){const _0x516cc7=_0x5e0aad;this['_injector']=_0x4785a2,this[_0x516cc7(0x549)]=_0x3578cc,this[_0x516cc7(0x36a)]=_0x596767;}['transformSelections'](_0x144298){const _0x33b29b=_0x5e0aad;var _0x5baa28,_0x54f6fb,_0x1b1389,_0x3cae64;const _0x1b503a=this[_0x33b29b(0x2a2)][_0x33b29b(0x391)](_0x47516e['SheetsSelectionsService']),{unitId:_0x2037d7,subUnitId:_0x3ccd67}=_0x12a465(_0x144298),_0x120c3d=_0x1b503a['getWorkbookSelections'](_0x2037d7)[_0x33b29b(0x57a)](),_0x285a84=(_0x54f6fb=(_0x5baa28=this[_0x33b29b(0x36a)][_0x33b29b(0x1b2)](_0x2037d7))==null?void 0x0:_0x5baa28[_0x33b29b(0x19d)]())==null?void 0x0:_0x54f6fb['getSheetId']();if(_0x120c3d['length']===0x0||!_0x2037d7||!_0x3ccd67)return;const _0x45fd3c=[{'id':_0x47516e[_0x33b29b(0x63c)]['id'],'params':{'unitId':_0x2037d7,'subUnitId':_0x285a84,'selections':_0x260eff['Tools'][_0x33b29b(0x224)](_0x120c3d)}}],_0x4b827c=this['_transformService'][_0x33b29b(0x41f)](_0x144298,_0x45fd3c);if(!_0x11d062[_0x33b29b(0x44f)](_0x4b827c))throw _0x4b827c['error'];const _0x4f6d35=(_0x3cae64=(_0x1b1389=_0x4b827c[_0x33b29b(0x1ba)][0x0])==null?void 0x0:_0x1b1389['params'])==null?void 0x0:_0x3cae64[_0x33b29b(0x560)];if(Array[_0x33b29b(0x54b)](_0x4f6d35)&&_0x4f6d35[_0x33b29b(0x1cc)]){if(_0x4f6d35[_0x33b29b(0x1cc)]===_0x45fd3c[0x0]['params'][_0x33b29b(0x560)][_0x33b29b(0x1cc)]&&_0x4f6d35[_0x33b29b(0x1bb)]((_0x331fb2,_0x1e420d)=>_0x260eff[_0x33b29b(0x613)][_0x33b29b(0x5c8)](_0x331fb2[_0x33b29b(0x316)],_0x45fd3c[0x0][_0x33b29b(0x469)][_0x33b29b(0x560)][_0x1e420d][_0x33b29b(0x316)])))return;this['_injector']['get'](_0x260eff[_0x33b29b(0x61f)])[_0x33b29b(0x336)](_0x47516e[_0x33b29b(0x63c)]['id'],{'unitId':_0x2037d7,'subUnitId':_0x285a84,'selections':_0x4f6d35});}}};_0x5642f4=_0x499801([_0x14ad80(0x0,_0x260eff[_0x5e0aad(0x34e)](_0x260eff['Injector'])),_0x14ad80(0x1,_0x11d062['ITransformService']),_0x14ad80(0x2,_0x260eff[_0x5e0aad(0x44d)])],_0x5642f4);const _0x34d4d6=_0x260eff[_0x5e0aad(0x640)](_0x5e0aad(0x23c));var _0x46ebf0=(_0x250f5a=>(_0x250f5a[_0x250f5a[_0x5e0aad(0x431)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x250f5a[_0x250f5a[_0x5e0aad(0x3aa)]=0x1]=_0x5e0aad(0x3aa),_0x250f5a))(_0x46ebf0||{});const _0x30f463=0x7530,_0x52069a=_0x5e0aad(0x4b5);class _0x4b72bd extends _0x260eff[_0x5e0aad(0x2ec)]{constructor(){const _0x3fde1f=_0x5e0aad;super(),_0x133e34(this,'_id',_0x260eff[_0x3fde1f(0x3e7)][_0x3fde1f(0x2d1)]()),_0x133e34(this,_0x3fde1f(0x56c),new Set()),_0x133e34(this,_0x3fde1f(0x419),new Map()),_0x133e34(this,'_heartbeatTimer',null),_0x133e34(this,'_clearOtherTimers',new Map()),_0x133e34(this,_0x3fde1f(0x5d1),new Map()),this[_0x3fde1f(0x1de)]();}[_0x5e0aad(0x5f0)](){const _0x516922=_0x5e0aad;super[_0x516922(0x5f0)](),this['_clearOtherTimers'][_0x516922(0x5f7)]((_0xc39cbd,_0x394bec)=>this[_0x516922(0x2b7)](_0x394bec)),this['_heartbeatTimer']&&window[_0x516922(0x59a)](this[_0x516922(0x500)]);}['getUnitStatus$'](_0x329fd3){const _0x91523f=_0x5e0aad;return this[_0x91523f(0x325)](_0x329fd3)[_0x91523f(0x4f6)](_0x543965[_0x91523f(0x40f)]());}[_0x5e0aad(0x487)](_0x1875f3){const _0x4556e8=_0x5e0aad;this[_0x4556e8(0x56c)][_0x4556e8(0x5e4)]===0x0&&this[_0x4556e8(0x53a)](),this[_0x4556e8(0x56c)][_0x4556e8(0x33b)](_0x1875f3),this[_0x4556e8(0x1f7)]({'type':0x0,'memberID':this[_0x4556e8(0x38c)],'unitIDs':[_0x1875f3],'isForwarded':!0x1});}[_0x5e0aad(0x307)](_0x4169a5){const _0x4cf398=_0x5e0aad;this[_0x4cf398(0x56c)][_0x4cf398(0x516)](_0x4169a5),this[_0x4cf398(0x56c)][_0x4cf398(0x5e4)]===0x0&&this[_0x4cf398(0x500)]&&window['clearInterval'](this[_0x4cf398(0x500)]);}[_0x5e0aad(0x1de)](){const _0xd27d24=_0x5e0aad;this[_0xd27d24(0x539)](_0x260eff[_0xd27d24(0x36e)](_0x543965[_0xd27d24(0x2b4)](window,'storage')[_0xd27d24(0x19e)](_0x1c6d6d=>{const _0x24ace3=_0xd27d24;if(_0x1c6d6d[_0x24ace3(0x54e)]!==_0x52069a||!_0x1c6d6d['newValue'])return;const _0x4c95aa=JSON[_0x24ace3(0x42e)](_0x1c6d6d[_0x24ace3(0x253)]);this[_0x24ace3(0x1e6)](_0x4c95aa);}))),window[_0xd27d24(0x50a)](_0xd27d24(0x4a9),()=>this[_0xd27d24(0x1f7)]({'type':0x1,'memberID':this[_0xd27d24(0x38c)],'unitIDs':Array[_0xd27d24(0x39a)](this['_selfUnitIDs'])}));}[_0x5e0aad(0x1e6)](_0x24d56b){const _0x4b4eb0=_0x5e0aad;switch(_0x24d56b[_0x4b4eb0(0x1d1)]){case 0x0:this['_handleJoinEvent'](_0x24d56b);break;case 0x1:this[_0x4b4eb0(0x2c8)](_0x24d56b);break;case 0x2:this[_0x4b4eb0(0x5de)](_0x24d56b);break;}}[_0x5e0aad(0x1f3)](_0x120fbb){const _0x4d3360=_0x5e0aad,{unitIDs:_0x12bf62,memberID:_0x37241f,isForwarded:_0x50426c}=_0x120fbb;_0x12bf62[_0x4d3360(0x5f7)](_0x3ee3d6=>{const _0x56f9bf=_0x4d3360;if(!_0x50426c&&this[_0x56f9bf(0x419)][_0x56f9bf(0x534)](_0x3ee3d6)&&this[_0x56f9bf(0x325)](_0x3ee3d6)[_0x56f9bf(0x4ca)](0x1),!this[_0x56f9bf(0x419)][_0x56f9bf(0x534)](_0x3ee3d6)||!this['_unitOnClients']['get'](_0x3ee3d6)[_0x56f9bf(0x534)](_0x37241f)){const _0x1c81ef=this[_0x56f9bf(0x419)]['get'](_0x3ee3d6)||new Set();_0x1c81ef[_0x56f9bf(0x33b)](_0x37241f),this[_0x56f9bf(0x419)][_0x56f9bf(0x5f3)](_0x3ee3d6,_0x1c81ef),this[_0x56f9bf(0x29e)](_0x37241f);}}),_0x50426c||this[_0x4d3360(0x1f7)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x4d3360(0x56c)]],'isForwarded':!0x0});}[_0x5e0aad(0x29e)](_0x3cef00){const _0x4c27a9=_0x5e0aad;this[_0x4c27a9(0x2b7)](_0x3cef00);const _0x1c1e4b=window['setTimeout'](()=>{const _0x54cca9=_0x4c27a9;this[_0x54cca9(0x419)]['forEach'](_0x24415d=>{_0x24415d['delete'](_0x3cef00);});},_0x30f463*0x2);this[_0x4c27a9(0x5b4)][_0x4c27a9(0x5f3)](_0x3cef00,_0x1c1e4b);}[_0x5e0aad(0x2b7)](_0x42d861){const _0x496439=_0x5e0aad;if(this[_0x496439(0x5b4)][_0x496439(0x534)](_0x42d861)){const _0x31594d=this[_0x496439(0x5b4)][_0x496439(0x391)](_0x42d861);_0x31594d&&window[_0x496439(0x4d3)](_0x31594d),this[_0x496439(0x5b4)][_0x496439(0x5f3)](_0x42d861,null);}}[_0x5e0aad(0x2c8)](_0x302a0b){const _0x4a8ee6=_0x5e0aad,{memberID:_0x394af0,unitIDs:_0x994e13}=_0x302a0b;_0x994e13[_0x4a8ee6(0x5f7)](_0x1aff2d=>{const _0x22740a=_0x4a8ee6;var _0x140a4f;const _0x5d0188=this[_0x22740a(0x419)][_0x22740a(0x391)](_0x1aff2d);_0x5d0188&&(_0x5d0188[_0x22740a(0x516)](_0x394af0),(_0x140a4f=this[_0x22740a(0x325)](_0x1aff2d))==null||_0x140a4f[_0x22740a(0x4ca)](_0x5d0188[_0x22740a(0x5e4)]===0x0?0x0:0x1));}),this[_0x4a8ee6(0x2b7)](_0x394af0);}['_handleHeartbeatEvent'](_0x3ffd8a){const _0x14f2f1=_0x5e0aad;this[_0x14f2f1(0x29e)](_0x3ffd8a[_0x14f2f1(0x4d0)]);}[_0x5e0aad(0x1f7)](_0x34460a){const _0x5a33f0=_0x5e0aad;localStorage[_0x5a33f0(0x501)](_0x52069a,JSON[_0x5a33f0(0x4b8)](_0x34460a));}[_0x5e0aad(0x53a)](){const _0x49ce35=_0x5e0aad;this[_0x49ce35(0x500)]=window[_0x49ce35(0x5b0)](()=>{const _0x298013=_0x49ce35;this[_0x298013(0x1f7)]({'type':0x2,'memberID':this[_0x298013(0x38c)]});},_0x30f463);}['_ensureSubject'](_0x40018){const _0x25f887=_0x5e0aad;return this['_unitStatus'][_0x25f887(0x534)](_0x40018)||this[_0x25f887(0x5d1)]['set'](_0x40018,new _0x543965['BehaviorSubject'](0x0)),this[_0x25f887(0x5d1)][_0x25f887(0x391)](_0x40018);}}var _0x7568c8=Object[_0x5e0aad(0x2e4)],_0x544fd0=Object['getOwnPropertyDescriptor'],_0xc1c4b5=(_0x458cb3,_0x3ed704,_0x1b50fc,_0xe5c1a7)=>{const _0x5aabc4=_0x5e0aad;for(var _0xee2011=_0xe5c1a7>0x1?void 0x0:_0xe5c1a7?_0x544fd0(_0x3ed704,_0x1b50fc):_0x3ed704,_0x58b898=_0x458cb3[_0x5aabc4(0x1cc)]-0x1,_0x52ed84;_0x58b898>=0x0;_0x58b898--)(_0x52ed84=_0x458cb3[_0x58b898])&&(_0xee2011=(_0xe5c1a7?_0x52ed84(_0x3ed704,_0x1b50fc,_0xee2011):_0x52ed84(_0xee2011))||_0xee2011);return _0xe5c1a7&&_0xee2011&&_0x7568c8(_0x3ed704,_0x1b50fc,_0xee2011),_0xee2011;},_0x39d46d=(_0x3d8e88,_0x5bb548)=>(_0x456c8c,_0x218fb3)=>_0x5bb548(_0x456c8c,_0x218fb3,_0x3d8e88);let _0x567b03=class{constructor(_0x2c99fd,_0x3fc616,_0x23c062){const _0x246345=_0x5e0aad;this[_0x246345(0x2a2)]=_0x2c99fd,this[_0x246345(0x549)]=_0x3fc616,this[_0x246345(0x50f)]=_0x23c062;}[_0x5e0aad(0x62e)](_0x5016c6){this['_transformHistoryAndStateStack'](_0x5016c6);}['transformRemoteChangeset'](_0x1211a0){const _0x509370=_0x5e0aad,{unitID:_0x3ff476}=_0x1211a0,{collaboration:_0x31fc9e}=this['_docStateChangeManagerService']['getStateCache'](_0x3ff476);if(_0x31fc9e[_0x509370(0x1cc)]===0x0)return _0x1211a0;let _0x566b1f=_0x260eff[_0x509370(0x3e7)][_0x509370(0x224)](_0x1211a0['mutations'][0x0]);for(let _0x24f13f=0x0;_0x24f13f<_0x31fc9e[_0x509370(0x1cc)];_0x24f13f++){const _0x1e2b33={'id':_0x509370(0x2ee),'params':{'unitId':_0x31fc9e[_0x24f13f][_0x509370(0x1e1)],..._0x31fc9e[_0x24f13f]['redoState']}},_0x28cfad=this['_transformService']['transformMutation'](_0x566b1f,_0x1e2b33,!0x1);if(_0x11d062[_0x509370(0x624)](_0x28cfad))throw _0x28cfad[_0x509370(0x346)];_0x566b1f=_0x28cfad[_0x509370(0x32b)];}return{..._0x260eff['Tools']['deepClone'](_0x1211a0),'mutations':[_0x566b1f]};}[_0x5e0aad(0x5c7)](_0x38a32b){const _0x1124bf=_0x5e0aad,{unitID:_0x1a44bf}=_0x38a32b,{history:_0x492958,collaboration:_0x254d48}=this[_0x1124bf(0x50f)][_0x1124bf(0x3bc)](_0x1a44bf);if(_0x492958['length']===0x0&&_0x254d48[_0x1124bf(0x1cc)]===0x0)return;const _0x46f708=[],_0x3763d4=[];let _0x4cb42b=_0x260eff[_0x1124bf(0x3e7)][_0x1124bf(0x224)](_0x38a32b['mutations'][0x0]),_0x33f3b6=_0x260eff[_0x1124bf(0x3e7)][_0x1124bf(0x224)](_0x38a32b['mutations'][0x0]);for(let _0x50bc5c=_0x492958[_0x1124bf(0x1cc)]-0x1;_0x50bc5c>=0x0;_0x50bc5c--){const _0x4f0f92={'id':_0x1124bf(0x2ee),'params':{'unitId':_0x492958[_0x50bc5c][_0x1124bf(0x1e1)],..._0x492958[_0x50bc5c][_0x1124bf(0x58d)]}},_0x50bc96={'id':_0x1124bf(0x2ee),'params':{'unitId':_0x492958[_0x50bc5c]['unitId'],..._0x492958[_0x50bc5c][_0x1124bf(0x239)]}},_0x17f061=this[_0x1124bf(0x549)][_0x1124bf(0x511)](_0x4cb42b,_0x4f0f92,!0x1),_0x269fe3=this[_0x1124bf(0x549)][_0x1124bf(0x511)](_0x33f3b6,_0x50bc96,!0x1);if(_0x11d062['isTransformMutationFailure'](_0x17f061))throw _0x17f061[_0x1124bf(0x346)];if(_0x11d062['isTransformMutationFailure'](_0x269fe3))throw _0x269fe3[_0x1124bf(0x346)];_0x46f708['unshift']({..._0x492958[_0x50bc5c],'undoState':_0x17f061[_0x1124bf(0x1ba)][_0x1124bf(0x469)],'redoState':_0x269fe3['m2Prime'][_0x1124bf(0x469)]}),_0x4cb42b=_0x17f061['m1Prime'],_0x33f3b6=_0x269fe3[_0x1124bf(0x32b)];}_0x4cb42b=_0x260eff['Tools']['deepClone'](_0x38a32b[_0x1124bf(0x3fa)][0x0]),_0x33f3b6=_0x260eff['Tools'][_0x1124bf(0x224)](_0x38a32b[_0x1124bf(0x3fa)][0x0]);for(let _0x1a3831=_0x254d48[_0x1124bf(0x1cc)]-0x1;_0x1a3831>=0x0;_0x1a3831--){const _0x5842b4={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x254d48[_0x1a3831][_0x1124bf(0x1e1)],..._0x254d48[_0x1a3831][_0x1124bf(0x58d)]}},_0x178fdc={'id':_0x1124bf(0x2ee),'params':{'unitId':_0x254d48[_0x1a3831][_0x1124bf(0x1e1)],..._0x254d48[_0x1a3831][_0x1124bf(0x239)]}},_0x16d419=this[_0x1124bf(0x549)][_0x1124bf(0x511)](_0x4cb42b,_0x5842b4,!0x1),_0x11a581=this[_0x1124bf(0x549)][_0x1124bf(0x511)](_0x33f3b6,_0x178fdc,!0x1);if(_0x11d062[_0x1124bf(0x624)](_0x16d419))throw _0x16d419['error'];if(_0x11d062[_0x1124bf(0x624)](_0x11a581))throw _0x11a581[_0x1124bf(0x346)];_0x3763d4[_0x1124bf(0x5fb)]({..._0x254d48[_0x1a3831],'undoState':_0x16d419[_0x1124bf(0x1ba)][_0x1124bf(0x469)],'redoState':_0x11a581[_0x1124bf(0x1ba)][_0x1124bf(0x469)]}),_0x4cb42b=_0x16d419[_0x1124bf(0x32b)],_0x33f3b6=_0x11a581['m1Prime'];}this[_0x1124bf(0x50f)][_0x1124bf(0x1c2)](_0x1a44bf,{'history':_0x46f708,'collaboration':_0x3763d4});}};_0x567b03=_0xc1c4b5([_0x39d46d(0x0,_0x260eff[_0x5e0aad(0x34e)](_0x260eff[_0x5e0aad(0x263)])),_0x39d46d(0x1,_0x11d062[_0x5e0aad(0x365)]),_0x39d46d(0x2,_0x260eff[_0x5e0aad(0x34e)](_0x1517b1['DocStateChangeManagerService']))],_0x567b03);function _0x2f73f6(_0x4a7d48){const _0x3c10b4=_0x5e0aad;let _0x57b6a8='';for(const _0x10b2c5 of _0x4a7d48){const {startOffset:_0x5f0c6b,endOffset:_0x89caef,isActive:_0x1a01f6,rangeType:_0x73bf1c,segmentId:_0x280216,segmentPage:_0x48da10}=_0x10b2c5;_0x57b6a8[_0x3c10b4(0x1cc)]&&(_0x57b6a8+=','),_0x57b6a8+=_0x5f0c6b+':'+_0x89caef+':'+(_0x1a01f6?'1':'0')+':'+_0x73bf1c+':'+_0x280216+':'+_0x48da10;}return _0x57b6a8;}function _0x452ccc(_0x18a2bc){const _0x18a78e=_0x5e0aad,_0x234e13=_0x18a2bc['split'](','),_0x56eadb=[];for(const _0x219534 of _0x234e13){const [_0x430fff,_0x29ee1d,_0x21c321,_0x4964e2,_0x33ea46,_0x16997f]=_0x219534['split'](':');_0x56eadb['push']({'startOffset':Number(_0x430fff),'endOffset':Number(_0x29ee1d),'collapsed':_0x430fff===_0x29ee1d,'isActive':_0x21c321==='1','rangeType':_0x4964e2===_0x260eff['DOC_RANGE_TYPE']['TEXT']?_0x260eff[_0x18a78e(0x251)]['TEXT']:_0x260eff[_0x18a78e(0x251)]['RECT'],'segmentId':typeof _0x33ea46=='string'?String(_0x33ea46):'','segmentPage':Number(_0x16997f!=null?_0x16997f:-0x1)});}return _0x56eadb[_0x18a78e(0x593)](_0x134c35=>_0x134c35[_0x18a78e(0x36b)])||(_0x56eadb[0x0][_0x18a78e(0x36b)]=!0x0),_0x56eadb;}class _0x5a52b4 extends _0x260eff[_0x5e0aad(0x1b1)]{constructor(){const _0xb17b2e=_0x5e0aad;super(...arguments),_0x133e34(this,_0xb17b2e(0x45e),new _0x543965[(_0xb17b2e(0x20b))](null)),_0x133e34(this,_0xb17b2e(0x379),this[_0xb17b2e(0x45e)][_0xb17b2e(0x211)]());}[_0x5e0aad(0x55b)](_0x3e9f2e){const _0x453d=_0x5e0aad,{unitID:_0x804998,memberID:_0x474376,textRanges:_0xe08cc}=_0x3e9f2e,_0x5005bb=_0x2f73f6(_0xe08cc);if(_0x5005bb==='')return;const _0x42459c={'unitID':_0x804998,'memberID':_0x474376,'selection':_0x5005bb};this[_0x453d(0x45e)]['next'](_0x42459c);}}var _0x493ad5=Object['defineProperty'],_0xa345b5=Object[_0x5e0aad(0x585)],_0x565ba4=(_0x1e8c82,_0x5c0596,_0x17df4e,_0x3f0521)=>{const _0x24a86f=_0x5e0aad;for(var _0x3dc442=_0x3f0521>0x1?void 0x0:_0x3f0521?_0xa345b5(_0x5c0596,_0x17df4e):_0x5c0596,_0x5b46a4=_0x1e8c82[_0x24a86f(0x1cc)]-0x1,_0x12dc81;_0x5b46a4>=0x0;_0x5b46a4--)(_0x12dc81=_0x1e8c82[_0x5b46a4])&&(_0x3dc442=(_0x3f0521?_0x12dc81(_0x5c0596,_0x17df4e,_0x3dc442):_0x12dc81(_0x3dc442))||_0x3dc442);return _0x3f0521&&_0x3dc442&&_0x493ad5(_0x5c0596,_0x17df4e,_0x3dc442),_0x3dc442;},_0x2d892c=(_0x490d53,_0x51c0ab)=>(_0x4804ca,_0x47a132)=>_0x51c0ab(_0x4804ca,_0x47a132,_0x490d53);let _0x4fa77a=class{constructor(_0x578878,_0x3744d7){const _0x46d4e4=_0x5e0aad;this['_injector']=_0x578878,this[_0x46d4e4(0x549)]=_0x3744d7;}['transformSelections'](_0x389fd8){const _0x2efb13=_0x5e0aad;var _0x13bb37;const _0x208005=this['_injector'][_0x2efb13(0x391)](_0x433bf3[_0x2efb13(0x2b0)]),_0x5af0cc=(_0x13bb37=_0x208005[_0x2efb13(0x2a7)]())!=null?_0x13bb37:[];if(_0x5af0cc[_0x2efb13(0x1cc)]===0x0)return;const _0x4a5bd1=_0x389fd8[_0x2efb13(0x605)],_0x4e82f4=[{'id':_0x2efb13(0x2ee),'params':{'unitId':_0x4a5bd1,'actions':null,'textRanges':_0x5af0cc}}],_0x510ee9=this[_0x2efb13(0x549)][_0x2efb13(0x41f)](_0x389fd8,_0x4e82f4);if(!_0x11d062['isTransformMutationsWithChangesetSuccess'](_0x510ee9))throw _0x510ee9[_0x2efb13(0x346)];const _0x57afc4=_0x510ee9['m2Prime'][0x0][_0x2efb13(0x469)]['textRanges'];Array[_0x2efb13(0x54b)](_0x57afc4)&&_0x57afc4[_0x2efb13(0x1cc)]&&_0x208005[_0x2efb13(0x1a2)](_0x57afc4,{'unitId':_0x4a5bd1,'subUnitId':_0x4a5bd1},!0x1);}};_0x4fa77a=_0x565ba4([_0x2d892c(0x0,_0x260eff[_0x5e0aad(0x34e)](_0x260eff['Injector'])),_0x2d892c(0x1,_0x11d062[_0x5e0aad(0x365)])],_0x4fa77a);const _0x2b1e8e=new Set([_0x47516e[_0x5e0aad(0x601)]['id']]);function _0x426796(_0x5544c5,_0xa3e7e3,_0x54f7c4,_0x5a2309,_0x18656e){const _0x41ca99=_0x5e0aad;var _0x153aae,_0x55e041,_0x57d0c8,_0x527beb;const _0x2905ee=[];for(const _0x2876bc of _0x5544c5)if(_0x2b1e8e[_0x41ca99(0x534)](_0x2876bc['id'])){if(_0x2905ee[_0x41ca99(0x1cc)]>0x0)break;_0x2905ee[_0x41ca99(0x616)](_0x2876bc);break;}else _0x2905ee[_0x41ca99(0x616)](_0x2876bc);const _0x170889=(_0x55e041=(_0x153aae=_0x18656e[_0x41ca99(0x1f2)]())==null?void 0x0:_0x153aae['userID'])!=null?_0x55e041:'unknown',_0x187e67=(_0x527beb=(_0x57d0c8=_0x18656e['getCurrentUser']())==null?void 0x0:_0x57d0c8[_0x41ca99(0x4d0)])!=null?_0x527beb:_0x41ca99(0x267);return{'changeset':{'unitID':_0xa3e7e3,'type':_0x11d062['mapDocumentTypeToUniverType'](_0x54f7c4['getUnitType'](_0xa3e7e3)),'baseRev':_0x5a2309[_0x41ca99(0x36c)](_0xa3e7e3),'revision':0x0,'userID':_0x170889,'memberID':_0x187e67,'mutations':_0x2905ee},'pendingMutations':_0x5544c5[_0x41ca99(0x562)](_0x2905ee['length'])};}function _0x25e2e8(_0x3ca9e4,_0x4cfc5b,_0x245907,_0x1edd17,_0x1b14de){const _0x31a8a3=_0x5e0aad;var _0x46b88d,_0x54bb40,_0x24d25e,_0x3486ee;const _0x249add=[_0x3ca9e4[_0x31a8a3(0x1ec)]((_0xea4493,_0x7fb76)=>{const _0x18365c=_0x31a8a3;var _0x6d294b;const {id:_0x5a3f09}=_0xea4493,{id:_0x248530,type:_0x43f51b}=_0x7fb76,_0x41cdd8=(_0x6d294b=_0xea4493[_0x18365c(0x469)])!=null?_0x6d294b:{'actions':null},_0x299a86=_0x7fb76[_0x18365c(0x469)];if(_0x5a3f09&&_0x5a3f09!==_0x248530)throw new Error(_0x18365c(0x37b)+_0x5a3f09+_0x18365c(0x237)+_0x248530+'.');return{..._0xea4493,'id':_0x248530,'type':_0x43f51b,'params':{'unitId':_0x299a86[_0x18365c(0x1e1)],'textRanges':_0x299a86[_0x18365c(0x320)],'actions':_0x260eff['JSONX']['compose'](_0x41cdd8[_0x18365c(0x3d6)],_0x299a86[_0x18365c(0x3d6)])}};},{})],_0x32a05a=(_0x54bb40=(_0x46b88d=_0x1b14de[_0x31a8a3(0x1f2)]())==null?void 0x0:_0x46b88d['userID'])!=null?_0x54bb40:'unknown',_0x4e9ea5=(_0x3486ee=(_0x24d25e=_0x1b14de['getCurrentUser']())==null?void 0x0:_0x24d25e[_0x31a8a3(0x4d0)])!=null?_0x3486ee:'unknown';return{'changeset':{'unitID':_0x4cfc5b,'type':_0x11d062[_0x31a8a3(0x441)](_0x245907[_0x31a8a3(0x647)](_0x4cfc5b)),'baseRev':_0x1edd17[_0x31a8a3(0x36c)](_0x4cfc5b),'revision':0x0,'userID':_0x32a05a,'memberID':_0x4e9ea5,'mutations':_0x249add},'pendingMutations':[]};}function _0x26baff(_0x5cdb1d,_0xb4f8bd){const _0x5e4d05=_0x5e0aad,_0x3011fb=new _0x543965['ReplaySubject'](0x1);return setTimeout(()=>_0x3011fb[_0x5e4d05(0x4ca)](_0xb4f8bd),_0x5cdb1d),_0x3011fb[_0x5e4d05(0x211)]()['pipe'](_0x543965[_0x5e4d05(0x31e)](0x1));}const _0x51b306={'id':_0x47516e[_0x5e0aad(0x24c)]['id'],'type':_0x260eff['CommandType'][_0x5e0aad(0x4da)],'params':{}};var _0x52ce11=Object[_0x5e0aad(0x2e4)],_0x403cdd=Object[_0x5e0aad(0x585)],_0x423c6b=(_0x3c8b5f,_0x2e9c0d,_0x204713,_0x3433a9)=>{for(var _0x2bc513=_0x3433a9>0x1?void 0x0:_0x3433a9?_0x403cdd(_0x2e9c0d,_0x204713):_0x2e9c0d,_0x25749b=_0x3c8b5f['length']-0x1,_0x41a862;_0x25749b>=0x0;_0x25749b--)(_0x41a862=_0x3c8b5f[_0x25749b])&&(_0x2bc513=(_0x3433a9?_0x41a862(_0x2e9c0d,_0x204713,_0x2bc513):_0x41a862(_0x2bc513))||_0x2bc513);return _0x3433a9&&_0x2bc513&&_0x52ce11(_0x2e9c0d,_0x204713,_0x2bc513),_0x2bc513;},_0x1ce875=(_0x33f44b,_0x10149d)=>(_0x525e72,_0x451378)=>_0x10149d(_0x525e72,_0x451378,_0x33f44b),_0x198fc6=(_0x2b3b3d=>(_0x2b3b3d['NOT_COLLAB']=_0x5e0aad(0x335),_0x2b3b3d['SYNCED']=_0x5e0aad(0x505),_0x2b3b3d[_0x5e0aad(0x499)]=_0x5e0aad(0x302),_0x2b3b3d[_0x5e0aad(0x602)]=_0x5e0aad(0x5ef),_0x2b3b3d[_0x5e0aad(0x1ef)]='awaiting_with_pending',_0x2b3b3d['FETCH_MISS']=_0x5e0aad(0x570),_0x2b3b3d[_0x5e0aad(0x584)]=_0x5e0aad(0x3c3),_0x2b3b3d['OFFLINE']=_0x5e0aad(0x296),_0x2b3b3d))(_0x198fc6||{});const _0x38df56=0xea60;class _0x397884{constructor(_0x593a21,_0x164edd,_0x3674fc,_0x5bca47,_0x98a901,_0x1a34fe,_0x103c77,_0x4f3d4a,_0x359d94){const _0x47fe36=_0x5e0aad;_0x133e34(this,_0x47fe36(0x3ce),null),_0x133e34(this,_0x47fe36(0x621),[]),(this[_0x47fe36(0x605)]=_0x593a21,this['type']=_0x164edd,this[_0x47fe36(0x33f)]=_0x98a901,this[_0x47fe36(0x589)]=_0x1a34fe,this['_undoRedoService']=_0x103c77,this['_revisionService']=_0x4f3d4a,this['_localCacheService']=_0x359d94,this[_0x47fe36(0x3ce)]=_0x3674fc,this['_pendingMutations']=_0x5bca47);}[_0x5e0aad(0x546)](_0x5ed88f){const _0x4f4be7=_0x5e0aad,_0x21fd7c=this[_0x4f4be7(0x467)]['getCurrentRevOfUnit'](this[_0x4f4be7(0x605)]);return _0x5ed88f[_0x4f4be7(0x544)]>_0x21fd7c+0x1?(this[_0x4f4be7(0x33f)][_0x4f4be7(0x382)]({'from':_0x21fd7c,'to':_0x5ed88f[_0x4f4be7(0x544)]-0x1}),!0x0):!0x1;}[_0x5e0aad(0x374)](_0x4de971){const _0x2948a8=_0x5e0aad;this[_0x2948a8(0x1f1)][_0x2948a8(0x53f)](this[_0x2948a8(0x605)],_0x4de971);}[_0x5e0aad(0x412)](_0xc60b0e){const _0x195599=_0x5e0aad;var _0xca4198,_0x269b74;(_0x269b74=(_0xca4198=this[_0x195599(0x33f)])[_0x195599(0x2f1)])==null||_0x269b74[_0x195599(0x35e)](_0xca4198,_0xc60b0e);}[_0x5e0aad(0x397)](_0x544b01){const _0xa97c55=_0x5e0aad;var _0x3eee52,_0x14f1c4;return(_0x14f1c4=(_0x3eee52=this['_handler'])[_0xa97c55(0x509)])==null?void 0x0:_0x14f1c4[_0xa97c55(0x35e)](_0x3eee52,_0x544b01);}[_0x5e0aad(0x24b)](_0x2c9e6a){const _0x5bf0f3=_0x5e0aad;var _0x390394,_0x226450;return(_0x226450=(_0x390394=this[_0x5bf0f3(0x33f)])[_0x5bf0f3(0x46d)])==null?void 0x0:_0x226450['call'](_0x390394,_0x2c9e6a);}[_0x5e0aad(0x60d)](_0x30682a){const _0x4cca44=_0x5e0aad;var _0x214cdb,_0x1d2227,_0xcba729;return(_0xcba729=(_0x1d2227=(_0x214cdb=this[_0x4cca44(0x33f)])[_0x4cca44(0x5ad)])==null?void 0x0:_0x1d2227[_0x4cca44(0x35e)](_0x214cdb,_0x30682a))!=null?_0xcba729:_0x30682a;}[_0x5e0aad(0x53b)](_0x3450a8){const _0x22295c=_0x5e0aad;var _0x263958,_0x413218,_0x32d62c;return(_0x32d62c=(_0x413218=(_0x263958=this[_0x22295c(0x33f)])[_0x22295c(0x5cc)])==null?void 0x0:_0x413218[_0x22295c(0x35e)](_0x263958,_0x3450a8))!=null?_0x32d62c:_0x3450a8;}[_0x5e0aad(0x52f)](_0x20272c){const _0x4c4041=_0x5e0aad;var _0x8d70ba,_0x43a2f2;if(this['type']===_0x376044[_0x4c4041(0x246)]){const {unitID:_0x33b042,mutations:_0x236265,memberID:_0xa15c38}=_0x20272c,_0x522f03=_0x236265[0x0][_0x4c4041(0x469)][_0x4c4041(0x320)];Array[_0x4c4041(0x54b)](_0x522f03)&&_0x522f03[_0x4c4041(0x1cc)]>0x0&&((_0x43a2f2=(_0x8d70ba=this[_0x4c4041(0x33f)])['onSyncEditingCollabCursor'])==null||_0x43a2f2[_0x4c4041(0x35e)](_0x8d70ba,{'unitID':_0x33b042,'memberID':_0xa15c38,'textRanges':_0x522f03}));}}[_0x5e0aad(0x28d)](){const _0x2e8d72=_0x5e0aad;this['_localCacheService'][_0x2e8d72(0x446)](this[_0x2e8d72(0x605)],this[_0x2e8d72(0x1d1)],this[_0x2e8d72(0x3ce)],this[_0x2e8d72(0x621)]);}[_0x5e0aad(0x2e2)](){const _0x126a06=_0x5e0aad;return this[_0x126a06(0x467)][_0x126a06(0x36c)](this['unitID']);}[_0x5e0aad(0x227)](){const _0x131e60=_0x5e0aad;this[_0x131e60(0x467)][_0x131e60(0x240)](this['unitID']);}[_0x5e0aad(0x427)](_0x11891c){const _0x40aad3=_0x5e0aad;var _0x10e97d;let _0x2ae67b=this[_0x40aad3(0x60d)](_0x11891c);_0x2ae67b=this[_0x40aad3(0x53b)](_0x2ae67b);const _0x5ddf56=_0x260eff[_0x40aad3(0x38f)](_0x2ae67b[_0x40aad3(0x3fa)],this[_0x40aad3(0x589)],{'fromCollab':!0x0});if(!_0x5ddf56['result'])throw _0x5ddf56[_0x40aad3(0x346)]instanceof Error?_0x5ddf56[_0x40aad3(0x346)]:new Error((_0x10e97d=_0x5ddf56[_0x40aad3(0x346)])!=null?_0x10e97d:_0x40aad3(0x592));this[_0x40aad3(0x397)](_0x2ae67b),this[_0x40aad3(0x24b)](_0x2ae67b),this['_transformUndoredo'](_0x11891c),this[_0x40aad3(0x412)](_0x2ae67b),this[_0x40aad3(0x52f)](_0x2ae67b),this[_0x40aad3(0x227)]();}}let _0x477aa6=class extends _0x397884{constructor(_0x3da2d9,_0x26c8d2,_0x289374,_0x53e6a0,_0x543ae6,_0x3c7c3b,_0x41c224,_0x58c12c,_0x4a644b,_0x5e88d1){const _0x5464ed=_0x5e0aad;super(_0x3da2d9,_0x26c8d2,null,[],_0x289374,_0x58c12c,_0x41c224,_0x53e6a0,_0x543ae6),_0x133e34(this,_0x5464ed(0x52a),_0x5464ed(0x505)),(this[_0x5464ed(0x2a2)]=_0x3c7c3b,this['_logService']=_0x4a644b,this[_0x5464ed(0x549)]=_0x5e88d1);}[_0x5e0aad(0x3ff)](_0x3cff19){const _0x588fb2=_0x5e0aad,_0x251871=this['_injector'][_0x588fb2(0x623)](_0x457666,this[_0x588fb2(0x605)],this[_0x588fb2(0x1d1)],[_0x3cff19],this[_0x588fb2(0x33f)]);return _0x251871[_0x588fb2(0x50e)](),_0x251871['_updateLocalCache'](),_0x251871;}[_0x5e0aad(0x24f)](_0x3c2a84){const _0x5f0094=_0x5e0aad;if(this[_0x5f0094(0x546)](_0x3c2a84))return this['_injector']['createInstance'](_0x17b881,this['unitID'],this['type'],null,[],null,[_0x3c2a84],this[_0x5f0094(0x33f)]);try{const _0x24f433=this[_0x5f0094(0x549)][_0x5f0094(0x41f)](_0x3c2a84,[_0x51b306]);if(_0x11d062[_0x5f0094(0x44f)](_0x24f433)){const {c1Prime:_0x394c6f}=_0x24f433;return this[_0x5f0094(0x427)](_0x394c6f),this;}throw _0x24f433[_0x5f0094(0x346)];}catch(_0x39ac90){return this[_0x5f0094(0x250)][_0x5f0094(0x346)](_0x39ac90),this[_0x5f0094(0x50c)](!0x1);}}['_onConflict'](_0x2e1f69){const _0x331dc7=_0x5e0aad;return this[_0x331dc7(0x2a2)][_0x331dc7(0x623)](_0x26bcf4,this[_0x331dc7(0x605)],this[_0x331dc7(0x1d1)],null,[],this[_0x331dc7(0x33f)],_0x2e1f69);}[_0x5e0aad(0x1cb)](){const _0xa526d4=_0x5e0aad;throw new Error(_0xa526d4(0x5ae));}[_0x5e0aad(0x212)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x5e0aad(0x3a2)](){return this;}[_0x5e0aad(0x27e)](){const _0x22d6ce=_0x5e0aad;return this['_injector'][_0x22d6ce(0x623)](_0x3c4b05,this[_0x22d6ce(0x605)],this[_0x22d6ce(0x1d1)],null,[],this[_0x22d6ce(0x33f)]);}[_0x5e0aad(0x59f)](){return this;}[_0x5e0aad(0x508)](){const _0x3b9e4f=_0x5e0aad;throw new Error(_0x3b9e4f(0x4aa));}[_0x5e0aad(0x63a)](){const _0x43bfd7=_0x5e0aad,_0x41728d=this['_revisionService'][_0x43bfd7(0x36c)](this[_0x43bfd7(0x605)]);return this['_handler'][_0x43bfd7(0x382)]({'from':_0x41728d,'to':0x0}),this['_injector'][_0x43bfd7(0x623)](_0x17b881,this['unitID'],this[_0x43bfd7(0x1d1)],null,[],null,[],this[_0x43bfd7(0x33f)]);}};_0x477aa6=_0x423c6b([_0x1ce875(0x3,_0x260eff['Inject'](_0x11d062[_0x5e0aad(0x4c8)])),_0x1ce875(0x4,_0x260eff['Inject'](_0xc68ebf[_0x5e0aad(0x257)])),_0x1ce875(0x5,_0x260eff[_0x5e0aad(0x34e)](_0x260eff[_0x5e0aad(0x263)])),_0x1ce875(0x6,_0x260eff[_0x5e0aad(0x4f7)]),_0x1ce875(0x7,_0x260eff[_0x5e0aad(0x61f)]),_0x1ce875(0x8,_0x260eff[_0x5e0aad(0x5a8)]),_0x1ce875(0x9,_0x11d062[_0x5e0aad(0x365)])],_0x477aa6);let _0x457666=class extends _0x397884{constructor(_0x405484,_0x2a4ac8,_0x3bfdc1,_0x2f8624,_0x21a02f,_0x21d6f6,_0xa1e297,_0x21bf9c,_0x1b524a,_0x281f45,_0x31e473,_0x5bd2ad,_0x367029,_0x12f605){const _0x2539b8=_0x5e0aad;super(_0x405484,_0x2a4ac8,null,_0x3bfdc1,_0x2f8624,_0x281f45,_0x12f605,_0x21d6f6,_0xa1e297),_0x133e34(this,_0x2539b8(0x52a),'pending'),_0x133e34(this,_0x2539b8(0x215),null),_0x133e34(this,'_sendingTimer',null),(this[_0x2539b8(0x2a2)]=_0x21a02f,this['_memberService']=_0x21bf9c,this[_0x2539b8(0x250)]=_0x1b524a,this[_0x2539b8(0x350)]=_0x31e473,this[_0x2539b8(0x549)]=_0x5bd2ad,this[_0x2539b8(0x434)]=_0x367029);}[_0x5e0aad(0x3ff)](_0xb3afeb){const _0x2511d4=_0x5e0aad;return this['_pendingMutations']['push'](_0xb3afeb),this[_0x2511d4(0x28d)](),this;}[_0x5e0aad(0x24f)](_0x4d7202){const _0x15e6ae=_0x5e0aad;if(this[_0x15e6ae(0x546)](_0x4d7202))return this[_0x15e6ae(0x5f1)](),this[_0x15e6ae(0x2a2)][_0x15e6ae(0x623)](_0x17b881,this[_0x15e6ae(0x605)],this['type'],null,this[_0x15e6ae(0x621)],null,[_0x4d7202],this[_0x15e6ae(0x33f)]);try{const _0x49f330=this[_0x15e6ae(0x549)]['transformMutationsWithChangeset'](_0x4d7202,this['_pendingMutations']);if(_0x11d062[_0x15e6ae(0x44f)](_0x49f330)){const {c1Prime:_0x1c7bb1,m2Prime:_0x2ab291}=_0x49f330;this[_0x15e6ae(0x427)](_0x1c7bb1);const _0x5633a1=this[_0x15e6ae(0x2a2)][_0x15e6ae(0x623)](_0x457666,this[_0x15e6ae(0x605)],this[_0x15e6ae(0x1d1)],_0x2ab291,this['_handler']);return this[_0x15e6ae(0x5f1)](),_0x5633a1[_0x15e6ae(0x50e)](this[_0x15e6ae(0x215)]?Math[_0x15e6ae(0x4b7)](0x0,new Date()[_0x15e6ae(0x1fd)]()-this[_0x15e6ae(0x215)]):this[_0x15e6ae(0x394)]()),_0x5633a1;}throw _0x49f330[_0x15e6ae(0x346)];}catch(_0x10ed11){return this[_0x15e6ae(0x250)][_0x15e6ae(0x346)](_0x10ed11),this[_0x15e6ae(0x50c)](!0x1);}}[_0x5e0aad(0x1cb)](){const _0xadacb4=_0x5e0aad;throw new Error(_0xadacb4(0x27a));}[_0x5e0aad(0x212)](){const _0x28ec62=_0x5e0aad;throw new Error(_0x28ec62(0x61c));}[_0x5e0aad(0x3a2)](){return this;}[_0x5e0aad(0x27e)](){const _0x737227=_0x5e0aad;return this[_0x737227(0x5f1)](),this[_0x737227(0x2a2)][_0x737227(0x623)](_0x3c4b05,this['unitID'],this[_0x737227(0x1d1)],null,this[_0x737227(0x621)],this[_0x737227(0x33f)]);}[_0x5e0aad(0x59f)](){return this;}[_0x5e0aad(0x50e)](_0x22342e){const _0x1d9635=_0x5e0aad,_0x2cffe7=_0x22342e!=null?_0x22342e:this['_getSendChangesetTimeout']();this[_0x1d9635(0x215)]=new Date()[_0x1d9635(0x1fd)](),this[_0x1d9635(0x46c)]=window[_0x1d9635(0x5b3)](()=>{const _0x5e3600=_0x1d9635;this['_clearScheduledTask']();let _0xd6e0ff=null;switch(this[_0x5e3600(0x1d1)]){case _0x376044['UNIVER_SHEET']:{_0xd6e0ff=_0x426796(this[_0x5e3600(0x621)],this[_0x5e3600(0x605)],this[_0x5e3600(0x434)],this[_0x5e3600(0x467)],this[_0x5e3600(0x484)]);break;}case _0x376044[_0x5e3600(0x246)]:{this[_0x5e3600(0x621)][_0x5e3600(0x1bb)](_0x41a6cb=>_0x41a6cb['id']===_0x433bf3[_0x5e3600(0x5a2)]['id'])?_0xd6e0ff=_0x25e2e8(this[_0x5e3600(0x621)],this['unitID'],this[_0x5e3600(0x434)],this[_0x5e3600(0x467)],this[_0x5e3600(0x484)]):_0xd6e0ff=_0x426796(this[_0x5e3600(0x621)],this[_0x5e3600(0x605)],this[_0x5e3600(0x434)],this[_0x5e3600(0x467)],this['_memberService']);break;}default:throw new Error(_0x5e3600(0x527)+this['type']+_0x5e3600(0x1c6));}const {changeset:_0x63a597,pendingMutations:_0x24eec2}=_0xd6e0ff;this[_0x5e3600(0x33f)][_0x5e3600(0x4b6)](_0x63a597);const _0x375214=_0x24eec2[_0x5e3600(0x1cc)]?this['_injector'][_0x5e3600(0x623)](_0x1216ad,this[_0x5e3600(0x605)],this[_0x5e3600(0x1d1)],_0x63a597,_0x24eec2,this[_0x5e3600(0x33f)],void 0x0):this[_0x5e3600(0x2a2)]['createInstance'](_0x327181,this[_0x5e3600(0x605)],this['type'],_0x63a597,this[_0x5e3600(0x33f)]);_0x375214['_updateLocalCache'](),this[_0x5e3600(0x33f)][_0x5e3600(0x3dd)](this,_0x375214);},_0x2cffe7);}['_getSendChangesetTimeout'](){const _0x4351e8=_0x5e0aad;var _0x26e2ac;const _0x338130=this[_0x4351e8(0x350)]['getConfig'](_0x48905f);return(_0x26e2ac=_0x338130==null?void 0x0:_0x338130[_0x4351e8(0x3f0)])!=null?_0x26e2ac:0x7d0;}[_0x5e0aad(0x508)](){const _0xba68a8=_0x5e0aad;throw new Error(_0xba68a8(0x1fc));}[_0x5e0aad(0x5f1)](){const _0x1e8792=_0x5e0aad;this[_0x1e8792(0x46c)]!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}['_onConflict'](_0xe4cfcc){const _0x3f7b21=_0x5e0aad;return this[_0x3f7b21(0x5f1)](),this['_injector'][_0x3f7b21(0x623)](_0x26bcf4,this['unitID'],this[_0x3f7b21(0x1d1)],null,this[_0x3f7b21(0x621)],this['_handler'],_0xe4cfcc);}};_0x457666=_0x423c6b([_0x1ce875(0x4,_0x260eff[_0x5e0aad(0x34e)](_0x260eff[_0x5e0aad(0x263)])),_0x1ce875(0x5,_0x260eff[_0x5e0aad(0x34e)](_0x11d062['RevisionService'])),_0x1ce875(0x6,_0x260eff[_0x5e0aad(0x34e)](_0xc68ebf[_0x5e0aad(0x257)])),_0x1ce875(0x7,_0x260eff[_0x5e0aad(0x34e)](_0xc68ebf[_0x5e0aad(0x470)])),_0x1ce875(0x8,_0x260eff[_0x5e0aad(0x5a8)]),_0x1ce875(0x9,_0x260eff[_0x5e0aad(0x61f)]),_0x1ce875(0xa,_0x260eff['IConfigService']),_0x1ce875(0xb,_0x11d062[_0x5e0aad(0x365)]),_0x1ce875(0xc,_0x260eff[_0x5e0aad(0x44d)]),_0x1ce875(0xd,_0x260eff[_0x5e0aad(0x4f7)])],_0x457666);let _0x327181=class extends _0x397884{constructor(_0x2f81dc,_0xe26c96,_0x14af80,_0x75ff3d,_0x3d26f6,_0x14ba64,_0x3db422,_0x5c92f8,_0x4d0a2f,_0x30022b,_0x4a174a){const _0xa4b661=_0x5e0aad;super(_0x2f81dc,_0xe26c96,_0x14af80,[],_0x75ff3d,_0x5c92f8,_0x4a174a,_0x14ba64,_0x3db422),_0x133e34(this,_0xa4b661(0x52a),_0xa4b661(0x5ef)),_0x133e34(this,_0xa4b661(0x398),0x0),_0x133e34(this,_0xa4b661(0x3d0)),_0x133e34(this,_0xa4b661(0x3a9)),(this['_injector']=_0x3d26f6,this[_0xa4b661(0x250)]=_0x4d0a2f,this[_0xa4b661(0x549)]=_0x30022b);}[_0x5e0aad(0x3ff)](_0x3464d9){const _0x1ca6cd=_0x5e0aad;this[_0x1ca6cd(0x5f1)]();const _0x2d147e=this['_injector'][_0x1ca6cd(0x623)](_0x1216ad,this['unitID'],this[_0x1ca6cd(0x1d1)],this[_0x1ca6cd(0x3ce)],[_0x3464d9],this[_0x1ca6cd(0x33f)],this[_0x1ca6cd(0x3d0)]);return _0x2d147e[_0x1ca6cd(0x28d)](),_0x2d147e;}['onRemoteChangeset'](_0x6f12fa){const _0x575179=_0x5e0aad;if(this['_checkMissing'](_0x6f12fa))return this[_0x575179(0x5f1)](),this[_0x575179(0x2a2)]['createInstance'](_0x17b881,this[_0x575179(0x605)],this[_0x575179(0x1d1)],this[_0x575179(0x3ce)],[],null,[_0x6f12fa],this[_0x575179(0x33f)]);try{const _0x457ca0=this[_0x575179(0x549)][_0x575179(0x2d6)]([_0x6f12fa],[this[_0x575179(0x3ce)]],!0x1);if(_0x11d062['isTransformChangesetsSuccess'](_0x457ca0)){const {c1Prime:_0x4597af,c2Prime:_0x2d2f05}=_0x457ca0;this[_0x575179(0x427)](_0x4597af[0x0]),_0x2d2f05[0x0][_0x575179(0x524)]=this[_0x575179(0x2e2)](),this[_0x575179(0x5f1)]();const _0x2bab09=this[_0x575179(0x2a2)]['createInstance'](_0x327181,this[_0x575179(0x605)],this[_0x575179(0x1d1)],_0x2d2f05[0x0],this['_handler']);return _0x2bab09[_0x575179(0x28d)](),_0x2bab09;}return this[_0x575179(0x50c)](!0x1);}catch(_0x3bbbc2){return this['_logService']['error'](_0x3bbbc2),this[_0x575179(0x50c)](!0x1);}}[_0x5e0aad(0x1cb)](_0xda7e05){const _0x1c1758=_0x5e0aad;this[_0x1c1758(0x5f1)]();const _0x132d3e=this[_0x1c1758(0x467)][_0x1c1758(0x36c)](this[_0x1c1758(0x605)]);if(_0xda7e05[_0x1c1758(0x544)]<_0x132d3e-0x1)return this;if(this['_checkMissing'](_0xda7e05))return this[_0x1c1758(0x2a2)][_0x1c1758(0x623)](_0x17b881,this[_0x1c1758(0x605)],this[_0x1c1758(0x1d1)],null,[],this['_awaitingChangeset'],[],this[_0x1c1758(0x33f)]);this[_0x1c1758(0x227)]();const _0x58e6f3=this[_0x1c1758(0x2a2)]['createInstance'](_0x477aa6,this['unitID'],this[_0x1c1758(0x1d1)],this[_0x1c1758(0x33f)]);return _0x58e6f3[_0x1c1758(0x28d)](),_0x58e6f3;}[_0x5e0aad(0x212)](_0x2330b3){return this['_onConflict'](!!(_0x2330b3!=null&&_0x2330b3['isPermissionRej']));}['onRemoteRetry'](_0xec8944){const _0x20fa53=_0x5e0aad;return this[_0x20fa53(0x398)]>_0x38df56?this[_0x20fa53(0x27e)]():(this['_resendTimer']=_0x26baff(this['_resendTimeout'],{'timeout':this[_0x20fa53(0x398)],'reqId':_0xec8944[_0x20fa53(0x644)]}),this['_sender']=this[_0x20fa53(0x3d0)][_0x20fa53(0x19e)](({reqId:_0x3b82ed,timeout:_0x4a547f})=>{const _0x409a3c=_0x20fa53;this[_0x409a3c(0x3bd)](_0x3b82ed,_0x4a547f);}),this);}[_0x5e0aad(0x27e)](){const _0x140f4c=_0x5e0aad;return this['_clearScheduledTask'](),this[_0x140f4c(0x2a2)][_0x140f4c(0x623)](_0x3c4b05,this[_0x140f4c(0x605)],this['type'],this[_0x140f4c(0x3ce)],[],this[_0x140f4c(0x33f)]);}['toggleOnline'](){return this;}['resend'](){const _0x4fa586=_0x5e0aad;this[_0x4fa586(0x33f)][_0x4fa586(0x4b6)](this['_awaitingChangeset']);}['_onConflict'](_0x421f61){const _0x2061b4=_0x5e0aad;return this['_clearScheduledTask'](),this[_0x2061b4(0x2a2)]['createInstance'](_0x26bcf4,this[_0x2061b4(0x605)],this['type'],this[_0x2061b4(0x3ce)],[],this[_0x2061b4(0x33f)],_0x421f61);}[_0x5e0aad(0x3bd)](_0x9ce019,_0xf9bad4){const _0x17dce5=_0x5e0aad;var _0x38154e;_0x9ce019===((_0x38154e=this[_0x17dce5(0x3ce)])==null?void 0x0:_0x38154e[_0x17dce5(0x644)])&&(this[_0x17dce5(0x508)](),this[_0x17dce5(0x398)]=_0xf9bad4===0x0?0x3e8:_0xf9bad4*0x2);}[_0x5e0aad(0x5f1)](){const _0x3e5285=_0x5e0aad;var _0xa98803;(_0xa98803=this[_0x3e5285(0x3a9)])==null||_0xa98803[_0x3e5285(0x5ab)](),this['_resendTimeout']=0x0;}};_0x327181=_0x423c6b([_0x1ce875(0x4,_0x260eff['Inject'](_0x260eff[_0x5e0aad(0x263)])),_0x1ce875(0x5,_0x260eff[_0x5e0aad(0x34e)](_0x11d062['RevisionService'])),_0x1ce875(0x6,_0x260eff[_0x5e0aad(0x34e)](_0xc68ebf['LocalCacheService'])),_0x1ce875(0x7,_0x260eff[_0x5e0aad(0x61f)]),_0x1ce875(0x8,_0x260eff[_0x5e0aad(0x5a8)]),_0x1ce875(0x9,_0x11d062[_0x5e0aad(0x365)]),_0x1ce875(0xa,_0x260eff[_0x5e0aad(0x4f7)])],_0x327181);let _0x1216ad=class extends _0x397884{constructor(_0x13307f,_0x87e72c,_0x376737,_0x114441,_0x4e22c7,_0x5e4bfd,_0x3ccfc9,_0x298ba9,_0x2ba582,_0x4ef7a9,_0x466f08,_0x32921e,_0x9e8de7){const _0x49e4c9=_0x5e0aad;super(_0x13307f,_0x87e72c,_0x376737,_0x114441,_0x4e22c7,_0x4ef7a9,_0x9e8de7,_0x298ba9,_0x2ba582),_0x133e34(this,_0x49e4c9(0x52a),_0x49e4c9(0x2fe)),_0x133e34(this,_0x49e4c9(0x398),0x0),_0x133e34(this,_0x49e4c9(0x3d0)),_0x133e34(this,_0x49e4c9(0x3a9)),(this[_0x49e4c9(0x2a2)]=_0x3ccfc9,this[_0x49e4c9(0x250)]=_0x466f08,this[_0x49e4c9(0x549)]=_0x32921e,_0x5e4bfd&&(this[_0x49e4c9(0x3d0)]=_0x5e4bfd,this[_0x49e4c9(0x3a9)]=this['_resendTimer'][_0x49e4c9(0x19e)](({reqId:_0x18f151,timeout:_0x74c946})=>{const _0x173af5=_0x49e4c9;this[_0x173af5(0x3bd)](_0x18f151,_0x74c946);})));}[_0x5e0aad(0x3ff)](_0x21c3e5){const _0x458344=_0x5e0aad;return this['_pendingMutations'][_0x458344(0x616)](_0x21c3e5),this;}[_0x5e0aad(0x24f)](_0x1800c4){const _0x4d2e54=_0x5e0aad;if(this['_checkMissing'](_0x1800c4))return this['_clearScheduledTask'](),this[_0x4d2e54(0x2a2)]['createInstance'](_0x17b881,this[_0x4d2e54(0x605)],this[_0x4d2e54(0x1d1)],this[_0x4d2e54(0x3ce)],this[_0x4d2e54(0x621)],null,[_0x1800c4],this[_0x4d2e54(0x33f)]);try{const _0x1367e9=this[_0x4d2e54(0x549)]['transformChangesets']([_0x1800c4],[this[_0x4d2e54(0x3ce)]],!0x1);if(_0x11d062[_0x4d2e54(0x474)](_0x1367e9)){const {c1Prime:_0x4a8c20,c2Prime:_0x3026a6}=_0x1367e9,_0x42b6e8=this['_transformService'][_0x4d2e54(0x41f)](_0x4a8c20[0x0],this[_0x4d2e54(0x621)]);if(_0x11d062[_0x4d2e54(0x44f)](_0x42b6e8)){const {c1Prime:_0x1c65bc,m2Prime:_0x8021bc}=_0x42b6e8;return this[_0x4d2e54(0x427)](_0x1c65bc),_0x3026a6[0x0][_0x4d2e54(0x524)]=this[_0x4d2e54(0x2e2)](),this[_0x4d2e54(0x5f1)](),this['_injector'][_0x4d2e54(0x623)](_0x1216ad,this['unitID'],this[_0x4d2e54(0x1d1)],_0x3026a6[0x0],_0x8021bc,this[_0x4d2e54(0x33f)],void 0x0);}throw _0x42b6e8[_0x4d2e54(0x346)];}throw _0x1367e9[_0x4d2e54(0x346)];}catch(_0x100b64){return this['_logService'][_0x4d2e54(0x346)](_0x100b64),this[_0x4d2e54(0x50c)](!0x1);}}[_0x5e0aad(0x1cb)](_0x2093e1){const _0x1e570e=_0x5e0aad;if(this[_0x1e570e(0x5f1)](),this['_checkMissing'](_0x2093e1))return this[_0x1e570e(0x2a2)][_0x1e570e(0x623)](_0x17b881,this[_0x1e570e(0x605)],this[_0x1e570e(0x1d1)],null,this[_0x1e570e(0x621)],this[_0x1e570e(0x3ce)],[],this[_0x1e570e(0x33f)]);this[_0x1e570e(0x227)]();const _0x247592=this['_injector'][_0x1e570e(0x623)](_0x457666,this[_0x1e570e(0x605)],this[_0x1e570e(0x1d1)],this[_0x1e570e(0x621)],this[_0x1e570e(0x33f)]);return _0x247592[_0x1e570e(0x50e)](),_0x247592[_0x1e570e(0x28d)](),_0x247592;}['onRemoteRej'](_0x27ae2c){const _0x4be165=_0x5e0aad;return this[_0x4be165(0x50c)](!!(_0x27ae2c!=null&&_0x27ae2c['isPermissionRej']));}[_0x5e0aad(0x3a2)](_0xfbc7e2){const _0x302518=_0x5e0aad;return this[_0x302518(0x398)]>_0x38df56?this[_0x302518(0x27e)]():(this[_0x302518(0x3d0)]=_0x26baff(this[_0x302518(0x398)],{'timeout':this['_resendTimeout'],'reqId':_0xfbc7e2[_0x302518(0x644)]}),this[_0x302518(0x3a9)]=this['_resendTimer']['subscribe'](({reqId:_0x560f7e,timeout:_0x146ce0})=>{const _0x43fa55=_0x302518;this[_0x43fa55(0x3bd)](_0x560f7e,_0x146ce0);}),this);}[_0x5e0aad(0x27e)](){const _0x1dd2eb=_0x5e0aad;return this[_0x1dd2eb(0x5f1)](),this[_0x1dd2eb(0x2a2)][_0x1dd2eb(0x623)](_0x3c4b05,this['unitID'],this[_0x1dd2eb(0x1d1)],this[_0x1dd2eb(0x3ce)],this[_0x1dd2eb(0x621)],this[_0x1dd2eb(0x33f)]);}['toggleOnline'](){return this;}[_0x5e0aad(0x508)](){const _0x1bee5b=_0x5e0aad;this[_0x1bee5b(0x33f)][_0x1bee5b(0x4b6)](this[_0x1bee5b(0x3ce)]);}['_onConflict'](_0x4c5579){const _0x373b21=_0x5e0aad;return this['_clearScheduledTask'](),this['_injector'][_0x373b21(0x623)](_0x26bcf4,this[_0x373b21(0x605)],this[_0x373b21(0x1d1)],null,this[_0x373b21(0x621)],this[_0x373b21(0x33f)],_0x4c5579);}[_0x5e0aad(0x3bd)](_0x5adbe5,_0x2f008e){const _0x1fea79=_0x5e0aad;var _0x1e19b3;_0x5adbe5===((_0x1e19b3=this[_0x1fea79(0x3ce)])==null?void 0x0:_0x1e19b3[_0x1fea79(0x644)])&&(this[_0x1fea79(0x508)](),this[_0x1fea79(0x398)]=_0x2f008e===0x0?0x3e8:_0x2f008e*0x2);}[_0x5e0aad(0x5f1)](){const _0x282867=_0x5e0aad;var _0x5c74b7;(_0x5c74b7=this[_0x282867(0x3a9)])==null||_0x5c74b7[_0x282867(0x5ab)](),this[_0x282867(0x398)]=0x0;}};_0x1216ad=_0x423c6b([_0x1ce875(0x6,_0x260eff[_0x5e0aad(0x34e)](_0x260eff[_0x5e0aad(0x263)])),_0x1ce875(0x7,_0x260eff[_0x5e0aad(0x34e)](_0x11d062[_0x5e0aad(0x4c8)])),_0x1ce875(0x8,_0x260eff[_0x5e0aad(0x34e)](_0xc68ebf[_0x5e0aad(0x257)])),_0x1ce875(0x9,_0x260eff[_0x5e0aad(0x61f)]),_0x1ce875(0xa,_0x260eff[_0x5e0aad(0x5a8)]),_0x1ce875(0xb,_0x11d062[_0x5e0aad(0x365)]),_0x1ce875(0xc,_0x260eff[_0x5e0aad(0x4f7)])],_0x1216ad);let _0x26bcf4=class extends _0x397884{constructor(_0x5889df,_0x4e5a70,_0x61af6,_0x3d7436,_0x220b2f,_0x147240=!0x1,_0x5a03ae,_0x59bc55,_0x5e3287,_0x8512ae,_0x23c63c,_0xd6065f,_0x2e152d){const _0x55a10c=_0x5e0aad;super(_0x5889df,_0x4e5a70,_0x61af6,_0x3d7436,_0x220b2f,_0x59bc55,_0x5e3287,_0x23c63c,_0x8512ae),_0x133e34(this,_0x55a10c(0x52a),'conflict'),(this[_0x55a10c(0x52e)]=_0x147240,this['_permissionService']=_0x5a03ae,this[_0x55a10c(0x3a4)]=_0xd6065f,this[_0x55a10c(0x5c4)]=_0x2e152d,this[_0x55a10c(0x367)](),this[_0x55a10c(0x369)](),this[_0x55a10c(0x588)]());}[_0x5e0aad(0x3ff)](){return this;}[_0x5e0aad(0x24f)](){return this;}[_0x5e0aad(0x1cb)](){return this;}[_0x5e0aad(0x212)](){return this;}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x5e0aad(0x59f)](){return this;}[_0x5e0aad(0x508)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x5e0aad(0x369)](){const _0x3465c8=_0x5e0aad;this['_localCacheService'][_0x3465c8(0x446)](this[_0x3465c8(0x605)],this['type'],null,[]);}[_0x5e0aad(0x367)](){const _0x270931=_0x5e0aad;this['_isPermissionRej']?this[_0x270931(0x5c4)][_0x270931(0x523)]({'title':this[_0x270931(0x3a4)]['t'](_0x270931(0x561)),'content':this[_0x270931(0x3a4)]['t'](_0x270931(0x526)),'type':_0x270931(0x346),'duration':0x0}):this['_notificationService']['show']({'title':this[_0x270931(0x3a4)]['t'](_0x270931(0x276)),'content':this[_0x270931(0x3a4)]['t'](_0x270931(0x31a)),'type':_0x270931(0x346),'duration':0x0});}[_0x5e0aad(0x588)](){const _0x2b65f3=_0x5e0aad;this[_0x2b65f3(0x368)]['updatePermissionPoint'](new _0x47516e[(_0x2b65f3(0x45b))](this[_0x2b65f3(0x605)])['id'],!0x1);}};_0x26bcf4=_0x423c6b([_0x1ce875(0x6,_0x260eff['Inject'](_0x260eff['IPermissionService'])),_0x1ce875(0x7,_0x260eff['ICommandService']),_0x1ce875(0x8,_0x260eff['IUndoRedoService']),_0x1ce875(0x9,_0x260eff[_0x5e0aad(0x34e)](_0xc68ebf['LocalCacheService'])),_0x1ce875(0xa,_0x260eff[_0x5e0aad(0x34e)](_0x11d062['RevisionService'])),_0x1ce875(0xb,_0x260eff[_0x5e0aad(0x34e)](_0x260eff[_0x5e0aad(0x2a3)])),_0x1ce875(0xc,_0x604b87[_0x5e0aad(0x555)])],_0x26bcf4);let _0x3c4b05=class extends _0x397884{constructor(_0x28ce19,_0x35fce5,_0x16b7c7,_0x54cc2e,_0x185c7d,_0x9d1497,_0x509a24,_0x42c081,_0x1e0904,_0x5e3835){const _0x277a39=_0x5e0aad;super(_0x28ce19,_0x35fce5,_0x16b7c7,_0x54cc2e,_0x185c7d,_0x1e0904,_0x5e3835,_0x509a24,_0x42c081),_0x133e34(this,_0x277a39(0x52a),'offline'),this['_injector']=_0x9d1497;}[_0x5e0aad(0x3ff)](_0x3dc665){const _0x552745=_0x5e0aad;return this[_0x552745(0x621)][_0x552745(0x616)](_0x3dc665),this[_0x552745(0x28d)](),this;}[_0x5e0aad(0x24f)](_0x4ab9a0){const _0x249572=_0x5e0aad;throw new Error(_0x249572(0x61b));}[_0x5e0aad(0x1cb)](){const _0x291cdd=_0x5e0aad;throw new Error(_0x291cdd(0x515));}[_0x5e0aad(0x212)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x5e0aad(0x3a2)](){return this;}[_0x5e0aad(0x27e)](){return this;}[_0x5e0aad(0x59f)](){const _0x5cfd1a=_0x5e0aad,{_injector:_0xc4f4b7,_pendingMutations:_0x5d63d4,_awaitingChangeset:_0x104785,unitID:_0x50266e,_handler:_0x5d1260,type:_0x81e180}=this,_0x4745c3=_0x2f01f7(_0xc4f4b7,_0x50266e,_0x81e180,_0x104785,_0x5d63d4,_0x5d1260);return _0x4745c3 instanceof _0x457666?_0x4745c3[_0x5cfd1a(0x50e)]():(_0x4745c3 instanceof _0x1216ad||_0x4745c3 instanceof _0x327181)&&_0x4745c3[_0x5cfd1a(0x508)](),_0x4745c3;}[_0x5e0aad(0x508)](){const _0x1d146a=_0x5e0aad;throw new Error(_0x1d146a(0x482));}};_0x3c4b05=_0x423c6b([_0x1ce875(0x5,_0x260eff[_0x5e0aad(0x34e)](_0x260eff[_0x5e0aad(0x263)])),_0x1ce875(0x6,_0x260eff[_0x5e0aad(0x34e)](_0x11d062['RevisionService'])),_0x1ce875(0x7,_0x260eff['Inject'](_0xc68ebf[_0x5e0aad(0x257)])),_0x1ce875(0x8,_0x260eff['ICommandService']),_0x1ce875(0x9,_0x260eff[_0x5e0aad(0x4f7)])],_0x3c4b05);let _0x17b881=class extends _0x397884{constructor(_0x5e78da,_0x565eb5,_0x1ab659,_0x3aa3ce,_0x5304ab,_0x591642,_0x2215d3,_0x2af7cb,_0x599404,_0x3b7a73,_0x52fa45,_0x4809dc,_0x19c02a,_0x3681c1){const _0xdb70f9=_0x5e0aad;super(_0x5e78da,_0x565eb5,_0x1ab659,_0x3aa3ce,_0x2215d3,_0x4809dc,_0x19c02a,_0x599404,_0x3b7a73),_0x133e34(this,'status','fetch_missing'),(this[_0xdb70f9(0x4cf)]=_0x5304ab,this[_0xdb70f9(0x328)]=_0x591642,this[_0xdb70f9(0x2a2)]=_0x2af7cb,this[_0xdb70f9(0x250)]=_0x52fa45,this['_transformService']=_0x3681c1);}[_0x5e0aad(0x390)](_0x27bb5b){const _0x17af2c=_0x5e0aad;try{const _0x1dc45a=[..._0x27bb5b,...this[_0x17af2c(0x328)]],_0x41241a=[this[_0x17af2c(0x3ce)]||this[_0x17af2c(0x4cf)]][_0x17af2c(0x2d9)](_0x3d58ac=>!!_0x3d58ac);let _0x26b5a6,_0x41b61f;if(_0x41241a['length']){const _0x58bdfe=this[_0x17af2c(0x549)]['transformChangesets'](_0x1dc45a,_0x41241a,!0x1);if(!_0x11d062[_0x17af2c(0x474)](_0x58bdfe))throw _0x58bdfe[_0x17af2c(0x346)];_0x26b5a6=_0x58bdfe[_0x17af2c(0x3d7)],_0x41b61f=_0x58bdfe['c2Prime'];}else _0x26b5a6=_0x1dc45a,_0x41b61f=[];let _0x3ee9ca=this['_pendingMutations'];_0x26b5a6[_0x17af2c(0x5f7)](_0xd25e4c=>{const _0x38377a=_0x17af2c;let _0x7b8f7b;if(_0x3ee9ca[_0x38377a(0x1cc)]){const _0x2df903=this[_0x38377a(0x549)][_0x38377a(0x41f)](_0xd25e4c,_0x3ee9ca);if(!_0x11d062[_0x38377a(0x44f)](_0x2df903))throw _0x2df903[_0x38377a(0x346)];_0x7b8f7b=_0x2df903[_0x38377a(0x3d7)],_0x3ee9ca=_0x2df903[_0x38377a(0x1ba)];}else _0x7b8f7b=_0xd25e4c;this['_executeRemoteChangeset'](_0x7b8f7b);}),this[_0x17af2c(0x4cf)]&&this[_0x17af2c(0x227)](),this['_awaitingChangeset']&&_0x41b61f[_0x17af2c(0x1cc)]&&(_0x41b61f[0x0][_0x17af2c(0x524)]=this[_0x17af2c(0x2e2)]());let _0xb8dac;if(this['_awaitingChangeset']&&_0x3ee9ca[_0x17af2c(0x1cc)]!==0x0)_0xb8dac=this[_0x17af2c(0x2a2)][_0x17af2c(0x623)](_0x1216ad,this['unitID'],this['type'],_0x41b61f[0x0],_0x3ee9ca,this[_0x17af2c(0x33f)],void 0x0);else{if(this[_0x17af2c(0x3ce)]&&_0x3ee9ca[_0x17af2c(0x1cc)]===0x0)_0x41b61f[0x0]['baseRev']=this[_0x17af2c(0x2e2)](),_0xb8dac=this['_injector'][_0x17af2c(0x623)](_0x327181,this['unitID'],this[_0x17af2c(0x1d1)],_0x41b61f[0x0],this[_0x17af2c(0x33f)]);else{if(_0x3ee9ca[_0x17af2c(0x1cc)]!==0x0){const _0x38a92d=this[_0x17af2c(0x2a2)][_0x17af2c(0x623)](_0x457666,this[_0x17af2c(0x605)],this[_0x17af2c(0x1d1)],_0x3ee9ca,this['_handler']);_0x38a92d[_0x17af2c(0x50e)](),_0xb8dac=_0x38a92d;}else _0xb8dac=this[_0x17af2c(0x2a2)][_0x17af2c(0x623)](_0x477aa6,this['unitID'],this[_0x17af2c(0x1d1)],this[_0x17af2c(0x33f)]);}}return _0xb8dac['_updateLocalCache'](),_0xb8dac;}catch(_0x564272){return this['_logService']['error'](_0x17af2c(0x62c),_0x17af2c(0x278),_0x564272),this['_injector'][_0x17af2c(0x623)](_0x26bcf4,this[_0x17af2c(0x605)],this[_0x17af2c(0x1d1)],this[_0x17af2c(0x3ce)],this['_pendingMutations'],this['_handler'],!0x1);}}[_0x5e0aad(0x508)](){const _0x3a58ed=_0x5e0aad;throw new Error(_0x3a58ed(0x4df));}[_0x5e0aad(0x3ff)](_0x5271c9){const _0x132134=_0x5e0aad;return this[_0x132134(0x621)][_0x132134(0x616)](_0x5271c9),this;}[_0x5e0aad(0x24f)](_0x429ee){const _0x4405dc=_0x5e0aad;return this[_0x4405dc(0x328)][_0x4405dc(0x616)](_0x429ee),this;}[_0x5e0aad(0x1cb)](_0x31fcdc){const _0x46f845=_0x5e0aad;if(this[_0x46f845(0x3ce)])return this[_0x46f845(0x4cf)]=this[_0x46f845(0x3ce)],this[_0x46f845(0x3ce)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x50fbbc){const _0x284e66=_0x5e0aad;return this[_0x284e66(0x50c)](!!(_0x50fbbc!=null&&_0x50fbbc['isPermissionRej']));}[_0x5e0aad(0x3a2)](){return this;}[_0x5e0aad(0x27e)](){const _0x20df50=_0x5e0aad;return this[_0x20df50(0x2a2)][_0x20df50(0x623)](_0x3c4b05,this[_0x20df50(0x605)],this['type'],this[_0x20df50(0x3ce)],this[_0x20df50(0x621)],this[_0x20df50(0x33f)]);}[_0x5e0aad(0x59f)](){return this;}[_0x5e0aad(0x50c)](_0x2946ca){const _0x3b1168=_0x5e0aad;return this['_injector'][_0x3b1168(0x623)](_0x26bcf4,this[_0x3b1168(0x605)],this[_0x3b1168(0x1d1)],this[_0x3b1168(0x3ce)],this[_0x3b1168(0x621)],this[_0x3b1168(0x33f)],_0x2946ca);}};_0x17b881=_0x423c6b([_0x1ce875(0x7,_0x260eff[_0x5e0aad(0x34e)](_0x260eff['Injector'])),_0x1ce875(0x8,_0x260eff[_0x5e0aad(0x34e)](_0x11d062[_0x5e0aad(0x4c8)])),_0x1ce875(0x9,_0x260eff[_0x5e0aad(0x34e)](_0xc68ebf[_0x5e0aad(0x257)])),_0x1ce875(0xa,_0x260eff[_0x5e0aad(0x5a8)]),_0x1ce875(0xb,_0x260eff[_0x5e0aad(0x61f)]),_0x1ce875(0xc,_0x260eff[_0x5e0aad(0x4f7)]),_0x1ce875(0xd,_0x11d062[_0x5e0aad(0x365)])],_0x17b881);function _0x2f01f7(_0x310a5b,_0x478da7,_0x114171,_0x1f6ee2,_0x155853,_0x13737f){const _0x3527fe=_0x5e0aad;return _0x1f6ee2&&_0x155853['length']?_0x310a5b[_0x3527fe(0x623)](_0x1216ad,_0x478da7,_0x114171,_0x1f6ee2,_0x155853,_0x13737f,void 0x0):_0x1f6ee2?_0x310a5b['createInstance'](_0x327181,_0x478da7,_0x114171,_0x1f6ee2,_0x13737f):_0x155853['length']?_0x310a5b['createInstance'](_0x457666,_0x478da7,_0x114171,_0x155853,_0x13737f):_0x310a5b[_0x3527fe(0x623)](_0x477aa6,_0x478da7,_0x114171,_0x13737f);}var _0x21450b=Object['defineProperty'],_0x1f2efa=Object[_0x5e0aad(0x585)],_0x22b668=(_0x48ea56,_0x89e95,_0x583680,_0x292ecb)=>{for(var _0x4355fa=_0x292ecb>0x1?void 0x0:_0x292ecb?_0x1f2efa(_0x89e95,_0x583680):_0x89e95,_0x5615b6=_0x48ea56['length']-0x1,_0xf864c3;_0x5615b6>=0x0;_0x5615b6--)(_0xf864c3=_0x48ea56[_0x5615b6])&&(_0x4355fa=(_0x292ecb?_0xf864c3(_0x89e95,_0x583680,_0x4355fa):_0xf864c3(_0x4355fa))||_0x4355fa);return _0x292ecb&&_0x4355fa&&_0x21450b(_0x89e95,_0x583680,_0x4355fa),_0x4355fa;},_0x51ce1f=(_0x416424,_0x17c53f)=>(_0x2dac67,_0x549232)=>_0x17c53f(_0x2dac67,_0x549232,_0x416424);_0xc68ebf[_0x5e0aad(0x5db)]=class extends _0x260eff[_0x5e0aad(0x1b1)]{constructor(_0x18f111,_0x23bac6,_0x3127b2,_0x50ebe6,_0x3a0274,_0xbe82b3,_0x34d5ca,_0x58aaa7,_0x181942,_0x571125,_0x47d61e,_0x4b0773,_0x3b2887){const _0xdd7415=_0x5e0aad;super(),_0x133e34(this,_0xdd7415(0x603),new _0x543965['BehaviorSubject'](null)),_0x133e34(this,_0xdd7415(0x352),this[_0xdd7415(0x603)][_0xdd7415(0x211)]()),_0x133e34(this,_0xdd7415(0x634)),_0x133e34(this,_0xdd7415(0x341),!0x1),_0x133e34(this,'_changesetSessionId',''),_0x133e34(this,_0xdd7415(0x1fa),0x0),_0x133e34(this,_0xdd7415(0x29b),this[_0xdd7415(0x352)][_0xdd7415(0x4f6)](_0x543965[_0xdd7415(0x2f4)](_0x14abf5=>_0x14abf5?_0x14abf5[_0xdd7415(0x52a)]:_0x198fc6['OFFLINE']),_0x543965[_0xdd7415(0x530)](0x1))),_0x133e34(this,_0xdd7415(0x626),!0x1),_0x133e34(this,_0xdd7415(0x478),[]),(this[_0xdd7415(0x605)]=_0x18f111,this[_0xdd7415(0x456)]=_0x23bac6,this[_0xdd7415(0x3f2)]=_0x3127b2,this['_injector']=_0x50ebe6,this['_localCacheService']=_0x3a0274,this[_0xdd7415(0x343)]=_0xbe82b3,this['_localeService']=_0x34d5ca,this['_revisionService']=_0x58aaa7,this[_0xdd7415(0x250)]=_0x181942,this[_0xdd7415(0x589)]=_0x571125,this[_0xdd7415(0x20c)]=_0x47d61e,this[_0xdd7415(0x368)]=_0x4b0773,this[_0xdd7415(0x451)]=_0x3b2887);}get[_0x5e0aad(0x59b)](){const _0xe2f7e8=_0x5e0aad;return this[_0xe2f7e8(0x634)];}async[_0x5e0aad(0x57f)](){const _0x5635c8=_0x5e0aad;if(this[_0x5635c8(0x59b)])throw new Error(_0x5635c8(0x199));await this[_0x5635c8(0x1de)]();}['pauseCollaboration'](){const _0xeef46b=_0x5e0aad;return this[_0xeef46b(0x341)]=!0x0,_0x260eff[_0xeef46b(0x36e)](()=>{const _0x2e1f26=_0xeef46b;this[_0x2e1f26(0x341)]=!0x1,this[_0x2e1f26(0x203)]();});}[_0x5e0aad(0x304)](_0x4b3ee1){const _0x587205=_0x5e0aad;this[_0x587205(0x634)]=_0x4b3ee1,this[_0x587205(0x603)][_0x587205(0x4ca)](_0x4b3ee1);}async[_0x5e0aad(0x1de)](){const _0x56cbfd=_0x5e0aad;var _0x2cf825;this[_0x56cbfd(0x304)](await this[_0x56cbfd(0x1a3)]()),this[_0x56cbfd(0x451)]&&((_0x2cf825=this['_singleActiveUnitService'])==null||_0x2cf825[_0x56cbfd(0x487)](this['unitID']),this['disposeWithMe'](this[_0x56cbfd(0x451)][_0x56cbfd(0x25c)](this[_0x56cbfd(0x605)])[_0x56cbfd(0x19e)](_0x7dcb4f=>{const _0x5202d1=_0x56cbfd;this[_0x5202d1(0x250)][_0x5202d1(0x54f)](_0x5202d1(0x47e),_0x5202d1(0x23a),_0x7dcb4f),_0x7dcb4f===_0x46ebf0[_0x5202d1(0x3aa)]?(this[_0x5202d1(0x20c)]['show']({'content':this[_0x5202d1(0x3a4)]['t']('collaboration.single-unit.warning'),'type':_0x5b25cc[_0x5202d1(0x363)][_0x5202d1(0x4a1)]}),this['_permissionService'][_0x5202d1(0x4ed)](new _0x47516e[(_0x5202d1(0x45b))](this[_0x5202d1(0x605)])['id'],!0x1),this[_0x5202d1(0x368)]['setShowComponents'](!0x1)):(this['_permissionService'][_0x5202d1(0x4ed)](new _0x47516e[(_0x5202d1(0x45b))](this[_0x5202d1(0x605)])['id'],!0x0),this[_0x5202d1(0x368)][_0x5202d1(0x4dc)](!0x0));})));let _0x536b78=!0x1;return this[_0x56cbfd(0x539)](this[_0x56cbfd(0x456)][_0x56cbfd(0x361)][_0x56cbfd(0x19e)](_0x2dce00=>{const _0x29e565=_0x56cbfd;_0x2dce00===_0x55a137['ONLINE']?this['_toggleOnline'](_0x536b78):_0x2dce00===_0x55a137[_0x29e565(0x269)]&&(_0x536b78=!0x0,this[_0x29e565(0x362)]());})),this[_0x56cbfd(0x539)](this['session'][_0x56cbfd(0x19a)][_0x56cbfd(0x19e)](_0x2f5742=>{const _0x461227=_0x56cbfd;try{switch(_0x2f5742[_0x461227(0x485)]){case _0x11d062[_0x461227(0x44c)]['NEW_CHANGESETS']:{this['_onRemoteChangeset'](_0x11d062[_0x461227(0x5df)](_0x2f5742['data']));break;}case _0x11d062['CollaborationEvent'][_0x461227(0x1b5)]:{this[_0x461227(0x4f5)](_0x2f5742[_0x461227(0x4ff)]);break;}case _0x11d062['CollaborationEvent'][_0x461227(0x5ee)]:{this[_0x461227(0x571)]();break;}case _0x11d062[_0x461227(0x44c)][_0x461227(0x4e4)]:{this['_onRemoteRetry'](_0x2f5742[_0x461227(0x4ff)]);break;}case _0x11d062[_0x461227(0x44c)][_0x461227(0x5d8)]:{this[_0x461227(0x29c)](_0x2f5742[_0x461227(0x4ff)][_0x461227(0x1e4)][_0x461227(0x2f4)](_0x4ec47a=>_0x11d062[_0x461227(0x5df)](_0x4ec47a)));break;}case _0x11d062[_0x461227(0x44c)]['PERMISSION_REJ']:this[_0x461227(0x571)]({'isPermissionRej':!0x0});}}catch(_0x56b2de){throw console[_0x461227(0x346)]('Error\x20on\x20receiving\x20event',_0x56b2de),_0x56b2de;}})),this[_0x56cbfd(0x634)];}['_unlockTransition'](){const _0x44a7e8=_0x5e0aad;this[_0x44a7e8(0x626)]=!0x1;}[_0x5e0aad(0x2eb)](){const _0x98dc80=_0x5e0aad;if(this[_0x98dc80(0x626)])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[_0x98dc80(0x626)]=!0x0;}['_onLocalMutation'](_0x534229){const _0x5bceed=_0x5e0aad;this[_0x5bceed(0x2eb)](),this['_updateState'](this[_0x5bceed(0x634)][_0x5bceed(0x3ff)](_0x534229)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x3204b0){const _0x184b10=_0x5e0aad;if(!(_0x3204b0[_0x184b10(0x544)]<=this['_revisionService'][_0x184b10(0x36c)](this[_0x184b10(0x605)]))){if(this[_0x184b10(0x341)]){this[_0x184b10(0x478)][_0x184b10(0x616)](_0x3204b0);return;}this[_0x184b10(0x45a)](_0x3204b0);}}['_exhaustRemoteChangesetQueue'](){const _0x18efc6=_0x5e0aad;this['_remoteChangesetQueue']['forEach'](_0x2d4215=>this['_applyRemoteChangeset'](_0x2d4215)),this[_0x18efc6(0x478)]=[];}[_0x5e0aad(0x45a)](_0xf7cce7){const _0x19939f=_0x5e0aad,_0x221a30=this[_0x19939f(0x343)]['interceptor'][_0x19939f(0x60b)](this['_compressMutationService'][_0x19939f(0x30b)]['getInterceptPoints']()[_0x19939f(0x331)])(_0xf7cce7[_0x19939f(0x3fa)],null)||_0xf7cce7[_0x19939f(0x3fa)],_0x5c7453={..._0xf7cce7,'mutations':_0x221a30};this[_0x19939f(0x2eb)](),this[_0x19939f(0x304)](this[_0x19939f(0x634)][_0x19939f(0x24f)](_0x5c7453)),this[_0x19939f(0x32e)]();}[_0x5e0aad(0x4f5)](_0x2465ee){const _0x15c90b=_0x5e0aad;this[_0x15c90b(0x2eb)](),this[_0x15c90b(0x304)](this[_0x15c90b(0x634)][_0x15c90b(0x1cb)](_0x2465ee)),this[_0x15c90b(0x32e)]();}[_0x5e0aad(0x571)](_0x4628c5){const _0x3526e4=_0x5e0aad;this[_0x3526e4(0x2eb)](),this[_0x3526e4(0x304)](this[_0x3526e4(0x634)][_0x3526e4(0x212)](_0x4628c5)),this[_0x3526e4(0x32e)]();}['_onRemoteRetry'](_0x15dac0){const _0x394df4=_0x5e0aad;this[_0x394df4(0x2eb)](),this[_0x394df4(0x304)](this['_state'][_0x394df4(0x3a2)](_0x15dac0)),this['_unlockTransition']();}[_0x5e0aad(0x29c)](_0x217772){const _0xd89e44=_0x5e0aad;if(!(this[_0xd89e44(0x634)]instanceof _0x17b881))throw new TypeError(_0xd89e44(0x569));const _0x3d13f5=_0x217772['map'](_0x42221c=>{const _0x5bb318=_0xd89e44,_0x34c17f=this[_0x5bb318(0x343)][_0x5bb318(0x30b)]['fetchThroughInterceptors'](this[_0x5bb318(0x343)][_0x5bb318(0x30b)]['getInterceptPoints']()[_0x5bb318(0x331)])(_0x42221c['mutations'],null)||_0x42221c[_0x5bb318(0x3fa)];return{..._0x42221c,'mutations':_0x34c17f};});this['_lockTransition'](),this['_updateState'](this[_0xd89e44(0x634)][_0xd89e44(0x390)](_0x3d13f5)),this[_0xd89e44(0x32e)]();}[_0x5e0aad(0x362)](){const _0x25d5ec=_0x5e0aad;this[_0x25d5ec(0x2eb)](),this[_0x25d5ec(0x304)](this[_0x25d5ec(0x634)]['toggleOffline']()),this[_0x25d5ec(0x32e)]();}['_toggleOnline'](_0x426cf7=!0x1){const _0x461e33=_0x5e0aad;this[_0x461e33(0x2eb)](),this[_0x461e33(0x304)](this[_0x461e33(0x634)][_0x461e33(0x59f)]()),this[_0x461e33(0x32e)]();const _0x2c5147=this[_0x461e33(0x634)];_0x426cf7&&_0x2c5147 instanceof _0x477aa6&&(this['_lockTransition'](),this[_0x461e33(0x304)](_0x2c5147[_0x461e33(0x63a)]()),this['_unlockTransition']());}async[_0x5e0aad(0x1a3)](){return new Promise(_0x36650e=>{const _0x23e1dd=_0x4e9c;this['session'][_0x23e1dd(0x361)][_0x23e1dd(0x4f6)](_0x543965['take'](0x1))[_0x23e1dd(0x19e)](async _0x1a1fbc=>{const _0x1eb07f=_0x23e1dd;_0x36650e(await this[_0x1eb07f(0x62d)](_0x1a1fbc===_0x55a137[_0x1eb07f(0x356)]));});});}[_0x5e0aad(0x310)](){const _0x13a87d=_0x5e0aad,_0x5e5b36=this[_0x13a87d(0x605)];return{'onStateChange':(_0x5af6c8,_0x18a0ff)=>{const _0x3fa7cc=_0x13a87d;if(_0x5af6c8!==this['_state'])throw new Error(_0x3fa7cc(0x3eb)+_0x5af6c8[_0x3fa7cc(0x52a)]+_0x3fa7cc(0x54a)+_0x18a0ff['status']+_0x3fa7cc(0x264)+this[_0x3fa7cc(0x634)]['status']);this[_0x3fa7cc(0x304)](_0x18a0ff);},'onSendChangeset':_0x143db0=>{const _0x4f5e24=_0x13a87d;_0x143db0[_0x4f5e24(0x1e5)]||(_0x143db0[_0x4f5e24(0x1e5)]=this[_0x4f5e24(0x3af)],_0x143db0[_0x4f5e24(0x644)]=++this[_0x4f5e24(0x1fa)]);const _0x32a2c8={'eventID':_0x11d062[_0x4f5e24(0x44c)][_0x4f5e24(0x271)],'data':{'unitID':_0x143db0[_0x4f5e24(0x605)],'unitType':this[_0x4f5e24(0x3f2)],'changeset':_0x143db0,'memberID':this[_0x4f5e24(0x456)][_0x4f5e24(0x28a)]()}};this[_0x4f5e24(0x456)][_0x4f5e24(0x625)](_0x32a2c8,this[_0x4f5e24(0x605)]);},'onMissingChangesets':({from:_0x3c5e3f,to:_0x386b43})=>{const _0x44af79=_0x13a87d;this[_0x44af79(0x250)][_0x44af79(0x54f)](_0x44af79(0x47e),_0x44af79(0x2d2)+_0x3c5e3f+_0x44af79(0x4a3)+_0x386b43);const _0x281791={'eventID':_0x11d062['CollaborationEvent'][_0x44af79(0x473)],'data':{'unitID':_0x5e5b36,'unitType':this[_0x44af79(0x3f2)],'from':_0x3c5e3f,'to':_0x386b43}};this[_0x44af79(0x456)][_0x44af79(0x625)](_0x281791,this[_0x44af79(0x605)]);}};}async['_createInitialStateImpl'](_0x152190){const _0x1b67d4=_0x5e0aad;var _0xa545b4,_0x1967ae;const _0x28b75b=await this[_0x1b67d4(0x5bd)][_0x1b67d4(0x4ba)](this[_0x1b67d4(0x605)]),_0x3d2fc4=(_0xa545b4=_0x28b75b==null?void 0x0:_0x28b75b[_0x1b67d4(0x3fa)])!=null?_0xa545b4:[],_0x42819c=(_0x1967ae=_0x28b75b==null?void 0x0:_0x28b75b[_0x1b67d4(0x2a9)])!=null?_0x1967ae:null,_0x45ce9a=!!(_0x42819c!=null&&_0x42819c['sid'])&&!!(_0x42819c!=null&&_0x42819c[_0x1b67d4(0x644)]);this[_0x1b67d4(0x3af)]=_0x45ce9a?_0x42819c[_0x1b67d4(0x1e5)]:_0x673fa3(),this[_0x1b67d4(0x1fa)]=_0x45ce9a?_0x42819c[_0x1b67d4(0x644)]:0x0;const _0x4371dc=this['unitID'];try{this['_replayCachedMutations'](_0x42819c,_0x3d2fc4);}catch(_0x28a24b){this[_0x1b67d4(0x250)][_0x1b67d4(0x346)](_0x28a24b);}const _0xee958c=this['_createHandler']();if(_0x152190){const _0x1ca862=_0x2f01f7(this[_0x1b67d4(0x2a2)],_0x4371dc,this[_0x1b67d4(0x3f2)],_0x42819c,_0x3d2fc4,_0xee958c);return _0x1ca862 instanceof _0x457666?_0x1ca862[_0x1b67d4(0x50e)]():(_0x1ca862 instanceof _0x1216ad||_0x1ca862 instanceof _0x327181)&&_0x1ca862[_0x1b67d4(0x508)](),_0x1ca862;}return this[_0x1b67d4(0x2a2)][_0x1b67d4(0x623)](_0x3c4b05,_0x4371dc,this['_type'],_0x42819c,_0x3d2fc4,_0xee958c);}['_replayCachedMutations'](_0x2c2e3f,_0x4f378c){const _0x126a5a=_0x5e0aad;var _0x40d8b2,_0x3952b9;const _0x3277a8=this[_0x126a5a(0x343)]['interceptor']['fetchThroughInterceptors'](this[_0x126a5a(0x343)][_0x126a5a(0x30b)][_0x126a5a(0x364)]()[_0x126a5a(0x331)]);(_0x40d8b2=_0x3277a8((_0x2c2e3f==null?void 0x0:_0x2c2e3f['mutations'])||[],null))==null||_0x40d8b2[_0x126a5a(0x5f7)](_0x159098=>this[_0x126a5a(0x589)][_0x126a5a(0x336)](_0x159098['id'],_0x159098[_0x126a5a(0x469)])),(_0x3952b9=_0x3277a8(_0x4f378c||[],null))==null||_0x3952b9['forEach'](_0x543427=>this['_commandService'][_0x126a5a(0x336)](_0x543427['id'],_0x543427[_0x126a5a(0x469)]));}},_0xc68ebf[_0x5e0aad(0x5db)]=_0x22b668([_0x51ce1f(0x3,_0x260eff['Inject'](_0x260eff[_0x5e0aad(0x263)])),_0x51ce1f(0x4,_0x260eff[_0x5e0aad(0x34e)](_0xc68ebf['LocalCacheService'])),_0x51ce1f(0x5,_0x260eff[_0x5e0aad(0x34e)](_0x11d062[_0x5e0aad(0x2f8)])),_0x51ce1f(0x6,_0x260eff[_0x5e0aad(0x34e)](_0x260eff[_0x5e0aad(0x2a3)])),_0x51ce1f(0x7,_0x260eff[_0x5e0aad(0x34e)](_0x11d062[_0x5e0aad(0x4c8)])),_0x51ce1f(0x8,_0x260eff[_0x5e0aad(0x5a8)]),_0x51ce1f(0x9,_0x260eff[_0x5e0aad(0x61f)]),_0x51ce1f(0xa,_0x604b87[_0x5e0aad(0x2e1)]),_0x51ce1f(0xb,_0x260eff[_0x5e0aad(0x62a)]),_0x51ce1f(0xc,_0x260eff[_0x5e0aad(0x502)](_0x34d4d6))],_0xc68ebf[_0x5e0aad(0x5db)]),_0xc68ebf[_0x5e0aad(0x1bc)]=class extends _0xc68ebf[_0x5e0aad(0x5db)]{constructor(_0x439236,_0x30f561,_0x57ab4a,_0x80b273,_0x9ffe57,_0x2bf896,_0x50003b,_0x1cfda6,_0x2146f6,_0x465b81,_0x1cfcd7,_0x1a2995,_0x5c5ecc,_0x599206,_0x41a4ee,_0x364f68,_0x57857d,_0x24efd4){const _0xf4061b=_0x5e0aad;super(_0x439236,_0x57ab4a,_0x30f561,_0x80b273,_0x9ffe57,_0x2bf896,_0x50003b,_0x1cfda6,_0x599206,_0x41a4ee,_0x364f68,_0x57857d,_0x24efd4),this['unitID']=_0x439236,this['type']=_0x30f561,this[_0xf4061b(0x50f)]=_0x2146f6,this[_0xf4061b(0x1b3)]=_0x465b81,this[_0xf4061b(0x284)]=_0x1cfcd7,this['_docTransformSelectionsService']=_0x1a2995,this[_0xf4061b(0x49e)]=_0x5c5ecc;}[_0x5e0aad(0x310)](){const _0x13df9b=_0x5e0aad,_0x2f856d=super['_createHandler']();return _0x2f856d[_0x13df9b(0x509)]=_0xfb2487=>this[_0x13df9b(0x1b3)]['transformIMECache'](_0xfb2487),_0x2f856d['onTransformState']=_0x382aa0=>this['_docTransformStateCacheService'][_0x13df9b(0x62e)](_0x382aa0),_0x2f856d[_0x13df9b(0x2f1)]=_0x1e6338=>this['_docTransformSelectionsService'][_0x13df9b(0x612)](_0x1e6338),_0x2f856d[_0x13df9b(0x312)]=_0xe665d0=>this[_0x13df9b(0x49e)]['syncEditingCollabCursor'](_0xe665d0),_0x2f856d[_0x13df9b(0x5ad)]=_0x583602=>this[_0x13df9b(0x1b3)][_0x13df9b(0x4bd)](_0x583602),_0x2f856d[_0x13df9b(0x5cc)]=_0x3643d3=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x3643d3),_0x2f856d;}async['_init'](){const _0x430e62=_0x5e0aad,_0x2d1051=await super[_0x430e62(0x1de)]();return this[_0x430e62(0x50f)][_0x430e62(0x202)]['pipe'](_0x543965['takeUntil'](this[_0x430e62(0x34a)]))[_0x430e62(0x19e)](_0x243510=>{const _0x5769d9=_0x430e62;if(_0x243510==null)return;const {unitId:_0x119514,redoState:_0x4773a6,commandId:_0x1d488f}=_0x243510;if(_0x119514!==this['unitID'])return;const _0x42f885={'id':_0x1d488f,'type':_0x260eff[_0x5769d9(0x47c)]['MUTATION'],'params':{'unitId':_0x119514,'actions':_0x4773a6[_0x5769d9(0x3d6)],'textRanges':null}};this['_onLocalMutation'](_0x42f885);}),_0x2d1051;}},_0xc68ebf[_0x5e0aad(0x1bc)]=_0x22b668([_0x51ce1f(0x3,_0x260eff['Inject'](_0x260eff['Injector'])),_0x51ce1f(0x4,_0x260eff[_0x5e0aad(0x34e)](_0xc68ebf[_0x5e0aad(0x257)])),_0x51ce1f(0x5,_0x260eff[_0x5e0aad(0x34e)](_0x11d062[_0x5e0aad(0x2f8)])),_0x51ce1f(0x6,_0x260eff[_0x5e0aad(0x34e)](_0x260eff[_0x5e0aad(0x2a3)])),_0x51ce1f(0x7,_0x260eff[_0x5e0aad(0x34e)](_0x11d062[_0x5e0aad(0x4c8)])),_0x51ce1f(0x8,_0x260eff[_0x5e0aad(0x34e)](_0x1517b1['DocStateChangeManagerService'])),_0x51ce1f(0x9,_0x260eff['Inject'](_0x517100)),_0x51ce1f(0xa,_0x260eff[_0x5e0aad(0x34e)](_0x567b03)),_0x51ce1f(0xb,_0x260eff[_0x5e0aad(0x34e)](_0x4fa77a)),_0x51ce1f(0xc,_0x260eff['Inject'](_0x5a52b4)),_0x51ce1f(0xd,_0x260eff[_0x5e0aad(0x5a8)]),_0x51ce1f(0xe,_0x260eff['ICommandService']),_0x51ce1f(0xf,_0x604b87['IMessageService']),_0x51ce1f(0x10,_0x260eff['IPermissionService']),_0x51ce1f(0x11,_0x260eff['Optional'](_0x34d4d6))],_0xc68ebf[_0x5e0aad(0x1bc)]),_0xc68ebf[_0x5e0aad(0x628)]=class extends _0xc68ebf[_0x5e0aad(0x5db)]{constructor(_0x2123e9,_0x219022,_0x2433db,_0x37bb48,_0x8f6194,_0x187475,_0x6d8b25,_0x401ee3,_0x14d161,_0x4e4778,_0x7500db,_0x2fb1ed,_0x9a9d68,_0x41ac34){const _0x26f6c0=_0x5e0aad;super(_0x2123e9,_0x2433db,_0x219022,_0x37bb48,_0x8f6194,_0x187475,_0x6d8b25,_0x401ee3,_0x4e4778,_0x7500db,_0x2fb1ed,_0x9a9d68,_0x41ac34),this[_0x26f6c0(0x605)]=_0x2123e9,this[_0x26f6c0(0x1d1)]=_0x219022,this['_sheetTransformSelectionsService']=_0x14d161;}[_0x5e0aad(0x310)](){const _0x5b8c37=_0x5e0aad,_0x219810=super[_0x5b8c37(0x310)]();return _0x219810['onTransformSelections']=_0x29dad5=>this[_0x5b8c37(0x4e1)][_0x5b8c37(0x612)](_0x29dad5),_0x219810;}async[_0x5e0aad(0x1de)](){const _0x1d7cd5=_0x5e0aad,_0x331ad9=await super['_init']();return this[_0x1d7cd5(0x539)](this[_0x1d7cd5(0x589)][_0x1d7cd5(0x34c)]((_0xee4162,_0x5c2724)=>{const _0x2aa110=_0x1d7cd5;if(_0xee4162[_0x2aa110(0x1d1)]!==_0x260eff[_0x2aa110(0x47c)][_0x2aa110(0x4da)]||_0x5c2724!=null&&_0x5c2724[_0x2aa110(0x59d)]||_0x5c2724!=null&&_0x5c2724['onlyLocal'])return;const _0x469249=_0xee4162['params'];if((_0x469249==null?void 0x0:_0x469249[_0x2aa110(0x1e1)])!==this[_0x2aa110(0x605)])return;const _0x9b5885=_0xee4162,_0x33b1bd=this['_compressMutationService']['interceptor'][_0x2aa110(0x60b)](this[_0x2aa110(0x343)][_0x2aa110(0x30b)][_0x2aa110(0x364)]()['COMPRESS_MUTATION_SEND'])([_0x9b5885],null)||[_0x9b5885];this[_0x2aa110(0x43f)](_0x33b1bd[0x0]);})),_0x331ad9;}},_0xc68ebf[_0x5e0aad(0x628)]=_0x22b668([_0x51ce1f(0x3,_0x260eff[_0x5e0aad(0x34e)](_0x260eff[_0x5e0aad(0x263)])),_0x51ce1f(0x4,_0x260eff[_0x5e0aad(0x34e)](_0xc68ebf[_0x5e0aad(0x257)])),_0x51ce1f(0x5,_0x260eff[_0x5e0aad(0x34e)](_0x11d062[_0x5e0aad(0x2f8)])),_0x51ce1f(0x6,_0x260eff[_0x5e0aad(0x34e)](_0x260eff['LocaleService'])),_0x51ce1f(0x7,_0x260eff['Inject'](_0x11d062[_0x5e0aad(0x4c8)])),_0x51ce1f(0x8,_0x260eff[_0x5e0aad(0x34e)](_0x5642f4)),_0x51ce1f(0x9,_0x260eff[_0x5e0aad(0x5a8)]),_0x51ce1f(0xa,_0x260eff[_0x5e0aad(0x61f)]),_0x51ce1f(0xb,_0x604b87['IMessageService']),_0x51ce1f(0xc,_0x260eff['IPermissionService']),_0x51ce1f(0xd,_0x260eff[_0x5e0aad(0x502)](_0x34d4d6))],_0xc68ebf['SheetCollaborationEntity']);var _0x38c45e=Object[_0x5e0aad(0x2e4)],_0xcf7b72=Object[_0x5e0aad(0x585)],_0x4f90f6=(_0x24d4de,_0x19040e,_0x2634e9,_0x3328ec)=>{const _0x9740cb=_0x5e0aad;for(var _0x318ce4=_0x3328ec>0x1?void 0x0:_0x3328ec?_0xcf7b72(_0x19040e,_0x2634e9):_0x19040e,_0x14cfa0=_0x24d4de[_0x9740cb(0x1cc)]-0x1,_0x48b92c;_0x14cfa0>=0x0;_0x14cfa0--)(_0x48b92c=_0x24d4de[_0x14cfa0])&&(_0x318ce4=(_0x3328ec?_0x48b92c(_0x19040e,_0x2634e9,_0x318ce4):_0x48b92c(_0x318ce4))||_0x318ce4);return _0x3328ec&&_0x318ce4&&_0x38c45e(_0x19040e,_0x2634e9,_0x318ce4),_0x318ce4;},_0x14d384=(_0x36f2b7,_0x38a5a5)=>(_0x18d49f,_0x432bca)=>_0x38a5a5(_0x18d49f,_0x432bca,_0x36f2b7);_0xc68ebf[_0x5e0aad(0x414)]=class extends _0x260eff[_0x5e0aad(0x1b1)]{constructor(_0x5a32e4,_0x34b04d,_0x288f71){const _0x29dca2=_0x5e0aad;super(),_0x133e34(this,'_entities',new Map()),_0x133e34(this,_0x29dca2(0x433),new _0x543965[(_0x29dca2(0x547))]()),(this['_injector']=_0x5a32e4,this[_0x29dca2(0x1bf)]=_0x34b04d,this['_univerInstanceService']=_0x288f71,this[_0x29dca2(0x1de)]());}[_0x5e0aad(0x5f0)](){const _0xda3ac9=_0x5e0aad;super['dispose'](),this[_0xda3ac9(0x528)][_0xda3ac9(0x5f7)](_0x159c8f=>_0x159c8f[_0xda3ac9(0x5f0)]()),this['_entities'][_0xda3ac9(0x454)]();}[_0x5e0aad(0x5dc)](_0x42b126){const _0x291ab1=_0x5e0aad;var _0x3d8ecb;return(_0x3d8ecb=this['_entities'][_0x291ab1(0x391)](_0x42b126))!=null?_0x3d8ecb:null;}[_0x5e0aad(0x33a)](_0x498f1d){const _0x7f0024=_0x5e0aad,_0x43732f=this[_0x7f0024(0x5dc)](_0x498f1d);return _0x43732f?_0x543965['of'](_0x43732f):this['_entityInit$'][_0x7f0024(0x4f6)](_0x59f7e7[_0x7f0024(0x2d9)](_0xba90c4=>_0xba90c4[_0x7f0024(0x605)]===_0x498f1d));}[_0x5e0aad(0x1de)](){const _0xe68d4c=_0x5e0aad;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x260eff[_0xe68d4c(0x3d8)]['UNIVER_SHEET'])[_0xe68d4c(0x4f6)](_0x543965[_0xe68d4c(0x248)](this[_0xe68d4c(0x34a)]),_0x59f7e7[_0xe68d4c(0x41d)](0x10))[_0xe68d4c(0x19e)](async _0xdb11ce=>{const _0x5eafd0=_0xe68d4c,_0x51299b=_0xdb11ce['getUnitId'](),_0x1a1671=await this[_0x5eafd0(0x54c)](_0x51299b,_0x376044[_0x5eafd0(0x31f)]);this[_0x5eafd0(0x528)][_0x5eafd0(0x5f3)](_0x51299b,_0x1a1671);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x260eff[_0xe68d4c(0x3d8)]['UNIVER_DOC'])[_0xe68d4c(0x4f6)](_0x543965[_0xe68d4c(0x248)](this[_0xe68d4c(0x34a)]),_0x59f7e7[_0xe68d4c(0x41d)](0x10))[_0xe68d4c(0x4f6)](_0x59f7e7['filter'](_0x2d248a=>!_0x2d248a[_0xe68d4c(0x1d7)]()['startsWith']('__')))[_0xe68d4c(0x19e)](async _0x3c328d=>{const _0x349fb4=_0xe68d4c,_0x23bbe4=_0x3c328d[_0x349fb4(0x1d7)](),_0x1917ba=await this[_0x349fb4(0x54c)](_0x23bbe4,_0x376044[_0x349fb4(0x246)]);this[_0x349fb4(0x528)][_0x349fb4(0x5f3)](_0x23bbe4,_0x1917ba);}),_0x543965[_0xe68d4c(0x3ad)](this[_0xe68d4c(0x434)][_0xe68d4c(0x5ff)](_0x260eff[_0xe68d4c(0x3d8)][_0xe68d4c(0x31f)]),this[_0xe68d4c(0x434)][_0xe68d4c(0x5ff)](_0x260eff[_0xe68d4c(0x3d8)][_0xe68d4c(0x246)]))[_0xe68d4c(0x4f6)](_0x543965[_0xe68d4c(0x248)](this['dispose$']))['subscribe'](_0x2aab9c=>{const _0x2848df=_0xe68d4c,_0x15cdd8=_0x2aab9c[_0x2848df(0x1d7)](),_0x1658ab=this['_entities'][_0x2848df(0x391)](_0x15cdd8);_0x1658ab&&(_0x1658ab[_0x2848df(0x5f0)](),this[_0x2848df(0x528)]['delete'](_0x15cdd8));});}async[_0x5e0aad(0x54c)](_0x32fc95,_0x12e5c4){const _0x300453=_0x5e0aad,_0x3b87c8=await this[_0x300453(0x1bf)][_0x300453(0x2b1)](_0x32fc95),_0x8ef10b=this[_0x300453(0x2a2)][_0x300453(0x623)](this[_0x300453(0x3bb)](_0x12e5c4),_0x32fc95,_0x12e5c4,_0x3b87c8);return await _0x8ef10b[_0x300453(0x57f)](),this[_0x300453(0x433)][_0x300453(0x4ca)](_0x8ef10b),_0x8ef10b;}[_0x5e0aad(0x3bb)](_0x37c2e9){const _0xa7b620=_0x5e0aad;switch(_0x37c2e9){case _0x376044['UNIVER_DOC']:return _0xc68ebf[_0xa7b620(0x1bc)];case _0x376044[_0xa7b620(0x31f)]:return _0xc68ebf[_0xa7b620(0x628)];default:throw new Error(_0xa7b620(0x429)+_0x37c2e9);}}},_0xc68ebf[_0x5e0aad(0x414)]=_0x4f90f6([_0x14d384(0x0,_0x260eff[_0x5e0aad(0x34e)](_0x260eff[_0x5e0aad(0x263)])),_0x14d384(0x1,_0x260eff[_0x5e0aad(0x34e)](_0xc68ebf[_0x5e0aad(0x573)])),_0x14d384(0x2,_0x260eff[_0x5e0aad(0x44d)])],_0xc68ebf[_0x5e0aad(0x414)]);const _0x2a1707=[_0x5e0aad(0x29d),'jiqing500',_0x5e0aad(0x3f5),_0x5e0aad(0x4dd),_0x5e0aad(0x5af),_0x5e0aad(0x64a)];class _0xdcd0b5 extends _0x260eff['Disposable']{constructor(){const _0x43c17c=_0x5e0aad;super(...arguments),_0x133e34(this,_0x43c17c(0x25f),new Map()),_0x133e34(this,_0x43c17c(0x289),0x0);}[_0x5e0aad(0x2c5)](_0xc7c0eb){const _0x57b8de=_0x5e0aad;if(this[_0x57b8de(0x25f)]['has'](_0xc7c0eb))return this['_assignedColors'][_0x57b8de(0x391)](_0xc7c0eb);const _0x36c30e=_0x2a1707[this[_0x57b8de(0x289)]];return this[_0x57b8de(0x289)]=(this['_colorIndex']+0x1)%_0x2a1707[_0x57b8de(0x1cc)],this[_0x57b8de(0x25f)][_0x57b8de(0x5f3)](_0xc7c0eb,_0x36c30e),_0x36c30e;}}var _0x125f51=Object[_0x5e0aad(0x2e4)],_0x1235bf=Object[_0x5e0aad(0x585)],_0x3aa549=(_0xaac8aa,_0x36b839,_0x50a737,_0x587b31)=>{const _0x1a31cf=_0x5e0aad;for(var _0x40accd=_0x587b31>0x1?void 0x0:_0x587b31?_0x1235bf(_0x36b839,_0x50a737):_0x36b839,_0x2c059f=_0xaac8aa[_0x1a31cf(0x1cc)]-0x1,_0x2bc727;_0x2c059f>=0x0;_0x2c059f--)(_0x2bc727=_0xaac8aa[_0x2c059f])&&(_0x40accd=(_0x587b31?_0x2bc727(_0x36b839,_0x50a737,_0x40accd):_0x2bc727(_0x40accd))||_0x40accd);return _0x587b31&&_0x40accd&&_0x125f51(_0x36b839,_0x50a737,_0x40accd),_0x40accd;},_0x275208=(_0x264555,_0x15fc79)=>(_0x4bfc07,_0x3f7c02)=>_0x15fc79(_0x4bfc07,_0x3f7c02,_0x264555);const _0xf728f1=0x12c,_0x10be5b=0x64;let _0x3da8a8=class extends _0x260eff[_0x5e0aad(0x1b1)]{constructor(_0x37056b,_0xf6f99c,_0x53fa10,_0x32c1b1,_0x1d670f,_0xc7f2ec,_0x38f80f,_0x28f8fe,_0x49260c){const _0x304f2c=_0x5e0aad;super(),_0x133e34(this,_0x304f2c(0x49d),!0x1),_0x133e34(this,'_init',!0x1),_0x133e34(this,'_cursorInfo$',new _0x543965['BehaviorSubject'](new Map())),_0x133e34(this,_0x304f2c(0x389),this[_0x304f2c(0x376)]['asObservable']()),_0x133e34(this,_0x304f2c(0x3f4),new _0x543965['BehaviorSubject']([])),_0x133e34(this,_0x304f2c(0x566),this[_0x304f2c(0x3f4)]['pipe'](_0x543965[_0x304f2c(0x2b6)](_0xf728f1))),_0x133e34(this,_0x304f2c(0x26b),_0x260eff[_0x304f2c(0x1ad)](_0x45ebcf=>{const _0x1063ec=_0x304f2c,_0x596da5={'eventID':_0x11d062[_0x1063ec(0x44c)][_0x1063ec(0x447)],'data':{'unitID':this['unitID'],'memberID':this[_0x1063ec(0x445)][_0x1063ec(0x28a)](),'selection':_0x2f73f6(_0x45ebcf)}};this[_0x1063ec(0x445)]['send'](_0x596da5,this[_0x1063ec(0x605)]);},_0x10be5b)),(this[_0x304f2c(0x605)]=_0x37056b,this[_0x304f2c(0x445)]=_0xf6f99c,this[_0x304f2c(0x2a2)]=_0x53fa10,this['_colorAssignService']=_0x32c1b1,this[_0x304f2c(0x484)]=_0x1d670f,this['_syncEditingCollabCursorService']=_0xc7f2ec,this[_0x304f2c(0x549)]=_0x38f80f,this[_0x304f2c(0x434)]=_0x28f8fe,this['_commandService']=_0x49260c);}get[_0x5e0aad(0x41b)](){const _0x597a6c=_0x5e0aad;return this[_0x597a6c(0x376)][_0x597a6c(0x645)]();}get[_0x5e0aad(0x38e)](){const _0xd1e075=_0x5e0aad;return this['_roomMembers$'][_0xd1e075(0x645)]();}[_0x5e0aad(0x5f0)](){const _0x283107=_0x5e0aad;super[_0x283107(0x5f0)](),this[_0x283107(0x376)][_0x283107(0x4ca)](new Map()),this['_cursorInfo$'][_0x283107(0x33e)](),this[_0x283107(0x3f4)]['next']([]),this[_0x283107(0x3f4)]['complete']();}[_0x5e0aad(0x57f)](){const _0x5bb1a4=_0x5e0aad;this[_0x5bb1a4(0x1de)]||(this['_init']=!0x0,this[_0x5bb1a4(0x445)][_0x5bb1a4(0x361)][_0x5bb1a4(0x4f6)](_0x543965['takeUntil'](this[_0x5bb1a4(0x34a)]))[_0x5bb1a4(0x19e)](_0x2b1a01=>{const _0x5c2f47=_0x5bb1a4;_0x2b1a01===_0x55a137[_0x5c2f47(0x356)]?this[_0x5c2f47(0x3d5)]():this[_0x5c2f47(0x362)]();}),this[_0x5bb1a4(0x445)][_0x5bb1a4(0x19a)][_0x5bb1a4(0x4f6)](_0x543965[_0x5bb1a4(0x248)](this[_0x5bb1a4(0x34a)]))[_0x5bb1a4(0x19e)](_0x2e5ecf=>{const _0xb88e90=_0x5bb1a4,_0x5267d4=_0x2e5ecf[_0xb88e90(0x485)];_0x5267d4===_0x11d062[_0xb88e90(0x44c)][_0xb88e90(0x447)]&&this[_0xb88e90(0x1b6)](_0x2e5ecf),_0x5267d4===_0x11d062['CollaborationEvent'][_0xb88e90(0x56a)]&&this['_onCursorDelete'](_0x2e5ecf);}),this[_0x5bb1a4(0x539)](this[_0x5bb1a4(0x589)][_0x5bb1a4(0x34c)](_0x1c9140=>{const _0x3d7ba2=_0x5bb1a4,_0xab02a0=_0x1c9140[_0x3d7ba2(0x469)];_0xab02a0!=null&&this[_0x3d7ba2(0x49d)]&&_0x1c9140['id']===_0x433bf3['SetTextSelectionsOperation']['id']&&_0xab02a0[_0x3d7ba2(0x1e1)]===this['unitID']&&_0xab02a0[_0x3d7ba2(0x4fd)]===!0x1&&_0xab02a0[_0x3d7ba2(0x26f)][_0x3d7ba2(0x1cc)]>0x0&&this[_0x3d7ba2(0x26b)](_0xab02a0['ranges']);})),this[_0x5bb1a4(0x3db)][_0x5bb1a4(0x379)]['pipe'](_0x543965[_0x5bb1a4(0x248)](this['dispose$']))[_0x5bb1a4(0x19e)](_0x167b48=>{const _0x222537=_0x5bb1a4;if((_0x167b48==null?void 0x0:_0x167b48['unitID'])!==this['unitID'])return;const _0x392be8={'eventID':_0x11d062[_0x222537(0x44c)][_0x222537(0x447)],'data':_0x167b48};this[_0x222537(0x1b6)](_0x392be8);}),this[_0x5bb1a4(0x539)](this[_0x5bb1a4(0x589)][_0x5bb1a4(0x34c)](_0x4a057a=>{const _0x2b649f=_0x5bb1a4;if(_0x4a057a[_0x2b649f(0x469)]==null)return;const _0x28ddf8=_0x4a057a[_0x2b649f(0x469)];if(_0x4a057a['id']!==_0x433bf3[_0x2b649f(0x5a2)]['id']||_0x28ddf8[_0x2b649f(0x1e1)]!==this[_0x2b649f(0x605)])return;const _0x1d923e={'id':'doc.mutation.rich-text-editing','params':_0x28ddf8},_0x3529d2=this['cursorInfo'];for(const [_0x3bd7c4,_0x419d5b]of _0x3529d2){const _0x2bf81d={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x2b649f(0x605)],'actions':null,'textRanges':_0x419d5b['ranges']}},_0x42e47c=this['_transformService'][_0x2b649f(0x511)](_0x1d923e,_0x2bf81d,!0x1);if(_0x11d062[_0x2b649f(0x624)](_0x42e47c))throw _0x42e47c['error'];_0x3529d2[_0x2b649f(0x5f3)](_0x3bd7c4,{..._0x419d5b,'ranges':_0x42e47c[_0x2b649f(0x1ba)][_0x2b649f(0x469)][_0x2b649f(0x320)]});}queueMicrotask(()=>{const _0x5d485d=_0x2b649f;this[_0x5d485d(0x376)]['next'](_0x3529d2);});})));}[_0x5e0aad(0x1b6)](_0x2d799c){const _0x2ced3b=_0x5e0aad;var _0x45a51d,_0x3e1f01;const {memberID:_0x163205,selection:_0x1c9997}=_0x2d799c[_0x2ced3b(0x4ff)],_0x327677=_0x452ccc(_0x1c9997),_0x53f571=(_0x3e1f01=(_0x45a51d=this[_0x2ced3b(0x484)][_0x2ced3b(0x596)](this[_0x2ced3b(0x605)],_0x163205))==null?void 0x0:_0x45a51d[_0x2ced3b(0x3d3)])!=null?_0x3e1f01:'Unknown\x20user',_0x4f7c48={'color':this[_0x2ced3b(0x25d)]['assignAColorForMemberID'](_0x163205),'name':_0x53f571,'ranges':_0x327677},_0x32a626=this[_0x2ced3b(0x41b)];_0x32a626[_0x2ced3b(0x5f3)](_0x163205,_0x4f7c48),this[_0x2ced3b(0x376)][_0x2ced3b(0x4ca)](_0x32a626);}[_0x5e0aad(0x489)](_0x381de0){const _0xf968f0=_0x5e0aad,{memberID:_0x50c657}=_0x381de0['data'],_0xd064e9=this[_0xf968f0(0x41b)];_0xd064e9[_0xf968f0(0x516)](_0x50c657),this['_cursorInfo$'][_0xf968f0(0x4ca)](_0xd064e9);}['_toggleOnline'](){const _0x5dc2fd=_0x5e0aad;var _0x554e27;if(this['_online']=!0x0,((_0x554e27=this[_0x5dc2fd(0x434)][_0x5dc2fd(0x24e)]())==null?void 0x0:_0x554e27[_0x5dc2fd(0x1d7)]())!==this[_0x5dc2fd(0x605)])return;const _0x80a516=this[_0x5dc2fd(0x2a2)][_0x5dc2fd(0x391)](_0x433bf3[_0x5dc2fd(0x2b0)])['getDocRanges']();Array[_0x5dc2fd(0x54b)](_0x80a516)&&_0x80a516[_0x5dc2fd(0x1cc)]>0x0&&this[_0x5dc2fd(0x26b)](_0x80a516);}[_0x5e0aad(0x362)](){this['_online']=!0x1;}};_0x3da8a8=_0x3aa549([_0x275208(0x2,_0x260eff[_0x5e0aad(0x34e)](_0x260eff[_0x5e0aad(0x263)])),_0x275208(0x3,_0x260eff['Inject'](_0xdcd0b5)),_0x275208(0x4,_0x260eff[_0x5e0aad(0x34e)](_0xc68ebf[_0x5e0aad(0x470)])),_0x275208(0x5,_0x260eff[_0x5e0aad(0x34e)](_0x5a52b4)),_0x275208(0x6,_0x11d062[_0x5e0aad(0x365)]),_0x275208(0x7,_0x260eff[_0x5e0aad(0x44d)]),_0x275208(0x8,_0x260eff[_0x5e0aad(0x61f)])],_0x3da8a8);var _0x31143a=Object[_0x5e0aad(0x2e4)],_0x1807c0=Object[_0x5e0aad(0x585)],_0x39f75e=(_0x2e9da6,_0x4a543f,_0x2cde7a,_0x420387)=>{const _0x444ae0=_0x5e0aad;for(var _0x307387=_0x420387>0x1?void 0x0:_0x420387?_0x1807c0(_0x4a543f,_0x2cde7a):_0x4a543f,_0x1ae676=_0x2e9da6[_0x444ae0(0x1cc)]-0x1,_0x5ac4e4;_0x1ae676>=0x0;_0x1ae676--)(_0x5ac4e4=_0x2e9da6[_0x1ae676])&&(_0x307387=(_0x420387?_0x5ac4e4(_0x4a543f,_0x2cde7a,_0x307387):_0x5ac4e4(_0x307387))||_0x307387);return _0x420387&&_0x307387&&_0x31143a(_0x4a543f,_0x2cde7a,_0x307387),_0x307387;},_0x10fe2d=(_0x24dea9,_0x41bf29)=>(_0x12b972,_0x1675db)=>_0x41bf29(_0x12b972,_0x1675db,_0x24dea9);const _0x31aeb9=0x12c,_0x4a29c8=0x64,_0x59c60d=()=>{let _0x348eff=[],_0x4cbc93=!0x1;return _0x33fa78=>{const _0x461e95=_0x4e9c;_0x348eff[_0x461e95(0x616)](_0x33fa78),_0x4cbc93||(_0x4cbc93=!0x0,setTimeout(()=>{const _0x4363dc=_0x461e95;_0x348eff[_0x4363dc(0x5f7)](_0x479d82=>_0x479d82()),_0x348eff=[],_0x4cbc93=!0x1;}));};};let _0x10d58d=class extends _0x260eff[_0x5e0aad(0x1b1)]{constructor(_0x1673b4,_0x16b20e,_0x5443c4,_0x4433b3,_0xd14753,_0x38b595,_0x2ce1bb,_0x264da2){const _0x1aec13=_0x5e0aad;super(),_0x133e34(this,_0x1aec13(0x49d),!0x1),_0x133e34(this,_0x1aec13(0x1de),!0x1),_0x133e34(this,_0x1aec13(0x376),new _0x543965[(_0x1aec13(0x20b))](new Map())),_0x133e34(this,_0x1aec13(0x389),this['_cursorInfo$'][_0x1aec13(0x211)]()),_0x133e34(this,'_roomMembers$',new _0x543965[(_0x1aec13(0x20b))]([])),_0x133e34(this,_0x1aec13(0x566),this[_0x1aec13(0x3f4)][_0x1aec13(0x4f6)](_0x543965[_0x1aec13(0x2b6)](_0x31aeb9))),_0x133e34(this,_0x1aec13(0x26b),_0x260eff[_0x1aec13(0x1ad)]((_0x5e83e0,_0x2fb44d)=>{const _0x42f432=_0x1aec13,_0x1dad7c={'eventID':_0x11d062[_0x42f432(0x44c)][_0x42f432(0x447)],'data':{'unitID':this[_0x42f432(0x605)],'memberID':this[_0x42f432(0x445)][_0x42f432(0x28a)](),'selection':_0x3f4006['serializeRangeWithSheet'](_0x5e83e0,_0x2fb44d['range'])}};this['_session'][_0x42f432(0x625)](_0x1dad7c,this[_0x42f432(0x605)]);},_0x4a29c8)),(this['unitID']=_0x1673b4,this[_0x1aec13(0x445)]=_0x16b20e,this[_0x1aec13(0x2a2)]=_0x5443c4,this[_0x1aec13(0x25d)]=_0x4433b3,this[_0x1aec13(0x484)]=_0xd14753,this['_univerInstanceService']=_0x38b595,this[_0x1aec13(0x589)]=_0x2ce1bb,this['_refRangeService']=_0x264da2);}get[_0x5e0aad(0x41b)](){const _0xe0b2cb=_0x5e0aad;return this[_0xe0b2cb(0x376)][_0xe0b2cb(0x645)]();}get['roomMembers'](){const _0x12d8b9=_0x5e0aad;return this['_roomMembers$'][_0x12d8b9(0x645)]();}[_0x5e0aad(0x5f0)](){const _0x335e04=_0x5e0aad;super[_0x335e04(0x5f0)](),this[_0x335e04(0x376)][_0x335e04(0x4ca)](new Map()),this[_0x335e04(0x376)]['complete'](),this[_0x335e04(0x3f4)]['next']([]),this[_0x335e04(0x3f4)][_0x335e04(0x33e)]();}[_0x5e0aad(0x57f)](){const _0xa00a8b=_0x5e0aad;this[_0xa00a8b(0x1de)]||(this[_0xa00a8b(0x1de)]=!0x0,this[_0xa00a8b(0x445)]['sessionStatus$'][_0xa00a8b(0x4f6)](_0x543965[_0xa00a8b(0x248)](this['dispose$']))['subscribe'](_0x259f6c=>{const _0x41767b=_0xa00a8b;_0x259f6c===_0x55a137[_0x41767b(0x356)]?this[_0x41767b(0x3d5)]():this[_0x41767b(0x362)]();}),this[_0xa00a8b(0x445)][_0xa00a8b(0x19a)]['pipe'](_0x543965[_0xa00a8b(0x248)](this[_0xa00a8b(0x34a)]))[_0xa00a8b(0x19e)](_0x5016f0=>{const _0x2c7f4d=_0xa00a8b,_0x12f678=_0x5016f0[_0x2c7f4d(0x485)];_0x12f678===_0x11d062[_0x2c7f4d(0x44c)][_0x2c7f4d(0x447)]&&this[_0x2c7f4d(0x1b6)](_0x5016f0),_0x12f678===_0x11d062['CollaborationEvent'][_0x2c7f4d(0x56a)]&&this[_0x2c7f4d(0x489)](_0x5016f0);}),this[_0xa00a8b(0x1da)](),this['disposeWithMe'](this['_commandService'][_0xa00a8b(0x34c)](_0x2e3e84=>{const _0x50da3e=_0xa00a8b;if(this[_0x50da3e(0x49d)]&&_0x2e3e84['id']===_0x47516e[_0x50da3e(0x63c)]['id']&&_0x2e3e84[_0x50da3e(0x469)][_0x50da3e(0x1e1)]===this['unitID']){const _0x240fa7=_0x2e3e84['params'];this['_updateLocalCursor'](_0x240fa7[_0x50da3e(0x1d9)],_0x240fa7[_0x50da3e(0x560)][0x0]);}})));}[_0x5e0aad(0x1b6)](_0x11e38e){const _0x1df753=_0x5e0aad;var _0x22c659,_0x57ed4d;const {memberID:_0x309d51,selection:_0x238935}=_0x11e38e[_0x1df753(0x4ff)],{sheetName:_0x446af3,range:_0x1ff01c}=_0x3f4006[_0x1df753(0x3d2)](_0x238935),_0x2c2a97={'name':(_0x57ed4d=(_0x22c659=this[_0x1df753(0x484)][_0x1df753(0x596)](this[_0x1df753(0x605)],_0x309d51))==null?void 0x0:_0x22c659[_0x1df753(0x3d3)])!=null?_0x57ed4d:_0x1df753(0x378),'range':this['_getMergeRange'](_0x446af3,_0x1ff01c),'sheetID':_0x446af3,'color':this[_0x1df753(0x25d)][_0x1df753(0x2c5)](_0x309d51),'selection':_0x238935},_0x5ac985=this['cursorInfo'];_0x5ac985[_0x1df753(0x5f3)](_0x309d51,_0x2c2a97),this[_0x1df753(0x376)][_0x1df753(0x4ca)](_0x5ac985);}[_0x5e0aad(0x489)](_0x2513e6){const _0x38ae8f=_0x5e0aad,{memberID:_0x3715e7}=_0x2513e6['data'],_0x51265e=this['cursorInfo'];_0x51265e[_0x38ae8f(0x516)](_0x3715e7),this[_0x38ae8f(0x376)][_0x38ae8f(0x4ca)](_0x51265e);}['_getMergeRange'](_0x4a388c,_0x2a332b){const _0x26b1de=_0x5e0aad;var _0x562f2a,_0x49bafe;const _0x43bea9=(_0x49bafe=(_0x562f2a=this['_univerInstanceService'][_0x26b1de(0x1f5)](this[_0x26b1de(0x605)]))==null?void 0x0:_0x562f2a[_0x26b1de(0x43b)](_0x4a388c))==null?void 0x0:_0x49bafe[_0x26b1de(0x5b9)]();return(_0x43bea9==null?void 0x0:_0x43bea9['find'](_0x325bd1=>_0x260eff[_0x26b1de(0x613)][_0x26b1de(0x4cc)](_0x325bd1,_0x2a332b)))||_0x2a332b;}[_0x5e0aad(0x1da)](){const _0x1487d8=_0x5e0aad,_0x405049=new _0x260eff[(_0x1487d8(0x1a8))](),_0x2a8b27=_0x59c60d(),_0x55d403=()=>{const _0x9ae463=_0x1487d8;_0x405049[_0x9ae463(0x5f0)]();const _0x5398cf=(_0x53fb1b,_0x4719fb,_0x484292,_0x24526f)=>{const _0x3e28d4=_0x9ae463;let _0x49c390=[];switch(_0x53fb1b['id']){case _0x47516e[_0x3e28d4(0x3e2)]['DeleteRangeMoveLeftCommandId']:{_0x49c390=_0x47516e['handleDeleteRangeMoveLeft'](_0x53fb1b,_0x24526f);break;}case _0x47516e[_0x3e28d4(0x3e2)][_0x3e28d4(0x428)]:{_0x49c390=_0x47516e[_0x3e28d4(0x200)](_0x53fb1b,_0x24526f);break;}case _0x47516e[_0x3e28d4(0x3e2)][_0x3e28d4(0x39f)]:{_0x49c390=_0x47516e['handleInsertCol'](_0x53fb1b,_0x24526f);break;}case _0x47516e[_0x3e28d4(0x3e2)][_0x3e28d4(0x517)]:{_0x49c390=_0x47516e[_0x3e28d4(0x229)](_0x53fb1b,_0x24526f);break;}case _0x47516e[_0x3e28d4(0x3e2)]['InsertRangeMoveRightCommandId']:{_0x49c390=_0x47516e['handleInsertRangeMoveRight'](_0x53fb1b,_0x24526f);break;}case _0x47516e[_0x3e28d4(0x3e2)][_0x3e28d4(0x2cc)]:{_0x49c390=_0x47516e[_0x3e28d4(0x4ab)](_0x53fb1b,_0x24526f);break;}case _0x47516e['EffectRefRangId'][_0x3e28d4(0x291)]:{_0x49c390=_0x47516e[_0x3e28d4(0x51b)](_0x53fb1b,_0x24526f);break;}case _0x47516e['EffectRefRangId']['RemoveColCommandId']:{_0x49c390=_0x47516e[_0x3e28d4(0x452)](_0x53fb1b,_0x24526f);break;}case _0x47516e[_0x3e28d4(0x3e2)]['RemoveRowCommandId']:{_0x49c390=_0x47516e[_0x3e28d4(0x61e)](_0x53fb1b,_0x24526f);break;}}const _0x51ba00=_0x47516e[_0x3e28d4(0x4bb)](_0x49c390,_0x24526f),_0x53089f=this[_0x3e28d4(0x41b)][_0x3e28d4(0x391)](_0x4719fb);if(_0x53089f&&_0x51ba00){const _0x45172d={..._0x53089f,'range':_0x51ba00};this['cursorInfo']['set'](_0x4719fb,_0x45172d),_0x2a8b27(()=>{const _0xde8c1b=_0x3e28d4,_0x4760fe=this[_0xde8c1b(0x5da)][_0xde8c1b(0x53e)](_0x51ba00,_0x3483e6=>(_0x4760fe['dispose'](),_0x5398cf(_0x3483e6,_0x4719fb,_0x484292,_0x51ba00)));_0x405049[_0xde8c1b(0x33b)](_0x4760fe);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x9ae463(0x5f7)]((_0x8dc85d,_0x39ac26)=>{const _0x372aaa=_0x9ae463,{range:_0x4c5da3,sheetID:_0x20e641}=_0x8dc85d,_0x8b7b38=this[_0x372aaa(0x5da)][_0x372aaa(0x53e)](_0x4c5da3,_0x2f7c29=>(_0x8b7b38[_0x372aaa(0x5f0)](),_0x5398cf(_0x2f7c29,_0x39ac26,_0x20e641,_0x4c5da3)));_0x405049[_0x372aaa(0x33b)](_0x8b7b38);});};this['disposeWithMe'](_0x260eff[_0x1487d8(0x36e)](this[_0x1487d8(0x376)]['subscribe'](()=>{_0x55d403();})));}[_0x5e0aad(0x3d5)](){const _0x2b17b4=_0x5e0aad;var _0x332f37,_0x47bbd7;if(this[_0x2b17b4(0x49d)]=!0x0,((_0x332f37=this[_0x2b17b4(0x434)][_0x2b17b4(0x24e)]())==null?void 0x0:_0x332f37['getUnitId']())!==this['unitID'])return;const _0x5a0e8c=(_0x47bbd7=this['_injector'][_0x2b17b4(0x391)](_0x47516e[_0x2b17b4(0x52b)])[_0x2b17b4(0x57a)]())==null?void 0x0:_0x47bbd7[0x0],_0xfba4c3=this[_0x2b17b4(0x434)][_0x2b17b4(0x4d9)](_0x260eff[_0x2b17b4(0x3d8)]['UNIVER_SHEET'])[_0x2b17b4(0x19d)]();_0x5a0e8c&&_0xfba4c3&&this[_0x2b17b4(0x26b)](_0xfba4c3[_0x2b17b4(0x460)](),_0x5a0e8c);}[_0x5e0aad(0x362)](){this['_online']=!0x1;}};_0x10d58d=_0x39f75e([_0x10fe2d(0x2,_0x260eff[_0x5e0aad(0x34e)](_0x260eff['Injector'])),_0x10fe2d(0x3,_0x260eff[_0x5e0aad(0x34e)](_0xdcd0b5)),_0x10fe2d(0x4,_0x260eff[_0x5e0aad(0x34e)](_0xc68ebf['MemberService'])),_0x10fe2d(0x5,_0x260eff['IUniverInstanceService']),_0x10fe2d(0x6,_0x260eff[_0x5e0aad(0x61f)]),_0x10fe2d(0x7,_0x260eff[_0x5e0aad(0x34e)](_0x47516e[_0x5e0aad(0x1c0)]))],_0x10d58d);var _0x6426a2=Object[_0x5e0aad(0x2e4)],_0x358fb7=Object['getOwnPropertyDescriptor'],_0x53a619=(_0x4ef6f5,_0x3540ea,_0x40fca4,_0x106b5b)=>{const _0x599167=_0x5e0aad;for(var _0x183ec7=_0x106b5b>0x1?void 0x0:_0x106b5b?_0x358fb7(_0x3540ea,_0x40fca4):_0x3540ea,_0x1b1286=_0x4ef6f5[_0x599167(0x1cc)]-0x1,_0x441d59;_0x1b1286>=0x0;_0x1b1286--)(_0x441d59=_0x4ef6f5[_0x1b1286])&&(_0x183ec7=(_0x106b5b?_0x441d59(_0x3540ea,_0x40fca4,_0x183ec7):_0x441d59(_0x183ec7))||_0x183ec7);return _0x106b5b&&_0x183ec7&&_0x6426a2(_0x3540ea,_0x40fca4,_0x183ec7),_0x183ec7;},_0x5a2658=(_0x3647da,_0x3fc57b)=>(_0x401cf7,_0x52c149)=>_0x3fc57b(_0x401cf7,_0x52c149,_0x3647da);let _0x450ee9=class extends _0x260eff[_0x5e0aad(0x1b1)]{constructor(_0x168b0c,_0x317ef0,_0x2fecf1){const _0x29ad41=_0x5e0aad;super(),_0x133e34(this,_0x29ad41(0x528),new Map()),_0x133e34(this,'_entityInit$',new _0x543965['Subject']()),(this[_0x29ad41(0x434)]=_0x168b0c,this[_0x29ad41(0x2a2)]=_0x317ef0,this[_0x29ad41(0x1bf)]=_0x2fecf1,this['_init']());}['dispose'](){const _0x27acdb=_0x5e0aad;super['dispose'](),this[_0x27acdb(0x433)]['complete'](),this[_0x27acdb(0x528)]['forEach'](_0x379b05=>_0x379b05[_0x27acdb(0x5f0)]());}[_0x5e0aad(0x3be)](_0x1c91d0){const _0x249d6c=_0x5e0aad;return this[_0x249d6c(0x528)][_0x249d6c(0x534)](_0x1c91d0)?this[_0x249d6c(0x528)][_0x249d6c(0x391)](_0x1c91d0)[_0x249d6c(0x389)]:this['_entityInit$']['pipe'](_0x543965[_0x249d6c(0x2d9)](_0x4686ec=>_0x4686ec[_0x249d6c(0x605)]===_0x1c91d0),_0x543965[_0x249d6c(0x3fb)](_0x48d682=>_0x48d682['cursorInfo$']));}[_0x5e0aad(0x1de)](){const _0x48a39a=_0x5e0aad;this[_0x48a39a(0x434)][_0x48a39a(0x216)](_0x260eff[_0x48a39a(0x3d8)][_0x48a39a(0x31f)])[_0x48a39a(0x4f6)](_0x543965[_0x48a39a(0x248)](this['dispose$']))['subscribe'](async _0x5e4f44=>{const _0x499ce1=_0x48a39a,_0x2c2bb8=_0x5e4f44[_0x499ce1(0x1d7)](),_0x46df93=await this[_0x499ce1(0x2f0)](_0x2c2bb8);this[_0x499ce1(0x433)]['next'](_0x46df93),this[_0x499ce1(0x528)][_0x499ce1(0x5f3)](_0x2c2bb8,_0x46df93);}),this['_univerInstanceService'][_0x48a39a(0x216)](_0x260eff[_0x48a39a(0x3d8)][_0x48a39a(0x246)])[_0x48a39a(0x4f6)](_0x543965[_0x48a39a(0x248)](this[_0x48a39a(0x34a)]))['pipe'](_0x543965[_0x48a39a(0x2d9)](_0x2058c5=>!_0x2058c5[_0x48a39a(0x1d7)]()['startsWith']('__')))[_0x48a39a(0x19e)](async _0x149d99=>{const _0x57d82a=_0x48a39a,_0x2e6bed=_0x149d99['getUnitId'](),_0x3a520c=await this[_0x57d82a(0x1b4)](_0x2e6bed);this['_entityInit$'][_0x57d82a(0x4ca)](_0x3a520c),this[_0x57d82a(0x528)]['set'](_0x2e6bed,_0x3a520c);}),_0x543965[_0x48a39a(0x3ad)](this[_0x48a39a(0x434)]['getTypeOfUnitDisposed$'](_0x260eff[_0x48a39a(0x3d8)][_0x48a39a(0x246)]),this[_0x48a39a(0x434)][_0x48a39a(0x5ff)](_0x260eff[_0x48a39a(0x3d8)]['UNIVER_SHEET']))[_0x48a39a(0x4f6)](_0x543965['takeUntil'](this[_0x48a39a(0x34a)]))[_0x48a39a(0x19e)](_0x2c7768=>{const _0x2ff287=_0x48a39a,_0x56f770=_0x2c7768[_0x2ff287(0x1d7)](),_0x43bf29=this['_entities'][_0x2ff287(0x391)](_0x56f770);_0x43bf29&&(_0x43bf29[_0x2ff287(0x5f0)](),this[_0x2ff287(0x528)][_0x2ff287(0x516)](_0x56f770));});}async[_0x5e0aad(0x2f0)](_0x5152f2){const _0x4724c8=_0x5e0aad,_0x56db56=await this[_0x4724c8(0x1bf)][_0x4724c8(0x2b1)](_0x5152f2),_0x156c80=this[_0x4724c8(0x2a2)][_0x4724c8(0x623)](_0x10d58d,_0x5152f2,_0x56db56);return _0x156c80[_0x4724c8(0x57f)](),_0x156c80;}async['_startDocCollabCursor'](_0x510fb7){const _0x21b0f2=_0x5e0aad,_0x33858a=await this[_0x21b0f2(0x1bf)][_0x21b0f2(0x2b1)](_0x510fb7),_0x943f5f=this['_injector'][_0x21b0f2(0x623)](_0x3da8a8,_0x510fb7,_0x33858a);return _0x943f5f['init'](),_0x943f5f;}};_0x450ee9=_0x53a619([_0x5a2658(0x0,_0x260eff[_0x5e0aad(0x44d)]),_0x5a2658(0x1,_0x260eff['Inject'](_0x260eff['Injector'])),_0x5a2658(0x2,_0x260eff[_0x5e0aad(0x34e)](_0xc68ebf[_0x5e0aad(0x573)]))],_0x450ee9);const _0xd366ac=0x14,_0x5312fb=0xc8,_0x4d7320=0x4,_0x1b85e5=0x5;function _0x17754d(_0x62672b,_0x4dbaeb){const _0x245abd=_0x5e0aad;let {radius:_0x2f5acc,width:_0x20036a,height:_0x19a968}=_0x4dbaeb;_0x2f5acc=_0x2f5acc!=null?_0x2f5acc:0x0,_0x20036a=_0x20036a!=null?_0x20036a:0x1e,_0x19a968=_0x19a968!=null?_0x19a968:0x1e;let _0x2aa76c=0x0,_0x3bf2b4=0x0,_0x1db395=0x0;_0x2aa76c=_0x3bf2b4=_0x1db395=Math[_0x245abd(0x347)](_0x2f5acc,_0x20036a/0x2,_0x19a968/0x2),_0x62672b['beginPath'](),_0x62672b['moveTo'](_0x2aa76c,0x0),_0x62672b[_0x245abd(0x2c6)](_0x20036a-_0x3bf2b4,0x0),_0x62672b['arc'](_0x20036a-_0x3bf2b4,_0x3bf2b4,_0x3bf2b4,Math['PI']*0x3/0x2,0x0,!0x1),_0x62672b['lineTo'](_0x20036a,_0x19a968-_0x1db395),_0x62672b[_0x245abd(0x3b3)](_0x20036a-_0x1db395,_0x19a968-_0x1db395,_0x1db395,0x0,Math['PI']/0x2,!0x1),_0x62672b[_0x245abd(0x2c6)](0x0,_0x19a968),_0x62672b[_0x245abd(0x2c6)](0x0,_0x2aa76c),_0x62672b[_0x245abd(0x3b3)](_0x2aa76c,_0x2aa76c,_0x2aa76c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x62672b[_0x245abd(0x4c2)](),_0x4dbaeb['fill']&&(_0x62672b[_0x245abd(0x21e)](),_0x62672b[_0x245abd(0x23e)]=_0x4dbaeb[_0x245abd(0x4d5)],_0x4dbaeb[_0x245abd(0x29a)]==='evenodd'?_0x62672b[_0x245abd(0x4d5)](_0x245abd(0x43a)):_0x62672b['fill'](),_0x62672b['restore']());}class _0x1c0ff8 extends _0x1f079c['Shape']{constructor(_0x539a4f,_0x3d786e){const _0x460438=_0x5e0aad;super(_0x539a4f,_0x3d786e),_0x133e34(this,'color'),_0x133e34(this,_0x460438(0x3cc)),(this[_0x460438(0x28c)]=_0x3d786e==null?void 0x0:_0x3d786e[_0x460438(0x28c)],this[_0x460438(0x3cc)]=_0x3d786e==null?void 0x0:_0x3d786e[_0x460438(0x3cc)]);}static[_0x5e0aad(0x2cb)](_0x2239c1,_0x26b295){const _0x4e7adf=_0x5e0aad,{text:_0x4b422b,color:_0x5a77b5}=_0x26b295;_0x2239c1[_0x4e7adf(0x21e)](),_0x2239c1['font']=_0x4e7adf(0x5aa);const _0x10789a=_0x2239c1[_0x4e7adf(0x608)](_0x4b422b)[_0x4e7adf(0x2ba)],_0x434f58=Math[_0x4e7adf(0x347)](_0x10789a+0x2*_0x4d7320,_0x5312fb);_0x17754d(_0x2239c1,{'height':_0xd366ac,'radius':0x4,'width':_0x434f58,'fill':_0x5a77b5,'evented':!0x1}),_0x2239c1['fillStyle']=_0x4e7adf(0x2bf);const _0x59aea6=_0x4d7320,_0x111e63=_0xd366ac-_0x1b85e5,_0x183eec=_0x5312fb-0x2*_0x4d7320;if(_0x10789a>_0x183eec){let _0x245620='',_0x5f2dcc=0x0;for(const _0x14b7c0 of _0x4b422b){const _0x2cb4ea=_0x2239c1[_0x4e7adf(0x608)](_0x14b7c0)[_0x4e7adf(0x2ba)];if(_0x5f2dcc+_0x2cb4ea<=_0x183eec-_0x2239c1[_0x4e7adf(0x608)](_0x4e7adf(0x198))['width'])_0x245620+=_0x14b7c0,_0x5f2dcc+=_0x2cb4ea;else{_0x245620+=_0x4e7adf(0x198);break;}}_0x2239c1[_0x4e7adf(0x3c2)](_0x245620,_0x59aea6,_0x111e63);}else _0x2239c1[_0x4e7adf(0x3c2)](_0x4b422b,_0x59aea6,_0x111e63);_0x2239c1['restore']();}['_draw'](_0xf2ad09){_0x1c0ff8['drawWith'](_0xf2ad09,this);}}const _0x558676=_0x5e0aad(0x4e6),_0x47214b=_0x5e0aad(0x1ea),_0x3720a3=_0x5e0aad(0x2f3),_0x2461ad=0x6,_0x371564=1.5,_0x6be9de=0x4,_0x5447c2=1.5,_0x426bb6='rgba(255,\x20255,\x20255,\x200.01)';class _0x4ad9d3{constructor(_0x676e3,_0x1abb47,_0x396cd7,_0x5e57d3){const _0x3f197a=_0x5e0aad;_0x133e34(this,_0x3f197a(0x49f),[]),_0x133e34(this,'_anchor',null),_0x133e34(this,_0x3f197a(0x5ca),null),_0x133e34(this,_0x3f197a(0x46b),null),_0x133e34(this,_0x3f197a(0x309),null),_0x133e34(this,_0x3f197a(0x3e6),null),(this[_0x3f197a(0x2c1)]=_0x676e3,this[_0x3f197a(0x58a)]=_0x1abb47,this[_0x3f197a(0x47a)]=_0x396cd7,this['_document']=_0x5e57d3,this['_render']());}set[_0x5e0aad(0x2ea)](_0x505dc1){const _0x545456=_0x5e0aad;_0x505dc1?(this[_0x545456(0x46b)]&&this[_0x545456(0x46b)][_0x545456(0x2e6)](),this[_0x545456(0x5ca)]&&this['_textBubble'][_0x545456(0x523)]()):(this[_0x545456(0x46b)]&&this['_anchorDot'][_0x545456(0x523)](),this[_0x545456(0x5ca)]&&this[_0x545456(0x5ca)][_0x545456(0x2e6)]());}[_0x5e0aad(0x5f0)](){const _0x3de463=_0x5e0aad;for(const _0x54073b of this[_0x3de463(0x49f)])_0x54073b[_0x3de463(0x5f0)]();this[_0x3de463(0x5ca)]&&this[_0x3de463(0x5ca)][_0x3de463(0x5f0)](),this[_0x3de463(0x46b)]&&this[_0x3de463(0x46b)][_0x3de463(0x5f0)](),this[_0x3de463(0x262)]&&this[_0x3de463(0x262)][_0x3de463(0x5f0)](),this[_0x3de463(0x3e6)]&&this[_0x3de463(0x3e6)]();}['_render'](){const _0x454030=_0x5e0aad;var _0x59a3c6;const {_docSkeleton:_0x4ad6fa,_document:_0x13bc1a}=this,{color:_0x31e034,name:_0x50f43d,ranges:_0x2be02f}=this[_0x454030(0x2c1)],_0x4262fb=_0x13bc1a[_0x454030(0x285)](),{docsLeft:_0x83c438,docsTop:_0x417fe5}=_0x4262fb,_0xecb4d=new _0x1517b1[(_0x454030(0x43d))](_0x4262fb,_0x4ad6fa);for(const {startOffset:_0x4d70a2,endOffset:_0x3b6c44,rangeType:_0x3973db,segmentId:_0x4d791f,segmentPage:_0x4cf111,collapsed:_0xeab229,isActive:_0x2a632f}of _0x2be02f){const _0x2ebf97=_0x4ad6fa['findNodePositionByCharIndex'](_0x4d70a2,!0x0,_0x4d791f,_0x4cf111);let _0x338df6=_0x4ad6fa[_0x454030(0x416)](_0x3b6c44,!0x0,_0x4d791f,_0x4cf111);if(_0x338df6==null&&(_0x338df6=_0x4ad6fa[_0x454030(0x416)](_0x3b6c44-0x1,!0x1,_0x4d791f,_0x4cf111)),_0x2a632f){const {contentBoxPointGroup:_0x1563ad}=_0xecb4d['getRangePointData'](_0x338df6,_0x338df6);if(_0x1563ad['length']===0x0)continue;this[_0x454030(0x3ba)](_0x31e034,_0x1563ad,_0x83c438,_0x417fe5,_0x50f43d),this[_0x454030(0x3e6)]=this[_0x454030(0x3ac)]();}if(_0x2ebf97&&_0x338df6){if(_0x3973db===_0x260eff[_0x454030(0x251)][_0x454030(0x4de)]){const _0x326ced=new _0x1517b1[(_0x454030(0x455))](_0x4262fb,_0x4ad6fa),{pointGroup:_0x5e2feb}=(_0x59a3c6=_0x326ced[_0x454030(0x1df)](_0x2ebf97,_0x338df6))!=null?_0x59a3c6:{};if(_0x5e2feb==null||_0x5e2feb[_0x454030(0x1cc)]===0x0)continue;this[_0x454030(0x43c)](_0x31e034,_0x5e2feb,_0x83c438,_0x417fe5);}else{if(!_0xeab229){const {borderBoxPointGroup:_0x406b87}=_0xecb4d[_0x454030(0x1df)](_0x2ebf97,_0x338df6);if(_0x406b87[_0x454030(0x1cc)]===0x0)continue;this[_0x454030(0x273)](_0x31e034,_0x406b87,_0x83c438,_0x417fe5);}}}}}[_0x5e0aad(0x3ba)](_0x13daf1,_0x33e716,_0x2aaa89,_0x3139d6,_0x5122d8){const _0x55307f=_0x5e0aad,_0x5c774f=this[_0x55307f(0x1b0)](_0x33e716),{left:_0x35fc48,top:_0x46bd88,height:_0x27d1ef}=_0x5c774f,_0x4cf75b=this[_0x55307f(0x5c5)](),_0x371b17=_0x5447c2/_0x4cf75b,_0x3e362d=new _0x1f079c[(_0x55307f(0x1dd))](_0x558676+_0x260eff[_0x55307f(0x3e7)][_0x55307f(0x2d1)](_0x2461ad),{'left':_0x35fc48+_0x2aaa89-_0x371b17,'top':_0x46bd88+_0x3139d6,'height':_0x27d1ef,'width':_0x371564,'fill':_0x13daf1||_0x1f079c[_0x55307f(0x5bf)](_0x260eff[_0x55307f(0x34f)][_0x55307f(0x270)],0x0),'strokeWidth':_0x371b17,'stroke':_0x426bb6,'evented':!0x0});this[_0x55307f(0x262)]=_0x3e362d,this[_0x55307f(0x58a)][_0x55307f(0x2e8)](_0x3e362d,_0x1517b1[_0x55307f(0x23f)]);const _0x2fb1a7=new _0x1f079c[(_0x55307f(0x1dd))](_0x558676+_0x260eff[_0x55307f(0x3e7)][_0x55307f(0x2d1)](_0x2461ad),{'left':_0x35fc48+_0x2aaa89-_0x371b17,'top':_0x46bd88+_0x3139d6-_0x6be9de/0x2,'height':_0x6be9de,'width':_0x6be9de,'fill':_0x13daf1||_0x1f079c[_0x55307f(0x5bf)](_0x260eff[_0x55307f(0x34f)][_0x55307f(0x270)],0x0),'strokeWidth':0x0,'stroke':_0x13daf1||_0x1f079c[_0x55307f(0x5bf)](_0x260eff[_0x55307f(0x34f)][_0x55307f(0x270)],0x0),'evented':!0x1});this[_0x55307f(0x46b)]=_0x2fb1a7,this[_0x55307f(0x58a)][_0x55307f(0x2e8)](_0x2fb1a7,_0x1517b1[_0x55307f(0x23f)]);const _0x32c93a=new _0x1c0ff8(_0x558676+_0x260eff[_0x55307f(0x3e7)][_0x55307f(0x2d1)](_0x2461ad),{'left':_0x35fc48+_0x2aaa89-_0x371b17,'top':_0x46bd88+_0x3139d6-_0xd366ac,'text':_0x5122d8,'color':_0x13daf1});this[_0x55307f(0x5ca)]=_0x32c93a,this[_0x55307f(0x58a)]['addObject'](_0x32c93a,_0x1517b1[_0x55307f(0x23f)]),this[_0x55307f(0x2ea)]=!0x1;}[_0x5e0aad(0x3ac)](){const _0x155cb2=_0x5e0aad,_0x379b60=this['_anchor']['onPointerEnter$'][_0x155cb2(0x542)](()=>{const _0x547995=_0x155cb2;this[_0x547995(0x2ea)]=!0x0;}),_0x5aba19=this['_anchor'][_0x155cb2(0x637)]['subscribeEvent'](()=>{const _0x33f081=_0x155cb2;this[_0x33f081(0x309)]&&clearTimeout(this[_0x33f081(0x309)]),this[_0x33f081(0x309)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x5830c9=_0x155cb2;_0x379b60[_0x5830c9(0x5ab)](),_0x5aba19[_0x5830c9(0x5ab)]();};}[_0x5e0aad(0x273)](_0x3274ad,_0x14b70b,_0x317f82,_0x257fe0){const _0x44cb12=_0x5e0aad,_0x181b96=new _0x260eff[(_0x44cb12(0x643))](_0x3274ad)[_0x44cb12(0x207)](0.2)['toRgbString'](),_0x5c8df5=new _0x1f079c[(_0x44cb12(0x29f))](_0x47214b+_0x260eff[_0x44cb12(0x3e7)][_0x44cb12(0x2d1)](_0x2461ad),{'pointsGroup':_0x14b70b,'fill':_0x181b96||_0x1f079c[_0x44cb12(0x5bf)](_0x260eff['COLORS'][_0x44cb12(0x270)],0.2),'left':_0x317f82,'top':_0x257fe0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x44cb12(0x49f)][_0x44cb12(0x616)](_0x5c8df5),this[_0x44cb12(0x58a)][_0x44cb12(0x2e8)](_0x5c8df5,_0x1517b1[_0x44cb12(0x23f)]);}['_drawRectRange'](_0x48fd43,_0x46f5dc,_0x50e1a5,_0x4ccccc){const _0xfb6175=_0x5e0aad,_0x41cce9=new _0x260eff['ColorKit'](_0x48fd43)[_0xfb6175(0x207)](0.2)['toRgbString'](),_0x3a6e7c=new _0x1f079c['RegularPolygon'](_0x3720a3+_0x260eff[_0xfb6175(0x3e7)]['generateRandomId'](_0x2461ad),{'pointsGroup':_0x46f5dc,'fill':_0x41cce9||_0x1f079c[_0xfb6175(0x5bf)](_0x260eff[_0xfb6175(0x34f)][_0xfb6175(0x270)],0.2),'left':_0x50e1a5,'top':_0x4ccccc,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xfb6175(0x49f)][_0xfb6175(0x616)](_0x3a6e7c),this[_0xfb6175(0x58a)]['addObject'](_0x3a6e7c,_0x1517b1[_0xfb6175(0x23f)]);}[_0x5e0aad(0x1b0)](_0x15f969){const _0x571961=_0x15f969[0x0],_0x31bb76=_0x571961[0x0],_0x271b26=_0x571961[0x2],{x:_0x33db3d,y:_0x33a510}=_0x31bb76,{x:_0x4f5bbd,y:_0x2fa701}=_0x271b26;return{'left':_0x33db3d,'top':_0x33a510,'width':_0x4f5bbd-_0x33db3d,'height':_0x2fa701-_0x33a510};}['_getScale'](){const _0x4c09f6=_0x5e0aad,{scaleX:_0x2aec75,scaleY:_0x1def9e}=this['_scene'][_0x4c09f6(0x3a6)]();return Math['max'](_0x2aec75,_0x1def9e);}}var _0x39c7fc=Object[_0x5e0aad(0x2e4)],_0x322524=Object['getOwnPropertyDescriptor'],_0x1608eb=(_0x42d2b2,_0x51b711,_0x1b1fcf,_0x271e3c)=>{for(var _0x1e08ca=_0x271e3c>0x1?void 0x0:_0x271e3c?_0x322524(_0x51b711,_0x1b1fcf):_0x51b711,_0x30ea09=_0x42d2b2['length']-0x1,_0x57dea0;_0x30ea09>=0x0;_0x30ea09--)(_0x57dea0=_0x42d2b2[_0x30ea09])&&(_0x1e08ca=(_0x271e3c?_0x57dea0(_0x51b711,_0x1b1fcf,_0x1e08ca):_0x57dea0(_0x1e08ca))||_0x1e08ca);return _0x271e3c&&_0x1e08ca&&_0x39c7fc(_0x51b711,_0x1b1fcf,_0x1e08ca),_0x1e08ca;},_0x2c911a=(_0x498a89,_0x32fa09)=>(_0x52ecd4,_0x10a7a5)=>_0x32fa09(_0x52ecd4,_0x10a7a5,_0x498a89);let _0x28fd97=class extends _0x260eff[_0x5e0aad(0x1b1)]{constructor(_0x54d8b5,_0x432fa0,_0x8dbb25,_0x191918,_0x28391f){const _0x4fe21f=_0x5e0aad;super(),_0x133e34(this,_0x4fe21f(0x1ab),[]),_0x133e34(this,'_cursors',[]),(this[_0x4fe21f(0x5d7)]=_0x54d8b5,this[_0x4fe21f(0x41e)]=_0x432fa0,this[_0x4fe21f(0x348)]=_0x8dbb25,this['_commandService']=_0x191918,this[_0x4fe21f(0x579)]=_0x28391f,this[_0x4fe21f(0x1de)]());}[_0x5e0aad(0x1de)](){const _0x52404c=_0x5e0aad,_0x36622e=this[_0x52404c(0x5d7)]['unitId'],_0x429ac4=this['_docSkeletonManagerService'];this[_0x52404c(0x539)](_0x543965['combineLatest']([this[_0x52404c(0x348)][_0x52404c(0x3be)](_0x36622e),this[_0x52404c(0x579)]['currentTheme$']])[_0x52404c(0x4f6)](_0x59f7e7[_0x52404c(0x2f4)](([_0x5df229,_0x4d26da])=>({'skeleton':_0x429ac4[_0x52404c(0x490)](),'cursors':[..._0x5df229[_0x52404c(0x545)]()]['flatMap'](_0x2cc9=>({..._0x2cc9,'color':_0x4d26da[_0x2cc9[_0x52404c(0x28c)]]}))})))['subscribe'](_0x1421e3=>{const _0x5d4f69=_0x52404c;if(this[_0x5d4f69(0x55c)](),_0x1421e3){const {skeleton:_0x34e953,cursors:_0x4b39db}=_0x1421e3;this[_0x5d4f69(0x607)](_0x34e953,_0x4b39db);}})),this[_0x52404c(0x2a0)](),this[_0x52404c(0x34b)]();}[_0x5e0aad(0x607)](_0x155cf8,_0x3cbf75){const _0xace20e=_0x5e0aad,{scene:_0x338669,mainComponent:_0x10bb98}=this[_0xace20e(0x5d7)],_0xedfcb4=_0x3cbf75[_0xace20e(0x2f4)](_0x269062=>new _0x4ad9d3(_0x269062,_0x338669,_0x155cf8,_0x10bb98));this[_0xace20e(0x1ab)]=_0xedfcb4,this['_cursors']=_0x3cbf75;}[_0x5e0aad(0x506)](){const _0x322624=_0x5e0aad;this['_removeCollabCursors']();const {scene:_0x4c450f,mainComponent:_0x2b5d7c}=this[_0x322624(0x5d7)],_0x3ea802=this['_docSkeletonManagerService'][_0x322624(0x490)](),_0x2d168d=this[_0x322624(0x638)][_0x322624(0x2f4)](_0x395acb=>new _0x4ad9d3(_0x395acb,_0x4c450f,_0x3ea802,_0x2b5d7c));this[_0x322624(0x1ab)]=_0x2d168d;}['_removeCollabCursors'](){const _0x251105=_0x5e0aad;this[_0x251105(0x1ab)]['forEach'](_0x224100=>_0x224100[_0x251105(0x5f0)]()),this['_cursorShapes']=[];}[_0x5e0aad(0x34b)](){const _0x54395b=_0x5e0aad,_0x5b371d=[_0x1517b1['SetDocZoomRatioOperation']['id']];this[_0x54395b(0x539)](this[_0x54395b(0x589)][_0x54395b(0x34c)](_0x19d586=>{const _0xf8b3f0=_0x54395b;_0x5b371d[_0xf8b3f0(0x233)](_0x19d586['id'])&&_0x19d586[_0xf8b3f0(0x469)]['unitId']===this['_context'][_0xf8b3f0(0x1e1)]&&this[_0xf8b3f0(0x506)]();}));}[_0x5e0aad(0x2a0)](){const _0x15dfaf=_0x5e0aad;this[_0x15dfaf(0x539)](_0x260eff[_0x15dfaf(0x552)](this['_context'][_0x15dfaf(0x3c0)][_0x15dfaf(0x275)])[_0x15dfaf(0x4f6)](_0x59f7e7[_0x15dfaf(0x2d9)](_0x42b138=>_0x42b138[_0x15dfaf(0x1d1)]===_0x1f079c[_0x15dfaf(0x21d)][_0x15dfaf(0x2af)]),_0x59f7e7[_0x15dfaf(0x4d1)](0x10))[_0x15dfaf(0x19e)](()=>{const _0x5746c0=_0x15dfaf;this[_0x5746c0(0x506)]();}));}};_0x28fd97=_0x1608eb([_0x2c911a(0x1,_0x260eff[_0x5e0aad(0x34e)](_0x433bf3[_0x5e0aad(0x24a)])),_0x2c911a(0x2,_0x260eff[_0x5e0aad(0x34e)](_0x450ee9)),_0x2c911a(0x3,_0x260eff[_0x5e0aad(0x61f)]),_0x2c911a(0x4,_0x260eff[_0x5e0aad(0x34e)](_0x260eff[_0x5e0aad(0x36f)]))],_0x28fd97);const _0x136a33=0x1,_0x23785a=1.5;class _0x21275c extends _0x1f079c[_0x5e0aad(0x407)]{constructor(_0x1e37ab,_0x128b9d){const _0x364644=_0x5e0aad;super(_0x1e37ab,_0x128b9d),_0x133e34(this,_0x364644(0x2bb)),_0x133e34(this,_0x364644(0x2f7),!0x1),_0x133e34(this,_0x364644(0x3a3)),_0x133e34(this,_0x364644(0x228),''),_0x133e34(this,'_labelPosition','top'),_0x133e34(this,_0x364644(0x5e6)),(_0x128b9d&&this[_0x364644(0x418)](_0x128b9d),this[_0x364644(0x332)]['subscribeEvent'](()=>this[_0x364644(0x418)]({'hovered':!0x0})),this[_0x364644(0x637)][_0x364644(0x542)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0xf8caf8){const _0x34f9aa=_0x5e0aad;var _0x4a60cb,_0x579615,_0x23f330,_0x2aa183,_0x314e7b,_0xb84727;this['_color']=(_0x4a60cb=_0xf8caf8[_0x34f9aa(0x28c)])!=null?_0x4a60cb:this['_color'],this[_0x34f9aa(0x2f7)]=(_0x579615=_0xf8caf8['hovered'])!=null?_0x579615:this[_0x34f9aa(0x2f7)],this['_range']=(_0x23f330=_0xf8caf8[_0x34f9aa(0x316)])!=null?_0x23f330:this[_0x34f9aa(0x3a3)],this[_0x34f9aa(0x228)]=(_0x2aa183=_0xf8caf8[_0x34f9aa(0x3d3)])!=null?_0x2aa183:this[_0x34f9aa(0x228)],this[_0x34f9aa(0x196)]=(_0x314e7b=_0xf8caf8['labelPosition'])!=null?_0x314e7b:this[_0x34f9aa(0x196)],this['_backgroundColor']=(_0xb84727=_0xf8caf8[_0x34f9aa(0x349)])!=null?_0xb84727:this[_0x34f9aa(0x5e6)],this['transformByState']({'width':_0xf8caf8[_0x34f9aa(0x2ba)],'height':_0xf8caf8[_0x34f9aa(0x4c1)]});}[_0x5e0aad(0x23b)](_0x7f19bd){const _0x3e137f=_0x5e0aad,{row:_0x1d40b0,column:_0x321e81}=_0x7f19bd;if(_0x1d40b0>=this[_0x3e137f(0x3a3)][_0x3e137f(0x40a)]&&_0x1d40b0<=this['_range'][_0x3e137f(0x565)]&&_0x321e81>=this[_0x3e137f(0x3a3)][_0x3e137f(0x4f9)]&&_0x321e81<=this[_0x3e137f(0x3a3)][_0x3e137f(0x220)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x3e137f(0x418)]({'hovered':!0x1});}['triggerDblclick'](_0x2e6bb0){return!0x1;}['_draw'](_0x1234ad){const _0x104a01=_0x5e0aad;_0x1f079c[_0x104a01(0x1dd)][_0x104a01(0x2cb)](_0x1234ad,{'width':this['width'],'height':this[_0x104a01(0x4c1)],'strokeWidth':_0x23785a,'stroke':this[_0x104a01(0x2bb)],'evented':!0x1,'fill':this[_0x104a01(0x5e6)]}),this[_0x104a01(0x2f7)]&&(_0x1234ad['save'](),_0x1234ad[_0x104a01(0x4a2)](0x1,0x0,0x0,0x1,this[_0x104a01(0x2ba)],this[_0x104a01(0x196)]===_0x104a01(0x5d3)?0x0:-_0xd366ac),_0x1c0ff8['drawWith'](_0x1234ad,{'text':this[_0x104a01(0x228)],'color':this[_0x104a01(0x2bb)]}),_0x1234ad[_0x104a01(0x277)]());}}var _0x58e071=Object[_0x5e0aad(0x2e4)],_0x8f4566=Object[_0x5e0aad(0x585)],_0x865623=(_0x8de97a,_0x54eb30,_0x2c2c57,_0x4e8868)=>{const _0x362119=_0x5e0aad;for(var _0xefd054=_0x4e8868>0x1?void 0x0:_0x4e8868?_0x8f4566(_0x54eb30,_0x2c2c57):_0x54eb30,_0x2a8cf4=_0x8de97a[_0x362119(0x1cc)]-0x1,_0x64961b;_0x2a8cf4>=0x0;_0x2a8cf4--)(_0x64961b=_0x8de97a[_0x2a8cf4])&&(_0xefd054=(_0x4e8868?_0x64961b(_0x54eb30,_0x2c2c57,_0xefd054):_0x64961b(_0xefd054))||_0xefd054);return _0x4e8868&&_0xefd054&&_0x58e071(_0x54eb30,_0x2c2c57,_0xefd054),_0xefd054;},_0x47c102=(_0x531dbc,_0x1bc4b0)=>(_0x558a24,_0x302c15)=>_0x1bc4b0(_0x558a24,_0x302c15,_0x531dbc);const _0x1d0848=0x1389;let _0x524d2b=class extends _0x260eff['RxDisposable']{constructor(_0x9106b6,_0x2de634,_0x40dd9e,_0x4282c6){const _0x252067=_0x5e0aad;super(),_0x133e34(this,_0x252067(0x638),new Set()),_0x133e34(this,_0x252067(0x342),null),(this[_0x252067(0x5d7)]=_0x9106b6,this[_0x252067(0x57b)]=_0x2de634,this[_0x252067(0x348)]=_0x40dd9e,this[_0x252067(0x579)]=_0x4282c6,this[_0x252067(0x1de)]());}['_init'](){const _0x52c6a1=_0x5e0aad;this['_sheetSkeletonManagerService'][_0x52c6a1(0x20f)]['pipe'](_0x59f7e7[_0x52c6a1(0x248)](this[_0x52c6a1(0x34a)]),_0x59f7e7[_0x52c6a1(0x3fb)](_0x1316a1=>{const _0x285077=_0x52c6a1;if(_0x1316a1){const _0x4b6c33=_0x1316a1[_0x285077(0x282)];return _0x543965['combineLatest'](this['_collabCursorController'][_0x285077(0x3be)](this[_0x285077(0x5d7)][_0x285077(0x1e1)]),this[_0x285077(0x579)][_0x285077(0x1d6)])['pipe'](_0x59f7e7['map'](([_0x2747d9,_0x1d78df])=>{const _0xa184a5=new Map();return _0x2747d9['forEach']((_0x2e9381,_0x3afdf5)=>{const _0x41f570=_0x4e9c;if(_0x2e9381['sheetID']===_0x4b6c33){const _0x43b0ac={..._0x2e9381};_0x43b0ac['color']=_0x1d78df[_0x2e9381[_0x41f570(0x28c)]],_0xa184a5[_0x41f570(0x5f3)](_0x3afdf5,_0x43b0ac);}}),{'skeleton':_0x1316a1,'cursors':_0xa184a5};}));}return _0x543965['of']({'skeleton':null,'cursors':new Map()});}))[_0x52c6a1(0x19e)](({skeleton:_0xaf01cd,cursors:_0x6bd6d4})=>{const _0x206cf8=_0x52c6a1;this[_0x206cf8(0x55c)](),_0xaf01cd&&this[_0x206cf8(0x607)](_0xaf01cd,_0x6bd6d4);}),this[_0x52c6a1(0x57b)]['currentSkeleton$'][_0x52c6a1(0x19e)](_0x4bdfbd=>{const _0x3c423b=_0x52c6a1;if(_0x4bdfbd==null)return;const {skeleton:_0x5527c2}=_0x4bdfbd,{scene:_0x40cf55}=this['_context'];_0x40cf55[_0x3c423b(0x57d)][_0x3c423b(0x542)](_0x260eff[_0x3c423b(0x1ad)](_0x233ae3=>{const _0xa1e030=_0x3c423b;var _0x2b53c7,_0x344022;const {offsetX:_0x59a9f7,offsetY:_0x3b8636}=_0x233ae3,{x:_0x2ecfeb,y:_0x4947e0}=_0x40cf55[_0xa1e030(0x3d4)](_0x1f079c['Vector2'][_0xa1e030(0x32c)]([_0x59a9f7,_0x3b8636])),{scaleX:_0x3246c3,scaleY:_0x157012}=_0x40cf55['getAncestorScale'](),_0x30dd75=_0x40cf55[_0xa1e030(0x2c0)](_0x3393de[_0xa1e030(0x531)][_0xa1e030(0x1f0)]),_0x576cdc=_0x40cf55[_0xa1e030(0x2c9)](_0x1f079c[_0xa1e030(0x1d3)][_0xa1e030(0x32c)]([_0x2ecfeb,_0x4947e0]),_0x30dd75),_0x3795d8=_0x5527c2['getCellPositionByOffset'](_0x59a9f7,_0x3b8636,_0x3246c3,_0x157012,_0x576cdc);((_0x2b53c7=this[_0xa1e030(0x342)])==null?void 0x0:_0x2b53c7[_0xa1e030(0x338)])===_0x3795d8[_0xa1e030(0x338)]&&((_0x344022=this[_0xa1e030(0x342)])==null?void 0x0:_0x344022[_0xa1e030(0x4fa)])===_0x3795d8[_0xa1e030(0x4fa)]||this[_0xa1e030(0x638)]['forEach'](_0x2bb507=>{const _0x5e7e39=_0xa1e030;_0x2bb507[_0x5e7e39(0x23b)](_0x3795d8);});},0x64));});}['_updateCollabCursors'](_0x104d5,_0x254a7c){const _0x527536=_0x5e0aad;var _0x44ecbb;const _0x4e28e3=(_0x44ecbb=this[_0x527536(0x57b)][_0x527536(0x495)]())==null?void 0x0:_0x44ecbb['skeleton'];if(!_0x4e28e3)return;const _0x566c65=this[_0x527536(0x288)]();if(!_0x566c65)return;this[_0x527536(0x638)][_0x527536(0x5f7)](_0x88f58b=>{const _0x1f9565=_0x527536;_0x88f58b[_0x1f9565(0x339)]();});const {scene:_0x123494}=_0x566c65,_0x942aa5=_0x51410b(Array[_0x527536(0x39a)](_0x254a7c[_0x527536(0x545)]()))[_0x527536(0x2f4)](_0x506373=>{const _0x4b3b49=_0x527536,{color:_0x264a44,range:_0x338a5c,name:_0x1bdc8a,selection:_0x59044b,sheetID:_0x26a235}=_0x506373,{startColumn:_0x202bbf,startRow:_0x247eea,endColumn:_0x494b31,endRow:_0x1c5eff}=_0x338a5c,_0x5c67e9=_0x3393de[_0x4b3b49(0x58e)](_0x247eea,_0x202bbf,_0x123494,_0x4e28e3),_0x48723f=_0x3393de[_0x4b3b49(0x58e)](_0x1c5eff,_0x494b31,_0x123494,_0x4e28e3),{columnHeaderHeightAndMarginTop:_0x34100f}=_0x4e28e3,{startX:_0x498424,startY:_0x126d7e}=_0x5c67e9,{endX:_0x366c5d,endY:_0x8d021b}=_0x48723f,_0x412d73=_0x366c5d-_0x498424,_0x82d19b=_0x8d021b-_0x126d7e,_0x198191={'labelPosition':_0x126d7e-_0x34100f>=_0xd366ac?_0x4b3b49(0x286):_0x4b3b49(0x5d3),'sheetID':_0x26a235,'range':_0x338a5c,'color':_0x264a44,'name':_0x1bdc8a,'selection':_0x59044b,'left':_0x498424,'top':_0x126d7e,'width':_0x412d73,'height':_0x82d19b,'evented':!0x1,'zIndex':_0x1d0848};return new _0x21275c(_0x1bdc8a,_0x198191);});_0x123494[_0x527536(0x22f)](_0x942aa5,_0x136a33),this[_0x527536(0x638)]=new Set(_0x942aa5);}[_0x5e0aad(0x55c)](){const _0x29d6ab=_0x5e0aad;var _0x519737;(_0x519737=this[_0x29d6ab(0x638)])==null||_0x519737[_0x29d6ab(0x5f7)](_0x53cd7d=>_0x53cd7d[_0x29d6ab(0x5f0)]());}[_0x5e0aad(0x288)](){const _0x478739=_0x5e0aad;return _0x3393de[_0x478739(0x370)](this[_0x478739(0x5d7)]['unit'],this[_0x478739(0x5d7)]);}};_0x524d2b=_0x865623([_0x47c102(0x1,_0x260eff['Inject'](_0x3393de['SheetSkeletonManagerService'])),_0x47c102(0x2,_0x260eff['Inject'](_0x450ee9)),_0x47c102(0x3,_0x260eff[_0x5e0aad(0x34e)](_0x260eff[_0x5e0aad(0x36f)]))],_0x524d2b);function _0x51410b(_0x28c024){const _0xa00861=_0x5e0aad,_0x5b7414=new Map();return _0x28c024[_0xa00861(0x5f7)](_0x1fd9d2=>{const _0x203f25=_0xa00861;if(_0x5b7414['has'](_0x1fd9d2[_0x203f25(0x3ee)])){const _0x4e3741=_0x5b7414['get'](_0x1fd9d2[_0x203f25(0x3ee)]);_0x4e3741['name']+=',\x20'+_0x1fd9d2[_0x203f25(0x3d3)];}else _0x5b7414['set'](_0x1fd9d2['selection'],_0x1fd9d2);}),Array[_0xa00861(0x39a)](_0x5b7414[_0xa00861(0x545)]());}var _0x2efbf9=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x476764(_0x4bf079){const _0xcb8175=_0x5e0aad;return _0x4bf079&&_0x4bf079[_0xcb8175(0x3dc)]&&Object[_0xcb8175(0x387)]['hasOwnProperty'][_0xcb8175(0x35e)](_0x4bf079,'default')?_0x4bf079['default']:_0x4bf079;}var _0x5b51a3={'exports':{}},_0xf3b031={},_0x579c99=_0x4f19ed,_0x34adb8=Symbol[_0x5e0aad(0x600)](_0x5e0aad(0x411)),_0x4664e4=Symbol[_0x5e0aad(0x600)](_0x5e0aad(0x314)),_0x183277=Object[_0x5e0aad(0x387)][_0x5e0aad(0x1f4)],_0x313fb4=_0x579c99['__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED'][_0x5e0aad(0x19c)],_0x4540c2={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x5d39cb(_0x299fcd,_0x435080,_0x4bb0af){const _0x2b9052=_0x5e0aad;var _0x1bf81d,_0x2227f3={},_0x40d247=null,_0x198bc2=null;_0x4bb0af!==void 0x0&&(_0x40d247=''+_0x4bb0af),_0x435080['key']!==void 0x0&&(_0x40d247=''+_0x435080['key']),_0x435080[_0x2b9052(0x3b6)]!==void 0x0&&(_0x198bc2=_0x435080['ref']);for(_0x1bf81d in _0x435080)_0x183277[_0x2b9052(0x35e)](_0x435080,_0x1bf81d)&&!_0x4540c2['hasOwnProperty'](_0x1bf81d)&&(_0x2227f3[_0x1bf81d]=_0x435080[_0x1bf81d]);if(_0x299fcd&&_0x299fcd[_0x2b9052(0x40b)]){for(_0x1bf81d in(_0x435080=_0x299fcd[_0x2b9052(0x40b)],_0x435080))_0x2227f3[_0x1bf81d]===void 0x0&&(_0x2227f3[_0x1bf81d]=_0x435080[_0x1bf81d]);}return{'$$typeof':_0x34adb8,'type':_0x299fcd,'key':_0x40d247,'ref':_0x198bc2,'props':_0x2227f3,'_owner':_0x313fb4['current']};}_0xf3b031[_0x5e0aad(0x396)]=_0x4664e4,_0xf3b031[_0x5e0aad(0x3c9)]=_0x5d39cb,_0xf3b031[_0x5e0aad(0x63e)]=_0x5d39cb,_0x5b51a3[_0x5e0aad(0x4d6)]=_0xf3b031;var _0x2c1b5e=_0x5b51a3[_0x5e0aad(0x4d6)],_0x24d9dc=function(){const _0x3a275a=_0x5e0aad;return _0x24d9dc=Object[_0x3a275a(0x606)]||function(_0x365506){const _0x29e4e9=_0x3a275a;for(var _0x291a7c,_0x49ff39=0x1,_0x5f006a=arguments['length'];_0x49ff39<_0x5f006a;_0x49ff39++){_0x291a7c=arguments[_0x49ff39];for(var _0x2e2910 in _0x291a7c)Object[_0x29e4e9(0x387)][_0x29e4e9(0x1f4)][_0x29e4e9(0x35e)](_0x291a7c,_0x2e2910)&&(_0x365506[_0x2e2910]=_0x291a7c[_0x2e2910]);}return _0x365506;},_0x24d9dc[_0x3a275a(0x326)](this,arguments);},_0x9ac772=function(_0x18835d,_0x5221cc){const _0x199f54=_0x5e0aad;var _0x4e00b1={};for(var _0x1a50a6 in _0x18835d)Object[_0x199f54(0x387)]['hasOwnProperty']['call'](_0x18835d,_0x1a50a6)&&_0x5221cc[_0x199f54(0x274)](_0x1a50a6)<0x0&&(_0x4e00b1[_0x1a50a6]=_0x18835d[_0x1a50a6]);if(_0x18835d!=null&&typeof Object[_0x199f54(0x587)]==_0x199f54(0x525)){for(var _0x121135=0x0,_0x1a50a6=Object[_0x199f54(0x587)](_0x18835d);_0x121135<_0x1a50a6['length'];_0x121135++)_0x5221cc[_0x199f54(0x274)](_0x1a50a6[_0x121135])<0x0&&Object[_0x199f54(0x387)]['propertyIsEnumerable'][_0x199f54(0x35e)](_0x18835d,_0x1a50a6[_0x121135])&&(_0x4e00b1[_0x1a50a6[_0x121135]]=_0x18835d[_0x1a50a6[_0x121135]]);}return _0x4e00b1;},_0xd51590=_0x4f19ed['forwardRef'](function(_0x56216b,_0x43ce22){const _0x1e54ab=_0x5e0aad;var _0x23623e=_0x56216b[_0x1e54ab(0x50b)],_0x13e05f=_0x56216b['id'],_0x1d08d0=_0x56216b['className'],_0x34e1fd=_0x56216b[_0x1e54ab(0x26d)],_0x23b66a=_0x9ac772(_0x56216b,[_0x1e54ab(0x50b),'id',_0x1e54ab(0x629),'extend']),_0x287c15=_0x1e54ab(0x494)[_0x1e54ab(0x476)](_0x13e05f,'\x20')['concat'](_0x1d08d0||'')['trim'](),_0x46653e=_0x4f19ed[_0x1e54ab(0x1c7)]('_'[_0x1e54ab(0x476)](_0x4f3398()));return _0x5dade3(_0x23623e,''[_0x1e54ab(0x476)](_0x13e05f),{'defIds':_0x23623e[_0x1e54ab(0x1aa)],'idSuffix':_0x46653e[_0x1e54ab(0x4e5)]},_0x24d9dc({'ref':_0x43ce22,'className':_0x287c15},_0x23b66a),_0x34e1fd);});function _0x5dade3(_0x3fab16,_0x571b47,_0x3840cf,_0x125adb,_0x3171a8){const _0x3d1e53=_0x5e0aad;return _0x4f19ed[_0x3d1e53(0x3e1)](_0x3fab16[_0x3d1e53(0x572)],_0x24d9dc(_0x24d9dc({'key':_0x571b47},_0x21a397(_0x3fab16,_0x3840cf,_0x3171a8)),_0x125adb),(_0x402314(_0x3fab16,_0x3840cf)[_0x3d1e53(0x1a9)]||[])['map'](function(_0x400a45,_0x1e8cfc){const _0x52fe63=_0x3d1e53;return _0x5dade3(_0x400a45,''[_0x52fe63(0x476)](_0x571b47,'-')[_0x52fe63(0x476)](_0x3fab16[_0x52fe63(0x572)],'-')['concat'](_0x1e8cfc),_0x3840cf,void 0x0,_0x3171a8);}));}function _0x21a397(_0x3944be,_0x5d1b51,_0x3a46dc){const _0x1bf347=_0x5e0aad;var _0x37e01b=_0x24d9dc({},_0x3944be[_0x1bf347(0x52d)]);_0x3a46dc!=null&&_0x3a46dc[_0x1bf347(0x243)]&&_0x37e01b[_0x1bf347(0x4d5)]==='colorChannel1'&&(_0x37e01b[_0x1bf347(0x4d5)]=_0x3a46dc[_0x1bf347(0x243)]);var _0x21b388=_0x5d1b51[_0x1bf347(0x1aa)];return!_0x21b388||_0x21b388[_0x1bf347(0x1cc)]===0x0||(_0x3944be[_0x1bf347(0x572)]===_0x1bf347(0x457)&&_0x37e01b[_0x1bf347(0x266)]&&(_0x37e01b['xlink:href']=_0x37e01b['xlink:href']+_0x5d1b51['idSuffix']),Object[_0x1bf347(0x3b9)](_0x37e01b)['forEach'](function(_0x36b678){const _0x557636=_0x1bf347;var _0x51bc40=_0x36b678[0x0],_0x25e533=_0x36b678[0x1];typeof _0x25e533==_0x557636(0x1c3)&&(_0x37e01b[_0x51bc40]=_0x25e533[_0x557636(0x62b)](/url\(#(.*)\)/,'url(#$1'[_0x557636(0x476)](_0x5d1b51[_0x557636(0x201)],')')));})),_0x37e01b;}function _0x402314(_0xea1df0,_0x5110ec){const _0x46511c=_0x5e0aad;var _0x155c9a,_0x3acc03=_0x5110ec['defIds'];return!_0x3acc03||_0x3acc03[_0x46511c(0x1cc)]===0x0?_0xea1df0:_0xea1df0[_0x46511c(0x572)]===_0x46511c(0x40e)&&(!((_0x155c9a=_0xea1df0['children'])===null||_0x155c9a===void 0x0)&&_0x155c9a['length'])?_0x24d9dc(_0x24d9dc({},_0xea1df0),{'children':_0xea1df0[_0x46511c(0x1a9)][_0x46511c(0x2f4)](function(_0x44230f){const _0x36fdc4=_0x46511c;return typeof _0x44230f[_0x36fdc4(0x52d)]['id']==_0x36fdc4(0x1c3)&&_0x3acc03&&_0x3acc03[_0x36fdc4(0x274)](_0x44230f[_0x36fdc4(0x52d)]['id'])>-0x1?_0x24d9dc(_0x24d9dc({},_0x44230f),{'attrs':_0x24d9dc(_0x24d9dc({},_0x44230f[_0x36fdc4(0x52d)]),{'id':_0x44230f['attrs']['id']+_0x5110ec[_0x36fdc4(0x201)]})}):_0x44230f;})}):_0xea1df0;}function _0x4f3398(){const _0x19e9cf=_0x5e0aad;return Math[_0x19e9cf(0x631)]()[_0x19e9cf(0x2dc)](0x24)['substring'](0x2,0x8);}_0xd51590[_0x5e0aad(0x26e)]='UniverIcon';var _0x2f5b66={'tag':_0x5e0aad(0x5fa),'attrs':{'fill':'none','viewBox':_0x5e0aad(0x4be),'width':_0x5e0aad(0x252),'height':_0x5e0aad(0x252)},'children':[{'tag':'g','attrs':{'clipPath':_0x5e0aad(0x5f6)},'children':[{'tag':_0x5e0aad(0x3e8),'attrs':{'stroke':'currentColor','d':_0x5e0aad(0x486),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x5e0aad(0x40e),'attrs':{},'children':[{'tag':_0x5e0aad(0x20d),'attrs':{'id':_0x5e0aad(0x1d4)},'children':[{'tag':_0x5e0aad(0x3e8),'attrs':{'fill':_0x5e0aad(0x2fd),'d':_0x5e0aad(0x4fe)}}]}]}],'defIds':['off-line-single_clip0_910_343']},_0x3c80eb=_0x4f19ed[_0x5e0aad(0x61d)](function(_0x49ef99,_0x2fbf2b){const _0x71fe0e=_0x5e0aad;return _0x4f19ed['createElement'](_0xd51590,Object['assign']({},_0x49ef99,{'id':_0x71fe0e(0x5e9),'ref':_0x2fbf2b,'icon':_0x2f5b66}));});_0x3c80eb['displayName']=_0x5e0aad(0x5e7);var _0x42001e={'tag':'svg','attrs':{'fill':'none','viewBox':_0x5e0aad(0x27c),'width':_0x5e0aad(0x252),'height':_0x5e0aad(0x252)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0x5e0aad(0x580),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x5e0aad(0x461),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x5e0aad(0x40e),'attrs':{},'children':[{'tag':_0x5e0aad(0x20d),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x5e0aad(0x3e8),'attrs':{'fill':_0x5e0aad(0x2fd),'d':'M0\x200H16V16H0z','transform':_0x5e0aad(0x300)}}]}]}],'defIds':[_0x5e0aad(0x5fe)]},_0x3e3880=_0x4f19ed[_0x5e0aad(0x61d)](function(_0x1747a0,_0x39baad){const _0x5cae36=_0x5e0aad;return _0x4f19ed[_0x5cae36(0x3e1)](_0xd51590,Object['assign']({},_0x1747a0,{'id':_0x5cae36(0x3c4),'ref':_0x39baad,'icon':_0x42001e}));});_0x3e3880[_0x5e0aad(0x26e)]='OnLineSingle';function _0x143813(_0x5b1768){const _0x583b5f=_0x5e0aad;var _0x3d621a,_0x244406,_0xcfa92a='';if(typeof _0x5b1768==_0x583b5f(0x1c3)||typeof _0x5b1768=='number')_0xcfa92a+=_0x5b1768;else{if(typeof _0x5b1768==_0x583b5f(0x496)){if(Array[_0x583b5f(0x54b)](_0x5b1768)){var _0xcbf304=_0x5b1768[_0x583b5f(0x1cc)];for(_0x3d621a=0x0;_0x3d621a<_0xcbf304;_0x3d621a++)_0x5b1768[_0x3d621a]&&(_0x244406=_0x143813(_0x5b1768[_0x3d621a]))&&(_0xcfa92a&&(_0xcfa92a+='\x20'),_0xcfa92a+=_0x244406);}else{for(_0x244406 in _0x5b1768)_0x5b1768[_0x244406]&&(_0xcfa92a&&(_0xcfa92a+='\x20'),_0xcfa92a+=_0x244406);}}}return _0xcfa92a;}function _0x2a39c5(){const _0x54b882=_0x5e0aad;for(var _0x1a64ee,_0x2eabaa,_0x3b0a2d=0x0,_0x39eaa1='',_0x4253a4=arguments[_0x54b882(0x1cc)];_0x3b0a2d<_0x4253a4;_0x3b0a2d++)(_0x1a64ee=arguments[_0x3b0a2d])&&(_0x2eabaa=_0x143813(_0x1a64ee))&&(_0x39eaa1&&(_0x39eaa1+='\x20'),_0x39eaa1+=_0x2eabaa);return _0x39eaa1;}const _0x58d0af={'onlineStatusIcon':_0x5e0aad(0x435),'onlineStatusTitle':_0x5e0aad(0x2d8),'onlineStatus':'univer-online-status','online':'univer-online','offline':_0x5e0aad(0x479)};function _0x370854(_0x523525){const _0x4630de=_0x5e0aad;switch(_0x523525){case _0x198fc6['OFFLINE']:return'collabStatus.offline';case _0x198fc6[_0x4630de(0x584)]:return _0x4630de(0x1d8);case _0x198fc6[_0x4630de(0x611)]:return _0x4630de(0x401);case _0x198fc6[_0x4630de(0x313)]:return'collabStatus.notCollab';case _0x198fc6[_0x4630de(0x602)]:case _0x198fc6[_0x4630de(0x1ef)]:return _0x4630de(0x1ff);case _0x198fc6[_0x4630de(0x56f)]:case _0x198fc6[_0x4630de(0x499)]:return _0x4630de(0x25e);}}function _0x5c30ae(_0x3c6b78){const _0x2285e8=_0x5e0aad,{status$:_0x4d4e31}=_0x3c6b78,_0x3a30e1=_0x604b87[_0x2285e8(0x583)](_0x4d4e31,_0x198fc6[_0x2285e8(0x313)]),_0x216493=_0x260eff[_0x2285e8(0x48b)](_0x260eff[_0x2285e8(0x2a3)]),_0x3bf334=_0x260eff[_0x2285e8(0x48b)](_0xc68ebf['CollaborationSessionService']),_0x2f509d=_0x3a30e1!==_0x198fc6[_0x2285e8(0x269)],_0x52a2ce=_0x216493['t'](_0x370854(_0x3a30e1)),_0x2ab37d=_0x2a39c5(_0x58d0af[_0x2285e8(0x392)],{[_0x58d0af[_0x2285e8(0x2c4)]]:_0x2f509d,[_0x58d0af[_0x2285e8(0x296)]]:!_0x2f509d}),_0xb78d1a=_0x2f509d?_0x2c1b5e[_0x2285e8(0x3c9)](_0x3e3880,{}):_0x2c1b5e[_0x2285e8(0x3c9)](_0x3c80eb,{}),_0x1a88af=_0x4f19ed['useCallback'](()=>{const _0x268dea=_0x2285e8;_0x2f509d||_0x3bf334[_0x268dea(0x2a8)]();},[_0x2f509d,_0x3bf334]);function _0x325a78(){const _0x1492dc=_0x2285e8;return _0x2c1b5e[_0x1492dc(0x63e)]('div',{'className':_0x2ab37d,'onClick':_0x1a88af,'children':[_0x2c1b5e['jsx'](_0x1492dc(0x371),{'className':_0x58d0af[_0x1492dc(0x1a7)],'children':_0xb78d1a}),_0x2c1b5e[_0x1492dc(0x3c9)](_0x1492dc(0x371),{'className':_0x58d0af[_0x1492dc(0x2d5)],'children':_0x52a2ce})]});}return _0x2f509d?_0x325a78():_0x2c1b5e['jsx'](_0x5b25cc[_0x2285e8(0x330)],{'title':_0x216493['t'](_0x2285e8(0x28f)),'children':_0x325a78()});}var _0x3766de=Object[_0x5e0aad(0x2e4)],_0x128ec5=Object['getOwnPropertyDescriptor'],_0xff20a5=(_0x25e079,_0x3900d8,_0x290794,_0x276425)=>{const _0x455cde=_0x5e0aad;for(var _0x40f25f=_0x276425>0x1?void 0x0:_0x276425?_0x128ec5(_0x3900d8,_0x290794):_0x3900d8,_0x4bec5d=_0x25e079[_0x455cde(0x1cc)]-0x1,_0x375b6e;_0x4bec5d>=0x0;_0x4bec5d--)(_0x375b6e=_0x25e079[_0x4bec5d])&&(_0x40f25f=(_0x276425?_0x375b6e(_0x3900d8,_0x290794,_0x40f25f):_0x375b6e(_0x40f25f))||_0x40f25f);return _0x276425&&_0x40f25f&&_0x3766de(_0x3900d8,_0x290794,_0x40f25f),_0x40f25f;},_0x288e90=(_0x174692,_0x513a06)=>(_0x21ba66,_0x1a030a)=>_0x513a06(_0x21ba66,_0x1a030a,_0x174692);_0xc68ebf[_0x5e0aad(0x493)]=class extends _0x260eff['Disposable']{constructor(_0x8d44ba,_0x58b521,_0x2a3fa0,_0x449ae6){const _0x194bc6=_0x5e0aad;super(),_0x133e34(this,_0x194bc6(0x231),new _0x543965[(_0x194bc6(0x20b))](_0x198fc6[_0x194bc6(0x313)])),(this[_0x194bc6(0x434)]=_0x8d44ba,this[_0x194bc6(0x2b9)]=_0x58b521,this[_0x194bc6(0x2a2)]=_0x2a3fa0,this[_0x194bc6(0x48d)]=_0x449ae6,this[_0x194bc6(0x1a6)](),this['_initStatusListener']());}['_initStatusListener'](){const _0x18a5d0=_0x5e0aad;this[_0x18a5d0(0x539)](this[_0x18a5d0(0x434)][_0x18a5d0(0x3ec)][_0x18a5d0(0x4f6)](_0x543965[_0x18a5d0(0x3fb)](()=>{const _0x268f3b=_0x18a5d0,_0xaafe56=this[_0x268f3b(0x434)][_0x268f3b(0x24e)]();return _0xaafe56?this[_0x268f3b(0x48d)][_0x268f3b(0x33a)](_0xaafe56['getUnitId']()):_0x543965['of'](null);}),_0x543965[_0x18a5d0(0x3fb)](_0x29f96d=>_0x29f96d?_0x29f96d[_0x18a5d0(0x29b)]:_0x543965['of'](_0x198fc6[_0x18a5d0(0x313)])))[_0x18a5d0(0x19e)](_0x36a0ba=>{const _0x497563=_0x18a5d0;this[_0x497563(0x231)]['next'](_0x36a0ba);}));}[_0x5e0aad(0x1a6)](){const _0x703ede=_0x5e0aad;this['disposeWithMe'](this[_0x703ede(0x2b9)]['registerComponent'](_0x604b87[_0x703ede(0x5bb)][_0x703ede(0x5e1)],()=>_0x260eff[_0x703ede(0x4bc)](_0x415fc9({'status$':this[_0x703ede(0x231)][_0x703ede(0x211)]()}),this[_0x703ede(0x2a2)])));}},_0xc68ebf[_0x5e0aad(0x493)]=_0xff20a5([_0x288e90(0x0,_0x260eff[_0x5e0aad(0x44d)]),_0x288e90(0x1,_0x604b87['IUIPartsService']),_0x288e90(0x2,_0x260eff[_0x5e0aad(0x34e)](_0x260eff[_0x5e0aad(0x263)])),_0x288e90(0x3,_0x260eff[_0x5e0aad(0x34e)](_0xc68ebf[_0x5e0aad(0x414)]))],_0xc68ebf[_0x5e0aad(0x493)]);function _0x415fc9(_0x5e644b){const {status$:_0x214f96}=_0x5e644b;return function(){const _0xe0efed=_0x4e9c;return _0x2c1b5e[_0xe0efed(0x3c9)](_0x5c30ae,{'status$':_0x214f96});};}const _0x464247=_0x260eff[_0x5e0aad(0x640)](_0x5e0aad(0x4ea));var _0x732c5a=Object[_0x5e0aad(0x2e4)],_0x94d627=Object[_0x5e0aad(0x585)],_0x39825e=(_0x1b6a57,_0x3e6d8d,_0x54fca8,_0x5d9e7f)=>{const _0x5aa8f0=_0x5e0aad;for(var _0x440b0c=_0x5d9e7f>0x1?void 0x0:_0x5d9e7f?_0x94d627(_0x3e6d8d,_0x54fca8):_0x3e6d8d,_0x57290b=_0x1b6a57[_0x5aa8f0(0x1cc)]-0x1,_0x16fc5f;_0x57290b>=0x0;_0x57290b--)(_0x16fc5f=_0x1b6a57[_0x57290b])&&(_0x440b0c=(_0x5d9e7f?_0x16fc5f(_0x3e6d8d,_0x54fca8,_0x440b0c):_0x16fc5f(_0x440b0c))||_0x440b0c);return _0x5d9e7f&&_0x440b0c&&_0x732c5a(_0x3e6d8d,_0x54fca8,_0x440b0c),_0x440b0c;},_0x2d3096=(_0x5cddaa,_0x4263f9)=>(_0x14304d,_0x2c7300)=>_0x4263f9(_0x14304d,_0x2c7300,_0x5cddaa);_0xc68ebf['DataLoaderController']=class extends _0x260eff['RxDisposable']{constructor(_0xfd4c79,_0x4f1b21,_0x2268d3,_0xd63873,_0x200966,_0x209bc3){const _0x2f69d5=_0x5e0aad;super(),this[_0x2f69d5(0x440)]=_0xfd4c79,this[_0x2f69d5(0x250)]=_0x4f1b21,this[_0x2f69d5(0x589)]=_0x2268d3,this[_0x2f69d5(0x5bd)]=_0xd63873,this['_snapshotService']=_0x200966,_0x209bc3?_0x209bc3==null||_0x209bc3[_0x2f69d5(0x2d0)]()[_0x2f69d5(0x42c)](()=>this['_init']()):(this[_0x2f69d5(0x250)][_0x2f69d5(0x54f)](_0x2f69d5(0x37c),_0x2f69d5(0x4c6)),this[_0x2f69d5(0x1de)]());}async['_init'](){const _0x488b8e=_0x5e0aad,_0x3b47d9=this[_0x488b8e(0x440)][_0x488b8e(0x5c1)]('unit'),_0x514585=this['_urlService'][_0x488b8e(0x5c1)](_0x488b8e(0x1d1));if(!_0x3b47d9||!_0x514585){this['_logService'][_0x488b8e(0x54f)](_0x488b8e(0x37c),_0x488b8e(0x56d));return;}switch(Number(_0x514585)){case _0x376044[_0x488b8e(0x31f)]:{const _0xe75966=await this[_0x488b8e(0x329)](_0x3b47d9);this['_setupSubUnitSync'](_0xe75966);break;}case _0x376044[_0x488b8e(0x246)]:{await this['_loadDoc'](_0x3b47d9);break;}default:{this[_0x488b8e(0x250)][_0x488b8e(0x346)](_0x488b8e(0x37c),_0x488b8e(0x381));break;}}}async[_0x5e0aad(0x627)](_0x596986){const _0x451a07=_0x5e0aad;await this[_0x451a07(0x37a)](_0x596986),_0x596986[_0x451a07(0x2e9)][_0x451a07(0x4f6)](_0x543965[_0x451a07(0x248)](this[_0x451a07(0x34a)]))[_0x451a07(0x19e)](_0x5687b8=>{const _0x4e52c2=_0x451a07;_0x5687b8&&this[_0x4e52c2(0x5cf)](_0x5687b8);}),this['_urlService'][_0x451a07(0x406)][_0x451a07(0x4f6)](_0x543965[_0x451a07(0x248)](this[_0x451a07(0x34a)]))['subscribe'](()=>this[_0x451a07(0x37a)](_0x596986));}['_updateURLWithCurrentState'](_0x1d2dc3,_0x6abbb9=!0x1){const _0x10dfc6=_0x5e0aad,_0x33a38b=this[_0x10dfc6(0x440)][_0x10dfc6(0x5c1)]('subunit');_0x1d2dc3['getSheetId']()!==_0x33a38b&&this[_0x10dfc6(0x440)]['setParam'](_0x10dfc6(0x290),_0x1d2dc3[_0x10dfc6(0x460)](),_0x6abbb9);}async['_updateSubUnitFromURLParams'](_0x37dc31){const _0x4a1c97=_0x5e0aad;var _0x21a284;const _0x49272c=this[_0x4a1c97(0x440)][_0x4a1c97(0x5c1)](_0x4a1c97(0x290));if(!_0x49272c||!_0x37dc31[_0x4a1c97(0x43b)](_0x49272c)){const _0x5d438c=_0x37dc31[_0x4a1c97(0x574)]()[0x0],_0x3ea29a=_0x37dc31['getSheetBySheetId'](_0x5d438c);if(!_0x3ea29a)return;this[_0x4a1c97(0x5cf)](_0x3ea29a,!0x0),await this[_0x4a1c97(0x589)][_0x4a1c97(0x336)](_0x47516e[_0x4a1c97(0x438)]['id'],{'unitId':_0x37dc31[_0x4a1c97(0x1d7)](),'subUnitId':_0x5d438c});return;}((_0x21a284=_0x37dc31[_0x4a1c97(0x19d)]())==null?void 0x0:_0x21a284['getSheetId']())!==_0x49272c&&await this[_0x4a1c97(0x589)][_0x4a1c97(0x336)](_0x47516e[_0x4a1c97(0x438)]['id'],{'unitId':_0x37dc31[_0x4a1c97(0x1d7)](),'subUnitId':_0x49272c});}async[_0x5e0aad(0x329)](_0x3f78e2){const _0x376cc5=_0x5e0aad;let _0x4620e5=0x0;const _0x5af00d=await this['_localCacheService']['loadOfflineData'](_0x3f78e2);return _0x5af00d&&(_0x5af00d['awaitingChangeset']||_0x5af00d[_0x376cc5(0x3fa)][_0x376cc5(0x1cc)]!==0x0)&&(_0x4620e5=_0x5af00d['rev']),_0x4620e5===0x0&&this[_0x376cc5(0x250)][_0x376cc5(0x54f)](_0x376cc5(0x37c),_0x376cc5(0x3e4)),this[_0x376cc5(0x541)]['loadSheet'](_0x3f78e2,_0x4620e5);}async[_0x5e0aad(0x3bf)](_0x2841b8){const _0xd115fe=_0x5e0aad;let _0x390d67=0x0;const _0x1a9db0=await this[_0xd115fe(0x5bd)][_0xd115fe(0x4ba)](_0x2841b8);return _0x1a9db0&&(_0x1a9db0[_0xd115fe(0x2a9)]||_0x1a9db0['mutations'][_0xd115fe(0x1cc)]!==0x0)&&(_0x390d67=_0x1a9db0[_0xd115fe(0x1c5)]),_0x390d67===0x0&&this[_0xd115fe(0x250)][_0xd115fe(0x54f)](_0xd115fe(0x37c),_0xd115fe(0x3e4)),this[_0xd115fe(0x541)]['loadDoc'](_0x2841b8,_0x390d67);}},_0xc68ebf[_0x5e0aad(0x56b)]=_0x39825e([_0x2d3096(0x0,_0x464247),_0x2d3096(0x1,_0x260eff[_0x5e0aad(0x5a8)]),_0x2d3096(0x2,_0x260eff[_0x5e0aad(0x61f)]),_0x2d3096(0x3,_0x260eff[_0x5e0aad(0x34e)](_0xc68ebf[_0x5e0aad(0x257)])),_0x2d3096(0x4,_0x260eff[_0x5e0aad(0x34e)](_0x11d062[_0x5e0aad(0x213)])),_0x2d3096(0x5,_0x260eff['Optional'](_0x57856c[_0x5e0aad(0x60a)]))],_0xc68ebf['DataLoaderController']);var _0x25b450=Object[_0x5e0aad(0x2e4)],_0x4d4dc4=Object[_0x5e0aad(0x585)],_0x35cf2a=(_0x3b097f,_0x146235,_0x42d06b,_0x43358c)=>{const _0x22ed01=_0x5e0aad;for(var _0x372648=_0x43358c>0x1?void 0x0:_0x43358c?_0x4d4dc4(_0x146235,_0x42d06b):_0x146235,_0x46cdd2=_0x3b097f[_0x22ed01(0x1cc)]-0x1,_0x12feb2;_0x46cdd2>=0x0;_0x46cdd2--)(_0x12feb2=_0x3b097f[_0x46cdd2])&&(_0x372648=(_0x43358c?_0x12feb2(_0x146235,_0x42d06b,_0x372648):_0x12feb2(_0x372648))||_0x372648);return _0x43358c&&_0x372648&&_0x25b450(_0x146235,_0x42d06b,_0x372648),_0x372648;},_0x49d14e=(_0x2f45b8,_0x22a75f)=>(_0x37d5fc,_0x50851c)=>_0x22a75f(_0x37d5fc,_0x50851c,_0x2f45b8);const _0x4d498d='DEFAULT_FILE_NAME',_0x2af213='Univer';let _0x3fb254=class extends _0x260eff[_0x5e0aad(0x2ec)]{constructor(_0x57c418,_0x1adffb){const _0x4fa771=_0x5e0aad;super(),this[_0x4fa771(0x434)]=_0x57c418,this[_0x4fa771(0x350)]=_0x1adffb,this[_0x4fa771(0x1de)]();}[_0x5e0aad(0x1de)](){const _0x2fa51f=_0x5e0aad;this[_0x2fa51f(0x539)](this[_0x2fa51f(0x434)][_0x2fa51f(0x3ec)]['subscribe'](()=>{const _0x3c3a86=_0x2fa51f;var _0x1f0880;const _0x4969be=this[_0x3c3a86(0x434)]['getFocusedUnit']();let _0x8f3819=(_0x1f0880=this[_0x3c3a86(0x350)][_0x3c3a86(0x21b)](_0x4d498d))!=null?_0x1f0880:_0x2af213;_0x4969be instanceof _0x260eff[_0x3c3a86(0x317)]&&(_0x8f3819=_0x4969be[_0x3c3a86(0x3d3)]),document[_0x3c3a86(0x2ab)]=_0x8f3819;}));}};_0x3fb254=_0x35cf2a([_0x49d14e(0x0,_0x260eff[_0x5e0aad(0x44d)]),_0x49d14e(0x1,_0x260eff[_0x5e0aad(0x55e)])],_0x3fb254);var _0x46bc78=Object[_0x5e0aad(0x2e4)],_0x266197=Object['getOwnPropertyDescriptor'],_0x31a199=(_0xda4a07,_0x378bef,_0x5307a9,_0x29c333)=>{const _0x4524d6=_0x5e0aad;for(var _0x18f5a9=_0x29c333>0x1?void 0x0:_0x29c333?_0x266197(_0x378bef,_0x5307a9):_0x378bef,_0x3f5f31=_0xda4a07[_0x4524d6(0x1cc)]-0x1,_0x1dbcd0;_0x3f5f31>=0x0;_0x3f5f31--)(_0x1dbcd0=_0xda4a07[_0x3f5f31])&&(_0x18f5a9=(_0x29c333?_0x1dbcd0(_0x378bef,_0x5307a9,_0x18f5a9):_0x1dbcd0(_0x18f5a9))||_0x18f5a9);return _0x29c333&&_0x18f5a9&&_0x46bc78(_0x378bef,_0x5307a9,_0x18f5a9),_0x18f5a9;},_0x2818b8=(_0x437d54,_0x3e2a0c)=>(_0x3f0218,_0x324609)=>_0x3e2a0c(_0x3f0218,_0x324609,_0x437d54);let _0x461190=class{constructor(_0x24fc0f,_0xa7b6cc,_0x3d10fd){const _0xfc4505=_0x5e0aad;this[_0xfc4505(0x350)]=_0x24fc0f,this[_0xfc4505(0x599)]=_0xa7b6cc,this[_0xfc4505(0x4a0)]=_0x3d10fd,this[_0xfc4505(0x57f)]();}[_0x5e0aad(0x57f)](){const _0x27b817=_0x5e0aad;this[_0x27b817(0x599)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x5f45d4,_0x5e9c01)=>_0x5e9c01(_0x5f45d4)[_0x27b817(0x4f6)](_0x543965[_0x27b817(0x4c4)](async _0x22cbd3=>{const _0x4939ff=_0x27b817,_0x5e23a8=_0x22cbd3;if(_0x5e23a8['status']===0x191&&window['confirm'](this[_0x4939ff(0x4a0)]['t'](_0x4939ff(0x2fc)))){const _0x19b106=window['encodeURIComponent'](window['location'][_0x4939ff(0x53c)]);window[_0x4939ff(0x37d)][_0x4939ff(0x53c)]=this[_0x4939ff(0x564)]()+_0x4939ff(0x226)+_0x19b106;}return _0x5e23a8;}))});}['_getLoginPath'](){const _0x4259c8=_0x5e0aad;var _0x5440e7,_0x2ffcf4;const _0x11b471=this[_0x4259c8(0x350)][_0x4259c8(0x21b)](_0x38bbff),_0x5827b3=this[_0x4259c8(0x350)]['getConfig'](_0x48905f);return(_0x2ffcf4=(_0x5440e7=_0x5827b3==null?void 0x0:_0x5827b3[_0x4259c8(0x2c7)])!=null?_0x5440e7:_0x11b471)!=null?_0x2ffcf4:_0xfc3e4;}};_0x461190=_0x31a199([_0x2818b8(0x0,_0x260eff[_0x5e0aad(0x55e)]),_0x2818b8(0x1,_0x260eff['Inject'](_0x155315['HTTPService'])),_0x2818b8(0x2,_0x260eff[_0x5e0aad(0x34e)](_0x260eff[_0x5e0aad(0x2a3)]))],_0x461190);var _0xe7a4f4=Object[_0x5e0aad(0x2e4)],_0x479261=Object[_0x5e0aad(0x585)],_0xad118e=(_0x2650e9,_0x16651d,_0x4e6790,_0x33ee19)=>{for(var _0x489aeb=_0x33ee19>0x1?void 0x0:_0x33ee19?_0x479261(_0x16651d,_0x4e6790):_0x16651d,_0x34cf0e=_0x2650e9['length']-0x1,_0x39067d;_0x34cf0e>=0x0;_0x34cf0e--)(_0x39067d=_0x2650e9[_0x34cf0e])&&(_0x489aeb=(_0x33ee19?_0x39067d(_0x16651d,_0x4e6790,_0x489aeb):_0x39067d(_0x489aeb))||_0x489aeb);return _0x33ee19&&_0x489aeb&&_0xe7a4f4(_0x16651d,_0x4e6790,_0x489aeb),_0x489aeb;},_0x257051=(_0x1c4a72,_0x3a23ab)=>(_0x37ab1a,_0x37ebbc)=>_0x3a23ab(_0x37ab1a,_0x37ebbc,_0x1c4a72);const _0x1e0a3a=_0x5e0aad(0x4fc),_0x58a26c=_0x5e0aad(0x345);_0xc68ebf['AuthzIoHttpService']=class extends _0x260eff[_0x5e0aad(0x2ec)]{constructor(_0x45e027,_0x3bef35){const _0x4b9a5d=_0x5e0aad;super(),this[_0x4b9a5d(0x45c)]=_0x45e027,this[_0x4b9a5d(0x350)]=_0x3bef35,this[_0x4b9a5d(0x21c)]();}[_0x5e0aad(0x21c)](){const _0x315e61=_0x5e0aad,_0x4af9dd=this;this[_0x315e61(0x539)](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x155315[_0x315e61(0x46f)]({'isMatch'(_0x596070){const _0x4483c9=_0x315e61;var _0x6fca61;if(_0x596070[_0x4483c9(0x442)]===_0x4483c9(0x333)&&((_0x6fca61=_0x596070[_0x4483c9(0x26a)])!=null&&_0x6fca61['body'])){const {objectID:_0x4c033b,objectType:_0x423eac}=_0x596070[_0x4483c9(0x26a)][_0x4483c9(0x1e8)]||{};if(!_0x4c033b||_0x423eac===void 0x0)return!0x1;const _0xa018ad=_0x4af9dd[_0x4483c9(0x22c)]()+'/'+_0x423eac+'/object/'+_0x4c033b+_0x4483c9(0x488);if(_0x596070[_0x4483c9(0x642)]===_0xa018ad)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x19de38){const _0x325b9c=_0x315e61;var _0x4b1ed2;return(_0x4b1ed2=_0x19de38[_0x325b9c(0x26a)])==null?void 0x0:_0x4b1ed2['body'];},'mergeParamsToRequest'(_0x5664e9,_0x5bfda1){const _0x2bd438=_0x315e61,_0x5cfcfe=_0x4af9dd['_getAPIPrefixPath']()+_0x2bd438(0x3ea),_0x37d21e=_0x5664e9[_0x2bd438(0x1ec)]((_0x4eec97,_0x18c543)=>{const {unitID:_0x5d7acf,objectID:_0x453ace,objectType:_0x17119b,actions:_0x2c1eb2}=_0x18c543;return _0x4eec97[_0x5d7acf]||(_0x4eec97[_0x5d7acf]={}),_0x4eec97[_0x5d7acf][_0x453ace]||(_0x4eec97[_0x5d7acf][_0x453ace]={'objectID':_0x453ace,'objectType':_0x17119b,'actions':[]}),_0x4eec97[_0x5d7acf][_0x453ace]['actions']['push'](..._0x2c1eb2),_0x4eec97;},{}),_0x4b7fca=[];for(const _0x41f9a9 in _0x37d21e)for(const _0x359971 in _0x37d21e[_0x41f9a9]){const {actions:_0x33c7c2,objectType:_0x21db07}=_0x37d21e[_0x41f9a9][_0x359971],_0x4fbc42=[...new Set(_0x33c7c2)];_0x4b7fca[_0x2bd438(0x616)]({'unitID':_0x41f9a9,'objectID':_0x359971,'objectType':_0x21db07,'actions':_0x4fbc42});}return new _0x155315[(_0x2bd438(0x410))](_0x2bd438(0x333),_0x5cfcfe,{'headers':_0x5bfda1[_0x2bd438(0x3d1)],'withCredentials':_0x5bfda1[_0x2bd438(0x20e)],'responseType':_0x5bfda1[_0x2bd438(0x218)],'body':{'requests':_0x4b7fca}});}},{'distributeResult'(_0x5e2bc1,_0x253ebd){const _0x1dd538=_0x315e61,{objectActions:_0x16907c}=_0x5e2bc1;return _0x253ebd[_0x1dd538(0x2f4)](_0xc0e876=>{const _0xc1ee7b=_0x1dd538,{unitID:_0x2f5654,objectID:_0x453aaf,actions:_0xd75f4b}=_0xc0e876,_0x2a177b=_0x16907c[_0xc1ee7b(0x3da)](_0xced833=>_0xced833[_0xc1ee7b(0x605)]===_0x2f5654&&_0xced833[_0xc1ee7b(0x214)]===_0x453aaf),_0x1ff6bf=_0xd75f4b['map'](_0x207cfe=>_0x2a177b==null?void 0x0:_0x2a177b['actions'][_0xc1ee7b(0x3da)](_0x44edc7=>_0x44edc7[_0xc1ee7b(0x27b)]===_0x207cfe))[_0xc1ee7b(0x2d9)](_0xf2beda=>!!_0xf2beda);return{'config':_0xc0e876,'result':{'actions':_0x1ff6bf,'error':_0x5e2bc1[_0xc1ee7b(0x346)]}};});}})}));}[_0x5e0aad(0x22c)](){const _0x1d7958=_0x5e0aad;var _0x227784,_0x2cb50a;const _0x586f58=this[_0x1d7958(0x350)][_0x1d7958(0x21b)](_0x1e0a3a),_0x3c71a2=this[_0x1d7958(0x350)][_0x1d7958(0x21b)](_0x48905f);return(_0x2cb50a=(_0x227784=_0x3c71a2==null?void 0x0:_0x3c71a2[_0x1d7958(0x4f8)])!=null?_0x227784:_0x586f58)!=null?_0x2cb50a:_0x58a26c;}async['create'](_0x119adf){const _0x59de2e=_0x5e0aad,_0xc87d0=this[_0x59de2e(0x22c)]()+'/'+_0x119adf[_0x59de2e(0x249)]+_0x59de2e(0x2db);return(await this[_0x59de2e(0x45c)][_0x59de2e(0x2d3)](_0xc87d0,{'body':_0x119adf}))[_0x59de2e(0x1e8)][_0x59de2e(0x214)]||'';}async[_0x5e0aad(0x4f1)](_0x561f76){const _0x12ae6b=_0x5e0aad,_0x4d3545=this[_0x12ae6b(0x22c)]()+_0x12ae6b(0x5a6);return(await this['_HTTPService'][_0x12ae6b(0x2d3)](_0x4d3545,{'body':_0x561f76}))[_0x12ae6b(0x1e8)][_0x12ae6b(0x5c9)];}async[_0x5e0aad(0x3c6)](_0x45074c){const _0x309d11=_0x5e0aad,_0x33028c=this[_0x309d11(0x22c)]()+'/'+_0x45074c[_0x309d11(0x249)]+_0x309d11(0x23d)+_0x45074c[_0x309d11(0x214)];await this[_0x309d11(0x45c)][_0x309d11(0x39e)](_0x33028c,{'body':_0x45074c});}async[_0x5e0aad(0x299)](_0x1e2196){const _0x1e4cff=_0x5e0aad,_0x104dfc=this['_getAPIPrefixPath']()+'/'+_0x1e2196[_0x1e4cff(0x249)]+_0x1e4cff(0x23d)+_0x1e2196[_0x1e4cff(0x214)]+_0x1e4cff(0x488);return(await this[_0x1e4cff(0x45c)][_0x1e4cff(0x2d3)](_0x104dfc,{'body':_0x1e2196}))[_0x1e4cff(0x1e8)]['actions'];}async[_0x5e0aad(0x22d)](_0x1dc6cd){const _0x3025ff=_0x5e0aad,_0x45cb45=this[_0x3025ff(0x22c)]()+_0x3025ff(0x3ea);return(await this[_0x3025ff(0x45c)]['post'](_0x45cb45,{'body':{'requests':_0x1dc6cd}}))[_0x3025ff(0x1e8)]['objectActions'];}async['listRoles'](_0x28ca4f){const _0xd199cd=_0x5e0aad,_0x2489d7=this[_0xd199cd(0x22c)]()+'/'+_0x28ca4f['objectType']+'/role',_0x57c8d9=await this[_0xd199cd(0x45c)][_0xd199cd(0x2d3)](_0x2489d7,{'body':_0x28ca4f});return{'roles':_0x57c8d9[_0xd199cd(0x1e8)][_0xd199cd(0x34d)],'actions':_0x57c8d9[_0xd199cd(0x1e8)][_0xd199cd(0x3d6)]};}async[_0x5e0aad(0x439)](_0x249990){const _0x33d00b=_0x5e0aad,_0x59fadc=this[_0x33d00b(0x22c)]()+_0x33d00b(0x22b);await this['_HTTPService'][_0x33d00b(0x516)](_0x59fadc,{'params':{'collaboratorID':_0x249990[_0x33d00b(0x1e0)],'objectID':_0x249990[_0x33d00b(0x214)],'unitID':_0x249990[_0x33d00b(0x605)]}});}async['updateCollaborator'](_0x3dc0f1){const _0x2f1e54=_0x5e0aad,_0xd8c7f=this['_getAPIPrefixPath']()+_0x2f1e54(0x22b);await this[_0x2f1e54(0x45c)]['patch'](_0xd8c7f,{'body':_0x3dc0f1});}async[_0x5e0aad(0x261)](_0x130271){const _0x48ff4c=_0x5e0aad,_0x1aeecd=this['_getAPIPrefixPath']()+_0x48ff4c(0x22b);await this[_0x48ff4c(0x45c)]['post'](_0x1aeecd,{'body':_0x130271});}async['listCollaborators'](_0x4c5ac5){const _0x48a05c=_0x5e0aad,_0x5781f1=this[_0x48a05c(0x22c)]()+_0x48a05c(0x22b);return(await this[_0x48a05c(0x45c)][_0x48a05c(0x391)](_0x5781f1,{'params':{'objectID':_0x4c5ac5[_0x48a05c(0x214)],'unitID':_0x4c5ac5['unitID']}}))[_0x48a05c(0x1e8)][_0x48a05c(0x595)];}async[_0x5e0aad(0x648)](_0xf23653){const _0x4759df=_0x5e0aad,_0x59df9a=this[_0x4759df(0x22c)]()+'/collaborator';await this[_0x4759df(0x45c)][_0x4759df(0x39e)](_0x59df9a,{'body':_0xf23653});}},_0xc68ebf[_0x5e0aad(0x208)]=_0xad118e([_0x257051(0x0,_0x260eff[_0x5e0aad(0x34e)](_0x155315[_0x5e0aad(0x522)])),_0x257051(0x1,_0x260eff[_0x5e0aad(0x34e)](_0x260eff['IConfigService']))],_0xc68ebf['AuthzIoHttpService']);var _0x276523={'exports':{}};function _0x1b3243(_0x4dade9){const _0x214d63=_0x5e0aad;throw new Error(_0x214d63(0x55f)+_0x4dade9+_0x214d63(0x32f));}var _0x4a2e3b={'exports':{}},_0x1c68c3;function _0x58ec59(){return _0x1c68c3||(_0x1c68c3=0x1,function(_0x41ca28,_0x3889de){(function(_0x33f217,_0x484f12){const _0x4188b1=_0x4e9c;_0x41ca28[_0x4188b1(0x4d6)]=_0x484f12();}(_0x2efbf9,function(){var _0x223cde=_0x223cde||function(_0x4834cb,_0x49ee8e){const _0x2da802=_0x4e9c;var _0x2f75c9;if(typeof window<'u'&&window[_0x2da802(0x46a)]&&(_0x2f75c9=window[_0x2da802(0x46a)]),typeof self<'u'&&self[_0x2da802(0x46a)]&&(_0x2f75c9=self[_0x2da802(0x46a)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x2f75c9=globalThis[_0x2da802(0x46a)]),!_0x2f75c9&&typeof window<'u'&&window[_0x2da802(0x279)]&&(_0x2f75c9=window[_0x2da802(0x279)]),!_0x2f75c9&&typeof _0x2efbf9<'u'&&_0x2efbf9[_0x2da802(0x46a)]&&(_0x2f75c9=_0x2efbf9[_0x2da802(0x46a)]),!_0x2f75c9&&typeof _0x1b3243==_0x2da802(0x525))try{_0x2f75c9=require('crypto');}catch{}var _0x210250=function(){const _0x4d15fc=_0x2da802;if(_0x2f75c9){if(typeof _0x2f75c9[_0x4d15fc(0x400)]==_0x4d15fc(0x525))try{return _0x2f75c9[_0x4d15fc(0x400)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2f75c9['randomBytes']==_0x4d15fc(0x525))try{return _0x2f75c9[_0x4d15fc(0x39c)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x4146f0=Object[_0x2da802(0x3a7)]||(function(){function _0x5cfddc(){}return function(_0x3a9a3a){const _0x43c1cf=_0x4e9c;var _0x53f2a3;return _0x5cfddc[_0x43c1cf(0x387)]=_0x3a9a3a,_0x53f2a3=new _0x5cfddc(),_0x5cfddc['prototype']=null,_0x53f2a3;};}()),_0x166637={},_0x16cdc0=_0x166637[_0x2da802(0x540)]={},_0x1136aa=_0x16cdc0[_0x2da802(0x2f6)]=(function(){return{'extend':function(_0x5bb55c){const _0x429ea8=_0x4e9c;var _0x864339=_0x4146f0(this);return _0x5bb55c&&_0x864339[_0x429ea8(0x1a4)](_0x5bb55c),(!_0x864339[_0x429ea8(0x1f4)](_0x429ea8(0x57f))||this[_0x429ea8(0x57f)]===_0x864339[_0x429ea8(0x57f)])&&(_0x864339['init']=function(){const _0x30bf92=_0x429ea8;_0x864339['$super'][_0x30bf92(0x57f)][_0x30bf92(0x326)](this,arguments);}),_0x864339['init'][_0x429ea8(0x387)]=_0x864339,_0x864339[_0x429ea8(0x204)]=this,_0x864339;},'create':function(){const _0x63f70f=_0x4e9c;var _0x407cc2=this[_0x63f70f(0x26d)]();return _0x407cc2[_0x63f70f(0x57f)][_0x63f70f(0x326)](_0x407cc2,arguments),_0x407cc2;},'init':function(){},'mixIn':function(_0x12df7d){const _0x201019=_0x4e9c;for(var _0x1be76b in _0x12df7d)_0x12df7d[_0x201019(0x1f4)](_0x1be76b)&&(this[_0x1be76b]=_0x12df7d[_0x1be76b]);_0x12df7d[_0x201019(0x1f4)]('toString')&&(this[_0x201019(0x2dc)]=_0x12df7d[_0x201019(0x2dc)]);},'clone':function(){const _0x1570d9=_0x4e9c;return this[_0x1570d9(0x57f)][_0x1570d9(0x387)][_0x1570d9(0x26d)](this);}};}()),_0x5b1caa=_0x16cdc0['WordArray']=_0x1136aa['extend']({'init':function(_0xbfff6f,_0x18057b){const _0x406a45=_0x2da802;_0xbfff6f=this[_0x406a45(0x35a)]=_0xbfff6f||[],_0x18057b!=_0x49ee8e?this[_0x406a45(0x4f0)]=_0x18057b:this[_0x406a45(0x4f0)]=_0xbfff6f[_0x406a45(0x1cc)]*0x4;},'toString':function(_0x412363){const _0x41960d=_0x2da802;return(_0x412363||_0x22258e)[_0x41960d(0x4b8)](this);},'concat':function(_0xb27bc2){const _0xcedd52=_0x2da802;var _0x533d18=this[_0xcedd52(0x35a)],_0x74e804=_0xb27bc2[_0xcedd52(0x35a)],_0x663687=this['sigBytes'],_0x5a7bbf=_0xb27bc2['sigBytes'];if(this[_0xcedd52(0x5ba)](),_0x663687%0x4)for(var _0x4020d9=0x0;_0x4020d9<_0x5a7bbf;_0x4020d9++){var _0x2b3d9d=_0x74e804[_0x4020d9>>>0x2]>>>0x18-_0x4020d9%0x4*0x8&0xff;_0x533d18[_0x663687+_0x4020d9>>>0x2]|=_0x2b3d9d<<0x18-(_0x663687+_0x4020d9)%0x4*0x8;}else{for(var _0x4cdb97=0x0;_0x4cdb97<_0x5a7bbf;_0x4cdb97+=0x4)_0x533d18[_0x663687+_0x4cdb97>>>0x2]=_0x74e804[_0x4cdb97>>>0x2];}return this[_0xcedd52(0x4f0)]+=_0x5a7bbf,this;},'clamp':function(){const _0x3a1ac9=_0x2da802;var _0x3cfd71=this[_0x3a1ac9(0x35a)],_0x11e239=this[_0x3a1ac9(0x4f0)];_0x3cfd71[_0x11e239>>>0x2]&=0xffffffff<<0x20-_0x11e239%0x4*0x8,_0x3cfd71[_0x3a1ac9(0x1cc)]=_0x4834cb[_0x3a1ac9(0x372)](_0x11e239/0x4);},'clone':function(){const _0x14b74a=_0x2da802;var _0x499421=_0x1136aa[_0x14b74a(0x5d6)][_0x14b74a(0x35e)](this);return _0x499421['words']=this[_0x14b74a(0x35a)][_0x14b74a(0x562)](0x0),_0x499421;},'random':function(_0x2bc237){const _0x406f63=_0x2da802;for(var _0xc9d5c=[],_0xf52214=0x0;_0xf52214<_0x2bc237;_0xf52214+=0x4)_0xc9d5c[_0x406f63(0x616)](_0x210250());return new _0x5b1caa[(_0x406f63(0x57f))](_0xc9d5c,_0x2bc237);}}),_0x4f49e1=_0x166637[_0x2da802(0x2c2)]={},_0x22258e=_0x4f49e1[_0x2da802(0x305)]={'stringify':function(_0x2a1de9){const _0x471959=_0x2da802;for(var _0x507d3b=_0x2a1de9[_0x471959(0x35a)],_0x304a8b=_0x2a1de9['sigBytes'],_0x1b1284=[],_0x1db62e=0x0;_0x1db62e<_0x304a8b;_0x1db62e++){var _0x6a602a=_0x507d3b[_0x1db62e>>>0x2]>>>0x18-_0x1db62e%0x4*0x8&0xff;_0x1b1284[_0x471959(0x616)]((_0x6a602a>>>0x4)[_0x471959(0x2dc)](0x10)),_0x1b1284['push']((_0x6a602a&0xf)['toString'](0x10));}return _0x1b1284[_0x471959(0x3a5)]('');},'parse':function(_0x4f1b1b){const _0x598584=_0x2da802;for(var _0xbc1e1f=_0x4f1b1b[_0x598584(0x1cc)],_0x1d8e63=[],_0xbb6074=0x0;_0xbb6074<_0xbc1e1f;_0xbb6074+=0x2)_0x1d8e63[_0xbb6074>>>0x3]|=parseInt(_0x4f1b1b[_0x598584(0x375)](_0xbb6074,0x2),0x10)<<0x18-_0xbb6074%0x8*0x4;return new _0x5b1caa[(_0x598584(0x57f))](_0x1d8e63,_0xbc1e1f/0x2);}},_0x1e5e92=_0x4f49e1['Latin1']={'stringify':function(_0x1666b6){const _0xf7f9e5=_0x2da802;for(var _0x503e70=_0x1666b6['words'],_0x47c588=_0x1666b6['sigBytes'],_0xc07823=[],_0x30a1aa=0x0;_0x30a1aa<_0x47c588;_0x30a1aa++){var _0xd28add=_0x503e70[_0x30a1aa>>>0x2]>>>0x18-_0x30a1aa%0x4*0x8&0xff;_0xc07823[_0xf7f9e5(0x616)](String[_0xf7f9e5(0x51e)](_0xd28add));}return _0xc07823[_0xf7f9e5(0x3a5)]('');},'parse':function(_0x3f3b75){const _0x281a57=_0x2da802;for(var _0x19cfb1=_0x3f3b75['length'],_0x4ab9f4=[],_0x19c2fc=0x0;_0x19c2fc<_0x19cfb1;_0x19c2fc++)_0x4ab9f4[_0x19c2fc>>>0x2]|=(_0x3f3b75['charCodeAt'](_0x19c2fc)&0xff)<<0x18-_0x19c2fc%0x4*0x8;return new _0x5b1caa[(_0x281a57(0x57f))](_0x4ab9f4,_0x19cfb1);}},_0x5616b9=_0x4f49e1[_0x2da802(0x4ad)]={'stringify':function(_0x165baf){const _0xddf368=_0x2da802;try{return decodeURIComponent(escape(_0x1e5e92[_0xddf368(0x4b8)](_0x165baf)));}catch{throw new Error(_0xddf368(0x636));}},'parse':function(_0x532938){const _0x340c43=_0x2da802;return _0x1e5e92[_0x340c43(0x42e)](unescape(encodeURIComponent(_0x532938)));}},_0x4a28f2=_0x16cdc0[_0x2da802(0x324)]=_0x1136aa[_0x2da802(0x26d)]({'reset':function(){const _0x4df96e=_0x2da802;this[_0x4df96e(0x4c3)]=new _0x5b1caa[(_0x4df96e(0x57f))](),this[_0x4df96e(0x236)]=0x0;},'_append':function(_0x571687){const _0x5f0944=_0x2da802;typeof _0x571687==_0x5f0944(0x1c3)&&(_0x571687=_0x5616b9[_0x5f0944(0x42e)](_0x571687)),this['_data'][_0x5f0944(0x476)](_0x571687),this['_nDataBytes']+=_0x571687['sigBytes'];},'_process':function(_0xe46f97){const _0x5c75f8=_0x2da802;var _0x47e8b2,_0x4b3bcd=this[_0x5c75f8(0x4c3)],_0x1c1667=_0x4b3bcd[_0x5c75f8(0x35a)],_0x5becf5=_0x4b3bcd['sigBytes'],_0x576688=this[_0x5c75f8(0x620)],_0x5b2700=_0x576688*0x4,_0x4f281d=_0x5becf5/_0x5b2700;_0xe46f97?_0x4f281d=_0x4834cb[_0x5c75f8(0x372)](_0x4f281d):_0x4f281d=_0x4834cb['max']((_0x4f281d|0x0)-this['_minBufferSize'],0x0);var _0x1008ac=_0x4f281d*_0x576688,_0x15f9f4=_0x4834cb['min'](_0x1008ac*0x4,_0x5becf5);if(_0x1008ac){for(var _0x26371b=0x0;_0x26371b<_0x1008ac;_0x26371b+=_0x576688)this[_0x5c75f8(0x557)](_0x1c1667,_0x26371b);_0x47e8b2=_0x1c1667[_0x5c75f8(0x318)](0x0,_0x1008ac),_0x4b3bcd[_0x5c75f8(0x4f0)]-=_0x15f9f4;}return new _0x5b1caa[(_0x5c75f8(0x57f))](_0x47e8b2,_0x15f9f4);},'clone':function(){const _0x5a1148=_0x2da802;var _0x5e6977=_0x1136aa[_0x5a1148(0x5d6)][_0x5a1148(0x35e)](this);return _0x5e6977[_0x5a1148(0x4c3)]=this[_0x5a1148(0x4c3)][_0x5a1148(0x5d6)](),_0x5e6977;},'_minBufferSize':0x0});_0x16cdc0[_0x2da802(0x458)]=_0x4a28f2['extend']({'cfg':_0x1136aa[_0x2da802(0x26d)](),'init':function(_0x126bf9){const _0x3c5e3a=_0x2da802;this[_0x3c5e3a(0x3ed)]=this[_0x3c5e3a(0x3ed)]['extend'](_0x126bf9),this[_0x3c5e3a(0x4ec)]();},'reset':function(){const _0x427739=_0x2da802;_0x4a28f2[_0x427739(0x4ec)][_0x427739(0x35e)](this),this['_doReset']();},'update':function(_0xae5a77){const _0x1dfa03=_0x2da802;return this[_0x1dfa03(0x2ca)](_0xae5a77),this[_0x1dfa03(0x366)](),this;},'finalize':function(_0x410c9b){const _0x1388d2=_0x2da802;_0x410c9b&&this[_0x1388d2(0x2ca)](_0x410c9b);var _0x30ff2a=this[_0x1388d2(0x448)]();return _0x30ff2a;},'blockSize':0x10,'_createHelper':function(_0x55c8da){return function(_0x1f270a,_0x2cccc0){const _0xe31235=_0x4e9c;return new _0x55c8da[(_0xe31235(0x57f))](_0x2cccc0)[_0xe31235(0x5c3)](_0x1f270a);};},'_createHmacHelper':function(_0x5cbf9f){return function(_0x2c79ec,_0xf51a0c){const _0xd547c=_0x4e9c;return new _0x1d6bb3[(_0xd547c(0x272))][(_0xd547c(0x57f))](_0x5cbf9f,_0xf51a0c)['finalize'](_0x2c79ec);};}});var _0x1d6bb3=_0x166637[_0x2da802(0x2f5)]={};return _0x166637;}(Math);return _0x223cde;}));}(_0x4a2e3b)),_0x4a2e3b['exports'];}var _0x1a9129={'exports':{}},_0x4bae46;function _0x12ed54(){const _0x3a4b88=_0x5e0aad;return _0x4bae46||(_0x4bae46=0x1,function(_0x4a80da,_0x29ffb0){(function(_0x4854a3,_0x5a39fc){const _0x26223a=_0x4e9c;_0x4a80da[_0x26223a(0x4d6)]=_0x5a39fc(_0x58ec59());}(_0x2efbf9,function(_0x58bac6){const _0x5a0a40=_0x4e9c;return(function(){const _0x50dadb=_0x4e9c;var _0x11d29c=_0x58bac6,_0xb9683e=_0x11d29c[_0x50dadb(0x540)],_0x4b65d3=_0xb9683e[_0x50dadb(0x3b1)],_0x53b20c=_0x11d29c[_0x50dadb(0x2c2)];_0x53b20c[_0x50dadb(0x38a)]={'stringify':function(_0x4b427f){const _0x3ef70e=_0x50dadb;var _0x65323d=_0x4b427f['words'],_0xaba28d=_0x4b427f[_0x3ef70e(0x4f0)],_0x2b5c0f=this[_0x3ef70e(0x197)];_0x4b427f[_0x3ef70e(0x5ba)]();for(var _0x4923c7=[],_0x32ed7b=0x0;_0x32ed7b<_0xaba28d;_0x32ed7b+=0x3)for(var _0x2a5e68=_0x65323d[_0x32ed7b>>>0x2]>>>0x18-_0x32ed7b%0x4*0x8&0xff,_0x49b84f=_0x65323d[_0x32ed7b+0x1>>>0x2]>>>0x18-(_0x32ed7b+0x1)%0x4*0x8&0xff,_0x2cd154=_0x65323d[_0x32ed7b+0x2>>>0x2]>>>0x18-(_0x32ed7b+0x2)%0x4*0x8&0xff,_0x13929a=_0x2a5e68<<0x10|_0x49b84f<<0x8|_0x2cd154,_0x294e91=0x0;_0x294e91<0x4&&_0x32ed7b+_0x294e91*0.75<_0xaba28d;_0x294e91++)_0x4923c7[_0x3ef70e(0x616)](_0x2b5c0f[_0x3ef70e(0x20a)](_0x13929a>>>0x6*(0x3-_0x294e91)&0x3f));var _0x51eec5=_0x2b5c0f[_0x3ef70e(0x20a)](0x40);if(_0x51eec5){for(;_0x4923c7['length']%0x4;)_0x4923c7[_0x3ef70e(0x616)](_0x51eec5);}return _0x4923c7[_0x3ef70e(0x3a5)]('');},'parse':function(_0x117ef0){const _0x5d7064=_0x50dadb;var _0x5c1692=_0x117ef0['length'],_0x8028ac=this[_0x5d7064(0x197)],_0x189916=this[_0x5d7064(0x3de)];if(!_0x189916){_0x189916=this[_0x5d7064(0x3de)]=[];for(var _0x22f8a1=0x0;_0x22f8a1<_0x8028ac['length'];_0x22f8a1++)_0x189916[_0x8028ac['charCodeAt'](_0x22f8a1)]=_0x22f8a1;}var _0x2347bb=_0x8028ac[_0x5d7064(0x20a)](0x40);if(_0x2347bb){var _0x57dcf0=_0x117ef0[_0x5d7064(0x274)](_0x2347bb);_0x57dcf0!==-0x1&&(_0x5c1692=_0x57dcf0);}return _0x4ea568(_0x117ef0,_0x5c1692,_0x189916);},'_map':_0x50dadb(0x49a)};function _0x4ea568(_0x4bdbea,_0x20c2e4,_0xecf1b4){const _0x14d363=_0x50dadb;for(var _0x4c31d9=[],_0x520ce3=0x0,_0x5d8fc8=0x0;_0x5d8fc8<_0x20c2e4;_0x5d8fc8++)if(_0x5d8fc8%0x4){var _0x32ccb4=_0xecf1b4[_0x4bdbea['charCodeAt'](_0x5d8fc8-0x1)]<<_0x5d8fc8%0x4*0x2,_0x1d9daa=_0xecf1b4[_0x4bdbea['charCodeAt'](_0x5d8fc8)]>>>0x6-_0x5d8fc8%0x4*0x2,_0x4f03bc=_0x32ccb4|_0x1d9daa;_0x4c31d9[_0x520ce3>>>0x2]|=_0x4f03bc<<0x18-_0x520ce3%0x4*0x8,_0x520ce3++;}return _0x4b65d3[_0x14d363(0x3a7)](_0x4c31d9,_0x520ce3);}}()),_0x58bac6[_0x5a0a40(0x2c2)][_0x5a0a40(0x38a)];}));}(_0x1a9129)),_0x1a9129[_0x3a4b88(0x4d6)];}var _0x1625a4={'exports':{}},_0x160e60;function _0xb311e8(){const _0x406df8=_0x5e0aad;return _0x160e60||(_0x160e60=0x1,function(_0x207bee,_0x57792e){(function(_0x3a5389,_0x319081){_0x207bee['exports']=_0x319081(_0x58ec59());}(_0x2efbf9,function(_0x13fc45){const _0x517abb=_0x4e9c;return function(_0xf0663){const _0x3c4cd9=_0x4e9c;var _0x289c23=_0x13fc45,_0x118465=_0x289c23[_0x3c4cd9(0x540)],_0x5b81a6=_0x118465[_0x3c4cd9(0x3b1)],_0x10ed28=_0x118465['Hasher'],_0x522382=_0x289c23['algo'],_0x3dc07c=[];(function(){const _0x49189f=_0x3c4cd9;for(var _0x282d87=0x0;_0x282d87<0x40;_0x282d87++)_0x3dc07c[_0x282d87]=_0xf0663['abs'](_0xf0663[_0x49189f(0x223)](_0x282d87+0x1))*0x100000000|0x0;}());var _0x1f2bc4=_0x522382[_0x3c4cd9(0x4c0)]=_0x10ed28['extend']({'_doReset':function(){const _0x542cf4=_0x3c4cd9;this[_0x542cf4(0x1f8)]=new _0x5b81a6['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x133ec6,_0xa8b6d7){const _0x474b2a=_0x3c4cd9;for(var _0x4b67ea=0x0;_0x4b67ea<0x10;_0x4b67ea++){var _0x1d142e=_0xa8b6d7+_0x4b67ea,_0x46ae1e=_0x133ec6[_0x1d142e];_0x133ec6[_0x1d142e]=(_0x46ae1e<<0x8|_0x46ae1e>>>0x18)&0xff00ff|(_0x46ae1e<<0x18|_0x46ae1e>>>0x8)&0xff00ff00;}var _0xa53ad6=this[_0x474b2a(0x1f8)][_0x474b2a(0x35a)],_0x1b2f77=_0x133ec6[_0xa8b6d7+0x0],_0x199171=_0x133ec6[_0xa8b6d7+0x1],_0x4b1e3b=_0x133ec6[_0xa8b6d7+0x2],_0x5817aa=_0x133ec6[_0xa8b6d7+0x3],_0x1d1512=_0x133ec6[_0xa8b6d7+0x4],_0x10a3b4=_0x133ec6[_0xa8b6d7+0x5],_0x969445=_0x133ec6[_0xa8b6d7+0x6],_0x1a8c75=_0x133ec6[_0xa8b6d7+0x7],_0x4e0d15=_0x133ec6[_0xa8b6d7+0x8],_0x49489d=_0x133ec6[_0xa8b6d7+0x9],_0x73ca20=_0x133ec6[_0xa8b6d7+0xa],_0x12f1fb=_0x133ec6[_0xa8b6d7+0xb],_0xef8f4d=_0x133ec6[_0xa8b6d7+0xc],_0x17a835=_0x133ec6[_0xa8b6d7+0xd],_0x20274f=_0x133ec6[_0xa8b6d7+0xe],_0x11900a=_0x133ec6[_0xa8b6d7+0xf],_0x50cabb=_0xa53ad6[0x0],_0x5c3ec1=_0xa53ad6[0x1],_0x40042c=_0xa53ad6[0x2],_0x148572=_0xa53ad6[0x3];_0x50cabb=_0x30e274(_0x50cabb,_0x5c3ec1,_0x40042c,_0x148572,_0x1b2f77,0x7,_0x3dc07c[0x0]),_0x148572=_0x30e274(_0x148572,_0x50cabb,_0x5c3ec1,_0x40042c,_0x199171,0xc,_0x3dc07c[0x1]),_0x40042c=_0x30e274(_0x40042c,_0x148572,_0x50cabb,_0x5c3ec1,_0x4b1e3b,0x11,_0x3dc07c[0x2]),_0x5c3ec1=_0x30e274(_0x5c3ec1,_0x40042c,_0x148572,_0x50cabb,_0x5817aa,0x16,_0x3dc07c[0x3]),_0x50cabb=_0x30e274(_0x50cabb,_0x5c3ec1,_0x40042c,_0x148572,_0x1d1512,0x7,_0x3dc07c[0x4]),_0x148572=_0x30e274(_0x148572,_0x50cabb,_0x5c3ec1,_0x40042c,_0x10a3b4,0xc,_0x3dc07c[0x5]),_0x40042c=_0x30e274(_0x40042c,_0x148572,_0x50cabb,_0x5c3ec1,_0x969445,0x11,_0x3dc07c[0x6]),_0x5c3ec1=_0x30e274(_0x5c3ec1,_0x40042c,_0x148572,_0x50cabb,_0x1a8c75,0x16,_0x3dc07c[0x7]),_0x50cabb=_0x30e274(_0x50cabb,_0x5c3ec1,_0x40042c,_0x148572,_0x4e0d15,0x7,_0x3dc07c[0x8]),_0x148572=_0x30e274(_0x148572,_0x50cabb,_0x5c3ec1,_0x40042c,_0x49489d,0xc,_0x3dc07c[0x9]),_0x40042c=_0x30e274(_0x40042c,_0x148572,_0x50cabb,_0x5c3ec1,_0x73ca20,0x11,_0x3dc07c[0xa]),_0x5c3ec1=_0x30e274(_0x5c3ec1,_0x40042c,_0x148572,_0x50cabb,_0x12f1fb,0x16,_0x3dc07c[0xb]),_0x50cabb=_0x30e274(_0x50cabb,_0x5c3ec1,_0x40042c,_0x148572,_0xef8f4d,0x7,_0x3dc07c[0xc]),_0x148572=_0x30e274(_0x148572,_0x50cabb,_0x5c3ec1,_0x40042c,_0x17a835,0xc,_0x3dc07c[0xd]),_0x40042c=_0x30e274(_0x40042c,_0x148572,_0x50cabb,_0x5c3ec1,_0x20274f,0x11,_0x3dc07c[0xe]),_0x5c3ec1=_0x30e274(_0x5c3ec1,_0x40042c,_0x148572,_0x50cabb,_0x11900a,0x16,_0x3dc07c[0xf]),_0x50cabb=_0x226da9(_0x50cabb,_0x5c3ec1,_0x40042c,_0x148572,_0x199171,0x5,_0x3dc07c[0x10]),_0x148572=_0x226da9(_0x148572,_0x50cabb,_0x5c3ec1,_0x40042c,_0x969445,0x9,_0x3dc07c[0x11]),_0x40042c=_0x226da9(_0x40042c,_0x148572,_0x50cabb,_0x5c3ec1,_0x12f1fb,0xe,_0x3dc07c[0x12]),_0x5c3ec1=_0x226da9(_0x5c3ec1,_0x40042c,_0x148572,_0x50cabb,_0x1b2f77,0x14,_0x3dc07c[0x13]),_0x50cabb=_0x226da9(_0x50cabb,_0x5c3ec1,_0x40042c,_0x148572,_0x10a3b4,0x5,_0x3dc07c[0x14]),_0x148572=_0x226da9(_0x148572,_0x50cabb,_0x5c3ec1,_0x40042c,_0x73ca20,0x9,_0x3dc07c[0x15]),_0x40042c=_0x226da9(_0x40042c,_0x148572,_0x50cabb,_0x5c3ec1,_0x11900a,0xe,_0x3dc07c[0x16]),_0x5c3ec1=_0x226da9(_0x5c3ec1,_0x40042c,_0x148572,_0x50cabb,_0x1d1512,0x14,_0x3dc07c[0x17]),_0x50cabb=_0x226da9(_0x50cabb,_0x5c3ec1,_0x40042c,_0x148572,_0x49489d,0x5,_0x3dc07c[0x18]),_0x148572=_0x226da9(_0x148572,_0x50cabb,_0x5c3ec1,_0x40042c,_0x20274f,0x9,_0x3dc07c[0x19]),_0x40042c=_0x226da9(_0x40042c,_0x148572,_0x50cabb,_0x5c3ec1,_0x5817aa,0xe,_0x3dc07c[0x1a]),_0x5c3ec1=_0x226da9(_0x5c3ec1,_0x40042c,_0x148572,_0x50cabb,_0x4e0d15,0x14,_0x3dc07c[0x1b]),_0x50cabb=_0x226da9(_0x50cabb,_0x5c3ec1,_0x40042c,_0x148572,_0x17a835,0x5,_0x3dc07c[0x1c]),_0x148572=_0x226da9(_0x148572,_0x50cabb,_0x5c3ec1,_0x40042c,_0x4b1e3b,0x9,_0x3dc07c[0x1d]),_0x40042c=_0x226da9(_0x40042c,_0x148572,_0x50cabb,_0x5c3ec1,_0x1a8c75,0xe,_0x3dc07c[0x1e]),_0x5c3ec1=_0x226da9(_0x5c3ec1,_0x40042c,_0x148572,_0x50cabb,_0xef8f4d,0x14,_0x3dc07c[0x1f]),_0x50cabb=_0x17a27d(_0x50cabb,_0x5c3ec1,_0x40042c,_0x148572,_0x10a3b4,0x4,_0x3dc07c[0x20]),_0x148572=_0x17a27d(_0x148572,_0x50cabb,_0x5c3ec1,_0x40042c,_0x4e0d15,0xb,_0x3dc07c[0x21]),_0x40042c=_0x17a27d(_0x40042c,_0x148572,_0x50cabb,_0x5c3ec1,_0x12f1fb,0x10,_0x3dc07c[0x22]),_0x5c3ec1=_0x17a27d(_0x5c3ec1,_0x40042c,_0x148572,_0x50cabb,_0x20274f,0x17,_0x3dc07c[0x23]),_0x50cabb=_0x17a27d(_0x50cabb,_0x5c3ec1,_0x40042c,_0x148572,_0x199171,0x4,_0x3dc07c[0x24]),_0x148572=_0x17a27d(_0x148572,_0x50cabb,_0x5c3ec1,_0x40042c,_0x1d1512,0xb,_0x3dc07c[0x25]),_0x40042c=_0x17a27d(_0x40042c,_0x148572,_0x50cabb,_0x5c3ec1,_0x1a8c75,0x10,_0x3dc07c[0x26]),_0x5c3ec1=_0x17a27d(_0x5c3ec1,_0x40042c,_0x148572,_0x50cabb,_0x73ca20,0x17,_0x3dc07c[0x27]),_0x50cabb=_0x17a27d(_0x50cabb,_0x5c3ec1,_0x40042c,_0x148572,_0x17a835,0x4,_0x3dc07c[0x28]),_0x148572=_0x17a27d(_0x148572,_0x50cabb,_0x5c3ec1,_0x40042c,_0x1b2f77,0xb,_0x3dc07c[0x29]),_0x40042c=_0x17a27d(_0x40042c,_0x148572,_0x50cabb,_0x5c3ec1,_0x5817aa,0x10,_0x3dc07c[0x2a]),_0x5c3ec1=_0x17a27d(_0x5c3ec1,_0x40042c,_0x148572,_0x50cabb,_0x969445,0x17,_0x3dc07c[0x2b]),_0x50cabb=_0x17a27d(_0x50cabb,_0x5c3ec1,_0x40042c,_0x148572,_0x49489d,0x4,_0x3dc07c[0x2c]),_0x148572=_0x17a27d(_0x148572,_0x50cabb,_0x5c3ec1,_0x40042c,_0xef8f4d,0xb,_0x3dc07c[0x2d]),_0x40042c=_0x17a27d(_0x40042c,_0x148572,_0x50cabb,_0x5c3ec1,_0x11900a,0x10,_0x3dc07c[0x2e]),_0x5c3ec1=_0x17a27d(_0x5c3ec1,_0x40042c,_0x148572,_0x50cabb,_0x4b1e3b,0x17,_0x3dc07c[0x2f]),_0x50cabb=_0xf5ffb9(_0x50cabb,_0x5c3ec1,_0x40042c,_0x148572,_0x1b2f77,0x6,_0x3dc07c[0x30]),_0x148572=_0xf5ffb9(_0x148572,_0x50cabb,_0x5c3ec1,_0x40042c,_0x1a8c75,0xa,_0x3dc07c[0x31]),_0x40042c=_0xf5ffb9(_0x40042c,_0x148572,_0x50cabb,_0x5c3ec1,_0x20274f,0xf,_0x3dc07c[0x32]),_0x5c3ec1=_0xf5ffb9(_0x5c3ec1,_0x40042c,_0x148572,_0x50cabb,_0x10a3b4,0x15,_0x3dc07c[0x33]),_0x50cabb=_0xf5ffb9(_0x50cabb,_0x5c3ec1,_0x40042c,_0x148572,_0xef8f4d,0x6,_0x3dc07c[0x34]),_0x148572=_0xf5ffb9(_0x148572,_0x50cabb,_0x5c3ec1,_0x40042c,_0x5817aa,0xa,_0x3dc07c[0x35]),_0x40042c=_0xf5ffb9(_0x40042c,_0x148572,_0x50cabb,_0x5c3ec1,_0x73ca20,0xf,_0x3dc07c[0x36]),_0x5c3ec1=_0xf5ffb9(_0x5c3ec1,_0x40042c,_0x148572,_0x50cabb,_0x199171,0x15,_0x3dc07c[0x37]),_0x50cabb=_0xf5ffb9(_0x50cabb,_0x5c3ec1,_0x40042c,_0x148572,_0x4e0d15,0x6,_0x3dc07c[0x38]),_0x148572=_0xf5ffb9(_0x148572,_0x50cabb,_0x5c3ec1,_0x40042c,_0x11900a,0xa,_0x3dc07c[0x39]),_0x40042c=_0xf5ffb9(_0x40042c,_0x148572,_0x50cabb,_0x5c3ec1,_0x969445,0xf,_0x3dc07c[0x3a]),_0x5c3ec1=_0xf5ffb9(_0x5c3ec1,_0x40042c,_0x148572,_0x50cabb,_0x17a835,0x15,_0x3dc07c[0x3b]),_0x50cabb=_0xf5ffb9(_0x50cabb,_0x5c3ec1,_0x40042c,_0x148572,_0x1d1512,0x6,_0x3dc07c[0x3c]),_0x148572=_0xf5ffb9(_0x148572,_0x50cabb,_0x5c3ec1,_0x40042c,_0x12f1fb,0xa,_0x3dc07c[0x3d]),_0x40042c=_0xf5ffb9(_0x40042c,_0x148572,_0x50cabb,_0x5c3ec1,_0x4b1e3b,0xf,_0x3dc07c[0x3e]),_0x5c3ec1=_0xf5ffb9(_0x5c3ec1,_0x40042c,_0x148572,_0x50cabb,_0x49489d,0x15,_0x3dc07c[0x3f]),_0xa53ad6[0x0]=_0xa53ad6[0x0]+_0x50cabb|0x0,_0xa53ad6[0x1]=_0xa53ad6[0x1]+_0x5c3ec1|0x0,_0xa53ad6[0x2]=_0xa53ad6[0x2]+_0x40042c|0x0,_0xa53ad6[0x3]=_0xa53ad6[0x3]+_0x148572|0x0;},'_doFinalize':function(){const _0x214380=_0x3c4cd9;var _0x2351b4=this[_0x214380(0x4c3)],_0x448c9b=_0x2351b4[_0x214380(0x35a)],_0x332245=this[_0x214380(0x236)]*0x8,_0x38b066=_0x2351b4['sigBytes']*0x8;_0x448c9b[_0x38b066>>>0x5]|=0x80<<0x18-_0x38b066%0x20;var _0x275982=_0xf0663['floor'](_0x332245/0x100000000),_0x475212=_0x332245;_0x448c9b[(_0x38b066+0x40>>>0x9<<0x4)+0xf]=(_0x275982<<0x8|_0x275982>>>0x18)&0xff00ff|(_0x275982<<0x18|_0x275982>>>0x8)&0xff00ff00,_0x448c9b[(_0x38b066+0x40>>>0x9<<0x4)+0xe]=(_0x475212<<0x8|_0x475212>>>0x18)&0xff00ff|(_0x475212<<0x18|_0x475212>>>0x8)&0xff00ff00,_0x2351b4[_0x214380(0x4f0)]=(_0x448c9b[_0x214380(0x1cc)]+0x1)*0x4,this[_0x214380(0x366)]();for(var _0x5434dc=this[_0x214380(0x1f8)],_0x15be58=_0x5434dc[_0x214380(0x35a)],_0x36b206=0x0;_0x36b206<0x4;_0x36b206++){var _0x10fb18=_0x15be58[_0x36b206];_0x15be58[_0x36b206]=(_0x10fb18<<0x8|_0x10fb18>>>0x18)&0xff00ff|(_0x10fb18<<0x18|_0x10fb18>>>0x8)&0xff00ff00;}return _0x5434dc;},'clone':function(){const _0x4cc077=_0x3c4cd9;var _0x454ce7=_0x10ed28[_0x4cc077(0x5d6)][_0x4cc077(0x35e)](this);return _0x454ce7[_0x4cc077(0x1f8)]=this[_0x4cc077(0x1f8)]['clone'](),_0x454ce7;}});function _0x30e274(_0x22e3fd,_0x214113,_0x1eb5b9,_0x101ec7,_0x58359c,_0x2ed787,_0x39efa5){var _0x32358f=_0x22e3fd+(_0x214113&_0x1eb5b9|~_0x214113&_0x101ec7)+_0x58359c+_0x39efa5;return(_0x32358f<<_0x2ed787|_0x32358f>>>0x20-_0x2ed787)+_0x214113;}function _0x226da9(_0x4811d6,_0x2372b5,_0x4a4812,_0x3e455f,_0x3f6c69,_0x151628,_0x110fb7){var _0x53dd8e=_0x4811d6+(_0x2372b5&_0x3e455f|_0x4a4812&~_0x3e455f)+_0x3f6c69+_0x110fb7;return(_0x53dd8e<<_0x151628|_0x53dd8e>>>0x20-_0x151628)+_0x2372b5;}function _0x17a27d(_0x1eb18c,_0x260f25,_0x4552dc,_0x584921,_0x467492,_0x10257a,_0x160435){var _0x136b47=_0x1eb18c+(_0x260f25^_0x4552dc^_0x584921)+_0x467492+_0x160435;return(_0x136b47<<_0x10257a|_0x136b47>>>0x20-_0x10257a)+_0x260f25;}function _0xf5ffb9(_0x1338c3,_0x40c066,_0xfa31b3,_0x179ef6,_0x5298d4,_0x19940c,_0x41ee7b){var _0x3ebbbf=_0x1338c3+(_0xfa31b3^(_0x40c066|~_0x179ef6))+_0x5298d4+_0x41ee7b;return(_0x3ebbbf<<_0x19940c|_0x3ebbbf>>>0x20-_0x19940c)+_0x40c066;}_0x289c23['MD5']=_0x10ed28[_0x3c4cd9(0x48c)](_0x1f2bc4),_0x289c23[_0x3c4cd9(0x503)]=_0x10ed28[_0x3c4cd9(0x4a7)](_0x1f2bc4);}(Math),_0x13fc45[_0x517abb(0x4c0)];}));}(_0x1625a4)),_0x1625a4[_0x406df8(0x4d6)];}var _0x403a45={'exports':{}},_0x172693={'exports':{}},_0xa8a86e;function _0x1b2c2d(){const _0xa57d90=_0x5e0aad;return _0xa8a86e||(_0xa8a86e=0x1,function(_0x569d40,_0x1dcbe4){(function(_0x39ec5e,_0x5679e5){const _0x47be72=_0x4e9c;_0x569d40[_0x47be72(0x4d6)]=_0x5679e5(_0x58ec59());}(_0x2efbf9,function(_0x1b2429){return(function(){const _0x3bce6b=_0x4e9c;var _0xfb10f7=_0x1b2429,_0x1cb999=_0xfb10f7[_0x3bce6b(0x540)],_0x4a611c=_0x1cb999[_0x3bce6b(0x3b1)],_0x22a247=_0x1cb999[_0x3bce6b(0x458)],_0x29f73f=_0xfb10f7['algo'],_0x17619c=[],_0x210a36=_0x29f73f[_0x3bce6b(0x2d7)]=_0x22a247[_0x3bce6b(0x26d)]({'_doReset':function(){const _0x4d01aa=_0x3bce6b;this[_0x4d01aa(0x1f8)]=new _0x4a611c[(_0x4d01aa(0x57f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x48d249,_0x301cf9){const _0xe19552=_0x3bce6b;for(var _0x5584c4=this[_0xe19552(0x1f8)][_0xe19552(0x35a)],_0x574c9e=_0x5584c4[0x0],_0x3ebc15=_0x5584c4[0x1],_0x4ccfb9=_0x5584c4[0x2],_0xab055f=_0x5584c4[0x3],_0x551b39=_0x5584c4[0x4],_0x2b6761=0x0;_0x2b6761<0x50;_0x2b6761++){if(_0x2b6761<0x10)_0x17619c[_0x2b6761]=_0x48d249[_0x301cf9+_0x2b6761]|0x0;else{var _0x44d1e8=_0x17619c[_0x2b6761-0x3]^_0x17619c[_0x2b6761-0x8]^_0x17619c[_0x2b6761-0xe]^_0x17619c[_0x2b6761-0x10];_0x17619c[_0x2b6761]=_0x44d1e8<<0x1|_0x44d1e8>>>0x1f;}var _0x4ca05e=(_0x574c9e<<0x5|_0x574c9e>>>0x1b)+_0x551b39+_0x17619c[_0x2b6761];_0x2b6761<0x14?_0x4ca05e+=(_0x3ebc15&_0x4ccfb9|~_0x3ebc15&_0xab055f)+0x5a827999:_0x2b6761<0x28?_0x4ca05e+=(_0x3ebc15^_0x4ccfb9^_0xab055f)+0x6ed9eba1:_0x2b6761<0x3c?_0x4ca05e+=(_0x3ebc15&_0x4ccfb9|_0x3ebc15&_0xab055f|_0x4ccfb9&_0xab055f)-0x70e44324:_0x4ca05e+=(_0x3ebc15^_0x4ccfb9^_0xab055f)-0x359d3e2a,_0x551b39=_0xab055f,_0xab055f=_0x4ccfb9,_0x4ccfb9=_0x3ebc15<<0x1e|_0x3ebc15>>>0x2,_0x3ebc15=_0x574c9e,_0x574c9e=_0x4ca05e;}_0x5584c4[0x0]=_0x5584c4[0x0]+_0x574c9e|0x0,_0x5584c4[0x1]=_0x5584c4[0x1]+_0x3ebc15|0x0,_0x5584c4[0x2]=_0x5584c4[0x2]+_0x4ccfb9|0x0,_0x5584c4[0x3]=_0x5584c4[0x3]+_0xab055f|0x0,_0x5584c4[0x4]=_0x5584c4[0x4]+_0x551b39|0x0;},'_doFinalize':function(){const _0x477987=_0x3bce6b;var _0x1a6913=this['_data'],_0x4c9c56=_0x1a6913[_0x477987(0x35a)],_0x288abe=this['_nDataBytes']*0x8,_0x4618d8=_0x1a6913[_0x477987(0x4f0)]*0x8;return _0x4c9c56[_0x4618d8>>>0x5]|=0x80<<0x18-_0x4618d8%0x20,_0x4c9c56[(_0x4618d8+0x40>>>0x9<<0x4)+0xe]=Math[_0x477987(0x3cf)](_0x288abe/0x100000000),_0x4c9c56[(_0x4618d8+0x40>>>0x9<<0x4)+0xf]=_0x288abe,_0x1a6913[_0x477987(0x4f0)]=_0x4c9c56['length']*0x4,this[_0x477987(0x366)](),this[_0x477987(0x1f8)];},'clone':function(){const _0x2d13b7=_0x3bce6b;var _0x422fae=_0x22a247[_0x2d13b7(0x5d6)][_0x2d13b7(0x35e)](this);return _0x422fae[_0x2d13b7(0x1f8)]=this[_0x2d13b7(0x1f8)][_0x2d13b7(0x5d6)](),_0x422fae;}});_0xfb10f7['SHA1']=_0x22a247[_0x3bce6b(0x48c)](_0x210a36),_0xfb10f7[_0x3bce6b(0x2f2)]=_0x22a247['_createHmacHelper'](_0x210a36);}()),_0x1b2429['SHA1'];}));}(_0x172693)),_0x172693[_0xa57d90(0x4d6)];}var _0x28afda={'exports':{}},_0x1b1f87;function _0x3f2cec(){const _0x40ced4=_0x5e0aad;return _0x1b1f87||(_0x1b1f87=0x1,function(_0x1214c0,_0x3e2b8c){(function(_0x255ce3,_0x2cc473){const _0x4fb160=_0x4e9c;_0x1214c0[_0x4fb160(0x4d6)]=_0x2cc473(_0x58ec59());}(_0x2efbf9,function(_0x4df870){(function(){const _0x2583dd=_0x4e9c;var _0x4147fe=_0x4df870,_0x9c8622=_0x4147fe[_0x2583dd(0x540)],_0x20b6e9=_0x9c8622[_0x2583dd(0x2f6)],_0x3c44e9=_0x4147fe[_0x2583dd(0x2c2)],_0x4bcb96=_0x3c44e9[_0x2583dd(0x4ad)],_0x291e7e=_0x4147fe[_0x2583dd(0x2f5)];_0x291e7e[_0x2583dd(0x272)]=_0x20b6e9['extend']({'init':function(_0x4eb89d,_0x324193){const _0x4c693b=_0x2583dd;_0x4eb89d=this[_0x4c693b(0x51c)]=new _0x4eb89d[(_0x4c693b(0x57f))](),typeof _0x324193==_0x4c693b(0x1c3)&&(_0x324193=_0x4bcb96[_0x4c693b(0x42e)](_0x324193));var _0x59b4c9=_0x4eb89d[_0x4c693b(0x620)],_0x418aad=_0x59b4c9*0x4;_0x324193[_0x4c693b(0x4f0)]>_0x418aad&&(_0x324193=_0x4eb89d[_0x4c693b(0x5c3)](_0x324193)),_0x324193['clamp']();for(var _0x492a6e=this[_0x4c693b(0x31c)]=_0x324193[_0x4c693b(0x5d6)](),_0x131a06=this[_0x4c693b(0x3f8)]=_0x324193[_0x4c693b(0x5d6)](),_0x521885=_0x492a6e['words'],_0x34ad5c=_0x131a06[_0x4c693b(0x35a)],_0x3eac1a=0x0;_0x3eac1a<_0x59b4c9;_0x3eac1a++)_0x521885[_0x3eac1a]^=0x5c5c5c5c,_0x34ad5c[_0x3eac1a]^=0x36363636;_0x492a6e[_0x4c693b(0x4f0)]=_0x131a06['sigBytes']=_0x418aad,this[_0x4c693b(0x4ec)]();},'reset':function(){const _0xe1401f=_0x2583dd;var _0x56a265=this['_hasher'];_0x56a265['reset'](),_0x56a265[_0xe1401f(0x3c6)](this['_iKey']);},'update':function(_0x390c24){const _0x16621d=_0x2583dd;return this[_0x16621d(0x51c)][_0x16621d(0x3c6)](_0x390c24),this;},'finalize':function(_0x547590){const _0x662800=_0x2583dd;var _0x74883b=this['_hasher'],_0x46c0d2=_0x74883b[_0x662800(0x5c3)](_0x547590);_0x74883b[_0x662800(0x4ec)]();var _0xead168=_0x74883b[_0x662800(0x5c3)](this[_0x662800(0x31c)]['clone']()['concat'](_0x46c0d2));return _0xead168;}});}());}));}(_0x28afda)),_0x28afda[_0x40ced4(0x4d6)];}var _0x10ceed;function _0x1f62da(){const _0x308cb7=_0x5e0aad;return _0x10ceed||(_0x10ceed=0x1,function(_0x380890,_0xfa0800){(function(_0x145d80,_0x2c17d0,_0x520d88){const _0x19842f=_0x4e9c;_0x380890[_0x19842f(0x4d6)]=_0x2c17d0(_0x58ec59(),_0x1b2c2d(),_0x3f2cec());}(_0x2efbf9,function(_0x255eee){const _0x531bcd=_0x4e9c;return(function(){const _0x3510c1=_0x4e9c;var _0x2f09b8=_0x255eee,_0x5ed488=_0x2f09b8[_0x3510c1(0x540)],_0x140798=_0x5ed488[_0x3510c1(0x2f6)],_0x717e57=_0x5ed488[_0x3510c1(0x3b1)],_0x34989a=_0x2f09b8['algo'],_0x2415d9=_0x34989a[_0x3510c1(0x4c0)],_0x46ff43=_0x34989a[_0x3510c1(0x576)]=_0x140798[_0x3510c1(0x26d)]({'cfg':_0x140798[_0x3510c1(0x26d)]({'keySize':0x80/0x20,'hasher':_0x2415d9,'iterations':0x1}),'init':function(_0x4fd261){const _0x35f99e=_0x3510c1;this['cfg']=this[_0x35f99e(0x3ed)][_0x35f99e(0x26d)](_0x4fd261);},'compute':function(_0x341cb7,_0x12ba10){const _0x48551c=_0x3510c1;for(var _0x9360c6,_0x3f3e0e=this[_0x48551c(0x3ed)],_0xdf21fb=_0x3f3e0e['hasher']['create'](),_0x5424b0=_0x717e57[_0x48551c(0x3a7)](),_0x1fa54f=_0x5424b0[_0x48551c(0x35a)],_0x26f7d1=_0x3f3e0e['keySize'],_0x25b746=_0x3f3e0e[_0x48551c(0x353)];_0x1fa54f['length']<_0x26f7d1;){_0x9360c6&&_0xdf21fb[_0x48551c(0x3c6)](_0x9360c6),_0x9360c6=_0xdf21fb[_0x48551c(0x3c6)](_0x341cb7)[_0x48551c(0x5c3)](_0x12ba10),_0xdf21fb[_0x48551c(0x4ec)]();for(var _0x40901a=0x1;_0x40901a<_0x25b746;_0x40901a++)_0x9360c6=_0xdf21fb[_0x48551c(0x5c3)](_0x9360c6),_0xdf21fb[_0x48551c(0x4ec)]();_0x5424b0[_0x48551c(0x476)](_0x9360c6);}return _0x5424b0[_0x48551c(0x4f0)]=_0x26f7d1*0x4,_0x5424b0;}});_0x2f09b8['EvpKDF']=function(_0x3b8abb,_0x55907d,_0x2a4966){return _0x46ff43['create'](_0x2a4966)['compute'](_0x3b8abb,_0x55907d);};}()),_0x255eee[_0x531bcd(0x576)];}));}(_0x403a45)),_0x403a45[_0x308cb7(0x4d6)];}var _0x577a61={'exports':{}},_0x12bb27;function _0xae075c(){return _0x12bb27||(_0x12bb27=0x1,function(_0x39c0c8,_0x197e75){(function(_0x1ee015,_0x50fb0f,_0x333395){const _0x4f3e50=_0x4e9c;_0x39c0c8[_0x4f3e50(0x4d6)]=_0x50fb0f(_0x58ec59(),_0x1f62da());}(_0x2efbf9,function(_0x105569){const _0x2e180d=_0x4e9c;_0x105569[_0x2e180d(0x540)][_0x2e180d(0x58c)]||function(_0x3719dc){const _0x3208f0=_0x2e180d;var _0x21884a=_0x105569,_0x9285e6=_0x21884a[_0x3208f0(0x540)],_0x42bdb8=_0x9285e6['Base'],_0x16b814=_0x9285e6[_0x3208f0(0x3b1)],_0x6cf430=_0x9285e6[_0x3208f0(0x324)],_0x37e292=_0x21884a[_0x3208f0(0x2c2)];_0x37e292[_0x3208f0(0x4ad)];var _0x1b995f=_0x37e292[_0x3208f0(0x38a)],_0x237942=_0x21884a[_0x3208f0(0x2f5)],_0x263a82=_0x237942[_0x3208f0(0x576)],_0x535cef=_0x9285e6[_0x3208f0(0x58c)]=_0x6cf430['extend']({'cfg':_0x42bdb8[_0x3208f0(0x26d)](),'createEncryptor':function(_0x2b7c85,_0xfae147){const _0xb73bc1=_0x3208f0;return this['create'](this[_0xb73bc1(0x383)],_0x2b7c85,_0xfae147);},'createDecryptor':function(_0x4027d5,_0x33a986){const _0x102eef=_0x3208f0;return this['create'](this[_0x102eef(0x3f9)],_0x4027d5,_0x33a986);},'init':function(_0x11d5c8,_0x932e24,_0x4c51ab){const _0xe218dd=_0x3208f0;this[_0xe218dd(0x3ed)]=this[_0xe218dd(0x3ed)][_0xe218dd(0x26d)](_0x4c51ab),this[_0xe218dd(0x450)]=_0x11d5c8,this[_0xe218dd(0x4c5)]=_0x932e24,this[_0xe218dd(0x4ec)]();},'reset':function(){const _0x4a902e=_0x3208f0;_0x6cf430[_0x4a902e(0x4ec)][_0x4a902e(0x35e)](this),this['_doReset']();},'process':function(_0x299257){return this['_append'](_0x299257),this['_process']();},'finalize':function(_0x2b889f){_0x2b889f&&this['_append'](_0x2b889f);var _0x2db977=this['_doFinalize']();return _0x2db977;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x274102(_0x19a582){const _0x49b58b=_0x4e9c;return typeof _0x19a582==_0x49b58b(0x1c3)?_0x4ffbca:_0x393246;}return function(_0xec0dc9){return{'encrypt':function(_0x33b07b,_0x4b492b,_0x50ab39){const _0x5dae86=_0x4e9c;return _0x274102(_0x4b492b)[_0x5dae86(0x1ae)](_0xec0dc9,_0x33b07b,_0x4b492b,_0x50ab39);},'decrypt':function(_0x18cf30,_0xa3986c,_0x2acfc1){const _0x4a922b=_0x4e9c;return _0x274102(_0xa3986c)[_0x4a922b(0x47f)](_0xec0dc9,_0x18cf30,_0xa3986c,_0x2acfc1);}};};}())});_0x9285e6['StreamCipher']=_0x535cef['extend']({'_doFinalize':function(){var _0x743e73=this['_process'](!0x0);return _0x743e73;},'blockSize':0x1});var _0x42d30a=_0x21884a[_0x3208f0(0x21a)]={},_0x218c45=_0x9285e6[_0x3208f0(0x597)]=_0x42bdb8[_0x3208f0(0x26d)]({'createEncryptor':function(_0x486776,_0xcf7c4f){const _0x58bdd3=_0x3208f0;return this[_0x58bdd3(0x49b)][_0x58bdd3(0x3a7)](_0x486776,_0xcf7c4f);},'createDecryptor':function(_0x56940b,_0x357017){const _0x2ee049=_0x3208f0;return this[_0x2ee049(0x230)][_0x2ee049(0x3a7)](_0x56940b,_0x357017);},'init':function(_0x5d7f64,_0x47d14c){const _0x4cd309=_0x3208f0;this[_0x4cd309(0x44e)]=_0x5d7f64,this[_0x4cd309(0x3f6)]=_0x47d14c;}}),_0x73d2db=_0x42d30a[_0x3208f0(0x306)]=(function(){const _0x106699=_0x3208f0;var _0x59d9f0=_0x218c45[_0x106699(0x26d)]();_0x59d9f0[_0x106699(0x49b)]=_0x59d9f0[_0x106699(0x26d)]({'processBlock':function(_0x5218e,_0x1c1070){const _0x1414c9=_0x106699;var _0x141d88=this['_cipher'],_0x47bb75=_0x141d88['blockSize'];_0x26f331['call'](this,_0x5218e,_0x1c1070,_0x47bb75),_0x141d88[_0x1414c9(0x472)](_0x5218e,_0x1c1070),this[_0x1414c9(0x492)]=_0x5218e[_0x1414c9(0x562)](_0x1c1070,_0x1c1070+_0x47bb75);}}),_0x59d9f0[_0x106699(0x230)]=_0x59d9f0[_0x106699(0x26d)]({'processBlock':function(_0x38684b,_0x3c3cab){const _0x4ada77=_0x106699;var _0x484863=this[_0x4ada77(0x44e)],_0x145278=_0x484863[_0x4ada77(0x620)],_0x271fa7=_0x38684b[_0x4ada77(0x562)](_0x3c3cab,_0x3c3cab+_0x145278);_0x484863[_0x4ada77(0x2b3)](_0x38684b,_0x3c3cab),_0x26f331['call'](this,_0x38684b,_0x3c3cab,_0x145278),this[_0x4ada77(0x492)]=_0x271fa7;}});function _0x26f331(_0x216659,_0x53097b,_0x2d3e88){const _0x162045=_0x106699;var _0x2fc013,_0x5185fa=this[_0x162045(0x3f6)];_0x5185fa?(_0x2fc013=_0x5185fa,this[_0x162045(0x3f6)]=_0x3719dc):_0x2fc013=this[_0x162045(0x492)];for(var _0x290283=0x0;_0x290283<_0x2d3e88;_0x290283++)_0x216659[_0x53097b+_0x290283]^=_0x2fc013[_0x290283];}return _0x59d9f0;}()),_0x556a94=_0x21884a[_0x3208f0(0x242)]={},_0x5abdea=_0x556a94[_0x3208f0(0x2fb)]={'pad':function(_0x221cdc,_0x27233d){const _0x2fda1c=_0x3208f0;for(var _0x519380=_0x27233d*0x4,_0x3572de=_0x519380-_0x221cdc['sigBytes']%_0x519380,_0xed1546=_0x3572de<<0x18|_0x3572de<<0x10|_0x3572de<<0x8|_0x3572de,_0x28e0bc=[],_0x341d37=0x0;_0x341d37<_0x3572de;_0x341d37+=0x4)_0x28e0bc[_0x2fda1c(0x616)](_0xed1546);var _0x2ab484=_0x16b814[_0x2fda1c(0x3a7)](_0x28e0bc,_0x3572de);_0x221cdc[_0x2fda1c(0x476)](_0x2ab484);},'unpad':function(_0x56ca64){const _0x46bb6f=_0x3208f0;var _0x3fd948=_0x56ca64[_0x46bb6f(0x35a)][_0x56ca64['sigBytes']-0x1>>>0x2]&0xff;_0x56ca64[_0x46bb6f(0x4f0)]-=_0x3fd948;}};_0x9285e6[_0x3208f0(0x205)]=_0x535cef[_0x3208f0(0x26d)]({'cfg':_0x535cef[_0x3208f0(0x3ed)][_0x3208f0(0x26d)]({'mode':_0x73d2db,'padding':_0x5abdea}),'reset':function(){const _0x2920a8=_0x3208f0;var _0x1ef9ca;_0x535cef[_0x2920a8(0x4ec)][_0x2920a8(0x35e)](this);var _0x717769=this[_0x2920a8(0x3ed)],_0x554353=_0x717769['iv'],_0x3ac4bd=_0x717769[_0x2920a8(0x21a)];this['_xformMode']==this[_0x2920a8(0x383)]?_0x1ef9ca=_0x3ac4bd[_0x2920a8(0x4a8)]:(_0x1ef9ca=_0x3ac4bd['createDecryptor'],this[_0x2920a8(0x554)]=0x1),this['_mode']&&this[_0x2920a8(0x504)][_0x2920a8(0x1a1)]==_0x1ef9ca?this[_0x2920a8(0x504)][_0x2920a8(0x57f)](this,_0x554353&&_0x554353[_0x2920a8(0x35a)]):(this[_0x2920a8(0x504)]=_0x1ef9ca[_0x2920a8(0x35e)](_0x3ac4bd,this,_0x554353&&_0x554353['words']),this['_mode'][_0x2920a8(0x1a1)]=_0x1ef9ca);},'_doProcessBlock':function(_0x18f4ec,_0x2c4f6b){const _0x1642a4=_0x3208f0;this[_0x1642a4(0x504)]['processBlock'](_0x18f4ec,_0x2c4f6b);},'_doFinalize':function(){const _0x2fdbf7=_0x3208f0;var _0x5a46db,_0x3ea35f=this[_0x2fdbf7(0x3ed)][_0x2fdbf7(0x3fe)];return this['_xformMode']==this[_0x2fdbf7(0x383)]?(_0x3ea35f['pad'](this['_data'],this[_0x2fdbf7(0x620)]),_0x5a46db=this[_0x2fdbf7(0x366)](!0x0)):(_0x5a46db=this[_0x2fdbf7(0x366)](!0x0),_0x3ea35f[_0x2fdbf7(0x258)](_0x5a46db)),_0x5a46db;},'blockSize':0x80/0x20});var _0x1a0d42=_0x9285e6['CipherParams']=_0x42bdb8[_0x3208f0(0x26d)]({'init':function(_0x97c4fb){const _0x401c15=_0x3208f0;this[_0x401c15(0x1a4)](_0x97c4fb);},'toString':function(_0x22df65){const _0x518031=_0x3208f0;return(_0x22df65||this[_0x518031(0x238)])[_0x518031(0x4b8)](this);}}),_0x5410a9=_0x21884a[_0x3208f0(0x33c)]={},_0x84811f=_0x5410a9['OpenSSL']={'stringify':function(_0x2bfac1){const _0x53f514=_0x3208f0;var _0x3eb899,_0x20f342=_0x2bfac1[_0x53f514(0x1ac)],_0x74860b=_0x2bfac1['salt'];return _0x74860b?_0x3eb899=_0x16b814[_0x53f514(0x3a7)]([0x53616c74,0x65645f5f])[_0x53f514(0x476)](_0x74860b)[_0x53f514(0x476)](_0x20f342):_0x3eb899=_0x20f342,_0x3eb899['toString'](_0x1b995f);},'parse':function(_0x20e07d){const _0x20bb1=_0x3208f0;var _0x1a30f8,_0x53e801=_0x1b995f[_0x20bb1(0x42e)](_0x20e07d),_0x55182a=_0x53e801[_0x20bb1(0x35a)];return _0x55182a[0x0]==0x53616c74&&_0x55182a[0x1]==0x65645f5f&&(_0x1a30f8=_0x16b814[_0x20bb1(0x3a7)](_0x55182a[_0x20bb1(0x562)](0x2,0x4)),_0x55182a[_0x20bb1(0x318)](0x0,0x4),_0x53e801['sigBytes']-=0x10),_0x1a0d42['create']({'ciphertext':_0x53e801,'salt':_0x1a30f8});}},_0x393246=_0x9285e6[_0x3208f0(0x38d)]=_0x42bdb8['extend']({'cfg':_0x42bdb8['extend']({'format':_0x84811f}),'encrypt':function(_0xd0404c,_0x4f1891,_0x1e88bd,_0x2acb20){const _0x49107d=_0x3208f0;_0x2acb20=this[_0x49107d(0x3ed)][_0x49107d(0x26d)](_0x2acb20);var _0x209389=_0xd0404c['createEncryptor'](_0x1e88bd,_0x2acb20),_0x2d111d=_0x209389[_0x49107d(0x5c3)](_0x4f1891),_0x1030b5=_0x209389[_0x49107d(0x3ed)];return _0x1a0d42['create']({'ciphertext':_0x2d111d,'key':_0x1e88bd,'iv':_0x1030b5['iv'],'algorithm':_0xd0404c,'mode':_0x1030b5[_0x49107d(0x21a)],'padding':_0x1030b5['padding'],'blockSize':_0xd0404c[_0x49107d(0x620)],'formatter':_0x2acb20[_0x49107d(0x33c)]});},'decrypt':function(_0x1651c6,_0x575338,_0x2390b7,_0x39d2a8){const _0x328f92=_0x3208f0;_0x39d2a8=this['cfg'][_0x328f92(0x26d)](_0x39d2a8),_0x575338=this[_0x328f92(0x340)](_0x575338,_0x39d2a8[_0x328f92(0x33c)]);var _0x574c8f=_0x1651c6['createDecryptor'](_0x2390b7,_0x39d2a8)['finalize'](_0x575338['ciphertext']);return _0x574c8f;},'_parse':function(_0x1be4f6,_0x4a8eb3){const _0x1a1288=_0x3208f0;return typeof _0x1be4f6==_0x1a1288(0x1c3)?_0x4a8eb3['parse'](_0x1be4f6,this):_0x1be4f6;}}),_0x2d1adf=_0x21884a[_0x3208f0(0x1e3)]={},_0x2e3ed9=_0x2d1adf['OpenSSL']={'execute':function(_0x17f4d7,_0x4aaabb,_0xdf202,_0x478bc2,_0x360d29){const _0x255d1f=_0x3208f0;if(_0x478bc2||(_0x478bc2=_0x16b814[_0x255d1f(0x631)](0x40/0x8)),_0x360d29)var _0x8b8140=_0x263a82[_0x255d1f(0x3a7)]({'keySize':_0x4aaabb+_0xdf202,'hasher':_0x360d29})[_0x255d1f(0x2ed)](_0x17f4d7,_0x478bc2);else var _0x8b8140=_0x263a82[_0x255d1f(0x3a7)]({'keySize':_0x4aaabb+_0xdf202})[_0x255d1f(0x2ed)](_0x17f4d7,_0x478bc2);var _0x4fe7f4=_0x16b814['create'](_0x8b8140[_0x255d1f(0x35a)][_0x255d1f(0x562)](_0x4aaabb),_0xdf202*0x4);return _0x8b8140[_0x255d1f(0x4f0)]=_0x4aaabb*0x4,_0x1a0d42['create']({'key':_0x8b8140,'iv':_0x4fe7f4,'salt':_0x478bc2});}},_0x4ffbca=_0x9285e6['PasswordBasedCipher']=_0x393246[_0x3208f0(0x26d)]({'cfg':_0x393246[_0x3208f0(0x3ed)][_0x3208f0(0x26d)]({'kdf':_0x2e3ed9}),'encrypt':function(_0x44d00e,_0x43813e,_0x243166,_0x132509){const _0x5b630c=_0x3208f0;_0x132509=this['cfg']['extend'](_0x132509);var _0x180d55=_0x132509[_0x5b630c(0x1e3)][_0x5b630c(0x5a0)](_0x243166,_0x44d00e['keySize'],_0x44d00e[_0x5b630c(0x265)],_0x132509['salt'],_0x132509[_0x5b630c(0x219)]);_0x132509['iv']=_0x180d55['iv'];var _0x494138=_0x393246['encrypt'][_0x5b630c(0x35e)](this,_0x44d00e,_0x43813e,_0x180d55[_0x5b630c(0x54e)],_0x132509);return _0x494138[_0x5b630c(0x1a4)](_0x180d55),_0x494138;},'decrypt':function(_0x89f9f2,_0x289236,_0x54d510,_0x5d719c){const _0x4135b7=_0x3208f0;_0x5d719c=this['cfg'][_0x4135b7(0x26d)](_0x5d719c),_0x289236=this[_0x4135b7(0x340)](_0x289236,_0x5d719c[_0x4135b7(0x33c)]);var _0x4a83ed=_0x5d719c[_0x4135b7(0x1e3)][_0x4135b7(0x5a0)](_0x54d510,_0x89f9f2['keySize'],_0x89f9f2[_0x4135b7(0x265)],_0x289236['salt'],_0x5d719c[_0x4135b7(0x219)]);_0x5d719c['iv']=_0x4a83ed['iv'];var _0x24d3b6=_0x393246[_0x4135b7(0x47f)][_0x4135b7(0x35e)](this,_0x89f9f2,_0x289236,_0x4a83ed[_0x4135b7(0x54e)],_0x5d719c);return _0x24d3b6;}});}();}));}(_0x577a61)),_0x577a61['exports'];}(function(_0x4b2053,_0x1e01c2){(function(_0x2ac6dd,_0x578f72,_0x22395a){const _0x274031=_0x4e9c;_0x4b2053[_0x274031(0x4d6)]=_0x578f72(_0x58ec59(),_0x12ed54(),_0xb311e8(),_0x1f62da(),_0xae075c());}(_0x2efbf9,function(_0x23a843){const _0x2ef060=_0x4e9c;return(function(){const _0x331512=_0x4e9c;var _0x28a792=_0x23a843,_0x4036f2=_0x28a792[_0x331512(0x540)],_0x21aff6=_0x4036f2[_0x331512(0x205)],_0x216234=_0x28a792['algo'],_0x41f807=[],_0x52784f=[],_0xcbacf4=[],_0x2f52ca=[],_0x4ba683=[],_0x42dce7=[],_0x3556e2=[],_0xa7e8f4=[],_0x4a2f64=[],_0x3e88a1=[];(function(){for(var _0x2f4ec3=[],_0x44a134=0x0;_0x44a134<0x100;_0x44a134++)_0x44a134<0x80?_0x2f4ec3[_0x44a134]=_0x44a134<<0x1:_0x2f4ec3[_0x44a134]=_0x44a134<<0x1^0x11b;for(var _0x3d62ab=0x0,_0x35f670=0x0,_0x44a134=0x0;_0x44a134<0x100;_0x44a134++){var _0x3ef6b7=_0x35f670^_0x35f670<<0x1^_0x35f670<<0x2^_0x35f670<<0x3^_0x35f670<<0x4;_0x3ef6b7=_0x3ef6b7>>>0x8^_0x3ef6b7&0xff^0x63,_0x41f807[_0x3d62ab]=_0x3ef6b7,_0x52784f[_0x3ef6b7]=_0x3d62ab;var _0x498e1e=_0x2f4ec3[_0x3d62ab],_0x5c61ce=_0x2f4ec3[_0x498e1e],_0x3ba748=_0x2f4ec3[_0x5c61ce],_0x52cb33=_0x2f4ec3[_0x3ef6b7]*0x101^_0x3ef6b7*0x1010100;_0xcbacf4[_0x3d62ab]=_0x52cb33<<0x18|_0x52cb33>>>0x8,_0x2f52ca[_0x3d62ab]=_0x52cb33<<0x10|_0x52cb33>>>0x10,_0x4ba683[_0x3d62ab]=_0x52cb33<<0x8|_0x52cb33>>>0x18,_0x42dce7[_0x3d62ab]=_0x52cb33;var _0x52cb33=_0x3ba748*0x1010101^_0x5c61ce*0x10001^_0x498e1e*0x101^_0x3d62ab*0x1010100;_0x3556e2[_0x3ef6b7]=_0x52cb33<<0x18|_0x52cb33>>>0x8,_0xa7e8f4[_0x3ef6b7]=_0x52cb33<<0x10|_0x52cb33>>>0x10,_0x4a2f64[_0x3ef6b7]=_0x52cb33<<0x8|_0x52cb33>>>0x18,_0x3e88a1[_0x3ef6b7]=_0x52cb33,_0x3d62ab?(_0x3d62ab=_0x498e1e^_0x2f4ec3[_0x2f4ec3[_0x2f4ec3[_0x3ba748^_0x498e1e]]],_0x35f670^=_0x2f4ec3[_0x2f4ec3[_0x35f670]]):_0x3d62ab=_0x35f670=0x1;}}());var _0x372d6b=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xcbde23=_0x216234[_0x331512(0x3e9)]=_0x21aff6[_0x331512(0x26d)]({'_doReset':function(){const _0x3044c0=_0x331512;var _0x85a7f4;if(!(this[_0x3044c0(0x40d)]&&this['_keyPriorReset']===this['_key'])){for(var _0x3f6186=this[_0x3044c0(0x58f)]=this[_0x3044c0(0x4c5)],_0x5ad4d1=_0x3f6186['words'],_0xd688c5=_0x3f6186[_0x3044c0(0x4f0)]/0x4,_0x484524=this['_nRounds']=_0xd688c5+0x6,_0x29f3be=(_0x484524+0x1)*0x4,_0x565a95=this[_0x3044c0(0x5c0)]=[],_0x4bf369=0x0;_0x4bf369<_0x29f3be;_0x4bf369++)_0x4bf369<_0xd688c5?_0x565a95[_0x4bf369]=_0x5ad4d1[_0x4bf369]:(_0x85a7f4=_0x565a95[_0x4bf369-0x1],_0x4bf369%_0xd688c5?_0xd688c5>0x6&&_0x4bf369%_0xd688c5==0x4&&(_0x85a7f4=_0x41f807[_0x85a7f4>>>0x18]<<0x18|_0x41f807[_0x85a7f4>>>0x10&0xff]<<0x10|_0x41f807[_0x85a7f4>>>0x8&0xff]<<0x8|_0x41f807[_0x85a7f4&0xff]):(_0x85a7f4=_0x85a7f4<<0x8|_0x85a7f4>>>0x18,_0x85a7f4=_0x41f807[_0x85a7f4>>>0x18]<<0x18|_0x41f807[_0x85a7f4>>>0x10&0xff]<<0x10|_0x41f807[_0x85a7f4>>>0x8&0xff]<<0x8|_0x41f807[_0x85a7f4&0xff],_0x85a7f4^=_0x372d6b[_0x4bf369/_0xd688c5|0x0]<<0x18),_0x565a95[_0x4bf369]=_0x565a95[_0x4bf369-_0xd688c5]^_0x85a7f4);for(var _0xd401c=this[_0x3044c0(0x568)]=[],_0x4728ab=0x0;_0x4728ab<_0x29f3be;_0x4728ab++){var _0x4bf369=_0x29f3be-_0x4728ab;if(_0x4728ab%0x4)var _0x85a7f4=_0x565a95[_0x4bf369];else var _0x85a7f4=_0x565a95[_0x4bf369-0x4];_0x4728ab<0x4||_0x4bf369<=0x4?_0xd401c[_0x4728ab]=_0x85a7f4:_0xd401c[_0x4728ab]=_0x3556e2[_0x41f807[_0x85a7f4>>>0x18]]^_0xa7e8f4[_0x41f807[_0x85a7f4>>>0x10&0xff]]^_0x4a2f64[_0x41f807[_0x85a7f4>>>0x8&0xff]]^_0x3e88a1[_0x41f807[_0x85a7f4&0xff]];}}},'encryptBlock':function(_0x233ecc,_0x469de8){const _0x3e2b52=_0x331512;this[_0x3e2b52(0x3c7)](_0x233ecc,_0x469de8,this[_0x3e2b52(0x5c0)],_0xcbacf4,_0x2f52ca,_0x4ba683,_0x42dce7,_0x41f807);},'decryptBlock':function(_0x530b02,_0x13d8c0){const _0x1968e4=_0x331512;var _0x4f6ad0=_0x530b02[_0x13d8c0+0x1];_0x530b02[_0x13d8c0+0x1]=_0x530b02[_0x13d8c0+0x3],_0x530b02[_0x13d8c0+0x3]=_0x4f6ad0,this['_doCryptBlock'](_0x530b02,_0x13d8c0,this[_0x1968e4(0x568)],_0x3556e2,_0xa7e8f4,_0x4a2f64,_0x3e88a1,_0x52784f);var _0x4f6ad0=_0x530b02[_0x13d8c0+0x1];_0x530b02[_0x13d8c0+0x1]=_0x530b02[_0x13d8c0+0x3],_0x530b02[_0x13d8c0+0x3]=_0x4f6ad0;},'_doCryptBlock':function(_0x2bc069,_0x177373,_0x181b17,_0x164abc,_0x3839d3,_0x5aafd4,_0x18cf21,_0x35ba45){const _0x3473cd=_0x331512;for(var _0x31a741=this[_0x3473cd(0x40d)],_0x26d6ac=_0x2bc069[_0x177373]^_0x181b17[0x0],_0x539d74=_0x2bc069[_0x177373+0x1]^_0x181b17[0x1],_0xc90bd4=_0x2bc069[_0x177373+0x2]^_0x181b17[0x2],_0x695c5e=_0x2bc069[_0x177373+0x3]^_0x181b17[0x3],_0x42c431=0x4,_0x5cce6a=0x1;_0x5cce6a<_0x31a741;_0x5cce6a++){var _0x287817=_0x164abc[_0x26d6ac>>>0x18]^_0x3839d3[_0x539d74>>>0x10&0xff]^_0x5aafd4[_0xc90bd4>>>0x8&0xff]^_0x18cf21[_0x695c5e&0xff]^_0x181b17[_0x42c431++],_0x1b5e5c=_0x164abc[_0x539d74>>>0x18]^_0x3839d3[_0xc90bd4>>>0x10&0xff]^_0x5aafd4[_0x695c5e>>>0x8&0xff]^_0x18cf21[_0x26d6ac&0xff]^_0x181b17[_0x42c431++],_0x347a0e=_0x164abc[_0xc90bd4>>>0x18]^_0x3839d3[_0x695c5e>>>0x10&0xff]^_0x5aafd4[_0x26d6ac>>>0x8&0xff]^_0x18cf21[_0x539d74&0xff]^_0x181b17[_0x42c431++],_0x7be843=_0x164abc[_0x695c5e>>>0x18]^_0x3839d3[_0x26d6ac>>>0x10&0xff]^_0x5aafd4[_0x539d74>>>0x8&0xff]^_0x18cf21[_0xc90bd4&0xff]^_0x181b17[_0x42c431++];_0x26d6ac=_0x287817,_0x539d74=_0x1b5e5c,_0xc90bd4=_0x347a0e,_0x695c5e=_0x7be843;}var _0x287817=(_0x35ba45[_0x26d6ac>>>0x18]<<0x18|_0x35ba45[_0x539d74>>>0x10&0xff]<<0x10|_0x35ba45[_0xc90bd4>>>0x8&0xff]<<0x8|_0x35ba45[_0x695c5e&0xff])^_0x181b17[_0x42c431++],_0x1b5e5c=(_0x35ba45[_0x539d74>>>0x18]<<0x18|_0x35ba45[_0xc90bd4>>>0x10&0xff]<<0x10|_0x35ba45[_0x695c5e>>>0x8&0xff]<<0x8|_0x35ba45[_0x26d6ac&0xff])^_0x181b17[_0x42c431++],_0x347a0e=(_0x35ba45[_0xc90bd4>>>0x18]<<0x18|_0x35ba45[_0x695c5e>>>0x10&0xff]<<0x10|_0x35ba45[_0x26d6ac>>>0x8&0xff]<<0x8|_0x35ba45[_0x539d74&0xff])^_0x181b17[_0x42c431++],_0x7be843=(_0x35ba45[_0x695c5e>>>0x18]<<0x18|_0x35ba45[_0x26d6ac>>>0x10&0xff]<<0x10|_0x35ba45[_0x539d74>>>0x8&0xff]<<0x8|_0x35ba45[_0xc90bd4&0xff])^_0x181b17[_0x42c431++];_0x2bc069[_0x177373]=_0x287817,_0x2bc069[_0x177373+0x1]=_0x1b5e5c,_0x2bc069[_0x177373+0x2]=_0x347a0e,_0x2bc069[_0x177373+0x3]=_0x7be843;},'keySize':0x100/0x20});_0x28a792[_0x331512(0x3e9)]=_0x21aff6[_0x331512(0x48c)](_0xcbde23);}()),_0x23a843[_0x2ef060(0x3e9)];}));}(_0x276523));var _0x3bcb79=_0x276523['exports'];const _0x2a000e=_0x476764(_0x3bcb79);var _0x539273=_0x12ed54();const _0x5552c5=_0x476764(_0x539273);var _0x4400e7={'exports':{}};(function(_0x4ac39b,_0x5b088f){(function(_0x24a77c,_0x41556c){const _0x2d651a=_0x4e9c;_0x4ac39b[_0x2d651a(0x4d6)]=_0x41556c(_0x58ec59());}(_0x2efbf9,function(_0x509eae){const _0x448837=_0x4e9c;return _0x509eae[_0x448837(0x2c2)][_0x448837(0x4ad)];}));}(_0x4400e7));var _0x3797e8=_0x4400e7['exports'];const _0x58dcc4=_0x476764(_0x3797e8);var _0x166007={'exports':{}};(function(_0x4b48fb,_0x4a77d8){(function(_0x544d25,_0x358537){_0x4b48fb['exports']=_0x358537(_0x58ec59());}(_0x2efbf9,function(_0x17fb0d){const _0x1e9f58=_0x4e9c;return(function(){const _0x53b7f7=_0x4e9c;if(typeof ArrayBuffer=='function'){var _0x5f4efb=_0x17fb0d,_0x17d1ba=_0x5f4efb[_0x53b7f7(0x540)],_0x52cd2a=_0x17d1ba[_0x53b7f7(0x3b1)],_0x27037b=_0x52cd2a[_0x53b7f7(0x57f)],_0x38ff05=_0x52cd2a[_0x53b7f7(0x57f)]=function(_0x21ab65){const _0x2df9ce=_0x53b7f7;if(_0x21ab65 instanceof ArrayBuffer&&(_0x21ab65=new Uint8Array(_0x21ab65)),(_0x21ab65 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x21ab65 instanceof Uint8ClampedArray||_0x21ab65 instanceof Int16Array||_0x21ab65 instanceof Uint16Array||_0x21ab65 instanceof Int32Array||_0x21ab65 instanceof Uint32Array||_0x21ab65 instanceof Float32Array||_0x21ab65 instanceof Float64Array)&&(_0x21ab65=new Uint8Array(_0x21ab65[_0x2df9ce(0x234)],_0x21ab65[_0x2df9ce(0x64b)],_0x21ab65[_0x2df9ce(0x2e0)])),_0x21ab65 instanceof Uint8Array){for(var _0x51bf29=_0x21ab65[_0x2df9ce(0x2e0)],_0x577c19=[],_0x2b3ec9=0x0;_0x2b3ec9<_0x51bf29;_0x2b3ec9++)_0x577c19[_0x2b3ec9>>>0x2]|=_0x21ab65[_0x2b3ec9]<<0x18-_0x2b3ec9%0x4*0x8;_0x27037b[_0x2df9ce(0x35e)](this,_0x577c19,_0x51bf29);}else _0x27037b[_0x2df9ce(0x326)](this,arguments);};_0x38ff05[_0x53b7f7(0x387)]=_0x52cd2a;}}()),_0x17fb0d[_0x1e9f58(0x540)]['WordArray'];}));}(_0x166007));var _0x305ca8=_0x166007[_0x5e0aad(0x4d6)];const _0x2d040b=_0x476764(_0x305ca8);var _0xf9ad00={'exports':{}};(function(_0x2d1366,_0x56df68){(function(_0x24797,_0x4fa2d0,_0x1fafe3){_0x2d1366['exports']=_0x4fa2d0(_0x58ec59(),_0xae075c());}(_0x2efbf9,function(_0x22a6e0){const _0x587067=_0x4e9c;return _0x22a6e0[_0x587067(0x242)][_0x587067(0x45d)]={'pad':function(){},'unpad':function(){}},_0x22a6e0[_0x587067(0x242)][_0x587067(0x45d)];}));}(_0xf9ad00));var _0x3c2af0=_0xf9ad00[_0x5e0aad(0x4d6)];const _0x303ea5=_0x476764(_0x3c2af0);function _0x2f4b03(_0x5226f4,_0x327952){const _0x11ad6b=_0x5e0aad,_0xff91c8=_0x327952-_0x5226f4[_0x11ad6b(0x1cc)]%_0x327952,_0x13c679=String[_0x11ad6b(0x51e)](_0xff91c8)['repeat'](_0xff91c8);return _0x5226f4+_0x13c679;}function _0x6de36f(_0x373570,_0xd872d){const _0x1793b1=_0x5e0aad,_0x52ce08=_0x2d040b[_0x1793b1(0x631)](0x10),_0x181feb=_0x2f4b03(_0x373570,0x10),_0x5c28d0=_0x2a000e[_0x1793b1(0x1ae)](_0x58dcc4[_0x1793b1(0x42e)](_0x181feb),_0x5552c5[_0x1793b1(0x42e)](_0xd872d),{'iv':_0x52ce08,'padding':_0x303ea5});return _0x52ce08[_0x1793b1(0x476)](_0x5c28d0[_0x1793b1(0x1ac)])['toString'](_0x5552c5);}function _0x3618d6(){const _0x366edf=_0x5e0aad,_0x34a9ff=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x366edf(0x4e7)];if(_0x34a9ff){const _0x5dcd2c={'time':Math[_0x366edf(0x3cf)](Date[_0x366edf(0x399)]()/0x3e8),'domain':location['hostname']};return _0x6de36f(JSON[_0x366edf(0x4b8)](_0x5dcd2c),_0x34a9ff);}}var _0x591373=Object[_0x5e0aad(0x2e4)],_0x4a4a9e=Object['getOwnPropertyDescriptor'],_0x1995fa=(_0x34b19f,_0x304597,_0xa15472,_0x2bef22)=>{for(var _0x3bb6bb=_0x2bef22>0x1?void 0x0:_0x2bef22?_0x4a4a9e(_0x304597,_0xa15472):_0x304597,_0x326a61=_0x34b19f['length']-0x1,_0x185cf3;_0x326a61>=0x0;_0x326a61--)(_0x185cf3=_0x34b19f[_0x326a61])&&(_0x3bb6bb=(_0x2bef22?_0x185cf3(_0x304597,_0xa15472,_0x3bb6bb):_0x185cf3(_0x3bb6bb))||_0x3bb6bb);return _0x2bef22&&_0x3bb6bb&&_0x591373(_0x304597,_0xa15472,_0x3bb6bb),_0x3bb6bb;},_0x3ed839=(_0x1b467c,_0x918423)=>(_0x3dfade,_0x22af29)=>_0x918423(_0x3dfade,_0x22af29,_0x1b467c);let _0x52b413=class{constructor(_0x22d5bb){const _0x48fe56=_0x5e0aad;this['_httpService']=_0x22d5bb,this[_0x48fe56(0x641)]();}[_0x5e0aad(0x641)](){const _0x414f61=_0x5e0aad;this[_0x414f61(0x599)][_0x414f61(0x388)]({'interceptor':(_0x267e2e,_0x52536b)=>{const _0x37032e=_0x414f61,_0x4fcbe6=_0x267e2e[_0x37032e(0x3d1)],_0x28eedb=_0x3618d6();return _0x28eedb&&_0x4fcbe6['set'](_0x37032e(0x315),_0x28eedb),_0x52536b(_0x267e2e);}});}};_0x52b413=_0x1995fa([_0x3ed839(0x0,_0x260eff[_0x5e0aad(0x34e)](_0x155315[_0x5e0aad(0x522)]))],_0x52b413);var _0x22d359=Object['defineProperty'],_0x24bc9c=Object[_0x5e0aad(0x585)],_0x41f0a4=(_0x29e77b,_0x3376c7,_0x35f8a9,_0x4211e6)=>{for(var _0x4fcee6=_0x4211e6>0x1?void 0x0:_0x4211e6?_0x24bc9c(_0x3376c7,_0x35f8a9):_0x3376c7,_0x201ce0=_0x29e77b['length']-0x1,_0x357c33;_0x201ce0>=0x0;_0x201ce0--)(_0x357c33=_0x29e77b[_0x201ce0])&&(_0x4fcee6=(_0x4211e6?_0x357c33(_0x3376c7,_0x35f8a9,_0x4fcee6):_0x357c33(_0x4fcee6))||_0x4fcee6);return _0x4211e6&&_0x4fcee6&&_0x22d359(_0x3376c7,_0x35f8a9,_0x4fcee6),_0x4fcee6;},_0x182f52=(_0x7ffea5,_0x29d71d)=>(_0x7fceaa,_0x4b3b90)=>_0x29d71d(_0x7fceaa,_0x4b3b90,_0x7ffea5);const _0x458f2d=['image/png',_0x5e0aad(0x51a),_0x5e0aad(0x586),_0x5e0aad(0x1af),_0x5e0aad(0x543)],_0x34de8f=0x5*0x400*0x400,_0x3c9cfc=_0x5e0aad(0x33d),_0x245155='/universer-api/stream/file/upload',_0x34649e=_0x5e0aad(0x59c),_0x560b4b=_0x5e0aad(0x259);_0xc68ebf[_0x5e0aad(0x25b)]=class{constructor(_0x6ebea4,_0x3146bc,_0x3f88d6){const _0x20c7a7=_0x5e0aad;_0x133e34(this,_0x20c7a7(0x5e8),0x0),_0x133e34(this,'_change$',new _0x543965[(_0x20c7a7(0x547))]()),_0x133e34(this,_0x20c7a7(0x4ce),this[_0x20c7a7(0x2a1)]),_0x133e34(this,_0x20c7a7(0x297),new Map()),(this[_0x20c7a7(0x599)]=_0x6ebea4,this[_0x20c7a7(0x350)]=_0x3146bc,this['_univerInstanceService']=_0x3f88d6);}['setWaitCount'](_0x24647d){const _0x3b758c=_0x5e0aad;this[_0x3b758c(0x5e8)]=_0x24647d,this[_0x3b758c(0x2a1)][_0x3b758c(0x4ca)](_0x24647d);}[_0x5e0aad(0x5a4)](_0x84a5d9,_0x32c4f2){const _0xde5e10=_0x5e0aad;if(_0x32c4f2===_0x19d17d[_0xde5e10(0x321)][_0xde5e10(0x5ce)]){const _0x1dfd00=new Image();return _0x1dfd00[_0xde5e10(0x2ac)]=_0x84a5d9,_0x1dfd00;}return this['_imageSourceCache'][_0xde5e10(0x391)](_0x84a5d9);}[_0x5e0aad(0x537)](_0x2c05e1,_0xd38a6e,_0x16e363){const _0xec78f8=_0x5e0aad;_0xd38a6e===_0x19d17d[_0xec78f8(0x321)][_0xec78f8(0x5ce)]||_0x16e363==null||this[_0xec78f8(0x297)][_0xec78f8(0x5f3)](_0x2c05e1,_0x16e363);}async[_0x5e0aad(0x4eb)](_0x466036){const _0x507b13=_0x5e0aad;try{const _0x5bb03c=this[_0x507b13(0x5b6)](this[_0x507b13(0x27d)](),''+_0x466036),_0x543359=(await this[_0x507b13(0x599)][_0x507b13(0x391)](_0x5bb03c))[_0x507b13(0x1e8)];if(_0x543359[_0x507b13(0x346)]&&_0x543359['error']['code']===_0x43b34c['OK']){const _0x2f9ba8=new URL(_0x543359[_0x507b13(0x642)],this[_0x507b13(0x44a)]())['toString']();return Promise[_0x507b13(0x5ac)](_0x2f9ba8);}return Promise[_0x507b13(0x551)](_0x543359[_0x507b13(0x346)]);}catch(_0x4cbf03){return Promise[_0x507b13(0x551)](_0x4cbf03);}}async[_0x5e0aad(0x1fb)](_0x483542){const _0x1f62f2=_0x5e0aad;let _0xccdb37='';if(!_0x458f2d[_0x1f62f2(0x233)](_0x483542[_0x1f62f2(0x1d1)]))return this[_0x1f62f2(0x58b)](),Promise[_0x1f62f2(0x551)](new Error(_0x19d17d[_0x1f62f2(0x268)][_0x1f62f2(0x403)]));if(_0x483542[_0x1f62f2(0x5e4)]>_0x34de8f)return this[_0x1f62f2(0x58b)](),Promise['reject'](new Error(_0x19d17d[_0x1f62f2(0x268)][_0x1f62f2(0x3cb)]));try{const _0x859fad=new FormData();_0x859fad['append']('file',_0x483542);const _0x4c632e=this[_0x1f62f2(0x434)][_0x1f62f2(0x24e)](),_0x1e1f78=_0x4c632e==null?void 0x0:_0x4c632e['getUnitId']();if(!_0x1e1f78)throw new Error(_0x1f62f2(0x1d5));const _0x58e5f4=this[_0x1f62f2(0x424)]()+'?size='+_0x483542[_0x1f62f2(0x5e4)][_0x1f62f2(0x2dc)]()+_0x1f62f2(0x1db)+_0x27083f[_0x1f62f2(0x35b)]+_0x1f62f2(0x1c9)+encodeURIComponent(_0x1e1f78),_0x46c0c8=await(await fetch(_0x58e5f4,{'method':_0x1f62f2(0x333),'body':_0x859fad}))[_0x1f62f2(0x1ca)]();if(typeof _0x46c0c8[_0x1f62f2(0x4a5)]!=_0x1f62f2(0x1c3))return this[_0x1f62f2(0x58b)](),Promise[_0x1f62f2(0x551)](new Error(_0x19d17d[_0x1f62f2(0x268)][_0x1f62f2(0x617)]));_0xccdb37=_0x46c0c8[_0x1f62f2(0x4a5)];}catch{return this[_0x1f62f2(0x58b)](),Promise[_0x1f62f2(0x551)](new Error(_0x19d17d[_0x1f62f2(0x268)][_0x1f62f2(0x617)]));}return new Promise((_0x256fa5,_0x198745)=>{const _0x4ffd47=_0x1f62f2,_0x36c07=new FileReader();_0x36c07[_0x4ffd47(0x4d2)](_0x483542),_0x36c07[_0x4ffd47(0x53d)]=_0x3c46e6=>{const _0x1f6aae=_0x4ffd47;var _0x2d065a;const _0x1e73bd=(_0x2d065a=_0x3c46e6[_0x1f6aae(0x51f)])==null?void 0x0:_0x2d065a[_0x1f6aae(0x1d2)];if(_0x1e73bd==null){this['_decreaseWaiting'](),_0x198745(new Error(_0x19d17d['ImageUploadStatusType'][_0x1f6aae(0x617)]));return;}const _0x5aea2c=_0x260eff[_0x1f6aae(0x3e7)][_0x1f6aae(0x2d1)](0x6);_0x256fa5({'imageId':_0x5aea2c,'imageSourceType':_0x19d17d[_0x1f6aae(0x321)]['UUID'],'source':_0xccdb37,'base64Cache':_0x1e73bd,'status':_0x19d17d[_0x1f6aae(0x268)][_0x1f6aae(0x4f3)]}),this[_0x1f6aae(0x58b)]();};});}['_getUploadFileURL'](){const _0x29fbe5=_0x5e0aad;var _0x26dc98,_0x1a9512;const _0x2293c3=this[_0x29fbe5(0x350)][_0x29fbe5(0x21b)](_0x3c9cfc),_0xa8d78e=this[_0x29fbe5(0x350)]['getConfig'](_0x48905f);return(_0x1a9512=(_0x26dc98=_0xa8d78e==null?void 0x0:_0xa8d78e[_0x29fbe5(0x2e3)])!=null?_0x26dc98:_0x2293c3)!=null?_0x1a9512:_0x245155;}[_0x5e0aad(0x27d)](){const _0x20fa70=_0x5e0aad;var _0xcd4bea,_0x23c802;const _0x30b8e9=this[_0x20fa70(0x350)]['getConfig'](_0x34649e),_0x16cfa4=this[_0x20fa70(0x350)][_0x20fa70(0x21b)](_0x48905f);return(_0x23c802=(_0xcd4bea=_0x16cfa4==null?void 0x0:_0x16cfa4['signUrlServerUrl'])!=null?_0xcd4bea:_0x30b8e9)!=null?_0x23c802:_0x560b4b;}[_0x5e0aad(0x44a)](){const _0x4b7689=_0x5e0aad;var _0xc66f3a;const _0xd44b7b=this[_0x4b7689(0x350)]['getConfig'](_0x48905f);return(_0xc66f3a=_0xd44b7b==null?void 0x0:_0xd44b7b[_0x4b7689(0x28e)])!=null?_0xc66f3a:location['origin'];}[_0x5e0aad(0x5b6)](_0x307e8a,_0x287619){const _0x3b55c6=_0x5e0aad;return _0x307e8a['replace'](_0x3b55c6(0x426),_0x287619);}['_decreaseWaiting'](){const _0x39502c=_0x5e0aad;this['_waitCount']-=0x1,this[_0x39502c(0x2a1)][_0x39502c(0x4ca)](this['_waitCount']);}},_0xc68ebf[_0x5e0aad(0x25b)]=_0x41f0a4([_0x182f52(0x0,_0x260eff[_0x5e0aad(0x34e)](_0x155315[_0x5e0aad(0x522)])),_0x182f52(0x1,_0x260eff[_0x5e0aad(0x55e)]),_0x182f52(0x2,_0x260eff[_0x5e0aad(0x34e)](_0x260eff[_0x5e0aad(0x44d)]))],_0xc68ebf[_0x5e0aad(0x25b)]);var _0x1df1fd=Object[_0x5e0aad(0x2e4)],_0x18d322=Object[_0x5e0aad(0x585)],_0x342879=(_0x5c88e9,_0x38b01e,_0x5da6bf,_0x2fb57b)=>{for(var _0x154738=_0x2fb57b>0x1?void 0x0:_0x2fb57b?_0x18d322(_0x38b01e,_0x5da6bf):_0x38b01e,_0x2e86c7=_0x5c88e9['length']-0x1,_0x11977d;_0x2e86c7>=0x0;_0x2e86c7--)(_0x11977d=_0x5c88e9[_0x2e86c7])&&(_0x154738=(_0x2fb57b?_0x11977d(_0x38b01e,_0x5da6bf,_0x154738):_0x11977d(_0x154738))||_0x154738);return _0x2fb57b&&_0x154738&&_0x1df1fd(_0x38b01e,_0x5da6bf,_0x154738),_0x154738;},_0x36c7c7=(_0xbd0cd1,_0x22b890)=>(_0x3c624b,_0x1d2b83)=>_0x22b890(_0x3c624b,_0x1d2b83,_0xbd0cd1);let _0x3274d0=class extends _0x260eff[_0x5e0aad(0x1b1)]{constructor(_0x30e461,_0x128be6,_0x42a0bb,_0x37790e,_0x25ae3a){const _0x3ae1b2=_0x5e0aad;super(),this[_0x3ae1b2(0x2a2)]=_0x30e461,this[_0x3ae1b2(0x434)]=_0x128be6,this['_permissionService']=_0x42a0bb,this[_0x3ae1b2(0x1c8)]=_0x37790e,this['_localeService']=_0x25ae3a,this[_0x3ae1b2(0x2cf)](),this['_initCloseConn']();}['_initCloseConn'](){const _0x564e4e=_0x5e0aad,_0x19c1e5=async _0x15a556=>{const _0x21b0f9=_0x4e9c;(await this[_0x21b0f9(0x1c8)][_0x21b0f9(0x2b1)](_0x15a556))['event$'][_0x21b0f9(0x4f6)](_0x59f7e7[_0x21b0f9(0x2d9)](_0x59a559=>_0x59a559[_0x21b0f9(0x485)]===_0x11d062[_0x21b0f9(0x44c)][_0x21b0f9(0x1a5)]),_0x59f7e7[_0x21b0f9(0x248)](this[_0x21b0f9(0x34a)]))[_0x21b0f9(0x19e)](_0x124d29=>{const _0x357bcc=_0x21b0f9,_0x23aed9=_0x124d29,{reason:_0x7c1e17}=_0x23aed9[_0x357bcc(0x4ff)];this[_0x357bcc(0x2a2)][_0x357bcc(0x391)](_0x604b87['IMessageService'])['show']({'type':_0x5b25cc[_0x357bcc(0x363)][_0x357bcc(0x47d)],'content':this[_0x357bcc(0x3a4)]['t'](_0x357bcc(0x483))+'('+_0x7c1e17+')'}),this[_0x357bcc(0x368)][_0x357bcc(0x4ed)](new _0x47516e['WorkbookEditablePermission'](_0x15a556)['id'],!0x1),this['_collaborationSessionService'][_0x357bcc(0x2f9)](_0x15a556);});};_0x543965['merge'](this[_0x564e4e(0x434)][_0x564e4e(0x216)](_0x260eff[_0x564e4e(0x3d8)][_0x564e4e(0x31f)]),this[_0x564e4e(0x434)][_0x564e4e(0x216)](_0x260eff[_0x564e4e(0x3d8)][_0x564e4e(0x246)]))[_0x564e4e(0x4f6)](_0x59f7e7[_0x564e4e(0x2f4)](_0x3543f8=>_0x3543f8[_0x564e4e(0x1d7)]()),_0x59f7e7['filter'](_0x25706a=>!_0x260eff[_0x564e4e(0x464)](_0x25706a)),_0x59f7e7[_0x564e4e(0x248)](this['dispose$']))[_0x564e4e(0x19e)](_0xeb241f=>{_0x19c1e5(_0xeb241f);});}[_0x5e0aad(0x2cf)](){const _0x3bb80b=_0x5e0aad,_0x1f9e60=async _0x4ac607=>{const _0x28aa4f=_0x4e9c;(await this['_collaborationSessionService']['requireSession'](_0x4ac607))[_0x28aa4f(0x19a)][_0x28aa4f(0x4f6)](_0x59f7e7['filter'](_0x199ce4=>_0x199ce4[_0x28aa4f(0x485)]===_0x11d062['CollaborationEvent'][_0x28aa4f(0x538)]),_0x59f7e7[_0x28aa4f(0x248)](this['dispose$']))['subscribe'](_0x52af49=>{const _0x51c10d=_0x28aa4f,_0x259a60=_0x52af49,{objectId:_0x17926b}=_0x259a60['data'],_0x596d2d=this[_0x51c10d(0x2a2)][_0x51c10d(0x391)](_0x3393de[_0x51c10d(0x359)]);_0x17926b===_0x4ac607?_0x596d2d[_0x51c10d(0x5fd)](_0x4ac607):_0x596d2d[_0x51c10d(0x42d)](_0x4ac607,_0x17926b);});};_0x543965[_0x3bb80b(0x3ad)](this[_0x3bb80b(0x434)][_0x3bb80b(0x216)](_0x260eff[_0x3bb80b(0x3d8)][_0x3bb80b(0x31f)]),this['_univerInstanceService'][_0x3bb80b(0x216)](_0x260eff[_0x3bb80b(0x3d8)][_0x3bb80b(0x246)]))[_0x3bb80b(0x4f6)](_0x59f7e7[_0x3bb80b(0x2f4)](_0x2819c3=>_0x2819c3[_0x3bb80b(0x1d7)]()),_0x59f7e7[_0x3bb80b(0x2d9)](_0x4ad8eb=>!_0x260eff[_0x3bb80b(0x464)](_0x4ad8eb)),_0x59f7e7[_0x3bb80b(0x248)](this['dispose$']))[_0x3bb80b(0x19e)](_0x1c72a9=>{_0x1f9e60(_0x1c72a9);});}};_0x3274d0=_0x342879([_0x36c7c7(0x0,_0x260eff[_0x5e0aad(0x34e)](_0x260eff[_0x5e0aad(0x263)])),_0x36c7c7(0x1,_0x260eff[_0x5e0aad(0x44d)]),_0x36c7c7(0x2,_0x260eff['IPermissionService']),_0x36c7c7(0x3,_0x260eff['Inject'](_0xc68ebf[_0x5e0aad(0x573)])),_0x36c7c7(0x4,_0x260eff['Inject'](_0x260eff[_0x5e0aad(0x2a3)]))],_0x3274d0);var _0x347810=Object[_0x5e0aad(0x2e4)],_0x38dfe8=Object['getOwnPropertyDescriptor'],_0x194c47=(_0x13cbf9,_0x361f5b,_0x1a52ad,_0x1a2e31)=>{for(var _0x4a92f2=_0x1a2e31>0x1?void 0x0:_0x1a2e31?_0x38dfe8(_0x361f5b,_0x1a52ad):_0x361f5b,_0x12c703=_0x13cbf9['length']-0x1,_0x1cd949;_0x12c703>=0x0;_0x12c703--)(_0x1cd949=_0x13cbf9[_0x12c703])&&(_0x4a92f2=(_0x1a2e31?_0x1cd949(_0x361f5b,_0x1a52ad,_0x4a92f2):_0x1cd949(_0x4a92f2))||_0x4a92f2);return _0x1a2e31&&_0x4a92f2&&_0x347810(_0x361f5b,_0x1a52ad,_0x4a92f2),_0x4a92f2;},_0x30eb25=(_0x28dc55,_0x1666ad)=>(_0x10ad2a,_0x2decf5)=>_0x1666ad(_0x10ad2a,_0x2decf5,_0x28dc55);_0xc68ebf[_0x5e0aad(0x578)]=class{constructor(_0x502bbf,_0x38d81c){const _0x2f2f7e=_0x5e0aad;this[_0x2f2f7e(0x350)]=_0x502bbf,this['_httpService']=_0x38d81c;}async[_0x5e0aad(0x556)](_0x5b66d1,_0x3d6d5d){const _0x4f40a3=_0x5e0aad;var _0x149854;const {unitID:_0x416cc7,type:_0x2d9d42,revision:_0x10694d=0x0}=_0x3d6d5d,_0x496de8=this[_0x4f40a3(0x639)]()+'/'+_0x2d9d42+'/unit/'+_0x416cc7+_0x4f40a3(0x520)+_0x10694d,_0x2aa5fc=(await this[_0x4f40a3(0x599)][_0x4f40a3(0x391)](_0x496de8))[_0x4f40a3(0x1e8)],_0x78f2b6=(_0x149854=_0x2aa5fc[_0x4f40a3(0x260)])==null?void 0x0:_0x149854[_0x4f40a3(0x2b8)];if(_0x78f2b6){const _0x29d323=_0x78f2b6==null?void 0x0:_0x78f2b6['originalMeta'],_0x19d55f=_0x11d062[_0x4f40a3(0x57e)][_0x4f40a3(0x437)](_0x11d062[_0x4f40a3(0x63f)](_0x29d323));_0x78f2b6[_0x4f40a3(0x3ae)]=_0x19d55f,Object[_0x4f40a3(0x3b9)](_0x78f2b6[_0x4f40a3(0x2e7)])[_0x4f40a3(0x5f7)](([,_0x221e30])=>{const _0x476a95=_0x4f40a3,_0x28db49=_0x221e30[_0x476a95(0x3ae)],_0xd15068=_0x11d062['textEncoder'][_0x476a95(0x437)](_0x11d062[_0x476a95(0x63f)](_0x28db49));_0x221e30[_0x476a95(0x3ae)]=_0xd15068;});}return _0x2aa5fc;}async[_0x5e0aad(0x577)](_0x5c352d,_0x2dd3c5){const _0x213de5=_0x5e0aad,{unitID:_0xe545b,type:_0x120430,blockID:_0x2894a1}=_0x2dd3c5,_0x22962f=this[_0x213de5(0x51d)]()+'/'+_0x120430+_0x213de5(0x5a9)+_0xe545b+_0x213de5(0x3cd)+_0x2894a1;return(await this['_httpService'][_0x213de5(0x391)](_0x22962f))[_0x213de5(0x1e8)];}async[_0x5e0aad(0x4bf)](_0x42d061,_0x1759ce){const _0x430a72=_0x5e0aad,{unitID:_0x220f3c,type:_0x2b3510,blockID:_0x1146e6}=_0x1759ce,_0x136099=this[_0x430a72(0x51d)]()+_0x430a72(0x3cd)+_0x2b3510+_0x430a72(0x5a9)+_0x220f3c+_0x430a72(0x3cd)+_0x1146e6;return(await this[_0x430a72(0x599)][_0x430a72(0x391)](_0x136099))[_0x430a72(0x1e8)];}async[_0x5e0aad(0x2de)](_0xa1d4ff,_0x2d9243){const _0x36438e=_0x5e0aad,{unitID:_0x101443,type:_0x283d01,from:_0x4d38fe,to:_0x4c30da}=_0x2d9243,_0x550db5=this[_0x36438e(0x51d)]()+'/'+_0x283d01+_0x36438e(0x5a9)+_0x101443+_0x36438e(0x4e2)+_0x4d38fe+_0x36438e(0x405)+_0x4c30da;return(await this['_httpService'][_0x36438e(0x391)](_0x550db5))['body'];}[_0x5e0aad(0x639)](){const _0x85f487=_0x5e0aad;var _0x940b99;return(_0x940b99=this[_0x85f487(0x350)][_0x85f487(0x21b)](_0x1b2b84))!=null?_0x940b99:this[_0x85f487(0x51d)]();}[_0x5e0aad(0x51d)](){const _0x56e7a0=_0x5e0aad;var _0x13269e,_0x19dcdf;const _0x167fdb=this[_0x56e7a0(0x350)]['getConfig'](_0x7baa0b),_0xc1b7b1=this['_configService'][_0x56e7a0(0x21b)](_0x48905f);return(_0x19dcdf=(_0x13269e=_0xc1b7b1==null?void 0x0:_0xc1b7b1[_0x56e7a0(0x5be)])!=null?_0x13269e:_0x167fdb)!=null?_0x19dcdf:_0x160498;}async[_0x5e0aad(0x444)](_0xef77e3,_0x1de615){const _0x35eadd=_0x5e0aad,_0x460cb8='/universer-api/snapshot/'+_0x1de615[_0x35eadd(0x1d1)]+_0x35eadd(0x5a9)+_0x1de615['unitID']+_0x35eadd(0x432);return(await this[_0x35eadd(0x599)][_0x35eadd(0x391)](_0x460cb8,{'params':{'resourceId':JSON[_0x35eadd(0x4b8)](_0x1de615[_0x35eadd(0x497)])}}))[_0x35eadd(0x1e8)];}['saveSnapshot'](){const _0x48d470=_0x5e0aad;throw new Error(_0x48d470(0x567));}[_0x5e0aad(0x430)](){const _0x1c373e=_0x5e0aad;throw new Error(_0x1c373e(0x567));}[_0x5e0aad(0x2dd)](){const _0x16987f=_0x5e0aad;throw new Error(_0x16987f(0x567));}[_0x5e0aad(0x3f7)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5e0aad(0x2ce)](){const _0x1d8c8b=_0x5e0aad;throw new Error(_0x1d8c8b(0x567));}},_0xc68ebf[_0x5e0aad(0x578)]=_0x194c47([_0x30eb25(0x0,_0x260eff['IConfigService']),_0x30eb25(0x1,_0x260eff[_0x5e0aad(0x34e)](_0x155315[_0x5e0aad(0x522)]))],_0xc68ebf['SnapshotServerOverHTTPService']);var _0x1f5913=Object[_0x5e0aad(0x2e4)],_0x43506a=Object[_0x5e0aad(0x585)],_0x2178bd=(_0x311fa1,_0x409a3e,_0x3867b0,_0x438441)=>{const _0x34fb1e=_0x5e0aad;for(var _0x40b22c=_0x438441>0x1?void 0x0:_0x438441?_0x43506a(_0x409a3e,_0x3867b0):_0x409a3e,_0x123fdd=_0x311fa1[_0x34fb1e(0x1cc)]-0x1,_0x341a0a;_0x123fdd>=0x0;_0x123fdd--)(_0x341a0a=_0x311fa1[_0x123fdd])&&(_0x40b22c=(_0x438441?_0x341a0a(_0x409a3e,_0x3867b0,_0x40b22c):_0x341a0a(_0x40b22c))||_0x40b22c);return _0x438441&&_0x40b22c&&_0x1f5913(_0x409a3e,_0x3867b0,_0x40b22c),_0x40b22c;},_0x560bc5=(_0x58f088,_0x5c8e22)=>(_0x190e8b,_0x5b0fc8)=>_0x5c8e22(_0x190e8b,_0x5b0fc8,_0x58f088);let _0x6c171a=class extends _0x260eff[_0x5e0aad(0x5f4)]{constructor(_0xad60c2,_0x38394c,_0x4b854b,_0x7bfdbb,_0xcb4a71){const _0x1b3578=_0x5e0aad;super(_0xad60c2,_0x38394c,_0x4b854b),this[_0x1b3578(0x549)]=_0x7bfdbb,this['_logService']=_0xcb4a71;}[_0x5e0aad(0x53f)](_0x32e725,_0x3780fa){const _0x2d8cce=_0x5e0aad,_0x14e30f=this[_0x2d8cce(0x60c)](_0x32e725);if(_0x14e30f)try{const _0x379a7a=this[_0x2d8cce(0x582)](_0x14e30f,_0x3780fa);this[_0x2d8cce(0x42a)](_0x32e725,_0x379a7a);}catch(_0xa9fa31){this['_logService'][_0x2d8cce(0x346)](_0x2d8cce(0x3c5),_0xa9fa31),this['_clearUndo'](_0x32e725);}const _0x4d4d03=this[_0x2d8cce(0x3fd)](_0x32e725);if(_0x4d4d03)try{const _0x36a24d=this[_0x2d8cce(0x582)](_0x4d4d03,_0x3780fa);this[_0x2d8cce(0x421)](_0x32e725,_0x36a24d);}catch(_0x4839db){this[_0x2d8cce(0x250)][_0x2d8cce(0x346)](_0x4839db),this[_0x2d8cce(0x4b9)](_0x32e725);}}[_0x5e0aad(0x209)](_0x32c844){const _0xb85093=_0x5e0aad,_0x61516=this[_0xb85093(0x60c)](_0x32c844);_0x61516&&(_0x61516['length']=0x0,this['_updateStatus']());}['_clearRedo'](_0x13c9be){const _0x566a4d=_0x5e0aad,_0x1e4e2d=this[_0x566a4d(0x3fd)](_0x13c9be);_0x1e4e2d&&(_0x1e4e2d['length']=0x0,this[_0x566a4d(0x594)]());}[_0x5e0aad(0x42a)](_0x215290,_0x32aaaa){const _0x2ce5a1=_0x5e0aad;this[_0x2ce5a1(0x5d4)][_0x2ce5a1(0x5f3)](_0x215290,_0x32aaaa),this['_updateStatus']();}['_substituteRedoStack'](_0x4764c9,_0x49e7cb){const _0x3e2441=_0x5e0aad;this[_0x3e2441(0x1cd)][_0x3e2441(0x5f3)](_0x4764c9,_0x49e7cb),this[_0x3e2441(0x594)]();}[_0x5e0aad(0x582)](_0x9bbf1e,_0x245ffb){const _0x54adc6=_0x5e0aad,_0x22506d=[];let _0x9bf18c=_0x245ffb,_0x3796cf=_0x245ffb;for(let _0x1852fe=_0x9bbf1e[_0x54adc6(0x1cc)]-0x1;_0x1852fe>=0x0;_0x1852fe--){const {unitID:_0x2420ad,undoMutations:_0x380afd,redoMutations:_0x2fb2ea}=_0x9bbf1e[_0x1852fe],_0x5e5864=this[_0x54adc6(0x549)]['transformMutationsWithChangeset'](_0x9bf18c,_0x380afd),_0x4f9fed=this[_0x54adc6(0x549)][_0x54adc6(0x41f)](_0x3796cf,_0x2fb2ea);if(_0x11d062['isTransformMutationsWithChangesetFailure'](_0x5e5864)||_0x11d062[_0x54adc6(0x5a7)](_0x4f9fed)){this[_0x54adc6(0x250)][_0x54adc6(0x346)](_0x54adc6(0x3c5),_0x54adc6(0x1b8),_0x5e5864,_0x4f9fed);break;}_0x9bf18c=_0x5e5864[_0x54adc6(0x3d7)],_0x3796cf=_0x4f9fed['c1Prime'],_0x22506d[_0x54adc6(0x616)]({'unitID':_0x2420ad,'undoMutations':_0x5e5864[_0x54adc6(0x1ba)],'redoMutations':_0x4f9fed[_0x54adc6(0x1ba)]});}return _0x22506d[_0x54adc6(0x380)]();}};_0x6c171a=_0x2178bd([_0x560bc5(0x0,_0x260eff[_0x5e0aad(0x44d)]),_0x560bc5(0x1,_0x260eff[_0x5e0aad(0x61f)]),_0x560bc5(0x2,_0x260eff[_0x5e0aad(0x4ee)]),_0x560bc5(0x3,_0x11d062[_0x5e0aad(0x365)]),_0x560bc5(0x4,_0x260eff[_0x5e0aad(0x5a8)])],_0x6c171a);class _0x1da5d9 extends _0x260eff[_0x5e0aad(0x1b1)]{constructor(){const _0x55ef61=_0x5e0aad;super(),_0x133e34(this,_0x55ef61(0x406)),this[_0x55ef61(0x406)]=_0x543965['fromEvent'](window,_0x55ef61(0x4ae))[_0x55ef61(0x4f6)](_0x543965[_0x55ef61(0x248)](this[_0x55ef61(0x34a)]),_0x543965[_0x55ef61(0x530)](0x1),_0x543965[_0x55ef61(0x292)](void 0x0));}[_0x5e0aad(0x5d0)](_0x10b99c,_0x1377f3,_0x40d085=!0x1){const _0x18c8d3=_0x5e0aad,_0x1a8786=new URL(window[_0x18c8d3(0x37d)][_0x18c8d3(0x53c)]);_0x1a8786['searchParams'][_0x18c8d3(0x5f3)](_0x10b99c,_0x1377f3),_0x40d085?window[_0x18c8d3(0x42f)][_0x18c8d3(0x3ef)]('','',_0x1a8786[_0x18c8d3(0x2dc)]()):window['history'][_0x18c8d3(0x3a0)]('','',_0x1a8786['toString']());}['removeParam'](_0x11c6a5,_0x581fe6=!0x1){const _0x289b0c=_0x5e0aad,_0x322126=new URL(window[_0x289b0c(0x37d)][_0x289b0c(0x53c)]);_0x322126[_0x289b0c(0x32a)]['delete'](_0x11c6a5),_0x581fe6?window[_0x289b0c(0x42f)][_0x289b0c(0x3ef)]('','',_0x322126[_0x289b0c(0x2dc)]()):window[_0x289b0c(0x42f)][_0x289b0c(0x3a0)]('','',_0x322126[_0x289b0c(0x2dc)]());}['getParam'](_0x3660b3){const _0x148e4d=_0x5e0aad;var _0x301571;return(_0x301571=new URL(window[_0x148e4d(0x37d)]['href'])[_0x148e4d(0x32a)]['get'](_0x3660b3))!=null?_0x301571:void 0x0;}}var _0x451c7b=Object['defineProperty'],_0x3937db=Object[_0x5e0aad(0x585)],_0x4dd488=(_0x10701a,_0x47d58a,_0x4c4d02)=>_0x47d58a in _0x10701a?_0x451c7b(_0x10701a,_0x47d58a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c4d02}):_0x10701a[_0x47d58a]=_0x4c4d02,_0x2da462=(_0x4d78ec,_0x55613f,_0x434e84,_0x436295)=>{for(var _0x3b2e04=_0x436295>0x1?void 0x0:_0x436295?_0x3937db(_0x55613f,_0x434e84):_0x55613f,_0x4ec115=_0x4d78ec['length']-0x1,_0x34484e;_0x4ec115>=0x0;_0x4ec115--)(_0x34484e=_0x4d78ec[_0x4ec115])&&(_0x3b2e04=(_0x436295?_0x34484e(_0x55613f,_0x434e84,_0x3b2e04):_0x34484e(_0x3b2e04))||_0x3b2e04);return _0x436295&&_0x3b2e04&&_0x451c7b(_0x55613f,_0x434e84,_0x3b2e04),_0x3b2e04;},_0x374aab=(_0x1c7205,_0x4273e1)=>(_0x5663e2,_0x5ead6a)=>_0x4273e1(_0x5663e2,_0x5ead6a,_0x1c7205),_0x211323=(_0x472f5b,_0x328ef2,_0x1cb159)=>_0x4dd488(_0x472f5b,_0x328ef2+'',_0x1cb159);const _0x4650b2='UNIVER_COLLABORATION_CLIENT_PLUGIN';_0xc68ebf[_0x5e0aad(0x1e7)]=class extends _0x260eff[_0x5e0aad(0x256)]{constructor(_0x374479=_0x3aef1e,_0x6734a6,_0x4db1f4,_0x49753e,_0x52c650){const _0x2f5446=_0x5e0aad;super(),this[_0x2f5446(0x415)]=_0x374479,this[_0x2f5446(0x250)]=_0x6734a6,this[_0x2f5446(0x384)]=_0x4db1f4,this['_injector']=_0x49753e,this[_0x2f5446(0x350)]=_0x52c650;const {..._0x280890}=this[_0x2f5446(0x415)];this[_0x2f5446(0x350)][_0x2f5446(0x1eb)](_0x48905f,_0x280890);}['onStarting'](){const _0x36aca3=_0x5e0aad;this[_0x36aca3(0x4e0)](),this[_0x36aca3(0x50d)]();}[_0x5e0aad(0x60f)](){const _0x5033b0=_0x5e0aad;_0x260eff[_0x5033b0(0x35f)](this[_0x5033b0(0x2a2)],[[_0x3fb254]]);}['onRendered'](){const _0x10c61e=_0x5e0aad;this[_0x10c61e(0x323)]();}[_0x5e0aad(0x4e0)](){const _0x1bfd5e=_0x5e0aad;var _0x20254b,_0x462e35,_0x5f0a12,_0x2513df;this['_injector'][_0x1bfd5e(0x534)](_0x260eff[_0x1bfd5e(0x4f7)])&&this[_0x1bfd5e(0x250)]['error'](_0x1bfd5e(0x5cd),_0x1bfd5e(0x466));const _0x3a29a5=[[_0x260eff[_0x1bfd5e(0x4f7)],{'useClass':_0x6c171a}],[_0xc68ebf[_0x1bfd5e(0x573)]],[_0xdcd0b5],[_0x464247,{'useClass':_0x1da5d9}],[_0xc68ebf['MemberService']],[_0xc68ebf[_0x1bfd5e(0x257)]],[_0x155315[_0x1bfd5e(0x280)]],[_0x5642f4],[_0x4fa77a],[_0x517100],[_0x567b03],[_0x5a52b4],[_0x461190],[_0x52b413],[_0x1e9033],[_0x3274d0],[_0x2e3395,{'useClass':(_0x462e35=(_0x20254b=this[_0x1bfd5e(0x415)])==null?void 0x0:_0x20254b['socketService'])!=null?_0x462e35:_0xc68ebf['CollaborationSocketService']}],[_0x11d062[_0x1bfd5e(0x2a5)],{'useClass':_0xc68ebf['SnapshotServerOverHTTPService']}],[_0x260eff[_0x1bfd5e(0x5b1)],{'useClass':_0xc68ebf[_0x1bfd5e(0x208)]}],[_0x19d17d[_0x1bfd5e(0x373)],{'useClass':_0xc68ebf[_0x1bfd5e(0x25b)]}],[_0xc68ebf[_0x1bfd5e(0x414)]],[_0xc68ebf[_0x1bfd5e(0x56b)]],[_0xc68ebf[_0x1bfd5e(0x493)]],[_0x3fb254],[_0x450ee9]];(_0x5f0a12=this[_0x1bfd5e(0x415)])!=null&&_0x5f0a12[_0x1bfd5e(0x5ea)]&&_0x3a29a5[_0x1bfd5e(0x616)]([_0x34d4d6,{'useClass':_0x4b72bd}]),_0x260eff[_0x1bfd5e(0x409)](this[_0x1bfd5e(0x2a2)],_0x260eff[_0x1bfd5e(0x635)](_0x3a29a5,(_0x2513df=this[_0x1bfd5e(0x415)])==null?void 0x0:_0x2513df[_0x1bfd5e(0x354)]));}['_registerRenderDependencies'](){const _0x46fae5=_0x5e0aad;this[_0x46fae5(0x539)](this[_0x46fae5(0x384)][_0x46fae5(0x31d)](_0x260eff['UniverInstanceType'][_0x46fae5(0x246)],[_0x28fd97])),this[_0x46fae5(0x539)](this[_0x46fae5(0x384)][_0x46fae5(0x31d)](_0x260eff[_0x46fae5(0x3d8)]['UNIVER_SHEET'],[_0x524d2b]));}[_0x5e0aad(0x50d)](){const _0x4a7acb=_0x5e0aad;var _0xd319b8,_0x1206b9;this[_0x4a7acb(0x2a2)][_0x4a7acb(0x391)](_0x155315['HTTPService'])[_0x4a7acb(0x388)]({'priority':0x14,'interceptor':_0x155315[_0x4a7acb(0x5eb)]({'maxParallel':0x6})}),(_0xd319b8=this[_0x4a7acb(0x415)])!=null&&_0xd319b8[_0x4a7acb(0x56e)]||this[_0x4a7acb(0x2a2)]['get'](_0xc68ebf[_0x4a7acb(0x257)])[_0x4a7acb(0x5e0)](),(_0x1206b9=this[_0x4a7acb(0x415)])!=null&&_0x1206b9[_0x4a7acb(0x2a4)]&&_0x260eff[_0x4a7acb(0x35f)](this[_0x4a7acb(0x2a2)],[[_0x461190]]),_0x260eff[_0x4a7acb(0x35f)](this[_0x4a7acb(0x2a2)],[[_0x52b413],[_0x450ee9],[_0xc68ebf[_0x4a7acb(0x56b)]],[_0xc68ebf[_0x4a7acb(0x414)]],[_0xc68ebf[_0x4a7acb(0x493)]],[_0x3274d0]]);}},_0x211323(_0xc68ebf[_0x5e0aad(0x1e7)],'pluginName',_0x4650b2),_0xc68ebf[_0x5e0aad(0x1e7)]=_0x2da462([_0x260eff[_0x5e0aad(0x1c1)](_0x11d062[_0x5e0aad(0x4d7)],_0x155315[_0x5e0aad(0x287)]),_0x374aab(0x1,_0x260eff[_0x5e0aad(0x5a8)]),_0x374aab(0x2,_0x1f079c[_0x5e0aad(0x4ef)]),_0x374aab(0x3,_0x260eff[_0x5e0aad(0x34e)](_0x260eff['Injector'])),_0x374aab(0x4,_0x260eff[_0x5e0aad(0x55e)])],_0xc68ebf[_0x5e0aad(0x1e7)]),_0xc68ebf['AUTHZ_URL_KEY']=_0x1e0a3a,_0xc68ebf[_0x5e0aad(0x423)]=_0x9131fa,_0xc68ebf[_0x5e0aad(0x649)]=_0x3e0ff9,_0xc68ebf[_0x5e0aad(0x386)]=_0x198fc6,_0xc68ebf[_0x5e0aad(0x1f9)]=_0x5c30ae,_0xc68ebf['CommentService']=_0x1e9033,_0xc68ebf[_0x5e0aad(0x327)]=_0x337e6a,_0xc68ebf[_0x5e0aad(0x3b2)]=_0x382caf,_0xc68ebf[_0x5e0aad(0x5b2)]=_0x2e3395,_0xc68ebf['IURLService']=_0x464247,_0xc68ebf[_0x5e0aad(0x3e0)]=_0x514025,_0xc68ebf[_0x5e0aad(0x2df)]=_0x38bbff,_0xc68ebf[_0x5e0aad(0x48e)]=_0x347671,_0xc68ebf['SEND_CHANGESET_TIMEOUT_KEY']=_0x1f76de,_0xc68ebf[_0x5e0aad(0x3ab)]=_0x7baa0b,_0xc68ebf[_0x5e0aad(0x5cb)]=_0x1b2b84,_0xc68ebf['SessionStatus']=_0x55a137,_0xc68ebf['SheetCollabCursorShape']=_0x21275c,_0xc68ebf['WebURLService']=_0x1da5d9,_0xc68ebf[_0x5e0aad(0x46e)]=_0x257780,_0xc68ebf[_0x5e0aad(0x64c)]=_0x2e7376,Object[_0x5e0aad(0x2e4)](_0xc68ebf,Symbol[_0x5e0aad(0x417)],{'value':_0x5e0aad(0x1e9)});}));
|
1
|
+
(function(_0x15b320,_0x5c9d2a){const _0x55e9c5=_0x3e32,_0x348a51=_0x15b320();while(!![]){try{const _0x545fcf=parseInt(_0x55e9c5(0x1d0))/0x1*(parseInt(_0x55e9c5(0x4f5))/0x2)+-parseInt(_0x55e9c5(0xf0))/0x3+-parseInt(_0x55e9c5(0x295))/0x4+-parseInt(_0x55e9c5(0x29f))/0x5*(-parseInt(_0x55e9c5(0x35c))/0x6)+parseInt(_0x55e9c5(0x244))/0x7*(-parseInt(_0x55e9c5(0x87))/0x8)+-parseInt(_0x55e9c5(0x14f))/0x9*(-parseInt(_0x55e9c5(0xf5))/0xa)+-parseInt(_0x55e9c5(0x138))/0xb*(-parseInt(_0x55e9c5(0x273))/0xc);if(_0x545fcf===_0x5c9d2a)break;else _0x348a51['push'](_0x348a51['shift']());}catch(_0x289e81){_0x348a51['push'](_0x348a51['shift']());}}}(_0x5175,0xcd881),function(_0x5a2f7a,_0x5a5869){const _0x382781=_0x3e32;typeof exports==_0x382781(0x3d7)&&typeof module<'u'?_0x5a5869(exports,require('@univerjs/core'),require('rxjs'),require('rxjs/operators'),require(_0x382781(0x42e)),require(_0x382781(0x2c3)),require(_0x382781(0xd4)),require(_0x382781(0x6b)),require('@univerjs/telemetry'),require(_0x382781(0x430)),require(_0x382781(0x4b0)),require(_0x382781(0xb4)),require(_0x382781(0x369)),require(_0x382781(0x459)),require(_0x382781(0x1b9)),require(_0x382781(0x29b)),require(_0x382781(0x49c)),require(_0x382781(0x3b2))):typeof define=='function'&&define[_0x382781(0x68)]?define([_0x382781(0x1a3),_0x382781(0x1eb),'rxjs','rxjs/operators',_0x382781(0x42e),'@univerjs/ui',_0x382781(0xd4),_0x382781(0x6b),_0x382781(0x205),_0x382781(0x430),_0x382781(0x4b0),_0x382781(0xb4),_0x382781(0x369),'@univerjs/drawing',_0x382781(0x1b9),_0x382781(0x29b),_0x382781(0x49c),_0x382781(0x3b2)],_0x5a5869):(_0x5a2f7a=typeof globalThis<'u'?globalThis:_0x5a2f7a||self,_0x5a5869(_0x5a2f7a[_0x382781(0x2b3)]={},_0x5a2f7a['UniverCore'],_0x5a2f7a[_0x382781(0x508)],_0x5a2f7a['rxjs']['operators'],_0x5a2f7a['UniverDesign'],_0x5a2f7a['UniverUi'],_0x5a2f7a['UniverNetwork'],_0x5a2f7a['UniverCollaboration'],_0x5a2f7a[_0x382781(0x257)],_0x5a2f7a[_0x382781(0x3f8)],_0x5a2f7a[_0x382781(0x462)],_0x5a2f7a[_0x382781(0x521)],_0x5a2f7a[_0x382781(0x1c7)],_0x5a2f7a[_0x382781(0x2d0)],_0x5a2f7a[_0x382781(0x514)],_0x5a2f7a[_0x382781(0x492)],_0x5a2f7a[_0x382781(0x4f6)],_0x5a2f7a[_0x382781(0x208)]));}(this,function(_0x1b5475,_0x3d563c,_0x10d074,_0x2da86d,_0x4278c0,_0xe60abc,_0x1571b5,_0x520737,_0x2ebcee,_0x4212a5,_0xa13da4,_0x1c2dd3,_0x2fb3a7,_0x1c4a0c,_0x396f5d,_0x17ef8a,_0x36973f,_0x2a98ea){'use strict';const _0x416c04=_0x3e32;var _0x3da0a7=Object['defineProperty'],_0x2f0ec8=(_0x27602d,_0x36ec6a,_0x555794)=>_0x36ec6a in _0x27602d?_0x3da0a7(_0x27602d,_0x36ec6a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x555794}):_0x27602d[_0x36ec6a]=_0x555794,_0x10d0d4=(_0x3e1bcf,_0x1eac5b,_0x50b257)=>_0x2f0ec8(_0x3e1bcf,typeof _0x1eac5b!='symbol'?_0x1eac5b+'':_0x1eac5b,_0x50b257);const _0x3f11d2='SNAPSHOT_SERVER_URL_KEY',_0x473ff6=_0x416c04(0x407),_0x53b089=_0x416c04(0x278),_0xc3daa4=_0x416c04(0x469),_0x169f82=_0x416c04(0x2a1),_0x3b81a5='ws://127.0.0.1:8000/universer-api/comb/connect',_0x27c0a6='HEARTBEAT_INTERVAL',_0x3afe73='HEARTBEAT_TIMEOUT',_0x11cf4c=_0x416c04(0x4a4),_0x539678=_0x416c04(0x2d9),_0x31b7d6='COLLAB_SUBMIT_CHANGESET_URL',_0x51269f=_0x416c04(0xe3),_0x2e3666=_0x416c04(0x3de),_0x214b23=_0x416c04(0x531);var _0x5d073a=(_0x57aed6=>(_0x57aed6[_0x57aed6[_0x416c04(0x1ee)]=0x0]=_0x416c04(0x1ee),_0x57aed6[_0x57aed6['OK']=0x1]='OK',_0x57aed6[_0x57aed6['INTERNAL_ERROR']=0x2]=_0x416c04(0x1a9),_0x57aed6[_0x57aed6['PERMISSION_DENIED']=0x3]=_0x416c04(0x22c),_0x57aed6[_0x57aed6[_0x416c04(0x353)]=0x4]=_0x416c04(0x353),_0x57aed6[_0x57aed6[_0x416c04(0x360)]=0x5]=_0x416c04(0x360),_0x57aed6[_0x57aed6['ALREADY_EXISTS']=0x6]=_0x416c04(0x47a),_0x57aed6[_0x57aed6[_0x416c04(0xc0)]=0x7]='INVALID_ARGUMENT',_0x57aed6[_0x57aed6[_0x416c04(0xf2)]=0x8]=_0x416c04(0xf2),_0x57aed6[_0x57aed6[_0x416c04(0x215)]=0x9]=_0x416c04(0x215),_0x57aed6[_0x57aed6[_0x416c04(0x228)]=0x1389]=_0x416c04(0x228),_0x57aed6[_0x57aed6[_0x416c04(0x3b6)]=0x1771]=_0x416c04(0x3b6),_0x57aed6[_0x57aed6[_0x416c04(0xdd)]=0x1772]=_0x416c04(0xdd),_0x57aed6[_0x57aed6['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x416c04(0x200),_0x57aed6[_0x57aed6[_0x416c04(0x301)]=0x1b59]=_0x416c04(0x301),_0x57aed6[_0x57aed6[_0x416c04(0x1c1)]=0x1b5a]=_0x416c04(0x1c1),_0x57aed6[_0x57aed6[_0x416c04(0x475)]=0x1b5b]=_0x416c04(0x475),_0x57aed6[_0x57aed6[_0x416c04(0x2d4)]=0x1b5c]=_0x416c04(0x2d4),_0x57aed6[_0x57aed6['APPLY_DUPLICATED']=0x1b5d]=_0x416c04(0xc3),_0x57aed6[_0x57aed6[_0x416c04(0x37b)]=0x1f41]=_0x416c04(0x37b),_0x57aed6[_0x57aed6['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x416c04(0xee),_0x57aed6[_0x57aed6[_0x416c04(0x503)]=0x232a]=_0x416c04(0x503),_0x57aed6[_0x57aed6[_0x416c04(0x1af)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x57aed6[_0x57aed6[_0x416c04(0x417)]=0x232c]=_0x416c04(0x417),_0x57aed6[_0x57aed6[_0x416c04(0x3a7)]=0x232d]=_0x416c04(0x3a7),_0x57aed6[_0x57aed6['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x416c04(0x1ce),_0x57aed6[_0x57aed6[_0x416c04(0xf1)]=0x2712]=_0x416c04(0xf1),_0x57aed6[_0x57aed6[_0x416c04(0x2cb)]=0x2713]=_0x416c04(0x2cb),_0x57aed6[_0x57aed6[_0x416c04(0x498)]=0x2714]=_0x416c04(0x498),_0x57aed6[_0x57aed6[_0x416c04(0x445)]=-0x1]=_0x416c04(0x445),_0x57aed6))(_0x5d073a||{}),_0x2cf20e=(_0x345394=>(_0x345394[_0x345394[_0x416c04(0xd1)]=0x0]=_0x416c04(0xd1),_0x345394[_0x345394[_0x416c04(0x465)]=0x1]='UNIVER_DOC',_0x345394[_0x345394[_0x416c04(0x2ec)]=0x2]=_0x416c04(0x2ec),_0x345394[_0x345394[_0x416c04(0x4c6)]=0x3]='UNIVER_SLIDE',_0x345394[_0x345394[_0x416c04(0x8f)]=0x4]=_0x416c04(0x8f),_0x345394[_0x345394[_0x416c04(0x445)]=-0x1]=_0x416c04(0x445),_0x345394))(_0x2cf20e||{}),_0x1ca14f=(_0xc9002e=>(_0xc9002e[_0xc9002e['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0xc9002e[_0xc9002e['HELLO']=0x1]=_0x416c04(0x17a),_0xc9002e[_0xc9002e['JOIN']=0x2]=_0x416c04(0x2e5),_0xc9002e[_0xc9002e[_0x416c04(0x474)]=0x3]=_0x416c04(0x474),_0xc9002e[_0xc9002e[_0x416c04(0x98)]=0x4]=_0x416c04(0x98),_0xc9002e[_0xc9002e[_0x416c04(0x4fc)]=0x5]=_0x416c04(0x4fc),_0xc9002e[_0xc9002e[_0x416c04(0x2d8)]=0x6]=_0x416c04(0x2d8),_0xc9002e[_0xc9002e['UNRECOGNIZED']=-0x1]=_0x416c04(0x445),_0xc9002e))(_0x1ca14f||{}),_0x40ff34=(_0x4be701=>(_0x4be701[_0x4be701[_0x416c04(0x322)]=0x0]='UNKNOWN_CODE',_0x4be701[_0x4be701['OK']=0x1]='OK',_0x4be701[_0x4be701[_0x416c04(0x24f)]=0x2]='FAIL',_0x4be701[_0x4be701['UNRECOGNIZED']=-0x1]=_0x416c04(0x445),_0x4be701))(_0x40ff34||{}),_0x17b2a1=(_0x457f36=>(_0x457f36[_0x457f36[_0x416c04(0xff)]=0x0]=_0x416c04(0xff),_0x457f36[_0x457f36[_0x416c04(0x504)]=0x1]=_0x416c04(0x504),_0x457f36[_0x457f36[_0x416c04(0x2c8)]=0x2]=_0x416c04(0x2c8),_0x457f36[_0x457f36[_0x416c04(0x10a)]=0x3]=_0x416c04(0x10a),_0x457f36[_0x457f36[_0x416c04(0x332)]=0x4]=_0x416c04(0x332),_0x457f36[_0x457f36[_0x416c04(0x445)]=-0x1]='UNRECOGNIZED',_0x457f36))(_0x17b2a1||{});const _0x40a44f=_0x416c04(0x27a),_0x4dcecf={};function _0xc823af(_0x31fa2c){const _0x2e6a5d=_0x416c04;var _0x41f32c,_0x42bd3c,_0x26fc76,_0x9ac3fb,_0x54557b;const _0x2f899c=_0x31fa2c[_0x2e6a5d(0xa1)],_0x4656d1=JSON['parse'](_0x2f899c);switch(_0x4656d1['cmd']){case _0x1ca14f[_0x2e6a5d(0x4fc)]:case _0x1ca14f[_0x2e6a5d(0x17a)]:{const _0x241fe8=_0x4656d1[_0x2e6a5d(0x361)];return{..._0x4656d1,'data':_0x241fe8,'cmd':_0x4656d1[_0x2e6a5d(0x434)]};}case _0x1ca14f[_0x2e6a5d(0x2e5)]:{const _0xbee87e=_0x4656d1['joinRsp'];return{..._0x4656d1,'data':_0xbee87e,'cmd':_0x4656d1[_0x2e6a5d(0x434)]};}case _0x1ca14f[_0x2e6a5d(0x2d8)]:{const _0xa5b988=_0x4656d1[_0x2e6a5d(0x1ef)];switch(_0xa5b988[_0x2e6a5d(0xac)]){case _0x520737[_0x2e6a5d(0x52d)][_0x2e6a5d(0x46b)]:return{..._0x4656d1,'data':{..._0xa5b988,'data':(_0x41f32c=_0xa5b988[_0x2e6a5d(0x43d)])==null?void 0x0:_0x41f32c['cs']},'cmd':_0x4656d1[_0x2e6a5d(0x434)]};case _0x520737[_0x2e6a5d(0x52d)][_0x2e6a5d(0x4d0)]:return{..._0x4656d1,'data':{..._0xa5b988,'data':(_0x42bd3c=_0xa5b988['csAckEvent'])==null?void 0x0:_0x42bd3c['cs']},'cmd':_0x4656d1[_0x2e6a5d(0x434)]};case _0x520737[_0x2e6a5d(0x52d)][_0x2e6a5d(0xfa)]:return{..._0x4656d1,'data':{..._0xa5b988,'data':(_0x26fc76=_0xa5b988[_0x2e6a5d(0x1d9)])==null?void 0x0:_0x26fc76['cs']},'cmd':_0x4656d1[_0x2e6a5d(0x434)]};case _0x520737['CollaborationEvent']['CHANGESET_REJ']:return{..._0x4656d1,'data':{..._0xa5b988,'data':(_0x9ac3fb=_0xa5b988[_0x2e6a5d(0x46d)])==null?void 0x0:_0x9ac3fb['cs']},'cmd':_0x4656d1['cmd']};case _0x520737[_0x2e6a5d(0x52d)][_0x2e6a5d(0x40e)]:return{..._0x4656d1,'data':{..._0xa5b988,'data':(_0x54557b=_0xa5b988[_0x2e6a5d(0x2fb)])==null?void 0x0:_0x54557b['cs']},'cmd':_0x4656d1['cmd']};case _0x520737[_0x2e6a5d(0x52d)][_0x2e6a5d(0x147)]:return{..._0x4656d1,'data':{..._0xa5b988,'data':_0xa5b988[_0x2e6a5d(0x451)]},'cmd':_0x4656d1[_0x2e6a5d(0x434)]};case _0x520737[_0x2e6a5d(0x52d)][_0x2e6a5d(0x282)]:return{..._0x4656d1,'data':{..._0xa5b988,'data':_0xa5b988['joinEvent']},'cmd':_0x4656d1['cmd']};case _0x520737[_0x2e6a5d(0x52d)][_0x2e6a5d(0x43e)]:return{..._0x4656d1,'data':{..._0xa5b988,'data':_0xa5b988[_0x2e6a5d(0x3a2)]},'cmd':_0x4656d1[_0x2e6a5d(0x434)]};case _0x520737['CollaborationEvent'][_0x2e6a5d(0x1e4)]:return{..._0x4656d1,'data':{..._0xa5b988,'data':_0xa5b988[_0x2e6a5d(0x8e)]},'cmd':_0x4656d1[_0x2e6a5d(0x434)]};case _0x520737['CollaborationEvent'][_0x2e6a5d(0x7c)]:case _0x520737[_0x2e6a5d(0x52d)]['LIVESHARE_OPERATION']:return{..._0x4656d1,'data':{..._0xa5b988,'data':_0xa5b988[_0x2e6a5d(0x3f4)]},'cmd':_0x4656d1[_0x2e6a5d(0x434)]};case _0x520737[_0x2e6a5d(0x52d)][_0x2e6a5d(0x334)]:return{..._0x4656d1,'data':{..._0xa5b988,'data':_0xa5b988[_0x2e6a5d(0x8e)]},'cmd':_0x4656d1[_0x2e6a5d(0x434)]};case _0x520737[_0x2e6a5d(0x52d)][_0x2e6a5d(0x19e)]:return{..._0x4656d1,'data':_0xa5b988,'cmd':_0x4656d1[_0x2e6a5d(0x434)]};case _0x520737[_0x2e6a5d(0x52d)]['COMMENT_UPDATE']:return{..._0x4656d1,'data':{..._0xa5b988,'data':_0xa5b988[_0x2e6a5d(0x1a5)]},'cmd':_0x4656d1[_0x2e6a5d(0x434)]};case _0x520737[_0x2e6a5d(0x52d)][_0x2e6a5d(0x378)]:return{..._0x4656d1,'data':{..._0xa5b988,'data':_0xa5b988['updatePermissionObjEvent']},'cmd':_0x4656d1[_0x2e6a5d(0x434)]};case _0x520737[_0x2e6a5d(0x52d)][_0x2e6a5d(0x27c)]:return{..._0x4656d1,'data':{..._0xa5b988,'data':_0xa5b988[_0x2e6a5d(0x52b)]},'cmd':_0x4656d1[_0x2e6a5d(0x434)]};default:return _0x4656d1;}}default:return _0x4656d1;}}function _0x3a3f64(_0x46df35){const _0x669187=_0x416c04;switch(_0x46df35[_0x669187(0x434)]){case _0x1ca14f[_0x669187(0x4fc)]:case _0x1ca14f['HELLO']:return JSON[_0x669187(0x420)]({'cmd':_0x46df35[_0x669187(0x434)],'routeKey':_0x46df35[_0x669187(0x1d2)]});case _0x1ca14f[_0x669187(0x98)]:{let _0x55e2d2;switch(_0x46df35['data']['eventID']){case _0x520737[_0x669187(0x52d)][_0x669187(0x147)]:{_0x55e2d2={'eventID':_0x520737[_0x669187(0x52d)][_0x669187(0x147)],'updateCursorEvent':_0x46df35[_0x669187(0xa1)]['data']};break;}case _0x520737[_0x669187(0x52d)][_0x669187(0x43e)]:{_0x55e2d2={'eventID':_0x520737[_0x669187(0x52d)][_0x669187(0x43e)],'leaveEvent':_0x46df35['data'][_0x669187(0xa1)]};break;}case _0x520737[_0x669187(0x52d)]['USERS_ENTER']:{_0x55e2d2={'eventID':_0x520737[_0x669187(0x52d)][_0x669187(0x282)],'joinEvent':_0x46df35[_0x669187(0xa1)][_0x669187(0xa1)]};break;}case _0x520737[_0x669187(0x52d)][_0x669187(0x1e4)]:{_0x55e2d2={'eventID':_0x520737[_0x669187(0x52d)][_0x669187(0x1e4)],'liveShareNewHost':_0x46df35[_0x669187(0xa1)][_0x669187(0xa1)]};break;}case _0x520737[_0x669187(0x52d)][_0x669187(0x33e)]:{_0x55e2d2={'eventID':_0x520737[_0x669187(0x52d)][_0x669187(0x33e)],'liveShareOperation':_0x46df35[_0x669187(0xa1)][_0x669187(0xa1)]};break;}case _0x520737[_0x669187(0x52d)][_0x669187(0x334)]:{_0x55e2d2={'eventID':_0x520737['CollaborationEvent'][_0x669187(0x334)],'liveShareTerminate':_0x46df35[_0x669187(0xa1)][_0x669187(0xa1)]};break;}case _0x520737[_0x669187(0x52d)][_0x669187(0x143)]:{_0x55e2d2={'eventID':_0x520737[_0x669187(0x52d)][_0x669187(0x143)],'liveShareRequestHost':_0x46df35[_0x669187(0xa1)][_0x669187(0xa1)]};break;}case _0x520737[_0x669187(0x52d)][_0x669187(0x7c)]:{_0x55e2d2={'eventID':_0x520737[_0x669187(0x52d)][_0x669187(0x7c)]};break;}default:_0x55e2d2={'eventID':_0x46df35[_0x669187(0xa1)][_0x669187(0xac)]};}return JSON['stringify']({'cmd':_0x46df35[_0x669187(0x434)],'routeKey':_0x46df35[_0x669187(0x1d2)],'collaMsg':_0x55e2d2});}case _0x1ca14f[_0x669187(0x2e5)]:return JSON[_0x669187(0x420)]({'cmd':_0x46df35[_0x669187(0x434)],'routeKey':_0x46df35[_0x669187(0x1d2)],'joinReq':_0x46df35[_0x669187(0xa1)]});case _0x1ca14f[_0x669187(0x474)]:return JSON[_0x669187(0x420)]({'cmd':_0x46df35[_0x669187(0x434)],'routeKey':_0x46df35[_0x669187(0x1d2)],'leaveReq':_0x46df35['data']});default:throw new Error(_0x669187(0x48e));}}var _0x195b11=Object[_0x416c04(0x2e4)],_0xfde5dd=Object[_0x416c04(0x4e2)],_0x243aa3=(_0x5d8b40,_0xf6bb9d,_0x59993b,_0x1f9791)=>{const _0xa1f1e9=_0x416c04;for(var _0x1e2e24=_0x1f9791>0x1?void 0x0:_0x1f9791?_0xfde5dd(_0xf6bb9d,_0x59993b):_0xf6bb9d,_0x32b6b1=_0x5d8b40[_0xa1f1e9(0x26a)]-0x1,_0x463ff4;_0x32b6b1>=0x0;_0x32b6b1--)(_0x463ff4=_0x5d8b40[_0x32b6b1])&&(_0x1e2e24=(_0x1f9791?_0x463ff4(_0xf6bb9d,_0x59993b,_0x1e2e24):_0x463ff4(_0x1e2e24))||_0x1e2e24);return _0x1f9791&&_0x1e2e24&&_0x195b11(_0xf6bb9d,_0x59993b,_0x1e2e24),_0x1e2e24;},_0x451cd2=(_0x2a93b9,_0x15e1c4)=>(_0x5e6eae,_0x59afbf)=>_0x15e1c4(_0x5e6eae,_0x59afbf,_0x2a93b9);const _0xc96f73=_0x3d563c['createIdentifier'](_0x416c04(0xef));function _0x33e835(_0x5899c4,_0x337939,_0x42c49e){const _0x24d9bb=_0x416c04;return _0x5899c4+'/'+_0x337939+'/unit/'+_0x42c49e+_0x24d9bb(0x32f);}_0x1b5475[_0x416c04(0x36a)]=class extends _0x3d563c[_0x416c04(0x9d)]{constructor(_0xfa0b5b,_0x228634,_0x290d25,_0x4f0f0c,_0x5f3e2d){const _0x4a6df0=_0x416c04;super(),this[_0x4a6df0(0x3c5)]=_0xfa0b5b,this[_0x4a6df0(0x146)]=_0x228634,this[_0x4a6df0(0xd6)]=_0x290d25,this[_0x4a6df0(0x4ff)]=_0x4f0f0c,this[_0x4a6df0(0x71)]=_0x5f3e2d;}[_0x416c04(0x1ad)](_0x5e388a){const _0x367c6a=_0x416c04,_0xe17691=this[_0x367c6a(0x146)][_0x367c6a(0x1ad)](_0x5e388a);if(!_0xe17691)throw new Error(_0x367c6a(0x480));const _0x10c1d3=new _0x3d563c[(_0x367c6a(0x1bc))](),_0x266beb=new _0x10d074[(_0x367c6a(0x178))]();_0x10c1d3['add'](_0xe17691[_0x367c6a(0x3c9)]['subscribe'](_0x448d49=>_0x266beb[_0x367c6a(0x50f)](_0x448d49))),_0x10c1d3['add'](_0x3d563c[_0x367c6a(0x307)](()=>_0x266beb['complete']()));const _0x2e19a4=new _0x10d074[(_0x367c6a(0x178))]();_0x10c1d3['add'](_0xe17691[_0x367c6a(0x2c1)][_0x367c6a(0x31f)](_0x19259b=>_0x2e19a4[_0x367c6a(0x50f)](_0x19259b))),_0x10c1d3[_0x367c6a(0x44b)](_0x3d563c['toDisposable'](()=>_0x2e19a4[_0x367c6a(0x9f)]()));const _0x14b16e=new _0x10d074[(_0x367c6a(0x178))]();_0x10c1d3['add'](_0xe17691['message$'][_0x367c6a(0x31f)](_0x14f4ba=>{const _0x384ec4=_0x367c6a,_0xf1c53f=_0xc823af(_0x14f4ba);_0x14b16e[_0x384ec4(0x50f)](_0xf1c53f);})),_0x10c1d3['add'](_0x3d563c['toDisposable'](()=>_0x14b16e[_0x367c6a(0x9f)]()));let _0x15076b;const _0x3c2e7e=()=>{const _0x22aea9=_0x367c6a;_0x2e19a4['next'](new Event(_0x22aea9(0x253))),_0x266beb[_0x22aea9(0x50f)](new CloseEvent(_0x22aea9(0x253))),_0x15076b['close']();};return _0x15076b={'memberID':'','close$':_0x266beb['asObservable'](),'error$':_0x2e19a4[_0x367c6a(0x349)](),'open$':_0xe17691['open$'],'message$':_0x14b16e[_0x367c6a(0x349)](),'send':_0x583c21=>{const _0x205f46=_0x367c6a;if(_0x583c21[_0x205f46(0x434)]===_0x1ca14f[_0x205f46(0x98)]){if(_0x583c21[_0x205f46(0xa1)][_0x205f46(0xac)]===_0x520737[_0x205f46(0x52d)][_0x205f46(0x1f7)]){this[_0x205f46(0x275)](_0x15076b,_0x583c21[_0x205f46(0xa1)])[_0x205f46(0x279)](_0x5c0939=>{const _0x42c18f=_0x205f46;this[_0x42c18f(0x4ff)][_0x42c18f(0x4b1)](_0x5c0939),_0x3c2e7e();});return;}if(_0x583c21[_0x205f46(0xa1)]['eventID']===_0x520737[_0x205f46(0x52d)]['FETCH_MISSING']){const _0x2f7673=_0x583c21[_0x205f46(0xa1)];this[_0x205f46(0x409)](_0x2f7673)[_0x205f46(0x262)](_0x30f731=>{const _0x4c03f6=_0x205f46;_0x14b16e[_0x4c03f6(0x50f)]({'cmd':_0x1ca14f[_0x4c03f6(0x2d8)],'code':_0x40ff34['OK'],'routeKey':_0x2f7673[_0x4c03f6(0xa1)]['unitID'],'routeType':'','data':{'eventID':_0x520737['CollaborationEvent'][_0x4c03f6(0x36b)],'data':{'changesets':_0x30f731}}});})[_0x205f46(0x279)](_0x39d07a=>{const _0x255d6c=_0x205f46;this[_0x255d6c(0x4ff)]['error'](_0x39d07a),_0x3c2e7e();});return;}}_0xe17691[_0x205f46(0x2ad)](_0x3a3f64(_0x583c21));},'close':()=>{const _0x350dae=_0x367c6a;_0xe17691['close'](),_0x10c1d3[_0x350dae(0x516)]();}},_0x15076b;}async[_0x416c04(0x275)](_0x4b12fa,_0x17f603){const _0x3f95bc=_0x416c04;var _0x3882ce,_0xbde7fd;const {unitType:_0x3efec9,unitID:_0xc9a9e8,changeset:_0x22e187}=_0x17f603[_0x3f95bc(0xa1)],_0x4ca627={'unitID':_0xc9a9e8,'memberID':_0x4b12fa[_0x3f95bc(0x1d4)],'type':_0x3efec9,'changeset':_0x520737[_0x3f95bc(0x1f4)](_0x22e187)},_0x2ba021=this[_0x3f95bc(0xd6)][_0x3f95bc(0x33a)](_0x31b7d6),_0x2b544e=this[_0x3f95bc(0xd6)][_0x3f95bc(0x33a)](_0x40a44f),_0x56a829=_0x33e835((_0xbde7fd=(_0x3882ce=_0x2b544e==null?void 0x0:_0x2b544e[_0x3f95bc(0x380)])!=null?_0x3882ce:_0x2ba021)!=null?_0xbde7fd:_0x51269f,_0x3efec9,_0xc9a9e8);try{await this[_0x3f95bc(0x3c5)][_0x3f95bc(0x3d4)](_0x56a829,{'body':_0x4ca627});}catch(_0x2122e4){throw this[_0x3f95bc(0x4ff)][_0x3f95bc(0x4b1)]('[CollaborationSession]','submit\x20changeset\x20error!'),_0x2122e4;}}async[_0x416c04(0x409)](_0x293c28){const _0x51a6b6=_0x416c04,{unitID:_0x508756,from:_0x33388f,to:_0x24d980,unitType:_0x5f583b}=_0x293c28[_0x51a6b6(0xa1)];return(await this[_0x51a6b6(0x71)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x508756,'type':_0x5f583b,'from':_0x33388f,'to':_0x24d980}))[_0x51a6b6(0x348)];}},_0x1b5475[_0x416c04(0x36a)]=_0x243aa3([_0x451cd2(0x0,_0x3d563c[_0x416c04(0x4d1)](_0x1571b5[_0x416c04(0x4db)])),_0x451cd2(0x1,_0x3d563c[_0x416c04(0x4d1)](_0x1571b5[_0x416c04(0x39f)])),_0x451cd2(0x2,_0x3d563c[_0x416c04(0x4f1)]),_0x451cd2(0x3,_0x3d563c[_0x416c04(0x2fd)]),_0x451cd2(0x4,_0x520737[_0x416c04(0x2a5)])],_0x1b5475['CollaborationSocketService']);const _0x331d9e='collaboration_new_changeset';function _0x1fc5d7(_0x3637cd){const _0x5e5e4f=_0x416c04;return JSON['stringify'](_0x3637cd)[_0x5e5e4f(0x26a)];}class _0x53bb40{constructor(){const _0x22d1c1=_0x416c04;_0x10d0d4(this,_0x22d1c1(0x2b2),new _0x10d074[(_0x22d1c1(0x178))]()),_0x10d0d4(this,_0x22d1c1(0x2b7),this[_0x22d1c1(0x2b2)][_0x22d1c1(0x349)]());}[_0x416c04(0x1f5)](_0x22a0c9){const _0x401a1a=_0x416c04;this[_0x401a1a(0x2b2)]['next'](_0x22a0c9);}}var _0x5bf3e4=Object['defineProperty'],_0xb057ea=Object[_0x416c04(0x4e2)],_0x4e1143=(_0x4488bf,_0x461719,_0x14c4f0,_0x418a6c)=>{for(var _0x1d33bd=_0x418a6c>0x1?void 0x0:_0x418a6c?_0xb057ea(_0x461719,_0x14c4f0):_0x461719,_0x284a39=_0x4488bf['length']-0x1,_0xc694b8;_0x284a39>=0x0;_0x284a39--)(_0xc694b8=_0x4488bf[_0x284a39])&&(_0x1d33bd=(_0x418a6c?_0xc694b8(_0x461719,_0x14c4f0,_0x1d33bd):_0xc694b8(_0x1d33bd))||_0x1d33bd);return _0x418a6c&&_0x1d33bd&&_0x5bf3e4(_0x461719,_0x14c4f0,_0x1d33bd),_0x1d33bd;},_0x3555ab=(_0x2f8980,_0x4272ed)=>(_0x595864,_0x21a39f)=>_0x4272ed(_0x595864,_0x21a39f,_0x2f8980);_0x1b5475[_0x416c04(0x2f4)]=class extends _0x3d563c[_0x416c04(0x9d)]{constructor(_0x43c4b4,_0x5516e9){const _0x2661ab=_0x416c04;super(),_0x10d0d4(this,_0x2661ab(0x42d),new Map()),(this[_0x2661ab(0x468)]=_0x43c4b4,this[_0x2661ab(0x239)]=_0x5516e9,this[_0x2661ab(0x4e9)](_0x3d563c[_0x2661ab(0x307)](_0x10d074['merge'](this['_univerInstanceService'][_0x2661ab(0x318)](_0x3d563c['UniverInstanceType'][_0x2661ab(0x2ec)])['pipe'](_0x2da86d['map'](_0x134d7f=>_0x134d7f[_0x2661ab(0x18e)]())),this[_0x2661ab(0x468)]['getTypeOfUnitDisposed$'](_0x3d563c[_0x2661ab(0x3b1)][_0x2661ab(0x465)])[_0x2661ab(0x123)](_0x2da86d[_0x2661ab(0x2b8)](_0x333120=>_0x333120[_0x2661ab(0x18e)]())),this[_0x2661ab(0x468)][_0x2661ab(0x318)](_0x3d563c['UniverInstanceType'][_0x2661ab(0x4c6)])[_0x2661ab(0x123)](_0x2da86d[_0x2661ab(0x2b8)](_0x27fa52=>_0x27fa52['getUnitId']())))['subscribe'](_0x91e289=>this['_removeRoom'](_0x91e289)))));}[_0x416c04(0xa5)](_0x41d504){const _0x88c491=_0x416c04;this[_0x88c491(0x239)]['setCurrentUser'](_0x41d504);}['getCurrentUser'](){const _0x2e1141=_0x416c04;return this[_0x2e1141(0x239)][_0x2e1141(0x199)]();}[_0x416c04(0x1ac)](_0x5797a8,_0x58ac68){const _0x2018d2=_0x416c04;let _0x54e982=this['_roomMembers'][_0x2018d2(0x529)](_0x5797a8);_0x54e982||(_0x54e982=new _0x22ca14(),this[_0x2018d2(0x42d)]['set'](_0x5797a8,_0x54e982)),_0x54e982[_0x2018d2(0x1ac)](_0x58ac68);}[_0x416c04(0x142)](_0x354d5a,_0x78ad5b){const _0x17c21d=_0x416c04,_0x59cfc6=this[_0x17c21d(0x42d)][_0x17c21d(0x529)](_0x354d5a);_0x59cfc6&&_0x59cfc6[_0x17c21d(0x142)](_0x78ad5b);}['getRoom'](_0x478cef){const _0x2005be=_0x416c04;return this['_roomMembers'][_0x2005be(0x529)](_0x478cef);}[_0x416c04(0x2ed)](_0x35a0b9,_0x31f4bc){const _0x1f078c=_0x416c04,_0x6f3da4=this[_0x1f078c(0x42d)]['get'](_0x35a0b9);if(_0x6f3da4)return _0x6f3da4[_0x1f078c(0x2ed)](_0x31f4bc);}[_0x416c04(0x3c8)](_0x5db870){const _0x191969=_0x416c04,_0x508125=this[_0x191969(0x42d)][_0x191969(0x529)](_0x5db870);_0x508125&&(_0x508125['dispose'](),this[_0x191969(0x42d)]['delete'](_0x5db870));}[_0x416c04(0x516)](){const _0x25fa37=_0x416c04;this[_0x25fa37(0x42d)]['forEach'](_0x54b110=>_0x54b110[_0x25fa37(0x516)]()),this['_roomMembers'][_0x25fa37(0x4a8)]();}},_0x1b5475[_0x416c04(0x2f4)]=_0x4e1143([_0x3555ab(0x0,_0x3d563c['IUniverInstanceService']),_0x3555ab(0x1,_0x3d563c['Inject'](_0x3d563c[_0x416c04(0x276)]))],_0x1b5475[_0x416c04(0x2f4)]);class _0x22ca14 extends _0x3d563c['Disposable']{constructor(){const _0x5878ec=_0x416c04;super(...arguments),_0x10d0d4(this,_0x5878ec(0x22e),new Map());}[_0x416c04(0x516)](){const _0x5e5087=_0x416c04;this[_0x5e5087(0x22e)]['clear']();}[_0x416c04(0x1ac)](_0x4254d9){const _0x3b87cf=_0x416c04;this[_0x3b87cf(0x22e)][_0x3b87cf(0x4ce)](_0x4254d9[_0x3b87cf(0x1d4)],_0x4254d9);}['removeMember'](_0x116c7e){const _0x2a50d3=_0x416c04;this[_0x2a50d3(0x22e)][_0x2a50d3(0xe8)](_0x116c7e);}[_0x416c04(0x2ed)](_0x4c61a8){const _0x50f4fc=_0x416c04;return this[_0x50f4fc(0x22e)][_0x50f4fc(0x529)](_0x4c61a8);}['getAllMembers'](){const _0x19cd31=_0x416c04;return Array[_0x19cd31(0x34d)](this[_0x19cd31(0x22e)][_0x19cd31(0x4c8)]());}}var _0x4ee311=Object[_0x416c04(0x2e4)],_0x694778=Object[_0x416c04(0x4e2)],_0x574e1c=(_0x6eb7c7,_0x3f49f8,_0x5a6ce6,_0x4a819d)=>{for(var _0x17b41e=_0x4a819d>0x1?void 0x0:_0x4a819d?_0x694778(_0x3f49f8,_0x5a6ce6):_0x3f49f8,_0x5b8911=_0x6eb7c7['length']-0x1,_0x45c447;_0x5b8911>=0x0;_0x5b8911--)(_0x45c447=_0x6eb7c7[_0x5b8911])&&(_0x17b41e=(_0x4a819d?_0x45c447(_0x3f49f8,_0x5a6ce6,_0x17b41e):_0x45c447(_0x17b41e))||_0x17b41e);return _0x4a819d&&_0x17b41e&&_0x4ee311(_0x3f49f8,_0x5a6ce6,_0x17b41e),_0x17b41e;},_0x2a4d5d=(_0x1e340d,_0x203dea)=>(_0x35f562,_0x165c00)=>_0x203dea(_0x35f562,_0x165c00,_0x1e340d),_0x1467c9=(_0x57a829=>(_0x57a829[_0x57a829['IDLE']=0x0]=_0x416c04(0x3c1),_0x57a829[_0x57a829[_0x416c04(0x3cf)]=0x1]='JOINING',_0x57a829[_0x57a829['OFFLINE']=0x2]=_0x416c04(0xcd),_0x57a829[_0x57a829['ONLINE']=0x3]=_0x416c04(0x99),_0x57a829))(_0x1467c9||{});_0x1b5475[_0x416c04(0x15f)]=class extends _0x3d563c[_0x416c04(0x9b)]{constructor(_0x35b374,_0x1c0d7b,_0x55fc59,_0x46f36f,_0xe1cbeb,_0x77d207,_0x383cc5,_0x5ab9f8,_0x39fe38,_0x4ac778){const _0x4316ef=_0x416c04;super(),_0x10d0d4(this,'_sessionStatus$',new _0x10d074[(_0x4316ef(0x500))](0x0)),_0x10d0d4(this,_0x4316ef(0x17f),this[_0x4316ef(0x32d)]['asObservable']()),_0x10d0d4(this,'_event$',new _0x10d074[(_0x4316ef(0x178))]()),_0x10d0d4(this,_0x4316ef(0xd7),this[_0x4316ef(0x3f1)][_0x4316ef(0x349)]()),_0x10d0d4(this,_0x4316ef(0x12d)),_0x10d0d4(this,_0x4316ef(0x3b7)),_0x10d0d4(this,'_collaborationTimeoutTimer'),_0x10d0d4(this,_0x4316ef(0x346),!0x1),_0x10d0d4(this,_0x4316ef(0x2b4),null),(this[_0x4316ef(0x184)]=_0x35b374,this[_0x4316ef(0x4ff)]=_0x55fc59,this[_0x4316ef(0x336)]=_0x46f36f,this[_0x4316ef(0x428)]=_0xe1cbeb,this['_configService']=_0x77d207,this[_0x4316ef(0x4c9)]=_0x383cc5,this['_memberService']=_0x5ab9f8,this[_0x4316ef(0x284)]=_0x39fe38,this['_telemetryService']=_0x4ac778,this[_0x4316ef(0x346)]=!!this[_0x4316ef(0x324)],_0x1c0d7b['pipe'](_0x10d074[_0x4316ef(0x288)](this[_0x4316ef(0x2a9)]))['subscribe'](_0x80d2d5=>{const _0x927803=_0x4316ef;var _0x6c793c;typeof _0x80d2d5>'u'||(this['_socket']=_0x80d2d5,_0x80d2d5?(this[_0x927803(0xbf)](_0x80d2d5),this['_socketMessageSubscription']=_0x80d2d5['message$'][_0x927803(0x31f)](_0x1ef1ff=>{const _0xe6c6d8=_0x927803;_0x1ef1ff[_0xe6c6d8(0x1d2)]===this[_0xe6c6d8(0x184)]&&this[_0xe6c6d8(0x48b)](_0x1ef1ff);})):(this['_throwTelemetryCollaborationNewChangeset'](),this['_sessionStatus$'][_0x927803(0x50f)](0x2),(_0x6c793c=this[_0x927803(0x3b7)])==null||_0x6c793c[_0x927803(0x31d)](),this[_0x927803(0x3b7)]=null));}),this[_0x4316ef(0x4e9)](this[_0x4316ef(0x336)][_0x4316ef(0x3ec)](()=>{const _0x187e8d=_0x4316ef;var _0x1d432e;(_0x1d432e=this['_socket'])==null||_0x1d432e[_0x187e8d(0x2ad)]({'cmd':_0x1ca14f[_0x187e8d(0x474)],'data':{'roomID':this[_0x187e8d(0x184)]}});})));}get[_0x416c04(0x374)](){return this['_sessionStatus$']['getValue']();}[_0x416c04(0x26d)](){const _0x2d3cd0=_0x416c04;var _0x4b1149,_0x3a1893;return(_0x3a1893=(_0x4b1149=this[_0x2d3cd0(0x12d)])==null?void 0x0:_0x4b1149['memberID'])!=null?_0x3a1893:null;}[_0x416c04(0x516)](){const _0xae89ca=_0x416c04;super[_0xae89ca(0x516)](),this['dispose$'][_0xae89ca(0x50f)](),this[_0xae89ca(0x2a9)]['complete']();}[_0x416c04(0x28c)](){const _0x3ae70f=_0x416c04;var _0x28781b,_0x20e72a;this[_0x3ae70f(0x287)](),(_0x28781b=this['_socket'])==null||_0x28781b[_0x3ae70f(0x2ad)]({'cmd':_0x1ca14f[_0x3ae70f(0x474)],'data':{'roomID':this[_0x3ae70f(0x184)]}}),(_0x20e72a=this[_0x3ae70f(0x12d)])==null||_0x20e72a[_0x3ae70f(0x28c)](),this[_0x3ae70f(0x3f1)][_0x3ae70f(0x9f)](),this[_0x3ae70f(0x32d)][_0x3ae70f(0x9f)](),this[_0x3ae70f(0x516)]();}[_0x416c04(0x48b)](_0x48ce42){const _0xdd5f92=_0x416c04;_0x48ce42[_0xdd5f92(0x434)]===_0x1ca14f[_0xdd5f92(0x2e5)]?this[_0xdd5f92(0x44c)](_0x48ce42):_0x48ce42[_0xdd5f92(0x434)]===_0x1ca14f[_0xdd5f92(0x2d8)]&&this[_0xdd5f92(0x2f8)](_0x48ce42);}[_0x416c04(0xbf)](_0x5bb516){const _0x6f3d37=_0x416c04;this['_sessionStatus$'][_0x6f3d37(0x50f)](0x1),_0x5bb516['send']({'cmd':_0x1ca14f[_0x6f3d37(0x2e5)],'routeKey':this[_0x6f3d37(0x184)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x416c04(0x44c)](_0x180ccb){const _0x59a898=_0x416c04;var _0x4cf7c8;if(_0x180ccb['code']===_0x40ff34[_0x59a898(0x24f)]){this[_0x59a898(0x428)][_0x59a898(0x1a7)]({'type':_0x4278c0[_0x59a898(0x2de)][_0x59a898(0x16f)],'content':this[_0x59a898(0x4c9)]['t'](_0x59a898(0x159))}),this['_sessionStatus$'][_0x59a898(0x50f)](0x2);return;}this[_0x59a898(0x32d)][_0x59a898(0x50f)](0x3);const _0x5549af=(_0x4cf7c8=_0x180ccb[_0x59a898(0xa1)][_0x59a898(0x3c7)][this['_unitID']])==null?void 0x0:_0x4cf7c8[_0x59a898(0x7d)];_0x5549af&&_0x5549af[_0x59a898(0x124)](_0x5a97df=>this['_memberService'][_0x59a898(0x1ac)](this[_0x59a898(0x184)],_0x5a97df));}['_onRecvEvent'](_0x261d60){const _0x596ddb=_0x416c04;try{const _0x28e9a1=_0x261d60[_0x596ddb(0xa1)];switch(_0x28e9a1[_0x596ddb(0xac)]){case _0x520737[_0x596ddb(0x52d)][_0x596ddb(0x282)]:this[_0x596ddb(0x233)](_0x28e9a1),this['_event$'][_0x596ddb(0x50f)](_0x28e9a1);break;case _0x520737[_0x596ddb(0x52d)][_0x596ddb(0x43e)]:this[_0x596ddb(0x46e)](_0x28e9a1),this[_0x596ddb(0x3f1)][_0x596ddb(0x50f)](_0x28e9a1);break;case _0x520737['CollaborationEvent']['CHANGESET_ACK']:case _0x520737[_0x596ddb(0x52d)][_0x596ddb(0x40e)]:this[_0x596ddb(0x210)](),this[_0x596ddb(0x67)](),this[_0x596ddb(0x3f1)][_0x596ddb(0x50f)](_0x28e9a1);break;case _0x520737[_0x596ddb(0x52d)]['MSG_FOR_ERROR']:this[_0x596ddb(0x4ff)][_0x596ddb(0x4b1)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x596ddb(0x420)](_0x28e9a1)),this['_event$']['next'](_0x28e9a1);break;case _0x520737[_0x596ddb(0x52d)][_0x596ddb(0x137)]:this[_0x596ddb(0x284)]['onCommentUpdate'](_0x28e9a1['data']),this[_0x596ddb(0x3f1)][_0x596ddb(0x50f)](_0x28e9a1);break;default:this[_0x596ddb(0x3f1)]['next'](_0x28e9a1);}}catch(_0x13863f){this[_0x596ddb(0x4ff)]['error'](_0x13863f,_0x261d60);}}[_0x416c04(0x233)](_0x8c2bd7){const _0x2736d6=_0x416c04;this[_0x2736d6(0x399)][_0x2736d6(0x1ac)](this[_0x2736d6(0x184)],_0x8c2bd7[_0x2736d6(0xa1)]);}[_0x416c04(0x46e)](_0x43c318){const _0x5ade66=_0x416c04;this[_0x5ade66(0x399)][_0x5ade66(0x142)](this[_0x5ade66(0x184)],_0x43c318[_0x5ade66(0xa1)]['memberID']);}async['send'](_0x382fd7,_0x18ffa5){const _0x417bd0=_0x416c04;if(this[_0x417bd0(0x374)]!==0x3||!this['_socket'])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x382fd7[_0x417bd0(0xac)]===_0x520737[_0x417bd0(0x52d)][_0x417bd0(0x1f7)]&&(this[_0x417bd0(0x1c3)](),this[_0x417bd0(0x473)](_0x382fd7)),this[_0x417bd0(0x12d)][_0x417bd0(0x2ad)]({'cmd':_0x1ca14f['INGEST'],'routeKey':_0x18ffa5,'routeType':'','data':_0x382fd7});}catch(_0x156e27){this[_0x417bd0(0x4ff)]['error'](_0x156e27);}}[_0x416c04(0x1c3)](){const _0x53084c=_0x416c04;var _0x23866a;this[_0x53084c(0x523)]=window[_0x53084c(0x2f0)](()=>{const _0x185d8c=_0x53084c;this[_0x185d8c(0x523)]=null,this[_0x185d8c(0x428)]['show']({'type':_0x4278c0[_0x185d8c(0x2de)][_0x185d8c(0x4b9)],'content':this[_0x185d8c(0x4c9)]['t']('session.collaboration-timeout')});},(_0x23866a=this[_0x53084c(0xd6)]['getConfig'](_0x3afe73))!=null?_0x23866a:0x4e20);}[_0x416c04(0x67)](){const _0x37c602=_0x416c04;this[_0x37c602(0x523)]&&(clearTimeout(this[_0x37c602(0x523)]),this[_0x37c602(0x523)]=null);}[_0x416c04(0x473)](_0x4480ea){const _0x3a03f6=_0x416c04;if(!this['_shouldReportTelemetry'])return;const {data:_0x428893}=_0x4480ea,{unitID:_0x2f0850,changeset:_0x2eec26}=_0x428893,{mutations:_0x598c12,type:_0x10d1a7}=_0x2eec26;this[_0x3a03f6(0x2b4)]={'unitId':_0x2f0850,'type':_0x10d1a7,'startTime':performance[_0x3a03f6(0x438)](),'stopTime':0x0,'duration':0x0,'size':_0x1fc5d7(_0x598c12)};}[_0x416c04(0x210)](){const _0x8cbd95=_0x416c04;if(this['_shouldReportTelemetry']){if(!this[_0x8cbd95(0x2b4)]){this['_logService']['error'](_0x8cbd95(0x162),_0x8cbd95(0x455));return;}this[_0x8cbd95(0x2b4)][_0x8cbd95(0x133)]=performance[_0x8cbd95(0x438)](),this[_0x8cbd95(0x2b4)][_0x8cbd95(0x15e)]=this[_0x8cbd95(0x2b4)]['stopTime']-this[_0x8cbd95(0x2b4)][_0x8cbd95(0x46a)],this[_0x8cbd95(0x324)][_0x8cbd95(0x4c3)](_0x331d9e,this[_0x8cbd95(0x2b4)]),this[_0x8cbd95(0x2b4)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){const _0x54ab1d=_0x416c04;this[_0x54ab1d(0x2b4)]=null;}},_0x1b5475['CollaborationSession']=_0x574e1c([_0x2a4d5d(0x2,_0x3d563c[_0x416c04(0x2fd)]),_0x2a4d5d(0x3,_0xe60abc[_0x416c04(0x10e)]),_0x2a4d5d(0x4,_0xe60abc[_0x416c04(0x1b7)]),_0x2a4d5d(0x5,_0x3d563c[_0x416c04(0x4f1)]),_0x2a4d5d(0x6,_0x3d563c['Inject'](_0x3d563c[_0x416c04(0x311)])),_0x2a4d5d(0x7,_0x3d563c[_0x416c04(0x4d1)](_0x1b5475[_0x416c04(0x2f4)])),_0x2a4d5d(0x8,_0x3d563c['Inject'](_0x53bb40)),_0x2a4d5d(0x9,_0x3d563c[_0x416c04(0xf6)](_0x2ebcee['ITelemetryService']))],_0x1b5475['CollaborationSession']);var _0x3bdfc3=Object['defineProperty'],_0x55464d=Object[_0x416c04(0x4e2)],_0x5e62ba=(_0x13e650,_0x13255b,_0x456f68,_0x2094ac)=>{const _0x203850=_0x416c04;for(var _0x2e13e5=_0x2094ac>0x1?void 0x0:_0x2094ac?_0x55464d(_0x13255b,_0x456f68):_0x13255b,_0x72eeef=_0x13e650[_0x203850(0x26a)]-0x1,_0x1a109f;_0x72eeef>=0x0;_0x72eeef--)(_0x1a109f=_0x13e650[_0x72eeef])&&(_0x2e13e5=(_0x2094ac?_0x1a109f(_0x13255b,_0x456f68,_0x2e13e5):_0x1a109f(_0x2e13e5))||_0x2e13e5);return _0x2094ac&&_0x2e13e5&&_0x3bdfc3(_0x13255b,_0x456f68,_0x2e13e5),_0x2e13e5;},_0x21791b=(_0x7b4cb,_0x483e85)=>(_0x4c83f4,_0x4efcbb)=>_0x483e85(_0x4c83f4,_0x4efcbb,_0x7b4cb);_0x1b5475[_0x416c04(0x364)]=class extends _0x3d563c[_0x416c04(0x9d)]{constructor(_0x5cad04,_0x57ede0,_0xb5ad74,_0x2dd446,_0xb9fdb0,_0x333b8b){const _0x23fc22=_0x416c04;super(),_0x10d0d4(this,_0x23fc22(0x414),new _0x10d074[(_0x23fc22(0x500))](void 0x0)),_0x10d0d4(this,'socket$',this[_0x23fc22(0x414)][_0x23fc22(0x349)]()),_0x10d0d4(this,_0x23fc22(0x177),null),_0x10d0d4(this,_0x23fc22(0x269),new Map()),_0x10d0d4(this,_0x23fc22(0x214),new _0x10d074['BehaviorSubject'](_0x1467c9[_0x23fc22(0x3c1)])),_0x10d0d4(this,_0x23fc22(0x23d),this[_0x23fc22(0x214)][_0x23fc22(0x349)]()),_0x10d0d4(this,'_socketReady',!0x1),_0x10d0d4(this,_0x23fc22(0x2dd)),_0x10d0d4(this,_0x23fc22(0x243),0x0),_0x10d0d4(this,_0x23fc22(0x3cb)),_0x10d0d4(this,_0x23fc22(0x153)),(this[_0x23fc22(0x4c7)]=_0x5cad04,this[_0x23fc22(0x4c9)]=_0x57ede0,this[_0x23fc22(0x428)]=_0xb5ad74,this[_0x23fc22(0x4ff)]=_0x2dd446,this[_0x23fc22(0xd6)]=_0xb9fdb0,this['_socketService']=_0x333b8b,this[_0x23fc22(0x182)]());}get[_0x416c04(0x12d)](){const _0x420ab9=_0x416c04;return this['_socket$'][_0x420ab9(0x49b)]();}[_0x416c04(0x182)](){const _0x457fc2=_0x416c04;this[_0x457fc2(0x384)](),this['_listenToOnlineEvent']();}[_0x416c04(0x516)](){const _0x30fa2c=_0x416c04;super['dispose'](),this[_0x30fa2c(0x269)][_0x30fa2c(0x124)](_0x8e75a8=>_0x8e75a8[_0x30fa2c(0x516)]()),this[_0x30fa2c(0x269)][_0x30fa2c(0x4a8)](),this[_0x30fa2c(0x214)][_0x30fa2c(0x9f)]();}async[_0x416c04(0x92)](_0x2dcea0){const _0x201ab0=_0x416c04;if(this[_0x201ab0(0x269)][_0x201ab0(0x6c)](_0x2dcea0))return this[_0x201ab0(0x269)][_0x201ab0(0x529)](_0x2dcea0);this[_0x201ab0(0x1b2)]();const _0x244e65=this['_injector'][_0x201ab0(0x385)](_0x1b5475['CollaborationSession'],_0x2dcea0,this[_0x201ab0(0x414)][_0x201ab0(0x349)]());return this[_0x201ab0(0x269)][_0x201ab0(0x4ce)](_0x2dcea0,_0x244e65),_0x244e65;}[_0x416c04(0x509)](_0x1487e4){const _0x1d36f6=_0x416c04;var _0x394fcf;const _0x196ded=this[_0x1d36f6(0x269)][_0x1d36f6(0x529)](_0x1487e4);_0x196ded&&(this['_sessions'][_0x1d36f6(0xe8)](_0x1487e4),_0x196ded[_0x1d36f6(0x28c)]()),this[_0x1d36f6(0x269)][_0x1d36f6(0x440)]||(_0x394fcf=this[_0x1d36f6(0x12d)])==null||_0x394fcf[_0x1d36f6(0x28c)]();}[_0x416c04(0x51a)](){const _0x253dd6=_0x416c04;this[_0x253dd6(0x243)]=0x0,this[_0x253dd6(0x2dd)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null),this[_0x253dd6(0x461)]();}[_0x416c04(0x3cc)](){const _0x32b46e=_0x416c04;var _0x276736,_0x567c59;const _0x1b2945=this[_0x32b46e(0xd6)][_0x32b46e(0x33a)](_0x169f82),_0x23e899=this[_0x32b46e(0xd6)][_0x32b46e(0x33a)](_0x40a44f),_0x3a2b3b=(_0x567c59=(_0x276736=_0x23e899==null?void 0x0:_0x23e899['collabWebSocketUrl'])!=null?_0x276736:_0x1b2945)!=null?_0x567c59:_0x3b81a5,_0x4c388f=this['_socketService']['createSocket'](_0x3a2b3b);return this[_0x32b46e(0x177)]=_0x4c388f,_0x4c388f;}[_0x416c04(0x1b2)](){const _0x6dac3b=_0x416c04;var _0x225881,_0x274930;try{const _0x5ca285=(_0x274930=(_0x225881=this[_0x6dac3b(0x12d)])!=null?_0x225881:this[_0x6dac3b(0x177)])!=null?_0x274930:this[_0x6dac3b(0x3cc)]();if(_0x5ca285){const _0x4f8cba=_0x5ca285[_0x6dac3b(0x2ad)];_0x5ca285[_0x6dac3b(0x2ad)]=_0x296ae5=>(this[_0x6dac3b(0x112)](),_0x4f8cba[_0x6dac3b(0x2e7)](_0x5ca285,[_0x296ae5])),_0x5ca285[_0x6dac3b(0x185)][_0x6dac3b(0x31f)](_0x3bb867=>this[_0x6dac3b(0x38f)](_0x5ca285,_0x3bb867)),_0x5ca285[_0x6dac3b(0x2c1)][_0x6dac3b(0x123)](_0x2da86d[_0x6dac3b(0x4ba)](0x1))[_0x6dac3b(0x31f)](_0x2189ca=>this[_0x6dac3b(0x4ff)][_0x6dac3b(0x4b1)](_0x6dac3b(0x2d3),_0x2189ca)),_0x5ca285[_0x6dac3b(0x412)]['pipe'](_0x2da86d[_0x6dac3b(0x4ba)](0x1))['subscribe'](()=>{const _0x66e87=_0x6dac3b;this[_0x66e87(0x51e)](_0x5ca285);}),_0x5ca285[_0x6dac3b(0x3c9)][_0x6dac3b(0x123)](_0x2da86d[_0x6dac3b(0x4ba)](0x1))[_0x6dac3b(0x31f)](_0x23998d=>{const _0x5b8ebf=_0x6dac3b;this[_0x5b8ebf(0x4ff)][_0x5b8ebf(0x73)]('[CollaborationSessionService]',_0x5b8ebf(0x4f8),_0x23998d),this[_0x5b8ebf(0x261)]();});}}catch(_0x4d8cc0){this['_logService'][_0x6dac3b(0x4b1)](_0x4d8cc0),this['_onConnectionFailed']();}}[_0x416c04(0x51e)](_0x94f61f){const _0x3bd899=_0x416c04;this[_0x3bd899(0x4ff)][_0x3bd899(0x73)](_0x3bd899(0x1ed),_0x3bd899(0x34b)),_0x94f61f[_0x3bd899(0x2ad)]({'cmd':_0x1ca14f[_0x3bd899(0x17a)]}),this['_rescheduleHeartbeat']();}[_0x416c04(0x384)](){const _0x375bae=_0x416c04;window[_0x375bae(0xa9)]('offline',()=>this[_0x375bae(0xba)]());}['_onOffline'](){const _0x43fc66=_0x416c04;this[_0x43fc66(0xe9)]=!0x1,this['_candidateSocket']=null,this['_status$'][_0x43fc66(0x50f)](_0x1467c9[_0x43fc66(0xcd)]),this[_0x43fc66(0x414)][_0x43fc66(0x50f)](null),this[_0x43fc66(0x25c)](),this[_0x43fc66(0x4cb)]();}[_0x416c04(0x261)](){const _0x21b637=_0x416c04;var _0x3cc262;this[_0x21b637(0xba)](),this['_retryCount']<((_0x3cc262=this[_0x21b637(0xd6)][_0x21b637(0x33a)](_0x11cf4c))!=null?_0x3cc262:0x3)?(this['_messageService'][_0x21b637(0x1a7)]({'key':_0x21b637(0x4de),'type':_0x4278c0['MessageType'][_0x21b637(0x16f)],'content':this[_0x21b637(0x4c9)]['t'](_0x21b637(0x41d))}),this['_tryReconnect']()):this[_0x21b637(0x428)][_0x21b637(0x1a7)]({'key':_0x21b637(0x4de),'type':_0x4278c0[_0x21b637(0x2de)][_0x21b637(0x4b9)],'content':this['_localeService']['t'](_0x21b637(0x371))});}[_0x416c04(0x2ee)](){const _0x5694c4=_0x416c04,_0x4d7511=()=>{const _0x4551b4=_0x3e32;this['_socket']||this[_0x4551b4(0x51a)]();},_0x246b9f=()=>{const _0x2ddf35=_0x3e32;this[_0x2ddf35(0x12d)]||document[_0x2ddf35(0x387)]===_0x2ddf35(0x1d8)||this[_0x2ddf35(0x51a)]();};window['addEventListener'](_0x5694c4(0xfb),_0x4d7511),document['addEventListener'](_0x5694c4(0x1d3),_0x246b9f);}[_0x416c04(0x461)](){const _0x52b494=_0x416c04;var _0x26cc8f;const _0xb90a98=this[_0x52b494(0x243)],_0x362608=this[_0x52b494(0xd6)][_0x52b494(0x33a)](_0x40a44f),_0x47a14b=_0xb90a98===0x0?0x0:((_0x26cc8f=_0x362608==null?void 0x0:_0x362608[_0x52b494(0x3a4)])!=null?_0x26cc8f:0x4e20)*0x2**_0xb90a98;this['_retryConnectingTimer']=window[_0x52b494(0x2f0)](()=>{const _0xadc453=_0x52b494;clearTimeout(this[_0xadc453(0x2dd)]),this['_retryConnectingTimer']=null,this[_0xadc453(0x1b2)]();},_0x47a14b),this[_0x52b494(0x243)]+=0x1;}['_onMessage'](_0x72f831,_0xe814c7){const _0x347fb2=_0x416c04,{cmd:_0x5c98e2}=_0xe814c7;_0x5c98e2===_0x1ca14f['HELLO']&&!this[_0x347fb2(0xe9)]&&(_0x72f831[_0x347fb2(0x1d4)]=_0xe814c7['data']['memberID'],this['_socket$'][_0x347fb2(0x50f)](_0x72f831),this[_0x347fb2(0x214)][_0x347fb2(0x50f)](_0x1467c9[_0x347fb2(0x99)]),this[_0x347fb2(0xe9)]=!0x0,this[_0x347fb2(0x177)]=null),_0x5c98e2===_0x1ca14f[_0x347fb2(0x4fc)]&&this[_0x347fb2(0x25c)](),this['_rescheduleHeartbeat']();}[_0x416c04(0x112)](){const _0x5d7cc8=_0x416c04;var _0x4a1075;this[_0x5d7cc8(0x4cb)](),this[_0x5d7cc8(0x3cb)]=window[_0x5d7cc8(0x2f0)](()=>this['_sendHeartbeat'](),(_0x4a1075=this[_0x5d7cc8(0xd6)][_0x5d7cc8(0x33a)](_0x27c0a6))!=null?_0x4a1075:0x7530);}[_0x416c04(0x207)](){const _0x315ea7=_0x416c04;this['_socket'][_0x315ea7(0x2ad)]({'cmd':_0x1ca14f[_0x315ea7(0x4fc)]}),this[_0x315ea7(0x3fb)]();}[_0x416c04(0x3fb)](){const _0x31cd48=_0x416c04;var _0x5d7fcd;this[_0x31cd48(0x153)]=window[_0x31cd48(0x2f0)](()=>this['_onConnectionFailed'](),(_0x5d7fcd=this[_0x31cd48(0xd6)][_0x31cd48(0x33a)](_0x3afe73))!=null?_0x5d7fcd:0x4e20);}[_0x416c04(0x4cb)](){this['_sendHeartbeatTimer']!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0x416c04(0x25c)](){const _0x3dca10=_0x416c04;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x3dca10(0x153)]),this['_timeoutTimer']=null);}},_0x1b5475[_0x416c04(0x364)]=_0x5e62ba([_0x21791b(0x0,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c[_0x416c04(0x25f)])),_0x21791b(0x1,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c[_0x416c04(0x311)])),_0x21791b(0x2,_0xe60abc[_0x416c04(0x1b7)]),_0x21791b(0x3,_0x3d563c[_0x416c04(0x2fd)]),_0x21791b(0x4,_0x3d563c[_0x416c04(0x4f1)]),_0x21791b(0x5,_0xc96f73)],_0x1b5475[_0x416c04(0x364)]);const _0x4b0628=[];for(let _0x4021c4=0x0;_0x4021c4<0x100;++_0x4021c4)_0x4b0628['push']((_0x4021c4+0x100)[_0x416c04(0xd0)](0x10)[_0x416c04(0x191)](0x1));function _0x3163f5(_0x521d06,_0x219eed=0x0){const _0x8035e4=_0x416c04;return(_0x4b0628[_0x521d06[_0x219eed+0x0]]+_0x4b0628[_0x521d06[_0x219eed+0x1]]+_0x4b0628[_0x521d06[_0x219eed+0x2]]+_0x4b0628[_0x521d06[_0x219eed+0x3]]+'-'+_0x4b0628[_0x521d06[_0x219eed+0x4]]+_0x4b0628[_0x521d06[_0x219eed+0x5]]+'-'+_0x4b0628[_0x521d06[_0x219eed+0x6]]+_0x4b0628[_0x521d06[_0x219eed+0x7]]+'-'+_0x4b0628[_0x521d06[_0x219eed+0x8]]+_0x4b0628[_0x521d06[_0x219eed+0x9]]+'-'+_0x4b0628[_0x521d06[_0x219eed+0xa]]+_0x4b0628[_0x521d06[_0x219eed+0xb]]+_0x4b0628[_0x521d06[_0x219eed+0xc]]+_0x4b0628[_0x521d06[_0x219eed+0xd]]+_0x4b0628[_0x521d06[_0x219eed+0xe]]+_0x4b0628[_0x521d06[_0x219eed+0xf]])[_0x8035e4(0x16d)]();}let _0x353c13;const _0x23e2d9=new Uint8Array(0x10);function _0x1e7c8e(){const _0xaedc7a=_0x416c04;if(!_0x353c13){if(typeof crypto>'u'||!crypto[_0xaedc7a(0x3ed)])throw new Error(_0xaedc7a(0x44a));_0x353c13=crypto['getRandomValues']['bind'](crypto);}return _0x353c13(_0x23e2d9);}const _0x213c1e={'randomUUID':typeof crypto<'u'&&crypto[_0x416c04(0x2c6)]&&crypto[_0x416c04(0x2c6)]['bind'](crypto)};function _0x2941b6(_0x3bef9d,_0x2bc902,_0x577007){const _0x545bd7=_0x416c04;if(_0x213c1e[_0x545bd7(0x2c6)]&&!_0x2bc902&&!_0x3bef9d)return _0x213c1e['randomUUID']();_0x3bef9d=_0x3bef9d||{};const _0x354b3f=_0x3bef9d[_0x545bd7(0x194)]||(_0x3bef9d['rng']||_0x1e7c8e)();return _0x354b3f[0x6]=_0x354b3f[0x6]&0xf|0x40,_0x354b3f[0x8]=_0x354b3f[0x8]&0x3f|0x80,_0x3163f5(_0x354b3f);}var _0x3e3e2e=Object[_0x416c04(0x2e4)],_0x4b3386=Object[_0x416c04(0x4e2)],_0x1538ea=(_0x38245c,_0x10233d,_0x2b0fcf,_0x55641e)=>{const _0x463095=_0x416c04;for(var _0x190ea7=_0x55641e>0x1?void 0x0:_0x55641e?_0x4b3386(_0x10233d,_0x2b0fcf):_0x10233d,_0x239756=_0x38245c[_0x463095(0x26a)]-0x1,_0x24c5bd;_0x239756>=0x0;_0x239756--)(_0x24c5bd=_0x38245c[_0x239756])&&(_0x190ea7=(_0x55641e?_0x24c5bd(_0x10233d,_0x2b0fcf,_0x190ea7):_0x24c5bd(_0x190ea7))||_0x190ea7);return _0x55641e&&_0x190ea7&&_0x3e3e2e(_0x10233d,_0x2b0fcf,_0x190ea7),_0x190ea7;},_0x27c387=(_0x2b2706,_0xadd795)=>(_0x4bc34f,_0x79a611)=>_0xadd795(_0x4bc34f,_0x79a611,_0x2b2706);let _0x1e4b8d=class{constructor(_0xd030f5,_0x224b6f,_0x5579f3){const _0xd51eee=_0x416c04;this[_0xd51eee(0x4c7)]=_0xd030f5,this[_0xd51eee(0x392)]=_0x224b6f,this['_renderManagerService']=_0x5579f3;}['transformIMECache'](_0x6a2835){const _0x3f3585=_0x416c04;this['_transformUndoRedoStack'](_0x6a2835),this[_0x3f3585(0x2ef)](_0x6a2835);}[_0x416c04(0x23b)](_0x1c4b3d){const _0x261142=_0x416c04,{unitID:_0x42556c}=_0x1c4b3d,_0x1be73d=this['_renderManagerService'][_0x261142(0x70)](_0x42556c)['with'](_0x4212a5[_0x261142(0x49e)]),{redoCache:_0x2ad4f1}=_0x1be73d[_0x261142(0x83)]();if(_0x2ad4f1['length']===0x0)return _0x1c4b3d;let _0x2e7945=_0x3d563c[_0x261142(0x270)][_0x261142(0x429)](_0x1c4b3d[_0x261142(0xa2)][0x0]);for(let _0x221448=0x0;_0x221448<_0x2ad4f1['length'];_0x221448++){const _0x253900={'id':_0x261142(0x3af),'params':{..._0x2ad4f1[_0x221448]}},_0x26a139=this['_transformService'][_0x261142(0x168)](_0x2e7945,_0x253900,!0x1);if(_0x520737[_0x261142(0x139)](_0x26a139))throw _0x26a139[_0x261142(0x4b1)];_0x2e7945=_0x26a139['m1Prime'];}return{..._0x3d563c['Tools']['deepClone'](_0x1c4b3d),'mutations':[_0x2e7945]};}[_0x416c04(0x3e7)](_0x43e039){const _0x45ce2f=_0x416c04,{unitID:_0x3cbb69}=_0x43e039,_0x510a35=this[_0x45ce2f(0x4fd)]['getRenderById'](_0x3cbb69)['with'](_0x4212a5['DocIMEInputManagerService']),{undoCache:_0x16d079,redoCache:_0x2762c6}=_0x510a35[_0x45ce2f(0x83)]();if(_0x16d079['length']===0x0||_0x2762c6['length']===0x0)return;const _0x2d0b92=[],_0x2adf7f=[];let _0xb0e76e=_0x3d563c[_0x45ce2f(0x270)][_0x45ce2f(0x429)](_0x43e039[_0x45ce2f(0xa2)][0x0]),_0x55870e=_0x3d563c[_0x45ce2f(0x270)]['deepClone'](_0x43e039[_0x45ce2f(0xa2)][0x0]);for(let _0x1430aa=_0x16d079['length']-0x1;_0x1430aa>=0x0;_0x1430aa--){const _0x2729d3={'id':_0x45ce2f(0x3af),'params':{..._0x16d079[_0x1430aa]}},_0x444062={'id':_0x45ce2f(0x3af),'params':{..._0x2762c6[_0x1430aa]}},_0x16e534=this[_0x45ce2f(0x392)][_0x45ce2f(0x168)](_0xb0e76e,_0x2729d3,!0x1),_0x2fb37f=this[_0x45ce2f(0x392)]['transformMutation'](_0x55870e,_0x444062,!0x1);if(_0x520737['isTransformMutationFailure'](_0x16e534))throw _0x16e534['error'];if(_0x520737['isTransformMutationFailure'](_0x2fb37f))throw _0x2fb37f[_0x45ce2f(0x4b1)];_0x2d0b92[_0x45ce2f(0x30d)](_0x16e534['m2Prime'][_0x45ce2f(0x402)]),_0x2adf7f['unshift'](_0x2fb37f[_0x45ce2f(0x85)]['params']),_0xb0e76e=_0x16e534[_0x45ce2f(0x42f)],_0x55870e=_0x2fb37f[_0x45ce2f(0x42f)];}_0x510a35[_0x45ce2f(0x151)]({'undoCache':_0x2d0b92,'redoCache':_0x2adf7f});}[_0x416c04(0x2ef)](_0x174cd0){const _0x2a2753=_0x416c04,{unitID:_0xabc001}=_0x174cd0,_0x4f7bd4=this['_renderManagerService']['getRenderById'](_0xabc001)[_0x2a2753(0x211)](_0x4212a5[_0x2a2753(0x49e)]),_0x4bb5bc=_0x4f7bd4[_0x2a2753(0x218)]();if(_0x4bb5bc==null)return;const _0x352832=[{'id':_0x2a2753(0x3af),'params':{'unitId':_0x174cd0['unitID'],'actions':null,'textRanges':[_0x4bb5bc]}}],_0xf985de=this[_0x2a2753(0x392)][_0x2a2753(0x3a8)](_0x174cd0,_0x352832);if(!_0x520737[_0x2a2753(0x4e4)](_0xf985de))throw _0xf985de['error'];const _0x5e5895=_0xf985de[_0x2a2753(0x85)][0x0][_0x2a2753(0x402)]['textRanges'];Array[_0x2a2753(0x408)](_0x5e5895)&&_0x5e5895[_0x2a2753(0x26a)]&&_0x4f7bd4[_0x2a2753(0x41c)](_0x5e5895[0x0]);}};_0x1e4b8d=_0x1538ea([_0x27c387(0x0,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c[_0x416c04(0x25f)])),_0x27c387(0x1,_0x520737[_0x416c04(0x302)]),_0x27c387(0x2,_0x1c2dd3[_0x416c04(0x1bd)])],_0x1e4b8d);var _0x44d974=Object['defineProperty'],_0x58156d=Object[_0x416c04(0x4e2)],_0xe002c0=(_0x5c45ec,_0x136d4c,_0x7db7a1,_0x16ed00)=>{const _0x4cd157=_0x416c04;for(var _0x5083b6=_0x16ed00>0x1?void 0x0:_0x16ed00?_0x58156d(_0x136d4c,_0x7db7a1):_0x136d4c,_0x3b416a=_0x5c45ec[_0x4cd157(0x26a)]-0x1,_0x335c83;_0x3b416a>=0x0;_0x3b416a--)(_0x335c83=_0x5c45ec[_0x3b416a])&&(_0x5083b6=(_0x16ed00?_0x335c83(_0x136d4c,_0x7db7a1,_0x5083b6):_0x335c83(_0x5083b6))||_0x5083b6);return _0x16ed00&&_0x5083b6&&_0x44d974(_0x136d4c,_0x7db7a1,_0x5083b6),_0x5083b6;},_0x1fbd64=(_0x342137,_0x5e105d)=>(_0xe0591e,_0x21205e)=>_0x5e105d(_0xe0591e,_0x21205e,_0x342137);_0x1b5475[_0x416c04(0x26c)]=class extends _0x3d563c[_0x416c04(0x9d)]{constructor(_0x2af05f,_0x38e77c,_0x32b41a,_0x30fe5f,_0x3d53b9){const _0xe49777=_0x416c04;super(),_0x10d0d4(this,_0xe49777(0x212),new Map()),_0x10d0d4(this,_0xe49777(0x161),new Map()),_0x10d0d4(this,_0xe49777(0x2af),!0x1),(this[_0xe49777(0xd6)]=_0x2af05f,this['_localStorageService']=_0x38e77c,this[_0xe49777(0x336)]=_0x32b41a,this['_localeService']=_0x30fe5f,this[_0xe49777(0x13f)]=_0x3d53b9,this[_0xe49777(0x4ec)]());}[_0x416c04(0x29c)](){this['_disabled']=!0x0;}[_0x416c04(0x368)](){this['_disabled']=!0x1;}['dispose'](){const _0x5def1b=_0x416c04;this[_0x5def1b(0x533)]()[_0x5def1b(0x262)](()=>super[_0x5def1b(0x516)]());}async[_0x416c04(0xa4)](_0x5dc4a6){const _0x218d80=_0x416c04;return this[_0x218d80(0x2af)]?null:this[_0x218d80(0x266)][_0x218d80(0x3f2)](_0x125ebf(_0x5dc4a6));}async[_0x416c04(0x470)](_0x564a02,_0x158a55){const _0x4a2212=_0x416c04;return!!this[_0x4a2212(0x266)][_0x4a2212(0xbc)](_0x564a02,_0x158a55);}[_0x416c04(0x128)](_0x12e351,_0x15da80,_0x437ee1,_0x1580ec){const _0x114f7f=_0x416c04,_0x449456=this[_0x114f7f(0x13f)][_0x114f7f(0x4d5)](_0x12e351);this['_cachedData']['set'](_0x12e351,{'unitID':_0x12e351,'type':_0x15da80,'awaitingChangeset':_0x437ee1,'mutations':_0x1580ec,'rev':_0x449456}),this[_0x114f7f(0x161)][_0x114f7f(0x6c)](_0x12e351)||this[_0x114f7f(0x136)](_0x12e351);}[_0x416c04(0x136)](_0x3cc73d){const _0x45c20c=_0x416c04,_0x5514b7=this[_0x45c20c(0x3e3)]();_0x5514b7===0x0?this['_saveCache'](_0x3cc73d):this[_0x45c20c(0x161)][_0x45c20c(0x4ce)](_0x3cc73d,setTimeout(()=>this[_0x45c20c(0x1da)](_0x3cc73d),_0x5514b7));}[_0x416c04(0x3e3)](){const _0x1af19e=_0x416c04;var _0x41ffe3;return(_0x41ffe3=this[_0x1af19e(0xd6)][_0x1af19e(0x33a)](_0x539678))!=null?_0x41ffe3:0x3e8;}[_0x416c04(0x1da)](_0x1dc70b){const _0x12b12d=_0x416c04,_0x1551c1=this['_saveTaskMap'][_0x12b12d(0x529)](_0x1dc70b);return _0x1551c1!==void 0x0&&window[_0x12b12d(0x464)](_0x1551c1),this[_0x12b12d(0x266)]['setItem'](_0x125ebf(_0x1dc70b),this[_0x12b12d(0x212)][_0x12b12d(0x529)](_0x1dc70b))[_0x12b12d(0x262)](()=>this[_0x12b12d(0x161)][_0x12b12d(0xe8)](_0x1dc70b));}async[_0x416c04(0x533)](){const _0xcd0fb6=_0x416c04,_0x5f043c=[];this[_0xcd0fb6(0x161)][_0xcd0fb6(0x124)]((_0x446293,_0x40f20d)=>{const _0x40947c=_0xcd0fb6;window[_0x40947c(0x464)](_0x446293),_0x5f043c[_0x40947c(0x1e9)](this[_0x40947c(0x1da)](_0x40f20d)[_0x40947c(0x262)](()=>{this['_saveTaskMap']['delete'](_0x40f20d);}));}),await Promise[_0xcd0fb6(0xdc)](_0x5f043c);}[_0x416c04(0x4ec)](){const _0x23df53=_0x416c04;this[_0x23df53(0x4e9)](this[_0x23df53(0x336)][_0x23df53(0x1cb)](()=>{const _0x2ebb41=_0x23df53;if(this[_0x2ebb41(0x161)][_0x2ebb41(0x440)])return this[_0x2ebb41(0x4c9)]['t']('collaboration-client.offline-data-not-saved');}));}},_0x1b5475['LocalCacheService']=_0xe002c0([_0x1fbd64(0x0,_0x3d563c['IConfigService']),_0x1fbd64(0x1,_0x3d563c[_0x416c04(0x337)]),_0x1fbd64(0x2,_0xe60abc['IBeforeCloseService']),_0x1fbd64(0x3,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c[_0x416c04(0x311)])),_0x1fbd64(0x4,_0x3d563c[_0x416c04(0x4d1)](_0x520737['RevisionService']))],_0x1b5475[_0x416c04(0x26c)]);function _0x125ebf(_0x242c53){const _0x1a0ee3=_0x416c04;return _0x1a0ee3(0x1c0)+_0x242c53;}var _0x2d40ac=Object[_0x416c04(0x2e4)],_0x46b794=Object[_0x416c04(0x4e2)],_0x31e7ed=(_0x302acf,_0x5b20d5,_0x6a713b,_0x58bd65)=>{for(var _0xfb4874=_0x58bd65>0x1?void 0x0:_0x58bd65?_0x46b794(_0x5b20d5,_0x6a713b):_0x5b20d5,_0xf21630=_0x302acf['length']-0x1,_0x342cdc;_0xf21630>=0x0;_0xf21630--)(_0x342cdc=_0x302acf[_0xf21630])&&(_0xfb4874=(_0x58bd65?_0x342cdc(_0x5b20d5,_0x6a713b,_0xfb4874):_0x342cdc(_0xfb4874))||_0xfb4874);return _0x58bd65&&_0xfb4874&&_0x2d40ac(_0x5b20d5,_0x6a713b,_0xfb4874),_0xfb4874;},_0x1e2791=(_0x341de2,_0x5409c5)=>(_0x5e2ebc,_0x49e847)=>_0x5409c5(_0x5e2ebc,_0x49e847,_0x341de2);function _0x12c909(_0x53a691){const _0x251aed=_0x416c04,{unitID:_0x15d141,mutations:_0x16dafc}=_0x53a691;return{'unitId':_0x15d141,'subUnitId':_0x16dafc[0x0][_0x251aed(0x402)][_0x251aed(0x317)]};}let _0x2e8a2a=class{constructor(_0x3be65b,_0x12a21d,_0x13e203){const _0x11b050=_0x416c04;this[_0x11b050(0x4c7)]=_0x3be65b,this[_0x11b050(0x392)]=_0x12a21d,this[_0x11b050(0x2f1)]=_0x13e203;}[_0x416c04(0x47f)](_0x84a41f){const _0x1c8c54=_0x416c04;var _0x39c200,_0x39b98d,_0x3db882,_0x195c6f;const _0x4192b7=this[_0x1c8c54(0x4c7)][_0x1c8c54(0x529)](_0xa13da4['SheetsSelectionsService']),{unitId:_0x27ab21,subUnitId:_0x1cfad2}=_0x12c909(_0x84a41f),_0x15fa40=_0x4192b7['getWorkbookSelections'](_0x27ab21)[_0x1c8c54(0x338)](),_0x5a73dc=(_0x39b98d=(_0x39c200=this['_instanceService'][_0x1c8c54(0xdb)](_0x27ab21))==null?void 0x0:_0x39c200[_0x1c8c54(0x403)]())==null?void 0x0:_0x39b98d[_0x1c8c54(0x320)]();if(_0x15fa40[_0x1c8c54(0x26a)]===0x0||!_0x27ab21||!_0x1cfad2)return;const _0x3281ae=[{'id':_0xa13da4[_0x1c8c54(0x2bc)]['id'],'params':{'unitId':_0x27ab21,'subUnitId':_0x5a73dc,'selections':_0x3d563c[_0x1c8c54(0x270)]['deepClone'](_0x15fa40)}}],_0x176d7e=this[_0x1c8c54(0x392)][_0x1c8c54(0x3a8)](_0x84a41f,_0x3281ae);if(!_0x520737[_0x1c8c54(0x4e4)](_0x176d7e))throw _0x176d7e[_0x1c8c54(0x4b1)];const _0x425c6f=(_0x195c6f=(_0x3db882=_0x176d7e[_0x1c8c54(0x85)][0x0])==null?void 0x0:_0x3db882[_0x1c8c54(0x402)])==null?void 0x0:_0x195c6f['selections'];if(Array[_0x1c8c54(0x408)](_0x425c6f)&&_0x425c6f[_0x1c8c54(0x26a)]){if(_0x425c6f[_0x1c8c54(0x26a)]===_0x3281ae[0x0][_0x1c8c54(0x402)][_0x1c8c54(0x116)][_0x1c8c54(0x26a)]&&_0x425c6f[_0x1c8c54(0x520)]((_0x5da06c,_0x4a5408)=>_0x3d563c[_0x1c8c54(0x36c)][_0x1c8c54(0x81)](_0x5da06c['range'],_0x3281ae[0x0][_0x1c8c54(0x402)][_0x1c8c54(0x116)][_0x4a5408]['range'])))return;this[_0x1c8c54(0x4c7)][_0x1c8c54(0x529)](_0x3d563c[_0x1c8c54(0x3e8)])[_0x1c8c54(0x4dc)](_0xa13da4['SetSelectionsOperation']['id'],{'unitId':_0x27ab21,'subUnitId':_0x5a73dc,'selections':_0x425c6f});}}};_0x2e8a2a=_0x31e7ed([_0x1e2791(0x0,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c['Injector'])),_0x1e2791(0x1,_0x520737[_0x416c04(0x302)]),_0x1e2791(0x2,_0x3d563c[_0x416c04(0x127)])],_0x2e8a2a);const _0x3cc9ac=_0x3d563c[_0x416c04(0x32c)](_0x416c04(0x3f3));var _0x3a41f7=(_0x20f97d=>(_0x20f97d[_0x20f97d[_0x416c04(0x179)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x20f97d[_0x20f97d[_0x416c04(0x277)]=0x1]=_0x416c04(0x277),_0x20f97d))(_0x3a41f7||{});const _0x1b36bf=0x7530,_0xeda8d4=_0x416c04(0x11e);class _0x4214e3 extends _0x3d563c[_0x416c04(0x9d)]{constructor(){const _0x41267e=_0x416c04;super(),_0x10d0d4(this,'_id',_0x3d563c[_0x41267e(0x270)][_0x41267e(0x517)]()),_0x10d0d4(this,_0x41267e(0x118),new Set()),_0x10d0d4(this,_0x41267e(0x30f),new Map()),_0x10d0d4(this,_0x41267e(0x1c8),null),_0x10d0d4(this,_0x41267e(0x303),new Map()),_0x10d0d4(this,_0x41267e(0x4cc),new Map()),this[_0x41267e(0x2b1)]();}[_0x416c04(0x516)](){const _0x126d42=_0x416c04;super['dispose'](),this[_0x126d42(0x303)]['forEach']((_0x524dbf,_0x47f3ad)=>this['_removeClearOtherTimer'](_0x47f3ad)),this['_heartbeatTimer']&&window[_0x126d42(0x69)](this[_0x126d42(0x1c8)]);}[_0x416c04(0x115)](_0x2d858b){const _0x22a2eb=_0x416c04;return this[_0x22a2eb(0xb5)](_0x2d858b)['pipe'](_0x10d074[_0x22a2eb(0x449)]());}[_0x416c04(0x268)](_0x36e4b5){const _0x3d3f0c=_0x416c04;this[_0x3d3f0c(0x118)][_0x3d3f0c(0x440)]===0x0&&this[_0x3d3f0c(0xe1)](),this[_0x3d3f0c(0x118)][_0x3d3f0c(0x44b)](_0x36e4b5),this[_0x3d3f0c(0x15c)]({'type':0x0,'memberID':this[_0x3d3f0c(0x263)],'unitIDs':[_0x36e4b5],'isForwarded':!0x1});}['disposeUnit'](_0x5e1b69){const _0x6814a1=_0x416c04;this[_0x6814a1(0x118)][_0x6814a1(0xe8)](_0x5e1b69),this['_selfUnitIDs'][_0x6814a1(0x440)]===0x0&&this[_0x6814a1(0x1c8)]&&window[_0x6814a1(0x69)](this[_0x6814a1(0x1c8)]);}[_0x416c04(0x2b1)](){const _0x1e6afd=_0x416c04;this[_0x1e6afd(0x4e9)](_0x3d563c[_0x1e6afd(0x307)](_0x10d074[_0x1e6afd(0x485)](window,_0x1e6afd(0x31b))[_0x1e6afd(0x31f)](_0x52ab9b=>{const _0x1d0d1b=_0x1e6afd;if(_0x52ab9b[_0x1d0d1b(0x219)]!==_0xeda8d4||!_0x52ab9b['newValue'])return;const _0xc3ed00=JSON[_0x1d0d1b(0x1a4)](_0x52ab9b['newValue']);this[_0x1d0d1b(0x386)](_0xc3ed00);}))),window[_0x1e6afd(0xa9)](_0x1e6afd(0x189),()=>this[_0x1e6afd(0x15c)]({'type':0x1,'memberID':this[_0x1e6afd(0x263)],'unitIDs':Array[_0x1e6afd(0x34d)](this[_0x1e6afd(0x118)])}));}[_0x416c04(0x386)](_0x45f7c1){const _0x4dc5c5=_0x416c04;switch(_0x45f7c1[_0x4dc5c5(0x6e)]){case 0x0:this[_0x4dc5c5(0x49a)](_0x45f7c1);break;case 0x1:this[_0x4dc5c5(0x3fa)](_0x45f7c1);break;case 0x2:this[_0x4dc5c5(0x316)](_0x45f7c1);break;}}['_handleJoinEvent'](_0x2465af){const _0x1511b5=_0x416c04,{unitIDs:_0x24a932,memberID:_0x489504,isForwarded:_0x52880f}=_0x2465af;_0x24a932['forEach'](_0x1e75c1=>{const _0x37a803=_0x3e32;if(!_0x52880f&&this['_unitOnClients'][_0x37a803(0x6c)](_0x1e75c1)&&this[_0x37a803(0xb5)](_0x1e75c1)['next'](0x1),!this[_0x37a803(0x30f)][_0x37a803(0x6c)](_0x1e75c1)||!this[_0x37a803(0x30f)]['get'](_0x1e75c1)[_0x37a803(0x6c)](_0x489504)){const _0x3a48ed=this[_0x37a803(0x30f)][_0x37a803(0x529)](_0x1e75c1)||new Set();_0x3a48ed['add'](_0x489504),this[_0x37a803(0x30f)]['set'](_0x1e75c1,_0x3a48ed),this['_scheduleClearOtherTimer'](_0x489504);}}),_0x52880f||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x1511b5(0x118)]],'isForwarded':!0x0});}[_0x416c04(0x274)](_0x357c46){const _0x1923cd=_0x416c04;this['_removeClearOtherTimer'](_0x357c46);const _0x19036c=window[_0x1923cd(0x2f0)](()=>{const _0xe62f13=_0x1923cd;this['_unitOnClients'][_0xe62f13(0x124)](_0x4c14e1=>{const _0x412134=_0xe62f13;_0x4c14e1[_0x412134(0xe8)](_0x357c46);});},_0x1b36bf*0x2);this[_0x1923cd(0x303)][_0x1923cd(0x4ce)](_0x357c46,_0x19036c);}[_0x416c04(0x11a)](_0x483639){const _0x2defa8=_0x416c04;if(this['_clearOtherTimers'][_0x2defa8(0x6c)](_0x483639)){const _0x4f9fdb=this[_0x2defa8(0x303)][_0x2defa8(0x529)](_0x483639);_0x4f9fdb&&window[_0x2defa8(0x464)](_0x4f9fdb),this[_0x2defa8(0x303)][_0x2defa8(0x4ce)](_0x483639,null);}}['_handleLeaveEvent'](_0x576fb0){const _0x500682=_0x416c04,{memberID:_0x4edbcd,unitIDs:_0x4f3b94}=_0x576fb0;_0x4f3b94[_0x500682(0x124)](_0x7d4993=>{const _0x5ce303=_0x500682;var _0x1842eb;const _0x354034=this['_unitOnClients'][_0x5ce303(0x529)](_0x7d4993);_0x354034&&(_0x354034[_0x5ce303(0xe8)](_0x4edbcd),(_0x1842eb=this[_0x5ce303(0xb5)](_0x7d4993))==null||_0x1842eb[_0x5ce303(0x50f)](_0x354034[_0x5ce303(0x440)]===0x0?0x0:0x1));}),this[_0x500682(0x11a)](_0x4edbcd);}[_0x416c04(0x316)](_0x1a787a){const _0xd9f073=_0x416c04;this[_0xd9f073(0x274)](_0x1a787a['memberID']);}[_0x416c04(0x15c)](_0x2e46d9){const _0x528677=_0x416c04;localStorage[_0x528677(0xbc)](_0xeda8d4,JSON[_0x528677(0x420)](_0x2e46d9));}[_0x416c04(0xe1)](){const _0x4087a6=_0x416c04;this['_heartbeatTimer']=window[_0x4087a6(0x367)](()=>{const _0x2855a4=_0x4087a6;this[_0x2855a4(0x15c)]({'type':0x2,'memberID':this['_id']});},_0x1b36bf);}[_0x416c04(0xb5)](_0x203e75){const _0x50a89a=_0x416c04;return this[_0x50a89a(0x4cc)]['has'](_0x203e75)||this[_0x50a89a(0x4cc)][_0x50a89a(0x4ce)](_0x203e75,new _0x10d074['BehaviorSubject'](0x0)),this[_0x50a89a(0x4cc)][_0x50a89a(0x529)](_0x203e75);}}var _0xd10178=Object[_0x416c04(0x2e4)],_0x4b707d=Object[_0x416c04(0x4e2)],_0x88b3c0=(_0x1f9341,_0x4cbf94,_0x2cbcd5,_0xe7eb73)=>{const _0x4249b4=_0x416c04;for(var _0xf4fc50=_0xe7eb73>0x1?void 0x0:_0xe7eb73?_0x4b707d(_0x4cbf94,_0x2cbcd5):_0x4cbf94,_0x364492=_0x1f9341[_0x4249b4(0x26a)]-0x1,_0x52d862;_0x364492>=0x0;_0x364492--)(_0x52d862=_0x1f9341[_0x364492])&&(_0xf4fc50=(_0xe7eb73?_0x52d862(_0x4cbf94,_0x2cbcd5,_0xf4fc50):_0x52d862(_0xf4fc50))||_0xf4fc50);return _0xe7eb73&&_0xf4fc50&&_0xd10178(_0x4cbf94,_0x2cbcd5,_0xf4fc50),_0xf4fc50;},_0x1e0dbf=(_0x24c331,_0x51a51f)=>(_0x4e877e,_0x31d469)=>_0x51a51f(_0x4e877e,_0x31d469,_0x24c331);let _0xa1c94b=class{constructor(_0x32d0c6,_0x7d9620,_0x3f047f){const _0x1e7be9=_0x416c04;this[_0x1e7be9(0x4c7)]=_0x32d0c6,this['_transformService']=_0x7d9620,this[_0x1e7be9(0x13c)]=_0x3f047f;}[_0x416c04(0x42a)](_0x533f5b){const _0x249592=_0x416c04;this[_0x249592(0x31c)](_0x533f5b);}[_0x416c04(0x23b)](_0x2c957c){const _0x2b1b8e=_0x416c04,{unitID:_0x5235fe}=_0x2c957c,{collaboration:_0x529c2d}=this[_0x2b1b8e(0x13c)]['getStateCache'](_0x5235fe);if(_0x529c2d[_0x2b1b8e(0x26a)]===0x0)return _0x2c957c;let _0xb3ffe6=_0x3d563c[_0x2b1b8e(0x270)][_0x2b1b8e(0x429)](_0x2c957c[_0x2b1b8e(0xa2)][0x0]);for(let _0x496b4d=0x0;_0x496b4d<_0x529c2d[_0x2b1b8e(0x26a)];_0x496b4d++){const _0x38be77={'id':_0x2b1b8e(0x3af),'params':{'unitId':_0x529c2d[_0x496b4d][_0x2b1b8e(0x425)],..._0x529c2d[_0x496b4d][_0x2b1b8e(0x51b)]}},_0x35683e=this['_transformService'][_0x2b1b8e(0x168)](_0xb3ffe6,_0x38be77,!0x1);if(_0x520737['isTransformMutationFailure'](_0x35683e))throw _0x35683e[_0x2b1b8e(0x4b1)];_0xb3ffe6=_0x35683e[_0x2b1b8e(0x42f)];}return{..._0x3d563c[_0x2b1b8e(0x270)][_0x2b1b8e(0x429)](_0x2c957c),'mutations':[_0xb3ffe6]};}[_0x416c04(0x31c)](_0x46df45){const _0x573d47=_0x416c04,{unitID:_0x56c4be}=_0x46df45,{history:_0x4bf139,collaboration:_0x5406b6}=this[_0x573d47(0x13c)][_0x573d47(0x28f)](_0x56c4be);if(_0x4bf139[_0x573d47(0x26a)]===0x0&&_0x5406b6[_0x573d47(0x26a)]===0x0)return;const _0x34411d=[],_0x5e12c6=[];let _0x59bf68=_0x3d563c[_0x573d47(0x270)][_0x573d47(0x429)](_0x46df45[_0x573d47(0xa2)][0x0]),_0x32c012=_0x3d563c[_0x573d47(0x270)][_0x573d47(0x429)](_0x46df45['mutations'][0x0]);for(let _0x342e40=_0x4bf139['length']-0x1;_0x342e40>=0x0;_0x342e40--){const _0x26b54b={'id':_0x573d47(0x3af),'params':{'unitId':_0x4bf139[_0x342e40][_0x573d47(0x425)],..._0x4bf139[_0x342e40][_0x573d47(0x3bd)]}},_0x1bd162={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4bf139[_0x342e40]['unitId'],..._0x4bf139[_0x342e40][_0x573d47(0x51b)]}},_0x22b92a=this['_transformService']['transformMutation'](_0x59bf68,_0x26b54b,!0x1),_0x46296a=this[_0x573d47(0x392)][_0x573d47(0x168)](_0x32c012,_0x1bd162,!0x1);if(_0x520737[_0x573d47(0x139)](_0x22b92a))throw _0x22b92a['error'];if(_0x520737[_0x573d47(0x139)](_0x46296a))throw _0x46296a[_0x573d47(0x4b1)];_0x34411d[_0x573d47(0x30d)]({..._0x4bf139[_0x342e40],'undoState':_0x22b92a[_0x573d47(0x85)]['params'],'redoState':_0x46296a[_0x573d47(0x85)][_0x573d47(0x402)]}),_0x59bf68=_0x22b92a[_0x573d47(0x42f)],_0x32c012=_0x46296a['m1Prime'];}_0x59bf68=_0x3d563c[_0x573d47(0x270)][_0x573d47(0x429)](_0x46df45['mutations'][0x0]),_0x32c012=_0x3d563c[_0x573d47(0x270)]['deepClone'](_0x46df45[_0x573d47(0xa2)][0x0]);for(let _0x154651=_0x5406b6[_0x573d47(0x26a)]-0x1;_0x154651>=0x0;_0x154651--){const _0x210af0={'id':_0x573d47(0x3af),'params':{'unitId':_0x5406b6[_0x154651][_0x573d47(0x425)],..._0x5406b6[_0x154651]['undoState']}},_0x41c141={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5406b6[_0x154651]['unitId'],..._0x5406b6[_0x154651]['redoState']}},_0x16a261=this[_0x573d47(0x392)]['transformMutation'](_0x59bf68,_0x210af0,!0x1),_0x5e08d6=this[_0x573d47(0x392)]['transformMutation'](_0x32c012,_0x41c141,!0x1);if(_0x520737[_0x573d47(0x139)](_0x16a261))throw _0x16a261[_0x573d47(0x4b1)];if(_0x520737['isTransformMutationFailure'](_0x5e08d6))throw _0x5e08d6[_0x573d47(0x4b1)];_0x5e12c6[_0x573d47(0x30d)]({..._0x5406b6[_0x154651],'undoState':_0x16a261[_0x573d47(0x85)][_0x573d47(0x402)],'redoState':_0x5e08d6[_0x573d47(0x85)][_0x573d47(0x402)]}),_0x59bf68=_0x16a261[_0x573d47(0x42f)],_0x32c012=_0x5e08d6[_0x573d47(0x42f)];}this[_0x573d47(0x13c)][_0x573d47(0x11b)](_0x56c4be,{'history':_0x34411d,'collaboration':_0x5e12c6});}};_0xa1c94b=_0x88b3c0([_0x1e0dbf(0x0,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c['Injector'])),_0x1e0dbf(0x1,_0x520737['ITransformService']),_0x1e0dbf(0x2,_0x3d563c[_0x416c04(0x4d1)](_0x4212a5[_0x416c04(0x34f)]))],_0xa1c94b);function _0x957268(_0x26041c){let _0x2604d0='';for(const _0x370cc3 of _0x26041c){const {startOffset:_0x282694,endOffset:_0x416b29,isActive:_0x3b28cc,rangeType:_0x7f5c2f,segmentId:_0x1e536a,segmentPage:_0x129a57}=_0x370cc3;_0x2604d0['length']&&(_0x2604d0+=','),_0x2604d0+=_0x282694+':'+_0x416b29+':'+(_0x3b28cc?'1':'0')+':'+_0x7f5c2f+':'+_0x1e536a+':'+_0x129a57;}return _0x2604d0;}function _0x2aea7a(_0x280057){const _0x1a9681=_0x416c04,_0x3f79e2=_0x280057[_0x1a9681(0x1ec)](','),_0x444612=[];for(const _0x37587d of _0x3f79e2){const [_0x1d47b4,_0x28779e,_0x29f42a,_0x21273a,_0x2686c2,_0x20a48c]=_0x37587d[_0x1a9681(0x1ec)](':');_0x444612[_0x1a9681(0x1e9)]({'startOffset':Number(_0x1d47b4),'endOffset':Number(_0x28779e),'collapsed':_0x1d47b4===_0x28779e,'isActive':_0x29f42a==='1','rangeType':_0x21273a===_0x3d563c['DOC_RANGE_TYPE'][_0x1a9681(0x3f5)]?_0x3d563c[_0x1a9681(0x216)]['TEXT']:_0x3d563c['DOC_RANGE_TYPE'][_0x1a9681(0x8b)],'segmentId':typeof _0x2686c2==_0x1a9681(0x10b)?String(_0x2686c2):'','segmentPage':Number(_0x20a48c!=null?_0x20a48c:-0x1)});}return _0x444612[_0x1a9681(0x1e2)](_0x28a19a=>_0x28a19a[_0x1a9681(0x482)])||(_0x444612[0x0][_0x1a9681(0x482)]=!0x0),_0x444612;}class _0x50baf1 extends _0x3d563c[_0x416c04(0x9b)]{constructor(){const _0x23cee1=_0x416c04;super(...arguments),_0x10d0d4(this,'_collabCursorState$',new _0x10d074['BehaviorSubject'](null)),_0x10d0d4(this,'collabCursorState$',this[_0x23cee1(0x4b5)][_0x23cee1(0x349)]());}[_0x416c04(0x86)](_0x9cfb0f){const _0x18b92d=_0x416c04,{unitID:_0x4ce9bd,memberID:_0x5cc5ee,textRanges:_0x124579}=_0x9cfb0f,_0x4e1627=_0x957268(_0x124579);if(_0x4e1627==='')return;const _0x497d8a={'unitID':_0x4ce9bd,'memberID':_0x5cc5ee,'selection':_0x4e1627};this['_collabCursorState$'][_0x18b92d(0x50f)](_0x497d8a);}}var _0x2b7f46=Object['defineProperty'],_0x5d30e4=Object[_0x416c04(0x4e2)],_0x1a6737=(_0x3b771f,_0x1285af,_0x2cf53e,_0x4c5c40)=>{const _0x555602=_0x416c04;for(var _0x563ab2=_0x4c5c40>0x1?void 0x0:_0x4c5c40?_0x5d30e4(_0x1285af,_0x2cf53e):_0x1285af,_0x476404=_0x3b771f[_0x555602(0x26a)]-0x1,_0x331f;_0x476404>=0x0;_0x476404--)(_0x331f=_0x3b771f[_0x476404])&&(_0x563ab2=(_0x4c5c40?_0x331f(_0x1285af,_0x2cf53e,_0x563ab2):_0x331f(_0x563ab2))||_0x563ab2);return _0x4c5c40&&_0x563ab2&&_0x2b7f46(_0x1285af,_0x2cf53e,_0x563ab2),_0x563ab2;},_0x57ff8d=(_0x20ead0,_0x53d114)=>(_0x5e271b,_0x4f381b)=>_0x53d114(_0x5e271b,_0x4f381b,_0x20ead0);let _0x3e8219=class{constructor(_0x2b4ac3,_0x3fc4f7){const _0x177054=_0x416c04;this['_injector']=_0x2b4ac3,this[_0x177054(0x392)]=_0x3fc4f7;}[_0x416c04(0x47f)](_0x1adadf){const _0x112bc8=_0x416c04;var _0x20d357;const _0x333ae7=this['_injector'][_0x112bc8(0x529)](_0x2fb3a7[_0x112bc8(0x4ca)]),_0x531225=(_0x20d357=_0x333ae7[_0x112bc8(0x114)]())!=null?_0x20d357:[];if(_0x531225['length']===0x0)return;const _0x11879f=_0x1adadf[_0x112bc8(0x280)],_0x39b8c2=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x11879f,'actions':null,'textRanges':_0x531225}}],_0x5764b0=this[_0x112bc8(0x392)]['transformMutationsWithChangeset'](_0x1adadf,_0x39b8c2);if(!_0x520737[_0x112bc8(0x4e4)](_0x5764b0))throw _0x5764b0[_0x112bc8(0x4b1)];const _0x43ccc5=_0x5764b0[_0x112bc8(0x85)][0x0][_0x112bc8(0x402)][_0x112bc8(0x4f2)];Array[_0x112bc8(0x408)](_0x43ccc5)&&_0x43ccc5[_0x112bc8(0x26a)]&&_0x333ae7['replaceDocRanges'](_0x43ccc5,{'unitId':_0x11879f,'subUnitId':_0x11879f},!0x1);}};_0x3e8219=_0x1a6737([_0x57ff8d(0x0,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c[_0x416c04(0x25f)])),_0x57ff8d(0x1,_0x520737[_0x416c04(0x302)])],_0x3e8219);const _0x52a443=new Set([_0xa13da4[_0x416c04(0x1b0)]['id']]);function _0x257515(_0x47e79a,_0x4f3a05,_0x2bdb2f,_0x580ae7,_0x5d148e){const _0x36f3b6=_0x416c04;var _0x119209,_0x279bec,_0x50590a,_0x3f21a9;const _0x21913a=[];for(const _0x2ab6eb of _0x47e79a)if(_0x52a443[_0x36f3b6(0x6c)](_0x2ab6eb['id'])){if(_0x21913a['length']>0x0)break;_0x21913a['push'](_0x2ab6eb);break;}else _0x21913a[_0x36f3b6(0x1e9)](_0x2ab6eb);const _0x3067fb=(_0x279bec=(_0x119209=_0x5d148e[_0x36f3b6(0x199)]())==null?void 0x0:_0x119209['userID'])!=null?_0x279bec:_0x36f3b6(0x502),_0x220dbd=(_0x3f21a9=(_0x50590a=_0x5d148e[_0x36f3b6(0x199)]())==null?void 0x0:_0x50590a[_0x36f3b6(0x1d4)])!=null?_0x3f21a9:_0x36f3b6(0x502);return{'changeset':{'unitID':_0x4f3a05,'type':_0x520737['mapDocumentTypeToUniverType'](_0x2bdb2f[_0x36f3b6(0x1b8)](_0x4f3a05)),'baseRev':_0x580ae7['getCurrentRevOfUnit'](_0x4f3a05),'revision':0x0,'userID':_0x3067fb,'memberID':_0x220dbd,'mutations':_0x21913a},'pendingMutations':_0x47e79a[_0x36f3b6(0x191)](_0x21913a[_0x36f3b6(0x26a)])};}function _0x4a3229(_0x3a2e47,_0x341664,_0x105e83,_0x4d9604,_0x12262a){const _0x3842c0=_0x416c04;var _0x2baef0,_0x50a397,_0x2acbd9,_0x330c84;const _0xb70503=[_0x3a2e47['reduce']((_0x2046a7,_0x16271e)=>{const _0x318d64=_0x3e32;var _0x578aba;const {id:_0x53fadf}=_0x2046a7,{id:_0xf91e6d,type:_0x3c59f4}=_0x16271e,_0xe0692=(_0x578aba=_0x2046a7['params'])!=null?_0x578aba:{'actions':null},_0x1db6e8=_0x16271e[_0x318d64(0x402)];if(_0x53fadf&&_0x53fadf!==_0xf91e6d)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x53fadf+_0x318d64(0x2fe)+_0xf91e6d+'.');return{..._0x2046a7,'id':_0xf91e6d,'type':_0x3c59f4,'params':{'unitId':_0x1db6e8[_0x318d64(0x425)],'textRanges':_0x1db6e8[_0x318d64(0x4f2)],'actions':_0x3d563c[_0x318d64(0x173)][_0x318d64(0x313)](_0xe0692[_0x318d64(0x344)],_0x1db6e8['actions'])}};},{})],_0xfadf11=(_0x50a397=(_0x2baef0=_0x12262a[_0x3842c0(0x199)]())==null?void 0x0:_0x2baef0[_0x3842c0(0x1fd)])!=null?_0x50a397:_0x3842c0(0x502),_0x4eb6ff=(_0x330c84=(_0x2acbd9=_0x12262a['getCurrentUser']())==null?void 0x0:_0x2acbd9[_0x3842c0(0x1d4)])!=null?_0x330c84:_0x3842c0(0x502);return{'changeset':{'unitID':_0x341664,'type':_0x520737[_0x3842c0(0x2da)](_0x105e83['getUnitType'](_0x341664)),'baseRev':_0x4d9604['getCurrentRevOfUnit'](_0x341664),'revision':0x0,'userID':_0xfadf11,'memberID':_0x4eb6ff,'mutations':_0xb70503},'pendingMutations':[]};}function _0x570c5e(_0x419b3e,_0x5a0772){const _0x5ed165=_0x416c04,_0x246154=new _0x10d074[(_0x5ed165(0x93))](0x1);return setTimeout(()=>_0x246154[_0x5ed165(0x50f)](_0x5a0772),_0x419b3e),_0x246154[_0x5ed165(0x349)]()[_0x5ed165(0x123)](_0x10d074[_0x5ed165(0x4ba)](0x1));}const _0x371362={'id':_0xa13da4['EmptyMutation']['id'],'type':_0x3d563c[_0x416c04(0x3b9)][_0x416c04(0x326)],'params':{}};var _0x48d5dc=Object['defineProperty'],_0x53c481=Object[_0x416c04(0x4e2)],_0x119835=(_0x3a795b,_0x52c90a,_0x2e9b12,_0x238b25)=>{for(var _0x2716aa=_0x238b25>0x1?void 0x0:_0x238b25?_0x53c481(_0x52c90a,_0x2e9b12):_0x52c90a,_0xa7267a=_0x3a795b['length']-0x1,_0x359178;_0xa7267a>=0x0;_0xa7267a--)(_0x359178=_0x3a795b[_0xa7267a])&&(_0x2716aa=(_0x238b25?_0x359178(_0x52c90a,_0x2e9b12,_0x2716aa):_0x359178(_0x2716aa))||_0x2716aa);return _0x238b25&&_0x2716aa&&_0x48d5dc(_0x52c90a,_0x2e9b12,_0x2716aa),_0x2716aa;},_0xf3a968=(_0xbc0799,_0xf1045)=>(_0x104982,_0x1ef4a0)=>_0xf1045(_0x104982,_0x1ef4a0,_0xbc0799),_0x153ab4=(_0x1f4915=>(_0x1f4915[_0x416c04(0x372)]=_0x416c04(0x217),_0x1f4915['SYNCED']=_0x416c04(0x10d),_0x1f4915['PENDING']=_0x416c04(0x358),_0x1f4915[_0x416c04(0x1ab)]='awaiting',_0x1f4915[_0x416c04(0x31a)]='awaiting_with_pending',_0x1f4915[_0x416c04(0x40c)]=_0x416c04(0x47c),_0x1f4915['CONFLICT']='conflict',_0x1f4915['OFFLINE']=_0x416c04(0x23e),_0x1f4915))(_0x153ab4||{});const _0x1beb87=0xea60;class _0x1242eb{constructor(_0x1f3a9f,_0x23e11b,_0x4cff8c,_0x1846ff,_0x6de9be,_0x2ddf4e,_0xf147ca,_0x5a045e,_0x64c797){const _0x2a4ad9=_0x416c04;_0x10d0d4(this,_0x2a4ad9(0x27e),null),_0x10d0d4(this,_0x2a4ad9(0x79),[]),(this[_0x2a4ad9(0x280)]=_0x1f3a9f,this['type']=_0x23e11b,this['_handler']=_0x6de9be,this[_0x2a4ad9(0x3ac)]=_0x2ddf4e,this[_0x2a4ad9(0x1ff)]=_0xf147ca,this[_0x2a4ad9(0x13f)]=_0x5a045e,this['_localCacheService']=_0x64c797,this['_awaitingChangeset']=_0x4cff8c,this['_pendingMutations']=_0x1846ff);}[_0x416c04(0x289)](_0x5b98a3){const _0x414153=_0x416c04,_0x55c7fa=this[_0x414153(0x13f)][_0x414153(0x4d5)](this[_0x414153(0x280)]);return _0x5b98a3[_0x414153(0x406)]>_0x55c7fa+0x1?(this['_handler'][_0x414153(0x33b)]({'from':_0x55c7fa,'to':_0x5b98a3[_0x414153(0x406)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0xa2f785){const _0x3cde60=_0x416c04;this[_0x3cde60(0x1ff)][_0x3cde60(0x314)](this['unitID'],_0xa2f785);}[_0x416c04(0x51d)](_0x4df8b8){const _0x2c46e0=_0x416c04;var _0x24c8ad,_0x94b7ed;(_0x94b7ed=(_0x24c8ad=this[_0x2c46e0(0x3d8)])[_0x2c46e0(0xc7)])==null||_0x94b7ed[_0x2c46e0(0x2eb)](_0x24c8ad,_0x4df8b8);}[_0x416c04(0x421)](_0x1287e5){const _0xcae0e2=_0x416c04;var _0x19447f,_0x268096;return(_0x268096=(_0x19447f=this[_0xcae0e2(0x3d8)])[_0xcae0e2(0x201)])==null?void 0x0:_0x268096[_0xcae0e2(0x2eb)](_0x19447f,_0x1287e5);}[_0x416c04(0x237)](_0x154cd5){const _0x5de9b1=_0x416c04;var _0x3cb355,_0x36927f;return(_0x36927f=(_0x3cb355=this[_0x5de9b1(0x3d8)])[_0x5de9b1(0x30e)])==null?void 0x0:_0x36927f[_0x5de9b1(0x2eb)](_0x3cb355,_0x154cd5);}[_0x416c04(0x4f9)](_0x733e15){const _0x3e24e0=_0x416c04;var _0x1198b9,_0x21901a,_0x54769d;return(_0x54769d=(_0x21901a=(_0x1198b9=this['_handler'])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x21901a[_0x3e24e0(0x2eb)](_0x1198b9,_0x733e15))!=null?_0x54769d:_0x733e15;}[_0x416c04(0xf7)](_0x19babc){const _0x4d7543=_0x416c04;var _0x2c63b6,_0x17ba96,_0x5290b3;return(_0x5290b3=(_0x17ba96=(_0x2c63b6=this[_0x4d7543(0x3d8)])[_0x4d7543(0x3fd)])==null?void 0x0:_0x17ba96[_0x4d7543(0x2eb)](_0x2c63b6,_0x19babc))!=null?_0x5290b3:_0x19babc;}[_0x416c04(0x7b)](_0x4f2602){const _0x10c6c6=_0x416c04;var _0x2d51fa,_0x2d2fb2;if(this[_0x10c6c6(0x6e)]===_0x2cf20e['UNIVER_DOC']){const {unitID:_0xb8e955,mutations:_0x38ef47,memberID:_0x1f4ac1}=_0x4f2602,_0x1ced35=_0x38ef47[0x0][_0x10c6c6(0x402)]['textRanges'];Array[_0x10c6c6(0x408)](_0x1ced35)&&_0x1ced35[_0x10c6c6(0x26a)]>0x0&&((_0x2d2fb2=(_0x2d51fa=this[_0x10c6c6(0x3d8)])[_0x10c6c6(0x394)])==null||_0x2d2fb2[_0x10c6c6(0x2eb)](_0x2d51fa,{'unitID':_0xb8e955,'memberID':_0x1f4ac1,'textRanges':_0x1ced35}));}}[_0x416c04(0x229)](){const _0x377195=_0x416c04;this[_0x377195(0x2a0)][_0x377195(0x128)](this[_0x377195(0x280)],this[_0x377195(0x6e)],this[_0x377195(0x27e)],this[_0x377195(0x79)]);}[_0x416c04(0x285)](){const _0x4d5979=_0x416c04;return this['_revisionService'][_0x4d5979(0x4d5)](this[_0x4d5979(0x280)]);}[_0x416c04(0x19b)](){const _0xef990d=_0x416c04;this[_0xef990d(0x13f)][_0xef990d(0x165)](this[_0xef990d(0x280)]);}[_0x416c04(0x3b5)](_0x3b778f){const _0x2379f5=_0x416c04;var _0x52a808;let _0x32cabb=this[_0x2379f5(0x4f9)](_0x3b778f);_0x32cabb=this[_0x2379f5(0xf7)](_0x32cabb);const _0x5a2db3=_0x3d563c[_0x2379f5(0x74)](_0x32cabb[_0x2379f5(0xa2)],this[_0x2379f5(0x3ac)],{'fromCollab':!0x0});if(!_0x5a2db3['result'])throw _0x5a2db3[_0x2379f5(0x4b1)]instanceof Error?_0x5a2db3[_0x2379f5(0x4b1)]:new Error((_0x52a808=_0x5a2db3['error'])!=null?_0x52a808:_0x2379f5(0x259));this[_0x2379f5(0x421)](_0x32cabb),this['_transformStateCache'](_0x32cabb),this[_0x2379f5(0x40f)](_0x3b778f),this[_0x2379f5(0x51d)](_0x32cabb),this['_syncEditingCollabCursor'](_0x32cabb),this[_0x2379f5(0x19b)]();}}let _0x4c0215=class extends _0x1242eb{constructor(_0x29e428,_0x5ed404,_0x219cd7,_0x1d5e73,_0x47f1bc,_0x27118b,_0x138249,_0x2dbbc6,_0x38c003,_0xfa9099){const _0x4f55d0=_0x416c04;super(_0x29e428,_0x5ed404,null,[],_0x219cd7,_0x2dbbc6,_0x138249,_0x1d5e73,_0x47f1bc),_0x10d0d4(this,_0x4f55d0(0xea),'synced'),(this[_0x4f55d0(0x4c7)]=_0x27118b,this['_logService']=_0x38c003,this[_0x4f55d0(0x392)]=_0xfa9099);}['appendMutation'](_0x23d0b5){const _0x42fbd9=_0x416c04,_0x12c848=this[_0x42fbd9(0x4c7)][_0x42fbd9(0x385)](_0x5b2db2,this[_0x42fbd9(0x280)],this['type'],[_0x23d0b5],this[_0x42fbd9(0x3d8)]);return _0x12c848[_0x42fbd9(0x250)](),_0x12c848[_0x42fbd9(0x229)](),_0x12c848;}[_0x416c04(0x335)](_0xba3519){const _0xc76f32=_0x416c04;if(this[_0xc76f32(0x289)](_0xba3519))return this[_0xc76f32(0x4c7)][_0xc76f32(0x385)](_0x42c14f,this['unitID'],this[_0xc76f32(0x6e)],null,[],null,[_0xba3519],this[_0xc76f32(0x3d8)]);try{const _0x2be92f=this['_transformService'][_0xc76f32(0x3a8)](_0xba3519,[_0x371362]);if(_0x520737[_0xc76f32(0x4e4)](_0x2be92f)){const {c1Prime:_0x547d10}=_0x2be92f;return this[_0xc76f32(0x3b5)](_0x547d10),this;}throw _0x2be92f[_0xc76f32(0x4b1)];}catch(_0x3ba9c0){return this[_0xc76f32(0x4ff)]['error'](_0x3ba9c0),this[_0xc76f32(0x441)](!0x1);}}[_0x416c04(0x441)](_0x496dde){const _0x1f07e7=_0x416c04;return this[_0x1f07e7(0x4c7)][_0x1f07e7(0x385)](_0x4e17ab,this[_0x1f07e7(0x280)],this[_0x1f07e7(0x6e)],null,[],this[_0x1f07e7(0x3d8)],_0x496dde);}[_0x416c04(0x4b4)](){const _0x502f6a=_0x416c04;throw new Error(_0x502f6a(0x3b0));}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x416c04(0x3ef)](){return this;}['toggleOffline'](){const _0x4b56e8=_0x416c04;return this[_0x4b56e8(0x4c7)][_0x4b56e8(0x385)](_0x49fbec,this[_0x4b56e8(0x280)],this['type'],null,[],this[_0x4b56e8(0x3d8)]);}[_0x416c04(0xa3)](){return this;}['resend'](){const _0x441fbe=_0x416c04;throw new Error(_0x441fbe(0x319));}[_0x416c04(0x77)](){const _0x159a19=_0x416c04,_0x4b244c=this[_0x159a19(0x13f)][_0x159a19(0x4d5)](this[_0x159a19(0x280)]);return this[_0x159a19(0x3d8)][_0x159a19(0x33b)]({'from':_0x4b244c,'to':0x0}),this[_0x159a19(0x4c7)][_0x159a19(0x385)](_0x42c14f,this[_0x159a19(0x280)],this[_0x159a19(0x6e)],null,[],null,[],this[_0x159a19(0x3d8)]);}};_0x4c0215=_0x119835([_0xf3a968(0x3,_0x3d563c[_0x416c04(0x4d1)](_0x520737['RevisionService'])),_0xf3a968(0x4,_0x3d563c[_0x416c04(0x4d1)](_0x1b5475['LocalCacheService'])),_0xf3a968(0x5,_0x3d563c['Inject'](_0x3d563c[_0x416c04(0x25f)])),_0xf3a968(0x6,_0x3d563c[_0x416c04(0x3f0)]),_0xf3a968(0x7,_0x3d563c[_0x416c04(0x3e8)]),_0xf3a968(0x8,_0x3d563c['ILogService']),_0xf3a968(0x9,_0x520737[_0x416c04(0x302)])],_0x4c0215);let _0x5b2db2=class extends _0x1242eb{constructor(_0x3110e8,_0x4122ce,_0x363e17,_0x357e26,_0x475907,_0x30d022,_0x49e973,_0x3ab406,_0x33d63a,_0x4ab3ee,_0x400e4e,_0x5bb1f6,_0x301038,_0x4c8f5c){const _0x2b78fd=_0x416c04;super(_0x3110e8,_0x4122ce,null,_0x363e17,_0x357e26,_0x4ab3ee,_0x4c8f5c,_0x30d022,_0x49e973),_0x10d0d4(this,'status',_0x2b78fd(0x358)),_0x10d0d4(this,_0x2b78fd(0x433),null),_0x10d0d4(this,_0x2b78fd(0x39e),null),(this['_injector']=_0x475907,this[_0x2b78fd(0x399)]=_0x3ab406,this[_0x2b78fd(0x4ff)]=_0x33d63a,this[_0x2b78fd(0xd6)]=_0x400e4e,this[_0x2b78fd(0x392)]=_0x5bb1f6,this[_0x2b78fd(0x468)]=_0x301038);}[_0x416c04(0x3d1)](_0x3b96ca){const _0x33eec9=_0x416c04;return this[_0x33eec9(0x79)][_0x33eec9(0x1e9)](_0x3b96ca),this[_0x33eec9(0x229)](),this;}['onRemoteChangeset'](_0x172a56){const _0xee09a7=_0x416c04;if(this['_checkMissing'](_0x172a56))return this['_clearScheduledTask'](),this[_0xee09a7(0x4c7)][_0xee09a7(0x385)](_0x42c14f,this[_0xee09a7(0x280)],this[_0xee09a7(0x6e)],null,this[_0xee09a7(0x79)],null,[_0x172a56],this[_0xee09a7(0x3d8)]);try{const _0x14cf7f=this[_0xee09a7(0x392)][_0xee09a7(0x3a8)](_0x172a56,this[_0xee09a7(0x79)]);if(_0x520737[_0xee09a7(0x4e4)](_0x14cf7f)){const {c1Prime:_0xb182c1,m2Prime:_0x2d27e3}=_0x14cf7f;this[_0xee09a7(0x3b5)](_0xb182c1);const _0x2b80b5=this[_0xee09a7(0x4c7)][_0xee09a7(0x385)](_0x5b2db2,this[_0xee09a7(0x280)],this[_0xee09a7(0x6e)],_0x2d27e3,this[_0xee09a7(0x3d8)]);return this[_0xee09a7(0x11f)](),_0x2b80b5['_schedule'](this[_0xee09a7(0x433)]?Math[_0xee09a7(0x1f2)](0x0,new Date()[_0xee09a7(0x17d)]()-this[_0xee09a7(0x433)]):this[_0xee09a7(0x499)]()),_0x2b80b5;}throw _0x14cf7f['error'];}catch(_0x4a56c4){return this[_0xee09a7(0x4ff)][_0xee09a7(0x4b1)](_0x4a56c4),this['_onConflict'](!0x1);}}[_0x416c04(0x4b4)](){const _0x46d6ab=_0x416c04;throw new Error(_0x46d6ab(0x242));}[_0x416c04(0x3da)](){const _0x34d944=_0x416c04;throw new Error(_0x34d944(0x25d));}[_0x416c04(0x3ef)](){return this;}[_0x416c04(0x9a)](){const _0x469831=_0x416c04;return this[_0x469831(0x11f)](),this[_0x469831(0x4c7)]['createInstance'](_0x49fbec,this[_0x469831(0x280)],this[_0x469831(0x6e)],null,this[_0x469831(0x79)],this[_0x469831(0x3d8)]);}[_0x416c04(0xa3)](){return this;}[_0x416c04(0x250)](_0x589d35){const _0x4962bc=_0x416c04,_0xdae8b2=_0x589d35!=null?_0x589d35:this[_0x4962bc(0x499)]();this[_0x4962bc(0x433)]=new Date()[_0x4962bc(0x17d)](),this['_sendingTimer']=window[_0x4962bc(0x2f0)](()=>{const _0x74ef61=_0x4962bc;this[_0x74ef61(0x11f)]();let _0x286ec0=null;switch(this[_0x74ef61(0x6e)]){case _0x2cf20e[_0x74ef61(0x2ec)]:{_0x286ec0=_0x257515(this[_0x74ef61(0x79)],this[_0x74ef61(0x280)],this['_univerInstanceService'],this[_0x74ef61(0x13f)],this[_0x74ef61(0x399)]);break;}case _0x2cf20e[_0x74ef61(0x465)]:{this[_0x74ef61(0x79)][_0x74ef61(0x520)](_0x347adf=>_0x347adf['id']===_0x2fb3a7[_0x74ef61(0x419)]['id'])?_0x286ec0=_0x4a3229(this['_pendingMutations'],this[_0x74ef61(0x280)],this['_univerInstanceService'],this[_0x74ef61(0x13f)],this[_0x74ef61(0x399)]):_0x286ec0=_0x257515(this[_0x74ef61(0x79)],this[_0x74ef61(0x280)],this[_0x74ef61(0x468)],this[_0x74ef61(0x13f)],this[_0x74ef61(0x399)]);break;}default:throw new Error(_0x74ef61(0x404)+this['type']+_0x74ef61(0x47e));}const {changeset:_0x500531,pendingMutations:_0x42c970}=_0x286ec0;this[_0x74ef61(0x3d8)][_0x74ef61(0x304)](_0x500531);const _0x23db53=_0x42c970['length']?this['_injector']['createInstance'](_0x4708d2,this[_0x74ef61(0x280)],this[_0x74ef61(0x6e)],_0x500531,_0x42c970,this[_0x74ef61(0x3d8)],void 0x0):this[_0x74ef61(0x4c7)]['createInstance'](_0x537ae5,this[_0x74ef61(0x280)],this['type'],_0x500531,this[_0x74ef61(0x3d8)]);_0x23db53['_updateLocalCache'](),this[_0x74ef61(0x3d8)][_0x74ef61(0x33f)](this,_0x23db53);},_0xdae8b2);}[_0x416c04(0x499)](){const _0x4a0008=_0x416c04;var _0x466237;const _0x2a4b6f=this['_configService']['getConfig'](_0x40a44f);return(_0x466237=_0x2a4b6f==null?void 0x0:_0x2a4b6f[_0x4a0008(0x4a2)])!=null?_0x466237:0x7d0;}[_0x416c04(0x38d)](){const _0x375f4f=_0x416c04;throw new Error(_0x375f4f(0x4a5));}[_0x416c04(0x11f)](){const _0x2887eb=_0x416c04;this[_0x2887eb(0x39e)]!=null&&(clearTimeout(this[_0x2887eb(0x39e)]),this[_0x2887eb(0x39e)]=null);}[_0x416c04(0x441)](_0x84361d){const _0x3189a0=_0x416c04;return this[_0x3189a0(0x11f)](),this['_injector'][_0x3189a0(0x385)](_0x4e17ab,this[_0x3189a0(0x280)],this['type'],null,this[_0x3189a0(0x79)],this[_0x3189a0(0x3d8)],_0x84361d);}};_0x5b2db2=_0x119835([_0xf3a968(0x4,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c[_0x416c04(0x25f)])),_0xf3a968(0x5,_0x3d563c[_0x416c04(0x4d1)](_0x520737['RevisionService'])),_0xf3a968(0x6,_0x3d563c[_0x416c04(0x4d1)](_0x1b5475[_0x416c04(0x26c)])),_0xf3a968(0x7,_0x3d563c[_0x416c04(0x4d1)](_0x1b5475[_0x416c04(0x2f4)])),_0xf3a968(0x8,_0x3d563c[_0x416c04(0x2fd)]),_0xf3a968(0x9,_0x3d563c[_0x416c04(0x3e8)]),_0xf3a968(0xa,_0x3d563c[_0x416c04(0x4f1)]),_0xf3a968(0xb,_0x520737[_0x416c04(0x302)]),_0xf3a968(0xc,_0x3d563c[_0x416c04(0x127)]),_0xf3a968(0xd,_0x3d563c[_0x416c04(0x3f0)])],_0x5b2db2);let _0x537ae5=class extends _0x1242eb{constructor(_0x4aac36,_0x3b4984,_0x1cf730,_0xaac259,_0x374409,_0x8da207,_0x2afc2c,_0x3e0c84,_0x589fed,_0x588afc,_0x1e677a){const _0x38970d=_0x416c04;super(_0x4aac36,_0x3b4984,_0x1cf730,[],_0xaac259,_0x3e0c84,_0x1e677a,_0x8da207,_0x2afc2c),_0x10d0d4(this,_0x38970d(0xea),_0x38970d(0x1e7)),_0x10d0d4(this,_0x38970d(0x2e2),0x0),_0x10d0d4(this,'_resendTimer'),_0x10d0d4(this,'_sender'),(this[_0x38970d(0x4c7)]=_0x374409,this[_0x38970d(0x4ff)]=_0x589fed,this[_0x38970d(0x392)]=_0x588afc);}[_0x416c04(0x3d1)](_0xf99f3c){const _0x2bc3b8=_0x416c04;this[_0x2bc3b8(0x11f)]();const _0x327f98=this[_0x2bc3b8(0x4c7)][_0x2bc3b8(0x385)](_0x4708d2,this['unitID'],this[_0x2bc3b8(0x6e)],this['_awaitingChangeset'],[_0xf99f3c],this[_0x2bc3b8(0x3d8)],this[_0x2bc3b8(0x3bb)]);return _0x327f98[_0x2bc3b8(0x229)](),_0x327f98;}[_0x416c04(0x335)](_0x23ac0d){const _0x59ecab=_0x416c04;if(this[_0x59ecab(0x289)](_0x23ac0d))return this[_0x59ecab(0x11f)](),this[_0x59ecab(0x4c7)][_0x59ecab(0x385)](_0x42c14f,this[_0x59ecab(0x280)],this[_0x59ecab(0x6e)],this[_0x59ecab(0x27e)],[],null,[_0x23ac0d],this[_0x59ecab(0x3d8)]);try{const _0xc22ed5=this[_0x59ecab(0x392)][_0x59ecab(0x341)]([_0x23ac0d],[this[_0x59ecab(0x27e)]],!0x1);if(_0x520737[_0x59ecab(0x2cc)](_0xc22ed5)){const {c1Prime:_0x2c04db,c2Prime:_0x22e230}=_0xc22ed5;this[_0x59ecab(0x3b5)](_0x2c04db[0x0]),_0x22e230[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x59ecab(0x11f)]();const _0x13510b=this[_0x59ecab(0x4c7)]['createInstance'](_0x537ae5,this[_0x59ecab(0x280)],this['type'],_0x22e230[0x0],this[_0x59ecab(0x3d8)]);return _0x13510b[_0x59ecab(0x229)](),_0x13510b;}return this[_0x59ecab(0x441)](!0x1);}catch(_0x2c81c0){return this['_logService'][_0x59ecab(0x4b1)](_0x2c81c0),this['_onConflict'](!0x1);}}[_0x416c04(0x4b4)](_0x56adde){const _0x507a19=_0x416c04;this['_clearScheduledTask']();const _0x2236b4=this['_revisionService'][_0x507a19(0x4d5)](this['unitID']);if(_0x56adde['revision']<_0x2236b4-0x1)return this;if(this[_0x507a19(0x289)](_0x56adde))return this[_0x507a19(0x4c7)][_0x507a19(0x385)](_0x42c14f,this['unitID'],this['type'],null,[],this['_awaitingChangeset'],[],this[_0x507a19(0x3d8)]);this[_0x507a19(0x19b)]();const _0x4f488a=this[_0x507a19(0x4c7)][_0x507a19(0x385)](_0x4c0215,this[_0x507a19(0x280)],this[_0x507a19(0x6e)],this[_0x507a19(0x3d8)]);return _0x4f488a[_0x507a19(0x229)](),_0x4f488a;}['onRemoteRej'](_0x576272){const _0x467c6a=_0x416c04;return this[_0x467c6a(0x441)](!!(_0x576272!=null&&_0x576272[_0x467c6a(0x163)]));}[_0x416c04(0x3ef)](_0x3b3d7f){const _0x5c602a=_0x416c04;return this[_0x5c602a(0x2e2)]>_0x1beb87?this[_0x5c602a(0x9a)]():(this[_0x5c602a(0x3bb)]=_0x570c5e(this[_0x5c602a(0x2e2)],{'timeout':this[_0x5c602a(0x2e2)],'reqId':_0x3b3d7f[_0x5c602a(0x478)]}),this[_0x5c602a(0x2a7)]=this['_resendTimer'][_0x5c602a(0x31f)](({reqId:_0x4f805e,timeout:_0xb8a417})=>{const _0x427a6b=_0x5c602a;this[_0x427a6b(0x12b)](_0x4f805e,_0xb8a417);}),this);}[_0x416c04(0x9a)](){const _0x133cb3=_0x416c04;return this[_0x133cb3(0x11f)](),this[_0x133cb3(0x4c7)]['createInstance'](_0x49fbec,this['unitID'],this[_0x133cb3(0x6e)],this[_0x133cb3(0x27e)],[],this['_handler']);}[_0x416c04(0xa3)](){return this;}[_0x416c04(0x38d)](){const _0x553ac8=_0x416c04;this[_0x553ac8(0x3d8)][_0x553ac8(0x304)](this[_0x553ac8(0x27e)]);}[_0x416c04(0x441)](_0x5c793e){const _0x5c124a=_0x416c04;return this[_0x5c124a(0x11f)](),this[_0x5c124a(0x4c7)][_0x5c124a(0x385)](_0x4e17ab,this[_0x5c124a(0x280)],this[_0x5c124a(0x6e)],this[_0x5c124a(0x27e)],[],this[_0x5c124a(0x3d8)],_0x5c793e);}[_0x416c04(0x12b)](_0x3bd834,_0x16a504){const _0x352e17=_0x416c04;var _0x118831;_0x3bd834===((_0x118831=this[_0x352e17(0x27e)])==null?void 0x0:_0x118831[_0x352e17(0x478)])&&(this['resend'](),this[_0x352e17(0x2e2)]=_0x16a504===0x0?0x3e8:_0x16a504*0x2);}[_0x416c04(0x11f)](){const _0x273e6b=_0x416c04;var _0x3b225f;(_0x3b225f=this[_0x273e6b(0x2a7)])==null||_0x3b225f[_0x273e6b(0x31d)](),this[_0x273e6b(0x2e2)]=0x0;}};_0x537ae5=_0x119835([_0xf3a968(0x4,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c[_0x416c04(0x25f)])),_0xf3a968(0x5,_0x3d563c['Inject'](_0x520737['RevisionService'])),_0xf3a968(0x6,_0x3d563c[_0x416c04(0x4d1)](_0x1b5475[_0x416c04(0x26c)])),_0xf3a968(0x7,_0x3d563c[_0x416c04(0x3e8)]),_0xf3a968(0x8,_0x3d563c[_0x416c04(0x2fd)]),_0xf3a968(0x9,_0x520737['ITransformService']),_0xf3a968(0xa,_0x3d563c[_0x416c04(0x3f0)])],_0x537ae5);let _0x4708d2=class extends _0x1242eb{constructor(_0x921bd7,_0x27620e,_0x5369ce,_0x40cfc9,_0x3b652d,_0x121b6c,_0x5a9291,_0x29cafe,_0x3e9bf6,_0x28baa0,_0xc78b8a,_0x5c6dbf,_0x2e1044){const _0x39adec=_0x416c04;super(_0x921bd7,_0x27620e,_0x5369ce,_0x40cfc9,_0x3b652d,_0x28baa0,_0x2e1044,_0x29cafe,_0x3e9bf6),_0x10d0d4(this,'status',_0x39adec(0x206)),_0x10d0d4(this,'_resendTimeout',0x0),_0x10d0d4(this,'_resendTimer'),_0x10d0d4(this,_0x39adec(0x2a7)),(this[_0x39adec(0x4c7)]=_0x5a9291,this[_0x39adec(0x4ff)]=_0xc78b8a,this[_0x39adec(0x392)]=_0x5c6dbf,_0x121b6c&&(this['_resendTimer']=_0x121b6c,this[_0x39adec(0x2a7)]=this['_resendTimer']['subscribe'](({reqId:_0x4beb1e,timeout:_0x4012fb})=>{this['_resendWithTimeout'](_0x4beb1e,_0x4012fb);})));}[_0x416c04(0x3d1)](_0x1b1bec){const _0x4f114d=_0x416c04;return this[_0x4f114d(0x79)][_0x4f114d(0x1e9)](_0x1b1bec),this;}[_0x416c04(0x335)](_0x4ece31){const _0x4389b6=_0x416c04;if(this['_checkMissing'](_0x4ece31))return this['_clearScheduledTask'](),this[_0x4389b6(0x4c7)][_0x4389b6(0x385)](_0x42c14f,this[_0x4389b6(0x280)],this[_0x4389b6(0x6e)],this[_0x4389b6(0x27e)],this[_0x4389b6(0x79)],null,[_0x4ece31],this['_handler']);try{const _0x5154cd=this[_0x4389b6(0x392)][_0x4389b6(0x341)]([_0x4ece31],[this['_awaitingChangeset']],!0x1);if(_0x520737[_0x4389b6(0x2cc)](_0x5154cd)){const {c1Prime:_0x5bb206,c2Prime:_0x1d1b90}=_0x5154cd,_0x2e9152=this['_transformService'][_0x4389b6(0x3a8)](_0x5bb206[0x0],this['_pendingMutations']);if(_0x520737[_0x4389b6(0x4e4)](_0x2e9152)){const {c1Prime:_0x22c8b0,m2Prime:_0x6c0550}=_0x2e9152;return this['_executeRemoteChangeset'](_0x22c8b0),_0x1d1b90[0x0][_0x4389b6(0x195)]=this['_getCurrentRevision'](),this[_0x4389b6(0x11f)](),this['_injector'][_0x4389b6(0x385)](_0x4708d2,this[_0x4389b6(0x280)],this[_0x4389b6(0x6e)],_0x1d1b90[0x0],_0x6c0550,this[_0x4389b6(0x3d8)],void 0x0);}throw _0x2e9152[_0x4389b6(0x4b1)];}throw _0x5154cd[_0x4389b6(0x4b1)];}catch(_0x547812){return this['_logService'][_0x4389b6(0x4b1)](_0x547812),this[_0x4389b6(0x441)](!0x1);}}[_0x416c04(0x4b4)](_0x349b45){const _0x532a5f=_0x416c04;if(this['_clearScheduledTask'](),this[_0x532a5f(0x289)](_0x349b45))return this[_0x532a5f(0x4c7)][_0x532a5f(0x385)](_0x42c14f,this['unitID'],this[_0x532a5f(0x6e)],null,this['_pendingMutations'],this[_0x532a5f(0x27e)],[],this[_0x532a5f(0x3d8)]);this[_0x532a5f(0x19b)]();const _0x4d3fc0=this[_0x532a5f(0x4c7)]['createInstance'](_0x5b2db2,this[_0x532a5f(0x280)],this['type'],this[_0x532a5f(0x79)],this['_handler']);return _0x4d3fc0[_0x532a5f(0x250)](),_0x4d3fc0[_0x532a5f(0x229)](),_0x4d3fc0;}[_0x416c04(0x3da)](_0x276cf3){const _0x204c94=_0x416c04;return this['_onConflict'](!!(_0x276cf3!=null&&_0x276cf3[_0x204c94(0x163)]));}[_0x416c04(0x3ef)](_0x4eec27){const _0x27609a=_0x416c04;return this['_resendTimeout']>_0x1beb87?this[_0x27609a(0x9a)]():(this['_resendTimer']=_0x570c5e(this[_0x27609a(0x2e2)],{'timeout':this[_0x27609a(0x2e2)],'reqId':_0x4eec27[_0x27609a(0x478)]}),this[_0x27609a(0x2a7)]=this['_resendTimer']['subscribe'](({reqId:_0x29f9c6,timeout:_0x25903d})=>{const _0x1e5433=_0x27609a;this[_0x1e5433(0x12b)](_0x29f9c6,_0x25903d);}),this);}[_0x416c04(0x9a)](){const _0x599f3c=_0x416c04;return this['_clearScheduledTask'](),this[_0x599f3c(0x4c7)][_0x599f3c(0x385)](_0x49fbec,this[_0x599f3c(0x280)],this[_0x599f3c(0x6e)],this['_awaitingChangeset'],this[_0x599f3c(0x79)],this[_0x599f3c(0x3d8)]);}[_0x416c04(0xa3)](){return this;}[_0x416c04(0x38d)](){const _0x13c13a=_0x416c04;this['_handler'][_0x13c13a(0x304)](this[_0x13c13a(0x27e)]);}[_0x416c04(0x441)](_0x409385){const _0x5eb5ef=_0x416c04;return this[_0x5eb5ef(0x11f)](),this[_0x5eb5ef(0x4c7)]['createInstance'](_0x4e17ab,this[_0x5eb5ef(0x280)],this[_0x5eb5ef(0x6e)],null,this[_0x5eb5ef(0x79)],this[_0x5eb5ef(0x3d8)],_0x409385);}[_0x416c04(0x12b)](_0x5c70ed,_0x2fca1a){const _0x35d1d8=_0x416c04;var _0x5d5de2;_0x5c70ed===((_0x5d5de2=this[_0x35d1d8(0x27e)])==null?void 0x0:_0x5d5de2[_0x35d1d8(0x478)])&&(this[_0x35d1d8(0x38d)](),this[_0x35d1d8(0x2e2)]=_0x2fca1a===0x0?0x3e8:_0x2fca1a*0x2);}[_0x416c04(0x11f)](){const _0x2cf732=_0x416c04;var _0x20b491;(_0x20b491=this[_0x2cf732(0x2a7)])==null||_0x20b491[_0x2cf732(0x31d)](),this[_0x2cf732(0x2e2)]=0x0;}};_0x4708d2=_0x119835([_0xf3a968(0x6,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c['Injector'])),_0xf3a968(0x7,_0x3d563c['Inject'](_0x520737[_0x416c04(0x2e6)])),_0xf3a968(0x8,_0x3d563c['Inject'](_0x1b5475['LocalCacheService'])),_0xf3a968(0x9,_0x3d563c[_0x416c04(0x3e8)]),_0xf3a968(0xa,_0x3d563c[_0x416c04(0x2fd)]),_0xf3a968(0xb,_0x520737['ITransformService']),_0xf3a968(0xc,_0x3d563c['IUndoRedoService'])],_0x4708d2);let _0x4e17ab=class extends _0x1242eb{constructor(_0x168667,_0x2322be,_0x129c1e,_0x5d82d8,_0x862e1,_0xabb580=!0x1,_0x3ce18a,_0x1be88d,_0xa86df5,_0x6d48c4,_0xabb57e,_0x5dd440,_0x250604){const _0x3ceedd=_0x416c04;super(_0x168667,_0x2322be,_0x129c1e,_0x5d82d8,_0x862e1,_0x1be88d,_0xa86df5,_0xabb57e,_0x6d48c4),_0x10d0d4(this,_0x3ceedd(0xea),_0x3ceedd(0x21e)),(this[_0x3ceedd(0x4be)]=_0xabb580,this[_0x3ceedd(0x448)]=_0x3ce18a,this['_localeService']=_0x5dd440,this['_notificationService']=_0x250604,this[_0x3ceedd(0x272)](),this[_0x3ceedd(0x51f)](),this[_0x3ceedd(0xc8)]());}[_0x416c04(0x3d1)](){return this;}[_0x416c04(0x335)](){return this;}[_0x416c04(0x4b4)](){return this;}[_0x416c04(0x3da)](){return this;}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x416c04(0xa3)](){return this;}[_0x416c04(0x38d)](){const _0x10a2c6=_0x416c04;throw new Error(_0x10a2c6(0x37a));}['_clearLocalCache'](){const _0x4ff405=_0x416c04;this[_0x4ff405(0x2a0)][_0x4ff405(0x128)](this[_0x4ff405(0x280)],this[_0x4ff405(0x6e)],null,[]);}['_showConflictNotification'](){const _0x1eafee=_0x416c04;this[_0x1eafee(0x4be)]?this[_0x1eafee(0x35f)][_0x1eafee(0x1a7)]({'title':this[_0x1eafee(0x4c9)]['t'](_0x1eafee(0x16a)),'content':this[_0x1eafee(0x4c9)]['t'](_0x1eafee(0x357)),'type':_0x1eafee(0x4b1),'duration':0x0}):this[_0x1eafee(0x35f)][_0x1eafee(0x1a7)]({'title':this[_0x1eafee(0x4c9)]['t'](_0x1eafee(0x444)),'content':this['_localeService']['t']('conflict.content'),'type':_0x1eafee(0x4b1),'duration':0x0});}['_disableEditing'](){const _0x5063bd=_0x416c04;this[_0x5063bd(0x448)][_0x5063bd(0x35e)](new _0xa13da4[(_0x5063bd(0x235))](this[_0x5063bd(0x280)])['id'],!0x1);}};_0x4e17ab=_0x119835([_0xf3a968(0x6,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c[_0x416c04(0x3d3)])),_0xf3a968(0x7,_0x3d563c[_0x416c04(0x3e8)]),_0xf3a968(0x8,_0x3d563c[_0x416c04(0x3f0)]),_0xf3a968(0x9,_0x3d563c[_0x416c04(0x4d1)](_0x1b5475['LocalCacheService'])),_0xf3a968(0xa,_0x3d563c[_0x416c04(0x4d1)](_0x520737[_0x416c04(0x2e6)])),_0xf3a968(0xb,_0x3d563c['Inject'](_0x3d563c[_0x416c04(0x311)])),_0xf3a968(0xc,_0xe60abc[_0x416c04(0x393)])],_0x4e17ab);let _0x49fbec=class extends _0x1242eb{constructor(_0x5e4942,_0x137378,_0x36e228,_0x93dee7,_0x3a7a29,_0x2a1910,_0x346d08,_0x25ef34,_0x3c5fae,_0x597c67){const _0x4b63ce=_0x416c04;super(_0x5e4942,_0x137378,_0x36e228,_0x93dee7,_0x3a7a29,_0x3c5fae,_0x597c67,_0x346d08,_0x25ef34),_0x10d0d4(this,_0x4b63ce(0xea),_0x4b63ce(0x23e)),this['_injector']=_0x2a1910;}[_0x416c04(0x3d1)](_0x2aae6f){const _0x4b6906=_0x416c04;return this[_0x4b6906(0x79)][_0x4b6906(0x1e9)](_0x2aae6f),this[_0x4b6906(0x229)](),this;}[_0x416c04(0x335)](_0x307e3e){const _0x555d99=_0x416c04;throw new Error(_0x555d99(0xdf));}[_0x416c04(0x4b4)](){const _0x2a5d0c=_0x416c04;throw new Error(_0x2a5d0c(0x2fc));}[_0x416c04(0x3da)](){const _0x229bd7=_0x416c04;throw new Error(_0x229bd7(0x1bf));}[_0x416c04(0x3ef)](){return this;}[_0x416c04(0x9a)](){return this;}[_0x416c04(0xa3)](){const _0x314045=_0x416c04,{_injector:_0x16c0a5,_pendingMutations:_0x52cae1,_awaitingChangeset:_0x5a8665,unitID:_0x5748f9,_handler:_0x3c1f67,type:_0x58a363}=this,_0x3fd999=_0x3330fd(_0x16c0a5,_0x5748f9,_0x58a363,_0x5a8665,_0x52cae1,_0x3c1f67);return _0x3fd999 instanceof _0x5b2db2?_0x3fd999[_0x314045(0x250)]():(_0x3fd999 instanceof _0x4708d2||_0x3fd999 instanceof _0x537ae5)&&_0x3fd999[_0x314045(0x38d)](),_0x3fd999;}[_0x416c04(0x38d)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};_0x49fbec=_0x119835([_0xf3a968(0x5,_0x3d563c['Inject'](_0x3d563c[_0x416c04(0x25f)])),_0xf3a968(0x6,_0x3d563c[_0x416c04(0x4d1)](_0x520737['RevisionService'])),_0xf3a968(0x7,_0x3d563c['Inject'](_0x1b5475[_0x416c04(0x26c)])),_0xf3a968(0x8,_0x3d563c[_0x416c04(0x3e8)]),_0xf3a968(0x9,_0x3d563c[_0x416c04(0x3f0)])],_0x49fbec);let _0x42c14f=class extends _0x1242eb{constructor(_0x1aa7f4,_0x30c66c,_0x78520b,_0x6c19e0,_0x3aa69f,_0x349e4c,_0x485535,_0x353355,_0x58caa3,_0x5686c7,_0x44254c,_0x4f31a2,_0x353228,_0x46379d){const _0x149135=_0x416c04;super(_0x1aa7f4,_0x30c66c,_0x78520b,_0x6c19e0,_0x485535,_0x4f31a2,_0x353228,_0x58caa3,_0x5686c7),_0x10d0d4(this,'status',_0x149135(0x47c)),(this['_acknowledgedAwaitingChangeset']=_0x3aa69f,this[_0x149135(0x411)]=_0x349e4c,this['_injector']=_0x353355,this[_0x149135(0x4ff)]=_0x44254c,this[_0x149135(0x392)]=_0x46379d);}[_0x416c04(0x6d)](_0x3d3073){const _0x47f6fa=_0x416c04;try{const _0x39c184=[..._0x3d3073,...this['_queuedRemoteChangesets']],_0x2f6634=[this['_awaitingChangeset']||this[_0x47f6fa(0x84)]]['filter'](_0x42ecc2=>!!_0x42ecc2);let _0x3d48d6,_0x1f333f;if(_0x2f6634[_0x47f6fa(0x26a)]){const _0xd73248=this[_0x47f6fa(0x392)][_0x47f6fa(0x341)](_0x39c184,_0x2f6634,!0x1);if(!_0x520737[_0x47f6fa(0x2cc)](_0xd73248))throw _0xd73248[_0x47f6fa(0x4b1)];_0x3d48d6=_0xd73248[_0x47f6fa(0x3b4)],_0x1f333f=_0xd73248[_0x47f6fa(0x1fe)];}else _0x3d48d6=_0x39c184,_0x1f333f=[];let _0x57e055=this[_0x47f6fa(0x79)];_0x3d48d6[_0x47f6fa(0x124)](_0x37ce7b=>{const _0x5be05b=_0x47f6fa;let _0x3a129a;if(_0x57e055[_0x5be05b(0x26a)]){const _0x3f9292=this['_transformService'][_0x5be05b(0x3a8)](_0x37ce7b,_0x57e055);if(!_0x520737[_0x5be05b(0x4e4)](_0x3f9292))throw _0x3f9292[_0x5be05b(0x4b1)];_0x3a129a=_0x3f9292[_0x5be05b(0x3b4)],_0x57e055=_0x3f9292[_0x5be05b(0x85)];}else _0x3a129a=_0x37ce7b;this[_0x5be05b(0x3b5)](_0x3a129a);}),this[_0x47f6fa(0x84)]&&this['_incrementRevisionNumber'](),this[_0x47f6fa(0x27e)]&&_0x1f333f[_0x47f6fa(0x26a)]&&(_0x1f333f[0x0][_0x47f6fa(0x195)]=this[_0x47f6fa(0x285)]());let _0x3f43ec;if(this[_0x47f6fa(0x27e)]&&_0x57e055[_0x47f6fa(0x26a)]!==0x0)_0x3f43ec=this[_0x47f6fa(0x4c7)][_0x47f6fa(0x385)](_0x4708d2,this[_0x47f6fa(0x280)],this[_0x47f6fa(0x6e)],_0x1f333f[0x0],_0x57e055,this['_handler'],void 0x0);else{if(this[_0x47f6fa(0x27e)]&&_0x57e055[_0x47f6fa(0x26a)]===0x0)_0x1f333f[0x0][_0x47f6fa(0x195)]=this[_0x47f6fa(0x285)](),_0x3f43ec=this['_injector'][_0x47f6fa(0x385)](_0x537ae5,this[_0x47f6fa(0x280)],this[_0x47f6fa(0x6e)],_0x1f333f[0x0],this[_0x47f6fa(0x3d8)]);else{if(_0x57e055['length']!==0x0){const _0x436825=this[_0x47f6fa(0x4c7)][_0x47f6fa(0x385)](_0x5b2db2,this[_0x47f6fa(0x280)],this['type'],_0x57e055,this['_handler']);_0x436825['_schedule'](),_0x3f43ec=_0x436825;}else _0x3f43ec=this[_0x47f6fa(0x4c7)][_0x47f6fa(0x385)](_0x4c0215,this[_0x47f6fa(0x280)],this['type'],this['_handler']);}}return _0x3f43ec[_0x47f6fa(0x229)](),_0x3f43ec;}catch(_0x5b664b){return this['_logService'][_0x47f6fa(0x4b1)](_0x47f6fa(0x39c),_0x47f6fa(0x3e1),_0x5b664b),this[_0x47f6fa(0x4c7)][_0x47f6fa(0x385)](_0x4e17ab,this[_0x47f6fa(0x280)],this[_0x47f6fa(0x6e)],this['_awaitingChangeset'],this[_0x47f6fa(0x79)],this[_0x47f6fa(0x3d8)],!0x1);}}[_0x416c04(0x38d)](){const _0x4b5000=_0x416c04;throw new Error(_0x4b5000(0x22f));}[_0x416c04(0x3d1)](_0x249268){const _0x5adcbd=_0x416c04;return this['_pendingMutations'][_0x5adcbd(0x1e9)](_0x249268),this;}['onRemoteChangeset'](_0x38d6e0){const _0x236683=_0x416c04;return this[_0x236683(0x411)][_0x236683(0x1e9)](_0x38d6e0),this;}[_0x416c04(0x4b4)](_0x1fd047){const _0x26bfc6=_0x416c04;if(this[_0x26bfc6(0x27e)])return this[_0x26bfc6(0x84)]=this[_0x26bfc6(0x27e)],this[_0x26bfc6(0x27e)]=null,this;throw new Error(_0x26bfc6(0x397));}[_0x416c04(0x3da)](_0x4185ae){const _0x5752b2=_0x416c04;return this[_0x5752b2(0x441)](!!(_0x4185ae!=null&&_0x4185ae[_0x5752b2(0x163)]));}[_0x416c04(0x3ef)](){return this;}['toggleOffline'](){const _0x36ee47=_0x416c04;return this[_0x36ee47(0x4c7)][_0x36ee47(0x385)](_0x49fbec,this['unitID'],this[_0x36ee47(0x6e)],this['_awaitingChangeset'],this[_0x36ee47(0x79)],this['_handler']);}[_0x416c04(0xa3)](){return this;}[_0x416c04(0x441)](_0x4f0feb){const _0x47786c=_0x416c04;return this[_0x47786c(0x4c7)][_0x47786c(0x385)](_0x4e17ab,this[_0x47786c(0x280)],this[_0x47786c(0x6e)],this[_0x47786c(0x27e)],this['_pendingMutations'],this[_0x47786c(0x3d8)],_0x4f0feb);}};_0x42c14f=_0x119835([_0xf3a968(0x7,_0x3d563c['Inject'](_0x3d563c[_0x416c04(0x25f)])),_0xf3a968(0x8,_0x3d563c[_0x416c04(0x4d1)](_0x520737[_0x416c04(0x2e6)])),_0xf3a968(0x9,_0x3d563c[_0x416c04(0x4d1)](_0x1b5475[_0x416c04(0x26c)])),_0xf3a968(0xa,_0x3d563c['ILogService']),_0xf3a968(0xb,_0x3d563c[_0x416c04(0x3e8)]),_0xf3a968(0xc,_0x3d563c['IUndoRedoService']),_0xf3a968(0xd,_0x520737[_0x416c04(0x302)])],_0x42c14f);function _0x3330fd(_0x4af5a6,_0x5da136,_0x243932,_0x33ca33,_0x723cc9,_0x5d8795){const _0x51b32c=_0x416c04;return _0x33ca33&&_0x723cc9[_0x51b32c(0x26a)]?_0x4af5a6[_0x51b32c(0x385)](_0x4708d2,_0x5da136,_0x243932,_0x33ca33,_0x723cc9,_0x5d8795,void 0x0):_0x33ca33?_0x4af5a6['createInstance'](_0x537ae5,_0x5da136,_0x243932,_0x33ca33,_0x5d8795):_0x723cc9[_0x51b32c(0x26a)]?_0x4af5a6[_0x51b32c(0x385)](_0x5b2db2,_0x5da136,_0x243932,_0x723cc9,_0x5d8795):_0x4af5a6[_0x51b32c(0x385)](_0x4c0215,_0x5da136,_0x243932,_0x5d8795);}var _0x4ba67e=Object[_0x416c04(0x2e4)],_0x1a5868=Object[_0x416c04(0x4e2)],_0x595650=(_0x247a86,_0x1acc9b,_0x5e5049,_0x41316b)=>{const _0x486ebb=_0x416c04;for(var _0x2ecc30=_0x41316b>0x1?void 0x0:_0x41316b?_0x1a5868(_0x1acc9b,_0x5e5049):_0x1acc9b,_0x484740=_0x247a86[_0x486ebb(0x26a)]-0x1,_0x1d4d2a;_0x484740>=0x0;_0x484740--)(_0x1d4d2a=_0x247a86[_0x484740])&&(_0x2ecc30=(_0x41316b?_0x1d4d2a(_0x1acc9b,_0x5e5049,_0x2ecc30):_0x1d4d2a(_0x2ecc30))||_0x2ecc30);return _0x41316b&&_0x2ecc30&&_0x4ba67e(_0x1acc9b,_0x5e5049,_0x2ecc30),_0x2ecc30;},_0x294835=(_0x4a1b88,_0x238067)=>(_0x6abf35,_0x2b4555)=>_0x238067(_0x6abf35,_0x2b4555,_0x4a1b88);_0x1b5475[_0x416c04(0x24a)]=class extends _0x3d563c['RxDisposable']{constructor(_0x2693c9,_0x9941fd,_0x10c26a,_0x46abc5,_0x1c1aa3,_0x2cda8b,_0x2d3d5e,_0x2042e1,_0x342074,_0x37519d,_0x228e86,_0x547cc8,_0x4afcce){const _0xfd96f0=_0x416c04;super(),_0x10d0d4(this,_0xfd96f0(0x95),new _0x10d074[(_0xfd96f0(0x500))](null)),_0x10d0d4(this,'state$',this[_0xfd96f0(0x95)][_0xfd96f0(0x349)]()),_0x10d0d4(this,_0xfd96f0(0x13e)),_0x10d0d4(this,_0xfd96f0(0x4aa),!0x1),_0x10d0d4(this,_0xfd96f0(0x248),''),_0x10d0d4(this,'_changesetReqId',0x0),_0x10d0d4(this,_0xfd96f0(0x23d),this[_0xfd96f0(0x31e)]['pipe'](_0x10d074[_0xfd96f0(0x2b8)](_0x3684d4=>_0x3684d4?_0x3684d4[_0xfd96f0(0xea)]:_0x153ab4['OFFLINE']),_0x10d074[_0xfd96f0(0xd9)](0x1))),_0x10d0d4(this,'_transitionLocked',!0x1),_0x10d0d4(this,_0xfd96f0(0x29e),[]),(this['unitID']=_0x2693c9,this[_0xfd96f0(0x23a)]=_0x9941fd,this['_type']=_0x10c26a,this[_0xfd96f0(0x4c7)]=_0x46abc5,this[_0xfd96f0(0x2a0)]=_0x1c1aa3,this[_0xfd96f0(0x379)]=_0x2cda8b,this[_0xfd96f0(0x4c9)]=_0x2d3d5e,this['_revisionService']=_0x2042e1,this['_logService']=_0x342074,this[_0xfd96f0(0x3ac)]=_0x37519d,this['_messageService']=_0x228e86,this['_permissionService']=_0x547cc8,this['_singleActiveUnitService']=_0x4afcce);}get['state'](){const _0x218a53=_0x416c04;return this[_0x218a53(0x13e)];}async['init'](){const _0x266d3d=_0x416c04;if(this['state'])throw new Error(_0x266d3d(0x1c4));await this[_0x266d3d(0x2b1)]();}[_0x416c04(0x3a9)](){return this['_collaborationPaused']=!0x0,_0x3d563c['toDisposable'](()=>{const _0x1aaced=_0x3e32;this[_0x1aaced(0x4aa)]=!0x1,this[_0x1aaced(0x15b)]();});}['_updateState'](_0x3dc898){const _0x4ab88a=_0x416c04;this[_0x4ab88a(0x13e)]=_0x3dc898,this['_state$']['next'](_0x3dc898);}async[_0x416c04(0x2b1)](){const _0x3e5e6d=_0x416c04;var _0x2b6480;this[_0x3e5e6d(0x2f6)](await this[_0x3e5e6d(0xaf)]()),this['_singleActiveUnitService']&&((_0x2b6480=this[_0x3e5e6d(0x25a)])==null||_0x2b6480[_0x3e5e6d(0x268)](this[_0x3e5e6d(0x280)]),this[_0x3e5e6d(0x4e9)](this[_0x3e5e6d(0x25a)][_0x3e5e6d(0x115)](this[_0x3e5e6d(0x280)])[_0x3e5e6d(0x31f)](_0x5341cb=>{const _0x1cf8a7=_0x3e5e6d;this[_0x1cf8a7(0x4ff)][_0x1cf8a7(0x73)](_0x1cf8a7(0xbb),_0x1cf8a7(0x299),_0x5341cb),_0x5341cb===_0x3a41f7[_0x1cf8a7(0x277)]?(this[_0x1cf8a7(0x428)]['show']({'content':this[_0x1cf8a7(0x4c9)]['t'](_0x1cf8a7(0x1b5)),'type':_0x4278c0['MessageType'][_0x1cf8a7(0x16f)]}),this[_0x1cf8a7(0x448)]['updatePermissionPoint'](new _0xa13da4['WorkbookEditablePermission'](this[_0x1cf8a7(0x280)])['id'],!0x1),this['_permissionService'][_0x1cf8a7(0x12e)](!0x1)):(this[_0x1cf8a7(0x448)][_0x1cf8a7(0x35e)](new _0xa13da4['WorkbookEditablePermission'](this[_0x1cf8a7(0x280)])['id'],!0x0),this[_0x1cf8a7(0x448)][_0x1cf8a7(0x12e)](!0x0));})));let _0x2f2685=!0x1;return this['disposeWithMe'](this[_0x3e5e6d(0x23a)][_0x3e5e6d(0x17f)][_0x3e5e6d(0x31f)](_0xb93e1f=>{const _0x2205eb=_0x3e5e6d;_0xb93e1f===_0x1467c9['ONLINE']?this[_0x2205eb(0x32b)](_0x2f2685):_0xb93e1f===_0x1467c9[_0x2205eb(0xcd)]&&(_0x2f2685=!0x0,this[_0x2205eb(0x351)]());})),this[_0x3e5e6d(0x4e9)](this[_0x3e5e6d(0x23a)][_0x3e5e6d(0xd7)][_0x3e5e6d(0x31f)](_0x258edd=>{const _0x5d3bca=_0x3e5e6d;try{switch(_0x258edd[_0x5d3bca(0xac)]){case _0x520737[_0x5d3bca(0x52d)][_0x5d3bca(0xfa)]:{this[_0x5d3bca(0x4e8)](_0x520737['parseProtocolChangeset'](_0x258edd[_0x5d3bca(0xa1)]));break;}case _0x520737[_0x5d3bca(0x52d)][_0x5d3bca(0x4d0)]:{this[_0x5d3bca(0x45c)](_0x258edd[_0x5d3bca(0xa1)]);break;}case _0x520737[_0x5d3bca(0x52d)]['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case _0x520737[_0x5d3bca(0x52d)][_0x5d3bca(0x40e)]:{this[_0x5d3bca(0x297)](_0x258edd[_0x5d3bca(0xa1)]);break;}case _0x520737[_0x5d3bca(0x52d)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x5d3bca(0x4bf)](_0x258edd['data'][_0x5d3bca(0x348)][_0x5d3bca(0x2b8)](_0x1831d7=>_0x520737[_0x5d3bca(0x154)](_0x1831d7)));break;}case _0x520737[_0x5d3bca(0x52d)]['PERMISSION_REJ']:this[_0x5d3bca(0x29d)]({'isPermissionRej':!0x0});}}catch(_0x4ca861){throw console['error'](_0x5d3bca(0x2a6),_0x4ca861),_0x4ca861;}})),this[_0x3e5e6d(0x13e)];}[_0x416c04(0x2d5)](){this['_transitionLocked']=!0x1;}[_0x416c04(0x24c)](){const _0x35c884=_0x416c04;if(this[_0x35c884(0x345)])throw new Error(_0x35c884(0x30a));this[_0x35c884(0x345)]=!0x0;}[_0x416c04(0x3f9)](_0x3c66ce){const _0x3b3234=_0x416c04;this[_0x3b3234(0x24c)](),this[_0x3b3234(0x2f6)](this[_0x3b3234(0x13e)]['appendMutation'](_0x3c66ce)),this['_unlockTransition']();}[_0x416c04(0x4e8)](_0x13a9eb){const _0x143b30=_0x416c04;if(!(_0x13a9eb['revision']<=this[_0x143b30(0x13f)]['getCurrentRevOfUnit'](this[_0x143b30(0x280)]))){if(this[_0x143b30(0x4aa)]){this[_0x143b30(0x29e)][_0x143b30(0x1e9)](_0x13a9eb);return;}this[_0x143b30(0x2e1)](_0x13a9eb);}}[_0x416c04(0x15b)](){const _0x1e144d=_0x416c04;this[_0x1e144d(0x29e)][_0x1e144d(0x124)](_0x1e0816=>this['_applyRemoteChangeset'](_0x1e0816)),this[_0x1e144d(0x29e)]=[];}[_0x416c04(0x2e1)](_0x3a5053){const _0x182c8a=_0x416c04,_0x3e3d4c=this[_0x182c8a(0x379)][_0x182c8a(0x234)][_0x182c8a(0x2ac)](this[_0x182c8a(0x379)][_0x182c8a(0x234)][_0x182c8a(0x331)]()[_0x182c8a(0x27b)])(_0x3a5053[_0x182c8a(0xa2)],null)||_0x3a5053[_0x182c8a(0xa2)],_0x5b82f8={..._0x3a5053,'mutations':_0x3e3d4c};this[_0x182c8a(0x24c)](),this[_0x182c8a(0x2f6)](this[_0x182c8a(0x13e)]['onRemoteChangeset'](_0x5b82f8)),this[_0x182c8a(0x2d5)]();}[_0x416c04(0x45c)](_0x30e5a2){const _0x82c049=_0x416c04;this[_0x82c049(0x24c)](),this[_0x82c049(0x2f6)](this[_0x82c049(0x13e)][_0x82c049(0x4b4)](_0x30e5a2)),this['_unlockTransition']();}[_0x416c04(0x29d)](_0x5891e1){const _0x5658ea=_0x416c04;this[_0x5658ea(0x24c)](),this[_0x5658ea(0x2f6)](this[_0x5658ea(0x13e)][_0x5658ea(0x3da)](_0x5891e1)),this[_0x5658ea(0x2d5)]();}[_0x416c04(0x297)](_0x9c8da4){const _0xac8bbf=_0x416c04;this[_0xac8bbf(0x24c)](),this[_0xac8bbf(0x2f6)](this[_0xac8bbf(0x13e)][_0xac8bbf(0x3ef)](_0x9c8da4)),this[_0xac8bbf(0x2d5)]();}[_0x416c04(0x4bf)](_0x546f65){const _0x1e61c0=_0x416c04;if(!(this[_0x1e61c0(0x13e)]instanceof _0x42c14f))throw new TypeError(_0x1e61c0(0x4bb));const _0x4e3f9c=_0x546f65['map'](_0x5b473d=>{const _0x23208f=_0x1e61c0,_0x3ba4b6=this[_0x23208f(0x379)][_0x23208f(0x234)][_0x23208f(0x2ac)](this[_0x23208f(0x379)][_0x23208f(0x234)][_0x23208f(0x331)]()[_0x23208f(0x27b)])(_0x5b473d[_0x23208f(0xa2)],null)||_0x5b473d[_0x23208f(0xa2)];return{..._0x5b473d,'mutations':_0x3ba4b6};});this[_0x1e61c0(0x24c)](),this[_0x1e61c0(0x2f6)](this[_0x1e61c0(0x13e)]['onMissedChangesetFetched'](_0x4e3f9c)),this[_0x1e61c0(0x2d5)]();}['_toggleOffline'](){const _0x1cca2b=_0x416c04;this['_lockTransition'](),this[_0x1cca2b(0x2f6)](this[_0x1cca2b(0x13e)][_0x1cca2b(0x9a)]()),this['_unlockTransition']();}['_toggleOnline'](_0x47b5cf=!0x1){const _0x43f59d=_0x416c04;this['_lockTransition'](),this[_0x43f59d(0x2f6)](this['_state'][_0x43f59d(0xa3)]()),this[_0x43f59d(0x2d5)]();const _0x1c0ed9=this['_state'];_0x47b5cf&&_0x1c0ed9 instanceof _0x4c0215&&(this[_0x43f59d(0x24c)](),this[_0x43f59d(0x2f6)](_0x1c0ed9[_0x43f59d(0x77)]()),this[_0x43f59d(0x2d5)]());}async['_createInitialState'](){return new Promise(_0x381ccf=>{const _0x49fb16=_0x3e32;this[_0x49fb16(0x23a)][_0x49fb16(0x17f)]['pipe'](_0x10d074['take'](0x1))['subscribe'](async _0x222b16=>{const _0x587e95=_0x49fb16;_0x381ccf(await this[_0x587e95(0x1ca)](_0x222b16===_0x1467c9['ONLINE']));});});}[_0x416c04(0x2d2)](){const _0x42dbbc=_0x416c04,_0x47fa5b=this[_0x42dbbc(0x280)];return{'onStateChange':(_0x5c1562,_0x204cb5)=>{const _0x131450=_0x42dbbc;if(_0x5c1562!==this['_state'])throw new Error(_0x131450(0x8d)+_0x5c1562[_0x131450(0xea)]+_0x131450(0x466)+_0x204cb5['status']+_0x131450(0xb1)+this[_0x131450(0x13e)][_0x131450(0xea)]);this[_0x131450(0x2f6)](_0x204cb5);},'onSendChangeset':_0x284069=>{const _0x2bf57f=_0x42dbbc;_0x284069[_0x2bf57f(0x1a2)]||(_0x284069[_0x2bf57f(0x1a2)]=this[_0x2bf57f(0x248)],_0x284069['reqId']=++this[_0x2bf57f(0x3ee)]);const _0x2e8cb1={'eventID':_0x520737['CollaborationEvent']['SUBMIT_CHANGESET'],'data':{'unitID':_0x284069[_0x2bf57f(0x280)],'unitType':this['_type'],'changeset':_0x284069,'memberID':this[_0x2bf57f(0x23a)][_0x2bf57f(0x26d)]()}};this[_0x2bf57f(0x23a)][_0x2bf57f(0x2ad)](_0x2e8cb1,this['unitID']);},'onMissingChangesets':({from:_0x13d3d1,to:_0x49cb5b})=>{const _0x1b49ab=_0x42dbbc;this['_logService'][_0x1b49ab(0x73)](_0x1b49ab(0xbb),_0x1b49ab(0xb8)+_0x13d3d1+_0x1b49ab(0x221)+_0x49cb5b);const _0x1effb2={'eventID':_0x520737[_0x1b49ab(0x52d)][_0x1b49ab(0x17b)],'data':{'unitID':_0x47fa5b,'unitType':this['_type'],'from':_0x13d3d1,'to':_0x49cb5b}};this[_0x1b49ab(0x23a)][_0x1b49ab(0x2ad)](_0x1effb2,this['unitID']);}};}async[_0x416c04(0x1ca)](_0x54dc8e){const _0x207342=_0x416c04;var _0x32680f,_0x381d73;const _0x546465=await this[_0x207342(0x2a0)][_0x207342(0xa4)](this[_0x207342(0x280)]),_0x1be172=(_0x32680f=_0x546465==null?void 0x0:_0x546465['mutations'])!=null?_0x32680f:[],_0x5dff7b=(_0x381d73=_0x546465==null?void 0x0:_0x546465[_0x207342(0x246)])!=null?_0x381d73:null,_0x5e4c25=!!(_0x5dff7b!=null&&_0x5dff7b['sid'])&&!!(_0x5dff7b!=null&&_0x5dff7b[_0x207342(0x478)]);this[_0x207342(0x248)]=_0x5e4c25?_0x5dff7b[_0x207342(0x1a2)]:_0x2941b6(),this['_changesetReqId']=_0x5e4c25?_0x5dff7b[_0x207342(0x478)]:0x0;const _0x179f27=this[_0x207342(0x280)];try{this[_0x207342(0x37c)](_0x5dff7b,_0x1be172);}catch(_0x30e385){this['_logService'][_0x207342(0x4b1)](_0x30e385);}const _0x3b7579=this[_0x207342(0x2d2)]();if(_0x54dc8e){const _0x3cf4c8=_0x3330fd(this[_0x207342(0x4c7)],_0x179f27,this['_type'],_0x5dff7b,_0x1be172,_0x3b7579);return _0x3cf4c8 instanceof _0x5b2db2?_0x3cf4c8[_0x207342(0x250)]():(_0x3cf4c8 instanceof _0x4708d2||_0x3cf4c8 instanceof _0x537ae5)&&_0x3cf4c8[_0x207342(0x38d)](),_0x3cf4c8;}return this[_0x207342(0x4c7)][_0x207342(0x385)](_0x49fbec,_0x179f27,this['_type'],_0x5dff7b,_0x1be172,_0x3b7579);}[_0x416c04(0x37c)](_0x83abcb,_0x3130fd){const _0x2f5a84=_0x416c04;var _0x4dc05e,_0x2871a9;const _0x2a826c=this[_0x2f5a84(0x379)]['interceptor'][_0x2f5a84(0x2ac)](this[_0x2f5a84(0x379)][_0x2f5a84(0x234)]['getInterceptPoints']()[_0x2f5a84(0x27b)]);(_0x4dc05e=_0x2a826c((_0x83abcb==null?void 0x0:_0x83abcb[_0x2f5a84(0xa2)])||[],null))==null||_0x4dc05e['forEach'](_0x4f9427=>this[_0x2f5a84(0x3ac)][_0x2f5a84(0x4dc)](_0x4f9427['id'],_0x4f9427['params'])),(_0x2871a9=_0x2a826c(_0x3130fd||[],null))==null||_0x2871a9['forEach'](_0x46cf20=>this[_0x2f5a84(0x3ac)][_0x2f5a84(0x4dc)](_0x46cf20['id'],_0x46cf20[_0x2f5a84(0x402)]));}},_0x1b5475[_0x416c04(0x24a)]=_0x595650([_0x294835(0x3,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c['Injector'])),_0x294835(0x4,_0x3d563c[_0x416c04(0x4d1)](_0x1b5475['LocalCacheService'])),_0x294835(0x5,_0x3d563c['Inject'](_0x520737[_0x416c04(0x4a1)])),_0x294835(0x6,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c[_0x416c04(0x311)])),_0x294835(0x7,_0x3d563c['Inject'](_0x520737['RevisionService'])),_0x294835(0x8,_0x3d563c['ILogService']),_0x294835(0x9,_0x3d563c['ICommandService']),_0x294835(0xa,_0xe60abc['IMessageService']),_0x294835(0xb,_0x3d563c[_0x416c04(0x3d3)]),_0x294835(0xc,_0x3d563c['Optional'](_0x3cc9ac))],_0x1b5475[_0x416c04(0x24a)]),_0x1b5475['DocCollaborationEntity']=class extends _0x1b5475[_0x416c04(0x24a)]{constructor(_0x1e5fe6,_0x33ca39,_0x5a1a8e,_0x2181ba,_0x484c35,_0xef9150,_0x39ee6a,_0x50643e,_0x154480,_0x193a67,_0x91ae87,_0x32f521,_0x57a330,_0x445e52,_0x403e6e,_0x18217f,_0x1c402a,_0x4a4150){const _0x12a3b3=_0x416c04;super(_0x1e5fe6,_0x5a1a8e,_0x33ca39,_0x2181ba,_0x484c35,_0xef9150,_0x39ee6a,_0x50643e,_0x445e52,_0x403e6e,_0x18217f,_0x1c402a,_0x4a4150),this[_0x12a3b3(0x280)]=_0x1e5fe6,this[_0x12a3b3(0x6e)]=_0x33ca39,this[_0x12a3b3(0x13c)]=_0x154480,this[_0x12a3b3(0x3eb)]=_0x193a67,this[_0x12a3b3(0x363)]=_0x91ae87,this[_0x12a3b3(0x2f2)]=_0x32f521,this['_docSyncEditingCollabCursorService']=_0x57a330;}['_createHandler'](){const _0x5b884a=_0x416c04,_0x3f9176=super[_0x5b884a(0x2d2)]();return _0x3f9176[_0x5b884a(0x201)]=_0x5dcae9=>this['_docTransformIMECacheService'][_0x5b884a(0x2b6)](_0x5dcae9),_0x3f9176[_0x5b884a(0x30e)]=_0x286e64=>this[_0x5b884a(0x363)][_0x5b884a(0x42a)](_0x286e64),_0x3f9176[_0x5b884a(0xc7)]=_0x582baa=>this[_0x5b884a(0x2f2)]['transformSelections'](_0x582baa),_0x3f9176[_0x5b884a(0x394)]=_0x3fc400=>this[_0x5b884a(0x80)][_0x5b884a(0x86)](_0x3fc400),_0x3f9176['onTransformRemoteChangesetByIMECache']=_0x1d9c27=>this[_0x5b884a(0x3eb)][_0x5b884a(0x23b)](_0x1d9c27),_0x3f9176[_0x5b884a(0x3fd)]=_0x4a7001=>this[_0x5b884a(0x363)][_0x5b884a(0x23b)](_0x4a7001),_0x3f9176;}async['_init'](){const _0x5e216f=_0x416c04,_0x463dc9=await super[_0x5e216f(0x2b1)]();return this['_docStateChangeManagerService'][_0x5e216f(0x3b3)][_0x5e216f(0x123)](_0x10d074[_0x5e216f(0x288)](this[_0x5e216f(0x2a9)]))['subscribe'](_0x3c85cb=>{const _0x295678=_0x5e216f;if(_0x3c85cb==null)return;const {unitId:_0x103f92,redoState:_0x21d1c5,commandId:_0x38b90c}=_0x3c85cb;if(_0x103f92!==this[_0x295678(0x280)])return;const _0x45ab2e={'id':_0x38b90c,'type':_0x3d563c[_0x295678(0x3b9)][_0x295678(0x326)],'params':{'unitId':_0x103f92,'actions':_0x21d1c5[_0x295678(0x344)],'textRanges':null}};this[_0x295678(0x3f9)](_0x45ab2e);}),_0x463dc9;}},_0x1b5475[_0x416c04(0x3a0)]=_0x595650([_0x294835(0x3,_0x3d563c['Inject'](_0x3d563c['Injector'])),_0x294835(0x4,_0x3d563c[_0x416c04(0x4d1)](_0x1b5475[_0x416c04(0x26c)])),_0x294835(0x5,_0x3d563c['Inject'](_0x520737[_0x416c04(0x4a1)])),_0x294835(0x6,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c['LocaleService'])),_0x294835(0x7,_0x3d563c['Inject'](_0x520737[_0x416c04(0x2e6)])),_0x294835(0x8,_0x3d563c['Inject'](_0x4212a5[_0x416c04(0x34f)])),_0x294835(0x9,_0x3d563c[_0x416c04(0x4d1)](_0x1e4b8d)),_0x294835(0xa,_0x3d563c[_0x416c04(0x4d1)](_0xa1c94b)),_0x294835(0xb,_0x3d563c[_0x416c04(0x4d1)](_0x3e8219)),_0x294835(0xc,_0x3d563c[_0x416c04(0x4d1)](_0x50baf1)),_0x294835(0xd,_0x3d563c[_0x416c04(0x2fd)]),_0x294835(0xe,_0x3d563c[_0x416c04(0x3e8)]),_0x294835(0xf,_0xe60abc[_0x416c04(0x1b7)]),_0x294835(0x10,_0x3d563c[_0x416c04(0x3d3)]),_0x294835(0x11,_0x3d563c['Optional'](_0x3cc9ac))],_0x1b5475[_0x416c04(0x3a0)]),_0x1b5475[_0x416c04(0x22d)]=class extends _0x1b5475[_0x416c04(0x24a)]{constructor(_0x24ba8a,_0xa6eb00,_0x347cb5,_0x5531ef,_0x2bdde7,_0x33402c,_0x4de91f,_0x224851,_0x8dbde2,_0x435304,_0x5b2d00,_0x5ed19a,_0x4e96ab,_0x3200a5){const _0x1122c2=_0x416c04;super(_0x24ba8a,_0x347cb5,_0xa6eb00,_0x5531ef,_0x2bdde7,_0x33402c,_0x4de91f,_0x224851,_0x435304,_0x5b2d00,_0x5ed19a,_0x4e96ab,_0x3200a5),this[_0x1122c2(0x280)]=_0x24ba8a,this[_0x1122c2(0x6e)]=_0xa6eb00,this[_0x1122c2(0x494)]=_0x8dbde2;}[_0x416c04(0x2d2)](){const _0x29771b=_0x416c04,_0x2e8bc3=super[_0x29771b(0x2d2)]();return _0x2e8bc3[_0x29771b(0xc7)]=_0x84a3ca=>this[_0x29771b(0x494)][_0x29771b(0x47f)](_0x84a3ca),_0x2e8bc3;}async[_0x416c04(0x2b1)](){const _0x223794=_0x416c04,_0x5735ab=await super[_0x223794(0x2b1)]();return this[_0x223794(0x4e9)](this[_0x223794(0x3ac)][_0x223794(0x254)]((_0xc6f421,_0x28dc1e)=>{const _0x16eaa7=_0x223794;if(_0xc6f421[_0x16eaa7(0x6e)]!==_0x3d563c['CommandType'][_0x16eaa7(0x326)]||_0x28dc1e!=null&&_0x28dc1e[_0x16eaa7(0x37f)]||_0x28dc1e!=null&&_0x28dc1e[_0x16eaa7(0x122)])return;const _0x59239f=_0xc6f421[_0x16eaa7(0x402)];if((_0x59239f==null?void 0x0:_0x59239f[_0x16eaa7(0x425)])!==this['unitID'])return;const _0x9ddd0f=_0xc6f421,_0x129723=this[_0x16eaa7(0x379)]['interceptor'][_0x16eaa7(0x2ac)](this['_compressMutationService'][_0x16eaa7(0x234)][_0x16eaa7(0x331)]()[_0x16eaa7(0x325)])([_0x9ddd0f],null)||[_0x9ddd0f];this[_0x16eaa7(0x3f9)](_0x129723[0x0]);})),_0x5735ab;}},_0x1b5475['SheetCollaborationEntity']=_0x595650([_0x294835(0x3,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c['Injector'])),_0x294835(0x4,_0x3d563c[_0x416c04(0x4d1)](_0x1b5475[_0x416c04(0x26c)])),_0x294835(0x5,_0x3d563c[_0x416c04(0x4d1)](_0x520737[_0x416c04(0x4a1)])),_0x294835(0x6,_0x3d563c['Inject'](_0x3d563c['LocaleService'])),_0x294835(0x7,_0x3d563c[_0x416c04(0x4d1)](_0x520737['RevisionService'])),_0x294835(0x8,_0x3d563c[_0x416c04(0x4d1)](_0x2e8a2a)),_0x294835(0x9,_0x3d563c['ILogService']),_0x294835(0xa,_0x3d563c[_0x416c04(0x3e8)]),_0x294835(0xb,_0xe60abc[_0x416c04(0x1b7)]),_0x294835(0xc,_0x3d563c[_0x416c04(0x3d3)]),_0x294835(0xd,_0x3d563c['Optional'](_0x3cc9ac))],_0x1b5475[_0x416c04(0x22d)]);var _0x2a0ec2=Object[_0x416c04(0x2e4)],_0x1337c0=Object[_0x416c04(0x4e2)],_0x4facea=(_0x11135f,_0x4c715b,_0x4b8c77,_0x5524fb)=>{const _0x3fcd19=_0x416c04;for(var _0x59d43a=_0x5524fb>0x1?void 0x0:_0x5524fb?_0x1337c0(_0x4c715b,_0x4b8c77):_0x4c715b,_0x2b3551=_0x11135f[_0x3fcd19(0x26a)]-0x1,_0x5d8203;_0x2b3551>=0x0;_0x2b3551--)(_0x5d8203=_0x11135f[_0x2b3551])&&(_0x59d43a=(_0x5524fb?_0x5d8203(_0x4c715b,_0x4b8c77,_0x59d43a):_0x5d8203(_0x59d43a))||_0x59d43a);return _0x5524fb&&_0x59d43a&&_0x2a0ec2(_0x4c715b,_0x4b8c77,_0x59d43a),_0x59d43a;},_0x48e47e=(_0x188e0d,_0x27c79a)=>(_0x9ac7a5,_0x5ec63a)=>_0x27c79a(_0x9ac7a5,_0x5ec63a,_0x188e0d);_0x1b5475['CollaborationController']=class extends _0x3d563c['RxDisposable']{constructor(_0x5bd121,_0x149999,_0x37c955){const _0x1b15c8=_0x416c04;super(),_0x10d0d4(this,_0x1b15c8(0x89),new Map()),_0x10d0d4(this,'_entityInit$',new _0x10d074[(_0x1b15c8(0x178))]()),(this[_0x1b15c8(0x4c7)]=_0x5bd121,this[_0x1b15c8(0x487)]=_0x149999,this[_0x1b15c8(0x468)]=_0x37c955,this[_0x1b15c8(0x2b1)]());}[_0x416c04(0x516)](){const _0x14eaf3=_0x416c04;super[_0x14eaf3(0x516)](),this['_entities'][_0x14eaf3(0x124)](_0x5f359e=>_0x5f359e[_0x14eaf3(0x516)]()),this[_0x14eaf3(0x89)][_0x14eaf3(0x4a8)]();}[_0x416c04(0x22a)](_0x45d681){const _0x5a7745=_0x416c04;var _0x39b287;return(_0x39b287=this[_0x5a7745(0x89)][_0x5a7745(0x529)](_0x45d681))!=null?_0x39b287:null;}[_0x416c04(0x365)](_0x1c10b5){const _0x18bae8=_0x416c04,_0x5715b8=this['getCollabEntity'](_0x1c10b5);return _0x5715b8?_0x10d074['of'](_0x5715b8):this[_0x18bae8(0x3d5)][_0x18bae8(0x123)](_0x2da86d[_0x18bae8(0x1e6)](_0x43180c=>_0x43180c['unitID']===_0x1c10b5));}[_0x416c04(0x2b1)](){const _0x434975=_0x416c04;this[_0x434975(0x468)]['getTypeOfUnitAdded$'](_0x3d563c['UniverInstanceType'][_0x434975(0x2ec)])[_0x434975(0x123)](_0x10d074[_0x434975(0x288)](this['dispose$']),_0x2da86d[_0x434975(0x2e8)](0x10))['subscribe'](async _0x201744=>{const _0x26a69a=_0x434975,_0x1cdad2=_0x201744[_0x26a69a(0x18e)](),_0xe2ba18=await this[_0x26a69a(0x23c)](_0x1cdad2,_0x2cf20e[_0x26a69a(0x2ec)]);this[_0x26a69a(0x89)]['set'](_0x1cdad2,_0xe2ba18);}),this[_0x434975(0x468)][_0x434975(0x3a1)](_0x3d563c[_0x434975(0x3b1)]['UNIVER_DOC'])['pipe'](_0x10d074['takeUntil'](this[_0x434975(0x2a9)]),_0x2da86d['delay'](0x10))[_0x434975(0x123)](_0x2da86d[_0x434975(0x1e6)](_0x1b0194=>!_0x1b0194['getUnitId']()[_0x434975(0xa6)]('__')))[_0x434975(0x31f)](async _0x4c7d7d=>{const _0x25ee74=_0x434975,_0x43b5e5=_0x4c7d7d[_0x25ee74(0x18e)](),_0x50e214=await this[_0x25ee74(0x23c)](_0x43b5e5,_0x2cf20e[_0x25ee74(0x465)]);this[_0x25ee74(0x89)][_0x25ee74(0x4ce)](_0x43b5e5,_0x50e214);}),_0x10d074['merge'](this[_0x434975(0x468)][_0x434975(0x318)](_0x3d563c[_0x434975(0x3b1)][_0x434975(0x2ec)]),this[_0x434975(0x468)][_0x434975(0x318)](_0x3d563c[_0x434975(0x3b1)][_0x434975(0x465)]))[_0x434975(0x123)](_0x10d074[_0x434975(0x288)](this[_0x434975(0x2a9)]))[_0x434975(0x31f)](_0x374d70=>{const _0x12cb3f=_0x434975,_0x9d2038=_0x374d70[_0x12cb3f(0x18e)](),_0x53e218=this[_0x12cb3f(0x89)][_0x12cb3f(0x529)](_0x9d2038);_0x53e218&&(_0x53e218[_0x12cb3f(0x516)](),this[_0x12cb3f(0x89)]['delete'](_0x9d2038));});}async['_startCollaboration'](_0x51d9ee,_0x2cfda8){const _0x4fc69d=_0x416c04,_0x1da19a=await this[_0x4fc69d(0x487)][_0x4fc69d(0x92)](_0x51d9ee),_0x2f651f=this[_0x4fc69d(0x4c7)][_0x4fc69d(0x385)](this[_0x4fc69d(0x14b)](_0x2cfda8),_0x51d9ee,_0x2cfda8,_0x1da19a);return await _0x2f651f['init'](),this['_entityInit$']['next'](_0x2f651f),_0x2f651f;}[_0x416c04(0x14b)](_0x557a00){const _0x4c3026=_0x416c04;switch(_0x557a00){case _0x2cf20e[_0x4c3026(0x465)]:return _0x1b5475[_0x4c3026(0x3a0)];case _0x2cf20e['UNIVER_SHEET']:return _0x1b5475['SheetCollaborationEntity'];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x557a00);}}},_0x1b5475['CollaborationController']=_0x4facea([_0x48e47e(0x0,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c['Injector'])),_0x48e47e(0x1,_0x3d563c[_0x416c04(0x4d1)](_0x1b5475[_0x416c04(0x364)])),_0x48e47e(0x2,_0x3d563c['IUniverInstanceService'])],_0x1b5475['CollaborationController']);const _0x4cc28f=[_0x416c04(0x28a),_0x416c04(0x202),_0x416c04(0x321),_0x416c04(0x3fc),'blue400',_0x416c04(0x105)];class _0x449153 extends _0x3d563c[_0x416c04(0x9d)]{constructor(){const _0x5ce0b5=_0x416c04;super(...arguments),_0x10d0d4(this,_0x5ce0b5(0x4b8),new Map()),_0x10d0d4(this,_0x5ce0b5(0x12a),0x0);}[_0x416c04(0x24b)](_0xb7ed90){const _0x5f1555=_0x416c04;if(this[_0x5f1555(0x4b8)][_0x5f1555(0x6c)](_0xb7ed90))return this[_0x5f1555(0x4b8)][_0x5f1555(0x529)](_0xb7ed90);const _0x151c44=_0x4cc28f[this[_0x5f1555(0x12a)]];return this[_0x5f1555(0x12a)]=(this[_0x5f1555(0x12a)]+0x1)%_0x4cc28f[_0x5f1555(0x26a)],this[_0x5f1555(0x4b8)][_0x5f1555(0x4ce)](_0xb7ed90,_0x151c44),_0x151c44;}}var _0x41bb5e=Object[_0x416c04(0x2e4)],_0x316ace=Object['getOwnPropertyDescriptor'],_0x554116=(_0x13eb60,_0xd9bf96,_0x1b63ef,_0xe8ffdd)=>{const _0x1784ce=_0x416c04;for(var _0x1b2f70=_0xe8ffdd>0x1?void 0x0:_0xe8ffdd?_0x316ace(_0xd9bf96,_0x1b63ef):_0xd9bf96,_0x5100a7=_0x13eb60[_0x1784ce(0x26a)]-0x1,_0x4748b5;_0x5100a7>=0x0;_0x5100a7--)(_0x4748b5=_0x13eb60[_0x5100a7])&&(_0x1b2f70=(_0xe8ffdd?_0x4748b5(_0xd9bf96,_0x1b63ef,_0x1b2f70):_0x4748b5(_0x1b2f70))||_0x1b2f70);return _0xe8ffdd&&_0x1b2f70&&_0x41bb5e(_0xd9bf96,_0x1b63ef,_0x1b2f70),_0x1b2f70;},_0x269282=(_0x45ae78,_0x3091e1)=>(_0x420946,_0x37647e)=>_0x3091e1(_0x420946,_0x37647e,_0x45ae78);const _0x3e0fad=0x12c,_0x20ef45=0x64;let _0x29baca=class extends _0x3d563c[_0x416c04(0x9b)]{constructor(_0x2757e6,_0xbb6b72,_0x2533f5,_0xa5eade,_0x333257,_0x2e3bd9,_0x481698,_0x4db2e8,_0x3dad48){const _0x1f0357=_0x416c04;super(),_0x10d0d4(this,_0x1f0357(0x388),!0x1),_0x10d0d4(this,_0x1f0357(0x2b1),!0x1),_0x10d0d4(this,_0x1f0357(0x4c4),new _0x10d074[(_0x1f0357(0x500))](new Map())),_0x10d0d4(this,'cursorInfo$',this['_cursorInfo$'][_0x1f0357(0x349)]()),_0x10d0d4(this,_0x1f0357(0x50e),new _0x10d074[(_0x1f0357(0x500))]([])),_0x10d0d4(this,_0x1f0357(0x1f8),this[_0x1f0357(0x50e)][_0x1f0357(0x123)](_0x10d074[_0x1f0357(0x3d6)](_0x3e0fad))),_0x10d0d4(this,_0x1f0357(0x359),_0x3d563c[_0x1f0357(0x45f)](_0x25749d=>{const _0x2eb5b8=_0x1f0357,_0xd2d032={'eventID':_0x520737[_0x2eb5b8(0x52d)][_0x2eb5b8(0x147)],'data':{'unitID':this[_0x2eb5b8(0x280)],'memberID':this['_session'][_0x2eb5b8(0x26d)](),'selection':_0x957268(_0x25749d)}};this[_0x2eb5b8(0xc1)][_0x2eb5b8(0x2ad)](_0xd2d032,this[_0x2eb5b8(0x280)]);},_0x20ef45)),(this[_0x1f0357(0x280)]=_0x2757e6,this[_0x1f0357(0xc1)]=_0xbb6b72,this[_0x1f0357(0x4c7)]=_0x2533f5,this[_0x1f0357(0x90)]=_0xa5eade,this[_0x1f0357(0x399)]=_0x333257,this[_0x1f0357(0x512)]=_0x2e3bd9,this[_0x1f0357(0x392)]=_0x481698,this[_0x1f0357(0x468)]=_0x4db2e8,this[_0x1f0357(0x3ac)]=_0x3dad48);}get[_0x416c04(0x38c)](){return this['_cursorInfo$']['getValue']();}get[_0x416c04(0x323)](){const _0x324d46=_0x416c04;return this[_0x324d46(0x50e)][_0x324d46(0x49b)]();}['dispose'](){const _0x34fc8b=_0x416c04;super[_0x34fc8b(0x516)](),this[_0x34fc8b(0x4c4)][_0x34fc8b(0x50f)](new Map()),this[_0x34fc8b(0x4c4)]['complete'](),this[_0x34fc8b(0x50e)][_0x34fc8b(0x50f)]([]),this[_0x34fc8b(0x50e)][_0x34fc8b(0x9f)]();}[_0x416c04(0x479)](){const _0x25d781=_0x416c04;this[_0x25d781(0x2b1)]||(this[_0x25d781(0x2b1)]=!0x0,this[_0x25d781(0xc1)][_0x25d781(0x17f)][_0x25d781(0x123)](_0x10d074[_0x25d781(0x288)](this[_0x25d781(0x2a9)]))['subscribe'](_0x569231=>{const _0x3c289e=_0x25d781;_0x569231===_0x1467c9[_0x3c289e(0x99)]?this[_0x3c289e(0x32b)]():this[_0x3c289e(0x351)]();}),this[_0x25d781(0xc1)][_0x25d781(0xd7)][_0x25d781(0x123)](_0x10d074[_0x25d781(0x288)](this['dispose$']))[_0x25d781(0x31f)](_0x228e2b=>{const _0x4d8c5f=_0x25d781,_0x59d8f2=_0x228e2b['eventID'];_0x59d8f2===_0x520737[_0x4d8c5f(0x52d)][_0x4d8c5f(0x147)]&&this[_0x4d8c5f(0x21a)](_0x228e2b),_0x59d8f2===_0x520737['CollaborationEvent']['USERS_LEAVE']&&this[_0x4d8c5f(0x20f)](_0x228e2b);}),this[_0x25d781(0x4e9)](this['_commandService'][_0x25d781(0x254)](_0x26fa79=>{const _0x5e822b=_0x25d781,_0x4a1965=_0x26fa79['params'];_0x4a1965!=null&&this['_online']&&_0x26fa79['id']===_0x2fb3a7[_0x5e822b(0x49f)]['id']&&_0x4a1965[_0x5e822b(0x425)]===this['unitID']&&_0x4a1965[_0x5e822b(0x36e)]===!0x1&&_0x4a1965['ranges'][_0x5e822b(0x26a)]>0x0&&this[_0x5e822b(0x359)](_0x4a1965['ranges']);})),this[_0x25d781(0x512)][_0x25d781(0x75)][_0x25d781(0x123)](_0x10d074[_0x25d781(0x288)](this[_0x25d781(0x2a9)]))[_0x25d781(0x31f)](_0x340f03=>{const _0x434936=_0x25d781;if((_0x340f03==null?void 0x0:_0x340f03[_0x434936(0x280)])!==this[_0x434936(0x280)])return;const _0x3f758b={'eventID':_0x520737[_0x434936(0x52d)][_0x434936(0x147)],'data':_0x340f03};this[_0x434936(0x21a)](_0x3f758b);}),this[_0x25d781(0x4e9)](this['_commandService'][_0x25d781(0x254)](_0x25c1e3=>{const _0x49252f=_0x25d781;if(_0x25c1e3[_0x49252f(0x402)]==null)return;const _0x11cda8=_0x25c1e3[_0x49252f(0x402)];if(_0x25c1e3['id']!==_0x2fb3a7['RichTextEditingMutation']['id']||_0x11cda8[_0x49252f(0x425)]!==this['unitID'])return;const _0x2771cf={'id':_0x49252f(0x3af),'params':_0x11cda8},_0x591b7f=this['cursorInfo'];for(const [_0x390753,_0x3285df]of _0x591b7f){const _0x5e98d7={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x49252f(0x280)],'actions':null,'textRanges':_0x3285df[_0x49252f(0x1c6)]}},_0x57cb7b=this[_0x49252f(0x392)][_0x49252f(0x168)](_0x2771cf,_0x5e98d7,!0x1);if(_0x520737['isTransformMutationFailure'](_0x57cb7b))throw _0x57cb7b[_0x49252f(0x4b1)];_0x591b7f[_0x49252f(0x4ce)](_0x390753,{..._0x3285df,'ranges':_0x57cb7b[_0x49252f(0x85)][_0x49252f(0x402)][_0x49252f(0x4f2)]});}queueMicrotask(()=>{const _0x41d093=_0x49252f;this[_0x41d093(0x4c4)][_0x41d093(0x50f)](_0x591b7f);});})));}['_onCursorUpdate'](_0x6992ae){const _0xc100cd=_0x416c04;var _0x523437,_0x3886eb;const {memberID:_0x3f356d,selection:_0x3d9802}=_0x6992ae[_0xc100cd(0xa1)],_0x2536fc=_0x2aea7a(_0x3d9802),_0x4a4b24=(_0x3886eb=(_0x523437=this[_0xc100cd(0x399)][_0xc100cd(0x2ed)](this[_0xc100cd(0x280)],_0x3f356d))==null?void 0x0:_0x523437[_0xc100cd(0x241)])!=null?_0x3886eb:'Unknown\x20user',_0x199385={'color':this[_0xc100cd(0x90)][_0xc100cd(0x24b)](_0x3f356d),'name':_0x4a4b24,'ranges':_0x2536fc},_0x225f13=this[_0xc100cd(0x38c)];_0x225f13[_0xc100cd(0x4ce)](_0x3f356d,_0x199385),this[_0xc100cd(0x4c4)]['next'](_0x225f13);}[_0x416c04(0x20f)](_0x1dcea2){const _0x371cf1=_0x416c04,{memberID:_0x32a3e6}=_0x1dcea2[_0x371cf1(0xa1)],_0x5e951f=this['cursorInfo'];_0x5e951f[_0x371cf1(0xe8)](_0x32a3e6),this['_cursorInfo$']['next'](_0x5e951f);}[_0x416c04(0x32b)](){const _0x332dfa=_0x416c04;var _0x51fd21;if(this[_0x332dfa(0x388)]=!0x0,((_0x51fd21=this[_0x332dfa(0x468)][_0x332dfa(0x9c)]())==null?void 0x0:_0x51fd21['getUnitId']())!==this[_0x332dfa(0x280)])return;const _0x40aa75=this[_0x332dfa(0x4c7)][_0x332dfa(0x529)](_0x2fb3a7['DocSelectionManagerService'])[_0x332dfa(0x114)]();Array[_0x332dfa(0x408)](_0x40aa75)&&_0x40aa75['length']>0x0&&this[_0x332dfa(0x359)](_0x40aa75);}['_toggleOffline'](){this['_online']=!0x1;}};_0x29baca=_0x554116([_0x269282(0x2,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c[_0x416c04(0x25f)])),_0x269282(0x3,_0x3d563c[_0x416c04(0x4d1)](_0x449153)),_0x269282(0x4,_0x3d563c[_0x416c04(0x4d1)](_0x1b5475[_0x416c04(0x2f4)])),_0x269282(0x5,_0x3d563c[_0x416c04(0x4d1)](_0x50baf1)),_0x269282(0x6,_0x520737[_0x416c04(0x302)]),_0x269282(0x7,_0x3d563c[_0x416c04(0x127)]),_0x269282(0x8,_0x3d563c['ICommandService'])],_0x29baca);var _0x3562ba=Object[_0x416c04(0x2e4)],_0x465343=Object[_0x416c04(0x4e2)],_0x9ae6f9=(_0x4b90db,_0x45a6fe,_0x1765d5,_0x5e41aa)=>{const _0x50d57d=_0x416c04;for(var _0x32adca=_0x5e41aa>0x1?void 0x0:_0x5e41aa?_0x465343(_0x45a6fe,_0x1765d5):_0x45a6fe,_0x1ccf16=_0x4b90db[_0x50d57d(0x26a)]-0x1,_0x577226;_0x1ccf16>=0x0;_0x1ccf16--)(_0x577226=_0x4b90db[_0x1ccf16])&&(_0x32adca=(_0x5e41aa?_0x577226(_0x45a6fe,_0x1765d5,_0x32adca):_0x577226(_0x32adca))||_0x32adca);return _0x5e41aa&&_0x32adca&&_0x3562ba(_0x45a6fe,_0x1765d5,_0x32adca),_0x32adca;},_0x294218=(_0x4f1878,_0x53dc31)=>(_0xe7bc3c,_0x300431)=>_0x53dc31(_0xe7bc3c,_0x300431,_0x4f1878);const _0x528285=0x12c,_0x3e5e8f=0x64,_0x71a357=()=>{let _0x49ee16=[],_0x1fcb97=!0x1;return _0x21476e=>{_0x49ee16['push'](_0x21476e),_0x1fcb97||(_0x1fcb97=!0x0,setTimeout(()=>{const _0x457091=_0x3e32;_0x49ee16[_0x457091(0x124)](_0x59b409=>_0x59b409()),_0x49ee16=[],_0x1fcb97=!0x1;}));};};let _0x537cec=class extends _0x3d563c['RxDisposable']{constructor(_0x2608e7,_0x4ac591,_0x551dff,_0x584d93,_0x331f2b,_0x3a586e,_0x49103d,_0x3a8831){const _0x43d7f0=_0x416c04;super(),_0x10d0d4(this,_0x43d7f0(0x388),!0x1),_0x10d0d4(this,_0x43d7f0(0x2b1),!0x1),_0x10d0d4(this,'_cursorInfo$',new _0x10d074[(_0x43d7f0(0x500))](new Map())),_0x10d0d4(this,_0x43d7f0(0x290),this[_0x43d7f0(0x4c4)]['asObservable']()),_0x10d0d4(this,_0x43d7f0(0x50e),new _0x10d074[(_0x43d7f0(0x500))]([])),_0x10d0d4(this,_0x43d7f0(0x1f8),this[_0x43d7f0(0x50e)][_0x43d7f0(0x123)](_0x10d074['debounceTime'](_0x528285))),_0x10d0d4(this,'_updateLocalCursor',_0x3d563c['debounce']((_0x1de738,_0x41c58b)=>{const _0x5ed205=_0x43d7f0,_0x5309db={'eventID':_0x520737[_0x5ed205(0x52d)][_0x5ed205(0x147)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x5ed205(0x26d)](),'selection':_0x396f5d[_0x5ed205(0x111)](_0x1de738,_0x41c58b[_0x5ed205(0x16b)])}};this[_0x5ed205(0xc1)][_0x5ed205(0x2ad)](_0x5309db,this['unitID']);},_0x3e5e8f)),(this['unitID']=_0x2608e7,this[_0x43d7f0(0xc1)]=_0x4ac591,this[_0x43d7f0(0x4c7)]=_0x551dff,this[_0x43d7f0(0x90)]=_0x584d93,this[_0x43d7f0(0x399)]=_0x331f2b,this[_0x43d7f0(0x468)]=_0x3a586e,this[_0x43d7f0(0x3ac)]=_0x49103d,this[_0x43d7f0(0x489)]=_0x3a8831);}get[_0x416c04(0x38c)](){const _0x281555=_0x416c04;return this[_0x281555(0x4c4)][_0x281555(0x49b)]();}get[_0x416c04(0x323)](){const _0x34ac7a=_0x416c04;return this[_0x34ac7a(0x50e)][_0x34ac7a(0x49b)]();}[_0x416c04(0x516)](){const _0xc81824=_0x416c04;super[_0xc81824(0x516)](),this['_cursorInfo$'][_0xc81824(0x50f)](new Map()),this[_0xc81824(0x4c4)]['complete'](),this[_0xc81824(0x50e)][_0xc81824(0x50f)]([]),this[_0xc81824(0x50e)][_0xc81824(0x9f)]();}['init'](){const _0x210ab=_0x416c04;this[_0x210ab(0x2b1)]||(this[_0x210ab(0x2b1)]=!0x0,this['_session'][_0x210ab(0x17f)][_0x210ab(0x123)](_0x10d074[_0x210ab(0x288)](this[_0x210ab(0x2a9)]))[_0x210ab(0x31f)](_0x26926e=>{const _0x175cef=_0x210ab;_0x26926e===_0x1467c9[_0x175cef(0x99)]?this['_toggleOnline']():this[_0x175cef(0x351)]();}),this['_session']['event$'][_0x210ab(0x123)](_0x10d074['takeUntil'](this[_0x210ab(0x2a9)]))[_0x210ab(0x31f)](_0x1440b5=>{const _0x5014d9=_0x210ab,_0x65b7db=_0x1440b5[_0x5014d9(0xac)];_0x65b7db===_0x520737['CollaborationEvent'][_0x5014d9(0x147)]&&this[_0x5014d9(0x21a)](_0x1440b5),_0x65b7db===_0x520737[_0x5014d9(0x52d)][_0x5014d9(0x43e)]&&this[_0x5014d9(0x20f)](_0x1440b5);}),this[_0x210ab(0x12c)](),this[_0x210ab(0x4e9)](this[_0x210ab(0x3ac)][_0x210ab(0x254)](_0xc1ab2a=>{const _0x97a5b7=_0x210ab;if(this[_0x97a5b7(0x388)]&&_0xc1ab2a['id']===_0xa13da4[_0x97a5b7(0x2bc)]['id']&&_0xc1ab2a[_0x97a5b7(0x402)][_0x97a5b7(0x425)]===this['unitID']){const _0xdad488=_0xc1ab2a[_0x97a5b7(0x402)];this['_updateLocalCursor'](_0xdad488['subUnitId'],_0xdad488['selections'][0x0]);}})));}['_onCursorUpdate'](_0x33c997){const _0x1ca72d=_0x416c04;var _0x864cdf,_0x49c161;const {memberID:_0x17a24d,selection:_0xdefbe2}=_0x33c997[_0x1ca72d(0xa1)],{sheetName:_0x502396,range:_0x3acb23}=_0x396f5d[_0x1ca72d(0x141)](_0xdefbe2),_0x3a3951={'name':(_0x49c161=(_0x864cdf=this[_0x1ca72d(0x399)][_0x1ca72d(0x2ed)](this[_0x1ca72d(0x280)],_0x17a24d))==null?void 0x0:_0x864cdf[_0x1ca72d(0x241)])!=null?_0x49c161:_0x1ca72d(0x4a7),'range':this[_0x1ca72d(0x37d)](_0x502396,_0x3acb23),'sheetID':_0x502396,'color':this[_0x1ca72d(0x90)][_0x1ca72d(0x24b)](_0x17a24d),'selection':_0xdefbe2},_0x8cf34b=this[_0x1ca72d(0x38c)];_0x8cf34b[_0x1ca72d(0x4ce)](_0x17a24d,_0x3a3951),this[_0x1ca72d(0x4c4)][_0x1ca72d(0x50f)](_0x8cf34b);}[_0x416c04(0x20f)](_0x31853c){const _0x5b4d9e=_0x416c04,{memberID:_0x458f94}=_0x31853c[_0x5b4d9e(0xa1)],_0x2510d0=this[_0x5b4d9e(0x38c)];_0x2510d0[_0x5b4d9e(0xe8)](_0x458f94),this['_cursorInfo$'][_0x5b4d9e(0x50f)](_0x2510d0);}[_0x416c04(0x37d)](_0x13eef7,_0x3b3861){const _0x401142=_0x416c04;var _0x34e804,_0x50aa64;const _0x4e49ca=(_0x50aa64=(_0x34e804=this[_0x401142(0x468)][_0x401142(0x4f7)](this[_0x401142(0x280)]))==null?void 0x0:_0x34e804[_0x401142(0x484)](_0x13eef7))==null?void 0x0:_0x50aa64['getMergeData']();return(_0x4e49ca==null?void 0x0:_0x4e49ca[_0x401142(0x174)](_0x5552fd=>_0x3d563c['Rectangle'][_0x401142(0x1cf)](_0x5552fd,_0x3b3861)))||_0x3b3861;}[_0x416c04(0x12c)](){const _0x22742e=_0x416c04,_0x5bb787=new _0x3d563c[(_0x22742e(0x1bc))](),_0x518353=_0x71a357(),_0x3990c5=()=>{const _0xf2a20=_0x22742e;_0x5bb787[_0xf2a20(0x516)]();const _0x2e0bc9=(_0x53c462,_0x6730f7,_0x364c29,_0x505525)=>{const _0x37a6c3=_0xf2a20;let _0x301734=[];switch(_0x53c462['id']){case _0xa13da4[_0x37a6c3(0x3c0)][_0x37a6c3(0x2cd)]:{_0x301734=_0xa13da4[_0x37a6c3(0x306)](_0x53c462,_0x505525);break;}case _0xa13da4[_0x37a6c3(0x3c0)][_0x37a6c3(0x362)]:{_0x301734=_0xa13da4[_0x37a6c3(0x21d)](_0x53c462,_0x505525);break;}case _0xa13da4[_0x37a6c3(0x3c0)]['InsertColCommandId']:{_0x301734=_0xa13da4[_0x37a6c3(0x34e)](_0x53c462,_0x505525);break;}case _0xa13da4[_0x37a6c3(0x3c0)][_0x37a6c3(0x49d)]:{_0x301734=_0xa13da4[_0x37a6c3(0x10c)](_0x53c462,_0x505525);break;}case _0xa13da4[_0x37a6c3(0x3c0)][_0x37a6c3(0x390)]:{_0x301734=_0xa13da4[_0x37a6c3(0x446)](_0x53c462,_0x505525);break;}case _0xa13da4['EffectRefRangId'][_0x37a6c3(0x25b)]:{_0x301734=_0xa13da4[_0x37a6c3(0x13a)](_0x53c462,_0x505525);break;}case _0xa13da4[_0x37a6c3(0x3c0)][_0x37a6c3(0x32a)]:{_0x301734=_0xa13da4['handleMoveRange'](_0x53c462,_0x505525);break;}case _0xa13da4['EffectRefRangId'][_0x37a6c3(0x3ab)]:{_0x301734=_0xa13da4['handleIRemoveCol'](_0x53c462,_0x505525);break;}case _0xa13da4['EffectRefRangId'][_0x37a6c3(0x308)]:{_0x301734=_0xa13da4[_0x37a6c3(0x522)](_0x53c462,_0x505525);break;}}const _0x3a98ba=_0xa13da4[_0x37a6c3(0xa7)](_0x301734,_0x505525),_0x561151=this['cursorInfo'][_0x37a6c3(0x529)](_0x6730f7);if(_0x561151&&_0x3a98ba){const _0x327a5f={..._0x561151,'range':_0x3a98ba};this['cursorInfo'][_0x37a6c3(0x4ce)](_0x6730f7,_0x327a5f),_0x518353(()=>{const _0x562ea6=_0x37a6c3,_0x32c0f8=this[_0x562ea6(0x489)][_0x562ea6(0x4dd)](_0x3a98ba,_0x29fb1e=>(_0x32c0f8[_0x562ea6(0x516)](),_0x2e0bc9(_0x29fb1e,_0x6730f7,_0x364c29,_0x3a98ba)));_0x5bb787[_0x562ea6(0x44b)](_0x32c0f8);});}return{'redos':[],'undos':[]};};this[_0xf2a20(0x38c)]['forEach']((_0x37ea03,_0x47c596)=>{const _0xaa01c=_0xf2a20,{range:_0x2b8919,sheetID:_0x46ca06}=_0x37ea03,_0x357657=this[_0xaa01c(0x489)][_0xaa01c(0x4dd)](_0x2b8919,_0xccb78e=>(_0x357657[_0xaa01c(0x516)](),_0x2e0bc9(_0xccb78e,_0x47c596,_0x46ca06,_0x2b8919)));_0x5bb787['add'](_0x357657);});};this[_0x22742e(0x4e9)](_0x3d563c[_0x22742e(0x307)](this[_0x22742e(0x4c4)][_0x22742e(0x31f)](()=>{_0x3990c5();})));}['_toggleOnline'](){const _0x4bc1fb=_0x416c04;var _0x273653,_0x15458d;if(this[_0x4bc1fb(0x388)]=!0x0,((_0x273653=this[_0x4bc1fb(0x468)][_0x4bc1fb(0x9c)]())==null?void 0x0:_0x273653[_0x4bc1fb(0x18e)]())!==this[_0x4bc1fb(0x280)])return;const _0x31b4f2=(_0x15458d=this[_0x4bc1fb(0x4c7)][_0x4bc1fb(0x529)](_0xa13da4[_0x4bc1fb(0x104)])[_0x4bc1fb(0x338)]())==null?void 0x0:_0x15458d[0x0],_0x374f59=this['_univerInstanceService'][_0x4bc1fb(0x158)](_0x3d563c[_0x4bc1fb(0x3b1)][_0x4bc1fb(0x2ec)])[_0x4bc1fb(0x403)]();_0x31b4f2&&_0x374f59&&this[_0x4bc1fb(0x359)](_0x374f59[_0x4bc1fb(0x320)](),_0x31b4f2);}[_0x416c04(0x351)](){const _0x569985=_0x416c04;this[_0x569985(0x388)]=!0x1;}};_0x537cec=_0x9ae6f9([_0x294218(0x2,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c[_0x416c04(0x25f)])),_0x294218(0x3,_0x3d563c[_0x416c04(0x4d1)](_0x449153)),_0x294218(0x4,_0x3d563c['Inject'](_0x1b5475['MemberService'])),_0x294218(0x5,_0x3d563c[_0x416c04(0x127)]),_0x294218(0x6,_0x3d563c['ICommandService']),_0x294218(0x7,_0x3d563c[_0x416c04(0x4d1)](_0xa13da4[_0x416c04(0x339)]))],_0x537cec);var _0x52326e=Object['defineProperty'],_0x55d56e=Object[_0x416c04(0x4e2)],_0x3bd9d7=(_0x1e05ba,_0x4e1bbe,_0x4c4409,_0x42dd1b)=>{const _0x139731=_0x416c04;for(var _0x3f2e92=_0x42dd1b>0x1?void 0x0:_0x42dd1b?_0x55d56e(_0x4e1bbe,_0x4c4409):_0x4e1bbe,_0x8ebabf=_0x1e05ba[_0x139731(0x26a)]-0x1,_0x15c748;_0x8ebabf>=0x0;_0x8ebabf--)(_0x15c748=_0x1e05ba[_0x8ebabf])&&(_0x3f2e92=(_0x42dd1b?_0x15c748(_0x4e1bbe,_0x4c4409,_0x3f2e92):_0x15c748(_0x3f2e92))||_0x3f2e92);return _0x42dd1b&&_0x3f2e92&&_0x52326e(_0x4e1bbe,_0x4c4409,_0x3f2e92),_0x3f2e92;},_0x50f32f=(_0xc98ae2,_0xff1381)=>(_0x4e3394,_0x15c524)=>_0xff1381(_0x4e3394,_0x15c524,_0xc98ae2);let _0x517f54=class extends _0x3d563c['RxDisposable']{constructor(_0x5c5172,_0x3b7aba,_0x454229){const _0x44d2c=_0x416c04;super(),_0x10d0d4(this,_0x44d2c(0x89),new Map()),_0x10d0d4(this,_0x44d2c(0x3d5),new _0x10d074[(_0x44d2c(0x178))]()),(this['_univerInstanceService']=_0x5c5172,this['_injector']=_0x3b7aba,this['_collabSessionService']=_0x454229,this[_0x44d2c(0x2b1)]());}[_0x416c04(0x516)](){const _0x4d0068=_0x416c04;super[_0x4d0068(0x516)](),this[_0x4d0068(0x3d5)][_0x4d0068(0x9f)](),this[_0x4d0068(0x89)][_0x4d0068(0x124)](_0x5793ca=>_0x5793ca[_0x4d0068(0x516)]());}[_0x416c04(0x1db)](_0x1393ac){const _0x3a1fd7=_0x416c04;return this[_0x3a1fd7(0x89)][_0x3a1fd7(0x6c)](_0x1393ac)?this[_0x3a1fd7(0x89)]['get'](_0x1393ac)[_0x3a1fd7(0x290)]:this[_0x3a1fd7(0x3d5)][_0x3a1fd7(0x123)](_0x10d074[_0x3a1fd7(0x1e6)](_0x238a47=>_0x238a47[_0x3a1fd7(0x280)]===_0x1393ac),_0x10d074[_0x3a1fd7(0x36f)](_0xd4b1ca=>_0xd4b1ca[_0x3a1fd7(0x290)]));}[_0x416c04(0x2b1)](){const _0x5ac09c=_0x416c04;this[_0x5ac09c(0x468)][_0x5ac09c(0x3a1)](_0x3d563c[_0x5ac09c(0x3b1)][_0x5ac09c(0x2ec)])[_0x5ac09c(0x123)](_0x10d074[_0x5ac09c(0x288)](this['dispose$']))['subscribe'](async _0x16f37b=>{const _0x35943f=_0x5ac09c,_0x2bf19d=_0x16f37b['getUnitId'](),_0x314728=await this[_0x35943f(0x110)](_0x2bf19d);this['_entityInit$'][_0x35943f(0x50f)](_0x314728),this['_entities'][_0x35943f(0x4ce)](_0x2bf19d,_0x314728);}),this['_univerInstanceService'][_0x5ac09c(0x3a1)](_0x3d563c[_0x5ac09c(0x3b1)][_0x5ac09c(0x465)])['pipe'](_0x10d074[_0x5ac09c(0x288)](this[_0x5ac09c(0x2a9)]))[_0x5ac09c(0x123)](_0x10d074[_0x5ac09c(0x1e6)](_0x1b63d8=>!_0x1b63d8[_0x5ac09c(0x18e)]()['startsWith']('__')))[_0x5ac09c(0x31f)](async _0x343f92=>{const _0x3736f5=_0x5ac09c,_0x1a2ee2=_0x343f92[_0x3736f5(0x18e)](),_0x3c6b73=await this[_0x3736f5(0x260)](_0x1a2ee2);this['_entityInit$']['next'](_0x3c6b73),this[_0x3736f5(0x89)][_0x3736f5(0x4ce)](_0x1a2ee2,_0x3c6b73);}),_0x10d074[_0x5ac09c(0x3cd)](this['_univerInstanceService'][_0x5ac09c(0x318)](_0x3d563c[_0x5ac09c(0x3b1)][_0x5ac09c(0x465)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x3d563c[_0x5ac09c(0x3b1)][_0x5ac09c(0x2ec)]))[_0x5ac09c(0x123)](_0x10d074[_0x5ac09c(0x288)](this[_0x5ac09c(0x2a9)]))[_0x5ac09c(0x31f)](_0x3a122b=>{const _0x3545cc=_0x5ac09c,_0x5f4693=_0x3a122b[_0x3545cc(0x18e)](),_0x5a1064=this[_0x3545cc(0x89)][_0x3545cc(0x529)](_0x5f4693);_0x5a1064&&(_0x5a1064[_0x3545cc(0x516)](),this[_0x3545cc(0x89)][_0x3545cc(0xe8)](_0x5f4693));});}async[_0x416c04(0x110)](_0x12fe02){const _0x31cf2c=_0x416c04,_0x25c2c3=await this['_collabSessionService'][_0x31cf2c(0x92)](_0x12fe02),_0x390901=this['_injector'][_0x31cf2c(0x385)](_0x537cec,_0x12fe02,_0x25c2c3);return _0x390901[_0x31cf2c(0x479)](),_0x390901;}async['_startDocCollabCursor'](_0x259999){const _0x4cc5e3=_0x416c04,_0x4f36a7=await this[_0x4cc5e3(0x487)][_0x4cc5e3(0x92)](_0x259999),_0x28d124=this[_0x4cc5e3(0x4c7)]['createInstance'](_0x29baca,_0x259999,_0x4f36a7);return _0x28d124['init'](),_0x28d124;}};_0x517f54=_0x3bd9d7([_0x50f32f(0x0,_0x3d563c[_0x416c04(0x127)]),_0x50f32f(0x1,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c['Injector'])),_0x50f32f(0x2,_0x3d563c[_0x416c04(0x4d1)](_0x1b5475[_0x416c04(0x364)]))],_0x517f54);const _0x432c52=0x14,_0x2d17e2=0xc8,_0x2bc0f2=0x4,_0x3e3ae4=0x5;function _0x140d7a(_0xf48310,_0x508f08){const _0x2ee2c4=_0x416c04;let {radius:_0x4d78fa,width:_0xa33ffd,height:_0x235ccb}=_0x508f08;_0x4d78fa=_0x4d78fa!=null?_0x4d78fa:0x0,_0xa33ffd=_0xa33ffd!=null?_0xa33ffd:0x1e,_0x235ccb=_0x235ccb!=null?_0x235ccb:0x1e;let _0x40f193=0x0,_0x516555=0x0,_0x294f93=0x0;_0x40f193=_0x516555=_0x294f93=Math['min'](_0x4d78fa,_0xa33ffd/0x2,_0x235ccb/0x2),_0xf48310[_0x2ee2c4(0x6f)](),_0xf48310['moveTo'](_0x40f193,0x0),_0xf48310['lineTo'](_0xa33ffd-_0x516555,0x0),_0xf48310[_0x2ee2c4(0x1e5)](_0xa33ffd-_0x516555,_0x516555,_0x516555,Math['PI']*0x3/0x2,0x0,!0x1),_0xf48310[_0x2ee2c4(0x48f)](_0xa33ffd,_0x235ccb-_0x294f93),_0xf48310['arc'](_0xa33ffd-_0x294f93,_0x235ccb-_0x294f93,_0x294f93,0x0,Math['PI']/0x2,!0x1),_0xf48310[_0x2ee2c4(0x48f)](0x0,_0x235ccb),_0xf48310[_0x2ee2c4(0x48f)](0x0,_0x40f193),_0xf48310['arc'](_0x40f193,_0x40f193,_0x40f193,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xf48310['closePath'](),_0x508f08['fill']&&(_0xf48310[_0x2ee2c4(0x1aa)](),_0xf48310[_0x2ee2c4(0x3e4)]=_0x508f08['fill'],_0x508f08[_0x2ee2c4(0xe6)]===_0x2ee2c4(0x352)?_0xf48310['fill'](_0x2ee2c4(0x352)):_0xf48310[_0x2ee2c4(0x467)](),_0xf48310[_0x2ee2c4(0x3bc)]());}class _0x5eb41d extends _0x1c2dd3[_0x416c04(0x2ae)]{constructor(_0xcf7ad5,_0x3a9281){const _0x5196f2=_0x416c04;super(_0xcf7ad5,_0x3a9281),_0x10d0d4(this,_0x5196f2(0x45a)),_0x10d0d4(this,_0x5196f2(0x460)),(this[_0x5196f2(0x45a)]=_0x3a9281==null?void 0x0:_0x3a9281[_0x5196f2(0x45a)],this[_0x5196f2(0x460)]=_0x3a9281==null?void 0x0:_0x3a9281[_0x5196f2(0x460)]);}static[_0x416c04(0xb3)](_0x3c03d6,_0x1b778a){const _0x4385a5=_0x416c04,{text:_0x3d59f3,color:_0x2bc401}=_0x1b778a;_0x3c03d6['save'](),_0x3c03d6[_0x4385a5(0x483)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x21c115=_0x3c03d6['measureText'](_0x3d59f3)[_0x4385a5(0x240)],_0xb6ab5e=Math[_0x4385a5(0x30c)](_0x21c115+0x2*_0x2bc0f2,_0x2d17e2);_0x140d7a(_0x3c03d6,{'height':_0x432c52,'radius':0x4,'width':_0xb6ab5e,'fill':_0x2bc401,'evented':!0x1}),_0x3c03d6[_0x4385a5(0x3e4)]=_0x4385a5(0x94);const _0x2abf1d=_0x2bc0f2,_0x1f3508=_0x432c52-_0x3e3ae4,_0x24d12c=_0x2d17e2-0x2*_0x2bc0f2;if(_0x21c115>_0x24d12c){let _0x4435fe='',_0x4fb172=0x0;for(const _0x4a2ba0 of _0x3d59f3){const _0x474a43=_0x3c03d6['measureText'](_0x4a2ba0)['width'];if(_0x4fb172+_0x474a43<=_0x24d12c-_0x3c03d6[_0x4385a5(0x169)](_0x4385a5(0x452))['width'])_0x4435fe+=_0x4a2ba0,_0x4fb172+=_0x474a43;else{_0x4435fe+=_0x4385a5(0x452);break;}}_0x3c03d6[_0x4385a5(0xcf)](_0x4435fe,_0x2abf1d,_0x1f3508);}else _0x3c03d6[_0x4385a5(0xcf)](_0x3d59f3,_0x2abf1d,_0x1f3508);_0x3c03d6[_0x4385a5(0x3bc)]();}[_0x416c04(0x1c2)](_0x2b4af4){const _0x1f3fdf=_0x416c04;_0x5eb41d[_0x1f3fdf(0xb3)](_0x2b4af4,this);}}const _0x401afb=_0x416c04(0x442),_0x1b04fd=_0x416c04(0x20c),_0x91451a=_0x416c04(0x33c),_0x2679b3=0x6,_0x1168f0=1.5,_0xa181ff=0x4,_0x17a60f=1.5,_0x363d9a=_0x416c04(0x40b);class _0x44eda6{constructor(_0x65b6d9,_0x373900,_0x1055b4,_0x193232){const _0x2cbb8b=_0x416c04;_0x10d0d4(this,_0x2cbb8b(0x3fe),[]),_0x10d0d4(this,'_anchor',null),_0x10d0d4(this,_0x2cbb8b(0x113),null),_0x10d0d4(this,_0x2cbb8b(0x125),null),_0x10d0d4(this,'_hideTimer',null),_0x10d0d4(this,_0x2cbb8b(0x355),null),(this[_0x2cbb8b(0x2d6)]=_0x65b6d9,this[_0x2cbb8b(0x145)]=_0x373900,this[_0x2cbb8b(0x3db)]=_0x1055b4,this[_0x2cbb8b(0x4b7)]=_0x193232,this[_0x2cbb8b(0x97)]());}set['_hover'](_0x439a16){const _0x2be91c=_0x416c04;_0x439a16?(this[_0x2be91c(0x125)]&&this[_0x2be91c(0x125)][_0x2be91c(0x4ad)](),this[_0x2be91c(0x113)]&&this['_textBubble'][_0x2be91c(0x1a7)]()):(this[_0x2be91c(0x125)]&&this[_0x2be91c(0x125)][_0x2be91c(0x1a7)](),this[_0x2be91c(0x113)]&&this['_textBubble'][_0x2be91c(0x4ad)]());}[_0x416c04(0x516)](){const _0x2596fb=_0x416c04;for(const _0x7a883b of this[_0x2596fb(0x3fe)])_0x7a883b['dispose']();this[_0x2596fb(0x113)]&&this[_0x2596fb(0x113)][_0x2596fb(0x516)](),this['_anchorDot']&&this[_0x2596fb(0x125)][_0x2596fb(0x516)](),this['_anchor']&&this['_anchor'][_0x2596fb(0x516)](),this[_0x2596fb(0x355)]&&this[_0x2596fb(0x355)]();}[_0x416c04(0x97)](){const _0x15d90c=_0x416c04;var _0x3f98cf;const {_docSkeleton:_0x6cd54d,_document:_0x5e590c}=this,{color:_0x23af59,name:_0xf4bd05,ranges:_0x8e43af}=this[_0x15d90c(0x2d6)],_0xea5433=_0x5e590c[_0x15d90c(0xb0)](),{docsLeft:_0x8ed743,docsTop:_0x1fd07d}=_0xea5433,_0x3c0784=new _0x4212a5['NodePositionConvertToCursor'](_0xea5433,_0x6cd54d);for(const {startOffset:_0x44cd7e,endOffset:_0x5ea50d,rangeType:_0x1bc862,segmentId:_0xe71741,segmentPage:_0x34668c,collapsed:_0x27827d,isActive:_0x53b5c9}of _0x8e43af){const _0x3902ec=_0x6cd54d['findNodePositionByCharIndex'](_0x44cd7e,!0x0,_0xe71741,_0x34668c);let _0x1ccdde=_0x6cd54d[_0x15d90c(0x38e)](_0x5ea50d,!0x0,_0xe71741,_0x34668c);if(_0x1ccdde==null&&(_0x1ccdde=_0x6cd54d[_0x15d90c(0x38e)](_0x5ea50d-0x1,!0x1,_0xe71741,_0x34668c)),_0x53b5c9){const {contentBoxPointGroup:_0x1307bb}=_0x3c0784[_0x15d90c(0x4d3)](_0x1ccdde,_0x1ccdde);if(_0x1307bb[_0x15d90c(0x26a)]===0x0)continue;this['_drawAnchor'](_0x23af59,_0x1307bb,_0x8ed743,_0x1fd07d,_0xf4bd05),this[_0x15d90c(0x355)]=this[_0x15d90c(0x37e)]();}if(_0x3902ec&&_0x1ccdde){if(_0x1bc862===_0x3d563c[_0x15d90c(0x216)][_0x15d90c(0x8b)]){const _0x16b762=new _0x4212a5[(_0x15d90c(0x3ea))](_0xea5433,_0x6cd54d),{pointGroup:_0x1ceb9d}=(_0x3f98cf=_0x16b762[_0x15d90c(0x4d3)](_0x3902ec,_0x1ccdde))!=null?_0x3f98cf:{};if(_0x1ceb9d==null||_0x1ceb9d[_0x15d90c(0x26a)]===0x0)continue;this[_0x15d90c(0x120)](_0x23af59,_0x1ceb9d,_0x8ed743,_0x1fd07d);}else{if(!_0x27827d){const {borderBoxPointGroup:_0x2209d5}=_0x3c0784[_0x15d90c(0x4d3)](_0x3902ec,_0x1ccdde);if(_0x2209d5[_0x15d90c(0x26a)]===0x0)continue;this[_0x15d90c(0x50a)](_0x23af59,_0x2209d5,_0x8ed743,_0x1fd07d);}}}}}[_0x416c04(0x4fb)](_0xbe84a1,_0x38dbbe,_0x2c49dd,_0x5e8716,_0xe2e279){const _0x477554=_0x416c04,_0x92193f=this[_0x477554(0x132)](_0x38dbbe),{left:_0x3ad6ee,top:_0x1f2d8b,height:_0x3693bd}=_0x92193f,_0x4062de=this[_0x477554(0x19d)](),_0x234619=_0x17a60f/_0x4062de,_0x54eb28=new _0x1c2dd3[(_0x477554(0x1a8))](_0x401afb+_0x3d563c[_0x477554(0x270)]['generateRandomId'](_0x2679b3),{'left':_0x3ad6ee+_0x2c49dd-_0x234619,'top':_0x1f2d8b+_0x5e8716,'height':_0x3693bd,'width':_0x1168f0,'fill':_0xbe84a1||_0x1c2dd3[_0x477554(0x1df)](_0x3d563c[_0x477554(0x3e5)][_0x477554(0xfd)],0x0),'strokeWidth':_0x234619,'stroke':_0x363d9a,'evented':!0x0});this[_0x477554(0x1a0)]=_0x54eb28,this[_0x477554(0x145)][_0x477554(0x2a4)](_0x54eb28,_0x4212a5['TEXT_RANGE_LAYER_INDEX']);const _0x2fee78=new _0x1c2dd3[(_0x477554(0x1a8))](_0x401afb+_0x3d563c[_0x477554(0x270)][_0x477554(0x517)](_0x2679b3),{'left':_0x3ad6ee+_0x2c49dd-_0x234619,'top':_0x1f2d8b+_0x5e8716-_0xa181ff/0x2,'height':_0xa181ff,'width':_0xa181ff,'fill':_0xbe84a1||_0x1c2dd3[_0x477554(0x1df)](_0x3d563c[_0x477554(0x3e5)][_0x477554(0xfd)],0x0),'strokeWidth':0x0,'stroke':_0xbe84a1||_0x1c2dd3[_0x477554(0x1df)](_0x3d563c[_0x477554(0x3e5)][_0x477554(0xfd)],0x0),'evented':!0x1});this[_0x477554(0x125)]=_0x2fee78,this['_scene']['addObject'](_0x2fee78,_0x4212a5[_0x477554(0x18f)]);const _0x21ee99=new _0x5eb41d(_0x401afb+_0x3d563c['Tools'][_0x477554(0x517)](_0x2679b3),{'left':_0x3ad6ee+_0x2c49dd-_0x234619,'top':_0x1f2d8b+_0x5e8716-_0x432c52,'text':_0xe2e279,'color':_0xbe84a1});this['_textBubble']=_0x21ee99,this[_0x477554(0x145)]['addObject'](_0x21ee99,_0x4212a5[_0x477554(0x18f)]),this[_0x477554(0xf3)]=!0x1;}[_0x416c04(0x37e)](){const _0x165ecc=_0x416c04,_0x2d1128=this[_0x165ecc(0x1a0)][_0x165ecc(0x44d)][_0x165ecc(0x164)](()=>{const _0x112a96=_0x165ecc;this[_0x112a96(0xf3)]=!0x0;}),_0x3f8904=this['_anchor']['onPointerLeave$']['subscribeEvent'](()=>{const _0x1a44ee=_0x165ecc;this[_0x1a44ee(0x43a)]&&clearTimeout(this[_0x1a44ee(0x43a)]),this[_0x1a44ee(0x43a)]=setTimeout(()=>{const _0x4be834=_0x1a44ee;this[_0x4be834(0xf3)]=!0x1;},0x7d0);});return()=>{const _0x412974=_0x165ecc;_0x2d1128[_0x412974(0x31d)](),_0x3f8904[_0x412974(0x31d)]();};}[_0x416c04(0x50a)](_0x5aa8d5,_0x29e411,_0xaec6d1,_0x25f86a){const _0x50ab2f=_0x416c04,_0x38ecfd=new _0x3d563c['ColorKit'](_0x5aa8d5)[_0x50ab2f(0x41a)](0.2)['toRgbString'](),_0x33aaab=new _0x1c2dd3[(_0x50ab2f(0x2df))](_0x1b04fd+_0x3d563c[_0x50ab2f(0x270)][_0x50ab2f(0x517)](_0x2679b3),{'pointsGroup':_0x29e411,'fill':_0x38ecfd||_0x1c2dd3['getColor'](_0x3d563c['COLORS'][_0x50ab2f(0xfd)],0.2),'left':_0xaec6d1,'top':_0x25f86a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x50ab2f(0x3fe)][_0x50ab2f(0x1e9)](_0x33aaab),this['_scene'][_0x50ab2f(0x2a4)](_0x33aaab,_0x4212a5[_0x50ab2f(0x18f)]);}[_0x416c04(0x120)](_0x3630d9,_0x22d325,_0x49e386,_0x44880e){const _0x4438f0=_0x416c04,_0x289fe1=new _0x3d563c[(_0x4438f0(0x1dd))](_0x3630d9)[_0x4438f0(0x41a)](0.2)['toRgbString'](),_0x5a336d=new _0x1c2dd3['RegularPolygon'](_0x91451a+_0x3d563c[_0x4438f0(0x270)][_0x4438f0(0x517)](_0x2679b3),{'pointsGroup':_0x22d325,'fill':_0x289fe1||_0x1c2dd3['getColor'](_0x3d563c[_0x4438f0(0x3e5)][_0x4438f0(0xfd)],0.2),'left':_0x49e386,'top':_0x44880e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4438f0(0x3fe)][_0x4438f0(0x1e9)](_0x5a336d),this['_scene'][_0x4438f0(0x2a4)](_0x5a336d,_0x4212a5[_0x4438f0(0x18f)]);}[_0x416c04(0x132)](_0x334d1a){const _0x55fb65=_0x334d1a[0x0],_0x3ad435=_0x55fb65[0x0],_0x1dda0b=_0x55fb65[0x2],{x:_0x593f77,y:_0x6bf162}=_0x3ad435,{x:_0x5253a8,y:_0x165fba}=_0x1dda0b;return{'left':_0x593f77,'top':_0x6bf162,'width':_0x5253a8-_0x593f77,'height':_0x165fba-_0x6bf162};}[_0x416c04(0x19d)](){const _0x5d6a5e=_0x416c04,{scaleX:_0x288cf8,scaleY:_0x6a1147}=this[_0x5d6a5e(0x145)][_0x5d6a5e(0x223)]();return Math[_0x5d6a5e(0x1f2)](_0x288cf8,_0x6a1147);}}var _0x241917=Object[_0x416c04(0x2e4)],_0x4f3506=Object[_0x416c04(0x4e2)],_0x4f37a7=(_0xd96ed8,_0x58a264,_0x3ca385,_0xbf2fea)=>{for(var _0x218b35=_0xbf2fea>0x1?void 0x0:_0xbf2fea?_0x4f3506(_0x58a264,_0x3ca385):_0x58a264,_0x294a7d=_0xd96ed8['length']-0x1,_0x290784;_0x294a7d>=0x0;_0x294a7d--)(_0x290784=_0xd96ed8[_0x294a7d])&&(_0x218b35=(_0xbf2fea?_0x290784(_0x58a264,_0x3ca385,_0x218b35):_0x290784(_0x218b35))||_0x218b35);return _0xbf2fea&&_0x218b35&&_0x241917(_0x58a264,_0x3ca385,_0x218b35),_0x218b35;},_0x3f0cc0=(_0x5c8d6f,_0x1d7863)=>(_0x32cc18,_0x1a619b)=>_0x1d7863(_0x32cc18,_0x1a619b,_0x5c8d6f);let _0x30e8cf=class extends _0x3d563c[_0x416c04(0x9b)]{constructor(_0x45778c,_0x1dc5b4,_0x5b6bca,_0x5580f3,_0x990f39){const _0x3ad7a8=_0x416c04;super(),_0x10d0d4(this,'_cursorShapes',[]),_0x10d0d4(this,'_cursors',[]),(this[_0x3ad7a8(0x1ea)]=_0x45778c,this[_0x3ad7a8(0x271)]=_0x1dc5b4,this['_collabCursorController']=_0x5b6bca,this[_0x3ad7a8(0x3ac)]=_0x5580f3,this[_0x3ad7a8(0x375)]=_0x990f39,this[_0x3ad7a8(0x2b1)]());}['_init'](){const _0x401d6e=_0x416c04,_0x3500c6=this[_0x401d6e(0x1ea)][_0x401d6e(0x425)],_0xe981ce=this[_0x401d6e(0x271)];this[_0x401d6e(0x4e9)](_0x10d074[_0x401d6e(0x436)]([this[_0x401d6e(0x204)][_0x401d6e(0x1db)](_0x3500c6),this[_0x401d6e(0x375)][_0x401d6e(0x4b2)]])[_0x401d6e(0x123)](_0x2da86d[_0x401d6e(0x2b8)](([_0x571049,_0x356c30])=>({'skeleton':_0xe981ce[_0x401d6e(0x528)](),'cursors':[..._0x571049[_0x401d6e(0x4c8)]()][_0x401d6e(0x7f)](_0x5dc9ce=>({..._0x5dc9ce,'color':_0x356c30[_0x5dc9ce['color']]}))})))[_0x401d6e(0x31f)](_0x1ce3d4=>{const _0x16ebb5=_0x401d6e;if(this[_0x16ebb5(0x170)](),_0x1ce3d4){const {skeleton:_0x33493d,cursors:_0x27dc78}=_0x1ce3d4;this['_updateCollabCursors'](_0x33493d,_0x27dc78);}})),this['_initResize'](),this[_0x401d6e(0x13b)]();}['_updateCollabCursors'](_0x3b1dd5,_0x1889a0){const _0x1a5f87=_0x416c04,{scene:_0x2533a6,mainComponent:_0x52931a}=this[_0x1a5f87(0x1ea)],_0x18787b=_0x1889a0[_0x1a5f87(0x2b8)](_0x39ff29=>new _0x44eda6(_0x39ff29,_0x2533a6,_0x3b1dd5,_0x52931a));this[_0x1a5f87(0x2b0)]=_0x18787b,this[_0x1a5f87(0x4df)]=_0x1889a0;}[_0x416c04(0x41b)](){const _0x262e81=_0x416c04;this[_0x262e81(0x170)]();const {scene:_0xf76b09,mainComponent:_0x113aa6}=this[_0x262e81(0x1ea)],_0x32e624=this[_0x262e81(0x271)][_0x262e81(0x528)](),_0x96b529=this['_cursors'][_0x262e81(0x2b8)](_0x378fb7=>new _0x44eda6(_0x378fb7,_0xf76b09,_0x32e624,_0x113aa6));this[_0x262e81(0x2b0)]=_0x96b529;}[_0x416c04(0x170)](){const _0x5b8fc4=_0x416c04;this[_0x5b8fc4(0x2b0)][_0x5b8fc4(0x124)](_0x4a8f5f=>_0x4a8f5f['dispose']()),this[_0x5b8fc4(0x2b0)]=[];}[_0x416c04(0x13b)](){const _0x4ed0b0=_0x416c04,_0x5c29d3=[_0x4212a5[_0x4ed0b0(0x315)]['id']];this[_0x4ed0b0(0x4e9)](this[_0x4ed0b0(0x3ac)][_0x4ed0b0(0x254)](_0x43a3ea=>{const _0x297c62=_0x4ed0b0;_0x5c29d3[_0x297c62(0x26f)](_0x43a3ea['id'])&&_0x43a3ea[_0x297c62(0x402)][_0x297c62(0x425)]===this[_0x297c62(0x1ea)]['unitId']&&this[_0x297c62(0x41b)]();}));}['_initResize'](){const _0x1401cc=_0x416c04;this[_0x1401cc(0x4e9)](_0x3d563c[_0x1401cc(0x1fb)](this['_context'][_0x1401cc(0x519)]['onTransformChange$'])['pipe'](_0x2da86d[_0x1401cc(0x1e6)](_0x59887a=>_0x59887a[_0x1401cc(0x6e)]===_0x1c2dd3[_0x1401cc(0x3dc)]['resize']),_0x2da86d[_0x1401cc(0x432)](0x10))[_0x1401cc(0x31f)](()=>{const _0x5f3341=_0x1401cc;this[_0x5f3341(0x41b)]();}));}};_0x30e8cf=_0x4f37a7([_0x3f0cc0(0x1,_0x3d563c['Inject'](_0x2fb3a7['DocSkeletonManagerService'])),_0x3f0cc0(0x2,_0x3d563c['Inject'](_0x517f54)),_0x3f0cc0(0x3,_0x3d563c[_0x416c04(0x3e8)]),_0x3f0cc0(0x4,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c[_0x416c04(0x28d)]))],_0x30e8cf);const _0x24d35b=0x1,_0x411b10=1.5;class _0x4102ba extends _0x1c2dd3['Shape']{constructor(_0x21414f,_0x1e9633){const _0x2ff1d8=_0x416c04;super(_0x21414f,_0x1e9633),_0x10d0d4(this,'_color'),_0x10d0d4(this,_0x2ff1d8(0x255),!0x1),_0x10d0d4(this,_0x2ff1d8(0xab)),_0x10d0d4(this,'_name',''),_0x10d0d4(this,_0x2ff1d8(0x39b),_0x2ff1d8(0xed)),_0x10d0d4(this,_0x2ff1d8(0x1b6)),(_0x1e9633&&this[_0x2ff1d8(0x532)](_0x1e9633),this[_0x2ff1d8(0x44d)][_0x2ff1d8(0x164)](()=>this[_0x2ff1d8(0x532)]({'hovered':!0x0})),this[_0x2ff1d8(0x47b)][_0x2ff1d8(0x164)](()=>this[_0x2ff1d8(0x532)]({'hovered':!0x1})));}[_0x416c04(0x532)](_0x19696b){const _0x4d4147=_0x416c04;var _0x2a5dee,_0x3d2cbf,_0xa1fa9b,_0xfb1c5,_0x1f90ca,_0x4fbdad;this['_color']=(_0x2a5dee=_0x19696b[_0x4d4147(0x45a)])!=null?_0x2a5dee:this[_0x4d4147(0x126)],this[_0x4d4147(0x255)]=(_0x3d2cbf=_0x19696b[_0x4d4147(0x370)])!=null?_0x3d2cbf:this[_0x4d4147(0x255)],this[_0x4d4147(0xab)]=(_0xa1fa9b=_0x19696b['range'])!=null?_0xa1fa9b:this[_0x4d4147(0xab)],this['_name']=(_0xfb1c5=_0x19696b[_0x4d4147(0x241)])!=null?_0xfb1c5:this[_0x4d4147(0x527)],this[_0x4d4147(0x39b)]=(_0x1f90ca=_0x19696b[_0x4d4147(0x224)])!=null?_0x1f90ca:this['_labelPosition'],this[_0x4d4147(0x1b6)]=(_0x4fbdad=_0x19696b[_0x4d4147(0x431)])!=null?_0x4fbdad:this[_0x4d4147(0x1b6)],this[_0x4d4147(0x193)]({'width':_0x19696b[_0x4d4147(0x240)],'height':_0x19696b[_0x4d4147(0xb9)]});}[_0x416c04(0x156)](_0x10ea93){const _0x16c9fb=_0x416c04,{row:_0x294225,column:_0x10d81f}=_0x10ea93;if(_0x294225>=this['_range'][_0x16c9fb(0x377)]&&_0x294225<=this[_0x16c9fb(0xab)][_0x16c9fb(0x18a)]&&_0x10d81f>=this['_range'][_0x16c9fb(0x401)]&&_0x10d81f<=this[_0x16c9fb(0xab)][_0x16c9fb(0x188)]){this[_0x16c9fb(0x532)]({'hovered':!0x0});return;}this[_0x16c9fb(0x532)]({'hovered':!0x1});}[_0x416c04(0x3ce)](_0x4cb5df){return!0x1;}[_0x416c04(0x1c2)](_0x2dd965){const _0xa2210b=_0x416c04;_0x1c2dd3[_0xa2210b(0x1a8)]['drawWith'](_0x2dd965,{'width':this[_0xa2210b(0x240)],'height':this['height'],'strokeWidth':_0x411b10,'stroke':this['_color'],'evented':!0x1,'fill':this[_0xa2210b(0x1b6)]}),this[_0xa2210b(0x255)]&&(_0x2dd965['save'](),_0x2dd965[_0xa2210b(0x1b4)](0x1,0x0,0x0,0x1,this['width'],this[_0xa2210b(0x39b)]==='bottom'?0x0:-_0x432c52),_0x5eb41d[_0xa2210b(0xb3)](_0x2dd965,{'text':this[_0xa2210b(0x527)],'color':this[_0xa2210b(0x126)]}),_0x2dd965['restore']());}}var _0x3f307e=Object['defineProperty'],_0x29d2a7=Object[_0x416c04(0x4e2)],_0x20c4ba=(_0x343f0f,_0xec644e,_0xeb4134,_0x232d82)=>{const _0x4ac163=_0x416c04;for(var _0x569e2b=_0x232d82>0x1?void 0x0:_0x232d82?_0x29d2a7(_0xec644e,_0xeb4134):_0xec644e,_0x235a11=_0x343f0f[_0x4ac163(0x26a)]-0x1,_0x2bb1be;_0x235a11>=0x0;_0x235a11--)(_0x2bb1be=_0x343f0f[_0x235a11])&&(_0x569e2b=(_0x232d82?_0x2bb1be(_0xec644e,_0xeb4134,_0x569e2b):_0x2bb1be(_0x569e2b))||_0x569e2b);return _0x232d82&&_0x569e2b&&_0x3f307e(_0xec644e,_0xeb4134,_0x569e2b),_0x569e2b;},_0x1baf8f=(_0x2681c3,_0x4096af)=>(_0x3dd038,_0x28e644)=>_0x4096af(_0x3dd038,_0x28e644,_0x2681c3);const _0x4c19ed=0x1389;let _0xb09171=class extends _0x3d563c[_0x416c04(0x9b)]{constructor(_0x1aec34,_0x512a1f,_0x1b77d7,_0x3967d3){const _0x36e0c9=_0x416c04;super(),_0x10d0d4(this,_0x36e0c9(0x4df),new Set()),_0x10d0d4(this,_0x36e0c9(0x439),null),(this[_0x36e0c9(0x1ea)]=_0x1aec34,this[_0x36e0c9(0x3aa)]=_0x512a1f,this[_0x36e0c9(0x204)]=_0x1b77d7,this[_0x36e0c9(0x375)]=_0x3967d3,this[_0x36e0c9(0x2b1)]());}[_0x416c04(0x2b1)](){const _0x5de922=_0x416c04;this[_0x5de922(0x3aa)][_0x5de922(0x150)][_0x5de922(0x123)](_0x2da86d[_0x5de922(0x288)](this[_0x5de922(0x2a9)]),_0x2da86d[_0x5de922(0x36f)](_0x1612d9=>{const _0x29c040=_0x5de922;if(_0x1612d9){const _0x5e3003=_0x1612d9[_0x29c040(0x416)];return _0x10d074['combineLatest'](this['_collabCursorController']['getCollabCursors$'](this[_0x29c040(0x1ea)][_0x29c040(0x425)]),this['_themeService']['currentTheme$'])['pipe'](_0x2da86d[_0x29c040(0x2b8)](([_0x185c6b,_0x1e3b66])=>{const _0x1b4342=new Map();return _0x185c6b['forEach']((_0x4c16fa,_0x11f41b)=>{const _0x24197e=_0x3e32;if(_0x4c16fa[_0x24197e(0x30b)]===_0x5e3003){const _0x30b982={..._0x4c16fa};_0x30b982['color']=_0x1e3b66[_0x4c16fa[_0x24197e(0x45a)]],_0x1b4342['set'](_0x11f41b,_0x30b982);}}),{'skeleton':_0x1612d9,'cursors':_0x1b4342};}));}return _0x10d074['of']({'skeleton':null,'cursors':new Map()});}))[_0x5de922(0x31f)](({skeleton:_0x959195,cursors:_0xa5e33b})=>{const _0x88eeac=_0x5de922;this[_0x88eeac(0x170)](),_0x959195&&this['_updateCollabCursors'](_0x959195,_0xa5e33b);}),this['_sheetSkeletonManagerService'][_0x5de922(0x150)][_0x5de922(0x31f)](_0x9e15ac=>{const _0x990876=_0x5de922;if(_0x9e15ac==null)return;const {skeleton:_0x3d5820}=_0x9e15ac,{scene:_0x2a6b96}=this[_0x990876(0x1ea)];_0x2a6b96[_0x990876(0x382)][_0x990876(0x164)](_0x3d563c[_0x990876(0x45f)](_0x2676a5=>{const _0xa4c4a1=_0x990876;var _0x3769d9,_0x180869;const {offsetX:_0x416297,offsetY:_0x3ab736}=_0x2676a5,{x:_0x41a7c4,y:_0x3d5809}=_0x2a6b96['getRelativeToViewportCoord'](_0x1c2dd3[_0xa4c4a1(0x2f7)][_0xa4c4a1(0x2a8)]([_0x416297,_0x3ab736])),{scaleX:_0x5bb33f,scaleY:_0x27be4c}=_0x2a6b96[_0xa4c4a1(0x223)](),_0xee8228=_0x2a6b96[_0xa4c4a1(0xe2)](_0x17ef8a[_0xa4c4a1(0x197)]['VIEW_MAIN']),_0x11199d=_0x2a6b96[_0xa4c4a1(0x14a)](_0x1c2dd3['Vector2'][_0xa4c4a1(0x2a8)]([_0x41a7c4,_0x3d5809]),_0xee8228),_0xc39282=_0x3d5820['getCellPositionByOffset'](_0x416297,_0x3ab736,_0x5bb33f,_0x27be4c,_0x11199d);((_0x3769d9=this[_0xa4c4a1(0x439)])==null?void 0x0:_0x3769d9[_0xa4c4a1(0xc4)])===_0xc39282['column']&&((_0x180869=this[_0xa4c4a1(0x439)])==null?void 0x0:_0x180869[_0xa4c4a1(0x415)])===_0xc39282[_0xa4c4a1(0x415)]||this[_0xa4c4a1(0x4df)][_0xa4c4a1(0x124)](_0x1b35a0=>{const _0x46e59b=_0xa4c4a1;_0x1b35a0[_0x46e59b(0x156)](_0xc39282);});},0x64));});}[_0x416c04(0xd8)](_0x1dcd9d,_0x2f2dd2){const _0x2cf8a7=_0x416c04;var _0x35c3d9;const _0x3548cc=(_0x35c3d9=this['_sheetSkeletonManagerService'][_0x2cf8a7(0x38a)]())==null?void 0x0:_0x35c3d9[_0x2cf8a7(0x383)];if(!_0x3548cc)return;const _0x352e51=this[_0x2cf8a7(0x350)]();if(!_0x352e51)return;this[_0x2cf8a7(0x4df)][_0x2cf8a7(0x124)](_0x5ed52e=>{_0x5ed52e['makeDirty']();});const {scene:_0x8175c9}=_0x352e51,_0x3ec9d0=_0x105676(Array[_0x2cf8a7(0x34d)](_0x2f2dd2['values']()))[_0x2cf8a7(0x2b8)](_0x3a229f=>{const _0x42356f=_0x2cf8a7,{color:_0x4d387d,range:_0x4bc213,name:_0x1bf521,selection:_0x3177e6,sheetID:_0x4a03b1}=_0x3a229f,{startColumn:_0x28754a,startRow:_0x5b3ff6,endColumn:_0x5f4f44,endRow:_0xfdb6a5}=_0x4bc213,_0x531dee=_0x17ef8a[_0x42356f(0x2ea)](_0x5b3ff6,_0x28754a,_0x8175c9,_0x3548cc),_0x1b8ea3=_0x17ef8a[_0x42356f(0x2ea)](_0xfdb6a5,_0x5f4f44,_0x8175c9,_0x3548cc),{columnHeaderHeightAndMarginTop:_0x578b29}=_0x3548cc,{startX:_0x52d4ab,startY:_0x3922a4}=_0x531dee,{endX:_0x4e41f7,endY:_0x5855aa}=_0x1b8ea3,_0x1559bf=_0x4e41f7-_0x52d4ab,_0x27c1fc=_0x5855aa-_0x3922a4,_0x5105c9={'labelPosition':_0x3922a4-_0x578b29>=_0x432c52?_0x42356f(0xed):_0x42356f(0x391),'sheetID':_0x4a03b1,'range':_0x4bc213,'color':_0x4d387d,'name':_0x1bf521,'selection':_0x3177e6,'left':_0x52d4ab,'top':_0x3922a4,'width':_0x1559bf,'height':_0x27c1fc,'evented':!0x1,'zIndex':_0x4c19ed};return new _0x4102ba(_0x1bf521,_0x5105c9);});_0x8175c9[_0x2cf8a7(0x18b)](_0x3ec9d0,_0x24d35b),this['_cursors']=new Set(_0x3ec9d0);}[_0x416c04(0x170)](){const _0x15a382=_0x416c04;var _0x197835;(_0x197835=this[_0x15a382(0x4df)])==null||_0x197835[_0x15a382(0x124)](_0x30204b=>_0x30204b[_0x15a382(0x516)]());}['_getSheetObject'](){const _0x362832=_0x416c04;return _0x17ef8a['getSheetObject'](this[_0x362832(0x1ea)][_0x362832(0x21f)],this[_0x362832(0x1ea)]);}};_0xb09171=_0x20c4ba([_0x1baf8f(0x1,_0x3d563c[_0x416c04(0x4d1)](_0x17ef8a['SheetSkeletonManagerService'])),_0x1baf8f(0x2,_0x3d563c['Inject'](_0x517f54)),_0x1baf8f(0x3,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c['ThemeService']))],_0xb09171);function _0x105676(_0x5f2de1){const _0x52c2c6=_0x416c04,_0x167943=new Map();return _0x5f2de1[_0x52c2c6(0x124)](_0x2e9dda=>{const _0x40a244=_0x52c2c6;if(_0x167943[_0x40a244(0x6c)](_0x2e9dda[_0x40a244(0x107)])){const _0x1ea1bd=_0x167943[_0x40a244(0x529)](_0x2e9dda['selection']);_0x1ea1bd[_0x40a244(0x241)]+=',\x20'+_0x2e9dda[_0x40a244(0x241)];}else _0x167943[_0x40a244(0x4ce)](_0x2e9dda[_0x40a244(0x107)],_0x2e9dda);}),Array['from'](_0x167943[_0x52c2c6(0x4c8)]());}var _0x51aa03=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x1e31b9(_0x4d204c){const _0x3b6639=_0x416c04;return _0x4d204c&&_0x4d204c['__esModule']&&Object[_0x3b6639(0x413)][_0x3b6639(0x21b)][_0x3b6639(0x2eb)](_0x4d204c,_0x3b6639(0x1d1))?_0x4d204c['default']:_0x4d204c;}var _0x49be57={'exports':{}},_0x1f4995={},_0x319a4a=_0x36973f,_0x51dffb=Symbol[_0x416c04(0x296)]('react.element'),_0x20b5a8=Symbol[_0x416c04(0x296)](_0x416c04(0x505)),_0x1f8c86=Object['prototype']['hasOwnProperty'],_0x259166=_0x319a4a[_0x416c04(0xb6)][_0x416c04(0xc2)],_0x23fa38={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x877f30(_0x16a01c,_0x3d2103,_0x2ced72){const _0x59ed73=_0x416c04;var _0xf20c7c,_0x2c10ca={},_0x126bd4=null,_0xcc5866=null;_0x2ced72!==void 0x0&&(_0x126bd4=''+_0x2ced72),_0x3d2103[_0x59ed73(0x219)]!==void 0x0&&(_0x126bd4=''+_0x3d2103[_0x59ed73(0x219)]),_0x3d2103[_0x59ed73(0x2e3)]!==void 0x0&&(_0xcc5866=_0x3d2103[_0x59ed73(0x2e3)]);for(_0xf20c7c in _0x3d2103)_0x1f8c86['call'](_0x3d2103,_0xf20c7c)&&!_0x23fa38['hasOwnProperty'](_0xf20c7c)&&(_0x2c10ca[_0xf20c7c]=_0x3d2103[_0xf20c7c]);if(_0x16a01c&&_0x16a01c[_0x59ed73(0x526)]){for(_0xf20c7c in(_0x3d2103=_0x16a01c[_0x59ed73(0x526)],_0x3d2103))_0x2c10ca[_0xf20c7c]===void 0x0&&(_0x2c10ca[_0xf20c7c]=_0x3d2103[_0xf20c7c]);}return{'$$typeof':_0x51dffb,'type':_0x16a01c,'key':_0x126bd4,'ref':_0xcc5866,'props':_0x2c10ca,'_owner':_0x259166[_0x59ed73(0x232)]};}_0x1f4995[_0x416c04(0x183)]=_0x20b5a8,_0x1f4995['jsx']=_0x877f30,_0x1f4995[_0x416c04(0x2be)]=_0x877f30,_0x49be57[_0x416c04(0x1a3)]=_0x1f4995;var _0x4cab12=_0x49be57[_0x416c04(0x1a3)],_0x5af45a=function(){const _0x4c410a=_0x416c04;return _0x5af45a=Object['assign']||function(_0x3b9609){const _0x335b24=_0x3e32;for(var _0x354ac7,_0x4e39c7=0x1,_0x2fe02d=arguments['length'];_0x4e39c7<_0x2fe02d;_0x4e39c7++){_0x354ac7=arguments[_0x4e39c7];for(var _0x4f172a in _0x354ac7)Object[_0x335b24(0x413)]['hasOwnProperty']['call'](_0x354ac7,_0x4f172a)&&(_0x3b9609[_0x4f172a]=_0x354ac7[_0x4f172a]);}return _0x3b9609;},_0x5af45a[_0x4c410a(0x2e7)](this,arguments);},_0x2d79fe=function(_0x538b74,_0x34e94f){const _0x1c6416=_0x416c04;var _0x30c793={};for(var _0x10af16 in _0x538b74)Object[_0x1c6416(0x413)][_0x1c6416(0x21b)][_0x1c6416(0x2eb)](_0x538b74,_0x10af16)&&_0x34e94f[_0x1c6416(0x4bc)](_0x10af16)<0x0&&(_0x30c793[_0x10af16]=_0x538b74[_0x10af16]);if(_0x538b74!=null&&typeof Object[_0x1c6416(0x4c1)]==_0x1c6416(0x2ca)){for(var _0x4e1949=0x0,_0x10af16=Object[_0x1c6416(0x4c1)](_0x538b74);_0x4e1949<_0x10af16['length'];_0x4e1949++)_0x34e94f['indexOf'](_0x10af16[_0x4e1949])<0x0&&Object['prototype'][_0x1c6416(0x12f)][_0x1c6416(0x2eb)](_0x538b74,_0x10af16[_0x4e1949])&&(_0x30c793[_0x10af16[_0x4e1949]]=_0x538b74[_0x10af16[_0x4e1949]]);}return _0x30c793;},_0x22c456=_0x36973f[_0x416c04(0x3b8)](function(_0x5d4b93,_0x289177){const _0x2af2a6=_0x416c04;var _0x3338f5=_0x5d4b93[_0x2af2a6(0x16e)],_0x7c4d87=_0x5d4b93['id'],_0x520a22=_0x5d4b93[_0x2af2a6(0x286)],_0x3c739b=_0x5d4b93[_0x2af2a6(0x50d)],_0x1f24b2=_0x2d79fe(_0x5d4b93,['icon','id','className',_0x2af2a6(0x50d)]),_0x3b2df9=_0x2af2a6(0x157)[_0x2af2a6(0x4af)](_0x7c4d87,'\x20')[_0x2af2a6(0x4af)](_0x520a22||'')[_0x2af2a6(0x329)](),_0x47d967=_0x36973f['useRef']('_'[_0x2af2a6(0x4af)](_0xdf9310()));return _0x20a7d9(_0x3338f5,''['concat'](_0x7c4d87),{'defIds':_0x3338f5[_0x2af2a6(0x102)],'idSuffix':_0x47d967[_0x2af2a6(0x232)]},_0x5af45a({'ref':_0x289177,'className':_0x3b2df9},_0x1f24b2),_0x3c739b);});function _0x20a7d9(_0x495b14,_0xb5b3ef,_0x2134c3,_0x2d3471,_0x89633c){const _0x29e1de=_0x416c04;return _0x36973f[_0x29e1de(0x28b)](_0x495b14[_0x29e1de(0x181)],_0x5af45a(_0x5af45a({'key':_0xb5b3ef},_0x52292c(_0x495b14,_0x2134c3,_0x89633c)),_0x2d3471),(_0x51a4c8(_0x495b14,_0x2134c3)[_0x29e1de(0x2fa)]||[])[_0x29e1de(0x2b8)](function(_0x28ebd0,_0x297f81){const _0x570206=_0x29e1de;return _0x20a7d9(_0x28ebd0,''[_0x570206(0x4af)](_0xb5b3ef,'-')['concat'](_0x495b14[_0x570206(0x181)],'-')[_0x570206(0x4af)](_0x297f81),_0x2134c3,void 0x0,_0x89633c);}));}function _0x52292c(_0x24ec81,_0xd7009a,_0x1dcb01){const _0x4233df=_0x416c04;var _0x10ac37=_0x5af45a({},_0x24ec81[_0x4233df(0x4d7)]);_0x1dcb01!=null&&_0x1dcb01[_0x4233df(0x23f)]&&_0x10ac37[_0x4233df(0x467)]===_0x4233df(0x23f)&&(_0x10ac37[_0x4233df(0x467)]=_0x1dcb01[_0x4233df(0x23f)]);var _0x3a5c81=_0xd7009a[_0x4233df(0x102)];return!_0x3a5c81||_0x3a5c81[_0x4233df(0x26a)]===0x0||(_0x24ec81['tag']==='use'&&_0x10ac37[_0x4233df(0x4bd)]&&(_0x10ac37[_0x4233df(0x4bd)]=_0x10ac37['xlink:href']+_0xd7009a[_0x4233df(0x43b)]),Object['entries'](_0x10ac37)[_0x4233df(0x124)](function(_0x59a35d){const _0x27f643=_0x4233df;var _0x2e0cef=_0x59a35d[0x0],_0x192105=_0x59a35d[0x1];typeof _0x192105=='string'&&(_0x10ac37[_0x2e0cef]=_0x192105[_0x27f643(0x26b)](/url\(#(.*)\)/,_0x27f643(0x347)[_0x27f643(0x4af)](_0xd7009a[_0x27f643(0x43b)],')')));})),_0x10ac37;}function _0x51a4c8(_0x43f4c6,_0x146088){const _0x749fb5=_0x416c04;var _0x4ca325,_0x39b7e3=_0x146088[_0x749fb5(0x102)];return!_0x39b7e3||_0x39b7e3[_0x749fb5(0x26a)]===0x0?_0x43f4c6:_0x43f4c6[_0x749fb5(0x181)]===_0x749fb5(0x4d2)&&(!((_0x4ca325=_0x43f4c6[_0x749fb5(0x2fa)])===null||_0x4ca325===void 0x0)&&_0x4ca325[_0x749fb5(0x26a)])?_0x5af45a(_0x5af45a({},_0x43f4c6),{'children':_0x43f4c6['children'][_0x749fb5(0x2b8)](function(_0x2b8f90){const _0x8ac345=_0x749fb5;return typeof _0x2b8f90[_0x8ac345(0x4d7)]['id']==_0x8ac345(0x10b)&&_0x39b7e3&&_0x39b7e3[_0x8ac345(0x4bc)](_0x2b8f90[_0x8ac345(0x4d7)]['id'])>-0x1?_0x5af45a(_0x5af45a({},_0x2b8f90),{'attrs':_0x5af45a(_0x5af45a({},_0x2b8f90[_0x8ac345(0x4d7)]),{'id':_0x2b8f90[_0x8ac345(0x4d7)]['id']+_0x146088['idSuffix']})}):_0x2b8f90;})}):_0x43f4c6;}function _0xdf9310(){const _0x1a3934=_0x416c04;return Math[_0x1a3934(0x194)]()[_0x1a3934(0xd0)](0x24)['substring'](0x2,0x8);}_0x22c456['displayName']=_0x416c04(0x1be);var _0x2ac431={'tag':_0x416c04(0xeb),'attrs':{'fill':'none','viewBox':_0x416c04(0x1f1),'width':_0x416c04(0x398),'height':_0x416c04(0x398)},'children':[{'tag':'g','attrs':{'clipPath':_0x416c04(0x2f5)},'children':[{'tag':_0x416c04(0x119),'attrs':{'stroke':_0x416c04(0x1fa),'d':_0x416c04(0x1ba),'strokeLinecap':_0x416c04(0x4cf),'strokeLinejoin':_0x416c04(0x4cf),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x416c04(0x11d),'attrs':{'id':_0x416c04(0x396)},'children':[{'tag':'path','attrs':{'fill':_0x416c04(0x14d),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x416c04(0x396)]},_0x5cebfd=_0x36973f[_0x416c04(0x3b8)](function(_0x5e7d88,_0x57d852){const _0x39e482=_0x416c04;return _0x36973f['createElement'](_0x22c456,Object['assign']({},_0x5e7d88,{'id':_0x39e482(0x488),'ref':_0x57d852,'icon':_0x2ac431}));});_0x5cebfd['displayName']=_0x416c04(0x495);var _0x109aa7={'tag':_0x416c04(0xeb),'attrs':{'fill':_0x416c04(0x52f),'viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x416c04(0x398)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x416c04(0x119),'attrs':{'stroke':_0x416c04(0x1fa),'d':_0x416c04(0x264),'strokeLinecap':_0x416c04(0x4cf),'strokeLinejoin':_0x416c04(0x4cf),'strokeWidth':1.2}}]},{'tag':_0x416c04(0x4d2),'attrs':{},'children':[{'tag':_0x416c04(0x11d),'attrs':{'id':_0x416c04(0x10f)},'children':[{'tag':_0x416c04(0x119),'attrs':{'fill':_0x416c04(0x14d),'d':_0x416c04(0x1fc),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0x25ab9a=_0x36973f['forwardRef'](function(_0x86013,_0x2e3c4b){const _0x131363=_0x416c04;return _0x36973f[_0x131363(0x28b)](_0x22c456,Object['assign']({},_0x86013,{'id':_0x131363(0x456),'ref':_0x2e3c4b,'icon':_0x109aa7}));});_0x25ab9a[_0x416c04(0x490)]=_0x416c04(0x4cd);function _0xc32ea1(_0x379c1c){const _0x5c6eb8=_0x416c04;var _0x549700,_0x301b73,_0x219595='';if(typeof _0x379c1c=='string'||typeof _0x379c1c==_0x5c6eb8(0x39a))_0x219595+=_0x379c1c;else{if(typeof _0x379c1c==_0x5c6eb8(0x3d7)){if(Array[_0x5c6eb8(0x408)](_0x379c1c)){var _0x235909=_0x379c1c[_0x5c6eb8(0x26a)];for(_0x549700=0x0;_0x549700<_0x235909;_0x549700++)_0x379c1c[_0x549700]&&(_0x301b73=_0xc32ea1(_0x379c1c[_0x549700]))&&(_0x219595&&(_0x219595+='\x20'),_0x219595+=_0x301b73);}else{for(_0x301b73 in _0x379c1c)_0x379c1c[_0x301b73]&&(_0x219595&&(_0x219595+='\x20'),_0x219595+=_0x301b73);}}}return _0x219595;}function _0x1ef0cb(){const _0x39d1a9=_0x416c04;for(var _0x382f5d,_0x10f2c8,_0x29b942=0x0,_0x39e381='',_0x2cf8a0=arguments[_0x39d1a9(0x26a)];_0x29b942<_0x2cf8a0;_0x29b942++)(_0x382f5d=arguments[_0x29b942])&&(_0x10f2c8=_0xc32ea1(_0x382f5d))&&(_0x39e381&&(_0x39e381+='\x20'),_0x39e381+=_0x10f2c8);return _0x39e381;}const _0x1399ee={'onlineStatusIcon':'univer-online-status-icon','onlineStatusTitle':_0x416c04(0xbe),'onlineStatus':_0x416c04(0x3a5),'online':_0x416c04(0x196),'offline':_0x416c04(0x3ae)};function _0xb2af40(_0x578f56){const _0x4f128b=_0x416c04;switch(_0x578f56){case _0x153ab4[_0x4f128b(0xcd)]:return _0x4f128b(0x134);case _0x153ab4[_0x4f128b(0x220)]:return _0x4f128b(0x15a);case _0x153ab4[_0x4f128b(0x40c)]:return _0x4f128b(0x222);case _0x153ab4[_0x4f128b(0x372)]:return _0x4f128b(0xf9);case _0x153ab4[_0x4f128b(0x1ab)]:case _0x153ab4[_0x4f128b(0x31a)]:return _0x4f128b(0x1cc);case _0x153ab4[_0x4f128b(0x34a)]:case _0x153ab4[_0x4f128b(0x3c2)]:return _0x4f128b(0x366);}}function _0x4efc39(_0x36d6e4){const _0x3e63c4=_0x416c04,{status$:_0x1134c5}=_0x36d6e4,_0x13383a=_0xe60abc[_0x3e63c4(0x476)](_0x1134c5,_0x153ab4['NOT_COLLAB']),_0x2cc9df=_0x3d563c[_0x3e63c4(0x1e1)](_0x3d563c[_0x3e63c4(0x311)]),_0xbc1987=_0x3d563c[_0x3e63c4(0x1e1)](_0x1b5475['CollaborationSessionService']),_0xaa84c3=_0x13383a!==_0x153ab4['OFFLINE'],_0x545b3a=_0x2cc9df['t'](_0xb2af40(_0x13383a)),_0x374dfb=_0x1ef0cb(_0x1399ee['onlineStatus'],{[_0x1399ee[_0x3e63c4(0xfb)]]:_0xaa84c3,[_0x1399ee[_0x3e63c4(0x23e)]]:!_0xaa84c3}),_0x419c13=_0xaa84c3?_0x4cab12[_0x3e63c4(0x167)](_0x25ab9a,{}):_0x4cab12[_0x3e63c4(0x167)](_0x5cebfd,{}),_0x18b719=_0x36973f[_0x3e63c4(0x52c)](()=>{const _0x5cfb1a=_0x3e63c4;_0xaa84c3||_0xbc1987[_0x5cfb1a(0x51a)]();},[_0xaa84c3,_0xbc1987]);function _0x5de9e1(){const _0x40aad1=_0x3e63c4;return _0x4cab12[_0x40aad1(0x2be)](_0x40aad1(0x294),{'className':_0x374dfb,'onClick':_0x18b719,'children':[_0x4cab12[_0x40aad1(0x167)](_0x40aad1(0x294),{'className':_0x1399ee[_0x40aad1(0x4c5)],'children':_0x419c13}),_0x4cab12[_0x40aad1(0x167)](_0x40aad1(0x294),{'className':_0x1399ee[_0x40aad1(0x4e7)],'children':_0x545b3a})]});}return _0xaa84c3?_0x5de9e1():_0x4cab12['jsx'](_0x4278c0['Tooltip'],{'title':_0x2cc9df['t'](_0x3e63c4(0x160)),'children':_0x5de9e1()});}var _0x4d7d3d=Object[_0x416c04(0x2e4)],_0x4316c9=Object[_0x416c04(0x4e2)],_0x1b0f3c=(_0x135eac,_0x3734a1,_0xe13ce1,_0x1eb59d)=>{const _0x4a717a=_0x416c04;for(var _0xf63bef=_0x1eb59d>0x1?void 0x0:_0x1eb59d?_0x4316c9(_0x3734a1,_0xe13ce1):_0x3734a1,_0x5da92d=_0x135eac[_0x4a717a(0x26a)]-0x1,_0x48f2b6;_0x5da92d>=0x0;_0x5da92d--)(_0x48f2b6=_0x135eac[_0x5da92d])&&(_0xf63bef=(_0x1eb59d?_0x48f2b6(_0x3734a1,_0xe13ce1,_0xf63bef):_0x48f2b6(_0xf63bef))||_0xf63bef);return _0x1eb59d&&_0xf63bef&&_0x4d7d3d(_0x3734a1,_0xe13ce1,_0xf63bef),_0xf63bef;},_0x56cd88=(_0x581502,_0x169820)=>(_0x5b2c77,_0x134cc7)=>_0x169820(_0x5b2c77,_0x134cc7,_0x581502);_0x1b5475[_0x416c04(0x305)]=class extends _0x3d563c[_0x416c04(0x9d)]{constructor(_0x40216e,_0x4a2d3a,_0xc7b926,_0x140424){const _0x2939d1=_0x416c04;super(),_0x10d0d4(this,'_status$',new _0x10d074[(_0x2939d1(0x500))](_0x153ab4[_0x2939d1(0x372)])),(this['_univerInstanceService']=_0x40216e,this['_uiPartsService']=_0x4a2d3a,this[_0x2939d1(0x4c7)]=_0xc7b926,this[_0x2939d1(0x450)]=_0x140424,this['_initStatusComponent'](),this[_0x2939d1(0x4e5)]());}['_initStatusListener'](){const _0x544fb8=_0x416c04;this[_0x544fb8(0x4e9)](this[_0x544fb8(0x468)][_0x544fb8(0x4f3)][_0x544fb8(0x123)](_0x10d074[_0x544fb8(0x36f)](()=>{const _0x4d70c1=_0x544fb8,_0x25230e=this[_0x4d70c1(0x468)][_0x4d70c1(0x9c)]();return _0x25230e?this[_0x4d70c1(0x450)][_0x4d70c1(0x365)](_0x25230e[_0x4d70c1(0x18e)]()):_0x10d074['of'](null);}),_0x10d074[_0x544fb8(0x36f)](_0x2735d8=>_0x2735d8?_0x2735d8['status$']:_0x10d074['of'](_0x153ab4[_0x544fb8(0x372)])))['subscribe'](_0x2eb675=>{const _0x5bef80=_0x544fb8;this[_0x5bef80(0x214)]['next'](_0x2eb675);}));}[_0x416c04(0x4d4)](){const _0x3f26d1=_0x416c04;this[_0x3f26d1(0x4e9)](this[_0x3f26d1(0x471)]['registerComponent'](_0xe60abc['BuiltInUIPart'][_0x3f26d1(0x40a)],()=>_0x3d563c['connectInjector'](_0x33289d({'status$':this['_status$'][_0x3f26d1(0x349)]()}),this['_injector'])));}},_0x1b5475[_0x416c04(0x305)]=_0x1b0f3c([_0x56cd88(0x0,_0x3d563c[_0x416c04(0x127)]),_0x56cd88(0x1,_0xe60abc['IUIPartsService']),_0x56cd88(0x2,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c[_0x416c04(0x25f)])),_0x56cd88(0x3,_0x3d563c[_0x416c04(0x4d1)](_0x1b5475[_0x416c04(0x1d5)]))],_0x1b5475['DesktopCollaborationStatusDisplayController']);function _0x33289d(_0x46907c){const {status$:_0x313a58}=_0x46907c;return function(){const _0x290c57=_0x3e32;return _0x4cab12[_0x290c57(0x167)](_0x4efc39,{'status$':_0x313a58});};}const _0x10948c=_0x3d563c[_0x416c04(0x32c)]('uni.network.url-service');var _0x536d54=Object[_0x416c04(0x2e4)],_0x4ded95=Object[_0x416c04(0x4e2)],_0x2c2618=(_0x592222,_0x23e285,_0x4d6705,_0x16d8c1)=>{const _0x4db4d2=_0x416c04;for(var _0x483836=_0x16d8c1>0x1?void 0x0:_0x16d8c1?_0x4ded95(_0x23e285,_0x4d6705):_0x23e285,_0x56f1db=_0x592222[_0x4db4d2(0x26a)]-0x1,_0xc2dd46;_0x56f1db>=0x0;_0x56f1db--)(_0xc2dd46=_0x592222[_0x56f1db])&&(_0x483836=(_0x16d8c1?_0xc2dd46(_0x23e285,_0x4d6705,_0x483836):_0xc2dd46(_0x483836))||_0x483836);return _0x16d8c1&&_0x483836&&_0x536d54(_0x23e285,_0x4d6705,_0x483836),_0x483836;},_0x1ff572=(_0x48c454,_0x151087)=>(_0x4e7cb4,_0x46ea05)=>_0x151087(_0x4e7cb4,_0x46ea05,_0x48c454);_0x1b5475[_0x416c04(0x525)]=class extends _0x3d563c['RxDisposable']{constructor(_0x38fd32,_0x26f09a,_0x199ffd,_0x5c51d7,_0x3bc118,_0x3f4b4b){const _0x40d32f=_0x416c04;super(),this['_urlService']=_0x38fd32,this['_logService']=_0x26f09a,this[_0x40d32f(0x3ac)]=_0x199ffd,this[_0x40d32f(0x2a0)]=_0x5c51d7,this['_snapshotService']=_0x3bc118,_0x3f4b4b?_0x3f4b4b==null||_0x3f4b4b[_0x40d32f(0x501)]()[_0x40d32f(0x262)](()=>this[_0x40d32f(0x2b1)]()):(this[_0x40d32f(0x4ff)][_0x40d32f(0x73)](_0x40d32f(0x422),_0x40d32f(0x129)),this[_0x40d32f(0x2b1)]());}async[_0x416c04(0x2b1)](){const _0x418635=_0x416c04,_0x1ad450=this[_0x418635(0xe7)][_0x418635(0x72)](_0x418635(0x21f)),_0x4a1043=this[_0x418635(0xe7)][_0x418635(0x72)](_0x418635(0x6e));if(!_0x1ad450||!_0x4a1043){this[_0x418635(0x4ff)][_0x418635(0x73)](_0x418635(0x422),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x4a1043)){case _0x2cf20e['UNIVER_SHEET']:{const _0xdd1c15=await this[_0x418635(0x292)](_0x1ad450);this[_0x418635(0xca)](_0xdd1c15);break;}case _0x2cf20e[_0x418635(0x465)]:{await this[_0x418635(0x121)](_0x1ad450);break;}default:{this[_0x418635(0x4ff)][_0x418635(0x4b1)](_0x418635(0x422),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x416c04(0xca)](_0x5b0699){const _0x1c1a82=_0x416c04;await this[_0x1c1a82(0x4d9)](_0x5b0699),_0x5b0699[_0x1c1a82(0x39d)][_0x1c1a82(0x123)](_0x10d074[_0x1c1a82(0x288)](this[_0x1c1a82(0x2a9)]))['subscribe'](_0x15194c=>{const _0xb69162=_0x1c1a82;_0x15194c&&this[_0xb69162(0xfe)](_0x15194c);}),this['_urlService'][_0x1c1a82(0x18d)][_0x1c1a82(0x123)](_0x10d074['takeUntil'](this[_0x1c1a82(0x2a9)]))[_0x1c1a82(0x31f)](()=>this[_0x1c1a82(0x4d9)](_0x5b0699));}['_updateURLWithCurrentState'](_0x1c468b,_0x460345=!0x1){const _0x34f03e=_0x416c04,_0x454008=this['_urlService'][_0x34f03e(0x72)](_0x34f03e(0x3d2));_0x1c468b[_0x34f03e(0x320)]()!==_0x454008&&this[_0x34f03e(0xe7)][_0x34f03e(0x4e6)](_0x34f03e(0x3d2),_0x1c468b[_0x34f03e(0x320)](),_0x460345);}async[_0x416c04(0x4d9)](_0x168351){const _0x4cb8d0=_0x416c04;var _0x332076;const _0x11a7c0=this[_0x4cb8d0(0xe7)]['getParam']('subunit');if(!_0x11a7c0||!_0x168351[_0x4cb8d0(0x484)](_0x11a7c0)){const _0x4100d7=_0x168351[_0x4cb8d0(0x198)]()[0x0],_0x1c8d00=_0x168351[_0x4cb8d0(0x484)](_0x4100d7);if(!_0x1c8d00)return;this[_0x4cb8d0(0xfe)](_0x1c8d00,!0x0),await this[_0x4cb8d0(0x3ac)][_0x4cb8d0(0x4dc)](_0xa13da4[_0x4cb8d0(0x42b)]['id'],{'unitId':_0x168351['getUnitId'](),'subUnitId':_0x4100d7});return;}((_0x332076=_0x168351[_0x4cb8d0(0x403)]())==null?void 0x0:_0x332076[_0x4cb8d0(0x320)]())!==_0x11a7c0&&await this[_0x4cb8d0(0x3ac)][_0x4cb8d0(0x4dc)](_0xa13da4['SetWorksheetActivateCommand']['id'],{'unitId':_0x168351[_0x4cb8d0(0x18e)](),'subUnitId':_0x11a7c0});}async[_0x416c04(0x292)](_0x29e519){const _0x4aa670=_0x416c04;let _0x418b9e=0x0;const _0x1317d5=await this[_0x4aa670(0x2a0)]['loadOfflineData'](_0x29e519);return _0x1317d5&&(_0x1317d5['awaitingChangeset']||_0x1317d5[_0x4aa670(0xa2)][_0x4aa670(0x26a)]!==0x0)&&(_0x418b9e=_0x1317d5[_0x4aa670(0xae)]),_0x418b9e===0x0&&this[_0x4aa670(0x4ff)][_0x4aa670(0x73)](_0x4aa670(0x422),_0x4aa670(0x52a)),this[_0x4aa670(0x395)]['loadSheet'](_0x29e519,_0x418b9e);}async[_0x416c04(0x121)](_0x19f161){const _0x2b44a3=_0x416c04;let _0x392d5b=0x0;const _0x45016a=await this[_0x2b44a3(0x2a0)][_0x2b44a3(0xa4)](_0x19f161);return _0x45016a&&(_0x45016a[_0x2b44a3(0x246)]||_0x45016a['mutations']['length']!==0x0)&&(_0x392d5b=_0x45016a[_0x2b44a3(0xae)]),_0x392d5b===0x0&&this[_0x2b44a3(0x4ff)][_0x2b44a3(0x73)](_0x2b44a3(0x422),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x2b44a3(0x395)][_0x2b44a3(0x36d)](_0x19f161,_0x392d5b);}},_0x1b5475[_0x416c04(0x525)]=_0x2c2618([_0x1ff572(0x0,_0x10948c),_0x1ff572(0x1,_0x3d563c[_0x416c04(0x2fd)]),_0x1ff572(0x2,_0x3d563c[_0x416c04(0x3e8)]),_0x1ff572(0x3,_0x3d563c[_0x416c04(0x4d1)](_0x1b5475[_0x416c04(0x26c)])),_0x1ff572(0x4,_0x3d563c[_0x416c04(0x4d1)](_0x520737[_0x416c04(0x14e)])),_0x1ff572(0x5,_0x3d563c['Optional'](_0x2a98ea['IRemoteInstanceService']))],_0x1b5475['DataLoaderController']);var _0x54ab51=Object[_0x416c04(0x2e4)],_0x3836f9=Object['getOwnPropertyDescriptor'],_0x4704ec=(_0x21952e,_0x277130,_0x2219c6,_0x1ed9e2)=>{const _0x452f89=_0x416c04;for(var _0x1fb360=_0x1ed9e2>0x1?void 0x0:_0x1ed9e2?_0x3836f9(_0x277130,_0x2219c6):_0x277130,_0xad497=_0x21952e[_0x452f89(0x26a)]-0x1,_0x568ce5;_0xad497>=0x0;_0xad497--)(_0x568ce5=_0x21952e[_0xad497])&&(_0x1fb360=(_0x1ed9e2?_0x568ce5(_0x277130,_0x2219c6,_0x1fb360):_0x568ce5(_0x1fb360))||_0x1fb360);return _0x1ed9e2&&_0x1fb360&&_0x54ab51(_0x277130,_0x2219c6,_0x1fb360),_0x1fb360;},_0x162871=(_0x1c8386,_0x286431)=>(_0x4f00fe,_0x348dea)=>_0x286431(_0x4f00fe,_0x348dea,_0x1c8386);const _0x100aaa=_0x416c04(0x6a),_0x10118a=_0x416c04(0x20e);let _0x20f5fc=class extends _0x3d563c[_0x416c04(0x9d)]{constructor(_0x8749fd,_0x2528af){const _0x357cdb=_0x416c04;super(),this['_univerInstanceService']=_0x8749fd,this['_configService']=_0x2528af,this[_0x357cdb(0x2b1)]();}[_0x416c04(0x2b1)](){const _0x2125b2=_0x416c04;this[_0x2125b2(0x4e9)](this['_univerInstanceService'][_0x2125b2(0x4f3)][_0x2125b2(0x31f)](()=>{const _0x26c8ce=_0x2125b2;var _0x3bf82d;const _0x2e241b=this[_0x26c8ce(0x468)][_0x26c8ce(0x9c)]();let _0x5bdb09=(_0x3bf82d=this[_0x26c8ce(0xd6)]['getConfig'](_0x100aaa))!=null?_0x3bf82d:_0x10118a;_0x2e241b instanceof _0x3d563c[_0x26c8ce(0x29a)]&&(_0x5bdb09=_0x2e241b[_0x26c8ce(0x241)]),document['title']=_0x5bdb09;}));}};_0x20f5fc=_0x4704ec([_0x162871(0x0,_0x3d563c[_0x416c04(0x127)]),_0x162871(0x1,_0x3d563c[_0x416c04(0x4f1)])],_0x20f5fc);var _0x700824=Object['defineProperty'],_0x20d0ff=Object[_0x416c04(0x4e2)],_0x3b7e53=(_0x10894b,_0x2883a8,_0x46fd66,_0x517ef2)=>{const _0x100486=_0x416c04;for(var _0x39fc98=_0x517ef2>0x1?void 0x0:_0x517ef2?_0x20d0ff(_0x2883a8,_0x46fd66):_0x2883a8,_0x14a99d=_0x10894b[_0x100486(0x26a)]-0x1,_0x2c59c4;_0x14a99d>=0x0;_0x14a99d--)(_0x2c59c4=_0x10894b[_0x14a99d])&&(_0x39fc98=(_0x517ef2?_0x2c59c4(_0x2883a8,_0x46fd66,_0x39fc98):_0x2c59c4(_0x39fc98))||_0x39fc98);return _0x517ef2&&_0x39fc98&&_0x700824(_0x2883a8,_0x46fd66,_0x39fc98),_0x39fc98;},_0x5aaf27=(_0x400a4e,_0x4229f3)=>(_0x460522,_0x3a1f1c)=>_0x4229f3(_0x460522,_0x3a1f1c,_0x400a4e);let _0x2010a8=class{constructor(_0x4822b5,_0x4c36a8,_0x2e8f48){const _0x45055a=_0x416c04;this[_0x45055a(0xd6)]=_0x4822b5,this[_0x45055a(0x4a6)]=_0x4c36a8,this[_0x45055a(0x17c)]=_0x2e8f48,this[_0x45055a(0x479)]();}[_0x416c04(0x479)](){const _0x34aec0=_0x416c04;this['_httpService'][_0x34aec0(0x22b)]({'priority':0x1,'interceptor':(_0x1ab690,_0xd1436e)=>_0xd1436e(_0x1ab690)[_0x34aec0(0x123)](_0x10d074[_0x34aec0(0x4e3)](async _0x1eba91=>{const _0x5194fd=_0x34aec0,_0x3926d5=_0x1eba91;if(_0x3926d5[_0x5194fd(0xea)]===0x191&&window[_0x5194fd(0xa8)](this[_0x5194fd(0x17c)]['t'](_0x5194fd(0xde)))){const _0x2eb32e=window[_0x5194fd(0x7a)](window['location'][_0x5194fd(0x24e)]);window[_0x5194fd(0x8a)][_0x5194fd(0x24e)]=this[_0x5194fd(0x91)]()+'?url='+_0x2eb32e;}return _0x3926d5;}))});}['_getLoginPath'](){const _0x33086a=_0x416c04;var _0xb44200,_0x324737;const _0x2d82cf=this[_0x33086a(0xd6)][_0x33086a(0x33a)](_0x2e3666),_0x5708ff=this[_0x33086a(0xd6)]['getConfig'](_0x40a44f);return(_0x324737=(_0xb44200=_0x5708ff==null?void 0x0:_0x5708ff['loginUrlKey'])!=null?_0xb44200:_0x2d82cf)!=null?_0x324737:_0x214b23;}};_0x2010a8=_0x3b7e53([_0x5aaf27(0x0,_0x3d563c[_0x416c04(0x4f1)]),_0x5aaf27(0x1,_0x3d563c[_0x416c04(0x4d1)](_0x1571b5[_0x416c04(0x4db)])),_0x5aaf27(0x2,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c['LocaleService']))],_0x2010a8);var _0x1f9968=Object[_0x416c04(0x2e4)],_0x13a519=Object['getOwnPropertyDescriptor'],_0x5299fd=(_0x122ff9,_0x23bccf,_0x1551f0,_0x4841d1)=>{const _0x3c4e9e=_0x416c04;for(var _0x45db61=_0x4841d1>0x1?void 0x0:_0x4841d1?_0x13a519(_0x23bccf,_0x1551f0):_0x23bccf,_0x48dfb4=_0x122ff9[_0x3c4e9e(0x26a)]-0x1,_0x11ec37;_0x48dfb4>=0x0;_0x48dfb4--)(_0x11ec37=_0x122ff9[_0x48dfb4])&&(_0x45db61=(_0x4841d1?_0x11ec37(_0x23bccf,_0x1551f0,_0x45db61):_0x11ec37(_0x45db61))||_0x45db61);return _0x4841d1&&_0x45db61&&_0x1f9968(_0x23bccf,_0x1551f0,_0x45db61),_0x45db61;},_0x2ed753=(_0x38b31f,_0x36fec4)=>(_0x50e209,_0x5acb54)=>_0x36fec4(_0x50e209,_0x5acb54,_0x38b31f);const _0x55bb64='AUTHZ_URL_KEY',_0x20a4e7='/universer-api/authz';_0x1b5475[_0x416c04(0x25e)]=class extends _0x3d563c[_0x416c04(0x9d)]{constructor(_0x117540,_0x1cf090){const _0x11ca5d=_0x416c04;super(),this[_0x11ca5d(0x24d)]=_0x117540,this['_configService']=_0x1cf090,this['_initMergeInterceptor']();}[_0x416c04(0x389)](){const _0x5a0a14=_0x416c04,_0x4fdc5c=this;this[_0x5a0a14(0x4e9)](this[_0x5a0a14(0x24d)][_0x5a0a14(0x22b)]({'priority':0x3e7,'interceptor':_0x1571b5[_0x5a0a14(0x2c0)]({'isMatch'(_0x270f32){const _0x4a105d=_0x5a0a14;var _0x22104f;if(_0x270f32[_0x4a105d(0xf8)]==='POST'&&((_0x22104f=_0x270f32[_0x4a105d(0x88)])!=null&&_0x22104f[_0x4a105d(0x524)])){const {objectID:_0x5581eb,objectType:_0x2ac4e3}=_0x270f32['requestParams'][_0x4a105d(0x524)]||{};if(!_0x5581eb||_0x2ac4e3===void 0x0)return!0x1;const _0x1f52ea=_0x4fdc5c[_0x4a105d(0x40d)]()+'/'+_0x2ac4e3+_0x4a105d(0x1de)+_0x5581eb+'/allowed';if(_0x270f32['url']===_0x1f52ea)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5f55f3){const _0x3c5edb=_0x5a0a14;var _0x233260;return(_0x233260=_0x5f55f3['requestParams'])==null?void 0x0:_0x233260[_0x3c5edb(0x524)];},'mergeParamsToRequest'(_0x2a8832,_0x3eaa62){const _0x5665e8=_0x5a0a14,_0x23caa2=_0x4fdc5c[_0x5665e8(0x40d)]()+_0x5665e8(0x2b9),_0x1aeaf3=_0x2a8832['reduce']((_0x47bcdf,_0x17b039)=>{const _0x2d3540=_0x5665e8,{unitID:_0x112d36,objectID:_0x2f7943,objectType:_0xebd074,actions:_0x25bf2d}=_0x17b039;return _0x47bcdf[_0x112d36]||(_0x47bcdf[_0x112d36]={}),_0x47bcdf[_0x112d36][_0x2f7943]||(_0x47bcdf[_0x112d36][_0x2f7943]={'objectID':_0x2f7943,'objectType':_0xebd074,'actions':[]}),_0x47bcdf[_0x112d36][_0x2f7943][_0x2d3540(0x344)]['push'](..._0x25bf2d),_0x47bcdf;},{}),_0x375f6f=[];for(const _0x4a7a5e in _0x1aeaf3)for(const _0x3cef58 in _0x1aeaf3[_0x4a7a5e]){const {actions:_0x26af00,objectType:_0x55a2e6}=_0x1aeaf3[_0x4a7a5e][_0x3cef58],_0x172958=[...new Set(_0x26af00)];_0x375f6f['push']({'unitID':_0x4a7a5e,'objectID':_0x3cef58,'objectType':_0x55a2e6,'actions':_0x172958});}return new _0x1571b5[(_0x5665e8(0x281))](_0x5665e8(0x149),_0x23caa2,{'headers':_0x3eaa62[_0x5665e8(0x19c)],'withCredentials':_0x3eaa62['withCredentials'],'responseType':_0x3eaa62['responseType'],'body':{'requests':_0x375f6f}});}},{'distributeResult'(_0x40d465,_0x19d983){const {objectActions:_0x3e0f1e}=_0x40d465;return _0x19d983['map'](_0xfa1ac3=>{const _0x2d1b86=_0x3e32,{unitID:_0x494a9c,objectID:_0x37acaf,actions:_0x5b6035}=_0xfa1ac3,_0x20416c=_0x3e0f1e[_0x2d1b86(0x174)](_0x404809=>_0x404809['unitID']===_0x494a9c&&_0x404809['objectID']===_0x37acaf),_0x12c224=_0x5b6035[_0x2d1b86(0x2b8)](_0x5a593b=>_0x20416c==null?void 0x0:_0x20416c[_0x2d1b86(0x344)][_0x2d1b86(0x174)](_0x1d0fe8=>_0x1d0fe8[_0x2d1b86(0x135)]===_0x5a593b))['filter'](_0x3b6717=>!!_0x3b6717);return{'config':_0xfa1ac3,'result':{'actions':_0x12c224,'error':_0x40d465[_0x2d1b86(0x4b1)]}};});}})}));}[_0x416c04(0x40d)](){const _0x5c7c68=_0x416c04;var _0x241d1d,_0x56ef44;const _0x35d82f=this[_0x5c7c68(0xd6)]['getConfig'](_0x55bb64),_0x56973f=this['_configService'][_0x5c7c68(0x33a)](_0x40a44f);return(_0x56ef44=(_0x241d1d=_0x56973f==null?void 0x0:_0x56973f['authzUrl'])!=null?_0x241d1d:_0x35d82f)!=null?_0x56ef44:_0x20a4e7;}async[_0x416c04(0x109)](_0x47b997){const _0x4b12d6=_0x416c04,_0x1bd010=this['_getAPIPrefixPath']()+'/'+_0x47b997['objectType']+_0x4b12d6(0x1f0);return(await this[_0x4b12d6(0x24d)]['post'](_0x1bd010,{'body':_0x47b997}))[_0x4b12d6(0x524)]['objectID']||'';}async[_0x416c04(0x48d)](_0x1d3aa3){const _0x24c4b3=_0x416c04,_0xd45592=this[_0x24c4b3(0x40d)]()+_0x24c4b3(0x252);return(await this['_HTTPService'][_0x24c4b3(0x3d4)](_0xd45592,{'body':_0x1d3aa3}))['body']['objects'];}async[_0x416c04(0x42c)](_0x561758){const _0x5d9c46=_0x416c04,_0xa02af0=this[_0x5d9c46(0x40d)]()+'/'+_0x561758['objectType']+_0x5d9c46(0x1de)+_0x561758[_0x5d9c46(0x493)];await this['_HTTPService']['put'](_0xa02af0,{'body':_0x561758});}async['allowed'](_0x773650){const _0x36c022=_0x416c04,_0x3fd9ad=this['_getAPIPrefixPath']()+'/'+_0x773650[_0x36c022(0x171)]+_0x36c022(0x1de)+_0x773650[_0x36c022(0x493)]+_0x36c022(0xec);return(await this[_0x36c022(0x24d)][_0x36c022(0x3d4)](_0x3fd9ad,{'body':_0x773650}))[_0x36c022(0x524)][_0x36c022(0x344)];}async[_0x416c04(0x1bb)](_0x536137){const _0x3419d6=_0x416c04,_0x1f4a51=this[_0x3419d6(0x40d)]()+'/-/object/-/batch_allowed';return(await this['_HTTPService'][_0x3419d6(0x3d4)](_0x1f4a51,{'body':{'requests':_0x536137}}))[_0x3419d6(0x524)][_0x3419d6(0x2ff)];}async['listRoles'](_0x2f9097){const _0x2d8b79=_0x416c04,_0x56473a=this[_0x2d8b79(0x40d)]()+'/'+_0x2f9097[_0x2d8b79(0x171)]+'/role',_0x9a6d33=await this[_0x2d8b79(0x24d)][_0x2d8b79(0x3d4)](_0x56473a,{'body':_0x2f9097});return{'roles':_0x9a6d33[_0x2d8b79(0x524)]['roles'],'actions':_0x9a6d33[_0x2d8b79(0x524)][_0x2d8b79(0x344)]};}async[_0x416c04(0x427)](_0x440c72){const _0x2bb1a9=_0x416c04,_0x494852=this[_0x2bb1a9(0x40d)]()+_0x2bb1a9(0x472);await this[_0x2bb1a9(0x24d)][_0x2bb1a9(0xe8)](_0x494852,{'params':{'collaboratorID':_0x440c72[_0x2bb1a9(0x530)],'objectID':_0x440c72[_0x2bb1a9(0x493)],'unitID':_0x440c72[_0x2bb1a9(0x280)]}});}async[_0x416c04(0x4c0)](_0x1c33cf){const _0x23a994=_0x416c04,_0x5cd82b=this[_0x23a994(0x40d)]()+_0x23a994(0x472);await this['_HTTPService'][_0x23a994(0x28e)](_0x5cd82b,{'body':_0x1c33cf});}async[_0x416c04(0x4a9)](_0x5d64d1){const _0x3b07b8=_0x416c04,_0x558eae=this[_0x3b07b8(0x40d)]()+'/collaborator';await this[_0x3b07b8(0x24d)][_0x3b07b8(0x3d4)](_0x558eae,{'body':_0x5d64d1});}async[_0x416c04(0xc9)](_0x10adef){const _0x129db2=_0x416c04,_0x4bbafe=this[_0x129db2(0x40d)]()+_0x129db2(0x472);return(await this[_0x129db2(0x24d)]['get'](_0x4bbafe,{'params':{'objectID':_0x10adef['objectID'],'unitID':_0x10adef[_0x129db2(0x280)]}}))[_0x129db2(0x524)][_0x129db2(0xd2)];}async[_0x416c04(0x225)](_0x50ba9c){const _0x2afdc0=_0x416c04,_0x5d5c6d=this[_0x2afdc0(0x40d)]()+'/collaborator';await this[_0x2afdc0(0x24d)]['put'](_0x5d5c6d,{'body':_0x50ba9c});}},_0x1b5475[_0x416c04(0x25e)]=_0x5299fd([_0x2ed753(0x0,_0x3d563c[_0x416c04(0x4d1)](_0x1571b5[_0x416c04(0x4db)])),_0x2ed753(0x1,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c['IConfigService']))],_0x1b5475[_0x416c04(0x25e)]);var _0x11f098={'exports':{}};function _0x1b9425(_0x280fe2){const _0x956326=_0x416c04;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x280fe2+_0x956326(0x343));}var _0x539d19={'exports':{}},_0x413c08;function _0x114f16(){const _0x2306b8=_0x416c04;return _0x413c08||(_0x413c08=0x1,function(_0x13f0da,_0x435e27){(function(_0x1b85be,_0x417f8a){const _0x1cbb5e=_0x3e32;_0x13f0da[_0x1cbb5e(0x1a3)]=_0x417f8a();}(_0x51aa03,function(){var _0x4db180=_0x4db180||function(_0x4e7c41,_0x545698){const _0x20a979=_0x3e32;var _0x535c0c;if(typeof window<'u'&&window[_0x20a979(0x1a6)]&&(_0x535c0c=window['crypto']),typeof self<'u'&&self[_0x20a979(0x1a6)]&&(_0x535c0c=self[_0x20a979(0x1a6)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x535c0c=globalThis[_0x20a979(0x1a6)]),!_0x535c0c&&typeof window<'u'&&window[_0x20a979(0x4ed)]&&(_0x535c0c=window[_0x20a979(0x4ed)]),!_0x535c0c&&typeof _0x51aa03<'u'&&_0x51aa03[_0x20a979(0x1a6)]&&(_0x535c0c=_0x51aa03['crypto']),!_0x535c0c&&typeof _0x1b9425==_0x20a979(0x2ca))try{_0x535c0c=require(_0x20a979(0x1a6));}catch{}var _0xb4aecc=function(){const _0xb519e=_0x20a979;if(_0x535c0c){if(typeof _0x535c0c['getRandomValues']==_0xb519e(0x2ca))try{return _0x535c0c[_0xb519e(0x3ed)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x535c0c['randomBytes']==_0xb519e(0x2ca))try{return _0x535c0c[_0xb519e(0x410)](0x4)[_0xb519e(0x187)]();}catch{}}throw new Error(_0xb519e(0x249));},_0x1361ec=Object[_0x20a979(0x109)]||(function(){function _0x280bbf(){}return function(_0x50bab6){const _0x7ec0a1=_0x3e32;var _0x4239ab;return _0x280bbf['prototype']=_0x50bab6,_0x4239ab=new _0x280bbf(),_0x280bbf[_0x7ec0a1(0x413)]=null,_0x4239ab;};}()),_0x2d2c5a={},_0x1161ad=_0x2d2c5a[_0x20a979(0x4e1)]={},_0x26f242=_0x1161ad['Base']=(function(){return{'extend':function(_0x26e0b9){const _0x3ff78a=_0x3e32;var _0x58a3c4=_0x1361ec(this);return _0x26e0b9&&_0x58a3c4[_0x3ff78a(0x65)](_0x26e0b9),(!_0x58a3c4[_0x3ff78a(0x21b)](_0x3ff78a(0x479))||this[_0x3ff78a(0x479)]===_0x58a3c4['init'])&&(_0x58a3c4[_0x3ff78a(0x479)]=function(){const _0x150fca=_0x3ff78a;_0x58a3c4[_0x150fca(0x2c5)][_0x150fca(0x479)][_0x150fca(0x2e7)](this,arguments);}),_0x58a3c4[_0x3ff78a(0x479)][_0x3ff78a(0x413)]=_0x58a3c4,_0x58a3c4[_0x3ff78a(0x2c5)]=this,_0x58a3c4;},'create':function(){const _0xc48898=_0x3e32;var _0x71cbe2=this[_0xc48898(0x50d)]();return _0x71cbe2['init']['apply'](_0x71cbe2,arguments),_0x71cbe2;},'init':function(){},'mixIn':function(_0x49b905){const _0x4d5a32=_0x3e32;for(var _0x3ab2e0 in _0x49b905)_0x49b905[_0x4d5a32(0x21b)](_0x3ab2e0)&&(this[_0x3ab2e0]=_0x49b905[_0x3ab2e0]);_0x49b905[_0x4d5a32(0x21b)](_0x4d5a32(0xd0))&&(this['toString']=_0x49b905[_0x4d5a32(0xd0)]);},'clone':function(){const _0x183518=_0x3e32;return this['init'][_0x183518(0x413)]['extend'](this);}};}()),_0x3228e4=_0x1161ad['WordArray']=_0x26f242[_0x20a979(0x50d)]({'init':function(_0x325758,_0x27c9b6){const _0x5f1bab=_0x20a979;_0x325758=this[_0x5f1bab(0x20b)]=_0x325758||[],_0x27c9b6!=_0x545698?this[_0x5f1bab(0x3bf)]=_0x27c9b6:this[_0x5f1bab(0x3bf)]=_0x325758[_0x5f1bab(0x26a)]*0x4;},'toString':function(_0x349ea2){const _0x335772=_0x20a979;return(_0x349ea2||_0x4af68b)[_0x335772(0x420)](this);},'concat':function(_0x20ac1d){const _0xaf37a8=_0x20a979;var _0x5126a2=this[_0xaf37a8(0x20b)],_0x1fa21f=_0x20ac1d['words'],_0x41dae7=this[_0xaf37a8(0x3bf)],_0x5d53ed=_0x20ac1d[_0xaf37a8(0x3bf)];if(this['clamp'](),_0x41dae7%0x4)for(var _0x4b6457=0x0;_0x4b6457<_0x5d53ed;_0x4b6457++){var _0x1bc709=_0x1fa21f[_0x4b6457>>>0x2]>>>0x18-_0x4b6457%0x4*0x8&0xff;_0x5126a2[_0x41dae7+_0x4b6457>>>0x2]|=_0x1bc709<<0x18-(_0x41dae7+_0x4b6457)%0x4*0x8;}else{for(var _0xb743f6=0x0;_0xb743f6<_0x5d53ed;_0xb743f6+=0x4)_0x5126a2[_0x41dae7+_0xb743f6>>>0x2]=_0x1fa21f[_0xb743f6>>>0x2];}return this[_0xaf37a8(0x3bf)]+=_0x5d53ed,this;},'clamp':function(){const _0x45b2b2=_0x20a979;var _0x2dc9f9=this[_0x45b2b2(0x20b)],_0x53432f=this['sigBytes'];_0x2dc9f9[_0x53432f>>>0x2]&=0xffffffff<<0x20-_0x53432f%0x4*0x8,_0x2dc9f9[_0x45b2b2(0x26a)]=_0x4e7c41[_0x45b2b2(0x46c)](_0x53432f/0x4);},'clone':function(){const _0x49629f=_0x20a979;var _0xcc9ba0=_0x26f242[_0x49629f(0x4b3)][_0x49629f(0x2eb)](this);return _0xcc9ba0[_0x49629f(0x20b)]=this['words'][_0x49629f(0x191)](0x0),_0xcc9ba0;},'random':function(_0x51aac6){const _0x1fb1de=_0x20a979;for(var _0x18508b=[],_0x252f50=0x0;_0x252f50<_0x51aac6;_0x252f50+=0x4)_0x18508b[_0x1fb1de(0x1e9)](_0xb4aecc());return new _0x3228e4['init'](_0x18508b,_0x51aac6);}}),_0x51bd99=_0x2d2c5a[_0x20a979(0x1e8)]={},_0x4af68b=_0x51bd99[_0x20a979(0x2d1)]={'stringify':function(_0x1e3a99){const _0x3a7251=_0x20a979;for(var _0x3526a5=_0x1e3a99['words'],_0x51de0f=_0x1e3a99[_0x3a7251(0x3bf)],_0x5ebe20=[],_0x246685=0x0;_0x246685<_0x51de0f;_0x246685++){var _0x635521=_0x3526a5[_0x246685>>>0x2]>>>0x18-_0x246685%0x4*0x8&0xff;_0x5ebe20[_0x3a7251(0x1e9)]((_0x635521>>>0x4)[_0x3a7251(0xd0)](0x10)),_0x5ebe20['push']((_0x635521&0xf)[_0x3a7251(0xd0)](0x10));}return _0x5ebe20[_0x3a7251(0x51c)]('');},'parse':function(_0x549b11){const _0x2dc03e=_0x20a979;for(var _0x1410ad=_0x549b11[_0x2dc03e(0x26a)],_0x1504e0=[],_0x4f8aa2=0x0;_0x4f8aa2<_0x1410ad;_0x4f8aa2+=0x2)_0x1504e0[_0x4f8aa2>>>0x3]|=parseInt(_0x549b11[_0x2dc03e(0x515)](_0x4f8aa2,0x2),0x10)<<0x18-_0x4f8aa2%0x8*0x4;return new _0x3228e4['init'](_0x1504e0,_0x1410ad/0x2);}},_0x2e37a8=_0x51bd99[_0x20a979(0x226)]={'stringify':function(_0x36268f){const _0x120f81=_0x20a979;for(var _0x325048=_0x36268f['words'],_0x52217f=_0x36268f[_0x120f81(0x3bf)],_0x300468=[],_0x47a23d=0x0;_0x47a23d<_0x52217f;_0x47a23d++){var _0x53afcd=_0x325048[_0x47a23d>>>0x2]>>>0x18-_0x47a23d%0x4*0x8&0xff;_0x300468[_0x120f81(0x1e9)](String[_0x120f81(0x2d7)](_0x53afcd));}return _0x300468[_0x120f81(0x51c)]('');},'parse':function(_0x326e00){const _0x5737f0=_0x20a979;for(var _0x1d04fb=_0x326e00[_0x5737f0(0x26a)],_0xa279f2=[],_0x441525=0x0;_0x441525<_0x1d04fb;_0x441525++)_0xa279f2[_0x441525>>>0x2]|=(_0x326e00[_0x5737f0(0x106)](_0x441525)&0xff)<<0x18-_0x441525%0x4*0x8;return new _0x3228e4[(_0x5737f0(0x479))](_0xa279f2,_0x1d04fb);}},_0x34f080=_0x51bd99[_0x20a979(0x230)]={'stringify':function(_0xf89510){const _0x47e8d6=_0x20a979;try{return decodeURIComponent(escape(_0x2e37a8[_0x47e8d6(0x420)](_0xf89510)));}catch{throw new Error(_0x47e8d6(0xf4));}},'parse':function(_0x5767e1){return _0x2e37a8['parse'](unescape(encodeURIComponent(_0x5767e1)));}},_0x5f241c=_0x1161ad['BufferedBlockAlgorithm']=_0x26f242[_0x20a979(0x50d)]({'reset':function(){const _0x53ed8b=_0x20a979;this[_0x53ed8b(0x340)]=new _0x3228e4[(_0x53ed8b(0x479))](),this['_nDataBytes']=0x0;},'_append':function(_0x3dd377){const _0xeaa2ab=_0x20a979;typeof _0x3dd377=='string'&&(_0x3dd377=_0x34f080[_0xeaa2ab(0x1a4)](_0x3dd377)),this['_data'][_0xeaa2ab(0x4af)](_0x3dd377),this['_nDataBytes']+=_0x3dd377[_0xeaa2ab(0x3bf)];},'_process':function(_0x4f6820){const _0x297687=_0x20a979;var _0x261e79,_0x82e9c=this[_0x297687(0x340)],_0x578fc4=_0x82e9c[_0x297687(0x20b)],_0x1ec623=_0x82e9c[_0x297687(0x3bf)],_0x383346=this[_0x297687(0xcb)],_0x1562f6=_0x383346*0x4,_0x2ee370=_0x1ec623/_0x1562f6;_0x4f6820?_0x2ee370=_0x4e7c41[_0x297687(0x46c)](_0x2ee370):_0x2ee370=_0x4e7c41['max']((_0x2ee370|0x0)-this[_0x297687(0x4d8)],0x0);var _0x83c49e=_0x2ee370*_0x383346,_0x34da83=_0x4e7c41[_0x297687(0x30c)](_0x83c49e*0x4,_0x1ec623);if(_0x83c49e){for(var _0x513fcd=0x0;_0x513fcd<_0x83c49e;_0x513fcd+=_0x383346)this['_doProcessBlock'](_0x578fc4,_0x513fcd);_0x261e79=_0x578fc4[_0x297687(0x477)](0x0,_0x83c49e),_0x82e9c['sigBytes']-=_0x34da83;}return new _0x3228e4[(_0x297687(0x479))](_0x261e79,_0x34da83);},'clone':function(){const _0x5893a8=_0x20a979;var _0x5a70a4=_0x26f242[_0x5893a8(0x4b3)]['call'](this);return _0x5a70a4[_0x5893a8(0x340)]=this[_0x5893a8(0x340)][_0x5893a8(0x4b3)](),_0x5a70a4;},'_minBufferSize':0x0});_0x1161ad[_0x20a979(0x14c)]=_0x5f241c[_0x20a979(0x50d)]({'cfg':_0x26f242[_0x20a979(0x50d)](),'init':function(_0x5177cb){const _0x54a780=_0x20a979;this[_0x54a780(0xfc)]=this[_0x54a780(0xfc)][_0x54a780(0x50d)](_0x5177cb),this[_0x54a780(0x43c)]();},'reset':function(){const _0x36f166=_0x20a979;_0x5f241c['reset'][_0x36f166(0x2eb)](this),this[_0x36f166(0x190)]();},'update':function(_0x187232){const _0x450948=_0x20a979;return this[_0x450948(0x20d)](_0x187232),this['_process'](),this;},'finalize':function(_0x538000){const _0xa40cc4=_0x20a979;_0x538000&&this[_0xa40cc4(0x20d)](_0x538000);var _0x2dc3dd=this['_doFinalize']();return _0x2dc3dd;},'blockSize':0x10,'_createHelper':function(_0x3fe4e5){return function(_0x582339,_0x2830c6){const _0x4ab002=_0x3e32;return new _0x3fe4e5['init'](_0x2830c6)[_0x4ab002(0x4fa)](_0x582339);};},'_createHmacHelper':function(_0x38e0e8){return function(_0x6b05e6,_0x23482a){const _0x1f58fc=_0x3e32;return new _0x3e36a2['HMAC'][(_0x1f58fc(0x479))](_0x38e0e8,_0x23482a)['finalize'](_0x6b05e6);};}});var _0x3e36a2=_0x2d2c5a['algo']={};return _0x2d2c5a;}(Math);return _0x4db180;}));}(_0x539d19)),_0x539d19[_0x2306b8(0x1a3)];}var _0xf8e05f={'exports':{}},_0x3f0b4a;function _0x733855(){const _0x31a4de=_0x416c04;return _0x3f0b4a||(_0x3f0b4a=0x1,function(_0x3f6043,_0x513c84){(function(_0x23172f,_0x573593){const _0x51ab1e=_0x3e32;_0x3f6043[_0x51ab1e(0x1a3)]=_0x573593(_0x114f16());}(_0x51aa03,function(_0x1dbcd2){return(function(){const _0x175fb0=_0x3e32;var _0x2abb4e=_0x1dbcd2,_0x3cbbb4=_0x2abb4e[_0x175fb0(0x4e1)],_0x131347=_0x3cbbb4[_0x175fb0(0x513)],_0x5731c0=_0x2abb4e[_0x175fb0(0x1e8)];_0x5731c0[_0x175fb0(0x9e)]={'stringify':function(_0x3e6ab1){const _0x23ed57=_0x175fb0;var _0x2f7836=_0x3e6ab1[_0x23ed57(0x20b)],_0x4b50a6=_0x3e6ab1[_0x23ed57(0x3bf)],_0x519ae6=this[_0x23ed57(0x50c)];_0x3e6ab1[_0x23ed57(0x236)]();for(var _0xab187d=[],_0x589533=0x0;_0x589533<_0x4b50a6;_0x589533+=0x3)for(var _0x2f00fc=_0x2f7836[_0x589533>>>0x2]>>>0x18-_0x589533%0x4*0x8&0xff,_0x4d83c4=_0x2f7836[_0x589533+0x1>>>0x2]>>>0x18-(_0x589533+0x1)%0x4*0x8&0xff,_0x54a8e5=_0x2f7836[_0x589533+0x2>>>0x2]>>>0x18-(_0x589533+0x2)%0x4*0x8&0xff,_0x15d4ba=_0x2f00fc<<0x10|_0x4d83c4<<0x8|_0x54a8e5,_0x47f81c=0x0;_0x47f81c<0x4&&_0x589533+_0x47f81c*0.75<_0x4b50a6;_0x47f81c++)_0xab187d[_0x23ed57(0x1e9)](_0x519ae6[_0x23ed57(0x310)](_0x15d4ba>>>0x6*(0x3-_0x47f81c)&0x3f));var _0x4fe873=_0x519ae6[_0x23ed57(0x310)](0x40);if(_0x4fe873){for(;_0xab187d['length']%0x4;)_0xab187d['push'](_0x4fe873);}return _0xab187d[_0x23ed57(0x51c)]('');},'parse':function(_0x31e108){const _0x1a9d6e=_0x175fb0;var _0x293bda=_0x31e108[_0x1a9d6e(0x26a)],_0x187333=this[_0x1a9d6e(0x50c)],_0x16761b=this[_0x1a9d6e(0x283)];if(!_0x16761b){_0x16761b=this['_reverseMap']=[];for(var _0x3da9c4=0x0;_0x3da9c4<_0x187333['length'];_0x3da9c4++)_0x16761b[_0x187333[_0x1a9d6e(0x106)](_0x3da9c4)]=_0x3da9c4;}var _0x3add2a=_0x187333[_0x1a9d6e(0x310)](0x40);if(_0x3add2a){var _0x4c5f22=_0x31e108['indexOf'](_0x3add2a);_0x4c5f22!==-0x1&&(_0x293bda=_0x4c5f22);}return _0xa55560(_0x31e108,_0x293bda,_0x16761b);},'_map':_0x175fb0(0x2f9)};function _0xa55560(_0x461206,_0x569ff5,_0x104dac){const _0x112fd3=_0x175fb0;for(var _0x48886e=[],_0x33c638=0x0,_0x258309=0x0;_0x258309<_0x569ff5;_0x258309++)if(_0x258309%0x4){var _0x46a819=_0x104dac[_0x461206[_0x112fd3(0x106)](_0x258309-0x1)]<<_0x258309%0x4*0x2,_0x4a2241=_0x104dac[_0x461206[_0x112fd3(0x106)](_0x258309)]>>>0x6-_0x258309%0x4*0x2,_0x4ad5e0=_0x46a819|_0x4a2241;_0x48886e[_0x33c638>>>0x2]|=_0x4ad5e0<<0x18-_0x33c638%0x4*0x8,_0x33c638++;}return _0x131347[_0x112fd3(0x109)](_0x48886e,_0x33c638);}}()),_0x1dbcd2['enc']['Base64'];}));}(_0xf8e05f)),_0xf8e05f[_0x31a4de(0x1a3)];}var _0x24f29e={'exports':{}},_0x3ed083;function _0x142916(){return _0x3ed083||(_0x3ed083=0x1,function(_0x1a156a,_0x5da1f9){(function(_0x265f0f,_0x2d4e03){const _0x4a8090=_0x3e32;_0x1a156a[_0x4a8090(0x1a3)]=_0x2d4e03(_0x114f16());}(_0x51aa03,function(_0x38b179){const _0x4726ab=_0x3e32;return function(_0x4ef6bc){const _0x33c892=_0x3e32;var _0x5c32b7=_0x38b179,_0x4d8115=_0x5c32b7[_0x33c892(0x4e1)],_0x475296=_0x4d8115[_0x33c892(0x513)],_0x65d536=_0x4d8115[_0x33c892(0x14c)],_0x17acb4=_0x5c32b7[_0x33c892(0x172)],_0x8ef51c=[];(function(){const _0x504093=_0x33c892;for(var _0x150f99=0x0;_0x150f99<0x40;_0x150f99++)_0x8ef51c[_0x150f99]=_0x4ef6bc['abs'](_0x4ef6bc[_0x504093(0x64)](_0x150f99+0x1))*0x100000000|0x0;}());var _0x255fe3=_0x17acb4['MD5']=_0x65d536[_0x33c892(0x50d)]({'_doReset':function(){const _0x4db3a6=_0x33c892;this[_0x4db3a6(0x17e)]=new _0x475296[(_0x4db3a6(0x479))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4a084a,_0x599d1b){const _0x5e6c18=_0x33c892;for(var _0x283cdf=0x0;_0x283cdf<0x10;_0x283cdf++){var _0x52af34=_0x599d1b+_0x283cdf,_0x565c80=_0x4a084a[_0x52af34];_0x4a084a[_0x52af34]=(_0x565c80<<0x8|_0x565c80>>>0x18)&0xff00ff|(_0x565c80<<0x18|_0x565c80>>>0x8)&0xff00ff00;}var _0x32f703=this[_0x5e6c18(0x17e)][_0x5e6c18(0x20b)],_0x2be87e=_0x4a084a[_0x599d1b+0x0],_0x20124f=_0x4a084a[_0x599d1b+0x1],_0x544214=_0x4a084a[_0x599d1b+0x2],_0x47aa22=_0x4a084a[_0x599d1b+0x3],_0x199561=_0x4a084a[_0x599d1b+0x4],_0x5444c6=_0x4a084a[_0x599d1b+0x5],_0x50cf13=_0x4a084a[_0x599d1b+0x6],_0x5d7a73=_0x4a084a[_0x599d1b+0x7],_0x48b76f=_0x4a084a[_0x599d1b+0x8],_0x15e6c9=_0x4a084a[_0x599d1b+0x9],_0x1f5799=_0x4a084a[_0x599d1b+0xa],_0x4c7449=_0x4a084a[_0x599d1b+0xb],_0x28beb1=_0x4a084a[_0x599d1b+0xc],_0x3754e1=_0x4a084a[_0x599d1b+0xd],_0x18f89f=_0x4a084a[_0x599d1b+0xe],_0x424288=_0x4a084a[_0x599d1b+0xf],_0x7568ac=_0x32f703[0x0],_0x411dc5=_0x32f703[0x1],_0x2a2848=_0x32f703[0x2],_0x2d8c56=_0x32f703[0x3];_0x7568ac=_0x17d82b(_0x7568ac,_0x411dc5,_0x2a2848,_0x2d8c56,_0x2be87e,0x7,_0x8ef51c[0x0]),_0x2d8c56=_0x17d82b(_0x2d8c56,_0x7568ac,_0x411dc5,_0x2a2848,_0x20124f,0xc,_0x8ef51c[0x1]),_0x2a2848=_0x17d82b(_0x2a2848,_0x2d8c56,_0x7568ac,_0x411dc5,_0x544214,0x11,_0x8ef51c[0x2]),_0x411dc5=_0x17d82b(_0x411dc5,_0x2a2848,_0x2d8c56,_0x7568ac,_0x47aa22,0x16,_0x8ef51c[0x3]),_0x7568ac=_0x17d82b(_0x7568ac,_0x411dc5,_0x2a2848,_0x2d8c56,_0x199561,0x7,_0x8ef51c[0x4]),_0x2d8c56=_0x17d82b(_0x2d8c56,_0x7568ac,_0x411dc5,_0x2a2848,_0x5444c6,0xc,_0x8ef51c[0x5]),_0x2a2848=_0x17d82b(_0x2a2848,_0x2d8c56,_0x7568ac,_0x411dc5,_0x50cf13,0x11,_0x8ef51c[0x6]),_0x411dc5=_0x17d82b(_0x411dc5,_0x2a2848,_0x2d8c56,_0x7568ac,_0x5d7a73,0x16,_0x8ef51c[0x7]),_0x7568ac=_0x17d82b(_0x7568ac,_0x411dc5,_0x2a2848,_0x2d8c56,_0x48b76f,0x7,_0x8ef51c[0x8]),_0x2d8c56=_0x17d82b(_0x2d8c56,_0x7568ac,_0x411dc5,_0x2a2848,_0x15e6c9,0xc,_0x8ef51c[0x9]),_0x2a2848=_0x17d82b(_0x2a2848,_0x2d8c56,_0x7568ac,_0x411dc5,_0x1f5799,0x11,_0x8ef51c[0xa]),_0x411dc5=_0x17d82b(_0x411dc5,_0x2a2848,_0x2d8c56,_0x7568ac,_0x4c7449,0x16,_0x8ef51c[0xb]),_0x7568ac=_0x17d82b(_0x7568ac,_0x411dc5,_0x2a2848,_0x2d8c56,_0x28beb1,0x7,_0x8ef51c[0xc]),_0x2d8c56=_0x17d82b(_0x2d8c56,_0x7568ac,_0x411dc5,_0x2a2848,_0x3754e1,0xc,_0x8ef51c[0xd]),_0x2a2848=_0x17d82b(_0x2a2848,_0x2d8c56,_0x7568ac,_0x411dc5,_0x18f89f,0x11,_0x8ef51c[0xe]),_0x411dc5=_0x17d82b(_0x411dc5,_0x2a2848,_0x2d8c56,_0x7568ac,_0x424288,0x16,_0x8ef51c[0xf]),_0x7568ac=_0x1bbfce(_0x7568ac,_0x411dc5,_0x2a2848,_0x2d8c56,_0x20124f,0x5,_0x8ef51c[0x10]),_0x2d8c56=_0x1bbfce(_0x2d8c56,_0x7568ac,_0x411dc5,_0x2a2848,_0x50cf13,0x9,_0x8ef51c[0x11]),_0x2a2848=_0x1bbfce(_0x2a2848,_0x2d8c56,_0x7568ac,_0x411dc5,_0x4c7449,0xe,_0x8ef51c[0x12]),_0x411dc5=_0x1bbfce(_0x411dc5,_0x2a2848,_0x2d8c56,_0x7568ac,_0x2be87e,0x14,_0x8ef51c[0x13]),_0x7568ac=_0x1bbfce(_0x7568ac,_0x411dc5,_0x2a2848,_0x2d8c56,_0x5444c6,0x5,_0x8ef51c[0x14]),_0x2d8c56=_0x1bbfce(_0x2d8c56,_0x7568ac,_0x411dc5,_0x2a2848,_0x1f5799,0x9,_0x8ef51c[0x15]),_0x2a2848=_0x1bbfce(_0x2a2848,_0x2d8c56,_0x7568ac,_0x411dc5,_0x424288,0xe,_0x8ef51c[0x16]),_0x411dc5=_0x1bbfce(_0x411dc5,_0x2a2848,_0x2d8c56,_0x7568ac,_0x199561,0x14,_0x8ef51c[0x17]),_0x7568ac=_0x1bbfce(_0x7568ac,_0x411dc5,_0x2a2848,_0x2d8c56,_0x15e6c9,0x5,_0x8ef51c[0x18]),_0x2d8c56=_0x1bbfce(_0x2d8c56,_0x7568ac,_0x411dc5,_0x2a2848,_0x18f89f,0x9,_0x8ef51c[0x19]),_0x2a2848=_0x1bbfce(_0x2a2848,_0x2d8c56,_0x7568ac,_0x411dc5,_0x47aa22,0xe,_0x8ef51c[0x1a]),_0x411dc5=_0x1bbfce(_0x411dc5,_0x2a2848,_0x2d8c56,_0x7568ac,_0x48b76f,0x14,_0x8ef51c[0x1b]),_0x7568ac=_0x1bbfce(_0x7568ac,_0x411dc5,_0x2a2848,_0x2d8c56,_0x3754e1,0x5,_0x8ef51c[0x1c]),_0x2d8c56=_0x1bbfce(_0x2d8c56,_0x7568ac,_0x411dc5,_0x2a2848,_0x544214,0x9,_0x8ef51c[0x1d]),_0x2a2848=_0x1bbfce(_0x2a2848,_0x2d8c56,_0x7568ac,_0x411dc5,_0x5d7a73,0xe,_0x8ef51c[0x1e]),_0x411dc5=_0x1bbfce(_0x411dc5,_0x2a2848,_0x2d8c56,_0x7568ac,_0x28beb1,0x14,_0x8ef51c[0x1f]),_0x7568ac=_0x1ad33c(_0x7568ac,_0x411dc5,_0x2a2848,_0x2d8c56,_0x5444c6,0x4,_0x8ef51c[0x20]),_0x2d8c56=_0x1ad33c(_0x2d8c56,_0x7568ac,_0x411dc5,_0x2a2848,_0x48b76f,0xb,_0x8ef51c[0x21]),_0x2a2848=_0x1ad33c(_0x2a2848,_0x2d8c56,_0x7568ac,_0x411dc5,_0x4c7449,0x10,_0x8ef51c[0x22]),_0x411dc5=_0x1ad33c(_0x411dc5,_0x2a2848,_0x2d8c56,_0x7568ac,_0x18f89f,0x17,_0x8ef51c[0x23]),_0x7568ac=_0x1ad33c(_0x7568ac,_0x411dc5,_0x2a2848,_0x2d8c56,_0x20124f,0x4,_0x8ef51c[0x24]),_0x2d8c56=_0x1ad33c(_0x2d8c56,_0x7568ac,_0x411dc5,_0x2a2848,_0x199561,0xb,_0x8ef51c[0x25]),_0x2a2848=_0x1ad33c(_0x2a2848,_0x2d8c56,_0x7568ac,_0x411dc5,_0x5d7a73,0x10,_0x8ef51c[0x26]),_0x411dc5=_0x1ad33c(_0x411dc5,_0x2a2848,_0x2d8c56,_0x7568ac,_0x1f5799,0x17,_0x8ef51c[0x27]),_0x7568ac=_0x1ad33c(_0x7568ac,_0x411dc5,_0x2a2848,_0x2d8c56,_0x3754e1,0x4,_0x8ef51c[0x28]),_0x2d8c56=_0x1ad33c(_0x2d8c56,_0x7568ac,_0x411dc5,_0x2a2848,_0x2be87e,0xb,_0x8ef51c[0x29]),_0x2a2848=_0x1ad33c(_0x2a2848,_0x2d8c56,_0x7568ac,_0x411dc5,_0x47aa22,0x10,_0x8ef51c[0x2a]),_0x411dc5=_0x1ad33c(_0x411dc5,_0x2a2848,_0x2d8c56,_0x7568ac,_0x50cf13,0x17,_0x8ef51c[0x2b]),_0x7568ac=_0x1ad33c(_0x7568ac,_0x411dc5,_0x2a2848,_0x2d8c56,_0x15e6c9,0x4,_0x8ef51c[0x2c]),_0x2d8c56=_0x1ad33c(_0x2d8c56,_0x7568ac,_0x411dc5,_0x2a2848,_0x28beb1,0xb,_0x8ef51c[0x2d]),_0x2a2848=_0x1ad33c(_0x2a2848,_0x2d8c56,_0x7568ac,_0x411dc5,_0x424288,0x10,_0x8ef51c[0x2e]),_0x411dc5=_0x1ad33c(_0x411dc5,_0x2a2848,_0x2d8c56,_0x7568ac,_0x544214,0x17,_0x8ef51c[0x2f]),_0x7568ac=_0x4638ea(_0x7568ac,_0x411dc5,_0x2a2848,_0x2d8c56,_0x2be87e,0x6,_0x8ef51c[0x30]),_0x2d8c56=_0x4638ea(_0x2d8c56,_0x7568ac,_0x411dc5,_0x2a2848,_0x5d7a73,0xa,_0x8ef51c[0x31]),_0x2a2848=_0x4638ea(_0x2a2848,_0x2d8c56,_0x7568ac,_0x411dc5,_0x18f89f,0xf,_0x8ef51c[0x32]),_0x411dc5=_0x4638ea(_0x411dc5,_0x2a2848,_0x2d8c56,_0x7568ac,_0x5444c6,0x15,_0x8ef51c[0x33]),_0x7568ac=_0x4638ea(_0x7568ac,_0x411dc5,_0x2a2848,_0x2d8c56,_0x28beb1,0x6,_0x8ef51c[0x34]),_0x2d8c56=_0x4638ea(_0x2d8c56,_0x7568ac,_0x411dc5,_0x2a2848,_0x47aa22,0xa,_0x8ef51c[0x35]),_0x2a2848=_0x4638ea(_0x2a2848,_0x2d8c56,_0x7568ac,_0x411dc5,_0x1f5799,0xf,_0x8ef51c[0x36]),_0x411dc5=_0x4638ea(_0x411dc5,_0x2a2848,_0x2d8c56,_0x7568ac,_0x20124f,0x15,_0x8ef51c[0x37]),_0x7568ac=_0x4638ea(_0x7568ac,_0x411dc5,_0x2a2848,_0x2d8c56,_0x48b76f,0x6,_0x8ef51c[0x38]),_0x2d8c56=_0x4638ea(_0x2d8c56,_0x7568ac,_0x411dc5,_0x2a2848,_0x424288,0xa,_0x8ef51c[0x39]),_0x2a2848=_0x4638ea(_0x2a2848,_0x2d8c56,_0x7568ac,_0x411dc5,_0x50cf13,0xf,_0x8ef51c[0x3a]),_0x411dc5=_0x4638ea(_0x411dc5,_0x2a2848,_0x2d8c56,_0x7568ac,_0x3754e1,0x15,_0x8ef51c[0x3b]),_0x7568ac=_0x4638ea(_0x7568ac,_0x411dc5,_0x2a2848,_0x2d8c56,_0x199561,0x6,_0x8ef51c[0x3c]),_0x2d8c56=_0x4638ea(_0x2d8c56,_0x7568ac,_0x411dc5,_0x2a2848,_0x4c7449,0xa,_0x8ef51c[0x3d]),_0x2a2848=_0x4638ea(_0x2a2848,_0x2d8c56,_0x7568ac,_0x411dc5,_0x544214,0xf,_0x8ef51c[0x3e]),_0x411dc5=_0x4638ea(_0x411dc5,_0x2a2848,_0x2d8c56,_0x7568ac,_0x15e6c9,0x15,_0x8ef51c[0x3f]),_0x32f703[0x0]=_0x32f703[0x0]+_0x7568ac|0x0,_0x32f703[0x1]=_0x32f703[0x1]+_0x411dc5|0x0,_0x32f703[0x2]=_0x32f703[0x2]+_0x2a2848|0x0,_0x32f703[0x3]=_0x32f703[0x3]+_0x2d8c56|0x0;},'_doFinalize':function(){const _0xd048b4=_0x33c892;var _0x59d8d2=this[_0xd048b4(0x340)],_0x20904f=_0x59d8d2[_0xd048b4(0x20b)],_0x2e5b0c=this['_nDataBytes']*0x8,_0x5d2f12=_0x59d8d2[_0xd048b4(0x3bf)]*0x8;_0x20904f[_0x5d2f12>>>0x5]|=0x80<<0x18-_0x5d2f12%0x20;var _0x55932f=_0x4ef6bc[_0xd048b4(0x1e0)](_0x2e5b0c/0x100000000),_0x3bc6d2=_0x2e5b0c;_0x20904f[(_0x5d2f12+0x40>>>0x9<<0x4)+0xf]=(_0x55932f<<0x8|_0x55932f>>>0x18)&0xff00ff|(_0x55932f<<0x18|_0x55932f>>>0x8)&0xff00ff00,_0x20904f[(_0x5d2f12+0x40>>>0x9<<0x4)+0xe]=(_0x3bc6d2<<0x8|_0x3bc6d2>>>0x18)&0xff00ff|(_0x3bc6d2<<0x18|_0x3bc6d2>>>0x8)&0xff00ff00,_0x59d8d2[_0xd048b4(0x3bf)]=(_0x20904f[_0xd048b4(0x26a)]+0x1)*0x4,this[_0xd048b4(0x46f)]();for(var _0x37c3ff=this[_0xd048b4(0x17e)],_0x29dfb2=_0x37c3ff['words'],_0x2d52a1=0x0;_0x2d52a1<0x4;_0x2d52a1++){var _0x3b8626=_0x29dfb2[_0x2d52a1];_0x29dfb2[_0x2d52a1]=(_0x3b8626<<0x8|_0x3b8626>>>0x18)&0xff00ff|(_0x3b8626<<0x18|_0x3b8626>>>0x8)&0xff00ff00;}return _0x37c3ff;},'clone':function(){const _0x4764f3=_0x33c892;var _0x48fd55=_0x65d536[_0x4764f3(0x4b3)][_0x4764f3(0x2eb)](this);return _0x48fd55['_hash']=this['_hash'][_0x4764f3(0x4b3)](),_0x48fd55;}});function _0x17d82b(_0x448a43,_0x248c31,_0x1e85d9,_0x962abc,_0xe553de,_0x69a132,_0x3fca2e){var _0x38681d=_0x448a43+(_0x248c31&_0x1e85d9|~_0x248c31&_0x962abc)+_0xe553de+_0x3fca2e;return(_0x38681d<<_0x69a132|_0x38681d>>>0x20-_0x69a132)+_0x248c31;}function _0x1bbfce(_0x43ac15,_0x1c0994,_0x2162b5,_0x598bf3,_0x58aa64,_0x1db1e5,_0x2f48f1){var _0x5ed3df=_0x43ac15+(_0x1c0994&_0x598bf3|_0x2162b5&~_0x598bf3)+_0x58aa64+_0x2f48f1;return(_0x5ed3df<<_0x1db1e5|_0x5ed3df>>>0x20-_0x1db1e5)+_0x1c0994;}function _0x1ad33c(_0x5d7937,_0x588ec9,_0xb0d8a5,_0x4f4198,_0x27eb18,_0x35f33e,_0x6a9854){var _0x5dd8db=_0x5d7937+(_0x588ec9^_0xb0d8a5^_0x4f4198)+_0x27eb18+_0x6a9854;return(_0x5dd8db<<_0x35f33e|_0x5dd8db>>>0x20-_0x35f33e)+_0x588ec9;}function _0x4638ea(_0x45214a,_0xe6e899,_0x3789d4,_0x28b058,_0x4ca95e,_0x4dcd9b,_0x248a91){var _0x348320=_0x45214a+(_0x3789d4^(_0xe6e899|~_0x28b058))+_0x4ca95e+_0x248a91;return(_0x348320<<_0x4dcd9b|_0x348320>>>0x20-_0x4dcd9b)+_0xe6e899;}_0x5c32b7[_0x33c892(0x4ef)]=_0x65d536['_createHelper'](_0x255fe3),_0x5c32b7[_0x33c892(0x175)]=_0x65d536[_0x33c892(0xb2)](_0x255fe3);}(Math),_0x38b179[_0x4726ab(0x4ef)];}));}(_0x24f29e)),_0x24f29e['exports'];}var _0x237c89={'exports':{}},_0x4e6229={'exports':{}},_0x5f02cf;function _0x3f0d71(){const _0x4798b0=_0x416c04;return _0x5f02cf||(_0x5f02cf=0x1,function(_0x24ad04,_0x2c3c91){(function(_0x325d86,_0x5e5c91){const _0xc24d74=_0x3e32;_0x24ad04[_0xc24d74(0x1a3)]=_0x5e5c91(_0x114f16());}(_0x51aa03,function(_0x28a304){return(function(){const _0x377963=_0x3e32;var _0x13f24d=_0x28a304,_0x2cb1a8=_0x13f24d['lib'],_0x15ac21=_0x2cb1a8[_0x377963(0x513)],_0x5dc1a5=_0x2cb1a8['Hasher'],_0x36cfa1=_0x13f24d[_0x377963(0x172)],_0x41f381=[],_0x46e273=_0x36cfa1[_0x377963(0x66)]=_0x5dc1a5[_0x377963(0x50d)]({'_doReset':function(){const _0x3cc4e1=_0x377963;this[_0x3cc4e1(0x17e)]=new _0x15ac21[(_0x3cc4e1(0x479))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x12496a,_0x4aa745){const _0x28b0a7=_0x377963;for(var _0x53374c=this['_hash'][_0x28b0a7(0x20b)],_0x59c0e1=_0x53374c[0x0],_0x39454a=_0x53374c[0x1],_0x2d04d4=_0x53374c[0x2],_0x411705=_0x53374c[0x3],_0x32539d=_0x53374c[0x4],_0x10d948=0x0;_0x10d948<0x50;_0x10d948++){if(_0x10d948<0x10)_0x41f381[_0x10d948]=_0x12496a[_0x4aa745+_0x10d948]|0x0;else{var _0x2d5fae=_0x41f381[_0x10d948-0x3]^_0x41f381[_0x10d948-0x8]^_0x41f381[_0x10d948-0xe]^_0x41f381[_0x10d948-0x10];_0x41f381[_0x10d948]=_0x2d5fae<<0x1|_0x2d5fae>>>0x1f;}var _0x3b2837=(_0x59c0e1<<0x5|_0x59c0e1>>>0x1b)+_0x32539d+_0x41f381[_0x10d948];_0x10d948<0x14?_0x3b2837+=(_0x39454a&_0x2d04d4|~_0x39454a&_0x411705)+0x5a827999:_0x10d948<0x28?_0x3b2837+=(_0x39454a^_0x2d04d4^_0x411705)+0x6ed9eba1:_0x10d948<0x3c?_0x3b2837+=(_0x39454a&_0x2d04d4|_0x39454a&_0x411705|_0x2d04d4&_0x411705)-0x70e44324:_0x3b2837+=(_0x39454a^_0x2d04d4^_0x411705)-0x359d3e2a,_0x32539d=_0x411705,_0x411705=_0x2d04d4,_0x2d04d4=_0x39454a<<0x1e|_0x39454a>>>0x2,_0x39454a=_0x59c0e1,_0x59c0e1=_0x3b2837;}_0x53374c[0x0]=_0x53374c[0x0]+_0x59c0e1|0x0,_0x53374c[0x1]=_0x53374c[0x1]+_0x39454a|0x0,_0x53374c[0x2]=_0x53374c[0x2]+_0x2d04d4|0x0,_0x53374c[0x3]=_0x53374c[0x3]+_0x411705|0x0,_0x53374c[0x4]=_0x53374c[0x4]+_0x32539d|0x0;},'_doFinalize':function(){const _0x40cbdc=_0x377963;var _0xe1c962=this['_data'],_0x326fb1=_0xe1c962[_0x40cbdc(0x20b)],_0x3361e7=this[_0x40cbdc(0x209)]*0x8,_0x50ff7d=_0xe1c962['sigBytes']*0x8;return _0x326fb1[_0x50ff7d>>>0x5]|=0x80<<0x18-_0x50ff7d%0x20,_0x326fb1[(_0x50ff7d+0x40>>>0x9<<0x4)+0xe]=Math[_0x40cbdc(0x1e0)](_0x3361e7/0x100000000),_0x326fb1[(_0x50ff7d+0x40>>>0x9<<0x4)+0xf]=_0x3361e7,_0xe1c962['sigBytes']=_0x326fb1['length']*0x4,this[_0x40cbdc(0x46f)](),this[_0x40cbdc(0x17e)];},'clone':function(){const _0x3bb225=_0x377963;var _0x1a8ef4=_0x5dc1a5['clone'][_0x3bb225(0x2eb)](this);return _0x1a8ef4['_hash']=this[_0x3bb225(0x17e)][_0x3bb225(0x4b3)](),_0x1a8ef4;}});_0x13f24d['SHA1']=_0x5dc1a5[_0x377963(0x1c9)](_0x46e273),_0x13f24d['HmacSHA1']=_0x5dc1a5[_0x377963(0xb2)](_0x46e273);}()),_0x28a304['SHA1'];}));}(_0x4e6229)),_0x4e6229[_0x4798b0(0x1a3)];}var _0x168e3d={'exports':{}},_0x186628;function _0x5d028e(){const _0x116b3d=_0x416c04;return _0x186628||(_0x186628=0x1,function(_0x498a9c,_0x5618f4){(function(_0x5a65c8,_0x3f191b){const _0x185e11=_0x3e32;_0x498a9c[_0x185e11(0x1a3)]=_0x3f191b(_0x114f16());}(_0x51aa03,function(_0xb03dfc){(function(){const _0x1af320=_0x3e32;var _0x5a8fbd=_0xb03dfc,_0xd39612=_0x5a8fbd[_0x1af320(0x4e1)],_0x4ce9cd=_0xd39612[_0x1af320(0x108)],_0x558f53=_0x5a8fbd[_0x1af320(0x1e8)],_0x18220a=_0x558f53['Utf8'],_0x371bde=_0x5a8fbd[_0x1af320(0x172)];_0x371bde['HMAC']=_0x4ce9cd['extend']({'init':function(_0x5301fe,_0x500eaa){const _0x37b5bf=_0x1af320;_0x5301fe=this[_0x37b5bf(0x4a3)]=new _0x5301fe[(_0x37b5bf(0x479))](),typeof _0x500eaa=='string'&&(_0x500eaa=_0x18220a[_0x37b5bf(0x1a4)](_0x500eaa));var _0x3ebb90=_0x5301fe['blockSize'],_0x494889=_0x3ebb90*0x4;_0x500eaa['sigBytes']>_0x494889&&(_0x500eaa=_0x5301fe['finalize'](_0x500eaa)),_0x500eaa[_0x37b5bf(0x236)]();for(var _0x335fa2=this['_oKey']=_0x500eaa[_0x37b5bf(0x4b3)](),_0x155ea8=this['_iKey']=_0x500eaa['clone'](),_0x13982b=_0x335fa2[_0x37b5bf(0x20b)],_0xd6e45d=_0x155ea8[_0x37b5bf(0x20b)],_0x281419=0x0;_0x281419<_0x3ebb90;_0x281419++)_0x13982b[_0x281419]^=0x5c5c5c5c,_0xd6e45d[_0x281419]^=0x36363636;_0x335fa2[_0x37b5bf(0x3bf)]=_0x155ea8[_0x37b5bf(0x3bf)]=_0x494889,this[_0x37b5bf(0x43c)]();},'reset':function(){const _0x4e793c=_0x1af320;var _0x3998a6=this[_0x4e793c(0x4a3)];_0x3998a6[_0x4e793c(0x43c)](),_0x3998a6[_0x4e793c(0x42c)](this[_0x4e793c(0xbd)]);},'update':function(_0x2bd361){const _0x3b4bbf=_0x1af320;return this[_0x3b4bbf(0x4a3)][_0x3b4bbf(0x42c)](_0x2bd361),this;},'finalize':function(_0xea59c8){const _0x34b7b7=_0x1af320;var _0x4fb25c=this['_hasher'],_0x2c44c9=_0x4fb25c['finalize'](_0xea59c8);_0x4fb25c['reset']();var _0x8d300d=_0x4fb25c[_0x34b7b7(0x4fa)](this[_0x34b7b7(0x19f)][_0x34b7b7(0x4b3)]()[_0x34b7b7(0x4af)](_0x2c44c9));return _0x8d300d;}});}());}));}(_0x168e3d)),_0x168e3d[_0x116b3d(0x1a3)];}var _0x133c70;function _0x2e44d9(){const _0x542ab8=_0x416c04;return _0x133c70||(_0x133c70=0x1,function(_0x5f4731,_0x380cf1){(function(_0x32c004,_0x1349c4,_0x346101){const _0x3b464c=_0x3e32;_0x5f4731[_0x3b464c(0x1a3)]=_0x1349c4(_0x114f16(),_0x3f0d71(),_0x5d028e());}(_0x51aa03,function(_0x3b9003){const _0x156a4b=_0x3e32;return(function(){const _0x50e410=_0x3e32;var _0x58161f=_0x3b9003,_0x37ccce=_0x58161f[_0x50e410(0x4e1)],_0xe4f596=_0x37ccce[_0x50e410(0x108)],_0x24a002=_0x37ccce[_0x50e410(0x513)],_0x24091f=_0x58161f[_0x50e410(0x172)],_0x5b07e1=_0x24091f[_0x50e410(0x4ef)],_0x2a03cc=_0x24091f[_0x50e410(0x373)]=_0xe4f596['extend']({'cfg':_0xe4f596[_0x50e410(0x50d)]({'keySize':0x80/0x20,'hasher':_0x5b07e1,'iterations':0x1}),'init':function(_0x559dda){const _0x4d4c3b=_0x50e410;this[_0x4d4c3b(0xfc)]=this[_0x4d4c3b(0xfc)][_0x4d4c3b(0x50d)](_0x559dda);},'compute':function(_0x453170,_0x14bf9c){const _0x3dd236=_0x50e410;for(var _0x39367e,_0x5f3864=this['cfg'],_0x31689c=_0x5f3864[_0x3dd236(0x131)][_0x3dd236(0x109)](),_0x48617f=_0x24a002[_0x3dd236(0x109)](),_0x23aebd=_0x48617f[_0x3dd236(0x20b)],_0x4ceb6f=_0x5f3864[_0x3dd236(0x76)],_0x132f06=_0x5f3864['iterations'];_0x23aebd[_0x3dd236(0x26a)]<_0x4ceb6f;){_0x39367e&&_0x31689c['update'](_0x39367e),_0x39367e=_0x31689c[_0x3dd236(0x42c)](_0x453170)[_0x3dd236(0x4fa)](_0x14bf9c),_0x31689c['reset']();for(var _0x209004=0x1;_0x209004<_0x132f06;_0x209004++)_0x39367e=_0x31689c['finalize'](_0x39367e),_0x31689c[_0x3dd236(0x43c)]();_0x48617f[_0x3dd236(0x4af)](_0x39367e);}return _0x48617f[_0x3dd236(0x3bf)]=_0x4ceb6f*0x4,_0x48617f;}});_0x58161f[_0x50e410(0x373)]=function(_0x3655a5,_0x3d600b,_0x178667){return _0x2a03cc['create'](_0x178667)['compute'](_0x3655a5,_0x3d600b);};}()),_0x3b9003[_0x156a4b(0x373)];}));}(_0x237c89)),_0x237c89[_0x542ab8(0x1a3)];}var _0x40d406={'exports':{}},_0x358d08;function _0x47fced(){return _0x358d08||(_0x358d08=0x1,function(_0x16ba5a,_0x3006a0){(function(_0x424a89,_0x431ca3,_0x13817b){const _0x3dc8a4=_0x3e32;_0x16ba5a[_0x3dc8a4(0x1a3)]=_0x431ca3(_0x114f16(),_0x2e44d9());}(_0x51aa03,function(_0x4e5e6c){const _0x1e6245=_0x3e32;_0x4e5e6c[_0x1e6245(0x4e1)][_0x1e6245(0x2aa)]||function(_0x2dcf03){const _0x3ceaac=_0x1e6245;var _0x1eabe5=_0x4e5e6c,_0x182238=_0x1eabe5[_0x3ceaac(0x4e1)],_0x472696=_0x182238[_0x3ceaac(0x108)],_0x575d13=_0x182238['WordArray'],_0x2a83a1=_0x182238[_0x3ceaac(0x2cf)],_0x2ae7af=_0x1eabe5[_0x3ceaac(0x1e8)];_0x2ae7af[_0x3ceaac(0x230)];var _0xc3be63=_0x2ae7af['Base64'],_0x2afa6d=_0x1eabe5[_0x3ceaac(0x172)],_0x13c9aa=_0x2afa6d['EvpKDF'],_0xde393f=_0x182238[_0x3ceaac(0x2aa)]=_0x2a83a1[_0x3ceaac(0x50d)]({'cfg':_0x472696['extend'](),'createEncryptor':function(_0xf24821,_0x598063){const _0x3f4e52=_0x3ceaac;return this[_0x3f4e52(0x109)](this[_0x3f4e52(0x2dc)],_0xf24821,_0x598063);},'createDecryptor':function(_0x490c0d,_0xa79e46){const _0x36020b=_0x3ceaac;return this[_0x36020b(0x109)](this[_0x36020b(0x497)],_0x490c0d,_0xa79e46);},'init':function(_0x56f33f,_0x70b736,_0x6b9002){const _0x356546=_0x3ceaac;this[_0x356546(0xfc)]=this[_0x356546(0xfc)][_0x356546(0x50d)](_0x6b9002),this[_0x356546(0x43f)]=_0x56f33f,this['_key']=_0x70b736,this[_0x356546(0x43c)]();},'reset':function(){const _0xc0abd6=_0x3ceaac;_0x2a83a1[_0xc0abd6(0x43c)]['call'](this),this['_doReset']();},'process':function(_0x205f9f){const _0x529798=_0x3ceaac;return this['_append'](_0x205f9f),this[_0x529798(0x46f)]();},'finalize':function(_0x2714e6){const _0x3eaf55=_0x3ceaac;_0x2714e6&&this['_append'](_0x2714e6);var _0x174710=this[_0x3eaf55(0x435)]();return _0x174710;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x963ce7(_0x2eebba){const _0x40f2d4=_0x3e32;return typeof _0x2eebba==_0x40f2d4(0x10b)?_0x291717:_0x26393c;}return function(_0x2df673){return{'encrypt':function(_0x1cc066,_0xd4a9e1,_0x2ed687){const _0x3087f8=_0x3e32;return _0x963ce7(_0xd4a9e1)[_0x3087f8(0x3a6)](_0x2df673,_0x1cc066,_0xd4a9e1,_0x2ed687);},'decrypt':function(_0x26e399,_0x268d21,_0x5bf0b0){const _0x1bdb2a=_0x3e32;return _0x963ce7(_0x268d21)[_0x1bdb2a(0xe4)](_0x2df673,_0x26e399,_0x268d21,_0x5bf0b0);}};};}())});_0x182238[_0x3ceaac(0x3f7)]=_0xde393f[_0x3ceaac(0x50d)]({'_doFinalize':function(){const _0x243090=_0x3ceaac;var _0x3349f5=this[_0x243090(0x46f)](!0x0);return _0x3349f5;},'blockSize':0x1});var _0x2d98a8=_0x1eabe5[_0x3ceaac(0x251)]={},_0x4dbfdb=_0x182238[_0x3ceaac(0x238)]=_0x472696[_0x3ceaac(0x50d)]({'createEncryptor':function(_0x564465,_0x5e0ace){const _0x414172=_0x3ceaac;return this[_0x414172(0x1c5)][_0x414172(0x109)](_0x564465,_0x5e0ace);},'createDecryptor':function(_0x1973b0,_0x5c75ed){const _0x462c50=_0x3ceaac;return this[_0x462c50(0x45b)]['create'](_0x1973b0,_0x5c75ed);},'init':function(_0x48be88,_0x5d0e55){const _0x59454f=_0x3ceaac;this[_0x59454f(0x227)]=_0x48be88,this[_0x59454f(0x18c)]=_0x5d0e55;}}),_0x1db519=_0x2d98a8[_0x3ceaac(0xda)]=(function(){const _0x2ad830=_0x3ceaac;var _0x3ffc4b=_0x4dbfdb['extend']();_0x3ffc4b['Encryptor']=_0x3ffc4b['extend']({'processBlock':function(_0x34e663,_0x2d546c){const _0x304ec0=_0x3e32;var _0x3c35c5=this[_0x304ec0(0x227)],_0x1a6005=_0x3c35c5[_0x304ec0(0xcb)];_0x1e2380['call'](this,_0x34e663,_0x2d546c,_0x1a6005),_0x3c35c5[_0x304ec0(0x21c)](_0x34e663,_0x2d546c),this[_0x304ec0(0x510)]=_0x34e663[_0x304ec0(0x191)](_0x2d546c,_0x2d546c+_0x1a6005);}}),_0x3ffc4b[_0x2ad830(0x45b)]=_0x3ffc4b[_0x2ad830(0x50d)]({'processBlock':function(_0x320852,_0x539a6c){const _0x389769=_0x2ad830;var _0x444b2c=this['_cipher'],_0x59fe79=_0x444b2c[_0x389769(0xcb)],_0x2b493c=_0x320852[_0x389769(0x191)](_0x539a6c,_0x539a6c+_0x59fe79);_0x444b2c[_0x389769(0x48c)](_0x320852,_0x539a6c),_0x1e2380[_0x389769(0x2eb)](this,_0x320852,_0x539a6c,_0x59fe79),this[_0x389769(0x510)]=_0x2b493c;}});function _0x1e2380(_0x2f8dbb,_0xef22f8,_0x3ff770){const _0x33adaf=_0x2ad830;var _0x359dc3,_0x42ca08=this[_0x33adaf(0x18c)];_0x42ca08?(_0x359dc3=_0x42ca08,this['_iv']=_0x2dcf03):_0x359dc3=this[_0x33adaf(0x510)];for(var _0x5e68d4=0x0;_0x5e68d4<_0x3ff770;_0x5e68d4++)_0x2f8dbb[_0xef22f8+_0x5e68d4]^=_0x359dc3[_0x5e68d4];}return _0x3ffc4b;}()),_0x14155b=_0x1eabe5[_0x3ceaac(0x1e3)]={},_0x5216a4=_0x14155b[_0x3ceaac(0x3c6)]={'pad':function(_0x19d9ab,_0xf83657){const _0x3c7be0=_0x3ceaac;for(var _0x26fb5e=_0xf83657*0x4,_0x24c5ae=_0x26fb5e-_0x19d9ab[_0x3c7be0(0x3bf)]%_0x26fb5e,_0x39465d=_0x24c5ae<<0x18|_0x24c5ae<<0x10|_0x24c5ae<<0x8|_0x24c5ae,_0x3fa26f=[],_0x2ae771=0x0;_0x2ae771<_0x24c5ae;_0x2ae771+=0x4)_0x3fa26f[_0x3c7be0(0x1e9)](_0x39465d);var _0x2d0197=_0x575d13[_0x3c7be0(0x109)](_0x3fa26f,_0x24c5ae);_0x19d9ab[_0x3c7be0(0x4af)](_0x2d0197);},'unpad':function(_0x58b421){const _0x78d31f=_0x3ceaac;var _0x2c1cb0=_0x58b421[_0x78d31f(0x20b)][_0x58b421[_0x78d31f(0x3bf)]-0x1>>>0x2]&0xff;_0x58b421[_0x78d31f(0x3bf)]-=_0x2c1cb0;}};_0x182238[_0x3ceaac(0x45d)]=_0xde393f[_0x3ceaac(0x50d)]({'cfg':_0xde393f[_0x3ceaac(0xfc)]['extend']({'mode':_0x1db519,'padding':_0x5216a4}),'reset':function(){const _0x1739a7=_0x3ceaac;var _0x59e23b;_0xde393f['reset']['call'](this);var _0x3e0815=this[_0x1739a7(0xfc)],_0x6ae808=_0x3e0815['iv'],_0x574079=_0x3e0815['mode'];this['_xformMode']==this['_ENC_XFORM_MODE']?_0x59e23b=_0x574079[_0x1739a7(0x144)]:(_0x59e23b=_0x574079['createDecryptor'],this['_minBufferSize']=0x1),this[_0x1739a7(0x1f9)]&&this[_0x1739a7(0x1f9)][_0x1739a7(0x4fe)]==_0x59e23b?this['_mode'][_0x1739a7(0x479)](this,_0x6ae808&&_0x6ae808[_0x1739a7(0x20b)]):(this[_0x1739a7(0x1f9)]=_0x59e23b[_0x1739a7(0x2eb)](_0x574079,this,_0x6ae808&&_0x6ae808['words']),this[_0x1739a7(0x1f9)][_0x1739a7(0x4fe)]=_0x59e23b);},'_doProcessBlock':function(_0xc8bcb7,_0x3ccb1b){const _0x3fb8cd=_0x3ceaac;this[_0x3fb8cd(0x1f9)]['processBlock'](_0xc8bcb7,_0x3ccb1b);},'_doFinalize':function(){const _0x290e83=_0x3ceaac;var _0x4dc0c,_0x489bd3=this['cfg'][_0x290e83(0x3e9)];return this[_0x290e83(0x43f)]==this['_ENC_XFORM_MODE']?(_0x489bd3[_0x290e83(0x1e3)](this[_0x290e83(0x340)],this['blockSize']),_0x4dc0c=this['_process'](!0x0)):(_0x4dc0c=this['_process'](!0x0),_0x489bd3[_0x290e83(0x1f6)](_0x4dc0c)),_0x4dc0c;},'blockSize':0x80/0x20});var _0x267c27=_0x182238[_0x3ceaac(0x2ab)]=_0x472696[_0x3ceaac(0x50d)]({'init':function(_0x3adc5e){const _0xae0ccf=_0x3ceaac;this[_0xae0ccf(0x65)](_0x3adc5e);},'toString':function(_0x4426c0){const _0x27e9ca=_0x3ceaac;return(_0x4426c0||this[_0x27e9ca(0x511)])[_0x27e9ca(0x420)](this);}}),_0x534341=_0x1eabe5[_0x3ceaac(0x35b)]={},_0x43996f=_0x534341[_0x3ceaac(0x82)]={'stringify':function(_0xa57034){const _0x157483=_0x3ceaac;var _0xee67f5,_0x2319e5=_0xa57034[_0x157483(0x328)],_0x3c2721=_0xa57034['salt'];return _0x3c2721?_0xee67f5=_0x575d13[_0x157483(0x109)]([0x53616c74,0x65645f5f])[_0x157483(0x4af)](_0x3c2721)['concat'](_0x2319e5):_0xee67f5=_0x2319e5,_0xee67f5['toString'](_0xc3be63);},'parse':function(_0xe1022e){const _0x4a6fba=_0x3ceaac;var _0x55d3b9,_0x5e45b4=_0xc3be63[_0x4a6fba(0x1a4)](_0xe1022e),_0x232152=_0x5e45b4['words'];return _0x232152[0x0]==0x53616c74&&_0x232152[0x1]==0x65645f5f&&(_0x55d3b9=_0x575d13['create'](_0x232152['slice'](0x2,0x4)),_0x232152[_0x4a6fba(0x477)](0x0,0x4),_0x5e45b4[_0x4a6fba(0x3bf)]-=0x10),_0x267c27[_0x4a6fba(0x109)]({'ciphertext':_0x5e45b4,'salt':_0x55d3b9});}},_0x26393c=_0x182238['SerializableCipher']=_0x472696[_0x3ceaac(0x50d)]({'cfg':_0x472696[_0x3ceaac(0x50d)]({'format':_0x43996f}),'encrypt':function(_0x3ad02d,_0x111112,_0x26c327,_0x2d5180){const _0x4134e5=_0x3ceaac;_0x2d5180=this[_0x4134e5(0xfc)]['extend'](_0x2d5180);var _0x544595=_0x3ad02d['createEncryptor'](_0x26c327,_0x2d5180),_0x54dcb7=_0x544595[_0x4134e5(0x4fa)](_0x111112),_0x5aa7ec=_0x544595[_0x4134e5(0xfc)];return _0x267c27['create']({'ciphertext':_0x54dcb7,'key':_0x26c327,'iv':_0x5aa7ec['iv'],'algorithm':_0x3ad02d,'mode':_0x5aa7ec['mode'],'padding':_0x5aa7ec[_0x4134e5(0x3e9)],'blockSize':_0x3ad02d['blockSize'],'formatter':_0x2d5180[_0x4134e5(0x35b)]});},'decrypt':function(_0x42e3f0,_0x19ed70,_0x3f073e,_0x409123){const _0xc5b888=_0x3ceaac;_0x409123=this[_0xc5b888(0xfc)][_0xc5b888(0x50d)](_0x409123),_0x19ed70=this[_0xc5b888(0x333)](_0x19ed70,_0x409123[_0xc5b888(0x35b)]);var _0x30a6df=_0x42e3f0['createDecryptor'](_0x3f073e,_0x409123)['finalize'](_0x19ed70[_0xc5b888(0x328)]);return _0x30a6df;},'_parse':function(_0x4c0433,_0x2c837e){const _0x351687=_0x3ceaac;return typeof _0x4c0433==_0x351687(0x10b)?_0x2c837e[_0x351687(0x1a4)](_0x4c0433,this):_0x4c0433;}}),_0x1084a2=_0x1eabe5[_0x3ceaac(0x4d6)]={},_0x48157c=_0x1084a2[_0x3ceaac(0x82)]={'execute':function(_0x532f95,_0x528951,_0x3e27cd,_0xd3d250,_0x40cfd7){const _0x445b98=_0x3ceaac;if(_0xd3d250||(_0xd3d250=_0x575d13[_0x445b98(0x194)](0x40/0x8)),_0x40cfd7)var _0xd9e804=_0x13c9aa[_0x445b98(0x109)]({'keySize':_0x528951+_0x3e27cd,'hasher':_0x40cfd7})[_0x445b98(0x247)](_0x532f95,_0xd3d250);else var _0xd9e804=_0x13c9aa[_0x445b98(0x109)]({'keySize':_0x528951+_0x3e27cd})[_0x445b98(0x247)](_0x532f95,_0xd3d250);var _0x2de155=_0x575d13[_0x445b98(0x109)](_0xd9e804[_0x445b98(0x20b)][_0x445b98(0x191)](_0x528951),_0x3e27cd*0x4);return _0xd9e804[_0x445b98(0x3bf)]=_0x528951*0x4,_0x267c27[_0x445b98(0x109)]({'key':_0xd9e804,'iv':_0x2de155,'salt':_0xd3d250});}},_0x291717=_0x182238[_0x3ceaac(0x11c)]=_0x26393c[_0x3ceaac(0x50d)]({'cfg':_0x26393c[_0x3ceaac(0xfc)][_0x3ceaac(0x50d)]({'kdf':_0x48157c}),'encrypt':function(_0x517116,_0x408f50,_0x4cf5df,_0x5aa674){const _0x4e1da3=_0x3ceaac;_0x5aa674=this[_0x4e1da3(0xfc)]['extend'](_0x5aa674);var _0x5504e5=_0x5aa674[_0x4e1da3(0x4d6)]['execute'](_0x4cf5df,_0x517116[_0x4e1da3(0x76)],_0x517116[_0x4e1da3(0x354)],_0x5aa674[_0x4e1da3(0x4ab)],_0x5aa674[_0x4e1da3(0x131)]);_0x5aa674['iv']=_0x5504e5['iv'];var _0x4bbcbb=_0x26393c[_0x4e1da3(0x3a6)][_0x4e1da3(0x2eb)](this,_0x517116,_0x408f50,_0x5504e5[_0x4e1da3(0x219)],_0x5aa674);return _0x4bbcbb[_0x4e1da3(0x65)](_0x5504e5),_0x4bbcbb;},'decrypt':function(_0x5db60f,_0x5e9bfb,_0x531cc0,_0x1b8a71){const _0x56bab1=_0x3ceaac;_0x1b8a71=this[_0x56bab1(0xfc)][_0x56bab1(0x50d)](_0x1b8a71),_0x5e9bfb=this[_0x56bab1(0x333)](_0x5e9bfb,_0x1b8a71[_0x56bab1(0x35b)]);var _0x27d714=_0x1b8a71['kdf'][_0x56bab1(0x4f4)](_0x531cc0,_0x5db60f['keySize'],_0x5db60f[_0x56bab1(0x354)],_0x5e9bfb['salt'],_0x1b8a71[_0x56bab1(0x131)]);_0x1b8a71['iv']=_0x27d714['iv'];var _0x1b2b68=_0x26393c[_0x56bab1(0xe4)]['call'](this,_0x5db60f,_0x5e9bfb,_0x27d714[_0x56bab1(0x219)],_0x1b8a71);return _0x1b2b68;}});}();}));}(_0x40d406)),_0x40d406['exports'];}(function(_0x2a9f08,_0x132271){(function(_0x2c667a,_0x4b3862,_0x149f6c){const _0x34e28e=_0x3e32;_0x2a9f08[_0x34e28e(0x1a3)]=_0x4b3862(_0x114f16(),_0x733855(),_0x142916(),_0x2e44d9(),_0x47fced());}(_0x51aa03,function(_0x2add40){return(function(){const _0x281397=_0x3e32;var _0xd1fa3d=_0x2add40,_0x1b597c=_0xd1fa3d[_0x281397(0x4e1)],_0x5d67e4=_0x1b597c[_0x281397(0x45d)],_0x4ae566=_0xd1fa3d[_0x281397(0x172)],_0x2d34ef=[],_0x4d4b7a=[],_0x551064=[],_0x58f5c2=[],_0x4eed44=[],_0x464cab=[],_0x1be198=[],_0x4efc2b=[],_0x5f2da7=[],_0x1bbfc7=[];(function(){for(var _0x98137c=[],_0x49862e=0x0;_0x49862e<0x100;_0x49862e++)_0x49862e<0x80?_0x98137c[_0x49862e]=_0x49862e<<0x1:_0x98137c[_0x49862e]=_0x49862e<<0x1^0x11b;for(var _0x261952=0x0,_0x1510b3=0x0,_0x49862e=0x0;_0x49862e<0x100;_0x49862e++){var _0xdd6807=_0x1510b3^_0x1510b3<<0x1^_0x1510b3<<0x2^_0x1510b3<<0x3^_0x1510b3<<0x4;_0xdd6807=_0xdd6807>>>0x8^_0xdd6807&0xff^0x63,_0x2d34ef[_0x261952]=_0xdd6807,_0x4d4b7a[_0xdd6807]=_0x261952;var _0x5800fa=_0x98137c[_0x261952],_0xe0ae7d=_0x98137c[_0x5800fa],_0x39c9c5=_0x98137c[_0xe0ae7d],_0x5fe8b8=_0x98137c[_0xdd6807]*0x101^_0xdd6807*0x1010100;_0x551064[_0x261952]=_0x5fe8b8<<0x18|_0x5fe8b8>>>0x8,_0x58f5c2[_0x261952]=_0x5fe8b8<<0x10|_0x5fe8b8>>>0x10,_0x4eed44[_0x261952]=_0x5fe8b8<<0x8|_0x5fe8b8>>>0x18,_0x464cab[_0x261952]=_0x5fe8b8;var _0x5fe8b8=_0x39c9c5*0x1010101^_0xe0ae7d*0x10001^_0x5800fa*0x101^_0x261952*0x1010100;_0x1be198[_0xdd6807]=_0x5fe8b8<<0x18|_0x5fe8b8>>>0x8,_0x4efc2b[_0xdd6807]=_0x5fe8b8<<0x10|_0x5fe8b8>>>0x10,_0x5f2da7[_0xdd6807]=_0x5fe8b8<<0x8|_0x5fe8b8>>>0x18,_0x1bbfc7[_0xdd6807]=_0x5fe8b8,_0x261952?(_0x261952=_0x5800fa^_0x98137c[_0x98137c[_0x98137c[_0x39c9c5^_0x5800fa]]],_0x1510b3^=_0x98137c[_0x98137c[_0x1510b3]]):_0x261952=_0x1510b3=0x1;}}());var _0x53e38a=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x26d902=_0x4ae566[_0x281397(0x309)]=_0x5d67e4[_0x281397(0x50d)]({'_doReset':function(){const _0x17f710=_0x281397;var _0x35c812;if(!(this[_0x17f710(0x192)]&&this['_keyPriorReset']===this[_0x17f710(0x140)])){for(var _0x57ead5=this['_keyPriorReset']=this[_0x17f710(0x140)],_0x5a478d=_0x57ead5[_0x17f710(0x20b)],_0x3ac10c=_0x57ead5[_0x17f710(0x3bf)]/0x4,_0x2f0389=this[_0x17f710(0x192)]=_0x3ac10c+0x6,_0x5c3eba=(_0x2f0389+0x1)*0x4,_0xc5898a=this['_keySchedule']=[],_0x92e94=0x0;_0x92e94<_0x5c3eba;_0x92e94++)_0x92e94<_0x3ac10c?_0xc5898a[_0x92e94]=_0x5a478d[_0x92e94]:(_0x35c812=_0xc5898a[_0x92e94-0x1],_0x92e94%_0x3ac10c?_0x3ac10c>0x6&&_0x92e94%_0x3ac10c==0x4&&(_0x35c812=_0x2d34ef[_0x35c812>>>0x18]<<0x18|_0x2d34ef[_0x35c812>>>0x10&0xff]<<0x10|_0x2d34ef[_0x35c812>>>0x8&0xff]<<0x8|_0x2d34ef[_0x35c812&0xff]):(_0x35c812=_0x35c812<<0x8|_0x35c812>>>0x18,_0x35c812=_0x2d34ef[_0x35c812>>>0x18]<<0x18|_0x2d34ef[_0x35c812>>>0x10&0xff]<<0x10|_0x2d34ef[_0x35c812>>>0x8&0xff]<<0x8|_0x2d34ef[_0x35c812&0xff],_0x35c812^=_0x53e38a[_0x92e94/_0x3ac10c|0x0]<<0x18),_0xc5898a[_0x92e94]=_0xc5898a[_0x92e94-_0x3ac10c]^_0x35c812);for(var _0x81dde1=this[_0x17f710(0x41f)]=[],_0x5d7324=0x0;_0x5d7324<_0x5c3eba;_0x5d7324++){var _0x92e94=_0x5c3eba-_0x5d7324;if(_0x5d7324%0x4)var _0x35c812=_0xc5898a[_0x92e94];else var _0x35c812=_0xc5898a[_0x92e94-0x4];_0x5d7324<0x4||_0x92e94<=0x4?_0x81dde1[_0x5d7324]=_0x35c812:_0x81dde1[_0x5d7324]=_0x1be198[_0x2d34ef[_0x35c812>>>0x18]]^_0x4efc2b[_0x2d34ef[_0x35c812>>>0x10&0xff]]^_0x5f2da7[_0x2d34ef[_0x35c812>>>0x8&0xff]]^_0x1bbfc7[_0x2d34ef[_0x35c812&0xff]];}}},'encryptBlock':function(_0x5ce5a8,_0x4842d7){const _0x23fda1=_0x281397;this[_0x23fda1(0x35a)](_0x5ce5a8,_0x4842d7,this[_0x23fda1(0x481)],_0x551064,_0x58f5c2,_0x4eed44,_0x464cab,_0x2d34ef);},'decryptBlock':function(_0x257d77,_0x2e188d){const _0x636e08=_0x281397;var _0x3b5785=_0x257d77[_0x2e188d+0x1];_0x257d77[_0x2e188d+0x1]=_0x257d77[_0x2e188d+0x3],_0x257d77[_0x2e188d+0x3]=_0x3b5785,this[_0x636e08(0x35a)](_0x257d77,_0x2e188d,this[_0x636e08(0x41f)],_0x1be198,_0x4efc2b,_0x5f2da7,_0x1bbfc7,_0x4d4b7a);var _0x3b5785=_0x257d77[_0x2e188d+0x1];_0x257d77[_0x2e188d+0x1]=_0x257d77[_0x2e188d+0x3],_0x257d77[_0x2e188d+0x3]=_0x3b5785;},'_doCryptBlock':function(_0x31fd62,_0x277aac,_0x564d23,_0x1d3f39,_0x4f2182,_0x2acf4e,_0x10733d,_0x42f7b5){for(var _0x2403b3=this['_nRounds'],_0x5c66d6=_0x31fd62[_0x277aac]^_0x564d23[0x0],_0x18ec1a=_0x31fd62[_0x277aac+0x1]^_0x564d23[0x1],_0x3adb0f=_0x31fd62[_0x277aac+0x2]^_0x564d23[0x2],_0x3f023c=_0x31fd62[_0x277aac+0x3]^_0x564d23[0x3],_0x3f23d4=0x4,_0x4ac155=0x1;_0x4ac155<_0x2403b3;_0x4ac155++){var _0x2b1f8c=_0x1d3f39[_0x5c66d6>>>0x18]^_0x4f2182[_0x18ec1a>>>0x10&0xff]^_0x2acf4e[_0x3adb0f>>>0x8&0xff]^_0x10733d[_0x3f023c&0xff]^_0x564d23[_0x3f23d4++],_0x15e44d=_0x1d3f39[_0x18ec1a>>>0x18]^_0x4f2182[_0x3adb0f>>>0x10&0xff]^_0x2acf4e[_0x3f023c>>>0x8&0xff]^_0x10733d[_0x5c66d6&0xff]^_0x564d23[_0x3f23d4++],_0x2b69a8=_0x1d3f39[_0x3adb0f>>>0x18]^_0x4f2182[_0x3f023c>>>0x10&0xff]^_0x2acf4e[_0x5c66d6>>>0x8&0xff]^_0x10733d[_0x18ec1a&0xff]^_0x564d23[_0x3f23d4++],_0x587d02=_0x1d3f39[_0x3f023c>>>0x18]^_0x4f2182[_0x5c66d6>>>0x10&0xff]^_0x2acf4e[_0x18ec1a>>>0x8&0xff]^_0x10733d[_0x3adb0f&0xff]^_0x564d23[_0x3f23d4++];_0x5c66d6=_0x2b1f8c,_0x18ec1a=_0x15e44d,_0x3adb0f=_0x2b69a8,_0x3f023c=_0x587d02;}var _0x2b1f8c=(_0x42f7b5[_0x5c66d6>>>0x18]<<0x18|_0x42f7b5[_0x18ec1a>>>0x10&0xff]<<0x10|_0x42f7b5[_0x3adb0f>>>0x8&0xff]<<0x8|_0x42f7b5[_0x3f023c&0xff])^_0x564d23[_0x3f23d4++],_0x15e44d=(_0x42f7b5[_0x18ec1a>>>0x18]<<0x18|_0x42f7b5[_0x3adb0f>>>0x10&0xff]<<0x10|_0x42f7b5[_0x3f023c>>>0x8&0xff]<<0x8|_0x42f7b5[_0x5c66d6&0xff])^_0x564d23[_0x3f23d4++],_0x2b69a8=(_0x42f7b5[_0x3adb0f>>>0x18]<<0x18|_0x42f7b5[_0x3f023c>>>0x10&0xff]<<0x10|_0x42f7b5[_0x5c66d6>>>0x8&0xff]<<0x8|_0x42f7b5[_0x18ec1a&0xff])^_0x564d23[_0x3f23d4++],_0x587d02=(_0x42f7b5[_0x3f023c>>>0x18]<<0x18|_0x42f7b5[_0x5c66d6>>>0x10&0xff]<<0x10|_0x42f7b5[_0x18ec1a>>>0x8&0xff]<<0x8|_0x42f7b5[_0x3adb0f&0xff])^_0x564d23[_0x3f23d4++];_0x31fd62[_0x277aac]=_0x2b1f8c,_0x31fd62[_0x277aac+0x1]=_0x15e44d,_0x31fd62[_0x277aac+0x2]=_0x2b69a8,_0x31fd62[_0x277aac+0x3]=_0x587d02;},'keySize':0x100/0x20});_0xd1fa3d['AES']=_0x5d67e4['_createHelper'](_0x26d902);}()),_0x2add40['AES'];}));}(_0x11f098));var _0x7ced5a=_0x11f098['exports'];const _0x4cc7e8=_0x1e31b9(_0x7ced5a);var _0x473a8b=_0x733855();const _0x55c165=_0x1e31b9(_0x473a8b);var _0x4ce675={'exports':{}};(function(_0x5f3512,_0x599688){(function(_0x2aa94e,_0x57e23a){const _0x1071d2=_0x3e32;_0x5f3512[_0x1071d2(0x1a3)]=_0x57e23a(_0x114f16());}(_0x51aa03,function(_0x4a957f){const _0x15ab33=_0x3e32;return _0x4a957f['enc'][_0x15ab33(0x230)];}));}(_0x4ce675));var _0x449e3f=_0x4ce675[_0x416c04(0x1a3)];const _0x4be341=_0x1e31b9(_0x449e3f);var _0x38cda3={'exports':{}};(function(_0x99dbc7,_0x166a52){(function(_0x3e2b66,_0x89e69f){const _0xaae0e7=_0x3e32;_0x99dbc7[_0xaae0e7(0x1a3)]=_0x89e69f(_0x114f16());}(_0x51aa03,function(_0x597ae8){const _0x3d06c7=_0x3e32;return(function(){const _0x57000e=_0x3e32;if(typeof ArrayBuffer==_0x57000e(0x2ca)){var _0x5b8910=_0x597ae8,_0x4ac36d=_0x5b8910[_0x57000e(0x4e1)],_0x15dbc1=_0x4ac36d[_0x57000e(0x513)],_0x5a9861=_0x15dbc1[_0x57000e(0x479)],_0x190077=_0x15dbc1[_0x57000e(0x479)]=function(_0xa94a51){const _0x15e214=_0x57000e;if(_0xa94a51 instanceof ArrayBuffer&&(_0xa94a51=new Uint8Array(_0xa94a51)),(_0xa94a51 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xa94a51 instanceof Uint8ClampedArray||_0xa94a51 instanceof Int16Array||_0xa94a51 instanceof Uint16Array||_0xa94a51 instanceof Int32Array||_0xa94a51 instanceof Uint32Array||_0xa94a51 instanceof Float32Array||_0xa94a51 instanceof Float64Array)&&(_0xa94a51=new Uint8Array(_0xa94a51['buffer'],_0xa94a51['byteOffset'],_0xa94a51['byteLength'])),_0xa94a51 instanceof Uint8Array){for(var _0x5949a3=_0xa94a51[_0x15e214(0x458)],_0x561a02=[],_0x741db8=0x0;_0x741db8<_0x5949a3;_0x741db8++)_0x561a02[_0x741db8>>>0x2]|=_0xa94a51[_0x741db8]<<0x18-_0x741db8%0x4*0x8;_0x5a9861[_0x15e214(0x2eb)](this,_0x561a02,_0x5949a3);}else _0x5a9861[_0x15e214(0x2e7)](this,arguments);};_0x190077['prototype']=_0x15dbc1;}}()),_0x597ae8['lib'][_0x3d06c7(0x513)];}));}(_0x38cda3));var _0x2a13c5=_0x38cda3[_0x416c04(0x1a3)];const _0x5840e7=_0x1e31b9(_0x2a13c5);var _0x66e6e4={'exports':{}};(function(_0x576e9e,_0x413c75){(function(_0x265a23,_0x198e51,_0x3671ae){const _0x5c1ab8=_0x3e32;_0x576e9e[_0x5c1ab8(0x1a3)]=_0x198e51(_0x114f16(),_0x47fced());}(_0x51aa03,function(_0x137311){const _0x525a91=_0x3e32;return _0x137311[_0x525a91(0x1e3)][_0x525a91(0x33d)]={'pad':function(){},'unpad':function(){}},_0x137311[_0x525a91(0x1e3)][_0x525a91(0x33d)];}));}(_0x66e6e4));var _0x2c3bfa=_0x66e6e4[_0x416c04(0x1a3)];const _0x351953=_0x1e31b9(_0x2c3bfa);function _0x553d84(_0x4ace9d,_0x153b45){const _0x3d64c1=_0x416c04,_0x109473=_0x153b45-_0x4ace9d[_0x3d64c1(0x26a)]%_0x153b45,_0x1b2519=String['fromCharCode'](_0x109473)[_0x3d64c1(0x41e)](_0x109473);return _0x4ace9d+_0x1b2519;}function _0x103cbb(_0x57b600,_0x10ddf5){const _0x205c74=_0x416c04,_0x4449e8=_0x5840e7[_0x205c74(0x194)](0x10),_0x4db54b=_0x553d84(_0x57b600,0x10),_0x27e29f=_0x4cc7e8[_0x205c74(0x3a6)](_0x4be341[_0x205c74(0x1a4)](_0x4db54b),_0x55c165[_0x205c74(0x1a4)](_0x10ddf5),{'iv':_0x4449e8,'padding':_0x351953});return _0x4449e8[_0x205c74(0x4af)](_0x27e29f[_0x205c74(0x328)])[_0x205c74(0xd0)](_0x55c165);}function _0x26f163(){const _0xa87fd=_0x416c04,_0xfa8bd3=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0xa87fd(0x16c)];if(_0xfa8bd3){const _0x2c55bf={'time':Math[_0xa87fd(0x1e0)](Date[_0xa87fd(0x438)]()/0x3e8),'domain':location[_0xa87fd(0x312)]};return _0x103cbb(JSON['stringify'](_0x2c55bf),_0xfa8bd3);}}var _0x4c1242=Object[_0x416c04(0x2e4)],_0x5b9fbf=Object[_0x416c04(0x4e2)],_0x5a265c=(_0x276455,_0x297d3a,_0x591d89,_0x3236b5)=>{const _0x544c4d=_0x416c04;for(var _0x23d9e6=_0x3236b5>0x1?void 0x0:_0x3236b5?_0x5b9fbf(_0x297d3a,_0x591d89):_0x297d3a,_0x565989=_0x276455[_0x544c4d(0x26a)]-0x1,_0x128046;_0x565989>=0x0;_0x565989--)(_0x128046=_0x276455[_0x565989])&&(_0x23d9e6=(_0x3236b5?_0x128046(_0x297d3a,_0x591d89,_0x23d9e6):_0x128046(_0x23d9e6))||_0x23d9e6);return _0x3236b5&&_0x23d9e6&&_0x4c1242(_0x297d3a,_0x591d89,_0x23d9e6),_0x23d9e6;},_0x2acc99=(_0x30893d,_0x4ad35d)=>(_0x18a8a1,_0x397fe4)=>_0x4ad35d(_0x18a8a1,_0x397fe4,_0x30893d);let _0x25f587=class{constructor(_0x2388f8){const _0x3c860f=_0x416c04;this[_0x3c860f(0x4a6)]=_0x2388f8,this[_0x3c860f(0x44e)]();}[_0x416c04(0x44e)](){const _0x1b8571=_0x416c04;this[_0x1b8571(0x4a6)][_0x1b8571(0x22b)]({'interceptor':(_0x15a503,_0x785838)=>{const _0x423787=_0x1b8571,_0x455e95=_0x15a503['headers'],_0x4c924f=_0x26f163();return _0x4c924f&&_0x455e95[_0x423787(0x4ce)]('x-univer-host',_0x4c924f),_0x785838(_0x15a503);}});}};_0x25f587=_0x5a265c([_0x2acc99(0x0,_0x3d563c[_0x416c04(0x4d1)](_0x1571b5[_0x416c04(0x4db)]))],_0x25f587);var _0x419c3a=Object[_0x416c04(0x2e4)],_0x537c5e=Object[_0x416c04(0x4e2)],_0x5e9679=(_0x4abc1c,_0x81fb8f,_0x5829f8,_0xbb7e3c)=>{const _0x417a0b=_0x416c04;for(var _0x3dd793=_0xbb7e3c>0x1?void 0x0:_0xbb7e3c?_0x537c5e(_0x81fb8f,_0x5829f8):_0x81fb8f,_0x6494ce=_0x4abc1c[_0x417a0b(0x26a)]-0x1,_0x57b477;_0x6494ce>=0x0;_0x6494ce--)(_0x57b477=_0x4abc1c[_0x6494ce])&&(_0x3dd793=(_0xbb7e3c?_0x57b477(_0x81fb8f,_0x5829f8,_0x3dd793):_0x57b477(_0x3dd793))||_0x3dd793);return _0xbb7e3c&&_0x3dd793&&_0x419c3a(_0x81fb8f,_0x5829f8,_0x3dd793),_0x3dd793;},_0x5acdc3=(_0x5d7aaf,_0x314fba)=>(_0x143db0,_0x1be8cd)=>_0x314fba(_0x143db0,_0x1be8cd,_0x5d7aaf);const _0x13c680=[_0x416c04(0x298),_0x416c04(0x4b6),'image/jpg',_0x416c04(0x2ce),_0x416c04(0x256)],_0x3fd219=0x5*0x400*0x400,_0x4ada1f='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',_0x2e52ac='/universer-api/stream/file/upload',_0x1d274e=_0x416c04(0x4ea),_0x26ef60=_0x416c04(0x38b);_0x1b5475[_0x416c04(0x454)]=class{constructor(_0x25e87a,_0x1caba1,_0x5a05b1){const _0x4e0f89=_0x416c04;_0x10d0d4(this,_0x4e0f89(0x166),0x0),_0x10d0d4(this,'_change$',new _0x10d074[(_0x4e0f89(0x178))]()),_0x10d0d4(this,_0x4e0f89(0x52e),this['_change$']),_0x10d0d4(this,_0x4e0f89(0x3ad),new Map()),(this[_0x4e0f89(0x4a6)]=_0x25e87a,this['_configService']=_0x1caba1,this[_0x4e0f89(0x468)]=_0x5a05b1);}[_0x416c04(0x4ae)](_0x551525){const _0x193bc5=_0x416c04;this[_0x193bc5(0x166)]=_0x551525,this[_0x193bc5(0xce)][_0x193bc5(0x50f)](_0x551525);}[_0x416c04(0x176)](_0x4b34e7,_0x19cf5c){const _0x95092b=_0x416c04;if(_0x19cf5c===_0x1c4a0c[_0x95092b(0xe0)][_0x95092b(0x356)]){const _0x1a2b33=new Image();return _0x1a2b33[_0x95092b(0x20a)]=_0x4b34e7,_0x1a2b33;}return this[_0x95092b(0x3ad)][_0x95092b(0x529)](_0x4b34e7);}['addImageSourceCache'](_0x46219b,_0x50c0de,_0x31b0fd){const _0xf16fe8=_0x416c04;_0x50c0de===_0x1c4a0c[_0xf16fe8(0xe0)][_0xf16fe8(0x356)]||_0x31b0fd==null||this[_0xf16fe8(0x3ad)][_0xf16fe8(0x4ce)](_0x46219b,_0x31b0fd);}async[_0x416c04(0x152)](_0x14f56c){const _0x30488e=_0x416c04;try{const _0x4885c5=this[_0x30488e(0x506)](this[_0x30488e(0x4e0)](),''+_0x14f56c),_0x435139=(await this[_0x30488e(0x4a6)][_0x30488e(0x529)](_0x4885c5))[_0x30488e(0x524)];if(_0x435139[_0x30488e(0x4b1)]&&_0x435139[_0x30488e(0x4b1)][_0x30488e(0x1dc)]===_0x5d073a['OK']){const _0x9064fd=new URL(_0x435139[_0x30488e(0x4a0)],this[_0x30488e(0x3dd)]())[_0x30488e(0xd0)]();return Promise[_0x30488e(0x2e0)](_0x9064fd);}return Promise['reject'](_0x435139['error']);}catch(_0x273916){return Promise[_0x30488e(0x3ff)](_0x273916);}}async[_0x416c04(0xad)](_0x4399f8){const _0x51c4ea=_0x416c04;let _0x2204a5='';if(!_0x13c680['includes'](_0x4399f8[_0x51c4ea(0x6e)]))return this[_0x51c4ea(0x4ee)](),Promise['reject'](new Error(_0x1c4a0c['ImageUploadStatusType'][_0x51c4ea(0x155)]));if(_0x4399f8[_0x51c4ea(0x440)]>_0x3fd219)return this[_0x51c4ea(0x4ee)](),Promise[_0x51c4ea(0x3ff)](new Error(_0x1c4a0c[_0x51c4ea(0x34c)]['ERROR_EXCEED_SIZE']));try{const _0x309ef3=new FormData();_0x309ef3[_0x51c4ea(0x453)](_0x51c4ea(0x2b5),_0x4399f8);const _0x316898=this[_0x51c4ea(0x468)][_0x51c4ea(0x9c)](),_0x5f0ace=_0x316898==null?void 0x0:_0x316898[_0x51c4ea(0x18e)]();if(!_0x5f0ace)throw new Error(_0x51c4ea(0x47d));const _0x236e85=this[_0x51c4ea(0x100)]()+_0x51c4ea(0x3be)+_0x4399f8[_0x51c4ea(0x440)][_0x51c4ea(0xd0)]()+_0x51c4ea(0xcc)+_0x17b2a1[_0x51c4ea(0x10a)]+_0x51c4ea(0x48a)+encodeURIComponent(_0x5f0ace),_0x2752ed=await(await fetch(_0x236e85,{'method':'POST','body':_0x309ef3}))[_0x51c4ea(0x327)]();if(typeof _0x2752ed[_0x51c4ea(0x7e)]!='string')return this[_0x51c4ea(0x4ee)](),Promise[_0x51c4ea(0x3ff)](new Error(_0x1c4a0c[_0x51c4ea(0x34c)]['ERROR_IMAGE']));_0x2204a5=_0x2752ed[_0x51c4ea(0x7e)];}catch{return this[_0x51c4ea(0x4ee)](),Promise[_0x51c4ea(0x3ff)](new Error(_0x1c4a0c[_0x51c4ea(0x34c)]['ERROR_IMAGE']));}return new Promise((_0x1f0d82,_0x17557d)=>{const _0x2d0eb1=_0x51c4ea,_0x21daf7=new FileReader();_0x21daf7[_0x2d0eb1(0x3a3)](_0x4399f8),_0x21daf7[_0x2d0eb1(0xaa)]=_0x113691=>{const _0x4f2b28=_0x2d0eb1;var _0x2e2e80;const _0x347df5=(_0x2e2e80=_0x113691['target'])==null?void 0x0:_0x2e2e80[_0x4f2b28(0x1a1)];if(_0x347df5==null){this[_0x4f2b28(0x4ee)](),_0x17557d(new Error(_0x1c4a0c[_0x4f2b28(0x34c)]['ERROR_IMAGE']));return;}const _0x31eacf=_0x3d563c['Tools'][_0x4f2b28(0x517)](0x6);_0x1f0d82({'imageId':_0x31eacf,'imageSourceType':_0x1c4a0c[_0x4f2b28(0xe0)][_0x4f2b28(0xa0)],'source':_0x2204a5,'base64Cache':_0x347df5,'status':_0x1c4a0c['ImageUploadStatusType']['SUCCUSS']}),this[_0x4f2b28(0x4ee)]();};});}['_getUploadFileURL'](){const _0x4c8d0a=_0x416c04;var _0x2ba7c7,_0x34406e;const _0x17d212=this[_0x4c8d0a(0xd6)][_0x4c8d0a(0x33a)](_0x4ada1f),_0x355e7d=this[_0x4c8d0a(0xd6)]['getConfig'](_0x40a44f);return(_0x34406e=(_0x2ba7c7=_0x355e7d==null?void 0x0:_0x355e7d[_0x4c8d0a(0x2f3)])!=null?_0x2ba7c7:_0x17d212)!=null?_0x34406e:_0x2e52ac;}[_0x416c04(0x4e0)](){const _0x5daa61=_0x416c04;var _0x5ce876,_0x5e948b;const _0x61553d=this[_0x5daa61(0xd6)][_0x5daa61(0x33a)](_0x1d274e),_0x411c57=this[_0x5daa61(0xd6)][_0x5daa61(0x33a)](_0x40a44f);return(_0x5e948b=(_0x5ce876=_0x411c57==null?void 0x0:_0x411c57[_0x5daa61(0x27f)])!=null?_0x5ce876:_0x61553d)!=null?_0x5e948b:_0x26ef60;}[_0x416c04(0x3dd)](){const _0x45baf8=_0x416c04;var _0x3c5a2d;const _0x1a4a53=this['_configService'][_0x45baf8(0x33a)](_0x40a44f);return(_0x3c5a2d=_0x1a4a53==null?void 0x0:_0x1a4a53[_0x45baf8(0x3df)])!=null?_0x3c5a2d:location[_0x45baf8(0x103)];}[_0x416c04(0x506)](_0xaa0c0a,_0x31fb7b){const _0x347aee=_0x416c04;return _0xaa0c0a[_0x347aee(0x26b)](_0x347aee(0x213),_0x31fb7b);}[_0x416c04(0x4ee)](){const _0x58b292=_0x416c04;this[_0x58b292(0x166)]-=0x1,this[_0x58b292(0xce)][_0x58b292(0x50f)](this[_0x58b292(0x166)]);}},_0x1b5475['ImageIoService']=_0x5e9679([_0x5acdc3(0x0,_0x3d563c[_0x416c04(0x4d1)](_0x1571b5['HTTPService'])),_0x5acdc3(0x1,_0x3d563c[_0x416c04(0x4f1)]),_0x5acdc3(0x2,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c[_0x416c04(0x127)]))],_0x1b5475[_0x416c04(0x454)]);var _0x504f56=Object[_0x416c04(0x2e4)],_0x1a80ab=Object[_0x416c04(0x4e2)],_0x2d3eb2=(_0x4b0890,_0x38a532,_0x9bd81a,_0x5dbd97)=>{const _0x1e2f8b=_0x416c04;for(var _0x327ec8=_0x5dbd97>0x1?void 0x0:_0x5dbd97?_0x1a80ab(_0x38a532,_0x9bd81a):_0x38a532,_0x5bec60=_0x4b0890[_0x1e2f8b(0x26a)]-0x1,_0x4cd3b3;_0x5bec60>=0x0;_0x5bec60--)(_0x4cd3b3=_0x4b0890[_0x5bec60])&&(_0x327ec8=(_0x5dbd97?_0x4cd3b3(_0x38a532,_0x9bd81a,_0x327ec8):_0x4cd3b3(_0x327ec8))||_0x327ec8);return _0x5dbd97&&_0x327ec8&&_0x504f56(_0x38a532,_0x9bd81a,_0x327ec8),_0x327ec8;},_0x5bd460=(_0x1fe99b,_0x2c87dc)=>(_0x3458a8,_0x19306f)=>_0x2c87dc(_0x3458a8,_0x19306f,_0x1fe99b);let _0x57372f=class extends _0x3d563c['RxDisposable']{constructor(_0x5ea1cb,_0x485eba,_0x22d47d,_0x3cf307,_0x18c72a){const _0xab8489=_0x416c04;super(),this['_injector']=_0x5ea1cb,this[_0xab8489(0x468)]=_0x485eba,this[_0xab8489(0x448)]=_0x22d47d,this[_0xab8489(0x101)]=_0x3cf307,this[_0xab8489(0x4c9)]=_0x18c72a,this['_initUnitPermissionChange'](),this[_0xab8489(0x2bb)]();}[_0x416c04(0x2bb)](){const _0x3f2f12=_0x416c04,_0x1465b7=async _0x3ee7ba=>{const _0x2118ae=_0x3e32;(await this[_0x2118ae(0x101)][_0x2118ae(0x92)](_0x3ee7ba))['event$']['pipe'](_0x2da86d[_0x2118ae(0x1e6)](_0x102c38=>_0x102c38['eventID']===_0x520737[_0x2118ae(0x52d)]['SHOULD_CLOSE_CONN']),_0x2da86d[_0x2118ae(0x288)](this[_0x2118ae(0x2a9)]))['subscribe'](_0x533713=>{const _0x275e75=_0x2118ae,_0x131d44=_0x533713,{reason:_0xb6f95b}=_0x131d44[_0x275e75(0xa1)];this[_0x275e75(0x4c7)][_0x275e75(0x529)](_0xe60abc[_0x275e75(0x1b7)])[_0x275e75(0x1a7)]({'type':_0x4278c0[_0x275e75(0x2de)][_0x275e75(0x4b9)],'content':this[_0x275e75(0x4c9)]['t']('collaboration.closeRoom')+'('+_0xb6f95b+')'}),this['_permissionService'][_0x275e75(0x35e)](new _0xa13da4[(_0x275e75(0x235))](_0x3ee7ba)['id'],!0x1),this[_0x275e75(0x101)][_0x275e75(0x509)](_0x3ee7ba);});};_0x10d074[_0x3f2f12(0x3cd)](this['_univerInstanceService'][_0x3f2f12(0x3a1)](_0x3d563c[_0x3f2f12(0x3b1)]['UNIVER_SHEET']),this[_0x3f2f12(0x468)][_0x3f2f12(0x3a1)](_0x3d563c[_0x3f2f12(0x3b1)][_0x3f2f12(0x465)]))['pipe'](_0x2da86d[_0x3f2f12(0x2b8)](_0x12035e=>_0x12035e[_0x3f2f12(0x18e)]()),_0x2da86d[_0x3f2f12(0x1e6)](_0xe6f01e=>!_0x3d563c[_0x3f2f12(0x400)](_0xe6f01e)),_0x2da86d[_0x3f2f12(0x288)](this[_0x3f2f12(0x2a9)]))['subscribe'](_0x50761a=>{_0x1465b7(_0x50761a);});}['_initUnitPermissionChange'](){const _0x272f0b=_0x416c04,_0x5aa20b=async _0x405339=>{const _0xf4b998=_0x3e32;(await this['_collaborationSessionService'][_0xf4b998(0x92)](_0x405339))['event$'][_0xf4b998(0x123)](_0x2da86d[_0xf4b998(0x1e6)](_0xb3c16b=>_0xb3c16b[_0xf4b998(0xac)]===_0x520737['CollaborationEvent'][_0xf4b998(0x378)]),_0x2da86d[_0xf4b998(0x288)](this[_0xf4b998(0x2a9)]))['subscribe'](_0x3dbb1c=>{const _0x17604c=_0xf4b998,_0x31492b=_0x3dbb1c,{objectId:_0x2bae0b}=_0x31492b[_0x17604c(0xa1)],_0x3d2363=this[_0x17604c(0x4c7)][_0x17604c(0x529)](_0x17ef8a[_0x17604c(0x2c7)]);_0x2bae0b===_0x405339?_0x3d2363[_0x17604c(0x1f3)](_0x405339):_0x3d2363[_0x17604c(0x245)](_0x405339,_0x2bae0b);});};_0x10d074[_0x272f0b(0x3cd)](this[_0x272f0b(0x468)][_0x272f0b(0x3a1)](_0x3d563c['UniverInstanceType']['UNIVER_SHEET']),this[_0x272f0b(0x468)][_0x272f0b(0x3a1)](_0x3d563c[_0x272f0b(0x3b1)][_0x272f0b(0x465)]))[_0x272f0b(0x123)](_0x2da86d[_0x272f0b(0x2b8)](_0x4bda02=>_0x4bda02[_0x272f0b(0x18e)]()),_0x2da86d['filter'](_0x526ec8=>!_0x3d563c[_0x272f0b(0x400)](_0x526ec8)),_0x2da86d['takeUntil'](this[_0x272f0b(0x2a9)]))[_0x272f0b(0x31f)](_0x1ac8af=>{_0x5aa20b(_0x1ac8af);});}};_0x57372f=_0x2d3eb2([_0x5bd460(0x0,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c[_0x416c04(0x25f)])),_0x5bd460(0x1,_0x3d563c['IUniverInstanceService']),_0x5bd460(0x2,_0x3d563c[_0x416c04(0x3d3)]),_0x5bd460(0x3,_0x3d563c['Inject'](_0x1b5475[_0x416c04(0x364)])),_0x5bd460(0x4,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c['LocaleService']))],_0x57372f);var _0x57b36c=Object[_0x416c04(0x2e4)],_0x17c2bb=Object[_0x416c04(0x4e2)],_0x48df40=(_0x15310b,_0x365db0,_0x17c60c,_0x8bf2f8)=>{const _0x155e75=_0x416c04;for(var _0x50bfd8=_0x8bf2f8>0x1?void 0x0:_0x8bf2f8?_0x17c2bb(_0x365db0,_0x17c60c):_0x365db0,_0x51d718=_0x15310b[_0x155e75(0x26a)]-0x1,_0x512368;_0x51d718>=0x0;_0x51d718--)(_0x512368=_0x15310b[_0x51d718])&&(_0x50bfd8=(_0x8bf2f8?_0x512368(_0x365db0,_0x17c60c,_0x50bfd8):_0x512368(_0x50bfd8))||_0x50bfd8);return _0x8bf2f8&&_0x50bfd8&&_0x57b36c(_0x365db0,_0x17c60c,_0x50bfd8),_0x50bfd8;},_0x32ae45=(_0x577773,_0x3af8ad)=>(_0x13d347,_0x2444cc)=>_0x3af8ad(_0x13d347,_0x2444cc,_0x577773);_0x1b5475[_0x416c04(0xe5)]=class{constructor(_0x4ac9a9,_0x4770ac){const _0x415685=_0x416c04;this[_0x415685(0xd6)]=_0x4ac9a9,this[_0x415685(0x4a6)]=_0x4770ac;}async[_0x416c04(0x3ca)](_0x133566,_0x4c93ed){const _0x36cf15=_0x416c04;var _0x288a62;const {unitID:_0x13ebc7,type:_0x46a142,revision:_0x1eaaa8=0x0}=_0x4c93ed,_0x38393f=this['_getSnapshotAPIPrefix']()+'/'+_0x46a142+_0x36cf15(0x3e0)+_0x13ebc7+_0x36cf15(0x3e2)+_0x1eaaa8,_0x34fd71=(await this[_0x36cf15(0x4a6)][_0x36cf15(0x529)](_0x38393f))['body'],_0x394b67=(_0x288a62=_0x34fd71[_0x36cf15(0x130)])==null?void 0x0:_0x288a62[_0x36cf15(0x405)];if(_0x394b67){const _0x3ed90d=_0x394b67==null?void 0x0:_0x394b67['originalMeta'],_0x53488b=_0x520737['textEncoder']['encode'](_0x520737['b64DecodeUnicode'](_0x3ed90d));_0x394b67[_0x36cf15(0xc5)]=_0x53488b,Object[_0x36cf15(0x486)](_0x394b67[_0x36cf15(0x265)])[_0x36cf15(0x124)](([,_0x2b0e6d])=>{const _0x365538=_0x36cf15,_0xa4cc90=_0x2b0e6d[_0x365538(0xc5)],_0x50a723=_0x520737[_0x365538(0x32e)]['encode'](_0x520737['b64DecodeUnicode'](_0xa4cc90));_0x2b0e6d[_0x365538(0xc5)]=_0x50a723;});}return _0x34fd71;}async[_0x416c04(0x342)](_0xaa3fa1,_0x43a701){const _0x1ef7bb=_0x416c04,{unitID:_0x3f6df7,type:_0x1b010a,blockID:_0x322154}=_0x43a701,_0x555100=this[_0x1ef7bb(0x78)]()+'/'+_0x1b010a+_0x1ef7bb(0x3e0)+_0x3f6df7+'/block/'+_0x322154;return(await this[_0x1ef7bb(0x4a6)][_0x1ef7bb(0x529)](_0x555100))[_0x1ef7bb(0x524)];}async['getDeserializedSheetBlock'](_0x4b3616,_0x30038a){const _0x5f40ae=_0x416c04,{unitID:_0x568e03,type:_0x804d68,blockID:_0x33b509}=_0x30038a,_0x422c0c=this[_0x5f40ae(0x78)]()+_0x5f40ae(0x50b)+_0x804d68+_0x5f40ae(0x3e0)+_0x568e03+_0x5f40ae(0x50b)+_0x33b509;return(await this[_0x5f40ae(0x4a6)][_0x5f40ae(0x529)](_0x422c0c))[_0x5f40ae(0x524)];}async[_0x416c04(0x8c)](_0x4c1c1e,_0x4045f6){const _0x3060f7=_0x416c04,{unitID:_0x4b6e1a,type:_0x2d104f,from:_0x357371,to:_0x3b3a2c}=_0x4045f6,_0x344d9f=this[_0x3060f7(0x78)]()+'/'+_0x2d104f+'/unit/'+_0x4b6e1a+_0x3060f7(0x203)+_0x357371+_0x3060f7(0x96)+_0x3b3a2c;return(await this[_0x3060f7(0x4a6)][_0x3060f7(0x529)](_0x344d9f))[_0x3060f7(0x524)];}['_getSnapshotAPIPrefix'](){const _0x3007eb=_0x416c04;var _0x3ca541;return(_0x3ca541=this[_0x3007eb(0xd6)][_0x3007eb(0x33a)](_0x53b089))!=null?_0x3ca541:this['_getAPIPrefix']();}[_0x416c04(0x78)](){const _0x2f6a52=_0x416c04;var _0x2b8ffb,_0x5e2ca1;const _0xc99541=this[_0x2f6a52(0xd6)]['getConfig'](_0x3f11d2),_0x37facf=this[_0x2f6a52(0xd6)]['getConfig'](_0x40a44f);return(_0x5e2ca1=(_0x2b8ffb=_0x37facf==null?void 0x0:_0x37facf['snapshotServerUrl'])!=null?_0x2b8ffb:_0xc99541)!=null?_0x5e2ca1:_0x473ff6;}async[_0x416c04(0x2a2)](_0x94489b,_0x31faaf){const _0xd955db=_0x416c04,_0x4d4a77='/universer-api/snapshot/'+_0x31faaf[_0xd955db(0x6e)]+_0xd955db(0x3e0)+_0x31faaf[_0xd955db(0x280)]+'/resources';return(await this[_0xd955db(0x4a6)][_0xd955db(0x529)](_0x4d4a77,{'params':{'resourceId':JSON[_0xd955db(0x420)](_0x31faaf[_0xd955db(0x1ae)])}}))[_0xd955db(0x524)];}[_0x416c04(0x418)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x416c04(0x2a3)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x416c04(0x1d7)](){const _0x563f46=_0x416c04;throw new Error(_0x563f46(0x1cd));}[_0x416c04(0x2c2)](){const _0x4266a6=_0x416c04;throw new Error(_0x4266a6(0x1cd));}[_0x416c04(0x457)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},_0x1b5475[_0x416c04(0xe5)]=_0x48df40([_0x32ae45(0x0,_0x3d563c['IConfigService']),_0x32ae45(0x1,_0x3d563c[_0x416c04(0x4d1)](_0x1571b5[_0x416c04(0x4db)]))],_0x1b5475['SnapshotServerOverHTTPService']);var _0x3c616a=Object[_0x416c04(0x2e4)],_0x339d10=Object[_0x416c04(0x4e2)],_0x3947ae=(_0x5f4752,_0xdb4852,_0x2811d6,_0x1aa307)=>{const _0x22840c=_0x416c04;for(var _0x10abf0=_0x1aa307>0x1?void 0x0:_0x1aa307?_0x339d10(_0xdb4852,_0x2811d6):_0xdb4852,_0x8b588=_0x5f4752[_0x22840c(0x26a)]-0x1,_0xace193;_0x8b588>=0x0;_0x8b588--)(_0xace193=_0x5f4752[_0x8b588])&&(_0x10abf0=(_0x1aa307?_0xace193(_0xdb4852,_0x2811d6,_0x10abf0):_0xace193(_0x10abf0))||_0x10abf0);return _0x1aa307&&_0x10abf0&&_0x3c616a(_0xdb4852,_0x2811d6,_0x10abf0),_0x10abf0;},_0x17c6e6=(_0x1c3d2d,_0x55cffd)=>(_0xf213a8,_0x7f058e)=>_0x55cffd(_0xf213a8,_0x7f058e,_0x1c3d2d);let _0x18fc39=class extends _0x3d563c['LocalUndoRedoService']{constructor(_0x5277ff,_0x47a1c7,_0x4fd0c7,_0x1f1eac,_0x1f0f12){const _0x2bf56c=_0x416c04;super(_0x5277ff,_0x47a1c7,_0x4fd0c7),this['_transformService']=_0x1f1eac,this[_0x2bf56c(0x4ff)]=_0x1f0f12;}[_0x416c04(0x314)](_0x16c465,_0x5dc11d){const _0x2668a5=_0x416c04,_0x11e5bd=this['_getUndoStack'](_0x16c465);if(_0x11e5bd)try{const _0x5c2d29=this['_transformStack'](_0x11e5bd,_0x5dc11d);this[_0x2668a5(0x4c2)](_0x16c465,_0x5c2d29);}catch(_0x55c244){this[_0x2668a5(0x4ff)][_0x2668a5(0x4b1)](_0x2668a5(0x267),_0x55c244),this['_clearUndo'](_0x16c465);}const _0x2b8645=this[_0x2668a5(0x507)](_0x16c465);if(_0x2b8645)try{const _0x231df6=this[_0x2668a5(0x27d)](_0x2b8645,_0x5dc11d);this[_0x2668a5(0x447)](_0x16c465,_0x231df6);}catch(_0x253216){this[_0x2668a5(0x4ff)]['error'](_0x253216),this[_0x2668a5(0x423)](_0x16c465);}}[_0x416c04(0x4ac)](_0x166924){const _0x246bf1=_0x416c04,_0x503bc5=this[_0x246bf1(0x426)](_0x166924);_0x503bc5&&(_0x503bc5['length']=0x0,this[_0x246bf1(0x463)]());}[_0x416c04(0x423)](_0x7d7880){const _0x67034b=_0x416c04,_0x1f8325=this[_0x67034b(0x507)](_0x7d7880);_0x1f8325&&(_0x1f8325[_0x67034b(0x26a)]=0x0,this[_0x67034b(0x463)]());}[_0x416c04(0x4c2)](_0x159154,_0x3bd58e){const _0x3c8163=_0x416c04;this[_0x3c8163(0x4eb)][_0x3c8163(0x4ce)](_0x159154,_0x3bd58e),this[_0x3c8163(0x463)]();}['_substituteRedoStack'](_0x5cfe64,_0x36d453){const _0x3c5f84=_0x416c04;this[_0x3c5f84(0x496)][_0x3c5f84(0x4ce)](_0x5cfe64,_0x36d453),this[_0x3c5f84(0x463)]();}[_0x416c04(0x27d)](_0xc391f6,_0x382ec6){const _0x2a9126=_0x416c04,_0x45d109=[];let _0x4420a8=_0x382ec6,_0xbf210e=_0x382ec6;for(let _0x2d0e3e=_0xc391f6['length']-0x1;_0x2d0e3e>=0x0;_0x2d0e3e--){const {unitID:_0x351326,undoMutations:_0x24af6c,redoMutations:_0x457c27}=_0xc391f6[_0x2d0e3e],_0x22085=this[_0x2a9126(0x392)][_0x2a9126(0x3a8)](_0x4420a8,_0x24af6c),_0x472fbd=this[_0x2a9126(0x392)]['transformMutationsWithChangeset'](_0xbf210e,_0x457c27);if(_0x520737[_0x2a9126(0x3c4)](_0x22085)||_0x520737['isTransformMutationsWithChangesetFailure'](_0x472fbd)){this[_0x2a9126(0x4ff)][_0x2a9126(0x4b1)](_0x2a9126(0x267),_0x2a9126(0x2c9),_0x22085,_0x472fbd);break;}_0x4420a8=_0x22085[_0x2a9126(0x3b4)],_0xbf210e=_0x472fbd[_0x2a9126(0x3b4)],_0x45d109[_0x2a9126(0x1e9)]({'unitID':_0x351326,'undoMutations':_0x22085[_0x2a9126(0x85)],'redoMutations':_0x472fbd[_0x2a9126(0x85)]});}return _0x45d109[_0x2a9126(0x3ba)]();}};_0x18fc39=_0x3947ae([_0x17c6e6(0x0,_0x3d563c[_0x416c04(0x127)]),_0x17c6e6(0x1,_0x3d563c[_0x416c04(0x3e8)]),_0x17c6e6(0x2,_0x3d563c[_0x416c04(0x45e)]),_0x17c6e6(0x3,_0x520737['ITransformService']),_0x17c6e6(0x4,_0x3d563c[_0x416c04(0x2fd)])],_0x18fc39);class _0x3f4770 extends _0x3d563c[_0x416c04(0x9b)]{constructor(){const _0x54a687=_0x416c04;super(),_0x10d0d4(this,_0x54a687(0x18d)),this[_0x54a687(0x18d)]=_0x10d074[_0x54a687(0x485)](window,_0x54a687(0x293))[_0x54a687(0x123)](_0x10d074[_0x54a687(0x288)](this[_0x54a687(0x2a9)]),_0x10d074[_0x54a687(0xd9)](0x1),_0x10d074['mapTo'](void 0x0));}[_0x416c04(0x4e6)](_0x342817,_0xf0c619,_0x11d41d=!0x1){const _0x2c9613=_0x416c04,_0x25eb62=new URL(window[_0x2c9613(0x8a)][_0x2c9613(0x24e)]);_0x25eb62['searchParams'][_0x2c9613(0x4ce)](_0x342817,_0xf0c619),_0x11d41d?window['history'][_0x2c9613(0xb7)]('','',_0x25eb62[_0x2c9613(0xd0)]()):window[_0x2c9613(0x381)]['pushState']('','',_0x25eb62[_0x2c9613(0xd0)]());}['removeParam'](_0x13b35a,_0x1145b3=!0x1){const _0x3fdaa7=_0x416c04,_0x47e746=new URL(window[_0x3fdaa7(0x8a)][_0x3fdaa7(0x24e)]);_0x47e746[_0x3fdaa7(0x300)][_0x3fdaa7(0xe8)](_0x13b35a),_0x1145b3?window['history'][_0x3fdaa7(0xb7)]('','',_0x47e746[_0x3fdaa7(0xd0)]()):window[_0x3fdaa7(0x381)][_0x3fdaa7(0x1b1)]('','',_0x47e746[_0x3fdaa7(0xd0)]());}[_0x416c04(0x72)](_0x1c8cc3){const _0x4a76bf=_0x416c04;var _0x6381c0;return(_0x6381c0=new URL(window[_0x4a76bf(0x8a)]['href'])[_0x4a76bf(0x300)][_0x4a76bf(0x529)](_0x1c8cc3))!=null?_0x6381c0:void 0x0;}}var _0x1b9596=Object[_0x416c04(0x2e4)],_0xa9f801=Object[_0x416c04(0x4e2)],_0xdc5d9c=(_0x1e7002,_0x51d8e1,_0x232e7d)=>_0x51d8e1 in _0x1e7002?_0x1b9596(_0x1e7002,_0x51d8e1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x232e7d}):_0x1e7002[_0x51d8e1]=_0x232e7d,_0xd4032e=(_0x1fee67,_0x51e4cb,_0x2fe9c9,_0xee6b10)=>{const _0x444191=_0x416c04;for(var _0x35ab9c=_0xee6b10>0x1?void 0x0:_0xee6b10?_0xa9f801(_0x51e4cb,_0x2fe9c9):_0x51e4cb,_0xe34dad=_0x1fee67[_0x444191(0x26a)]-0x1,_0x46a9b9;_0xe34dad>=0x0;_0xe34dad--)(_0x46a9b9=_0x1fee67[_0xe34dad])&&(_0x35ab9c=(_0xee6b10?_0x46a9b9(_0x51e4cb,_0x2fe9c9,_0x35ab9c):_0x46a9b9(_0x35ab9c))||_0x35ab9c);return _0xee6b10&&_0x35ab9c&&_0x1b9596(_0x51e4cb,_0x2fe9c9,_0x35ab9c),_0x35ab9c;},_0x2ce7a9=(_0x12978b,_0x14e296)=>(_0x400912,_0x4b94d0)=>_0x14e296(_0x400912,_0x4b94d0,_0x12978b),_0x59d20b=(_0x4f4c66,_0x5a1b67,_0x20bfdd)=>_0xdc5d9c(_0x4f4c66,_0x5a1b67+'',_0x20bfdd);const _0x163230=_0x416c04(0x424);_0x1b5475[_0x416c04(0x19a)]=class extends _0x3d563c['Plugin']{constructor(_0x35b5e2=_0x4dcecf,_0x412f2b,_0x4074df,_0x360592,_0x32448e){const _0xad5a3b=_0x416c04;super(),this['_config']=_0x35b5e2,this['_logService']=_0x412f2b,this['_renderManagerService']=_0x4074df,this['_injector']=_0x360592,this[_0xad5a3b(0xd6)]=_0x32448e;const {..._0x4bf137}=this[_0xad5a3b(0x3d9)];this[_0xad5a3b(0xd6)]['setConfig'](_0x40a44f,_0x4bf137);}['onStarting'](){const _0x1b7803=_0x416c04;this[_0x1b7803(0x1d6)](),this[_0x1b7803(0xd3)]();}['onReady'](){const _0x3f9f1a=_0x416c04;_0x3d563c['touchDependencies'](this[_0x3f9f1a(0x4c7)],[[_0x20f5fc]]);}[_0x416c04(0x117)](){const _0xc70b55=_0x416c04;this[_0xc70b55(0x491)]();}[_0x416c04(0x1d6)](){const _0x266bf1=_0x416c04;var _0x4ea418,_0x441cca,_0x17dc7b,_0x1befbc;this[_0x266bf1(0x4c7)]['has'](_0x3d563c[_0x266bf1(0x3f0)])&&this[_0x266bf1(0x4ff)][_0x266bf1(0x4b1)]('[UniverCollaborationClientPlugin]',_0x266bf1(0x4f0));const _0x5972ed=[[_0x3d563c[_0x266bf1(0x3f0)],{'useClass':_0x18fc39}],[_0x1b5475[_0x266bf1(0x364)]],[_0x449153],[_0x10948c,{'useClass':_0x3f4770}],[_0x1b5475['MemberService']],[_0x1b5475[_0x266bf1(0x26c)]],[_0x1571b5[_0x266bf1(0x39f)]],[_0x2e8a2a],[_0x3e8219],[_0x1e4b8d],[_0xa1c94b],[_0x50baf1],[_0x2010a8],[_0x25f587],[_0x53bb40],[_0x57372f],[_0xc96f73,{'useClass':(_0x441cca=(_0x4ea418=this[_0x266bf1(0x3d9)])==null?void 0x0:_0x4ea418[_0x266bf1(0x186)])!=null?_0x441cca:_0x1b5475[_0x266bf1(0x36a)]}],[_0x520737[_0x266bf1(0x2a5)],{'useClass':_0x1b5475['SnapshotServerOverHTTPService']}],[_0x3d563c[_0x266bf1(0x2bd)],{'useClass':_0x1b5475[_0x266bf1(0x25e)]}],[_0x1c4a0c['IImageIoService'],{'useClass':_0x1b5475[_0x266bf1(0x454)]}],[_0x1b5475['CollaborationController']],[_0x1b5475['DataLoaderController']],[_0x1b5475[_0x266bf1(0x305)]],[_0x20f5fc],[_0x517f54]];(_0x17dc7b=this[_0x266bf1(0x3d9)])!=null&&_0x17dc7b[_0x266bf1(0x3c3)]&&_0x5972ed[_0x266bf1(0x1e9)]([_0x3cc9ac,{'useClass':_0x4214e3}]),_0x3d563c[_0x266bf1(0x291)](this[_0x266bf1(0x4c7)],_0x3d563c[_0x266bf1(0x3e6)](_0x5972ed,(_0x1befbc=this[_0x266bf1(0x3d9)])==null?void 0x0:_0x1befbc[_0x266bf1(0x376)]));}[_0x416c04(0x491)](){const _0x35a36b=_0x416c04;this[_0x35a36b(0x4e9)](this[_0x35a36b(0x4fd)]['registerRenderModule'](_0x3d563c[_0x35a36b(0x3b1)][_0x35a36b(0x465)],[_0x30e8cf])),this[_0x35a36b(0x4e9)](this['_renderManagerService'][_0x35a36b(0x2bf)](_0x3d563c[_0x35a36b(0x3b1)][_0x35a36b(0x2ec)],[_0xb09171]));}[_0x416c04(0xd3)](){const _0x1fed0e=_0x416c04;var _0x861729,_0x2e70f5;this[_0x1fed0e(0x4c7)][_0x1fed0e(0x529)](_0x1571b5['HTTPService'])['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x1571b5[_0x1fed0e(0x330)]({'maxParallel':0x6})}),(_0x861729=this['_config'])!=null&&_0x861729[_0x1fed0e(0x4da)]||this[_0x1fed0e(0x4c7)][_0x1fed0e(0x529)](_0x1b5475[_0x1fed0e(0x26c)])[_0x1fed0e(0x29c)](),(_0x2e70f5=this['_config'])!=null&&_0x2e70f5[_0x1fed0e(0x2ba)]&&_0x3d563c[_0x1fed0e(0x1b3)](this[_0x1fed0e(0x4c7)],[[_0x2010a8]]),_0x3d563c[_0x1fed0e(0x1b3)](this[_0x1fed0e(0x4c7)],[[_0x25f587],[_0x517f54],[_0x1b5475[_0x1fed0e(0x525)]],[_0x1b5475[_0x1fed0e(0x1d5)]],[_0x1b5475[_0x1fed0e(0x305)]],[_0x57372f]]);}},_0x59d20b(_0x1b5475[_0x416c04(0x19a)],_0x416c04(0x3d0),_0x163230),_0x1b5475['UniverCollaborationClientPlugin']=_0xd4032e([_0x3d563c[_0x416c04(0x518)](_0x520737[_0x416c04(0x148)],_0x1571b5[_0x416c04(0x437)]),_0x2ce7a9(0x1,_0x3d563c[_0x416c04(0x2fd)]),_0x2ce7a9(0x2,_0x1c2dd3[_0x416c04(0x1bd)]),_0x2ce7a9(0x3,_0x3d563c[_0x416c04(0x4d1)](_0x3d563c[_0x416c04(0x25f)])),_0x2ce7a9(0x4,_0x3d563c[_0x416c04(0x4f1)])],_0x1b5475['UniverCollaborationClientPlugin']),_0x1b5475['AUTHZ_URL_KEY']=_0x55bb64,_0x1b5475['COLLAB_SUBMIT_CHANGESET_URL_KEY']=_0x31b7d6,_0x1b5475[_0x416c04(0x180)]=_0x169f82,_0x1b5475[_0x416c04(0x2c4)]=_0x153ab4,_0x1b5475[_0x416c04(0x443)]=_0x4efc39,_0x1b5475[_0x416c04(0xd5)]=_0x53bb40,_0x1b5475[_0x416c04(0x258)]=_0x27c0a6,_0x1b5475['HEARTBEAT_TIMEOUT_KEY']=_0x3afe73,_0x1b5475['ICollaborationSocketService']=_0xc96f73,_0x1b5475[_0x416c04(0x3f6)]=_0x10948c,_0x1b5475['LOCAL_CACHE_INTERVAL_KEY']=_0x539678,_0x1b5475[_0x416c04(0x3de)]=_0x2e3666,_0x1b5475[_0x416c04(0x231)]=_0x11cf4c,_0x1b5475[_0x416c04(0x2db)]=_0xc3daa4,_0x1b5475['SNAPSHOT_SERVER_URL_KEY']=_0x3f11d2,_0x1b5475['SNAPSHOT_URL_KEY']=_0x53b089,_0x1b5475[_0x416c04(0x13d)]=_0x1467c9,_0x1b5475[_0x416c04(0x35d)]=_0x4102ba,_0x1b5475[_0x416c04(0xc6)]=_0x3f4770,_0x1b5475[_0x416c04(0x44f)]=_0xc823af,_0x1b5475[_0x416c04(0x2e9)]=_0x3a3f64,Object[_0x416c04(0x2e4)](_0x1b5475,Symbol[_0x416c04(0x26e)],{'value':_0x416c04(0x15d)});}));function _0x3e32(_0x42dad9,_0x45c9d5){const _0x517574=_0x5175();return _0x3e32=function(_0x3e32e7,_0x1a3190){_0x3e32e7=_0x3e32e7-0x64;let _0x552238=_0x517574[_0x3e32e7];return _0x552238;},_0x3e32(_0x42dad9,_0x45c9d5);}function _0x5175(){const _0x555ff2=['_roomMembers','@univerjs/design','m1Prime','@univerjs/docs-ui','backgroundColor','throttleTime','_scheduleTimestamp','cmd','_doFinalize','combineLatest','UniverNetworkPlugin','now','_lastPointer','_hideTimer','idSuffix','reset','permissionRejEvent','USERS_LEAVE','_xformMode','size','_onConflict','collab-text-anchor-','CollaborationStatusDisplay','conflict.title','UNRECOGNIZED','handleInsertRangeMoveRight','_substituteRedoStack','_permissionService','distinctUntilChanged','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','add','_onJoinRoomEvent','onPointerEnter$','_initRequestHeader','deserializeToCombResponse','_collaborationController','updateCursorEvent','...','append','ImageIoService','telemetry\x20info\x20is\x20not\x20initialized','on-line-single','getLatestCsReqIdBySid','byteLength','@univerjs/drawing','color','Decryptor','_onRemoteACK','BlockCipher','IContextService','debounce','text','_tryReconnect','UniverSheets','_updateStatus','clearTimeout','UNIVER_DOC','\x0aAfter:\x20','fill','_univerInstanceService','SEND_CHANGESET_TIMEOUT','startTime','PERMISSION_REJ','ceil','csRejEvent','_onUserLeave','_process','saveOfflineData','_uiPartsService','/collaborator','_startTelemetryCollaborationNewChangeset','LEAVE','APPLY_REVISION_CONFILICT','useObservable','splice','reqId','init','ALREADY_EXISTS','onPointerLeave$','fetch_missing','unitId\x20is\x20not\x20found','\x20in\x20_schedule.','transformSelections','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_keySchedule','isActive','font','getSheetBySheetId','fromEvent','entries','_collabSessionService','off-line-single','_refRangeService','&assign=','_onCombEvent','decryptBlock','list','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','lineTo','displayName','_registerRenderDependencies','UniverSheetsUi','objectID','_sheetTransformSelectionsService','OffLineSingle','_redoStacks','_DEC_XFORM_MODE','YUUMI_SUBSCRIPTION_NOT_FOUND','_getSendChangesetTimeout','_handleJoinEvent','getValue','react','InsertRangeMoveDownCommandId','DocIMEInputManagerService','SetTextSelectionsOperation','url','CompressMutationService','sendChangesetTimeout','_hasher','RETRY_CONNECTING_MAX_COUNT','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_httpService','Unknown\x20user','clear','createCollaborator','_collaborationPaused','salt','_clearUndo','hide','setWaitCount','concat','@univerjs/sheets','error','currentTheme$','clone','onRemoteAck','_collabCursorState$','image/jpeg','_document','_assignedColors','Error','take','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','indexOf','xlink:href','_isPermissionRej','_onFetchMissResult','updateCollaborator','getOwnPropertySymbols','_substituteUndoStack','capture','_cursorInfo$','onlineStatusIcon','UNIVER_SLIDE','_injector','values','_localeService','DocSelectionManagerService','_clearHeartbeatTimer','_unitStatus','OnLineSingle','set','round','CHANGESET_ACK','Inject','defs','getRangePointData','_initStatusComponent','getCurrentRevOfUnit','kdf','attrs','_minBufferSize','_updateSubUnitFromURLParams','enableOfflineEditing','HTTPService','executeCommand','registerRefRange','collaboration-session-retry','_cursors','_getSignURL','lib','getOwnPropertyDescriptor','concatMap','isTransformMutationsWithChangesetSuccess','_initStatusListener','setParam','onlineStatusTitle','_onRemoteChangeset','disposeWithMe','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_undoStacks','_setupBeforeClosingHandler','msCrypto','_decreaseWaiting','MD5','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','IConfigService','textRanges','focused$','execute','444HYtZIC','React','getUniverSheetInstance','socket\x20close','_transformRemoteChangesetByIMECache','finalize','_drawAnchor','HEARTBEAT','_renderManagerService','__creator','_logService','BehaviorSubject','whenReady','unknown','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','HttpImport','react.fragment','_replaceFileID','_getRedoStack','rxjs','closeSession','_drawTextRange','/block/','_map','extend','_roomMembers$','next','_prevBlock','formatter','_syncEditingCollabCursorService','WordArray','UniverEngineFormula','substr','dispose','generateRandomId','DependentOn','engine','reconnect','redoState','join','_transformSelections','_onConnectionOpen','_clearLocalCache','every','UniverEngineRender','handleIRemoveRow','_collaborationTimeoutTimer','body','DataLoaderController','defaultProps','_name','getSkeleton','get','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','shouldCloseConn','useCallback','CollaborationEvent','change$','none','collaboratorID','/universer-api/oidc/authpage','setShapeProps','exhaustSavingTask','sin','mixIn','SHA1','_clearCollaborationTimeoutTimer','amd','clearInterval','DEFAULT_FILE_NAME','@univerjs-pro/collaboration','has','onMissedChangesetFetched','type','beginPath','getRenderById','_snapshotServerService','getParam','debug','sequenceExecute','collabCursorState$','keySize','fetchMiss','_getAPIPrefix','_pendingMutations','encodeURIComponent','_syncEditingCollabCursor','LIVESHARE_FETCH_OPERATIONS','members','FileId','flatMap','_docSyncEditingCollabCursorService','equals','OpenSSL','getUndoRedoMutationParamsCache','_acknowledgedAwaitingChangeset','m2Prime','syncEditingCollabCursor','16NVofAb','requestParams','_entities','location','RECT','fetchMissingChangesets','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','liveShareNewHost','UNIVER_PROJECT','_colorAssignService','_getLoginPath','requireSession','ReplaySubject','#FFF','_state$','&to=','_render','INGEST','ONLINE','toggleOffline','RxDisposable','getFocusedUnit','Disposable','Base64','complete','UUID','data','mutations','toggleOnline','loadOfflineData','setCurrentUser','startsWith','runRefRangeMutations','confirm','addEventListener','onload','_range','eventID','saveImage','rev','_createInitialState','getOffsetConfig','\x0aCurrent:\x20','_createHmacHelper','drawWith','@univerjs/engine-render','_ensureSubject','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','replaceState','fetching\x20missing\x20changesets\x20from\x20','height','_onOffline','[CollaborationEntity]','setItem','_iKey','univer-online-status-title','_joinRoom','INVALID_ARGUMENT','_session','ReactCurrentOwner','APPLY_DUPLICATED','column','originalMeta','WebURLService','onTransformSelections','_disableEditing','listCollaborators','_setupSubUnitSync','blockSize','&source=','OFFLINE','_change$','fillText','toString','UNIVER_UNKNOWN','collaborators','_initDependencies','@univerjs/network','CommentService','_configService','event$','_updateCollabCursors','shareReplay','CBC','getUnit','all','SNAPSHOT_HAS_BEEN_REMOVED','auth.needGotoLoginAlert','[OfflineState]:\x20received\x20changeset.','ImageSourceType','_scheduleHeartbeat','getViewport','/universer-api/comb','decrypt','SnapshotServerOverHTTPService','fillRule','_urlService','delete','_socketReady','status','svg','/allowed','top','LICENSE_MAX_UNITS_EXCEEDED','univer-pro.collaboration-client-socket-service','375306JdhmWl','YUUMI_URL_COL_OUT_OF_RANGE','TOO_MANY_REQUESTS','_hover','Malformed\x20UTF-8\x20data','90pHZgKb','Optional','_transformRemoteChangesetByStateCache','method','collabStatus.notCollab','NEW_CHANGESETS','online','cfg','black','_updateURLWithCurrentState','Undefined','_getUploadFileURL','_collaborationSessionService','defIds','origin','SheetsSelectionsService','gold400','charCodeAt','selection','Base','create','UnitEmbedded','string','handleInsertRangeMoveDown','synced','IBeforeCloseService','on-line-single_clip0_910_349','_startSheetCollabCursor','serializeRangeWithSheet','_rescheduleHeartbeat','_textBubble','getDocRanges','getUnitStatus$','selections','onRendered','_selfUnitIDs','path','_removeClearOtherTimer','setStateCache','PasswordBasedCipher','clipPath','ACTIVE_UNIT_EVENT_CHANNEL','_clearScheduledTask','_drawRectRange','_loadDoc','onlyLocal','pipe','forEach','_anchorDot','_color','IUniverInstanceService','updateOfflineData','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_colorIndex','_resendWithTimeout','_onRefRangeChange','_socket','setShowComponents','propertyIsEnumerable','snapshot','hasher','_getAnchorBounding','stopTime','collabStatus.offline','action','_scheduleSaving','COMMENT_UPDATE','1234805NUKoAH','isTransformMutationFailure','handleInsertRow','_initCommandExecutedListener','_docStateChangeManagerService','SessionStatus','_state','_revisionService','_key','deserializeRangeWithSheet','removeMember','LIVESHARE_REQUEST_HOST','createEncryptor','_scene','_ws','UPDATE_CURSOR','UniverCollaborationPlugin','POST','getVpScrollXYInfoByPosToVp','_getCtorByUniverType','Hasher','#fff','SnapshotService','282978dOSfah','currentSkeleton$','setUndoRedoMutationParamsCache','getImage','_timeoutTimer','parseProtocolChangeset','ERROR_IMAGE_TYPE','onMouseMove','univerjs-icon\x20univerjs-icon-','getCurrentUnitForType','session.room-full','collabStatus.conflict','_exhaustRemoteChangesetQueue','_send','Module','duration','CollaborationSession','collab-client.tooltip.reconnect','_saveTaskMap','[CollaborationSession]','isPermissionRej','subscribeEvent','incrementRevOfUnit','_waitCount','jsx','transformMutation','measureText','permission.title','range','__Key__','toLowerCase','icon','Warning','_removeCollabCursors','objectType','algo','JSONX','find','HmacMD5','getImageSourceCache','_candidateSocket','Subject','NO_OTHER_CLIENTS_EDITING','HELLO','FETCH_MISSING','localeService','getTime','_hash','sessionStatus$','COLLAB_WEB_SOCKET_URL_KEY','tag','_initEventListeners','Fragment','_unitID','message$','socketService','readInt32LE','endColumn','unload','endRow','addObjects','_iv','urlChange$','getUnitId','TEXT_RANGE_LAYER_INDEX','_doReset','slice','_nRounds','transformByState','random','baseRev','univer-online','VIEWPORT_KEY','getUnhiddenWorksheets','getCurrentUser','UniverCollaborationClientPlugin','_incrementRevisionNumber','headers','_getScale','MSG_FOR_ERROR','_oKey','_anchor','result','sid','exports','parse','commentUpdateEvent','crypto','show','Rect','INTERNAL_ERROR','save','AWAITING','updateMember','createSocket','resourceIDs','LICENSE_IMPORT_SIZE_EXCEEDED','InsertSheetMutation','pushState','_tryEnsureSocket','touchDependencies','transform','collaboration.single-unit.warning','_backgroundColor','IMessageService','getUnitType','@univerjs/engine-formula','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','batchAllowed','DisposableCollection','IRenderManagerService','UniverIcon','[OfflineState]:\x20received\x20rejection.','unit-cache-','APPLY_NON_SEQUENTIAL_REVISION','_draw','_scheduleCollaborationTimeoutTimer','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','Encryptor','ranges','UniverDocs','_heartbeatTimer','_createHelper','_createInitialStateImpl','registerBeforeClose','collabStatus.syncing','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','YUUMI_UNABLE_LOAD_URL','contains','5141lLytpE','default','routeKey','visibilitychange','memberID','CollaborationController','_registerDependencies','saveChangeset','hidden','newCsEvent','_saveCache','getCollabCursors$','code','ColorKit','/object/','getColor','floor','useDependency','some','pad','LIVESHARE_NEW_HOST','arc','filter','awaiting','enc','push','_context','@univerjs/core','split','[CollaborationSessionService]','UNDEFINED','collaMsg','/object','0\x200\x2016\x2016','max','initWorkbookPermissionChange','parseChangesetToProtocol','onCommentUpdate','unpad','SUBMIT_CHANGESET','roomMembers$','_mode','currentColor','fromEventSubject','M0\x200H16V16H0z','userID','c2Prime','_undoRedoService','ENSURE_SNAPSHOT_EXECUTION','onTransformIME','jiqing500','/fetchmissing?from=','_collabCursorController','@univerjs/telemetry','awaiting_with_pending','_sendHeartbeat','UniverRpc','_nDataBytes','src','words','collab-text-range-','_append','Univer','_onCursorDelete','_stopTelemetryCollaborationNewChangeset','with','_cachedData','{fileID}','_status$','COMPLETION_FINISHED','DOC_RANGE_TYPE','not_collab','getActiveRange','key','_onCursorUpdate','hasOwnProperty','encryptBlock','handleDeleteRangeMoveUp','conflict','unit','CONFLICT','\x20to\x20','collabStatus.fetchMiss','getAncestorScale','labelPosition','putCollaborators','Latin1','_cipher','CHANGESET_REVISION_CONFILICT','_updateLocalCache','getCollabEntity','registerHTTPInterceptor','PERMISSION_DENIED','SheetCollaborationEntity','_members','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','Utf8','RETRY_CONNECTING_MAX_COUNT_KEY','current','_onUserJoin','interceptor','WorkbookEditablePermission','clamp','_transformStateCache','BlockCipherMode','_userManagerService','session','transformRemoteChangeset','_startCollaboration','status$','offline','colorChannel1','width','name','[PendingState]:\x20received\x20acknowledgement.','_retryCount','1281868vNiAfG','refreshPermission','awaitingChangeset','compute','_changesetSessionId','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','CollaborationEntity','assignAColorForMemberID','_lockTransition','_HTTPService','href','FAIL','_schedule','mode','/-/object/list','connection\x20error','onCommandExecuted','_hovered','image/bmp','UniverTelemetry','HEARTBEAT_INTERVAL_KEY','[CollaborationState]:\x20apply\x20error!','_singleActiveUnitService','InsertRowCommandId','_clearTimeoutTimer','[PendingState]:\x20received\x20rejection.','AuthzIoHttpService','Injector','_startDocCollabCursor','_onConnectionFailed','then','_id','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','sheets','_localStorageService','[CollaborationUndoRedoService]','editingUnit','_sessions','length','replace','LocalCacheService','getMemberID','toStringTag','includes','Tools','_docSkeletonManagerService','_showConflictNotification','72uadhcC','_scheduleClearOtherTimer','_submitChangeset','UserManagerService','OTHER_CLIENTS_EDITING','SNAPSHOT_URL_KEY','catch','collaboration-client.config','COMPRESS_MUTATION_APPLY','SHOULD_CLOSE_CONN','_transformStack','_awaitingChangeset','signUrlServerUrl','unitID','HTTPRequest','USERS_ENTER','_reverseMap','_commentService','_getCurrentRevision','className','_throwTelemetryCollaborationNewChangeset','takeUntil','_checkMissing','purple300','createElement','close','ThemeService','patch','getStateCache','cursorInfo$','registerDependencies','_loadSheet','popstate','div','3819092rJLsqt','for','_onRemoteRetry','image/png','editing\x20status\x20changed\x20to','Workbook','@univerjs/sheets-ui','disableLocalCache','_onRemoteRejected','_remoteChangesetQueue','950850LLyjTR','_localCacheService','COLLAB_WEB_SOCKET_URL','getResourcesRequest','saveSheetBlock','addObject','ISnapshotServerService','Error\x20on\x20receiving\x20event','_sender','FromArray','dispose$','Cipher','CipherParams','fetchThroughInterceptors','send','Shape','_disabled','_cursorShapes','_init','_commentUpdate$','UniverCollaborationClient','_telemetryInfo','file','transformIMECache','commentUpdate$','map','/-/object/-/batch_allowed','enableAuthServer','_initCloseConn','SetSelectionsOperation','IAuthzIoService','jsxs','registerRenderModule','MergeInterceptorFactory','error$','copyFileMeta','@univerjs/ui','CollaborationStatus','$super','randomUUID','SheetPermissionInitController','HttpExport','transformStack\x20failed!','function','YUUMI_RATE_OVER_LIMIT','isTransformChangesetsSuccess','DeleteRangeMoveLeftCommandId','image/gif','BufferedBlockAlgorithm','UniverDrawing','Hex','_createHandler','[CollaborationSessionService]:\x20socket\x20error','APPLY_PERMISSION_DENIED','_unlockTransition','_cursor','fromCharCode','RECV','LOCAL_CACHE_INTERVAL','mapDocumentTypeToUniverType','SEND_CHANGESET_TIMEOUT_KEY','_ENC_XFORM_MODE','_retryConnectingTimer','MessageType','RegularPolygon','resolve','_applyRemoteChangeset','_resendTimeout','ref','defineProperty','JOIN','RevisionService','apply','delay','serializeCombRequest','getCoordByCell','call','UNIVER_SHEET','getMember','_listenToOnlineEvent','_transformPreviousActiveRange','setTimeout','_instanceService','_docTransformSelectionsService','uploadFileServerUrl','MemberService','url(#off-line-single_clip0_910_343)','_updateState','Vector2','_onRecvEvent','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','children','csShouldRetryEvent','[OfflineState]:\x20received\x20acknowledgement.','ILogService','\x20-\x20','objectActions','searchParams','APPLY_REJECT','ITransformService','_clearOtherTimers','onSendChangeset','DesktopCollaborationStatusDisplayController','handleDeleteRangeMoveLeft','toDisposable','RemoveRowCommandId','AES','[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.','sheetID','min','unshift','onTransformState','_unitOnClients','charAt','LocaleService','hostname','compose','transformUndoRedo','SetDocZoomRatioOperation','_handleHeartbeatEvent','subUnitId','getTypeOfUnitDisposed$','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','AWAITING_WITH_PENDING','storage','_transformHistoryAndStateStack','unsubscribe','state$','subscribe','getSheetId','verdancy600','UNKNOWN_CODE','roomMembers','_telemetryService','COMPRESS_MUTATION_SEND','MUTATION','json','ciphertext','trim','MoveRangeCommandId','_toggleOnline','createIdentifier','_sessionStatus$','textEncoder','/new_changes','ThresholdInterceptorFactory','getInterceptPoints','UnitSnapshot','_parse','LIVESHARE_TERMINATE','onRemoteChangeset','_beforeCloseService','ILocalStorageService','getCurrentSelections','RefRangeService','getConfig','onMissingChangesets','collab-rect-range-','NoPadding','LIVESHARE_OPERATION','onStateChange','_data','transformChangesets','getSheetBlock','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','actions','_transitionLocked','_shouldReportTelemetry','url(#$1','changesets','asObservable','SYNCED','socket\x20open.','ImageUploadStatusType','from','handleInsertCol','DocStateChangeManagerService','_getSheetObject','_toggleOffline','evenodd','NOT_FOUND','ivSize','_eventUnsubscribe','BASE64','permission.content','pending','_updateLocalCursor','_doCryptBlock','format','6FsABmj','SheetCollabCursorShape','updatePermissionPoint','_notificationService','UNAUTHENTICATED','infoRsp','DeleteRangeMoveUpCommandId','_docTransformStateCacheService','CollaborationSessionService','getCollabEntity$','collabStatus.synced','setInterval','enableLocalCache','@univerjs/docs','CollaborationSocketService','PSEUDO_FETCH_MISSING_RESULT','Rectangle','loadDoc','isEditing','switchMap','hovered','session.connection-failed','NOT_COLLAB','EvpKDF','sessionStatus','_themeService','override','startRow','UPDATE_PERMISSION_OBJ','_compressMutationService','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','CONNECTOR_DATA_TOO_LARGE','_replayCachedMutations','_getMergeRange','_handleHover','fromCollab','collabSubmitChangesetUrl','history','onPointerMove$','skeleton','_listenToOfflineEvent','createInstance','_handleEvent','visibilityState','_online','_initMergeInterceptor','getCurrent','/universer-api/file/{fileID}/sign-url','cursorInfo','resend','findNodePositionByCharIndex','_onMessage','InsertRangeMoveRightCommandId','bottom','_transformService','INotificationService','onSyncEditingCollabCursor','_snapshotService','off-line-single_clip0_910_343','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','1em','_memberService','number','_labelPosition','[FetchMissState]','activeSheet$','_sendingTimer','WebSocketService','DocCollaborationEntity','getTypeOfUnitAdded$','leaveEvent','readAsDataURL','retryConnectingInterval','univer-online-status','encrypt','LICENSE_DISTRO_REJECTED','transformMutationsWithChangeset','pauseCollaboration','_sheetSkeletonManagerService','RemoveColCommandId','_commandService','_imageSourceCache','univer-offline','doc.mutation.rich-text-editing','[SyncedState]:\x20received\x20acknowledgement.','UniverInstanceType','@univerjs/rpc','docStateChange$','c1Prime','_executeRemoteChangeset','SNAPSHOT_INVALID_SNAPSHOT','_socketMessageSubscription','forwardRef','CommandType','reverse','_resendTimer','restore','undoState','?size=','sigBytes','EffectRefRangId','IDLE','PENDING','enableSingleActiveInstanceLock','isTransformMutationsWithChangesetFailure','_http','Pkcs7','roomInfos','_removeRoom','close$','getUnitOnRev','_sendHeartbeatTimer','_createSocket','merge','triggerDblclick','JOINING','pluginName','appendMutation','subunit','IPermissionService','post','_entityInit$','debounceTime','object','_handler','_config','onRemoteRej','_docSkeleton','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_getDownloadEndpointURL','LOGIN_URL_KEY','downloadEndpointUrl','/unit/','failed\x20to\x20apply\x20missed\x20changesets!','/rev/','_getSaveTimeout','fillStyle','COLORS','mergeOverrideWithDependencies','_transformUndoRedoStack','ICommandService','padding','NodePositionConvertToRectRange','_docTransformIMECacheService','registerOnClose','getRandomValues','_changesetReqId','onRemoteRetry','IUndoRedoService','_event$','getItem','univer-pro.collaboration-client.single-active-unit-service','liveShareOperation','TEXT','IURLService','StreamCipher','UniverDocsUi','_onLocalMutation','_handleLeaveEvent','_waitForHeartbeatResponse','red300','onTransformRemoteChangesetByStateCache','_shapes','reject','isInternalEditorID','startColumn','params','getActiveSheet','[PendingState]:\x20unhandled\x20univer\x20type:\x20','workbook','revision','/universer-api/snapshot','isArray','_fetchMissChangesets','HEADER_MENU','rgba(255,\x20255,\x20255,\x200.01)','FETCH_MISS','_getAPIPrefixPath','CHANGESET_SHOULD_RETRY','_transformUndoredo','randomBytes','_queuedRemoteChangesets','open$','prototype','_socket$','row','sheetId','LICENSE_EXPORT_SIZE_EXCEEDED','saveSnapshot','RichTextEditingMutation','setAlpha','_refreshCollabCursors','setActiveRange','session.will-retry','repeat','_invKeySchedule','stringify','_transformIMECache','[DataLoaderController]','_clearRedo','UNIVER_COLLABORATION_CLIENT_PLUGIN','unitId','_getUndoStack','deleteCollaborator','_messageService','deepClone','transformStateCache','SetWorksheetActivateCommand','update'];_0x5175=function(){return _0x555ff2;};return _0x5175();}
|