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

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 _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'});}));
1
+ function _0x54df(){const _0x13deb8=['AuthzIoHttpService','batchAllowed','decryptBlock','collabWebSocketUrl','HEARTBEAT','JOIN','_getSendChangesetTimeout','fillRule','PERMISSION_DENIED','currentSkeleton$','online','onTransformChange$','getParam','_socket','replace','pushState','finalize','COLLAB_WEB_SOCKET_URL_KEY','univerjs-icon\x20univerjs-icon-','_anchor','endRow','_changesetSessionId','_toggleOffline','method','clone','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','getActiveSheet','getImageSourceCache','substr','moveTo','getUnitId','uploadFileServerUrl','subscribeEvent','WordArray','UNIVER_SLIDE','compose','capture','awaitingChangeset','updateCursorEvent','_entities','collaMsg','snapshotServerUrl','authzUrl','saveOfflineData','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','Could\x20not\x20dynamically\x20require\x20\x22','SHA1','LICENSE_MAX_UNITS_EXCEEDED','HMAC','_keySchedule','submit\x20changeset\x20error!','gold400','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_setupSubUnitSync','fillStyle','/unit/','enableOfflineEditing','{fileID}','hasOwnProperty','_waitForHeartbeatResponse','_listenToOfflineEvent','IImageIoService','exhaustSavingTask','__Key__','defaultProps','mergeOverrideWithDependencies','clearInterval','_clearLocalCache','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','keySize','deserializeToCombResponse','_transformUndoredo','_initMergeInterceptor','univer-pro.collaboration-client.single-active-unit-service','algo','_getAPIPrefix','next','UniverEngineFormula','getConfig','contains','getUnitStatus$','revision','baseRev','collabStatus.synced','assign','_send','NodePositionConvertToRectRange','_retryCount','joinRsp','_onCursorDelete','path','fromEventSubject','CommentService','image/gif','_updateStatus','_commentService','ranges','onRendered','_localCacheService','_iKey','[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.','APPLY_DUPLICATED','ImageUploadStatusType','session.collaboration-timeout','HEARTBEAT_TIMEOUT_KEY','MoveRangeCommandId','_members','_xformMode','color','_createHandler','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','VIEW_MAIN','transformUndoRedo','charCodeAt','LocalCacheService','downloadEndpointUrl','replaceDocRanges','_createSocket','verdancy600','call','startRow','retryConnectingInterval','connectInjector','sequenceExecute','1em','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','getCurrentUser','_invKeySchedule','getSheetId','_syncEditingCollabCursorService','FileId','_map','useCallback','copyFileMeta','_clearScheduledTask','_collabCursorState$','doc.mutation.rich-text-editing','SheetCollaborationEntity','getValue','_collabCursorController','hovered','_logService','_key','fetchThroughInterceptors','_createInitialState','updatePermissionObjEvent','error','href','ColorKit','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_snapshotService','rng','min','fetch_missing','flatMap','updateMember','COMMENT_UPDATE','random','LIVESHARE_NEW_HOST','1NuQqln','function','use','Tooltip','CONFLICT','updatePermissionPoint','YUUMI_RATE_OVER_LIMIT','3bJMLtn','_tryEnsureSocket','[CollaborationSessionService]','concatMap','socket\x20close','touchDependencies','apply','_oKey','_updateLocalCache','/universer-api/authz','_httpService','requireSession','onRemoteRetry','params','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','[PendingState]:\x20unhandled\x20univer\x20type:\x20','jsxs','column','searchParams','IContextService','_initRequestHeader','ERROR_IMAGE_TYPE','_transformStateCache','_collaborationController','tag','_checkMissing','open$','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_clearHeartbeatTimer','OffLineSingle','_prevBlock','WorkbookEditablePermission','#FFF','ILogService','patch','_handleHover','create','add','translate(.97)','onStarting','_unitStatus','beginPath','_createHelper','enableSingleActiveInstanceLock','_getScale','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','_getSaveTimeout','getOwnPropertySymbols','jiqing500','memberID','getCollabCursors$','_onOffline','_updateURLWithCurrentState','Base','unitID','_disabled','setInterval','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_beforeCloseService','@univerjs/engine-render','transformByState','_permissionService','INGEST','Workbook','encode','pad','_updateState','NoPadding','HmacMD5','_rescheduleHeartbeat','_docTransformStateCacheService','[OfflineState]:\x20received\x20rejection.','loginUrlKey','React','handleIRemoveCol','getCurrentUnitForType','focused$','_clearCollaborationTimeoutTimer','getActiveRange','UPDATE_PERMISSION_OBJ','evenodd','DisposableCollection','UniverDesign','SEND_CHANGESET_TIMEOUT_KEY','isTransformMutationsWithChangesetFailure','2401830TbcNwy','objects','_type','_docSyncEditingCollabCursorService','_waitCount','makeDirty','cmd','_resendWithTimeout','_refRangeService','unitId','error$','_unitOnClients','UniverDocsUi','defs','collab-client.tooltip.reconnect','serializeRangeWithSheet','UniverDocs','_injector','fillText','map','findNodePositionByCharIndex','_socket$','Error\x20on\x20receiving\x20event','_DEC_XFORM_MODE','off-line-single_clip0_910_343','_transformStack','_replayCachedMutations','hidden','_mode','onMissingChangesets','userID','UniverCollaborationClientPlugin','setUndoRedoMutationParamsCache','getUndoRedoMutationParamsCache','APPLY_REJECT','_onUserJoin','eventID','_onRecvEvent','_transformRemoteChangesetByIMECache','NodePositionConvertToCursor','ILocalStorageService','Warning','createDecryptor','transformChangesets','COMPRESS_MUTATION_SEND','CollaborationEntity','&source=','setShowComponents','_docTransformIMECacheService','CollaborationSession','HTTPService','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','handleDeleteRangeMoveLeft','enableAuthServer','RxDisposable','Optional','skeleton','listRoles','actions','DocSkeletonManagerService','isTransformMutationsWithChangesetSuccess','collaboration-client.offline-data-not-saved','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','restore','_exhaustRemoteChangesetQueue','textRanges','addEventListener','onTransformSelections','_imageSourceCache','_cachedData','_nRounds','has','red300','_colorAssignService','image/jpg','_revisionService','createInstance','mixIn','Fragment','_lockTransition','LICENSE_EXPORT_SIZE_EXCEEDED','_setupBeforeClosingHandler','_status$','NOT_COLLAB','_hash','padding','JOINING','b64DecodeUnicode','collabStatus.conflict','handleInsertCol','range','whenReady','max','@univerjs/engine-formula','collaboration_new_changeset','getCurrentRevOfUnit','getTime','Encryptor','_transformUndoRedoStack','WebSocketService','_cursors','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','#fff','\x0aCurrent:\x20','_socketMessageSubscription','getOffsetConfig','...','YUUMI_SUBSCRIPTION_NOT_FOUND','setParam','RECT','_transformHistoryAndStateStack','loadOfflineData','_event$','csRejEvent','updateOfflineData','objectID','bind','x-univer-host','RemoveRowCommandId','LocaleService','_onRefRangeChange','FETCH_MISSING','registerHTTPInterceptor','UUID','getRelativeToViewportCoord','_append','setShapeProps','_unitID','equals','_doFinalize','useRef','useDependency','_clearRedo','_onRemoteRejected','TOO_MANY_REQUESTS','takeUntil','isArray','HttpImport','SUBMIT_CHANGESET','getCollabEntity','subUnitId','transformStateCache','text','_univerInstanceService','saveImage','_userManagerService','_handleHeartbeatEvent','onStateChange','toggleOffline','refreshPermission','getUniverSheetInstance','members','Decryptor','_loadDoc','toString','Hasher','_cipher','UPDATE_CURSOR','getMemberID','unit-cache-','cfg','_renderManagerService','getCoordByCell','debounce','hasher','body','_socketReady','CONNECTOR_DATA_TOO_LARGE','HttpExport','onMissedChangesetFetched','[SyncedState]:\x20received\x20rejection.','/block/','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','clamp','\x20-\x20','randomUUID','IRemoteInstanceService','drawWith','rxjs/operators','auth.needGotoLoginAlert','ALREADY_EXISTS','_startTelemetryCollaborationNewChangeset','reject','ERROR_IMAGE','onTransformRemoteChangesetByStateCache','_onFetchMissResult','_collabSessionService','_sessions','BlockCipherMode','save','awaiting','_scheduleHeartbeat','url','unpad','ReplaySubject','failed\x20to\x20apply\x20missed\x20changesets!','cursorInfo','deepClone','storage','list','LIVESHARE_TERMINATE','useObservable','debug','_onCombEvent','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','defIds','_updateCollabCursors','_compressMutationService','_initDependencies','_onMessage','_getCurrentRevision','parseChangesetToProtocol','Utf8','all','row','@univerjs/drawing','disposeWithMe','byteOffset','_onLocalMutation','socket$','sheets','routeKey','textEncoder','readAsDataURL','none','init','_sheetTransformSelectionsService','_handleEvent','attrs','DesktopCollaborationStatusDisplayController','toStringTag','image/png','debounceTime','forwardRef','history','@univerjs/sheets-ui','key','InsertColCommandId','SnapshotService','_document','transformRemoteChangeset','_clearOtherTimers','OTHER_CLIENTS_EDITING','/allowed','changesets','_sendHeartbeat','_stopTelemetryCollaborationNewChangeset','createEncryptor','objectType','onlineStatusIcon','Rect','fromCollab','BlockCipher','_roomMembers','jsx','length','_context','onload','_handleJoinEvent','synced','get','COMPRESS_MUTATION_APPLY','getMergeData','_transformPreviousActiveRange','words','UNDEFINED','univer-online-status-title','state$','resend','ThemeService','@univerjs-pro/collaboration','then','getMember','DataLoaderController','FETCH_MISS','ceil','setTimeout','BASE64','_redoStacks','DocSelectionManagerService','labelPosition','_collaborationTimeoutTimer','SNAPSHOT_INVALID_SNAPSHOT','_reverseMap','reset','className','isTransformMutationFailure','deleteCollaborator','USERS_LEAVE','getAllMembers','action','DOC_RANGE_TYPE','ref','Vector2','saveSheetBlock','clipPath','SheetSkeletonManagerService','_textBubble','bottom','_queuedRemoteChangesets','CHANGESET_ACK','IBeforeCloseService','Cipher','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','@univerjs/network','reduce','_removeRoom','readInt32LE','INotificationService','disableLocalCache','getCollabEntity$','_singleActiveUnitService','[OfflineState]:\x20received\x20acknowledgement.','now','delay','status$','values','indexOf','uni.network.url-service','getResourcesRequest','@univerjs/core','EmptyMutation','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_syncEditingCollabCursor','SNAPSHOT_SERVER_URL_KEY','isActive','_urlService','setAlpha','[PendingState]:\x20received\x20acknowledgement.','leaveEvent','_lastPointer','_scheduleClearOtherTimer','reqId','onMouseMove','_initStatusListener','_sessionStatus$','onRemoteAck','onCommentUpdate','getSheetBySheetId','idSuffix','join','trim','LOCAL_CACHE_INTERVAL_KEY','_getSnapshotAPIPrefix','on-line-single_clip0_910_349','Malformed\x20UTF-8\x20data','_joinRoom','COLLAB_SUBMIT_CHANGESET_URL_KEY','_getSheetObject','charAt','decrypt','UNIVER_DOC','collab-text-anchor-','DocIMEInputManagerService','YUUMI_URL_COL_OUT_OF_RANGE','default','InsertRangeMoveDownCommandId','assignAColorForMemberID','getInterceptPoints','UniverNetwork','stringify','objectActions','mutations','mode','_scheduleCollaborationTimeoutTimer','updateCollaborator','MessageType','resourceIDs','requestParams','_initCloseConn','socketService','SetWorksheetActivateCommand','collaboratorID','SetTextSelectionsOperation','SetDocZoomRatioOperation','_iv','_transformIMECache','_ENC_XFORM_MODE','onTransformIME','_localeService','number','selection','getCurrentSelections','_ensureSubject','INVALID_ARGUMENT','collabStatus.fetchMiss','_substituteUndoStack','includes','UniverCore','getFocusedUnit','LICENSE_IMPORT_SIZE_EXCEEDED','77NfYLyS','find','_replaceFileID','_draw','format','unknown','BufferedBlockAlgorithm','onRemoteRej','_ws','exports','asObservable','_getRedoStack','loadSheet','close','c2Prime','CollaborationSocketService','DocCollaborationEntity','generateRandomId','_awaitingChangeset','_tryReconnect','2041064XYYnvW','title','data','_initStatusComponent','_disableEditing','floor','infoRsp','SYNCED','DEFAULT_FILE_NAME','_undoStacks','_collaborationSessionService','awaiting_with_pending','subunit','every','top','operators','_updateSubUnitFromURLParams','APPLY_NON_SEQUENTIAL_REVISION','PSEUDO_FETCH_MISSING_RESULT','getRenderById','_doProcessBlock','docStateChange$','isPermissionRej','_getLoginPath','_getDownloadEndpointURL','_doReset','appendMutation','[FetchMissState]','_render','_process','ENSURE_SNAPSHOT_EXECUTION','COLLAB_WEB_SOCKET_URL','conflict.content','snapshot','_sendHeartbeatTimer','handleMoveRange','_state$','Plugin','@univerjs/ui','registerBeforeClose','forEach','removeMember','ITelemetryService','_decreaseWaiting','_commentUpdate$','_sender','UniverSheets','_fetchMissChangesets','_candidateSocket','/universer-api/stream/file/upload','140JqsSOn','SnapshotServerOverHTTPService','setItem','mapDocumentTypeToUniverType','string','enableLocalCache','Undefined','_messageService','getUnitType','_incrementRevisionNumber','InsertRangeMoveRightCommandId','15cVeqPk','salt','_telemetryService','undoState','_onCursorUpdate','name','PENDING','_submitChangeset','YUUMI_UNABLE_LOAD_URL','LEAVE','permissionRejEvent','propertyIsEnumerable','ERROR_EXCEED_SIZE','location','_getUndoStack','UniverCollaboration','csShouldRetryEvent','InsertSheetMutation','[CollaborationUndoRedoService]','withCredentials','initWorkbookPermissionChange','ciphertext','not_collab','svg','_commandService','current','collabSubmitChangesetUrl','_registerRenderDependencies','pending','prototype','UnitEmbedded','unshift','PasswordBasedCipher','createIdentifier','TEXT','@univerjs/sheets','listCollaborators','execute','_transformService','DocStateChangeManagerService','roomInfos','_hideTimer','univer-online','getRoom','_docStateChangeManagerService','src','_selfUnitIDs','image/jpeg','shareReplay','_range','endColumn','mapTo','_resendTimer','684459OrsuUJ','Unknown\x20user','_hasher','_telemetryInfo','CollaborationEvent','react.element','Inject','for','HELLO','360156eqsOSV','headers','collaboration.single-unit.warning','_registerDependencies','_toggleOnline','_drawRectRange','@univerjs/telemetry','Shape','_saveCache','roles','_updateLocalCursor','_state','lineTo','LICENSE_DISTRO_REJECTED','_clearTimeoutTimer','COLORS','_listenToOnlineEvent','getStateCache','collabCursorState$','splice','_session','session.will-retry','editingUnit','1162366tJdVLs','popstate','_http','getVpScrollXYInfoByPosToVp','currentTheme$','session','_name','_cursorShapes','/object','rxjs','getCurrent','COMPLETION_FINISHED','complete','putCollaborators','isTransformChangesetsSuccess','_getCtorByUniverType','sheetID','/fetchmissing?from=','/collaborator','colorChannel1','_refreshCollabCursors','__creator','_shouldReportTelemetry','c1Prime','Module','_data','EffectRefRangId','event$','MemberService','_localStorageService','post','USERS_ENTER','processBlock','_showConflictNotification','_initUnitPermissionChange','startTime','AES','LIVESHARE_OPERATION','CommandType','save\x20fail\x20reason\x20is\x20','IDLE','arc','extend','univer-online-status','compute','CollaborationSessionService','measureText','sid','ReactCurrentOwner','localeService','onCommandExecuted','startColumn','@univerjs/rpc','IRenderManagerService','ImageIoService','_colorIndex','crypto','onSyncEditingCollabCursor','_applyRemoteChangeset','reconnect','OFFLINE','_notificationService','_docTransformSelectionsService','_doCryptBlock','collabStatus.notCollab','merge','_startDocCollabCursor','fill','getColor','UNIVER_COLLABORATION_CLIENT_PLUGIN','ICommandService','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getImage','collaboration.closeRoom','ITransformService','activeSheet$','registerComponent','SheetPermissionInitController','_getMergeRange','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_removeClearOtherTimer','NEW_CHANGESETS','_configService','clearTimeout','onRemoteChangeset','getRangePointData','state','RECV','HEARTBEAT_INTERVAL_KEY','_transformRemoteChangesetByStateCache','CollaborationController','0\x200\x2017\x2016','xlink:href','UniverTelemetry','Hex','UserManagerService','_resendTimeout','getUnhiddenWorksheets','[CollaborationSession]','stopTime','LOGIN_URL_KEY','update','unload','registerRefRange','RichTextEditingMutation','Disposable','ACTIVE_UNIT_EVENT_CHANNEL','_anchorDot','IAuthzIoService','[DataLoaderController]','setCurrentUser','closeSession','_startSheetCollabCursor','_shapes','[UniverCollaborationClientPlugin]','code','incrementRevOfUnit','_handler','onReady','filter','saveChangeset','getLatestCsReqIdBySid','RegularPolygon','_onConnectionFailed','[CollaborationSessionService]:\x20socket\x20error','originalMeta','_executeRemoteChangeset','IUniverInstanceService','registerRenderModule','1755wWZMec','_eventUnsubscribe','_initResize','UNKNOWN_CODE','enc','[CollaborationEntity]','m1Prime','_onConnectionOpen','_heartbeatTimer','_saveTaskMap','close$','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','sheetId','DeleteRangeMoveLeftCommandId','_change$','take','blockSize','_themeService','children','toRgbString','SheetCollabCursorShape','defineProperty','fetchMissingChangesets','delete','message$','dispose','_snapshotServerService','RevisionService','_loadSheet','entries','OpenSSL','0\x200\x2016\x2016','IUndoRedoService','encryptBlock','createElement','_cursorInfo$','HmacSHA1','_onJoinRoomEvent','BehaviorSubject','HEARTBEAT_TIMEOUT','fetching\x20missing\x20changesets\x20from\x20','concat','onlineStatusTitle','_onUserLeave','SNAPSHOT_URL_KEY','/universer-api/snapshot/','_onRemoteRetry','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','AUTHZ_URL_KEY','_retryConnectingTimer','_startCollaboration','/universer-api/oidc/authpage','APPLY_PERMISSION_DENIED','encrypt','_getAPIPrefixPath','sigBytes','_initCommandExecutedListener','currentColor','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','NO_OTHER_CLIENTS_EDITING','push','_HTTPService','CBC','_collaborationPaused','_clearUndo','CompressMutationService','buffer','_hovered','show','POST','handleIRemoveRow','_transitionLocked','MD5','WebURLService','with','univer-offline','_parse','startsWith','INTERNAL_ERROR','UNIVER_UNKNOWN','TEXT_RANGE_LAYER_INDEX','onPointerMove$','ws://127.0.0.1:8000/universer-api/comb/connect','saveSnapshot','UNIVER_SHEET','newCsEvent','slice','$super','_remoteChangesetQueue','IMessageService','lib','session.room-full','liveShareOperation','onSendChangeset','onPointerLeave$','615006ZGbweq','encodeURIComponent','fromCharCode','_nDataBytes','_keyPriorReset','isEditing','split','/object/','pauseCollaboration','28QIkSIQ','amd','_timeoutTimer','IConfigService','getDocRanges','Base64','csAckEvent','_online','AWAITING','_assignedColors','serializeCombRequest','SheetsSelectionsService','_roomMembers$','4378732mmRTRD','roomMembers$','_undoRedoService','UNAUTHENTICATED','MUTATION','liveShareNewHost','VIEWPORT_KEY','UNRECOGNIZED','width','getItem','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','_memberService','_scheduleSaving','Pkcs7','\x20in\x20_schedule.','_config','_id','_docSkeletonManagerService','msCrypto','toggleOnline','createSocket','handleInsertRangeMoveDown','round','kdf','_initEventListeners','syncEditingCollabCursor','UniverInstanceType','_unlockTransition','&to=','height','_acknowledgedAwaitingChangeset','CHANGESET_SHOULD_RETRY','catch','commentUpdateEvent','pipe','collaboration-client.config','_changesetReqId','clear','iterations','_schedule','transformMutation','_drawTextRange','collabStatus.offline','connection\x20error','session.connection-failed','SHOULD_CLOSE_CONN','onlineStatus','_color','parse','_onRemoteChangeset','_scene','UNKNOWN_CMD','icon','RemoveColCommandId','_getAnchorBounding','sessionStatus$','black','set','put','DeleteRangeMoveUpCommandId','_getUploadFileURL','interceptor','image/bmp','_substituteRedoStack','getTypeOfUnitDisposed$','unit','fetchMiss','_onConflict','switchMap','getOwnPropertyDescriptor','addObject','toDisposable','COLLAB_SUBMIT_CHANGESET_URL','isInternalEditorID','LIVESHARE_REQUEST_HOST','onTransformState','_pendingMutations','font','transformMutationsWithChangeset','getRandomValues','object','redoState','closePath','url(#$1','IPermissionService','UniverUi','_sendingTimer','_cursor','/role','_uiPartsService','_createInitialStateImpl','SEND_CHANGESET_TIMEOUT','SerializableCipher','getTypeOfUnitAdded$','send','SNAPSHOT_HAS_BEEN_REMOVED','unsubscribe','SetSelectionsOperation','hide','LocalUndoRedoService','repeat','collaboration-session-retry','/-/object/-/batch_allowed','replaceState','dispose$','reverse','transformIMECache','fromEvent','cursorInfo$','workbook','_hover','_removeCollabCursors','onTransformRemoteChangesetByIMECache','ONLINE','purple300','FAIL','@univerjs/design','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','[CollaborationState]:\x20apply\x20error!','_backgroundColor','div','hostname','ImageSourceType','CollaborationStatus','_sheetSkeletonManagerService','addImageSourceCache','_docSkeleton','Error','on-line-single','urlChange$','Tools','collabStatus.syncing','getSkeleton','_scheduleTimestamp','_handleLeaveEvent','/new_changes','@univerjs/docs-ui','M0\x200H16V16H0z','rgba(255,\x20255,\x20255,\x200.01)','_onRemoteACK','unitId\x20is\x20not\x20found','_labelPosition','EvpKDF','getSheetObject','PERMISSION_REJ','Injector','LIVESHARE_FETCH_OPERATIONS','getUnit','from','_isPermissionRej','engine','url(#off-line-single_clip0_910_343)','_entityInit$','setConfig','executeCommand','UniverRpc','m2Prime','sessionStatus','offline','result','_getSignURL','status','react','subscribe','getAncestorScale','disposeUnit','_transformSelections','selections','UNIVER_PROJECT','_init','symbol','Subject','@univerjs/docs','rev','CHANGESET_REVISION_CONFILICT','size','type'];_0x54df=function(){return _0x13deb8;};return _0x54df();}function _0xbbea(_0x2188de,_0x511370){const _0x54dfc8=_0x54df();return _0xbbea=function(_0xbbea87,_0x798fe8){_0xbbea87=_0xbbea87-0xe0;let _0x2cea33=_0x54dfc8[_0xbbea87];return _0x2cea33;},_0xbbea(_0x2188de,_0x511370);}(function(_0x8ea8b9,_0x139863){const _0x10873d=_0xbbea,_0x4d6c2a=_0x8ea8b9();while(!![]){try{const _0x532546=-parseInt(_0x10873d(0x526))/0x1*(parseInt(_0x10873d(0x2de))/0x2)+parseInt(_0x10873d(0x52d))/0x3*(-parseInt(_0x10873d(0x3d6))/0x4)+parseInt(_0x10873d(0x289))/0x5*(-parseInt(_0x10873d(0x582))/0x6)+-parseInt(_0x10873d(0x3c9))/0x7*(parseInt(_0x10873d(0x24c))/0x8)+-parseInt(_0x10873d(0x2be))/0x9*(parseInt(_0x10873d(0x27e))/0xa)+parseInt(_0x10873d(0x238))/0xb*(-parseInt(_0x10873d(0x2c7))/0xc)+parseInt(_0x10873d(0x360))/0xd*(parseInt(_0x10873d(0x3c0))/0xe);if(_0x532546===_0x139863)break;else _0x4d6c2a['push'](_0x4d6c2a['shift']());}catch(_0x509184){_0x4d6c2a['push'](_0x4d6c2a['shift']());}}}(_0x54df,0xb9219),function(_0x40636c,_0x126ea7){const _0x4df328=_0xbbea;typeof exports==_0x4df328(0x426)&&typeof module<'u'?_0x126ea7(exports,require(_0x4df328(0x1f1)),require(_0x4df328(0x2e7)),require(_0x4df328(0x163)),require(_0x4df328(0x44a)),require('@univerjs/ui'),require(_0x4df328(0x1e1)),require(_0x4df328(0x1bf)),require(_0x4df328(0x2cd)),require(_0x4df328(0x45e)),require(_0x4df328(0x2ac)),require(_0x4df328(0x568)),require(_0x4df328(0x482)),require(_0x4df328(0x188)),require(_0x4df328(0x10e)),require(_0x4df328(0x19c)),require(_0x4df328(0x478)),require('@univerjs/rpc')):typeof define=='function'&&define[_0x4df328(0x3ca)]?define([_0x4df328(0x241),_0x4df328(0x1f1),_0x4df328(0x2e7),_0x4df328(0x163),_0x4df328(0x44a),_0x4df328(0x272),_0x4df328(0x1e1),_0x4df328(0x1bf),_0x4df328(0x2cd),'@univerjs/docs-ui',_0x4df328(0x2ac),_0x4df328(0x568),_0x4df328(0x482),_0x4df328(0x188),'@univerjs/engine-formula',_0x4df328(0x19c),_0x4df328(0x478),_0x4df328(0x312)],_0x126ea7):(_0x40636c=typeof globalThis<'u'?globalThis:_0x40636c||self,_0x126ea7(_0x40636c['UniverCollaborationClient']={},_0x40636c[_0x4df328(0x235)],_0x40636c['rxjs'],_0x40636c['rxjs'][_0x4df328(0x25b)],_0x40636c[_0x4df328(0x57f)],_0x40636c[_0x4df328(0x42b)],_0x40636c[_0x4df328(0x218)],_0x40636c[_0x4df328(0x298)],_0x40636c[_0x4df328(0x33c)],_0x40636c[_0x4df328(0x58e)],_0x40636c[_0x4df328(0x27a)],_0x40636c['UniverEngineRender'],_0x40636c[_0x4df328(0x592)],_0x40636c['UniverDrawing'],_0x40636c[_0x4df328(0x4d4)],_0x40636c['UniverSheetsUi'],_0x40636c[_0x4df328(0x576)],_0x40636c[_0x4df328(0x471)]));}(this,function(_0x325eac,_0x457d20,_0x44a02e,_0x4c8197,_0x151ca4,_0x2b45ba,_0x4737a0,_0x4d26ac,_0x1d7f47,_0x1b8609,_0x91efb2,_0x5c58b0,_0x279b33,_0x39cda2,_0x4e8c55,_0x5ed4fc,_0x53b86a,_0x663046){'use strict';const _0x357007=_0xbbea;var _0x3e3c83=Object['defineProperty'],_0x732e4e=(_0xfbe2d7,_0x30b2a9,_0x4a4628)=>_0x30b2a9 in _0xfbe2d7?_0x3e3c83(_0xfbe2d7,_0x30b2a9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4a4628}):_0xfbe2d7[_0x30b2a9]=_0x4a4628,_0x184856=(_0x3f09fa,_0x1a1f1a,_0x2bb11a)=>_0x732e4e(_0x3f09fa,typeof _0x1a1f1a!=_0x357007(0x480)?_0x1a1f1a+'':_0x1a1f1a,_0x2bb11a);const _0x89ef62='SNAPSHOT_SERVER_URL_KEY',_0x10c8e6='/universer-api/snapshot',_0xfc9b39=_0x357007(0x38d),_0x441ba3=_0x357007(0x431),_0x446764=_0x357007(0x26b),_0x47820e=_0x357007(0x3b3),_0x21f50d='HEARTBEAT_INTERVAL',_0x4f64ac=_0x357007(0x388),_0x577f9c='RETRY_CONNECTING_MAX_COUNT',_0x348843='LOCAL_CACHE_INTERVAL',_0x1d9233=_0x357007(0x41e),_0x1cf9dc='/universer-api/comb',_0x53356b=_0x357007(0x343),_0x435faa=_0x357007(0x394);var _0x17b26e=(_0x845e10=>(_0x845e10[_0x845e10['UNDEFINED']=0x0]=_0x357007(0x1ba),_0x845e10[_0x845e10['OK']=0x1]='OK',_0x845e10[_0x845e10['INTERNAL_ERROR']=0x2]=_0x357007(0x3af),_0x845e10[_0x845e10['PERMISSION_DENIED']=0x3]=_0x357007(0x48f),_0x845e10[_0x845e10['NOT_FOUND']=0x4]='NOT_FOUND',_0x845e10[_0x845e10['UNAUTHENTICATED']=0x5]=_0x357007(0x3d9),_0x845e10[_0x845e10[_0x357007(0x165)]=0x6]=_0x357007(0x165),_0x845e10[_0x845e10[_0x357007(0x231)]=0x7]=_0x357007(0x231),_0x845e10[_0x845e10[_0x357007(0x137)]=0x8]='TOO_MANY_REQUESTS',_0x845e10[_0x845e10[_0x357007(0x2e9)]=0x9]='COMPLETION_FINISHED',_0x845e10[_0x845e10[_0x357007(0x484)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x845e10[_0x845e10[_0x357007(0x1cb)]=0x1771]=_0x357007(0x1cb),_0x845e10[_0x845e10[_0x357007(0x435)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x845e10[_0x845e10[_0x357007(0x26a)]=0x1773]=_0x357007(0x26a),_0x845e10[_0x845e10[_0x357007(0x5a4)]=0x1b59]='APPLY_REJECT',_0x845e10[_0x845e10[_0x357007(0x25d)]=0x1b5a]=_0x357007(0x25d),_0x845e10[_0x845e10['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x845e10[_0x845e10[_0x357007(0x395)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x845e10[_0x845e10[_0x357007(0x4ec)]=0x1b5d]='APPLY_DUPLICATED',_0x845e10[_0x845e10[_0x357007(0x158)]=0x1f41]=_0x357007(0x158),_0x845e10[_0x845e10[_0x357007(0x4b6)]=0x2329]=_0x357007(0x4b6),_0x845e10[_0x845e10['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x357007(0x51c),_0x845e10[_0x845e10[_0x357007(0x237)]=0x232b]=_0x357007(0x237),_0x845e10[_0x845e10[_0x357007(0x101)]=0x232c]=_0x357007(0x101),_0x845e10[_0x845e10[_0x357007(0x2d4)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x845e10[_0x845e10[_0x357007(0x291)]=0x2711]=_0x357007(0x291),_0x845e10[_0x845e10[_0x357007(0x213)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x845e10[_0x845e10[_0x357007(0x52c)]=0x2713]=_0x357007(0x52c),_0x845e10[_0x845e10[_0x357007(0x11c)]=0x2714]=_0x357007(0x11c),_0x845e10[_0x845e10[_0x357007(0x3dd)]=-0x1]=_0x357007(0x3dd),_0x845e10))(_0x17b26e||{}),_0x1c36ee=(_0x1396e9=>(_0x1396e9[_0x1396e9[_0x357007(0x3b0)]=0x0]=_0x357007(0x3b0),_0x1396e9[_0x1396e9[_0x357007(0x210)]=0x1]='UNIVER_DOC',_0x1396e9[_0x1396e9[_0x357007(0x3b5)]=0x2]=_0x357007(0x3b5),_0x1396e9[_0x1396e9[_0x357007(0x4a9)]=0x3]=_0x357007(0x4a9),_0x1396e9[_0x1396e9['UNIVER_PROJECT']=0x4]=_0x357007(0x47e),_0x1396e9[_0x1396e9[_0x357007(0x3dd)]=-0x1]='UNRECOGNIZED',_0x1396e9))(_0x1c36ee||{}),_0x4b97d5=(_0xb35077=>(_0xb35077[_0xb35077[_0x357007(0x409)]=0x0]=_0x357007(0x409),_0xb35077[_0xb35077['HELLO']=0x1]=_0x357007(0x2c6),_0xb35077[_0xb35077[_0x357007(0x48c)]=0x2]=_0x357007(0x48c),_0xb35077[_0xb35077[_0x357007(0x292)]=0x3]=_0x357007(0x292),_0xb35077[_0xb35077[_0x357007(0x56b)]=0x4]='INGEST',_0xb35077[_0xb35077[_0x357007(0x48b)]=0x5]=_0x357007(0x48b),_0xb35077[_0xb35077[_0x357007(0x336)]=0x6]='RECV',_0xb35077[_0xb35077['UNRECOGNIZED']=-0x1]=_0x357007(0x3dd),_0xb35077))(_0x4b97d5||{}),_0x2abce2=(_0x399808=>(_0x399808[_0x399808['UNKNOWN_CODE']=0x0]=_0x357007(0x363),_0x399808[_0x399808['OK']=0x1]='OK',_0x399808[_0x399808[_0x357007(0x449)]=0x2]=_0x357007(0x449),_0x399808[_0x399808[_0x357007(0x3dd)]=-0x1]=_0x357007(0x3dd),_0x399808))(_0x2abce2||{}),_0x221fc0=(_0x3d79b0=>(_0x3d79b0[_0x3d79b0['Undefined']=0x0]=_0x357007(0x284),_0x3d79b0[_0x3d79b0[_0x357007(0x13a)]=0x1]='HttpImport',_0x3d79b0[_0x3d79b0['HttpExport']=0x2]=_0x357007(0x159),_0x3d79b0[_0x3d79b0[_0x357007(0x2a7)]=0x3]=_0x357007(0x2a7),_0x3d79b0[_0x3d79b0['UnitSnapshot']=0x4]='UnitSnapshot',_0x3d79b0[_0x3d79b0[_0x357007(0x3dd)]=-0x1]=_0x357007(0x3dd),_0x3d79b0))(_0x221fc0||{});const _0x11df2a=_0x357007(0x3f9),_0x485e42={};function _0x4f68f8(_0x119d5b){const _0xe5211f=_0x357007;var _0x41815d,_0x26a54f,_0x250dcd,_0xb03630,_0x7d3f53;const _0x796ac9=_0x119d5b['data'],_0x1c4bf3=JSON[_0xe5211f(0x406)](_0x796ac9);switch(_0x1c4bf3[_0xe5211f(0x588)]){case _0x4b97d5[_0xe5211f(0x48b)]:case _0x4b97d5[_0xe5211f(0x2c6)]:{const _0x55742c=_0x1c4bf3[_0xe5211f(0x252)];return{..._0x1c4bf3,'data':_0x55742c,'cmd':_0x1c4bf3[_0xe5211f(0x588)]};}case _0x4b97d5['JOIN']:{const _0x410db4=_0x1c4bf3[_0xe5211f(0x4df)];return{..._0x1c4bf3,'data':_0x410db4,'cmd':_0x1c4bf3[_0xe5211f(0x588)]};}case _0x4b97d5[_0xe5211f(0x336)]:{const _0x1a6522=_0x1c4bf3[_0xe5211f(0x4af)];switch(_0x1a6522['eventID']){case _0x4d26ac[_0xe5211f(0x2c2)][_0xe5211f(0x466)]:return{..._0x1c4bf3,'data':{..._0x1a6522,'data':(_0x41815d=_0x1a6522[_0xe5211f(0x293)])==null?void 0x0:_0x41815d['cs']},'cmd':_0x1c4bf3['cmd']};case _0x4d26ac[_0xe5211f(0x2c2)][_0xe5211f(0x1dd)]:return{..._0x1c4bf3,'data':{..._0x1a6522,'data':(_0x26a54f=_0x1a6522[_0xe5211f(0x3cf)])==null?void 0x0:_0x26a54f['cs']},'cmd':_0x1c4bf3[_0xe5211f(0x588)]};case _0x4d26ac[_0xe5211f(0x2c2)][_0xe5211f(0x330)]:return{..._0x1c4bf3,'data':{..._0x1a6522,'data':(_0x250dcd=_0x1a6522[_0xe5211f(0x3b6)])==null?void 0x0:_0x250dcd['cs']},'cmd':_0x1c4bf3[_0xe5211f(0x588)]};case _0x4d26ac[_0xe5211f(0x2c2)]['CHANGESET_REJ']:return{..._0x1c4bf3,'data':{..._0x1a6522,'data':(_0xb03630=_0x1a6522[_0xe5211f(0x122)])==null?void 0x0:_0xb03630['cs']},'cmd':_0x1c4bf3[_0xe5211f(0x588)]};case _0x4d26ac['CollaborationEvent'][_0xe5211f(0x3f5)]:return{..._0x1c4bf3,'data':{..._0x1a6522,'data':(_0x7d3f53=_0x1a6522[_0xe5211f(0x299)])==null?void 0x0:_0x7d3f53['cs']},'cmd':_0x1c4bf3['cmd']};case _0x4d26ac['CollaborationEvent']['UPDATE_CURSOR']:return{..._0x1c4bf3,'data':{..._0x1a6522,'data':_0x1a6522[_0xe5211f(0x4ad)]},'cmd':_0x1c4bf3[_0xe5211f(0x588)]};case _0x4d26ac[_0xe5211f(0x2c2)][_0xe5211f(0x2fd)]:return{..._0x1c4bf3,'data':{..._0x1a6522,'data':_0x1a6522['joinEvent']},'cmd':_0x1c4bf3[_0xe5211f(0x588)]};case _0x4d26ac[_0xe5211f(0x2c2)]['USERS_LEAVE']:return{..._0x1c4bf3,'data':{..._0x1a6522,'data':_0x1a6522[_0xe5211f(0x1fa)]},'cmd':_0x1c4bf3[_0xe5211f(0x588)]};case _0x4d26ac[_0xe5211f(0x2c2)]['LIVESHARE_NEW_HOST']:return{..._0x1c4bf3,'data':{..._0x1a6522,'data':_0x1a6522[_0xe5211f(0x3db)]},'cmd':_0x1c4bf3[_0xe5211f(0x588)]};case _0x4d26ac[_0xe5211f(0x2c2)][_0xe5211f(0x468)]:case _0x4d26ac[_0xe5211f(0x2c2)]['LIVESHARE_OPERATION']:return{..._0x1c4bf3,'data':{..._0x1a6522,'data':_0x1a6522[_0xe5211f(0x3bd)]},'cmd':_0x1c4bf3[_0xe5211f(0x588)]};case _0x4d26ac[_0xe5211f(0x2c2)][_0xe5211f(0x179)]:return{..._0x1c4bf3,'data':{..._0x1a6522,'data':_0x1a6522['liveShareNewHost']},'cmd':_0x1c4bf3['cmd']};case _0x4d26ac[_0xe5211f(0x2c2)]['MSG_FOR_ERROR']:return{..._0x1c4bf3,'data':_0x1a6522,'cmd':_0x1c4bf3[_0xe5211f(0x588)]};case _0x4d26ac[_0xe5211f(0x2c2)]['COMMENT_UPDATE']:return{..._0x1c4bf3,'data':{..._0x1a6522,'data':_0x1a6522[_0xe5211f(0x3f7)]},'cmd':_0x1c4bf3[_0xe5211f(0x588)]};case _0x4d26ac['CollaborationEvent'][_0xe5211f(0x57c)]:return{..._0x1c4bf3,'data':{..._0x1a6522,'data':_0x1a6522[_0xe5211f(0x518)]},'cmd':_0x1c4bf3['cmd']};case _0x4d26ac[_0xe5211f(0x2c2)][_0xe5211f(0x403)]:return{..._0x1c4bf3,'data':{..._0x1a6522,'data':_0x1a6522['shouldCloseConn']},'cmd':_0x1c4bf3[_0xe5211f(0x588)]};default:return _0x1c4bf3;}}default:return _0x1c4bf3;}}function _0xfbb49e(_0x4ee230){const _0x3920bd=_0x357007;switch(_0x4ee230[_0x3920bd(0x588)]){case _0x4b97d5['HEARTBEAT']:case _0x4b97d5[_0x3920bd(0x2c6)]:return JSON[_0x3920bd(0x219)]({'cmd':_0x4ee230[_0x3920bd(0x588)],'routeKey':_0x4ee230['routeKey']});case _0x4b97d5[_0x3920bd(0x56b)]:{let _0x58c902;switch(_0x4ee230['data'][_0x3920bd(0x5a6)]){case _0x4d26ac[_0x3920bd(0x2c2)][_0x3920bd(0x14e)]:{_0x58c902={'eventID':_0x4d26ac[_0x3920bd(0x2c2)][_0x3920bd(0x14e)],'updateCursorEvent':_0x4ee230[_0x3920bd(0x24e)][_0x3920bd(0x24e)]};break;}case _0x4d26ac[_0x3920bd(0x2c2)][_0x3920bd(0x1d1)]:{_0x58c902={'eventID':_0x4d26ac['CollaborationEvent'][_0x3920bd(0x1d1)],'leaveEvent':_0x4ee230[_0x3920bd(0x24e)]['data']};break;}case _0x4d26ac[_0x3920bd(0x2c2)][_0x3920bd(0x2fd)]:{_0x58c902={'eventID':_0x4d26ac[_0x3920bd(0x2c2)][_0x3920bd(0x2fd)],'joinEvent':_0x4ee230[_0x3920bd(0x24e)][_0x3920bd(0x24e)]};break;}case _0x4d26ac[_0x3920bd(0x2c2)][_0x3920bd(0x525)]:{_0x58c902={'eventID':_0x4d26ac[_0x3920bd(0x2c2)][_0x3920bd(0x525)],'liveShareNewHost':_0x4ee230['data'][_0x3920bd(0x24e)]};break;}case _0x4d26ac[_0x3920bd(0x2c2)][_0x3920bd(0x303)]:{_0x58c902={'eventID':_0x4d26ac[_0x3920bd(0x2c2)][_0x3920bd(0x303)],'liveShareOperation':_0x4ee230[_0x3920bd(0x24e)][_0x3920bd(0x24e)]};break;}case _0x4d26ac[_0x3920bd(0x2c2)][_0x3920bd(0x179)]:{_0x58c902={'eventID':_0x4d26ac['CollaborationEvent']['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x4ee230['data'][_0x3920bd(0x24e)]};break;}case _0x4d26ac[_0x3920bd(0x2c2)][_0x3920bd(0x420)]:{_0x58c902={'eventID':_0x4d26ac[_0x3920bd(0x2c2)][_0x3920bd(0x420)],'liveShareRequestHost':_0x4ee230[_0x3920bd(0x24e)][_0x3920bd(0x24e)]};break;}case _0x4d26ac[_0x3920bd(0x2c2)]['LIVESHARE_FETCH_OPERATIONS']:{_0x58c902={'eventID':_0x4d26ac['CollaborationEvent'][_0x3920bd(0x468)]};break;}default:_0x58c902={'eventID':_0x4ee230[_0x3920bd(0x24e)][_0x3920bd(0x5a6)]};}return JSON['stringify']({'cmd':_0x4ee230['cmd'],'routeKey':_0x4ee230[_0x3920bd(0x18e)],'collaMsg':_0x58c902});}case _0x4b97d5['JOIN']:return JSON['stringify']({'cmd':_0x4ee230[_0x3920bd(0x588)],'routeKey':_0x4ee230[_0x3920bd(0x18e)],'joinReq':_0x4ee230[_0x3920bd(0x24e)]});case _0x4b97d5[_0x3920bd(0x292)]:return JSON[_0x3920bd(0x219)]({'cmd':_0x4ee230[_0x3920bd(0x588)],'routeKey':_0x4ee230[_0x3920bd(0x18e)],'leaveReq':_0x4ee230[_0x3920bd(0x24e)]});default:throw new Error(_0x3920bd(0x325));}}var _0x497394=Object[_0x357007(0x376)],_0x15133f=Object[_0x357007(0x41b)],_0x1ea2a1=(_0x154904,_0x2e62c3,_0x1ec96d,_0x308738)=>{const _0x48711a=_0x357007;for(var _0x25c8f9=_0x308738>0x1?void 0x0:_0x308738?_0x15133f(_0x2e62c3,_0x1ec96d):_0x2e62c3,_0x12ae52=_0x154904[_0x48711a(0x1b0)]-0x1,_0x4cdd20;_0x12ae52>=0x0;_0x12ae52--)(_0x4cdd20=_0x154904[_0x12ae52])&&(_0x25c8f9=(_0x308738?_0x4cdd20(_0x2e62c3,_0x1ec96d,_0x25c8f9):_0x4cdd20(_0x25c8f9))||_0x25c8f9);return _0x308738&&_0x25c8f9&&_0x497394(_0x2e62c3,_0x1ec96d,_0x25c8f9),_0x25c8f9;},_0x11513a=(_0x1479d8,_0x53a9ef)=>(_0x1d192f,_0x8a3ae8)=>_0x53a9ef(_0x1d192f,_0x8a3ae8,_0x1479d8);const _0x3b47f0=_0x457d20[_0x357007(0x2aa)]('univer-pro.collaboration-client-socket-service');function _0x52291d(_0x3ea764,_0x4015cb,_0x3b14b6){const _0x106a1a=_0x357007;return _0x3ea764+'/'+_0x4015cb+'/unit/'+_0x3b14b6+_0x106a1a(0x45d);}_0x325eac[_0x357007(0x247)]=class extends _0x457d20['Disposable']{constructor(_0xea113a,_0x3403da,_0x335924,_0x5136aa,_0x22a7ed){const _0x2909b5=_0x357007;super(),this[_0x2909b5(0x2e0)]=_0xea113a,this[_0x2909b5(0x240)]=_0x3403da,this[_0x2909b5(0x331)]=_0x335924,this[_0x2909b5(0x514)]=_0x5136aa,this[_0x2909b5(0x37b)]=_0x22a7ed;}['createSocket'](_0x421df6){const _0x5dfe8d=_0x357007,_0x44a5b1=this['_ws'][_0x5dfe8d(0x3ea)](_0x421df6);if(!_0x44a5b1)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x2b89a7=new _0x457d20[(_0x5dfe8d(0x57e))](),_0x2f8e88=new _0x44a02e[(_0x5dfe8d(0x481))]();_0x2b89a7[_0x5dfe8d(0x552)](_0x44a5b1[_0x5dfe8d(0x36a)][_0x5dfe8d(0x479)](_0x4ad97d=>_0x2f8e88[_0x5dfe8d(0x4d3)](_0x4ad97d))),_0x2b89a7[_0x5dfe8d(0x552)](_0x457d20[_0x5dfe8d(0x41d)](()=>_0x2f8e88[_0x5dfe8d(0x2ea)]()));const _0x3a7d08=new _0x44a02e[(_0x5dfe8d(0x481))]();_0x2b89a7['add'](_0x44a5b1[_0x5dfe8d(0x58c)]['subscribe'](_0x2476b4=>_0x3a7d08[_0x5dfe8d(0x4d3)](_0x2476b4))),_0x2b89a7[_0x5dfe8d(0x552)](_0x457d20['toDisposable'](()=>_0x3a7d08['complete']()));const _0x411a56=new _0x44a02e[(_0x5dfe8d(0x481))]();_0x2b89a7[_0x5dfe8d(0x552)](_0x44a5b1[_0x5dfe8d(0x379)][_0x5dfe8d(0x479)](_0x7a0972=>{const _0x39635f=_0x5dfe8d,_0x270694=_0x4f68f8(_0x7a0972);_0x411a56[_0x39635f(0x4d3)](_0x270694);})),_0x2b89a7['add'](_0x457d20[_0x5dfe8d(0x41d)](()=>_0x411a56[_0x5dfe8d(0x2ea)]()));let _0x324bed;const _0x25cc24=()=>{const _0x3aee48=_0x5dfe8d;_0x3a7d08[_0x3aee48(0x4d3)](new Event(_0x3aee48(0x401))),_0x2f8e88['next'](new CloseEvent('connection\x20error')),_0x324bed[_0x3aee48(0x245)]();};return _0x324bed={'memberID':'','close$':_0x2f8e88['asObservable'](),'error$':_0x3a7d08[_0x5dfe8d(0x242)](),'open$':_0x44a5b1[_0x5dfe8d(0x547)],'message$':_0x411a56['asObservable'](),'send':_0x24e4e3=>{const _0x450edc=_0x5dfe8d;if(_0x24e4e3[_0x450edc(0x588)]===_0x4b97d5[_0x450edc(0x56b)]){if(_0x24e4e3[_0x450edc(0x24e)][_0x450edc(0x5a6)]===_0x4d26ac[_0x450edc(0x2c2)][_0x450edc(0x13b)]){this[_0x450edc(0x290)](_0x324bed,_0x24e4e3['data'])[_0x450edc(0x3f6)](_0x816022=>{const _0x3ed928=_0x450edc;this[_0x3ed928(0x514)][_0x3ed928(0x519)](_0x816022),_0x25cc24();});return;}if(_0x24e4e3[_0x450edc(0x24e)][_0x450edc(0x5a6)]===_0x4d26ac[_0x450edc(0x2c2)][_0x450edc(0x12a)]){const _0x5a8836=_0x24e4e3['data'];this[_0x450edc(0x27b)](_0x5a8836)[_0x450edc(0x1c0)](_0x156291=>{const _0x59dfa7=_0x450edc;_0x411a56[_0x59dfa7(0x4d3)]({'cmd':_0x4b97d5[_0x59dfa7(0x336)],'code':_0x2abce2['OK'],'routeKey':_0x5a8836[_0x59dfa7(0x24e)][_0x59dfa7(0x563)],'routeType':'','data':{'eventID':_0x4d26ac[_0x59dfa7(0x2c2)][_0x59dfa7(0x25e)],'data':{'changesets':_0x156291}}});})[_0x450edc(0x3f6)](_0x1de7bc=>{const _0x3439b8=_0x450edc;this[_0x3439b8(0x514)][_0x3439b8(0x519)](_0x1de7bc),_0x25cc24();});return;}}_0x44a5b1[_0x450edc(0x434)](_0xfbb49e(_0x24e4e3));},'close':()=>{const _0x495557=_0x5dfe8d;_0x44a5b1[_0x495557(0x245)](),_0x2b89a7[_0x495557(0x37a)]();}},_0x324bed;}async[_0x357007(0x290)](_0x350f51,_0x1c6e52){const _0x5d7d60=_0x357007;var _0x872f5b,_0xa3049c;const {unitType:_0x4f86dd,unitID:_0x1ca3c9,changeset:_0x14644b}=_0x1c6e52[_0x5d7d60(0x24e)],_0x529ab5={'unitID':_0x1ca3c9,'memberID':_0x350f51['memberID'],'type':_0x4f86dd,'changeset':_0x4d26ac[_0x5d7d60(0x184)](_0x14644b)},_0x4fb2ce=this[_0x5d7d60(0x331)][_0x5d7d60(0x4d5)](_0x1d9233),_0x224511=this[_0x5d7d60(0x331)][_0x5d7d60(0x4d5)](_0x11df2a),_0x814d31=_0x52291d((_0xa3049c=(_0x872f5b=_0x224511==null?void 0x0:_0x224511[_0x5d7d60(0x2a3)])!=null?_0x872f5b:_0x4fb2ce)!=null?_0xa3049c:_0x1cf9dc,_0x4f86dd,_0x1ca3c9);try{await this['_http']['post'](_0x814d31,{'body':_0x529ab5});}catch(_0x22a7da){throw this[_0x5d7d60(0x514)][_0x5d7d60(0x519)](_0x5d7d60(0x341),_0x5d7d60(0x4b9)),_0x22a7da;}}async['_fetchMissChangesets'](_0x4f3fb5){const _0x494398=_0x357007,{unitID:_0x133811,from:_0x4a7e44,to:_0x155068,unitType:_0x37c386}=_0x4f3fb5[_0x494398(0x24e)];return(await this[_0x494398(0x37b)][_0x494398(0x377)]({'metadata':void 0x0},{'unitID':_0x133811,'type':_0x37c386,'from':_0x4a7e44,'to':_0x155068}))[_0x494398(0x1a5)];}},_0x325eac[_0x357007(0x247)]=_0x1ea2a1([_0x11513a(0x0,_0x457d20[_0x357007(0x2c4)](_0x4737a0['HTTPService'])),_0x11513a(0x1,_0x457d20['Inject'](_0x4737a0[_0x357007(0x114)])),_0x11513a(0x2,_0x457d20[_0x357007(0x3cc)]),_0x11513a(0x3,_0x457d20[_0x357007(0x54e)]),_0x11513a(0x4,_0x4d26ac['ISnapshotServerService'])],_0x325eac[_0x357007(0x247)]);const _0x5deb07=_0x357007(0x10f);function _0x51c318(_0x366d9e){const _0xd116b2=_0x357007;return JSON[_0xd116b2(0x219)](_0x366d9e)[_0xd116b2(0x1b0)];}class _0x2f817a{constructor(){const _0x32eb8d=_0x357007;_0x184856(this,_0x32eb8d(0x278),new _0x44a02e[(_0x32eb8d(0x481))]()),_0x184856(this,'commentUpdate$',this[_0x32eb8d(0x278)][_0x32eb8d(0x242)]());}[_0x357007(0x202)](_0x4ce9d5){const _0x274206=_0x357007;this[_0x274206(0x278)][_0x274206(0x4d3)](_0x4ce9d5);}}var _0xefe13c=Object['defineProperty'],_0x224ece=Object[_0x357007(0x41b)],_0x45f2ba=(_0x1cd339,_0x436f22,_0x4d3f8c,_0x307982)=>{const _0x4facb7=_0x357007;for(var _0x4b3cf1=_0x307982>0x1?void 0x0:_0x307982?_0x224ece(_0x436f22,_0x4d3f8c):_0x436f22,_0x27c07b=_0x1cd339[_0x4facb7(0x1b0)]-0x1,_0x1d3bea;_0x27c07b>=0x0;_0x27c07b--)(_0x1d3bea=_0x1cd339[_0x27c07b])&&(_0x4b3cf1=(_0x307982?_0x1d3bea(_0x436f22,_0x4d3f8c,_0x4b3cf1):_0x1d3bea(_0x4b3cf1))||_0x4b3cf1);return _0x307982&&_0x4b3cf1&&_0xefe13c(_0x436f22,_0x4d3f8c,_0x4b3cf1),_0x4b3cf1;},_0x452715=(_0x91bd12,_0x5b146a)=>(_0x4908d0,_0x25837a)=>_0x5b146a(_0x4908d0,_0x25837a,_0x91bd12);_0x325eac[_0x357007(0x2fa)]=class extends _0x457d20[_0x357007(0x348)]{constructor(_0x138a21,_0x3ed425){const _0x3ce7f2=_0x357007;super(),_0x184856(this,_0x3ce7f2(0x1ae),new Map()),(this[_0x3ce7f2(0x140)]=_0x138a21,this[_0x3ce7f2(0x142)]=_0x3ed425,this[_0x3ce7f2(0x189)](_0x457d20[_0x3ce7f2(0x41d)](_0x44a02e[_0x3ce7f2(0x31f)](this['_univerInstanceService'][_0x3ce7f2(0x416)](_0x457d20['UniverInstanceType'][_0x3ce7f2(0x3b5)])[_0x3ce7f2(0x3f8)](_0x4c8197['map'](_0x6839d=>_0x6839d[_0x3ce7f2(0x4a5)]())),this[_0x3ce7f2(0x140)][_0x3ce7f2(0x416)](_0x457d20[_0x3ce7f2(0x3f0)]['UNIVER_DOC'])[_0x3ce7f2(0x3f8)](_0x4c8197[_0x3ce7f2(0x595)](_0x493255=>_0x493255[_0x3ce7f2(0x4a5)]())),this[_0x3ce7f2(0x140)][_0x3ce7f2(0x416)](_0x457d20['UniverInstanceType'][_0x3ce7f2(0x4a9)])['pipe'](_0x4c8197[_0x3ce7f2(0x595)](_0x4ec605=>_0x4ec605[_0x3ce7f2(0x4a5)]())))[_0x3ce7f2(0x479)](_0x1b0250=>this[_0x3ce7f2(0x1e3)](_0x1b0250)))));}[_0x357007(0x34d)](_0x3cb018){const _0x191eff=_0x357007;this[_0x191eff(0x142)][_0x191eff(0x34d)](_0x3cb018);}[_0x357007(0x505)](){const _0x552cf7=_0x357007;return this[_0x552cf7(0x142)][_0x552cf7(0x505)]();}[_0x357007(0x522)](_0x376b3f,_0x1a927b){const _0x335306=_0x357007;let _0x3cbe14=this['_roomMembers'][_0x335306(0x1b5)](_0x376b3f);_0x3cbe14||(_0x3cbe14=new _0x2e1f1a(),this[_0x335306(0x1ae)][_0x335306(0x40f)](_0x376b3f,_0x3cbe14)),_0x3cbe14['updateMember'](_0x1a927b);}['removeMember'](_0x1ba0a9,_0x1fc86d){const _0x16a61c=_0x357007,_0x1a4893=this[_0x16a61c(0x1ae)][_0x16a61c(0x1b5)](_0x1ba0a9);_0x1a4893&&_0x1a4893[_0x16a61c(0x275)](_0x1fc86d);}[_0x357007(0x2b4)](_0x2f8f49){const _0x4324c8=_0x357007;return this[_0x4324c8(0x1ae)][_0x4324c8(0x1b5)](_0x2f8f49);}[_0x357007(0x1c1)](_0x299f23,_0x18c952){const _0x4793a0=_0x357007,_0x5f1c74=this[_0x4793a0(0x1ae)][_0x4793a0(0x1b5)](_0x299f23);if(_0x5f1c74)return _0x5f1c74['getMember'](_0x18c952);}[_0x357007(0x1e3)](_0x3dded1){const _0x1c2b98=_0x357007,_0x5e9538=this[_0x1c2b98(0x1ae)]['get'](_0x3dded1);_0x5e9538&&(_0x5e9538[_0x1c2b98(0x37a)](),this[_0x1c2b98(0x1ae)][_0x1c2b98(0x378)](_0x3dded1));}['dispose'](){const _0x219282=_0x357007;this['_roomMembers'][_0x219282(0x274)](_0x181ff8=>_0x181ff8[_0x219282(0x37a)]()),this[_0x219282(0x1ae)][_0x219282(0x3fb)]();}},_0x325eac[_0x357007(0x2fa)]=_0x45f2ba([_0x452715(0x0,_0x457d20[_0x357007(0x35e)]),_0x452715(0x1,_0x457d20[_0x357007(0x2c4)](_0x457d20[_0x357007(0x33e)]))],_0x325eac[_0x357007(0x2fa)]);class _0x2e1f1a extends _0x457d20[_0x357007(0x348)]{constructor(){const _0x3a3c87=_0x357007;super(...arguments),_0x184856(this,_0x3a3c87(0x4f1),new Map());}[_0x357007(0x37a)](){const _0x223aa7=_0x357007;this[_0x223aa7(0x4f1)][_0x223aa7(0x3fb)]();}['updateMember'](_0x2b90bf){const _0xaf50eb=_0x357007;this['_members'][_0xaf50eb(0x40f)](_0x2b90bf[_0xaf50eb(0x55e)],_0x2b90bf);}['removeMember'](_0xcb878d){const _0xce2b60=_0x357007;this[_0xce2b60(0x4f1)]['delete'](_0xcb878d);}['getMember'](_0x227d39){const _0x2d506b=_0x357007;return this['_members'][_0x2d506b(0x1b5)](_0x227d39);}[_0x357007(0x1d2)](){const _0x392650=_0x357007;return Array[_0x392650(0x46a)](this[_0x392650(0x4f1)][_0x392650(0x1ed)]());}}var _0x4da265=Object[_0x357007(0x376)],_0x2375be=Object[_0x357007(0x41b)],_0x57d1ae=(_0x516ddb,_0x59bcb7,_0x276f1a,_0x5e7089)=>{for(var _0x4ac839=_0x5e7089>0x1?void 0x0:_0x5e7089?_0x2375be(_0x59bcb7,_0x276f1a):_0x59bcb7,_0x46dad3=_0x516ddb['length']-0x1,_0x51afbf;_0x46dad3>=0x0;_0x46dad3--)(_0x51afbf=_0x516ddb[_0x46dad3])&&(_0x4ac839=(_0x5e7089?_0x51afbf(_0x59bcb7,_0x276f1a,_0x4ac839):_0x51afbf(_0x4ac839))||_0x4ac839);return _0x5e7089&&_0x4ac839&&_0x4da265(_0x59bcb7,_0x276f1a,_0x4ac839),_0x4ac839;},_0x1e8364=(_0x10a785,_0x7ed68b)=>(_0x2ab91f,_0x37430f)=>_0x7ed68b(_0x2ab91f,_0x37430f,_0x10a785),_0x4b3a9d=(_0x4c2989=>(_0x4c2989[_0x4c2989['IDLE']=0x0]=_0x357007(0x306),_0x4c2989[_0x4c2989[_0x357007(0x107)]=0x1]=_0x357007(0x107),_0x4c2989[_0x4c2989[_0x357007(0x31a)]=0x2]='OFFLINE',_0x4c2989[_0x4c2989[_0x357007(0x447)]=0x3]='ONLINE',_0x4c2989))(_0x4b3a9d||{});_0x325eac['CollaborationSession']=class extends _0x457d20['RxDisposable']{constructor(_0x374a16,_0x4fe40a,_0x250271,_0x1c5728,_0x23dbdc,_0x4f9846,_0x27d46c,_0x426344,_0x4ae2e4,_0x514ec8){const _0xa57bd6=_0x357007;super(),_0x184856(this,_0xa57bd6(0x200),new _0x44a02e[(_0xa57bd6(0x387))](0x0)),_0x184856(this,'sessionStatus$',this[_0xa57bd6(0x200)]['asObservable']()),_0x184856(this,_0xa57bd6(0x121),new _0x44a02e[(_0xa57bd6(0x481))]()),_0x184856(this,_0xa57bd6(0x2f9),this[_0xa57bd6(0x121)]['asObservable']()),_0x184856(this,_0xa57bd6(0x494)),_0x184856(this,'_socketMessageSubscription'),_0x184856(this,_0xa57bd6(0x1ca)),_0x184856(this,_0xa57bd6(0x2f4),!0x1),_0x184856(this,'_telemetryInfo',null),(this[_0xa57bd6(0x130)]=_0x374a16,this['_logService']=_0x250271,this['_beforeCloseService']=_0x1c5728,this[_0xa57bd6(0x285)]=_0x23dbdc,this[_0xa57bd6(0x331)]=_0x4f9846,this[_0xa57bd6(0x22c)]=_0x27d46c,this[_0xa57bd6(0x3e1)]=_0x426344,this[_0xa57bd6(0x4e6)]=_0x4ae2e4,this['_telemetryService']=_0x514ec8,this['_shouldReportTelemetry']=!!this['_telemetryService'],_0x4fe40a['pipe'](_0x44a02e[_0xa57bd6(0x138)](this['dispose$']))[_0xa57bd6(0x479)](_0x4fce5d=>{const _0x2e6883=_0xa57bd6;var _0xb33a9;typeof _0x4fce5d>'u'||(this[_0x2e6883(0x494)]=_0x4fce5d,_0x4fce5d?(this[_0x2e6883(0x20b)](_0x4fce5d),this['_socketMessageSubscription']=_0x4fce5d['message$'][_0x2e6883(0x479)](_0x4a0df3=>{const _0x3998d5=_0x2e6883;_0x4a0df3[_0x3998d5(0x18e)]===this[_0x3998d5(0x130)]&&this[_0x3998d5(0x17c)](_0x4a0df3);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x2e6883(0x200)]['next'](0x2),(_0xb33a9=this['_socketMessageSubscription'])==null||_0xb33a9[_0x2e6883(0x436)](),this[_0x2e6883(0x119)]=null));}),this['disposeWithMe'](this['_beforeCloseService']['registerOnClose'](()=>{const _0x27311b=_0xa57bd6;var _0x338285;(_0x338285=this[_0x27311b(0x494)])==null||_0x338285[_0x27311b(0x434)]({'cmd':_0x4b97d5[_0x27311b(0x292)],'data':{'roomID':this[_0x27311b(0x130)]}});})));}get[_0x357007(0x473)](){const _0x1a41bc=_0x357007;return this[_0x1a41bc(0x200)][_0x1a41bc(0x511)]();}[_0x357007(0x14f)](){const _0x1242c4=_0x357007;var _0x380020,_0x1a5da7;return(_0x1a5da7=(_0x380020=this[_0x1242c4(0x494)])==null?void 0x0:_0x380020[_0x1242c4(0x55e)])!=null?_0x1a5da7:null;}[_0x357007(0x37a)](){const _0x9ad16c=_0x357007;super[_0x9ad16c(0x37a)](),this[_0x9ad16c(0x43e)][_0x9ad16c(0x4d3)](),this[_0x9ad16c(0x43e)]['complete']();}[_0x357007(0x245)](){const _0x443e71=_0x357007;var _0x4a48fa,_0x2cd0d5;this['_throwTelemetryCollaborationNewChangeset'](),(_0x4a48fa=this[_0x443e71(0x494)])==null||_0x4a48fa[_0x443e71(0x434)]({'cmd':_0x4b97d5[_0x443e71(0x292)],'data':{'roomID':this['_unitID']}}),(_0x2cd0d5=this[_0x443e71(0x494)])==null||_0x2cd0d5[_0x443e71(0x245)](),this[_0x443e71(0x121)][_0x443e71(0x2ea)](),this['_sessionStatus$']['complete'](),this[_0x443e71(0x37a)]();}[_0x357007(0x17c)](_0x22cf9e){const _0x1cac48=_0x357007;_0x22cf9e[_0x1cac48(0x588)]===_0x4b97d5[_0x1cac48(0x48c)]?this[_0x1cac48(0x386)](_0x22cf9e):_0x22cf9e['cmd']===_0x4b97d5['RECV']&&this[_0x1cac48(0x5a7)](_0x22cf9e);}['_joinRoom'](_0x1c42dd){const _0x38b631=_0x357007;this[_0x38b631(0x200)][_0x38b631(0x4d3)](0x1),_0x1c42dd['send']({'cmd':_0x4b97d5[_0x38b631(0x48c)],'routeKey':this[_0x38b631(0x130)],'routeType':'','data':{'rooms':[{'roomID':this[_0x38b631(0x130)]}]}});}[_0x357007(0x386)](_0x49a9f9){const _0x5013dc=_0x357007;var _0x1c7287;if(_0x49a9f9[_0x5013dc(0x352)]===_0x2abce2[_0x5013dc(0x449)]){this[_0x5013dc(0x285)]['show']({'type':_0x151ca4['MessageType'][_0x5013dc(0x5ab)],'content':this[_0x5013dc(0x22c)]['t'](_0x5013dc(0x3bc))}),this[_0x5013dc(0x200)][_0x5013dc(0x4d3)](0x2);return;}this[_0x5013dc(0x200)]['next'](0x3);const _0x3addc3=(_0x1c7287=_0x49a9f9[_0x5013dc(0x24e)][_0x5013dc(0x2b1)][this[_0x5013dc(0x130)]])==null?void 0x0:_0x1c7287[_0x5013dc(0x148)];_0x3addc3&&_0x3addc3[_0x5013dc(0x274)](_0x2914c6=>this[_0x5013dc(0x3e1)][_0x5013dc(0x522)](this['_unitID'],_0x2914c6));}[_0x357007(0x5a7)](_0x408139){const _0x22cc8a=_0x357007;try{const _0x2c3785=_0x408139[_0x22cc8a(0x24e)];switch(_0x2c3785[_0x22cc8a(0x5a6)]){case _0x4d26ac[_0x22cc8a(0x2c2)][_0x22cc8a(0x2fd)]:this['_onUserJoin'](_0x2c3785),this['_event$'][_0x22cc8a(0x4d3)](_0x2c3785);break;case _0x4d26ac[_0x22cc8a(0x2c2)][_0x22cc8a(0x1d1)]:this[_0x22cc8a(0x38c)](_0x2c3785),this['_event$'][_0x22cc8a(0x4d3)](_0x2c3785);break;case _0x4d26ac[_0x22cc8a(0x2c2)][_0x22cc8a(0x1dd)]:case _0x4d26ac[_0x22cc8a(0x2c2)]['CHANGESET_SHOULD_RETRY']:this[_0x22cc8a(0x1a7)](),this[_0x22cc8a(0x57a)](),this[_0x22cc8a(0x121)]['next'](_0x2c3785);break;case _0x4d26ac['CollaborationEvent']['MSG_FOR_ERROR']:this[_0x22cc8a(0x514)][_0x22cc8a(0x519)](_0x22cc8a(0x305)+JSON[_0x22cc8a(0x219)](_0x2c3785)),this['_event$'][_0x22cc8a(0x4d3)](_0x2c3785);break;case _0x4d26ac[_0x22cc8a(0x2c2)][_0x22cc8a(0x523)]:this[_0x22cc8a(0x4e6)]['onCommentUpdate'](_0x2c3785['data']),this[_0x22cc8a(0x121)]['next'](_0x2c3785);break;default:this[_0x22cc8a(0x121)][_0x22cc8a(0x4d3)](_0x2c3785);}}catch(_0x256c93){this[_0x22cc8a(0x514)][_0x22cc8a(0x519)](_0x256c93,_0x408139);}}[_0x357007(0x5a5)](_0x2bea13){const _0x22007b=_0x357007;this['_memberService'][_0x22007b(0x522)](this[_0x22007b(0x130)],_0x2bea13['data']);}[_0x357007(0x38c)](_0x3a1c32){const _0x10c2ff=_0x357007;this['_memberService'][_0x10c2ff(0x275)](this[_0x10c2ff(0x130)],_0x3a1c32[_0x10c2ff(0x24e)][_0x10c2ff(0x55e)]);}async[_0x357007(0x434)](_0x1ac7db,_0x571bdc){const _0x1be01a=_0x357007;if(this['sessionStatus']!==0x3||!this[_0x1be01a(0x494)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x1ac7db[_0x1be01a(0x5a6)]===_0x4d26ac['CollaborationEvent'][_0x1be01a(0x13b)]&&(this[_0x1be01a(0x21d)](),this[_0x1be01a(0x166)](_0x1ac7db)),this[_0x1be01a(0x494)][_0x1be01a(0x434)]({'cmd':_0x4b97d5['INGEST'],'routeKey':_0x571bdc,'routeType':'','data':_0x1ac7db});}catch(_0x1776f6){this[_0x1be01a(0x514)][_0x1be01a(0x519)](_0x1776f6);}}[_0x357007(0x21d)](){const _0x32a7ce=_0x357007;var _0x258924;this[_0x32a7ce(0x1ca)]=window[_0x32a7ce(0x1c5)](()=>{const _0x4f8070=_0x32a7ce;this[_0x4f8070(0x1ca)]=null,this[_0x4f8070(0x285)][_0x4f8070(0x3a5)]({'type':_0x151ca4['MessageType'][_0x4f8070(0x455)],'content':this[_0x4f8070(0x22c)]['t'](_0x4f8070(0x4ee))});},(_0x258924=this['_configService'][_0x32a7ce(0x4d5)](_0x4f64ac))!=null?_0x258924:0x4e20);}[_0x357007(0x57a)](){const _0x59d19c=_0x357007;this[_0x59d19c(0x1ca)]&&(clearTimeout(this[_0x59d19c(0x1ca)]),this[_0x59d19c(0x1ca)]=null);}[_0x357007(0x166)](_0x108ffe){const _0x10bc8f=_0x357007;if(!this['_shouldReportTelemetry'])return;const {data:_0x2bf96e}=_0x108ffe,{unitID:_0x7d9a64,changeset:_0x2227ce}=_0x2bf96e,{mutations:_0x428c4b,type:_0x33d400}=_0x2227ce;this[_0x10bc8f(0x2c1)]={'unitId':_0x7d9a64,'type':_0x33d400,'startTime':performance[_0x10bc8f(0x1ea)](),'stopTime':0x0,'duration':0x0,'size':_0x51c318(_0x428c4b)};}['_stopTelemetryCollaborationNewChangeset'](){const _0x184098=_0x357007;if(this[_0x184098(0x2f4)]){if(!this['_telemetryInfo']){this[_0x184098(0x514)]['error']('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x184098(0x2c1)][_0x184098(0x342)]=performance[_0x184098(0x1ea)](),this['_telemetryInfo']['duration']=this[_0x184098(0x2c1)][_0x184098(0x342)]-this[_0x184098(0x2c1)][_0x184098(0x301)],this[_0x184098(0x28b)][_0x184098(0x4ab)](_0x5deb07,this[_0x184098(0x2c1)]),this[_0x184098(0x2c1)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){const _0x2e31ef=_0x357007;this[_0x2e31ef(0x2c1)]=null;}},_0x325eac[_0x357007(0xe2)]=_0x57d1ae([_0x1e8364(0x2,_0x457d20[_0x357007(0x54e)]),_0x1e8364(0x3,_0x2b45ba[_0x357007(0x1de)]),_0x1e8364(0x4,_0x2b45ba[_0x357007(0x3ba)]),_0x1e8364(0x5,_0x457d20['IConfigService']),_0x1e8364(0x6,_0x457d20[_0x357007(0x2c4)](_0x457d20[_0x357007(0x128)])),_0x1e8364(0x7,_0x457d20[_0x357007(0x2c4)](_0x325eac[_0x357007(0x2fa)])),_0x1e8364(0x8,_0x457d20[_0x357007(0x2c4)](_0x2f817a)),_0x1e8364(0x9,_0x457d20[_0x357007(0xe8)](_0x1d7f47[_0x357007(0x276)]))],_0x325eac['CollaborationSession']);var _0x3ea5fa=Object[_0x357007(0x376)],_0x4c51a0=Object[_0x357007(0x41b)],_0x9919aa=(_0x54fcf8,_0x164d44,_0x3f81a0,_0x198ad7)=>{for(var _0x4eafd6=_0x198ad7>0x1?void 0x0:_0x198ad7?_0x4c51a0(_0x164d44,_0x3f81a0):_0x164d44,_0x2b190d=_0x54fcf8['length']-0x1,_0x4bef50;_0x2b190d>=0x0;_0x2b190d--)(_0x4bef50=_0x54fcf8[_0x2b190d])&&(_0x4eafd6=(_0x198ad7?_0x4bef50(_0x164d44,_0x3f81a0,_0x4eafd6):_0x4bef50(_0x4eafd6))||_0x4eafd6);return _0x198ad7&&_0x4eafd6&&_0x3ea5fa(_0x164d44,_0x3f81a0,_0x4eafd6),_0x4eafd6;},_0x1bb855=(_0x59216c,_0x49404b)=>(_0x3ffdad,_0x4934c5)=>_0x49404b(_0x3ffdad,_0x4934c5,_0x59216c);_0x325eac[_0x357007(0x30b)]=class extends _0x457d20[_0x357007(0x348)]{constructor(_0x1002fe,_0x404c67,_0x1427a4,_0x463e48,_0x299582,_0x12acf8){const _0x207af9=_0x357007;super(),_0x184856(this,_0x207af9(0x597),new _0x44a02e[(_0x207af9(0x387))](void 0x0)),_0x184856(this,_0x207af9(0x18c),this[_0x207af9(0x597)][_0x207af9(0x242)]()),_0x184856(this,_0x207af9(0x27c),null),_0x184856(this,'_sessions',new Map()),_0x184856(this,_0x207af9(0x103),new _0x44a02e[(_0x207af9(0x387))](_0x4b3a9d[_0x207af9(0x306)])),_0x184856(this,_0x207af9(0x1ec),this['_status$'][_0x207af9(0x242)]()),_0x184856(this,_0x207af9(0x157),!0x1),_0x184856(this,_0x207af9(0x392)),_0x184856(this,_0x207af9(0x4de),0x0),_0x184856(this,_0x207af9(0x26e)),_0x184856(this,'_timeoutTimer'),(this[_0x207af9(0x593)]=_0x1002fe,this[_0x207af9(0x22c)]=_0x404c67,this[_0x207af9(0x285)]=_0x1427a4,this['_logService']=_0x463e48,this[_0x207af9(0x331)]=_0x299582,this['_socketService']=_0x12acf8,this[_0x207af9(0x3ee)]());}get['_socket'](){const _0x3dbcf2=_0x357007;return this[_0x3dbcf2(0x597)][_0x3dbcf2(0x511)]();}[_0x357007(0x3ee)](){const _0x4d50de=_0x357007;this[_0x4d50de(0x4c3)](),this['_listenToOnlineEvent']();}['dispose'](){const _0x33b0dc=_0x357007;super[_0x33b0dc(0x37a)](),this[_0x33b0dc(0x16c)]['forEach'](_0x1cbbc5=>_0x1cbbc5[_0x33b0dc(0x37a)]()),this[_0x33b0dc(0x16c)][_0x33b0dc(0x3fb)](),this['_status$'][_0x33b0dc(0x2ea)]();}async[_0x357007(0x538)](_0x49eb36){const _0x215245=_0x357007;if(this['_sessions'][_0x215245(0xf8)](_0x49eb36))return this[_0x215245(0x16c)][_0x215245(0x1b5)](_0x49eb36);this['_tryEnsureSocket']();const _0x4b1df4=this[_0x215245(0x593)][_0x215245(0xfd)](_0x325eac[_0x215245(0xe2)],_0x49eb36,this['_socket$'][_0x215245(0x242)]());return this[_0x215245(0x16c)][_0x215245(0x40f)](_0x49eb36,_0x4b1df4),_0x4b1df4;}['closeSession'](_0x5eb0f3){const _0x149ea3=_0x357007;var _0x23c540;const _0x222d6a=this[_0x149ea3(0x16c)]['get'](_0x5eb0f3);_0x222d6a&&(this[_0x149ea3(0x16c)][_0x149ea3(0x378)](_0x5eb0f3),_0x222d6a[_0x149ea3(0x245)]()),this['_sessions'][_0x149ea3(0x485)]||(_0x23c540=this['_socket'])==null||_0x23c540[_0x149ea3(0x245)]();}[_0x357007(0x319)](){const _0x1d08f6=_0x357007;this[_0x1d08f6(0x4de)]=0x0,this[_0x1d08f6(0x392)]!=null&&(clearTimeout(this[_0x1d08f6(0x392)]),this[_0x1d08f6(0x392)]=null),this[_0x1d08f6(0x24b)]();}[_0x357007(0x4fc)](){const _0x25f10f=_0x357007;var _0x8a74ba,_0x5d99a4;const _0x2a2042=this[_0x25f10f(0x331)][_0x25f10f(0x4d5)](_0x446764),_0x46e759=this[_0x25f10f(0x331)][_0x25f10f(0x4d5)](_0x11df2a),_0x2b9f21=(_0x5d99a4=(_0x8a74ba=_0x46e759==null?void 0x0:_0x46e759[_0x25f10f(0x48a)])!=null?_0x8a74ba:_0x2a2042)!=null?_0x5d99a4:_0x47820e,_0x3cfbd2=this['_socketService'][_0x25f10f(0x3ea)](_0x2b9f21);return this['_candidateSocket']=_0x3cfbd2,_0x3cfbd2;}['_tryEnsureSocket'](){const _0x162170=_0x357007;var _0x3086c1,_0x3f9e5c;try{const _0x4737fc=(_0x3f9e5c=(_0x3086c1=this[_0x162170(0x494)])!=null?_0x3086c1:this[_0x162170(0x27c)])!=null?_0x3f9e5c:this[_0x162170(0x4fc)]();if(_0x4737fc){const _0x1c3cf9=_0x4737fc[_0x162170(0x434)];_0x4737fc[_0x162170(0x434)]=_0x494f49=>(this[_0x162170(0x572)](),_0x1c3cf9['apply'](_0x4737fc,[_0x494f49])),_0x4737fc[_0x162170(0x379)][_0x162170(0x479)](_0x17a3ab=>this[_0x162170(0x182)](_0x4737fc,_0x17a3ab)),_0x4737fc[_0x162170(0x58c)][_0x162170(0x3f8)](_0x4c8197[_0x162170(0x370)](0x1))[_0x162170(0x479)](_0x511fa6=>this['_logService'][_0x162170(0x519)](_0x162170(0x35b),_0x511fa6)),_0x4737fc['open$'][_0x162170(0x3f8)](_0x4c8197[_0x162170(0x370)](0x1))[_0x162170(0x479)](()=>{const _0x4dabf5=_0x162170;this[_0x4dabf5(0x367)](_0x4737fc);}),_0x4737fc[_0x162170(0x36a)][_0x162170(0x3f8)](_0x4c8197[_0x162170(0x370)](0x1))['subscribe'](_0x5811bc=>{const _0x705485=_0x162170;this[_0x705485(0x514)][_0x705485(0x17b)](_0x705485(0x52f),_0x705485(0x531),_0x5811bc),this[_0x705485(0x35a)]();});}}catch(_0x36e232){this[_0x162170(0x514)][_0x162170(0x519)](_0x36e232),this[_0x162170(0x35a)]();}}[_0x357007(0x367)](_0x314a28){const _0x46cfa1=_0x357007;this[_0x46cfa1(0x514)][_0x46cfa1(0x17b)]('[CollaborationSessionService]','socket\x20open.'),_0x314a28['send']({'cmd':_0x4b97d5[_0x46cfa1(0x2c6)]}),this[_0x46cfa1(0x572)]();}[_0x357007(0x4c3)](){const _0x5e969a=_0x357007;window[_0x5e969a(0xf3)]('offline',()=>this[_0x5e969a(0x560)]());}['_onOffline'](){const _0x3b3666=_0x357007;this[_0x3b3666(0x157)]=!0x1,this[_0x3b3666(0x27c)]=null,this[_0x3b3666(0x103)][_0x3b3666(0x4d3)](_0x4b3a9d[_0x3b3666(0x31a)]),this[_0x3b3666(0x597)][_0x3b3666(0x4d3)](null),this[_0x3b3666(0x2d5)](),this[_0x3b3666(0x549)]();}[_0x357007(0x35a)](){const _0x43966a=_0x357007;var _0xb4f0a3;this[_0x43966a(0x560)](),this[_0x43966a(0x4de)]<((_0xb4f0a3=this[_0x43966a(0x331)][_0x43966a(0x4d5)](_0x577f9c))!=null?_0xb4f0a3:0x3)?(this[_0x43966a(0x285)][_0x43966a(0x3a5)]({'key':'collaboration-session-retry','type':_0x151ca4[_0x43966a(0x21f)][_0x43966a(0x5ab)],'content':this['_localeService']['t'](_0x43966a(0x2dc))}),this[_0x43966a(0x24b)]()):this[_0x43966a(0x285)][_0x43966a(0x3a5)]({'key':_0x43966a(0x43b),'type':_0x151ca4[_0x43966a(0x21f)]['Error'],'content':this[_0x43966a(0x22c)]['t'](_0x43966a(0x402))});}[_0x357007(0x2d7)](){const _0x29b5d9=_0x357007,_0x3551a6=()=>{const _0x45f34e=_0xbbea;this[_0x45f34e(0x494)]||this['reconnect']();},_0x2074b1=()=>{const _0x3fc9a3=_0xbbea;this[_0x3fc9a3(0x494)]||document['visibilityState']===_0x3fc9a3(0x59d)||this[_0x3fc9a3(0x319)]();};window[_0x29b5d9(0xf3)](_0x29b5d9(0x491),_0x3551a6),document['addEventListener']('visibilitychange',_0x2074b1);}[_0x357007(0x24b)](){const _0x1f5b00=_0x357007;var _0x1329e6;const _0x4a7aae=this[_0x1f5b00(0x4de)],_0x487aa7=this[_0x1f5b00(0x331)][_0x1f5b00(0x4d5)](_0x11df2a),_0x1ba59c=_0x4a7aae===0x0?0x0:((_0x1329e6=_0x487aa7==null?void 0x0:_0x487aa7[_0x1f5b00(0x500)])!=null?_0x1329e6:0x4e20)*0x2**_0x4a7aae;this[_0x1f5b00(0x392)]=window['setTimeout'](()=>{const _0x5d468c=_0x1f5b00;clearTimeout(this[_0x5d468c(0x392)]),this['_retryConnectingTimer']=null,this[_0x5d468c(0x52e)]();},_0x1ba59c),this[_0x1f5b00(0x4de)]+=0x1;}['_onMessage'](_0x3d1f21,_0x3d7f1f){const _0x493842=_0x357007,{cmd:_0x32339e}=_0x3d7f1f;_0x32339e===_0x4b97d5[_0x493842(0x2c6)]&&!this[_0x493842(0x157)]&&(_0x3d1f21[_0x493842(0x55e)]=_0x3d7f1f[_0x493842(0x24e)]['memberID'],this[_0x493842(0x597)][_0x493842(0x4d3)](_0x3d1f21),this[_0x493842(0x103)][_0x493842(0x4d3)](_0x4b3a9d[_0x493842(0x447)]),this[_0x493842(0x157)]=!0x0,this['_candidateSocket']=null),_0x32339e===_0x4b97d5[_0x493842(0x48b)]&&this[_0x493842(0x2d5)](),this['_rescheduleHeartbeat']();}[_0x357007(0x572)](){const _0x3541e5=_0x357007;var _0x29ff92;this[_0x3541e5(0x549)](),this['_sendHeartbeatTimer']=window[_0x3541e5(0x1c5)](()=>this[_0x3541e5(0x1a6)](),(_0x29ff92=this['_configService']['getConfig'](_0x21f50d))!=null?_0x29ff92:0x7530);}[_0x357007(0x1a6)](){const _0x12c8db=_0x357007;this[_0x12c8db(0x494)][_0x12c8db(0x434)]({'cmd':_0x4b97d5[_0x12c8db(0x48b)]}),this['_waitForHeartbeatResponse']();}[_0x357007(0x4c2)](){const _0x4ee488=_0x357007;var _0x3b79fd;this['_timeoutTimer']=window[_0x4ee488(0x1c5)](()=>this[_0x4ee488(0x35a)](),(_0x3b79fd=this['_configService'][_0x4ee488(0x4d5)](_0x4f64ac))!=null?_0x3b79fd:0x4e20);}[_0x357007(0x549)](){const _0x233894=_0x357007;this[_0x233894(0x26e)]!=null&&(clearTimeout(this[_0x233894(0x26e)]),this[_0x233894(0x26e)]=null);}[_0x357007(0x2d5)](){const _0x168f81=_0x357007;this[_0x168f81(0x3cb)]!=null&&(clearTimeout(this[_0x168f81(0x3cb)]),this['_timeoutTimer']=null);}},_0x325eac[_0x357007(0x30b)]=_0x9919aa([_0x1bb855(0x0,_0x457d20['Inject'](_0x457d20[_0x357007(0x467)])),_0x1bb855(0x1,_0x457d20[_0x357007(0x2c4)](_0x457d20[_0x357007(0x128)])),_0x1bb855(0x2,_0x2b45ba[_0x357007(0x3ba)]),_0x1bb855(0x3,_0x457d20[_0x357007(0x54e)]),_0x1bb855(0x4,_0x457d20[_0x357007(0x3cc)]),_0x1bb855(0x5,_0x3b47f0)],_0x325eac[_0x357007(0x30b)]);const _0x4d5b05=[];for(let _0x43ab57=0x0;_0x43ab57<0x100;++_0x43ab57)_0x4d5b05[_0x357007(0x39d)]((_0x43ab57+0x100)[_0x357007(0x14b)](0x10)['slice'](0x1));function _0x1e8155(_0x11a7e8,_0x4dfc82=0x0){return(_0x4d5b05[_0x11a7e8[_0x4dfc82+0x0]]+_0x4d5b05[_0x11a7e8[_0x4dfc82+0x1]]+_0x4d5b05[_0x11a7e8[_0x4dfc82+0x2]]+_0x4d5b05[_0x11a7e8[_0x4dfc82+0x3]]+'-'+_0x4d5b05[_0x11a7e8[_0x4dfc82+0x4]]+_0x4d5b05[_0x11a7e8[_0x4dfc82+0x5]]+'-'+_0x4d5b05[_0x11a7e8[_0x4dfc82+0x6]]+_0x4d5b05[_0x11a7e8[_0x4dfc82+0x7]]+'-'+_0x4d5b05[_0x11a7e8[_0x4dfc82+0x8]]+_0x4d5b05[_0x11a7e8[_0x4dfc82+0x9]]+'-'+_0x4d5b05[_0x11a7e8[_0x4dfc82+0xa]]+_0x4d5b05[_0x11a7e8[_0x4dfc82+0xb]]+_0x4d5b05[_0x11a7e8[_0x4dfc82+0xc]]+_0x4d5b05[_0x11a7e8[_0x4dfc82+0xd]]+_0x4d5b05[_0x11a7e8[_0x4dfc82+0xe]]+_0x4d5b05[_0x11a7e8[_0x4dfc82+0xf]])['toLowerCase']();}let _0x4f6f9d;const _0x3e6d6a=new Uint8Array(0x10);function _0x475baf(){const _0x36f77d=_0x357007;if(!_0x4f6f9d){if(typeof crypto>'u'||!crypto[_0x36f77d(0x425)])throw new Error(_0x36f77d(0x504));_0x4f6f9d=crypto[_0x36f77d(0x425)][_0x36f77d(0x125)](crypto);}return _0x4f6f9d(_0x3e6d6a);}const _0xa9a6e8={'randomUUID':typeof crypto<'u'&&crypto[_0x357007(0x160)]&&crypto[_0x357007(0x160)][_0x357007(0x125)](crypto)};function _0xee27dc(_0x31f9c0,_0x5095bf,_0x456ffc){const _0x1f02d1=_0x357007;if(_0xa9a6e8['randomUUID']&&!_0x5095bf&&!_0x31f9c0)return _0xa9a6e8[_0x1f02d1(0x160)]();_0x31f9c0=_0x31f9c0||{};const _0x3bb819=_0x31f9c0[_0x1f02d1(0x524)]||(_0x31f9c0[_0x1f02d1(0x51e)]||_0x475baf)();return _0x3bb819[0x6]=_0x3bb819[0x6]&0xf|0x40,_0x3bb819[0x8]=_0x3bb819[0x8]&0x3f|0x80,_0x1e8155(_0x3bb819);}var _0x669888=Object[_0x357007(0x376)],_0x2117c0=Object[_0x357007(0x41b)],_0x2bb539=(_0x2724ff,_0x27aad0,_0x1eab2a,_0x415120)=>{const _0x4ce944=_0x357007;for(var _0x3f743=_0x415120>0x1?void 0x0:_0x415120?_0x2117c0(_0x27aad0,_0x1eab2a):_0x27aad0,_0x1536d3=_0x2724ff[_0x4ce944(0x1b0)]-0x1,_0x14fa45;_0x1536d3>=0x0;_0x1536d3--)(_0x14fa45=_0x2724ff[_0x1536d3])&&(_0x3f743=(_0x415120?_0x14fa45(_0x27aad0,_0x1eab2a,_0x3f743):_0x14fa45(_0x3f743))||_0x3f743);return _0x415120&&_0x3f743&&_0x669888(_0x27aad0,_0x1eab2a,_0x3f743),_0x3f743;},_0x54e084=(_0x310ddd,_0x44f547)=>(_0x464f8d,_0x3c4979)=>_0x44f547(_0x464f8d,_0x3c4979,_0x310ddd);let _0xa432dd=class{constructor(_0x1c5388,_0xce9629,_0x4fe4b6){const _0x4c5d23=_0x357007;this['_injector']=_0x1c5388,this[_0x4c5d23(0x2af)]=_0xce9629,this[_0x4c5d23(0x152)]=_0x4fe4b6;}[_0x357007(0x440)](_0x3dd86e){const _0x3d2d78=_0x357007;this[_0x3d2d78(0x113)](_0x3dd86e),this[_0x3d2d78(0x1b8)](_0x3dd86e);}[_0x357007(0x1a1)](_0x1d7eba){const _0x105a7b=_0x357007,{unitID:_0x60fb1}=_0x1d7eba,_0x47b7a5=this[_0x105a7b(0x152)][_0x105a7b(0x25f)](_0x60fb1)[_0x105a7b(0x3ab)](_0x1b8609[_0x105a7b(0x212)]),{redoCache:_0x3ca100}=_0x47b7a5[_0x105a7b(0x5a3)]();if(_0x3ca100[_0x105a7b(0x1b0)]===0x0)return _0x1d7eba;let _0xbe2add=_0x457d20[_0x105a7b(0x458)][_0x105a7b(0x176)](_0x1d7eba[_0x105a7b(0x21b)][0x0]);for(let _0x65d567=0x0;_0x65d567<_0x3ca100[_0x105a7b(0x1b0)];_0x65d567++){const _0x2f53c6={'id':_0x105a7b(0x50f),'params':{..._0x3ca100[_0x65d567]}},_0x1c57d5=this['_transformService'][_0x105a7b(0x3fe)](_0xbe2add,_0x2f53c6,!0x1);if(_0x4d26ac[_0x105a7b(0x1cf)](_0x1c57d5))throw _0x1c57d5[_0x105a7b(0x519)];_0xbe2add=_0x1c57d5['m1Prime'];}return{..._0x457d20[_0x105a7b(0x458)][_0x105a7b(0x176)](_0x1d7eba),'mutations':[_0xbe2add]};}[_0x357007(0x113)](_0xe66520){const _0x3af656=_0x357007,{unitID:_0x32d1af}=_0xe66520,_0x1098c0=this[_0x3af656(0x152)][_0x3af656(0x25f)](_0x32d1af)[_0x3af656(0x3ab)](_0x1b8609[_0x3af656(0x212)]),{undoCache:_0x56fbac,redoCache:_0x2fdaf8}=_0x1098c0['getUndoRedoMutationParamsCache']();if(_0x56fbac[_0x3af656(0x1b0)]===0x0||_0x2fdaf8['length']===0x0)return;const _0x41a079=[],_0x172441=[];let _0x40e5ca=_0x457d20[_0x3af656(0x458)][_0x3af656(0x176)](_0xe66520[_0x3af656(0x21b)][0x0]),_0xf36845=_0x457d20[_0x3af656(0x458)][_0x3af656(0x176)](_0xe66520[_0x3af656(0x21b)][0x0]);for(let _0x28b34b=_0x56fbac[_0x3af656(0x1b0)]-0x1;_0x28b34b>=0x0;_0x28b34b--){const _0x1fd554={'id':_0x3af656(0x50f),'params':{..._0x56fbac[_0x28b34b]}},_0x2ec485={'id':_0x3af656(0x50f),'params':{..._0x2fdaf8[_0x28b34b]}},_0x1a0e09=this[_0x3af656(0x2af)][_0x3af656(0x3fe)](_0x40e5ca,_0x1fd554,!0x1),_0x44a30f=this[_0x3af656(0x2af)]['transformMutation'](_0xf36845,_0x2ec485,!0x1);if(_0x4d26ac[_0x3af656(0x1cf)](_0x1a0e09))throw _0x1a0e09[_0x3af656(0x519)];if(_0x4d26ac[_0x3af656(0x1cf)](_0x44a30f))throw _0x44a30f[_0x3af656(0x519)];_0x41a079['unshift'](_0x1a0e09[_0x3af656(0x472)][_0x3af656(0x53a)]),_0x172441[_0x3af656(0x2a8)](_0x44a30f[_0x3af656(0x472)][_0x3af656(0x53a)]),_0x40e5ca=_0x1a0e09[_0x3af656(0x366)],_0xf36845=_0x44a30f[_0x3af656(0x366)];}_0x1098c0[_0x3af656(0x5a2)]({'undoCache':_0x41a079,'redoCache':_0x172441});}[_0x357007(0x1b8)](_0x206569){const _0x4d3b58=_0x357007,{unitID:_0x1a54ca}=_0x206569,_0xe62bdf=this[_0x4d3b58(0x152)][_0x4d3b58(0x25f)](_0x1a54ca)[_0x4d3b58(0x3ab)](_0x1b8609['DocIMEInputManagerService']),_0x5e3fe7=_0xe62bdf[_0x4d3b58(0x57b)]();if(_0x5e3fe7==null)return;const _0x299c14=[{'id':_0x4d3b58(0x50f),'params':{'unitId':_0x206569[_0x4d3b58(0x563)],'actions':null,'textRanges':[_0x5e3fe7]}}],_0x26874e=this['_transformService'][_0x4d3b58(0x424)](_0x206569,_0x299c14);if(!_0x4d26ac[_0x4d3b58(0xed)](_0x26874e))throw _0x26874e[_0x4d3b58(0x519)];const _0x29b669=_0x26874e[_0x4d3b58(0x472)][0x0][_0x4d3b58(0x53a)][_0x4d3b58(0xf2)];Array['isArray'](_0x29b669)&&_0x29b669[_0x4d3b58(0x1b0)]&&_0xe62bdf['setActiveRange'](_0x29b669[0x0]);}};_0xa432dd=_0x2bb539([_0x54e084(0x0,_0x457d20[_0x357007(0x2c4)](_0x457d20[_0x357007(0x467)])),_0x54e084(0x1,_0x4d26ac[_0x357007(0x329)]),_0x54e084(0x2,_0x5c58b0[_0x357007(0x313)])],_0xa432dd);var _0x450459=Object[_0x357007(0x376)],_0x44f162=Object['getOwnPropertyDescriptor'],_0x43a98f=(_0x349deb,_0x5ea9ee,_0x36faa3,_0x337f25)=>{const _0xb036fd=_0x357007;for(var _0x1cd669=_0x337f25>0x1?void 0x0:_0x337f25?_0x44f162(_0x5ea9ee,_0x36faa3):_0x5ea9ee,_0x3114bb=_0x349deb[_0xb036fd(0x1b0)]-0x1,_0x21e897;_0x3114bb>=0x0;_0x3114bb--)(_0x21e897=_0x349deb[_0x3114bb])&&(_0x1cd669=(_0x337f25?_0x21e897(_0x5ea9ee,_0x36faa3,_0x1cd669):_0x21e897(_0x1cd669))||_0x1cd669);return _0x337f25&&_0x1cd669&&_0x450459(_0x5ea9ee,_0x36faa3,_0x1cd669),_0x1cd669;},_0x2c3974=(_0x32c01c,_0x594d12)=>(_0x36e35e,_0x35dcc3)=>_0x594d12(_0x36e35e,_0x35dcc3,_0x32c01c);_0x325eac[_0x357007(0x4f9)]=class extends _0x457d20[_0x357007(0x348)]{constructor(_0x59cd94,_0x31cd06,_0x4b7a6d,_0x3a6f6a,_0x5f1315){const _0x6535b5=_0x357007;super(),_0x184856(this,_0x6535b5(0xf6),new Map()),_0x184856(this,_0x6535b5(0x369),new Map()),_0x184856(this,_0x6535b5(0x564),!0x1),(this[_0x6535b5(0x331)]=_0x59cd94,this[_0x6535b5(0x2fb)]=_0x31cd06,this[_0x6535b5(0x567)]=_0x4b7a6d,this[_0x6535b5(0x22c)]=_0x3a6f6a,this['_revisionService']=_0x5f1315,this['_setupBeforeClosingHandler']());}[_0x357007(0x1e6)](){const _0x2141c0=_0x357007;this[_0x2141c0(0x564)]=!0x0;}[_0x357007(0x283)](){const _0x21bb43=_0x357007;this[_0x21bb43(0x564)]=!0x1;}[_0x357007(0x37a)](){const _0x591e1b=_0x357007;this[_0x591e1b(0x4c5)]()[_0x591e1b(0x1c0)](()=>super[_0x591e1b(0x37a)]());}async[_0x357007(0x120)](_0x56f1ac){const _0x11bb88=_0x357007;return this[_0x11bb88(0x564)]?null:this[_0x11bb88(0x2fb)][_0x11bb88(0x3df)](_0x18ec28(_0x56f1ac));}async[_0x357007(0x4b2)](_0x39f913,_0x135050){const _0x3e42b7=_0x357007;return!!this[_0x3e42b7(0x2fb)][_0x3e42b7(0x280)](_0x39f913,_0x135050);}[_0x357007(0x123)](_0x2a30ba,_0x489b76,_0x2dd589,_0x54f0f6){const _0x3c345f=_0x357007,_0x51894e=this[_0x3c345f(0xfc)][_0x3c345f(0x110)](_0x2a30ba);this[_0x3c345f(0xf6)][_0x3c345f(0x40f)](_0x2a30ba,{'unitID':_0x2a30ba,'type':_0x489b76,'awaitingChangeset':_0x2dd589,'mutations':_0x54f0f6,'rev':_0x51894e}),this[_0x3c345f(0x369)]['has'](_0x2a30ba)||this[_0x3c345f(0x3e2)](_0x2a30ba);}[_0x357007(0x3e2)](_0x227633){const _0x3a1164=_0x357007,_0x2b9426=this[_0x3a1164(0x55b)]();_0x2b9426===0x0?this[_0x3a1164(0x2cf)](_0x227633):this[_0x3a1164(0x369)][_0x3a1164(0x40f)](_0x227633,setTimeout(()=>this['_saveCache'](_0x227633),_0x2b9426));}['_getSaveTimeout'](){const _0x24b8c4=_0x357007;var _0x203e7d;return(_0x203e7d=this[_0x24b8c4(0x331)][_0x24b8c4(0x4d5)](_0x348843))!=null?_0x203e7d:0x3e8;}[_0x357007(0x2cf)](_0x590ca7){const _0x1b1ac0=_0x357007,_0x297c88=this[_0x1b1ac0(0x369)][_0x1b1ac0(0x1b5)](_0x590ca7);return _0x297c88!==void 0x0&&window[_0x1b1ac0(0x332)](_0x297c88),this[_0x1b1ac0(0x2fb)][_0x1b1ac0(0x280)](_0x18ec28(_0x590ca7),this[_0x1b1ac0(0xf6)][_0x1b1ac0(0x1b5)](_0x590ca7))['then'](()=>this[_0x1b1ac0(0x369)][_0x1b1ac0(0x378)](_0x590ca7));}async[_0x357007(0x4c5)](){const _0x315ca6=_0x357007,_0x3aac8c=[];this['_saveTaskMap'][_0x315ca6(0x274)]((_0x53c732,_0x3d5cae)=>{const _0x268349=_0x315ca6;window[_0x268349(0x332)](_0x53c732),_0x3aac8c[_0x268349(0x39d)](this['_saveCache'](_0x3d5cae)[_0x268349(0x1c0)](()=>{const _0x47680c=_0x268349;this[_0x47680c(0x369)]['delete'](_0x3d5cae);}));}),await Promise[_0x315ca6(0x186)](_0x3aac8c);}[_0x357007(0x102)](){const _0x44676b=_0x357007;this[_0x44676b(0x189)](this[_0x44676b(0x567)][_0x44676b(0x273)](()=>{const _0x2143f2=_0x44676b;if(this[_0x2143f2(0x369)][_0x2143f2(0x485)])return this[_0x2143f2(0x22c)]['t'](_0x2143f2(0xee));}));}},_0x325eac[_0x357007(0x4f9)]=_0x43a98f([_0x2c3974(0x0,_0x457d20[_0x357007(0x3cc)]),_0x2c3974(0x1,_0x457d20[_0x357007(0x5aa)]),_0x2c3974(0x2,_0x2b45ba[_0x357007(0x1de)]),_0x2c3974(0x3,_0x457d20[_0x357007(0x2c4)](_0x457d20[_0x357007(0x128)])),_0x2c3974(0x4,_0x457d20['Inject'](_0x4d26ac[_0x357007(0x37c)]))],_0x325eac[_0x357007(0x4f9)]);function _0x18ec28(_0x8cbb43){const _0xf66a9=_0x357007;return _0xf66a9(0x150)+_0x8cbb43;}var _0x563a69=Object['defineProperty'],_0x21636f=Object[_0x357007(0x41b)],_0x3d43e6=(_0x3c7452,_0x47b15b,_0x3b6f0c,_0x4ea544)=>{const _0x584dcf=_0x357007;for(var _0x17365a=_0x4ea544>0x1?void 0x0:_0x4ea544?_0x21636f(_0x47b15b,_0x3b6f0c):_0x47b15b,_0x5d1536=_0x3c7452[_0x584dcf(0x1b0)]-0x1,_0x1e3022;_0x5d1536>=0x0;_0x5d1536--)(_0x1e3022=_0x3c7452[_0x5d1536])&&(_0x17365a=(_0x4ea544?_0x1e3022(_0x47b15b,_0x3b6f0c,_0x17365a):_0x1e3022(_0x17365a))||_0x17365a);return _0x4ea544&&_0x17365a&&_0x563a69(_0x47b15b,_0x3b6f0c,_0x17365a),_0x17365a;},_0x319e8a=(_0x14b41d,_0x7ce07c)=>(_0x287593,_0x1a7f60)=>_0x7ce07c(_0x287593,_0x1a7f60,_0x14b41d);function _0x51b30d(_0x2e07b3){const _0x44aae0=_0x357007,{unitID:_0x506dc1,mutations:_0x360321}=_0x2e07b3;return{'unitId':_0x506dc1,'subUnitId':_0x360321[0x0]['params'][_0x44aae0(0x13d)]};}let _0x201d4e=class{constructor(_0x4ad7bc,_0x466b2e,_0x1b1aab){const _0x594117=_0x357007;this[_0x594117(0x593)]=_0x4ad7bc,this[_0x594117(0x2af)]=_0x466b2e,this['_instanceService']=_0x1b1aab;}['transformSelections'](_0x53c3bf){const _0x16aa19=_0x357007;var _0x44496e,_0x47c288,_0x58dabe,_0x54f524;const _0x4e7fdb=this[_0x16aa19(0x593)][_0x16aa19(0x1b5)](_0x91efb2['SheetsSelectionsService']),{unitId:_0x1e9a19,subUnitId:_0x3ebd35}=_0x51b30d(_0x53c3bf),_0x1f446e=_0x4e7fdb['getWorkbookSelections'](_0x1e9a19)[_0x16aa19(0x22f)](),_0x1a3799=(_0x47c288=(_0x44496e=this['_instanceService'][_0x16aa19(0x469)](_0x1e9a19))==null?void 0x0:_0x44496e[_0x16aa19(0x4a1)]())==null?void 0x0:_0x47c288[_0x16aa19(0x507)]();if(_0x1f446e[_0x16aa19(0x1b0)]===0x0||!_0x1e9a19||!_0x3ebd35)return;const _0x27622e=[{'id':_0x91efb2['SetSelectionsOperation']['id'],'params':{'unitId':_0x1e9a19,'subUnitId':_0x1a3799,'selections':_0x457d20[_0x16aa19(0x458)][_0x16aa19(0x176)](_0x1f446e)}}],_0xab0eb=this[_0x16aa19(0x2af)][_0x16aa19(0x424)](_0x53c3bf,_0x27622e);if(!_0x4d26ac[_0x16aa19(0xed)](_0xab0eb))throw _0xab0eb[_0x16aa19(0x519)];const _0x256f60=(_0x54f524=(_0x58dabe=_0xab0eb[_0x16aa19(0x472)][0x0])==null?void 0x0:_0x58dabe['params'])==null?void 0x0:_0x54f524[_0x16aa19(0x47d)];if(Array['isArray'](_0x256f60)&&_0x256f60[_0x16aa19(0x1b0)]){if(_0x256f60[_0x16aa19(0x1b0)]===_0x27622e[0x0][_0x16aa19(0x53a)][_0x16aa19(0x47d)][_0x16aa19(0x1b0)]&&_0x256f60[_0x16aa19(0x259)]((_0x2872e3,_0x1e2c37)=>_0x457d20['Rectangle'][_0x16aa19(0x131)](_0x2872e3[_0x16aa19(0x10b)],_0x27622e[0x0]['params'][_0x16aa19(0x47d)][_0x1e2c37][_0x16aa19(0x10b)])))return;this[_0x16aa19(0x593)][_0x16aa19(0x1b5)](_0x457d20[_0x16aa19(0x324)])[_0x16aa19(0x470)](_0x91efb2[_0x16aa19(0x437)]['id'],{'unitId':_0x1e9a19,'subUnitId':_0x1a3799,'selections':_0x256f60});}}};_0x201d4e=_0x3d43e6([_0x319e8a(0x0,_0x457d20[_0x357007(0x2c4)](_0x457d20[_0x357007(0x467)])),_0x319e8a(0x1,_0x4d26ac['ITransformService']),_0x319e8a(0x2,_0x457d20[_0x357007(0x35e)])],_0x201d4e);const _0x1731f5=_0x457d20[_0x357007(0x2aa)](_0x357007(0x4d0));var _0x53b568=(_0x7c6f8=>(_0x7c6f8[_0x7c6f8[_0x357007(0x39c)]=0x0]=_0x357007(0x39c),_0x7c6f8[_0x7c6f8[_0x357007(0x1a3)]=0x1]=_0x357007(0x1a3),_0x7c6f8))(_0x53b568||{});const _0x138621=0x7530,_0x552c6f=_0x357007(0x349);class _0x21ae63 extends _0x457d20[_0x357007(0x348)]{constructor(){const _0x5e0ded=_0x357007;super(),_0x184856(this,_0x5e0ded(0x3e6),_0x457d20[_0x5e0ded(0x458)][_0x5e0ded(0x249)]()),_0x184856(this,_0x5e0ded(0x2b7),new Set()),_0x184856(this,'_unitOnClients',new Map()),_0x184856(this,'_heartbeatTimer',null),_0x184856(this,'_clearOtherTimers',new Map()),_0x184856(this,_0x5e0ded(0x555),new Map()),this[_0x5e0ded(0x47f)]();}[_0x357007(0x37a)](){const _0x26bec5=_0x357007;super[_0x26bec5(0x37a)](),this[_0x26bec5(0x1a2)]['forEach']((_0x1da921,_0xc928d)=>this['_removeClearOtherTimer'](_0xc928d)),this[_0x26bec5(0x368)]&&window[_0x26bec5(0x4c9)](this['_heartbeatTimer']);}[_0x357007(0x4d7)](_0x374992){const _0x1e6815=_0x357007;return this[_0x1e6815(0x230)](_0x374992)['pipe'](_0x44a02e['distinctUntilChanged']());}[_0x357007(0x2dd)](_0xc8a54){const _0x421b9f=_0x357007;this[_0x421b9f(0x2b7)][_0x421b9f(0x485)]===0x0&&this[_0x421b9f(0x170)](),this['_selfUnitIDs'][_0x421b9f(0x552)](_0xc8a54),this[_0x421b9f(0x4dc)]({'type':0x0,'memberID':this[_0x421b9f(0x3e6)],'unitIDs':[_0xc8a54],'isForwarded':!0x1});}[_0x357007(0x47b)](_0x42cf1b){const _0x5c7843=_0x357007;this[_0x5c7843(0x2b7)][_0x5c7843(0x378)](_0x42cf1b),this['_selfUnitIDs'][_0x5c7843(0x485)]===0x0&&this[_0x5c7843(0x368)]&&window[_0x5c7843(0x4c9)](this[_0x5c7843(0x368)]);}[_0x357007(0x47f)](){const _0x4a21bd=_0x357007;this[_0x4a21bd(0x189)](_0x457d20[_0x4a21bd(0x41d)](_0x44a02e[_0x4a21bd(0x441)](window,_0x4a21bd(0x177))['subscribe'](_0xabd4d0=>{const _0x4ab372=_0x4a21bd;if(_0xabd4d0[_0x4ab372(0x19d)]!==_0x552c6f||!_0xabd4d0['newValue'])return;const _0x38157d=JSON[_0x4ab372(0x406)](_0xabd4d0['newValue']);this['_handleEvent'](_0x38157d);}))),window['addEventListener'](_0x4a21bd(0x345),()=>this[_0x4a21bd(0x4dc)]({'type':0x1,'memberID':this[_0x4a21bd(0x3e6)],'unitIDs':Array[_0x4a21bd(0x46a)](this[_0x4a21bd(0x2b7)])}));}[_0x357007(0x194)](_0x6dd8e7){const _0x93e0ab=_0x357007;switch(_0x6dd8e7['type']){case 0x0:this[_0x93e0ab(0x1b3)](_0x6dd8e7);break;case 0x1:this[_0x93e0ab(0x45c)](_0x6dd8e7);break;case 0x2:this[_0x93e0ab(0x143)](_0x6dd8e7);break;}}['_handleJoinEvent'](_0xec99ab){const _0x36f0c6=_0x357007,{unitIDs:_0x3e0a30,memberID:_0x44740a,isForwarded:_0x49c7d4}=_0xec99ab;_0x3e0a30[_0x36f0c6(0x274)](_0x50a00c=>{const _0x5bf05c=_0x36f0c6;if(!_0x49c7d4&&this[_0x5bf05c(0x58d)]['has'](_0x50a00c)&&this[_0x5bf05c(0x230)](_0x50a00c)[_0x5bf05c(0x4d3)](0x1),!this['_unitOnClients'][_0x5bf05c(0xf8)](_0x50a00c)||!this['_unitOnClients']['get'](_0x50a00c)[_0x5bf05c(0xf8)](_0x44740a)){const _0x2ed167=this[_0x5bf05c(0x58d)][_0x5bf05c(0x1b5)](_0x50a00c)||new Set();_0x2ed167[_0x5bf05c(0x552)](_0x44740a),this[_0x5bf05c(0x58d)]['set'](_0x50a00c,_0x2ed167),this[_0x5bf05c(0x1fc)](_0x44740a);}}),_0x49c7d4||this[_0x36f0c6(0x4dc)]({'type':0x0,'memberID':this[_0x36f0c6(0x3e6)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x5f326c){const _0x26d3e0=_0x357007;this[_0x26d3e0(0x32f)](_0x5f326c);const _0xd104b=window[_0x26d3e0(0x1c5)](()=>{const _0x4e20fa=_0x26d3e0;this[_0x4e20fa(0x58d)][_0x4e20fa(0x274)](_0x5a845e=>{const _0x568ca2=_0x4e20fa;_0x5a845e[_0x568ca2(0x378)](_0x5f326c);});},_0x138621*0x2);this['_clearOtherTimers']['set'](_0x5f326c,_0xd104b);}['_removeClearOtherTimer'](_0x27dfe9){const _0x24e127=_0x357007;if(this[_0x24e127(0x1a2)][_0x24e127(0xf8)](_0x27dfe9)){const _0x64e714=this[_0x24e127(0x1a2)][_0x24e127(0x1b5)](_0x27dfe9);_0x64e714&&window[_0x24e127(0x332)](_0x64e714),this[_0x24e127(0x1a2)]['set'](_0x27dfe9,null);}}[_0x357007(0x45c)](_0x3fca52){const _0xbedccf=_0x357007,{memberID:_0x5344cd,unitIDs:_0xceb15e}=_0x3fca52;_0xceb15e[_0xbedccf(0x274)](_0x4e6f73=>{const _0x4a7954=_0xbedccf;var _0xd03699;const _0x353f08=this[_0x4a7954(0x58d)][_0x4a7954(0x1b5)](_0x4e6f73);_0x353f08&&(_0x353f08[_0x4a7954(0x378)](_0x5344cd),(_0xd03699=this[_0x4a7954(0x230)](_0x4e6f73))==null||_0xd03699['next'](_0x353f08['size']===0x0?0x0:0x1));}),this[_0xbedccf(0x32f)](_0x5344cd);}[_0x357007(0x143)](_0x330080){const _0x3ec53a=_0x357007;this[_0x3ec53a(0x1fc)](_0x330080[_0x3ec53a(0x55e)]);}['_send'](_0x1837bb){const _0x4fb7b8=_0x357007;localStorage['setItem'](_0x552c6f,JSON[_0x4fb7b8(0x219)](_0x1837bb));}[_0x357007(0x170)](){const _0x3aa673=_0x357007;this[_0x3aa673(0x368)]=window[_0x3aa673(0x565)](()=>{const _0xe96245=_0x3aa673;this[_0xe96245(0x4dc)]({'type':0x2,'memberID':this[_0xe96245(0x3e6)]});},_0x138621);}['_ensureSubject'](_0x123357){const _0x533da5=_0x357007;return this[_0x533da5(0x555)][_0x533da5(0xf8)](_0x123357)||this[_0x533da5(0x555)][_0x533da5(0x40f)](_0x123357,new _0x44a02e[(_0x533da5(0x387))](0x0)),this[_0x533da5(0x555)][_0x533da5(0x1b5)](_0x123357);}}var _0x58be24=Object[_0x357007(0x376)],_0x8dec1f=Object['getOwnPropertyDescriptor'],_0x30e8d0=(_0x108cd3,_0x574539,_0x2b8b1a,_0x143545)=>{const _0x5f0bfa=_0x357007;for(var _0x1d2c59=_0x143545>0x1?void 0x0:_0x143545?_0x8dec1f(_0x574539,_0x2b8b1a):_0x574539,_0x457a77=_0x108cd3[_0x5f0bfa(0x1b0)]-0x1,_0x1285a1;_0x457a77>=0x0;_0x457a77--)(_0x1285a1=_0x108cd3[_0x457a77])&&(_0x1d2c59=(_0x143545?_0x1285a1(_0x574539,_0x2b8b1a,_0x1d2c59):_0x1285a1(_0x1d2c59))||_0x1d2c59);return _0x143545&&_0x1d2c59&&_0x58be24(_0x574539,_0x2b8b1a,_0x1d2c59),_0x1d2c59;},_0x135c53=(_0x1ad490,_0x319f32)=>(_0x4afdef,_0x4e926e)=>_0x319f32(_0x4afdef,_0x4e926e,_0x1ad490);let _0xa6eb37=class{constructor(_0x8bc918,_0x490ffd,_0x5d23f0){const _0x587340=_0x357007;this[_0x587340(0x593)]=_0x8bc918,this[_0x587340(0x2af)]=_0x490ffd,this['_docStateChangeManagerService']=_0x5d23f0;}['transformStateCache'](_0x5b8845){const _0x20732d=_0x357007;this[_0x20732d(0x11f)](_0x5b8845);}[_0x357007(0x1a1)](_0x3bd560){const _0x4bfd61=_0x357007,{unitID:_0x414b3d}=_0x3bd560,{collaboration:_0x394446}=this['_docStateChangeManagerService'][_0x4bfd61(0x2d8)](_0x414b3d);if(_0x394446[_0x4bfd61(0x1b0)]===0x0)return _0x3bd560;let _0x405d6a=_0x457d20['Tools'][_0x4bfd61(0x176)](_0x3bd560[_0x4bfd61(0x21b)][0x0]);for(let _0x42f5e0=0x0;_0x42f5e0<_0x394446[_0x4bfd61(0x1b0)];_0x42f5e0++){const _0x108a40={'id':_0x4bfd61(0x50f),'params':{'unitId':_0x394446[_0x42f5e0][_0x4bfd61(0x58b)],..._0x394446[_0x42f5e0][_0x4bfd61(0x427)]}},_0x4a0a68=this[_0x4bfd61(0x2af)][_0x4bfd61(0x3fe)](_0x405d6a,_0x108a40,!0x1);if(_0x4d26ac['isTransformMutationFailure'](_0x4a0a68))throw _0x4a0a68[_0x4bfd61(0x519)];_0x405d6a=_0x4a0a68[_0x4bfd61(0x366)];}return{..._0x457d20[_0x4bfd61(0x458)]['deepClone'](_0x3bd560),'mutations':[_0x405d6a]};}[_0x357007(0x11f)](_0x3b8106){const _0x4e59df=_0x357007,{unitID:_0x7140b7}=_0x3b8106,{history:_0x1d8b54,collaboration:_0x40f338}=this[_0x4e59df(0x2b5)][_0x4e59df(0x2d8)](_0x7140b7);if(_0x1d8b54[_0x4e59df(0x1b0)]===0x0&&_0x40f338['length']===0x0)return;const _0x24377c=[],_0x13aeb4=[];let _0x259b98=_0x457d20[_0x4e59df(0x458)]['deepClone'](_0x3b8106[_0x4e59df(0x21b)][0x0]),_0x18eb75=_0x457d20[_0x4e59df(0x458)][_0x4e59df(0x176)](_0x3b8106[_0x4e59df(0x21b)][0x0]);for(let _0x4b413a=_0x1d8b54['length']-0x1;_0x4b413a>=0x0;_0x4b413a--){const _0x3b96f0={'id':_0x4e59df(0x50f),'params':{'unitId':_0x1d8b54[_0x4b413a][_0x4e59df(0x58b)],..._0x1d8b54[_0x4b413a]['undoState']}},_0x47bf64={'id':_0x4e59df(0x50f),'params':{'unitId':_0x1d8b54[_0x4b413a][_0x4e59df(0x58b)],..._0x1d8b54[_0x4b413a][_0x4e59df(0x427)]}},_0x50ae8f=this[_0x4e59df(0x2af)][_0x4e59df(0x3fe)](_0x259b98,_0x3b96f0,!0x1),_0xc91c69=this['_transformService']['transformMutation'](_0x18eb75,_0x47bf64,!0x1);if(_0x4d26ac[_0x4e59df(0x1cf)](_0x50ae8f))throw _0x50ae8f[_0x4e59df(0x519)];if(_0x4d26ac[_0x4e59df(0x1cf)](_0xc91c69))throw _0xc91c69[_0x4e59df(0x519)];_0x24377c[_0x4e59df(0x2a8)]({..._0x1d8b54[_0x4b413a],'undoState':_0x50ae8f['m2Prime'][_0x4e59df(0x53a)],'redoState':_0xc91c69['m2Prime'][_0x4e59df(0x53a)]}),_0x259b98=_0x50ae8f[_0x4e59df(0x366)],_0x18eb75=_0xc91c69[_0x4e59df(0x366)];}_0x259b98=_0x457d20['Tools'][_0x4e59df(0x176)](_0x3b8106[_0x4e59df(0x21b)][0x0]),_0x18eb75=_0x457d20[_0x4e59df(0x458)][_0x4e59df(0x176)](_0x3b8106['mutations'][0x0]);for(let _0x99378=_0x40f338[_0x4e59df(0x1b0)]-0x1;_0x99378>=0x0;_0x99378--){const _0x327a6b={'id':_0x4e59df(0x50f),'params':{'unitId':_0x40f338[_0x99378]['unitId'],..._0x40f338[_0x99378][_0x4e59df(0x28c)]}},_0x37ba65={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x40f338[_0x99378][_0x4e59df(0x58b)],..._0x40f338[_0x99378]['redoState']}},_0x4baaba=this['_transformService'][_0x4e59df(0x3fe)](_0x259b98,_0x327a6b,!0x1),_0x2e0252=this[_0x4e59df(0x2af)][_0x4e59df(0x3fe)](_0x18eb75,_0x37ba65,!0x1);if(_0x4d26ac['isTransformMutationFailure'](_0x4baaba))throw _0x4baaba['error'];if(_0x4d26ac[_0x4e59df(0x1cf)](_0x2e0252))throw _0x2e0252['error'];_0x13aeb4[_0x4e59df(0x2a8)]({..._0x40f338[_0x99378],'undoState':_0x4baaba[_0x4e59df(0x472)][_0x4e59df(0x53a)],'redoState':_0x2e0252[_0x4e59df(0x472)][_0x4e59df(0x53a)]}),_0x259b98=_0x4baaba['m1Prime'],_0x18eb75=_0x2e0252['m1Prime'];}this[_0x4e59df(0x2b5)]['setStateCache'](_0x7140b7,{'history':_0x24377c,'collaboration':_0x13aeb4});}};_0xa6eb37=_0x30e8d0([_0x135c53(0x0,_0x457d20[_0x357007(0x2c4)](_0x457d20['Injector'])),_0x135c53(0x1,_0x4d26ac[_0x357007(0x329)]),_0x135c53(0x2,_0x457d20[_0x357007(0x2c4)](_0x1b8609[_0x357007(0x2b0)]))],_0xa6eb37);function _0x320fbb(_0x1ac195){const _0x5e3e5c=_0x357007;let _0x5579e9='';for(const _0x58d040 of _0x1ac195){const {startOffset:_0xea26d3,endOffset:_0x5827e8,isActive:_0x36692b,rangeType:_0x4aa9be,segmentId:_0x5af735,segmentPage:_0x22225c}=_0x58d040;_0x5579e9[_0x5e3e5c(0x1b0)]&&(_0x5579e9+=','),_0x5579e9+=_0xea26d3+':'+_0x5827e8+':'+(_0x36692b?'1':'0')+':'+_0x4aa9be+':'+_0x5af735+':'+_0x22225c;}return _0x5579e9;}function _0x33a6e9(_0x2a2d95){const _0x3823f2=_0x357007,_0xb16067=_0x2a2d95[_0x3823f2(0x3c6)](','),_0x31c84a=[];for(const _0x12581c of _0xb16067){const [_0x3544f5,_0x8f00bb,_0x25fe7b,_0x4bd287,_0x4df97f,_0x136e43]=_0x12581c[_0x3823f2(0x3c6)](':');_0x31c84a['push']({'startOffset':Number(_0x3544f5),'endOffset':Number(_0x8f00bb),'collapsed':_0x3544f5===_0x8f00bb,'isActive':_0x25fe7b==='1','rangeType':_0x4bd287===_0x457d20['DOC_RANGE_TYPE'][_0x3823f2(0x2ab)]?_0x457d20[_0x3823f2(0x1d4)][_0x3823f2(0x2ab)]:_0x457d20[_0x3823f2(0x1d4)][_0x3823f2(0x11e)],'segmentId':typeof _0x4df97f==_0x3823f2(0x282)?String(_0x4df97f):'','segmentPage':Number(_0x136e43!=null?_0x136e43:-0x1)});}return _0x31c84a['some'](_0x196eda=>_0x196eda[_0x3823f2(0x1f6)])||(_0x31c84a[0x0][_0x3823f2(0x1f6)]=!0x0),_0x31c84a;}class _0x559ff9 extends _0x457d20[_0x357007(0xe7)]{constructor(){const _0x110503=_0x357007;super(...arguments),_0x184856(this,_0x110503(0x50e),new _0x44a02e['BehaviorSubject'](null)),_0x184856(this,_0x110503(0x2d9),this[_0x110503(0x50e)][_0x110503(0x242)]());}[_0x357007(0x3ef)](_0x1782f7){const _0x12f27f=_0x357007,{unitID:_0x4d6b1a,memberID:_0x5bd2f7,textRanges:_0x13b8b0}=_0x1782f7,_0x1bc9ec=_0x320fbb(_0x13b8b0);if(_0x1bc9ec==='')return;const _0x3262db={'unitID':_0x4d6b1a,'memberID':_0x5bd2f7,'selection':_0x1bc9ec};this[_0x12f27f(0x50e)][_0x12f27f(0x4d3)](_0x3262db);}}var _0x2a43a0=Object[_0x357007(0x376)],_0x405a2b=Object[_0x357007(0x41b)],_0x4b8c1b=(_0x306a1c,_0x401716,_0xc10cb,_0x18e0d0)=>{for(var _0x3b027b=_0x18e0d0>0x1?void 0x0:_0x18e0d0?_0x405a2b(_0x401716,_0xc10cb):_0x401716,_0x2d7c47=_0x306a1c['length']-0x1,_0x30b8a3;_0x2d7c47>=0x0;_0x2d7c47--)(_0x30b8a3=_0x306a1c[_0x2d7c47])&&(_0x3b027b=(_0x18e0d0?_0x30b8a3(_0x401716,_0xc10cb,_0x3b027b):_0x30b8a3(_0x3b027b))||_0x3b027b);return _0x18e0d0&&_0x3b027b&&_0x2a43a0(_0x401716,_0xc10cb,_0x3b027b),_0x3b027b;},_0x41333f=(_0x50810f,_0x2b8526)=>(_0x19eecc,_0x54084b)=>_0x2b8526(_0x19eecc,_0x54084b,_0x50810f);let _0x3ef40a=class{constructor(_0x59b0f9,_0x1f9e3c){const _0x1d6f09=_0x357007;this[_0x1d6f09(0x593)]=_0x59b0f9,this[_0x1d6f09(0x2af)]=_0x1f9e3c;}['transformSelections'](_0xb9469){const _0x278da5=_0x357007;var _0x5c33be;const _0x3ae410=this['_injector'][_0x278da5(0x1b5)](_0x279b33[_0x278da5(0x1c8)]),_0x5496e0=(_0x5c33be=_0x3ae410[_0x278da5(0x3cd)]())!=null?_0x5c33be:[];if(_0x5496e0['length']===0x0)return;const _0x173177=_0xb9469[_0x278da5(0x563)],_0xe3f229=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x173177,'actions':null,'textRanges':_0x5496e0}}],_0x5c873=this['_transformService'][_0x278da5(0x424)](_0xb9469,_0xe3f229);if(!_0x4d26ac[_0x278da5(0xed)](_0x5c873))throw _0x5c873['error'];const _0xe40dea=_0x5c873[_0x278da5(0x472)][0x0][_0x278da5(0x53a)][_0x278da5(0xf2)];Array[_0x278da5(0x139)](_0xe40dea)&&_0xe40dea[_0x278da5(0x1b0)]&&_0x3ae410[_0x278da5(0x4fb)](_0xe40dea,{'unitId':_0x173177,'subUnitId':_0x173177},!0x1);}};_0x3ef40a=_0x4b8c1b([_0x41333f(0x0,_0x457d20[_0x357007(0x2c4)](_0x457d20[_0x357007(0x467)])),_0x41333f(0x1,_0x4d26ac[_0x357007(0x329)])],_0x3ef40a);const _0x4cf167=new Set([_0x91efb2[_0x357007(0x29a)]['id']]);function _0x2f3d1d(_0x2b21aa,_0x385199,_0x59a5b1,_0x1077c,_0x373dd2){const _0x553547=_0x357007;var _0x195d92,_0x1af918,_0xc2f360,_0x42af61;const _0x5aaac4=[];for(const _0x39960d of _0x2b21aa)if(_0x4cf167[_0x553547(0xf8)](_0x39960d['id'])){if(_0x5aaac4[_0x553547(0x1b0)]>0x0)break;_0x5aaac4[_0x553547(0x39d)](_0x39960d);break;}else _0x5aaac4[_0x553547(0x39d)](_0x39960d);const _0x1d9fc6=(_0x1af918=(_0x195d92=_0x373dd2[_0x553547(0x505)]())==null?void 0x0:_0x195d92[_0x553547(0x5a0)])!=null?_0x1af918:_0x553547(0x23d),_0x1c4e85=(_0x42af61=(_0xc2f360=_0x373dd2[_0x553547(0x505)]())==null?void 0x0:_0xc2f360[_0x553547(0x55e)])!=null?_0x42af61:_0x553547(0x23d);return{'changeset':{'unitID':_0x385199,'type':_0x4d26ac['mapDocumentTypeToUniverType'](_0x59a5b1[_0x553547(0x286)](_0x385199)),'baseRev':_0x1077c[_0x553547(0x110)](_0x385199),'revision':0x0,'userID':_0x1d9fc6,'memberID':_0x1c4e85,'mutations':_0x5aaac4},'pendingMutations':_0x2b21aa[_0x553547(0x3b7)](_0x5aaac4[_0x553547(0x1b0)])};}function _0x55fba7(_0x20e73c,_0x4be046,_0x54529c,_0x189b2b,_0x484af3){const _0x41d8aa=_0x357007;var _0xf3c5c9,_0x26a459,_0x3024e0,_0x3e3791;const _0x9ac28b=[_0x20e73c[_0x41d8aa(0x1e2)]((_0x33f58d,_0x585ac0)=>{const _0x5cb51a=_0x41d8aa;var _0xa3f861;const {id:_0x5173b7}=_0x33f58d,{id:_0xd694ce,type:_0x94791b}=_0x585ac0,_0x1f6e5b=(_0xa3f861=_0x33f58d[_0x5cb51a(0x53a)])!=null?_0xa3f861:{'actions':null},_0x4a4235=_0x585ac0['params'];if(_0x5173b7&&_0x5173b7!==_0xd694ce)throw new Error(_0x5cb51a(0x4b3)+_0x5173b7+_0x5cb51a(0x15f)+_0xd694ce+'.');return{..._0x33f58d,'id':_0xd694ce,'type':_0x94791b,'params':{'unitId':_0x4a4235[_0x5cb51a(0x58b)],'textRanges':_0x4a4235['textRanges'],'actions':_0x457d20['JSONX'][_0x5cb51a(0x4aa)](_0x1f6e5b[_0x5cb51a(0xeb)],_0x4a4235[_0x5cb51a(0xeb)])}};},{})],_0x20cd56=(_0x26a459=(_0xf3c5c9=_0x484af3[_0x41d8aa(0x505)]())==null?void 0x0:_0xf3c5c9[_0x41d8aa(0x5a0)])!=null?_0x26a459:_0x41d8aa(0x23d),_0x2c24c1=(_0x3e3791=(_0x3024e0=_0x484af3[_0x41d8aa(0x505)]())==null?void 0x0:_0x3024e0['memberID'])!=null?_0x3e3791:_0x41d8aa(0x23d);return{'changeset':{'unitID':_0x4be046,'type':_0x4d26ac[_0x41d8aa(0x281)](_0x54529c[_0x41d8aa(0x286)](_0x4be046)),'baseRev':_0x189b2b['getCurrentRevOfUnit'](_0x4be046),'revision':0x0,'userID':_0x20cd56,'memberID':_0x2c24c1,'mutations':_0x9ac28b},'pendingMutations':[]};}function _0xa606e9(_0x115d35,_0x579949){const _0x588e92=_0x357007,_0x55ccf7=new _0x44a02e[(_0x588e92(0x173))](0x1);return setTimeout(()=>_0x55ccf7[_0x588e92(0x4d3)](_0x579949),_0x115d35),_0x55ccf7[_0x588e92(0x242)]()['pipe'](_0x44a02e[_0x588e92(0x370)](0x1));}const _0x451b76={'id':_0x91efb2[_0x357007(0x1f2)]['id'],'type':_0x457d20[_0x357007(0x304)][_0x357007(0x3da)],'params':{}};var _0x3fbbd3=Object['defineProperty'],_0x16216e=Object[_0x357007(0x41b)],_0x233cd3=(_0x2ad3b2,_0x99c543,_0x2b40e4,_0x3e2c99)=>{const _0x2a6523=_0x357007;for(var _0x223381=_0x3e2c99>0x1?void 0x0:_0x3e2c99?_0x16216e(_0x99c543,_0x2b40e4):_0x99c543,_0x4ee5be=_0x2ad3b2[_0x2a6523(0x1b0)]-0x1,_0x2e7410;_0x4ee5be>=0x0;_0x4ee5be--)(_0x2e7410=_0x2ad3b2[_0x4ee5be])&&(_0x223381=(_0x3e2c99?_0x2e7410(_0x99c543,_0x2b40e4,_0x223381):_0x2e7410(_0x223381))||_0x223381);return _0x3e2c99&&_0x223381&&_0x3fbbd3(_0x99c543,_0x2b40e4,_0x223381),_0x223381;},_0xb9c7f1=(_0x114b14,_0x156461)=>(_0x28ab99,_0x558ca9)=>_0x156461(_0x28ab99,_0x558ca9,_0x114b14),_0x44c5ad=(_0x583f58=>(_0x583f58[_0x357007(0x104)]=_0x357007(0x29f),_0x583f58[_0x357007(0x253)]='synced',_0x583f58[_0x357007(0x28f)]=_0x357007(0x2a5),_0x583f58[_0x357007(0x3d1)]=_0x357007(0x16f),_0x583f58['AWAITING_WITH_PENDING']=_0x357007(0x257),_0x583f58[_0x357007(0x1c3)]=_0x357007(0x520),_0x583f58[_0x357007(0x52a)]='conflict',_0x583f58[_0x357007(0x31a)]=_0x357007(0x474),_0x583f58))(_0x44c5ad||{});const _0xa6d16=0xea60;class _0x36fdd4{constructor(_0x4c7062,_0x142bf6,_0x3f54b0,_0x22cdf9,_0x392a56,_0x547506,_0x16cbe8,_0x3e0a08,_0x314364){const _0x50865d=_0x357007;_0x184856(this,_0x50865d(0x24a),null),_0x184856(this,_0x50865d(0x422),[]),(this[_0x50865d(0x563)]=_0x4c7062,this[_0x50865d(0x486)]=_0x142bf6,this[_0x50865d(0x354)]=_0x392a56,this[_0x50865d(0x2a1)]=_0x547506,this[_0x50865d(0x3d8)]=_0x16cbe8,this[_0x50865d(0xfc)]=_0x3e0a08,this[_0x50865d(0x4e9)]=_0x314364,this[_0x50865d(0x24a)]=_0x3f54b0,this[_0x50865d(0x422)]=_0x22cdf9);}[_0x357007(0x546)](_0x20e117){const _0x294c6a=_0x357007,_0x2cf392=this[_0x294c6a(0xfc)][_0x294c6a(0x110)](this[_0x294c6a(0x563)]);return _0x20e117[_0x294c6a(0x4d8)]>_0x2cf392+0x1?(this[_0x294c6a(0x354)][_0x294c6a(0x59f)]({'from':_0x2cf392,'to':_0x20e117[_0x294c6a(0x4d8)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0xeaa575){const _0x1b9401=_0x357007;this[_0x1b9401(0x3d8)][_0x1b9401(0x4f7)](this[_0x1b9401(0x563)],_0xeaa575);}['_transformSelections'](_0x4c4d5e){const _0x5a45ab=_0x357007;var _0x2a4d6b,_0x1bc82d;(_0x1bc82d=(_0x2a4d6b=this[_0x5a45ab(0x354)])[_0x5a45ab(0xf4)])==null||_0x1bc82d[_0x5a45ab(0x4fe)](_0x2a4d6b,_0x4c4d5e);}[_0x357007(0x229)](_0x5d2106){const _0x1ed1fc=_0x357007;var _0x1bd376,_0x13eee0;return(_0x13eee0=(_0x1bd376=this[_0x1ed1fc(0x354)])[_0x1ed1fc(0x22b)])==null?void 0x0:_0x13eee0[_0x1ed1fc(0x4fe)](_0x1bd376,_0x5d2106);}[_0x357007(0x543)](_0x1f68bb){const _0x390a97=_0x357007;var _0x390de4,_0x57c7f2;return(_0x57c7f2=(_0x390de4=this[_0x390a97(0x354)])[_0x390a97(0x421)])==null?void 0x0:_0x57c7f2['call'](_0x390de4,_0x1f68bb);}[_0x357007(0x5a8)](_0x283efd){const _0x5be62d=_0x357007;var _0x19863d,_0xcdecc9,_0xad4846;return(_0xad4846=(_0xcdecc9=(_0x19863d=this['_handler'])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0xcdecc9[_0x5be62d(0x4fe)](_0x19863d,_0x283efd))!=null?_0xad4846:_0x283efd;}[_0x357007(0x338)](_0x41fd3c){const _0x39e44d=_0x357007;var _0x57fbe6,_0x2ead8e,_0x23d690;return(_0x23d690=(_0x2ead8e=(_0x57fbe6=this['_handler'])[_0x39e44d(0x169)])==null?void 0x0:_0x2ead8e[_0x39e44d(0x4fe)](_0x57fbe6,_0x41fd3c))!=null?_0x23d690:_0x41fd3c;}[_0x357007(0x1f4)](_0x238eba){const _0x261808=_0x357007;var _0x4ae926,_0x8c54cb;if(this[_0x261808(0x486)]===_0x1c36ee['UNIVER_DOC']){const {unitID:_0x6b3f21,mutations:_0x204904,memberID:_0x436354}=_0x238eba,_0x215c88=_0x204904[0x0]['params'][_0x261808(0xf2)];Array[_0x261808(0x139)](_0x215c88)&&_0x215c88[_0x261808(0x1b0)]>0x0&&((_0x8c54cb=(_0x4ae926=this['_handler'])[_0x261808(0x317)])==null||_0x8c54cb['call'](_0x4ae926,{'unitID':_0x6b3f21,'memberID':_0x436354,'textRanges':_0x215c88}));}}['_updateLocalCache'](){const _0x2acd9a=_0x357007;this[_0x2acd9a(0x4e9)][_0x2acd9a(0x123)](this['unitID'],this[_0x2acd9a(0x486)],this[_0x2acd9a(0x24a)],this[_0x2acd9a(0x422)]);}[_0x357007(0x183)](){const _0xc9ef12=_0x357007;return this['_revisionService'][_0xc9ef12(0x110)](this[_0xc9ef12(0x563)]);}['_incrementRevisionNumber'](){const _0x2ba7f4=_0x357007;this[_0x2ba7f4(0xfc)][_0x2ba7f4(0x353)](this[_0x2ba7f4(0x563)]);}[_0x357007(0x35d)](_0x23bd3b){const _0x24f475=_0x357007;var _0x2c8ad7;let _0x119a62=this[_0x24f475(0x5a8)](_0x23bd3b);_0x119a62=this[_0x24f475(0x338)](_0x119a62);const _0x15910c=_0x457d20[_0x24f475(0x502)](_0x119a62['mutations'],this[_0x24f475(0x2a1)],{'fromCollab':!0x0});if(!_0x15910c[_0x24f475(0x475)])throw _0x15910c[_0x24f475(0x519)]instanceof Error?_0x15910c[_0x24f475(0x519)]:new Error((_0x2c8ad7=_0x15910c['error'])!=null?_0x2c8ad7:_0x24f475(0x44c));this[_0x24f475(0x229)](_0x119a62),this[_0x24f475(0x543)](_0x119a62),this[_0x24f475(0x4ce)](_0x23bd3b),this[_0x24f475(0x47c)](_0x119a62),this[_0x24f475(0x1f4)](_0x119a62),this[_0x24f475(0x287)]();}}let _0x6dd86=class extends _0x36fdd4{constructor(_0x4f1350,_0x54ae3c,_0x305a9f,_0x328be5,_0xd9e17b,_0x170ba5,_0x4bed63,_0x309f83,_0x3c56e8,_0x789213){const _0x371d96=_0x357007;super(_0x4f1350,_0x54ae3c,null,[],_0x305a9f,_0x309f83,_0x4bed63,_0x328be5,_0xd9e17b),_0x184856(this,_0x371d96(0x477),_0x371d96(0x1b4)),(this[_0x371d96(0x593)]=_0x170ba5,this[_0x371d96(0x514)]=_0x3c56e8,this[_0x371d96(0x2af)]=_0x789213);}[_0x357007(0x266)](_0x206cc3){const _0x3333b1=_0x357007,_0xd19167=this[_0x3333b1(0x593)][_0x3333b1(0xfd)](_0x2cdf5f,this[_0x3333b1(0x563)],this[_0x3333b1(0x486)],[_0x206cc3],this[_0x3333b1(0x354)]);return _0xd19167['_schedule'](),_0xd19167[_0x3333b1(0x535)](),_0xd19167;}['onRemoteChangeset'](_0x95c50d){const _0x332c0d=_0x357007;if(this[_0x332c0d(0x546)](_0x95c50d))return this[_0x332c0d(0x593)][_0x332c0d(0xfd)](_0x5b8d63,this['unitID'],this[_0x332c0d(0x486)],null,[],null,[_0x95c50d],this[_0x332c0d(0x354)]);try{const _0x407e0c=this['_transformService']['transformMutationsWithChangeset'](_0x95c50d,[_0x451b76]);if(_0x4d26ac[_0x332c0d(0xed)](_0x407e0c)){const {c1Prime:_0x5359b3}=_0x407e0c;return this[_0x332c0d(0x35d)](_0x5359b3),this;}throw _0x407e0c[_0x332c0d(0x519)];}catch(_0x48dc84){return this[_0x332c0d(0x514)]['error'](_0x48dc84),this[_0x332c0d(0x419)](!0x1);}}[_0x357007(0x419)](_0x4e4a11){const _0x261630=_0x357007;return this[_0x261630(0x593)][_0x261630(0xfd)](_0x4bfd84,this[_0x261630(0x563)],this[_0x261630(0x486)],null,[],this[_0x261630(0x354)],_0x4e4a11);}['onRemoteAck'](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x357007(0x23f)](){const _0xa234a6=_0x357007;throw new Error(_0xa234a6(0x15b));}[_0x357007(0x539)](){return this;}[_0x357007(0x145)](){const _0x39e691=_0x357007;return this[_0x39e691(0x593)][_0x39e691(0xfd)](_0x52b8d8,this[_0x39e691(0x563)],this[_0x39e691(0x486)],null,[],this['_handler']);}[_0x357007(0x3e9)](){return this;}[_0x357007(0x1bd)](){const _0x20aa22=_0x357007;throw new Error(_0x20aa22(0xef));}[_0x357007(0x418)](){const _0x33969a=_0x357007,_0x5610e5=this[_0x33969a(0xfc)]['getCurrentRevOfUnit'](this[_0x33969a(0x563)]);return this['_handler'][_0x33969a(0x59f)]({'from':_0x5610e5,'to':0x0}),this['_injector'][_0x33969a(0xfd)](_0x5b8d63,this[_0x33969a(0x563)],this['type'],null,[],null,[],this[_0x33969a(0x354)]);}};_0x6dd86=_0x233cd3([_0xb9c7f1(0x3,_0x457d20[_0x357007(0x2c4)](_0x4d26ac[_0x357007(0x37c)])),_0xb9c7f1(0x4,_0x457d20[_0x357007(0x2c4)](_0x325eac[_0x357007(0x4f9)])),_0xb9c7f1(0x5,_0x457d20[_0x357007(0x2c4)](_0x457d20[_0x357007(0x467)])),_0xb9c7f1(0x6,_0x457d20[_0x357007(0x381)]),_0xb9c7f1(0x7,_0x457d20['ICommandService']),_0xb9c7f1(0x8,_0x457d20[_0x357007(0x54e)]),_0xb9c7f1(0x9,_0x4d26ac['ITransformService'])],_0x6dd86);let _0x2cdf5f=class extends _0x36fdd4{constructor(_0x138941,_0x46eb64,_0x2ab8be,_0x4f06a6,_0xa3a3e8,_0x42b94b,_0x720d31,_0x1155ac,_0x2d1313,_0x2ab2c3,_0x20a3a3,_0x48fea6,_0x4851b1,_0x2461cd){const _0x5e2007=_0x357007;super(_0x138941,_0x46eb64,null,_0x2ab8be,_0x4f06a6,_0x2ab2c3,_0x2461cd,_0x42b94b,_0x720d31),_0x184856(this,_0x5e2007(0x477),'pending'),_0x184856(this,'_scheduleTimestamp',null),_0x184856(this,_0x5e2007(0x42c),null),(this[_0x5e2007(0x593)]=_0xa3a3e8,this[_0x5e2007(0x3e1)]=_0x1155ac,this['_logService']=_0x2d1313,this[_0x5e2007(0x331)]=_0x20a3a3,this['_transformService']=_0x48fea6,this[_0x5e2007(0x140)]=_0x4851b1);}[_0x357007(0x266)](_0x36a17d){const _0xbd8e8d=_0x357007;return this[_0xbd8e8d(0x422)][_0xbd8e8d(0x39d)](_0x36a17d),this[_0xbd8e8d(0x535)](),this;}['onRemoteChangeset'](_0x99466f){const _0x5075e7=_0x357007;if(this[_0x5075e7(0x546)](_0x99466f))return this[_0x5075e7(0x50d)](),this[_0x5075e7(0x593)][_0x5075e7(0xfd)](_0x5b8d63,this[_0x5075e7(0x563)],this[_0x5075e7(0x486)],null,this[_0x5075e7(0x422)],null,[_0x99466f],this[_0x5075e7(0x354)]);try{const _0x4b4230=this[_0x5075e7(0x2af)][_0x5075e7(0x424)](_0x99466f,this[_0x5075e7(0x422)]);if(_0x4d26ac['isTransformMutationsWithChangesetSuccess'](_0x4b4230)){const {c1Prime:_0x8d31b0,m2Prime:_0x23d7f2}=_0x4b4230;this['_executeRemoteChangeset'](_0x8d31b0);const _0x13754f=this[_0x5075e7(0x593)][_0x5075e7(0xfd)](_0x2cdf5f,this[_0x5075e7(0x563)],this[_0x5075e7(0x486)],_0x23d7f2,this['_handler']);return this[_0x5075e7(0x50d)](),_0x13754f[_0x5075e7(0x3fd)](this[_0x5075e7(0x45b)]?Math[_0x5075e7(0x10d)](0x0,new Date()[_0x5075e7(0x111)]()-this[_0x5075e7(0x45b)]):this[_0x5075e7(0x48d)]()),_0x13754f;}throw _0x4b4230[_0x5075e7(0x519)];}catch(_0x18a97b){return this['_logService']['error'](_0x18a97b),this[_0x5075e7(0x419)](!0x1);}}[_0x357007(0x201)](){const _0x4473b6=_0x357007;throw new Error(_0x4473b6(0x1f9));}['onRemoteRej'](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x357007(0x539)](){return this;}[_0x357007(0x145)](){const _0x10695f=_0x357007;return this['_clearScheduledTask'](),this[_0x10695f(0x593)][_0x10695f(0xfd)](_0x52b8d8,this[_0x10695f(0x563)],this[_0x10695f(0x486)],null,this[_0x10695f(0x422)],this[_0x10695f(0x354)]);}[_0x357007(0x3e9)](){return this;}[_0x357007(0x3fd)](_0x2b912a){const _0x2c13e4=_0x357007,_0x2ed22f=_0x2b912a!=null?_0x2b912a:this[_0x2c13e4(0x48d)]();this[_0x2c13e4(0x45b)]=new Date()[_0x2c13e4(0x111)](),this[_0x2c13e4(0x42c)]=window[_0x2c13e4(0x1c5)](()=>{const _0x4db554=_0x2c13e4;this[_0x4db554(0x50d)]();let _0x17cc0c=null;switch(this['type']){case _0x1c36ee[_0x4db554(0x3b5)]:{_0x17cc0c=_0x2f3d1d(this['_pendingMutations'],this[_0x4db554(0x563)],this[_0x4db554(0x140)],this['_revisionService'],this['_memberService']);break;}case _0x1c36ee[_0x4db554(0x210)]:{this[_0x4db554(0x422)][_0x4db554(0x259)](_0x2c9c6a=>_0x2c9c6a['id']===_0x279b33[_0x4db554(0x347)]['id'])?_0x17cc0c=_0x55fba7(this['_pendingMutations'],this[_0x4db554(0x563)],this['_univerInstanceService'],this['_revisionService'],this['_memberService']):_0x17cc0c=_0x2f3d1d(this[_0x4db554(0x422)],this[_0x4db554(0x563)],this['_univerInstanceService'],this[_0x4db554(0xfc)],this[_0x4db554(0x3e1)]);break;}default:throw new Error(_0x4db554(0x53c)+this[_0x4db554(0x486)]+_0x4db554(0x3e4));}const {changeset:_0x413c9d,pendingMutations:_0xc0cb73}=_0x17cc0c;this['_handler'][_0x4db554(0x3be)](_0x413c9d);const _0x56db19=_0xc0cb73['length']?this[_0x4db554(0x593)][_0x4db554(0xfd)](_0x2b0484,this[_0x4db554(0x563)],this[_0x4db554(0x486)],_0x413c9d,_0xc0cb73,this['_handler'],void 0x0):this[_0x4db554(0x593)]['createInstance'](_0x445360,this['unitID'],this[_0x4db554(0x486)],_0x413c9d,this[_0x4db554(0x354)]);_0x56db19[_0x4db554(0x535)](),this[_0x4db554(0x354)][_0x4db554(0x144)](this,_0x56db19);},_0x2ed22f);}[_0x357007(0x48d)](){const _0xa2f68=_0x357007;var _0x588d3e;const _0x4621f6=this[_0xa2f68(0x331)][_0xa2f68(0x4d5)](_0x11df2a);return(_0x588d3e=_0x4621f6==null?void 0x0:_0x4621f6['sendChangesetTimeout'])!=null?_0x588d3e:0x7d0;}[_0x357007(0x1bd)](){const _0x30fd61=_0x357007;throw new Error(_0x30fd61(0x566));}[_0x357007(0x50d)](){const _0x6c5ea5=_0x357007;this[_0x6c5ea5(0x42c)]!=null&&(clearTimeout(this[_0x6c5ea5(0x42c)]),this[_0x6c5ea5(0x42c)]=null);}[_0x357007(0x419)](_0x55a144){const _0x47cd2d=_0x357007;return this[_0x47cd2d(0x50d)](),this[_0x47cd2d(0x593)][_0x47cd2d(0xfd)](_0x4bfd84,this[_0x47cd2d(0x563)],this[_0x47cd2d(0x486)],null,this[_0x47cd2d(0x422)],this['_handler'],_0x55a144);}};_0x2cdf5f=_0x233cd3([_0xb9c7f1(0x4,_0x457d20['Inject'](_0x457d20[_0x357007(0x467)])),_0xb9c7f1(0x5,_0x457d20[_0x357007(0x2c4)](_0x4d26ac[_0x357007(0x37c)])),_0xb9c7f1(0x6,_0x457d20[_0x357007(0x2c4)](_0x325eac[_0x357007(0x4f9)])),_0xb9c7f1(0x7,_0x457d20[_0x357007(0x2c4)](_0x325eac['MemberService'])),_0xb9c7f1(0x8,_0x457d20[_0x357007(0x54e)]),_0xb9c7f1(0x9,_0x457d20['ICommandService']),_0xb9c7f1(0xa,_0x457d20[_0x357007(0x3cc)]),_0xb9c7f1(0xb,_0x4d26ac['ITransformService']),_0xb9c7f1(0xc,_0x457d20[_0x357007(0x35e)]),_0xb9c7f1(0xd,_0x457d20[_0x357007(0x381)])],_0x2cdf5f);let _0x445360=class extends _0x36fdd4{constructor(_0x245a3f,_0x595baa,_0x306893,_0x20a8a4,_0xb54bce,_0x1ccdfc,_0xe32bcb,_0x477bcf,_0x2c3179,_0x5c4f27,_0xca961){const _0x36ac56=_0x357007;super(_0x245a3f,_0x595baa,_0x306893,[],_0x20a8a4,_0x477bcf,_0xca961,_0x1ccdfc,_0xe32bcb),_0x184856(this,'status','awaiting'),_0x184856(this,_0x36ac56(0x33f),0x0),_0x184856(this,_0x36ac56(0x2bd)),_0x184856(this,_0x36ac56(0x279)),(this['_injector']=_0xb54bce,this[_0x36ac56(0x514)]=_0x2c3179,this['_transformService']=_0x5c4f27);}[_0x357007(0x266)](_0x640b75){const _0x4394e3=_0x357007;this[_0x4394e3(0x50d)]();const _0x244067=this['_injector'][_0x4394e3(0xfd)](_0x2b0484,this[_0x4394e3(0x563)],this[_0x4394e3(0x486)],this[_0x4394e3(0x24a)],[_0x640b75],this[_0x4394e3(0x354)],this[_0x4394e3(0x2bd)]);return _0x244067[_0x4394e3(0x535)](),_0x244067;}['onRemoteChangeset'](_0x16667a){const _0x182098=_0x357007;if(this[_0x182098(0x546)](_0x16667a))return this[_0x182098(0x50d)](),this[_0x182098(0x593)][_0x182098(0xfd)](_0x5b8d63,this[_0x182098(0x563)],this[_0x182098(0x486)],this[_0x182098(0x24a)],[],null,[_0x16667a],this['_handler']);try{const _0x12882e=this[_0x182098(0x2af)][_0x182098(0x5ad)]([_0x16667a],[this['_awaitingChangeset']],!0x1);if(_0x4d26ac['isTransformChangesetsSuccess'](_0x12882e)){const {c1Prime:_0x2e94de,c2Prime:_0x705f3a}=_0x12882e;this[_0x182098(0x35d)](_0x2e94de[0x0]),_0x705f3a[0x0][_0x182098(0x4d9)]=this['_getCurrentRevision'](),this[_0x182098(0x50d)]();const _0x2868e1=this[_0x182098(0x593)][_0x182098(0xfd)](_0x445360,this[_0x182098(0x563)],this[_0x182098(0x486)],_0x705f3a[0x0],this[_0x182098(0x354)]);return _0x2868e1[_0x182098(0x535)](),_0x2868e1;}return this['_onConflict'](!0x1);}catch(_0x1b38f9){return this['_logService'][_0x182098(0x519)](_0x1b38f9),this['_onConflict'](!0x1);}}[_0x357007(0x201)](_0x3262be){const _0x1fb627=_0x357007;this[_0x1fb627(0x50d)]();const _0x205dd3=this[_0x1fb627(0xfc)][_0x1fb627(0x110)](this[_0x1fb627(0x563)]);if(_0x3262be[_0x1fb627(0x4d8)]<_0x205dd3-0x1)return this;if(this['_checkMissing'](_0x3262be))return this['_injector'][_0x1fb627(0xfd)](_0x5b8d63,this['unitID'],this[_0x1fb627(0x486)],null,[],this['_awaitingChangeset'],[],this[_0x1fb627(0x354)]);this[_0x1fb627(0x287)]();const _0x483190=this['_injector'][_0x1fb627(0xfd)](_0x6dd86,this[_0x1fb627(0x563)],this[_0x1fb627(0x486)],this[_0x1fb627(0x354)]);return _0x483190[_0x1fb627(0x535)](),_0x483190;}[_0x357007(0x23f)](_0x54fba8){const _0x1305be=_0x357007;return this[_0x1305be(0x419)](!!(_0x54fba8!=null&&_0x54fba8['isPermissionRej']));}[_0x357007(0x539)](_0x107525){const _0x3f7a1b=_0x357007;return this['_resendTimeout']>_0xa6d16?this['toggleOffline']():(this[_0x3f7a1b(0x2bd)]=_0xa606e9(this[_0x3f7a1b(0x33f)],{'timeout':this['_resendTimeout'],'reqId':_0x107525['reqId']}),this['_sender']=this['_resendTimer'][_0x3f7a1b(0x479)](({reqId:_0xb7e73b,timeout:_0x3d199a})=>{const _0x48ae7e=_0x3f7a1b;this[_0x48ae7e(0x589)](_0xb7e73b,_0x3d199a);}),this);}[_0x357007(0x145)](){const _0x2fabe7=_0x357007;return this[_0x2fabe7(0x50d)](),this[_0x2fabe7(0x593)][_0x2fabe7(0xfd)](_0x52b8d8,this[_0x2fabe7(0x563)],this[_0x2fabe7(0x486)],this[_0x2fabe7(0x24a)],[],this[_0x2fabe7(0x354)]);}[_0x357007(0x3e9)](){return this;}[_0x357007(0x1bd)](){const _0x7f62d6=_0x357007;this[_0x7f62d6(0x354)][_0x7f62d6(0x3be)](this[_0x7f62d6(0x24a)]);}[_0x357007(0x419)](_0x17540a){const _0x2febac=_0x357007;return this[_0x2febac(0x50d)](),this[_0x2febac(0x593)]['createInstance'](_0x4bfd84,this['unitID'],this[_0x2febac(0x486)],this[_0x2febac(0x24a)],[],this[_0x2febac(0x354)],_0x17540a);}[_0x357007(0x589)](_0x3d060b,_0x3a5827){const _0x2ffdf1=_0x357007;var _0xa47516;_0x3d060b===((_0xa47516=this[_0x2ffdf1(0x24a)])==null?void 0x0:_0xa47516[_0x2ffdf1(0x1fd)])&&(this['resend'](),this['_resendTimeout']=_0x3a5827===0x0?0x3e8:_0x3a5827*0x2);}[_0x357007(0x50d)](){const _0x472f73=_0x357007;var _0x35eedc;(_0x35eedc=this[_0x472f73(0x279)])==null||_0x35eedc[_0x472f73(0x436)](),this[_0x472f73(0x33f)]=0x0;}};_0x445360=_0x233cd3([_0xb9c7f1(0x4,_0x457d20['Inject'](_0x457d20[_0x357007(0x467)])),_0xb9c7f1(0x5,_0x457d20[_0x357007(0x2c4)](_0x4d26ac[_0x357007(0x37c)])),_0xb9c7f1(0x6,_0x457d20[_0x357007(0x2c4)](_0x325eac['LocalCacheService'])),_0xb9c7f1(0x7,_0x457d20[_0x357007(0x324)]),_0xb9c7f1(0x8,_0x457d20[_0x357007(0x54e)]),_0xb9c7f1(0x9,_0x4d26ac[_0x357007(0x329)]),_0xb9c7f1(0xa,_0x457d20[_0x357007(0x381)])],_0x445360);let _0x2b0484=class extends _0x36fdd4{constructor(_0x186e3b,_0x5ed49f,_0x18a5d2,_0x40f6a6,_0x1b8297,_0x60ca1c,_0x162516,_0x160da4,_0x50a05d,_0x3b95fc,_0x3a36a7,_0x4cb2c3,_0xb47321){const _0x263266=_0x357007;super(_0x186e3b,_0x5ed49f,_0x18a5d2,_0x40f6a6,_0x1b8297,_0x3b95fc,_0xb47321,_0x160da4,_0x50a05d),_0x184856(this,_0x263266(0x477),'awaiting_with_pending'),_0x184856(this,_0x263266(0x33f),0x0),_0x184856(this,_0x263266(0x2bd)),_0x184856(this,_0x263266(0x279)),(this[_0x263266(0x593)]=_0x162516,this[_0x263266(0x514)]=_0x3a36a7,this['_transformService']=_0x4cb2c3,_0x60ca1c&&(this[_0x263266(0x2bd)]=_0x60ca1c,this[_0x263266(0x279)]=this[_0x263266(0x2bd)][_0x263266(0x479)](({reqId:_0x37ff3a,timeout:_0x2d04bd})=>{const _0x26da66=_0x263266;this[_0x26da66(0x589)](_0x37ff3a,_0x2d04bd);})));}[_0x357007(0x266)](_0x52a471){const _0x253acc=_0x357007;return this[_0x253acc(0x422)][_0x253acc(0x39d)](_0x52a471),this;}[_0x357007(0x333)](_0x2e9e8e){const _0x1b2c7c=_0x357007;if(this['_checkMissing'](_0x2e9e8e))return this[_0x1b2c7c(0x50d)](),this[_0x1b2c7c(0x593)][_0x1b2c7c(0xfd)](_0x5b8d63,this['unitID'],this[_0x1b2c7c(0x486)],this[_0x1b2c7c(0x24a)],this['_pendingMutations'],null,[_0x2e9e8e],this[_0x1b2c7c(0x354)]);try{const _0x16c384=this[_0x1b2c7c(0x2af)]['transformChangesets']([_0x2e9e8e],[this['_awaitingChangeset']],!0x1);if(_0x4d26ac[_0x1b2c7c(0x2ec)](_0x16c384)){const {c1Prime:_0x1d1958,c2Prime:_0x7a5db2}=_0x16c384,_0x10055d=this[_0x1b2c7c(0x2af)][_0x1b2c7c(0x424)](_0x1d1958[0x0],this[_0x1b2c7c(0x422)]);if(_0x4d26ac['isTransformMutationsWithChangesetSuccess'](_0x10055d)){const {c1Prime:_0x19087b,m2Prime:_0x1cf2bf}=_0x10055d;return this[_0x1b2c7c(0x35d)](_0x19087b),_0x7a5db2[0x0][_0x1b2c7c(0x4d9)]=this[_0x1b2c7c(0x183)](),this[_0x1b2c7c(0x50d)](),this[_0x1b2c7c(0x593)][_0x1b2c7c(0xfd)](_0x2b0484,this[_0x1b2c7c(0x563)],this['type'],_0x7a5db2[0x0],_0x1cf2bf,this[_0x1b2c7c(0x354)],void 0x0);}throw _0x10055d[_0x1b2c7c(0x519)];}throw _0x16c384['error'];}catch(_0x14ab63){return this[_0x1b2c7c(0x514)][_0x1b2c7c(0x519)](_0x14ab63),this[_0x1b2c7c(0x419)](!0x1);}}[_0x357007(0x201)](_0x454d45){const _0x23ee1d=_0x357007;if(this[_0x23ee1d(0x50d)](),this[_0x23ee1d(0x546)](_0x454d45))return this[_0x23ee1d(0x593)][_0x23ee1d(0xfd)](_0x5b8d63,this[_0x23ee1d(0x563)],this[_0x23ee1d(0x486)],null,this[_0x23ee1d(0x422)],this[_0x23ee1d(0x24a)],[],this[_0x23ee1d(0x354)]);this[_0x23ee1d(0x287)]();const _0x1507ea=this['_injector'][_0x23ee1d(0xfd)](_0x2cdf5f,this[_0x23ee1d(0x563)],this[_0x23ee1d(0x486)],this[_0x23ee1d(0x422)],this[_0x23ee1d(0x354)]);return _0x1507ea[_0x23ee1d(0x3fd)](),_0x1507ea['_updateLocalCache'](),_0x1507ea;}[_0x357007(0x23f)](_0x2fbcdc){const _0x7049b4=_0x357007;return this[_0x7049b4(0x419)](!!(_0x2fbcdc!=null&&_0x2fbcdc[_0x7049b4(0x262)]));}[_0x357007(0x539)](_0x29b691){const _0x237110=_0x357007;return this[_0x237110(0x33f)]>_0xa6d16?this[_0x237110(0x145)]():(this[_0x237110(0x2bd)]=_0xa606e9(this[_0x237110(0x33f)],{'timeout':this[_0x237110(0x33f)],'reqId':_0x29b691[_0x237110(0x1fd)]}),this[_0x237110(0x279)]=this[_0x237110(0x2bd)][_0x237110(0x479)](({reqId:_0xa092,timeout:_0x1610bb})=>{this['_resendWithTimeout'](_0xa092,_0x1610bb);}),this);}['toggleOffline'](){const _0x1cc13b=_0x357007;return this[_0x1cc13b(0x50d)](),this[_0x1cc13b(0x593)][_0x1cc13b(0xfd)](_0x52b8d8,this[_0x1cc13b(0x563)],this[_0x1cc13b(0x486)],this[_0x1cc13b(0x24a)],this['_pendingMutations'],this[_0x1cc13b(0x354)]);}[_0x357007(0x3e9)](){return this;}['resend'](){const _0xf92a0b=_0x357007;this[_0xf92a0b(0x354)][_0xf92a0b(0x3be)](this['_awaitingChangeset']);}[_0x357007(0x419)](_0x3c185a){const _0x42f994=_0x357007;return this[_0x42f994(0x50d)](),this[_0x42f994(0x593)][_0x42f994(0xfd)](_0x4bfd84,this[_0x42f994(0x563)],this[_0x42f994(0x486)],null,this[_0x42f994(0x422)],this[_0x42f994(0x354)],_0x3c185a);}[_0x357007(0x589)](_0x4694eb,_0x39a9a7){const _0x4dab2e=_0x357007;var _0x4b664b;_0x4694eb===((_0x4b664b=this[_0x4dab2e(0x24a)])==null?void 0x0:_0x4b664b[_0x4dab2e(0x1fd)])&&(this[_0x4dab2e(0x1bd)](),this[_0x4dab2e(0x33f)]=_0x39a9a7===0x0?0x3e8:_0x39a9a7*0x2);}['_clearScheduledTask'](){const _0x2fa735=_0x357007;var _0x4fcc64;(_0x4fcc64=this[_0x2fa735(0x279)])==null||_0x4fcc64[_0x2fa735(0x436)](),this['_resendTimeout']=0x0;}};_0x2b0484=_0x233cd3([_0xb9c7f1(0x6,_0x457d20['Inject'](_0x457d20[_0x357007(0x467)])),_0xb9c7f1(0x7,_0x457d20[_0x357007(0x2c4)](_0x4d26ac['RevisionService'])),_0xb9c7f1(0x8,_0x457d20[_0x357007(0x2c4)](_0x325eac['LocalCacheService'])),_0xb9c7f1(0x9,_0x457d20[_0x357007(0x324)]),_0xb9c7f1(0xa,_0x457d20[_0x357007(0x54e)]),_0xb9c7f1(0xb,_0x4d26ac[_0x357007(0x329)]),_0xb9c7f1(0xc,_0x457d20['IUndoRedoService'])],_0x2b0484);let _0x4bfd84=class extends _0x36fdd4{constructor(_0x37199b,_0x490bbd,_0x11274c,_0x5d2b09,_0x4de777,_0x11807f=!0x1,_0x3b1939,_0x5d95a3,_0x4135e9,_0x4397ba,_0x5ad107,_0x12520a,_0x302395){const _0x4df893=_0x357007;super(_0x37199b,_0x490bbd,_0x11274c,_0x5d2b09,_0x4de777,_0x5d95a3,_0x4135e9,_0x5ad107,_0x4397ba),_0x184856(this,_0x4df893(0x477),'conflict'),(this[_0x4df893(0x46b)]=_0x11807f,this[_0x4df893(0x56a)]=_0x3b1939,this[_0x4df893(0x22c)]=_0x12520a,this[_0x4df893(0x31b)]=_0x302395,this['_showConflictNotification'](),this[_0x4df893(0x4ca)](),this[_0x4df893(0x250)]());}[_0x357007(0x266)](){return this;}[_0x357007(0x333)](){return this;}[_0x357007(0x201)](){return this;}['onRemoteRej'](){return this;}['onRemoteRetry'](){return this;}[_0x357007(0x145)](){return this;}[_0x357007(0x3e9)](){return this;}[_0x357007(0x1bd)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x357007(0x4ca)](){const _0x15b845=_0x357007;this[_0x15b845(0x4e9)]['updateOfflineData'](this[_0x15b845(0x563)],this[_0x15b845(0x486)],null,[]);}[_0x357007(0x2ff)](){const _0x4f5520=_0x357007;this[_0x4f5520(0x46b)]?this[_0x4f5520(0x31b)][_0x4f5520(0x3a5)]({'title':this[_0x4f5520(0x22c)]['t']('permission.title'),'content':this['_localeService']['t']('permission.content'),'type':_0x4f5520(0x519),'duration':0x0}):this['_notificationService'][_0x4f5520(0x3a5)]({'title':this['_localeService']['t']('conflict.title'),'content':this['_localeService']['t'](_0x4f5520(0x26c)),'type':_0x4f5520(0x519),'duration':0x0});}[_0x357007(0x250)](){const _0x2bd906=_0x357007;this[_0x2bd906(0x56a)][_0x2bd906(0x52b)](new _0x91efb2['WorkbookEditablePermission'](this[_0x2bd906(0x563)])['id'],!0x1);}};_0x4bfd84=_0x233cd3([_0xb9c7f1(0x6,_0x457d20[_0x357007(0x2c4)](_0x457d20[_0x357007(0x42a)])),_0xb9c7f1(0x7,_0x457d20[_0x357007(0x324)]),_0xb9c7f1(0x8,_0x457d20[_0x357007(0x381)]),_0xb9c7f1(0x9,_0x457d20[_0x357007(0x2c4)](_0x325eac['LocalCacheService'])),_0xb9c7f1(0xa,_0x457d20[_0x357007(0x2c4)](_0x4d26ac['RevisionService'])),_0xb9c7f1(0xb,_0x457d20[_0x357007(0x2c4)](_0x457d20[_0x357007(0x128)])),_0xb9c7f1(0xc,_0x2b45ba[_0x357007(0x1e5)])],_0x4bfd84);let _0x52b8d8=class extends _0x36fdd4{constructor(_0x64d1ba,_0x3e7043,_0x2b7fcb,_0x3af84f,_0x1536a3,_0x215d83,_0x3d52ae,_0x87ff09,_0x3a7236,_0x14b173){const _0x21b26c=_0x357007;super(_0x64d1ba,_0x3e7043,_0x2b7fcb,_0x3af84f,_0x1536a3,_0x3a7236,_0x14b173,_0x3d52ae,_0x87ff09),_0x184856(this,_0x21b26c(0x477),_0x21b26c(0x474)),this[_0x21b26c(0x593)]=_0x215d83;}['appendMutation'](_0x340db7){const _0x1c4bc4=_0x357007;return this[_0x1c4bc4(0x422)]['push'](_0x340db7),this[_0x1c4bc4(0x535)](),this;}[_0x357007(0x333)](_0x2f56f1){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x357007(0x201)](){const _0x27a2b9=_0x357007;throw new Error(_0x27a2b9(0x1e9));}[_0x357007(0x23f)](){const _0x4bd057=_0x357007;throw new Error(_0x4bd057(0x574));}[_0x357007(0x539)](){return this;}[_0x357007(0x145)](){return this;}[_0x357007(0x3e9)](){const _0x4dc95c=_0x357007,{_injector:_0x499300,_pendingMutations:_0x8ac6fa,_awaitingChangeset:_0x387a64,unitID:_0x1c5d06,_handler:_0x463a55,type:_0x339ab0}=this,_0x46fdbe=_0x540535(_0x499300,_0x1c5d06,_0x339ab0,_0x387a64,_0x8ac6fa,_0x463a55);return _0x46fdbe instanceof _0x2cdf5f?_0x46fdbe['_schedule']():(_0x46fdbe instanceof _0x2b0484||_0x46fdbe instanceof _0x445360)&&_0x46fdbe[_0x4dc95c(0x1bd)](),_0x46fdbe;}[_0x357007(0x1bd)](){const _0x171df8=_0x357007;throw new Error(_0x171df8(0x44b));}};_0x52b8d8=_0x233cd3([_0xb9c7f1(0x5,_0x457d20[_0x357007(0x2c4)](_0x457d20[_0x357007(0x467)])),_0xb9c7f1(0x6,_0x457d20[_0x357007(0x2c4)](_0x4d26ac[_0x357007(0x37c)])),_0xb9c7f1(0x7,_0x457d20['Inject'](_0x325eac['LocalCacheService'])),_0xb9c7f1(0x8,_0x457d20[_0x357007(0x324)]),_0xb9c7f1(0x9,_0x457d20[_0x357007(0x381)])],_0x52b8d8);let _0x5b8d63=class extends _0x36fdd4{constructor(_0x217256,_0x3f8931,_0x23ef96,_0x4c5c7a,_0x147516,_0x3d8dfe,_0x416a67,_0x5904d8,_0xbb4592,_0x31fce4,_0x5ae0b4,_0x109f96,_0x2cd371,_0x3a4c96){const _0x4c15a2=_0x357007;super(_0x217256,_0x3f8931,_0x23ef96,_0x4c5c7a,_0x416a67,_0x109f96,_0x2cd371,_0xbb4592,_0x31fce4),_0x184856(this,_0x4c15a2(0x477),_0x4c15a2(0x520)),(this[_0x4c15a2(0x3f4)]=_0x147516,this[_0x4c15a2(0x1dc)]=_0x3d8dfe,this[_0x4c15a2(0x593)]=_0x5904d8,this[_0x4c15a2(0x514)]=_0x5ae0b4,this[_0x4c15a2(0x2af)]=_0x3a4c96);}[_0x357007(0x15a)](_0x9936fe){const _0x1dd07f=_0x357007;try{const _0x20e91a=[..._0x9936fe,...this[_0x1dd07f(0x1dc)]],_0x158c2d=[this['_awaitingChangeset']||this[_0x1dd07f(0x3f4)]][_0x1dd07f(0x356)](_0x5bdedb=>!!_0x5bdedb);let _0x5900ff,_0x3230ec;if(_0x158c2d[_0x1dd07f(0x1b0)]){const _0x4653fd=this[_0x1dd07f(0x2af)]['transformChangesets'](_0x20e91a,_0x158c2d,!0x1);if(!_0x4d26ac[_0x1dd07f(0x2ec)](_0x4653fd))throw _0x4653fd[_0x1dd07f(0x519)];_0x5900ff=_0x4653fd[_0x1dd07f(0x2f5)],_0x3230ec=_0x4653fd[_0x1dd07f(0x246)];}else _0x5900ff=_0x20e91a,_0x3230ec=[];let _0x5f0f28=this[_0x1dd07f(0x422)];_0x5900ff[_0x1dd07f(0x274)](_0x9df876=>{const _0x2a1a7b=_0x1dd07f;let _0x1601c5;if(_0x5f0f28[_0x2a1a7b(0x1b0)]){const _0x165d25=this[_0x2a1a7b(0x2af)][_0x2a1a7b(0x424)](_0x9df876,_0x5f0f28);if(!_0x4d26ac[_0x2a1a7b(0xed)](_0x165d25))throw _0x165d25[_0x2a1a7b(0x519)];_0x1601c5=_0x165d25['c1Prime'],_0x5f0f28=_0x165d25[_0x2a1a7b(0x472)];}else _0x1601c5=_0x9df876;this[_0x2a1a7b(0x35d)](_0x1601c5);}),this[_0x1dd07f(0x3f4)]&&this['_incrementRevisionNumber'](),this[_0x1dd07f(0x24a)]&&_0x3230ec[_0x1dd07f(0x1b0)]&&(_0x3230ec[0x0][_0x1dd07f(0x4d9)]=this[_0x1dd07f(0x183)]());let _0x4ab38a;if(this['_awaitingChangeset']&&_0x5f0f28[_0x1dd07f(0x1b0)]!==0x0)_0x4ab38a=this['_injector']['createInstance'](_0x2b0484,this['unitID'],this[_0x1dd07f(0x486)],_0x3230ec[0x0],_0x5f0f28,this[_0x1dd07f(0x354)],void 0x0);else{if(this['_awaitingChangeset']&&_0x5f0f28[_0x1dd07f(0x1b0)]===0x0)_0x3230ec[0x0][_0x1dd07f(0x4d9)]=this[_0x1dd07f(0x183)](),_0x4ab38a=this[_0x1dd07f(0x593)][_0x1dd07f(0xfd)](_0x445360,this[_0x1dd07f(0x563)],this[_0x1dd07f(0x486)],_0x3230ec[0x0],this['_handler']);else{if(_0x5f0f28[_0x1dd07f(0x1b0)]!==0x0){const _0x38270c=this['_injector']['createInstance'](_0x2cdf5f,this[_0x1dd07f(0x563)],this[_0x1dd07f(0x486)],_0x5f0f28,this['_handler']);_0x38270c['_schedule'](),_0x4ab38a=_0x38270c;}else _0x4ab38a=this[_0x1dd07f(0x593)][_0x1dd07f(0xfd)](_0x6dd86,this[_0x1dd07f(0x563)],this['type'],this[_0x1dd07f(0x354)]);}}return _0x4ab38a[_0x1dd07f(0x535)](),_0x4ab38a;}catch(_0x31dd40){return this[_0x1dd07f(0x514)][_0x1dd07f(0x519)](_0x1dd07f(0x267),_0x1dd07f(0x174),_0x31dd40),this['_injector'][_0x1dd07f(0xfd)](_0x4bfd84,this['unitID'],this[_0x1dd07f(0x486)],this[_0x1dd07f(0x24a)],this[_0x1dd07f(0x422)],this['_handler'],!0x1);}}[_0x357007(0x1bd)](){const _0x546960=_0x357007;throw new Error(_0x546960(0x36c));}['appendMutation'](_0x1fd87a){return this['_pendingMutations']['push'](_0x1fd87a),this;}[_0x357007(0x333)](_0x4ca239){const _0x483bf9=_0x357007;return this[_0x483bf9(0x1dc)][_0x483bf9(0x39d)](_0x4ca239),this;}['onRemoteAck'](_0x29c052){const _0x22fef2=_0x357007;if(this[_0x22fef2(0x24a)])return this[_0x22fef2(0x3f4)]=this[_0x22fef2(0x24a)],this[_0x22fef2(0x24a)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x357007(0x23f)](_0x4be99c){const _0x25bab5=_0x357007;return this[_0x25bab5(0x419)](!!(_0x4be99c!=null&&_0x4be99c['isPermissionRej']));}[_0x357007(0x539)](){return this;}[_0x357007(0x145)](){const _0x1398e7=_0x357007;return this[_0x1398e7(0x593)][_0x1398e7(0xfd)](_0x52b8d8,this[_0x1398e7(0x563)],this[_0x1398e7(0x486)],this[_0x1398e7(0x24a)],this['_pendingMutations'],this[_0x1398e7(0x354)]);}[_0x357007(0x3e9)](){return this;}['_onConflict'](_0x574dac){const _0x469de2=_0x357007;return this[_0x469de2(0x593)][_0x469de2(0xfd)](_0x4bfd84,this[_0x469de2(0x563)],this[_0x469de2(0x486)],this['_awaitingChangeset'],this[_0x469de2(0x422)],this['_handler'],_0x574dac);}};_0x5b8d63=_0x233cd3([_0xb9c7f1(0x7,_0x457d20[_0x357007(0x2c4)](_0x457d20[_0x357007(0x467)])),_0xb9c7f1(0x8,_0x457d20['Inject'](_0x4d26ac[_0x357007(0x37c)])),_0xb9c7f1(0x9,_0x457d20[_0x357007(0x2c4)](_0x325eac[_0x357007(0x4f9)])),_0xb9c7f1(0xa,_0x457d20[_0x357007(0x54e)]),_0xb9c7f1(0xb,_0x457d20[_0x357007(0x324)]),_0xb9c7f1(0xc,_0x457d20[_0x357007(0x381)]),_0xb9c7f1(0xd,_0x4d26ac['ITransformService'])],_0x5b8d63);function _0x540535(_0x106492,_0x133cd6,_0x13fa47,_0x69a11f,_0x115440,_0x53e37b){const _0xbca3aa=_0x357007;return _0x69a11f&&_0x115440['length']?_0x106492[_0xbca3aa(0xfd)](_0x2b0484,_0x133cd6,_0x13fa47,_0x69a11f,_0x115440,_0x53e37b,void 0x0):_0x69a11f?_0x106492[_0xbca3aa(0xfd)](_0x445360,_0x133cd6,_0x13fa47,_0x69a11f,_0x53e37b):_0x115440['length']?_0x106492[_0xbca3aa(0xfd)](_0x2cdf5f,_0x133cd6,_0x13fa47,_0x115440,_0x53e37b):_0x106492[_0xbca3aa(0xfd)](_0x6dd86,_0x133cd6,_0x13fa47,_0x53e37b);}var _0x451f24=Object[_0x357007(0x376)],_0x2d09f9=Object[_0x357007(0x41b)],_0xd723ed=(_0x4188d3,_0x31c14c,_0x1ec740,_0x54b3de)=>{const _0x15f389=_0x357007;for(var _0x3d9113=_0x54b3de>0x1?void 0x0:_0x54b3de?_0x2d09f9(_0x31c14c,_0x1ec740):_0x31c14c,_0x2e4bd7=_0x4188d3[_0x15f389(0x1b0)]-0x1,_0x17b11d;_0x2e4bd7>=0x0;_0x2e4bd7--)(_0x17b11d=_0x4188d3[_0x2e4bd7])&&(_0x3d9113=(_0x54b3de?_0x17b11d(_0x31c14c,_0x1ec740,_0x3d9113):_0x17b11d(_0x3d9113))||_0x3d9113);return _0x54b3de&&_0x3d9113&&_0x451f24(_0x31c14c,_0x1ec740,_0x3d9113),_0x3d9113;},_0x2da585=(_0x2272cc,_0x50ff3d)=>(_0xa1fe53,_0x46ac43)=>_0x50ff3d(_0xa1fe53,_0x46ac43,_0x2272cc);_0x325eac[_0x357007(0x5af)]=class extends _0x457d20[_0x357007(0xe7)]{constructor(_0xbbefc9,_0x1feb56,_0x411ec7,_0x3d4d15,_0x5a126b,_0x470b2f,_0x2fe131,_0x50694f,_0x33116e,_0x36d31c,_0x4a7635,_0x56a53c,_0x3ca77b){const _0x251b80=_0x357007;super(),_0x184856(this,'_state$',new _0x44a02e[(_0x251b80(0x387))](null)),_0x184856(this,_0x251b80(0x1bc),this['_state$']['asObservable']()),_0x184856(this,'_state'),_0x184856(this,_0x251b80(0x3a0),!0x1),_0x184856(this,'_changesetSessionId',''),_0x184856(this,'_changesetReqId',0x0),_0x184856(this,_0x251b80(0x1ec),this[_0x251b80(0x1bc)][_0x251b80(0x3f8)](_0x44a02e[_0x251b80(0x595)](_0x5a13fe=>_0x5a13fe?_0x5a13fe[_0x251b80(0x477)]:_0x44c5ad[_0x251b80(0x31a)]),_0x44a02e[_0x251b80(0x2b9)](0x1))),_0x184856(this,_0x251b80(0x3a8),!0x1),_0x184856(this,_0x251b80(0x3b9),[]),(this['unitID']=_0xbbefc9,this[_0x251b80(0x2e3)]=_0x1feb56,this['_type']=_0x411ec7,this[_0x251b80(0x593)]=_0x3d4d15,this[_0x251b80(0x4e9)]=_0x5a126b,this['_compressMutationService']=_0x470b2f,this[_0x251b80(0x22c)]=_0x2fe131,this[_0x251b80(0xfc)]=_0x50694f,this[_0x251b80(0x514)]=_0x33116e,this['_commandService']=_0x36d31c,this[_0x251b80(0x285)]=_0x4a7635,this[_0x251b80(0x56a)]=_0x56a53c,this[_0x251b80(0x1e8)]=_0x3ca77b);}get[_0x357007(0x335)](){const _0xb34106=_0x357007;return this[_0xb34106(0x2d2)];}async[_0x357007(0x192)](){const _0x3fd37b=_0x357007;if(this[_0x3fd37b(0x335)])throw new Error(_0x3fd37b(0x53b));await this['_init']();}[_0x357007(0x3c8)](){const _0x309a2c=_0x357007;return this[_0x309a2c(0x3a0)]=!0x0,_0x457d20[_0x309a2c(0x41d)](()=>{const _0x575190=_0x309a2c;this[_0x575190(0x3a0)]=!0x1,this[_0x575190(0xf1)]();});}[_0x357007(0x56f)](_0x1c023c){const _0x49aac2=_0x357007;this[_0x49aac2(0x2d2)]=_0x1c023c,this[_0x49aac2(0x270)][_0x49aac2(0x4d3)](_0x1c023c);}async['_init'](){const _0x14de2e=_0x357007;var _0x50c3f8;this['_updateState'](await this[_0x14de2e(0x517)]()),this[_0x14de2e(0x1e8)]&&((_0x50c3f8=this['_singleActiveUnitService'])==null||_0x50c3f8[_0x14de2e(0x2dd)](this[_0x14de2e(0x563)]),this[_0x14de2e(0x189)](this[_0x14de2e(0x1e8)][_0x14de2e(0x4d7)](this['unitID'])[_0x14de2e(0x479)](_0x4cd2dd=>{const _0x58ed80=_0x14de2e;this['_logService']['debug'](_0x58ed80(0x365),'editing\x20status\x20changed\x20to',_0x4cd2dd),_0x4cd2dd===_0x53b568[_0x58ed80(0x1a3)]?(this[_0x58ed80(0x285)][_0x58ed80(0x3a5)]({'content':this[_0x58ed80(0x22c)]['t'](_0x58ed80(0x2c9)),'type':_0x151ca4[_0x58ed80(0x21f)][_0x58ed80(0x5ab)]}),this[_0x58ed80(0x56a)][_0x58ed80(0x52b)](new _0x91efb2[(_0x58ed80(0x54c))](this[_0x58ed80(0x563)])['id'],!0x1),this[_0x58ed80(0x56a)][_0x58ed80(0xe0)](!0x1)):(this[_0x58ed80(0x56a)][_0x58ed80(0x52b)](new _0x91efb2[(_0x58ed80(0x54c))](this[_0x58ed80(0x563)])['id'],!0x0),this[_0x58ed80(0x56a)][_0x58ed80(0xe0)](!0x0));})));let _0x42a067=!0x1;return this[_0x14de2e(0x189)](this[_0x14de2e(0x2e3)][_0x14de2e(0x40d)]['subscribe'](_0x49fee3=>{const _0x332c73=_0x14de2e;_0x49fee3===_0x4b3a9d[_0x332c73(0x447)]?this['_toggleOnline'](_0x42a067):_0x49fee3===_0x4b3a9d[_0x332c73(0x31a)]&&(_0x42a067=!0x0,this[_0x332c73(0x49d)]());})),this[_0x14de2e(0x189)](this[_0x14de2e(0x2e3)][_0x14de2e(0x2f9)]['subscribe'](_0x442384=>{const _0x1b694d=_0x14de2e;try{switch(_0x442384[_0x1b694d(0x5a6)]){case _0x4d26ac[_0x1b694d(0x2c2)][_0x1b694d(0x330)]:{this['_onRemoteChangeset'](_0x4d26ac['parseProtocolChangeset'](_0x442384[_0x1b694d(0x24e)]));break;}case _0x4d26ac[_0x1b694d(0x2c2)]['CHANGESET_ACK']:{this[_0x1b694d(0x461)](_0x442384[_0x1b694d(0x24e)]);break;}case _0x4d26ac['CollaborationEvent']['CHANGESET_REJ']:{this[_0x1b694d(0x136)]();break;}case _0x4d26ac[_0x1b694d(0x2c2)][_0x1b694d(0x3f5)]:{this[_0x1b694d(0x38f)](_0x442384[_0x1b694d(0x24e)]);break;}case _0x4d26ac[_0x1b694d(0x2c2)][_0x1b694d(0x25e)]:{this[_0x1b694d(0x16a)](_0x442384[_0x1b694d(0x24e)][_0x1b694d(0x1a5)]['map'](_0x9120a7=>_0x4d26ac['parseProtocolChangeset'](_0x9120a7)));break;}case _0x4d26ac[_0x1b694d(0x2c2)][_0x1b694d(0x466)]:this[_0x1b694d(0x136)]({'isPermissionRej':!0x0});}}catch(_0x1e2638){throw console[_0x1b694d(0x519)](_0x1b694d(0x598),_0x1e2638),_0x1e2638;}})),this[_0x14de2e(0x2d2)];}[_0x357007(0x3f1)](){this['_transitionLocked']=!0x1;}[_0x357007(0x100)](){const _0x107bf7=_0x357007;if(this['_transitionLocked'])throw new Error(_0x107bf7(0x4eb));this[_0x107bf7(0x3a8)]=!0x0;}[_0x357007(0x18b)](_0x4974aa){const _0x4e30a4=_0x357007;this[_0x4e30a4(0x100)](),this[_0x4e30a4(0x56f)](this[_0x4e30a4(0x2d2)]['appendMutation'](_0x4974aa)),this['_unlockTransition']();}[_0x357007(0x407)](_0x969a92){const _0x514100=_0x357007;if(!(_0x969a92[_0x514100(0x4d8)]<=this[_0x514100(0xfc)][_0x514100(0x110)](this['unitID']))){if(this['_collaborationPaused']){this[_0x514100(0x3b9)][_0x514100(0x39d)](_0x969a92);return;}this['_applyRemoteChangeset'](_0x969a92);}}['_exhaustRemoteChangesetQueue'](){const _0x353b91=_0x357007;this[_0x353b91(0x3b9)][_0x353b91(0x274)](_0x503f6f=>this[_0x353b91(0x318)](_0x503f6f)),this[_0x353b91(0x3b9)]=[];}[_0x357007(0x318)](_0x269b94){const _0x24fbbd=_0x357007,_0x2008cb=this[_0x24fbbd(0x180)]['interceptor'][_0x24fbbd(0x516)](this[_0x24fbbd(0x180)][_0x24fbbd(0x413)][_0x24fbbd(0x217)]()[_0x24fbbd(0x1b6)])(_0x269b94[_0x24fbbd(0x21b)],null)||_0x269b94['mutations'],_0x217e2a={..._0x269b94,'mutations':_0x2008cb};this[_0x24fbbd(0x100)](),this[_0x24fbbd(0x56f)](this['_state'][_0x24fbbd(0x333)](_0x217e2a)),this[_0x24fbbd(0x3f1)]();}[_0x357007(0x461)](_0x3bbbc6){const _0x174c87=_0x357007;this[_0x174c87(0x100)](),this[_0x174c87(0x56f)](this[_0x174c87(0x2d2)]['onRemoteAck'](_0x3bbbc6)),this[_0x174c87(0x3f1)]();}[_0x357007(0x136)](_0x4e62c5){const _0xe019ae=_0x357007;this['_lockTransition'](),this['_updateState'](this[_0xe019ae(0x2d2)][_0xe019ae(0x23f)](_0x4e62c5)),this[_0xe019ae(0x3f1)]();}['_onRemoteRetry'](_0x491fe2){const _0x2d9e0e=_0x357007;this[_0x2d9e0e(0x100)](),this[_0x2d9e0e(0x56f)](this[_0x2d9e0e(0x2d2)][_0x2d9e0e(0x539)](_0x491fe2)),this[_0x2d9e0e(0x3f1)]();}[_0x357007(0x16a)](_0xe6e39d){const _0x2900b9=_0x357007;if(!(this[_0x2900b9(0x2d2)]instanceof _0x5b8d63))throw new TypeError(_0x2900b9(0x15d));const _0x674dd8=_0xe6e39d[_0x2900b9(0x595)](_0x4f8f87=>{const _0x27b8a3=_0x2900b9,_0x1bfdae=this[_0x27b8a3(0x180)][_0x27b8a3(0x413)]['fetchThroughInterceptors'](this[_0x27b8a3(0x180)][_0x27b8a3(0x413)][_0x27b8a3(0x217)]()[_0x27b8a3(0x1b6)])(_0x4f8f87[_0x27b8a3(0x21b)],null)||_0x4f8f87['mutations'];return{..._0x4f8f87,'mutations':_0x1bfdae};});this[_0x2900b9(0x100)](),this[_0x2900b9(0x56f)](this[_0x2900b9(0x2d2)]['onMissedChangesetFetched'](_0x674dd8)),this['_unlockTransition']();}[_0x357007(0x49d)](){const _0x45202c=_0x357007;this[_0x45202c(0x100)](),this[_0x45202c(0x56f)](this[_0x45202c(0x2d2)][_0x45202c(0x145)]()),this[_0x45202c(0x3f1)]();}['_toggleOnline'](_0xcb882=!0x1){const _0xccb906=_0x357007;this['_lockTransition'](),this[_0xccb906(0x56f)](this['_state'][_0xccb906(0x3e9)]()),this['_unlockTransition']();const _0x526b8a=this['_state'];_0xcb882&&_0x526b8a instanceof _0x6dd86&&(this[_0xccb906(0x100)](),this[_0xccb906(0x56f)](_0x526b8a[_0xccb906(0x418)]()),this[_0xccb906(0x3f1)]());}async['_createInitialState'](){return new Promise(_0x4bc1d9=>{const _0x21ea61=_0xbbea;this[_0x21ea61(0x2e3)][_0x21ea61(0x40d)][_0x21ea61(0x3f8)](_0x44a02e[_0x21ea61(0x370)](0x1))['subscribe'](async _0x52b111=>{const _0x3bb8cf=_0x21ea61;_0x4bc1d9(await this[_0x3bb8cf(0x430)](_0x52b111===_0x4b3a9d['ONLINE']));});});}[_0x357007(0x4f4)](){const _0x2295d8=this['unitID'];return{'onStateChange':(_0x5e6273,_0xd77959)=>{const _0x50bd99=_0xbbea;if(_0x5e6273!==this[_0x50bd99(0x2d2)])throw new Error(_0x50bd99(0x548)+_0x5e6273['status']+'\x0aAfter:\x20'+_0xd77959[_0x50bd99(0x477)]+_0x50bd99(0x118)+this['_state'][_0x50bd99(0x477)]);this[_0x50bd99(0x56f)](_0xd77959);},'onSendChangeset':_0x3b5c70=>{const _0x5a9b1f=_0xbbea;_0x3b5c70[_0x5a9b1f(0x30d)]||(_0x3b5c70[_0x5a9b1f(0x30d)]=this['_changesetSessionId'],_0x3b5c70[_0x5a9b1f(0x1fd)]=++this[_0x5a9b1f(0x3fa)]);const _0x403d43={'eventID':_0x4d26ac[_0x5a9b1f(0x2c2)][_0x5a9b1f(0x13b)],'data':{'unitID':_0x3b5c70[_0x5a9b1f(0x563)],'unitType':this[_0x5a9b1f(0x584)],'changeset':_0x3b5c70,'memberID':this[_0x5a9b1f(0x2e3)][_0x5a9b1f(0x14f)]()}};this[_0x5a9b1f(0x2e3)][_0x5a9b1f(0x434)](_0x403d43,this[_0x5a9b1f(0x563)]);},'onMissingChangesets':({from:_0x18f41e,to:_0x24136a})=>{const _0x291224=_0xbbea;this[_0x291224(0x514)][_0x291224(0x17b)](_0x291224(0x365),_0x291224(0x389)+_0x18f41e+'\x20to\x20'+_0x24136a);const _0x29a0de={'eventID':_0x4d26ac[_0x291224(0x2c2)][_0x291224(0x12a)],'data':{'unitID':_0x2295d8,'unitType':this['_type'],'from':_0x18f41e,'to':_0x24136a}};this[_0x291224(0x2e3)]['send'](_0x29a0de,this['unitID']);}};}async[_0x357007(0x430)](_0x1f471f){const _0x6fc43d=_0x357007;var _0x13479a,_0x2dad9e;const _0x667e6a=await this[_0x6fc43d(0x4e9)]['loadOfflineData'](this[_0x6fc43d(0x563)]),_0x4fcbf4=(_0x13479a=_0x667e6a==null?void 0x0:_0x667e6a[_0x6fc43d(0x21b)])!=null?_0x13479a:[],_0x1bc48a=(_0x2dad9e=_0x667e6a==null?void 0x0:_0x667e6a[_0x6fc43d(0x4ac)])!=null?_0x2dad9e:null,_0x1c64da=!!(_0x1bc48a!=null&&_0x1bc48a[_0x6fc43d(0x30d)])&&!!(_0x1bc48a!=null&&_0x1bc48a[_0x6fc43d(0x1fd)]);this[_0x6fc43d(0x49c)]=_0x1c64da?_0x1bc48a['sid']:_0xee27dc(),this[_0x6fc43d(0x3fa)]=_0x1c64da?_0x1bc48a[_0x6fc43d(0x1fd)]:0x0;const _0x4bab0c=this['unitID'];try{this[_0x6fc43d(0x59c)](_0x1bc48a,_0x4fcbf4);}catch(_0x26c53f){this['_logService'][_0x6fc43d(0x519)](_0x26c53f);}const _0x2df35f=this[_0x6fc43d(0x4f4)]();if(_0x1f471f){const _0x15afc0=_0x540535(this['_injector'],_0x4bab0c,this[_0x6fc43d(0x584)],_0x1bc48a,_0x4fcbf4,_0x2df35f);return _0x15afc0 instanceof _0x2cdf5f?_0x15afc0[_0x6fc43d(0x3fd)]():(_0x15afc0 instanceof _0x2b0484||_0x15afc0 instanceof _0x445360)&&_0x15afc0[_0x6fc43d(0x1bd)](),_0x15afc0;}return this[_0x6fc43d(0x593)][_0x6fc43d(0xfd)](_0x52b8d8,_0x4bab0c,this[_0x6fc43d(0x584)],_0x1bc48a,_0x4fcbf4,_0x2df35f);}[_0x357007(0x59c)](_0x20e37c,_0x104135){const _0x27d007=_0x357007;var _0x5615a8,_0x415446;const _0x2ea046=this[_0x27d007(0x180)]['interceptor']['fetchThroughInterceptors'](this[_0x27d007(0x180)][_0x27d007(0x413)][_0x27d007(0x217)]()['COMPRESS_MUTATION_APPLY']);(_0x5615a8=_0x2ea046((_0x20e37c==null?void 0x0:_0x20e37c[_0x27d007(0x21b)])||[],null))==null||_0x5615a8[_0x27d007(0x274)](_0x1d8caf=>this[_0x27d007(0x2a1)][_0x27d007(0x470)](_0x1d8caf['id'],_0x1d8caf[_0x27d007(0x53a)])),(_0x415446=_0x2ea046(_0x104135||[],null))==null||_0x415446[_0x27d007(0x274)](_0x483b0f=>this[_0x27d007(0x2a1)]['executeCommand'](_0x483b0f['id'],_0x483b0f[_0x27d007(0x53a)]));}},_0x325eac[_0x357007(0x5af)]=_0xd723ed([_0x2da585(0x3,_0x457d20['Inject'](_0x457d20[_0x357007(0x467)])),_0x2da585(0x4,_0x457d20[_0x357007(0x2c4)](_0x325eac[_0x357007(0x4f9)])),_0x2da585(0x5,_0x457d20['Inject'](_0x4d26ac['CompressMutationService'])),_0x2da585(0x6,_0x457d20[_0x357007(0x2c4)](_0x457d20[_0x357007(0x128)])),_0x2da585(0x7,_0x457d20[_0x357007(0x2c4)](_0x4d26ac[_0x357007(0x37c)])),_0x2da585(0x8,_0x457d20[_0x357007(0x54e)]),_0x2da585(0x9,_0x457d20[_0x357007(0x324)]),_0x2da585(0xa,_0x2b45ba[_0x357007(0x3ba)]),_0x2da585(0xb,_0x457d20[_0x357007(0x42a)]),_0x2da585(0xc,_0x457d20[_0x357007(0xe8)](_0x1731f5))],_0x325eac[_0x357007(0x5af)]),_0x325eac[_0x357007(0x248)]=class extends _0x325eac[_0x357007(0x5af)]{constructor(_0x2312cd,_0xfd72a2,_0x37771a,_0x5dd3d5,_0x5a9516,_0x3e7826,_0x1f52ce,_0x34b479,_0x7dfa4d,_0x2880d0,_0x5770eb,_0x4de042,_0x5973a4,_0x535964,_0x1eb940,_0x58d6bd,_0x354c0e,_0x5b9fcc){const _0x2d0a03=_0x357007;super(_0x2312cd,_0x37771a,_0xfd72a2,_0x5dd3d5,_0x5a9516,_0x3e7826,_0x1f52ce,_0x34b479,_0x535964,_0x1eb940,_0x58d6bd,_0x354c0e,_0x5b9fcc),this[_0x2d0a03(0x563)]=_0x2312cd,this['type']=_0xfd72a2,this[_0x2d0a03(0x2b5)]=_0x7dfa4d,this['_docTransformIMECacheService']=_0x2880d0,this[_0x2d0a03(0x573)]=_0x5770eb,this[_0x2d0a03(0x31c)]=_0x4de042,this[_0x2d0a03(0x585)]=_0x5973a4;}[_0x357007(0x4f4)](){const _0x1c9c21=_0x357007,_0x4602b1=super[_0x1c9c21(0x4f4)]();return _0x4602b1[_0x1c9c21(0x22b)]=_0x4de61f=>this[_0x1c9c21(0xe1)][_0x1c9c21(0x440)](_0x4de61f),_0x4602b1[_0x1c9c21(0x421)]=_0x1c4184=>this[_0x1c9c21(0x573)][_0x1c9c21(0x13e)](_0x1c4184),_0x4602b1['onTransformSelections']=_0x6c07d8=>this['_docTransformSelectionsService']['transformSelections'](_0x6c07d8),_0x4602b1[_0x1c9c21(0x317)]=_0x1e0281=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x1e0281),_0x4602b1[_0x1c9c21(0x446)]=_0x1cd639=>this[_0x1c9c21(0xe1)]['transformRemoteChangeset'](_0x1cd639),_0x4602b1[_0x1c9c21(0x169)]=_0xb38650=>this[_0x1c9c21(0x573)][_0x1c9c21(0x1a1)](_0xb38650),_0x4602b1;}async['_init'](){const _0x4c69b6=_0x357007,_0x2bbcfd=await super[_0x4c69b6(0x47f)]();return this['_docStateChangeManagerService'][_0x4c69b6(0x261)]['pipe'](_0x44a02e[_0x4c69b6(0x138)](this[_0x4c69b6(0x43e)]))['subscribe'](_0x19acf4=>{const _0x11cc9b=_0x4c69b6;if(_0x19acf4==null)return;const {unitId:_0x1187d2,redoState:_0x3b169e,commandId:_0x194cbe}=_0x19acf4;if(_0x1187d2!==this[_0x11cc9b(0x563)])return;const _0x59c6d5={'id':_0x194cbe,'type':_0x457d20[_0x11cc9b(0x304)][_0x11cc9b(0x3da)],'params':{'unitId':_0x1187d2,'actions':_0x3b169e[_0x11cc9b(0xeb)],'textRanges':null}};this[_0x11cc9b(0x18b)](_0x59c6d5);}),_0x2bbcfd;}},_0x325eac[_0x357007(0x248)]=_0xd723ed([_0x2da585(0x3,_0x457d20[_0x357007(0x2c4)](_0x457d20[_0x357007(0x467)])),_0x2da585(0x4,_0x457d20[_0x357007(0x2c4)](_0x325eac[_0x357007(0x4f9)])),_0x2da585(0x5,_0x457d20[_0x357007(0x2c4)](_0x4d26ac[_0x357007(0x3a2)])),_0x2da585(0x6,_0x457d20[_0x357007(0x2c4)](_0x457d20[_0x357007(0x128)])),_0x2da585(0x7,_0x457d20[_0x357007(0x2c4)](_0x4d26ac[_0x357007(0x37c)])),_0x2da585(0x8,_0x457d20[_0x357007(0x2c4)](_0x1b8609['DocStateChangeManagerService'])),_0x2da585(0x9,_0x457d20[_0x357007(0x2c4)](_0xa432dd)),_0x2da585(0xa,_0x457d20[_0x357007(0x2c4)](_0xa6eb37)),_0x2da585(0xb,_0x457d20[_0x357007(0x2c4)](_0x3ef40a)),_0x2da585(0xc,_0x457d20[_0x357007(0x2c4)](_0x559ff9)),_0x2da585(0xd,_0x457d20['ILogService']),_0x2da585(0xe,_0x457d20[_0x357007(0x324)]),_0x2da585(0xf,_0x2b45ba['IMessageService']),_0x2da585(0x10,_0x457d20['IPermissionService']),_0x2da585(0x11,_0x457d20[_0x357007(0xe8)](_0x1731f5))],_0x325eac['DocCollaborationEntity']),_0x325eac['SheetCollaborationEntity']=class extends _0x325eac[_0x357007(0x5af)]{constructor(_0x2889c4,_0x3bcfbf,_0x213023,_0x7d2d81,_0x3f92b9,_0x20f10b,_0x129e2c,_0x592dec,_0x3d93f3,_0x53adf2,_0x4ff85f,_0x12ddde,_0x1e12b7,_0x43d692){const _0x515d6b=_0x357007;super(_0x2889c4,_0x213023,_0x3bcfbf,_0x7d2d81,_0x3f92b9,_0x20f10b,_0x129e2c,_0x592dec,_0x53adf2,_0x4ff85f,_0x12ddde,_0x1e12b7,_0x43d692),this['unitID']=_0x2889c4,this[_0x515d6b(0x486)]=_0x3bcfbf,this[_0x515d6b(0x193)]=_0x3d93f3;}['_createHandler'](){const _0x39caa5=_0x357007,_0x58d515=super['_createHandler']();return _0x58d515[_0x39caa5(0xf4)]=_0x50dbed=>this['_sheetTransformSelectionsService']['transformSelections'](_0x50dbed),_0x58d515;}async[_0x357007(0x47f)](){const _0x20b7d4=_0x357007,_0x47f0ec=await super[_0x20b7d4(0x47f)]();return this[_0x20b7d4(0x189)](this[_0x20b7d4(0x2a1)][_0x20b7d4(0x310)]((_0x413f55,_0x3f0f18)=>{const _0x16ae73=_0x20b7d4;if(_0x413f55[_0x16ae73(0x486)]!==_0x457d20[_0x16ae73(0x304)][_0x16ae73(0x3da)]||_0x3f0f18!=null&&_0x3f0f18[_0x16ae73(0x1ac)]||_0x3f0f18!=null&&_0x3f0f18['onlyLocal'])return;const _0x313b31=_0x413f55['params'];if((_0x313b31==null?void 0x0:_0x313b31[_0x16ae73(0x58b)])!==this[_0x16ae73(0x563)])return;const _0x4feb85=_0x413f55,_0x530fab=this['_compressMutationService'][_0x16ae73(0x413)][_0x16ae73(0x516)](this[_0x16ae73(0x180)][_0x16ae73(0x413)][_0x16ae73(0x217)]()[_0x16ae73(0x5ae)])([_0x4feb85],null)||[_0x4feb85];this[_0x16ae73(0x18b)](_0x530fab[0x0]);})),_0x47f0ec;}},_0x325eac['SheetCollaborationEntity']=_0xd723ed([_0x2da585(0x3,_0x457d20[_0x357007(0x2c4)](_0x457d20[_0x357007(0x467)])),_0x2da585(0x4,_0x457d20['Inject'](_0x325eac[_0x357007(0x4f9)])),_0x2da585(0x5,_0x457d20[_0x357007(0x2c4)](_0x4d26ac['CompressMutationService'])),_0x2da585(0x6,_0x457d20[_0x357007(0x2c4)](_0x457d20['LocaleService'])),_0x2da585(0x7,_0x457d20[_0x357007(0x2c4)](_0x4d26ac[_0x357007(0x37c)])),_0x2da585(0x8,_0x457d20['Inject'](_0x201d4e)),_0x2da585(0x9,_0x457d20[_0x357007(0x54e)]),_0x2da585(0xa,_0x457d20['ICommandService']),_0x2da585(0xb,_0x2b45ba[_0x357007(0x3ba)]),_0x2da585(0xc,_0x457d20[_0x357007(0x42a)]),_0x2da585(0xd,_0x457d20['Optional'](_0x1731f5))],_0x325eac['SheetCollaborationEntity']);var _0x1cdc2a=Object[_0x357007(0x376)],_0x281ebf=Object[_0x357007(0x41b)],_0x180705=(_0x7b1a4c,_0x105b0f,_0x4f83d5,_0x907060)=>{const _0x53ec45=_0x357007;for(var _0x4ae14f=_0x907060>0x1?void 0x0:_0x907060?_0x281ebf(_0x105b0f,_0x4f83d5):_0x105b0f,_0x4cabd6=_0x7b1a4c[_0x53ec45(0x1b0)]-0x1,_0x441e00;_0x4cabd6>=0x0;_0x4cabd6--)(_0x441e00=_0x7b1a4c[_0x4cabd6])&&(_0x4ae14f=(_0x907060?_0x441e00(_0x105b0f,_0x4f83d5,_0x4ae14f):_0x441e00(_0x4ae14f))||_0x4ae14f);return _0x907060&&_0x4ae14f&&_0x1cdc2a(_0x105b0f,_0x4f83d5,_0x4ae14f),_0x4ae14f;},_0xb1ae99=(_0x2e066a,_0x23fa8e)=>(_0x4002a4,_0x3facd8)=>_0x23fa8e(_0x4002a4,_0x3facd8,_0x2e066a);_0x325eac['CollaborationController']=class extends _0x457d20[_0x357007(0xe7)]{constructor(_0x183cbf,_0x289a5a,_0x5ea1fb){const _0x560e72=_0x357007;super(),_0x184856(this,'_entities',new Map()),_0x184856(this,_0x560e72(0x46e),new _0x44a02e['Subject']()),(this[_0x560e72(0x593)]=_0x183cbf,this[_0x560e72(0x16b)]=_0x289a5a,this[_0x560e72(0x140)]=_0x5ea1fb,this[_0x560e72(0x47f)]());}[_0x357007(0x37a)](){const _0x24db13=_0x357007;super[_0x24db13(0x37a)](),this['_entities'][_0x24db13(0x274)](_0x3116e4=>_0x3116e4[_0x24db13(0x37a)]()),this[_0x24db13(0x4ae)]['clear']();}[_0x357007(0x13c)](_0xb28682){const _0x5f0c99=_0x357007;var _0x1f42ea;return(_0x1f42ea=this[_0x5f0c99(0x4ae)][_0x5f0c99(0x1b5)](_0xb28682))!=null?_0x1f42ea:null;}[_0x357007(0x1e7)](_0x7ee0ff){const _0x34d4d4=_0x357007,_0x259c4c=this[_0x34d4d4(0x13c)](_0x7ee0ff);return _0x259c4c?_0x44a02e['of'](_0x259c4c):this['_entityInit$'][_0x34d4d4(0x3f8)](_0x4c8197[_0x34d4d4(0x356)](_0x1f5913=>_0x1f5913['unitID']===_0x7ee0ff));}[_0x357007(0x47f)](){const _0x16b5f2=_0x357007;this[_0x16b5f2(0x140)]['getTypeOfUnitAdded$'](_0x457d20[_0x16b5f2(0x3f0)][_0x16b5f2(0x3b5)])[_0x16b5f2(0x3f8)](_0x44a02e[_0x16b5f2(0x138)](this[_0x16b5f2(0x43e)]),_0x4c8197[_0x16b5f2(0x1eb)](0x10))[_0x16b5f2(0x479)](async _0x27d1c9=>{const _0x5af997=_0x16b5f2,_0x48e9bb=_0x27d1c9[_0x5af997(0x4a5)](),_0x39514c=await this['_startCollaboration'](_0x48e9bb,_0x1c36ee[_0x5af997(0x3b5)]);this['_entities'][_0x5af997(0x40f)](_0x48e9bb,_0x39514c);}),this[_0x16b5f2(0x140)][_0x16b5f2(0x433)](_0x457d20[_0x16b5f2(0x3f0)][_0x16b5f2(0x210)])[_0x16b5f2(0x3f8)](_0x44a02e[_0x16b5f2(0x138)](this['dispose$']),_0x4c8197[_0x16b5f2(0x1eb)](0x10))[_0x16b5f2(0x3f8)](_0x4c8197[_0x16b5f2(0x356)](_0x5e4e65=>!_0x5e4e65[_0x16b5f2(0x4a5)]()[_0x16b5f2(0x3ae)]('__')))['subscribe'](async _0x3317d7=>{const _0xe24221=_0x16b5f2,_0x52abe1=_0x3317d7['getUnitId'](),_0x3f1ed5=await this[_0xe24221(0x393)](_0x52abe1,_0x1c36ee['UNIVER_DOC']);this[_0xe24221(0x4ae)][_0xe24221(0x40f)](_0x52abe1,_0x3f1ed5);}),_0x44a02e[_0x16b5f2(0x31f)](this[_0x16b5f2(0x140)][_0x16b5f2(0x416)](_0x457d20[_0x16b5f2(0x3f0)][_0x16b5f2(0x3b5)]),this[_0x16b5f2(0x140)][_0x16b5f2(0x416)](_0x457d20['UniverInstanceType'][_0x16b5f2(0x210)]))[_0x16b5f2(0x3f8)](_0x44a02e['takeUntil'](this[_0x16b5f2(0x43e)]))[_0x16b5f2(0x479)](_0xfb1f0b=>{const _0x3b0c79=_0x16b5f2,_0x382018=_0xfb1f0b['getUnitId'](),_0x4b1781=this[_0x3b0c79(0x4ae)]['get'](_0x382018);_0x4b1781&&(_0x4b1781[_0x3b0c79(0x37a)](),this['_entities'][_0x3b0c79(0x378)](_0x382018));});}async[_0x357007(0x393)](_0x4e7d3a,_0x396eb7){const _0x38eb9a=_0x357007,_0x47c225=await this[_0x38eb9a(0x16b)][_0x38eb9a(0x538)](_0x4e7d3a),_0x2af841=this['_injector'][_0x38eb9a(0xfd)](this[_0x38eb9a(0x2ed)](_0x396eb7),_0x4e7d3a,_0x396eb7,_0x47c225);return await _0x2af841[_0x38eb9a(0x192)](),this[_0x38eb9a(0x46e)][_0x38eb9a(0x4d3)](_0x2af841),_0x2af841;}['_getCtorByUniverType'](_0x3c9073){const _0x49a04e=_0x357007;switch(_0x3c9073){case _0x1c36ee[_0x49a04e(0x210)]:return _0x325eac[_0x49a04e(0x248)];case _0x1c36ee['UNIVER_SHEET']:return _0x325eac[_0x49a04e(0x510)];default:throw new Error(_0x49a04e(0x4cb)+_0x3c9073);}}},_0x325eac[_0x357007(0x339)]=_0x180705([_0xb1ae99(0x0,_0x457d20['Inject'](_0x457d20['Injector'])),_0xb1ae99(0x1,_0x457d20[_0x357007(0x2c4)](_0x325eac[_0x357007(0x30b)])),_0xb1ae99(0x2,_0x457d20[_0x357007(0x35e)])],_0x325eac[_0x357007(0x339)]);const _0x18dd08=[_0x357007(0x448),_0x357007(0x55d),_0x357007(0x4fd),_0x357007(0xf9),'blue400',_0x357007(0x4ba)];class _0x1cc170 extends _0x457d20[_0x357007(0x348)]{constructor(){const _0x4eb0d9=_0x357007;super(...arguments),_0x184856(this,_0x4eb0d9(0x3d2),new Map()),_0x184856(this,_0x4eb0d9(0x315),0x0);}[_0x357007(0x216)](_0x160903){const _0x310818=_0x357007;if(this[_0x310818(0x3d2)]['has'](_0x160903))return this['_assignedColors']['get'](_0x160903);const _0x1af755=_0x18dd08[this[_0x310818(0x315)]];return this[_0x310818(0x315)]=(this[_0x310818(0x315)]+0x1)%_0x18dd08[_0x310818(0x1b0)],this[_0x310818(0x3d2)]['set'](_0x160903,_0x1af755),_0x1af755;}}var _0xea39e1=Object[_0x357007(0x376)],_0x37e9b7=Object[_0x357007(0x41b)],_0x464ed4=(_0x265038,_0x402ec3,_0x5d43e9,_0x4377ca)=>{const _0x306cdb=_0x357007;for(var _0x2a63cb=_0x4377ca>0x1?void 0x0:_0x4377ca?_0x37e9b7(_0x402ec3,_0x5d43e9):_0x402ec3,_0x24e38f=_0x265038[_0x306cdb(0x1b0)]-0x1,_0xed9599;_0x24e38f>=0x0;_0x24e38f--)(_0xed9599=_0x265038[_0x24e38f])&&(_0x2a63cb=(_0x4377ca?_0xed9599(_0x402ec3,_0x5d43e9,_0x2a63cb):_0xed9599(_0x2a63cb))||_0x2a63cb);return _0x4377ca&&_0x2a63cb&&_0xea39e1(_0x402ec3,_0x5d43e9,_0x2a63cb),_0x2a63cb;},_0xf969a3=(_0x3542dd,_0x7a783b)=>(_0x23755a,_0xd56fab)=>_0x7a783b(_0x23755a,_0xd56fab,_0x3542dd);const _0x1a9e6c=0x12c,_0x317d7d=0x64;let _0x10937b=class extends _0x457d20[_0x357007(0xe7)]{constructor(_0x1ad190,_0x1e242d,_0x4b0819,_0x5f42a2,_0x4672e7,_0x4140e9,_0x1db198,_0x44a718,_0xb310c9){const _0x494467=_0x357007;super(),_0x184856(this,'_online',!0x1),_0x184856(this,_0x494467(0x47f),!0x1),_0x184856(this,'_cursorInfo$',new _0x44a02e[(_0x494467(0x387))](new Map())),_0x184856(this,_0x494467(0x442),this[_0x494467(0x384)][_0x494467(0x242)]()),_0x184856(this,_0x494467(0x3d5),new _0x44a02e[(_0x494467(0x387))]([])),_0x184856(this,'roomMembers$',this[_0x494467(0x3d5)][_0x494467(0x3f8)](_0x44a02e[_0x494467(0x199)](_0x1a9e6c))),_0x184856(this,_0x494467(0x2d1),_0x457d20[_0x494467(0x154)](_0xfed7b3=>{const _0x15e0ae=_0x494467,_0x115130={'eventID':_0x4d26ac[_0x15e0ae(0x2c2)][_0x15e0ae(0x14e)],'data':{'unitID':this[_0x15e0ae(0x563)],'memberID':this[_0x15e0ae(0x2db)][_0x15e0ae(0x14f)](),'selection':_0x320fbb(_0xfed7b3)}};this[_0x15e0ae(0x2db)]['send'](_0x115130,this['unitID']);},_0x317d7d)),(this['unitID']=_0x1ad190,this['_session']=_0x1e242d,this[_0x494467(0x593)]=_0x4b0819,this[_0x494467(0xfa)]=_0x5f42a2,this[_0x494467(0x3e1)]=_0x4672e7,this[_0x494467(0x508)]=_0x4140e9,this[_0x494467(0x2af)]=_0x1db198,this['_univerInstanceService']=_0x44a718,this['_commandService']=_0xb310c9);}get[_0x357007(0x175)](){const _0x43c479=_0x357007;return this[_0x43c479(0x384)][_0x43c479(0x511)]();}get['roomMembers'](){const _0x11ddd1=_0x357007;return this['_roomMembers$'][_0x11ddd1(0x511)]();}[_0x357007(0x37a)](){const _0xc31118=_0x357007;super[_0xc31118(0x37a)](),this[_0xc31118(0x384)][_0xc31118(0x4d3)](new Map()),this[_0xc31118(0x384)]['complete'](),this[_0xc31118(0x3d5)]['next']([]),this['_roomMembers$'][_0xc31118(0x2ea)]();}['init'](){const _0x2f0f5e=_0x357007;this['_init']||(this[_0x2f0f5e(0x47f)]=!0x0,this[_0x2f0f5e(0x2db)][_0x2f0f5e(0x40d)][_0x2f0f5e(0x3f8)](_0x44a02e[_0x2f0f5e(0x138)](this['dispose$']))[_0x2f0f5e(0x479)](_0x5905ff=>{const _0x1f807e=_0x2f0f5e;_0x5905ff===_0x4b3a9d[_0x1f807e(0x447)]?this['_toggleOnline']():this['_toggleOffline']();}),this['_session']['event$'][_0x2f0f5e(0x3f8)](_0x44a02e[_0x2f0f5e(0x138)](this[_0x2f0f5e(0x43e)]))[_0x2f0f5e(0x479)](_0xb7cb4a=>{const _0x3aa595=_0x2f0f5e,_0x3e8d72=_0xb7cb4a['eventID'];_0x3e8d72===_0x4d26ac[_0x3aa595(0x2c2)][_0x3aa595(0x14e)]&&this['_onCursorUpdate'](_0xb7cb4a),_0x3e8d72===_0x4d26ac[_0x3aa595(0x2c2)]['USERS_LEAVE']&&this[_0x3aa595(0x4e0)](_0xb7cb4a);}),this[_0x2f0f5e(0x189)](this['_commandService'][_0x2f0f5e(0x310)](_0x35cd61=>{const _0x9016b=_0x2f0f5e,_0x418fb8=_0x35cd61[_0x9016b(0x53a)];_0x418fb8!=null&&this[_0x9016b(0x3d0)]&&_0x35cd61['id']===_0x279b33[_0x9016b(0x226)]['id']&&_0x418fb8[_0x9016b(0x58b)]===this[_0x9016b(0x563)]&&_0x418fb8[_0x9016b(0x3c5)]===!0x1&&_0x418fb8[_0x9016b(0x4e7)]['length']>0x0&&this[_0x9016b(0x2d1)](_0x418fb8[_0x9016b(0x4e7)]);})),this['_syncEditingCollabCursorService'][_0x2f0f5e(0x2d9)]['pipe'](_0x44a02e['takeUntil'](this[_0x2f0f5e(0x43e)]))[_0x2f0f5e(0x479)](_0x529c34=>{const _0x595f64=_0x2f0f5e;if((_0x529c34==null?void 0x0:_0x529c34[_0x595f64(0x563)])!==this[_0x595f64(0x563)])return;const _0x4db870={'eventID':_0x4d26ac[_0x595f64(0x2c2)][_0x595f64(0x14e)],'data':_0x529c34};this[_0x595f64(0x28d)](_0x4db870);}),this[_0x2f0f5e(0x189)](this[_0x2f0f5e(0x2a1)][_0x2f0f5e(0x310)](_0x663de2=>{const _0x46ffd8=_0x2f0f5e;if(_0x663de2['params']==null)return;const _0x12e049=_0x663de2['params'];if(_0x663de2['id']!==_0x279b33[_0x46ffd8(0x347)]['id']||_0x12e049[_0x46ffd8(0x58b)]!==this[_0x46ffd8(0x563)])return;const _0x456183={'id':_0x46ffd8(0x50f),'params':_0x12e049},_0x24481b=this[_0x46ffd8(0x175)];for(const [_0x4f505a,_0x28f87f]of _0x24481b){const _0x1b888c={'id':_0x46ffd8(0x50f),'params':{'unitId':this[_0x46ffd8(0x563)],'actions':null,'textRanges':_0x28f87f[_0x46ffd8(0x4e7)]}},_0x3a0b6f=this[_0x46ffd8(0x2af)][_0x46ffd8(0x3fe)](_0x456183,_0x1b888c,!0x1);if(_0x4d26ac['isTransformMutationFailure'](_0x3a0b6f))throw _0x3a0b6f[_0x46ffd8(0x519)];_0x24481b['set'](_0x4f505a,{..._0x28f87f,'ranges':_0x3a0b6f[_0x46ffd8(0x472)][_0x46ffd8(0x53a)][_0x46ffd8(0xf2)]});}queueMicrotask(()=>{const _0x5e28d1=_0x46ffd8;this[_0x5e28d1(0x384)]['next'](_0x24481b);});})));}[_0x357007(0x28d)](_0x267c04){const _0x57b436=_0x357007;var _0x37622e,_0x4a6c3a;const {memberID:_0x49a045,selection:_0x53443a}=_0x267c04['data'],_0x3576ab=_0x33a6e9(_0x53443a),_0x307b34=(_0x4a6c3a=(_0x37622e=this[_0x57b436(0x3e1)][_0x57b436(0x1c1)](this[_0x57b436(0x563)],_0x49a045))==null?void 0x0:_0x37622e[_0x57b436(0x28e)])!=null?_0x4a6c3a:_0x57b436(0x2bf),_0x32af6a={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x49a045),'name':_0x307b34,'ranges':_0x3576ab},_0x17defd=this[_0x57b436(0x175)];_0x17defd['set'](_0x49a045,_0x32af6a),this['_cursorInfo$'][_0x57b436(0x4d3)](_0x17defd);}[_0x357007(0x4e0)](_0x4ca7c0){const _0x5d08e9=_0x357007,{memberID:_0x418e56}=_0x4ca7c0['data'],_0x498525=this[_0x5d08e9(0x175)];_0x498525[_0x5d08e9(0x378)](_0x418e56),this[_0x5d08e9(0x384)][_0x5d08e9(0x4d3)](_0x498525);}[_0x357007(0x2cb)](){const _0x6f7809=_0x357007;var _0x352614;if(this[_0x6f7809(0x3d0)]=!0x0,((_0x352614=this[_0x6f7809(0x140)][_0x6f7809(0x236)]())==null?void 0x0:_0x352614[_0x6f7809(0x4a5)]())!==this[_0x6f7809(0x563)])return;const _0x5402e4=this[_0x6f7809(0x593)][_0x6f7809(0x1b5)](_0x279b33[_0x6f7809(0x1c8)])[_0x6f7809(0x3cd)]();Array[_0x6f7809(0x139)](_0x5402e4)&&_0x5402e4[_0x6f7809(0x1b0)]>0x0&&this[_0x6f7809(0x2d1)](_0x5402e4);}[_0x357007(0x49d)](){this['_online']=!0x1;}};_0x10937b=_0x464ed4([_0xf969a3(0x2,_0x457d20[_0x357007(0x2c4)](_0x457d20['Injector'])),_0xf969a3(0x3,_0x457d20[_0x357007(0x2c4)](_0x1cc170)),_0xf969a3(0x4,_0x457d20[_0x357007(0x2c4)](_0x325eac[_0x357007(0x2fa)])),_0xf969a3(0x5,_0x457d20[_0x357007(0x2c4)](_0x559ff9)),_0xf969a3(0x6,_0x4d26ac['ITransformService']),_0xf969a3(0x7,_0x457d20['IUniverInstanceService']),_0xf969a3(0x8,_0x457d20[_0x357007(0x324)])],_0x10937b);var _0x4dcd38=Object['defineProperty'],_0x49626a=Object[_0x357007(0x41b)],_0x4bbbaa=(_0x415272,_0xd664d5,_0xca2bde,_0x3d704f)=>{const _0x4851e9=_0x357007;for(var _0x25e0ba=_0x3d704f>0x1?void 0x0:_0x3d704f?_0x49626a(_0xd664d5,_0xca2bde):_0xd664d5,_0x49744e=_0x415272[_0x4851e9(0x1b0)]-0x1,_0x27335f;_0x49744e>=0x0;_0x49744e--)(_0x27335f=_0x415272[_0x49744e])&&(_0x25e0ba=(_0x3d704f?_0x27335f(_0xd664d5,_0xca2bde,_0x25e0ba):_0x27335f(_0x25e0ba))||_0x25e0ba);return _0x3d704f&&_0x25e0ba&&_0x4dcd38(_0xd664d5,_0xca2bde,_0x25e0ba),_0x25e0ba;},_0x58e2ea=(_0x4f40e0,_0x2b4f2d)=>(_0x41511c,_0x59d481)=>_0x2b4f2d(_0x41511c,_0x59d481,_0x4f40e0);const _0x2d322e=0x12c,_0x592a43=0x64,_0x4b283f=()=>{let _0x1ff3a4=[],_0x2aeb56=!0x1;return _0x5e34d6=>{const _0x12a61d=_0xbbea;_0x1ff3a4[_0x12a61d(0x39d)](_0x5e34d6),_0x2aeb56||(_0x2aeb56=!0x0,setTimeout(()=>{const _0x268f96=_0x12a61d;_0x1ff3a4[_0x268f96(0x274)](_0x413046=>_0x413046()),_0x1ff3a4=[],_0x2aeb56=!0x1;}));};};let _0x3cdf0e=class extends _0x457d20[_0x357007(0xe7)]{constructor(_0x614982,_0x52b66b,_0x10d08c,_0xeb2d01,_0x1e5a64,_0xe71abc,_0x4407f1,_0x5e6016){const _0xf92921=_0x357007;super(),_0x184856(this,'_online',!0x1),_0x184856(this,_0xf92921(0x47f),!0x1),_0x184856(this,_0xf92921(0x384),new _0x44a02e[(_0xf92921(0x387))](new Map())),_0x184856(this,'cursorInfo$',this[_0xf92921(0x384)][_0xf92921(0x242)]()),_0x184856(this,_0xf92921(0x3d5),new _0x44a02e[(_0xf92921(0x387))]([])),_0x184856(this,_0xf92921(0x3d7),this[_0xf92921(0x3d5)][_0xf92921(0x3f8)](_0x44a02e['debounceTime'](_0x2d322e))),_0x184856(this,_0xf92921(0x2d1),_0x457d20[_0xf92921(0x154)]((_0x877a17,_0x585550)=>{const _0x723a17=_0xf92921,_0x5e40f8={'eventID':_0x4d26ac['CollaborationEvent'][_0x723a17(0x14e)],'data':{'unitID':this['unitID'],'memberID':this[_0x723a17(0x2db)]['getMemberID'](),'selection':_0x4e8c55[_0x723a17(0x591)](_0x877a17,_0x585550['range'])}};this['_session'][_0x723a17(0x434)](_0x5e40f8,this[_0x723a17(0x563)]);},_0x592a43)),(this[_0xf92921(0x563)]=_0x614982,this[_0xf92921(0x2db)]=_0x52b66b,this[_0xf92921(0x593)]=_0x10d08c,this[_0xf92921(0xfa)]=_0xeb2d01,this['_memberService']=_0x1e5a64,this['_univerInstanceService']=_0xe71abc,this[_0xf92921(0x2a1)]=_0x4407f1,this[_0xf92921(0x58a)]=_0x5e6016);}get[_0x357007(0x175)](){const _0xb893fe=_0x357007;return this[_0xb893fe(0x384)]['getValue']();}get['roomMembers'](){return this['_roomMembers$']['getValue']();}[_0x357007(0x37a)](){const _0x383f83=_0x357007;super['dispose'](),this[_0x383f83(0x384)][_0x383f83(0x4d3)](new Map()),this[_0x383f83(0x384)][_0x383f83(0x2ea)](),this['_roomMembers$'][_0x383f83(0x4d3)]([]),this[_0x383f83(0x3d5)][_0x383f83(0x2ea)]();}[_0x357007(0x192)](){const _0x481ac3=_0x357007;this['_init']||(this['_init']=!0x0,this[_0x481ac3(0x2db)][_0x481ac3(0x40d)][_0x481ac3(0x3f8)](_0x44a02e[_0x481ac3(0x138)](this['dispose$']))[_0x481ac3(0x479)](_0x241f0e=>{const _0x4de78f=_0x481ac3;_0x241f0e===_0x4b3a9d[_0x4de78f(0x447)]?this[_0x4de78f(0x2cb)]():this[_0x4de78f(0x49d)]();}),this['_session'][_0x481ac3(0x2f9)]['pipe'](_0x44a02e[_0x481ac3(0x138)](this[_0x481ac3(0x43e)]))[_0x481ac3(0x479)](_0xd8df58=>{const _0x296d1f=_0x481ac3,_0x213ffa=_0xd8df58[_0x296d1f(0x5a6)];_0x213ffa===_0x4d26ac['CollaborationEvent']['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0xd8df58),_0x213ffa===_0x4d26ac[_0x296d1f(0x2c2)][_0x296d1f(0x1d1)]&&this[_0x296d1f(0x4e0)](_0xd8df58);}),this[_0x481ac3(0x129)](),this['disposeWithMe'](this[_0x481ac3(0x2a1)][_0x481ac3(0x310)](_0x20f6fa=>{const _0xef9b56=_0x481ac3;if(this[_0xef9b56(0x3d0)]&&_0x20f6fa['id']===_0x91efb2[_0xef9b56(0x437)]['id']&&_0x20f6fa[_0xef9b56(0x53a)][_0xef9b56(0x58b)]===this[_0xef9b56(0x563)]){const _0x3ce5c2=_0x20f6fa['params'];this[_0xef9b56(0x2d1)](_0x3ce5c2[_0xef9b56(0x13d)],_0x3ce5c2['selections'][0x0]);}})));}[_0x357007(0x28d)](_0x2d1224){const _0x4360ad=_0x357007;var _0xbcc6a9,_0x3551ab;const {memberID:_0x5b7764,selection:_0xb4d3d3}=_0x2d1224[_0x4360ad(0x24e)],{sheetName:_0x31b2b7,range:_0x5a3040}=_0x4e8c55['deserializeRangeWithSheet'](_0xb4d3d3),_0x3e2e4d={'name':(_0x3551ab=(_0xbcc6a9=this['_memberService'][_0x4360ad(0x1c1)](this['unitID'],_0x5b7764))==null?void 0x0:_0xbcc6a9[_0x4360ad(0x28e)])!=null?_0x3551ab:'Unknown\x20user','range':this[_0x4360ad(0x32d)](_0x31b2b7,_0x5a3040),'sheetID':_0x31b2b7,'color':this[_0x4360ad(0xfa)][_0x4360ad(0x216)](_0x5b7764),'selection':_0xb4d3d3},_0x32b23f=this[_0x4360ad(0x175)];_0x32b23f[_0x4360ad(0x40f)](_0x5b7764,_0x3e2e4d),this[_0x4360ad(0x384)][_0x4360ad(0x4d3)](_0x32b23f);}['_onCursorDelete'](_0x51bbcd){const _0x4ba60e=_0x357007,{memberID:_0x304697}=_0x51bbcd['data'],_0xa33511=this[_0x4ba60e(0x175)];_0xa33511['delete'](_0x304697),this[_0x4ba60e(0x384)][_0x4ba60e(0x4d3)](_0xa33511);}['_getMergeRange'](_0x5f11e1,_0x4d8f77){const _0x5ea24b=_0x357007;var _0x1b5c6a,_0x2b9dfb;const _0x366ae1=(_0x2b9dfb=(_0x1b5c6a=this[_0x5ea24b(0x140)][_0x5ea24b(0x147)](this[_0x5ea24b(0x563)]))==null?void 0x0:_0x1b5c6a[_0x5ea24b(0x203)](_0x5f11e1))==null?void 0x0:_0x2b9dfb[_0x5ea24b(0x1b7)]();return(_0x366ae1==null?void 0x0:_0x366ae1[_0x5ea24b(0x239)](_0x2c3df2=>_0x457d20['Rectangle'][_0x5ea24b(0x4d6)](_0x2c3df2,_0x4d8f77)))||_0x4d8f77;}[_0x357007(0x129)](){const _0x2264bf=_0x357007,_0x3d8607=new _0x457d20[(_0x2264bf(0x57e))](),_0x37e5e9=_0x4b283f(),_0x1112a1=()=>{const _0x3d0f37=_0x2264bf;_0x3d8607[_0x3d0f37(0x37a)]();const _0x189a3c=(_0x25d201,_0x1bf06f,_0x368a1a,_0x4bee52)=>{const _0xc35690=_0x3d0f37;let _0x39d6d2=[];switch(_0x25d201['id']){case _0x91efb2[_0xc35690(0x2f8)][_0xc35690(0x36e)]:{_0x39d6d2=_0x91efb2[_0xc35690(0xe5)](_0x25d201,_0x4bee52);break;}case _0x91efb2[_0xc35690(0x2f8)][_0xc35690(0x411)]:{_0x39d6d2=_0x91efb2['handleDeleteRangeMoveUp'](_0x25d201,_0x4bee52);break;}case _0x91efb2[_0xc35690(0x2f8)][_0xc35690(0x19e)]:{_0x39d6d2=_0x91efb2[_0xc35690(0x10a)](_0x25d201,_0x4bee52);break;}case _0x91efb2[_0xc35690(0x2f8)][_0xc35690(0x215)]:{_0x39d6d2=_0x91efb2[_0xc35690(0x3eb)](_0x25d201,_0x4bee52);break;}case _0x91efb2[_0xc35690(0x2f8)][_0xc35690(0x288)]:{_0x39d6d2=_0x91efb2['handleInsertRangeMoveRight'](_0x25d201,_0x4bee52);break;}case _0x91efb2[_0xc35690(0x2f8)]['InsertRowCommandId']:{_0x39d6d2=_0x91efb2['handleInsertRow'](_0x25d201,_0x4bee52);break;}case _0x91efb2[_0xc35690(0x2f8)][_0xc35690(0x4f0)]:{_0x39d6d2=_0x91efb2[_0xc35690(0x26f)](_0x25d201,_0x4bee52);break;}case _0x91efb2[_0xc35690(0x2f8)][_0xc35690(0x40b)]:{_0x39d6d2=_0x91efb2[_0xc35690(0x577)](_0x25d201,_0x4bee52);break;}case _0x91efb2[_0xc35690(0x2f8)][_0xc35690(0x127)]:{_0x39d6d2=_0x91efb2[_0xc35690(0x3a7)](_0x25d201,_0x4bee52);break;}}const _0x52c4ce=_0x91efb2['runRefRangeMutations'](_0x39d6d2,_0x4bee52),_0x5bd88c=this[_0xc35690(0x175)][_0xc35690(0x1b5)](_0x1bf06f);if(_0x5bd88c&&_0x52c4ce){const _0x1ad09e={..._0x5bd88c,'range':_0x52c4ce};this[_0xc35690(0x175)][_0xc35690(0x40f)](_0x1bf06f,_0x1ad09e),_0x37e5e9(()=>{const _0x35abec=_0xc35690,_0xe77d0c=this['_refRangeService'][_0x35abec(0x346)](_0x52c4ce,_0x22bc6a=>(_0xe77d0c[_0x35abec(0x37a)](),_0x189a3c(_0x22bc6a,_0x1bf06f,_0x368a1a,_0x52c4ce)));_0x3d8607[_0x35abec(0x552)](_0xe77d0c);});}return{'redos':[],'undos':[]};};this[_0x3d0f37(0x175)]['forEach']((_0x4c06cb,_0x5ef368)=>{const _0x936468=_0x3d0f37,{range:_0x5d99c2,sheetID:_0x49030e}=_0x4c06cb,_0x53f011=this[_0x936468(0x58a)][_0x936468(0x346)](_0x5d99c2,_0x4da4a2=>(_0x53f011[_0x936468(0x37a)](),_0x189a3c(_0x4da4a2,_0x5ef368,_0x49030e,_0x5d99c2)));_0x3d8607[_0x936468(0x552)](_0x53f011);});};this[_0x2264bf(0x189)](_0x457d20[_0x2264bf(0x41d)](this['_cursorInfo$']['subscribe'](()=>{_0x1112a1();})));}[_0x357007(0x2cb)](){const _0x535789=_0x357007;var _0x2d17e1,_0x464a4d;if(this[_0x535789(0x3d0)]=!0x0,((_0x2d17e1=this[_0x535789(0x140)][_0x535789(0x236)]())==null?void 0x0:_0x2d17e1[_0x535789(0x4a5)]())!==this[_0x535789(0x563)])return;const _0x4b1b79=(_0x464a4d=this[_0x535789(0x593)]['get'](_0x91efb2[_0x535789(0x3d4)])['getCurrentSelections']())==null?void 0x0:_0x464a4d[0x0],_0x91bf1a=this[_0x535789(0x140)][_0x535789(0x578)](_0x457d20['UniverInstanceType'][_0x535789(0x3b5)])[_0x535789(0x4a1)]();_0x4b1b79&&_0x91bf1a&&this[_0x535789(0x2d1)](_0x91bf1a[_0x535789(0x507)](),_0x4b1b79);}[_0x357007(0x49d)](){const _0x906921=_0x357007;this[_0x906921(0x3d0)]=!0x1;}};_0x3cdf0e=_0x4bbbaa([_0x58e2ea(0x2,_0x457d20['Inject'](_0x457d20['Injector'])),_0x58e2ea(0x3,_0x457d20[_0x357007(0x2c4)](_0x1cc170)),_0x58e2ea(0x4,_0x457d20[_0x357007(0x2c4)](_0x325eac[_0x357007(0x2fa)])),_0x58e2ea(0x5,_0x457d20['IUniverInstanceService']),_0x58e2ea(0x6,_0x457d20['ICommandService']),_0x58e2ea(0x7,_0x457d20[_0x357007(0x2c4)](_0x91efb2['RefRangeService']))],_0x3cdf0e);var _0x22263d=Object['defineProperty'],_0x4d7285=Object[_0x357007(0x41b)],_0x58c270=(_0x13c7d8,_0x4b27dd,_0x1d5d79,_0x899e8d)=>{const _0xc070bf=_0x357007;for(var _0x42a97b=_0x899e8d>0x1?void 0x0:_0x899e8d?_0x4d7285(_0x4b27dd,_0x1d5d79):_0x4b27dd,_0xdd6ccb=_0x13c7d8[_0xc070bf(0x1b0)]-0x1,_0x3b1527;_0xdd6ccb>=0x0;_0xdd6ccb--)(_0x3b1527=_0x13c7d8[_0xdd6ccb])&&(_0x42a97b=(_0x899e8d?_0x3b1527(_0x4b27dd,_0x1d5d79,_0x42a97b):_0x3b1527(_0x42a97b))||_0x42a97b);return _0x899e8d&&_0x42a97b&&_0x22263d(_0x4b27dd,_0x1d5d79,_0x42a97b),_0x42a97b;},_0x437550=(_0x25bc57,_0x1ff64c)=>(_0xaf9f57,_0x2fd1da)=>_0x1ff64c(_0xaf9f57,_0x2fd1da,_0x25bc57);let _0x5f50ea=class extends _0x457d20[_0x357007(0xe7)]{constructor(_0x2f2aed,_0x18112b,_0x540900){const _0x48b4fd=_0x357007;super(),_0x184856(this,_0x48b4fd(0x4ae),new Map()),_0x184856(this,'_entityInit$',new _0x44a02e['Subject']()),(this[_0x48b4fd(0x140)]=_0x2f2aed,this[_0x48b4fd(0x593)]=_0x18112b,this[_0x48b4fd(0x16b)]=_0x540900,this[_0x48b4fd(0x47f)]());}[_0x357007(0x37a)](){const _0x49cd70=_0x357007;super[_0x49cd70(0x37a)](),this[_0x49cd70(0x46e)][_0x49cd70(0x2ea)](),this['_entities']['forEach'](_0x306a3f=>_0x306a3f[_0x49cd70(0x37a)]());}[_0x357007(0x55f)](_0x299c16){const _0x45069d=_0x357007;return this[_0x45069d(0x4ae)][_0x45069d(0xf8)](_0x299c16)?this[_0x45069d(0x4ae)]['get'](_0x299c16)[_0x45069d(0x442)]:this[_0x45069d(0x46e)]['pipe'](_0x44a02e[_0x45069d(0x356)](_0x187506=>_0x187506['unitID']===_0x299c16),_0x44a02e[_0x45069d(0x41a)](_0x15e92b=>_0x15e92b[_0x45069d(0x442)]));}[_0x357007(0x47f)](){const _0xf6049a=_0x357007;this['_univerInstanceService'][_0xf6049a(0x433)](_0x457d20['UniverInstanceType']['UNIVER_SHEET'])[_0xf6049a(0x3f8)](_0x44a02e[_0xf6049a(0x138)](this[_0xf6049a(0x43e)]))['subscribe'](async _0x3749dc=>{const _0x103dae=_0xf6049a,_0x4855b3=_0x3749dc[_0x103dae(0x4a5)](),_0x8fd2ca=await this[_0x103dae(0x34f)](_0x4855b3);this[_0x103dae(0x46e)]['next'](_0x8fd2ca),this[_0x103dae(0x4ae)][_0x103dae(0x40f)](_0x4855b3,_0x8fd2ca);}),this[_0xf6049a(0x140)][_0xf6049a(0x433)](_0x457d20['UniverInstanceType'][_0xf6049a(0x210)])['pipe'](_0x44a02e[_0xf6049a(0x138)](this[_0xf6049a(0x43e)]))[_0xf6049a(0x3f8)](_0x44a02e['filter'](_0x1c97d8=>!_0x1c97d8['getUnitId']()[_0xf6049a(0x3ae)]('__')))[_0xf6049a(0x479)](async _0x16c77d=>{const _0x1ce968=_0xf6049a,_0xbb85e=_0x16c77d[_0x1ce968(0x4a5)](),_0x1f1b5f=await this[_0x1ce968(0x320)](_0xbb85e);this[_0x1ce968(0x46e)][_0x1ce968(0x4d3)](_0x1f1b5f),this[_0x1ce968(0x4ae)][_0x1ce968(0x40f)](_0xbb85e,_0x1f1b5f);}),_0x44a02e[_0xf6049a(0x31f)](this[_0xf6049a(0x140)][_0xf6049a(0x416)](_0x457d20[_0xf6049a(0x3f0)][_0xf6049a(0x210)]),this[_0xf6049a(0x140)][_0xf6049a(0x416)](_0x457d20[_0xf6049a(0x3f0)]['UNIVER_SHEET']))[_0xf6049a(0x3f8)](_0x44a02e[_0xf6049a(0x138)](this['dispose$']))[_0xf6049a(0x479)](_0x5d1692=>{const _0x5b4cb4=_0xf6049a,_0x448711=_0x5d1692[_0x5b4cb4(0x4a5)](),_0x50425d=this['_entities'][_0x5b4cb4(0x1b5)](_0x448711);_0x50425d&&(_0x50425d[_0x5b4cb4(0x37a)](),this[_0x5b4cb4(0x4ae)][_0x5b4cb4(0x378)](_0x448711));});}async[_0x357007(0x34f)](_0x168eb6){const _0x5a5bb4=_0x357007,_0x49ce18=await this[_0x5a5bb4(0x16b)][_0x5a5bb4(0x538)](_0x168eb6),_0x5101c5=this[_0x5a5bb4(0x593)][_0x5a5bb4(0xfd)](_0x3cdf0e,_0x168eb6,_0x49ce18);return _0x5101c5[_0x5a5bb4(0x192)](),_0x5101c5;}async[_0x357007(0x320)](_0xbb4f9){const _0x481cd8=_0x357007,_0xad9299=await this[_0x481cd8(0x16b)]['requireSession'](_0xbb4f9),_0x59c2e8=this[_0x481cd8(0x593)][_0x481cd8(0xfd)](_0x10937b,_0xbb4f9,_0xad9299);return _0x59c2e8[_0x481cd8(0x192)](),_0x59c2e8;}};_0x5f50ea=_0x58c270([_0x437550(0x0,_0x457d20['IUniverInstanceService']),_0x437550(0x1,_0x457d20[_0x357007(0x2c4)](_0x457d20[_0x357007(0x467)])),_0x437550(0x2,_0x457d20[_0x357007(0x2c4)](_0x325eac[_0x357007(0x30b)]))],_0x5f50ea);const _0x578593=0x14,_0x527bc2=0xc8,_0x3ea30a=0x4,_0x5cc072=0x5;function _0x265828(_0x3b39bf,_0x3b1b42){const _0x2dbcb4=_0x357007;let {radius:_0x16fc8b,width:_0x304133,height:_0x490de9}=_0x3b1b42;_0x16fc8b=_0x16fc8b!=null?_0x16fc8b:0x0,_0x304133=_0x304133!=null?_0x304133:0x1e,_0x490de9=_0x490de9!=null?_0x490de9:0x1e;let _0x34e556=0x0,_0x1683f3=0x0,_0x15f6b7=0x0;_0x34e556=_0x1683f3=_0x15f6b7=Math[_0x2dbcb4(0x51f)](_0x16fc8b,_0x304133/0x2,_0x490de9/0x2),_0x3b39bf[_0x2dbcb4(0x556)](),_0x3b39bf[_0x2dbcb4(0x4a4)](_0x34e556,0x0),_0x3b39bf[_0x2dbcb4(0x2d3)](_0x304133-_0x1683f3,0x0),_0x3b39bf[_0x2dbcb4(0x307)](_0x304133-_0x1683f3,_0x1683f3,_0x1683f3,Math['PI']*0x3/0x2,0x0,!0x1),_0x3b39bf[_0x2dbcb4(0x2d3)](_0x304133,_0x490de9-_0x15f6b7),_0x3b39bf['arc'](_0x304133-_0x15f6b7,_0x490de9-_0x15f6b7,_0x15f6b7,0x0,Math['PI']/0x2,!0x1),_0x3b39bf[_0x2dbcb4(0x2d3)](0x0,_0x490de9),_0x3b39bf[_0x2dbcb4(0x2d3)](0x0,_0x34e556),_0x3b39bf[_0x2dbcb4(0x307)](_0x34e556,_0x34e556,_0x34e556,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3b39bf[_0x2dbcb4(0x428)](),_0x3b1b42[_0x2dbcb4(0x321)]&&(_0x3b39bf['save'](),_0x3b39bf[_0x2dbcb4(0x4bd)]=_0x3b1b42[_0x2dbcb4(0x321)],_0x3b1b42[_0x2dbcb4(0x48e)]==='evenodd'?_0x3b39bf[_0x2dbcb4(0x321)](_0x2dbcb4(0x57d)):_0x3b39bf[_0x2dbcb4(0x321)](),_0x3b39bf[_0x2dbcb4(0xf0)]());}class _0x268e9f extends _0x5c58b0[_0x357007(0x2ce)]{constructor(_0x2f3382,_0x3e6afa){const _0x120c5c=_0x357007;super(_0x2f3382,_0x3e6afa),_0x184856(this,_0x120c5c(0x4f3)),_0x184856(this,_0x120c5c(0x13f)),(this['color']=_0x3e6afa==null?void 0x0:_0x3e6afa[_0x120c5c(0x4f3)],this[_0x120c5c(0x13f)]=_0x3e6afa==null?void 0x0:_0x3e6afa[_0x120c5c(0x13f)]);}static['drawWith'](_0x525ce4,_0xdab784){const _0xe69bc5=_0x357007,{text:_0x4a6a69,color:_0x33832d}=_0xdab784;_0x525ce4[_0xe69bc5(0x16e)](),_0x525ce4[_0xe69bc5(0x423)]=_0xe69bc5(0x39b);const _0x2b63b9=_0x525ce4[_0xe69bc5(0x30c)](_0x4a6a69)[_0xe69bc5(0x3de)],_0x6a3342=Math[_0xe69bc5(0x51f)](_0x2b63b9+0x2*_0x3ea30a,_0x527bc2);_0x265828(_0x525ce4,{'height':_0x578593,'radius':0x4,'width':_0x6a3342,'fill':_0x33832d,'evented':!0x1}),_0x525ce4[_0xe69bc5(0x4bd)]=_0xe69bc5(0x54d);const _0x1c9c70=_0x3ea30a,_0x4a97af=_0x578593-_0x5cc072,_0xd7c830=_0x527bc2-0x2*_0x3ea30a;if(_0x2b63b9>_0xd7c830){let _0x351793='',_0x2b8796=0x0;for(const _0x29f4ce of _0x4a6a69){const _0xe78828=_0x525ce4[_0xe69bc5(0x30c)](_0x29f4ce)['width'];if(_0x2b8796+_0xe78828<=_0xd7c830-_0x525ce4[_0xe69bc5(0x30c)](_0xe69bc5(0x11b))[_0xe69bc5(0x3de)])_0x351793+=_0x29f4ce,_0x2b8796+=_0xe78828;else{_0x351793+=_0xe69bc5(0x11b);break;}}_0x525ce4[_0xe69bc5(0x594)](_0x351793,_0x1c9c70,_0x4a97af);}else _0x525ce4[_0xe69bc5(0x594)](_0x4a6a69,_0x1c9c70,_0x4a97af);_0x525ce4[_0xe69bc5(0xf0)]();}['_draw'](_0x8fd590){_0x268e9f['drawWith'](_0x8fd590,this);}}const _0x11a99c=_0x357007(0x211),_0x55fbe5='collab-text-range-',_0xa9ae84='collab-rect-range-',_0x750513=0x6,_0x1bf217=1.5,_0x2ec277=0x4,_0x2a108c=1.5,_0x577a87=_0x357007(0x460);class _0x29f638{constructor(_0x182b99,_0x4ef201,_0xbed13a,_0x444af7){const _0x120ad4=_0x357007;_0x184856(this,'_shapes',[]),_0x184856(this,'_anchor',null),_0x184856(this,_0x120ad4(0x1da),null),_0x184856(this,_0x120ad4(0x34a),null),_0x184856(this,_0x120ad4(0x2b2),null),_0x184856(this,_0x120ad4(0x361),null),(this['_cursor']=_0x182b99,this[_0x120ad4(0x408)]=_0x4ef201,this[_0x120ad4(0x454)]=_0xbed13a,this[_0x120ad4(0x1a0)]=_0x444af7,this[_0x120ad4(0x268)]());}set[_0x357007(0x444)](_0x2386a6){const _0xa48c6f=_0x357007;_0x2386a6?(this[_0xa48c6f(0x34a)]&&this[_0xa48c6f(0x34a)][_0xa48c6f(0x438)](),this[_0xa48c6f(0x1da)]&&this[_0xa48c6f(0x1da)][_0xa48c6f(0x3a5)]()):(this['_anchorDot']&&this[_0xa48c6f(0x34a)]['show'](),this[_0xa48c6f(0x1da)]&&this[_0xa48c6f(0x1da)][_0xa48c6f(0x438)]());}['dispose'](){const _0x23c28e=_0x357007;for(const _0x2aed0f of this[_0x23c28e(0x350)])_0x2aed0f[_0x23c28e(0x37a)]();this['_textBubble']&&this['_textBubble']['dispose'](),this['_anchorDot']&&this[_0x23c28e(0x34a)]['dispose'](),this[_0x23c28e(0x49a)]&&this[_0x23c28e(0x49a)]['dispose'](),this[_0x23c28e(0x361)]&&this['_eventUnsubscribe']();}[_0x357007(0x268)](){const _0x2fee58=_0x357007;var _0x34c000;const {_docSkeleton:_0x4b3faf,_document:_0x28d899}=this,{color:_0x5d7b1a,name:_0x374683,ranges:_0x268cd1}=this[_0x2fee58(0x42d)],_0x271205=_0x28d899[_0x2fee58(0x11a)](),{docsLeft:_0x56ff32,docsTop:_0x4e8914}=_0x271205,_0x1e57de=new _0x1b8609[(_0x2fee58(0x5a9))](_0x271205,_0x4b3faf);for(const {startOffset:_0x12c0f0,endOffset:_0x529c8e,rangeType:_0x353093,segmentId:_0x40c7fd,segmentPage:_0x370b10,collapsed:_0x46b430,isActive:_0x4d97e4}of _0x268cd1){const _0x3ef9f0=_0x4b3faf[_0x2fee58(0x596)](_0x12c0f0,!0x0,_0x40c7fd,_0x370b10);let _0x15f68b=_0x4b3faf[_0x2fee58(0x596)](_0x529c8e,!0x0,_0x40c7fd,_0x370b10);if(_0x15f68b==null&&(_0x15f68b=_0x4b3faf[_0x2fee58(0x596)](_0x529c8e-0x1,!0x1,_0x40c7fd,_0x370b10)),_0x4d97e4){const {contentBoxPointGroup:_0x559306}=_0x1e57de['getRangePointData'](_0x15f68b,_0x15f68b);if(_0x559306[_0x2fee58(0x1b0)]===0x0)continue;this['_drawAnchor'](_0x5d7b1a,_0x559306,_0x56ff32,_0x4e8914,_0x374683),this[_0x2fee58(0x361)]=this[_0x2fee58(0x550)]();}if(!_0x46b430&&_0x3ef9f0&&_0x15f68b){if(_0x353093===_0x457d20['DOC_RANGE_TYPE']['RECT']){const _0x3eed83=new _0x1b8609[(_0x2fee58(0x4dd))](_0x271205,_0x4b3faf),{pointGroup:_0x2a2538}=(_0x34c000=_0x3eed83[_0x2fee58(0x334)](_0x3ef9f0,_0x15f68b))!=null?_0x34c000:{};if(_0x2a2538==null||_0x2a2538[_0x2fee58(0x1b0)]===0x0)continue;this[_0x2fee58(0x2cc)](_0x5d7b1a,_0x2a2538,_0x56ff32,_0x4e8914);}else{const {borderBoxPointGroup:_0xc17201}=_0x1e57de[_0x2fee58(0x334)](_0x3ef9f0,_0x15f68b);if(_0xc17201['length']===0x0)continue;this[_0x2fee58(0x3ff)](_0x5d7b1a,_0xc17201,_0x56ff32,_0x4e8914);}}}}['_drawAnchor'](_0x1ac594,_0x4a1ad4,_0x2f96dd,_0xe4261a,_0x41afa3){const _0x2f31b7=_0x357007,_0x4063c1=this[_0x2f31b7(0x40c)](_0x4a1ad4),{left:_0x10a232,top:_0x104c67,height:_0xce45f9}=_0x4063c1,_0x2c044d=this[_0x2f31b7(0x559)](),_0x5e6b8e=_0x2a108c/_0x2c044d,_0x4db0bd=new _0x5c58b0[(_0x2f31b7(0x1ab))](_0x11a99c+_0x457d20['Tools'][_0x2f31b7(0x249)](_0x750513),{'left':_0x10a232+_0x2f96dd-_0x5e6b8e,'top':_0x104c67+_0xe4261a,'height':_0xce45f9,'width':_0x1bf217,'fill':_0x1ac594||_0x5c58b0[_0x2f31b7(0x322)](_0x457d20[_0x2f31b7(0x2d6)][_0x2f31b7(0x40e)],0x0),'strokeWidth':_0x5e6b8e,'stroke':_0x577a87,'evented':!0x0});this[_0x2f31b7(0x49a)]=_0x4db0bd,this[_0x2f31b7(0x408)][_0x2f31b7(0x41c)](_0x4db0bd,_0x1b8609[_0x2f31b7(0x3b1)]);const _0x522ddf=new _0x5c58b0[(_0x2f31b7(0x1ab))](_0x11a99c+_0x457d20[_0x2f31b7(0x458)][_0x2f31b7(0x249)](_0x750513),{'left':_0x10a232+_0x2f96dd-_0x5e6b8e,'top':_0x104c67+_0xe4261a-_0x2ec277/0x2,'height':_0x2ec277,'width':_0x2ec277,'fill':_0x1ac594||_0x5c58b0['getColor'](_0x457d20[_0x2f31b7(0x2d6)][_0x2f31b7(0x40e)],0x0),'strokeWidth':0x0,'stroke':_0x1ac594||_0x5c58b0[_0x2f31b7(0x322)](_0x457d20['COLORS'][_0x2f31b7(0x40e)],0x0),'evented':!0x1});this[_0x2f31b7(0x34a)]=_0x522ddf,this[_0x2f31b7(0x408)]['addObject'](_0x522ddf,_0x1b8609[_0x2f31b7(0x3b1)]);const _0x4aa16f=new _0x268e9f(_0x11a99c+_0x457d20[_0x2f31b7(0x458)][_0x2f31b7(0x249)](_0x750513),{'left':_0x10a232+_0x2f96dd-_0x5e6b8e,'top':_0x104c67+_0xe4261a-_0x578593,'text':_0x41afa3,'color':_0x1ac594});this[_0x2f31b7(0x1da)]=_0x4aa16f,this[_0x2f31b7(0x408)][_0x2f31b7(0x41c)](_0x4aa16f,_0x1b8609['TEXT_RANGE_LAYER_INDEX']),this[_0x2f31b7(0x444)]=!0x1;}[_0x357007(0x550)](){const _0x11f1dc=_0x357007,_0x1f94b1=this['_anchor']['onPointerEnter$'][_0x11f1dc(0x4a7)](()=>{const _0x38cdcb=_0x11f1dc;this[_0x38cdcb(0x444)]=!0x0;}),_0x440e13=this[_0x11f1dc(0x49a)][_0x11f1dc(0x3bf)][_0x11f1dc(0x4a7)](()=>{const _0x5d7304=_0x11f1dc;this[_0x5d7304(0x2b2)]&&clearTimeout(this[_0x5d7304(0x2b2)]),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x55e389=_0x11f1dc;_0x1f94b1[_0x55e389(0x436)](),_0x440e13[_0x55e389(0x436)]();};}[_0x357007(0x3ff)](_0x58be76,_0x52fb3a,_0x264ced,_0x1096a0){const _0xe6ff8c=_0x357007,_0x3bdcc7=new _0x457d20[(_0xe6ff8c(0x51b))](_0x58be76)[_0xe6ff8c(0x1f8)](0.2)[_0xe6ff8c(0x374)](),_0x2ec8a2=new _0x5c58b0[(_0xe6ff8c(0x359))](_0x55fbe5+_0x457d20[_0xe6ff8c(0x458)][_0xe6ff8c(0x249)](_0x750513),{'pointsGroup':_0x52fb3a,'fill':_0x3bdcc7||_0x5c58b0['getColor'](_0x457d20[_0xe6ff8c(0x2d6)]['black'],0.2),'left':_0x264ced,'top':_0x1096a0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xe6ff8c(0x350)][_0xe6ff8c(0x39d)](_0x2ec8a2),this[_0xe6ff8c(0x408)]['addObject'](_0x2ec8a2,_0x1b8609[_0xe6ff8c(0x3b1)]);}[_0x357007(0x2cc)](_0x4dfa2b,_0x4339cd,_0x21076c,_0x483bb9){const _0x24e9f5=_0x357007,_0x356aa4=new _0x457d20[(_0x24e9f5(0x51b))](_0x4dfa2b)['setAlpha'](0.2)['toRgbString'](),_0x519677=new _0x5c58b0[(_0x24e9f5(0x359))](_0xa9ae84+_0x457d20[_0x24e9f5(0x458)]['generateRandomId'](_0x750513),{'pointsGroup':_0x4339cd,'fill':_0x356aa4||_0x5c58b0[_0x24e9f5(0x322)](_0x457d20[_0x24e9f5(0x2d6)][_0x24e9f5(0x40e)],0.2),'left':_0x21076c,'top':_0x483bb9,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x24e9f5(0x350)][_0x24e9f5(0x39d)](_0x519677),this['_scene'][_0x24e9f5(0x41c)](_0x519677,_0x1b8609[_0x24e9f5(0x3b1)]);}[_0x357007(0x40c)](_0x536edb){const _0x34dc50=_0x536edb[0x0],_0x420ebd=_0x34dc50[0x0],_0x3e1d3f=_0x34dc50[0x2],{x:_0x4c27ca,y:_0x56027f}=_0x420ebd,{x:_0x942468,y:_0x4aefa8}=_0x3e1d3f;return{'left':_0x4c27ca,'top':_0x56027f,'width':_0x942468-_0x4c27ca,'height':_0x4aefa8-_0x56027f};}['_getScale'](){const _0x55811b=_0x357007,{scaleX:_0x36a843,scaleY:_0x1a9809}=this['_scene']['getAncestorScale']();return Math[_0x55811b(0x10d)](_0x36a843,_0x1a9809);}}var _0x1f76c6=Object[_0x357007(0x376)],_0x1d8b6b=Object['getOwnPropertyDescriptor'],_0x2afd45=(_0x5de534,_0x445001,_0x2625a0,_0x48ce9a)=>{const _0x314cab=_0x357007;for(var _0x27277a=_0x48ce9a>0x1?void 0x0:_0x48ce9a?_0x1d8b6b(_0x445001,_0x2625a0):_0x445001,_0x494f4c=_0x5de534[_0x314cab(0x1b0)]-0x1,_0x2a61e8;_0x494f4c>=0x0;_0x494f4c--)(_0x2a61e8=_0x5de534[_0x494f4c])&&(_0x27277a=(_0x48ce9a?_0x2a61e8(_0x445001,_0x2625a0,_0x27277a):_0x2a61e8(_0x27277a))||_0x27277a);return _0x48ce9a&&_0x27277a&&_0x1f76c6(_0x445001,_0x2625a0,_0x27277a),_0x27277a;},_0x1842e5=(_0x350f23,_0x3ecb13)=>(_0x446ff5,_0x2a26be)=>_0x3ecb13(_0x446ff5,_0x2a26be,_0x350f23);let _0x35372d=class extends _0x457d20['RxDisposable']{constructor(_0x43cb3a,_0x2adf53,_0xc00176,_0x1172a8,_0x364f18){const _0xd3026b=_0x357007;super(),_0x184856(this,_0xd3026b(0x2e5),[]),_0x184856(this,_0xd3026b(0x115),[]),(this[_0xd3026b(0x1b1)]=_0x43cb3a,this['_docSkeletonManagerService']=_0x2adf53,this[_0xd3026b(0x512)]=_0xc00176,this[_0xd3026b(0x2a1)]=_0x1172a8,this[_0xd3026b(0x372)]=_0x364f18,this[_0xd3026b(0x47f)]());}[_0x357007(0x47f)](){const _0x2bd00c=_0x357007,_0x3fa1a5=this[_0x2bd00c(0x1b1)][_0x2bd00c(0x58b)],_0x552915=this[_0x2bd00c(0x3e7)];this[_0x2bd00c(0x189)](_0x44a02e['combineLatest']([this[_0x2bd00c(0x512)][_0x2bd00c(0x55f)](_0x3fa1a5),this[_0x2bd00c(0x372)][_0x2bd00c(0x2e2)]])[_0x2bd00c(0x3f8)](_0x4c8197[_0x2bd00c(0x595)](([_0x2f23ed,_0x3ef6ed])=>({'skeleton':_0x552915[_0x2bd00c(0x45a)](),'cursors':[..._0x2f23ed[_0x2bd00c(0x1ed)]()][_0x2bd00c(0x521)](_0x1e1181=>({..._0x1e1181,'color':_0x3ef6ed[_0x1e1181['color']]}))})))[_0x2bd00c(0x479)](_0x128883=>{const _0x4ea817=_0x2bd00c;if(this[_0x4ea817(0x445)](),_0x128883){const {skeleton:_0x5c7ae6,cursors:_0x1257b0}=_0x128883;this[_0x4ea817(0x17f)](_0x5c7ae6,_0x1257b0);}})),this[_0x2bd00c(0x362)](),this[_0x2bd00c(0x399)]();}[_0x357007(0x17f)](_0x2e87f8,_0x51eb97){const _0x417680=_0x357007,{scene:_0x26daa7,mainComponent:_0x83d2a9}=this[_0x417680(0x1b1)],_0x2e016c=_0x51eb97[_0x417680(0x595)](_0x1c0c02=>new _0x29f638(_0x1c0c02,_0x26daa7,_0x2e87f8,_0x83d2a9));this[_0x417680(0x2e5)]=_0x2e016c,this[_0x417680(0x115)]=_0x51eb97;}[_0x357007(0x2f2)](){const _0x3994ba=_0x357007;this[_0x3994ba(0x445)]();const {scene:_0x269cf5,mainComponent:_0x155fcb}=this[_0x3994ba(0x1b1)],_0x3ad314=this[_0x3994ba(0x3e7)]['getSkeleton'](),_0x96de86=this[_0x3994ba(0x115)]['map'](_0x40c078=>new _0x29f638(_0x40c078,_0x269cf5,_0x3ad314,_0x155fcb));this[_0x3994ba(0x2e5)]=_0x96de86;}[_0x357007(0x445)](){const _0x7b8d6b=_0x357007;this['_cursorShapes'][_0x7b8d6b(0x274)](_0x2a2ad2=>_0x2a2ad2[_0x7b8d6b(0x37a)]()),this[_0x7b8d6b(0x2e5)]=[];}[_0x357007(0x399)](){const _0x161052=_0x357007,_0x4cc107=[_0x1b8609[_0x161052(0x227)]['id']];this[_0x161052(0x189)](this[_0x161052(0x2a1)]['onCommandExecuted'](_0x45e133=>{const _0x36f01e=_0x161052;_0x4cc107['includes'](_0x45e133['id'])&&_0x45e133['params'][_0x36f01e(0x58b)]===this[_0x36f01e(0x1b1)][_0x36f01e(0x58b)]&&this[_0x36f01e(0x2f2)]();}));}['_initResize'](){const _0xd8571f=_0x357007;this[_0xd8571f(0x189)](_0x457d20[_0xd8571f(0x4e2)](this['_context'][_0xd8571f(0x46c)][_0xd8571f(0x492)])[_0xd8571f(0x3f8)](_0x4c8197[_0xd8571f(0x356)](_0x3fda9c=>_0x3fda9c[_0xd8571f(0x486)]===_0x5c58b0[_0xd8571f(0x32e)]['resize']),_0x4c8197['throttleTime'](0x10))[_0xd8571f(0x479)](()=>{const _0x2b20bd=_0xd8571f;this[_0x2b20bd(0x2f2)]();}));}};_0x35372d=_0x2afd45([_0x1842e5(0x1,_0x457d20[_0x357007(0x2c4)](_0x279b33[_0x357007(0xec)])),_0x1842e5(0x2,_0x457d20[_0x357007(0x2c4)](_0x5f50ea)),_0x1842e5(0x3,_0x457d20[_0x357007(0x324)]),_0x1842e5(0x4,_0x457d20[_0x357007(0x2c4)](_0x457d20[_0x357007(0x1be)]))],_0x35372d);const _0x13bafb=0x1,_0xc2aa1c=1.5;class _0x48e55f extends _0x5c58b0[_0x357007(0x2ce)]{constructor(_0x132ec0,_0x11c6c3){const _0x3ace61=_0x357007;super(_0x132ec0,_0x11c6c3),_0x184856(this,_0x3ace61(0x405)),_0x184856(this,_0x3ace61(0x3a4),!0x1),_0x184856(this,_0x3ace61(0x2ba)),_0x184856(this,_0x3ace61(0x2e4),''),_0x184856(this,_0x3ace61(0x463),'top'),_0x184856(this,'_backgroundColor'),(_0x11c6c3&&this[_0x3ace61(0x12f)](_0x11c6c3),this['onPointerEnter$'][_0x3ace61(0x4a7)](()=>this[_0x3ace61(0x12f)]({'hovered':!0x0})),this[_0x3ace61(0x3bf)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x357007(0x12f)](_0x46e617){const _0x3c6ca1=_0x357007;var _0x1bd39f,_0x42fda5,_0x59dc46,_0x1a4a80,_0x2b4e01,_0x262b66;this[_0x3c6ca1(0x405)]=(_0x1bd39f=_0x46e617[_0x3c6ca1(0x4f3)])!=null?_0x1bd39f:this[_0x3c6ca1(0x405)],this[_0x3c6ca1(0x3a4)]=(_0x42fda5=_0x46e617[_0x3c6ca1(0x513)])!=null?_0x42fda5:this[_0x3c6ca1(0x3a4)],this[_0x3c6ca1(0x2ba)]=(_0x59dc46=_0x46e617[_0x3c6ca1(0x10b)])!=null?_0x59dc46:this['_range'],this[_0x3c6ca1(0x2e4)]=(_0x1a4a80=_0x46e617[_0x3c6ca1(0x28e)])!=null?_0x1a4a80:this[_0x3c6ca1(0x2e4)],this['_labelPosition']=(_0x2b4e01=_0x46e617[_0x3c6ca1(0x1c9)])!=null?_0x2b4e01:this[_0x3c6ca1(0x463)],this[_0x3c6ca1(0x44d)]=(_0x262b66=_0x46e617['backgroundColor'])!=null?_0x262b66:this[_0x3c6ca1(0x44d)],this[_0x3c6ca1(0x569)]({'width':_0x46e617[_0x3c6ca1(0x3de)],'height':_0x46e617['height']});}['onMouseMove'](_0x4f1766){const _0xb2fae0=_0x357007,{row:_0x314b9c,column:_0x5f1c3d}=_0x4f1766;if(_0x314b9c>=this[_0xb2fae0(0x2ba)][_0xb2fae0(0x4ff)]&&_0x314b9c<=this['_range'][_0xb2fae0(0x49b)]&&_0x5f1c3d>=this[_0xb2fae0(0x2ba)][_0xb2fae0(0x311)]&&_0x5f1c3d<=this['_range'][_0xb2fae0(0x2bb)]){this[_0xb2fae0(0x12f)]({'hovered':!0x0});return;}this[_0xb2fae0(0x12f)]({'hovered':!0x1});}['triggerDblclick'](_0x4b2006){return!0x1;}[_0x357007(0x23b)](_0x46e4e8){const _0x3e3260=_0x357007;_0x5c58b0[_0x3e3260(0x1ab)][_0x3e3260(0x162)](_0x46e4e8,{'width':this[_0x3e3260(0x3de)],'height':this[_0x3e3260(0x3f3)],'strokeWidth':_0xc2aa1c,'stroke':this[_0x3e3260(0x405)],'evented':!0x1,'fill':this[_0x3e3260(0x44d)]}),this[_0x3e3260(0x3a4)]&&(_0x46e4e8[_0x3e3260(0x16e)](),_0x46e4e8['transform'](0x1,0x0,0x0,0x1,this[_0x3e3260(0x3de)],this['_labelPosition']===_0x3e3260(0x1db)?0x0:-_0x578593),_0x268e9f[_0x3e3260(0x162)](_0x46e4e8,{'text':this[_0x3e3260(0x2e4)],'color':this[_0x3e3260(0x405)]}),_0x46e4e8[_0x3e3260(0xf0)]());}}var _0x222129=Object[_0x357007(0x376)],_0x28101b=Object[_0x357007(0x41b)],_0x3a5d76=(_0x24d546,_0x2847ca,_0x3060dc,_0x429c7f)=>{const _0xe33564=_0x357007;for(var _0x223e8e=_0x429c7f>0x1?void 0x0:_0x429c7f?_0x28101b(_0x2847ca,_0x3060dc):_0x2847ca,_0xd188f3=_0x24d546[_0xe33564(0x1b0)]-0x1,_0x471417;_0xd188f3>=0x0;_0xd188f3--)(_0x471417=_0x24d546[_0xd188f3])&&(_0x223e8e=(_0x429c7f?_0x471417(_0x2847ca,_0x3060dc,_0x223e8e):_0x471417(_0x223e8e))||_0x223e8e);return _0x429c7f&&_0x223e8e&&_0x222129(_0x2847ca,_0x3060dc,_0x223e8e),_0x223e8e;},_0x5ac9dd=(_0x4add3d,_0x3d5ed9)=>(_0x296c68,_0x323ac7)=>_0x3d5ed9(_0x296c68,_0x323ac7,_0x4add3d);const _0x4b10f0=0x1389;let _0xfa75cc=class extends _0x457d20[_0x357007(0xe7)]{constructor(_0x2c3f3f,_0x227d89,_0x3132ce,_0x43bcfc){const _0x531fdc=_0x357007;super(),_0x184856(this,_0x531fdc(0x115),new Set()),_0x184856(this,_0x531fdc(0x1fb),null),(this[_0x531fdc(0x1b1)]=_0x2c3f3f,this[_0x531fdc(0x452)]=_0x227d89,this[_0x531fdc(0x512)]=_0x3132ce,this[_0x531fdc(0x372)]=_0x43bcfc,this[_0x531fdc(0x47f)]());}[_0x357007(0x47f)](){const _0x55a3bd=_0x357007;this[_0x55a3bd(0x452)]['currentSkeleton$'][_0x55a3bd(0x3f8)](_0x4c8197[_0x55a3bd(0x138)](this[_0x55a3bd(0x43e)]),_0x4c8197[_0x55a3bd(0x41a)](_0x23a35c=>{const _0xe614f0=_0x55a3bd;if(_0x23a35c){const _0x24be19=_0x23a35c[_0xe614f0(0x36d)];return _0x44a02e['combineLatest'](this[_0xe614f0(0x512)][_0xe614f0(0x55f)](this['_context']['unitId']),this[_0xe614f0(0x372)][_0xe614f0(0x2e2)])[_0xe614f0(0x3f8)](_0x4c8197[_0xe614f0(0x595)](([_0x11a3d7,_0x4878f0])=>{const _0x3bee5b=_0xe614f0,_0x145737=new Map();return _0x11a3d7[_0x3bee5b(0x274)]((_0x3d7b16,_0x1aedc1)=>{const _0x12437d=_0x3bee5b;if(_0x3d7b16[_0x12437d(0x2ee)]===_0x24be19){const _0x3dfcea={..._0x3d7b16};_0x3dfcea['color']=_0x4878f0[_0x3d7b16[_0x12437d(0x4f3)]],_0x145737[_0x12437d(0x40f)](_0x1aedc1,_0x3dfcea);}}),{'skeleton':_0x23a35c,'cursors':_0x145737};}));}return _0x44a02e['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x1adac6,cursors:_0x134b8b})=>{const _0x4948e7=_0x55a3bd;this['_removeCollabCursors'](),_0x1adac6&&this[_0x4948e7(0x17f)](_0x1adac6,_0x134b8b);}),this['_sheetSkeletonManagerService'][_0x55a3bd(0x490)]['subscribe'](_0x3d6ccf=>{const _0x4d57fe=_0x55a3bd;if(_0x3d6ccf==null)return;const {skeleton:_0x62ef80}=_0x3d6ccf,{scene:_0x3e2be4}=this[_0x4d57fe(0x1b1)];_0x3e2be4[_0x4d57fe(0x3b2)][_0x4d57fe(0x4a7)](_0x457d20[_0x4d57fe(0x154)](_0x18c36f=>{const _0x58dd5e=_0x4d57fe;var _0x2018f5,_0x5c7dc9;const {offsetX:_0x141291,offsetY:_0x502448}=_0x18c36f,{x:_0x55176e,y:_0x4ea051}=_0x3e2be4[_0x58dd5e(0x12d)](_0x5c58b0[_0x58dd5e(0x1d6)]['FromArray']([_0x141291,_0x502448])),{scaleX:_0x179f36,scaleY:_0x175db6}=_0x3e2be4[_0x58dd5e(0x47a)](),_0x11e5dc=_0x3e2be4['getViewport'](_0x5ed4fc[_0x58dd5e(0x3dc)][_0x58dd5e(0x4f6)]),_0x29f77f=_0x3e2be4[_0x58dd5e(0x2e1)](_0x5c58b0[_0x58dd5e(0x1d6)]['FromArray']([_0x55176e,_0x4ea051]),_0x11e5dc),_0x105ecc=_0x62ef80['getCellPositionByOffset'](_0x141291,_0x502448,_0x179f36,_0x175db6,_0x29f77f);((_0x2018f5=this[_0x58dd5e(0x1fb)])==null?void 0x0:_0x2018f5[_0x58dd5e(0x53e)])===_0x105ecc[_0x58dd5e(0x53e)]&&((_0x5c7dc9=this['_lastPointer'])==null?void 0x0:_0x5c7dc9[_0x58dd5e(0x187)])===_0x105ecc[_0x58dd5e(0x187)]||this[_0x58dd5e(0x115)][_0x58dd5e(0x274)](_0xb7ceee=>{const _0x50e925=_0x58dd5e;_0xb7ceee[_0x50e925(0x1fe)](_0x105ecc);});},0x64));});}['_updateCollabCursors'](_0x3c39b9,_0x48ea69){const _0x479cdf=_0x357007;var _0x43612d;const _0xca4baa=(_0x43612d=this[_0x479cdf(0x452)][_0x479cdf(0x2e8)]())==null?void 0x0:_0x43612d[_0x479cdf(0xe9)];if(!_0xca4baa)return;const _0x5e3b93=this[_0x479cdf(0x20d)]();if(!_0x5e3b93)return;this[_0x479cdf(0x115)]['forEach'](_0x25802e=>{const _0x31f498=_0x479cdf;_0x25802e[_0x31f498(0x587)]();});const {scene:_0x1e4c6d}=_0x5e3b93,_0x32598c=_0x34d22c(Array[_0x479cdf(0x46a)](_0x48ea69[_0x479cdf(0x1ed)]()))['map'](_0x1a0c1b=>{const _0xdec192=_0x479cdf,{color:_0x3efa9e,range:_0x4f1507,name:_0x55d5ca,selection:_0x5a0ec8,sheetID:_0x5db4fe}=_0x1a0c1b,{startColumn:_0x50c1ec,startRow:_0x3dcdd3,endColumn:_0x4a8894,endRow:_0x44419e}=_0x4f1507,_0x4918f6=_0x5ed4fc[_0xdec192(0x153)](_0x3dcdd3,_0x50c1ec,_0x1e4c6d,_0xca4baa),_0x7a55d4=_0x5ed4fc['getCoordByCell'](_0x44419e,_0x4a8894,_0x1e4c6d,_0xca4baa),{columnHeaderHeightAndMarginTop:_0x23f15d}=_0xca4baa,{startX:_0x2fca43,startY:_0x55c12c}=_0x4918f6,{endX:_0x5a6917,endY:_0x51bf92}=_0x7a55d4,_0x21ee0b=_0x5a6917-_0x2fca43,_0x16a58c=_0x51bf92-_0x55c12c,_0x1adc4c={'labelPosition':_0x55c12c-_0x23f15d>=_0x578593?_0xdec192(0x25a):_0xdec192(0x1db),'sheetID':_0x5db4fe,'range':_0x4f1507,'color':_0x3efa9e,'name':_0x55d5ca,'selection':_0x5a0ec8,'left':_0x2fca43,'top':_0x55c12c,'width':_0x21ee0b,'height':_0x16a58c,'evented':!0x1,'zIndex':_0x4b10f0};return new _0x48e55f(_0x55d5ca,_0x1adc4c);});_0x1e4c6d['addObjects'](_0x32598c,_0x13bafb),this[_0x479cdf(0x115)]=new Set(_0x32598c);}['_removeCollabCursors'](){const _0x3eb71b=_0x357007;var _0x455b28;(_0x455b28=this[_0x3eb71b(0x115)])==null||_0x455b28[_0x3eb71b(0x274)](_0x3fbf31=>_0x3fbf31[_0x3eb71b(0x37a)]());}[_0x357007(0x20d)](){const _0x225e6f=_0x357007;return _0x5ed4fc[_0x225e6f(0x465)](this[_0x225e6f(0x1b1)][_0x225e6f(0x417)],this[_0x225e6f(0x1b1)]);}};_0xfa75cc=_0x3a5d76([_0x5ac9dd(0x1,_0x457d20[_0x357007(0x2c4)](_0x5ed4fc[_0x357007(0x1d9)])),_0x5ac9dd(0x2,_0x457d20[_0x357007(0x2c4)](_0x5f50ea)),_0x5ac9dd(0x3,_0x457d20['Inject'](_0x457d20[_0x357007(0x1be)]))],_0xfa75cc);function _0x34d22c(_0x2f9109){const _0x4fd35f=_0x357007,_0x1f8e53=new Map();return _0x2f9109[_0x4fd35f(0x274)](_0x2b6ac2=>{const _0x1981c3=_0x4fd35f;if(_0x1f8e53[_0x1981c3(0xf8)](_0x2b6ac2[_0x1981c3(0x22e)])){const _0x1d7fde=_0x1f8e53[_0x1981c3(0x1b5)](_0x2b6ac2[_0x1981c3(0x22e)]);_0x1d7fde[_0x1981c3(0x28e)]+=',\x20'+_0x2b6ac2['name'];}else _0x1f8e53[_0x1981c3(0x40f)](_0x2b6ac2[_0x1981c3(0x22e)],_0x2b6ac2);}),Array[_0x4fd35f(0x46a)](_0x1f8e53[_0x4fd35f(0x1ed)]());}var _0x3da64e=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x202696(_0x147877){const _0x7da436=_0x357007;return _0x147877&&_0x147877['__esModule']&&Object[_0x7da436(0x2a6)][_0x7da436(0x4c1)]['call'](_0x147877,_0x7da436(0x214))?_0x147877[_0x7da436(0x214)]:_0x147877;}var _0x5b0272={'exports':{}},_0x17c8b5={},_0x3f4a29=_0x53b86a,_0x88a452=Symbol[_0x357007(0x2c5)](_0x357007(0x2c3)),_0x6be042=Symbol[_0x357007(0x2c5)]('react.fragment'),_0x4f30d7=Object[_0x357007(0x2a6)][_0x357007(0x4c1)],_0x1a51ad=_0x3f4a29[_0x357007(0x390)][_0x357007(0x30e)],_0x555664={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x15dfc9(_0x189cbc,_0x425b49,_0xa76562){const _0x3047af=_0x357007;var _0x5b9729,_0x4d33bc={},_0x3d1219=null,_0x4beb21=null;_0xa76562!==void 0x0&&(_0x3d1219=''+_0xa76562),_0x425b49[_0x3047af(0x19d)]!==void 0x0&&(_0x3d1219=''+_0x425b49[_0x3047af(0x19d)]),_0x425b49[_0x3047af(0x1d5)]!==void 0x0&&(_0x4beb21=_0x425b49['ref']);for(_0x5b9729 in _0x425b49)_0x4f30d7[_0x3047af(0x4fe)](_0x425b49,_0x5b9729)&&!_0x555664[_0x3047af(0x4c1)](_0x5b9729)&&(_0x4d33bc[_0x5b9729]=_0x425b49[_0x5b9729]);if(_0x189cbc&&_0x189cbc[_0x3047af(0x4c7)]){for(_0x5b9729 in(_0x425b49=_0x189cbc[_0x3047af(0x4c7)],_0x425b49))_0x4d33bc[_0x5b9729]===void 0x0&&(_0x4d33bc[_0x5b9729]=_0x425b49[_0x5b9729]);}return{'$$typeof':_0x88a452,'type':_0x189cbc,'key':_0x3d1219,'ref':_0x4beb21,'props':_0x4d33bc,'_owner':_0x1a51ad[_0x3047af(0x2a2)]};}_0x17c8b5[_0x357007(0xff)]=_0x6be042,_0x17c8b5[_0x357007(0x1af)]=_0x15dfc9,_0x17c8b5[_0x357007(0x53d)]=_0x15dfc9,_0x5b0272[_0x357007(0x241)]=_0x17c8b5;var _0x34d77a=_0x5b0272[_0x357007(0x241)],_0x51fee3=function(){const _0x5612a1=_0x357007;return _0x51fee3=Object[_0x5612a1(0x4db)]||function(_0x430bee){const _0x243842=_0x5612a1;for(var _0xa1cf7e,_0x3e776f=0x1,_0x597b76=arguments[_0x243842(0x1b0)];_0x3e776f<_0x597b76;_0x3e776f++){_0xa1cf7e=arguments[_0x3e776f];for(var _0x441788 in _0xa1cf7e)Object[_0x243842(0x2a6)][_0x243842(0x4c1)][_0x243842(0x4fe)](_0xa1cf7e,_0x441788)&&(_0x430bee[_0x441788]=_0xa1cf7e[_0x441788]);}return _0x430bee;},_0x51fee3[_0x5612a1(0x533)](this,arguments);},_0x2e5615=function(_0x318aa5,_0x310a6e){const _0x1b8757=_0x357007;var _0x24a0fd={};for(var _0x37860b in _0x318aa5)Object['prototype'][_0x1b8757(0x4c1)][_0x1b8757(0x4fe)](_0x318aa5,_0x37860b)&&_0x310a6e[_0x1b8757(0x1ee)](_0x37860b)<0x0&&(_0x24a0fd[_0x37860b]=_0x318aa5[_0x37860b]);if(_0x318aa5!=null&&typeof Object['getOwnPropertySymbols']==_0x1b8757(0x527)){for(var _0x1658e8=0x0,_0x37860b=Object[_0x1b8757(0x55c)](_0x318aa5);_0x1658e8<_0x37860b[_0x1b8757(0x1b0)];_0x1658e8++)_0x310a6e[_0x1b8757(0x1ee)](_0x37860b[_0x1658e8])<0x0&&Object['prototype'][_0x1b8757(0x294)][_0x1b8757(0x4fe)](_0x318aa5,_0x37860b[_0x1658e8])&&(_0x24a0fd[_0x37860b[_0x1658e8]]=_0x318aa5[_0x37860b[_0x1658e8]]);}return _0x24a0fd;},_0xe50a93=_0x53b86a[_0x357007(0x19a)](function(_0x40a0d4,_0x2e2d30){const _0x52627b=_0x357007;var _0x32e775=_0x40a0d4[_0x52627b(0x40a)],_0x5bce42=_0x40a0d4['id'],_0xb0073b=_0x40a0d4[_0x52627b(0x1ce)],_0x3a6938=_0x40a0d4['extend'],_0xab8a20=_0x2e5615(_0x40a0d4,[_0x52627b(0x40a),'id',_0x52627b(0x1ce),_0x52627b(0x308)]),_0x1ed96c=_0x52627b(0x499)['concat'](_0x5bce42,'\x20')[_0x52627b(0x38a)](_0xb0073b||'')[_0x52627b(0x206)](),_0x226416=_0x53b86a[_0x52627b(0x133)]('_'[_0x52627b(0x38a)](_0x390a92()));return _0x39a41a(_0x32e775,''[_0x52627b(0x38a)](_0x5bce42),{'defIds':_0x32e775['defIds'],'idSuffix':_0x226416['current']},_0x51fee3({'ref':_0x2e2d30,'className':_0x1ed96c},_0xab8a20),_0x3a6938);});function _0x39a41a(_0x41fdb7,_0x36e26f,_0xb90995,_0x11de0a,_0x318993){const _0x500cd9=_0x357007;return _0x53b86a['createElement'](_0x41fdb7[_0x500cd9(0x545)],_0x51fee3(_0x51fee3({'key':_0x36e26f},_0x2607cc(_0x41fdb7,_0xb90995,_0x318993)),_0x11de0a),(_0x2c71b8(_0x41fdb7,_0xb90995)[_0x500cd9(0x373)]||[])[_0x500cd9(0x595)](function(_0x2e0f8c,_0x1ce671){const _0x27ea07=_0x500cd9;return _0x39a41a(_0x2e0f8c,''[_0x27ea07(0x38a)](_0x36e26f,'-')[_0x27ea07(0x38a)](_0x41fdb7[_0x27ea07(0x545)],'-')[_0x27ea07(0x38a)](_0x1ce671),_0xb90995,void 0x0,_0x318993);}));}function _0x2607cc(_0x36d2fe,_0x11c050,_0x30d437){const _0x518767=_0x357007;var _0x44b1a8=_0x51fee3({},_0x36d2fe['attrs']);_0x30d437!=null&&_0x30d437[_0x518767(0x2f1)]&&_0x44b1a8[_0x518767(0x321)]===_0x518767(0x2f1)&&(_0x44b1a8[_0x518767(0x321)]=_0x30d437['colorChannel1']);var _0x36ae0c=_0x11c050[_0x518767(0x17e)];return!_0x36ae0c||_0x36ae0c[_0x518767(0x1b0)]===0x0||(_0x36d2fe[_0x518767(0x545)]===_0x518767(0x528)&&_0x44b1a8[_0x518767(0x33b)]&&(_0x44b1a8['xlink:href']=_0x44b1a8[_0x518767(0x33b)]+_0x11c050[_0x518767(0x204)]),Object[_0x518767(0x37e)](_0x44b1a8)[_0x518767(0x274)](function(_0x51fa99){const _0x51c96b=_0x518767;var _0x2b6676=_0x51fa99[0x0],_0x16c9d8=_0x51fa99[0x1];typeof _0x16c9d8==_0x51c96b(0x282)&&(_0x44b1a8[_0x2b6676]=_0x16c9d8[_0x51c96b(0x495)](/url\(#(.*)\)/,_0x51c96b(0x429)[_0x51c96b(0x38a)](_0x11c050[_0x51c96b(0x204)],')')));})),_0x44b1a8;}function _0x2c71b8(_0x22f0c0,_0x1fa3f6){const _0x13ee7a=_0x357007;var _0x24fdbf,_0x36d917=_0x1fa3f6[_0x13ee7a(0x17e)];return!_0x36d917||_0x36d917['length']===0x0?_0x22f0c0:_0x22f0c0['tag']===_0x13ee7a(0x58f)&&(!((_0x24fdbf=_0x22f0c0[_0x13ee7a(0x373)])===null||_0x24fdbf===void 0x0)&&_0x24fdbf[_0x13ee7a(0x1b0)])?_0x51fee3(_0x51fee3({},_0x22f0c0),{'children':_0x22f0c0['children'][_0x13ee7a(0x595)](function(_0x1a9f9e){const _0x5c16bc=_0x13ee7a;return typeof _0x1a9f9e[_0x5c16bc(0x195)]['id']==_0x5c16bc(0x282)&&_0x36d917&&_0x36d917[_0x5c16bc(0x1ee)](_0x1a9f9e[_0x5c16bc(0x195)]['id'])>-0x1?_0x51fee3(_0x51fee3({},_0x1a9f9e),{'attrs':_0x51fee3(_0x51fee3({},_0x1a9f9e[_0x5c16bc(0x195)]),{'id':_0x1a9f9e[_0x5c16bc(0x195)]['id']+_0x1fa3f6[_0x5c16bc(0x204)]})}):_0x1a9f9e;})}):_0x22f0c0;}function _0x390a92(){const _0x4960ef=_0x357007;return Math[_0x4960ef(0x524)]()[_0x4960ef(0x14b)](0x24)['substring'](0x2,0x8);}_0xe50a93['displayName']='UniverIcon';var _0x23bd30={'tag':_0x357007(0x2a0),'attrs':{'fill':_0x357007(0x191),'viewBox':_0x357007(0x380),'width':'1em','height':_0x357007(0x503)},'children':[{'tag':'g','attrs':{'clipPath':_0x357007(0x46d)},'children':[{'tag':_0x357007(0x4e1),'attrs':{'stroke':_0x357007(0x39a),'d':_0x357007(0x55a),'strokeLinecap':_0x357007(0x3ec),'strokeLinejoin':_0x357007(0x3ec),'strokeWidth':1.2}}]},{'tag':_0x357007(0x58f),'attrs':{},'children':[{'tag':_0x357007(0x1d8),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x357007(0x4e1),'attrs':{'fill':_0x357007(0x117),'d':_0x357007(0x45f)}}]}]}],'defIds':[_0x357007(0x59a)]},_0x1ca1af=_0x53b86a[_0x357007(0x19a)](function(_0x6b1a08,_0x208052){const _0x2ec4d9=_0x357007;return _0x53b86a['createElement'](_0xe50a93,Object[_0x2ec4d9(0x4db)]({},_0x6b1a08,{'id':'off-line-single','ref':_0x208052,'icon':_0x23bd30}));});_0x1ca1af['displayName']=_0x357007(0x54a);var _0x1f76aa={'tag':_0x357007(0x2a0),'attrs':{'fill':_0x357007(0x191),'viewBox':_0x357007(0x33a),'width':_0x357007(0x503),'height':_0x357007(0x503)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x357007(0x4e1),'attrs':{'stroke':_0x357007(0x39a),'d':_0x357007(0x3e0),'strokeLinecap':_0x357007(0x3ec),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x357007(0x58f),'attrs':{},'children':[{'tag':_0x357007(0x1d8),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x357007(0x4e1),'attrs':{'fill':_0x357007(0x117),'d':_0x357007(0x45f),'transform':_0x357007(0x553)}}]}]}],'defIds':[_0x357007(0x209)]},_0x4ca525=_0x53b86a['forwardRef'](function(_0x55cb0d,_0x441e9c){const _0x56a2a3=_0x357007;return _0x53b86a[_0x56a2a3(0x383)](_0xe50a93,Object['assign']({},_0x55cb0d,{'id':_0x56a2a3(0x456),'ref':_0x441e9c,'icon':_0x1f76aa}));});_0x4ca525['displayName']='OnLineSingle';function _0x487ff4(_0x5220fa){const _0x184418=_0x357007;var _0x3dac69,_0xa3b47,_0x44bb8b='';if(typeof _0x5220fa=='string'||typeof _0x5220fa==_0x184418(0x22d))_0x44bb8b+=_0x5220fa;else{if(typeof _0x5220fa=='object'){if(Array[_0x184418(0x139)](_0x5220fa)){var _0x4b5344=_0x5220fa[_0x184418(0x1b0)];for(_0x3dac69=0x0;_0x3dac69<_0x4b5344;_0x3dac69++)_0x5220fa[_0x3dac69]&&(_0xa3b47=_0x487ff4(_0x5220fa[_0x3dac69]))&&(_0x44bb8b&&(_0x44bb8b+='\x20'),_0x44bb8b+=_0xa3b47);}else{for(_0xa3b47 in _0x5220fa)_0x5220fa[_0xa3b47]&&(_0x44bb8b&&(_0x44bb8b+='\x20'),_0x44bb8b+=_0xa3b47);}}}return _0x44bb8b;}function _0x3f9768(){const _0x3faaef=_0x357007;for(var _0x1319a8,_0x386f72,_0x48f7c2=0x0,_0x398bfc='',_0x2e2d34=arguments[_0x3faaef(0x1b0)];_0x48f7c2<_0x2e2d34;_0x48f7c2++)(_0x1319a8=arguments[_0x48f7c2])&&(_0x386f72=_0x487ff4(_0x1319a8))&&(_0x398bfc&&(_0x398bfc+='\x20'),_0x398bfc+=_0x386f72);return _0x398bfc;}const _0x1e4505={'onlineStatusIcon':'univer-online-status-icon','onlineStatusTitle':_0x357007(0x1bb),'onlineStatus':_0x357007(0x309),'online':_0x357007(0x2b3),'offline':_0x357007(0x3ac)};function _0x4b0b1f(_0xf6d896){const _0x1abca1=_0x357007;switch(_0xf6d896){case _0x44c5ad[_0x1abca1(0x31a)]:return _0x1abca1(0x400);case _0x44c5ad[_0x1abca1(0x52a)]:return _0x1abca1(0x109);case _0x44c5ad[_0x1abca1(0x1c3)]:return _0x1abca1(0x232);case _0x44c5ad['NOT_COLLAB']:return _0x1abca1(0x31e);case _0x44c5ad[_0x1abca1(0x3d1)]:case _0x44c5ad['AWAITING_WITH_PENDING']:return _0x1abca1(0x459);case _0x44c5ad[_0x1abca1(0x253)]:case _0x44c5ad['PENDING']:return _0x1abca1(0x4da);}}function _0x576c3c(_0x48aeaf){const _0x46becb=_0x357007,{status$:_0xa475}=_0x48aeaf,_0x50dbe6=_0x2b45ba[_0x46becb(0x17a)](_0xa475,_0x44c5ad[_0x46becb(0x104)]),_0x4d414d=_0x457d20['useDependency'](_0x457d20[_0x46becb(0x128)]),_0x3b2d77=_0x457d20[_0x46becb(0x134)](_0x325eac[_0x46becb(0x30b)]),_0x702daf=_0x50dbe6!==_0x44c5ad[_0x46becb(0x31a)],_0x54e2f1=_0x4d414d['t'](_0x4b0b1f(_0x50dbe6)),_0x465df4=_0x3f9768(_0x1e4505[_0x46becb(0x404)],{[_0x1e4505[_0x46becb(0x491)]]:_0x702daf,[_0x1e4505[_0x46becb(0x474)]]:!_0x702daf}),_0x1f915b=_0x702daf?_0x34d77a[_0x46becb(0x1af)](_0x4ca525,{}):_0x34d77a['jsx'](_0x1ca1af,{}),_0x5a2d02=_0x53b86a[_0x46becb(0x50b)](()=>{_0x702daf||_0x3b2d77['reconnect']();},[_0x702daf,_0x3b2d77]);function _0x532983(){const _0x1e4072=_0x46becb;return _0x34d77a[_0x1e4072(0x53d)](_0x1e4072(0x44e),{'className':_0x465df4,'onClick':_0x5a2d02,'children':[_0x34d77a['jsx'](_0x1e4072(0x44e),{'className':_0x1e4505[_0x1e4072(0x1aa)],'children':_0x1f915b}),_0x34d77a[_0x1e4072(0x1af)]('div',{'className':_0x1e4505[_0x1e4072(0x38b)],'children':_0x54e2f1})]});}return _0x702daf?_0x532983():_0x34d77a[_0x46becb(0x1af)](_0x151ca4[_0x46becb(0x529)],{'title':_0x4d414d['t'](_0x46becb(0x590)),'children':_0x532983()});}var _0x3a3279=Object[_0x357007(0x376)],_0x2b4edf=Object[_0x357007(0x41b)],_0x223629=(_0x8d222b,_0x4e76d8,_0x10b0fe,_0x469922)=>{for(var _0x27bb84=_0x469922>0x1?void 0x0:_0x469922?_0x2b4edf(_0x4e76d8,_0x10b0fe):_0x4e76d8,_0x17c002=_0x8d222b['length']-0x1,_0x146987;_0x17c002>=0x0;_0x17c002--)(_0x146987=_0x8d222b[_0x17c002])&&(_0x27bb84=(_0x469922?_0x146987(_0x4e76d8,_0x10b0fe,_0x27bb84):_0x146987(_0x27bb84))||_0x27bb84);return _0x469922&&_0x27bb84&&_0x3a3279(_0x4e76d8,_0x10b0fe,_0x27bb84),_0x27bb84;},_0x577690=(_0x5be200,_0x462ff8)=>(_0x37b47f,_0x4eae12)=>_0x462ff8(_0x37b47f,_0x4eae12,_0x5be200);_0x325eac['DesktopCollaborationStatusDisplayController']=class extends _0x457d20[_0x357007(0x348)]{constructor(_0x2e5e6b,_0xab0f79,_0x2a72ff,_0x2186be){const _0x1cee2c=_0x357007;super(),_0x184856(this,_0x1cee2c(0x103),new _0x44a02e[(_0x1cee2c(0x387))](_0x44c5ad['NOT_COLLAB'])),(this[_0x1cee2c(0x140)]=_0x2e5e6b,this['_uiPartsService']=_0xab0f79,this['_injector']=_0x2a72ff,this[_0x1cee2c(0x544)]=_0x2186be,this['_initStatusComponent'](),this['_initStatusListener']());}[_0x357007(0x1ff)](){const _0x25128e=_0x357007;this[_0x25128e(0x189)](this[_0x25128e(0x140)][_0x25128e(0x579)][_0x25128e(0x3f8)](_0x44a02e[_0x25128e(0x41a)](()=>{const _0x4bc862=_0x25128e,_0x167d32=this[_0x4bc862(0x140)][_0x4bc862(0x236)]();return _0x167d32?this[_0x4bc862(0x544)]['getCollabEntity$'](_0x167d32[_0x4bc862(0x4a5)]()):_0x44a02e['of'](null);}),_0x44a02e[_0x25128e(0x41a)](_0x3ed78a=>_0x3ed78a?_0x3ed78a[_0x25128e(0x1ec)]:_0x44a02e['of'](_0x44c5ad['NOT_COLLAB'])))[_0x25128e(0x479)](_0x331b7c=>{const _0x117c7c=_0x25128e;this[_0x117c7c(0x103)][_0x117c7c(0x4d3)](_0x331b7c);}));}[_0x357007(0x24f)](){const _0x10d766=_0x357007;this[_0x10d766(0x189)](this[_0x10d766(0x42f)][_0x10d766(0x32b)](_0x2b45ba['BuiltInUIPart']['HEADER_MENU'],()=>_0x457d20[_0x10d766(0x501)](_0xdf0b22({'status$':this[_0x10d766(0x103)]['asObservable']()}),this[_0x10d766(0x593)])));}},_0x325eac[_0x357007(0x196)]=_0x223629([_0x577690(0x0,_0x457d20['IUniverInstanceService']),_0x577690(0x1,_0x2b45ba['IUIPartsService']),_0x577690(0x2,_0x457d20[_0x357007(0x2c4)](_0x457d20[_0x357007(0x467)])),_0x577690(0x3,_0x457d20[_0x357007(0x2c4)](_0x325eac[_0x357007(0x339)]))],_0x325eac[_0x357007(0x196)]);function _0xdf0b22(_0x1cc7be){const {status$:_0x26744c}=_0x1cc7be;return function(){const _0xfd1496=_0xbbea;return _0x34d77a[_0xfd1496(0x1af)](_0x576c3c,{'status$':_0x26744c});};}const _0x24da1d=_0x457d20[_0x357007(0x2aa)](_0x357007(0x1ef));var _0x2bd563=Object[_0x357007(0x376)],_0x4684a3=Object[_0x357007(0x41b)],_0x23d5f0=(_0x3d0e37,_0x55d83a,_0x223c48,_0x2d503f)=>{for(var _0x46bd59=_0x2d503f>0x1?void 0x0:_0x2d503f?_0x4684a3(_0x55d83a,_0x223c48):_0x55d83a,_0x30be2a=_0x3d0e37['length']-0x1,_0x21fabb;_0x30be2a>=0x0;_0x30be2a--)(_0x21fabb=_0x3d0e37[_0x30be2a])&&(_0x46bd59=(_0x2d503f?_0x21fabb(_0x55d83a,_0x223c48,_0x46bd59):_0x21fabb(_0x46bd59))||_0x46bd59);return _0x2d503f&&_0x46bd59&&_0x2bd563(_0x55d83a,_0x223c48,_0x46bd59),_0x46bd59;},_0x50dfc8=(_0x26e769,_0x54c070)=>(_0x13bd96,_0x35ce3f)=>_0x54c070(_0x13bd96,_0x35ce3f,_0x26e769);_0x325eac[_0x357007(0x1c2)]=class extends _0x457d20['RxDisposable']{constructor(_0x339842,_0x2e62a7,_0x3b6922,_0x988a95,_0x136303,_0x1e749e){const _0x35f12b=_0x357007;super(),this['_urlService']=_0x339842,this[_0x35f12b(0x514)]=_0x2e62a7,this['_commandService']=_0x3b6922,this[_0x35f12b(0x4e9)]=_0x988a95,this[_0x35f12b(0x51d)]=_0x136303,_0x1e749e?_0x1e749e==null||_0x1e749e[_0x35f12b(0x10c)]()[_0x35f12b(0x1c0)](()=>this[_0x35f12b(0x47f)]()):(this['_logService'][_0x35f12b(0x17b)](_0x35f12b(0x34c),_0x35f12b(0x4bb)),this[_0x35f12b(0x47f)]());}async['_init'](){const _0xb0f86a=_0x357007,_0x3bf17a=this[_0xb0f86a(0x1f7)][_0xb0f86a(0x493)](_0xb0f86a(0x417)),_0x19cb8b=this['_urlService'][_0xb0f86a(0x493)](_0xb0f86a(0x486));if(!_0x3bf17a||!_0x19cb8b){this['_logService'][_0xb0f86a(0x17b)](_0xb0f86a(0x34c),_0xb0f86a(0x17d));return;}switch(Number(_0x19cb8b)){case _0x1c36ee['UNIVER_SHEET']:{const _0x4709f3=await this['_loadSheet'](_0x3bf17a);this[_0xb0f86a(0x4bc)](_0x4709f3);break;}case _0x1c36ee[_0xb0f86a(0x210)]:{await this[_0xb0f86a(0x14a)](_0x3bf17a);break;}default:{this[_0xb0f86a(0x514)][_0xb0f86a(0x519)]('[DataLoaderController]',_0xb0f86a(0x326));break;}}}async[_0x357007(0x4bc)](_0x398dbd){const _0x2fc652=_0x357007;await this['_updateSubUnitFromURLParams'](_0x398dbd),_0x398dbd[_0x2fc652(0x32a)][_0x2fc652(0x3f8)](_0x44a02e[_0x2fc652(0x138)](this[_0x2fc652(0x43e)]))[_0x2fc652(0x479)](_0x5ac932=>{const _0x424421=_0x2fc652;_0x5ac932&&this[_0x424421(0x561)](_0x5ac932);}),this['_urlService']['urlChange$'][_0x2fc652(0x3f8)](_0x44a02e['takeUntil'](this[_0x2fc652(0x43e)]))[_0x2fc652(0x479)](()=>this[_0x2fc652(0x25c)](_0x398dbd));}[_0x357007(0x561)](_0x2e610f,_0x4f1ee0=!0x1){const _0x3d1dbe=_0x357007,_0x3e8e73=this['_urlService'][_0x3d1dbe(0x493)](_0x3d1dbe(0x258));_0x2e610f[_0x3d1dbe(0x507)]()!==_0x3e8e73&&this[_0x3d1dbe(0x1f7)][_0x3d1dbe(0x11d)](_0x3d1dbe(0x258),_0x2e610f[_0x3d1dbe(0x507)](),_0x4f1ee0);}async[_0x357007(0x25c)](_0x4c7729){const _0x30ec12=_0x357007;var _0x3edf78;const _0x48d6c8=this[_0x30ec12(0x1f7)][_0x30ec12(0x493)](_0x30ec12(0x258));if(!_0x48d6c8||!_0x4c7729['getSheetBySheetId'](_0x48d6c8)){const _0x587951=_0x4c7729[_0x30ec12(0x340)]()[0x0],_0x19f234=_0x4c7729[_0x30ec12(0x203)](_0x587951);if(!_0x19f234)return;this['_updateURLWithCurrentState'](_0x19f234,!0x0),await this[_0x30ec12(0x2a1)]['executeCommand'](_0x91efb2[_0x30ec12(0x224)]['id'],{'unitId':_0x4c7729['getUnitId'](),'subUnitId':_0x587951});return;}((_0x3edf78=_0x4c7729[_0x30ec12(0x4a1)]())==null?void 0x0:_0x3edf78['getSheetId']())!==_0x48d6c8&&await this['_commandService'][_0x30ec12(0x470)](_0x91efb2[_0x30ec12(0x224)]['id'],{'unitId':_0x4c7729[_0x30ec12(0x4a5)](),'subUnitId':_0x48d6c8});}async[_0x357007(0x37d)](_0x16528c){const _0x16ef60=_0x357007;let _0x356e34=0x0;const _0x7ba074=await this[_0x16ef60(0x4e9)][_0x16ef60(0x120)](_0x16528c);return _0x7ba074&&(_0x7ba074[_0x16ef60(0x4ac)]||_0x7ba074[_0x16ef60(0x21b)]['length']!==0x0)&&(_0x356e34=_0x7ba074['rev']),_0x356e34===0x0&&this[_0x16ef60(0x514)][_0x16ef60(0x17b)]('[DataLoaderController]',_0x16ef60(0x4f5)),this[_0x16ef60(0x51d)][_0x16ef60(0x244)](_0x16528c,_0x356e34);}async[_0x357007(0x14a)](_0x4dcdcb){const _0xfa3c28=_0x357007;let _0x5f2235=0x0;const _0x185f15=await this[_0xfa3c28(0x4e9)][_0xfa3c28(0x120)](_0x4dcdcb);return _0x185f15&&(_0x185f15[_0xfa3c28(0x4ac)]||_0x185f15['mutations'][_0xfa3c28(0x1b0)]!==0x0)&&(_0x5f2235=_0x185f15[_0xfa3c28(0x483)]),_0x5f2235===0x0&&this[_0xfa3c28(0x514)][_0xfa3c28(0x17b)](_0xfa3c28(0x34c),_0xfa3c28(0x4f5)),this[_0xfa3c28(0x51d)]['loadDoc'](_0x4dcdcb,_0x5f2235);}},_0x325eac[_0x357007(0x1c2)]=_0x23d5f0([_0x50dfc8(0x0,_0x24da1d),_0x50dfc8(0x1,_0x457d20['ILogService']),_0x50dfc8(0x2,_0x457d20[_0x357007(0x324)]),_0x50dfc8(0x3,_0x457d20[_0x357007(0x2c4)](_0x325eac[_0x357007(0x4f9)])),_0x50dfc8(0x4,_0x457d20[_0x357007(0x2c4)](_0x4d26ac[_0x357007(0x19f)])),_0x50dfc8(0x5,_0x457d20[_0x357007(0xe8)](_0x663046[_0x357007(0x161)]))],_0x325eac[_0x357007(0x1c2)]);var _0x2bec0e=Object[_0x357007(0x376)],_0x1de3d7=Object[_0x357007(0x41b)],_0x674ab3=(_0xa5e52f,_0x4a507a,_0x4d7262,_0x4dad53)=>{const _0xd57394=_0x357007;for(var _0x2ffd73=_0x4dad53>0x1?void 0x0:_0x4dad53?_0x1de3d7(_0x4a507a,_0x4d7262):_0x4a507a,_0x31e748=_0xa5e52f[_0xd57394(0x1b0)]-0x1,_0xba8ed0;_0x31e748>=0x0;_0x31e748--)(_0xba8ed0=_0xa5e52f[_0x31e748])&&(_0x2ffd73=(_0x4dad53?_0xba8ed0(_0x4a507a,_0x4d7262,_0x2ffd73):_0xba8ed0(_0x2ffd73))||_0x2ffd73);return _0x4dad53&&_0x2ffd73&&_0x2bec0e(_0x4a507a,_0x4d7262,_0x2ffd73),_0x2ffd73;},_0x770e43=(_0x354a91,_0x5068c6)=>(_0x27d60f,_0x27fabf)=>_0x5068c6(_0x27d60f,_0x27fabf,_0x354a91);const _0x8ba29b=_0x357007(0x254),_0x3b00f3='Univer';let _0x5639bf=class extends _0x457d20[_0x357007(0x348)]{constructor(_0x4e03c7,_0x53d766){const _0x532cd3=_0x357007;super(),this[_0x532cd3(0x140)]=_0x4e03c7,this[_0x532cd3(0x331)]=_0x53d766,this[_0x532cd3(0x47f)]();}[_0x357007(0x47f)](){const _0x2761b1=_0x357007;this[_0x2761b1(0x189)](this[_0x2761b1(0x140)]['focused$'][_0x2761b1(0x479)](()=>{const _0x6e5bc0=_0x2761b1;var _0x486f0c;const _0x162b6d=this['_univerInstanceService'][_0x6e5bc0(0x236)]();let _0x235faa=(_0x486f0c=this[_0x6e5bc0(0x331)][_0x6e5bc0(0x4d5)](_0x8ba29b))!=null?_0x486f0c:_0x3b00f3;_0x162b6d instanceof _0x457d20[_0x6e5bc0(0x56c)]&&(_0x235faa=_0x162b6d[_0x6e5bc0(0x28e)]),document[_0x6e5bc0(0x24d)]=_0x235faa;}));}};_0x5639bf=_0x674ab3([_0x770e43(0x0,_0x457d20['IUniverInstanceService']),_0x770e43(0x1,_0x457d20[_0x357007(0x3cc)])],_0x5639bf);var _0x172f6c=Object[_0x357007(0x376)],_0x1e8f33=Object['getOwnPropertyDescriptor'],_0x1d54df=(_0x5c7a15,_0xa5046e,_0x5e622c,_0x485cde)=>{const _0x2952dd=_0x357007;for(var _0xc0b03=_0x485cde>0x1?void 0x0:_0x485cde?_0x1e8f33(_0xa5046e,_0x5e622c):_0xa5046e,_0x206e6e=_0x5c7a15[_0x2952dd(0x1b0)]-0x1,_0x50c7a5;_0x206e6e>=0x0;_0x206e6e--)(_0x50c7a5=_0x5c7a15[_0x206e6e])&&(_0xc0b03=(_0x485cde?_0x50c7a5(_0xa5046e,_0x5e622c,_0xc0b03):_0x50c7a5(_0xc0b03))||_0xc0b03);return _0x485cde&&_0xc0b03&&_0x172f6c(_0xa5046e,_0x5e622c,_0xc0b03),_0xc0b03;},_0x6b1705=(_0xc71ffd,_0x49bc5d)=>(_0x427d2f,_0x88a123)=>_0x49bc5d(_0x427d2f,_0x88a123,_0xc71ffd);let _0x1ae59a=class{constructor(_0x5e1bc8,_0x46d990,_0x1dc1c0){const _0x5341d4=_0x357007;this[_0x5341d4(0x331)]=_0x5e1bc8,this[_0x5341d4(0x537)]=_0x46d990,this[_0x5341d4(0x30f)]=_0x1dc1c0,this['init']();}[_0x357007(0x192)](){const _0x448d35=_0x357007;this[_0x448d35(0x537)][_0x448d35(0x12b)]({'priority':0x1,'interceptor':(_0x497955,_0x358bba)=>_0x358bba(_0x497955)[_0x448d35(0x3f8)](_0x44a02e[_0x448d35(0x530)](async _0x9b2329=>{const _0x1a2a8b=_0x448d35,_0x3729ad=_0x9b2329;if(_0x3729ad[_0x1a2a8b(0x477)]===0x191&&window['confirm'](this['localeService']['t'](_0x1a2a8b(0x164)))){const _0x5985a8=window[_0x1a2a8b(0x3c1)](window[_0x1a2a8b(0x296)][_0x1a2a8b(0x51a)]);window['location']['href']=this[_0x1a2a8b(0x263)]()+'?url='+_0x5985a8;}return _0x3729ad;}))});}[_0x357007(0x263)](){const _0x4fb933=_0x357007;var _0x3b2b16,_0x12dc69;const _0x147e5f=this['_configService'][_0x4fb933(0x4d5)](_0x53356b),_0x4c25af=this['_configService']['getConfig'](_0x11df2a);return(_0x12dc69=(_0x3b2b16=_0x4c25af==null?void 0x0:_0x4c25af[_0x4fb933(0x575)])!=null?_0x3b2b16:_0x147e5f)!=null?_0x12dc69:_0x435faa;}};_0x1ae59a=_0x1d54df([_0x6b1705(0x0,_0x457d20[_0x357007(0x3cc)]),_0x6b1705(0x1,_0x457d20[_0x357007(0x2c4)](_0x4737a0[_0x357007(0xe3)])),_0x6b1705(0x2,_0x457d20['Inject'](_0x457d20[_0x357007(0x128)]))],_0x1ae59a);var _0x14fe56=Object[_0x357007(0x376)],_0x2eff07=Object[_0x357007(0x41b)],_0x529af3=(_0x3a6803,_0x4b1d52,_0x5bcf46,_0x5cb8f6)=>{const _0x569aea=_0x357007;for(var _0x7531fa=_0x5cb8f6>0x1?void 0x0:_0x5cb8f6?_0x2eff07(_0x4b1d52,_0x5bcf46):_0x4b1d52,_0x45d725=_0x3a6803[_0x569aea(0x1b0)]-0x1,_0x3c07f4;_0x45d725>=0x0;_0x45d725--)(_0x3c07f4=_0x3a6803[_0x45d725])&&(_0x7531fa=(_0x5cb8f6?_0x3c07f4(_0x4b1d52,_0x5bcf46,_0x7531fa):_0x3c07f4(_0x7531fa))||_0x7531fa);return _0x5cb8f6&&_0x7531fa&&_0x14fe56(_0x4b1d52,_0x5bcf46,_0x7531fa),_0x7531fa;},_0x2d8bf6=(_0x229dcc,_0x1b2e8d)=>(_0x3925a3,_0x1521cf)=>_0x1b2e8d(_0x3925a3,_0x1521cf,_0x229dcc);const _0x14f602=_0x357007(0x391),_0x2e35f1=_0x357007(0x536);_0x325eac[_0x357007(0x487)]=class extends _0x457d20[_0x357007(0x348)]{constructor(_0x518696,_0x3f9bb4){const _0x2b24fe=_0x357007;super(),this[_0x2b24fe(0x39e)]=_0x518696,this[_0x2b24fe(0x331)]=_0x3f9bb4,this['_initMergeInterceptor']();}[_0x357007(0x4cf)](){const _0x226808=_0x357007,_0x20de3f=this;this['disposeWithMe'](this[_0x226808(0x39e)][_0x226808(0x12b)]({'priority':0x3e7,'interceptor':_0x4737a0['MergeInterceptorFactory']({'isMatch'(_0x3f1d1d){const _0x436829=_0x226808;var _0x454aef;if(_0x3f1d1d[_0x436829(0x49e)]===_0x436829(0x3a6)&&((_0x454aef=_0x3f1d1d[_0x436829(0x221)])!=null&&_0x454aef[_0x436829(0x156)])){const {objectID:_0x331f5b,objectType:_0x166ced}=_0x3f1d1d[_0x436829(0x221)][_0x436829(0x156)]||{};if(!_0x331f5b||_0x166ced===void 0x0)return!0x1;const _0x390038=_0x20de3f[_0x436829(0x397)]()+'/'+_0x166ced+_0x436829(0x3c7)+_0x331f5b+_0x436829(0x1a4);if(_0x3f1d1d[_0x436829(0x171)]===_0x390038)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4c5200){const _0xb78443=_0x226808;var _0x2aff53;return(_0x2aff53=_0x4c5200[_0xb78443(0x221)])==null?void 0x0:_0x2aff53[_0xb78443(0x156)];},'mergeParamsToRequest'(_0x119db5,_0x53555d){const _0x3a17ad=_0x226808,_0x2f7499=_0x20de3f[_0x3a17ad(0x397)]()+_0x3a17ad(0x43c),_0x104c66=_0x119db5[_0x3a17ad(0x1e2)]((_0x20123c,_0x5efdcf)=>{const _0x5269fb=_0x3a17ad,{unitID:_0x4446b8,objectID:_0x1b53ac,objectType:_0x2eed11,actions:_0x1d8fb3}=_0x5efdcf;return _0x20123c[_0x4446b8]||(_0x20123c[_0x4446b8]={}),_0x20123c[_0x4446b8][_0x1b53ac]||(_0x20123c[_0x4446b8][_0x1b53ac]={'objectID':_0x1b53ac,'objectType':_0x2eed11,'actions':[]}),_0x20123c[_0x4446b8][_0x1b53ac][_0x5269fb(0xeb)]['push'](..._0x1d8fb3),_0x20123c;},{}),_0x130e20=[];for(const _0x4f9cc2 in _0x104c66)for(const _0x277f28 in _0x104c66[_0x4f9cc2]){const {actions:_0x430a4c,objectType:_0x573ca3}=_0x104c66[_0x4f9cc2][_0x277f28],_0x1d8340=[...new Set(_0x430a4c)];_0x130e20[_0x3a17ad(0x39d)]({'unitID':_0x4f9cc2,'objectID':_0x277f28,'objectType':_0x573ca3,'actions':_0x1d8340});}return new _0x4737a0['HTTPRequest'](_0x3a17ad(0x3a6),_0x2f7499,{'headers':_0x53555d[_0x3a17ad(0x2c8)],'withCredentials':_0x53555d[_0x3a17ad(0x29c)],'responseType':_0x53555d['responseType'],'body':{'requests':_0x130e20}});}},{'distributeResult'(_0x1e67ad,_0x5ba734){const _0x485377=_0x226808,{objectActions:_0x53dd6e}=_0x1e67ad;return _0x5ba734[_0x485377(0x595)](_0x2d2784=>{const _0x7d1274=_0x485377,{unitID:_0x53603a,objectID:_0x35c837,actions:_0x187fa1}=_0x2d2784,_0x58d17d=_0x53dd6e[_0x7d1274(0x239)](_0xfa251e=>_0xfa251e[_0x7d1274(0x563)]===_0x53603a&&_0xfa251e[_0x7d1274(0x124)]===_0x35c837),_0x57de81=_0x187fa1[_0x7d1274(0x595)](_0x44e469=>_0x58d17d==null?void 0x0:_0x58d17d[_0x7d1274(0xeb)]['find'](_0x1e8dd1=>_0x1e8dd1[_0x7d1274(0x1d3)]===_0x44e469))['filter'](_0x5ec9d9=>!!_0x5ec9d9);return{'config':_0x2d2784,'result':{'actions':_0x57de81,'error':_0x1e67ad['error']}};});}})}));}[_0x357007(0x397)](){const _0x5cd8bb=_0x357007;var _0x15b1c7,_0x10028c;const _0x392c57=this['_configService'][_0x5cd8bb(0x4d5)](_0x14f602),_0x2e2ec8=this[_0x5cd8bb(0x331)][_0x5cd8bb(0x4d5)](_0x11df2a);return(_0x10028c=(_0x15b1c7=_0x2e2ec8==null?void 0x0:_0x2e2ec8[_0x5cd8bb(0x4b1)])!=null?_0x15b1c7:_0x392c57)!=null?_0x10028c:_0x2e35f1;}async['create'](_0xaf4794){const _0x21cf94=_0x357007,_0x1dfe86=this[_0x21cf94(0x397)]()+'/'+_0xaf4794['objectType']+_0x21cf94(0x2e6);return(await this['_HTTPService'][_0x21cf94(0x2fc)](_0x1dfe86,{'body':_0xaf4794}))['body'][_0x21cf94(0x124)]||'';}async[_0x357007(0x178)](_0x1507e5){const _0x5158f3=_0x357007,_0x404aca=this['_getAPIPrefixPath']()+'/-/object/list';return(await this[_0x5158f3(0x39e)]['post'](_0x404aca,{'body':_0x1507e5}))[_0x5158f3(0x156)][_0x5158f3(0x583)];}async['update'](_0x39280c){const _0x4cfa62=_0x357007,_0x4aa469=this[_0x4cfa62(0x397)]()+'/'+_0x39280c[_0x4cfa62(0x1a9)]+'/object/'+_0x39280c[_0x4cfa62(0x124)];await this[_0x4cfa62(0x39e)][_0x4cfa62(0x410)](_0x4aa469,{'body':_0x39280c});}async['allowed'](_0x2655d0){const _0xe45aad=_0x357007,_0x4bcd00=this[_0xe45aad(0x397)]()+'/'+_0x2655d0[_0xe45aad(0x1a9)]+_0xe45aad(0x3c7)+_0x2655d0[_0xe45aad(0x124)]+_0xe45aad(0x1a4);return(await this[_0xe45aad(0x39e)][_0xe45aad(0x2fc)](_0x4bcd00,{'body':_0x2655d0}))['body']['actions'];}async[_0x357007(0x488)](_0x30da5e){const _0x218a5d=_0x357007,_0x428534=this[_0x218a5d(0x397)]()+_0x218a5d(0x43c);return(await this[_0x218a5d(0x39e)][_0x218a5d(0x2fc)](_0x428534,{'body':{'requests':_0x30da5e}}))[_0x218a5d(0x156)][_0x218a5d(0x21a)];}async[_0x357007(0xea)](_0x36a5f2){const _0x5bb835=_0x357007,_0x5c1b84=this[_0x5bb835(0x397)]()+'/'+_0x36a5f2['objectType']+_0x5bb835(0x42e),_0x320778=await this[_0x5bb835(0x39e)][_0x5bb835(0x2fc)](_0x5c1b84,{'body':_0x36a5f2});return{'roles':_0x320778['body'][_0x5bb835(0x2d0)],'actions':_0x320778['body'][_0x5bb835(0xeb)]};}async[_0x357007(0x1d0)](_0x951b0a){const _0x3689ee=_0x357007,_0x29066d=this[_0x3689ee(0x397)]()+'/collaborator';await this[_0x3689ee(0x39e)][_0x3689ee(0x378)](_0x29066d,{'params':{'collaboratorID':_0x951b0a[_0x3689ee(0x225)],'objectID':_0x951b0a[_0x3689ee(0x124)],'unitID':_0x951b0a[_0x3689ee(0x563)]}});}async[_0x357007(0x21e)](_0x24076f){const _0x381c82=_0x357007,_0x47f05e=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x381c82(0x39e)][_0x381c82(0x54f)](_0x47f05e,{'body':_0x24076f});}async['createCollaborator'](_0x5d6ea5){const _0x564e6d=_0x357007,_0x571960=this['_getAPIPrefixPath']()+'/collaborator';await this['_HTTPService'][_0x564e6d(0x2fc)](_0x571960,{'body':_0x5d6ea5});}async[_0x357007(0x2ad)](_0xe6b8ba){const _0x11b3b5=_0x357007,_0x558b07=this[_0x11b3b5(0x397)]()+_0x11b3b5(0x2f0);return(await this[_0x11b3b5(0x39e)][_0x11b3b5(0x1b5)](_0x558b07,{'params':{'objectID':_0xe6b8ba[_0x11b3b5(0x124)],'unitID':_0xe6b8ba[_0x11b3b5(0x563)]}}))[_0x11b3b5(0x156)]['collaborators'];}async[_0x357007(0x2eb)](_0x5e8cf7){const _0x3bad44=_0x357007,_0xa39c74=this['_getAPIPrefixPath']()+_0x3bad44(0x2f0);await this[_0x3bad44(0x39e)]['put'](_0xa39c74,{'body':_0x5e8cf7});}},_0x325eac[_0x357007(0x487)]=_0x529af3([_0x2d8bf6(0x0,_0x457d20['Inject'](_0x4737a0['HTTPService'])),_0x2d8bf6(0x1,_0x457d20['Inject'](_0x457d20[_0x357007(0x3cc)]))],_0x325eac['AuthzIoHttpService']);var _0x9d9f40={'exports':{}};function _0x414209(_0x5b9df6){const _0x3ce00c=_0x357007;throw new Error(_0x3ce00c(0x4b4)+_0x5b9df6+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var _0x508631={'exports':{}},_0x38e0ab;function _0x56fa1b(){return _0x38e0ab||(_0x38e0ab=0x1,function(_0x5f480b,_0x23afb2){(function(_0x40a596,_0x296d77){const _0x5ed297=_0xbbea;_0x5f480b[_0x5ed297(0x241)]=_0x296d77();}(_0x3da64e,function(){var _0x53c73a=_0x53c73a||function(_0xadcf60,_0x31826b){const _0x4614c6=_0xbbea;var _0x89882a;if(typeof window<'u'&&window[_0x4614c6(0x316)]&&(_0x89882a=window[_0x4614c6(0x316)]),typeof self<'u'&&self[_0x4614c6(0x316)]&&(_0x89882a=self[_0x4614c6(0x316)]),typeof globalThis<'u'&&globalThis[_0x4614c6(0x316)]&&(_0x89882a=globalThis[_0x4614c6(0x316)]),!_0x89882a&&typeof window<'u'&&window[_0x4614c6(0x3e8)]&&(_0x89882a=window[_0x4614c6(0x3e8)]),!_0x89882a&&typeof _0x3da64e<'u'&&_0x3da64e[_0x4614c6(0x316)]&&(_0x89882a=_0x3da64e[_0x4614c6(0x316)]),!_0x89882a&&typeof _0x414209==_0x4614c6(0x527))try{_0x89882a=require(_0x4614c6(0x316));}catch{}var _0x4566f9=function(){const _0x1ca8ad=_0x4614c6;if(_0x89882a){if(typeof _0x89882a[_0x1ca8ad(0x425)]==_0x1ca8ad(0x527))try{return _0x89882a[_0x1ca8ad(0x425)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x89882a['randomBytes']==_0x1ca8ad(0x527))try{return _0x89882a['randomBytes'](0x4)[_0x1ca8ad(0x1e4)]();}catch{}}throw new Error(_0x1ca8ad(0x36b));},_0x5904fc=Object[_0x4614c6(0x551)]||(function(){function _0x41fc94(){}return function(_0x402c5a){const _0x22cb09=_0xbbea;var _0x4d8fa1;return _0x41fc94[_0x22cb09(0x2a6)]=_0x402c5a,_0x4d8fa1=new _0x41fc94(),_0x41fc94['prototype']=null,_0x4d8fa1;};}()),_0x5f2c25={},_0x3f9dbf=_0x5f2c25[_0x4614c6(0x3bb)]={},_0x2d1145=_0x3f9dbf['Base']=(function(){return{'extend':function(_0x46386a){const _0x5680f6=_0xbbea;var _0x57c513=_0x5904fc(this);return _0x46386a&&_0x57c513[_0x5680f6(0xfe)](_0x46386a),(!_0x57c513['hasOwnProperty'](_0x5680f6(0x192))||this[_0x5680f6(0x192)]===_0x57c513[_0x5680f6(0x192)])&&(_0x57c513[_0x5680f6(0x192)]=function(){const _0x3c0b88=_0x5680f6;_0x57c513[_0x3c0b88(0x3b8)][_0x3c0b88(0x192)]['apply'](this,arguments);}),_0x57c513[_0x5680f6(0x192)][_0x5680f6(0x2a6)]=_0x57c513,_0x57c513['$super']=this,_0x57c513;},'create':function(){const _0x58af50=_0xbbea;var _0xd29b01=this[_0x58af50(0x308)]();return _0xd29b01[_0x58af50(0x192)]['apply'](_0xd29b01,arguments),_0xd29b01;},'init':function(){},'mixIn':function(_0x4d76ae){const _0x2ce929=_0xbbea;for(var _0x27572f in _0x4d76ae)_0x4d76ae[_0x2ce929(0x4c1)](_0x27572f)&&(this[_0x27572f]=_0x4d76ae[_0x27572f]);_0x4d76ae[_0x2ce929(0x4c1)](_0x2ce929(0x14b))&&(this['toString']=_0x4d76ae[_0x2ce929(0x14b)]);},'clone':function(){const _0x31a2ae=_0xbbea;return this['init']['prototype'][_0x31a2ae(0x308)](this);}};}()),_0x2dd995=_0x3f9dbf[_0x4614c6(0x4a8)]=_0x2d1145[_0x4614c6(0x308)]({'init':function(_0xaffd5f,_0x4fafaf){const _0x1e078b=_0x4614c6;_0xaffd5f=this[_0x1e078b(0x1b9)]=_0xaffd5f||[],_0x4fafaf!=_0x31826b?this[_0x1e078b(0x398)]=_0x4fafaf:this[_0x1e078b(0x398)]=_0xaffd5f[_0x1e078b(0x1b0)]*0x4;},'toString':function(_0x3ad9e2){const _0x253abe=_0x4614c6;return(_0x3ad9e2||_0x5d158d)[_0x253abe(0x219)](this);},'concat':function(_0x428ba1){const _0x31a333=_0x4614c6;var _0x4f736c=this['words'],_0x37b437=_0x428ba1[_0x31a333(0x1b9)],_0x2cb346=this[_0x31a333(0x398)],_0x123f15=_0x428ba1[_0x31a333(0x398)];if(this[_0x31a333(0x15e)](),_0x2cb346%0x4)for(var _0x2eafe0=0x0;_0x2eafe0<_0x123f15;_0x2eafe0++){var _0x383f3c=_0x37b437[_0x2eafe0>>>0x2]>>>0x18-_0x2eafe0%0x4*0x8&0xff;_0x4f736c[_0x2cb346+_0x2eafe0>>>0x2]|=_0x383f3c<<0x18-(_0x2cb346+_0x2eafe0)%0x4*0x8;}else{for(var _0x2cd115=0x0;_0x2cd115<_0x123f15;_0x2cd115+=0x4)_0x4f736c[_0x2cb346+_0x2cd115>>>0x2]=_0x37b437[_0x2cd115>>>0x2];}return this[_0x31a333(0x398)]+=_0x123f15,this;},'clamp':function(){const _0x153f04=_0x4614c6;var _0x4371a7=this[_0x153f04(0x1b9)],_0x5f5af9=this['sigBytes'];_0x4371a7[_0x5f5af9>>>0x2]&=0xffffffff<<0x20-_0x5f5af9%0x4*0x8,_0x4371a7['length']=_0xadcf60[_0x153f04(0x1c4)](_0x5f5af9/0x4);},'clone':function(){const _0x5436c0=_0x4614c6;var _0x238fd9=_0x2d1145['clone'][_0x5436c0(0x4fe)](this);return _0x238fd9['words']=this[_0x5436c0(0x1b9)][_0x5436c0(0x3b7)](0x0),_0x238fd9;},'random':function(_0x3d58d7){const _0x1032cd=_0x4614c6;for(var _0x3c13d1=[],_0x26ba26=0x0;_0x26ba26<_0x3d58d7;_0x26ba26+=0x4)_0x3c13d1[_0x1032cd(0x39d)](_0x4566f9());return new _0x2dd995[(_0x1032cd(0x192))](_0x3c13d1,_0x3d58d7);}}),_0xd10a7=_0x5f2c25[_0x4614c6(0x364)]={},_0x5d158d=_0xd10a7[_0x4614c6(0x33d)]={'stringify':function(_0x176338){const _0xb4760a=_0x4614c6;for(var _0xbfd7e4=_0x176338[_0xb4760a(0x1b9)],_0x26fe81=_0x176338[_0xb4760a(0x398)],_0x4436c8=[],_0x554505=0x0;_0x554505<_0x26fe81;_0x554505++){var _0x271304=_0xbfd7e4[_0x554505>>>0x2]>>>0x18-_0x554505%0x4*0x8&0xff;_0x4436c8[_0xb4760a(0x39d)]((_0x271304>>>0x4)[_0xb4760a(0x14b)](0x10)),_0x4436c8[_0xb4760a(0x39d)]((_0x271304&0xf)[_0xb4760a(0x14b)](0x10));}return _0x4436c8[_0xb4760a(0x205)]('');},'parse':function(_0x28252d){const _0x489f79=_0x4614c6;for(var _0x564781=_0x28252d[_0x489f79(0x1b0)],_0x291fdd=[],_0x54b588=0x0;_0x54b588<_0x564781;_0x54b588+=0x2)_0x291fdd[_0x54b588>>>0x3]|=parseInt(_0x28252d[_0x489f79(0x4a3)](_0x54b588,0x2),0x10)<<0x18-_0x54b588%0x8*0x4;return new _0x2dd995[(_0x489f79(0x192))](_0x291fdd,_0x564781/0x2);}},_0x308621=_0xd10a7['Latin1']={'stringify':function(_0x4258b5){const _0x121ce8=_0x4614c6;for(var _0x9d7e91=_0x4258b5['words'],_0x1117ae=_0x4258b5[_0x121ce8(0x398)],_0x33f710=[],_0x3a6771=0x0;_0x3a6771<_0x1117ae;_0x3a6771++){var _0xb69a3e=_0x9d7e91[_0x3a6771>>>0x2]>>>0x18-_0x3a6771%0x4*0x8&0xff;_0x33f710[_0x121ce8(0x39d)](String['fromCharCode'](_0xb69a3e));}return _0x33f710[_0x121ce8(0x205)]('');},'parse':function(_0x83b886){const _0xb2f857=_0x4614c6;for(var _0x2c8148=_0x83b886[_0xb2f857(0x1b0)],_0x5ad128=[],_0x55f943=0x0;_0x55f943<_0x2c8148;_0x55f943++)_0x5ad128[_0x55f943>>>0x2]|=(_0x83b886['charCodeAt'](_0x55f943)&0xff)<<0x18-_0x55f943%0x4*0x8;return new _0x2dd995[(_0xb2f857(0x192))](_0x5ad128,_0x2c8148);}},_0x249628=_0xd10a7[_0x4614c6(0x185)]={'stringify':function(_0x4012bd){const _0xc38e90=_0x4614c6;try{return decodeURIComponent(escape(_0x308621['stringify'](_0x4012bd)));}catch{throw new Error(_0xc38e90(0x20a));}},'parse':function(_0x5e4c9f){const _0x329e35=_0x4614c6;return _0x308621[_0x329e35(0x406)](unescape(encodeURIComponent(_0x5e4c9f)));}},_0x4d62c3=_0x3f9dbf[_0x4614c6(0x23e)]=_0x2d1145[_0x4614c6(0x308)]({'reset':function(){const _0x3bdb27=_0x4614c6;this[_0x3bdb27(0x2f7)]=new _0x2dd995[(_0x3bdb27(0x192))](),this['_nDataBytes']=0x0;},'_append':function(_0x4f8e29){const _0x55f6e1=_0x4614c6;typeof _0x4f8e29==_0x55f6e1(0x282)&&(_0x4f8e29=_0x249628['parse'](_0x4f8e29)),this[_0x55f6e1(0x2f7)][_0x55f6e1(0x38a)](_0x4f8e29),this[_0x55f6e1(0x3c3)]+=_0x4f8e29[_0x55f6e1(0x398)];},'_process':function(_0x3bb9f9){const _0x5acc04=_0x4614c6;var _0x12d876,_0x2b49af=this[_0x5acc04(0x2f7)],_0x3a75d4=_0x2b49af[_0x5acc04(0x1b9)],_0xcf14e=_0x2b49af[_0x5acc04(0x398)],_0x28d9b3=this[_0x5acc04(0x371)],_0xe7ad01=_0x28d9b3*0x4,_0x3d9610=_0xcf14e/_0xe7ad01;_0x3bb9f9?_0x3d9610=_0xadcf60['ceil'](_0x3d9610):_0x3d9610=_0xadcf60[_0x5acc04(0x10d)]((_0x3d9610|0x0)-this['_minBufferSize'],0x0);var _0x18ab7=_0x3d9610*_0x28d9b3,_0x361e83=_0xadcf60[_0x5acc04(0x51f)](_0x18ab7*0x4,_0xcf14e);if(_0x18ab7){for(var _0x12505a=0x0;_0x12505a<_0x18ab7;_0x12505a+=_0x28d9b3)this[_0x5acc04(0x260)](_0x3a75d4,_0x12505a);_0x12d876=_0x3a75d4[_0x5acc04(0x2da)](0x0,_0x18ab7),_0x2b49af[_0x5acc04(0x398)]-=_0x361e83;}return new _0x2dd995[(_0x5acc04(0x192))](_0x12d876,_0x361e83);},'clone':function(){const _0x517ce8=_0x4614c6;var _0x1c1dee=_0x2d1145[_0x517ce8(0x49f)][_0x517ce8(0x4fe)](this);return _0x1c1dee['_data']=this['_data'][_0x517ce8(0x49f)](),_0x1c1dee;},'_minBufferSize':0x0});_0x3f9dbf['Hasher']=_0x4d62c3[_0x4614c6(0x308)]({'cfg':_0x2d1145[_0x4614c6(0x308)](),'init':function(_0x444234){const _0x17efd3=_0x4614c6;this['cfg']=this[_0x17efd3(0x151)][_0x17efd3(0x308)](_0x444234),this[_0x17efd3(0x1cd)]();},'reset':function(){const _0x2e07f8=_0x4614c6;_0x4d62c3['reset'][_0x2e07f8(0x4fe)](this),this[_0x2e07f8(0x265)]();},'update':function(_0x57349a){const _0xca7cd8=_0x4614c6;return this['_append'](_0x57349a),this[_0xca7cd8(0x269)](),this;},'finalize':function(_0x1e21f9){const _0x2f72aa=_0x4614c6;_0x1e21f9&&this[_0x2f72aa(0x12e)](_0x1e21f9);var _0x12a422=this[_0x2f72aa(0x132)]();return _0x12a422;},'blockSize':0x10,'_createHelper':function(_0x300bdf){return function(_0x1a2025,_0x2385d8){const _0x40f632=_0xbbea;return new _0x300bdf['init'](_0x2385d8)[_0x40f632(0x497)](_0x1a2025);};},'_createHmacHelper':function(_0x165a0c){return function(_0xa7fc88,_0x16ad1a){const _0x22c97f=_0xbbea;return new _0x36aefd[(_0x22c97f(0x4b7))][(_0x22c97f(0x192))](_0x165a0c,_0x16ad1a)[_0x22c97f(0x497)](_0xa7fc88);};}});var _0x36aefd=_0x5f2c25[_0x4614c6(0x4d1)]={};return _0x5f2c25;}(Math);return _0x53c73a;}));}(_0x508631)),_0x508631['exports'];}var _0x7dfb76={'exports':{}},_0x1db95a;function _0x49f822(){const _0x36ed05=_0x357007;return _0x1db95a||(_0x1db95a=0x1,function(_0x45e0cc,_0x6b9b4e){(function(_0x469a64,_0x5b2c39){_0x45e0cc['exports']=_0x5b2c39(_0x56fa1b());}(_0x3da64e,function(_0x342f43){const _0x1d3060=_0xbbea;return(function(){const _0xddbb37=_0xbbea;var _0x14c24=_0x342f43,_0x4fc93a=_0x14c24[_0xddbb37(0x3bb)],_0x2bc7ac=_0x4fc93a[_0xddbb37(0x4a8)],_0x1090f8=_0x14c24[_0xddbb37(0x364)];_0x1090f8['Base64']={'stringify':function(_0x41a5c8){const _0x2425fa=_0xddbb37;var _0x5ef1f3=_0x41a5c8[_0x2425fa(0x1b9)],_0x2f60f4=_0x41a5c8[_0x2425fa(0x398)],_0x48ec4a=this[_0x2425fa(0x50a)];_0x41a5c8[_0x2425fa(0x15e)]();for(var _0x2a9970=[],_0x49e3c6=0x0;_0x49e3c6<_0x2f60f4;_0x49e3c6+=0x3)for(var _0x803319=_0x5ef1f3[_0x49e3c6>>>0x2]>>>0x18-_0x49e3c6%0x4*0x8&0xff,_0x1bd383=_0x5ef1f3[_0x49e3c6+0x1>>>0x2]>>>0x18-(_0x49e3c6+0x1)%0x4*0x8&0xff,_0x25be4a=_0x5ef1f3[_0x49e3c6+0x2>>>0x2]>>>0x18-(_0x49e3c6+0x2)%0x4*0x8&0xff,_0x1ebe56=_0x803319<<0x10|_0x1bd383<<0x8|_0x25be4a,_0x4b446f=0x0;_0x4b446f<0x4&&_0x49e3c6+_0x4b446f*0.75<_0x2f60f4;_0x4b446f++)_0x2a9970[_0x2425fa(0x39d)](_0x48ec4a[_0x2425fa(0x20e)](_0x1ebe56>>>0x6*(0x3-_0x4b446f)&0x3f));var _0x253e41=_0x48ec4a[_0x2425fa(0x20e)](0x40);if(_0x253e41){for(;_0x2a9970[_0x2425fa(0x1b0)]%0x4;)_0x2a9970[_0x2425fa(0x39d)](_0x253e41);}return _0x2a9970['join']('');},'parse':function(_0x974cc){const _0xf28ec6=_0xddbb37;var _0x24a6d2=_0x974cc[_0xf28ec6(0x1b0)],_0x442f61=this[_0xf28ec6(0x50a)],_0x14b5bb=this['_reverseMap'];if(!_0x14b5bb){_0x14b5bb=this[_0xf28ec6(0x1cc)]=[];for(var _0x3f9a94=0x0;_0x3f9a94<_0x442f61[_0xf28ec6(0x1b0)];_0x3f9a94++)_0x14b5bb[_0x442f61[_0xf28ec6(0x4f8)](_0x3f9a94)]=_0x3f9a94;}var _0x2ea4f4=_0x442f61[_0xf28ec6(0x20e)](0x40);if(_0x2ea4f4){var _0x11b0d6=_0x974cc[_0xf28ec6(0x1ee)](_0x2ea4f4);_0x11b0d6!==-0x1&&(_0x24a6d2=_0x11b0d6);}return _0x5ae941(_0x974cc,_0x24a6d2,_0x14b5bb);},'_map':_0xddbb37(0xe4)};function _0x5ae941(_0x15cd95,_0x416855,_0x4d8a82){const _0xf417f5=_0xddbb37;for(var _0x5eceb9=[],_0x4f0fcc=0x0,_0x9f7004=0x0;_0x9f7004<_0x416855;_0x9f7004++)if(_0x9f7004%0x4){var _0x1b1990=_0x4d8a82[_0x15cd95['charCodeAt'](_0x9f7004-0x1)]<<_0x9f7004%0x4*0x2,_0x5446f6=_0x4d8a82[_0x15cd95[_0xf417f5(0x4f8)](_0x9f7004)]>>>0x6-_0x9f7004%0x4*0x2,_0xd978ef=_0x1b1990|_0x5446f6;_0x5eceb9[_0x4f0fcc>>>0x2]|=_0xd978ef<<0x18-_0x4f0fcc%0x4*0x8,_0x4f0fcc++;}return _0x2bc7ac['create'](_0x5eceb9,_0x4f0fcc);}}()),_0x342f43[_0x1d3060(0x364)][_0x1d3060(0x3ce)];}));}(_0x7dfb76)),_0x7dfb76[_0x36ed05(0x241)];}var _0x4030cf={'exports':{}},_0x28ee54;function _0x1f9ac8(){const _0x326053=_0x357007;return _0x28ee54||(_0x28ee54=0x1,function(_0x1b0f8f,_0x53b525){(function(_0x10ffb0,_0x266746){_0x1b0f8f['exports']=_0x266746(_0x56fa1b());}(_0x3da64e,function(_0x27093b){const _0x3563e9=_0xbbea;return function(_0x11287f){const _0x5c0738=_0xbbea;var _0x8fc76b=_0x27093b,_0x306715=_0x8fc76b[_0x5c0738(0x3bb)],_0x2307fc=_0x306715['WordArray'],_0x2275c0=_0x306715[_0x5c0738(0x14c)],_0x18e86b=_0x8fc76b['algo'],_0x38a716=[];(function(){for(var _0x1b9f28=0x0;_0x1b9f28<0x40;_0x1b9f28++)_0x38a716[_0x1b9f28]=_0x11287f['abs'](_0x11287f['sin'](_0x1b9f28+0x1))*0x100000000|0x0;}());var _0x4a2057=_0x18e86b['MD5']=_0x2275c0[_0x5c0738(0x308)]({'_doReset':function(){const _0x142c0a=_0x5c0738;this[_0x142c0a(0x105)]=new _0x2307fc[(_0x142c0a(0x192))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2d4c53,_0x18b860){const _0x963e2e=_0x5c0738;for(var _0x342826=0x0;_0x342826<0x10;_0x342826++){var _0x16d7a6=_0x18b860+_0x342826,_0x4f8309=_0x2d4c53[_0x16d7a6];_0x2d4c53[_0x16d7a6]=(_0x4f8309<<0x8|_0x4f8309>>>0x18)&0xff00ff|(_0x4f8309<<0x18|_0x4f8309>>>0x8)&0xff00ff00;}var _0x586e6c=this[_0x963e2e(0x105)][_0x963e2e(0x1b9)],_0x261663=_0x2d4c53[_0x18b860+0x0],_0x22c249=_0x2d4c53[_0x18b860+0x1],_0x65ce0f=_0x2d4c53[_0x18b860+0x2],_0x7b182d=_0x2d4c53[_0x18b860+0x3],_0x278030=_0x2d4c53[_0x18b860+0x4],_0x1fd2b5=_0x2d4c53[_0x18b860+0x5],_0x1bace7=_0x2d4c53[_0x18b860+0x6],_0x297ae0=_0x2d4c53[_0x18b860+0x7],_0x5f5cd0=_0x2d4c53[_0x18b860+0x8],_0x57b32b=_0x2d4c53[_0x18b860+0x9],_0x533f58=_0x2d4c53[_0x18b860+0xa],_0x2617ce=_0x2d4c53[_0x18b860+0xb],_0xb879dc=_0x2d4c53[_0x18b860+0xc],_0x255851=_0x2d4c53[_0x18b860+0xd],_0x35391c=_0x2d4c53[_0x18b860+0xe],_0x17f7b7=_0x2d4c53[_0x18b860+0xf],_0x55d279=_0x586e6c[0x0],_0x5a8bff=_0x586e6c[0x1],_0xf26b2b=_0x586e6c[0x2],_0x1c1d7c=_0x586e6c[0x3];_0x55d279=_0x20d6b5(_0x55d279,_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x261663,0x7,_0x38a716[0x0]),_0x1c1d7c=_0x20d6b5(_0x1c1d7c,_0x55d279,_0x5a8bff,_0xf26b2b,_0x22c249,0xc,_0x38a716[0x1]),_0xf26b2b=_0x20d6b5(_0xf26b2b,_0x1c1d7c,_0x55d279,_0x5a8bff,_0x65ce0f,0x11,_0x38a716[0x2]),_0x5a8bff=_0x20d6b5(_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x55d279,_0x7b182d,0x16,_0x38a716[0x3]),_0x55d279=_0x20d6b5(_0x55d279,_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x278030,0x7,_0x38a716[0x4]),_0x1c1d7c=_0x20d6b5(_0x1c1d7c,_0x55d279,_0x5a8bff,_0xf26b2b,_0x1fd2b5,0xc,_0x38a716[0x5]),_0xf26b2b=_0x20d6b5(_0xf26b2b,_0x1c1d7c,_0x55d279,_0x5a8bff,_0x1bace7,0x11,_0x38a716[0x6]),_0x5a8bff=_0x20d6b5(_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x55d279,_0x297ae0,0x16,_0x38a716[0x7]),_0x55d279=_0x20d6b5(_0x55d279,_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x5f5cd0,0x7,_0x38a716[0x8]),_0x1c1d7c=_0x20d6b5(_0x1c1d7c,_0x55d279,_0x5a8bff,_0xf26b2b,_0x57b32b,0xc,_0x38a716[0x9]),_0xf26b2b=_0x20d6b5(_0xf26b2b,_0x1c1d7c,_0x55d279,_0x5a8bff,_0x533f58,0x11,_0x38a716[0xa]),_0x5a8bff=_0x20d6b5(_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x55d279,_0x2617ce,0x16,_0x38a716[0xb]),_0x55d279=_0x20d6b5(_0x55d279,_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0xb879dc,0x7,_0x38a716[0xc]),_0x1c1d7c=_0x20d6b5(_0x1c1d7c,_0x55d279,_0x5a8bff,_0xf26b2b,_0x255851,0xc,_0x38a716[0xd]),_0xf26b2b=_0x20d6b5(_0xf26b2b,_0x1c1d7c,_0x55d279,_0x5a8bff,_0x35391c,0x11,_0x38a716[0xe]),_0x5a8bff=_0x20d6b5(_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x55d279,_0x17f7b7,0x16,_0x38a716[0xf]),_0x55d279=_0x47e41a(_0x55d279,_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x22c249,0x5,_0x38a716[0x10]),_0x1c1d7c=_0x47e41a(_0x1c1d7c,_0x55d279,_0x5a8bff,_0xf26b2b,_0x1bace7,0x9,_0x38a716[0x11]),_0xf26b2b=_0x47e41a(_0xf26b2b,_0x1c1d7c,_0x55d279,_0x5a8bff,_0x2617ce,0xe,_0x38a716[0x12]),_0x5a8bff=_0x47e41a(_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x55d279,_0x261663,0x14,_0x38a716[0x13]),_0x55d279=_0x47e41a(_0x55d279,_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x1fd2b5,0x5,_0x38a716[0x14]),_0x1c1d7c=_0x47e41a(_0x1c1d7c,_0x55d279,_0x5a8bff,_0xf26b2b,_0x533f58,0x9,_0x38a716[0x15]),_0xf26b2b=_0x47e41a(_0xf26b2b,_0x1c1d7c,_0x55d279,_0x5a8bff,_0x17f7b7,0xe,_0x38a716[0x16]),_0x5a8bff=_0x47e41a(_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x55d279,_0x278030,0x14,_0x38a716[0x17]),_0x55d279=_0x47e41a(_0x55d279,_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x57b32b,0x5,_0x38a716[0x18]),_0x1c1d7c=_0x47e41a(_0x1c1d7c,_0x55d279,_0x5a8bff,_0xf26b2b,_0x35391c,0x9,_0x38a716[0x19]),_0xf26b2b=_0x47e41a(_0xf26b2b,_0x1c1d7c,_0x55d279,_0x5a8bff,_0x7b182d,0xe,_0x38a716[0x1a]),_0x5a8bff=_0x47e41a(_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x55d279,_0x5f5cd0,0x14,_0x38a716[0x1b]),_0x55d279=_0x47e41a(_0x55d279,_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x255851,0x5,_0x38a716[0x1c]),_0x1c1d7c=_0x47e41a(_0x1c1d7c,_0x55d279,_0x5a8bff,_0xf26b2b,_0x65ce0f,0x9,_0x38a716[0x1d]),_0xf26b2b=_0x47e41a(_0xf26b2b,_0x1c1d7c,_0x55d279,_0x5a8bff,_0x297ae0,0xe,_0x38a716[0x1e]),_0x5a8bff=_0x47e41a(_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x55d279,_0xb879dc,0x14,_0x38a716[0x1f]),_0x55d279=_0x2a1147(_0x55d279,_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x1fd2b5,0x4,_0x38a716[0x20]),_0x1c1d7c=_0x2a1147(_0x1c1d7c,_0x55d279,_0x5a8bff,_0xf26b2b,_0x5f5cd0,0xb,_0x38a716[0x21]),_0xf26b2b=_0x2a1147(_0xf26b2b,_0x1c1d7c,_0x55d279,_0x5a8bff,_0x2617ce,0x10,_0x38a716[0x22]),_0x5a8bff=_0x2a1147(_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x55d279,_0x35391c,0x17,_0x38a716[0x23]),_0x55d279=_0x2a1147(_0x55d279,_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x22c249,0x4,_0x38a716[0x24]),_0x1c1d7c=_0x2a1147(_0x1c1d7c,_0x55d279,_0x5a8bff,_0xf26b2b,_0x278030,0xb,_0x38a716[0x25]),_0xf26b2b=_0x2a1147(_0xf26b2b,_0x1c1d7c,_0x55d279,_0x5a8bff,_0x297ae0,0x10,_0x38a716[0x26]),_0x5a8bff=_0x2a1147(_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x55d279,_0x533f58,0x17,_0x38a716[0x27]),_0x55d279=_0x2a1147(_0x55d279,_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x255851,0x4,_0x38a716[0x28]),_0x1c1d7c=_0x2a1147(_0x1c1d7c,_0x55d279,_0x5a8bff,_0xf26b2b,_0x261663,0xb,_0x38a716[0x29]),_0xf26b2b=_0x2a1147(_0xf26b2b,_0x1c1d7c,_0x55d279,_0x5a8bff,_0x7b182d,0x10,_0x38a716[0x2a]),_0x5a8bff=_0x2a1147(_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x55d279,_0x1bace7,0x17,_0x38a716[0x2b]),_0x55d279=_0x2a1147(_0x55d279,_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x57b32b,0x4,_0x38a716[0x2c]),_0x1c1d7c=_0x2a1147(_0x1c1d7c,_0x55d279,_0x5a8bff,_0xf26b2b,_0xb879dc,0xb,_0x38a716[0x2d]),_0xf26b2b=_0x2a1147(_0xf26b2b,_0x1c1d7c,_0x55d279,_0x5a8bff,_0x17f7b7,0x10,_0x38a716[0x2e]),_0x5a8bff=_0x2a1147(_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x55d279,_0x65ce0f,0x17,_0x38a716[0x2f]),_0x55d279=_0x22802a(_0x55d279,_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x261663,0x6,_0x38a716[0x30]),_0x1c1d7c=_0x22802a(_0x1c1d7c,_0x55d279,_0x5a8bff,_0xf26b2b,_0x297ae0,0xa,_0x38a716[0x31]),_0xf26b2b=_0x22802a(_0xf26b2b,_0x1c1d7c,_0x55d279,_0x5a8bff,_0x35391c,0xf,_0x38a716[0x32]),_0x5a8bff=_0x22802a(_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x55d279,_0x1fd2b5,0x15,_0x38a716[0x33]),_0x55d279=_0x22802a(_0x55d279,_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0xb879dc,0x6,_0x38a716[0x34]),_0x1c1d7c=_0x22802a(_0x1c1d7c,_0x55d279,_0x5a8bff,_0xf26b2b,_0x7b182d,0xa,_0x38a716[0x35]),_0xf26b2b=_0x22802a(_0xf26b2b,_0x1c1d7c,_0x55d279,_0x5a8bff,_0x533f58,0xf,_0x38a716[0x36]),_0x5a8bff=_0x22802a(_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x55d279,_0x22c249,0x15,_0x38a716[0x37]),_0x55d279=_0x22802a(_0x55d279,_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x5f5cd0,0x6,_0x38a716[0x38]),_0x1c1d7c=_0x22802a(_0x1c1d7c,_0x55d279,_0x5a8bff,_0xf26b2b,_0x17f7b7,0xa,_0x38a716[0x39]),_0xf26b2b=_0x22802a(_0xf26b2b,_0x1c1d7c,_0x55d279,_0x5a8bff,_0x1bace7,0xf,_0x38a716[0x3a]),_0x5a8bff=_0x22802a(_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x55d279,_0x255851,0x15,_0x38a716[0x3b]),_0x55d279=_0x22802a(_0x55d279,_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x278030,0x6,_0x38a716[0x3c]),_0x1c1d7c=_0x22802a(_0x1c1d7c,_0x55d279,_0x5a8bff,_0xf26b2b,_0x2617ce,0xa,_0x38a716[0x3d]),_0xf26b2b=_0x22802a(_0xf26b2b,_0x1c1d7c,_0x55d279,_0x5a8bff,_0x65ce0f,0xf,_0x38a716[0x3e]),_0x5a8bff=_0x22802a(_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x55d279,_0x57b32b,0x15,_0x38a716[0x3f]),_0x586e6c[0x0]=_0x586e6c[0x0]+_0x55d279|0x0,_0x586e6c[0x1]=_0x586e6c[0x1]+_0x5a8bff|0x0,_0x586e6c[0x2]=_0x586e6c[0x2]+_0xf26b2b|0x0,_0x586e6c[0x3]=_0x586e6c[0x3]+_0x1c1d7c|0x0;},'_doFinalize':function(){const _0x3b3b15=_0x5c0738;var _0x73307a=this[_0x3b3b15(0x2f7)],_0x35b8cc=_0x73307a[_0x3b3b15(0x1b9)],_0x15b2ef=this[_0x3b3b15(0x3c3)]*0x8,_0x2ff55d=_0x73307a[_0x3b3b15(0x398)]*0x8;_0x35b8cc[_0x2ff55d>>>0x5]|=0x80<<0x18-_0x2ff55d%0x20;var _0x4c52a4=_0x11287f[_0x3b3b15(0x251)](_0x15b2ef/0x100000000),_0x3e2da6=_0x15b2ef;_0x35b8cc[(_0x2ff55d+0x40>>>0x9<<0x4)+0xf]=(_0x4c52a4<<0x8|_0x4c52a4>>>0x18)&0xff00ff|(_0x4c52a4<<0x18|_0x4c52a4>>>0x8)&0xff00ff00,_0x35b8cc[(_0x2ff55d+0x40>>>0x9<<0x4)+0xe]=(_0x3e2da6<<0x8|_0x3e2da6>>>0x18)&0xff00ff|(_0x3e2da6<<0x18|_0x3e2da6>>>0x8)&0xff00ff00,_0x73307a['sigBytes']=(_0x35b8cc[_0x3b3b15(0x1b0)]+0x1)*0x4,this[_0x3b3b15(0x269)]();for(var _0x5e88c1=this[_0x3b3b15(0x105)],_0x46ae27=_0x5e88c1[_0x3b3b15(0x1b9)],_0x43f10a=0x0;_0x43f10a<0x4;_0x43f10a++){var _0xb51c85=_0x46ae27[_0x43f10a];_0x46ae27[_0x43f10a]=(_0xb51c85<<0x8|_0xb51c85>>>0x18)&0xff00ff|(_0xb51c85<<0x18|_0xb51c85>>>0x8)&0xff00ff00;}return _0x5e88c1;},'clone':function(){const _0x4324ed=_0x5c0738;var _0x451451=_0x2275c0[_0x4324ed(0x49f)][_0x4324ed(0x4fe)](this);return _0x451451[_0x4324ed(0x105)]=this[_0x4324ed(0x105)][_0x4324ed(0x49f)](),_0x451451;}});function _0x20d6b5(_0x4610d4,_0x1cf6f5,_0x4cfccb,_0x3103e0,_0x903d5d,_0x135195,_0x133ea9){var _0x4bacdc=_0x4610d4+(_0x1cf6f5&_0x4cfccb|~_0x1cf6f5&_0x3103e0)+_0x903d5d+_0x133ea9;return(_0x4bacdc<<_0x135195|_0x4bacdc>>>0x20-_0x135195)+_0x1cf6f5;}function _0x47e41a(_0x51c02b,_0x4af5f6,_0x3a9f75,_0x50020f,_0x29bb0d,_0x26df54,_0x1d8845){var _0x9d63a9=_0x51c02b+(_0x4af5f6&_0x50020f|_0x3a9f75&~_0x50020f)+_0x29bb0d+_0x1d8845;return(_0x9d63a9<<_0x26df54|_0x9d63a9>>>0x20-_0x26df54)+_0x4af5f6;}function _0x2a1147(_0x29ed74,_0x10589d,_0xb4b8ae,_0x11f4b1,_0x5ada2c,_0x145d18,_0x51d749){var _0xeb0dfb=_0x29ed74+(_0x10589d^_0xb4b8ae^_0x11f4b1)+_0x5ada2c+_0x51d749;return(_0xeb0dfb<<_0x145d18|_0xeb0dfb>>>0x20-_0x145d18)+_0x10589d;}function _0x22802a(_0x39686e,_0x12d4a5,_0x31956a,_0x22da16,_0x46818b,_0x5396d8,_0x3d3187){var _0x2704ca=_0x39686e+(_0x31956a^(_0x12d4a5|~_0x22da16))+_0x46818b+_0x3d3187;return(_0x2704ca<<_0x5396d8|_0x2704ca>>>0x20-_0x5396d8)+_0x12d4a5;}_0x8fc76b[_0x5c0738(0x3a9)]=_0x2275c0['_createHelper'](_0x4a2057),_0x8fc76b[_0x5c0738(0x571)]=_0x2275c0['_createHmacHelper'](_0x4a2057);}(Math),_0x27093b[_0x3563e9(0x3a9)];}));}(_0x4030cf)),_0x4030cf[_0x326053(0x241)];}var _0x1cdf78={'exports':{}},_0x3ef941={'exports':{}},_0x1c35ba;function _0x15db80(){const _0x88364b=_0x357007;return _0x1c35ba||(_0x1c35ba=0x1,function(_0x2c1918,_0x4aa426){(function(_0x3b1a05,_0x154193){_0x2c1918['exports']=_0x154193(_0x56fa1b());}(_0x3da64e,function(_0x5c36aa){const _0x503780=_0xbbea;return(function(){const _0x5dcd4b=_0xbbea;var _0x5e7a0d=_0x5c36aa,_0x4e5425=_0x5e7a0d['lib'],_0x430a40=_0x4e5425[_0x5dcd4b(0x4a8)],_0x1e9b07=_0x4e5425['Hasher'],_0x20a664=_0x5e7a0d[_0x5dcd4b(0x4d1)],_0x4a80ea=[],_0x5d5485=_0x20a664[_0x5dcd4b(0x4b5)]=_0x1e9b07['extend']({'_doReset':function(){const _0x57419d=_0x5dcd4b;this[_0x57419d(0x105)]=new _0x430a40[(_0x57419d(0x192))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x5c555a,_0xa9c5e3){const _0x83c8e6=_0x5dcd4b;for(var _0xb23d9c=this[_0x83c8e6(0x105)][_0x83c8e6(0x1b9)],_0x49933d=_0xb23d9c[0x0],_0x40475e=_0xb23d9c[0x1],_0x5e4ae7=_0xb23d9c[0x2],_0x29f612=_0xb23d9c[0x3],_0x4df3b4=_0xb23d9c[0x4],_0x1ceac4=0x0;_0x1ceac4<0x50;_0x1ceac4++){if(_0x1ceac4<0x10)_0x4a80ea[_0x1ceac4]=_0x5c555a[_0xa9c5e3+_0x1ceac4]|0x0;else{var _0x22d33d=_0x4a80ea[_0x1ceac4-0x3]^_0x4a80ea[_0x1ceac4-0x8]^_0x4a80ea[_0x1ceac4-0xe]^_0x4a80ea[_0x1ceac4-0x10];_0x4a80ea[_0x1ceac4]=_0x22d33d<<0x1|_0x22d33d>>>0x1f;}var _0x1a75a2=(_0x49933d<<0x5|_0x49933d>>>0x1b)+_0x4df3b4+_0x4a80ea[_0x1ceac4];_0x1ceac4<0x14?_0x1a75a2+=(_0x40475e&_0x5e4ae7|~_0x40475e&_0x29f612)+0x5a827999:_0x1ceac4<0x28?_0x1a75a2+=(_0x40475e^_0x5e4ae7^_0x29f612)+0x6ed9eba1:_0x1ceac4<0x3c?_0x1a75a2+=(_0x40475e&_0x5e4ae7|_0x40475e&_0x29f612|_0x5e4ae7&_0x29f612)-0x70e44324:_0x1a75a2+=(_0x40475e^_0x5e4ae7^_0x29f612)-0x359d3e2a,_0x4df3b4=_0x29f612,_0x29f612=_0x5e4ae7,_0x5e4ae7=_0x40475e<<0x1e|_0x40475e>>>0x2,_0x40475e=_0x49933d,_0x49933d=_0x1a75a2;}_0xb23d9c[0x0]=_0xb23d9c[0x0]+_0x49933d|0x0,_0xb23d9c[0x1]=_0xb23d9c[0x1]+_0x40475e|0x0,_0xb23d9c[0x2]=_0xb23d9c[0x2]+_0x5e4ae7|0x0,_0xb23d9c[0x3]=_0xb23d9c[0x3]+_0x29f612|0x0,_0xb23d9c[0x4]=_0xb23d9c[0x4]+_0x4df3b4|0x0;},'_doFinalize':function(){const _0x348570=_0x5dcd4b;var _0xfc59c=this[_0x348570(0x2f7)],_0x1ea4fc=_0xfc59c[_0x348570(0x1b9)],_0x535b7b=this[_0x348570(0x3c3)]*0x8,_0x1a15e0=_0xfc59c['sigBytes']*0x8;return _0x1ea4fc[_0x1a15e0>>>0x5]|=0x80<<0x18-_0x1a15e0%0x20,_0x1ea4fc[(_0x1a15e0+0x40>>>0x9<<0x4)+0xe]=Math[_0x348570(0x251)](_0x535b7b/0x100000000),_0x1ea4fc[(_0x1a15e0+0x40>>>0x9<<0x4)+0xf]=_0x535b7b,_0xfc59c[_0x348570(0x398)]=_0x1ea4fc['length']*0x4,this[_0x348570(0x269)](),this['_hash'];},'clone':function(){const _0x40ea5f=_0x5dcd4b;var _0x43cab6=_0x1e9b07[_0x40ea5f(0x49f)][_0x40ea5f(0x4fe)](this);return _0x43cab6[_0x40ea5f(0x105)]=this['_hash'][_0x40ea5f(0x49f)](),_0x43cab6;}});_0x5e7a0d[_0x5dcd4b(0x4b5)]=_0x1e9b07[_0x5dcd4b(0x557)](_0x5d5485),_0x5e7a0d[_0x5dcd4b(0x385)]=_0x1e9b07['_createHmacHelper'](_0x5d5485);}()),_0x5c36aa[_0x503780(0x4b5)];}));}(_0x3ef941)),_0x3ef941[_0x88364b(0x241)];}var _0xd3e615={'exports':{}},_0x1c8438;function _0xcc930a(){return _0x1c8438||(_0x1c8438=0x1,function(_0x120fff,_0x29e7a8){(function(_0x5645f2,_0x2648fb){_0x120fff['exports']=_0x2648fb(_0x56fa1b());}(_0x3da64e,function(_0x490f20){(function(){const _0x5562ee=_0xbbea;var _0x58e04c=_0x490f20,_0x40ccaf=_0x58e04c[_0x5562ee(0x3bb)],_0x20528e=_0x40ccaf['Base'],_0x474cbd=_0x58e04c[_0x5562ee(0x364)],_0x408d18=_0x474cbd[_0x5562ee(0x185)],_0xd072a3=_0x58e04c[_0x5562ee(0x4d1)];_0xd072a3[_0x5562ee(0x4b7)]=_0x20528e[_0x5562ee(0x308)]({'init':function(_0x5acf5b,_0x4b74c3){const _0x24d26f=_0x5562ee;_0x5acf5b=this[_0x24d26f(0x2c0)]=new _0x5acf5b[(_0x24d26f(0x192))](),typeof _0x4b74c3=='string'&&(_0x4b74c3=_0x408d18[_0x24d26f(0x406)](_0x4b74c3));var _0x4152e9=_0x5acf5b['blockSize'],_0x3859b4=_0x4152e9*0x4;_0x4b74c3[_0x24d26f(0x398)]>_0x3859b4&&(_0x4b74c3=_0x5acf5b[_0x24d26f(0x497)](_0x4b74c3)),_0x4b74c3[_0x24d26f(0x15e)]();for(var _0xbb1648=this[_0x24d26f(0x534)]=_0x4b74c3[_0x24d26f(0x49f)](),_0x218166=this[_0x24d26f(0x4ea)]=_0x4b74c3[_0x24d26f(0x49f)](),_0x352210=_0xbb1648[_0x24d26f(0x1b9)],_0x44c538=_0x218166[_0x24d26f(0x1b9)],_0x16a275=0x0;_0x16a275<_0x4152e9;_0x16a275++)_0x352210[_0x16a275]^=0x5c5c5c5c,_0x44c538[_0x16a275]^=0x36363636;_0xbb1648[_0x24d26f(0x398)]=_0x218166[_0x24d26f(0x398)]=_0x3859b4,this[_0x24d26f(0x1cd)]();},'reset':function(){const _0x18d007=_0x5562ee;var _0x30588a=this[_0x18d007(0x2c0)];_0x30588a['reset'](),_0x30588a[_0x18d007(0x344)](this[_0x18d007(0x4ea)]);},'update':function(_0x19f524){const _0x2ac027=_0x5562ee;return this[_0x2ac027(0x2c0)]['update'](_0x19f524),this;},'finalize':function(_0x2c8bc6){const _0x309310=_0x5562ee;var _0x22bb3a=this['_hasher'],_0x1c4a98=_0x22bb3a[_0x309310(0x497)](_0x2c8bc6);_0x22bb3a[_0x309310(0x1cd)]();var _0x407de6=_0x22bb3a['finalize'](this['_oKey'][_0x309310(0x49f)]()['concat'](_0x1c4a98));return _0x407de6;}});}());}));}(_0xd3e615)),_0xd3e615['exports'];}var _0x4b61f0;function _0x445a4a(){const _0x459557=_0x357007;return _0x4b61f0||(_0x4b61f0=0x1,function(_0x2da1f1,_0x21df92){(function(_0x3ef034,_0x3860fd,_0x40d7d4){const _0x1a3636=_0xbbea;_0x2da1f1[_0x1a3636(0x241)]=_0x3860fd(_0x56fa1b(),_0x15db80(),_0xcc930a());}(_0x3da64e,function(_0xb30d06){const _0x270606=_0xbbea;return(function(){const _0x95dbbe=_0xbbea;var _0x4e7d3d=_0xb30d06,_0x124d44=_0x4e7d3d[_0x95dbbe(0x3bb)],_0x39b47a=_0x124d44[_0x95dbbe(0x562)],_0x590188=_0x124d44[_0x95dbbe(0x4a8)],_0x25df04=_0x4e7d3d[_0x95dbbe(0x4d1)],_0x357f54=_0x25df04[_0x95dbbe(0x3a9)],_0x51acd2=_0x25df04[_0x95dbbe(0x464)]=_0x39b47a[_0x95dbbe(0x308)]({'cfg':_0x39b47a[_0x95dbbe(0x308)]({'keySize':0x80/0x20,'hasher':_0x357f54,'iterations':0x1}),'init':function(_0x445172){const _0x301d89=_0x95dbbe;this[_0x301d89(0x151)]=this[_0x301d89(0x151)][_0x301d89(0x308)](_0x445172);},'compute':function(_0x2a6b08,_0x1c9a2f){const _0xd79d2c=_0x95dbbe;for(var _0x9f8df9,_0x8bb397=this[_0xd79d2c(0x151)],_0x3e625e=_0x8bb397[_0xd79d2c(0x155)][_0xd79d2c(0x551)](),_0x241b35=_0x590188[_0xd79d2c(0x551)](),_0x5c0136=_0x241b35[_0xd79d2c(0x1b9)],_0x43ac48=_0x8bb397[_0xd79d2c(0x4cc)],_0x67d8f8=_0x8bb397[_0xd79d2c(0x3fc)];_0x5c0136[_0xd79d2c(0x1b0)]<_0x43ac48;){_0x9f8df9&&_0x3e625e[_0xd79d2c(0x344)](_0x9f8df9),_0x9f8df9=_0x3e625e[_0xd79d2c(0x344)](_0x2a6b08)[_0xd79d2c(0x497)](_0x1c9a2f),_0x3e625e[_0xd79d2c(0x1cd)]();for(var _0x4a5a72=0x1;_0x4a5a72<_0x67d8f8;_0x4a5a72++)_0x9f8df9=_0x3e625e['finalize'](_0x9f8df9),_0x3e625e[_0xd79d2c(0x1cd)]();_0x241b35[_0xd79d2c(0x38a)](_0x9f8df9);}return _0x241b35[_0xd79d2c(0x398)]=_0x43ac48*0x4,_0x241b35;}});_0x4e7d3d[_0x95dbbe(0x464)]=function(_0x27be41,_0x50e91c,_0x1d3667){const _0xf9db09=_0x95dbbe;return _0x51acd2[_0xf9db09(0x551)](_0x1d3667)[_0xf9db09(0x30a)](_0x27be41,_0x50e91c);};}()),_0xb30d06[_0x270606(0x464)];}));}(_0x1cdf78)),_0x1cdf78[_0x459557(0x241)];}var _0x31667a={'exports':{}},_0x18afa3;function _0x3f1b65(){const _0x591744=_0x357007;return _0x18afa3||(_0x18afa3=0x1,function(_0x11bd96,_0x38d6e7){(function(_0x48193c,_0x4accd0,_0x52d1b3){const _0x4dfaba=_0xbbea;_0x11bd96[_0x4dfaba(0x241)]=_0x4accd0(_0x56fa1b(),_0x445a4a());}(_0x3da64e,function(_0x2dd503){const _0x361cee=_0xbbea;_0x2dd503[_0x361cee(0x3bb)][_0x361cee(0x1df)]||function(_0x2fdd23){const _0x1c9091=_0x361cee;var _0x224477=_0x2dd503,_0x4bec8f=_0x224477[_0x1c9091(0x3bb)],_0x48e714=_0x4bec8f[_0x1c9091(0x562)],_0x1e7d98=_0x4bec8f[_0x1c9091(0x4a8)],_0x58f00a=_0x4bec8f[_0x1c9091(0x23e)],_0x19d220=_0x224477['enc'];_0x19d220[_0x1c9091(0x185)];var _0x2c975e=_0x19d220[_0x1c9091(0x3ce)],_0x2b669f=_0x224477['algo'],_0x1273bf=_0x2b669f[_0x1c9091(0x464)],_0x23eb3f=_0x4bec8f[_0x1c9091(0x1df)]=_0x58f00a[_0x1c9091(0x308)]({'cfg':_0x48e714[_0x1c9091(0x308)](),'createEncryptor':function(_0x2dbb40,_0x41c375){const _0x3a9878=_0x1c9091;return this['create'](this[_0x3a9878(0x22a)],_0x2dbb40,_0x41c375);},'createDecryptor':function(_0x2803da,_0x5e06ee){const _0x5c7023=_0x1c9091;return this['create'](this[_0x5c7023(0x599)],_0x2803da,_0x5e06ee);},'init':function(_0x4d95e4,_0x12264b,_0x1483fa){const _0x3f1848=_0x1c9091;this[_0x3f1848(0x151)]=this[_0x3f1848(0x151)]['extend'](_0x1483fa),this[_0x3f1848(0x4f2)]=_0x4d95e4,this[_0x3f1848(0x515)]=_0x12264b,this[_0x3f1848(0x1cd)]();},'reset':function(){const _0x1125bf=_0x1c9091;_0x58f00a[_0x1125bf(0x1cd)]['call'](this),this[_0x1125bf(0x265)]();},'process':function(_0x3f8de7){const _0x501140=_0x1c9091;return this[_0x501140(0x12e)](_0x3f8de7),this[_0x501140(0x269)]();},'finalize':function(_0x5a7221){const _0x404eb4=_0x1c9091;_0x5a7221&&this['_append'](_0x5a7221);var _0x3fc479=this[_0x404eb4(0x132)]();return _0x3fc479;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2ddf52(_0x583af0){const _0x48815c=_0xbbea;return typeof _0x583af0==_0x48815c(0x282)?_0x42d7d9:_0xecedfb;}return function(_0x2c385f){return{'encrypt':function(_0x5aefc8,_0x1546b6,_0x37ffa6){const _0x7dc5a2=_0xbbea;return _0x2ddf52(_0x1546b6)[_0x7dc5a2(0x396)](_0x2c385f,_0x5aefc8,_0x1546b6,_0x37ffa6);},'decrypt':function(_0x4f9ff8,_0x5ab7d2,_0x264330){const _0x2d1b48=_0xbbea;return _0x2ddf52(_0x5ab7d2)[_0x2d1b48(0x20f)](_0x2c385f,_0x4f9ff8,_0x5ab7d2,_0x264330);}};};}())});_0x4bec8f['StreamCipher']=_0x23eb3f['extend']({'_doFinalize':function(){const _0x3d4376=_0x1c9091;var _0x57b5ea=this[_0x3d4376(0x269)](!0x0);return _0x57b5ea;},'blockSize':0x1});var _0x3bf87f=_0x224477[_0x1c9091(0x21c)]={},_0x2a6be1=_0x4bec8f[_0x1c9091(0x16d)]=_0x48e714[_0x1c9091(0x308)]({'createEncryptor':function(_0x3c7e93,_0x564eea){const _0x3ec546=_0x1c9091;return this[_0x3ec546(0x112)][_0x3ec546(0x551)](_0x3c7e93,_0x564eea);},'createDecryptor':function(_0xaab240,_0x494fd4){const _0x36f454=_0x1c9091;return this[_0x36f454(0x149)]['create'](_0xaab240,_0x494fd4);},'init':function(_0x17541e,_0x5ccca4){const _0x30bce6=_0x1c9091;this['_cipher']=_0x17541e,this[_0x30bce6(0x228)]=_0x5ccca4;}}),_0x5a9596=_0x3bf87f[_0x1c9091(0x39f)]=(function(){const _0xdffe03=_0x1c9091;var _0x18ab93=_0x2a6be1[_0xdffe03(0x308)]();_0x18ab93[_0xdffe03(0x112)]=_0x18ab93['extend']({'processBlock':function(_0x4282e1,_0x358d06){const _0x4ece82=_0xdffe03;var _0x40e025=this[_0x4ece82(0x14d)],_0x26547f=_0x40e025[_0x4ece82(0x371)];_0x2b3aa1[_0x4ece82(0x4fe)](this,_0x4282e1,_0x358d06,_0x26547f),_0x40e025[_0x4ece82(0x382)](_0x4282e1,_0x358d06),this[_0x4ece82(0x54b)]=_0x4282e1[_0x4ece82(0x3b7)](_0x358d06,_0x358d06+_0x26547f);}}),_0x18ab93[_0xdffe03(0x149)]=_0x18ab93[_0xdffe03(0x308)]({'processBlock':function(_0x10bf4e,_0x242d52){const _0x5215e0=_0xdffe03;var _0x443962=this['_cipher'],_0x59dfbe=_0x443962[_0x5215e0(0x371)],_0x3051e1=_0x10bf4e[_0x5215e0(0x3b7)](_0x242d52,_0x242d52+_0x59dfbe);_0x443962[_0x5215e0(0x489)](_0x10bf4e,_0x242d52),_0x2b3aa1[_0x5215e0(0x4fe)](this,_0x10bf4e,_0x242d52,_0x59dfbe),this[_0x5215e0(0x54b)]=_0x3051e1;}});function _0x2b3aa1(_0xb5c7f4,_0x40b6a1,_0x3080cf){const _0x1c0482=_0xdffe03;var _0x468710,_0x54bea7=this['_iv'];_0x54bea7?(_0x468710=_0x54bea7,this[_0x1c0482(0x228)]=_0x2fdd23):_0x468710=this[_0x1c0482(0x54b)];for(var _0x38a580=0x0;_0x38a580<_0x3080cf;_0x38a580++)_0xb5c7f4[_0x40b6a1+_0x38a580]^=_0x468710[_0x38a580];}return _0x18ab93;}()),_0x56d619=_0x224477[_0x1c9091(0x56e)]={},_0x59c880=_0x56d619[_0x1c9091(0x3e3)]={'pad':function(_0x106aee,_0x209067){const _0x59e9c8=_0x1c9091;for(var _0x4dfc42=_0x209067*0x4,_0x209415=_0x4dfc42-_0x106aee['sigBytes']%_0x4dfc42,_0xffc52d=_0x209415<<0x18|_0x209415<<0x10|_0x209415<<0x8|_0x209415,_0x301e76=[],_0x2f9ea8=0x0;_0x2f9ea8<_0x209415;_0x2f9ea8+=0x4)_0x301e76[_0x59e9c8(0x39d)](_0xffc52d);var _0x217b48=_0x1e7d98[_0x59e9c8(0x551)](_0x301e76,_0x209415);_0x106aee['concat'](_0x217b48);},'unpad':function(_0x4b5c7e){const _0x2dab80=_0x1c9091;var _0x3ea10e=_0x4b5c7e[_0x2dab80(0x1b9)][_0x4b5c7e[_0x2dab80(0x398)]-0x1>>>0x2]&0xff;_0x4b5c7e['sigBytes']-=_0x3ea10e;}};_0x4bec8f[_0x1c9091(0x1ad)]=_0x23eb3f[_0x1c9091(0x308)]({'cfg':_0x23eb3f['cfg'][_0x1c9091(0x308)]({'mode':_0x5a9596,'padding':_0x59c880}),'reset':function(){const _0x5bfc63=_0x1c9091;var _0x281e7e;_0x23eb3f[_0x5bfc63(0x1cd)][_0x5bfc63(0x4fe)](this);var _0x5414c3=this['cfg'],_0x3cf2e0=_0x5414c3['iv'],_0x4cbee5=_0x5414c3[_0x5bfc63(0x21c)];this['_xformMode']==this['_ENC_XFORM_MODE']?_0x281e7e=_0x4cbee5[_0x5bfc63(0x1a8)]:(_0x281e7e=_0x4cbee5['createDecryptor'],this['_minBufferSize']=0x1),this[_0x5bfc63(0x59e)]&&this['_mode'][_0x5bfc63(0x2f3)]==_0x281e7e?this[_0x5bfc63(0x59e)]['init'](this,_0x3cf2e0&&_0x3cf2e0['words']):(this[_0x5bfc63(0x59e)]=_0x281e7e[_0x5bfc63(0x4fe)](_0x4cbee5,this,_0x3cf2e0&&_0x3cf2e0[_0x5bfc63(0x1b9)]),this[_0x5bfc63(0x59e)]['__creator']=_0x281e7e);},'_doProcessBlock':function(_0x1c49e8,_0x621969){const _0x5f3b7b=_0x1c9091;this[_0x5f3b7b(0x59e)][_0x5f3b7b(0x2fe)](_0x1c49e8,_0x621969);},'_doFinalize':function(){const _0x50eff6=_0x1c9091;var _0x55b95b,_0x50a1b4=this[_0x50eff6(0x151)][_0x50eff6(0x106)];return this[_0x50eff6(0x4f2)]==this[_0x50eff6(0x22a)]?(_0x50a1b4[_0x50eff6(0x56e)](this[_0x50eff6(0x2f7)],this[_0x50eff6(0x371)]),_0x55b95b=this[_0x50eff6(0x269)](!0x0)):(_0x55b95b=this['_process'](!0x0),_0x50a1b4[_0x50eff6(0x172)](_0x55b95b)),_0x55b95b;},'blockSize':0x80/0x20});var _0xceb61c=_0x4bec8f['CipherParams']=_0x48e714[_0x1c9091(0x308)]({'init':function(_0x300a2a){const _0x4cd5ca=_0x1c9091;this[_0x4cd5ca(0xfe)](_0x300a2a);},'toString':function(_0xe2d174){const _0xf2e0ed=_0x1c9091;return(_0xe2d174||this['formatter'])[_0xf2e0ed(0x219)](this);}}),_0x494e8a=_0x224477[_0x1c9091(0x23c)]={},_0x52731c=_0x494e8a['OpenSSL']={'stringify':function(_0x1bb985){const _0x136387=_0x1c9091;var _0x1f9b3a,_0x5b2761=_0x1bb985['ciphertext'],_0x23bfe6=_0x1bb985[_0x136387(0x28a)];return _0x23bfe6?_0x1f9b3a=_0x1e7d98[_0x136387(0x551)]([0x53616c74,0x65645f5f])[_0x136387(0x38a)](_0x23bfe6)['concat'](_0x5b2761):_0x1f9b3a=_0x5b2761,_0x1f9b3a[_0x136387(0x14b)](_0x2c975e);},'parse':function(_0x5d38e5){const _0xf4a609=_0x1c9091;var _0x493748,_0x3edef2=_0x2c975e[_0xf4a609(0x406)](_0x5d38e5),_0x4766aa=_0x3edef2[_0xf4a609(0x1b9)];return _0x4766aa[0x0]==0x53616c74&&_0x4766aa[0x1]==0x65645f5f&&(_0x493748=_0x1e7d98['create'](_0x4766aa[_0xf4a609(0x3b7)](0x2,0x4)),_0x4766aa[_0xf4a609(0x2da)](0x0,0x4),_0x3edef2[_0xf4a609(0x398)]-=0x10),_0xceb61c['create']({'ciphertext':_0x3edef2,'salt':_0x493748});}},_0xecedfb=_0x4bec8f[_0x1c9091(0x432)]=_0x48e714[_0x1c9091(0x308)]({'cfg':_0x48e714[_0x1c9091(0x308)]({'format':_0x52731c}),'encrypt':function(_0x2d7af0,_0x3ef196,_0x38db34,_0x45cf06){const _0x4d79a5=_0x1c9091;_0x45cf06=this[_0x4d79a5(0x151)][_0x4d79a5(0x308)](_0x45cf06);var _0x6e5042=_0x2d7af0['createEncryptor'](_0x38db34,_0x45cf06),_0x2ad338=_0x6e5042[_0x4d79a5(0x497)](_0x3ef196),_0x184f78=_0x6e5042[_0x4d79a5(0x151)];return _0xceb61c[_0x4d79a5(0x551)]({'ciphertext':_0x2ad338,'key':_0x38db34,'iv':_0x184f78['iv'],'algorithm':_0x2d7af0,'mode':_0x184f78[_0x4d79a5(0x21c)],'padding':_0x184f78['padding'],'blockSize':_0x2d7af0[_0x4d79a5(0x371)],'formatter':_0x45cf06[_0x4d79a5(0x23c)]});},'decrypt':function(_0x30c46c,_0x548b20,_0x3103bf,_0x3c0823){const _0x32531b=_0x1c9091;_0x3c0823=this[_0x32531b(0x151)][_0x32531b(0x308)](_0x3c0823),_0x548b20=this[_0x32531b(0x3ad)](_0x548b20,_0x3c0823[_0x32531b(0x23c)]);var _0x4d2fd0=_0x30c46c[_0x32531b(0x5ac)](_0x3103bf,_0x3c0823)[_0x32531b(0x497)](_0x548b20[_0x32531b(0x29e)]);return _0x4d2fd0;},'_parse':function(_0x534f09,_0x2ec7ed){const _0x5666a8=_0x1c9091;return typeof _0x534f09=='string'?_0x2ec7ed[_0x5666a8(0x406)](_0x534f09,this):_0x534f09;}}),_0x395c31=_0x224477['kdf']={},_0x46c60f=_0x395c31[_0x1c9091(0x37f)]={'execute':function(_0x46b04c,_0x5a3881,_0x59c364,_0x15b345,_0x37a6ce){const _0x1d2461=_0x1c9091;if(_0x15b345||(_0x15b345=_0x1e7d98[_0x1d2461(0x524)](0x40/0x8)),_0x37a6ce)var _0x9b0c8d=_0x1273bf[_0x1d2461(0x551)]({'keySize':_0x5a3881+_0x59c364,'hasher':_0x37a6ce})[_0x1d2461(0x30a)](_0x46b04c,_0x15b345);else var _0x9b0c8d=_0x1273bf[_0x1d2461(0x551)]({'keySize':_0x5a3881+_0x59c364})[_0x1d2461(0x30a)](_0x46b04c,_0x15b345);var _0x5d5bea=_0x1e7d98[_0x1d2461(0x551)](_0x9b0c8d['words'][_0x1d2461(0x3b7)](_0x5a3881),_0x59c364*0x4);return _0x9b0c8d[_0x1d2461(0x398)]=_0x5a3881*0x4,_0xceb61c['create']({'key':_0x9b0c8d,'iv':_0x5d5bea,'salt':_0x15b345});}},_0x42d7d9=_0x4bec8f[_0x1c9091(0x2a9)]=_0xecedfb[_0x1c9091(0x308)]({'cfg':_0xecedfb[_0x1c9091(0x151)]['extend']({'kdf':_0x46c60f}),'encrypt':function(_0x5c68ee,_0x52cb1b,_0x51d6d2,_0x425cd9){const _0x58cb7a=_0x1c9091;_0x425cd9=this[_0x58cb7a(0x151)][_0x58cb7a(0x308)](_0x425cd9);var _0x29a989=_0x425cd9[_0x58cb7a(0x3ed)][_0x58cb7a(0x2ae)](_0x51d6d2,_0x5c68ee[_0x58cb7a(0x4cc)],_0x5c68ee['ivSize'],_0x425cd9[_0x58cb7a(0x28a)],_0x425cd9[_0x58cb7a(0x155)]);_0x425cd9['iv']=_0x29a989['iv'];var _0x5de6c0=_0xecedfb[_0x58cb7a(0x396)][_0x58cb7a(0x4fe)](this,_0x5c68ee,_0x52cb1b,_0x29a989['key'],_0x425cd9);return _0x5de6c0[_0x58cb7a(0xfe)](_0x29a989),_0x5de6c0;},'decrypt':function(_0x71d2b8,_0x16f832,_0x1c507d,_0x3bffc9){const _0x9027a7=_0x1c9091;_0x3bffc9=this[_0x9027a7(0x151)][_0x9027a7(0x308)](_0x3bffc9),_0x16f832=this['_parse'](_0x16f832,_0x3bffc9[_0x9027a7(0x23c)]);var _0x2ce82f=_0x3bffc9[_0x9027a7(0x3ed)]['execute'](_0x1c507d,_0x71d2b8[_0x9027a7(0x4cc)],_0x71d2b8['ivSize'],_0x16f832[_0x9027a7(0x28a)],_0x3bffc9[_0x9027a7(0x155)]);_0x3bffc9['iv']=_0x2ce82f['iv'];var _0x58e9fe=_0xecedfb['decrypt'][_0x9027a7(0x4fe)](this,_0x71d2b8,_0x16f832,_0x2ce82f['key'],_0x3bffc9);return _0x58e9fe;}});}();}));}(_0x31667a)),_0x31667a[_0x591744(0x241)];}(function(_0x4d6415,_0x3861be){(function(_0x57b126,_0x2ee231,_0x1c0a04){const _0x24eb74=_0xbbea;_0x4d6415[_0x24eb74(0x241)]=_0x2ee231(_0x56fa1b(),_0x49f822(),_0x1f9ac8(),_0x445a4a(),_0x3f1b65());}(_0x3da64e,function(_0x527ddc){const _0x10d124=_0xbbea;return(function(){const _0x4913c8=_0xbbea;var _0x2424fb=_0x527ddc,_0xbf894f=_0x2424fb[_0x4913c8(0x3bb)],_0x52f9=_0xbf894f[_0x4913c8(0x1ad)],_0x4fd92a=_0x2424fb[_0x4913c8(0x4d1)],_0x1f82e4=[],_0x11cbd1=[],_0x99b2e8=[],_0xc7b47=[],_0xc2d29c=[],_0x1b06c5=[],_0x4defc7=[],_0x3a2af0=[],_0x513fba=[],_0x2265dd=[];(function(){for(var _0x2c4cbd=[],_0x2a840e=0x0;_0x2a840e<0x100;_0x2a840e++)_0x2a840e<0x80?_0x2c4cbd[_0x2a840e]=_0x2a840e<<0x1:_0x2c4cbd[_0x2a840e]=_0x2a840e<<0x1^0x11b;for(var _0xdf94c8=0x0,_0x288d80=0x0,_0x2a840e=0x0;_0x2a840e<0x100;_0x2a840e++){var _0x20fbe3=_0x288d80^_0x288d80<<0x1^_0x288d80<<0x2^_0x288d80<<0x3^_0x288d80<<0x4;_0x20fbe3=_0x20fbe3>>>0x8^_0x20fbe3&0xff^0x63,_0x1f82e4[_0xdf94c8]=_0x20fbe3,_0x11cbd1[_0x20fbe3]=_0xdf94c8;var _0x33c15d=_0x2c4cbd[_0xdf94c8],_0x5b15e6=_0x2c4cbd[_0x33c15d],_0x438d96=_0x2c4cbd[_0x5b15e6],_0x226411=_0x2c4cbd[_0x20fbe3]*0x101^_0x20fbe3*0x1010100;_0x99b2e8[_0xdf94c8]=_0x226411<<0x18|_0x226411>>>0x8,_0xc7b47[_0xdf94c8]=_0x226411<<0x10|_0x226411>>>0x10,_0xc2d29c[_0xdf94c8]=_0x226411<<0x8|_0x226411>>>0x18,_0x1b06c5[_0xdf94c8]=_0x226411;var _0x226411=_0x438d96*0x1010101^_0x5b15e6*0x10001^_0x33c15d*0x101^_0xdf94c8*0x1010100;_0x4defc7[_0x20fbe3]=_0x226411<<0x18|_0x226411>>>0x8,_0x3a2af0[_0x20fbe3]=_0x226411<<0x10|_0x226411>>>0x10,_0x513fba[_0x20fbe3]=_0x226411<<0x8|_0x226411>>>0x18,_0x2265dd[_0x20fbe3]=_0x226411,_0xdf94c8?(_0xdf94c8=_0x33c15d^_0x2c4cbd[_0x2c4cbd[_0x2c4cbd[_0x438d96^_0x33c15d]]],_0x288d80^=_0x2c4cbd[_0x2c4cbd[_0x288d80]]):_0xdf94c8=_0x288d80=0x1;}}());var _0x250e7d=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x32ca81=_0x4fd92a[_0x4913c8(0x302)]=_0x52f9[_0x4913c8(0x308)]({'_doReset':function(){const _0x31b92b=_0x4913c8;var _0x8f1621;if(!(this[_0x31b92b(0xf7)]&&this[_0x31b92b(0x3c4)]===this[_0x31b92b(0x515)])){for(var _0x36ac0b=this[_0x31b92b(0x3c4)]=this[_0x31b92b(0x515)],_0x3e2659=_0x36ac0b[_0x31b92b(0x1b9)],_0x44f6ad=_0x36ac0b['sigBytes']/0x4,_0x78d84=this[_0x31b92b(0xf7)]=_0x44f6ad+0x6,_0x1c8145=(_0x78d84+0x1)*0x4,_0x2ea317=this[_0x31b92b(0x4b8)]=[],_0x285269=0x0;_0x285269<_0x1c8145;_0x285269++)_0x285269<_0x44f6ad?_0x2ea317[_0x285269]=_0x3e2659[_0x285269]:(_0x8f1621=_0x2ea317[_0x285269-0x1],_0x285269%_0x44f6ad?_0x44f6ad>0x6&&_0x285269%_0x44f6ad==0x4&&(_0x8f1621=_0x1f82e4[_0x8f1621>>>0x18]<<0x18|_0x1f82e4[_0x8f1621>>>0x10&0xff]<<0x10|_0x1f82e4[_0x8f1621>>>0x8&0xff]<<0x8|_0x1f82e4[_0x8f1621&0xff]):(_0x8f1621=_0x8f1621<<0x8|_0x8f1621>>>0x18,_0x8f1621=_0x1f82e4[_0x8f1621>>>0x18]<<0x18|_0x1f82e4[_0x8f1621>>>0x10&0xff]<<0x10|_0x1f82e4[_0x8f1621>>>0x8&0xff]<<0x8|_0x1f82e4[_0x8f1621&0xff],_0x8f1621^=_0x250e7d[_0x285269/_0x44f6ad|0x0]<<0x18),_0x2ea317[_0x285269]=_0x2ea317[_0x285269-_0x44f6ad]^_0x8f1621);for(var _0x1a2eb5=this[_0x31b92b(0x506)]=[],_0x22b9bb=0x0;_0x22b9bb<_0x1c8145;_0x22b9bb++){var _0x285269=_0x1c8145-_0x22b9bb;if(_0x22b9bb%0x4)var _0x8f1621=_0x2ea317[_0x285269];else var _0x8f1621=_0x2ea317[_0x285269-0x4];_0x22b9bb<0x4||_0x285269<=0x4?_0x1a2eb5[_0x22b9bb]=_0x8f1621:_0x1a2eb5[_0x22b9bb]=_0x4defc7[_0x1f82e4[_0x8f1621>>>0x18]]^_0x3a2af0[_0x1f82e4[_0x8f1621>>>0x10&0xff]]^_0x513fba[_0x1f82e4[_0x8f1621>>>0x8&0xff]]^_0x2265dd[_0x1f82e4[_0x8f1621&0xff]];}}},'encryptBlock':function(_0x536fe3,_0x3332d3){const _0x42a280=_0x4913c8;this[_0x42a280(0x31d)](_0x536fe3,_0x3332d3,this[_0x42a280(0x4b8)],_0x99b2e8,_0xc7b47,_0xc2d29c,_0x1b06c5,_0x1f82e4);},'decryptBlock':function(_0x24a945,_0x53a141){const _0x336cb3=_0x4913c8;var _0x211a5a=_0x24a945[_0x53a141+0x1];_0x24a945[_0x53a141+0x1]=_0x24a945[_0x53a141+0x3],_0x24a945[_0x53a141+0x3]=_0x211a5a,this[_0x336cb3(0x31d)](_0x24a945,_0x53a141,this['_invKeySchedule'],_0x4defc7,_0x3a2af0,_0x513fba,_0x2265dd,_0x11cbd1);var _0x211a5a=_0x24a945[_0x53a141+0x1];_0x24a945[_0x53a141+0x1]=_0x24a945[_0x53a141+0x3],_0x24a945[_0x53a141+0x3]=_0x211a5a;},'_doCryptBlock':function(_0x5e1605,_0xc2be5d,_0x580ea8,_0x543c20,_0xd00ce6,_0x5d9d36,_0x49d84f,_0x19648e){const _0x10ebd7=_0x4913c8;for(var _0x349534=this[_0x10ebd7(0xf7)],_0x546b5c=_0x5e1605[_0xc2be5d]^_0x580ea8[0x0],_0x1d5ec0=_0x5e1605[_0xc2be5d+0x1]^_0x580ea8[0x1],_0x24833b=_0x5e1605[_0xc2be5d+0x2]^_0x580ea8[0x2],_0x2371f1=_0x5e1605[_0xc2be5d+0x3]^_0x580ea8[0x3],_0x4e7364=0x4,_0xeac9e6=0x1;_0xeac9e6<_0x349534;_0xeac9e6++){var _0x4d0862=_0x543c20[_0x546b5c>>>0x18]^_0xd00ce6[_0x1d5ec0>>>0x10&0xff]^_0x5d9d36[_0x24833b>>>0x8&0xff]^_0x49d84f[_0x2371f1&0xff]^_0x580ea8[_0x4e7364++],_0x2c51a3=_0x543c20[_0x1d5ec0>>>0x18]^_0xd00ce6[_0x24833b>>>0x10&0xff]^_0x5d9d36[_0x2371f1>>>0x8&0xff]^_0x49d84f[_0x546b5c&0xff]^_0x580ea8[_0x4e7364++],_0x48e0ce=_0x543c20[_0x24833b>>>0x18]^_0xd00ce6[_0x2371f1>>>0x10&0xff]^_0x5d9d36[_0x546b5c>>>0x8&0xff]^_0x49d84f[_0x1d5ec0&0xff]^_0x580ea8[_0x4e7364++],_0x29d2dd=_0x543c20[_0x2371f1>>>0x18]^_0xd00ce6[_0x546b5c>>>0x10&0xff]^_0x5d9d36[_0x1d5ec0>>>0x8&0xff]^_0x49d84f[_0x24833b&0xff]^_0x580ea8[_0x4e7364++];_0x546b5c=_0x4d0862,_0x1d5ec0=_0x2c51a3,_0x24833b=_0x48e0ce,_0x2371f1=_0x29d2dd;}var _0x4d0862=(_0x19648e[_0x546b5c>>>0x18]<<0x18|_0x19648e[_0x1d5ec0>>>0x10&0xff]<<0x10|_0x19648e[_0x24833b>>>0x8&0xff]<<0x8|_0x19648e[_0x2371f1&0xff])^_0x580ea8[_0x4e7364++],_0x2c51a3=(_0x19648e[_0x1d5ec0>>>0x18]<<0x18|_0x19648e[_0x24833b>>>0x10&0xff]<<0x10|_0x19648e[_0x2371f1>>>0x8&0xff]<<0x8|_0x19648e[_0x546b5c&0xff])^_0x580ea8[_0x4e7364++],_0x48e0ce=(_0x19648e[_0x24833b>>>0x18]<<0x18|_0x19648e[_0x2371f1>>>0x10&0xff]<<0x10|_0x19648e[_0x546b5c>>>0x8&0xff]<<0x8|_0x19648e[_0x1d5ec0&0xff])^_0x580ea8[_0x4e7364++],_0x29d2dd=(_0x19648e[_0x2371f1>>>0x18]<<0x18|_0x19648e[_0x546b5c>>>0x10&0xff]<<0x10|_0x19648e[_0x1d5ec0>>>0x8&0xff]<<0x8|_0x19648e[_0x24833b&0xff])^_0x580ea8[_0x4e7364++];_0x5e1605[_0xc2be5d]=_0x4d0862,_0x5e1605[_0xc2be5d+0x1]=_0x2c51a3,_0x5e1605[_0xc2be5d+0x2]=_0x48e0ce,_0x5e1605[_0xc2be5d+0x3]=_0x29d2dd;},'keySize':0x100/0x20});_0x2424fb[_0x4913c8(0x302)]=_0x52f9[_0x4913c8(0x557)](_0x32ca81);}()),_0x527ddc[_0x10d124(0x302)];}));}(_0x9d9f40));var _0x20d51d=_0x9d9f40[_0x357007(0x241)];const _0x672dd=_0x202696(_0x20d51d);var _0x150e87=_0x49f822();const _0x4c05ab=_0x202696(_0x150e87);var _0x42314d={'exports':{}};(function(_0x1628c0,_0x24d671){(function(_0x158015,_0x529208){const _0x2a2c05=_0xbbea;_0x1628c0[_0x2a2c05(0x241)]=_0x529208(_0x56fa1b());}(_0x3da64e,function(_0x5c5560){const _0x459ab2=_0xbbea;return _0x5c5560['enc'][_0x459ab2(0x185)];}));}(_0x42314d));var _0x55aee5=_0x42314d['exports'];const _0x544153=_0x202696(_0x55aee5);var _0xcc1835={'exports':{}};(function(_0x194e59,_0x16832a){(function(_0x269a0a,_0x553abc){_0x194e59['exports']=_0x553abc(_0x56fa1b());}(_0x3da64e,function(_0x896575){const _0x49f330=_0xbbea;return(function(){const _0x4d7d49=_0xbbea;if(typeof ArrayBuffer==_0x4d7d49(0x527)){var _0x9cfd29=_0x896575,_0x196b08=_0x9cfd29[_0x4d7d49(0x3bb)],_0x4ba4f6=_0x196b08[_0x4d7d49(0x4a8)],_0xe641e7=_0x4ba4f6[_0x4d7d49(0x192)],_0x42c8f8=_0x4ba4f6[_0x4d7d49(0x192)]=function(_0x4bd2d9){const _0x4d469b=_0x4d7d49;if(_0x4bd2d9 instanceof ArrayBuffer&&(_0x4bd2d9=new Uint8Array(_0x4bd2d9)),(_0x4bd2d9 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x4bd2d9 instanceof Uint8ClampedArray||_0x4bd2d9 instanceof Int16Array||_0x4bd2d9 instanceof Uint16Array||_0x4bd2d9 instanceof Int32Array||_0x4bd2d9 instanceof Uint32Array||_0x4bd2d9 instanceof Float32Array||_0x4bd2d9 instanceof Float64Array)&&(_0x4bd2d9=new Uint8Array(_0x4bd2d9[_0x4d469b(0x3a3)],_0x4bd2d9[_0x4d469b(0x18a)],_0x4bd2d9['byteLength'])),_0x4bd2d9 instanceof Uint8Array){for(var _0x278b31=_0x4bd2d9['byteLength'],_0x28d485=[],_0x42849f=0x0;_0x42849f<_0x278b31;_0x42849f++)_0x28d485[_0x42849f>>>0x2]|=_0x4bd2d9[_0x42849f]<<0x18-_0x42849f%0x4*0x8;_0xe641e7[_0x4d469b(0x4fe)](this,_0x28d485,_0x278b31);}else _0xe641e7[_0x4d469b(0x533)](this,arguments);};_0x42c8f8[_0x4d7d49(0x2a6)]=_0x4ba4f6;}}()),_0x896575[_0x49f330(0x3bb)][_0x49f330(0x4a8)];}));}(_0xcc1835));var _0x5d0a55=_0xcc1835[_0x357007(0x241)];const _0x263c0c=_0x202696(_0x5d0a55);var _0x475eeb={'exports':{}};(function(_0x467c09,_0x24c518){(function(_0x53838b,_0x1a8971,_0x4ee68b){const _0x1a324c=_0xbbea;_0x467c09[_0x1a324c(0x241)]=_0x1a8971(_0x56fa1b(),_0x3f1b65());}(_0x3da64e,function(_0x34cebd){const _0x5db1b2=_0xbbea;return _0x34cebd['pad'][_0x5db1b2(0x570)]={'pad':function(){},'unpad':function(){}},_0x34cebd[_0x5db1b2(0x56e)][_0x5db1b2(0x570)];}));}(_0x475eeb));var _0x513a18=_0x475eeb[_0x357007(0x241)];const _0x125965=_0x202696(_0x513a18);function _0x343d0a(_0x7dccce,_0x5b4677){const _0x39d44b=_0x357007,_0x1f8590=_0x5b4677-_0x7dccce[_0x39d44b(0x1b0)]%_0x5b4677,_0x3a726b=String[_0x39d44b(0x3c2)](_0x1f8590)[_0x39d44b(0x43a)](_0x1f8590);return _0x7dccce+_0x3a726b;}function _0x1a82a2(_0x38c64f,_0x5d8b7e){const _0x296051=_0x357007,_0x3fb099=_0x263c0c[_0x296051(0x524)](0x10),_0x2dc4de=_0x343d0a(_0x38c64f,0x10),_0x13ca7d=_0x672dd['encrypt'](_0x544153['parse'](_0x2dc4de),_0x4c05ab[_0x296051(0x406)](_0x5d8b7e),{'iv':_0x3fb099,'padding':_0x125965});return _0x3fb099[_0x296051(0x38a)](_0x13ca7d['ciphertext'])['toString'](_0x4c05ab);}function _0x259220(){const _0x2d1d7c=_0x357007,_0x38a914=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x2d1d7c(0x4c6)];if(_0x38a914){const _0x29924d={'time':Math[_0x2d1d7c(0x251)](Date[_0x2d1d7c(0x1ea)]()/0x3e8),'domain':location[_0x2d1d7c(0x44f)]};return _0x1a82a2(JSON[_0x2d1d7c(0x219)](_0x29924d),_0x38a914);}}var _0x1f5619=Object[_0x357007(0x376)],_0x3f2478=Object['getOwnPropertyDescriptor'],_0x12c6e7=(_0x42be46,_0x33684c,_0x4b7c70,_0x43d005)=>{for(var _0x56bf01=_0x43d005>0x1?void 0x0:_0x43d005?_0x3f2478(_0x33684c,_0x4b7c70):_0x33684c,_0x27dce1=_0x42be46['length']-0x1,_0x2a1747;_0x27dce1>=0x0;_0x27dce1--)(_0x2a1747=_0x42be46[_0x27dce1])&&(_0x56bf01=(_0x43d005?_0x2a1747(_0x33684c,_0x4b7c70,_0x56bf01):_0x2a1747(_0x56bf01))||_0x56bf01);return _0x43d005&&_0x56bf01&&_0x1f5619(_0x33684c,_0x4b7c70,_0x56bf01),_0x56bf01;},_0x2e945d=(_0xa3e066,_0x25e7e2)=>(_0x1cf2af,_0x1018d7)=>_0x25e7e2(_0x1cf2af,_0x1018d7,_0xa3e066);let _0x290294=class{constructor(_0x126b7e){const _0x133127=_0x357007;this[_0x133127(0x537)]=_0x126b7e,this[_0x133127(0x541)]();}['_initRequestHeader'](){this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x38c3f9,_0x4c5ba9)=>{const _0x2e91e9=_0xbbea,_0x5e44cd=_0x38c3f9['headers'],_0x2a15dc=_0x259220();return _0x2a15dc&&_0x5e44cd[_0x2e91e9(0x40f)](_0x2e91e9(0x126),_0x2a15dc),_0x4c5ba9(_0x38c3f9);}});}};_0x290294=_0x12c6e7([_0x2e945d(0x0,_0x457d20['Inject'](_0x4737a0['HTTPService']))],_0x290294);var _0x426264=Object[_0x357007(0x376)],_0x466e02=Object[_0x357007(0x41b)],_0x47abad=(_0x5cb77b,_0x4ab459,_0x501f10,_0x4b6836)=>{const _0x1bd6e5=_0x357007;for(var _0x3ae0cd=_0x4b6836>0x1?void 0x0:_0x4b6836?_0x466e02(_0x4ab459,_0x501f10):_0x4ab459,_0x3fd68f=_0x5cb77b[_0x1bd6e5(0x1b0)]-0x1,_0x8292b9;_0x3fd68f>=0x0;_0x3fd68f--)(_0x8292b9=_0x5cb77b[_0x3fd68f])&&(_0x3ae0cd=(_0x4b6836?_0x8292b9(_0x4ab459,_0x501f10,_0x3ae0cd):_0x8292b9(_0x3ae0cd))||_0x3ae0cd);return _0x4b6836&&_0x3ae0cd&&_0x426264(_0x4ab459,_0x501f10,_0x3ae0cd),_0x3ae0cd;},_0x4d158e=(_0x4b80be,_0x44d0b0)=>(_0x7f6911,_0x34213d)=>_0x44d0b0(_0x7f6911,_0x34213d,_0x4b80be);const _0x7f4224=[_0x357007(0x198),_0x357007(0x2b8),_0x357007(0xfb),_0x357007(0x4e4),_0x357007(0x414)],_0x4c46d7=0x5*0x400*0x400,_0x3d3edd=_0x357007(0x116),_0x1c6745=_0x357007(0x27d),_0x4fd922=_0x357007(0x1f3),_0x33058f='/universer-api/file/{fileID}/sign-url';_0x325eac[_0x357007(0x314)]=class{constructor(_0x1e3031,_0x2b93d1,_0x19cfe0){const _0x15ad46=_0x357007;_0x184856(this,_0x15ad46(0x586),0x0),_0x184856(this,_0x15ad46(0x36f),new _0x44a02e['Subject']()),_0x184856(this,'change$',this[_0x15ad46(0x36f)]),_0x184856(this,_0x15ad46(0xf5),new Map()),(this[_0x15ad46(0x537)]=_0x1e3031,this[_0x15ad46(0x331)]=_0x2b93d1,this[_0x15ad46(0x140)]=_0x19cfe0);}['setWaitCount'](_0x22d974){const _0x5d14ae=_0x357007;this[_0x5d14ae(0x586)]=_0x22d974,this[_0x5d14ae(0x36f)][_0x5d14ae(0x4d3)](_0x22d974);}[_0x357007(0x4a2)](_0x2f3898,_0x1acbe6){const _0x2c4b66=_0x357007;if(_0x1acbe6===_0x39cda2['ImageSourceType'][_0x2c4b66(0x1c6)]){const _0x221ff5=new Image();return _0x221ff5[_0x2c4b66(0x2b6)]=_0x2f3898,_0x221ff5;}return this[_0x2c4b66(0xf5)][_0x2c4b66(0x1b5)](_0x2f3898);}[_0x357007(0x453)](_0x90a958,_0x221763,_0x33b35d){const _0x5d3e2c=_0x357007;_0x221763===_0x39cda2[_0x5d3e2c(0x450)][_0x5d3e2c(0x1c6)]||_0x33b35d==null||this[_0x5d3e2c(0xf5)][_0x5d3e2c(0x40f)](_0x90a958,_0x33b35d);}async[_0x357007(0x327)](_0x3b0f62){const _0x199628=_0x357007;try{const _0x539a17=this['_replaceFileID'](this[_0x199628(0x476)](),''+_0x3b0f62),_0x12a96e=(await this[_0x199628(0x537)][_0x199628(0x1b5)](_0x539a17))['body'];if(_0x12a96e['error']&&_0x12a96e[_0x199628(0x519)][_0x199628(0x352)]===_0x17b26e['OK']){const _0x40e3c2=new URL(_0x12a96e['url'],this[_0x199628(0x264)]())[_0x199628(0x14b)]();return Promise['resolve'](_0x40e3c2);}return Promise['reject'](_0x12a96e[_0x199628(0x519)]);}catch(_0x58ba5c){return Promise['reject'](_0x58ba5c);}}async[_0x357007(0x141)](_0x4e9af3){const _0x5d5e0f=_0x357007;let _0x2d2b1b='';if(!_0x7f4224[_0x5d5e0f(0x234)](_0x4e9af3[_0x5d5e0f(0x486)]))return this[_0x5d5e0f(0x277)](),Promise[_0x5d5e0f(0x167)](new Error(_0x39cda2[_0x5d5e0f(0x4ed)][_0x5d5e0f(0x542)]));if(_0x4e9af3[_0x5d5e0f(0x485)]>_0x4c46d7)return this[_0x5d5e0f(0x277)](),Promise['reject'](new Error(_0x39cda2[_0x5d5e0f(0x4ed)][_0x5d5e0f(0x295)]));try{const _0x4cc05d=new FormData();_0x4cc05d['append']('file',_0x4e9af3);const _0xb7dc34=this[_0x5d5e0f(0x140)]['getFocusedUnit'](),_0x2071cc=_0xb7dc34==null?void 0x0:_0xb7dc34[_0x5d5e0f(0x4a5)]();if(!_0x2071cc)throw new Error(_0x5d5e0f(0x462));const _0x30811c=this[_0x5d5e0f(0x412)]()+'?size='+_0x4e9af3['size'][_0x5d5e0f(0x14b)]()+_0x5d5e0f(0x5b0)+_0x221fc0[_0x5d5e0f(0x2a7)]+'&assign='+encodeURIComponent(_0x2071cc),_0x5d29b5=await(await fetch(_0x30811c,{'method':_0x5d5e0f(0x3a6),'body':_0x4cc05d}))['json']();if(typeof _0x5d29b5[_0x5d5e0f(0x509)]!='string')return this[_0x5d5e0f(0x277)](),Promise[_0x5d5e0f(0x167)](new Error(_0x39cda2['ImageUploadStatusType'][_0x5d5e0f(0x168)]));_0x2d2b1b=_0x5d29b5[_0x5d5e0f(0x509)];}catch{return this[_0x5d5e0f(0x277)](),Promise[_0x5d5e0f(0x167)](new Error(_0x39cda2[_0x5d5e0f(0x4ed)][_0x5d5e0f(0x168)]));}return new Promise((_0x5c1b19,_0x4a00a3)=>{const _0x4ec832=_0x5d5e0f,_0x29b33b=new FileReader();_0x29b33b[_0x4ec832(0x190)](_0x4e9af3),_0x29b33b[_0x4ec832(0x1b2)]=_0x1dfa5a=>{const _0x4a41d1=_0x4ec832;var _0x41aa52;const _0x768a68=(_0x41aa52=_0x1dfa5a['target'])==null?void 0x0:_0x41aa52['result'];if(_0x768a68==null){this[_0x4a41d1(0x277)](),_0x4a00a3(new Error(_0x39cda2[_0x4a41d1(0x4ed)][_0x4a41d1(0x168)]));return;}const _0xf1bcbc=_0x457d20[_0x4a41d1(0x458)][_0x4a41d1(0x249)](0x6);_0x5c1b19({'imageId':_0xf1bcbc,'imageSourceType':_0x39cda2[_0x4a41d1(0x450)][_0x4a41d1(0x12c)],'source':_0x2d2b1b,'base64Cache':_0x768a68,'status':_0x39cda2[_0x4a41d1(0x4ed)]['SUCCUSS']}),this[_0x4a41d1(0x277)]();};});}['_getUploadFileURL'](){const _0x4fbe0e=_0x357007;var _0x1b8581,_0x3b8aa5;const _0x358aab=this[_0x4fbe0e(0x331)][_0x4fbe0e(0x4d5)](_0x3d3edd),_0x55ce57=this[_0x4fbe0e(0x331)][_0x4fbe0e(0x4d5)](_0x11df2a);return(_0x3b8aa5=(_0x1b8581=_0x55ce57==null?void 0x0:_0x55ce57[_0x4fbe0e(0x4a6)])!=null?_0x1b8581:_0x358aab)!=null?_0x3b8aa5:_0x1c6745;}['_getSignURL'](){const _0x10c2b3=_0x357007;var _0x39e08e,_0x180e41;const _0x5621ed=this[_0x10c2b3(0x331)]['getConfig'](_0x4fd922),_0x583b96=this[_0x10c2b3(0x331)][_0x10c2b3(0x4d5)](_0x11df2a);return(_0x180e41=(_0x39e08e=_0x583b96==null?void 0x0:_0x583b96['signUrlServerUrl'])!=null?_0x39e08e:_0x5621ed)!=null?_0x180e41:_0x33058f;}[_0x357007(0x264)](){const _0x3e3dd6=_0x357007;var _0xf5101c;const _0x3a9432=this['_configService']['getConfig'](_0x11df2a);return(_0xf5101c=_0x3a9432==null?void 0x0:_0x3a9432[_0x3e3dd6(0x4fa)])!=null?_0xf5101c:location['origin'];}[_0x357007(0x23a)](_0x55975c,_0xa1a3b3){const _0x57d0be=_0x357007;return _0x55975c[_0x57d0be(0x495)](_0x57d0be(0x4c0),_0xa1a3b3);}[_0x357007(0x277)](){const _0xb981a0=_0x357007;this[_0xb981a0(0x586)]-=0x1,this['_change$']['next'](this[_0xb981a0(0x586)]);}},_0x325eac[_0x357007(0x314)]=_0x47abad([_0x4d158e(0x0,_0x457d20[_0x357007(0x2c4)](_0x4737a0['HTTPService'])),_0x4d158e(0x1,_0x457d20[_0x357007(0x3cc)]),_0x4d158e(0x2,_0x457d20[_0x357007(0x2c4)](_0x457d20['IUniverInstanceService']))],_0x325eac[_0x357007(0x314)]);var _0x141f01=Object[_0x357007(0x376)],_0x216231=Object['getOwnPropertyDescriptor'],_0x362fbd=(_0x346186,_0x473e99,_0x217e64,_0x30634c)=>{const _0x268b31=_0x357007;for(var _0xd0a28d=_0x30634c>0x1?void 0x0:_0x30634c?_0x216231(_0x473e99,_0x217e64):_0x473e99,_0x5ef398=_0x346186[_0x268b31(0x1b0)]-0x1,_0xd13d4b;_0x5ef398>=0x0;_0x5ef398--)(_0xd13d4b=_0x346186[_0x5ef398])&&(_0xd0a28d=(_0x30634c?_0xd13d4b(_0x473e99,_0x217e64,_0xd0a28d):_0xd13d4b(_0xd0a28d))||_0xd0a28d);return _0x30634c&&_0xd0a28d&&_0x141f01(_0x473e99,_0x217e64,_0xd0a28d),_0xd0a28d;},_0x356e38=(_0x4d179c,_0x522310)=>(_0x10889e,_0x3455ff)=>_0x522310(_0x10889e,_0x3455ff,_0x4d179c);let _0x295576=class extends _0x457d20[_0x357007(0xe7)]{constructor(_0x1f0448,_0x2caee2,_0x49f48a,_0x10a723,_0x7bfbf){const _0x14fded=_0x357007;super(),this[_0x14fded(0x593)]=_0x1f0448,this[_0x14fded(0x140)]=_0x2caee2,this[_0x14fded(0x56a)]=_0x49f48a,this[_0x14fded(0x256)]=_0x10a723,this[_0x14fded(0x22c)]=_0x7bfbf,this[_0x14fded(0x300)](),this[_0x14fded(0x222)]();}[_0x357007(0x222)](){const _0x339709=_0x357007,_0x1f478e=async _0x722294=>{const _0x47a5af=_0xbbea;(await this[_0x47a5af(0x256)][_0x47a5af(0x538)](_0x722294))[_0x47a5af(0x2f9)][_0x47a5af(0x3f8)](_0x4c8197[_0x47a5af(0x356)](_0x181103=>_0x181103[_0x47a5af(0x5a6)]===_0x4d26ac[_0x47a5af(0x2c2)][_0x47a5af(0x403)]),_0x4c8197[_0x47a5af(0x138)](this[_0x47a5af(0x43e)]))['subscribe'](_0x202cfd=>{const _0x46a551=_0x47a5af,_0x2ddba2=_0x202cfd,{reason:_0x4d7419}=_0x2ddba2[_0x46a551(0x24e)];this['_injector'][_0x46a551(0x1b5)](_0x2b45ba[_0x46a551(0x3ba)])[_0x46a551(0x3a5)]({'type':_0x151ca4['MessageType']['Error'],'content':this[_0x46a551(0x22c)]['t'](_0x46a551(0x328))+'('+_0x4d7419+')'}),this[_0x46a551(0x56a)][_0x46a551(0x52b)](new _0x91efb2[(_0x46a551(0x54c))](_0x722294)['id'],!0x1),this[_0x46a551(0x256)][_0x46a551(0x34e)](_0x722294);});};_0x44a02e[_0x339709(0x31f)](this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x457d20[_0x339709(0x3f0)]['UNIVER_SHEET']),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x457d20[_0x339709(0x3f0)][_0x339709(0x210)]))[_0x339709(0x3f8)](_0x4c8197[_0x339709(0x595)](_0x310cf0=>_0x310cf0[_0x339709(0x4a5)]()),_0x4c8197[_0x339709(0x356)](_0x263078=>!_0x457d20[_0x339709(0x41f)](_0x263078)),_0x4c8197['takeUntil'](this[_0x339709(0x43e)]))['subscribe'](_0x3e70af=>{_0x1f478e(_0x3e70af);});}[_0x357007(0x300)](){const _0x240de6=_0x357007,_0x1a2fec=async _0x5c1c42=>{const _0x48c4c3=_0xbbea;(await this[_0x48c4c3(0x256)][_0x48c4c3(0x538)](_0x5c1c42))[_0x48c4c3(0x2f9)][_0x48c4c3(0x3f8)](_0x4c8197[_0x48c4c3(0x356)](_0x143b60=>_0x143b60['eventID']===_0x4d26ac[_0x48c4c3(0x2c2)]['UPDATE_PERMISSION_OBJ']),_0x4c8197[_0x48c4c3(0x138)](this['dispose$']))[_0x48c4c3(0x479)](_0x35ee8f=>{const _0x3af027=_0x48c4c3,_0x309c83=_0x35ee8f,{objectId:_0x11d669}=_0x309c83[_0x3af027(0x24e)],_0x2e0924=this[_0x3af027(0x593)][_0x3af027(0x1b5)](_0x5ed4fc[_0x3af027(0x32c)]);_0x11d669===_0x5c1c42?_0x2e0924[_0x3af027(0x29d)](_0x5c1c42):_0x2e0924[_0x3af027(0x146)](_0x5c1c42,_0x11d669);});};_0x44a02e[_0x240de6(0x31f)](this[_0x240de6(0x140)][_0x240de6(0x433)](_0x457d20[_0x240de6(0x3f0)]['UNIVER_SHEET']),this[_0x240de6(0x140)][_0x240de6(0x433)](_0x457d20['UniverInstanceType'][_0x240de6(0x210)]))['pipe'](_0x4c8197[_0x240de6(0x595)](_0x37b46e=>_0x37b46e['getUnitId']()),_0x4c8197['filter'](_0x3369e9=>!_0x457d20['isInternalEditorID'](_0x3369e9)),_0x4c8197[_0x240de6(0x138)](this[_0x240de6(0x43e)]))[_0x240de6(0x479)](_0x42cfcf=>{_0x1a2fec(_0x42cfcf);});}};_0x295576=_0x362fbd([_0x356e38(0x0,_0x457d20[_0x357007(0x2c4)](_0x457d20[_0x357007(0x467)])),_0x356e38(0x1,_0x457d20['IUniverInstanceService']),_0x356e38(0x2,_0x457d20[_0x357007(0x42a)]),_0x356e38(0x3,_0x457d20[_0x357007(0x2c4)](_0x325eac[_0x357007(0x30b)])),_0x356e38(0x4,_0x457d20[_0x357007(0x2c4)](_0x457d20[_0x357007(0x128)]))],_0x295576);var _0x5db0b9=Object[_0x357007(0x376)],_0x10df3c=Object['getOwnPropertyDescriptor'],_0x39f9c7=(_0x31502e,_0x5d5063,_0x3dd30a,_0x9254e7)=>{for(var _0x500885=_0x9254e7>0x1?void 0x0:_0x9254e7?_0x10df3c(_0x5d5063,_0x3dd30a):_0x5d5063,_0x307f5c=_0x31502e['length']-0x1,_0xe984d7;_0x307f5c>=0x0;_0x307f5c--)(_0xe984d7=_0x31502e[_0x307f5c])&&(_0x500885=(_0x9254e7?_0xe984d7(_0x5d5063,_0x3dd30a,_0x500885):_0xe984d7(_0x500885))||_0x500885);return _0x9254e7&&_0x500885&&_0x5db0b9(_0x5d5063,_0x3dd30a,_0x500885),_0x500885;},_0x213c66=(_0x165884,_0x3f9ff8)=>(_0xf33f22,_0x279d9a)=>_0x3f9ff8(_0xf33f22,_0x279d9a,_0x165884);_0x325eac[_0x357007(0x27f)]=class{constructor(_0x45e9b2,_0x2b6076){const _0x280074=_0x357007;this['_configService']=_0x45e9b2,this[_0x280074(0x537)]=_0x2b6076;}async['getUnitOnRev'](_0x494a1f,_0x59a9ad){const _0x3e4133=_0x357007;var _0x4a2d39;const {unitID:_0x1c5451,type:_0x14ebf0,revision:_0x304542=0x0}=_0x59a9ad,_0x44cfa4=this[_0x3e4133(0x208)]()+'/'+_0x14ebf0+_0x3e4133(0x4be)+_0x1c5451+'/rev/'+_0x304542,_0x34fd1a=(await this[_0x3e4133(0x537)][_0x3e4133(0x1b5)](_0x44cfa4))[_0x3e4133(0x156)],_0x1ae904=(_0x4a2d39=_0x34fd1a[_0x3e4133(0x26d)])==null?void 0x0:_0x4a2d39[_0x3e4133(0x443)];if(_0x1ae904){const _0x38f22b=_0x1ae904==null?void 0x0:_0x1ae904['originalMeta'],_0x47c9d7=_0x4d26ac['textEncoder'][_0x3e4133(0x56d)](_0x4d26ac['b64DecodeUnicode'](_0x38f22b));_0x1ae904[_0x3e4133(0x35c)]=_0x47c9d7,Object[_0x3e4133(0x37e)](_0x1ae904[_0x3e4133(0x18d)])[_0x3e4133(0x274)](([,_0x470e53])=>{const _0x28a8fa=_0x3e4133,_0x25f25d=_0x470e53[_0x28a8fa(0x35c)],_0x214dc9=_0x4d26ac[_0x28a8fa(0x18f)]['encode'](_0x4d26ac[_0x28a8fa(0x108)](_0x25f25d));_0x470e53[_0x28a8fa(0x35c)]=_0x214dc9;});}return _0x34fd1a;}async['getSheetBlock'](_0x5980e5,_0x12ea99){const _0x22b1ba=_0x357007,{unitID:_0x545487,type:_0x1f55d1,blockID:_0x28f4a3}=_0x12ea99,_0x5a2a76=this[_0x22b1ba(0x4d2)]()+'/'+_0x1f55d1+_0x22b1ba(0x4be)+_0x545487+'/block/'+_0x28f4a3;return(await this[_0x22b1ba(0x537)][_0x22b1ba(0x1b5)](_0x5a2a76))['body'];}async['getDeserializedSheetBlock'](_0x3d71d5,_0x45eefe){const _0x3298db=_0x357007,{unitID:_0x5c2700,type:_0x1e42c7,blockID:_0x57eb00}=_0x45eefe,_0x1f3bb4=this[_0x3298db(0x4d2)]()+_0x3298db(0x15c)+_0x1e42c7+_0x3298db(0x4be)+_0x5c2700+_0x3298db(0x15c)+_0x57eb00;return(await this[_0x3298db(0x537)][_0x3298db(0x1b5)](_0x1f3bb4))['body'];}async['fetchMissingChangesets'](_0x1a573f,_0x46aa5d){const _0x57f574=_0x357007,{unitID:_0x533b4f,type:_0x14c956,from:_0x2df79d,to:_0x122d7b}=_0x46aa5d,_0x12016f=this['_getAPIPrefix']()+'/'+_0x14c956+_0x57f574(0x4be)+_0x533b4f+_0x57f574(0x2ef)+_0x2df79d+_0x57f574(0x3f2)+_0x122d7b;return(await this[_0x57f574(0x537)][_0x57f574(0x1b5)](_0x12016f))[_0x57f574(0x156)];}[_0x357007(0x208)](){const _0x17c26f=_0x357007;var _0x221f8c;return(_0x221f8c=this['_configService'][_0x17c26f(0x4d5)](_0xfc9b39))!=null?_0x221f8c:this[_0x17c26f(0x4d2)]();}[_0x357007(0x4d2)](){const _0x453c3c=_0x357007;var _0x5ea228,_0x1787e8;const _0x458fff=this[_0x453c3c(0x331)][_0x453c3c(0x4d5)](_0x89ef62),_0x5301b8=this[_0x453c3c(0x331)][_0x453c3c(0x4d5)](_0x11df2a);return(_0x1787e8=(_0x5ea228=_0x5301b8==null?void 0x0:_0x5301b8[_0x453c3c(0x4b0)])!=null?_0x5ea228:_0x458fff)!=null?_0x1787e8:_0x10c8e6;}async[_0x357007(0x1f0)](_0x4bbd2d,_0x38d3ff){const _0x440669=_0x357007,_0x368ad8=_0x440669(0x38e)+_0x38d3ff[_0x440669(0x486)]+_0x440669(0x4be)+_0x38d3ff[_0x440669(0x563)]+'/resources';return(await this[_0x440669(0x537)][_0x440669(0x1b5)](_0x368ad8,{'params':{'resourceId':JSON[_0x440669(0x219)](_0x38d3ff[_0x440669(0x220)])}}))[_0x440669(0x156)];}[_0x357007(0x3b4)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x357007(0x1d7)](){const _0x23d7e3=_0x357007;throw new Error(_0x23d7e3(0x1e0));}[_0x357007(0x357)](){const _0x384c9f=_0x357007;throw new Error(_0x384c9f(0x1e0));}[_0x357007(0x50c)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x357007(0x358)](){const _0x289058=_0x357007;throw new Error(_0x289058(0x1e0));}},_0x325eac[_0x357007(0x27f)]=_0x39f9c7([_0x213c66(0x0,_0x457d20['IConfigService']),_0x213c66(0x1,_0x457d20[_0x357007(0x2c4)](_0x4737a0['HTTPService']))],_0x325eac['SnapshotServerOverHTTPService']);var _0x5ea262=Object[_0x357007(0x376)],_0x54b702=Object[_0x357007(0x41b)],_0x3d94b1=(_0x3364c5,_0x27369b,_0x57729a,_0xf0d4ad)=>{const _0x12d11b=_0x357007;for(var _0x539844=_0xf0d4ad>0x1?void 0x0:_0xf0d4ad?_0x54b702(_0x27369b,_0x57729a):_0x27369b,_0xb63761=_0x3364c5[_0x12d11b(0x1b0)]-0x1,_0x28cb25;_0xb63761>=0x0;_0xb63761--)(_0x28cb25=_0x3364c5[_0xb63761])&&(_0x539844=(_0xf0d4ad?_0x28cb25(_0x27369b,_0x57729a,_0x539844):_0x28cb25(_0x539844))||_0x539844);return _0xf0d4ad&&_0x539844&&_0x5ea262(_0x27369b,_0x57729a,_0x539844),_0x539844;},_0x343375=(_0x3d5e16,_0x8500ac)=>(_0x3f3ff4,_0x3de7da)=>_0x8500ac(_0x3f3ff4,_0x3de7da,_0x3d5e16);let _0x2de128=class extends _0x457d20[_0x357007(0x439)]{constructor(_0x5500f0,_0x335fe0,_0x308cab,_0x4b844e,_0x2fc7e4){const _0x2fd865=_0x357007;super(_0x5500f0,_0x335fe0,_0x308cab),this['_transformService']=_0x4b844e,this[_0x2fd865(0x514)]=_0x2fc7e4;}[_0x357007(0x4f7)](_0x415d0e,_0x4cbe08){const _0x77bfe=_0x357007,_0x3e4e08=this[_0x77bfe(0x297)](_0x415d0e);if(_0x3e4e08)try{const _0x3ba276=this[_0x77bfe(0x59b)](_0x3e4e08,_0x4cbe08);this['_substituteUndoStack'](_0x415d0e,_0x3ba276);}catch(_0x4024c9){this['_logService'][_0x77bfe(0x519)](_0x77bfe(0x29b),_0x4024c9),this[_0x77bfe(0x3a1)](_0x415d0e);}const _0x17fcd0=this[_0x77bfe(0x243)](_0x415d0e);if(_0x17fcd0)try{const _0x5d5cf3=this[_0x77bfe(0x59b)](_0x17fcd0,_0x4cbe08);this[_0x77bfe(0x415)](_0x415d0e,_0x5d5cf3);}catch(_0x20ed59){this[_0x77bfe(0x514)][_0x77bfe(0x519)](_0x20ed59),this['_clearRedo'](_0x415d0e);}}[_0x357007(0x3a1)](_0x353d85){const _0x9da445=_0x357007,_0x27d350=this[_0x9da445(0x297)](_0x353d85);_0x27d350&&(_0x27d350[_0x9da445(0x1b0)]=0x0,this[_0x9da445(0x4e5)]());}[_0x357007(0x135)](_0x4c0089){const _0x1bfeec=_0x357007,_0x75aa65=this[_0x1bfeec(0x243)](_0x4c0089);_0x75aa65&&(_0x75aa65['length']=0x0,this[_0x1bfeec(0x4e5)]());}[_0x357007(0x233)](_0x17d500,_0x21653b){const _0x45eb49=_0x357007;this[_0x45eb49(0x255)][_0x45eb49(0x40f)](_0x17d500,_0x21653b),this[_0x45eb49(0x4e5)]();}[_0x357007(0x415)](_0x53fb18,_0xc806c1){const _0x5c9049=_0x357007;this[_0x5c9049(0x1c7)][_0x5c9049(0x40f)](_0x53fb18,_0xc806c1),this[_0x5c9049(0x4e5)]();}[_0x357007(0x59b)](_0x210ff6,_0xf5cdd7){const _0xfa01e9=_0x357007,_0x126c0c=[];let _0x2b133e=_0xf5cdd7,_0xc0ba14=_0xf5cdd7;for(let _0x2d62d9=_0x210ff6['length']-0x1;_0x2d62d9>=0x0;_0x2d62d9--){const {unitID:_0x4173ea,undoMutations:_0x9f4a14,redoMutations:_0x24921d}=_0x210ff6[_0x2d62d9],_0x59b824=this[_0xfa01e9(0x2af)][_0xfa01e9(0x424)](_0x2b133e,_0x9f4a14),_0x105ff5=this[_0xfa01e9(0x2af)][_0xfa01e9(0x424)](_0xc0ba14,_0x24921d);if(_0x4d26ac[_0xfa01e9(0x581)](_0x59b824)||_0x4d26ac[_0xfa01e9(0x581)](_0x105ff5)){this[_0xfa01e9(0x514)][_0xfa01e9(0x519)](_0xfa01e9(0x29b),'transformStack\x20failed!',_0x59b824,_0x105ff5);break;}_0x2b133e=_0x59b824[_0xfa01e9(0x2f5)],_0xc0ba14=_0x105ff5[_0xfa01e9(0x2f5)],_0x126c0c['push']({'unitID':_0x4173ea,'undoMutations':_0x59b824[_0xfa01e9(0x472)],'redoMutations':_0x105ff5[_0xfa01e9(0x472)]});}return _0x126c0c[_0xfa01e9(0x43f)]();}};_0x2de128=_0x3d94b1([_0x343375(0x0,_0x457d20[_0x357007(0x35e)]),_0x343375(0x1,_0x457d20[_0x357007(0x324)]),_0x343375(0x2,_0x457d20[_0x357007(0x540)]),_0x343375(0x3,_0x4d26ac[_0x357007(0x329)]),_0x343375(0x4,_0x457d20[_0x357007(0x54e)])],_0x2de128);class _0xdc84b4 extends _0x457d20[_0x357007(0xe7)]{constructor(){const _0x591e51=_0x357007;super(),_0x184856(this,_0x591e51(0x457)),this[_0x591e51(0x457)]=_0x44a02e[_0x591e51(0x441)](window,_0x591e51(0x2df))[_0x591e51(0x3f8)](_0x44a02e['takeUntil'](this['dispose$']),_0x44a02e[_0x591e51(0x2b9)](0x1),_0x44a02e[_0x591e51(0x2bc)](void 0x0));}[_0x357007(0x11d)](_0x5b0635,_0x23a335,_0x469b35=!0x1){const _0x579cca=_0x357007,_0x1482ed=new URL(window[_0x579cca(0x296)]['href']);_0x1482ed[_0x579cca(0x53f)]['set'](_0x5b0635,_0x23a335),_0x469b35?window[_0x579cca(0x19b)][_0x579cca(0x43d)]('','',_0x1482ed[_0x579cca(0x14b)]()):window[_0x579cca(0x19b)][_0x579cca(0x496)]('','',_0x1482ed[_0x579cca(0x14b)]());}['removeParam'](_0x187ad1,_0x4f438=!0x1){const _0x10c775=_0x357007,_0x460ee6=new URL(window[_0x10c775(0x296)]['href']);_0x460ee6[_0x10c775(0x53f)]['delete'](_0x187ad1),_0x4f438?window['history'][_0x10c775(0x43d)]('','',_0x460ee6[_0x10c775(0x14b)]()):window[_0x10c775(0x19b)][_0x10c775(0x496)]('','',_0x460ee6['toString']());}['getParam'](_0x41aa6d){const _0x23a43d=_0x357007;var _0x549d9d;return(_0x549d9d=new URL(window[_0x23a43d(0x296)]['href'])[_0x23a43d(0x53f)][_0x23a43d(0x1b5)](_0x41aa6d))!=null?_0x549d9d:void 0x0;}}var _0x2e82cd=Object[_0x357007(0x376)],_0x3a693e=Object[_0x357007(0x41b)],_0x9bcb74=(_0x2090ab,_0x38a4a1,_0x4a134b)=>_0x38a4a1 in _0x2090ab?_0x2e82cd(_0x2090ab,_0x38a4a1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4a134b}):_0x2090ab[_0x38a4a1]=_0x4a134b,_0x3de065=(_0x5972cc,_0x42d4d0,_0x138675,_0x4cc933)=>{const _0x38507c=_0x357007;for(var _0x4f72f5=_0x4cc933>0x1?void 0x0:_0x4cc933?_0x3a693e(_0x42d4d0,_0x138675):_0x42d4d0,_0x4e2f87=_0x5972cc[_0x38507c(0x1b0)]-0x1,_0x5eeffe;_0x4e2f87>=0x0;_0x4e2f87--)(_0x5eeffe=_0x5972cc[_0x4e2f87])&&(_0x4f72f5=(_0x4cc933?_0x5eeffe(_0x42d4d0,_0x138675,_0x4f72f5):_0x5eeffe(_0x4f72f5))||_0x4f72f5);return _0x4cc933&&_0x4f72f5&&_0x2e82cd(_0x42d4d0,_0x138675,_0x4f72f5),_0x4f72f5;},_0x42fdea=(_0x176716,_0x2467fe)=>(_0x20d978,_0x47019f)=>_0x2467fe(_0x20d978,_0x47019f,_0x176716),_0xb7e94=(_0x4ea8cd,_0x18fa0e,_0x2288b4)=>_0x9bcb74(_0x4ea8cd,_0x18fa0e+'',_0x2288b4);const _0x4c0470=_0x357007(0x323);_0x325eac[_0x357007(0x5a1)]=class extends _0x457d20[_0x357007(0x271)]{constructor(_0x294fe6=_0x485e42,_0x5068e0,_0x44fc69,_0x5adf1e,_0x33d753){const _0x32abe4=_0x357007;super(),this[_0x32abe4(0x3e5)]=_0x294fe6,this['_logService']=_0x5068e0,this[_0x32abe4(0x152)]=_0x44fc69,this['_injector']=_0x5adf1e,this['_configService']=_0x33d753;const {..._0x2faa2e}=this[_0x32abe4(0x3e5)];this['_configService'][_0x32abe4(0x46f)](_0x11df2a,_0x2faa2e);}[_0x357007(0x554)](){const _0x790db3=_0x357007;this[_0x790db3(0x2ca)](),this['_initDependencies']();}[_0x357007(0x355)](){const _0x128c7a=_0x357007;_0x457d20[_0x128c7a(0x532)](this['_injector'],[[_0x5639bf]]);}[_0x357007(0x4e8)](){const _0x176ae6=_0x357007;this[_0x176ae6(0x2a4)]();}['_registerDependencies'](){const _0x4ad4b9=_0x357007;var _0x5a96aa,_0x27a774,_0x3e85c2,_0x52bed0;this[_0x4ad4b9(0x593)][_0x4ad4b9(0xf8)](_0x457d20[_0x4ad4b9(0x381)])&&this[_0x4ad4b9(0x514)][_0x4ad4b9(0x519)](_0x4ad4b9(0x351),_0x4ad4b9(0x4a0));const _0x114eff=[[_0x457d20['IUndoRedoService'],{'useClass':_0x2de128}],[_0x325eac[_0x4ad4b9(0x30b)]],[_0x1cc170],[_0x24da1d,{'useClass':_0xdc84b4}],[_0x325eac[_0x4ad4b9(0x2fa)]],[_0x325eac[_0x4ad4b9(0x4f9)]],[_0x4737a0[_0x4ad4b9(0x114)]],[_0x201d4e],[_0x3ef40a],[_0xa432dd],[_0xa6eb37],[_0x559ff9],[_0x1ae59a],[_0x290294],[_0x2f817a],[_0x295576],[_0x3b47f0,{'useClass':(_0x27a774=(_0x5a96aa=this[_0x4ad4b9(0x3e5)])==null?void 0x0:_0x5a96aa[_0x4ad4b9(0x223)])!=null?_0x27a774:_0x325eac[_0x4ad4b9(0x247)]}],[_0x4d26ac['ISnapshotServerService'],{'useClass':_0x325eac[_0x4ad4b9(0x27f)]}],[_0x457d20[_0x4ad4b9(0x34b)],{'useClass':_0x325eac[_0x4ad4b9(0x487)]}],[_0x39cda2[_0x4ad4b9(0x4c4)],{'useClass':_0x325eac[_0x4ad4b9(0x314)]}],[_0x325eac[_0x4ad4b9(0x339)]],[_0x325eac['DataLoaderController']],[_0x325eac[_0x4ad4b9(0x196)]],[_0x5639bf],[_0x5f50ea]];(_0x3e85c2=this['_config'])!=null&&_0x3e85c2[_0x4ad4b9(0x558)]&&_0x114eff['push']([_0x1731f5,{'useClass':_0x21ae63}]),_0x457d20['registerDependencies'](this['_injector'],_0x457d20[_0x4ad4b9(0x4c8)](_0x114eff,(_0x52bed0=this[_0x4ad4b9(0x3e5)])==null?void 0x0:_0x52bed0['override']));}[_0x357007(0x2a4)](){const _0x2e11d8=_0x357007;this[_0x2e11d8(0x189)](this[_0x2e11d8(0x152)][_0x2e11d8(0x35f)](_0x457d20['UniverInstanceType'][_0x2e11d8(0x210)],[_0x35372d])),this[_0x2e11d8(0x189)](this[_0x2e11d8(0x152)][_0x2e11d8(0x35f)](_0x457d20['UniverInstanceType'][_0x2e11d8(0x3b5)],[_0xfa75cc]));}[_0x357007(0x181)](){const _0x49fbb3=_0x357007;var _0x1ff2d8,_0x4c6937;this[_0x49fbb3(0x593)][_0x49fbb3(0x1b5)](_0x4737a0[_0x49fbb3(0xe3)])[_0x49fbb3(0x12b)]({'priority':0x14,'interceptor':_0x4737a0['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x1ff2d8=this[_0x49fbb3(0x3e5)])!=null&&_0x1ff2d8[_0x49fbb3(0x4bf)]||this[_0x49fbb3(0x593)]['get'](_0x325eac['LocalCacheService'])[_0x49fbb3(0x1e6)](),(_0x4c6937=this[_0x49fbb3(0x3e5)])!=null&&_0x4c6937[_0x49fbb3(0xe6)]&&_0x457d20[_0x49fbb3(0x532)](this[_0x49fbb3(0x593)],[[_0x1ae59a]]),_0x457d20[_0x49fbb3(0x532)](this[_0x49fbb3(0x593)],[[_0x290294],[_0x5f50ea],[_0x325eac['DataLoaderController']],[_0x325eac[_0x49fbb3(0x339)]],[_0x325eac[_0x49fbb3(0x196)]],[_0x295576]]);}},_0xb7e94(_0x325eac[_0x357007(0x5a1)],'pluginName',_0x4c0470),_0x325eac['UniverCollaborationClientPlugin']=_0x3de065([_0x457d20['DependentOn'](_0x4d26ac['UniverCollaborationPlugin'],_0x4737a0['UniverNetworkPlugin']),_0x42fdea(0x1,_0x457d20[_0x357007(0x54e)]),_0x42fdea(0x2,_0x5c58b0[_0x357007(0x313)]),_0x42fdea(0x3,_0x457d20[_0x357007(0x2c4)](_0x457d20[_0x357007(0x467)])),_0x42fdea(0x4,_0x457d20['IConfigService'])],_0x325eac[_0x357007(0x5a1)]),_0x325eac[_0x357007(0x391)]=_0x14f602,_0x325eac[_0x357007(0x20c)]=_0x1d9233,_0x325eac[_0x357007(0x498)]=_0x446764,_0x325eac[_0x357007(0x451)]=_0x44c5ad,_0x325eac['CollaborationStatusDisplay']=_0x576c3c,_0x325eac[_0x357007(0x4e3)]=_0x2f817a,_0x325eac[_0x357007(0x337)]=_0x21f50d,_0x325eac[_0x357007(0x4ef)]=_0x4f64ac,_0x325eac['ICollaborationSocketService']=_0x3b47f0,_0x325eac['IURLService']=_0x24da1d,_0x325eac[_0x357007(0x207)]=_0x348843,_0x325eac[_0x357007(0x343)]=_0x53356b,_0x325eac['RETRY_CONNECTING_MAX_COUNT_KEY']=_0x577f9c,_0x325eac[_0x357007(0x580)]=_0x441ba3,_0x325eac[_0x357007(0x1f5)]=_0x89ef62,_0x325eac[_0x357007(0x38d)]=_0xfc9b39,_0x325eac['SessionStatus']=_0x4b3a9d,_0x325eac[_0x357007(0x375)]=_0x48e55f,_0x325eac[_0x357007(0x3aa)]=_0xdc84b4,_0x325eac[_0x357007(0x4cd)]=_0x4f68f8,_0x325eac[_0x357007(0x3d3)]=_0xfbb49e,Object[_0x357007(0x376)](_0x325eac,Symbol[_0x357007(0x197)],{'value':_0x357007(0x2f6)});}));