@univerjs-pro/collaboration-client 0.4.2-nightly.202411041606 → 0.4.2-nightly.202411061606

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x3963(){const _0x155456=['_loadSheet','subscribe','message$','_onJoinRoomEvent','enc','VIEWPORT_KEY','/universer-api/stream/file/upload','Subject','with','resend','[OfflineState]:\x20received\x20changeset.','asObservable','getRelativeToViewportCoord','transformChangesets','get','_commentUpdate$','UNIVER_SHEET','_candidateSocket','onRemoteAck','_clearCollaborationTimeoutTimer','fromEventSubject','pushState','hasOwnProperty','CollaborationEntity','getUndoRedoMutationParamsCache','close$','_docSyncEditingCollabCursorService','FromArray','MUTATION','onRemoteRej','NodePositionConvertToCursor','max','UniverDocs','removeParam','leaveEvent','@univerjs/core','_setupBeforeClosingHandler','doc.mutation.rich-text-editing','ITelemetryService','SnapshotService','startTime','save\x20fail\x20reason\x20is\x20','getCurrentUser','putCollaborators','getUnitStatus$','registerRefRange','react.element','sessionStatus$','displayName','parseProtocolChangeset','_collaborationTimeoutTimer','getOffsetConfig','getSheetObject','INotificationService','_onRemoteRetry','toggleOffline','history','mutations','attrs','3484260tSlJWy','transformSelections','/-/object/-/batch_allowed','_disabled','show','setUndoRedoMutationParamsCache','algo','_transformStack','univer-offline','_initDependencies','target','_anchorDot','onRendered','RevisionService','colorChannel1','_nDataBytes','unsubscribe','IUniverInstanceService','USERS_LEAVE','[CollaborationSessionService]','session','_scheduleSaving','incrementRevOfUnit','_drawAnchor','onStateChange','_configService','IImageIoService','UniverCollaborationPlugin','Injector','_decreaseWaiting','onSendChangeset','byteLength','_sheetTransformSelectionsService','_cursorInfo$','collaboration_new_changeset','sigBytes','LIVESHARE_FETCH_OPERATIONS','collaMsg','ReactCurrentOwner','_updateSubUnitFromURLParams','_startSheetCollabCursor','_keySchedule','_colorAssignService','conflict.content','UniverCollaborationClient','_awaitingChangeset','ILogService','univer-online-status-icon','url','onCommandExecuted','_tryReconnect','collabStatus.syncing','unit-cache-','_getSheetObject','size','transformRemoteChangeset','_sender','patch','awaitingChangeset','_map','delete','_listenToOnlineEvent','error','height','getWorkbookSelections','RegularPolygon','onPointerLeave$','textEncoder','collab-client.tooltip.reconnect','PSEUDO_FETCH_MISSING_RESULT','hide','OpenSSL','_color','/object/','_handleJoinEvent','extend','session.will-retry','replaceTextRanges','fromCharCode','_remoteChangesetQueue','_hasher','_lastPointer','actions','b64DecodeUnicode','UniverDocsUi','isTransformChangesetsSuccess','_handleLeaveEvent','string','[PendingState]:\x20received\x20rejection.','generateRandomId','COLLAB_SUBMIT_CHANGESET_URL_KEY','_data','includes','_scene','defs','_saveTaskMap','_getCurrentRevision','NOT_COLLAB','randomUUID','UnitEmbedded','_resendTimeout','fetchMiss','_transformStateCache','measureText','_applyRemoteChangeset','_renderManagerService','stringify','rxjs','0\x200\x2017\x2016','capture','_transformPreviousActiveRange','file','Fragment','popstate','reqId','isPermissionRej','#FFF','listCollaborators','closeSession','editing\x20status\x20changed\x20to','/resources','_hovered','_onLocalMutation','UniverCollaboration','updateCursorEvent','unshift','min','_backgroundColor','unitId','_refRangeService','EffectRefRangId','AWAITING_WITH_PENDING','urlChange$','handleDeleteRangeMoveUp','from','_initResize','_toggleOnline','moveTo','TEXT_RANGE_LAYER_INDEX','map','encrypt','pluginName','mapDocumentTypeToUniverType','_change$','_refreshCollabCursors','deserializeToCombResponse','updateMember','SEND_CHANGESET_TIMEOUT','SnapshotServerOverHTTPService','UNIVER_UNKNOWN','BufferedBlockAlgorithm','syncEditingCollabCursor','SUBMIT_CHANGESET','4QBCJMD','getRangePointData','shareReplay','ciphertext','_entityInit$','_sendHeartbeat','ERROR_IMAGE_TYPE','formatter','visibilityState','font','&assign=','UNIVER_COLLABORATION_CLIENT_PLUGIN','toString','copyFileMeta','getDocRanges','WebSocketService','registerHTTPInterceptor','_joinRoom','_members','Tooltip','INGEST','rev','DocIMEInputManagerService','updateOfflineData','row','AES','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_imageSourceCache','\x20in\x20_schedule.','batchAllowed','randomBytes','/collaborator','key','_startDocCollabCursor','bottom','YUUMI_UNABLE_LOAD_URL','onMouseMove','$super','_collabSessionService','StreamCipher','updateCollaborator','/block/','handleIRemoveCol','defIds','RemoveRowCommandId','method','on-line-single','Base','ranges','_roomMembers$','_initUnitPermissionChange','_draw','CollaborationSession','floor','IConfigService','LOGIN_URL_KEY','selections','_docSkeletonManagerService','getMemberID','update','newValue','COLLAB_SUBMIT_CHANGESET_URL','Workbook','addObjects','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_waitCount','_getSnapshotAPIPrefix','isTransformMutationsWithChangesetSuccess','Hasher','INVALID_ARGUMENT','src','status$','_cursorShapes','[CollaborationState]:\x20apply\x20error!','RECV','_getScale','transformStateCache','UnitSnapshot','svg','_state$','set','loadOfflineData','has','LOCAL_CACHE_INTERVAL_KEY','_context','getUnitId','isTransformMutationFailure','engine','drawWith','push','objects','getCurrentUnitForType','_httpService','beginPath','_localeService','@univerjs/docs-ui','_onMessage','_transformUndoredo','\x20-\x20','CollaborationStatus','url(#on-line-single_clip0_910_349)','title','loadSheet','DeleteRangeMoveLeftCommandId','TOO_MANY_REQUESTS','collaboratorID','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_entities','uni.network.url-service','transformStack\x20failed!','getResourcesRequest','AWAITING','function','APPLY_REVISION_CONFILICT','unit','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_append','executeCommand','onPointerMove$','top','socketService','_resendTimer','hostname','_event$','touchDependencies','univer-online-status-title','_checkMissing','_session','reverse','UniverUi','trim','getRenderById','collabCursorState$','duration','MessageType','_getRedoStack','data','decrypt','_collabCursorState$','iterations','reduce','object','_handleHeartbeatEvent','format','onReady','Optional','add','_hash','activeSheet$','_getDownloadEndpointURL','_ws','_socketMessageSubscription','_transformRemoteChangesetByStateCache','_eventUnsubscribe','pending','PasswordBasedCipher','CompressMutationService','getFocusedUnit','_acknowledgedAwaitingChangeset','clone','assign','connectInjector','[OfflineState]:\x20received\x20rejection.','_registerDependencies','encodeURIComponent','slice','_revisionService','SNAPSHOT_INVALID_SNAPSHOT','switchMap','encode','Pkcs7','?size=','random','exports','ref','UniverInstanceType','roomMembers','__esModule','cursorInfo$','permission.content','_updateState','ALREADY_EXISTS','image/jpg','getValue','_messageService','error$','SheetCollaborationEntity','charAt','override','disposeWithMe','JSONX','operators','csRejEvent','_getCtorByUniverType','_textBubble','ceil','_range','_redoStacks','distinctUntilChanged','words','close','getTypeOfUnitAdded$','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','YUUMI_SUBSCRIPTION_NOT_FOUND','saveChangeset','DataLoaderController','getCurrentSelections','blockSize','@univerjs/rpc','url(#off-line-single_clip0_910_343)','objectID','_ensureSubject','EXCHANGE_SIGN_URL_SERVER_URL_KEY','CHANGESET_SHOULD_RETRY','setShapeProps','liveShareOperation','setStateCache','red300','fillRule','@univerjs/sheets-ui','LICENSE_EXPORT_SIZE_EXCEEDED','UPDATE_PERMISSION_OBJ','React','univer-pro.collaboration-client.single-active-unit-service','_state','deepClone','fetching\x20missing\x20changesets\x20from\x20','transformMutationsWithChangeset','SerializableCipher','_updateCollabCursors','state$','PENDING','permissionRejEvent','saveImage','_syncEditingCollabCursorService','_incrementRevisionNumber','LocalUndoRedoService','jsx','registerOnClose','/fetchmissing?from=','_docTransformIMECacheService','offline','collaboration.single-unit.warning','session.collaboration-timeout','APPLY_DUPLICATED','UniverSheets','setParam','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_waitForHeartbeatResponse','react','auth.needGotoLoginAlert','path','_commandService','DOC_RANGE_TYPE','_assignedColors','_createInitialStateImpl','sheetID','_executeRemoteChangeset','SHOULD_CLOSE_CONN','_socket$','_onRemoteRejected','HTTPService','stopTime','_socket','CipherParams','_onFetchMissResult','toggleOnline','_scheduleTimestamp','_doReset','getViewport','_sendingTimer','_mode','_collaborationController','ImageSourceType','EvpKDF','getRandomValues','sequenceExecute','_onOffline','mode','UNIVER_PROJECT','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','symbol','synced','@univerjs/engine-formula','saveSnapshot','/universer-api/snapshot/','off-line-single_clip0_910_343','_toggleOffline','PERMISSION_REJ','unload','SetWorksheetActivateCommand','onTransformSelections','onlyLocal','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','getOwnPropertyDescriptor','44610BDORQh','_shouldReportTelemetry','_undoStacks','SetDocZoomRatioOperation','/unit/','DocSkeletonManagerService','on-line-single_clip0_910_349','setInterval','CONNECTOR_DATA_TOO_LARGE','debug','_handleEvent','&to=','joinEvent','routeKey','_collaborationPaused','COLORS','CONFLICT','fill','useRef','session.room-full','FAIL','sessionStatus','crypto','retryConnectingInterval','_substituteRedoStack','indexOf','MD5','getParam','_anchor','range','labelPosition','_timeoutTimer','DependentOn','repeat','WordArray','compute','createElement','undoState','setShowComponents','getCollabEntity','fetchMissingChangesets','hasher','_rescheduleHeartbeat','init','getCellPositionByOffset','_onRemoteACK','11457876FbETeX','CollaborationSocketService','SEND_CHANGESET_TIMEOUT_KEY','SNAPSHOT_SERVER_URL_KEY','assignAColorForMemberID','onSyncEditingCollabCursor','UniverCore','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','roomInfos','prototype','_socketService','isActive','resize','collabStatus.fetchMiss','setCurrentUser','decryptBlock','_iKey','pad','UNIVER_SLIDE','_handler','@univerjs-pro/collaboration','COMPRESS_MUTATION_APPLY','IRenderManagerService','url(#$1','_collaborationSessionService','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','enableSingleActiveInstanceLock','getVpScrollXYInfoByPosToVp','_loadDoc','workbook','_shapes','_scheduleCollaborationTimeoutTimer','ICollaborationSocketService','location','reconnect','_drawTextRange','IPermissionService','JOINING','createDecryptor','_updateLocalCache','_createHmacHelper','_submitChangeset','toDisposable','_notificationService','BlockCipherMode','mapTo','current','onlineStatusIcon','bind','startRow','ERROR_IMAGE','take','LEAVE','_resendWithTimeout','useObservable','onRemoteChangeset','status','open$','getActiveSheet','onTransformState','transformUndoRedo','IContextService','name','_throwTelemetryCollaborationNewChangeset','_getLoginPath','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','icon','handleInsertCol','shouldCloseConn','registerDependencies','clearInterval','getSkeleton','Error\x20on\x20receiving\x20event','_keyPriorReset','_clearOtherTimers','addObject','RemoveColCommandId','responseType','awaiting_with_pending','_queuedRemoteChangesets','_getUndoStack','textRanges','_substituteUndoStack','onMissingChangesets','_listenToOfflineEvent','socket\x20open.','6659540HWsGEb','collabSubmitChangesetUrl','_updateURLWithCurrentState','uploadFileServerUrl','_prevBlock','findNodePositionByCharIndex','_transformService','onlineStatus','catch','values','Error','_handleHover','createInstance','LocaleService','RECT','_socketReady','handleMoveRange','fromCollab','FileId','replaceState','restore','_id','_init','memberID','[CollaborationSessionService]:\x20socket\x20error','CollaborationController','JOIN','SheetCollabCursorShape','[PendingState]:\x20unhandled\x20univer\x20type:\x20','/role','_collabCursorController','initWorkbookPermissionChange','conflict','LIVESHARE_TERMINATE','/allowed','Decryptor','salt','_onUserLeave','image/jpeg','_onConnectionFailed','execute','cursorInfo','collab-text-range-','LICENSE_IMPORT_SIZE_EXCEEDED','delay','UNIVER_DOC','_removeRoom','COMMENT_UPDATE','ITransformService','startsWith','_selfUnitIDs','ImageIoService','msCrypto','_replayCachedMutations','_uiPartsService','_unlockTransition','clear','getUnitType','resolve','WebURLService','clamp','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','getColor','snapshot','react.fragment','_invKeySchedule','NOT_FOUND','Hex','M0\x200H16V16H0z','TEXT','then','_nRounds','state','post','requestParams','removeMember','addEventListener','_iv','/universer-api/file/{fileID}/sign-url','_telemetryInfo','onTransformIME','image/png','getStateCache','handleDeleteRangeMoveLeft','@univerjs/sheets','send','liveShareNewHost','APPLY_REJECT','[DataLoaderController]','allowed','_online','selection','getCurrentRevOfUnit','body','roles','mixIn','round','SHA1','saveSheetBlock','_snapshotService','/new_changes','_scheduleClearOtherTimer','USERS_ENTER','_disableEditing','_themeService','_cursors','[OfflineState]:\x20received\x20acknowledgement.','NoPadding','arc','defineProperty','next','fillStyle','ONLINE','[CollaborationSession]','isArray','Disposable','[CollaborationEntity]','create','SessionStatus','/-/object/list','_docTransformStateCacheService','backgroundColor','enableLocalCache','parse','hovered','LIVESHARE_REQUEST_HOST','_stopTelemetryCollaborationNewChangeset','univer-online-status','cfg','ivSize','evenodd','UniverCollaborationClientPlugin','_saveCache','code','IDLE','[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.','Encryptor','UniverEngineRender','LIVESHARE_NEW_HOST','/object','_removeClearOtherTimer','CommentService','_retryCount','unitId\x20is\x20not\x20found','UNRECOGNIZED','getMember','action','&source=','padding','createCollaborator','_doProcessBlock','concat','save','NO_OTHER_CLIENTS_EDITING','_replaceFileID','ISnapshotServerService','SetSelectionsOperation','getUnitOnRev','@univerjs/drawing','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','NodePositionConvertToRectRange','_transitionLocked','Base64','complete','[SyncedState]:\x20received\x20acknowledgement.','SheetSkeletonManagerService','_docTransformSelectionsService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','dispose$','InsertRangeMoveDownCommandId','OffLineSingle','collab-text-anchor-','changesets','lib','_onCombEvent','Warning','fromEvent','objectActions','split','HEARTBEAT_TIMEOUT','364jYVApQ','collaboration.closeRoom','_commentService','_urlService','x-univer-host','lineTo','_getSendChangesetTimeout','_reverseMap','ThresholdInterceptorFactory','_doCryptBlock','div','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_telemetryService','storage','submit\x20changeset\x20error!','HEARTBEAT_INTERVAL_KEY','ENSURE_SNAPSHOT_EXECUTION','dispose','registerBeforeClose','_cachedData','getCoordByCell','sid','_labelPosition','getSheetBySheetId','getSheetBlock','HmacSHA1','withCredentials','185MXikRw','enableAuthServer','createIdentifier','every','_cursor','_clearHeartbeatTimer','sin','_docStateChangeManagerService','confirm','0\x200\x2016\x2016','docStateChange$','splice','_initCloseConn','_localStorageService','52280YOjFve','/universer-api/oidc/authpage','BASE64','useDependency','reset','rxjs/operators','Latin1','Module','baseRev','Rect','getTime','IAuthzIoService','filter','Tools','telemetry\x20info\x20is\x20not\x20initialized','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','transformByState','Rectangle','currentTheme$','finalize','collab-rect-range-','_setupSubUnitSync','DEFAULT_FILE_NAME','reject','roomMembers$','_getSaveTimeout','LocalCacheService','children','[CollaborationUndoRedoService]','_changesetSessionId','_status$','compose','APPLY_NON_SEQUENTIAL_REVISION','toRgbString','ICommandService','...','UUID','_onConnectionOpen','_unitOnClients','RxDisposable','serializeRangeWithSheet','mergeOverrideWithDependencies','_updateLocalCursor','socket\x20close','createEncryptor','Univer','black','_DEC_XFORM_MODE','ImageUploadStatusType','getDeserializedSheetBlock','apply','_docSkeleton','join','handleInsertRow','_onCursorUpdate','FETCH_MISS','CommandType','amd','csShouldRetryEvent','ERROR_EXCEED_SIZE','SetTextSelectionsOperation','getUniverSheetInstance','Shape','startColumn','m1Prime','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','collabWebSocketUrl','_initStatusListener','3172593FCgOyP','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','HEARTBEAT_INTERVAL','width','_oKey','_fetchMissChangesets','takeUntil','currentColor','localeService','@univerjs/design','endColumn','_startCollaboration','YUUMI_RATE_OVER_LIMIT','eventID','off-line-single','_getAPIPrefixPath','_heartbeatTimer','readInt32LE','_http','_retryConnectingTimer','_onUserJoin','MemberService','CHANGESET_ACK','_onCursorDelete','_logService','_key','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','event$','UniverRpc','Inject','useCallback','createSocket','Malformed\x20UTF-8\x20data','forwardRef','DesktopCollaborationStatusDisplayController','className','Could\x20not\x20dynamically\x20require\x20\x22','11pXEeNf','onlineStatusTitle','@univerjs/docs','_onRefRangeChange','__creator','resourceIDs','HttpImport','onMissedChangesetFetched','_scheduleHeartbeat','_xformMode','setItem','CHANGESET_REJ','onTransformRemoteChangesetByIMECache','for','_pendingMutations','@univerjs/network','type','_doFinalize','_memberService','DocStateChangeManagerService','collabStatus.offline','csAckEvent','params','length','visibilitychange','_startTelemetryCollaborationNewChangeset','getRoom','_unitID','_name','UniverNetworkPlugin','_colorIndex','_config','_showConflictNotification','_createSocket','@univerjs/telemetry','_drawRectRange','whenReady','_createHelper','TRANSFORM_CHANGE_OBSERVABLE_TYPE','serializeCombRequest','SheetsSelectionsService','IBeforeCloseService','_sessions','HEADER_MENU','@univerjs/ui','revision','Utf8','ReplaySubject','BehaviorSubject','abs','substring','unknown','_permissionService','none','json','default','subunit','UniverNetwork','getCurrent','origin','number','_getUploadFileURL','kdf','objectType','jsxs','unitID','_type','_createHandler','transformMutation','_localCacheService','_onConflict','getCollabEntity$','fetchThroughInterceptors','_roomMembers','_updateStatus','_hideTimer','xlink:href','collaboration-client.config','commentUpdate$','UNKNOWN_CODE','_hover','_clearScheduledTask','conflict.title','_onRecvEvent','getConfig','userID','CollaborationEvent','_getAPIPrefix','_tryEnsureSocket','AuthzIoHttpService','Cipher','HELLO','append','CollaborationSessionService','clearTimeout','_clearRedo','getInterceptPoints','UserManagerService','updatePermissionPoint','_singleActiveUnitService','m2Prime','onPointerEnter$','_getAnchorBounding','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','debounce','MoveRangeCommandId','saveOfflineData','OnLineSingle','HEARTBEAT','buffer','IUIPartsService','_initCommandExecutedListener','_removeCollabCursors','univerjs-icon\x20univerjs-icon-','pipe','_sendHeartbeatTimer','originalMeta','_injector','AUTHZ_URL_KEY','OTHER_CLIENTS_EDITING','_syncEditingCollabCursor','defaultProps','forEach','_clearUndo','color','call','IUndoRedoService','some','sendChangesetTimeout','SYNCED','getTypeOfUnitDisposed$','online','[SyncedState]:\x20received\x20rejection.','onTransformChange$','transform','getSheetId','UniverTelemetry','fillText','processBlock','_process','onTransformRemoteChangesetByStateCache','_getMergeRange','_unitStatus','_registerRenderDependencies','newCsEvent','OFFLINE','_send','55184RyJjJS','BlockCipher','Vector2','c1Prime','subUnitId','/universer-api/authz','_exhaustRemoteChangesetQueue','disableLocalCache','column','currentSkeleton$','FETCH_MISSING','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','jiqing500','setActiveRange','cmd','1em','image/bmp','setTimeout','disposeUnit','collaborators','awaiting','_schedule','_HTTPService','setAlpha','PERMISSION_DENIED','combineLatest','_instanceService','propertyIsEnumerable','SNAPSHOT_HAS_BEEN_REMOVED','replace','_initRequestHeader','_clearTimeoutTimer','_beforeCloseService','_ENC_XFORM_MODE','_sheetSkeletonManagerService','Undefined','loginUrlKey','_onRemoteChangeset','MSG_FOR_ERROR','collaboration-session-retry','Unknown\x20user','LIVESHARE_OPERATION','#fff','parseChangesetToProtocol','endRow','COMPLETION_FINISHED','_render','_clearLocalCache','DisposableCollection','_createInitialState','YUUMI_URL_COL_OUT_OF_RANGE','_lockTransition','_userManagerService','byteOffset','getUnit','CBC','getLatestCsReqIdBySid','UniverDesign','\x20to\x20','interceptor','POST','LICENSE_MAX_UNITS_EXCEEDED','getCollabCursors$','VIEW_MAIN','CHANGESET_REVISION_CONFILICT','_transformUndoRedoStack','failed\x20to\x20apply\x20missed\x20changesets!','_transformSelections','RichTextEditingMutation','setWaitCount','NEW_CHANGESETS','8zXkGNo','debounceTime','/rev/','session.connection-failed','UNAUTHENTICATED','now','getUnhiddenWorksheets','_univerInstanceService','UNDEFINED','_cipher','_compressMutationService','_sessionStatus$','IMessageService','getAncestorScale','UNKNOWN_CMD','triggerDblclick','registerRenderModule','appendMutation','fetch_missing','INTERNAL_ERROR','{fileID}','href','_snapshotServerService','ColorKit','find','subscribeEvent','_transformRemoteChangesetByIMECache','editingUnit','isTransformMutationsWithChangesetFailure','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','onRemoteRetry','tag','charCodeAt','addImageSourceCache','members','WorkbookEditablePermission','_initEventListeners','\x0aCurrent:\x20','headers','UPDATE_CURSOR','_isPermissionRej','_getSignURL','merge','HMAC','DocCollaborationEntity','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','hidden','connection\x20error','clipPath','requireSession','handleInsertRangeMoveRight','DocSelectionManagerService','keySize'];_0x3963=function(){return _0x155456;};return _0x3963();}function _0x27a5(_0x1318e5,_0x40eda7){const _0x3963da=_0x3963();return _0x27a5=function(_0x27a5ae,_0x4147ab){_0x27a5ae=_0x27a5ae-0x1ca;let _0x191599=_0x3963da[_0x27a5ae];return _0x191599;},_0x27a5(_0x1318e5,_0x40eda7);}(function(_0x32bf13,_0x48e3f2){const _0x1f3dcd=_0x27a5,_0x440bc4=_0x32bf13();while(!![]){try{const _0x491f30=parseInt(_0x1f3dcd(0x51b))/0x1*(parseInt(_0x1f3dcd(0x3d8))/0x2)+parseInt(_0x1f3dcd(0x41c))/0x3*(parseInt(_0x1f3dcd(0x624))/0x4)+parseInt(_0x1f3dcd(0x3ca))/0x5*(-parseInt(_0x1f3dcd(0x277))/0x6)+-parseInt(_0x1f3dcd(0x3af))/0x7*(parseInt(_0x1f3dcd(0x4d4))/0x8)+-parseInt(_0x1f3dcd(0x58b))/0x9+-parseInt(_0x1f3dcd(0x2fb))/0xa+-parseInt(_0x1f3dcd(0x441))/0xb*(-parseInt(_0x1f3dcd(0x2a5))/0xc);if(_0x491f30===_0x48e3f2)break;else _0x440bc4['push'](_0x440bc4['shift']());}catch(_0x1638b7){_0x440bc4['push'](_0x440bc4['shift']());}}}(_0x3963,0x8283d),function(_0x549938,_0x689b9a){const _0x4bc3d0=_0x27a5;typeof exports==_0x4bc3d0(0x1dd)&&typeof module<'u'?_0x689b9a(exports,require(_0x4bc3d0(0x573)),require(_0x4bc3d0(0x5f6)),require('rxjs/operators'),require(_0x4bc3d0(0x425)),require('@univerjs/ui'),require(_0x4bc3d0(0x450)),require(_0x4bc3d0(0x2b9)),require(_0x4bc3d0(0x463)),require(_0x4bc3d0(0x683)),require('@univerjs/sheets'),require('@univerjs/engine-render'),require(_0x4bc3d0(0x443)),require(_0x4bc3d0(0x399)),require(_0x4bc3d0(0x26b)),require('@univerjs/sheets-ui'),require(_0x4bc3d0(0x249)),require(_0x4bc3d0(0x220))):typeof define=='function'&&define[_0x4bc3d0(0x411)]?define([_0x4bc3d0(0x1fd),_0x4bc3d0(0x573),_0x4bc3d0(0x5f6),_0x4bc3d0(0x3dd),_0x4bc3d0(0x425),_0x4bc3d0(0x46d),_0x4bc3d0(0x450),_0x4bc3d0(0x2b9),_0x4bc3d0(0x463),_0x4bc3d0(0x683),_0x4bc3d0(0x34f),'@univerjs/engine-render',_0x4bc3d0(0x443),'@univerjs/drawing','@univerjs/engine-formula',_0x4bc3d0(0x22b),_0x4bc3d0(0x249),_0x4bc3d0(0x220)],_0x689b9a):(_0x549938=typeof globalThis<'u'?globalThis:_0x549938||self,_0x689b9a(_0x549938[_0x4bc3d0(0x5b7)]={},_0x549938[_0x4bc3d0(0x2ab)],_0x549938[_0x4bc3d0(0x5f6)],_0x549938[_0x4bc3d0(0x5f6)][_0x4bc3d0(0x20f)],_0x549938[_0x4bc3d0(0x50d)],_0x549938[_0x4bc3d0(0x1d1)],_0x549938[_0x4bc3d0(0x47a)],_0x549938[_0x4bc3d0(0x606)],_0x549938[_0x4bc3d0(0x4c9)],_0x549938[_0x4bc3d0(0x5df)],_0x549938[_0x4bc3d0(0x245)],_0x549938[_0x4bc3d0(0x384)],_0x549938[_0x4bc3d0(0x570)],_0x549938['UniverDrawing'],_0x549938['UniverEngineFormula'],_0x549938['UniverSheetsUi'],_0x549938[_0x4bc3d0(0x22e)],_0x549938[_0x4bc3d0(0x438)]));}(this,function(_0x439f5,_0x2a6157,_0x59070a,_0x12f2af,_0x407879,_0x4c9f9a,_0x145c4f,_0x63ab19,_0x1ec5d5,_0x4b7f90,_0xeac940,_0xf19b5a,_0x6fdacf,_0x559dab,_0x1819fc,_0x4d9cae,_0x494c84,_0x11fe04){'use strict';const _0x1bb47d=_0x27a5;var _0x22261b=Object[_0x1bb47d(0x368)],_0x9e1002=(_0x27066f,_0x4b5c3f,_0x26c429)=>_0x4b5c3f in _0x27066f?_0x22261b(_0x27066f,_0x4b5c3f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x26c429}):_0x27066f[_0x4b5c3f]=_0x26c429,_0x538cec=(_0x1375eb,_0x4727ca,_0x1f991d)=>_0x9e1002(_0x1375eb,typeof _0x4727ca!=_0x1bb47d(0x269)?_0x4727ca+'':_0x4727ca,_0x1f991d);const _0x90b128='SNAPSHOT_SERVER_URL_KEY',_0x20abae='/universer-api/snapshot',_0x2ecd96='SNAPSHOT_URL_KEY',_0x4d1065=_0x1bb47d(0x61e),_0x1be3bc='COLLAB_WEB_SOCKET_URL',_0x4304d6='ws://127.0.0.1:8000/universer-api/comb/connect',_0x3c4100=_0x1bb47d(0x41e),_0x2a8762=_0x1bb47d(0x3ae),_0x287e3e='RETRY_CONNECTING_MAX_COUNT',_0x3b829d='LOCAL_CACHE_INTERVAL',_0x514403=_0x1bb47d(0x661),_0x2e43a9='/universer-api/comb',_0x298781=_0x1bb47d(0x65b),_0x31d168=_0x1bb47d(0x3d9);var _0x93929f=(_0x4518f8=>(_0x4518f8[_0x4518f8[_0x1bb47d(0x523)]=0x0]=_0x1bb47d(0x523),_0x4518f8[_0x4518f8['OK']=0x1]='OK',_0x4518f8[_0x4518f8['INTERNAL_ERROR']=0x2]=_0x1bb47d(0x52e),_0x4518f8[_0x4518f8[_0x1bb47d(0x4ec)]=0x3]=_0x1bb47d(0x4ec),_0x4518f8[_0x4518f8[_0x1bb47d(0x33d)]=0x4]=_0x1bb47d(0x33d),_0x4518f8[_0x4518f8['UNAUTHENTICATED']=0x5]=_0x1bb47d(0x51f),_0x4518f8[_0x4518f8[_0x1bb47d(0x205)]=0x6]=_0x1bb47d(0x205),_0x4518f8[_0x4518f8[_0x1bb47d(0x669)]=0x7]=_0x1bb47d(0x669),_0x4518f8[_0x4518f8['TOO_MANY_REQUESTS']=0x8]=_0x1bb47d(0x68c),_0x4518f8[_0x4518f8[_0x1bb47d(0x501)]=0x9]=_0x1bb47d(0x501),_0x4518f8[_0x4518f8[_0x1bb47d(0x514)]=0x1389]=_0x1bb47d(0x514),_0x4518f8[_0x4518f8[_0x1bb47d(0x1f7)]=0x1771]=_0x1bb47d(0x1f7),_0x4518f8[_0x4518f8[_0x1bb47d(0x4f0)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x4518f8[_0x4518f8[_0x1bb47d(0x3bf)]=0x1773]=_0x1bb47d(0x3bf),_0x4518f8[_0x4518f8[_0x1bb47d(0x352)]=0x1b59]=_0x1bb47d(0x352),_0x4518f8[_0x4518f8[_0x1bb47d(0x3f8)]=0x1b5a]=_0x1bb47d(0x3f8),_0x4518f8[_0x4518f8['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x1bb47d(0x695),_0x4518f8[_0x4518f8['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x4518f8[_0x4518f8[_0x1bb47d(0x244)]=0x1b5d]='APPLY_DUPLICATED',_0x4518f8[_0x4518f8[_0x1bb47d(0x27f)]=0x1f41]=_0x1bb47d(0x27f),_0x4518f8[_0x4518f8[_0x1bb47d(0x511)]=0x2329]=_0x1bb47d(0x511),_0x4518f8[_0x4518f8[_0x1bb47d(0x4df)]=0x232a]=_0x1bb47d(0x4df),_0x4518f8[_0x4518f8[_0x1bb47d(0x326)]=0x232b]=_0x1bb47d(0x326),_0x4518f8[_0x4518f8[_0x1bb47d(0x22c)]=0x232c]=_0x1bb47d(0x22c),_0x4518f8[_0x4518f8['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x4518f8[_0x4518f8[_0x1bb47d(0x647)]=0x2711]=_0x1bb47d(0x647),_0x4518f8[_0x4518f8[_0x1bb47d(0x506)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x4518f8[_0x4518f8[_0x1bb47d(0x428)]=0x2713]=_0x1bb47d(0x428),_0x4518f8[_0x4518f8[_0x1bb47d(0x21b)]=0x2714]=_0x1bb47d(0x21b),_0x4518f8[_0x4518f8['UNRECOGNIZED']=-0x1]=_0x1bb47d(0x38b),_0x4518f8))(_0x93929f||{}),_0x48d2c2=(_0x4b0050=>(_0x4b0050[_0x4b0050[_0x1bb47d(0x620)]=0x0]='UNIVER_UNKNOWN',_0x4b0050[_0x4b0050['UNIVER_DOC']=0x1]=_0x1bb47d(0x328),_0x4b0050[_0x4b0050[_0x1bb47d(0x560)]=0x2]='UNIVER_SHEET',_0x4b0050[_0x4b0050['UNIVER_SLIDE']=0x3]=_0x1bb47d(0x2b7),_0x4b0050[_0x4b0050['UNIVER_PROJECT']=0x4]=_0x1bb47d(0x267),_0x4b0050[_0x4b0050[_0x1bb47d(0x38b)]=-0x1]='UNRECOGNIZED',_0x4b0050))(_0x48d2c2||{}),_0x43e8b8=(_0x67e5ee=>(_0x67e5ee[_0x67e5ee[_0x1bb47d(0x529)]=0x0]=_0x1bb47d(0x529),_0x67e5ee[_0x67e5ee[_0x1bb47d(0x49c)]=0x1]=_0x1bb47d(0x49c),_0x67e5ee[_0x67e5ee[_0x1bb47d(0x315)]=0x2]='JOIN',_0x67e5ee[_0x67e5ee[_0x1bb47d(0x2d9)]=0x3]=_0x1bb47d(0x2d9),_0x67e5ee[_0x67e5ee[_0x1bb47d(0x638)]=0x4]='INGEST',_0x67e5ee[_0x67e5ee['HEARTBEAT']=0x5]='HEARTBEAT',_0x67e5ee[_0x67e5ee[_0x1bb47d(0x66e)]=0x6]=_0x1bb47d(0x66e),_0x67e5ee[_0x67e5ee['UNRECOGNIZED']=-0x1]=_0x1bb47d(0x38b),_0x67e5ee))(_0x43e8b8||{}),_0x424255=(_0x41df4c=>(_0x41df4c[_0x41df4c[_0x1bb47d(0x490)]=0x0]=_0x1bb47d(0x490),_0x41df4c[_0x41df4c['OK']=0x1]='OK',_0x41df4c[_0x41df4c[_0x1bb47d(0x28b)]=0x2]=_0x1bb47d(0x28b),_0x41df4c[_0x41df4c[_0x1bb47d(0x38b)]=-0x1]=_0x1bb47d(0x38b),_0x41df4c))(_0x424255||{}),_0x23a8e3=(_0x31ded6=>(_0x31ded6[_0x31ded6[_0x1bb47d(0x4f7)]=0x0]=_0x1bb47d(0x4f7),_0x31ded6[_0x31ded6[_0x1bb47d(0x447)]=0x1]=_0x1bb47d(0x447),_0x31ded6[_0x31ded6['HttpExport']=0x2]='HttpExport',_0x31ded6[_0x31ded6[_0x1bb47d(0x5ee)]=0x3]='UnitEmbedded',_0x31ded6[_0x31ded6[_0x1bb47d(0x671)]=0x4]='UnitSnapshot',_0x31ded6[_0x31ded6[_0x1bb47d(0x38b)]=-0x1]=_0x1bb47d(0x38b),_0x31ded6))(_0x23a8e3||{});const _0x2dabdd=_0x1bb47d(0x48e),_0x556aef={};function _0xccd654(_0x1262f3){const _0xb05ce2=_0x1bb47d;var _0x4e0624,_0x3f51b6,_0x5acb66,_0x11b5f4,_0xb4a3a2;const _0x5707fe=_0x1262f3[_0xb05ce2(0x1d8)],_0xc0767c=JSON['parse'](_0x5707fe);switch(_0xc0767c[_0xb05ce2(0x4e2)]){case _0x43e8b8[_0xb05ce2(0x4ad)]:case _0x43e8b8['HELLO']:{const _0x14c1d2=_0xc0767c['infoRsp'];return{..._0xc0767c,'data':_0x14c1d2,'cmd':_0xc0767c[_0xb05ce2(0x4e2)]};}case _0x43e8b8['JOIN']:{const _0x5672b7=_0xc0767c['joinRsp'];return{..._0xc0767c,'data':_0x5672b7,'cmd':_0xc0767c[_0xb05ce2(0x4e2)]};}case _0x43e8b8['RECV']:{const _0x1a92e9=_0xc0767c[_0xb05ce2(0x5b0)];switch(_0x1a92e9[_0xb05ce2(0x429)]){case _0x63ab19[_0xb05ce2(0x497)][_0xb05ce2(0x270)]:return{..._0xc0767c,'data':{..._0x1a92e9,'data':(_0x4e0624=_0x1a92e9[_0xb05ce2(0x238)])==null?void 0x0:_0x4e0624['cs']},'cmd':_0xc0767c[_0xb05ce2(0x4e2)]};case _0x63ab19[_0xb05ce2(0x497)][_0xb05ce2(0x432)]:return{..._0xc0767c,'data':{..._0x1a92e9,'data':(_0x3f51b6=_0x1a92e9[_0xb05ce2(0x456)])==null?void 0x0:_0x3f51b6['cs']},'cmd':_0xc0767c[_0xb05ce2(0x4e2)]};case _0x63ab19[_0xb05ce2(0x497)][_0xb05ce2(0x51a)]:return{..._0xc0767c,'data':{..._0x1a92e9,'data':(_0x5acb66=_0x1a92e9[_0xb05ce2(0x4d1)])==null?void 0x0:_0x5acb66['cs']},'cmd':_0xc0767c[_0xb05ce2(0x4e2)]};case _0x63ab19[_0xb05ce2(0x497)][_0xb05ce2(0x44c)]:return{..._0xc0767c,'data':{..._0x1a92e9,'data':(_0x11b5f4=_0x1a92e9[_0xb05ce2(0x210)])==null?void 0x0:_0x11b5f4['cs']},'cmd':_0xc0767c['cmd']};case _0x63ab19[_0xb05ce2(0x497)][_0xb05ce2(0x225)]:return{..._0xc0767c,'data':{..._0x1a92e9,'data':(_0xb4a3a2=_0x1a92e9[_0xb05ce2(0x412)])==null?void 0x0:_0xb4a3a2['cs']},'cmd':_0xc0767c[_0xb05ce2(0x4e2)]};case _0x63ab19[_0xb05ce2(0x497)]['UPDATE_CURSOR']:return{..._0xc0767c,'data':{..._0x1a92e9,'data':_0x1a92e9[_0xb05ce2(0x607)]},'cmd':_0xc0767c[_0xb05ce2(0x4e2)]};case _0x63ab19[_0xb05ce2(0x497)][_0xb05ce2(0x361)]:return{..._0xc0767c,'data':{..._0x1a92e9,'data':_0x1a92e9[_0xb05ce2(0x283)]},'cmd':_0xc0767c['cmd']};case _0x63ab19[_0xb05ce2(0x497)][_0xb05ce2(0x59d)]:return{..._0xc0767c,'data':{..._0x1a92e9,'data':_0x1a92e9[_0xb05ce2(0x572)]},'cmd':_0xc0767c[_0xb05ce2(0x4e2)]};case _0x63ab19['CollaborationEvent'][_0xb05ce2(0x385)]:return{..._0xc0767c,'data':{..._0x1a92e9,'data':_0x1a92e9[_0xb05ce2(0x351)]},'cmd':_0xc0767c[_0xb05ce2(0x4e2)]};case _0x63ab19['CollaborationEvent'][_0xb05ce2(0x5af)]:case _0x63ab19[_0xb05ce2(0x497)]['LIVESHARE_OPERATION']:return{..._0xc0767c,'data':{..._0x1a92e9,'data':_0x1a92e9[_0xb05ce2(0x227)]},'cmd':_0xc0767c[_0xb05ce2(0x4e2)]};case _0x63ab19[_0xb05ce2(0x497)]['LIVESHARE_TERMINATE']:return{..._0xc0767c,'data':{..._0x1a92e9,'data':_0x1a92e9[_0xb05ce2(0x351)]},'cmd':_0xc0767c[_0xb05ce2(0x4e2)]};case _0x63ab19[_0xb05ce2(0x497)][_0xb05ce2(0x4fa)]:return{..._0xc0767c,'data':_0x1a92e9,'cmd':_0xc0767c['cmd']};case _0x63ab19[_0xb05ce2(0x497)][_0xb05ce2(0x32a)]:return{..._0xc0767c,'data':{..._0x1a92e9,'data':_0x1a92e9['commentUpdateEvent']},'cmd':_0xc0767c[_0xb05ce2(0x4e2)]};case _0x63ab19[_0xb05ce2(0x497)][_0xb05ce2(0x22d)]:return{..._0xc0767c,'data':{..._0x1a92e9,'data':_0x1a92e9['updatePermissionObjEvent']},'cmd':_0xc0767c[_0xb05ce2(0x4e2)]};case _0x63ab19[_0xb05ce2(0x497)][_0xb05ce2(0x252)]:return{..._0xc0767c,'data':{..._0x1a92e9,'data':_0x1a92e9[_0xb05ce2(0x2e9)]},'cmd':_0xc0767c[_0xb05ce2(0x4e2)]};default:return _0xc0767c;}}default:return _0xc0767c;}}function _0x2481da(_0x2f6614){const _0x5efd4e=_0x1bb47d;switch(_0x2f6614[_0x5efd4e(0x4e2)]){case _0x43e8b8[_0x5efd4e(0x4ad)]:case _0x43e8b8['HELLO']:return JSON[_0x5efd4e(0x5f5)]({'cmd':_0x2f6614[_0x5efd4e(0x4e2)],'routeKey':_0x2f6614[_0x5efd4e(0x284)]});case _0x43e8b8[_0x5efd4e(0x638)]:{let _0x4ee958;switch(_0x2f6614[_0x5efd4e(0x1d8)][_0x5efd4e(0x429)]){case _0x63ab19[_0x5efd4e(0x497)][_0x5efd4e(0x542)]:{_0x4ee958={'eventID':_0x63ab19['CollaborationEvent'][_0x5efd4e(0x542)],'updateCursorEvent':_0x2f6614[_0x5efd4e(0x1d8)]['data']};break;}case _0x63ab19['CollaborationEvent'][_0x5efd4e(0x59d)]:{_0x4ee958={'eventID':_0x63ab19[_0x5efd4e(0x497)][_0x5efd4e(0x59d)],'leaveEvent':_0x2f6614[_0x5efd4e(0x1d8)][_0x5efd4e(0x1d8)]};break;}case _0x63ab19[_0x5efd4e(0x497)][_0x5efd4e(0x361)]:{_0x4ee958={'eventID':_0x63ab19['CollaborationEvent'][_0x5efd4e(0x361)],'joinEvent':_0x2f6614[_0x5efd4e(0x1d8)][_0x5efd4e(0x1d8)]};break;}case _0x63ab19[_0x5efd4e(0x497)][_0x5efd4e(0x385)]:{_0x4ee958={'eventID':_0x63ab19[_0x5efd4e(0x497)][_0x5efd4e(0x385)],'liveShareNewHost':_0x2f6614[_0x5efd4e(0x1d8)]['data']};break;}case _0x63ab19[_0x5efd4e(0x497)][_0x5efd4e(0x4fd)]:{_0x4ee958={'eventID':_0x63ab19[_0x5efd4e(0x497)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x2f6614['data']['data']};break;}case _0x63ab19['CollaborationEvent'][_0x5efd4e(0x31c)]:{_0x4ee958={'eventID':_0x63ab19[_0x5efd4e(0x497)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x2f6614['data'][_0x5efd4e(0x1d8)]};break;}case _0x63ab19[_0x5efd4e(0x497)][_0x5efd4e(0x378)]:{_0x4ee958={'eventID':_0x63ab19[_0x5efd4e(0x497)][_0x5efd4e(0x378)],'liveShareRequestHost':_0x2f6614[_0x5efd4e(0x1d8)]['data']};break;}case _0x63ab19[_0x5efd4e(0x497)]['LIVESHARE_FETCH_OPERATIONS']:{_0x4ee958={'eventID':_0x63ab19[_0x5efd4e(0x497)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x4ee958={'eventID':_0x2f6614[_0x5efd4e(0x1d8)][_0x5efd4e(0x429)]};}return JSON[_0x5efd4e(0x5f5)]({'cmd':_0x2f6614[_0x5efd4e(0x4e2)],'routeKey':_0x2f6614[_0x5efd4e(0x284)],'collaMsg':_0x4ee958});}case _0x43e8b8[_0x5efd4e(0x315)]:return JSON[_0x5efd4e(0x5f5)]({'cmd':_0x2f6614[_0x5efd4e(0x4e2)],'routeKey':_0x2f6614['routeKey'],'joinReq':_0x2f6614[_0x5efd4e(0x1d8)]});case _0x43e8b8[_0x5efd4e(0x2d9)]:return JSON[_0x5efd4e(0x5f5)]({'cmd':_0x2f6614['cmd'],'routeKey':_0x2f6614[_0x5efd4e(0x284)],'leaveReq':_0x2f6614[_0x5efd4e(0x1d8)]});default:throw new Error(_0x5efd4e(0x538));}}var _0x1dce24=Object['defineProperty'],_0x157e96=Object['getOwnPropertyDescriptor'],_0x284475=(_0x5b3e6e,_0x16eee4,_0x575d0e,_0x1b4ad2)=>{const _0x1c2ce9=_0x1bb47d;for(var _0x54dd9d=_0x1b4ad2>0x1?void 0x0:_0x1b4ad2?_0x157e96(_0x16eee4,_0x575d0e):_0x16eee4,_0xb99e7a=_0x5b3e6e[_0x1c2ce9(0x458)]-0x1,_0x40814e;_0xb99e7a>=0x0;_0xb99e7a--)(_0x40814e=_0x5b3e6e[_0xb99e7a])&&(_0x54dd9d=(_0x1b4ad2?_0x40814e(_0x16eee4,_0x575d0e,_0x54dd9d):_0x40814e(_0x54dd9d))||_0x54dd9d);return _0x1b4ad2&&_0x54dd9d&&_0x1dce24(_0x16eee4,_0x575d0e,_0x54dd9d),_0x54dd9d;},_0xb44b8c=(_0x40a0c3,_0x1387aa)=>(_0x559a21,_0x1866d8)=>_0x1387aa(_0x559a21,_0x1866d8,_0x40a0c3);const _0x4bc590=_0x2a6157[_0x1bb47d(0x3cc)]('univer-pro.collaboration-client-socket-service');function _0x355f15(_0x39c0e1,_0x57539d,_0x3ae019){const _0x2d775e=_0x1bb47d;return _0x39c0e1+'/'+_0x57539d+_0x2d775e(0x27b)+_0x3ae019+_0x2d775e(0x35f);}_0x439f5['CollaborationSocketService']=class extends _0x2a6157['Disposable']{constructor(_0x490b0d,_0x11fa94,_0x585157,_0x239956,_0x2bc1b7){const _0xa19f6f=_0x1bb47d;super(),this['_http']=_0x490b0d,this[_0xa19f6f(0x1e6)]=_0x11fa94,this['_configService']=_0x585157,this[_0xa19f6f(0x434)]=_0x239956,this[_0xa19f6f(0x531)]=_0x2bc1b7;}[_0x1bb47d(0x43b)](_0x5a3eb4){const _0x1bb067=_0x1bb47d,_0x3b15be=this['_ws'][_0x1bb067(0x43b)](_0x5a3eb4);if(!_0x3b15be)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x225846=new _0x2a6157['DisposableCollection'](),_0x33f003=new _0x59070a[(_0x1bb067(0x557))]();_0x225846[_0x1bb067(0x1e2)](_0x3b15be[_0x1bb067(0x569)]['subscribe'](_0x23662c=>_0x33f003[_0x1bb067(0x369)](_0x23662c))),_0x225846[_0x1bb067(0x1e2)](_0x2a6157['toDisposable'](()=>_0x33f003[_0x1bb067(0x39e)]()));const _0x20a490=new _0x59070a[(_0x1bb067(0x557))]();_0x225846[_0x1bb067(0x1e2)](_0x3b15be['error$'][_0x1bb067(0x551)](_0x4a8066=>_0x20a490[_0x1bb067(0x369)](_0x4a8066))),_0x225846[_0x1bb067(0x1e2)](_0x2a6157[_0x1bb067(0x2cf)](()=>_0x20a490['complete']()));const _0x342d5d=new _0x59070a[(_0x1bb067(0x557))]();_0x225846[_0x1bb067(0x1e2)](_0x3b15be[_0x1bb067(0x552)][_0x1bb067(0x551)](_0x341185=>{const _0x177009=_0xccd654(_0x341185);_0x342d5d['next'](_0x177009);})),_0x225846[_0x1bb067(0x1e2)](_0x2a6157[_0x1bb067(0x2cf)](()=>_0x342d5d[_0x1bb067(0x39e)]()));let _0xaaff9b;const _0x2a1810=()=>{const _0x555b86=_0x1bb067;_0x20a490[_0x555b86(0x369)](new Event('connection\x20error')),_0x33f003[_0x555b86(0x369)](new CloseEvent(_0x555b86(0x54a))),_0xaaff9b[_0x555b86(0x218)]();};return _0xaaff9b={'memberID':'','close$':_0x33f003['asObservable'](),'error$':_0x20a490['asObservable'](),'open$':_0x3b15be[_0x1bb067(0x2de)],'message$':_0x342d5d['asObservable'](),'send':_0x5cdd69=>{const _0x47e93b=_0x1bb067;if(_0x5cdd69[_0x47e93b(0x4e2)]===_0x43e8b8[_0x47e93b(0x638)]){if(_0x5cdd69[_0x47e93b(0x1d8)]['eventID']===_0x63ab19['CollaborationEvent']['SUBMIT_CHANGESET']){this[_0x47e93b(0x2ce)](_0xaaff9b,_0x5cdd69[_0x47e93b(0x1d8)])[_0x47e93b(0x303)](_0x1b088a=>{const _0x35de29=_0x47e93b;this[_0x35de29(0x434)][_0x35de29(0x5c9)](_0x1b088a),_0x2a1810();});return;}if(_0x5cdd69['data'][_0x47e93b(0x429)]===_0x63ab19[_0x47e93b(0x497)][_0x47e93b(0x4de)]){const _0x38d909=_0x5cdd69[_0x47e93b(0x1d8)];this[_0x47e93b(0x421)](_0x38d909)[_0x47e93b(0x341)](_0x684e40=>{const _0x45f61d=_0x47e93b;_0x342d5d['next']({'cmd':_0x43e8b8['RECV'],'code':_0x424255['OK'],'routeKey':_0x38d909[_0x45f61d(0x1d8)][_0x45f61d(0x482)],'routeType':'','data':{'eventID':_0x63ab19['CollaborationEvent'][_0x45f61d(0x5d0)],'data':{'changesets':_0x684e40}}});})[_0x47e93b(0x303)](_0x18408f=>{const _0x3787f7=_0x47e93b;this[_0x3787f7(0x434)][_0x3787f7(0x5c9)](_0x18408f),_0x2a1810();});return;}}_0x3b15be[_0x47e93b(0x350)](_0x2481da(_0x5cdd69));},'close':()=>{const _0x4d63e7=_0x1bb067;_0x3b15be[_0x4d63e7(0x218)](),_0x225846[_0x4d63e7(0x3c0)]();}},_0xaaff9b;}async[_0x1bb47d(0x2ce)](_0x554d2f,_0xba2c20){const _0x17906e=_0x1bb47d;var _0x5e2e15,_0x3278d6;const {unitType:_0x4fd134,unitID:_0x2c7420,changeset:_0x55766b}=_0xba2c20[_0x17906e(0x1d8)],_0x389696={'unitID':_0x2c7420,'memberID':_0x554d2f[_0x17906e(0x312)],'type':_0x4fd134,'changeset':_0x63ab19[_0x17906e(0x4ff)](_0x55766b)},_0x45fe1a=this[_0x17906e(0x5a4)]['getConfig'](_0x514403),_0x3f648c=this[_0x17906e(0x5a4)]['getConfig'](_0x2dabdd),_0x379bed=_0x355f15((_0x3278d6=(_0x5e2e15=_0x3f648c==null?void 0x0:_0x3f648c[_0x17906e(0x2fc)])!=null?_0x5e2e15:_0x45fe1a)!=null?_0x3278d6:_0x2e43a9,_0x4fd134,_0x2c7420);try{await this[_0x17906e(0x42e)]['post'](_0x379bed,{'body':_0x389696});}catch(_0x46e4e3){throw this[_0x17906e(0x434)][_0x17906e(0x5c9)](_0x17906e(0x36c),_0x17906e(0x3bd)),_0x46e4e3;}}async[_0x1bb47d(0x421)](_0x201f87){const _0x4a4e10=_0x1bb47d,{unitID:_0x2dedaa,from:_0x377e5b,to:_0x105280,unitType:_0x11d5c0}=_0x201f87[_0x4a4e10(0x1d8)];return(await this[_0x4a4e10(0x531)][_0x4a4e10(0x29f)]({'metadata':void 0x0},{'unitID':_0x2dedaa,'type':_0x11d5c0,'from':_0x377e5b,'to':_0x105280}))[_0x4a4e10(0x3a7)];}},_0x439f5[_0x1bb47d(0x2a6)]=_0x284475([_0xb44b8c(0x0,_0x2a6157['Inject'](_0x145c4f['HTTPService'])),_0xb44b8c(0x1,_0x2a6157[_0x1bb47d(0x439)](_0x145c4f[_0x1bb47d(0x633)])),_0xb44b8c(0x2,_0x2a6157[_0x1bb47d(0x65a)]),_0xb44b8c(0x3,_0x2a6157[_0x1bb47d(0x5b9)]),_0xb44b8c(0x4,_0x63ab19[_0x1bb47d(0x396)])],_0x439f5[_0x1bb47d(0x2a6)]);const _0x4837cd=_0x1bb47d(0x5ad);function _0x4b1ce4(_0x26c932){const _0x342886=_0x1bb47d;return JSON['stringify'](_0x26c932)[_0x342886(0x458)];}class _0x1b88f9{constructor(){const _0x8fd0ba=_0x1bb47d;_0x538cec(this,_0x8fd0ba(0x55f),new _0x59070a[(_0x8fd0ba(0x557))]()),_0x538cec(this,_0x8fd0ba(0x48f),this[_0x8fd0ba(0x55f)][_0x8fd0ba(0x55b)]());}['onCommentUpdate'](_0x588c2f){const _0x1fd685=_0x1bb47d;this[_0x1fd685(0x55f)][_0x1fd685(0x369)](_0x588c2f);}}var _0x1b3500=Object[_0x1bb47d(0x368)],_0x279f9d=Object['getOwnPropertyDescriptor'],_0x13639a=(_0x40d70c,_0xc3c2,_0x3e72e3,_0x238a60)=>{const _0x2281f0=_0x1bb47d;for(var _0x2fdf17=_0x238a60>0x1?void 0x0:_0x238a60?_0x279f9d(_0xc3c2,_0x3e72e3):_0xc3c2,_0x34eba6=_0x40d70c[_0x2281f0(0x458)]-0x1,_0x377895;_0x34eba6>=0x0;_0x34eba6--)(_0x377895=_0x40d70c[_0x34eba6])&&(_0x2fdf17=(_0x238a60?_0x377895(_0xc3c2,_0x3e72e3,_0x2fdf17):_0x377895(_0x2fdf17))||_0x2fdf17);return _0x238a60&&_0x2fdf17&&_0x1b3500(_0xc3c2,_0x3e72e3,_0x2fdf17),_0x2fdf17;},_0x3d561b=(_0x261655,_0x28f2f0)=>(_0x2bcb3c,_0x4c7c8c)=>_0x28f2f0(_0x2bcb3c,_0x4c7c8c,_0x261655);_0x439f5[_0x1bb47d(0x431)]=class extends _0x2a6157[_0x1bb47d(0x36e)]{constructor(_0x1b9a27,_0x2ed923){const _0x5f0296=_0x1bb47d;super(),_0x538cec(this,_0x5f0296(0x48a),new Map()),(this[_0x5f0296(0x522)]=_0x1b9a27,this[_0x5f0296(0x508)]=_0x2ed923,this[_0x5f0296(0x20d)](_0x2a6157[_0x5f0296(0x2cf)](_0x59070a[_0x5f0296(0x545)](this[_0x5f0296(0x522)][_0x5f0296(0x4c3)](_0x2a6157[_0x5f0296(0x1ff)]['UNIVER_SHEET'])['pipe'](_0x12f2af[_0x5f0296(0x616)](_0x29421b=>_0x29421b[_0x5f0296(0x679)]())),this[_0x5f0296(0x522)][_0x5f0296(0x4c3)](_0x2a6157[_0x5f0296(0x1ff)][_0x5f0296(0x328)])[_0x5f0296(0x4b3)](_0x12f2af[_0x5f0296(0x616)](_0x810df9=>_0x810df9['getUnitId']())),this[_0x5f0296(0x522)]['getTypeOfUnitDisposed$'](_0x2a6157[_0x5f0296(0x1ff)][_0x5f0296(0x2b7)])[_0x5f0296(0x4b3)](_0x12f2af[_0x5f0296(0x616)](_0x3a45d7=>_0x3a45d7['getUnitId']())))[_0x5f0296(0x551)](_0x56dfef=>this[_0x5f0296(0x329)](_0x56dfef)))));}[_0x1bb47d(0x2b3)](_0xeec366){const _0x21d7ac=_0x1bb47d;this[_0x21d7ac(0x508)][_0x21d7ac(0x2b3)](_0xeec366);}[_0x1bb47d(0x57a)](){const _0x4a603f=_0x1bb47d;return this['_userManagerService'][_0x4a603f(0x57a)]();}[_0x1bb47d(0x61d)](_0x6dc0c5,_0x4a1062){const _0x21d7a1=_0x1bb47d;let _0x26b963=this[_0x21d7a1(0x48a)][_0x21d7a1(0x55e)](_0x6dc0c5);_0x26b963||(_0x26b963=new _0x97f259(),this['_roomMembers'][_0x21d7a1(0x674)](_0x6dc0c5,_0x26b963)),_0x26b963[_0x21d7a1(0x61d)](_0x4a1062);}[_0x1bb47d(0x346)](_0x436173,_0x49aef6){const _0x55870e=_0x1bb47d,_0x376659=this['_roomMembers'][_0x55870e(0x55e)](_0x436173);_0x376659&&_0x376659[_0x55870e(0x346)](_0x49aef6);}[_0x1bb47d(0x45b)](_0x45d72c){const _0xb81bb0=_0x1bb47d;return this[_0xb81bb0(0x48a)][_0xb81bb0(0x55e)](_0x45d72c);}[_0x1bb47d(0x38c)](_0x12ef95,_0xee9320){const _0x4780e0=_0x1bb47d,_0x342697=this[_0x4780e0(0x48a)][_0x4780e0(0x55e)](_0x12ef95);if(_0x342697)return _0x342697['getMember'](_0xee9320);}[_0x1bb47d(0x329)](_0x4f09b2){const _0x49b595=_0x1bb47d,_0x15f6ed=this[_0x49b595(0x48a)][_0x49b595(0x55e)](_0x4f09b2);_0x15f6ed&&(_0x15f6ed['dispose'](),this[_0x49b595(0x48a)][_0x49b595(0x5c7)](_0x4f09b2));}['dispose'](){const _0x20a8dd=_0x1bb47d;this[_0x20a8dd(0x48a)][_0x20a8dd(0x4bb)](_0xaf13d0=>_0xaf13d0[_0x20a8dd(0x3c0)]()),this[_0x20a8dd(0x48a)]['clear']();}},_0x439f5['MemberService']=_0x13639a([_0x3d561b(0x0,_0x2a6157[_0x1bb47d(0x59c)]),_0x3d561b(0x1,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157[_0x1bb47d(0x4a2)]))],_0x439f5['MemberService']);class _0x97f259 extends _0x2a6157['Disposable']{constructor(){const _0x4ed9c3=_0x1bb47d;super(...arguments),_0x538cec(this,_0x4ed9c3(0x636),new Map());}[_0x1bb47d(0x3c0)](){const _0x46c9e9=_0x1bb47d;this['_members'][_0x46c9e9(0x333)]();}['updateMember'](_0x108087){const _0x321173=_0x1bb47d;this[_0x321173(0x636)][_0x321173(0x674)](_0x108087[_0x321173(0x312)],_0x108087);}[_0x1bb47d(0x346)](_0x392b22){const _0x57ad1f=_0x1bb47d;this[_0x57ad1f(0x636)][_0x57ad1f(0x5c7)](_0x392b22);}[_0x1bb47d(0x38c)](_0x34c8a8){const _0x245183=_0x1bb47d;return this[_0x245183(0x636)][_0x245183(0x55e)](_0x34c8a8);}['getAllMembers'](){const _0x424908=_0x1bb47d;return Array[_0x424908(0x611)](this[_0x424908(0x636)][_0x424908(0x304)]());}}var _0xced6d=Object['defineProperty'],_0x23dcc8=Object[_0x1bb47d(0x276)],_0x255376=(_0x244a1d,_0x3b1394,_0xbd1f68,_0x3cad22)=>{for(var _0x3d81b9=_0x3cad22>0x1?void 0x0:_0x3cad22?_0x23dcc8(_0x3b1394,_0xbd1f68):_0x3b1394,_0x4f7a3d=_0x244a1d['length']-0x1,_0x8f08d6;_0x4f7a3d>=0x0;_0x4f7a3d--)(_0x8f08d6=_0x244a1d[_0x4f7a3d])&&(_0x3d81b9=(_0x3cad22?_0x8f08d6(_0x3b1394,_0xbd1f68,_0x3d81b9):_0x8f08d6(_0x3d81b9))||_0x3d81b9);return _0x3cad22&&_0x3d81b9&&_0xced6d(_0x3b1394,_0xbd1f68,_0x3d81b9),_0x3d81b9;},_0x45751c=(_0x310f3c,_0xd01146)=>(_0x3c3bde,_0x152be8)=>_0xd01146(_0x3c3bde,_0x152be8,_0x310f3c),_0x1710c1=(_0x4b4dab=>(_0x4b4dab[_0x4b4dab[_0x1bb47d(0x381)]=0x0]='IDLE',_0x4b4dab[_0x4b4dab[_0x1bb47d(0x2ca)]=0x1]=_0x1bb47d(0x2ca),_0x4b4dab[_0x4b4dab[_0x1bb47d(0x4d2)]=0x2]=_0x1bb47d(0x4d2),_0x4b4dab[_0x4b4dab[_0x1bb47d(0x36b)]=0x3]=_0x1bb47d(0x36b),_0x4b4dab))(_0x1710c1||{});_0x439f5[_0x1bb47d(0x658)]=class extends _0x2a6157[_0x1bb47d(0x3ff)]{constructor(_0x5bcc34,_0x33805a,_0x364b69,_0x8e7efa,_0x50d1cc,_0x52aba8,_0x5f2487,_0x198f51,_0x42b96f,_0x43583e){const _0x50ddd5=_0x1bb47d;super(),_0x538cec(this,_0x50ddd5(0x526),new _0x59070a[(_0x50ddd5(0x471))](0x0)),_0x538cec(this,_0x50ddd5(0x57f),this[_0x50ddd5(0x526)]['asObservable']()),_0x538cec(this,_0x50ddd5(0x1cb),new _0x59070a[(_0x50ddd5(0x557))]()),_0x538cec(this,_0x50ddd5(0x437),this['_event$'][_0x50ddd5(0x55b)]()),_0x538cec(this,'_socket'),_0x538cec(this,_0x50ddd5(0x1e7)),_0x538cec(this,'_collaborationTimeoutTimer'),_0x538cec(this,_0x50ddd5(0x278),!0x1),_0x538cec(this,_0x50ddd5(0x34a),null),(this[_0x50ddd5(0x45c)]=_0x5bcc34,this['_logService']=_0x364b69,this['_beforeCloseService']=_0x8e7efa,this[_0x50ddd5(0x208)]=_0x50d1cc,this[_0x50ddd5(0x5a4)]=_0x52aba8,this[_0x50ddd5(0x682)]=_0x5f2487,this[_0x50ddd5(0x453)]=_0x198f51,this[_0x50ddd5(0x3b1)]=_0x42b96f,this[_0x50ddd5(0x3bb)]=_0x43583e,this[_0x50ddd5(0x278)]=!!this['_telemetryService'],_0x33805a[_0x50ddd5(0x4b3)](_0x59070a[_0x50ddd5(0x422)](this[_0x50ddd5(0x3a3)]))[_0x50ddd5(0x551)](_0x53c045=>{const _0x3195db=_0x50ddd5;var _0x4dbb05;typeof _0x53c045>'u'||(this['_socket']=_0x53c045,_0x53c045?(this['_joinRoom'](_0x53c045),this[_0x3195db(0x1e7)]=_0x53c045[_0x3195db(0x552)]['subscribe'](_0x151669=>{const _0x171d3a=_0x3195db;_0x151669['routeKey']===this[_0x171d3a(0x45c)]&&this[_0x171d3a(0x3a9)](_0x151669);})):(this[_0x3195db(0x2e4)](),this[_0x3195db(0x526)][_0x3195db(0x369)](0x2),(_0x4dbb05=this['_socketMessageSubscription'])==null||_0x4dbb05[_0x3195db(0x59b)](),this['_socketMessageSubscription']=null));}),this[_0x50ddd5(0x20d)](this[_0x50ddd5(0x4f4)][_0x50ddd5(0x23e)](()=>{const _0x57d7e2=_0x50ddd5;var _0xcdd95e;(_0xcdd95e=this[_0x57d7e2(0x257)])==null||_0xcdd95e[_0x57d7e2(0x350)]({'cmd':_0x43e8b8['LEAVE'],'data':{'roomID':this[_0x57d7e2(0x45c)]}});})));}get[_0x1bb47d(0x28c)](){const _0x7cea8d=_0x1bb47d;return this[_0x7cea8d(0x526)][_0x7cea8d(0x207)]();}[_0x1bb47d(0x65e)](){const _0x399004=_0x1bb47d;var _0x49c0d2,_0x23844f;return(_0x23844f=(_0x49c0d2=this[_0x399004(0x257)])==null?void 0x0:_0x49c0d2[_0x399004(0x312)])!=null?_0x23844f:null;}[_0x1bb47d(0x3c0)](){const _0x28b7af=_0x1bb47d;super[_0x28b7af(0x3c0)](),this[_0x28b7af(0x3a3)][_0x28b7af(0x369)](),this[_0x28b7af(0x3a3)][_0x28b7af(0x39e)]();}[_0x1bb47d(0x218)](){const _0x218f14=_0x1bb47d;var _0x113a96,_0xa312dd;this[_0x218f14(0x2e4)](),(_0x113a96=this['_socket'])==null||_0x113a96['send']({'cmd':_0x43e8b8[_0x218f14(0x2d9)],'data':{'roomID':this[_0x218f14(0x45c)]}}),(_0xa312dd=this[_0x218f14(0x257)])==null||_0xa312dd['close'](),this[_0x218f14(0x1cb)][_0x218f14(0x39e)](),this[_0x218f14(0x526)]['complete'](),this[_0x218f14(0x3c0)]();}[_0x1bb47d(0x3a9)](_0x526d27){const _0x4dd556=_0x1bb47d;_0x526d27[_0x4dd556(0x4e2)]===_0x43e8b8[_0x4dd556(0x315)]?this[_0x4dd556(0x553)](_0x526d27):_0x526d27['cmd']===_0x43e8b8[_0x4dd556(0x66e)]&&this['_onRecvEvent'](_0x526d27);}[_0x1bb47d(0x635)](_0x11d620){const _0x38f418=_0x1bb47d;this[_0x38f418(0x526)][_0x38f418(0x369)](0x1),_0x11d620[_0x38f418(0x350)]({'cmd':_0x43e8b8[_0x38f418(0x315)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x38f418(0x45c)]}]}});}[_0x1bb47d(0x553)](_0x99bf58){const _0x175358=_0x1bb47d;var _0x38993f;if(_0x99bf58[_0x175358(0x380)]===_0x424255[_0x175358(0x28b)]){this[_0x175358(0x208)][_0x175358(0x58f)]({'type':_0x407879[_0x175358(0x1d6)][_0x175358(0x3aa)],'content':this[_0x175358(0x682)]['t'](_0x175358(0x28a))}),this['_sessionStatus$'][_0x175358(0x369)](0x2);return;}this[_0x175358(0x526)]['next'](0x3);const _0xff3a9c=(_0x38993f=_0x99bf58[_0x175358(0x1d8)][_0x175358(0x2ad)][this['_unitID']])==null?void 0x0:_0x38993f[_0x175358(0x53d)];_0xff3a9c&&_0xff3a9c[_0x175358(0x4bb)](_0x57c0bd=>this[_0x175358(0x453)][_0x175358(0x61d)](this[_0x175358(0x45c)],_0x57c0bd));}[_0x1bb47d(0x494)](_0xc5ee86){const _0x110760=_0x1bb47d;try{const _0x366f8d=_0xc5ee86[_0x110760(0x1d8)];switch(_0x366f8d['eventID']){case _0x63ab19[_0x110760(0x497)][_0x110760(0x361)]:this['_onUserJoin'](_0x366f8d),this[_0x110760(0x1cb)][_0x110760(0x369)](_0x366f8d);break;case _0x63ab19[_0x110760(0x497)][_0x110760(0x59d)]:this[_0x110760(0x320)](_0x366f8d),this[_0x110760(0x1cb)][_0x110760(0x369)](_0x366f8d);break;case _0x63ab19[_0x110760(0x497)][_0x110760(0x432)]:case _0x63ab19[_0x110760(0x497)]['CHANGESET_SHOULD_RETRY']:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x110760(0x563)](),this[_0x110760(0x1cb)][_0x110760(0x369)](_0x366f8d);break;case _0x63ab19['CollaborationEvent']['MSG_FOR_ERROR']:this[_0x110760(0x434)][_0x110760(0x5c9)](_0x110760(0x579)+JSON['stringify'](_0x366f8d)),this[_0x110760(0x1cb)][_0x110760(0x369)](_0x366f8d);break;case _0x63ab19['CollaborationEvent'][_0x110760(0x32a)]:this['_commentService']['onCommentUpdate'](_0x366f8d[_0x110760(0x1d8)]),this[_0x110760(0x1cb)][_0x110760(0x369)](_0x366f8d);break;default:this[_0x110760(0x1cb)][_0x110760(0x369)](_0x366f8d);}}catch(_0x16e79c){this[_0x110760(0x434)]['error'](_0x16e79c,_0xc5ee86);}}[_0x1bb47d(0x430)](_0x1274ce){const _0x3c1343=_0x1bb47d;this[_0x3c1343(0x453)]['updateMember'](this[_0x3c1343(0x45c)],_0x1274ce[_0x3c1343(0x1d8)]);}[_0x1bb47d(0x320)](_0x1258d5){const _0x548e28=_0x1bb47d;this[_0x548e28(0x453)]['removeMember'](this[_0x548e28(0x45c)],_0x1258d5[_0x548e28(0x1d8)][_0x548e28(0x312)]);}async[_0x1bb47d(0x350)](_0x5163c0,_0x49294e){const _0xf8789b=_0x1bb47d;if(this['sessionStatus']!==0x3||!this[_0xf8789b(0x257)])throw new Error(_0xf8789b(0x247));try{_0x5163c0['eventID']===_0x63ab19[_0xf8789b(0x497)][_0xf8789b(0x623)]&&(this[_0xf8789b(0x2c4)](),this['_startTelemetryCollaborationNewChangeset'](_0x5163c0)),this[_0xf8789b(0x257)]['send']({'cmd':_0x43e8b8[_0xf8789b(0x638)],'routeKey':_0x49294e,'routeType':'','data':_0x5163c0});}catch(_0x38a818){this['_logService'][_0xf8789b(0x5c9)](_0x38a818);}}[_0x1bb47d(0x2c4)](){const _0x531f7e=_0x1bb47d;var _0xfe9b2b;this[_0x531f7e(0x582)]=window['setTimeout'](()=>{const _0x3193b7=_0x531f7e;this[_0x3193b7(0x582)]=null,this['_messageService'][_0x3193b7(0x58f)]({'type':_0x407879[_0x3193b7(0x1d6)][_0x3193b7(0x305)],'content':this['_localeService']['t'](_0x3193b7(0x243))});},(_0xfe9b2b=this[_0x531f7e(0x5a4)]['getConfig'](_0x2a8762))!=null?_0xfe9b2b:0x4e20);}[_0x1bb47d(0x563)](){const _0x4718e5=_0x1bb47d;this[_0x4718e5(0x582)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}[_0x1bb47d(0x45a)](_0x2a1ff3){const _0x2063af=_0x1bb47d;if(!this[_0x2063af(0x278)])return;const {data:_0x34abf4}=_0x2a1ff3,{unitID:_0x120503,changeset:_0x87d634}=_0x34abf4,{mutations:_0x5857ea,type:_0x2c3c25}=_0x87d634;this['_telemetryInfo']={'unitId':_0x120503,'type':_0x2c3c25,'startTime':performance[_0x2063af(0x520)](),'stopTime':0x0,'duration':0x0,'size':_0x4b1ce4(_0x5857ea)};}[_0x1bb47d(0x379)](){const _0x1bd270=_0x1bb47d;if(this[_0x1bd270(0x278)]){if(!this[_0x1bd270(0x34a)]){this[_0x1bd270(0x434)][_0x1bd270(0x5c9)]('[CollaborationSession]',_0x1bd270(0x3e6));return;}this[_0x1bd270(0x34a)]['stopTime']=performance[_0x1bd270(0x520)](),this[_0x1bd270(0x34a)][_0x1bd270(0x1d5)]=this['_telemetryInfo'][_0x1bd270(0x256)]-this[_0x1bd270(0x34a)][_0x1bd270(0x578)],this[_0x1bd270(0x3bb)][_0x1bd270(0x5f8)](_0x4837cd,this[_0x1bd270(0x34a)]),this[_0x1bd270(0x34a)]=null;}}[_0x1bb47d(0x2e4)](){const _0x844f9e=_0x1bb47d;this[_0x844f9e(0x34a)]=null;}},_0x439f5[_0x1bb47d(0x658)]=_0x255376([_0x45751c(0x2,_0x2a6157[_0x1bb47d(0x5b9)]),_0x45751c(0x3,_0x4c9f9a[_0x1bb47d(0x46a)]),_0x45751c(0x4,_0x4c9f9a[_0x1bb47d(0x527)]),_0x45751c(0x5,_0x2a6157[_0x1bb47d(0x65a)]),_0x45751c(0x6,_0x2a6157['Inject'](_0x2a6157[_0x1bb47d(0x308)])),_0x45751c(0x7,_0x2a6157['Inject'](_0x439f5['MemberService'])),_0x45751c(0x8,_0x2a6157['Inject'](_0x1b88f9)),_0x45751c(0x9,_0x2a6157[_0x1bb47d(0x1e1)](_0x1ec5d5[_0x1bb47d(0x576)]))],_0x439f5['CollaborationSession']);var _0x385ef4=Object[_0x1bb47d(0x368)],_0x31cdd3=Object[_0x1bb47d(0x276)],_0x3ca230=(_0x19d39b,_0x596ce9,_0x3fba14,_0x4ba01a)=>{const _0x22b532=_0x1bb47d;for(var _0x30d7d0=_0x4ba01a>0x1?void 0x0:_0x4ba01a?_0x31cdd3(_0x596ce9,_0x3fba14):_0x596ce9,_0x29ba0d=_0x19d39b[_0x22b532(0x458)]-0x1,_0x41c99;_0x29ba0d>=0x0;_0x29ba0d--)(_0x41c99=_0x19d39b[_0x29ba0d])&&(_0x30d7d0=(_0x4ba01a?_0x41c99(_0x596ce9,_0x3fba14,_0x30d7d0):_0x41c99(_0x30d7d0))||_0x30d7d0);return _0x4ba01a&&_0x30d7d0&&_0x385ef4(_0x596ce9,_0x3fba14,_0x30d7d0),_0x30d7d0;},_0x589252=(_0x537986,_0x4366dc)=>(_0x1208ef,_0x193f22)=>_0x4366dc(_0x1208ef,_0x193f22,_0x537986);_0x439f5['CollaborationSessionService']=class extends _0x2a6157[_0x1bb47d(0x36e)]{constructor(_0x3550d9,_0x52b0ce,_0x609801,_0x1802bb,_0x4093f2,_0x4c1a32){const _0x50a1cd=_0x1bb47d;super(),_0x538cec(this,'_socket$',new _0x59070a['BehaviorSubject'](void 0x0)),_0x538cec(this,'socket$',this[_0x50a1cd(0x253)]['asObservable']()),_0x538cec(this,'_candidateSocket',null),_0x538cec(this,'_sessions',new Map()),_0x538cec(this,_0x50a1cd(0x3f6),new _0x59070a[(_0x50a1cd(0x471))](_0x1710c1[_0x50a1cd(0x381)])),_0x538cec(this,_0x50a1cd(0x66b),this[_0x50a1cd(0x3f6)][_0x50a1cd(0x55b)]()),_0x538cec(this,'_socketReady',!0x1),_0x538cec(this,_0x50a1cd(0x42f)),_0x538cec(this,_0x50a1cd(0x389),0x0),_0x538cec(this,'_sendHeartbeatTimer'),_0x538cec(this,'_timeoutTimer'),(this[_0x50a1cd(0x4b6)]=_0x3550d9,this[_0x50a1cd(0x682)]=_0x52b0ce,this[_0x50a1cd(0x208)]=_0x609801,this['_logService']=_0x1802bb,this[_0x50a1cd(0x5a4)]=_0x4093f2,this[_0x50a1cd(0x2af)]=_0x4c1a32,this[_0x50a1cd(0x53f)]());}get[_0x1bb47d(0x257)](){const _0x33f591=_0x1bb47d;return this[_0x33f591(0x253)]['getValue']();}['_initEventListeners'](){const _0x2072dd=_0x1bb47d;this[_0x2072dd(0x2f9)](),this['_listenToOnlineEvent']();}[_0x1bb47d(0x3c0)](){const _0x49e867=_0x1bb47d;super[_0x49e867(0x3c0)](),this['_sessions']['forEach'](_0x4f2ed8=>_0x4f2ed8[_0x49e867(0x3c0)]()),this['_sessions'][_0x49e867(0x333)](),this[_0x49e867(0x3f6)][_0x49e867(0x39e)]();}async['requireSession'](_0x274838){const _0x44e256=_0x1bb47d;if(this['_sessions'][_0x44e256(0x676)](_0x274838))return this[_0x44e256(0x46b)][_0x44e256(0x55e)](_0x274838);this[_0x44e256(0x499)]();const _0x29c979=this[_0x44e256(0x4b6)][_0x44e256(0x307)](_0x439f5['CollaborationSession'],_0x274838,this[_0x44e256(0x253)][_0x44e256(0x55b)]());return this[_0x44e256(0x46b)][_0x44e256(0x674)](_0x274838,_0x29c979),_0x29c979;}[_0x1bb47d(0x601)](_0x3224ac){const _0x2d1046=_0x1bb47d;var _0x1573b3;const _0x46044f=this[_0x2d1046(0x46b)]['get'](_0x3224ac);_0x46044f&&(this['_sessions'][_0x2d1046(0x5c7)](_0x3224ac),_0x46044f['close']()),this['_sessions']['size']||(_0x1573b3=this[_0x2d1046(0x257)])==null||_0x1573b3[_0x2d1046(0x218)]();}['reconnect'](){const _0x4b52b7=_0x1bb47d;this[_0x4b52b7(0x389)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x4b52b7(0x42f)]),this['_retryConnectingTimer']=null),this[_0x4b52b7(0x5bd)]();}[_0x1bb47d(0x462)](){const _0x3c6f17=_0x1bb47d;var _0x26802b,_0x3b9efd;const _0x37bf99=this[_0x3c6f17(0x5a4)][_0x3c6f17(0x495)](_0x1be3bc),_0x124053=this['_configService'][_0x3c6f17(0x495)](_0x2dabdd),_0xe59dcf=(_0x3b9efd=(_0x26802b=_0x124053==null?void 0x0:_0x124053[_0x3c6f17(0x41a)])!=null?_0x26802b:_0x37bf99)!=null?_0x3b9efd:_0x4304d6,_0x113f2e=this[_0x3c6f17(0x2af)]['createSocket'](_0xe59dcf);return this[_0x3c6f17(0x561)]=_0x113f2e,_0x113f2e;}['_tryEnsureSocket'](){const _0x1a651a=_0x1bb47d;var _0x5a0e41,_0x37b631;try{const _0x3fc6cc=(_0x37b631=(_0x5a0e41=this[_0x1a651a(0x257)])!=null?_0x5a0e41:this[_0x1a651a(0x561)])!=null?_0x37b631:this[_0x1a651a(0x462)]();if(_0x3fc6cc){const _0x4f93c8=_0x3fc6cc['send'];_0x3fc6cc[_0x1a651a(0x350)]=_0x3a66f0=>(this[_0x1a651a(0x2a1)](),_0x4f93c8[_0x1a651a(0x40a)](_0x3fc6cc,[_0x3a66f0])),_0x3fc6cc[_0x1a651a(0x552)][_0x1a651a(0x551)](_0x3bd9dd=>this[_0x1a651a(0x684)](_0x3fc6cc,_0x3bd9dd)),_0x3fc6cc[_0x1a651a(0x209)][_0x1a651a(0x4b3)](_0x12f2af[_0x1a651a(0x2d8)](0x1))[_0x1a651a(0x551)](_0x530585=>this[_0x1a651a(0x434)][_0x1a651a(0x5c9)](_0x1a651a(0x313),_0x530585)),_0x3fc6cc[_0x1a651a(0x2de)][_0x1a651a(0x4b3)](_0x12f2af[_0x1a651a(0x2d8)](0x1))[_0x1a651a(0x551)](()=>{const _0x11cb61=_0x1a651a;this[_0x11cb61(0x3fd)](_0x3fc6cc);}),_0x3fc6cc[_0x1a651a(0x569)][_0x1a651a(0x4b3)](_0x12f2af[_0x1a651a(0x2d8)](0x1))[_0x1a651a(0x551)](_0x1cd2ce=>{const _0x304510=_0x1a651a;this[_0x304510(0x434)][_0x304510(0x280)](_0x304510(0x59e),_0x304510(0x403),_0x1cd2ce),this[_0x304510(0x322)]();});}}catch(_0x316517){this['_logService'][_0x1a651a(0x5c9)](_0x316517),this[_0x1a651a(0x322)]();}}[_0x1bb47d(0x3fd)](_0x467703){const _0x1ae376=_0x1bb47d;this['_logService'][_0x1ae376(0x280)]('[CollaborationSessionService]',_0x1ae376(0x2fa)),_0x467703[_0x1ae376(0x350)]({'cmd':_0x43e8b8[_0x1ae376(0x49c)]}),this[_0x1ae376(0x2a1)]();}[_0x1bb47d(0x2f9)](){const _0x39a02f=_0x1bb47d;window[_0x39a02f(0x347)](_0x39a02f(0x241),()=>this['_onOffline']());}[_0x1bb47d(0x265)](){const _0x5efd9d=_0x1bb47d;this[_0x5efd9d(0x30a)]=!0x1,this[_0x5efd9d(0x561)]=null,this[_0x5efd9d(0x3f6)][_0x5efd9d(0x369)](_0x1710c1['OFFLINE']),this['_socket$'][_0x5efd9d(0x369)](null),this[_0x5efd9d(0x4f3)](),this['_clearHeartbeatTimer']();}['_onConnectionFailed'](){const _0x377cbc=_0x1bb47d;var _0x284c49;this[_0x377cbc(0x265)](),this[_0x377cbc(0x389)]<((_0x284c49=this[_0x377cbc(0x5a4)][_0x377cbc(0x495)](_0x287e3e))!=null?_0x284c49:0x3)?(this['_messageService'][_0x377cbc(0x58f)]({'key':_0x377cbc(0x4fb),'type':_0x407879[_0x377cbc(0x1d6)][_0x377cbc(0x3aa)],'content':this[_0x377cbc(0x682)]['t'](_0x377cbc(0x5d7))}),this[_0x377cbc(0x5bd)]()):this['_messageService']['show']({'key':_0x377cbc(0x4fb),'type':_0x407879['MessageType'][_0x377cbc(0x305)],'content':this[_0x377cbc(0x682)]['t'](_0x377cbc(0x51e))});}[_0x1bb47d(0x5c8)](){const _0x3d989d=_0x1bb47d,_0x24e545=()=>{const _0x523494=_0x27a5;this[_0x523494(0x257)]||this['reconnect']();},_0x3f3025=()=>{const _0x52fd30=_0x27a5;this[_0x52fd30(0x257)]||document[_0x52fd30(0x62c)]===_0x52fd30(0x549)||this[_0x52fd30(0x2c7)]();};window['addEventListener'](_0x3d989d(0x4c4),_0x24e545),document[_0x3d989d(0x347)](_0x3d989d(0x459),_0x3f3025);}['_tryReconnect'](){const _0x4629ae=_0x1bb47d;var _0x59ea9b;const _0x1aab9f=this['_retryCount'],_0xd3109d=this[_0x4629ae(0x5a4)][_0x4629ae(0x495)](_0x2dabdd),_0x553197=_0x1aab9f===0x0?0x0:((_0x59ea9b=_0xd3109d==null?void 0x0:_0xd3109d[_0x4629ae(0x28e)])!=null?_0x59ea9b:0x4e20)*0x2**_0x1aab9f;this[_0x4629ae(0x42f)]=window['setTimeout'](()=>{const _0x51643a=_0x4629ae;clearTimeout(this[_0x51643a(0x42f)]),this[_0x51643a(0x42f)]=null,this[_0x51643a(0x499)]();},_0x553197),this[_0x4629ae(0x389)]+=0x1;}[_0x1bb47d(0x684)](_0x5e5071,_0xfb7081){const _0x4c2b78=_0x1bb47d,{cmd:_0x10c724}=_0xfb7081;_0x10c724===_0x43e8b8['HELLO']&&!this[_0x4c2b78(0x30a)]&&(_0x5e5071[_0x4c2b78(0x312)]=_0xfb7081[_0x4c2b78(0x1d8)][_0x4c2b78(0x312)],this[_0x4c2b78(0x253)]['next'](_0x5e5071),this[_0x4c2b78(0x3f6)][_0x4c2b78(0x369)](_0x1710c1['ONLINE']),this[_0x4c2b78(0x30a)]=!0x0,this[_0x4c2b78(0x561)]=null),_0x10c724===_0x43e8b8[_0x4c2b78(0x4ad)]&&this[_0x4c2b78(0x4f3)](),this[_0x4c2b78(0x2a1)]();}['_rescheduleHeartbeat'](){const _0x1a0c41=_0x1bb47d;var _0x5e5f80;this[_0x1a0c41(0x3cf)](),this[_0x1a0c41(0x4b4)]=window[_0x1a0c41(0x4e5)](()=>this[_0x1a0c41(0x629)](),(_0x5e5f80=this['_configService'][_0x1a0c41(0x495)](_0x3c4100))!=null?_0x5e5f80:0x7530);}[_0x1bb47d(0x629)](){const _0x60d44a=_0x1bb47d;this['_socket'][_0x60d44a(0x350)]({'cmd':_0x43e8b8[_0x60d44a(0x4ad)]}),this['_waitForHeartbeatResponse']();}[_0x1bb47d(0x248)](){const _0x4eca04=_0x1bb47d;var _0x2385c8;this['_timeoutTimer']=window[_0x4eca04(0x4e5)](()=>this['_onConnectionFailed'](),(_0x2385c8=this[_0x4eca04(0x5a4)][_0x4eca04(0x495)](_0x2a8762))!=null?_0x2385c8:0x4e20);}['_clearHeartbeatTimer'](){const _0x54c8be=_0x1bb47d;this[_0x54c8be(0x4b4)]!=null&&(clearTimeout(this[_0x54c8be(0x4b4)]),this[_0x54c8be(0x4b4)]=null);}['_clearTimeoutTimer'](){const _0x56f8a3=_0x1bb47d;this[_0x56f8a3(0x296)]!=null&&(clearTimeout(this[_0x56f8a3(0x296)]),this[_0x56f8a3(0x296)]=null);}},_0x439f5[_0x1bb47d(0x49e)]=_0x3ca230([_0x589252(0x0,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157[_0x1bb47d(0x5a7)])),_0x589252(0x1,_0x2a6157['Inject'](_0x2a6157[_0x1bb47d(0x308)])),_0x589252(0x2,_0x4c9f9a['IMessageService']),_0x589252(0x3,_0x2a6157[_0x1bb47d(0x5b9)]),_0x589252(0x4,_0x2a6157[_0x1bb47d(0x65a)]),_0x589252(0x5,_0x4bc590)],_0x439f5[_0x1bb47d(0x49e)]);for(var _0x4706b6=[],_0x1e3955=0x0;_0x1e3955<0x100;++_0x1e3955)_0x4706b6[_0x1bb47d(0x67d)]((_0x1e3955+0x100)[_0x1bb47d(0x630)](0x10)['slice'](0x1));function _0x2b607e(_0x5c4b63,_0x4d8f3f=0x0){return(_0x4706b6[_0x5c4b63[_0x4d8f3f+0x0]]+_0x4706b6[_0x5c4b63[_0x4d8f3f+0x1]]+_0x4706b6[_0x5c4b63[_0x4d8f3f+0x2]]+_0x4706b6[_0x5c4b63[_0x4d8f3f+0x3]]+'-'+_0x4706b6[_0x5c4b63[_0x4d8f3f+0x4]]+_0x4706b6[_0x5c4b63[_0x4d8f3f+0x5]]+'-'+_0x4706b6[_0x5c4b63[_0x4d8f3f+0x6]]+_0x4706b6[_0x5c4b63[_0x4d8f3f+0x7]]+'-'+_0x4706b6[_0x5c4b63[_0x4d8f3f+0x8]]+_0x4706b6[_0x5c4b63[_0x4d8f3f+0x9]]+'-'+_0x4706b6[_0x5c4b63[_0x4d8f3f+0xa]]+_0x4706b6[_0x5c4b63[_0x4d8f3f+0xb]]+_0x4706b6[_0x5c4b63[_0x4d8f3f+0xc]]+_0x4706b6[_0x5c4b63[_0x4d8f3f+0xd]]+_0x4706b6[_0x5c4b63[_0x4d8f3f+0xe]]+_0x4706b6[_0x5c4b63[_0x4d8f3f+0xf]])['toLowerCase']();}var _0x169c9d,_0x10fce3=new Uint8Array(0x10);function _0x11a456(){const _0x3c44bf=_0x1bb47d;if(!_0x169c9d&&(_0x169c9d=typeof crypto<'u'&&crypto['getRandomValues']&&crypto[_0x3c44bf(0x263)]['bind'](crypto),!_0x169c9d))throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');return _0x169c9d(_0x10fce3);}var _0x5ba5b6=typeof crypto<'u'&&crypto[_0x1bb47d(0x5ed)]&&crypto[_0x1bb47d(0x5ed)][_0x1bb47d(0x2d5)](crypto);const _0x5cbfb5={'randomUUID':_0x5ba5b6};function _0x43fb5e(_0x517a43,_0x291b66,_0x9c21df){const _0x5d94a3=_0x1bb47d;if(_0x5cbfb5['randomUUID']&&!_0x291b66&&!_0x517a43)return _0x5cbfb5['randomUUID']();_0x517a43=_0x517a43||{};var _0x574eee=_0x517a43[_0x5d94a3(0x1fc)]||(_0x517a43['rng']||_0x11a456)();return _0x574eee[0x6]=_0x574eee[0x6]&0xf|0x40,_0x574eee[0x8]=_0x574eee[0x8]&0x3f|0x80,_0x2b607e(_0x574eee);}var _0x81b522=Object[_0x1bb47d(0x368)],_0x27bfc5=Object[_0x1bb47d(0x276)],_0x66d805=(_0x259f14,_0x3388ad,_0x3c9a80,_0x39a47e)=>{const _0x50b336=_0x1bb47d;for(var _0x2f79cf=_0x39a47e>0x1?void 0x0:_0x39a47e?_0x27bfc5(_0x3388ad,_0x3c9a80):_0x3388ad,_0x58e918=_0x259f14[_0x50b336(0x458)]-0x1,_0x53e312;_0x58e918>=0x0;_0x58e918--)(_0x53e312=_0x259f14[_0x58e918])&&(_0x2f79cf=(_0x39a47e?_0x53e312(_0x3388ad,_0x3c9a80,_0x2f79cf):_0x53e312(_0x2f79cf))||_0x2f79cf);return _0x39a47e&&_0x2f79cf&&_0x81b522(_0x3388ad,_0x3c9a80,_0x2f79cf),_0x2f79cf;},_0x3a2dbd=(_0x9e25b7,_0x3fd55d)=>(_0x14d987,_0x334cc4)=>_0x3fd55d(_0x14d987,_0x334cc4,_0x9e25b7);let _0x328692=class{constructor(_0x3a95db,_0x42a592,_0x1e6f38){const _0x4ef309=_0x1bb47d;this['_injector']=_0x3a95db,this[_0x4ef309(0x301)]=_0x42a592,this[_0x4ef309(0x5f4)]=_0x1e6f38;}['transformIMECache'](_0x2fef51){const _0x22e2f0=_0x1bb47d;this[_0x22e2f0(0x515)](_0x2fef51),this[_0x22e2f0(0x5f9)](_0x2fef51);}[_0x1bb47d(0x5c2)](_0x4cd98e){const _0x1aa5ec=_0x1bb47d,{unitID:_0x5b9b0e}=_0x4cd98e,_0x5d7560=this[_0x1aa5ec(0x5f4)][_0x1aa5ec(0x1d3)](_0x5b9b0e)[_0x1aa5ec(0x558)](_0x4b7f90[_0x1aa5ec(0x63a)]),{redoCache:_0x4a954e}=_0x5d7560['getUndoRedoMutationParamsCache']();if(_0x4a954e['length']===0x0)return _0x4cd98e;let _0xd3a6b8=_0x2a6157[_0x1aa5ec(0x3e5)][_0x1aa5ec(0x231)](_0x4cd98e[_0x1aa5ec(0x589)][0x0]);for(let _0x519ead=0x0;_0x519ead<_0x4a954e[_0x1aa5ec(0x458)];_0x519ead++){const _0x439148={'id':'doc.mutation.rich-text-editing','params':{..._0x4a954e[_0x519ead]}},_0x590a8e=this['_transformService']['transformMutation'](_0xd3a6b8,_0x439148,!0x1);if(_0x63ab19[_0x1aa5ec(0x67a)](_0x590a8e))throw _0x590a8e[_0x1aa5ec(0x5c9)];_0xd3a6b8=_0x590a8e[_0x1aa5ec(0x418)];}return{..._0x2a6157['Tools'][_0x1aa5ec(0x231)](_0x4cd98e),'mutations':[_0xd3a6b8]};}[_0x1bb47d(0x515)](_0x4eedd0){const _0x341d54=_0x1bb47d,{unitID:_0x4fd5a2}=_0x4eedd0,_0x54482e=this[_0x341d54(0x5f4)][_0x341d54(0x1d3)](_0x4fd5a2)[_0x341d54(0x558)](_0x4b7f90[_0x341d54(0x63a)]),{undoCache:_0x544bea,redoCache:_0x1da92a}=_0x54482e[_0x341d54(0x568)]();if(_0x544bea['length']===0x0||_0x1da92a[_0x341d54(0x458)]===0x0)return;const _0x1efe66=[],_0x2b9e9a=[];let _0x2891fc=_0x2a6157[_0x341d54(0x3e5)][_0x341d54(0x231)](_0x4eedd0[_0x341d54(0x589)][0x0]),_0x1401b4=_0x2a6157[_0x341d54(0x3e5)][_0x341d54(0x231)](_0x4eedd0[_0x341d54(0x589)][0x0]);for(let _0x3daa54=_0x544bea[_0x341d54(0x458)]-0x1;_0x3daa54>=0x0;_0x3daa54--){const _0x34f41e={'id':_0x341d54(0x575),'params':{..._0x544bea[_0x3daa54]}},_0x2305cb={'id':_0x341d54(0x575),'params':{..._0x1da92a[_0x3daa54]}},_0x33e235=this[_0x341d54(0x301)][_0x341d54(0x485)](_0x2891fc,_0x34f41e,!0x1),_0x13a812=this['_transformService'][_0x341d54(0x485)](_0x1401b4,_0x2305cb,!0x1);if(_0x63ab19[_0x341d54(0x67a)](_0x33e235))throw _0x33e235[_0x341d54(0x5c9)];if(_0x63ab19[_0x341d54(0x67a)](_0x13a812))throw _0x13a812[_0x341d54(0x5c9)];_0x1efe66[_0x341d54(0x608)](_0x33e235[_0x341d54(0x4a5)]['params']),_0x2b9e9a[_0x341d54(0x608)](_0x13a812[_0x341d54(0x4a5)]['params']),_0x2891fc=_0x33e235[_0x341d54(0x418)],_0x1401b4=_0x13a812[_0x341d54(0x418)];}_0x54482e[_0x341d54(0x590)]({'undoCache':_0x1efe66,'redoCache':_0x2b9e9a});}[_0x1bb47d(0x5f9)](_0x199a71){const _0x4eea0e=_0x1bb47d,{unitID:_0x43e4fd}=_0x199a71,_0x234384=this[_0x4eea0e(0x5f4)]['getRenderById'](_0x43e4fd)[_0x4eea0e(0x558)](_0x4b7f90[_0x4eea0e(0x63a)]),_0x42487d=_0x234384['getActiveRange']();if(_0x42487d==null)return;const _0x42f4c8=[{'id':_0x4eea0e(0x575),'params':{'unitId':_0x199a71[_0x4eea0e(0x482)],'actions':null,'textRanges':[_0x42487d]}}],_0x5257f4=this[_0x4eea0e(0x301)][_0x4eea0e(0x233)](_0x199a71,_0x42f4c8);if(!_0x63ab19[_0x4eea0e(0x667)](_0x5257f4))throw _0x5257f4[_0x4eea0e(0x5c9)];const _0x652836=_0x5257f4[_0x4eea0e(0x4a5)][0x0][_0x4eea0e(0x457)][_0x4eea0e(0x2f6)];Array[_0x4eea0e(0x36d)](_0x652836)&&_0x652836[_0x4eea0e(0x458)]&&_0x234384[_0x4eea0e(0x4e1)](_0x652836[0x0]);}};_0x328692=_0x66d805([_0x3a2dbd(0x0,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157[_0x1bb47d(0x5a7)])),_0x3a2dbd(0x1,_0x63ab19[_0x1bb47d(0x32b)]),_0x3a2dbd(0x2,_0xf19b5a[_0x1bb47d(0x2bb)])],_0x328692);var _0x42d4ea=Object['defineProperty'],_0x1c70df=Object[_0x1bb47d(0x276)],_0x2e5804=(_0x5f4390,_0x28e2f,_0x343af,_0x1c5708)=>{const _0x399366=_0x1bb47d;for(var _0x127362=_0x1c5708>0x1?void 0x0:_0x1c5708?_0x1c70df(_0x28e2f,_0x343af):_0x28e2f,_0xcc23ee=_0x5f4390[_0x399366(0x458)]-0x1,_0x325275;_0xcc23ee>=0x0;_0xcc23ee--)(_0x325275=_0x5f4390[_0xcc23ee])&&(_0x127362=(_0x1c5708?_0x325275(_0x28e2f,_0x343af,_0x127362):_0x325275(_0x127362))||_0x127362);return _0x1c5708&&_0x127362&&_0x42d4ea(_0x28e2f,_0x343af,_0x127362),_0x127362;},_0x97c679=(_0xe753fe,_0x35df5b)=>(_0x4fc80e,_0x501685)=>_0x35df5b(_0x4fc80e,_0x501685,_0xe753fe);_0x439f5[_0x1bb47d(0x3f2)]=class extends _0x2a6157[_0x1bb47d(0x36e)]{constructor(_0x2ba9b6,_0x525bd6,_0x4702d6,_0x232e3b,_0x519501){const _0x30f6c8=_0x1bb47d;super(),_0x538cec(this,'_cachedData',new Map()),_0x538cec(this,_0x30f6c8(0x5ea),new Map()),_0x538cec(this,_0x30f6c8(0x58e),!0x1),(this['_configService']=_0x2ba9b6,this[_0x30f6c8(0x3d7)]=_0x525bd6,this[_0x30f6c8(0x4f4)]=_0x4702d6,this[_0x30f6c8(0x682)]=_0x232e3b,this[_0x30f6c8(0x1f6)]=_0x519501,this[_0x30f6c8(0x574)]());}[_0x1bb47d(0x4db)](){const _0x1c773f=_0x1bb47d;this[_0x1c773f(0x58e)]=!0x0;}[_0x1bb47d(0x375)](){const _0x101d49=_0x1bb47d;this[_0x101d49(0x58e)]=!0x1;}[_0x1bb47d(0x3c0)](){const _0x3b14ed=_0x1bb47d;this['exhaustSavingTask']()['then'](()=>super[_0x3b14ed(0x3c0)]());}async[_0x1bb47d(0x675)](_0x2d4be8){const _0x3c0712=_0x1bb47d;return this[_0x3c0712(0x58e)]?null:this[_0x3c0712(0x3d7)]['getItem'](_0x3c547b(_0x2d4be8));}async[_0x1bb47d(0x4ab)](_0x5ea36b,_0x124955){const _0x5248f4=_0x1bb47d;return!!this[_0x5248f4(0x3d7)][_0x5248f4(0x44b)](_0x5ea36b,_0x124955);}[_0x1bb47d(0x63b)](_0x51b81c,_0x372075,_0x5b68a2,_0x561a9a){const _0xce6f86=_0x1bb47d,_0xa730a0=this[_0xce6f86(0x1f6)][_0xce6f86(0x357)](_0x51b81c);this[_0xce6f86(0x3c2)]['set'](_0x51b81c,{'unitID':_0x51b81c,'type':_0x372075,'awaitingChangeset':_0x5b68a2,'mutations':_0x561a9a,'rev':_0xa730a0}),this[_0xce6f86(0x5ea)][_0xce6f86(0x676)](_0x51b81c)||this[_0xce6f86(0x5a0)](_0x51b81c);}[_0x1bb47d(0x5a0)](_0xadc816){const _0x528e03=_0x1bb47d,_0x269531=this[_0x528e03(0x3f1)]();_0x269531===0x0?this[_0x528e03(0x37f)](_0xadc816):this[_0x528e03(0x5ea)]['set'](_0xadc816,setTimeout(()=>this[_0x528e03(0x37f)](_0xadc816),_0x269531));}[_0x1bb47d(0x3f1)](){var _0x224414;return(_0x224414=this['_configService']['getConfig'](_0x3b829d))!=null?_0x224414:0x3e8;}[_0x1bb47d(0x37f)](_0x24b85e){const _0xaf9019=_0x1bb47d,_0x42c8ab=this[_0xaf9019(0x5ea)][_0xaf9019(0x55e)](_0x24b85e);return _0x42c8ab!==void 0x0&&window['clearTimeout'](_0x42c8ab),this[_0xaf9019(0x3d7)][_0xaf9019(0x44b)](_0x3c547b(_0x24b85e),this[_0xaf9019(0x3c2)][_0xaf9019(0x55e)](_0x24b85e))[_0xaf9019(0x341)](()=>this[_0xaf9019(0x5ea)][_0xaf9019(0x5c7)](_0x24b85e));}async['exhaustSavingTask'](){const _0x5156d9=_0x1bb47d,_0x3c1aac=[];this[_0x5156d9(0x5ea)][_0x5156d9(0x4bb)]((_0x324d6f,_0x3a62ba)=>{const _0x247c0c=_0x5156d9;window[_0x247c0c(0x49f)](_0x324d6f),_0x3c1aac[_0x247c0c(0x67d)](this[_0x247c0c(0x37f)](_0x3a62ba)[_0x247c0c(0x341)](()=>{const _0x251505=_0x247c0c;this[_0x251505(0x5ea)]['delete'](_0x3a62ba);}));}),await Promise['all'](_0x3c1aac);}[_0x1bb47d(0x574)](){const _0x4261fd=_0x1bb47d;this['disposeWithMe'](this[_0x4261fd(0x4f4)][_0x4261fd(0x3c1)](()=>{const _0x32a50a=_0x4261fd;if(this[_0x32a50a(0x5ea)][_0x32a50a(0x5c1)])return this[_0x32a50a(0x682)]['t']('collaboration-client.offline-data-not-saved');}));}},_0x439f5['LocalCacheService']=_0x2e5804([_0x97c679(0x0,_0x2a6157[_0x1bb47d(0x65a)]),_0x97c679(0x1,_0x2a6157['ILocalStorageService']),_0x97c679(0x2,_0x4c9f9a[_0x1bb47d(0x46a)]),_0x97c679(0x3,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157[_0x1bb47d(0x308)])),_0x97c679(0x4,_0x2a6157['Inject'](_0x63ab19['RevisionService']))],_0x439f5[_0x1bb47d(0x3f2)]);function _0x3c547b(_0x5a9b50){const _0xfd206c=_0x1bb47d;return _0xfd206c(0x5bf)+_0x5a9b50;}var _0x45610b=Object[_0x1bb47d(0x368)],_0x1532f4=Object[_0x1bb47d(0x276)],_0x4a24f0=(_0x12baf5,_0x2f5439,_0xa6b917,_0x962e8e)=>{for(var _0x1d1052=_0x962e8e>0x1?void 0x0:_0x962e8e?_0x1532f4(_0x2f5439,_0xa6b917):_0x2f5439,_0x164f4d=_0x12baf5['length']-0x1,_0x2eed2a;_0x164f4d>=0x0;_0x164f4d--)(_0x2eed2a=_0x12baf5[_0x164f4d])&&(_0x1d1052=(_0x962e8e?_0x2eed2a(_0x2f5439,_0xa6b917,_0x1d1052):_0x2eed2a(_0x1d1052))||_0x1d1052);return _0x962e8e&&_0x1d1052&&_0x45610b(_0x2f5439,_0xa6b917,_0x1d1052),_0x1d1052;},_0x4a8643=(_0x28ea31,_0x3221c5)=>(_0x57be04,_0x4d1534)=>_0x3221c5(_0x57be04,_0x4d1534,_0x28ea31);function _0x21d810(_0x26be2e){const _0xbccab9=_0x1bb47d,{unitID:_0x27a07b,mutations:_0x1a970b}=_0x26be2e;return{'unitId':_0x27a07b,'subUnitId':_0x1a970b[0x0][_0xbccab9(0x457)][_0xbccab9(0x4d8)]};}let _0x5128be=class{constructor(_0x48e7ce,_0x259eba,_0x526e87){const _0x58b6d6=_0x1bb47d;this[_0x58b6d6(0x4b6)]=_0x48e7ce,this[_0x58b6d6(0x301)]=_0x259eba,this[_0x58b6d6(0x4ee)]=_0x526e87;}[_0x1bb47d(0x58c)](_0x40073e){const _0x1e2f9a=_0x1bb47d;var _0x2c9e9c,_0x4baab8,_0x34034c,_0x11e57e;const _0x1253b6=this[_0x1e2f9a(0x4b6)][_0x1e2f9a(0x55e)](_0xeac940[_0x1e2f9a(0x469)]),{unitId:_0x2c5b39,subUnitId:_0x389011}=_0x21d810(_0x40073e),_0x52ea7a=_0x1253b6[_0x1e2f9a(0x5cb)](_0x2c5b39)['getCurrentSelections'](),_0x5d159b=(_0x4baab8=(_0x2c9e9c=this['_instanceService'][_0x1e2f9a(0x50a)](_0x2c5b39))==null?void 0x0:_0x2c9e9c[_0x1e2f9a(0x2df)]())==null?void 0x0:_0x4baab8['getSheetId']();if(_0x52ea7a[_0x1e2f9a(0x458)]===0x0||!_0x2c5b39||!_0x389011)return;const _0x3e6098=[{'id':_0xeac940[_0x1e2f9a(0x397)]['id'],'params':{'unitId':_0x2c5b39,'subUnitId':_0x5d159b,'selections':_0x2a6157[_0x1e2f9a(0x3e5)][_0x1e2f9a(0x231)](_0x52ea7a)}}],_0x1c2ecc=this[_0x1e2f9a(0x301)][_0x1e2f9a(0x233)](_0x40073e,_0x3e6098);if(!_0x63ab19[_0x1e2f9a(0x667)](_0x1c2ecc))throw _0x1c2ecc[_0x1e2f9a(0x5c9)];const _0xa1d849=(_0x11e57e=(_0x34034c=_0x1c2ecc[_0x1e2f9a(0x4a5)][0x0])==null?void 0x0:_0x34034c[_0x1e2f9a(0x457)])==null?void 0x0:_0x11e57e[_0x1e2f9a(0x65c)];if(Array[_0x1e2f9a(0x36d)](_0xa1d849)&&_0xa1d849['length']){if(_0xa1d849['length']===_0x3e6098[0x0][_0x1e2f9a(0x457)][_0x1e2f9a(0x65c)][_0x1e2f9a(0x458)]&&_0xa1d849[_0x1e2f9a(0x3cd)]((_0x2572c8,_0x4f256a)=>_0x2a6157[_0x1e2f9a(0x3e9)]['equals'](_0x2572c8[_0x1e2f9a(0x294)],_0x3e6098[0x0][_0x1e2f9a(0x457)][_0x1e2f9a(0x65c)][_0x4f256a][_0x1e2f9a(0x294)])))return;this[_0x1e2f9a(0x4b6)][_0x1e2f9a(0x55e)](_0x2a6157[_0x1e2f9a(0x3fa)])[_0x1e2f9a(0x699)](_0xeac940[_0x1e2f9a(0x397)]['id'],{'unitId':_0x2c5b39,'subUnitId':_0x5d159b,'selections':_0xa1d849});}}};_0x5128be=_0x4a24f0([_0x4a8643(0x0,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157[_0x1bb47d(0x5a7)])),_0x4a8643(0x1,_0x63ab19[_0x1bb47d(0x32b)]),_0x4a8643(0x2,_0x2a6157[_0x1bb47d(0x59c)])],_0x5128be);const _0x4eeee0=_0x2a6157[_0x1bb47d(0x3cc)](_0x1bb47d(0x22f));var _0xfa0e84=(_0xfe4b7b=>(_0xfe4b7b[_0xfe4b7b[_0x1bb47d(0x394)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0xfe4b7b[_0xfe4b7b[_0x1bb47d(0x4b8)]=0x1]='OTHER_CLIENTS_EDITING',_0xfe4b7b))(_0xfa0e84||{});const _0x1724e0=0x7530,_0x472e5c='ACTIVE_UNIT_EVENT_CHANNEL';class _0x1af1cf extends _0x2a6157[_0x1bb47d(0x36e)]{constructor(){const _0x115a27=_0x1bb47d;super(),_0x538cec(this,_0x115a27(0x310),_0x2a6157[_0x115a27(0x3e5)][_0x115a27(0x5e4)]()),_0x538cec(this,_0x115a27(0x32d),new Set()),_0x538cec(this,_0x115a27(0x3fe),new Map()),_0x538cec(this,_0x115a27(0x42c),null),_0x538cec(this,_0x115a27(0x2ef),new Map()),_0x538cec(this,_0x115a27(0x4cf),new Map()),this[_0x115a27(0x311)]();}[_0x1bb47d(0x3c0)](){const _0x52af12=_0x1bb47d;super[_0x52af12(0x3c0)](),this['_clearOtherTimers']['forEach']((_0x59a0d2,_0x589215)=>this[_0x52af12(0x387)](_0x589215)),this['_heartbeatTimer']&&window[_0x52af12(0x2eb)](this[_0x52af12(0x42c)]);}[_0x1bb47d(0x57c)](_0x2e2e14){const _0x2eb1d2=_0x1bb47d;return this['_ensureSubject'](_0x2e2e14)[_0x2eb1d2(0x4b3)](_0x59070a[_0x2eb1d2(0x216)]());}[_0x1bb47d(0x536)](_0x55e8a2){const _0x308b6e=_0x1bb47d;this[_0x308b6e(0x32d)][_0x308b6e(0x5c1)]===0x0&&this[_0x308b6e(0x449)](),this[_0x308b6e(0x32d)][_0x308b6e(0x1e2)](_0x55e8a2),this['_send']({'type':0x0,'memberID':this[_0x308b6e(0x310)],'unitIDs':[_0x55e8a2],'isForwarded':!0x1});}[_0x1bb47d(0x4e6)](_0x11089d){const _0x2c3f81=_0x1bb47d;this[_0x2c3f81(0x32d)]['delete'](_0x11089d),this[_0x2c3f81(0x32d)][_0x2c3f81(0x5c1)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this[_0x2c3f81(0x42c)]);}[_0x1bb47d(0x311)](){const _0x599010=_0x1bb47d;this[_0x599010(0x20d)](_0x2a6157[_0x599010(0x2cf)](_0x59070a['fromEvent'](window,_0x599010(0x3bc))[_0x599010(0x551)](_0x45f21=>{const _0x3916c2=_0x599010;if(_0x45f21['key']!==_0x472e5c||!_0x45f21[_0x3916c2(0x660)])return;const _0x5cd635=JSON[_0x3916c2(0x376)](_0x45f21[_0x3916c2(0x660)]);this[_0x3916c2(0x281)](_0x5cd635);}))),window[_0x599010(0x347)](_0x599010(0x271),()=>this[_0x599010(0x4d3)]({'type':0x1,'memberID':this[_0x599010(0x310)],'unitIDs':Array['from'](this[_0x599010(0x32d)])}));}[_0x1bb47d(0x281)](_0x52504e){const _0x115ba7=_0x1bb47d;switch(_0x52504e[_0x115ba7(0x451)]){case 0x0:this[_0x115ba7(0x5d5)](_0x52504e);break;case 0x1:this[_0x115ba7(0x5e1)](_0x52504e);break;case 0x2:this[_0x115ba7(0x1de)](_0x52504e);break;}}[_0x1bb47d(0x5d5)](_0x89b34){const _0x5ccc45=_0x1bb47d,{unitIDs:_0x291c26,memberID:_0x265720,isForwarded:_0x43ca5d}=_0x89b34;_0x291c26[_0x5ccc45(0x4bb)](_0xee7b46=>{const _0x14ab17=_0x5ccc45;if(!_0x43ca5d&&this[_0x14ab17(0x3fe)][_0x14ab17(0x676)](_0xee7b46)&&this['_ensureSubject'](_0xee7b46)[_0x14ab17(0x369)](0x1),!this[_0x14ab17(0x3fe)]['has'](_0xee7b46)||!this[_0x14ab17(0x3fe)][_0x14ab17(0x55e)](_0xee7b46)[_0x14ab17(0x676)](_0x265720)){const _0x261405=this[_0x14ab17(0x3fe)][_0x14ab17(0x55e)](_0xee7b46)||new Set();_0x261405[_0x14ab17(0x1e2)](_0x265720),this[_0x14ab17(0x3fe)][_0x14ab17(0x674)](_0xee7b46,_0x261405),this[_0x14ab17(0x360)](_0x265720);}}),_0x43ca5d||this['_send']({'type':0x0,'memberID':this[_0x5ccc45(0x310)],'unitIDs':[...this[_0x5ccc45(0x32d)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x230d94){const _0x4548b2=_0x1bb47d;this[_0x4548b2(0x387)](_0x230d94);const _0x40a5c2=window['setTimeout'](()=>{const _0x508624=_0x4548b2;this[_0x508624(0x3fe)][_0x508624(0x4bb)](_0x548773=>{const _0x23bb95=_0x508624;_0x548773[_0x23bb95(0x5c7)](_0x230d94);});},_0x1724e0*0x2);this['_clearOtherTimers'][_0x4548b2(0x674)](_0x230d94,_0x40a5c2);}[_0x1bb47d(0x387)](_0x2b476c){const _0x22b2e4=_0x1bb47d;if(this['_clearOtherTimers']['has'](_0x2b476c)){const _0x4a8cb6=this[_0x22b2e4(0x2ef)][_0x22b2e4(0x55e)](_0x2b476c);_0x4a8cb6&&window[_0x22b2e4(0x49f)](_0x4a8cb6),this[_0x22b2e4(0x2ef)][_0x22b2e4(0x674)](_0x2b476c,null);}}['_handleLeaveEvent'](_0x52043a){const _0x4f549a=_0x1bb47d,{memberID:_0x4642a5,unitIDs:_0x2ff347}=_0x52043a;_0x2ff347[_0x4f549a(0x4bb)](_0x5d63c2=>{const _0x4eff05=_0x4f549a;var _0x13019b;const _0x139c82=this[_0x4eff05(0x3fe)]['get'](_0x5d63c2);_0x139c82&&(_0x139c82['delete'](_0x4642a5),(_0x13019b=this[_0x4eff05(0x223)](_0x5d63c2))==null||_0x13019b['next'](_0x139c82[_0x4eff05(0x5c1)]===0x0?0x0:0x1));}),this[_0x4f549a(0x387)](_0x4642a5);}[_0x1bb47d(0x1de)](_0x15f5a0){const _0x21ba36=_0x1bb47d;this[_0x21ba36(0x360)](_0x15f5a0[_0x21ba36(0x312)]);}['_send'](_0x1de459){const _0x4f18c5=_0x1bb47d;localStorage[_0x4f18c5(0x44b)](_0x472e5c,JSON['stringify'](_0x1de459));}['_scheduleHeartbeat'](){const _0x34813d=_0x1bb47d;this[_0x34813d(0x42c)]=window[_0x34813d(0x27e)](()=>{const _0x526c53=_0x34813d;this[_0x526c53(0x4d3)]({'type':0x2,'memberID':this[_0x526c53(0x310)]});},_0x1724e0);}[_0x1bb47d(0x223)](_0x140655){const _0x46c26f=_0x1bb47d;return this[_0x46c26f(0x4cf)][_0x46c26f(0x676)](_0x140655)||this[_0x46c26f(0x4cf)][_0x46c26f(0x674)](_0x140655,new _0x59070a[(_0x46c26f(0x471))](0x0)),this[_0x46c26f(0x4cf)]['get'](_0x140655);}}var _0x3f2cc8=Object[_0x1bb47d(0x368)],_0x236d2e=Object[_0x1bb47d(0x276)],_0x58c75e=(_0x2d4ff3,_0x2c4df9,_0x1c7e66,_0x4c1b88)=>{const _0xa6d28a=_0x1bb47d;for(var _0x49c166=_0x4c1b88>0x1?void 0x0:_0x4c1b88?_0x236d2e(_0x2c4df9,_0x1c7e66):_0x2c4df9,_0x2ca4e6=_0x2d4ff3[_0xa6d28a(0x458)]-0x1,_0x1d5388;_0x2ca4e6>=0x0;_0x2ca4e6--)(_0x1d5388=_0x2d4ff3[_0x2ca4e6])&&(_0x49c166=(_0x4c1b88?_0x1d5388(_0x2c4df9,_0x1c7e66,_0x49c166):_0x1d5388(_0x49c166))||_0x49c166);return _0x4c1b88&&_0x49c166&&_0x3f2cc8(_0x2c4df9,_0x1c7e66,_0x49c166),_0x49c166;},_0x33ec8b=(_0x10a3c5,_0x2325b5)=>(_0x48df24,_0x57806b)=>_0x2325b5(_0x48df24,_0x57806b,_0x10a3c5);let _0x360c7d=class{constructor(_0x3d71b2,_0x5d50b6,_0xc29253){const _0x88fba0=_0x1bb47d;this[_0x88fba0(0x4b6)]=_0x3d71b2,this['_transformService']=_0x5d50b6,this['_docStateChangeManagerService']=_0xc29253;}[_0x1bb47d(0x670)](_0x5c12ad){this['_transformHistoryAndStateStack'](_0x5c12ad);}[_0x1bb47d(0x5c2)](_0x4ed199){const _0x106968=_0x1bb47d,{unitID:_0x24f4c3}=_0x4ed199,{collaboration:_0x1d2587}=this[_0x106968(0x3d1)]['getStateCache'](_0x24f4c3);if(_0x1d2587['length']===0x0)return _0x4ed199;let _0x97de5e=_0x2a6157[_0x106968(0x3e5)]['deepClone'](_0x4ed199[_0x106968(0x589)][0x0]);for(let _0x527ddb=0x0;_0x527ddb<_0x1d2587[_0x106968(0x458)];_0x527ddb++){const _0x4bfc14={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1d2587[_0x527ddb][_0x106968(0x60b)],..._0x1d2587[_0x527ddb]['redoState']}},_0x47b8ee=this[_0x106968(0x301)][_0x106968(0x485)](_0x97de5e,_0x4bfc14,!0x1);if(_0x63ab19[_0x106968(0x67a)](_0x47b8ee))throw _0x47b8ee[_0x106968(0x5c9)];_0x97de5e=_0x47b8ee['m1Prime'];}return{..._0x2a6157[_0x106968(0x3e5)]['deepClone'](_0x4ed199),'mutations':[_0x97de5e]};}['_transformHistoryAndStateStack'](_0x3f0568){const _0x29df1a=_0x1bb47d,{unitID:_0x4d71fc}=_0x3f0568,{history:_0x188e00,collaboration:_0x2950b2}=this[_0x29df1a(0x3d1)][_0x29df1a(0x34d)](_0x4d71fc);if(_0x188e00[_0x29df1a(0x458)]===0x0&&_0x2950b2[_0x29df1a(0x458)]===0x0)return;const _0x2c23f6=[],_0xb4c60d=[];let _0x224079=_0x2a6157[_0x29df1a(0x3e5)][_0x29df1a(0x231)](_0x3f0568['mutations'][0x0]),_0xb17b00=_0x2a6157['Tools'][_0x29df1a(0x231)](_0x3f0568[_0x29df1a(0x589)][0x0]);for(let _0x5e86ec=_0x188e00[_0x29df1a(0x458)]-0x1;_0x5e86ec>=0x0;_0x5e86ec--){const _0x9f088b={'id':_0x29df1a(0x575),'params':{'unitId':_0x188e00[_0x5e86ec][_0x29df1a(0x60b)],..._0x188e00[_0x5e86ec][_0x29df1a(0x29c)]}},_0x5438fa={'id':_0x29df1a(0x575),'params':{'unitId':_0x188e00[_0x5e86ec][_0x29df1a(0x60b)],..._0x188e00[_0x5e86ec]['redoState']}},_0x3e3fa1=this[_0x29df1a(0x301)][_0x29df1a(0x485)](_0x224079,_0x9f088b,!0x1),_0x3a2e1d=this[_0x29df1a(0x301)][_0x29df1a(0x485)](_0xb17b00,_0x5438fa,!0x1);if(_0x63ab19[_0x29df1a(0x67a)](_0x3e3fa1))throw _0x3e3fa1[_0x29df1a(0x5c9)];if(_0x63ab19[_0x29df1a(0x67a)](_0x3a2e1d))throw _0x3a2e1d[_0x29df1a(0x5c9)];_0x2c23f6[_0x29df1a(0x608)]({..._0x188e00[_0x5e86ec],'undoState':_0x3e3fa1[_0x29df1a(0x4a5)][_0x29df1a(0x457)],'redoState':_0x3a2e1d[_0x29df1a(0x4a5)]['params']}),_0x224079=_0x3e3fa1[_0x29df1a(0x418)],_0xb17b00=_0x3a2e1d['m1Prime'];}_0x224079=_0x2a6157['Tools']['deepClone'](_0x3f0568['mutations'][0x0]),_0xb17b00=_0x2a6157[_0x29df1a(0x3e5)][_0x29df1a(0x231)](_0x3f0568[_0x29df1a(0x589)][0x0]);for(let _0x21c176=_0x2950b2[_0x29df1a(0x458)]-0x1;_0x21c176>=0x0;_0x21c176--){const _0x1073bc={'id':_0x29df1a(0x575),'params':{'unitId':_0x2950b2[_0x21c176][_0x29df1a(0x60b)],..._0x2950b2[_0x21c176][_0x29df1a(0x29c)]}},_0x41004b={'id':_0x29df1a(0x575),'params':{'unitId':_0x2950b2[_0x21c176][_0x29df1a(0x60b)],..._0x2950b2[_0x21c176]['redoState']}},_0x1e2b12=this[_0x29df1a(0x301)][_0x29df1a(0x485)](_0x224079,_0x1073bc,!0x1),_0x354db6=this[_0x29df1a(0x301)][_0x29df1a(0x485)](_0xb17b00,_0x41004b,!0x1);if(_0x63ab19[_0x29df1a(0x67a)](_0x1e2b12))throw _0x1e2b12[_0x29df1a(0x5c9)];if(_0x63ab19[_0x29df1a(0x67a)](_0x354db6))throw _0x354db6['error'];_0xb4c60d[_0x29df1a(0x608)]({..._0x2950b2[_0x21c176],'undoState':_0x1e2b12[_0x29df1a(0x4a5)][_0x29df1a(0x457)],'redoState':_0x354db6[_0x29df1a(0x4a5)]['params']}),_0x224079=_0x1e2b12['m1Prime'],_0xb17b00=_0x354db6[_0x29df1a(0x418)];}this[_0x29df1a(0x3d1)][_0x29df1a(0x228)](_0x4d71fc,{'history':_0x2c23f6,'collaboration':_0xb4c60d});}};_0x360c7d=_0x58c75e([_0x33ec8b(0x0,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157[_0x1bb47d(0x5a7)])),_0x33ec8b(0x1,_0x63ab19['ITransformService']),_0x33ec8b(0x2,_0x2a6157[_0x1bb47d(0x439)](_0x4b7f90[_0x1bb47d(0x454)]))],_0x360c7d);function _0x4ecbbf(_0x4b6438){let _0x36be27='';for(const _0x110045 of _0x4b6438){const {startOffset:_0x42c2c6,endOffset:_0x406355,isActive:_0x5da7db,rangeType:_0xa4df9,segmentId:_0x215cb5,segmentPage:_0x530066}=_0x110045;_0x36be27['length']&&(_0x36be27+=','),_0x36be27+=_0x42c2c6+':'+_0x406355+':'+(_0x5da7db?'1':'0')+':'+_0xa4df9+':'+_0x215cb5+':'+_0x530066;}return _0x36be27;}function _0x43f154(_0x35beff){const _0x5b9e72=_0x1bb47d,_0x549c5d=_0x35beff['split'](','),_0x5cd17f=[];for(const _0x2466e3 of _0x549c5d){const [_0x589d34,_0x2f881f,_0x35ea0e,_0x27b1df,_0x1234cd,_0x8a0a1d]=_0x2466e3[_0x5b9e72(0x3ad)](':');_0x5cd17f[_0x5b9e72(0x67d)]({'startOffset':Number(_0x589d34),'endOffset':Number(_0x2f881f),'collapsed':_0x589d34===_0x2f881f,'isActive':_0x35ea0e==='1','rangeType':_0x27b1df===_0x2a6157[_0x5b9e72(0x24d)][_0x5b9e72(0x340)]?_0x2a6157[_0x5b9e72(0x24d)][_0x5b9e72(0x340)]:_0x2a6157['DOC_RANGE_TYPE'][_0x5b9e72(0x309)],'segmentId':typeof _0x1234cd==_0x5b9e72(0x5e2)?String(_0x1234cd):'','segmentPage':Number(_0x8a0a1d!=null?_0x8a0a1d:-0x1)});}return _0x5cd17f[_0x5b9e72(0x4c0)](_0x378155=>_0x378155[_0x5b9e72(0x2b0)])||(_0x5cd17f[0x0][_0x5b9e72(0x2b0)]=!0x0),_0x5cd17f;}class _0x46f788 extends _0x2a6157['RxDisposable']{constructor(){const _0x534267=_0x1bb47d;super(...arguments),_0x538cec(this,_0x534267(0x1da),new _0x59070a[(_0x534267(0x471))](null)),_0x538cec(this,_0x534267(0x1d4),this['_collabCursorState$'][_0x534267(0x55b)]());}[_0x1bb47d(0x622)](_0x44ad3d){const {unitID:_0x44c695,memberID:_0xe832b1,textRanges:_0x57172b}=_0x44ad3d,_0x27512e=_0x4ecbbf(_0x57172b);if(_0x27512e==='')return;const _0x2e0395={'unitID':_0x44c695,'memberID':_0xe832b1,'selection':_0x27512e};this['_collabCursorState$']['next'](_0x2e0395);}}var _0x55b855=Object[_0x1bb47d(0x368)],_0x341d1c=Object['getOwnPropertyDescriptor'],_0x1240e9=(_0xe08b60,_0x6e6fc,_0x4c61ab,_0x5bfc45)=>{const _0x1dea62=_0x1bb47d;for(var _0x37b2bb=_0x5bfc45>0x1?void 0x0:_0x5bfc45?_0x341d1c(_0x6e6fc,_0x4c61ab):_0x6e6fc,_0x4b7fcc=_0xe08b60[_0x1dea62(0x458)]-0x1,_0xb495e;_0x4b7fcc>=0x0;_0x4b7fcc--)(_0xb495e=_0xe08b60[_0x4b7fcc])&&(_0x37b2bb=(_0x5bfc45?_0xb495e(_0x6e6fc,_0x4c61ab,_0x37b2bb):_0xb495e(_0x37b2bb))||_0x37b2bb);return _0x5bfc45&&_0x37b2bb&&_0x55b855(_0x6e6fc,_0x4c61ab,_0x37b2bb),_0x37b2bb;},_0x2fbd07=(_0x253c49,_0x56ce57)=>(_0x3f7f53,_0x5659be)=>_0x56ce57(_0x3f7f53,_0x5659be,_0x253c49);let _0x25b89c=class{constructor(_0x37b1b6,_0x1ecf7f){const _0x3a1eac=_0x1bb47d;this[_0x3a1eac(0x4b6)]=_0x37b1b6,this[_0x3a1eac(0x301)]=_0x1ecf7f;}[_0x1bb47d(0x58c)](_0x29e923){const _0x235209=_0x1bb47d;var _0x40d16b;const _0x1d29fe=this[_0x235209(0x4b6)][_0x235209(0x55e)](_0x6fdacf[_0x235209(0x54e)]),_0x380c85=(_0x40d16b=_0x1d29fe[_0x235209(0x632)]())!=null?_0x40d16b:[];if(_0x380c85['length']===0x0)return;const _0xc44bda=[{'id':_0x235209(0x575),'params':{'unitId':_0x29e923['unitID'],'actions':null,'textRanges':_0x380c85}}],_0x25acc5=this[_0x235209(0x301)][_0x235209(0x233)](_0x29e923,_0xc44bda);if(!_0x63ab19[_0x235209(0x667)](_0x25acc5))throw _0x25acc5[_0x235209(0x5c9)];const _0x64eb2d=_0x25acc5[_0x235209(0x4a5)][0x0]['params']['textRanges'];Array[_0x235209(0x36d)](_0x64eb2d)&&_0x64eb2d[_0x235209(0x458)]&&_0x1d29fe[_0x235209(0x5d8)](_0x64eb2d,!0x1);}};_0x25b89c=_0x1240e9([_0x2fbd07(0x0,_0x2a6157['Inject'](_0x2a6157[_0x1bb47d(0x5a7)])),_0x2fbd07(0x1,_0x63ab19[_0x1bb47d(0x32b)])],_0x25b89c);const _0x4d3c2a=new Set([_0xeac940['InsertSheetMutation']['id']]);function _0x244e86(_0x9af557,_0x459c78,_0x151fac,_0x238913,_0x81d0fb){const _0x5e3023=_0x1bb47d;var _0x224145,_0x2aaf21,_0x5dad48,_0x36a3dc;const _0x8fc4f1=[];for(const _0x2cdf7b of _0x9af557)if(_0x4d3c2a[_0x5e3023(0x676)](_0x2cdf7b['id'])){if(_0x8fc4f1[_0x5e3023(0x458)]>0x0)break;_0x8fc4f1['push'](_0x2cdf7b);break;}else _0x8fc4f1[_0x5e3023(0x67d)](_0x2cdf7b);const _0x54ab90=(_0x2aaf21=(_0x224145=_0x81d0fb[_0x5e3023(0x57a)]())==null?void 0x0:_0x224145[_0x5e3023(0x496)])!=null?_0x2aaf21:_0x5e3023(0x474),_0x3e4963=(_0x36a3dc=(_0x5dad48=_0x81d0fb[_0x5e3023(0x57a)]())==null?void 0x0:_0x5dad48['memberID'])!=null?_0x36a3dc:_0x5e3023(0x474);return{'changeset':{'unitID':_0x459c78,'type':_0x63ab19[_0x5e3023(0x619)](_0x151fac[_0x5e3023(0x334)](_0x459c78)),'baseRev':_0x238913[_0x5e3023(0x357)](_0x459c78),'revision':0x0,'userID':_0x54ab90,'memberID':_0x3e4963,'mutations':_0x8fc4f1},'pendingMutations':_0x9af557[_0x5e3023(0x1f5)](_0x8fc4f1[_0x5e3023(0x458)])};}function _0x2b0960(_0x35a823,_0x58af43,_0x1530af,_0x14ff45,_0x836d4c){const _0x484c75=_0x1bb47d;var _0x20598b,_0x3e657a,_0x33d378,_0x23329c;const _0x166c27=[_0x35a823['reduce']((_0x813d1a,_0x5c6136)=>{const _0x33e401=_0x27a5;var _0x507881;const {id:_0x3d6558}=_0x813d1a,{id:_0x59aebc,type:_0xaa263a}=_0x5c6136,_0x1a1819=(_0x507881=_0x813d1a[_0x33e401(0x457)])!=null?_0x507881:{'actions':null},_0x2fa834=_0x5c6136['params'];if(_0x3d6558&&_0x3d6558!==_0x59aebc)throw new Error(_0x33e401(0x548)+_0x3d6558+_0x33e401(0x686)+_0x59aebc+'.');return{..._0x813d1a,'id':_0x59aebc,'type':_0xaa263a,'params':{'unitId':_0x2fa834['unitId'],'textRanges':_0x2fa834['textRanges'],'actions':_0x2a6157[_0x33e401(0x20e)][_0x33e401(0x3f7)](_0x1a1819[_0x33e401(0x5dd)],_0x2fa834[_0x33e401(0x5dd)])}};},{})],_0x190a9b=(_0x3e657a=(_0x20598b=_0x836d4c['getCurrentUser']())==null?void 0x0:_0x20598b[_0x484c75(0x496)])!=null?_0x3e657a:_0x484c75(0x474),_0x3dfeeb=(_0x23329c=(_0x33d378=_0x836d4c[_0x484c75(0x57a)]())==null?void 0x0:_0x33d378[_0x484c75(0x312)])!=null?_0x23329c:_0x484c75(0x474);return{'changeset':{'unitID':_0x58af43,'type':_0x63ab19[_0x484c75(0x619)](_0x1530af['getUnitType'](_0x58af43)),'baseRev':_0x14ff45[_0x484c75(0x357)](_0x58af43),'revision':0x0,'userID':_0x190a9b,'memberID':_0x3dfeeb,'mutations':_0x166c27},'pendingMutations':[]};}function _0x4f9a0e(_0x345137,_0xec4cf8){const _0x54db5d=_0x1bb47d,_0x2aa27a=new _0x59070a[(_0x54db5d(0x470))](0x1);return setTimeout(()=>_0x2aa27a[_0x54db5d(0x369)](_0xec4cf8),_0x345137),_0x2aa27a['asObservable']()[_0x54db5d(0x4b3)](_0x59070a[_0x54db5d(0x2d8)](0x1));}const _0x33d78b={'id':_0xeac940['EmptyMutation']['id'],'type':_0x2a6157[_0x1bb47d(0x410)][_0x1bb47d(0x56c)],'params':{}};var _0x61c80b=Object['defineProperty'],_0x352373=Object[_0x1bb47d(0x276)],_0x1abeeb=(_0x4f636b,_0x405f80,_0x4560be,_0x1c789b)=>{const _0x252fd8=_0x1bb47d;for(var _0x2f6bb3=_0x1c789b>0x1?void 0x0:_0x1c789b?_0x352373(_0x405f80,_0x4560be):_0x405f80,_0xa4629=_0x4f636b[_0x252fd8(0x458)]-0x1,_0x159f35;_0xa4629>=0x0;_0xa4629--)(_0x159f35=_0x4f636b[_0xa4629])&&(_0x2f6bb3=(_0x1c789b?_0x159f35(_0x405f80,_0x4560be,_0x2f6bb3):_0x159f35(_0x2f6bb3))||_0x2f6bb3);return _0x1c789b&&_0x2f6bb3&&_0x61c80b(_0x405f80,_0x4560be,_0x2f6bb3),_0x2f6bb3;},_0x3b3006=(_0x16d550,_0x348060)=>(_0x58a8fa,_0x2db8d3)=>_0x348060(_0x58a8fa,_0x2db8d3,_0x16d550),_0x1e7227=(_0x2ba1fd=>(_0x2ba1fd[_0x1bb47d(0x5ec)]='not_collab',_0x2ba1fd['SYNCED']='synced',_0x2ba1fd[_0x1bb47d(0x237)]='pending',_0x2ba1fd[_0x1bb47d(0x693)]=_0x1bb47d(0x4e8),_0x2ba1fd[_0x1bb47d(0x60e)]=_0x1bb47d(0x2f3),_0x2ba1fd[_0x1bb47d(0x40f)]=_0x1bb47d(0x52d),_0x2ba1fd[_0x1bb47d(0x287)]='conflict',_0x2ba1fd['OFFLINE']='offline',_0x2ba1fd))(_0x1e7227||{});const _0x4b7337=0xea60;class _0x3ba638{constructor(_0x51d100,_0x584a61,_0x417c87,_0x3b027a,_0x30cfcd,_0xf916af,_0x3ef6dc,_0xb2d157,_0xe78007){const _0x231837=_0x1bb47d;_0x538cec(this,_0x231837(0x5b8),null),_0x538cec(this,'_pendingMutations',[]),(this['unitID']=_0x51d100,this['type']=_0x584a61,this[_0x231837(0x2b8)]=_0x30cfcd,this[_0x231837(0x24c)]=_0xf916af,this['_undoRedoService']=_0x3ef6dc,this[_0x231837(0x1f6)]=_0xb2d157,this['_localCacheService']=_0xe78007,this[_0x231837(0x5b8)]=_0x417c87,this['_pendingMutations']=_0x3b027a);}[_0x1bb47d(0x1ce)](_0x2bbe55){const _0x300b61=_0x1bb47d,_0x4b1632=this[_0x300b61(0x1f6)][_0x300b61(0x357)](this['unitID']);return _0x2bbe55['revision']>_0x4b1632+0x1?(this[_0x300b61(0x2b8)][_0x300b61(0x2f8)]({'from':_0x4b1632,'to':_0x2bbe55[_0x300b61(0x46e)]-0x1}),!0x0):!0x1;}[_0x1bb47d(0x685)](_0xe5b4d3){const _0x4e33de=_0x1bb47d;this['_undoRedoService']['transformUndoRedo'](this[_0x4e33de(0x482)],_0xe5b4d3);}[_0x1bb47d(0x517)](_0x2f9fad){const _0x25d534=_0x1bb47d;var _0x710a13,_0x34d916;(_0x34d916=(_0x710a13=this[_0x25d534(0x2b8)])[_0x25d534(0x273)])==null||_0x34d916['call'](_0x710a13,_0x2f9fad);}['_transformIMECache'](_0x2683cb){const _0x19ff0c=_0x1bb47d;var _0x395c1a,_0x2e87b8;return(_0x2e87b8=(_0x395c1a=this['_handler'])['onTransformIME'])==null?void 0x0:_0x2e87b8[_0x19ff0c(0x4be)](_0x395c1a,_0x2683cb);}['_transformStateCache'](_0x51eb4a){const _0x4f7091=_0x1bb47d;var _0x2ff60c,_0x4ba838;return(_0x4ba838=(_0x2ff60c=this[_0x4f7091(0x2b8)])[_0x4f7091(0x2e0)])==null?void 0x0:_0x4ba838[_0x4f7091(0x4be)](_0x2ff60c,_0x51eb4a);}[_0x1bb47d(0x535)](_0x2ecd1c){const _0xfba542=_0x1bb47d;var _0x32549c,_0x327aa1,_0x3d551e;return(_0x3d551e=(_0x327aa1=(_0x32549c=this[_0xfba542(0x2b8)])[_0xfba542(0x44d)])==null?void 0x0:_0x327aa1['call'](_0x32549c,_0x2ecd1c))!=null?_0x3d551e:_0x2ecd1c;}[_0x1bb47d(0x1e8)](_0x241f42){const _0x246462=_0x1bb47d;var _0x59d39c,_0x313675,_0x43dd87;return(_0x43dd87=(_0x313675=(_0x59d39c=this['_handler'])[_0x246462(0x4cd)])==null?void 0x0:_0x313675[_0x246462(0x4be)](_0x59d39c,_0x241f42))!=null?_0x43dd87:_0x241f42;}[_0x1bb47d(0x4b9)](_0x3e47c9){const _0x2d0cac=_0x1bb47d;var _0x5c5f49,_0x57f3bb;if(this['type']===_0x48d2c2[_0x2d0cac(0x328)]){const {unitID:_0x5c62f3,mutations:_0x500cba,memberID:_0x522108}=_0x3e47c9,_0x503f28=_0x500cba[0x0][_0x2d0cac(0x457)][_0x2d0cac(0x2f6)];Array[_0x2d0cac(0x36d)](_0x503f28)&&_0x503f28[_0x2d0cac(0x458)]>0x0&&((_0x57f3bb=(_0x5c5f49=this[_0x2d0cac(0x2b8)])[_0x2d0cac(0x2aa)])==null||_0x57f3bb['call'](_0x5c5f49,{'unitID':_0x5c62f3,'memberID':_0x522108,'textRanges':_0x503f28}));}}[_0x1bb47d(0x2cc)](){const _0x1463fd=_0x1bb47d;this[_0x1463fd(0x486)][_0x1463fd(0x63b)](this[_0x1463fd(0x482)],this[_0x1463fd(0x451)],this[_0x1463fd(0x5b8)],this['_pendingMutations']);}[_0x1bb47d(0x5eb)](){const _0x344708=_0x1bb47d;return this[_0x344708(0x1f6)][_0x344708(0x357)](this[_0x344708(0x482)]);}[_0x1bb47d(0x23b)](){const _0x538747=_0x1bb47d;this['_revisionService'][_0x538747(0x5a1)](this['unitID']);}[_0x1bb47d(0x251)](_0x1eb820){const _0x1a61af=_0x1bb47d;var _0x58ac04;let _0xca9a89=this[_0x1a61af(0x535)](_0x1eb820);_0xca9a89=this[_0x1a61af(0x1e8)](_0xca9a89);const _0x2201ea=_0x2a6157[_0x1a61af(0x264)](_0xca9a89[_0x1a61af(0x589)],this['_commandService'],{'fromCollab':!0x0});if(!_0x2201ea['result'])throw _0x2201ea['error']instanceof Error?_0x2201ea['error']:new Error((_0x58ac04=_0x2201ea[_0x1a61af(0x5c9)])!=null?_0x58ac04:_0x1a61af(0x66d));this['_transformIMECache'](_0xca9a89),this[_0x1a61af(0x5f1)](_0xca9a89),this['_transformUndoredo'](_0x1eb820),this[_0x1a61af(0x517)](_0xca9a89),this[_0x1a61af(0x4b9)](_0xca9a89),this[_0x1a61af(0x23b)]();}}let _0x45cb6c=class extends _0x3ba638{constructor(_0x501eac,_0x206eeb,_0xe7971e,_0x2a8c1d,_0x39b295,_0x21d448,_0x5ee5d6,_0xe8a585,_0x57e360,_0x406876){const _0x13dcdf=_0x1bb47d;super(_0x501eac,_0x206eeb,null,[],_0xe7971e,_0xe8a585,_0x5ee5d6,_0x2a8c1d,_0x39b295),_0x538cec(this,_0x13dcdf(0x2dd),_0x13dcdf(0x26a)),(this['_injector']=_0x21d448,this['_logService']=_0x57e360,this[_0x13dcdf(0x301)]=_0x406876);}['appendMutation'](_0x2f7bce){const _0x109018=_0x1bb47d,_0x514318=this[_0x109018(0x4b6)][_0x109018(0x307)](_0x41a97c,this['unitID'],this[_0x109018(0x451)],[_0x2f7bce],this['_handler']);return _0x514318['_schedule'](),_0x514318['_updateLocalCache'](),_0x514318;}[_0x1bb47d(0x2dc)](_0x4c9a3f){const _0x2a45b0=_0x1bb47d;if(this[_0x2a45b0(0x1ce)](_0x4c9a3f))return this[_0x2a45b0(0x4b6)][_0x2a45b0(0x307)](_0x1e6359,this['unitID'],this[_0x2a45b0(0x451)],null,[],null,[_0x4c9a3f],this[_0x2a45b0(0x2b8)]);try{const _0x451bfe=this[_0x2a45b0(0x301)][_0x2a45b0(0x233)](_0x4c9a3f,[_0x33d78b]);if(_0x63ab19[_0x2a45b0(0x667)](_0x451bfe)){const {c1Prime:_0x317f1d}=_0x451bfe;return this[_0x2a45b0(0x251)](_0x317f1d),this;}throw _0x451bfe['error'];}catch(_0x505d36){return this[_0x2a45b0(0x434)][_0x2a45b0(0x5c9)](_0x505d36),this[_0x2a45b0(0x487)](!0x1);}}[_0x1bb47d(0x487)](_0x46e392){const _0x2bd841=_0x1bb47d;return this['_injector'][_0x2bd841(0x307)](_0x40c599,this[_0x2bd841(0x482)],this[_0x2bd841(0x451)],null,[],this['_handler'],_0x46e392);}[_0x1bb47d(0x562)](){const _0x5266f1=_0x1bb47d;throw new Error(_0x5266f1(0x39f));}['onRemoteRej'](){const _0x113f1d=_0x1bb47d;throw new Error(_0x113f1d(0x4c5));}[_0x1bb47d(0x539)](){return this;}['toggleOffline'](){const _0x151916=_0x1bb47d;return this['_injector'][_0x151916(0x307)](_0x317297,this[_0x151916(0x482)],this['type'],null,[],this[_0x151916(0x2b8)]);}['toggleOnline'](){return this;}[_0x1bb47d(0x559)](){const _0xe2e376=_0x1bb47d;throw new Error(_0xe2e376(0x275));}[_0x1bb47d(0x5f0)](){const _0x342bc8=_0x1bb47d,_0x3943b4=this[_0x342bc8(0x1f6)][_0x342bc8(0x357)](this[_0x342bc8(0x482)]);return this[_0x342bc8(0x2b8)][_0x342bc8(0x2f8)]({'from':_0x3943b4,'to':0x0}),this[_0x342bc8(0x4b6)][_0x342bc8(0x307)](_0x1e6359,this[_0x342bc8(0x482)],this[_0x342bc8(0x451)],null,[],null,[],this['_handler']);}};_0x45cb6c=_0x1abeeb([_0x3b3006(0x3,_0x2a6157[_0x1bb47d(0x439)](_0x63ab19['RevisionService'])),_0x3b3006(0x4,_0x2a6157[_0x1bb47d(0x439)](_0x439f5[_0x1bb47d(0x3f2)])),_0x3b3006(0x5,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157[_0x1bb47d(0x5a7)])),_0x3b3006(0x6,_0x2a6157[_0x1bb47d(0x4bf)]),_0x3b3006(0x7,_0x2a6157[_0x1bb47d(0x3fa)]),_0x3b3006(0x8,_0x2a6157['ILogService']),_0x3b3006(0x9,_0x63ab19[_0x1bb47d(0x32b)])],_0x45cb6c);let _0x41a97c=class extends _0x3ba638{constructor(_0x224c6f,_0x2a543a,_0x1e1887,_0x147a31,_0x5bdf7a,_0x3db58e,_0x2020eb,_0x330d38,_0x5aa1b8,_0x52c773,_0x596a0e,_0xb1f820,_0x30892b,_0x22908a){const _0x2d4abc=_0x1bb47d;super(_0x224c6f,_0x2a543a,null,_0x1e1887,_0x147a31,_0x52c773,_0x22908a,_0x3db58e,_0x2020eb),_0x538cec(this,_0x2d4abc(0x2dd),_0x2d4abc(0x1ea)),_0x538cec(this,_0x2d4abc(0x25b),null),_0x538cec(this,'_sendingTimer',null),(this[_0x2d4abc(0x4b6)]=_0x5bdf7a,this[_0x2d4abc(0x453)]=_0x330d38,this[_0x2d4abc(0x434)]=_0x5aa1b8,this[_0x2d4abc(0x5a4)]=_0x596a0e,this['_transformService']=_0xb1f820,this[_0x2d4abc(0x522)]=_0x30892b);}[_0x1bb47d(0x52c)](_0x43f801){const _0x4f7c46=_0x1bb47d;return this[_0x4f7c46(0x44f)][_0x4f7c46(0x67d)](_0x43f801),this['_updateLocalCache'](),this;}[_0x1bb47d(0x2dc)](_0x1456fe){const _0x23e36b=_0x1bb47d;if(this[_0x23e36b(0x1ce)](_0x1456fe))return this[_0x23e36b(0x492)](),this['_injector'][_0x23e36b(0x307)](_0x1e6359,this['unitID'],this[_0x23e36b(0x451)],null,this[_0x23e36b(0x44f)],null,[_0x1456fe],this[_0x23e36b(0x2b8)]);try{const _0x4ee2f4=this[_0x23e36b(0x301)][_0x23e36b(0x233)](_0x1456fe,this[_0x23e36b(0x44f)]);if(_0x63ab19[_0x23e36b(0x667)](_0x4ee2f4)){const {c1Prime:_0x5de197,m2Prime:_0x31e529}=_0x4ee2f4;this['_executeRemoteChangeset'](_0x5de197);const _0x1e0703=this['_injector'][_0x23e36b(0x307)](_0x41a97c,this['unitID'],this[_0x23e36b(0x451)],_0x31e529,this[_0x23e36b(0x2b8)]);return this[_0x23e36b(0x492)](),_0x1e0703[_0x23e36b(0x4e9)](this[_0x23e36b(0x25b)]?Math['max'](0x0,new Date()[_0x23e36b(0x3e2)]()-this[_0x23e36b(0x25b)]):this[_0x23e36b(0x3b5)]()),_0x1e0703;}throw _0x4ee2f4[_0x23e36b(0x5c9)];}catch(_0x5c42c9){return this[_0x23e36b(0x434)][_0x23e36b(0x5c9)](_0x5c42c9),this[_0x23e36b(0x487)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x1bb47d(0x56d)](){const _0x278258=_0x1bb47d;throw new Error(_0x278258(0x5e3));}['onRemoteRetry'](){return this;}[_0x1bb47d(0x587)](){const _0xb859f2=_0x1bb47d;return this[_0xb859f2(0x492)](),this[_0xb859f2(0x4b6)][_0xb859f2(0x307)](_0x317297,this[_0xb859f2(0x482)],this[_0xb859f2(0x451)],null,this['_pendingMutations'],this[_0xb859f2(0x2b8)]);}[_0x1bb47d(0x25a)](){return this;}['_schedule'](_0x51e92c){const _0x220449=_0x1bb47d,_0x5e5617=_0x51e92c!=null?_0x51e92c:this[_0x220449(0x3b5)]();this[_0x220449(0x25b)]=new Date()[_0x220449(0x3e2)](),this[_0x220449(0x25e)]=window[_0x220449(0x4e5)](()=>{const _0x23224d=_0x220449;this[_0x23224d(0x492)]();let _0x420877=null;switch(this['type']){case _0x48d2c2[_0x23224d(0x560)]:{_0x420877=_0x244e86(this[_0x23224d(0x44f)],this['unitID'],this[_0x23224d(0x522)],this[_0x23224d(0x1f6)],this[_0x23224d(0x453)]);break;}case _0x48d2c2[_0x23224d(0x328)]:{this[_0x23224d(0x44f)][_0x23224d(0x3cd)](_0x5cb582=>_0x5cb582['id']===_0x6fdacf[_0x23224d(0x518)]['id'])?_0x420877=_0x2b0960(this[_0x23224d(0x44f)],this[_0x23224d(0x482)],this[_0x23224d(0x522)],this[_0x23224d(0x1f6)],this['_memberService']):_0x420877=_0x244e86(this[_0x23224d(0x44f)],this[_0x23224d(0x482)],this[_0x23224d(0x522)],this[_0x23224d(0x1f6)],this[_0x23224d(0x453)]);break;}default:throw new Error(_0x23224d(0x317)+this['type']+_0x23224d(0x640));}const {changeset:_0x3e0d91,pendingMutations:_0x536570}=_0x420877;this[_0x23224d(0x2b8)]['onSendChangeset'](_0x3e0d91);const _0x3fc3ec=_0x536570[_0x23224d(0x458)]?this[_0x23224d(0x4b6)][_0x23224d(0x307)](_0x12d703,this['unitID'],this[_0x23224d(0x451)],_0x3e0d91,_0x536570,this[_0x23224d(0x2b8)],void 0x0):this[_0x23224d(0x4b6)][_0x23224d(0x307)](_0x43b52e,this[_0x23224d(0x482)],this[_0x23224d(0x451)],_0x3e0d91,this[_0x23224d(0x2b8)]);_0x3fc3ec[_0x23224d(0x2cc)](),this[_0x23224d(0x2b8)][_0x23224d(0x5a3)](this,_0x3fc3ec);},_0x5e5617);}[_0x1bb47d(0x3b5)](){const _0x500879=_0x1bb47d;var _0x2c3887;const _0x2cfea2=this[_0x500879(0x5a4)]['getConfig'](_0x2dabdd);return(_0x2c3887=_0x2cfea2==null?void 0x0:_0x2cfea2[_0x500879(0x4c1)])!=null?_0x2c3887:0x7d0;}[_0x1bb47d(0x559)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1bb47d(0x492)](){const _0x34368d=_0x1bb47d;this[_0x34368d(0x25e)]!=null&&(clearTimeout(this[_0x34368d(0x25e)]),this[_0x34368d(0x25e)]=null);}['_onConflict'](_0x5b3f39){const _0x119321=_0x1bb47d;return this[_0x119321(0x492)](),this[_0x119321(0x4b6)]['createInstance'](_0x40c599,this[_0x119321(0x482)],this[_0x119321(0x451)],null,this[_0x119321(0x44f)],this[_0x119321(0x2b8)],_0x5b3f39);}};_0x41a97c=_0x1abeeb([_0x3b3006(0x4,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157[_0x1bb47d(0x5a7)])),_0x3b3006(0x5,_0x2a6157['Inject'](_0x63ab19[_0x1bb47d(0x598)])),_0x3b3006(0x6,_0x2a6157['Inject'](_0x439f5[_0x1bb47d(0x3f2)])),_0x3b3006(0x7,_0x2a6157[_0x1bb47d(0x439)](_0x439f5[_0x1bb47d(0x431)])),_0x3b3006(0x8,_0x2a6157['ILogService']),_0x3b3006(0x9,_0x2a6157[_0x1bb47d(0x3fa)]),_0x3b3006(0xa,_0x2a6157['IConfigService']),_0x3b3006(0xb,_0x63ab19[_0x1bb47d(0x32b)]),_0x3b3006(0xc,_0x2a6157[_0x1bb47d(0x59c)]),_0x3b3006(0xd,_0x2a6157[_0x1bb47d(0x4bf)])],_0x41a97c);let _0x43b52e=class extends _0x3ba638{constructor(_0x1666f8,_0x47e630,_0x56fd00,_0x5a8319,_0x26099d,_0x5c20f8,_0x2c1c87,_0x4daa86,_0x43e2d4,_0x32f538,_0x11e603){const _0x42e469=_0x1bb47d;super(_0x1666f8,_0x47e630,_0x56fd00,[],_0x5a8319,_0x4daa86,_0x11e603,_0x5c20f8,_0x2c1c87),_0x538cec(this,_0x42e469(0x2dd),_0x42e469(0x4e8)),_0x538cec(this,'_resendTimeout',0x0),_0x538cec(this,_0x42e469(0x69d)),_0x538cec(this,_0x42e469(0x5c3)),(this[_0x42e469(0x4b6)]=_0x26099d,this[_0x42e469(0x434)]=_0x43e2d4,this[_0x42e469(0x301)]=_0x32f538);}[_0x1bb47d(0x52c)](_0x330ba3){const _0x39630d=_0x1bb47d;this[_0x39630d(0x492)]();const _0xe79f60=this[_0x39630d(0x4b6)][_0x39630d(0x307)](_0x12d703,this['unitID'],this[_0x39630d(0x451)],this['_awaitingChangeset'],[_0x330ba3],this[_0x39630d(0x2b8)],this[_0x39630d(0x69d)]);return _0xe79f60[_0x39630d(0x2cc)](),_0xe79f60;}[_0x1bb47d(0x2dc)](_0x291244){const _0x990413=_0x1bb47d;if(this[_0x990413(0x1ce)](_0x291244))return this[_0x990413(0x492)](),this[_0x990413(0x4b6)][_0x990413(0x307)](_0x1e6359,this[_0x990413(0x482)],this['type'],this[_0x990413(0x5b8)],[],null,[_0x291244],this[_0x990413(0x2b8)]);try{const _0x1332c4=this[_0x990413(0x301)][_0x990413(0x55d)]([_0x291244],[this[_0x990413(0x5b8)]],!0x1);if(_0x63ab19[_0x990413(0x5e0)](_0x1332c4)){const {c1Prime:_0x11118c,c2Prime:_0x170940}=_0x1332c4;this[_0x990413(0x251)](_0x11118c[0x0]),_0x170940[0x0][_0x990413(0x3e0)]=this[_0x990413(0x5eb)](),this['_clearScheduledTask']();const _0x42c62e=this[_0x990413(0x4b6)][_0x990413(0x307)](_0x43b52e,this[_0x990413(0x482)],this['type'],_0x170940[0x0],this[_0x990413(0x2b8)]);return _0x42c62e['_updateLocalCache'](),_0x42c62e;}return this[_0x990413(0x487)](!0x1);}catch(_0x3fa78c){return this[_0x990413(0x434)]['error'](_0x3fa78c),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x34ac75){const _0x1845ce=_0x1bb47d;this[_0x1845ce(0x492)]();const _0x17cd12=this[_0x1845ce(0x1f6)]['getCurrentRevOfUnit'](this[_0x1845ce(0x482)]);if(_0x34ac75['revision']<_0x17cd12-0x1)return this;if(this[_0x1845ce(0x1ce)](_0x34ac75))return this[_0x1845ce(0x4b6)]['createInstance'](_0x1e6359,this[_0x1845ce(0x482)],this[_0x1845ce(0x451)],null,[],this[_0x1845ce(0x5b8)],[],this[_0x1845ce(0x2b8)]);this[_0x1845ce(0x23b)]();const _0x20f444=this[_0x1845ce(0x4b6)][_0x1845ce(0x307)](_0x45cb6c,this[_0x1845ce(0x482)],this[_0x1845ce(0x451)],this[_0x1845ce(0x2b8)]);return _0x20f444[_0x1845ce(0x2cc)](),_0x20f444;}[_0x1bb47d(0x56d)](_0x1e56fc){const _0x1bef5c=_0x1bb47d;return this[_0x1bef5c(0x487)](!!(_0x1e56fc!=null&&_0x1e56fc[_0x1bef5c(0x5fe)]));}[_0x1bb47d(0x539)](_0x4d91){const _0x4ec3e3=_0x1bb47d;return this[_0x4ec3e3(0x5ef)]>_0x4b7337?this['toggleOffline']():(this['_resendTimer']=_0x4f9a0e(this[_0x4ec3e3(0x5ef)],{'timeout':this[_0x4ec3e3(0x5ef)],'reqId':_0x4d91['reqId']}),this[_0x4ec3e3(0x5c3)]=this[_0x4ec3e3(0x69d)][_0x4ec3e3(0x551)](({reqId:_0x57a45b,timeout:_0x4b556d})=>{const _0x391e5e=_0x4ec3e3;this[_0x391e5e(0x2da)](_0x57a45b,_0x4b556d);}),this);}[_0x1bb47d(0x587)](){const _0x2094b4=_0x1bb47d;return this['_clearScheduledTask'](),this[_0x2094b4(0x4b6)][_0x2094b4(0x307)](_0x317297,this[_0x2094b4(0x482)],this['type'],this['_awaitingChangeset'],[],this[_0x2094b4(0x2b8)]);}[_0x1bb47d(0x25a)](){return this;}[_0x1bb47d(0x559)](){const _0x241c66=_0x1bb47d;this[_0x241c66(0x2b8)][_0x241c66(0x5a9)](this[_0x241c66(0x5b8)]);}[_0x1bb47d(0x487)](_0x4ac3a4){const _0x26a097=_0x1bb47d;return this[_0x26a097(0x492)](),this[_0x26a097(0x4b6)][_0x26a097(0x307)](_0x40c599,this[_0x26a097(0x482)],this['type'],this[_0x26a097(0x5b8)],[],this[_0x26a097(0x2b8)],_0x4ac3a4);}[_0x1bb47d(0x2da)](_0x4ad110,_0xa00c87){const _0x4ad193=_0x1bb47d;var _0xbcec7d;_0x4ad110===((_0xbcec7d=this[_0x4ad193(0x5b8)])==null?void 0x0:_0xbcec7d['reqId'])&&(this[_0x4ad193(0x559)](),this[_0x4ad193(0x5ef)]=_0xa00c87===0x0?0x3e8:_0xa00c87*0x2);}[_0x1bb47d(0x492)](){const _0x4e6b37=_0x1bb47d;var _0x5388f1;(_0x5388f1=this[_0x4e6b37(0x5c3)])==null||_0x5388f1[_0x4e6b37(0x59b)](),this[_0x4e6b37(0x5ef)]=0x0;}};_0x43b52e=_0x1abeeb([_0x3b3006(0x4,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157['Injector'])),_0x3b3006(0x5,_0x2a6157['Inject'](_0x63ab19['RevisionService'])),_0x3b3006(0x6,_0x2a6157[_0x1bb47d(0x439)](_0x439f5[_0x1bb47d(0x3f2)])),_0x3b3006(0x7,_0x2a6157['ICommandService']),_0x3b3006(0x8,_0x2a6157[_0x1bb47d(0x5b9)]),_0x3b3006(0x9,_0x63ab19[_0x1bb47d(0x32b)]),_0x3b3006(0xa,_0x2a6157[_0x1bb47d(0x4bf)])],_0x43b52e);let _0x12d703=class extends _0x3ba638{constructor(_0x34bbd1,_0x4e9c3e,_0x56deb3,_0x4f383d,_0x885908,_0x350b48,_0x578369,_0xb68869,_0x308523,_0x12f70c,_0x23b536,_0x539757,_0x36b9ee){const _0x4d7eaf=_0x1bb47d;super(_0x34bbd1,_0x4e9c3e,_0x56deb3,_0x4f383d,_0x885908,_0x12f70c,_0x36b9ee,_0xb68869,_0x308523),_0x538cec(this,_0x4d7eaf(0x2dd),_0x4d7eaf(0x2f3)),_0x538cec(this,_0x4d7eaf(0x5ef),0x0),_0x538cec(this,_0x4d7eaf(0x69d)),_0x538cec(this,'_sender'),(this[_0x4d7eaf(0x4b6)]=_0x578369,this[_0x4d7eaf(0x434)]=_0x23b536,this[_0x4d7eaf(0x301)]=_0x539757,_0x350b48&&(this[_0x4d7eaf(0x69d)]=_0x350b48,this[_0x4d7eaf(0x5c3)]=this[_0x4d7eaf(0x69d)][_0x4d7eaf(0x551)](({reqId:_0x4f9e20,timeout:_0x4dbd0c})=>{const _0x2bfb68=_0x4d7eaf;this[_0x2bfb68(0x2da)](_0x4f9e20,_0x4dbd0c);})));}[_0x1bb47d(0x52c)](_0x45e302){const _0x2fff1a=_0x1bb47d;return this['_pendingMutations'][_0x2fff1a(0x67d)](_0x45e302),this;}['onRemoteChangeset'](_0x200aeb){const _0x2d26ea=_0x1bb47d;if(this['_checkMissing'](_0x200aeb))return this[_0x2d26ea(0x492)](),this[_0x2d26ea(0x4b6)][_0x2d26ea(0x307)](_0x1e6359,this['unitID'],this[_0x2d26ea(0x451)],this['_awaitingChangeset'],this[_0x2d26ea(0x44f)],null,[_0x200aeb],this[_0x2d26ea(0x2b8)]);try{const _0x583c89=this[_0x2d26ea(0x301)][_0x2d26ea(0x55d)]([_0x200aeb],[this['_awaitingChangeset']],!0x1);if(_0x63ab19['isTransformChangesetsSuccess'](_0x583c89)){const {c1Prime:_0x5201f3,c2Prime:_0x6ae30d}=_0x583c89,_0x19c5f4=this[_0x2d26ea(0x301)]['transformMutationsWithChangeset'](_0x5201f3[0x0],this[_0x2d26ea(0x44f)]);if(_0x63ab19[_0x2d26ea(0x667)](_0x19c5f4)){const {c1Prime:_0xf52e09,m2Prime:_0x2a6edf}=_0x19c5f4;return this['_executeRemoteChangeset'](_0xf52e09),_0x6ae30d[0x0][_0x2d26ea(0x3e0)]=this[_0x2d26ea(0x5eb)](),this[_0x2d26ea(0x492)](),this[_0x2d26ea(0x4b6)][_0x2d26ea(0x307)](_0x12d703,this[_0x2d26ea(0x482)],this[_0x2d26ea(0x451)],_0x6ae30d[0x0],_0x2a6edf,this[_0x2d26ea(0x2b8)],void 0x0);}throw _0x19c5f4['error'];}throw _0x583c89['error'];}catch(_0x14a07c){return this[_0x2d26ea(0x434)][_0x2d26ea(0x5c9)](_0x14a07c),this[_0x2d26ea(0x487)](!0x1);}}['onRemoteAck'](_0x4691cd){const _0x2d4c9d=_0x1bb47d;if(this['_clearScheduledTask'](),this[_0x2d4c9d(0x1ce)](_0x4691cd))return this[_0x2d4c9d(0x4b6)][_0x2d4c9d(0x307)](_0x1e6359,this[_0x2d4c9d(0x482)],this[_0x2d4c9d(0x451)],null,this['_pendingMutations'],this[_0x2d4c9d(0x5b8)],[],this[_0x2d4c9d(0x2b8)]);this[_0x2d4c9d(0x23b)]();const _0x30240b=this[_0x2d4c9d(0x4b6)]['createInstance'](_0x41a97c,this[_0x2d4c9d(0x482)],this['type'],this[_0x2d4c9d(0x44f)],this[_0x2d4c9d(0x2b8)]);return _0x30240b[_0x2d4c9d(0x4e9)](),_0x30240b[_0x2d4c9d(0x2cc)](),_0x30240b;}[_0x1bb47d(0x56d)](_0x189ed4){const _0x24c826=_0x1bb47d;return this['_onConflict'](!!(_0x189ed4!=null&&_0x189ed4[_0x24c826(0x5fe)]));}[_0x1bb47d(0x539)](_0x14c30d){const _0x8378df=_0x1bb47d;return this['_resendTimeout']>_0x4b7337?this[_0x8378df(0x587)]():(this[_0x8378df(0x69d)]=_0x4f9a0e(this[_0x8378df(0x5ef)],{'timeout':this['_resendTimeout'],'reqId':_0x14c30d[_0x8378df(0x5fd)]}),this[_0x8378df(0x5c3)]=this[_0x8378df(0x69d)][_0x8378df(0x551)](({reqId:_0x4fc4c1,timeout:_0xf8b120})=>{const _0x54faa8=_0x8378df;this[_0x54faa8(0x2da)](_0x4fc4c1,_0xf8b120);}),this);}['toggleOffline'](){const _0x189cff=_0x1bb47d;return this[_0x189cff(0x492)](),this[_0x189cff(0x4b6)][_0x189cff(0x307)](_0x317297,this[_0x189cff(0x482)],this[_0x189cff(0x451)],this[_0x189cff(0x5b8)],this[_0x189cff(0x44f)],this[_0x189cff(0x2b8)]);}[_0x1bb47d(0x25a)](){return this;}[_0x1bb47d(0x559)](){const _0x1f36cb=_0x1bb47d;this['_handler'][_0x1f36cb(0x5a9)](this[_0x1f36cb(0x5b8)]);}[_0x1bb47d(0x487)](_0x50653b){const _0x15cb90=_0x1bb47d;return this[_0x15cb90(0x492)](),this[_0x15cb90(0x4b6)][_0x15cb90(0x307)](_0x40c599,this[_0x15cb90(0x482)],this[_0x15cb90(0x451)],null,this[_0x15cb90(0x44f)],this['_handler'],_0x50653b);}['_resendWithTimeout'](_0xe3478f,_0x3ea7d8){const _0x4e5eab=_0x1bb47d;var _0xe4cb60;_0xe3478f===((_0xe4cb60=this[_0x4e5eab(0x5b8)])==null?void 0x0:_0xe4cb60[_0x4e5eab(0x5fd)])&&(this[_0x4e5eab(0x559)](),this[_0x4e5eab(0x5ef)]=_0x3ea7d8===0x0?0x3e8:_0x3ea7d8*0x2);}[_0x1bb47d(0x492)](){const _0x497f4b=_0x1bb47d;var _0x214f0d;(_0x214f0d=this[_0x497f4b(0x5c3)])==null||_0x214f0d[_0x497f4b(0x59b)](),this[_0x497f4b(0x5ef)]=0x0;}};_0x12d703=_0x1abeeb([_0x3b3006(0x6,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157[_0x1bb47d(0x5a7)])),_0x3b3006(0x7,_0x2a6157[_0x1bb47d(0x439)](_0x63ab19[_0x1bb47d(0x598)])),_0x3b3006(0x8,_0x2a6157[_0x1bb47d(0x439)](_0x439f5[_0x1bb47d(0x3f2)])),_0x3b3006(0x9,_0x2a6157[_0x1bb47d(0x3fa)]),_0x3b3006(0xa,_0x2a6157['ILogService']),_0x3b3006(0xb,_0x63ab19[_0x1bb47d(0x32b)]),_0x3b3006(0xc,_0x2a6157[_0x1bb47d(0x4bf)])],_0x12d703);let _0x40c599=class extends _0x3ba638{constructor(_0x253c52,_0x1bdc25,_0x195233,_0x5547f3,_0x197eb3,_0x25dcc1=!0x1,_0x255ce8,_0xa8ad13,_0x4ad59c,_0x53e9d8,_0x5c6369,_0x2c6f0d,_0x57149e){const _0x22421a=_0x1bb47d;super(_0x253c52,_0x1bdc25,_0x195233,_0x5547f3,_0x197eb3,_0xa8ad13,_0x4ad59c,_0x5c6369,_0x53e9d8),_0x538cec(this,'status',_0x22421a(0x31b)),(this[_0x22421a(0x543)]=_0x25dcc1,this[_0x22421a(0x475)]=_0x255ce8,this[_0x22421a(0x682)]=_0x2c6f0d,this[_0x22421a(0x2d0)]=_0x57149e,this[_0x22421a(0x461)](),this[_0x22421a(0x503)](),this[_0x22421a(0x362)]());}[_0x1bb47d(0x52c)](){return this;}['onRemoteChangeset'](){return this;}[_0x1bb47d(0x562)](){return this;}[_0x1bb47d(0x56d)](){return this;}[_0x1bb47d(0x539)](){return this;}[_0x1bb47d(0x587)](){return this;}[_0x1bb47d(0x25a)](){return this;}[_0x1bb47d(0x559)](){const _0xc02673=_0x1bb47d;throw new Error(_0xc02673(0x21a));}[_0x1bb47d(0x503)](){const _0x535a37=_0x1bb47d;this[_0x535a37(0x486)][_0x535a37(0x63b)](this[_0x535a37(0x482)],this[_0x535a37(0x451)],null,[]);}[_0x1bb47d(0x461)](){const _0x4a8dd5=_0x1bb47d;this[_0x4a8dd5(0x543)]?this[_0x4a8dd5(0x2d0)][_0x4a8dd5(0x58f)]({'title':this['_localeService']['t']('permission.title'),'content':this[_0x4a8dd5(0x682)]['t'](_0x4a8dd5(0x203)),'type':'error','duration':0x0}):this['_notificationService'][_0x4a8dd5(0x58f)]({'title':this[_0x4a8dd5(0x682)]['t'](_0x4a8dd5(0x493)),'content':this[_0x4a8dd5(0x682)]['t'](_0x4a8dd5(0x5b6)),'type':_0x4a8dd5(0x5c9),'duration':0x0});}[_0x1bb47d(0x362)](){const _0x16d09e=_0x1bb47d;this[_0x16d09e(0x475)][_0x16d09e(0x4a3)](new _0xeac940[(_0x16d09e(0x53e))](this[_0x16d09e(0x482)])['id'],!0x1);}};_0x40c599=_0x1abeeb([_0x3b3006(0x6,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157[_0x1bb47d(0x2c9)])),_0x3b3006(0x7,_0x2a6157['ICommandService']),_0x3b3006(0x8,_0x2a6157[_0x1bb47d(0x4bf)]),_0x3b3006(0x9,_0x2a6157[_0x1bb47d(0x439)](_0x439f5[_0x1bb47d(0x3f2)])),_0x3b3006(0xa,_0x2a6157[_0x1bb47d(0x439)](_0x63ab19[_0x1bb47d(0x598)])),_0x3b3006(0xb,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157[_0x1bb47d(0x308)])),_0x3b3006(0xc,_0x4c9f9a[_0x1bb47d(0x585)])],_0x40c599);let _0x317297=class extends _0x3ba638{constructor(_0x478dfb,_0x2a7b45,_0x26f37f,_0x122d1d,_0x7ff341,_0x385f70,_0x3a127a,_0x23dfbf,_0x2734ad,_0x539816){const _0x55bd3a=_0x1bb47d;super(_0x478dfb,_0x2a7b45,_0x26f37f,_0x122d1d,_0x7ff341,_0x2734ad,_0x539816,_0x3a127a,_0x23dfbf),_0x538cec(this,_0x55bd3a(0x2dd),_0x55bd3a(0x241)),this['_injector']=_0x385f70;}[_0x1bb47d(0x52c)](_0x4de5cf){const _0xfd9fcb=_0x1bb47d;return this['_pendingMutations'][_0xfd9fcb(0x67d)](_0x4de5cf),this[_0xfd9fcb(0x2cc)](),this;}[_0x1bb47d(0x2dc)](_0x1bde51){const _0x4759fa=_0x1bb47d;throw new Error(_0x4759fa(0x55a));}[_0x1bb47d(0x562)](){const _0x38b027=_0x1bb47d;throw new Error(_0x38b027(0x365));}[_0x1bb47d(0x56d)](){const _0x5309c7=_0x1bb47d;throw new Error(_0x5309c7(0x1f2));}['onRemoteRetry'](){return this;}[_0x1bb47d(0x587)](){return this;}[_0x1bb47d(0x25a)](){const _0x42d5cd=_0x1bb47d,{_injector:_0x20dffe,_pendingMutations:_0x4cfa9d,_awaitingChangeset:_0x324a74,unitID:_0x52d92b,_handler:_0x34890f,type:_0x41de44}=this,_0x2f6f8b=_0x27704c(_0x20dffe,_0x52d92b,_0x41de44,_0x324a74,_0x4cfa9d,_0x34890f);return _0x2f6f8b instanceof _0x41a97c?_0x2f6f8b[_0x42d5cd(0x4e9)]():(_0x2f6f8b instanceof _0x12d703||_0x2f6f8b instanceof _0x43b52e)&&_0x2f6f8b[_0x42d5cd(0x559)](),_0x2f6f8b;}['resend'](){const _0x363391=_0x1bb47d;throw new Error(_0x363391(0x2be));}};_0x317297=_0x1abeeb([_0x3b3006(0x5,_0x2a6157['Inject'](_0x2a6157[_0x1bb47d(0x5a7)])),_0x3b3006(0x6,_0x2a6157['Inject'](_0x63ab19[_0x1bb47d(0x598)])),_0x3b3006(0x7,_0x2a6157[_0x1bb47d(0x439)](_0x439f5[_0x1bb47d(0x3f2)])),_0x3b3006(0x8,_0x2a6157['ICommandService']),_0x3b3006(0x9,_0x2a6157['IUndoRedoService'])],_0x317297);let _0x1e6359=class extends _0x3ba638{constructor(_0x4906c1,_0xb43329,_0x2260c5,_0x5da4ac,_0x524b2b,_0x2c9270,_0x29d1ae,_0x33094d,_0x27f514,_0x1db790,_0x4aed07,_0x59c0cc,_0xa31733,_0x3dc176){const _0x5922e7=_0x1bb47d;super(_0x4906c1,_0xb43329,_0x2260c5,_0x5da4ac,_0x29d1ae,_0x59c0cc,_0xa31733,_0x27f514,_0x1db790),_0x538cec(this,_0x5922e7(0x2dd),_0x5922e7(0x52d)),(this[_0x5922e7(0x1ee)]=_0x524b2b,this[_0x5922e7(0x2f4)]=_0x2c9270,this[_0x5922e7(0x4b6)]=_0x33094d,this[_0x5922e7(0x434)]=_0x4aed07,this[_0x5922e7(0x301)]=_0x3dc176);}[_0x1bb47d(0x448)](_0x271af4){const _0x5d4f88=_0x1bb47d;try{const _0x598469=[..._0x271af4,...this[_0x5d4f88(0x2f4)]],_0x5d9b9d=[this[_0x5d4f88(0x5b8)]||this[_0x5d4f88(0x1ee)]][_0x5d4f88(0x3e4)](_0x31a397=>!!_0x31a397);let _0x109f5e,_0x1b3118;if(_0x5d9b9d[_0x5d4f88(0x458)]){const _0x12fce5=this[_0x5d4f88(0x301)][_0x5d4f88(0x55d)](_0x598469,_0x5d9b9d,!0x1);if(!_0x63ab19[_0x5d4f88(0x5e0)](_0x12fce5))throw _0x12fce5[_0x5d4f88(0x5c9)];_0x109f5e=_0x12fce5['c1Prime'],_0x1b3118=_0x12fce5['c2Prime'];}else _0x109f5e=_0x598469,_0x1b3118=[];let _0x1e424e=this[_0x5d4f88(0x44f)];_0x109f5e[_0x5d4f88(0x4bb)](_0x483f1b=>{const _0x234a72=_0x5d4f88;let _0x498c9e;if(_0x1e424e[_0x234a72(0x458)]){const _0x2c10a1=this[_0x234a72(0x301)][_0x234a72(0x233)](_0x483f1b,_0x1e424e);if(!_0x63ab19[_0x234a72(0x667)](_0x2c10a1))throw _0x2c10a1[_0x234a72(0x5c9)];_0x498c9e=_0x2c10a1[_0x234a72(0x4d7)],_0x1e424e=_0x2c10a1[_0x234a72(0x4a5)];}else _0x498c9e=_0x483f1b;this[_0x234a72(0x251)](_0x498c9e);}),this['_acknowledgedAwaitingChangeset']&&this['_incrementRevisionNumber'](),this[_0x5d4f88(0x5b8)]&&_0x1b3118['length']&&(_0x1b3118[0x0]['baseRev']=this[_0x5d4f88(0x5eb)]());let _0x930a6b;if(this['_awaitingChangeset']&&_0x1e424e[_0x5d4f88(0x458)]!==0x0)_0x930a6b=this['_injector'][_0x5d4f88(0x307)](_0x12d703,this[_0x5d4f88(0x482)],this[_0x5d4f88(0x451)],_0x1b3118[0x0],_0x1e424e,this['_handler'],void 0x0);else{if(this[_0x5d4f88(0x5b8)]&&_0x1e424e[_0x5d4f88(0x458)]===0x0)_0x1b3118[0x0][_0x5d4f88(0x3e0)]=this[_0x5d4f88(0x5eb)](),_0x930a6b=this[_0x5d4f88(0x4b6)][_0x5d4f88(0x307)](_0x43b52e,this[_0x5d4f88(0x482)],this[_0x5d4f88(0x451)],_0x1b3118[0x0],this[_0x5d4f88(0x2b8)]);else{if(_0x1e424e[_0x5d4f88(0x458)]!==0x0){const _0x53ba56=this[_0x5d4f88(0x4b6)][_0x5d4f88(0x307)](_0x41a97c,this['unitID'],this['type'],_0x1e424e,this['_handler']);_0x53ba56[_0x5d4f88(0x4e9)](),_0x930a6b=_0x53ba56;}else _0x930a6b=this[_0x5d4f88(0x4b6)]['createInstance'](_0x45cb6c,this['unitID'],this['type'],this[_0x5d4f88(0x2b8)]);}}return _0x930a6b['_updateLocalCache'](),_0x930a6b;}catch(_0xa76af7){return this[_0x5d4f88(0x434)]['error']('[FetchMissState]',_0x5d4f88(0x516),_0xa76af7),this['_injector']['createInstance'](_0x40c599,this[_0x5d4f88(0x482)],this[_0x5d4f88(0x451)],this[_0x5d4f88(0x5b8)],this[_0x5d4f88(0x44f)],this[_0x5d4f88(0x2b8)],!0x1);}}[_0x1bb47d(0x559)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1bb47d(0x52c)](_0x29dc35){const _0x4dc46f=_0x1bb47d;return this[_0x4dc46f(0x44f)][_0x4dc46f(0x67d)](_0x29dc35),this;}[_0x1bb47d(0x2dc)](_0x211346){const _0x270898=_0x1bb47d;return this[_0x270898(0x2f4)][_0x270898(0x67d)](_0x211346),this;}[_0x1bb47d(0x562)](_0x56bc24){const _0x339e5f=_0x1bb47d;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this[_0x339e5f(0x5b8)],this['_awaitingChangeset']=null,this;throw new Error(_0x339e5f(0x268));}['onRemoteRej'](_0xa11fa6){const _0x944626=_0x1bb47d;return this[_0x944626(0x487)](!!(_0xa11fa6!=null&&_0xa11fa6[_0x944626(0x5fe)]));}[_0x1bb47d(0x539)](){return this;}['toggleOffline'](){const _0x52fca1=_0x1bb47d;return this['_injector'][_0x52fca1(0x307)](_0x317297,this['unitID'],this[_0x52fca1(0x451)],this[_0x52fca1(0x5b8)],this[_0x52fca1(0x44f)],this['_handler']);}[_0x1bb47d(0x25a)](){return this;}[_0x1bb47d(0x487)](_0x5a1f93){const _0x407da6=_0x1bb47d;return this['_injector'][_0x407da6(0x307)](_0x40c599,this[_0x407da6(0x482)],this[_0x407da6(0x451)],this[_0x407da6(0x5b8)],this[_0x407da6(0x44f)],this[_0x407da6(0x2b8)],_0x5a1f93);}};_0x1e6359=_0x1abeeb([_0x3b3006(0x7,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157['Injector'])),_0x3b3006(0x8,_0x2a6157[_0x1bb47d(0x439)](_0x63ab19[_0x1bb47d(0x598)])),_0x3b3006(0x9,_0x2a6157[_0x1bb47d(0x439)](_0x439f5['LocalCacheService'])),_0x3b3006(0xa,_0x2a6157[_0x1bb47d(0x5b9)]),_0x3b3006(0xb,_0x2a6157[_0x1bb47d(0x3fa)]),_0x3b3006(0xc,_0x2a6157['IUndoRedoService']),_0x3b3006(0xd,_0x63ab19[_0x1bb47d(0x32b)])],_0x1e6359);function _0x27704c(_0x422a72,_0x521979,_0x36ce55,_0x2c1532,_0x272f97,_0x34a204){const _0x4ffa7e=_0x1bb47d;return _0x2c1532&&_0x272f97[_0x4ffa7e(0x458)]?_0x422a72[_0x4ffa7e(0x307)](_0x12d703,_0x521979,_0x36ce55,_0x2c1532,_0x272f97,_0x34a204,void 0x0):_0x2c1532?_0x422a72[_0x4ffa7e(0x307)](_0x43b52e,_0x521979,_0x36ce55,_0x2c1532,_0x34a204):_0x272f97[_0x4ffa7e(0x458)]?_0x422a72[_0x4ffa7e(0x307)](_0x41a97c,_0x521979,_0x36ce55,_0x272f97,_0x34a204):_0x422a72[_0x4ffa7e(0x307)](_0x45cb6c,_0x521979,_0x36ce55,_0x34a204);}var _0xf14a74=Object[_0x1bb47d(0x368)],_0x332783=Object['getOwnPropertyDescriptor'],_0x555999=(_0xe596d5,_0x7178e,_0xd38aa4,_0x3d3bfd)=>{const _0x1ffa99=_0x1bb47d;for(var _0x2a48e7=_0x3d3bfd>0x1?void 0x0:_0x3d3bfd?_0x332783(_0x7178e,_0xd38aa4):_0x7178e,_0x3ed38e=_0xe596d5[_0x1ffa99(0x458)]-0x1,_0x53ab11;_0x3ed38e>=0x0;_0x3ed38e--)(_0x53ab11=_0xe596d5[_0x3ed38e])&&(_0x2a48e7=(_0x3d3bfd?_0x53ab11(_0x7178e,_0xd38aa4,_0x2a48e7):_0x53ab11(_0x2a48e7))||_0x2a48e7);return _0x3d3bfd&&_0x2a48e7&&_0xf14a74(_0x7178e,_0xd38aa4,_0x2a48e7),_0x2a48e7;},_0x531311=(_0x44726b,_0x1cefba)=>(_0x3cd8cd,_0x4a7ce5)=>_0x1cefba(_0x3cd8cd,_0x4a7ce5,_0x44726b);_0x439f5['CollaborationEntity']=class extends _0x2a6157[_0x1bb47d(0x3ff)]{constructor(_0x30b14b,_0x53d5a4,_0x532171,_0x1d186e,_0x3b9d0b,_0x257b1a,_0x4a38af,_0x3fa55e,_0x72925f,_0x475d57,_0x381bb3,_0xcf6a68,_0x392cce){const _0x52d9b3=_0x1bb47d;super(),_0x538cec(this,_0x52d9b3(0x673),new _0x59070a[(_0x52d9b3(0x471))](null)),_0x538cec(this,_0x52d9b3(0x236),this[_0x52d9b3(0x673)]['asObservable']()),_0x538cec(this,_0x52d9b3(0x230)),_0x538cec(this,_0x52d9b3(0x285),!0x1),_0x538cec(this,_0x52d9b3(0x3f5),''),_0x538cec(this,'_changesetReqId',0x0),_0x538cec(this,_0x52d9b3(0x66b),this[_0x52d9b3(0x236)][_0x52d9b3(0x4b3)](_0x59070a[_0x52d9b3(0x616)](_0x5f2b5d=>_0x5f2b5d?_0x5f2b5d[_0x52d9b3(0x2dd)]:_0x1e7227[_0x52d9b3(0x4d2)]),_0x59070a[_0x52d9b3(0x626)](0x1))),_0x538cec(this,_0x52d9b3(0x39c),!0x1),_0x538cec(this,_0x52d9b3(0x5da),[]),(this['unitID']=_0x30b14b,this[_0x52d9b3(0x59f)]=_0x53d5a4,this[_0x52d9b3(0x483)]=_0x532171,this[_0x52d9b3(0x4b6)]=_0x1d186e,this['_localCacheService']=_0x3b9d0b,this[_0x52d9b3(0x525)]=_0x257b1a,this['_localeService']=_0x4a38af,this[_0x52d9b3(0x1f6)]=_0x3fa55e,this[_0x52d9b3(0x434)]=_0x72925f,this[_0x52d9b3(0x24c)]=_0x475d57,this[_0x52d9b3(0x208)]=_0x381bb3,this['_permissionService']=_0xcf6a68,this[_0x52d9b3(0x4a4)]=_0x392cce);}get[_0x1bb47d(0x343)](){const _0x5d54fe=_0x1bb47d;return this[_0x5d54fe(0x230)];}async[_0x1bb47d(0x2a2)](){const _0x422f73=_0x1bb47d;if(this[_0x422f73(0x343)])throw new Error(_0x422f73(0x63e));await this[_0x422f73(0x311)]();}['pauseCollaboration'](){const _0x5d3f79=_0x1bb47d;return this['_collaborationPaused']=!0x0,_0x2a6157[_0x5d3f79(0x2cf)](()=>{const _0x55c903=_0x5d3f79;this['_collaborationPaused']=!0x1,this[_0x55c903(0x4da)]();});}['_updateState'](_0x462ec6){const _0x12aac8=_0x1bb47d;this[_0x12aac8(0x230)]=_0x462ec6,this[_0x12aac8(0x673)][_0x12aac8(0x369)](_0x462ec6);}async[_0x1bb47d(0x311)](){const _0x39949e=_0x1bb47d;var _0x36753b;this[_0x39949e(0x204)](await this[_0x39949e(0x505)]()),this[_0x39949e(0x4a4)]&&((_0x36753b=this[_0x39949e(0x4a4)])==null||_0x36753b[_0x39949e(0x536)](this['unitID']),this[_0x39949e(0x20d)](this['_singleActiveUnitService'][_0x39949e(0x57c)](this['unitID'])[_0x39949e(0x551)](_0x242fdf=>{const _0x3743c1=_0x39949e;this[_0x3743c1(0x434)][_0x3743c1(0x280)](_0x3743c1(0x36f),_0x3743c1(0x602),_0x242fdf),_0x242fdf===_0xfa0e84['OTHER_CLIENTS_EDITING']?(this[_0x3743c1(0x208)][_0x3743c1(0x58f)]({'content':this[_0x3743c1(0x682)]['t'](_0x3743c1(0x242)),'type':_0x407879[_0x3743c1(0x1d6)][_0x3743c1(0x3aa)]}),this[_0x3743c1(0x475)][_0x3743c1(0x4a3)](new _0xeac940[(_0x3743c1(0x53e))](this[_0x3743c1(0x482)])['id'],!0x1),this[_0x3743c1(0x475)]['setShowComponents'](!0x1)):(this[_0x3743c1(0x475)]['updatePermissionPoint'](new _0xeac940[(_0x3743c1(0x53e))](this[_0x3743c1(0x482)])['id'],!0x0),this[_0x3743c1(0x475)][_0x3743c1(0x29d)](!0x0));})));let _0x3c4d79=!0x1;return this[_0x39949e(0x20d)](this[_0x39949e(0x59f)]['sessionStatus$'][_0x39949e(0x551)](_0x5e2279=>{const _0xadbe8a=_0x39949e;_0x5e2279===_0x1710c1[_0xadbe8a(0x36b)]?this['_toggleOnline'](_0x3c4d79):_0x5e2279===_0x1710c1[_0xadbe8a(0x4d2)]&&(_0x3c4d79=!0x0,this[_0xadbe8a(0x26f)]());})),this['disposeWithMe'](this['session'][_0x39949e(0x437)][_0x39949e(0x551)](_0x172951=>{const _0x3b8483=_0x39949e;try{switch(_0x172951[_0x3b8483(0x429)]){case _0x63ab19[_0x3b8483(0x497)][_0x3b8483(0x51a)]:{this[_0x3b8483(0x4f9)](_0x63ab19[_0x3b8483(0x581)](_0x172951[_0x3b8483(0x1d8)]));break;}case _0x63ab19[_0x3b8483(0x497)][_0x3b8483(0x432)]:{this['_onRemoteACK'](_0x172951['data']);break;}case _0x63ab19[_0x3b8483(0x497)][_0x3b8483(0x44c)]:{this[_0x3b8483(0x254)]();break;}case _0x63ab19['CollaborationEvent'][_0x3b8483(0x225)]:{this[_0x3b8483(0x586)](_0x172951[_0x3b8483(0x1d8)]);break;}case _0x63ab19[_0x3b8483(0x497)][_0x3b8483(0x5d0)]:{this[_0x3b8483(0x259)](_0x172951[_0x3b8483(0x1d8)]['changesets'][_0x3b8483(0x616)](_0x17498a=>_0x63ab19[_0x3b8483(0x581)](_0x17498a)));break;}case _0x63ab19[_0x3b8483(0x497)][_0x3b8483(0x270)]:this[_0x3b8483(0x254)]({'isPermissionRej':!0x0});}}catch(_0x3a4d83){throw console[_0x3b8483(0x5c9)](_0x3b8483(0x2ed),_0x3a4d83),_0x3a4d83;}})),this['_state'];}['_unlockTransition'](){const _0x36b639=_0x1bb47d;this[_0x36b639(0x39c)]=!0x1;}[_0x1bb47d(0x507)](){const _0x471afd=_0x1bb47d;if(this[_0x471afd(0x39c)])throw new Error(_0x471afd(0x382));this[_0x471afd(0x39c)]=!0x0;}[_0x1bb47d(0x605)](_0x55819b){const _0x53acff=_0x1bb47d;this[_0x53acff(0x507)](),this['_updateState'](this[_0x53acff(0x230)][_0x53acff(0x52c)](_0x55819b)),this['_unlockTransition']();}[_0x1bb47d(0x4f9)](_0x3387b1){const _0x1914d8=_0x1bb47d;if(!(_0x3387b1[_0x1914d8(0x46e)]<=this[_0x1914d8(0x1f6)][_0x1914d8(0x357)](this[_0x1914d8(0x482)]))){if(this[_0x1914d8(0x285)]){this[_0x1914d8(0x5da)][_0x1914d8(0x67d)](_0x3387b1);return;}this[_0x1914d8(0x5f3)](_0x3387b1);}}[_0x1bb47d(0x4da)](){const _0xfe31ea=_0x1bb47d;this[_0xfe31ea(0x5da)][_0xfe31ea(0x4bb)](_0x46d07d=>this[_0xfe31ea(0x5f3)](_0x46d07d)),this[_0xfe31ea(0x5da)]=[];}[_0x1bb47d(0x5f3)](_0x519b17){const _0x1da71d=_0x1bb47d,_0x52438c=this[_0x1da71d(0x525)][_0x1da71d(0x50f)][_0x1da71d(0x489)](this[_0x1da71d(0x525)][_0x1da71d(0x50f)][_0x1da71d(0x4a1)]()[_0x1da71d(0x2ba)])(_0x519b17['mutations'],null)||_0x519b17[_0x1da71d(0x589)],_0x114caf={..._0x519b17,'mutations':_0x52438c};this['_lockTransition'](),this[_0x1da71d(0x204)](this['_state'][_0x1da71d(0x2dc)](_0x114caf)),this[_0x1da71d(0x332)]();}[_0x1bb47d(0x2a4)](_0x215763){const _0x53e687=_0x1bb47d;this['_lockTransition'](),this[_0x53e687(0x204)](this[_0x53e687(0x230)][_0x53e687(0x562)](_0x215763)),this[_0x53e687(0x332)]();}['_onRemoteRejected'](_0x4d8db2){const _0x4830d7=_0x1bb47d;this[_0x4830d7(0x507)](),this[_0x4830d7(0x204)](this['_state'][_0x4830d7(0x56d)](_0x4d8db2)),this[_0x4830d7(0x332)]();}['_onRemoteRetry'](_0x4bafe2){const _0x417b5a=_0x1bb47d;this['_lockTransition'](),this['_updateState'](this[_0x417b5a(0x230)]['onRemoteRetry'](_0x4bafe2)),this[_0x417b5a(0x332)]();}[_0x1bb47d(0x259)](_0xe874b9){const _0x31556c=_0x1bb47d;if(!(this[_0x31556c(0x230)]instanceof _0x1e6359))throw new TypeError(_0x31556c(0x68e));const _0x2c349f=_0xe874b9[_0x31556c(0x616)](_0x4f20cb=>{const _0x26bd8f=_0x31556c,_0x22734f=this[_0x26bd8f(0x525)]['interceptor'][_0x26bd8f(0x489)](this[_0x26bd8f(0x525)][_0x26bd8f(0x50f)][_0x26bd8f(0x4a1)]()[_0x26bd8f(0x2ba)])(_0x4f20cb[_0x26bd8f(0x589)],null)||_0x4f20cb[_0x26bd8f(0x589)];return{..._0x4f20cb,'mutations':_0x22734f};});this['_lockTransition'](),this[_0x31556c(0x204)](this[_0x31556c(0x230)][_0x31556c(0x448)](_0x2c349f)),this[_0x31556c(0x332)]();}[_0x1bb47d(0x26f)](){const _0x3cb21d=_0x1bb47d;this['_lockTransition'](),this[_0x3cb21d(0x204)](this['_state'][_0x3cb21d(0x587)]()),this[_0x3cb21d(0x332)]();}[_0x1bb47d(0x613)](_0x36d32e=!0x1){const _0x15681d=_0x1bb47d;this['_lockTransition'](),this[_0x15681d(0x204)](this[_0x15681d(0x230)][_0x15681d(0x25a)]()),this[_0x15681d(0x332)]();const _0x3d5426=this[_0x15681d(0x230)];_0x36d32e&&_0x3d5426 instanceof _0x45cb6c&&(this[_0x15681d(0x507)](),this[_0x15681d(0x204)](_0x3d5426[_0x15681d(0x5f0)]()),this[_0x15681d(0x332)]());}async['_createInitialState'](){return new Promise(_0x12516d=>{const _0x133285=_0x27a5;this[_0x133285(0x59f)][_0x133285(0x57f)][_0x133285(0x4b3)](_0x59070a[_0x133285(0x2d8)](0x1))['subscribe'](async _0x5e566b=>{const _0x95a3c3=_0x133285;_0x12516d(await this[_0x95a3c3(0x24f)](_0x5e566b===_0x1710c1[_0x95a3c3(0x36b)]));});});}[_0x1bb47d(0x484)](){const _0x1888b4=_0x1bb47d,_0x387329=this[_0x1888b4(0x482)];return{'onStateChange':(_0x5c11c6,_0x38fc47)=>{const _0x2ab1a4=_0x1888b4;if(_0x5c11c6!==this[_0x2ab1a4(0x230)])throw new Error(_0x2ab1a4(0x697)+_0x5c11c6[_0x2ab1a4(0x2dd)]+'\x0aAfter:\x20'+_0x38fc47['status']+_0x2ab1a4(0x540)+this[_0x2ab1a4(0x230)]['status']);this[_0x2ab1a4(0x204)](_0x38fc47);},'onSendChangeset':_0x44469f=>{const _0x417e23=_0x1888b4;_0x44469f[_0x417e23(0x3c4)]||(_0x44469f[_0x417e23(0x3c4)]=this['_changesetSessionId'],_0x44469f[_0x417e23(0x5fd)]=++this['_changesetReqId']);const _0x3e7ac7={'eventID':_0x63ab19[_0x417e23(0x497)][_0x417e23(0x623)],'data':{'unitID':_0x44469f['unitID'],'unitType':this[_0x417e23(0x483)],'changeset':_0x44469f,'memberID':this[_0x417e23(0x59f)]['getMemberID']()}};this[_0x417e23(0x59f)][_0x417e23(0x350)](_0x3e7ac7,this[_0x417e23(0x482)]);},'onMissingChangesets':({from:_0x8d047b,to:_0xcd6dc2})=>{const _0x2ef992=_0x1888b4;this['_logService'][_0x2ef992(0x280)](_0x2ef992(0x36f),_0x2ef992(0x232)+_0x8d047b+_0x2ef992(0x50e)+_0xcd6dc2);const _0x328252={'eventID':_0x63ab19['CollaborationEvent']['FETCH_MISSING'],'data':{'unitID':_0x387329,'unitType':this[_0x2ef992(0x483)],'from':_0x8d047b,'to':_0xcd6dc2}};this[_0x2ef992(0x59f)][_0x2ef992(0x350)](_0x328252,this[_0x2ef992(0x482)]);}};}async['_createInitialStateImpl'](_0x48a2e6){const _0x1fd20f=_0x1bb47d;var _0x8eab92,_0x1e1d3a;const _0x2d7663=await this[_0x1fd20f(0x486)][_0x1fd20f(0x675)](this['unitID']),_0x5747f9=(_0x8eab92=_0x2d7663==null?void 0x0:_0x2d7663['mutations'])!=null?_0x8eab92:[],_0x3d2642=(_0x1e1d3a=_0x2d7663==null?void 0x0:_0x2d7663[_0x1fd20f(0x5c5)])!=null?_0x1e1d3a:null,_0x164414=!!(_0x3d2642!=null&&_0x3d2642[_0x1fd20f(0x3c4)])&&!!(_0x3d2642!=null&&_0x3d2642['reqId']);this[_0x1fd20f(0x3f5)]=_0x164414?_0x3d2642[_0x1fd20f(0x3c4)]:_0x43fb5e(),this['_changesetReqId']=_0x164414?_0x3d2642[_0x1fd20f(0x5fd)]:0x0;const _0x4ac3dc=this[_0x1fd20f(0x482)];try{this[_0x1fd20f(0x330)](_0x3d2642,_0x5747f9);}catch(_0x179e15){this[_0x1fd20f(0x434)][_0x1fd20f(0x5c9)](_0x179e15);}const _0x45c6ec=this[_0x1fd20f(0x484)]();if(_0x48a2e6){const _0x3a917d=_0x27704c(this[_0x1fd20f(0x4b6)],_0x4ac3dc,this['_type'],_0x3d2642,_0x5747f9,_0x45c6ec);return _0x3a917d instanceof _0x41a97c?_0x3a917d[_0x1fd20f(0x4e9)]():(_0x3a917d instanceof _0x12d703||_0x3a917d instanceof _0x43b52e)&&_0x3a917d['resend'](),_0x3a917d;}return this[_0x1fd20f(0x4b6)]['createInstance'](_0x317297,_0x4ac3dc,this[_0x1fd20f(0x483)],_0x3d2642,_0x5747f9,_0x45c6ec);}[_0x1bb47d(0x330)](_0xb3a03c,_0x13fb9d){const _0x2900a9=_0x1bb47d;var _0x2d04f7,_0x26d8e0;const _0x5dd35e=this[_0x2900a9(0x525)][_0x2900a9(0x50f)]['fetchThroughInterceptors'](this[_0x2900a9(0x525)][_0x2900a9(0x50f)][_0x2900a9(0x4a1)]()[_0x2900a9(0x2ba)]);(_0x2d04f7=_0x5dd35e((_0xb3a03c==null?void 0x0:_0xb3a03c[_0x2900a9(0x589)])||[],null))==null||_0x2d04f7[_0x2900a9(0x4bb)](_0x51fbe6=>this['_commandService'][_0x2900a9(0x699)](_0x51fbe6['id'],_0x51fbe6[_0x2900a9(0x457)])),(_0x26d8e0=_0x5dd35e(_0x13fb9d||[],null))==null||_0x26d8e0['forEach'](_0x582844=>this['_commandService'][_0x2900a9(0x699)](_0x582844['id'],_0x582844['params']));}},_0x439f5[_0x1bb47d(0x567)]=_0x555999([_0x531311(0x3,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157['Injector'])),_0x531311(0x4,_0x2a6157[_0x1bb47d(0x439)](_0x439f5[_0x1bb47d(0x3f2)])),_0x531311(0x5,_0x2a6157[_0x1bb47d(0x439)](_0x63ab19[_0x1bb47d(0x1ec)])),_0x531311(0x6,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157['LocaleService'])),_0x531311(0x7,_0x2a6157[_0x1bb47d(0x439)](_0x63ab19[_0x1bb47d(0x598)])),_0x531311(0x8,_0x2a6157['ILogService']),_0x531311(0x9,_0x2a6157[_0x1bb47d(0x3fa)]),_0x531311(0xa,_0x4c9f9a[_0x1bb47d(0x527)]),_0x531311(0xb,_0x2a6157[_0x1bb47d(0x2c9)]),_0x531311(0xc,_0x2a6157['Optional'](_0x4eeee0))],_0x439f5[_0x1bb47d(0x567)]),_0x439f5[_0x1bb47d(0x547)]=class extends _0x439f5[_0x1bb47d(0x567)]{constructor(_0xa5ce54,_0x5d03b7,_0x1d28fc,_0x44db61,_0x58bfd4,_0x4c1d8a,_0x171e44,_0x1e4842,_0x3c9005,_0x2e33e7,_0x427934,_0x1a354b,_0x1b20db,_0x4ad72e,_0x4ac4da,_0x1ce357,_0x3d3617,_0x1a78ac){const _0x427a6=_0x1bb47d;super(_0xa5ce54,_0x1d28fc,_0x5d03b7,_0x44db61,_0x58bfd4,_0x4c1d8a,_0x171e44,_0x1e4842,_0x4ad72e,_0x4ac4da,_0x1ce357,_0x3d3617,_0x1a78ac),this[_0x427a6(0x482)]=_0xa5ce54,this[_0x427a6(0x451)]=_0x5d03b7,this[_0x427a6(0x3d1)]=_0x3c9005,this[_0x427a6(0x240)]=_0x2e33e7,this[_0x427a6(0x373)]=_0x427934,this[_0x427a6(0x3a1)]=_0x1a354b,this['_docSyncEditingCollabCursorService']=_0x1b20db;}[_0x1bb47d(0x484)](){const _0x168805=_0x1bb47d,_0x262dba=super[_0x168805(0x484)]();return _0x262dba[_0x168805(0x34b)]=_0x2b19b1=>this['_docTransformIMECacheService']['transformIMECache'](_0x2b19b1),_0x262dba[_0x168805(0x2e0)]=_0x2758b3=>this[_0x168805(0x373)][_0x168805(0x670)](_0x2758b3),_0x262dba['onTransformSelections']=_0x445023=>this[_0x168805(0x3a1)][_0x168805(0x58c)](_0x445023),_0x262dba[_0x168805(0x2aa)]=_0x3074ba=>this[_0x168805(0x56a)][_0x168805(0x622)](_0x3074ba),_0x262dba['onTransformRemoteChangesetByIMECache']=_0x2228b2=>this[_0x168805(0x240)]['transformRemoteChangeset'](_0x2228b2),_0x262dba[_0x168805(0x4cd)]=_0x5109e3=>this[_0x168805(0x373)][_0x168805(0x5c2)](_0x5109e3),_0x262dba;}async['_init'](){const _0x4dd69c=_0x1bb47d,_0x2fc40c=await super[_0x4dd69c(0x311)]();return this[_0x4dd69c(0x3d1)][_0x4dd69c(0x3d4)][_0x4dd69c(0x4b3)](_0x59070a['takeUntil'](this[_0x4dd69c(0x3a3)]))['subscribe'](_0x1e4fd9=>{const _0x4115e2=_0x4dd69c;if(_0x1e4fd9==null)return;const {unitId:_0x3cbf71,redoState:_0xf3f0a0,commandId:_0x30d54c}=_0x1e4fd9;if(_0x3cbf71!==this[_0x4115e2(0x482)])return;const _0x42c58b={'id':_0x30d54c,'type':_0x2a6157[_0x4115e2(0x410)][_0x4115e2(0x56c)],'params':{'unitId':_0x3cbf71,'actions':_0xf3f0a0['actions'],'textRanges':null}};this['_onLocalMutation'](_0x42c58b);}),_0x2fc40c;}},_0x439f5[_0x1bb47d(0x547)]=_0x555999([_0x531311(0x3,_0x2a6157['Inject'](_0x2a6157[_0x1bb47d(0x5a7)])),_0x531311(0x4,_0x2a6157[_0x1bb47d(0x439)](_0x439f5[_0x1bb47d(0x3f2)])),_0x531311(0x5,_0x2a6157[_0x1bb47d(0x439)](_0x63ab19[_0x1bb47d(0x1ec)])),_0x531311(0x6,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157[_0x1bb47d(0x308)])),_0x531311(0x7,_0x2a6157[_0x1bb47d(0x439)](_0x63ab19['RevisionService'])),_0x531311(0x8,_0x2a6157[_0x1bb47d(0x439)](_0x4b7f90[_0x1bb47d(0x454)])),_0x531311(0x9,_0x2a6157[_0x1bb47d(0x439)](_0x328692)),_0x531311(0xa,_0x2a6157[_0x1bb47d(0x439)](_0x360c7d)),_0x531311(0xb,_0x2a6157[_0x1bb47d(0x439)](_0x25b89c)),_0x531311(0xc,_0x2a6157[_0x1bb47d(0x439)](_0x46f788)),_0x531311(0xd,_0x2a6157[_0x1bb47d(0x5b9)]),_0x531311(0xe,_0x2a6157[_0x1bb47d(0x3fa)]),_0x531311(0xf,_0x4c9f9a[_0x1bb47d(0x527)]),_0x531311(0x10,_0x2a6157[_0x1bb47d(0x2c9)]),_0x531311(0x11,_0x2a6157[_0x1bb47d(0x1e1)](_0x4eeee0))],_0x439f5[_0x1bb47d(0x547)]),_0x439f5['SheetCollaborationEntity']=class extends _0x439f5['CollaborationEntity']{constructor(_0x15a564,_0x3513c3,_0xe4bdff,_0xeb7643,_0x291764,_0x943c15,_0x4d8b85,_0x36b43b,_0x4862b0,_0x543f9d,_0x5a7a73,_0x264666,_0x533055,_0x22dbf9){const _0x4973a5=_0x1bb47d;super(_0x15a564,_0xe4bdff,_0x3513c3,_0xeb7643,_0x291764,_0x943c15,_0x4d8b85,_0x36b43b,_0x543f9d,_0x5a7a73,_0x264666,_0x533055,_0x22dbf9),this[_0x4973a5(0x482)]=_0x15a564,this[_0x4973a5(0x451)]=_0x3513c3,this[_0x4973a5(0x5ab)]=_0x4862b0;}[_0x1bb47d(0x484)](){const _0x3f59ba=_0x1bb47d,_0x125565=super[_0x3f59ba(0x484)]();return _0x125565[_0x3f59ba(0x273)]=_0x51e1bb=>this['_sheetTransformSelectionsService'][_0x3f59ba(0x58c)](_0x51e1bb),_0x125565;}async[_0x1bb47d(0x311)](){const _0x943b22=_0x1bb47d,_0x435082=await super[_0x943b22(0x311)]();return this[_0x943b22(0x20d)](this[_0x943b22(0x24c)][_0x943b22(0x5bc)]((_0x3260c6,_0xd8e624)=>{const _0x596ec3=_0x943b22;if(_0x3260c6[_0x596ec3(0x451)]!==_0x2a6157[_0x596ec3(0x410)][_0x596ec3(0x56c)]||_0xd8e624!=null&&_0xd8e624[_0x596ec3(0x30c)]||_0xd8e624!=null&&_0xd8e624[_0x596ec3(0x274)])return;const _0x2764ea=_0x3260c6[_0x596ec3(0x457)];if((_0x2764ea==null?void 0x0:_0x2764ea[_0x596ec3(0x60b)])!==this[_0x596ec3(0x482)])return;const _0x20050e=_0x3260c6,_0x50893d=this[_0x596ec3(0x525)][_0x596ec3(0x50f)]['fetchThroughInterceptors'](this[_0x596ec3(0x525)][_0x596ec3(0x50f)][_0x596ec3(0x4a1)]()['COMPRESS_MUTATION_SEND'])([_0x20050e],null)||[_0x20050e];this['_onLocalMutation'](_0x50893d[0x0]);})),_0x435082;}},_0x439f5[_0x1bb47d(0x20a)]=_0x555999([_0x531311(0x3,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157[_0x1bb47d(0x5a7)])),_0x531311(0x4,_0x2a6157[_0x1bb47d(0x439)](_0x439f5['LocalCacheService'])),_0x531311(0x5,_0x2a6157['Inject'](_0x63ab19[_0x1bb47d(0x1ec)])),_0x531311(0x6,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157[_0x1bb47d(0x308)])),_0x531311(0x7,_0x2a6157[_0x1bb47d(0x439)](_0x63ab19[_0x1bb47d(0x598)])),_0x531311(0x8,_0x2a6157[_0x1bb47d(0x439)](_0x5128be)),_0x531311(0x9,_0x2a6157[_0x1bb47d(0x5b9)]),_0x531311(0xa,_0x2a6157[_0x1bb47d(0x3fa)]),_0x531311(0xb,_0x4c9f9a[_0x1bb47d(0x527)]),_0x531311(0xc,_0x2a6157['IPermissionService']),_0x531311(0xd,_0x2a6157[_0x1bb47d(0x1e1)](_0x4eeee0))],_0x439f5[_0x1bb47d(0x20a)]);var _0x442dce=Object[_0x1bb47d(0x368)],_0x3d3529=Object['getOwnPropertyDescriptor'],_0x5061b8=(_0x5a87dd,_0x367828,_0x294140,_0x15f690)=>{const _0x332899=_0x1bb47d;for(var _0xd837be=_0x15f690>0x1?void 0x0:_0x15f690?_0x3d3529(_0x367828,_0x294140):_0x367828,_0x5e7dba=_0x5a87dd[_0x332899(0x458)]-0x1,_0x3a3118;_0x5e7dba>=0x0;_0x5e7dba--)(_0x3a3118=_0x5a87dd[_0x5e7dba])&&(_0xd837be=(_0x15f690?_0x3a3118(_0x367828,_0x294140,_0xd837be):_0x3a3118(_0xd837be))||_0xd837be);return _0x15f690&&_0xd837be&&_0x442dce(_0x367828,_0x294140,_0xd837be),_0xd837be;},_0x32cc80=(_0x3bee1d,_0x34f986)=>(_0x3cb7a1,_0x517947)=>_0x34f986(_0x3cb7a1,_0x517947,_0x3bee1d);_0x439f5[_0x1bb47d(0x314)]=class extends _0x2a6157[_0x1bb47d(0x3ff)]{constructor(_0x7c7901,_0x5b08ca,_0x31e311){const _0xf0a5a4=_0x1bb47d;super(),_0x538cec(this,'_entities',new Map()),_0x538cec(this,_0xf0a5a4(0x628),new _0x59070a[(_0xf0a5a4(0x557))]()),(this[_0xf0a5a4(0x4b6)]=_0x7c7901,this['_collabSessionService']=_0x5b08ca,this[_0xf0a5a4(0x522)]=_0x31e311,this[_0xf0a5a4(0x311)]());}['dispose'](){const _0x1b1d75=_0x1bb47d;super[_0x1b1d75(0x3c0)](),this[_0x1b1d75(0x68f)]['forEach'](_0x2cc4e1=>_0x2cc4e1[_0x1b1d75(0x3c0)]()),this[_0x1b1d75(0x68f)][_0x1b1d75(0x333)]();}[_0x1bb47d(0x29e)](_0x453801){const _0x1e3385=_0x1bb47d;var _0x4f88db;return(_0x4f88db=this[_0x1e3385(0x68f)][_0x1e3385(0x55e)](_0x453801))!=null?_0x4f88db:null;}[_0x1bb47d(0x488)](_0x50ca35){const _0x571cd5=_0x1bb47d,_0x3bbf5d=this[_0x571cd5(0x29e)](_0x50ca35);return _0x3bbf5d?_0x59070a['of'](_0x3bbf5d):this[_0x571cd5(0x628)][_0x571cd5(0x4b3)](_0x12f2af[_0x571cd5(0x3e4)](_0x5f49f3=>_0x5f49f3[_0x571cd5(0x482)]===_0x50ca35));}[_0x1bb47d(0x311)](){const _0x1b7bd5=_0x1bb47d;this[_0x1b7bd5(0x522)]['getTypeOfUnitAdded$'](_0x2a6157[_0x1b7bd5(0x1ff)][_0x1b7bd5(0x560)])[_0x1b7bd5(0x4b3)](_0x59070a[_0x1b7bd5(0x422)](this['dispose$']),_0x12f2af[_0x1b7bd5(0x327)](0x10))[_0x1b7bd5(0x551)](async _0x1f8b5f=>{const _0x5d93fd=_0x1b7bd5,_0x4cbb3c=_0x1f8b5f[_0x5d93fd(0x679)](),_0x39469a=await this[_0x5d93fd(0x427)](_0x4cbb3c,_0x48d2c2['UNIVER_SHEET']);this['_entities'][_0x5d93fd(0x674)](_0x4cbb3c,_0x39469a);}),this[_0x1b7bd5(0x522)][_0x1b7bd5(0x219)](_0x2a6157['UniverInstanceType']['UNIVER_DOC'])[_0x1b7bd5(0x4b3)](_0x59070a[_0x1b7bd5(0x422)](this[_0x1b7bd5(0x3a3)]),_0x12f2af[_0x1b7bd5(0x327)](0x10))['pipe'](_0x12f2af[_0x1b7bd5(0x3e4)](_0x27d5ff=>!_0x27d5ff[_0x1b7bd5(0x679)]()[_0x1b7bd5(0x32c)]('__')))[_0x1b7bd5(0x551)](async _0x400d91=>{const _0x5d5efe=_0x1b7bd5,_0x2b0cc8=_0x400d91['getUnitId'](),_0x27e65f=await this[_0x5d5efe(0x427)](_0x2b0cc8,_0x48d2c2['UNIVER_DOC']);this[_0x5d5efe(0x68f)]['set'](_0x2b0cc8,_0x27e65f);}),_0x59070a['merge'](this[_0x1b7bd5(0x522)]['getTypeOfUnitDisposed$'](_0x2a6157[_0x1b7bd5(0x1ff)]['UNIVER_SHEET']),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x2a6157['UniverInstanceType'][_0x1b7bd5(0x328)]))[_0x1b7bd5(0x4b3)](_0x59070a[_0x1b7bd5(0x422)](this['dispose$']))[_0x1b7bd5(0x551)](_0x46201e=>{const _0x2078a4=_0x1b7bd5,_0x384d2b=_0x46201e[_0x2078a4(0x679)](),_0x5ccf6c=this['_entities']['get'](_0x384d2b);_0x5ccf6c&&(_0x5ccf6c['dispose'](),this[_0x2078a4(0x68f)][_0x2078a4(0x5c7)](_0x384d2b));});}async[_0x1bb47d(0x427)](_0x2e0970,_0x45ab0a){const _0x162c76=_0x1bb47d,_0x9b5850=await this[_0x162c76(0x64a)][_0x162c76(0x54c)](_0x2e0970),_0x31b8c8=this[_0x162c76(0x4b6)]['createInstance'](this['_getCtorByUniverType'](_0x45ab0a),_0x2e0970,_0x45ab0a,_0x9b5850);return await _0x31b8c8[_0x162c76(0x2a2)](),this['_entityInit$'][_0x162c76(0x369)](_0x31b8c8),_0x31b8c8;}[_0x1bb47d(0x211)](_0x4b65ae){const _0x445a42=_0x1bb47d;switch(_0x4b65ae){case _0x48d2c2['UNIVER_DOC']:return _0x439f5[_0x445a42(0x547)];case _0x48d2c2[_0x445a42(0x560)]:return _0x439f5[_0x445a42(0x20a)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x4b65ae);}}},_0x439f5[_0x1bb47d(0x314)]=_0x5061b8([_0x32cc80(0x0,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157[_0x1bb47d(0x5a7)])),_0x32cc80(0x1,_0x2a6157[_0x1bb47d(0x439)](_0x439f5[_0x1bb47d(0x49e)])),_0x32cc80(0x2,_0x2a6157[_0x1bb47d(0x59c)])],_0x439f5[_0x1bb47d(0x314)]);const _0x59407a=['purple300',_0x1bb47d(0x4e0),'verdancy600',_0x1bb47d(0x229),'blue400','gold400'];class _0x555674 extends _0x2a6157[_0x1bb47d(0x36e)]{constructor(){super(...arguments),_0x538cec(this,'_assignedColors',new Map()),_0x538cec(this,'_colorIndex',0x0);}[_0x1bb47d(0x2a9)](_0xb5cf66){const _0x12e244=_0x1bb47d;if(this['_assignedColors']['has'](_0xb5cf66))return this[_0x12e244(0x24e)][_0x12e244(0x55e)](_0xb5cf66);const _0x2b692c=_0x59407a[this['_colorIndex']];return this[_0x12e244(0x45f)]=(this[_0x12e244(0x45f)]+0x1)%_0x59407a[_0x12e244(0x458)],this[_0x12e244(0x24e)]['set'](_0xb5cf66,_0x2b692c),_0x2b692c;}}var _0x1614e6=Object[_0x1bb47d(0x368)],_0x55ce43=Object[_0x1bb47d(0x276)],_0x1ce142=(_0x224cd1,_0x3d17fd,_0x26f576,_0x9c453e)=>{for(var _0x370e6c=_0x9c453e>0x1?void 0x0:_0x9c453e?_0x55ce43(_0x3d17fd,_0x26f576):_0x3d17fd,_0x3a9401=_0x224cd1['length']-0x1,_0x3e2505;_0x3a9401>=0x0;_0x3a9401--)(_0x3e2505=_0x224cd1[_0x3a9401])&&(_0x370e6c=(_0x9c453e?_0x3e2505(_0x3d17fd,_0x26f576,_0x370e6c):_0x3e2505(_0x370e6c))||_0x370e6c);return _0x9c453e&&_0x370e6c&&_0x1614e6(_0x3d17fd,_0x26f576,_0x370e6c),_0x370e6c;},_0x11b4ec=(_0x1ee9b1,_0x513cc4)=>(_0xd879b5,_0x4c9d66)=>_0x513cc4(_0xd879b5,_0x4c9d66,_0x1ee9b1);const _0x5c7742=0x12c,_0x1cbba0=0x64;let _0x2f338e=class extends _0x2a6157['RxDisposable']{constructor(_0x51bd9c,_0x54e852,_0x532593,_0x377215,_0x59a52c,_0x1eaa4a,_0x591861,_0x5bd567,_0xbb03b1){const _0x107f85=_0x1bb47d;super(),_0x538cec(this,_0x107f85(0x355),!0x1),_0x538cec(this,_0x107f85(0x311),!0x1),_0x538cec(this,_0x107f85(0x5ac),new _0x59070a[(_0x107f85(0x471))](new Map())),_0x538cec(this,_0x107f85(0x202),this[_0x107f85(0x5ac)][_0x107f85(0x55b)]()),_0x538cec(this,_0x107f85(0x655),new _0x59070a[(_0x107f85(0x471))]([])),_0x538cec(this,_0x107f85(0x3f0),this[_0x107f85(0x655)][_0x107f85(0x4b3)](_0x59070a['debounceTime'](_0x5c7742))),_0x538cec(this,_0x107f85(0x402),_0x2a6157[_0x107f85(0x4a9)](_0x4ba743=>{const _0x1b0dde=_0x107f85,_0x135c27={'eventID':_0x63ab19[_0x1b0dde(0x497)][_0x1b0dde(0x542)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x1b0dde(0x65e)](),'selection':_0x4ecbbf(_0x4ba743)}};this['_session'][_0x1b0dde(0x350)](_0x135c27,this['unitID']);},_0x1cbba0)),(this[_0x107f85(0x482)]=_0x51bd9c,this[_0x107f85(0x1cf)]=_0x54e852,this[_0x107f85(0x4b6)]=_0x532593,this['_colorAssignService']=_0x377215,this['_memberService']=_0x59a52c,this[_0x107f85(0x23a)]=_0x1eaa4a,this[_0x107f85(0x301)]=_0x591861,this[_0x107f85(0x522)]=_0x5bd567,this['_commandService']=_0xbb03b1);}get[_0x1bb47d(0x324)](){const _0x3e8c3e=_0x1bb47d;return this[_0x3e8c3e(0x5ac)][_0x3e8c3e(0x207)]();}get[_0x1bb47d(0x200)](){const _0x1c855e=_0x1bb47d;return this[_0x1c855e(0x655)][_0x1c855e(0x207)]();}[_0x1bb47d(0x3c0)](){const _0x136293=_0x1bb47d;super[_0x136293(0x3c0)](),this[_0x136293(0x5ac)][_0x136293(0x369)](new Map()),this[_0x136293(0x5ac)][_0x136293(0x39e)](),this[_0x136293(0x655)][_0x136293(0x369)]([]),this[_0x136293(0x655)][_0x136293(0x39e)]();}['init'](){const _0x318bff=_0x1bb47d;this[_0x318bff(0x311)]||(this['_init']=!0x0,this['_session']['sessionStatus$'][_0x318bff(0x4b3)](_0x59070a[_0x318bff(0x422)](this[_0x318bff(0x3a3)]))[_0x318bff(0x551)](_0xc8222c=>{const _0xb5d306=_0x318bff;_0xc8222c===_0x1710c1[_0xb5d306(0x36b)]?this['_toggleOnline']():this[_0xb5d306(0x26f)]();}),this[_0x318bff(0x1cf)][_0x318bff(0x437)][_0x318bff(0x4b3)](_0x59070a[_0x318bff(0x422)](this[_0x318bff(0x3a3)]))[_0x318bff(0x551)](_0x4b57df=>{const _0x195575=_0x318bff,_0x55dbb6=_0x4b57df[_0x195575(0x429)];_0x55dbb6===_0x63ab19['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x195575(0x40e)](_0x4b57df),_0x55dbb6===_0x63ab19[_0x195575(0x497)]['USERS_LEAVE']&&this[_0x195575(0x433)](_0x4b57df);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x459a9d=>{const _0x3cd6f7=_0x318bff,_0x458809=_0x459a9d['params'];_0x458809!=null&&this[_0x3cd6f7(0x355)]&&_0x459a9d['id']===_0x6fdacf[_0x3cd6f7(0x414)]['id']&&_0x458809['unitId']===this[_0x3cd6f7(0x482)]&&_0x458809['isEditing']===!0x1&&_0x458809[_0x3cd6f7(0x654)][_0x3cd6f7(0x458)]>0x0&&this['_updateLocalCursor'](_0x458809[_0x3cd6f7(0x654)]);})),this[_0x318bff(0x23a)][_0x318bff(0x1d4)][_0x318bff(0x4b3)](_0x59070a[_0x318bff(0x422)](this['dispose$']))[_0x318bff(0x551)](_0x57f826=>{const _0x5785c8=_0x318bff;if((_0x57f826==null?void 0x0:_0x57f826[_0x5785c8(0x482)])!==this[_0x5785c8(0x482)])return;const _0x4cb41a={'eventID':_0x63ab19[_0x5785c8(0x497)]['UPDATE_CURSOR'],'data':_0x57f826};this['_onCursorUpdate'](_0x4cb41a);}),this[_0x318bff(0x20d)](this[_0x318bff(0x24c)][_0x318bff(0x5bc)](_0x29c955=>{const _0xde579d=_0x318bff;if(_0x29c955[_0xde579d(0x457)]==null)return;const _0x3d1fdb=_0x29c955[_0xde579d(0x457)];if(_0x29c955['id']!==_0x6fdacf[_0xde579d(0x518)]['id']||_0x3d1fdb['unitId']!==this[_0xde579d(0x482)])return;const _0x9efa58={'id':'doc.mutation.rich-text-editing','params':_0x3d1fdb},_0x5bbbf2=this[_0xde579d(0x324)];for(const [_0xc5ec4f,_0x49615c]of _0x5bbbf2){const _0x31dc22={'id':_0xde579d(0x575),'params':{'unitId':this[_0xde579d(0x482)],'actions':null,'textRanges':_0x49615c[_0xde579d(0x654)]}},_0x1ab4dd=this[_0xde579d(0x301)]['transformMutation'](_0x9efa58,_0x31dc22,!0x1);if(_0x63ab19[_0xde579d(0x67a)](_0x1ab4dd))throw _0x1ab4dd[_0xde579d(0x5c9)];_0x5bbbf2[_0xde579d(0x674)](_0xc5ec4f,{..._0x49615c,'ranges':_0x1ab4dd[_0xde579d(0x4a5)][_0xde579d(0x457)][_0xde579d(0x2f6)]});}queueMicrotask(()=>{const _0x44e564=_0xde579d;this[_0x44e564(0x5ac)][_0x44e564(0x369)](_0x5bbbf2);});})));}['_onCursorUpdate'](_0x1ee442){const _0xf617dc=_0x1bb47d;var _0x3ccad5,_0xf6360;const {memberID:_0x4b2340,selection:_0x1ef691}=_0x1ee442[_0xf617dc(0x1d8)],_0x590c1c=_0x43f154(_0x1ef691),_0x5d7543=(_0xf6360=(_0x3ccad5=this[_0xf617dc(0x453)][_0xf617dc(0x38c)](this[_0xf617dc(0x482)],_0x4b2340))==null?void 0x0:_0x3ccad5['name'])!=null?_0xf6360:_0xf617dc(0x4fc),_0x195e46={'color':this[_0xf617dc(0x5b5)][_0xf617dc(0x2a9)](_0x4b2340),'name':_0x5d7543,'ranges':_0x590c1c},_0x205af8=this[_0xf617dc(0x324)];_0x205af8[_0xf617dc(0x674)](_0x4b2340,_0x195e46),this['_cursorInfo$'][_0xf617dc(0x369)](_0x205af8);}[_0x1bb47d(0x433)](_0x361831){const _0xe76d38=_0x1bb47d,{memberID:_0x2b9e7c}=_0x361831[_0xe76d38(0x1d8)],_0x3794d1=this[_0xe76d38(0x324)];_0x3794d1['delete'](_0x2b9e7c),this[_0xe76d38(0x5ac)][_0xe76d38(0x369)](_0x3794d1);}[_0x1bb47d(0x613)](){const _0x50930d=_0x1bb47d;var _0x2e733b;if(this[_0x50930d(0x355)]=!0x0,((_0x2e733b=this[_0x50930d(0x522)]['getFocusedUnit']())==null?void 0x0:_0x2e733b[_0x50930d(0x679)]())!==this[_0x50930d(0x482)])return;const _0x5e33a3=this['_injector'][_0x50930d(0x55e)](_0x6fdacf[_0x50930d(0x54e)])[_0x50930d(0x632)]();Array[_0x50930d(0x36d)](_0x5e33a3)&&_0x5e33a3[_0x50930d(0x458)]>0x0&&this['_updateLocalCursor'](_0x5e33a3);}['_toggleOffline'](){const _0x65fee2=_0x1bb47d;this[_0x65fee2(0x355)]=!0x1;}};_0x2f338e=_0x1ce142([_0x11b4ec(0x2,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157['Injector'])),_0x11b4ec(0x3,_0x2a6157[_0x1bb47d(0x439)](_0x555674)),_0x11b4ec(0x4,_0x2a6157[_0x1bb47d(0x439)](_0x439f5['MemberService'])),_0x11b4ec(0x5,_0x2a6157[_0x1bb47d(0x439)](_0x46f788)),_0x11b4ec(0x6,_0x63ab19[_0x1bb47d(0x32b)]),_0x11b4ec(0x7,_0x2a6157[_0x1bb47d(0x59c)]),_0x11b4ec(0x8,_0x2a6157[_0x1bb47d(0x3fa)])],_0x2f338e);var _0x5d1e17=Object[_0x1bb47d(0x368)],_0xcb9223=Object['getOwnPropertyDescriptor'],_0x257154=(_0x476852,_0x384ce4,_0x495486,_0x13c86a)=>{const _0x35ed68=_0x1bb47d;for(var _0x434312=_0x13c86a>0x1?void 0x0:_0x13c86a?_0xcb9223(_0x384ce4,_0x495486):_0x384ce4,_0x4b32c=_0x476852[_0x35ed68(0x458)]-0x1,_0x3fcf45;_0x4b32c>=0x0;_0x4b32c--)(_0x3fcf45=_0x476852[_0x4b32c])&&(_0x434312=(_0x13c86a?_0x3fcf45(_0x384ce4,_0x495486,_0x434312):_0x3fcf45(_0x434312))||_0x434312);return _0x13c86a&&_0x434312&&_0x5d1e17(_0x384ce4,_0x495486,_0x434312),_0x434312;},_0x5cffce=(_0x5542fa,_0x4b524c)=>(_0x280069,_0x5294c4)=>_0x4b524c(_0x280069,_0x5294c4,_0x5542fa);const _0x473f78=0x12c,_0x2bfaac=0x64,_0x3c0077=()=>{let _0x35dc3b=[],_0x133002=!0x1;return _0x8da865=>{_0x35dc3b['push'](_0x8da865),_0x133002||(_0x133002=!0x0,setTimeout(()=>{const _0x26cad2=_0x27a5;_0x35dc3b[_0x26cad2(0x4bb)](_0xbc9af1=>_0xbc9af1()),_0x35dc3b=[],_0x133002=!0x1;}));};};let _0x478e6a=class extends _0x2a6157[_0x1bb47d(0x3ff)]{constructor(_0x4dc4b8,_0x1d0052,_0x4b7714,_0x5f054d,_0x373707,_0x37bd90,_0x5697ca,_0x1c6fd5){const _0x144623=_0x1bb47d;super(),_0x538cec(this,_0x144623(0x355),!0x1),_0x538cec(this,_0x144623(0x311),!0x1),_0x538cec(this,_0x144623(0x5ac),new _0x59070a[(_0x144623(0x471))](new Map())),_0x538cec(this,_0x144623(0x202),this[_0x144623(0x5ac)][_0x144623(0x55b)]()),_0x538cec(this,_0x144623(0x655),new _0x59070a[(_0x144623(0x471))]([])),_0x538cec(this,_0x144623(0x3f0),this[_0x144623(0x655)][_0x144623(0x4b3)](_0x59070a[_0x144623(0x51c)](_0x473f78))),_0x538cec(this,'_updateLocalCursor',_0x2a6157[_0x144623(0x4a9)]((_0x2b00c0,_0x22d6ae)=>{const _0x5cb008=_0x144623,_0x1c86af={'eventID':_0x63ab19['CollaborationEvent'][_0x5cb008(0x542)],'data':{'unitID':this['unitID'],'memberID':this[_0x5cb008(0x1cf)][_0x5cb008(0x65e)](),'selection':_0x1819fc[_0x5cb008(0x400)](_0x2b00c0,_0x22d6ae[_0x5cb008(0x294)])}};this[_0x5cb008(0x1cf)]['send'](_0x1c86af,this[_0x5cb008(0x482)]);},_0x2bfaac)),(this[_0x144623(0x482)]=_0x4dc4b8,this['_session']=_0x1d0052,this[_0x144623(0x4b6)]=_0x4b7714,this[_0x144623(0x5b5)]=_0x5f054d,this[_0x144623(0x453)]=_0x373707,this[_0x144623(0x522)]=_0x37bd90,this['_commandService']=_0x5697ca,this[_0x144623(0x60c)]=_0x1c6fd5);}get[_0x1bb47d(0x324)](){const _0x57895d=_0x1bb47d;return this[_0x57895d(0x5ac)][_0x57895d(0x207)]();}get['roomMembers'](){const _0x13fdda=_0x1bb47d;return this[_0x13fdda(0x655)]['getValue']();}[_0x1bb47d(0x3c0)](){const _0x2bffc8=_0x1bb47d;super['dispose'](),this[_0x2bffc8(0x5ac)][_0x2bffc8(0x369)](new Map()),this[_0x2bffc8(0x5ac)][_0x2bffc8(0x39e)](),this[_0x2bffc8(0x655)][_0x2bffc8(0x369)]([]),this[_0x2bffc8(0x655)][_0x2bffc8(0x39e)]();}[_0x1bb47d(0x2a2)](){const _0x39b5ea=_0x1bb47d;this[_0x39b5ea(0x311)]||(this[_0x39b5ea(0x311)]=!0x0,this['_session'][_0x39b5ea(0x57f)][_0x39b5ea(0x4b3)](_0x59070a[_0x39b5ea(0x422)](this['dispose$']))['subscribe'](_0x43aa9a=>{const _0x45763b=_0x39b5ea;_0x43aa9a===_0x1710c1['ONLINE']?this[_0x45763b(0x613)]():this['_toggleOffline']();}),this[_0x39b5ea(0x1cf)][_0x39b5ea(0x437)]['pipe'](_0x59070a[_0x39b5ea(0x422)](this[_0x39b5ea(0x3a3)]))[_0x39b5ea(0x551)](_0x42a5f6=>{const _0x469591=_0x39b5ea,_0x5412ed=_0x42a5f6[_0x469591(0x429)];_0x5412ed===_0x63ab19[_0x469591(0x497)][_0x469591(0x542)]&&this['_onCursorUpdate'](_0x42a5f6),_0x5412ed===_0x63ab19['CollaborationEvent'][_0x469591(0x59d)]&&this[_0x469591(0x433)](_0x42a5f6);}),this[_0x39b5ea(0x444)](),this[_0x39b5ea(0x20d)](this[_0x39b5ea(0x24c)][_0x39b5ea(0x5bc)](_0x43a0b9=>{const _0x49af62=_0x39b5ea;if(this['_online']&&_0x43a0b9['id']===_0xeac940[_0x49af62(0x397)]['id']&&_0x43a0b9[_0x49af62(0x457)]['unitId']===this['unitID']){const _0x3e8c02=_0x43a0b9[_0x49af62(0x457)];this['_updateLocalCursor'](_0x3e8c02[_0x49af62(0x4d8)],_0x3e8c02[_0x49af62(0x65c)][0x0]);}})));}[_0x1bb47d(0x40e)](_0x1a7fd7){const _0x3cb513=_0x1bb47d;var _0x996e6d,_0x1d0c34;const {memberID:_0x469e6f,selection:_0x1ed78a}=_0x1a7fd7['data'],{sheetName:_0x3d4c5e,range:_0x133bf7}=_0x1819fc['deserializeRangeWithSheet'](_0x1ed78a),_0x4d4fd1={'name':(_0x1d0c34=(_0x996e6d=this[_0x3cb513(0x453)]['getMember'](this['unitID'],_0x469e6f))==null?void 0x0:_0x996e6d[_0x3cb513(0x2e3)])!=null?_0x1d0c34:_0x3cb513(0x4fc),'range':this[_0x3cb513(0x4ce)](_0x3d4c5e,_0x133bf7),'sheetID':_0x3d4c5e,'color':this[_0x3cb513(0x5b5)][_0x3cb513(0x2a9)](_0x469e6f),'selection':_0x1ed78a},_0x178dc3=this[_0x3cb513(0x324)];_0x178dc3[_0x3cb513(0x674)](_0x469e6f,_0x4d4fd1),this['_cursorInfo$'][_0x3cb513(0x369)](_0x178dc3);}[_0x1bb47d(0x433)](_0xb8e5fb){const _0x35962f=_0x1bb47d,{memberID:_0x1703d0}=_0xb8e5fb[_0x35962f(0x1d8)],_0x55db0e=this['cursorInfo'];_0x55db0e[_0x35962f(0x5c7)](_0x1703d0),this[_0x35962f(0x5ac)][_0x35962f(0x369)](_0x55db0e);}[_0x1bb47d(0x4ce)](_0x252e41,_0x742e4f){const _0x1d525d=_0x1bb47d;var _0xcbd0a8,_0x555226;const _0x55f86b=(_0x555226=(_0xcbd0a8=this[_0x1d525d(0x522)][_0x1d525d(0x415)](this['unitID']))==null?void 0x0:_0xcbd0a8[_0x1d525d(0x3c6)](_0x252e41))==null?void 0x0:_0x555226['getMergeData']();return(_0x55f86b==null?void 0x0:_0x55f86b[_0x1d525d(0x533)](_0x2df2fb=>_0x2a6157['Rectangle']['contains'](_0x2df2fb,_0x742e4f)))||_0x742e4f;}[_0x1bb47d(0x444)](){const _0x11465d=_0x1bb47d,_0x3c553f=new _0x2a6157[(_0x11465d(0x504))](),_0x5a1c3f=_0x3c0077(),_0x4e804c=()=>{const _0x581b4d=_0x11465d;_0x3c553f[_0x581b4d(0x3c0)]();const _0x568239=(_0x52b841,_0x2f86c9,_0x35355b,_0x692bfd)=>{const _0x360310=_0x581b4d;let _0x1ad2b6=[];switch(_0x52b841['id']){case _0xeac940[_0x360310(0x60d)][_0x360310(0x68b)]:{_0x1ad2b6=_0xeac940[_0x360310(0x34e)](_0x52b841,_0x692bfd);break;}case _0xeac940['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x1ad2b6=_0xeac940[_0x360310(0x610)](_0x52b841,_0x692bfd);break;}case _0xeac940[_0x360310(0x60d)]['InsertColCommandId']:{_0x1ad2b6=_0xeac940[_0x360310(0x2e8)](_0x52b841,_0x692bfd);break;}case _0xeac940[_0x360310(0x60d)][_0x360310(0x3a4)]:{_0x1ad2b6=_0xeac940['handleInsertRangeMoveDown'](_0x52b841,_0x692bfd);break;}case _0xeac940[_0x360310(0x60d)]['InsertRangeMoveRightCommandId']:{_0x1ad2b6=_0xeac940[_0x360310(0x54d)](_0x52b841,_0x692bfd);break;}case _0xeac940[_0x360310(0x60d)]['InsertRowCommandId']:{_0x1ad2b6=_0xeac940[_0x360310(0x40d)](_0x52b841,_0x692bfd);break;}case _0xeac940[_0x360310(0x60d)][_0x360310(0x4aa)]:{_0x1ad2b6=_0xeac940[_0x360310(0x30b)](_0x52b841,_0x692bfd);break;}case _0xeac940[_0x360310(0x60d)][_0x360310(0x2f1)]:{_0x1ad2b6=_0xeac940[_0x360310(0x64e)](_0x52b841,_0x692bfd);break;}case _0xeac940[_0x360310(0x60d)][_0x360310(0x650)]:{_0x1ad2b6=_0xeac940['handleIRemoveRow'](_0x52b841,_0x692bfd);break;}}const _0x5415b0=_0xeac940['runRefRangeMutations'](_0x1ad2b6,_0x692bfd),_0x59750e=this['cursorInfo'][_0x360310(0x55e)](_0x2f86c9);if(_0x59750e&&_0x5415b0){const _0x4d0eec={..._0x59750e,'range':_0x5415b0};this[_0x360310(0x324)]['set'](_0x2f86c9,_0x4d0eec),_0x5a1c3f(()=>{const _0x24ec81=_0x360310,_0x3354d3=this[_0x24ec81(0x60c)][_0x24ec81(0x57d)](_0x5415b0,_0xb70f60=>(_0x3354d3[_0x24ec81(0x3c0)](),_0x568239(_0xb70f60,_0x2f86c9,_0x35355b,_0x5415b0)));_0x3c553f['add'](_0x3354d3);});}return{'redos':[],'undos':[]};};this[_0x581b4d(0x324)][_0x581b4d(0x4bb)]((_0x5ef6ad,_0x1e7107)=>{const _0x40b232=_0x581b4d,{range:_0x2b7913,sheetID:_0x575e0f}=_0x5ef6ad,_0x1337ea=this[_0x40b232(0x60c)][_0x40b232(0x57d)](_0x2b7913,_0x56366f=>(_0x1337ea['dispose'](),_0x568239(_0x56366f,_0x1e7107,_0x575e0f,_0x2b7913)));_0x3c553f[_0x40b232(0x1e2)](_0x1337ea);});};this[_0x11465d(0x20d)](_0x2a6157[_0x11465d(0x2cf)](this[_0x11465d(0x5ac)][_0x11465d(0x551)](()=>{_0x4e804c();})));}[_0x1bb47d(0x613)](){const _0x1221ff=_0x1bb47d;var _0x574d23,_0x3c4e2e;if(this[_0x1221ff(0x355)]=!0x0,((_0x574d23=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x574d23[_0x1221ff(0x679)]())!==this[_0x1221ff(0x482)])return;const _0x3a9568=(_0x3c4e2e=this[_0x1221ff(0x4b6)][_0x1221ff(0x55e)](_0xeac940[_0x1221ff(0x469)])[_0x1221ff(0x21e)]())==null?void 0x0:_0x3c4e2e[0x0],_0x85e2ce=this[_0x1221ff(0x522)][_0x1221ff(0x67f)](_0x2a6157[_0x1221ff(0x1ff)]['UNIVER_SHEET'])[_0x1221ff(0x2df)]();_0x3a9568&&_0x85e2ce&&this[_0x1221ff(0x402)](_0x85e2ce['getSheetId'](),_0x3a9568);}[_0x1bb47d(0x26f)](){const _0x5e4922=_0x1bb47d;this[_0x5e4922(0x355)]=!0x1;}};_0x478e6a=_0x257154([_0x5cffce(0x2,_0x2a6157['Inject'](_0x2a6157[_0x1bb47d(0x5a7)])),_0x5cffce(0x3,_0x2a6157[_0x1bb47d(0x439)](_0x555674)),_0x5cffce(0x4,_0x2a6157['Inject'](_0x439f5[_0x1bb47d(0x431)])),_0x5cffce(0x5,_0x2a6157['IUniverInstanceService']),_0x5cffce(0x6,_0x2a6157[_0x1bb47d(0x3fa)]),_0x5cffce(0x7,_0x2a6157['Inject'](_0xeac940['RefRangeService']))],_0x478e6a);var _0x1196b1=Object[_0x1bb47d(0x368)],_0x3b1cc0=Object[_0x1bb47d(0x276)],_0x590aaf=(_0x37d957,_0x3ff2a7,_0x5401be,_0x2d0dc9)=>{for(var _0x4363cf=_0x2d0dc9>0x1?void 0x0:_0x2d0dc9?_0x3b1cc0(_0x3ff2a7,_0x5401be):_0x3ff2a7,_0x2da316=_0x37d957['length']-0x1,_0x1c9f77;_0x2da316>=0x0;_0x2da316--)(_0x1c9f77=_0x37d957[_0x2da316])&&(_0x4363cf=(_0x2d0dc9?_0x1c9f77(_0x3ff2a7,_0x5401be,_0x4363cf):_0x1c9f77(_0x4363cf))||_0x4363cf);return _0x2d0dc9&&_0x4363cf&&_0x1196b1(_0x3ff2a7,_0x5401be,_0x4363cf),_0x4363cf;},_0x3232cb=(_0x23c5ce,_0x28da6e)=>(_0x55547b,_0x24b926)=>_0x28da6e(_0x55547b,_0x24b926,_0x23c5ce);let _0x38e1cd=class extends _0x2a6157[_0x1bb47d(0x3ff)]{constructor(_0x24ec28,_0x74fc88,_0x5e7565){const _0x52b506=_0x1bb47d;super(),_0x538cec(this,_0x52b506(0x68f),new Map()),_0x538cec(this,_0x52b506(0x628),new _0x59070a[(_0x52b506(0x557))]()),(this[_0x52b506(0x522)]=_0x24ec28,this[_0x52b506(0x4b6)]=_0x74fc88,this['_collabSessionService']=_0x5e7565,this[_0x52b506(0x311)]());}['dispose'](){const _0x5491c3=_0x1bb47d;super[_0x5491c3(0x3c0)](),this['_entityInit$']['complete'](),this[_0x5491c3(0x68f)][_0x5491c3(0x4bb)](_0xacee3a=>_0xacee3a[_0x5491c3(0x3c0)]());}[_0x1bb47d(0x512)](_0x44c881){const _0x1ff291=_0x1bb47d;return this[_0x1ff291(0x68f)][_0x1ff291(0x676)](_0x44c881)?this[_0x1ff291(0x68f)][_0x1ff291(0x55e)](_0x44c881)[_0x1ff291(0x202)]:this[_0x1ff291(0x628)][_0x1ff291(0x4b3)](_0x59070a[_0x1ff291(0x3e4)](_0x14a882=>_0x14a882['unitID']===_0x44c881),_0x59070a[_0x1ff291(0x1f8)](_0x11e35a=>_0x11e35a[_0x1ff291(0x202)]));}[_0x1bb47d(0x311)](){const _0x25bd6f=_0x1bb47d;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x2a6157[_0x25bd6f(0x1ff)][_0x25bd6f(0x560)])[_0x25bd6f(0x4b3)](_0x59070a[_0x25bd6f(0x422)](this[_0x25bd6f(0x3a3)]))['subscribe'](async _0x105e33=>{const _0x491a76=_0x25bd6f,_0x156c8b=_0x105e33['getUnitId'](),_0x2cf010=await this[_0x491a76(0x5b3)](_0x156c8b);this[_0x491a76(0x628)]['next'](_0x2cf010),this[_0x491a76(0x68f)][_0x491a76(0x674)](_0x156c8b,_0x2cf010);}),this[_0x25bd6f(0x522)]['getTypeOfUnitAdded$'](_0x2a6157['UniverInstanceType'][_0x25bd6f(0x328)])[_0x25bd6f(0x4b3)](_0x59070a['takeUntil'](this[_0x25bd6f(0x3a3)]))[_0x25bd6f(0x4b3)](_0x59070a[_0x25bd6f(0x3e4)](_0x5ab91d=>!_0x5ab91d['getUnitId']()['startsWith']('__')))['subscribe'](async _0x1274b4=>{const _0x6e3c92=_0x25bd6f,_0x13612b=_0x1274b4[_0x6e3c92(0x679)](),_0x5b0d89=await this['_startDocCollabCursor'](_0x13612b);this['_entityInit$']['next'](_0x5b0d89),this[_0x6e3c92(0x68f)][_0x6e3c92(0x674)](_0x13612b,_0x5b0d89);}),_0x59070a[_0x25bd6f(0x545)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x2a6157[_0x25bd6f(0x1ff)]['UNIVER_DOC']),this['_univerInstanceService'][_0x25bd6f(0x4c3)](_0x2a6157['UniverInstanceType'][_0x25bd6f(0x560)]))[_0x25bd6f(0x4b3)](_0x59070a[_0x25bd6f(0x422)](this['dispose$']))[_0x25bd6f(0x551)](_0x5ed33b=>{const _0x12939a=_0x25bd6f,_0x521258=_0x5ed33b[_0x12939a(0x679)](),_0x1b296d=this[_0x12939a(0x68f)][_0x12939a(0x55e)](_0x521258);_0x1b296d&&(_0x1b296d[_0x12939a(0x3c0)](),this[_0x12939a(0x68f)][_0x12939a(0x5c7)](_0x521258));});}async[_0x1bb47d(0x5b3)](_0x4cd68c){const _0x209ecb=_0x1bb47d,_0x99d160=await this[_0x209ecb(0x64a)]['requireSession'](_0x4cd68c),_0x36bee4=this[_0x209ecb(0x4b6)][_0x209ecb(0x307)](_0x478e6a,_0x4cd68c,_0x99d160);return _0x36bee4[_0x209ecb(0x2a2)](),_0x36bee4;}async[_0x1bb47d(0x645)](_0x1b44ca){const _0x2713ee=_0x1bb47d,_0x30dcfd=await this[_0x2713ee(0x64a)][_0x2713ee(0x54c)](_0x1b44ca),_0x379b68=this[_0x2713ee(0x4b6)][_0x2713ee(0x307)](_0x2f338e,_0x1b44ca,_0x30dcfd);return _0x379b68[_0x2713ee(0x2a2)](),_0x379b68;}};_0x38e1cd=_0x590aaf([_0x3232cb(0x0,_0x2a6157['IUniverInstanceService']),_0x3232cb(0x1,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157['Injector'])),_0x3232cb(0x2,_0x2a6157[_0x1bb47d(0x439)](_0x439f5['CollaborationSessionService']))],_0x38e1cd);const _0x5daefb=0x14,_0x1d86b9=0xc8,_0x14ea60=0x4,_0x2c30f8=0x5;function _0x4a7d43(_0x1678ce,_0x57afc3){const _0x5aae52=_0x1bb47d;let {radius:_0x47f7e9,width:_0x220c76,height:_0x42f0e8}=_0x57afc3;_0x47f7e9=_0x47f7e9!=null?_0x47f7e9:0x0,_0x220c76=_0x220c76!=null?_0x220c76:0x1e,_0x42f0e8=_0x42f0e8!=null?_0x42f0e8:0x1e;let _0x2dbaef=0x0,_0x27a965=0x0,_0x3fa6eb=0x0;_0x2dbaef=_0x27a965=_0x3fa6eb=Math[_0x5aae52(0x609)](_0x47f7e9,_0x220c76/0x2,_0x42f0e8/0x2),_0x1678ce[_0x5aae52(0x681)](),_0x1678ce[_0x5aae52(0x614)](_0x2dbaef,0x0),_0x1678ce[_0x5aae52(0x3b4)](_0x220c76-_0x27a965,0x0),_0x1678ce[_0x5aae52(0x367)](_0x220c76-_0x27a965,_0x27a965,_0x27a965,Math['PI']*0x3/0x2,0x0,!0x1),_0x1678ce[_0x5aae52(0x3b4)](_0x220c76,_0x42f0e8-_0x3fa6eb),_0x1678ce[_0x5aae52(0x367)](_0x220c76-_0x3fa6eb,_0x42f0e8-_0x3fa6eb,_0x3fa6eb,0x0,Math['PI']/0x2,!0x1),_0x1678ce[_0x5aae52(0x3b4)](0x0,_0x42f0e8),_0x1678ce[_0x5aae52(0x3b4)](0x0,_0x2dbaef),_0x1678ce['arc'](_0x2dbaef,_0x2dbaef,_0x2dbaef,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1678ce['closePath'](),_0x57afc3[_0x5aae52(0x288)]&&(_0x1678ce[_0x5aae52(0x393)](),_0x1678ce[_0x5aae52(0x36a)]=_0x57afc3[_0x5aae52(0x288)],_0x57afc3[_0x5aae52(0x22a)]===_0x5aae52(0x37d)?_0x1678ce['fill'](_0x5aae52(0x37d)):_0x1678ce['fill'](),_0x1678ce[_0x5aae52(0x30f)]());}class _0x2db77c extends _0xf19b5a[_0x1bb47d(0x416)]{constructor(_0x552b65,_0xbb981d){const _0x1f94a6=_0x1bb47d;super(_0x552b65,_0xbb981d),_0x538cec(this,_0x1f94a6(0x4bd)),_0x538cec(this,'text'),(this[_0x1f94a6(0x4bd)]=_0xbb981d==null?void 0x0:_0xbb981d['color'],this['text']=_0xbb981d==null?void 0x0:_0xbb981d['text']);}static['drawWith'](_0x1f7dfe,_0x24d10){const _0x57ef07=_0x1bb47d,{text:_0x8102e4,color:_0x303c4c}=_0x24d10;_0x1f7dfe['save'](),_0x1f7dfe[_0x57ef07(0x62d)]=_0x57ef07(0x41d);const _0x32c12e=_0x1f7dfe[_0x57ef07(0x5f2)](_0x8102e4)['width'],_0xb6fc23=Math[_0x57ef07(0x609)](_0x32c12e+0x2*_0x14ea60,_0x1d86b9);_0x4a7d43(_0x1f7dfe,{'height':_0x5daefb,'radius':0x4,'width':_0xb6fc23,'fill':_0x303c4c,'evented':!0x1}),_0x1f7dfe['fillStyle']=_0x57ef07(0x5ff);const _0x5452e5=_0x14ea60,_0x3495d8=_0x5daefb-_0x2c30f8,_0x404a86=_0x1d86b9-0x2*_0x14ea60;if(_0x32c12e>_0x404a86){let _0x13e990='',_0x5b76a6=0x0;for(const _0x36eea4 of _0x8102e4){const _0x5d722f=_0x1f7dfe['measureText'](_0x36eea4)[_0x57ef07(0x41f)];if(_0x5b76a6+_0x5d722f<=_0x404a86-_0x1f7dfe['measureText'](_0x57ef07(0x3fb))[_0x57ef07(0x41f)])_0x13e990+=_0x36eea4,_0x5b76a6+=_0x5d722f;else{_0x13e990+=_0x57ef07(0x3fb);break;}}_0x1f7dfe[_0x57ef07(0x4ca)](_0x13e990,_0x5452e5,_0x3495d8);}else _0x1f7dfe[_0x57ef07(0x4ca)](_0x8102e4,_0x5452e5,_0x3495d8);_0x1f7dfe['restore']();}[_0x1bb47d(0x657)](_0xcc381c){const _0x16476c=_0x1bb47d;_0x2db77c[_0x16476c(0x67c)](_0xcc381c,this);}}const _0x51ba48=_0x1bb47d(0x3a6),_0x2b5d59=_0x1bb47d(0x325),_0x333720=_0x1bb47d(0x3ec),_0x2aea0f=0x6,_0x48432f=1.5,_0x59ee80=0x4,_0x59ca0f=1.5,_0x21fd91='rgba(255,\x20255,\x20255,\x200.01)';class _0x3efe30{constructor(_0x4d480b,_0x33c24e,_0x58582e,_0x1fb727){const _0x29e5f6=_0x1bb47d;_0x538cec(this,_0x29e5f6(0x2c3),[]),_0x538cec(this,_0x29e5f6(0x293),null),_0x538cec(this,_0x29e5f6(0x212),null),_0x538cec(this,_0x29e5f6(0x596),null),_0x538cec(this,_0x29e5f6(0x48c),null),_0x538cec(this,_0x29e5f6(0x1e9),null),(this['_cursor']=_0x4d480b,this['_scene']=_0x33c24e,this[_0x29e5f6(0x40b)]=_0x58582e,this['_document']=_0x1fb727,this[_0x29e5f6(0x502)]());}set[_0x1bb47d(0x491)](_0x5941f9){const _0x392f20=_0x1bb47d;_0x5941f9?(this[_0x392f20(0x596)]&&this['_anchorDot'][_0x392f20(0x5d1)](),this[_0x392f20(0x212)]&&this[_0x392f20(0x212)][_0x392f20(0x58f)]()):(this[_0x392f20(0x596)]&&this[_0x392f20(0x596)][_0x392f20(0x58f)](),this[_0x392f20(0x212)]&&this[_0x392f20(0x212)][_0x392f20(0x5d1)]());}['dispose'](){const _0x51ac75=_0x1bb47d;for(const _0x12181f of this['_shapes'])_0x12181f['dispose']();this[_0x51ac75(0x212)]&&this[_0x51ac75(0x212)][_0x51ac75(0x3c0)](),this[_0x51ac75(0x596)]&&this[_0x51ac75(0x596)]['dispose'](),this[_0x51ac75(0x293)]&&this[_0x51ac75(0x293)]['dispose'](),this[_0x51ac75(0x1e9)]&&this[_0x51ac75(0x1e9)]();}[_0x1bb47d(0x502)](){const _0x1cb234=_0x1bb47d;var _0x47c78d;const {_docSkeleton:_0x40529b,_document:_0x26cb65}=this,{color:_0xaaccf1,name:_0x2098ad,ranges:_0x4c85d3}=this[_0x1cb234(0x3ce)],_0x38ed7c=_0x26cb65[_0x1cb234(0x583)](),{docsLeft:_0x1ad0ff,docsTop:_0x6494c8}=_0x38ed7c,_0x483a90=new _0x4b7f90[(_0x1cb234(0x56e))](_0x38ed7c,_0x40529b);for(const {startOffset:_0x46821e,endOffset:_0x5b0901,rangeType:_0x570b64,segmentId:_0x4791bc,segmentPage:_0x10d682,collapsed:_0x454a01,isActive:_0xe247dc}of _0x4c85d3){const _0x4626c8=_0x40529b[_0x1cb234(0x300)](_0x46821e,!0x0,_0x4791bc,_0x10d682);let _0xed5c22=_0x40529b[_0x1cb234(0x300)](_0x5b0901,!0x0,_0x4791bc,_0x10d682);if(_0xed5c22==null&&(_0xed5c22=_0x40529b[_0x1cb234(0x300)](_0x5b0901-0x1,!0x1,_0x4791bc,_0x10d682)),_0xe247dc){const {contentBoxPointGroup:_0x61b033}=_0x483a90[_0x1cb234(0x625)](_0xed5c22,_0xed5c22);if(_0x61b033[_0x1cb234(0x458)]===0x0)continue;this['_drawAnchor'](_0xaaccf1,_0x61b033,_0x1ad0ff,_0x6494c8,_0x2098ad),this['_eventUnsubscribe']=this[_0x1cb234(0x306)]();}if(!_0x454a01&&_0x4626c8&&_0xed5c22){if(_0x570b64===_0x2a6157['DOC_RANGE_TYPE']['RECT']){const _0x5ec1c6=new _0x4b7f90[(_0x1cb234(0x39b))](_0x38ed7c,_0x40529b),{pointGroup:_0x33e14f}=(_0x47c78d=_0x5ec1c6[_0x1cb234(0x625)](_0x4626c8,_0xed5c22))!=null?_0x47c78d:{};if(_0x33e14f==null||_0x33e14f[_0x1cb234(0x458)]===0x0)continue;this[_0x1cb234(0x464)](_0xaaccf1,_0x33e14f,_0x1ad0ff,_0x6494c8);}else{const {borderBoxPointGroup:_0x4130c2}=_0x483a90[_0x1cb234(0x625)](_0x4626c8,_0xed5c22);if(_0x4130c2[_0x1cb234(0x458)]===0x0)continue;this[_0x1cb234(0x2c8)](_0xaaccf1,_0x4130c2,_0x1ad0ff,_0x6494c8);}}}}[_0x1bb47d(0x5a2)](_0x48af97,_0x94445a,_0x5ebe5c,_0x38ce60,_0xf867ba){const _0x3d34ab=_0x1bb47d,_0x4df170=this[_0x3d34ab(0x4a7)](_0x94445a),{left:_0x36516e,top:_0x1d8cb0,height:_0x7b83e9}=_0x4df170,_0x186801=this[_0x3d34ab(0x66f)](),_0x1d7c51=_0x59ca0f/_0x186801,_0x252ac=new _0xf19b5a[(_0x3d34ab(0x3e1))](_0x51ba48+_0x2a6157[_0x3d34ab(0x3e5)][_0x3d34ab(0x5e4)](_0x2aea0f),{'left':_0x36516e+_0x5ebe5c-_0x1d7c51,'top':_0x1d8cb0+_0x38ce60,'height':_0x7b83e9,'width':_0x48432f,'fill':_0x48af97||_0xf19b5a[_0x3d34ab(0x339)](_0x2a6157[_0x3d34ab(0x286)][_0x3d34ab(0x406)],0x0),'strokeWidth':_0x1d7c51,'stroke':_0x21fd91,'evented':!0x0});this[_0x3d34ab(0x293)]=_0x252ac,this[_0x3d34ab(0x5e8)][_0x3d34ab(0x2f0)](_0x252ac,_0x4b7f90[_0x3d34ab(0x615)]);const _0x469c88=new _0xf19b5a[(_0x3d34ab(0x3e1))](_0x51ba48+_0x2a6157[_0x3d34ab(0x3e5)]['generateRandomId'](_0x2aea0f),{'left':_0x36516e+_0x5ebe5c-_0x1d7c51,'top':_0x1d8cb0+_0x38ce60-_0x59ee80/0x2,'height':_0x59ee80,'width':_0x59ee80,'fill':_0x48af97||_0xf19b5a[_0x3d34ab(0x339)](_0x2a6157[_0x3d34ab(0x286)][_0x3d34ab(0x406)],0x0),'strokeWidth':0x0,'stroke':_0x48af97||_0xf19b5a['getColor'](_0x2a6157[_0x3d34ab(0x286)][_0x3d34ab(0x406)],0x0),'evented':!0x1});this[_0x3d34ab(0x596)]=_0x469c88,this[_0x3d34ab(0x5e8)][_0x3d34ab(0x2f0)](_0x469c88,_0x4b7f90[_0x3d34ab(0x615)]);const _0x4f5de3=new _0x2db77c(_0x51ba48+_0x2a6157['Tools']['generateRandomId'](_0x2aea0f),{'left':_0x36516e+_0x5ebe5c-_0x1d7c51,'top':_0x1d8cb0+_0x38ce60-_0x5daefb,'text':_0xf867ba,'color':_0x48af97});this[_0x3d34ab(0x212)]=_0x4f5de3,this[_0x3d34ab(0x5e8)][_0x3d34ab(0x2f0)](_0x4f5de3,_0x4b7f90[_0x3d34ab(0x615)]),this[_0x3d34ab(0x491)]=!0x1;}[_0x1bb47d(0x306)](){const _0x15cb87=_0x1bb47d,_0x56165a=this[_0x15cb87(0x293)][_0x15cb87(0x4a6)][_0x15cb87(0x534)](()=>{const _0x4c42de=_0x15cb87;this[_0x4c42de(0x491)]=!0x0;}),_0x54cf71=this[_0x15cb87(0x293)][_0x15cb87(0x5cd)][_0x15cb87(0x534)](()=>{const _0x471f50=_0x15cb87;this[_0x471f50(0x48c)]&&clearTimeout(this[_0x471f50(0x48c)]),this[_0x471f50(0x48c)]=setTimeout(()=>{const _0x4d7949=_0x471f50;this[_0x4d7949(0x491)]=!0x1;},0x7d0);});return()=>{const _0x589a39=_0x15cb87;_0x56165a[_0x589a39(0x59b)](),_0x54cf71[_0x589a39(0x59b)]();};}[_0x1bb47d(0x2c8)](_0x3362f0,_0x596769,_0xf21ec4,_0x37ed12){const _0x4f502b=_0x1bb47d,_0x5eced2=new _0x2a6157[(_0x4f502b(0x532))](_0x3362f0)[_0x4f502b(0x4eb)](0.2)[_0x4f502b(0x3f9)](),_0x6b6ab4=new _0xf19b5a[(_0x4f502b(0x5cc))](_0x2b5d59+_0x2a6157[_0x4f502b(0x3e5)][_0x4f502b(0x5e4)](_0x2aea0f),{'pointsGroup':_0x596769,'fill':_0x5eced2||_0xf19b5a['getColor'](_0x2a6157[_0x4f502b(0x286)][_0x4f502b(0x406)],0.2),'left':_0xf21ec4,'top':_0x37ed12,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4f502b(0x2c3)]['push'](_0x6b6ab4),this['_scene'][_0x4f502b(0x2f0)](_0x6b6ab4,_0x4b7f90[_0x4f502b(0x615)]);}['_drawRectRange'](_0x580d55,_0x19167d,_0x57930f,_0x2be3f0){const _0x8ff18d=_0x1bb47d,_0x1b1c86=new _0x2a6157[(_0x8ff18d(0x532))](_0x580d55)[_0x8ff18d(0x4eb)](0.2)[_0x8ff18d(0x3f9)](),_0x25581b=new _0xf19b5a[(_0x8ff18d(0x5cc))](_0x333720+_0x2a6157[_0x8ff18d(0x3e5)][_0x8ff18d(0x5e4)](_0x2aea0f),{'pointsGroup':_0x19167d,'fill':_0x1b1c86||_0xf19b5a['getColor'](_0x2a6157[_0x8ff18d(0x286)]['black'],0.2),'left':_0x57930f,'top':_0x2be3f0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x8ff18d(0x2c3)][_0x8ff18d(0x67d)](_0x25581b),this[_0x8ff18d(0x5e8)][_0x8ff18d(0x2f0)](_0x25581b,_0x4b7f90[_0x8ff18d(0x615)]);}['_getAnchorBounding'](_0x2091b1){const _0x4a38e9=_0x2091b1[0x0],_0xddf7ba=_0x4a38e9[0x0],_0x16e194=_0x4a38e9[0x2],{x:_0x45a09d,y:_0x65bba7}=_0xddf7ba,{x:_0x2d7695,y:_0x4a8f4b}=_0x16e194;return{'left':_0x45a09d,'top':_0x65bba7,'width':_0x2d7695-_0x45a09d,'height':_0x4a8f4b-_0x65bba7};}[_0x1bb47d(0x66f)](){const _0x1aa4ee=_0x1bb47d,{scaleX:_0x150e8b,scaleY:_0x4d0643}=this[_0x1aa4ee(0x5e8)][_0x1aa4ee(0x528)]();return Math[_0x1aa4ee(0x56f)](_0x150e8b,_0x4d0643);}}var _0x4c41b5=Object[_0x1bb47d(0x368)],_0x1bbc4c=Object[_0x1bb47d(0x276)],_0x3283cf=(_0x1465fd,_0x4f1c98,_0x5e8ba0,_0x5b82df)=>{for(var _0x1af696=_0x5b82df>0x1?void 0x0:_0x5b82df?_0x1bbc4c(_0x4f1c98,_0x5e8ba0):_0x4f1c98,_0x187b37=_0x1465fd['length']-0x1,_0x56dae3;_0x187b37>=0x0;_0x187b37--)(_0x56dae3=_0x1465fd[_0x187b37])&&(_0x1af696=(_0x5b82df?_0x56dae3(_0x4f1c98,_0x5e8ba0,_0x1af696):_0x56dae3(_0x1af696))||_0x1af696);return _0x5b82df&&_0x1af696&&_0x4c41b5(_0x4f1c98,_0x5e8ba0,_0x1af696),_0x1af696;},_0x13b320=(_0x1f0210,_0xf7bf4e)=>(_0x1ef485,_0x1f39cf)=>_0xf7bf4e(_0x1ef485,_0x1f39cf,_0x1f0210);let _0x4815f9=class extends _0x2a6157[_0x1bb47d(0x3ff)]{constructor(_0x3a2fc4,_0x4c6d41,_0x119e2a,_0xc46ba9,_0x386691){const _0x5c160d=_0x1bb47d;super(),_0x538cec(this,_0x5c160d(0x66c),[]),_0x538cec(this,_0x5c160d(0x364),[]),(this[_0x5c160d(0x678)]=_0x3a2fc4,this[_0x5c160d(0x65d)]=_0x4c6d41,this[_0x5c160d(0x319)]=_0x119e2a,this[_0x5c160d(0x24c)]=_0xc46ba9,this[_0x5c160d(0x363)]=_0x386691,this['_init']());}[_0x1bb47d(0x311)](){const _0x5ed422=_0x1bb47d,_0xd746ee=this[_0x5ed422(0x678)][_0x5ed422(0x60b)],_0x16e4b7=this['_docSkeletonManagerService'];this[_0x5ed422(0x20d)](_0x59070a[_0x5ed422(0x4ed)]([this['_collabCursorController']['getCollabCursors$'](_0xd746ee),this[_0x5ed422(0x363)][_0x5ed422(0x3ea)]])['pipe'](_0x12f2af['map'](([_0xf045,_0x341d62])=>({'skeleton':_0x16e4b7[_0x5ed422(0x2ec)](),'cursors':[..._0xf045[_0x5ed422(0x304)]()]['flatMap'](_0x23b706=>({..._0x23b706,'color':_0x341d62[_0x23b706['color']]}))})))[_0x5ed422(0x551)](_0x129121=>{const _0x5dfad0=_0x5ed422;if(this[_0x5dfad0(0x4b1)](),_0x129121){const {skeleton:_0x167658,cursors:_0x351279}=_0x129121;this['_updateCollabCursors'](_0x167658,_0x351279);}})),this[_0x5ed422(0x612)](),this[_0x5ed422(0x4b0)]();}[_0x1bb47d(0x235)](_0x13414f,_0x469ca6){const _0x51ce7c=_0x1bb47d,{scene:_0x3c3373,mainComponent:_0x16eca4}=this[_0x51ce7c(0x678)],_0xe719ed=_0x469ca6[_0x51ce7c(0x616)](_0x7b60f5=>new _0x3efe30(_0x7b60f5,_0x3c3373,_0x13414f,_0x16eca4));this[_0x51ce7c(0x66c)]=_0xe719ed,this[_0x51ce7c(0x364)]=_0x469ca6;}[_0x1bb47d(0x61b)](){const _0x419e28=_0x1bb47d;this[_0x419e28(0x4b1)]();const {scene:_0x300bd6,mainComponent:_0x404bea}=this[_0x419e28(0x678)],_0x384e71=this['_docSkeletonManagerService'][_0x419e28(0x2ec)](),_0x46f42d=this['_cursors'][_0x419e28(0x616)](_0x33e070=>new _0x3efe30(_0x33e070,_0x300bd6,_0x384e71,_0x404bea));this[_0x419e28(0x66c)]=_0x46f42d;}[_0x1bb47d(0x4b1)](){const _0x3a16ea=_0x1bb47d;this[_0x3a16ea(0x66c)][_0x3a16ea(0x4bb)](_0x2a0596=>_0x2a0596[_0x3a16ea(0x3c0)]()),this[_0x3a16ea(0x66c)]=[];}[_0x1bb47d(0x4b0)](){const _0x3b80c3=_0x1bb47d,_0x35ae0e=[_0x4b7f90[_0x3b80c3(0x27a)]['id']];this[_0x3b80c3(0x20d)](this['_commandService']['onCommandExecuted'](_0x1c338e=>{const _0x2c0395=_0x3b80c3;_0x35ae0e[_0x2c0395(0x5e7)](_0x1c338e['id'])&&_0x1c338e[_0x2c0395(0x457)][_0x2c0395(0x60b)]===this['_context'][_0x2c0395(0x60b)]&&this[_0x2c0395(0x61b)]();}));}[_0x1bb47d(0x612)](){const _0x4cd79c=_0x1bb47d;this['disposeWithMe'](_0x2a6157[_0x4cd79c(0x564)](this[_0x4cd79c(0x678)][_0x4cd79c(0x67b)][_0x4cd79c(0x4c6)])[_0x4cd79c(0x4b3)](_0x12f2af['filter'](_0x22a786=>_0x22a786[_0x4cd79c(0x451)]===_0xf19b5a[_0x4cd79c(0x467)][_0x4cd79c(0x2b1)]),_0x12f2af['throttleTime'](0x10))['subscribe'](()=>{const _0x40839f=_0x4cd79c;this[_0x40839f(0x61b)]();}));}};_0x4815f9=_0x3283cf([_0x13b320(0x1,_0x2a6157[_0x1bb47d(0x439)](_0x6fdacf[_0x1bb47d(0x27c)])),_0x13b320(0x2,_0x2a6157[_0x1bb47d(0x439)](_0x38e1cd)),_0x13b320(0x3,_0x2a6157[_0x1bb47d(0x3fa)]),_0x13b320(0x4,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157['ThemeService']))],_0x4815f9);const _0x4dbc46=0x1,_0x5b6be5=1.5;class _0x571ce1 extends _0xf19b5a[_0x1bb47d(0x416)]{constructor(_0x34a7e3,_0x3b1d71){const _0x3df9c2=_0x1bb47d;super(_0x34a7e3,_0x3b1d71),_0x538cec(this,_0x3df9c2(0x5d3)),_0x538cec(this,_0x3df9c2(0x604),!0x1),_0x538cec(this,_0x3df9c2(0x214)),_0x538cec(this,_0x3df9c2(0x45d),''),_0x538cec(this,_0x3df9c2(0x3c5),_0x3df9c2(0x69b)),_0x538cec(this,_0x3df9c2(0x60a)),(_0x3b1d71&&this['setShapeProps'](_0x3b1d71),this['onPointerEnter$'][_0x3df9c2(0x534)](()=>this[_0x3df9c2(0x226)]({'hovered':!0x0})),this[_0x3df9c2(0x5cd)]['subscribeEvent'](()=>this[_0x3df9c2(0x226)]({'hovered':!0x1})));}['setShapeProps'](_0x64c09f){const _0x543016=_0x1bb47d;var _0x2f568c,_0x239d52,_0x32f7e9,_0x47190a,_0x200603,_0x3d9398;this[_0x543016(0x5d3)]=(_0x2f568c=_0x64c09f[_0x543016(0x4bd)])!=null?_0x2f568c:this['_color'],this[_0x543016(0x604)]=(_0x239d52=_0x64c09f[_0x543016(0x377)])!=null?_0x239d52:this[_0x543016(0x604)],this[_0x543016(0x214)]=(_0x32f7e9=_0x64c09f[_0x543016(0x294)])!=null?_0x32f7e9:this[_0x543016(0x214)],this[_0x543016(0x45d)]=(_0x47190a=_0x64c09f[_0x543016(0x2e3)])!=null?_0x47190a:this[_0x543016(0x45d)],this['_labelPosition']=(_0x200603=_0x64c09f[_0x543016(0x295)])!=null?_0x200603:this[_0x543016(0x3c5)],this[_0x543016(0x60a)]=(_0x3d9398=_0x64c09f[_0x543016(0x374)])!=null?_0x3d9398:this[_0x543016(0x60a)],this[_0x543016(0x3e8)]({'width':_0x64c09f[_0x543016(0x41f)],'height':_0x64c09f[_0x543016(0x5ca)]});}[_0x1bb47d(0x648)](_0x2ef69a){const _0x1c4118=_0x1bb47d,{row:_0x1abd77,column:_0x42ab77}=_0x2ef69a;if(_0x1abd77>=this[_0x1c4118(0x214)][_0x1c4118(0x2d6)]&&_0x1abd77<=this[_0x1c4118(0x214)][_0x1c4118(0x500)]&&_0x42ab77>=this[_0x1c4118(0x214)][_0x1c4118(0x417)]&&_0x42ab77<=this[_0x1c4118(0x214)][_0x1c4118(0x426)]){this[_0x1c4118(0x226)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x1bb47d(0x52a)](_0x37e781){return!0x1;}[_0x1bb47d(0x657)](_0x178a29){const _0x390751=_0x1bb47d;_0xf19b5a['Rect'][_0x390751(0x67c)](_0x178a29,{'width':this[_0x390751(0x41f)],'height':this[_0x390751(0x5ca)],'strokeWidth':_0x5b6be5,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x390751(0x60a)]}),this['_hovered']&&(_0x178a29[_0x390751(0x393)](),_0x178a29[_0x390751(0x4c7)](0x1,0x0,0x0,0x1,this[_0x390751(0x41f)],this[_0x390751(0x3c5)]===_0x390751(0x646)?0x0:-_0x5daefb),_0x2db77c[_0x390751(0x67c)](_0x178a29,{'text':this[_0x390751(0x45d)],'color':this['_color']}),_0x178a29[_0x390751(0x30f)]());}}var _0x39b282=Object['defineProperty'],_0xd6a059=Object[_0x1bb47d(0x276)],_0x134393=(_0x14d3eb,_0x4170fc,_0x32d3b3,_0x8c41f)=>{const _0xa2522f=_0x1bb47d;for(var _0x587413=_0x8c41f>0x1?void 0x0:_0x8c41f?_0xd6a059(_0x4170fc,_0x32d3b3):_0x4170fc,_0x1cf068=_0x14d3eb[_0xa2522f(0x458)]-0x1,_0x49fdd8;_0x1cf068>=0x0;_0x1cf068--)(_0x49fdd8=_0x14d3eb[_0x1cf068])&&(_0x587413=(_0x8c41f?_0x49fdd8(_0x4170fc,_0x32d3b3,_0x587413):_0x49fdd8(_0x587413))||_0x587413);return _0x8c41f&&_0x587413&&_0x39b282(_0x4170fc,_0x32d3b3,_0x587413),_0x587413;},_0x7043e8=(_0x1a1c98,_0x19d57)=>(_0x4f4604,_0x1e41ba)=>_0x19d57(_0x4f4604,_0x1e41ba,_0x1a1c98);const _0x1b8c11=0x1389;let _0x305653=class extends _0x2a6157[_0x1bb47d(0x3ff)]{constructor(_0x1d7bd0,_0x60406e,_0x162754,_0x39a2fc){const _0x188e67=_0x1bb47d;super(),_0x538cec(this,_0x188e67(0x364),new Set()),_0x538cec(this,_0x188e67(0x5dc),null),(this[_0x188e67(0x678)]=_0x1d7bd0,this[_0x188e67(0x4f6)]=_0x60406e,this['_collabCursorController']=_0x162754,this[_0x188e67(0x363)]=_0x39a2fc,this['_init']());}['_init'](){const _0x2aebf0=_0x1bb47d;this[_0x2aebf0(0x4f6)][_0x2aebf0(0x4dd)]['pipe'](_0x12f2af[_0x2aebf0(0x422)](this[_0x2aebf0(0x3a3)]),_0x12f2af['switchMap'](_0x531041=>{const _0x37df2f=_0x2aebf0;if(_0x531041){const _0x443362=_0x531041['sheetId'];return _0x59070a['combineLatest'](this[_0x37df2f(0x319)][_0x37df2f(0x512)](this['_context'][_0x37df2f(0x60b)]),this[_0x37df2f(0x363)][_0x37df2f(0x3ea)])[_0x37df2f(0x4b3)](_0x12f2af[_0x37df2f(0x616)](([_0x1ac292,_0x1d4bec])=>{const _0xafa8b8=_0x37df2f,_0x563163=new Map();return _0x1ac292[_0xafa8b8(0x4bb)]((_0x15e246,_0x592ce1)=>{const _0x266092=_0xafa8b8;if(_0x15e246[_0x266092(0x250)]===_0x443362){const _0x3897e4={..._0x15e246};_0x3897e4[_0x266092(0x4bd)]=_0x1d4bec[_0x15e246[_0x266092(0x4bd)]],_0x563163[_0x266092(0x674)](_0x592ce1,_0x3897e4);}}),{'skeleton':_0x531041,'cursors':_0x563163};}));}return _0x59070a['of']({'skeleton':null,'cursors':new Map()});}))[_0x2aebf0(0x551)](({skeleton:_0x261b0e,cursors:_0x27ee23})=>{const _0x49120e=_0x2aebf0;this[_0x49120e(0x4b1)](),_0x261b0e&&this[_0x49120e(0x235)](_0x261b0e,_0x27ee23);}),this['_sheetSkeletonManagerService'][_0x2aebf0(0x4dd)]['subscribe'](_0x220bec=>{const _0x5878cd=_0x2aebf0;if(_0x220bec==null)return;const {skeleton:_0x4e31f1}=_0x220bec,{scene:_0x175278}=this['_context'];_0x175278[_0x5878cd(0x69a)][_0x5878cd(0x534)](_0x2a6157[_0x5878cd(0x4a9)](_0x2cc38b=>{const _0x1d8632=_0x5878cd;var _0x366e34,_0x4c2537;const {offsetX:_0x366f49,offsetY:_0x19026f}=_0x2cc38b,{x:_0x50262b,y:_0x352262}=_0x175278[_0x1d8632(0x55c)](_0xf19b5a[_0x1d8632(0x4d6)][_0x1d8632(0x56b)]([_0x366f49,_0x19026f])),{scaleX:_0x340b90,scaleY:_0x199958}=_0x175278[_0x1d8632(0x528)](),_0x4b2bbe=_0x175278[_0x1d8632(0x25d)](_0x4d9cae[_0x1d8632(0x555)][_0x1d8632(0x513)]),_0x2d25d3=_0x175278[_0x1d8632(0x2c0)](_0xf19b5a[_0x1d8632(0x4d6)][_0x1d8632(0x56b)]([_0x50262b,_0x352262]),_0x4b2bbe),_0x52fdd5=_0x4e31f1[_0x1d8632(0x2a3)](_0x366f49,_0x19026f,_0x340b90,_0x199958,_0x2d25d3);((_0x366e34=this[_0x1d8632(0x5dc)])==null?void 0x0:_0x366e34[_0x1d8632(0x4dc)])===_0x52fdd5[_0x1d8632(0x4dc)]&&((_0x4c2537=this[_0x1d8632(0x5dc)])==null?void 0x0:_0x4c2537[_0x1d8632(0x63c)])===_0x52fdd5[_0x1d8632(0x63c)]||this[_0x1d8632(0x364)][_0x1d8632(0x4bb)](_0x4e51e2=>{const _0x358757=_0x1d8632;_0x4e51e2[_0x358757(0x648)](_0x52fdd5);});},0x64));});}[_0x1bb47d(0x235)](_0x6003d5,_0x27adc8){const _0x29c877=_0x1bb47d;var _0x4b9cb9;const _0x53bef3=(_0x4b9cb9=this[_0x29c877(0x4f6)][_0x29c877(0x47b)]())==null?void 0x0:_0x4b9cb9['skeleton'];if(!_0x53bef3)return;const _0x5bbd98=this[_0x29c877(0x5c0)]();if(!_0x5bbd98)return;this[_0x29c877(0x364)][_0x29c877(0x4bb)](_0x347d6d=>{_0x347d6d['makeDirty']();});const {scene:_0x2ccdca}=_0x5bbd98,_0x3ada7=_0x1f8a39(Array[_0x29c877(0x611)](_0x27adc8[_0x29c877(0x304)]()))[_0x29c877(0x616)](_0x4018de=>{const _0x24392e=_0x29c877,{color:_0x4b6aa3,range:_0x4f8ecd,name:_0x30aea7,selection:_0xd84001,sheetID:_0x4029c8}=_0x4018de,{startColumn:_0x1f3165,startRow:_0xc94028,endColumn:_0x3cc406,endRow:_0x54c95f}=_0x4f8ecd,_0x28e854=_0x4d9cae[_0x24392e(0x3c3)](_0xc94028,_0x1f3165,_0x2ccdca,_0x53bef3),_0x5ca877=_0x4d9cae[_0x24392e(0x3c3)](_0x54c95f,_0x3cc406,_0x2ccdca,_0x53bef3),{columnHeaderHeightAndMarginTop:_0x314b5b}=_0x53bef3,{startX:_0x14c9fe,startY:_0xf2e4e9}=_0x28e854,{endX:_0x24f8bf,endY:_0x168f70}=_0x5ca877,_0x3ffbca=_0x24f8bf-_0x14c9fe,_0x3ef3d2=_0x168f70-_0xf2e4e9,_0x53d29c={'labelPosition':_0xf2e4e9-_0x314b5b>=_0x5daefb?_0x24392e(0x69b):_0x24392e(0x646),'sheetID':_0x4029c8,'range':_0x4f8ecd,'color':_0x4b6aa3,'name':_0x30aea7,'selection':_0xd84001,'left':_0x14c9fe,'top':_0xf2e4e9,'width':_0x3ffbca,'height':_0x3ef3d2,'evented':!0x1,'zIndex':_0x1b8c11};return new _0x571ce1(_0x30aea7,_0x53d29c);});_0x2ccdca[_0x29c877(0x663)](_0x3ada7,_0x4dbc46),this[_0x29c877(0x364)]=new Set(_0x3ada7);}[_0x1bb47d(0x4b1)](){const _0x232b74=_0x1bb47d;var _0x988bbb;(_0x988bbb=this[_0x232b74(0x364)])==null||_0x988bbb['forEach'](_0x52e4ea=>_0x52e4ea[_0x232b74(0x3c0)]());}[_0x1bb47d(0x5c0)](){const _0x347bd6=_0x1bb47d;return _0x4d9cae[_0x347bd6(0x584)](this['_context'][_0x347bd6(0x696)],this[_0x347bd6(0x678)]);}};_0x305653=_0x134393([_0x7043e8(0x1,_0x2a6157[_0x1bb47d(0x439)](_0x4d9cae[_0x1bb47d(0x3a0)])),_0x7043e8(0x2,_0x2a6157[_0x1bb47d(0x439)](_0x38e1cd)),_0x7043e8(0x3,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157['ThemeService']))],_0x305653);function _0x1f8a39(_0x2ec512){const _0x571cde=_0x1bb47d,_0x12b6d6=new Map();return _0x2ec512[_0x571cde(0x4bb)](_0x2063e7=>{const _0x375ef4=_0x571cde;if(_0x12b6d6[_0x375ef4(0x676)](_0x2063e7[_0x375ef4(0x356)])){const _0x168639=_0x12b6d6[_0x375ef4(0x55e)](_0x2063e7[_0x375ef4(0x356)]);_0x168639['name']+=',\x20'+_0x2063e7[_0x375ef4(0x2e3)];}else _0x12b6d6[_0x375ef4(0x674)](_0x2063e7[_0x375ef4(0x356)],_0x2063e7);}),Array[_0x571cde(0x611)](_0x12b6d6[_0x571cde(0x304)]());}var _0x11540d=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x336dd0(_0x33545b){const _0x4021fc=_0x1bb47d;return _0x33545b&&_0x33545b[_0x4021fc(0x201)]&&Object[_0x4021fc(0x2ae)][_0x4021fc(0x566)][_0x4021fc(0x4be)](_0x33545b,'default')?_0x33545b[_0x4021fc(0x478)]:_0x33545b;}var _0x3b339a={'exports':{}},_0x84ace7={},_0x3ae8e4=_0x494c84,_0x1c50b2=Symbol[_0x1bb47d(0x44e)](_0x1bb47d(0x57e)),_0x5e6d8c=Symbol[_0x1bb47d(0x44e)](_0x1bb47d(0x33b)),_0x26b9e2=Object[_0x1bb47d(0x2ae)][_0x1bb47d(0x566)],_0x14c512=_0x3ae8e4[_0x1bb47d(0x436)][_0x1bb47d(0x5b1)],_0x5bb927={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x341585(_0x2ceaed,_0x5628b2,_0x14cffe){const _0x23796f=_0x1bb47d;var _0xf6322b,_0x1375ac={},_0x387069=null,_0x17dec7=null;_0x14cffe!==void 0x0&&(_0x387069=''+_0x14cffe),_0x5628b2[_0x23796f(0x644)]!==void 0x0&&(_0x387069=''+_0x5628b2[_0x23796f(0x644)]),_0x5628b2[_0x23796f(0x1fe)]!==void 0x0&&(_0x17dec7=_0x5628b2['ref']);for(_0xf6322b in _0x5628b2)_0x26b9e2[_0x23796f(0x4be)](_0x5628b2,_0xf6322b)&&!_0x5bb927[_0x23796f(0x566)](_0xf6322b)&&(_0x1375ac[_0xf6322b]=_0x5628b2[_0xf6322b]);if(_0x2ceaed&&_0x2ceaed[_0x23796f(0x4ba)]){for(_0xf6322b in(_0x5628b2=_0x2ceaed[_0x23796f(0x4ba)],_0x5628b2))_0x1375ac[_0xf6322b]===void 0x0&&(_0x1375ac[_0xf6322b]=_0x5628b2[_0xf6322b]);}return{'$$typeof':_0x1c50b2,'type':_0x2ceaed,'key':_0x387069,'ref':_0x17dec7,'props':_0x1375ac,'_owner':_0x14c512[_0x23796f(0x2d3)]};}_0x84ace7[_0x1bb47d(0x5fb)]=_0x5e6d8c,_0x84ace7[_0x1bb47d(0x23d)]=_0x341585,_0x84ace7[_0x1bb47d(0x481)]=_0x341585,_0x3b339a[_0x1bb47d(0x1fd)]=_0x84ace7;var _0x3bcd97=_0x3b339a[_0x1bb47d(0x1fd)],_0xb1695c=function(){const _0x30a0a3=_0x1bb47d;return _0xb1695c=Object[_0x30a0a3(0x1f0)]||function(_0x2c922e){const _0xc5fccd=_0x30a0a3;for(var _0x55660a,_0x5f2c11=0x1,_0x177d65=arguments[_0xc5fccd(0x458)];_0x5f2c11<_0x177d65;_0x5f2c11++){_0x55660a=arguments[_0x5f2c11];for(var _0x582f60 in _0x55660a)Object[_0xc5fccd(0x2ae)][_0xc5fccd(0x566)]['call'](_0x55660a,_0x582f60)&&(_0x2c922e[_0x582f60]=_0x55660a[_0x582f60]);}return _0x2c922e;},_0xb1695c['apply'](this,arguments);},_0x3d42c6=function(_0x348148,_0x41436e){const _0xf4cb6b=_0x1bb47d;var _0x3c9857={};for(var _0x53b99e in _0x348148)Object[_0xf4cb6b(0x2ae)]['hasOwnProperty']['call'](_0x348148,_0x53b99e)&&_0x41436e[_0xf4cb6b(0x290)](_0x53b99e)<0x0&&(_0x3c9857[_0x53b99e]=_0x348148[_0x53b99e]);if(_0x348148!=null&&typeof Object['getOwnPropertySymbols']==_0xf4cb6b(0x694)){for(var _0x441331=0x0,_0x53b99e=Object['getOwnPropertySymbols'](_0x348148);_0x441331<_0x53b99e['length'];_0x441331++)_0x41436e[_0xf4cb6b(0x290)](_0x53b99e[_0x441331])<0x0&&Object['prototype'][_0xf4cb6b(0x4ef)][_0xf4cb6b(0x4be)](_0x348148,_0x53b99e[_0x441331])&&(_0x3c9857[_0x53b99e[_0x441331]]=_0x348148[_0x53b99e[_0x441331]]);}return _0x3c9857;},_0x23251f=_0x494c84[_0x1bb47d(0x43d)](function(_0x40b7b0,_0x3e760c){const _0x57241a=_0x1bb47d;var _0x895ca3=_0x40b7b0['icon'],_0x58df61=_0x40b7b0['id'],_0x57b167=_0x40b7b0[_0x57241a(0x43f)],_0x459eca=_0x40b7b0[_0x57241a(0x5d6)],_0x53ec05=_0x3d42c6(_0x40b7b0,[_0x57241a(0x2e7),'id',_0x57241a(0x43f),_0x57241a(0x5d6)]),_0x3e4c79=_0x57241a(0x4b2)[_0x57241a(0x392)](_0x58df61,'\x20')[_0x57241a(0x392)](_0x57b167||'')[_0x57241a(0x1d2)](),_0x41d73c=_0x494c84[_0x57241a(0x289)]('_'[_0x57241a(0x392)](_0x319133()));return _0x259c4c(_0x895ca3,''[_0x57241a(0x392)](_0x58df61),{'defIds':_0x895ca3[_0x57241a(0x64f)],'idSuffix':_0x41d73c[_0x57241a(0x2d3)]},_0xb1695c({'ref':_0x3e760c,'className':_0x3e4c79},_0x53ec05),_0x459eca);});function _0x259c4c(_0x47cb42,_0x51bcd0,_0x9c2274,_0xe7c727,_0x303f00){const _0x89c8cd=_0x1bb47d;return _0x494c84[_0x89c8cd(0x29b)](_0x47cb42[_0x89c8cd(0x53a)],_0xb1695c(_0xb1695c({'key':_0x51bcd0},_0x34c5c1(_0x47cb42,_0x9c2274,_0x303f00)),_0xe7c727),(_0x495b6f(_0x47cb42,_0x9c2274)[_0x89c8cd(0x3f3)]||[])[_0x89c8cd(0x616)](function(_0x4ef5b7,_0x570c9d){const _0x39790d=_0x89c8cd;return _0x259c4c(_0x4ef5b7,''[_0x39790d(0x392)](_0x51bcd0,'-')[_0x39790d(0x392)](_0x47cb42[_0x39790d(0x53a)],'-')[_0x39790d(0x392)](_0x570c9d),_0x9c2274,void 0x0,_0x303f00);}));}function _0x34c5c1(_0x30424f,_0x310996,_0x12d13a){const _0x9f1bad=_0x1bb47d;var _0x1a15aa=_0xb1695c({},_0x30424f['attrs']);_0x12d13a!=null&&_0x12d13a[_0x9f1bad(0x599)]&&_0x1a15aa[_0x9f1bad(0x288)]===_0x9f1bad(0x599)&&(_0x1a15aa[_0x9f1bad(0x288)]=_0x12d13a['colorChannel1']);var _0x157df9=_0x310996[_0x9f1bad(0x64f)];return!_0x157df9||_0x157df9[_0x9f1bad(0x458)]===0x0||(_0x30424f[_0x9f1bad(0x53a)]==='use'&&_0x1a15aa[_0x9f1bad(0x48d)]&&(_0x1a15aa[_0x9f1bad(0x48d)]=_0x1a15aa['xlink:href']+_0x310996['idSuffix']),Object['entries'](_0x1a15aa)[_0x9f1bad(0x4bb)](function(_0x489112){const _0x585c1e=_0x9f1bad;var _0x368664=_0x489112[0x0],_0x130a03=_0x489112[0x1];typeof _0x130a03==_0x585c1e(0x5e2)&&(_0x1a15aa[_0x368664]=_0x130a03[_0x585c1e(0x4f1)](/url\(#(.*)\)/,_0x585c1e(0x2bc)[_0x585c1e(0x392)](_0x310996['idSuffix'],')')));})),_0x1a15aa;}function _0x495b6f(_0x32e2e4,_0x22a757){const _0x179f40=_0x1bb47d;var _0x328291,_0xd41daa=_0x22a757['defIds'];return!_0xd41daa||_0xd41daa['length']===0x0?_0x32e2e4:_0x32e2e4[_0x179f40(0x53a)]===_0x179f40(0x5e9)&&(!((_0x328291=_0x32e2e4[_0x179f40(0x3f3)])===null||_0x328291===void 0x0)&&_0x328291[_0x179f40(0x458)])?_0xb1695c(_0xb1695c({},_0x32e2e4),{'children':_0x32e2e4['children']['map'](function(_0x2d6cf5){const _0x613e50=_0x179f40;return typeof _0x2d6cf5['attrs']['id']==_0x613e50(0x5e2)&&_0xd41daa&&_0xd41daa['indexOf'](_0x2d6cf5[_0x613e50(0x58a)]['id'])>-0x1?_0xb1695c(_0xb1695c({},_0x2d6cf5),{'attrs':_0xb1695c(_0xb1695c({},_0x2d6cf5[_0x613e50(0x58a)]),{'id':_0x2d6cf5[_0x613e50(0x58a)]['id']+_0x22a757['idSuffix']})}):_0x2d6cf5;})}):_0x32e2e4;}function _0x319133(){const _0x46a15b=_0x1bb47d;return Math[_0x46a15b(0x1fc)]()[_0x46a15b(0x630)](0x24)[_0x46a15b(0x473)](0x2,0x8);}_0x23251f['displayName']='UniverIcon';var _0xf1132c={'tag':_0x1bb47d(0x672),'attrs':{'fill':_0x1bb47d(0x476),'viewBox':_0x1bb47d(0x3d3),'width':_0x1bb47d(0x4e3),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x1bb47d(0x221)},'children':[{'tag':_0x1bb47d(0x24b),'attrs':{'stroke':'currentColor','d':_0x1bb47d(0x338),'strokeLinecap':_0x1bb47d(0x35b),'strokeLinejoin':_0x1bb47d(0x35b),'strokeWidth':1.2}}]},{'tag':_0x1bb47d(0x5e9),'attrs':{},'children':[{'tag':_0x1bb47d(0x54b),'attrs':{'id':_0x1bb47d(0x26e)},'children':[{'tag':_0x1bb47d(0x24b),'attrs':{'fill':'#fff','d':_0x1bb47d(0x33f)}}]}]}],'defIds':[_0x1bb47d(0x26e)]},_0x43ba84=_0x494c84[_0x1bb47d(0x43d)](function(_0x184196,_0x4f9764){const _0x3c4a3b=_0x1bb47d;return _0x494c84[_0x3c4a3b(0x29b)](_0x23251f,Object[_0x3c4a3b(0x1f0)]({},_0x184196,{'id':_0x3c4a3b(0x42a),'ref':_0x4f9764,'icon':_0xf1132c}));});_0x43ba84[_0x1bb47d(0x580)]=_0x1bb47d(0x3a5);var _0x5e08e5={'tag':_0x1bb47d(0x672),'attrs':{'fill':'none','viewBox':_0x1bb47d(0x5f7),'width':_0x1bb47d(0x4e3),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x1bb47d(0x688)},'children':[{'tag':'path','attrs':{'stroke':_0x1bb47d(0x423),'d':_0x1bb47d(0x2e6),'strokeLinecap':_0x1bb47d(0x35b),'strokeLinejoin':_0x1bb47d(0x35b),'strokeWidth':1.2}}]},{'tag':_0x1bb47d(0x5e9),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1bb47d(0x27d)},'children':[{'tag':_0x1bb47d(0x24b),'attrs':{'fill':_0x1bb47d(0x4fe),'d':_0x1bb47d(0x33f),'transform':'translate(.97)'}}]}]}],'defIds':[_0x1bb47d(0x27d)]},_0x1df69c=_0x494c84[_0x1bb47d(0x43d)](function(_0x4e4064,_0x3ffdbf){const _0x28456e=_0x1bb47d;return _0x494c84[_0x28456e(0x29b)](_0x23251f,Object[_0x28456e(0x1f0)]({},_0x4e4064,{'id':_0x28456e(0x652),'ref':_0x3ffdbf,'icon':_0x5e08e5}));});_0x1df69c[_0x1bb47d(0x580)]=_0x1bb47d(0x4ac);function _0x33b600(_0x539ca8){const _0x70da26=_0x1bb47d;var _0x5699f5,_0x20b066,_0x5d1be7='';if(typeof _0x539ca8==_0x70da26(0x5e2)||typeof _0x539ca8==_0x70da26(0x47d))_0x5d1be7+=_0x539ca8;else{if(typeof _0x539ca8==_0x70da26(0x1dd)){if(Array[_0x70da26(0x36d)](_0x539ca8)){var _0x50ca28=_0x539ca8[_0x70da26(0x458)];for(_0x5699f5=0x0;_0x5699f5<_0x50ca28;_0x5699f5++)_0x539ca8[_0x5699f5]&&(_0x20b066=_0x33b600(_0x539ca8[_0x5699f5]))&&(_0x5d1be7&&(_0x5d1be7+='\x20'),_0x5d1be7+=_0x20b066);}else{for(_0x20b066 in _0x539ca8)_0x539ca8[_0x20b066]&&(_0x5d1be7&&(_0x5d1be7+='\x20'),_0x5d1be7+=_0x20b066);}}}return _0x5d1be7;}function _0x2a6384(){const _0x587799=_0x1bb47d;for(var _0x20f0d1,_0x163a20,_0x5938b9=0x0,_0x650559='',_0x469c82=arguments[_0x587799(0x458)];_0x5938b9<_0x469c82;_0x5938b9++)(_0x20f0d1=arguments[_0x5938b9])&&(_0x163a20=_0x33b600(_0x20f0d1))&&(_0x650559&&(_0x650559+='\x20'),_0x650559+=_0x163a20);return _0x650559;}const _0x5cfe61={'onlineStatusIcon':_0x1bb47d(0x5ba),'onlineStatusTitle':_0x1bb47d(0x1cd),'onlineStatus':_0x1bb47d(0x37a),'online':'univer-online','offline':_0x1bb47d(0x593)};function _0x58609d(_0x5d260d){const _0x301f8c=_0x1bb47d;switch(_0x5d260d){case _0x1e7227[_0x301f8c(0x4d2)]:return _0x301f8c(0x455);case _0x1e7227[_0x301f8c(0x287)]:return'collabStatus.conflict';case _0x1e7227[_0x301f8c(0x40f)]:return _0x301f8c(0x2b2);case _0x1e7227[_0x301f8c(0x5ec)]:return'collabStatus.notCollab';case _0x1e7227[_0x301f8c(0x693)]:case _0x1e7227[_0x301f8c(0x60e)]:return _0x301f8c(0x5be);case _0x1e7227[_0x301f8c(0x4c2)]:case _0x1e7227[_0x301f8c(0x237)]:return'collabStatus.synced';}}function _0x409442(_0x5008ba){const _0x7de1b5=_0x1bb47d,{status$:_0x3ce7e2}=_0x5008ba,_0x317140=_0x4c9f9a[_0x7de1b5(0x2db)](_0x3ce7e2,_0x1e7227[_0x7de1b5(0x5ec)]),_0x15fea0=_0x2a6157[_0x7de1b5(0x3db)](_0x2a6157[_0x7de1b5(0x308)]),_0x29e395=_0x2a6157['useDependency'](_0x439f5[_0x7de1b5(0x49e)]),_0xabf8fd=_0x317140!==_0x1e7227[_0x7de1b5(0x4d2)],_0x5ea2ad=_0x15fea0['t'](_0x58609d(_0x317140)),_0x47e279=_0x2a6384(_0x5cfe61[_0x7de1b5(0x302)],{[_0x5cfe61['online']]:_0xabf8fd,[_0x5cfe61[_0x7de1b5(0x241)]]:!_0xabf8fd}),_0x458b79=_0xabf8fd?_0x3bcd97[_0x7de1b5(0x23d)](_0x1df69c,{}):_0x3bcd97[_0x7de1b5(0x23d)](_0x43ba84,{}),_0x1a8bcf=_0x494c84[_0x7de1b5(0x43a)](()=>{const _0x3f85af=_0x7de1b5;_0xabf8fd||_0x29e395[_0x3f85af(0x2c7)]();},[_0xabf8fd,_0x29e395]);function _0x1d3b40(){const _0xfc4e81=_0x7de1b5;return _0x3bcd97[_0xfc4e81(0x481)]('div',{'className':_0x47e279,'onClick':_0x1a8bcf,'children':[_0x3bcd97[_0xfc4e81(0x23d)](_0xfc4e81(0x3b9),{'className':_0x5cfe61[_0xfc4e81(0x2d4)],'children':_0x458b79}),_0x3bcd97[_0xfc4e81(0x23d)](_0xfc4e81(0x3b9),{'className':_0x5cfe61[_0xfc4e81(0x442)],'children':_0x5ea2ad})]});}return _0xabf8fd?_0x1d3b40():_0x3bcd97['jsx'](_0x407879[_0x7de1b5(0x637)],{'title':_0x15fea0['t'](_0x7de1b5(0x5cf)),'children':_0x1d3b40()});}var _0x12ec21=Object[_0x1bb47d(0x368)],_0x36c938=Object[_0x1bb47d(0x276)],_0x19f2c5=(_0x3c6dcc,_0xe317b,_0x3e0814,_0x1f318c)=>{const _0x5d20ee=_0x1bb47d;for(var _0x444b31=_0x1f318c>0x1?void 0x0:_0x1f318c?_0x36c938(_0xe317b,_0x3e0814):_0xe317b,_0x3da4c9=_0x3c6dcc[_0x5d20ee(0x458)]-0x1,_0x546b91;_0x3da4c9>=0x0;_0x3da4c9--)(_0x546b91=_0x3c6dcc[_0x3da4c9])&&(_0x444b31=(_0x1f318c?_0x546b91(_0xe317b,_0x3e0814,_0x444b31):_0x546b91(_0x444b31))||_0x444b31);return _0x1f318c&&_0x444b31&&_0x12ec21(_0xe317b,_0x3e0814,_0x444b31),_0x444b31;},_0x133779=(_0xaed0ac,_0xe824f2)=>(_0x12ca49,_0x60db05)=>_0xe824f2(_0x12ca49,_0x60db05,_0xaed0ac);_0x439f5['DesktopCollaborationStatusDisplayController']=class extends _0x2a6157[_0x1bb47d(0x36e)]{constructor(_0x2326e0,_0xeefdf7,_0x21ee74,_0x899f06){const _0x38d48c=_0x1bb47d;super(),_0x538cec(this,_0x38d48c(0x3f6),new _0x59070a[(_0x38d48c(0x471))](_0x1e7227[_0x38d48c(0x5ec)])),(this['_univerInstanceService']=_0x2326e0,this[_0x38d48c(0x331)]=_0xeefdf7,this[_0x38d48c(0x4b6)]=_0x21ee74,this[_0x38d48c(0x260)]=_0x899f06,this['_initStatusComponent'](),this[_0x38d48c(0x41b)]());}[_0x1bb47d(0x41b)](){const _0x5bda26=_0x1bb47d;this[_0x5bda26(0x20d)](this[_0x5bda26(0x522)]['focused$'][_0x5bda26(0x4b3)](_0x59070a[_0x5bda26(0x1f8)](()=>{const _0x5202c8=_0x5bda26,_0x1094ee=this[_0x5202c8(0x522)][_0x5202c8(0x1ed)]();return _0x1094ee?this[_0x5202c8(0x260)][_0x5202c8(0x488)](_0x1094ee['getUnitId']()):_0x59070a['of'](null);}),_0x59070a['switchMap'](_0x3948d9=>_0x3948d9?_0x3948d9[_0x5bda26(0x66b)]:_0x59070a['of'](_0x1e7227[_0x5bda26(0x5ec)])))['subscribe'](_0x3836c6=>{this['_status$']['next'](_0x3836c6);}));}['_initStatusComponent'](){const _0x3e7b06=_0x1bb47d;this[_0x3e7b06(0x20d)](this['_uiPartsService']['registerComponent'](_0x4c9f9a['BuiltInUIPart'][_0x3e7b06(0x46c)],()=>_0x2a6157[_0x3e7b06(0x1f1)](_0x4767af({'status$':this[_0x3e7b06(0x3f6)][_0x3e7b06(0x55b)]()}),this[_0x3e7b06(0x4b6)])));}},_0x439f5[_0x1bb47d(0x43e)]=_0x19f2c5([_0x133779(0x0,_0x2a6157[_0x1bb47d(0x59c)]),_0x133779(0x1,_0x4c9f9a[_0x1bb47d(0x4af)]),_0x133779(0x2,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157[_0x1bb47d(0x5a7)])),_0x133779(0x3,_0x2a6157[_0x1bb47d(0x439)](_0x439f5[_0x1bb47d(0x314)]))],_0x439f5[_0x1bb47d(0x43e)]);function _0x4767af(_0x157009){const {status$:_0x303222}=_0x157009;return function(){return _0x3bcd97['jsx'](_0x409442,{'status$':_0x303222});};}const _0x179949=_0x2a6157[_0x1bb47d(0x3cc)](_0x1bb47d(0x690));var _0x36ceb4=Object['defineProperty'],_0xa83404=Object['getOwnPropertyDescriptor'],_0x930b95=(_0x2c6ea9,_0x1dcc33,_0x5bf1b6,_0x137d45)=>{for(var _0x171e5a=_0x137d45>0x1?void 0x0:_0x137d45?_0xa83404(_0x1dcc33,_0x5bf1b6):_0x1dcc33,_0x22befd=_0x2c6ea9['length']-0x1,_0x4d56bb;_0x22befd>=0x0;_0x22befd--)(_0x4d56bb=_0x2c6ea9[_0x22befd])&&(_0x171e5a=(_0x137d45?_0x4d56bb(_0x1dcc33,_0x5bf1b6,_0x171e5a):_0x4d56bb(_0x171e5a))||_0x171e5a);return _0x137d45&&_0x171e5a&&_0x36ceb4(_0x1dcc33,_0x5bf1b6,_0x171e5a),_0x171e5a;},_0x268f55=(_0xcc2738,_0x4f800c)=>(_0xad78fd,_0x2dfd21)=>_0x4f800c(_0xad78fd,_0x2dfd21,_0xcc2738);_0x439f5[_0x1bb47d(0x21d)]=class extends _0x2a6157['RxDisposable']{constructor(_0x4e9740,_0x761a3a,_0x205064,_0x44f538,_0xc03ffc,_0x2cbe65){const _0x195406=_0x1bb47d;super(),this[_0x195406(0x3b2)]=_0x4e9740,this[_0x195406(0x434)]=_0x761a3a,this['_commandService']=_0x205064,this['_localCacheService']=_0x44f538,this[_0x195406(0x35e)]=_0xc03ffc,_0x2cbe65?_0x2cbe65==null||_0x2cbe65[_0x195406(0x465)]()['then'](()=>this['_init']()):(this[_0x195406(0x434)][_0x195406(0x280)](_0x195406(0x353),_0x195406(0x2ac)),this['_init']());}async['_init'](){const _0x361ae7=_0x1bb47d,_0x47addd=this[_0x361ae7(0x3b2)][_0x361ae7(0x292)](_0x361ae7(0x696)),_0x2abc78=this['_urlService'][_0x361ae7(0x292)]('type');if(!_0x47addd||!_0x2abc78){this[_0x361ae7(0x434)][_0x361ae7(0x280)]('[DataLoaderController]',_0x361ae7(0x3a2));return;}switch(Number(_0x2abc78)){case _0x48d2c2[_0x361ae7(0x560)]:{const _0x5bc3e4=await this[_0x361ae7(0x550)](_0x47addd);this[_0x361ae7(0x3ed)](_0x5bc3e4);break;}case _0x48d2c2[_0x361ae7(0x328)]:{await this[_0x361ae7(0x2c1)](_0x47addd);break;}default:{this[_0x361ae7(0x434)][_0x361ae7(0x5c9)]('[DataLoaderController]',_0x361ae7(0x419));break;}}}async[_0x1bb47d(0x3ed)](_0x2d33a9){const _0x456c2d=_0x1bb47d;await this[_0x456c2d(0x5b2)](_0x2d33a9),_0x2d33a9[_0x456c2d(0x1e4)][_0x456c2d(0x4b3)](_0x59070a[_0x456c2d(0x422)](this[_0x456c2d(0x3a3)]))[_0x456c2d(0x551)](_0x4f2ad0=>{_0x4f2ad0&&this['_updateURLWithCurrentState'](_0x4f2ad0);}),this['_urlService'][_0x456c2d(0x60f)][_0x456c2d(0x4b3)](_0x59070a[_0x456c2d(0x422)](this[_0x456c2d(0x3a3)]))[_0x456c2d(0x551)](()=>this[_0x456c2d(0x5b2)](_0x2d33a9));}[_0x1bb47d(0x2fd)](_0x45101d,_0x35b566=!0x1){const _0x1a9747=_0x1bb47d,_0x169b27=this[_0x1a9747(0x3b2)]['getParam'](_0x1a9747(0x479));_0x45101d[_0x1a9747(0x4c8)]()!==_0x169b27&&this[_0x1a9747(0x3b2)][_0x1a9747(0x246)]('subunit',_0x45101d[_0x1a9747(0x4c8)](),_0x35b566);}async[_0x1bb47d(0x5b2)](_0x510d19){const _0x2916d2=_0x1bb47d;var _0x141783;const _0x4dc84f=this[_0x2916d2(0x3b2)][_0x2916d2(0x292)]('subunit');if(!_0x4dc84f||!_0x510d19[_0x2916d2(0x3c6)](_0x4dc84f)){const _0x41896=_0x510d19[_0x2916d2(0x521)]()[0x0],_0x201b0f=_0x510d19[_0x2916d2(0x3c6)](_0x41896);if(!_0x201b0f)return;this[_0x2916d2(0x2fd)](_0x201b0f,!0x0),await this[_0x2916d2(0x24c)][_0x2916d2(0x699)](_0xeac940['SetWorksheetActivateCommand']['id'],{'unitId':_0x510d19[_0x2916d2(0x679)](),'subUnitId':_0x41896});return;}((_0x141783=_0x510d19[_0x2916d2(0x2df)]())==null?void 0x0:_0x141783[_0x2916d2(0x4c8)]())!==_0x4dc84f&&await this[_0x2916d2(0x24c)][_0x2916d2(0x699)](_0xeac940[_0x2916d2(0x272)]['id'],{'unitId':_0x510d19['getUnitId'](),'subUnitId':_0x4dc84f});}async[_0x1bb47d(0x550)](_0xc57295){const _0x71e10c=_0x1bb47d;let _0x352303=0x0;const _0x4e3347=await this[_0x71e10c(0x486)][_0x71e10c(0x675)](_0xc57295);return _0x4e3347&&(_0x4e3347[_0x71e10c(0x5c5)]||_0x4e3347['mutations'][_0x71e10c(0x458)]!==0x0)&&(_0x352303=_0x4e3347[_0x71e10c(0x639)]),_0x352303===0x0&&this[_0x71e10c(0x434)][_0x71e10c(0x280)](_0x71e10c(0x353),_0x71e10c(0x3e7)),this[_0x71e10c(0x35e)][_0x71e10c(0x68a)](_0xc57295,_0x352303);}async[_0x1bb47d(0x2c1)](_0x5eb0c3){const _0x501851=_0x1bb47d;let _0x534388=0x0;const _0x4050bb=await this[_0x501851(0x486)][_0x501851(0x675)](_0x5eb0c3);return _0x4050bb&&(_0x4050bb[_0x501851(0x5c5)]||_0x4050bb['mutations'][_0x501851(0x458)]!==0x0)&&(_0x534388=_0x4050bb[_0x501851(0x639)]),_0x534388===0x0&&this[_0x501851(0x434)]['debug']('[DataLoaderController]',_0x501851(0x3e7)),this[_0x501851(0x35e)]['loadDoc'](_0x5eb0c3,_0x534388);}},_0x439f5[_0x1bb47d(0x21d)]=_0x930b95([_0x268f55(0x0,_0x179949),_0x268f55(0x1,_0x2a6157[_0x1bb47d(0x5b9)]),_0x268f55(0x2,_0x2a6157[_0x1bb47d(0x3fa)]),_0x268f55(0x3,_0x2a6157[_0x1bb47d(0x439)](_0x439f5['LocalCacheService'])),_0x268f55(0x4,_0x2a6157['Inject'](_0x63ab19[_0x1bb47d(0x577)])),_0x268f55(0x5,_0x2a6157[_0x1bb47d(0x1e1)](_0x11fe04['IRemoteInstanceService']))],_0x439f5[_0x1bb47d(0x21d)]);var _0x21f98e=Object[_0x1bb47d(0x368)],_0x8d9a64=Object['getOwnPropertyDescriptor'],_0x43bfb8=(_0x521b5e,_0x7d2190,_0x5ac526,_0x3a854f)=>{for(var _0x5c541b=_0x3a854f>0x1?void 0x0:_0x3a854f?_0x8d9a64(_0x7d2190,_0x5ac526):_0x7d2190,_0x24525d=_0x521b5e['length']-0x1,_0x1d157c;_0x24525d>=0x0;_0x24525d--)(_0x1d157c=_0x521b5e[_0x24525d])&&(_0x5c541b=(_0x3a854f?_0x1d157c(_0x7d2190,_0x5ac526,_0x5c541b):_0x1d157c(_0x5c541b))||_0x5c541b);return _0x3a854f&&_0x5c541b&&_0x21f98e(_0x7d2190,_0x5ac526,_0x5c541b),_0x5c541b;},_0x399ece=(_0x516d0e,_0x50840d)=>(_0x36c792,_0x517644)=>_0x50840d(_0x36c792,_0x517644,_0x516d0e);const _0x4b6c3a=_0x1bb47d(0x3ee),_0x315730=_0x1bb47d(0x405);let _0x481a76=class extends _0x2a6157[_0x1bb47d(0x36e)]{constructor(_0x32bcab,_0x1d041c){const _0x22ac2c=_0x1bb47d;super(),this[_0x22ac2c(0x522)]=_0x32bcab,this[_0x22ac2c(0x5a4)]=_0x1d041c,this['_init']();}['_init'](){const _0x2e2c17=_0x1bb47d;this[_0x2e2c17(0x20d)](this[_0x2e2c17(0x522)]['focused$'][_0x2e2c17(0x551)](()=>{const _0x52a304=_0x2e2c17;var _0x30f87b;const _0x2cd919=this['_univerInstanceService'][_0x52a304(0x1ed)]();let _0x37f4d1=(_0x30f87b=this[_0x52a304(0x5a4)][_0x52a304(0x495)](_0x4b6c3a))!=null?_0x30f87b:_0x315730;_0x2cd919 instanceof _0x2a6157[_0x52a304(0x662)]&&(_0x37f4d1=_0x2cd919[_0x52a304(0x2e3)]),document[_0x52a304(0x689)]=_0x37f4d1;}));}};_0x481a76=_0x43bfb8([_0x399ece(0x0,_0x2a6157[_0x1bb47d(0x59c)]),_0x399ece(0x1,_0x2a6157[_0x1bb47d(0x65a)])],_0x481a76);var _0x25075d=Object['defineProperty'],_0x5eaacd=Object[_0x1bb47d(0x276)],_0x449573=(_0x4bb41a,_0x43d672,_0x40fd4e,_0x298c38)=>{const _0x282d7b=_0x1bb47d;for(var _0x5ee663=_0x298c38>0x1?void 0x0:_0x298c38?_0x5eaacd(_0x43d672,_0x40fd4e):_0x43d672,_0x29b1ed=_0x4bb41a[_0x282d7b(0x458)]-0x1,_0x8221bd;_0x29b1ed>=0x0;_0x29b1ed--)(_0x8221bd=_0x4bb41a[_0x29b1ed])&&(_0x5ee663=(_0x298c38?_0x8221bd(_0x43d672,_0x40fd4e,_0x5ee663):_0x8221bd(_0x5ee663))||_0x5ee663);return _0x298c38&&_0x5ee663&&_0x25075d(_0x43d672,_0x40fd4e,_0x5ee663),_0x5ee663;},_0x2a4f2a=(_0x1184b7,_0x1da7af)=>(_0x11c8c4,_0xe16b31)=>_0x1da7af(_0x11c8c4,_0xe16b31,_0x1184b7);let _0x32d92e=class{constructor(_0x468f6b,_0x4af018,_0x57cd56){const _0x1090f8=_0x1bb47d;this[_0x1090f8(0x5a4)]=_0x468f6b,this[_0x1090f8(0x680)]=_0x4af018,this[_0x1090f8(0x424)]=_0x57cd56,this[_0x1090f8(0x2a2)]();}[_0x1bb47d(0x2a2)](){const _0x37e383=_0x1bb47d;this[_0x37e383(0x680)][_0x37e383(0x634)]({'priority':0x1,'interceptor':(_0x5900c7,_0x253a15)=>_0x253a15(_0x5900c7)[_0x37e383(0x4b3)](_0x59070a['concatMap'](async _0x227d0f=>{const _0x5da2b6=_0x37e383,_0x177dee=_0x227d0f;if(_0x177dee[_0x5da2b6(0x2dd)]===0x191&&window[_0x5da2b6(0x3d2)](this[_0x5da2b6(0x424)]['t'](_0x5da2b6(0x24a)))){const _0xf0fa15=window[_0x5da2b6(0x1f4)](window['location'][_0x5da2b6(0x530)]);window[_0x5da2b6(0x2c6)][_0x5da2b6(0x530)]=this[_0x5da2b6(0x2e5)]()+'?url='+_0xf0fa15;}return _0x177dee;}))});}[_0x1bb47d(0x2e5)](){const _0x5afa25=_0x1bb47d;var _0x224588,_0x2a447e;const _0x2e4171=this['_configService'][_0x5afa25(0x495)](_0x298781),_0xa368dc=this[_0x5afa25(0x5a4)][_0x5afa25(0x495)](_0x2dabdd);return(_0x2a447e=(_0x224588=_0xa368dc==null?void 0x0:_0xa368dc[_0x5afa25(0x4f8)])!=null?_0x224588:_0x2e4171)!=null?_0x2a447e:_0x31d168;}};_0x32d92e=_0x449573([_0x2a4f2a(0x0,_0x2a6157['IConfigService']),_0x2a4f2a(0x1,_0x2a6157['Inject'](_0x145c4f[_0x1bb47d(0x255)])),_0x2a4f2a(0x2,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157[_0x1bb47d(0x308)]))],_0x32d92e);var _0x53d7e1=Object[_0x1bb47d(0x368)],_0x24e4ec=Object[_0x1bb47d(0x276)],_0xb4fe57=(_0x10fba9,_0x5e1ab8,_0xeba7d8,_0x145976)=>{const _0x2e05f3=_0x1bb47d;for(var _0x5ade39=_0x145976>0x1?void 0x0:_0x145976?_0x24e4ec(_0x5e1ab8,_0xeba7d8):_0x5e1ab8,_0xb68d9b=_0x10fba9[_0x2e05f3(0x458)]-0x1,_0x1c4896;_0xb68d9b>=0x0;_0xb68d9b--)(_0x1c4896=_0x10fba9[_0xb68d9b])&&(_0x5ade39=(_0x145976?_0x1c4896(_0x5e1ab8,_0xeba7d8,_0x5ade39):_0x1c4896(_0x5ade39))||_0x5ade39);return _0x145976&&_0x5ade39&&_0x53d7e1(_0x5e1ab8,_0xeba7d8,_0x5ade39),_0x5ade39;},_0xda5a18=(_0x195246,_0x25ac19)=>(_0x8a4271,_0x167be4)=>_0x25ac19(_0x8a4271,_0x167be4,_0x195246);const _0x267bd9=_0x1bb47d(0x4b7),_0x2b8576=_0x1bb47d(0x4d9);_0x439f5[_0x1bb47d(0x49a)]=class extends _0x2a6157[_0x1bb47d(0x36e)]{constructor(_0x37d12e,_0x1c11c9){const _0x2b05ef=_0x1bb47d;super(),this[_0x2b05ef(0x4ea)]=_0x37d12e,this[_0x2b05ef(0x5a4)]=_0x1c11c9,this['_initMergeInterceptor']();}['_initMergeInterceptor'](){const _0x27893f=_0x1bb47d,_0x3e838a=this;this[_0x27893f(0x20d)](this[_0x27893f(0x4ea)][_0x27893f(0x634)]({'priority':0x3e7,'interceptor':_0x145c4f['MergeInterceptorFactory']({'isMatch'(_0x617b09){const _0x2201bf=_0x27893f;var _0x546db8;if(_0x617b09[_0x2201bf(0x651)]===_0x2201bf(0x510)&&((_0x546db8=_0x617b09[_0x2201bf(0x345)])!=null&&_0x546db8['body'])){const {objectID:_0x39b32d,objectType:_0x3720dc}=_0x617b09[_0x2201bf(0x345)][_0x2201bf(0x358)]||{};if(!_0x39b32d||_0x3720dc===void 0x0)return!0x1;const _0x5874bd=_0x3e838a['_getAPIPrefixPath']()+'/'+_0x3720dc+_0x2201bf(0x5d4)+_0x39b32d+'/allowed';if(_0x617b09[_0x2201bf(0x5bb)]===_0x5874bd)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x33b67e){const _0x17f4a6=_0x27893f;var _0x3d869f;return(_0x3d869f=_0x33b67e[_0x17f4a6(0x345)])==null?void 0x0:_0x3d869f[_0x17f4a6(0x358)];},'mergeParamsToRequest'(_0x5c6e31,_0x2ee53b){const _0x458cef=_0x27893f,_0x2a44ee=_0x3e838a[_0x458cef(0x42b)]()+_0x458cef(0x58d),_0xe74b83=_0x5c6e31[_0x458cef(0x1dc)]((_0x2a4a4e,_0x2c3683)=>{const _0x13d6da=_0x458cef,{unitID:_0x528756,objectID:_0xe0461b,objectType:_0xbc1141,actions:_0x49f7e7}=_0x2c3683;return _0x2a4a4e[_0x528756]||(_0x2a4a4e[_0x528756]={}),_0x2a4a4e[_0x528756][_0xe0461b]||(_0x2a4a4e[_0x528756][_0xe0461b]={'objectID':_0xe0461b,'objectType':_0xbc1141,'actions':[]}),_0x2a4a4e[_0x528756][_0xe0461b][_0x13d6da(0x5dd)][_0x13d6da(0x67d)](..._0x49f7e7),_0x2a4a4e;},{}),_0x270a9f=[];for(const _0x30d9ff in _0xe74b83)for(const _0x2d35f0 in _0xe74b83[_0x30d9ff]){const {actions:_0x1f4f7a,objectType:_0xf369dd}=_0xe74b83[_0x30d9ff][_0x2d35f0],_0x23307b=[...new Set(_0x1f4f7a)];_0x270a9f[_0x458cef(0x67d)]({'unitID':_0x30d9ff,'objectID':_0x2d35f0,'objectType':_0xf369dd,'actions':_0x23307b});}return new _0x145c4f['HTTPRequest'](_0x458cef(0x510),_0x2a44ee,{'headers':_0x2ee53b[_0x458cef(0x541)],'withCredentials':_0x2ee53b[_0x458cef(0x3c9)],'responseType':_0x2ee53b[_0x458cef(0x2f2)],'body':{'requests':_0x270a9f}});}},{'distributeResult'(_0x4398e6,_0x404aee){const _0x53d32a=_0x27893f,{objectActions:_0x5ed418}=_0x4398e6;return _0x404aee[_0x53d32a(0x616)](_0x32fd1a=>{const _0x4d1584=_0x53d32a,{unitID:_0x4b2ff5,objectID:_0x7a47ad,actions:_0x21adc2}=_0x32fd1a,_0x5693e7=_0x5ed418[_0x4d1584(0x533)](_0x3f77af=>_0x3f77af[_0x4d1584(0x482)]===_0x4b2ff5&&_0x3f77af[_0x4d1584(0x222)]===_0x7a47ad),_0x4d992e=_0x21adc2[_0x4d1584(0x616)](_0x57cf79=>_0x5693e7==null?void 0x0:_0x5693e7[_0x4d1584(0x5dd)][_0x4d1584(0x533)](_0x1b94e5=>_0x1b94e5[_0x4d1584(0x38d)]===_0x57cf79))['filter'](_0x3d76fa=>!!_0x3d76fa);return{'config':_0x32fd1a,'result':{'actions':_0x4d992e,'error':_0x4398e6['error']}};});}})}));}[_0x1bb47d(0x42b)](){const _0x58474f=_0x1bb47d;var _0x459bad,_0x4f1041;const _0x374902=this[_0x58474f(0x5a4)][_0x58474f(0x495)](_0x267bd9),_0x1a1527=this[_0x58474f(0x5a4)][_0x58474f(0x495)](_0x2dabdd);return(_0x4f1041=(_0x459bad=_0x1a1527==null?void 0x0:_0x1a1527['authzUrl'])!=null?_0x459bad:_0x374902)!=null?_0x4f1041:_0x2b8576;}async[_0x1bb47d(0x370)](_0x412cb0){const _0x32b3fd=_0x1bb47d,_0x5beeaa=this[_0x32b3fd(0x42b)]()+'/'+_0x412cb0['objectType']+_0x32b3fd(0x386);return(await this['_HTTPService'][_0x32b3fd(0x344)](_0x5beeaa,{'body':_0x412cb0}))[_0x32b3fd(0x358)][_0x32b3fd(0x222)]||'';}async['list'](_0x48519c){const _0x5b8aa3=_0x1bb47d,_0xac3893=this['_getAPIPrefixPath']()+_0x5b8aa3(0x372);return(await this[_0x5b8aa3(0x4ea)][_0x5b8aa3(0x344)](_0xac3893,{'body':_0x48519c}))[_0x5b8aa3(0x358)][_0x5b8aa3(0x67e)];}async[_0x1bb47d(0x65f)](_0x32e44f){const _0x2fde3c=_0x1bb47d,_0xd4fec6=this['_getAPIPrefixPath']()+'/'+_0x32e44f[_0x2fde3c(0x480)]+'/object/'+_0x32e44f[_0x2fde3c(0x222)];await this[_0x2fde3c(0x4ea)]['put'](_0xd4fec6,{'body':_0x32e44f});}async[_0x1bb47d(0x354)](_0x4c10a6){const _0xbd2f77=_0x1bb47d,_0x3582c9=this[_0xbd2f77(0x42b)]()+'/'+_0x4c10a6[_0xbd2f77(0x480)]+_0xbd2f77(0x5d4)+_0x4c10a6[_0xbd2f77(0x222)]+_0xbd2f77(0x31d);return(await this[_0xbd2f77(0x4ea)]['post'](_0x3582c9,{'body':_0x4c10a6}))[_0xbd2f77(0x358)][_0xbd2f77(0x5dd)];}async[_0x1bb47d(0x641)](_0x5e2649){const _0x814724=_0x1bb47d,_0x16a01c=this[_0x814724(0x42b)]()+_0x814724(0x58d);return(await this[_0x814724(0x4ea)][_0x814724(0x344)](_0x16a01c,{'body':{'requests':_0x5e2649}}))[_0x814724(0x358)][_0x814724(0x3ac)];}async['listRoles'](_0x35c567){const _0x3bcdc9=_0x1bb47d,_0x4034b3=this[_0x3bcdc9(0x42b)]()+'/'+_0x35c567[_0x3bcdc9(0x480)]+_0x3bcdc9(0x318),_0x4a9e18=await this['_HTTPService'][_0x3bcdc9(0x344)](_0x4034b3,{'body':_0x35c567});return{'roles':_0x4a9e18[_0x3bcdc9(0x358)][_0x3bcdc9(0x359)],'actions':_0x4a9e18['body'][_0x3bcdc9(0x5dd)]};}async['deleteCollaborator'](_0x332dfb){const _0x37c257=_0x1bb47d,_0xfd245=this[_0x37c257(0x42b)]()+_0x37c257(0x643);await this[_0x37c257(0x4ea)][_0x37c257(0x5c7)](_0xfd245,{'params':{'collaboratorID':_0x332dfb[_0x37c257(0x68d)],'objectID':_0x332dfb[_0x37c257(0x222)],'unitID':_0x332dfb[_0x37c257(0x482)]}});}async[_0x1bb47d(0x64c)](_0x17ed26){const _0x2807a8=_0x1bb47d,_0x136a0f=this[_0x2807a8(0x42b)]()+'/collaborator';await this[_0x2807a8(0x4ea)][_0x2807a8(0x5c4)](_0x136a0f,{'body':_0x17ed26});}async[_0x1bb47d(0x390)](_0x5b2dca){const _0x1c62e9=_0x1bb47d,_0x3b0b18=this['_getAPIPrefixPath']()+_0x1c62e9(0x643);await this['_HTTPService'][_0x1c62e9(0x344)](_0x3b0b18,{'body':_0x5b2dca});}async[_0x1bb47d(0x600)](_0x14e1b0){const _0x2ab729=_0x1bb47d,_0x326980=this[_0x2ab729(0x42b)]()+_0x2ab729(0x643);return(await this[_0x2ab729(0x4ea)][_0x2ab729(0x55e)](_0x326980,{'params':{'objectID':_0x14e1b0[_0x2ab729(0x222)],'unitID':_0x14e1b0[_0x2ab729(0x482)]}}))[_0x2ab729(0x358)][_0x2ab729(0x4e7)];}async[_0x1bb47d(0x57b)](_0x4df422){const _0x5664c1=_0x1bb47d,_0x46f3d8=this[_0x5664c1(0x42b)]()+_0x5664c1(0x643);await this[_0x5664c1(0x4ea)]['put'](_0x46f3d8,{'body':_0x4df422});}},_0x439f5[_0x1bb47d(0x49a)]=_0xb4fe57([_0xda5a18(0x0,_0x2a6157[_0x1bb47d(0x439)](_0x145c4f['HTTPService'])),_0xda5a18(0x1,_0x2a6157['Inject'](_0x2a6157[_0x1bb47d(0x65a)]))],_0x439f5[_0x1bb47d(0x49a)]);var _0x1f0260={'exports':{}};function _0x1f20f5(_0x46234d){const _0x48b9f0=_0x1bb47d;throw new Error(_0x48b9f0(0x440)+_0x46234d+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var _0x216d98={'exports':{}},_0x45c35f;function _0x541f6d(){const _0x77d479=_0x1bb47d;return _0x45c35f||(_0x45c35f=0x1,function(_0x18d6cf,_0x181077){(function(_0x53f2d7,_0x278eee){const _0x231adf=_0x27a5;_0x18d6cf[_0x231adf(0x1fd)]=_0x278eee();}(_0x11540d,function(){var _0x4cfce5=_0x4cfce5||function(_0x32631e,_0x1cd54e){const _0x52606a=_0x27a5;var _0x1f2a79;if(typeof window<'u'&&window[_0x52606a(0x28d)]&&(_0x1f2a79=window[_0x52606a(0x28d)]),typeof self<'u'&&self[_0x52606a(0x28d)]&&(_0x1f2a79=self['crypto']),typeof globalThis<'u'&&globalThis['crypto']&&(_0x1f2a79=globalThis[_0x52606a(0x28d)]),!_0x1f2a79&&typeof window<'u'&&window[_0x52606a(0x32f)]&&(_0x1f2a79=window[_0x52606a(0x32f)]),!_0x1f2a79&&typeof _0x11540d<'u'&&_0x11540d['crypto']&&(_0x1f2a79=_0x11540d[_0x52606a(0x28d)]),!_0x1f2a79&&typeof _0x1f20f5==_0x52606a(0x694))try{_0x1f2a79=require(_0x52606a(0x28d));}catch{}var _0x261c89=function(){const _0x35bc54=_0x52606a;if(_0x1f2a79){if(typeof _0x1f2a79['getRandomValues']==_0x35bc54(0x694))try{return _0x1f2a79[_0x35bc54(0x263)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1f2a79[_0x35bc54(0x642)]==_0x35bc54(0x694))try{return _0x1f2a79[_0x35bc54(0x642)](0x4)[_0x35bc54(0x42d)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x5bf0ec=Object[_0x52606a(0x370)]||(function(){function _0x1c20b1(){}return function(_0x292558){const _0x4fac67=_0x27a5;var _0x10ea0d;return _0x1c20b1['prototype']=_0x292558,_0x10ea0d=new _0x1c20b1(),_0x1c20b1[_0x4fac67(0x2ae)]=null,_0x10ea0d;};}()),_0x56bc70={},_0x1f0ae0=_0x56bc70[_0x52606a(0x3a8)]={},_0x8b64cc=_0x1f0ae0[_0x52606a(0x653)]=(function(){return{'extend':function(_0x435d86){const _0x34b84f=_0x27a5;var _0x3d903e=_0x5bf0ec(this);return _0x435d86&&_0x3d903e[_0x34b84f(0x35a)](_0x435d86),(!_0x3d903e[_0x34b84f(0x566)](_0x34b84f(0x2a2))||this[_0x34b84f(0x2a2)]===_0x3d903e[_0x34b84f(0x2a2)])&&(_0x3d903e[_0x34b84f(0x2a2)]=function(){const _0x5e10ef=_0x34b84f;_0x3d903e['$super'][_0x5e10ef(0x2a2)]['apply'](this,arguments);}),_0x3d903e['init'][_0x34b84f(0x2ae)]=_0x3d903e,_0x3d903e[_0x34b84f(0x649)]=this,_0x3d903e;},'create':function(){const _0xb237ed=_0x27a5;var _0x511243=this['extend']();return _0x511243['init'][_0xb237ed(0x40a)](_0x511243,arguments),_0x511243;},'init':function(){},'mixIn':function(_0x427a1d){const _0x55e00b=_0x27a5;for(var _0x141b0f in _0x427a1d)_0x427a1d[_0x55e00b(0x566)](_0x141b0f)&&(this[_0x141b0f]=_0x427a1d[_0x141b0f]);_0x427a1d[_0x55e00b(0x566)](_0x55e00b(0x630))&&(this[_0x55e00b(0x630)]=_0x427a1d[_0x55e00b(0x630)]);},'clone':function(){const _0x2618e7=_0x27a5;return this[_0x2618e7(0x2a2)][_0x2618e7(0x2ae)][_0x2618e7(0x5d6)](this);}};}()),_0x54e4b4=_0x1f0ae0['WordArray']=_0x8b64cc[_0x52606a(0x5d6)]({'init':function(_0x1288df,_0x42d1f2){const _0x4cce25=_0x52606a;_0x1288df=this['words']=_0x1288df||[],_0x42d1f2!=_0x1cd54e?this['sigBytes']=_0x42d1f2:this['sigBytes']=_0x1288df[_0x4cce25(0x458)]*0x4;},'toString':function(_0x18bd13){const _0x59a8e0=_0x52606a;return(_0x18bd13||_0x1d5b71)[_0x59a8e0(0x5f5)](this);},'concat':function(_0x59b2c7){const _0x3985c9=_0x52606a;var _0xb7636d=this[_0x3985c9(0x217)],_0x1f779d=_0x59b2c7[_0x3985c9(0x217)],_0x3e4465=this[_0x3985c9(0x5ae)],_0x365c91=_0x59b2c7['sigBytes'];if(this[_0x3985c9(0x337)](),_0x3e4465%0x4)for(var _0x2bbd19=0x0;_0x2bbd19<_0x365c91;_0x2bbd19++){var _0xf61ead=_0x1f779d[_0x2bbd19>>>0x2]>>>0x18-_0x2bbd19%0x4*0x8&0xff;_0xb7636d[_0x3e4465+_0x2bbd19>>>0x2]|=_0xf61ead<<0x18-(_0x3e4465+_0x2bbd19)%0x4*0x8;}else{for(var _0x3f7a5b=0x0;_0x3f7a5b<_0x365c91;_0x3f7a5b+=0x4)_0xb7636d[_0x3e4465+_0x3f7a5b>>>0x2]=_0x1f779d[_0x3f7a5b>>>0x2];}return this['sigBytes']+=_0x365c91,this;},'clamp':function(){const _0x5038e8=_0x52606a;var _0x55d414=this['words'],_0x527891=this[_0x5038e8(0x5ae)];_0x55d414[_0x527891>>>0x2]&=0xffffffff<<0x20-_0x527891%0x4*0x8,_0x55d414['length']=_0x32631e[_0x5038e8(0x213)](_0x527891/0x4);},'clone':function(){const _0x496556=_0x52606a;var _0xb62ff0=_0x8b64cc['clone'][_0x496556(0x4be)](this);return _0xb62ff0[_0x496556(0x217)]=this[_0x496556(0x217)]['slice'](0x0),_0xb62ff0;},'random':function(_0x213bcf){const _0x1e76c5=_0x52606a;for(var _0xa397aa=[],_0x57fed8=0x0;_0x57fed8<_0x213bcf;_0x57fed8+=0x4)_0xa397aa['push'](_0x261c89());return new _0x54e4b4[(_0x1e76c5(0x2a2))](_0xa397aa,_0x213bcf);}}),_0x57b991=_0x56bc70[_0x52606a(0x554)]={},_0x1d5b71=_0x57b991[_0x52606a(0x33e)]={'stringify':function(_0x51d8b8){const _0x3ab642=_0x52606a;for(var _0x24a61a=_0x51d8b8[_0x3ab642(0x217)],_0x3d6ef9=_0x51d8b8['sigBytes'],_0x3cb6b0=[],_0x5206e0=0x0;_0x5206e0<_0x3d6ef9;_0x5206e0++){var _0x1c4826=_0x24a61a[_0x5206e0>>>0x2]>>>0x18-_0x5206e0%0x4*0x8&0xff;_0x3cb6b0[_0x3ab642(0x67d)]((_0x1c4826>>>0x4)[_0x3ab642(0x630)](0x10)),_0x3cb6b0['push']((_0x1c4826&0xf)[_0x3ab642(0x630)](0x10));}return _0x3cb6b0[_0x3ab642(0x40c)]('');},'parse':function(_0x4a562d){const _0x54d7e6=_0x52606a;for(var _0x4e3895=_0x4a562d[_0x54d7e6(0x458)],_0x46cec3=[],_0x21723d=0x0;_0x21723d<_0x4e3895;_0x21723d+=0x2)_0x46cec3[_0x21723d>>>0x3]|=parseInt(_0x4a562d['substr'](_0x21723d,0x2),0x10)<<0x18-_0x21723d%0x8*0x4;return new _0x54e4b4[(_0x54d7e6(0x2a2))](_0x46cec3,_0x4e3895/0x2);}},_0x2c058d=_0x57b991[_0x52606a(0x3de)]={'stringify':function(_0x462912){const _0x390c06=_0x52606a;for(var _0x5d7814=_0x462912[_0x390c06(0x217)],_0xc05977=_0x462912[_0x390c06(0x5ae)],_0x2d3fda=[],_0x4773db=0x0;_0x4773db<_0xc05977;_0x4773db++){var _0x28d4b4=_0x5d7814[_0x4773db>>>0x2]>>>0x18-_0x4773db%0x4*0x8&0xff;_0x2d3fda[_0x390c06(0x67d)](String['fromCharCode'](_0x28d4b4));}return _0x2d3fda[_0x390c06(0x40c)]('');},'parse':function(_0x12a1c1){const _0x4faea4=_0x52606a;for(var _0x2eea25=_0x12a1c1['length'],_0x4a6fc5=[],_0x3689ec=0x0;_0x3689ec<_0x2eea25;_0x3689ec++)_0x4a6fc5[_0x3689ec>>>0x2]|=(_0x12a1c1[_0x4faea4(0x53b)](_0x3689ec)&0xff)<<0x18-_0x3689ec%0x4*0x8;return new _0x54e4b4[(_0x4faea4(0x2a2))](_0x4a6fc5,_0x2eea25);}},_0x15f99c=_0x57b991[_0x52606a(0x46f)]={'stringify':function(_0x4a5b34){const _0x55a7a6=_0x52606a;try{return decodeURIComponent(escape(_0x2c058d[_0x55a7a6(0x5f5)](_0x4a5b34)));}catch{throw new Error(_0x55a7a6(0x43c));}},'parse':function(_0x16ed61){return _0x2c058d['parse'](unescape(encodeURIComponent(_0x16ed61)));}},_0x4d9646=_0x1f0ae0[_0x52606a(0x621)]=_0x8b64cc[_0x52606a(0x5d6)]({'reset':function(){const _0x4036ec=_0x52606a;this[_0x4036ec(0x5e6)]=new _0x54e4b4[(_0x4036ec(0x2a2))](),this['_nDataBytes']=0x0;},'_append':function(_0x1d561c){const _0x24afe8=_0x52606a;typeof _0x1d561c==_0x24afe8(0x5e2)&&(_0x1d561c=_0x15f99c[_0x24afe8(0x376)](_0x1d561c)),this[_0x24afe8(0x5e6)][_0x24afe8(0x392)](_0x1d561c),this[_0x24afe8(0x59a)]+=_0x1d561c[_0x24afe8(0x5ae)];},'_process':function(_0x430f42){const _0xeb605e=_0x52606a;var _0x495c5c,_0x15594e=this[_0xeb605e(0x5e6)],_0x4febc0=_0x15594e[_0xeb605e(0x217)],_0x4216c3=_0x15594e['sigBytes'],_0x5d37f4=this[_0xeb605e(0x21f)],_0x2668c6=_0x5d37f4*0x4,_0x46d57e=_0x4216c3/_0x2668c6;_0x430f42?_0x46d57e=_0x32631e[_0xeb605e(0x213)](_0x46d57e):_0x46d57e=_0x32631e[_0xeb605e(0x56f)]((_0x46d57e|0x0)-this['_minBufferSize'],0x0);var _0x862f96=_0x46d57e*_0x5d37f4,_0xde98cb=_0x32631e[_0xeb605e(0x609)](_0x862f96*0x4,_0x4216c3);if(_0x862f96){for(var _0x3ac565=0x0;_0x3ac565<_0x862f96;_0x3ac565+=_0x5d37f4)this[_0xeb605e(0x391)](_0x4febc0,_0x3ac565);_0x495c5c=_0x4febc0[_0xeb605e(0x3d5)](0x0,_0x862f96),_0x15594e[_0xeb605e(0x5ae)]-=_0xde98cb;}return new _0x54e4b4['init'](_0x495c5c,_0xde98cb);},'clone':function(){const _0x2f144a=_0x52606a;var _0x355d17=_0x8b64cc[_0x2f144a(0x1ef)]['call'](this);return _0x355d17['_data']=this[_0x2f144a(0x5e6)]['clone'](),_0x355d17;},'_minBufferSize':0x0});_0x1f0ae0['Hasher']=_0x4d9646[_0x52606a(0x5d6)]({'cfg':_0x8b64cc['extend'](),'init':function(_0x2fe4ef){const _0x421024=_0x52606a;this[_0x421024(0x37b)]=this[_0x421024(0x37b)][_0x421024(0x5d6)](_0x2fe4ef),this[_0x421024(0x3dc)]();},'reset':function(){const _0x14970a=_0x52606a;_0x4d9646[_0x14970a(0x3dc)]['call'](this),this[_0x14970a(0x25c)]();},'update':function(_0x2759d8){const _0x64e127=_0x52606a;return this[_0x64e127(0x698)](_0x2759d8),this[_0x64e127(0x4cc)](),this;},'finalize':function(_0x4b7c8f){const _0x5c40b5=_0x52606a;_0x4b7c8f&&this['_append'](_0x4b7c8f);var _0x12f9d4=this[_0x5c40b5(0x452)]();return _0x12f9d4;},'blockSize':0x10,'_createHelper':function(_0x5cdd8b){return function(_0x1bfa7c,_0x4b928a){const _0x28d0e9=_0x27a5;return new _0x5cdd8b[(_0x28d0e9(0x2a2))](_0x4b928a)[_0x28d0e9(0x3eb)](_0x1bfa7c);};},'_createHmacHelper':function(_0x1aa001){return function(_0x474c18,_0x19e086){const _0x269ef8=_0x27a5;return new _0x918379[(_0x269ef8(0x546))]['init'](_0x1aa001,_0x19e086)[_0x269ef8(0x3eb)](_0x474c18);};}});var _0x918379=_0x56bc70[_0x52606a(0x591)]={};return _0x56bc70;}(Math);return _0x4cfce5;}));}(_0x216d98)),_0x216d98[_0x77d479(0x1fd)];}var _0xcaba58={'exports':{}},_0x517e06;function _0x10c3e1(){const _0x3da347=_0x1bb47d;return _0x517e06||(_0x517e06=0x1,function(_0x5dea58,_0x546182){(function(_0x1a5d1c,_0x135961){const _0x9765ae=_0x27a5;_0x5dea58[_0x9765ae(0x1fd)]=_0x135961(_0x541f6d());}(_0x11540d,function(_0x31bdc){const _0x4551e3=_0x27a5;return(function(){const _0x3f108b=_0x27a5;var _0x5cd9af=_0x31bdc,_0x296f97=_0x5cd9af[_0x3f108b(0x3a8)],_0x2c3f1d=_0x296f97[_0x3f108b(0x299)],_0x14244f=_0x5cd9af[_0x3f108b(0x554)];_0x14244f[_0x3f108b(0x39d)]={'stringify':function(_0x1efccc){const _0x485a1c=_0x3f108b;var _0x2a9a19=_0x1efccc[_0x485a1c(0x217)],_0x4144a7=_0x1efccc[_0x485a1c(0x5ae)],_0x2b74d1=this[_0x485a1c(0x5c6)];_0x1efccc[_0x485a1c(0x337)]();for(var _0x3fe776=[],_0x589611=0x0;_0x589611<_0x4144a7;_0x589611+=0x3)for(var _0x685469=_0x2a9a19[_0x589611>>>0x2]>>>0x18-_0x589611%0x4*0x8&0xff,_0x3754bf=_0x2a9a19[_0x589611+0x1>>>0x2]>>>0x18-(_0x589611+0x1)%0x4*0x8&0xff,_0x224a13=_0x2a9a19[_0x589611+0x2>>>0x2]>>>0x18-(_0x589611+0x2)%0x4*0x8&0xff,_0x4187c2=_0x685469<<0x10|_0x3754bf<<0x8|_0x224a13,_0x35cf11=0x0;_0x35cf11<0x4&&_0x589611+_0x35cf11*0.75<_0x4144a7;_0x35cf11++)_0x3fe776[_0x485a1c(0x67d)](_0x2b74d1[_0x485a1c(0x20b)](_0x4187c2>>>0x6*(0x3-_0x35cf11)&0x3f));var _0x38a12e=_0x2b74d1[_0x485a1c(0x20b)](0x40);if(_0x38a12e){for(;_0x3fe776['length']%0x4;)_0x3fe776[_0x485a1c(0x67d)](_0x38a12e);}return _0x3fe776[_0x485a1c(0x40c)]('');},'parse':function(_0x6a0d81){const _0x6f9a67=_0x3f108b;var _0xc6c614=_0x6a0d81['length'],_0x130c92=this[_0x6f9a67(0x5c6)],_0x537f5a=this[_0x6f9a67(0x3b6)];if(!_0x537f5a){_0x537f5a=this[_0x6f9a67(0x3b6)]=[];for(var _0x3d98f2=0x0;_0x3d98f2<_0x130c92[_0x6f9a67(0x458)];_0x3d98f2++)_0x537f5a[_0x130c92[_0x6f9a67(0x53b)](_0x3d98f2)]=_0x3d98f2;}var _0xd96dc1=_0x130c92[_0x6f9a67(0x20b)](0x40);if(_0xd96dc1){var _0x24770e=_0x6a0d81[_0x6f9a67(0x290)](_0xd96dc1);_0x24770e!==-0x1&&(_0xc6c614=_0x24770e);}return _0xa8ae64(_0x6a0d81,_0xc6c614,_0x537f5a);},'_map':_0x3f108b(0x39a)};function _0xa8ae64(_0x282858,_0x158045,_0x324e43){const _0x480779=_0x3f108b;for(var _0x429ab8=[],_0x11c3ee=0x0,_0x3143b7=0x0;_0x3143b7<_0x158045;_0x3143b7++)if(_0x3143b7%0x4){var _0x4b83a9=_0x324e43[_0x282858[_0x480779(0x53b)](_0x3143b7-0x1)]<<_0x3143b7%0x4*0x2,_0x367b2b=_0x324e43[_0x282858['charCodeAt'](_0x3143b7)]>>>0x6-_0x3143b7%0x4*0x2,_0x5b0274=_0x4b83a9|_0x367b2b;_0x429ab8[_0x11c3ee>>>0x2]|=_0x5b0274<<0x18-_0x11c3ee%0x4*0x8,_0x11c3ee++;}return _0x2c3f1d[_0x480779(0x370)](_0x429ab8,_0x11c3ee);}}()),_0x31bdc[_0x4551e3(0x554)][_0x4551e3(0x39d)];}));}(_0xcaba58)),_0xcaba58[_0x3da347(0x1fd)];}var _0x3632e6={'exports':{}},_0x24f097;function _0x34b306(){return _0x24f097||(_0x24f097=0x1,function(_0x3d6039,_0x499e25){(function(_0x5b39c9,_0x1b6c9f){const _0x70ef2e=_0x27a5;_0x3d6039[_0x70ef2e(0x1fd)]=_0x1b6c9f(_0x541f6d());}(_0x11540d,function(_0x13b428){const _0x7d5b29=_0x27a5;return function(_0x54c004){const _0x5ebfa5=_0x27a5;var _0x5adb0b=_0x13b428,_0x152983=_0x5adb0b[_0x5ebfa5(0x3a8)],_0x50e6a9=_0x152983[_0x5ebfa5(0x299)],_0x3889ad=_0x152983['Hasher'],_0x4d7500=_0x5adb0b[_0x5ebfa5(0x591)],_0x45620d=[];(function(){const _0x16a07e=_0x5ebfa5;for(var _0x52aa8b=0x0;_0x52aa8b<0x40;_0x52aa8b++)_0x45620d[_0x52aa8b]=_0x54c004[_0x16a07e(0x472)](_0x54c004[_0x16a07e(0x3d0)](_0x52aa8b+0x1))*0x100000000|0x0;}());var _0x4ff8c5=_0x4d7500[_0x5ebfa5(0x291)]=_0x3889ad['extend']({'_doReset':function(){this['_hash']=new _0x50e6a9['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x32521,_0x336d3d){const _0x259244=_0x5ebfa5;for(var _0x509b90=0x0;_0x509b90<0x10;_0x509b90++){var _0x308717=_0x336d3d+_0x509b90,_0x39064c=_0x32521[_0x308717];_0x32521[_0x308717]=(_0x39064c<<0x8|_0x39064c>>>0x18)&0xff00ff|(_0x39064c<<0x18|_0x39064c>>>0x8)&0xff00ff00;}var _0x18ca9e=this[_0x259244(0x1e3)][_0x259244(0x217)],_0x36beee=_0x32521[_0x336d3d+0x0],_0x33b513=_0x32521[_0x336d3d+0x1],_0xfd4091=_0x32521[_0x336d3d+0x2],_0x3bfc94=_0x32521[_0x336d3d+0x3],_0x5fd55d=_0x32521[_0x336d3d+0x4],_0x3070fe=_0x32521[_0x336d3d+0x5],_0x169619=_0x32521[_0x336d3d+0x6],_0x47d81f=_0x32521[_0x336d3d+0x7],_0x4023d3=_0x32521[_0x336d3d+0x8],_0x3a6516=_0x32521[_0x336d3d+0x9],_0x10a555=_0x32521[_0x336d3d+0xa],_0x15bf1e=_0x32521[_0x336d3d+0xb],_0x5ae462=_0x32521[_0x336d3d+0xc],_0x37a139=_0x32521[_0x336d3d+0xd],_0x521ed2=_0x32521[_0x336d3d+0xe],_0x271e5b=_0x32521[_0x336d3d+0xf],_0x55d534=_0x18ca9e[0x0],_0x3db404=_0x18ca9e[0x1],_0x16a2cc=_0x18ca9e[0x2],_0x5bcdb6=_0x18ca9e[0x3];_0x55d534=_0xfb020b(_0x55d534,_0x3db404,_0x16a2cc,_0x5bcdb6,_0x36beee,0x7,_0x45620d[0x0]),_0x5bcdb6=_0xfb020b(_0x5bcdb6,_0x55d534,_0x3db404,_0x16a2cc,_0x33b513,0xc,_0x45620d[0x1]),_0x16a2cc=_0xfb020b(_0x16a2cc,_0x5bcdb6,_0x55d534,_0x3db404,_0xfd4091,0x11,_0x45620d[0x2]),_0x3db404=_0xfb020b(_0x3db404,_0x16a2cc,_0x5bcdb6,_0x55d534,_0x3bfc94,0x16,_0x45620d[0x3]),_0x55d534=_0xfb020b(_0x55d534,_0x3db404,_0x16a2cc,_0x5bcdb6,_0x5fd55d,0x7,_0x45620d[0x4]),_0x5bcdb6=_0xfb020b(_0x5bcdb6,_0x55d534,_0x3db404,_0x16a2cc,_0x3070fe,0xc,_0x45620d[0x5]),_0x16a2cc=_0xfb020b(_0x16a2cc,_0x5bcdb6,_0x55d534,_0x3db404,_0x169619,0x11,_0x45620d[0x6]),_0x3db404=_0xfb020b(_0x3db404,_0x16a2cc,_0x5bcdb6,_0x55d534,_0x47d81f,0x16,_0x45620d[0x7]),_0x55d534=_0xfb020b(_0x55d534,_0x3db404,_0x16a2cc,_0x5bcdb6,_0x4023d3,0x7,_0x45620d[0x8]),_0x5bcdb6=_0xfb020b(_0x5bcdb6,_0x55d534,_0x3db404,_0x16a2cc,_0x3a6516,0xc,_0x45620d[0x9]),_0x16a2cc=_0xfb020b(_0x16a2cc,_0x5bcdb6,_0x55d534,_0x3db404,_0x10a555,0x11,_0x45620d[0xa]),_0x3db404=_0xfb020b(_0x3db404,_0x16a2cc,_0x5bcdb6,_0x55d534,_0x15bf1e,0x16,_0x45620d[0xb]),_0x55d534=_0xfb020b(_0x55d534,_0x3db404,_0x16a2cc,_0x5bcdb6,_0x5ae462,0x7,_0x45620d[0xc]),_0x5bcdb6=_0xfb020b(_0x5bcdb6,_0x55d534,_0x3db404,_0x16a2cc,_0x37a139,0xc,_0x45620d[0xd]),_0x16a2cc=_0xfb020b(_0x16a2cc,_0x5bcdb6,_0x55d534,_0x3db404,_0x521ed2,0x11,_0x45620d[0xe]),_0x3db404=_0xfb020b(_0x3db404,_0x16a2cc,_0x5bcdb6,_0x55d534,_0x271e5b,0x16,_0x45620d[0xf]),_0x55d534=_0x4f121a(_0x55d534,_0x3db404,_0x16a2cc,_0x5bcdb6,_0x33b513,0x5,_0x45620d[0x10]),_0x5bcdb6=_0x4f121a(_0x5bcdb6,_0x55d534,_0x3db404,_0x16a2cc,_0x169619,0x9,_0x45620d[0x11]),_0x16a2cc=_0x4f121a(_0x16a2cc,_0x5bcdb6,_0x55d534,_0x3db404,_0x15bf1e,0xe,_0x45620d[0x12]),_0x3db404=_0x4f121a(_0x3db404,_0x16a2cc,_0x5bcdb6,_0x55d534,_0x36beee,0x14,_0x45620d[0x13]),_0x55d534=_0x4f121a(_0x55d534,_0x3db404,_0x16a2cc,_0x5bcdb6,_0x3070fe,0x5,_0x45620d[0x14]),_0x5bcdb6=_0x4f121a(_0x5bcdb6,_0x55d534,_0x3db404,_0x16a2cc,_0x10a555,0x9,_0x45620d[0x15]),_0x16a2cc=_0x4f121a(_0x16a2cc,_0x5bcdb6,_0x55d534,_0x3db404,_0x271e5b,0xe,_0x45620d[0x16]),_0x3db404=_0x4f121a(_0x3db404,_0x16a2cc,_0x5bcdb6,_0x55d534,_0x5fd55d,0x14,_0x45620d[0x17]),_0x55d534=_0x4f121a(_0x55d534,_0x3db404,_0x16a2cc,_0x5bcdb6,_0x3a6516,0x5,_0x45620d[0x18]),_0x5bcdb6=_0x4f121a(_0x5bcdb6,_0x55d534,_0x3db404,_0x16a2cc,_0x521ed2,0x9,_0x45620d[0x19]),_0x16a2cc=_0x4f121a(_0x16a2cc,_0x5bcdb6,_0x55d534,_0x3db404,_0x3bfc94,0xe,_0x45620d[0x1a]),_0x3db404=_0x4f121a(_0x3db404,_0x16a2cc,_0x5bcdb6,_0x55d534,_0x4023d3,0x14,_0x45620d[0x1b]),_0x55d534=_0x4f121a(_0x55d534,_0x3db404,_0x16a2cc,_0x5bcdb6,_0x37a139,0x5,_0x45620d[0x1c]),_0x5bcdb6=_0x4f121a(_0x5bcdb6,_0x55d534,_0x3db404,_0x16a2cc,_0xfd4091,0x9,_0x45620d[0x1d]),_0x16a2cc=_0x4f121a(_0x16a2cc,_0x5bcdb6,_0x55d534,_0x3db404,_0x47d81f,0xe,_0x45620d[0x1e]),_0x3db404=_0x4f121a(_0x3db404,_0x16a2cc,_0x5bcdb6,_0x55d534,_0x5ae462,0x14,_0x45620d[0x1f]),_0x55d534=_0x433759(_0x55d534,_0x3db404,_0x16a2cc,_0x5bcdb6,_0x3070fe,0x4,_0x45620d[0x20]),_0x5bcdb6=_0x433759(_0x5bcdb6,_0x55d534,_0x3db404,_0x16a2cc,_0x4023d3,0xb,_0x45620d[0x21]),_0x16a2cc=_0x433759(_0x16a2cc,_0x5bcdb6,_0x55d534,_0x3db404,_0x15bf1e,0x10,_0x45620d[0x22]),_0x3db404=_0x433759(_0x3db404,_0x16a2cc,_0x5bcdb6,_0x55d534,_0x521ed2,0x17,_0x45620d[0x23]),_0x55d534=_0x433759(_0x55d534,_0x3db404,_0x16a2cc,_0x5bcdb6,_0x33b513,0x4,_0x45620d[0x24]),_0x5bcdb6=_0x433759(_0x5bcdb6,_0x55d534,_0x3db404,_0x16a2cc,_0x5fd55d,0xb,_0x45620d[0x25]),_0x16a2cc=_0x433759(_0x16a2cc,_0x5bcdb6,_0x55d534,_0x3db404,_0x47d81f,0x10,_0x45620d[0x26]),_0x3db404=_0x433759(_0x3db404,_0x16a2cc,_0x5bcdb6,_0x55d534,_0x10a555,0x17,_0x45620d[0x27]),_0x55d534=_0x433759(_0x55d534,_0x3db404,_0x16a2cc,_0x5bcdb6,_0x37a139,0x4,_0x45620d[0x28]),_0x5bcdb6=_0x433759(_0x5bcdb6,_0x55d534,_0x3db404,_0x16a2cc,_0x36beee,0xb,_0x45620d[0x29]),_0x16a2cc=_0x433759(_0x16a2cc,_0x5bcdb6,_0x55d534,_0x3db404,_0x3bfc94,0x10,_0x45620d[0x2a]),_0x3db404=_0x433759(_0x3db404,_0x16a2cc,_0x5bcdb6,_0x55d534,_0x169619,0x17,_0x45620d[0x2b]),_0x55d534=_0x433759(_0x55d534,_0x3db404,_0x16a2cc,_0x5bcdb6,_0x3a6516,0x4,_0x45620d[0x2c]),_0x5bcdb6=_0x433759(_0x5bcdb6,_0x55d534,_0x3db404,_0x16a2cc,_0x5ae462,0xb,_0x45620d[0x2d]),_0x16a2cc=_0x433759(_0x16a2cc,_0x5bcdb6,_0x55d534,_0x3db404,_0x271e5b,0x10,_0x45620d[0x2e]),_0x3db404=_0x433759(_0x3db404,_0x16a2cc,_0x5bcdb6,_0x55d534,_0xfd4091,0x17,_0x45620d[0x2f]),_0x55d534=_0x53348a(_0x55d534,_0x3db404,_0x16a2cc,_0x5bcdb6,_0x36beee,0x6,_0x45620d[0x30]),_0x5bcdb6=_0x53348a(_0x5bcdb6,_0x55d534,_0x3db404,_0x16a2cc,_0x47d81f,0xa,_0x45620d[0x31]),_0x16a2cc=_0x53348a(_0x16a2cc,_0x5bcdb6,_0x55d534,_0x3db404,_0x521ed2,0xf,_0x45620d[0x32]),_0x3db404=_0x53348a(_0x3db404,_0x16a2cc,_0x5bcdb6,_0x55d534,_0x3070fe,0x15,_0x45620d[0x33]),_0x55d534=_0x53348a(_0x55d534,_0x3db404,_0x16a2cc,_0x5bcdb6,_0x5ae462,0x6,_0x45620d[0x34]),_0x5bcdb6=_0x53348a(_0x5bcdb6,_0x55d534,_0x3db404,_0x16a2cc,_0x3bfc94,0xa,_0x45620d[0x35]),_0x16a2cc=_0x53348a(_0x16a2cc,_0x5bcdb6,_0x55d534,_0x3db404,_0x10a555,0xf,_0x45620d[0x36]),_0x3db404=_0x53348a(_0x3db404,_0x16a2cc,_0x5bcdb6,_0x55d534,_0x33b513,0x15,_0x45620d[0x37]),_0x55d534=_0x53348a(_0x55d534,_0x3db404,_0x16a2cc,_0x5bcdb6,_0x4023d3,0x6,_0x45620d[0x38]),_0x5bcdb6=_0x53348a(_0x5bcdb6,_0x55d534,_0x3db404,_0x16a2cc,_0x271e5b,0xa,_0x45620d[0x39]),_0x16a2cc=_0x53348a(_0x16a2cc,_0x5bcdb6,_0x55d534,_0x3db404,_0x169619,0xf,_0x45620d[0x3a]),_0x3db404=_0x53348a(_0x3db404,_0x16a2cc,_0x5bcdb6,_0x55d534,_0x37a139,0x15,_0x45620d[0x3b]),_0x55d534=_0x53348a(_0x55d534,_0x3db404,_0x16a2cc,_0x5bcdb6,_0x5fd55d,0x6,_0x45620d[0x3c]),_0x5bcdb6=_0x53348a(_0x5bcdb6,_0x55d534,_0x3db404,_0x16a2cc,_0x15bf1e,0xa,_0x45620d[0x3d]),_0x16a2cc=_0x53348a(_0x16a2cc,_0x5bcdb6,_0x55d534,_0x3db404,_0xfd4091,0xf,_0x45620d[0x3e]),_0x3db404=_0x53348a(_0x3db404,_0x16a2cc,_0x5bcdb6,_0x55d534,_0x3a6516,0x15,_0x45620d[0x3f]),_0x18ca9e[0x0]=_0x18ca9e[0x0]+_0x55d534|0x0,_0x18ca9e[0x1]=_0x18ca9e[0x1]+_0x3db404|0x0,_0x18ca9e[0x2]=_0x18ca9e[0x2]+_0x16a2cc|0x0,_0x18ca9e[0x3]=_0x18ca9e[0x3]+_0x5bcdb6|0x0;},'_doFinalize':function(){const _0x20208e=_0x5ebfa5;var _0x310403=this[_0x20208e(0x5e6)],_0x2d4f8e=_0x310403[_0x20208e(0x217)],_0x43b3d2=this[_0x20208e(0x59a)]*0x8,_0xb5a501=_0x310403[_0x20208e(0x5ae)]*0x8;_0x2d4f8e[_0xb5a501>>>0x5]|=0x80<<0x18-_0xb5a501%0x20;var _0x399037=_0x54c004[_0x20208e(0x659)](_0x43b3d2/0x100000000),_0xf7d5cb=_0x43b3d2;_0x2d4f8e[(_0xb5a501+0x40>>>0x9<<0x4)+0xf]=(_0x399037<<0x8|_0x399037>>>0x18)&0xff00ff|(_0x399037<<0x18|_0x399037>>>0x8)&0xff00ff00,_0x2d4f8e[(_0xb5a501+0x40>>>0x9<<0x4)+0xe]=(_0xf7d5cb<<0x8|_0xf7d5cb>>>0x18)&0xff00ff|(_0xf7d5cb<<0x18|_0xf7d5cb>>>0x8)&0xff00ff00,_0x310403[_0x20208e(0x5ae)]=(_0x2d4f8e[_0x20208e(0x458)]+0x1)*0x4,this[_0x20208e(0x4cc)]();for(var _0x4abc56=this[_0x20208e(0x1e3)],_0x3e0515=_0x4abc56[_0x20208e(0x217)],_0x56630f=0x0;_0x56630f<0x4;_0x56630f++){var _0x100685=_0x3e0515[_0x56630f];_0x3e0515[_0x56630f]=(_0x100685<<0x8|_0x100685>>>0x18)&0xff00ff|(_0x100685<<0x18|_0x100685>>>0x8)&0xff00ff00;}return _0x4abc56;},'clone':function(){const _0x147415=_0x5ebfa5;var _0x4ebd3d=_0x3889ad['clone']['call'](this);return _0x4ebd3d['_hash']=this[_0x147415(0x1e3)]['clone'](),_0x4ebd3d;}});function _0xfb020b(_0xc2deec,_0x308e1c,_0x23da59,_0x20b691,_0xa842b8,_0x5e11b3,_0x2280be){var _0x4337de=_0xc2deec+(_0x308e1c&_0x23da59|~_0x308e1c&_0x20b691)+_0xa842b8+_0x2280be;return(_0x4337de<<_0x5e11b3|_0x4337de>>>0x20-_0x5e11b3)+_0x308e1c;}function _0x4f121a(_0x2dd5bf,_0x29cda4,_0x225482,_0x212338,_0x4403df,_0x441851,_0x5c6fe9){var _0xb957b3=_0x2dd5bf+(_0x29cda4&_0x212338|_0x225482&~_0x212338)+_0x4403df+_0x5c6fe9;return(_0xb957b3<<_0x441851|_0xb957b3>>>0x20-_0x441851)+_0x29cda4;}function _0x433759(_0xbcec62,_0x1de9a2,_0x4c3a01,_0x57bef5,_0x3f2ab8,_0x580591,_0x2dae2e){var _0x9e8d9d=_0xbcec62+(_0x1de9a2^_0x4c3a01^_0x57bef5)+_0x3f2ab8+_0x2dae2e;return(_0x9e8d9d<<_0x580591|_0x9e8d9d>>>0x20-_0x580591)+_0x1de9a2;}function _0x53348a(_0x3e3144,_0x126f89,_0x259ae8,_0x2f44f6,_0x4e18f5,_0x22e071,_0x3d676f){var _0xeccfe5=_0x3e3144+(_0x259ae8^(_0x126f89|~_0x2f44f6))+_0x4e18f5+_0x3d676f;return(_0xeccfe5<<_0x22e071|_0xeccfe5>>>0x20-_0x22e071)+_0x126f89;}_0x5adb0b['MD5']=_0x3889ad[_0x5ebfa5(0x466)](_0x4ff8c5),_0x5adb0b['HmacMD5']=_0x3889ad[_0x5ebfa5(0x2cd)](_0x4ff8c5);}(Math),_0x13b428[_0x7d5b29(0x291)];}));}(_0x3632e6)),_0x3632e6['exports'];}var _0x2f7d1b={'exports':{}},_0x18eed2={'exports':{}},_0x57a0f8;function _0x375a69(){const _0x3130f1=_0x1bb47d;return _0x57a0f8||(_0x57a0f8=0x1,function(_0x3e99c9,_0x4042c4){(function(_0x4faeba,_0x459637){_0x3e99c9['exports']=_0x459637(_0x541f6d());}(_0x11540d,function(_0x22ef72){const _0x19d4f5=_0x27a5;return(function(){const _0x33f559=_0x27a5;var _0x28dc9d=_0x22ef72,_0x5a8fec=_0x28dc9d['lib'],_0x57c104=_0x5a8fec[_0x33f559(0x299)],_0x276fa3=_0x5a8fec[_0x33f559(0x668)],_0x3dfaaf=_0x28dc9d[_0x33f559(0x591)],_0x222e70=[],_0x2d5c9d=_0x3dfaaf[_0x33f559(0x35c)]=_0x276fa3[_0x33f559(0x5d6)]({'_doReset':function(){this['_hash']=new _0x57c104['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x23866c,_0x27e363){const _0x12a2dd=_0x33f559;for(var _0x37b24a=this[_0x12a2dd(0x1e3)][_0x12a2dd(0x217)],_0x516f79=_0x37b24a[0x0],_0x519965=_0x37b24a[0x1],_0x21fc8b=_0x37b24a[0x2],_0x4f3980=_0x37b24a[0x3],_0x3691b6=_0x37b24a[0x4],_0x5769cf=0x0;_0x5769cf<0x50;_0x5769cf++){if(_0x5769cf<0x10)_0x222e70[_0x5769cf]=_0x23866c[_0x27e363+_0x5769cf]|0x0;else{var _0x18c8a5=_0x222e70[_0x5769cf-0x3]^_0x222e70[_0x5769cf-0x8]^_0x222e70[_0x5769cf-0xe]^_0x222e70[_0x5769cf-0x10];_0x222e70[_0x5769cf]=_0x18c8a5<<0x1|_0x18c8a5>>>0x1f;}var _0x5aaff6=(_0x516f79<<0x5|_0x516f79>>>0x1b)+_0x3691b6+_0x222e70[_0x5769cf];_0x5769cf<0x14?_0x5aaff6+=(_0x519965&_0x21fc8b|~_0x519965&_0x4f3980)+0x5a827999:_0x5769cf<0x28?_0x5aaff6+=(_0x519965^_0x21fc8b^_0x4f3980)+0x6ed9eba1:_0x5769cf<0x3c?_0x5aaff6+=(_0x519965&_0x21fc8b|_0x519965&_0x4f3980|_0x21fc8b&_0x4f3980)-0x70e44324:_0x5aaff6+=(_0x519965^_0x21fc8b^_0x4f3980)-0x359d3e2a,_0x3691b6=_0x4f3980,_0x4f3980=_0x21fc8b,_0x21fc8b=_0x519965<<0x1e|_0x519965>>>0x2,_0x519965=_0x516f79,_0x516f79=_0x5aaff6;}_0x37b24a[0x0]=_0x37b24a[0x0]+_0x516f79|0x0,_0x37b24a[0x1]=_0x37b24a[0x1]+_0x519965|0x0,_0x37b24a[0x2]=_0x37b24a[0x2]+_0x21fc8b|0x0,_0x37b24a[0x3]=_0x37b24a[0x3]+_0x4f3980|0x0,_0x37b24a[0x4]=_0x37b24a[0x4]+_0x3691b6|0x0;},'_doFinalize':function(){const _0x5c2e76=_0x33f559;var _0x3ddf4d=this['_data'],_0x459c06=_0x3ddf4d[_0x5c2e76(0x217)],_0x442d24=this[_0x5c2e76(0x59a)]*0x8,_0x39e376=_0x3ddf4d[_0x5c2e76(0x5ae)]*0x8;return _0x459c06[_0x39e376>>>0x5]|=0x80<<0x18-_0x39e376%0x20,_0x459c06[(_0x39e376+0x40>>>0x9<<0x4)+0xe]=Math[_0x5c2e76(0x659)](_0x442d24/0x100000000),_0x459c06[(_0x39e376+0x40>>>0x9<<0x4)+0xf]=_0x442d24,_0x3ddf4d[_0x5c2e76(0x5ae)]=_0x459c06[_0x5c2e76(0x458)]*0x4,this[_0x5c2e76(0x4cc)](),this[_0x5c2e76(0x1e3)];},'clone':function(){const _0x11b2af=_0x33f559;var _0x39843d=_0x276fa3[_0x11b2af(0x1ef)][_0x11b2af(0x4be)](this);return _0x39843d[_0x11b2af(0x1e3)]=this[_0x11b2af(0x1e3)][_0x11b2af(0x1ef)](),_0x39843d;}});_0x28dc9d[_0x33f559(0x35c)]=_0x276fa3[_0x33f559(0x466)](_0x2d5c9d),_0x28dc9d[_0x33f559(0x3c8)]=_0x276fa3[_0x33f559(0x2cd)](_0x2d5c9d);}()),_0x22ef72[_0x19d4f5(0x35c)];}));}(_0x18eed2)),_0x18eed2[_0x3130f1(0x1fd)];}var _0x4c76e1={'exports':{}},_0x48addc;function _0x208ed6(){return _0x48addc||(_0x48addc=0x1,function(_0x5ae812,_0x554d6a){(function(_0x118cc6,_0x5d97d2){const _0x3d27de=_0x27a5;_0x5ae812[_0x3d27de(0x1fd)]=_0x5d97d2(_0x541f6d());}(_0x11540d,function(_0x52c794){(function(){const _0x251490=_0x27a5;var _0x5caea6=_0x52c794,_0x157a22=_0x5caea6['lib'],_0x266159=_0x157a22[_0x251490(0x653)],_0x4c6491=_0x5caea6[_0x251490(0x554)],_0x385a39=_0x4c6491[_0x251490(0x46f)],_0x518ab1=_0x5caea6[_0x251490(0x591)];_0x518ab1[_0x251490(0x546)]=_0x266159[_0x251490(0x5d6)]({'init':function(_0xbcff88,_0x3e2e23){const _0x4ff7e7=_0x251490;_0xbcff88=this['_hasher']=new _0xbcff88['init'](),typeof _0x3e2e23==_0x4ff7e7(0x5e2)&&(_0x3e2e23=_0x385a39[_0x4ff7e7(0x376)](_0x3e2e23));var _0x53cafb=_0xbcff88[_0x4ff7e7(0x21f)],_0x4ba603=_0x53cafb*0x4;_0x3e2e23[_0x4ff7e7(0x5ae)]>_0x4ba603&&(_0x3e2e23=_0xbcff88['finalize'](_0x3e2e23)),_0x3e2e23[_0x4ff7e7(0x337)]();for(var _0x154fa6=this[_0x4ff7e7(0x420)]=_0x3e2e23[_0x4ff7e7(0x1ef)](),_0x2c2b8a=this['_iKey']=_0x3e2e23[_0x4ff7e7(0x1ef)](),_0x3bede9=_0x154fa6[_0x4ff7e7(0x217)],_0x4c997d=_0x2c2b8a['words'],_0x38dc37=0x0;_0x38dc37<_0x53cafb;_0x38dc37++)_0x3bede9[_0x38dc37]^=0x5c5c5c5c,_0x4c997d[_0x38dc37]^=0x36363636;_0x154fa6[_0x4ff7e7(0x5ae)]=_0x2c2b8a['sigBytes']=_0x4ba603,this[_0x4ff7e7(0x3dc)]();},'reset':function(){const _0x1ca26c=_0x251490;var _0x42ce0b=this[_0x1ca26c(0x5db)];_0x42ce0b[_0x1ca26c(0x3dc)](),_0x42ce0b[_0x1ca26c(0x65f)](this[_0x1ca26c(0x2b5)]);},'update':function(_0x31a063){const _0x33720a=_0x251490;return this[_0x33720a(0x5db)][_0x33720a(0x65f)](_0x31a063),this;},'finalize':function(_0x102ad8){const _0x552a03=_0x251490;var _0x275450=this['_hasher'],_0x3d573f=_0x275450[_0x552a03(0x3eb)](_0x102ad8);_0x275450[_0x552a03(0x3dc)]();var _0x55445a=_0x275450[_0x552a03(0x3eb)](this[_0x552a03(0x420)][_0x552a03(0x1ef)]()[_0x552a03(0x392)](_0x3d573f));return _0x55445a;}});}());}));}(_0x4c76e1)),_0x4c76e1['exports'];}var _0x2972f3;function _0x2122df(){return _0x2972f3||(_0x2972f3=0x1,function(_0x422347,_0xe8fdf2){(function(_0x50b3fd,_0x23f441,_0x17616b){const _0x44d097=_0x27a5;_0x422347[_0x44d097(0x1fd)]=_0x23f441(_0x541f6d(),_0x375a69(),_0x208ed6());}(_0x11540d,function(_0x925b9f){const _0x391074=_0x27a5;return(function(){const _0x45a2b5=_0x27a5;var _0x567406=_0x925b9f,_0x3557e6=_0x567406[_0x45a2b5(0x3a8)],_0x450b1e=_0x3557e6[_0x45a2b5(0x653)],_0x49af8e=_0x3557e6['WordArray'],_0x425679=_0x567406['algo'],_0x4ef5bd=_0x425679[_0x45a2b5(0x291)],_0x1adc74=_0x425679['EvpKDF']=_0x450b1e[_0x45a2b5(0x5d6)]({'cfg':_0x450b1e[_0x45a2b5(0x5d6)]({'keySize':0x80/0x20,'hasher':_0x4ef5bd,'iterations':0x1}),'init':function(_0x39fc23){const _0x332871=_0x45a2b5;this['cfg']=this[_0x332871(0x37b)][_0x332871(0x5d6)](_0x39fc23);},'compute':function(_0x3ce02b,_0x26620c){const _0x24e51e=_0x45a2b5;for(var _0x2ae1b5,_0x11c4b0=this[_0x24e51e(0x37b)],_0x5f5d7b=_0x11c4b0[_0x24e51e(0x2a0)][_0x24e51e(0x370)](),_0x17c666=_0x49af8e[_0x24e51e(0x370)](),_0x6afbfa=_0x17c666[_0x24e51e(0x217)],_0x53c361=_0x11c4b0['keySize'],_0x56945d=_0x11c4b0[_0x24e51e(0x1db)];_0x6afbfa[_0x24e51e(0x458)]<_0x53c361;){_0x2ae1b5&&_0x5f5d7b[_0x24e51e(0x65f)](_0x2ae1b5),_0x2ae1b5=_0x5f5d7b['update'](_0x3ce02b)[_0x24e51e(0x3eb)](_0x26620c),_0x5f5d7b['reset']();for(var _0x1f4ba7=0x1;_0x1f4ba7<_0x56945d;_0x1f4ba7++)_0x2ae1b5=_0x5f5d7b[_0x24e51e(0x3eb)](_0x2ae1b5),_0x5f5d7b[_0x24e51e(0x3dc)]();_0x17c666[_0x24e51e(0x392)](_0x2ae1b5);}return _0x17c666[_0x24e51e(0x5ae)]=_0x53c361*0x4,_0x17c666;}});_0x567406[_0x45a2b5(0x262)]=function(_0xad5554,_0x359a2a,_0x4b0a0a){const _0x58ca64=_0x45a2b5;return _0x1adc74[_0x58ca64(0x370)](_0x4b0a0a)[_0x58ca64(0x29a)](_0xad5554,_0x359a2a);};}()),_0x925b9f[_0x391074(0x262)];}));}(_0x2f7d1b)),_0x2f7d1b['exports'];}var _0x1968bb={'exports':{}},_0x2002a8;function _0x1b7204(){const _0xa77ecb=_0x1bb47d;return _0x2002a8||(_0x2002a8=0x1,function(_0x49b882,_0x3dfdde){(function(_0x5b15f6,_0x1a223d,_0x3ac71e){const _0x294bed=_0x27a5;_0x49b882[_0x294bed(0x1fd)]=_0x1a223d(_0x541f6d(),_0x2122df());}(_0x11540d,function(_0x5d139a){const _0x462f09=_0x27a5;_0x5d139a[_0x462f09(0x3a8)][_0x462f09(0x49b)]||function(_0xb6773f){const _0x25444a=_0x462f09;var _0x2cfe20=_0x5d139a,_0x3f71d8=_0x2cfe20[_0x25444a(0x3a8)],_0x39c1a1=_0x3f71d8[_0x25444a(0x653)],_0x1dcbbb=_0x3f71d8[_0x25444a(0x299)],_0x5ae7fe=_0x3f71d8[_0x25444a(0x621)],_0x2e94a5=_0x2cfe20[_0x25444a(0x554)];_0x2e94a5[_0x25444a(0x46f)];var _0x517508=_0x2e94a5[_0x25444a(0x39d)],_0x5eb524=_0x2cfe20[_0x25444a(0x591)],_0x30099f=_0x5eb524['EvpKDF'],_0x3b82a7=_0x3f71d8[_0x25444a(0x49b)]=_0x5ae7fe['extend']({'cfg':_0x39c1a1[_0x25444a(0x5d6)](),'createEncryptor':function(_0x17df07,_0x2d7441){const _0x2f6a63=_0x25444a;return this[_0x2f6a63(0x370)](this[_0x2f6a63(0x4f5)],_0x17df07,_0x2d7441);},'createDecryptor':function(_0x182e71,_0x1921e5){const _0xac17f=_0x25444a;return this[_0xac17f(0x370)](this[_0xac17f(0x407)],_0x182e71,_0x1921e5);},'init':function(_0xede856,_0x4b65c1,_0x385503){const _0x29ffa8=_0x25444a;this['cfg']=this[_0x29ffa8(0x37b)][_0x29ffa8(0x5d6)](_0x385503),this[_0x29ffa8(0x44a)]=_0xede856,this[_0x29ffa8(0x435)]=_0x4b65c1,this[_0x29ffa8(0x3dc)]();},'reset':function(){const _0x2f62d5=_0x25444a;_0x5ae7fe['reset']['call'](this),this[_0x2f62d5(0x25c)]();},'process':function(_0x4af6b4){const _0x2866b0=_0x25444a;return this[_0x2866b0(0x698)](_0x4af6b4),this['_process']();},'finalize':function(_0x4c335f){_0x4c335f&&this['_append'](_0x4c335f);var _0x431c29=this['_doFinalize']();return _0x431c29;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x58359f(_0x3e38d3){return typeof _0x3e38d3=='string'?_0x451cb4:_0x3fe0c8;}return function(_0x17afd5){return{'encrypt':function(_0x3923b3,_0x114f33,_0x47cab3){const _0x1d39e6=_0x27a5;return _0x58359f(_0x114f33)[_0x1d39e6(0x617)](_0x17afd5,_0x3923b3,_0x114f33,_0x47cab3);},'decrypt':function(_0x581059,_0x16a64a,_0x4c2731){const _0x560b3e=_0x27a5;return _0x58359f(_0x16a64a)[_0x560b3e(0x1d9)](_0x17afd5,_0x581059,_0x16a64a,_0x4c2731);}};};}())});_0x3f71d8[_0x25444a(0x64b)]=_0x3b82a7[_0x25444a(0x5d6)]({'_doFinalize':function(){const _0x30e506=_0x25444a;var _0x5b11f8=this[_0x30e506(0x4cc)](!0x0);return _0x5b11f8;},'blockSize':0x1});var _0x258d7a=_0x2cfe20[_0x25444a(0x266)]={},_0x57a8f6=_0x3f71d8[_0x25444a(0x2d1)]=_0x39c1a1[_0x25444a(0x5d6)]({'createEncryptor':function(_0x1b4bb8,_0x19fac4){return this['Encryptor']['create'](_0x1b4bb8,_0x19fac4);},'createDecryptor':function(_0xd6692d,_0x4f3c64){const _0x3e46dd=_0x25444a;return this[_0x3e46dd(0x31e)]['create'](_0xd6692d,_0x4f3c64);},'init':function(_0x3ff93b,_0x139f84){const _0x3f6e20=_0x25444a;this['_cipher']=_0x3ff93b,this[_0x3f6e20(0x348)]=_0x139f84;}}),_0x477b92=_0x258d7a[_0x25444a(0x50b)]=(function(){const _0x32282d=_0x25444a;var _0x3e8e29=_0x57a8f6[_0x32282d(0x5d6)]();_0x3e8e29[_0x32282d(0x383)]=_0x3e8e29[_0x32282d(0x5d6)]({'processBlock':function(_0x2af73b,_0x548e8b){const _0x4830ac=_0x32282d;var _0x5b9197=this[_0x4830ac(0x524)],_0x4f934e=_0x5b9197[_0x4830ac(0x21f)];_0x5c2751['call'](this,_0x2af73b,_0x548e8b,_0x4f934e),_0x5b9197['encryptBlock'](_0x2af73b,_0x548e8b),this[_0x4830ac(0x2ff)]=_0x2af73b['slice'](_0x548e8b,_0x548e8b+_0x4f934e);}}),_0x3e8e29[_0x32282d(0x31e)]=_0x3e8e29[_0x32282d(0x5d6)]({'processBlock':function(_0x465db7,_0x517352){const _0x594e04=_0x32282d;var _0xec8583=this['_cipher'],_0x5bc05d=_0xec8583[_0x594e04(0x21f)],_0xc95547=_0x465db7['slice'](_0x517352,_0x517352+_0x5bc05d);_0xec8583[_0x594e04(0x2b4)](_0x465db7,_0x517352),_0x5c2751[_0x594e04(0x4be)](this,_0x465db7,_0x517352,_0x5bc05d),this['_prevBlock']=_0xc95547;}});function _0x5c2751(_0x1f0df7,_0xfe4e6,_0x28b504){const _0x2e480f=_0x32282d;var _0x335799,_0x35eccb=this[_0x2e480f(0x348)];_0x35eccb?(_0x335799=_0x35eccb,this[_0x2e480f(0x348)]=_0xb6773f):_0x335799=this[_0x2e480f(0x2ff)];for(var _0x51de58=0x0;_0x51de58<_0x28b504;_0x51de58++)_0x1f0df7[_0xfe4e6+_0x51de58]^=_0x335799[_0x51de58];}return _0x3e8e29;}()),_0x110c02=_0x2cfe20[_0x25444a(0x2b6)]={},_0x532072=_0x110c02[_0x25444a(0x1fa)]={'pad':function(_0x2a3a21,_0x4f96b3){const _0x14b12a=_0x25444a;for(var _0x1c1a81=_0x4f96b3*0x4,_0x142ba0=_0x1c1a81-_0x2a3a21['sigBytes']%_0x1c1a81,_0x598922=_0x142ba0<<0x18|_0x142ba0<<0x10|_0x142ba0<<0x8|_0x142ba0,_0x2273f6=[],_0x36729d=0x0;_0x36729d<_0x142ba0;_0x36729d+=0x4)_0x2273f6[_0x14b12a(0x67d)](_0x598922);var _0x254fd7=_0x1dcbbb['create'](_0x2273f6,_0x142ba0);_0x2a3a21['concat'](_0x254fd7);},'unpad':function(_0x3fd7c5){const _0x46a48d=_0x25444a;var _0xe66f8e=_0x3fd7c5[_0x46a48d(0x217)][_0x3fd7c5[_0x46a48d(0x5ae)]-0x1>>>0x2]&0xff;_0x3fd7c5[_0x46a48d(0x5ae)]-=_0xe66f8e;}};_0x3f71d8[_0x25444a(0x4d5)]=_0x3b82a7[_0x25444a(0x5d6)]({'cfg':_0x3b82a7[_0x25444a(0x37b)][_0x25444a(0x5d6)]({'mode':_0x477b92,'padding':_0x532072}),'reset':function(){const _0x521ca5=_0x25444a;var _0x21b9aa;_0x3b82a7[_0x521ca5(0x3dc)]['call'](this);var _0x69cabf=this[_0x521ca5(0x37b)],_0x2533e0=_0x69cabf['iv'],_0xe81e4a=_0x69cabf[_0x521ca5(0x266)];this[_0x521ca5(0x44a)]==this[_0x521ca5(0x4f5)]?_0x21b9aa=_0xe81e4a['createEncryptor']:(_0x21b9aa=_0xe81e4a[_0x521ca5(0x2cb)],this['_minBufferSize']=0x1),this[_0x521ca5(0x25f)]&&this[_0x521ca5(0x25f)][_0x521ca5(0x445)]==_0x21b9aa?this['_mode']['init'](this,_0x2533e0&&_0x2533e0['words']):(this[_0x521ca5(0x25f)]=_0x21b9aa[_0x521ca5(0x4be)](_0xe81e4a,this,_0x2533e0&&_0x2533e0[_0x521ca5(0x217)]),this[_0x521ca5(0x25f)][_0x521ca5(0x445)]=_0x21b9aa);},'_doProcessBlock':function(_0x1fb0df,_0x2956f2){const _0x34e717=_0x25444a;this[_0x34e717(0x25f)][_0x34e717(0x4cb)](_0x1fb0df,_0x2956f2);},'_doFinalize':function(){const _0x43351e=_0x25444a;var _0x1f5921,_0x94d9db=this['cfg'][_0x43351e(0x38f)];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x94d9db[_0x43351e(0x2b6)](this[_0x43351e(0x5e6)],this['blockSize']),_0x1f5921=this[_0x43351e(0x4cc)](!0x0)):(_0x1f5921=this[_0x43351e(0x4cc)](!0x0),_0x94d9db['unpad'](_0x1f5921)),_0x1f5921;},'blockSize':0x80/0x20});var _0x3562c3=_0x3f71d8[_0x25444a(0x258)]=_0x39c1a1[_0x25444a(0x5d6)]({'init':function(_0x5aa9e3){const _0x550112=_0x25444a;this[_0x550112(0x35a)](_0x5aa9e3);},'toString':function(_0x5b2ce2){const _0x18b27a=_0x25444a;return(_0x5b2ce2||this[_0x18b27a(0x62b)])['stringify'](this);}}),_0x1543de=_0x2cfe20[_0x25444a(0x1df)]={},_0x29ea54=_0x1543de[_0x25444a(0x5d2)]={'stringify':function(_0x1557f4){const _0x35ab5b=_0x25444a;var _0x25efd1,_0x5784e3=_0x1557f4[_0x35ab5b(0x627)],_0x42a756=_0x1557f4[_0x35ab5b(0x31f)];return _0x42a756?_0x25efd1=_0x1dcbbb[_0x35ab5b(0x370)]([0x53616c74,0x65645f5f])[_0x35ab5b(0x392)](_0x42a756)[_0x35ab5b(0x392)](_0x5784e3):_0x25efd1=_0x5784e3,_0x25efd1['toString'](_0x517508);},'parse':function(_0x4e7a1d){const _0x3c6893=_0x25444a;var _0x4cca92,_0x318eea=_0x517508['parse'](_0x4e7a1d),_0x3fa4a8=_0x318eea[_0x3c6893(0x217)];return _0x3fa4a8[0x0]==0x53616c74&&_0x3fa4a8[0x1]==0x65645f5f&&(_0x4cca92=_0x1dcbbb[_0x3c6893(0x370)](_0x3fa4a8[_0x3c6893(0x1f5)](0x2,0x4)),_0x3fa4a8[_0x3c6893(0x3d5)](0x0,0x4),_0x318eea[_0x3c6893(0x5ae)]-=0x10),_0x3562c3[_0x3c6893(0x370)]({'ciphertext':_0x318eea,'salt':_0x4cca92});}},_0x3fe0c8=_0x3f71d8[_0x25444a(0x234)]=_0x39c1a1['extend']({'cfg':_0x39c1a1[_0x25444a(0x5d6)]({'format':_0x29ea54}),'encrypt':function(_0x102538,_0x39bffa,_0x1ce541,_0x3eead2){const _0x26b278=_0x25444a;_0x3eead2=this[_0x26b278(0x37b)][_0x26b278(0x5d6)](_0x3eead2);var _0x45e688=_0x102538[_0x26b278(0x404)](_0x1ce541,_0x3eead2),_0x2c4154=_0x45e688[_0x26b278(0x3eb)](_0x39bffa),_0x52e1b2=_0x45e688[_0x26b278(0x37b)];return _0x3562c3[_0x26b278(0x370)]({'ciphertext':_0x2c4154,'key':_0x1ce541,'iv':_0x52e1b2['iv'],'algorithm':_0x102538,'mode':_0x52e1b2[_0x26b278(0x266)],'padding':_0x52e1b2[_0x26b278(0x38f)],'blockSize':_0x102538['blockSize'],'formatter':_0x3eead2[_0x26b278(0x1df)]});},'decrypt':function(_0x4e9d9a,_0x590b2d,_0x280593,_0x349d28){const _0x2aa57b=_0x25444a;_0x349d28=this['cfg'][_0x2aa57b(0x5d6)](_0x349d28),_0x590b2d=this['_parse'](_0x590b2d,_0x349d28['format']);var _0x82f6ac=_0x4e9d9a[_0x2aa57b(0x2cb)](_0x280593,_0x349d28)[_0x2aa57b(0x3eb)](_0x590b2d[_0x2aa57b(0x627)]);return _0x82f6ac;},'_parse':function(_0x324bf0,_0x2d083c){const _0x284839=_0x25444a;return typeof _0x324bf0==_0x284839(0x5e2)?_0x2d083c['parse'](_0x324bf0,this):_0x324bf0;}}),_0x2230c0=_0x2cfe20[_0x25444a(0x47f)]={},_0x286081=_0x2230c0[_0x25444a(0x5d2)]={'execute':function(_0x464dec,_0x5d34b6,_0x370105,_0x5dfdbc,_0x1362db){const _0x351657=_0x25444a;if(_0x5dfdbc||(_0x5dfdbc=_0x1dcbbb[_0x351657(0x1fc)](0x40/0x8)),_0x1362db)var _0x2c8c7c=_0x30099f[_0x351657(0x370)]({'keySize':_0x5d34b6+_0x370105,'hasher':_0x1362db})['compute'](_0x464dec,_0x5dfdbc);else var _0x2c8c7c=_0x30099f[_0x351657(0x370)]({'keySize':_0x5d34b6+_0x370105})[_0x351657(0x29a)](_0x464dec,_0x5dfdbc);var _0x48acb9=_0x1dcbbb[_0x351657(0x370)](_0x2c8c7c[_0x351657(0x217)]['slice'](_0x5d34b6),_0x370105*0x4);return _0x2c8c7c[_0x351657(0x5ae)]=_0x5d34b6*0x4,_0x3562c3[_0x351657(0x370)]({'key':_0x2c8c7c,'iv':_0x48acb9,'salt':_0x5dfdbc});}},_0x451cb4=_0x3f71d8[_0x25444a(0x1eb)]=_0x3fe0c8[_0x25444a(0x5d6)]({'cfg':_0x3fe0c8['cfg']['extend']({'kdf':_0x286081}),'encrypt':function(_0x1d45a7,_0x5ebc6e,_0x1734f6,_0xc58773){const _0x427d4f=_0x25444a;_0xc58773=this[_0x427d4f(0x37b)][_0x427d4f(0x5d6)](_0xc58773);var _0xa7107f=_0xc58773[_0x427d4f(0x47f)]['execute'](_0x1734f6,_0x1d45a7[_0x427d4f(0x54f)],_0x1d45a7[_0x427d4f(0x37c)],_0xc58773[_0x427d4f(0x31f)],_0xc58773[_0x427d4f(0x2a0)]);_0xc58773['iv']=_0xa7107f['iv'];var _0x43d9a6=_0x3fe0c8[_0x427d4f(0x617)][_0x427d4f(0x4be)](this,_0x1d45a7,_0x5ebc6e,_0xa7107f[_0x427d4f(0x644)],_0xc58773);return _0x43d9a6['mixIn'](_0xa7107f),_0x43d9a6;},'decrypt':function(_0x1d7014,_0x37f21b,_0x2f46fd,_0x2dd7c5){const _0x449a96=_0x25444a;_0x2dd7c5=this['cfg'][_0x449a96(0x5d6)](_0x2dd7c5),_0x37f21b=this['_parse'](_0x37f21b,_0x2dd7c5[_0x449a96(0x1df)]);var _0x167768=_0x2dd7c5[_0x449a96(0x47f)][_0x449a96(0x323)](_0x2f46fd,_0x1d7014['keySize'],_0x1d7014[_0x449a96(0x37c)],_0x37f21b[_0x449a96(0x31f)],_0x2dd7c5['hasher']);_0x2dd7c5['iv']=_0x167768['iv'];var _0x1c5ace=_0x3fe0c8[_0x449a96(0x1d9)][_0x449a96(0x4be)](this,_0x1d7014,_0x37f21b,_0x167768[_0x449a96(0x644)],_0x2dd7c5);return _0x1c5ace;}});}();}));}(_0x1968bb)),_0x1968bb[_0xa77ecb(0x1fd)];}(function(_0x211829,_0x122f5e){(function(_0x5baad8,_0x459abb,_0x26e501){const _0x209739=_0x27a5;_0x211829[_0x209739(0x1fd)]=_0x459abb(_0x541f6d(),_0x10c3e1(),_0x34b306(),_0x2122df(),_0x1b7204());}(_0x11540d,function(_0x380400){const _0x2996a9=_0x27a5;return(function(){const _0x4cf1c6=_0x27a5;var _0x344a6d=_0x380400,_0x2ef770=_0x344a6d[_0x4cf1c6(0x3a8)],_0x1fa74a=_0x2ef770[_0x4cf1c6(0x4d5)],_0x257669=_0x344a6d[_0x4cf1c6(0x591)],_0x110a89=[],_0x4ec097=[],_0x38e6bd=[],_0x2d78e8=[],_0x507747=[],_0x210862=[],_0x345c9a=[],_0x120caf=[],_0x49af02=[],_0x1f3cb9=[];(function(){for(var _0x1466f8=[],_0x440cd9=0x0;_0x440cd9<0x100;_0x440cd9++)_0x440cd9<0x80?_0x1466f8[_0x440cd9]=_0x440cd9<<0x1:_0x1466f8[_0x440cd9]=_0x440cd9<<0x1^0x11b;for(var _0x229280=0x0,_0x18a0e9=0x0,_0x440cd9=0x0;_0x440cd9<0x100;_0x440cd9++){var _0x27f024=_0x18a0e9^_0x18a0e9<<0x1^_0x18a0e9<<0x2^_0x18a0e9<<0x3^_0x18a0e9<<0x4;_0x27f024=_0x27f024>>>0x8^_0x27f024&0xff^0x63,_0x110a89[_0x229280]=_0x27f024,_0x4ec097[_0x27f024]=_0x229280;var _0x512456=_0x1466f8[_0x229280],_0x577c05=_0x1466f8[_0x512456],_0x51a6f3=_0x1466f8[_0x577c05],_0x3f8454=_0x1466f8[_0x27f024]*0x101^_0x27f024*0x1010100;_0x38e6bd[_0x229280]=_0x3f8454<<0x18|_0x3f8454>>>0x8,_0x2d78e8[_0x229280]=_0x3f8454<<0x10|_0x3f8454>>>0x10,_0x507747[_0x229280]=_0x3f8454<<0x8|_0x3f8454>>>0x18,_0x210862[_0x229280]=_0x3f8454;var _0x3f8454=_0x51a6f3*0x1010101^_0x577c05*0x10001^_0x512456*0x101^_0x229280*0x1010100;_0x345c9a[_0x27f024]=_0x3f8454<<0x18|_0x3f8454>>>0x8,_0x120caf[_0x27f024]=_0x3f8454<<0x10|_0x3f8454>>>0x10,_0x49af02[_0x27f024]=_0x3f8454<<0x8|_0x3f8454>>>0x18,_0x1f3cb9[_0x27f024]=_0x3f8454,_0x229280?(_0x229280=_0x512456^_0x1466f8[_0x1466f8[_0x1466f8[_0x51a6f3^_0x512456]]],_0x18a0e9^=_0x1466f8[_0x1466f8[_0x18a0e9]]):_0x229280=_0x18a0e9=0x1;}}());var _0x1f3bf5=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5591ca=_0x257669[_0x4cf1c6(0x63d)]=_0x1fa74a[_0x4cf1c6(0x5d6)]({'_doReset':function(){const _0x482984=_0x4cf1c6;var _0x55c089;if(!(this[_0x482984(0x342)]&&this[_0x482984(0x2ee)]===this[_0x482984(0x435)])){for(var _0x49ceb3=this['_keyPriorReset']=this[_0x482984(0x435)],_0x13d114=_0x49ceb3['words'],_0x47446c=_0x49ceb3['sigBytes']/0x4,_0x3d2ff7=this[_0x482984(0x342)]=_0x47446c+0x6,_0x4dc78d=(_0x3d2ff7+0x1)*0x4,_0x160ef6=this[_0x482984(0x5b4)]=[],_0x2db79b=0x0;_0x2db79b<_0x4dc78d;_0x2db79b++)_0x2db79b<_0x47446c?_0x160ef6[_0x2db79b]=_0x13d114[_0x2db79b]:(_0x55c089=_0x160ef6[_0x2db79b-0x1],_0x2db79b%_0x47446c?_0x47446c>0x6&&_0x2db79b%_0x47446c==0x4&&(_0x55c089=_0x110a89[_0x55c089>>>0x18]<<0x18|_0x110a89[_0x55c089>>>0x10&0xff]<<0x10|_0x110a89[_0x55c089>>>0x8&0xff]<<0x8|_0x110a89[_0x55c089&0xff]):(_0x55c089=_0x55c089<<0x8|_0x55c089>>>0x18,_0x55c089=_0x110a89[_0x55c089>>>0x18]<<0x18|_0x110a89[_0x55c089>>>0x10&0xff]<<0x10|_0x110a89[_0x55c089>>>0x8&0xff]<<0x8|_0x110a89[_0x55c089&0xff],_0x55c089^=_0x1f3bf5[_0x2db79b/_0x47446c|0x0]<<0x18),_0x160ef6[_0x2db79b]=_0x160ef6[_0x2db79b-_0x47446c]^_0x55c089);for(var _0x2a1f27=this['_invKeySchedule']=[],_0x1efdcd=0x0;_0x1efdcd<_0x4dc78d;_0x1efdcd++){var _0x2db79b=_0x4dc78d-_0x1efdcd;if(_0x1efdcd%0x4)var _0x55c089=_0x160ef6[_0x2db79b];else var _0x55c089=_0x160ef6[_0x2db79b-0x4];_0x1efdcd<0x4||_0x2db79b<=0x4?_0x2a1f27[_0x1efdcd]=_0x55c089:_0x2a1f27[_0x1efdcd]=_0x345c9a[_0x110a89[_0x55c089>>>0x18]]^_0x120caf[_0x110a89[_0x55c089>>>0x10&0xff]]^_0x49af02[_0x110a89[_0x55c089>>>0x8&0xff]]^_0x1f3cb9[_0x110a89[_0x55c089&0xff]];}}},'encryptBlock':function(_0x8655d1,_0x161040){const _0x831f75=_0x4cf1c6;this[_0x831f75(0x3b8)](_0x8655d1,_0x161040,this[_0x831f75(0x5b4)],_0x38e6bd,_0x2d78e8,_0x507747,_0x210862,_0x110a89);},'decryptBlock':function(_0x175a63,_0x3df1dc){const _0x26b07d=_0x4cf1c6;var _0x1301ca=_0x175a63[_0x3df1dc+0x1];_0x175a63[_0x3df1dc+0x1]=_0x175a63[_0x3df1dc+0x3],_0x175a63[_0x3df1dc+0x3]=_0x1301ca,this[_0x26b07d(0x3b8)](_0x175a63,_0x3df1dc,this[_0x26b07d(0x33c)],_0x345c9a,_0x120caf,_0x49af02,_0x1f3cb9,_0x4ec097);var _0x1301ca=_0x175a63[_0x3df1dc+0x1];_0x175a63[_0x3df1dc+0x1]=_0x175a63[_0x3df1dc+0x3],_0x175a63[_0x3df1dc+0x3]=_0x1301ca;},'_doCryptBlock':function(_0x4aae0d,_0x4b8dac,_0x2bd507,_0x56ad52,_0x33e319,_0x4e6aeb,_0x272777,_0x15977b){const _0x1d2d04=_0x4cf1c6;for(var _0x49fb22=this[_0x1d2d04(0x342)],_0x46aa6a=_0x4aae0d[_0x4b8dac]^_0x2bd507[0x0],_0x157ab5=_0x4aae0d[_0x4b8dac+0x1]^_0x2bd507[0x1],_0x5eb97b=_0x4aae0d[_0x4b8dac+0x2]^_0x2bd507[0x2],_0x27e424=_0x4aae0d[_0x4b8dac+0x3]^_0x2bd507[0x3],_0x5f1ceb=0x4,_0x3e7587=0x1;_0x3e7587<_0x49fb22;_0x3e7587++){var _0x2aedc7=_0x56ad52[_0x46aa6a>>>0x18]^_0x33e319[_0x157ab5>>>0x10&0xff]^_0x4e6aeb[_0x5eb97b>>>0x8&0xff]^_0x272777[_0x27e424&0xff]^_0x2bd507[_0x5f1ceb++],_0x43a7f2=_0x56ad52[_0x157ab5>>>0x18]^_0x33e319[_0x5eb97b>>>0x10&0xff]^_0x4e6aeb[_0x27e424>>>0x8&0xff]^_0x272777[_0x46aa6a&0xff]^_0x2bd507[_0x5f1ceb++],_0x5872ca=_0x56ad52[_0x5eb97b>>>0x18]^_0x33e319[_0x27e424>>>0x10&0xff]^_0x4e6aeb[_0x46aa6a>>>0x8&0xff]^_0x272777[_0x157ab5&0xff]^_0x2bd507[_0x5f1ceb++],_0x4d8a78=_0x56ad52[_0x27e424>>>0x18]^_0x33e319[_0x46aa6a>>>0x10&0xff]^_0x4e6aeb[_0x157ab5>>>0x8&0xff]^_0x272777[_0x5eb97b&0xff]^_0x2bd507[_0x5f1ceb++];_0x46aa6a=_0x2aedc7,_0x157ab5=_0x43a7f2,_0x5eb97b=_0x5872ca,_0x27e424=_0x4d8a78;}var _0x2aedc7=(_0x15977b[_0x46aa6a>>>0x18]<<0x18|_0x15977b[_0x157ab5>>>0x10&0xff]<<0x10|_0x15977b[_0x5eb97b>>>0x8&0xff]<<0x8|_0x15977b[_0x27e424&0xff])^_0x2bd507[_0x5f1ceb++],_0x43a7f2=(_0x15977b[_0x157ab5>>>0x18]<<0x18|_0x15977b[_0x5eb97b>>>0x10&0xff]<<0x10|_0x15977b[_0x27e424>>>0x8&0xff]<<0x8|_0x15977b[_0x46aa6a&0xff])^_0x2bd507[_0x5f1ceb++],_0x5872ca=(_0x15977b[_0x5eb97b>>>0x18]<<0x18|_0x15977b[_0x27e424>>>0x10&0xff]<<0x10|_0x15977b[_0x46aa6a>>>0x8&0xff]<<0x8|_0x15977b[_0x157ab5&0xff])^_0x2bd507[_0x5f1ceb++],_0x4d8a78=(_0x15977b[_0x27e424>>>0x18]<<0x18|_0x15977b[_0x46aa6a>>>0x10&0xff]<<0x10|_0x15977b[_0x157ab5>>>0x8&0xff]<<0x8|_0x15977b[_0x5eb97b&0xff])^_0x2bd507[_0x5f1ceb++];_0x4aae0d[_0x4b8dac]=_0x2aedc7,_0x4aae0d[_0x4b8dac+0x1]=_0x43a7f2,_0x4aae0d[_0x4b8dac+0x2]=_0x5872ca,_0x4aae0d[_0x4b8dac+0x3]=_0x4d8a78;},'keySize':0x100/0x20});_0x344a6d['AES']=_0x1fa74a['_createHelper'](_0x5591ca);}()),_0x380400[_0x2996a9(0x63d)];}));}(_0x1f0260));var _0x21f343=_0x1f0260[_0x1bb47d(0x1fd)];const _0x1b909a=_0x336dd0(_0x21f343);var _0x5e3e46=_0x10c3e1();const _0x4fe6c1=_0x336dd0(_0x5e3e46);var _0x3898b4={'exports':{}};(function(_0xe77fda,_0x4b7815){(function(_0x249b74,_0x1d1294){const _0x8e38cc=_0x27a5;_0xe77fda[_0x8e38cc(0x1fd)]=_0x1d1294(_0x541f6d());}(_0x11540d,function(_0x3e16ee){const _0x6857e9=_0x27a5;return _0x3e16ee[_0x6857e9(0x554)][_0x6857e9(0x46f)];}));}(_0x3898b4));var _0x236274=_0x3898b4[_0x1bb47d(0x1fd)];const _0x1371ff=_0x336dd0(_0x236274);var _0x1337ce={'exports':{}};(function(_0x1bc4e5,_0x28edcb){(function(_0x40c638,_0x44d616){const _0x42622a=_0x27a5;_0x1bc4e5[_0x42622a(0x1fd)]=_0x44d616(_0x541f6d());}(_0x11540d,function(_0x430b2f){const _0xe3480e=_0x27a5;return(function(){const _0x59cae1=_0x27a5;if(typeof ArrayBuffer==_0x59cae1(0x694)){var _0x4a5efe=_0x430b2f,_0xe577cf=_0x4a5efe['lib'],_0x16dc90=_0xe577cf[_0x59cae1(0x299)],_0x3e2c66=_0x16dc90[_0x59cae1(0x2a2)],_0x2348e1=_0x16dc90[_0x59cae1(0x2a2)]=function(_0x34fc2e){const _0x2515da=_0x59cae1;if(_0x34fc2e instanceof ArrayBuffer&&(_0x34fc2e=new Uint8Array(_0x34fc2e)),(_0x34fc2e instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x34fc2e instanceof Uint8ClampedArray||_0x34fc2e instanceof Int16Array||_0x34fc2e instanceof Uint16Array||_0x34fc2e instanceof Int32Array||_0x34fc2e instanceof Uint32Array||_0x34fc2e instanceof Float32Array||_0x34fc2e instanceof Float64Array)&&(_0x34fc2e=new Uint8Array(_0x34fc2e[_0x2515da(0x4ae)],_0x34fc2e[_0x2515da(0x509)],_0x34fc2e[_0x2515da(0x5aa)])),_0x34fc2e instanceof Uint8Array){for(var _0x1aa6ca=_0x34fc2e[_0x2515da(0x5aa)],_0x2ca1ed=[],_0x136215=0x0;_0x136215<_0x1aa6ca;_0x136215++)_0x2ca1ed[_0x136215>>>0x2]|=_0x34fc2e[_0x136215]<<0x18-_0x136215%0x4*0x8;_0x3e2c66[_0x2515da(0x4be)](this,_0x2ca1ed,_0x1aa6ca);}else _0x3e2c66['apply'](this,arguments);};_0x2348e1[_0x59cae1(0x2ae)]=_0x16dc90;}}()),_0x430b2f['lib'][_0xe3480e(0x299)];}));}(_0x1337ce));var _0x4c618f=_0x1337ce[_0x1bb47d(0x1fd)];const _0x317861=_0x336dd0(_0x4c618f);var _0x4876bb={'exports':{}};(function(_0x3e14be,_0x1ae6f2){(function(_0x40a315,_0x2554fc,_0x24d7a2){const _0x5f1918=_0x27a5;_0x3e14be[_0x5f1918(0x1fd)]=_0x2554fc(_0x541f6d(),_0x1b7204());}(_0x11540d,function(_0x1c78ac){const _0x51cb36=_0x27a5;return _0x1c78ac['pad'][_0x51cb36(0x366)]={'pad':function(){},'unpad':function(){}},_0x1c78ac[_0x51cb36(0x2b6)][_0x51cb36(0x366)];}));}(_0x4876bb));var _0x2b0556=_0x4876bb[_0x1bb47d(0x1fd)];const _0x4705cc=_0x336dd0(_0x2b0556);function _0x5e6948(_0x1aca5e,_0x258e40){const _0x35f714=_0x1bb47d,_0x1afd47=_0x258e40-_0x1aca5e[_0x35f714(0x458)]%_0x258e40,_0x1b8676=String[_0x35f714(0x5d9)](_0x1afd47)[_0x35f714(0x298)](_0x1afd47);return _0x1aca5e+_0x1b8676;}function _0x4ea9ad(_0x2ca632,_0x274007){const _0x316dac=_0x1bb47d,_0x407def=_0x317861['random'](0x10),_0x42245c=_0x5e6948(_0x2ca632,0x10),_0x2a4883=_0x1b909a['encrypt'](_0x1371ff[_0x316dac(0x376)](_0x42245c),_0x4fe6c1['parse'](_0x274007),{'iv':_0x407def,'padding':_0x4705cc});return _0x407def['concat'](_0x2a4883['ciphertext'])[_0x316dac(0x630)](_0x4fe6c1);}function _0x2d07f2(){const _0x154464=_0x1bb47d,_0x542ec2=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)['__Key__'];if(_0x542ec2){const _0x25820d={'time':Math[_0x154464(0x659)](Date[_0x154464(0x520)]()/0x3e8),'domain':location[_0x154464(0x1ca)]};return _0x4ea9ad(JSON[_0x154464(0x5f5)](_0x25820d),_0x542ec2);}}var _0x107dbc=Object['defineProperty'],_0x4880e7=Object[_0x1bb47d(0x276)],_0x515693=(_0x2e3e2f,_0x293044,_0x5059ab,_0x2c2d1a)=>{const _0x19ebd6=_0x1bb47d;for(var _0x204120=_0x2c2d1a>0x1?void 0x0:_0x2c2d1a?_0x4880e7(_0x293044,_0x5059ab):_0x293044,_0x5bfaa5=_0x2e3e2f[_0x19ebd6(0x458)]-0x1,_0x3af284;_0x5bfaa5>=0x0;_0x5bfaa5--)(_0x3af284=_0x2e3e2f[_0x5bfaa5])&&(_0x204120=(_0x2c2d1a?_0x3af284(_0x293044,_0x5059ab,_0x204120):_0x3af284(_0x204120))||_0x204120);return _0x2c2d1a&&_0x204120&&_0x107dbc(_0x293044,_0x5059ab,_0x204120),_0x204120;},_0x5c0e0e=(_0x5aa9ca,_0x5145c4)=>(_0x347178,_0x1d25f3)=>_0x5145c4(_0x347178,_0x1d25f3,_0x5aa9ca);let _0x501547=class{constructor(_0x5b6e1f){const _0x148915=_0x1bb47d;this[_0x148915(0x680)]=_0x5b6e1f,this['_initRequestHeader']();}[_0x1bb47d(0x4f2)](){const _0x384151=_0x1bb47d;this[_0x384151(0x680)][_0x384151(0x634)]({'interceptor':(_0x2c1366,_0x24cbe5)=>{const _0x4189ef=_0x384151,_0x356974=_0x2c1366[_0x4189ef(0x541)],_0x1700a7=_0x2d07f2();return _0x1700a7&&_0x356974['set'](_0x4189ef(0x3b3),_0x1700a7),_0x24cbe5(_0x2c1366);}});}};_0x501547=_0x515693([_0x5c0e0e(0x0,_0x2a6157[_0x1bb47d(0x439)](_0x145c4f[_0x1bb47d(0x255)]))],_0x501547);var _0x27f1ba=Object[_0x1bb47d(0x368)],_0x22c316=Object[_0x1bb47d(0x276)],_0x5c8a83=(_0x210e6d,_0x524edd,_0x546746,_0x3489ed)=>{const _0x267e9c=_0x1bb47d;for(var _0x1a9931=_0x3489ed>0x1?void 0x0:_0x3489ed?_0x22c316(_0x524edd,_0x546746):_0x524edd,_0x16b144=_0x210e6d[_0x267e9c(0x458)]-0x1,_0x7f916b;_0x16b144>=0x0;_0x16b144--)(_0x7f916b=_0x210e6d[_0x16b144])&&(_0x1a9931=(_0x3489ed?_0x7f916b(_0x524edd,_0x546746,_0x1a9931):_0x7f916b(_0x1a9931))||_0x1a9931);return _0x3489ed&&_0x1a9931&&_0x27f1ba(_0x524edd,_0x546746,_0x1a9931),_0x1a9931;},_0xe39bd5=(_0x2a1d12,_0x471fca)=>(_0x1fe5c8,_0x3a0408)=>_0x471fca(_0x1fe5c8,_0x3a0408,_0x2a1d12);const _0xd09a32=[_0x1bb47d(0x34c),_0x1bb47d(0x321),_0x1bb47d(0x206),'image/gif',_0x1bb47d(0x4e4)],_0x2f9251=0x5*0x400*0x400,_0x2fa582=_0x1bb47d(0x664),_0x19850b=_0x1bb47d(0x556),_0x4f5e98=_0x1bb47d(0x224),_0x414b1c=_0x1bb47d(0x349);_0x439f5['ImageIoService']=class{constructor(_0x46de26,_0x4e8d44,_0x36fc90){const _0x425c0d=_0x1bb47d;_0x538cec(this,_0x425c0d(0x665),0x0),_0x538cec(this,'_change$',new _0x59070a['Subject']()),_0x538cec(this,'change$',this[_0x425c0d(0x61a)]),_0x538cec(this,_0x425c0d(0x63f),new Map()),(this[_0x425c0d(0x680)]=_0x46de26,this[_0x425c0d(0x5a4)]=_0x4e8d44,this[_0x425c0d(0x522)]=_0x36fc90);}[_0x1bb47d(0x519)](_0x364666){const _0x2d2d7d=_0x1bb47d;this['_waitCount']=_0x364666,this[_0x2d2d7d(0x61a)]['next'](_0x364666);}['getImageSourceCache'](_0x1793f2,_0x293cde){const _0x4242d2=_0x1bb47d;if(_0x293cde===_0x559dab[_0x4242d2(0x261)][_0x4242d2(0x3da)]){const _0x56d8d5=new Image();return _0x56d8d5[_0x4242d2(0x66a)]=_0x1793f2,_0x56d8d5;}return this[_0x4242d2(0x63f)][_0x4242d2(0x55e)](_0x1793f2);}[_0x1bb47d(0x53c)](_0x27230c,_0x63ee3e,_0x4c8487){const _0x11e178=_0x1bb47d;_0x63ee3e===_0x559dab[_0x11e178(0x261)][_0x11e178(0x3da)]||_0x4c8487==null||this['_imageSourceCache'][_0x11e178(0x674)](_0x27230c,_0x4c8487);}async['getImage'](_0x5c5aae){const _0x5169fb=_0x1bb47d;try{const _0x2d92b8=this['_replaceFileID'](this[_0x5169fb(0x544)](),''+_0x5c5aae),_0x3c5152=(await this[_0x5169fb(0x680)][_0x5169fb(0x55e)](_0x2d92b8))['body'];if(_0x3c5152[_0x5169fb(0x5c9)]&&_0x3c5152[_0x5169fb(0x5c9)]['code']===_0x93929f['OK']){const _0x599334=new URL(_0x3c5152['url'],this[_0x5169fb(0x1e5)]())[_0x5169fb(0x630)]();return Promise[_0x5169fb(0x335)](_0x599334);}return Promise[_0x5169fb(0x3ef)](_0x3c5152['error']);}catch(_0x36a54e){return Promise['reject'](_0x36a54e);}}async[_0x1bb47d(0x239)](_0x1e72a2){const _0x1dc015=_0x1bb47d;let _0x1a2f4b='';if(!_0xd09a32[_0x1dc015(0x5e7)](_0x1e72a2[_0x1dc015(0x451)]))return this[_0x1dc015(0x5a8)](),Promise['reject'](new Error(_0x559dab['ImageUploadStatusType'][_0x1dc015(0x62a)]));if(_0x1e72a2['size']>_0x2f9251)return this[_0x1dc015(0x5a8)](),Promise['reject'](new Error(_0x559dab[_0x1dc015(0x408)][_0x1dc015(0x413)]));try{const _0x2f4f96=new FormData();_0x2f4f96[_0x1dc015(0x49d)](_0x1dc015(0x5fa),_0x1e72a2);const _0x590cdd=this[_0x1dc015(0x522)]['getFocusedUnit'](),_0x58ef45=_0x590cdd==null?void 0x0:_0x590cdd['getUnitId']();if(!_0x58ef45)throw new Error(_0x1dc015(0x38a));const _0x18f666=this[_0x1dc015(0x47e)]()+_0x1dc015(0x1fb)+_0x1e72a2[_0x1dc015(0x5c1)]['toString']()+_0x1dc015(0x38e)+_0x23a8e3[_0x1dc015(0x5ee)]+_0x1dc015(0x62e)+encodeURIComponent(_0x58ef45),_0x5dd2ef=await(await fetch(_0x18f666,{'method':_0x1dc015(0x510),'body':_0x2f4f96}))[_0x1dc015(0x477)]();if(typeof _0x5dd2ef[_0x1dc015(0x30d)]!=_0x1dc015(0x5e2))return this[_0x1dc015(0x5a8)](),Promise[_0x1dc015(0x3ef)](new Error(_0x559dab[_0x1dc015(0x408)][_0x1dc015(0x2d7)]));_0x1a2f4b=_0x5dd2ef['FileId'];}catch{return this['_decreaseWaiting'](),Promise[_0x1dc015(0x3ef)](new Error(_0x559dab[_0x1dc015(0x408)][_0x1dc015(0x2d7)]));}return new Promise((_0x1c5c3d,_0x4467d8)=>{const _0x2ac654=new FileReader();_0x2ac654['readAsDataURL'](_0x1e72a2),_0x2ac654['onload']=_0x4ac7c7=>{const _0x4c06bb=_0x27a5;var _0x307ea1;const _0x1a2357=(_0x307ea1=_0x4ac7c7[_0x4c06bb(0x595)])==null?void 0x0:_0x307ea1['result'];if(_0x1a2357==null){this[_0x4c06bb(0x5a8)](),_0x4467d8(new Error(_0x559dab[_0x4c06bb(0x408)][_0x4c06bb(0x2d7)]));return;}const _0x240e96=_0x2a6157[_0x4c06bb(0x3e5)][_0x4c06bb(0x5e4)](0x6);_0x1c5c3d({'imageId':_0x240e96,'imageSourceType':_0x559dab[_0x4c06bb(0x261)][_0x4c06bb(0x3fc)],'source':_0x1a2f4b,'base64Cache':_0x1a2357,'status':_0x559dab['ImageUploadStatusType']['SUCCUSS']}),this[_0x4c06bb(0x5a8)]();};});}[_0x1bb47d(0x47e)](){const _0x1d9276=_0x1bb47d;var _0xdbf7ca,_0x1c8627;const _0x42ce81=this[_0x1d9276(0x5a4)][_0x1d9276(0x495)](_0x2fa582),_0x397d89=this['_configService'][_0x1d9276(0x495)](_0x2dabdd);return(_0x1c8627=(_0xdbf7ca=_0x397d89==null?void 0x0:_0x397d89[_0x1d9276(0x2fe)])!=null?_0xdbf7ca:_0x42ce81)!=null?_0x1c8627:_0x19850b;}['_getSignURL'](){const _0x15558b=_0x1bb47d;var _0x1b4b3f,_0x4bdf1d;const _0x3955a7=this['_configService'][_0x15558b(0x495)](_0x4f5e98),_0xa8877c=this['_configService']['getConfig'](_0x2dabdd);return(_0x4bdf1d=(_0x1b4b3f=_0xa8877c==null?void 0x0:_0xa8877c['signUrlServerUrl'])!=null?_0x1b4b3f:_0x3955a7)!=null?_0x4bdf1d:_0x414b1c;}[_0x1bb47d(0x1e5)](){const _0x481a81=_0x1bb47d;var _0x164bc7;const _0x4aab37=this[_0x481a81(0x5a4)][_0x481a81(0x495)](_0x2dabdd);return(_0x164bc7=_0x4aab37==null?void 0x0:_0x4aab37['downloadEndpointUrl'])!=null?_0x164bc7:location[_0x481a81(0x47c)];}[_0x1bb47d(0x395)](_0x4b814e,_0x51dd06){const _0x168ad8=_0x1bb47d;return _0x4b814e[_0x168ad8(0x4f1)](_0x168ad8(0x52f),_0x51dd06);}['_decreaseWaiting'](){const _0x269b33=_0x1bb47d;this[_0x269b33(0x665)]-=0x1,this['_change$']['next'](this[_0x269b33(0x665)]);}},_0x439f5[_0x1bb47d(0x32e)]=_0x5c8a83([_0xe39bd5(0x0,_0x2a6157['Inject'](_0x145c4f[_0x1bb47d(0x255)])),_0xe39bd5(0x1,_0x2a6157[_0x1bb47d(0x65a)]),_0xe39bd5(0x2,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157[_0x1bb47d(0x59c)]))],_0x439f5[_0x1bb47d(0x32e)]);var _0x17a730=Object[_0x1bb47d(0x368)],_0xd006ff=Object[_0x1bb47d(0x276)],_0x44592d=(_0x173cf6,_0x204df4,_0x5bf794,_0x223b52)=>{const _0x799a1d=_0x1bb47d;for(var _0x435d79=_0x223b52>0x1?void 0x0:_0x223b52?_0xd006ff(_0x204df4,_0x5bf794):_0x204df4,_0x18829e=_0x173cf6[_0x799a1d(0x458)]-0x1,_0x38d549;_0x18829e>=0x0;_0x18829e--)(_0x38d549=_0x173cf6[_0x18829e])&&(_0x435d79=(_0x223b52?_0x38d549(_0x204df4,_0x5bf794,_0x435d79):_0x38d549(_0x435d79))||_0x435d79);return _0x223b52&&_0x435d79&&_0x17a730(_0x204df4,_0x5bf794,_0x435d79),_0x435d79;},_0x4e81ec=(_0x3f651d,_0x40bbe2)=>(_0x3e2adb,_0x380820)=>_0x40bbe2(_0x3e2adb,_0x380820,_0x3f651d);let _0x441be0=class extends _0x2a6157[_0x1bb47d(0x3ff)]{constructor(_0x35690d,_0x434b50,_0x63013f,_0xd67942,_0x1cc810){const _0x15ff7a=_0x1bb47d;super(),this[_0x15ff7a(0x4b6)]=_0x35690d,this['_univerInstanceService']=_0x434b50,this[_0x15ff7a(0x475)]=_0x63013f,this[_0x15ff7a(0x2bd)]=_0xd67942,this[_0x15ff7a(0x682)]=_0x1cc810,this[_0x15ff7a(0x656)](),this[_0x15ff7a(0x3d6)]();}[_0x1bb47d(0x3d6)](){const _0x2c623b=_0x1bb47d,_0x209a5e=async _0x4cc044=>{const _0x2433e4=_0x27a5;(await this[_0x2433e4(0x2bd)][_0x2433e4(0x54c)](_0x4cc044))['event$'][_0x2433e4(0x4b3)](_0x12f2af['filter'](_0x19ed1a=>_0x19ed1a[_0x2433e4(0x429)]===_0x63ab19[_0x2433e4(0x497)][_0x2433e4(0x252)]),_0x12f2af[_0x2433e4(0x422)](this[_0x2433e4(0x3a3)]))[_0x2433e4(0x551)](_0x34abdc=>{const _0x58ec1a=_0x2433e4,_0x571a0a=_0x34abdc,{reason:_0x12069b}=_0x571a0a[_0x58ec1a(0x1d8)];this[_0x58ec1a(0x4b6)][_0x58ec1a(0x55e)](_0x4c9f9a[_0x58ec1a(0x527)])[_0x58ec1a(0x58f)]({'type':_0x407879['MessageType'][_0x58ec1a(0x305)],'content':this[_0x58ec1a(0x682)]['t'](_0x58ec1a(0x3b0))+'('+_0x12069b+')'}),this[_0x58ec1a(0x475)][_0x58ec1a(0x4a3)](new _0xeac940[(_0x58ec1a(0x53e))](_0x4cc044)['id'],!0x1),this[_0x58ec1a(0x2bd)][_0x58ec1a(0x601)](_0x4cc044);});};_0x59070a['merge'](this[_0x2c623b(0x522)][_0x2c623b(0x219)](_0x2a6157[_0x2c623b(0x1ff)][_0x2c623b(0x560)]),this[_0x2c623b(0x522)][_0x2c623b(0x219)](_0x2a6157[_0x2c623b(0x1ff)][_0x2c623b(0x328)]))[_0x2c623b(0x4b3)](_0x12f2af[_0x2c623b(0x616)](_0x562d52=>_0x562d52[_0x2c623b(0x679)]()),_0x12f2af['filter'](_0x35a299=>!_0x2a6157['isInternalEditorID'](_0x35a299)),_0x12f2af[_0x2c623b(0x422)](this[_0x2c623b(0x3a3)]))[_0x2c623b(0x551)](_0x5cff15=>{_0x209a5e(_0x5cff15);});}[_0x1bb47d(0x656)](){const _0x567ee3=_0x1bb47d,_0x31c379=async _0x51828c=>{const _0x32594f=_0x27a5;(await this[_0x32594f(0x2bd)][_0x32594f(0x54c)](_0x51828c))['event$'][_0x32594f(0x4b3)](_0x12f2af[_0x32594f(0x3e4)](_0x4656e5=>_0x4656e5['eventID']===_0x63ab19[_0x32594f(0x497)][_0x32594f(0x22d)]),_0x12f2af[_0x32594f(0x422)](this[_0x32594f(0x3a3)]))[_0x32594f(0x551)](_0x4b5f18=>{const _0x30eda1=_0x32594f,_0x25f84a=_0x4b5f18,{objectId:_0x4ef711}=_0x25f84a[_0x30eda1(0x1d8)],_0x24a731=this[_0x30eda1(0x4b6)]['get'](_0x4d9cae['SheetPermissionInitController']);_0x4ef711===_0x51828c?_0x24a731[_0x30eda1(0x31a)](_0x51828c):_0x24a731['refreshPermission'](_0x51828c,_0x4ef711);});};_0x59070a[_0x567ee3(0x545)](this[_0x567ee3(0x522)][_0x567ee3(0x219)](_0x2a6157[_0x567ee3(0x1ff)][_0x567ee3(0x560)]),this['_univerInstanceService'][_0x567ee3(0x219)](_0x2a6157[_0x567ee3(0x1ff)][_0x567ee3(0x328)]))[_0x567ee3(0x4b3)](_0x12f2af[_0x567ee3(0x616)](_0x37de0d=>_0x37de0d['getUnitId']()),_0x12f2af[_0x567ee3(0x3e4)](_0x5ee7da=>!_0x2a6157['isInternalEditorID'](_0x5ee7da)),_0x12f2af[_0x567ee3(0x422)](this[_0x567ee3(0x3a3)]))[_0x567ee3(0x551)](_0x5dcc06=>{_0x31c379(_0x5dcc06);});}};_0x441be0=_0x44592d([_0x4e81ec(0x0,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157[_0x1bb47d(0x5a7)])),_0x4e81ec(0x1,_0x2a6157[_0x1bb47d(0x59c)]),_0x4e81ec(0x2,_0x2a6157['IPermissionService']),_0x4e81ec(0x3,_0x2a6157[_0x1bb47d(0x439)](_0x439f5[_0x1bb47d(0x49e)])),_0x4e81ec(0x4,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157[_0x1bb47d(0x308)]))],_0x441be0);var _0x580b38=Object[_0x1bb47d(0x368)],_0x1353ba=Object['getOwnPropertyDescriptor'],_0x5f0833=(_0x18760,_0x44cfcc,_0x161938,_0x30b590)=>{const _0x42f37d=_0x1bb47d;for(var _0x10d782=_0x30b590>0x1?void 0x0:_0x30b590?_0x1353ba(_0x44cfcc,_0x161938):_0x44cfcc,_0xd7cd30=_0x18760[_0x42f37d(0x458)]-0x1,_0x1ff0a5;_0xd7cd30>=0x0;_0xd7cd30--)(_0x1ff0a5=_0x18760[_0xd7cd30])&&(_0x10d782=(_0x30b590?_0x1ff0a5(_0x44cfcc,_0x161938,_0x10d782):_0x1ff0a5(_0x10d782))||_0x10d782);return _0x30b590&&_0x10d782&&_0x580b38(_0x44cfcc,_0x161938,_0x10d782),_0x10d782;},_0x215361=(_0xe2111,_0x1bc55d)=>(_0x2167e5,_0x47e963)=>_0x1bc55d(_0x2167e5,_0x47e963,_0xe2111);_0x439f5[_0x1bb47d(0x61f)]=class{constructor(_0x41a7c4,_0x395041){const _0x526900=_0x1bb47d;this[_0x526900(0x5a4)]=_0x41a7c4,this[_0x526900(0x680)]=_0x395041;}async[_0x1bb47d(0x398)](_0x41d5aa,_0x133ef7){const _0x11c829=_0x1bb47d;var _0xcd4827;const {unitID:_0x1d733d,type:_0xe3ecc3,revision:_0x4b5d16=0x0}=_0x133ef7,_0x1f1b56=this[_0x11c829(0x666)]()+'/'+_0xe3ecc3+_0x11c829(0x27b)+_0x1d733d+_0x11c829(0x51d)+_0x4b5d16,_0x38996a=(await this['_httpService'][_0x11c829(0x55e)](_0x1f1b56))[_0x11c829(0x358)],_0xf2cf50=(_0xcd4827=_0x38996a[_0x11c829(0x33a)])==null?void 0x0:_0xcd4827[_0x11c829(0x2c2)];if(_0xf2cf50){const _0x354b35=_0xf2cf50==null?void 0x0:_0xf2cf50[_0x11c829(0x4b5)],_0x2b227e=_0x63ab19['textEncoder'][_0x11c829(0x1f9)](_0x63ab19[_0x11c829(0x5de)](_0x354b35));_0xf2cf50['originalMeta']=_0x2b227e,Object['entries'](_0xf2cf50['sheets'])[_0x11c829(0x4bb)](([,_0x47ee64])=>{const _0x199479=_0x11c829,_0x55df7=_0x47ee64[_0x199479(0x4b5)],_0x241205=_0x63ab19[_0x199479(0x5ce)][_0x199479(0x1f9)](_0x63ab19['b64DecodeUnicode'](_0x55df7));_0x47ee64[_0x199479(0x4b5)]=_0x241205;});}return _0x38996a;}async[_0x1bb47d(0x3c7)](_0x56c72a,_0x3698ed){const _0x141b38=_0x1bb47d,{unitID:_0x40bc3b,type:_0x1b481a,blockID:_0x4a7a67}=_0x3698ed,_0x14dc54=this['_getAPIPrefix']()+'/'+_0x1b481a+'/unit/'+_0x40bc3b+_0x141b38(0x64d)+_0x4a7a67;return(await this[_0x141b38(0x680)]['get'](_0x14dc54))[_0x141b38(0x358)];}async[_0x1bb47d(0x409)](_0x353ce8,_0x5e04c0){const _0x54e6c2=_0x1bb47d,{unitID:_0xc8ef8f,type:_0x57eee9,blockID:_0x42c565}=_0x5e04c0,_0x50a54d=this[_0x54e6c2(0x498)]()+_0x54e6c2(0x64d)+_0x57eee9+_0x54e6c2(0x27b)+_0xc8ef8f+'/block/'+_0x42c565;return(await this[_0x54e6c2(0x680)][_0x54e6c2(0x55e)](_0x50a54d))[_0x54e6c2(0x358)];}async[_0x1bb47d(0x29f)](_0x5dc859,_0x2ada18){const _0x53435d=_0x1bb47d,{unitID:_0x2fb4e2,type:_0xa99490,from:_0x569150,to:_0x1d19d8}=_0x2ada18,_0x132efc=this[_0x53435d(0x498)]()+'/'+_0xa99490+_0x53435d(0x27b)+_0x2fb4e2+_0x53435d(0x23f)+_0x569150+_0x53435d(0x282)+_0x1d19d8;return(await this[_0x53435d(0x680)][_0x53435d(0x55e)](_0x132efc))[_0x53435d(0x358)];}[_0x1bb47d(0x666)](){const _0x4fd669=_0x1bb47d;var _0x2a89a7;return(_0x2a89a7=this[_0x4fd669(0x5a4)][_0x4fd669(0x495)](_0x2ecd96))!=null?_0x2a89a7:this[_0x4fd669(0x498)]();}[_0x1bb47d(0x498)](){const _0x5101a0=_0x1bb47d;var _0x50e2c7,_0x48451e;const _0x316653=this[_0x5101a0(0x5a4)]['getConfig'](_0x90b128),_0x581937=this[_0x5101a0(0x5a4)][_0x5101a0(0x495)](_0x2dabdd);return(_0x48451e=(_0x50e2c7=_0x581937==null?void 0x0:_0x581937['snapshotServerUrl'])!=null?_0x50e2c7:_0x316653)!=null?_0x48451e:_0x20abae;}async[_0x1bb47d(0x692)](_0x292a54,_0x100a4d){const _0x270293=_0x1bb47d,_0x4cac09=_0x270293(0x26d)+_0x100a4d['type']+'/unit/'+_0x100a4d[_0x270293(0x482)]+_0x270293(0x603);return(await this['_httpService'][_0x270293(0x55e)](_0x4cac09,{'params':{'resourceId':JSON[_0x270293(0x5f5)](_0x100a4d[_0x270293(0x446)])}}))[_0x270293(0x358)];}[_0x1bb47d(0x26c)](){const _0x5845f6=_0x1bb47d;throw new Error(_0x5845f6(0x4a8));}[_0x1bb47d(0x35d)](){const _0x587a79=_0x1bb47d;throw new Error(_0x587a79(0x4a8));}[_0x1bb47d(0x21c)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1bb47d(0x631)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1bb47d(0x50c)](){const _0x25af28=_0x1bb47d;throw new Error(_0x25af28(0x4a8));}},_0x439f5[_0x1bb47d(0x61f)]=_0x5f0833([_0x215361(0x0,_0x2a6157[_0x1bb47d(0x65a)]),_0x215361(0x1,_0x2a6157[_0x1bb47d(0x439)](_0x145c4f[_0x1bb47d(0x255)]))],_0x439f5[_0x1bb47d(0x61f)]);var _0x375a05=Object[_0x1bb47d(0x368)],_0x4c889b=Object[_0x1bb47d(0x276)],_0x4cc152=(_0x38f0fc,_0x1293bc,_0x5c311c,_0x311958)=>{const _0x2469df=_0x1bb47d;for(var _0x4f698e=_0x311958>0x1?void 0x0:_0x311958?_0x4c889b(_0x1293bc,_0x5c311c):_0x1293bc,_0x1174f5=_0x38f0fc[_0x2469df(0x458)]-0x1,_0x31b1a6;_0x1174f5>=0x0;_0x1174f5--)(_0x31b1a6=_0x38f0fc[_0x1174f5])&&(_0x4f698e=(_0x311958?_0x31b1a6(_0x1293bc,_0x5c311c,_0x4f698e):_0x31b1a6(_0x4f698e))||_0x4f698e);return _0x311958&&_0x4f698e&&_0x375a05(_0x1293bc,_0x5c311c,_0x4f698e),_0x4f698e;},_0x5f54ff=(_0x97127,_0x133eb2)=>(_0x3de22b,_0x3b27b3)=>_0x133eb2(_0x3de22b,_0x3b27b3,_0x97127);let _0x41e729=class extends _0x2a6157[_0x1bb47d(0x23c)]{constructor(_0x3b8743,_0x23788d,_0x5de254,_0x1c791d,_0x3ee428){const _0xe6bf88=_0x1bb47d;super(_0x3b8743,_0x23788d,_0x5de254),this[_0xe6bf88(0x301)]=_0x1c791d,this[_0xe6bf88(0x434)]=_0x3ee428;}[_0x1bb47d(0x2e1)](_0x4a78bf,_0x245d02){const _0x501a71=_0x1bb47d,_0x4043d0=this['_getUndoStack'](_0x4a78bf);if(_0x4043d0)try{const _0x4ce4d5=this[_0x501a71(0x592)](_0x4043d0,_0x245d02);this[_0x501a71(0x2f7)](_0x4a78bf,_0x4ce4d5);}catch(_0x5e6bde){this[_0x501a71(0x434)][_0x501a71(0x5c9)](_0x501a71(0x3f4),_0x5e6bde),this[_0x501a71(0x4bc)](_0x4a78bf);}const _0x143035=this[_0x501a71(0x1d7)](_0x4a78bf);if(_0x143035)try{const _0x5ca9de=this[_0x501a71(0x592)](_0x143035,_0x245d02);this[_0x501a71(0x28f)](_0x4a78bf,_0x5ca9de);}catch(_0x654561){this['_logService']['error'](_0x654561),this['_clearRedo'](_0x4a78bf);}}[_0x1bb47d(0x4bc)](_0x40c291){const _0x4f868d=_0x1bb47d,_0xb567e4=this[_0x4f868d(0x2f5)](_0x40c291);_0xb567e4&&(_0xb567e4[_0x4f868d(0x458)]=0x0,this[_0x4f868d(0x48b)]());}[_0x1bb47d(0x4a0)](_0x82e717){const _0x757694=_0x1bb47d,_0x5f0090=this[_0x757694(0x1d7)](_0x82e717);_0x5f0090&&(_0x5f0090['length']=0x0,this[_0x757694(0x48b)]());}[_0x1bb47d(0x2f7)](_0x2ca7e5,_0x462e57){const _0x51b469=_0x1bb47d;this[_0x51b469(0x279)]['set'](_0x2ca7e5,_0x462e57),this[_0x51b469(0x48b)]();}[_0x1bb47d(0x28f)](_0x28b096,_0x442ae3){const _0x676671=_0x1bb47d;this[_0x676671(0x215)][_0x676671(0x674)](_0x28b096,_0x442ae3),this[_0x676671(0x48b)]();}[_0x1bb47d(0x592)](_0x50e92c,_0x204a2e){const _0x4d33fc=_0x1bb47d,_0x4ec973=[];let _0x4ba3c7=_0x204a2e,_0x127cf7=_0x204a2e;for(let _0x34b17b=_0x50e92c[_0x4d33fc(0x458)]-0x1;_0x34b17b>=0x0;_0x34b17b--){const {unitID:_0x690a22,undoMutations:_0x39990f,redoMutations:_0x32085f}=_0x50e92c[_0x34b17b],_0x579fc2=this[_0x4d33fc(0x301)]['transformMutationsWithChangeset'](_0x4ba3c7,_0x39990f),_0x43c591=this['_transformService']['transformMutationsWithChangeset'](_0x127cf7,_0x32085f);if(_0x63ab19[_0x4d33fc(0x537)](_0x579fc2)||_0x63ab19[_0x4d33fc(0x537)](_0x43c591)){this[_0x4d33fc(0x434)][_0x4d33fc(0x5c9)]('[CollaborationUndoRedoService]',_0x4d33fc(0x691),_0x579fc2,_0x43c591);break;}_0x4ba3c7=_0x579fc2[_0x4d33fc(0x4d7)],_0x127cf7=_0x43c591[_0x4d33fc(0x4d7)],_0x4ec973[_0x4d33fc(0x67d)]({'unitID':_0x690a22,'undoMutations':_0x579fc2['m2Prime'],'redoMutations':_0x43c591['m2Prime']});}return _0x4ec973[_0x4d33fc(0x1d0)]();}};_0x41e729=_0x4cc152([_0x5f54ff(0x0,_0x2a6157[_0x1bb47d(0x59c)]),_0x5f54ff(0x1,_0x2a6157[_0x1bb47d(0x3fa)]),_0x5f54ff(0x2,_0x2a6157[_0x1bb47d(0x2e2)]),_0x5f54ff(0x3,_0x63ab19[_0x1bb47d(0x32b)]),_0x5f54ff(0x4,_0x2a6157[_0x1bb47d(0x5b9)])],_0x41e729);class _0x33ed4b extends _0x2a6157[_0x1bb47d(0x3ff)]{constructor(){const _0x3961ba=_0x1bb47d;super(),_0x538cec(this,_0x3961ba(0x60f)),this[_0x3961ba(0x60f)]=_0x59070a[_0x3961ba(0x3ab)](window,_0x3961ba(0x5fc))[_0x3961ba(0x4b3)](_0x59070a[_0x3961ba(0x422)](this[_0x3961ba(0x3a3)]),_0x59070a[_0x3961ba(0x626)](0x1),_0x59070a[_0x3961ba(0x2d2)](void 0x0));}[_0x1bb47d(0x246)](_0x56c151,_0x5873fb,_0x369002=!0x1){const _0x501e74=_0x1bb47d,_0x139f03=new URL(window[_0x501e74(0x2c6)][_0x501e74(0x530)]);_0x139f03['searchParams'][_0x501e74(0x674)](_0x56c151,_0x5873fb),_0x369002?window['history'][_0x501e74(0x30e)]('','',_0x139f03[_0x501e74(0x630)]()):window[_0x501e74(0x588)][_0x501e74(0x565)]('','',_0x139f03[_0x501e74(0x630)]());}[_0x1bb47d(0x571)](_0x2eb9b6,_0x45d8b8=!0x1){const _0x5a5d57=_0x1bb47d,_0x268e51=new URL(window['location']['href']);_0x268e51['searchParams'][_0x5a5d57(0x5c7)](_0x2eb9b6),_0x45d8b8?window[_0x5a5d57(0x588)][_0x5a5d57(0x30e)]('','',_0x268e51['toString']()):window['history'][_0x5a5d57(0x565)]('','',_0x268e51[_0x5a5d57(0x630)]());}[_0x1bb47d(0x292)](_0x54bec9){const _0x24dac2=_0x1bb47d;var _0x8812b3;return(_0x8812b3=new URL(window[_0x24dac2(0x2c6)][_0x24dac2(0x530)])['searchParams'][_0x24dac2(0x55e)](_0x54bec9))!=null?_0x8812b3:void 0x0;}}var _0x3dc1f6=Object[_0x1bb47d(0x368)],_0x3c819c=Object['getOwnPropertyDescriptor'],_0x3733c0=(_0x39f8ca,_0x175e10,_0x15b6f8)=>_0x175e10 in _0x39f8ca?_0x3dc1f6(_0x39f8ca,_0x175e10,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x15b6f8}):_0x39f8ca[_0x175e10]=_0x15b6f8,_0x5bd88d=(_0x1e5f79,_0x424311,_0x28eea7,_0x2e7dc5)=>{const _0x1a909c=_0x1bb47d;for(var _0x339ccc=_0x2e7dc5>0x1?void 0x0:_0x2e7dc5?_0x3c819c(_0x424311,_0x28eea7):_0x424311,_0x1979b9=_0x1e5f79[_0x1a909c(0x458)]-0x1,_0x3c4447;_0x1979b9>=0x0;_0x1979b9--)(_0x3c4447=_0x1e5f79[_0x1979b9])&&(_0x339ccc=(_0x2e7dc5?_0x3c4447(_0x424311,_0x28eea7,_0x339ccc):_0x3c4447(_0x339ccc))||_0x339ccc);return _0x2e7dc5&&_0x339ccc&&_0x3dc1f6(_0x424311,_0x28eea7,_0x339ccc),_0x339ccc;},_0x239ac4=(_0x475269,_0x1827cf)=>(_0x556f04,_0x5c7c6c)=>_0x1827cf(_0x556f04,_0x5c7c6c,_0x475269),_0x1056f3=(_0x61f490,_0x186955,_0x287d9f)=>_0x3733c0(_0x61f490,_0x186955+'',_0x287d9f);const _0x4a9a8a=_0x1bb47d(0x62f);_0x439f5['UniverCollaborationClientPlugin']=class extends _0x2a6157['Plugin']{constructor(_0x149e78=_0x556aef,_0x29f020,_0x538174,_0x5db3ef,_0x11de8b){const _0x5418de=_0x1bb47d;super(),this[_0x5418de(0x460)]=_0x149e78,this['_logService']=_0x29f020,this['_renderManagerService']=_0x538174,this[_0x5418de(0x4b6)]=_0x5db3ef,this[_0x5418de(0x5a4)]=_0x11de8b;const {..._0x5869a6}=this[_0x5418de(0x460)];this[_0x5418de(0x5a4)]['setConfig'](_0x2dabdd,_0x5869a6);}['onStarting'](){const _0x17c04c=_0x1bb47d;this['_registerDependencies'](),this[_0x17c04c(0x594)]();}[_0x1bb47d(0x1e0)](){const _0x30d929=_0x1bb47d;_0x2a6157['touchDependencies'](this[_0x30d929(0x4b6)],[[_0x481a76]]);}[_0x1bb47d(0x597)](){const _0x2a27fb=_0x1bb47d;this[_0x2a27fb(0x4d0)]();}[_0x1bb47d(0x1f3)](){const _0x21aa44=_0x1bb47d;var _0x3064e3,_0x2e8d6e,_0x47f959,_0x182a0f;this[_0x21aa44(0x4b6)][_0x21aa44(0x676)](_0x2a6157[_0x21aa44(0x4bf)])&&this['_logService'][_0x21aa44(0x5c9)]('[UniverCollaborationClientPlugin]',_0x21aa44(0x3ba));const _0x7f61fe=[[_0x2a6157[_0x21aa44(0x4bf)],{'useClass':_0x41e729}],[_0x439f5[_0x21aa44(0x49e)]],[_0x555674],[_0x179949,{'useClass':_0x33ed4b}],[_0x439f5['MemberService']],[_0x439f5['LocalCacheService']],[_0x145c4f[_0x21aa44(0x633)]],[_0x5128be],[_0x25b89c],[_0x328692],[_0x360c7d],[_0x46f788],[_0x32d92e],[_0x501547],[_0x1b88f9],[_0x441be0],[_0x4bc590,{'useClass':(_0x2e8d6e=(_0x3064e3=this[_0x21aa44(0x460)])==null?void 0x0:_0x3064e3[_0x21aa44(0x69c)])!=null?_0x2e8d6e:_0x439f5['CollaborationSocketService']}],[_0x63ab19['ISnapshotServerService'],{'useClass':_0x439f5[_0x21aa44(0x61f)]}],[_0x2a6157[_0x21aa44(0x3e3)],{'useClass':_0x439f5[_0x21aa44(0x49a)]}],[_0x559dab[_0x21aa44(0x5a5)],{'useClass':_0x439f5[_0x21aa44(0x32e)]}],[_0x439f5[_0x21aa44(0x314)]],[_0x439f5[_0x21aa44(0x21d)]],[_0x439f5[_0x21aa44(0x43e)]],[_0x481a76],[_0x38e1cd]];(_0x47f959=this[_0x21aa44(0x460)])!=null&&_0x47f959[_0x21aa44(0x2bf)]&&_0x7f61fe[_0x21aa44(0x67d)]([_0x4eeee0,{'useClass':_0x1af1cf}]),_0x2a6157[_0x21aa44(0x2ea)](this[_0x21aa44(0x4b6)],_0x2a6157[_0x21aa44(0x401)](_0x7f61fe,(_0x182a0f=this[_0x21aa44(0x460)])==null?void 0x0:_0x182a0f[_0x21aa44(0x20c)]));}[_0x1bb47d(0x4d0)](){const _0xa8327e=_0x1bb47d;this[_0xa8327e(0x20d)](this[_0xa8327e(0x5f4)][_0xa8327e(0x52b)](_0x2a6157['UniverInstanceType'][_0xa8327e(0x328)],[_0x4815f9])),this[_0xa8327e(0x20d)](this[_0xa8327e(0x5f4)][_0xa8327e(0x52b)](_0x2a6157[_0xa8327e(0x1ff)]['UNIVER_SHEET'],[_0x305653]));}['_initDependencies'](){const _0x52c06e=_0x1bb47d;var _0x4274ae,_0x170a10;this[_0x52c06e(0x4b6)][_0x52c06e(0x55e)](_0x145c4f[_0x52c06e(0x255)])[_0x52c06e(0x634)]({'priority':0x14,'interceptor':_0x145c4f[_0x52c06e(0x3b7)]({'maxParallel':0x6})}),(_0x4274ae=this['_config'])!=null&&_0x4274ae['enableOfflineEditing']||this[_0x52c06e(0x4b6)][_0x52c06e(0x55e)](_0x439f5[_0x52c06e(0x3f2)])[_0x52c06e(0x4db)](),(_0x170a10=this['_config'])!=null&&_0x170a10[_0x52c06e(0x3cb)]&&_0x2a6157[_0x52c06e(0x1cc)](this['_injector'],[[_0x32d92e]]),_0x2a6157[_0x52c06e(0x1cc)](this[_0x52c06e(0x4b6)],[[_0x501547],[_0x38e1cd],[_0x439f5[_0x52c06e(0x21d)]],[_0x439f5['CollaborationController']],[_0x439f5[_0x52c06e(0x43e)]],[_0x441be0]]);}},_0x1056f3(_0x439f5[_0x1bb47d(0x37e)],_0x1bb47d(0x618),_0x4a9a8a),_0x439f5[_0x1bb47d(0x37e)]=_0x5bd88d([_0x2a6157[_0x1bb47d(0x297)](_0x63ab19[_0x1bb47d(0x5a6)],_0x145c4f[_0x1bb47d(0x45e)]),_0x239ac4(0x1,_0x2a6157[_0x1bb47d(0x5b9)]),_0x239ac4(0x2,_0xf19b5a['IRenderManagerService']),_0x239ac4(0x3,_0x2a6157[_0x1bb47d(0x439)](_0x2a6157[_0x1bb47d(0x5a7)])),_0x239ac4(0x4,_0x2a6157[_0x1bb47d(0x65a)])],_0x439f5['UniverCollaborationClientPlugin']),_0x439f5[_0x1bb47d(0x4b7)]=_0x267bd9,_0x439f5[_0x1bb47d(0x5e5)]=_0x514403,_0x439f5['COLLAB_WEB_SOCKET_URL_KEY']=_0x1be3bc,_0x439f5[_0x1bb47d(0x687)]=_0x1e7227,_0x439f5['CollaborationStatusDisplay']=_0x409442,_0x439f5[_0x1bb47d(0x388)]=_0x1b88f9,_0x439f5[_0x1bb47d(0x3be)]=_0x3c4100,_0x439f5['HEARTBEAT_TIMEOUT_KEY']=_0x2a8762,_0x439f5[_0x1bb47d(0x2c5)]=_0x4bc590,_0x439f5['IURLService']=_0x179949,_0x439f5[_0x1bb47d(0x677)]=_0x3b829d,_0x439f5['LOGIN_URL_KEY']=_0x298781,_0x439f5['RETRY_CONNECTING_MAX_COUNT_KEY']=_0x287e3e,_0x439f5[_0x1bb47d(0x2a7)]=_0x4d1065,_0x439f5[_0x1bb47d(0x2a8)]=_0x90b128,_0x439f5['SNAPSHOT_URL_KEY']=_0x2ecd96,_0x439f5[_0x1bb47d(0x371)]=_0x1710c1,_0x439f5[_0x1bb47d(0x316)]=_0x571ce1,_0x439f5[_0x1bb47d(0x336)]=_0x33ed4b,_0x439f5[_0x1bb47d(0x61c)]=_0xccd654,_0x439f5[_0x1bb47d(0x468)]=_0x2481da,Object[_0x1bb47d(0x368)](_0x439f5,Symbol['toStringTag'],{'value':_0x1bb47d(0x3df)});}));
1
+ function _0x5645(_0x5b7307,_0x585e8d){const _0x554620=_0x5546();return _0x5645=function(_0x56453c,_0x1493cc){_0x56453c=_0x56453c-0x1d0;let _0x10a46e=_0x554620[_0x56453c];return _0x10a46e;},_0x5645(_0x5b7307,_0x585e8d);}function _0x5546(){const _0x19b308=['_localeService','UNIVER_PROJECT','@univerjs/telemetry','_transformService','create','svg','_renderManagerService','_createHelper','ref','close','offline','_collaborationSessionService','createSocket','Hasher','liveShareOperation','sheetID','DocIMEInputManagerService','HTTPRequest','ivSize','_getUploadFileURL','downloadEndpointUrl','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','min','ERROR_IMAGE','/universer-api/oidc/authpage','4707115SSVpFj','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','awaiting_with_pending','PERMISSION_DENIED','1em','pad','extend','redoState','Latin1','responseType','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','getActiveSheet','enableAuthServer','RichTextEditingMutation','get','subUnitId','newValue','/collaborator','sequenceExecute','$super','_loadSheet','__creator','restore','reduce','getValue','takeUntil','_startCollaboration','startColumn','labelPosition','cfg','session.collaboration-timeout','max','userID','confirm','getRandomValues','collabStatus.syncing','_transformHistoryAndStateStack','isEditing','@univerjs/sheets-ui','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_initStatusComponent','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','COLORS','updateOfflineData','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','ColorKit','_getUndoStack','_uiPartsService','univer-online-status-icon','HEARTBEAT_INTERVAL','_waitCount','@univerjs/core','clearTimeout','rxjs','onPointerLeave$','LOGIN_URL_KEY','incrementRevOfUnit','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','_docTransformSelectionsService','_handleHover','FETCH_MISSING','updatePermissionPoint','socket$','session.will-retry','onMissedChangesetFetched','OffLineSingle','_localCacheService','backgroundColor','saveImage','_draw','HttpImport','_online','_saveCache','has','_sheetTransformSelectionsService','getCollabEntity','_cachedData','CollaborationSessionService','top','RevisionService','onTransformSelections','_disableEditing','_hideTimer','@univerjs/docs','transformRemoteChangeset','for','_refreshCollabCursors','UniverDrawing','submit\x20changeset\x20error!','parseProtocolChangeset','INVALID_ARGUMENT','_resendTimeout','interceptor','UniverCollaboration','unit','useDependency','contains','round','UserManagerService','_clearLocalCache','react.fragment','_registerRenderDependencies','Inject','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_imageSourceCache','JOIN','_backgroundColor','/allowed','getOffsetConfig','debounce','?size=','getMergeData','enableOfflineEditing','_getAPIPrefix','file','OTHER_CLIENTS_EDITING','exhaustSavingTask','onRemoteChangeset','_getAPIPrefixPath','ACTIVE_UNIT_EVENT_CHANNEL','_HTTPService','collaboration_new_changeset','NOT_COLLAB','currentSkeleton$','_socketMessageSubscription','\x0aCurrent:\x20','/unit/','ReplaySubject','/block/','onTransformRemoteChangesetByStateCache','encrypt','@univerjs/docs-ui','error$','PasswordBasedCipher','getSheetBySheetId','CollaborationStatusDisplay','_ENC_XFORM_MODE','@univerjs/engine-formula','getSkeleton','_lockTransition','setParam','throttleTime','DocSkeletonManagerService','InsertRangeMoveDownCommandId','getConfig','_members','ERROR_IMAGE_TYPE','AWAITING_WITH_PENDING','SnapshotService','sessionStatus','Disposable','_updateLocalCursor','symbol','/object','_collaborationTimeoutTimer','textEncoder','InsertColCommandId','_cursors','combineLatest','none','some','sheetId','handleIRemoveCol','resize','telemetry\x20info\x20is\x20not\x20initialized','#fff','add','Shape','onPointerMove$','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_memberService','UNKNOWN_CMD','concatMap','commentUpdateEvent','map','MemberService','size','_transformStateCache','Error','[DataLoaderController]','pending','_startTelemetryCollaborationNewChangeset','translate(.97)','@univerjs/rpc','37190duhTZJ','compute','SUCCUSS','_httpService','words','objectID','_sender','undoState','OpenSSL','_doProcessBlock','startsWith','createInstance','_listenToOfflineEvent','LOCAL_CACHE_INTERVAL','replace','InsertRowCommandId','on-line-single_clip0_910_349','_xformMode','CompressMutationService','LIVESHARE_NEW_HOST','_transformSelections','sid','_socketReady','_sessions','_doFinalize','liveShareNewHost','ISnapshotServerService','UNIVER_SLIDE','IConfigService','awaitingChangeset','ImageSourceType','toString','AuthzIoHttpService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','UNAUTHENTICATED','revision','send','_sessionStatus$','DeleteRangeMoveUpCommandId','UniverSheetsUi','random','abs','deleteCollaborator','asObservable','NO_OTHER_CLIENTS_EDITING','RemoveRowCommandId','_stopTelemetryCollaborationNewChangeset','handleInsertCol','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','loadDoc','CollaborationSession','_transformRemoteChangesetByStateCache','3440574LjLOZK','message$','touchDependencies','_compressMutationService','_socket$','_http','USERS_ENTER','updatePermissionObjEvent','@univerjs/sheets','_toggleOnline','UPDATE_CURSOR','m1Prime','HEARTBEAT_TIMEOUT_KEY','YUUMI_URL_COL_OUT_OF_RANGE','BehaviorSubject','handleIRemoveRow','transformByState','fillRule','src','0\x200\x2016\x2016','makeDirty','CommentService','getRelativeToViewportCoord','_onRemoteRetry','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','transform','onlineStatusTitle','clamp','Cipher','fetchThroughInterceptors','_isPermissionRej','_drawTextRange','history','onReady','image/gif','randomUUID','...','_doCryptBlock','activeSheet$','_textBubble','connection\x20error','reqId','COMMENT_UPDATE','collabStatus.offline','_getSheetObject','_syncEditingCollabCursor','WebSocketService','IImageIoService','dispose','_oKey','_onLocalMutation','searchParams','m2Prime','_refRangeService','processBlock','getParam','INTERNAL_ERROR','MergeInterceptorFactory','closeSession','resolve','NOT_FOUND','url(#off-line-single_clip0_910_343)','_candidateSocket','includes','Vector2','msCrypto','@univerjs/drawing','UPDATE_PERMISSION_OBJ','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','DocSelectionManagerService','syncEditingCollabCursor','_scheduleCollaborationTimeoutTimer','_remoteChangesetQueue','_resendTimer','result','onStarting','Subject','jsxs','memberID','ERROR_EXCEED_SIZE','_selfUnitIDs','_cursorShapes','repeat','getTypeOfUnitDisposed$','_initDependencies','InsertSheetMutation','getCurrentUser','/universer-api/authz','_throwTelemetryCollaborationNewChangeset','retryConnectingInterval','CipherParams','Plugin','LICENSE_EXPORT_SIZE_EXCEEDED','onlyLocal','ICommandService','[CollaborationState]:\x20apply\x20error!','PSEUDO_FETCH_MISSING_RESULT','createIdentifier','selections','colorChannel1','resend','collabStatus.fetchMiss','_change$','unpad','_setupBeforeClosingHandler','IUndoRedoService','mode','hovered','rxjs/operators','getTime','clone','IRemoteInstanceService','JOINING','_state$','_sendHeartbeatTimer','LOCAL_CACHE_INTERVAL_KEY','ranges','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_replaceFileID','merge','_status$','_getAnchorBounding','DocStateChangeManagerService','_onCombEvent','substr','NodePositionConvertToRectRange','toggleOffline','_entities','RECT','format','IUniverInstanceService','onTransformState','disposeWithMe','addObjects','assignAColorForMemberID','row','actions','COLLAB_SUBMIT_CHANGESET_URL_KEY','key','deepClone','_range','_updateURLWithCurrentState','findNodePositionByCharIndex','split','workbook','onStateChange','_createHmacHelper','YUUMI_UNABLE_LOAD_URL','useCallback','splice','react','attrs','snapshotServerUrl','CHANGESET_ACK','on-line-single','type','SEND_CHANGESET_TIMEOUT','textRanges','editingUnit','_createInitialState','parse','BuiltInUIPart','unitID','726EFNAml','UnitEmbedded','decryptBlock','Base','getCurrentUnitForType','setCurrentUser','CHANGESET_REJ','VIEWPORT_KEY','floor','_context','fromCollab','WebURLService','unitId\x20is\x20not\x20found','image/bmp','_state','SnapshotServerOverHTTPService','HMAC','transformMutationsWithChangeset','_scheduleTimestamp','/object/','_onRemoteChangeset','json','measureText','BlockCipherMode','urlChange$','bind','width','collabStatus.notCollab','_hash','evenodd','_schedule','COLLAB_SUBMIT_CHANGESET_URL','_map','M0\x200H16V16H0z','EvpKDF','url','signUrlServerUrl','_undoStacks','_saveTaskMap','isInternalEditorID','Optional','_socket','init','APPLY_PERMISSION_DENIED','_queuedRemoteChangesets','VIEW_MAIN','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','stringify','getOwnPropertyDescriptor','_permissionService','_onConnectionFailed','SUBMIT_CHANGESET','editing\x20status\x20changed\x20to','ciphertext','LEAVE','list','&to=','DependentOn','algo','react.element','getCoordByCell','keySize','_transformPreviousActiveRange','LIVESHARE_FETCH_OPERATIONS','reconnect','DOC_RANGE_TYPE','UniverCollaborationClientPlugin','/universer-api/stream/file/upload','collaboration-client.config','shareReplay','getDocRanges','_process','sigBytes','AES','transformChangesets','amd','transformSelections','_telemetryInfo','_showConflictNotification','_removeCollabCursors','_handleJoinEvent','_removeClearOtherTimer','collabStatus.synced','ILocalStorageService','getUnitOnRev','SheetCollabCursorShape','verdancy600','prototype','encodeURIComponent','name','call','_listenToOnlineEvent','APPLY_NON_SEQUENTIAL_REVISION','encryptBlock','_collaborationController','executeCommand','now','objectType','with','updateCollaborator','_getCurrentRevision','compose','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','SetWorksheetActivateCommand','replaceState','AUTHZ_URL_KEY','push','mergeOverrideWithDependencies','?url=','selection','_snapshotServerService','loadOfflineData','crypto','_registerDependencies','readInt32LE','setTimeout','next','getViewport','_onRemoteRejected','getImageSourceCache','defineProperty','ONLINE','_urlService','getUnit','joinRsp','{fileID}','routeKey','createEncryptor','getDeserializedSheetBlock','_data','COMPRESS_MUTATION_APPLY','_beforeCloseService','propertyIsEnumerable','_keyPriorReset','_substituteRedoStack','_cipher','_onConflict','_updateState','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_document','image/png','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_colorIndex','isTransformChangesetsSuccess','url(#$1','NodePositionConvertToCursor','_transformStack','tag','/-/object/list','off-line-single_clip0_910_343','synced','_unlockTransition','allowed','_notificationService','UniverTelemetry','CHANGESET_SHOULD_RETRY','/universer-api/comb','_docSkeleton','formatter','setAlpha','TRANSFORM_CHANGE_OBSERVABLE_TYPE','DesktopCollaborationStatusDisplayController','LocalCacheService','finalize','text','_getSignURL','location','roomMembers','_handleEvent','_send','fillText','transformStateCache','onSendChangeset','enableSingleActiveInstanceLock','_replayCachedMutations','IDLE','baseRev','permission.title','loginUrlKey','ThemeService','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','UNRECOGNIZED','current','entries','collaboratorID','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','length','_transformUndoredo','refreshPermission','_ensureSubject','method','getOwnPropertySymbols','4476664UkHsRb','_docSkeletonManagerService','getUnitType','setShapeProps','loadSheet','session','forwardRef','image/jpeg','operators','_cursorInfo$','lineTo','save\x20fail\x20reason\x20is\x20','_cursor','setStateCache','OFFLINE','serializeRangeWithSheet','collabCursorState$','status$','switchMap','getRoom','_waitForHeartbeatResponse','_docSyncEditingCollabCursorService','onRemoteAck','getCurrentSelections','collaMsg','authzUrl','WorkbookEditablePermission','defs','permissionRejEvent','getUndoRedoMutationParamsCache','_snapshotService','xlink:href','toDisposable','_anchorDot','_handler','_onJoinRoomEvent','Warning','USERS_LEAVE','[CollaborationUndoRedoService]','Unknown\x20user','div','_clearTimeoutTimer','every','currentTheme$','_drawAnchor','_append','leaveEvent','SNAPSHOT_SERVER_URL_KEY','delay','indexOf','#FFF','_ws','_nDataBytes','Undefined','_initRequestHeader','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','univer-online-status-title','_updateCollabCursors','unknown','isPermissionRej','COMPLETION_FINISHED','originalMeta','ITelemetryService','@univerjs/network','ws://127.0.0.1:8000/universer-api/comb/connect','url(#on-line-single_clip0_910_349)','padding','_redoStacks','MUTATION','range','[FetchMissState]','SheetPermissionInitController','concat','_updateLocalCache','onCommandExecuted','isTransformMutationFailure','onlineStatus','RxDisposable','onlineStatusIcon','event$','find','fromEvent','getUnitId','TOO_MANY_REQUESTS','getSheetBlock','hasOwnProperty','UniverSheets','RECV','_anchor','collaboration.single-unit.warning','handleMoveRange','_substituteUndoStack','cursorInfo','sessionStatus$','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','_sheetSkeletonManagerService','jsx','_rescheduleHeartbeat','onRemoteRej','UniverInstanceType','arc','focused$','MD5','UniverUi','_changesetSessionId','_id','ceil','registerOnClose','_commentUpdate$','children','distinctUntilChanged','_scheduleSaving','disposeUnit','listCollaborators','HELLO','_injector','HmacSHA1','engine','getAncestorScale','_prevBlock','_clearRedo','equals','unload','object','useObservable','registerHTTPInterceptor','_timeoutTimer','_collabCursorController','_unitID','auth.needGotoLoginAlert','_unitStatus','_removeRoom','roomMembers$','_decreaseWaiting','SessionStatus','show','conflict','mapDocumentTypeToUniverType','isTransformMutationsWithChangesetFailure','_transformIMECache','error','action','[CollaborationSession]','charCodeAt','BlockCipher','substring','_reverseMap','_getRedoStack','save','function','_hasher','hasher','_lastPointer','SheetSkeletonManagerService','_createSocket','IPermissionService','toggleOnline','EffectRefRangId','POST','univer-online','_getSnapshotAPIPrefix','_exhaustRemoteChangesetQueue','isActive','_updateSubUnitFromURLParams','setConfig','requireSession','roles','[CollaborationEntity]','code','Hex','CollaborationStatus','IRenderManagerService','fetchMissingChangesets','bottom','toLowerCase','unshift','apply','onload','getColor','join','reset','color','toRgbString','_session','getInterceptPoints','saveChangeset','_key','_retryCount','subscribeEvent','pauseCollaboration','HEARTBEAT','_instanceService','createElement','LICENSE_MAX_UNITS_EXCEEDED','idSuffix','RefRangeService','target','trim','exports','DeleteRangeMoveLeftCommandId','WordArray','_getCtorByUniverType','_scheduleClearOtherTimer','MessageType','_disabled','from','requestParams','doc.mutation.rich-text-editing','kdf','BASE64','MSG_FOR_ERROR','cmd','triggerDblclick','getLatestCsReqIdBySid','_checkMissing','override','SNAPSHOT_URL_KEY','_onCursorUpdate','Tools','sendChangesetTimeout','_fetchMissChangesets','collab-rect-range-','_resendWithTimeout','Utf8','_transformRemoteChangesetByIMECache','_incrementRevisionNumber','getSheetId','mixIn','_userManagerService','startRow','_onRecvEvent','getTypeOfUnitAdded$','createDecryptor','drawWith','image/jpg','getUnitStatus$','_clearCollaborationTimeoutTimer','withCredentials','unitId','HTTPService','SEND_CHANGESET_TIMEOUT_KEY','socket\x20open.','_univerInstanceService','RETRY_CONNECTING_MAX_COUNT_KEY','ITransformService','/new_changes','SNAPSHOT_INVALID_SNAPSHOT','isArray','UniverDocs','update','_localStorageService','BufferedBlockAlgorithm','default','__esModule','all','execute','_setupSubUnitSync','_applyRemoteChangeset','collab-text-range-','@univerjs-pro/collaboration','1536648QIOFGV','CONNECTOR_DATA_TOO_LARGE','uploadFileServerUrl','_DEC_XFORM_MODE','setShowComponents','_getLoginPath','skeleton','getStateCache','_invKeySchedule','Pkcs7','setActiveRange','_initEventListeners','_shapes','_acknowledgedAwaitingChangeset','column','LIVESHARE_REQUEST_HOST','DEFAULT_FILE_NAME','defaultProps','pipe','append','getImage','font','getCurrentRevOfUnit','open$','hostname','_sendingTimer','[OfflineState]:\x20received\x20acknowledgement.','number','getCollabCursors$','ENSURE_SNAPSHOT_EXECUTION','getSheetObject','IMessageService','ICollaborationSocketService','[PendingState]:\x20received\x20acknowledgement.','COLLAB_WEB_SOCKET_URL','clear','mapTo','values','subscribe','x-univer-host','/universer-api/snapshot/','/rev/','IAuthzIoService','UNIVER_DOC','_clearUndo','conflict.title','_colorAssignService','onMouseMove','generateRandomId','debug','NoPadding','DataLoaderController','_startDocCollabCursor','encode','_onRemoteACK','SYNCED','_minBufferSize','_onCursorDelete','OnLineSingle','_changesetReqId','isTransformMutationsWithChangesetSuccess','_sendHeartbeat','removeMember','753507JergKt','onTransformChange$','newCsEvent','CBC','LocaleService','[OfflineState]:\x20received\x20rejection.','CollaborationSocketService','_commentService','enc','awaiting','put','_render','IContextService','getCollabEntity$','_retryConnectingTimer','clipPath','getAllMembers','LICENSE_DISTRO_REJECTED','HEADER_MENU','mutations','subunit','_toggleOffline','registerBeforeClose','catch','path','_getSaveTimeout','setInterval','then','patch','UnitSnapshot','getFocusedUnit','ImageIoService','__Key__','addObject','updateMember','decrypt','_mode','fetchMiss','TEXT_RANGE_LAYER_INDEX','_event$','[SyncedState]:\x20received\x20acknowledgement.','string','CONFLICT','DisposableCollection','onRendered','_drawRectRange','_roomMembers$','CHANGESET_REVISION_CONFILICT','_roomMembers','className','_clearHeartbeatTimer','disableLocalCache','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','byteLength','_tryEnsureSocket','closePath','_keySchedule','_heartbeatTimer','CommandType','_iv','registerComponent','Rectangle','_socketService','randomBytes','charAt','_unitOnClients','_createInitialStateImpl','LIVESHARE_OPERATION','onPointerEnter$','salt','status','_init','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','members','set','_hovered','DocCollaborationEntity','_doReset','transformMutation','_logService','changesets','complete','_awaitingChangeset','_docTransformStateCacheService','_singleActiveUnitService','_scheduleHeartbeat','SetDocZoomRatioOperation','LIVESHARE_TERMINATE','roomInfos','fillStyle','_handleHeartbeatEvent','_assignedColors','addEventListener','univer-online-status','lib','_getSendChangesetTimeout','dispose$','objects','getRangePointData','_joinRoom','_clearOtherTimers','delete','/role','collabSubmitChangesetUrl','ImageUploadStatusType','_shouldReportTelemetry','listRoles','HttpExport','/-/object/-/batch_allowed','_themeService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_telemetryService','fill','_transitionLocked','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','storage','snapshot','sheets','FromArray','saveSnapshot','rev','unit-cache-','_collabCursorState$','href','SHA1','_onMessage','SheetCollaborationEntity','fetch_missing','190587GQVKnj','LICENSE_IMPORT_SIZE_EXCEEDED','setItem','APPLY_REVISION_CONFILICT','slice','CollaborationController','black','NEW_CHANGESETS','_initMergeInterceptor','YUUMI_RATE_OVER_LIMIT','body','fetching\x20missing\x20changesets\x20from\x20','UniverCore','replaceDocRanges','_getDownloadEndpointURL','fromCharCode','onCommentUpdate','post','startTime','collaboration-client.offline-data-not-saved','StreamCipher','forEach','@univerjs/design','SNAPSHOT_HAS_BEEN_REMOVED','onRemoteRetry','appendMutation','[CollaborationSessionService]','byteOffset','COLLAB_WEB_SOCKET_URL_KEY','_tryReconnect','&source=','saveSheetBlock','_onConnectionOpen','_getScale','CollaborationEntity','_revisionService','CollaborationEvent','take','_commandService','transformIMECache','filter','unsubscribe','getRenderById','_startSheetCollabCursor','close$','UniverDesign','React','ILogService','SetTextSelectionsOperation','endColumn','csRejEvent','FAIL','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_configService','stopTime','6NdJoij','registerRefRange','FETCH_MISS','IBeforeCloseService','_onOffline','onTransformRemoteChangesetByIMECache','visibilityState','_parse','_name','_messageService','UNIVER_SHEET','debounceTime','_nRounds','_iKey','/resources','_updateStatus','params','reverse','_transformUndoRedoStack','assign','_handleLeaveEvent','UNDEFINED','hide','_undoRedoService','state$','_config','PERMISSION_REJ','_scene','csShouldRetryEvent','_docStateChangeManagerService','hidden','cursorInfo$','_clearScheduledTask','EmptyMutation','_submitChangeset','Tooltip','_syncEditingCollabCursorService','UNKNOWN_CODE','onSyncEditingCollabCursor','Univer','transformUndoRedo','onMissingChangesets','headers','jiqing500','_initCommandExecutedListener','socketService','SetSelectionsOperation','getMemberID','_collabSessionService','_pendingMutations','_hover','MoveRangeCommandId','_eventUnsubscribe','Base64','parseChangesetToProtocol','origin','clearInterval','APPLY_DUPLICATED','moveTo','univerjs-icon\x20univerjs-icon-','collaboration-session-retry','visibilitychange','YUUMI_SUBSCRIPTION_NOT_FOUND','UniverNetworkPlugin','readAsDataURL','session.room-full','blockSize','_type','[PendingState]:\x20received\x20rejection.','SheetsSelectionsService','_executeRemoteChangeset','_initCloseConn','pushState','FileId','off-line-single','_loadDoc','data','defIds','_getMergeRange','ThresholdInterceptorFactory','UniverDocsUi','_onFetchMissResult','_labelPosition','ALREADY_EXISTS','_initUnitPermissionChange','APPLY_REJECT','sin','reject','\x0aAfter:\x20','_onUserLeave','getMember','Injector','displayName','PENDING','eventID','_entityInit$','[UniverCollaborationClientPlugin]','_initStatusListener','height','_createHandler','_collaborationPaused','registerDependencies','_onRefRangeChange','_color','@univerjs/engine-render'];_0x5546=function(){return _0x19b308;};return _0x5546();}(function(_0x560e19,_0x2ed353){const _0x130552=_0x5645,_0x20b73e=_0x560e19();while(!![]){try{const _0x583765=parseInt(_0x130552(0x4a8))/0x1+parseInt(_0x130552(0x4df))/0x2*(parseInt(_0x130552(0x428))/0x3)+parseInt(_0x130552(0x3e9))/0x4+parseInt(_0x130552(0x619))/0x5*(parseInt(_0x130552(0x225))/0x6)+-parseInt(_0x130552(0x561))/0x7+-parseInt(_0x130552(0x2e5))/0x8+-parseInt(_0x130552(0x64e))/0x9;if(_0x583765===_0x2ed353)break;else _0x20b73e['push'](_0x20b73e['shift']());}catch(_0xa85b7d){_0x20b73e['push'](_0x20b73e['shift']());}}}(_0x5546,0x95e34),function(_0xb472b0,_0x2627b0){const _0x37c060=_0x5645;typeof exports==_0x37c060(0x360)&&typeof module<'u'?_0x2627b0(exports,require(_0x37c060(0x594)),require('rxjs'),require(_0x37c060(0x1ee)),require(_0x37c060(0x4be)),require('@univerjs/ui'),require(_0x37c060(0x324)),require(_0x37c060(0x3e8)),require('@univerjs/telemetry'),require(_0x37c060(0x5e4)),require(_0x37c060(0x656)),require(_0x37c060(0x547)),require(_0x37c060(0x5b4)),require(_0x37c060(0x690)),require('@univerjs/engine-formula'),require(_0x37c060(0x587)),require(_0x37c060(0x218)),require(_0x37c060(0x618))):typeof define==_0x37c060(0x37a)&&define[_0x37c060(0x270)]?define([_0x37c060(0x3ab),_0x37c060(0x594),'rxjs',_0x37c060(0x1ee),_0x37c060(0x4be),'@univerjs/ui',_0x37c060(0x324),_0x37c060(0x3e8),_0x37c060(0x54a),_0x37c060(0x5e4),'@univerjs/sheets',_0x37c060(0x547),'@univerjs/docs',_0x37c060(0x690),_0x37c060(0x5ea),'@univerjs/sheets-ui',_0x37c060(0x218),_0x37c060(0x618)],_0x2627b0):(_0xb472b0=typeof globalThis<'u'?globalThis:_0xb472b0||self,_0x2627b0(_0xb472b0['UniverCollaborationClient']={},_0xb472b0[_0x37c060(0x4b4)],_0xb472b0[_0x37c060(0x596)],_0xb472b0['rxjs'][_0x37c060(0x2ed)],_0xb472b0[_0x37c060(0x4d5)],_0xb472b0[_0x37c060(0x34c)],_0xb472b0['UniverNetwork'],_0xb472b0[_0x37c060(0x5be)],_0xb472b0[_0x37c060(0x2bf)],_0xb472b0[_0x37c060(0x52f)],_0xb472b0[_0x37c060(0x33b)],_0xb472b0['UniverEngineRender'],_0xb472b0[_0x37c060(0x3dd)],_0xb472b0[_0x37c060(0x5b8)],_0xb472b0['UniverEngineFormula'],_0xb472b0[_0x37c060(0x640)],_0xb472b0[_0x37c060(0x4d6)],_0xb472b0['UniverRpc']));}(this,function(_0x3ef0c0,_0x10122e,_0x43beed,_0x107fd5,_0x4811a0,_0x3421c5,_0xbfbac5,_0x434c76,_0x1db2f7,_0x427cca,_0x43d50e,_0x3d8481,_0x48121f,_0x104985,_0x7655c5,_0x4a1dc3,_0x32ddec,_0x5a9b55){'use strict';const _0x270b48=_0x5645;var _0x1172a9=Object['defineProperty'],_0x8b1c32=(_0x4c58af,_0x387643,_0x8d13ac)=>_0x387643 in _0x4c58af?_0x1172a9(_0x4c58af,_0x387643,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x8d13ac}):_0x4c58af[_0x387643]=_0x8d13ac,_0x11da04=(_0x10bdee,_0x1fcae1,_0x6ea4f7)=>_0x8b1c32(_0x10bdee,typeof _0x1fcae1!=_0x270b48(0x5f9)?_0x1fcae1+'':_0x1fcae1,_0x6ea4f7);const _0x22bdd1='SNAPSHOT_SERVER_URL_KEY',_0x15f70a='/universer-api/snapshot',_0x34146a=_0x270b48(0x3bd),_0x453e31=_0x270b48(0x21e),_0x4b9331=_0x270b48(0x40b),_0x391104=_0x270b48(0x325),_0x413eda=_0x270b48(0x592),_0x4e1a95='HEARTBEAT_TIMEOUT',_0x57f6b8='RETRY_CONNECTING_MAX_COUNT',_0x42267c=_0x270b48(0x626),_0x162ce8=_0x270b48(0x244),_0x177b6e=_0x270b48(0x2c1),_0x4600e2=_0x270b48(0x598),_0x57c0a3=_0x270b48(0x560);var _0x44c59=(_0xfc9136=>(_0xfc9136[_0xfc9136[_0x270b48(0x4f4)]=0x0]=_0x270b48(0x4f4),_0xfc9136[_0xfc9136['OK']=0x1]='OK',_0xfc9136[_0xfc9136['INTERNAL_ERROR']=0x2]=_0x270b48(0x686),_0xfc9136[_0xfc9136['PERMISSION_DENIED']=0x3]=_0x270b48(0x564),_0xfc9136[_0xfc9136[_0x270b48(0x68a)]=0x4]=_0x270b48(0x68a),_0xfc9136[_0xfc9136[_0x270b48(0x63b)]=0x5]='UNAUTHENTICATED',_0xfc9136[_0xfc9136[_0x270b48(0x532)]=0x6]=_0x270b48(0x532),_0xfc9136[_0xfc9136[_0x270b48(0x5bb)]=0x7]=_0x270b48(0x5bb),_0xfc9136[_0xfc9136[_0x270b48(0x338)]=0x8]='TOO_MANY_REQUESTS',_0xfc9136[_0xfc9136[_0x270b48(0x321)]=0x9]='COMPLETION_FINISHED',_0xfc9136[_0xfc9136[_0x270b48(0x457)]=0x1389]=_0x270b48(0x457),_0xfc9136[_0xfc9136[_0x270b48(0x3db)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0xfc9136[_0xfc9136[_0x270b48(0x4bf)]=0x1772]=_0x270b48(0x4bf),_0xfc9136[_0xfc9136[_0x270b48(0x406)]=0x1773]=_0x270b48(0x406),_0xfc9136[_0xfc9136[_0x270b48(0x534)]=0x1b59]=_0x270b48(0x534),_0xfc9136[_0xfc9136[_0x270b48(0x281)]=0x1b5a]=_0x270b48(0x281),_0xfc9136[_0xfc9136[_0x270b48(0x4ab)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0xfc9136[_0xfc9136[_0x270b48(0x250)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0xfc9136[_0xfc9136[_0x270b48(0x518)]=0x1b5d]='APPLY_DUPLICATED',_0xfc9136[_0xfc9136[_0x270b48(0x3ea)]=0x1f41]=_0x270b48(0x3ea),_0xfc9136[_0xfc9136['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x270b48(0x3a6),_0xfc9136[_0xfc9136[_0x270b48(0x2af)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0xfc9136[_0xfc9136[_0x270b48(0x4a9)]=0x232b]=_0x270b48(0x4a9),_0xfc9136[_0xfc9136['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x270b48(0x1de),_0xfc9136[_0xfc9136[_0x270b48(0x439)]=0x232d]=_0x270b48(0x439),_0xfc9136[_0xfc9136[_0x270b48(0x215)]=0x2711]=_0x270b48(0x215),_0xfc9136[_0xfc9136[_0x270b48(0x65b)]=0x2712]=_0x270b48(0x65b),_0xfc9136[_0xfc9136[_0x270b48(0x4b1)]=0x2713]=_0x270b48(0x4b1),_0xfc9136[_0xfc9136[_0x270b48(0x51d)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0xfc9136[_0xfc9136['UNRECOGNIZED']=-0x1]=_0x270b48(0x2da),_0xfc9136))(_0x44c59||{}),_0x8439e8=(_0x31e553=>(_0x31e553[_0x31e553['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x31e553[_0x31e553[_0x270b48(0x414)]=0x1]=_0x270b48(0x414),_0x31e553[_0x31e553[_0x270b48(0x4e9)]=0x2]='UNIVER_SHEET',_0x31e553[_0x31e553[_0x270b48(0x634)]=0x3]=_0x270b48(0x634),_0x31e553[_0x31e553[_0x270b48(0x549)]=0x4]=_0x270b48(0x549),_0x31e553[_0x31e553[_0x270b48(0x2da)]=-0x1]='UNRECOGNIZED',_0x31e553))(_0x8439e8||{}),_0x341a2a=(_0x498e59=>(_0x498e59[_0x498e59[_0x270b48(0x60c)]=0x0]=_0x270b48(0x60c),_0x498e59[_0x498e59[_0x270b48(0x357)]=0x1]=_0x270b48(0x357),_0x498e59[_0x498e59[_0x270b48(0x5ca)]=0x2]='JOIN',_0x498e59[_0x498e59[_0x270b48(0x25b)]=0x3]=_0x270b48(0x25b),_0x498e59[_0x498e59['INGEST']=0x4]='INGEST',_0x498e59[_0x498e59['HEARTBEAT']=0x5]=_0x270b48(0x3a3),_0x498e59[_0x498e59['RECV']=0x6]=_0x270b48(0x33c),_0x498e59[_0x498e59['UNRECOGNIZED']=-0x1]=_0x270b48(0x2da),_0x498e59))(_0x341a2a||{}),_0x479490=(_0x159a25=>(_0x159a25[_0x159a25[_0x270b48(0x504)]=0x0]=_0x270b48(0x504),_0x159a25[_0x159a25['OK']=0x1]='OK',_0x159a25[_0x159a25[_0x270b48(0x4db)]=0x2]='FAIL',_0x159a25[_0x159a25[_0x270b48(0x2da)]=-0x1]=_0x270b48(0x2da),_0x159a25))(_0x479490||{}),_0x1b022a=(_0x430341=>(_0x430341[_0x430341[_0x270b48(0x31a)]=0x0]='Undefined',_0x430341[_0x430341['HttpImport']=0x1]=_0x270b48(0x5a7),_0x430341[_0x430341[_0x270b48(0x493)]=0x2]=_0x270b48(0x493),_0x430341[_0x430341[_0x270b48(0x226)]=0x3]=_0x270b48(0x226),_0x430341[_0x430341[_0x270b48(0x445)]=0x4]=_0x270b48(0x445),_0x430341[_0x430341[_0x270b48(0x2da)]=-0x1]=_0x270b48(0x2da),_0x430341))(_0x1b022a||{});const _0x100cc6=_0x270b48(0x269),_0x3d48e6={};function _0x10f4c5(_0x2d815b){const _0x16ace0=_0x270b48;var _0xc1be16,_0x480a34,_0x1408ae,_0x267d45,_0x2ea108;const _0x49742e=_0x2d815b[_0x16ace0(0x52b)],_0x591935=JSON[_0x16ace0(0x222)](_0x49742e);switch(_0x591935[_0x16ace0(0x3b8)]){case _0x341a2a['HEARTBEAT']:case _0x341a2a['HELLO']:{const _0x219682=_0x591935['infoRsp'];return{..._0x591935,'data':_0x219682,'cmd':_0x591935['cmd']};}case _0x341a2a['JOIN']:{const _0x1f8c30=_0x591935[_0x16ace0(0x2a1)];return{..._0x591935,'data':_0x1f8c30,'cmd':_0x591935[_0x16ace0(0x3b8)]};}case _0x341a2a['RECV']:{const _0xb5491d=_0x591935[_0x16ace0(0x2fd)];switch(_0xb5491d[_0x16ace0(0x53d)]){case _0x434c76[_0x16ace0(0x4cc)]['PERMISSION_REJ']:return{..._0x591935,'data':{..._0xb5491d,'data':(_0xc1be16=_0xb5491d[_0x16ace0(0x301)])==null?void 0x0:_0xc1be16['cs']},'cmd':_0x591935['cmd']};case _0x434c76[_0x16ace0(0x4cc)][_0x16ace0(0x21b)]:return{..._0x591935,'data':{..._0xb5491d,'data':(_0x480a34=_0xb5491d['csAckEvent'])==null?void 0x0:_0x480a34['cs']},'cmd':_0x591935[_0x16ace0(0x3b8)]};case _0x434c76[_0x16ace0(0x4cc)]['NEW_CHANGESETS']:return{..._0x591935,'data':{..._0xb5491d,'data':(_0x1408ae=_0xb5491d[_0x16ace0(0x42a)])==null?void 0x0:_0x1408ae['cs']},'cmd':_0x591935[_0x16ace0(0x3b8)]};case _0x434c76[_0x16ace0(0x4cc)][_0x16ace0(0x22b)]:return{..._0x591935,'data':{..._0xb5491d,'data':(_0x267d45=_0xb5491d[_0x16ace0(0x4da)])==null?void 0x0:_0x267d45['cs']},'cmd':_0x591935[_0x16ace0(0x3b8)]};case _0x434c76[_0x16ace0(0x4cc)]['CHANGESET_SHOULD_RETRY']:return{..._0x591935,'data':{..._0xb5491d,'data':(_0x2ea108=_0xb5491d[_0x16ace0(0x4fb)])==null?void 0x0:_0x2ea108['cs']},'cmd':_0x591935[_0x16ace0(0x3b8)]};case _0x434c76[_0x16ace0(0x4cc)][_0x16ace0(0x658)]:return{..._0x591935,'data':{..._0xb5491d,'data':_0xb5491d['updateCursorEvent']},'cmd':_0x591935[_0x16ace0(0x3b8)]};case _0x434c76[_0x16ace0(0x4cc)][_0x16ace0(0x654)]:return{..._0x591935,'data':{..._0xb5491d,'data':_0xb5491d['joinEvent']},'cmd':_0x591935[_0x16ace0(0x3b8)]};case _0x434c76['CollaborationEvent'][_0x16ace0(0x30a)]:return{..._0x591935,'data':{..._0xb5491d,'data':_0xb5491d[_0x16ace0(0x313)]},'cmd':_0x591935['cmd']};case _0x434c76[_0x16ace0(0x4cc)][_0x16ace0(0x62c)]:return{..._0x591935,'data':{..._0xb5491d,'data':_0xb5491d['liveShareNewHost']},'cmd':_0x591935['cmd']};case _0x434c76[_0x16ace0(0x4cc)]['LIVESHARE_FETCH_OPERATIONS']:case _0x434c76[_0x16ace0(0x4cc)][_0x16ace0(0x46b)]:return{..._0x591935,'data':{..._0xb5491d,'data':_0xb5491d[_0x16ace0(0x556)]},'cmd':_0x591935['cmd']};case _0x434c76[_0x16ace0(0x4cc)]['LIVESHARE_TERMINATE']:return{..._0x591935,'data':{..._0xb5491d,'data':_0xb5491d[_0x16ace0(0x632)]},'cmd':_0x591935[_0x16ace0(0x3b8)]};case _0x434c76[_0x16ace0(0x4cc)]['MSG_FOR_ERROR']:return{..._0x591935,'data':_0xb5491d,'cmd':_0x591935[_0x16ace0(0x3b8)]};case _0x434c76[_0x16ace0(0x4cc)][_0x16ace0(0x678)]:return{..._0x591935,'data':{..._0xb5491d,'data':_0xb5491d[_0x16ace0(0x60e)]},'cmd':_0x591935[_0x16ace0(0x3b8)]};case _0x434c76['CollaborationEvent'][_0x16ace0(0x691)]:return{..._0x591935,'data':{..._0xb5491d,'data':_0xb5491d[_0x16ace0(0x655)]},'cmd':_0x591935['cmd']};case _0x434c76['CollaborationEvent']['SHOULD_CLOSE_CONN']:return{..._0x591935,'data':{..._0xb5491d,'data':_0xb5491d['shouldCloseConn']},'cmd':_0x591935[_0x16ace0(0x3b8)]};default:return _0x591935;}}default:return _0x591935;}}function _0x34a15b(_0x411505){const _0x1a95fe=_0x270b48;switch(_0x411505[_0x1a95fe(0x3b8)]){case _0x341a2a[_0x1a95fe(0x3a3)]:case _0x341a2a[_0x1a95fe(0x357)]:return JSON[_0x1a95fe(0x254)]({'cmd':_0x411505[_0x1a95fe(0x3b8)],'routeKey':_0x411505[_0x1a95fe(0x2a3)]});case _0x341a2a['INGEST']:{let _0x11b0e2;switch(_0x411505['data'][_0x1a95fe(0x53d)]){case _0x434c76['CollaborationEvent']['UPDATE_CURSOR']:{_0x11b0e2={'eventID':_0x434c76[_0x1a95fe(0x4cc)]['UPDATE_CURSOR'],'updateCursorEvent':_0x411505[_0x1a95fe(0x52b)][_0x1a95fe(0x52b)]};break;}case _0x434c76['CollaborationEvent'][_0x1a95fe(0x30a)]:{_0x11b0e2={'eventID':_0x434c76[_0x1a95fe(0x4cc)][_0x1a95fe(0x30a)],'leaveEvent':_0x411505[_0x1a95fe(0x52b)][_0x1a95fe(0x52b)]};break;}case _0x434c76[_0x1a95fe(0x4cc)][_0x1a95fe(0x654)]:{_0x11b0e2={'eventID':_0x434c76[_0x1a95fe(0x4cc)]['USERS_ENTER'],'joinEvent':_0x411505[_0x1a95fe(0x52b)][_0x1a95fe(0x52b)]};break;}case _0x434c76[_0x1a95fe(0x4cc)][_0x1a95fe(0x62c)]:{_0x11b0e2={'eventID':_0x434c76[_0x1a95fe(0x4cc)][_0x1a95fe(0x62c)],'liveShareNewHost':_0x411505['data'][_0x1a95fe(0x52b)]};break;}case _0x434c76[_0x1a95fe(0x4cc)]['LIVESHARE_OPERATION']:{_0x11b0e2={'eventID':_0x434c76[_0x1a95fe(0x4cc)][_0x1a95fe(0x46b)],'liveShareOperation':_0x411505[_0x1a95fe(0x52b)][_0x1a95fe(0x52b)]};break;}case _0x434c76[_0x1a95fe(0x4cc)][_0x1a95fe(0x47f)]:{_0x11b0e2={'eventID':_0x434c76['CollaborationEvent']['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x411505['data'][_0x1a95fe(0x52b)]};break;}case _0x434c76['CollaborationEvent'][_0x1a95fe(0x3f8)]:{_0x11b0e2={'eventID':_0x434c76[_0x1a95fe(0x4cc)][_0x1a95fe(0x3f8)],'liveShareRequestHost':_0x411505[_0x1a95fe(0x52b)][_0x1a95fe(0x52b)]};break;}case _0x434c76[_0x1a95fe(0x4cc)][_0x1a95fe(0x264)]:{_0x11b0e2={'eventID':_0x434c76[_0x1a95fe(0x4cc)][_0x1a95fe(0x264)]};break;}default:_0x11b0e2={'eventID':_0x411505['data'][_0x1a95fe(0x53d)]};}return JSON[_0x1a95fe(0x254)]({'cmd':_0x411505[_0x1a95fe(0x3b8)],'routeKey':_0x411505[_0x1a95fe(0x2a3)],'collaMsg':_0x11b0e2});}case _0x341a2a['JOIN']:return JSON[_0x1a95fe(0x254)]({'cmd':_0x411505[_0x1a95fe(0x3b8)],'routeKey':_0x411505[_0x1a95fe(0x2a3)],'joinReq':_0x411505[_0x1a95fe(0x52b)]});case _0x341a2a['LEAVE']:return JSON[_0x1a95fe(0x254)]({'cmd':_0x411505[_0x1a95fe(0x3b8)],'routeKey':_0x411505[_0x1a95fe(0x2a3)],'leaveReq':_0x411505[_0x1a95fe(0x52b)]});default:throw new Error(_0x1a95fe(0x28b));}}var _0x6fe076=Object[_0x270b48(0x29d)],_0x491fc6=Object[_0x270b48(0x255)],_0x35aca7=(_0x23087c,_0x21681d,_0x4a76b4,_0x484e96)=>{const _0x2efe4b=_0x270b48;for(var _0x201d5d=_0x484e96>0x1?void 0x0:_0x484e96?_0x491fc6(_0x21681d,_0x4a76b4):_0x21681d,_0x4506dc=_0x23087c[_0x2efe4b(0x2df)]-0x1,_0x456cea;_0x4506dc>=0x0;_0x4506dc--)(_0x456cea=_0x23087c[_0x4506dc])&&(_0x201d5d=(_0x484e96?_0x456cea(_0x21681d,_0x4a76b4,_0x201d5d):_0x456cea(_0x201d5d))||_0x201d5d);return _0x484e96&&_0x201d5d&&_0x6fe076(_0x21681d,_0x4a76b4,_0x201d5d),_0x201d5d;},_0x551c66=(_0x2120d3,_0x569211)=>(_0x3021e7,_0x21a023)=>_0x569211(_0x3021e7,_0x21a023,_0x2120d3);const _0x10766f=_0x10122e[_0x270b48(0x1e3)]('univer-pro.collaboration-client-socket-service');function _0x19d92a(_0x1b9dfd,_0xa27f00,_0x2ce9be){const _0x3ac1a9=_0x270b48;return _0x1b9dfd+'/'+_0xa27f00+_0x3ac1a9(0x5df)+_0x2ce9be+_0x3ac1a9(0x3da);}_0x3ef0c0[_0x270b48(0x42e)]=class extends _0x10122e['Disposable']{constructor(_0x5d1c97,_0x3ac03c,_0x3d23d4,_0x2934a4,_0x2256f9){const _0x235761=_0x270b48;super(),this['_http']=_0x5d1c97,this[_0x235761(0x318)]=_0x3ac03c,this[_0x235761(0x4dd)]=_0x3d23d4,this[_0x235761(0x477)]=_0x2934a4,this[_0x235761(0x293)]=_0x2256f9;}[_0x270b48(0x554)](_0x2f1872){const _0x56ba9a=_0x270b48,_0x112168=this[_0x56ba9a(0x318)]['createSocket'](_0x2f1872);if(!_0x112168)throw new Error(_0x56ba9a(0x1f7));const _0x2b169e=new _0x10122e[(_0x56ba9a(0x453))](),_0x475ca6=new _0x43beed[(_0x56ba9a(0x69a))]();_0x2b169e[_0x56ba9a(0x607)](_0x112168[_0x56ba9a(0x4d4)][_0x56ba9a(0x40f)](_0x4594ef=>_0x475ca6[_0x56ba9a(0x299)](_0x4594ef))),_0x2b169e['add'](_0x10122e[_0x56ba9a(0x305)](()=>_0x475ca6['complete']()));const _0xb0e0bf=new _0x43beed[(_0x56ba9a(0x69a))]();_0x2b169e[_0x56ba9a(0x607)](_0x112168[_0x56ba9a(0x5e5)][_0x56ba9a(0x40f)](_0x138263=>_0xb0e0bf[_0x56ba9a(0x299)](_0x138263))),_0x2b169e['add'](_0x10122e[_0x56ba9a(0x305)](()=>_0xb0e0bf['complete']()));const _0x143e48=new _0x43beed[(_0x56ba9a(0x69a))]();_0x2b169e[_0x56ba9a(0x607)](_0x112168[_0x56ba9a(0x64f)][_0x56ba9a(0x40f)](_0x4fca1c=>{const _0x54c773=_0x56ba9a,_0x515669=_0x10f4c5(_0x4fca1c);_0x143e48[_0x54c773(0x299)](_0x515669);})),_0x2b169e[_0x56ba9a(0x607)](_0x10122e[_0x56ba9a(0x305)](()=>_0x143e48[_0x56ba9a(0x479)]()));let _0x12667c;const _0x47a94d=()=>{const _0x23afb6=_0x56ba9a;_0xb0e0bf[_0x23afb6(0x299)](new Event(_0x23afb6(0x676))),_0x475ca6['next'](new CloseEvent(_0x23afb6(0x676))),_0x12667c[_0x23afb6(0x551)]();};return _0x12667c={'memberID':'','close$':_0x475ca6[_0x56ba9a(0x644)](),'error$':_0xb0e0bf['asObservable'](),'open$':_0x112168[_0x56ba9a(0x400)],'message$':_0x143e48['asObservable'](),'send':_0x1f9275=>{const _0x357f76=_0x56ba9a;if(_0x1f9275[_0x357f76(0x3b8)]===_0x341a2a['INGEST']){if(_0x1f9275[_0x357f76(0x52b)][_0x357f76(0x53d)]===_0x434c76[_0x357f76(0x4cc)]['SUBMIT_CHANGESET']){this[_0x357f76(0x501)](_0x12667c,_0x1f9275[_0x357f76(0x52b)])[_0x357f76(0x43f)](_0x3ce807=>{const _0x4889a5=_0x357f76;this['_logService'][_0x4889a5(0x371)](_0x3ce807),_0x47a94d();});return;}if(_0x1f9275[_0x357f76(0x52b)][_0x357f76(0x53d)]===_0x434c76[_0x357f76(0x4cc)][_0x357f76(0x59d)]){const _0x21af6e=_0x1f9275[_0x357f76(0x52b)];this[_0x357f76(0x3c1)](_0x21af6e)[_0x357f76(0x443)](_0x578846=>{const _0x5b668b=_0x357f76;_0x143e48[_0x5b668b(0x299)]({'cmd':_0x341a2a['RECV'],'code':_0x479490['OK'],'routeKey':_0x21af6e[_0x5b668b(0x52b)][_0x5b668b(0x224)],'routeType':'','data':{'eventID':_0x434c76[_0x5b668b(0x4cc)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x578846}}});})[_0x357f76(0x43f)](_0x7d5565=>{const _0x5d6f0f=_0x357f76;this[_0x5d6f0f(0x477)][_0x5d6f0f(0x371)](_0x7d5565),_0x47a94d();});return;}}_0x112168[_0x357f76(0x63d)](_0x34a15b(_0x1f9275));},'close':()=>{const _0xbb209e=_0x56ba9a;_0x112168[_0xbb209e(0x551)](),_0x2b169e[_0xbb209e(0x67e)]();}},_0x12667c;}async[_0x270b48(0x501)](_0x43de36,_0x3134cf){const _0x3c29cf=_0x270b48;var _0x530bc6,_0x1d843f;const {unitType:_0x214c5b,unitID:_0x5c7a5b,changeset:_0x4bec7e}=_0x3134cf['data'],_0xfb52a9={'unitID':_0x5c7a5b,'memberID':_0x43de36[_0x3c29cf(0x1d0)],'type':_0x214c5b,'changeset':_0x434c76[_0x3c29cf(0x515)](_0x4bec7e)},_0x508b12=this[_0x3c29cf(0x4dd)][_0x3c29cf(0x5f1)](_0x162ce8),_0x459a89=this['_configService']['getConfig'](_0x100cc6),_0x50044f=_0x19d92a((_0x1d843f=(_0x530bc6=_0x459a89==null?void 0x0:_0x459a89[_0x3c29cf(0x48f)])!=null?_0x530bc6:_0x508b12)!=null?_0x1d843f:_0x177b6e,_0x214c5b,_0x5c7a5b);try{await this[_0x3c29cf(0x653)]['post'](_0x50044f,{'body':_0xfb52a9});}catch(_0x56f533){throw this[_0x3c29cf(0x477)][_0x3c29cf(0x371)](_0x3c29cf(0x373),_0x3c29cf(0x5b9)),_0x56f533;}}async[_0x270b48(0x3c1)](_0x274118){const _0x49ac8f=_0x270b48,{unitID:_0x39bc81,from:_0x1deaf0,to:_0x44b15c,unitType:_0x890d4}=_0x274118[_0x49ac8f(0x52b)];return(await this[_0x49ac8f(0x293)][_0x49ac8f(0x391)]({'metadata':void 0x0},{'unitID':_0x39bc81,'type':_0x890d4,'from':_0x1deaf0,'to':_0x44b15c}))[_0x49ac8f(0x478)];}},_0x3ef0c0['CollaborationSocketService']=_0x35aca7([_0x551c66(0x0,_0x10122e['Inject'](_0xbfbac5[_0x270b48(0x3d4)])),_0x551c66(0x1,_0x10122e['Inject'](_0xbfbac5[_0x270b48(0x67c)])),_0x551c66(0x2,_0x10122e[_0x270b48(0x635)]),_0x551c66(0x3,_0x10122e[_0x270b48(0x4d7)]),_0x551c66(0x4,_0x434c76[_0x270b48(0x633)])],_0x3ef0c0['CollaborationSocketService']);const _0xd67ee4=_0x270b48(0x5da);function _0x2ee0f0(_0xf919d9){const _0x25d18b=_0x270b48;return JSON['stringify'](_0xf919d9)[_0x25d18b(0x2df)];}class _0x28c998{constructor(){const _0x190573=_0x270b48;_0x11da04(this,_0x190573(0x351),new _0x43beed[(_0x190573(0x69a))]()),_0x11da04(this,'commentUpdate$',this['_commentUpdate$']['asObservable']());}[_0x270b48(0x4b8)](_0x70f5cd){const _0x295229=_0x270b48;this[_0x295229(0x351)][_0x295229(0x299)](_0x70f5cd);}}var _0x55570d=Object[_0x270b48(0x29d)],_0x3c3ff0=Object[_0x270b48(0x255)],_0xe822db=(_0x5d14a4,_0xf13cd9,_0x47c273,_0x38e5b1)=>{const _0x138ab0=_0x270b48;for(var _0x9c397c=_0x38e5b1>0x1?void 0x0:_0x38e5b1?_0x3c3ff0(_0xf13cd9,_0x47c273):_0xf13cd9,_0x132104=_0x5d14a4[_0x138ab0(0x2df)]-0x1,_0x38734b;_0x132104>=0x0;_0x132104--)(_0x38734b=_0x5d14a4[_0x132104])&&(_0x9c397c=(_0x38e5b1?_0x38734b(_0xf13cd9,_0x47c273,_0x9c397c):_0x38734b(_0x9c397c))||_0x9c397c);return _0x38e5b1&&_0x9c397c&&_0x55570d(_0xf13cd9,_0x47c273,_0x9c397c),_0x9c397c;},_0x407ee9=(_0x347368,_0x36971b)=>(_0x972c6b,_0x56b180)=>_0x36971b(_0x972c6b,_0x56b180,_0x347368);_0x3ef0c0[_0x270b48(0x610)]=class extends _0x10122e['Disposable']{constructor(_0xad8882,_0x4339ee){const _0x4c64b3=_0x270b48;super(),_0x11da04(this,_0x4c64b3(0x458),new Map()),(this[_0x4c64b3(0x3d7)]=_0xad8882,this['_userManagerService']=_0x4339ee,this[_0x4c64b3(0x206)](_0x10122e['toDisposable'](_0x43beed['merge'](this[_0x4c64b3(0x3d7)][_0x4c64b3(0x1d5)](_0x10122e[_0x4c64b3(0x348)][_0x4c64b3(0x4e9)])[_0x4c64b3(0x3fb)](_0x107fd5[_0x4c64b3(0x60f)](_0x39d63c=>_0x39d63c[_0x4c64b3(0x337)]())),this[_0x4c64b3(0x3d7)][_0x4c64b3(0x1d5)](_0x10122e[_0x4c64b3(0x348)][_0x4c64b3(0x414)])[_0x4c64b3(0x3fb)](_0x107fd5[_0x4c64b3(0x60f)](_0x362a1e=>_0x362a1e[_0x4c64b3(0x337)]())),this[_0x4c64b3(0x3d7)][_0x4c64b3(0x1d5)](_0x10122e[_0x4c64b3(0x348)][_0x4c64b3(0x634)])['pipe'](_0x107fd5['map'](_0x1bad9b=>_0x1bad9b[_0x4c64b3(0x337)]())))[_0x4c64b3(0x40f)](_0x58fd04=>this['_removeRoom'](_0x58fd04)))));}[_0x270b48(0x22a)](_0x211478){const _0x214e5f=_0x270b48;this[_0x214e5f(0x3c9)]['setCurrentUser'](_0x211478);}[_0x270b48(0x1d8)](){const _0x2f1565=_0x270b48;return this[_0x2f1565(0x3c9)]['getCurrentUser']();}[_0x270b48(0x44a)](_0x55a917,_0x358786){const _0x3088d2=_0x270b48;let _0x37e8e8=this[_0x3088d2(0x458)][_0x3088d2(0x56f)](_0x55a917);_0x37e8e8||(_0x37e8e8=new _0x4dcd9c(),this['_roomMembers'][_0x3088d2(0x472)](_0x55a917,_0x37e8e8)),_0x37e8e8[_0x3088d2(0x44a)](_0x358786);}['removeMember'](_0x2929f8,_0x1418ff){const _0x16ef2a=_0x270b48,_0x40feb2=this[_0x16ef2a(0x458)]['get'](_0x2929f8);_0x40feb2&&_0x40feb2[_0x16ef2a(0x427)](_0x1418ff);}[_0x270b48(0x2f8)](_0x185a87){const _0x37b46f=_0x270b48;return this[_0x37b46f(0x458)][_0x37b46f(0x56f)](_0x185a87);}[_0x270b48(0x539)](_0x26b81e,_0x25f729){const _0x26677f=_0x270b48,_0x1147dd=this['_roomMembers'][_0x26677f(0x56f)](_0x26b81e);if(_0x1147dd)return _0x1147dd[_0x26677f(0x539)](_0x25f729);}[_0x270b48(0x368)](_0x26e581){const _0x3eb7a9=_0x270b48,_0x28941e=this['_roomMembers'][_0x3eb7a9(0x56f)](_0x26e581);_0x28941e&&(_0x28941e[_0x3eb7a9(0x67e)](),this[_0x3eb7a9(0x458)]['delete'](_0x26e581));}[_0x270b48(0x67e)](){const _0x154a56=_0x270b48;this[_0x154a56(0x458)][_0x154a56(0x4bd)](_0x3009c8=>_0x3009c8[_0x154a56(0x67e)]()),this[_0x154a56(0x458)][_0x154a56(0x40c)]();}},_0x3ef0c0[_0x270b48(0x610)]=_0xe822db([_0x407ee9(0x0,_0x10122e[_0x270b48(0x204)]),_0x407ee9(0x1,_0x10122e['Inject'](_0x10122e[_0x270b48(0x5c3)]))],_0x3ef0c0[_0x270b48(0x610)]);class _0x4dcd9c extends _0x10122e[_0x270b48(0x5f7)]{constructor(){const _0x21cec0=_0x270b48;super(...arguments),_0x11da04(this,_0x21cec0(0x5f2),new Map());}[_0x270b48(0x67e)](){const _0x1fc2cd=_0x270b48;this['_members'][_0x1fc2cd(0x40c)]();}[_0x270b48(0x44a)](_0x1a05ac){const _0x360e25=_0x270b48;this[_0x360e25(0x5f2)]['set'](_0x1a05ac[_0x360e25(0x1d0)],_0x1a05ac);}[_0x270b48(0x427)](_0x5c951b){const _0x5eb46f=_0x270b48;this[_0x5eb46f(0x5f2)]['delete'](_0x5c951b);}['getMember'](_0x424dd1){const _0x5bd4ed=_0x270b48;return this[_0x5bd4ed(0x5f2)][_0x5bd4ed(0x56f)](_0x424dd1);}[_0x270b48(0x438)](){const _0x5403bd=_0x270b48;return Array[_0x5403bd(0x3b2)](this['_members'][_0x5403bd(0x40e)]());}}var _0x298e4b=Object[_0x270b48(0x29d)],_0x237fa7=Object[_0x270b48(0x255)],_0x4e65f3=(_0xbc7b4e,_0x589193,_0x2ef63e,_0x29b561)=>{const _0x1fb486=_0x270b48;for(var _0x1a2b0d=_0x29b561>0x1?void 0x0:_0x29b561?_0x237fa7(_0x589193,_0x2ef63e):_0x589193,_0x203b98=_0xbc7b4e[_0x1fb486(0x2df)]-0x1,_0x380c96;_0x203b98>=0x0;_0x203b98--)(_0x380c96=_0xbc7b4e[_0x203b98])&&(_0x1a2b0d=(_0x29b561?_0x380c96(_0x589193,_0x2ef63e,_0x1a2b0d):_0x380c96(_0x1a2b0d))||_0x1a2b0d);return _0x29b561&&_0x1a2b0d&&_0x298e4b(_0x589193,_0x2ef63e,_0x1a2b0d),_0x1a2b0d;},_0x186063=(_0x163f44,_0x4b0ef8)=>(_0x7165a0,_0xaf49f7)=>_0x4b0ef8(_0x7165a0,_0xaf49f7,_0x163f44),_0x606225=(_0xdc13c3=>(_0xdc13c3[_0xdc13c3[_0x270b48(0x2d4)]=0x0]='IDLE',_0xdc13c3[_0xdc13c3[_0x270b48(0x1f2)]=0x1]=_0x270b48(0x1f2),_0xdc13c3[_0xdc13c3['OFFLINE']=0x2]=_0x270b48(0x2f3),_0xdc13c3[_0xdc13c3[_0x270b48(0x29e)]=0x3]=_0x270b48(0x29e),_0xdc13c3))(_0x606225||{});_0x3ef0c0[_0x270b48(0x64c)]=class extends _0x10122e[_0x270b48(0x332)]{constructor(_0x4cc590,_0x8d2ee4,_0x3b1481,_0x3f1727,_0xda9dfe,_0x227b98,_0x16fd22,_0x395c31,_0x88ee8b,_0x5dfa3d){const _0x55c0ae=_0x270b48;super(),_0x11da04(this,_0x55c0ae(0x63e),new _0x43beed['BehaviorSubject'](0x0)),_0x11da04(this,_0x55c0ae(0x342),this['_sessionStatus$'][_0x55c0ae(0x644)]()),_0x11da04(this,_0x55c0ae(0x44f),new _0x43beed['Subject']()),_0x11da04(this,'event$',this['_event$']['asObservable']()),_0x11da04(this,'_socket'),_0x11da04(this,_0x55c0ae(0x5dd)),_0x11da04(this,_0x55c0ae(0x5fb)),_0x11da04(this,_0x55c0ae(0x491),!0x1),_0x11da04(this,_0x55c0ae(0x272),null),(this[_0x55c0ae(0x365)]=_0x4cc590,this[_0x55c0ae(0x477)]=_0x3b1481,this[_0x55c0ae(0x2a8)]=_0x3f1727,this[_0x55c0ae(0x4e8)]=_0xda9dfe,this[_0x55c0ae(0x4dd)]=_0x227b98,this[_0x55c0ae(0x548)]=_0x16fd22,this[_0x55c0ae(0x60b)]=_0x395c31,this[_0x55c0ae(0x42f)]=_0x88ee8b,this[_0x55c0ae(0x497)]=_0x5dfa3d,this[_0x55c0ae(0x491)]=!!this[_0x55c0ae(0x497)],_0x8d2ee4[_0x55c0ae(0x3fb)](_0x43beed[_0x55c0ae(0x57a)](this[_0x55c0ae(0x488)]))[_0x55c0ae(0x40f)](_0x465001=>{const _0x2fa2e1=_0x55c0ae;var _0x2c4e7c;typeof _0x465001>'u'||(this['_socket']=_0x465001,_0x465001?(this[_0x2fa2e1(0x48b)](_0x465001),this[_0x2fa2e1(0x5dd)]=_0x465001[_0x2fa2e1(0x64f)][_0x2fa2e1(0x40f)](_0x18dc9a=>{const _0x3566b9=_0x2fa2e1;_0x18dc9a['routeKey']===this[_0x3566b9(0x365)]&&this[_0x3566b9(0x1fd)](_0x18dc9a);})):(this[_0x2fa2e1(0x1da)](),this['_sessionStatus$'][_0x2fa2e1(0x299)](0x2),(_0x2c4e7c=this[_0x2fa2e1(0x5dd)])==null||_0x2c4e7c['unsubscribe'](),this['_socketMessageSubscription']=null));}),this[_0x55c0ae(0x206)](this[_0x55c0ae(0x2a8)][_0x55c0ae(0x350)](()=>{const _0x147aa4=_0x55c0ae;var _0x1bf05f;(_0x1bf05f=this['_socket'])==null||_0x1bf05f[_0x147aa4(0x63d)]({'cmd':_0x341a2a[_0x147aa4(0x25b)],'data':{'roomID':this[_0x147aa4(0x365)]}});})));}get[_0x270b48(0x5f6)](){const _0x41f8ea=_0x270b48;return this[_0x41f8ea(0x63e)][_0x41f8ea(0x579)]();}['getMemberID'](){const _0x32a365=_0x270b48;var _0x2e234b,_0x2234bc;return(_0x2234bc=(_0x2e234b=this[_0x32a365(0x24e)])==null?void 0x0:_0x2e234b[_0x32a365(0x1d0)])!=null?_0x2234bc:null;}[_0x270b48(0x67e)](){const _0x51c202=_0x270b48;super[_0x51c202(0x67e)](),this[_0x51c202(0x488)][_0x51c202(0x299)](),this[_0x51c202(0x488)][_0x51c202(0x479)]();}[_0x270b48(0x551)](){const _0x362709=_0x270b48;var _0x2b48c3,_0x4119ed;this[_0x362709(0x1da)](),(_0x2b48c3=this['_socket'])==null||_0x2b48c3[_0x362709(0x63d)]({'cmd':_0x341a2a['LEAVE'],'data':{'roomID':this[_0x362709(0x365)]}}),(_0x4119ed=this[_0x362709(0x24e)])==null||_0x4119ed[_0x362709(0x551)](),this[_0x362709(0x44f)][_0x362709(0x479)](),this[_0x362709(0x63e)]['complete'](),this[_0x362709(0x67e)]();}[_0x270b48(0x1fd)](_0x428440){const _0x101412=_0x270b48;_0x428440[_0x101412(0x3b8)]===_0x341a2a[_0x101412(0x5ca)]?this[_0x101412(0x308)](_0x428440):_0x428440[_0x101412(0x3b8)]===_0x341a2a[_0x101412(0x33c)]&&this['_onRecvEvent'](_0x428440);}[_0x270b48(0x48b)](_0x1c252b){const _0x5ba51f=_0x270b48;this[_0x5ba51f(0x63e)][_0x5ba51f(0x299)](0x1),_0x1c252b[_0x5ba51f(0x63d)]({'cmd':_0x341a2a[_0x5ba51f(0x5ca)],'routeKey':this[_0x5ba51f(0x365)],'routeType':'','data':{'rooms':[{'roomID':this[_0x5ba51f(0x365)]}]}});}[_0x270b48(0x308)](_0x5ac845){const _0x2bef36=_0x270b48;var _0x188e55;if(_0x5ac845[_0x2bef36(0x38d)]===_0x479490['FAIL']){this['_messageService'][_0x2bef36(0x36c)]({'type':_0x4811a0[_0x2bef36(0x3b0)][_0x2bef36(0x309)],'content':this[_0x2bef36(0x548)]['t'](_0x2bef36(0x520))}),this['_sessionStatus$']['next'](0x2);return;}this[_0x2bef36(0x63e)][_0x2bef36(0x299)](0x3);const _0x2a6c38=(_0x188e55=_0x5ac845['data'][_0x2bef36(0x480)][this[_0x2bef36(0x365)]])==null?void 0x0:_0x188e55[_0x2bef36(0x471)];_0x2a6c38&&_0x2a6c38[_0x2bef36(0x4bd)](_0x22babf=>this[_0x2bef36(0x60b)][_0x2bef36(0x44a)](this[_0x2bef36(0x365)],_0x22babf));}[_0x270b48(0x3cb)](_0x1cebfd){const _0x2a5fda=_0x270b48;try{const _0x437fa6=_0x1cebfd[_0x2a5fda(0x52b)];switch(_0x437fa6[_0x2a5fda(0x53d)]){case _0x434c76['CollaborationEvent']['USERS_ENTER']:this['_onUserJoin'](_0x437fa6),this['_event$'][_0x2a5fda(0x299)](_0x437fa6);break;case _0x434c76[_0x2a5fda(0x4cc)][_0x2a5fda(0x30a)]:this[_0x2a5fda(0x538)](_0x437fa6),this[_0x2a5fda(0x44f)][_0x2a5fda(0x299)](_0x437fa6);break;case _0x434c76['CollaborationEvent']['CHANGESET_ACK']:case _0x434c76[_0x2a5fda(0x4cc)][_0x2a5fda(0x2c0)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x2a5fda(0x3d1)](),this[_0x2a5fda(0x44f)]['next'](_0x437fa6);break;case _0x434c76['CollaborationEvent'][_0x2a5fda(0x3b7)]:this[_0x2a5fda(0x477)][_0x2a5fda(0x371)](_0x2a5fda(0x2f0)+JSON[_0x2a5fda(0x254)](_0x437fa6)),this[_0x2a5fda(0x44f)]['next'](_0x437fa6);break;case _0x434c76[_0x2a5fda(0x4cc)]['COMMENT_UPDATE']:this[_0x2a5fda(0x42f)][_0x2a5fda(0x4b8)](_0x437fa6['data']),this[_0x2a5fda(0x44f)][_0x2a5fda(0x299)](_0x437fa6);break;default:this[_0x2a5fda(0x44f)][_0x2a5fda(0x299)](_0x437fa6);}}catch(_0x1c1ff3){this[_0x2a5fda(0x477)][_0x2a5fda(0x371)](_0x1c1ff3,_0x1cebfd);}}['_onUserJoin'](_0xc398e){const _0x320860=_0x270b48;this[_0x320860(0x60b)][_0x320860(0x44a)](this[_0x320860(0x365)],_0xc398e[_0x320860(0x52b)]);}[_0x270b48(0x538)](_0x3db83d){const _0x3d2bb6=_0x270b48;this[_0x3d2bb6(0x60b)][_0x3d2bb6(0x427)](this[_0x3d2bb6(0x365)],_0x3db83d[_0x3d2bb6(0x52b)][_0x3d2bb6(0x1d0)]);}async[_0x270b48(0x63d)](_0x2a7c95,_0xe7d75e){const _0x2d8552=_0x270b48;if(this[_0x2d8552(0x5f6)]!==0x3||!this['_socket'])throw new Error(_0x2d8552(0x31c));try{_0x2a7c95['eventID']===_0x434c76[_0x2d8552(0x4cc)][_0x2d8552(0x258)]&&(this[_0x2d8552(0x695)](),this['_startTelemetryCollaborationNewChangeset'](_0x2a7c95)),this['_socket'][_0x2d8552(0x63d)]({'cmd':_0x341a2a['INGEST'],'routeKey':_0xe7d75e,'routeType':'','data':_0x2a7c95});}catch(_0x95d002){this['_logService'][_0x2d8552(0x371)](_0x95d002);}}[_0x270b48(0x695)](){const _0x1e251b=_0x270b48;var _0x5c13f6;this['_collaborationTimeoutTimer']=window[_0x1e251b(0x298)](()=>{const _0x4d5210=_0x1e251b;this[_0x4d5210(0x5fb)]=null,this[_0x4d5210(0x4e8)][_0x4d5210(0x36c)]({'type':_0x4811a0['MessageType'][_0x4d5210(0x613)],'content':this[_0x4d5210(0x548)]['t'](_0x4d5210(0x57f))});},(_0x5c13f6=this[_0x1e251b(0x4dd)][_0x1e251b(0x5f1)](_0x4e1a95))!=null?_0x5c13f6:0x4e20);}[_0x270b48(0x3d1)](){const _0x4cc254=_0x270b48;this[_0x4cc254(0x5fb)]&&(clearTimeout(this[_0x4cc254(0x5fb)]),this[_0x4cc254(0x5fb)]=null);}[_0x270b48(0x616)](_0x1c89ea){const _0x1f3548=_0x270b48;if(!this[_0x1f3548(0x491)])return;const {data:_0x2f1434}=_0x1c89ea,{unitID:_0x39d21c,changeset:_0x451265}=_0x2f1434,{mutations:_0x499247,type:_0x166fd7}=_0x451265;this[_0x1f3548(0x272)]={'unitId':_0x39d21c,'type':_0x166fd7,'startTime':performance[_0x1f3548(0x285)](),'stopTime':0x0,'duration':0x0,'size':_0x2ee0f0(_0x499247)};}[_0x270b48(0x647)](){const _0x46d68c=_0x270b48;if(this[_0x46d68c(0x491)]){if(!this[_0x46d68c(0x272)]){this[_0x46d68c(0x477)]['error'](_0x46d68c(0x373),_0x46d68c(0x605));return;}this[_0x46d68c(0x272)][_0x46d68c(0x4de)]=performance['now'](),this['_telemetryInfo']['duration']=this['_telemetryInfo'][_0x46d68c(0x4de)]-this[_0x46d68c(0x272)][_0x46d68c(0x4ba)],this[_0x46d68c(0x497)]['capture'](_0xd67ee4,this[_0x46d68c(0x272)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){const _0x337647=_0x270b48;this[_0x337647(0x272)]=null;}},_0x3ef0c0[_0x270b48(0x64c)]=_0x4e65f3([_0x186063(0x2,_0x10122e[_0x270b48(0x4d7)]),_0x186063(0x3,_0x3421c5[_0x270b48(0x4e2)]),_0x186063(0x4,_0x3421c5[_0x270b48(0x408)]),_0x186063(0x5,_0x10122e[_0x270b48(0x635)]),_0x186063(0x6,_0x10122e[_0x270b48(0x5c7)](_0x10122e[_0x270b48(0x42c)])),_0x186063(0x7,_0x10122e[_0x270b48(0x5c7)](_0x3ef0c0[_0x270b48(0x610)])),_0x186063(0x8,_0x10122e[_0x270b48(0x5c7)](_0x28c998)),_0x186063(0x9,_0x10122e[_0x270b48(0x24d)](_0x1db2f7[_0x270b48(0x323)]))],_0x3ef0c0['CollaborationSession']);var _0x3f66a9=Object[_0x270b48(0x29d)],_0x56ccaa=Object[_0x270b48(0x255)],_0x189083=(_0xd72153,_0x2d9279,_0x2dbe04,_0x7fab06)=>{const _0x490eee=_0x270b48;for(var _0x356477=_0x7fab06>0x1?void 0x0:_0x7fab06?_0x56ccaa(_0x2d9279,_0x2dbe04):_0x2d9279,_0x30e680=_0xd72153[_0x490eee(0x2df)]-0x1,_0x2917eb;_0x30e680>=0x0;_0x30e680--)(_0x2917eb=_0xd72153[_0x30e680])&&(_0x356477=(_0x7fab06?_0x2917eb(_0x2d9279,_0x2dbe04,_0x356477):_0x2917eb(_0x356477))||_0x356477);return _0x7fab06&&_0x356477&&_0x3f66a9(_0x2d9279,_0x2dbe04,_0x356477),_0x356477;},_0x291a5f=(_0x46a0e5,_0x5c3a10)=>(_0x352657,_0x21176b)=>_0x5c3a10(_0x352657,_0x21176b,_0x46a0e5);_0x3ef0c0[_0x270b48(0x5ae)]=class extends _0x10122e[_0x270b48(0x5f7)]{constructor(_0x459e43,_0x13c43a,_0x3e1d42,_0x3ffe4f,_0x23a4e8,_0x59b08b){const _0x695a29=_0x270b48;super(),_0x11da04(this,_0x695a29(0x652),new _0x43beed[(_0x695a29(0x65c))](void 0x0)),_0x11da04(this,_0x695a29(0x59f),this[_0x695a29(0x652)][_0x695a29(0x644)]()),_0x11da04(this,_0x695a29(0x68c),null),_0x11da04(this,_0x695a29(0x630),new Map()),_0x11da04(this,'_status$',new _0x43beed['BehaviorSubject'](_0x606225[_0x695a29(0x2d4)])),_0x11da04(this,_0x695a29(0x2f6),this[_0x695a29(0x1fa)][_0x695a29(0x644)]()),_0x11da04(this,'_socketReady',!0x1),_0x11da04(this,_0x695a29(0x436)),_0x11da04(this,_0x695a29(0x3a0),0x0),_0x11da04(this,_0x695a29(0x1f4)),_0x11da04(this,'_timeoutTimer'),(this[_0x695a29(0x358)]=_0x459e43,this[_0x695a29(0x548)]=_0x13c43a,this[_0x695a29(0x4e8)]=_0x3e1d42,this['_logService']=_0x3ffe4f,this[_0x695a29(0x4dd)]=_0x23a4e8,this['_socketService']=_0x59b08b,this[_0x695a29(0x3f4)]());}get[_0x270b48(0x24e)](){const _0xabc62c=_0x270b48;return this['_socket$'][_0xabc62c(0x579)]();}[_0x270b48(0x3f4)](){const _0x524436=_0x270b48;this[_0x524436(0x625)](),this['_listenToOnlineEvent']();}['dispose'](){const _0x12a5a6=_0x270b48;super[_0x12a5a6(0x67e)](),this[_0x12a5a6(0x630)]['forEach'](_0x20ed6e=>_0x20ed6e['dispose']()),this[_0x12a5a6(0x630)][_0x12a5a6(0x40c)](),this[_0x12a5a6(0x1fa)][_0x12a5a6(0x479)]();}async['requireSession'](_0x101b40){const _0x175f7d=_0x270b48;if(this[_0x175f7d(0x630)][_0x175f7d(0x5aa)](_0x101b40))return this['_sessions'][_0x175f7d(0x56f)](_0x101b40);this['_tryEnsureSocket']();const _0x302613=this['_injector'][_0x175f7d(0x624)](_0x3ef0c0['CollaborationSession'],_0x101b40,this[_0x175f7d(0x652)]['asObservable']());return this[_0x175f7d(0x630)][_0x175f7d(0x472)](_0x101b40,_0x302613),_0x302613;}[_0x270b48(0x688)](_0xa12a0){const _0xdcd7d3=_0x270b48;var _0x4676c7;const _0x82205b=this[_0xdcd7d3(0x630)][_0xdcd7d3(0x56f)](_0xa12a0);_0x82205b&&(this[_0xdcd7d3(0x630)]['delete'](_0xa12a0),_0x82205b[_0xdcd7d3(0x551)]()),this['_sessions'][_0xdcd7d3(0x611)]||(_0x4676c7=this[_0xdcd7d3(0x24e)])==null||_0x4676c7[_0xdcd7d3(0x551)]();}[_0x270b48(0x265)](){const _0x17d6f1=_0x270b48;this[_0x17d6f1(0x3a0)]=0x0,this[_0x17d6f1(0x436)]!=null&&(clearTimeout(this[_0x17d6f1(0x436)]),this[_0x17d6f1(0x436)]=null),this[_0x17d6f1(0x4c5)]();}[_0x270b48(0x37f)](){const _0xb2a28e=_0x270b48;var _0x52fa0e,_0x411e16;const _0x5aa230=this[_0xb2a28e(0x4dd)][_0xb2a28e(0x5f1)](_0x4b9331),_0x482005=this[_0xb2a28e(0x4dd)][_0xb2a28e(0x5f1)](_0x100cc6),_0x405f6f=(_0x411e16=(_0x52fa0e=_0x482005==null?void 0x0:_0x482005['collabWebSocketUrl'])!=null?_0x52fa0e:_0x5aa230)!=null?_0x411e16:_0x391104,_0x35d447=this[_0xb2a28e(0x466)]['createSocket'](_0x405f6f);return this[_0xb2a28e(0x68c)]=_0x35d447,_0x35d447;}['_tryEnsureSocket'](){const _0x4ad0c1=_0x270b48;var _0x481291,_0x47c508;try{const _0x32507b=(_0x47c508=(_0x481291=this[_0x4ad0c1(0x24e)])!=null?_0x481291:this[_0x4ad0c1(0x68c)])!=null?_0x47c508:this[_0x4ad0c1(0x37f)]();if(_0x32507b){const _0x22af68=_0x32507b[_0x4ad0c1(0x63d)];_0x32507b[_0x4ad0c1(0x63d)]=_0x2fd4de=>(this[_0x4ad0c1(0x346)](),_0x22af68[_0x4ad0c1(0x395)](_0x32507b,[_0x2fd4de])),_0x32507b[_0x4ad0c1(0x64f)]['subscribe'](_0x46aeea=>this[_0x4ad0c1(0x4a5)](_0x32507b,_0x46aeea)),_0x32507b['error$'][_0x4ad0c1(0x3fb)](_0x107fd5[_0x4ad0c1(0x4cd)](0x1))[_0x4ad0c1(0x40f)](_0x2212fc=>this[_0x4ad0c1(0x477)][_0x4ad0c1(0x371)]('[CollaborationSessionService]:\x20socket\x20error',_0x2212fc)),_0x32507b[_0x4ad0c1(0x400)][_0x4ad0c1(0x3fb)](_0x107fd5[_0x4ad0c1(0x4cd)](0x1))[_0x4ad0c1(0x40f)](()=>{const _0x45cd3b=_0x4ad0c1;this[_0x45cd3b(0x4c8)](_0x32507b);}),_0x32507b[_0x4ad0c1(0x4d4)]['pipe'](_0x107fd5[_0x4ad0c1(0x4cd)](0x1))[_0x4ad0c1(0x40f)](_0x3fb975=>{const _0x379a1c=_0x4ad0c1;this[_0x379a1c(0x477)]['debug'](_0x379a1c(0x4c2),'socket\x20close',_0x3fb975),this[_0x379a1c(0x257)]();});}}catch(_0x2124ca){this[_0x4ad0c1(0x477)][_0x4ad0c1(0x371)](_0x2124ca),this[_0x4ad0c1(0x257)]();}}[_0x270b48(0x4c8)](_0x1a1ebf){const _0x3b6f40=_0x270b48;this[_0x3b6f40(0x477)][_0x3b6f40(0x41a)](_0x3b6f40(0x4c2),_0x3b6f40(0x3d6)),_0x1a1ebf[_0x3b6f40(0x63d)]({'cmd':_0x341a2a[_0x3b6f40(0x357)]}),this[_0x3b6f40(0x346)]();}[_0x270b48(0x625)](){const _0x40b475=_0x270b48;window['addEventListener']('offline',()=>this[_0x40b475(0x4e3)]());}['_onOffline'](){const _0x12c6c3=_0x270b48;this[_0x12c6c3(0x62f)]=!0x1,this[_0x12c6c3(0x68c)]=null,this[_0x12c6c3(0x1fa)][_0x12c6c3(0x299)](_0x606225['OFFLINE']),this[_0x12c6c3(0x652)]['next'](null),this['_clearTimeoutTimer'](),this[_0x12c6c3(0x45a)]();}[_0x270b48(0x257)](){const _0x9b0e1a=_0x270b48;var _0x4ed679;this[_0x9b0e1a(0x4e3)](),this[_0x9b0e1a(0x3a0)]<((_0x4ed679=this['_configService'][_0x9b0e1a(0x5f1)](_0x57f6b8))!=null?_0x4ed679:0x3)?(this[_0x9b0e1a(0x4e8)][_0x9b0e1a(0x36c)]({'key':_0x9b0e1a(0x51b),'type':_0x4811a0[_0x9b0e1a(0x3b0)][_0x9b0e1a(0x309)],'content':this[_0x9b0e1a(0x548)]['t'](_0x9b0e1a(0x5a0))}),this['_tryReconnect']()):this[_0x9b0e1a(0x4e8)]['show']({'key':_0x9b0e1a(0x51b),'type':_0x4811a0[_0x9b0e1a(0x3b0)][_0x9b0e1a(0x613)],'content':this[_0x9b0e1a(0x548)]['t']('session.connection-failed')});}[_0x270b48(0x280)](){const _0x422f54=_0x270b48,_0x905758=()=>{const _0x3d0897=_0x5645;this[_0x3d0897(0x24e)]||this[_0x3d0897(0x265)]();},_0x5e2e58=()=>{const _0x5da0fb=_0x5645;this['_socket']||document[_0x5da0fb(0x4e5)]===_0x5da0fb(0x4fd)||this[_0x5da0fb(0x265)]();};window[_0x422f54(0x484)]('online',_0x905758),document[_0x422f54(0x484)](_0x422f54(0x51c),_0x5e2e58);}['_tryReconnect'](){const _0x3eac1f=_0x270b48;var _0x1163e3;const _0x3a386d=this[_0x3eac1f(0x3a0)],_0x3f254b=this[_0x3eac1f(0x4dd)][_0x3eac1f(0x5f1)](_0x100cc6),_0x49eafa=_0x3a386d===0x0?0x0:((_0x1163e3=_0x3f254b==null?void 0x0:_0x3f254b[_0x3eac1f(0x1db)])!=null?_0x1163e3:0x4e20)*0x2**_0x3a386d;this[_0x3eac1f(0x436)]=window[_0x3eac1f(0x298)](()=>{const _0x3ea9d0=_0x3eac1f;clearTimeout(this[_0x3ea9d0(0x436)]),this['_retryConnectingTimer']=null,this[_0x3ea9d0(0x45e)]();},_0x49eafa),this['_retryCount']+=0x1;}['_onMessage'](_0x425ab4,_0x278b25){const _0x28ab08=_0x270b48,{cmd:_0x4b8a43}=_0x278b25;_0x4b8a43===_0x341a2a[_0x28ab08(0x357)]&&!this[_0x28ab08(0x62f)]&&(_0x425ab4[_0x28ab08(0x1d0)]=_0x278b25[_0x28ab08(0x52b)]['memberID'],this['_socket$']['next'](_0x425ab4),this[_0x28ab08(0x1fa)][_0x28ab08(0x299)](_0x606225[_0x28ab08(0x29e)]),this[_0x28ab08(0x62f)]=!0x0,this[_0x28ab08(0x68c)]=null),_0x4b8a43===_0x341a2a[_0x28ab08(0x3a3)]&&this[_0x28ab08(0x30e)](),this[_0x28ab08(0x346)]();}[_0x270b48(0x346)](){const _0x4b89a2=_0x270b48;var _0x405022;this[_0x4b89a2(0x45a)](),this[_0x4b89a2(0x1f4)]=window[_0x4b89a2(0x298)](()=>this[_0x4b89a2(0x426)](),(_0x405022=this[_0x4b89a2(0x4dd)][_0x4b89a2(0x5f1)](_0x413eda))!=null?_0x405022:0x7530);}[_0x270b48(0x426)](){const _0x4f1d1f=_0x270b48;this['_socket']['send']({'cmd':_0x341a2a[_0x4f1d1f(0x3a3)]}),this[_0x4f1d1f(0x2f9)]();}[_0x270b48(0x2f9)](){const _0x3afb91=_0x270b48;var _0x1c9f7d;this[_0x3afb91(0x363)]=window[_0x3afb91(0x298)](()=>this['_onConnectionFailed'](),(_0x1c9f7d=this[_0x3afb91(0x4dd)][_0x3afb91(0x5f1)](_0x4e1a95))!=null?_0x1c9f7d:0x4e20);}[_0x270b48(0x45a)](){const _0x3f6944=_0x270b48;this[_0x3f6944(0x1f4)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x3f6944(0x1f4)]=null);}['_clearTimeoutTimer'](){const _0x1be013=_0x270b48;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x1be013(0x363)]),this[_0x1be013(0x363)]=null);}},_0x3ef0c0['CollaborationSessionService']=_0x189083([_0x291a5f(0x0,_0x10122e[_0x270b48(0x5c7)](_0x10122e['Injector'])),_0x291a5f(0x1,_0x10122e[_0x270b48(0x5c7)](_0x10122e[_0x270b48(0x42c)])),_0x291a5f(0x2,_0x3421c5[_0x270b48(0x408)]),_0x291a5f(0x3,_0x10122e[_0x270b48(0x4d7)]),_0x291a5f(0x4,_0x10122e['IConfigService']),_0x291a5f(0x5,_0x10766f)],_0x3ef0c0[_0x270b48(0x5ae)]);const _0x4d422e=[];for(let _0x3227df=0x0;_0x3227df<0x100;++_0x3227df)_0x4d422e[_0x270b48(0x28f)]((_0x3227df+0x100)[_0x270b48(0x638)](0x10)[_0x270b48(0x4ac)](0x1));function _0x1f7be3(_0xe8c81a,_0x236f31=0x0){const _0xf4cc24=_0x270b48;return(_0x4d422e[_0xe8c81a[_0x236f31+0x0]]+_0x4d422e[_0xe8c81a[_0x236f31+0x1]]+_0x4d422e[_0xe8c81a[_0x236f31+0x2]]+_0x4d422e[_0xe8c81a[_0x236f31+0x3]]+'-'+_0x4d422e[_0xe8c81a[_0x236f31+0x4]]+_0x4d422e[_0xe8c81a[_0x236f31+0x5]]+'-'+_0x4d422e[_0xe8c81a[_0x236f31+0x6]]+_0x4d422e[_0xe8c81a[_0x236f31+0x7]]+'-'+_0x4d422e[_0xe8c81a[_0x236f31+0x8]]+_0x4d422e[_0xe8c81a[_0x236f31+0x9]]+'-'+_0x4d422e[_0xe8c81a[_0x236f31+0xa]]+_0x4d422e[_0xe8c81a[_0x236f31+0xb]]+_0x4d422e[_0xe8c81a[_0x236f31+0xc]]+_0x4d422e[_0xe8c81a[_0x236f31+0xd]]+_0x4d422e[_0xe8c81a[_0x236f31+0xe]]+_0x4d422e[_0xe8c81a[_0x236f31+0xf]])[_0xf4cc24(0x393)]();}let _0x4ac773;const _0x10b25e=new Uint8Array(0x10);function _0x14956c(){const _0x4c2915=_0x270b48;if(!_0x4ac773){if(typeof crypto>'u'||!crypto[_0x4c2915(0x583)])throw new Error(_0x4c2915(0x5c8));_0x4ac773=crypto[_0x4c2915(0x583)][_0x4c2915(0x23e)](crypto);}return _0x4ac773(_0x10b25e);}const _0x9c4a17={'randomUUID':typeof crypto<'u'&&crypto[_0x270b48(0x671)]&&crypto[_0x270b48(0x671)][_0x270b48(0x23e)](crypto)};function _0x493452(_0x2b618b,_0x43c20d,_0x1282df){const _0x3d0f2e=_0x270b48;if(_0x9c4a17[_0x3d0f2e(0x671)]&&!_0x43c20d&&!_0x2b618b)return _0x9c4a17[_0x3d0f2e(0x671)]();_0x2b618b=_0x2b618b||{};const _0xe5aca6=_0x2b618b[_0x3d0f2e(0x641)]||(_0x2b618b['rng']||_0x14956c)();return _0xe5aca6[0x6]=_0xe5aca6[0x6]&0xf|0x40,_0xe5aca6[0x8]=_0xe5aca6[0x8]&0x3f|0x80,_0x1f7be3(_0xe5aca6);}var _0x7b79f1=Object[_0x270b48(0x29d)],_0x186858=Object['getOwnPropertyDescriptor'],_0x3b9229=(_0x41f426,_0x1178c2,_0x5cc02f,_0x2ec003)=>{const _0x36364d=_0x270b48;for(var _0x589df1=_0x2ec003>0x1?void 0x0:_0x2ec003?_0x186858(_0x1178c2,_0x5cc02f):_0x1178c2,_0x2c5238=_0x41f426[_0x36364d(0x2df)]-0x1,_0x251d48;_0x2c5238>=0x0;_0x2c5238--)(_0x251d48=_0x41f426[_0x2c5238])&&(_0x589df1=(_0x2ec003?_0x251d48(_0x1178c2,_0x5cc02f,_0x589df1):_0x251d48(_0x589df1))||_0x589df1);return _0x2ec003&&_0x589df1&&_0x7b79f1(_0x1178c2,_0x5cc02f,_0x589df1),_0x589df1;},_0x1960cb=(_0x2deadb,_0x56dbce)=>(_0x32a1f7,_0xdf91f9)=>_0x56dbce(_0x32a1f7,_0xdf91f9,_0x2deadb);let _0x3d74d7=class{constructor(_0x3aea8f,_0x3e7e3e,_0x4f6312){const _0x56e72c=_0x270b48;this['_injector']=_0x3aea8f,this[_0x56e72c(0x54b)]=_0x3e7e3e,this[_0x56e72c(0x54e)]=_0x4f6312;}['transformIMECache'](_0x526c2b){const _0x45d6e7=_0x270b48;this['_transformUndoRedoStack'](_0x526c2b),this[_0x45d6e7(0x263)](_0x526c2b);}[_0x270b48(0x5b5)](_0x312955){const _0x1404d7=_0x270b48,{unitID:_0x38ab27}=_0x312955,_0x4191f8=this[_0x1404d7(0x54e)][_0x1404d7(0x4d2)](_0x38ab27)[_0x1404d7(0x287)](_0x427cca[_0x1404d7(0x558)]),{redoCache:_0x4ef3ae}=_0x4191f8[_0x1404d7(0x302)]();if(_0x4ef3ae[_0x1404d7(0x2df)]===0x0)return _0x312955;let _0x5a086c=_0x10122e['Tools'][_0x1404d7(0x20d)](_0x312955[_0x1404d7(0x43b)][0x0]);for(let _0x2189e6=0x0;_0x2189e6<_0x4ef3ae[_0x1404d7(0x2df)];_0x2189e6++){const _0x47f2a3={'id':_0x1404d7(0x3b4),'params':{..._0x4ef3ae[_0x2189e6]}},_0x162d38=this[_0x1404d7(0x54b)][_0x1404d7(0x476)](_0x5a086c,_0x47f2a3,!0x1);if(_0x434c76['isTransformMutationFailure'](_0x162d38))throw _0x162d38[_0x1404d7(0x371)];_0x5a086c=_0x162d38[_0x1404d7(0x659)];}return{..._0x10122e['Tools'][_0x1404d7(0x20d)](_0x312955),'mutations':[_0x5a086c]};}[_0x270b48(0x4f1)](_0x5b1242){const _0x1fb86e=_0x270b48,{unitID:_0x3f3a0f}=_0x5b1242,_0x3861b8=this[_0x1fb86e(0x54e)][_0x1fb86e(0x4d2)](_0x3f3a0f)[_0x1fb86e(0x287)](_0x427cca[_0x1fb86e(0x558)]),{undoCache:_0x28dca8,redoCache:_0x716a04}=_0x3861b8[_0x1fb86e(0x302)]();if(_0x28dca8['length']===0x0||_0x716a04[_0x1fb86e(0x2df)]===0x0)return;const _0x291f9c=[],_0x27f9fd=[];let _0x1d32b4=_0x10122e[_0x1fb86e(0x3bf)][_0x1fb86e(0x20d)](_0x5b1242['mutations'][0x0]),_0x1e476c=_0x10122e[_0x1fb86e(0x3bf)][_0x1fb86e(0x20d)](_0x5b1242[_0x1fb86e(0x43b)][0x0]);for(let _0x1c97e5=_0x28dca8[_0x1fb86e(0x2df)]-0x1;_0x1c97e5>=0x0;_0x1c97e5--){const _0x1dee70={'id':_0x1fb86e(0x3b4),'params':{..._0x28dca8[_0x1c97e5]}},_0x427270={'id':'doc.mutation.rich-text-editing','params':{..._0x716a04[_0x1c97e5]}},_0x127dde=this['_transformService'][_0x1fb86e(0x476)](_0x1d32b4,_0x1dee70,!0x1),_0x429da6=this['_transformService'][_0x1fb86e(0x476)](_0x1e476c,_0x427270,!0x1);if(_0x434c76['isTransformMutationFailure'](_0x127dde))throw _0x127dde[_0x1fb86e(0x371)];if(_0x434c76['isTransformMutationFailure'](_0x429da6))throw _0x429da6[_0x1fb86e(0x371)];_0x291f9c[_0x1fb86e(0x394)](_0x127dde['m2Prime'][_0x1fb86e(0x4ef)]),_0x27f9fd[_0x1fb86e(0x394)](_0x429da6[_0x1fb86e(0x682)][_0x1fb86e(0x4ef)]),_0x1d32b4=_0x127dde['m1Prime'],_0x1e476c=_0x429da6['m1Prime'];}_0x3861b8['setUndoRedoMutationParamsCache']({'undoCache':_0x291f9c,'redoCache':_0x27f9fd});}[_0x270b48(0x263)](_0x2ac02e){const _0x4e66e2=_0x270b48,{unitID:_0x2fb227}=_0x2ac02e,_0x469ba3=this['_renderManagerService'][_0x4e66e2(0x4d2)](_0x2fb227)[_0x4e66e2(0x287)](_0x427cca[_0x4e66e2(0x558)]),_0x4aec32=_0x469ba3['getActiveRange']();if(_0x4aec32==null)return;const _0x5ef5be=[{'id':_0x4e66e2(0x3b4),'params':{'unitId':_0x2ac02e[_0x4e66e2(0x224)],'actions':null,'textRanges':[_0x4aec32]}}],_0xe1543d=this[_0x4e66e2(0x54b)][_0x4e66e2(0x236)](_0x2ac02e,_0x5ef5be);if(!_0x434c76[_0x4e66e2(0x425)](_0xe1543d))throw _0xe1543d['error'];const _0x3898c4=_0xe1543d['m2Prime'][0x0][_0x4e66e2(0x4ef)][_0x4e66e2(0x21f)];Array[_0x4e66e2(0x3dc)](_0x3898c4)&&_0x3898c4[_0x4e66e2(0x2df)]&&_0x469ba3[_0x4e66e2(0x3f3)](_0x3898c4[0x0]);}};_0x3d74d7=_0x3b9229([_0x1960cb(0x0,_0x10122e[_0x270b48(0x5c7)](_0x10122e[_0x270b48(0x53a)])),_0x1960cb(0x1,_0x434c76['ITransformService']),_0x1960cb(0x2,_0x3d8481[_0x270b48(0x390)])],_0x3d74d7);var _0x2b810b=Object[_0x270b48(0x29d)],_0x5e579d=Object['getOwnPropertyDescriptor'],_0xd1d9b=(_0x12edc6,_0x4aa1f8,_0x527f25,_0x2b0ec0)=>{const _0x1c8853=_0x270b48;for(var _0x5f7406=_0x2b0ec0>0x1?void 0x0:_0x2b0ec0?_0x5e579d(_0x4aa1f8,_0x527f25):_0x4aa1f8,_0x364d54=_0x12edc6[_0x1c8853(0x2df)]-0x1,_0x311afe;_0x364d54>=0x0;_0x364d54--)(_0x311afe=_0x12edc6[_0x364d54])&&(_0x5f7406=(_0x2b0ec0?_0x311afe(_0x4aa1f8,_0x527f25,_0x5f7406):_0x311afe(_0x5f7406))||_0x5f7406);return _0x2b0ec0&&_0x5f7406&&_0x2b810b(_0x4aa1f8,_0x527f25,_0x5f7406),_0x5f7406;},_0x2f44f8=(_0x55529d,_0x12f937)=>(_0x1673de,_0x599237)=>_0x12f937(_0x1673de,_0x599237,_0x55529d);_0x3ef0c0[_0x270b48(0x2c7)]=class extends _0x10122e[_0x270b48(0x5f7)]{constructor(_0x5e0f8f,_0x44a939,_0x290b60,_0x351ee7,_0x51ada6){const _0x58c163=_0x270b48;super(),_0x11da04(this,_0x58c163(0x5ad),new Map()),_0x11da04(this,_0x58c163(0x24b),new Map()),_0x11da04(this,_0x58c163(0x3b1),!0x1),(this[_0x58c163(0x4dd)]=_0x5e0f8f,this[_0x58c163(0x3df)]=_0x44a939,this[_0x58c163(0x2a8)]=_0x290b60,this[_0x58c163(0x548)]=_0x351ee7,this[_0x58c163(0x4cb)]=_0x51ada6,this[_0x58c163(0x1ea)]());}[_0x270b48(0x45b)](){const _0x281ada=_0x270b48;this[_0x281ada(0x3b1)]=!0x0;}['enableLocalCache'](){const _0x1a9fbd=_0x270b48;this[_0x1a9fbd(0x3b1)]=!0x1;}[_0x270b48(0x67e)](){const _0x3c8c24=_0x270b48;this['exhaustSavingTask']()[_0x3c8c24(0x443)](()=>super[_0x3c8c24(0x67e)]());}async[_0x270b48(0x294)](_0x104ff4){return this['_disabled']?null:this['_localStorageService']['getItem'](_0x91a2ff(_0x104ff4));}async['saveOfflineData'](_0x44c766,_0x5f11fe){const _0x33c4a8=_0x270b48;return!!this[_0x33c4a8(0x3df)][_0x33c4a8(0x4aa)](_0x44c766,_0x5f11fe);}[_0x270b48(0x58c)](_0x33b6ea,_0x1c31f3,_0x37bb7b,_0x56469e){const _0x54bec8=_0x270b48,_0x338728=this[_0x54bec8(0x4cb)][_0x54bec8(0x3ff)](_0x33b6ea);this[_0x54bec8(0x5ad)][_0x54bec8(0x472)](_0x33b6ea,{'unitID':_0x33b6ea,'type':_0x1c31f3,'awaitingChangeset':_0x37bb7b,'mutations':_0x56469e,'rev':_0x338728}),this[_0x54bec8(0x24b)][_0x54bec8(0x5aa)](_0x33b6ea)||this['_scheduleSaving'](_0x33b6ea);}[_0x270b48(0x354)](_0x503b2f){const _0x4a8a90=_0x270b48,_0x490331=this[_0x4a8a90(0x441)]();_0x490331===0x0?this[_0x4a8a90(0x5a9)](_0x503b2f):this[_0x4a8a90(0x24b)]['set'](_0x503b2f,setTimeout(()=>this[_0x4a8a90(0x5a9)](_0x503b2f),_0x490331));}[_0x270b48(0x441)](){const _0x5226fe=_0x270b48;var _0x2bf286;return(_0x2bf286=this[_0x5226fe(0x4dd)][_0x5226fe(0x5f1)](_0x42267c))!=null?_0x2bf286:0x3e8;}['_saveCache'](_0x1ce3d4){const _0x39706f=_0x270b48,_0x36ef4a=this[_0x39706f(0x24b)][_0x39706f(0x56f)](_0x1ce3d4);return _0x36ef4a!==void 0x0&&window[_0x39706f(0x595)](_0x36ef4a),this[_0x39706f(0x3df)][_0x39706f(0x4aa)](_0x91a2ff(_0x1ce3d4),this[_0x39706f(0x5ad)]['get'](_0x1ce3d4))[_0x39706f(0x443)](()=>this[_0x39706f(0x24b)]['delete'](_0x1ce3d4));}async[_0x270b48(0x5d5)](){const _0x37db1f=_0x270b48,_0x581953=[];this[_0x37db1f(0x24b)][_0x37db1f(0x4bd)]((_0x2c2b06,_0x1fe854)=>{const _0x3ff629=_0x37db1f;window['clearTimeout'](_0x2c2b06),_0x581953[_0x3ff629(0x28f)](this[_0x3ff629(0x5a9)](_0x1fe854)['then'](()=>{const _0x290c19=_0x3ff629;this[_0x290c19(0x24b)][_0x290c19(0x48d)](_0x1fe854);}));}),await Promise[_0x37db1f(0x3e3)](_0x581953);}[_0x270b48(0x1ea)](){const _0x1792a2=_0x270b48;this[_0x1792a2(0x206)](this[_0x1792a2(0x2a8)][_0x1792a2(0x43e)](()=>{const _0x292c7c=_0x1792a2;if(this['_saveTaskMap']['size'])return this['_localeService']['t'](_0x292c7c(0x4bb));}));}},_0x3ef0c0[_0x270b48(0x2c7)]=_0xd1d9b([_0x2f44f8(0x0,_0x10122e[_0x270b48(0x635)]),_0x2f44f8(0x1,_0x10122e[_0x270b48(0x278)]),_0x2f44f8(0x2,_0x3421c5[_0x270b48(0x4e2)]),_0x2f44f8(0x3,_0x10122e[_0x270b48(0x5c7)](_0x10122e['LocaleService'])),_0x2f44f8(0x4,_0x10122e[_0x270b48(0x5c7)](_0x434c76['RevisionService']))],_0x3ef0c0['LocalCacheService']);function _0x91a2ff(_0x3de22b){const _0x3afb14=_0x270b48;return _0x3afb14(0x4a1)+_0x3de22b;}var _0x331093=Object[_0x270b48(0x29d)],_0x2350ac=Object[_0x270b48(0x255)],_0x5135b2=(_0x42e644,_0x3d711c,_0x3385ba,_0x59ac46)=>{for(var _0x116df4=_0x59ac46>0x1?void 0x0:_0x59ac46?_0x2350ac(_0x3d711c,_0x3385ba):_0x3d711c,_0x21d402=_0x42e644['length']-0x1,_0x50c681;_0x21d402>=0x0;_0x21d402--)(_0x50c681=_0x42e644[_0x21d402])&&(_0x116df4=(_0x59ac46?_0x50c681(_0x3d711c,_0x3385ba,_0x116df4):_0x50c681(_0x116df4))||_0x116df4);return _0x59ac46&&_0x116df4&&_0x331093(_0x3d711c,_0x3385ba,_0x116df4),_0x116df4;},_0x2c0c88=(_0x30fb65,_0x43a23a)=>(_0x205bca,_0x271d13)=>_0x43a23a(_0x205bca,_0x271d13,_0x30fb65);function _0x1fe86b(_0x585457){const _0xd731b=_0x270b48,{unitID:_0x21a7e3,mutations:_0x1c938a}=_0x585457;return{'unitId':_0x21a7e3,'subUnitId':_0x1c938a[0x0][_0xd731b(0x4ef)]['subUnitId']};}let _0x16b02c=class{constructor(_0x5f035c,_0xe4d7f8,_0x36563b){const _0x3bf935=_0x270b48;this[_0x3bf935(0x358)]=_0x5f035c,this['_transformService']=_0xe4d7f8,this[_0x3bf935(0x3a4)]=_0x36563b;}[_0x270b48(0x271)](_0x507ce3){const _0xadc866=_0x270b48;var _0x19c913,_0x3fed79,_0x3458a3,_0x556894;const _0x408a5a=this[_0xadc866(0x358)][_0xadc866(0x56f)](_0x43d50e[_0xadc866(0x524)]),{unitId:_0x433b13,subUnitId:_0x1dd41f}=_0x1fe86b(_0x507ce3),_0x33ecf9=_0x408a5a['getWorkbookSelections'](_0x433b13)[_0xadc866(0x2fc)](),_0x8fb44=(_0x3fed79=(_0x19c913=this['_instanceService'][_0xadc866(0x2a0)](_0x433b13))==null?void 0x0:_0x19c913[_0xadc866(0x56c)]())==null?void 0x0:_0x3fed79[_0xadc866(0x3c7)]();if(_0x33ecf9['length']===0x0||!_0x433b13||!_0x1dd41f)return;const _0x4217cf=[{'id':_0x43d50e['SetSelectionsOperation']['id'],'params':{'unitId':_0x433b13,'subUnitId':_0x8fb44,'selections':_0x10122e[_0xadc866(0x3bf)][_0xadc866(0x20d)](_0x33ecf9)}}],_0xaa75f7=this[_0xadc866(0x54b)][_0xadc866(0x236)](_0x507ce3,_0x4217cf);if(!_0x434c76[_0xadc866(0x425)](_0xaa75f7))throw _0xaa75f7[_0xadc866(0x371)];const _0x16f454=(_0x556894=(_0x3458a3=_0xaa75f7[_0xadc866(0x682)][0x0])==null?void 0x0:_0x3458a3[_0xadc866(0x4ef)])==null?void 0x0:_0x556894[_0xadc866(0x1e4)];if(Array[_0xadc866(0x3dc)](_0x16f454)&&_0x16f454[_0xadc866(0x2df)]){if(_0x16f454[_0xadc866(0x2df)]===_0x4217cf[0x0]['params'][_0xadc866(0x1e4)][_0xadc866(0x2df)]&&_0x16f454[_0xadc866(0x30f)]((_0x12d5a3,_0x310c49)=>_0x10122e[_0xadc866(0x465)][_0xadc866(0x35e)](_0x12d5a3['range'],_0x4217cf[0x0][_0xadc866(0x4ef)][_0xadc866(0x1e4)][_0x310c49]['range'])))return;this[_0xadc866(0x358)]['get'](_0x10122e['ICommandService'])['executeCommand'](_0x43d50e[_0xadc866(0x50d)]['id'],{'unitId':_0x433b13,'subUnitId':_0x8fb44,'selections':_0x16f454});}}};_0x16b02c=_0x5135b2([_0x2c0c88(0x0,_0x10122e[_0x270b48(0x5c7)](_0x10122e[_0x270b48(0x53a)])),_0x2c0c88(0x1,_0x434c76[_0x270b48(0x3d9)]),_0x2c0c88(0x2,_0x10122e[_0x270b48(0x204)])],_0x16b02c);const _0x483e19=_0x10122e[_0x270b48(0x1e3)]('univer-pro.collaboration-client.single-active-unit-service');var _0x18fdd6=(_0x466570=>(_0x466570[_0x466570[_0x270b48(0x645)]=0x0]=_0x270b48(0x645),_0x466570[_0x466570['OTHER_CLIENTS_EDITING']=0x1]=_0x270b48(0x5d4),_0x466570))(_0x18fdd6||{});const _0x27aa2f=0x7530,_0x4eba9f=_0x270b48(0x5d8);class _0x146767 extends _0x10122e[_0x270b48(0x5f7)]{constructor(){const _0x32305d=_0x270b48;super(),_0x11da04(this,'_id',_0x10122e[_0x32305d(0x3bf)][_0x32305d(0x419)]()),_0x11da04(this,'_selfUnitIDs',new Set()),_0x11da04(this,'_unitOnClients',new Map()),_0x11da04(this,'_heartbeatTimer',null),_0x11da04(this,_0x32305d(0x48c),new Map()),_0x11da04(this,'_unitStatus',new Map()),this[_0x32305d(0x46f)]();}[_0x270b48(0x67e)](){const _0x165cd2=_0x270b48;super[_0x165cd2(0x67e)](),this['_clearOtherTimers'][_0x165cd2(0x4bd)]((_0x42b4bc,_0x62c350)=>this[_0x165cd2(0x276)](_0x62c350)),this[_0x165cd2(0x461)]&&window[_0x165cd2(0x517)](this['_heartbeatTimer']);}[_0x270b48(0x3d0)](_0x38c301){const _0x24f188=_0x270b48;return this['_ensureSubject'](_0x38c301)[_0x24f188(0x3fb)](_0x43beed[_0x24f188(0x353)]());}[_0x270b48(0x220)](_0x48d1c1){const _0x10b0de=_0x270b48;this[_0x10b0de(0x1d2)][_0x10b0de(0x611)]===0x0&&this[_0x10b0de(0x47d)](),this[_0x10b0de(0x1d2)][_0x10b0de(0x607)](_0x48d1c1),this[_0x10b0de(0x2ce)]({'type':0x0,'memberID':this[_0x10b0de(0x34e)],'unitIDs':[_0x48d1c1],'isForwarded':!0x1});}[_0x270b48(0x355)](_0x201687){const _0xf27272=_0x270b48;this[_0xf27272(0x1d2)][_0xf27272(0x48d)](_0x201687),this[_0xf27272(0x1d2)][_0xf27272(0x611)]===0x0&&this[_0xf27272(0x461)]&&window['clearInterval'](this[_0xf27272(0x461)]);}[_0x270b48(0x46f)](){const _0x3a7a29=_0x270b48;this[_0x3a7a29(0x206)](_0x10122e[_0x3a7a29(0x305)](_0x43beed[_0x3a7a29(0x336)](window,_0x3a7a29(0x49b))[_0x3a7a29(0x40f)](_0x26d149=>{const _0x436e23=_0x3a7a29;if(_0x26d149[_0x436e23(0x20c)]!==_0x4eba9f||!_0x26d149[_0x436e23(0x571)])return;const _0xf1444d=JSON[_0x436e23(0x222)](_0x26d149[_0x436e23(0x571)]);this[_0x436e23(0x2cd)](_0xf1444d);}))),window['addEventListener'](_0x3a7a29(0x35f),()=>this[_0x3a7a29(0x2ce)]({'type':0x1,'memberID':this[_0x3a7a29(0x34e)],'unitIDs':Array[_0x3a7a29(0x3b2)](this[_0x3a7a29(0x1d2)])}));}[_0x270b48(0x2cd)](_0x13048b){const _0x225482=_0x270b48;switch(_0x13048b['type']){case 0x0:this[_0x225482(0x275)](_0x13048b);break;case 0x1:this['_handleLeaveEvent'](_0x13048b);break;case 0x2:this[_0x225482(0x482)](_0x13048b);break;}}[_0x270b48(0x275)](_0x14f39f){const _0x50ae6c=_0x270b48,{unitIDs:_0x4ab6f4,memberID:_0x4d966d,isForwarded:_0x19c988}=_0x14f39f;_0x4ab6f4[_0x50ae6c(0x4bd)](_0x186095=>{const _0x22660e=_0x50ae6c;if(!_0x19c988&&this[_0x22660e(0x469)][_0x22660e(0x5aa)](_0x186095)&&this[_0x22660e(0x2e2)](_0x186095)[_0x22660e(0x299)](0x1),!this[_0x22660e(0x469)][_0x22660e(0x5aa)](_0x186095)||!this[_0x22660e(0x469)][_0x22660e(0x56f)](_0x186095)[_0x22660e(0x5aa)](_0x4d966d)){const _0x29843e=this['_unitOnClients'][_0x22660e(0x56f)](_0x186095)||new Set();_0x29843e[_0x22660e(0x607)](_0x4d966d),this[_0x22660e(0x469)][_0x22660e(0x472)](_0x186095,_0x29843e),this['_scheduleClearOtherTimer'](_0x4d966d);}}),_0x19c988||this[_0x50ae6c(0x2ce)]({'type':0x0,'memberID':this[_0x50ae6c(0x34e)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x270b48(0x3af)](_0x31af70){const _0x516737=_0x270b48;this[_0x516737(0x276)](_0x31af70);const _0x14c87f=window[_0x516737(0x298)](()=>{const _0x54116a=_0x516737;this[_0x54116a(0x469)]['forEach'](_0x2ab5cf=>{const _0x518d2f=_0x54116a;_0x2ab5cf[_0x518d2f(0x48d)](_0x31af70);});},_0x27aa2f*0x2);this['_clearOtherTimers'][_0x516737(0x472)](_0x31af70,_0x14c87f);}[_0x270b48(0x276)](_0xf31e9e){const _0xe2c227=_0x270b48;if(this[_0xe2c227(0x48c)][_0xe2c227(0x5aa)](_0xf31e9e)){const _0x100396=this['_clearOtherTimers'][_0xe2c227(0x56f)](_0xf31e9e);_0x100396&&window[_0xe2c227(0x595)](_0x100396),this['_clearOtherTimers'][_0xe2c227(0x472)](_0xf31e9e,null);}}[_0x270b48(0x4f3)](_0x43d75f){const _0x54946d=_0x270b48,{memberID:_0x3a0e51,unitIDs:_0x4c3ba5}=_0x43d75f;_0x4c3ba5[_0x54946d(0x4bd)](_0x35ce52=>{const _0x4c0dfe=_0x54946d;var _0x5d2fcf;const _0x114d7f=this[_0x4c0dfe(0x469)]['get'](_0x35ce52);_0x114d7f&&(_0x114d7f[_0x4c0dfe(0x48d)](_0x3a0e51),(_0x5d2fcf=this[_0x4c0dfe(0x2e2)](_0x35ce52))==null||_0x5d2fcf['next'](_0x114d7f[_0x4c0dfe(0x611)]===0x0?0x0:0x1));}),this[_0x54946d(0x276)](_0x3a0e51);}[_0x270b48(0x482)](_0x18f21f){const _0x5ee632=_0x270b48;this[_0x5ee632(0x3af)](_0x18f21f[_0x5ee632(0x1d0)]);}[_0x270b48(0x2ce)](_0x2fdef8){const _0x11e79e=_0x270b48;localStorage['setItem'](_0x4eba9f,JSON[_0x11e79e(0x254)](_0x2fdef8));}[_0x270b48(0x47d)](){const _0x2e8cf3=_0x270b48;this['_heartbeatTimer']=window[_0x2e8cf3(0x442)](()=>{const _0x1cbc02=_0x2e8cf3;this[_0x1cbc02(0x2ce)]({'type':0x2,'memberID':this[_0x1cbc02(0x34e)]});},_0x27aa2f);}[_0x270b48(0x2e2)](_0x259af9){const _0x483f8d=_0x270b48;return this['_unitStatus'][_0x483f8d(0x5aa)](_0x259af9)||this[_0x483f8d(0x367)][_0x483f8d(0x472)](_0x259af9,new _0x43beed[(_0x483f8d(0x65c))](0x0)),this['_unitStatus'][_0x483f8d(0x56f)](_0x259af9);}}var _0xf2c0e3=Object[_0x270b48(0x29d)],_0x3b18a8=Object[_0x270b48(0x255)],_0x7d9395=(_0x48ebac,_0x181a6d,_0x3c00cd,_0x3aec2d)=>{for(var _0x78369d=_0x3aec2d>0x1?void 0x0:_0x3aec2d?_0x3b18a8(_0x181a6d,_0x3c00cd):_0x181a6d,_0x1d5d31=_0x48ebac['length']-0x1,_0x5d9932;_0x1d5d31>=0x0;_0x1d5d31--)(_0x5d9932=_0x48ebac[_0x1d5d31])&&(_0x78369d=(_0x3aec2d?_0x5d9932(_0x181a6d,_0x3c00cd,_0x78369d):_0x5d9932(_0x78369d))||_0x78369d);return _0x3aec2d&&_0x78369d&&_0xf2c0e3(_0x181a6d,_0x3c00cd,_0x78369d),_0x78369d;},_0x40acdd=(_0x30db89,_0x159a4b)=>(_0x36ebf1,_0x18e4ca)=>_0x159a4b(_0x36ebf1,_0x18e4ca,_0x30db89);let _0x79b668=class{constructor(_0x111c2c,_0x53c2b5,_0x49453a){const _0x53aa8c=_0x270b48;this[_0x53aa8c(0x358)]=_0x111c2c,this[_0x53aa8c(0x54b)]=_0x53c2b5,this['_docStateChangeManagerService']=_0x49453a;}[_0x270b48(0x2d0)](_0x5f43e5){this['_transformHistoryAndStateStack'](_0x5f43e5);}[_0x270b48(0x5b5)](_0x4a039f){const _0x22089b=_0x270b48,{unitID:_0x38277d}=_0x4a039f,{collaboration:_0x5db4fa}=this[_0x22089b(0x4fc)]['getStateCache'](_0x38277d);if(_0x5db4fa[_0x22089b(0x2df)]===0x0)return _0x4a039f;let _0x17bb84=_0x10122e[_0x22089b(0x3bf)][_0x22089b(0x20d)](_0x4a039f[_0x22089b(0x43b)][0x0]);for(let _0x26d1db=0x0;_0x26d1db<_0x5db4fa[_0x22089b(0x2df)];_0x26d1db++){const _0x5ccdbd={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5db4fa[_0x26d1db]['unitId'],..._0x5db4fa[_0x26d1db][_0x22089b(0x568)]}},_0x5bc393=this['_transformService']['transformMutation'](_0x17bb84,_0x5ccdbd,!0x1);if(_0x434c76['isTransformMutationFailure'](_0x5bc393))throw _0x5bc393[_0x22089b(0x371)];_0x17bb84=_0x5bc393[_0x22089b(0x659)];}return{..._0x10122e[_0x22089b(0x3bf)][_0x22089b(0x20d)](_0x4a039f),'mutations':[_0x17bb84]};}[_0x270b48(0x585)](_0xafe82f){const _0x30920e=_0x270b48,{unitID:_0x424daa}=_0xafe82f,{history:_0x227cfd,collaboration:_0x40035b}=this['_docStateChangeManagerService'][_0x30920e(0x3f0)](_0x424daa);if(_0x227cfd[_0x30920e(0x2df)]===0x0&&_0x40035b['length']===0x0)return;const _0x5de31d=[],_0x29cb10=[];let _0xfcec00=_0x10122e[_0x30920e(0x3bf)][_0x30920e(0x20d)](_0xafe82f[_0x30920e(0x43b)][0x0]),_0x41dbce=_0x10122e[_0x30920e(0x3bf)][_0x30920e(0x20d)](_0xafe82f[_0x30920e(0x43b)][0x0]);for(let _0x39b65e=_0x227cfd['length']-0x1;_0x39b65e>=0x0;_0x39b65e--){const _0x4d8234={'id':_0x30920e(0x3b4),'params':{'unitId':_0x227cfd[_0x39b65e][_0x30920e(0x3d3)],..._0x227cfd[_0x39b65e][_0x30920e(0x620)]}},_0x50b76d={'id':_0x30920e(0x3b4),'params':{'unitId':_0x227cfd[_0x39b65e][_0x30920e(0x3d3)],..._0x227cfd[_0x39b65e][_0x30920e(0x568)]}},_0x5cbe27=this['_transformService'][_0x30920e(0x476)](_0xfcec00,_0x4d8234,!0x1),_0x347a56=this[_0x30920e(0x54b)][_0x30920e(0x476)](_0x41dbce,_0x50b76d,!0x1);if(_0x434c76['isTransformMutationFailure'](_0x5cbe27))throw _0x5cbe27[_0x30920e(0x371)];if(_0x434c76[_0x30920e(0x330)](_0x347a56))throw _0x347a56[_0x30920e(0x371)];_0x5de31d[_0x30920e(0x394)]({..._0x227cfd[_0x39b65e],'undoState':_0x5cbe27[_0x30920e(0x682)][_0x30920e(0x4ef)],'redoState':_0x347a56[_0x30920e(0x682)][_0x30920e(0x4ef)]}),_0xfcec00=_0x5cbe27[_0x30920e(0x659)],_0x41dbce=_0x347a56[_0x30920e(0x659)];}_0xfcec00=_0x10122e[_0x30920e(0x3bf)][_0x30920e(0x20d)](_0xafe82f[_0x30920e(0x43b)][0x0]),_0x41dbce=_0x10122e[_0x30920e(0x3bf)][_0x30920e(0x20d)](_0xafe82f[_0x30920e(0x43b)][0x0]);for(let _0x8e42a4=_0x40035b[_0x30920e(0x2df)]-0x1;_0x8e42a4>=0x0;_0x8e42a4--){const _0xe3e163={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x40035b[_0x8e42a4][_0x30920e(0x3d3)],..._0x40035b[_0x8e42a4][_0x30920e(0x620)]}},_0x365838={'id':_0x30920e(0x3b4),'params':{'unitId':_0x40035b[_0x8e42a4][_0x30920e(0x3d3)],..._0x40035b[_0x8e42a4][_0x30920e(0x568)]}},_0x2797b9=this[_0x30920e(0x54b)][_0x30920e(0x476)](_0xfcec00,_0xe3e163,!0x1),_0x6dd03b=this[_0x30920e(0x54b)][_0x30920e(0x476)](_0x41dbce,_0x365838,!0x1);if(_0x434c76['isTransformMutationFailure'](_0x2797b9))throw _0x2797b9[_0x30920e(0x371)];if(_0x434c76['isTransformMutationFailure'](_0x6dd03b))throw _0x6dd03b['error'];_0x29cb10[_0x30920e(0x394)]({..._0x40035b[_0x8e42a4],'undoState':_0x2797b9[_0x30920e(0x682)][_0x30920e(0x4ef)],'redoState':_0x6dd03b['m2Prime'][_0x30920e(0x4ef)]}),_0xfcec00=_0x2797b9[_0x30920e(0x659)],_0x41dbce=_0x6dd03b[_0x30920e(0x659)];}this[_0x30920e(0x4fc)][_0x30920e(0x2f2)](_0x424daa,{'history':_0x5de31d,'collaboration':_0x29cb10});}};_0x79b668=_0x7d9395([_0x40acdd(0x0,_0x10122e[_0x270b48(0x5c7)](_0x10122e['Injector'])),_0x40acdd(0x1,_0x434c76['ITransformService']),_0x40acdd(0x2,_0x10122e[_0x270b48(0x5c7)](_0x427cca[_0x270b48(0x1fc)]))],_0x79b668);function _0x46ba9a(_0x2e3010){const _0x447e6e=_0x270b48;let _0x823317='';for(const _0x2c5136 of _0x2e3010){const {startOffset:_0x26fbe6,endOffset:_0xd05ff2,isActive:_0x5f4bbb,rangeType:_0x5886ba,segmentId:_0x1586b7,segmentPage:_0xf3fd22}=_0x2c5136;_0x823317[_0x447e6e(0x2df)]&&(_0x823317+=','),_0x823317+=_0x26fbe6+':'+_0xd05ff2+':'+(_0x5f4bbb?'1':'0')+':'+_0x5886ba+':'+_0x1586b7+':'+_0xf3fd22;}return _0x823317;}function _0x334742(_0xff418e){const _0x15d1ee=_0x270b48,_0x2d1a69=_0xff418e[_0x15d1ee(0x211)](','),_0xe6464=[];for(const _0x63821e of _0x2d1a69){const [_0x5bfaaa,_0x41a928,_0x3ee4cf,_0x340abe,_0x140555,_0x3e8f1c]=_0x63821e[_0x15d1ee(0x211)](':');_0xe6464[_0x15d1ee(0x28f)]({'startOffset':Number(_0x5bfaaa),'endOffset':Number(_0x41a928),'collapsed':_0x5bfaaa===_0x41a928,'isActive':_0x3ee4cf==='1','rangeType':_0x340abe===_0x10122e['DOC_RANGE_TYPE']['TEXT']?_0x10122e[_0x15d1ee(0x266)]['TEXT']:_0x10122e[_0x15d1ee(0x266)][_0x15d1ee(0x202)],'segmentId':typeof _0x140555==_0x15d1ee(0x451)?String(_0x140555):'','segmentPage':Number(_0x3e8f1c!=null?_0x3e8f1c:-0x1)});}return _0xe6464[_0x15d1ee(0x601)](_0x3143f6=>_0x3143f6[_0x15d1ee(0x387)])||(_0xe6464[0x0][_0x15d1ee(0x387)]=!0x0),_0xe6464;}class _0x3a2161 extends _0x10122e[_0x270b48(0x332)]{constructor(){const _0x248811=_0x270b48;super(...arguments),_0x11da04(this,_0x248811(0x4a2),new _0x43beed['BehaviorSubject'](null)),_0x11da04(this,_0x248811(0x2f5),this[_0x248811(0x4a2)][_0x248811(0x644)]());}[_0x270b48(0x694)](_0x2c3b52){const _0x3f8116=_0x270b48,{unitID:_0x360359,memberID:_0x19a7a5,textRanges:_0xa5fc0}=_0x2c3b52,_0xcc1128=_0x46ba9a(_0xa5fc0);if(_0xcc1128==='')return;const _0x13ef88={'unitID':_0x360359,'memberID':_0x19a7a5,'selection':_0xcc1128};this[_0x3f8116(0x4a2)][_0x3f8116(0x299)](_0x13ef88);}}var _0x2043e5=Object['defineProperty'],_0x12d109=Object[_0x270b48(0x255)],_0xcb844f=(_0x2f135f,_0xf94551,_0x41562e,_0xdf9991)=>{for(var _0x50dda3=_0xdf9991>0x1?void 0x0:_0xdf9991?_0x12d109(_0xf94551,_0x41562e):_0xf94551,_0x8aafe0=_0x2f135f['length']-0x1,_0x33ede8;_0x8aafe0>=0x0;_0x8aafe0--)(_0x33ede8=_0x2f135f[_0x8aafe0])&&(_0x50dda3=(_0xdf9991?_0x33ede8(_0xf94551,_0x41562e,_0x50dda3):_0x33ede8(_0x50dda3))||_0x50dda3);return _0xdf9991&&_0x50dda3&&_0x2043e5(_0xf94551,_0x41562e,_0x50dda3),_0x50dda3;},_0x30844d=(_0x2beb20,_0x184088)=>(_0x400408,_0x1b3164)=>_0x184088(_0x400408,_0x1b3164,_0x2beb20);let _0x38bb72=class{constructor(_0x32ba1a,_0x4bb77f){const _0x441229=_0x270b48;this[_0x441229(0x358)]=_0x32ba1a,this[_0x441229(0x54b)]=_0x4bb77f;}[_0x270b48(0x271)](_0x396c89){const _0x190a56=_0x270b48;var _0x4f55cc;const _0x55befb=this[_0x190a56(0x358)][_0x190a56(0x56f)](_0x48121f[_0x190a56(0x693)]),_0x4f91d8=(_0x4f55cc=_0x55befb[_0x190a56(0x26b)]())!=null?_0x4f55cc:[];if(_0x4f91d8[_0x190a56(0x2df)]===0x0)return;const _0xfa6e56=_0x396c89[_0x190a56(0x224)],_0x4838e3=[{'id':_0x190a56(0x3b4),'params':{'unitId':_0xfa6e56,'actions':null,'textRanges':_0x4f91d8}}],_0x3d4fc7=this['_transformService']['transformMutationsWithChangeset'](_0x396c89,_0x4838e3);if(!_0x434c76[_0x190a56(0x425)](_0x3d4fc7))throw _0x3d4fc7[_0x190a56(0x371)];const _0x48338b=_0x3d4fc7[_0x190a56(0x682)][0x0][_0x190a56(0x4ef)]['textRanges'];Array['isArray'](_0x48338b)&&_0x48338b[_0x190a56(0x2df)]&&_0x55befb[_0x190a56(0x4b5)](_0x48338b,{'unitId':_0xfa6e56,'subUnitId':_0xfa6e56},!0x1);}};_0x38bb72=_0xcb844f([_0x30844d(0x0,_0x10122e[_0x270b48(0x5c7)](_0x10122e['Injector'])),_0x30844d(0x1,_0x434c76[_0x270b48(0x3d9)])],_0x38bb72);const _0x5d76b9=new Set([_0x43d50e[_0x270b48(0x1d7)]['id']]);function _0x26b9af(_0x443290,_0x55bd28,_0x5c542c,_0x50aebb,_0x187fda){const _0x318ccf=_0x270b48;var _0x11b91f,_0x5e46cf,_0x2f03ef,_0x1e0f66;const _0x1955a8=[];for(const _0x5f13d1 of _0x443290)if(_0x5d76b9[_0x318ccf(0x5aa)](_0x5f13d1['id'])){if(_0x1955a8[_0x318ccf(0x2df)]>0x0)break;_0x1955a8[_0x318ccf(0x28f)](_0x5f13d1);break;}else _0x1955a8['push'](_0x5f13d1);const _0x5d990c=(_0x5e46cf=(_0x11b91f=_0x187fda[_0x318ccf(0x1d8)]())==null?void 0x0:_0x11b91f[_0x318ccf(0x581)])!=null?_0x5e46cf:_0x318ccf(0x31f),_0x19b7e5=(_0x1e0f66=(_0x2f03ef=_0x187fda[_0x318ccf(0x1d8)]())==null?void 0x0:_0x2f03ef[_0x318ccf(0x1d0)])!=null?_0x1e0f66:'unknown';return{'changeset':{'unitID':_0x55bd28,'type':_0x434c76['mapDocumentTypeToUniverType'](_0x5c542c[_0x318ccf(0x2e7)](_0x55bd28)),'baseRev':_0x50aebb[_0x318ccf(0x3ff)](_0x55bd28),'revision':0x0,'userID':_0x5d990c,'memberID':_0x19b7e5,'mutations':_0x1955a8},'pendingMutations':_0x443290[_0x318ccf(0x4ac)](_0x1955a8[_0x318ccf(0x2df)])};}function _0x560128(_0x59c930,_0x449e8a,_0x5b3981,_0x3bbef7,_0x150bcd){const _0x2be8a8=_0x270b48;var _0x9e9fea,_0x40e53f,_0x3efd51,_0x2851e1;const _0xc7c9=[_0x59c930[_0x2be8a8(0x578)]((_0x2d3b28,_0xfd7362)=>{const _0x4b23a2=_0x2be8a8;var _0x4019df;const {id:_0x3bbb54}=_0x2d3b28,{id:_0x39dc72,type:_0x21c627}=_0xfd7362,_0x1ec42b=(_0x4019df=_0x2d3b28['params'])!=null?_0x4019df:{'actions':null},_0x50f6eb=_0xfd7362[_0x4b23a2(0x4ef)];if(_0x3bbb54&&_0x3bbb54!==_0x39dc72)throw new Error(_0x4b23a2(0x60a)+_0x3bbb54+'\x20-\x20'+_0x39dc72+'.');return{..._0x2d3b28,'id':_0x39dc72,'type':_0x21c627,'params':{'unitId':_0x50f6eb[_0x4b23a2(0x3d3)],'textRanges':_0x50f6eb[_0x4b23a2(0x21f)],'actions':_0x10122e['JSONX'][_0x4b23a2(0x28a)](_0x1ec42b[_0x4b23a2(0x20a)],_0x50f6eb['actions'])}};},{})],_0x3f2f4a=(_0x40e53f=(_0x9e9fea=_0x150bcd[_0x2be8a8(0x1d8)]())==null?void 0x0:_0x9e9fea[_0x2be8a8(0x581)])!=null?_0x40e53f:_0x2be8a8(0x31f),_0x3d1107=(_0x2851e1=(_0x3efd51=_0x150bcd[_0x2be8a8(0x1d8)]())==null?void 0x0:_0x3efd51['memberID'])!=null?_0x2851e1:_0x2be8a8(0x31f);return{'changeset':{'unitID':_0x449e8a,'type':_0x434c76[_0x2be8a8(0x36e)](_0x5b3981[_0x2be8a8(0x2e7)](_0x449e8a)),'baseRev':_0x3bbef7[_0x2be8a8(0x3ff)](_0x449e8a),'revision':0x0,'userID':_0x3f2f4a,'memberID':_0x3d1107,'mutations':_0xc7c9},'pendingMutations':[]};}function _0x29b3ac(_0xa91b1b,_0x4cd007){const _0x3b0bfd=_0x270b48,_0x3743ae=new _0x43beed[(_0x3b0bfd(0x5e0))](0x1);return setTimeout(()=>_0x3743ae['next'](_0x4cd007),_0xa91b1b),_0x3743ae[_0x3b0bfd(0x644)]()[_0x3b0bfd(0x3fb)](_0x43beed[_0x3b0bfd(0x4cd)](0x1));}const _0x145b5b={'id':_0x43d50e[_0x270b48(0x500)]['id'],'type':_0x10122e[_0x270b48(0x462)][_0x270b48(0x329)],'params':{}};var _0x10bbfc=Object[_0x270b48(0x29d)],_0x5d3ff3=Object[_0x270b48(0x255)],_0xcc1c30=(_0x42128a,_0x5ba9d0,_0x25bf0f,_0x273edf)=>{const _0x30c4b5=_0x270b48;for(var _0x1cadb3=_0x273edf>0x1?void 0x0:_0x273edf?_0x5d3ff3(_0x5ba9d0,_0x25bf0f):_0x5ba9d0,_0x5d409b=_0x42128a[_0x30c4b5(0x2df)]-0x1,_0x58d69c;_0x5d409b>=0x0;_0x5d409b--)(_0x58d69c=_0x42128a[_0x5d409b])&&(_0x1cadb3=(_0x273edf?_0x58d69c(_0x5ba9d0,_0x25bf0f,_0x1cadb3):_0x58d69c(_0x1cadb3))||_0x1cadb3);return _0x273edf&&_0x1cadb3&&_0x10bbfc(_0x5ba9d0,_0x25bf0f,_0x1cadb3),_0x1cadb3;},_0x3144de=(_0xc9acc3,_0x5938e8)=>(_0x5017f8,_0x46f927)=>_0x5938e8(_0x5017f8,_0x46f927,_0xc9acc3),_0x27aa5e=(_0x623101=>(_0x623101[_0x270b48(0x5db)]='not_collab',_0x623101[_0x270b48(0x420)]='synced',_0x623101[_0x270b48(0x53c)]=_0x270b48(0x615),_0x623101['AWAITING']=_0x270b48(0x431),_0x623101[_0x270b48(0x5f4)]=_0x270b48(0x563),_0x623101[_0x270b48(0x4e1)]=_0x270b48(0x4a7),_0x623101[_0x270b48(0x452)]=_0x270b48(0x36d),_0x623101[_0x270b48(0x2f3)]=_0x270b48(0x552),_0x623101))(_0x27aa5e||{});const _0x28c01f=0xea60;class _0x385537{constructor(_0x6dbeb8,_0x5d28d5,_0x2158c9,_0x4fbd36,_0x281861,_0x13ef4d,_0x5a5a9d,_0x49a6a0,_0x391480){const _0x12775f=_0x270b48;_0x11da04(this,'_awaitingChangeset',null),_0x11da04(this,_0x12775f(0x510),[]),(this[_0x12775f(0x224)]=_0x6dbeb8,this[_0x12775f(0x21d)]=_0x5d28d5,this[_0x12775f(0x307)]=_0x281861,this['_commandService']=_0x13ef4d,this[_0x12775f(0x4f6)]=_0x5a5a9d,this[_0x12775f(0x4cb)]=_0x49a6a0,this[_0x12775f(0x5a3)]=_0x391480,this[_0x12775f(0x47a)]=_0x2158c9,this[_0x12775f(0x510)]=_0x4fbd36);}['_checkMissing'](_0x1992c0){const _0x5b2567=_0x270b48,_0x509606=this[_0x5b2567(0x4cb)]['getCurrentRevOfUnit'](this[_0x5b2567(0x224)]);return _0x1992c0['revision']>_0x509606+0x1?(this[_0x5b2567(0x307)][_0x5b2567(0x508)]({'from':_0x509606,'to':_0x1992c0[_0x5b2567(0x63c)]-0x1}),!0x0):!0x1;}[_0x270b48(0x2e0)](_0x11b788){const _0x4ad32e=_0x270b48;this[_0x4ad32e(0x4f6)][_0x4ad32e(0x507)](this[_0x4ad32e(0x224)],_0x11b788);}[_0x270b48(0x62d)](_0x7ac32d){const _0x3d7df4=_0x270b48;var _0x5cfdb0,_0x53bace;(_0x53bace=(_0x5cfdb0=this[_0x3d7df4(0x307)])[_0x3d7df4(0x5b1)])==null||_0x53bace[_0x3d7df4(0x27f)](_0x5cfdb0,_0x7ac32d);}[_0x270b48(0x370)](_0x5df485){const _0x11e3ab=_0x270b48;var _0x355bd3,_0x51e119;return(_0x51e119=(_0x355bd3=this[_0x11e3ab(0x307)])['onTransformIME'])==null?void 0x0:_0x51e119[_0x11e3ab(0x27f)](_0x355bd3,_0x5df485);}[_0x270b48(0x612)](_0x3d8ec0){const _0x2497dd=_0x270b48;var _0x5d6331,_0xd910ec;return(_0xd910ec=(_0x5d6331=this[_0x2497dd(0x307)])[_0x2497dd(0x205)])==null?void 0x0:_0xd910ec[_0x2497dd(0x27f)](_0x5d6331,_0x3d8ec0);}[_0x270b48(0x3c5)](_0x540000){const _0x4b444c=_0x270b48;var _0x17e570,_0x3bc405,_0x51ff1e;return(_0x51ff1e=(_0x3bc405=(_0x17e570=this[_0x4b444c(0x307)])[_0x4b444c(0x4e4)])==null?void 0x0:_0x3bc405['call'](_0x17e570,_0x540000))!=null?_0x51ff1e:_0x540000;}[_0x270b48(0x64d)](_0x12252c){const _0xaa0614=_0x270b48;var _0x4105dd,_0x2b0eae,_0xc5bac9;return(_0xc5bac9=(_0x2b0eae=(_0x4105dd=this['_handler'])[_0xaa0614(0x5e2)])==null?void 0x0:_0x2b0eae[_0xaa0614(0x27f)](_0x4105dd,_0x12252c))!=null?_0xc5bac9:_0x12252c;}[_0x270b48(0x67b)](_0x289a00){const _0x147268=_0x270b48;var _0x4fe319,_0x1f5cd3;if(this['type']===_0x8439e8['UNIVER_DOC']){const {unitID:_0x56f062,mutations:_0x3e1460,memberID:_0x4ce46e}=_0x289a00,_0x137301=_0x3e1460[0x0][_0x147268(0x4ef)]['textRanges'];Array[_0x147268(0x3dc)](_0x137301)&&_0x137301[_0x147268(0x2df)]>0x0&&((_0x1f5cd3=(_0x4fe319=this[_0x147268(0x307)])[_0x147268(0x505)])==null||_0x1f5cd3[_0x147268(0x27f)](_0x4fe319,{'unitID':_0x56f062,'memberID':_0x4ce46e,'textRanges':_0x137301}));}}[_0x270b48(0x32e)](){const _0x1a26ae=_0x270b48;this[_0x1a26ae(0x5a3)][_0x1a26ae(0x58c)](this[_0x1a26ae(0x224)],this[_0x1a26ae(0x21d)],this[_0x1a26ae(0x47a)],this['_pendingMutations']);}['_getCurrentRevision'](){const _0x30b687=_0x270b48;return this['_revisionService'][_0x30b687(0x3ff)](this[_0x30b687(0x224)]);}['_incrementRevisionNumber'](){const _0x5043d5=_0x270b48;this[_0x5043d5(0x4cb)][_0x5043d5(0x599)](this[_0x5043d5(0x224)]);}[_0x270b48(0x525)](_0x101476){const _0x3716eb=_0x270b48;var _0x13f4d5;let _0xd8327a=this[_0x3716eb(0x3c5)](_0x101476);_0xd8327a=this[_0x3716eb(0x64d)](_0xd8327a);const _0x5d059c=_0x10122e[_0x3716eb(0x573)](_0xd8327a['mutations'],this[_0x3716eb(0x4ce)],{'fromCollab':!0x0});if(!_0x5d059c[_0x3716eb(0x698)])throw _0x5d059c['error']instanceof Error?_0x5d059c[_0x3716eb(0x371)]:new Error((_0x13f4d5=_0x5d059c[_0x3716eb(0x371)])!=null?_0x13f4d5:_0x3716eb(0x1e1));this['_transformIMECache'](_0xd8327a),this[_0x3716eb(0x612)](_0xd8327a),this[_0x3716eb(0x2e0)](_0x101476),this['_transformSelections'](_0xd8327a),this[_0x3716eb(0x67b)](_0xd8327a),this[_0x3716eb(0x3c6)]();}}let _0x4b3062=class extends _0x385537{constructor(_0x2feaa3,_0x1741fb,_0x5b7f6d,_0x1f13d5,_0x691f91,_0x48ab8a,_0x80bf76,_0x1ea336,_0x1d2795,_0x466fcf){const _0x9c61b4=_0x270b48;super(_0x2feaa3,_0x1741fb,null,[],_0x5b7f6d,_0x1ea336,_0x80bf76,_0x1f13d5,_0x691f91),_0x11da04(this,_0x9c61b4(0x46e),_0x9c61b4(0x2bb)),(this[_0x9c61b4(0x358)]=_0x48ab8a,this[_0x9c61b4(0x477)]=_0x1d2795,this[_0x9c61b4(0x54b)]=_0x466fcf);}[_0x270b48(0x4c1)](_0x2cc5e3){const _0x21d2ad=_0x270b48,_0x1d3457=this[_0x21d2ad(0x358)]['createInstance'](_0x3574b8,this[_0x21d2ad(0x224)],this[_0x21d2ad(0x21d)],[_0x2cc5e3],this['_handler']);return _0x1d3457[_0x21d2ad(0x243)](),_0x1d3457[_0x21d2ad(0x32e)](),_0x1d3457;}['onRemoteChangeset'](_0x507287){const _0x27ee33=_0x270b48;if(this[_0x27ee33(0x3bb)](_0x507287))return this[_0x27ee33(0x358)][_0x27ee33(0x624)](_0x5d1507,this[_0x27ee33(0x224)],this['type'],null,[],null,[_0x507287],this[_0x27ee33(0x307)]);try{const _0x5ce6d0=this[_0x27ee33(0x54b)][_0x27ee33(0x236)](_0x507287,[_0x145b5b]);if(_0x434c76[_0x27ee33(0x425)](_0x5ce6d0)){const {c1Prime:_0x55d566}=_0x5ce6d0;return this['_executeRemoteChangeset'](_0x55d566),this;}throw _0x5ce6d0['error'];}catch(_0x4f4f18){return this[_0x27ee33(0x477)]['error'](_0x4f4f18),this[_0x27ee33(0x2ad)](!0x1);}}[_0x270b48(0x2ad)](_0x40ebcd){const _0x7a2e9c=_0x270b48;return this['_injector']['createInstance'](_0x46c0eb,this['unitID'],this[_0x7a2e9c(0x21d)],null,[],this[_0x7a2e9c(0x307)],_0x40ebcd);}[_0x270b48(0x2fb)](){const _0x44da9f=_0x270b48;throw new Error(_0x44da9f(0x450));}[_0x270b48(0x347)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x270b48(0x4c0)](){return this;}[_0x270b48(0x200)](){const _0x36de11=_0x270b48;return this[_0x36de11(0x358)][_0x36de11(0x624)](_0x1588a6,this[_0x36de11(0x224)],this[_0x36de11(0x21d)],null,[],this[_0x36de11(0x307)]);}[_0x270b48(0x381)](){return this;}[_0x270b48(0x1e6)](){const _0x26f48e=_0x270b48;throw new Error(_0x26f48e(0x562));}['fetchMiss'](){const _0x33c311=_0x270b48,_0x33d4f7=this[_0x33c311(0x4cb)][_0x33c311(0x3ff)](this[_0x33c311(0x224)]);return this[_0x33c311(0x307)][_0x33c311(0x508)]({'from':_0x33d4f7,'to':0x0}),this[_0x33c311(0x358)][_0x33c311(0x624)](_0x5d1507,this['unitID'],this[_0x33c311(0x21d)],null,[],null,[],this[_0x33c311(0x307)]);}};_0x4b3062=_0xcc1c30([_0x3144de(0x3,_0x10122e[_0x270b48(0x5c7)](_0x434c76[_0x270b48(0x5b0)])),_0x3144de(0x4,_0x10122e['Inject'](_0x3ef0c0['LocalCacheService'])),_0x3144de(0x5,_0x10122e[_0x270b48(0x5c7)](_0x10122e['Injector'])),_0x3144de(0x6,_0x10122e[_0x270b48(0x1eb)]),_0x3144de(0x7,_0x10122e[_0x270b48(0x1e0)]),_0x3144de(0x8,_0x10122e[_0x270b48(0x4d7)]),_0x3144de(0x9,_0x434c76[_0x270b48(0x3d9)])],_0x4b3062);let _0x3574b8=class extends _0x385537{constructor(_0x211e88,_0x7ffb69,_0xf7513d,_0x2a1e3b,_0x20c6a9,_0x114a8e,_0x1ce397,_0x2af2db,_0x204431,_0xfb8d69,_0x2477b5,_0x3d1745,_0x29984b,_0x2afe4a){const _0x2e6372=_0x270b48;super(_0x211e88,_0x7ffb69,null,_0xf7513d,_0x2a1e3b,_0xfb8d69,_0x2afe4a,_0x114a8e,_0x1ce397),_0x11da04(this,'status',_0x2e6372(0x615)),_0x11da04(this,_0x2e6372(0x237),null),_0x11da04(this,_0x2e6372(0x402),null),(this[_0x2e6372(0x358)]=_0x20c6a9,this[_0x2e6372(0x60b)]=_0x2af2db,this[_0x2e6372(0x477)]=_0x204431,this['_configService']=_0x2477b5,this['_transformService']=_0x3d1745,this[_0x2e6372(0x3d7)]=_0x29984b);}[_0x270b48(0x4c1)](_0x325857){const _0x22f9e6=_0x270b48;return this[_0x22f9e6(0x510)][_0x22f9e6(0x28f)](_0x325857),this[_0x22f9e6(0x32e)](),this;}[_0x270b48(0x5d6)](_0x5c6e7d){const _0x3350b5=_0x270b48;if(this[_0x3350b5(0x3bb)](_0x5c6e7d))return this[_0x3350b5(0x4ff)](),this[_0x3350b5(0x358)][_0x3350b5(0x624)](_0x5d1507,this['unitID'],this[_0x3350b5(0x21d)],null,this[_0x3350b5(0x510)],null,[_0x5c6e7d],this[_0x3350b5(0x307)]);try{const _0x2cd883=this[_0x3350b5(0x54b)][_0x3350b5(0x236)](_0x5c6e7d,this[_0x3350b5(0x510)]);if(_0x434c76[_0x3350b5(0x425)](_0x2cd883)){const {c1Prime:_0x4e1ddf,m2Prime:_0x4727d5}=_0x2cd883;this[_0x3350b5(0x525)](_0x4e1ddf);const _0x10a217=this[_0x3350b5(0x358)][_0x3350b5(0x624)](_0x3574b8,this[_0x3350b5(0x224)],this['type'],_0x4727d5,this[_0x3350b5(0x307)]);return this[_0x3350b5(0x4ff)](),_0x10a217[_0x3350b5(0x243)](this[_0x3350b5(0x237)]?Math[_0x3350b5(0x580)](0x0,new Date()['getTime']()-this[_0x3350b5(0x237)]):this[_0x3350b5(0x487)]()),_0x10a217;}throw _0x2cd883[_0x3350b5(0x371)];}catch(_0x1c9e34){return this[_0x3350b5(0x477)][_0x3350b5(0x371)](_0x1c9e34),this['_onConflict'](!0x1);}}['onRemoteAck'](){const _0x143dfa=_0x270b48;throw new Error(_0x143dfa(0x40a));}[_0x270b48(0x347)](){const _0x3d6af0=_0x270b48;throw new Error(_0x3d6af0(0x523));}[_0x270b48(0x4c0)](){return this;}['toggleOffline'](){const _0x5b24a6=_0x270b48;return this[_0x5b24a6(0x4ff)](),this[_0x5b24a6(0x358)]['createInstance'](_0x1588a6,this[_0x5b24a6(0x224)],this['type'],null,this[_0x5b24a6(0x510)],this['_handler']);}[_0x270b48(0x381)](){return this;}[_0x270b48(0x243)](_0x198fdf){const _0x56a353=_0x270b48,_0x2b71c5=_0x198fdf!=null?_0x198fdf:this['_getSendChangesetTimeout']();this[_0x56a353(0x237)]=new Date()[_0x56a353(0x1ef)](),this[_0x56a353(0x402)]=window[_0x56a353(0x298)](()=>{const _0x1ea126=_0x56a353;this[_0x1ea126(0x4ff)]();let _0x4a9eff=null;switch(this[_0x1ea126(0x21d)]){case _0x8439e8[_0x1ea126(0x4e9)]:{_0x4a9eff=_0x26b9af(this[_0x1ea126(0x510)],this[_0x1ea126(0x224)],this['_univerInstanceService'],this['_revisionService'],this[_0x1ea126(0x60b)]);break;}case _0x8439e8[_0x1ea126(0x414)]:{this[_0x1ea126(0x510)][_0x1ea126(0x30f)](_0x20b62c=>_0x20b62c['id']===_0x48121f[_0x1ea126(0x56e)]['id'])?_0x4a9eff=_0x560128(this[_0x1ea126(0x510)],this[_0x1ea126(0x224)],this[_0x1ea126(0x3d7)],this[_0x1ea126(0x4cb)],this[_0x1ea126(0x60b)]):_0x4a9eff=_0x26b9af(this[_0x1ea126(0x510)],this[_0x1ea126(0x224)],this[_0x1ea126(0x3d7)],this[_0x1ea126(0x4cb)],this[_0x1ea126(0x60b)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this['type']+'\x20in\x20_schedule.');}const {changeset:_0x3229f8,pendingMutations:_0x769e49}=_0x4a9eff;this[_0x1ea126(0x307)]['onSendChangeset'](_0x3229f8);const _0x97a8cd=_0x769e49['length']?this['_injector'][_0x1ea126(0x624)](_0x24ea08,this[_0x1ea126(0x224)],this[_0x1ea126(0x21d)],_0x3229f8,_0x769e49,this['_handler'],void 0x0):this[_0x1ea126(0x358)][_0x1ea126(0x624)](_0x53f33a,this[_0x1ea126(0x224)],this[_0x1ea126(0x21d)],_0x3229f8,this[_0x1ea126(0x307)]);_0x97a8cd[_0x1ea126(0x32e)](),this['_handler'][_0x1ea126(0x213)](this,_0x97a8cd);},_0x2b71c5);}[_0x270b48(0x487)](){const _0x1c8d13=_0x270b48;var _0x52ffa8;const _0x3a0c06=this[_0x1c8d13(0x4dd)][_0x1c8d13(0x5f1)](_0x100cc6);return(_0x52ffa8=_0x3a0c06==null?void 0x0:_0x3a0c06[_0x1c8d13(0x3c0)])!=null?_0x52ffa8:0x7d0;}[_0x270b48(0x1e6)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x270b48(0x4ff)](){const _0x3aa72d=_0x270b48;this[_0x3aa72d(0x402)]!=null&&(clearTimeout(this[_0x3aa72d(0x402)]),this[_0x3aa72d(0x402)]=null);}['_onConflict'](_0x5a526f){const _0x4b5bf5=_0x270b48;return this[_0x4b5bf5(0x4ff)](),this[_0x4b5bf5(0x358)][_0x4b5bf5(0x624)](_0x46c0eb,this[_0x4b5bf5(0x224)],this[_0x4b5bf5(0x21d)],null,this[_0x4b5bf5(0x510)],this[_0x4b5bf5(0x307)],_0x5a526f);}};_0x3574b8=_0xcc1c30([_0x3144de(0x4,_0x10122e[_0x270b48(0x5c7)](_0x10122e['Injector'])),_0x3144de(0x5,_0x10122e['Inject'](_0x434c76['RevisionService'])),_0x3144de(0x6,_0x10122e['Inject'](_0x3ef0c0['LocalCacheService'])),_0x3144de(0x7,_0x10122e['Inject'](_0x3ef0c0[_0x270b48(0x610)])),_0x3144de(0x8,_0x10122e[_0x270b48(0x4d7)]),_0x3144de(0x9,_0x10122e[_0x270b48(0x1e0)]),_0x3144de(0xa,_0x10122e[_0x270b48(0x635)]),_0x3144de(0xb,_0x434c76['ITransformService']),_0x3144de(0xc,_0x10122e[_0x270b48(0x204)]),_0x3144de(0xd,_0x10122e[_0x270b48(0x1eb)])],_0x3574b8);let _0x53f33a=class extends _0x385537{constructor(_0x2649c7,_0x3ed443,_0x199068,_0x40ffa8,_0x1f610c,_0x1ba4e8,_0x44e2e1,_0x4c759c,_0x13ab3d,_0x5b0a84,_0x1152c3){const _0x5bbd01=_0x270b48;super(_0x2649c7,_0x3ed443,_0x199068,[],_0x40ffa8,_0x4c759c,_0x1152c3,_0x1ba4e8,_0x44e2e1),_0x11da04(this,_0x5bbd01(0x46e),_0x5bbd01(0x431)),_0x11da04(this,_0x5bbd01(0x5bc),0x0),_0x11da04(this,_0x5bbd01(0x697)),_0x11da04(this,_0x5bbd01(0x61f)),(this[_0x5bbd01(0x358)]=_0x1f610c,this[_0x5bbd01(0x477)]=_0x13ab3d,this[_0x5bbd01(0x54b)]=_0x5b0a84);}['appendMutation'](_0x222b12){const _0x1a6a62=_0x270b48;this[_0x1a6a62(0x4ff)]();const _0x487e69=this['_injector'][_0x1a6a62(0x624)](_0x24ea08,this['unitID'],this[_0x1a6a62(0x21d)],this[_0x1a6a62(0x47a)],[_0x222b12],this[_0x1a6a62(0x307)],this[_0x1a6a62(0x697)]);return _0x487e69['_updateLocalCache'](),_0x487e69;}[_0x270b48(0x5d6)](_0xab1de3){const _0x486966=_0x270b48;if(this[_0x486966(0x3bb)](_0xab1de3))return this[_0x486966(0x4ff)](),this[_0x486966(0x358)][_0x486966(0x624)](_0x5d1507,this[_0x486966(0x224)],this[_0x486966(0x21d)],this[_0x486966(0x47a)],[],null,[_0xab1de3],this[_0x486966(0x307)]);try{const _0x47c5d0=this[_0x486966(0x54b)][_0x486966(0x26f)]([_0xab1de3],[this['_awaitingChangeset']],!0x1);if(_0x434c76[_0x486966(0x2b4)](_0x47c5d0)){const {c1Prime:_0x545595,c2Prime:_0x2d54ad}=_0x47c5d0;this[_0x486966(0x525)](_0x545595[0x0]),_0x2d54ad[0x0][_0x486966(0x2d5)]=this[_0x486966(0x289)](),this[_0x486966(0x4ff)]();const _0x489d87=this[_0x486966(0x358)][_0x486966(0x624)](_0x53f33a,this[_0x486966(0x224)],this[_0x486966(0x21d)],_0x2d54ad[0x0],this[_0x486966(0x307)]);return _0x489d87[_0x486966(0x32e)](),_0x489d87;}return this['_onConflict'](!0x1);}catch(_0x2a4c0b){return this[_0x486966(0x477)][_0x486966(0x371)](_0x2a4c0b),this[_0x486966(0x2ad)](!0x1);}}[_0x270b48(0x2fb)](_0x46e0d7){const _0x85e513=_0x270b48;this[_0x85e513(0x4ff)]();const _0x2f0f25=this['_revisionService'][_0x85e513(0x3ff)](this[_0x85e513(0x224)]);if(_0x46e0d7['revision']<_0x2f0f25-0x1)return this;if(this[_0x85e513(0x3bb)](_0x46e0d7))return this['_injector'][_0x85e513(0x624)](_0x5d1507,this[_0x85e513(0x224)],this[_0x85e513(0x21d)],null,[],this[_0x85e513(0x47a)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x386677=this[_0x85e513(0x358)][_0x85e513(0x624)](_0x4b3062,this[_0x85e513(0x224)],this[_0x85e513(0x21d)],this['_handler']);return _0x386677['_updateLocalCache'](),_0x386677;}[_0x270b48(0x347)](_0x37e473){const _0x32e9e0=_0x270b48;return this[_0x32e9e0(0x2ad)](!!(_0x37e473!=null&&_0x37e473[_0x32e9e0(0x320)]));}[_0x270b48(0x4c0)](_0x1e586e){const _0x416b3c=_0x270b48;return this[_0x416b3c(0x5bc)]>_0x28c01f?this[_0x416b3c(0x200)]():(this['_resendTimer']=_0x29b3ac(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x1e586e['reqId']}),this['_sender']=this['_resendTimer'][_0x416b3c(0x40f)](({reqId:_0x56f38b,timeout:_0x54d7c3})=>{const _0x12af7a=_0x416b3c;this[_0x12af7a(0x3c3)](_0x56f38b,_0x54d7c3);}),this);}[_0x270b48(0x200)](){const _0x2d41a0=_0x270b48;return this[_0x2d41a0(0x4ff)](),this[_0x2d41a0(0x358)]['createInstance'](_0x1588a6,this[_0x2d41a0(0x224)],this[_0x2d41a0(0x21d)],this[_0x2d41a0(0x47a)],[],this[_0x2d41a0(0x307)]);}[_0x270b48(0x381)](){return this;}[_0x270b48(0x1e6)](){const _0x4c435d=_0x270b48;this[_0x4c435d(0x307)][_0x4c435d(0x2d1)](this[_0x4c435d(0x47a)]);}[_0x270b48(0x2ad)](_0x340ae7){const _0x4cd1db=_0x270b48;return this[_0x4cd1db(0x4ff)](),this[_0x4cd1db(0x358)]['createInstance'](_0x46c0eb,this[_0x4cd1db(0x224)],this['type'],this[_0x4cd1db(0x47a)],[],this['_handler'],_0x340ae7);}['_resendWithTimeout'](_0x132792,_0x4c590e){const _0x30ff34=_0x270b48;var _0x57bfef;_0x132792===((_0x57bfef=this[_0x30ff34(0x47a)])==null?void 0x0:_0x57bfef['reqId'])&&(this[_0x30ff34(0x1e6)](),this[_0x30ff34(0x5bc)]=_0x4c590e===0x0?0x3e8:_0x4c590e*0x2);}[_0x270b48(0x4ff)](){const _0x2eff86=_0x270b48;var _0x501c35;(_0x501c35=this['_sender'])==null||_0x501c35['unsubscribe'](),this[_0x2eff86(0x5bc)]=0x0;}};_0x53f33a=_0xcc1c30([_0x3144de(0x4,_0x10122e[_0x270b48(0x5c7)](_0x10122e[_0x270b48(0x53a)])),_0x3144de(0x5,_0x10122e[_0x270b48(0x5c7)](_0x434c76['RevisionService'])),_0x3144de(0x6,_0x10122e[_0x270b48(0x5c7)](_0x3ef0c0[_0x270b48(0x2c7)])),_0x3144de(0x7,_0x10122e[_0x270b48(0x1e0)]),_0x3144de(0x8,_0x10122e[_0x270b48(0x4d7)]),_0x3144de(0x9,_0x434c76['ITransformService']),_0x3144de(0xa,_0x10122e[_0x270b48(0x1eb)])],_0x53f33a);let _0x24ea08=class extends _0x385537{constructor(_0x5a7f62,_0x1c10db,_0x3d755f,_0x17c44f,_0x515052,_0xdb6efc,_0x4642a1,_0x2ab0d6,_0x2b3668,_0x2f7f8c,_0x458078,_0x57b623,_0xa3d521){const _0x17ee5f=_0x270b48;super(_0x5a7f62,_0x1c10db,_0x3d755f,_0x17c44f,_0x515052,_0x2f7f8c,_0xa3d521,_0x2ab0d6,_0x2b3668),_0x11da04(this,'status',_0x17ee5f(0x563)),_0x11da04(this,_0x17ee5f(0x5bc),0x0),_0x11da04(this,_0x17ee5f(0x697)),_0x11da04(this,'_sender'),(this['_injector']=_0x4642a1,this[_0x17ee5f(0x477)]=_0x458078,this[_0x17ee5f(0x54b)]=_0x57b623,_0xdb6efc&&(this[_0x17ee5f(0x697)]=_0xdb6efc,this['_sender']=this[_0x17ee5f(0x697)]['subscribe'](({reqId:_0x32f816,timeout:_0x1e5135})=>{this['_resendWithTimeout'](_0x32f816,_0x1e5135);})));}[_0x270b48(0x4c1)](_0xbcc57b){const _0x48c75d=_0x270b48;return this[_0x48c75d(0x510)][_0x48c75d(0x28f)](_0xbcc57b),this;}[_0x270b48(0x5d6)](_0x158130){const _0xe8757f=_0x270b48;if(this[_0xe8757f(0x3bb)](_0x158130))return this[_0xe8757f(0x4ff)](),this[_0xe8757f(0x358)]['createInstance'](_0x5d1507,this[_0xe8757f(0x224)],this[_0xe8757f(0x21d)],this[_0xe8757f(0x47a)],this[_0xe8757f(0x510)],null,[_0x158130],this['_handler']);try{const _0xb98e4d=this[_0xe8757f(0x54b)][_0xe8757f(0x26f)]([_0x158130],[this[_0xe8757f(0x47a)]],!0x1);if(_0x434c76[_0xe8757f(0x2b4)](_0xb98e4d)){const {c1Prime:_0x2b16b5,c2Prime:_0x4f97d0}=_0xb98e4d,_0x4e31dc=this[_0xe8757f(0x54b)]['transformMutationsWithChangeset'](_0x2b16b5[0x0],this[_0xe8757f(0x510)]);if(_0x434c76['isTransformMutationsWithChangesetSuccess'](_0x4e31dc)){const {c1Prime:_0x14842a,m2Prime:_0x2df7a9}=_0x4e31dc;return this['_executeRemoteChangeset'](_0x14842a),_0x4f97d0[0x0][_0xe8757f(0x2d5)]=this[_0xe8757f(0x289)](),this[_0xe8757f(0x4ff)](),this[_0xe8757f(0x358)][_0xe8757f(0x624)](_0x24ea08,this[_0xe8757f(0x224)],this[_0xe8757f(0x21d)],_0x4f97d0[0x0],_0x2df7a9,this[_0xe8757f(0x307)],void 0x0);}throw _0x4e31dc['error'];}throw _0xb98e4d[_0xe8757f(0x371)];}catch(_0xf22a12){return this[_0xe8757f(0x477)][_0xe8757f(0x371)](_0xf22a12),this[_0xe8757f(0x2ad)](!0x1);}}[_0x270b48(0x2fb)](_0x3853fd){const _0x36768d=_0x270b48;if(this['_clearScheduledTask'](),this['_checkMissing'](_0x3853fd))return this['_injector'][_0x36768d(0x624)](_0x5d1507,this[_0x36768d(0x224)],this['type'],null,this[_0x36768d(0x510)],this[_0x36768d(0x47a)],[],this[_0x36768d(0x307)]);this[_0x36768d(0x3c6)]();const _0x2f2032=this['_injector'][_0x36768d(0x624)](_0x3574b8,this['unitID'],this[_0x36768d(0x21d)],this['_pendingMutations'],this[_0x36768d(0x307)]);return _0x2f2032['_schedule'](),_0x2f2032[_0x36768d(0x32e)](),_0x2f2032;}[_0x270b48(0x347)](_0x5af807){const _0x5c28bd=_0x270b48;return this[_0x5c28bd(0x2ad)](!!(_0x5af807!=null&&_0x5af807[_0x5c28bd(0x320)]));}[_0x270b48(0x4c0)](_0x56fccf){const _0x3912af=_0x270b48;return this[_0x3912af(0x5bc)]>_0x28c01f?this['toggleOffline']():(this[_0x3912af(0x697)]=_0x29b3ac(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x56fccf[_0x3912af(0x677)]}),this[_0x3912af(0x61f)]=this[_0x3912af(0x697)]['subscribe'](({reqId:_0x388860,timeout:_0x459355})=>{const _0x3faec6=_0x3912af;this[_0x3faec6(0x3c3)](_0x388860,_0x459355);}),this);}['toggleOffline'](){const _0x4c70c7=_0x270b48;return this['_clearScheduledTask'](),this[_0x4c70c7(0x358)]['createInstance'](_0x1588a6,this[_0x4c70c7(0x224)],this[_0x4c70c7(0x21d)],this[_0x4c70c7(0x47a)],this['_pendingMutations'],this[_0x4c70c7(0x307)]);}[_0x270b48(0x381)](){return this;}[_0x270b48(0x1e6)](){const _0xdafff7=_0x270b48;this['_handler'][_0xdafff7(0x2d1)](this[_0xdafff7(0x47a)]);}['_onConflict'](_0xd7085d){const _0x154971=_0x270b48;return this[_0x154971(0x4ff)](),this[_0x154971(0x358)][_0x154971(0x624)](_0x46c0eb,this[_0x154971(0x224)],this[_0x154971(0x21d)],null,this[_0x154971(0x510)],this[_0x154971(0x307)],_0xd7085d);}[_0x270b48(0x3c3)](_0x272106,_0x17596c){const _0xea6137=_0x270b48;var _0x3ec7d9;_0x272106===((_0x3ec7d9=this['_awaitingChangeset'])==null?void 0x0:_0x3ec7d9['reqId'])&&(this[_0xea6137(0x1e6)](),this[_0xea6137(0x5bc)]=_0x17596c===0x0?0x3e8:_0x17596c*0x2);}['_clearScheduledTask'](){const _0x529b9e=_0x270b48;var _0x151c1e;(_0x151c1e=this[_0x529b9e(0x61f)])==null||_0x151c1e['unsubscribe'](),this['_resendTimeout']=0x0;}};_0x24ea08=_0xcc1c30([_0x3144de(0x6,_0x10122e[_0x270b48(0x5c7)](_0x10122e['Injector'])),_0x3144de(0x7,_0x10122e[_0x270b48(0x5c7)](_0x434c76[_0x270b48(0x5b0)])),_0x3144de(0x8,_0x10122e['Inject'](_0x3ef0c0[_0x270b48(0x2c7)])),_0x3144de(0x9,_0x10122e[_0x270b48(0x1e0)]),_0x3144de(0xa,_0x10122e[_0x270b48(0x4d7)]),_0x3144de(0xb,_0x434c76[_0x270b48(0x3d9)]),_0x3144de(0xc,_0x10122e['IUndoRedoService'])],_0x24ea08);let _0x46c0eb=class extends _0x385537{constructor(_0x308b91,_0xbbe983,_0x4cc35c,_0x216c08,_0x140fe2,_0x40bb71=!0x1,_0x44a1d4,_0x19d860,_0x4237e3,_0x48f84f,_0xf0d268,_0x573b33,_0x55de0e){const _0x42ef2c=_0x270b48;super(_0x308b91,_0xbbe983,_0x4cc35c,_0x216c08,_0x140fe2,_0x19d860,_0x4237e3,_0xf0d268,_0x48f84f),_0x11da04(this,_0x42ef2c(0x46e),_0x42ef2c(0x36d)),(this[_0x42ef2c(0x66c)]=_0x40bb71,this[_0x42ef2c(0x256)]=_0x44a1d4,this[_0x42ef2c(0x548)]=_0x573b33,this[_0x42ef2c(0x2be)]=_0x55de0e,this['_showConflictNotification'](),this[_0x42ef2c(0x5c4)](),this[_0x42ef2c(0x5b2)]());}[_0x270b48(0x4c1)](){return this;}[_0x270b48(0x5d6)](){return this;}[_0x270b48(0x2fb)](){return this;}[_0x270b48(0x347)](){return this;}[_0x270b48(0x4c0)](){return this;}[_0x270b48(0x200)](){return this;}[_0x270b48(0x381)](){return this;}[_0x270b48(0x1e6)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x270b48(0x5c4)](){const _0x224c12=_0x270b48;this['_localCacheService'][_0x224c12(0x58c)](this[_0x224c12(0x224)],this[_0x224c12(0x21d)],null,[]);}[_0x270b48(0x273)](){const _0x49cb10=_0x270b48;this[_0x49cb10(0x66c)]?this[_0x49cb10(0x2be)][_0x49cb10(0x36c)]({'title':this['_localeService']['t'](_0x49cb10(0x2d6)),'content':this[_0x49cb10(0x548)]['t']('permission.content'),'type':_0x49cb10(0x371),'duration':0x0}):this['_notificationService'][_0x49cb10(0x36c)]({'title':this[_0x49cb10(0x548)]['t'](_0x49cb10(0x416)),'content':this[_0x49cb10(0x548)]['t']('conflict.content'),'type':_0x49cb10(0x371),'duration':0x0});}[_0x270b48(0x5b2)](){const _0x413507=_0x270b48;this[_0x413507(0x256)][_0x413507(0x59e)](new _0x43d50e[(_0x413507(0x2ff))](this[_0x413507(0x224)])['id'],!0x1);}};_0x46c0eb=_0xcc1c30([_0x3144de(0x6,_0x10122e[_0x270b48(0x5c7)](_0x10122e[_0x270b48(0x380)])),_0x3144de(0x7,_0x10122e[_0x270b48(0x1e0)]),_0x3144de(0x8,_0x10122e[_0x270b48(0x1eb)]),_0x3144de(0x9,_0x10122e[_0x270b48(0x5c7)](_0x3ef0c0[_0x270b48(0x2c7)])),_0x3144de(0xa,_0x10122e[_0x270b48(0x5c7)](_0x434c76['RevisionService'])),_0x3144de(0xb,_0x10122e[_0x270b48(0x5c7)](_0x10122e[_0x270b48(0x42c)])),_0x3144de(0xc,_0x3421c5['INotificationService'])],_0x46c0eb);let _0x1588a6=class extends _0x385537{constructor(_0x4d3724,_0x41cd44,_0x551f10,_0x28799b,_0x430b5f,_0x24919b,_0x5a00aa,_0x4c817c,_0x495e56,_0x28e4c3){const _0x1682f8=_0x270b48;super(_0x4d3724,_0x41cd44,_0x551f10,_0x28799b,_0x430b5f,_0x495e56,_0x28e4c3,_0x5a00aa,_0x4c817c),_0x11da04(this,'status',_0x1682f8(0x552)),this[_0x1682f8(0x358)]=_0x24919b;}[_0x270b48(0x4c1)](_0xaad755){const _0x49f043=_0x270b48;return this['_pendingMutations'][_0x49f043(0x28f)](_0xaad755),this[_0x49f043(0x32e)](),this;}[_0x270b48(0x5d6)](_0x3d23c1){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x270b48(0x2fb)](){const _0x4ea8b4=_0x270b48;throw new Error(_0x4ea8b4(0x403));}[_0x270b48(0x347)](){const _0x13846c=_0x270b48;throw new Error(_0x13846c(0x42d));}['onRemoteRetry'](){return this;}[_0x270b48(0x200)](){return this;}[_0x270b48(0x381)](){const _0x6c5198=_0x270b48,{_injector:_0x4b070c,_pendingMutations:_0x4ae622,_awaitingChangeset:_0x1f7c05,unitID:_0x476442,_handler:_0x3592fd,type:_0x191e54}=this,_0x2a4a34=_0x50b2a2(_0x4b070c,_0x476442,_0x191e54,_0x1f7c05,_0x4ae622,_0x3592fd);return _0x2a4a34 instanceof _0x3574b8?_0x2a4a34[_0x6c5198(0x243)]():(_0x2a4a34 instanceof _0x24ea08||_0x2a4a34 instanceof _0x53f33a)&&_0x2a4a34[_0x6c5198(0x1e6)](),_0x2a4a34;}[_0x270b48(0x1e6)](){const _0x447a2e=_0x270b48;throw new Error(_0x447a2e(0x58d));}};_0x1588a6=_0xcc1c30([_0x3144de(0x5,_0x10122e[_0x270b48(0x5c7)](_0x10122e[_0x270b48(0x53a)])),_0x3144de(0x6,_0x10122e[_0x270b48(0x5c7)](_0x434c76[_0x270b48(0x5b0)])),_0x3144de(0x7,_0x10122e[_0x270b48(0x5c7)](_0x3ef0c0['LocalCacheService'])),_0x3144de(0x8,_0x10122e[_0x270b48(0x1e0)]),_0x3144de(0x9,_0x10122e[_0x270b48(0x1eb)])],_0x1588a6);let _0x5d1507=class extends _0x385537{constructor(_0x160091,_0x243d94,_0xb8adcb,_0x874097,_0x57f3f5,_0x831943,_0x4fa2a2,_0x6c2fd3,_0x2c1c98,_0x546105,_0x16e6ef,_0x334d78,_0x4673e9,_0x5586c0){const _0x11931=_0x270b48;super(_0x160091,_0x243d94,_0xb8adcb,_0x874097,_0x4fa2a2,_0x334d78,_0x4673e9,_0x2c1c98,_0x546105),_0x11da04(this,_0x11931(0x46e),_0x11931(0x4a7)),(this[_0x11931(0x3f6)]=_0x57f3f5,this[_0x11931(0x251)]=_0x831943,this[_0x11931(0x358)]=_0x6c2fd3,this[_0x11931(0x477)]=_0x16e6ef,this[_0x11931(0x54b)]=_0x5586c0);}[_0x270b48(0x5a1)](_0x2f5812){const _0x19e4c5=_0x270b48;try{const _0x504652=[..._0x2f5812,...this['_queuedRemoteChangesets']],_0xde031f=[this[_0x19e4c5(0x47a)]||this['_acknowledgedAwaitingChangeset']][_0x19e4c5(0x4d0)](_0x55a3e8=>!!_0x55a3e8);let _0xcf27d3,_0x34254d;if(_0xde031f[_0x19e4c5(0x2df)]){const _0x2ced4c=this[_0x19e4c5(0x54b)][_0x19e4c5(0x26f)](_0x504652,_0xde031f,!0x1);if(!_0x434c76['isTransformChangesetsSuccess'](_0x2ced4c))throw _0x2ced4c['error'];_0xcf27d3=_0x2ced4c['c1Prime'],_0x34254d=_0x2ced4c['c2Prime'];}else _0xcf27d3=_0x504652,_0x34254d=[];let _0x5aece3=this[_0x19e4c5(0x510)];_0xcf27d3[_0x19e4c5(0x4bd)](_0xb0604b=>{const _0x18588c=_0x19e4c5;let _0x5dc986;if(_0x5aece3[_0x18588c(0x2df)]){const _0x2131b8=this[_0x18588c(0x54b)][_0x18588c(0x236)](_0xb0604b,_0x5aece3);if(!_0x434c76[_0x18588c(0x425)](_0x2131b8))throw _0x2131b8[_0x18588c(0x371)];_0x5dc986=_0x2131b8['c1Prime'],_0x5aece3=_0x2131b8[_0x18588c(0x682)];}else _0x5dc986=_0xb0604b;this[_0x18588c(0x525)](_0x5dc986);}),this[_0x19e4c5(0x3f6)]&&this[_0x19e4c5(0x3c6)](),this['_awaitingChangeset']&&_0x34254d[_0x19e4c5(0x2df)]&&(_0x34254d[0x0][_0x19e4c5(0x2d5)]=this[_0x19e4c5(0x289)]());let _0x368717;if(this[_0x19e4c5(0x47a)]&&_0x5aece3['length']!==0x0)_0x368717=this[_0x19e4c5(0x358)][_0x19e4c5(0x624)](_0x24ea08,this['unitID'],this[_0x19e4c5(0x21d)],_0x34254d[0x0],_0x5aece3,this['_handler'],void 0x0);else{if(this[_0x19e4c5(0x47a)]&&_0x5aece3[_0x19e4c5(0x2df)]===0x0)_0x34254d[0x0]['baseRev']=this[_0x19e4c5(0x289)](),_0x368717=this[_0x19e4c5(0x358)]['createInstance'](_0x53f33a,this['unitID'],this['type'],_0x34254d[0x0],this['_handler']);else{if(_0x5aece3[_0x19e4c5(0x2df)]!==0x0){const _0x3c31eb=this[_0x19e4c5(0x358)][_0x19e4c5(0x624)](_0x3574b8,this[_0x19e4c5(0x224)],this[_0x19e4c5(0x21d)],_0x5aece3,this['_handler']);_0x3c31eb[_0x19e4c5(0x243)](),_0x368717=_0x3c31eb;}else _0x368717=this[_0x19e4c5(0x358)][_0x19e4c5(0x624)](_0x4b3062,this['unitID'],this[_0x19e4c5(0x21d)],this[_0x19e4c5(0x307)]);}}return _0x368717[_0x19e4c5(0x32e)](),_0x368717;}catch(_0x2add99){return this[_0x19e4c5(0x477)][_0x19e4c5(0x371)](_0x19e4c5(0x32b),'failed\x20to\x20apply\x20missed\x20changesets!',_0x2add99),this[_0x19e4c5(0x358)]['createInstance'](_0x46c0eb,this[_0x19e4c5(0x224)],this[_0x19e4c5(0x21d)],this[_0x19e4c5(0x47a)],this[_0x19e4c5(0x510)],this[_0x19e4c5(0x307)],!0x1);}}['resend'](){const _0x3aabf8=_0x270b48;throw new Error(_0x3aabf8(0x2d9));}[_0x270b48(0x4c1)](_0x4c0e45){const _0xabf25=_0x270b48;return this[_0xabf25(0x510)][_0xabf25(0x28f)](_0x4c0e45),this;}['onRemoteChangeset'](_0x4dbcee){const _0x5e9f45=_0x270b48;return this[_0x5e9f45(0x251)]['push'](_0x4dbcee),this;}[_0x270b48(0x2fb)](_0xb83e64){const _0x28e7cd=_0x270b48;if(this[_0x28e7cd(0x47a)])return this['_acknowledgedAwaitingChangeset']=this['_awaitingChangeset'],this[_0x28e7cd(0x47a)]=null,this;throw new Error(_0x28e7cd(0x470));}[_0x270b48(0x347)](_0x2bf8f7){const _0x2ba18b=_0x270b48;return this[_0x2ba18b(0x2ad)](!!(_0x2bf8f7!=null&&_0x2bf8f7['isPermissionRej']));}[_0x270b48(0x4c0)](){return this;}[_0x270b48(0x200)](){const _0x3e8b71=_0x270b48;return this['_injector']['createInstance'](_0x1588a6,this[_0x3e8b71(0x224)],this[_0x3e8b71(0x21d)],this['_awaitingChangeset'],this[_0x3e8b71(0x510)],this['_handler']);}['toggleOnline'](){return this;}[_0x270b48(0x2ad)](_0x34d52a){const _0x11d5f3=_0x270b48;return this[_0x11d5f3(0x358)][_0x11d5f3(0x624)](_0x46c0eb,this['unitID'],this[_0x11d5f3(0x21d)],this['_awaitingChangeset'],this[_0x11d5f3(0x510)],this[_0x11d5f3(0x307)],_0x34d52a);}};_0x5d1507=_0xcc1c30([_0x3144de(0x7,_0x10122e[_0x270b48(0x5c7)](_0x10122e['Injector'])),_0x3144de(0x8,_0x10122e['Inject'](_0x434c76[_0x270b48(0x5b0)])),_0x3144de(0x9,_0x10122e['Inject'](_0x3ef0c0['LocalCacheService'])),_0x3144de(0xa,_0x10122e['ILogService']),_0x3144de(0xb,_0x10122e[_0x270b48(0x1e0)]),_0x3144de(0xc,_0x10122e['IUndoRedoService']),_0x3144de(0xd,_0x434c76[_0x270b48(0x3d9)])],_0x5d1507);function _0x50b2a2(_0x594fc4,_0x2d43ca,_0x1de9d8,_0x9985a5,_0x2a389c,_0x60dcbc){const _0x504490=_0x270b48;return _0x9985a5&&_0x2a389c[_0x504490(0x2df)]?_0x594fc4[_0x504490(0x624)](_0x24ea08,_0x2d43ca,_0x1de9d8,_0x9985a5,_0x2a389c,_0x60dcbc,void 0x0):_0x9985a5?_0x594fc4['createInstance'](_0x53f33a,_0x2d43ca,_0x1de9d8,_0x9985a5,_0x60dcbc):_0x2a389c[_0x504490(0x2df)]?_0x594fc4['createInstance'](_0x3574b8,_0x2d43ca,_0x1de9d8,_0x2a389c,_0x60dcbc):_0x594fc4[_0x504490(0x624)](_0x4b3062,_0x2d43ca,_0x1de9d8,_0x60dcbc);}var _0x160fbf=Object['defineProperty'],_0x24ac20=Object['getOwnPropertyDescriptor'],_0x3b7760=(_0x3d744e,_0x58f6c2,_0x13c57a,_0x598369)=>{const _0x549635=_0x270b48;for(var _0x2eedeb=_0x598369>0x1?void 0x0:_0x598369?_0x24ac20(_0x58f6c2,_0x13c57a):_0x58f6c2,_0x347195=_0x3d744e[_0x549635(0x2df)]-0x1,_0x224324;_0x347195>=0x0;_0x347195--)(_0x224324=_0x3d744e[_0x347195])&&(_0x2eedeb=(_0x598369?_0x224324(_0x58f6c2,_0x13c57a,_0x2eedeb):_0x224324(_0x2eedeb))||_0x2eedeb);return _0x598369&&_0x2eedeb&&_0x160fbf(_0x58f6c2,_0x13c57a,_0x2eedeb),_0x2eedeb;},_0x9b120c=(_0x34ea1c,_0x2bf5cf)=>(_0x5728c9,_0x350510)=>_0x2bf5cf(_0x5728c9,_0x350510,_0x34ea1c);_0x3ef0c0['CollaborationEntity']=class extends _0x10122e[_0x270b48(0x332)]{constructor(_0x59f41a,_0x59cc2d,_0xe14370,_0x5082ec,_0x1f4243,_0x5607cf,_0x5e3836,_0x76aea7,_0x20e8db,_0x4b7240,_0x37c068,_0x197809,_0x383099){const _0x22e407=_0x270b48;super(),_0x11da04(this,_0x22e407(0x1f3),new _0x43beed[(_0x22e407(0x65c))](null)),_0x11da04(this,'state$',this[_0x22e407(0x1f3)][_0x22e407(0x644)]()),_0x11da04(this,'_state'),_0x11da04(this,_0x22e407(0x543),!0x1),_0x11da04(this,_0x22e407(0x34d),''),_0x11da04(this,_0x22e407(0x424),0x0),_0x11da04(this,_0x22e407(0x2f6),this[_0x22e407(0x4f7)][_0x22e407(0x3fb)](_0x43beed[_0x22e407(0x60f)](_0xcd0fce=>_0xcd0fce?_0xcd0fce[_0x22e407(0x46e)]:_0x27aa5e[_0x22e407(0x2f3)]),_0x43beed['shareReplay'](0x1))),_0x11da04(this,_0x22e407(0x499),!0x1),_0x11da04(this,'_remoteChangesetQueue',[]),(this[_0x22e407(0x224)]=_0x59f41a,this[_0x22e407(0x2ea)]=_0x59cc2d,this['_type']=_0xe14370,this[_0x22e407(0x358)]=_0x5082ec,this[_0x22e407(0x5a3)]=_0x1f4243,this[_0x22e407(0x651)]=_0x5607cf,this[_0x22e407(0x548)]=_0x5e3836,this[_0x22e407(0x4cb)]=_0x76aea7,this[_0x22e407(0x477)]=_0x20e8db,this[_0x22e407(0x4ce)]=_0x4b7240,this[_0x22e407(0x4e8)]=_0x37c068,this[_0x22e407(0x256)]=_0x197809,this[_0x22e407(0x47c)]=_0x383099);}get['state'](){const _0x17f32a=_0x270b48;return this[_0x17f32a(0x233)];}async[_0x270b48(0x24f)](){const _0x1d3cde=_0x270b48;if(this['state'])throw new Error(_0x1d3cde(0x45c));await this[_0x1d3cde(0x46f)]();}[_0x270b48(0x3a2)](){const _0x5ce457=_0x270b48;return this[_0x5ce457(0x543)]=!0x0,_0x10122e[_0x5ce457(0x305)](()=>{const _0x4d5124=_0x5ce457;this[_0x4d5124(0x543)]=!0x1,this[_0x4d5124(0x386)]();});}['_updateState'](_0xa58610){const _0x26ffde=_0x270b48;this[_0x26ffde(0x233)]=_0xa58610,this['_state$'][_0x26ffde(0x299)](_0xa58610);}async[_0x270b48(0x46f)](){const _0x5a85e5=_0x270b48;var _0x56c9ef;this[_0x5a85e5(0x2ae)](await this[_0x5a85e5(0x221)]()),this['_singleActiveUnitService']&&((_0x56c9ef=this[_0x5a85e5(0x47c)])==null||_0x56c9ef[_0x5a85e5(0x220)](this['unitID']),this[_0x5a85e5(0x206)](this[_0x5a85e5(0x47c)][_0x5a85e5(0x3d0)](this[_0x5a85e5(0x224)])['subscribe'](_0x2b34bf=>{const _0x302c77=_0x5a85e5;this[_0x302c77(0x477)]['debug']('[CollaborationEntity]',_0x302c77(0x259),_0x2b34bf),_0x2b34bf===_0x18fdd6[_0x302c77(0x5d4)]?(this[_0x302c77(0x4e8)][_0x302c77(0x36c)]({'content':this['_localeService']['t'](_0x302c77(0x33e)),'type':_0x4811a0[_0x302c77(0x3b0)][_0x302c77(0x309)]}),this[_0x302c77(0x256)][_0x302c77(0x59e)](new _0x43d50e[(_0x302c77(0x2ff))](this[_0x302c77(0x224)])['id'],!0x1),this['_permissionService'][_0x302c77(0x3ed)](!0x1)):(this[_0x302c77(0x256)][_0x302c77(0x59e)](new _0x43d50e[(_0x302c77(0x2ff))](this[_0x302c77(0x224)])['id'],!0x0),this['_permissionService']['setShowComponents'](!0x0));})));let _0x535ad2=!0x1;return this[_0x5a85e5(0x206)](this[_0x5a85e5(0x2ea)][_0x5a85e5(0x342)][_0x5a85e5(0x40f)](_0x45a67d=>{const _0x11d12e=_0x5a85e5;_0x45a67d===_0x606225[_0x11d12e(0x29e)]?this['_toggleOnline'](_0x535ad2):_0x45a67d===_0x606225['OFFLINE']&&(_0x535ad2=!0x0,this[_0x11d12e(0x43d)]());})),this[_0x5a85e5(0x206)](this[_0x5a85e5(0x2ea)][_0x5a85e5(0x334)]['subscribe'](_0xd177b8=>{const _0x5d6ca3=_0x5a85e5;try{switch(_0xd177b8['eventID']){case _0x434c76[_0x5d6ca3(0x4cc)][_0x5d6ca3(0x4af)]:{this[_0x5d6ca3(0x239)](_0x434c76[_0x5d6ca3(0x5ba)](_0xd177b8['data']));break;}case _0x434c76[_0x5d6ca3(0x4cc)][_0x5d6ca3(0x21b)]:{this[_0x5d6ca3(0x41f)](_0xd177b8[_0x5d6ca3(0x52b)]);break;}case _0x434c76[_0x5d6ca3(0x4cc)][_0x5d6ca3(0x22b)]:{this[_0x5d6ca3(0x29b)]();break;}case _0x434c76[_0x5d6ca3(0x4cc)][_0x5d6ca3(0x2c0)]:{this[_0x5d6ca3(0x665)](_0xd177b8['data']);break;}case _0x434c76['CollaborationEvent'][_0x5d6ca3(0x1e2)]:{this[_0x5d6ca3(0x530)](_0xd177b8['data'][_0x5d6ca3(0x478)][_0x5d6ca3(0x60f)](_0x4be3ed=>_0x434c76[_0x5d6ca3(0x5ba)](_0x4be3ed)));break;}case _0x434c76[_0x5d6ca3(0x4cc)][_0x5d6ca3(0x4f9)]:this[_0x5d6ca3(0x29b)]({'isPermissionRej':!0x0});}}catch(_0x185299){throw console[_0x5d6ca3(0x371)]('Error\x20on\x20receiving\x20event',_0x185299),_0x185299;}})),this[_0x5a85e5(0x233)];}[_0x270b48(0x2bc)](){this['_transitionLocked']=!0x1;}['_lockTransition'](){if(this['_transitionLocked'])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this['_transitionLocked']=!0x0;}[_0x270b48(0x680)](_0x374837){const _0x5740e5=_0x270b48;this[_0x5740e5(0x5ec)](),this[_0x5740e5(0x2ae)](this[_0x5740e5(0x233)][_0x5740e5(0x4c1)](_0x374837)),this[_0x5740e5(0x2bc)]();}[_0x270b48(0x239)](_0x5b6b05){const _0x5d680d=_0x270b48;if(!(_0x5b6b05['revision']<=this[_0x5d680d(0x4cb)][_0x5d680d(0x3ff)](this[_0x5d680d(0x224)]))){if(this[_0x5d680d(0x543)]){this[_0x5d680d(0x696)][_0x5d680d(0x28f)](_0x5b6b05);return;}this[_0x5d680d(0x3e6)](_0x5b6b05);}}['_exhaustRemoteChangesetQueue'](){const _0x4c5a19=_0x270b48;this['_remoteChangesetQueue']['forEach'](_0x35b6fd=>this[_0x4c5a19(0x3e6)](_0x35b6fd)),this[_0x4c5a19(0x696)]=[];}['_applyRemoteChangeset'](_0x1319ea){const _0x2ab064=_0x270b48,_0x4781aa=this[_0x2ab064(0x651)]['interceptor'][_0x2ab064(0x66b)](this[_0x2ab064(0x651)]['interceptor'][_0x2ab064(0x39d)]()[_0x2ab064(0x2a7)])(_0x1319ea['mutations'],null)||_0x1319ea['mutations'],_0x507963={..._0x1319ea,'mutations':_0x4781aa};this['_lockTransition'](),this[_0x2ab064(0x2ae)](this[_0x2ab064(0x233)][_0x2ab064(0x5d6)](_0x507963)),this['_unlockTransition']();}['_onRemoteACK'](_0x517c3b){const _0x1c2c47=_0x270b48;this[_0x1c2c47(0x5ec)](),this[_0x1c2c47(0x2ae)](this[_0x1c2c47(0x233)][_0x1c2c47(0x2fb)](_0x517c3b)),this[_0x1c2c47(0x2bc)]();}[_0x270b48(0x29b)](_0x48a291){const _0x46020d=_0x270b48;this[_0x46020d(0x5ec)](),this['_updateState'](this['_state'][_0x46020d(0x347)](_0x48a291)),this[_0x46020d(0x2bc)]();}[_0x270b48(0x665)](_0x3f79dd){const _0xd65b66=_0x270b48;this[_0xd65b66(0x5ec)](),this[_0xd65b66(0x2ae)](this[_0xd65b66(0x233)][_0xd65b66(0x4c0)](_0x3f79dd)),this[_0xd65b66(0x2bc)]();}[_0x270b48(0x530)](_0x2bfe03){const _0x7ba2b0=_0x270b48;if(!(this['_state']instanceof _0x5d1507))throw new TypeError(_0x7ba2b0(0x4dc));const _0x55f726=_0x2bfe03['map'](_0x19778c=>{const _0x46f518=_0x7ba2b0,_0x46f7da=this['_compressMutationService'][_0x46f518(0x5bd)][_0x46f518(0x66b)](this[_0x46f518(0x651)]['interceptor'][_0x46f518(0x39d)]()[_0x46f518(0x2a7)])(_0x19778c[_0x46f518(0x43b)],null)||_0x19778c[_0x46f518(0x43b)];return{..._0x19778c,'mutations':_0x46f7da};});this['_lockTransition'](),this[_0x7ba2b0(0x2ae)](this[_0x7ba2b0(0x233)]['onMissedChangesetFetched'](_0x55f726)),this[_0x7ba2b0(0x2bc)]();}['_toggleOffline'](){const _0x14df21=_0x270b48;this[_0x14df21(0x5ec)](),this[_0x14df21(0x2ae)](this[_0x14df21(0x233)][_0x14df21(0x200)]()),this[_0x14df21(0x2bc)]();}['_toggleOnline'](_0x348006=!0x1){const _0xd7a7f5=_0x270b48;this['_lockTransition'](),this['_updateState'](this[_0xd7a7f5(0x233)][_0xd7a7f5(0x381)]()),this[_0xd7a7f5(0x2bc)]();const _0x34f310=this['_state'];_0x348006&&_0x34f310 instanceof _0x4b3062&&(this['_lockTransition'](),this[_0xd7a7f5(0x2ae)](_0x34f310[_0xd7a7f5(0x44d)]()),this[_0xd7a7f5(0x2bc)]());}async[_0x270b48(0x221)](){return new Promise(_0x71b5aa=>{const _0x3e934f=_0x5645;this[_0x3e934f(0x2ea)][_0x3e934f(0x342)][_0x3e934f(0x3fb)](_0x43beed[_0x3e934f(0x4cd)](0x1))[_0x3e934f(0x40f)](async _0x478003=>{const _0x343d23=_0x3e934f;_0x71b5aa(await this[_0x343d23(0x46a)](_0x478003===_0x606225['ONLINE']));});});}[_0x270b48(0x542)](){const _0x3d50bf=_0x270b48,_0x45814b=this[_0x3d50bf(0x224)];return{'onStateChange':(_0x47f595,_0x48f8d5)=>{const _0x22cded=_0x3d50bf;if(_0x47f595!==this['_state'])throw new Error(_0x22cded(0x2b2)+_0x47f595[_0x22cded(0x46e)]+_0x22cded(0x537)+_0x48f8d5['status']+_0x22cded(0x5de)+this['_state']['status']);this[_0x22cded(0x2ae)](_0x48f8d5);},'onSendChangeset':_0x32c494=>{const _0x222551=_0x3d50bf;_0x32c494['sid']||(_0x32c494[_0x222551(0x62e)]=this[_0x222551(0x34d)],_0x32c494['reqId']=++this['_changesetReqId']);const _0x1d323d={'eventID':_0x434c76[_0x222551(0x4cc)][_0x222551(0x258)],'data':{'unitID':_0x32c494[_0x222551(0x224)],'unitType':this[_0x222551(0x522)],'changeset':_0x32c494,'memberID':this[_0x222551(0x2ea)][_0x222551(0x50e)]()}};this[_0x222551(0x2ea)][_0x222551(0x63d)](_0x1d323d,this[_0x222551(0x224)]);},'onMissingChangesets':({from:_0x188eb0,to:_0x386e95})=>{const _0x4a3d58=_0x3d50bf;this[_0x4a3d58(0x477)]['debug'](_0x4a3d58(0x38c),_0x4a3d58(0x4b3)+_0x188eb0+'\x20to\x20'+_0x386e95);const _0x3cd795={'eventID':_0x434c76[_0x4a3d58(0x4cc)]['FETCH_MISSING'],'data':{'unitID':_0x45814b,'unitType':this['_type'],'from':_0x188eb0,'to':_0x386e95}};this[_0x4a3d58(0x2ea)][_0x4a3d58(0x63d)](_0x3cd795,this['unitID']);}};}async['_createInitialStateImpl'](_0x1d32ab){const _0xfebecc=_0x270b48;var _0x3c8f83,_0x34539a;const _0x4cb997=await this[_0xfebecc(0x5a3)][_0xfebecc(0x294)](this[_0xfebecc(0x224)]),_0x591438=(_0x3c8f83=_0x4cb997==null?void 0x0:_0x4cb997['mutations'])!=null?_0x3c8f83:[],_0x4b16e9=(_0x34539a=_0x4cb997==null?void 0x0:_0x4cb997[_0xfebecc(0x636)])!=null?_0x34539a:null,_0x21ccd3=!!(_0x4b16e9!=null&&_0x4b16e9[_0xfebecc(0x62e)])&&!!(_0x4b16e9!=null&&_0x4b16e9[_0xfebecc(0x677)]);this[_0xfebecc(0x34d)]=_0x21ccd3?_0x4b16e9[_0xfebecc(0x62e)]:_0x493452(),this[_0xfebecc(0x424)]=_0x21ccd3?_0x4b16e9[_0xfebecc(0x677)]:0x0;const _0x4ce778=this[_0xfebecc(0x224)];try{this[_0xfebecc(0x2d3)](_0x4b16e9,_0x591438);}catch(_0x4a769e){this['_logService']['error'](_0x4a769e);}const _0x4bb4c9=this[_0xfebecc(0x542)]();if(_0x1d32ab){const _0x4392db=_0x50b2a2(this[_0xfebecc(0x358)],_0x4ce778,this[_0xfebecc(0x522)],_0x4b16e9,_0x591438,_0x4bb4c9);return _0x4392db instanceof _0x3574b8?_0x4392db[_0xfebecc(0x243)]():(_0x4392db instanceof _0x24ea08||_0x4392db instanceof _0x53f33a)&&_0x4392db[_0xfebecc(0x1e6)](),_0x4392db;}return this[_0xfebecc(0x358)][_0xfebecc(0x624)](_0x1588a6,_0x4ce778,this[_0xfebecc(0x522)],_0x4b16e9,_0x591438,_0x4bb4c9);}[_0x270b48(0x2d3)](_0x2ae9b6,_0x20a631){const _0x5150a1=_0x270b48;var _0xc36873,_0x2ba0c4;const _0x143d24=this[_0x5150a1(0x651)]['interceptor']['fetchThroughInterceptors'](this[_0x5150a1(0x651)][_0x5150a1(0x5bd)][_0x5150a1(0x39d)]()[_0x5150a1(0x2a7)]);(_0xc36873=_0x143d24((_0x2ae9b6==null?void 0x0:_0x2ae9b6['mutations'])||[],null))==null||_0xc36873['forEach'](_0x22eed1=>this[_0x5150a1(0x4ce)]['executeCommand'](_0x22eed1['id'],_0x22eed1['params'])),(_0x2ba0c4=_0x143d24(_0x20a631||[],null))==null||_0x2ba0c4[_0x5150a1(0x4bd)](_0x2de10c=>this[_0x5150a1(0x4ce)][_0x5150a1(0x284)](_0x2de10c['id'],_0x2de10c['params']));}},_0x3ef0c0[_0x270b48(0x4ca)]=_0x3b7760([_0x9b120c(0x3,_0x10122e[_0x270b48(0x5c7)](_0x10122e['Injector'])),_0x9b120c(0x4,_0x10122e[_0x270b48(0x5c7)](_0x3ef0c0['LocalCacheService'])),_0x9b120c(0x5,_0x10122e['Inject'](_0x434c76['CompressMutationService'])),_0x9b120c(0x6,_0x10122e[_0x270b48(0x5c7)](_0x10122e[_0x270b48(0x42c)])),_0x9b120c(0x7,_0x10122e[_0x270b48(0x5c7)](_0x434c76[_0x270b48(0x5b0)])),_0x9b120c(0x8,_0x10122e[_0x270b48(0x4d7)]),_0x9b120c(0x9,_0x10122e[_0x270b48(0x1e0)]),_0x9b120c(0xa,_0x3421c5['IMessageService']),_0x9b120c(0xb,_0x10122e[_0x270b48(0x380)]),_0x9b120c(0xc,_0x10122e['Optional'](_0x483e19))],_0x3ef0c0['CollaborationEntity']),_0x3ef0c0[_0x270b48(0x474)]=class extends _0x3ef0c0[_0x270b48(0x4ca)]{constructor(_0x264b80,_0x56c2b8,_0x2e5b95,_0x496102,_0x37644e,_0x77c316,_0x17123c,_0xce3f1d,_0x407bd8,_0x1cd071,_0x49760b,_0x21570c,_0x2b24a9,_0x3f8646,_0xe23d93,_0x2a853c,_0x485e37,_0x4f4aa4){const _0x1785e7=_0x270b48;super(_0x264b80,_0x2e5b95,_0x56c2b8,_0x496102,_0x37644e,_0x77c316,_0x17123c,_0xce3f1d,_0x3f8646,_0xe23d93,_0x2a853c,_0x485e37,_0x4f4aa4),this['unitID']=_0x264b80,this[_0x1785e7(0x21d)]=_0x56c2b8,this[_0x1785e7(0x4fc)]=_0x407bd8,this['_docTransformIMECacheService']=_0x1cd071,this[_0x1785e7(0x47b)]=_0x49760b,this[_0x1785e7(0x59b)]=_0x21570c,this['_docSyncEditingCollabCursorService']=_0x2b24a9;}[_0x270b48(0x542)](){const _0x19d349=_0x270b48,_0xc18d52=super[_0x19d349(0x542)]();return _0xc18d52['onTransformIME']=_0x3a4636=>this['_docTransformIMECacheService'][_0x19d349(0x4cf)](_0x3a4636),_0xc18d52['onTransformState']=_0x504c25=>this[_0x19d349(0x47b)][_0x19d349(0x2d0)](_0x504c25),_0xc18d52[_0x19d349(0x5b1)]=_0x4f19ee=>this[_0x19d349(0x59b)][_0x19d349(0x271)](_0x4f19ee),_0xc18d52[_0x19d349(0x505)]=_0x47cf9e=>this[_0x19d349(0x2fa)]['syncEditingCollabCursor'](_0x47cf9e),_0xc18d52[_0x19d349(0x4e4)]=_0x221119=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x221119),_0xc18d52[_0x19d349(0x5e2)]=_0x5881d8=>this['_docTransformStateCacheService'][_0x19d349(0x5b5)](_0x5881d8),_0xc18d52;}async[_0x270b48(0x46f)](){const _0x20568d=_0x270b48,_0x4d00c8=await super[_0x20568d(0x46f)]();return this[_0x20568d(0x4fc)]['docStateChange$'][_0x20568d(0x3fb)](_0x43beed[_0x20568d(0x57a)](this['dispose$']))[_0x20568d(0x40f)](_0x345c57=>{const _0x1d20b0=_0x20568d;if(_0x345c57==null)return;const {unitId:_0x194ec6,redoState:_0x3dd09b,commandId:_0x16985d}=_0x345c57;if(_0x194ec6!==this[_0x1d20b0(0x224)])return;const _0x4add68={'id':_0x16985d,'type':_0x10122e[_0x1d20b0(0x462)][_0x1d20b0(0x329)],'params':{'unitId':_0x194ec6,'actions':_0x3dd09b[_0x1d20b0(0x20a)],'textRanges':null}};this['_onLocalMutation'](_0x4add68);}),_0x4d00c8;}},_0x3ef0c0[_0x270b48(0x474)]=_0x3b7760([_0x9b120c(0x3,_0x10122e[_0x270b48(0x5c7)](_0x10122e[_0x270b48(0x53a)])),_0x9b120c(0x4,_0x10122e[_0x270b48(0x5c7)](_0x3ef0c0[_0x270b48(0x2c7)])),_0x9b120c(0x5,_0x10122e[_0x270b48(0x5c7)](_0x434c76[_0x270b48(0x62b)])),_0x9b120c(0x6,_0x10122e[_0x270b48(0x5c7)](_0x10122e['LocaleService'])),_0x9b120c(0x7,_0x10122e[_0x270b48(0x5c7)](_0x434c76['RevisionService'])),_0x9b120c(0x8,_0x10122e[_0x270b48(0x5c7)](_0x427cca[_0x270b48(0x1fc)])),_0x9b120c(0x9,_0x10122e[_0x270b48(0x5c7)](_0x3d74d7)),_0x9b120c(0xa,_0x10122e[_0x270b48(0x5c7)](_0x79b668)),_0x9b120c(0xb,_0x10122e[_0x270b48(0x5c7)](_0x38bb72)),_0x9b120c(0xc,_0x10122e['Inject'](_0x3a2161)),_0x9b120c(0xd,_0x10122e[_0x270b48(0x4d7)]),_0x9b120c(0xe,_0x10122e[_0x270b48(0x1e0)]),_0x9b120c(0xf,_0x3421c5[_0x270b48(0x408)]),_0x9b120c(0x10,_0x10122e[_0x270b48(0x380)]),_0x9b120c(0x11,_0x10122e[_0x270b48(0x24d)](_0x483e19))],_0x3ef0c0[_0x270b48(0x474)]),_0x3ef0c0[_0x270b48(0x4a6)]=class extends _0x3ef0c0['CollaborationEntity']{constructor(_0x49b8fb,_0x3d6418,_0x326e82,_0x5c3758,_0x15c491,_0x19e34a,_0x40f872,_0xd0bfb6,_0x81fe1c,_0x555182,_0x499b75,_0x3cab06,_0x435355,_0x48e197){const _0x5f0dc9=_0x270b48;super(_0x49b8fb,_0x326e82,_0x3d6418,_0x5c3758,_0x15c491,_0x19e34a,_0x40f872,_0xd0bfb6,_0x555182,_0x499b75,_0x3cab06,_0x435355,_0x48e197),this[_0x5f0dc9(0x224)]=_0x49b8fb,this['type']=_0x3d6418,this[_0x5f0dc9(0x5ab)]=_0x81fe1c;}['_createHandler'](){const _0x5ae0e6=_0x270b48,_0x27ee60=super[_0x5ae0e6(0x542)]();return _0x27ee60[_0x5ae0e6(0x5b1)]=_0x43339b=>this[_0x5ae0e6(0x5ab)]['transformSelections'](_0x43339b),_0x27ee60;}async[_0x270b48(0x46f)](){const _0x1600e4=_0x270b48,_0xc6626d=await super['_init']();return this['disposeWithMe'](this[_0x1600e4(0x4ce)][_0x1600e4(0x32f)]((_0x3f51d4,_0x22b2f9)=>{const _0x424bac=_0x1600e4;if(_0x3f51d4[_0x424bac(0x21d)]!==_0x10122e[_0x424bac(0x462)][_0x424bac(0x329)]||_0x22b2f9!=null&&_0x22b2f9[_0x424bac(0x22f)]||_0x22b2f9!=null&&_0x22b2f9[_0x424bac(0x1df)])return;const _0x5818b1=_0x3f51d4[_0x424bac(0x4ef)];if((_0x5818b1==null?void 0x0:_0x5818b1['unitId'])!==this[_0x424bac(0x224)])return;const _0x5ee571=_0x3f51d4,_0x3e08ac=this[_0x424bac(0x651)][_0x424bac(0x5bd)][_0x424bac(0x66b)](this[_0x424bac(0x651)]['interceptor'][_0x424bac(0x39d)]()['COMPRESS_MUTATION_SEND'])([_0x5ee571],null)||[_0x5ee571];this[_0x424bac(0x680)](_0x3e08ac[0x0]);})),_0xc6626d;}},_0x3ef0c0['SheetCollaborationEntity']=_0x3b7760([_0x9b120c(0x3,_0x10122e[_0x270b48(0x5c7)](_0x10122e['Injector'])),_0x9b120c(0x4,_0x10122e[_0x270b48(0x5c7)](_0x3ef0c0[_0x270b48(0x2c7)])),_0x9b120c(0x5,_0x10122e[_0x270b48(0x5c7)](_0x434c76[_0x270b48(0x62b)])),_0x9b120c(0x6,_0x10122e[_0x270b48(0x5c7)](_0x10122e[_0x270b48(0x42c)])),_0x9b120c(0x7,_0x10122e[_0x270b48(0x5c7)](_0x434c76[_0x270b48(0x5b0)])),_0x9b120c(0x8,_0x10122e['Inject'](_0x16b02c)),_0x9b120c(0x9,_0x10122e[_0x270b48(0x4d7)]),_0x9b120c(0xa,_0x10122e[_0x270b48(0x1e0)]),_0x9b120c(0xb,_0x3421c5[_0x270b48(0x408)]),_0x9b120c(0xc,_0x10122e[_0x270b48(0x380)]),_0x9b120c(0xd,_0x10122e[_0x270b48(0x24d)](_0x483e19))],_0x3ef0c0[_0x270b48(0x4a6)]);var _0x3ef77f=Object['defineProperty'],_0x1e96f5=Object[_0x270b48(0x255)],_0x76162f=(_0x2c0cf2,_0x49e06b,_0x5aeb05,_0x26ed5d)=>{const _0x2fdf14=_0x270b48;for(var _0x5f1b1d=_0x26ed5d>0x1?void 0x0:_0x26ed5d?_0x1e96f5(_0x49e06b,_0x5aeb05):_0x49e06b,_0xaba522=_0x2c0cf2[_0x2fdf14(0x2df)]-0x1,_0xf8633e;_0xaba522>=0x0;_0xaba522--)(_0xf8633e=_0x2c0cf2[_0xaba522])&&(_0x5f1b1d=(_0x26ed5d?_0xf8633e(_0x49e06b,_0x5aeb05,_0x5f1b1d):_0xf8633e(_0x5f1b1d))||_0x5f1b1d);return _0x26ed5d&&_0x5f1b1d&&_0x3ef77f(_0x49e06b,_0x5aeb05,_0x5f1b1d),_0x5f1b1d;},_0x4eb3fe=(_0x41f504,_0x40d55c)=>(_0x1c11a2,_0x519c13)=>_0x40d55c(_0x1c11a2,_0x519c13,_0x41f504);_0x3ef0c0[_0x270b48(0x4ad)]=class extends _0x10122e['RxDisposable']{constructor(_0x434449,_0x58b8c9,_0x5623b2){const _0x30e60e=_0x270b48;super(),_0x11da04(this,_0x30e60e(0x201),new Map()),_0x11da04(this,_0x30e60e(0x53e),new _0x43beed[(_0x30e60e(0x69a))]()),(this[_0x30e60e(0x358)]=_0x434449,this['_collabSessionService']=_0x58b8c9,this['_univerInstanceService']=_0x5623b2,this[_0x30e60e(0x46f)]());}[_0x270b48(0x67e)](){const _0x3815de=_0x270b48;super[_0x3815de(0x67e)](),this[_0x3815de(0x201)][_0x3815de(0x4bd)](_0x2acbcc=>_0x2acbcc[_0x3815de(0x67e)]()),this[_0x3815de(0x201)]['clear']();}[_0x270b48(0x5ac)](_0x5296f7){const _0x980ab5=_0x270b48;var _0x80eed9;return(_0x80eed9=this[_0x980ab5(0x201)][_0x980ab5(0x56f)](_0x5296f7))!=null?_0x80eed9:null;}[_0x270b48(0x435)](_0x34c8ad){const _0x503a40=_0x270b48,_0x1a4d35=this['getCollabEntity'](_0x34c8ad);return _0x1a4d35?_0x43beed['of'](_0x1a4d35):this[_0x503a40(0x53e)][_0x503a40(0x3fb)](_0x107fd5[_0x503a40(0x4d0)](_0x2be1a8=>_0x2be1a8[_0x503a40(0x224)]===_0x34c8ad));}[_0x270b48(0x46f)](){const _0x1267bf=_0x270b48;this[_0x1267bf(0x3d7)][_0x1267bf(0x3cc)](_0x10122e[_0x1267bf(0x348)][_0x1267bf(0x4e9)])[_0x1267bf(0x3fb)](_0x43beed[_0x1267bf(0x57a)](this[_0x1267bf(0x488)]),_0x107fd5[_0x1267bf(0x315)](0x10))[_0x1267bf(0x40f)](async _0x20bac0=>{const _0x42c5fb=_0x1267bf,_0x3f03cf=_0x20bac0['getUnitId'](),_0x5efb22=await this['_startCollaboration'](_0x3f03cf,_0x8439e8['UNIVER_SHEET']);this[_0x42c5fb(0x201)][_0x42c5fb(0x472)](_0x3f03cf,_0x5efb22);}),this[_0x1267bf(0x3d7)][_0x1267bf(0x3cc)](_0x10122e[_0x1267bf(0x348)][_0x1267bf(0x414)])[_0x1267bf(0x3fb)](_0x43beed[_0x1267bf(0x57a)](this[_0x1267bf(0x488)]),_0x107fd5[_0x1267bf(0x315)](0x10))[_0x1267bf(0x3fb)](_0x107fd5['filter'](_0x3555b1=>!_0x3555b1[_0x1267bf(0x337)]()[_0x1267bf(0x623)]('__')))[_0x1267bf(0x40f)](async _0xc51986=>{const _0x3bff47=_0x1267bf,_0x39a67a=_0xc51986[_0x3bff47(0x337)](),_0x48954c=await this[_0x3bff47(0x57b)](_0x39a67a,_0x8439e8['UNIVER_DOC']);this[_0x3bff47(0x201)][_0x3bff47(0x472)](_0x39a67a,_0x48954c);}),_0x43beed[_0x1267bf(0x1f9)](this[_0x1267bf(0x3d7)][_0x1267bf(0x1d5)](_0x10122e[_0x1267bf(0x348)][_0x1267bf(0x4e9)]),this['_univerInstanceService'][_0x1267bf(0x1d5)](_0x10122e[_0x1267bf(0x348)][_0x1267bf(0x414)]))['pipe'](_0x43beed[_0x1267bf(0x57a)](this[_0x1267bf(0x488)]))[_0x1267bf(0x40f)](_0x402ba6=>{const _0x76424a=_0x1267bf,_0x225e5e=_0x402ba6[_0x76424a(0x337)](),_0x587c8d=this[_0x76424a(0x201)][_0x76424a(0x56f)](_0x225e5e);_0x587c8d&&(_0x587c8d[_0x76424a(0x67e)](),this[_0x76424a(0x201)][_0x76424a(0x48d)](_0x225e5e));});}async[_0x270b48(0x57b)](_0x2a2d96,_0x3021b1){const _0x34e929=_0x270b48,_0x223066=await this[_0x34e929(0x50f)]['requireSession'](_0x2a2d96),_0x2159fa=this[_0x34e929(0x358)]['createInstance'](this['_getCtorByUniverType'](_0x3021b1),_0x2a2d96,_0x3021b1,_0x223066);return await _0x2159fa[_0x34e929(0x24f)](),this[_0x34e929(0x53e)][_0x34e929(0x299)](_0x2159fa),_0x2159fa;}[_0x270b48(0x3ae)](_0x502c2a){const _0x3496f7=_0x270b48;switch(_0x502c2a){case _0x8439e8[_0x3496f7(0x414)]:return _0x3ef0c0[_0x3496f7(0x474)];case _0x8439e8[_0x3496f7(0x4e9)]:return _0x3ef0c0[_0x3496f7(0x4a6)];default:throw new Error(_0x3496f7(0x49a)+_0x502c2a);}}},_0x3ef0c0[_0x270b48(0x4ad)]=_0x76162f([_0x4eb3fe(0x0,_0x10122e[_0x270b48(0x5c7)](_0x10122e[_0x270b48(0x53a)])),_0x4eb3fe(0x1,_0x10122e['Inject'](_0x3ef0c0['CollaborationSessionService'])),_0x4eb3fe(0x2,_0x10122e['IUniverInstanceService'])],_0x3ef0c0[_0x270b48(0x4ad)]);const _0x30c811=['purple300',_0x270b48(0x50a),_0x270b48(0x27b),'red300','blue400','gold400'];class _0x3e7be0 extends _0x10122e[_0x270b48(0x5f7)]{constructor(){const _0x1c6ecb=_0x270b48;super(...arguments),_0x11da04(this,_0x1c6ecb(0x483),new Map()),_0x11da04(this,_0x1c6ecb(0x2b3),0x0);}['assignAColorForMemberID'](_0x51bc5f){const _0x543bde=_0x270b48;if(this['_assignedColors']['has'](_0x51bc5f))return this[_0x543bde(0x483)]['get'](_0x51bc5f);const _0x3f4b9a=_0x30c811[this[_0x543bde(0x2b3)]];return this[_0x543bde(0x2b3)]=(this[_0x543bde(0x2b3)]+0x1)%_0x30c811[_0x543bde(0x2df)],this[_0x543bde(0x483)][_0x543bde(0x472)](_0x51bc5f,_0x3f4b9a),_0x3f4b9a;}}var _0x4bd140=Object['defineProperty'],_0x1f01d8=Object[_0x270b48(0x255)],_0x1ea80d=(_0x27d0e6,_0x43803d,_0x5c8f8e,_0x933f77)=>{const _0x3d8318=_0x270b48;for(var _0x49c0ef=_0x933f77>0x1?void 0x0:_0x933f77?_0x1f01d8(_0x43803d,_0x5c8f8e):_0x43803d,_0x289323=_0x27d0e6[_0x3d8318(0x2df)]-0x1,_0x1c148c;_0x289323>=0x0;_0x289323--)(_0x1c148c=_0x27d0e6[_0x289323])&&(_0x49c0ef=(_0x933f77?_0x1c148c(_0x43803d,_0x5c8f8e,_0x49c0ef):_0x1c148c(_0x49c0ef))||_0x49c0ef);return _0x933f77&&_0x49c0ef&&_0x4bd140(_0x43803d,_0x5c8f8e,_0x49c0ef),_0x49c0ef;},_0x4657b0=(_0x3ce454,_0x3a6a12)=>(_0x442129,_0x17ed4c)=>_0x3a6a12(_0x442129,_0x17ed4c,_0x3ce454);const _0x400cb4=0x12c,_0x2a3908=0x64;let _0x41c72b=class extends _0x10122e[_0x270b48(0x332)]{constructor(_0x5eb203,_0x2070bc,_0x320cbb,_0x3674cc,_0x3fa9a2,_0x350c12,_0x3c534b,_0xa35521,_0x413338){const _0x43b19c=_0x270b48;super(),_0x11da04(this,_0x43b19c(0x5a8),!0x1),_0x11da04(this,'_init',!0x1),_0x11da04(this,'_cursorInfo$',new _0x43beed[(_0x43b19c(0x65c))](new Map())),_0x11da04(this,'cursorInfo$',this['_cursorInfo$']['asObservable']()),_0x11da04(this,_0x43b19c(0x456),new _0x43beed[(_0x43b19c(0x65c))]([])),_0x11da04(this,_0x43b19c(0x369),this[_0x43b19c(0x456)][_0x43b19c(0x3fb)](_0x43beed[_0x43b19c(0x4ea)](_0x400cb4))),_0x11da04(this,'_updateLocalCursor',_0x10122e['debounce'](_0x468d76=>{const _0x38cd56=_0x43b19c,_0x2769a0={'eventID':_0x434c76['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x38cd56(0x39c)][_0x38cd56(0x50e)](),'selection':_0x46ba9a(_0x468d76)}};this[_0x38cd56(0x39c)][_0x38cd56(0x63d)](_0x2769a0,this['unitID']);},_0x2a3908)),(this['unitID']=_0x5eb203,this[_0x43b19c(0x39c)]=_0x2070bc,this[_0x43b19c(0x358)]=_0x320cbb,this[_0x43b19c(0x417)]=_0x3674cc,this[_0x43b19c(0x60b)]=_0x3fa9a2,this[_0x43b19c(0x503)]=_0x350c12,this[_0x43b19c(0x54b)]=_0x3c534b,this[_0x43b19c(0x3d7)]=_0xa35521,this['_commandService']=_0x413338);}get['cursorInfo'](){const _0x83c2a8=_0x270b48;return this[_0x83c2a8(0x2ee)][_0x83c2a8(0x579)]();}get[_0x270b48(0x2cc)](){const _0x246b1a=_0x270b48;return this[_0x246b1a(0x456)]['getValue']();}['dispose'](){const _0x218865=_0x270b48;super[_0x218865(0x67e)](),this['_cursorInfo$'][_0x218865(0x299)](new Map()),this[_0x218865(0x2ee)]['complete'](),this[_0x218865(0x456)][_0x218865(0x299)]([]),this[_0x218865(0x456)]['complete']();}[_0x270b48(0x24f)](){const _0x4a3bcc=_0x270b48;this['_init']||(this[_0x4a3bcc(0x46f)]=!0x0,this[_0x4a3bcc(0x39c)]['sessionStatus$'][_0x4a3bcc(0x3fb)](_0x43beed[_0x4a3bcc(0x57a)](this[_0x4a3bcc(0x488)]))[_0x4a3bcc(0x40f)](_0x404285=>{const _0x4942a6=_0x4a3bcc;_0x404285===_0x606225[_0x4942a6(0x29e)]?this[_0x4942a6(0x657)]():this[_0x4942a6(0x43d)]();}),this[_0x4a3bcc(0x39c)][_0x4a3bcc(0x334)][_0x4a3bcc(0x3fb)](_0x43beed['takeUntil'](this['dispose$']))[_0x4a3bcc(0x40f)](_0x22d637=>{const _0x18a317=_0x4a3bcc,_0xb47713=_0x22d637[_0x18a317(0x53d)];_0xb47713===_0x434c76[_0x18a317(0x4cc)][_0x18a317(0x658)]&&this['_onCursorUpdate'](_0x22d637),_0xb47713===_0x434c76[_0x18a317(0x4cc)][_0x18a317(0x30a)]&&this[_0x18a317(0x422)](_0x22d637);}),this[_0x4a3bcc(0x206)](this['_commandService'][_0x4a3bcc(0x32f)](_0x1a9af3=>{const _0x57ac45=_0x4a3bcc,_0x59219a=_0x1a9af3['params'];_0x59219a!=null&&this[_0x57ac45(0x5a8)]&&_0x1a9af3['id']===_0x48121f[_0x57ac45(0x4d8)]['id']&&_0x59219a[_0x57ac45(0x3d3)]===this['unitID']&&_0x59219a[_0x57ac45(0x586)]===!0x1&&_0x59219a['ranges'][_0x57ac45(0x2df)]>0x0&&this['_updateLocalCursor'](_0x59219a[_0x57ac45(0x1f6)]);})),this[_0x4a3bcc(0x503)]['collabCursorState$'][_0x4a3bcc(0x3fb)](_0x43beed[_0x4a3bcc(0x57a)](this['dispose$']))[_0x4a3bcc(0x40f)](_0x391c11=>{const _0x352abd=_0x4a3bcc;if((_0x391c11==null?void 0x0:_0x391c11[_0x352abd(0x224)])!==this[_0x352abd(0x224)])return;const _0x1073fc={'eventID':_0x434c76[_0x352abd(0x4cc)][_0x352abd(0x658)],'data':_0x391c11};this[_0x352abd(0x3be)](_0x1073fc);}),this[_0x4a3bcc(0x206)](this[_0x4a3bcc(0x4ce)][_0x4a3bcc(0x32f)](_0x55b8bd=>{const _0x543815=_0x4a3bcc;if(_0x55b8bd[_0x543815(0x4ef)]==null)return;const _0x23129c=_0x55b8bd[_0x543815(0x4ef)];if(_0x55b8bd['id']!==_0x48121f[_0x543815(0x56e)]['id']||_0x23129c[_0x543815(0x3d3)]!==this[_0x543815(0x224)])return;const _0x536975={'id':_0x543815(0x3b4),'params':_0x23129c},_0x4e2d0c=this[_0x543815(0x341)];for(const [_0x1425e5,_0x6292c4]of _0x4e2d0c){const _0x3548c8={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x6292c4[_0x543815(0x1f6)]}},_0x4b9cfd=this[_0x543815(0x54b)][_0x543815(0x476)](_0x536975,_0x3548c8,!0x1);if(_0x434c76[_0x543815(0x330)](_0x4b9cfd))throw _0x4b9cfd['error'];_0x4e2d0c[_0x543815(0x472)](_0x1425e5,{..._0x6292c4,'ranges':_0x4b9cfd[_0x543815(0x682)][_0x543815(0x4ef)]['textRanges']});}queueMicrotask(()=>{const _0x45649e=_0x543815;this[_0x45649e(0x2ee)][_0x45649e(0x299)](_0x4e2d0c);});})));}[_0x270b48(0x3be)](_0x33a397){const _0x24306a=_0x270b48;var _0x2da57d,_0xe371b4;const {memberID:_0x3a4518,selection:_0x386c12}=_0x33a397[_0x24306a(0x52b)],_0x2f2077=_0x334742(_0x386c12),_0x2ec5f8=(_0xe371b4=(_0x2da57d=this[_0x24306a(0x60b)]['getMember'](this[_0x24306a(0x224)],_0x3a4518))==null?void 0x0:_0x2da57d['name'])!=null?_0xe371b4:_0x24306a(0x30c),_0x3b18a1={'color':this[_0x24306a(0x417)][_0x24306a(0x208)](_0x3a4518),'name':_0x2ec5f8,'ranges':_0x2f2077},_0x12b070=this['cursorInfo'];_0x12b070[_0x24306a(0x472)](_0x3a4518,_0x3b18a1),this[_0x24306a(0x2ee)]['next'](_0x12b070);}[_0x270b48(0x422)](_0x5e967a){const _0x5ca931=_0x270b48,{memberID:_0x4f2093}=_0x5e967a[_0x5ca931(0x52b)],_0x188346=this[_0x5ca931(0x341)];_0x188346[_0x5ca931(0x48d)](_0x4f2093),this['_cursorInfo$'][_0x5ca931(0x299)](_0x188346);}[_0x270b48(0x657)](){const _0x34e2a7=_0x270b48;var _0x58a3cd;if(this[_0x34e2a7(0x5a8)]=!0x0,((_0x58a3cd=this[_0x34e2a7(0x3d7)][_0x34e2a7(0x446)]())==null?void 0x0:_0x58a3cd['getUnitId']())!==this[_0x34e2a7(0x224)])return;const _0x12e218=this[_0x34e2a7(0x358)][_0x34e2a7(0x56f)](_0x48121f[_0x34e2a7(0x693)])['getDocRanges']();Array[_0x34e2a7(0x3dc)](_0x12e218)&&_0x12e218[_0x34e2a7(0x2df)]>0x0&&this['_updateLocalCursor'](_0x12e218);}[_0x270b48(0x43d)](){const _0x23509f=_0x270b48;this[_0x23509f(0x5a8)]=!0x1;}};_0x41c72b=_0x1ea80d([_0x4657b0(0x2,_0x10122e[_0x270b48(0x5c7)](_0x10122e['Injector'])),_0x4657b0(0x3,_0x10122e['Inject'](_0x3e7be0)),_0x4657b0(0x4,_0x10122e[_0x270b48(0x5c7)](_0x3ef0c0['MemberService'])),_0x4657b0(0x5,_0x10122e[_0x270b48(0x5c7)](_0x3a2161)),_0x4657b0(0x6,_0x434c76['ITransformService']),_0x4657b0(0x7,_0x10122e[_0x270b48(0x204)]),_0x4657b0(0x8,_0x10122e[_0x270b48(0x1e0)])],_0x41c72b);var _0x564c73=Object[_0x270b48(0x29d)],_0x3b00d8=Object[_0x270b48(0x255)],_0x59c40b=(_0x689cef,_0x4bc585,_0x153d49,_0x299e28)=>{const _0xec9fb3=_0x270b48;for(var _0x49bb1a=_0x299e28>0x1?void 0x0:_0x299e28?_0x3b00d8(_0x4bc585,_0x153d49):_0x4bc585,_0x45d289=_0x689cef[_0xec9fb3(0x2df)]-0x1,_0x2e84e0;_0x45d289>=0x0;_0x45d289--)(_0x2e84e0=_0x689cef[_0x45d289])&&(_0x49bb1a=(_0x299e28?_0x2e84e0(_0x4bc585,_0x153d49,_0x49bb1a):_0x2e84e0(_0x49bb1a))||_0x49bb1a);return _0x299e28&&_0x49bb1a&&_0x564c73(_0x4bc585,_0x153d49,_0x49bb1a),_0x49bb1a;},_0x39e771=(_0x38d262,_0x49ddfe)=>(_0x564499,_0xec8df0)=>_0x49ddfe(_0x564499,_0xec8df0,_0x38d262);const _0x5cb1f7=0x12c,_0x5a3308=0x64,_0x3796fe=()=>{let _0x1cc837=[],_0x5d1a28=!0x1;return _0x3a116b=>{const _0x414c85=_0x5645;_0x1cc837[_0x414c85(0x28f)](_0x3a116b),_0x5d1a28||(_0x5d1a28=!0x0,setTimeout(()=>{_0x1cc837['forEach'](_0x44cf34=>_0x44cf34()),_0x1cc837=[],_0x5d1a28=!0x1;}));};};let _0x4be124=class extends _0x10122e[_0x270b48(0x332)]{constructor(_0x529c6f,_0x5ebc59,_0x20c053,_0x27a89f,_0x88452b,_0x442b90,_0x597ae2,_0x2f20f5){const _0xbeafdc=_0x270b48;super(),_0x11da04(this,_0xbeafdc(0x5a8),!0x1),_0x11da04(this,'_init',!0x1),_0x11da04(this,'_cursorInfo$',new _0x43beed['BehaviorSubject'](new Map())),_0x11da04(this,'cursorInfo$',this['_cursorInfo$'][_0xbeafdc(0x644)]()),_0x11da04(this,_0xbeafdc(0x456),new _0x43beed[(_0xbeafdc(0x65c))]([])),_0x11da04(this,'roomMembers$',this[_0xbeafdc(0x456)][_0xbeafdc(0x3fb)](_0x43beed['debounceTime'](_0x5cb1f7))),_0x11da04(this,_0xbeafdc(0x5f8),_0x10122e[_0xbeafdc(0x5ce)]((_0x5b1022,_0x1963bd)=>{const _0x4d75b8=_0xbeafdc,_0x4c8e38={'eventID':_0x434c76[_0x4d75b8(0x4cc)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x4d75b8(0x224)],'memberID':this[_0x4d75b8(0x39c)][_0x4d75b8(0x50e)](),'selection':_0x7655c5[_0x4d75b8(0x2f4)](_0x5b1022,_0x1963bd[_0x4d75b8(0x32a)])}};this[_0x4d75b8(0x39c)][_0x4d75b8(0x63d)](_0x4c8e38,this[_0x4d75b8(0x224)]);},_0x5a3308)),(this[_0xbeafdc(0x224)]=_0x529c6f,this['_session']=_0x5ebc59,this[_0xbeafdc(0x358)]=_0x20c053,this['_colorAssignService']=_0x27a89f,this[_0xbeafdc(0x60b)]=_0x88452b,this[_0xbeafdc(0x3d7)]=_0x442b90,this['_commandService']=_0x597ae2,this[_0xbeafdc(0x683)]=_0x2f20f5);}get['cursorInfo'](){const _0x1cc1a3=_0x270b48;return this[_0x1cc1a3(0x2ee)][_0x1cc1a3(0x579)]();}get['roomMembers'](){const _0x41938f=_0x270b48;return this['_roomMembers$'][_0x41938f(0x579)]();}['dispose'](){const _0x5b155a=_0x270b48;super['dispose'](),this[_0x5b155a(0x2ee)][_0x5b155a(0x299)](new Map()),this['_cursorInfo$']['complete'](),this[_0x5b155a(0x456)]['next']([]),this[_0x5b155a(0x456)][_0x5b155a(0x479)]();}[_0x270b48(0x24f)](){const _0x28f8ba=_0x270b48;this[_0x28f8ba(0x46f)]||(this[_0x28f8ba(0x46f)]=!0x0,this[_0x28f8ba(0x39c)][_0x28f8ba(0x342)][_0x28f8ba(0x3fb)](_0x43beed[_0x28f8ba(0x57a)](this[_0x28f8ba(0x488)]))['subscribe'](_0x10b8df=>{const _0x4cab9b=_0x28f8ba;_0x10b8df===_0x606225[_0x4cab9b(0x29e)]?this[_0x4cab9b(0x657)]():this[_0x4cab9b(0x43d)]();}),this[_0x28f8ba(0x39c)]['event$'][_0x28f8ba(0x3fb)](_0x43beed[_0x28f8ba(0x57a)](this[_0x28f8ba(0x488)]))['subscribe'](_0x573685=>{const _0x1bdf51=_0x28f8ba,_0x3efd85=_0x573685[_0x1bdf51(0x53d)];_0x3efd85===_0x434c76[_0x1bdf51(0x4cc)][_0x1bdf51(0x658)]&&this[_0x1bdf51(0x3be)](_0x573685),_0x3efd85===_0x434c76['CollaborationEvent'][_0x1bdf51(0x30a)]&&this['_onCursorDelete'](_0x573685);}),this[_0x28f8ba(0x545)](),this['disposeWithMe'](this[_0x28f8ba(0x4ce)]['onCommandExecuted'](_0x5d81e1=>{const _0x2b534a=_0x28f8ba;if(this[_0x2b534a(0x5a8)]&&_0x5d81e1['id']===_0x43d50e[_0x2b534a(0x50d)]['id']&&_0x5d81e1[_0x2b534a(0x4ef)][_0x2b534a(0x3d3)]===this[_0x2b534a(0x224)]){const _0xd3c597=_0x5d81e1[_0x2b534a(0x4ef)];this[_0x2b534a(0x5f8)](_0xd3c597[_0x2b534a(0x570)],_0xd3c597['selections'][0x0]);}})));}[_0x270b48(0x3be)](_0x47b045){const _0x15640c=_0x270b48;var _0x20a45b,_0x2493d0;const {memberID:_0x2e2f26,selection:_0x150570}=_0x47b045['data'],{sheetName:_0x3fe5b7,range:_0xb28e4e}=_0x7655c5['deserializeRangeWithSheet'](_0x150570),_0x59643a={'name':(_0x2493d0=(_0x20a45b=this['_memberService'][_0x15640c(0x539)](this[_0x15640c(0x224)],_0x2e2f26))==null?void 0x0:_0x20a45b[_0x15640c(0x27e)])!=null?_0x2493d0:_0x15640c(0x30c),'range':this['_getMergeRange'](_0x3fe5b7,_0xb28e4e),'sheetID':_0x3fe5b7,'color':this[_0x15640c(0x417)][_0x15640c(0x208)](_0x2e2f26),'selection':_0x150570},_0x478e59=this[_0x15640c(0x341)];_0x478e59[_0x15640c(0x472)](_0x2e2f26,_0x59643a),this[_0x15640c(0x2ee)][_0x15640c(0x299)](_0x478e59);}[_0x270b48(0x422)](_0x48ec48){const _0x4f7f89=_0x270b48,{memberID:_0x25ec27}=_0x48ec48[_0x4f7f89(0x52b)],_0x29f19d=this[_0x4f7f89(0x341)];_0x29f19d['delete'](_0x25ec27),this['_cursorInfo$'][_0x4f7f89(0x299)](_0x29f19d);}[_0x270b48(0x52d)](_0x1c8620,_0x2f18bf){const _0x3b3b15=_0x270b48;var _0xb82caa,_0x563fdd;const _0x11edcf=(_0x563fdd=(_0xb82caa=this[_0x3b3b15(0x3d7)]['getUniverSheetInstance'](this[_0x3b3b15(0x224)]))==null?void 0x0:_0xb82caa[_0x3b3b15(0x5e7)](_0x1c8620))==null?void 0x0:_0x563fdd[_0x3b3b15(0x5d0)]();return(_0x11edcf==null?void 0x0:_0x11edcf[_0x3b3b15(0x335)](_0x4e3406=>_0x10122e[_0x3b3b15(0x465)][_0x3b3b15(0x5c1)](_0x4e3406,_0x2f18bf)))||_0x2f18bf;}['_onRefRangeChange'](){const _0x4d2738=_0x270b48,_0x3dbc72=new _0x10122e['DisposableCollection'](),_0x112f55=_0x3796fe(),_0x5822e6=()=>{const _0xa8f23e=_0x5645;_0x3dbc72[_0xa8f23e(0x67e)]();const _0x580982=(_0x5c4856,_0x2a48d1,_0x22efd1,_0x38884f)=>{const _0x3060f1=_0xa8f23e;let _0x45350c=[];switch(_0x5c4856['id']){case _0x43d50e[_0x3060f1(0x382)][_0x3060f1(0x3ac)]:{_0x45350c=_0x43d50e['handleDeleteRangeMoveLeft'](_0x5c4856,_0x38884f);break;}case _0x43d50e['EffectRefRangId'][_0x3060f1(0x63f)]:{_0x45350c=_0x43d50e['handleDeleteRangeMoveUp'](_0x5c4856,_0x38884f);break;}case _0x43d50e[_0x3060f1(0x382)][_0x3060f1(0x5fd)]:{_0x45350c=_0x43d50e[_0x3060f1(0x648)](_0x5c4856,_0x38884f);break;}case _0x43d50e['EffectRefRangId'][_0x3060f1(0x5f0)]:{_0x45350c=_0x43d50e['handleInsertRangeMoveDown'](_0x5c4856,_0x38884f);break;}case _0x43d50e['EffectRefRangId']['InsertRangeMoveRightCommandId']:{_0x45350c=_0x43d50e['handleInsertRangeMoveRight'](_0x5c4856,_0x38884f);break;}case _0x43d50e[_0x3060f1(0x382)][_0x3060f1(0x628)]:{_0x45350c=_0x43d50e['handleInsertRow'](_0x5c4856,_0x38884f);break;}case _0x43d50e[_0x3060f1(0x382)][_0x3060f1(0x512)]:{_0x45350c=_0x43d50e[_0x3060f1(0x33f)](_0x5c4856,_0x38884f);break;}case _0x43d50e['EffectRefRangId']['RemoveColCommandId']:{_0x45350c=_0x43d50e[_0x3060f1(0x603)](_0x5c4856,_0x38884f);break;}case _0x43d50e['EffectRefRangId'][_0x3060f1(0x646)]:{_0x45350c=_0x43d50e[_0x3060f1(0x65d)](_0x5c4856,_0x38884f);break;}}const _0x433f9b=_0x43d50e['runRefRangeMutations'](_0x45350c,_0x38884f),_0x2a3a6e=this[_0x3060f1(0x341)][_0x3060f1(0x56f)](_0x2a48d1);if(_0x2a3a6e&&_0x433f9b){const _0x39e0fe={..._0x2a3a6e,'range':_0x433f9b};this[_0x3060f1(0x341)][_0x3060f1(0x472)](_0x2a48d1,_0x39e0fe),_0x112f55(()=>{const _0x2c5331=_0x3060f1,_0x47cdb4=this[_0x2c5331(0x683)][_0x2c5331(0x4e0)](_0x433f9b,_0x45a3b6=>(_0x47cdb4[_0x2c5331(0x67e)](),_0x580982(_0x45a3b6,_0x2a48d1,_0x22efd1,_0x433f9b)));_0x3dbc72[_0x2c5331(0x607)](_0x47cdb4);});}return{'redos':[],'undos':[]};};this[_0xa8f23e(0x341)]['forEach']((_0x1cf89b,_0x759788)=>{const _0x1450d9=_0xa8f23e,{range:_0x299365,sheetID:_0x3b40f1}=_0x1cf89b,_0x51c3c3=this[_0x1450d9(0x683)][_0x1450d9(0x4e0)](_0x299365,_0x5b2d3a=>(_0x51c3c3[_0x1450d9(0x67e)](),_0x580982(_0x5b2d3a,_0x759788,_0x3b40f1,_0x299365)));_0x3dbc72[_0x1450d9(0x607)](_0x51c3c3);});};this[_0x4d2738(0x206)](_0x10122e[_0x4d2738(0x305)](this['_cursorInfo$'][_0x4d2738(0x40f)](()=>{_0x5822e6();})));}[_0x270b48(0x657)](){const _0x2ee9c5=_0x270b48;var _0x5a75db,_0x2a13e6;if(this[_0x2ee9c5(0x5a8)]=!0x0,((_0x5a75db=this[_0x2ee9c5(0x3d7)][_0x2ee9c5(0x446)]())==null?void 0x0:_0x5a75db['getUnitId']())!==this[_0x2ee9c5(0x224)])return;const _0x33a4b8=(_0x2a13e6=this[_0x2ee9c5(0x358)]['get'](_0x43d50e[_0x2ee9c5(0x524)])[_0x2ee9c5(0x2fc)]())==null?void 0x0:_0x2a13e6[0x0],_0x4d03c6=this[_0x2ee9c5(0x3d7)][_0x2ee9c5(0x229)](_0x10122e[_0x2ee9c5(0x348)]['UNIVER_SHEET'])['getActiveSheet']();_0x33a4b8&&_0x4d03c6&&this[_0x2ee9c5(0x5f8)](_0x4d03c6[_0x2ee9c5(0x3c7)](),_0x33a4b8);}[_0x270b48(0x43d)](){this['_online']=!0x1;}};_0x4be124=_0x59c40b([_0x39e771(0x2,_0x10122e[_0x270b48(0x5c7)](_0x10122e[_0x270b48(0x53a)])),_0x39e771(0x3,_0x10122e[_0x270b48(0x5c7)](_0x3e7be0)),_0x39e771(0x4,_0x10122e[_0x270b48(0x5c7)](_0x3ef0c0[_0x270b48(0x610)])),_0x39e771(0x5,_0x10122e[_0x270b48(0x204)]),_0x39e771(0x6,_0x10122e['ICommandService']),_0x39e771(0x7,_0x10122e[_0x270b48(0x5c7)](_0x43d50e[_0x270b48(0x3a8)]))],_0x4be124);var _0x49ccab=Object[_0x270b48(0x29d)],_0x34fd20=Object['getOwnPropertyDescriptor'],_0x21567b=(_0x45ea8c,_0x2dfa76,_0x1d4a17,_0x4d328d)=>{const _0x479f50=_0x270b48;for(var _0x13d84d=_0x4d328d>0x1?void 0x0:_0x4d328d?_0x34fd20(_0x2dfa76,_0x1d4a17):_0x2dfa76,_0x39a0ad=_0x45ea8c[_0x479f50(0x2df)]-0x1,_0x293d60;_0x39a0ad>=0x0;_0x39a0ad--)(_0x293d60=_0x45ea8c[_0x39a0ad])&&(_0x13d84d=(_0x4d328d?_0x293d60(_0x2dfa76,_0x1d4a17,_0x13d84d):_0x293d60(_0x13d84d))||_0x13d84d);return _0x4d328d&&_0x13d84d&&_0x49ccab(_0x2dfa76,_0x1d4a17,_0x13d84d),_0x13d84d;},_0x32dd75=(_0x22d0e1,_0x23cfcf)=>(_0x281e0b,_0x8e3e14)=>_0x23cfcf(_0x281e0b,_0x8e3e14,_0x22d0e1);let _0x4c9228=class extends _0x10122e[_0x270b48(0x332)]{constructor(_0x486140,_0x4c83e2,_0x444506){const _0x5db012=_0x270b48;super(),_0x11da04(this,_0x5db012(0x201),new Map()),_0x11da04(this,_0x5db012(0x53e),new _0x43beed[(_0x5db012(0x69a))]()),(this[_0x5db012(0x3d7)]=_0x486140,this[_0x5db012(0x358)]=_0x4c83e2,this[_0x5db012(0x50f)]=_0x444506,this[_0x5db012(0x46f)]());}[_0x270b48(0x67e)](){const _0x302e9a=_0x270b48;super[_0x302e9a(0x67e)](),this[_0x302e9a(0x53e)][_0x302e9a(0x479)](),this['_entities'][_0x302e9a(0x4bd)](_0x44428d=>_0x44428d['dispose']());}[_0x270b48(0x405)](_0x3c2993){const _0x370485=_0x270b48;return this[_0x370485(0x201)]['has'](_0x3c2993)?this[_0x370485(0x201)][_0x370485(0x56f)](_0x3c2993)[_0x370485(0x4fe)]:this[_0x370485(0x53e)][_0x370485(0x3fb)](_0x43beed['filter'](_0x5dcdae=>_0x5dcdae[_0x370485(0x224)]===_0x3c2993),_0x43beed[_0x370485(0x2f7)](_0x50c24d=>_0x50c24d[_0x370485(0x4fe)]));}[_0x270b48(0x46f)](){const _0x1e73ff=_0x270b48;this[_0x1e73ff(0x3d7)][_0x1e73ff(0x3cc)](_0x10122e[_0x1e73ff(0x348)][_0x1e73ff(0x4e9)])[_0x1e73ff(0x3fb)](_0x43beed['takeUntil'](this[_0x1e73ff(0x488)]))['subscribe'](async _0x4d5096=>{const _0x4ad372=_0x1e73ff,_0x48904b=_0x4d5096['getUnitId'](),_0x5310a9=await this['_startSheetCollabCursor'](_0x48904b);this[_0x4ad372(0x53e)]['next'](_0x5310a9),this[_0x4ad372(0x201)][_0x4ad372(0x472)](_0x48904b,_0x5310a9);}),this[_0x1e73ff(0x3d7)]['getTypeOfUnitAdded$'](_0x10122e[_0x1e73ff(0x348)][_0x1e73ff(0x414)])[_0x1e73ff(0x3fb)](_0x43beed[_0x1e73ff(0x57a)](this[_0x1e73ff(0x488)]))[_0x1e73ff(0x3fb)](_0x43beed[_0x1e73ff(0x4d0)](_0x10c322=>!_0x10c322[_0x1e73ff(0x337)]()[_0x1e73ff(0x623)]('__')))['subscribe'](async _0x3f0704=>{const _0x14bf6b=_0x1e73ff,_0x213234=_0x3f0704[_0x14bf6b(0x337)](),_0x1b3103=await this['_startDocCollabCursor'](_0x213234);this[_0x14bf6b(0x53e)][_0x14bf6b(0x299)](_0x1b3103),this[_0x14bf6b(0x201)][_0x14bf6b(0x472)](_0x213234,_0x1b3103);}),_0x43beed[_0x1e73ff(0x1f9)](this[_0x1e73ff(0x3d7)][_0x1e73ff(0x1d5)](_0x10122e['UniverInstanceType'][_0x1e73ff(0x414)]),this[_0x1e73ff(0x3d7)][_0x1e73ff(0x1d5)](_0x10122e[_0x1e73ff(0x348)]['UNIVER_SHEET']))[_0x1e73ff(0x3fb)](_0x43beed[_0x1e73ff(0x57a)](this[_0x1e73ff(0x488)]))[_0x1e73ff(0x40f)](_0x16c2b1=>{const _0x151621=_0x1e73ff,_0x5af7e=_0x16c2b1[_0x151621(0x337)](),_0x7a19fe=this['_entities'][_0x151621(0x56f)](_0x5af7e);_0x7a19fe&&(_0x7a19fe['dispose'](),this['_entities'][_0x151621(0x48d)](_0x5af7e));});}async[_0x270b48(0x4d3)](_0x3541de){const _0x1879f0=_0x270b48,_0x320c9b=await this[_0x1879f0(0x50f)][_0x1879f0(0x38a)](_0x3541de),_0x10135b=this[_0x1879f0(0x358)][_0x1879f0(0x624)](_0x4be124,_0x3541de,_0x320c9b);return _0x10135b['init'](),_0x10135b;}async[_0x270b48(0x41d)](_0x510090){const _0x7904e1=_0x270b48,_0x4b1db2=await this['_collabSessionService'][_0x7904e1(0x38a)](_0x510090),_0xf8d8c1=this[_0x7904e1(0x358)][_0x7904e1(0x624)](_0x41c72b,_0x510090,_0x4b1db2);return _0xf8d8c1[_0x7904e1(0x24f)](),_0xf8d8c1;}};_0x4c9228=_0x21567b([_0x32dd75(0x0,_0x10122e['IUniverInstanceService']),_0x32dd75(0x1,_0x10122e[_0x270b48(0x5c7)](_0x10122e[_0x270b48(0x53a)])),_0x32dd75(0x2,_0x10122e[_0x270b48(0x5c7)](_0x3ef0c0[_0x270b48(0x5ae)]))],_0x4c9228);const _0x5005e7=0x14,_0x22b1c6=0xc8,_0x48331a=0x4,_0xf6ac91=0x5;function _0x59d148(_0x13bb31,_0x200b78){const _0x403d46=_0x270b48;let {radius:_0xec8247,width:_0x3b34fa,height:_0x10c5c6}=_0x200b78;_0xec8247=_0xec8247!=null?_0xec8247:0x0,_0x3b34fa=_0x3b34fa!=null?_0x3b34fa:0x1e,_0x10c5c6=_0x10c5c6!=null?_0x10c5c6:0x1e;let _0x11478c=0x0,_0x11c761=0x0,_0x240754=0x0;_0x11478c=_0x11c761=_0x240754=Math[_0x403d46(0x55e)](_0xec8247,_0x3b34fa/0x2,_0x10c5c6/0x2),_0x13bb31['beginPath'](),_0x13bb31[_0x403d46(0x519)](_0x11478c,0x0),_0x13bb31[_0x403d46(0x2ef)](_0x3b34fa-_0x11c761,0x0),_0x13bb31[_0x403d46(0x349)](_0x3b34fa-_0x11c761,_0x11c761,_0x11c761,Math['PI']*0x3/0x2,0x0,!0x1),_0x13bb31[_0x403d46(0x2ef)](_0x3b34fa,_0x10c5c6-_0x240754),_0x13bb31[_0x403d46(0x349)](_0x3b34fa-_0x240754,_0x10c5c6-_0x240754,_0x240754,0x0,Math['PI']/0x2,!0x1),_0x13bb31['lineTo'](0x0,_0x10c5c6),_0x13bb31[_0x403d46(0x2ef)](0x0,_0x11478c),_0x13bb31[_0x403d46(0x349)](_0x11478c,_0x11478c,_0x11478c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x13bb31[_0x403d46(0x45f)](),_0x200b78[_0x403d46(0x498)]&&(_0x13bb31[_0x403d46(0x379)](),_0x13bb31[_0x403d46(0x481)]=_0x200b78['fill'],_0x200b78[_0x403d46(0x65f)]==='evenodd'?_0x13bb31[_0x403d46(0x498)](_0x403d46(0x242)):_0x13bb31[_0x403d46(0x498)](),_0x13bb31[_0x403d46(0x577)]());}class _0x255523 extends _0x3d8481[_0x270b48(0x608)]{constructor(_0x569a77,_0x404bab){const _0x38eaa0=_0x270b48;super(_0x569a77,_0x404bab),_0x11da04(this,_0x38eaa0(0x39a)),_0x11da04(this,'text'),(this[_0x38eaa0(0x39a)]=_0x404bab==null?void 0x0:_0x404bab['color'],this[_0x38eaa0(0x2c9)]=_0x404bab==null?void 0x0:_0x404bab[_0x38eaa0(0x2c9)]);}static[_0x270b48(0x3ce)](_0x16d60d,_0x2fadcd){const _0x5b6631=_0x270b48,{text:_0x141e3b,color:_0xcb2301}=_0x2fadcd;_0x16d60d['save'](),_0x16d60d[_0x5b6631(0x3fe)]=_0x5b6631(0x692);const _0x14fe44=_0x16d60d[_0x5b6631(0x23b)](_0x141e3b)[_0x5b6631(0x23f)],_0x40d127=Math['min'](_0x14fe44+0x2*_0x48331a,_0x22b1c6);_0x59d148(_0x16d60d,{'height':_0x5005e7,'radius':0x4,'width':_0x40d127,'fill':_0xcb2301,'evented':!0x1}),_0x16d60d['fillStyle']=_0x5b6631(0x317);const _0x2ef742=_0x48331a,_0x1289e3=_0x5005e7-_0xf6ac91,_0x2e8c91=_0x22b1c6-0x2*_0x48331a;if(_0x14fe44>_0x2e8c91){let _0x4f0074='',_0x58d649=0x0;for(const _0x16def8 of _0x141e3b){const _0x13bd7b=_0x16d60d[_0x5b6631(0x23b)](_0x16def8)[_0x5b6631(0x23f)];if(_0x58d649+_0x13bd7b<=_0x2e8c91-_0x16d60d[_0x5b6631(0x23b)](_0x5b6631(0x672))['width'])_0x4f0074+=_0x16def8,_0x58d649+=_0x13bd7b;else{_0x4f0074+=_0x5b6631(0x672);break;}}_0x16d60d[_0x5b6631(0x2cf)](_0x4f0074,_0x2ef742,_0x1289e3);}else _0x16d60d[_0x5b6631(0x2cf)](_0x141e3b,_0x2ef742,_0x1289e3);_0x16d60d['restore']();}[_0x270b48(0x5a6)](_0x2652c4){const _0x44d911=_0x270b48;_0x255523[_0x44d911(0x3ce)](_0x2652c4,this);}}const _0xb3b486='collab-text-anchor-',_0x143ce3=_0x270b48(0x3e7),_0x1c076f=_0x270b48(0x3c2),_0x3cebee=0x6,_0x25d78f=1.5,_0x2c4d40=0x4,_0x1b8e79=1.5,_0x3844e1='rgba(255,\x20255,\x20255,\x200.01)';class _0x16dce4{constructor(_0x26b317,_0x26e3d5,_0x396645,_0x1b4e54){const _0x122d89=_0x270b48;_0x11da04(this,_0x122d89(0x3f5),[]),_0x11da04(this,_0x122d89(0x33d),null),_0x11da04(this,'_textBubble',null),_0x11da04(this,_0x122d89(0x306),null),_0x11da04(this,_0x122d89(0x5b3),null),_0x11da04(this,_0x122d89(0x513),null),(this[_0x122d89(0x2f1)]=_0x26b317,this['_scene']=_0x26e3d5,this[_0x122d89(0x2c2)]=_0x396645,this[_0x122d89(0x2b0)]=_0x1b4e54,this[_0x122d89(0x433)]());}set[_0x270b48(0x511)](_0xf42ea8){const _0x1d968e=_0x270b48;_0xf42ea8?(this[_0x1d968e(0x306)]&&this[_0x1d968e(0x306)][_0x1d968e(0x4f5)](),this[_0x1d968e(0x675)]&&this['_textBubble'][_0x1d968e(0x36c)]()):(this['_anchorDot']&&this['_anchorDot']['show'](),this[_0x1d968e(0x675)]&&this[_0x1d968e(0x675)][_0x1d968e(0x4f5)]());}[_0x270b48(0x67e)](){const _0x378f39=_0x270b48;for(const _0x3d2819 of this['_shapes'])_0x3d2819[_0x378f39(0x67e)]();this[_0x378f39(0x675)]&&this[_0x378f39(0x675)][_0x378f39(0x67e)](),this[_0x378f39(0x306)]&&this[_0x378f39(0x306)]['dispose'](),this[_0x378f39(0x33d)]&&this[_0x378f39(0x33d)][_0x378f39(0x67e)](),this[_0x378f39(0x513)]&&this[_0x378f39(0x513)]();}[_0x270b48(0x433)](){const _0x4fc1d1=_0x270b48;var _0x1cbde8;const {_docSkeleton:_0x1a24e2,_document:_0x40ef7b}=this,{color:_0x2537d0,name:_0x14ef84,ranges:_0x1ab3bc}=this['_cursor'],_0xf16ef8=_0x40ef7b[_0x4fc1d1(0x5cd)](),{docsLeft:_0x5b66b9,docsTop:_0x42e71b}=_0xf16ef8,_0x58e8c3=new _0x427cca[(_0x4fc1d1(0x2b6))](_0xf16ef8,_0x1a24e2);for(const {startOffset:_0x5cc9a9,endOffset:_0x12ca71,rangeType:_0x2bd9f7,segmentId:_0x4bc47c,segmentPage:_0x3d3cb4,collapsed:_0x1acdcc,isActive:_0x277d27}of _0x1ab3bc){const _0x48242d=_0x1a24e2[_0x4fc1d1(0x210)](_0x5cc9a9,!0x0,_0x4bc47c,_0x3d3cb4);let _0x3da016=_0x1a24e2[_0x4fc1d1(0x210)](_0x12ca71,!0x0,_0x4bc47c,_0x3d3cb4);if(_0x3da016==null&&(_0x3da016=_0x1a24e2[_0x4fc1d1(0x210)](_0x12ca71-0x1,!0x1,_0x4bc47c,_0x3d3cb4)),_0x277d27){const {contentBoxPointGroup:_0x51d399}=_0x58e8c3[_0x4fc1d1(0x48a)](_0x3da016,_0x3da016);if(_0x51d399[_0x4fc1d1(0x2df)]===0x0)continue;this['_drawAnchor'](_0x2537d0,_0x51d399,_0x5b66b9,_0x42e71b,_0x14ef84),this[_0x4fc1d1(0x513)]=this[_0x4fc1d1(0x59c)]();}if(!_0x1acdcc&&_0x48242d&&_0x3da016){if(_0x2bd9f7===_0x10122e[_0x4fc1d1(0x266)][_0x4fc1d1(0x202)]){const _0x340206=new _0x427cca[(_0x4fc1d1(0x1ff))](_0xf16ef8,_0x1a24e2),{pointGroup:_0x3af850}=(_0x1cbde8=_0x340206[_0x4fc1d1(0x48a)](_0x48242d,_0x3da016))!=null?_0x1cbde8:{};if(_0x3af850==null||_0x3af850[_0x4fc1d1(0x2df)]===0x0)continue;this[_0x4fc1d1(0x455)](_0x2537d0,_0x3af850,_0x5b66b9,_0x42e71b);}else{const {borderBoxPointGroup:_0x36d8d4}=_0x58e8c3[_0x4fc1d1(0x48a)](_0x48242d,_0x3da016);if(_0x36d8d4['length']===0x0)continue;this[_0x4fc1d1(0x66d)](_0x2537d0,_0x36d8d4,_0x5b66b9,_0x42e71b);}}}}[_0x270b48(0x311)](_0x573534,_0x380a6d,_0x67003e,_0x987959,_0x3fe4db){const _0x4c0516=_0x270b48,_0x4060a5=this[_0x4c0516(0x1fb)](_0x380a6d),{left:_0x3e9440,top:_0x3b9af5,height:_0x4ab9fb}=_0x4060a5,_0x4562e4=this['_getScale'](),_0x8a1ed5=_0x1b8e79/_0x4562e4,_0x4cae29=new _0x3d8481['Rect'](_0xb3b486+_0x10122e[_0x4c0516(0x3bf)][_0x4c0516(0x419)](_0x3cebee),{'left':_0x3e9440+_0x67003e-_0x8a1ed5,'top':_0x3b9af5+_0x987959,'height':_0x4ab9fb,'width':_0x25d78f,'fill':_0x573534||_0x3d8481[_0x4c0516(0x397)](_0x10122e[_0x4c0516(0x58b)][_0x4c0516(0x4ae)],0x0),'strokeWidth':_0x8a1ed5,'stroke':_0x3844e1,'evented':!0x0});this[_0x4c0516(0x33d)]=_0x4cae29,this['_scene']['addObject'](_0x4cae29,_0x427cca['TEXT_RANGE_LAYER_INDEX']);const _0x5d6176=new _0x3d8481['Rect'](_0xb3b486+_0x10122e[_0x4c0516(0x3bf)][_0x4c0516(0x419)](_0x3cebee),{'left':_0x3e9440+_0x67003e-_0x8a1ed5,'top':_0x3b9af5+_0x987959-_0x2c4d40/0x2,'height':_0x2c4d40,'width':_0x2c4d40,'fill':_0x573534||_0x3d8481[_0x4c0516(0x397)](_0x10122e[_0x4c0516(0x58b)][_0x4c0516(0x4ae)],0x0),'strokeWidth':0x0,'stroke':_0x573534||_0x3d8481['getColor'](_0x10122e[_0x4c0516(0x58b)][_0x4c0516(0x4ae)],0x0),'evented':!0x1});this[_0x4c0516(0x306)]=_0x5d6176,this[_0x4c0516(0x4fa)][_0x4c0516(0x449)](_0x5d6176,_0x427cca['TEXT_RANGE_LAYER_INDEX']);const _0x17c972=new _0x255523(_0xb3b486+_0x10122e[_0x4c0516(0x3bf)][_0x4c0516(0x419)](_0x3cebee),{'left':_0x3e9440+_0x67003e-_0x8a1ed5,'top':_0x3b9af5+_0x987959-_0x5005e7,'text':_0x3fe4db,'color':_0x573534});this['_textBubble']=_0x17c972,this[_0x4c0516(0x4fa)][_0x4c0516(0x449)](_0x17c972,_0x427cca['TEXT_RANGE_LAYER_INDEX']),this[_0x4c0516(0x511)]=!0x1;}[_0x270b48(0x59c)](){const _0x421092=_0x270b48,_0x1057e5=this[_0x421092(0x33d)][_0x421092(0x46c)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x47aafd=this[_0x421092(0x33d)][_0x421092(0x597)][_0x421092(0x3a1)](()=>{const _0x2c8747=_0x421092;this[_0x2c8747(0x5b3)]&&clearTimeout(this[_0x2c8747(0x5b3)]),this[_0x2c8747(0x5b3)]=setTimeout(()=>{const _0x52546f=_0x2c8747;this[_0x52546f(0x511)]=!0x1;},0x7d0);});return()=>{const _0x162f8a=_0x421092;_0x1057e5[_0x162f8a(0x4d1)](),_0x47aafd[_0x162f8a(0x4d1)]();};}[_0x270b48(0x66d)](_0x1354d0,_0x1a82db,_0x246770,_0x188015){const _0x388fad=_0x270b48,_0x1e7c7e=new _0x10122e[(_0x388fad(0x58e))](_0x1354d0)[_0x388fad(0x2c4)](0.2)['toRgbString'](),_0x16b7bb=new _0x3d8481['RegularPolygon'](_0x143ce3+_0x10122e[_0x388fad(0x3bf)][_0x388fad(0x419)](_0x3cebee),{'pointsGroup':_0x1a82db,'fill':_0x1e7c7e||_0x3d8481[_0x388fad(0x397)](_0x10122e[_0x388fad(0x58b)][_0x388fad(0x4ae)],0.2),'left':_0x246770,'top':_0x188015,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x388fad(0x28f)](_0x16b7bb),this['_scene'][_0x388fad(0x449)](_0x16b7bb,_0x427cca[_0x388fad(0x44e)]);}['_drawRectRange'](_0x28d610,_0x544e90,_0x12e936,_0x5f00c9){const _0x21fe50=_0x270b48,_0x150efe=new _0x10122e[(_0x21fe50(0x58e))](_0x28d610)['setAlpha'](0.2)[_0x21fe50(0x39b)](),_0xd28414=new _0x3d8481['RegularPolygon'](_0x1c076f+_0x10122e[_0x21fe50(0x3bf)][_0x21fe50(0x419)](_0x3cebee),{'pointsGroup':_0x544e90,'fill':_0x150efe||_0x3d8481[_0x21fe50(0x397)](_0x10122e['COLORS'][_0x21fe50(0x4ae)],0.2),'left':_0x12e936,'top':_0x5f00c9,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x21fe50(0x3f5)]['push'](_0xd28414),this[_0x21fe50(0x4fa)][_0x21fe50(0x449)](_0xd28414,_0x427cca[_0x21fe50(0x44e)]);}['_getAnchorBounding'](_0xb3e063){const _0x7c50d=_0xb3e063[0x0],_0x2873de=_0x7c50d[0x0],_0xe624c0=_0x7c50d[0x2],{x:_0x3a214e,y:_0x57e301}=_0x2873de,{x:_0x22b0fa,y:_0x227516}=_0xe624c0;return{'left':_0x3a214e,'top':_0x57e301,'width':_0x22b0fa-_0x3a214e,'height':_0x227516-_0x57e301};}[_0x270b48(0x4c9)](){const _0xfdf554=_0x270b48,{scaleX:_0x5b67e1,scaleY:_0x32d403}=this[_0xfdf554(0x4fa)][_0xfdf554(0x35b)]();return Math['max'](_0x5b67e1,_0x32d403);}}var _0x8297b8=Object['defineProperty'],_0x23c891=Object['getOwnPropertyDescriptor'],_0x204330=(_0x1e1f74,_0x31e404,_0x4167dc,_0x3f22dd)=>{const _0x12ee0f=_0x270b48;for(var _0x350db0=_0x3f22dd>0x1?void 0x0:_0x3f22dd?_0x23c891(_0x31e404,_0x4167dc):_0x31e404,_0x4a0143=_0x1e1f74[_0x12ee0f(0x2df)]-0x1,_0x54d8a6;_0x4a0143>=0x0;_0x4a0143--)(_0x54d8a6=_0x1e1f74[_0x4a0143])&&(_0x350db0=(_0x3f22dd?_0x54d8a6(_0x31e404,_0x4167dc,_0x350db0):_0x54d8a6(_0x350db0))||_0x350db0);return _0x3f22dd&&_0x350db0&&_0x8297b8(_0x31e404,_0x4167dc,_0x350db0),_0x350db0;},_0x98baea=(_0x4c1fc6,_0x14a3c6)=>(_0x53ff5c,_0x3252e9)=>_0x14a3c6(_0x53ff5c,_0x3252e9,_0x4c1fc6);let _0x33ba76=class extends _0x10122e[_0x270b48(0x332)]{constructor(_0x5a9e73,_0x1c0de3,_0x1e86d9,_0x2f9938,_0x8c2fb9){const _0x2cf36c=_0x270b48;super(),_0x11da04(this,_0x2cf36c(0x1d3),[]),_0x11da04(this,_0x2cf36c(0x5fe),[]),(this['_context']=_0x5a9e73,this[_0x2cf36c(0x2e6)]=_0x1c0de3,this['_collabCursorController']=_0x1e86d9,this['_commandService']=_0x2f9938,this[_0x2cf36c(0x495)]=_0x8c2fb9,this[_0x2cf36c(0x46f)]());}[_0x270b48(0x46f)](){const _0x5e2864=_0x270b48,_0x2c091f=this['_context'][_0x5e2864(0x3d3)],_0x407542=this[_0x5e2864(0x2e6)];this[_0x5e2864(0x206)](_0x43beed[_0x5e2864(0x5ff)]([this[_0x5e2864(0x364)][_0x5e2864(0x405)](_0x2c091f),this['_themeService'][_0x5e2864(0x310)]])[_0x5e2864(0x3fb)](_0x107fd5[_0x5e2864(0x60f)](([_0xebdf9c,_0x4d4016])=>({'skeleton':_0x407542[_0x5e2864(0x5eb)](),'cursors':[..._0xebdf9c['values']()]['flatMap'](_0x32f20a=>({..._0x32f20a,'color':_0x4d4016[_0x32f20a[_0x5e2864(0x39a)]]}))})))[_0x5e2864(0x40f)](_0x364efd=>{const _0x35da42=_0x5e2864;if(this[_0x35da42(0x274)](),_0x364efd){const {skeleton:_0x9dc948,cursors:_0x40ced8}=_0x364efd;this['_updateCollabCursors'](_0x9dc948,_0x40ced8);}})),this['_initResize'](),this[_0x5e2864(0x50b)]();}[_0x270b48(0x31e)](_0x3cd915,_0x34441e){const _0x1214ff=_0x270b48,{scene:_0x2e0774,mainComponent:_0x2634aa}=this[_0x1214ff(0x22e)],_0xe24c60=_0x34441e[_0x1214ff(0x60f)](_0x3a2792=>new _0x16dce4(_0x3a2792,_0x2e0774,_0x3cd915,_0x2634aa));this[_0x1214ff(0x1d3)]=_0xe24c60,this[_0x1214ff(0x5fe)]=_0x34441e;}[_0x270b48(0x5b7)](){const _0x3fc0c3=_0x270b48;this[_0x3fc0c3(0x274)]();const {scene:_0x1798dc,mainComponent:_0x68462a}=this['_context'],_0x5392b8=this[_0x3fc0c3(0x2e6)][_0x3fc0c3(0x5eb)](),_0x31c71c=this['_cursors'][_0x3fc0c3(0x60f)](_0x305737=>new _0x16dce4(_0x305737,_0x1798dc,_0x5392b8,_0x68462a));this[_0x3fc0c3(0x1d3)]=_0x31c71c;}[_0x270b48(0x274)](){const _0x4cdf1d=_0x270b48;this[_0x4cdf1d(0x1d3)][_0x4cdf1d(0x4bd)](_0x57fe1f=>_0x57fe1f[_0x4cdf1d(0x67e)]()),this['_cursorShapes']=[];}[_0x270b48(0x50b)](){const _0x28c435=_0x270b48,_0x2dc7b7=[_0x427cca[_0x28c435(0x47e)]['id']];this[_0x28c435(0x206)](this[_0x28c435(0x4ce)][_0x28c435(0x32f)](_0x5cb254=>{const _0x374de8=_0x28c435;_0x2dc7b7[_0x374de8(0x68d)](_0x5cb254['id'])&&_0x5cb254[_0x374de8(0x4ef)][_0x374de8(0x3d3)]===this['_context']['unitId']&&this[_0x374de8(0x5b7)]();}));}['_initResize'](){const _0x267e90=_0x270b48;this[_0x267e90(0x206)](_0x10122e['fromEventSubject'](this[_0x267e90(0x22e)][_0x267e90(0x35a)][_0x267e90(0x429)])[_0x267e90(0x3fb)](_0x107fd5['filter'](_0x4829fb=>_0x4829fb[_0x267e90(0x21d)]===_0x3d8481[_0x267e90(0x2c5)][_0x267e90(0x604)]),_0x107fd5[_0x267e90(0x5ee)](0x10))['subscribe'](()=>{const _0x56ec0f=_0x267e90;this[_0x56ec0f(0x5b7)]();}));}};_0x33ba76=_0x204330([_0x98baea(0x1,_0x10122e[_0x270b48(0x5c7)](_0x48121f[_0x270b48(0x5ef)])),_0x98baea(0x2,_0x10122e[_0x270b48(0x5c7)](_0x4c9228)),_0x98baea(0x3,_0x10122e[_0x270b48(0x1e0)]),_0x98baea(0x4,_0x10122e[_0x270b48(0x5c7)](_0x10122e[_0x270b48(0x2d8)]))],_0x33ba76);const _0x5e2ea9=0x1,_0x5cb35b=1.5;class _0x4108d3 extends _0x3d8481[_0x270b48(0x608)]{constructor(_0x5c6e02,_0x489ced){const _0x30e47f=_0x270b48;super(_0x5c6e02,_0x489ced),_0x11da04(this,'_color'),_0x11da04(this,_0x30e47f(0x473),!0x1),_0x11da04(this,_0x30e47f(0x20e)),_0x11da04(this,'_name',''),_0x11da04(this,'_labelPosition',_0x30e47f(0x5af)),_0x11da04(this,_0x30e47f(0x5cb)),(_0x489ced&&this[_0x30e47f(0x2e8)](_0x489ced),this['onPointerEnter$']['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x30e47f(0x597)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x5a299e){const _0x4fde4e=_0x270b48;var _0x458868,_0xd228f8,_0x41c698,_0xb07e28,_0x3c953a,_0x529b49;this[_0x4fde4e(0x546)]=(_0x458868=_0x5a299e['color'])!=null?_0x458868:this[_0x4fde4e(0x546)],this['_hovered']=(_0xd228f8=_0x5a299e[_0x4fde4e(0x1ed)])!=null?_0xd228f8:this[_0x4fde4e(0x473)],this[_0x4fde4e(0x20e)]=(_0x41c698=_0x5a299e[_0x4fde4e(0x32a)])!=null?_0x41c698:this[_0x4fde4e(0x20e)],this['_name']=(_0xb07e28=_0x5a299e[_0x4fde4e(0x27e)])!=null?_0xb07e28:this[_0x4fde4e(0x4e7)],this[_0x4fde4e(0x531)]=(_0x3c953a=_0x5a299e[_0x4fde4e(0x57d)])!=null?_0x3c953a:this[_0x4fde4e(0x531)],this[_0x4fde4e(0x5cb)]=(_0x529b49=_0x5a299e[_0x4fde4e(0x5a4)])!=null?_0x529b49:this[_0x4fde4e(0x5cb)],this[_0x4fde4e(0x65e)]({'width':_0x5a299e[_0x4fde4e(0x23f)],'height':_0x5a299e[_0x4fde4e(0x541)]});}[_0x270b48(0x418)](_0x510cb2){const _0x4b0f1f=_0x270b48,{row:_0x3c1827,column:_0xf552a1}=_0x510cb2;if(_0x3c1827>=this['_range'][_0x4b0f1f(0x3ca)]&&_0x3c1827<=this[_0x4b0f1f(0x20e)]['endRow']&&_0xf552a1>=this[_0x4b0f1f(0x20e)][_0x4b0f1f(0x57c)]&&_0xf552a1<=this[_0x4b0f1f(0x20e)][_0x4b0f1f(0x4d9)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x4b0f1f(0x2e8)]({'hovered':!0x1});}[_0x270b48(0x3b9)](_0x351a36){return!0x1;}['_draw'](_0x1cb46a){const _0x5df3cb=_0x270b48;_0x3d8481['Rect'][_0x5df3cb(0x3ce)](_0x1cb46a,{'width':this[_0x5df3cb(0x23f)],'height':this['height'],'strokeWidth':_0x5cb35b,'stroke':this[_0x5df3cb(0x546)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x5df3cb(0x473)]&&(_0x1cb46a[_0x5df3cb(0x379)](),_0x1cb46a[_0x5df3cb(0x667)](0x1,0x0,0x0,0x1,this[_0x5df3cb(0x23f)],this['_labelPosition']===_0x5df3cb(0x392)?0x0:-_0x5005e7),_0x255523[_0x5df3cb(0x3ce)](_0x1cb46a,{'text':this[_0x5df3cb(0x4e7)],'color':this[_0x5df3cb(0x546)]}),_0x1cb46a[_0x5df3cb(0x577)]());}}var _0x1fee37=Object[_0x270b48(0x29d)],_0x46fee5=Object[_0x270b48(0x255)],_0x5883b7=(_0x2b52ba,_0x118edb,_0x60a697,_0x5a4321)=>{const _0x27e138=_0x270b48;for(var _0x20be25=_0x5a4321>0x1?void 0x0:_0x5a4321?_0x46fee5(_0x118edb,_0x60a697):_0x118edb,_0x114979=_0x2b52ba[_0x27e138(0x2df)]-0x1,_0x4a7d1e;_0x114979>=0x0;_0x114979--)(_0x4a7d1e=_0x2b52ba[_0x114979])&&(_0x20be25=(_0x5a4321?_0x4a7d1e(_0x118edb,_0x60a697,_0x20be25):_0x4a7d1e(_0x20be25))||_0x20be25);return _0x5a4321&&_0x20be25&&_0x1fee37(_0x118edb,_0x60a697,_0x20be25),_0x20be25;},_0x46d9aa=(_0x15130f,_0x171da6)=>(_0x52baee,_0x593d01)=>_0x171da6(_0x52baee,_0x593d01,_0x15130f);const _0x174806=0x1389;let _0xe5a2cc=class extends _0x10122e[_0x270b48(0x332)]{constructor(_0x4fe614,_0x45c519,_0x2b7f01,_0x1016e8){const _0x2afc96=_0x270b48;super(),_0x11da04(this,_0x2afc96(0x5fe),new Set()),_0x11da04(this,_0x2afc96(0x37d),null),(this[_0x2afc96(0x22e)]=_0x4fe614,this['_sheetSkeletonManagerService']=_0x45c519,this['_collabCursorController']=_0x2b7f01,this[_0x2afc96(0x495)]=_0x1016e8,this[_0x2afc96(0x46f)]());}['_init'](){const _0x33c79a=_0x270b48;this[_0x33c79a(0x344)][_0x33c79a(0x5dc)][_0x33c79a(0x3fb)](_0x107fd5[_0x33c79a(0x57a)](this['dispose$']),_0x107fd5[_0x33c79a(0x2f7)](_0x109e64=>{const _0x576b96=_0x33c79a;if(_0x109e64){const _0x330212=_0x109e64[_0x576b96(0x602)];return _0x43beed[_0x576b96(0x5ff)](this[_0x576b96(0x364)][_0x576b96(0x405)](this[_0x576b96(0x22e)]['unitId']),this[_0x576b96(0x495)][_0x576b96(0x310)])[_0x576b96(0x3fb)](_0x107fd5['map'](([_0x3c8ebb,_0x5da2c7])=>{const _0x124a5f=_0x576b96,_0x523430=new Map();return _0x3c8ebb[_0x124a5f(0x4bd)]((_0x176247,_0x5d896e)=>{const _0x3ca5ea=_0x124a5f;if(_0x176247[_0x3ca5ea(0x557)]===_0x330212){const _0x1ef9ec={..._0x176247};_0x1ef9ec[_0x3ca5ea(0x39a)]=_0x5da2c7[_0x176247['color']],_0x523430[_0x3ca5ea(0x472)](_0x5d896e,_0x1ef9ec);}}),{'skeleton':_0x109e64,'cursors':_0x523430};}));}return _0x43beed['of']({'skeleton':null,'cursors':new Map()});}))[_0x33c79a(0x40f)](({skeleton:_0x17c989,cursors:_0x33f975})=>{const _0x4929c3=_0x33c79a;this[_0x4929c3(0x274)](),_0x17c989&&this[_0x4929c3(0x31e)](_0x17c989,_0x33f975);}),this[_0x33c79a(0x344)][_0x33c79a(0x5dc)][_0x33c79a(0x40f)](_0x408720=>{const _0x5305cb=_0x33c79a;if(_0x408720==null)return;const {skeleton:_0x310ed7}=_0x408720,{scene:_0x219e42}=this[_0x5305cb(0x22e)];_0x219e42[_0x5305cb(0x609)][_0x5305cb(0x3a1)](_0x10122e[_0x5305cb(0x5ce)](_0x6e293e=>{const _0x567c3=_0x5305cb;var _0x690407,_0x2c7440;const {offsetX:_0x766cb3,offsetY:_0x4f279b}=_0x6e293e,{x:_0x283538,y:_0x42bcd5}=_0x219e42[_0x567c3(0x664)](_0x3d8481[_0x567c3(0x68e)][_0x567c3(0x49e)]([_0x766cb3,_0x4f279b])),{scaleX:_0x955778,scaleY:_0x2e9a06}=_0x219e42[_0x567c3(0x35b)](),_0x24ca9b=_0x219e42[_0x567c3(0x29a)](_0x4a1dc3[_0x567c3(0x22c)][_0x567c3(0x252)]),_0x29cb3a=_0x219e42['getVpScrollXYInfoByPosToVp'](_0x3d8481['Vector2'][_0x567c3(0x49e)]([_0x283538,_0x42bcd5]),_0x24ca9b),_0x4c4134=_0x310ed7['getCellPositionByOffset'](_0x766cb3,_0x4f279b,_0x955778,_0x2e9a06,_0x29cb3a);((_0x690407=this['_lastPointer'])==null?void 0x0:_0x690407[_0x567c3(0x3f7)])===_0x4c4134[_0x567c3(0x3f7)]&&((_0x2c7440=this[_0x567c3(0x37d)])==null?void 0x0:_0x2c7440[_0x567c3(0x209)])===_0x4c4134[_0x567c3(0x209)]||this['_cursors'][_0x567c3(0x4bd)](_0x41edd0=>{const _0x39b4fa=_0x567c3;_0x41edd0[_0x39b4fa(0x418)](_0x4c4134);});},0x64));});}[_0x270b48(0x31e)](_0x1e039e,_0x72ab12){const _0x13a8d9=_0x270b48;var _0x3e229e;const _0x4bb0af=(_0x3e229e=this[_0x13a8d9(0x344)]['getCurrent']())==null?void 0x0:_0x3e229e[_0x13a8d9(0x3ef)];if(!_0x4bb0af)return;const _0xbe2308=this[_0x13a8d9(0x67a)]();if(!_0xbe2308)return;this[_0x13a8d9(0x5fe)][_0x13a8d9(0x4bd)](_0x5c06f5=>{const _0x50ab7c=_0x13a8d9;_0x5c06f5[_0x50ab7c(0x662)]();});const {scene:_0x233d76}=_0xbe2308,_0x4fe096=_0x141726(Array[_0x13a8d9(0x3b2)](_0x72ab12[_0x13a8d9(0x40e)]()))[_0x13a8d9(0x60f)](_0x5ed52d=>{const _0x59b79e=_0x13a8d9,{color:_0x5cb4e7,range:_0x50caa8,name:_0x26377f,selection:_0xeaadf8,sheetID:_0x1a6006}=_0x5ed52d,{startColumn:_0x4665e4,startRow:_0x47035a,endColumn:_0x11a6d4,endRow:_0xa1e275}=_0x50caa8,_0x54da3f=_0x4a1dc3[_0x59b79e(0x261)](_0x47035a,_0x4665e4,_0x233d76,_0x4bb0af),_0x19d4a5=_0x4a1dc3[_0x59b79e(0x261)](_0xa1e275,_0x11a6d4,_0x233d76,_0x4bb0af),{columnHeaderHeightAndMarginTop:_0x2edc62}=_0x4bb0af,{startX:_0x50d393,startY:_0x1a30bf}=_0x54da3f,{endX:_0x4b118a,endY:_0x29b362}=_0x19d4a5,_0x1bf6eb=_0x4b118a-_0x50d393,_0x5c82d5=_0x29b362-_0x1a30bf,_0x27363c={'labelPosition':_0x1a30bf-_0x2edc62>=_0x5005e7?_0x59b79e(0x5af):_0x59b79e(0x392),'sheetID':_0x1a6006,'range':_0x50caa8,'color':_0x5cb4e7,'name':_0x26377f,'selection':_0xeaadf8,'left':_0x50d393,'top':_0x1a30bf,'width':_0x1bf6eb,'height':_0x5c82d5,'evented':!0x1,'zIndex':_0x174806};return new _0x4108d3(_0x26377f,_0x27363c);});_0x233d76[_0x13a8d9(0x207)](_0x4fe096,_0x5e2ea9),this[_0x13a8d9(0x5fe)]=new Set(_0x4fe096);}[_0x270b48(0x274)](){const _0x52134c=_0x270b48;var _0x5673cb;(_0x5673cb=this['_cursors'])==null||_0x5673cb['forEach'](_0x1a6270=>_0x1a6270[_0x52134c(0x67e)]());}[_0x270b48(0x67a)](){const _0x442b23=_0x270b48;return _0x4a1dc3[_0x442b23(0x407)](this['_context'][_0x442b23(0x5bf)],this[_0x442b23(0x22e)]);}};_0xe5a2cc=_0x5883b7([_0x46d9aa(0x1,_0x10122e[_0x270b48(0x5c7)](_0x4a1dc3[_0x270b48(0x37e)])),_0x46d9aa(0x2,_0x10122e[_0x270b48(0x5c7)](_0x4c9228)),_0x46d9aa(0x3,_0x10122e[_0x270b48(0x5c7)](_0x10122e[_0x270b48(0x2d8)]))],_0xe5a2cc);function _0x141726(_0x46a92f){const _0x5885dc=_0x270b48,_0x134b76=new Map();return _0x46a92f['forEach'](_0x3d5c98=>{const _0x117bdd=_0x5645;if(_0x134b76[_0x117bdd(0x5aa)](_0x3d5c98[_0x117bdd(0x292)])){const _0xa1cc90=_0x134b76[_0x117bdd(0x56f)](_0x3d5c98[_0x117bdd(0x292)]);_0xa1cc90[_0x117bdd(0x27e)]+=',\x20'+_0x3d5c98[_0x117bdd(0x27e)];}else _0x134b76[_0x117bdd(0x472)](_0x3d5c98[_0x117bdd(0x292)],_0x3d5c98);}),Array[_0x5885dc(0x3b2)](_0x134b76['values']());}var _0x7a6336=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x58c50a(_0xed2124){const _0x54ac45=_0x270b48;return _0xed2124&&_0xed2124[_0x54ac45(0x3e2)]&&Object[_0x54ac45(0x27c)]['hasOwnProperty']['call'](_0xed2124,_0x54ac45(0x3e1))?_0xed2124[_0x54ac45(0x3e1)]:_0xed2124;}var _0xb0ba09={'exports':{}},_0x186328={},_0x3ea822=_0x32ddec,_0x444ec1=Symbol[_0x270b48(0x5b6)](_0x270b48(0x260)),_0x12dd40=Symbol[_0x270b48(0x5b6)](_0x270b48(0x5c5)),_0x5389d0=Object['prototype'][_0x270b48(0x33a)],_0x29fe0a=_0x3ea822[_0x270b48(0x59a)]['ReactCurrentOwner'],_0xbd230e={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x26c447(_0x2f409a,_0x3f84ec,_0x42dff1){const _0x3ce369=_0x270b48;var _0x183115,_0x204ad1={},_0x356364=null,_0x126cb2=null;_0x42dff1!==void 0x0&&(_0x356364=''+_0x42dff1),_0x3f84ec[_0x3ce369(0x20c)]!==void 0x0&&(_0x356364=''+_0x3f84ec[_0x3ce369(0x20c)]),_0x3f84ec[_0x3ce369(0x550)]!==void 0x0&&(_0x126cb2=_0x3f84ec[_0x3ce369(0x550)]);for(_0x183115 in _0x3f84ec)_0x5389d0[_0x3ce369(0x27f)](_0x3f84ec,_0x183115)&&!_0xbd230e[_0x3ce369(0x33a)](_0x183115)&&(_0x204ad1[_0x183115]=_0x3f84ec[_0x183115]);if(_0x2f409a&&_0x2f409a[_0x3ce369(0x3fa)]){for(_0x183115 in(_0x3f84ec=_0x2f409a[_0x3ce369(0x3fa)],_0x3f84ec))_0x204ad1[_0x183115]===void 0x0&&(_0x204ad1[_0x183115]=_0x3f84ec[_0x183115]);}return{'$$typeof':_0x444ec1,'type':_0x2f409a,'key':_0x356364,'ref':_0x126cb2,'props':_0x204ad1,'_owner':_0x29fe0a['current']};}_0x186328['Fragment']=_0x12dd40,_0x186328[_0x270b48(0x345)]=_0x26c447,_0x186328[_0x270b48(0x69b)]=_0x26c447,_0xb0ba09['exports']=_0x186328;var _0x2515c5=_0xb0ba09[_0x270b48(0x3ab)],_0x1a0265=function(){const _0x57cc21=_0x270b48;return _0x1a0265=Object[_0x57cc21(0x4f2)]||function(_0x27b012){const _0x2f87da=_0x57cc21;for(var _0x4195c0,_0x36ab5e=0x1,_0x136b96=arguments[_0x2f87da(0x2df)];_0x36ab5e<_0x136b96;_0x36ab5e++){_0x4195c0=arguments[_0x36ab5e];for(var _0x5a84f2 in _0x4195c0)Object[_0x2f87da(0x27c)][_0x2f87da(0x33a)][_0x2f87da(0x27f)](_0x4195c0,_0x5a84f2)&&(_0x27b012[_0x5a84f2]=_0x4195c0[_0x5a84f2]);}return _0x27b012;},_0x1a0265['apply'](this,arguments);},_0x563b7b=function(_0x31b85c,_0x3046d0){const _0x290106=_0x270b48;var _0x4251dd={};for(var _0x1cbdae in _0x31b85c)Object[_0x290106(0x27c)][_0x290106(0x33a)][_0x290106(0x27f)](_0x31b85c,_0x1cbdae)&&_0x3046d0[_0x290106(0x316)](_0x1cbdae)<0x0&&(_0x4251dd[_0x1cbdae]=_0x31b85c[_0x1cbdae]);if(_0x31b85c!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x297da8=0x0,_0x1cbdae=Object[_0x290106(0x2e4)](_0x31b85c);_0x297da8<_0x1cbdae[_0x290106(0x2df)];_0x297da8++)_0x3046d0['indexOf'](_0x1cbdae[_0x297da8])<0x0&&Object[_0x290106(0x27c)][_0x290106(0x2a9)][_0x290106(0x27f)](_0x31b85c,_0x1cbdae[_0x297da8])&&(_0x4251dd[_0x1cbdae[_0x297da8]]=_0x31b85c[_0x1cbdae[_0x297da8]]);}return _0x4251dd;},_0x5d4b40=_0x32ddec[_0x270b48(0x2eb)](function(_0x72f013,_0x4caa59){const _0x5cdeb0=_0x270b48;var _0x58b553=_0x72f013['icon'],_0xa86765=_0x72f013['id'],_0x400ef8=_0x72f013[_0x5cdeb0(0x459)],_0x2f3f3c=_0x72f013['extend'],_0x46e320=_0x563b7b(_0x72f013,['icon','id',_0x5cdeb0(0x459),'extend']),_0x330d99=_0x5cdeb0(0x51a)[_0x5cdeb0(0x32d)](_0xa86765,'\x20')[_0x5cdeb0(0x32d)](_0x400ef8||'')[_0x5cdeb0(0x3aa)](),_0x52cffa=_0x32ddec['useRef']('_'[_0x5cdeb0(0x32d)](_0x5b9fd8()));return _0x2095f0(_0x58b553,''[_0x5cdeb0(0x32d)](_0xa86765),{'defIds':_0x58b553[_0x5cdeb0(0x52c)],'idSuffix':_0x52cffa[_0x5cdeb0(0x2db)]},_0x1a0265({'ref':_0x4caa59,'className':_0x330d99},_0x46e320),_0x2f3f3c);});function _0x2095f0(_0x5e2ce2,_0x3a796a,_0x451544,_0x3dd468,_0x36b265){const _0x1f7ccf=_0x270b48;return _0x32ddec[_0x1f7ccf(0x3a5)](_0x5e2ce2[_0x1f7ccf(0x2b8)],_0x1a0265(_0x1a0265({'key':_0x3a796a},_0x50fad5(_0x5e2ce2,_0x451544,_0x36b265)),_0x3dd468),(_0x47e9bc(_0x5e2ce2,_0x451544)[_0x1f7ccf(0x352)]||[])[_0x1f7ccf(0x60f)](function(_0x209a15,_0x47c23f){const _0x7e14dc=_0x1f7ccf;return _0x2095f0(_0x209a15,''[_0x7e14dc(0x32d)](_0x3a796a,'-')[_0x7e14dc(0x32d)](_0x5e2ce2[_0x7e14dc(0x2b8)],'-')[_0x7e14dc(0x32d)](_0x47c23f),_0x451544,void 0x0,_0x36b265);}));}function _0x50fad5(_0x12abca,_0x416cc2,_0x2646a6){const _0x56d29c=_0x270b48;var _0x453061=_0x1a0265({},_0x12abca[_0x56d29c(0x219)]);_0x2646a6!=null&&_0x2646a6['colorChannel1']&&_0x453061[_0x56d29c(0x498)]===_0x56d29c(0x1e5)&&(_0x453061[_0x56d29c(0x498)]=_0x2646a6['colorChannel1']);var _0x6a97de=_0x416cc2[_0x56d29c(0x52c)];return!_0x6a97de||_0x6a97de[_0x56d29c(0x2df)]===0x0||(_0x12abca[_0x56d29c(0x2b8)]==='use'&&_0x453061[_0x56d29c(0x304)]&&(_0x453061[_0x56d29c(0x304)]=_0x453061[_0x56d29c(0x304)]+_0x416cc2[_0x56d29c(0x3a7)]),Object[_0x56d29c(0x2dc)](_0x453061)[_0x56d29c(0x4bd)](function(_0x2a73c6){const _0x454e03=_0x56d29c;var _0x1a4752=_0x2a73c6[0x0],_0x18cd5a=_0x2a73c6[0x1];typeof _0x18cd5a==_0x454e03(0x451)&&(_0x453061[_0x1a4752]=_0x18cd5a[_0x454e03(0x627)](/url\(#(.*)\)/,_0x454e03(0x2b5)[_0x454e03(0x32d)](_0x416cc2[_0x454e03(0x3a7)],')')));})),_0x453061;}function _0x47e9bc(_0x1ed46a,_0x70523){const _0x145b5e=_0x270b48;var _0x38ad02,_0x4bd360=_0x70523[_0x145b5e(0x52c)];return!_0x4bd360||_0x4bd360[_0x145b5e(0x2df)]===0x0?_0x1ed46a:_0x1ed46a[_0x145b5e(0x2b8)]===_0x145b5e(0x300)&&(!((_0x38ad02=_0x1ed46a[_0x145b5e(0x352)])===null||_0x38ad02===void 0x0)&&_0x38ad02[_0x145b5e(0x2df)])?_0x1a0265(_0x1a0265({},_0x1ed46a),{'children':_0x1ed46a[_0x145b5e(0x352)]['map'](function(_0x306a6d){const _0x293898=_0x145b5e;return typeof _0x306a6d[_0x293898(0x219)]['id']==_0x293898(0x451)&&_0x4bd360&&_0x4bd360[_0x293898(0x316)](_0x306a6d['attrs']['id'])>-0x1?_0x1a0265(_0x1a0265({},_0x306a6d),{'attrs':_0x1a0265(_0x1a0265({},_0x306a6d[_0x293898(0x219)]),{'id':_0x306a6d[_0x293898(0x219)]['id']+_0x70523['idSuffix']})}):_0x306a6d;})}):_0x1ed46a;}function _0x5b9fd8(){const _0x1c1686=_0x270b48;return Math[_0x1c1686(0x641)]()['toString'](0x24)[_0x1c1686(0x376)](0x2,0x8);}_0x5d4b40[_0x270b48(0x53b)]='UniverIcon';var _0x2c8d98={'tag':_0x270b48(0x54d),'attrs':{'fill':_0x270b48(0x600),'viewBox':_0x270b48(0x661),'width':'1em','height':_0x270b48(0x565)},'children':[{'tag':'g','attrs':{'clipPath':_0x270b48(0x68b)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x270b48(0x666),'strokeLinecap':_0x270b48(0x5c2),'strokeLinejoin':_0x270b48(0x5c2),'strokeWidth':1.2}}]},{'tag':_0x270b48(0x300),'attrs':{},'children':[{'tag':_0x270b48(0x437),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x270b48(0x440),'attrs':{'fill':_0x270b48(0x606),'d':_0x270b48(0x246)}}]}]}],'defIds':[_0x270b48(0x2ba)]},_0x2f5bde=_0x32ddec[_0x270b48(0x2eb)](function(_0x2f3c7e,_0x332271){const _0x4a2d1e=_0x270b48;return _0x32ddec[_0x4a2d1e(0x3a5)](_0x5d4b40,Object[_0x4a2d1e(0x4f2)]({},_0x2f3c7e,{'id':_0x4a2d1e(0x529),'ref':_0x332271,'icon':_0x2c8d98}));});_0x2f5bde[_0x270b48(0x53b)]=_0x270b48(0x5a2);var _0x5ce207={'tag':_0x270b48(0x54d),'attrs':{'fill':_0x270b48(0x600),'viewBox':'0\x200\x2017\x2016','width':_0x270b48(0x565),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x270b48(0x326)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x270b48(0x343),'strokeLinecap':_0x270b48(0x5c2),'strokeLinejoin':_0x270b48(0x5c2),'strokeWidth':1.2}}]},{'tag':_0x270b48(0x300),'attrs':{},'children':[{'tag':_0x270b48(0x437),'attrs':{'id':_0x270b48(0x629)},'children':[{'tag':_0x270b48(0x440),'attrs':{'fill':_0x270b48(0x606),'d':'M0\x200H16V16H0z','transform':_0x270b48(0x617)}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0x587e16=_0x32ddec[_0x270b48(0x2eb)](function(_0x3eca3d,_0x334ef0){const _0x34752c=_0x270b48;return _0x32ddec[_0x34752c(0x3a5)](_0x5d4b40,Object[_0x34752c(0x4f2)]({},_0x3eca3d,{'id':_0x34752c(0x21c),'ref':_0x334ef0,'icon':_0x5ce207}));});_0x587e16['displayName']=_0x270b48(0x423);function _0x36e5bd(_0x54491d){const _0x262f76=_0x270b48;var _0x3bc4f4,_0x52a3da,_0xaeeb61='';if(typeof _0x54491d==_0x262f76(0x451)||typeof _0x54491d==_0x262f76(0x404))_0xaeeb61+=_0x54491d;else{if(typeof _0x54491d=='object'){if(Array[_0x262f76(0x3dc)](_0x54491d)){var _0x479f5c=_0x54491d[_0x262f76(0x2df)];for(_0x3bc4f4=0x0;_0x3bc4f4<_0x479f5c;_0x3bc4f4++)_0x54491d[_0x3bc4f4]&&(_0x52a3da=_0x36e5bd(_0x54491d[_0x3bc4f4]))&&(_0xaeeb61&&(_0xaeeb61+='\x20'),_0xaeeb61+=_0x52a3da);}else{for(_0x52a3da in _0x54491d)_0x54491d[_0x52a3da]&&(_0xaeeb61&&(_0xaeeb61+='\x20'),_0xaeeb61+=_0x52a3da);}}}return _0xaeeb61;}function _0x3afa7a(){for(var _0x2a0cdc,_0x5f1dbe,_0x3a769c=0x0,_0x5c8736='',_0x4804f1=arguments['length'];_0x3a769c<_0x4804f1;_0x3a769c++)(_0x2a0cdc=arguments[_0x3a769c])&&(_0x5f1dbe=_0x36e5bd(_0x2a0cdc))&&(_0x5c8736&&(_0x5c8736+='\x20'),_0x5c8736+=_0x5f1dbe);return _0x5c8736;}const _0x488a1c={'onlineStatusIcon':_0x270b48(0x591),'onlineStatusTitle':_0x270b48(0x31d),'onlineStatus':_0x270b48(0x485),'online':_0x270b48(0x384),'offline':'univer-offline'};function _0x5ea701(_0x58f7a8){const _0x16b5b0=_0x270b48;switch(_0x58f7a8){case _0x27aa5e[_0x16b5b0(0x2f3)]:return _0x16b5b0(0x679);case _0x27aa5e['CONFLICT']:return'collabStatus.conflict';case _0x27aa5e[_0x16b5b0(0x4e1)]:return _0x16b5b0(0x1e7);case _0x27aa5e[_0x16b5b0(0x5db)]:return _0x16b5b0(0x240);case _0x27aa5e['AWAITING']:case _0x27aa5e[_0x16b5b0(0x5f4)]:return _0x16b5b0(0x584);case _0x27aa5e[_0x16b5b0(0x420)]:case _0x27aa5e[_0x16b5b0(0x53c)]:return _0x16b5b0(0x277);}}function _0xe97fef(_0x10d439){const _0x59167d=_0x270b48,{status$:_0x3e4637}=_0x10d439,_0x12b3f2=_0x3421c5[_0x59167d(0x361)](_0x3e4637,_0x27aa5e[_0x59167d(0x5db)]),_0x58bc8d=_0x10122e[_0x59167d(0x5c0)](_0x10122e['LocaleService']),_0x170911=_0x10122e[_0x59167d(0x5c0)](_0x3ef0c0[_0x59167d(0x5ae)]),_0x229605=_0x12b3f2!==_0x27aa5e[_0x59167d(0x2f3)],_0x609608=_0x58bc8d['t'](_0x5ea701(_0x12b3f2)),_0x1be84f=_0x3afa7a(_0x488a1c[_0x59167d(0x331)],{[_0x488a1c['online']]:_0x229605,[_0x488a1c[_0x59167d(0x552)]]:!_0x229605}),_0x9e6328=_0x229605?_0x2515c5[_0x59167d(0x345)](_0x587e16,{}):_0x2515c5[_0x59167d(0x345)](_0x2f5bde,{}),_0x522c4c=_0x32ddec[_0x59167d(0x216)](()=>{const _0x22fc3b=_0x59167d;_0x229605||_0x170911[_0x22fc3b(0x265)]();},[_0x229605,_0x170911]);function _0x454b0f(){const _0x2c2afe=_0x59167d;return _0x2515c5[_0x2c2afe(0x69b)](_0x2c2afe(0x30d),{'className':_0x1be84f,'onClick':_0x522c4c,'children':[_0x2515c5['jsx'](_0x2c2afe(0x30d),{'className':_0x488a1c[_0x2c2afe(0x333)],'children':_0x9e6328}),_0x2515c5[_0x2c2afe(0x345)]('div',{'className':_0x488a1c[_0x2c2afe(0x668)],'children':_0x609608})]});}return _0x229605?_0x454b0f():_0x2515c5[_0x59167d(0x345)](_0x4811a0[_0x59167d(0x502)],{'title':_0x58bc8d['t']('collab-client.tooltip.reconnect'),'children':_0x454b0f()});}var _0x371eb2=Object[_0x270b48(0x29d)],_0x1a1d5d=Object[_0x270b48(0x255)],_0x39c4ac=(_0xf2fe7a,_0x345b02,_0x4b4e91,_0x2f7d5a)=>{for(var _0x3c6558=_0x2f7d5a>0x1?void 0x0:_0x2f7d5a?_0x1a1d5d(_0x345b02,_0x4b4e91):_0x345b02,_0x4d528d=_0xf2fe7a['length']-0x1,_0x39fce9;_0x4d528d>=0x0;_0x4d528d--)(_0x39fce9=_0xf2fe7a[_0x4d528d])&&(_0x3c6558=(_0x2f7d5a?_0x39fce9(_0x345b02,_0x4b4e91,_0x3c6558):_0x39fce9(_0x3c6558))||_0x3c6558);return _0x2f7d5a&&_0x3c6558&&_0x371eb2(_0x345b02,_0x4b4e91,_0x3c6558),_0x3c6558;},_0x4330eb=(_0x8192a2,_0x2443da)=>(_0xf8dc97,_0x282a78)=>_0x2443da(_0xf8dc97,_0x282a78,_0x8192a2);_0x3ef0c0[_0x270b48(0x2c6)]=class extends _0x10122e[_0x270b48(0x5f7)]{constructor(_0x3eff49,_0x506a8f,_0x2067f5,_0xe2a639){const _0xa18376=_0x270b48;super(),_0x11da04(this,_0xa18376(0x1fa),new _0x43beed[(_0xa18376(0x65c))](_0x27aa5e[_0xa18376(0x5db)])),(this['_univerInstanceService']=_0x3eff49,this[_0xa18376(0x590)]=_0x506a8f,this[_0xa18376(0x358)]=_0x2067f5,this[_0xa18376(0x283)]=_0xe2a639,this[_0xa18376(0x589)](),this[_0xa18376(0x540)]());}[_0x270b48(0x540)](){const _0x3dac81=_0x270b48;this[_0x3dac81(0x206)](this[_0x3dac81(0x3d7)][_0x3dac81(0x34a)][_0x3dac81(0x3fb)](_0x43beed[_0x3dac81(0x2f7)](()=>{const _0x454b6a=_0x3dac81,_0x163ba4=this['_univerInstanceService'][_0x454b6a(0x446)]();return _0x163ba4?this['_collaborationController'][_0x454b6a(0x435)](_0x163ba4['getUnitId']()):_0x43beed['of'](null);}),_0x43beed[_0x3dac81(0x2f7)](_0x164366=>_0x164366?_0x164366[_0x3dac81(0x2f6)]:_0x43beed['of'](_0x27aa5e[_0x3dac81(0x5db)])))[_0x3dac81(0x40f)](_0x461ce4=>{const _0x292a67=_0x3dac81;this['_status$'][_0x292a67(0x299)](_0x461ce4);}));}[_0x270b48(0x589)](){const _0x2f0195=_0x270b48;this[_0x2f0195(0x206)](this['_uiPartsService'][_0x2f0195(0x464)](_0x3421c5[_0x2f0195(0x223)][_0x2f0195(0x43a)],()=>_0x10122e['connectInjector'](_0x2767f2({'status$':this[_0x2f0195(0x1fa)]['asObservable']()}),this['_injector'])));}},_0x3ef0c0[_0x270b48(0x2c6)]=_0x39c4ac([_0x4330eb(0x0,_0x10122e[_0x270b48(0x204)]),_0x4330eb(0x1,_0x3421c5['IUIPartsService']),_0x4330eb(0x2,_0x10122e[_0x270b48(0x5c7)](_0x10122e[_0x270b48(0x53a)])),_0x4330eb(0x3,_0x10122e[_0x270b48(0x5c7)](_0x3ef0c0[_0x270b48(0x4ad)]))],_0x3ef0c0[_0x270b48(0x2c6)]);function _0x2767f2(_0x2d2a7b){const {status$:_0x24135b}=_0x2d2a7b;return function(){const _0x3b2bb1=_0x5645;return _0x2515c5[_0x3b2bb1(0x345)](_0xe97fef,{'status$':_0x24135b});};}const _0x17ffc1=_0x10122e[_0x270b48(0x1e3)]('uni.network.url-service');var _0x27c164=Object[_0x270b48(0x29d)],_0x2502dd=Object[_0x270b48(0x255)],_0x4654d7=(_0x5cd73a,_0x26f19f,_0x547f16,_0x48fb01)=>{const _0x46c823=_0x270b48;for(var _0x2bd748=_0x48fb01>0x1?void 0x0:_0x48fb01?_0x2502dd(_0x26f19f,_0x547f16):_0x26f19f,_0x50cb27=_0x5cd73a[_0x46c823(0x2df)]-0x1,_0x40a80b;_0x50cb27>=0x0;_0x50cb27--)(_0x40a80b=_0x5cd73a[_0x50cb27])&&(_0x2bd748=(_0x48fb01?_0x40a80b(_0x26f19f,_0x547f16,_0x2bd748):_0x40a80b(_0x2bd748))||_0x2bd748);return _0x48fb01&&_0x2bd748&&_0x27c164(_0x26f19f,_0x547f16,_0x2bd748),_0x2bd748;},_0x114f07=(_0x4fc955,_0x5f1bb6)=>(_0x215b10,_0x32bc93)=>_0x5f1bb6(_0x215b10,_0x32bc93,_0x4fc955);_0x3ef0c0['DataLoaderController']=class extends _0x10122e['RxDisposable']{constructor(_0x316b94,_0x1de356,_0x32da4f,_0x26b186,_0x1e1335,_0x336c6f){const _0x3c098f=_0x270b48;super(),this[_0x3c098f(0x29f)]=_0x316b94,this[_0x3c098f(0x477)]=_0x1de356,this[_0x3c098f(0x4ce)]=_0x32da4f,this['_localCacheService']=_0x26b186,this[_0x3c098f(0x303)]=_0x1e1335,_0x336c6f?_0x336c6f==null||_0x336c6f['whenReady']()['then'](()=>this['_init']()):(this['_logService'][_0x3c098f(0x41a)](_0x3c098f(0x614),_0x3c098f(0x63a)),this[_0x3c098f(0x46f)]());}async[_0x270b48(0x46f)](){const _0x203536=_0x270b48,_0x2881cb=this['_urlService'][_0x203536(0x685)](_0x203536(0x5bf)),_0x5731d1=this[_0x203536(0x29f)]['getParam'](_0x203536(0x21d));if(!_0x2881cb||!_0x5731d1){this[_0x203536(0x477)]['debug'](_0x203536(0x614),_0x203536(0x55d));return;}switch(Number(_0x5731d1)){case _0x8439e8['UNIVER_SHEET']:{const _0x77ca1f=await this[_0x203536(0x575)](_0x2881cb);this[_0x203536(0x3e5)](_0x77ca1f);break;}case _0x8439e8[_0x203536(0x414)]:{await this['_loadDoc'](_0x2881cb);break;}default:{this[_0x203536(0x477)][_0x203536(0x371)](_0x203536(0x614),_0x203536(0x253));break;}}}async['_setupSubUnitSync'](_0x21215d){const _0x27c06a=_0x270b48;await this[_0x27c06a(0x388)](_0x21215d),_0x21215d[_0x27c06a(0x674)]['pipe'](_0x43beed[_0x27c06a(0x57a)](this[_0x27c06a(0x488)]))['subscribe'](_0x586008=>{_0x586008&&this['_updateURLWithCurrentState'](_0x586008);}),this['_urlService'][_0x27c06a(0x23d)]['pipe'](_0x43beed[_0x27c06a(0x57a)](this[_0x27c06a(0x488)]))[_0x27c06a(0x40f)](()=>this[_0x27c06a(0x388)](_0x21215d));}[_0x270b48(0x20f)](_0x16f500,_0x453896=!0x1){const _0x281a6d=_0x270b48,_0x445e26=this['_urlService'][_0x281a6d(0x685)]('subunit');_0x16f500[_0x281a6d(0x3c7)]()!==_0x445e26&&this[_0x281a6d(0x29f)][_0x281a6d(0x5ed)](_0x281a6d(0x43c),_0x16f500[_0x281a6d(0x3c7)](),_0x453896);}async['_updateSubUnitFromURLParams'](_0x14bffd){const _0x56840c=_0x270b48;var _0x533e4f;const _0x299b37=this['_urlService']['getParam']('subunit');if(!_0x299b37||!_0x14bffd[_0x56840c(0x5e7)](_0x299b37)){const _0x423bdc=_0x14bffd['getUnhiddenWorksheets']()[0x0],_0x1a0157=_0x14bffd[_0x56840c(0x5e7)](_0x423bdc);if(!_0x1a0157)return;this[_0x56840c(0x20f)](_0x1a0157,!0x0),await this['_commandService'][_0x56840c(0x284)](_0x43d50e[_0x56840c(0x28c)]['id'],{'unitId':_0x14bffd[_0x56840c(0x337)](),'subUnitId':_0x423bdc});return;}((_0x533e4f=_0x14bffd[_0x56840c(0x56c)]())==null?void 0x0:_0x533e4f[_0x56840c(0x3c7)]())!==_0x299b37&&await this[_0x56840c(0x4ce)][_0x56840c(0x284)](_0x43d50e[_0x56840c(0x28c)]['id'],{'unitId':_0x14bffd[_0x56840c(0x337)](),'subUnitId':_0x299b37});}async['_loadSheet'](_0x27ad97){const _0x52de78=_0x270b48;let _0x2b973c=0x0;const _0xe3c502=await this['_localCacheService'][_0x52de78(0x294)](_0x27ad97);return _0xe3c502&&(_0xe3c502[_0x52de78(0x636)]||_0xe3c502[_0x52de78(0x43b)]['length']!==0x0)&&(_0x2b973c=_0xe3c502[_0x52de78(0x4a0)]),_0x2b973c===0x0&&this[_0x52de78(0x477)]['debug'](_0x52de78(0x614),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x52de78(0x303)][_0x52de78(0x2e9)](_0x27ad97,_0x2b973c);}async[_0x270b48(0x52a)](_0x35b40d){const _0xd5accf=_0x270b48;let _0x595eeb=0x0;const _0x3156ef=await this[_0xd5accf(0x5a3)]['loadOfflineData'](_0x35b40d);return _0x3156ef&&(_0x3156ef[_0xd5accf(0x636)]||_0x3156ef['mutations'][_0xd5accf(0x2df)]!==0x0)&&(_0x595eeb=_0x3156ef[_0xd5accf(0x4a0)]),_0x595eeb===0x0&&this[_0xd5accf(0x477)][_0xd5accf(0x41a)](_0xd5accf(0x614),_0xd5accf(0x496)),this['_snapshotService'][_0xd5accf(0x64b)](_0x35b40d,_0x595eeb);}},_0x3ef0c0[_0x270b48(0x41c)]=_0x4654d7([_0x114f07(0x0,_0x17ffc1),_0x114f07(0x1,_0x10122e[_0x270b48(0x4d7)]),_0x114f07(0x2,_0x10122e[_0x270b48(0x1e0)]),_0x114f07(0x3,_0x10122e[_0x270b48(0x5c7)](_0x3ef0c0['LocalCacheService'])),_0x114f07(0x4,_0x10122e[_0x270b48(0x5c7)](_0x434c76[_0x270b48(0x5f5)])),_0x114f07(0x5,_0x10122e[_0x270b48(0x24d)](_0x5a9b55[_0x270b48(0x1f1)]))],_0x3ef0c0[_0x270b48(0x41c)]);var _0x3516f6=Object['defineProperty'],_0x200f39=Object[_0x270b48(0x255)],_0x3199d4=(_0x2f3881,_0x39ea53,_0x1d2e5c,_0x45e615)=>{const _0x403645=_0x270b48;for(var _0x53f5b3=_0x45e615>0x1?void 0x0:_0x45e615?_0x200f39(_0x39ea53,_0x1d2e5c):_0x39ea53,_0x56b1da=_0x2f3881[_0x403645(0x2df)]-0x1,_0x5178ce;_0x56b1da>=0x0;_0x56b1da--)(_0x5178ce=_0x2f3881[_0x56b1da])&&(_0x53f5b3=(_0x45e615?_0x5178ce(_0x39ea53,_0x1d2e5c,_0x53f5b3):_0x5178ce(_0x53f5b3))||_0x53f5b3);return _0x45e615&&_0x53f5b3&&_0x3516f6(_0x39ea53,_0x1d2e5c,_0x53f5b3),_0x53f5b3;},_0x402f49=(_0x14ef7f,_0x3fd7cd)=>(_0x57fd42,_0x2cb9ae)=>_0x3fd7cd(_0x57fd42,_0x2cb9ae,_0x14ef7f);const _0x1173d8=_0x270b48(0x3f9),_0x66d9c9=_0x270b48(0x506);let _0x30ebf3=class extends _0x10122e[_0x270b48(0x5f7)]{constructor(_0x44915f,_0x28d82a){const _0x598e59=_0x270b48;super(),this[_0x598e59(0x3d7)]=_0x44915f,this[_0x598e59(0x4dd)]=_0x28d82a,this[_0x598e59(0x46f)]();}[_0x270b48(0x46f)](){const _0x2dfc16=_0x270b48;this['disposeWithMe'](this[_0x2dfc16(0x3d7)][_0x2dfc16(0x34a)][_0x2dfc16(0x40f)](()=>{const _0x4593cc=_0x2dfc16;var _0x42a4cd;const _0x33a050=this[_0x4593cc(0x3d7)]['getFocusedUnit']();let _0x332ee8=(_0x42a4cd=this['_configService']['getConfig'](_0x1173d8))!=null?_0x42a4cd:_0x66d9c9;_0x33a050 instanceof _0x10122e['Workbook']&&(_0x332ee8=_0x33a050[_0x4593cc(0x27e)]),document['title']=_0x332ee8;}));}};_0x30ebf3=_0x3199d4([_0x402f49(0x0,_0x10122e[_0x270b48(0x204)]),_0x402f49(0x1,_0x10122e['IConfigService'])],_0x30ebf3);var _0x39a992=Object[_0x270b48(0x29d)],_0x1f089e=Object[_0x270b48(0x255)],_0x2ed359=(_0x20fd05,_0x4465f7,_0x544afc,_0xaff4f2)=>{for(var _0x29c0f2=_0xaff4f2>0x1?void 0x0:_0xaff4f2?_0x1f089e(_0x4465f7,_0x544afc):_0x4465f7,_0x301392=_0x20fd05['length']-0x1,_0x4d5e14;_0x301392>=0x0;_0x301392--)(_0x4d5e14=_0x20fd05[_0x301392])&&(_0x29c0f2=(_0xaff4f2?_0x4d5e14(_0x4465f7,_0x544afc,_0x29c0f2):_0x4d5e14(_0x29c0f2))||_0x29c0f2);return _0xaff4f2&&_0x29c0f2&&_0x39a992(_0x4465f7,_0x544afc,_0x29c0f2),_0x29c0f2;},_0x4ceab6=(_0x4b21fe,_0x53f1df)=>(_0x550f98,_0x5a4c30)=>_0x53f1df(_0x550f98,_0x5a4c30,_0x4b21fe);let _0x48a230=class{constructor(_0x3db55b,_0x4e1afd,_0x3ba25b){const _0x178ccd=_0x270b48;this[_0x178ccd(0x4dd)]=_0x3db55b,this[_0x178ccd(0x61c)]=_0x4e1afd,this['localeService']=_0x3ba25b,this[_0x178ccd(0x24f)]();}[_0x270b48(0x24f)](){const _0x100149=_0x270b48;this[_0x100149(0x61c)][_0x100149(0x362)]({'priority':0x1,'interceptor':(_0x19008e,_0x369481)=>_0x369481(_0x19008e)[_0x100149(0x3fb)](_0x43beed[_0x100149(0x60d)](async _0x1bb47d=>{const _0x4fd077=_0x100149,_0x4a642e=_0x1bb47d;if(_0x4a642e[_0x4fd077(0x46e)]===0x191&&window[_0x4fd077(0x582)](this['localeService']['t'](_0x4fd077(0x366)))){const _0x3d9a5a=window[_0x4fd077(0x27d)](window[_0x4fd077(0x2cb)][_0x4fd077(0x4a3)]);window[_0x4fd077(0x2cb)][_0x4fd077(0x4a3)]=this[_0x4fd077(0x3ee)]()+_0x4fd077(0x291)+_0x3d9a5a;}return _0x4a642e;}))});}['_getLoginPath'](){const _0x1029e8=_0x270b48;var _0x42c4fe,_0x512de7;const _0x160435=this[_0x1029e8(0x4dd)][_0x1029e8(0x5f1)](_0x4600e2),_0x4e585a=this[_0x1029e8(0x4dd)][_0x1029e8(0x5f1)](_0x100cc6);return(_0x512de7=(_0x42c4fe=_0x4e585a==null?void 0x0:_0x4e585a[_0x1029e8(0x2d7)])!=null?_0x42c4fe:_0x160435)!=null?_0x512de7:_0x57c0a3;}};_0x48a230=_0x2ed359([_0x4ceab6(0x0,_0x10122e[_0x270b48(0x635)]),_0x4ceab6(0x1,_0x10122e[_0x270b48(0x5c7)](_0xbfbac5[_0x270b48(0x3d4)])),_0x4ceab6(0x2,_0x10122e['Inject'](_0x10122e[_0x270b48(0x42c)]))],_0x48a230);var _0x6ac019=Object[_0x270b48(0x29d)],_0x36b9a8=Object[_0x270b48(0x255)],_0x46aab5=(_0x160b8e,_0x342f90,_0x3179e1,_0x5a3693)=>{const _0x200be0=_0x270b48;for(var _0xeb380c=_0x5a3693>0x1?void 0x0:_0x5a3693?_0x36b9a8(_0x342f90,_0x3179e1):_0x342f90,_0x1ee58a=_0x160b8e[_0x200be0(0x2df)]-0x1,_0x18e348;_0x1ee58a>=0x0;_0x1ee58a--)(_0x18e348=_0x160b8e[_0x1ee58a])&&(_0xeb380c=(_0x5a3693?_0x18e348(_0x342f90,_0x3179e1,_0xeb380c):_0x18e348(_0xeb380c))||_0xeb380c);return _0x5a3693&&_0xeb380c&&_0x6ac019(_0x342f90,_0x3179e1,_0xeb380c),_0xeb380c;},_0x1486a4=(_0x30a1ad,_0x5899f6)=>(_0x5623bb,_0x219f73)=>_0x5899f6(_0x5623bb,_0x219f73,_0x30a1ad);const _0x1972b9=_0x270b48(0x28e),_0x5b66d8=_0x270b48(0x1d9);_0x3ef0c0[_0x270b48(0x639)]=class extends _0x10122e[_0x270b48(0x5f7)]{constructor(_0x3882fc,_0x4dc5f5){super(),this['_HTTPService']=_0x3882fc,this['_configService']=_0x4dc5f5,this['_initMergeInterceptor']();}[_0x270b48(0x4b0)](){const _0x406657=_0x270b48,_0x383cfb=this;this[_0x406657(0x206)](this[_0x406657(0x5d9)][_0x406657(0x362)]({'priority':0x3e7,'interceptor':_0xbfbac5[_0x406657(0x687)]({'isMatch'(_0x4ea9f3){const _0xaae603=_0x406657;var _0x53857d;if(_0x4ea9f3[_0xaae603(0x2e3)]===_0xaae603(0x383)&&((_0x53857d=_0x4ea9f3[_0xaae603(0x3b3)])!=null&&_0x53857d[_0xaae603(0x4b2)])){const {objectID:_0x184ca1,objectType:_0x5cb9c6}=_0x4ea9f3[_0xaae603(0x3b3)][_0xaae603(0x4b2)]||{};if(!_0x184ca1||_0x5cb9c6===void 0x0)return!0x1;const _0x472dca=_0x383cfb[_0xaae603(0x5d7)]()+'/'+_0x5cb9c6+'/object/'+_0x184ca1+_0xaae603(0x5cc);if(_0x4ea9f3[_0xaae603(0x248)]===_0x472dca)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x7d5ee2){const _0x4b506a=_0x406657;var _0x3b0f0f;return(_0x3b0f0f=_0x7d5ee2[_0x4b506a(0x3b3)])==null?void 0x0:_0x3b0f0f['body'];},'mergeParamsToRequest'(_0x38d3c5,_0x3df3b1){const _0x576f40=_0x406657,_0x57a3a7=_0x383cfb[_0x576f40(0x5d7)]()+_0x576f40(0x494),_0x280af6=_0x38d3c5[_0x576f40(0x578)]((_0xc48aa1,_0x4a2a3a)=>{const _0xf18634=_0x576f40,{unitID:_0x1d2d3b,objectID:_0x574652,objectType:_0x53c833,actions:_0x508a1f}=_0x4a2a3a;return _0xc48aa1[_0x1d2d3b]||(_0xc48aa1[_0x1d2d3b]={}),_0xc48aa1[_0x1d2d3b][_0x574652]||(_0xc48aa1[_0x1d2d3b][_0x574652]={'objectID':_0x574652,'objectType':_0x53c833,'actions':[]}),_0xc48aa1[_0x1d2d3b][_0x574652][_0xf18634(0x20a)][_0xf18634(0x28f)](..._0x508a1f),_0xc48aa1;},{}),_0x1a1132=[];for(const _0x3c229a in _0x280af6)for(const _0x18a577 in _0x280af6[_0x3c229a]){const {actions:_0x55e14f,objectType:_0x3e061d}=_0x280af6[_0x3c229a][_0x18a577],_0x181216=[...new Set(_0x55e14f)];_0x1a1132[_0x576f40(0x28f)]({'unitID':_0x3c229a,'objectID':_0x18a577,'objectType':_0x3e061d,'actions':_0x181216});}return new _0xbfbac5[(_0x576f40(0x559))]('POST',_0x57a3a7,{'headers':_0x3df3b1[_0x576f40(0x509)],'withCredentials':_0x3df3b1[_0x576f40(0x3d2)],'responseType':_0x3df3b1[_0x576f40(0x56a)],'body':{'requests':_0x1a1132}});}},{'distributeResult'(_0xd41f17,_0x5cca27){const {objectActions:_0x359a3c}=_0xd41f17;return _0x5cca27['map'](_0x5cdd73=>{const _0x2f57d8=_0x5645,{unitID:_0x256295,objectID:_0x50cf75,actions:_0x147555}=_0x5cdd73,_0x16fb36=_0x359a3c[_0x2f57d8(0x335)](_0x1da3f1=>_0x1da3f1[_0x2f57d8(0x224)]===_0x256295&&_0x1da3f1['objectID']===_0x50cf75),_0x39cdb=_0x147555['map'](_0x48695b=>_0x16fb36==null?void 0x0:_0x16fb36['actions'][_0x2f57d8(0x335)](_0x25f122=>_0x25f122[_0x2f57d8(0x372)]===_0x48695b))[_0x2f57d8(0x4d0)](_0x119d50=>!!_0x119d50);return{'config':_0x5cdd73,'result':{'actions':_0x39cdb,'error':_0xd41f17[_0x2f57d8(0x371)]}};});}})}));}['_getAPIPrefixPath'](){const _0x55467f=_0x270b48;var _0x46837c,_0x47a4f8;const _0x2ee33a=this[_0x55467f(0x4dd)][_0x55467f(0x5f1)](_0x1972b9),_0x72c7b7=this['_configService']['getConfig'](_0x100cc6);return(_0x47a4f8=(_0x46837c=_0x72c7b7==null?void 0x0:_0x72c7b7[_0x55467f(0x2fe)])!=null?_0x46837c:_0x2ee33a)!=null?_0x47a4f8:_0x5b66d8;}async[_0x270b48(0x54c)](_0x1f8b50){const _0x370b43=_0x270b48,_0x3c42cf=this['_getAPIPrefixPath']()+'/'+_0x1f8b50['objectType']+_0x370b43(0x5fa);return(await this[_0x370b43(0x5d9)][_0x370b43(0x4b9)](_0x3c42cf,{'body':_0x1f8b50}))[_0x370b43(0x4b2)][_0x370b43(0x61e)]||'';}async[_0x270b48(0x25c)](_0x8e7eef){const _0x597818=_0x270b48,_0x8fe9d9=this['_getAPIPrefixPath']()+_0x597818(0x2b9);return(await this[_0x597818(0x5d9)]['post'](_0x8fe9d9,{'body':_0x8e7eef}))[_0x597818(0x4b2)][_0x597818(0x489)];}async[_0x270b48(0x3de)](_0x244335){const _0x4d864d=_0x270b48,_0x497f36=this[_0x4d864d(0x5d7)]()+'/'+_0x244335[_0x4d864d(0x286)]+_0x4d864d(0x238)+_0x244335[_0x4d864d(0x61e)];await this[_0x4d864d(0x5d9)][_0x4d864d(0x432)](_0x497f36,{'body':_0x244335});}async[_0x270b48(0x2bd)](_0x4fa52d){const _0x36c99e=_0x270b48,_0x52ae36=this['_getAPIPrefixPath']()+'/'+_0x4fa52d['objectType']+_0x36c99e(0x238)+_0x4fa52d[_0x36c99e(0x61e)]+_0x36c99e(0x5cc);return(await this['_HTTPService'][_0x36c99e(0x4b9)](_0x52ae36,{'body':_0x4fa52d}))[_0x36c99e(0x4b2)]['actions'];}async['batchAllowed'](_0x31dc87){const _0x1aa731=_0x270b48,_0x564486=this[_0x1aa731(0x5d7)]()+'/-/object/-/batch_allowed';return(await this['_HTTPService']['post'](_0x564486,{'body':{'requests':_0x31dc87}}))['body']['objectActions'];}async[_0x270b48(0x492)](_0x4f95ae){const _0x2f476f=_0x270b48,_0xff246=this[_0x2f476f(0x5d7)]()+'/'+_0x4f95ae[_0x2f476f(0x286)]+_0x2f476f(0x48e),_0x4deacc=await this['_HTTPService']['post'](_0xff246,{'body':_0x4f95ae});return{'roles':_0x4deacc[_0x2f476f(0x4b2)][_0x2f476f(0x38b)],'actions':_0x4deacc[_0x2f476f(0x4b2)]['actions']};}async[_0x270b48(0x643)](_0x404446){const _0x26d365=_0x270b48,_0x3d0d4c=this[_0x26d365(0x5d7)]()+_0x26d365(0x572);await this[_0x26d365(0x5d9)][_0x26d365(0x48d)](_0x3d0d4c,{'params':{'collaboratorID':_0x404446[_0x26d365(0x2dd)],'objectID':_0x404446['objectID'],'unitID':_0x404446[_0x26d365(0x224)]}});}async[_0x270b48(0x288)](_0x5464a5){const _0x1cd27b=_0x270b48,_0x4e250f=this[_0x1cd27b(0x5d7)]()+_0x1cd27b(0x572);await this[_0x1cd27b(0x5d9)][_0x1cd27b(0x444)](_0x4e250f,{'body':_0x5464a5});}async['createCollaborator'](_0x53a640){const _0x30fab6=_0x270b48,_0x5644aa=this[_0x30fab6(0x5d7)]()+_0x30fab6(0x572);await this['_HTTPService'][_0x30fab6(0x4b9)](_0x5644aa,{'body':_0x53a640});}async[_0x270b48(0x356)](_0x39183a){const _0x4a015f=_0x270b48,_0x1e1a6f=this['_getAPIPrefixPath']()+_0x4a015f(0x572);return(await this[_0x4a015f(0x5d9)][_0x4a015f(0x56f)](_0x1e1a6f,{'params':{'objectID':_0x39183a[_0x4a015f(0x61e)],'unitID':_0x39183a[_0x4a015f(0x224)]}}))[_0x4a015f(0x4b2)]['collaborators'];}async['putCollaborators'](_0x3c9dbe){const _0x597194=_0x270b48,_0x216c29=this[_0x597194(0x5d7)]()+_0x597194(0x572);await this[_0x597194(0x5d9)][_0x597194(0x432)](_0x216c29,{'body':_0x3c9dbe});}},_0x3ef0c0[_0x270b48(0x639)]=_0x46aab5([_0x1486a4(0x0,_0x10122e['Inject'](_0xbfbac5[_0x270b48(0x3d4)])),_0x1486a4(0x1,_0x10122e['Inject'](_0x10122e[_0x270b48(0x635)]))],_0x3ef0c0[_0x270b48(0x639)]);var _0x31d63f={'exports':{}};function _0x65d57f(_0x57a1fa){const _0x5161e7=_0x270b48;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x57a1fa+_0x5161e7(0x64a));}var _0x2db481={'exports':{}},_0x2c139e;function _0x159fd1(){return _0x2c139e||(_0x2c139e=0x1,function(_0x29c17c,_0x1e6a94){(function(_0x3b485a,_0x59428a){_0x29c17c['exports']=_0x59428a();}(_0x7a6336,function(){var _0x20f552=_0x20f552||function(_0x177912,_0x47ed81){const _0x5e3e44=_0x5645;var _0x130ecb;if(typeof window<'u'&&window[_0x5e3e44(0x295)]&&(_0x130ecb=window[_0x5e3e44(0x295)]),typeof self<'u'&&self['crypto']&&(_0x130ecb=self[_0x5e3e44(0x295)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x130ecb=globalThis[_0x5e3e44(0x295)]),!_0x130ecb&&typeof window<'u'&&window[_0x5e3e44(0x68f)]&&(_0x130ecb=window[_0x5e3e44(0x68f)]),!_0x130ecb&&typeof _0x7a6336<'u'&&_0x7a6336[_0x5e3e44(0x295)]&&(_0x130ecb=_0x7a6336[_0x5e3e44(0x295)]),!_0x130ecb&&typeof _0x65d57f==_0x5e3e44(0x37a))try{_0x130ecb=require(_0x5e3e44(0x295));}catch{}var _0x9a389f=function(){const _0x1919f3=_0x5e3e44;if(_0x130ecb){if(typeof _0x130ecb['getRandomValues']==_0x1919f3(0x37a))try{return _0x130ecb[_0x1919f3(0x583)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x130ecb[_0x1919f3(0x467)]=='function')try{return _0x130ecb[_0x1919f3(0x467)](0x4)[_0x1919f3(0x297)]();}catch{}}throw new Error(_0x1919f3(0x56b));},_0x1a4e04=Object[_0x5e3e44(0x54c)]||(function(){function _0x2a4463(){}return function(_0x3ff411){const _0x5af6f3=_0x5645;var _0x9e4df;return _0x2a4463[_0x5af6f3(0x27c)]=_0x3ff411,_0x9e4df=new _0x2a4463(),_0x2a4463[_0x5af6f3(0x27c)]=null,_0x9e4df;};}()),_0x85532a={},_0x4d12fb=_0x85532a[_0x5e3e44(0x486)]={},_0x108753=_0x4d12fb[_0x5e3e44(0x228)]=(function(){return{'extend':function(_0x18dee4){const _0x2c507d=_0x5645;var _0x3e6ee8=_0x1a4e04(this);return _0x18dee4&&_0x3e6ee8['mixIn'](_0x18dee4),(!_0x3e6ee8[_0x2c507d(0x33a)](_0x2c507d(0x24f))||this[_0x2c507d(0x24f)]===_0x3e6ee8['init'])&&(_0x3e6ee8[_0x2c507d(0x24f)]=function(){const _0x44b82e=_0x2c507d;_0x3e6ee8[_0x44b82e(0x574)][_0x44b82e(0x24f)][_0x44b82e(0x395)](this,arguments);}),_0x3e6ee8[_0x2c507d(0x24f)][_0x2c507d(0x27c)]=_0x3e6ee8,_0x3e6ee8[_0x2c507d(0x574)]=this,_0x3e6ee8;},'create':function(){const _0x2088a8=_0x5645;var _0x38207f=this[_0x2088a8(0x567)]();return _0x38207f[_0x2088a8(0x24f)][_0x2088a8(0x395)](_0x38207f,arguments),_0x38207f;},'init':function(){},'mixIn':function(_0x549ad3){const _0x4f1422=_0x5645;for(var _0x884a4e in _0x549ad3)_0x549ad3[_0x4f1422(0x33a)](_0x884a4e)&&(this[_0x884a4e]=_0x549ad3[_0x884a4e]);_0x549ad3[_0x4f1422(0x33a)](_0x4f1422(0x638))&&(this['toString']=_0x549ad3['toString']);},'clone':function(){const _0x13887b=_0x5645;return this['init']['prototype'][_0x13887b(0x567)](this);}};}()),_0x35aaa1=_0x4d12fb[_0x5e3e44(0x3ad)]=_0x108753[_0x5e3e44(0x567)]({'init':function(_0x1e8c41,_0x156a6f){const _0x26b2bf=_0x5e3e44;_0x1e8c41=this['words']=_0x1e8c41||[],_0x156a6f!=_0x47ed81?this[_0x26b2bf(0x26d)]=_0x156a6f:this[_0x26b2bf(0x26d)]=_0x1e8c41['length']*0x4;},'toString':function(_0x21b615){const _0x12aff4=_0x5e3e44;return(_0x21b615||_0x14dd06)[_0x12aff4(0x254)](this);},'concat':function(_0xcd2e4d){const _0x3d0f31=_0x5e3e44;var _0x3dd916=this[_0x3d0f31(0x61d)],_0x16e4d5=_0xcd2e4d[_0x3d0f31(0x61d)],_0x2f1696=this[_0x3d0f31(0x26d)],_0x767881=_0xcd2e4d[_0x3d0f31(0x26d)];if(this['clamp'](),_0x2f1696%0x4)for(var _0x43238e=0x0;_0x43238e<_0x767881;_0x43238e++){var _0x345474=_0x16e4d5[_0x43238e>>>0x2]>>>0x18-_0x43238e%0x4*0x8&0xff;_0x3dd916[_0x2f1696+_0x43238e>>>0x2]|=_0x345474<<0x18-(_0x2f1696+_0x43238e)%0x4*0x8;}else{for(var _0x2ad062=0x0;_0x2ad062<_0x767881;_0x2ad062+=0x4)_0x3dd916[_0x2f1696+_0x2ad062>>>0x2]=_0x16e4d5[_0x2ad062>>>0x2];}return this[_0x3d0f31(0x26d)]+=_0x767881,this;},'clamp':function(){const _0x491df2=_0x5e3e44;var _0x525581=this[_0x491df2(0x61d)],_0x2ab06b=this[_0x491df2(0x26d)];_0x525581[_0x2ab06b>>>0x2]&=0xffffffff<<0x20-_0x2ab06b%0x4*0x8,_0x525581['length']=_0x177912[_0x491df2(0x34f)](_0x2ab06b/0x4);},'clone':function(){const _0x523999=_0x5e3e44;var _0x1e700c=_0x108753[_0x523999(0x1f0)]['call'](this);return _0x1e700c[_0x523999(0x61d)]=this['words'][_0x523999(0x4ac)](0x0),_0x1e700c;},'random':function(_0xd4bc15){const _0x12f619=_0x5e3e44;for(var _0x15c1f8=[],_0x17ffde=0x0;_0x17ffde<_0xd4bc15;_0x17ffde+=0x4)_0x15c1f8[_0x12f619(0x28f)](_0x9a389f());return new _0x35aaa1[(_0x12f619(0x24f))](_0x15c1f8,_0xd4bc15);}}),_0x167272=_0x85532a['enc']={},_0x14dd06=_0x167272[_0x5e3e44(0x38e)]={'stringify':function(_0x6e75a){const _0x2c0fdb=_0x5e3e44;for(var _0x659dc5=_0x6e75a[_0x2c0fdb(0x61d)],_0x3eb339=_0x6e75a['sigBytes'],_0xb34e44=[],_0x4568a4=0x0;_0x4568a4<_0x3eb339;_0x4568a4++){var _0x20a15d=_0x659dc5[_0x4568a4>>>0x2]>>>0x18-_0x4568a4%0x4*0x8&0xff;_0xb34e44[_0x2c0fdb(0x28f)]((_0x20a15d>>>0x4)['toString'](0x10)),_0xb34e44[_0x2c0fdb(0x28f)]((_0x20a15d&0xf)[_0x2c0fdb(0x638)](0x10));}return _0xb34e44[_0x2c0fdb(0x398)]('');},'parse':function(_0x338452){const _0x1a67ce=_0x5e3e44;for(var _0x392f51=_0x338452[_0x1a67ce(0x2df)],_0x3fd9f5=[],_0x36b87d=0x0;_0x36b87d<_0x392f51;_0x36b87d+=0x2)_0x3fd9f5[_0x36b87d>>>0x3]|=parseInt(_0x338452[_0x1a67ce(0x1fe)](_0x36b87d,0x2),0x10)<<0x18-_0x36b87d%0x8*0x4;return new _0x35aaa1['init'](_0x3fd9f5,_0x392f51/0x2);}},_0x523d88=_0x167272[_0x5e3e44(0x569)]={'stringify':function(_0x1936de){const _0x4bd692=_0x5e3e44;for(var _0x2f9d4c=_0x1936de['words'],_0x6162e=_0x1936de['sigBytes'],_0x170abe=[],_0x4d6edd=0x0;_0x4d6edd<_0x6162e;_0x4d6edd++){var _0x5f1a90=_0x2f9d4c[_0x4d6edd>>>0x2]>>>0x18-_0x4d6edd%0x4*0x8&0xff;_0x170abe[_0x4bd692(0x28f)](String['fromCharCode'](_0x5f1a90));}return _0x170abe['join']('');},'parse':function(_0x229e31){const _0x1b38df=_0x5e3e44;for(var _0x1f46c6=_0x229e31[_0x1b38df(0x2df)],_0x5d7cb6=[],_0x2ae2e7=0x0;_0x2ae2e7<_0x1f46c6;_0x2ae2e7++)_0x5d7cb6[_0x2ae2e7>>>0x2]|=(_0x229e31[_0x1b38df(0x374)](_0x2ae2e7)&0xff)<<0x18-_0x2ae2e7%0x4*0x8;return new _0x35aaa1[(_0x1b38df(0x24f))](_0x5d7cb6,_0x1f46c6);}},_0x4239b6=_0x167272['Utf8']={'stringify':function(_0x49fb66){try{return decodeURIComponent(escape(_0x523d88['stringify'](_0x49fb66)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x952dc6){const _0x46d828=_0x5e3e44;return _0x523d88[_0x46d828(0x222)](unescape(encodeURIComponent(_0x952dc6)));}},_0x3f84bc=_0x4d12fb[_0x5e3e44(0x3e0)]=_0x108753[_0x5e3e44(0x567)]({'reset':function(){const _0x73faee=_0x5e3e44;this[_0x73faee(0x2a6)]=new _0x35aaa1[(_0x73faee(0x24f))](),this[_0x73faee(0x319)]=0x0;},'_append':function(_0x459c37){const _0x150c3a=_0x5e3e44;typeof _0x459c37==_0x150c3a(0x451)&&(_0x459c37=_0x4239b6[_0x150c3a(0x222)](_0x459c37)),this['_data'][_0x150c3a(0x32d)](_0x459c37),this['_nDataBytes']+=_0x459c37['sigBytes'];},'_process':function(_0x3872c7){const _0x1ead5f=_0x5e3e44;var _0x1dbd7b,_0x3ff265=this[_0x1ead5f(0x2a6)],_0x10a986=_0x3ff265['words'],_0x17bea5=_0x3ff265[_0x1ead5f(0x26d)],_0x297b36=this[_0x1ead5f(0x521)],_0x3550e8=_0x297b36*0x4,_0x4a89a5=_0x17bea5/_0x3550e8;_0x3872c7?_0x4a89a5=_0x177912[_0x1ead5f(0x34f)](_0x4a89a5):_0x4a89a5=_0x177912[_0x1ead5f(0x580)]((_0x4a89a5|0x0)-this[_0x1ead5f(0x421)],0x0);var _0x18b74f=_0x4a89a5*_0x297b36,_0x14d4c9=_0x177912[_0x1ead5f(0x55e)](_0x18b74f*0x4,_0x17bea5);if(_0x18b74f){for(var _0x1dc54d=0x0;_0x1dc54d<_0x18b74f;_0x1dc54d+=_0x297b36)this[_0x1ead5f(0x622)](_0x10a986,_0x1dc54d);_0x1dbd7b=_0x10a986[_0x1ead5f(0x217)](0x0,_0x18b74f),_0x3ff265[_0x1ead5f(0x26d)]-=_0x14d4c9;}return new _0x35aaa1[(_0x1ead5f(0x24f))](_0x1dbd7b,_0x14d4c9);},'clone':function(){const _0x5c4bd3=_0x5e3e44;var _0x383efb=_0x108753['clone'][_0x5c4bd3(0x27f)](this);return _0x383efb['_data']=this[_0x5c4bd3(0x2a6)][_0x5c4bd3(0x1f0)](),_0x383efb;},'_minBufferSize':0x0});_0x4d12fb['Hasher']=_0x3f84bc['extend']({'cfg':_0x108753['extend'](),'init':function(_0x79ddc6){const _0x529d3a=_0x5e3e44;this[_0x529d3a(0x57e)]=this[_0x529d3a(0x57e)][_0x529d3a(0x567)](_0x79ddc6),this[_0x529d3a(0x399)]();},'reset':function(){const _0x440a99=_0x5e3e44;_0x3f84bc['reset'][_0x440a99(0x27f)](this),this['_doReset']();},'update':function(_0x232cae){const _0x4b7b24=_0x5e3e44;return this[_0x4b7b24(0x312)](_0x232cae),this[_0x4b7b24(0x26c)](),this;},'finalize':function(_0x4b19f3){const _0x55d957=_0x5e3e44;_0x4b19f3&&this[_0x55d957(0x312)](_0x4b19f3);var _0x4ff2e3=this[_0x55d957(0x631)]();return _0x4ff2e3;},'blockSize':0x10,'_createHelper':function(_0x404e83){return function(_0x208a64,_0x58e6aa){const _0xd6bc34=_0x5645;return new _0x404e83[(_0xd6bc34(0x24f))](_0x58e6aa)[_0xd6bc34(0x2c8)](_0x208a64);};},'_createHmacHelper':function(_0x47be98){return function(_0x472688,_0x27b3ac){const _0x4e534b=_0x5645;return new _0x3e4524['HMAC']['init'](_0x47be98,_0x27b3ac)[_0x4e534b(0x2c8)](_0x472688);};}});var _0x3e4524=_0x85532a[_0x5e3e44(0x25f)]={};return _0x85532a;}(Math);return _0x20f552;}));}(_0x2db481)),_0x2db481['exports'];}var _0x1347e8={'exports':{}},_0x3c09ec;function _0x3620fc(){return _0x3c09ec||(_0x3c09ec=0x1,function(_0x5d76b1,_0x4399c1){(function(_0x5ecc5c,_0x2dcf13){const _0x2e6fd9=_0x5645;_0x5d76b1[_0x2e6fd9(0x3ab)]=_0x2dcf13(_0x159fd1());}(_0x7a6336,function(_0x8cb9e){const _0x2d9dca=_0x5645;return(function(){const _0x2589be=_0x5645;var _0x5efe64=_0x8cb9e,_0x490cd5=_0x5efe64[_0x2589be(0x486)],_0x2861d2=_0x490cd5[_0x2589be(0x3ad)],_0x442c93=_0x5efe64[_0x2589be(0x430)];_0x442c93[_0x2589be(0x514)]={'stringify':function(_0x392ea1){const _0xb5ed0e=_0x2589be;var _0x5d9577=_0x392ea1[_0xb5ed0e(0x61d)],_0x3a7e3b=_0x392ea1['sigBytes'],_0x4cb187=this[_0xb5ed0e(0x245)];_0x392ea1[_0xb5ed0e(0x669)]();for(var _0x194f91=[],_0x4d3a52=0x0;_0x4d3a52<_0x3a7e3b;_0x4d3a52+=0x3)for(var _0x47aac0=_0x5d9577[_0x4d3a52>>>0x2]>>>0x18-_0x4d3a52%0x4*0x8&0xff,_0x685561=_0x5d9577[_0x4d3a52+0x1>>>0x2]>>>0x18-(_0x4d3a52+0x1)%0x4*0x8&0xff,_0x1dcea0=_0x5d9577[_0x4d3a52+0x2>>>0x2]>>>0x18-(_0x4d3a52+0x2)%0x4*0x8&0xff,_0x5e7c18=_0x47aac0<<0x10|_0x685561<<0x8|_0x1dcea0,_0x586fe1=0x0;_0x586fe1<0x4&&_0x4d3a52+_0x586fe1*0.75<_0x3a7e3b;_0x586fe1++)_0x194f91['push'](_0x4cb187['charAt'](_0x5e7c18>>>0x6*(0x3-_0x586fe1)&0x3f));var _0x391ab7=_0x4cb187[_0xb5ed0e(0x468)](0x40);if(_0x391ab7){for(;_0x194f91[_0xb5ed0e(0x2df)]%0x4;)_0x194f91[_0xb5ed0e(0x28f)](_0x391ab7);}return _0x194f91[_0xb5ed0e(0x398)]('');},'parse':function(_0x4edce1){const _0x1de2bc=_0x2589be;var _0x4b0f9a=_0x4edce1[_0x1de2bc(0x2df)],_0x12ac77=this[_0x1de2bc(0x245)],_0x534491=this[_0x1de2bc(0x377)];if(!_0x534491){_0x534491=this[_0x1de2bc(0x377)]=[];for(var _0x358bea=0x0;_0x358bea<_0x12ac77['length'];_0x358bea++)_0x534491[_0x12ac77['charCodeAt'](_0x358bea)]=_0x358bea;}var _0x351972=_0x12ac77[_0x1de2bc(0x468)](0x40);if(_0x351972){var _0x272be2=_0x4edce1[_0x1de2bc(0x316)](_0x351972);_0x272be2!==-0x1&&(_0x4b0f9a=_0x272be2);}return _0x381685(_0x4edce1,_0x4b0f9a,_0x534491);},'_map':_0x2589be(0x2de)};function _0x381685(_0x30247e,_0x1578c1,_0x3fdc62){const _0x18b559=_0x2589be;for(var _0x294f2b=[],_0x55a4d7=0x0,_0x4a427f=0x0;_0x4a427f<_0x1578c1;_0x4a427f++)if(_0x4a427f%0x4){var _0x380c28=_0x3fdc62[_0x30247e[_0x18b559(0x374)](_0x4a427f-0x1)]<<_0x4a427f%0x4*0x2,_0xf191d0=_0x3fdc62[_0x30247e['charCodeAt'](_0x4a427f)]>>>0x6-_0x4a427f%0x4*0x2,_0x4aff40=_0x380c28|_0xf191d0;_0x294f2b[_0x55a4d7>>>0x2]|=_0x4aff40<<0x18-_0x55a4d7%0x4*0x8,_0x55a4d7++;}return _0x2861d2[_0x18b559(0x54c)](_0x294f2b,_0x55a4d7);}}()),_0x8cb9e['enc'][_0x2d9dca(0x514)];}));}(_0x1347e8)),_0x1347e8['exports'];}var _0x16adaa={'exports':{}},_0x561e7a;function _0x5d40ff(){const _0x3a1b8e=_0x270b48;return _0x561e7a||(_0x561e7a=0x1,function(_0x139045,_0x24aead){(function(_0x300cd6,_0x3dedb0){const _0x3797cd=_0x5645;_0x139045[_0x3797cd(0x3ab)]=_0x3dedb0(_0x159fd1());}(_0x7a6336,function(_0x59ed08){return function(_0x18c06e){const _0x527a2f=_0x5645;var _0x305f3c=_0x59ed08,_0x40df0a=_0x305f3c['lib'],_0x4aa81c=_0x40df0a[_0x527a2f(0x3ad)],_0x27b916=_0x40df0a[_0x527a2f(0x555)],_0xff715a=_0x305f3c['algo'],_0xe51ec0=[];(function(){const _0x2c3f9d=_0x527a2f;for(var _0x55504a=0x0;_0x55504a<0x40;_0x55504a++)_0xe51ec0[_0x55504a]=_0x18c06e[_0x2c3f9d(0x642)](_0x18c06e[_0x2c3f9d(0x535)](_0x55504a+0x1))*0x100000000|0x0;}());var _0x33c545=_0xff715a['MD5']=_0x27b916['extend']({'_doReset':function(){const _0x18f681=_0x527a2f;this[_0x18f681(0x241)]=new _0x4aa81c['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x3a85c5,_0x6160fe){const _0x31ac12=_0x527a2f;for(var _0x3c43c3=0x0;_0x3c43c3<0x10;_0x3c43c3++){var _0x410b0a=_0x6160fe+_0x3c43c3,_0x165eb2=_0x3a85c5[_0x410b0a];_0x3a85c5[_0x410b0a]=(_0x165eb2<<0x8|_0x165eb2>>>0x18)&0xff00ff|(_0x165eb2<<0x18|_0x165eb2>>>0x8)&0xff00ff00;}var _0x4074d7=this[_0x31ac12(0x241)][_0x31ac12(0x61d)],_0x4434fc=_0x3a85c5[_0x6160fe+0x0],_0x3fecc6=_0x3a85c5[_0x6160fe+0x1],_0x27144d=_0x3a85c5[_0x6160fe+0x2],_0x201887=_0x3a85c5[_0x6160fe+0x3],_0x33e311=_0x3a85c5[_0x6160fe+0x4],_0x569fbe=_0x3a85c5[_0x6160fe+0x5],_0x368dda=_0x3a85c5[_0x6160fe+0x6],_0x25c930=_0x3a85c5[_0x6160fe+0x7],_0x4a2be4=_0x3a85c5[_0x6160fe+0x8],_0x22981a=_0x3a85c5[_0x6160fe+0x9],_0x3ab64a=_0x3a85c5[_0x6160fe+0xa],_0x499662=_0x3a85c5[_0x6160fe+0xb],_0x3c093a=_0x3a85c5[_0x6160fe+0xc],_0x53106c=_0x3a85c5[_0x6160fe+0xd],_0x4eb0ca=_0x3a85c5[_0x6160fe+0xe],_0x57dea9=_0x3a85c5[_0x6160fe+0xf],_0x4203cc=_0x4074d7[0x0],_0x545da5=_0x4074d7[0x1],_0x16d350=_0x4074d7[0x2],_0x445c68=_0x4074d7[0x3];_0x4203cc=_0x5a11f1(_0x4203cc,_0x545da5,_0x16d350,_0x445c68,_0x4434fc,0x7,_0xe51ec0[0x0]),_0x445c68=_0x5a11f1(_0x445c68,_0x4203cc,_0x545da5,_0x16d350,_0x3fecc6,0xc,_0xe51ec0[0x1]),_0x16d350=_0x5a11f1(_0x16d350,_0x445c68,_0x4203cc,_0x545da5,_0x27144d,0x11,_0xe51ec0[0x2]),_0x545da5=_0x5a11f1(_0x545da5,_0x16d350,_0x445c68,_0x4203cc,_0x201887,0x16,_0xe51ec0[0x3]),_0x4203cc=_0x5a11f1(_0x4203cc,_0x545da5,_0x16d350,_0x445c68,_0x33e311,0x7,_0xe51ec0[0x4]),_0x445c68=_0x5a11f1(_0x445c68,_0x4203cc,_0x545da5,_0x16d350,_0x569fbe,0xc,_0xe51ec0[0x5]),_0x16d350=_0x5a11f1(_0x16d350,_0x445c68,_0x4203cc,_0x545da5,_0x368dda,0x11,_0xe51ec0[0x6]),_0x545da5=_0x5a11f1(_0x545da5,_0x16d350,_0x445c68,_0x4203cc,_0x25c930,0x16,_0xe51ec0[0x7]),_0x4203cc=_0x5a11f1(_0x4203cc,_0x545da5,_0x16d350,_0x445c68,_0x4a2be4,0x7,_0xe51ec0[0x8]),_0x445c68=_0x5a11f1(_0x445c68,_0x4203cc,_0x545da5,_0x16d350,_0x22981a,0xc,_0xe51ec0[0x9]),_0x16d350=_0x5a11f1(_0x16d350,_0x445c68,_0x4203cc,_0x545da5,_0x3ab64a,0x11,_0xe51ec0[0xa]),_0x545da5=_0x5a11f1(_0x545da5,_0x16d350,_0x445c68,_0x4203cc,_0x499662,0x16,_0xe51ec0[0xb]),_0x4203cc=_0x5a11f1(_0x4203cc,_0x545da5,_0x16d350,_0x445c68,_0x3c093a,0x7,_0xe51ec0[0xc]),_0x445c68=_0x5a11f1(_0x445c68,_0x4203cc,_0x545da5,_0x16d350,_0x53106c,0xc,_0xe51ec0[0xd]),_0x16d350=_0x5a11f1(_0x16d350,_0x445c68,_0x4203cc,_0x545da5,_0x4eb0ca,0x11,_0xe51ec0[0xe]),_0x545da5=_0x5a11f1(_0x545da5,_0x16d350,_0x445c68,_0x4203cc,_0x57dea9,0x16,_0xe51ec0[0xf]),_0x4203cc=_0x5357c9(_0x4203cc,_0x545da5,_0x16d350,_0x445c68,_0x3fecc6,0x5,_0xe51ec0[0x10]),_0x445c68=_0x5357c9(_0x445c68,_0x4203cc,_0x545da5,_0x16d350,_0x368dda,0x9,_0xe51ec0[0x11]),_0x16d350=_0x5357c9(_0x16d350,_0x445c68,_0x4203cc,_0x545da5,_0x499662,0xe,_0xe51ec0[0x12]),_0x545da5=_0x5357c9(_0x545da5,_0x16d350,_0x445c68,_0x4203cc,_0x4434fc,0x14,_0xe51ec0[0x13]),_0x4203cc=_0x5357c9(_0x4203cc,_0x545da5,_0x16d350,_0x445c68,_0x569fbe,0x5,_0xe51ec0[0x14]),_0x445c68=_0x5357c9(_0x445c68,_0x4203cc,_0x545da5,_0x16d350,_0x3ab64a,0x9,_0xe51ec0[0x15]),_0x16d350=_0x5357c9(_0x16d350,_0x445c68,_0x4203cc,_0x545da5,_0x57dea9,0xe,_0xe51ec0[0x16]),_0x545da5=_0x5357c9(_0x545da5,_0x16d350,_0x445c68,_0x4203cc,_0x33e311,0x14,_0xe51ec0[0x17]),_0x4203cc=_0x5357c9(_0x4203cc,_0x545da5,_0x16d350,_0x445c68,_0x22981a,0x5,_0xe51ec0[0x18]),_0x445c68=_0x5357c9(_0x445c68,_0x4203cc,_0x545da5,_0x16d350,_0x4eb0ca,0x9,_0xe51ec0[0x19]),_0x16d350=_0x5357c9(_0x16d350,_0x445c68,_0x4203cc,_0x545da5,_0x201887,0xe,_0xe51ec0[0x1a]),_0x545da5=_0x5357c9(_0x545da5,_0x16d350,_0x445c68,_0x4203cc,_0x4a2be4,0x14,_0xe51ec0[0x1b]),_0x4203cc=_0x5357c9(_0x4203cc,_0x545da5,_0x16d350,_0x445c68,_0x53106c,0x5,_0xe51ec0[0x1c]),_0x445c68=_0x5357c9(_0x445c68,_0x4203cc,_0x545da5,_0x16d350,_0x27144d,0x9,_0xe51ec0[0x1d]),_0x16d350=_0x5357c9(_0x16d350,_0x445c68,_0x4203cc,_0x545da5,_0x25c930,0xe,_0xe51ec0[0x1e]),_0x545da5=_0x5357c9(_0x545da5,_0x16d350,_0x445c68,_0x4203cc,_0x3c093a,0x14,_0xe51ec0[0x1f]),_0x4203cc=_0x1d3b5e(_0x4203cc,_0x545da5,_0x16d350,_0x445c68,_0x569fbe,0x4,_0xe51ec0[0x20]),_0x445c68=_0x1d3b5e(_0x445c68,_0x4203cc,_0x545da5,_0x16d350,_0x4a2be4,0xb,_0xe51ec0[0x21]),_0x16d350=_0x1d3b5e(_0x16d350,_0x445c68,_0x4203cc,_0x545da5,_0x499662,0x10,_0xe51ec0[0x22]),_0x545da5=_0x1d3b5e(_0x545da5,_0x16d350,_0x445c68,_0x4203cc,_0x4eb0ca,0x17,_0xe51ec0[0x23]),_0x4203cc=_0x1d3b5e(_0x4203cc,_0x545da5,_0x16d350,_0x445c68,_0x3fecc6,0x4,_0xe51ec0[0x24]),_0x445c68=_0x1d3b5e(_0x445c68,_0x4203cc,_0x545da5,_0x16d350,_0x33e311,0xb,_0xe51ec0[0x25]),_0x16d350=_0x1d3b5e(_0x16d350,_0x445c68,_0x4203cc,_0x545da5,_0x25c930,0x10,_0xe51ec0[0x26]),_0x545da5=_0x1d3b5e(_0x545da5,_0x16d350,_0x445c68,_0x4203cc,_0x3ab64a,0x17,_0xe51ec0[0x27]),_0x4203cc=_0x1d3b5e(_0x4203cc,_0x545da5,_0x16d350,_0x445c68,_0x53106c,0x4,_0xe51ec0[0x28]),_0x445c68=_0x1d3b5e(_0x445c68,_0x4203cc,_0x545da5,_0x16d350,_0x4434fc,0xb,_0xe51ec0[0x29]),_0x16d350=_0x1d3b5e(_0x16d350,_0x445c68,_0x4203cc,_0x545da5,_0x201887,0x10,_0xe51ec0[0x2a]),_0x545da5=_0x1d3b5e(_0x545da5,_0x16d350,_0x445c68,_0x4203cc,_0x368dda,0x17,_0xe51ec0[0x2b]),_0x4203cc=_0x1d3b5e(_0x4203cc,_0x545da5,_0x16d350,_0x445c68,_0x22981a,0x4,_0xe51ec0[0x2c]),_0x445c68=_0x1d3b5e(_0x445c68,_0x4203cc,_0x545da5,_0x16d350,_0x3c093a,0xb,_0xe51ec0[0x2d]),_0x16d350=_0x1d3b5e(_0x16d350,_0x445c68,_0x4203cc,_0x545da5,_0x57dea9,0x10,_0xe51ec0[0x2e]),_0x545da5=_0x1d3b5e(_0x545da5,_0x16d350,_0x445c68,_0x4203cc,_0x27144d,0x17,_0xe51ec0[0x2f]),_0x4203cc=_0x2c27b3(_0x4203cc,_0x545da5,_0x16d350,_0x445c68,_0x4434fc,0x6,_0xe51ec0[0x30]),_0x445c68=_0x2c27b3(_0x445c68,_0x4203cc,_0x545da5,_0x16d350,_0x25c930,0xa,_0xe51ec0[0x31]),_0x16d350=_0x2c27b3(_0x16d350,_0x445c68,_0x4203cc,_0x545da5,_0x4eb0ca,0xf,_0xe51ec0[0x32]),_0x545da5=_0x2c27b3(_0x545da5,_0x16d350,_0x445c68,_0x4203cc,_0x569fbe,0x15,_0xe51ec0[0x33]),_0x4203cc=_0x2c27b3(_0x4203cc,_0x545da5,_0x16d350,_0x445c68,_0x3c093a,0x6,_0xe51ec0[0x34]),_0x445c68=_0x2c27b3(_0x445c68,_0x4203cc,_0x545da5,_0x16d350,_0x201887,0xa,_0xe51ec0[0x35]),_0x16d350=_0x2c27b3(_0x16d350,_0x445c68,_0x4203cc,_0x545da5,_0x3ab64a,0xf,_0xe51ec0[0x36]),_0x545da5=_0x2c27b3(_0x545da5,_0x16d350,_0x445c68,_0x4203cc,_0x3fecc6,0x15,_0xe51ec0[0x37]),_0x4203cc=_0x2c27b3(_0x4203cc,_0x545da5,_0x16d350,_0x445c68,_0x4a2be4,0x6,_0xe51ec0[0x38]),_0x445c68=_0x2c27b3(_0x445c68,_0x4203cc,_0x545da5,_0x16d350,_0x57dea9,0xa,_0xe51ec0[0x39]),_0x16d350=_0x2c27b3(_0x16d350,_0x445c68,_0x4203cc,_0x545da5,_0x368dda,0xf,_0xe51ec0[0x3a]),_0x545da5=_0x2c27b3(_0x545da5,_0x16d350,_0x445c68,_0x4203cc,_0x53106c,0x15,_0xe51ec0[0x3b]),_0x4203cc=_0x2c27b3(_0x4203cc,_0x545da5,_0x16d350,_0x445c68,_0x33e311,0x6,_0xe51ec0[0x3c]),_0x445c68=_0x2c27b3(_0x445c68,_0x4203cc,_0x545da5,_0x16d350,_0x499662,0xa,_0xe51ec0[0x3d]),_0x16d350=_0x2c27b3(_0x16d350,_0x445c68,_0x4203cc,_0x545da5,_0x27144d,0xf,_0xe51ec0[0x3e]),_0x545da5=_0x2c27b3(_0x545da5,_0x16d350,_0x445c68,_0x4203cc,_0x22981a,0x15,_0xe51ec0[0x3f]),_0x4074d7[0x0]=_0x4074d7[0x0]+_0x4203cc|0x0,_0x4074d7[0x1]=_0x4074d7[0x1]+_0x545da5|0x0,_0x4074d7[0x2]=_0x4074d7[0x2]+_0x16d350|0x0,_0x4074d7[0x3]=_0x4074d7[0x3]+_0x445c68|0x0;},'_doFinalize':function(){const _0x4a072d=_0x527a2f;var _0x46ded4=this[_0x4a072d(0x2a6)],_0x60e6e7=_0x46ded4[_0x4a072d(0x61d)],_0x88b8c=this[_0x4a072d(0x319)]*0x8,_0x492af=_0x46ded4[_0x4a072d(0x26d)]*0x8;_0x60e6e7[_0x492af>>>0x5]|=0x80<<0x18-_0x492af%0x20;var _0x452da0=_0x18c06e['floor'](_0x88b8c/0x100000000),_0x382c08=_0x88b8c;_0x60e6e7[(_0x492af+0x40>>>0x9<<0x4)+0xf]=(_0x452da0<<0x8|_0x452da0>>>0x18)&0xff00ff|(_0x452da0<<0x18|_0x452da0>>>0x8)&0xff00ff00,_0x60e6e7[(_0x492af+0x40>>>0x9<<0x4)+0xe]=(_0x382c08<<0x8|_0x382c08>>>0x18)&0xff00ff|(_0x382c08<<0x18|_0x382c08>>>0x8)&0xff00ff00,_0x46ded4[_0x4a072d(0x26d)]=(_0x60e6e7[_0x4a072d(0x2df)]+0x1)*0x4,this[_0x4a072d(0x26c)]();for(var _0x31f68f=this[_0x4a072d(0x241)],_0x204dad=_0x31f68f['words'],_0x263efc=0x0;_0x263efc<0x4;_0x263efc++){var _0x486734=_0x204dad[_0x263efc];_0x204dad[_0x263efc]=(_0x486734<<0x8|_0x486734>>>0x18)&0xff00ff|(_0x486734<<0x18|_0x486734>>>0x8)&0xff00ff00;}return _0x31f68f;},'clone':function(){const _0x34ce80=_0x527a2f;var _0x11a735=_0x27b916[_0x34ce80(0x1f0)][_0x34ce80(0x27f)](this);return _0x11a735[_0x34ce80(0x241)]=this['_hash'][_0x34ce80(0x1f0)](),_0x11a735;}});function _0x5a11f1(_0x412284,_0x14ce1a,_0x36c9c7,_0x31dd24,_0x5b52b7,_0x44dd7d,_0x334a39){var _0x417b0f=_0x412284+(_0x14ce1a&_0x36c9c7|~_0x14ce1a&_0x31dd24)+_0x5b52b7+_0x334a39;return(_0x417b0f<<_0x44dd7d|_0x417b0f>>>0x20-_0x44dd7d)+_0x14ce1a;}function _0x5357c9(_0x46e062,_0x27cfbc,_0x11f1fd,_0x5e97c4,_0x390df6,_0x442ae3,_0x5f066c){var _0x3fe36d=_0x46e062+(_0x27cfbc&_0x5e97c4|_0x11f1fd&~_0x5e97c4)+_0x390df6+_0x5f066c;return(_0x3fe36d<<_0x442ae3|_0x3fe36d>>>0x20-_0x442ae3)+_0x27cfbc;}function _0x1d3b5e(_0x39cd0d,_0x247618,_0x299e10,_0x3781b2,_0x4ca97e,_0x4d1d52,_0x26931f){var _0x81543d=_0x39cd0d+(_0x247618^_0x299e10^_0x3781b2)+_0x4ca97e+_0x26931f;return(_0x81543d<<_0x4d1d52|_0x81543d>>>0x20-_0x4d1d52)+_0x247618;}function _0x2c27b3(_0x1537c9,_0x52e923,_0x262d8d,_0x4d9b3e,_0x4a9bf6,_0x3ac252,_0x6d44dc){var _0x15d23e=_0x1537c9+(_0x262d8d^(_0x52e923|~_0x4d9b3e))+_0x4a9bf6+_0x6d44dc;return(_0x15d23e<<_0x3ac252|_0x15d23e>>>0x20-_0x3ac252)+_0x52e923;}_0x305f3c[_0x527a2f(0x34b)]=_0x27b916['_createHelper'](_0x33c545),_0x305f3c['HmacMD5']=_0x27b916['_createHmacHelper'](_0x33c545);}(Math),_0x59ed08['MD5'];}));}(_0x16adaa)),_0x16adaa[_0x3a1b8e(0x3ab)];}var _0x1d27b0={'exports':{}},_0x3b4bb7={'exports':{}},_0x2ce963;function _0x5386db(){const _0x2c8c95=_0x270b48;return _0x2ce963||(_0x2ce963=0x1,function(_0x4a0c89,_0x537c99){(function(_0x4f8968,_0x152a5b){const _0x2cb66f=_0x5645;_0x4a0c89[_0x2cb66f(0x3ab)]=_0x152a5b(_0x159fd1());}(_0x7a6336,function(_0x585e7c){const _0x152e06=_0x5645;return(function(){const _0x569dd1=_0x5645;var _0x170cbc=_0x585e7c,_0x1b18d4=_0x170cbc[_0x569dd1(0x486)],_0x4ae808=_0x1b18d4[_0x569dd1(0x3ad)],_0x281524=_0x1b18d4['Hasher'],_0x1dbb9d=_0x170cbc[_0x569dd1(0x25f)],_0x1472b5=[],_0x47fb62=_0x1dbb9d[_0x569dd1(0x4a4)]=_0x281524[_0x569dd1(0x567)]({'_doReset':function(){const _0x526745=_0x569dd1;this[_0x526745(0x241)]=new _0x4ae808[(_0x526745(0x24f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x233f61,_0x21feb9){const _0x28f944=_0x569dd1;for(var _0x2576cb=this[_0x28f944(0x241)][_0x28f944(0x61d)],_0xdcd235=_0x2576cb[0x0],_0x4a1b92=_0x2576cb[0x1],_0x318435=_0x2576cb[0x2],_0x11f9db=_0x2576cb[0x3],_0x214273=_0x2576cb[0x4],_0x426a1c=0x0;_0x426a1c<0x50;_0x426a1c++){if(_0x426a1c<0x10)_0x1472b5[_0x426a1c]=_0x233f61[_0x21feb9+_0x426a1c]|0x0;else{var _0x22ee80=_0x1472b5[_0x426a1c-0x3]^_0x1472b5[_0x426a1c-0x8]^_0x1472b5[_0x426a1c-0xe]^_0x1472b5[_0x426a1c-0x10];_0x1472b5[_0x426a1c]=_0x22ee80<<0x1|_0x22ee80>>>0x1f;}var _0x37a1a2=(_0xdcd235<<0x5|_0xdcd235>>>0x1b)+_0x214273+_0x1472b5[_0x426a1c];_0x426a1c<0x14?_0x37a1a2+=(_0x4a1b92&_0x318435|~_0x4a1b92&_0x11f9db)+0x5a827999:_0x426a1c<0x28?_0x37a1a2+=(_0x4a1b92^_0x318435^_0x11f9db)+0x6ed9eba1:_0x426a1c<0x3c?_0x37a1a2+=(_0x4a1b92&_0x318435|_0x4a1b92&_0x11f9db|_0x318435&_0x11f9db)-0x70e44324:_0x37a1a2+=(_0x4a1b92^_0x318435^_0x11f9db)-0x359d3e2a,_0x214273=_0x11f9db,_0x11f9db=_0x318435,_0x318435=_0x4a1b92<<0x1e|_0x4a1b92>>>0x2,_0x4a1b92=_0xdcd235,_0xdcd235=_0x37a1a2;}_0x2576cb[0x0]=_0x2576cb[0x0]+_0xdcd235|0x0,_0x2576cb[0x1]=_0x2576cb[0x1]+_0x4a1b92|0x0,_0x2576cb[0x2]=_0x2576cb[0x2]+_0x318435|0x0,_0x2576cb[0x3]=_0x2576cb[0x3]+_0x11f9db|0x0,_0x2576cb[0x4]=_0x2576cb[0x4]+_0x214273|0x0;},'_doFinalize':function(){const _0x486a49=_0x569dd1;var _0x29883f=this[_0x486a49(0x2a6)],_0xaebabe=_0x29883f[_0x486a49(0x61d)],_0x5c6552=this['_nDataBytes']*0x8,_0x43e4bc=_0x29883f[_0x486a49(0x26d)]*0x8;return _0xaebabe[_0x43e4bc>>>0x5]|=0x80<<0x18-_0x43e4bc%0x20,_0xaebabe[(_0x43e4bc+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x5c6552/0x100000000),_0xaebabe[(_0x43e4bc+0x40>>>0x9<<0x4)+0xf]=_0x5c6552,_0x29883f[_0x486a49(0x26d)]=_0xaebabe[_0x486a49(0x2df)]*0x4,this[_0x486a49(0x26c)](),this[_0x486a49(0x241)];},'clone':function(){const _0x295100=_0x569dd1;var _0x2632e1=_0x281524[_0x295100(0x1f0)][_0x295100(0x27f)](this);return _0x2632e1[_0x295100(0x241)]=this[_0x295100(0x241)][_0x295100(0x1f0)](),_0x2632e1;}});_0x170cbc['SHA1']=_0x281524[_0x569dd1(0x54f)](_0x47fb62),_0x170cbc[_0x569dd1(0x359)]=_0x281524[_0x569dd1(0x214)](_0x47fb62);}()),_0x585e7c[_0x152e06(0x4a4)];}));}(_0x3b4bb7)),_0x3b4bb7[_0x2c8c95(0x3ab)];}var _0x222d13={'exports':{}},_0x533d08;function _0x3d822d(){return _0x533d08||(_0x533d08=0x1,function(_0xce96cf,_0x2125ce){(function(_0x28124a,_0x9f4117){const _0x349274=_0x5645;_0xce96cf[_0x349274(0x3ab)]=_0x9f4117(_0x159fd1());}(_0x7a6336,function(_0x59af9c){(function(){const _0x2a4e53=_0x5645;var _0x3e194f=_0x59af9c,_0x1429df=_0x3e194f[_0x2a4e53(0x486)],_0x4c05af=_0x1429df['Base'],_0x43fd16=_0x3e194f[_0x2a4e53(0x430)],_0x518662=_0x43fd16[_0x2a4e53(0x3c4)],_0x1b1d21=_0x3e194f['algo'];_0x1b1d21[_0x2a4e53(0x235)]=_0x4c05af[_0x2a4e53(0x567)]({'init':function(_0x596798,_0x5a228d){const _0x525d47=_0x2a4e53;_0x596798=this[_0x525d47(0x37b)]=new _0x596798['init'](),typeof _0x5a228d==_0x525d47(0x451)&&(_0x5a228d=_0x518662[_0x525d47(0x222)](_0x5a228d));var _0x3f23d1=_0x596798[_0x525d47(0x521)],_0x2273fe=_0x3f23d1*0x4;_0x5a228d[_0x525d47(0x26d)]>_0x2273fe&&(_0x5a228d=_0x596798[_0x525d47(0x2c8)](_0x5a228d)),_0x5a228d[_0x525d47(0x669)]();for(var _0x3098e1=this[_0x525d47(0x67f)]=_0x5a228d[_0x525d47(0x1f0)](),_0xe65c4f=this['_iKey']=_0x5a228d[_0x525d47(0x1f0)](),_0x40276c=_0x3098e1['words'],_0x12b32f=_0xe65c4f[_0x525d47(0x61d)],_0x1cd153=0x0;_0x1cd153<_0x3f23d1;_0x1cd153++)_0x40276c[_0x1cd153]^=0x5c5c5c5c,_0x12b32f[_0x1cd153]^=0x36363636;_0x3098e1[_0x525d47(0x26d)]=_0xe65c4f[_0x525d47(0x26d)]=_0x2273fe,this[_0x525d47(0x399)]();},'reset':function(){const _0x6185cf=_0x2a4e53;var _0x2920a0=this[_0x6185cf(0x37b)];_0x2920a0[_0x6185cf(0x399)](),_0x2920a0[_0x6185cf(0x3de)](this[_0x6185cf(0x4ec)]);},'update':function(_0xb8a5fb){const _0x197671=_0x2a4e53;return this[_0x197671(0x37b)][_0x197671(0x3de)](_0xb8a5fb),this;},'finalize':function(_0x4edc34){const _0x398001=_0x2a4e53;var _0x23e9fa=this[_0x398001(0x37b)],_0x763239=_0x23e9fa[_0x398001(0x2c8)](_0x4edc34);_0x23e9fa[_0x398001(0x399)]();var _0x1a6a4e=_0x23e9fa[_0x398001(0x2c8)](this[_0x398001(0x67f)][_0x398001(0x1f0)]()[_0x398001(0x32d)](_0x763239));return _0x1a6a4e;}});}());}));}(_0x222d13)),_0x222d13['exports'];}var _0x589cf8;function _0x22c2e4(){const _0x165b3a=_0x270b48;return _0x589cf8||(_0x589cf8=0x1,function(_0x4c017c,_0x376eae){(function(_0x102146,_0x3f58ec,_0x303edf){const _0x4cf2d8=_0x5645;_0x4c017c[_0x4cf2d8(0x3ab)]=_0x3f58ec(_0x159fd1(),_0x5386db(),_0x3d822d());}(_0x7a6336,function(_0x32e44c){const _0xff588a=_0x5645;return(function(){const _0x39f37d=_0x5645;var _0x4b3025=_0x32e44c,_0x3ee506=_0x4b3025[_0x39f37d(0x486)],_0x21f9cc=_0x3ee506['Base'],_0x3759b9=_0x3ee506[_0x39f37d(0x3ad)],_0x6582e0=_0x4b3025['algo'],_0x3ef523=_0x6582e0['MD5'],_0x45668a=_0x6582e0[_0x39f37d(0x247)]=_0x21f9cc['extend']({'cfg':_0x21f9cc[_0x39f37d(0x567)]({'keySize':0x80/0x20,'hasher':_0x3ef523,'iterations':0x1}),'init':function(_0xe0f2ea){const _0x20c35c=_0x39f37d;this['cfg']=this['cfg'][_0x20c35c(0x567)](_0xe0f2ea);},'compute':function(_0xb0ebbf,_0x4872c1){const _0x1288d2=_0x39f37d;for(var _0x5d4c46,_0x5a4a70=this[_0x1288d2(0x57e)],_0x5e6c32=_0x5a4a70['hasher'][_0x1288d2(0x54c)](),_0x43a707=_0x3759b9['create'](),_0x1ea21e=_0x43a707[_0x1288d2(0x61d)],_0x591c48=_0x5a4a70[_0x1288d2(0x262)],_0x2aa291=_0x5a4a70['iterations'];_0x1ea21e[_0x1288d2(0x2df)]<_0x591c48;){_0x5d4c46&&_0x5e6c32['update'](_0x5d4c46),_0x5d4c46=_0x5e6c32[_0x1288d2(0x3de)](_0xb0ebbf)[_0x1288d2(0x2c8)](_0x4872c1),_0x5e6c32[_0x1288d2(0x399)]();for(var _0x4ed239=0x1;_0x4ed239<_0x2aa291;_0x4ed239++)_0x5d4c46=_0x5e6c32['finalize'](_0x5d4c46),_0x5e6c32[_0x1288d2(0x399)]();_0x43a707[_0x1288d2(0x32d)](_0x5d4c46);}return _0x43a707['sigBytes']=_0x591c48*0x4,_0x43a707;}});_0x4b3025[_0x39f37d(0x247)]=function(_0x356383,_0x46ab22,_0x360982){const _0xcaba57=_0x39f37d;return _0x45668a[_0xcaba57(0x54c)](_0x360982)[_0xcaba57(0x61a)](_0x356383,_0x46ab22);};}()),_0x32e44c[_0xff588a(0x247)];}));}(_0x1d27b0)),_0x1d27b0[_0x165b3a(0x3ab)];}var _0x4a0213={'exports':{}},_0xf89b0b;function _0x45b237(){const _0x3d3d8f=_0x270b48;return _0xf89b0b||(_0xf89b0b=0x1,function(_0x1caeb2,_0x7f9a5e){(function(_0x2d55eb,_0x41863e,_0x35ef97){const _0x415e55=_0x5645;_0x1caeb2[_0x415e55(0x3ab)]=_0x41863e(_0x159fd1(),_0x22c2e4());}(_0x7a6336,function(_0x116df0){const _0x10fa46=_0x5645;_0x116df0[_0x10fa46(0x486)][_0x10fa46(0x66a)]||function(_0x588e4d){const _0x43fea3=_0x10fa46;var _0x1f0b0f=_0x116df0,_0x2c9d0f=_0x1f0b0f['lib'],_0x57d960=_0x2c9d0f[_0x43fea3(0x228)],_0x36f4d0=_0x2c9d0f[_0x43fea3(0x3ad)],_0x5d0a94=_0x2c9d0f['BufferedBlockAlgorithm'],_0x445c3e=_0x1f0b0f[_0x43fea3(0x430)];_0x445c3e[_0x43fea3(0x3c4)];var _0x16f03b=_0x445c3e[_0x43fea3(0x514)],_0x6789da=_0x1f0b0f[_0x43fea3(0x25f)],_0x53c6fb=_0x6789da[_0x43fea3(0x247)],_0x19921b=_0x2c9d0f[_0x43fea3(0x66a)]=_0x5d0a94[_0x43fea3(0x567)]({'cfg':_0x57d960[_0x43fea3(0x567)](),'createEncryptor':function(_0x24c1de,_0x4dc577){const _0xf92fc4=_0x43fea3;return this[_0xf92fc4(0x54c)](this[_0xf92fc4(0x5e9)],_0x24c1de,_0x4dc577);},'createDecryptor':function(_0x532686,_0x4f5c60){const _0x8c7c8c=_0x43fea3;return this[_0x8c7c8c(0x54c)](this[_0x8c7c8c(0x3ec)],_0x532686,_0x4f5c60);},'init':function(_0x25016f,_0x313407,_0x4ee704){const _0x384669=_0x43fea3;this[_0x384669(0x57e)]=this[_0x384669(0x57e)]['extend'](_0x4ee704),this[_0x384669(0x62a)]=_0x25016f,this[_0x384669(0x39f)]=_0x313407,this['reset']();},'reset':function(){const _0x440ba0=_0x43fea3;_0x5d0a94[_0x440ba0(0x399)][_0x440ba0(0x27f)](this),this[_0x440ba0(0x475)]();},'process':function(_0x156e9a){const _0x6089fd=_0x43fea3;return this[_0x6089fd(0x312)](_0x156e9a),this[_0x6089fd(0x26c)]();},'finalize':function(_0x311134){const _0x111bde=_0x43fea3;_0x311134&&this['_append'](_0x311134);var _0x267551=this[_0x111bde(0x631)]();return _0x267551;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1221a8(_0x2f9a12){const _0xd95155=_0x5645;return typeof _0x2f9a12==_0xd95155(0x451)?_0x123559:_0x4c7166;}return function(_0x292ad7){return{'encrypt':function(_0x11ecf7,_0x2ae111,_0x124f6d){return _0x1221a8(_0x2ae111)['encrypt'](_0x292ad7,_0x11ecf7,_0x2ae111,_0x124f6d);},'decrypt':function(_0x56a9b5,_0x1d4f4c,_0x514c96){const _0x3f8de3=_0x5645;return _0x1221a8(_0x1d4f4c)[_0x3f8de3(0x44b)](_0x292ad7,_0x56a9b5,_0x1d4f4c,_0x514c96);}};};}())});_0x2c9d0f[_0x43fea3(0x4bc)]=_0x19921b[_0x43fea3(0x567)]({'_doFinalize':function(){const _0x586a63=_0x43fea3;var _0x3cc9e2=this[_0x586a63(0x26c)](!0x0);return _0x3cc9e2;},'blockSize':0x1});var _0x260a0c=_0x1f0b0f[_0x43fea3(0x1ec)]={},_0x3d7b6d=_0x2c9d0f[_0x43fea3(0x23c)]=_0x57d960['extend']({'createEncryptor':function(_0x198361,_0x4a96bc){const _0x2da124=_0x43fea3;return this['Encryptor'][_0x2da124(0x54c)](_0x198361,_0x4a96bc);},'createDecryptor':function(_0x52ea1c,_0x20985a){const _0x3fe7db=_0x43fea3;return this['Decryptor'][_0x3fe7db(0x54c)](_0x52ea1c,_0x20985a);},'init':function(_0x392c6f,_0x1965a6){const _0x3f6ec2=_0x43fea3;this[_0x3f6ec2(0x2ac)]=_0x392c6f,this[_0x3f6ec2(0x463)]=_0x1965a6;}}),_0xf0372e=_0x260a0c[_0x43fea3(0x42b)]=(function(){const _0x59f242=_0x43fea3;var _0x2196f8=_0x3d7b6d[_0x59f242(0x567)]();_0x2196f8['Encryptor']=_0x2196f8[_0x59f242(0x567)]({'processBlock':function(_0x33a280,_0x524f7f){const _0x115341=_0x59f242;var _0x34470a=this[_0x115341(0x2ac)],_0x2f0f2e=_0x34470a[_0x115341(0x521)];_0x29ff3a[_0x115341(0x27f)](this,_0x33a280,_0x524f7f,_0x2f0f2e),_0x34470a[_0x115341(0x282)](_0x33a280,_0x524f7f),this[_0x115341(0x35c)]=_0x33a280['slice'](_0x524f7f,_0x524f7f+_0x2f0f2e);}}),_0x2196f8['Decryptor']=_0x2196f8[_0x59f242(0x567)]({'processBlock':function(_0x20045a,_0xf35b3a){const _0xf619d0=_0x59f242;var _0x17af62=this[_0xf619d0(0x2ac)],_0x1f508a=_0x17af62[_0xf619d0(0x521)],_0x16868c=_0x20045a[_0xf619d0(0x4ac)](_0xf35b3a,_0xf35b3a+_0x1f508a);_0x17af62[_0xf619d0(0x227)](_0x20045a,_0xf35b3a),_0x29ff3a[_0xf619d0(0x27f)](this,_0x20045a,_0xf35b3a,_0x1f508a),this[_0xf619d0(0x35c)]=_0x16868c;}});function _0x29ff3a(_0x10aa37,_0x24e74c,_0x4f1ed6){const _0x133bf9=_0x59f242;var _0x464c85,_0x595139=this[_0x133bf9(0x463)];_0x595139?(_0x464c85=_0x595139,this[_0x133bf9(0x463)]=_0x588e4d):_0x464c85=this['_prevBlock'];for(var _0x3b4eba=0x0;_0x3b4eba<_0x4f1ed6;_0x3b4eba++)_0x10aa37[_0x24e74c+_0x3b4eba]^=_0x464c85[_0x3b4eba];}return _0x2196f8;}()),_0x258934=_0x1f0b0f[_0x43fea3(0x566)]={},_0x2da643=_0x258934[_0x43fea3(0x3f2)]={'pad':function(_0x2e020a,_0x127079){const _0xb991d=_0x43fea3;for(var _0x1fa3ba=_0x127079*0x4,_0x5b62ef=_0x1fa3ba-_0x2e020a['sigBytes']%_0x1fa3ba,_0x4d0499=_0x5b62ef<<0x18|_0x5b62ef<<0x10|_0x5b62ef<<0x8|_0x5b62ef,_0x3f23bf=[],_0x347cb0=0x0;_0x347cb0<_0x5b62ef;_0x347cb0+=0x4)_0x3f23bf[_0xb991d(0x28f)](_0x4d0499);var _0x4c06a4=_0x36f4d0['create'](_0x3f23bf,_0x5b62ef);_0x2e020a[_0xb991d(0x32d)](_0x4c06a4);},'unpad':function(_0xaaa20e){const _0x2220bb=_0x43fea3;var _0x240981=_0xaaa20e[_0x2220bb(0x61d)][_0xaaa20e[_0x2220bb(0x26d)]-0x1>>>0x2]&0xff;_0xaaa20e[_0x2220bb(0x26d)]-=_0x240981;}};_0x2c9d0f[_0x43fea3(0x375)]=_0x19921b['extend']({'cfg':_0x19921b[_0x43fea3(0x57e)]['extend']({'mode':_0xf0372e,'padding':_0x2da643}),'reset':function(){const _0xfab907=_0x43fea3;var _0x5454e2;_0x19921b[_0xfab907(0x399)][_0xfab907(0x27f)](this);var _0xbe96e7=this[_0xfab907(0x57e)],_0x4c229d=_0xbe96e7['iv'],_0x361a81=_0xbe96e7[_0xfab907(0x1ec)];this['_xformMode']==this[_0xfab907(0x5e9)]?_0x5454e2=_0x361a81[_0xfab907(0x2a4)]:(_0x5454e2=_0x361a81[_0xfab907(0x3cd)],this['_minBufferSize']=0x1),this[_0xfab907(0x44c)]&&this[_0xfab907(0x44c)]['__creator']==_0x5454e2?this[_0xfab907(0x44c)][_0xfab907(0x24f)](this,_0x4c229d&&_0x4c229d[_0xfab907(0x61d)]):(this[_0xfab907(0x44c)]=_0x5454e2[_0xfab907(0x27f)](_0x361a81,this,_0x4c229d&&_0x4c229d[_0xfab907(0x61d)]),this['_mode'][_0xfab907(0x576)]=_0x5454e2);},'_doProcessBlock':function(_0x1b4db6,_0x148468){const _0x171213=_0x43fea3;this['_mode'][_0x171213(0x684)](_0x1b4db6,_0x148468);},'_doFinalize':function(){const _0x40ce3e=_0x43fea3;var _0x55f35f,_0x58ef77=this[_0x40ce3e(0x57e)][_0x40ce3e(0x327)];return this[_0x40ce3e(0x62a)]==this['_ENC_XFORM_MODE']?(_0x58ef77[_0x40ce3e(0x566)](this['_data'],this[_0x40ce3e(0x521)]),_0x55f35f=this[_0x40ce3e(0x26c)](!0x0)):(_0x55f35f=this['_process'](!0x0),_0x58ef77[_0x40ce3e(0x1e9)](_0x55f35f)),_0x55f35f;},'blockSize':0x80/0x20});var _0x18dbc1=_0x2c9d0f[_0x43fea3(0x1dc)]=_0x57d960[_0x43fea3(0x567)]({'init':function(_0x4479ef){const _0x1b9686=_0x43fea3;this[_0x1b9686(0x3c8)](_0x4479ef);},'toString':function(_0x1e6363){const _0xebac4c=_0x43fea3;return(_0x1e6363||this[_0xebac4c(0x2c3)])[_0xebac4c(0x254)](this);}}),_0x25df35=_0x1f0b0f[_0x43fea3(0x203)]={},_0x281253=_0x25df35[_0x43fea3(0x621)]={'stringify':function(_0x4828a8){const _0x15404c=_0x43fea3;var _0x567d61,_0x513c2f=_0x4828a8[_0x15404c(0x25a)],_0x5b9124=_0x4828a8['salt'];return _0x5b9124?_0x567d61=_0x36f4d0[_0x15404c(0x54c)]([0x53616c74,0x65645f5f])[_0x15404c(0x32d)](_0x5b9124)[_0x15404c(0x32d)](_0x513c2f):_0x567d61=_0x513c2f,_0x567d61[_0x15404c(0x638)](_0x16f03b);},'parse':function(_0xa0be61){const _0x542430=_0x43fea3;var _0x2046a1,_0x582bf5=_0x16f03b[_0x542430(0x222)](_0xa0be61),_0x4431dd=_0x582bf5[_0x542430(0x61d)];return _0x4431dd[0x0]==0x53616c74&&_0x4431dd[0x1]==0x65645f5f&&(_0x2046a1=_0x36f4d0['create'](_0x4431dd[_0x542430(0x4ac)](0x2,0x4)),_0x4431dd['splice'](0x0,0x4),_0x582bf5[_0x542430(0x26d)]-=0x10),_0x18dbc1[_0x542430(0x54c)]({'ciphertext':_0x582bf5,'salt':_0x2046a1});}},_0x4c7166=_0x2c9d0f['SerializableCipher']=_0x57d960[_0x43fea3(0x567)]({'cfg':_0x57d960[_0x43fea3(0x567)]({'format':_0x281253}),'encrypt':function(_0x5984f6,_0x2a4b88,_0x3cf012,_0x50fdf2){const _0x5e6f2f=_0x43fea3;_0x50fdf2=this[_0x5e6f2f(0x57e)][_0x5e6f2f(0x567)](_0x50fdf2);var _0x215af3=_0x5984f6[_0x5e6f2f(0x2a4)](_0x3cf012,_0x50fdf2),_0x53c838=_0x215af3[_0x5e6f2f(0x2c8)](_0x2a4b88),_0x249bf8=_0x215af3[_0x5e6f2f(0x57e)];return _0x18dbc1['create']({'ciphertext':_0x53c838,'key':_0x3cf012,'iv':_0x249bf8['iv'],'algorithm':_0x5984f6,'mode':_0x249bf8[_0x5e6f2f(0x1ec)],'padding':_0x249bf8[_0x5e6f2f(0x327)],'blockSize':_0x5984f6[_0x5e6f2f(0x521)],'formatter':_0x50fdf2[_0x5e6f2f(0x203)]});},'decrypt':function(_0x3f3121,_0x36eb1c,_0x3e60b2,_0x6da520){const _0x2f15c3=_0x43fea3;_0x6da520=this[_0x2f15c3(0x57e)][_0x2f15c3(0x567)](_0x6da520),_0x36eb1c=this[_0x2f15c3(0x4e6)](_0x36eb1c,_0x6da520[_0x2f15c3(0x203)]);var _0x8d1a22=_0x3f3121[_0x2f15c3(0x3cd)](_0x3e60b2,_0x6da520)[_0x2f15c3(0x2c8)](_0x36eb1c[_0x2f15c3(0x25a)]);return _0x8d1a22;},'_parse':function(_0x35c7f2,_0x13dd38){const _0x4d7274=_0x43fea3;return typeof _0x35c7f2==_0x4d7274(0x451)?_0x13dd38[_0x4d7274(0x222)](_0x35c7f2,this):_0x35c7f2;}}),_0x1033c7=_0x1f0b0f[_0x43fea3(0x3b5)]={},_0x219d91=_0x1033c7[_0x43fea3(0x621)]={'execute':function(_0x450f88,_0x2923ad,_0x435891,_0x4cab51,_0x1af84a){const _0x51a4a9=_0x43fea3;if(_0x4cab51||(_0x4cab51=_0x36f4d0[_0x51a4a9(0x641)](0x40/0x8)),_0x1af84a)var _0x3f941e=_0x53c6fb[_0x51a4a9(0x54c)]({'keySize':_0x2923ad+_0x435891,'hasher':_0x1af84a})['compute'](_0x450f88,_0x4cab51);else var _0x3f941e=_0x53c6fb[_0x51a4a9(0x54c)]({'keySize':_0x2923ad+_0x435891})[_0x51a4a9(0x61a)](_0x450f88,_0x4cab51);var _0x4c3005=_0x36f4d0['create'](_0x3f941e['words'][_0x51a4a9(0x4ac)](_0x2923ad),_0x435891*0x4);return _0x3f941e[_0x51a4a9(0x26d)]=_0x2923ad*0x4,_0x18dbc1[_0x51a4a9(0x54c)]({'key':_0x3f941e,'iv':_0x4c3005,'salt':_0x4cab51});}},_0x123559=_0x2c9d0f[_0x43fea3(0x5e6)]=_0x4c7166[_0x43fea3(0x567)]({'cfg':_0x4c7166[_0x43fea3(0x57e)][_0x43fea3(0x567)]({'kdf':_0x219d91}),'encrypt':function(_0x3f8ce8,_0x447a41,_0x597a51,_0x1f24b2){const _0x1071e5=_0x43fea3;_0x1f24b2=this[_0x1071e5(0x57e)]['extend'](_0x1f24b2);var _0x100014=_0x1f24b2['kdf'][_0x1071e5(0x3e4)](_0x597a51,_0x3f8ce8[_0x1071e5(0x262)],_0x3f8ce8[_0x1071e5(0x55a)],_0x1f24b2[_0x1071e5(0x46d)],_0x1f24b2[_0x1071e5(0x37c)]);_0x1f24b2['iv']=_0x100014['iv'];var _0x9a244d=_0x4c7166[_0x1071e5(0x5e3)][_0x1071e5(0x27f)](this,_0x3f8ce8,_0x447a41,_0x100014[_0x1071e5(0x20c)],_0x1f24b2);return _0x9a244d[_0x1071e5(0x3c8)](_0x100014),_0x9a244d;},'decrypt':function(_0x21ed0c,_0x5d30ec,_0x23a689,_0x585a82){const _0x8e3f75=_0x43fea3;_0x585a82=this['cfg'][_0x8e3f75(0x567)](_0x585a82),_0x5d30ec=this[_0x8e3f75(0x4e6)](_0x5d30ec,_0x585a82[_0x8e3f75(0x203)]);var _0x2b1685=_0x585a82[_0x8e3f75(0x3b5)]['execute'](_0x23a689,_0x21ed0c[_0x8e3f75(0x262)],_0x21ed0c['ivSize'],_0x5d30ec['salt'],_0x585a82[_0x8e3f75(0x37c)]);_0x585a82['iv']=_0x2b1685['iv'];var _0x2bce41=_0x4c7166[_0x8e3f75(0x44b)][_0x8e3f75(0x27f)](this,_0x21ed0c,_0x5d30ec,_0x2b1685['key'],_0x585a82);return _0x2bce41;}});}();}));}(_0x4a0213)),_0x4a0213[_0x3d3d8f(0x3ab)];}(function(_0x339d05,_0x2563ac){(function(_0x21f958,_0x54bc8d,_0x21632a){_0x339d05['exports']=_0x54bc8d(_0x159fd1(),_0x3620fc(),_0x5d40ff(),_0x22c2e4(),_0x45b237());}(_0x7a6336,function(_0x4108c5){const _0x26b11d=_0x5645;return(function(){const _0x39fbfc=_0x5645;var _0x1768e6=_0x4108c5,_0x23037d=_0x1768e6[_0x39fbfc(0x486)],_0x424b10=_0x23037d[_0x39fbfc(0x375)],_0x57eec9=_0x1768e6[_0x39fbfc(0x25f)],_0x343c11=[],_0x1d63f6=[],_0x588307=[],_0x5407c8=[],_0x2a2bc9=[],_0xe01719=[],_0x1fb69e=[],_0x142537=[],_0x38da68=[],_0x1949c4=[];(function(){for(var _0x29d7fb=[],_0x22d045=0x0;_0x22d045<0x100;_0x22d045++)_0x22d045<0x80?_0x29d7fb[_0x22d045]=_0x22d045<<0x1:_0x29d7fb[_0x22d045]=_0x22d045<<0x1^0x11b;for(var _0x1ea83c=0x0,_0x2ca3e5=0x0,_0x22d045=0x0;_0x22d045<0x100;_0x22d045++){var _0x1cc67e=_0x2ca3e5^_0x2ca3e5<<0x1^_0x2ca3e5<<0x2^_0x2ca3e5<<0x3^_0x2ca3e5<<0x4;_0x1cc67e=_0x1cc67e>>>0x8^_0x1cc67e&0xff^0x63,_0x343c11[_0x1ea83c]=_0x1cc67e,_0x1d63f6[_0x1cc67e]=_0x1ea83c;var _0x4b5be8=_0x29d7fb[_0x1ea83c],_0x43421e=_0x29d7fb[_0x4b5be8],_0x133127=_0x29d7fb[_0x43421e],_0x31ddcd=_0x29d7fb[_0x1cc67e]*0x101^_0x1cc67e*0x1010100;_0x588307[_0x1ea83c]=_0x31ddcd<<0x18|_0x31ddcd>>>0x8,_0x5407c8[_0x1ea83c]=_0x31ddcd<<0x10|_0x31ddcd>>>0x10,_0x2a2bc9[_0x1ea83c]=_0x31ddcd<<0x8|_0x31ddcd>>>0x18,_0xe01719[_0x1ea83c]=_0x31ddcd;var _0x31ddcd=_0x133127*0x1010101^_0x43421e*0x10001^_0x4b5be8*0x101^_0x1ea83c*0x1010100;_0x1fb69e[_0x1cc67e]=_0x31ddcd<<0x18|_0x31ddcd>>>0x8,_0x142537[_0x1cc67e]=_0x31ddcd<<0x10|_0x31ddcd>>>0x10,_0x38da68[_0x1cc67e]=_0x31ddcd<<0x8|_0x31ddcd>>>0x18,_0x1949c4[_0x1cc67e]=_0x31ddcd,_0x1ea83c?(_0x1ea83c=_0x4b5be8^_0x29d7fb[_0x29d7fb[_0x29d7fb[_0x133127^_0x4b5be8]]],_0x2ca3e5^=_0x29d7fb[_0x29d7fb[_0x2ca3e5]]):_0x1ea83c=_0x2ca3e5=0x1;}}());var _0x186890=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5275dc=_0x57eec9[_0x39fbfc(0x26e)]=_0x424b10[_0x39fbfc(0x567)]({'_doReset':function(){const _0x4d3efd=_0x39fbfc;var _0xc025f9;if(!(this[_0x4d3efd(0x4eb)]&&this[_0x4d3efd(0x2aa)]===this[_0x4d3efd(0x39f)])){for(var _0x2bdaeb=this[_0x4d3efd(0x2aa)]=this[_0x4d3efd(0x39f)],_0x3d0663=_0x2bdaeb[_0x4d3efd(0x61d)],_0x1f002d=_0x2bdaeb[_0x4d3efd(0x26d)]/0x4,_0x530ee8=this[_0x4d3efd(0x4eb)]=_0x1f002d+0x6,_0x2101cc=(_0x530ee8+0x1)*0x4,_0x271499=this['_keySchedule']=[],_0x270378=0x0;_0x270378<_0x2101cc;_0x270378++)_0x270378<_0x1f002d?_0x271499[_0x270378]=_0x3d0663[_0x270378]:(_0xc025f9=_0x271499[_0x270378-0x1],_0x270378%_0x1f002d?_0x1f002d>0x6&&_0x270378%_0x1f002d==0x4&&(_0xc025f9=_0x343c11[_0xc025f9>>>0x18]<<0x18|_0x343c11[_0xc025f9>>>0x10&0xff]<<0x10|_0x343c11[_0xc025f9>>>0x8&0xff]<<0x8|_0x343c11[_0xc025f9&0xff]):(_0xc025f9=_0xc025f9<<0x8|_0xc025f9>>>0x18,_0xc025f9=_0x343c11[_0xc025f9>>>0x18]<<0x18|_0x343c11[_0xc025f9>>>0x10&0xff]<<0x10|_0x343c11[_0xc025f9>>>0x8&0xff]<<0x8|_0x343c11[_0xc025f9&0xff],_0xc025f9^=_0x186890[_0x270378/_0x1f002d|0x0]<<0x18),_0x271499[_0x270378]=_0x271499[_0x270378-_0x1f002d]^_0xc025f9);for(var _0x432378=this[_0x4d3efd(0x3f1)]=[],_0x46a46c=0x0;_0x46a46c<_0x2101cc;_0x46a46c++){var _0x270378=_0x2101cc-_0x46a46c;if(_0x46a46c%0x4)var _0xc025f9=_0x271499[_0x270378];else var _0xc025f9=_0x271499[_0x270378-0x4];_0x46a46c<0x4||_0x270378<=0x4?_0x432378[_0x46a46c]=_0xc025f9:_0x432378[_0x46a46c]=_0x1fb69e[_0x343c11[_0xc025f9>>>0x18]]^_0x142537[_0x343c11[_0xc025f9>>>0x10&0xff]]^_0x38da68[_0x343c11[_0xc025f9>>>0x8&0xff]]^_0x1949c4[_0x343c11[_0xc025f9&0xff]];}}},'encryptBlock':function(_0x6dedee,_0x1cde6b){const _0x114875=_0x39fbfc;this[_0x114875(0x673)](_0x6dedee,_0x1cde6b,this[_0x114875(0x460)],_0x588307,_0x5407c8,_0x2a2bc9,_0xe01719,_0x343c11);},'decryptBlock':function(_0x369d0f,_0x457f98){const _0x21a90f=_0x39fbfc;var _0x35e706=_0x369d0f[_0x457f98+0x1];_0x369d0f[_0x457f98+0x1]=_0x369d0f[_0x457f98+0x3],_0x369d0f[_0x457f98+0x3]=_0x35e706,this[_0x21a90f(0x673)](_0x369d0f,_0x457f98,this['_invKeySchedule'],_0x1fb69e,_0x142537,_0x38da68,_0x1949c4,_0x1d63f6);var _0x35e706=_0x369d0f[_0x457f98+0x1];_0x369d0f[_0x457f98+0x1]=_0x369d0f[_0x457f98+0x3],_0x369d0f[_0x457f98+0x3]=_0x35e706;},'_doCryptBlock':function(_0x3e632d,_0x2fd90d,_0x25465e,_0x271f48,_0xd25071,_0x2980da,_0x5ec9b0,_0x5718d1){const _0x338eef=_0x39fbfc;for(var _0x12fd5e=this[_0x338eef(0x4eb)],_0x5560db=_0x3e632d[_0x2fd90d]^_0x25465e[0x0],_0x50ff0c=_0x3e632d[_0x2fd90d+0x1]^_0x25465e[0x1],_0x2eab8d=_0x3e632d[_0x2fd90d+0x2]^_0x25465e[0x2],_0x36a4fc=_0x3e632d[_0x2fd90d+0x3]^_0x25465e[0x3],_0x23afd5=0x4,_0x4624b0=0x1;_0x4624b0<_0x12fd5e;_0x4624b0++){var _0x21ec7c=_0x271f48[_0x5560db>>>0x18]^_0xd25071[_0x50ff0c>>>0x10&0xff]^_0x2980da[_0x2eab8d>>>0x8&0xff]^_0x5ec9b0[_0x36a4fc&0xff]^_0x25465e[_0x23afd5++],_0xa88650=_0x271f48[_0x50ff0c>>>0x18]^_0xd25071[_0x2eab8d>>>0x10&0xff]^_0x2980da[_0x36a4fc>>>0x8&0xff]^_0x5ec9b0[_0x5560db&0xff]^_0x25465e[_0x23afd5++],_0x1779ea=_0x271f48[_0x2eab8d>>>0x18]^_0xd25071[_0x36a4fc>>>0x10&0xff]^_0x2980da[_0x5560db>>>0x8&0xff]^_0x5ec9b0[_0x50ff0c&0xff]^_0x25465e[_0x23afd5++],_0x101bf3=_0x271f48[_0x36a4fc>>>0x18]^_0xd25071[_0x5560db>>>0x10&0xff]^_0x2980da[_0x50ff0c>>>0x8&0xff]^_0x5ec9b0[_0x2eab8d&0xff]^_0x25465e[_0x23afd5++];_0x5560db=_0x21ec7c,_0x50ff0c=_0xa88650,_0x2eab8d=_0x1779ea,_0x36a4fc=_0x101bf3;}var _0x21ec7c=(_0x5718d1[_0x5560db>>>0x18]<<0x18|_0x5718d1[_0x50ff0c>>>0x10&0xff]<<0x10|_0x5718d1[_0x2eab8d>>>0x8&0xff]<<0x8|_0x5718d1[_0x36a4fc&0xff])^_0x25465e[_0x23afd5++],_0xa88650=(_0x5718d1[_0x50ff0c>>>0x18]<<0x18|_0x5718d1[_0x2eab8d>>>0x10&0xff]<<0x10|_0x5718d1[_0x36a4fc>>>0x8&0xff]<<0x8|_0x5718d1[_0x5560db&0xff])^_0x25465e[_0x23afd5++],_0x1779ea=(_0x5718d1[_0x2eab8d>>>0x18]<<0x18|_0x5718d1[_0x36a4fc>>>0x10&0xff]<<0x10|_0x5718d1[_0x5560db>>>0x8&0xff]<<0x8|_0x5718d1[_0x50ff0c&0xff])^_0x25465e[_0x23afd5++],_0x101bf3=(_0x5718d1[_0x36a4fc>>>0x18]<<0x18|_0x5718d1[_0x5560db>>>0x10&0xff]<<0x10|_0x5718d1[_0x50ff0c>>>0x8&0xff]<<0x8|_0x5718d1[_0x2eab8d&0xff])^_0x25465e[_0x23afd5++];_0x3e632d[_0x2fd90d]=_0x21ec7c,_0x3e632d[_0x2fd90d+0x1]=_0xa88650,_0x3e632d[_0x2fd90d+0x2]=_0x1779ea,_0x3e632d[_0x2fd90d+0x3]=_0x101bf3;},'keySize':0x100/0x20});_0x1768e6[_0x39fbfc(0x26e)]=_0x424b10[_0x39fbfc(0x54f)](_0x5275dc);}()),_0x4108c5[_0x26b11d(0x26e)];}));}(_0x31d63f));var _0x3483dd=_0x31d63f[_0x270b48(0x3ab)];const _0x42170f=_0x58c50a(_0x3483dd);var _0x48eeec=_0x3620fc();const _0x14c1c2=_0x58c50a(_0x48eeec);var _0x17ea83={'exports':{}};(function(_0x25a503,_0x25ad60){(function(_0x2731d9,_0x1eaf51){const _0x215c87=_0x5645;_0x25a503[_0x215c87(0x3ab)]=_0x1eaf51(_0x159fd1());}(_0x7a6336,function(_0x12abe8){const _0x492eae=_0x5645;return _0x12abe8[_0x492eae(0x430)][_0x492eae(0x3c4)];}));}(_0x17ea83));var _0x3ea367=_0x17ea83[_0x270b48(0x3ab)];const _0x12dc45=_0x58c50a(_0x3ea367);var _0xce1a85={'exports':{}};(function(_0xa13e9f,_0x4d87da){(function(_0x337807,_0x1815fd){const _0x525059=_0x5645;_0xa13e9f[_0x525059(0x3ab)]=_0x1815fd(_0x159fd1());}(_0x7a6336,function(_0x587b35){const _0x46d4ba=_0x5645;return(function(){const _0x1ea2be=_0x5645;if(typeof ArrayBuffer==_0x1ea2be(0x37a)){var _0x47e0b1=_0x587b35,_0x1d5194=_0x47e0b1[_0x1ea2be(0x486)],_0x3e9ab8=_0x1d5194[_0x1ea2be(0x3ad)],_0x416ed1=_0x3e9ab8['init'],_0x3674fc=_0x3e9ab8['init']=function(_0x971af){const _0x19deb2=_0x1ea2be;if(_0x971af instanceof ArrayBuffer&&(_0x971af=new Uint8Array(_0x971af)),(_0x971af instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x971af instanceof Uint8ClampedArray||_0x971af instanceof Int16Array||_0x971af instanceof Uint16Array||_0x971af instanceof Int32Array||_0x971af instanceof Uint32Array||_0x971af instanceof Float32Array||_0x971af instanceof Float64Array)&&(_0x971af=new Uint8Array(_0x971af['buffer'],_0x971af[_0x19deb2(0x4c3)],_0x971af[_0x19deb2(0x45d)])),_0x971af instanceof Uint8Array){for(var _0x520172=_0x971af[_0x19deb2(0x45d)],_0x2bc98d=[],_0x51db4c=0x0;_0x51db4c<_0x520172;_0x51db4c++)_0x2bc98d[_0x51db4c>>>0x2]|=_0x971af[_0x51db4c]<<0x18-_0x51db4c%0x4*0x8;_0x416ed1['call'](this,_0x2bc98d,_0x520172);}else _0x416ed1[_0x19deb2(0x395)](this,arguments);};_0x3674fc[_0x1ea2be(0x27c)]=_0x3e9ab8;}}()),_0x587b35[_0x46d4ba(0x486)]['WordArray'];}));}(_0xce1a85));var _0x5ca7fb=_0xce1a85[_0x270b48(0x3ab)];const _0x808b0a=_0x58c50a(_0x5ca7fb);var _0x77c5ec={'exports':{}};(function(_0x4533ce,_0x5c2d09){(function(_0x3fd030,_0x64bad0,_0x38455e){const _0x25836c=_0x5645;_0x4533ce[_0x25836c(0x3ab)]=_0x64bad0(_0x159fd1(),_0x45b237());}(_0x7a6336,function(_0x4780b9){const _0x89c453=_0x5645;return _0x4780b9['pad']['NoPadding']={'pad':function(){},'unpad':function(){}},_0x4780b9[_0x89c453(0x566)][_0x89c453(0x41b)];}));}(_0x77c5ec));var _0x1d8cda=_0x77c5ec[_0x270b48(0x3ab)];const _0x5106b6=_0x58c50a(_0x1d8cda);function _0x494cb1(_0x503a9f,_0x140f83){const _0x409d0b=_0x270b48,_0x3bd8d0=_0x140f83-_0x503a9f[_0x409d0b(0x2df)]%_0x140f83,_0x43cef0=String[_0x409d0b(0x4b7)](_0x3bd8d0)[_0x409d0b(0x1d4)](_0x3bd8d0);return _0x503a9f+_0x43cef0;}function _0x1a82b4(_0x116954,_0x3168b9){const _0x2d2aa9=_0x270b48,_0x2ec72f=_0x808b0a[_0x2d2aa9(0x641)](0x10),_0x1afa91=_0x494cb1(_0x116954,0x10),_0x53a46b=_0x42170f[_0x2d2aa9(0x5e3)](_0x12dc45[_0x2d2aa9(0x222)](_0x1afa91),_0x14c1c2[_0x2d2aa9(0x222)](_0x3168b9),{'iv':_0x2ec72f,'padding':_0x5106b6});return _0x2ec72f[_0x2d2aa9(0x32d)](_0x53a46b[_0x2d2aa9(0x25a)])['toString'](_0x14c1c2);}function _0x2a755c(){const _0x52de10=_0x270b48,_0x3085ed=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x52de10(0x448)];if(_0x3085ed){const _0x21ad88={'time':Math[_0x52de10(0x22d)](Date[_0x52de10(0x285)]()/0x3e8),'domain':location[_0x52de10(0x401)]};return _0x1a82b4(JSON['stringify'](_0x21ad88),_0x3085ed);}}var _0x55e3c9=Object[_0x270b48(0x29d)],_0x23b847=Object[_0x270b48(0x255)],_0x2196f6=(_0x5c9a98,_0x101d96,_0x4a24f8,_0x180a32)=>{for(var _0x2be51f=_0x180a32>0x1?void 0x0:_0x180a32?_0x23b847(_0x101d96,_0x4a24f8):_0x101d96,_0x18cb04=_0x5c9a98['length']-0x1,_0x1d51c3;_0x18cb04>=0x0;_0x18cb04--)(_0x1d51c3=_0x5c9a98[_0x18cb04])&&(_0x2be51f=(_0x180a32?_0x1d51c3(_0x101d96,_0x4a24f8,_0x2be51f):_0x1d51c3(_0x2be51f))||_0x2be51f);return _0x180a32&&_0x2be51f&&_0x55e3c9(_0x101d96,_0x4a24f8,_0x2be51f),_0x2be51f;},_0x2c2ba4=(_0x440814,_0x388141)=>(_0x45919e,_0x638fa0)=>_0x388141(_0x45919e,_0x638fa0,_0x440814);let _0x36af76=class{constructor(_0x3ca3db){const _0xa384fd=_0x270b48;this['_httpService']=_0x3ca3db,this[_0xa384fd(0x31b)]();}[_0x270b48(0x31b)](){const _0x2f48a4=_0x270b48;this[_0x2f48a4(0x61c)][_0x2f48a4(0x362)]({'interceptor':(_0xd9446c,_0x4414d3)=>{const _0x24a69a=_0x2f48a4,_0x37f852=_0xd9446c['headers'],_0x152fdb=_0x2a755c();return _0x152fdb&&_0x37f852[_0x24a69a(0x472)](_0x24a69a(0x410),_0x152fdb),_0x4414d3(_0xd9446c);}});}};_0x36af76=_0x2196f6([_0x2c2ba4(0x0,_0x10122e['Inject'](_0xbfbac5['HTTPService']))],_0x36af76);var _0x55dcd3=Object[_0x270b48(0x29d)],_0x58236c=Object[_0x270b48(0x255)],_0xed5120=(_0x8b4976,_0x3cdc54,_0x37188e,_0x935106)=>{const _0x34695a=_0x270b48;for(var _0x44d850=_0x935106>0x1?void 0x0:_0x935106?_0x58236c(_0x3cdc54,_0x37188e):_0x3cdc54,_0x433ee2=_0x8b4976[_0x34695a(0x2df)]-0x1,_0x3853c3;_0x433ee2>=0x0;_0x433ee2--)(_0x3853c3=_0x8b4976[_0x433ee2])&&(_0x44d850=(_0x935106?_0x3853c3(_0x3cdc54,_0x37188e,_0x44d850):_0x3853c3(_0x44d850))||_0x44d850);return _0x935106&&_0x44d850&&_0x55dcd3(_0x3cdc54,_0x37188e,_0x44d850),_0x44d850;},_0x1f0d0c=(_0x40119c,_0x5640cb)=>(_0x3f099d,_0x1c3266)=>_0x5640cb(_0x3f099d,_0x1c3266,_0x40119c);const _0x3fb55f=[_0x270b48(0x2b1),_0x270b48(0x2ec),_0x270b48(0x3cf),_0x270b48(0x670),_0x270b48(0x232)],_0x17ffbf=0x5*0x400*0x400,_0xf0afe8=_0x270b48(0x649),_0x35422f=_0x270b48(0x268),_0x2f7daa=_0x270b48(0x588),_0x4f1f31='/universer-api/file/{fileID}/sign-url';_0x3ef0c0['ImageIoService']=class{constructor(_0x56c36d,_0x2ab834,_0x3ff0a3){const _0x35c5d6=_0x270b48;_0x11da04(this,'_waitCount',0x0),_0x11da04(this,_0x35c5d6(0x1e8),new _0x43beed[(_0x35c5d6(0x69a))]()),_0x11da04(this,'change$',this[_0x35c5d6(0x1e8)]),_0x11da04(this,'_imageSourceCache',new Map()),(this[_0x35c5d6(0x61c)]=_0x56c36d,this[_0x35c5d6(0x4dd)]=_0x2ab834,this['_univerInstanceService']=_0x3ff0a3);}['setWaitCount'](_0xddfd5f){const _0x170a66=_0x270b48;this[_0x170a66(0x593)]=_0xddfd5f,this[_0x170a66(0x1e8)][_0x170a66(0x299)](_0xddfd5f);}[_0x270b48(0x29c)](_0x46d2ab,_0x3d6c33){const _0x859e48=_0x270b48;if(_0x3d6c33===_0x104985[_0x859e48(0x637)]['BASE64']){const _0x4b24a1=new Image();return _0x4b24a1[_0x859e48(0x660)]=_0x46d2ab,_0x4b24a1;}return this[_0x859e48(0x5c9)][_0x859e48(0x56f)](_0x46d2ab);}['addImageSourceCache'](_0x56ad70,_0x222e26,_0x38c952){const _0xd7b896=_0x270b48;_0x222e26===_0x104985[_0xd7b896(0x637)][_0xd7b896(0x3b6)]||_0x38c952==null||this[_0xd7b896(0x5c9)][_0xd7b896(0x472)](_0x56ad70,_0x38c952);}async[_0x270b48(0x3fd)](_0x54442c){const _0x14bb4a=_0x270b48;try{const _0x5c06af=this['_replaceFileID'](this[_0x14bb4a(0x2ca)](),''+_0x54442c),_0x141b0a=(await this[_0x14bb4a(0x61c)][_0x14bb4a(0x56f)](_0x5c06af))[_0x14bb4a(0x4b2)];if(_0x141b0a['error']&&_0x141b0a[_0x14bb4a(0x371)][_0x14bb4a(0x38d)]===_0x44c59['OK']){const _0x3fba73=new URL(_0x141b0a[_0x14bb4a(0x248)],this[_0x14bb4a(0x4b6)]())[_0x14bb4a(0x638)]();return Promise[_0x14bb4a(0x689)](_0x3fba73);}return Promise[_0x14bb4a(0x536)](_0x141b0a[_0x14bb4a(0x371)]);}catch(_0x42c011){return Promise[_0x14bb4a(0x536)](_0x42c011);}}async[_0x270b48(0x5a5)](_0x4acbbc){const _0xe2bc0e=_0x270b48;let _0x1430a8='';if(!_0x3fb55f[_0xe2bc0e(0x68d)](_0x4acbbc[_0xe2bc0e(0x21d)]))return this['_decreaseWaiting'](),Promise[_0xe2bc0e(0x536)](new Error(_0x104985[_0xe2bc0e(0x490)][_0xe2bc0e(0x5f3)]));if(_0x4acbbc[_0xe2bc0e(0x611)]>_0x17ffbf)return this[_0xe2bc0e(0x36a)](),Promise[_0xe2bc0e(0x536)](new Error(_0x104985[_0xe2bc0e(0x490)][_0xe2bc0e(0x1d1)]));try{const _0x2b2091=new FormData();_0x2b2091[_0xe2bc0e(0x3fc)](_0xe2bc0e(0x5d3),_0x4acbbc);const _0x5f511c=this[_0xe2bc0e(0x3d7)][_0xe2bc0e(0x446)](),_0xec2bb8=_0x5f511c==null?void 0x0:_0x5f511c[_0xe2bc0e(0x337)]();if(!_0xec2bb8)throw new Error(_0xe2bc0e(0x231));const _0xef36cb=this[_0xe2bc0e(0x55b)]()+_0xe2bc0e(0x5cf)+_0x4acbbc[_0xe2bc0e(0x611)][_0xe2bc0e(0x638)]()+_0xe2bc0e(0x4c6)+_0x1b022a[_0xe2bc0e(0x226)]+'&assign='+encodeURIComponent(_0xec2bb8),_0x32fbdc=await(await fetch(_0xef36cb,{'method':_0xe2bc0e(0x383),'body':_0x2b2091}))[_0xe2bc0e(0x23a)]();if(typeof _0x32fbdc['FileId']!=_0xe2bc0e(0x451))return this[_0xe2bc0e(0x36a)](),Promise[_0xe2bc0e(0x536)](new Error(_0x104985[_0xe2bc0e(0x490)][_0xe2bc0e(0x55f)]));_0x1430a8=_0x32fbdc[_0xe2bc0e(0x528)];}catch{return this[_0xe2bc0e(0x36a)](),Promise[_0xe2bc0e(0x536)](new Error(_0x104985[_0xe2bc0e(0x490)][_0xe2bc0e(0x55f)]));}return new Promise((_0x427798,_0x2b5fc8)=>{const _0xb2b27c=_0xe2bc0e,_0x16ed58=new FileReader();_0x16ed58[_0xb2b27c(0x51f)](_0x4acbbc),_0x16ed58[_0xb2b27c(0x396)]=_0x42412b=>{const _0x5b6827=_0xb2b27c;var _0x253bd6;const _0x42b26b=(_0x253bd6=_0x42412b[_0x5b6827(0x3a9)])==null?void 0x0:_0x253bd6[_0x5b6827(0x698)];if(_0x42b26b==null){this['_decreaseWaiting'](),_0x2b5fc8(new Error(_0x104985['ImageUploadStatusType'][_0x5b6827(0x55f)]));return;}const _0x5dbf9d=_0x10122e[_0x5b6827(0x3bf)]['generateRandomId'](0x6);_0x427798({'imageId':_0x5dbf9d,'imageSourceType':_0x104985[_0x5b6827(0x637)]['UUID'],'source':_0x1430a8,'base64Cache':_0x42b26b,'status':_0x104985[_0x5b6827(0x490)][_0x5b6827(0x61b)]}),this[_0x5b6827(0x36a)]();};});}[_0x270b48(0x55b)](){const _0x2c6ff8=_0x270b48;var _0x3f4d64,_0x3e20ff;const _0x126820=this[_0x2c6ff8(0x4dd)][_0x2c6ff8(0x5f1)](_0xf0afe8),_0x96535d=this[_0x2c6ff8(0x4dd)][_0x2c6ff8(0x5f1)](_0x100cc6);return(_0x3e20ff=(_0x3f4d64=_0x96535d==null?void 0x0:_0x96535d[_0x2c6ff8(0x3eb)])!=null?_0x3f4d64:_0x126820)!=null?_0x3e20ff:_0x35422f;}[_0x270b48(0x2ca)](){const _0x198dfe=_0x270b48;var _0xcd2819,_0x53276d;const _0x14c2ec=this[_0x198dfe(0x4dd)]['getConfig'](_0x2f7daa),_0x47cd6b=this['_configService'][_0x198dfe(0x5f1)](_0x100cc6);return(_0x53276d=(_0xcd2819=_0x47cd6b==null?void 0x0:_0x47cd6b[_0x198dfe(0x249)])!=null?_0xcd2819:_0x14c2ec)!=null?_0x53276d:_0x4f1f31;}[_0x270b48(0x4b6)](){const _0x38fa96=_0x270b48;var _0x4c0204;const _0x5b4598=this[_0x38fa96(0x4dd)][_0x38fa96(0x5f1)](_0x100cc6);return(_0x4c0204=_0x5b4598==null?void 0x0:_0x5b4598[_0x38fa96(0x55c)])!=null?_0x4c0204:location[_0x38fa96(0x516)];}[_0x270b48(0x1f8)](_0x2e5faa,_0x273a2f){const _0x5a630e=_0x270b48;return _0x2e5faa[_0x5a630e(0x627)](_0x5a630e(0x2a2),_0x273a2f);}['_decreaseWaiting'](){const _0xb0424a=_0x270b48;this[_0xb0424a(0x593)]-=0x1,this['_change$'][_0xb0424a(0x299)](this[_0xb0424a(0x593)]);}},_0x3ef0c0[_0x270b48(0x447)]=_0xed5120([_0x1f0d0c(0x0,_0x10122e[_0x270b48(0x5c7)](_0xbfbac5[_0x270b48(0x3d4)])),_0x1f0d0c(0x1,_0x10122e[_0x270b48(0x635)]),_0x1f0d0c(0x2,_0x10122e['Inject'](_0x10122e['IUniverInstanceService']))],_0x3ef0c0[_0x270b48(0x447)]);var _0x31ce70=Object[_0x270b48(0x29d)],_0x487b50=Object[_0x270b48(0x255)],_0x591739=(_0x5cad78,_0x41b45d,_0x51b493,_0x449c02)=>{const _0x3c51dc=_0x270b48;for(var _0x30da5e=_0x449c02>0x1?void 0x0:_0x449c02?_0x487b50(_0x41b45d,_0x51b493):_0x41b45d,_0x17a46c=_0x5cad78[_0x3c51dc(0x2df)]-0x1,_0x1c6cd7;_0x17a46c>=0x0;_0x17a46c--)(_0x1c6cd7=_0x5cad78[_0x17a46c])&&(_0x30da5e=(_0x449c02?_0x1c6cd7(_0x41b45d,_0x51b493,_0x30da5e):_0x1c6cd7(_0x30da5e))||_0x30da5e);return _0x449c02&&_0x30da5e&&_0x31ce70(_0x41b45d,_0x51b493,_0x30da5e),_0x30da5e;},_0xf7f85=(_0x1ef53a,_0x162db7)=>(_0x2fb83f,_0x327d55)=>_0x162db7(_0x2fb83f,_0x327d55,_0x1ef53a);let _0x5c0bc4=class extends _0x10122e['RxDisposable']{constructor(_0x537f4f,_0x5e3f3f,_0x156e8f,_0x164af6,_0x221950){const _0xabf79a=_0x270b48;super(),this[_0xabf79a(0x358)]=_0x537f4f,this['_univerInstanceService']=_0x5e3f3f,this[_0xabf79a(0x256)]=_0x156e8f,this[_0xabf79a(0x553)]=_0x164af6,this[_0xabf79a(0x548)]=_0x221950,this[_0xabf79a(0x533)](),this[_0xabf79a(0x526)]();}[_0x270b48(0x526)](){const _0x5b4f1a=_0x270b48,_0x402131=async _0x38bad8=>{const _0x3c89d4=_0x5645;(await this[_0x3c89d4(0x553)][_0x3c89d4(0x38a)](_0x38bad8))[_0x3c89d4(0x334)][_0x3c89d4(0x3fb)](_0x107fd5[_0x3c89d4(0x4d0)](_0x5a5669=>_0x5a5669[_0x3c89d4(0x53d)]===_0x434c76[_0x3c89d4(0x4cc)]['SHOULD_CLOSE_CONN']),_0x107fd5[_0x3c89d4(0x57a)](this['dispose$']))['subscribe'](_0x26447c=>{const _0x20f091=_0x3c89d4,_0x2ee3c0=_0x26447c,{reason:_0x593ed2}=_0x2ee3c0[_0x20f091(0x52b)];this['_injector']['get'](_0x3421c5['IMessageService'])[_0x20f091(0x36c)]({'type':_0x4811a0['MessageType']['Error'],'content':this[_0x20f091(0x548)]['t']('collaboration.closeRoom')+'('+_0x593ed2+')'}),this[_0x20f091(0x256)][_0x20f091(0x59e)](new _0x43d50e[(_0x20f091(0x2ff))](_0x38bad8)['id'],!0x1),this[_0x20f091(0x553)][_0x20f091(0x688)](_0x38bad8);});};_0x43beed['merge'](this['_univerInstanceService'][_0x5b4f1a(0x3cc)](_0x10122e['UniverInstanceType']['UNIVER_SHEET']),this[_0x5b4f1a(0x3d7)]['getTypeOfUnitAdded$'](_0x10122e[_0x5b4f1a(0x348)][_0x5b4f1a(0x414)]))['pipe'](_0x107fd5[_0x5b4f1a(0x60f)](_0x2e1e7c=>_0x2e1e7c[_0x5b4f1a(0x337)]()),_0x107fd5[_0x5b4f1a(0x4d0)](_0x519242=>!_0x10122e[_0x5b4f1a(0x24c)](_0x519242)),_0x107fd5[_0x5b4f1a(0x57a)](this[_0x5b4f1a(0x488)]))[_0x5b4f1a(0x40f)](_0xe9efd9=>{_0x402131(_0xe9efd9);});}[_0x270b48(0x533)](){const _0x8ca394=_0x270b48,_0xaf9992=async _0x401c40=>{const _0xf5fcac=_0x5645;(await this['_collaborationSessionService'][_0xf5fcac(0x38a)](_0x401c40))[_0xf5fcac(0x334)][_0xf5fcac(0x3fb)](_0x107fd5[_0xf5fcac(0x4d0)](_0x478384=>_0x478384[_0xf5fcac(0x53d)]===_0x434c76[_0xf5fcac(0x4cc)][_0xf5fcac(0x691)]),_0x107fd5[_0xf5fcac(0x57a)](this[_0xf5fcac(0x488)]))[_0xf5fcac(0x40f)](_0x445366=>{const _0x5121a4=_0xf5fcac,_0x9aa605=_0x445366,{objectId:_0x11791b}=_0x9aa605[_0x5121a4(0x52b)],_0x19568d=this['_injector'][_0x5121a4(0x56f)](_0x4a1dc3[_0x5121a4(0x32c)]);_0x11791b===_0x401c40?_0x19568d['initWorkbookPermissionChange'](_0x401c40):_0x19568d[_0x5121a4(0x2e1)](_0x401c40,_0x11791b);});};_0x43beed[_0x8ca394(0x1f9)](this[_0x8ca394(0x3d7)][_0x8ca394(0x3cc)](_0x10122e[_0x8ca394(0x348)][_0x8ca394(0x4e9)]),this[_0x8ca394(0x3d7)][_0x8ca394(0x3cc)](_0x10122e[_0x8ca394(0x348)][_0x8ca394(0x414)]))['pipe'](_0x107fd5[_0x8ca394(0x60f)](_0x156667=>_0x156667[_0x8ca394(0x337)]()),_0x107fd5['filter'](_0x476c23=>!_0x10122e[_0x8ca394(0x24c)](_0x476c23)),_0x107fd5[_0x8ca394(0x57a)](this[_0x8ca394(0x488)]))[_0x8ca394(0x40f)](_0x4b0ff7=>{_0xaf9992(_0x4b0ff7);});}};_0x5c0bc4=_0x591739([_0xf7f85(0x0,_0x10122e[_0x270b48(0x5c7)](_0x10122e[_0x270b48(0x53a)])),_0xf7f85(0x1,_0x10122e[_0x270b48(0x204)]),_0xf7f85(0x2,_0x10122e[_0x270b48(0x380)]),_0xf7f85(0x3,_0x10122e['Inject'](_0x3ef0c0[_0x270b48(0x5ae)])),_0xf7f85(0x4,_0x10122e[_0x270b48(0x5c7)](_0x10122e[_0x270b48(0x42c)]))],_0x5c0bc4);var _0x56176a=Object[_0x270b48(0x29d)],_0xa112e4=Object[_0x270b48(0x255)],_0x348982=(_0x43bf67,_0x50f24b,_0x584d46,_0x868571)=>{const _0x286d60=_0x270b48;for(var _0x111b2e=_0x868571>0x1?void 0x0:_0x868571?_0xa112e4(_0x50f24b,_0x584d46):_0x50f24b,_0x3f57d5=_0x43bf67[_0x286d60(0x2df)]-0x1,_0x4304d7;_0x3f57d5>=0x0;_0x3f57d5--)(_0x4304d7=_0x43bf67[_0x3f57d5])&&(_0x111b2e=(_0x868571?_0x4304d7(_0x50f24b,_0x584d46,_0x111b2e):_0x4304d7(_0x111b2e))||_0x111b2e);return _0x868571&&_0x111b2e&&_0x56176a(_0x50f24b,_0x584d46,_0x111b2e),_0x111b2e;},_0xed359b=(_0x520784,_0x1f2a0d)=>(_0xf24393,_0x101188)=>_0x1f2a0d(_0xf24393,_0x101188,_0x520784);_0x3ef0c0['SnapshotServerOverHTTPService']=class{constructor(_0x14476a,_0x5e4846){const _0x5bdb62=_0x270b48;this[_0x5bdb62(0x4dd)]=_0x14476a,this[_0x5bdb62(0x61c)]=_0x5e4846;}async[_0x270b48(0x279)](_0x37fa50,_0xdef07d){const _0x2c79e6=_0x270b48;var _0x273b12;const {unitID:_0x1094e1,type:_0x538699,revision:_0x6f0479=0x0}=_0xdef07d,_0x5b2b93=this[_0x2c79e6(0x385)]()+'/'+_0x538699+'/unit/'+_0x1094e1+_0x2c79e6(0x412)+_0x6f0479,_0x4e5bd4=(await this[_0x2c79e6(0x61c)][_0x2c79e6(0x56f)](_0x5b2b93))[_0x2c79e6(0x4b2)],_0x4060ac=(_0x273b12=_0x4e5bd4[_0x2c79e6(0x49c)])==null?void 0x0:_0x273b12[_0x2c79e6(0x212)];if(_0x4060ac){const _0x171a1f=_0x4060ac==null?void 0x0:_0x4060ac['originalMeta'],_0x51fd61=_0x434c76[_0x2c79e6(0x5fc)][_0x2c79e6(0x41e)](_0x434c76['b64DecodeUnicode'](_0x171a1f));_0x4060ac[_0x2c79e6(0x322)]=_0x51fd61,Object[_0x2c79e6(0x2dc)](_0x4060ac[_0x2c79e6(0x49d)])[_0x2c79e6(0x4bd)](([,_0x1a2c28])=>{const _0x1968e4=_0x2c79e6,_0x1e61e6=_0x1a2c28['originalMeta'],_0x256b88=_0x434c76[_0x1968e4(0x5fc)][_0x1968e4(0x41e)](_0x434c76['b64DecodeUnicode'](_0x1e61e6));_0x1a2c28[_0x1968e4(0x322)]=_0x256b88;});}return _0x4e5bd4;}async[_0x270b48(0x339)](_0x306fc0,_0x5c91ce){const _0x20d583=_0x270b48,{unitID:_0xd9369e,type:_0x51006e,blockID:_0xd087de}=_0x5c91ce,_0x3537c2=this[_0x20d583(0x5d2)]()+'/'+_0x51006e+_0x20d583(0x5df)+_0xd9369e+_0x20d583(0x5e1)+_0xd087de;return(await this[_0x20d583(0x61c)][_0x20d583(0x56f)](_0x3537c2))[_0x20d583(0x4b2)];}async[_0x270b48(0x2a5)](_0x1690ed,_0x541048){const _0x9d8630=_0x270b48,{unitID:_0x53d358,type:_0x11c59b,blockID:_0x55c482}=_0x541048,_0x246dea=this['_getAPIPrefix']()+_0x9d8630(0x5e1)+_0x11c59b+_0x9d8630(0x5df)+_0x53d358+_0x9d8630(0x5e1)+_0x55c482;return(await this['_httpService'][_0x9d8630(0x56f)](_0x246dea))[_0x9d8630(0x4b2)];}async[_0x270b48(0x391)](_0x14a398,_0xf554e9){const _0x3bf620=_0x270b48,{unitID:_0x536e68,type:_0x393b88,from:_0xfdc64b,to:_0x160187}=_0xf554e9,_0x173fac=this[_0x3bf620(0x5d2)]()+'/'+_0x393b88+_0x3bf620(0x5df)+_0x536e68+'/fetchmissing?from='+_0xfdc64b+_0x3bf620(0x25d)+_0x160187;return(await this[_0x3bf620(0x61c)][_0x3bf620(0x56f)](_0x173fac))['body'];}[_0x270b48(0x385)](){const _0x3607c5=_0x270b48;var _0x4aed46;return(_0x4aed46=this[_0x3607c5(0x4dd)][_0x3607c5(0x5f1)](_0x34146a))!=null?_0x4aed46:this[_0x3607c5(0x5d2)]();}[_0x270b48(0x5d2)](){const _0x555282=_0x270b48;var _0x5124ca,_0x4493a4;const _0x384e7f=this[_0x555282(0x4dd)][_0x555282(0x5f1)](_0x22bdd1),_0x4aa61d=this['_configService'][_0x555282(0x5f1)](_0x100cc6);return(_0x4493a4=(_0x5124ca=_0x4aa61d==null?void 0x0:_0x4aa61d[_0x555282(0x21a)])!=null?_0x5124ca:_0x384e7f)!=null?_0x4493a4:_0x15f70a;}async['getResourcesRequest'](_0x11d2fc,_0x1e54a1){const _0x58aa59=_0x270b48,_0x3c33e4=_0x58aa59(0x411)+_0x1e54a1[_0x58aa59(0x21d)]+_0x58aa59(0x5df)+_0x1e54a1[_0x58aa59(0x224)]+_0x58aa59(0x4ed);return(await this[_0x58aa59(0x61c)][_0x58aa59(0x56f)](_0x3c33e4,{'params':{'resourceId':JSON[_0x58aa59(0x254)](_0x1e54a1['resourceIDs'])}}))['body'];}[_0x270b48(0x49f)](){const _0x23787c=_0x270b48;throw new Error(_0x23787c(0x58a));}[_0x270b48(0x4c7)](){const _0x5f5996=_0x270b48;throw new Error(_0x5f5996(0x58a));}[_0x270b48(0x39e)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['copyFileMeta'](){const _0x3509de=_0x270b48;throw new Error(_0x3509de(0x58a));}[_0x270b48(0x3ba)](){const _0x1457eb=_0x270b48;throw new Error(_0x1457eb(0x58a));}},_0x3ef0c0['SnapshotServerOverHTTPService']=_0x348982([_0xed359b(0x0,_0x10122e['IConfigService']),_0xed359b(0x1,_0x10122e[_0x270b48(0x5c7)](_0xbfbac5[_0x270b48(0x3d4)]))],_0x3ef0c0[_0x270b48(0x234)]);var _0x3d256d=Object[_0x270b48(0x29d)],_0x2736b8=Object[_0x270b48(0x255)],_0x1a75d6=(_0x196c77,_0x5a670f,_0xb8b18f,_0x3f4f77)=>{const _0x18afd1=_0x270b48;for(var _0x3dbdb0=_0x3f4f77>0x1?void 0x0:_0x3f4f77?_0x2736b8(_0x5a670f,_0xb8b18f):_0x5a670f,_0xc88856=_0x196c77[_0x18afd1(0x2df)]-0x1,_0xa823d8;_0xc88856>=0x0;_0xc88856--)(_0xa823d8=_0x196c77[_0xc88856])&&(_0x3dbdb0=(_0x3f4f77?_0xa823d8(_0x5a670f,_0xb8b18f,_0x3dbdb0):_0xa823d8(_0x3dbdb0))||_0x3dbdb0);return _0x3f4f77&&_0x3dbdb0&&_0x3d256d(_0x5a670f,_0xb8b18f,_0x3dbdb0),_0x3dbdb0;},_0x3c5d7c=(_0x20bf2d,_0x4dbd59)=>(_0x11851f,_0x5a31c5)=>_0x4dbd59(_0x11851f,_0x5a31c5,_0x20bf2d);let _0x59543f=class extends _0x10122e['LocalUndoRedoService']{constructor(_0x5f6551,_0x2a5bd6,_0x3384de,_0x3b1819,_0x4ec683){const _0x190549=_0x270b48;super(_0x5f6551,_0x2a5bd6,_0x3384de),this[_0x190549(0x54b)]=_0x3b1819,this[_0x190549(0x477)]=_0x4ec683;}[_0x270b48(0x507)](_0x42ca4d,_0x5cdab5){const _0xd790f0=_0x270b48,_0x490245=this[_0xd790f0(0x58f)](_0x42ca4d);if(_0x490245)try{const _0x3c0c4e=this[_0xd790f0(0x2b7)](_0x490245,_0x5cdab5);this[_0xd790f0(0x340)](_0x42ca4d,_0x3c0c4e);}catch(_0x445876){this[_0xd790f0(0x477)][_0xd790f0(0x371)](_0xd790f0(0x30b),_0x445876),this[_0xd790f0(0x415)](_0x42ca4d);}const _0x4ca2ea=this[_0xd790f0(0x378)](_0x42ca4d);if(_0x4ca2ea)try{const _0x50e175=this['_transformStack'](_0x4ca2ea,_0x5cdab5);this[_0xd790f0(0x2ab)](_0x42ca4d,_0x50e175);}catch(_0x36a562){this[_0xd790f0(0x477)][_0xd790f0(0x371)](_0x36a562),this['_clearRedo'](_0x42ca4d);}}[_0x270b48(0x415)](_0x3cc775){const _0x2c3e6d=_0x270b48,_0x1c14b1=this[_0x2c3e6d(0x58f)](_0x3cc775);_0x1c14b1&&(_0x1c14b1[_0x2c3e6d(0x2df)]=0x0,this['_updateStatus']());}[_0x270b48(0x35d)](_0x4ca565){const _0x2df699=_0x270b48,_0x4c2eae=this['_getRedoStack'](_0x4ca565);_0x4c2eae&&(_0x4c2eae[_0x2df699(0x2df)]=0x0,this[_0x2df699(0x4ee)]());}[_0x270b48(0x340)](_0x42f21b,_0x1c6f35){const _0x54a678=_0x270b48;this[_0x54a678(0x24a)]['set'](_0x42f21b,_0x1c6f35),this['_updateStatus']();}[_0x270b48(0x2ab)](_0x41d495,_0x2e1004){const _0x371ebf=_0x270b48;this[_0x371ebf(0x328)][_0x371ebf(0x472)](_0x41d495,_0x2e1004),this[_0x371ebf(0x4ee)]();}[_0x270b48(0x2b7)](_0x5b6283,_0x3ef099){const _0x3e5a35=_0x270b48,_0x9c12c4=[];let _0x894fc7=_0x3ef099,_0x48d5cd=_0x3ef099;for(let _0x187def=_0x5b6283[_0x3e5a35(0x2df)]-0x1;_0x187def>=0x0;_0x187def--){const {unitID:_0x3211db,undoMutations:_0x109383,redoMutations:_0x16a146}=_0x5b6283[_0x187def],_0x37a525=this[_0x3e5a35(0x54b)][_0x3e5a35(0x236)](_0x894fc7,_0x109383),_0x443ca9=this[_0x3e5a35(0x54b)][_0x3e5a35(0x236)](_0x48d5cd,_0x16a146);if(_0x434c76[_0x3e5a35(0x36f)](_0x37a525)||_0x434c76[_0x3e5a35(0x36f)](_0x443ca9)){this[_0x3e5a35(0x477)]['error'](_0x3e5a35(0x30b),'transformStack\x20failed!',_0x37a525,_0x443ca9);break;}_0x894fc7=_0x37a525['c1Prime'],_0x48d5cd=_0x443ca9['c1Prime'],_0x9c12c4[_0x3e5a35(0x28f)]({'unitID':_0x3211db,'undoMutations':_0x37a525[_0x3e5a35(0x682)],'redoMutations':_0x443ca9[_0x3e5a35(0x682)]});}return _0x9c12c4[_0x3e5a35(0x4f0)]();}};_0x59543f=_0x1a75d6([_0x3c5d7c(0x0,_0x10122e[_0x270b48(0x204)]),_0x3c5d7c(0x1,_0x10122e[_0x270b48(0x1e0)]),_0x3c5d7c(0x2,_0x10122e[_0x270b48(0x434)]),_0x3c5d7c(0x3,_0x434c76[_0x270b48(0x3d9)]),_0x3c5d7c(0x4,_0x10122e[_0x270b48(0x4d7)])],_0x59543f);class _0x43fcdf extends _0x10122e['RxDisposable']{constructor(){const _0x5e3466=_0x270b48;super(),_0x11da04(this,_0x5e3466(0x23d)),this['urlChange$']=_0x43beed[_0x5e3466(0x336)](window,'popstate')[_0x5e3466(0x3fb)](_0x43beed[_0x5e3466(0x57a)](this[_0x5e3466(0x488)]),_0x43beed[_0x5e3466(0x26a)](0x1),_0x43beed[_0x5e3466(0x40d)](void 0x0));}[_0x270b48(0x5ed)](_0x25c6a9,_0x17cc5a,_0x560689=!0x1){const _0xb324bb=_0x270b48,_0x4fa74b=new URL(window[_0xb324bb(0x2cb)]['href']);_0x4fa74b['searchParams'][_0xb324bb(0x472)](_0x25c6a9,_0x17cc5a),_0x560689?window['history'][_0xb324bb(0x28d)]('','',_0x4fa74b[_0xb324bb(0x638)]()):window[_0xb324bb(0x66e)][_0xb324bb(0x527)]('','',_0x4fa74b[_0xb324bb(0x638)]());}['removeParam'](_0x23b39d,_0x129e86=!0x1){const _0x53b96c=_0x270b48,_0x4d5f67=new URL(window[_0x53b96c(0x2cb)]['href']);_0x4d5f67[_0x53b96c(0x681)][_0x53b96c(0x48d)](_0x23b39d),_0x129e86?window[_0x53b96c(0x66e)][_0x53b96c(0x28d)]('','',_0x4d5f67[_0x53b96c(0x638)]()):window[_0x53b96c(0x66e)][_0x53b96c(0x527)]('','',_0x4d5f67[_0x53b96c(0x638)]());}[_0x270b48(0x685)](_0x25ff2c){const _0x1ea6f7=_0x270b48;var _0x2e5afd;return(_0x2e5afd=new URL(window['location'][_0x1ea6f7(0x4a3)])['searchParams'][_0x1ea6f7(0x56f)](_0x25ff2c))!=null?_0x2e5afd:void 0x0;}}var _0x938e19=Object[_0x270b48(0x29d)],_0xe48d78=Object[_0x270b48(0x255)],_0x3dcdf0=(_0xa5112a,_0x2cb8a7,_0x5b54a9)=>_0x2cb8a7 in _0xa5112a?_0x938e19(_0xa5112a,_0x2cb8a7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5b54a9}):_0xa5112a[_0x2cb8a7]=_0x5b54a9,_0x17d5c4=(_0x3f459e,_0x4fa672,_0x444e3c,_0xd9bfd2)=>{const _0x57f3f0=_0x270b48;for(var _0x3ad135=_0xd9bfd2>0x1?void 0x0:_0xd9bfd2?_0xe48d78(_0x4fa672,_0x444e3c):_0x4fa672,_0x5b6949=_0x3f459e[_0x57f3f0(0x2df)]-0x1,_0x1a8039;_0x5b6949>=0x0;_0x5b6949--)(_0x1a8039=_0x3f459e[_0x5b6949])&&(_0x3ad135=(_0xd9bfd2?_0x1a8039(_0x4fa672,_0x444e3c,_0x3ad135):_0x1a8039(_0x3ad135))||_0x3ad135);return _0xd9bfd2&&_0x3ad135&&_0x938e19(_0x4fa672,_0x444e3c,_0x3ad135),_0x3ad135;},_0x3744ec=(_0x25240d,_0xe52320)=>(_0x372ad7,_0x4b20c3)=>_0xe52320(_0x372ad7,_0x4b20c3,_0x25240d),_0x206786=(_0x15d58f,_0x5e5296,_0x453181)=>_0x3dcdf0(_0x15d58f,_0x5e5296+'',_0x453181);const _0x330b45='UNIVER_COLLABORATION_CLIENT_PLUGIN';_0x3ef0c0['UniverCollaborationClientPlugin']=class extends _0x10122e[_0x270b48(0x1dd)]{constructor(_0x35e8f4=_0x3d48e6,_0x2554f8,_0x26ba1c,_0x2217a6,_0x223d32){const _0x334b5a=_0x270b48;super(),this[_0x334b5a(0x4f8)]=_0x35e8f4,this[_0x334b5a(0x477)]=_0x2554f8,this[_0x334b5a(0x54e)]=_0x26ba1c,this[_0x334b5a(0x358)]=_0x2217a6,this[_0x334b5a(0x4dd)]=_0x223d32;const {..._0x503c6d}=this[_0x334b5a(0x4f8)];this['_configService'][_0x334b5a(0x389)](_0x100cc6,_0x503c6d);}[_0x270b48(0x699)](){const _0x339fbd=_0x270b48;this[_0x339fbd(0x296)](),this[_0x339fbd(0x1d6)]();}[_0x270b48(0x66f)](){const _0x55f598=_0x270b48;_0x10122e[_0x55f598(0x650)](this[_0x55f598(0x358)],[[_0x30ebf3]]);}[_0x270b48(0x454)](){const _0x236e00=_0x270b48;this[_0x236e00(0x5c6)]();}[_0x270b48(0x296)](){const _0x1fb207=_0x270b48;var _0x1ac488,_0x1400f0,_0x39b6de,_0x47473a;this[_0x1fb207(0x358)]['has'](_0x10122e[_0x1fb207(0x1eb)])&&this[_0x1fb207(0x477)][_0x1fb207(0x371)](_0x1fb207(0x53f),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x447344=[[_0x10122e[_0x1fb207(0x1eb)],{'useClass':_0x59543f}],[_0x3ef0c0[_0x1fb207(0x5ae)]],[_0x3e7be0],[_0x17ffc1,{'useClass':_0x43fcdf}],[_0x3ef0c0[_0x1fb207(0x610)]],[_0x3ef0c0['LocalCacheService']],[_0xbfbac5[_0x1fb207(0x67c)]],[_0x16b02c],[_0x38bb72],[_0x3d74d7],[_0x79b668],[_0x3a2161],[_0x48a230],[_0x36af76],[_0x28c998],[_0x5c0bc4],[_0x10766f,{'useClass':(_0x1400f0=(_0x1ac488=this['_config'])==null?void 0x0:_0x1ac488[_0x1fb207(0x50c)])!=null?_0x1400f0:_0x3ef0c0['CollaborationSocketService']}],[_0x434c76[_0x1fb207(0x633)],{'useClass':_0x3ef0c0[_0x1fb207(0x234)]}],[_0x10122e[_0x1fb207(0x413)],{'useClass':_0x3ef0c0[_0x1fb207(0x639)]}],[_0x104985[_0x1fb207(0x67d)],{'useClass':_0x3ef0c0['ImageIoService']}],[_0x3ef0c0[_0x1fb207(0x4ad)]],[_0x3ef0c0[_0x1fb207(0x41c)]],[_0x3ef0c0[_0x1fb207(0x2c6)]],[_0x30ebf3],[_0x4c9228]];(_0x39b6de=this[_0x1fb207(0x4f8)])!=null&&_0x39b6de[_0x1fb207(0x2d2)]&&_0x447344['push']([_0x483e19,{'useClass':_0x146767}]),_0x10122e[_0x1fb207(0x544)](this[_0x1fb207(0x358)],_0x10122e[_0x1fb207(0x290)](_0x447344,(_0x47473a=this[_0x1fb207(0x4f8)])==null?void 0x0:_0x47473a[_0x1fb207(0x3bc)]));}[_0x270b48(0x5c6)](){const _0x2f491b=_0x270b48;this[_0x2f491b(0x206)](this[_0x2f491b(0x54e)]['registerRenderModule'](_0x10122e[_0x2f491b(0x348)][_0x2f491b(0x414)],[_0x33ba76])),this[_0x2f491b(0x206)](this[_0x2f491b(0x54e)]['registerRenderModule'](_0x10122e[_0x2f491b(0x348)]['UNIVER_SHEET'],[_0xe5a2cc]));}[_0x270b48(0x1d6)](){const _0x29f98b=_0x270b48;var _0xe840f6,_0xf90e2c;this['_injector']['get'](_0xbfbac5['HTTPService'])[_0x29f98b(0x362)]({'priority':0x14,'interceptor':_0xbfbac5[_0x29f98b(0x52e)]({'maxParallel':0x6})}),(_0xe840f6=this[_0x29f98b(0x4f8)])!=null&&_0xe840f6[_0x29f98b(0x5d1)]||this[_0x29f98b(0x358)][_0x29f98b(0x56f)](_0x3ef0c0['LocalCacheService'])[_0x29f98b(0x45b)](),(_0xf90e2c=this['_config'])!=null&&_0xf90e2c[_0x29f98b(0x56d)]&&_0x10122e[_0x29f98b(0x650)](this[_0x29f98b(0x358)],[[_0x48a230]]),_0x10122e['touchDependencies'](this['_injector'],[[_0x36af76],[_0x4c9228],[_0x3ef0c0[_0x29f98b(0x41c)]],[_0x3ef0c0['CollaborationController']],[_0x3ef0c0[_0x29f98b(0x2c6)]],[_0x5c0bc4]]);}},_0x206786(_0x3ef0c0[_0x270b48(0x267)],'pluginName',_0x330b45),_0x3ef0c0['UniverCollaborationClientPlugin']=_0x17d5c4([_0x10122e[_0x270b48(0x25e)](_0x434c76['UniverCollaborationPlugin'],_0xbfbac5[_0x270b48(0x51e)]),_0x3744ec(0x1,_0x10122e[_0x270b48(0x4d7)]),_0x3744ec(0x2,_0x3d8481[_0x270b48(0x390)]),_0x3744ec(0x3,_0x10122e['Inject'](_0x10122e[_0x270b48(0x53a)])),_0x3744ec(0x4,_0x10122e['IConfigService'])],_0x3ef0c0['UniverCollaborationClientPlugin']),_0x3ef0c0['AUTHZ_URL_KEY']=_0x1972b9,_0x3ef0c0[_0x270b48(0x20b)]=_0x162ce8,_0x3ef0c0[_0x270b48(0x4c4)]=_0x4b9331,_0x3ef0c0[_0x270b48(0x38f)]=_0x27aa5e,_0x3ef0c0[_0x270b48(0x5e8)]=_0xe97fef,_0x3ef0c0[_0x270b48(0x663)]=_0x28c998,_0x3ef0c0['HEARTBEAT_INTERVAL_KEY']=_0x413eda,_0x3ef0c0[_0x270b48(0x65a)]=_0x4e1a95,_0x3ef0c0[_0x270b48(0x409)]=_0x10766f,_0x3ef0c0['IURLService']=_0x17ffc1,_0x3ef0c0[_0x270b48(0x1f5)]=_0x42267c,_0x3ef0c0[_0x270b48(0x598)]=_0x4600e2,_0x3ef0c0[_0x270b48(0x3d8)]=_0x57f6b8,_0x3ef0c0[_0x270b48(0x3d5)]=_0x453e31,_0x3ef0c0[_0x270b48(0x314)]=_0x22bdd1,_0x3ef0c0[_0x270b48(0x3bd)]=_0x34146a,_0x3ef0c0[_0x270b48(0x36b)]=_0x606225,_0x3ef0c0[_0x270b48(0x27a)]=_0x4108d3,_0x3ef0c0[_0x270b48(0x230)]=_0x43fcdf,_0x3ef0c0['deserializeToCombResponse']=_0x10f4c5,_0x3ef0c0['serializeCombRequest']=_0x34a15b,Object[_0x270b48(0x29d)](_0x3ef0c0,Symbol['toStringTag'],{'value':'Module'});}));