@univerjs-pro/collaboration-client 0.4.2-nightly.202411021605 → 0.4.2-nightly.202411031606

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 _0x520f(){const _0x1b0e62=['close','_collaborationPaused','UniverEngineRender','CBC','reconnect','show','size','_commentService','flatMap','SYNCED','m1Prime','JOINING','onRemoteAck','resend','_createInitialStateImpl','key','_createHelper','transformRemoteChangeset','Subject','exports','_drawAnchor','backgroundColor','resourceIDs','createIdentifier','toRgbString','_tryEnsureSocket','getSheetObject','displayName','idSuffix','_notificationService','_getSheetObject','_refRangeService','members','_doReset','parse','makeDirty','_executeRemoteChangeset','registerOnClose','27eRAgpq','clear','transformStack\x20failed!','HEARTBEAT_INTERVAL','_logService','_type','?url=','_toggleOffline','COMPRESS_MUTATION_APPLY','getItem','onRemoteRej','_DEC_XFORM_MODE','params','override','verdancy600','add','onRemoteRetry','_userManagerService','IConfigService','defaultProps','connection\x20error','_telemetryInfo','UniverDrawing','subUnitId','mapDocumentTypeToUniverType','_handleHover','colorChannel1','_onCombEvent','[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.','ImageIoService','whenReady','FETCH_MISSING','getRangePointData','isTransformChangesetsSuccess','parseProtocolChangeset','rxjs','898XUkYlJ','_instanceService','UniverNetwork','_http','_socketService','_eventUnsubscribe','_transformStack','setAlpha','distinctUntilChanged','ThemeService','div','liveShareNewHost','USERS_ENTER','HmacSHA1','@univerjs/docs','every','_ensureSubject','awaiting','_online','body','_collabSessionService','/block/','_schedule','unitId','path','textRanges','/universer-api/snapshot','eventID','listCollaborators','delete','string','getCoordByCell','debounce','_onRemoteChangeset','_updateState','loginUrlKey','pad','IUndoRedoService','_redoStacks','UniverCollaboration','_handleLeaveEvent','updateOfflineData','selection','csShouldRetryEvent','none','cursorInfo','InsertRangeMoveRightCommandId','onMissedChangesetFetched','getRelativeToViewportCoord','_collaborationTimeoutTimer','leaveEvent','OTHER_CLIENTS_EDITING','arc','LocaleService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','...','session.room-full','activeSheet$','floor','@univerjs/telemetry','revision','moveTo','urlChange$','_initRequestHeader','_localCacheService','measureText','_resendWithTimeout','fetch_missing','_sendHeartbeatTimer','crypto','[PendingState]:\x20received\x20rejection.','_messageService','image/png','_saveCache','isInternalEditorID','CommentService','_data','online','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','_queuedRemoteChangesets','_getCurrentRevision','collabStatus.offline','appendMutation','ImageUploadStatusType','getTypeOfUnitDisposed$','HttpExport','Inject','getOwnPropertyDescriptor','save','ERROR_EXCEED_SIZE','focused$','defineProperty','_xformMode','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_anchor','currentColor','_tryReconnect','loadDoc','_ENC_XFORM_MODE','CipherParams','allowed','unitId\x20is\x20not\x20found','_getSendChangesetTimeout','_removeRoom','setConfig','_getRedoStack','Utf8','@univerjs/sheets-ui','endColumn','_reverseMap','_entityInit$','on-line-single_clip0_910_349','AuthzIoHttpService','collabWebSocketUrl','onStarting','set','_updateLocalCursor','error$','HmacMD5','EvpKDF','slice','randomBytes','asObservable','clearInterval','RichTextEditingMutation','_hovered','_resendTimeout','@univerjs/ui','_startTelemetryCollaborationNewChangeset','disposeWithMe','LOGIN_URL_KEY','_onOffline','switchMap','9SgdblN','InsertRangeMoveDownCommandId','HMAC','_acknowledgedAwaitingChangeset','_lastPointer','closePath','SUCCUSS','debug','APPLY_PERMISSION_DENIED','isTransformMutationsWithChangesetFailure','updateMember','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','onTransformRemoteChangesetByStateCache','algo','_clearTimeoutTimer','[OfflineState]:\x20received\x20changeset.','_retryCount','href','from','onCommandExecuted','debounceTime','IAuthzIoService','StreamCipher','_shouldReportTelemetry','m2Prime','MUTATION','collab-client.tooltip.reconnect','socket$','objectID','_sessionStatus$','Encryptor','socketService','UnitEmbedded','_key','IBeforeCloseService','CollaborationController','sigBytes','roles','[CollaborationSessionService]','getVpScrollXYInfoByPosToVp','getSkeleton','@univerjs/network','_transformPreviousActiveRange','unshift','awaitingChangeset','onlineStatusIcon','setUndoRedoMutationParamsCache','EffectRefRangId','_invKeySchedule','_transformRemoteChangesetByIMECache','RefRangeService','0\x200\x2017\x2016','UniverDesign','hidden','LICENSE_EXPORT_SIZE_EXCEEDED','getRandomValues','handleInsertRow','@univerjs/design','_scheduleSaving','getTypeOfUnitAdded$','ICollaborationSocketService','toStringTag','closeSession','bind','collabStatus.syncing','use','pipe','_syncEditingCollabCursor','visibilitychange','toDisposable','mode','_scheduleCollaborationTimeoutTimer','_docTransformStateCacheService','_replaceFileID','socket\x20open.','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','collaboration-session-retry','_uiPartsService','restore','HTTPService','toggleOffline','_submitChangeset','putCollaborators','_initStatusComponent','_drawRectRange','DocIMEInputManagerService','dispose','attrs','transformUndoRedo','PERMISSION_REJ','collabSubmitChangesetUrl','getValue','OFFLINE','RemoveColCommandId','setItem','CollaborationSocketService','selections','stringify','_retryConnectingTimer','@univerjs/docs-ui','reject','fromCharCode','dispose$','collaborators','_selfUnitIDs','AWAITING_WITH_PENDING','setShapeProps','EXCHANGE_SIGN_URL_SERVER_URL_KEY','ivSize','roomMembers','send','svg','DocCollaborationEntity','_cursorShapes','getUnitType','length','_onConnectionFailed','_initMergeInterceptor','execute','CollaborationSession','DocSkeletonManagerService','onMissingChangesets','updateCursorEvent','IDLE','_docSkeletonManagerService','_startCollaboration','values','@univerjs/rpc','apply','registerRenderModule','_updateCollabCursors','COLLAB_SUBMIT_CHANGESET_URL_KEY','CollaborationEvent','saveImage','collaboration.closeRoom','initWorkbookPermissionChange','[DataLoaderController]','DesktopCollaborationStatusDisplayController','HTTPRequest','_collabCursorController','find','LICENSE_IMPORT_SIZE_EXCEEDED','offline','downloadEndpointUrl','LocalCacheService','_awaitingChangeset','[CollaborationSession]','getOffsetConfig','_changesetSessionId','_handleEvent','_setupBeforeClosingHandler','_cachedData','onTransformState','_remoteChangesetQueue','_permissionService','rev','with','_minBufferSize','handleInsertCol','Fragment','max','_map','addObjects','charCodeAt','_substituteRedoStack','startRow','ERROR_IMAGE_TYPE','_onRecvEvent','_docStateChangeManagerService','unknown','subscribeEvent','ILogService','_transformUndoRedoStack','confirm','has','session','_transitionLocked','addObject','next','getDeserializedSheetBlock','UniverCollaborationClient','cursorInfo$','VIEWPORT_KEY','encode','newValue','evenodd','CHANGESET_ACK','splice','toString','TRANSFORM_CHANGE_OBSERVABLE_TYPE','requireSession','setParam','_colorAssignService','collabStatus.notCollab','sessionStatus$','ceil','registerRefRange','status','RECT','duration','getRoom','FETCH_MISS','fillText','hasOwnProperty','transformChangesets','call','Error','_scheduleClearOtherTimer','createSocket','IPermissionService','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','[SyncedState]:\x20received\x20rejection.','getColor','entries','currentTheme$','_scene','[OfflineState]:\x20received\x20rejection.','IImageIoService','_localeService','_startSheetCollabCursor','_initEventListeners','\x0aAfter:\x20','onlineStatusTitle','UniverDocsUi','getParam','NOT_COLLAB','image/jpg','unitID','/universer-api/snapshot/','unpad','COLLAB_WEB_SOCKET_URL','_doFinalize','NOT_FOUND','_themeService','CHANGESET_REVISION_CONFILICT','_unitOnClients','/object','deleteCollaborator','fill','_send','_timeoutTimer','event$','univer-online','rgba(255,\x20255,\x20255,\x200.01)','registerBeforeClose','buffer','_prevBlock','forwardRef','PSEUDO_FETCH_MISSING_RESULT','_init','setInterval','setShowComponents','Base','_checkMissing','onTransformChange$','_setupSubUnitSync','init','UUID','_disableEditing','infoRsp','retryConnectingInterval','react','resolve','/unit/','repeat','BASE64','_toggleOnline','react.element','catch','_removeClearOtherTimer','clamp','UniverCollaborationClientPlugin','_registerRenderDependencies','routeKey','requestParams','Optional','onlineStatus','interceptor','CHANGESET_SHOULD_RETRY','_injector','range','_initCommandExecutedListener','_joinRoom','objectActions','UNRECOGNIZED','/role','COMPLETION_FINISHED','_drawTextRange','withCredentials','ICommandService','HELLO','ref','2286940OuIWmy','reset','color','uploadFileServerUrl','LIVESHARE_REQUEST_HOST','tag','_doCryptBlock','sheetId','collab-rect-range-','_revisionService','userID','_beforeCloseService','hide','shouldCloseConn','sid','SetTextSelectionsOperation','LocalUndoRedoService','changesets','function','transformMutation','undoState','createInstance','error','storage','_getUploadFileURL','[CollaborationUndoRedoService]','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','replaceTextRanges','/collaborator','_localStorageService','_hasher','update','BehaviorSubject','xlink:href','react.fragment','localeService','toggleOnline','HEARTBEAT','_univerInstanceService','_handleHeartbeatEvent','IRenderManagerService','M0\x200H16V16H0z','takeUntil','reverse','snapshotServerUrl','?size=','_waitForHeartbeatResponse','actions','RxDisposable','_oKey','collaboration_new_changeset','InsertColCommandId','_sendHeartbeat','clipPath','YUUMI_URL_COL_OUT_OF_RANGE','_snapshotServerService','SessionStatus','_scheduleHeartbeat','editingUnit','CommandType','getRenderById','state','_pendingMutations','_state$','_exhaustRemoteChangesetQueue','_commentUpdate$','OffLineSingle','image/jpeg','collabCursorState$','defIds','includes','transformStateCache','translate(.97)','_draw','_listenToOnlineEvent','ACTIVE_UNIT_EVENT_CHANNEL','onPointerMove$','mixIn','HEARTBEAT_INTERVAL_KEY','fromEvent','_renderManagerService','syncEditingCollabCursor','_onJoinRoomEvent','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','UniverEngineFormula','snapshot','__esModule','_transformIMECache','isTransformMutationsWithChangesetSuccess','VIEW_MAIN','Rectangle','SetSelectionsOperation','8234385gCBHJp','_cursorInfo$','disableLocalCache','_transformRemoteChangesetByStateCache','_session','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','onPointerEnter$','c1Prime','rxjs/operators','_onCursorUpdate','session.will-retry','collabStatus.fetchMiss','isActive','onPointerLeave$','message$','off-line-single_clip0_910_343','@univerjs/drawing','getMember','$super','serializeCombRequest','NodePositionConvertToCursor','Latin1','random','_clearOtherTimers','removeMember','_transformUndoredo','0\x200\x2016\x2016','/universer-api/file/{fileID}/sign-url','MergeInterceptorFactory','_iv','ENSURE_SNAPSHOT_EXECUTION','_refreshCollabCursors','_event$','pushState','transformIMECache','NoPadding','MemberService','Decryptor','_socket$','conflict','getSheetBySheetId','pauseCollaboration','PERMISSION_DENIED','jsx','onTransformRemoteChangesetByIMECache','_unitStatus','onRendered','_compressMutationService','processBlock','Vector2','_clearRedo','concat','_createHmacHelper','_socket','WebURLService','_scheduleTimestamp','session.connection-failed','lineTo','_onConflict','SHA1','_getScale','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','not_collab','padding','synced','transformSelections','DependentOn','awaiting_with_pending','4zYLfvK','_roomMembers','onTransformIME','map','sessionStatus','csAckEvent','_syncEditingCollabCursorService','pending','CONNECTOR_DATA_TOO_LARGE','Warning','saveOfflineData','memberID','_applyRemoteChangeset','conflict.title','liveShareOperation','onCommentUpdate','getDocRanges','SheetCollabCursorShape','reqId','mergeOverrideWithDependencies','kdf','SerializableCipher','combineLatest','fromEventSubject','transform','_updateSubUnitFromURLParams','_clearHeartbeatTimer','findNodePositionByCharIndex','deserializeRangeWithSheet','TOO_MANY_REQUESTS','UNAUTHENTICATED','_undoStacks','Hex','IMessageService','Shape','SNAPSHOT_HAS_BEEN_REMOVED','filter','purple300','_change$','_initUnitPermissionChange','getViewport','_getAnchorBounding','_context','_onRemoteRejected','_candidateSocket','#fff','for','fetchMiss','BufferedBlockAlgorithm','_keySchedule','AUTHZ_URL_KEY','unload','name','AES','_socketMessageSubscription','createCollaborator','UserManagerService','objectType','_assignedColors','__creator','_name','_id','_nDataBytes','getStateCache','getUniverSheetInstance','join','off-line-single','getInterceptPoints','originalMeta','_saveTaskMap','_docTransformSelectionsService','_sender','SnapshotServerOverHTTPService','column','@univerjs/engine-render','randomUUID','amd','_getSignURL','enc','UniverRpc','sin','JOIN','create','_rescheduleHeartbeat','text','_cursors','_getLoginPath','setActiveRange','decryptBlock','createDecryptor','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','onSendChangeset','/universer-api/stream/file/upload','_clearCollaborationTimeoutTimer','hasher','origin','APPLY_DUPLICATED','_substituteUndoStack','concatMap','_clearUndo','open$','getUndoRedoMutationParamsCache','bottom','UniverDocs','getTime','Module','_clearScheduledTask','UniverTelemetry','_onRemoteRetry','DataLoaderController','1em','socket\x20close','loadSheet','_entities','[OfflineState]:\x20received\x20acknowledgement.','NEW_CHANGESETS','COLLAB_WEB_SOCKET_URL_KEY','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','SheetSkeletonManagerService','now','_cipher','Unknown\x20user','x-univer-host','LICENSE_DISTRO_REJECTED','_state','prototype','/universer-api/authz','InsertSheetMutation','format','_incrementRevisionNumber','handleIRemoveCol','_getAPIPrefix','_sendingTimer','Disposable','_unlockTransition','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','useObservable','gold400','lib','Cipher','subunit','ALREADY_EXISTS','_stopTelemetryCollaborationNewChangeset','PasswordBasedCipher','icon','sequenceExecute','_transformService','Plugin','LOCAL_CACHE_INTERVAL_KEY','/rev/','_render','/resources','getCurrent','msCrypto','_onConnectionOpen','_hideTimer','WorkbookEditablePermission','_updateStatus','cmd','url','INTERNAL_ERROR','json','deepClone','width','_clearLocalCache','createEncryptor','_onFetchMissResult','MoveRangeCommandId','refreshPermission','SNAPSHOT_INVALID_SNAPSHOT','UNIVER_PROJECT','_listenToOfflineEvent','RETRY_CONNECTING_MAX_COUNT','getCurrentRevOfUnit','top','generateRandomId','_process','charAt','drawWith','_heartbeatTimer','_handler','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_collaborationSessionService','FromArray','fromCollab','_cursor','Hasher','_sheetSkeletonManagerService','UNDEFINED','/-/object/list','Tools','_range','SEND_CHANGESET_TIMEOUT','isArray','_collaborationController','_singleActiveUnitService','univerjs-icon\x20univerjs-icon-','some','INotificationService','collabStatus.synced','replaceState','fetchMissingChangesets','AWAITING','_labelPosition','DOC_RANGE_TYPE','image/bmp','CollaborationEntity','UniverUi','[SyncedState]:\x20received\x20acknowledgement.','words','_configService','popstate','assign','salt','_telemetryService','replace','url(#on-line-single_clip0_910_349)','getUnitStatus$','loadOfflineData','setTimeout','_docSyncEditingCollabCursorService','image/gif','symbol','_memberService','_ws','_onCursorDelete','_getCtorByUniverType','rng','_status$','UPDATE_PERMISSION_OBJ','state$','close$','UNIVER_SLIDE','MD5','doc.mutation.rich-text-editing','_sheetTransformSelectionsService','CollaborationSessionService','exhaustSavingTask','OpenSSL','_initCloseConn','skeleton','/new_changes','_getSaveTimeout','shareReplay','conflict.content','parseChangesetToProtocol','ImageSourceType','SUBMIT_CHANGESET','_showConflictNotification','patch','_shapes','YUUMI_RATE_OVER_LIMIT','_throwTelemetryCollaborationNewChangeset','compose','[CollaborationSessionService]:\x20socket\x20error','getImage','getResourcesRequest','transformMutationsWithChangeset','FileId','199056ShjLAr','APPLY_REJECT','1404268HosaUn','_getMergeRange','RevisionService','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','45031EpUaDs','deserializeToCombResponse','_members','_startDocCollabCursor','&source=','getCellPositionByOffset','LIVESHARE_FETCH_OPERATIONS','13564632btvZZC','[UniverCollaborationClientPlugin]','CompressMutationService','code','_hash','univer-pro.collaboration-client.single-active-unit-service','_createSocket','black','url(#$1','UNKNOWN_CMD','UnitSnapshot','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','SheetsSelectionsService','_waitCount','status$','_httpService','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_undoRedoService','ILocalStorageService','IRemoteInstanceService','getConfig','[CollaborationEntity]','LOCAL_CACHE_INTERVAL','_onUserJoin','delay','HEADER_MENU','DisposableCollection','_urlService','_parse','SNAPSHOT_URL_KEY','LICENSE_MAX_UNITS_EXCEEDED','_keyPriorReset','getUnit','LEAVE','/-/object/-/batch_allowed','_initStatusListener','_config','CollaborationStatus','fetching\x20missing\x20changesets\x20from\x20','serializeRangeWithSheet','BuiltInUIPart','_getDownloadEndpointURL','batchAllowed','textEncoder','enableLocalCache','MSG_FOR_ERROR','substr','height','className','jiqing500','encodeURIComponent','current','ranges','DocSelectionManagerService','JSONX','Injector','round','abs','_onLocalMutation','_sessions','isPermissionRej','USERS_LEAVE','Workbook','SHOULD_CLOSE_CONN','ONLINE','defs','change$','YUUMI_UNABLE_LOAD_URL','indexOf','visibilityState','COLORS','isEditing','_handleJoinEvent','mutations','_initDependencies','children','redoState','_roomMembers$','updatePermissionPoint','univer-online-status-icon','_mode','collaboration.single-unit.warning','546LPIpMX','Base64','fetchThroughInterceptors','UniverSheetsUi','substring','\x0aCurrent:\x20','\x20to\x20','default','sheetID','_changesetReqId','LIVESHARE_TERMINATE','getCurrentSelections','assignAColorForMemberID','_anchorDot','handleDeleteRangeMoveLeft','getActiveSheet','onTransformSelections','DeleteRangeMoveLeftCommandId','_resendTimer','APPLY_NON_SEQUENTIAL_REVISION','HttpImport','byteLength','WordArray','_fetchMissChangesets','number','COMMENT_UPDATE','compute','Undefined','_docTransformIMECacheService','HEARTBEAT_TIMEOUT','history','push','_isPermissionRej','_collabCursorState$','target','getOwnPropertySymbols','onRemoteChangeset','currentSkeleton$','registerHTTPInterceptor','univer-pro.collaboration-client-socket-service','location','_unitID','extend','roomMembers$','addEventListener','MessageType','font','disposeUnit','UNIVER_DOC','forEach','getImageSourceCache','UPDATE_CURSOR','FAIL','_snapshotService','getCollabEntity','UNIVER_UNKNOWN','InsertRowCommandId','getWorkbookSelections','_updateURLWithCurrentState','POST','blue400','min','sendChangesetTimeout','collaboration-client.offline-data-not-saved','file','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_loadSheet','unsubscribe','type','decrypt','DocStateChangeManagerService','_getAPIPrefixPath','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','append','Tooltip','[FetchMissState]','_lockTransition','take','data','SetWorksheetActivateCommand','jsxs','_hover','BlockCipherMode','hostname','{fileID}','RegularPolygon','touchDependencies','/object/','IUniverInstanceService','commentUpdateEvent','updatePermissionObjEvent','propertyIsEnumerable','clone','&to=','_socketReady','INGEST','createElement','Rect','keySize','INVALID_ARGUMENT','collab-text-range-','onMouseMove','getUnhiddenWorksheets','executeCommand','on-line-single','useRef','result','CHANGESET_REJ','RemoveRowCommandId','updateCollaborator','blockSize','/allowed','@univerjs-pro/collaboration','_nRounds','clearTimeout','src','ReactCurrentOwner','WebSocketService','getFocusedUnit','__Key__','_commandService','_doProcessBlock','ITelemetryService','merge','ERROR_IMAGE','split','then','_append','get','_color','getUnitId','LIVESHARE_NEW_HOST','_disabled','encrypt','univer-online-status-title','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_backgroundColor','baseRev','ISnapshotServerService','_initResize','isTransformMutationFailure','_removeCollabCursors','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','complete','@univerjs/core','_onRefRangeChange','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','TEXT','cfg','post','LIVESHARE_OPERATION','permissionRejEvent','UniverInstanceType','getSheetId','_updateLocalCache','NO_OTHER_CLIENTS_EDITING','finalize','_colorIndex','unit-cache-','permission.title','TEXT_RANGE_LAYER_INDEX','ciphertext','getCollabEntity$','searchParams','_onRemoteACK','UNKNOWN_CODE','_textBubble','workbook','ITransformService','_getSnapshotAPIPrefix','subscribe','getLatestCsReqIdBySid','headers','reduce','fillStyle','csRejEvent','_decreaseWaiting','SheetCollaborationEntity','title','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','@univerjs/engine-formula','setCurrentUser','UNIVER_SHEET','_registerDependencies','RECV','HEARTBEAT_TIMEOUT_KEY','CONFLICT','ws://127.0.0.1:8000/universer-api/comb/connect','getCollabCursors$','getMemberID','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_HTTPService','getCurrentUser','_createHandler'];_0x520f=function(){return _0x1b0e62;};return _0x520f();}function _0x3a4a(_0x30751c,_0xd15c7){const _0x520fe0=_0x520f();return _0x3a4a=function(_0x3a4a56,_0x1b29be){_0x3a4a56=_0x3a4a56-0x88;let _0x5a065f=_0x520fe0[_0x3a4a56];return _0x5a065f;},_0x3a4a(_0x30751c,_0xd15c7);}(function(_0x7247c1,_0x11c1a4){const _0x2d4e92=_0x3a4a,_0xbda671=_0x7247c1();while(!![]){try{const _0x50c630=parseInt(_0x2d4e92(0x1c6))/0x1*(parseInt(_0x2d4e92(0x434))/0x2)+-parseInt(_0x2d4e92(0x4b9))/0x3*(-parseInt(_0x2d4e92(0x2cb))/0x4)+parseInt(_0x2d4e92(0x182))/0x5+parseInt(_0x2d4e92(0x328))/0x6*(parseInt(_0x2d4e92(0x2cf))/0x7)+-parseInt(_0x2d4e92(0x2d6))/0x8+-parseInt(_0x2d4e92(0x410))/0x9*(parseInt(_0x2d4e92(0x126))/0xa)+-parseInt(_0x2d4e92(0x2c9))/0xb;if(_0x50c630===_0x11c1a4)break;else _0xbda671['push'](_0xbda671['shift']());}catch(_0x282cac){_0xbda671['push'](_0xbda671['shift']());}}}(_0x520f,0xd8ae0),function(_0x3d1979,_0x1745a5){const _0x5ac102=_0x3a4a;typeof exports=='object'&&typeof module<'u'?_0x1745a5(exports,require(_0x5ac102(0x3b8)),require(_0x5ac102(0x433)),require(_0x5ac102(0x18a)),require(_0x5ac102(0x4f2)),require('@univerjs/ui'),require(_0x5ac102(0x4e2)),require(_0x5ac102(0x398)),require(_0x5ac102(0x46f)),require(_0x5ac102(0x51c)),require('@univerjs/sheets'),require(_0x5ac102(0x210)),require(_0x5ac102(0x442)),require(_0x5ac102(0x192)),require(_0x5ac102(0x3dc)),require('@univerjs/sheets-ui'),require(_0x5ac102(0x107)),require(_0x5ac102(0x538))):typeof define=='function'&&define[_0x5ac102(0x212)]?define([_0x5ac102(0x3fd),_0x5ac102(0x3b8),'rxjs',_0x5ac102(0x18a),_0x5ac102(0x4f2),_0x5ac102(0x4b3),_0x5ac102(0x4e2),_0x5ac102(0x398),_0x5ac102(0x46f),_0x5ac102(0x51c),'@univerjs/sheets',_0x5ac102(0x210),_0x5ac102(0x442),'@univerjs/drawing','@univerjs/engine-formula',_0x5ac102(0x49f),'react',_0x5ac102(0x538)],_0x1745a5):(_0x3d1979=typeof globalThis<'u'?globalThis:_0x3d1979||self,_0x1745a5(_0x3d1979[_0x5ac102(0xb6)]={},_0x3d1979['UniverCore'],_0x3d1979[_0x5ac102(0x433)],_0x3d1979[_0x5ac102(0x433)]['operators'],_0x3d1979[_0x5ac102(0x4ed)],_0x3d1979[_0x5ac102(0x295)],_0x3d1979[_0x5ac102(0x436)],_0x3d1979[_0x5ac102(0x45b)],_0x3d1979[_0x5ac102(0x231)],_0x3d1979[_0x5ac102(0xe1)],_0x3d1979['UniverSheets'],_0x3d1979[_0x5ac102(0x3ec)],_0x3d1979[_0x5ac102(0x22d)],_0x3d1979[_0x5ac102(0x426)],_0x3d1979[_0x5ac102(0x17a)],_0x3d1979[_0x5ac102(0x32b)],_0x3d1979['React'],_0x3d1979[_0x5ac102(0x215)]));}(this,function(_0x4c1435,_0x28c502,_0x158390,_0x9d1bc,_0x4fac56,_0x28a60c,_0x5d2d09,_0x50e560,_0x446f37,_0x3d318b,_0x256063,_0x5474e6,_0x576070,_0x4d719d,_0x23e6b0,_0x5d4d05,_0x25eca3,_0x5d6b13){'use strict';const _0x5d8d99=_0x3a4a;var _0x5e98b6=Object['defineProperty'],_0xa53416=(_0x30a51d,_0xbff3f8,_0x18a5c9)=>_0xbff3f8 in _0x30a51d?_0x5e98b6(_0x30a51d,_0xbff3f8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x18a5c9}):_0x30a51d[_0xbff3f8]=_0x18a5c9,_0x569acc=(_0x116dc0,_0x15c817,_0x44d7ad)=>_0xa53416(_0x116dc0,typeof _0x15c817!=_0x5d8d99(0x2a4)?_0x15c817+'':_0x15c817,_0x44d7ad);const _0x53ab54='SNAPSHOT_SERVER_URL_KEY',_0x8097e4=_0x5d8d99(0x44e),_0x28e608=_0x5d8d99(0x2f3),_0x34d1ad=_0x5d8d99(0x286),_0x29870a=_0x5d8d99(0xe8),_0x30496f=_0x5d8d99(0x3e3),_0x3fc47f=_0x5d8d99(0x413),_0x48f29d=_0x5d8d99(0x345),_0x46e8a1=_0x5d8d99(0x272),_0x346b18=_0x5d8d99(0x2ec),_0x3fe672='COLLAB_SUBMIT_CHANGESET_URL',_0xe71bb1='/universer-api/comb',_0x3181be=_0x5d8d99(0x4b6),_0x1112ec='/universer-api/oidc/authpage';var _0x3a0128=(_0x35a094=>(_0x35a094[_0x35a094[_0x5d8d99(0x282)]=0x0]=_0x5d8d99(0x282),_0x35a094[_0x35a094['OK']=0x1]='OK',_0x35a094[_0x35a094[_0x5d8d99(0x266)]=0x2]=_0x5d8d99(0x266),_0x35a094[_0x35a094['PERMISSION_DENIED']=0x3]=_0x5d8d99(0x1ac),_0x35a094[_0x35a094[_0x5d8d99(0xea)]=0x4]=_0x5d8d99(0xea),_0x35a094[_0x35a094[_0x5d8d99(0x1e4)]=0x5]=_0x5d8d99(0x1e4),_0x35a094[_0x35a094['ALREADY_EXISTS']=0x6]=_0x5d8d99(0x253),_0x35a094[_0x35a094[_0x5d8d99(0x38b)]=0x7]=_0x5d8d99(0x38b),_0x35a094[_0x35a094[_0x5d8d99(0x1e3)]=0x8]='TOO_MANY_REQUESTS',_0x35a094[_0x35a094['COMPLETION_FINISHED']=0x9]=_0x5d8d99(0x120),_0x35a094[_0x35a094[_0x5d8d99(0xec)]=0x1389]=_0x5d8d99(0xec),_0x35a094[_0x35a094[_0x5d8d99(0x26f)]=0x1771]=_0x5d8d99(0x26f),_0x35a094[_0x35a094[_0x5d8d99(0x1e9)]=0x1772]=_0x5d8d99(0x1e9),_0x35a094[_0x35a094[_0x5d8d99(0x1a0)]=0x1773]=_0x5d8d99(0x1a0),_0x35a094[_0x35a094['APPLY_REJECT']=0x1b59]=_0x5d8d99(0x2ca),_0x35a094[_0x35a094['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x5d8d99(0x33b),_0x35a094[_0x35a094['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x35a094[_0x35a094[_0x5d8d99(0x4c1)]=0x1b5c]=_0x5d8d99(0x4c1),_0x35a094[_0x35a094[_0x5d8d99(0x226)]=0x1b5d]=_0x5d8d99(0x226),_0x35a094[_0x35a094[_0x5d8d99(0x1ce)]=0x1f41]=_0x5d8d99(0x1ce),_0x35a094[_0x35a094[_0x5d8d99(0x2f4)]=0x2329]=_0x5d8d99(0x2f4),_0x35a094[_0x35a094['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x5d8d99(0x4c4),_0x35a094[_0x35a094[_0x5d8d99(0x8f)]=0x232b]=_0x5d8d99(0x8f),_0x35a094[_0x35a094[_0x5d8d99(0x4ef)]=0x232c]=_0x5d8d99(0x4ef),_0x35a094[_0x35a094[_0x5d8d99(0x241)]=0x232d]=_0x5d8d99(0x241),_0x35a094[_0x35a094[_0x5d8d99(0x319)]=0x2711]=_0x5d8d99(0x319),_0x35a094[_0x35a094[_0x5d8d99(0x15c)]=0x2712]=_0x5d8d99(0x15c),_0x35a094[_0x35a094[_0x5d8d99(0x2c1)]=0x2713]=_0x5d8d99(0x2c1),_0x35a094[_0x35a094['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x35a094[_0x35a094['UNRECOGNIZED']=-0x1]=_0x5d8d99(0x11e),_0x35a094))(_0x3a0128||{}),_0x5b91b5=(_0x2c7f34=>(_0x2c7f34[_0x2c7f34[_0x5d8d99(0x35f)]=0x0]=_0x5d8d99(0x35f),_0x2c7f34[_0x2c7f34[_0x5d8d99(0x358)]=0x1]=_0x5d8d99(0x358),_0x2c7f34[_0x2c7f34[_0x5d8d99(0x3de)]=0x2]=_0x5d8d99(0x3de),_0x2c7f34[_0x2c7f34['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x2c7f34[_0x2c7f34[_0x5d8d99(0x270)]=0x4]=_0x5d8d99(0x270),_0x2c7f34[_0x2c7f34[_0x5d8d99(0x11e)]=-0x1]='UNRECOGNIZED',_0x2c7f34))(_0x5b91b5||{}),_0x54e56b=(_0x2df8c7=>(_0x2df8c7[_0x2df8c7[_0x5d8d99(0x2df)]=0x0]=_0x5d8d99(0x2df),_0x2df8c7[_0x2df8c7[_0x5d8d99(0x124)]=0x1]=_0x5d8d99(0x124),_0x2df8c7[_0x2df8c7[_0x5d8d99(0x217)]=0x2]=_0x5d8d99(0x217),_0x2df8c7[_0x2df8c7[_0x5d8d99(0x2f7)]=0x3]=_0x5d8d99(0x2f7),_0x2df8c7[_0x2df8c7[_0x5d8d99(0x387)]=0x4]=_0x5d8d99(0x387),_0x2df8c7[_0x2df8c7[_0x5d8d99(0x14b)]=0x5]='HEARTBEAT',_0x2df8c7[_0x2df8c7[_0x5d8d99(0x3e0)]=0x6]='RECV',_0x2df8c7[_0x2df8c7['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x2df8c7))(_0x54e56b||{}),_0x5c85a8=(_0x1891d7=>(_0x1891d7[_0x1891d7[_0x5d8d99(0x3cd)]=0x0]='UNKNOWN_CODE',_0x1891d7[_0x1891d7['OK']=0x1]='OK',_0x1891d7[_0x1891d7['FAIL']=0x2]=_0x5d8d99(0x35c),_0x1891d7[_0x1891d7[_0x5d8d99(0x11e)]=-0x1]=_0x5d8d99(0x11e),_0x1891d7))(_0x5c85a8||{}),_0x3a2340=(_0x335055=>(_0x335055[_0x335055[_0x5d8d99(0x343)]=0x0]=_0x5d8d99(0x343),_0x335055[_0x335055['HttpImport']=0x1]=_0x5d8d99(0x33c),_0x335055[_0x335055[_0x5d8d99(0x489)]=0x2]='HttpExport',_0x335055[_0x335055[_0x5d8d99(0x4d9)]=0x3]=_0x5d8d99(0x4d9),_0x335055[_0x335055[_0x5d8d99(0x2e0)]=0x4]='UnitSnapshot',_0x335055[_0x335055[_0x5d8d99(0x11e)]=-0x1]=_0x5d8d99(0x11e),_0x335055))(_0x3a2340||{});const _0x5b0249='collaboration-client.config',_0x2f81d6={};function _0x3e065f(_0x582a92){const _0x3ef44a=_0x5d8d99;var _0x5b5cce,_0x357cef,_0x3d9458,_0x171533,_0x4d345c;const _0x143487=_0x582a92['data'],_0x47d2e8=JSON[_0x3ef44a(0x40c)](_0x143487);switch(_0x47d2e8[_0x3ef44a(0x264)]){case _0x54e56b[_0x3ef44a(0x14b)]:case _0x54e56b[_0x3ef44a(0x124)]:{const _0x56b5da=_0x47d2e8[_0x3ef44a(0x105)];return{..._0x47d2e8,'data':_0x56b5da,'cmd':_0x47d2e8[_0x3ef44a(0x264)]};}case _0x54e56b['JOIN']:{const _0x55a9a0=_0x47d2e8['joinRsp'];return{..._0x47d2e8,'data':_0x55a9a0,'cmd':_0x47d2e8['cmd']};}case _0x54e56b[_0x3ef44a(0x3e0)]:{const _0x6c818a=_0x47d2e8['collaMsg'];switch(_0x6c818a[_0x3ef44a(0x44f)]){case _0x50e560['CollaborationEvent'][_0x3ef44a(0x512)]:return{..._0x47d2e8,'data':{..._0x6c818a,'data':(_0x5b5cce=_0x6c818a[_0x3ef44a(0x3bf)])==null?void 0x0:_0x5b5cce['cs']},'cmd':_0x47d2e8[_0x3ef44a(0x264)]};case _0x50e560[_0x3ef44a(0x53d)][_0x3ef44a(0xbc)]:return{..._0x47d2e8,'data':{..._0x6c818a,'data':(_0x357cef=_0x6c818a[_0x3ef44a(0x1cb)])==null?void 0x0:_0x357cef['cs']},'cmd':_0x47d2e8[_0x3ef44a(0x264)]};case _0x50e560[_0x3ef44a(0x53d)][_0x3ef44a(0x239)]:return{..._0x47d2e8,'data':{..._0x6c818a,'data':(_0x3d9458=_0x6c818a['newCsEvent'])==null?void 0x0:_0x3d9458['cs']},'cmd':_0x47d2e8[_0x3ef44a(0x264)]};case _0x50e560['CollaborationEvent'][_0x3ef44a(0x393)]:return{..._0x47d2e8,'data':{..._0x6c818a,'data':(_0x171533=_0x6c818a[_0x3ef44a(0x3d7)])==null?void 0x0:_0x171533['cs']},'cmd':_0x47d2e8[_0x3ef44a(0x264)]};case _0x50e560['CollaborationEvent'][_0x3ef44a(0x118)]:return{..._0x47d2e8,'data':{..._0x6c818a,'data':(_0x4d345c=_0x6c818a[_0x3ef44a(0x45f)])==null?void 0x0:_0x4d345c['cs']},'cmd':_0x47d2e8[_0x3ef44a(0x264)]};case _0x50e560[_0x3ef44a(0x53d)]['UPDATE_CURSOR']:return{..._0x47d2e8,'data':{..._0x6c818a,'data':_0x6c818a[_0x3ef44a(0x533)]},'cmd':_0x47d2e8[_0x3ef44a(0x264)]};case _0x50e560[_0x3ef44a(0x53d)][_0x3ef44a(0x440)]:return{..._0x47d2e8,'data':{..._0x6c818a,'data':_0x6c818a['joinEvent']},'cmd':_0x47d2e8[_0x3ef44a(0x264)]};case _0x50e560[_0x3ef44a(0x53d)][_0x3ef44a(0x313)]:return{..._0x47d2e8,'data':{..._0x6c818a,'data':_0x6c818a[_0x3ef44a(0x466)]},'cmd':_0x47d2e8[_0x3ef44a(0x264)]};case _0x50e560['CollaborationEvent'][_0x3ef44a(0x3ab)]:return{..._0x47d2e8,'data':{..._0x6c818a,'data':_0x6c818a[_0x3ef44a(0x43f)]},'cmd':_0x47d2e8[_0x3ef44a(0x264)]};case _0x50e560[_0x3ef44a(0x53d)]['LIVESHARE_FETCH_OPERATIONS']:case _0x50e560[_0x3ef44a(0x53d)][_0x3ef44a(0x3be)]:return{..._0x47d2e8,'data':{..._0x6c818a,'data':_0x6c818a[_0x3ef44a(0x1d4)]},'cmd':_0x47d2e8['cmd']};case _0x50e560[_0x3ef44a(0x53d)][_0x3ef44a(0x332)]:return{..._0x47d2e8,'data':{..._0x6c818a,'data':_0x6c818a[_0x3ef44a(0x43f)]},'cmd':_0x47d2e8['cmd']};case _0x50e560['CollaborationEvent'][_0x3ef44a(0x303)]:return{..._0x47d2e8,'data':_0x6c818a,'cmd':_0x47d2e8[_0x3ef44a(0x264)]};case _0x50e560[_0x3ef44a(0x53d)][_0x3ef44a(0x341)]:return{..._0x47d2e8,'data':{..._0x6c818a,'data':_0x6c818a[_0x3ef44a(0x381)]},'cmd':_0x47d2e8['cmd']};case _0x50e560[_0x3ef44a(0x53d)][_0x3ef44a(0x2ab)]:return{..._0x47d2e8,'data':{..._0x6c818a,'data':_0x6c818a[_0x3ef44a(0x382)]},'cmd':_0x47d2e8[_0x3ef44a(0x264)]};case _0x50e560[_0x3ef44a(0x53d)][_0x3ef44a(0x315)]:return{..._0x47d2e8,'data':{..._0x6c818a,'data':_0x6c818a[_0x3ef44a(0x133)]},'cmd':_0x47d2e8[_0x3ef44a(0x264)]};default:return _0x47d2e8;}}default:return _0x47d2e8;}}function _0x20acea(_0x502bb6){const _0x4d2ad5=_0x5d8d99;switch(_0x502bb6[_0x4d2ad5(0x264)]){case _0x54e56b[_0x4d2ad5(0x14b)]:case _0x54e56b['HELLO']:return JSON[_0x4d2ad5(0x51a)]({'cmd':_0x502bb6['cmd'],'routeKey':_0x502bb6[_0x4d2ad5(0x113)]});case _0x54e56b[_0x4d2ad5(0x387)]:{let _0x390f47;switch(_0x502bb6[_0x4d2ad5(0x376)][_0x4d2ad5(0x44f)]){case _0x50e560[_0x4d2ad5(0x53d)][_0x4d2ad5(0x35b)]:{_0x390f47={'eventID':_0x50e560[_0x4d2ad5(0x53d)][_0x4d2ad5(0x35b)],'updateCursorEvent':_0x502bb6['data'][_0x4d2ad5(0x376)]};break;}case _0x50e560[_0x4d2ad5(0x53d)][_0x4d2ad5(0x313)]:{_0x390f47={'eventID':_0x50e560[_0x4d2ad5(0x53d)][_0x4d2ad5(0x313)],'leaveEvent':_0x502bb6[_0x4d2ad5(0x376)][_0x4d2ad5(0x376)]};break;}case _0x50e560[_0x4d2ad5(0x53d)]['USERS_ENTER']:{_0x390f47={'eventID':_0x50e560[_0x4d2ad5(0x53d)][_0x4d2ad5(0x440)],'joinEvent':_0x502bb6[_0x4d2ad5(0x376)][_0x4d2ad5(0x376)]};break;}case _0x50e560[_0x4d2ad5(0x53d)][_0x4d2ad5(0x3ab)]:{_0x390f47={'eventID':_0x50e560[_0x4d2ad5(0x53d)][_0x4d2ad5(0x3ab)],'liveShareNewHost':_0x502bb6[_0x4d2ad5(0x376)][_0x4d2ad5(0x376)]};break;}case _0x50e560['CollaborationEvent'][_0x4d2ad5(0x3be)]:{_0x390f47={'eventID':_0x50e560[_0x4d2ad5(0x53d)][_0x4d2ad5(0x3be)],'liveShareOperation':_0x502bb6['data']['data']};break;}case _0x50e560['CollaborationEvent']['LIVESHARE_TERMINATE']:{_0x390f47={'eventID':_0x50e560[_0x4d2ad5(0x53d)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x502bb6['data'][_0x4d2ad5(0x376)]};break;}case _0x50e560[_0x4d2ad5(0x53d)][_0x4d2ad5(0x12a)]:{_0x390f47={'eventID':_0x50e560['CollaborationEvent'][_0x4d2ad5(0x12a)],'liveShareRequestHost':_0x502bb6[_0x4d2ad5(0x376)][_0x4d2ad5(0x376)]};break;}case _0x50e560[_0x4d2ad5(0x53d)][_0x4d2ad5(0x2d5)]:{_0x390f47={'eventID':_0x50e560[_0x4d2ad5(0x53d)][_0x4d2ad5(0x2d5)]};break;}default:_0x390f47={'eventID':_0x502bb6[_0x4d2ad5(0x376)][_0x4d2ad5(0x44f)]};}return JSON[_0x4d2ad5(0x51a)]({'cmd':_0x502bb6[_0x4d2ad5(0x264)],'routeKey':_0x502bb6['routeKey'],'collaMsg':_0x390f47});}case _0x54e56b['JOIN']:return JSON[_0x4d2ad5(0x51a)]({'cmd':_0x502bb6[_0x4d2ad5(0x264)],'routeKey':_0x502bb6['routeKey'],'joinReq':_0x502bb6[_0x4d2ad5(0x376)]});case _0x54e56b[_0x4d2ad5(0x2f7)]:return JSON[_0x4d2ad5(0x51a)]({'cmd':_0x502bb6[_0x4d2ad5(0x264)],'routeKey':_0x502bb6[_0x4d2ad5(0x113)],'leaveReq':_0x502bb6[_0x4d2ad5(0x376)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x4d73e4=Object[_0x5d8d99(0x48f)],_0x150211=Object['getOwnPropertyDescriptor'],_0x280cbc=(_0x3607cd,_0x301329,_0x2a1acb,_0x5f44f7)=>{const _0x3f6a08=_0x5d8d99;for(var _0x4616e1=_0x5f44f7>0x1?void 0x0:_0x5f44f7?_0x150211(_0x301329,_0x2a1acb):_0x301329,_0x5cf4b9=_0x3607cd[_0x3f6a08(0x52c)]-0x1,_0xdf75ed;_0x5cf4b9>=0x0;_0x5cf4b9--)(_0xdf75ed=_0x3607cd[_0x5cf4b9])&&(_0x4616e1=(_0x5f44f7?_0xdf75ed(_0x301329,_0x2a1acb,_0x4616e1):_0xdf75ed(_0x4616e1))||_0x4616e1);return _0x5f44f7&&_0x4616e1&&_0x4d73e4(_0x301329,_0x2a1acb,_0x4616e1),_0x4616e1;},_0x591c9e=(_0x3e69c5,_0x3c3f86)=>(_0x2d0960,_0x596f1c)=>_0x3c3f86(_0x2d0960,_0x596f1c,_0x3e69c5);const _0x5266e3=_0x28c502[_0x5d8d99(0x401)](_0x5d8d99(0x34f));function _0x811587(_0x38d941,_0x3c2cd1,_0x3dd7d4){const _0x161405=_0x5d8d99;return _0x38d941+'/'+_0x3c2cd1+_0x161405(0x109)+_0x3dd7d4+_0x161405(0x2b7);}_0x4c1435[_0x5d8d99(0x518)]=class extends _0x28c502[_0x5d8d99(0x24b)]{constructor(_0x2860e4,_0x35ada5,_0x368fd2,_0x219b2b,_0x42ebd9){const _0x133590=_0x5d8d99;super(),this[_0x133590(0x437)]=_0x2860e4,this[_0x133590(0x2a6)]=_0x35ada5,this[_0x133590(0x298)]=_0x368fd2,this['_logService']=_0x219b2b,this[_0x133590(0x15d)]=_0x42ebd9;}['createSocket'](_0x4b4ab4){const _0x536e09=_0x5d8d99,_0x36087a=this[_0x536e09(0x2a6)][_0x536e09(0xd2)](_0x4b4ab4);if(!_0x36087a)throw new Error(_0x536e09(0x491));const _0x7263d2=new _0x28c502['DisposableCollection'](),_0x4193e7=new _0x158390[(_0x536e09(0x3fc))]();_0x7263d2[_0x536e09(0x41f)](_0x36087a['close$'][_0x536e09(0x3d2)](_0x1023ae=>_0x4193e7[_0x536e09(0xb4)](_0x1023ae))),_0x7263d2[_0x536e09(0x41f)](_0x28c502[_0x536e09(0x4fe)](()=>_0x4193e7[_0x536e09(0x3b7)]()));const _0x456c01=new _0x158390['Subject']();_0x7263d2[_0x536e09(0x41f)](_0x36087a[_0x536e09(0x4a9)][_0x536e09(0x3d2)](_0x330f00=>_0x456c01[_0x536e09(0xb4)](_0x330f00))),_0x7263d2[_0x536e09(0x41f)](_0x28c502[_0x536e09(0x4fe)](()=>_0x456c01[_0x536e09(0x3b7)]()));const _0x49d2a6=new _0x158390[(_0x536e09(0x3fc))]();_0x7263d2[_0x536e09(0x41f)](_0x36087a[_0x536e09(0x190)][_0x536e09(0x3d2)](_0x3b8b40=>{const _0x4aed7d=_0x536e09,_0x154410=_0x3e065f(_0x3b8b40);_0x49d2a6[_0x4aed7d(0xb4)](_0x154410);})),_0x7263d2[_0x536e09(0x41f)](_0x28c502[_0x536e09(0x4fe)](()=>_0x49d2a6[_0x536e09(0x3b7)]()));let _0x41f43f;const _0x39a8e1=()=>{const _0x51a46f=_0x536e09;_0x456c01['next'](new Event('connection\x20error')),_0x4193e7[_0x51a46f(0xb4)](new CloseEvent(_0x51a46f(0x424))),_0x41f43f[_0x51a46f(0x3ea)]();};return _0x41f43f={'memberID':'','close$':_0x4193e7[_0x536e09(0x4ae)](),'error$':_0x456c01[_0x536e09(0x4ae)](),'open$':_0x36087a['open$'],'message$':_0x49d2a6[_0x536e09(0x4ae)](),'send':_0x48aa74=>{const _0x25ec69=_0x536e09;if(_0x48aa74['cmd']===_0x54e56b['INGEST']){if(_0x48aa74[_0x25ec69(0x376)][_0x25ec69(0x44f)]===_0x50e560['CollaborationEvent'][_0x25ec69(0x2bd)]){this['_submitChangeset'](_0x41f43f,_0x48aa74[_0x25ec69(0x376)])[_0x25ec69(0x10e)](_0x599993=>{const _0x3381a3=_0x25ec69;this['_logService'][_0x3381a3(0x13c)](_0x599993),_0x39a8e1();});return;}if(_0x48aa74['data'][_0x25ec69(0x44f)]===_0x50e560['CollaborationEvent'][_0x25ec69(0x42f)]){const _0x5c8367=_0x48aa74[_0x25ec69(0x376)];this[_0x25ec69(0x33f)](_0x5c8367)['then'](_0x5f0a83=>{const _0x4d254f=_0x25ec69;_0x49d2a6['next']({'cmd':_0x54e56b[_0x4d254f(0x3e0)],'code':_0x5c85a8['OK'],'routeKey':_0x5c8367['data'][_0x4d254f(0xe5)],'routeType':'','data':{'eventID':_0x50e560[_0x4d254f(0x53d)][_0x4d254f(0xfa)],'data':{'changesets':_0x5f0a83}}});})[_0x25ec69(0x10e)](_0x52b45c=>{const _0x834bac=_0x25ec69;this[_0x834bac(0x414)][_0x834bac(0x13c)](_0x52b45c),_0x39a8e1();});return;}}_0x36087a[_0x25ec69(0x527)](_0x20acea(_0x48aa74));},'close':()=>{const _0x319bd7=_0x536e09;_0x36087a[_0x319bd7(0x3ea)](),_0x7263d2[_0x319bd7(0x50f)]();}},_0x41f43f;}async[_0x5d8d99(0x50a)](_0x2bc05a,_0x5463d3){const _0x284321=_0x5d8d99;var _0x519878,_0x426523;const {unitType:_0x38cac6,unitID:_0x312f61,changeset:_0x672adc}=_0x5463d3['data'],_0xb58451={'unitID':_0x312f61,'memberID':_0x2bc05a['memberID'],'type':_0x38cac6,'changeset':_0x50e560[_0x284321(0x2bb)](_0x672adc)},_0x18e4c5=this[_0x284321(0x298)][_0x284321(0x2ea)](_0x3fe672),_0x3133d5=this['_configService']['getConfig'](_0x5b0249),_0x58364f=_0x811587((_0x426523=(_0x519878=_0x3133d5==null?void 0x0:_0x3133d5[_0x284321(0x513)])!=null?_0x519878:_0x18e4c5)!=null?_0x426523:_0xe71bb1,_0x38cac6,_0x312f61);try{await this[_0x284321(0x437)]['post'](_0x58364f,{'body':_0xb58451});}catch(_0x4d50f9){throw this[_0x284321(0x414)]['error'](_0x284321(0x94),'submit\x20changeset\x20error!'),_0x4d50f9;}}async[_0x5d8d99(0x33f)](_0x4f5568){const _0x24bc19=_0x5d8d99,{unitID:_0x1f831b,from:_0x3e065d,to:_0x3dc9a0,unitType:_0x571dfb}=_0x4f5568[_0x24bc19(0x376)];return(await this[_0x24bc19(0x15d)][_0x24bc19(0x28f)]({'metadata':void 0x0},{'unitID':_0x1f831b,'type':_0x571dfb,'from':_0x3e065d,'to':_0x3dc9a0}))['changesets'];}},_0x4c1435[_0x5d8d99(0x518)]=_0x280cbc([_0x591c9e(0x0,_0x28c502[_0x5d8d99(0x48a)](_0x5d2d09[_0x5d8d99(0x508)])),_0x591c9e(0x1,_0x28c502[_0x5d8d99(0x48a)](_0x5d2d09[_0x5d8d99(0x39d)])),_0x591c9e(0x2,_0x28c502[_0x5d8d99(0x422)]),_0x591c9e(0x3,_0x28c502[_0x5d8d99(0xad)]),_0x591c9e(0x4,_0x50e560['ISnapshotServerService'])],_0x4c1435['CollaborationSocketService']);const _0x480136=_0x5d8d99(0x158);function _0xebcc08(_0x4d2b8a){const _0x53258c=_0x5d8d99;return JSON[_0x53258c(0x51a)](_0x4d2b8a)[_0x53258c(0x52c)];}class _0x35d563{constructor(){const _0x345ecf=_0x5d8d99;_0x569acc(this,_0x345ecf(0x167),new _0x158390[(_0x345ecf(0x3fc))]()),_0x569acc(this,'commentUpdate$',this[_0x345ecf(0x167)]['asObservable']());}['onCommentUpdate'](_0x5aa4bc){const _0xa1d1d7=_0x5d8d99;this[_0xa1d1d7(0x167)][_0xa1d1d7(0xb4)](_0x5aa4bc);}}var _0x47dcf8=Object[_0x5d8d99(0x48f)],_0x4bfc69=Object['getOwnPropertyDescriptor'],_0x446a13=(_0x3c0bc1,_0x2e517e,_0x187bca,_0x3d1b5b)=>{for(var _0x4f2b07=_0x3d1b5b>0x1?void 0x0:_0x3d1b5b?_0x4bfc69(_0x2e517e,_0x187bca):_0x2e517e,_0xf528dd=_0x3c0bc1['length']-0x1,_0x401cab;_0xf528dd>=0x0;_0xf528dd--)(_0x401cab=_0x3c0bc1[_0xf528dd])&&(_0x4f2b07=(_0x3d1b5b?_0x401cab(_0x2e517e,_0x187bca,_0x4f2b07):_0x401cab(_0x4f2b07))||_0x4f2b07);return _0x3d1b5b&&_0x4f2b07&&_0x47dcf8(_0x2e517e,_0x187bca,_0x4f2b07),_0x4f2b07;},_0x1920c1=(_0x34e647,_0x192afd)=>(_0xf1aeba,_0x187a8e)=>_0x192afd(_0xf1aeba,_0x187a8e,_0x34e647);_0x4c1435['MemberService']=class extends _0x28c502[_0x5d8d99(0x24b)]{constructor(_0x3fff98,_0x4418af){const _0x41e941=_0x5d8d99;super(),_0x569acc(this,_0x41e941(0x1c7),new Map()),(this[_0x41e941(0x14c)]=_0x3fff98,this[_0x41e941(0x421)]=_0x4418af,this[_0x41e941(0x4b5)](_0x28c502[_0x41e941(0x4fe)](_0x158390['merge'](this[_0x41e941(0x14c)][_0x41e941(0x488)](_0x28c502[_0x41e941(0x3c0)][_0x41e941(0x3de)])['pipe'](_0x9d1bc[_0x41e941(0x1c9)](_0x46179d=>_0x46179d[_0x41e941(0x3aa)]())),this['_univerInstanceService'][_0x41e941(0x488)](_0x28c502[_0x41e941(0x3c0)][_0x41e941(0x358)])[_0x41e941(0x4fb)](_0x9d1bc['map'](_0x53f743=>_0x53f743['getUnitId']())),this[_0x41e941(0x14c)]['getTypeOfUnitDisposed$'](_0x28c502['UniverInstanceType'][_0x41e941(0x2ae)])[_0x41e941(0x4fb)](_0x9d1bc[_0x41e941(0x1c9)](_0x460687=>_0x460687[_0x41e941(0x3aa)]())))['subscribe'](_0x4ec921=>this[_0x41e941(0x49b)](_0x4ec921)))));}['setCurrentUser'](_0x533ea7){const _0x42755d=_0x5d8d99;this['_userManagerService'][_0x42755d(0x3dd)](_0x533ea7);}[_0x5d8d99(0x3e8)](){const _0x3683c5=_0x5d8d99;return this[_0x3683c5(0x421)][_0x3683c5(0x3e8)]();}[_0x5d8d99(0x4c3)](_0x4b7da1,_0x4f3a73){const _0x28608a=_0x5d8d99;let _0x3f1cad=this[_0x28608a(0x1c7)][_0x28608a(0x3a8)](_0x4b7da1);_0x3f1cad||(_0x3f1cad=new _0x1e83c4(),this['_roomMembers'][_0x28608a(0x4a7)](_0x4b7da1,_0x3f1cad)),_0x3f1cad[_0x28608a(0x4c3)](_0x4f3a73);}[_0x5d8d99(0x19a)](_0x9a859c,_0x1c204d){const _0x1fe193=_0x5d8d99,_0x47d62d=this[_0x1fe193(0x1c7)][_0x1fe193(0x3a8)](_0x9a859c);_0x47d62d&&_0x47d62d['removeMember'](_0x1c204d);}[_0x5d8d99(0xca)](_0x2f1712){const _0x3e2dea=_0x5d8d99;return this[_0x3e2dea(0x1c7)][_0x3e2dea(0x3a8)](_0x2f1712);}[_0x5d8d99(0x193)](_0x1ae023,_0x4bf0f1){const _0x3c8cc2=_0x5d8d99,_0x5c8d19=this[_0x3c8cc2(0x1c7)][_0x3c8cc2(0x3a8)](_0x1ae023);if(_0x5c8d19)return _0x5c8d19[_0x3c8cc2(0x193)](_0x4bf0f1);}[_0x5d8d99(0x49b)](_0x5aae4f){const _0x5f2dd1=_0x5d8d99,_0x41e359=this['_roomMembers']['get'](_0x5aae4f);_0x41e359&&(_0x41e359[_0x5f2dd1(0x50f)](),this['_roomMembers'][_0x5f2dd1(0x451)](_0x5aae4f));}[_0x5d8d99(0x50f)](){const _0x4836b6=_0x5d8d99;this[_0x4836b6(0x1c7)][_0x4836b6(0x359)](_0xbae52a=>_0xbae52a[_0x4836b6(0x50f)]()),this[_0x4836b6(0x1c7)]['clear']();}},_0x4c1435['MemberService']=_0x446a13([_0x1920c1(0x0,_0x28c502[_0x5d8d99(0x380)]),_0x1920c1(0x1,_0x28c502['Inject'](_0x28c502[_0x5d8d99(0x1fe)]))],_0x4c1435['MemberService']);class _0x1e83c4 extends _0x28c502[_0x5d8d99(0x24b)]{constructor(){const _0x4436be=_0x5d8d99;super(...arguments),_0x569acc(this,_0x4436be(0x2d1),new Map());}['dispose'](){const _0x142e2e=_0x5d8d99;this[_0x142e2e(0x2d1)][_0x142e2e(0x411)]();}[_0x5d8d99(0x4c3)](_0x436d8b){const _0x5da328=_0x5d8d99;this[_0x5da328(0x2d1)]['set'](_0x436d8b[_0x5da328(0x1d1)],_0x436d8b);}['removeMember'](_0x56d4ea){const _0x4d5613=_0x5d8d99;this['_members'][_0x4d5613(0x451)](_0x56d4ea);}[_0x5d8d99(0x193)](_0x251230){const _0x4f5c91=_0x5d8d99;return this['_members'][_0x4f5c91(0x3a8)](_0x251230);}['getAllMembers'](){const _0x2bf574=_0x5d8d99;return Array[_0x2bf574(0x4cb)](this[_0x2bf574(0x2d1)][_0x2bf574(0x537)]());}}var _0x1657e3=Object['defineProperty'],_0x5746e9=Object[_0x5d8d99(0x48b)],_0x19720e=(_0x16d209,_0x8213d9,_0xddb585,_0x2e4e1c)=>{const _0xee3b5a=_0x5d8d99;for(var _0x30ea5b=_0x2e4e1c>0x1?void 0x0:_0x2e4e1c?_0x5746e9(_0x8213d9,_0xddb585):_0x8213d9,_0x3e6d92=_0x16d209[_0xee3b5a(0x52c)]-0x1,_0x5676a3;_0x3e6d92>=0x0;_0x3e6d92--)(_0x5676a3=_0x16d209[_0x3e6d92])&&(_0x30ea5b=(_0x2e4e1c?_0x5676a3(_0x8213d9,_0xddb585,_0x30ea5b):_0x5676a3(_0x30ea5b))||_0x30ea5b);return _0x2e4e1c&&_0x30ea5b&&_0x1657e3(_0x8213d9,_0xddb585,_0x30ea5b),_0x30ea5b;},_0x41f293=(_0x37f96b,_0x1ca6f8)=>(_0x53895d,_0x3c31d1)=>_0x1ca6f8(_0x53895d,_0x3c31d1,_0x37f96b),_0x36f038=(_0x327900=>(_0x327900[_0x327900['IDLE']=0x0]=_0x5d8d99(0x534),_0x327900[_0x327900[_0x5d8d99(0x3f5)]=0x1]=_0x5d8d99(0x3f5),_0x327900[_0x327900[_0x5d8d99(0x515)]=0x2]=_0x5d8d99(0x515),_0x327900[_0x327900['ONLINE']=0x3]=_0x5d8d99(0x316),_0x327900))(_0x36f038||{});_0x4c1435['CollaborationSession']=class extends _0x28c502[_0x5d8d99(0x156)]{constructor(_0xfc432,_0xe0f3b0,_0x5636c6,_0x14d3c5,_0x1afec0,_0x4a96a5,_0x543fb9,_0x631e,_0x5d580b,_0x394160){const _0x2e7a53=_0x5d8d99;super(),_0x569acc(this,'_sessionStatus$',new _0x158390[(_0x2e7a53(0x146))](0x0)),_0x569acc(this,_0x2e7a53(0xc4),this[_0x2e7a53(0x4d6)][_0x2e7a53(0x4ae)]()),_0x569acc(this,_0x2e7a53(0x1a2),new _0x158390[(_0x2e7a53(0x3fc))]()),_0x569acc(this,'event$',this[_0x2e7a53(0x1a2)][_0x2e7a53(0x4ae)]()),_0x569acc(this,_0x2e7a53(0x1b7)),_0x569acc(this,_0x2e7a53(0x1fc)),_0x569acc(this,_0x2e7a53(0x465)),_0x569acc(this,_0x2e7a53(0x4d0),!0x1),_0x569acc(this,'_telemetryInfo',null),(this[_0x2e7a53(0x351)]=_0xfc432,this['_logService']=_0x5636c6,this['_beforeCloseService']=_0x14d3c5,this[_0x2e7a53(0x47b)]=_0x1afec0,this['_configService']=_0x4a96a5,this[_0x2e7a53(0xdc)]=_0x543fb9,this[_0x2e7a53(0x2a5)]=_0x631e,this[_0x2e7a53(0x3f1)]=_0x5d580b,this[_0x2e7a53(0x29c)]=_0x394160,this['_shouldReportTelemetry']=!!this[_0x2e7a53(0x29c)],_0xe0f3b0[_0x2e7a53(0x4fb)](_0x158390[_0x2e7a53(0x150)](this[_0x2e7a53(0x51f)]))[_0x2e7a53(0x3d2)](_0x2dcfe9=>{const _0x1c32ee=_0x2e7a53;var _0xe591e5;typeof _0x2dcfe9>'u'||(this['_socket']=_0x2dcfe9,_0x2dcfe9?(this[_0x1c32ee(0x11c)](_0x2dcfe9),this[_0x1c32ee(0x1fc)]=_0x2dcfe9[_0x1c32ee(0x190)][_0x1c32ee(0x3d2)](_0x337cab=>{const _0x22c532=_0x1c32ee;_0x337cab[_0x22c532(0x113)]===this[_0x22c532(0x351)]&&this[_0x22c532(0x42b)](_0x337cab);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x1c32ee(0x4d6)][_0x1c32ee(0xb4)](0x2),(_0xe591e5=this[_0x1c32ee(0x1fc)])==null||_0xe591e5['unsubscribe'](),this[_0x1c32ee(0x1fc)]=null));}),this[_0x2e7a53(0x4b5)](this['_beforeCloseService'][_0x2e7a53(0x40f)](()=>{const _0x2e8dbb=_0x2e7a53;var _0xfac6c3;(_0xfac6c3=this[_0x2e8dbb(0x1b7)])==null||_0xfac6c3[_0x2e8dbb(0x527)]({'cmd':_0x54e56b['LEAVE'],'data':{'roomID':this[_0x2e8dbb(0x351)]}});})));}get[_0x5d8d99(0x1ca)](){const _0x200753=_0x5d8d99;return this[_0x200753(0x4d6)]['getValue']();}[_0x5d8d99(0x3e5)](){const _0x2cb806=_0x5d8d99;var _0x351df5,_0x12859c;return(_0x12859c=(_0x351df5=this[_0x2cb806(0x1b7)])==null?void 0x0:_0x351df5[_0x2cb806(0x1d1)])!=null?_0x12859c:null;}[_0x5d8d99(0x50f)](){const _0x27dca9=_0x5d8d99;super[_0x27dca9(0x50f)](),this['dispose$'][_0x27dca9(0xb4)](),this[_0x27dca9(0x51f)]['complete']();}[_0x5d8d99(0x3ea)](){const _0xe6a332=_0x5d8d99;var _0x117043,_0x301d3b;this[_0xe6a332(0x2c2)](),(_0x117043=this[_0xe6a332(0x1b7)])==null||_0x117043['send']({'cmd':_0x54e56b['LEAVE'],'data':{'roomID':this[_0xe6a332(0x351)]}}),(_0x301d3b=this[_0xe6a332(0x1b7)])==null||_0x301d3b[_0xe6a332(0x3ea)](),this[_0xe6a332(0x1a2)]['complete'](),this[_0xe6a332(0x4d6)][_0xe6a332(0x3b7)](),this['dispose']();}['_onCombEvent'](_0x325bf9){const _0xdd7b7c=_0x5d8d99;_0x325bf9[_0xdd7b7c(0x264)]===_0x54e56b[_0xdd7b7c(0x217)]?this[_0xdd7b7c(0x178)](_0x325bf9):_0x325bf9[_0xdd7b7c(0x264)]===_0x54e56b['RECV']&&this[_0xdd7b7c(0xa9)](_0x325bf9);}[_0x5d8d99(0x11c)](_0x36cef3){const _0xf219fc=_0x5d8d99;this['_sessionStatus$'][_0xf219fc(0xb4)](0x1),_0x36cef3[_0xf219fc(0x527)]({'cmd':_0x54e56b[_0xf219fc(0x217)],'routeKey':this[_0xf219fc(0x351)],'routeType':'','data':{'rooms':[{'roomID':this[_0xf219fc(0x351)]}]}});}[_0x5d8d99(0x178)](_0x38e860){const _0x476160=_0x5d8d99;var _0x333e7e;if(_0x38e860[_0x476160(0x2d9)]===_0x5c85a8[_0x476160(0x35c)]){this['_messageService'][_0x476160(0x3ef)]({'type':_0x4fac56[_0x476160(0x355)][_0x476160(0x1cf)],'content':this[_0x476160(0xdc)]['t'](_0x476160(0x46c))}),this['_sessionStatus$'][_0x476160(0xb4)](0x2);return;}this[_0x476160(0x4d6)]['next'](0x3);const _0x3259db=(_0x333e7e=_0x38e860[_0x476160(0x376)]['roomInfos'][this[_0x476160(0x351)]])==null?void 0x0:_0x333e7e[_0x476160(0x40a)];_0x3259db&&_0x3259db[_0x476160(0x359)](_0x462588=>this[_0x476160(0x2a5)]['updateMember'](this[_0x476160(0x351)],_0x462588));}['_onRecvEvent'](_0x5e41f0){const _0x5a437f=_0x5d8d99;try{const _0x284a13=_0x5e41f0['data'];switch(_0x284a13[_0x5a437f(0x44f)]){case _0x50e560[_0x5a437f(0x53d)]['USERS_ENTER']:this[_0x5a437f(0x2ed)](_0x284a13),this[_0x5a437f(0x1a2)][_0x5a437f(0xb4)](_0x284a13);break;case _0x50e560[_0x5a437f(0x53d)][_0x5a437f(0x313)]:this['_onUserLeave'](_0x284a13),this[_0x5a437f(0x1a2)][_0x5a437f(0xb4)](_0x284a13);break;case _0x50e560[_0x5a437f(0x53d)][_0x5a437f(0xbc)]:case _0x50e560[_0x5a437f(0x53d)][_0x5a437f(0x118)]:this[_0x5a437f(0x254)](),this[_0x5a437f(0x223)](),this['_event$'][_0x5a437f(0xb4)](_0x284a13);break;case _0x50e560['CollaborationEvent'][_0x5a437f(0x303)]:this[_0x5a437f(0x414)][_0x5a437f(0x13c)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x5a437f(0x51a)](_0x284a13)),this[_0x5a437f(0x1a2)]['next'](_0x284a13);break;case _0x50e560[_0x5a437f(0x53d)][_0x5a437f(0x341)]:this[_0x5a437f(0x3f1)][_0x5a437f(0x1d5)](_0x284a13['data']),this[_0x5a437f(0x1a2)][_0x5a437f(0xb4)](_0x284a13);break;default:this[_0x5a437f(0x1a2)][_0x5a437f(0xb4)](_0x284a13);}}catch(_0x3dc174){this[_0x5a437f(0x414)][_0x5a437f(0x13c)](_0x3dc174,_0x5e41f0);}}[_0x5d8d99(0x2ed)](_0x14bedb){const _0x420b8a=_0x5d8d99;this[_0x420b8a(0x2a5)][_0x420b8a(0x4c3)](this[_0x420b8a(0x351)],_0x14bedb[_0x420b8a(0x376)]);}['_onUserLeave'](_0x396ac6){const _0x1aa60b=_0x5d8d99;this[_0x1aa60b(0x2a5)]['removeMember'](this[_0x1aa60b(0x351)],_0x396ac6[_0x1aa60b(0x376)][_0x1aa60b(0x1d1)]);}async[_0x5d8d99(0x527)](_0x4e3d19,_0x361e30){const _0x28d55f=_0x5d8d99;if(this[_0x28d55f(0x1ca)]!==0x3||!this[_0x28d55f(0x1b7)])throw new Error(_0x28d55f(0x23b));try{_0x4e3d19[_0x28d55f(0x44f)]===_0x50e560['CollaborationEvent'][_0x28d55f(0x2bd)]&&(this[_0x28d55f(0x500)](),this[_0x28d55f(0x4b4)](_0x4e3d19)),this['_socket'][_0x28d55f(0x527)]({'cmd':_0x54e56b[_0x28d55f(0x387)],'routeKey':_0x361e30,'routeType':'','data':_0x4e3d19});}catch(_0x178e18){this[_0x28d55f(0x414)][_0x28d55f(0x13c)](_0x178e18);}}[_0x5d8d99(0x500)](){const _0x579a48=_0x5d8d99;var _0x370865;this[_0x579a48(0x465)]=window['setTimeout'](()=>{const _0x34f4b0=_0x579a48;this[_0x34f4b0(0x465)]=null,this[_0x34f4b0(0x47b)][_0x34f4b0(0x3ef)]({'type':_0x4fac56[_0x34f4b0(0x355)][_0x34f4b0(0xd0)],'content':this['_localeService']['t']('session.collaboration-timeout')});},(_0x370865=this[_0x579a48(0x298)][_0x579a48(0x2ea)](_0x48f29d))!=null?_0x370865:0x4e20);}[_0x5d8d99(0x223)](){this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}[_0x5d8d99(0x4b4)](_0x23c405){const _0x478cca=_0x5d8d99;if(!this[_0x478cca(0x4d0)])return;const {data:_0x6f3127}=_0x23c405,{unitID:_0x3d1dae,changeset:_0x4be10f}=_0x6f3127,{mutations:_0x22314c,type:_0x2df3a3}=_0x4be10f;this[_0x478cca(0x425)]={'unitId':_0x3d1dae,'type':_0x2df3a3,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0xebcc08(_0x22314c)};}[_0x5d8d99(0x254)](){const _0x746fdf=_0x5d8d99;if(this[_0x746fdf(0x4d0)]){if(!this[_0x746fdf(0x425)]){this[_0x746fdf(0x414)]['error'](_0x746fdf(0x94),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo']['stopTime']=performance[_0x746fdf(0x23d)](),this['_telemetryInfo'][_0x746fdf(0xc9)]=this[_0x746fdf(0x425)]['stopTime']-this[_0x746fdf(0x425)]['startTime'],this[_0x746fdf(0x29c)]['capture'](_0x480136,this[_0x746fdf(0x425)]),this[_0x746fdf(0x425)]=null;}}[_0x5d8d99(0x2c2)](){const _0xa27933=_0x5d8d99;this[_0xa27933(0x425)]=null;}},_0x4c1435[_0x5d8d99(0x530)]=_0x19720e([_0x41f293(0x2,_0x28c502[_0x5d8d99(0xad)]),_0x41f293(0x3,_0x28a60c[_0x5d8d99(0x4db)]),_0x41f293(0x4,_0x28a60c[_0x5d8d99(0x1e7)]),_0x41f293(0x5,_0x28c502[_0x5d8d99(0x422)]),_0x41f293(0x6,_0x28c502[_0x5d8d99(0x48a)](_0x28c502[_0x5d8d99(0x469)])),_0x41f293(0x7,_0x28c502[_0x5d8d99(0x48a)](_0x4c1435[_0x5d8d99(0x1a6)])),_0x41f293(0x8,_0x28c502[_0x5d8d99(0x48a)](_0x35d563)),_0x41f293(0x9,_0x28c502['Optional'](_0x446f37[_0x5d8d99(0x3a2)]))],_0x4c1435[_0x5d8d99(0x530)]);var _0x4af8cc=Object[_0x5d8d99(0x48f)],_0xb968b8=Object[_0x5d8d99(0x48b)],_0x2af02f=(_0x323fe4,_0x374e79,_0x521b9a,_0x43b99f)=>{for(var _0x3437e5=_0x43b99f>0x1?void 0x0:_0x43b99f?_0xb968b8(_0x374e79,_0x521b9a):_0x374e79,_0x57bfd3=_0x323fe4['length']-0x1,_0x55a37e;_0x57bfd3>=0x0;_0x57bfd3--)(_0x55a37e=_0x323fe4[_0x57bfd3])&&(_0x3437e5=(_0x43b99f?_0x55a37e(_0x374e79,_0x521b9a,_0x3437e5):_0x55a37e(_0x3437e5))||_0x3437e5);return _0x43b99f&&_0x3437e5&&_0x4af8cc(_0x374e79,_0x521b9a,_0x3437e5),_0x3437e5;},_0x538f0d=(_0x5afa93,_0x11900d)=>(_0xa4f2fc,_0x43831e)=>_0x11900d(_0xa4f2fc,_0x43831e,_0x5afa93);_0x4c1435[_0x5d8d99(0x2b2)]=class extends _0x28c502[_0x5d8d99(0x24b)]{constructor(_0x3eda67,_0x57e7fa,_0x370cb0,_0x28aaf,_0xd5fe60,_0x5f09d1){const _0x5b6ad4=_0x5d8d99;super(),_0x569acc(this,'_socket$',new _0x158390['BehaviorSubject'](void 0x0)),_0x569acc(this,_0x5b6ad4(0x4d4),this['_socket$'][_0x5b6ad4(0x4ae)]()),_0x569acc(this,_0x5b6ad4(0x1f2),null),_0x569acc(this,_0x5b6ad4(0x311),new Map()),_0x569acc(this,_0x5b6ad4(0x2aa),new _0x158390[(_0x5b6ad4(0x146))](_0x36f038['IDLE'])),_0x569acc(this,_0x5b6ad4(0x2e4),this[_0x5b6ad4(0x2aa)]['asObservable']()),_0x569acc(this,'_socketReady',!0x1),_0x569acc(this,_0x5b6ad4(0x51b)),_0x569acc(this,_0x5b6ad4(0x4c9),0x0),_0x569acc(this,_0x5b6ad4(0x478)),_0x569acc(this,_0x5b6ad4(0xf2)),(this[_0x5b6ad4(0x119)]=_0x3eda67,this['_localeService']=_0x57e7fa,this['_messageService']=_0x370cb0,this[_0x5b6ad4(0x414)]=_0x28aaf,this[_0x5b6ad4(0x298)]=_0xd5fe60,this[_0x5b6ad4(0x438)]=_0x5f09d1,this[_0x5b6ad4(0xde)]());}get[_0x5d8d99(0x1b7)](){const _0x23e997=_0x5d8d99;return this['_socket$'][_0x23e997(0x514)]();}[_0x5d8d99(0xde)](){const _0xddcc0a=_0x5d8d99;this[_0xddcc0a(0x271)](),this[_0xddcc0a(0x170)]();}[_0x5d8d99(0x50f)](){const _0x42ffd3=_0x5d8d99;super[_0x42ffd3(0x50f)](),this[_0x42ffd3(0x311)]['forEach'](_0x16386f=>_0x16386f[_0x42ffd3(0x50f)]()),this[_0x42ffd3(0x311)][_0x42ffd3(0x411)](),this[_0x42ffd3(0x2aa)][_0x42ffd3(0x3b7)]();}async[_0x5d8d99(0xc0)](_0x4c3cff){const _0x4ec7b0=_0x5d8d99;if(this['_sessions']['has'](_0x4c3cff))return this[_0x4ec7b0(0x311)][_0x4ec7b0(0x3a8)](_0x4c3cff);this[_0x4ec7b0(0x403)]();const _0xf3b3c9=this[_0x4ec7b0(0x119)][_0x4ec7b0(0x13b)](_0x4c1435['CollaborationSession'],_0x4c3cff,this[_0x4ec7b0(0x1a8)][_0x4ec7b0(0x4ae)]());return this[_0x4ec7b0(0x311)][_0x4ec7b0(0x4a7)](_0x4c3cff,_0xf3b3c9),_0xf3b3c9;}[_0x5d8d99(0x4f7)](_0x50255e){const _0x33a3cb=_0x5d8d99;var _0x2348a3;const _0x527827=this['_sessions'][_0x33a3cb(0x3a8)](_0x50255e);_0x527827&&(this[_0x33a3cb(0x311)][_0x33a3cb(0x451)](_0x50255e),_0x527827[_0x33a3cb(0x3ea)]()),this['_sessions']['size']||(_0x2348a3=this[_0x33a3cb(0x1b7)])==null||_0x2348a3[_0x33a3cb(0x3ea)]();}[_0x5d8d99(0x3ee)](){const _0x1b0aee=_0x5d8d99;this[_0x1b0aee(0x4c9)]=0x0,this[_0x1b0aee(0x51b)]!=null&&(clearTimeout(this[_0x1b0aee(0x51b)]),this[_0x1b0aee(0x51b)]=null),this[_0x1b0aee(0x494)]();}['_createSocket'](){const _0x489d70=_0x5d8d99;var _0xe09d91,_0x417e5b;const _0x160cb8=this[_0x489d70(0x298)][_0x489d70(0x2ea)](_0x29870a),_0x4746aa=this['_configService'][_0x489d70(0x2ea)](_0x5b0249),_0x3954ac=(_0x417e5b=(_0xe09d91=_0x4746aa==null?void 0x0:_0x4746aa[_0x489d70(0x4a5)])!=null?_0xe09d91:_0x160cb8)!=null?_0x417e5b:_0x30496f,_0xcbdf26=this['_socketService']['createSocket'](_0x3954ac);return this[_0x489d70(0x1f2)]=_0xcbdf26,_0xcbdf26;}[_0x5d8d99(0x403)](){const _0x1a444f=_0x5d8d99;var _0x3c2743,_0x2d5298;try{const _0x3fcbc6=(_0x2d5298=(_0x3c2743=this[_0x1a444f(0x1b7)])!=null?_0x3c2743:this[_0x1a444f(0x1f2)])!=null?_0x2d5298:this[_0x1a444f(0x2dc)]();if(_0x3fcbc6){const _0xa8f79c=_0x3fcbc6[_0x1a444f(0x527)];_0x3fcbc6['send']=_0x203865=>(this[_0x1a444f(0x219)](),_0xa8f79c['apply'](_0x3fcbc6,[_0x203865])),_0x3fcbc6[_0x1a444f(0x190)][_0x1a444f(0x3d2)](_0x572a71=>this['_onMessage'](_0x3fcbc6,_0x572a71)),_0x3fcbc6[_0x1a444f(0x4a9)][_0x1a444f(0x4fb)](_0x9d1bc[_0x1a444f(0x375)](0x1))[_0x1a444f(0x3d2)](_0x5456bd=>this[_0x1a444f(0x414)][_0x1a444f(0x13c)](_0x1a444f(0x2c4),_0x5456bd)),_0x3fcbc6[_0x1a444f(0x22a)]['pipe'](_0x9d1bc[_0x1a444f(0x375)](0x1))['subscribe'](()=>{const _0x361da8=_0x1a444f;this[_0x361da8(0x260)](_0x3fcbc6);}),_0x3fcbc6[_0x1a444f(0x2ad)][_0x1a444f(0x4fb)](_0x9d1bc['take'](0x1))[_0x1a444f(0x3d2)](_0x3ea2f6=>{const _0x73621a=_0x1a444f;this['_logService']['debug'](_0x73621a(0x4df),_0x73621a(0x235),_0x3ea2f6),this['_onConnectionFailed']();});}}catch(_0x50e467){this[_0x1a444f(0x414)]['error'](_0x50e467),this[_0x1a444f(0x52d)]();}}['_onConnectionOpen'](_0x47695d){const _0xcd3344=_0x5d8d99;this[_0xcd3344(0x414)][_0xcd3344(0x4c0)](_0xcd3344(0x4df),_0xcd3344(0x503)),_0x47695d[_0xcd3344(0x527)]({'cmd':_0x54e56b[_0xcd3344(0x124)]}),this['_rescheduleHeartbeat']();}[_0x5d8d99(0x271)](){const _0x380ef0=_0x5d8d99;window[_0x380ef0(0x354)]('offline',()=>this['_onOffline']());}[_0x5d8d99(0x4b7)](){const _0x4642f4=_0x5d8d99;this[_0x4642f4(0x386)]=!0x1,this[_0x4642f4(0x1f2)]=null,this[_0x4642f4(0x2aa)][_0x4642f4(0xb4)](_0x36f038[_0x4642f4(0x515)]),this[_0x4642f4(0x1a8)]['next'](null),this[_0x4642f4(0x4c7)](),this[_0x4642f4(0x1e0)]();}[_0x5d8d99(0x52d)](){const _0x52c6ec=_0x5d8d99;var _0x1064d5;this['_onOffline'](),this[_0x52c6ec(0x4c9)]<((_0x1064d5=this[_0x52c6ec(0x298)]['getConfig'](_0x46e8a1))!=null?_0x1064d5:0x3)?(this['_messageService'][_0x52c6ec(0x3ef)]({'key':_0x52c6ec(0x505),'type':_0x4fac56[_0x52c6ec(0x355)][_0x52c6ec(0x1cf)],'content':this['_localeService']['t'](_0x52c6ec(0x18c))}),this[_0x52c6ec(0x494)]()):this['_messageService'][_0x52c6ec(0x3ef)]({'key':_0x52c6ec(0x505),'type':_0x4fac56[_0x52c6ec(0x355)][_0x52c6ec(0xd0)],'content':this[_0x52c6ec(0xdc)]['t'](_0x52c6ec(0x1ba))});}[_0x5d8d99(0x170)](){const _0x534e2b=_0x5d8d99,_0x11d02c=()=>{const _0x3ac181=_0x3a4a;this[_0x3ac181(0x1b7)]||this[_0x3ac181(0x3ee)]();},_0x1e1c80=()=>{const _0x305357=_0x3a4a;this[_0x305357(0x1b7)]||document[_0x305357(0x31b)]===_0x305357(0x4ee)||this[_0x305357(0x3ee)]();};window[_0x534e2b(0x354)]('online',_0x11d02c),document[_0x534e2b(0x354)](_0x534e2b(0x4fd),_0x1e1c80);}[_0x5d8d99(0x494)](){const _0x5bb6ed=_0x5d8d99;var _0x45e0be;const _0x29ba74=this[_0x5bb6ed(0x4c9)],_0x3cbe92=this['_configService'][_0x5bb6ed(0x2ea)](_0x5b0249),_0x152202=_0x29ba74===0x0?0x0:((_0x45e0be=_0x3cbe92==null?void 0x0:_0x3cbe92[_0x5bb6ed(0x106)])!=null?_0x45e0be:0x4e20)*0x2**_0x29ba74;this[_0x5bb6ed(0x51b)]=window['setTimeout'](()=>{const _0x1e980c=_0x5bb6ed;clearTimeout(this[_0x1e980c(0x51b)]),this[_0x1e980c(0x51b)]=null,this[_0x1e980c(0x403)]();},_0x152202),this[_0x5bb6ed(0x4c9)]+=0x1;}['_onMessage'](_0x1a8024,_0x1843de){const _0x443d4c=_0x5d8d99,{cmd:_0x393817}=_0x1843de;_0x393817===_0x54e56b['HELLO']&&!this['_socketReady']&&(_0x1a8024[_0x443d4c(0x1d1)]=_0x1843de['data'][_0x443d4c(0x1d1)],this[_0x443d4c(0x1a8)][_0x443d4c(0xb4)](_0x1a8024),this[_0x443d4c(0x2aa)][_0x443d4c(0xb4)](_0x36f038[_0x443d4c(0x316)]),this[_0x443d4c(0x386)]=!0x0,this[_0x443d4c(0x1f2)]=null),_0x393817===_0x54e56b[_0x443d4c(0x14b)]&&this['_clearTimeoutTimer'](),this[_0x443d4c(0x219)]();}[_0x5d8d99(0x219)](){const _0x51571a=_0x5d8d99;var _0x215357;this[_0x51571a(0x1e0)](),this[_0x51571a(0x478)]=window[_0x51571a(0x2a1)](()=>this[_0x51571a(0x15a)](),(_0x215357=this[_0x51571a(0x298)][_0x51571a(0x2ea)](_0x3fc47f))!=null?_0x215357:0x7530);}[_0x5d8d99(0x15a)](){const _0x5e6d29=_0x5d8d99;this['_socket'][_0x5e6d29(0x527)]({'cmd':_0x54e56b[_0x5e6d29(0x14b)]}),this[_0x5e6d29(0x154)]();}[_0x5d8d99(0x154)](){const _0x3f0a6e=_0x5d8d99;var _0x54b4c6;this[_0x3f0a6e(0xf2)]=window[_0x3f0a6e(0x2a1)](()=>this[_0x3f0a6e(0x52d)](),(_0x54b4c6=this[_0x3f0a6e(0x298)][_0x3f0a6e(0x2ea)](_0x48f29d))!=null?_0x54b4c6:0x4e20);}[_0x5d8d99(0x1e0)](){const _0x34c319=_0x5d8d99;this[_0x34c319(0x478)]!=null&&(clearTimeout(this[_0x34c319(0x478)]),this[_0x34c319(0x478)]=null);}['_clearTimeoutTimer'](){const _0x4751b4=_0x5d8d99;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x4751b4(0xf2)]),this['_timeoutTimer']=null);}},_0x4c1435['CollaborationSessionService']=_0x2af02f([_0x538f0d(0x0,_0x28c502[_0x5d8d99(0x48a)](_0x28c502[_0x5d8d99(0x30d)])),_0x538f0d(0x1,_0x28c502['Inject'](_0x28c502[_0x5d8d99(0x469)])),_0x538f0d(0x2,_0x28a60c['IMessageService']),_0x538f0d(0x3,_0x28c502[_0x5d8d99(0xad)]),_0x538f0d(0x4,_0x28c502[_0x5d8d99(0x422)]),_0x538f0d(0x5,_0x5266e3)],_0x4c1435[_0x5d8d99(0x2b2)]);for(var _0x1beb52=[],_0x482be3=0x0;_0x482be3<0x100;++_0x482be3)_0x1beb52[_0x5d8d99(0x347)]((_0x482be3+0x100)[_0x5d8d99(0xbe)](0x10)[_0x5d8d99(0x4ac)](0x1));function _0x407007(_0x2c2477,_0x193541=0x0){return(_0x1beb52[_0x2c2477[_0x193541+0x0]]+_0x1beb52[_0x2c2477[_0x193541+0x1]]+_0x1beb52[_0x2c2477[_0x193541+0x2]]+_0x1beb52[_0x2c2477[_0x193541+0x3]]+'-'+_0x1beb52[_0x2c2477[_0x193541+0x4]]+_0x1beb52[_0x2c2477[_0x193541+0x5]]+'-'+_0x1beb52[_0x2c2477[_0x193541+0x6]]+_0x1beb52[_0x2c2477[_0x193541+0x7]]+'-'+_0x1beb52[_0x2c2477[_0x193541+0x8]]+_0x1beb52[_0x2c2477[_0x193541+0x9]]+'-'+_0x1beb52[_0x2c2477[_0x193541+0xa]]+_0x1beb52[_0x2c2477[_0x193541+0xb]]+_0x1beb52[_0x2c2477[_0x193541+0xc]]+_0x1beb52[_0x2c2477[_0x193541+0xd]]+_0x1beb52[_0x2c2477[_0x193541+0xe]]+_0x1beb52[_0x2c2477[_0x193541+0xf]])['toLowerCase']();}var _0xc9f2ab,_0x37a85c=new Uint8Array(0x10);function _0x499963(){const _0x4e721a=_0x5d8d99;if(!_0xc9f2ab&&(_0xc9f2ab=typeof crypto<'u'&&crypto[_0x4e721a(0x4f0)]&&crypto[_0x4e721a(0x4f0)][_0x4e721a(0x4f8)](crypto),!_0xc9f2ab))throw new Error(_0x4e721a(0x3ba));return _0xc9f2ab(_0x37a85c);}var _0x5f4fc5=typeof crypto<'u'&&crypto[_0x5d8d99(0x211)]&&crypto['randomUUID'][_0x5d8d99(0x4f8)](crypto);const _0x18d4b3={'randomUUID':_0x5f4fc5};function _0x1a0b07(_0x44bd91,_0x5c7ad7,_0x24fd5c){const _0x5193c6=_0x5d8d99;if(_0x18d4b3['randomUUID']&&!_0x5c7ad7&&!_0x44bd91)return _0x18d4b3[_0x5193c6(0x211)]();_0x44bd91=_0x44bd91||{};var _0x5b2b86=_0x44bd91[_0x5193c6(0x198)]||(_0x44bd91[_0x5193c6(0x2a9)]||_0x499963)();return _0x5b2b86[0x6]=_0x5b2b86[0x6]&0xf|0x40,_0x5b2b86[0x8]=_0x5b2b86[0x8]&0x3f|0x80,_0x407007(_0x5b2b86);}var _0x28c5c2=Object[_0x5d8d99(0x48f)],_0x116528=Object[_0x5d8d99(0x48b)],_0x1c6106=(_0x50defe,_0x4ddca4,_0x219e3b,_0x3ceaef)=>{const _0x34cac6=_0x5d8d99;for(var _0x5e898e=_0x3ceaef>0x1?void 0x0:_0x3ceaef?_0x116528(_0x4ddca4,_0x219e3b):_0x4ddca4,_0x1d50ce=_0x50defe[_0x34cac6(0x52c)]-0x1,_0x5c5ed6;_0x1d50ce>=0x0;_0x1d50ce--)(_0x5c5ed6=_0x50defe[_0x1d50ce])&&(_0x5e898e=(_0x3ceaef?_0x5c5ed6(_0x4ddca4,_0x219e3b,_0x5e898e):_0x5c5ed6(_0x5e898e))||_0x5e898e);return _0x3ceaef&&_0x5e898e&&_0x28c5c2(_0x4ddca4,_0x219e3b,_0x5e898e),_0x5e898e;},_0x1d4422=(_0x5bc7e8,_0x48f434)=>(_0x4a6e94,_0x1c643d)=>_0x48f434(_0x4a6e94,_0x1c643d,_0x5bc7e8);let _0x4971b6=class{constructor(_0x1cc4fc,_0x1e24cd,_0x4dd6a2){const _0x5ba27c=_0x5d8d99;this[_0x5ba27c(0x119)]=_0x1cc4fc,this[_0x5ba27c(0x258)]=_0x1e24cd,this[_0x5ba27c(0x176)]=_0x4dd6a2;}[_0x5d8d99(0x1a4)](_0x2e603b){const _0xdea623=_0x5d8d99;this[_0xdea623(0xae)](_0x2e603b),this['_transformPreviousActiveRange'](_0x2e603b);}['transformRemoteChangeset'](_0x5cb499){const _0x142e64=_0x5d8d99,{unitID:_0x3bfae6}=_0x5cb499,_0x1c0b22=this[_0x142e64(0x176)][_0x142e64(0x162)](_0x3bfae6)[_0x142e64(0x9e)](_0x3d318b[_0x142e64(0x50e)]),{redoCache:_0x332a5b}=_0x1c0b22[_0x142e64(0x22b)]();if(_0x332a5b[_0x142e64(0x52c)]===0x0)return _0x5cb499;let _0x2c7d98=_0x28c502[_0x142e64(0x284)][_0x142e64(0x268)](_0x5cb499[_0x142e64(0x31f)][0x0]);for(let _0x2ae933=0x0;_0x2ae933<_0x332a5b[_0x142e64(0x52c)];_0x2ae933++){const _0x50aa58={'id':_0x142e64(0x2b0),'params':{..._0x332a5b[_0x2ae933]}},_0x565570=this[_0x142e64(0x258)][_0x142e64(0x139)](_0x2c7d98,_0x50aa58,!0x1);if(_0x50e560[_0x142e64(0x3b4)](_0x565570))throw _0x565570[_0x142e64(0x13c)];_0x2c7d98=_0x565570[_0x142e64(0x3f4)];}return{..._0x28c502['Tools']['deepClone'](_0x5cb499),'mutations':[_0x2c7d98]};}[_0x5d8d99(0xae)](_0x23fe3a){const _0x4a22da=_0x5d8d99,{unitID:_0x4ec1a7}=_0x23fe3a,_0x59abef=this[_0x4a22da(0x176)][_0x4a22da(0x162)](_0x4ec1a7)[_0x4a22da(0x9e)](_0x3d318b[_0x4a22da(0x50e)]),{undoCache:_0x3cc942,redoCache:_0x11d6eb}=_0x59abef[_0x4a22da(0x22b)]();if(_0x3cc942[_0x4a22da(0x52c)]===0x0||_0x11d6eb[_0x4a22da(0x52c)]===0x0)return;const _0x31c039=[],_0x1f2e60=[];let _0x113f9f=_0x28c502['Tools'][_0x4a22da(0x268)](_0x23fe3a[_0x4a22da(0x31f)][0x0]),_0x206cbd=_0x28c502[_0x4a22da(0x284)][_0x4a22da(0x268)](_0x23fe3a['mutations'][0x0]);for(let _0x42606c=_0x3cc942[_0x4a22da(0x52c)]-0x1;_0x42606c>=0x0;_0x42606c--){const _0x33d3b1={'id':_0x4a22da(0x2b0),'params':{..._0x3cc942[_0x42606c]}},_0x647813={'id':'doc.mutation.rich-text-editing','params':{..._0x11d6eb[_0x42606c]}},_0x3b8023=this[_0x4a22da(0x258)]['transformMutation'](_0x113f9f,_0x33d3b1,!0x1),_0x268b3d=this[_0x4a22da(0x258)][_0x4a22da(0x139)](_0x206cbd,_0x647813,!0x1);if(_0x50e560[_0x4a22da(0x3b4)](_0x3b8023))throw _0x3b8023[_0x4a22da(0x13c)];if(_0x50e560[_0x4a22da(0x3b4)](_0x268b3d))throw _0x268b3d['error'];_0x31c039[_0x4a22da(0x4e4)](_0x3b8023['m2Prime']['params']),_0x1f2e60[_0x4a22da(0x4e4)](_0x268b3d[_0x4a22da(0x4d1)][_0x4a22da(0x41c)]),_0x113f9f=_0x3b8023[_0x4a22da(0x3f4)],_0x206cbd=_0x268b3d[_0x4a22da(0x3f4)];}_0x59abef[_0x4a22da(0x4e7)]({'undoCache':_0x31c039,'redoCache':_0x1f2e60});}[_0x5d8d99(0x4e3)](_0x5d4704){const _0x5d4cba=_0x5d8d99,{unitID:_0x3f1a28}=_0x5d4704,_0x5c62d1=this['_renderManagerService'][_0x5d4cba(0x162)](_0x3f1a28)[_0x5d4cba(0x9e)](_0x3d318b[_0x5d4cba(0x50e)]),_0x5a4adb=_0x5c62d1['getActiveRange']();if(_0x5a4adb==null)return;const _0x57fd5c=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5d4704[_0x5d4cba(0xe5)],'actions':null,'textRanges':[_0x5a4adb]}}],_0x23602b=this[_0x5d4cba(0x258)][_0x5d4cba(0x2c7)](_0x5d4704,_0x57fd5c);if(!_0x50e560[_0x5d4cba(0x17e)](_0x23602b))throw _0x23602b[_0x5d4cba(0x13c)];const _0x5211d7=_0x23602b[_0x5d4cba(0x4d1)][0x0][_0x5d4cba(0x41c)][_0x5d4cba(0x44d)];Array[_0x5d4cba(0x287)](_0x5211d7)&&_0x5211d7['length']&&_0x5c62d1[_0x5d4cba(0x21d)](_0x5211d7[0x0]);}};_0x4971b6=_0x1c6106([_0x1d4422(0x0,_0x28c502[_0x5d8d99(0x48a)](_0x28c502[_0x5d8d99(0x30d)])),_0x1d4422(0x1,_0x50e560[_0x5d8d99(0x3d0)]),_0x1d4422(0x2,_0x5474e6['IRenderManagerService'])],_0x4971b6);var _0x4d759c=Object[_0x5d8d99(0x48f)],_0x2f94d6=Object[_0x5d8d99(0x48b)],_0x24740d=(_0x32c32f,_0x4ce409,_0x11e962,_0x2cc9af)=>{const _0x123d3a=_0x5d8d99;for(var _0x45c236=_0x2cc9af>0x1?void 0x0:_0x2cc9af?_0x2f94d6(_0x4ce409,_0x11e962):_0x4ce409,_0x3658ce=_0x32c32f[_0x123d3a(0x52c)]-0x1,_0x2186fd;_0x3658ce>=0x0;_0x3658ce--)(_0x2186fd=_0x32c32f[_0x3658ce])&&(_0x45c236=(_0x2cc9af?_0x2186fd(_0x4ce409,_0x11e962,_0x45c236):_0x2186fd(_0x45c236))||_0x45c236);return _0x2cc9af&&_0x45c236&&_0x4d759c(_0x4ce409,_0x11e962,_0x45c236),_0x45c236;},_0x52bc87=(_0xccb8c6,_0x57de74)=>(_0x4eff7f,_0x55da3a)=>_0x57de74(_0x4eff7f,_0x55da3a,_0xccb8c6);_0x4c1435[_0x5d8d99(0x92)]=class extends _0x28c502[_0x5d8d99(0x24b)]{constructor(_0x2b67ca,_0x10aef9,_0x54e001,_0x55d52b,_0x47dc91){const _0x59f5fa=_0x5d8d99;super(),_0x569acc(this,_0x59f5fa(0x99),new Map()),_0x569acc(this,_0x59f5fa(0x20b),new Map()),_0x569acc(this,_0x59f5fa(0x3ac),!0x1),(this[_0x59f5fa(0x298)]=_0x2b67ca,this[_0x59f5fa(0x143)]=_0x10aef9,this[_0x59f5fa(0x131)]=_0x54e001,this[_0x59f5fa(0xdc)]=_0x55d52b,this['_revisionService']=_0x47dc91,this[_0x59f5fa(0x98)]());}[_0x5d8d99(0x184)](){const _0x2b0969=_0x5d8d99;this[_0x2b0969(0x3ac)]=!0x0;}[_0x5d8d99(0x302)](){this['_disabled']=!0x1;}[_0x5d8d99(0x50f)](){const _0x360cdb=_0x5d8d99;this['exhaustSavingTask']()['then'](()=>super[_0x360cdb(0x50f)]());}async[_0x5d8d99(0x2a0)](_0x3af08f){const _0x3451ec=_0x5d8d99;return this[_0x3451ec(0x3ac)]?null:this['_localStorageService'][_0x3451ec(0x419)](_0x4e383f(_0x3af08f));}async[_0x5d8d99(0x1d0)](_0x48a4b4,_0x53ca29){const _0x50686d=_0x5d8d99;return!!this[_0x50686d(0x143)][_0x50686d(0x517)](_0x48a4b4,_0x53ca29);}[_0x5d8d99(0x45d)](_0x528345,_0x250eb8,_0xf89f8a,_0x491377){const _0xa81def=_0x5d8d99,_0x3434ed=this[_0xa81def(0x12f)][_0xa81def(0x273)](_0x528345);this[_0xa81def(0x99)][_0xa81def(0x4a7)](_0x528345,{'unitID':_0x528345,'type':_0x250eb8,'awaitingChangeset':_0xf89f8a,'mutations':_0x491377,'rev':_0x3434ed}),this[_0xa81def(0x20b)][_0xa81def(0xb0)](_0x528345)||this[_0xa81def(0x4f3)](_0x528345);}[_0x5d8d99(0x4f3)](_0x4b7475){const _0x5af00a=_0x5d8d99,_0x3ff24a=this[_0x5af00a(0x2b8)]();_0x3ff24a===0x0?this[_0x5af00a(0x47d)](_0x4b7475):this['_saveTaskMap'][_0x5af00a(0x4a7)](_0x4b7475,setTimeout(()=>this[_0x5af00a(0x47d)](_0x4b7475),_0x3ff24a));}['_getSaveTimeout'](){const _0x2a75a1=_0x5d8d99;var _0x180043;return(_0x180043=this['_configService'][_0x2a75a1(0x2ea)](_0x346b18))!=null?_0x180043:0x3e8;}[_0x5d8d99(0x47d)](_0x34a082){const _0x41f0b4=_0x5d8d99,_0x54ff29=this[_0x41f0b4(0x20b)][_0x41f0b4(0x3a8)](_0x34a082);return _0x54ff29!==void 0x0&&window[_0x41f0b4(0x39a)](_0x54ff29),this[_0x41f0b4(0x143)][_0x41f0b4(0x517)](_0x4e383f(_0x34a082),this['_cachedData'][_0x41f0b4(0x3a8)](_0x34a082))['then'](()=>this[_0x41f0b4(0x20b)][_0x41f0b4(0x451)](_0x34a082));}async[_0x5d8d99(0x2b3)](){const _0x36df88=_0x5d8d99,_0x2734fc=[];this[_0x36df88(0x20b)]['forEach']((_0x5e9c83,_0x1ec60f)=>{const _0x3612fa=_0x36df88;window[_0x3612fa(0x39a)](_0x5e9c83),_0x2734fc['push'](this[_0x3612fa(0x47d)](_0x1ec60f)[_0x3612fa(0x3a6)](()=>{const _0xf6f95=_0x3612fa;this[_0xf6f95(0x20b)]['delete'](_0x1ec60f);}));}),await Promise['all'](_0x2734fc);}[_0x5d8d99(0x98)](){const _0x2ede40=_0x5d8d99;this[_0x2ede40(0x4b5)](this['_beforeCloseService'][_0x2ede40(0xf6)](()=>{const _0x360698=_0x2ede40;if(this[_0x360698(0x20b)][_0x360698(0x3f0)])return this[_0x360698(0xdc)]['t'](_0x360698(0x367));}));}},_0x4c1435['LocalCacheService']=_0x24740d([_0x52bc87(0x0,_0x28c502[_0x5d8d99(0x422)]),_0x52bc87(0x1,_0x28c502[_0x5d8d99(0x2e8)]),_0x52bc87(0x2,_0x28a60c[_0x5d8d99(0x4db)]),_0x52bc87(0x3,_0x28c502[_0x5d8d99(0x48a)](_0x28c502[_0x5d8d99(0x469)])),_0x52bc87(0x4,_0x28c502[_0x5d8d99(0x48a)](_0x50e560[_0x5d8d99(0x2cd)]))],_0x4c1435[_0x5d8d99(0x92)]);function _0x4e383f(_0x4ec6bf){const _0x1022f9=_0x5d8d99;return _0x1022f9(0x3c6)+_0x4ec6bf;}var _0x15770a=Object['defineProperty'],_0x5a208f=Object[_0x5d8d99(0x48b)],_0x355b56=(_0x36875d,_0xadffe9,_0x5258b9,_0x294b44)=>{for(var _0x536f48=_0x294b44>0x1?void 0x0:_0x294b44?_0x5a208f(_0xadffe9,_0x5258b9):_0xadffe9,_0x54ae7b=_0x36875d['length']-0x1,_0x3ea8f4;_0x54ae7b>=0x0;_0x54ae7b--)(_0x3ea8f4=_0x36875d[_0x54ae7b])&&(_0x536f48=(_0x294b44?_0x3ea8f4(_0xadffe9,_0x5258b9,_0x536f48):_0x3ea8f4(_0x536f48))||_0x536f48);return _0x294b44&&_0x536f48&&_0x15770a(_0xadffe9,_0x5258b9,_0x536f48),_0x536f48;},_0x34faef=(_0x556cfd,_0x3319a0)=>(_0x45f746,_0x2cfb20)=>_0x3319a0(_0x45f746,_0x2cfb20,_0x556cfd);function _0x3c03f7(_0x72391c){const _0x3a46e9=_0x5d8d99,{unitID:_0x2a48de,mutations:_0x5401e3}=_0x72391c;return{'unitId':_0x2a48de,'subUnitId':_0x5401e3[0x0][_0x3a46e9(0x41c)][_0x3a46e9(0x427)]};}let _0x474488=class{constructor(_0x5bf435,_0x1e4440,_0x2c0160){const _0x4fbed9=_0x5d8d99;this[_0x4fbed9(0x119)]=_0x5bf435,this[_0x4fbed9(0x258)]=_0x1e4440,this['_instanceService']=_0x2c0160;}['transformSelections'](_0x45a05c){const _0x44c581=_0x5d8d99;var _0x1eaebd,_0x384e06,_0x5827fd,_0x16c4ad;const _0x1f4848=this[_0x44c581(0x119)][_0x44c581(0x3a8)](_0x256063[_0x44c581(0x2e2)]),{unitId:_0x3338b8,subUnitId:_0xb6a7ca}=_0x3c03f7(_0x45a05c),_0x17ba29=_0x1f4848[_0x44c581(0x361)](_0x3338b8)[_0x44c581(0x333)](),_0x418237=(_0x384e06=(_0x1eaebd=this[_0x44c581(0x435)][_0x44c581(0x2f6)](_0x3338b8))==null?void 0x0:_0x1eaebd[_0x44c581(0x337)]())==null?void 0x0:_0x384e06[_0x44c581(0x3c1)]();if(_0x17ba29[_0x44c581(0x52c)]===0x0||!_0x3338b8||!_0xb6a7ca)return;const _0x1cb194=[{'id':_0x256063[_0x44c581(0x181)]['id'],'params':{'unitId':_0x3338b8,'subUnitId':_0x418237,'selections':_0x28c502[_0x44c581(0x284)][_0x44c581(0x268)](_0x17ba29)}}],_0x2d7221=this['_transformService'][_0x44c581(0x2c7)](_0x45a05c,_0x1cb194);if(!_0x50e560[_0x44c581(0x17e)](_0x2d7221))throw _0x2d7221[_0x44c581(0x13c)];const _0x323cfb=(_0x16c4ad=(_0x5827fd=_0x2d7221['m2Prime'][0x0])==null?void 0x0:_0x5827fd['params'])==null?void 0x0:_0x16c4ad[_0x44c581(0x519)];if(Array[_0x44c581(0x287)](_0x323cfb)&&_0x323cfb[_0x44c581(0x52c)]){if(_0x323cfb[_0x44c581(0x52c)]===_0x1cb194[0x0]['params'][_0x44c581(0x519)][_0x44c581(0x52c)]&&_0x323cfb[_0x44c581(0x443)]((_0x113a06,_0x121cea)=>_0x28c502[_0x44c581(0x180)]['equals'](_0x113a06[_0x44c581(0x11a)],_0x1cb194[0x0][_0x44c581(0x41c)][_0x44c581(0x519)][_0x121cea][_0x44c581(0x11a)])))return;this['_injector']['get'](_0x28c502[_0x44c581(0x123)])['executeCommand'](_0x256063[_0x44c581(0x181)]['id'],{'unitId':_0x3338b8,'subUnitId':_0x418237,'selections':_0x323cfb});}}};_0x474488=_0x355b56([_0x34faef(0x0,_0x28c502[_0x5d8d99(0x48a)](_0x28c502[_0x5d8d99(0x30d)])),_0x34faef(0x1,_0x50e560['ITransformService']),_0x34faef(0x2,_0x28c502['IUniverInstanceService'])],_0x474488);const _0x299919=_0x28c502[_0x5d8d99(0x401)](_0x5d8d99(0x2db));var _0x557e05=(_0x20cb84=>(_0x20cb84[_0x20cb84[_0x5d8d99(0x3c3)]=0x0]=_0x5d8d99(0x3c3),_0x20cb84[_0x20cb84[_0x5d8d99(0x467)]=0x1]=_0x5d8d99(0x467),_0x20cb84))(_0x557e05||{});const _0x471a7a=0x7530,_0xab16dd=_0x5d8d99(0x171);class _0x1796ae extends _0x28c502[_0x5d8d99(0x24b)]{constructor(){const _0x316d24=_0x5d8d99;super(),_0x569acc(this,_0x316d24(0x203),_0x28c502[_0x316d24(0x284)][_0x316d24(0x275)]()),_0x569acc(this,_0x316d24(0x521),new Set()),_0x569acc(this,_0x316d24(0xed),new Map()),_0x569acc(this,_0x316d24(0x279),null),_0x569acc(this,_0x316d24(0x199),new Map()),_0x569acc(this,_0x316d24(0x1af),new Map()),this[_0x316d24(0xfb)]();}[_0x5d8d99(0x50f)](){const _0xc55e3b=_0x5d8d99;super[_0xc55e3b(0x50f)](),this['_clearOtherTimers'][_0xc55e3b(0x359)]((_0x4dd7f1,_0x431173)=>this[_0xc55e3b(0x10f)](_0x431173)),this[_0xc55e3b(0x279)]&&window[_0xc55e3b(0x4af)](this['_heartbeatTimer']);}[_0x5d8d99(0x29f)](_0x46167d){const _0x53e0ad=_0x5d8d99;return this[_0x53e0ad(0x444)](_0x46167d)[_0x53e0ad(0x4fb)](_0x158390[_0x53e0ad(0x43c)]());}[_0x5d8d99(0x160)](_0x588428){const _0x3bdab0=_0x5d8d99;this[_0x3bdab0(0x521)][_0x3bdab0(0x3f0)]===0x0&&this[_0x3bdab0(0x15f)](),this[_0x3bdab0(0x521)][_0x3bdab0(0x41f)](_0x588428),this[_0x3bdab0(0xf1)]({'type':0x0,'memberID':this[_0x3bdab0(0x203)],'unitIDs':[_0x588428],'isForwarded':!0x1});}[_0x5d8d99(0x357)](_0x375902){const _0x40a237=_0x5d8d99;this[_0x40a237(0x521)][_0x40a237(0x451)](_0x375902),this[_0x40a237(0x521)][_0x40a237(0x3f0)]===0x0&&this['_heartbeatTimer']&&window[_0x40a237(0x4af)](this['_heartbeatTimer']);}[_0x5d8d99(0xfb)](){const _0xed8526=_0x5d8d99;this[_0xed8526(0x4b5)](_0x28c502[_0xed8526(0x4fe)](_0x158390[_0xed8526(0x175)](window,_0xed8526(0x13d))[_0xed8526(0x3d2)](_0x4cbd46=>{const _0x593b8b=_0xed8526;if(_0x4cbd46[_0x593b8b(0x3f9)]!==_0xab16dd||!_0x4cbd46[_0x593b8b(0xba)])return;const _0x4e0d2e=JSON[_0x593b8b(0x40c)](_0x4cbd46[_0x593b8b(0xba)]);this[_0x593b8b(0x97)](_0x4e0d2e);}))),window[_0xed8526(0x354)](_0xed8526(0x1f9),()=>this[_0xed8526(0xf1)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0xed8526(0x521)])}));}[_0x5d8d99(0x97)](_0x17aabf){const _0x103661=_0x5d8d99;switch(_0x17aabf[_0x103661(0x36c)]){case 0x0:this[_0x103661(0x31e)](_0x17aabf);break;case 0x1:this[_0x103661(0x45c)](_0x17aabf);break;case 0x2:this[_0x103661(0x14d)](_0x17aabf);break;}}[_0x5d8d99(0x31e)](_0x4e7f55){const _0x466bba=_0x5d8d99,{unitIDs:_0x286769,memberID:_0xbc05f7,isForwarded:_0x5de5f0}=_0x4e7f55;_0x286769['forEach'](_0xc329d=>{const _0x4b7f58=_0x3a4a;if(!_0x5de5f0&&this['_unitOnClients'][_0x4b7f58(0xb0)](_0xc329d)&&this['_ensureSubject'](_0xc329d)[_0x4b7f58(0xb4)](0x1),!this['_unitOnClients'][_0x4b7f58(0xb0)](_0xc329d)||!this[_0x4b7f58(0xed)][_0x4b7f58(0x3a8)](_0xc329d)['has'](_0xbc05f7)){const _0x272abd=this[_0x4b7f58(0xed)][_0x4b7f58(0x3a8)](_0xc329d)||new Set();_0x272abd[_0x4b7f58(0x41f)](_0xbc05f7),this[_0x4b7f58(0xed)][_0x4b7f58(0x4a7)](_0xc329d,_0x272abd),this['_scheduleClearOtherTimer'](_0xbc05f7);}}),_0x5de5f0||this[_0x466bba(0xf1)]({'type':0x0,'memberID':this[_0x466bba(0x203)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x5d8d99(0xd1)](_0x278470){const _0x148357=_0x5d8d99;this[_0x148357(0x10f)](_0x278470);const _0x25773e=window[_0x148357(0x2a1)](()=>{const _0x47e84e=_0x148357;this[_0x47e84e(0xed)][_0x47e84e(0x359)](_0x425955=>{const _0x16ad0d=_0x47e84e;_0x425955[_0x16ad0d(0x451)](_0x278470);});},_0x471a7a*0x2);this[_0x148357(0x199)][_0x148357(0x4a7)](_0x278470,_0x25773e);}[_0x5d8d99(0x10f)](_0x4f05ed){const _0x2470a4=_0x5d8d99;if(this[_0x2470a4(0x199)][_0x2470a4(0xb0)](_0x4f05ed)){const _0x46684e=this['_clearOtherTimers'][_0x2470a4(0x3a8)](_0x4f05ed);_0x46684e&&window['clearTimeout'](_0x46684e),this[_0x2470a4(0x199)][_0x2470a4(0x4a7)](_0x4f05ed,null);}}[_0x5d8d99(0x45c)](_0x56e30a){const _0x2248fd=_0x5d8d99,{memberID:_0x596623,unitIDs:_0x23bdae}=_0x56e30a;_0x23bdae[_0x2248fd(0x359)](_0x21d75d=>{const _0x21ae19=_0x2248fd;var _0x246db0;const _0x59582a=this[_0x21ae19(0xed)][_0x21ae19(0x3a8)](_0x21d75d);_0x59582a&&(_0x59582a['delete'](_0x596623),(_0x246db0=this[_0x21ae19(0x444)](_0x21d75d))==null||_0x246db0[_0x21ae19(0xb4)](_0x59582a[_0x21ae19(0x3f0)]===0x0?0x0:0x1));}),this[_0x2248fd(0x10f)](_0x596623);}[_0x5d8d99(0x14d)](_0x31431e){const _0x568680=_0x5d8d99;this[_0x568680(0xd1)](_0x31431e[_0x568680(0x1d1)]);}[_0x5d8d99(0xf1)](_0x2768fb){const _0x423e4a=_0x5d8d99;localStorage[_0x423e4a(0x517)](_0xab16dd,JSON['stringify'](_0x2768fb));}[_0x5d8d99(0x15f)](){const _0x3d156b=_0x5d8d99;this[_0x3d156b(0x279)]=window[_0x3d156b(0xfc)](()=>{const _0x5ccb90=_0x3d156b;this[_0x5ccb90(0xf1)]({'type':0x2,'memberID':this[_0x5ccb90(0x203)]});},_0x471a7a);}[_0x5d8d99(0x444)](_0x11f645){const _0x3ff639=_0x5d8d99;return this[_0x3ff639(0x1af)][_0x3ff639(0xb0)](_0x11f645)||this['_unitStatus'][_0x3ff639(0x4a7)](_0x11f645,new _0x158390[(_0x3ff639(0x146))](0x0)),this[_0x3ff639(0x1af)]['get'](_0x11f645);}}var _0x4cdcf8=Object[_0x5d8d99(0x48f)],_0x4da39a=Object['getOwnPropertyDescriptor'],_0x84fe0a=(_0x9c3471,_0x5717d6,_0x1f5259,_0x3f88e7)=>{const _0x52920d=_0x5d8d99;for(var _0x1ffdc7=_0x3f88e7>0x1?void 0x0:_0x3f88e7?_0x4da39a(_0x5717d6,_0x1f5259):_0x5717d6,_0x246ec6=_0x9c3471[_0x52920d(0x52c)]-0x1,_0x242796;_0x246ec6>=0x0;_0x246ec6--)(_0x242796=_0x9c3471[_0x246ec6])&&(_0x1ffdc7=(_0x3f88e7?_0x242796(_0x5717d6,_0x1f5259,_0x1ffdc7):_0x242796(_0x1ffdc7))||_0x1ffdc7);return _0x3f88e7&&_0x1ffdc7&&_0x4cdcf8(_0x5717d6,_0x1f5259,_0x1ffdc7),_0x1ffdc7;},_0xcf95ba=(_0x131d34,_0x2f57fe)=>(_0x5b547c,_0x34112e)=>_0x2f57fe(_0x5b547c,_0x34112e,_0x131d34);let _0x1664c1=class{constructor(_0x4e36cc,_0xc568a5,_0x434d42){const _0x41efb6=_0x5d8d99;this[_0x41efb6(0x119)]=_0x4e36cc,this['_transformService']=_0xc568a5,this[_0x41efb6(0xaa)]=_0x434d42;}[_0x5d8d99(0x16d)](_0x104a4e){this['_transformHistoryAndStateStack'](_0x104a4e);}[_0x5d8d99(0x3fb)](_0x19503d){const _0x4a7566=_0x5d8d99,{unitID:_0x539129}=_0x19503d,{collaboration:_0x51ffaf}=this[_0x4a7566(0xaa)]['getStateCache'](_0x539129);if(_0x51ffaf[_0x4a7566(0x52c)]===0x0)return _0x19503d;let _0x2797b3=_0x28c502[_0x4a7566(0x284)][_0x4a7566(0x268)](_0x19503d['mutations'][0x0]);for(let _0x44eba7=0x0;_0x44eba7<_0x51ffaf[_0x4a7566(0x52c)];_0x44eba7++){const _0x510379={'id':_0x4a7566(0x2b0),'params':{'unitId':_0x51ffaf[_0x44eba7][_0x4a7566(0x44b)],..._0x51ffaf[_0x44eba7][_0x4a7566(0x322)]}},_0xa231ee=this[_0x4a7566(0x258)][_0x4a7566(0x139)](_0x2797b3,_0x510379,!0x1);if(_0x50e560[_0x4a7566(0x3b4)](_0xa231ee))throw _0xa231ee[_0x4a7566(0x13c)];_0x2797b3=_0xa231ee[_0x4a7566(0x3f4)];}return{..._0x28c502[_0x4a7566(0x284)][_0x4a7566(0x268)](_0x19503d),'mutations':[_0x2797b3]};}['_transformHistoryAndStateStack'](_0x18512b){const _0x573ac5=_0x5d8d99,{unitID:_0xa8ce2e}=_0x18512b,{history:_0x4e0eac,collaboration:_0x21842f}=this[_0x573ac5(0xaa)][_0x573ac5(0x205)](_0xa8ce2e);if(_0x4e0eac[_0x573ac5(0x52c)]===0x0&&_0x21842f['length']===0x0)return;const _0x42bef8=[],_0x583685=[];let _0x224b84=_0x28c502[_0x573ac5(0x284)][_0x573ac5(0x268)](_0x18512b[_0x573ac5(0x31f)][0x0]),_0x172e3e=_0x28c502[_0x573ac5(0x284)]['deepClone'](_0x18512b[_0x573ac5(0x31f)][0x0]);for(let _0xe74b29=_0x4e0eac[_0x573ac5(0x52c)]-0x1;_0xe74b29>=0x0;_0xe74b29--){const _0x530e56={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4e0eac[_0xe74b29][_0x573ac5(0x44b)],..._0x4e0eac[_0xe74b29][_0x573ac5(0x13a)]}},_0xe733f0={'id':_0x573ac5(0x2b0),'params':{'unitId':_0x4e0eac[_0xe74b29]['unitId'],..._0x4e0eac[_0xe74b29]['redoState']}},_0x42db6d=this['_transformService'][_0x573ac5(0x139)](_0x224b84,_0x530e56,!0x1),_0xacb5df=this[_0x573ac5(0x258)][_0x573ac5(0x139)](_0x172e3e,_0xe733f0,!0x1);if(_0x50e560[_0x573ac5(0x3b4)](_0x42db6d))throw _0x42db6d[_0x573ac5(0x13c)];if(_0x50e560[_0x573ac5(0x3b4)](_0xacb5df))throw _0xacb5df[_0x573ac5(0x13c)];_0x42bef8[_0x573ac5(0x4e4)]({..._0x4e0eac[_0xe74b29],'undoState':_0x42db6d[_0x573ac5(0x4d1)][_0x573ac5(0x41c)],'redoState':_0xacb5df['m2Prime'][_0x573ac5(0x41c)]}),_0x224b84=_0x42db6d[_0x573ac5(0x3f4)],_0x172e3e=_0xacb5df[_0x573ac5(0x3f4)];}_0x224b84=_0x28c502[_0x573ac5(0x284)]['deepClone'](_0x18512b[_0x573ac5(0x31f)][0x0]),_0x172e3e=_0x28c502[_0x573ac5(0x284)]['deepClone'](_0x18512b[_0x573ac5(0x31f)][0x0]);for(let _0x47e9d1=_0x21842f[_0x573ac5(0x52c)]-0x1;_0x47e9d1>=0x0;_0x47e9d1--){const _0x225d6e={'id':_0x573ac5(0x2b0),'params':{'unitId':_0x21842f[_0x47e9d1][_0x573ac5(0x44b)],..._0x21842f[_0x47e9d1][_0x573ac5(0x13a)]}},_0x5da109={'id':_0x573ac5(0x2b0),'params':{'unitId':_0x21842f[_0x47e9d1][_0x573ac5(0x44b)],..._0x21842f[_0x47e9d1][_0x573ac5(0x322)]}},_0x4b9006=this['_transformService'][_0x573ac5(0x139)](_0x224b84,_0x225d6e,!0x1),_0x56856d=this[_0x573ac5(0x258)][_0x573ac5(0x139)](_0x172e3e,_0x5da109,!0x1);if(_0x50e560[_0x573ac5(0x3b4)](_0x4b9006))throw _0x4b9006[_0x573ac5(0x13c)];if(_0x50e560[_0x573ac5(0x3b4)](_0x56856d))throw _0x56856d[_0x573ac5(0x13c)];_0x583685['unshift']({..._0x21842f[_0x47e9d1],'undoState':_0x4b9006[_0x573ac5(0x4d1)]['params'],'redoState':_0x56856d[_0x573ac5(0x4d1)][_0x573ac5(0x41c)]}),_0x224b84=_0x4b9006[_0x573ac5(0x3f4)],_0x172e3e=_0x56856d[_0x573ac5(0x3f4)];}this[_0x573ac5(0xaa)]['setStateCache'](_0xa8ce2e,{'history':_0x42bef8,'collaboration':_0x583685});}};_0x1664c1=_0x84fe0a([_0xcf95ba(0x0,_0x28c502['Inject'](_0x28c502['Injector'])),_0xcf95ba(0x1,_0x50e560[_0x5d8d99(0x3d0)]),_0xcf95ba(0x2,_0x28c502['Inject'](_0x3d318b[_0x5d8d99(0x36e)]))],_0x1664c1);function _0x328fbb(_0x44a87e){const _0x1f1bc6=_0x5d8d99;let _0x5e3e8c='';for(const _0x3e9054 of _0x44a87e){const {startOffset:_0xb12214,endOffset:_0x4249ae,isActive:_0x4e3b53,rangeType:_0x3acff8,segmentId:_0x452a61,segmentPage:_0x22b255}=_0x3e9054;_0x5e3e8c[_0x1f1bc6(0x52c)]&&(_0x5e3e8c+=','),_0x5e3e8c+=_0xb12214+':'+_0x4249ae+':'+(_0x4e3b53?'1':'0')+':'+_0x3acff8+':'+_0x452a61+':'+_0x22b255;}return _0x5e3e8c;}function _0x4eed54(_0x3ba67d){const _0x55886a=_0x5d8d99,_0x437c9c=_0x3ba67d['split'](','),_0x3b162a=[];for(const _0x4e0b62 of _0x437c9c){const [_0x48d7a9,_0xa13b0b,_0x394a9d,_0x4ea10a,_0x44e4d7,_0x4e6fbe]=_0x4e0b62[_0x55886a(0x3a5)](':');_0x3b162a[_0x55886a(0x347)]({'startOffset':Number(_0x48d7a9),'endOffset':Number(_0xa13b0b),'collapsed':_0x48d7a9===_0xa13b0b,'isActive':_0x394a9d==='1','rangeType':_0x4ea10a===_0x28c502['DOC_RANGE_TYPE'][_0x55886a(0x3bb)]?_0x28c502[_0x55886a(0x292)][_0x55886a(0x3bb)]:_0x28c502[_0x55886a(0x292)][_0x55886a(0xc8)],'segmentId':typeof _0x44e4d7==_0x55886a(0x452)?String(_0x44e4d7):'','segmentPage':Number(_0x4e6fbe!=null?_0x4e6fbe:-0x1)});}return _0x3b162a[_0x55886a(0x28b)](_0x3915b4=>_0x3915b4[_0x55886a(0x18e)])||(_0x3b162a[0x0][_0x55886a(0x18e)]=!0x0),_0x3b162a;}class _0x18a3f7 extends _0x28c502[_0x5d8d99(0x156)]{constructor(){const _0x25dacf=_0x5d8d99;super(...arguments),_0x569acc(this,_0x25dacf(0x349),new _0x158390[(_0x25dacf(0x146))](null)),_0x569acc(this,'collabCursorState$',this['_collabCursorState$'][_0x25dacf(0x4ae)]());}[_0x5d8d99(0x177)](_0x33ef44){const _0xfe0ebc=_0x5d8d99,{unitID:_0x579f14,memberID:_0x2a0e2c,textRanges:_0xd0acf2}=_0x33ef44,_0x1e42f5=_0x328fbb(_0xd0acf2);if(_0x1e42f5==='')return;const _0x74ebe6={'unitID':_0x579f14,'memberID':_0x2a0e2c,'selection':_0x1e42f5};this['_collabCursorState$'][_0xfe0ebc(0xb4)](_0x74ebe6);}}var _0xeac7e8=Object[_0x5d8d99(0x48f)],_0x501069=Object['getOwnPropertyDescriptor'],_0x4b3e17=(_0x2823e5,_0x264c73,_0x5bdf1f,_0xce104f)=>{const _0x23cc13=_0x5d8d99;for(var _0x16875c=_0xce104f>0x1?void 0x0:_0xce104f?_0x501069(_0x264c73,_0x5bdf1f):_0x264c73,_0x2b040e=_0x2823e5[_0x23cc13(0x52c)]-0x1,_0x9711a1;_0x2b040e>=0x0;_0x2b040e--)(_0x9711a1=_0x2823e5[_0x2b040e])&&(_0x16875c=(_0xce104f?_0x9711a1(_0x264c73,_0x5bdf1f,_0x16875c):_0x9711a1(_0x16875c))||_0x16875c);return _0xce104f&&_0x16875c&&_0xeac7e8(_0x264c73,_0x5bdf1f,_0x16875c),_0x16875c;},_0x51798d=(_0x575590,_0x3af264)=>(_0xf58016,_0x46dad8)=>_0x3af264(_0xf58016,_0x46dad8,_0x575590);let _0x2b7e0e=class{constructor(_0x4d9998,_0x4d5369){this['_injector']=_0x4d9998,this['_transformService']=_0x4d5369;}[_0x5d8d99(0x1c3)](_0x1c0465){const _0x45d1a9=_0x5d8d99;var _0x243055;const _0x38fb49=this[_0x45d1a9(0x119)][_0x45d1a9(0x3a8)](_0x576070[_0x45d1a9(0x30b)]),_0x6fc16b=(_0x243055=_0x38fb49[_0x45d1a9(0x1d6)]())!=null?_0x243055:[];if(_0x6fc16b[_0x45d1a9(0x52c)]===0x0)return;const _0xcdf4d4=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1c0465['unitID'],'actions':null,'textRanges':_0x6fc16b}}],_0x5e38fc=this[_0x45d1a9(0x258)][_0x45d1a9(0x2c7)](_0x1c0465,_0xcdf4d4);if(!_0x50e560['isTransformMutationsWithChangesetSuccess'](_0x5e38fc))throw _0x5e38fc[_0x45d1a9(0x13c)];const _0x2692e0=_0x5e38fc[_0x45d1a9(0x4d1)][0x0][_0x45d1a9(0x41c)][_0x45d1a9(0x44d)];Array[_0x45d1a9(0x287)](_0x2692e0)&&_0x2692e0['length']&&_0x38fb49[_0x45d1a9(0x141)](_0x2692e0,!0x1);}};_0x2b7e0e=_0x4b3e17([_0x51798d(0x0,_0x28c502[_0x5d8d99(0x48a)](_0x28c502[_0x5d8d99(0x30d)])),_0x51798d(0x1,_0x50e560[_0x5d8d99(0x3d0)])],_0x2b7e0e);const _0x10b522=new Set([_0x256063[_0x5d8d99(0x245)]['id']]);function _0x2cee8a(_0x282110,_0x2f67c5,_0x35c229,_0x4b6343,_0x4a7cc9){const _0x3cc5fd=_0x5d8d99;var _0xbf0a39,_0x5c9947,_0xfd738e,_0x2dcff0;const _0x2e634f=[];for(const _0x178440 of _0x282110)if(_0x10b522[_0x3cc5fd(0xb0)](_0x178440['id'])){if(_0x2e634f[_0x3cc5fd(0x52c)]>0x0)break;_0x2e634f[_0x3cc5fd(0x347)](_0x178440);break;}else _0x2e634f[_0x3cc5fd(0x347)](_0x178440);const _0x423f4a=(_0x5c9947=(_0xbf0a39=_0x4a7cc9[_0x3cc5fd(0x3e8)]())==null?void 0x0:_0xbf0a39['userID'])!=null?_0x5c9947:'unknown',_0x5c21f9=(_0x2dcff0=(_0xfd738e=_0x4a7cc9[_0x3cc5fd(0x3e8)]())==null?void 0x0:_0xfd738e[_0x3cc5fd(0x1d1)])!=null?_0x2dcff0:_0x3cc5fd(0xab);return{'changeset':{'unitID':_0x2f67c5,'type':_0x50e560[_0x3cc5fd(0x428)](_0x35c229['getUnitType'](_0x2f67c5)),'baseRev':_0x4b6343[_0x3cc5fd(0x273)](_0x2f67c5),'revision':0x0,'userID':_0x423f4a,'memberID':_0x5c21f9,'mutations':_0x2e634f},'pendingMutations':_0x282110[_0x3cc5fd(0x4ac)](_0x2e634f[_0x3cc5fd(0x52c)])};}function _0xa4161d(_0x4ebca6,_0x24700b,_0x25f1cb,_0x54cf36,_0x2cb2ed){const _0x1a61d7=_0x5d8d99;var _0x1106f6,_0x3e4fb4,_0x4c1552,_0xc027cd;const _0x6edcd1=[_0x4ebca6[_0x1a61d7(0x3d5)]((_0x59fb9c,_0x3a3257)=>{const _0x584b6e=_0x1a61d7;var _0xcd0d96;const {id:_0x2ea92e}=_0x59fb9c,{id:_0x59d2e8,type:_0x53cc5d}=_0x3a3257,_0x5c9c53=(_0xcd0d96=_0x59fb9c['params'])!=null?_0xcd0d96:{'actions':null},_0x266aad=_0x3a3257['params'];if(_0x2ea92e&&_0x2ea92e!==_0x59d2e8)throw new Error(_0x584b6e(0x27b)+_0x2ea92e+'\x20-\x20'+_0x59d2e8+'.');return{..._0x59fb9c,'id':_0x59d2e8,'type':_0x53cc5d,'params':{'unitId':_0x266aad[_0x584b6e(0x44b)],'textRanges':_0x266aad[_0x584b6e(0x44d)],'actions':_0x28c502[_0x584b6e(0x30c)][_0x584b6e(0x2c3)](_0x5c9c53['actions'],_0x266aad[_0x584b6e(0x155)])}};},{})],_0x4e8df5=(_0x3e4fb4=(_0x1106f6=_0x2cb2ed[_0x1a61d7(0x3e8)]())==null?void 0x0:_0x1106f6[_0x1a61d7(0x130)])!=null?_0x3e4fb4:_0x1a61d7(0xab),_0x11544f=(_0xc027cd=(_0x4c1552=_0x2cb2ed[_0x1a61d7(0x3e8)]())==null?void 0x0:_0x4c1552[_0x1a61d7(0x1d1)])!=null?_0xc027cd:_0x1a61d7(0xab);return{'changeset':{'unitID':_0x24700b,'type':_0x50e560[_0x1a61d7(0x428)](_0x25f1cb[_0x1a61d7(0x52b)](_0x24700b)),'baseRev':_0x54cf36[_0x1a61d7(0x273)](_0x24700b),'revision':0x0,'userID':_0x4e8df5,'memberID':_0x11544f,'mutations':_0x6edcd1},'pendingMutations':[]};}function _0x537581(_0x5e2bfa,_0x4804d9){const _0x304b4e=_0x5d8d99,_0x4bd9b2=new _0x158390['ReplaySubject'](0x1);return setTimeout(()=>_0x4bd9b2['next'](_0x4804d9),_0x5e2bfa),_0x4bd9b2[_0x304b4e(0x4ae)]()[_0x304b4e(0x4fb)](_0x158390[_0x304b4e(0x375)](0x1));}const _0x3813a6={'id':_0x256063['EmptyMutation']['id'],'type':_0x28c502[_0x5d8d99(0x161)]['MUTATION'],'params':{}};var _0x50e375=Object[_0x5d8d99(0x48f)],_0x11058e=Object[_0x5d8d99(0x48b)],_0x5a9e65=(_0x11cf28,_0x491d0e,_0x163828,_0x45082a)=>{const _0x3d6df6=_0x5d8d99;for(var _0x2f1208=_0x45082a>0x1?void 0x0:_0x45082a?_0x11058e(_0x491d0e,_0x163828):_0x491d0e,_0x175ae2=_0x11cf28[_0x3d6df6(0x52c)]-0x1,_0x2ebd75;_0x175ae2>=0x0;_0x175ae2--)(_0x2ebd75=_0x11cf28[_0x175ae2])&&(_0x2f1208=(_0x45082a?_0x2ebd75(_0x491d0e,_0x163828,_0x2f1208):_0x2ebd75(_0x2f1208))||_0x2f1208);return _0x45082a&&_0x2f1208&&_0x50e375(_0x491d0e,_0x163828,_0x2f1208),_0x2f1208;},_0x1d10bb=(_0x3a09eb,_0x3772e1)=>(_0x32ea60,_0x55094f)=>_0x3772e1(_0x32ea60,_0x55094f,_0x3a09eb),_0xda01df=(_0x2a4b56=>(_0x2a4b56[_0x5d8d99(0xe3)]=_0x5d8d99(0x1c0),_0x2a4b56[_0x5d8d99(0x3f3)]=_0x5d8d99(0x1c2),_0x2a4b56['PENDING']='pending',_0x2a4b56[_0x5d8d99(0x290)]='awaiting',_0x2a4b56[_0x5d8d99(0x522)]=_0x5d8d99(0x1c5),_0x2a4b56[_0x5d8d99(0xcb)]=_0x5d8d99(0x477),_0x2a4b56[_0x5d8d99(0x3e2)]=_0x5d8d99(0x1a9),_0x2a4b56[_0x5d8d99(0x515)]=_0x5d8d99(0x90),_0x2a4b56))(_0xda01df||{});const _0x4aef09=0xea60;class _0x4c906e{constructor(_0x4c4446,_0x5eef44,_0x533aec,_0x36a075,_0x201159,_0x1366a1,_0x46f253,_0x5b51ef,_0x369ade){const _0x10d6ca=_0x5d8d99;_0x569acc(this,'_awaitingChangeset',null),_0x569acc(this,_0x10d6ca(0x164),[]),(this[_0x10d6ca(0xe5)]=_0x4c4446,this['type']=_0x5eef44,this[_0x10d6ca(0x27a)]=_0x201159,this[_0x10d6ca(0x3a0)]=_0x1366a1,this[_0x10d6ca(0x2e7)]=_0x46f253,this[_0x10d6ca(0x12f)]=_0x5b51ef,this['_localCacheService']=_0x369ade,this[_0x10d6ca(0x93)]=_0x533aec,this[_0x10d6ca(0x164)]=_0x36a075);}[_0x5d8d99(0xff)](_0x42ff42){const _0x547928=_0x5d8d99,_0x3ab429=this['_revisionService'][_0x547928(0x273)](this[_0x547928(0xe5)]);return _0x42ff42[_0x547928(0x470)]>_0x3ab429+0x1?(this[_0x547928(0x27a)][_0x547928(0x532)]({'from':_0x3ab429,'to':_0x42ff42['revision']-0x1}),!0x0):!0x1;}[_0x5d8d99(0x19b)](_0x12343e){const _0x3ee1df=_0x5d8d99;this['_undoRedoService'][_0x3ee1df(0x511)](this['unitID'],_0x12343e);}['_transformSelections'](_0x1ab310){const _0x14db6f=_0x5d8d99;var _0x54cb6d,_0x4e8bfe;(_0x4e8bfe=(_0x54cb6d=this[_0x14db6f(0x27a)])[_0x14db6f(0x338)])==null||_0x4e8bfe[_0x14db6f(0xcf)](_0x54cb6d,_0x1ab310);}[_0x5d8d99(0x17d)](_0x43ccc1){const _0x58e565=_0x5d8d99;var _0x42222d,_0x3c5f6a;return(_0x3c5f6a=(_0x42222d=this[_0x58e565(0x27a)])[_0x58e565(0x1c8)])==null?void 0x0:_0x3c5f6a[_0x58e565(0xcf)](_0x42222d,_0x43ccc1);}['_transformStateCache'](_0x2fba75){const _0x48384b=_0x5d8d99;var _0xd59be9,_0x27c56f;return(_0x27c56f=(_0xd59be9=this[_0x48384b(0x27a)])[_0x48384b(0x9a)])==null?void 0x0:_0x27c56f[_0x48384b(0xcf)](_0xd59be9,_0x2fba75);}[_0x5d8d99(0x4ea)](_0x3e6d1d){const _0x5c0d2e=_0x5d8d99;var _0x20b86c,_0x66c87d,_0x970559;return(_0x970559=(_0x66c87d=(_0x20b86c=this[_0x5c0d2e(0x27a)])[_0x5c0d2e(0x1ae)])==null?void 0x0:_0x66c87d[_0x5c0d2e(0xcf)](_0x20b86c,_0x3e6d1d))!=null?_0x970559:_0x3e6d1d;}[_0x5d8d99(0x185)](_0x337ba6){const _0x131767=_0x5d8d99;var _0x4d45f7,_0x30ac69,_0x242774;return(_0x242774=(_0x30ac69=(_0x4d45f7=this['_handler'])[_0x131767(0x4c5)])==null?void 0x0:_0x30ac69['call'](_0x4d45f7,_0x337ba6))!=null?_0x242774:_0x337ba6;}[_0x5d8d99(0x4fc)](_0xd5400c){const _0x4c1a07=_0x5d8d99;var _0x3b96a8,_0x16ad32;if(this[_0x4c1a07(0x36c)]===_0x5b91b5['UNIVER_DOC']){const {unitID:_0x91e3f3,mutations:_0x40b50c,memberID:_0x121e22}=_0xd5400c,_0x17e662=_0x40b50c[0x0]['params'][_0x4c1a07(0x44d)];Array[_0x4c1a07(0x287)](_0x17e662)&&_0x17e662[_0x4c1a07(0x52c)]>0x0&&((_0x16ad32=(_0x3b96a8=this[_0x4c1a07(0x27a)])['onSyncEditingCollabCursor'])==null||_0x16ad32[_0x4c1a07(0xcf)](_0x3b96a8,{'unitID':_0x91e3f3,'memberID':_0x121e22,'textRanges':_0x17e662}));}}[_0x5d8d99(0x3c2)](){const _0x44422a=_0x5d8d99;this[_0x44422a(0x474)][_0x44422a(0x45d)](this[_0x44422a(0xe5)],this['type'],this[_0x44422a(0x93)],this[_0x44422a(0x164)]);}[_0x5d8d99(0x484)](){const _0x1cc0f8=_0x5d8d99;return this[_0x1cc0f8(0x12f)][_0x1cc0f8(0x273)](this[_0x1cc0f8(0xe5)]);}[_0x5d8d99(0x247)](){const _0x3e15a6=_0x5d8d99;this['_revisionService']['incrementRevOfUnit'](this[_0x3e15a6(0xe5)]);}[_0x5d8d99(0x40e)](_0x368fc1){const _0x4e6379=_0x5d8d99;var _0x25c183;let _0x2877ce=this[_0x4e6379(0x4ea)](_0x368fc1);_0x2877ce=this[_0x4e6379(0x185)](_0x2877ce);const _0x591b16=_0x28c502[_0x4e6379(0x257)](_0x2877ce[_0x4e6379(0x31f)],this[_0x4e6379(0x3a0)],{'fromCollab':!0x0});if(!_0x591b16[_0x4e6379(0x392)])throw _0x591b16[_0x4e6379(0x13c)]instanceof Error?_0x591b16[_0x4e6379(0x13c)]:new Error((_0x25c183=_0x591b16[_0x4e6379(0x13c)])!=null?_0x25c183:'[CollaborationState]:\x20apply\x20error!');this[_0x4e6379(0x17d)](_0x2877ce),this['_transformStateCache'](_0x2877ce),this[_0x4e6379(0x19b)](_0x368fc1),this['_transformSelections'](_0x2877ce),this[_0x4e6379(0x4fc)](_0x2877ce),this[_0x4e6379(0x247)]();}}let _0x42f1ab=class extends _0x4c906e{constructor(_0x315170,_0x192a58,_0x5de4ea,_0x3c45c3,_0x554106,_0x1832a7,_0x5309f8,_0xd7af43,_0x19ca6a,_0x282be0){const _0x47e444=_0x5d8d99;super(_0x315170,_0x192a58,null,[],_0x5de4ea,_0xd7af43,_0x5309f8,_0x3c45c3,_0x554106),_0x569acc(this,_0x47e444(0xc7),_0x47e444(0x1c2)),(this[_0x47e444(0x119)]=_0x1832a7,this['_logService']=_0x19ca6a,this[_0x47e444(0x258)]=_0x282be0);}['appendMutation'](_0x4eb72){const _0x4a4fc4=_0x5d8d99,_0x5baa23=this[_0x4a4fc4(0x119)][_0x4a4fc4(0x13b)](_0x294e6a,this[_0x4a4fc4(0xe5)],this[_0x4a4fc4(0x36c)],[_0x4eb72],this[_0x4a4fc4(0x27a)]);return _0x5baa23[_0x4a4fc4(0x44a)](),_0x5baa23[_0x4a4fc4(0x3c2)](),_0x5baa23;}['onRemoteChangeset'](_0xb42bd6){const _0x14eca0=_0x5d8d99;if(this[_0x14eca0(0xff)](_0xb42bd6))return this[_0x14eca0(0x119)]['createInstance'](_0x309bd1,this[_0x14eca0(0xe5)],this[_0x14eca0(0x36c)],null,[],null,[_0xb42bd6],this[_0x14eca0(0x27a)]);try{const _0x634965=this[_0x14eca0(0x258)][_0x14eca0(0x2c7)](_0xb42bd6,[_0x3813a6]);if(_0x50e560[_0x14eca0(0x17e)](_0x634965)){const {c1Prime:_0x672f88}=_0x634965;return this[_0x14eca0(0x40e)](_0x672f88),this;}throw _0x634965[_0x14eca0(0x13c)];}catch(_0x5cf5ec){return this[_0x14eca0(0x414)][_0x14eca0(0x13c)](_0x5cf5ec),this['_onConflict'](!0x1);}}[_0x5d8d99(0x1bc)](_0x43b3af){const _0x41b432=_0x5d8d99;return this[_0x41b432(0x119)][_0x41b432(0x13b)](_0x4cb118,this['unitID'],this['type'],null,[],this[_0x41b432(0x27a)],_0x43b3af);}[_0x5d8d99(0x3f6)](){const _0x1c36a0=_0x5d8d99;throw new Error(_0x1c36a0(0x296));}['onRemoteRej'](){const _0xfb7fac=_0x5d8d99;throw new Error(_0xfb7fac(0xd5));}[_0x5d8d99(0x420)](){return this;}[_0x5d8d99(0x509)](){const _0x36d1d2=_0x5d8d99;return this[_0x36d1d2(0x119)]['createInstance'](_0x10b16d,this[_0x36d1d2(0xe5)],this[_0x36d1d2(0x36c)],null,[],this[_0x36d1d2(0x27a)]);}[_0x5d8d99(0x14a)](){return this;}['resend'](){const _0x4fd83e=_0x5d8d99;throw new Error(_0x4fd83e(0xd4));}['fetchMiss'](){const _0xf96378=_0x5d8d99,_0xd62062=this[_0xf96378(0x12f)][_0xf96378(0x273)](this['unitID']);return this[_0xf96378(0x27a)]['onMissingChangesets']({'from':_0xd62062,'to':0x0}),this[_0xf96378(0x119)]['createInstance'](_0x309bd1,this[_0xf96378(0xe5)],this[_0xf96378(0x36c)],null,[],null,[],this[_0xf96378(0x27a)]);}};_0x42f1ab=_0x5a9e65([_0x1d10bb(0x3,_0x28c502[_0x5d8d99(0x48a)](_0x50e560[_0x5d8d99(0x2cd)])),_0x1d10bb(0x4,_0x28c502[_0x5d8d99(0x48a)](_0x4c1435[_0x5d8d99(0x92)])),_0x1d10bb(0x5,_0x28c502[_0x5d8d99(0x48a)](_0x28c502['Injector'])),_0x1d10bb(0x6,_0x28c502['IUndoRedoService']),_0x1d10bb(0x7,_0x28c502[_0x5d8d99(0x123)]),_0x1d10bb(0x8,_0x28c502[_0x5d8d99(0xad)]),_0x1d10bb(0x9,_0x50e560[_0x5d8d99(0x3d0)])],_0x42f1ab);let _0x294e6a=class extends _0x4c906e{constructor(_0x5e786a,_0x8561d6,_0x20295,_0x1a454e,_0x119d72,_0x42fa17,_0x14d55b,_0x1c7f6d,_0x10950f,_0x1b3508,_0x5aaeae,_0x3fa72c,_0x38ff58,_0x21f4ab){const _0x2aa36b=_0x5d8d99;super(_0x5e786a,_0x8561d6,null,_0x20295,_0x1a454e,_0x1b3508,_0x21f4ab,_0x42fa17,_0x14d55b),_0x569acc(this,_0x2aa36b(0xc7),_0x2aa36b(0x1cd)),_0x569acc(this,_0x2aa36b(0x1b9),null),_0x569acc(this,'_sendingTimer',null),(this[_0x2aa36b(0x119)]=_0x119d72,this[_0x2aa36b(0x2a5)]=_0x1c7f6d,this[_0x2aa36b(0x414)]=_0x10950f,this[_0x2aa36b(0x298)]=_0x5aaeae,this[_0x2aa36b(0x258)]=_0x3fa72c,this['_univerInstanceService']=_0x38ff58);}[_0x5d8d99(0x486)](_0x14371c){const _0x293a6d=_0x5d8d99;return this[_0x293a6d(0x164)][_0x293a6d(0x347)](_0x14371c),this[_0x293a6d(0x3c2)](),this;}[_0x5d8d99(0x34c)](_0x3b7138){const _0x5ca34a=_0x5d8d99;if(this[_0x5ca34a(0xff)](_0x3b7138))return this[_0x5ca34a(0x230)](),this['_injector'][_0x5ca34a(0x13b)](_0x309bd1,this[_0x5ca34a(0xe5)],this[_0x5ca34a(0x36c)],null,this[_0x5ca34a(0x164)],null,[_0x3b7138],this[_0x5ca34a(0x27a)]);try{const _0x2f9e45=this[_0x5ca34a(0x258)][_0x5ca34a(0x2c7)](_0x3b7138,this[_0x5ca34a(0x164)]);if(_0x50e560[_0x5ca34a(0x17e)](_0x2f9e45)){const {c1Prime:_0x5c8524,m2Prime:_0x4330fe}=_0x2f9e45;this[_0x5ca34a(0x40e)](_0x5c8524);const _0xf62fcc=this[_0x5ca34a(0x119)][_0x5ca34a(0x13b)](_0x294e6a,this['unitID'],this[_0x5ca34a(0x36c)],_0x4330fe,this[_0x5ca34a(0x27a)]);return this[_0x5ca34a(0x230)](),_0xf62fcc[_0x5ca34a(0x44a)](this[_0x5ca34a(0x1b9)]?Math[_0x5ca34a(0xa2)](0x0,new Date()[_0x5ca34a(0x22e)]()-this[_0x5ca34a(0x1b9)]):this['_getSendChangesetTimeout']()),_0xf62fcc;}throw _0x2f9e45['error'];}catch(_0x16deeb){return this[_0x5ca34a(0x414)][_0x5ca34a(0x13c)](_0x16deeb),this[_0x5ca34a(0x1bc)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x5d8d99(0x41a)](){const _0x577567=_0x5d8d99;throw new Error(_0x577567(0x47a));}[_0x5d8d99(0x420)](){return this;}[_0x5d8d99(0x509)](){const _0x2a33f5=_0x5d8d99;return this[_0x2a33f5(0x230)](),this['_injector'][_0x2a33f5(0x13b)](_0x10b16d,this['unitID'],this[_0x2a33f5(0x36c)],null,this[_0x2a33f5(0x164)],this[_0x2a33f5(0x27a)]);}['toggleOnline'](){return this;}[_0x5d8d99(0x44a)](_0x4621cb){const _0x5077b4=_0x5d8d99,_0x3e1146=_0x4621cb!=null?_0x4621cb:this[_0x5077b4(0x49a)]();this[_0x5077b4(0x1b9)]=new Date()['getTime'](),this['_sendingTimer']=window[_0x5077b4(0x2a1)](()=>{const _0x34af27=_0x5077b4;this[_0x34af27(0x230)]();let _0x5a5328=null;switch(this[_0x34af27(0x36c)]){case _0x5b91b5[_0x34af27(0x3de)]:{_0x5a5328=_0x2cee8a(this[_0x34af27(0x164)],this[_0x34af27(0xe5)],this[_0x34af27(0x14c)],this[_0x34af27(0x12f)],this[_0x34af27(0x2a5)]);break;}case _0x5b91b5['UNIVER_DOC']:{this[_0x34af27(0x164)][_0x34af27(0x443)](_0x51eed4=>_0x51eed4['id']===_0x576070[_0x34af27(0x4b0)]['id'])?_0x5a5328=_0xa4161d(this[_0x34af27(0x164)],this['unitID'],this[_0x34af27(0x14c)],this[_0x34af27(0x12f)],this[_0x34af27(0x2a5)]):_0x5a5328=_0x2cee8a(this['_pendingMutations'],this['unitID'],this[_0x34af27(0x14c)],this[_0x34af27(0x12f)],this[_0x34af27(0x2a5)]);break;}default:throw new Error(_0x34af27(0x3af)+this[_0x34af27(0x36c)]+'\x20in\x20_schedule.');}const {changeset:_0x5a25e5,pendingMutations:_0x2b6389}=_0x5a5328;this[_0x34af27(0x27a)][_0x34af27(0x221)](_0x5a25e5);const _0x18d3c2=_0x2b6389[_0x34af27(0x52c)]?this[_0x34af27(0x119)]['createInstance'](_0x118b30,this[_0x34af27(0xe5)],this['type'],_0x5a25e5,_0x2b6389,this['_handler'],void 0x0):this[_0x34af27(0x119)][_0x34af27(0x13b)](_0x2edb06,this[_0x34af27(0xe5)],this['type'],_0x5a25e5,this['_handler']);_0x18d3c2['_updateLocalCache'](),this[_0x34af27(0x27a)]['onStateChange'](this,_0x18d3c2);},_0x3e1146);}[_0x5d8d99(0x49a)](){const _0x13df2d=_0x5d8d99;var _0x26aefb;const _0x203549=this[_0x13df2d(0x298)][_0x13df2d(0x2ea)](_0x5b0249);return(_0x26aefb=_0x203549==null?void 0x0:_0x203549[_0x13df2d(0x366)])!=null?_0x26aefb:0x7d0;}['resend'](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x5d8d99(0x230)](){const _0x2005b5=_0x5d8d99;this['_sendingTimer']!=null&&(clearTimeout(this[_0x2005b5(0x24a)]),this['_sendingTimer']=null);}[_0x5d8d99(0x1bc)](_0x516e1c){const _0x4f3b68=_0x5d8d99;return this['_clearScheduledTask'](),this[_0x4f3b68(0x119)]['createInstance'](_0x4cb118,this[_0x4f3b68(0xe5)],this['type'],null,this[_0x4f3b68(0x164)],this[_0x4f3b68(0x27a)],_0x516e1c);}};_0x294e6a=_0x5a9e65([_0x1d10bb(0x4,_0x28c502[_0x5d8d99(0x48a)](_0x28c502[_0x5d8d99(0x30d)])),_0x1d10bb(0x5,_0x28c502['Inject'](_0x50e560[_0x5d8d99(0x2cd)])),_0x1d10bb(0x6,_0x28c502[_0x5d8d99(0x48a)](_0x4c1435[_0x5d8d99(0x92)])),_0x1d10bb(0x7,_0x28c502[_0x5d8d99(0x48a)](_0x4c1435['MemberService'])),_0x1d10bb(0x8,_0x28c502[_0x5d8d99(0xad)]),_0x1d10bb(0x9,_0x28c502['ICommandService']),_0x1d10bb(0xa,_0x28c502[_0x5d8d99(0x422)]),_0x1d10bb(0xb,_0x50e560[_0x5d8d99(0x3d0)]),_0x1d10bb(0xc,_0x28c502[_0x5d8d99(0x380)]),_0x1d10bb(0xd,_0x28c502[_0x5d8d99(0x459)])],_0x294e6a);let _0x2edb06=class extends _0x4c906e{constructor(_0x285803,_0x16a9e1,_0x579c8a,_0x47d646,_0x1ce4ec,_0x2c8c36,_0x200b25,_0x573d1c,_0xdc5fc0,_0x1a7e04,_0xc15930){const _0x13c16b=_0x5d8d99;super(_0x285803,_0x16a9e1,_0x579c8a,[],_0x47d646,_0x573d1c,_0xc15930,_0x2c8c36,_0x200b25),_0x569acc(this,_0x13c16b(0xc7),_0x13c16b(0x445)),_0x569acc(this,_0x13c16b(0x4b2),0x0),_0x569acc(this,_0x13c16b(0x33a)),_0x569acc(this,_0x13c16b(0x20d)),(this[_0x13c16b(0x119)]=_0x1ce4ec,this['_logService']=_0xdc5fc0,this[_0x13c16b(0x258)]=_0x1a7e04);}[_0x5d8d99(0x486)](_0xc3f6bc){const _0x535983=_0x5d8d99;this['_clearScheduledTask']();const _0x4b6c64=this['_injector'][_0x535983(0x13b)](_0x118b30,this[_0x535983(0xe5)],this[_0x535983(0x36c)],this[_0x535983(0x93)],[_0xc3f6bc],this[_0x535983(0x27a)],this['_resendTimer']);return _0x4b6c64[_0x535983(0x3c2)](),_0x4b6c64;}[_0x5d8d99(0x34c)](_0x2cf5c){const _0x3f7d70=_0x5d8d99;if(this[_0x3f7d70(0xff)](_0x2cf5c))return this['_clearScheduledTask'](),this['_injector']['createInstance'](_0x309bd1,this[_0x3f7d70(0xe5)],this[_0x3f7d70(0x36c)],this[_0x3f7d70(0x93)],[],null,[_0x2cf5c],this['_handler']);try{const _0x4229df=this[_0x3f7d70(0x258)]['transformChangesets']([_0x2cf5c],[this[_0x3f7d70(0x93)]],!0x1);if(_0x50e560[_0x3f7d70(0x431)](_0x4229df)){const {c1Prime:_0xc07e5f,c2Prime:_0x37049a}=_0x4229df;this[_0x3f7d70(0x40e)](_0xc07e5f[0x0]),_0x37049a[0x0][_0x3f7d70(0x3b1)]=this[_0x3f7d70(0x484)](),this[_0x3f7d70(0x230)]();const _0x2841df=this['_injector']['createInstance'](_0x2edb06,this[_0x3f7d70(0xe5)],this[_0x3f7d70(0x36c)],_0x37049a[0x0],this[_0x3f7d70(0x27a)]);return _0x2841df[_0x3f7d70(0x3c2)](),_0x2841df;}return this[_0x3f7d70(0x1bc)](!0x1);}catch(_0x2cdc10){return this[_0x3f7d70(0x414)][_0x3f7d70(0x13c)](_0x2cdc10),this[_0x3f7d70(0x1bc)](!0x1);}}[_0x5d8d99(0x3f6)](_0x3830c5){const _0xa6c79d=_0x5d8d99;this[_0xa6c79d(0x230)]();const _0x397d62=this[_0xa6c79d(0x12f)][_0xa6c79d(0x273)](this[_0xa6c79d(0xe5)]);if(_0x3830c5[_0xa6c79d(0x470)]<_0x397d62-0x1)return this;if(this['_checkMissing'](_0x3830c5))return this['_injector']['createInstance'](_0x309bd1,this[_0xa6c79d(0xe5)],this['type'],null,[],this[_0xa6c79d(0x93)],[],this[_0xa6c79d(0x27a)]);this['_incrementRevisionNumber']();const _0x45e330=this[_0xa6c79d(0x119)]['createInstance'](_0x42f1ab,this[_0xa6c79d(0xe5)],this[_0xa6c79d(0x36c)],this[_0xa6c79d(0x27a)]);return _0x45e330[_0xa6c79d(0x3c2)](),_0x45e330;}[_0x5d8d99(0x41a)](_0x1aeb2d){const _0x1a46d2=_0x5d8d99;return this[_0x1a46d2(0x1bc)](!!(_0x1aeb2d!=null&&_0x1aeb2d[_0x1a46d2(0x312)]));}[_0x5d8d99(0x420)](_0x3cd8da){const _0x25e806=_0x5d8d99;return this[_0x25e806(0x4b2)]>_0x4aef09?this[_0x25e806(0x509)]():(this[_0x25e806(0x33a)]=_0x537581(this[_0x25e806(0x4b2)],{'timeout':this[_0x25e806(0x4b2)],'reqId':_0x3cd8da['reqId']}),this[_0x25e806(0x20d)]=this['_resendTimer'][_0x25e806(0x3d2)](({reqId:_0x3814e7,timeout:_0x5bf82f})=>{const _0x20031d=_0x25e806;this[_0x20031d(0x476)](_0x3814e7,_0x5bf82f);}),this);}['toggleOffline'](){const _0x41726e=_0x5d8d99;return this[_0x41726e(0x230)](),this[_0x41726e(0x119)][_0x41726e(0x13b)](_0x10b16d,this[_0x41726e(0xe5)],this[_0x41726e(0x36c)],this[_0x41726e(0x93)],[],this[_0x41726e(0x27a)]);}[_0x5d8d99(0x14a)](){return this;}[_0x5d8d99(0x3f7)](){const _0x52c8e6=_0x5d8d99;this[_0x52c8e6(0x27a)]['onSendChangeset'](this[_0x52c8e6(0x93)]);}['_onConflict'](_0x57fc5a){const _0x41926e=_0x5d8d99;return this[_0x41926e(0x230)](),this[_0x41926e(0x119)][_0x41926e(0x13b)](_0x4cb118,this[_0x41926e(0xe5)],this[_0x41926e(0x36c)],this[_0x41926e(0x93)],[],this[_0x41926e(0x27a)],_0x57fc5a);}['_resendWithTimeout'](_0x510863,_0x4ed4cc){const _0x3150e4=_0x5d8d99;var _0x5d0ed4;_0x510863===((_0x5d0ed4=this[_0x3150e4(0x93)])==null?void 0x0:_0x5d0ed4[_0x3150e4(0x1d8)])&&(this[_0x3150e4(0x3f7)](),this['_resendTimeout']=_0x4ed4cc===0x0?0x3e8:_0x4ed4cc*0x2);}['_clearScheduledTask'](){const _0x4665cd=_0x5d8d99;var _0x17ec67;(_0x17ec67=this[_0x4665cd(0x20d)])==null||_0x17ec67[_0x4665cd(0x36b)](),this['_resendTimeout']=0x0;}};_0x2edb06=_0x5a9e65([_0x1d10bb(0x4,_0x28c502[_0x5d8d99(0x48a)](_0x28c502[_0x5d8d99(0x30d)])),_0x1d10bb(0x5,_0x28c502[_0x5d8d99(0x48a)](_0x50e560[_0x5d8d99(0x2cd)])),_0x1d10bb(0x6,_0x28c502['Inject'](_0x4c1435[_0x5d8d99(0x92)])),_0x1d10bb(0x7,_0x28c502[_0x5d8d99(0x123)]),_0x1d10bb(0x8,_0x28c502[_0x5d8d99(0xad)]),_0x1d10bb(0x9,_0x50e560[_0x5d8d99(0x3d0)]),_0x1d10bb(0xa,_0x28c502[_0x5d8d99(0x459)])],_0x2edb06);let _0x118b30=class extends _0x4c906e{constructor(_0x574175,_0x18bb66,_0x1090fd,_0x1b30f8,_0x3f2d1d,_0x5e1fea,_0x515d4c,_0x24fe0d,_0x521b2f,_0x430bb7,_0x380ea6,_0x45e437,_0x16d051){const _0x22dbb1=_0x5d8d99;super(_0x574175,_0x18bb66,_0x1090fd,_0x1b30f8,_0x3f2d1d,_0x430bb7,_0x16d051,_0x24fe0d,_0x521b2f),_0x569acc(this,_0x22dbb1(0xc7),_0x22dbb1(0x1c5)),_0x569acc(this,_0x22dbb1(0x4b2),0x0),_0x569acc(this,'_resendTimer'),_0x569acc(this,_0x22dbb1(0x20d)),(this[_0x22dbb1(0x119)]=_0x515d4c,this[_0x22dbb1(0x414)]=_0x380ea6,this[_0x22dbb1(0x258)]=_0x45e437,_0x5e1fea&&(this[_0x22dbb1(0x33a)]=_0x5e1fea,this[_0x22dbb1(0x20d)]=this[_0x22dbb1(0x33a)]['subscribe'](({reqId:_0x56c112,timeout:_0x4a300b})=>{const _0x446a74=_0x22dbb1;this[_0x446a74(0x476)](_0x56c112,_0x4a300b);})));}[_0x5d8d99(0x486)](_0x5598fe){const _0x46911b=_0x5d8d99;return this[_0x46911b(0x164)]['push'](_0x5598fe),this;}[_0x5d8d99(0x34c)](_0x4c8997){const _0x366db3=_0x5d8d99;if(this[_0x366db3(0xff)](_0x4c8997))return this[_0x366db3(0x230)](),this['_injector']['createInstance'](_0x309bd1,this[_0x366db3(0xe5)],this[_0x366db3(0x36c)],this[_0x366db3(0x93)],this[_0x366db3(0x164)],null,[_0x4c8997],this['_handler']);try{const _0x28b519=this[_0x366db3(0x258)]['transformChangesets']([_0x4c8997],[this['_awaitingChangeset']],!0x1);if(_0x50e560[_0x366db3(0x431)](_0x28b519)){const {c1Prime:_0x39472e,c2Prime:_0x21ac35}=_0x28b519,_0x29e146=this['_transformService'][_0x366db3(0x2c7)](_0x39472e[0x0],this[_0x366db3(0x164)]);if(_0x50e560[_0x366db3(0x17e)](_0x29e146)){const {c1Prime:_0x338d59,m2Prime:_0x2d4b6a}=_0x29e146;return this[_0x366db3(0x40e)](_0x338d59),_0x21ac35[0x0][_0x366db3(0x3b1)]=this[_0x366db3(0x484)](),this[_0x366db3(0x230)](),this[_0x366db3(0x119)]['createInstance'](_0x118b30,this[_0x366db3(0xe5)],this[_0x366db3(0x36c)],_0x21ac35[0x0],_0x2d4b6a,this[_0x366db3(0x27a)],void 0x0);}throw _0x29e146[_0x366db3(0x13c)];}throw _0x28b519[_0x366db3(0x13c)];}catch(_0x3ec103){return this[_0x366db3(0x414)][_0x366db3(0x13c)](_0x3ec103),this[_0x366db3(0x1bc)](!0x1);}}[_0x5d8d99(0x3f6)](_0xdb41b2){const _0x1cb597=_0x5d8d99;if(this[_0x1cb597(0x230)](),this['_checkMissing'](_0xdb41b2))return this['_injector'][_0x1cb597(0x13b)](_0x309bd1,this['unitID'],this[_0x1cb597(0x36c)],null,this[_0x1cb597(0x164)],this[_0x1cb597(0x93)],[],this[_0x1cb597(0x27a)]);this['_incrementRevisionNumber']();const _0x515308=this[_0x1cb597(0x119)][_0x1cb597(0x13b)](_0x294e6a,this['unitID'],this[_0x1cb597(0x36c)],this[_0x1cb597(0x164)],this['_handler']);return _0x515308[_0x1cb597(0x44a)](),_0x515308[_0x1cb597(0x3c2)](),_0x515308;}[_0x5d8d99(0x41a)](_0x1547cf){const _0x3da706=_0x5d8d99;return this[_0x3da706(0x1bc)](!!(_0x1547cf!=null&&_0x1547cf[_0x3da706(0x312)]));}[_0x5d8d99(0x420)](_0x29cf4f){const _0xf97d95=_0x5d8d99;return this[_0xf97d95(0x4b2)]>_0x4aef09?this['toggleOffline']():(this[_0xf97d95(0x33a)]=_0x537581(this[_0xf97d95(0x4b2)],{'timeout':this['_resendTimeout'],'reqId':_0x29cf4f['reqId']}),this[_0xf97d95(0x20d)]=this[_0xf97d95(0x33a)][_0xf97d95(0x3d2)](({reqId:_0x99c29c,timeout:_0x27fc93})=>{const _0x4aefd6=_0xf97d95;this[_0x4aefd6(0x476)](_0x99c29c,_0x27fc93);}),this);}[_0x5d8d99(0x509)](){const _0x34d071=_0x5d8d99;return this[_0x34d071(0x230)](),this[_0x34d071(0x119)]['createInstance'](_0x10b16d,this[_0x34d071(0xe5)],this[_0x34d071(0x36c)],this[_0x34d071(0x93)],this[_0x34d071(0x164)],this[_0x34d071(0x27a)]);}[_0x5d8d99(0x14a)](){return this;}['resend'](){const _0x407db2=_0x5d8d99;this['_handler'][_0x407db2(0x221)](this[_0x407db2(0x93)]);}[_0x5d8d99(0x1bc)](_0xaa1e5d){const _0x1b77d5=_0x5d8d99;return this[_0x1b77d5(0x230)](),this[_0x1b77d5(0x119)][_0x1b77d5(0x13b)](_0x4cb118,this[_0x1b77d5(0xe5)],this[_0x1b77d5(0x36c)],null,this[_0x1b77d5(0x164)],this['_handler'],_0xaa1e5d);}[_0x5d8d99(0x476)](_0x2d7c28,_0x24a2f6){const _0xf56014=_0x5d8d99;var _0x452e42;_0x2d7c28===((_0x452e42=this[_0xf56014(0x93)])==null?void 0x0:_0x452e42[_0xf56014(0x1d8)])&&(this[_0xf56014(0x3f7)](),this[_0xf56014(0x4b2)]=_0x24a2f6===0x0?0x3e8:_0x24a2f6*0x2);}['_clearScheduledTask'](){const _0x4113a6=_0x5d8d99;var _0xb6824a;(_0xb6824a=this['_sender'])==null||_0xb6824a[_0x4113a6(0x36b)](),this[_0x4113a6(0x4b2)]=0x0;}};_0x118b30=_0x5a9e65([_0x1d10bb(0x6,_0x28c502[_0x5d8d99(0x48a)](_0x28c502[_0x5d8d99(0x30d)])),_0x1d10bb(0x7,_0x28c502[_0x5d8d99(0x48a)](_0x50e560['RevisionService'])),_0x1d10bb(0x8,_0x28c502['Inject'](_0x4c1435[_0x5d8d99(0x92)])),_0x1d10bb(0x9,_0x28c502['ICommandService']),_0x1d10bb(0xa,_0x28c502['ILogService']),_0x1d10bb(0xb,_0x50e560['ITransformService']),_0x1d10bb(0xc,_0x28c502[_0x5d8d99(0x459)])],_0x118b30);let _0x4cb118=class extends _0x4c906e{constructor(_0x4b2141,_0x49e439,_0x196ab6,_0x59e006,_0xe9454a,_0x220de0=!0x1,_0x1db253,_0x2104ea,_0x21be1c,_0x11636e,_0x474062,_0x253d4f,_0x1d1bf4){const _0x35e9cf=_0x5d8d99;super(_0x4b2141,_0x49e439,_0x196ab6,_0x59e006,_0xe9454a,_0x2104ea,_0x21be1c,_0x474062,_0x11636e),_0x569acc(this,_0x35e9cf(0xc7),_0x35e9cf(0x1a9)),(this[_0x35e9cf(0x348)]=_0x220de0,this[_0x35e9cf(0x9c)]=_0x1db253,this[_0x35e9cf(0xdc)]=_0x253d4f,this['_notificationService']=_0x1d1bf4,this[_0x35e9cf(0x2be)](),this[_0x35e9cf(0x26a)](),this[_0x35e9cf(0x104)]());}[_0x5d8d99(0x486)](){return this;}['onRemoteChangeset'](){return this;}[_0x5d8d99(0x3f6)](){return this;}[_0x5d8d99(0x41a)](){return this;}[_0x5d8d99(0x420)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}[_0x5d8d99(0x3f7)](){const _0x435cb7=_0x5d8d99;throw new Error(_0x435cb7(0x140));}['_clearLocalCache'](){const _0x305d54=_0x5d8d99;this[_0x305d54(0x474)][_0x305d54(0x45d)](this[_0x305d54(0xe5)],this[_0x305d54(0x36c)],null,[]);}[_0x5d8d99(0x2be)](){const _0x197ca3=_0x5d8d99;this[_0x197ca3(0x348)]?this[_0x197ca3(0x407)][_0x197ca3(0x3ef)]({'title':this['_localeService']['t'](_0x197ca3(0x3c7)),'content':this['_localeService']['t']('permission.content'),'type':_0x197ca3(0x13c),'duration':0x0}):this[_0x197ca3(0x407)][_0x197ca3(0x3ef)]({'title':this[_0x197ca3(0xdc)]['t'](_0x197ca3(0x1d3)),'content':this[_0x197ca3(0xdc)]['t'](_0x197ca3(0x2ba)),'type':_0x197ca3(0x13c),'duration':0x0});}[_0x5d8d99(0x104)](){const _0xb6db30=_0x5d8d99;this['_permissionService']['updatePermissionPoint'](new _0x256063[(_0xb6db30(0x262))](this[_0xb6db30(0xe5)])['id'],!0x1);}};_0x4cb118=_0x5a9e65([_0x1d10bb(0x6,_0x28c502['Inject'](_0x28c502[_0x5d8d99(0xd3)])),_0x1d10bb(0x7,_0x28c502['ICommandService']),_0x1d10bb(0x8,_0x28c502['IUndoRedoService']),_0x1d10bb(0x9,_0x28c502[_0x5d8d99(0x48a)](_0x4c1435['LocalCacheService'])),_0x1d10bb(0xa,_0x28c502['Inject'](_0x50e560[_0x5d8d99(0x2cd)])),_0x1d10bb(0xb,_0x28c502[_0x5d8d99(0x48a)](_0x28c502[_0x5d8d99(0x469)])),_0x1d10bb(0xc,_0x28a60c[_0x5d8d99(0x28c)])],_0x4cb118);let _0x10b16d=class extends _0x4c906e{constructor(_0x2d5c6f,_0x1baa20,_0x16a2f2,_0x3a44d7,_0x223a0d,_0x3f0cb1,_0x4a318e,_0x40a270,_0x1431cc,_0x5e9fa3){const _0x457495=_0x5d8d99;super(_0x2d5c6f,_0x1baa20,_0x16a2f2,_0x3a44d7,_0x223a0d,_0x1431cc,_0x5e9fa3,_0x4a318e,_0x40a270),_0x569acc(this,_0x457495(0xc7),_0x457495(0x90)),this[_0x457495(0x119)]=_0x3f0cb1;}[_0x5d8d99(0x486)](_0x3a7bea){const _0x291f08=_0x5d8d99;return this[_0x291f08(0x164)]['push'](_0x3a7bea),this[_0x291f08(0x3c2)](),this;}[_0x5d8d99(0x34c)](_0x30b8fe){const _0x31fadc=_0x5d8d99;throw new Error(_0x31fadc(0x4c8));}['onRemoteAck'](){const _0x3192e7=_0x5d8d99;throw new Error(_0x3192e7(0x238));}[_0x5d8d99(0x41a)](){const _0x2ce523=_0x5d8d99;throw new Error(_0x2ce523(0xda));}[_0x5d8d99(0x420)](){return this;}[_0x5d8d99(0x509)](){return this;}[_0x5d8d99(0x14a)](){const _0x393ebf=_0x5d8d99,{_injector:_0x18988c,_pendingMutations:_0x5b7e9c,_awaitingChangeset:_0x5f011f,unitID:_0x4e4fe7,_handler:_0x493267,type:_0x3dbe50}=this,_0x6cba25=_0x2a63c6(_0x18988c,_0x4e4fe7,_0x3dbe50,_0x5f011f,_0x5b7e9c,_0x493267);return _0x6cba25 instanceof _0x294e6a?_0x6cba25[_0x393ebf(0x44a)]():(_0x6cba25 instanceof _0x118b30||_0x6cba25 instanceof _0x2edb06)&&_0x6cba25['resend'](),_0x6cba25;}['resend'](){const _0x339ec0=_0x5d8d99;throw new Error(_0x339ec0(0x2e1));}};_0x10b16d=_0x5a9e65([_0x1d10bb(0x5,_0x28c502[_0x5d8d99(0x48a)](_0x28c502[_0x5d8d99(0x30d)])),_0x1d10bb(0x6,_0x28c502[_0x5d8d99(0x48a)](_0x50e560['RevisionService'])),_0x1d10bb(0x7,_0x28c502[_0x5d8d99(0x48a)](_0x4c1435[_0x5d8d99(0x92)])),_0x1d10bb(0x8,_0x28c502[_0x5d8d99(0x123)]),_0x1d10bb(0x9,_0x28c502[_0x5d8d99(0x459)])],_0x10b16d);let _0x309bd1=class extends _0x4c906e{constructor(_0x845b6a,_0x1bd884,_0x479653,_0x1fe1f8,_0x31eea0,_0x17202e,_0x127f8c,_0x2b5e07,_0x4de3d1,_0x1dfdd0,_0x19d793,_0x1a108a,_0x2a525d,_0xfadb0e){const _0x3028ae=_0x5d8d99;super(_0x845b6a,_0x1bd884,_0x479653,_0x1fe1f8,_0x127f8c,_0x1a108a,_0x2a525d,_0x4de3d1,_0x1dfdd0),_0x569acc(this,_0x3028ae(0xc7),'fetch_missing'),(this[_0x3028ae(0x4bc)]=_0x31eea0,this['_queuedRemoteChangesets']=_0x17202e,this['_injector']=_0x2b5e07,this['_logService']=_0x19d793,this[_0x3028ae(0x258)]=_0xfadb0e);}[_0x5d8d99(0x463)](_0x1492c8){const _0xbbce8=_0x5d8d99;try{const _0x58ceda=[..._0x1492c8,...this[_0xbbce8(0x483)]],_0x606436=[this[_0xbbce8(0x93)]||this[_0xbbce8(0x4bc)]][_0xbbce8(0x1ea)](_0x60bef0=>!!_0x60bef0);let _0xc268c4,_0x20782d;if(_0x606436[_0xbbce8(0x52c)]){const _0x392451=this[_0xbbce8(0x258)][_0xbbce8(0xce)](_0x58ceda,_0x606436,!0x1);if(!_0x50e560[_0xbbce8(0x431)](_0x392451))throw _0x392451['error'];_0xc268c4=_0x392451['c1Prime'],_0x20782d=_0x392451['c2Prime'];}else _0xc268c4=_0x58ceda,_0x20782d=[];let _0x563499=this[_0xbbce8(0x164)];_0xc268c4[_0xbbce8(0x359)](_0x3ee1a7=>{const _0x53750c=_0xbbce8;let _0x4ce987;if(_0x563499[_0x53750c(0x52c)]){const _0x26f4cf=this['_transformService'][_0x53750c(0x2c7)](_0x3ee1a7,_0x563499);if(!_0x50e560[_0x53750c(0x17e)](_0x26f4cf))throw _0x26f4cf[_0x53750c(0x13c)];_0x4ce987=_0x26f4cf[_0x53750c(0x189)],_0x563499=_0x26f4cf[_0x53750c(0x4d1)];}else _0x4ce987=_0x3ee1a7;this[_0x53750c(0x40e)](_0x4ce987);}),this[_0xbbce8(0x4bc)]&&this[_0xbbce8(0x247)](),this[_0xbbce8(0x93)]&&_0x20782d['length']&&(_0x20782d[0x0]['baseRev']=this[_0xbbce8(0x484)]());let _0x421830;if(this[_0xbbce8(0x93)]&&_0x563499['length']!==0x0)_0x421830=this[_0xbbce8(0x119)][_0xbbce8(0x13b)](_0x118b30,this[_0xbbce8(0xe5)],this[_0xbbce8(0x36c)],_0x20782d[0x0],_0x563499,this['_handler'],void 0x0);else{if(this[_0xbbce8(0x93)]&&_0x563499[_0xbbce8(0x52c)]===0x0)_0x20782d[0x0]['baseRev']=this['_getCurrentRevision'](),_0x421830=this[_0xbbce8(0x119)][_0xbbce8(0x13b)](_0x2edb06,this[_0xbbce8(0xe5)],this[_0xbbce8(0x36c)],_0x20782d[0x0],this['_handler']);else{if(_0x563499[_0xbbce8(0x52c)]!==0x0){const _0x568404=this[_0xbbce8(0x119)][_0xbbce8(0x13b)](_0x294e6a,this['unitID'],this[_0xbbce8(0x36c)],_0x563499,this[_0xbbce8(0x27a)]);_0x568404['_schedule'](),_0x421830=_0x568404;}else _0x421830=this['_injector'][_0xbbce8(0x13b)](_0x42f1ab,this[_0xbbce8(0xe5)],this[_0xbbce8(0x36c)],this[_0xbbce8(0x27a)]);}}return _0x421830[_0xbbce8(0x3c2)](),_0x421830;}catch(_0x51a78b){return this[_0xbbce8(0x414)][_0xbbce8(0x13c)](_0xbbce8(0x373),'failed\x20to\x20apply\x20missed\x20changesets!',_0x51a78b),this['_injector'][_0xbbce8(0x13b)](_0x4cb118,this[_0xbbce8(0xe5)],this[_0xbbce8(0x36c)],this['_awaitingChangeset'],this[_0xbbce8(0x164)],this[_0xbbce8(0x27a)],!0x1);}}[_0x5d8d99(0x3f7)](){const _0x5bf5a4=_0x5d8d99;throw new Error(_0x5bf5a4(0x220));}[_0x5d8d99(0x486)](_0x343e75){const _0x2caa25=_0x5d8d99;return this[_0x2caa25(0x164)][_0x2caa25(0x347)](_0x343e75),this;}[_0x5d8d99(0x34c)](_0x57a478){const _0x4743cf=_0x5d8d99;return this['_queuedRemoteChangesets'][_0x4743cf(0x347)](_0x57a478),this;}['onRemoteAck'](_0x49e394){const _0xe61efa=_0x5d8d99;if(this[_0xe61efa(0x93)])return this[_0xe61efa(0x4bc)]=this[_0xe61efa(0x93)],this[_0xe61efa(0x93)]=null,this;throw new Error(_0xe61efa(0x370));}['onRemoteRej'](_0x4adae2){const _0x3548ed=_0x5d8d99;return this[_0x3548ed(0x1bc)](!!(_0x4adae2!=null&&_0x4adae2[_0x3548ed(0x312)]));}['onRemoteRetry'](){return this;}['toggleOffline'](){const _0x51b6e0=_0x5d8d99;return this['_injector']['createInstance'](_0x10b16d,this[_0x51b6e0(0xe5)],this[_0x51b6e0(0x36c)],this['_awaitingChangeset'],this[_0x51b6e0(0x164)],this[_0x51b6e0(0x27a)]);}['toggleOnline'](){return this;}[_0x5d8d99(0x1bc)](_0x518292){const _0x3aa3d6=_0x5d8d99;return this[_0x3aa3d6(0x119)][_0x3aa3d6(0x13b)](_0x4cb118,this[_0x3aa3d6(0xe5)],this[_0x3aa3d6(0x36c)],this[_0x3aa3d6(0x93)],this[_0x3aa3d6(0x164)],this[_0x3aa3d6(0x27a)],_0x518292);}};_0x309bd1=_0x5a9e65([_0x1d10bb(0x7,_0x28c502[_0x5d8d99(0x48a)](_0x28c502[_0x5d8d99(0x30d)])),_0x1d10bb(0x8,_0x28c502['Inject'](_0x50e560['RevisionService'])),_0x1d10bb(0x9,_0x28c502[_0x5d8d99(0x48a)](_0x4c1435[_0x5d8d99(0x92)])),_0x1d10bb(0xa,_0x28c502[_0x5d8d99(0xad)]),_0x1d10bb(0xb,_0x28c502[_0x5d8d99(0x123)]),_0x1d10bb(0xc,_0x28c502[_0x5d8d99(0x459)]),_0x1d10bb(0xd,_0x50e560[_0x5d8d99(0x3d0)])],_0x309bd1);function _0x2a63c6(_0x5ec1f4,_0x149512,_0x22b62c,_0x25877c,_0x3796e1,_0x516c5d){const _0x7435c1=_0x5d8d99;return _0x25877c&&_0x3796e1['length']?_0x5ec1f4[_0x7435c1(0x13b)](_0x118b30,_0x149512,_0x22b62c,_0x25877c,_0x3796e1,_0x516c5d,void 0x0):_0x25877c?_0x5ec1f4[_0x7435c1(0x13b)](_0x2edb06,_0x149512,_0x22b62c,_0x25877c,_0x516c5d):_0x3796e1[_0x7435c1(0x52c)]?_0x5ec1f4['createInstance'](_0x294e6a,_0x149512,_0x22b62c,_0x3796e1,_0x516c5d):_0x5ec1f4['createInstance'](_0x42f1ab,_0x149512,_0x22b62c,_0x516c5d);}var _0x3862e6=Object['defineProperty'],_0x23b0e9=Object[_0x5d8d99(0x48b)],_0xd05381=(_0x3fcf06,_0x5e6970,_0x187bc9,_0x22cc65)=>{const _0x31bc36=_0x5d8d99;for(var _0x4895ab=_0x22cc65>0x1?void 0x0:_0x22cc65?_0x23b0e9(_0x5e6970,_0x187bc9):_0x5e6970,_0x57a455=_0x3fcf06[_0x31bc36(0x52c)]-0x1,_0x39e1e5;_0x57a455>=0x0;_0x57a455--)(_0x39e1e5=_0x3fcf06[_0x57a455])&&(_0x4895ab=(_0x22cc65?_0x39e1e5(_0x5e6970,_0x187bc9,_0x4895ab):_0x39e1e5(_0x4895ab))||_0x4895ab);return _0x22cc65&&_0x4895ab&&_0x3862e6(_0x5e6970,_0x187bc9,_0x4895ab),_0x4895ab;},_0x420122=(_0x1dee69,_0x2446cd)=>(_0x7fd80e,_0x554fc4)=>_0x2446cd(_0x7fd80e,_0x554fc4,_0x1dee69);_0x4c1435['CollaborationEntity']=class extends _0x28c502['RxDisposable']{constructor(_0x4f188f,_0x400ede,_0x318593,_0x2327f8,_0x4bafe6,_0x35aef3,_0x11670e,_0x4edf97,_0x587d74,_0xf57975,_0x46d1b3,_0x932ed9,_0x407d81){const _0x33b2d7=_0x5d8d99;super(),_0x569acc(this,'_state$',new _0x158390[(_0x33b2d7(0x146))](null)),_0x569acc(this,_0x33b2d7(0x2ac),this[_0x33b2d7(0x165)]['asObservable']()),_0x569acc(this,_0x33b2d7(0x242)),_0x569acc(this,'_collaborationPaused',!0x1),_0x569acc(this,_0x33b2d7(0x96),''),_0x569acc(this,_0x33b2d7(0x331),0x0),_0x569acc(this,_0x33b2d7(0x2e4),this[_0x33b2d7(0x2ac)][_0x33b2d7(0x4fb)](_0x158390[_0x33b2d7(0x1c9)](_0x571368=>_0x571368?_0x571368['status']:_0xda01df[_0x33b2d7(0x515)]),_0x158390['shareReplay'](0x1))),_0x569acc(this,_0x33b2d7(0xb2),!0x1),_0x569acc(this,_0x33b2d7(0x9b),[]),(this[_0x33b2d7(0xe5)]=_0x4f188f,this[_0x33b2d7(0xb1)]=_0x400ede,this['_type']=_0x318593,this[_0x33b2d7(0x119)]=_0x2327f8,this[_0x33b2d7(0x474)]=_0x4bafe6,this[_0x33b2d7(0x1b1)]=_0x35aef3,this[_0x33b2d7(0xdc)]=_0x11670e,this[_0x33b2d7(0x12f)]=_0x4edf97,this[_0x33b2d7(0x414)]=_0x587d74,this[_0x33b2d7(0x3a0)]=_0xf57975,this[_0x33b2d7(0x47b)]=_0x46d1b3,this[_0x33b2d7(0x9c)]=_0x932ed9,this['_singleActiveUnitService']=_0x407d81);}get['state'](){const _0x1d3db2=_0x5d8d99;return this[_0x1d3db2(0x242)];}async[_0x5d8d99(0x102)](){const _0x4a6fac=_0x5d8d99;if(this[_0x4a6fac(0x163)])throw new Error(_0x4a6fac(0x1bf));await this[_0x4a6fac(0xfb)]();}[_0x5d8d99(0x1ab)](){const _0x24272d=_0x5d8d99;return this[_0x24272d(0x3eb)]=!0x0,_0x28c502[_0x24272d(0x4fe)](()=>{const _0x321044=_0x24272d;this['_collaborationPaused']=!0x1,this[_0x321044(0x166)]();});}[_0x5d8d99(0x456)](_0x3d474e){const _0x56ad3e=_0x5d8d99;this[_0x56ad3e(0x242)]=_0x3d474e,this[_0x56ad3e(0x165)]['next'](_0x3d474e);}async[_0x5d8d99(0xfb)](){const _0x6f5f2d=_0x5d8d99;var _0x28fe87;this[_0x6f5f2d(0x456)](await this['_createInitialState']()),this[_0x6f5f2d(0x289)]&&((_0x28fe87=this[_0x6f5f2d(0x289)])==null||_0x28fe87[_0x6f5f2d(0x160)](this[_0x6f5f2d(0xe5)]),this['disposeWithMe'](this[_0x6f5f2d(0x289)][_0x6f5f2d(0x29f)](this[_0x6f5f2d(0xe5)])['subscribe'](_0x296303=>{const _0x293516=_0x6f5f2d;this[_0x293516(0x414)]['debug']('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0x296303),_0x296303===_0x557e05[_0x293516(0x467)]?(this[_0x293516(0x47b)]['show']({'content':this[_0x293516(0xdc)]['t'](_0x293516(0x327)),'type':_0x4fac56[_0x293516(0x355)]['Warning']}),this['_permissionService'][_0x293516(0x324)](new _0x256063[(_0x293516(0x262))](this['unitID'])['id'],!0x1),this[_0x293516(0x9c)]['setShowComponents'](!0x1)):(this[_0x293516(0x9c)][_0x293516(0x324)](new _0x256063[(_0x293516(0x262))](this[_0x293516(0xe5)])['id'],!0x0),this['_permissionService'][_0x293516(0xfd)](!0x0));})));let _0x1bb35d=!0x1;return this[_0x6f5f2d(0x4b5)](this[_0x6f5f2d(0xb1)][_0x6f5f2d(0xc4)][_0x6f5f2d(0x3d2)](_0xc312ea=>{const _0x49f73f=_0x6f5f2d;_0xc312ea===_0x36f038[_0x49f73f(0x316)]?this[_0x49f73f(0x10c)](_0x1bb35d):_0xc312ea===_0x36f038['OFFLINE']&&(_0x1bb35d=!0x0,this[_0x49f73f(0x417)]());})),this[_0x6f5f2d(0x4b5)](this['session'][_0x6f5f2d(0xf3)][_0x6f5f2d(0x3d2)](_0xc1578a=>{const _0x2108af=_0x6f5f2d;try{switch(_0xc1578a['eventID']){case _0x50e560[_0x2108af(0x53d)][_0x2108af(0x239)]:{this[_0x2108af(0x455)](_0x50e560[_0x2108af(0x432)](_0xc1578a[_0x2108af(0x376)]));break;}case _0x50e560[_0x2108af(0x53d)][_0x2108af(0xbc)]:{this[_0x2108af(0x3cc)](_0xc1578a[_0x2108af(0x376)]);break;}case _0x50e560[_0x2108af(0x53d)][_0x2108af(0x393)]:{this[_0x2108af(0x1f1)]();break;}case _0x50e560['CollaborationEvent'][_0x2108af(0x118)]:{this['_onRemoteRetry'](_0xc1578a[_0x2108af(0x376)]);break;}case _0x50e560[_0x2108af(0x53d)][_0x2108af(0xfa)]:{this['_onFetchMissResult'](_0xc1578a[_0x2108af(0x376)][_0x2108af(0x137)][_0x2108af(0x1c9)](_0x4d9b45=>_0x50e560['parseProtocolChangeset'](_0x4d9b45)));break;}case _0x50e560[_0x2108af(0x53d)][_0x2108af(0x512)]:this[_0x2108af(0x1f1)]({'isPermissionRej':!0x0});}}catch(_0x3d4461){throw console[_0x2108af(0x13c)]('Error\x20on\x20receiving\x20event',_0x3d4461),_0x3d4461;}})),this['_state'];}[_0x5d8d99(0x24c)](){const _0x37c91e=_0x5d8d99;this[_0x37c91e(0xb2)]=!0x1;}[_0x5d8d99(0x374)](){const _0x170aaa=_0x5d8d99;if(this['_transitionLocked'])throw new Error(_0x170aaa(0x42c));this['_transitionLocked']=!0x0;}[_0x5d8d99(0x310)](_0x4cebf8){const _0x3311c1=_0x5d8d99;this[_0x3311c1(0x374)](),this['_updateState'](this[_0x3311c1(0x242)][_0x3311c1(0x486)](_0x4cebf8)),this['_unlockTransition']();}[_0x5d8d99(0x455)](_0x42d555){const _0x13013a=_0x5d8d99;if(!(_0x42d555[_0x13013a(0x470)]<=this[_0x13013a(0x12f)][_0x13013a(0x273)](this['unitID']))){if(this[_0x13013a(0x3eb)]){this[_0x13013a(0x9b)]['push'](_0x42d555);return;}this[_0x13013a(0x1d2)](_0x42d555);}}[_0x5d8d99(0x166)](){const _0x1ff3fa=_0x5d8d99;this[_0x1ff3fa(0x9b)]['forEach'](_0x2c5849=>this[_0x1ff3fa(0x1d2)](_0x2c5849)),this[_0x1ff3fa(0x9b)]=[];}[_0x5d8d99(0x1d2)](_0x3be1ee){const _0xf2da6e=_0x5d8d99,_0x363f68=this[_0xf2da6e(0x1b1)][_0xf2da6e(0x117)][_0xf2da6e(0x32a)](this[_0xf2da6e(0x1b1)]['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x3be1ee[_0xf2da6e(0x31f)],null)||_0x3be1ee[_0xf2da6e(0x31f)],_0x179e14={..._0x3be1ee,'mutations':_0x363f68};this['_lockTransition'](),this['_updateState'](this['_state'][_0xf2da6e(0x34c)](_0x179e14)),this[_0xf2da6e(0x24c)]();}[_0x5d8d99(0x3cc)](_0x57cbb8){const _0x3d69b5=_0x5d8d99;this[_0x3d69b5(0x374)](),this['_updateState'](this['_state'][_0x3d69b5(0x3f6)](_0x57cbb8)),this[_0x3d69b5(0x24c)]();}['_onRemoteRejected'](_0x2c25ab){const _0x4d51b3=_0x5d8d99;this[_0x4d51b3(0x374)](),this[_0x4d51b3(0x456)](this[_0x4d51b3(0x242)][_0x4d51b3(0x41a)](_0x2c25ab)),this[_0x4d51b3(0x24c)]();}[_0x5d8d99(0x232)](_0x24e65e){const _0x15df12=_0x5d8d99;this[_0x15df12(0x374)](),this[_0x15df12(0x456)](this['_state'][_0x15df12(0x420)](_0x24e65e)),this[_0x15df12(0x24c)]();}[_0x5d8d99(0x26c)](_0xdba08e){const _0x334a07=_0x5d8d99;if(!(this['_state']instanceof _0x309bd1))throw new TypeError(_0x334a07(0x24d));const _0x5498a2=_0xdba08e[_0x334a07(0x1c9)](_0x2baac9=>{const _0xb01e1a=_0x334a07,_0x312e76=this[_0xb01e1a(0x1b1)]['interceptor']['fetchThroughInterceptors'](this[_0xb01e1a(0x1b1)][_0xb01e1a(0x117)][_0xb01e1a(0x209)]()['COMPRESS_MUTATION_APPLY'])(_0x2baac9[_0xb01e1a(0x31f)],null)||_0x2baac9['mutations'];return{..._0x2baac9,'mutations':_0x312e76};});this[_0x334a07(0x374)](),this[_0x334a07(0x456)](this['_state']['onMissedChangesetFetched'](_0x5498a2)),this[_0x334a07(0x24c)]();}[_0x5d8d99(0x417)](){const _0x5b9fc2=_0x5d8d99;this[_0x5b9fc2(0x374)](),this[_0x5b9fc2(0x456)](this[_0x5b9fc2(0x242)][_0x5b9fc2(0x509)]()),this[_0x5b9fc2(0x24c)]();}['_toggleOnline'](_0x50a1bc=!0x1){const _0x2f9fd2=_0x5d8d99;this[_0x2f9fd2(0x374)](),this[_0x2f9fd2(0x456)](this['_state'][_0x2f9fd2(0x14a)]()),this[_0x2f9fd2(0x24c)]();const _0x11c36a=this[_0x2f9fd2(0x242)];_0x50a1bc&&_0x11c36a instanceof _0x42f1ab&&(this['_lockTransition'](),this[_0x2f9fd2(0x456)](_0x11c36a[_0x2f9fd2(0x1f5)]()),this[_0x2f9fd2(0x24c)]());}async['_createInitialState'](){return new Promise(_0x1873f6=>{const _0x31a42c=_0x3a4a;this[_0x31a42c(0xb1)]['sessionStatus$']['pipe'](_0x158390[_0x31a42c(0x375)](0x1))['subscribe'](async _0x3b99cd=>{const _0x2bab8b=_0x31a42c;_0x1873f6(await this[_0x2bab8b(0x3f8)](_0x3b99cd===_0x36f038[_0x2bab8b(0x316)]));});});}[_0x5d8d99(0x3e9)](){const _0x62c465=_0x5d8d99,_0x74d77d=this[_0x62c465(0xe5)];return{'onStateChange':(_0x1b9947,_0x2537eb)=>{const _0xb75106=_0x62c465;if(_0x1b9947!==this[_0xb75106(0x242)])throw new Error(_0xb75106(0x504)+_0x1b9947[_0xb75106(0xc7)]+_0xb75106(0xdf)+_0x2537eb['status']+_0xb75106(0x32d)+this[_0xb75106(0x242)][_0xb75106(0xc7)]);this[_0xb75106(0x456)](_0x2537eb);},'onSendChangeset':_0x389259=>{const _0x333eef=_0x62c465;_0x389259[_0x333eef(0x134)]||(_0x389259[_0x333eef(0x134)]=this[_0x333eef(0x96)],_0x389259['reqId']=++this['_changesetReqId']);const _0x4c86c0={'eventID':_0x50e560[_0x333eef(0x53d)][_0x333eef(0x2bd)],'data':{'unitID':_0x389259['unitID'],'unitType':this['_type'],'changeset':_0x389259,'memberID':this[_0x333eef(0xb1)][_0x333eef(0x3e5)]()}};this[_0x333eef(0xb1)][_0x333eef(0x527)](_0x4c86c0,this[_0x333eef(0xe5)]);},'onMissingChangesets':({from:_0xf3ea69,to:_0x3602cd})=>{const _0xba6a1e=_0x62c465;this[_0xba6a1e(0x414)][_0xba6a1e(0x4c0)](_0xba6a1e(0x2eb),_0xba6a1e(0x2fc)+_0xf3ea69+_0xba6a1e(0x32e)+_0x3602cd);const _0x31ed87={'eventID':_0x50e560['CollaborationEvent'][_0xba6a1e(0x42f)],'data':{'unitID':_0x74d77d,'unitType':this[_0xba6a1e(0x415)],'from':_0xf3ea69,'to':_0x3602cd}};this['session'][_0xba6a1e(0x527)](_0x31ed87,this[_0xba6a1e(0xe5)]);}};}async['_createInitialStateImpl'](_0xd6c6c3){const _0x40fa36=_0x5d8d99;var _0x5646d3,_0x1cef21;const _0x5e4841=await this['_localCacheService']['loadOfflineData'](this[_0x40fa36(0xe5)]),_0x495c49=(_0x5646d3=_0x5e4841==null?void 0x0:_0x5e4841[_0x40fa36(0x31f)])!=null?_0x5646d3:[],_0x5588ae=(_0x1cef21=_0x5e4841==null?void 0x0:_0x5e4841[_0x40fa36(0x4e5)])!=null?_0x1cef21:null,_0x2e9d90=!!(_0x5588ae!=null&&_0x5588ae[_0x40fa36(0x134)])&&!!(_0x5588ae!=null&&_0x5588ae['reqId']);this['_changesetSessionId']=_0x2e9d90?_0x5588ae[_0x40fa36(0x134)]:_0x1a0b07(),this[_0x40fa36(0x331)]=_0x2e9d90?_0x5588ae[_0x40fa36(0x1d8)]:0x0;const _0x2c8462=this[_0x40fa36(0xe5)];try{this['_replayCachedMutations'](_0x5588ae,_0x495c49);}catch(_0x391b4d){this[_0x40fa36(0x414)][_0x40fa36(0x13c)](_0x391b4d);}const _0x164bc2=this[_0x40fa36(0x3e9)]();if(_0xd6c6c3){const _0xfe5047=_0x2a63c6(this[_0x40fa36(0x119)],_0x2c8462,this[_0x40fa36(0x415)],_0x5588ae,_0x495c49,_0x164bc2);return _0xfe5047 instanceof _0x294e6a?_0xfe5047[_0x40fa36(0x44a)]():(_0xfe5047 instanceof _0x118b30||_0xfe5047 instanceof _0x2edb06)&&_0xfe5047[_0x40fa36(0x3f7)](),_0xfe5047;}return this[_0x40fa36(0x119)][_0x40fa36(0x13b)](_0x10b16d,_0x2c8462,this['_type'],_0x5588ae,_0x495c49,_0x164bc2);}['_replayCachedMutations'](_0x434a08,_0x4ef3a6){const _0x4bfb52=_0x5d8d99;var _0x18c591,_0x1feaf6;const _0x30b836=this[_0x4bfb52(0x1b1)][_0x4bfb52(0x117)]['fetchThroughInterceptors'](this[_0x4bfb52(0x1b1)][_0x4bfb52(0x117)][_0x4bfb52(0x209)]()[_0x4bfb52(0x418)]);(_0x18c591=_0x30b836((_0x434a08==null?void 0x0:_0x434a08['mutations'])||[],null))==null||_0x18c591[_0x4bfb52(0x359)](_0x59ee1a=>this[_0x4bfb52(0x3a0)][_0x4bfb52(0x38f)](_0x59ee1a['id'],_0x59ee1a[_0x4bfb52(0x41c)])),(_0x1feaf6=_0x30b836(_0x4ef3a6||[],null))==null||_0x1feaf6[_0x4bfb52(0x359)](_0x52a014=>this[_0x4bfb52(0x3a0)]['executeCommand'](_0x52a014['id'],_0x52a014[_0x4bfb52(0x41c)]));}},_0x4c1435[_0x5d8d99(0x294)]=_0xd05381([_0x420122(0x3,_0x28c502[_0x5d8d99(0x48a)](_0x28c502[_0x5d8d99(0x30d)])),_0x420122(0x4,_0x28c502[_0x5d8d99(0x48a)](_0x4c1435[_0x5d8d99(0x92)])),_0x420122(0x5,_0x28c502[_0x5d8d99(0x48a)](_0x50e560[_0x5d8d99(0x2d8)])),_0x420122(0x6,_0x28c502[_0x5d8d99(0x48a)](_0x28c502[_0x5d8d99(0x469)])),_0x420122(0x7,_0x28c502['Inject'](_0x50e560[_0x5d8d99(0x2cd)])),_0x420122(0x8,_0x28c502[_0x5d8d99(0xad)]),_0x420122(0x9,_0x28c502['ICommandService']),_0x420122(0xa,_0x28a60c[_0x5d8d99(0x1e7)]),_0x420122(0xb,_0x28c502['IPermissionService']),_0x420122(0xc,_0x28c502['Optional'](_0x299919))],_0x4c1435[_0x5d8d99(0x294)]),_0x4c1435[_0x5d8d99(0x529)]=class extends _0x4c1435[_0x5d8d99(0x294)]{constructor(_0x3d2aec,_0x42dda5,_0x1f2356,_0x4d82a6,_0x5565eb,_0x5a82d1,_0x27e0fd,_0x20a4e0,_0x4ba713,_0x334e1b,_0x3fa21e,_0x3b3892,_0xce83b4,_0x58eb73,_0x13be61,_0x36272e,_0x1c2464,_0x3dc5d5){const _0x18b9c7=_0x5d8d99;super(_0x3d2aec,_0x1f2356,_0x42dda5,_0x4d82a6,_0x5565eb,_0x5a82d1,_0x27e0fd,_0x20a4e0,_0x58eb73,_0x13be61,_0x36272e,_0x1c2464,_0x3dc5d5),this[_0x18b9c7(0xe5)]=_0x3d2aec,this[_0x18b9c7(0x36c)]=_0x42dda5,this['_docStateChangeManagerService']=_0x4ba713,this['_docTransformIMECacheService']=_0x334e1b,this['_docTransformStateCacheService']=_0x3fa21e,this[_0x18b9c7(0x20c)]=_0x3b3892,this[_0x18b9c7(0x2a2)]=_0xce83b4;}['_createHandler'](){const _0x41a374=_0x5d8d99,_0x48f9cb=super[_0x41a374(0x3e9)]();return _0x48f9cb[_0x41a374(0x1c8)]=_0x824cef=>this[_0x41a374(0x344)][_0x41a374(0x1a4)](_0x824cef),_0x48f9cb[_0x41a374(0x9a)]=_0x5af268=>this[_0x41a374(0x501)][_0x41a374(0x16d)](_0x5af268),_0x48f9cb[_0x41a374(0x338)]=_0x2e8aeb=>this['_docTransformSelectionsService'][_0x41a374(0x1c3)](_0x2e8aeb),_0x48f9cb['onSyncEditingCollabCursor']=_0x2010ba=>this[_0x41a374(0x2a2)]['syncEditingCollabCursor'](_0x2010ba),_0x48f9cb[_0x41a374(0x1ae)]=_0x11353b=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x11353b),_0x48f9cb[_0x41a374(0x4c5)]=_0x2c6ffc=>this[_0x41a374(0x501)]['transformRemoteChangeset'](_0x2c6ffc),_0x48f9cb;}async[_0x5d8d99(0xfb)](){const _0x57269d=_0x5d8d99,_0x24ffd1=await super[_0x57269d(0xfb)]();return this['_docStateChangeManagerService']['docStateChange$']['pipe'](_0x158390[_0x57269d(0x150)](this['dispose$']))[_0x57269d(0x3d2)](_0x595b62=>{const _0x4d9c51=_0x57269d;if(_0x595b62==null)return;const {unitId:_0x4e5bcc,redoState:_0x1000da,commandId:_0x184af9}=_0x595b62;if(_0x4e5bcc!==this[_0x4d9c51(0xe5)])return;const _0x54d9e5={'id':_0x184af9,'type':_0x28c502[_0x4d9c51(0x161)][_0x4d9c51(0x4d2)],'params':{'unitId':_0x4e5bcc,'actions':_0x1000da[_0x4d9c51(0x155)],'textRanges':null}};this['_onLocalMutation'](_0x54d9e5);}),_0x24ffd1;}},_0x4c1435[_0x5d8d99(0x529)]=_0xd05381([_0x420122(0x3,_0x28c502[_0x5d8d99(0x48a)](_0x28c502[_0x5d8d99(0x30d)])),_0x420122(0x4,_0x28c502['Inject'](_0x4c1435[_0x5d8d99(0x92)])),_0x420122(0x5,_0x28c502[_0x5d8d99(0x48a)](_0x50e560[_0x5d8d99(0x2d8)])),_0x420122(0x6,_0x28c502[_0x5d8d99(0x48a)](_0x28c502[_0x5d8d99(0x469)])),_0x420122(0x7,_0x28c502[_0x5d8d99(0x48a)](_0x50e560[_0x5d8d99(0x2cd)])),_0x420122(0x8,_0x28c502['Inject'](_0x3d318b[_0x5d8d99(0x36e)])),_0x420122(0x9,_0x28c502[_0x5d8d99(0x48a)](_0x4971b6)),_0x420122(0xa,_0x28c502[_0x5d8d99(0x48a)](_0x1664c1)),_0x420122(0xb,_0x28c502[_0x5d8d99(0x48a)](_0x2b7e0e)),_0x420122(0xc,_0x28c502[_0x5d8d99(0x48a)](_0x18a3f7)),_0x420122(0xd,_0x28c502['ILogService']),_0x420122(0xe,_0x28c502[_0x5d8d99(0x123)]),_0x420122(0xf,_0x28a60c[_0x5d8d99(0x1e7)]),_0x420122(0x10,_0x28c502[_0x5d8d99(0xd3)]),_0x420122(0x11,_0x28c502['Optional'](_0x299919))],_0x4c1435['DocCollaborationEntity']),_0x4c1435[_0x5d8d99(0x3d9)]=class extends _0x4c1435['CollaborationEntity']{constructor(_0xce648f,_0x149a05,_0x257202,_0x5d3a8b,_0x546133,_0x5031d7,_0x2b1271,_0x46cb05,_0x2c02fe,_0x4f9b46,_0x36c10f,_0x56177e,_0x37cbce,_0x577813){super(_0xce648f,_0x257202,_0x149a05,_0x5d3a8b,_0x546133,_0x5031d7,_0x2b1271,_0x46cb05,_0x4f9b46,_0x36c10f,_0x56177e,_0x37cbce,_0x577813),this['unitID']=_0xce648f,this['type']=_0x149a05,this['_sheetTransformSelectionsService']=_0x2c02fe;}[_0x5d8d99(0x3e9)](){const _0x3372ec=_0x5d8d99,_0x21473f=super[_0x3372ec(0x3e9)]();return _0x21473f['onTransformSelections']=_0x38fd3c=>this[_0x3372ec(0x2b1)][_0x3372ec(0x1c3)](_0x38fd3c),_0x21473f;}async[_0x5d8d99(0xfb)](){const _0x367935=_0x5d8d99,_0x2a6262=await super[_0x367935(0xfb)]();return this[_0x367935(0x4b5)](this[_0x367935(0x3a0)]['onCommandExecuted']((_0x2281e2,_0x976ccc)=>{const _0x24b715=_0x367935;if(_0x2281e2['type']!==_0x28c502[_0x24b715(0x161)][_0x24b715(0x4d2)]||_0x976ccc!=null&&_0x976ccc[_0x24b715(0x27e)]||_0x976ccc!=null&&_0x976ccc['onlyLocal'])return;const _0x2405dc=_0x2281e2['params'];if((_0x2405dc==null?void 0x0:_0x2405dc[_0x24b715(0x44b)])!==this[_0x24b715(0xe5)])return;const _0x74bff8=_0x2281e2,_0x324f86=this[_0x24b715(0x1b1)][_0x24b715(0x117)][_0x24b715(0x32a)](this[_0x24b715(0x1b1)][_0x24b715(0x117)][_0x24b715(0x209)]()['COMPRESS_MUTATION_SEND'])([_0x74bff8],null)||[_0x74bff8];this[_0x24b715(0x310)](_0x324f86[0x0]);})),_0x2a6262;}},_0x4c1435[_0x5d8d99(0x3d9)]=_0xd05381([_0x420122(0x3,_0x28c502[_0x5d8d99(0x48a)](_0x28c502[_0x5d8d99(0x30d)])),_0x420122(0x4,_0x28c502['Inject'](_0x4c1435[_0x5d8d99(0x92)])),_0x420122(0x5,_0x28c502[_0x5d8d99(0x48a)](_0x50e560[_0x5d8d99(0x2d8)])),_0x420122(0x6,_0x28c502['Inject'](_0x28c502[_0x5d8d99(0x469)])),_0x420122(0x7,_0x28c502[_0x5d8d99(0x48a)](_0x50e560['RevisionService'])),_0x420122(0x8,_0x28c502[_0x5d8d99(0x48a)](_0x474488)),_0x420122(0x9,_0x28c502['ILogService']),_0x420122(0xa,_0x28c502[_0x5d8d99(0x123)]),_0x420122(0xb,_0x28a60c[_0x5d8d99(0x1e7)]),_0x420122(0xc,_0x28c502[_0x5d8d99(0xd3)]),_0x420122(0xd,_0x28c502[_0x5d8d99(0x115)](_0x299919))],_0x4c1435[_0x5d8d99(0x3d9)]);var _0x3e3b70=Object[_0x5d8d99(0x48f)],_0x265e01=Object[_0x5d8d99(0x48b)],_0x3a34d8=(_0x1b38e4,_0x36debe,_0x2203b5,_0x62be2b)=>{const _0x7a6402=_0x5d8d99;for(var _0x2bf3ff=_0x62be2b>0x1?void 0x0:_0x62be2b?_0x265e01(_0x36debe,_0x2203b5):_0x36debe,_0x665bb2=_0x1b38e4[_0x7a6402(0x52c)]-0x1,_0x2eee73;_0x665bb2>=0x0;_0x665bb2--)(_0x2eee73=_0x1b38e4[_0x665bb2])&&(_0x2bf3ff=(_0x62be2b?_0x2eee73(_0x36debe,_0x2203b5,_0x2bf3ff):_0x2eee73(_0x2bf3ff))||_0x2bf3ff);return _0x62be2b&&_0x2bf3ff&&_0x3e3b70(_0x36debe,_0x2203b5,_0x2bf3ff),_0x2bf3ff;},_0x34ce97=(_0x27cb4,_0x5d5301)=>(_0x46cf9b,_0x3e7707)=>_0x5d5301(_0x46cf9b,_0x3e7707,_0x27cb4);_0x4c1435[_0x5d8d99(0x4dc)]=class extends _0x28c502[_0x5d8d99(0x156)]{constructor(_0x39f4ae,_0x4ea685,_0x5cfeb7){const _0x1d169d=_0x5d8d99;super(),_0x569acc(this,_0x1d169d(0x237),new Map()),_0x569acc(this,_0x1d169d(0x4a2),new _0x158390[(_0x1d169d(0x3fc))]()),(this[_0x1d169d(0x119)]=_0x39f4ae,this['_collabSessionService']=_0x4ea685,this[_0x1d169d(0x14c)]=_0x5cfeb7,this['_init']());}[_0x5d8d99(0x50f)](){const _0x4bedae=_0x5d8d99;super['dispose'](),this[_0x4bedae(0x237)][_0x4bedae(0x359)](_0x20a38c=>_0x20a38c['dispose']()),this[_0x4bedae(0x237)][_0x4bedae(0x411)]();}[_0x5d8d99(0x35e)](_0x30c289){const _0x303635=_0x5d8d99;var _0x374c74;return(_0x374c74=this[_0x303635(0x237)][_0x303635(0x3a8)](_0x30c289))!=null?_0x374c74:null;}[_0x5d8d99(0x3ca)](_0x179107){const _0x281220=_0x5d8d99,_0x464f43=this[_0x281220(0x35e)](_0x179107);return _0x464f43?_0x158390['of'](_0x464f43):this['_entityInit$']['pipe'](_0x9d1bc[_0x281220(0x1ea)](_0x3b69fe=>_0x3b69fe[_0x281220(0xe5)]===_0x179107));}[_0x5d8d99(0xfb)](){const _0x489d5d=_0x5d8d99;this[_0x489d5d(0x14c)][_0x489d5d(0x4f4)](_0x28c502[_0x489d5d(0x3c0)][_0x489d5d(0x3de)])[_0x489d5d(0x4fb)](_0x158390[_0x489d5d(0x150)](this[_0x489d5d(0x51f)]),_0x9d1bc[_0x489d5d(0x2ee)](0x10))['subscribe'](async _0x526c05=>{const _0x2ebc7d=_0x489d5d,_0x11479a=_0x526c05[_0x2ebc7d(0x3aa)](),_0x292891=await this[_0x2ebc7d(0x536)](_0x11479a,_0x5b91b5[_0x2ebc7d(0x3de)]);this[_0x2ebc7d(0x237)][_0x2ebc7d(0x4a7)](_0x11479a,_0x292891);}),this['_univerInstanceService'][_0x489d5d(0x4f4)](_0x28c502[_0x489d5d(0x3c0)][_0x489d5d(0x358)])[_0x489d5d(0x4fb)](_0x158390['takeUntil'](this[_0x489d5d(0x51f)]),_0x9d1bc[_0x489d5d(0x2ee)](0x10))['pipe'](_0x9d1bc[_0x489d5d(0x1ea)](_0x3a5ec6=>!_0x3a5ec6['getUnitId']()['startsWith']('__')))[_0x489d5d(0x3d2)](async _0x59faaf=>{const _0x2e9970=_0x489d5d,_0x7e03bf=_0x59faaf[_0x2e9970(0x3aa)](),_0x59a439=await this['_startCollaboration'](_0x7e03bf,_0x5b91b5['UNIVER_DOC']);this[_0x2e9970(0x237)][_0x2e9970(0x4a7)](_0x7e03bf,_0x59a439);}),_0x158390[_0x489d5d(0x3a3)](this[_0x489d5d(0x14c)][_0x489d5d(0x488)](_0x28c502['UniverInstanceType'][_0x489d5d(0x3de)]),this[_0x489d5d(0x14c)][_0x489d5d(0x488)](_0x28c502[_0x489d5d(0x3c0)][_0x489d5d(0x358)]))[_0x489d5d(0x4fb)](_0x158390[_0x489d5d(0x150)](this[_0x489d5d(0x51f)]))['subscribe'](_0x354ca4=>{const _0x3be1b0=_0x489d5d,_0x260919=_0x354ca4[_0x3be1b0(0x3aa)](),_0x1f186c=this[_0x3be1b0(0x237)][_0x3be1b0(0x3a8)](_0x260919);_0x1f186c&&(_0x1f186c[_0x3be1b0(0x50f)](),this[_0x3be1b0(0x237)][_0x3be1b0(0x451)](_0x260919));});}async[_0x5d8d99(0x536)](_0x521388,_0x71772b){const _0x1afa92=_0x5d8d99,_0x312388=await this[_0x1afa92(0x448)][_0x1afa92(0xc0)](_0x521388),_0x431772=this[_0x1afa92(0x119)][_0x1afa92(0x13b)](this[_0x1afa92(0x2a8)](_0x71772b),_0x521388,_0x71772b,_0x312388);return await _0x431772[_0x1afa92(0x102)](),this[_0x1afa92(0x4a2)][_0x1afa92(0xb4)](_0x431772),_0x431772;}[_0x5d8d99(0x2a8)](_0x1599dc){const _0x5d3c68=_0x5d8d99;switch(_0x1599dc){case _0x5b91b5[_0x5d3c68(0x358)]:return _0x4c1435[_0x5d3c68(0x529)];case _0x5b91b5['UNIVER_SHEET']:return _0x4c1435[_0x5d3c68(0x3d9)];default:throw new Error(_0x5d3c68(0x2e6)+_0x1599dc);}}},_0x4c1435[_0x5d8d99(0x4dc)]=_0x3a34d8([_0x34ce97(0x0,_0x28c502[_0x5d8d99(0x48a)](_0x28c502['Injector'])),_0x34ce97(0x1,_0x28c502[_0x5d8d99(0x48a)](_0x4c1435[_0x5d8d99(0x2b2)])),_0x34ce97(0x2,_0x28c502[_0x5d8d99(0x380)])],_0x4c1435[_0x5d8d99(0x4dc)]);const _0x43e55f=[_0x5d8d99(0x1eb),_0x5d8d99(0x307),_0x5d8d99(0x41e),'red300',_0x5d8d99(0x364),_0x5d8d99(0x24f)];class _0x5254e5 extends _0x28c502[_0x5d8d99(0x24b)]{constructor(){const _0x5cdb73=_0x5d8d99;super(...arguments),_0x569acc(this,_0x5cdb73(0x200),new Map()),_0x569acc(this,'_colorIndex',0x0);}[_0x5d8d99(0x334)](_0x1c0856){const _0x3050ed=_0x5d8d99;if(this[_0x3050ed(0x200)]['has'](_0x1c0856))return this[_0x3050ed(0x200)]['get'](_0x1c0856);const _0x27a948=_0x43e55f[this[_0x3050ed(0x3c5)]];return this['_colorIndex']=(this[_0x3050ed(0x3c5)]+0x1)%_0x43e55f['length'],this[_0x3050ed(0x200)][_0x3050ed(0x4a7)](_0x1c0856,_0x27a948),_0x27a948;}}var _0x5d4af6=Object[_0x5d8d99(0x48f)],_0x2dd205=Object[_0x5d8d99(0x48b)],_0x3bd1ac=(_0x236f7a,_0x360bfa,_0x545117,_0x1e916c)=>{const _0x1f162d=_0x5d8d99;for(var _0x42fb82=_0x1e916c>0x1?void 0x0:_0x1e916c?_0x2dd205(_0x360bfa,_0x545117):_0x360bfa,_0x38cbc6=_0x236f7a[_0x1f162d(0x52c)]-0x1,_0x4bc80f;_0x38cbc6>=0x0;_0x38cbc6--)(_0x4bc80f=_0x236f7a[_0x38cbc6])&&(_0x42fb82=(_0x1e916c?_0x4bc80f(_0x360bfa,_0x545117,_0x42fb82):_0x4bc80f(_0x42fb82))||_0x42fb82);return _0x1e916c&&_0x42fb82&&_0x5d4af6(_0x360bfa,_0x545117,_0x42fb82),_0x42fb82;},_0x29326c=(_0x24c6e0,_0x530665)=>(_0x240ab1,_0x21e076)=>_0x530665(_0x240ab1,_0x21e076,_0x24c6e0);const _0x38a223=0x12c,_0x4b14d2=0x64;let _0xa35aaf=class extends _0x28c502[_0x5d8d99(0x156)]{constructor(_0x28c933,_0x5e41fb,_0x524b65,_0xeb31f3,_0x476aae,_0x10de3f,_0x540a78,_0x2556b8,_0x533df2){const _0x1dae0=_0x5d8d99;super(),_0x569acc(this,_0x1dae0(0x446),!0x1),_0x569acc(this,_0x1dae0(0xfb),!0x1),_0x569acc(this,_0x1dae0(0x183),new _0x158390[(_0x1dae0(0x146))](new Map())),_0x569acc(this,_0x1dae0(0xb7),this['_cursorInfo$'][_0x1dae0(0x4ae)]()),_0x569acc(this,_0x1dae0(0x323),new _0x158390[(_0x1dae0(0x146))]([])),_0x569acc(this,_0x1dae0(0x353),this[_0x1dae0(0x323)][_0x1dae0(0x4fb)](_0x158390[_0x1dae0(0x4cd)](_0x38a223))),_0x569acc(this,_0x1dae0(0x4a8),_0x28c502[_0x1dae0(0x454)](_0x48658c=>{const _0x5b4c19=_0x1dae0,_0x467b2c={'eventID':_0x50e560['CollaborationEvent'][_0x5b4c19(0x35b)],'data':{'unitID':this[_0x5b4c19(0xe5)],'memberID':this['_session'][_0x5b4c19(0x3e5)](),'selection':_0x328fbb(_0x48658c)}};this[_0x5b4c19(0x186)][_0x5b4c19(0x527)](_0x467b2c,this[_0x5b4c19(0xe5)]);},_0x4b14d2)),(this[_0x1dae0(0xe5)]=_0x28c933,this[_0x1dae0(0x186)]=_0x5e41fb,this[_0x1dae0(0x119)]=_0x524b65,this[_0x1dae0(0xc2)]=_0xeb31f3,this[_0x1dae0(0x2a5)]=_0x476aae,this[_0x1dae0(0x1cc)]=_0x10de3f,this[_0x1dae0(0x258)]=_0x540a78,this[_0x1dae0(0x14c)]=_0x2556b8,this['_commandService']=_0x533df2);}get['cursorInfo'](){const _0xc99a84=_0x5d8d99;return this[_0xc99a84(0x183)][_0xc99a84(0x514)]();}get[_0x5d8d99(0x526)](){return this['_roomMembers$']['getValue']();}[_0x5d8d99(0x50f)](){const _0xc4f42c=_0x5d8d99;super[_0xc4f42c(0x50f)](),this['_cursorInfo$']['next'](new Map()),this[_0xc4f42c(0x183)][_0xc4f42c(0x3b7)](),this[_0xc4f42c(0x323)][_0xc4f42c(0xb4)]([]),this['_roomMembers$']['complete']();}['init'](){const _0x2a5600=_0x5d8d99;this[_0x2a5600(0xfb)]||(this['_init']=!0x0,this[_0x2a5600(0x186)][_0x2a5600(0xc4)][_0x2a5600(0x4fb)](_0x158390[_0x2a5600(0x150)](this[_0x2a5600(0x51f)]))['subscribe'](_0x405a71=>{const _0x1e211b=_0x2a5600;_0x405a71===_0x36f038['ONLINE']?this[_0x1e211b(0x10c)]():this['_toggleOffline']();}),this['_session'][_0x2a5600(0xf3)][_0x2a5600(0x4fb)](_0x158390[_0x2a5600(0x150)](this[_0x2a5600(0x51f)]))[_0x2a5600(0x3d2)](_0x51e9ef=>{const _0x1092be=_0x2a5600,_0x25506d=_0x51e9ef[_0x1092be(0x44f)];_0x25506d===_0x50e560[_0x1092be(0x53d)]['UPDATE_CURSOR']&&this[_0x1092be(0x18b)](_0x51e9ef),_0x25506d===_0x50e560[_0x1092be(0x53d)][_0x1092be(0x313)]&&this['_onCursorDelete'](_0x51e9ef);}),this[_0x2a5600(0x4b5)](this['_commandService'][_0x2a5600(0x4cc)](_0x52aace=>{const _0x492a38=_0x2a5600,_0x340997=_0x52aace[_0x492a38(0x41c)];_0x340997!=null&&this[_0x492a38(0x446)]&&_0x52aace['id']===_0x576070[_0x492a38(0x135)]['id']&&_0x340997[_0x492a38(0x44b)]===this[_0x492a38(0xe5)]&&_0x340997[_0x492a38(0x31d)]===!0x1&&_0x340997['ranges'][_0x492a38(0x52c)]>0x0&&this[_0x492a38(0x4a8)](_0x340997[_0x492a38(0x30a)]);})),this[_0x2a5600(0x1cc)][_0x2a5600(0x16a)][_0x2a5600(0x4fb)](_0x158390[_0x2a5600(0x150)](this[_0x2a5600(0x51f)]))[_0x2a5600(0x3d2)](_0x4c315d=>{const _0x107794=_0x2a5600;if((_0x4c315d==null?void 0x0:_0x4c315d['unitID'])!==this[_0x107794(0xe5)])return;const _0x310ea9={'eventID':_0x50e560['CollaborationEvent'][_0x107794(0x35b)],'data':_0x4c315d};this[_0x107794(0x18b)](_0x310ea9);}),this[_0x2a5600(0x4b5)](this[_0x2a5600(0x3a0)]['onCommandExecuted'](_0x405e6e=>{const _0x284d8b=_0x2a5600;if(_0x405e6e[_0x284d8b(0x41c)]==null)return;const _0x4efddb=_0x405e6e['params'];if(_0x405e6e['id']!==_0x576070[_0x284d8b(0x4b0)]['id']||_0x4efddb[_0x284d8b(0x44b)]!==this['unitID'])return;const _0x542d74={'id':_0x284d8b(0x2b0),'params':_0x4efddb},_0x57db59=this[_0x284d8b(0x461)];for(const [_0x3707f9,_0x3c9122]of _0x57db59){const _0xc299b={'id':_0x284d8b(0x2b0),'params':{'unitId':this[_0x284d8b(0xe5)],'actions':null,'textRanges':_0x3c9122[_0x284d8b(0x30a)]}},_0x1c5573=this['_transformService'][_0x284d8b(0x139)](_0x542d74,_0xc299b,!0x1);if(_0x50e560['isTransformMutationFailure'](_0x1c5573))throw _0x1c5573[_0x284d8b(0x13c)];_0x57db59[_0x284d8b(0x4a7)](_0x3707f9,{..._0x3c9122,'ranges':_0x1c5573[_0x284d8b(0x4d1)]['params'][_0x284d8b(0x44d)]});}queueMicrotask(()=>{const _0x4bf3a0=_0x284d8b;this['_cursorInfo$'][_0x4bf3a0(0xb4)](_0x57db59);});})));}[_0x5d8d99(0x18b)](_0x57f57d){const _0x4e030f=_0x5d8d99;var _0x59fdb3,_0xc36241;const {memberID:_0x527dfa,selection:_0x293842}=_0x57f57d['data'],_0x18526f=_0x4eed54(_0x293842),_0x29535f=(_0xc36241=(_0x59fdb3=this[_0x4e030f(0x2a5)][_0x4e030f(0x193)](this[_0x4e030f(0xe5)],_0x527dfa))==null?void 0x0:_0x59fdb3[_0x4e030f(0x1fa)])!=null?_0xc36241:'Unknown\x20user',_0x43a3c8={'color':this[_0x4e030f(0xc2)][_0x4e030f(0x334)](_0x527dfa),'name':_0x29535f,'ranges':_0x18526f},_0x18ce5d=this[_0x4e030f(0x461)];_0x18ce5d[_0x4e030f(0x4a7)](_0x527dfa,_0x43a3c8),this['_cursorInfo$'][_0x4e030f(0xb4)](_0x18ce5d);}[_0x5d8d99(0x2a7)](_0x410792){const _0x4d910b=_0x5d8d99,{memberID:_0x1ecc02}=_0x410792[_0x4d910b(0x376)],_0x17e8e5=this[_0x4d910b(0x461)];_0x17e8e5['delete'](_0x1ecc02),this[_0x4d910b(0x183)]['next'](_0x17e8e5);}[_0x5d8d99(0x10c)](){const _0x27ccd0=_0x5d8d99;var _0x6024e4;if(this[_0x27ccd0(0x446)]=!0x0,((_0x6024e4=this[_0x27ccd0(0x14c)][_0x27ccd0(0x39e)]())==null?void 0x0:_0x6024e4[_0x27ccd0(0x3aa)]())!==this[_0x27ccd0(0xe5)])return;const _0x2a7a84=this[_0x27ccd0(0x119)][_0x27ccd0(0x3a8)](_0x576070[_0x27ccd0(0x30b)])['getDocRanges']();Array[_0x27ccd0(0x287)](_0x2a7a84)&&_0x2a7a84[_0x27ccd0(0x52c)]>0x0&&this[_0x27ccd0(0x4a8)](_0x2a7a84);}[_0x5d8d99(0x417)](){const _0x26637a=_0x5d8d99;this[_0x26637a(0x446)]=!0x1;}};_0xa35aaf=_0x3bd1ac([_0x29326c(0x2,_0x28c502[_0x5d8d99(0x48a)](_0x28c502[_0x5d8d99(0x30d)])),_0x29326c(0x3,_0x28c502[_0x5d8d99(0x48a)](_0x5254e5)),_0x29326c(0x4,_0x28c502[_0x5d8d99(0x48a)](_0x4c1435[_0x5d8d99(0x1a6)])),_0x29326c(0x5,_0x28c502[_0x5d8d99(0x48a)](_0x18a3f7)),_0x29326c(0x6,_0x50e560['ITransformService']),_0x29326c(0x7,_0x28c502[_0x5d8d99(0x380)]),_0x29326c(0x8,_0x28c502[_0x5d8d99(0x123)])],_0xa35aaf);var _0x1530ce=Object[_0x5d8d99(0x48f)],_0x3dfd6b=Object[_0x5d8d99(0x48b)],_0x3adf22=(_0x419cfa,_0x25fbe7,_0x3ead49,_0x20e2b6)=>{const _0x34e443=_0x5d8d99;for(var _0x39be48=_0x20e2b6>0x1?void 0x0:_0x20e2b6?_0x3dfd6b(_0x25fbe7,_0x3ead49):_0x25fbe7,_0x37ae2d=_0x419cfa[_0x34e443(0x52c)]-0x1,_0x2aa98e;_0x37ae2d>=0x0;_0x37ae2d--)(_0x2aa98e=_0x419cfa[_0x37ae2d])&&(_0x39be48=(_0x20e2b6?_0x2aa98e(_0x25fbe7,_0x3ead49,_0x39be48):_0x2aa98e(_0x39be48))||_0x39be48);return _0x20e2b6&&_0x39be48&&_0x1530ce(_0x25fbe7,_0x3ead49,_0x39be48),_0x39be48;},_0x407df9=(_0x32ec03,_0x329404)=>(_0x5c7f9a,_0x4d4aad)=>_0x329404(_0x5c7f9a,_0x4d4aad,_0x32ec03);const _0x3f430e=0x12c,_0x545882=0x64,_0x1ecc80=()=>{let _0x38f7b8=[],_0x6defc5=!0x1;return _0x1d527f=>{const _0x324209=_0x3a4a;_0x38f7b8[_0x324209(0x347)](_0x1d527f),_0x6defc5||(_0x6defc5=!0x0,setTimeout(()=>{const _0x4aa308=_0x324209;_0x38f7b8[_0x4aa308(0x359)](_0xf43669=>_0xf43669()),_0x38f7b8=[],_0x6defc5=!0x1;}));};};let _0x58607f=class extends _0x28c502[_0x5d8d99(0x156)]{constructor(_0x6681d7,_0x2848c1,_0xa290f9,_0xb26df5,_0x142cf5,_0x3512dc,_0x4e4062,_0x427679){const _0x408902=_0x5d8d99;super(),_0x569acc(this,_0x408902(0x446),!0x1),_0x569acc(this,_0x408902(0xfb),!0x1),_0x569acc(this,_0x408902(0x183),new _0x158390[(_0x408902(0x146))](new Map())),_0x569acc(this,_0x408902(0xb7),this[_0x408902(0x183)][_0x408902(0x4ae)]()),_0x569acc(this,'_roomMembers$',new _0x158390[(_0x408902(0x146))]([])),_0x569acc(this,_0x408902(0x353),this['_roomMembers$'][_0x408902(0x4fb)](_0x158390[_0x408902(0x4cd)](_0x3f430e))),_0x569acc(this,_0x408902(0x4a8),_0x28c502[_0x408902(0x454)]((_0x528110,_0x1f80ed)=>{const _0x4d1533=_0x408902,_0xb6403={'eventID':_0x50e560[_0x4d1533(0x53d)][_0x4d1533(0x35b)],'data':{'unitID':this['unitID'],'memberID':this[_0x4d1533(0x186)][_0x4d1533(0x3e5)](),'selection':_0x23e6b0[_0x4d1533(0x2fd)](_0x528110,_0x1f80ed[_0x4d1533(0x11a)])}};this[_0x4d1533(0x186)]['send'](_0xb6403,this[_0x4d1533(0xe5)]);},_0x545882)),(this[_0x408902(0xe5)]=_0x6681d7,this[_0x408902(0x186)]=_0x2848c1,this['_injector']=_0xa290f9,this[_0x408902(0xc2)]=_0xb26df5,this[_0x408902(0x2a5)]=_0x142cf5,this[_0x408902(0x14c)]=_0x3512dc,this['_commandService']=_0x4e4062,this['_refRangeService']=_0x427679);}get[_0x5d8d99(0x461)](){return this['_cursorInfo$']['getValue']();}get[_0x5d8d99(0x526)](){const _0x26f0b3=_0x5d8d99;return this[_0x26f0b3(0x323)][_0x26f0b3(0x514)]();}[_0x5d8d99(0x50f)](){const _0xb09313=_0x5d8d99;super['dispose'](),this['_cursorInfo$'][_0xb09313(0xb4)](new Map()),this[_0xb09313(0x183)][_0xb09313(0x3b7)](),this[_0xb09313(0x323)][_0xb09313(0xb4)]([]),this[_0xb09313(0x323)][_0xb09313(0x3b7)]();}[_0x5d8d99(0x102)](){const _0x40e858=_0x5d8d99;this['_init']||(this['_init']=!0x0,this[_0x40e858(0x186)][_0x40e858(0xc4)]['pipe'](_0x158390['takeUntil'](this['dispose$']))[_0x40e858(0x3d2)](_0xb59bcc=>{const _0x362673=_0x40e858;_0xb59bcc===_0x36f038[_0x362673(0x316)]?this['_toggleOnline']():this[_0x362673(0x417)]();}),this[_0x40e858(0x186)][_0x40e858(0xf3)][_0x40e858(0x4fb)](_0x158390['takeUntil'](this[_0x40e858(0x51f)]))['subscribe'](_0xf2d5f1=>{const _0x13e637=_0x40e858,_0x1ebb23=_0xf2d5f1[_0x13e637(0x44f)];_0x1ebb23===_0x50e560[_0x13e637(0x53d)][_0x13e637(0x35b)]&&this['_onCursorUpdate'](_0xf2d5f1),_0x1ebb23===_0x50e560[_0x13e637(0x53d)][_0x13e637(0x313)]&&this['_onCursorDelete'](_0xf2d5f1);}),this[_0x40e858(0x3b9)](),this[_0x40e858(0x4b5)](this[_0x40e858(0x3a0)]['onCommandExecuted'](_0x1328d8=>{const _0x36de4b=_0x40e858;if(this[_0x36de4b(0x446)]&&_0x1328d8['id']===_0x256063['SetSelectionsOperation']['id']&&_0x1328d8['params'][_0x36de4b(0x44b)]===this[_0x36de4b(0xe5)]){const _0x2f208f=_0x1328d8[_0x36de4b(0x41c)];this[_0x36de4b(0x4a8)](_0x2f208f[_0x36de4b(0x427)],_0x2f208f['selections'][0x0]);}})));}[_0x5d8d99(0x18b)](_0x4c4e64){const _0x1e430b=_0x5d8d99;var _0x159652,_0x5d2032;const {memberID:_0x2dffa6,selection:_0x2f021f}=_0x4c4e64[_0x1e430b(0x376)],{sheetName:_0x2bf181,range:_0xaa1b29}=_0x23e6b0[_0x1e430b(0x1e2)](_0x2f021f),_0x46d1da={'name':(_0x5d2032=(_0x159652=this[_0x1e430b(0x2a5)]['getMember'](this['unitID'],_0x2dffa6))==null?void 0x0:_0x159652[_0x1e430b(0x1fa)])!=null?_0x5d2032:_0x1e430b(0x23f),'range':this[_0x1e430b(0x2cc)](_0x2bf181,_0xaa1b29),'sheetID':_0x2bf181,'color':this[_0x1e430b(0xc2)]['assignAColorForMemberID'](_0x2dffa6),'selection':_0x2f021f},_0xae91ed=this[_0x1e430b(0x461)];_0xae91ed[_0x1e430b(0x4a7)](_0x2dffa6,_0x46d1da),this[_0x1e430b(0x183)][_0x1e430b(0xb4)](_0xae91ed);}[_0x5d8d99(0x2a7)](_0x2a7ac8){const _0x108b02=_0x5d8d99,{memberID:_0x4a7649}=_0x2a7ac8[_0x108b02(0x376)],_0x2155ef=this['cursorInfo'];_0x2155ef[_0x108b02(0x451)](_0x4a7649),this['_cursorInfo$'][_0x108b02(0xb4)](_0x2155ef);}[_0x5d8d99(0x2cc)](_0x5b9827,_0x24c164){const _0x415448=_0x5d8d99;var _0x16d5ef,_0x25b428;const _0x3eb59e=(_0x25b428=(_0x16d5ef=this[_0x415448(0x14c)][_0x415448(0x206)](this['unitID']))==null?void 0x0:_0x16d5ef['getSheetBySheetId'](_0x5b9827))==null?void 0x0:_0x25b428['getMergeData']();return(_0x3eb59e==null?void 0x0:_0x3eb59e[_0x415448(0x8e)](_0x22da91=>_0x28c502[_0x415448(0x180)]['contains'](_0x22da91,_0x24c164)))||_0x24c164;}[_0x5d8d99(0x3b9)](){const _0x11bf99=_0x5d8d99,_0xc9c78a=new _0x28c502[(_0x11bf99(0x2f0))](),_0x3dd81b=_0x1ecc80(),_0x1fb701=()=>{const _0xe284c2=_0x11bf99;_0xc9c78a[_0xe284c2(0x50f)]();const _0x2beb89=(_0x334faa,_0x1227d9,_0x7ebcac,_0x4d1c1f)=>{const _0x1566ef=_0xe284c2;let _0x215344=[];switch(_0x334faa['id']){case _0x256063['EffectRefRangId'][_0x1566ef(0x339)]:{_0x215344=_0x256063[_0x1566ef(0x336)](_0x334faa,_0x4d1c1f);break;}case _0x256063['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x215344=_0x256063['handleDeleteRangeMoveUp'](_0x334faa,_0x4d1c1f);break;}case _0x256063[_0x1566ef(0x4e8)][_0x1566ef(0x159)]:{_0x215344=_0x256063[_0x1566ef(0xa0)](_0x334faa,_0x4d1c1f);break;}case _0x256063[_0x1566ef(0x4e8)][_0x1566ef(0x4ba)]:{_0x215344=_0x256063['handleInsertRangeMoveDown'](_0x334faa,_0x4d1c1f);break;}case _0x256063[_0x1566ef(0x4e8)][_0x1566ef(0x462)]:{_0x215344=_0x256063['handleInsertRangeMoveRight'](_0x334faa,_0x4d1c1f);break;}case _0x256063[_0x1566ef(0x4e8)][_0x1566ef(0x360)]:{_0x215344=_0x256063[_0x1566ef(0x4f1)](_0x334faa,_0x4d1c1f);break;}case _0x256063[_0x1566ef(0x4e8)][_0x1566ef(0x26d)]:{_0x215344=_0x256063['handleMoveRange'](_0x334faa,_0x4d1c1f);break;}case _0x256063[_0x1566ef(0x4e8)][_0x1566ef(0x516)]:{_0x215344=_0x256063[_0x1566ef(0x248)](_0x334faa,_0x4d1c1f);break;}case _0x256063[_0x1566ef(0x4e8)][_0x1566ef(0x394)]:{_0x215344=_0x256063['handleIRemoveRow'](_0x334faa,_0x4d1c1f);break;}}const _0x4af317=_0x256063['runRefRangeMutations'](_0x215344,_0x4d1c1f),_0x364011=this[_0x1566ef(0x461)]['get'](_0x1227d9);if(_0x364011&&_0x4af317){const _0x2104e7={..._0x364011,'range':_0x4af317};this[_0x1566ef(0x461)][_0x1566ef(0x4a7)](_0x1227d9,_0x2104e7),_0x3dd81b(()=>{const _0x169edb=_0x1566ef,_0x15f561=this[_0x169edb(0x409)][_0x169edb(0xc6)](_0x4af317,_0x35d5f4=>(_0x15f561[_0x169edb(0x50f)](),_0x2beb89(_0x35d5f4,_0x1227d9,_0x7ebcac,_0x4af317)));_0xc9c78a[_0x169edb(0x41f)](_0x15f561);});}return{'redos':[],'undos':[]};};this[_0xe284c2(0x461)][_0xe284c2(0x359)]((_0x38ef8e,_0x3f8788)=>{const _0x401805=_0xe284c2,{range:_0x193baf,sheetID:_0xb6f8d5}=_0x38ef8e,_0x313625=this['_refRangeService'][_0x401805(0xc6)](_0x193baf,_0x4e2541=>(_0x313625[_0x401805(0x50f)](),_0x2beb89(_0x4e2541,_0x3f8788,_0xb6f8d5,_0x193baf)));_0xc9c78a['add'](_0x313625);});};this['disposeWithMe'](_0x28c502[_0x11bf99(0x4fe)](this[_0x11bf99(0x183)]['subscribe'](()=>{_0x1fb701();})));}[_0x5d8d99(0x10c)](){const _0x3b0024=_0x5d8d99;var _0x255cde,_0x19387d;if(this['_online']=!0x0,((_0x255cde=this[_0x3b0024(0x14c)]['getFocusedUnit']())==null?void 0x0:_0x255cde['getUnitId']())!==this[_0x3b0024(0xe5)])return;const _0x348a49=(_0x19387d=this['_injector'][_0x3b0024(0x3a8)](_0x256063[_0x3b0024(0x2e2)])['getCurrentSelections']())==null?void 0x0:_0x19387d[0x0],_0x2caab8=this[_0x3b0024(0x14c)]['getCurrentUnitForType'](_0x28c502[_0x3b0024(0x3c0)][_0x3b0024(0x3de)])[_0x3b0024(0x337)]();_0x348a49&&_0x2caab8&&this[_0x3b0024(0x4a8)](_0x2caab8['getSheetId'](),_0x348a49);}[_0x5d8d99(0x417)](){this['_online']=!0x1;}};_0x58607f=_0x3adf22([_0x407df9(0x2,_0x28c502['Inject'](_0x28c502[_0x5d8d99(0x30d)])),_0x407df9(0x3,_0x28c502[_0x5d8d99(0x48a)](_0x5254e5)),_0x407df9(0x4,_0x28c502[_0x5d8d99(0x48a)](_0x4c1435[_0x5d8d99(0x1a6)])),_0x407df9(0x5,_0x28c502[_0x5d8d99(0x380)]),_0x407df9(0x6,_0x28c502[_0x5d8d99(0x123)]),_0x407df9(0x7,_0x28c502[_0x5d8d99(0x48a)](_0x256063[_0x5d8d99(0x4eb)]))],_0x58607f);var _0x51040b=Object['defineProperty'],_0x1e24a8=Object[_0x5d8d99(0x48b)],_0x3c4a08=(_0x5409b4,_0x2c84f2,_0x1ec4e2,_0x5d3979)=>{const _0x557a0d=_0x5d8d99;for(var _0x55c87d=_0x5d3979>0x1?void 0x0:_0x5d3979?_0x1e24a8(_0x2c84f2,_0x1ec4e2):_0x2c84f2,_0x25c38b=_0x5409b4[_0x557a0d(0x52c)]-0x1,_0x2e4225;_0x25c38b>=0x0;_0x25c38b--)(_0x2e4225=_0x5409b4[_0x25c38b])&&(_0x55c87d=(_0x5d3979?_0x2e4225(_0x2c84f2,_0x1ec4e2,_0x55c87d):_0x2e4225(_0x55c87d))||_0x55c87d);return _0x5d3979&&_0x55c87d&&_0x51040b(_0x2c84f2,_0x1ec4e2,_0x55c87d),_0x55c87d;},_0x24143c=(_0xfa9c6,_0xcb57ff)=>(_0x44f399,_0x19763a)=>_0xcb57ff(_0x44f399,_0x19763a,_0xfa9c6);let _0x4dbe53=class extends _0x28c502[_0x5d8d99(0x156)]{constructor(_0x80af1b,_0x3b4d31,_0x423bb2){const _0x2b6d2e=_0x5d8d99;super(),_0x569acc(this,_0x2b6d2e(0x237),new Map()),_0x569acc(this,_0x2b6d2e(0x4a2),new _0x158390[(_0x2b6d2e(0x3fc))]()),(this['_univerInstanceService']=_0x80af1b,this[_0x2b6d2e(0x119)]=_0x3b4d31,this[_0x2b6d2e(0x448)]=_0x423bb2,this['_init']());}['dispose'](){const _0x408511=_0x5d8d99;super[_0x408511(0x50f)](),this[_0x408511(0x4a2)][_0x408511(0x3b7)](),this[_0x408511(0x237)]['forEach'](_0x2cce99=>_0x2cce99[_0x408511(0x50f)]());}[_0x5d8d99(0x3e4)](_0x414872){const _0x362068=_0x5d8d99;return this['_entities'][_0x362068(0xb0)](_0x414872)?this[_0x362068(0x237)]['get'](_0x414872)[_0x362068(0xb7)]:this[_0x362068(0x4a2)][_0x362068(0x4fb)](_0x158390[_0x362068(0x1ea)](_0x2afb9e=>_0x2afb9e[_0x362068(0xe5)]===_0x414872),_0x158390[_0x362068(0x4b8)](_0x512b99=>_0x512b99[_0x362068(0xb7)]));}[_0x5d8d99(0xfb)](){const _0x2d5110=_0x5d8d99;this[_0x2d5110(0x14c)][_0x2d5110(0x4f4)](_0x28c502[_0x2d5110(0x3c0)][_0x2d5110(0x3de)])['pipe'](_0x158390[_0x2d5110(0x150)](this[_0x2d5110(0x51f)]))['subscribe'](async _0x4fe89c=>{const _0x2e37c4=_0x2d5110,_0x3b7ce8=_0x4fe89c['getUnitId'](),_0x244bf5=await this['_startSheetCollabCursor'](_0x3b7ce8);this[_0x2e37c4(0x4a2)][_0x2e37c4(0xb4)](_0x244bf5),this[_0x2e37c4(0x237)]['set'](_0x3b7ce8,_0x244bf5);}),this['_univerInstanceService'][_0x2d5110(0x4f4)](_0x28c502[_0x2d5110(0x3c0)][_0x2d5110(0x358)])[_0x2d5110(0x4fb)](_0x158390[_0x2d5110(0x150)](this[_0x2d5110(0x51f)]))['pipe'](_0x158390[_0x2d5110(0x1ea)](_0x2293a4=>!_0x2293a4['getUnitId']()['startsWith']('__')))['subscribe'](async _0x5cbe4a=>{const _0x4e1a3f=_0x2d5110,_0x3fe703=_0x5cbe4a[_0x4e1a3f(0x3aa)](),_0xf44cf6=await this[_0x4e1a3f(0x2d2)](_0x3fe703);this[_0x4e1a3f(0x4a2)][_0x4e1a3f(0xb4)](_0xf44cf6),this['_entities'][_0x4e1a3f(0x4a7)](_0x3fe703,_0xf44cf6);}),_0x158390[_0x2d5110(0x3a3)](this[_0x2d5110(0x14c)]['getTypeOfUnitDisposed$'](_0x28c502[_0x2d5110(0x3c0)][_0x2d5110(0x358)]),this[_0x2d5110(0x14c)][_0x2d5110(0x488)](_0x28c502[_0x2d5110(0x3c0)]['UNIVER_SHEET']))['pipe'](_0x158390[_0x2d5110(0x150)](this[_0x2d5110(0x51f)]))[_0x2d5110(0x3d2)](_0x18bdfb=>{const _0x3a76c7=_0x2d5110,_0x1d38d1=_0x18bdfb[_0x3a76c7(0x3aa)](),_0x2108c7=this[_0x3a76c7(0x237)][_0x3a76c7(0x3a8)](_0x1d38d1);_0x2108c7&&(_0x2108c7[_0x3a76c7(0x50f)](),this[_0x3a76c7(0x237)][_0x3a76c7(0x451)](_0x1d38d1));});}async[_0x5d8d99(0xdd)](_0x557db8){const _0x18fc27=_0x5d8d99,_0xd20bae=await this[_0x18fc27(0x448)]['requireSession'](_0x557db8),_0x31052b=this[_0x18fc27(0x119)]['createInstance'](_0x58607f,_0x557db8,_0xd20bae);return _0x31052b[_0x18fc27(0x102)](),_0x31052b;}async[_0x5d8d99(0x2d2)](_0x4e18ab){const _0xc53f06=_0x5d8d99,_0x237a8c=await this['_collabSessionService'][_0xc53f06(0xc0)](_0x4e18ab),_0x262262=this['_injector']['createInstance'](_0xa35aaf,_0x4e18ab,_0x237a8c);return _0x262262[_0xc53f06(0x102)](),_0x262262;}};_0x4dbe53=_0x3c4a08([_0x24143c(0x0,_0x28c502['IUniverInstanceService']),_0x24143c(0x1,_0x28c502['Inject'](_0x28c502[_0x5d8d99(0x30d)])),_0x24143c(0x2,_0x28c502[_0x5d8d99(0x48a)](_0x4c1435['CollaborationSessionService']))],_0x4dbe53);const _0x2476df=0x14,_0x59f7ff=0xc8,_0x3be7cf=0x4,_0x38e1d8=0x5;function _0xe6fdd0(_0x11f515,_0x4de708){const _0x1ef26d=_0x5d8d99;let {radius:_0x294f41,width:_0x3b7ac3,height:_0x173833}=_0x4de708;_0x294f41=_0x294f41!=null?_0x294f41:0x0,_0x3b7ac3=_0x3b7ac3!=null?_0x3b7ac3:0x1e,_0x173833=_0x173833!=null?_0x173833:0x1e;let _0x5dee2d=0x0,_0x32ecd9=0x0,_0x5b352a=0x0;_0x5dee2d=_0x32ecd9=_0x5b352a=Math[_0x1ef26d(0x365)](_0x294f41,_0x3b7ac3/0x2,_0x173833/0x2),_0x11f515['beginPath'](),_0x11f515[_0x1ef26d(0x471)](_0x5dee2d,0x0),_0x11f515[_0x1ef26d(0x1bb)](_0x3b7ac3-_0x32ecd9,0x0),_0x11f515[_0x1ef26d(0x468)](_0x3b7ac3-_0x32ecd9,_0x32ecd9,_0x32ecd9,Math['PI']*0x3/0x2,0x0,!0x1),_0x11f515[_0x1ef26d(0x1bb)](_0x3b7ac3,_0x173833-_0x5b352a),_0x11f515[_0x1ef26d(0x468)](_0x3b7ac3-_0x5b352a,_0x173833-_0x5b352a,_0x5b352a,0x0,Math['PI']/0x2,!0x1),_0x11f515[_0x1ef26d(0x1bb)](0x0,_0x173833),_0x11f515['lineTo'](0x0,_0x5dee2d),_0x11f515['arc'](_0x5dee2d,_0x5dee2d,_0x5dee2d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x11f515[_0x1ef26d(0x4be)](),_0x4de708[_0x1ef26d(0xf0)]&&(_0x11f515[_0x1ef26d(0x48c)](),_0x11f515['fillStyle']=_0x4de708[_0x1ef26d(0xf0)],_0x4de708['fillRule']==='evenodd'?_0x11f515[_0x1ef26d(0xf0)](_0x1ef26d(0xbb)):_0x11f515['fill'](),_0x11f515[_0x1ef26d(0x507)]());}class _0x10b498 extends _0x5474e6[_0x5d8d99(0x1e8)]{constructor(_0x59154e,_0x45ef9a){const _0x270027=_0x5d8d99;super(_0x59154e,_0x45ef9a),_0x569acc(this,_0x270027(0x128)),_0x569acc(this,_0x270027(0x21a)),(this[_0x270027(0x128)]=_0x45ef9a==null?void 0x0:_0x45ef9a['color'],this['text']=_0x45ef9a==null?void 0x0:_0x45ef9a[_0x270027(0x21a)]);}static['drawWith'](_0x2dc3ed,_0x4d1e48){const _0x1b5d9b=_0x5d8d99,{text:_0x63b04b,color:_0x1bb96c}=_0x4d1e48;_0x2dc3ed['save'](),_0x2dc3ed[_0x1b5d9b(0x356)]=_0x1b5d9b(0x3e6);const _0x6631cb=_0x2dc3ed[_0x1b5d9b(0x475)](_0x63b04b)[_0x1b5d9b(0x269)],_0x275165=Math[_0x1b5d9b(0x365)](_0x6631cb+0x2*_0x3be7cf,_0x59f7ff);_0xe6fdd0(_0x2dc3ed,{'height':_0x2476df,'radius':0x4,'width':_0x275165,'fill':_0x1bb96c,'evented':!0x1}),_0x2dc3ed[_0x1b5d9b(0x3d6)]='#FFF';const _0x2a4cc9=_0x3be7cf,_0x3b437a=_0x2476df-_0x38e1d8,_0x156a0e=_0x59f7ff-0x2*_0x3be7cf;if(_0x6631cb>_0x156a0e){let _0x7d475='',_0x4a1de8=0x0;for(const _0x1ed562 of _0x63b04b){const _0x5c814f=_0x2dc3ed[_0x1b5d9b(0x475)](_0x1ed562)['width'];if(_0x4a1de8+_0x5c814f<=_0x156a0e-_0x2dc3ed['measureText'](_0x1b5d9b(0x46b))[_0x1b5d9b(0x269)])_0x7d475+=_0x1ed562,_0x4a1de8+=_0x5c814f;else{_0x7d475+=_0x1b5d9b(0x46b);break;}}_0x2dc3ed[_0x1b5d9b(0xcc)](_0x7d475,_0x2a4cc9,_0x3b437a);}else _0x2dc3ed[_0x1b5d9b(0xcc)](_0x63b04b,_0x2a4cc9,_0x3b437a);_0x2dc3ed[_0x1b5d9b(0x507)]();}['_draw'](_0x35c55e){const _0x1ef654=_0x5d8d99;_0x10b498[_0x1ef654(0x278)](_0x35c55e,this);}}const _0x545c21='collab-text-anchor-',_0x3bc89d=_0x5d8d99(0x38c),_0x136e9d=_0x5d8d99(0x12e),_0x2e6b5d=0x6,_0x409271=1.5,_0x2c17d5=0x4,_0x3e20aa=1.5,_0x252a38=_0x5d8d99(0xf5);class _0x1eb4d7{constructor(_0x1a1541,_0xb6d367,_0x7544f8,_0x412c83){const _0x406259=_0x5d8d99;_0x569acc(this,_0x406259(0x2c0),[]),_0x569acc(this,_0x406259(0x492),null),_0x569acc(this,_0x406259(0x3ce),null),_0x569acc(this,'_anchorDot',null),_0x569acc(this,_0x406259(0x261),null),_0x569acc(this,_0x406259(0x439),null),(this['_cursor']=_0x1a1541,this['_scene']=_0xb6d367,this['_docSkeleton']=_0x7544f8,this['_document']=_0x412c83,this['_render']());}set[_0x5d8d99(0x379)](_0x41b529){const _0x387e59=_0x5d8d99;_0x41b529?(this['_anchorDot']&&this[_0x387e59(0x335)]['hide'](),this['_textBubble']&&this[_0x387e59(0x3ce)][_0x387e59(0x3ef)]()):(this[_0x387e59(0x335)]&&this[_0x387e59(0x335)][_0x387e59(0x3ef)](),this[_0x387e59(0x3ce)]&&this[_0x387e59(0x3ce)][_0x387e59(0x132)]());}[_0x5d8d99(0x50f)](){const _0x3a7466=_0x5d8d99;for(const _0x35595a of this[_0x3a7466(0x2c0)])_0x35595a['dispose']();this[_0x3a7466(0x3ce)]&&this[_0x3a7466(0x3ce)][_0x3a7466(0x50f)](),this['_anchorDot']&&this['_anchorDot'][_0x3a7466(0x50f)](),this[_0x3a7466(0x492)]&&this[_0x3a7466(0x492)]['dispose'](),this[_0x3a7466(0x439)]&&this[_0x3a7466(0x439)]();}[_0x5d8d99(0x25c)](){const _0x2258ca=_0x5d8d99;var _0x16afba;const {_docSkeleton:_0x561764,_document:_0x44bb55}=this,{color:_0x375824,name:_0x3392a8,ranges:_0x4322bf}=this[_0x2258ca(0x27f)],_0x2b17a6=_0x44bb55[_0x2258ca(0x95)](),{docsLeft:_0x52d8b7,docsTop:_0x5558e2}=_0x2b17a6,_0x12c35d=new _0x3d318b[(_0x2258ca(0x196))](_0x2b17a6,_0x561764);for(const {startOffset:_0x1c940a,endOffset:_0x4fe4ed,rangeType:_0x3a9aaa,segmentId:_0x57a8ac,segmentPage:_0x2a93c1,collapsed:_0x2a97ad,isActive:_0x5bb01c}of _0x4322bf){const _0x20d870=_0x561764[_0x2258ca(0x1e1)](_0x1c940a,!0x0,_0x57a8ac,_0x2a93c1);let _0x21f9cf=_0x561764[_0x2258ca(0x1e1)](_0x4fe4ed,!0x0,_0x57a8ac,_0x2a93c1);if(_0x21f9cf==null&&(_0x21f9cf=_0x561764[_0x2258ca(0x1e1)](_0x4fe4ed-0x1,!0x1,_0x57a8ac,_0x2a93c1)),_0x5bb01c){const {contentBoxPointGroup:_0x471928}=_0x12c35d[_0x2258ca(0x430)](_0x21f9cf,_0x21f9cf);if(_0x471928['length']===0x0)continue;this[_0x2258ca(0x3fe)](_0x375824,_0x471928,_0x52d8b7,_0x5558e2,_0x3392a8),this['_eventUnsubscribe']=this[_0x2258ca(0x429)]();}if(!_0x2a97ad&&_0x20d870&&_0x21f9cf){if(_0x3a9aaa===_0x28c502['DOC_RANGE_TYPE'][_0x2258ca(0xc8)]){const _0x3d8ec4=new _0x3d318b['NodePositionConvertToRectRange'](_0x2b17a6,_0x561764),{pointGroup:_0x1bb3ce}=(_0x16afba=_0x3d8ec4['getRangePointData'](_0x20d870,_0x21f9cf))!=null?_0x16afba:{};if(_0x1bb3ce==null||_0x1bb3ce[_0x2258ca(0x52c)]===0x0)continue;this['_drawRectRange'](_0x375824,_0x1bb3ce,_0x52d8b7,_0x5558e2);}else{const {borderBoxPointGroup:_0x3e2b70}=_0x12c35d['getRangePointData'](_0x20d870,_0x21f9cf);if(_0x3e2b70[_0x2258ca(0x52c)]===0x0)continue;this[_0x2258ca(0x121)](_0x375824,_0x3e2b70,_0x52d8b7,_0x5558e2);}}}}[_0x5d8d99(0x3fe)](_0x402d0a,_0x32f161,_0x441a73,_0x2ca3f9,_0x4a9ddd){const _0x4f9b3b=_0x5d8d99,_0x535d86=this[_0x4f9b3b(0x1ef)](_0x32f161),{left:_0x5c9437,top:_0x24d9fd,height:_0x147235}=_0x535d86,_0x1188fb=this[_0x4f9b3b(0x1be)](),_0x1d406d=_0x3e20aa/_0x1188fb,_0x4603de=new _0x5474e6[(_0x4f9b3b(0x389))](_0x545c21+_0x28c502[_0x4f9b3b(0x284)][_0x4f9b3b(0x275)](_0x2e6b5d),{'left':_0x5c9437+_0x441a73-_0x1d406d,'top':_0x24d9fd+_0x2ca3f9,'height':_0x147235,'width':_0x409271,'fill':_0x402d0a||_0x5474e6[_0x4f9b3b(0xd6)](_0x28c502['COLORS']['black'],0x0),'strokeWidth':_0x1d406d,'stroke':_0x252a38,'evented':!0x0});this[_0x4f9b3b(0x492)]=_0x4603de,this[_0x4f9b3b(0xd9)][_0x4f9b3b(0xb3)](_0x4603de,_0x3d318b[_0x4f9b3b(0x3c8)]);const _0x32bac5=new _0x5474e6[(_0x4f9b3b(0x389))](_0x545c21+_0x28c502[_0x4f9b3b(0x284)][_0x4f9b3b(0x275)](_0x2e6b5d),{'left':_0x5c9437+_0x441a73-_0x1d406d,'top':_0x24d9fd+_0x2ca3f9-_0x2c17d5/0x2,'height':_0x2c17d5,'width':_0x2c17d5,'fill':_0x402d0a||_0x5474e6[_0x4f9b3b(0xd6)](_0x28c502[_0x4f9b3b(0x31c)][_0x4f9b3b(0x2dd)],0x0),'strokeWidth':0x0,'stroke':_0x402d0a||_0x5474e6[_0x4f9b3b(0xd6)](_0x28c502[_0x4f9b3b(0x31c)][_0x4f9b3b(0x2dd)],0x0),'evented':!0x1});this[_0x4f9b3b(0x335)]=_0x32bac5,this[_0x4f9b3b(0xd9)][_0x4f9b3b(0xb3)](_0x32bac5,_0x3d318b[_0x4f9b3b(0x3c8)]);const _0x2639a4=new _0x10b498(_0x545c21+_0x28c502[_0x4f9b3b(0x284)]['generateRandomId'](_0x2e6b5d),{'left':_0x5c9437+_0x441a73-_0x1d406d,'top':_0x24d9fd+_0x2ca3f9-_0x2476df,'text':_0x4a9ddd,'color':_0x402d0a});this['_textBubble']=_0x2639a4,this[_0x4f9b3b(0xd9)]['addObject'](_0x2639a4,_0x3d318b['TEXT_RANGE_LAYER_INDEX']),this[_0x4f9b3b(0x379)]=!0x1;}[_0x5d8d99(0x429)](){const _0x34df24=_0x5d8d99,_0x1358e9=this[_0x34df24(0x492)][_0x34df24(0x188)]['subscribeEvent'](()=>{const _0x420f02=_0x34df24;this[_0x420f02(0x379)]=!0x0;}),_0xbfc795=this[_0x34df24(0x492)]['onPointerLeave$']['subscribeEvent'](()=>{this['_hideTimer']&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{_0x1358e9['unsubscribe'](),_0xbfc795['unsubscribe']();};}[_0x5d8d99(0x121)](_0xc67b54,_0x1dbe95,_0x2738e3,_0x3b32a7){const _0x38f6fe=_0x5d8d99,_0x2a4086=new _0x28c502['ColorKit'](_0xc67b54)['setAlpha'](0.2)[_0x38f6fe(0x402)](),_0x246d93=new _0x5474e6[(_0x38f6fe(0x37d))](_0x3bc89d+_0x28c502['Tools'][_0x38f6fe(0x275)](_0x2e6b5d),{'pointsGroup':_0x1dbe95,'fill':_0x2a4086||_0x5474e6[_0x38f6fe(0xd6)](_0x28c502['COLORS'][_0x38f6fe(0x2dd)],0.2),'left':_0x2738e3,'top':_0x3b32a7,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x38f6fe(0x2c0)][_0x38f6fe(0x347)](_0x246d93),this[_0x38f6fe(0xd9)]['addObject'](_0x246d93,_0x3d318b[_0x38f6fe(0x3c8)]);}[_0x5d8d99(0x50d)](_0x13d015,_0xe3ccb5,_0x5ac221,_0x6681e2){const _0x3a2ccf=_0x5d8d99,_0x37fc38=new _0x28c502['ColorKit'](_0x13d015)[_0x3a2ccf(0x43b)](0.2)[_0x3a2ccf(0x402)](),_0x2997e4=new _0x5474e6[(_0x3a2ccf(0x37d))](_0x136e9d+_0x28c502[_0x3a2ccf(0x284)][_0x3a2ccf(0x275)](_0x2e6b5d),{'pointsGroup':_0xe3ccb5,'fill':_0x37fc38||_0x5474e6[_0x3a2ccf(0xd6)](_0x28c502[_0x3a2ccf(0x31c)][_0x3a2ccf(0x2dd)],0.2),'left':_0x5ac221,'top':_0x6681e2,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3a2ccf(0x2c0)]['push'](_0x2997e4),this[_0x3a2ccf(0xd9)][_0x3a2ccf(0xb3)](_0x2997e4,_0x3d318b['TEXT_RANGE_LAYER_INDEX']);}[_0x5d8d99(0x1ef)](_0x2e5fcf){const _0x127ba5=_0x2e5fcf[0x0],_0x47ae38=_0x127ba5[0x0],_0x37e2f9=_0x127ba5[0x2],{x:_0x24072f,y:_0x43ff60}=_0x47ae38,{x:_0x1c70b5,y:_0x1f5c78}=_0x37e2f9;return{'left':_0x24072f,'top':_0x43ff60,'width':_0x1c70b5-_0x24072f,'height':_0x1f5c78-_0x43ff60};}[_0x5d8d99(0x1be)](){const _0x25476f=_0x5d8d99,{scaleX:_0xbd1616,scaleY:_0x310d98}=this[_0x25476f(0xd9)]['getAncestorScale']();return Math[_0x25476f(0xa2)](_0xbd1616,_0x310d98);}}var _0x1dd227=Object[_0x5d8d99(0x48f)],_0x542775=Object[_0x5d8d99(0x48b)],_0x3bc133=(_0x187d5f,_0x357a73,_0x378c01,_0x5c508d)=>{const _0x1d9b37=_0x5d8d99;for(var _0xb2959e=_0x5c508d>0x1?void 0x0:_0x5c508d?_0x542775(_0x357a73,_0x378c01):_0x357a73,_0x37d718=_0x187d5f[_0x1d9b37(0x52c)]-0x1,_0x24c4e2;_0x37d718>=0x0;_0x37d718--)(_0x24c4e2=_0x187d5f[_0x37d718])&&(_0xb2959e=(_0x5c508d?_0x24c4e2(_0x357a73,_0x378c01,_0xb2959e):_0x24c4e2(_0xb2959e))||_0xb2959e);return _0x5c508d&&_0xb2959e&&_0x1dd227(_0x357a73,_0x378c01,_0xb2959e),_0xb2959e;},_0x279561=(_0x5af69a,_0x4dff90)=>(_0x3305e6,_0x1e2625)=>_0x4dff90(_0x3305e6,_0x1e2625,_0x5af69a);let _0x5cdf2e=class extends _0x28c502[_0x5d8d99(0x156)]{constructor(_0x335f24,_0x154a48,_0x27f6c2,_0x1af087,_0x32f8a0){const _0x4b6764=_0x5d8d99;super(),_0x569acc(this,_0x4b6764(0x52a),[]),_0x569acc(this,_0x4b6764(0x21b),[]),(this[_0x4b6764(0x1f0)]=_0x335f24,this[_0x4b6764(0x535)]=_0x154a48,this[_0x4b6764(0x8d)]=_0x27f6c2,this[_0x4b6764(0x3a0)]=_0x1af087,this[_0x4b6764(0xeb)]=_0x32f8a0,this[_0x4b6764(0xfb)]());}[_0x5d8d99(0xfb)](){const _0x2990d9=_0x5d8d99,_0x579891=this['_context'][_0x2990d9(0x44b)],_0x3f16b6=this['_docSkeletonManagerService'];this[_0x2990d9(0x4b5)](_0x158390['combineLatest']([this[_0x2990d9(0x8d)]['getCollabCursors$'](_0x579891),this[_0x2990d9(0xeb)][_0x2990d9(0xd8)]])['pipe'](_0x9d1bc[_0x2990d9(0x1c9)](([_0x48517b,_0x5835e3])=>({'skeleton':_0x3f16b6[_0x2990d9(0x4e1)](),'cursors':[..._0x48517b[_0x2990d9(0x537)]()][_0x2990d9(0x3f2)](_0x376fca=>({..._0x376fca,'color':_0x5835e3[_0x376fca['color']]}))})))[_0x2990d9(0x3d2)](_0xd36d84=>{const _0x56370c=_0x2990d9;if(this[_0x56370c(0x3b5)](),_0xd36d84){const {skeleton:_0x29c1a4,cursors:_0x59817b}=_0xd36d84;this['_updateCollabCursors'](_0x29c1a4,_0x59817b);}})),this[_0x2990d9(0x3b3)](),this[_0x2990d9(0x11b)]();}[_0x5d8d99(0x53b)](_0x29a05b,_0x4658f2){const _0x41f809=_0x5d8d99,{scene:_0xf23fe,mainComponent:_0xc89983}=this['_context'],_0x1c5286=_0x4658f2[_0x41f809(0x1c9)](_0x31efef=>new _0x1eb4d7(_0x31efef,_0xf23fe,_0x29a05b,_0xc89983));this[_0x41f809(0x52a)]=_0x1c5286,this[_0x41f809(0x21b)]=_0x4658f2;}[_0x5d8d99(0x1a1)](){const _0x5275ba=_0x5d8d99;this[_0x5275ba(0x3b5)]();const {scene:_0x23ab92,mainComponent:_0x47ab31}=this['_context'],_0x58f364=this[_0x5275ba(0x535)]['getSkeleton'](),_0x5adf07=this[_0x5275ba(0x21b)][_0x5275ba(0x1c9)](_0x3f41fb=>new _0x1eb4d7(_0x3f41fb,_0x23ab92,_0x58f364,_0x47ab31));this[_0x5275ba(0x52a)]=_0x5adf07;}[_0x5d8d99(0x3b5)](){const _0x581a34=_0x5d8d99;this[_0x581a34(0x52a)]['forEach'](_0x4cf4ba=>_0x4cf4ba[_0x581a34(0x50f)]()),this[_0x581a34(0x52a)]=[];}[_0x5d8d99(0x11b)](){const _0x47790b=_0x5d8d99,_0x1f1192=[_0x3d318b['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this[_0x47790b(0x3a0)][_0x47790b(0x4cc)](_0x5c0984=>{const _0x442ef6=_0x47790b;_0x1f1192['includes'](_0x5c0984['id'])&&_0x5c0984[_0x442ef6(0x41c)][_0x442ef6(0x44b)]===this['_context'][_0x442ef6(0x44b)]&&this[_0x442ef6(0x1a1)]();}));}[_0x5d8d99(0x3b3)](){const _0x44c1ac=_0x5d8d99;this[_0x44c1ac(0x4b5)](_0x28c502[_0x44c1ac(0x1dd)](this['_context']['engine'][_0x44c1ac(0x100)])[_0x44c1ac(0x4fb)](_0x9d1bc[_0x44c1ac(0x1ea)](_0x1132c8=>_0x1132c8[_0x44c1ac(0x36c)]===_0x5474e6[_0x44c1ac(0xbf)]['resize']),_0x9d1bc['throttleTime'](0x10))[_0x44c1ac(0x3d2)](()=>{this['_refreshCollabCursors']();}));}};_0x5cdf2e=_0x3bc133([_0x279561(0x1,_0x28c502[_0x5d8d99(0x48a)](_0x576070[_0x5d8d99(0x531)])),_0x279561(0x2,_0x28c502[_0x5d8d99(0x48a)](_0x4dbe53)),_0x279561(0x3,_0x28c502[_0x5d8d99(0x123)]),_0x279561(0x4,_0x28c502[_0x5d8d99(0x48a)](_0x28c502[_0x5d8d99(0x43d)]))],_0x5cdf2e);const _0x1cdddb=0x1,_0x599714=1.5;class _0x1ef405 extends _0x5474e6['Shape']{constructor(_0x2e9e6a,_0x5c47ed){const _0x9a9205=_0x5d8d99;super(_0x2e9e6a,_0x5c47ed),_0x569acc(this,_0x9a9205(0x3a9)),_0x569acc(this,'_hovered',!0x1),_0x569acc(this,_0x9a9205(0x285)),_0x569acc(this,_0x9a9205(0x202),''),_0x569acc(this,_0x9a9205(0x291),_0x9a9205(0x274)),_0x569acc(this,'_backgroundColor'),(_0x5c47ed&&this[_0x9a9205(0x523)](_0x5c47ed),this[_0x9a9205(0x188)][_0x9a9205(0xac)](()=>this[_0x9a9205(0x523)]({'hovered':!0x0})),this[_0x9a9205(0x18f)][_0x9a9205(0xac)](()=>this[_0x9a9205(0x523)]({'hovered':!0x1})));}['setShapeProps'](_0x24a091){const _0x49f12d=_0x5d8d99;var _0x5116cb,_0x1d4973,_0x4b637d,_0x1c3033,_0x1ac49e,_0x388900;this['_color']=(_0x5116cb=_0x24a091['color'])!=null?_0x5116cb:this[_0x49f12d(0x3a9)],this[_0x49f12d(0x4b1)]=(_0x1d4973=_0x24a091['hovered'])!=null?_0x1d4973:this[_0x49f12d(0x4b1)],this[_0x49f12d(0x285)]=(_0x4b637d=_0x24a091[_0x49f12d(0x11a)])!=null?_0x4b637d:this[_0x49f12d(0x285)],this['_name']=(_0x1c3033=_0x24a091['name'])!=null?_0x1c3033:this[_0x49f12d(0x202)],this[_0x49f12d(0x291)]=(_0x1ac49e=_0x24a091['labelPosition'])!=null?_0x1ac49e:this[_0x49f12d(0x291)],this['_backgroundColor']=(_0x388900=_0x24a091[_0x49f12d(0x3ff)])!=null?_0x388900:this['_backgroundColor'],this['transformByState']({'width':_0x24a091[_0x49f12d(0x269)],'height':_0x24a091['height']});}[_0x5d8d99(0x38d)](_0x4cd001){const _0x46d05b=_0x5d8d99,{row:_0x4182af,column:_0x36ba1b}=_0x4cd001;if(_0x4182af>=this[_0x46d05b(0x285)][_0x46d05b(0xa7)]&&_0x4182af<=this[_0x46d05b(0x285)]['endRow']&&_0x36ba1b>=this[_0x46d05b(0x285)]['startColumn']&&_0x36ba1b<=this[_0x46d05b(0x285)][_0x46d05b(0x4a0)]){this[_0x46d05b(0x523)]({'hovered':!0x0});return;}this[_0x46d05b(0x523)]({'hovered':!0x1});}['triggerDblclick'](_0x27a1f3){return!0x1;}[_0x5d8d99(0x16f)](_0x32d6da){const _0x16521b=_0x5d8d99;_0x5474e6['Rect'][_0x16521b(0x278)](_0x32d6da,{'width':this[_0x16521b(0x269)],'height':this[_0x16521b(0x305)],'strokeWidth':_0x599714,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x16521b(0x3b0)]}),this[_0x16521b(0x4b1)]&&(_0x32d6da[_0x16521b(0x48c)](),_0x32d6da[_0x16521b(0x1de)](0x1,0x0,0x0,0x1,this[_0x16521b(0x269)],this[_0x16521b(0x291)]===_0x16521b(0x22c)?0x0:-_0x2476df),_0x10b498[_0x16521b(0x278)](_0x32d6da,{'text':this[_0x16521b(0x202)],'color':this[_0x16521b(0x3a9)]}),_0x32d6da['restore']());}}var _0x266305=Object[_0x5d8d99(0x48f)],_0x2912cf=Object['getOwnPropertyDescriptor'],_0x2ee006=(_0x2afc23,_0x5ae3fb,_0x1cd87d,_0x4cb539)=>{const _0x2f12ae=_0x5d8d99;for(var _0x1d924c=_0x4cb539>0x1?void 0x0:_0x4cb539?_0x2912cf(_0x5ae3fb,_0x1cd87d):_0x5ae3fb,_0x46c0fc=_0x2afc23[_0x2f12ae(0x52c)]-0x1,_0x59b5d4;_0x46c0fc>=0x0;_0x46c0fc--)(_0x59b5d4=_0x2afc23[_0x46c0fc])&&(_0x1d924c=(_0x4cb539?_0x59b5d4(_0x5ae3fb,_0x1cd87d,_0x1d924c):_0x59b5d4(_0x1d924c))||_0x1d924c);return _0x4cb539&&_0x1d924c&&_0x266305(_0x5ae3fb,_0x1cd87d,_0x1d924c),_0x1d924c;},_0x133cd6=(_0x2439bb,_0x4ab7d9)=>(_0x27b7b2,_0x36e1e1)=>_0x4ab7d9(_0x27b7b2,_0x36e1e1,_0x2439bb);const _0x2aead2=0x1389;let _0x5d55f6=class extends _0x28c502['RxDisposable']{constructor(_0x266408,_0x504d08,_0x49346a,_0x3a6440){const _0x1e6da6=_0x5d8d99;super(),_0x569acc(this,'_cursors',new Set()),_0x569acc(this,_0x1e6da6(0x4bd),null),(this[_0x1e6da6(0x1f0)]=_0x266408,this[_0x1e6da6(0x281)]=_0x504d08,this[_0x1e6da6(0x8d)]=_0x49346a,this[_0x1e6da6(0xeb)]=_0x3a6440,this['_init']());}['_init'](){const _0xe44f=_0x5d8d99;this['_sheetSkeletonManagerService'][_0xe44f(0x34d)][_0xe44f(0x4fb)](_0x9d1bc[_0xe44f(0x150)](this[_0xe44f(0x51f)]),_0x9d1bc['switchMap'](_0x44dd6b=>{const _0xef5bc8=_0xe44f;if(_0x44dd6b){const _0x366893=_0x44dd6b[_0xef5bc8(0x12d)];return _0x158390[_0xef5bc8(0x1dc)](this[_0xef5bc8(0x8d)][_0xef5bc8(0x3e4)](this[_0xef5bc8(0x1f0)][_0xef5bc8(0x44b)]),this[_0xef5bc8(0xeb)][_0xef5bc8(0xd8)])[_0xef5bc8(0x4fb)](_0x9d1bc[_0xef5bc8(0x1c9)](([_0x47b5c8,_0x3c5a73])=>{const _0x4c18a0=_0xef5bc8,_0x38cdc3=new Map();return _0x47b5c8[_0x4c18a0(0x359)]((_0x2afca6,_0x221613)=>{const _0x1dec41=_0x4c18a0;if(_0x2afca6[_0x1dec41(0x330)]===_0x366893){const _0x10bd92={..._0x2afca6};_0x10bd92['color']=_0x3c5a73[_0x2afca6[_0x1dec41(0x128)]],_0x38cdc3[_0x1dec41(0x4a7)](_0x221613,_0x10bd92);}}),{'skeleton':_0x44dd6b,'cursors':_0x38cdc3};}));}return _0x158390['of']({'skeleton':null,'cursors':new Map()});}))[_0xe44f(0x3d2)](({skeleton:_0x10aae9,cursors:_0x1fdcdb})=>{const _0x108f8e=_0xe44f;this[_0x108f8e(0x3b5)](),_0x10aae9&&this[_0x108f8e(0x53b)](_0x10aae9,_0x1fdcdb);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0xe44f(0x3d2)](_0x3d500a=>{const _0x1bece1=_0xe44f;if(_0x3d500a==null)return;const {skeleton:_0x579935}=_0x3d500a,{scene:_0x5aa01d}=this[_0x1bece1(0x1f0)];_0x5aa01d[_0x1bece1(0x172)][_0x1bece1(0xac)](_0x28c502[_0x1bece1(0x454)](_0x1e0615=>{const _0x17ae8f=_0x1bece1;var _0x42a00a,_0x317bc9;const {offsetX:_0x476cbc,offsetY:_0x2a1712}=_0x1e0615,{x:_0x42702f,y:_0x2496e3}=_0x5aa01d[_0x17ae8f(0x464)](_0x5474e6[_0x17ae8f(0x1b3)]['FromArray']([_0x476cbc,_0x2a1712])),{scaleX:_0x507ff2,scaleY:_0x2e5d90}=_0x5aa01d['getAncestorScale'](),_0x260867=_0x5aa01d[_0x17ae8f(0x1ee)](_0x5d4d05[_0x17ae8f(0xb8)][_0x17ae8f(0x17f)]),_0x39f83e=_0x5aa01d[_0x17ae8f(0x4e0)](_0x5474e6[_0x17ae8f(0x1b3)][_0x17ae8f(0x27d)]([_0x42702f,_0x2496e3]),_0x260867),_0x416a36=_0x579935[_0x17ae8f(0x2d4)](_0x476cbc,_0x2a1712,_0x507ff2,_0x2e5d90,_0x39f83e);((_0x42a00a=this['_lastPointer'])==null?void 0x0:_0x42a00a[_0x17ae8f(0x20f)])===_0x416a36['column']&&((_0x317bc9=this[_0x17ae8f(0x4bd)])==null?void 0x0:_0x317bc9['row'])===_0x416a36['row']||this[_0x17ae8f(0x21b)][_0x17ae8f(0x359)](_0x2df38d=>{const _0xaccd48=_0x17ae8f;_0x2df38d[_0xaccd48(0x38d)](_0x416a36);});},0x64));});}[_0x5d8d99(0x53b)](_0x884b5f,_0x3df6db){const _0x3ee297=_0x5d8d99;var _0x59ef29;const _0x1bad68=(_0x59ef29=this[_0x3ee297(0x281)][_0x3ee297(0x25e)]())==null?void 0x0:_0x59ef29[_0x3ee297(0x2b6)];if(!_0x1bad68)return;const _0x423c60=this[_0x3ee297(0x408)]();if(!_0x423c60)return;this[_0x3ee297(0x21b)][_0x3ee297(0x359)](_0x1103cb=>{const _0x3846c4=_0x3ee297;_0x1103cb[_0x3846c4(0x40d)]();});const {scene:_0x1e2e2f}=_0x423c60,_0x51d128=_0x2c5ffb(Array[_0x3ee297(0x4cb)](_0x3df6db[_0x3ee297(0x537)]()))[_0x3ee297(0x1c9)](_0xb9d4c6=>{const _0x5f33ff=_0x3ee297,{color:_0x53f699,range:_0x3138c0,name:_0xfbe034,selection:_0x492024,sheetID:_0x2a615b}=_0xb9d4c6,{startColumn:_0x15a3b0,startRow:_0x36041d,endColumn:_0x434d53,endRow:_0x3fdf59}=_0x3138c0,_0x380b89=_0x5d4d05['getCoordByCell'](_0x36041d,_0x15a3b0,_0x1e2e2f,_0x1bad68),_0x534794=_0x5d4d05[_0x5f33ff(0x453)](_0x3fdf59,_0x434d53,_0x1e2e2f,_0x1bad68),{columnHeaderHeightAndMarginTop:_0xf715f4}=_0x1bad68,{startX:_0x6870fd,startY:_0x27922a}=_0x380b89,{endX:_0x116717,endY:_0x9734ee}=_0x534794,_0x3f0815=_0x116717-_0x6870fd,_0x1fae02=_0x9734ee-_0x27922a,_0x40fa7c={'labelPosition':_0x27922a-_0xf715f4>=_0x2476df?_0x5f33ff(0x274):'bottom','sheetID':_0x2a615b,'range':_0x3138c0,'color':_0x53f699,'name':_0xfbe034,'selection':_0x492024,'left':_0x6870fd,'top':_0x27922a,'width':_0x3f0815,'height':_0x1fae02,'evented':!0x1,'zIndex':_0x2aead2};return new _0x1ef405(_0xfbe034,_0x40fa7c);});_0x1e2e2f[_0x3ee297(0xa4)](_0x51d128,_0x1cdddb),this['_cursors']=new Set(_0x51d128);}[_0x5d8d99(0x3b5)](){const _0x17b176=_0x5d8d99;var _0x4dce90;(_0x4dce90=this[_0x17b176(0x21b)])==null||_0x4dce90['forEach'](_0x2d8ae1=>_0x2d8ae1[_0x17b176(0x50f)]());}[_0x5d8d99(0x408)](){const _0x28900a=_0x5d8d99;return _0x5d4d05[_0x28900a(0x404)](this[_0x28900a(0x1f0)]['unit'],this[_0x28900a(0x1f0)]);}};_0x5d55f6=_0x2ee006([_0x133cd6(0x1,_0x28c502[_0x5d8d99(0x48a)](_0x5d4d05[_0x5d8d99(0x23c)])),_0x133cd6(0x2,_0x28c502[_0x5d8d99(0x48a)](_0x4dbe53)),_0x133cd6(0x3,_0x28c502[_0x5d8d99(0x48a)](_0x28c502[_0x5d8d99(0x43d)]))],_0x5d55f6);function _0x2c5ffb(_0x5b1405){const _0x269487=_0x5d8d99,_0x1c6bbd=new Map();return _0x5b1405[_0x269487(0x359)](_0x2ef51e=>{const _0x29e31b=_0x269487;if(_0x1c6bbd[_0x29e31b(0xb0)](_0x2ef51e[_0x29e31b(0x45e)])){const _0x312ada=_0x1c6bbd[_0x29e31b(0x3a8)](_0x2ef51e[_0x29e31b(0x45e)]);_0x312ada[_0x29e31b(0x1fa)]+=',\x20'+_0x2ef51e['name'];}else _0x1c6bbd[_0x29e31b(0x4a7)](_0x2ef51e[_0x29e31b(0x45e)],_0x2ef51e);}),Array[_0x269487(0x4cb)](_0x1c6bbd[_0x269487(0x537)]());}var _0x5d33cd=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x4f174d(_0x3bfc0b){const _0x220505=_0x5d8d99;return _0x3bfc0b&&_0x3bfc0b[_0x220505(0x17c)]&&Object[_0x220505(0x243)][_0x220505(0xcd)][_0x220505(0xcf)](_0x3bfc0b,_0x220505(0x32f))?_0x3bfc0b[_0x220505(0x32f)]:_0x3bfc0b;}var _0x53d813={'exports':{}},_0x20a592={},_0x2a21ac=_0x25eca3,_0x28a53e=Symbol['for'](_0x5d8d99(0x10d)),_0x230974=Symbol[_0x5d8d99(0x1f4)](_0x5d8d99(0x148)),_0x39f7ae=Object[_0x5d8d99(0x243)][_0x5d8d99(0xcd)],_0x203996=_0x2a21ac[_0x5d8d99(0x482)][_0x5d8d99(0x39c)],_0x3409dd={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x55aaeb(_0x422cb0,_0x47bf43,_0x1db5df){const _0x26c3fd=_0x5d8d99;var _0x30cd5c,_0x2af5cd={},_0x2b064c=null,_0x19c5f8=null;_0x1db5df!==void 0x0&&(_0x2b064c=''+_0x1db5df),_0x47bf43[_0x26c3fd(0x3f9)]!==void 0x0&&(_0x2b064c=''+_0x47bf43[_0x26c3fd(0x3f9)]),_0x47bf43[_0x26c3fd(0x125)]!==void 0x0&&(_0x19c5f8=_0x47bf43[_0x26c3fd(0x125)]);for(_0x30cd5c in _0x47bf43)_0x39f7ae[_0x26c3fd(0xcf)](_0x47bf43,_0x30cd5c)&&!_0x3409dd[_0x26c3fd(0xcd)](_0x30cd5c)&&(_0x2af5cd[_0x30cd5c]=_0x47bf43[_0x30cd5c]);if(_0x422cb0&&_0x422cb0[_0x26c3fd(0x423)]){for(_0x30cd5c in(_0x47bf43=_0x422cb0[_0x26c3fd(0x423)],_0x47bf43))_0x2af5cd[_0x30cd5c]===void 0x0&&(_0x2af5cd[_0x30cd5c]=_0x47bf43[_0x30cd5c]);}return{'$$typeof':_0x28a53e,'type':_0x422cb0,'key':_0x2b064c,'ref':_0x19c5f8,'props':_0x2af5cd,'_owner':_0x203996[_0x26c3fd(0x309)]};}_0x20a592[_0x5d8d99(0xa1)]=_0x230974,_0x20a592[_0x5d8d99(0x1ad)]=_0x55aaeb,_0x20a592[_0x5d8d99(0x378)]=_0x55aaeb,_0x53d813[_0x5d8d99(0x3fd)]=_0x20a592;var _0x2f6fbb=_0x53d813[_0x5d8d99(0x3fd)],_0x3cc7d7=function(){const _0x434241=_0x5d8d99;return _0x3cc7d7=Object[_0x434241(0x29a)]||function(_0x56d187){const _0xdb418c=_0x434241;for(var _0x50c6bc,_0x141453=0x1,_0x325434=arguments[_0xdb418c(0x52c)];_0x141453<_0x325434;_0x141453++){_0x50c6bc=arguments[_0x141453];for(var _0x25047d in _0x50c6bc)Object[_0xdb418c(0x243)][_0xdb418c(0xcd)][_0xdb418c(0xcf)](_0x50c6bc,_0x25047d)&&(_0x56d187[_0x25047d]=_0x50c6bc[_0x25047d]);}return _0x56d187;},_0x3cc7d7['apply'](this,arguments);},_0x187cc4=function(_0x53e8ca,_0x87d1dd){const _0x40f2c6=_0x5d8d99;var _0x1af314={};for(var _0x2a5c4e in _0x53e8ca)Object[_0x40f2c6(0x243)][_0x40f2c6(0xcd)][_0x40f2c6(0xcf)](_0x53e8ca,_0x2a5c4e)&&_0x87d1dd['indexOf'](_0x2a5c4e)<0x0&&(_0x1af314[_0x2a5c4e]=_0x53e8ca[_0x2a5c4e]);if(_0x53e8ca!=null&&typeof Object[_0x40f2c6(0x34b)]==_0x40f2c6(0x138)){for(var _0x41fc79=0x0,_0x2a5c4e=Object[_0x40f2c6(0x34b)](_0x53e8ca);_0x41fc79<_0x2a5c4e[_0x40f2c6(0x52c)];_0x41fc79++)_0x87d1dd[_0x40f2c6(0x31a)](_0x2a5c4e[_0x41fc79])<0x0&&Object[_0x40f2c6(0x243)][_0x40f2c6(0x383)][_0x40f2c6(0xcf)](_0x53e8ca,_0x2a5c4e[_0x41fc79])&&(_0x1af314[_0x2a5c4e[_0x41fc79]]=_0x53e8ca[_0x2a5c4e[_0x41fc79]]);}return _0x1af314;},_0x388444=_0x25eca3[_0x5d8d99(0xf9)](function(_0x357f43,_0x149bda){const _0x5ef452=_0x5d8d99;var _0xa44a6e=_0x357f43[_0x5ef452(0x256)],_0x38156e=_0x357f43['id'],_0x57c8a5=_0x357f43[_0x5ef452(0x306)],_0x210eb4=_0x357f43[_0x5ef452(0x352)],_0x592f79=_0x187cc4(_0x357f43,[_0x5ef452(0x256),'id',_0x5ef452(0x306),_0x5ef452(0x352)]),_0x161659=_0x5ef452(0x28a)[_0x5ef452(0x1b5)](_0x38156e,'\x20')[_0x5ef452(0x1b5)](_0x57c8a5||'')['trim'](),_0x734748=_0x25eca3[_0x5ef452(0x391)]('_'[_0x5ef452(0x1b5)](_0x471f12()));return _0x419a88(_0xa44a6e,''['concat'](_0x38156e),{'defIds':_0xa44a6e[_0x5ef452(0x16b)],'idSuffix':_0x734748[_0x5ef452(0x309)]},_0x3cc7d7({'ref':_0x149bda,'className':_0x161659},_0x592f79),_0x210eb4);});function _0x419a88(_0x31d459,_0x289669,_0x3b4ab8,_0x28e711,_0x2252cf){const _0x1ee821=_0x5d8d99;return _0x25eca3[_0x1ee821(0x388)](_0x31d459[_0x1ee821(0x12b)],_0x3cc7d7(_0x3cc7d7({'key':_0x289669},_0x1550f6(_0x31d459,_0x3b4ab8,_0x2252cf)),_0x28e711),(_0x44d4bc(_0x31d459,_0x3b4ab8)[_0x1ee821(0x321)]||[])[_0x1ee821(0x1c9)](function(_0x318142,_0x157c77){const _0x4ea2b2=_0x1ee821;return _0x419a88(_0x318142,''['concat'](_0x289669,'-')['concat'](_0x31d459[_0x4ea2b2(0x12b)],'-')[_0x4ea2b2(0x1b5)](_0x157c77),_0x3b4ab8,void 0x0,_0x2252cf);}));}function _0x1550f6(_0x25bed7,_0x12a0aa,_0x159f50){const _0x51dc11=_0x5d8d99;var _0x3c68d4=_0x3cc7d7({},_0x25bed7[_0x51dc11(0x510)]);_0x159f50!=null&&_0x159f50[_0x51dc11(0x42a)]&&_0x3c68d4['fill']===_0x51dc11(0x42a)&&(_0x3c68d4[_0x51dc11(0xf0)]=_0x159f50[_0x51dc11(0x42a)]);var _0x29ca3b=_0x12a0aa[_0x51dc11(0x16b)];return!_0x29ca3b||_0x29ca3b[_0x51dc11(0x52c)]===0x0||(_0x25bed7[_0x51dc11(0x12b)]===_0x51dc11(0x4fa)&&_0x3c68d4[_0x51dc11(0x147)]&&(_0x3c68d4['xlink:href']=_0x3c68d4['xlink:href']+_0x12a0aa['idSuffix']),Object[_0x51dc11(0xd7)](_0x3c68d4)[_0x51dc11(0x359)](function(_0xbc0506){const _0x2b091a=_0x51dc11;var _0x5ef945=_0xbc0506[0x0],_0x43c039=_0xbc0506[0x1];typeof _0x43c039==_0x2b091a(0x452)&&(_0x3c68d4[_0x5ef945]=_0x43c039[_0x2b091a(0x29d)](/url\(#(.*)\)/,_0x2b091a(0x2de)[_0x2b091a(0x1b5)](_0x12a0aa['idSuffix'],')')));})),_0x3c68d4;}function _0x44d4bc(_0x2c67b6,_0x45f121){const _0x46631e=_0x5d8d99;var _0x3734b1,_0x27ba4b=_0x45f121['defIds'];return!_0x27ba4b||_0x27ba4b[_0x46631e(0x52c)]===0x0?_0x2c67b6:_0x2c67b6[_0x46631e(0x12b)]==='defs'&&(!((_0x3734b1=_0x2c67b6['children'])===null||_0x3734b1===void 0x0)&&_0x3734b1[_0x46631e(0x52c)])?_0x3cc7d7(_0x3cc7d7({},_0x2c67b6),{'children':_0x2c67b6[_0x46631e(0x321)][_0x46631e(0x1c9)](function(_0xfb1c57){const _0x195bb5=_0x46631e;return typeof _0xfb1c57['attrs']['id']==_0x195bb5(0x452)&&_0x27ba4b&&_0x27ba4b[_0x195bb5(0x31a)](_0xfb1c57[_0x195bb5(0x510)]['id'])>-0x1?_0x3cc7d7(_0x3cc7d7({},_0xfb1c57),{'attrs':_0x3cc7d7(_0x3cc7d7({},_0xfb1c57['attrs']),{'id':_0xfb1c57[_0x195bb5(0x510)]['id']+_0x45f121[_0x195bb5(0x406)]})}):_0xfb1c57;})}):_0x2c67b6;}function _0x471f12(){const _0x520f9d=_0x5d8d99;return Math[_0x520f9d(0x198)]()[_0x520f9d(0xbe)](0x24)[_0x520f9d(0x32c)](0x2,0x8);}_0x388444[_0x5d8d99(0x405)]='UniverIcon';var _0x5ca583={'tag':'svg','attrs':{'fill':_0x5d8d99(0x460),'viewBox':_0x5d8d99(0x19c),'width':_0x5d8d99(0x234),'height':_0x5d8d99(0x234)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x5d8d99(0x44c),'attrs':{'stroke':_0x5d8d99(0x493),'d':_0x5d8d99(0x187),'strokeLinecap':_0x5d8d99(0x30e),'strokeLinejoin':_0x5d8d99(0x30e),'strokeWidth':1.2}}]},{'tag':_0x5d8d99(0x317),'attrs':{},'children':[{'tag':_0x5d8d99(0x15b),'attrs':{'id':_0x5d8d99(0x191)},'children':[{'tag':_0x5d8d99(0x44c),'attrs':{'fill':_0x5d8d99(0x1f3),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x5d8d99(0x191)]},_0x5cb0e0=_0x25eca3[_0x5d8d99(0xf9)](function(_0x46a88c,_0x1668ad){const _0x17e2e1=_0x5d8d99;return _0x25eca3[_0x17e2e1(0x388)](_0x388444,Object[_0x17e2e1(0x29a)]({},_0x46a88c,{'id':_0x17e2e1(0x208),'ref':_0x1668ad,'icon':_0x5ca583}));});_0x5cb0e0['displayName']=_0x5d8d99(0x168);var _0x2755ec={'tag':_0x5d8d99(0x528),'attrs':{'fill':'none','viewBox':_0x5d8d99(0x4ec),'width':_0x5d8d99(0x234),'height':_0x5d8d99(0x234)},'children':[{'tag':'g','attrs':{'clipPath':_0x5d8d99(0x29e)},'children':[{'tag':'path','attrs':{'stroke':_0x5d8d99(0x493),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':'round','strokeLinejoin':_0x5d8d99(0x30e),'strokeWidth':1.2}}]},{'tag':_0x5d8d99(0x317),'attrs':{},'children':[{'tag':_0x5d8d99(0x15b),'attrs':{'id':_0x5d8d99(0x4a3)},'children':[{'tag':_0x5d8d99(0x44c),'attrs':{'fill':'#fff','d':_0x5d8d99(0x14f),'transform':_0x5d8d99(0x16e)}}]}]}],'defIds':[_0x5d8d99(0x4a3)]},_0x5b3f1a=_0x25eca3[_0x5d8d99(0xf9)](function(_0x37a869,_0x81f4cd){const _0x34a3ec=_0x5d8d99;return _0x25eca3[_0x34a3ec(0x388)](_0x388444,Object[_0x34a3ec(0x29a)]({},_0x37a869,{'id':_0x34a3ec(0x390),'ref':_0x81f4cd,'icon':_0x2755ec}));});_0x5b3f1a[_0x5d8d99(0x405)]='OnLineSingle';function _0x5b8df6(_0xd7cf9f){const _0x543036=_0x5d8d99;var _0x4a9dc4,_0x2d2c9f,_0x790dc1='';if(typeof _0xd7cf9f==_0x543036(0x452)||typeof _0xd7cf9f==_0x543036(0x340))_0x790dc1+=_0xd7cf9f;else{if(typeof _0xd7cf9f=='object'){if(Array[_0x543036(0x287)](_0xd7cf9f)){var _0x170eae=_0xd7cf9f[_0x543036(0x52c)];for(_0x4a9dc4=0x0;_0x4a9dc4<_0x170eae;_0x4a9dc4++)_0xd7cf9f[_0x4a9dc4]&&(_0x2d2c9f=_0x5b8df6(_0xd7cf9f[_0x4a9dc4]))&&(_0x790dc1&&(_0x790dc1+='\x20'),_0x790dc1+=_0x2d2c9f);}else{for(_0x2d2c9f in _0xd7cf9f)_0xd7cf9f[_0x2d2c9f]&&(_0x790dc1&&(_0x790dc1+='\x20'),_0x790dc1+=_0x2d2c9f);}}}return _0x790dc1;}function _0x4cca33(){const _0x12e207=_0x5d8d99;for(var _0x1eda51,_0x340cfc,_0x433b7a=0x0,_0x1b8c5a='',_0x34a109=arguments[_0x12e207(0x52c)];_0x433b7a<_0x34a109;_0x433b7a++)(_0x1eda51=arguments[_0x433b7a])&&(_0x340cfc=_0x5b8df6(_0x1eda51))&&(_0x1b8c5a&&(_0x1b8c5a+='\x20'),_0x1b8c5a+=_0x340cfc);return _0x1b8c5a;}const _0x4386b8={'onlineStatusIcon':_0x5d8d99(0x325),'onlineStatusTitle':_0x5d8d99(0x3ae),'onlineStatus':'univer-online-status','online':_0x5d8d99(0xf4),'offline':'univer-offline'};function _0x1ad1ea(_0x5376dd){const _0x2103dd=_0x5d8d99;switch(_0x5376dd){case _0xda01df[_0x2103dd(0x515)]:return _0x2103dd(0x485);case _0xda01df['CONFLICT']:return'collabStatus.conflict';case _0xda01df['FETCH_MISS']:return _0x2103dd(0x18d);case _0xda01df[_0x2103dd(0xe3)]:return _0x2103dd(0xc3);case _0xda01df['AWAITING']:case _0xda01df[_0x2103dd(0x522)]:return _0x2103dd(0x4f9);case _0xda01df[_0x2103dd(0x3f3)]:case _0xda01df['PENDING']:return _0x2103dd(0x28d);}}function _0x1a6fe6(_0x580367){const _0x52f4ce=_0x5d8d99,{status$:_0x311bb7}=_0x580367,_0x6cbc05=_0x28a60c[_0x52f4ce(0x24e)](_0x311bb7,_0xda01df[_0x52f4ce(0xe3)]),_0xfb8e91=_0x28c502['useDependency'](_0x28c502[_0x52f4ce(0x469)]),_0x2d7776=_0x28c502['useDependency'](_0x4c1435[_0x52f4ce(0x2b2)]),_0x1268ad=_0x6cbc05!==_0xda01df[_0x52f4ce(0x515)],_0x33bb5a=_0xfb8e91['t'](_0x1ad1ea(_0x6cbc05)),_0x5f1e0a=_0x4cca33(_0x4386b8[_0x52f4ce(0x116)],{[_0x4386b8[_0x52f4ce(0x481)]]:_0x1268ad,[_0x4386b8[_0x52f4ce(0x90)]]:!_0x1268ad}),_0x5bfbb3=_0x1268ad?_0x2f6fbb[_0x52f4ce(0x1ad)](_0x5b3f1a,{}):_0x2f6fbb['jsx'](_0x5cb0e0,{}),_0x57ba94=_0x25eca3['useCallback'](()=>{const _0x505866=_0x52f4ce;_0x1268ad||_0x2d7776[_0x505866(0x3ee)]();},[_0x1268ad,_0x2d7776]);function _0x3e64d2(){const _0x39e462=_0x52f4ce;return _0x2f6fbb[_0x39e462(0x378)](_0x39e462(0x43e),{'className':_0x5f1e0a,'onClick':_0x57ba94,'children':[_0x2f6fbb[_0x39e462(0x1ad)]('div',{'className':_0x4386b8[_0x39e462(0x4e6)],'children':_0x5bfbb3}),_0x2f6fbb[_0x39e462(0x1ad)](_0x39e462(0x43e),{'className':_0x4386b8[_0x39e462(0xe0)],'children':_0x33bb5a})]});}return _0x1268ad?_0x3e64d2():_0x2f6fbb['jsx'](_0x4fac56[_0x52f4ce(0x372)],{'title':_0xfb8e91['t'](_0x52f4ce(0x4d3)),'children':_0x3e64d2()});}var _0x5e30f8=Object[_0x5d8d99(0x48f)],_0x5eadc2=Object['getOwnPropertyDescriptor'],_0x44c4f8=(_0x1d51d4,_0x4f0e62,_0x4cfd92,_0x329e4e)=>{const _0x144fa5=_0x5d8d99;for(var _0xb4b76f=_0x329e4e>0x1?void 0x0:_0x329e4e?_0x5eadc2(_0x4f0e62,_0x4cfd92):_0x4f0e62,_0x259322=_0x1d51d4[_0x144fa5(0x52c)]-0x1,_0x5d1774;_0x259322>=0x0;_0x259322--)(_0x5d1774=_0x1d51d4[_0x259322])&&(_0xb4b76f=(_0x329e4e?_0x5d1774(_0x4f0e62,_0x4cfd92,_0xb4b76f):_0x5d1774(_0xb4b76f))||_0xb4b76f);return _0x329e4e&&_0xb4b76f&&_0x5e30f8(_0x4f0e62,_0x4cfd92,_0xb4b76f),_0xb4b76f;},_0x2b997a=(_0x5f6f31,_0x59984f)=>(_0x3fbd5f,_0x4e3460)=>_0x59984f(_0x3fbd5f,_0x4e3460,_0x5f6f31);_0x4c1435[_0x5d8d99(0x8b)]=class extends _0x28c502[_0x5d8d99(0x24b)]{constructor(_0x3c1914,_0x3710db,_0xcfd23a,_0x3f80e9){const _0x11dec0=_0x5d8d99;super(),_0x569acc(this,'_status$',new _0x158390[(_0x11dec0(0x146))](_0xda01df['NOT_COLLAB'])),(this['_univerInstanceService']=_0x3c1914,this[_0x11dec0(0x506)]=_0x3710db,this[_0x11dec0(0x119)]=_0xcfd23a,this[_0x11dec0(0x288)]=_0x3f80e9,this[_0x11dec0(0x50c)](),this[_0x11dec0(0x2f9)]());}[_0x5d8d99(0x2f9)](){const _0x119f18=_0x5d8d99;this[_0x119f18(0x4b5)](this[_0x119f18(0x14c)]['focused$'][_0x119f18(0x4fb)](_0x158390['switchMap'](()=>{const _0x5b76a7=_0x119f18,_0x18763f=this[_0x5b76a7(0x14c)][_0x5b76a7(0x39e)]();return _0x18763f?this[_0x5b76a7(0x288)][_0x5b76a7(0x3ca)](_0x18763f[_0x5b76a7(0x3aa)]()):_0x158390['of'](null);}),_0x158390[_0x119f18(0x4b8)](_0x3c4d3a=>_0x3c4d3a?_0x3c4d3a[_0x119f18(0x2e4)]:_0x158390['of'](_0xda01df['NOT_COLLAB'])))[_0x119f18(0x3d2)](_0x185525=>{const _0x319678=_0x119f18;this['_status$'][_0x319678(0xb4)](_0x185525);}));}[_0x5d8d99(0x50c)](){const _0x4bf679=_0x5d8d99;this['disposeWithMe'](this[_0x4bf679(0x506)]['registerComponent'](_0x28a60c[_0x4bf679(0x2fe)][_0x4bf679(0x2ef)],()=>_0x28c502['connectInjector'](_0x4d25e0({'status$':this['_status$'][_0x4bf679(0x4ae)]()}),this[_0x4bf679(0x119)])));}},_0x4c1435[_0x5d8d99(0x8b)]=_0x44c4f8([_0x2b997a(0x0,_0x28c502[_0x5d8d99(0x380)]),_0x2b997a(0x1,_0x28a60c['IUIPartsService']),_0x2b997a(0x2,_0x28c502[_0x5d8d99(0x48a)](_0x28c502[_0x5d8d99(0x30d)])),_0x2b997a(0x3,_0x28c502['Inject'](_0x4c1435[_0x5d8d99(0x4dc)]))],_0x4c1435[_0x5d8d99(0x8b)]);function _0x4d25e0(_0x15c79a){const {status$:_0x9c3026}=_0x15c79a;return function(){const _0x4b9508=_0x3a4a;return _0x2f6fbb[_0x4b9508(0x1ad)](_0x1a6fe6,{'status$':_0x9c3026});};}const _0x59b0fb=_0x28c502[_0x5d8d99(0x401)]('uni.network.url-service');var _0x347d9b=Object[_0x5d8d99(0x48f)],_0x170718=Object['getOwnPropertyDescriptor'],_0x5813fd=(_0x20e5eb,_0x58b860,_0x1903cd,_0xa45cfb)=>{const _0x39f672=_0x5d8d99;for(var _0x56fa61=_0xa45cfb>0x1?void 0x0:_0xa45cfb?_0x170718(_0x58b860,_0x1903cd):_0x58b860,_0x2a89f3=_0x20e5eb[_0x39f672(0x52c)]-0x1,_0x3ee07c;_0x2a89f3>=0x0;_0x2a89f3--)(_0x3ee07c=_0x20e5eb[_0x2a89f3])&&(_0x56fa61=(_0xa45cfb?_0x3ee07c(_0x58b860,_0x1903cd,_0x56fa61):_0x3ee07c(_0x56fa61))||_0x56fa61);return _0xa45cfb&&_0x56fa61&&_0x347d9b(_0x58b860,_0x1903cd,_0x56fa61),_0x56fa61;},_0x26ac20=(_0x40b4ea,_0x4862ca)=>(_0x5e052a,_0x9de3c8)=>_0x4862ca(_0x5e052a,_0x9de3c8,_0x40b4ea);_0x4c1435[_0x5d8d99(0x233)]=class extends _0x28c502['RxDisposable']{constructor(_0x16dfc5,_0x380638,_0x460830,_0x21f9c4,_0xa3a9ed,_0x371817){const _0x55a7c4=_0x5d8d99;super(),this['_urlService']=_0x16dfc5,this[_0x55a7c4(0x414)]=_0x380638,this['_commandService']=_0x460830,this[_0x55a7c4(0x474)]=_0x21f9c4,this[_0x55a7c4(0x35d)]=_0xa3a9ed,_0x371817?_0x371817==null||_0x371817[_0x55a7c4(0x42e)]()[_0x55a7c4(0x3a6)](()=>this['_init']()):(this['_logService'][_0x55a7c4(0x4c0)]('[DataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x55a7c4(0xfb)]());}async[_0x5d8d99(0xfb)](){const _0x4cb8d4=_0x5d8d99,_0x5405f0=this[_0x4cb8d4(0x2f1)][_0x4cb8d4(0xe2)]('unit'),_0xa7a01b=this[_0x4cb8d4(0x2f1)][_0x4cb8d4(0xe2)](_0x4cb8d4(0x36c));if(!_0x5405f0||!_0xa7a01b){this[_0x4cb8d4(0x414)][_0x4cb8d4(0x4c0)]('[DataLoaderController]',_0x4cb8d4(0x3b6));return;}switch(Number(_0xa7a01b)){case _0x5b91b5[_0x4cb8d4(0x3de)]:{const _0x30c023=await this[_0x4cb8d4(0x36a)](_0x5405f0);this[_0x4cb8d4(0x101)](_0x30c023);break;}case _0x5b91b5[_0x4cb8d4(0x358)]:{await this['_loadDoc'](_0x5405f0);break;}default:{this[_0x4cb8d4(0x414)][_0x4cb8d4(0x13c)](_0x4cb8d4(0x8a),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x5d8d99(0x101)](_0x24f8d6){const _0x1bb76e=_0x5d8d99;await this[_0x1bb76e(0x1df)](_0x24f8d6),_0x24f8d6[_0x1bb76e(0x46d)]['pipe'](_0x158390[_0x1bb76e(0x150)](this[_0x1bb76e(0x51f)]))['subscribe'](_0x28bfae=>{const _0x3ae1ac=_0x1bb76e;_0x28bfae&&this[_0x3ae1ac(0x362)](_0x28bfae);}),this[_0x1bb76e(0x2f1)][_0x1bb76e(0x472)]['pipe'](_0x158390[_0x1bb76e(0x150)](this[_0x1bb76e(0x51f)]))[_0x1bb76e(0x3d2)](()=>this[_0x1bb76e(0x1df)](_0x24f8d6));}[_0x5d8d99(0x362)](_0xba988,_0x9134eb=!0x1){const _0xfeace1=_0x5d8d99,_0x56274c=this['_urlService']['getParam'](_0xfeace1(0x252));_0xba988[_0xfeace1(0x3c1)]()!==_0x56274c&&this['_urlService']['setParam']('subunit',_0xba988[_0xfeace1(0x3c1)](),_0x9134eb);}async[_0x5d8d99(0x1df)](_0x1c832b){const _0x4e8bee=_0x5d8d99;var _0xc86d20;const _0x4bce29=this[_0x4e8bee(0x2f1)]['getParam'](_0x4e8bee(0x252));if(!_0x4bce29||!_0x1c832b[_0x4e8bee(0x1aa)](_0x4bce29)){const _0x2881ee=_0x1c832b[_0x4e8bee(0x38e)]()[0x0],_0x30eafc=_0x1c832b['getSheetBySheetId'](_0x2881ee);if(!_0x30eafc)return;this[_0x4e8bee(0x362)](_0x30eafc,!0x0),await this[_0x4e8bee(0x3a0)][_0x4e8bee(0x38f)](_0x256063[_0x4e8bee(0x377)]['id'],{'unitId':_0x1c832b['getUnitId'](),'subUnitId':_0x2881ee});return;}((_0xc86d20=_0x1c832b['getActiveSheet']())==null?void 0x0:_0xc86d20[_0x4e8bee(0x3c1)]())!==_0x4bce29&&await this[_0x4e8bee(0x3a0)][_0x4e8bee(0x38f)](_0x256063[_0x4e8bee(0x377)]['id'],{'unitId':_0x1c832b[_0x4e8bee(0x3aa)](),'subUnitId':_0x4bce29});}async['_loadSheet'](_0x57fc6b){const _0x1e510c=_0x5d8d99;let _0x40bd3c=0x0;const _0x120df2=await this['_localCacheService'][_0x1e510c(0x2a0)](_0x57fc6b);return _0x120df2&&(_0x120df2['awaitingChangeset']||_0x120df2[_0x1e510c(0x31f)]['length']!==0x0)&&(_0x40bd3c=_0x120df2[_0x1e510c(0x9d)]),_0x40bd3c===0x0&&this['_logService'][_0x1e510c(0x4c0)]('[DataLoaderController]',_0x1e510c(0x46a)),this['_snapshotService'][_0x1e510c(0x236)](_0x57fc6b,_0x40bd3c);}async['_loadDoc'](_0x1307c1){const _0x255835=_0x5d8d99;let _0x5335f6=0x0;const _0x3f712d=await this[_0x255835(0x474)]['loadOfflineData'](_0x1307c1);return _0x3f712d&&(_0x3f712d[_0x255835(0x4e5)]||_0x3f712d[_0x255835(0x31f)][_0x255835(0x52c)]!==0x0)&&(_0x5335f6=_0x3f712d[_0x255835(0x9d)]),_0x5335f6===0x0&&this[_0x255835(0x414)]['debug']('[DataLoaderController]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x255835(0x35d)][_0x255835(0x495)](_0x1307c1,_0x5335f6);}},_0x4c1435[_0x5d8d99(0x233)]=_0x5813fd([_0x26ac20(0x0,_0x59b0fb),_0x26ac20(0x1,_0x28c502[_0x5d8d99(0xad)]),_0x26ac20(0x2,_0x28c502[_0x5d8d99(0x123)]),_0x26ac20(0x3,_0x28c502[_0x5d8d99(0x48a)](_0x4c1435[_0x5d8d99(0x92)])),_0x26ac20(0x4,_0x28c502[_0x5d8d99(0x48a)](_0x50e560['SnapshotService'])),_0x26ac20(0x5,_0x28c502[_0x5d8d99(0x115)](_0x5d6b13[_0x5d8d99(0x2e9)]))],_0x4c1435[_0x5d8d99(0x233)]);var _0xcb5539=Object['defineProperty'],_0x54770b=Object[_0x5d8d99(0x48b)],_0x2345e1=(_0x44a52b,_0x26f846,_0x1af3d6,_0x2588d8)=>{const _0x21e155=_0x5d8d99;for(var _0xd8ad93=_0x2588d8>0x1?void 0x0:_0x2588d8?_0x54770b(_0x26f846,_0x1af3d6):_0x26f846,_0xa669a7=_0x44a52b[_0x21e155(0x52c)]-0x1,_0x3969a2;_0xa669a7>=0x0;_0xa669a7--)(_0x3969a2=_0x44a52b[_0xa669a7])&&(_0xd8ad93=(_0x2588d8?_0x3969a2(_0x26f846,_0x1af3d6,_0xd8ad93):_0x3969a2(_0xd8ad93))||_0xd8ad93);return _0x2588d8&&_0xd8ad93&&_0xcb5539(_0x26f846,_0x1af3d6,_0xd8ad93),_0xd8ad93;},_0x4fd468=(_0x4528ca,_0xa757a)=>(_0x869867,_0x8cea1)=>_0xa757a(_0x869867,_0x8cea1,_0x4528ca);const _0x1a6123='DEFAULT_FILE_NAME',_0xe5c190='Univer';let _0x3b5673=class extends _0x28c502['Disposable']{constructor(_0x2e333a,_0x3ea010){const _0x4972d2=_0x5d8d99;super(),this[_0x4972d2(0x14c)]=_0x2e333a,this['_configService']=_0x3ea010,this[_0x4972d2(0xfb)]();}[_0x5d8d99(0xfb)](){const _0x295ff7=_0x5d8d99;this['disposeWithMe'](this['_univerInstanceService'][_0x295ff7(0x48e)][_0x295ff7(0x3d2)](()=>{const _0x6d9f4a=_0x295ff7;var _0x5c8563;const _0x571250=this[_0x6d9f4a(0x14c)][_0x6d9f4a(0x39e)]();let _0x363d47=(_0x5c8563=this[_0x6d9f4a(0x298)][_0x6d9f4a(0x2ea)](_0x1a6123))!=null?_0x5c8563:_0xe5c190;_0x571250 instanceof _0x28c502[_0x6d9f4a(0x314)]&&(_0x363d47=_0x571250[_0x6d9f4a(0x1fa)]),document[_0x6d9f4a(0x3da)]=_0x363d47;}));}};_0x3b5673=_0x2345e1([_0x4fd468(0x0,_0x28c502['IUniverInstanceService']),_0x4fd468(0x1,_0x28c502[_0x5d8d99(0x422)])],_0x3b5673);var _0x581fbb=Object[_0x5d8d99(0x48f)],_0x4b8875=Object['getOwnPropertyDescriptor'],_0xf9952b=(_0x5451cf,_0x1d4175,_0x390d9f,_0x1446b0)=>{const _0x190132=_0x5d8d99;for(var _0x5dc81a=_0x1446b0>0x1?void 0x0:_0x1446b0?_0x4b8875(_0x1d4175,_0x390d9f):_0x1d4175,_0x1444f5=_0x5451cf[_0x190132(0x52c)]-0x1,_0x3d8f0b;_0x1444f5>=0x0;_0x1444f5--)(_0x3d8f0b=_0x5451cf[_0x1444f5])&&(_0x5dc81a=(_0x1446b0?_0x3d8f0b(_0x1d4175,_0x390d9f,_0x5dc81a):_0x3d8f0b(_0x5dc81a))||_0x5dc81a);return _0x1446b0&&_0x5dc81a&&_0x581fbb(_0x1d4175,_0x390d9f,_0x5dc81a),_0x5dc81a;},_0x57288a=(_0x5ddf43,_0x5c92fc)=>(_0x5e50f7,_0x19e865)=>_0x5c92fc(_0x5e50f7,_0x19e865,_0x5ddf43);let _0x142e6b=class{constructor(_0x5b76d2,_0x590f26,_0x1a0285){const _0x4e69d6=_0x5d8d99;this['_configService']=_0x5b76d2,this['_httpService']=_0x590f26,this['localeService']=_0x1a0285,this[_0x4e69d6(0x102)]();}[_0x5d8d99(0x102)](){const _0x5683fb=_0x5d8d99;this[_0x5683fb(0x2e5)][_0x5683fb(0x34e)]({'priority':0x1,'interceptor':(_0x4da0a1,_0x310fab)=>_0x310fab(_0x4da0a1)[_0x5683fb(0x4fb)](_0x158390[_0x5683fb(0x228)](async _0x39deab=>{const _0x1f7dc8=_0x5683fb,_0x174564=_0x39deab;if(_0x174564[_0x1f7dc8(0xc7)]===0x191&&window[_0x1f7dc8(0xaf)](this[_0x1f7dc8(0x149)]['t']('auth.needGotoLoginAlert'))){const _0x5b30b6=window[_0x1f7dc8(0x308)](window[_0x1f7dc8(0x350)][_0x1f7dc8(0x4ca)]);window['location'][_0x1f7dc8(0x4ca)]=this[_0x1f7dc8(0x21c)]()+_0x1f7dc8(0x416)+_0x5b30b6;}return _0x174564;}))});}[_0x5d8d99(0x21c)](){const _0x2d7c5f=_0x5d8d99;var _0x3ed1df,_0x11990a;const _0x118def=this[_0x2d7c5f(0x298)][_0x2d7c5f(0x2ea)](_0x3181be),_0x392c75=this[_0x2d7c5f(0x298)][_0x2d7c5f(0x2ea)](_0x5b0249);return(_0x11990a=(_0x3ed1df=_0x392c75==null?void 0x0:_0x392c75[_0x2d7c5f(0x457)])!=null?_0x3ed1df:_0x118def)!=null?_0x11990a:_0x1112ec;}};_0x142e6b=_0xf9952b([_0x57288a(0x0,_0x28c502['IConfigService']),_0x57288a(0x1,_0x28c502[_0x5d8d99(0x48a)](_0x5d2d09[_0x5d8d99(0x508)])),_0x57288a(0x2,_0x28c502['Inject'](_0x28c502[_0x5d8d99(0x469)]))],_0x142e6b);var _0x110fc7=Object[_0x5d8d99(0x48f)],_0x177627=Object[_0x5d8d99(0x48b)],_0x33968d=(_0x57ad20,_0x54c2e1,_0x13657c,_0xe1e925)=>{for(var _0x1669f5=_0xe1e925>0x1?void 0x0:_0xe1e925?_0x177627(_0x54c2e1,_0x13657c):_0x54c2e1,_0x38f326=_0x57ad20['length']-0x1,_0x30c507;_0x38f326>=0x0;_0x38f326--)(_0x30c507=_0x57ad20[_0x38f326])&&(_0x1669f5=(_0xe1e925?_0x30c507(_0x54c2e1,_0x13657c,_0x1669f5):_0x30c507(_0x1669f5))||_0x1669f5);return _0xe1e925&&_0x1669f5&&_0x110fc7(_0x54c2e1,_0x13657c,_0x1669f5),_0x1669f5;},_0x36119c=(_0x4e31dd,_0x3cc785)=>(_0x252e97,_0x57c8e6)=>_0x3cc785(_0x252e97,_0x57c8e6,_0x4e31dd);const _0x18204f='AUTHZ_URL_KEY',_0x42bebd=_0x5d8d99(0x244);_0x4c1435[_0x5d8d99(0x4a4)]=class extends _0x28c502[_0x5d8d99(0x24b)]{constructor(_0x9f8c0d,_0x5c05da){const _0x3c1f49=_0x5d8d99;super(),this[_0x3c1f49(0x3e7)]=_0x9f8c0d,this['_configService']=_0x5c05da,this[_0x3c1f49(0x52e)]();}['_initMergeInterceptor'](){const _0x12e162=_0x5d8d99,_0x45a77b=this;this[_0x12e162(0x4b5)](this['_HTTPService'][_0x12e162(0x34e)]({'priority':0x3e7,'interceptor':_0x5d2d09[_0x12e162(0x19e)]({'isMatch'(_0x24491d){const _0x1b42b2=_0x12e162;var _0x352082;if(_0x24491d['method']===_0x1b42b2(0x363)&&((_0x352082=_0x24491d[_0x1b42b2(0x114)])!=null&&_0x352082[_0x1b42b2(0x447)])){const {objectID:_0x149d20,objectType:_0x2f2c4d}=_0x24491d['requestParams']['body']||{};if(!_0x149d20||_0x2f2c4d===void 0x0)return!0x1;const _0x121335=_0x45a77b[_0x1b42b2(0x36f)]()+'/'+_0x2f2c4d+_0x1b42b2(0x37f)+_0x149d20+_0x1b42b2(0x397);if(_0x24491d[_0x1b42b2(0x265)]===_0x121335)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4c8c9a){const _0x3a8cf1=_0x12e162;var _0x4f40d3;return(_0x4f40d3=_0x4c8c9a[_0x3a8cf1(0x114)])==null?void 0x0:_0x4f40d3[_0x3a8cf1(0x447)];},'mergeParamsToRequest'(_0x208091,_0x591043){const _0xa4d3e6=_0x12e162,_0x5150ae=_0x45a77b[_0xa4d3e6(0x36f)]()+'/-/object/-/batch_allowed',_0x2660c0=_0x208091['reduce']((_0x50fd5a,_0x472d08)=>{const _0x466567=_0xa4d3e6,{unitID:_0x47b872,objectID:_0x177503,objectType:_0x2cbf69,actions:_0x24582e}=_0x472d08;return _0x50fd5a[_0x47b872]||(_0x50fd5a[_0x47b872]={}),_0x50fd5a[_0x47b872][_0x177503]||(_0x50fd5a[_0x47b872][_0x177503]={'objectID':_0x177503,'objectType':_0x2cbf69,'actions':[]}),_0x50fd5a[_0x47b872][_0x177503][_0x466567(0x155)][_0x466567(0x347)](..._0x24582e),_0x50fd5a;},{}),_0x2ba567=[];for(const _0x3400dd in _0x2660c0)for(const _0x453cc1 in _0x2660c0[_0x3400dd]){const {actions:_0x10ef6a,objectType:_0x16ab71}=_0x2660c0[_0x3400dd][_0x453cc1],_0x1c27bc=[...new Set(_0x10ef6a)];_0x2ba567[_0xa4d3e6(0x347)]({'unitID':_0x3400dd,'objectID':_0x453cc1,'objectType':_0x16ab71,'actions':_0x1c27bc});}return new _0x5d2d09[(_0xa4d3e6(0x8c))](_0xa4d3e6(0x363),_0x5150ae,{'headers':_0x591043[_0xa4d3e6(0x3d4)],'withCredentials':_0x591043[_0xa4d3e6(0x122)],'responseType':_0x591043['responseType'],'body':{'requests':_0x2ba567}});}},{'distributeResult'(_0x53420b,_0x2ca15f){const _0x48d581=_0x12e162,{objectActions:_0x393edc}=_0x53420b;return _0x2ca15f[_0x48d581(0x1c9)](_0x2f4b0e=>{const _0x2cff7f=_0x48d581,{unitID:_0xf14b11,objectID:_0x528d59,actions:_0x3a3c2e}=_0x2f4b0e,_0x1ab04f=_0x393edc['find'](_0x484af8=>_0x484af8['unitID']===_0xf14b11&&_0x484af8[_0x2cff7f(0x4d5)]===_0x528d59),_0xb31d3e=_0x3a3c2e['map'](_0xc18965=>_0x1ab04f==null?void 0x0:_0x1ab04f[_0x2cff7f(0x155)]['find'](_0x29bd8c=>_0x29bd8c['action']===_0xc18965))[_0x2cff7f(0x1ea)](_0x45e81b=>!!_0x45e81b);return{'config':_0x2f4b0e,'result':{'actions':_0xb31d3e,'error':_0x53420b[_0x2cff7f(0x13c)]}};});}})}));}[_0x5d8d99(0x36f)](){const _0x20ee18=_0x5d8d99;var _0x5bc6bd,_0x40ac2d;const _0x8b2af=this[_0x20ee18(0x298)][_0x20ee18(0x2ea)](_0x18204f),_0x1185ef=this[_0x20ee18(0x298)]['getConfig'](_0x5b0249);return(_0x40ac2d=(_0x5bc6bd=_0x1185ef==null?void 0x0:_0x1185ef['authzUrl'])!=null?_0x5bc6bd:_0x8b2af)!=null?_0x40ac2d:_0x42bebd;}async[_0x5d8d99(0x218)](_0x2a2164){const _0x2a0965=_0x5d8d99,_0x12be7=this[_0x2a0965(0x36f)]()+'/'+_0x2a2164[_0x2a0965(0x1ff)]+_0x2a0965(0xee);return(await this[_0x2a0965(0x3e7)]['post'](_0x12be7,{'body':_0x2a2164}))[_0x2a0965(0x447)][_0x2a0965(0x4d5)]||'';}async['list'](_0x2d06ba){const _0x58e9a4=_0x5d8d99,_0x52d82e=this[_0x58e9a4(0x36f)]()+_0x58e9a4(0x283);return(await this['_HTTPService'][_0x58e9a4(0x3bd)](_0x52d82e,{'body':_0x2d06ba}))[_0x58e9a4(0x447)]['objects'];}async[_0x5d8d99(0x145)](_0x52c6c0){const _0x53d0f6=_0x5d8d99,_0x3373bc=this[_0x53d0f6(0x36f)]()+'/'+_0x52c6c0['objectType']+'/object/'+_0x52c6c0[_0x53d0f6(0x4d5)];await this['_HTTPService']['put'](_0x3373bc,{'body':_0x52c6c0});}async[_0x5d8d99(0x498)](_0x3246d8){const _0x3f6e6f=_0x5d8d99,_0x557dd8=this[_0x3f6e6f(0x36f)]()+'/'+_0x3246d8[_0x3f6e6f(0x1ff)]+'/object/'+_0x3246d8['objectID']+'/allowed';return(await this[_0x3f6e6f(0x3e7)][_0x3f6e6f(0x3bd)](_0x557dd8,{'body':_0x3246d8}))['body']['actions'];}async[_0x5d8d99(0x300)](_0x913347){const _0x2a409e=_0x5d8d99,_0x359899=this[_0x2a409e(0x36f)]()+_0x2a409e(0x2f8);return(await this[_0x2a409e(0x3e7)][_0x2a409e(0x3bd)](_0x359899,{'body':{'requests':_0x913347}}))[_0x2a409e(0x447)][_0x2a409e(0x11d)];}async['listRoles'](_0x1aa971){const _0x27c5b3=_0x5d8d99,_0x2958d2=this['_getAPIPrefixPath']()+'/'+_0x1aa971[_0x27c5b3(0x1ff)]+_0x27c5b3(0x11f),_0x3128e5=await this[_0x27c5b3(0x3e7)][_0x27c5b3(0x3bd)](_0x2958d2,{'body':_0x1aa971});return{'roles':_0x3128e5[_0x27c5b3(0x447)][_0x27c5b3(0x4de)],'actions':_0x3128e5[_0x27c5b3(0x447)][_0x27c5b3(0x155)]};}async[_0x5d8d99(0xef)](_0x140258){const _0x43f99e=_0x5d8d99,_0xf917e0=this[_0x43f99e(0x36f)]()+_0x43f99e(0x142);await this['_HTTPService'][_0x43f99e(0x451)](_0xf917e0,{'params':{'collaboratorID':_0x140258['collaboratorID'],'objectID':_0x140258[_0x43f99e(0x4d5)],'unitID':_0x140258[_0x43f99e(0xe5)]}});}async[_0x5d8d99(0x395)](_0x56868a){const _0x301233=_0x5d8d99,_0xfb7ea0=this['_getAPIPrefixPath']()+_0x301233(0x142);await this[_0x301233(0x3e7)][_0x301233(0x2bf)](_0xfb7ea0,{'body':_0x56868a});}async[_0x5d8d99(0x1fd)](_0x3af6ec){const _0x3a25d8=_0x5d8d99,_0x276a0d=this['_getAPIPrefixPath']()+_0x3a25d8(0x142);await this[_0x3a25d8(0x3e7)][_0x3a25d8(0x3bd)](_0x276a0d,{'body':_0x3af6ec});}async[_0x5d8d99(0x450)](_0x14c1be){const _0x526cdd=_0x5d8d99,_0x51aa98=this[_0x526cdd(0x36f)]()+'/collaborator';return(await this[_0x526cdd(0x3e7)][_0x526cdd(0x3a8)](_0x51aa98,{'params':{'objectID':_0x14c1be[_0x526cdd(0x4d5)],'unitID':_0x14c1be[_0x526cdd(0xe5)]}}))[_0x526cdd(0x447)][_0x526cdd(0x520)];}async[_0x5d8d99(0x50b)](_0xf8edbd){const _0x342b08=_0x5d8d99,_0x3b356d=this[_0x342b08(0x36f)]()+_0x342b08(0x142);await this[_0x342b08(0x3e7)]['put'](_0x3b356d,{'body':_0xf8edbd});}},_0x4c1435[_0x5d8d99(0x4a4)]=_0x33968d([_0x36119c(0x0,_0x28c502[_0x5d8d99(0x48a)](_0x5d2d09[_0x5d8d99(0x508)])),_0x36119c(0x1,_0x28c502[_0x5d8d99(0x48a)](_0x28c502[_0x5d8d99(0x422)]))],_0x4c1435[_0x5d8d99(0x4a4)]);var _0x2dce9d={'exports':{}};function _0x1403f9(_0x5e6474){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x5e6474+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var _0x14c89d={'exports':{}},_0x35ccb5;function _0x3bb9d1(){return _0x35ccb5||(_0x35ccb5=0x1,function(_0x1d045a,_0x491c4f){(function(_0x495ff5,_0x363466){_0x1d045a['exports']=_0x363466();}(_0x5d33cd,function(){var _0xb6c4f5=_0xb6c4f5||function(_0x1404e8,_0x2cc554){const _0x28765a=_0x3a4a;var _0x2f8505;if(typeof window<'u'&&window['crypto']&&(_0x2f8505=window[_0x28765a(0x479)]),typeof self<'u'&&self['crypto']&&(_0x2f8505=self[_0x28765a(0x479)]),typeof globalThis<'u'&&globalThis[_0x28765a(0x479)]&&(_0x2f8505=globalThis[_0x28765a(0x479)]),!_0x2f8505&&typeof window<'u'&&window[_0x28765a(0x25f)]&&(_0x2f8505=window[_0x28765a(0x25f)]),!_0x2f8505&&typeof _0x5d33cd<'u'&&_0x5d33cd[_0x28765a(0x479)]&&(_0x2f8505=_0x5d33cd[_0x28765a(0x479)]),!_0x2f8505&&typeof _0x1403f9==_0x28765a(0x138))try{_0x2f8505=require(_0x28765a(0x479));}catch{}var _0x36c8fa=function(){const _0x57b9b6=_0x28765a;if(_0x2f8505){if(typeof _0x2f8505['getRandomValues']=='function')try{return _0x2f8505[_0x57b9b6(0x4f0)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2f8505[_0x57b9b6(0x4ad)]==_0x57b9b6(0x138))try{return _0x2f8505[_0x57b9b6(0x4ad)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x4b5004=Object[_0x28765a(0x218)]||(function(){function _0x416e0e(){}return function(_0x1968e5){const _0xb34880=_0x3a4a;var _0x3d29ea;return _0x416e0e[_0xb34880(0x243)]=_0x1968e5,_0x3d29ea=new _0x416e0e(),_0x416e0e[_0xb34880(0x243)]=null,_0x3d29ea;};}()),_0x42ea1f={},_0x179b8d=_0x42ea1f[_0x28765a(0x250)]={},_0x41ff23=_0x179b8d[_0x28765a(0xfe)]=(function(){return{'extend':function(_0x4c2943){const _0x366722=_0x3a4a;var _0x4e3149=_0x4b5004(this);return _0x4c2943&&_0x4e3149[_0x366722(0x173)](_0x4c2943),(!_0x4e3149[_0x366722(0xcd)](_0x366722(0x102))||this[_0x366722(0x102)]===_0x4e3149[_0x366722(0x102)])&&(_0x4e3149['init']=function(){const _0x4b5ecd=_0x366722;_0x4e3149[_0x4b5ecd(0x194)][_0x4b5ecd(0x102)][_0x4b5ecd(0x539)](this,arguments);}),_0x4e3149[_0x366722(0x102)]['prototype']=_0x4e3149,_0x4e3149[_0x366722(0x194)]=this,_0x4e3149;},'create':function(){const _0x9f6e3b=_0x3a4a;var _0x54f959=this['extend']();return _0x54f959[_0x9f6e3b(0x102)][_0x9f6e3b(0x539)](_0x54f959,arguments),_0x54f959;},'init':function(){},'mixIn':function(_0x5d8598){const _0x42b5e2=_0x3a4a;for(var _0x1a192d in _0x5d8598)_0x5d8598[_0x42b5e2(0xcd)](_0x1a192d)&&(this[_0x1a192d]=_0x5d8598[_0x1a192d]);_0x5d8598[_0x42b5e2(0xcd)]('toString')&&(this[_0x42b5e2(0xbe)]=_0x5d8598[_0x42b5e2(0xbe)]);},'clone':function(){const _0xa6e616=_0x3a4a;return this[_0xa6e616(0x102)][_0xa6e616(0x243)]['extend'](this);}};}()),_0x37d574=_0x179b8d[_0x28765a(0x33e)]=_0x41ff23[_0x28765a(0x352)]({'init':function(_0x1c04a7,_0x43ac58){const _0x1e0cf5=_0x28765a;_0x1c04a7=this['words']=_0x1c04a7||[],_0x43ac58!=_0x2cc554?this[_0x1e0cf5(0x4dd)]=_0x43ac58:this['sigBytes']=_0x1c04a7[_0x1e0cf5(0x52c)]*0x4;},'toString':function(_0x4649b7){const _0x52480b=_0x28765a;return(_0x4649b7||_0x1e084f)[_0x52480b(0x51a)](this);},'concat':function(_0x208277){const _0x3c22e5=_0x28765a;var _0x172fe3=this[_0x3c22e5(0x297)],_0x25d7db=_0x208277['words'],_0x5a9d03=this['sigBytes'],_0x26ff99=_0x208277[_0x3c22e5(0x4dd)];if(this['clamp'](),_0x5a9d03%0x4)for(var _0x2cf52c=0x0;_0x2cf52c<_0x26ff99;_0x2cf52c++){var _0x6306a4=_0x25d7db[_0x2cf52c>>>0x2]>>>0x18-_0x2cf52c%0x4*0x8&0xff;_0x172fe3[_0x5a9d03+_0x2cf52c>>>0x2]|=_0x6306a4<<0x18-(_0x5a9d03+_0x2cf52c)%0x4*0x8;}else{for(var _0x1e55f0=0x0;_0x1e55f0<_0x26ff99;_0x1e55f0+=0x4)_0x172fe3[_0x5a9d03+_0x1e55f0>>>0x2]=_0x25d7db[_0x1e55f0>>>0x2];}return this[_0x3c22e5(0x4dd)]+=_0x26ff99,this;},'clamp':function(){const _0x261830=_0x28765a;var _0x1a5ffa=this[_0x261830(0x297)],_0xa6c96a=this[_0x261830(0x4dd)];_0x1a5ffa[_0xa6c96a>>>0x2]&=0xffffffff<<0x20-_0xa6c96a%0x4*0x8,_0x1a5ffa['length']=_0x1404e8['ceil'](_0xa6c96a/0x4);},'clone':function(){const _0x405807=_0x28765a;var _0x44e09c=_0x41ff23['clone'][_0x405807(0xcf)](this);return _0x44e09c[_0x405807(0x297)]=this[_0x405807(0x297)][_0x405807(0x4ac)](0x0),_0x44e09c;},'random':function(_0x2eb29c){const _0x11040c=_0x28765a;for(var _0x84bcd=[],_0x59068e=0x0;_0x59068e<_0x2eb29c;_0x59068e+=0x4)_0x84bcd['push'](_0x36c8fa());return new _0x37d574[(_0x11040c(0x102))](_0x84bcd,_0x2eb29c);}}),_0x410896=_0x42ea1f['enc']={},_0x1e084f=_0x410896[_0x28765a(0x1e6)]={'stringify':function(_0x31ecf6){const _0x3fcc36=_0x28765a;for(var _0x5c341a=_0x31ecf6[_0x3fcc36(0x297)],_0x45f6a8=_0x31ecf6[_0x3fcc36(0x4dd)],_0x2cb65b=[],_0x187aec=0x0;_0x187aec<_0x45f6a8;_0x187aec++){var _0x304d51=_0x5c341a[_0x187aec>>>0x2]>>>0x18-_0x187aec%0x4*0x8&0xff;_0x2cb65b['push']((_0x304d51>>>0x4)['toString'](0x10)),_0x2cb65b['push']((_0x304d51&0xf)[_0x3fcc36(0xbe)](0x10));}return _0x2cb65b[_0x3fcc36(0x207)]('');},'parse':function(_0x2bf521){const _0x8adf72=_0x28765a;for(var _0x3feb9b=_0x2bf521[_0x8adf72(0x52c)],_0x1856a6=[],_0x2fb7a2=0x0;_0x2fb7a2<_0x3feb9b;_0x2fb7a2+=0x2)_0x1856a6[_0x2fb7a2>>>0x3]|=parseInt(_0x2bf521[_0x8adf72(0x304)](_0x2fb7a2,0x2),0x10)<<0x18-_0x2fb7a2%0x8*0x4;return new _0x37d574['init'](_0x1856a6,_0x3feb9b/0x2);}},_0x40513a=_0x410896[_0x28765a(0x197)]={'stringify':function(_0xeaccb5){const _0x2676f2=_0x28765a;for(var _0x363052=_0xeaccb5[_0x2676f2(0x297)],_0x3e3652=_0xeaccb5['sigBytes'],_0x43359a=[],_0x525cc0=0x0;_0x525cc0<_0x3e3652;_0x525cc0++){var _0x890adc=_0x363052[_0x525cc0>>>0x2]>>>0x18-_0x525cc0%0x4*0x8&0xff;_0x43359a[_0x2676f2(0x347)](String[_0x2676f2(0x51e)](_0x890adc));}return _0x43359a['join']('');},'parse':function(_0x448518){const _0x12d2e7=_0x28765a;for(var _0x1f26f7=_0x448518[_0x12d2e7(0x52c)],_0x302d27=[],_0xe243ac=0x0;_0xe243ac<_0x1f26f7;_0xe243ac++)_0x302d27[_0xe243ac>>>0x2]|=(_0x448518[_0x12d2e7(0xa5)](_0xe243ac)&0xff)<<0x18-_0xe243ac%0x4*0x8;return new _0x37d574[(_0x12d2e7(0x102))](_0x302d27,_0x1f26f7);}},_0x327da7=_0x410896['Utf8']={'stringify':function(_0x502402){const _0x3979ee=_0x28765a;try{return decodeURIComponent(escape(_0x40513a[_0x3979ee(0x51a)](_0x502402)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x3bd557){const _0x2769b8=_0x28765a;return _0x40513a[_0x2769b8(0x40c)](unescape(encodeURIComponent(_0x3bd557)));}},_0x141998=_0x179b8d[_0x28765a(0x1f6)]=_0x41ff23[_0x28765a(0x352)]({'reset':function(){const _0x5dc38b=_0x28765a;this[_0x5dc38b(0x480)]=new _0x37d574[(_0x5dc38b(0x102))](),this[_0x5dc38b(0x204)]=0x0;},'_append':function(_0x50aa71){const _0x30cc5d=_0x28765a;typeof _0x50aa71==_0x30cc5d(0x452)&&(_0x50aa71=_0x327da7['parse'](_0x50aa71)),this[_0x30cc5d(0x480)][_0x30cc5d(0x1b5)](_0x50aa71),this[_0x30cc5d(0x204)]+=_0x50aa71[_0x30cc5d(0x4dd)];},'_process':function(_0x1c1d15){const _0x1a5432=_0x28765a;var _0x34eaf1,_0x12d958=this[_0x1a5432(0x480)],_0x277c90=_0x12d958[_0x1a5432(0x297)],_0x1db574=_0x12d958[_0x1a5432(0x4dd)],_0x24fcdb=this[_0x1a5432(0x396)],_0x11857d=_0x24fcdb*0x4,_0x209259=_0x1db574/_0x11857d;_0x1c1d15?_0x209259=_0x1404e8[_0x1a5432(0xc5)](_0x209259):_0x209259=_0x1404e8[_0x1a5432(0xa2)]((_0x209259|0x0)-this['_minBufferSize'],0x0);var _0x559435=_0x209259*_0x24fcdb,_0x4b61a6=_0x1404e8['min'](_0x559435*0x4,_0x1db574);if(_0x559435){for(var _0x2b61d0=0x0;_0x2b61d0<_0x559435;_0x2b61d0+=_0x24fcdb)this[_0x1a5432(0x3a1)](_0x277c90,_0x2b61d0);_0x34eaf1=_0x277c90['splice'](0x0,_0x559435),_0x12d958['sigBytes']-=_0x4b61a6;}return new _0x37d574[(_0x1a5432(0x102))](_0x34eaf1,_0x4b61a6);},'clone':function(){const _0x1514c9=_0x28765a;var _0x2854af=_0x41ff23[_0x1514c9(0x384)][_0x1514c9(0xcf)](this);return _0x2854af['_data']=this[_0x1514c9(0x480)]['clone'](),_0x2854af;},'_minBufferSize':0x0});_0x179b8d[_0x28765a(0x280)]=_0x141998['extend']({'cfg':_0x41ff23['extend'](),'init':function(_0x54c4fd){const _0x33ab0a=_0x28765a;this[_0x33ab0a(0x3bc)]=this[_0x33ab0a(0x3bc)][_0x33ab0a(0x352)](_0x54c4fd),this[_0x33ab0a(0x127)]();},'reset':function(){const _0x33b22d=_0x28765a;_0x141998[_0x33b22d(0x127)][_0x33b22d(0xcf)](this),this[_0x33b22d(0x40b)]();},'update':function(_0x7a48dc){const _0x44d5b9=_0x28765a;return this[_0x44d5b9(0x3a7)](_0x7a48dc),this['_process'](),this;},'finalize':function(_0x5ca8fa){const _0x36ce68=_0x28765a;_0x5ca8fa&&this[_0x36ce68(0x3a7)](_0x5ca8fa);var _0x33b37b=this[_0x36ce68(0xe9)]();return _0x33b37b;},'blockSize':0x10,'_createHelper':function(_0x4ec54d){return function(_0x5a3936,_0x11de17){const _0x16278e=_0x3a4a;return new _0x4ec54d['init'](_0x11de17)[_0x16278e(0x3c4)](_0x5a3936);};},'_createHmacHelper':function(_0x28f384){return function(_0x350a84,_0x11c0a0){return new _0xdf94f2['HMAC']['init'](_0x28f384,_0x11c0a0)['finalize'](_0x350a84);};}});var _0xdf94f2=_0x42ea1f[_0x28765a(0x4c6)]={};return _0x42ea1f;}(Math);return _0xb6c4f5;}));}(_0x14c89d)),_0x14c89d['exports'];}var _0x46dd13={'exports':{}},_0x521581;function _0x14173a(){return _0x521581||(_0x521581=0x1,function(_0x5e5df9,_0x3d38ea){(function(_0x3f2f84,_0x4dd196){const _0x3a423e=_0x3a4a;_0x5e5df9[_0x3a423e(0x3fd)]=_0x4dd196(_0x3bb9d1());}(_0x5d33cd,function(_0x164735){const _0x47b165=_0x3a4a;return(function(){const _0x769637=_0x3a4a;var _0xb79e06=_0x164735,_0x2a3e20=_0xb79e06[_0x769637(0x250)],_0x16dc64=_0x2a3e20[_0x769637(0x33e)],_0x41e66d=_0xb79e06[_0x769637(0x214)];_0x41e66d[_0x769637(0x329)]={'stringify':function(_0x472f4d){const _0x2eef03=_0x769637;var _0x493db7=_0x472f4d[_0x2eef03(0x297)],_0x4aabd4=_0x472f4d[_0x2eef03(0x4dd)],_0xbab1e8=this[_0x2eef03(0xa3)];_0x472f4d[_0x2eef03(0x110)]();for(var _0x50fcbe=[],_0x1888cf=0x0;_0x1888cf<_0x4aabd4;_0x1888cf+=0x3)for(var _0x4c5fe8=_0x493db7[_0x1888cf>>>0x2]>>>0x18-_0x1888cf%0x4*0x8&0xff,_0x5a7fea=_0x493db7[_0x1888cf+0x1>>>0x2]>>>0x18-(_0x1888cf+0x1)%0x4*0x8&0xff,_0x3ae089=_0x493db7[_0x1888cf+0x2>>>0x2]>>>0x18-(_0x1888cf+0x2)%0x4*0x8&0xff,_0xdd1484=_0x4c5fe8<<0x10|_0x5a7fea<<0x8|_0x3ae089,_0x251036=0x0;_0x251036<0x4&&_0x1888cf+_0x251036*0.75<_0x4aabd4;_0x251036++)_0x50fcbe[_0x2eef03(0x347)](_0xbab1e8['charAt'](_0xdd1484>>>0x6*(0x3-_0x251036)&0x3f));var _0x5be79b=_0xbab1e8[_0x2eef03(0x277)](0x40);if(_0x5be79b){for(;_0x50fcbe[_0x2eef03(0x52c)]%0x4;)_0x50fcbe[_0x2eef03(0x347)](_0x5be79b);}return _0x50fcbe[_0x2eef03(0x207)]('');},'parse':function(_0x5c0051){const _0x533711=_0x769637;var _0x12b4c2=_0x5c0051['length'],_0x44592a=this['_map'],_0x23ba29=this[_0x533711(0x4a1)];if(!_0x23ba29){_0x23ba29=this[_0x533711(0x4a1)]=[];for(var _0x4a40ce=0x0;_0x4a40ce<_0x44592a['length'];_0x4a40ce++)_0x23ba29[_0x44592a['charCodeAt'](_0x4a40ce)]=_0x4a40ce;}var _0x1e92dc=_0x44592a[_0x533711(0x277)](0x40);if(_0x1e92dc){var _0x5d918e=_0x5c0051['indexOf'](_0x1e92dc);_0x5d918e!==-0x1&&(_0x12b4c2=_0x5d918e);}return _0x2abea6(_0x5c0051,_0x12b4c2,_0x23ba29);},'_map':_0x769637(0x179)};function _0x2abea6(_0x43304c,_0x2cc96f,_0x4942c2){const _0x2869a6=_0x769637;for(var _0x1c3d59=[],_0xa2cd04=0x0,_0x2fa4f1=0x0;_0x2fa4f1<_0x2cc96f;_0x2fa4f1++)if(_0x2fa4f1%0x4){var _0x4f87b1=_0x4942c2[_0x43304c['charCodeAt'](_0x2fa4f1-0x1)]<<_0x2fa4f1%0x4*0x2,_0x5dc37a=_0x4942c2[_0x43304c[_0x2869a6(0xa5)](_0x2fa4f1)]>>>0x6-_0x2fa4f1%0x4*0x2,_0x388754=_0x4f87b1|_0x5dc37a;_0x1c3d59[_0xa2cd04>>>0x2]|=_0x388754<<0x18-_0xa2cd04%0x4*0x8,_0xa2cd04++;}return _0x16dc64[_0x2869a6(0x218)](_0x1c3d59,_0xa2cd04);}}()),_0x164735[_0x47b165(0x214)][_0x47b165(0x329)];}));}(_0x46dd13)),_0x46dd13['exports'];}var _0x10cc54={'exports':{}},_0x3ec267;function _0x2084b7(){const _0x32ffa1=_0x5d8d99;return _0x3ec267||(_0x3ec267=0x1,function(_0xa8d7b0,_0x46534b){(function(_0x4c0938,_0xf13b1f){_0xa8d7b0['exports']=_0xf13b1f(_0x3bb9d1());}(_0x5d33cd,function(_0x5220b5){const _0x2175a6=_0x3a4a;return function(_0x502d75){const _0xa157f2=_0x3a4a;var _0x17bb97=_0x5220b5,_0xf1e041=_0x17bb97[_0xa157f2(0x250)],_0x230f28=_0xf1e041[_0xa157f2(0x33e)],_0x800c85=_0xf1e041[_0xa157f2(0x280)],_0x2cab5d=_0x17bb97['algo'],_0x239410=[];(function(){const _0x708814=_0xa157f2;for(var _0x916612=0x0;_0x916612<0x40;_0x916612++)_0x239410[_0x916612]=_0x502d75[_0x708814(0x30f)](_0x502d75[_0x708814(0x216)](_0x916612+0x1))*0x100000000|0x0;}());var _0x181def=_0x2cab5d[_0xa157f2(0x2af)]=_0x800c85[_0xa157f2(0x352)]({'_doReset':function(){const _0x1eda4f=_0xa157f2;this[_0x1eda4f(0x2da)]=new _0x230f28['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x19263e,_0x226a73){const _0xd1aff2=_0xa157f2;for(var _0x18efc4=0x0;_0x18efc4<0x10;_0x18efc4++){var _0x26c878=_0x226a73+_0x18efc4,_0x7e73bb=_0x19263e[_0x26c878];_0x19263e[_0x26c878]=(_0x7e73bb<<0x8|_0x7e73bb>>>0x18)&0xff00ff|(_0x7e73bb<<0x18|_0x7e73bb>>>0x8)&0xff00ff00;}var _0x1cafe7=this[_0xd1aff2(0x2da)][_0xd1aff2(0x297)],_0x455ae7=_0x19263e[_0x226a73+0x0],_0x526ba4=_0x19263e[_0x226a73+0x1],_0x1cc981=_0x19263e[_0x226a73+0x2],_0x59d3ca=_0x19263e[_0x226a73+0x3],_0x30bb75=_0x19263e[_0x226a73+0x4],_0x53656f=_0x19263e[_0x226a73+0x5],_0x4a9ccf=_0x19263e[_0x226a73+0x6],_0x297166=_0x19263e[_0x226a73+0x7],_0x2d8545=_0x19263e[_0x226a73+0x8],_0x495ffb=_0x19263e[_0x226a73+0x9],_0x5e1421=_0x19263e[_0x226a73+0xa],_0x50e1ea=_0x19263e[_0x226a73+0xb],_0x32e811=_0x19263e[_0x226a73+0xc],_0x153182=_0x19263e[_0x226a73+0xd],_0x32659a=_0x19263e[_0x226a73+0xe],_0x554875=_0x19263e[_0x226a73+0xf],_0x3dd718=_0x1cafe7[0x0],_0x274d63=_0x1cafe7[0x1],_0x1a0b4c=_0x1cafe7[0x2],_0xd4795b=_0x1cafe7[0x3];_0x3dd718=_0x12f50d(_0x3dd718,_0x274d63,_0x1a0b4c,_0xd4795b,_0x455ae7,0x7,_0x239410[0x0]),_0xd4795b=_0x12f50d(_0xd4795b,_0x3dd718,_0x274d63,_0x1a0b4c,_0x526ba4,0xc,_0x239410[0x1]),_0x1a0b4c=_0x12f50d(_0x1a0b4c,_0xd4795b,_0x3dd718,_0x274d63,_0x1cc981,0x11,_0x239410[0x2]),_0x274d63=_0x12f50d(_0x274d63,_0x1a0b4c,_0xd4795b,_0x3dd718,_0x59d3ca,0x16,_0x239410[0x3]),_0x3dd718=_0x12f50d(_0x3dd718,_0x274d63,_0x1a0b4c,_0xd4795b,_0x30bb75,0x7,_0x239410[0x4]),_0xd4795b=_0x12f50d(_0xd4795b,_0x3dd718,_0x274d63,_0x1a0b4c,_0x53656f,0xc,_0x239410[0x5]),_0x1a0b4c=_0x12f50d(_0x1a0b4c,_0xd4795b,_0x3dd718,_0x274d63,_0x4a9ccf,0x11,_0x239410[0x6]),_0x274d63=_0x12f50d(_0x274d63,_0x1a0b4c,_0xd4795b,_0x3dd718,_0x297166,0x16,_0x239410[0x7]),_0x3dd718=_0x12f50d(_0x3dd718,_0x274d63,_0x1a0b4c,_0xd4795b,_0x2d8545,0x7,_0x239410[0x8]),_0xd4795b=_0x12f50d(_0xd4795b,_0x3dd718,_0x274d63,_0x1a0b4c,_0x495ffb,0xc,_0x239410[0x9]),_0x1a0b4c=_0x12f50d(_0x1a0b4c,_0xd4795b,_0x3dd718,_0x274d63,_0x5e1421,0x11,_0x239410[0xa]),_0x274d63=_0x12f50d(_0x274d63,_0x1a0b4c,_0xd4795b,_0x3dd718,_0x50e1ea,0x16,_0x239410[0xb]),_0x3dd718=_0x12f50d(_0x3dd718,_0x274d63,_0x1a0b4c,_0xd4795b,_0x32e811,0x7,_0x239410[0xc]),_0xd4795b=_0x12f50d(_0xd4795b,_0x3dd718,_0x274d63,_0x1a0b4c,_0x153182,0xc,_0x239410[0xd]),_0x1a0b4c=_0x12f50d(_0x1a0b4c,_0xd4795b,_0x3dd718,_0x274d63,_0x32659a,0x11,_0x239410[0xe]),_0x274d63=_0x12f50d(_0x274d63,_0x1a0b4c,_0xd4795b,_0x3dd718,_0x554875,0x16,_0x239410[0xf]),_0x3dd718=_0x24ad03(_0x3dd718,_0x274d63,_0x1a0b4c,_0xd4795b,_0x526ba4,0x5,_0x239410[0x10]),_0xd4795b=_0x24ad03(_0xd4795b,_0x3dd718,_0x274d63,_0x1a0b4c,_0x4a9ccf,0x9,_0x239410[0x11]),_0x1a0b4c=_0x24ad03(_0x1a0b4c,_0xd4795b,_0x3dd718,_0x274d63,_0x50e1ea,0xe,_0x239410[0x12]),_0x274d63=_0x24ad03(_0x274d63,_0x1a0b4c,_0xd4795b,_0x3dd718,_0x455ae7,0x14,_0x239410[0x13]),_0x3dd718=_0x24ad03(_0x3dd718,_0x274d63,_0x1a0b4c,_0xd4795b,_0x53656f,0x5,_0x239410[0x14]),_0xd4795b=_0x24ad03(_0xd4795b,_0x3dd718,_0x274d63,_0x1a0b4c,_0x5e1421,0x9,_0x239410[0x15]),_0x1a0b4c=_0x24ad03(_0x1a0b4c,_0xd4795b,_0x3dd718,_0x274d63,_0x554875,0xe,_0x239410[0x16]),_0x274d63=_0x24ad03(_0x274d63,_0x1a0b4c,_0xd4795b,_0x3dd718,_0x30bb75,0x14,_0x239410[0x17]),_0x3dd718=_0x24ad03(_0x3dd718,_0x274d63,_0x1a0b4c,_0xd4795b,_0x495ffb,0x5,_0x239410[0x18]),_0xd4795b=_0x24ad03(_0xd4795b,_0x3dd718,_0x274d63,_0x1a0b4c,_0x32659a,0x9,_0x239410[0x19]),_0x1a0b4c=_0x24ad03(_0x1a0b4c,_0xd4795b,_0x3dd718,_0x274d63,_0x59d3ca,0xe,_0x239410[0x1a]),_0x274d63=_0x24ad03(_0x274d63,_0x1a0b4c,_0xd4795b,_0x3dd718,_0x2d8545,0x14,_0x239410[0x1b]),_0x3dd718=_0x24ad03(_0x3dd718,_0x274d63,_0x1a0b4c,_0xd4795b,_0x153182,0x5,_0x239410[0x1c]),_0xd4795b=_0x24ad03(_0xd4795b,_0x3dd718,_0x274d63,_0x1a0b4c,_0x1cc981,0x9,_0x239410[0x1d]),_0x1a0b4c=_0x24ad03(_0x1a0b4c,_0xd4795b,_0x3dd718,_0x274d63,_0x297166,0xe,_0x239410[0x1e]),_0x274d63=_0x24ad03(_0x274d63,_0x1a0b4c,_0xd4795b,_0x3dd718,_0x32e811,0x14,_0x239410[0x1f]),_0x3dd718=_0x3d747e(_0x3dd718,_0x274d63,_0x1a0b4c,_0xd4795b,_0x53656f,0x4,_0x239410[0x20]),_0xd4795b=_0x3d747e(_0xd4795b,_0x3dd718,_0x274d63,_0x1a0b4c,_0x2d8545,0xb,_0x239410[0x21]),_0x1a0b4c=_0x3d747e(_0x1a0b4c,_0xd4795b,_0x3dd718,_0x274d63,_0x50e1ea,0x10,_0x239410[0x22]),_0x274d63=_0x3d747e(_0x274d63,_0x1a0b4c,_0xd4795b,_0x3dd718,_0x32659a,0x17,_0x239410[0x23]),_0x3dd718=_0x3d747e(_0x3dd718,_0x274d63,_0x1a0b4c,_0xd4795b,_0x526ba4,0x4,_0x239410[0x24]),_0xd4795b=_0x3d747e(_0xd4795b,_0x3dd718,_0x274d63,_0x1a0b4c,_0x30bb75,0xb,_0x239410[0x25]),_0x1a0b4c=_0x3d747e(_0x1a0b4c,_0xd4795b,_0x3dd718,_0x274d63,_0x297166,0x10,_0x239410[0x26]),_0x274d63=_0x3d747e(_0x274d63,_0x1a0b4c,_0xd4795b,_0x3dd718,_0x5e1421,0x17,_0x239410[0x27]),_0x3dd718=_0x3d747e(_0x3dd718,_0x274d63,_0x1a0b4c,_0xd4795b,_0x153182,0x4,_0x239410[0x28]),_0xd4795b=_0x3d747e(_0xd4795b,_0x3dd718,_0x274d63,_0x1a0b4c,_0x455ae7,0xb,_0x239410[0x29]),_0x1a0b4c=_0x3d747e(_0x1a0b4c,_0xd4795b,_0x3dd718,_0x274d63,_0x59d3ca,0x10,_0x239410[0x2a]),_0x274d63=_0x3d747e(_0x274d63,_0x1a0b4c,_0xd4795b,_0x3dd718,_0x4a9ccf,0x17,_0x239410[0x2b]),_0x3dd718=_0x3d747e(_0x3dd718,_0x274d63,_0x1a0b4c,_0xd4795b,_0x495ffb,0x4,_0x239410[0x2c]),_0xd4795b=_0x3d747e(_0xd4795b,_0x3dd718,_0x274d63,_0x1a0b4c,_0x32e811,0xb,_0x239410[0x2d]),_0x1a0b4c=_0x3d747e(_0x1a0b4c,_0xd4795b,_0x3dd718,_0x274d63,_0x554875,0x10,_0x239410[0x2e]),_0x274d63=_0x3d747e(_0x274d63,_0x1a0b4c,_0xd4795b,_0x3dd718,_0x1cc981,0x17,_0x239410[0x2f]),_0x3dd718=_0x2471a9(_0x3dd718,_0x274d63,_0x1a0b4c,_0xd4795b,_0x455ae7,0x6,_0x239410[0x30]),_0xd4795b=_0x2471a9(_0xd4795b,_0x3dd718,_0x274d63,_0x1a0b4c,_0x297166,0xa,_0x239410[0x31]),_0x1a0b4c=_0x2471a9(_0x1a0b4c,_0xd4795b,_0x3dd718,_0x274d63,_0x32659a,0xf,_0x239410[0x32]),_0x274d63=_0x2471a9(_0x274d63,_0x1a0b4c,_0xd4795b,_0x3dd718,_0x53656f,0x15,_0x239410[0x33]),_0x3dd718=_0x2471a9(_0x3dd718,_0x274d63,_0x1a0b4c,_0xd4795b,_0x32e811,0x6,_0x239410[0x34]),_0xd4795b=_0x2471a9(_0xd4795b,_0x3dd718,_0x274d63,_0x1a0b4c,_0x59d3ca,0xa,_0x239410[0x35]),_0x1a0b4c=_0x2471a9(_0x1a0b4c,_0xd4795b,_0x3dd718,_0x274d63,_0x5e1421,0xf,_0x239410[0x36]),_0x274d63=_0x2471a9(_0x274d63,_0x1a0b4c,_0xd4795b,_0x3dd718,_0x526ba4,0x15,_0x239410[0x37]),_0x3dd718=_0x2471a9(_0x3dd718,_0x274d63,_0x1a0b4c,_0xd4795b,_0x2d8545,0x6,_0x239410[0x38]),_0xd4795b=_0x2471a9(_0xd4795b,_0x3dd718,_0x274d63,_0x1a0b4c,_0x554875,0xa,_0x239410[0x39]),_0x1a0b4c=_0x2471a9(_0x1a0b4c,_0xd4795b,_0x3dd718,_0x274d63,_0x4a9ccf,0xf,_0x239410[0x3a]),_0x274d63=_0x2471a9(_0x274d63,_0x1a0b4c,_0xd4795b,_0x3dd718,_0x153182,0x15,_0x239410[0x3b]),_0x3dd718=_0x2471a9(_0x3dd718,_0x274d63,_0x1a0b4c,_0xd4795b,_0x30bb75,0x6,_0x239410[0x3c]),_0xd4795b=_0x2471a9(_0xd4795b,_0x3dd718,_0x274d63,_0x1a0b4c,_0x50e1ea,0xa,_0x239410[0x3d]),_0x1a0b4c=_0x2471a9(_0x1a0b4c,_0xd4795b,_0x3dd718,_0x274d63,_0x1cc981,0xf,_0x239410[0x3e]),_0x274d63=_0x2471a9(_0x274d63,_0x1a0b4c,_0xd4795b,_0x3dd718,_0x495ffb,0x15,_0x239410[0x3f]),_0x1cafe7[0x0]=_0x1cafe7[0x0]+_0x3dd718|0x0,_0x1cafe7[0x1]=_0x1cafe7[0x1]+_0x274d63|0x0,_0x1cafe7[0x2]=_0x1cafe7[0x2]+_0x1a0b4c|0x0,_0x1cafe7[0x3]=_0x1cafe7[0x3]+_0xd4795b|0x0;},'_doFinalize':function(){const _0xe14b7f=_0xa157f2;var _0x48ba02=this[_0xe14b7f(0x480)],_0x3510d4=_0x48ba02[_0xe14b7f(0x297)],_0x113336=this[_0xe14b7f(0x204)]*0x8,_0x4142d2=_0x48ba02[_0xe14b7f(0x4dd)]*0x8;_0x3510d4[_0x4142d2>>>0x5]|=0x80<<0x18-_0x4142d2%0x20;var _0x20ed02=_0x502d75[_0xe14b7f(0x46e)](_0x113336/0x100000000),_0x2d84d2=_0x113336;_0x3510d4[(_0x4142d2+0x40>>>0x9<<0x4)+0xf]=(_0x20ed02<<0x8|_0x20ed02>>>0x18)&0xff00ff|(_0x20ed02<<0x18|_0x20ed02>>>0x8)&0xff00ff00,_0x3510d4[(_0x4142d2+0x40>>>0x9<<0x4)+0xe]=(_0x2d84d2<<0x8|_0x2d84d2>>>0x18)&0xff00ff|(_0x2d84d2<<0x18|_0x2d84d2>>>0x8)&0xff00ff00,_0x48ba02[_0xe14b7f(0x4dd)]=(_0x3510d4[_0xe14b7f(0x52c)]+0x1)*0x4,this[_0xe14b7f(0x276)]();for(var _0x4fdccb=this['_hash'],_0x5199dd=_0x4fdccb[_0xe14b7f(0x297)],_0x32540c=0x0;_0x32540c<0x4;_0x32540c++){var _0x419f17=_0x5199dd[_0x32540c];_0x5199dd[_0x32540c]=(_0x419f17<<0x8|_0x419f17>>>0x18)&0xff00ff|(_0x419f17<<0x18|_0x419f17>>>0x8)&0xff00ff00;}return _0x4fdccb;},'clone':function(){const _0x4306a6=_0xa157f2;var _0x39072c=_0x800c85['clone'][_0x4306a6(0xcf)](this);return _0x39072c[_0x4306a6(0x2da)]=this['_hash'][_0x4306a6(0x384)](),_0x39072c;}});function _0x12f50d(_0x7b742d,_0x244cf6,_0x5149a7,_0x2355f3,_0x37dc41,_0xd8ac8a,_0x1e23d4){var _0x2e9e3b=_0x7b742d+(_0x244cf6&_0x5149a7|~_0x244cf6&_0x2355f3)+_0x37dc41+_0x1e23d4;return(_0x2e9e3b<<_0xd8ac8a|_0x2e9e3b>>>0x20-_0xd8ac8a)+_0x244cf6;}function _0x24ad03(_0x43c8c2,_0x3f963d,_0x5ae66e,_0x3dab60,_0x53a3b0,_0x3f7420,_0x5c03d0){var _0x2d8f43=_0x43c8c2+(_0x3f963d&_0x3dab60|_0x5ae66e&~_0x3dab60)+_0x53a3b0+_0x5c03d0;return(_0x2d8f43<<_0x3f7420|_0x2d8f43>>>0x20-_0x3f7420)+_0x3f963d;}function _0x3d747e(_0x436d78,_0x5bf6ca,_0x1ebd11,_0x1637fc,_0x35218c,_0x4144ac,_0x302e69){var _0x2b057d=_0x436d78+(_0x5bf6ca^_0x1ebd11^_0x1637fc)+_0x35218c+_0x302e69;return(_0x2b057d<<_0x4144ac|_0x2b057d>>>0x20-_0x4144ac)+_0x5bf6ca;}function _0x2471a9(_0x1ea1e5,_0x2c0c1c,_0x3ae2ff,_0xf98f83,_0x40f9d3,_0x6c377a,_0x28db56){var _0x4f2fcc=_0x1ea1e5+(_0x3ae2ff^(_0x2c0c1c|~_0xf98f83))+_0x40f9d3+_0x28db56;return(_0x4f2fcc<<_0x6c377a|_0x4f2fcc>>>0x20-_0x6c377a)+_0x2c0c1c;}_0x17bb97[_0xa157f2(0x2af)]=_0x800c85[_0xa157f2(0x3fa)](_0x181def),_0x17bb97[_0xa157f2(0x4aa)]=_0x800c85[_0xa157f2(0x1b6)](_0x181def);}(Math),_0x5220b5[_0x2175a6(0x2af)];}));}(_0x10cc54)),_0x10cc54[_0x32ffa1(0x3fd)];}var _0x26f286={'exports':{}},_0x41a06e={'exports':{}},_0x4d9120;function _0x3aac5(){const _0x1c3bc1=_0x5d8d99;return _0x4d9120||(_0x4d9120=0x1,function(_0x2c536b,_0x9dffcf){(function(_0x35ccc2,_0x101bc4){const _0x132d5d=_0x3a4a;_0x2c536b[_0x132d5d(0x3fd)]=_0x101bc4(_0x3bb9d1());}(_0x5d33cd,function(_0x444fd5){const _0x60d5d8=_0x3a4a;return(function(){const _0xcba120=_0x3a4a;var _0x3ff497=_0x444fd5,_0x238541=_0x3ff497[_0xcba120(0x250)],_0x3d5d16=_0x238541[_0xcba120(0x33e)],_0x4c0fff=_0x238541['Hasher'],_0x55f8c2=_0x3ff497[_0xcba120(0x4c6)],_0x1adae2=[],_0x4f0740=_0x55f8c2[_0xcba120(0x1bd)]=_0x4c0fff[_0xcba120(0x352)]({'_doReset':function(){const _0x2220ea=_0xcba120;this[_0x2220ea(0x2da)]=new _0x3d5d16[(_0x2220ea(0x102))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1db39d,_0x313410){const _0x5c4172=_0xcba120;for(var _0x38ea41=this['_hash'][_0x5c4172(0x297)],_0x2276de=_0x38ea41[0x0],_0x2acf3f=_0x38ea41[0x1],_0x131ce3=_0x38ea41[0x2],_0x5e5eda=_0x38ea41[0x3],_0x1afd65=_0x38ea41[0x4],_0x49bfbe=0x0;_0x49bfbe<0x50;_0x49bfbe++){if(_0x49bfbe<0x10)_0x1adae2[_0x49bfbe]=_0x1db39d[_0x313410+_0x49bfbe]|0x0;else{var _0x1ef314=_0x1adae2[_0x49bfbe-0x3]^_0x1adae2[_0x49bfbe-0x8]^_0x1adae2[_0x49bfbe-0xe]^_0x1adae2[_0x49bfbe-0x10];_0x1adae2[_0x49bfbe]=_0x1ef314<<0x1|_0x1ef314>>>0x1f;}var _0x57b9d6=(_0x2276de<<0x5|_0x2276de>>>0x1b)+_0x1afd65+_0x1adae2[_0x49bfbe];_0x49bfbe<0x14?_0x57b9d6+=(_0x2acf3f&_0x131ce3|~_0x2acf3f&_0x5e5eda)+0x5a827999:_0x49bfbe<0x28?_0x57b9d6+=(_0x2acf3f^_0x131ce3^_0x5e5eda)+0x6ed9eba1:_0x49bfbe<0x3c?_0x57b9d6+=(_0x2acf3f&_0x131ce3|_0x2acf3f&_0x5e5eda|_0x131ce3&_0x5e5eda)-0x70e44324:_0x57b9d6+=(_0x2acf3f^_0x131ce3^_0x5e5eda)-0x359d3e2a,_0x1afd65=_0x5e5eda,_0x5e5eda=_0x131ce3,_0x131ce3=_0x2acf3f<<0x1e|_0x2acf3f>>>0x2,_0x2acf3f=_0x2276de,_0x2276de=_0x57b9d6;}_0x38ea41[0x0]=_0x38ea41[0x0]+_0x2276de|0x0,_0x38ea41[0x1]=_0x38ea41[0x1]+_0x2acf3f|0x0,_0x38ea41[0x2]=_0x38ea41[0x2]+_0x131ce3|0x0,_0x38ea41[0x3]=_0x38ea41[0x3]+_0x5e5eda|0x0,_0x38ea41[0x4]=_0x38ea41[0x4]+_0x1afd65|0x0;},'_doFinalize':function(){const _0xc30a6d=_0xcba120;var _0x823307=this[_0xc30a6d(0x480)],_0x3d0511=_0x823307[_0xc30a6d(0x297)],_0x4510a2=this['_nDataBytes']*0x8,_0x138e32=_0x823307[_0xc30a6d(0x4dd)]*0x8;return _0x3d0511[_0x138e32>>>0x5]|=0x80<<0x18-_0x138e32%0x20,_0x3d0511[(_0x138e32+0x40>>>0x9<<0x4)+0xe]=Math[_0xc30a6d(0x46e)](_0x4510a2/0x100000000),_0x3d0511[(_0x138e32+0x40>>>0x9<<0x4)+0xf]=_0x4510a2,_0x823307[_0xc30a6d(0x4dd)]=_0x3d0511[_0xc30a6d(0x52c)]*0x4,this[_0xc30a6d(0x276)](),this[_0xc30a6d(0x2da)];},'clone':function(){const _0x2083e8=_0xcba120;var _0x3fb9d8=_0x4c0fff['clone']['call'](this);return _0x3fb9d8['_hash']=this[_0x2083e8(0x2da)][_0x2083e8(0x384)](),_0x3fb9d8;}});_0x3ff497[_0xcba120(0x1bd)]=_0x4c0fff[_0xcba120(0x3fa)](_0x4f0740),_0x3ff497[_0xcba120(0x441)]=_0x4c0fff[_0xcba120(0x1b6)](_0x4f0740);}()),_0x444fd5[_0x60d5d8(0x1bd)];}));}(_0x41a06e)),_0x41a06e[_0x1c3bc1(0x3fd)];}var _0x4a2fe1={'exports':{}},_0x136b48;function _0xf2887a(){const _0x5e3f86=_0x5d8d99;return _0x136b48||(_0x136b48=0x1,function(_0x121236,_0x1cdea5){(function(_0x25b182,_0x5c8a96){const _0x13b392=_0x3a4a;_0x121236[_0x13b392(0x3fd)]=_0x5c8a96(_0x3bb9d1());}(_0x5d33cd,function(_0x2ad15e){(function(){const _0x388cec=_0x3a4a;var _0x1a54f8=_0x2ad15e,_0x71c656=_0x1a54f8[_0x388cec(0x250)],_0x5c2379=_0x71c656[_0x388cec(0xfe)],_0xf4dda4=_0x1a54f8[_0x388cec(0x214)],_0x413f83=_0xf4dda4[_0x388cec(0x49e)],_0x1bbc6b=_0x1a54f8[_0x388cec(0x4c6)];_0x1bbc6b[_0x388cec(0x4bb)]=_0x5c2379[_0x388cec(0x352)]({'init':function(_0x77b576,_0x266838){const _0x41fa20=_0x388cec;_0x77b576=this[_0x41fa20(0x144)]=new _0x77b576[(_0x41fa20(0x102))](),typeof _0x266838==_0x41fa20(0x452)&&(_0x266838=_0x413f83['parse'](_0x266838));var _0x360cf9=_0x77b576[_0x41fa20(0x396)],_0x4255e3=_0x360cf9*0x4;_0x266838['sigBytes']>_0x4255e3&&(_0x266838=_0x77b576[_0x41fa20(0x3c4)](_0x266838)),_0x266838[_0x41fa20(0x110)]();for(var _0x56bdc9=this[_0x41fa20(0x157)]=_0x266838['clone'](),_0x5df02d=this['_iKey']=_0x266838['clone'](),_0x4777f6=_0x56bdc9['words'],_0x29e66b=_0x5df02d[_0x41fa20(0x297)],_0x38019f=0x0;_0x38019f<_0x360cf9;_0x38019f++)_0x4777f6[_0x38019f]^=0x5c5c5c5c,_0x29e66b[_0x38019f]^=0x36363636;_0x56bdc9[_0x41fa20(0x4dd)]=_0x5df02d['sigBytes']=_0x4255e3,this['reset']();},'reset':function(){const _0x1c03a9=_0x388cec;var _0x521749=this[_0x1c03a9(0x144)];_0x521749[_0x1c03a9(0x127)](),_0x521749[_0x1c03a9(0x145)](this['_iKey']);},'update':function(_0x5ed1ba){const _0x1502ca=_0x388cec;return this[_0x1502ca(0x144)][_0x1502ca(0x145)](_0x5ed1ba),this;},'finalize':function(_0x1ed05e){const _0x18e88f=_0x388cec;var _0x4ccac0=this['_hasher'],_0x4bb9e8=_0x4ccac0[_0x18e88f(0x3c4)](_0x1ed05e);_0x4ccac0[_0x18e88f(0x127)]();var _0x28ba8f=_0x4ccac0[_0x18e88f(0x3c4)](this['_oKey'][_0x18e88f(0x384)]()[_0x18e88f(0x1b5)](_0x4bb9e8));return _0x28ba8f;}});}());}));}(_0x4a2fe1)),_0x4a2fe1[_0x5e3f86(0x3fd)];}var _0x21f226;function _0xd05c58(){const _0x1f6404=_0x5d8d99;return _0x21f226||(_0x21f226=0x1,function(_0x13a309,_0x3ac0a8){(function(_0x38cf62,_0x5e5fa6,_0x2f686b){const _0x1ea646=_0x3a4a;_0x13a309[_0x1ea646(0x3fd)]=_0x5e5fa6(_0x3bb9d1(),_0x3aac5(),_0xf2887a());}(_0x5d33cd,function(_0x10cbf5){return(function(){const _0xcac9f8=_0x3a4a;var _0xf64644=_0x10cbf5,_0x536518=_0xf64644[_0xcac9f8(0x250)],_0x485851=_0x536518[_0xcac9f8(0xfe)],_0x502e34=_0x536518[_0xcac9f8(0x33e)],_0x52985c=_0xf64644[_0xcac9f8(0x4c6)],_0x31fda7=_0x52985c[_0xcac9f8(0x2af)],_0x5dedca=_0x52985c[_0xcac9f8(0x4ab)]=_0x485851[_0xcac9f8(0x352)]({'cfg':_0x485851[_0xcac9f8(0x352)]({'keySize':0x80/0x20,'hasher':_0x31fda7,'iterations':0x1}),'init':function(_0x3a93df){const _0x256438=_0xcac9f8;this[_0x256438(0x3bc)]=this['cfg'][_0x256438(0x352)](_0x3a93df);},'compute':function(_0x51c59b,_0x587fb9){const _0x1b96a5=_0xcac9f8;for(var _0x229c3f,_0x41c843=this['cfg'],_0x2a3665=_0x41c843[_0x1b96a5(0x224)][_0x1b96a5(0x218)](),_0x96a912=_0x502e34['create'](),_0x521923=_0x96a912[_0x1b96a5(0x297)],_0x548a12=_0x41c843[_0x1b96a5(0x38a)],_0x3c5b29=_0x41c843['iterations'];_0x521923[_0x1b96a5(0x52c)]<_0x548a12;){_0x229c3f&&_0x2a3665[_0x1b96a5(0x145)](_0x229c3f),_0x229c3f=_0x2a3665[_0x1b96a5(0x145)](_0x51c59b)['finalize'](_0x587fb9),_0x2a3665['reset']();for(var _0x427db7=0x1;_0x427db7<_0x3c5b29;_0x427db7++)_0x229c3f=_0x2a3665['finalize'](_0x229c3f),_0x2a3665[_0x1b96a5(0x127)]();_0x96a912[_0x1b96a5(0x1b5)](_0x229c3f);}return _0x96a912[_0x1b96a5(0x4dd)]=_0x548a12*0x4,_0x96a912;}});_0xf64644[_0xcac9f8(0x4ab)]=function(_0x106857,_0x1a9241,_0x4709c3){const _0x36472e=_0xcac9f8;return _0x5dedca[_0x36472e(0x218)](_0x4709c3)[_0x36472e(0x342)](_0x106857,_0x1a9241);};}()),_0x10cbf5['EvpKDF'];}));}(_0x26f286)),_0x26f286[_0x1f6404(0x3fd)];}var _0x3f4bf9={'exports':{}},_0x2a30cd;function _0x19885c(){const _0x27a372=_0x5d8d99;return _0x2a30cd||(_0x2a30cd=0x1,function(_0x4746cb,_0x3980e3){(function(_0x569cc8,_0x41996b,_0xd32511){const _0x4fc2e3=_0x3a4a;_0x4746cb[_0x4fc2e3(0x3fd)]=_0x41996b(_0x3bb9d1(),_0xd05c58());}(_0x5d33cd,function(_0x1c79c4){const _0x4f84c0=_0x3a4a;_0x1c79c4[_0x4f84c0(0x250)]['Cipher']||function(_0x19ab3c){const _0x3ca1e5=_0x4f84c0;var _0x595463=_0x1c79c4,_0x53f16b=_0x595463['lib'],_0x5cfa7=_0x53f16b[_0x3ca1e5(0xfe)],_0x324a59=_0x53f16b[_0x3ca1e5(0x33e)],_0x21b7be=_0x53f16b[_0x3ca1e5(0x1f6)],_0x33ef47=_0x595463[_0x3ca1e5(0x214)];_0x33ef47[_0x3ca1e5(0x49e)];var _0x1ba0e6=_0x33ef47[_0x3ca1e5(0x329)],_0x4e6ee3=_0x595463[_0x3ca1e5(0x4c6)],_0x1a6397=_0x4e6ee3['EvpKDF'],_0x3bc1cb=_0x53f16b[_0x3ca1e5(0x251)]=_0x21b7be['extend']({'cfg':_0x5cfa7['extend'](),'createEncryptor':function(_0x4b2e1f,_0x18f55f){const _0x7c8f18=_0x3ca1e5;return this[_0x7c8f18(0x218)](this[_0x7c8f18(0x496)],_0x4b2e1f,_0x18f55f);},'createDecryptor':function(_0x438842,_0x589e50){const _0x1264ac=_0x3ca1e5;return this[_0x1264ac(0x218)](this[_0x1264ac(0x41b)],_0x438842,_0x589e50);},'init':function(_0x2867fa,_0x47089d,_0x18bde0){const _0x1ca08b=_0x3ca1e5;this[_0x1ca08b(0x3bc)]=this[_0x1ca08b(0x3bc)][_0x1ca08b(0x352)](_0x18bde0),this[_0x1ca08b(0x490)]=_0x2867fa,this[_0x1ca08b(0x4da)]=_0x47089d,this[_0x1ca08b(0x127)]();},'reset':function(){const _0x364dcb=_0x3ca1e5;_0x21b7be[_0x364dcb(0x127)][_0x364dcb(0xcf)](this),this['_doReset']();},'process':function(_0x59932d){const _0x20dcbd=_0x3ca1e5;return this[_0x20dcbd(0x3a7)](_0x59932d),this[_0x20dcbd(0x276)]();},'finalize':function(_0x5d0e91){const _0x497dd9=_0x3ca1e5;_0x5d0e91&&this[_0x497dd9(0x3a7)](_0x5d0e91);var _0x20bfb5=this['_doFinalize']();return _0x20bfb5;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x583314(_0x3ccc65){const _0x4f15b4=_0x3a4a;return typeof _0x3ccc65==_0x4f15b4(0x452)?_0xc44367:_0x28d4c3;}return function(_0x51486c){return{'encrypt':function(_0xd505b6,_0x39e72a,_0x21e0d9){const _0x1176e8=_0x3a4a;return _0x583314(_0x39e72a)[_0x1176e8(0x3ad)](_0x51486c,_0xd505b6,_0x39e72a,_0x21e0d9);},'decrypt':function(_0x2482ed,_0x5ea3db,_0x262f7e){return _0x583314(_0x5ea3db)['decrypt'](_0x51486c,_0x2482ed,_0x5ea3db,_0x262f7e);}};};}())});_0x53f16b[_0x3ca1e5(0x4cf)]=_0x3bc1cb['extend']({'_doFinalize':function(){var _0x47b362=this['_process'](!0x0);return _0x47b362;},'blockSize':0x1});var _0x28495f=_0x595463[_0x3ca1e5(0x4ff)]={},_0x3798d0=_0x53f16b[_0x3ca1e5(0x37a)]=_0x5cfa7[_0x3ca1e5(0x352)]({'createEncryptor':function(_0x562a54,_0xb534b3){const _0xf0fd19=_0x3ca1e5;return this[_0xf0fd19(0x4d7)][_0xf0fd19(0x218)](_0x562a54,_0xb534b3);},'createDecryptor':function(_0x4e975b,_0x59db3a){const _0x187ef2=_0x3ca1e5;return this[_0x187ef2(0x1a7)][_0x187ef2(0x218)](_0x4e975b,_0x59db3a);},'init':function(_0x27e395,_0x4d3d1e){const _0x15d9df=_0x3ca1e5;this[_0x15d9df(0x23e)]=_0x27e395,this[_0x15d9df(0x19f)]=_0x4d3d1e;}}),_0x1ba173=_0x28495f[_0x3ca1e5(0x3ed)]=(function(){const _0x55ef7d=_0x3ca1e5;var _0x2c3090=_0x3798d0[_0x55ef7d(0x352)]();_0x2c3090['Encryptor']=_0x2c3090[_0x55ef7d(0x352)]({'processBlock':function(_0x4c1d76,_0x49532f){const _0x9f1f43=_0x55ef7d;var _0x5efa76=this[_0x9f1f43(0x23e)],_0xcda9dd=_0x5efa76['blockSize'];_0x1897d6['call'](this,_0x4c1d76,_0x49532f,_0xcda9dd),_0x5efa76['encryptBlock'](_0x4c1d76,_0x49532f),this['_prevBlock']=_0x4c1d76[_0x9f1f43(0x4ac)](_0x49532f,_0x49532f+_0xcda9dd);}}),_0x2c3090[_0x55ef7d(0x1a7)]=_0x2c3090[_0x55ef7d(0x352)]({'processBlock':function(_0x7a8a69,_0x457b49){const _0x3c3273=_0x55ef7d;var _0x3a179c=this[_0x3c3273(0x23e)],_0x58fd1e=_0x3a179c[_0x3c3273(0x396)],_0x39e779=_0x7a8a69[_0x3c3273(0x4ac)](_0x457b49,_0x457b49+_0x58fd1e);_0x3a179c[_0x3c3273(0x21e)](_0x7a8a69,_0x457b49),_0x1897d6[_0x3c3273(0xcf)](this,_0x7a8a69,_0x457b49,_0x58fd1e),this[_0x3c3273(0xf8)]=_0x39e779;}});function _0x1897d6(_0x3c1fcb,_0x584a3f,_0x2e6fbf){var _0x25bbc7,_0x1746d0=this['_iv'];_0x1746d0?(_0x25bbc7=_0x1746d0,this['_iv']=_0x19ab3c):_0x25bbc7=this['_prevBlock'];for(var _0x30766b=0x0;_0x30766b<_0x2e6fbf;_0x30766b++)_0x3c1fcb[_0x584a3f+_0x30766b]^=_0x25bbc7[_0x30766b];}return _0x2c3090;}()),_0x578e82=_0x595463['pad']={},_0x37f8e2=_0x578e82['Pkcs7']={'pad':function(_0x1e6214,_0x2318c1){const _0x26bd3a=_0x3ca1e5;for(var _0x1d18a8=_0x2318c1*0x4,_0x41f8fa=_0x1d18a8-_0x1e6214[_0x26bd3a(0x4dd)]%_0x1d18a8,_0x1d8ea3=_0x41f8fa<<0x18|_0x41f8fa<<0x10|_0x41f8fa<<0x8|_0x41f8fa,_0x49bdd3=[],_0x498693=0x0;_0x498693<_0x41f8fa;_0x498693+=0x4)_0x49bdd3[_0x26bd3a(0x347)](_0x1d8ea3);var _0x2777f0=_0x324a59['create'](_0x49bdd3,_0x41f8fa);_0x1e6214[_0x26bd3a(0x1b5)](_0x2777f0);},'unpad':function(_0xe0aa16){const _0x18b19e=_0x3ca1e5;var _0x105dcf=_0xe0aa16[_0x18b19e(0x297)][_0xe0aa16[_0x18b19e(0x4dd)]-0x1>>>0x2]&0xff;_0xe0aa16[_0x18b19e(0x4dd)]-=_0x105dcf;}};_0x53f16b['BlockCipher']=_0x3bc1cb[_0x3ca1e5(0x352)]({'cfg':_0x3bc1cb[_0x3ca1e5(0x3bc)]['extend']({'mode':_0x1ba173,'padding':_0x37f8e2}),'reset':function(){const _0x1ae98c=_0x3ca1e5;var _0x1041f2;_0x3bc1cb[_0x1ae98c(0x127)][_0x1ae98c(0xcf)](this);var _0x5359ad=this['cfg'],_0xf2f328=_0x5359ad['iv'],_0xc11b49=_0x5359ad[_0x1ae98c(0x4ff)];this[_0x1ae98c(0x490)]==this[_0x1ae98c(0x496)]?_0x1041f2=_0xc11b49[_0x1ae98c(0x26b)]:(_0x1041f2=_0xc11b49[_0x1ae98c(0x21f)],this[_0x1ae98c(0x9f)]=0x1),this['_mode']&&this[_0x1ae98c(0x326)][_0x1ae98c(0x201)]==_0x1041f2?this['_mode'][_0x1ae98c(0x102)](this,_0xf2f328&&_0xf2f328[_0x1ae98c(0x297)]):(this[_0x1ae98c(0x326)]=_0x1041f2['call'](_0xc11b49,this,_0xf2f328&&_0xf2f328[_0x1ae98c(0x297)]),this[_0x1ae98c(0x326)][_0x1ae98c(0x201)]=_0x1041f2);},'_doProcessBlock':function(_0x244483,_0x5ba428){const _0xbd32cd=_0x3ca1e5;this['_mode'][_0xbd32cd(0x1b2)](_0x244483,_0x5ba428);},'_doFinalize':function(){const _0x36b32f=_0x3ca1e5;var _0x31be71,_0x5101dc=this[_0x36b32f(0x3bc)][_0x36b32f(0x1c1)];return this[_0x36b32f(0x490)]==this[_0x36b32f(0x496)]?(_0x5101dc[_0x36b32f(0x458)](this[_0x36b32f(0x480)],this[_0x36b32f(0x396)]),_0x31be71=this[_0x36b32f(0x276)](!0x0)):(_0x31be71=this[_0x36b32f(0x276)](!0x0),_0x5101dc[_0x36b32f(0xe7)](_0x31be71)),_0x31be71;},'blockSize':0x80/0x20});var _0x5a1f0a=_0x53f16b[_0x3ca1e5(0x497)]=_0x5cfa7[_0x3ca1e5(0x352)]({'init':function(_0x5a2e0e){this['mixIn'](_0x5a2e0e);},'toString':function(_0x547aef){const _0x169185=_0x3ca1e5;return(_0x547aef||this['formatter'])[_0x169185(0x51a)](this);}}),_0x2c6bd3=_0x595463[_0x3ca1e5(0x246)]={},_0x549c7a=_0x2c6bd3[_0x3ca1e5(0x2b4)]={'stringify':function(_0x792e38){const _0x129f16=_0x3ca1e5;var _0x327744,_0x3c1cfc=_0x792e38[_0x129f16(0x3c9)],_0x2c2b2c=_0x792e38[_0x129f16(0x29b)];return _0x2c2b2c?_0x327744=_0x324a59['create']([0x53616c74,0x65645f5f])['concat'](_0x2c2b2c)[_0x129f16(0x1b5)](_0x3c1cfc):_0x327744=_0x3c1cfc,_0x327744[_0x129f16(0xbe)](_0x1ba0e6);},'parse':function(_0x3a131c){const _0x38e0cd=_0x3ca1e5;var _0x297a34,_0x51a818=_0x1ba0e6['parse'](_0x3a131c),_0x3e3e0c=_0x51a818[_0x38e0cd(0x297)];return _0x3e3e0c[0x0]==0x53616c74&&_0x3e3e0c[0x1]==0x65645f5f&&(_0x297a34=_0x324a59[_0x38e0cd(0x218)](_0x3e3e0c[_0x38e0cd(0x4ac)](0x2,0x4)),_0x3e3e0c[_0x38e0cd(0xbd)](0x0,0x4),_0x51a818[_0x38e0cd(0x4dd)]-=0x10),_0x5a1f0a[_0x38e0cd(0x218)]({'ciphertext':_0x51a818,'salt':_0x297a34});}},_0x28d4c3=_0x53f16b[_0x3ca1e5(0x1db)]=_0x5cfa7[_0x3ca1e5(0x352)]({'cfg':_0x5cfa7[_0x3ca1e5(0x352)]({'format':_0x549c7a}),'encrypt':function(_0x367c8c,_0x511dbc,_0x30fb1c,_0x1a3a63){const _0x59452e=_0x3ca1e5;_0x1a3a63=this[_0x59452e(0x3bc)][_0x59452e(0x352)](_0x1a3a63);var _0x5a136c=_0x367c8c[_0x59452e(0x26b)](_0x30fb1c,_0x1a3a63),_0x550842=_0x5a136c[_0x59452e(0x3c4)](_0x511dbc),_0x254176=_0x5a136c['cfg'];return _0x5a1f0a[_0x59452e(0x218)]({'ciphertext':_0x550842,'key':_0x30fb1c,'iv':_0x254176['iv'],'algorithm':_0x367c8c,'mode':_0x254176[_0x59452e(0x4ff)],'padding':_0x254176[_0x59452e(0x1c1)],'blockSize':_0x367c8c[_0x59452e(0x396)],'formatter':_0x1a3a63[_0x59452e(0x246)]});},'decrypt':function(_0x311196,_0x2fdb7b,_0x4a8c89,_0x270391){const _0x8a828b=_0x3ca1e5;_0x270391=this[_0x8a828b(0x3bc)][_0x8a828b(0x352)](_0x270391),_0x2fdb7b=this[_0x8a828b(0x2f2)](_0x2fdb7b,_0x270391[_0x8a828b(0x246)]);var _0x53adf8=_0x311196[_0x8a828b(0x21f)](_0x4a8c89,_0x270391)['finalize'](_0x2fdb7b['ciphertext']);return _0x53adf8;},'_parse':function(_0x5d48b0,_0x44c7b0){const _0x5ddfb4=_0x3ca1e5;return typeof _0x5d48b0==_0x5ddfb4(0x452)?_0x44c7b0['parse'](_0x5d48b0,this):_0x5d48b0;}}),_0x1bebc3=_0x595463[_0x3ca1e5(0x1da)]={},_0x3fa75d=_0x1bebc3['OpenSSL']={'execute':function(_0x47268e,_0x17f5b9,_0xafbb5e,_0x375946,_0x36ae04){const _0x19c83c=_0x3ca1e5;if(_0x375946||(_0x375946=_0x324a59[_0x19c83c(0x198)](0x40/0x8)),_0x36ae04)var _0x2d6129=_0x1a6397[_0x19c83c(0x218)]({'keySize':_0x17f5b9+_0xafbb5e,'hasher':_0x36ae04})[_0x19c83c(0x342)](_0x47268e,_0x375946);else var _0x2d6129=_0x1a6397[_0x19c83c(0x218)]({'keySize':_0x17f5b9+_0xafbb5e})[_0x19c83c(0x342)](_0x47268e,_0x375946);var _0x5d9da6=_0x324a59[_0x19c83c(0x218)](_0x2d6129[_0x19c83c(0x297)][_0x19c83c(0x4ac)](_0x17f5b9),_0xafbb5e*0x4);return _0x2d6129[_0x19c83c(0x4dd)]=_0x17f5b9*0x4,_0x5a1f0a[_0x19c83c(0x218)]({'key':_0x2d6129,'iv':_0x5d9da6,'salt':_0x375946});}},_0xc44367=_0x53f16b[_0x3ca1e5(0x255)]=_0x28d4c3[_0x3ca1e5(0x352)]({'cfg':_0x28d4c3[_0x3ca1e5(0x3bc)][_0x3ca1e5(0x352)]({'kdf':_0x3fa75d}),'encrypt':function(_0x45469a,_0x2e2e8f,_0x11e01e,_0x337ae7){const _0xbef7b2=_0x3ca1e5;_0x337ae7=this[_0xbef7b2(0x3bc)][_0xbef7b2(0x352)](_0x337ae7);var _0x195bf8=_0x337ae7[_0xbef7b2(0x1da)]['execute'](_0x11e01e,_0x45469a[_0xbef7b2(0x38a)],_0x45469a[_0xbef7b2(0x525)],_0x337ae7[_0xbef7b2(0x29b)],_0x337ae7[_0xbef7b2(0x224)]);_0x337ae7['iv']=_0x195bf8['iv'];var _0x47e687=_0x28d4c3[_0xbef7b2(0x3ad)]['call'](this,_0x45469a,_0x2e2e8f,_0x195bf8[_0xbef7b2(0x3f9)],_0x337ae7);return _0x47e687[_0xbef7b2(0x173)](_0x195bf8),_0x47e687;},'decrypt':function(_0x26290d,_0x3ebe2d,_0x38b445,_0x2588f0){const _0x23a61b=_0x3ca1e5;_0x2588f0=this['cfg'][_0x23a61b(0x352)](_0x2588f0),_0x3ebe2d=this[_0x23a61b(0x2f2)](_0x3ebe2d,_0x2588f0[_0x23a61b(0x246)]);var _0x3d4c94=_0x2588f0[_0x23a61b(0x1da)][_0x23a61b(0x52f)](_0x38b445,_0x26290d[_0x23a61b(0x38a)],_0x26290d[_0x23a61b(0x525)],_0x3ebe2d[_0x23a61b(0x29b)],_0x2588f0[_0x23a61b(0x224)]);_0x2588f0['iv']=_0x3d4c94['iv'];var _0x5b8179=_0x28d4c3[_0x23a61b(0x36d)]['call'](this,_0x26290d,_0x3ebe2d,_0x3d4c94[_0x23a61b(0x3f9)],_0x2588f0);return _0x5b8179;}});}();}));}(_0x3f4bf9)),_0x3f4bf9[_0x27a372(0x3fd)];}(function(_0x4171e8,_0x42ee12){(function(_0x219962,_0x879edd,_0x46070d){const _0x4bad42=_0x3a4a;_0x4171e8[_0x4bad42(0x3fd)]=_0x879edd(_0x3bb9d1(),_0x14173a(),_0x2084b7(),_0xd05c58(),_0x19885c());}(_0x5d33cd,function(_0x21dead){return(function(){const _0x417fa5=_0x3a4a;var _0x367c08=_0x21dead,_0x4289c8=_0x367c08[_0x417fa5(0x250)],_0xc07998=_0x4289c8['BlockCipher'],_0xd4f559=_0x367c08[_0x417fa5(0x4c6)],_0x2d7f53=[],_0xd4ccf3=[],_0x19bc7c=[],_0x536794=[],_0x30ff97=[],_0x2e0163=[],_0x416e96=[],_0x3ebbf8=[],_0x1c3507=[],_0x65efa9=[];(function(){for(var _0x2921fe=[],_0x3e0c4b=0x0;_0x3e0c4b<0x100;_0x3e0c4b++)_0x3e0c4b<0x80?_0x2921fe[_0x3e0c4b]=_0x3e0c4b<<0x1:_0x2921fe[_0x3e0c4b]=_0x3e0c4b<<0x1^0x11b;for(var _0x1571a7=0x0,_0x317d10=0x0,_0x3e0c4b=0x0;_0x3e0c4b<0x100;_0x3e0c4b++){var _0x2dbbf7=_0x317d10^_0x317d10<<0x1^_0x317d10<<0x2^_0x317d10<<0x3^_0x317d10<<0x4;_0x2dbbf7=_0x2dbbf7>>>0x8^_0x2dbbf7&0xff^0x63,_0x2d7f53[_0x1571a7]=_0x2dbbf7,_0xd4ccf3[_0x2dbbf7]=_0x1571a7;var _0x1e588d=_0x2921fe[_0x1571a7],_0xd61d7e=_0x2921fe[_0x1e588d],_0x4ca458=_0x2921fe[_0xd61d7e],_0xb25ac8=_0x2921fe[_0x2dbbf7]*0x101^_0x2dbbf7*0x1010100;_0x19bc7c[_0x1571a7]=_0xb25ac8<<0x18|_0xb25ac8>>>0x8,_0x536794[_0x1571a7]=_0xb25ac8<<0x10|_0xb25ac8>>>0x10,_0x30ff97[_0x1571a7]=_0xb25ac8<<0x8|_0xb25ac8>>>0x18,_0x2e0163[_0x1571a7]=_0xb25ac8;var _0xb25ac8=_0x4ca458*0x1010101^_0xd61d7e*0x10001^_0x1e588d*0x101^_0x1571a7*0x1010100;_0x416e96[_0x2dbbf7]=_0xb25ac8<<0x18|_0xb25ac8>>>0x8,_0x3ebbf8[_0x2dbbf7]=_0xb25ac8<<0x10|_0xb25ac8>>>0x10,_0x1c3507[_0x2dbbf7]=_0xb25ac8<<0x8|_0xb25ac8>>>0x18,_0x65efa9[_0x2dbbf7]=_0xb25ac8,_0x1571a7?(_0x1571a7=_0x1e588d^_0x2921fe[_0x2921fe[_0x2921fe[_0x4ca458^_0x1e588d]]],_0x317d10^=_0x2921fe[_0x2921fe[_0x317d10]]):_0x1571a7=_0x317d10=0x1;}}());var _0x1a5a7d=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x566286=_0xd4f559['AES']=_0xc07998[_0x417fa5(0x352)]({'_doReset':function(){const _0x247482=_0x417fa5;var _0x794880;if(!(this[_0x247482(0x399)]&&this['_keyPriorReset']===this['_key'])){for(var _0x100afd=this[_0x247482(0x2f5)]=this[_0x247482(0x4da)],_0x47d5ca=_0x100afd[_0x247482(0x297)],_0x3fa9e7=_0x100afd[_0x247482(0x4dd)]/0x4,_0x56e84f=this[_0x247482(0x399)]=_0x3fa9e7+0x6,_0x43b4ad=(_0x56e84f+0x1)*0x4,_0x47db38=this['_keySchedule']=[],_0x2c8c6b=0x0;_0x2c8c6b<_0x43b4ad;_0x2c8c6b++)_0x2c8c6b<_0x3fa9e7?_0x47db38[_0x2c8c6b]=_0x47d5ca[_0x2c8c6b]:(_0x794880=_0x47db38[_0x2c8c6b-0x1],_0x2c8c6b%_0x3fa9e7?_0x3fa9e7>0x6&&_0x2c8c6b%_0x3fa9e7==0x4&&(_0x794880=_0x2d7f53[_0x794880>>>0x18]<<0x18|_0x2d7f53[_0x794880>>>0x10&0xff]<<0x10|_0x2d7f53[_0x794880>>>0x8&0xff]<<0x8|_0x2d7f53[_0x794880&0xff]):(_0x794880=_0x794880<<0x8|_0x794880>>>0x18,_0x794880=_0x2d7f53[_0x794880>>>0x18]<<0x18|_0x2d7f53[_0x794880>>>0x10&0xff]<<0x10|_0x2d7f53[_0x794880>>>0x8&0xff]<<0x8|_0x2d7f53[_0x794880&0xff],_0x794880^=_0x1a5a7d[_0x2c8c6b/_0x3fa9e7|0x0]<<0x18),_0x47db38[_0x2c8c6b]=_0x47db38[_0x2c8c6b-_0x3fa9e7]^_0x794880);for(var _0x357338=this[_0x247482(0x4e9)]=[],_0x3b6733=0x0;_0x3b6733<_0x43b4ad;_0x3b6733++){var _0x2c8c6b=_0x43b4ad-_0x3b6733;if(_0x3b6733%0x4)var _0x794880=_0x47db38[_0x2c8c6b];else var _0x794880=_0x47db38[_0x2c8c6b-0x4];_0x3b6733<0x4||_0x2c8c6b<=0x4?_0x357338[_0x3b6733]=_0x794880:_0x357338[_0x3b6733]=_0x416e96[_0x2d7f53[_0x794880>>>0x18]]^_0x3ebbf8[_0x2d7f53[_0x794880>>>0x10&0xff]]^_0x1c3507[_0x2d7f53[_0x794880>>>0x8&0xff]]^_0x65efa9[_0x2d7f53[_0x794880&0xff]];}}},'encryptBlock':function(_0x56a014,_0x3a1203){const _0x2967a7=_0x417fa5;this[_0x2967a7(0x12c)](_0x56a014,_0x3a1203,this[_0x2967a7(0x1f7)],_0x19bc7c,_0x536794,_0x30ff97,_0x2e0163,_0x2d7f53);},'decryptBlock':function(_0xd6f642,_0x5e4cdc){const _0x2d91e9=_0x417fa5;var _0x58fac9=_0xd6f642[_0x5e4cdc+0x1];_0xd6f642[_0x5e4cdc+0x1]=_0xd6f642[_0x5e4cdc+0x3],_0xd6f642[_0x5e4cdc+0x3]=_0x58fac9,this[_0x2d91e9(0x12c)](_0xd6f642,_0x5e4cdc,this['_invKeySchedule'],_0x416e96,_0x3ebbf8,_0x1c3507,_0x65efa9,_0xd4ccf3);var _0x58fac9=_0xd6f642[_0x5e4cdc+0x1];_0xd6f642[_0x5e4cdc+0x1]=_0xd6f642[_0x5e4cdc+0x3],_0xd6f642[_0x5e4cdc+0x3]=_0x58fac9;},'_doCryptBlock':function(_0x460c8c,_0x2775c6,_0x1f47e5,_0x2558dc,_0x4aad7f,_0x523b86,_0x3f4768,_0x3302f6){for(var _0x535c3d=this['_nRounds'],_0x39873f=_0x460c8c[_0x2775c6]^_0x1f47e5[0x0],_0x45dd10=_0x460c8c[_0x2775c6+0x1]^_0x1f47e5[0x1],_0x260922=_0x460c8c[_0x2775c6+0x2]^_0x1f47e5[0x2],_0x553055=_0x460c8c[_0x2775c6+0x3]^_0x1f47e5[0x3],_0x4b116d=0x4,_0x563fdf=0x1;_0x563fdf<_0x535c3d;_0x563fdf++){var _0x51aec5=_0x2558dc[_0x39873f>>>0x18]^_0x4aad7f[_0x45dd10>>>0x10&0xff]^_0x523b86[_0x260922>>>0x8&0xff]^_0x3f4768[_0x553055&0xff]^_0x1f47e5[_0x4b116d++],_0x4fa3d6=_0x2558dc[_0x45dd10>>>0x18]^_0x4aad7f[_0x260922>>>0x10&0xff]^_0x523b86[_0x553055>>>0x8&0xff]^_0x3f4768[_0x39873f&0xff]^_0x1f47e5[_0x4b116d++],_0x2ea36a=_0x2558dc[_0x260922>>>0x18]^_0x4aad7f[_0x553055>>>0x10&0xff]^_0x523b86[_0x39873f>>>0x8&0xff]^_0x3f4768[_0x45dd10&0xff]^_0x1f47e5[_0x4b116d++],_0x34db38=_0x2558dc[_0x553055>>>0x18]^_0x4aad7f[_0x39873f>>>0x10&0xff]^_0x523b86[_0x45dd10>>>0x8&0xff]^_0x3f4768[_0x260922&0xff]^_0x1f47e5[_0x4b116d++];_0x39873f=_0x51aec5,_0x45dd10=_0x4fa3d6,_0x260922=_0x2ea36a,_0x553055=_0x34db38;}var _0x51aec5=(_0x3302f6[_0x39873f>>>0x18]<<0x18|_0x3302f6[_0x45dd10>>>0x10&0xff]<<0x10|_0x3302f6[_0x260922>>>0x8&0xff]<<0x8|_0x3302f6[_0x553055&0xff])^_0x1f47e5[_0x4b116d++],_0x4fa3d6=(_0x3302f6[_0x45dd10>>>0x18]<<0x18|_0x3302f6[_0x260922>>>0x10&0xff]<<0x10|_0x3302f6[_0x553055>>>0x8&0xff]<<0x8|_0x3302f6[_0x39873f&0xff])^_0x1f47e5[_0x4b116d++],_0x2ea36a=(_0x3302f6[_0x260922>>>0x18]<<0x18|_0x3302f6[_0x553055>>>0x10&0xff]<<0x10|_0x3302f6[_0x39873f>>>0x8&0xff]<<0x8|_0x3302f6[_0x45dd10&0xff])^_0x1f47e5[_0x4b116d++],_0x34db38=(_0x3302f6[_0x553055>>>0x18]<<0x18|_0x3302f6[_0x39873f>>>0x10&0xff]<<0x10|_0x3302f6[_0x45dd10>>>0x8&0xff]<<0x8|_0x3302f6[_0x260922&0xff])^_0x1f47e5[_0x4b116d++];_0x460c8c[_0x2775c6]=_0x51aec5,_0x460c8c[_0x2775c6+0x1]=_0x4fa3d6,_0x460c8c[_0x2775c6+0x2]=_0x2ea36a,_0x460c8c[_0x2775c6+0x3]=_0x34db38;},'keySize':0x100/0x20});_0x367c08[_0x417fa5(0x1fb)]=_0xc07998[_0x417fa5(0x3fa)](_0x566286);}()),_0x21dead['AES'];}));}(_0x2dce9d));var _0x4fc946=_0x2dce9d[_0x5d8d99(0x3fd)];const _0x5995e7=_0x4f174d(_0x4fc946);var _0x3c746d=_0x14173a();const _0x347bd9=_0x4f174d(_0x3c746d);var _0x1600f5={'exports':{}};(function(_0x221eec,_0x4b9303){(function(_0x1aa108,_0x128ef8){_0x221eec['exports']=_0x128ef8(_0x3bb9d1());}(_0x5d33cd,function(_0x424cd7){const _0x5af748=_0x3a4a;return _0x424cd7[_0x5af748(0x214)][_0x5af748(0x49e)];}));}(_0x1600f5));var _0x3ee23d=_0x1600f5['exports'];const _0x5ae30e=_0x4f174d(_0x3ee23d);var _0x55cde4={'exports':{}};(function(_0x5e04cb,_0x18ba68){(function(_0xda966e,_0xa8ddd){const _0x1f9335=_0x3a4a;_0x5e04cb[_0x1f9335(0x3fd)]=_0xa8ddd(_0x3bb9d1());}(_0x5d33cd,function(_0x31dfc1){const _0x37fd5c=_0x3a4a;return(function(){const _0x406ac9=_0x3a4a;if(typeof ArrayBuffer=='function'){var _0x382534=_0x31dfc1,_0x10bb57=_0x382534[_0x406ac9(0x250)],_0x29d73f=_0x10bb57[_0x406ac9(0x33e)],_0x43306c=_0x29d73f[_0x406ac9(0x102)],_0x147a44=_0x29d73f[_0x406ac9(0x102)]=function(_0x33c859){const _0x39e0b3=_0x406ac9;if(_0x33c859 instanceof ArrayBuffer&&(_0x33c859=new Uint8Array(_0x33c859)),(_0x33c859 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x33c859 instanceof Uint8ClampedArray||_0x33c859 instanceof Int16Array||_0x33c859 instanceof Uint16Array||_0x33c859 instanceof Int32Array||_0x33c859 instanceof Uint32Array||_0x33c859 instanceof Float32Array||_0x33c859 instanceof Float64Array)&&(_0x33c859=new Uint8Array(_0x33c859[_0x39e0b3(0xf7)],_0x33c859['byteOffset'],_0x33c859[_0x39e0b3(0x33d)])),_0x33c859 instanceof Uint8Array){for(var _0x526174=_0x33c859['byteLength'],_0x244ec7=[],_0x4dcd51=0x0;_0x4dcd51<_0x526174;_0x4dcd51++)_0x244ec7[_0x4dcd51>>>0x2]|=_0x33c859[_0x4dcd51]<<0x18-_0x4dcd51%0x4*0x8;_0x43306c[_0x39e0b3(0xcf)](this,_0x244ec7,_0x526174);}else _0x43306c[_0x39e0b3(0x539)](this,arguments);};_0x147a44['prototype']=_0x29d73f;}}()),_0x31dfc1['lib'][_0x37fd5c(0x33e)];}));}(_0x55cde4));var _0xe8c0a4=_0x55cde4[_0x5d8d99(0x3fd)];const _0x405018=_0x4f174d(_0xe8c0a4);var _0x31605a={'exports':{}};(function(_0x32cb44,_0x323395){(function(_0x3a0a02,_0x5c8699,_0x387ffa){const _0x35f029=_0x3a4a;_0x32cb44[_0x35f029(0x3fd)]=_0x5c8699(_0x3bb9d1(),_0x19885c());}(_0x5d33cd,function(_0xb59529){const _0x326430=_0x3a4a;return _0xb59529[_0x326430(0x458)][_0x326430(0x1a5)]={'pad':function(){},'unpad':function(){}},_0xb59529[_0x326430(0x458)][_0x326430(0x1a5)];}));}(_0x31605a));var _0x35ada7=_0x31605a[_0x5d8d99(0x3fd)];const _0xc6b361=_0x4f174d(_0x35ada7);function _0x1fabdb(_0x14abeb,_0x2f8acc){const _0x494c61=_0x5d8d99,_0x398f3b=_0x2f8acc-_0x14abeb[_0x494c61(0x52c)]%_0x2f8acc,_0x4d45ad=String[_0x494c61(0x51e)](_0x398f3b)[_0x494c61(0x10a)](_0x398f3b);return _0x14abeb+_0x4d45ad;}function _0x3769d5(_0x43f5f,_0x48b0bd){const _0x214d1a=_0x5d8d99,_0x33f246=_0x405018[_0x214d1a(0x198)](0x10),_0x38ae0b=_0x1fabdb(_0x43f5f,0x10),_0x21f2ba=_0x5995e7[_0x214d1a(0x3ad)](_0x5ae30e[_0x214d1a(0x40c)](_0x38ae0b),_0x347bd9[_0x214d1a(0x40c)](_0x48b0bd),{'iv':_0x33f246,'padding':_0xc6b361});return _0x33f246['concat'](_0x21f2ba[_0x214d1a(0x3c9)])[_0x214d1a(0xbe)](_0x347bd9);}function _0x49b33a(){const _0x2c413f=_0x5d8d99,_0x41a83e=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x2c413f(0x39f)];if(_0x41a83e){const _0x3095b3={'time':Math['floor'](Date[_0x2c413f(0x23d)]()/0x3e8),'domain':location[_0x2c413f(0x37b)]};return _0x3769d5(JSON['stringify'](_0x3095b3),_0x41a83e);}}var _0x33495b=Object[_0x5d8d99(0x48f)],_0x14ea23=Object[_0x5d8d99(0x48b)],_0x473994=(_0xe1bf2f,_0x7715d3,_0x214d7a,_0x5812f7)=>{const _0x4cb332=_0x5d8d99;for(var _0x3ea374=_0x5812f7>0x1?void 0x0:_0x5812f7?_0x14ea23(_0x7715d3,_0x214d7a):_0x7715d3,_0x4e7b28=_0xe1bf2f[_0x4cb332(0x52c)]-0x1,_0x2b6d68;_0x4e7b28>=0x0;_0x4e7b28--)(_0x2b6d68=_0xe1bf2f[_0x4e7b28])&&(_0x3ea374=(_0x5812f7?_0x2b6d68(_0x7715d3,_0x214d7a,_0x3ea374):_0x2b6d68(_0x3ea374))||_0x3ea374);return _0x5812f7&&_0x3ea374&&_0x33495b(_0x7715d3,_0x214d7a,_0x3ea374),_0x3ea374;},_0x3417b8=(_0x3ad8f7,_0x317218)=>(_0x58749e,_0xe2327f)=>_0x317218(_0x58749e,_0xe2327f,_0x3ad8f7);let _0x96e9cf=class{constructor(_0x39cde5){const _0x377ebd=_0x5d8d99;this['_httpService']=_0x39cde5,this[_0x377ebd(0x473)]();}['_initRequestHeader'](){const _0x2de13b=_0x5d8d99;this[_0x2de13b(0x2e5)][_0x2de13b(0x34e)]({'interceptor':(_0x3dce79,_0x3c3899)=>{const _0x51196b=_0x2de13b,_0x48e5ab=_0x3dce79[_0x51196b(0x3d4)],_0x56bcdb=_0x49b33a();return _0x56bcdb&&_0x48e5ab[_0x51196b(0x4a7)](_0x51196b(0x240),_0x56bcdb),_0x3c3899(_0x3dce79);}});}};_0x96e9cf=_0x473994([_0x3417b8(0x0,_0x28c502[_0x5d8d99(0x48a)](_0x5d2d09['HTTPService']))],_0x96e9cf);var _0x508b1d=Object[_0x5d8d99(0x48f)],_0x1b22ca=Object[_0x5d8d99(0x48b)],_0x1d4e60=(_0x173eb3,_0x248c10,_0x518ca5,_0xb3b8d4)=>{for(var _0x5bfea1=_0xb3b8d4>0x1?void 0x0:_0xb3b8d4?_0x1b22ca(_0x248c10,_0x518ca5):_0x248c10,_0x3a4047=_0x173eb3['length']-0x1,_0x2c1d55;_0x3a4047>=0x0;_0x3a4047--)(_0x2c1d55=_0x173eb3[_0x3a4047])&&(_0x5bfea1=(_0xb3b8d4?_0x2c1d55(_0x248c10,_0x518ca5,_0x5bfea1):_0x2c1d55(_0x5bfea1))||_0x5bfea1);return _0xb3b8d4&&_0x5bfea1&&_0x508b1d(_0x248c10,_0x518ca5,_0x5bfea1),_0x5bfea1;},_0x505352=(_0x2a0399,_0x274c83)=>(_0x2cf4b9,_0x2e71f0)=>_0x274c83(_0x2cf4b9,_0x2e71f0,_0x2a0399);const _0x1b48df=[_0x5d8d99(0x47c),_0x5d8d99(0x169),_0x5d8d99(0xe4),_0x5d8d99(0x2a3),_0x5d8d99(0x293)],_0x44a6f7=0x5*0x400*0x400,_0x4bb899=_0x5d8d99(0x369),_0x4c7411=_0x5d8d99(0x222),_0x94a7de=_0x5d8d99(0x524),_0x10e3ff=_0x5d8d99(0x19d);_0x4c1435[_0x5d8d99(0x42d)]=class{constructor(_0x5411bf,_0x2bd4e6,_0x21f369){const _0x2149b1=_0x5d8d99;_0x569acc(this,_0x2149b1(0x2e3),0x0),_0x569acc(this,_0x2149b1(0x1ec),new _0x158390[(_0x2149b1(0x3fc))]()),_0x569acc(this,_0x2149b1(0x318),this[_0x2149b1(0x1ec)]),_0x569acc(this,'_imageSourceCache',new Map()),(this['_httpService']=_0x5411bf,this[_0x2149b1(0x298)]=_0x2bd4e6,this[_0x2149b1(0x14c)]=_0x21f369);}['setWaitCount'](_0x2519f1){const _0x356470=_0x5d8d99;this[_0x356470(0x2e3)]=_0x2519f1,this[_0x356470(0x1ec)][_0x356470(0xb4)](_0x2519f1);}[_0x5d8d99(0x35a)](_0x566d30,_0x2e630c){const _0x10fdf0=_0x5d8d99;if(_0x2e630c===_0x4d719d[_0x10fdf0(0x2bc)]['BASE64']){const _0x43dc5d=new Image();return _0x43dc5d[_0x10fdf0(0x39b)]=_0x566d30,_0x43dc5d;}return this['_imageSourceCache']['get'](_0x566d30);}['addImageSourceCache'](_0xb1efd1,_0x404676,_0x1ec27b){const _0x44a212=_0x5d8d99;_0x404676===_0x4d719d['ImageSourceType'][_0x44a212(0x10b)]||_0x1ec27b==null||this['_imageSourceCache'][_0x44a212(0x4a7)](_0xb1efd1,_0x1ec27b);}async[_0x5d8d99(0x2c5)](_0x2fb05c){const _0x1d77ff=_0x5d8d99;try{const _0x37f194=this[_0x1d77ff(0x502)](this['_getSignURL'](),''+_0x2fb05c),_0x136f4a=(await this[_0x1d77ff(0x2e5)][_0x1d77ff(0x3a8)](_0x37f194))[_0x1d77ff(0x447)];if(_0x136f4a['error']&&_0x136f4a[_0x1d77ff(0x13c)][_0x1d77ff(0x2d9)]===_0x3a0128['OK']){const _0x29bbef=new URL(_0x136f4a['url'],this[_0x1d77ff(0x2ff)]())['toString']();return Promise[_0x1d77ff(0x108)](_0x29bbef);}return Promise[_0x1d77ff(0x51d)](_0x136f4a[_0x1d77ff(0x13c)]);}catch(_0x4ad57b){return Promise['reject'](_0x4ad57b);}}async[_0x5d8d99(0x53e)](_0x206a61){const _0xceb79d=_0x5d8d99;let _0x565c19='';if(!_0x1b48df[_0xceb79d(0x16c)](_0x206a61[_0xceb79d(0x36c)]))return this['_decreaseWaiting'](),Promise[_0xceb79d(0x51d)](new Error(_0x4d719d[_0xceb79d(0x487)][_0xceb79d(0xa8)]));if(_0x206a61[_0xceb79d(0x3f0)]>_0x44a6f7)return this[_0xceb79d(0x3d8)](),Promise[_0xceb79d(0x51d)](new Error(_0x4d719d['ImageUploadStatusType'][_0xceb79d(0x48d)]));try{const _0x35b6c4=new FormData();_0x35b6c4[_0xceb79d(0x371)](_0xceb79d(0x368),_0x206a61);const _0x103006=this[_0xceb79d(0x14c)]['getFocusedUnit'](),_0x5db436=_0x103006==null?void 0x0:_0x103006[_0xceb79d(0x3aa)]();if(!_0x5db436)throw new Error(_0xceb79d(0x499));const _0x3f746f=this[_0xceb79d(0x13e)]()+_0xceb79d(0x153)+_0x206a61[_0xceb79d(0x3f0)][_0xceb79d(0xbe)]()+_0xceb79d(0x2d3)+_0x3a2340[_0xceb79d(0x4d9)]+'&assign='+encodeURIComponent(_0x5db436),_0x228794=await(await fetch(_0x3f746f,{'method':_0xceb79d(0x363),'body':_0x35b6c4}))[_0xceb79d(0x267)]();if(typeof _0x228794[_0xceb79d(0x2c8)]!=_0xceb79d(0x452))return this[_0xceb79d(0x3d8)](),Promise[_0xceb79d(0x51d)](new Error(_0x4d719d[_0xceb79d(0x487)]['ERROR_IMAGE']));_0x565c19=_0x228794[_0xceb79d(0x2c8)];}catch{return this[_0xceb79d(0x3d8)](),Promise['reject'](new Error(_0x4d719d[_0xceb79d(0x487)][_0xceb79d(0x3a4)]));}return new Promise((_0x553ed8,_0x1ffb1e)=>{const _0x1e5943=new FileReader();_0x1e5943['readAsDataURL'](_0x206a61),_0x1e5943['onload']=_0x51d5d8=>{const _0x3ed9f2=_0x3a4a;var _0x3d49b9;const _0x263267=(_0x3d49b9=_0x51d5d8[_0x3ed9f2(0x34a)])==null?void 0x0:_0x3d49b9[_0x3ed9f2(0x392)];if(_0x263267==null){this[_0x3ed9f2(0x3d8)](),_0x1ffb1e(new Error(_0x4d719d[_0x3ed9f2(0x487)]['ERROR_IMAGE']));return;}const _0x2a07e9=_0x28c502['Tools'][_0x3ed9f2(0x275)](0x6);_0x553ed8({'imageId':_0x2a07e9,'imageSourceType':_0x4d719d[_0x3ed9f2(0x2bc)][_0x3ed9f2(0x103)],'source':_0x565c19,'base64Cache':_0x263267,'status':_0x4d719d[_0x3ed9f2(0x487)][_0x3ed9f2(0x4bf)]}),this['_decreaseWaiting']();};});}['_getUploadFileURL'](){const _0x46d24b=_0x5d8d99;var _0x377078,_0x16e3e1;const _0x28165f=this[_0x46d24b(0x298)][_0x46d24b(0x2ea)](_0x4bb899),_0x1fd9c9=this[_0x46d24b(0x298)]['getConfig'](_0x5b0249);return(_0x16e3e1=(_0x377078=_0x1fd9c9==null?void 0x0:_0x1fd9c9[_0x46d24b(0x129)])!=null?_0x377078:_0x28165f)!=null?_0x16e3e1:_0x4c7411;}[_0x5d8d99(0x213)](){const _0x428e5a=_0x5d8d99;var _0x3cc1d4,_0x2d21ac;const _0x4b2e37=this[_0x428e5a(0x298)][_0x428e5a(0x2ea)](_0x94a7de),_0x511911=this[_0x428e5a(0x298)][_0x428e5a(0x2ea)](_0x5b0249);return(_0x2d21ac=(_0x3cc1d4=_0x511911==null?void 0x0:_0x511911['signUrlServerUrl'])!=null?_0x3cc1d4:_0x4b2e37)!=null?_0x2d21ac:_0x10e3ff;}[_0x5d8d99(0x2ff)](){const _0x43e8be=_0x5d8d99;var _0xc7286d;const _0x391522=this[_0x43e8be(0x298)]['getConfig'](_0x5b0249);return(_0xc7286d=_0x391522==null?void 0x0:_0x391522[_0x43e8be(0x91)])!=null?_0xc7286d:location[_0x43e8be(0x225)];}[_0x5d8d99(0x502)](_0xe1bf32,_0x1dc826){const _0x30f432=_0x5d8d99;return _0xe1bf32[_0x30f432(0x29d)](_0x30f432(0x37c),_0x1dc826);}[_0x5d8d99(0x3d8)](){const _0x481aa0=_0x5d8d99;this[_0x481aa0(0x2e3)]-=0x1,this[_0x481aa0(0x1ec)][_0x481aa0(0xb4)](this['_waitCount']);}},_0x4c1435[_0x5d8d99(0x42d)]=_0x1d4e60([_0x505352(0x0,_0x28c502[_0x5d8d99(0x48a)](_0x5d2d09[_0x5d8d99(0x508)])),_0x505352(0x1,_0x28c502[_0x5d8d99(0x422)]),_0x505352(0x2,_0x28c502[_0x5d8d99(0x48a)](_0x28c502[_0x5d8d99(0x380)]))],_0x4c1435[_0x5d8d99(0x42d)]);var _0x2696cd=Object[_0x5d8d99(0x48f)],_0x51a3a9=Object[_0x5d8d99(0x48b)],_0xff8a61=(_0x97aa31,_0x29b172,_0x3682c0,_0x523bc6)=>{const _0x3db7d7=_0x5d8d99;for(var _0x4f1679=_0x523bc6>0x1?void 0x0:_0x523bc6?_0x51a3a9(_0x29b172,_0x3682c0):_0x29b172,_0x38c552=_0x97aa31[_0x3db7d7(0x52c)]-0x1,_0x18901b;_0x38c552>=0x0;_0x38c552--)(_0x18901b=_0x97aa31[_0x38c552])&&(_0x4f1679=(_0x523bc6?_0x18901b(_0x29b172,_0x3682c0,_0x4f1679):_0x18901b(_0x4f1679))||_0x4f1679);return _0x523bc6&&_0x4f1679&&_0x2696cd(_0x29b172,_0x3682c0,_0x4f1679),_0x4f1679;},_0x2baa3a=(_0x5521b3,_0x174e95)=>(_0x1f249f,_0x4ca1a2)=>_0x174e95(_0x1f249f,_0x4ca1a2,_0x5521b3);let _0x4dde98=class extends _0x28c502['RxDisposable']{constructor(_0x2c9208,_0x5e5a7d,_0x5c2141,_0x4206fb,_0x40b556){const _0x1ca30f=_0x5d8d99;super(),this[_0x1ca30f(0x119)]=_0x2c9208,this[_0x1ca30f(0x14c)]=_0x5e5a7d,this[_0x1ca30f(0x9c)]=_0x5c2141,this['_collaborationSessionService']=_0x4206fb,this[_0x1ca30f(0xdc)]=_0x40b556,this[_0x1ca30f(0x1ed)](),this[_0x1ca30f(0x2b5)]();}[_0x5d8d99(0x2b5)](){const _0x4ed851=_0x5d8d99,_0x1250e7=async _0x33a6f6=>{const _0x1416e7=_0x3a4a;(await this[_0x1416e7(0x27c)]['requireSession'](_0x33a6f6))[_0x1416e7(0xf3)][_0x1416e7(0x4fb)](_0x9d1bc[_0x1416e7(0x1ea)](_0x1ca738=>_0x1ca738[_0x1416e7(0x44f)]===_0x50e560[_0x1416e7(0x53d)][_0x1416e7(0x315)]),_0x9d1bc[_0x1416e7(0x150)](this['dispose$']))[_0x1416e7(0x3d2)](_0x13bee6=>{const _0x519884=_0x1416e7,_0xef57bf=_0x13bee6,{reason:_0x1131bd}=_0xef57bf[_0x519884(0x376)];this['_injector']['get'](_0x28a60c[_0x519884(0x1e7)])['show']({'type':_0x4fac56['MessageType']['Error'],'content':this[_0x519884(0xdc)]['t'](_0x519884(0x88))+'('+_0x1131bd+')'}),this[_0x519884(0x9c)][_0x519884(0x324)](new _0x256063['WorkbookEditablePermission'](_0x33a6f6)['id'],!0x1),this[_0x519884(0x27c)]['closeSession'](_0x33a6f6);});};_0x158390[_0x4ed851(0x3a3)](this[_0x4ed851(0x14c)][_0x4ed851(0x4f4)](_0x28c502[_0x4ed851(0x3c0)]['UNIVER_SHEET']),this[_0x4ed851(0x14c)][_0x4ed851(0x4f4)](_0x28c502[_0x4ed851(0x3c0)][_0x4ed851(0x358)]))['pipe'](_0x9d1bc[_0x4ed851(0x1c9)](_0x539138=>_0x539138[_0x4ed851(0x3aa)]()),_0x9d1bc[_0x4ed851(0x1ea)](_0x275590=>!_0x28c502[_0x4ed851(0x47e)](_0x275590)),_0x9d1bc['takeUntil'](this[_0x4ed851(0x51f)]))['subscribe'](_0x22f940=>{_0x1250e7(_0x22f940);});}[_0x5d8d99(0x1ed)](){const _0xbfaab4=_0x5d8d99,_0x2a5a14=async _0x4e578b=>{const _0x3d977c=_0x3a4a;(await this[_0x3d977c(0x27c)][_0x3d977c(0xc0)](_0x4e578b))[_0x3d977c(0xf3)][_0x3d977c(0x4fb)](_0x9d1bc[_0x3d977c(0x1ea)](_0xdae070=>_0xdae070[_0x3d977c(0x44f)]===_0x50e560[_0x3d977c(0x53d)][_0x3d977c(0x2ab)]),_0x9d1bc[_0x3d977c(0x150)](this[_0x3d977c(0x51f)]))['subscribe'](_0x5ecfbb=>{const _0x462aba=_0x3d977c,_0x1898b2=_0x5ecfbb,{objectId:_0x572c48}=_0x1898b2[_0x462aba(0x376)],_0x259e06=this['_injector']['get'](_0x5d4d05['SheetPermissionInitController']);_0x572c48===_0x4e578b?_0x259e06[_0x462aba(0x89)](_0x4e578b):_0x259e06[_0x462aba(0x26e)](_0x4e578b,_0x572c48);});};_0x158390['merge'](this[_0xbfaab4(0x14c)][_0xbfaab4(0x4f4)](_0x28c502[_0xbfaab4(0x3c0)]['UNIVER_SHEET']),this[_0xbfaab4(0x14c)][_0xbfaab4(0x4f4)](_0x28c502[_0xbfaab4(0x3c0)][_0xbfaab4(0x358)]))[_0xbfaab4(0x4fb)](_0x9d1bc[_0xbfaab4(0x1c9)](_0xd97331=>_0xd97331[_0xbfaab4(0x3aa)]()),_0x9d1bc[_0xbfaab4(0x1ea)](_0x1c52d4=>!_0x28c502['isInternalEditorID'](_0x1c52d4)),_0x9d1bc['takeUntil'](this[_0xbfaab4(0x51f)]))[_0xbfaab4(0x3d2)](_0x21ad1a=>{_0x2a5a14(_0x21ad1a);});}};_0x4dde98=_0xff8a61([_0x2baa3a(0x0,_0x28c502[_0x5d8d99(0x48a)](_0x28c502[_0x5d8d99(0x30d)])),_0x2baa3a(0x1,_0x28c502[_0x5d8d99(0x380)]),_0x2baa3a(0x2,_0x28c502[_0x5d8d99(0xd3)]),_0x2baa3a(0x3,_0x28c502[_0x5d8d99(0x48a)](_0x4c1435[_0x5d8d99(0x2b2)])),_0x2baa3a(0x4,_0x28c502['Inject'](_0x28c502[_0x5d8d99(0x469)]))],_0x4dde98);var _0x19db7b=Object[_0x5d8d99(0x48f)],_0x47f79f=Object[_0x5d8d99(0x48b)],_0x23ce10=(_0xf32fce,_0x4f827b,_0x1cc938,_0x2eee01)=>{for(var _0x3e5ff9=_0x2eee01>0x1?void 0x0:_0x2eee01?_0x47f79f(_0x4f827b,_0x1cc938):_0x4f827b,_0x2008b0=_0xf32fce['length']-0x1,_0x2e6822;_0x2008b0>=0x0;_0x2008b0--)(_0x2e6822=_0xf32fce[_0x2008b0])&&(_0x3e5ff9=(_0x2eee01?_0x2e6822(_0x4f827b,_0x1cc938,_0x3e5ff9):_0x2e6822(_0x3e5ff9))||_0x3e5ff9);return _0x2eee01&&_0x3e5ff9&&_0x19db7b(_0x4f827b,_0x1cc938,_0x3e5ff9),_0x3e5ff9;},_0x1634de=(_0x8f6dba,_0x15afaa)=>(_0x2270a0,_0x671531)=>_0x15afaa(_0x2270a0,_0x671531,_0x8f6dba);_0x4c1435['SnapshotServerOverHTTPService']=class{constructor(_0x4277d8,_0x1e3e12){const _0x4f872a=_0x5d8d99;this[_0x4f872a(0x298)]=_0x4277d8,this[_0x4f872a(0x2e5)]=_0x1e3e12;}async['getUnitOnRev'](_0x51a6f8,_0x2eccfe){const _0x138d28=_0x5d8d99;var _0x2a724e;const {unitID:_0x1ab318,type:_0x11bbf7,revision:_0x5bcbe2=0x0}=_0x2eccfe,_0x100692=this[_0x138d28(0x3d1)]()+'/'+_0x11bbf7+_0x138d28(0x109)+_0x1ab318+_0x138d28(0x25b)+_0x5bcbe2,_0x4f953a=(await this[_0x138d28(0x2e5)][_0x138d28(0x3a8)](_0x100692))[_0x138d28(0x447)],_0x47864a=(_0x2a724e=_0x4f953a[_0x138d28(0x17b)])==null?void 0x0:_0x2a724e[_0x138d28(0x3cf)];if(_0x47864a){const _0x24af1b=_0x47864a==null?void 0x0:_0x47864a[_0x138d28(0x20a)],_0x275705=_0x50e560[_0x138d28(0x301)][_0x138d28(0xb9)](_0x50e560['b64DecodeUnicode'](_0x24af1b));_0x47864a['originalMeta']=_0x275705,Object[_0x138d28(0xd7)](_0x47864a['sheets'])['forEach'](([,_0xb05fb])=>{const _0x5ccb9d=_0x138d28,_0x4be64f=_0xb05fb[_0x5ccb9d(0x20a)],_0xb82cf0=_0x50e560[_0x5ccb9d(0x301)][_0x5ccb9d(0xb9)](_0x50e560['b64DecodeUnicode'](_0x4be64f));_0xb05fb['originalMeta']=_0xb82cf0;});}return _0x4f953a;}async['getSheetBlock'](_0xbdc38c,_0x1fd0f0){const _0xdb49df=_0x5d8d99,{unitID:_0x514056,type:_0x1a1825,blockID:_0x4351fd}=_0x1fd0f0,_0x47fdeb=this[_0xdb49df(0x249)]()+'/'+_0x1a1825+'/unit/'+_0x514056+_0xdb49df(0x449)+_0x4351fd;return(await this[_0xdb49df(0x2e5)][_0xdb49df(0x3a8)](_0x47fdeb))[_0xdb49df(0x447)];}async[_0x5d8d99(0xb5)](_0x1cef06,_0x1d2fb9){const _0x2e59ad=_0x5d8d99,{unitID:_0x569ad0,type:_0x110cb2,blockID:_0x4f5dc8}=_0x1d2fb9,_0x9f40d7=this[_0x2e59ad(0x249)]()+_0x2e59ad(0x449)+_0x110cb2+_0x2e59ad(0x109)+_0x569ad0+'/block/'+_0x4f5dc8;return(await this['_httpService'][_0x2e59ad(0x3a8)](_0x9f40d7))[_0x2e59ad(0x447)];}async[_0x5d8d99(0x28f)](_0x29d7f0,_0x3cc803){const _0x3bccf9=_0x5d8d99,{unitID:_0x12fb57,type:_0x5e58c3,from:_0x4ae76e,to:_0xe0401b}=_0x3cc803,_0xc68d65=this['_getAPIPrefix']()+'/'+_0x5e58c3+_0x3bccf9(0x109)+_0x12fb57+'/fetchmissing?from='+_0x4ae76e+_0x3bccf9(0x385)+_0xe0401b;return(await this[_0x3bccf9(0x2e5)][_0x3bccf9(0x3a8)](_0xc68d65))['body'];}['_getSnapshotAPIPrefix'](){const _0x224838=_0x5d8d99;var _0x363eea;return(_0x363eea=this['_configService']['getConfig'](_0x28e608))!=null?_0x363eea:this[_0x224838(0x249)]();}['_getAPIPrefix'](){const _0x30ddb3=_0x5d8d99;var _0x28cf13,_0x1df4e8;const _0x56182c=this[_0x30ddb3(0x298)][_0x30ddb3(0x2ea)](_0x53ab54),_0x501bd7=this[_0x30ddb3(0x298)][_0x30ddb3(0x2ea)](_0x5b0249);return(_0x1df4e8=(_0x28cf13=_0x501bd7==null?void 0x0:_0x501bd7[_0x30ddb3(0x152)])!=null?_0x28cf13:_0x56182c)!=null?_0x1df4e8:_0x8097e4;}async[_0x5d8d99(0x2c6)](_0x30a0f9,_0x2a49fc){const _0x5e31df=_0x5d8d99,_0x2b813a=_0x5e31df(0xe6)+_0x2a49fc['type']+_0x5e31df(0x109)+_0x2a49fc[_0x5e31df(0xe5)]+_0x5e31df(0x25d);return(await this[_0x5e31df(0x2e5)][_0x5e31df(0x3a8)](_0x2b813a,{'params':{'resourceId':JSON[_0x5e31df(0x51a)](_0x2a49fc[_0x5e31df(0x400)])}}))[_0x5e31df(0x447)];}['saveSnapshot'](){const _0x349d8f=_0x5d8d99;throw new Error(_0x349d8f(0x2ce));}['saveSheetBlock'](){const _0x33ecb9=_0x5d8d99;throw new Error(_0x33ecb9(0x2ce));}['saveChangeset'](){const _0x2658bf=_0x5d8d99;throw new Error(_0x2658bf(0x2ce));}['copyFileMeta'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5d8d99(0x3d3)](){const _0x12aa37=_0x5d8d99;throw new Error(_0x12aa37(0x2ce));}},_0x4c1435[_0x5d8d99(0x20e)]=_0x23ce10([_0x1634de(0x0,_0x28c502['IConfigService']),_0x1634de(0x1,_0x28c502[_0x5d8d99(0x48a)](_0x5d2d09[_0x5d8d99(0x508)]))],_0x4c1435['SnapshotServerOverHTTPService']);var _0x40c82c=Object[_0x5d8d99(0x48f)],_0x533ebe=Object[_0x5d8d99(0x48b)],_0x2e9845=(_0x1f3db1,_0x1a15b2,_0x3195b4,_0xe113c9)=>{const _0x453a48=_0x5d8d99;for(var _0x4aa1de=_0xe113c9>0x1?void 0x0:_0xe113c9?_0x533ebe(_0x1a15b2,_0x3195b4):_0x1a15b2,_0x345872=_0x1f3db1[_0x453a48(0x52c)]-0x1,_0x22250e;_0x345872>=0x0;_0x345872--)(_0x22250e=_0x1f3db1[_0x345872])&&(_0x4aa1de=(_0xe113c9?_0x22250e(_0x1a15b2,_0x3195b4,_0x4aa1de):_0x22250e(_0x4aa1de))||_0x4aa1de);return _0xe113c9&&_0x4aa1de&&_0x40c82c(_0x1a15b2,_0x3195b4,_0x4aa1de),_0x4aa1de;},_0x6d50f8=(_0x29697f,_0x14d9d6)=>(_0x36ead5,_0x433055)=>_0x14d9d6(_0x36ead5,_0x433055,_0x29697f);let _0x34309f=class extends _0x28c502[_0x5d8d99(0x136)]{constructor(_0x11a465,_0x586123,_0x3202fc,_0x4d6743,_0xafb9f5){super(_0x11a465,_0x586123,_0x3202fc),this['_transformService']=_0x4d6743,this['_logService']=_0xafb9f5;}[_0x5d8d99(0x511)](_0x3516f0,_0x1f95ee){const _0x25ef47=_0x5d8d99,_0x3935a6=this['_getUndoStack'](_0x3516f0);if(_0x3935a6)try{const _0x200d9f=this[_0x25ef47(0x43a)](_0x3935a6,_0x1f95ee);this[_0x25ef47(0x227)](_0x3516f0,_0x200d9f);}catch(_0x4557da){this[_0x25ef47(0x414)]['error'](_0x25ef47(0x13f),_0x4557da),this[_0x25ef47(0x229)](_0x3516f0);}const _0x413b6e=this[_0x25ef47(0x49d)](_0x3516f0);if(_0x413b6e)try{const _0x4d3ec5=this[_0x25ef47(0x43a)](_0x413b6e,_0x1f95ee);this[_0x25ef47(0xa6)](_0x3516f0,_0x4d3ec5);}catch(_0x11fe23){this[_0x25ef47(0x414)][_0x25ef47(0x13c)](_0x11fe23),this[_0x25ef47(0x1b4)](_0x3516f0);}}['_clearUndo'](_0x4b3e1f){const _0xc8353d=this['_getUndoStack'](_0x4b3e1f);_0xc8353d&&(_0xc8353d['length']=0x0,this['_updateStatus']());}[_0x5d8d99(0x1b4)](_0x43b2b3){const _0x489447=_0x5d8d99,_0x3a473d=this[_0x489447(0x49d)](_0x43b2b3);_0x3a473d&&(_0x3a473d['length']=0x0,this['_updateStatus']());}[_0x5d8d99(0x227)](_0x464988,_0xfc3c7){const _0x1eb0ca=_0x5d8d99;this[_0x1eb0ca(0x1e5)]['set'](_0x464988,_0xfc3c7),this['_updateStatus']();}[_0x5d8d99(0xa6)](_0x460f7a,_0x3701a4){const _0x1b744d=_0x5d8d99;this[_0x1b744d(0x45a)][_0x1b744d(0x4a7)](_0x460f7a,_0x3701a4),this[_0x1b744d(0x263)]();}['_transformStack'](_0x21ccc1,_0x14ff1f){const _0x14d23a=_0x5d8d99,_0x1a8831=[];let _0x5abb0c=_0x14ff1f,_0x3d2593=_0x14ff1f;for(let _0x54a4bb=_0x21ccc1[_0x14d23a(0x52c)]-0x1;_0x54a4bb>=0x0;_0x54a4bb--){const {unitID:_0x4fba00,undoMutations:_0x6e6ffd,redoMutations:_0x4e54b7}=_0x21ccc1[_0x54a4bb],_0x28f2a3=this['_transformService'][_0x14d23a(0x2c7)](_0x5abb0c,_0x6e6ffd),_0x52a012=this[_0x14d23a(0x258)][_0x14d23a(0x2c7)](_0x3d2593,_0x4e54b7);if(_0x50e560[_0x14d23a(0x4c2)](_0x28f2a3)||_0x50e560[_0x14d23a(0x4c2)](_0x52a012)){this[_0x14d23a(0x414)][_0x14d23a(0x13c)](_0x14d23a(0x13f),_0x14d23a(0x412),_0x28f2a3,_0x52a012);break;}_0x5abb0c=_0x28f2a3[_0x14d23a(0x189)],_0x3d2593=_0x52a012['c1Prime'],_0x1a8831[_0x14d23a(0x347)]({'unitID':_0x4fba00,'undoMutations':_0x28f2a3[_0x14d23a(0x4d1)],'redoMutations':_0x52a012[_0x14d23a(0x4d1)]});}return _0x1a8831[_0x14d23a(0x151)]();}};_0x34309f=_0x2e9845([_0x6d50f8(0x0,_0x28c502[_0x5d8d99(0x380)]),_0x6d50f8(0x1,_0x28c502[_0x5d8d99(0x123)]),_0x6d50f8(0x2,_0x28c502['IContextService']),_0x6d50f8(0x3,_0x50e560[_0x5d8d99(0x3d0)]),_0x6d50f8(0x4,_0x28c502[_0x5d8d99(0xad)])],_0x34309f);class _0x394cb0 extends _0x28c502[_0x5d8d99(0x156)]{constructor(){const _0x4b3f7d=_0x5d8d99;super(),_0x569acc(this,_0x4b3f7d(0x472)),this[_0x4b3f7d(0x472)]=_0x158390[_0x4b3f7d(0x175)](window,_0x4b3f7d(0x299))[_0x4b3f7d(0x4fb)](_0x158390[_0x4b3f7d(0x150)](this[_0x4b3f7d(0x51f)]),_0x158390[_0x4b3f7d(0x2b9)](0x1),_0x158390['mapTo'](void 0x0));}[_0x5d8d99(0xc1)](_0x429c7f,_0x3b6a55,_0x329af8=!0x1){const _0x4dc477=_0x5d8d99,_0x5af2e1=new URL(window[_0x4dc477(0x350)][_0x4dc477(0x4ca)]);_0x5af2e1['searchParams'][_0x4dc477(0x4a7)](_0x429c7f,_0x3b6a55),_0x329af8?window[_0x4dc477(0x346)]['replaceState']('','',_0x5af2e1[_0x4dc477(0xbe)]()):window[_0x4dc477(0x346)][_0x4dc477(0x1a3)]('','',_0x5af2e1[_0x4dc477(0xbe)]());}['removeParam'](_0x35a21c,_0x5dad2f=!0x1){const _0x587621=_0x5d8d99,_0x537464=new URL(window[_0x587621(0x350)][_0x587621(0x4ca)]);_0x537464['searchParams']['delete'](_0x35a21c),_0x5dad2f?window[_0x587621(0x346)][_0x587621(0x28e)]('','',_0x537464['toString']()):window['history'][_0x587621(0x1a3)]('','',_0x537464['toString']());}[_0x5d8d99(0xe2)](_0x56d1e4){const _0x5a153=_0x5d8d99;var _0x1993fc;return(_0x1993fc=new URL(window['location'][_0x5a153(0x4ca)])[_0x5a153(0x3cb)][_0x5a153(0x3a8)](_0x56d1e4))!=null?_0x1993fc:void 0x0;}}var _0x61ab1=Object[_0x5d8d99(0x48f)],_0x5b3e41=Object[_0x5d8d99(0x48b)],_0x1c002b=(_0x1bdbad,_0x3ee2f1,_0x3bda35)=>_0x3ee2f1 in _0x1bdbad?_0x61ab1(_0x1bdbad,_0x3ee2f1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3bda35}):_0x1bdbad[_0x3ee2f1]=_0x3bda35,_0x25f1cd=(_0x3216cd,_0x6fee4b,_0x465aa2,_0x1a0d22)=>{const _0xf51c06=_0x5d8d99;for(var _0x165a03=_0x1a0d22>0x1?void 0x0:_0x1a0d22?_0x5b3e41(_0x6fee4b,_0x465aa2):_0x6fee4b,_0x1077a=_0x3216cd[_0xf51c06(0x52c)]-0x1,_0x20e53f;_0x1077a>=0x0;_0x1077a--)(_0x20e53f=_0x3216cd[_0x1077a])&&(_0x165a03=(_0x1a0d22?_0x20e53f(_0x6fee4b,_0x465aa2,_0x165a03):_0x20e53f(_0x165a03))||_0x165a03);return _0x1a0d22&&_0x165a03&&_0x61ab1(_0x6fee4b,_0x465aa2,_0x165a03),_0x165a03;},_0x5b1b46=(_0x24ec01,_0x1f6dd8)=>(_0x496b78,_0x4a55c8)=>_0x1f6dd8(_0x496b78,_0x4a55c8,_0x24ec01),_0xdf03c9=(_0x28b258,_0x176c48,_0xaa727f)=>_0x1c002b(_0x28b258,_0x176c48+'',_0xaa727f);const _0x1744a3='UNIVER_COLLABORATION_CLIENT_PLUGIN';_0x4c1435[_0x5d8d99(0x111)]=class extends _0x28c502[_0x5d8d99(0x259)]{constructor(_0x5624e0=_0x2f81d6,_0x3b33bd,_0x2e87ce,_0x1b08ab,_0x2512aa){const _0x2a84ff=_0x5d8d99;super(),this[_0x2a84ff(0x2fa)]=_0x5624e0,this[_0x2a84ff(0x414)]=_0x3b33bd,this['_renderManagerService']=_0x2e87ce,this['_injector']=_0x1b08ab,this[_0x2a84ff(0x298)]=_0x2512aa;const {..._0x2f8ffb}=this[_0x2a84ff(0x2fa)];this['_configService'][_0x2a84ff(0x49c)](_0x5b0249,_0x2f8ffb);}[_0x5d8d99(0x4a6)](){const _0x903d89=_0x5d8d99;this[_0x903d89(0x3df)](),this['_initDependencies']();}['onReady'](){const _0x2790db=_0x5d8d99;_0x28c502[_0x2790db(0x37e)](this['_injector'],[[_0x3b5673]]);}[_0x5d8d99(0x1b0)](){const _0x2c27a0=_0x5d8d99;this[_0x2c27a0(0x112)]();}[_0x5d8d99(0x3df)](){const _0x23b48e=_0x5d8d99;var _0x5f2e36,_0x1b170a,_0x459271,_0x114d8d;this[_0x23b48e(0x119)][_0x23b48e(0xb0)](_0x28c502['IUndoRedoService'])&&this[_0x23b48e(0x414)][_0x23b48e(0x13c)](_0x23b48e(0x2d7),_0x23b48e(0x3db));const _0x2748d2=[[_0x28c502[_0x23b48e(0x459)],{'useClass':_0x34309f}],[_0x4c1435[_0x23b48e(0x2b2)]],[_0x5254e5],[_0x59b0fb,{'useClass':_0x394cb0}],[_0x4c1435[_0x23b48e(0x1a6)]],[_0x4c1435['LocalCacheService']],[_0x5d2d09[_0x23b48e(0x39d)]],[_0x474488],[_0x2b7e0e],[_0x4971b6],[_0x1664c1],[_0x18a3f7],[_0x142e6b],[_0x96e9cf],[_0x35d563],[_0x4dde98],[_0x5266e3,{'useClass':(_0x1b170a=(_0x5f2e36=this[_0x23b48e(0x2fa)])==null?void 0x0:_0x5f2e36[_0x23b48e(0x4d8)])!=null?_0x1b170a:_0x4c1435['CollaborationSocketService']}],[_0x50e560[_0x23b48e(0x3b2)],{'useClass':_0x4c1435[_0x23b48e(0x20e)]}],[_0x28c502[_0x23b48e(0x4ce)],{'useClass':_0x4c1435[_0x23b48e(0x4a4)]}],[_0x4d719d[_0x23b48e(0xdb)],{'useClass':_0x4c1435[_0x23b48e(0x42d)]}],[_0x4c1435['CollaborationController']],[_0x4c1435['DataLoaderController']],[_0x4c1435[_0x23b48e(0x8b)]],[_0x3b5673],[_0x4dbe53]];(_0x459271=this['_config'])!=null&&_0x459271['enableSingleActiveInstanceLock']&&_0x2748d2[_0x23b48e(0x347)]([_0x299919,{'useClass':_0x1796ae}]),_0x28c502['registerDependencies'](this['_injector'],_0x28c502[_0x23b48e(0x1d9)](_0x2748d2,(_0x114d8d=this[_0x23b48e(0x2fa)])==null?void 0x0:_0x114d8d[_0x23b48e(0x41d)]));}[_0x5d8d99(0x112)](){const _0x1d805b=_0x5d8d99;this[_0x1d805b(0x4b5)](this[_0x1d805b(0x176)][_0x1d805b(0x53a)](_0x28c502[_0x1d805b(0x3c0)][_0x1d805b(0x358)],[_0x5cdf2e])),this['disposeWithMe'](this[_0x1d805b(0x176)][_0x1d805b(0x53a)](_0x28c502[_0x1d805b(0x3c0)][_0x1d805b(0x3de)],[_0x5d55f6]));}[_0x5d8d99(0x320)](){const _0x2bf4c7=_0x5d8d99;var _0x5494c3,_0x51b0f2;this['_injector'][_0x2bf4c7(0x3a8)](_0x5d2d09[_0x2bf4c7(0x508)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x5d2d09['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x5494c3=this[_0x2bf4c7(0x2fa)])!=null&&_0x5494c3['enableOfflineEditing']||this[_0x2bf4c7(0x119)][_0x2bf4c7(0x3a8)](_0x4c1435[_0x2bf4c7(0x92)])['disableLocalCache'](),(_0x51b0f2=this[_0x2bf4c7(0x2fa)])!=null&&_0x51b0f2['enableAuthServer']&&_0x28c502[_0x2bf4c7(0x37e)](this[_0x2bf4c7(0x119)],[[_0x142e6b]]),_0x28c502[_0x2bf4c7(0x37e)](this[_0x2bf4c7(0x119)],[[_0x96e9cf],[_0x4dbe53],[_0x4c1435[_0x2bf4c7(0x233)]],[_0x4c1435[_0x2bf4c7(0x4dc)]],[_0x4c1435[_0x2bf4c7(0x8b)]],[_0x4dde98]]);}},_0xdf03c9(_0x4c1435['UniverCollaborationClientPlugin'],'pluginName',_0x1744a3),_0x4c1435[_0x5d8d99(0x111)]=_0x25f1cd([_0x28c502[_0x5d8d99(0x1c4)](_0x50e560['UniverCollaborationPlugin'],_0x5d2d09['UniverNetworkPlugin']),_0x5b1b46(0x1,_0x28c502[_0x5d8d99(0xad)]),_0x5b1b46(0x2,_0x5474e6[_0x5d8d99(0x14e)]),_0x5b1b46(0x3,_0x28c502[_0x5d8d99(0x48a)](_0x28c502[_0x5d8d99(0x30d)])),_0x5b1b46(0x4,_0x28c502[_0x5d8d99(0x422)])],_0x4c1435[_0x5d8d99(0x111)]),_0x4c1435[_0x5d8d99(0x1f8)]=_0x18204f,_0x4c1435[_0x5d8d99(0x53c)]=_0x3fe672,_0x4c1435[_0x5d8d99(0x23a)]=_0x29870a,_0x4c1435[_0x5d8d99(0x2fb)]=_0xda01df,_0x4c1435['CollaborationStatusDisplay']=_0x1a6fe6,_0x4c1435[_0x5d8d99(0x47f)]=_0x35d563,_0x4c1435[_0x5d8d99(0x174)]=_0x3fc47f,_0x4c1435[_0x5d8d99(0x3e1)]=_0x48f29d,_0x4c1435[_0x5d8d99(0x4f5)]=_0x5266e3,_0x4c1435['IURLService']=_0x59b0fb,_0x4c1435[_0x5d8d99(0x25a)]=_0x346b18,_0x4c1435['LOGIN_URL_KEY']=_0x3181be,_0x4c1435['RETRY_CONNECTING_MAX_COUNT_KEY']=_0x46e8a1,_0x4c1435['SEND_CHANGESET_TIMEOUT_KEY']=_0x34d1ad,_0x4c1435['SNAPSHOT_SERVER_URL_KEY']=_0x53ab54,_0x4c1435[_0x5d8d99(0x2f3)]=_0x28e608,_0x4c1435[_0x5d8d99(0x15e)]=_0x36f038,_0x4c1435[_0x5d8d99(0x1d7)]=_0x1ef405,_0x4c1435[_0x5d8d99(0x1b8)]=_0x394cb0,_0x4c1435[_0x5d8d99(0x2d0)]=_0x3e065f,_0x4c1435[_0x5d8d99(0x195)]=_0x20acea,Object['defineProperty'](_0x4c1435,Symbol[_0x5d8d99(0x4f6)],{'value':_0x5d8d99(0x22f)});}));
1
+ function _0x50cf(_0x333e2d,_0x457086){const _0x54cd3c=_0x54cd();return _0x50cf=function(_0x50cf85,_0x3cec46){_0x50cf85=_0x50cf85-0x153;let _0x29b2d1=_0x54cd3c[_0x50cf85];return _0x29b2d1;},_0x50cf(_0x333e2d,_0x457086);}(function(_0x1f7023,_0xafe2bd){const _0x5f582b=_0x50cf,_0x56798=_0x1f7023();while(!![]){try{const _0x17cbdc=parseInt(_0x5f582b(0x4e4))/0x1+parseInt(_0x5f582b(0x20c))/0x2+parseInt(_0x5f582b(0x159))/0x3+-parseInt(_0x5f582b(0x326))/0x4*(-parseInt(_0x5f582b(0x402))/0x5)+parseInt(_0x5f582b(0x239))/0x6*(-parseInt(_0x5f582b(0x58d))/0x7)+parseInt(_0x5f582b(0x230))/0x8*(-parseInt(_0x5f582b(0x458))/0x9)+-parseInt(_0x5f582b(0x52c))/0xa;if(_0x17cbdc===_0xafe2bd)break;else _0x56798['push'](_0x56798['shift']());}catch(_0x4328c6){_0x56798['push'](_0x56798['shift']());}}}(_0x54cd,0xbf02d),function(_0x3ef2ce,_0x20d446){const _0x49aa03=_0x50cf;typeof exports==_0x49aa03(0x205)&&typeof module<'u'?_0x20d446(exports,require(_0x49aa03(0x416)),require(_0x49aa03(0x5c9)),require(_0x49aa03(0x5d3)),require(_0x49aa03(0x371)),require(_0x49aa03(0x324)),require('@univerjs/network'),require(_0x49aa03(0x17b)),require('@univerjs/telemetry'),require('@univerjs/docs-ui'),require(_0x49aa03(0x568)),require(_0x49aa03(0x4bb)),require(_0x49aa03(0x2ab)),require(_0x49aa03(0x486)),require('@univerjs/engine-formula'),require(_0x49aa03(0x5dc)),require(_0x49aa03(0x1cd)),require(_0x49aa03(0x28c))):typeof define==_0x49aa03(0x4c1)&&define['amd']?define([_0x49aa03(0x589),_0x49aa03(0x416),_0x49aa03(0x5c9),'rxjs/operators',_0x49aa03(0x371),_0x49aa03(0x324),_0x49aa03(0x1e4),_0x49aa03(0x17b),'@univerjs/telemetry',_0x49aa03(0x1af),_0x49aa03(0x568),_0x49aa03(0x4bb),_0x49aa03(0x2ab),_0x49aa03(0x486),'@univerjs/engine-formula','@univerjs/sheets-ui',_0x49aa03(0x1cd),_0x49aa03(0x28c)],_0x20d446):(_0x3ef2ce=typeof globalThis<'u'?globalThis:_0x3ef2ce||self,_0x20d446(_0x3ef2ce[_0x49aa03(0x211)]={},_0x3ef2ce[_0x49aa03(0x4b9)],_0x3ef2ce[_0x49aa03(0x5c9)],_0x3ef2ce[_0x49aa03(0x5c9)][_0x49aa03(0x322)],_0x3ef2ce[_0x49aa03(0x185)],_0x3ef2ce[_0x49aa03(0x594)],_0x3ef2ce[_0x49aa03(0x29f)],_0x3ef2ce[_0x49aa03(0x580)],_0x3ef2ce[_0x49aa03(0x28a)],_0x3ef2ce['UniverDocsUi'],_0x3ef2ce[_0x49aa03(0x34b)],_0x3ef2ce['UniverEngineRender'],_0x3ef2ce['UniverDocs'],_0x3ef2ce['UniverDrawing'],_0x3ef2ce[_0x49aa03(0x50e)],_0x3ef2ce[_0x49aa03(0x49d)],_0x3ef2ce[_0x49aa03(0x590)],_0x3ef2ce[_0x49aa03(0x313)]));}(this,function(_0x38d423,_0x5a20c3,_0x32bae4,_0x51e720,_0x989dfe,_0x33d470,_0x9ed4dd,_0x4d11e3,_0x2e1b9e,_0xe07534,_0x66e3f4,_0x5c31a6,_0x458230,_0x152c2e,_0x4faec2,_0x194a78,_0x5cb4c2,_0x40129e){'use strict';const _0x494bb3=_0x50cf;var _0x5d8ab9=Object[_0x494bb3(0x5f8)],_0xa1e6e0=(_0x198740,_0x2a0388,_0x2f31d8)=>_0x2a0388 in _0x198740?_0x5d8ab9(_0x198740,_0x2a0388,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2f31d8}):_0x198740[_0x2a0388]=_0x2f31d8,_0x3ed524=(_0x237165,_0x3f34f6,_0xcb51ab)=>_0xa1e6e0(_0x237165,typeof _0x3f34f6!=_0x494bb3(0x284)?_0x3f34f6+'':_0x3f34f6,_0xcb51ab);const _0x9ad7b4=_0x494bb3(0x178),_0x1974b1=_0x494bb3(0x5e0),_0xe41584=_0x494bb3(0x2d4),_0x2b47bd=_0x494bb3(0x53a),_0x4420d6='COLLAB_WEB_SOCKET_URL',_0x575f6c=_0x494bb3(0x357),_0x33903c=_0x494bb3(0x2b4),_0x1c1612=_0x494bb3(0x20f),_0x28861a='RETRY_CONNECTING_MAX_COUNT',_0x2a600b='LOCAL_CACHE_INTERVAL',_0x4abc67=_0x494bb3(0x53c),_0x5467a7=_0x494bb3(0x2eb),_0x5e43ba=_0x494bb3(0x1b3),_0x529e5c='/universer-api/oidc/authpage';var _0x37591c=(_0x1b5577=>(_0x1b5577[_0x1b5577['UNDEFINED']=0x0]='UNDEFINED',_0x1b5577[_0x1b5577['OK']=0x1]='OK',_0x1b5577[_0x1b5577[_0x494bb3(0x18f)]=0x2]=_0x494bb3(0x18f),_0x1b5577[_0x1b5577[_0x494bb3(0x2f3)]=0x3]=_0x494bb3(0x2f3),_0x1b5577[_0x1b5577[_0x494bb3(0x258)]=0x4]=_0x494bb3(0x258),_0x1b5577[_0x1b5577['UNAUTHENTICATED']=0x5]=_0x494bb3(0x25c),_0x1b5577[_0x1b5577[_0x494bb3(0x4ca)]=0x6]=_0x494bb3(0x4ca),_0x1b5577[_0x1b5577[_0x494bb3(0x3f3)]=0x7]=_0x494bb3(0x3f3),_0x1b5577[_0x1b5577[_0x494bb3(0x4ad)]=0x8]=_0x494bb3(0x4ad),_0x1b5577[_0x1b5577[_0x494bb3(0x5d0)]=0x9]=_0x494bb3(0x5d0),_0x1b5577[_0x1b5577[_0x494bb3(0x598)]=0x1389]=_0x494bb3(0x598),_0x1b5577[_0x1b5577[_0x494bb3(0x3ac)]=0x1771]=_0x494bb3(0x3ac),_0x1b5577[_0x1b5577['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x494bb3(0x473),_0x1b5577[_0x1b5577[_0x494bb3(0x1df)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x1b5577[_0x1b5577[_0x494bb3(0x519)]=0x1b59]=_0x494bb3(0x519),_0x1b5577[_0x1b5577[_0x494bb3(0x48d)]=0x1b5a]=_0x494bb3(0x48d),_0x1b5577[_0x1b5577[_0x494bb3(0x55e)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x1b5577[_0x1b5577[_0x494bb3(0x4d9)]=0x1b5c]=_0x494bb3(0x4d9),_0x1b5577[_0x1b5577[_0x494bb3(0x30f)]=0x1b5d]=_0x494bb3(0x30f),_0x1b5577[_0x1b5577[_0x494bb3(0x2e0)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x1b5577[_0x1b5577['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x1b5577[_0x1b5577['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x494bb3(0x5b9),_0x1b5577[_0x1b5577[_0x494bb3(0x1e6)]=0x232b]=_0x494bb3(0x1e6),_0x1b5577[_0x1b5577[_0x494bb3(0x2dd)]=0x232c]=_0x494bb3(0x2dd),_0x1b5577[_0x1b5577[_0x494bb3(0x40b)]=0x232d]=_0x494bb3(0x40b),_0x1b5577[_0x1b5577[_0x494bb3(0x5f5)]=0x2711]=_0x494bb3(0x5f5),_0x1b5577[_0x1b5577[_0x494bb3(0x503)]=0x2712]=_0x494bb3(0x503),_0x1b5577[_0x1b5577[_0x494bb3(0x524)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x1b5577[_0x1b5577['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x494bb3(0x2cf),_0x1b5577[_0x1b5577[_0x494bb3(0x5ab)]=-0x1]=_0x494bb3(0x5ab),_0x1b5577))(_0x37591c||{}),_0x9d8403=(_0x5a42f7=>(_0x5a42f7[_0x5a42f7[_0x494bb3(0x560)]=0x0]='UNIVER_UNKNOWN',_0x5a42f7[_0x5a42f7[_0x494bb3(0x512)]=0x1]=_0x494bb3(0x512),_0x5a42f7[_0x5a42f7[_0x494bb3(0x329)]=0x2]=_0x494bb3(0x329),_0x5a42f7[_0x5a42f7['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x5a42f7[_0x5a42f7['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x5a42f7[_0x5a42f7[_0x494bb3(0x5ab)]=-0x1]=_0x494bb3(0x5ab),_0x5a42f7))(_0x9d8403||{}),_0x58f514=(_0x4739e2=>(_0x4739e2[_0x4739e2['UNKNOWN_CMD']=0x0]=_0x494bb3(0x401),_0x4739e2[_0x4739e2[_0x494bb3(0x4fb)]=0x1]=_0x494bb3(0x4fb),_0x4739e2[_0x4739e2[_0x494bb3(0x46e)]=0x2]=_0x494bb3(0x46e),_0x4739e2[_0x4739e2[_0x494bb3(0x399)]=0x3]=_0x494bb3(0x399),_0x4739e2[_0x4739e2[_0x494bb3(0x450)]=0x4]=_0x494bb3(0x450),_0x4739e2[_0x4739e2[_0x494bb3(0x359)]=0x5]=_0x494bb3(0x359),_0x4739e2[_0x4739e2[_0x494bb3(0x299)]=0x6]=_0x494bb3(0x299),_0x4739e2[_0x4739e2[_0x494bb3(0x5ab)]=-0x1]=_0x494bb3(0x5ab),_0x4739e2))(_0x58f514||{}),_0x3f92ef=(_0x108a8d=>(_0x108a8d[_0x108a8d[_0x494bb3(0x4d1)]=0x0]='UNKNOWN_CODE',_0x108a8d[_0x108a8d['OK']=0x1]='OK',_0x108a8d[_0x108a8d[_0x494bb3(0x48a)]=0x2]='FAIL',_0x108a8d[_0x108a8d[_0x494bb3(0x5ab)]=-0x1]='UNRECOGNIZED',_0x108a8d))(_0x3f92ef||{}),_0x2aec2f=(_0x26eced=>(_0x26eced[_0x26eced[_0x494bb3(0x505)]=0x0]='Undefined',_0x26eced[_0x26eced[_0x494bb3(0x414)]=0x1]=_0x494bb3(0x414),_0x26eced[_0x26eced['HttpExport']=0x2]='HttpExport',_0x26eced[_0x26eced[_0x494bb3(0x157)]=0x3]=_0x494bb3(0x157),_0x26eced[_0x26eced[_0x494bb3(0x317)]=0x4]=_0x494bb3(0x317),_0x26eced[_0x26eced[_0x494bb3(0x5ab)]=-0x1]=_0x494bb3(0x5ab),_0x26eced))(_0x2aec2f||{});const _0x59eaf6=_0x494bb3(0x25d),_0x48bf3d={};function _0x2ef67b(_0x10e29c){const _0x45b33e=_0x494bb3;var _0x1f1cd4,_0x1a035f,_0x3495fe,_0x2d40f4,_0x2c5e2e;const _0x2232ce=_0x10e29c[_0x45b33e(0x5a3)],_0x1cdc5b=JSON[_0x45b33e(0x40c)](_0x2232ce);switch(_0x1cdc5b[_0x45b33e(0x515)]){case _0x58f514['HEARTBEAT']:case _0x58f514[_0x45b33e(0x4fb)]:{const _0x2f46eb=_0x1cdc5b[_0x45b33e(0x4ab)];return{..._0x1cdc5b,'data':_0x2f46eb,'cmd':_0x1cdc5b[_0x45b33e(0x515)]};}case _0x58f514[_0x45b33e(0x46e)]:{const _0x4b6934=_0x1cdc5b['joinRsp'];return{..._0x1cdc5b,'data':_0x4b6934,'cmd':_0x1cdc5b[_0x45b33e(0x515)]};}case _0x58f514[_0x45b33e(0x299)]:{const _0x536958=_0x1cdc5b[_0x45b33e(0x520)];switch(_0x536958['eventID']){case _0x4d11e3[_0x45b33e(0x213)][_0x45b33e(0x549)]:return{..._0x1cdc5b,'data':{..._0x536958,'data':(_0x1f1cd4=_0x536958['permissionRejEvent'])==null?void 0x0:_0x1f1cd4['cs']},'cmd':_0x1cdc5b['cmd']};case _0x4d11e3[_0x45b33e(0x213)][_0x45b33e(0x318)]:return{..._0x1cdc5b,'data':{..._0x536958,'data':(_0x1a035f=_0x536958['csAckEvent'])==null?void 0x0:_0x1a035f['cs']},'cmd':_0x1cdc5b['cmd']};case _0x4d11e3[_0x45b33e(0x213)][_0x45b33e(0x2f4)]:return{..._0x1cdc5b,'data':{..._0x536958,'data':(_0x3495fe=_0x536958[_0x45b33e(0x2a4)])==null?void 0x0:_0x3495fe['cs']},'cmd':_0x1cdc5b[_0x45b33e(0x515)]};case _0x4d11e3[_0x45b33e(0x213)][_0x45b33e(0x16f)]:return{..._0x1cdc5b,'data':{..._0x536958,'data':(_0x2d40f4=_0x536958[_0x45b33e(0x38b)])==null?void 0x0:_0x2d40f4['cs']},'cmd':_0x1cdc5b[_0x45b33e(0x515)]};case _0x4d11e3[_0x45b33e(0x213)][_0x45b33e(0x529)]:return{..._0x1cdc5b,'data':{..._0x536958,'data':(_0x2c5e2e=_0x536958[_0x45b33e(0x3d0)])==null?void 0x0:_0x2c5e2e['cs']},'cmd':_0x1cdc5b['cmd']};case _0x4d11e3[_0x45b33e(0x213)][_0x45b33e(0x1ef)]:return{..._0x1cdc5b,'data':{..._0x536958,'data':_0x536958[_0x45b33e(0x31a)]},'cmd':_0x1cdc5b['cmd']};case _0x4d11e3[_0x45b33e(0x213)][_0x45b33e(0x19c)]:return{..._0x1cdc5b,'data':{..._0x536958,'data':_0x536958['joinEvent']},'cmd':_0x1cdc5b[_0x45b33e(0x515)]};case _0x4d11e3['CollaborationEvent'][_0x45b33e(0x37b)]:return{..._0x1cdc5b,'data':{..._0x536958,'data':_0x536958[_0x45b33e(0x59b)]},'cmd':_0x1cdc5b['cmd']};case _0x4d11e3['CollaborationEvent'][_0x45b33e(0x545)]:return{..._0x1cdc5b,'data':{..._0x536958,'data':_0x536958[_0x45b33e(0x360)]},'cmd':_0x1cdc5b[_0x45b33e(0x515)]};case _0x4d11e3[_0x45b33e(0x213)][_0x45b33e(0x1f3)]:case _0x4d11e3['CollaborationEvent']['LIVESHARE_OPERATION']:return{..._0x1cdc5b,'data':{..._0x536958,'data':_0x536958[_0x45b33e(0x55d)]},'cmd':_0x1cdc5b[_0x45b33e(0x515)]};case _0x4d11e3[_0x45b33e(0x213)][_0x45b33e(0x5de)]:return{..._0x1cdc5b,'data':{..._0x536958,'data':_0x536958[_0x45b33e(0x360)]},'cmd':_0x1cdc5b[_0x45b33e(0x515)]};case _0x4d11e3['CollaborationEvent'][_0x45b33e(0x31f)]:return{..._0x1cdc5b,'data':_0x536958,'cmd':_0x1cdc5b['cmd']};case _0x4d11e3[_0x45b33e(0x213)]['COMMENT_UPDATE']:return{..._0x1cdc5b,'data':{..._0x536958,'data':_0x536958[_0x45b33e(0x57f)]},'cmd':_0x1cdc5b[_0x45b33e(0x515)]};case _0x4d11e3[_0x45b33e(0x213)][_0x45b33e(0x5ed)]:return{..._0x1cdc5b,'data':{..._0x536958,'data':_0x536958[_0x45b33e(0x5fc)]},'cmd':_0x1cdc5b[_0x45b33e(0x515)]};case _0x4d11e3[_0x45b33e(0x213)][_0x45b33e(0x46a)]:return{..._0x1cdc5b,'data':{..._0x536958,'data':_0x536958[_0x45b33e(0x5be)]},'cmd':_0x1cdc5b[_0x45b33e(0x515)]};default:return _0x1cdc5b;}}default:return _0x1cdc5b;}}function _0x3baba8(_0x4fe18e){const _0x41827a=_0x494bb3;switch(_0x4fe18e[_0x41827a(0x515)]){case _0x58f514['HEARTBEAT']:case _0x58f514[_0x41827a(0x4fb)]:return JSON['stringify']({'cmd':_0x4fe18e[_0x41827a(0x515)],'routeKey':_0x4fe18e[_0x41827a(0x2a7)]});case _0x58f514['INGEST']:{let _0xcbebf;switch(_0x4fe18e[_0x41827a(0x5a3)][_0x41827a(0x383)]){case _0x4d11e3['CollaborationEvent']['UPDATE_CURSOR']:{_0xcbebf={'eventID':_0x4d11e3[_0x41827a(0x213)][_0x41827a(0x1ef)],'updateCursorEvent':_0x4fe18e[_0x41827a(0x5a3)]['data']};break;}case _0x4d11e3[_0x41827a(0x213)][_0x41827a(0x37b)]:{_0xcbebf={'eventID':_0x4d11e3[_0x41827a(0x213)][_0x41827a(0x37b)],'leaveEvent':_0x4fe18e[_0x41827a(0x5a3)][_0x41827a(0x5a3)]};break;}case _0x4d11e3['CollaborationEvent'][_0x41827a(0x19c)]:{_0xcbebf={'eventID':_0x4d11e3[_0x41827a(0x213)][_0x41827a(0x19c)],'joinEvent':_0x4fe18e['data'][_0x41827a(0x5a3)]};break;}case _0x4d11e3['CollaborationEvent'][_0x41827a(0x545)]:{_0xcbebf={'eventID':_0x4d11e3[_0x41827a(0x213)][_0x41827a(0x545)],'liveShareNewHost':_0x4fe18e[_0x41827a(0x5a3)]['data']};break;}case _0x4d11e3[_0x41827a(0x213)][_0x41827a(0x2d1)]:{_0xcbebf={'eventID':_0x4d11e3[_0x41827a(0x213)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x4fe18e[_0x41827a(0x5a3)][_0x41827a(0x5a3)]};break;}case _0x4d11e3[_0x41827a(0x213)][_0x41827a(0x5de)]:{_0xcbebf={'eventID':_0x4d11e3[_0x41827a(0x213)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x4fe18e[_0x41827a(0x5a3)][_0x41827a(0x5a3)]};break;}case _0x4d11e3[_0x41827a(0x213)][_0x41827a(0x49a)]:{_0xcbebf={'eventID':_0x4d11e3[_0x41827a(0x213)][_0x41827a(0x49a)],'liveShareRequestHost':_0x4fe18e[_0x41827a(0x5a3)][_0x41827a(0x5a3)]};break;}case _0x4d11e3['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:{_0xcbebf={'eventID':_0x4d11e3[_0x41827a(0x213)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0xcbebf={'eventID':_0x4fe18e[_0x41827a(0x5a3)]['eventID']};}return JSON[_0x41827a(0x58b)]({'cmd':_0x4fe18e['cmd'],'routeKey':_0x4fe18e['routeKey'],'collaMsg':_0xcbebf});}case _0x58f514[_0x41827a(0x46e)]:return JSON[_0x41827a(0x58b)]({'cmd':_0x4fe18e[_0x41827a(0x515)],'routeKey':_0x4fe18e[_0x41827a(0x2a7)],'joinReq':_0x4fe18e[_0x41827a(0x5a3)]});case _0x58f514[_0x41827a(0x399)]:return JSON['stringify']({'cmd':_0x4fe18e[_0x41827a(0x515)],'routeKey':_0x4fe18e[_0x41827a(0x2a7)],'leaveReq':_0x4fe18e[_0x41827a(0x5a3)]});default:throw new Error(_0x41827a(0x58f));}}var _0x5c51a2=Object[_0x494bb3(0x5f8)],_0x5fe780=Object[_0x494bb3(0x51e)],_0x1f709d=(_0x282df2,_0x4679be,_0x2bdf3e,_0x4bfb0c)=>{const _0x5df77f=_0x494bb3;for(var _0x4f9eb1=_0x4bfb0c>0x1?void 0x0:_0x4bfb0c?_0x5fe780(_0x4679be,_0x2bdf3e):_0x4679be,_0x26fc30=_0x282df2[_0x5df77f(0x5aa)]-0x1,_0x43e24d;_0x26fc30>=0x0;_0x26fc30--)(_0x43e24d=_0x282df2[_0x26fc30])&&(_0x4f9eb1=(_0x4bfb0c?_0x43e24d(_0x4679be,_0x2bdf3e,_0x4f9eb1):_0x43e24d(_0x4f9eb1))||_0x4f9eb1);return _0x4bfb0c&&_0x4f9eb1&&_0x5c51a2(_0x4679be,_0x2bdf3e,_0x4f9eb1),_0x4f9eb1;},_0x297a21=(_0x7efc8a,_0x2c3e38)=>(_0x82a823,_0x16481d)=>_0x2c3e38(_0x82a823,_0x16481d,_0x7efc8a);const _0x45677d=_0x5a20c3['createIdentifier'](_0x494bb3(0x5cc));function _0x1f8749(_0x1ff67e,_0x3fa0e8,_0x15e5a7){return _0x1ff67e+'/'+_0x3fa0e8+'/unit/'+_0x15e5a7+'/new_changes';}_0x38d423[_0x494bb3(0x3f6)]=class extends _0x5a20c3[_0x494bb3(0x1c9)]{constructor(_0x9990cf,_0x5be073,_0x5a502b,_0x34ff83,_0x3db614){const _0x44bf5c=_0x494bb3;super(),this[_0x44bf5c(0x4eb)]=_0x9990cf,this[_0x44bf5c(0x15e)]=_0x5be073,this[_0x44bf5c(0x1f1)]=_0x5a502b,this['_logService']=_0x34ff83,this[_0x44bf5c(0x39e)]=_0x3db614;}[_0x494bb3(0x265)](_0x5ba300){const _0x2d5902=_0x494bb3,_0x31bfdf=this[_0x2d5902(0x15e)]['createSocket'](_0x5ba300);if(!_0x31bfdf)throw new Error(_0x2d5902(0x586));const _0x3cd904=new _0x5a20c3['DisposableCollection'](),_0x4ad640=new _0x32bae4[(_0x2d5902(0x20b))]();_0x3cd904[_0x2d5902(0x492)](_0x31bfdf[_0x2d5902(0x180)][_0x2d5902(0x38d)](_0x3256c8=>_0x4ad640['next'](_0x3256c8))),_0x3cd904[_0x2d5902(0x492)](_0x5a20c3[_0x2d5902(0x1d8)](()=>_0x4ad640['complete']()));const _0x565fb5=new _0x32bae4[(_0x2d5902(0x20b))]();_0x3cd904[_0x2d5902(0x492)](_0x31bfdf[_0x2d5902(0x457)]['subscribe'](_0x4f2df9=>_0x565fb5[_0x2d5902(0x5dd)](_0x4f2df9))),_0x3cd904['add'](_0x5a20c3['toDisposable'](()=>_0x565fb5[_0x2d5902(0x548)]()));const _0x4c5937=new _0x32bae4['Subject']();_0x3cd904['add'](_0x31bfdf[_0x2d5902(0x608)][_0x2d5902(0x38d)](_0x32aa94=>{const _0x1adea7=_0x2d5902,_0x5a755e=_0x2ef67b(_0x32aa94);_0x4c5937[_0x1adea7(0x5dd)](_0x5a755e);})),_0x3cd904[_0x2d5902(0x492)](_0x5a20c3[_0x2d5902(0x1d8)](()=>_0x4c5937[_0x2d5902(0x548)]()));let _0x5de064;const _0x5818e3=()=>{const _0x259d59=_0x2d5902;_0x565fb5[_0x259d59(0x5dd)](new Event(_0x259d59(0x237))),_0x4ad640[_0x259d59(0x5dd)](new CloseEvent(_0x259d59(0x237))),_0x5de064[_0x259d59(0x1a0)]();};return _0x5de064={'memberID':'','close$':_0x4ad640['asObservable'](),'error$':_0x565fb5[_0x2d5902(0x4fe)](),'open$':_0x31bfdf[_0x2d5902(0x428)],'message$':_0x4c5937[_0x2d5902(0x4fe)](),'send':_0x5861c9=>{const _0x4702a5=_0x2d5902;if(_0x5861c9['cmd']===_0x58f514['INGEST']){if(_0x5861c9[_0x4702a5(0x5a3)]['eventID']===_0x4d11e3[_0x4702a5(0x213)][_0x4702a5(0x39d)]){this[_0x4702a5(0x4b0)](_0x5de064,_0x5861c9[_0x4702a5(0x5a3)])[_0x4702a5(0x304)](_0x3b299f=>{const _0x3373d8=_0x4702a5;this[_0x3373d8(0x3f5)][_0x3373d8(0x35a)](_0x3b299f),_0x5818e3();});return;}if(_0x5861c9[_0x4702a5(0x5a3)][_0x4702a5(0x383)]===_0x4d11e3[_0x4702a5(0x213)]['FETCH_MISSING']){const _0x3f8ac8=_0x5861c9[_0x4702a5(0x5a3)];this['_fetchMissChangesets'](_0x3f8ac8)[_0x4702a5(0x1ee)](_0x100588=>{const _0x53ab68=_0x4702a5;_0x4c5937[_0x53ab68(0x5dd)]({'cmd':_0x58f514[_0x53ab68(0x299)],'code':_0x3f92ef['OK'],'routeKey':_0x3f8ac8[_0x53ab68(0x5a3)][_0x53ab68(0x39f)],'routeType':'','data':{'eventID':_0x4d11e3[_0x53ab68(0x213)][_0x53ab68(0x388)],'data':{'changesets':_0x100588}}});})['catch'](_0x3f5d06=>{const _0x3bd332=_0x4702a5;this['_logService'][_0x3bd332(0x35a)](_0x3f5d06),_0x5818e3();});return;}}_0x31bfdf[_0x4702a5(0x424)](_0x3baba8(_0x5861c9));},'close':()=>{const _0x2f91a8=_0x2d5902;_0x31bfdf['close'](),_0x3cd904[_0x2f91a8(0x173)]();}},_0x5de064;}async[_0x494bb3(0x4b0)](_0x5324f8,_0x5f0bfe){const _0x4b62a2=_0x494bb3;var _0x5b21c5,_0x52b86b;const {unitType:_0x61699f,unitID:_0x588199,changeset:_0x1b9170}=_0x5f0bfe[_0x4b62a2(0x5a3)],_0x3f177c={'unitID':_0x588199,'memberID':_0x5324f8[_0x4b62a2(0x550)],'type':_0x61699f,'changeset':_0x4d11e3[_0x4b62a2(0x4e3)](_0x1b9170)},_0x4ffd34=this[_0x4b62a2(0x1f1)][_0x4b62a2(0x19a)](_0x4abc67),_0x3eca98=this[_0x4b62a2(0x1f1)][_0x4b62a2(0x19a)](_0x59eaf6),_0x5f0c5a=_0x1f8749((_0x52b86b=(_0x5b21c5=_0x3eca98==null?void 0x0:_0x3eca98[_0x4b62a2(0x4c8)])!=null?_0x5b21c5:_0x4ffd34)!=null?_0x52b86b:_0x5467a7,_0x61699f,_0x588199);try{await this[_0x4b62a2(0x4eb)][_0x4b62a2(0x20e)](_0x5f0c5a,{'body':_0x3f177c});}catch(_0x15053a){throw this['_logService']['error'](_0x4b62a2(0x2f2),_0x4b62a2(0x276)),_0x15053a;}}async[_0x494bb3(0x46c)](_0x1ea623){const _0x5cf3ea=_0x494bb3,{unitID:_0x2c7c61,from:_0x5df3cd,to:_0x51e793,unitType:_0x3d1078}=_0x1ea623[_0x5cf3ea(0x5a3)];return(await this[_0x5cf3ea(0x39e)][_0x5cf3ea(0x459)]({'metadata':void 0x0},{'unitID':_0x2c7c61,'type':_0x3d1078,'from':_0x5df3cd,'to':_0x51e793}))[_0x5cf3ea(0x54d)];}},_0x38d423['CollaborationSocketService']=_0x1f709d([_0x297a21(0x0,_0x5a20c3[_0x494bb3(0x57c)](_0x9ed4dd['HTTPService'])),_0x297a21(0x1,_0x5a20c3['Inject'](_0x9ed4dd[_0x494bb3(0x1ba)])),_0x297a21(0x2,_0x5a20c3[_0x494bb3(0x175)]),_0x297a21(0x3,_0x5a20c3['ILogService']),_0x297a21(0x4,_0x4d11e3[_0x494bb3(0x553)])],_0x38d423['CollaborationSocketService']);const _0x50ad6b='collaboration_new_changeset';function _0x23fb7d(_0x18ab9d){const _0x1d0013=_0x494bb3;return JSON[_0x1d0013(0x58b)](_0x18ab9d)[_0x1d0013(0x5aa)];}class _0x1cf212{constructor(){const _0x2e1960=_0x494bb3;_0x3ed524(this,_0x2e1960(0x200),new _0x32bae4[(_0x2e1960(0x20b))]()),_0x3ed524(this,_0x2e1960(0x3e0),this[_0x2e1960(0x200)][_0x2e1960(0x4fe)]());}[_0x494bb3(0x41c)](_0x1c3376){const _0x11ee0d=_0x494bb3;this[_0x11ee0d(0x200)][_0x11ee0d(0x5dd)](_0x1c3376);}}var _0x45fcc6=Object['defineProperty'],_0x592c88=Object[_0x494bb3(0x51e)],_0x5251c5=(_0x29e2e6,_0x4adfd3,_0x5974d6,_0x190382)=>{const _0x239029=_0x494bb3;for(var _0x285daf=_0x190382>0x1?void 0x0:_0x190382?_0x592c88(_0x4adfd3,_0x5974d6):_0x4adfd3,_0x450496=_0x29e2e6[_0x239029(0x5aa)]-0x1,_0xd4190f;_0x450496>=0x0;_0x450496--)(_0xd4190f=_0x29e2e6[_0x450496])&&(_0x285daf=(_0x190382?_0xd4190f(_0x4adfd3,_0x5974d6,_0x285daf):_0xd4190f(_0x285daf))||_0x285daf);return _0x190382&&_0x285daf&&_0x45fcc6(_0x4adfd3,_0x5974d6,_0x285daf),_0x285daf;},_0xa2a287=(_0x2966eb,_0x30e3f2)=>(_0x184d1e,_0x5f0a60)=>_0x30e3f2(_0x184d1e,_0x5f0a60,_0x2966eb);_0x38d423[_0x494bb3(0x30c)]=class extends _0x5a20c3[_0x494bb3(0x1c9)]{constructor(_0x367565,_0x114ec1){const _0x29b8f2=_0x494bb3;super(),_0x3ed524(this,'_roomMembers',new Map()),(this[_0x29b8f2(0x4a7)]=_0x367565,this[_0x29b8f2(0x496)]=_0x114ec1,this[_0x29b8f2(0x385)](_0x5a20c3[_0x29b8f2(0x1d8)](_0x32bae4['merge'](this[_0x29b8f2(0x4a7)][_0x29b8f2(0x5f4)](_0x5a20c3['UniverInstanceType'][_0x29b8f2(0x329)])['pipe'](_0x51e720[_0x29b8f2(0x48f)](_0x54ad97=>_0x54ad97[_0x29b8f2(0x4dc)]())),this[_0x29b8f2(0x4a7)]['getTypeOfUnitDisposed$'](_0x5a20c3[_0x29b8f2(0x4c5)][_0x29b8f2(0x512)])[_0x29b8f2(0x1d4)](_0x51e720['map'](_0x57f21b=>_0x57f21b[_0x29b8f2(0x4dc)]())),this[_0x29b8f2(0x4a7)]['getTypeOfUnitDisposed$'](_0x5a20c3[_0x29b8f2(0x4c5)][_0x29b8f2(0x315)])[_0x29b8f2(0x1d4)](_0x51e720[_0x29b8f2(0x48f)](_0x1c5f1f=>_0x1c5f1f[_0x29b8f2(0x4dc)]())))['subscribe'](_0x8e3822=>this[_0x29b8f2(0x2f0)](_0x8e3822)))));}[_0x494bb3(0x19d)](_0x453f6b){const _0x3f4435=_0x494bb3;this['_userManagerService'][_0x3f4435(0x19d)](_0x453f6b);}[_0x494bb3(0x606)](){return this['_userManagerService']['getCurrentUser']();}[_0x494bb3(0x507)](_0xd5131a,_0x5a25de){const _0x2ca001=_0x494bb3;let _0x286793=this['_roomMembers'][_0x2ca001(0x537)](_0xd5131a);_0x286793||(_0x286793=new _0x154ca9(),this[_0x2ca001(0x325)][_0x2ca001(0x33d)](_0xd5131a,_0x286793)),_0x286793[_0x2ca001(0x507)](_0x5a25de);}[_0x494bb3(0x218)](_0x2edf8f,_0x1cfbdf){const _0x23dc6f=_0x494bb3,_0x3eecd1=this[_0x23dc6f(0x325)][_0x23dc6f(0x537)](_0x2edf8f);_0x3eecd1&&_0x3eecd1[_0x23dc6f(0x218)](_0x1cfbdf);}['getRoom'](_0x5d4086){const _0x503171=_0x494bb3;return this[_0x503171(0x325)][_0x503171(0x537)](_0x5d4086);}[_0x494bb3(0x600)](_0x56e9a9,_0x1c543f){const _0x2c2db8=_0x494bb3,_0x47343f=this[_0x2c2db8(0x325)][_0x2c2db8(0x537)](_0x56e9a9);if(_0x47343f)return _0x47343f[_0x2c2db8(0x600)](_0x1c543f);}['_removeRoom'](_0x43e983){const _0x15d71b=_0x494bb3,_0x293cd3=this['_roomMembers'][_0x15d71b(0x537)](_0x43e983);_0x293cd3&&(_0x293cd3['dispose'](),this['_roomMembers'][_0x15d71b(0x43d)](_0x43e983));}['dispose'](){const _0x3cc9a5=_0x494bb3;this[_0x3cc9a5(0x325)][_0x3cc9a5(0x5e8)](_0x1f8fec=>_0x1f8fec[_0x3cc9a5(0x173)]()),this[_0x3cc9a5(0x325)]['clear']();}},_0x38d423[_0x494bb3(0x30c)]=_0x5251c5([_0xa2a287(0x0,_0x5a20c3[_0x494bb3(0x17e)]),_0xa2a287(0x1,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3['UserManagerService']))],_0x38d423[_0x494bb3(0x30c)]);class _0x154ca9 extends _0x5a20c3[_0x494bb3(0x1c9)]{constructor(){const _0x3dbebb=_0x494bb3;super(...arguments),_0x3ed524(this,_0x3dbebb(0x437),new Map());}[_0x494bb3(0x173)](){const _0x4519fa=_0x494bb3;this['_members'][_0x4519fa(0x366)]();}[_0x494bb3(0x507)](_0x4862fc){const _0x244923=_0x494bb3;this['_members'][_0x244923(0x33d)](_0x4862fc[_0x244923(0x550)],_0x4862fc);}[_0x494bb3(0x218)](_0x1536fe){const _0x53e186=_0x494bb3;this[_0x53e186(0x437)][_0x53e186(0x43d)](_0x1536fe);}[_0x494bb3(0x600)](_0x164cbf){const _0x388d5e=_0x494bb3;return this[_0x388d5e(0x437)][_0x388d5e(0x537)](_0x164cbf);}[_0x494bb3(0x1b7)](){const _0x2e8047=_0x494bb3;return Array[_0x2e8047(0x2d5)](this[_0x2e8047(0x437)][_0x2e8047(0x4f0)]());}}var _0x43105b=Object[_0x494bb3(0x5f8)],_0x559196=Object['getOwnPropertyDescriptor'],_0x1604aa=(_0x459eac,_0x4eed71,_0x42094d,_0x503db7)=>{for(var _0x16ce4d=_0x503db7>0x1?void 0x0:_0x503db7?_0x559196(_0x4eed71,_0x42094d):_0x4eed71,_0x58ff48=_0x459eac['length']-0x1,_0x163a02;_0x58ff48>=0x0;_0x58ff48--)(_0x163a02=_0x459eac[_0x58ff48])&&(_0x16ce4d=(_0x503db7?_0x163a02(_0x4eed71,_0x42094d,_0x16ce4d):_0x163a02(_0x16ce4d))||_0x16ce4d);return _0x503db7&&_0x16ce4d&&_0x43105b(_0x4eed71,_0x42094d,_0x16ce4d),_0x16ce4d;},_0x4fc36a=(_0x5af5f2,_0x405e53)=>(_0x55f36a,_0x171cb3)=>_0x405e53(_0x55f36a,_0x171cb3,_0x5af5f2),_0x5f2a52=(_0x158601=>(_0x158601[_0x158601[_0x494bb3(0x177)]=0x0]='IDLE',_0x158601[_0x158601[_0x494bb3(0x405)]=0x1]='JOINING',_0x158601[_0x158601['OFFLINE']=0x2]=_0x494bb3(0x1de),_0x158601[_0x158601[_0x494bb3(0x5c1)]=0x3]=_0x494bb3(0x5c1),_0x158601))(_0x5f2a52||{});_0x38d423[_0x494bb3(0x3b1)]=class extends _0x5a20c3[_0x494bb3(0x3ed)]{constructor(_0x4cd880,_0x5acec6,_0x4fcbf9,_0x49e8a2,_0x29c732,_0x3f38c9,_0xefbd93,_0x1be423,_0x13c940,_0x2ac9d7){const _0x257f90=_0x494bb3;super(),_0x3ed524(this,_0x257f90(0x364),new _0x32bae4['BehaviorSubject'](0x0)),_0x3ed524(this,_0x257f90(0x398),this[_0x257f90(0x364)][_0x257f90(0x4fe)]()),_0x3ed524(this,'_event$',new _0x32bae4['Subject']()),_0x3ed524(this,_0x257f90(0x5f6),this['_event$'][_0x257f90(0x4fe)]()),_0x3ed524(this,_0x257f90(0x4e9)),_0x3ed524(this,_0x257f90(0x28b)),_0x3ed524(this,_0x257f90(0x261)),_0x3ed524(this,'_shouldReportTelemetry',!0x1),_0x3ed524(this,_0x257f90(0x3c2),null),(this[_0x257f90(0x42b)]=_0x4cd880,this['_logService']=_0x4fcbf9,this[_0x257f90(0x2e9)]=_0x49e8a2,this[_0x257f90(0x2cc)]=_0x29c732,this[_0x257f90(0x1f1)]=_0x3f38c9,this[_0x257f90(0x26e)]=_0xefbd93,this['_memberService']=_0x1be423,this[_0x257f90(0x25f)]=_0x13c940,this['_telemetryService']=_0x2ac9d7,this[_0x257f90(0x5b0)]=!!this[_0x257f90(0x417)],_0x5acec6[_0x257f90(0x1d4)](_0x32bae4['takeUntil'](this['dispose$']))[_0x257f90(0x38d)](_0x3f06c0=>{const _0x2adff2=_0x257f90;var _0x472a39;typeof _0x3f06c0>'u'||(this[_0x2adff2(0x4e9)]=_0x3f06c0,_0x3f06c0?(this[_0x2adff2(0x4a6)](_0x3f06c0),this['_socketMessageSubscription']=_0x3f06c0['message$'][_0x2adff2(0x38d)](_0x515520=>{const _0xeb7dcc=_0x2adff2;_0x515520[_0xeb7dcc(0x2a7)]===this['_unitID']&&this['_onCombEvent'](_0x515520);})):(this[_0x2adff2(0x2c0)](),this[_0x2adff2(0x364)][_0x2adff2(0x5dd)](0x2),(_0x472a39=this[_0x2adff2(0x28b)])==null||_0x472a39[_0x2adff2(0x365)](),this[_0x2adff2(0x28b)]=null));}),this[_0x257f90(0x385)](this['_beforeCloseService'][_0x257f90(0x1a2)](()=>{const _0x25532b=_0x257f90;var _0x4cec17;(_0x4cec17=this[_0x25532b(0x4e9)])==null||_0x4cec17[_0x25532b(0x424)]({'cmd':_0x58f514[_0x25532b(0x399)],'data':{'roomID':this[_0x25532b(0x42b)]}});})));}get[_0x494bb3(0x3c9)](){const _0x557f76=_0x494bb3;return this[_0x557f76(0x364)][_0x557f76(0x532)]();}[_0x494bb3(0x488)](){const _0x2bc634=_0x494bb3;var _0x565883,_0x27dd28;return(_0x27dd28=(_0x565883=this['_socket'])==null?void 0x0:_0x565883[_0x2bc634(0x550)])!=null?_0x27dd28:null;}['dispose'](){const _0x2e3d1b=_0x494bb3;super[_0x2e3d1b(0x173)](),this[_0x2e3d1b(0x5af)][_0x2e3d1b(0x5dd)](),this[_0x2e3d1b(0x5af)][_0x2e3d1b(0x548)]();}[_0x494bb3(0x1a0)](){const _0x4c522f=_0x494bb3;var _0x50f4d2,_0x63f11f;this[_0x4c522f(0x2c0)](),(_0x50f4d2=this['_socket'])==null||_0x50f4d2[_0x4c522f(0x424)]({'cmd':_0x58f514[_0x4c522f(0x399)],'data':{'roomID':this[_0x4c522f(0x42b)]}}),(_0x63f11f=this[_0x4c522f(0x4e9)])==null||_0x63f11f[_0x4c522f(0x1a0)](),this[_0x4c522f(0x395)][_0x4c522f(0x548)](),this[_0x4c522f(0x364)][_0x4c522f(0x548)](),this['dispose']();}['_onCombEvent'](_0x4fbf37){const _0x5cef62=_0x494bb3;_0x4fbf37['cmd']===_0x58f514[_0x5cef62(0x46e)]?this[_0x5cef62(0x15c)](_0x4fbf37):_0x4fbf37['cmd']===_0x58f514[_0x5cef62(0x299)]&&this[_0x5cef62(0x379)](_0x4fbf37);}[_0x494bb3(0x4a6)](_0x1b7609){const _0x464710=_0x494bb3;this[_0x464710(0x364)]['next'](0x1),_0x1b7609[_0x464710(0x424)]({'cmd':_0x58f514[_0x464710(0x46e)],'routeKey':this[_0x464710(0x42b)],'routeType':'','data':{'rooms':[{'roomID':this[_0x464710(0x42b)]}]}});}['_onJoinRoomEvent'](_0x1039da){const _0x2973b8=_0x494bb3;var _0x31e776;if(_0x1039da[_0x2973b8(0x3dd)]===_0x3f92ef[_0x2973b8(0x48a)]){this[_0x2973b8(0x2cc)]['show']({'type':_0x989dfe[_0x2973b8(0x5f0)][_0x2973b8(0x225)],'content':this[_0x2973b8(0x26e)]['t'](_0x2973b8(0x394))}),this[_0x2973b8(0x364)][_0x2973b8(0x5dd)](0x2);return;}this['_sessionStatus$']['next'](0x3);const _0x192a37=(_0x31e776=_0x1039da[_0x2973b8(0x5a3)][_0x2973b8(0x24d)][this[_0x2973b8(0x42b)]])==null?void 0x0:_0x31e776[_0x2973b8(0x3e9)];_0x192a37&&_0x192a37[_0x2973b8(0x5e8)](_0x3d3480=>this[_0x2973b8(0x32d)][_0x2973b8(0x507)](this[_0x2973b8(0x42b)],_0x3d3480));}['_onRecvEvent'](_0x1932d9){const _0x14ba12=_0x494bb3;try{const _0x2d39eb=_0x1932d9[_0x14ba12(0x5a3)];switch(_0x2d39eb['eventID']){case _0x4d11e3[_0x14ba12(0x213)][_0x14ba12(0x19c)]:this[_0x14ba12(0x5e1)](_0x2d39eb),this[_0x14ba12(0x395)][_0x14ba12(0x5dd)](_0x2d39eb);break;case _0x4d11e3[_0x14ba12(0x213)]['USERS_LEAVE']:this[_0x14ba12(0x1f6)](_0x2d39eb),this['_event$'][_0x14ba12(0x5dd)](_0x2d39eb);break;case _0x4d11e3[_0x14ba12(0x213)][_0x14ba12(0x318)]:case _0x4d11e3[_0x14ba12(0x213)][_0x14ba12(0x529)]:this[_0x14ba12(0x45b)](),this[_0x14ba12(0x564)](),this['_event$']['next'](_0x2d39eb);break;case _0x4d11e3[_0x14ba12(0x213)][_0x14ba12(0x31f)]:this[_0x14ba12(0x3f5)][_0x14ba12(0x35a)](_0x14ba12(0x28f)+JSON[_0x14ba12(0x58b)](_0x2d39eb)),this['_event$'][_0x14ba12(0x5dd)](_0x2d39eb);break;case _0x4d11e3[_0x14ba12(0x213)][_0x14ba12(0x4e7)]:this[_0x14ba12(0x25f)][_0x14ba12(0x41c)](_0x2d39eb[_0x14ba12(0x5a3)]),this[_0x14ba12(0x395)]['next'](_0x2d39eb);break;default:this[_0x14ba12(0x395)][_0x14ba12(0x5dd)](_0x2d39eb);}}catch(_0x19b8bb){this['_logService'][_0x14ba12(0x35a)](_0x19b8bb,_0x1932d9);}}[_0x494bb3(0x5e1)](_0x3bc893){const _0x31ebcb=_0x494bb3;this[_0x31ebcb(0x32d)]['updateMember'](this[_0x31ebcb(0x42b)],_0x3bc893[_0x31ebcb(0x5a3)]);}[_0x494bb3(0x1f6)](_0x3a5619){const _0x152ee4=_0x494bb3;this[_0x152ee4(0x32d)][_0x152ee4(0x218)](this['_unitID'],_0x3a5619[_0x152ee4(0x5a3)][_0x152ee4(0x550)]);}async[_0x494bb3(0x424)](_0x6d0633,_0x274748){const _0x4796bf=_0x494bb3;if(this['sessionStatus']!==0x3||!this[_0x4796bf(0x4e9)])throw new Error(_0x4796bf(0x328));try{_0x6d0633[_0x4796bf(0x383)]===_0x4d11e3['CollaborationEvent'][_0x4796bf(0x39d)]&&(this[_0x4796bf(0x1ec)](),this[_0x4796bf(0x575)](_0x6d0633)),this[_0x4796bf(0x4e9)][_0x4796bf(0x424)]({'cmd':_0x58f514[_0x4796bf(0x450)],'routeKey':_0x274748,'routeType':'','data':_0x6d0633});}catch(_0x3bfd5b){this[_0x4796bf(0x3f5)][_0x4796bf(0x35a)](_0x3bfd5b);}}['_scheduleCollaborationTimeoutTimer'](){const _0xde8d33=_0x494bb3;var _0x2b4323;this[_0xde8d33(0x261)]=window['setTimeout'](()=>{const _0x4ff260=_0xde8d33;this[_0x4ff260(0x261)]=null,this[_0x4ff260(0x2cc)][_0x4ff260(0x478)]({'type':_0x989dfe[_0x4ff260(0x5f0)]['Error'],'content':this[_0x4ff260(0x26e)]['t'](_0x4ff260(0x52d))});},(_0x2b4323=this['_configService'][_0xde8d33(0x19a)](_0x1c1612))!=null?_0x2b4323:0x4e20);}[_0x494bb3(0x564)](){const _0x642984=_0x494bb3;this[_0x642984(0x261)]&&(clearTimeout(this[_0x642984(0x261)]),this[_0x642984(0x261)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x4b1d57){const _0x296c29=_0x494bb3;if(!this['_shouldReportTelemetry'])return;const {data:_0x43029a}=_0x4b1d57,{unitID:_0x3071da,changeset:_0xf2fedd}=_0x43029a,{mutations:_0x5da696,type:_0x462866}=_0xf2fedd;this[_0x296c29(0x3c2)]={'unitId':_0x3071da,'type':_0x462866,'startTime':performance[_0x296c29(0x280)](),'stopTime':0x0,'duration':0x0,'size':_0x23fb7d(_0x5da696)};}[_0x494bb3(0x45b)](){const _0x19900f=_0x494bb3;if(this['_shouldReportTelemetry']){if(!this[_0x19900f(0x3c2)]){this[_0x19900f(0x3f5)][_0x19900f(0x35a)](_0x19900f(0x2f2),_0x19900f(0x391));return;}this[_0x19900f(0x3c2)][_0x19900f(0x348)]=performance[_0x19900f(0x280)](),this[_0x19900f(0x3c2)][_0x19900f(0x34a)]=this[_0x19900f(0x3c2)]['stopTime']-this[_0x19900f(0x3c2)][_0x19900f(0x358)],this[_0x19900f(0x417)][_0x19900f(0x5b4)](_0x50ad6b,this[_0x19900f(0x3c2)]),this[_0x19900f(0x3c2)]=null;}}[_0x494bb3(0x2c0)](){const _0x511677=_0x494bb3;this[_0x511677(0x3c2)]=null;}},_0x38d423['CollaborationSession']=_0x1604aa([_0x4fc36a(0x2,_0x5a20c3[_0x494bb3(0x494)]),_0x4fc36a(0x3,_0x33d470[_0x494bb3(0x3e1)]),_0x4fc36a(0x4,_0x33d470[_0x494bb3(0x454)]),_0x4fc36a(0x5,_0x5a20c3['IConfigService']),_0x4fc36a(0x6,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x439)])),_0x4fc36a(0x7,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x30c)])),_0x4fc36a(0x8,_0x5a20c3[_0x494bb3(0x57c)](_0x1cf212)),_0x4fc36a(0x9,_0x5a20c3[_0x494bb3(0x59d)](_0x2e1b9e['ITelemetryService']))],_0x38d423[_0x494bb3(0x3b1)]);var _0x1d985d=Object[_0x494bb3(0x5f8)],_0xcd6206=Object[_0x494bb3(0x51e)],_0x2a3ea9=(_0x4a17c8,_0x39b2a5,_0x417659,_0x37b1a9)=>{const _0x55fc3a=_0x494bb3;for(var _0x43edc6=_0x37b1a9>0x1?void 0x0:_0x37b1a9?_0xcd6206(_0x39b2a5,_0x417659):_0x39b2a5,_0xd7755d=_0x4a17c8[_0x55fc3a(0x5aa)]-0x1,_0x38b24f;_0xd7755d>=0x0;_0xd7755d--)(_0x38b24f=_0x4a17c8[_0xd7755d])&&(_0x43edc6=(_0x37b1a9?_0x38b24f(_0x39b2a5,_0x417659,_0x43edc6):_0x38b24f(_0x43edc6))||_0x43edc6);return _0x37b1a9&&_0x43edc6&&_0x1d985d(_0x39b2a5,_0x417659,_0x43edc6),_0x43edc6;},_0x3f44e6=(_0x40efb8,_0xa24ef6)=>(_0x78ea44,_0x54ebdc)=>_0xa24ef6(_0x78ea44,_0x54ebdc,_0x40efb8);_0x38d423[_0x494bb3(0x1a9)]=class extends _0x5a20c3[_0x494bb3(0x1c9)]{constructor(_0x302936,_0x206269,_0x241d8d,_0xb59638,_0x43c81d,_0x922d70){const _0x3b96a7=_0x494bb3;super(),_0x3ed524(this,_0x3b96a7(0x3eb),new _0x32bae4[(_0x3b96a7(0x55c))](void 0x0)),_0x3ed524(this,'socket$',this[_0x3b96a7(0x3eb)][_0x3b96a7(0x4fe)]()),_0x3ed524(this,_0x3b96a7(0x2c9),null),_0x3ed524(this,_0x3b96a7(0x17f),new Map()),_0x3ed524(this,_0x3b96a7(0x447),new _0x32bae4[(_0x3b96a7(0x55c))](_0x5f2a52[_0x3b96a7(0x177)])),_0x3ed524(this,_0x3b96a7(0x5e2),this[_0x3b96a7(0x447)][_0x3b96a7(0x4fe)]()),_0x3ed524(this,_0x3b96a7(0x3ff),!0x1),_0x3ed524(this,_0x3b96a7(0x445)),_0x3ed524(this,_0x3b96a7(0x607),0x0),_0x3ed524(this,'_sendHeartbeatTimer'),_0x3ed524(this,_0x3b96a7(0x5ee)),(this[_0x3b96a7(0x221)]=_0x302936,this['_localeService']=_0x206269,this[_0x3b96a7(0x2cc)]=_0x241d8d,this['_logService']=_0xb59638,this[_0x3b96a7(0x1f1)]=_0x43c81d,this['_socketService']=_0x922d70,this[_0x3b96a7(0x4b6)]());}get['_socket'](){const _0x25b2b8=_0x494bb3;return this[_0x25b2b8(0x3eb)]['getValue']();}['_initEventListeners'](){const _0xe03831=_0x494bb3;this[_0xe03831(0x26f)](),this[_0xe03831(0x32f)]();}[_0x494bb3(0x173)](){const _0xde2d5a=_0x494bb3;super['dispose'](),this[_0xde2d5a(0x17f)][_0xde2d5a(0x5e8)](_0x54c9c0=>_0x54c9c0[_0xde2d5a(0x173)]()),this[_0xde2d5a(0x17f)][_0xde2d5a(0x366)](),this[_0xde2d5a(0x447)][_0xde2d5a(0x548)]();}async[_0x494bb3(0x3b7)](_0x3cf6a6){const _0x18f3f0=_0x494bb3;if(this[_0x18f3f0(0x17f)][_0x18f3f0(0x4a3)](_0x3cf6a6))return this[_0x18f3f0(0x17f)][_0x18f3f0(0x537)](_0x3cf6a6);this[_0x18f3f0(0x1e3)]();const _0x2ebe65=this[_0x18f3f0(0x221)][_0x18f3f0(0x566)](_0x38d423[_0x18f3f0(0x3b1)],_0x3cf6a6,this[_0x18f3f0(0x3eb)][_0x18f3f0(0x4fe)]());return this[_0x18f3f0(0x17f)][_0x18f3f0(0x33d)](_0x3cf6a6,_0x2ebe65),_0x2ebe65;}['closeSession'](_0x1ff613){const _0x50fa42=_0x494bb3;var _0x5684b2;const _0x39da7c=this['_sessions'][_0x50fa42(0x537)](_0x1ff613);_0x39da7c&&(this['_sessions']['delete'](_0x1ff613),_0x39da7c[_0x50fa42(0x1a0)]()),this[_0x50fa42(0x17f)][_0x50fa42(0x23e)]||(_0x5684b2=this[_0x50fa42(0x4e9)])==null||_0x5684b2[_0x50fa42(0x1a0)]();}[_0x494bb3(0x5bc)](){const _0x4f9d00=_0x494bb3;this[_0x4f9d00(0x607)]=0x0,this[_0x4f9d00(0x445)]!=null&&(clearTimeout(this[_0x4f9d00(0x445)]),this[_0x4f9d00(0x445)]=null),this[_0x4f9d00(0x27e)]();}[_0x494bb3(0x558)](){const _0x4e8644=_0x494bb3;var _0x32baba,_0x2f7a48;const _0x20ab09=this[_0x4e8644(0x1f1)][_0x4e8644(0x19a)](_0x4420d6),_0x164a14=this[_0x4e8644(0x1f1)][_0x4e8644(0x19a)](_0x59eaf6),_0x392933=(_0x2f7a48=(_0x32baba=_0x164a14==null?void 0x0:_0x164a14['collabWebSocketUrl'])!=null?_0x32baba:_0x20ab09)!=null?_0x2f7a48:_0x575f6c,_0x540a5a=this[_0x4e8644(0x1fe)]['createSocket'](_0x392933);return this[_0x4e8644(0x2c9)]=_0x540a5a,_0x540a5a;}['_tryEnsureSocket'](){const _0x2b0812=_0x494bb3;var _0x99d7fc,_0x55a001;try{const _0x35f96d=(_0x55a001=(_0x99d7fc=this[_0x2b0812(0x4e9)])!=null?_0x99d7fc:this[_0x2b0812(0x2c9)])!=null?_0x55a001:this[_0x2b0812(0x558)]();if(_0x35f96d){const _0x3dafd7=_0x35f96d['send'];_0x35f96d[_0x2b0812(0x424)]=_0x1fe96d=>(this['_rescheduleHeartbeat'](),_0x3dafd7['apply'](_0x35f96d,[_0x1fe96d])),_0x35f96d[_0x2b0812(0x608)][_0x2b0812(0x38d)](_0x21a646=>this[_0x2b0812(0x4f4)](_0x35f96d,_0x21a646)),_0x35f96d['error$'][_0x2b0812(0x1d4)](_0x51e720['take'](0x1))[_0x2b0812(0x38d)](_0x3d7195=>this[_0x2b0812(0x3f5)]['error']('[CollaborationSessionService]:\x20socket\x20error',_0x3d7195)),_0x35f96d[_0x2b0812(0x428)][_0x2b0812(0x1d4)](_0x51e720[_0x2b0812(0x5d8)](0x1))[_0x2b0812(0x38d)](()=>{const _0x4be68b=_0x2b0812;this[_0x4be68b(0x42d)](_0x35f96d);}),_0x35f96d[_0x2b0812(0x180)][_0x2b0812(0x1d4)](_0x51e720['take'](0x1))[_0x2b0812(0x38d)](_0x4ae39e=>{const _0x5c2aaa=_0x2b0812;this[_0x5c2aaa(0x3f5)][_0x5c2aaa(0x1b0)](_0x5c2aaa(0x240),_0x5c2aaa(0x339),_0x4ae39e),this[_0x5c2aaa(0x362)]();});}}catch(_0x5df5b2){this[_0x2b0812(0x3f5)][_0x2b0812(0x35a)](_0x5df5b2),this[_0x2b0812(0x362)]();}}[_0x494bb3(0x42d)](_0x23cf95){const _0x90d5c5=_0x494bb3;this[_0x90d5c5(0x3f5)][_0x90d5c5(0x1b0)](_0x90d5c5(0x240),_0x90d5c5(0x3f0)),_0x23cf95['send']({'cmd':_0x58f514[_0x90d5c5(0x4fb)]}),this['_rescheduleHeartbeat']();}[_0x494bb3(0x26f)](){const _0x106b8f=_0x494bb3;window[_0x106b8f(0x4e2)](_0x106b8f(0x333),()=>this['_onOffline']());}[_0x494bb3(0x16b)](){const _0x360b31=_0x494bb3;this['_socketReady']=!0x1,this[_0x360b31(0x2c9)]=null,this['_status$'][_0x360b31(0x5dd)](_0x5f2a52[_0x360b31(0x1de)]),this['_socket$']['next'](null),this['_clearTimeoutTimer'](),this[_0x360b31(0x24a)]();}['_onConnectionFailed'](){const _0x1b3c29=_0x494bb3;var _0x2f7357;this[_0x1b3c29(0x16b)](),this[_0x1b3c29(0x607)]<((_0x2f7357=this[_0x1b3c29(0x1f1)][_0x1b3c29(0x19a)](_0x28861a))!=null?_0x2f7357:0x3)?(this[_0x1b3c29(0x2cc)][_0x1b3c29(0x478)]({'key':_0x1b3c29(0x162),'type':_0x989dfe['MessageType'][_0x1b3c29(0x225)],'content':this[_0x1b3c29(0x26e)]['t'](_0x1b3c29(0x216))}),this[_0x1b3c29(0x27e)]()):this['_messageService']['show']({'key':_0x1b3c29(0x162),'type':_0x989dfe[_0x1b3c29(0x5f0)]['Error'],'content':this[_0x1b3c29(0x26e)]['t'](_0x1b3c29(0x342))});}['_listenToOnlineEvent'](){const _0x55d911=_0x494bb3,_0x2d6955=()=>{const _0xd72d6c=_0x50cf;this[_0xd72d6c(0x4e9)]||this[_0xd72d6c(0x5bc)]();},_0x4a8018=()=>{const _0x35890c=_0x50cf;this['_socket']||document[_0x35890c(0x3ab)]===_0x35890c(0x592)||this[_0x35890c(0x5bc)]();};window[_0x55d911(0x4e2)](_0x55d911(0x386),_0x2d6955),document[_0x55d911(0x4e2)](_0x55d911(0x370),_0x4a8018);}['_tryReconnect'](){const _0x47f49f=_0x494bb3;var _0x27806b;const _0x12eeac=this[_0x47f49f(0x607)],_0x3976c0=this['_configService'][_0x47f49f(0x19a)](_0x59eaf6),_0x15f884=_0x12eeac===0x0?0x0:((_0x27806b=_0x3976c0==null?void 0x0:_0x3976c0[_0x47f49f(0x208)])!=null?_0x27806b:0x4e20)*0x2**_0x12eeac;this[_0x47f49f(0x445)]=window[_0x47f49f(0x4c3)](()=>{const _0x5ae4ac=_0x47f49f;clearTimeout(this[_0x5ae4ac(0x445)]),this[_0x5ae4ac(0x445)]=null,this[_0x5ae4ac(0x1e3)]();},_0x15f884),this['_retryCount']+=0x1;}[_0x494bb3(0x4f4)](_0x9b5422,_0xf27e18){const _0x55d409=_0x494bb3,{cmd:_0x56c3b6}=_0xf27e18;_0x56c3b6===_0x58f514[_0x55d409(0x4fb)]&&!this[_0x55d409(0x3ff)]&&(_0x9b5422[_0x55d409(0x550)]=_0xf27e18[_0x55d409(0x5a3)]['memberID'],this[_0x55d409(0x3eb)]['next'](_0x9b5422),this[_0x55d409(0x447)]['next'](_0x5f2a52[_0x55d409(0x5c1)]),this['_socketReady']=!0x0,this[_0x55d409(0x2c9)]=null),_0x56c3b6===_0x58f514[_0x55d409(0x359)]&&this[_0x55d409(0x484)](),this['_rescheduleHeartbeat']();}['_rescheduleHeartbeat'](){const _0xbcc1a=_0x494bb3;var _0x4f034b;this['_clearHeartbeatTimer'](),this[_0xbcc1a(0x215)]=window[_0xbcc1a(0x4c3)](()=>this[_0xbcc1a(0x501)](),(_0x4f034b=this[_0xbcc1a(0x1f1)][_0xbcc1a(0x19a)](_0x33903c))!=null?_0x4f034b:0x7530);}[_0x494bb3(0x501)](){const _0xcda6c8=_0x494bb3;this['_socket'][_0xcda6c8(0x424)]({'cmd':_0x58f514[_0xcda6c8(0x359)]}),this[_0xcda6c8(0x2bd)]();}[_0x494bb3(0x2bd)](){const _0x53b3c3=_0x494bb3;var _0xc56304;this[_0x53b3c3(0x5ee)]=window['setTimeout'](()=>this['_onConnectionFailed'](),(_0xc56304=this[_0x53b3c3(0x1f1)]['getConfig'](_0x1c1612))!=null?_0xc56304:0x4e20);}[_0x494bb3(0x24a)](){const _0x512dd5=_0x494bb3;this[_0x512dd5(0x215)]!=null&&(clearTimeout(this[_0x512dd5(0x215)]),this[_0x512dd5(0x215)]=null);}[_0x494bb3(0x484)](){const _0x2b34a3=_0x494bb3;this[_0x2b34a3(0x5ee)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x2b34a3(0x5ee)]=null);}},_0x38d423['CollaborationSessionService']=_0x2a3ea9([_0x3f44e6(0x0,_0x5a20c3['Inject'](_0x5a20c3[_0x494bb3(0x596)])),_0x3f44e6(0x1,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x439)])),_0x3f44e6(0x2,_0x33d470[_0x494bb3(0x454)]),_0x3f44e6(0x3,_0x5a20c3[_0x494bb3(0x494)]),_0x3f44e6(0x4,_0x5a20c3[_0x494bb3(0x175)]),_0x3f44e6(0x5,_0x45677d)],_0x38d423[_0x494bb3(0x1a9)]);for(var _0x4ee988=[],_0x5cddea=0x0;_0x5cddea<0x100;++_0x5cddea)_0x4ee988[_0x494bb3(0x196)]((_0x5cddea+0x100)[_0x494bb3(0x283)](0x10)[_0x494bb3(0x502)](0x1));function _0x298feb(_0x2d73b7,_0x12bec1=0x0){const _0x2e3767=_0x494bb3;return(_0x4ee988[_0x2d73b7[_0x12bec1+0x0]]+_0x4ee988[_0x2d73b7[_0x12bec1+0x1]]+_0x4ee988[_0x2d73b7[_0x12bec1+0x2]]+_0x4ee988[_0x2d73b7[_0x12bec1+0x3]]+'-'+_0x4ee988[_0x2d73b7[_0x12bec1+0x4]]+_0x4ee988[_0x2d73b7[_0x12bec1+0x5]]+'-'+_0x4ee988[_0x2d73b7[_0x12bec1+0x6]]+_0x4ee988[_0x2d73b7[_0x12bec1+0x7]]+'-'+_0x4ee988[_0x2d73b7[_0x12bec1+0x8]]+_0x4ee988[_0x2d73b7[_0x12bec1+0x9]]+'-'+_0x4ee988[_0x2d73b7[_0x12bec1+0xa]]+_0x4ee988[_0x2d73b7[_0x12bec1+0xb]]+_0x4ee988[_0x2d73b7[_0x12bec1+0xc]]+_0x4ee988[_0x2d73b7[_0x12bec1+0xd]]+_0x4ee988[_0x2d73b7[_0x12bec1+0xe]]+_0x4ee988[_0x2d73b7[_0x12bec1+0xf]])[_0x2e3767(0x2ec)]();}var _0x305028,_0x32d3da=new Uint8Array(0x10);function _0x51cc80(){const _0x2292e4=_0x494bb3;if(!_0x305028&&(_0x305028=typeof crypto<'u'&&crypto[_0x2292e4(0x289)]&&crypto[_0x2292e4(0x289)][_0x2292e4(0x2d8)](crypto),!_0x305028))throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');return _0x305028(_0x32d3da);}var _0x1d8736=typeof crypto<'u'&&crypto[_0x494bb3(0x179)]&&crypto[_0x494bb3(0x179)][_0x494bb3(0x2d8)](crypto);const _0x2a1f68={'randomUUID':_0x1d8736};function _0x4c4aaa(_0x442b92,_0xcf416,_0x5b403c){const _0x487a0d=_0x494bb3;if(_0x2a1f68[_0x487a0d(0x179)]&&!_0xcf416&&!_0x442b92)return _0x2a1f68[_0x487a0d(0x179)]();_0x442b92=_0x442b92||{};var _0x3502c1=_0x442b92[_0x487a0d(0x182)]||(_0x442b92[_0x487a0d(0x587)]||_0x51cc80)();return _0x3502c1[0x6]=_0x3502c1[0x6]&0xf|0x40,_0x3502c1[0x8]=_0x3502c1[0x8]&0x3f|0x80,_0x298feb(_0x3502c1);}var _0x2916ba=Object[_0x494bb3(0x5f8)],_0x3bc5a7=Object[_0x494bb3(0x51e)],_0x33720f=(_0x17ab14,_0xb65179,_0x5670f4,_0x3a7782)=>{for(var _0x482f6b=_0x3a7782>0x1?void 0x0:_0x3a7782?_0x3bc5a7(_0xb65179,_0x5670f4):_0xb65179,_0xb6d1f4=_0x17ab14['length']-0x1,_0x13b59e;_0xb6d1f4>=0x0;_0xb6d1f4--)(_0x13b59e=_0x17ab14[_0xb6d1f4])&&(_0x482f6b=(_0x3a7782?_0x13b59e(_0xb65179,_0x5670f4,_0x482f6b):_0x13b59e(_0x482f6b))||_0x482f6b);return _0x3a7782&&_0x482f6b&&_0x2916ba(_0xb65179,_0x5670f4,_0x482f6b),_0x482f6b;},_0x3902a6=(_0x40652d,_0x3a8a19)=>(_0x4e7326,_0x110f79)=>_0x3a8a19(_0x4e7326,_0x110f79,_0x40652d);let _0x11a9c0=class{constructor(_0x2dc2d5,_0x3c2632,_0xec89e7){const _0x45c782=_0x494bb3;this[_0x45c782(0x221)]=_0x2dc2d5,this[_0x45c782(0x241)]=_0x3c2632,this[_0x45c782(0x257)]=_0xec89e7;}[_0x494bb3(0x5fb)](_0x29c0e7){const _0x1461a8=_0x494bb3;this[_0x1461a8(0x238)](_0x29c0e7),this['_transformPreviousActiveRange'](_0x29c0e7);}[_0x494bb3(0x460)](_0x32d0fe){const _0x316548=_0x494bb3,{unitID:_0x384a86}=_0x32d0fe,_0x30d13a=this[_0x316548(0x257)][_0x316548(0x5da)](_0x384a86)['with'](_0xe07534['DocIMEInputManagerService']),{redoCache:_0xfaa893}=_0x30d13a['getUndoRedoMutationParamsCache']();if(_0xfaa893[_0x316548(0x5aa)]===0x0)return _0x32d0fe;let _0x89a123=_0x5a20c3['Tools'][_0x316548(0x5e3)](_0x32d0fe[_0x316548(0x341)][0x0]);for(let _0x847f70=0x0;_0x847f70<_0xfaa893[_0x316548(0x5aa)];_0x847f70++){const _0x463fc0={'id':_0x316548(0x1b8),'params':{..._0xfaa893[_0x847f70]}},_0x5d7577=this[_0x316548(0x241)][_0x316548(0x5d4)](_0x89a123,_0x463fc0,!0x1);if(_0x4d11e3[_0x316548(0x40d)](_0x5d7577))throw _0x5d7577['error'];_0x89a123=_0x5d7577[_0x316548(0x5a9)];}return{..._0x5a20c3[_0x316548(0x5ad)]['deepClone'](_0x32d0fe),'mutations':[_0x89a123]};}[_0x494bb3(0x238)](_0xa3c84c){const _0x28d3f3=_0x494bb3,{unitID:_0x5394ac}=_0xa3c84c,_0x1ef618=this[_0x28d3f3(0x257)][_0x28d3f3(0x5da)](_0x5394ac)['with'](_0xe07534['DocIMEInputManagerService']),{undoCache:_0x3a0994,redoCache:_0x5bab01}=_0x1ef618['getUndoRedoMutationParamsCache']();if(_0x3a0994[_0x28d3f3(0x5aa)]===0x0||_0x5bab01[_0x28d3f3(0x5aa)]===0x0)return;const _0x54b300=[],_0x71677e=[];let _0x17d168=_0x5a20c3['Tools'][_0x28d3f3(0x5e3)](_0xa3c84c[_0x28d3f3(0x341)][0x0]),_0x272d9a=_0x5a20c3[_0x28d3f3(0x5ad)][_0x28d3f3(0x5e3)](_0xa3c84c[_0x28d3f3(0x341)][0x0]);for(let _0x343cda=_0x3a0994[_0x28d3f3(0x5aa)]-0x1;_0x343cda>=0x0;_0x343cda--){const _0x4552b1={'id':'doc.mutation.rich-text-editing','params':{..._0x3a0994[_0x343cda]}},_0x1420da={'id':_0x28d3f3(0x1b8),'params':{..._0x5bab01[_0x343cda]}},_0x29baee=this[_0x28d3f3(0x241)][_0x28d3f3(0x5d4)](_0x17d168,_0x4552b1,!0x1),_0x5dc6cc=this[_0x28d3f3(0x241)]['transformMutation'](_0x272d9a,_0x1420da,!0x1);if(_0x4d11e3[_0x28d3f3(0x40d)](_0x29baee))throw _0x29baee['error'];if(_0x4d11e3['isTransformMutationFailure'](_0x5dc6cc))throw _0x5dc6cc[_0x28d3f3(0x35a)];_0x54b300[_0x28d3f3(0x55a)](_0x29baee[_0x28d3f3(0x3fd)][_0x28d3f3(0x542)]),_0x71677e[_0x28d3f3(0x55a)](_0x5dc6cc[_0x28d3f3(0x3fd)][_0x28d3f3(0x542)]),_0x17d168=_0x29baee[_0x28d3f3(0x5a9)],_0x272d9a=_0x5dc6cc[_0x28d3f3(0x5a9)];}_0x1ef618[_0x28d3f3(0x42c)]({'undoCache':_0x54b300,'redoCache':_0x71677e});}[_0x494bb3(0x314)](_0xff2eb3){const _0x5c86b0=_0x494bb3,{unitID:_0x353545}=_0xff2eb3,_0x2b2fbd=this[_0x5c86b0(0x257)][_0x5c86b0(0x5da)](_0x353545)[_0x5c86b0(0x16d)](_0xe07534['DocIMEInputManagerService']),_0x12ae45=_0x2b2fbd[_0x5c86b0(0x2d3)]();if(_0x12ae45==null)return;const _0x419b64=[{'id':_0x5c86b0(0x1b8),'params':{'unitId':_0xff2eb3[_0x5c86b0(0x39f)],'actions':null,'textRanges':[_0x12ae45]}}],_0x32b0b7=this[_0x5c86b0(0x241)][_0x5c86b0(0x381)](_0xff2eb3,_0x419b64);if(!_0x4d11e3[_0x5c86b0(0x292)](_0x32b0b7))throw _0x32b0b7['error'];const _0x23183c=_0x32b0b7[_0x5c86b0(0x3fd)][0x0][_0x5c86b0(0x542)][_0x5c86b0(0x561)];Array[_0x5c86b0(0x557)](_0x23183c)&&_0x23183c[_0x5c86b0(0x5aa)]&&_0x2b2fbd[_0x5c86b0(0x387)](_0x23183c[0x0]);}};_0x11a9c0=_0x33720f([_0x3902a6(0x0,_0x5a20c3['Inject'](_0x5a20c3[_0x494bb3(0x596)])),_0x3902a6(0x1,_0x4d11e3[_0x494bb3(0x49f)]),_0x3902a6(0x2,_0x5c31a6[_0x494bb3(0x1fb)])],_0x11a9c0);var _0x5d0ea1=Object['defineProperty'],_0x105011=Object['getOwnPropertyDescriptor'],_0x112aa2=(_0x38bf4f,_0x452ac4,_0x3cb0cb,_0x38e531)=>{const _0x209c58=_0x494bb3;for(var _0x39b24f=_0x38e531>0x1?void 0x0:_0x38e531?_0x105011(_0x452ac4,_0x3cb0cb):_0x452ac4,_0x2ea979=_0x38bf4f[_0x209c58(0x5aa)]-0x1,_0x48cb7d;_0x2ea979>=0x0;_0x2ea979--)(_0x48cb7d=_0x38bf4f[_0x2ea979])&&(_0x39b24f=(_0x38e531?_0x48cb7d(_0x452ac4,_0x3cb0cb,_0x39b24f):_0x48cb7d(_0x39b24f))||_0x39b24f);return _0x38e531&&_0x39b24f&&_0x5d0ea1(_0x452ac4,_0x3cb0cb,_0x39b24f),_0x39b24f;},_0x45fa0a=(_0xc805f5,_0xcdc7c4)=>(_0x2ce282,_0x154581)=>_0xcdc7c4(_0x2ce282,_0x154581,_0xc805f5);_0x38d423['LocalCacheService']=class extends _0x5a20c3['Disposable']{constructor(_0x49268b,_0x844509,_0x10ea34,_0x44235b,_0x4623dd){const _0xad9014=_0x494bb3;super(),_0x3ed524(this,'_cachedData',new Map()),_0x3ed524(this,_0xad9014(0x43f),new Map()),_0x3ed524(this,_0xad9014(0x214),!0x1),(this[_0xad9014(0x1f1)]=_0x49268b,this[_0xad9014(0x243)]=_0x844509,this[_0xad9014(0x2e9)]=_0x10ea34,this[_0xad9014(0x26e)]=_0x44235b,this[_0xad9014(0x4bd)]=_0x4623dd,this[_0xad9014(0x2c1)]());}[_0x494bb3(0x35b)](){this['_disabled']=!0x0;}[_0x494bb3(0x4f2)](){const _0x4b9640=_0x494bb3;this[_0x4b9640(0x214)]=!0x1;}[_0x494bb3(0x173)](){const _0x5df05f=_0x494bb3;this[_0x5df05f(0x4cb)]()[_0x5df05f(0x1ee)](()=>super[_0x5df05f(0x173)]());}async[_0x494bb3(0x23d)](_0x2e8525){const _0x13308e=_0x494bb3;return this[_0x13308e(0x214)]?null:this[_0x13308e(0x243)][_0x13308e(0x5a4)](_0x13551c(_0x2e8525));}async[_0x494bb3(0x41f)](_0x4aa5d4,_0x1201d1){const _0x1564bc=_0x494bb3;return!!this[_0x1564bc(0x243)]['setItem'](_0x4aa5d4,_0x1201d1);}[_0x494bb3(0x3d9)](_0x30aafe,_0x16f357,_0x2a91b4,_0x2a4478){const _0x425389=_0x494bb3,_0x156a89=this['_revisionService'][_0x425389(0x21f)](_0x30aafe);this[_0x425389(0x2b6)][_0x425389(0x33d)](_0x30aafe,{'unitID':_0x30aafe,'type':_0x16f357,'awaitingChangeset':_0x2a91b4,'mutations':_0x2a4478,'rev':_0x156a89}),this['_saveTaskMap']['has'](_0x30aafe)||this['_scheduleSaving'](_0x30aafe);}[_0x494bb3(0x3a0)](_0xa77701){const _0x2cc9e9=_0x494bb3,_0x13092f=this[_0x2cc9e9(0x23c)]();_0x13092f===0x0?this['_saveCache'](_0xa77701):this[_0x2cc9e9(0x43f)][_0x2cc9e9(0x33d)](_0xa77701,setTimeout(()=>this[_0x2cc9e9(0x2fc)](_0xa77701),_0x13092f));}[_0x494bb3(0x23c)](){var _0x2a7188;return(_0x2a7188=this['_configService']['getConfig'](_0x2a600b))!=null?_0x2a7188:0x3e8;}['_saveCache'](_0x1d046b){const _0x462172=_0x494bb3,_0x361524=this[_0x462172(0x43f)][_0x462172(0x537)](_0x1d046b);return _0x361524!==void 0x0&&window[_0x462172(0x2e6)](_0x361524),this[_0x462172(0x243)][_0x462172(0x5a7)](_0x13551c(_0x1d046b),this[_0x462172(0x2b6)][_0x462172(0x537)](_0x1d046b))[_0x462172(0x1ee)](()=>this[_0x462172(0x43f)][_0x462172(0x43d)](_0x1d046b));}async[_0x494bb3(0x4cb)](){const _0x21a9f1=_0x494bb3,_0x3e7470=[];this[_0x21a9f1(0x43f)]['forEach']((_0x2cfb87,_0x2df78f)=>{const _0x3b399e=_0x21a9f1;window[_0x3b399e(0x2e6)](_0x2cfb87),_0x3e7470[_0x3b399e(0x196)](this[_0x3b399e(0x2fc)](_0x2df78f)['then'](()=>{const _0x1542e4=_0x3b399e;this[_0x1542e4(0x43f)][_0x1542e4(0x43d)](_0x2df78f);}));}),await Promise['all'](_0x3e7470);}[_0x494bb3(0x2c1)](){const _0x4ce775=_0x494bb3;this[_0x4ce775(0x385)](this[_0x4ce775(0x2e9)][_0x4ce775(0x26a)](()=>{const _0x196797=_0x4ce775;if(this[_0x196797(0x43f)][_0x196797(0x23e)])return this[_0x196797(0x26e)]['t']('collaboration-client.offline-data-not-saved');}));}},_0x38d423[_0x494bb3(0x1ca)]=_0x112aa2([_0x45fa0a(0x0,_0x5a20c3[_0x494bb3(0x175)]),_0x45fa0a(0x1,_0x5a20c3['ILocalStorageService']),_0x45fa0a(0x2,_0x33d470[_0x494bb3(0x3e1)]),_0x45fa0a(0x3,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x439)])),_0x45fa0a(0x4,_0x5a20c3['Inject'](_0x4d11e3[_0x494bb3(0x3ae)]))],_0x38d423[_0x494bb3(0x1ca)]);function _0x13551c(_0x5f5de4){const _0x342223=_0x494bb3;return _0x342223(0x25e)+_0x5f5de4;}var _0x321568=Object[_0x494bb3(0x5f8)],_0x5d6219=Object['getOwnPropertyDescriptor'],_0x3997b3=(_0x560352,_0x1bf15b,_0x3c7115,_0x423735)=>{const _0x20293f=_0x494bb3;for(var _0x5818e0=_0x423735>0x1?void 0x0:_0x423735?_0x5d6219(_0x1bf15b,_0x3c7115):_0x1bf15b,_0x375c28=_0x560352[_0x20293f(0x5aa)]-0x1,_0xfa469c;_0x375c28>=0x0;_0x375c28--)(_0xfa469c=_0x560352[_0x375c28])&&(_0x5818e0=(_0x423735?_0xfa469c(_0x1bf15b,_0x3c7115,_0x5818e0):_0xfa469c(_0x5818e0))||_0x5818e0);return _0x423735&&_0x5818e0&&_0x321568(_0x1bf15b,_0x3c7115,_0x5818e0),_0x5818e0;},_0x1e055e=(_0x4d079e,_0x41c5ed)=>(_0x317682,_0x484f18)=>_0x41c5ed(_0x317682,_0x484f18,_0x4d079e);function _0x1de637(_0x5b5413){const _0x4ab131=_0x494bb3,{unitID:_0xe03935,mutations:_0x20a31f}=_0x5b5413;return{'unitId':_0xe03935,'subUnitId':_0x20a31f[0x0][_0x4ab131(0x542)][_0x4ab131(0x3de)]};}let _0x47f26b=class{constructor(_0x57ea79,_0x25c953,_0x49f01c){const _0x5dbaa8=_0x494bb3;this[_0x5dbaa8(0x221)]=_0x57ea79,this[_0x5dbaa8(0x241)]=_0x25c953,this['_instanceService']=_0x49f01c;}[_0x494bb3(0x53d)](_0x1812fc){const _0x1fedfe=_0x494bb3;var _0x38aba6,_0x265ea9,_0x400960,_0x387b2;const _0x4e518e=this['_injector'][_0x1fedfe(0x537)](_0x66e3f4[_0x1fedfe(0x3d6)]),{unitId:_0x2a79ac,subUnitId:_0x588983}=_0x1de637(_0x1812fc),_0x516235=_0x4e518e[_0x1fedfe(0x57a)](_0x2a79ac)['getCurrentSelections'](),_0x2adb6a=(_0x265ea9=(_0x38aba6=this['_instanceService']['getUnit'](_0x2a79ac))==null?void 0x0:_0x38aba6['getActiveSheet']())==null?void 0x0:_0x265ea9['getSheetId']();if(_0x516235['length']===0x0||!_0x2a79ac||!_0x588983)return;const _0x360b36=[{'id':_0x66e3f4[_0x1fedfe(0x1b9)]['id'],'params':{'unitId':_0x2a79ac,'subUnitId':_0x2adb6a,'selections':_0x5a20c3[_0x1fedfe(0x5ad)][_0x1fedfe(0x5e3)](_0x516235)}}],_0x176dfb=this[_0x1fedfe(0x241)][_0x1fedfe(0x381)](_0x1812fc,_0x360b36);if(!_0x4d11e3[_0x1fedfe(0x292)](_0x176dfb))throw _0x176dfb['error'];const _0x24608c=(_0x387b2=(_0x400960=_0x176dfb[_0x1fedfe(0x3fd)][0x0])==null?void 0x0:_0x400960[_0x1fedfe(0x542)])==null?void 0x0:_0x387b2[_0x1fedfe(0x466)];if(Array['isArray'](_0x24608c)&&_0x24608c['length']){if(_0x24608c[_0x1fedfe(0x5aa)]===_0x360b36[0x0][_0x1fedfe(0x542)][_0x1fedfe(0x466)][_0x1fedfe(0x5aa)]&&_0x24608c[_0x1fedfe(0x1a4)]((_0x50052f,_0x5a2b1f)=>_0x5a20c3['Rectangle'][_0x1fedfe(0x1aa)](_0x50052f[_0x1fedfe(0x4a5)],_0x360b36[0x0][_0x1fedfe(0x542)][_0x1fedfe(0x466)][_0x5a2b1f][_0x1fedfe(0x4a5)])))return;this[_0x1fedfe(0x221)][_0x1fedfe(0x537)](_0x5a20c3[_0x1fedfe(0x39a)])[_0x1fedfe(0x482)](_0x66e3f4['SetSelectionsOperation']['id'],{'unitId':_0x2a79ac,'subUnitId':_0x2adb6a,'selections':_0x24608c});}}};_0x47f26b=_0x3997b3([_0x1e055e(0x0,_0x5a20c3['Inject'](_0x5a20c3[_0x494bb3(0x596)])),_0x1e055e(0x1,_0x4d11e3[_0x494bb3(0x49f)]),_0x1e055e(0x2,_0x5a20c3[_0x494bb3(0x17e)])],_0x47f26b);const _0x104336=_0x5a20c3[_0x494bb3(0x224)](_0x494bb3(0x5ef));var _0x110671=(_0x346a52=>(_0x346a52[_0x346a52['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x494bb3(0x49e),_0x346a52[_0x346a52[_0x494bb3(0x18e)]=0x1]=_0x494bb3(0x18e),_0x346a52))(_0x110671||{});const _0x1b4e9b=0x7530,_0xb51205=_0x494bb3(0x4d7);class _0x1fe08a extends _0x5a20c3[_0x494bb3(0x1c9)]{constructor(){const _0x41eeb2=_0x494bb3;super(),_0x3ed524(this,_0x41eeb2(0x44e),_0x5a20c3['Tools'][_0x41eeb2(0x310)]()),_0x3ed524(this,_0x41eeb2(0x3ba),new Set()),_0x3ed524(this,_0x41eeb2(0x301),new Map()),_0x3ed524(this,_0x41eeb2(0x51a),null),_0x3ed524(this,_0x41eeb2(0x3b5),new Map()),_0x3ed524(this,'_unitStatus',new Map()),this[_0x41eeb2(0x298)]();}[_0x494bb3(0x173)](){const _0x10d550=_0x494bb3;super['dispose'](),this[_0x10d550(0x3b5)][_0x10d550(0x5e8)]((_0x19fe8b,_0x574247)=>this['_removeClearOtherTimer'](_0x574247)),this['_heartbeatTimer']&&window[_0x10d550(0x4e5)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x20e861){const _0x33f8bf=_0x494bb3;return this[_0x33f8bf(0x38f)](_0x20e861)[_0x33f8bf(0x1d4)](_0x32bae4['distinctUntilChanged']());}[_0x494bb3(0x355)](_0x4fa331){const _0x151245=_0x494bb3;this[_0x151245(0x3ba)][_0x151245(0x23e)]===0x0&&this[_0x151245(0x3e4)](),this[_0x151245(0x3ba)]['add'](_0x4fa331),this[_0x151245(0x2ea)]({'type':0x0,'memberID':this[_0x151245(0x44e)],'unitIDs':[_0x4fa331],'isForwarded':!0x1});}[_0x494bb3(0x260)](_0x10ccb9){const _0x1c45a8=_0x494bb3;this['_selfUnitIDs'][_0x1c45a8(0x43d)](_0x10ccb9),this[_0x1c45a8(0x3ba)][_0x1c45a8(0x23e)]===0x0&&this['_heartbeatTimer']&&window[_0x1c45a8(0x4e5)](this['_heartbeatTimer']);}['_init'](){const _0x20f039=_0x494bb3;this[_0x20f039(0x385)](_0x5a20c3[_0x20f039(0x1d8)](_0x32bae4[_0x20f039(0x38e)](window,_0x20f039(0x420))['subscribe'](_0x4c1057=>{const _0x516b54=_0x20f039;if(_0x4c1057[_0x516b54(0x272)]!==_0xb51205||!_0x4c1057['newValue'])return;const _0x1dc721=JSON['parse'](_0x4c1057[_0x516b54(0x1b5)]);this['_handleEvent'](_0x1dc721);}))),window[_0x20f039(0x4e2)](_0x20f039(0x3e7),()=>this[_0x20f039(0x2ea)]({'type':0x1,'memberID':this[_0x20f039(0x44e)],'unitIDs':Array['from'](this[_0x20f039(0x3ba)])}));}[_0x494bb3(0x45e)](_0x1d73bc){const _0x4a704b=_0x494bb3;switch(_0x1d73bc['type']){case 0x0:this['_handleJoinEvent'](_0x1d73bc);break;case 0x1:this['_handleLeaveEvent'](_0x1d73bc);break;case 0x2:this[_0x4a704b(0x253)](_0x1d73bc);break;}}['_handleJoinEvent'](_0x2f9fc4){const _0x216b9e=_0x494bb3,{unitIDs:_0x6bffd,memberID:_0x31e1b8,isForwarded:_0x51bb58}=_0x2f9fc4;_0x6bffd[_0x216b9e(0x5e8)](_0x241a89=>{const _0x889c09=_0x216b9e;if(!_0x51bb58&&this[_0x889c09(0x301)][_0x889c09(0x4a3)](_0x241a89)&&this[_0x889c09(0x38f)](_0x241a89)[_0x889c09(0x5dd)](0x1),!this[_0x889c09(0x301)][_0x889c09(0x4a3)](_0x241a89)||!this[_0x889c09(0x301)][_0x889c09(0x537)](_0x241a89)['has'](_0x31e1b8)){const _0x1d1156=this[_0x889c09(0x301)][_0x889c09(0x537)](_0x241a89)||new Set();_0x1d1156[_0x889c09(0x492)](_0x31e1b8),this[_0x889c09(0x301)][_0x889c09(0x33d)](_0x241a89,_0x1d1156),this[_0x889c09(0x5fe)](_0x31e1b8);}}),_0x51bb58||this['_send']({'type':0x0,'memberID':this[_0x216b9e(0x44e)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x494bb3(0x5fe)](_0x858442){const _0x2b9357=_0x494bb3;this[_0x2b9357(0x236)](_0x858442);const _0x1eba5a=window[_0x2b9357(0x4c3)](()=>{const _0x1ad557=_0x2b9357;this[_0x1ad557(0x301)][_0x1ad557(0x5e8)](_0x103c3d=>{const _0x4b8bba=_0x1ad557;_0x103c3d[_0x4b8bba(0x43d)](_0x858442);});},_0x1b4e9b*0x2);this['_clearOtherTimers'][_0x2b9357(0x33d)](_0x858442,_0x1eba5a);}[_0x494bb3(0x236)](_0x1a0a2b){const _0xd81f08=_0x494bb3;if(this[_0xd81f08(0x3b5)][_0xd81f08(0x4a3)](_0x1a0a2b)){const _0x38c5e9=this[_0xd81f08(0x3b5)][_0xd81f08(0x537)](_0x1a0a2b);_0x38c5e9&&window[_0xd81f08(0x2e6)](_0x38c5e9),this['_clearOtherTimers'][_0xd81f08(0x33d)](_0x1a0a2b,null);}}['_handleLeaveEvent'](_0x5461fa){const _0x48a945=_0x494bb3,{memberID:_0x709cad,unitIDs:_0x50e54c}=_0x5461fa;_0x50e54c[_0x48a945(0x5e8)](_0x59a9fd=>{const _0x47119a=_0x48a945;var _0x50f8ad;const _0x1c6f99=this[_0x47119a(0x301)][_0x47119a(0x537)](_0x59a9fd);_0x1c6f99&&(_0x1c6f99[_0x47119a(0x43d)](_0x709cad),(_0x50f8ad=this[_0x47119a(0x38f)](_0x59a9fd))==null||_0x50f8ad[_0x47119a(0x5dd)](_0x1c6f99[_0x47119a(0x23e)]===0x0?0x0:0x1));}),this[_0x48a945(0x236)](_0x709cad);}[_0x494bb3(0x253)](_0x555f74){const _0x93e15a=_0x494bb3;this[_0x93e15a(0x5fe)](_0x555f74[_0x93e15a(0x550)]);}['_send'](_0x4bb3dc){const _0x5df39a=_0x494bb3;localStorage[_0x5df39a(0x5a7)](_0xb51205,JSON[_0x5df39a(0x58b)](_0x4bb3dc));}[_0x494bb3(0x3e4)](){const _0x28aa1c=_0x494bb3;this[_0x28aa1c(0x51a)]=window[_0x28aa1c(0x430)](()=>{const _0x491072=_0x28aa1c;this[_0x491072(0x2ea)]({'type':0x2,'memberID':this[_0x491072(0x44e)]});},_0x1b4e9b);}[_0x494bb3(0x38f)](_0x52a4c3){const _0x4e3f50=_0x494bb3;return this[_0x4e3f50(0x5d7)][_0x4e3f50(0x4a3)](_0x52a4c3)||this[_0x4e3f50(0x5d7)][_0x4e3f50(0x33d)](_0x52a4c3,new _0x32bae4[(_0x4e3f50(0x55c))](0x0)),this[_0x4e3f50(0x5d7)][_0x4e3f50(0x537)](_0x52a4c3);}}var _0x5418f0=Object['defineProperty'],_0x32883f=Object[_0x494bb3(0x51e)],_0xff5af9=(_0x3a6986,_0x4eeb93,_0x2a2821,_0x57f03a)=>{for(var _0x7b1950=_0x57f03a>0x1?void 0x0:_0x57f03a?_0x32883f(_0x4eeb93,_0x2a2821):_0x4eeb93,_0x1e7d99=_0x3a6986['length']-0x1,_0xa004ac;_0x1e7d99>=0x0;_0x1e7d99--)(_0xa004ac=_0x3a6986[_0x1e7d99])&&(_0x7b1950=(_0x57f03a?_0xa004ac(_0x4eeb93,_0x2a2821,_0x7b1950):_0xa004ac(_0x7b1950))||_0x7b1950);return _0x57f03a&&_0x7b1950&&_0x5418f0(_0x4eeb93,_0x2a2821,_0x7b1950),_0x7b1950;},_0x20f011=(_0x3555ae,_0x4d4b4a)=>(_0x44a6ee,_0x2e0757)=>_0x4d4b4a(_0x44a6ee,_0x2e0757,_0x3555ae);let _0x455c32=class{constructor(_0x28e0c7,_0x189d9c,_0x42e3cb){const _0x707509=_0x494bb3;this[_0x707509(0x221)]=_0x28e0c7,this['_transformService']=_0x189d9c,this[_0x707509(0x2de)]=_0x42e3cb;}[_0x494bb3(0x58c)](_0x29028c){const _0xc58d0f=_0x494bb3;this[_0xc58d0f(0x35f)](_0x29028c);}[_0x494bb3(0x460)](_0x711380){const _0x4a853f=_0x494bb3,{unitID:_0xc163b7}=_0x711380,{collaboration:_0x1904a8}=this['_docStateChangeManagerService']['getStateCache'](_0xc163b7);if(_0x1904a8[_0x4a853f(0x5aa)]===0x0)return _0x711380;let _0x4889d8=_0x5a20c3[_0x4a853f(0x5ad)]['deepClone'](_0x711380[_0x4a853f(0x341)][0x0]);for(let _0x5e7143=0x0;_0x5e7143<_0x1904a8[_0x4a853f(0x5aa)];_0x5e7143++){const _0x49c29c={'id':_0x4a853f(0x1b8),'params':{'unitId':_0x1904a8[_0x5e7143][_0x4a853f(0x3ef)],..._0x1904a8[_0x5e7143]['redoState']}},_0x4a7850=this[_0x4a853f(0x241)][_0x4a853f(0x5d4)](_0x4889d8,_0x49c29c,!0x1);if(_0x4d11e3[_0x4a853f(0x40d)](_0x4a7850))throw _0x4a7850[_0x4a853f(0x35a)];_0x4889d8=_0x4a7850[_0x4a853f(0x5a9)];}return{..._0x5a20c3[_0x4a853f(0x5ad)][_0x4a853f(0x5e3)](_0x711380),'mutations':[_0x4889d8]};}[_0x494bb3(0x35f)](_0x789f22){const _0x3a70a1=_0x494bb3,{unitID:_0x461188}=_0x789f22,{history:_0x22a132,collaboration:_0x967c72}=this[_0x3a70a1(0x2de)][_0x3a70a1(0x3d7)](_0x461188);if(_0x22a132[_0x3a70a1(0x5aa)]===0x0&&_0x967c72[_0x3a70a1(0x5aa)]===0x0)return;const _0x2d1719=[],_0x49881f=[];let _0x89bd0d=_0x5a20c3[_0x3a70a1(0x5ad)][_0x3a70a1(0x5e3)](_0x789f22[_0x3a70a1(0x341)][0x0]),_0x4a76e8=_0x5a20c3[_0x3a70a1(0x5ad)]['deepClone'](_0x789f22[_0x3a70a1(0x341)][0x0]);for(let _0x50c244=_0x22a132[_0x3a70a1(0x5aa)]-0x1;_0x50c244>=0x0;_0x50c244--){const _0x4e1837={'id':_0x3a70a1(0x1b8),'params':{'unitId':_0x22a132[_0x50c244][_0x3a70a1(0x3ef)],..._0x22a132[_0x50c244][_0x3a70a1(0x1f4)]}},_0x27ace9={'id':_0x3a70a1(0x1b8),'params':{'unitId':_0x22a132[_0x50c244][_0x3a70a1(0x3ef)],..._0x22a132[_0x50c244][_0x3a70a1(0x1a6)]}},_0x104618=this[_0x3a70a1(0x241)][_0x3a70a1(0x5d4)](_0x89bd0d,_0x4e1837,!0x1),_0x30bbb9=this['_transformService'][_0x3a70a1(0x5d4)](_0x4a76e8,_0x27ace9,!0x1);if(_0x4d11e3[_0x3a70a1(0x40d)](_0x104618))throw _0x104618['error'];if(_0x4d11e3['isTransformMutationFailure'](_0x30bbb9))throw _0x30bbb9['error'];_0x2d1719[_0x3a70a1(0x55a)]({..._0x22a132[_0x50c244],'undoState':_0x104618['m2Prime'][_0x3a70a1(0x542)],'redoState':_0x30bbb9[_0x3a70a1(0x3fd)]['params']}),_0x89bd0d=_0x104618['m1Prime'],_0x4a76e8=_0x30bbb9[_0x3a70a1(0x5a9)];}_0x89bd0d=_0x5a20c3[_0x3a70a1(0x5ad)][_0x3a70a1(0x5e3)](_0x789f22[_0x3a70a1(0x341)][0x0]),_0x4a76e8=_0x5a20c3[_0x3a70a1(0x5ad)]['deepClone'](_0x789f22[_0x3a70a1(0x341)][0x0]);for(let _0x18472e=_0x967c72[_0x3a70a1(0x5aa)]-0x1;_0x18472e>=0x0;_0x18472e--){const _0x36c4af={'id':_0x3a70a1(0x1b8),'params':{'unitId':_0x967c72[_0x18472e]['unitId'],..._0x967c72[_0x18472e]['undoState']}},_0xfa33b6={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x967c72[_0x18472e][_0x3a70a1(0x3ef)],..._0x967c72[_0x18472e][_0x3a70a1(0x1a6)]}},_0x4b42c9=this[_0x3a70a1(0x241)][_0x3a70a1(0x5d4)](_0x89bd0d,_0x36c4af,!0x1),_0x195bda=this[_0x3a70a1(0x241)][_0x3a70a1(0x5d4)](_0x4a76e8,_0xfa33b6,!0x1);if(_0x4d11e3[_0x3a70a1(0x40d)](_0x4b42c9))throw _0x4b42c9[_0x3a70a1(0x35a)];if(_0x4d11e3[_0x3a70a1(0x40d)](_0x195bda))throw _0x195bda[_0x3a70a1(0x35a)];_0x49881f[_0x3a70a1(0x55a)]({..._0x967c72[_0x18472e],'undoState':_0x4b42c9['m2Prime']['params'],'redoState':_0x195bda[_0x3a70a1(0x3fd)][_0x3a70a1(0x542)]}),_0x89bd0d=_0x4b42c9[_0x3a70a1(0x5a9)],_0x4a76e8=_0x195bda['m1Prime'];}this[_0x3a70a1(0x2de)][_0x3a70a1(0x3f1)](_0x461188,{'history':_0x2d1719,'collaboration':_0x49881f});}};_0x455c32=_0xff5af9([_0x20f011(0x0,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x596)])),_0x20f011(0x1,_0x4d11e3['ITransformService']),_0x20f011(0x2,_0x5a20c3[_0x494bb3(0x57c)](_0xe07534[_0x494bb3(0x18c)]))],_0x455c32);function _0x5ce948(_0x4a361a){const _0xb425d8=_0x494bb3;let _0x302bde='';for(const _0x34e529 of _0x4a361a){const {startOffset:_0xb5533e,endOffset:_0x35b557,isActive:_0x3935e7,rangeType:_0x135b7e,segmentId:_0x26e7fc,segmentPage:_0x4313b1}=_0x34e529;_0x302bde[_0xb425d8(0x5aa)]&&(_0x302bde+=','),_0x302bde+=_0xb5533e+':'+_0x35b557+':'+(_0x3935e7?'1':'0')+':'+_0x135b7e+':'+_0x26e7fc+':'+_0x4313b1;}return _0x302bde;}function _0x4d6025(_0x3041f0){const _0xd9c306=_0x494bb3,_0x3eb29a=_0x3041f0[_0xd9c306(0x3c6)](','),_0x57b2ae=[];for(const _0x4acd77 of _0x3eb29a){const [_0x3448cf,_0x4c91fa,_0x482a22,_0x43775c,_0x18524f,_0x35f47e]=_0x4acd77[_0xd9c306(0x3c6)](':');_0x57b2ae[_0xd9c306(0x196)]({'startOffset':Number(_0x3448cf),'endOffset':Number(_0x4c91fa),'collapsed':_0x3448cf===_0x4c91fa,'isActive':_0x482a22==='1','rangeType':_0x43775c===_0x5a20c3[_0xd9c306(0x244)][_0xd9c306(0x4ac)]?_0x5a20c3[_0xd9c306(0x244)]['TEXT']:_0x5a20c3['DOC_RANGE_TYPE'][_0xd9c306(0x1d5)],'segmentId':typeof _0x18524f==_0xd9c306(0x56d)?String(_0x18524f):'','segmentPage':Number(_0x35f47e!=null?_0x35f47e:-0x1)});}return _0x57b2ae['some'](_0x15bdef=>_0x15bdef['isActive'])||(_0x57b2ae[0x0][_0xd9c306(0x5b7)]=!0x0),_0x57b2ae;}class _0x171169 extends _0x5a20c3['RxDisposable']{constructor(){const _0xf40686=_0x494bb3;super(...arguments),_0x3ed524(this,'_collabCursorState$',new _0x32bae4[(_0xf40686(0x55c))](null)),_0x3ed524(this,'collabCursorState$',this['_collabCursorState$'][_0xf40686(0x4fe)]());}[_0x494bb3(0x3b0)](_0x186bc6){const _0x265bc6=_0x494bb3,{unitID:_0x5a0a79,memberID:_0x1348c9,textRanges:_0x43d9d8}=_0x186bc6,_0x2714b4=_0x5ce948(_0x43d9d8);if(_0x2714b4==='')return;const _0x2444d4={'unitID':_0x5a0a79,'memberID':_0x1348c9,'selection':_0x2714b4};this[_0x265bc6(0x413)][_0x265bc6(0x5dd)](_0x2444d4);}}var _0x2b3c06=Object[_0x494bb3(0x5f8)],_0x500c2a=Object[_0x494bb3(0x51e)],_0x5cbf36=(_0x28d189,_0xb4e6be,_0x557dd4,_0x5f50e2)=>{const _0x5eeb4e=_0x494bb3;for(var _0xbfe80a=_0x5f50e2>0x1?void 0x0:_0x5f50e2?_0x500c2a(_0xb4e6be,_0x557dd4):_0xb4e6be,_0x13ac0e=_0x28d189[_0x5eeb4e(0x5aa)]-0x1,_0x30d262;_0x13ac0e>=0x0;_0x13ac0e--)(_0x30d262=_0x28d189[_0x13ac0e])&&(_0xbfe80a=(_0x5f50e2?_0x30d262(_0xb4e6be,_0x557dd4,_0xbfe80a):_0x30d262(_0xbfe80a))||_0xbfe80a);return _0x5f50e2&&_0xbfe80a&&_0x2b3c06(_0xb4e6be,_0x557dd4,_0xbfe80a),_0xbfe80a;},_0x390f44=(_0x480d43,_0x492b2a)=>(_0x5471f2,_0x59e908)=>_0x492b2a(_0x5471f2,_0x59e908,_0x480d43);let _0x2c3f2f=class{constructor(_0x3805b5,_0x23a0ce){const _0x908cbc=_0x494bb3;this[_0x908cbc(0x221)]=_0x3805b5,this['_transformService']=_0x23a0ce;}[_0x494bb3(0x53d)](_0x1aa4fb){const _0x4710a3=_0x494bb3;var _0x5a8c1a;const _0x7e905b=this[_0x4710a3(0x221)][_0x4710a3(0x537)](_0x458230[_0x4710a3(0x36c)]),_0x356464=(_0x5a8c1a=_0x7e905b[_0x4710a3(0x33e)]())!=null?_0x5a8c1a:[];if(_0x356464[_0x4710a3(0x5aa)]===0x0)return;const _0x6134d0=[{'id':_0x4710a3(0x1b8),'params':{'unitId':_0x1aa4fb[_0x4710a3(0x39f)],'actions':null,'textRanges':_0x356464}}],_0x317b1f=this[_0x4710a3(0x241)][_0x4710a3(0x381)](_0x1aa4fb,_0x6134d0);if(!_0x4d11e3[_0x4710a3(0x292)](_0x317b1f))throw _0x317b1f['error'];const _0xa2e04f=_0x317b1f[_0x4710a3(0x3fd)][0x0][_0x4710a3(0x542)]['textRanges'];Array['isArray'](_0xa2e04f)&&_0xa2e04f[_0x4710a3(0x5aa)]&&_0x7e905b[_0x4710a3(0x2b7)](_0xa2e04f,!0x1);}};_0x2c3f2f=_0x5cbf36([_0x390f44(0x0,_0x5a20c3['Inject'](_0x5a20c3[_0x494bb3(0x596)])),_0x390f44(0x1,_0x4d11e3[_0x494bb3(0x49f)])],_0x2c3f2f);const _0x3dd84b=new Set([_0x66e3f4[_0x494bb3(0x3ad)]['id']]);function _0x5aede1(_0x13d067,_0x1b24e2,_0x27b498,_0x8dd519,_0x579c39){const _0x1a0626=_0x494bb3;var _0x53b518,_0x3ed6ec,_0x554ab0,_0x562a4b;const _0x2ceefb=[];for(const _0x139b3a of _0x13d067)if(_0x3dd84b[_0x1a0626(0x4a3)](_0x139b3a['id'])){if(_0x2ceefb[_0x1a0626(0x5aa)]>0x0)break;_0x2ceefb[_0x1a0626(0x196)](_0x139b3a);break;}else _0x2ceefb[_0x1a0626(0x196)](_0x139b3a);const _0x5d07a0=(_0x3ed6ec=(_0x53b518=_0x579c39[_0x1a0626(0x606)]())==null?void 0x0:_0x53b518[_0x1a0626(0x37c)])!=null?_0x3ed6ec:_0x1a0626(0x32c),_0x55f3ee=(_0x562a4b=(_0x554ab0=_0x579c39[_0x1a0626(0x606)]())==null?void 0x0:_0x554ab0[_0x1a0626(0x550)])!=null?_0x562a4b:'unknown';return{'changeset':{'unitID':_0x1b24e2,'type':_0x4d11e3[_0x1a0626(0x54a)](_0x27b498['getUnitType'](_0x1b24e2)),'baseRev':_0x8dd519[_0x1a0626(0x21f)](_0x1b24e2),'revision':0x0,'userID':_0x5d07a0,'memberID':_0x55f3ee,'mutations':_0x2ceefb},'pendingMutations':_0x13d067['slice'](_0x2ceefb[_0x1a0626(0x5aa)])};}function _0x4af5e8(_0x14eda4,_0x1ce271,_0x1597a2,_0x488792,_0xb66c25){const _0x193467=_0x494bb3;var _0x2ff9e9,_0x4542e2,_0x5bb9e2,_0x1ec70d;const _0x6742b0=[_0x14eda4[_0x193467(0x59a)]((_0x396ddc,_0xb30aa3)=>{const _0x4704e3=_0x193467;var _0x15b4e7;const {id:_0x4c95f8}=_0x396ddc,{id:_0x18b6f5,type:_0x492275}=_0xb30aa3,_0x2f3bd1=(_0x15b4e7=_0x396ddc[_0x4704e3(0x542)])!=null?_0x15b4e7:{'actions':null},_0x810f62=_0xb30aa3[_0x4704e3(0x542)];if(_0x4c95f8&&_0x4c95f8!==_0x18b6f5)throw new Error(_0x4704e3(0x582)+_0x4c95f8+'\x20-\x20'+_0x18b6f5+'.');return{..._0x396ddc,'id':_0x18b6f5,'type':_0x492275,'params':{'unitId':_0x810f62[_0x4704e3(0x3ef)],'textRanges':_0x810f62['textRanges'],'actions':_0x5a20c3[_0x4704e3(0x455)][_0x4704e3(0x4ef)](_0x2f3bd1[_0x4704e3(0x154)],_0x810f62[_0x4704e3(0x154)])}};},{})],_0x4d312e=(_0x4542e2=(_0x2ff9e9=_0xb66c25[_0x193467(0x606)]())==null?void 0x0:_0x2ff9e9['userID'])!=null?_0x4542e2:_0x193467(0x32c),_0x293f28=(_0x1ec70d=(_0x5bb9e2=_0xb66c25[_0x193467(0x606)]())==null?void 0x0:_0x5bb9e2[_0x193467(0x550)])!=null?_0x1ec70d:_0x193467(0x32c);return{'changeset':{'unitID':_0x1ce271,'type':_0x4d11e3[_0x193467(0x54a)](_0x1597a2[_0x193467(0x498)](_0x1ce271)),'baseRev':_0x488792[_0x193467(0x21f)](_0x1ce271),'revision':0x0,'userID':_0x4d312e,'memberID':_0x293f28,'mutations':_0x6742b0},'pendingMutations':[]};}function _0x49657e(_0x2be47e,_0x19392f){const _0x956898=_0x494bb3,_0x5b6e96=new _0x32bae4[(_0x956898(0x513))](0x1);return setTimeout(()=>_0x5b6e96[_0x956898(0x5dd)](_0x19392f),_0x2be47e),_0x5b6e96[_0x956898(0x4fe)]()[_0x956898(0x1d4)](_0x32bae4[_0x956898(0x5d8)](0x1));}const _0x2a25ba={'id':_0x66e3f4[_0x494bb3(0x5d1)]['id'],'type':_0x5a20c3[_0x494bb3(0x308)][_0x494bb3(0x54e)],'params':{}};var _0x864279=Object[_0x494bb3(0x5f8)],_0x3bcf2c=Object[_0x494bb3(0x51e)],_0x6d1023=(_0x4e125e,_0x2ac2e1,_0x4c6b87,_0x55e795)=>{const _0x3ca29a=_0x494bb3;for(var _0x56f7b8=_0x55e795>0x1?void 0x0:_0x55e795?_0x3bcf2c(_0x2ac2e1,_0x4c6b87):_0x2ac2e1,_0x11c403=_0x4e125e[_0x3ca29a(0x5aa)]-0x1,_0x17b2f6;_0x11c403>=0x0;_0x11c403--)(_0x17b2f6=_0x4e125e[_0x11c403])&&(_0x56f7b8=(_0x55e795?_0x17b2f6(_0x2ac2e1,_0x4c6b87,_0x56f7b8):_0x17b2f6(_0x56f7b8))||_0x56f7b8);return _0x55e795&&_0x56f7b8&&_0x864279(_0x2ac2e1,_0x4c6b87,_0x56f7b8),_0x56f7b8;},_0x3d0903=(_0x4b58d4,_0x366efd)=>(_0x2a11ea,_0x398eb0)=>_0x366efd(_0x2a11ea,_0x398eb0,_0x4b58d4),_0x5948fa=(_0x40dc4c=>(_0x40dc4c[_0x494bb3(0x375)]=_0x494bb3(0x544),_0x40dc4c[_0x494bb3(0x22f)]=_0x494bb3(0x2db),_0x40dc4c[_0x494bb3(0x452)]='pending',_0x40dc4c[_0x494bb3(0x319)]=_0x494bb3(0x487),_0x40dc4c[_0x494bb3(0x497)]='awaiting_with_pending',_0x40dc4c['FETCH_MISS']='fetch_missing',_0x40dc4c[_0x494bb3(0x296)]='conflict',_0x40dc4c[_0x494bb3(0x1de)]=_0x494bb3(0x333),_0x40dc4c))(_0x5948fa||{});const _0x2d3c5b=0xea60;class _0x5208db{constructor(_0x15527a,_0x3a29a8,_0x49f792,_0x31f92c,_0x161570,_0x54b17f,_0x2aa7d7,_0x41e624,_0x1ab37a){const _0x5df180=_0x494bb3;_0x3ed524(this,_0x5df180(0x194),null),_0x3ed524(this,_0x5df180(0x5e5),[]),(this['unitID']=_0x15527a,this['type']=_0x3a29a8,this[_0x5df180(0x2d2)]=_0x161570,this[_0x5df180(0x2e5)]=_0x54b17f,this[_0x5df180(0x2ac)]=_0x2aa7d7,this['_revisionService']=_0x41e624,this[_0x5df180(0x489)]=_0x1ab37a,this[_0x5df180(0x194)]=_0x49f792,this[_0x5df180(0x5e5)]=_0x31f92c);}[_0x494bb3(0x2f1)](_0x33bec9){const _0x3738eb=_0x494bb3,_0x4bb2d5=this[_0x3738eb(0x4bd)][_0x3738eb(0x21f)](this[_0x3738eb(0x39f)]);return _0x33bec9[_0x3738eb(0x2e8)]>_0x4bb2d5+0x1?(this[_0x3738eb(0x2d2)]['onMissingChangesets']({'from':_0x4bb2d5,'to':_0x33bec9[_0x3738eb(0x2e8)]-0x1}),!0x0):!0x1;}[_0x494bb3(0x2a3)](_0x1bf241){const _0x103d70=_0x494bb3;this['_undoRedoService'][_0x103d70(0x17d)](this[_0x103d70(0x39f)],_0x1bf241);}[_0x494bb3(0x563)](_0x25066c){const _0x39a026=_0x494bb3;var _0x5c0fab,_0xef1f2e;(_0xef1f2e=(_0x5c0fab=this[_0x39a026(0x2d2)])[_0x39a026(0x2c2)])==null||_0xef1f2e[_0x39a026(0x451)](_0x5c0fab,_0x25066c);}[_0x494bb3(0x250)](_0x1c4e30){const _0x5258cd=_0x494bb3;var _0x46b743,_0x30eac8;return(_0x30eac8=(_0x46b743=this[_0x5258cd(0x2d2)])[_0x5258cd(0x539)])==null?void 0x0:_0x30eac8[_0x5258cd(0x451)](_0x46b743,_0x1c4e30);}[_0x494bb3(0x1d9)](_0x280945){const _0xfea20f=_0x494bb3;var _0x23409a,_0x52c671;return(_0x52c671=(_0x23409a=this['_handler'])[_0xfea20f(0x57e)])==null?void 0x0:_0x52c671[_0xfea20f(0x451)](_0x23409a,_0x280945);}[_0x494bb3(0x516)](_0x114633){const _0x3b9ff2=_0x494bb3;var _0x4f1416,_0x4b4c07,_0x1a51e5;return(_0x1a51e5=(_0x4b4c07=(_0x4f1416=this[_0x3b9ff2(0x2d2)])[_0x3b9ff2(0x184)])==null?void 0x0:_0x4b4c07[_0x3b9ff2(0x451)](_0x4f1416,_0x114633))!=null?_0x1a51e5:_0x114633;}[_0x494bb3(0x521)](_0x1fdc29){const _0x104ebb=_0x494bb3;var _0x4564d0,_0x5cd35d,_0x376f0b;return(_0x376f0b=(_0x5cd35d=(_0x4564d0=this[_0x104ebb(0x2d2)])[_0x104ebb(0x228)])==null?void 0x0:_0x5cd35d[_0x104ebb(0x451)](_0x4564d0,_0x1fdc29))!=null?_0x376f0b:_0x1fdc29;}[_0x494bb3(0x1ed)](_0x5a9a8f){const _0x4e95fc=_0x494bb3;var _0x410774,_0x49dbc4;if(this['type']===_0x9d8403[_0x4e95fc(0x512)]){const {unitID:_0x4caa24,mutations:_0x584cd5,memberID:_0x1384c2}=_0x5a9a8f,_0x2da997=_0x584cd5[0x0][_0x4e95fc(0x542)][_0x4e95fc(0x561)];Array['isArray'](_0x2da997)&&_0x2da997['length']>0x0&&((_0x49dbc4=(_0x410774=this[_0x4e95fc(0x2d2)])[_0x4e95fc(0x3bf)])==null||_0x49dbc4[_0x4e95fc(0x451)](_0x410774,{'unitID':_0x4caa24,'memberID':_0x1384c2,'textRanges':_0x2da997}));}}[_0x494bb3(0x3b4)](){const _0x378c70=_0x494bb3;this[_0x378c70(0x489)][_0x378c70(0x3d9)](this[_0x378c70(0x39f)],this[_0x378c70(0x351)],this[_0x378c70(0x194)],this[_0x378c70(0x5e5)]);}['_getCurrentRevision'](){const _0x58d088=_0x494bb3;return this['_revisionService'][_0x58d088(0x21f)](this[_0x58d088(0x39f)]);}[_0x494bb3(0x3af)](){const _0x2651df=_0x494bb3;this[_0x2651df(0x4bd)][_0x2651df(0x500)](this['unitID']);}[_0x494bb3(0x1ce)](_0x1fef61){const _0x3294ae=_0x494bb3;var _0x378abb;let _0x5230f5=this[_0x3294ae(0x516)](_0x1fef61);_0x5230f5=this['_transformRemoteChangesetByStateCache'](_0x5230f5);const _0x1d836f=_0x5a20c3[_0x3294ae(0x2c8)](_0x5230f5[_0x3294ae(0x341)],this[_0x3294ae(0x2e5)],{'fromCollab':!0x0});if(!_0x1d836f[_0x3294ae(0x306)])throw _0x1d836f[_0x3294ae(0x35a)]instanceof Error?_0x1d836f[_0x3294ae(0x35a)]:new Error((_0x378abb=_0x1d836f['error'])!=null?_0x378abb:_0x3294ae(0x34e));this[_0x3294ae(0x250)](_0x5230f5),this['_transformStateCache'](_0x5230f5),this[_0x3294ae(0x2a3)](_0x1fef61),this[_0x3294ae(0x563)](_0x5230f5),this[_0x3294ae(0x1ed)](_0x5230f5),this[_0x3294ae(0x3af)]();}}let _0x20fa8f=class extends _0x5208db{constructor(_0x5f2364,_0x9faf3,_0x206888,_0x203dfb,_0x4c7b82,_0x3ed62f,_0x5c3b8f,_0x1e2398,_0x5d3f19,_0x32227e){const _0x3f9e19=_0x494bb3;super(_0x5f2364,_0x9faf3,null,[],_0x206888,_0x1e2398,_0x5c3b8f,_0x203dfb,_0x4c7b82),_0x3ed524(this,_0x3f9e19(0x601),_0x3f9e19(0x2db)),(this[_0x3f9e19(0x221)]=_0x3ed62f,this[_0x3f9e19(0x3f5)]=_0x5d3f19,this[_0x3f9e19(0x241)]=_0x32227e);}[_0x494bb3(0x3ca)](_0x510c27){const _0x4c8c3a=_0x494bb3,_0x2ba340=this[_0x4c8c3a(0x221)]['createInstance'](_0xa05536,this['unitID'],this[_0x4c8c3a(0x351)],[_0x510c27],this['_handler']);return _0x2ba340[_0x4c8c3a(0x36f)](),_0x2ba340[_0x4c8c3a(0x3b4)](),_0x2ba340;}[_0x494bb3(0x56c)](_0x88f9e0){const _0x70afb8=_0x494bb3;if(this[_0x70afb8(0x2f1)](_0x88f9e0))return this[_0x70afb8(0x221)][_0x70afb8(0x566)](_0x75b83f,this['unitID'],this[_0x70afb8(0x351)],null,[],null,[_0x88f9e0],this[_0x70afb8(0x2d2)]);try{const _0x3392b6=this[_0x70afb8(0x241)][_0x70afb8(0x381)](_0x88f9e0,[_0x2a25ba]);if(_0x4d11e3['isTransformMutationsWithChangesetSuccess'](_0x3392b6)){const {c1Prime:_0x567e07}=_0x3392b6;return this[_0x70afb8(0x1ce)](_0x567e07),this;}throw _0x3392b6[_0x70afb8(0x35a)];}catch(_0x3af3d0){return this[_0x70afb8(0x3f5)][_0x70afb8(0x35a)](_0x3af3d0),this[_0x70afb8(0x1ad)](!0x1);}}[_0x494bb3(0x1ad)](_0x2ae68c){const _0x5204f6=_0x494bb3;return this['_injector']['createInstance'](_0x382943,this[_0x5204f6(0x39f)],this[_0x5204f6(0x351)],null,[],this[_0x5204f6(0x2d2)],_0x2ae68c);}[_0x494bb3(0x1d3)](){const _0x2e9d01=_0x494bb3;throw new Error(_0x2e9d01(0x426));}[_0x494bb3(0x518)](){const _0x151111=_0x494bb3;throw new Error(_0x151111(0x382));}[_0x494bb3(0x17c)](){return this;}[_0x494bb3(0x3a5)](){const _0x2392dd=_0x494bb3;return this[_0x2392dd(0x221)][_0x2392dd(0x566)](_0x35de18,this[_0x2392dd(0x39f)],this[_0x2392dd(0x351)],null,[],this[_0x2392dd(0x2d2)]);}[_0x494bb3(0x312)](){return this;}[_0x494bb3(0x2b2)](){const _0x290da5=_0x494bb3;throw new Error(_0x290da5(0x4fd));}['fetchMiss'](){const _0xcb1539=_0x494bb3,_0x352ede=this[_0xcb1539(0x4bd)][_0xcb1539(0x21f)](this[_0xcb1539(0x39f)]);return this[_0xcb1539(0x2d2)]['onMissingChangesets']({'from':_0x352ede,'to':0x0}),this[_0xcb1539(0x221)][_0xcb1539(0x566)](_0x75b83f,this[_0xcb1539(0x39f)],this[_0xcb1539(0x351)],null,[],null,[],this[_0xcb1539(0x2d2)]);}};_0x20fa8f=_0x6d1023([_0x3d0903(0x3,_0x5a20c3[_0x494bb3(0x57c)](_0x4d11e3[_0x494bb3(0x3ae)])),_0x3d0903(0x4,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x1ca)])),_0x3d0903(0x5,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x596)])),_0x3d0903(0x6,_0x5a20c3['IUndoRedoService']),_0x3d0903(0x7,_0x5a20c3['ICommandService']),_0x3d0903(0x8,_0x5a20c3[_0x494bb3(0x494)]),_0x3d0903(0x9,_0x4d11e3[_0x494bb3(0x49f)])],_0x20fa8f);let _0xa05536=class extends _0x5208db{constructor(_0x5c8f1f,_0x2b48ec,_0x164e62,_0x4fd62a,_0x44aa15,_0x2d1fcf,_0x1ddd65,_0x3547c1,_0x2e5cee,_0x180b79,_0x269638,_0x2f39a8,_0x4ae186,_0x41cbde){const _0x567485=_0x494bb3;super(_0x5c8f1f,_0x2b48ec,null,_0x164e62,_0x4fd62a,_0x180b79,_0x41cbde,_0x2d1fcf,_0x1ddd65),_0x3ed524(this,'status',_0x567485(0x1c5)),_0x3ed524(this,_0x567485(0x581),null),_0x3ed524(this,'_sendingTimer',null),(this[_0x567485(0x221)]=_0x44aa15,this[_0x567485(0x32d)]=_0x3547c1,this[_0x567485(0x3f5)]=_0x2e5cee,this[_0x567485(0x1f1)]=_0x269638,this['_transformService']=_0x2f39a8,this[_0x567485(0x4a7)]=_0x4ae186);}['appendMutation'](_0x17b6fd){const _0x394ed9=_0x494bb3;return this[_0x394ed9(0x5e5)][_0x394ed9(0x196)](_0x17b6fd),this[_0x394ed9(0x3b4)](),this;}[_0x494bb3(0x56c)](_0xf4f69b){const _0x2e51ec=_0x494bb3;if(this[_0x2e51ec(0x2f1)](_0xf4f69b))return this['_clearScheduledTask'](),this[_0x2e51ec(0x221)]['createInstance'](_0x75b83f,this[_0x2e51ec(0x39f)],this[_0x2e51ec(0x351)],null,this[_0x2e51ec(0x5e5)],null,[_0xf4f69b],this[_0x2e51ec(0x2d2)]);try{const _0x58b537=this['_transformService'][_0x2e51ec(0x381)](_0xf4f69b,this['_pendingMutations']);if(_0x4d11e3['isTransformMutationsWithChangesetSuccess'](_0x58b537)){const {c1Prime:_0xbda31a,m2Prime:_0x5d813d}=_0x58b537;this[_0x2e51ec(0x1ce)](_0xbda31a);const _0x11dfdb=this[_0x2e51ec(0x221)][_0x2e51ec(0x566)](_0xa05536,this['unitID'],this['type'],_0x5d813d,this[_0x2e51ec(0x2d2)]);return this['_clearScheduledTask'](),_0x11dfdb['_schedule'](this[_0x2e51ec(0x581)]?Math['max'](0x0,new Date()['getTime']()-this[_0x2e51ec(0x581)]):this[_0x2e51ec(0x1c7)]()),_0x11dfdb;}throw _0x58b537[_0x2e51ec(0x35a)];}catch(_0x34960a){return this['_logService']['error'](_0x34960a),this[_0x2e51ec(0x1ad)](!0x1);}}[_0x494bb3(0x1d3)](){const _0x34ec0a=_0x494bb3;throw new Error(_0x34ec0a(0x57d));}[_0x494bb3(0x518)](){const _0x87e7c7=_0x494bb3;throw new Error(_0x87e7c7(0x277));}[_0x494bb3(0x17c)](){return this;}[_0x494bb3(0x3a5)](){const _0x3025af=_0x494bb3;return this['_clearScheduledTask'](),this['_injector']['createInstance'](_0x35de18,this[_0x3025af(0x39f)],this[_0x3025af(0x351)],null,this[_0x3025af(0x5e5)],this['_handler']);}['toggleOnline'](){return this;}[_0x494bb3(0x36f)](_0x1d2025){const _0x45b51f=_0x494bb3,_0x436adf=_0x1d2025!=null?_0x1d2025:this['_getSendChangesetTimeout']();this[_0x45b51f(0x581)]=new Date()[_0x45b51f(0x3a3)](),this[_0x45b51f(0x3da)]=window['setTimeout'](()=>{const _0x3341e7=_0x45b51f;this[_0x3341e7(0x19f)]();let _0x96da72=null;switch(this[_0x3341e7(0x351)]){case _0x9d8403[_0x3341e7(0x329)]:{_0x96da72=_0x5aede1(this[_0x3341e7(0x5e5)],this[_0x3341e7(0x39f)],this['_univerInstanceService'],this[_0x3341e7(0x4bd)],this[_0x3341e7(0x32d)]);break;}case _0x9d8403['UNIVER_DOC']:{this[_0x3341e7(0x5e5)][_0x3341e7(0x1a4)](_0x390191=>_0x390191['id']===_0x458230[_0x3341e7(0x368)]['id'])?_0x96da72=_0x4af5e8(this[_0x3341e7(0x5e5)],this[_0x3341e7(0x39f)],this['_univerInstanceService'],this['_revisionService'],this[_0x3341e7(0x32d)]):_0x96da72=_0x5aede1(this[_0x3341e7(0x5e5)],this[_0x3341e7(0x39f)],this['_univerInstanceService'],this[_0x3341e7(0x4bd)],this[_0x3341e7(0x32d)]);break;}default:throw new Error(_0x3341e7(0x378)+this[_0x3341e7(0x351)]+_0x3341e7(0x33c));}const {changeset:_0x2249dd,pendingMutations:_0x1f05a8}=_0x96da72;this[_0x3341e7(0x2d2)]['onSendChangeset'](_0x2249dd);const _0x50ce8c=_0x1f05a8[_0x3341e7(0x5aa)]?this['_injector'][_0x3341e7(0x566)](_0x4a639a,this[_0x3341e7(0x39f)],this[_0x3341e7(0x351)],_0x2249dd,_0x1f05a8,this[_0x3341e7(0x2d2)],void 0x0):this['_injector'][_0x3341e7(0x566)](_0x548e3e,this[_0x3341e7(0x39f)],this[_0x3341e7(0x351)],_0x2249dd,this[_0x3341e7(0x2d2)]);_0x50ce8c['_updateLocalCache'](),this[_0x3341e7(0x2d2)][_0x3341e7(0x54c)](this,_0x50ce8c);},_0x436adf);}[_0x494bb3(0x1c7)](){const _0xce4fca=_0x494bb3;var _0x219e44;const _0x4c9766=this['_configService'][_0xce4fca(0x19a)](_0x59eaf6);return(_0x219e44=_0x4c9766==null?void 0x0:_0x4c9766[_0xce4fca(0x30e)])!=null?_0x219e44:0x7d0;}[_0x494bb3(0x2b2)](){const _0x1dae54=_0x494bb3;throw new Error(_0x1dae54(0x448));}[_0x494bb3(0x19f)](){const _0x2f8170=_0x494bb3;this[_0x2f8170(0x3da)]!=null&&(clearTimeout(this[_0x2f8170(0x3da)]),this['_sendingTimer']=null);}[_0x494bb3(0x1ad)](_0x4b9df7){const _0x55c399=_0x494bb3;return this['_clearScheduledTask'](),this[_0x55c399(0x221)][_0x55c399(0x566)](_0x382943,this[_0x55c399(0x39f)],this[_0x55c399(0x351)],null,this[_0x55c399(0x5e5)],this[_0x55c399(0x2d2)],_0x4b9df7);}};_0xa05536=_0x6d1023([_0x3d0903(0x4,_0x5a20c3['Inject'](_0x5a20c3[_0x494bb3(0x596)])),_0x3d0903(0x5,_0x5a20c3[_0x494bb3(0x57c)](_0x4d11e3[_0x494bb3(0x3ae)])),_0x3d0903(0x6,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x1ca)])),_0x3d0903(0x7,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x30c)])),_0x3d0903(0x8,_0x5a20c3[_0x494bb3(0x494)]),_0x3d0903(0x9,_0x5a20c3[_0x494bb3(0x39a)]),_0x3d0903(0xa,_0x5a20c3['IConfigService']),_0x3d0903(0xb,_0x4d11e3[_0x494bb3(0x49f)]),_0x3d0903(0xc,_0x5a20c3['IUniverInstanceService']),_0x3d0903(0xd,_0x5a20c3[_0x494bb3(0x44c)])],_0xa05536);let _0x548e3e=class extends _0x5208db{constructor(_0x4087eb,_0x5ca3f8,_0x5d47ad,_0x2f4e64,_0x4a6618,_0x30b9e0,_0x352fcd,_0x2e9171,_0x1eed1d,_0xca75cf,_0x3e7332){const _0x46576e=_0x494bb3;super(_0x4087eb,_0x5ca3f8,_0x5d47ad,[],_0x2f4e64,_0x2e9171,_0x3e7332,_0x30b9e0,_0x352fcd),_0x3ed524(this,_0x46576e(0x601),_0x46576e(0x487)),_0x3ed524(this,'_resendTimeout',0x0),_0x3ed524(this,_0x46576e(0x5b2)),_0x3ed524(this,_0x46576e(0x3a9)),(this[_0x46576e(0x221)]=_0x4a6618,this['_logService']=_0x1eed1d,this[_0x46576e(0x241)]=_0xca75cf);}[_0x494bb3(0x3ca)](_0x318ab7){const _0x59730f=_0x494bb3;this[_0x59730f(0x19f)]();const _0x5ded6a=this[_0x59730f(0x221)][_0x59730f(0x566)](_0x4a639a,this[_0x59730f(0x39f)],this[_0x59730f(0x351)],this['_awaitingChangeset'],[_0x318ab7],this[_0x59730f(0x2d2)],this[_0x59730f(0x5b2)]);return _0x5ded6a['_updateLocalCache'](),_0x5ded6a;}[_0x494bb3(0x56c)](_0x39c70e){const _0x3b31e0=_0x494bb3;if(this[_0x3b31e0(0x2f1)](_0x39c70e))return this[_0x3b31e0(0x19f)](),this[_0x3b31e0(0x221)][_0x3b31e0(0x566)](_0x75b83f,this[_0x3b31e0(0x39f)],this[_0x3b31e0(0x351)],this[_0x3b31e0(0x194)],[],null,[_0x39c70e],this[_0x3b31e0(0x2d2)]);try{const _0x5d06b6=this[_0x3b31e0(0x241)]['transformChangesets']([_0x39c70e],[this['_awaitingChangeset']],!0x1);if(_0x4d11e3['isTransformChangesetsSuccess'](_0x5d06b6)){const {c1Prime:_0x431b60,c2Prime:_0x308bab}=_0x5d06b6;this[_0x3b31e0(0x1ce)](_0x431b60[0x0]),_0x308bab[0x0][_0x3b31e0(0x2d9)]=this[_0x3b31e0(0x562)](),this['_clearScheduledTask']();const _0x5ac87a=this[_0x3b31e0(0x221)][_0x3b31e0(0x566)](_0x548e3e,this['unitID'],this['type'],_0x308bab[0x0],this[_0x3b31e0(0x2d2)]);return _0x5ac87a[_0x3b31e0(0x3b4)](),_0x5ac87a;}return this['_onConflict'](!0x1);}catch(_0x52d915){return this[_0x3b31e0(0x3f5)]['error'](_0x52d915),this['_onConflict'](!0x1);}}[_0x494bb3(0x1d3)](_0x1ddb24){const _0x3a8272=_0x494bb3;this[_0x3a8272(0x19f)]();const _0x178e26=this[_0x3a8272(0x4bd)][_0x3a8272(0x21f)](this[_0x3a8272(0x39f)]);if(_0x1ddb24[_0x3a8272(0x2e8)]<_0x178e26-0x1)return this;if(this['_checkMissing'](_0x1ddb24))return this[_0x3a8272(0x221)][_0x3a8272(0x566)](_0x75b83f,this[_0x3a8272(0x39f)],this[_0x3a8272(0x351)],null,[],this[_0x3a8272(0x194)],[],this[_0x3a8272(0x2d2)]);this[_0x3a8272(0x3af)]();const _0x5953d8=this[_0x3a8272(0x221)]['createInstance'](_0x20fa8f,this['unitID'],this['type'],this[_0x3a8272(0x2d2)]);return _0x5953d8[_0x3a8272(0x3b4)](),_0x5953d8;}[_0x494bb3(0x518)](_0x374ee1){const _0x1b70d2=_0x494bb3;return this[_0x1b70d2(0x1ad)](!!(_0x374ee1!=null&&_0x374ee1[_0x1b70d2(0x1c8)]));}[_0x494bb3(0x17c)](_0x49b68e){const _0x315a09=_0x494bb3;return this[_0x315a09(0x33f)]>_0x2d3c5b?this[_0x315a09(0x3a5)]():(this['_resendTimer']=_0x49657e(this[_0x315a09(0x33f)],{'timeout':this['_resendTimeout'],'reqId':_0x49b68e[_0x315a09(0x5f1)]}),this[_0x315a09(0x3a9)]=this[_0x315a09(0x5b2)]['subscribe'](({reqId:_0x4167fd,timeout:_0x5dcfcf})=>{const _0x5b09b7=_0x315a09;this[_0x5b09b7(0x485)](_0x4167fd,_0x5dcfcf);}),this);}['toggleOffline'](){const _0x5b093c=_0x494bb3;return this[_0x5b093c(0x19f)](),this[_0x5b093c(0x221)]['createInstance'](_0x35de18,this[_0x5b093c(0x39f)],this[_0x5b093c(0x351)],this[_0x5b093c(0x194)],[],this['_handler']);}[_0x494bb3(0x312)](){return this;}[_0x494bb3(0x2b2)](){const _0x531fd5=_0x494bb3;this[_0x531fd5(0x2d2)]['onSendChangeset'](this[_0x531fd5(0x194)]);}['_onConflict'](_0x295a5b){const _0x5124d7=_0x494bb3;return this['_clearScheduledTask'](),this[_0x5124d7(0x221)][_0x5124d7(0x566)](_0x382943,this[_0x5124d7(0x39f)],this[_0x5124d7(0x351)],this[_0x5124d7(0x194)],[],this['_handler'],_0x295a5b);}[_0x494bb3(0x485)](_0x5e90be,_0x42481c){const _0x109f3a=_0x494bb3;var _0x518369;_0x5e90be===((_0x518369=this[_0x109f3a(0x194)])==null?void 0x0:_0x518369['reqId'])&&(this[_0x109f3a(0x2b2)](),this['_resendTimeout']=_0x42481c===0x0?0x3e8:_0x42481c*0x2);}[_0x494bb3(0x19f)](){const _0x3c9228=_0x494bb3;var _0x32ea0c;(_0x32ea0c=this['_sender'])==null||_0x32ea0c[_0x3c9228(0x365)](),this[_0x3c9228(0x33f)]=0x0;}};_0x548e3e=_0x6d1023([_0x3d0903(0x4,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x596)])),_0x3d0903(0x5,_0x5a20c3[_0x494bb3(0x57c)](_0x4d11e3[_0x494bb3(0x3ae)])),_0x3d0903(0x6,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x1ca)])),_0x3d0903(0x7,_0x5a20c3['ICommandService']),_0x3d0903(0x8,_0x5a20c3[_0x494bb3(0x494)]),_0x3d0903(0x9,_0x4d11e3[_0x494bb3(0x49f)]),_0x3d0903(0xa,_0x5a20c3[_0x494bb3(0x44c)])],_0x548e3e);let _0x4a639a=class extends _0x5208db{constructor(_0x109dcb,_0x5b28d1,_0x4e1c51,_0x1f7a7d,_0x3713e2,_0x48aa96,_0x473ac5,_0x4c84e4,_0x50c0f1,_0x4d1890,_0x5545d4,_0x566386,_0x1aedcd){const _0x344755=_0x494bb3;super(_0x109dcb,_0x5b28d1,_0x4e1c51,_0x1f7a7d,_0x3713e2,_0x4d1890,_0x1aedcd,_0x4c84e4,_0x50c0f1),_0x3ed524(this,_0x344755(0x601),'awaiting_with_pending'),_0x3ed524(this,_0x344755(0x33f),0x0),_0x3ed524(this,_0x344755(0x5b2)),_0x3ed524(this,'_sender'),(this['_injector']=_0x473ac5,this[_0x344755(0x3f5)]=_0x5545d4,this['_transformService']=_0x566386,_0x48aa96&&(this[_0x344755(0x5b2)]=_0x48aa96,this[_0x344755(0x3a9)]=this[_0x344755(0x5b2)]['subscribe'](({reqId:_0x12b0c0,timeout:_0x4e1435})=>{const _0x1c8678=_0x344755;this[_0x1c8678(0x485)](_0x12b0c0,_0x4e1435);})));}[_0x494bb3(0x3ca)](_0xd02fbc){const _0x3696f7=_0x494bb3;return this['_pendingMutations'][_0x3696f7(0x196)](_0xd02fbc),this;}[_0x494bb3(0x56c)](_0x3ba773){const _0xb62943=_0x494bb3;if(this[_0xb62943(0x2f1)](_0x3ba773))return this['_clearScheduledTask'](),this[_0xb62943(0x221)][_0xb62943(0x566)](_0x75b83f,this[_0xb62943(0x39f)],this[_0xb62943(0x351)],this['_awaitingChangeset'],this[_0xb62943(0x5e5)],null,[_0x3ba773],this[_0xb62943(0x2d2)]);try{const _0x3678ae=this[_0xb62943(0x241)][_0xb62943(0x599)]([_0x3ba773],[this[_0xb62943(0x194)]],!0x1);if(_0x4d11e3[_0xb62943(0x52b)](_0x3678ae)){const {c1Prime:_0x1242ff,c2Prime:_0x51ebc3}=_0x3678ae,_0x3aeb21=this['_transformService'][_0xb62943(0x381)](_0x1242ff[0x0],this[_0xb62943(0x5e5)]);if(_0x4d11e3[_0xb62943(0x292)](_0x3aeb21)){const {c1Prime:_0x6370df,m2Prime:_0x3aaaff}=_0x3aeb21;return this[_0xb62943(0x1ce)](_0x6370df),_0x51ebc3[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0xb62943(0x19f)](),this[_0xb62943(0x221)][_0xb62943(0x566)](_0x4a639a,this[_0xb62943(0x39f)],this[_0xb62943(0x351)],_0x51ebc3[0x0],_0x3aaaff,this[_0xb62943(0x2d2)],void 0x0);}throw _0x3aeb21[_0xb62943(0x35a)];}throw _0x3678ae[_0xb62943(0x35a)];}catch(_0x5c5f1f){return this[_0xb62943(0x3f5)]['error'](_0x5c5f1f),this[_0xb62943(0x1ad)](!0x1);}}['onRemoteAck'](_0x3ff4b2){const _0x450b6f=_0x494bb3;if(this[_0x450b6f(0x19f)](),this[_0x450b6f(0x2f1)](_0x3ff4b2))return this[_0x450b6f(0x221)][_0x450b6f(0x566)](_0x75b83f,this[_0x450b6f(0x39f)],this['type'],null,this[_0x450b6f(0x5e5)],this[_0x450b6f(0x194)],[],this['_handler']);this[_0x450b6f(0x3af)]();const _0x561ae4=this['_injector'][_0x450b6f(0x566)](_0xa05536,this[_0x450b6f(0x39f)],this['type'],this[_0x450b6f(0x5e5)],this[_0x450b6f(0x2d2)]);return _0x561ae4['_schedule'](),_0x561ae4['_updateLocalCache'](),_0x561ae4;}[_0x494bb3(0x518)](_0x5d71c1){const _0x2493af=_0x494bb3;return this['_onConflict'](!!(_0x5d71c1!=null&&_0x5d71c1[_0x2493af(0x1c8)]));}[_0x494bb3(0x17c)](_0x3dd68f){const _0x3c4550=_0x494bb3;return this['_resendTimeout']>_0x2d3c5b?this[_0x3c4550(0x3a5)]():(this[_0x3c4550(0x5b2)]=_0x49657e(this[_0x3c4550(0x33f)],{'timeout':this[_0x3c4550(0x33f)],'reqId':_0x3dd68f[_0x3c4550(0x5f1)]}),this[_0x3c4550(0x3a9)]=this[_0x3c4550(0x5b2)]['subscribe'](({reqId:_0x762bda,timeout:_0x21c06d})=>{const _0x365043=_0x3c4550;this[_0x365043(0x485)](_0x762bda,_0x21c06d);}),this);}[_0x494bb3(0x3a5)](){const _0x36825c=_0x494bb3;return this['_clearScheduledTask'](),this[_0x36825c(0x221)][_0x36825c(0x566)](_0x35de18,this[_0x36825c(0x39f)],this[_0x36825c(0x351)],this[_0x36825c(0x194)],this[_0x36825c(0x5e5)],this['_handler']);}[_0x494bb3(0x312)](){return this;}[_0x494bb3(0x2b2)](){const _0x5c2e1d=_0x494bb3;this[_0x5c2e1d(0x2d2)][_0x5c2e1d(0x232)](this[_0x5c2e1d(0x194)]);}['_onConflict'](_0x1b1bc8){const _0x52e1b1=_0x494bb3;return this['_clearScheduledTask'](),this['_injector'][_0x52e1b1(0x566)](_0x382943,this[_0x52e1b1(0x39f)],this[_0x52e1b1(0x351)],null,this[_0x52e1b1(0x5e5)],this[_0x52e1b1(0x2d2)],_0x1b1bc8);}[_0x494bb3(0x485)](_0x300cb5,_0x54c96b){const _0x1d5e73=_0x494bb3;var _0x2b22b4;_0x300cb5===((_0x2b22b4=this[_0x1d5e73(0x194)])==null?void 0x0:_0x2b22b4[_0x1d5e73(0x5f1)])&&(this[_0x1d5e73(0x2b2)](),this[_0x1d5e73(0x33f)]=_0x54c96b===0x0?0x3e8:_0x54c96b*0x2);}[_0x494bb3(0x19f)](){const _0x5677b1=_0x494bb3;var _0x561be6;(_0x561be6=this[_0x5677b1(0x3a9)])==null||_0x561be6[_0x5677b1(0x365)](),this[_0x5677b1(0x33f)]=0x0;}};_0x4a639a=_0x6d1023([_0x3d0903(0x6,_0x5a20c3['Inject'](_0x5a20c3['Injector'])),_0x3d0903(0x7,_0x5a20c3['Inject'](_0x4d11e3['RevisionService'])),_0x3d0903(0x8,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x1ca)])),_0x3d0903(0x9,_0x5a20c3[_0x494bb3(0x39a)]),_0x3d0903(0xa,_0x5a20c3['ILogService']),_0x3d0903(0xb,_0x4d11e3[_0x494bb3(0x49f)]),_0x3d0903(0xc,_0x5a20c3[_0x494bb3(0x44c)])],_0x4a639a);let _0x382943=class extends _0x5208db{constructor(_0x3ddcd5,_0x59b7ad,_0x214733,_0x3dd954,_0x162645,_0x12570b=!0x1,_0x44791e,_0x2a5c12,_0x56e318,_0x3b96fd,_0x29b66b,_0x532b2c,_0x136f3e){const _0x4b1606=_0x494bb3;super(_0x3ddcd5,_0x59b7ad,_0x214733,_0x3dd954,_0x162645,_0x2a5c12,_0x56e318,_0x29b66b,_0x3b96fd),_0x3ed524(this,'status',_0x4b1606(0x5b1)),(this['_isPermissionRej']=_0x12570b,this[_0x4b1606(0x441)]=_0x44791e,this['_localeService']=_0x532b2c,this[_0x4b1606(0x334)]=_0x136f3e,this[_0x4b1606(0x3d3)](),this[_0x4b1606(0x41a)](),this[_0x4b1606(0x171)]());}[_0x494bb3(0x3ca)](){return this;}[_0x494bb3(0x56c)](){return this;}['onRemoteAck'](){return this;}[_0x494bb3(0x518)](){return this;}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x494bb3(0x312)](){return this;}[_0x494bb3(0x2b2)](){const _0xa54107=_0x494bb3;throw new Error(_0xa54107(0x389));}[_0x494bb3(0x41a)](){const _0x30e28e=_0x494bb3;this['_localCacheService']['updateOfflineData'](this[_0x30e28e(0x39f)],this['type'],null,[]);}[_0x494bb3(0x3d3)](){const _0x4a7b86=_0x494bb3;this[_0x4a7b86(0x160)]?this['_notificationService'][_0x4a7b86(0x478)]({'title':this[_0x4a7b86(0x26e)]['t']('permission.title'),'content':this[_0x4a7b86(0x26e)]['t'](_0x4a7b86(0x31e)),'type':_0x4a7b86(0x35a),'duration':0x0}):this[_0x4a7b86(0x334)][_0x4a7b86(0x478)]({'title':this[_0x4a7b86(0x26e)]['t']('conflict.title'),'content':this[_0x4a7b86(0x26e)]['t'](_0x4a7b86(0x51c)),'type':_0x4a7b86(0x35a),'duration':0x0});}[_0x494bb3(0x171)](){const _0x463cd5=_0x494bb3;this[_0x463cd5(0x441)]['updatePermissionPoint'](new _0x66e3f4[(_0x463cd5(0x35d))](this[_0x463cd5(0x39f)])['id'],!0x1);}};_0x382943=_0x6d1023([_0x3d0903(0x6,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x397)])),_0x3d0903(0x7,_0x5a20c3[_0x494bb3(0x39a)]),_0x3d0903(0x8,_0x5a20c3['IUndoRedoService']),_0x3d0903(0x9,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x1ca)])),_0x3d0903(0xa,_0x5a20c3[_0x494bb3(0x57c)](_0x4d11e3[_0x494bb3(0x3ae)])),_0x3d0903(0xb,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x439)])),_0x3d0903(0xc,_0x33d470[_0x494bb3(0x2bf)])],_0x382943);let _0x35de18=class extends _0x5208db{constructor(_0x32544e,_0x401bb5,_0x1397a8,_0x18f350,_0x1a1d35,_0x299319,_0x3cbafb,_0x56d96c,_0x19b864,_0x9597e0){const _0x992179=_0x494bb3;super(_0x32544e,_0x401bb5,_0x1397a8,_0x18f350,_0x1a1d35,_0x19b864,_0x9597e0,_0x3cbafb,_0x56d96c),_0x3ed524(this,_0x992179(0x601),_0x992179(0x333)),this['_injector']=_0x299319;}['appendMutation'](_0x507d99){const _0x314c2c=_0x494bb3;return this[_0x314c2c(0x5e5)][_0x314c2c(0x196)](_0x507d99),this[_0x314c2c(0x3b4)](),this;}['onRemoteChangeset'](_0x460f77){const _0x592c91=_0x494bb3;throw new Error(_0x592c91(0x176));}[_0x494bb3(0x1d3)](){const _0x4cf015=_0x494bb3;throw new Error(_0x4cf015(0x3a7));}[_0x494bb3(0x518)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x494bb3(0x3a5)](){return this;}[_0x494bb3(0x312)](){const _0x20401e=_0x494bb3,{_injector:_0x4e1413,_pendingMutations:_0x4a6b92,_awaitingChangeset:_0x583f9b,unitID:_0xa47ffa,_handler:_0x14949e,type:_0x2b8c3b}=this,_0x3c6c63=_0x3c042f(_0x4e1413,_0xa47ffa,_0x2b8c3b,_0x583f9b,_0x4a6b92,_0x14949e);return _0x3c6c63 instanceof _0xa05536?_0x3c6c63['_schedule']():(_0x3c6c63 instanceof _0x4a639a||_0x3c6c63 instanceof _0x548e3e)&&_0x3c6c63[_0x20401e(0x2b2)](),_0x3c6c63;}[_0x494bb3(0x2b2)](){const _0x513a4b=_0x494bb3;throw new Error(_0x513a4b(0x400));}};_0x35de18=_0x6d1023([_0x3d0903(0x5,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3['Injector'])),_0x3d0903(0x6,_0x5a20c3[_0x494bb3(0x57c)](_0x4d11e3[_0x494bb3(0x3ae)])),_0x3d0903(0x7,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x1ca)])),_0x3d0903(0x8,_0x5a20c3[_0x494bb3(0x39a)]),_0x3d0903(0x9,_0x5a20c3[_0x494bb3(0x44c)])],_0x35de18);let _0x75b83f=class extends _0x5208db{constructor(_0x24d53c,_0x5c5e41,_0x489bab,_0x1909f6,_0x513424,_0x25b2d2,_0x1a3e3a,_0x28dd3a,_0x72010a,_0x2756c3,_0x132dc9,_0x177e56,_0x571a8f,_0x3b2425){const _0x441205=_0x494bb3;super(_0x24d53c,_0x5c5e41,_0x489bab,_0x1909f6,_0x1a3e3a,_0x177e56,_0x571a8f,_0x72010a,_0x2756c3),_0x3ed524(this,'status',_0x441205(0x369)),(this[_0x441205(0x517)]=_0x513424,this['_queuedRemoteChangesets']=_0x25b2d2,this[_0x441205(0x221)]=_0x28dd3a,this['_logService']=_0x132dc9,this['_transformService']=_0x3b2425);}[_0x494bb3(0x5cb)](_0x2be7c6){const _0x4faaef=_0x494bb3;try{const _0x5cf763=[..._0x2be7c6,...this[_0x4faaef(0x242)]],_0x10f457=[this['_awaitingChangeset']||this[_0x4faaef(0x517)]][_0x4faaef(0x264)](_0x4e10da=>!!_0x4e10da);let _0x1323c0,_0x537d2f;if(_0x10f457[_0x4faaef(0x5aa)]){const _0x8c0ed2=this[_0x4faaef(0x241)][_0x4faaef(0x599)](_0x5cf763,_0x10f457,!0x1);if(!_0x4d11e3[_0x4faaef(0x52b)](_0x8c0ed2))throw _0x8c0ed2[_0x4faaef(0x35a)];_0x1323c0=_0x8c0ed2[_0x4faaef(0x297)],_0x537d2f=_0x8c0ed2[_0x4faaef(0x3bc)];}else _0x1323c0=_0x5cf763,_0x537d2f=[];let _0x395a96=this['_pendingMutations'];_0x1323c0['forEach'](_0x257009=>{const _0x3559fc=_0x4faaef;let _0x4bf248;if(_0x395a96[_0x3559fc(0x5aa)]){const _0x272456=this[_0x3559fc(0x241)][_0x3559fc(0x381)](_0x257009,_0x395a96);if(!_0x4d11e3[_0x3559fc(0x292)](_0x272456))throw _0x272456['error'];_0x4bf248=_0x272456[_0x3559fc(0x297)],_0x395a96=_0x272456['m2Prime'];}else _0x4bf248=_0x257009;this[_0x3559fc(0x1ce)](_0x4bf248);}),this['_acknowledgedAwaitingChangeset']&&this[_0x4faaef(0x3af)](),this['_awaitingChangeset']&&_0x537d2f['length']&&(_0x537d2f[0x0]['baseRev']=this[_0x4faaef(0x562)]());let _0x2cdbfc;if(this[_0x4faaef(0x194)]&&_0x395a96[_0x4faaef(0x5aa)]!==0x0)_0x2cdbfc=this[_0x4faaef(0x221)][_0x4faaef(0x566)](_0x4a639a,this[_0x4faaef(0x39f)],this[_0x4faaef(0x351)],_0x537d2f[0x0],_0x395a96,this[_0x4faaef(0x2d2)],void 0x0);else{if(this[_0x4faaef(0x194)]&&_0x395a96['length']===0x0)_0x537d2f[0x0]['baseRev']=this[_0x4faaef(0x562)](),_0x2cdbfc=this[_0x4faaef(0x221)][_0x4faaef(0x566)](_0x548e3e,this[_0x4faaef(0x39f)],this['type'],_0x537d2f[0x0],this[_0x4faaef(0x2d2)]);else{if(_0x395a96[_0x4faaef(0x5aa)]!==0x0){const _0x2d1ed4=this[_0x4faaef(0x221)][_0x4faaef(0x566)](_0xa05536,this[_0x4faaef(0x39f)],this[_0x4faaef(0x351)],_0x395a96,this[_0x4faaef(0x2d2)]);_0x2d1ed4[_0x4faaef(0x36f)](),_0x2cdbfc=_0x2d1ed4;}else _0x2cdbfc=this['_injector'][_0x4faaef(0x566)](_0x20fa8f,this[_0x4faaef(0x39f)],this[_0x4faaef(0x351)],this[_0x4faaef(0x2d2)]);}}return _0x2cdbfc[_0x4faaef(0x3b4)](),_0x2cdbfc;}catch(_0xf3c1a2){return this[_0x4faaef(0x3f5)][_0x4faaef(0x35a)](_0x4faaef(0x45c),_0x4faaef(0x37d),_0xf3c1a2),this[_0x4faaef(0x221)]['createInstance'](_0x382943,this['unitID'],this[_0x4faaef(0x351)],this[_0x4faaef(0x194)],this[_0x4faaef(0x5e5)],this[_0x4faaef(0x2d2)],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x494bb3(0x3ca)](_0x5c0b14){const _0x25ceab=_0x494bb3;return this[_0x25ceab(0x5e5)]['push'](_0x5c0b14),this;}[_0x494bb3(0x56c)](_0x258926){const _0x147ef7=_0x494bb3;return this[_0x147ef7(0x242)][_0x147ef7(0x196)](_0x258926),this;}[_0x494bb3(0x1d3)](_0x3e6c71){const _0x290a50=_0x494bb3;if(this[_0x290a50(0x194)])return this[_0x290a50(0x517)]=this['_awaitingChangeset'],this[_0x290a50(0x194)]=null,this;throw new Error(_0x290a50(0x30a));}[_0x494bb3(0x518)](_0x470799){const _0x2226d9=_0x494bb3;return this[_0x2226d9(0x1ad)](!!(_0x470799!=null&&_0x470799['isPermissionRej']));}['onRemoteRetry'](){return this;}[_0x494bb3(0x3a5)](){const _0x7438df=_0x494bb3;return this['_injector'][_0x7438df(0x566)](_0x35de18,this[_0x7438df(0x39f)],this['type'],this[_0x7438df(0x194)],this['_pendingMutations'],this[_0x7438df(0x2d2)]);}[_0x494bb3(0x312)](){return this;}['_onConflict'](_0x5efa5e){const _0x1abf09=_0x494bb3;return this[_0x1abf09(0x221)][_0x1abf09(0x566)](_0x382943,this[_0x1abf09(0x39f)],this[_0x1abf09(0x351)],this[_0x1abf09(0x194)],this['_pendingMutations'],this[_0x1abf09(0x2d2)],_0x5efa5e);}};_0x75b83f=_0x6d1023([_0x3d0903(0x7,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x596)])),_0x3d0903(0x8,_0x5a20c3[_0x494bb3(0x57c)](_0x4d11e3[_0x494bb3(0x3ae)])),_0x3d0903(0x9,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x1ca)])),_0x3d0903(0xa,_0x5a20c3['ILogService']),_0x3d0903(0xb,_0x5a20c3[_0x494bb3(0x39a)]),_0x3d0903(0xc,_0x5a20c3[_0x494bb3(0x44c)]),_0x3d0903(0xd,_0x4d11e3['ITransformService'])],_0x75b83f);function _0x3c042f(_0x4d8e9c,_0x3985a2,_0x23026b,_0x331477,_0x5b298f,_0x8b68cd){const _0x41b706=_0x494bb3;return _0x331477&&_0x5b298f[_0x41b706(0x5aa)]?_0x4d8e9c[_0x41b706(0x566)](_0x4a639a,_0x3985a2,_0x23026b,_0x331477,_0x5b298f,_0x8b68cd,void 0x0):_0x331477?_0x4d8e9c[_0x41b706(0x566)](_0x548e3e,_0x3985a2,_0x23026b,_0x331477,_0x8b68cd):_0x5b298f[_0x41b706(0x5aa)]?_0x4d8e9c['createInstance'](_0xa05536,_0x3985a2,_0x23026b,_0x5b298f,_0x8b68cd):_0x4d8e9c[_0x41b706(0x566)](_0x20fa8f,_0x3985a2,_0x23026b,_0x8b68cd);}var _0x4ddaf2=Object[_0x494bb3(0x5f8)],_0x174aa0=Object[_0x494bb3(0x51e)],_0xb1d179=(_0x488b59,_0x43a540,_0x5c0a48,_0x28e986)=>{for(var _0x569a6f=_0x28e986>0x1?void 0x0:_0x28e986?_0x174aa0(_0x43a540,_0x5c0a48):_0x43a540,_0x442866=_0x488b59['length']-0x1,_0x5aa92c;_0x442866>=0x0;_0x442866--)(_0x5aa92c=_0x488b59[_0x442866])&&(_0x569a6f=(_0x28e986?_0x5aa92c(_0x43a540,_0x5c0a48,_0x569a6f):_0x5aa92c(_0x569a6f))||_0x569a6f);return _0x28e986&&_0x569a6f&&_0x4ddaf2(_0x43a540,_0x5c0a48,_0x569a6f),_0x569a6f;},_0x3b93ef=(_0x4b7e4f,_0x2dc670)=>(_0x3ade68,_0x332e7b)=>_0x2dc670(_0x3ade68,_0x332e7b,_0x4b7e4f);_0x38d423[_0x494bb3(0x2b8)]=class extends _0x5a20c3[_0x494bb3(0x3ed)]{constructor(_0x2989a5,_0x2d176e,_0x44d724,_0x58a2cf,_0x13f7de,_0x542651,_0x35f41e,_0x5d91cc,_0x1b597b,_0x294df7,_0x3cacf4,_0x1fe8f4,_0x1e843f){const _0x508a8d=_0x494bb3;super(),_0x3ed524(this,_0x508a8d(0x3cf),new _0x32bae4[(_0x508a8d(0x55c))](null)),_0x3ed524(this,'state$',this[_0x508a8d(0x3cf)][_0x508a8d(0x4fe)]()),_0x3ed524(this,_0x508a8d(0x1bd)),_0x3ed524(this,_0x508a8d(0x5a0),!0x1),_0x3ed524(this,_0x508a8d(0x3c5),''),_0x3ed524(this,_0x508a8d(0x53f),0x0),_0x3ed524(this,_0x508a8d(0x5e2),this[_0x508a8d(0x311)][_0x508a8d(0x1d4)](_0x32bae4['map'](_0x32e895=>_0x32e895?_0x32e895[_0x508a8d(0x601)]:_0x5948fa[_0x508a8d(0x1de)]),_0x32bae4[_0x508a8d(0x1e8)](0x1))),_0x3ed524(this,_0x508a8d(0x285),!0x1),_0x3ed524(this,_0x508a8d(0x2a0),[]),(this[_0x508a8d(0x39f)]=_0x2989a5,this[_0x508a8d(0x15b)]=_0x2d176e,this[_0x508a8d(0x3f7)]=_0x44d724,this[_0x508a8d(0x221)]=_0x58a2cf,this[_0x508a8d(0x489)]=_0x13f7de,this[_0x508a8d(0x525)]=_0x542651,this[_0x508a8d(0x26e)]=_0x35f41e,this[_0x508a8d(0x4bd)]=_0x5d91cc,this[_0x508a8d(0x3f5)]=_0x1b597b,this['_commandService']=_0x294df7,this[_0x508a8d(0x2cc)]=_0x3cacf4,this[_0x508a8d(0x441)]=_0x1fe8f4,this[_0x508a8d(0x2df)]=_0x1e843f);}get[_0x494bb3(0x3ec)](){const _0x49d0f0=_0x494bb3;return this[_0x49d0f0(0x1bd)];}async['init'](){const _0x1da2ec=_0x494bb3;if(this[_0x1da2ec(0x3ec)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this['_init']();}[_0x494bb3(0x604)](){const _0x47efa7=_0x494bb3;return this[_0x47efa7(0x5a0)]=!0x0,_0x5a20c3[_0x47efa7(0x1d8)](()=>{const _0xa83272=_0x47efa7;this[_0xa83272(0x5a0)]=!0x1,this[_0xa83272(0x469)]();});}[_0x494bb3(0x3d8)](_0x51de5c){const _0x272364=_0x494bb3;this[_0x272364(0x1bd)]=_0x51de5c,this[_0x272364(0x3cf)][_0x272364(0x5dd)](_0x51de5c);}async[_0x494bb3(0x298)](){const _0x356b63=_0x494bb3;var _0x2cca48;this[_0x356b63(0x3d8)](await this[_0x356b63(0x3bb)]()),this[_0x356b63(0x2df)]&&((_0x2cca48=this[_0x356b63(0x2df)])==null||_0x2cca48[_0x356b63(0x355)](this['unitID']),this[_0x356b63(0x385)](this['_singleActiveUnitService'][_0x356b63(0x56f)](this[_0x356b63(0x39f)])[_0x356b63(0x38d)](_0x1b628d=>{const _0x35aa56=_0x356b63;this[_0x35aa56(0x3f5)][_0x35aa56(0x1b0)](_0x35aa56(0x1d7),_0x35aa56(0x252),_0x1b628d),_0x1b628d===_0x110671['OTHER_CLIENTS_EDITING']?(this['_messageService'][_0x35aa56(0x478)]({'content':this[_0x35aa56(0x26e)]['t'](_0x35aa56(0x217)),'type':_0x989dfe[_0x35aa56(0x5f0)]['Warning']}),this['_permissionService']['updatePermissionPoint'](new _0x66e3f4['WorkbookEditablePermission'](this[_0x35aa56(0x39f)])['id'],!0x1),this[_0x35aa56(0x441)][_0x35aa56(0x415)](!0x1)):(this[_0x35aa56(0x441)][_0x35aa56(0x24c)](new _0x66e3f4[(_0x35aa56(0x35d))](this[_0x35aa56(0x39f)])['id'],!0x0),this[_0x35aa56(0x441)][_0x35aa56(0x415)](!0x0));})));let _0x139d09=!0x1;return this[_0x356b63(0x385)](this[_0x356b63(0x15b)][_0x356b63(0x398)][_0x356b63(0x38d)](_0x250424=>{const _0x464d57=_0x356b63;_0x250424===_0x5f2a52[_0x464d57(0x5c1)]?this[_0x464d57(0x522)](_0x139d09):_0x250424===_0x5f2a52[_0x464d57(0x1de)]&&(_0x139d09=!0x0,this[_0x464d57(0x27b)]());})),this[_0x356b63(0x385)](this[_0x356b63(0x15b)][_0x356b63(0x5f6)][_0x356b63(0x38d)](_0x13288c=>{const _0x580e1f=_0x356b63;try{switch(_0x13288c['eventID']){case _0x4d11e3[_0x580e1f(0x213)][_0x580e1f(0x2f4)]:{this[_0x580e1f(0x16c)](_0x4d11e3[_0x580e1f(0x40a)](_0x13288c[_0x580e1f(0x5a3)]));break;}case _0x4d11e3[_0x580e1f(0x213)][_0x580e1f(0x318)]:{this['_onRemoteACK'](_0x13288c['data']);break;}case _0x4d11e3[_0x580e1f(0x213)][_0x580e1f(0x16f)]:{this['_onRemoteRejected']();break;}case _0x4d11e3[_0x580e1f(0x213)][_0x580e1f(0x529)]:{this[_0x580e1f(0x183)](_0x13288c[_0x580e1f(0x5a3)]);break;}case _0x4d11e3[_0x580e1f(0x213)][_0x580e1f(0x388)]:{this[_0x580e1f(0x344)](_0x13288c[_0x580e1f(0x5a3)]['changesets'][_0x580e1f(0x48f)](_0x36b553=>_0x4d11e3[_0x580e1f(0x40a)](_0x36b553)));break;}case _0x4d11e3[_0x580e1f(0x213)][_0x580e1f(0x549)]:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0xe8be5c){throw console[_0x580e1f(0x35a)](_0x580e1f(0x4f5),_0xe8be5c),_0xe8be5c;}})),this[_0x356b63(0x1bd)];}[_0x494bb3(0x50a)](){this['_transitionLocked']=!0x1;}['_lockTransition'](){const _0x4e146c=_0x494bb3;if(this['_transitionLocked'])throw new Error(_0x4e146c(0x514));this[_0x4e146c(0x285)]=!0x0;}['_onLocalMutation'](_0x42bf35){const _0x3b15bc=_0x494bb3;this[_0x3b15bc(0x3c0)](),this[_0x3b15bc(0x3d8)](this['_state'][_0x3b15bc(0x3ca)](_0x42bf35)),this[_0x3b15bc(0x50a)]();}[_0x494bb3(0x16c)](_0x19d348){const _0xb1f3b0=_0x494bb3;if(!(_0x19d348[_0xb1f3b0(0x2e8)]<=this[_0xb1f3b0(0x4bd)][_0xb1f3b0(0x21f)](this[_0xb1f3b0(0x39f)]))){if(this[_0xb1f3b0(0x5a0)]){this[_0xb1f3b0(0x2a0)][_0xb1f3b0(0x196)](_0x19d348);return;}this[_0xb1f3b0(0x51b)](_0x19d348);}}[_0x494bb3(0x469)](){const _0x1e3c23=_0x494bb3;this['_remoteChangesetQueue'][_0x1e3c23(0x5e8)](_0x3fa8e0=>this[_0x1e3c23(0x51b)](_0x3fa8e0)),this[_0x1e3c23(0x2a0)]=[];}[_0x494bb3(0x51b)](_0x419873){const _0x28e860=_0x494bb3,_0x45b4ed=this[_0x28e860(0x525)]['interceptor'][_0x28e860(0x4dd)](this[_0x28e860(0x525)][_0x28e860(0x2f8)][_0x28e860(0x44a)]()[_0x28e860(0x555)])(_0x419873[_0x28e860(0x341)],null)||_0x419873['mutations'],_0x409cd1={..._0x419873,'mutations':_0x45b4ed};this[_0x28e860(0x3c0)](),this['_updateState'](this[_0x28e860(0x1bd)][_0x28e860(0x56c)](_0x409cd1)),this[_0x28e860(0x50a)]();}[_0x494bb3(0x193)](_0x1d7b7e){const _0x4c0ef9=_0x494bb3;this[_0x4c0ef9(0x3c0)](),this[_0x4c0ef9(0x3d8)](this[_0x4c0ef9(0x1bd)][_0x4c0ef9(0x1d3)](_0x1d7b7e)),this[_0x4c0ef9(0x50a)]();}[_0x494bb3(0x53b)](_0x3557a8){const _0x10b073=_0x494bb3;this[_0x10b073(0x3c0)](),this[_0x10b073(0x3d8)](this[_0x10b073(0x1bd)][_0x10b073(0x518)](_0x3557a8)),this[_0x10b073(0x50a)]();}[_0x494bb3(0x183)](_0x584d6e){const _0x287380=_0x494bb3;this[_0x287380(0x3c0)](),this[_0x287380(0x3d8)](this[_0x287380(0x1bd)][_0x287380(0x17c)](_0x584d6e)),this[_0x287380(0x50a)]();}[_0x494bb3(0x344)](_0x203422){const _0x3e0e7c=_0x494bb3;if(!(this[_0x3e0e7c(0x1bd)]instanceof _0x75b83f))throw new TypeError(_0x3e0e7c(0x2e7));const _0x53a267=_0x203422[_0x3e0e7c(0x48f)](_0x1595aa=>{const _0x1b67fe=_0x3e0e7c,_0x42077d=this[_0x1b67fe(0x525)][_0x1b67fe(0x2f8)][_0x1b67fe(0x4dd)](this['_compressMutationService'][_0x1b67fe(0x2f8)][_0x1b67fe(0x44a)]()[_0x1b67fe(0x555)])(_0x1595aa[_0x1b67fe(0x341)],null)||_0x1595aa['mutations'];return{..._0x1595aa,'mutations':_0x42077d};});this['_lockTransition'](),this['_updateState'](this[_0x3e0e7c(0x1bd)][_0x3e0e7c(0x5cb)](_0x53a267)),this[_0x3e0e7c(0x50a)]();}[_0x494bb3(0x27b)](){const _0x46878f=_0x494bb3;this['_lockTransition'](),this['_updateState'](this['_state'][_0x46878f(0x3a5)]()),this[_0x46878f(0x50a)]();}[_0x494bb3(0x522)](_0x39529a=!0x1){const _0x6a73cf=_0x494bb3;this[_0x6a73cf(0x3c0)](),this[_0x6a73cf(0x3d8)](this[_0x6a73cf(0x1bd)][_0x6a73cf(0x312)]()),this[_0x6a73cf(0x50a)]();const _0xfb3712=this[_0x6a73cf(0x1bd)];_0x39529a&&_0xfb3712 instanceof _0x20fa8f&&(this['_lockTransition'](),this[_0x6a73cf(0x3d8)](_0xfb3712[_0x6a73cf(0x34d)]()),this[_0x6a73cf(0x50a)]());}async[_0x494bb3(0x3bb)](){return new Promise(_0x361621=>{const _0xb13b99=_0x50cf;this['session'][_0xb13b99(0x398)][_0xb13b99(0x1d4)](_0x32bae4[_0xb13b99(0x5d8)](0x1))[_0xb13b99(0x38d)](async _0x44282a=>{const _0x45e6af=_0xb13b99;_0x361621(await this[_0x45e6af(0x21b)](_0x44282a===_0x5f2a52[_0x45e6af(0x5c1)]));});});}['_createHandler'](){const _0x175b9d=_0x494bb3,_0x2bd2eb=this[_0x175b9d(0x39f)];return{'onStateChange':(_0xb57ce0,_0x508c2a)=>{const _0x183df6=_0x175b9d;if(_0xb57ce0!==this[_0x183df6(0x1bd)])throw new Error(_0x183df6(0x433)+_0xb57ce0['status']+_0x183df6(0x27a)+_0x508c2a[_0x183df6(0x601)]+_0x183df6(0x5d5)+this['_state'][_0x183df6(0x601)]);this[_0x183df6(0x3d8)](_0x508c2a);},'onSendChangeset':_0x238ed4=>{const _0x133bbb=_0x175b9d;_0x238ed4['sid']||(_0x238ed4[_0x133bbb(0x605)]=this[_0x133bbb(0x3c5)],_0x238ed4[_0x133bbb(0x5f1)]=++this['_changesetReqId']);const _0xfc559c={'eventID':_0x4d11e3[_0x133bbb(0x213)][_0x133bbb(0x39d)],'data':{'unitID':_0x238ed4[_0x133bbb(0x39f)],'unitType':this['_type'],'changeset':_0x238ed4,'memberID':this[_0x133bbb(0x15b)][_0x133bbb(0x488)]()}};this[_0x133bbb(0x15b)]['send'](_0xfc559c,this[_0x133bbb(0x39f)]);},'onMissingChangesets':({from:_0x503bcc,to:_0x248c19})=>{const _0x120225=_0x175b9d;this[_0x120225(0x3f5)]['debug'](_0x120225(0x1d7),_0x120225(0x44b)+_0x503bcc+_0x120225(0x603)+_0x248c19);const _0xde2596={'eventID':_0x4d11e3[_0x120225(0x213)]['FETCH_MISSING'],'data':{'unitID':_0x2bd2eb,'unitType':this[_0x120225(0x3f7)],'from':_0x503bcc,'to':_0x248c19}};this[_0x120225(0x15b)][_0x120225(0x424)](_0xde2596,this[_0x120225(0x39f)]);}};}async[_0x494bb3(0x21b)](_0x23cf28){const _0x24fd46=_0x494bb3;var _0x40d67a,_0x3c0af8;const _0x3bf3b7=await this['_localCacheService'][_0x24fd46(0x23d)](this[_0x24fd46(0x39f)]),_0x19108f=(_0x40d67a=_0x3bf3b7==null?void 0x0:_0x3bf3b7[_0x24fd46(0x341)])!=null?_0x40d67a:[],_0x3e9a6e=(_0x3c0af8=_0x3bf3b7==null?void 0x0:_0x3bf3b7[_0x24fd46(0x5b3)])!=null?_0x3c0af8:null,_0x90c3b5=!!(_0x3e9a6e!=null&&_0x3e9a6e['sid'])&&!!(_0x3e9a6e!=null&&_0x3e9a6e[_0x24fd46(0x5f1)]);this[_0x24fd46(0x3c5)]=_0x90c3b5?_0x3e9a6e[_0x24fd46(0x605)]:_0x4c4aaa(),this[_0x24fd46(0x53f)]=_0x90c3b5?_0x3e9a6e[_0x24fd46(0x5f1)]:0x0;const _0x451cb6=this[_0x24fd46(0x39f)];try{this['_replayCachedMutations'](_0x3e9a6e,_0x19108f);}catch(_0x513582){this[_0x24fd46(0x3f5)][_0x24fd46(0x35a)](_0x513582);}const _0xfad56b=this[_0x24fd46(0x2c7)]();if(_0x23cf28){const _0x35ca4c=_0x3c042f(this[_0x24fd46(0x221)],_0x451cb6,this[_0x24fd46(0x3f7)],_0x3e9a6e,_0x19108f,_0xfad56b);return _0x35ca4c instanceof _0xa05536?_0x35ca4c[_0x24fd46(0x36f)]():(_0x35ca4c instanceof _0x4a639a||_0x35ca4c instanceof _0x548e3e)&&_0x35ca4c[_0x24fd46(0x2b2)](),_0x35ca4c;}return this[_0x24fd46(0x221)][_0x24fd46(0x566)](_0x35de18,_0x451cb6,this[_0x24fd46(0x3f7)],_0x3e9a6e,_0x19108f,_0xfad56b);}['_replayCachedMutations'](_0x414b17,_0x1cb5cb){const _0x3cc559=_0x494bb3;var _0x1d5f29,_0x55994e;const _0x48658c=this['_compressMutationService'][_0x3cc559(0x2f8)][_0x3cc559(0x4dd)](this[_0x3cc559(0x525)][_0x3cc559(0x2f8)][_0x3cc559(0x44a)]()[_0x3cc559(0x555)]);(_0x1d5f29=_0x48658c((_0x414b17==null?void 0x0:_0x414b17['mutations'])||[],null))==null||_0x1d5f29[_0x3cc559(0x5e8)](_0x3f698c=>this['_commandService'][_0x3cc559(0x482)](_0x3f698c['id'],_0x3f698c[_0x3cc559(0x542)])),(_0x55994e=_0x48658c(_0x1cb5cb||[],null))==null||_0x55994e[_0x3cc559(0x5e8)](_0x3ad82e=>this[_0x3cc559(0x2e5)][_0x3cc559(0x482)](_0x3ad82e['id'],_0x3ad82e[_0x3cc559(0x542)]));}},_0x38d423[_0x494bb3(0x2b8)]=_0xb1d179([_0x3b93ef(0x3,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3['Injector'])),_0x3b93ef(0x4,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x1ca)])),_0x3b93ef(0x5,_0x5a20c3[_0x494bb3(0x57c)](_0x4d11e3[_0x494bb3(0x407)])),_0x3b93ef(0x6,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x439)])),_0x3b93ef(0x7,_0x5a20c3[_0x494bb3(0x57c)](_0x4d11e3['RevisionService'])),_0x3b93ef(0x8,_0x5a20c3[_0x494bb3(0x494)]),_0x3b93ef(0x9,_0x5a20c3[_0x494bb3(0x39a)]),_0x3b93ef(0xa,_0x33d470[_0x494bb3(0x454)]),_0x3b93ef(0xb,_0x5a20c3[_0x494bb3(0x397)]),_0x3b93ef(0xc,_0x5a20c3[_0x494bb3(0x59d)](_0x104336))],_0x38d423[_0x494bb3(0x2b8)]),_0x38d423[_0x494bb3(0x5ff)]=class extends _0x38d423['CollaborationEntity']{constructor(_0x25d45c,_0x52ddaf,_0x5f2d3f,_0xfd7794,_0x31ae7f,_0x416fb4,_0x3af090,_0x4f4543,_0x243e72,_0x97140b,_0x365a86,_0x15c5f7,_0x2093a1,_0x3e6de1,_0x159355,_0x472604,_0x29a436,_0x427ef0){const _0xfd004a=_0x494bb3;super(_0x25d45c,_0x5f2d3f,_0x52ddaf,_0xfd7794,_0x31ae7f,_0x416fb4,_0x3af090,_0x4f4543,_0x3e6de1,_0x159355,_0x472604,_0x29a436,_0x427ef0),this[_0xfd004a(0x39f)]=_0x25d45c,this[_0xfd004a(0x351)]=_0x52ddaf,this['_docStateChangeManagerService']=_0x243e72,this['_docTransformIMECacheService']=_0x97140b,this['_docTransformStateCacheService']=_0x365a86,this[_0xfd004a(0x44d)]=_0x15c5f7,this['_docSyncEditingCollabCursorService']=_0x2093a1;}['_createHandler'](){const _0x4919ce=_0x494bb3,_0x984f14=super[_0x4919ce(0x2c7)]();return _0x984f14['onTransformIME']=_0x524968=>this[_0x4919ce(0x166)][_0x4919ce(0x5fb)](_0x524968),_0x984f14[_0x4919ce(0x57e)]=_0x57bb1a=>this[_0x4919ce(0x4b3)][_0x4919ce(0x58c)](_0x57bb1a),_0x984f14['onTransformSelections']=_0x13ddd0=>this[_0x4919ce(0x44d)]['transformSelections'](_0x13ddd0),_0x984f14['onSyncEditingCollabCursor']=_0x119c62=>this[_0x4919ce(0x47d)]['syncEditingCollabCursor'](_0x119c62),_0x984f14[_0x4919ce(0x184)]=_0x277a97=>this[_0x4919ce(0x166)]['transformRemoteChangeset'](_0x277a97),_0x984f14['onTransformRemoteChangesetByStateCache']=_0x93584f=>this[_0x4919ce(0x4b3)]['transformRemoteChangeset'](_0x93584f),_0x984f14;}async['_init'](){const _0x1c13c1=_0x494bb3,_0x17c466=await super['_init']();return this[_0x1c13c1(0x2de)][_0x1c13c1(0x41b)][_0x1c13c1(0x1d4)](_0x32bae4[_0x1c13c1(0x1d1)](this[_0x1c13c1(0x5af)]))[_0x1c13c1(0x38d)](_0x26444e=>{const _0x2fd417=_0x1c13c1;if(_0x26444e==null)return;const {unitId:_0x5b6c00,redoState:_0x327790,commandId:_0x385406}=_0x26444e;if(_0x5b6c00!==this[_0x2fd417(0x39f)])return;const _0x4f51c1={'id':_0x385406,'type':_0x5a20c3[_0x2fd417(0x308)][_0x2fd417(0x54e)],'params':{'unitId':_0x5b6c00,'actions':_0x327790['actions'],'textRanges':null}};this[_0x2fd417(0x578)](_0x4f51c1);}),_0x17c466;}},_0x38d423[_0x494bb3(0x5ff)]=_0xb1d179([_0x3b93ef(0x3,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x596)])),_0x3b93ef(0x4,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x1ca)])),_0x3b93ef(0x5,_0x5a20c3['Inject'](_0x4d11e3[_0x494bb3(0x407)])),_0x3b93ef(0x6,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x439)])),_0x3b93ef(0x7,_0x5a20c3[_0x494bb3(0x57c)](_0x4d11e3[_0x494bb3(0x3ae)])),_0x3b93ef(0x8,_0x5a20c3['Inject'](_0xe07534['DocStateChangeManagerService'])),_0x3b93ef(0x9,_0x5a20c3[_0x494bb3(0x57c)](_0x11a9c0)),_0x3b93ef(0xa,_0x5a20c3['Inject'](_0x455c32)),_0x3b93ef(0xb,_0x5a20c3[_0x494bb3(0x57c)](_0x2c3f2f)),_0x3b93ef(0xc,_0x5a20c3['Inject'](_0x171169)),_0x3b93ef(0xd,_0x5a20c3['ILogService']),_0x3b93ef(0xe,_0x5a20c3['ICommandService']),_0x3b93ef(0xf,_0x33d470[_0x494bb3(0x454)]),_0x3b93ef(0x10,_0x5a20c3[_0x494bb3(0x397)]),_0x3b93ef(0x11,_0x5a20c3[_0x494bb3(0x59d)](_0x104336))],_0x38d423[_0x494bb3(0x5ff)]),_0x38d423['SheetCollaborationEntity']=class extends _0x38d423[_0x494bb3(0x2b8)]{constructor(_0x3e1a0b,_0x3afe2e,_0x5b9576,_0x2fb3df,_0x175265,_0x3f1444,_0x554372,_0x3df93b,_0x21f95b,_0x35a72c,_0x2a422e,_0x5a3a20,_0x23fa5f,_0x9e74cc){const _0x38a301=_0x494bb3;super(_0x3e1a0b,_0x5b9576,_0x3afe2e,_0x2fb3df,_0x175265,_0x3f1444,_0x554372,_0x3df93b,_0x35a72c,_0x2a422e,_0x5a3a20,_0x23fa5f,_0x9e74cc),this['unitID']=_0x3e1a0b,this[_0x38a301(0x351)]=_0x3afe2e,this['_sheetTransformSelectionsService']=_0x21f95b;}[_0x494bb3(0x2c7)](){const _0x429c53=_0x494bb3,_0x2c1702=super[_0x429c53(0x2c7)]();return _0x2c1702[_0x429c53(0x2c2)]=_0x55c06a=>this[_0x429c53(0x3fb)]['transformSelections'](_0x55c06a),_0x2c1702;}async[_0x494bb3(0x298)](){const _0x23012a=_0x494bb3,_0x15c006=await super[_0x23012a(0x298)]();return this[_0x23012a(0x385)](this[_0x23012a(0x2e5)]['onCommandExecuted']((_0x4225cb,_0x1193b6)=>{const _0x242ea4=_0x23012a;if(_0x4225cb[_0x242ea4(0x351)]!==_0x5a20c3[_0x242ea4(0x308)][_0x242ea4(0x54e)]||_0x1193b6!=null&&_0x1193b6[_0x242ea4(0x274)]||_0x1193b6!=null&&_0x1193b6[_0x242ea4(0x31c)])return;const _0x571ebc=_0x4225cb['params'];if((_0x571ebc==null?void 0x0:_0x571ebc[_0x242ea4(0x3ef)])!==this[_0x242ea4(0x39f)])return;const _0xa5f499=_0x4225cb,_0x42b525=this[_0x242ea4(0x525)][_0x242ea4(0x2f8)]['fetchThroughInterceptors'](this[_0x242ea4(0x525)][_0x242ea4(0x2f8)][_0x242ea4(0x44a)]()['COMPRESS_MUTATION_SEND'])([_0xa5f499],null)||[_0xa5f499];this['_onLocalMutation'](_0x42b525[0x0]);})),_0x15c006;}},_0x38d423[_0x494bb3(0x5ac)]=_0xb1d179([_0x3b93ef(0x3,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3['Injector'])),_0x3b93ef(0x4,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x1ca)])),_0x3b93ef(0x5,_0x5a20c3[_0x494bb3(0x57c)](_0x4d11e3['CompressMutationService'])),_0x3b93ef(0x6,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x439)])),_0x3b93ef(0x7,_0x5a20c3[_0x494bb3(0x57c)](_0x4d11e3['RevisionService'])),_0x3b93ef(0x8,_0x5a20c3[_0x494bb3(0x57c)](_0x47f26b)),_0x3b93ef(0x9,_0x5a20c3[_0x494bb3(0x494)]),_0x3b93ef(0xa,_0x5a20c3[_0x494bb3(0x39a)]),_0x3b93ef(0xb,_0x33d470[_0x494bb3(0x454)]),_0x3b93ef(0xc,_0x5a20c3['IPermissionService']),_0x3b93ef(0xd,_0x5a20c3['Optional'](_0x104336))],_0x38d423['SheetCollaborationEntity']);var _0x263455=Object[_0x494bb3(0x5f8)],_0x13f9af=Object[_0x494bb3(0x51e)],_0x4e2b08=(_0x258f84,_0x3e8dc2,_0x565a16,_0x5de5ee)=>{const _0x2df5f4=_0x494bb3;for(var _0x4b46f3=_0x5de5ee>0x1?void 0x0:_0x5de5ee?_0x13f9af(_0x3e8dc2,_0x565a16):_0x3e8dc2,_0x3f8949=_0x258f84[_0x2df5f4(0x5aa)]-0x1,_0x39efdc;_0x3f8949>=0x0;_0x3f8949--)(_0x39efdc=_0x258f84[_0x3f8949])&&(_0x4b46f3=(_0x5de5ee?_0x39efdc(_0x3e8dc2,_0x565a16,_0x4b46f3):_0x39efdc(_0x4b46f3))||_0x4b46f3);return _0x5de5ee&&_0x4b46f3&&_0x263455(_0x3e8dc2,_0x565a16,_0x4b46f3),_0x4b46f3;},_0x30dda4=(_0xce1580,_0x4973fd)=>(_0xba7dbc,_0x48e372)=>_0x4973fd(_0xba7dbc,_0x48e372,_0xce1580);_0x38d423[_0x494bb3(0x39c)]=class extends _0x5a20c3['RxDisposable']{constructor(_0x101464,_0x1a234b,_0x4e78bd){const _0x26327a=_0x494bb3;super(),_0x3ed524(this,_0x26327a(0x4da),new Map()),_0x3ed524(this,_0x26327a(0x17a),new _0x32bae4[(_0x26327a(0x20b))]()),(this[_0x26327a(0x221)]=_0x101464,this['_collabSessionService']=_0x1a234b,this['_univerInstanceService']=_0x4e78bd,this['_init']());}[_0x494bb3(0x173)](){const _0x99c53a=_0x494bb3;super['dispose'](),this[_0x99c53a(0x4da)][_0x99c53a(0x5e8)](_0x4c985a=>_0x4c985a[_0x99c53a(0x173)]()),this[_0x99c53a(0x4da)][_0x99c53a(0x366)]();}[_0x494bb3(0x3ee)](_0x99beef){const _0x18b04b=_0x494bb3;var _0x4ee61c;return(_0x4ee61c=this[_0x18b04b(0x4da)][_0x18b04b(0x537)](_0x99beef))!=null?_0x4ee61c:null;}[_0x494bb3(0x602)](_0x5ab6a0){const _0x317f1e=_0x494bb3,_0xa36adf=this[_0x317f1e(0x3ee)](_0x5ab6a0);return _0xa36adf?_0x32bae4['of'](_0xa36adf):this[_0x317f1e(0x17a)][_0x317f1e(0x1d4)](_0x51e720['filter'](_0x2dfc0b=>_0x2dfc0b[_0x317f1e(0x39f)]===_0x5ab6a0));}[_0x494bb3(0x298)](){const _0x5f1e9c=_0x494bb3;this['_univerInstanceService'][_0x5f1e9c(0x465)](_0x5a20c3[_0x5f1e9c(0x4c5)]['UNIVER_SHEET'])[_0x5f1e9c(0x1d4)](_0x32bae4['takeUntil'](this['dispose$']),_0x51e720[_0x5f1e9c(0x3d4)](0x10))[_0x5f1e9c(0x38d)](async _0x2afad6=>{const _0x3b4362=_0x5f1e9c,_0x38c3c9=_0x2afad6[_0x3b4362(0x4dc)](),_0x53a6b9=await this[_0x3b4362(0x170)](_0x38c3c9,_0x9d8403[_0x3b4362(0x329)]);this['_entities'][_0x3b4362(0x33d)](_0x38c3c9,_0x53a6b9);}),this[_0x5f1e9c(0x4a7)][_0x5f1e9c(0x465)](_0x5a20c3[_0x5f1e9c(0x4c5)][_0x5f1e9c(0x512)])[_0x5f1e9c(0x1d4)](_0x32bae4[_0x5f1e9c(0x1d1)](this[_0x5f1e9c(0x5af)]),_0x51e720[_0x5f1e9c(0x3d4)](0x10))[_0x5f1e9c(0x1d4)](_0x51e720['filter'](_0x189082=>!_0x189082['getUnitId']()[_0x5f1e9c(0x2af)]('__')))[_0x5f1e9c(0x38d)](async _0x360252=>{const _0x3fe652=_0x5f1e9c,_0x9eb9fe=_0x360252[_0x3fe652(0x4dc)](),_0x31a00c=await this[_0x3fe652(0x170)](_0x9eb9fe,_0x9d8403[_0x3fe652(0x512)]);this['_entities']['set'](_0x9eb9fe,_0x31a00c);}),_0x32bae4[_0x5f1e9c(0x3fc)](this[_0x5f1e9c(0x4a7)]['getTypeOfUnitDisposed$'](_0x5a20c3[_0x5f1e9c(0x4c5)]['UNIVER_SHEET']),this[_0x5f1e9c(0x4a7)][_0x5f1e9c(0x5f4)](_0x5a20c3['UniverInstanceType'][_0x5f1e9c(0x512)]))[_0x5f1e9c(0x1d4)](_0x32bae4[_0x5f1e9c(0x1d1)](this[_0x5f1e9c(0x5af)]))[_0x5f1e9c(0x38d)](_0x1d95a4=>{const _0x439d5c=_0x5f1e9c,_0x13f3c0=_0x1d95a4['getUnitId'](),_0x547a4d=this[_0x439d5c(0x4da)][_0x439d5c(0x537)](_0x13f3c0);_0x547a4d&&(_0x547a4d['dispose'](),this['_entities'][_0x439d5c(0x43d)](_0x13f3c0));});}async['_startCollaboration'](_0x139aab,_0x220ac5){const _0x449164=_0x494bb3,_0x2a4dfd=await this[_0x449164(0x50c)][_0x449164(0x3b7)](_0x139aab),_0x19e013=this[_0x449164(0x221)]['createInstance'](this[_0x449164(0x4b5)](_0x220ac5),_0x139aab,_0x220ac5,_0x2a4dfd);return await _0x19e013[_0x449164(0x4bc)](),this['_entityInit$']['next'](_0x19e013),_0x19e013;}[_0x494bb3(0x4b5)](_0x485f83){const _0x431244=_0x494bb3;switch(_0x485f83){case _0x9d8403[_0x431244(0x512)]:return _0x38d423[_0x431244(0x5ff)];case _0x9d8403[_0x431244(0x329)]:return _0x38d423[_0x431244(0x5ac)];default:throw new Error(_0x431244(0x26c)+_0x485f83);}}},_0x38d423[_0x494bb3(0x39c)]=_0x4e2b08([_0x30dda4(0x0,_0x5a20c3['Inject'](_0x5a20c3[_0x494bb3(0x596)])),_0x30dda4(0x1,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x1a9)])),_0x30dda4(0x2,_0x5a20c3[_0x494bb3(0x17e)])],_0x38d423[_0x494bb3(0x39c)]);const _0x5b93e1=[_0x494bb3(0x48c),_0x494bb3(0x410),'verdancy600',_0x494bb3(0x20a),'blue400',_0x494bb3(0x3a1)];class _0x174ccb extends _0x5a20c3['Disposable']{constructor(){const _0x3d988f=_0x494bb3;super(...arguments),_0x3ed524(this,_0x3d988f(0x164),new Map()),_0x3ed524(this,_0x3d988f(0x42e),0x0);}['assignAColorForMemberID'](_0x26c4bf){const _0xa6b677=_0x494bb3;if(this[_0xa6b677(0x164)][_0xa6b677(0x4a3)](_0x26c4bf))return this[_0xa6b677(0x164)][_0xa6b677(0x537)](_0x26c4bf);const _0x532164=_0x5b93e1[this[_0xa6b677(0x42e)]];return this[_0xa6b677(0x42e)]=(this['_colorIndex']+0x1)%_0x5b93e1['length'],this[_0xa6b677(0x164)][_0xa6b677(0x33d)](_0x26c4bf,_0x532164),_0x532164;}}var _0xa8c3d7=Object[_0x494bb3(0x5f8)],_0x11e3e2=Object[_0x494bb3(0x51e)],_0x32886f=(_0x2e9cd8,_0x5f748e,_0x13da2a,_0x3ac686)=>{const _0x6961be=_0x494bb3;for(var _0x49f8b6=_0x3ac686>0x1?void 0x0:_0x3ac686?_0x11e3e2(_0x5f748e,_0x13da2a):_0x5f748e,_0x288252=_0x2e9cd8[_0x6961be(0x5aa)]-0x1,_0xadceb2;_0x288252>=0x0;_0x288252--)(_0xadceb2=_0x2e9cd8[_0x288252])&&(_0x49f8b6=(_0x3ac686?_0xadceb2(_0x5f748e,_0x13da2a,_0x49f8b6):_0xadceb2(_0x49f8b6))||_0x49f8b6);return _0x3ac686&&_0x49f8b6&&_0xa8c3d7(_0x5f748e,_0x13da2a,_0x49f8b6),_0x49f8b6;},_0x34802c=(_0x41022e,_0x142595)=>(_0x5583c9,_0x9f0c93)=>_0x142595(_0x5583c9,_0x9f0c93,_0x41022e);const _0x546fe7=0x12c,_0x21d903=0x64;let _0x2f4723=class extends _0x5a20c3[_0x494bb3(0x3ed)]{constructor(_0xa0043c,_0x428575,_0x4349eb,_0x3dd535,_0x13c88f,_0x18116e,_0x10ef5f,_0x45733e,_0x10e298){const _0x1299bb=_0x494bb3;super(),_0x3ed524(this,_0x1299bb(0x3e2),!0x1),_0x3ed524(this,_0x1299bb(0x298),!0x1),_0x3ed524(this,_0x1299bb(0x51f),new _0x32bae4[(_0x1299bb(0x55c))](new Map())),_0x3ed524(this,_0x1299bb(0x438),this[_0x1299bb(0x51f)][_0x1299bb(0x4fe)]()),_0x3ed524(this,_0x1299bb(0x48b),new _0x32bae4['BehaviorSubject']([])),_0x3ed524(this,'roomMembers$',this[_0x1299bb(0x48b)][_0x1299bb(0x1d4)](_0x32bae4[_0x1299bb(0x16e)](_0x546fe7))),_0x3ed524(this,_0x1299bb(0x33b),_0x5a20c3['debounce'](_0x131382=>{const _0x2d9070=_0x1299bb,_0x12cd02={'eventID':_0x4d11e3[_0x2d9070(0x213)][_0x2d9070(0x1ef)],'data':{'unitID':this[_0x2d9070(0x39f)],'memberID':this[_0x2d9070(0x1c3)][_0x2d9070(0x488)](),'selection':_0x5ce948(_0x131382)}};this[_0x2d9070(0x1c3)][_0x2d9070(0x424)](_0x12cd02,this[_0x2d9070(0x39f)]);},_0x21d903)),(this[_0x1299bb(0x39f)]=_0xa0043c,this[_0x1299bb(0x1c3)]=_0x428575,this[_0x1299bb(0x221)]=_0x4349eb,this['_colorAssignService']=_0x3dd535,this['_memberService']=_0x13c88f,this[_0x1299bb(0x2a6)]=_0x18116e,this[_0x1299bb(0x241)]=_0x10ef5f,this['_univerInstanceService']=_0x45733e,this[_0x1299bb(0x2e5)]=_0x10e298);}get['cursorInfo'](){const _0x4864d4=_0x494bb3;return this[_0x4864d4(0x51f)][_0x4864d4(0x532)]();}get[_0x494bb3(0x5db)](){const _0xb63fab=_0x494bb3;return this[_0xb63fab(0x48b)]['getValue']();}[_0x494bb3(0x173)](){const _0x39ae6b=_0x494bb3;super[_0x39ae6b(0x173)](),this[_0x39ae6b(0x51f)][_0x39ae6b(0x5dd)](new Map()),this['_cursorInfo$'][_0x39ae6b(0x548)](),this[_0x39ae6b(0x48b)][_0x39ae6b(0x5dd)]([]),this[_0x39ae6b(0x48b)][_0x39ae6b(0x548)]();}['init'](){const _0x35240e=_0x494bb3;this[_0x35240e(0x298)]||(this['_init']=!0x0,this[_0x35240e(0x1c3)][_0x35240e(0x398)][_0x35240e(0x1d4)](_0x32bae4[_0x35240e(0x1d1)](this['dispose$']))['subscribe'](_0x213460=>{const _0xa6e0dc=_0x35240e;_0x213460===_0x5f2a52[_0xa6e0dc(0x5c1)]?this['_toggleOnline']():this[_0xa6e0dc(0x27b)]();}),this[_0x35240e(0x1c3)][_0x35240e(0x5f6)][_0x35240e(0x1d4)](_0x32bae4[_0x35240e(0x1d1)](this[_0x35240e(0x5af)]))[_0x35240e(0x38d)](_0x9ccf51=>{const _0x53387b=_0x35240e,_0x5a98ac=_0x9ccf51[_0x53387b(0x383)];_0x5a98ac===_0x4d11e3[_0x53387b(0x213)]['UPDATE_CURSOR']&&this[_0x53387b(0x2ee)](_0x9ccf51),_0x5a98ac===_0x4d11e3[_0x53387b(0x213)][_0x53387b(0x37b)]&&this['_onCursorDelete'](_0x9ccf51);}),this['disposeWithMe'](this[_0x35240e(0x2e5)][_0x35240e(0x2b9)](_0x333c09=>{const _0x2cafc5=_0x35240e,_0x42d57c=_0x333c09[_0x2cafc5(0x542)];_0x42d57c!=null&&this[_0x2cafc5(0x3e2)]&&_0x333c09['id']===_0x458230['SetTextSelectionsOperation']['id']&&_0x42d57c[_0x2cafc5(0x3ef)]===this[_0x2cafc5(0x39f)]&&_0x42d57c[_0x2cafc5(0x46b)]===!0x1&&_0x42d57c[_0x2cafc5(0x1be)][_0x2cafc5(0x5aa)]>0x0&&this[_0x2cafc5(0x33b)](_0x42d57c[_0x2cafc5(0x1be)]);})),this[_0x35240e(0x2a6)]['collabCursorState$'][_0x35240e(0x1d4)](_0x32bae4[_0x35240e(0x1d1)](this[_0x35240e(0x5af)]))[_0x35240e(0x38d)](_0x30258f=>{const _0x4cc394=_0x35240e;if((_0x30258f==null?void 0x0:_0x30258f['unitID'])!==this[_0x4cc394(0x39f)])return;const _0x2a569a={'eventID':_0x4d11e3[_0x4cc394(0x213)][_0x4cc394(0x1ef)],'data':_0x30258f};this['_onCursorUpdate'](_0x2a569a);}),this[_0x35240e(0x385)](this[_0x35240e(0x2e5)][_0x35240e(0x2b9)](_0x37bb81=>{const _0x15c6fe=_0x35240e;if(_0x37bb81[_0x15c6fe(0x542)]==null)return;const _0x8ef7da=_0x37bb81[_0x15c6fe(0x542)];if(_0x37bb81['id']!==_0x458230[_0x15c6fe(0x368)]['id']||_0x8ef7da[_0x15c6fe(0x3ef)]!==this[_0x15c6fe(0x39f)])return;const _0x1d8c86={'id':_0x15c6fe(0x1b8),'params':_0x8ef7da},_0x393e14=this['cursorInfo'];for(const [_0x2224c8,_0x3d0391]of _0x393e14){const _0x531a58={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x15c6fe(0x39f)],'actions':null,'textRanges':_0x3d0391[_0x15c6fe(0x1be)]}},_0x1e030e=this[_0x15c6fe(0x241)][_0x15c6fe(0x5d4)](_0x1d8c86,_0x531a58,!0x1);if(_0x4d11e3[_0x15c6fe(0x40d)](_0x1e030e))throw _0x1e030e[_0x15c6fe(0x35a)];_0x393e14['set'](_0x2224c8,{..._0x3d0391,'ranges':_0x1e030e[_0x15c6fe(0x3fd)][_0x15c6fe(0x542)][_0x15c6fe(0x561)]});}queueMicrotask(()=>{const _0x347e2e=_0x15c6fe;this['_cursorInfo$'][_0x347e2e(0x5dd)](_0x393e14);});})));}[_0x494bb3(0x2ee)](_0x151e4b){const _0x4b49cf=_0x494bb3;var _0x48e29d,_0x175b68;const {memberID:_0x4386d4,selection:_0x118e1e}=_0x151e4b[_0x4b49cf(0x5a3)],_0x2cfce7=_0x4d6025(_0x118e1e),_0x2c23c8=(_0x175b68=(_0x48e29d=this['_memberService'][_0x4b49cf(0x600)](this['unitID'],_0x4386d4))==null?void 0x0:_0x48e29d[_0x4b49cf(0x190)])!=null?_0x175b68:_0x4b49cf(0x1e0),_0x564834={'color':this['_colorAssignService'][_0x4b49cf(0x2f6)](_0x4386d4),'name':_0x2c23c8,'ranges':_0x2cfce7},_0x400057=this[_0x4b49cf(0x4a8)];_0x400057[_0x4b49cf(0x33d)](_0x4386d4,_0x564834),this[_0x4b49cf(0x51f)][_0x4b49cf(0x5dd)](_0x400057);}['_onCursorDelete'](_0xe71e57){const _0x399137=_0x494bb3,{memberID:_0x3ef9e2}=_0xe71e57[_0x399137(0x5a3)],_0x3633a9=this[_0x399137(0x4a8)];_0x3633a9['delete'](_0x3ef9e2),this[_0x399137(0x51f)][_0x399137(0x5dd)](_0x3633a9);}['_toggleOnline'](){const _0x3bf164=_0x494bb3;var _0x51b756;if(this[_0x3bf164(0x3e2)]=!0x0,((_0x51b756=this[_0x3bf164(0x4a7)][_0x3bf164(0x189)]())==null?void 0x0:_0x51b756[_0x3bf164(0x4dc)]())!==this['unitID'])return;const _0x2a293f=this['_injector'][_0x3bf164(0x537)](_0x458230[_0x3bf164(0x36c)])[_0x3bf164(0x33e)]();Array[_0x3bf164(0x557)](_0x2a293f)&&_0x2a293f[_0x3bf164(0x5aa)]>0x0&&this[_0x3bf164(0x33b)](_0x2a293f);}[_0x494bb3(0x27b)](){this['_online']=!0x1;}};_0x2f4723=_0x32886f([_0x34802c(0x2,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x596)])),_0x34802c(0x3,_0x5a20c3['Inject'](_0x174ccb)),_0x34802c(0x4,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x30c)])),_0x34802c(0x5,_0x5a20c3[_0x494bb3(0x57c)](_0x171169)),_0x34802c(0x6,_0x4d11e3[_0x494bb3(0x49f)]),_0x34802c(0x7,_0x5a20c3[_0x494bb3(0x17e)]),_0x34802c(0x8,_0x5a20c3[_0x494bb3(0x39a)])],_0x2f4723);var _0x19ca88=Object[_0x494bb3(0x5f8)],_0x3df78d=Object[_0x494bb3(0x51e)],_0x1200bc=(_0x50e3b1,_0x8c3ad9,_0x3d6825,_0x333f33)=>{const _0x14edbb=_0x494bb3;for(var _0x51b973=_0x333f33>0x1?void 0x0:_0x333f33?_0x3df78d(_0x8c3ad9,_0x3d6825):_0x8c3ad9,_0x547303=_0x50e3b1[_0x14edbb(0x5aa)]-0x1,_0x343adf;_0x547303>=0x0;_0x547303--)(_0x343adf=_0x50e3b1[_0x547303])&&(_0x51b973=(_0x333f33?_0x343adf(_0x8c3ad9,_0x3d6825,_0x51b973):_0x343adf(_0x51b973))||_0x51b973);return _0x333f33&&_0x51b973&&_0x19ca88(_0x8c3ad9,_0x3d6825,_0x51b973),_0x51b973;},_0x206e9f=(_0x5aebbe,_0x19bd2f)=>(_0x46074b,_0x5bbed3)=>_0x19bd2f(_0x46074b,_0x5bbed3,_0x5aebbe);const _0x315233=0x12c,_0x4c5155=0x64,_0x197a7f=()=>{let _0x4a050a=[],_0xbfc3f6=!0x1;return _0x4ebca2=>{const _0x343b50=_0x50cf;_0x4a050a[_0x343b50(0x196)](_0x4ebca2),_0xbfc3f6||(_0xbfc3f6=!0x0,setTimeout(()=>{const _0x3cfef2=_0x343b50;_0x4a050a[_0x3cfef2(0x5e8)](_0x382faf=>_0x382faf()),_0x4a050a=[],_0xbfc3f6=!0x1;}));};};let _0x455da9=class extends _0x5a20c3[_0x494bb3(0x3ed)]{constructor(_0x4ec8f1,_0x2866cd,_0xbb2375,_0x259155,_0x2c8b0a,_0x1385a7,_0x52effc,_0x17ffe2){const _0x19d775=_0x494bb3;super(),_0x3ed524(this,_0x19d775(0x3e2),!0x1),_0x3ed524(this,'_init',!0x1),_0x3ed524(this,_0x19d775(0x51f),new _0x32bae4[(_0x19d775(0x55c))](new Map())),_0x3ed524(this,_0x19d775(0x438),this[_0x19d775(0x51f)][_0x19d775(0x4fe)]()),_0x3ed524(this,_0x19d775(0x48b),new _0x32bae4[(_0x19d775(0x55c))]([])),_0x3ed524(this,_0x19d775(0x4b4),this[_0x19d775(0x48b)][_0x19d775(0x1d4)](_0x32bae4[_0x19d775(0x16e)](_0x315233))),_0x3ed524(this,_0x19d775(0x33b),_0x5a20c3[_0x19d775(0x4fa)]((_0x470530,_0x24986d)=>{const _0x38c1b4=_0x19d775,_0x2098ce={'eventID':_0x4d11e3[_0x38c1b4(0x213)][_0x38c1b4(0x1ef)],'data':{'unitID':this[_0x38c1b4(0x39f)],'memberID':this[_0x38c1b4(0x1c3)]['getMemberID'](),'selection':_0x4faec2['serializeRangeWithSheet'](_0x470530,_0x24986d['range'])}};this[_0x38c1b4(0x1c3)]['send'](_0x2098ce,this[_0x38c1b4(0x39f)]);},_0x4c5155)),(this['unitID']=_0x4ec8f1,this[_0x19d775(0x1c3)]=_0x2866cd,this[_0x19d775(0x221)]=_0xbb2375,this['_colorAssignService']=_0x259155,this['_memberService']=_0x2c8b0a,this[_0x19d775(0x4a7)]=_0x1385a7,this['_commandService']=_0x52effc,this['_refRangeService']=_0x17ffe2);}get[_0x494bb3(0x4a8)](){const _0x550b4c=_0x494bb3;return this[_0x550b4c(0x51f)][_0x550b4c(0x532)]();}get[_0x494bb3(0x5db)](){const _0x154ecc=_0x494bb3;return this['_roomMembers$'][_0x154ecc(0x532)]();}[_0x494bb3(0x173)](){const _0x4484ab=_0x494bb3;super['dispose'](),this[_0x4484ab(0x51f)][_0x4484ab(0x5dd)](new Map()),this[_0x4484ab(0x51f)][_0x4484ab(0x548)](),this[_0x4484ab(0x48b)][_0x4484ab(0x5dd)]([]),this['_roomMembers$'][_0x4484ab(0x548)]();}[_0x494bb3(0x4bc)](){const _0x5e8503=_0x494bb3;this[_0x5e8503(0x298)]||(this[_0x5e8503(0x298)]=!0x0,this[_0x5e8503(0x1c3)]['sessionStatus$']['pipe'](_0x32bae4[_0x5e8503(0x1d1)](this[_0x5e8503(0x5af)]))[_0x5e8503(0x38d)](_0x12d0a7=>{const _0x22b51f=_0x5e8503;_0x12d0a7===_0x5f2a52[_0x22b51f(0x5c1)]?this[_0x22b51f(0x522)]():this[_0x22b51f(0x27b)]();}),this[_0x5e8503(0x1c3)][_0x5e8503(0x5f6)][_0x5e8503(0x1d4)](_0x32bae4['takeUntil'](this[_0x5e8503(0x5af)]))['subscribe'](_0x48330b=>{const _0xbeceb8=_0x5e8503,_0x48baa7=_0x48330b['eventID'];_0x48baa7===_0x4d11e3['CollaborationEvent'][_0xbeceb8(0x1ef)]&&this[_0xbeceb8(0x2ee)](_0x48330b),_0x48baa7===_0x4d11e3[_0xbeceb8(0x213)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x48330b);}),this[_0x5e8503(0x346)](),this[_0x5e8503(0x385)](this[_0x5e8503(0x2e5)][_0x5e8503(0x2b9)](_0xb4f5ab=>{const _0x25f17a=_0x5e8503;if(this[_0x25f17a(0x3e2)]&&_0xb4f5ab['id']===_0x66e3f4[_0x25f17a(0x1b9)]['id']&&_0xb4f5ab[_0x25f17a(0x542)]['unitId']===this['unitID']){const _0x7b72a5=_0xb4f5ab[_0x25f17a(0x542)];this['_updateLocalCursor'](_0x7b72a5['subUnitId'],_0x7b72a5[_0x25f17a(0x466)][0x0]);}})));}['_onCursorUpdate'](_0x26aee8){const _0x4047f1=_0x494bb3;var _0x150337,_0x2a55eb;const {memberID:_0x302cbe,selection:_0x4a08c8}=_0x26aee8['data'],{sheetName:_0x259bff,range:_0x2f61ac}=_0x4faec2[_0x4047f1(0x204)](_0x4a08c8),_0x5df96f={'name':(_0x2a55eb=(_0x150337=this[_0x4047f1(0x32d)][_0x4047f1(0x600)](this[_0x4047f1(0x39f)],_0x302cbe))==null?void 0x0:_0x150337[_0x4047f1(0x190)])!=null?_0x2a55eb:'Unknown\x20user','range':this['_getMergeRange'](_0x259bff,_0x2f61ac),'sheetID':_0x259bff,'color':this['_colorAssignService'][_0x4047f1(0x2f6)](_0x302cbe),'selection':_0x4a08c8},_0x2a0bee=this[_0x4047f1(0x4a8)];_0x2a0bee['set'](_0x302cbe,_0x5df96f),this[_0x4047f1(0x51f)]['next'](_0x2a0bee);}[_0x494bb3(0x534)](_0x683f5e){const _0x1b03f4=_0x494bb3,{memberID:_0x33848a}=_0x683f5e[_0x1b03f4(0x5a3)],_0x341be2=this[_0x1b03f4(0x4a8)];_0x341be2[_0x1b03f4(0x43d)](_0x33848a),this[_0x1b03f4(0x51f)][_0x1b03f4(0x5dd)](_0x341be2);}['_getMergeRange'](_0x47f00b,_0x7949e8){const _0x18948d=_0x494bb3;var _0x65c266,_0x14b1b6;const _0x325cd4=(_0x14b1b6=(_0x65c266=this[_0x18948d(0x4a7)]['getUniverSheetInstance'](this[_0x18948d(0x39f)]))==null?void 0x0:_0x65c266[_0x18948d(0x3ea)](_0x47f00b))==null?void 0x0:_0x14b1b6['getMergeData']();return(_0x325cd4==null?void 0x0:_0x325cd4[_0x18948d(0x4d4)](_0x26b15d=>_0x5a20c3['Rectangle']['contains'](_0x26b15d,_0x7949e8)))||_0x7949e8;}[_0x494bb3(0x346)](){const _0x507143=_0x494bb3,_0x187df1=new _0x5a20c3[(_0x507143(0x3f8))](),_0x3db10d=_0x197a7f(),_0x2cc50f=()=>{const _0x55cdc9=_0x507143;_0x187df1[_0x55cdc9(0x173)]();const _0x554365=(_0x5c3b44,_0x363b24,_0x446eeb,_0x58b295)=>{const _0x28e1db=_0x55cdc9;let _0x43d325=[];switch(_0x5c3b44['id']){case _0x66e3f4['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:{_0x43d325=_0x66e3f4[_0x28e1db(0x3a6)](_0x5c3b44,_0x58b295);break;}case _0x66e3f4['EffectRefRangId'][_0x28e1db(0x4f7)]:{_0x43d325=_0x66e3f4['handleDeleteRangeMoveUp'](_0x5c3b44,_0x58b295);break;}case _0x66e3f4[_0x28e1db(0x471)]['InsertColCommandId']:{_0x43d325=_0x66e3f4[_0x28e1db(0x18b)](_0x5c3b44,_0x58b295);break;}case _0x66e3f4[_0x28e1db(0x471)][_0x28e1db(0x5a5)]:{_0x43d325=_0x66e3f4[_0x28e1db(0x24e)](_0x5c3b44,_0x58b295);break;}case _0x66e3f4[_0x28e1db(0x471)]['InsertRangeMoveRightCommandId']:{_0x43d325=_0x66e3f4[_0x28e1db(0x43e)](_0x5c3b44,_0x58b295);break;}case _0x66e3f4[_0x28e1db(0x471)]['InsertRowCommandId']:{_0x43d325=_0x66e3f4[_0x28e1db(0x3dc)](_0x5c3b44,_0x58b295);break;}case _0x66e3f4[_0x28e1db(0x471)][_0x28e1db(0x4fc)]:{_0x43d325=_0x66e3f4['handleMoveRange'](_0x5c3b44,_0x58b295);break;}case _0x66e3f4[_0x28e1db(0x471)]['RemoveColCommandId']:{_0x43d325=_0x66e3f4[_0x28e1db(0x4ff)](_0x5c3b44,_0x58b295);break;}case _0x66e3f4[_0x28e1db(0x471)][_0x28e1db(0x223)]:{_0x43d325=_0x66e3f4[_0x28e1db(0x256)](_0x5c3b44,_0x58b295);break;}}const _0x4c1664=_0x66e3f4['runRefRangeMutations'](_0x43d325,_0x58b295),_0x30c909=this[_0x28e1db(0x4a8)][_0x28e1db(0x537)](_0x363b24);if(_0x30c909&&_0x4c1664){const _0xe54adf={..._0x30c909,'range':_0x4c1664};this['cursorInfo']['set'](_0x363b24,_0xe54adf),_0x3db10d(()=>{const _0x3321ab=_0x28e1db,_0x57a7bd=this['_refRangeService'][_0x3321ab(0x2e1)](_0x4c1664,_0x3ef79d=>(_0x57a7bd[_0x3321ab(0x173)](),_0x554365(_0x3ef79d,_0x363b24,_0x446eeb,_0x4c1664)));_0x187df1[_0x3321ab(0x492)](_0x57a7bd);});}return{'redos':[],'undos':[]};};this[_0x55cdc9(0x4a8)]['forEach']((_0x5d99ce,_0x21c62b)=>{const _0x40d707=_0x55cdc9,{range:_0x54f577,sheetID:_0x1d77a0}=_0x5d99ce,_0x2551bb=this[_0x40d707(0x5b8)][_0x40d707(0x2e1)](_0x54f577,_0x16350f=>(_0x2551bb[_0x40d707(0x173)](),_0x554365(_0x16350f,_0x21c62b,_0x1d77a0,_0x54f577)));_0x187df1[_0x40d707(0x492)](_0x2551bb);});};this['disposeWithMe'](_0x5a20c3['toDisposable'](this[_0x507143(0x51f)]['subscribe'](()=>{_0x2cc50f();})));}['_toggleOnline'](){const _0xf95ba4=_0x494bb3;var _0xa50414,_0x14030f;if(this[_0xf95ba4(0x3e2)]=!0x0,((_0xa50414=this[_0xf95ba4(0x4a7)][_0xf95ba4(0x189)]())==null?void 0x0:_0xa50414[_0xf95ba4(0x4dc)]())!==this[_0xf95ba4(0x39f)])return;const _0x307abb=(_0x14030f=this[_0xf95ba4(0x221)][_0xf95ba4(0x537)](_0x66e3f4[_0xf95ba4(0x3d6)])[_0xf95ba4(0x593)]())==null?void 0x0:_0x14030f[0x0],_0x56688b=this[_0xf95ba4(0x4a7)][_0xf95ba4(0x42f)](_0x5a20c3['UniverInstanceType'][_0xf95ba4(0x329)])['getActiveSheet']();_0x307abb&&_0x56688b&&this[_0xf95ba4(0x33b)](_0x56688b['getSheetId'](),_0x307abb);}['_toggleOffline'](){const _0x11dcb2=_0x494bb3;this[_0x11dcb2(0x3e2)]=!0x1;}};_0x455da9=_0x1200bc([_0x206e9f(0x2,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3['Injector'])),_0x206e9f(0x3,_0x5a20c3[_0x494bb3(0x57c)](_0x174ccb)),_0x206e9f(0x4,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x30c)])),_0x206e9f(0x5,_0x5a20c3[_0x494bb3(0x17e)]),_0x206e9f(0x6,_0x5a20c3[_0x494bb3(0x39a)]),_0x206e9f(0x7,_0x5a20c3['Inject'](_0x66e3f4[_0x494bb3(0x43c)]))],_0x455da9);var _0x28b6b9=Object[_0x494bb3(0x5f8)],_0x20485e=Object[_0x494bb3(0x51e)],_0x5526f0=(_0x2852ca,_0x123c7c,_0x492803,_0x2805d8)=>{for(var _0x3bdb1f=_0x2805d8>0x1?void 0x0:_0x2805d8?_0x20485e(_0x123c7c,_0x492803):_0x123c7c,_0x56a520=_0x2852ca['length']-0x1,_0x55ab01;_0x56a520>=0x0;_0x56a520--)(_0x55ab01=_0x2852ca[_0x56a520])&&(_0x3bdb1f=(_0x2805d8?_0x55ab01(_0x123c7c,_0x492803,_0x3bdb1f):_0x55ab01(_0x3bdb1f))||_0x3bdb1f);return _0x2805d8&&_0x3bdb1f&&_0x28b6b9(_0x123c7c,_0x492803,_0x3bdb1f),_0x3bdb1f;},_0x10e906=(_0xa91b68,_0x8d4b6f)=>(_0x4b737e,_0x3d5412)=>_0x8d4b6f(_0x4b737e,_0x3d5412,_0xa91b68);let _0x36312d=class extends _0x5a20c3[_0x494bb3(0x3ed)]{constructor(_0x473bde,_0xaf87e0,_0x62322b){const _0x1da12f=_0x494bb3;super(),_0x3ed524(this,_0x1da12f(0x4da),new Map()),_0x3ed524(this,_0x1da12f(0x17a),new _0x32bae4[(_0x1da12f(0x20b))]()),(this[_0x1da12f(0x4a7)]=_0x473bde,this[_0x1da12f(0x221)]=_0xaf87e0,this[_0x1da12f(0x50c)]=_0x62322b,this[_0x1da12f(0x298)]());}[_0x494bb3(0x173)](){const _0x44b7f3=_0x494bb3;super[_0x44b7f3(0x173)](),this[_0x44b7f3(0x17a)][_0x44b7f3(0x548)](),this[_0x44b7f3(0x4da)][_0x44b7f3(0x5e8)](_0x52dd90=>_0x52dd90[_0x44b7f3(0x173)]());}[_0x494bb3(0x1c0)](_0xf168c9){const _0x498dbc=_0x494bb3;return this[_0x498dbc(0x4da)][_0x498dbc(0x4a3)](_0xf168c9)?this[_0x498dbc(0x4da)][_0x498dbc(0x537)](_0xf168c9)['cursorInfo$']:this[_0x498dbc(0x17a)][_0x498dbc(0x1d4)](_0x32bae4[_0x498dbc(0x264)](_0xc2b799=>_0xc2b799[_0x498dbc(0x39f)]===_0xf168c9),_0x32bae4[_0x498dbc(0x3b2)](_0x211c39=>_0x211c39['cursorInfo$']));}[_0x494bb3(0x298)](){const _0x248a13=_0x494bb3;this[_0x248a13(0x4a7)][_0x248a13(0x465)](_0x5a20c3['UniverInstanceType'][_0x248a13(0x329)])[_0x248a13(0x1d4)](_0x32bae4[_0x248a13(0x1d1)](this[_0x248a13(0x5af)]))[_0x248a13(0x38d)](async _0x3707bf=>{const _0x30e728=_0x248a13,_0x2640d2=_0x3707bf['getUnitId'](),_0x8bb756=await this[_0x30e728(0x219)](_0x2640d2);this[_0x30e728(0x17a)][_0x30e728(0x5dd)](_0x8bb756),this['_entities']['set'](_0x2640d2,_0x8bb756);}),this[_0x248a13(0x4a7)][_0x248a13(0x465)](_0x5a20c3[_0x248a13(0x4c5)][_0x248a13(0x512)])['pipe'](_0x32bae4['takeUntil'](this[_0x248a13(0x5af)]))['pipe'](_0x32bae4[_0x248a13(0x264)](_0x1f654a=>!_0x1f654a['getUnitId']()['startsWith']('__')))[_0x248a13(0x38d)](async _0x53f67f=>{const _0x54a174=_0x248a13,_0x2ac87d=_0x53f67f[_0x54a174(0x4dc)](),_0x10005c=await this[_0x54a174(0x1b6)](_0x2ac87d);this[_0x54a174(0x17a)][_0x54a174(0x5dd)](_0x10005c),this[_0x54a174(0x4da)][_0x54a174(0x33d)](_0x2ac87d,_0x10005c);}),_0x32bae4[_0x248a13(0x3fc)](this['_univerInstanceService'][_0x248a13(0x5f4)](_0x5a20c3[_0x248a13(0x4c5)][_0x248a13(0x512)]),this[_0x248a13(0x4a7)][_0x248a13(0x5f4)](_0x5a20c3[_0x248a13(0x4c5)][_0x248a13(0x329)]))[_0x248a13(0x1d4)](_0x32bae4['takeUntil'](this[_0x248a13(0x5af)]))['subscribe'](_0x1865cb=>{const _0x167083=_0x248a13,_0x188ac6=_0x1865cb[_0x167083(0x4dc)](),_0x3e48e3=this[_0x167083(0x4da)][_0x167083(0x537)](_0x188ac6);_0x3e48e3&&(_0x3e48e3[_0x167083(0x173)](),this[_0x167083(0x4da)]['delete'](_0x188ac6));});}async[_0x494bb3(0x219)](_0x547f40){const _0x243024=_0x494bb3,_0x1d4ada=await this['_collabSessionService'][_0x243024(0x3b7)](_0x547f40),_0x4aeb3a=this[_0x243024(0x221)][_0x243024(0x566)](_0x455da9,_0x547f40,_0x1d4ada);return _0x4aeb3a[_0x243024(0x4bc)](),_0x4aeb3a;}async[_0x494bb3(0x1b6)](_0x39a550){const _0x129a6f=_0x494bb3,_0x40e587=await this[_0x129a6f(0x50c)][_0x129a6f(0x3b7)](_0x39a550),_0x450d35=this[_0x129a6f(0x221)]['createInstance'](_0x2f4723,_0x39a550,_0x40e587);return _0x450d35[_0x129a6f(0x4bc)](),_0x450d35;}};_0x36312d=_0x5526f0([_0x10e906(0x0,_0x5a20c3[_0x494bb3(0x17e)]),_0x10e906(0x1,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x596)])),_0x10e906(0x2,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x1a9)]))],_0x36312d);const _0x23f988=0x14,_0x579133=0xc8,_0x2afb29=0x4,_0x205b2b=0x5;function _0x3e2f50(_0x4859bb,_0x1bbf9a){const _0x21d4bd=_0x494bb3;let {radius:_0x481cd8,width:_0x1de9bb,height:_0x46ece0}=_0x1bbf9a;_0x481cd8=_0x481cd8!=null?_0x481cd8:0x0,_0x1de9bb=_0x1de9bb!=null?_0x1de9bb:0x1e,_0x46ece0=_0x46ece0!=null?_0x46ece0:0x1e;let _0x54e64f=0x0,_0x35338d=0x0,_0x42e0fe=0x0;_0x54e64f=_0x35338d=_0x42e0fe=Math[_0x21d4bd(0x22a)](_0x481cd8,_0x1de9bb/0x2,_0x46ece0/0x2),_0x4859bb['beginPath'](),_0x4859bb['moveTo'](_0x54e64f,0x0),_0x4859bb[_0x21d4bd(0x168)](_0x1de9bb-_0x35338d,0x0),_0x4859bb['arc'](_0x1de9bb-_0x35338d,_0x35338d,_0x35338d,Math['PI']*0x3/0x2,0x0,!0x1),_0x4859bb[_0x21d4bd(0x168)](_0x1de9bb,_0x46ece0-_0x42e0fe),_0x4859bb[_0x21d4bd(0x493)](_0x1de9bb-_0x42e0fe,_0x46ece0-_0x42e0fe,_0x42e0fe,0x0,Math['PI']/0x2,!0x1),_0x4859bb[_0x21d4bd(0x168)](0x0,_0x46ece0),_0x4859bb[_0x21d4bd(0x168)](0x0,_0x54e64f),_0x4859bb[_0x21d4bd(0x493)](_0x54e64f,_0x54e64f,_0x54e64f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4859bb[_0x21d4bd(0x5f9)](),_0x1bbf9a['fill']&&(_0x4859bb[_0x21d4bd(0x3c3)](),_0x4859bb['fillStyle']=_0x1bbf9a[_0x21d4bd(0x2a9)],_0x1bbf9a[_0x21d4bd(0x3e6)]===_0x21d4bd(0x432)?_0x4859bb[_0x21d4bd(0x2a9)](_0x21d4bd(0x432)):_0x4859bb[_0x21d4bd(0x2a9)](),_0x4859bb[_0x21d4bd(0x538)]());}class _0x117ccd extends _0x5c31a6['Shape']{constructor(_0x11b354,_0x41f137){const _0x39c8dd=_0x494bb3;super(_0x11b354,_0x41f137),_0x3ed524(this,_0x39c8dd(0x28e)),_0x3ed524(this,_0x39c8dd(0x506)),(this['color']=_0x41f137==null?void 0x0:_0x41f137[_0x39c8dd(0x28e)],this[_0x39c8dd(0x506)]=_0x41f137==null?void 0x0:_0x41f137[_0x39c8dd(0x506)]);}static[_0x494bb3(0x2cd)](_0x526be9,_0xad46dc){const _0x59d9c3=_0x494bb3,{text:_0x310886,color:_0x1e79ba}=_0xad46dc;_0x526be9['save'](),_0x526be9[_0x59d9c3(0x275)]=_0x59d9c3(0x377);const _0x365578=_0x526be9[_0x59d9c3(0x1bc)](_0x310886)[_0x59d9c3(0x263)],_0x56ded6=Math['min'](_0x365578+0x2*_0x2afb29,_0x579133);_0x3e2f50(_0x526be9,{'height':_0x23f988,'radius':0x4,'width':_0x56ded6,'fill':_0x1e79ba,'evented':!0x1}),_0x526be9[_0x59d9c3(0x33a)]=_0x59d9c3(0x266);const _0x5d9919=_0x2afb29,_0x7c947b=_0x23f988-_0x205b2b,_0x425238=_0x579133-0x2*_0x2afb29;if(_0x365578>_0x425238){let _0x5b405e='',_0x48b9cc=0x0;for(const _0x1ce76e of _0x310886){const _0x229c3b=_0x526be9['measureText'](_0x1ce76e)[_0x59d9c3(0x263)];if(_0x48b9cc+_0x229c3b<=_0x425238-_0x526be9[_0x59d9c3(0x1bc)](_0x59d9c3(0x31d))[_0x59d9c3(0x263)])_0x5b405e+=_0x1ce76e,_0x48b9cc+=_0x229c3b;else{_0x5b405e+=_0x59d9c3(0x31d);break;}}_0x526be9['fillText'](_0x5b405e,_0x5d9919,_0x7c947b);}else _0x526be9['fillText'](_0x310886,_0x5d9919,_0x7c947b);_0x526be9['restore']();}[_0x494bb3(0x267)](_0x51d73b){const _0x2bbf21=_0x494bb3;_0x117ccd[_0x2bbf21(0x2cd)](_0x51d73b,this);}}const _0xe693de=_0x494bb3(0x4ed),_0x1060fc=_0x494bb3(0x4ea),_0x159b8b=_0x494bb3(0x423),_0x232754=0x6,_0x232410=1.5,_0x44d664=0x4,_0x3ef0c6=1.5,_0x4ad54d='rgba(255,\x20255,\x20255,\x200.01)';class _0x59ef96{constructor(_0x263682,_0x38f3d8,_0x1e3d5d,_0x14a7d4){const _0x2ea7b1=_0x494bb3;_0x3ed524(this,_0x2ea7b1(0x4e1),[]),_0x3ed524(this,_0x2ea7b1(0x490),null),_0x3ed524(this,_0x2ea7b1(0x5f7),null),_0x3ed524(this,'_anchorDot',null),_0x3ed524(this,_0x2ea7b1(0x2ff),null),_0x3ed524(this,'_eventUnsubscribe',null),(this[_0x2ea7b1(0x425)]=_0x263682,this['_scene']=_0x38f3d8,this[_0x2ea7b1(0x504)]=_0x1e3d5d,this['_document']=_0x14a7d4,this[_0x2ea7b1(0x3cb)]());}set[_0x494bb3(0x5a1)](_0x3106ed){const _0x45c50f=_0x494bb3;_0x3106ed?(this[_0x45c50f(0x1f9)]&&this[_0x45c50f(0x1f9)]['hide'](),this[_0x45c50f(0x5f7)]&&this[_0x45c50f(0x5f7)][_0x45c50f(0x478)]()):(this[_0x45c50f(0x1f9)]&&this[_0x45c50f(0x1f9)][_0x45c50f(0x478)](),this[_0x45c50f(0x5f7)]&&this[_0x45c50f(0x5f7)][_0x45c50f(0x246)]());}[_0x494bb3(0x173)](){const _0x17977f=_0x494bb3;for(const _0x16009a of this[_0x17977f(0x4e1)])_0x16009a[_0x17977f(0x173)]();this[_0x17977f(0x5f7)]&&this[_0x17977f(0x5f7)][_0x17977f(0x173)](),this[_0x17977f(0x1f9)]&&this[_0x17977f(0x1f9)][_0x17977f(0x173)](),this['_anchor']&&this[_0x17977f(0x490)][_0x17977f(0x173)](),this[_0x17977f(0x2ce)]&&this[_0x17977f(0x2ce)]();}[_0x494bb3(0x3cb)](){const _0x4e2d47=_0x494bb3;var _0x40e54e;const {_docSkeleton:_0x453497,_document:_0x2bc507}=this,{color:_0x304f25,name:_0x4942f6,ranges:_0x3b5f26}=this[_0x4e2d47(0x425)],_0x476244=_0x2bc507['getOffsetConfig'](),{docsLeft:_0x444784,docsTop:_0x1934f3}=_0x476244,_0x303a01=new _0xe07534[(_0x4e2d47(0x3d5))](_0x476244,_0x453497);for(const {startOffset:_0x3b31cb,endOffset:_0x25367b,rangeType:_0x39e4fe,segmentId:_0xea4de7,segmentPage:_0x300628,collapsed:_0x24f4d6,isActive:_0x354a82}of _0x3b5f26){const _0x429093=_0x453497['findNodePositionByCharIndex'](_0x3b31cb,!0x0,_0xea4de7,_0x300628);let _0x36dd5f=_0x453497[_0x4e2d47(0x39b)](_0x25367b,!0x0,_0xea4de7,_0x300628);if(_0x36dd5f==null&&(_0x36dd5f=_0x453497['findNodePositionByCharIndex'](_0x25367b-0x1,!0x1,_0xea4de7,_0x300628)),_0x354a82){const {contentBoxPointGroup:_0x42a7ed}=_0x303a01[_0x4e2d47(0x1f5)](_0x36dd5f,_0x36dd5f);if(_0x42a7ed[_0x4e2d47(0x5aa)]===0x0)continue;this[_0x4e2d47(0x1f2)](_0x304f25,_0x42a7ed,_0x444784,_0x1934f3,_0x4942f6),this[_0x4e2d47(0x2ce)]=this[_0x4e2d47(0x4b2)]();}if(!_0x24f4d6&&_0x429093&&_0x36dd5f){if(_0x39e4fe===_0x5a20c3[_0x4e2d47(0x244)][_0x4e2d47(0x1d5)]){const _0xca3916=new _0xe07534[(_0x4e2d47(0x43a))](_0x476244,_0x453497),{pointGroup:_0x3f27dd}=(_0x40e54e=_0xca3916[_0x4e2d47(0x1f5)](_0x429093,_0x36dd5f))!=null?_0x40e54e:{};if(_0x3f27dd==null||_0x3f27dd[_0x4e2d47(0x5aa)]===0x0)continue;this['_drawRectRange'](_0x304f25,_0x3f27dd,_0x444784,_0x1934f3);}else{const {borderBoxPointGroup:_0x2aa694}=_0x303a01[_0x4e2d47(0x1f5)](_0x429093,_0x36dd5f);if(_0x2aa694[_0x4e2d47(0x5aa)]===0x0)continue;this[_0x4e2d47(0x278)](_0x304f25,_0x2aa694,_0x444784,_0x1934f3);}}}}[_0x494bb3(0x1f2)](_0x2e0de7,_0x39e3ac,_0x512728,_0x4762ef,_0x9a94bc){const _0xbc251c=_0x494bb3,_0x7c5106=this[_0xbc251c(0x352)](_0x39e3ac),{left:_0x214de5,top:_0x1f609d,height:_0x3820a1}=_0x7c5106,_0x592be4=this[_0xbc251c(0x248)](),_0x3839e0=_0x3ef0c6/_0x592be4,_0x59fb50=new _0x5c31a6[(_0xbc251c(0x56a))](_0xe693de+_0x5a20c3[_0xbc251c(0x5ad)][_0xbc251c(0x310)](_0x232754),{'left':_0x214de5+_0x512728-_0x3839e0,'top':_0x1f609d+_0x4762ef,'height':_0x3820a1,'width':_0x232410,'fill':_0x2e0de7||_0x5c31a6[_0xbc251c(0x4be)](_0x5a20c3[_0xbc251c(0x1cf)][_0xbc251c(0x199)],0x0),'strokeWidth':_0x3839e0,'stroke':_0x4ad54d,'evented':!0x0});this[_0xbc251c(0x490)]=_0x59fb50,this[_0xbc251c(0x5c3)]['addObject'](_0x59fb50,_0xe07534[_0xbc251c(0x551)]);const _0x1b8ab3=new _0x5c31a6['Rect'](_0xe693de+_0x5a20c3[_0xbc251c(0x5ad)][_0xbc251c(0x310)](_0x232754),{'left':_0x214de5+_0x512728-_0x3839e0,'top':_0x1f609d+_0x4762ef-_0x44d664/0x2,'height':_0x44d664,'width':_0x44d664,'fill':_0x2e0de7||_0x5c31a6[_0xbc251c(0x4be)](_0x5a20c3['COLORS'][_0xbc251c(0x199)],0x0),'strokeWidth':0x0,'stroke':_0x2e0de7||_0x5c31a6[_0xbc251c(0x4be)](_0x5a20c3[_0xbc251c(0x1cf)]['black'],0x0),'evented':!0x1});this[_0xbc251c(0x1f9)]=_0x1b8ab3,this['_scene']['addObject'](_0x1b8ab3,_0xe07534['TEXT_RANGE_LAYER_INDEX']);const _0x50b3a5=new _0x117ccd(_0xe693de+_0x5a20c3[_0xbc251c(0x5ad)]['generateRandomId'](_0x232754),{'left':_0x214de5+_0x512728-_0x3839e0,'top':_0x1f609d+_0x4762ef-_0x23f988,'text':_0x9a94bc,'color':_0x2e0de7});this[_0xbc251c(0x5f7)]=_0x50b3a5,this[_0xbc251c(0x5c3)][_0xbc251c(0x3b6)](_0x50b3a5,_0xe07534['TEXT_RANGE_LAYER_INDEX']),this[_0xbc251c(0x5a1)]=!0x1;}[_0x494bb3(0x4b2)](){const _0x311c46=_0x494bb3,_0x1eeae6=this[_0x311c46(0x490)][_0x311c46(0x32e)][_0x311c46(0x332)](()=>{const _0x1f99e2=_0x311c46;this[_0x1f99e2(0x5a1)]=!0x0;}),_0x6d43ed=this['_anchor']['onPointerLeave$']['subscribeEvent'](()=>{const _0x3c9938=_0x311c46;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x3c9938(0x2ff)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x3f0910=_0x311c46;_0x1eeae6[_0x3f0910(0x365)](),_0x6d43ed[_0x3f0910(0x365)]();};}['_drawTextRange'](_0x23f109,_0x53c450,_0xa6af03,_0x45b7fc){const _0x911b1d=_0x494bb3,_0x5f5af4=new _0x5a20c3[(_0x911b1d(0x30d))](_0x23f109)[_0x911b1d(0x59e)](0.2)['toRgbString'](),_0xd5092c=new _0x5c31a6[(_0x911b1d(0x50f))](_0x1060fc+_0x5a20c3['Tools'][_0x911b1d(0x310)](_0x232754),{'pointsGroup':_0x53c450,'fill':_0x5f5af4||_0x5c31a6[_0x911b1d(0x4be)](_0x5a20c3[_0x911b1d(0x1cf)][_0x911b1d(0x199)],0.2),'left':_0xa6af03,'top':_0x45b7fc,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x911b1d(0x4e1)][_0x911b1d(0x196)](_0xd5092c),this[_0x911b1d(0x5c3)]['addObject'](_0xd5092c,_0xe07534[_0x911b1d(0x551)]);}[_0x494bb3(0x1a5)](_0x5a6b6a,_0x2ad024,_0x20fe26,_0x17d43a){const _0x5c3e4f=_0x494bb3,_0x27f901=new _0x5a20c3[(_0x5c3e4f(0x30d))](_0x5a6b6a)[_0x5c3e4f(0x59e)](0.2)['toRgbString'](),_0x486f62=new _0x5c31a6[(_0x5c3e4f(0x50f))](_0x159b8b+_0x5a20c3['Tools']['generateRandomId'](_0x232754),{'pointsGroup':_0x2ad024,'fill':_0x27f901||_0x5c31a6['getColor'](_0x5a20c3[_0x5c3e4f(0x1cf)][_0x5c3e4f(0x199)],0.2),'left':_0x20fe26,'top':_0x17d43a,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x5c3e4f(0x196)](_0x486f62),this['_scene'][_0x5c3e4f(0x3b6)](_0x486f62,_0xe07534[_0x5c3e4f(0x551)]);}[_0x494bb3(0x352)](_0x2ae14f){const _0x3566ca=_0x2ae14f[0x0],_0x416178=_0x3566ca[0x0],_0x104bdc=_0x3566ca[0x2],{x:_0x3a0282,y:_0x4771a5}=_0x416178,{x:_0x5ee9d3,y:_0x464c91}=_0x104bdc;return{'left':_0x3a0282,'top':_0x4771a5,'width':_0x5ee9d3-_0x3a0282,'height':_0x464c91-_0x4771a5};}[_0x494bb3(0x248)](){const _0x430dcd=_0x494bb3,{scaleX:_0x54ebfa,scaleY:_0x46a3d7}=this['_scene']['getAncestorScale']();return Math[_0x430dcd(0x547)](_0x54ebfa,_0x46a3d7);}}var _0x2c88b1=Object[_0x494bb3(0x5f8)],_0x245057=Object[_0x494bb3(0x51e)],_0x26d27a=(_0x5a8fa1,_0xa0de22,_0x73e6d7,_0x492fd6)=>{const _0x1facfa=_0x494bb3;for(var _0x41a590=_0x492fd6>0x1?void 0x0:_0x492fd6?_0x245057(_0xa0de22,_0x73e6d7):_0xa0de22,_0x51eccd=_0x5a8fa1[_0x1facfa(0x5aa)]-0x1,_0x1bd0fa;_0x51eccd>=0x0;_0x51eccd--)(_0x1bd0fa=_0x5a8fa1[_0x51eccd])&&(_0x41a590=(_0x492fd6?_0x1bd0fa(_0xa0de22,_0x73e6d7,_0x41a590):_0x1bd0fa(_0x41a590))||_0x41a590);return _0x492fd6&&_0x41a590&&_0x2c88b1(_0xa0de22,_0x73e6d7,_0x41a590),_0x41a590;},_0x1f0166=(_0x5339f5,_0x33ee92)=>(_0x4eec6e,_0x201937)=>_0x33ee92(_0x4eec6e,_0x201937,_0x5339f5);let _0x33ad6d=class extends _0x5a20c3[_0x494bb3(0x3ed)]{constructor(_0xd0aedd,_0x542501,_0xfb126e,_0x1f70ef,_0x1f3864){const _0x4e0a3a=_0x494bb3;super(),_0x3ed524(this,_0x4e0a3a(0x540),[]),_0x3ed524(this,'_cursors',[]),(this['_context']=_0xd0aedd,this[_0x4e0a3a(0x570)]=_0x542501,this[_0x4e0a3a(0x2d7)]=_0xfb126e,this[_0x4e0a3a(0x2e5)]=_0x1f70ef,this[_0x4e0a3a(0x45d)]=_0x1f3864,this['_init']());}[_0x494bb3(0x298)](){const _0xc13ae5=_0x494bb3,_0x465315=this[_0xc13ae5(0x43b)][_0xc13ae5(0x3ef)],_0x5b1006=this['_docSkeletonManagerService'];this[_0xc13ae5(0x385)](_0x32bae4[_0xc13ae5(0x5eb)]([this['_collabCursorController'][_0xc13ae5(0x1c0)](_0x465315),this['_themeService'][_0xc13ae5(0x192)]])[_0xc13ae5(0x1d4)](_0x51e720[_0xc13ae5(0x48f)](([_0x5ebb60,_0x1152fb])=>({'skeleton':_0x5b1006[_0xc13ae5(0x229)](),'cursors':[..._0x5ebb60[_0xc13ae5(0x4f0)]()][_0xc13ae5(0x4b1)](_0x14c741=>({..._0x14c741,'color':_0x1152fb[_0x14c741[_0xc13ae5(0x28e)]]}))})))[_0xc13ae5(0x38d)](_0x589d54=>{const _0x5ad712=_0xc13ae5;if(this['_removeCollabCursors'](),_0x589d54){const {skeleton:_0x1e8644,cursors:_0x2cd42d}=_0x589d54;this[_0x5ad712(0x462)](_0x1e8644,_0x2cd42d);}})),this['_initResize'](),this[_0xc13ae5(0x3b8)]();}['_updateCollabCursors'](_0x1a4a74,_0x3e05f4){const _0x7e3a7b=_0x494bb3,{scene:_0x21e3b7,mainComponent:_0x5da4d6}=this[_0x7e3a7b(0x43b)],_0x52be05=_0x3e05f4['map'](_0x14f841=>new _0x59ef96(_0x14f841,_0x21e3b7,_0x1a4a74,_0x5da4d6));this['_cursorShapes']=_0x52be05,this['_cursors']=_0x3e05f4;}[_0x494bb3(0x2b0)](){const _0x5c030=_0x494bb3;this['_removeCollabCursors']();const {scene:_0x4a4c37,mainComponent:_0x31da83}=this[_0x5c030(0x43b)],_0x2d0442=this['_docSkeletonManagerService']['getSkeleton'](),_0x39b8e8=this[_0x5c030(0x1a7)][_0x5c030(0x48f)](_0x3d7e3e=>new _0x59ef96(_0x3d7e3e,_0x4a4c37,_0x2d0442,_0x31da83));this[_0x5c030(0x540)]=_0x39b8e8;}[_0x494bb3(0x479)](){const _0x59fdaa=_0x494bb3;this[_0x59fdaa(0x540)]['forEach'](_0x5cbb1d=>_0x5cbb1d['dispose']()),this['_cursorShapes']=[];}[_0x494bb3(0x3b8)](){const _0x474536=_0x494bb3,_0x4b2ce2=[_0xe07534[_0x474536(0x19b)]['id']];this['disposeWithMe'](this[_0x474536(0x2e5)][_0x474536(0x2b9)](_0x4bd9c0=>{const _0x536b1f=_0x474536;_0x4b2ce2[_0x536b1f(0x1ae)](_0x4bd9c0['id'])&&_0x4bd9c0[_0x536b1f(0x542)][_0x536b1f(0x3ef)]===this[_0x536b1f(0x43b)][_0x536b1f(0x3ef)]&&this[_0x536b1f(0x2b0)]();}));}[_0x494bb3(0x4c4)](){const _0x5b7fc0=_0x494bb3;this[_0x5b7fc0(0x385)](_0x5a20c3[_0x5b7fc0(0x4db)](this[_0x5b7fc0(0x43b)][_0x5b7fc0(0x2fa)][_0x5b7fc0(0x174)])[_0x5b7fc0(0x1d4)](_0x51e720['filter'](_0x4c003e=>_0x4c003e[_0x5b7fc0(0x351)]===_0x5c31a6[_0x5b7fc0(0x5df)]['resize']),_0x51e720[_0x5b7fc0(0x5a6)](0x10))[_0x5b7fc0(0x38d)](()=>{this['_refreshCollabCursors']();}));}};_0x33ad6d=_0x26d27a([_0x1f0166(0x1,_0x5a20c3[_0x494bb3(0x57c)](_0x458230[_0x494bb3(0x4cf)])),_0x1f0166(0x2,_0x5a20c3[_0x494bb3(0x57c)](_0x36312d)),_0x1f0166(0x3,_0x5a20c3[_0x494bb3(0x39a)]),_0x1f0166(0x4,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x36b)]))],_0x33ad6d);const _0x4b7218=0x1,_0x489427=1.5;class _0x289d4b extends _0x5c31a6[_0x494bb3(0x3cd)]{constructor(_0x4dbb38,_0x192823){const _0x4a48bc=_0x494bb3;super(_0x4dbb38,_0x192823),_0x3ed524(this,_0x4a48bc(0x576)),_0x3ed524(this,_0x4a48bc(0x508),!0x1),_0x3ed524(this,_0x4a48bc(0x453)),_0x3ed524(this,'_name',''),_0x3ed524(this,'_labelPosition',_0x4a48bc(0x5e6)),_0x3ed524(this,_0x4a48bc(0x431)),(_0x192823&&this['setShapeProps'](_0x192823),this[_0x4a48bc(0x32e)][_0x4a48bc(0x332)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x4a48bc(0x332)](()=>this[_0x4a48bc(0x158)]({'hovered':!0x1})));}[_0x494bb3(0x158)](_0x1f0f82){const _0x262b1f=_0x494bb3;var _0x121f54,_0x277254,_0x7a085b,_0x4b00db,_0x5b2802,_0x8b05d0;this[_0x262b1f(0x576)]=(_0x121f54=_0x1f0f82['color'])!=null?_0x121f54:this[_0x262b1f(0x576)],this['_hovered']=(_0x277254=_0x1f0f82[_0x262b1f(0x461)])!=null?_0x277254:this[_0x262b1f(0x508)],this[_0x262b1f(0x453)]=(_0x7a085b=_0x1f0f82[_0x262b1f(0x4a5)])!=null?_0x7a085b:this[_0x262b1f(0x453)],this['_name']=(_0x4b00db=_0x1f0f82[_0x262b1f(0x190)])!=null?_0x4b00db:this[_0x262b1f(0x474)],this[_0x262b1f(0x511)]=(_0x5b2802=_0x1f0f82[_0x262b1f(0x1e7)])!=null?_0x5b2802:this['_labelPosition'],this['_backgroundColor']=(_0x8b05d0=_0x1f0f82['backgroundColor'])!=null?_0x8b05d0:this['_backgroundColor'],this[_0x262b1f(0x303)]({'width':_0x1f0f82[_0x262b1f(0x263)],'height':_0x1f0f82[_0x262b1f(0x5ec)]});}[_0x494bb3(0x584)](_0xa2d8c5){const _0x144bb4=_0x494bb3,{row:_0x36ac43,column:_0x25bdf3}=_0xa2d8c5;if(_0x36ac43>=this[_0x144bb4(0x453)][_0x144bb4(0x1b4)]&&_0x36ac43<=this[_0x144bb4(0x453)][_0x144bb4(0x18a)]&&_0x25bdf3>=this[_0x144bb4(0x453)][_0x144bb4(0x1fd)]&&_0x25bdf3<=this[_0x144bb4(0x453)]['endColumn']){this[_0x144bb4(0x158)]({'hovered':!0x0});return;}this[_0x144bb4(0x158)]({'hovered':!0x1});}['triggerDblclick'](_0x28b3c4){return!0x1;}[_0x494bb3(0x267)](_0x3a9dbf){const _0x519692=_0x494bb3;_0x5c31a6[_0x519692(0x56a)]['drawWith'](_0x3a9dbf,{'width':this['width'],'height':this[_0x519692(0x5ec)],'strokeWidth':_0x489427,'stroke':this[_0x519692(0x576)],'evented':!0x1,'fill':this[_0x519692(0x431)]}),this['_hovered']&&(_0x3a9dbf['save'](),_0x3a9dbf[_0x519692(0x408)](0x1,0x0,0x0,0x1,this[_0x519692(0x263)],this['_labelPosition']===_0x519692(0x38a)?0x0:-_0x23f988),_0x117ccd[_0x519692(0x2cd)](_0x3a9dbf,{'text':this[_0x519692(0x474)],'color':this[_0x519692(0x576)]}),_0x3a9dbf[_0x519692(0x538)]());}}var _0x2f3d78=Object[_0x494bb3(0x5f8)],_0x45d5ff=Object['getOwnPropertyDescriptor'],_0x4d13f=(_0x33c73a,_0xe749e7,_0x2582ac,_0x230140)=>{const _0x2a6e01=_0x494bb3;for(var _0x15a471=_0x230140>0x1?void 0x0:_0x230140?_0x45d5ff(_0xe749e7,_0x2582ac):_0xe749e7,_0x17ba56=_0x33c73a[_0x2a6e01(0x5aa)]-0x1,_0x15bfbb;_0x17ba56>=0x0;_0x17ba56--)(_0x15bfbb=_0x33c73a[_0x17ba56])&&(_0x15a471=(_0x230140?_0x15bfbb(_0xe749e7,_0x2582ac,_0x15a471):_0x15bfbb(_0x15a471))||_0x15a471);return _0x230140&&_0x15a471&&_0x2f3d78(_0xe749e7,_0x2582ac,_0x15a471),_0x15a471;},_0xc2358a=(_0x288104,_0x1033e6)=>(_0x44ada8,_0x4183f9)=>_0x1033e6(_0x44ada8,_0x4183f9,_0x288104);const _0x317bd8=0x1389;let _0x4777ba=class extends _0x5a20c3[_0x494bb3(0x3ed)]{constructor(_0x2a2c7f,_0x2343cd,_0x3752fd,_0xa6472d){const _0x27abb7=_0x494bb3;super(),_0x3ed524(this,_0x27abb7(0x1a7),new Set()),_0x3ed524(this,_0x27abb7(0x3a2),null),(this[_0x27abb7(0x43b)]=_0x2a2c7f,this[_0x27abb7(0x36a)]=_0x2343cd,this[_0x27abb7(0x2d7)]=_0x3752fd,this['_themeService']=_0xa6472d,this[_0x27abb7(0x298)]());}[_0x494bb3(0x298)](){const _0x1c2de8=_0x494bb3;this['_sheetSkeletonManagerService'][_0x1c2de8(0x273)]['pipe'](_0x51e720[_0x1c2de8(0x1d1)](this['dispose$']),_0x51e720[_0x1c2de8(0x3b2)](_0x153a3e=>{const _0x715960=_0x1c2de8;if(_0x153a3e){const _0x4808c7=_0x153a3e[_0x715960(0x559)];return _0x32bae4['combineLatest'](this[_0x715960(0x2d7)][_0x715960(0x1c0)](this[_0x715960(0x43b)][_0x715960(0x3ef)]),this['_themeService'][_0x715960(0x192)])[_0x715960(0x1d4)](_0x51e720[_0x715960(0x48f)](([_0x2547d9,_0xfeee7d])=>{const _0xffa28e=_0x715960,_0x24b617=new Map();return _0x2547d9[_0xffa28e(0x5e8)]((_0x378e2b,_0x4c7446)=>{const _0x2b2be8=_0xffa28e;if(_0x378e2b[_0x2b2be8(0x495)]===_0x4808c7){const _0x5a89e2={..._0x378e2b};_0x5a89e2[_0x2b2be8(0x28e)]=_0xfeee7d[_0x378e2b[_0x2b2be8(0x28e)]],_0x24b617['set'](_0x4c7446,_0x5a89e2);}}),{'skeleton':_0x153a3e,'cursors':_0x24b617};}));}return _0x32bae4['of']({'skeleton':null,'cursors':new Map()});}))[_0x1c2de8(0x38d)](({skeleton:_0x296846,cursors:_0x36c290})=>{const _0x10ea16=_0x1c2de8;this[_0x10ea16(0x479)](),_0x296846&&this[_0x10ea16(0x462)](_0x296846,_0x36c290);}),this[_0x1c2de8(0x36a)][_0x1c2de8(0x273)][_0x1c2de8(0x38d)](_0xdc2f53=>{const _0x560d00=_0x1c2de8;if(_0xdc2f53==null)return;const {skeleton:_0xef2924}=_0xdc2f53,{scene:_0x11c857}=this[_0x560d00(0x43b)];_0x11c857[_0x560d00(0x22c)][_0x560d00(0x332)](_0x5a20c3[_0x560d00(0x4fa)](_0x50bd46=>{const _0x5b1ed0=_0x560d00;var _0x2cf167,_0x7cc44b;const {offsetX:_0xe6229e,offsetY:_0x2964e4}=_0x50bd46,{x:_0x2d568e,y:_0x268ea4}=_0x11c857[_0x5b1ed0(0x235)](_0x5c31a6['Vector2']['FromArray']([_0xe6229e,_0x2964e4])),{scaleX:_0x111778,scaleY:_0x4a8d93}=_0x11c857[_0x5b1ed0(0x31b)](),_0x1bda75=_0x11c857[_0x5b1ed0(0x29b)](_0x194a78[_0x5b1ed0(0x533)][_0x5b1ed0(0x499)]),_0x16542b=_0x11c857['getVpScrollXYInfoByPosToVp'](_0x5c31a6[_0x5b1ed0(0x577)][_0x5b1ed0(0x5c5)]([_0x2d568e,_0x268ea4]),_0x1bda75),_0x143cf5=_0xef2924['getCellPositionByOffset'](_0xe6229e,_0x2964e4,_0x111778,_0x4a8d93,_0x16542b);((_0x2cf167=this[_0x5b1ed0(0x3a2)])==null?void 0x0:_0x2cf167['column'])===_0x143cf5[_0x5b1ed0(0x3a8)]&&((_0x7cc44b=this['_lastPointer'])==null?void 0x0:_0x7cc44b[_0x5b1ed0(0x300)])===_0x143cf5[_0x5b1ed0(0x300)]||this[_0x5b1ed0(0x1a7)][_0x5b1ed0(0x5e8)](_0xc71a4c=>{_0xc71a4c['onMouseMove'](_0x143cf5);});},0x64));});}[_0x494bb3(0x462)](_0x2b5241,_0x5a2f7d){const _0x2bb0b1=_0x494bb3;var _0x1c487d;const _0x577ad5=(_0x1c487d=this[_0x2bb0b1(0x36a)][_0x2bb0b1(0x4b8)]())==null?void 0x0:_0x1c487d[_0x2bb0b1(0x475)];if(!_0x577ad5)return;const _0x82aad5=this[_0x2bb0b1(0x463)]();if(!_0x82aad5)return;this[_0x2bb0b1(0x1a7)][_0x2bb0b1(0x5e8)](_0x4692d2=>{const _0x10b70b=_0x2bb0b1;_0x4692d2[_0x10b70b(0x350)]();});const {scene:_0x4a8e63}=_0x82aad5,_0x496637=_0x66426c(Array['from'](_0x5a2f7d[_0x2bb0b1(0x4f0)]()))[_0x2bb0b1(0x48f)](_0x386352=>{const _0x5a6e0b=_0x2bb0b1,{color:_0x32dd17,range:_0x10ebbc,name:_0x436df8,selection:_0xdfde18,sheetID:_0x3b9d6e}=_0x386352,{startColumn:_0x7924f4,startRow:_0x5b6077,endColumn:_0x6d5a0,endRow:_0xc9e480}=_0x10ebbc,_0xbbc7b=_0x194a78['getCoordByCell'](_0x5b6077,_0x7924f4,_0x4a8e63,_0x577ad5),_0x4c0bad=_0x194a78[_0x5a6e0b(0x528)](_0xc9e480,_0x6d5a0,_0x4a8e63,_0x577ad5),{columnHeaderHeightAndMarginTop:_0x3c112e}=_0x577ad5,{startX:_0x167a06,startY:_0x539e2e}=_0xbbc7b,{endX:_0x5a31ad,endY:_0x14c5f0}=_0x4c0bad,_0x23c1db=_0x5a31ad-_0x167a06,_0x27ccc3=_0x14c5f0-_0x539e2e,_0x26be03={'labelPosition':_0x539e2e-_0x3c112e>=_0x23f988?_0x5a6e0b(0x5e6):_0x5a6e0b(0x38a),'sheetID':_0x3b9d6e,'range':_0x10ebbc,'color':_0x32dd17,'name':_0x436df8,'selection':_0xdfde18,'left':_0x167a06,'top':_0x539e2e,'width':_0x23c1db,'height':_0x27ccc3,'evented':!0x1,'zIndex':_0x317bd8};return new _0x289d4b(_0x436df8,_0x26be03);});_0x4a8e63[_0x2bb0b1(0x1a1)](_0x496637,_0x4b7218),this['_cursors']=new Set(_0x496637);}['_removeCollabCursors'](){const _0x52c991=_0x494bb3;var _0x586fe4;(_0x586fe4=this[_0x52c991(0x1a7)])==null||_0x586fe4['forEach'](_0x1260a6=>_0x1260a6['dispose']());}[_0x494bb3(0x463)](){const _0x40664d=_0x494bb3;return _0x194a78[_0x40664d(0x403)](this[_0x40664d(0x43b)]['unit'],this[_0x40664d(0x43b)]);}};_0x4777ba=_0x4d13f([_0xc2358a(0x1,_0x5a20c3['Inject'](_0x194a78['SheetSkeletonManagerService'])),_0xc2358a(0x2,_0x5a20c3[_0x494bb3(0x57c)](_0x36312d)),_0xc2358a(0x3,_0x5a20c3['Inject'](_0x5a20c3['ThemeService']))],_0x4777ba);function _0x66426c(_0x4f6b31){const _0x3704f3=_0x494bb3,_0x44c3ae=new Map();return _0x4f6b31[_0x3704f3(0x5e8)](_0x2cd43d=>{const _0x3ca283=_0x3704f3;if(_0x44c3ae[_0x3ca283(0x4a3)](_0x2cd43d[_0x3ca283(0x2f7)])){const _0x46b018=_0x44c3ae[_0x3ca283(0x537)](_0x2cd43d[_0x3ca283(0x2f7)]);_0x46b018[_0x3ca283(0x190)]+=',\x20'+_0x2cd43d[_0x3ca283(0x190)];}else _0x44c3ae[_0x3ca283(0x33d)](_0x2cd43d[_0x3ca283(0x2f7)],_0x2cd43d);}),Array[_0x3704f3(0x2d5)](_0x44c3ae['values']());}var _0x1aae94=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x21900c(_0x18328f){const _0x59d8be=_0x494bb3;return _0x18328f&&_0x18328f[_0x59d8be(0x58e)]&&Object['prototype'][_0x59d8be(0x35e)]['call'](_0x18328f,_0x59d8be(0x565))?_0x18328f[_0x59d8be(0x565)]:_0x18328f;}var _0x7ec8e4={'exports':{}},_0x481f7d={},_0x4ff291=_0x5cb4c2,_0x170306=Symbol[_0x494bb3(0x27c)](_0x494bb3(0x5c7)),_0x59a9f6=Symbol[_0x494bb3(0x27c)](_0x494bb3(0x5bb)),_0x3b76e7=Object[_0x494bb3(0x37f)][_0x494bb3(0x35e)],_0x9a2ed1=_0x4ff291['__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED'][_0x494bb3(0x5bd)],_0x4b5682={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x12806b(_0x535cc1,_0x564192,_0x5cf33a){const _0xda4c41=_0x494bb3;var _0x229393,_0x486fe0={},_0x43a788=null,_0x423a06=null;_0x5cf33a!==void 0x0&&(_0x43a788=''+_0x5cf33a),_0x564192[_0xda4c41(0x272)]!==void 0x0&&(_0x43a788=''+_0x564192[_0xda4c41(0x272)]),_0x564192[_0xda4c41(0x23b)]!==void 0x0&&(_0x423a06=_0x564192['ref']);for(_0x229393 in _0x564192)_0x3b76e7[_0xda4c41(0x451)](_0x564192,_0x229393)&&!_0x4b5682['hasOwnProperty'](_0x229393)&&(_0x486fe0[_0x229393]=_0x564192[_0x229393]);if(_0x535cc1&&_0x535cc1[_0xda4c41(0x60a)]){for(_0x229393 in(_0x564192=_0x535cc1[_0xda4c41(0x60a)],_0x564192))_0x486fe0[_0x229393]===void 0x0&&(_0x486fe0[_0x229393]=_0x564192[_0x229393]);}return{'$$typeof':_0x170306,'type':_0x535cc1,'key':_0x43a788,'ref':_0x423a06,'props':_0x486fe0,'_owner':_0x9a2ed1[_0xda4c41(0x25b)]};}_0x481f7d[_0x494bb3(0x480)]=_0x59a9f6,_0x481f7d['jsx']=_0x12806b,_0x481f7d[_0x494bb3(0x4a4)]=_0x12806b,_0x7ec8e4[_0x494bb3(0x589)]=_0x481f7d;var _0xf8dafc=_0x7ec8e4['exports'],_0x197ae9=function(){const _0x4c8883=_0x494bb3;return _0x197ae9=Object[_0x4c8883(0x186)]||function(_0xe3d30c){const _0x114fd7=_0x4c8883;for(var _0x4f97c9,_0x3e5a93=0x1,_0x4d7029=arguments[_0x114fd7(0x5aa)];_0x3e5a93<_0x4d7029;_0x3e5a93++){_0x4f97c9=arguments[_0x3e5a93];for(var _0x488a90 in _0x4f97c9)Object['prototype'][_0x114fd7(0x35e)][_0x114fd7(0x451)](_0x4f97c9,_0x488a90)&&(_0xe3d30c[_0x488a90]=_0x4f97c9[_0x488a90]);}return _0xe3d30c;},_0x197ae9[_0x4c8883(0x476)](this,arguments);},_0x12a0e5=function(_0x3e7e20,_0x141ad6){const _0x597bfb=_0x494bb3;var _0x5919ee={};for(var _0x39f63d in _0x3e7e20)Object[_0x597bfb(0x37f)]['hasOwnProperty'][_0x597bfb(0x451)](_0x3e7e20,_0x39f63d)&&_0x141ad6[_0x597bfb(0x1d6)](_0x39f63d)<0x0&&(_0x5919ee[_0x39f63d]=_0x3e7e20[_0x39f63d]);if(_0x3e7e20!=null&&typeof Object[_0x597bfb(0x3c4)]==_0x597bfb(0x4c1)){for(var _0x348213=0x0,_0x39f63d=Object[_0x597bfb(0x3c4)](_0x3e7e20);_0x348213<_0x39f63d[_0x597bfb(0x5aa)];_0x348213++)_0x141ad6['indexOf'](_0x39f63d[_0x348213])<0x0&&Object[_0x597bfb(0x37f)][_0x597bfb(0x5c4)][_0x597bfb(0x451)](_0x3e7e20,_0x39f63d[_0x348213])&&(_0x5919ee[_0x39f63d[_0x348213]]=_0x3e7e20[_0x39f63d[_0x348213]]);}return _0x5919ee;},_0x3c6234=_0x5cb4c2[_0x494bb3(0x22e)](function(_0x230615,_0x585f51){const _0xdf7a2c=_0x494bb3;var _0x344743=_0x230615[_0xdf7a2c(0x571)],_0xccaefd=_0x230615['id'],_0x4f6711=_0x230615['className'],_0x28d1fc=_0x230615['extend'],_0x4b4ca7=_0x12a0e5(_0x230615,[_0xdf7a2c(0x571),'id',_0xdf7a2c(0x2ca),_0xdf7a2c(0x3d1)]),_0x1b4522=_0xdf7a2c(0x47f)[_0xdf7a2c(0x291)](_0xccaefd,'\x20')[_0xdf7a2c(0x291)](_0x4f6711||'')[_0xdf7a2c(0x597)](),_0x3e7341=_0x5cb4c2[_0xdf7a2c(0x5c8)]('_'['concat'](_0x438b5b()));return _0x2c7a7b(_0x344743,''['concat'](_0xccaefd),{'defIds':_0x344743['defIds'],'idSuffix':_0x3e7341[_0xdf7a2c(0x25b)]},_0x197ae9({'ref':_0x585f51,'className':_0x1b4522},_0x4b4ca7),_0x28d1fc);});function _0x2c7a7b(_0x57315e,_0x270635,_0xbd389f,_0x2d1f50,_0x38e1ad){const _0xe361c7=_0x494bb3;return _0x5cb4c2['createElement'](_0x57315e[_0xe361c7(0x286)],_0x197ae9(_0x197ae9({'key':_0x270635},_0xec32a0(_0x57315e,_0xbd389f,_0x38e1ad)),_0x2d1f50),(_0x3a3251(_0x57315e,_0xbd389f)[_0xe361c7(0x572)]||[])[_0xe361c7(0x48f)](function(_0x5f1c51,_0xca92fc){const _0xb27c6a=_0xe361c7;return _0x2c7a7b(_0x5f1c51,''[_0xb27c6a(0x291)](_0x270635,'-')[_0xb27c6a(0x291)](_0x57315e[_0xb27c6a(0x286)],'-')['concat'](_0xca92fc),_0xbd389f,void 0x0,_0x38e1ad);}));}function _0xec32a0(_0x3e7141,_0x379b97,_0x62ec62){const _0x8dd5c2=_0x494bb3;var _0x376ee0=_0x197ae9({},_0x3e7141[_0x8dd5c2(0x47e)]);_0x62ec62!=null&&_0x62ec62[_0x8dd5c2(0x569)]&&_0x376ee0[_0x8dd5c2(0x2a9)]===_0x8dd5c2(0x569)&&(_0x376ee0[_0x8dd5c2(0x2a9)]=_0x62ec62[_0x8dd5c2(0x569)]);var _0x1ba395=_0x379b97[_0x8dd5c2(0x464)];return!_0x1ba395||_0x1ba395['length']===0x0||(_0x3e7141[_0x8dd5c2(0x286)]==='use'&&_0x376ee0['xlink:href']&&(_0x376ee0[_0x8dd5c2(0x231)]=_0x376ee0[_0x8dd5c2(0x231)]+_0x379b97[_0x8dd5c2(0x5b5)]),Object['entries'](_0x376ee0)[_0x8dd5c2(0x5e8)](function(_0x80b712){const _0x43ab1b=_0x8dd5c2;var _0xc1f10e=_0x80b712[0x0],_0x539c64=_0x80b712[0x1];typeof _0x539c64==_0x43ab1b(0x56d)&&(_0x376ee0[_0xc1f10e]=_0x539c64['replace'](/url\(#(.*)\)/,'url(#$1'['concat'](_0x379b97[_0x43ab1b(0x5b5)],')')));})),_0x376ee0;}function _0x3a3251(_0xb5fc1f,_0x451890){const _0x4953e8=_0x494bb3;var _0x594ed3,_0x43821c=_0x451890[_0x4953e8(0x464)];return!_0x43821c||_0x43821c['length']===0x0?_0xb5fc1f:_0xb5fc1f['tag']===_0x4953e8(0x195)&&(!((_0x594ed3=_0xb5fc1f[_0x4953e8(0x572)])===null||_0x594ed3===void 0x0)&&_0x594ed3[_0x4953e8(0x5aa)])?_0x197ae9(_0x197ae9({},_0xb5fc1f),{'children':_0xb5fc1f[_0x4953e8(0x572)]['map'](function(_0x45006a){const _0x7a104=_0x4953e8;return typeof _0x45006a[_0x7a104(0x47e)]['id']=='string'&&_0x43821c&&_0x43821c[_0x7a104(0x1d6)](_0x45006a[_0x7a104(0x47e)]['id'])>-0x1?_0x197ae9(_0x197ae9({},_0x45006a),{'attrs':_0x197ae9(_0x197ae9({},_0x45006a[_0x7a104(0x47e)]),{'id':_0x45006a[_0x7a104(0x47e)]['id']+_0x451890[_0x7a104(0x5b5)]})}):_0x45006a;})}):_0xb5fc1f;}function _0x438b5b(){const _0x2675a4=_0x494bb3;return Math[_0x2675a4(0x182)]()['toString'](0x24)[_0x2675a4(0x2c3)](0x2,0x8);}_0x3c6234[_0x494bb3(0x156)]=_0x494bb3(0x4f8);var _0x475c73={'tag':_0x494bb3(0x1f0),'attrs':{'fill':_0x494bb3(0x5f2),'viewBox':'0\x200\x2016\x2016','width':_0x494bb3(0x47c),'height':_0x494bb3(0x47c)},'children':[{'tag':'g','attrs':{'clipPath':_0x494bb3(0x47a)},'children':[{'tag':_0x494bb3(0x24b),'attrs':{'stroke':_0x494bb3(0x212),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':'round','strokeLinejoin':_0x494bb3(0x24f),'strokeWidth':1.2}}]},{'tag':_0x494bb3(0x195),'attrs':{},'children':[{'tag':_0x494bb3(0x22d),'attrs':{'id':_0x494bb3(0x5ce)},'children':[{'tag':_0x494bb3(0x24b),'attrs':{'fill':_0x494bb3(0x4c7),'d':_0x494bb3(0x4b7)}}]}]}],'defIds':[_0x494bb3(0x5ce)]},_0x37337b=_0x5cb4c2['forwardRef'](function(_0x5e0eff,_0x15a5dd){const _0x5d4c37=_0x494bb3;return _0x5cb4c2['createElement'](_0x3c6234,Object[_0x5d4c37(0x186)]({},_0x5e0eff,{'id':_0x5d4c37(0x3fe),'ref':_0x15a5dd,'icon':_0x475c73}));});_0x37337b[_0x494bb3(0x156)]=_0x494bb3(0x434);var _0x558051={'tag':_0x494bb3(0x1f0),'attrs':{'fill':_0x494bb3(0x5f2),'viewBox':_0x494bb3(0x201),'width':_0x494bb3(0x47c),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x494bb3(0x4df)},'children':[{'tag':_0x494bb3(0x24b),'attrs':{'stroke':_0x494bb3(0x212),'d':_0x494bb3(0x50d),'strokeLinecap':'round','strokeLinejoin':_0x494bb3(0x24f),'strokeWidth':1.2}}]},{'tag':_0x494bb3(0x195),'attrs':{},'children':[{'tag':_0x494bb3(0x22d),'attrs':{'id':_0x494bb3(0x155)},'children':[{'tag':_0x494bb3(0x24b),'attrs':{'fill':_0x494bb3(0x4c7),'d':_0x494bb3(0x4b7),'transform':_0x494bb3(0x4d0)}}]}]}],'defIds':[_0x494bb3(0x155)]},_0x7cf1df=_0x5cb4c2['forwardRef'](function(_0x425201,_0x10b7c0){const _0x31f592=_0x494bb3;return _0x5cb4c2[_0x31f592(0x467)](_0x3c6234,Object[_0x31f592(0x186)]({},_0x425201,{'id':_0x31f592(0x4f9),'ref':_0x10b7c0,'icon':_0x558051}));});_0x7cf1df[_0x494bb3(0x156)]=_0x494bb3(0x1cb);function _0x46f544(_0x3c78ea){const _0x5ab266=_0x494bb3;var _0x387217,_0x15647b,_0x171015='';if(typeof _0x3c78ea==_0x5ab266(0x56d)||typeof _0x3c78ea==_0x5ab266(0x37e))_0x171015+=_0x3c78ea;else{if(typeof _0x3c78ea==_0x5ab266(0x205)){if(Array[_0x5ab266(0x557)](_0x3c78ea)){var _0x1f40c2=_0x3c78ea[_0x5ab266(0x5aa)];for(_0x387217=0x0;_0x387217<_0x1f40c2;_0x387217++)_0x3c78ea[_0x387217]&&(_0x15647b=_0x46f544(_0x3c78ea[_0x387217]))&&(_0x171015&&(_0x171015+='\x20'),_0x171015+=_0x15647b);}else{for(_0x15647b in _0x3c78ea)_0x3c78ea[_0x15647b]&&(_0x171015&&(_0x171015+='\x20'),_0x171015+=_0x15647b);}}}return _0x171015;}function _0x3c578d(){const _0x4051a2=_0x494bb3;for(var _0x1ecfb1,_0x3c02e5,_0x3c0027=0x0,_0x51ea63='',_0x31164a=arguments[_0x4051a2(0x5aa)];_0x3c0027<_0x31164a;_0x3c0027++)(_0x1ecfb1=arguments[_0x3c0027])&&(_0x3c02e5=_0x46f544(_0x1ecfb1))&&(_0x51ea63&&(_0x51ea63+='\x20'),_0x51ea63+=_0x3c02e5);return _0x51ea63;}const _0x14a495={'onlineStatusIcon':_0x494bb3(0x1f8),'onlineStatusTitle':_0x494bb3(0x4d6),'onlineStatus':_0x494bb3(0x353),'online':'univer-online','offline':_0x494bb3(0x4a1)};function _0x2503d2(_0xf1fdaf){const _0x35ac15=_0x494bb3;switch(_0xf1fdaf){case _0x5948fa[_0x35ac15(0x1de)]:return'collabStatus.offline';case _0x5948fa[_0x35ac15(0x296)]:return _0x35ac15(0x34c);case _0x5948fa['FETCH_MISS']:return _0x35ac15(0x527);case _0x5948fa[_0x35ac15(0x375)]:return _0x35ac15(0x509);case _0x5948fa[_0x35ac15(0x319)]:case _0x5948fa['AWAITING_WITH_PENDING']:return _0x35ac15(0x367);case _0x5948fa['SYNCED']:case _0x5948fa[_0x35ac15(0x452)]:return'collabStatus.synced';}}function _0x1d0a3d(_0x2f4f16){const _0x13f69b=_0x494bb3,{status$:_0x19615a}=_0x2f4f16,_0x336f3c=_0x33d470[_0x13f69b(0x251)](_0x19615a,_0x5948fa['NOT_COLLAB']),_0x2530ef=_0x5a20c3['useDependency'](_0x5a20c3[_0x13f69b(0x439)]),_0x1842a4=_0x5a20c3[_0x13f69b(0x3fa)](_0x38d423['CollaborationSessionService']),_0x3995a8=_0x336f3c!==_0x5948fa[_0x13f69b(0x1de)],_0x39dbcf=_0x2530ef['t'](_0x2503d2(_0x336f3c)),_0x1377ee=_0x3c578d(_0x14a495[_0x13f69b(0x52f)],{[_0x14a495[_0x13f69b(0x386)]]:_0x3995a8,[_0x14a495[_0x13f69b(0x333)]]:!_0x3995a8}),_0x17470f=_0x3995a8?_0xf8dafc[_0x13f69b(0x202)](_0x7cf1df,{}):_0xf8dafc[_0x13f69b(0x202)](_0x37337b,{}),_0x594f47=_0x5cb4c2[_0x13f69b(0x440)](()=>{_0x3995a8||_0x1842a4['reconnect']();},[_0x3995a8,_0x1842a4]);function _0x1dac06(){const _0x19a69a=_0x13f69b;return _0xf8dafc[_0x19a69a(0x4a4)]('div',{'className':_0x1377ee,'onClick':_0x594f47,'children':[_0xf8dafc[_0x19a69a(0x202)](_0x19a69a(0x335),{'className':_0x14a495['onlineStatusIcon'],'children':_0x17470f}),_0xf8dafc[_0x19a69a(0x202)](_0x19a69a(0x335),{'className':_0x14a495[_0x19a69a(0x20d)],'children':_0x39dbcf})]});}return _0x3995a8?_0x1dac06():_0xf8dafc[_0x13f69b(0x202)](_0x989dfe[_0x13f69b(0x2ed)],{'title':_0x2530ef['t'](_0x13f69b(0x2b3)),'children':_0x1dac06()});}var _0x15e30d=Object[_0x494bb3(0x5f8)],_0x5c91a2=Object[_0x494bb3(0x51e)],_0xcc7216=(_0x463574,_0x23ea11,_0x18b398,_0x51337f)=>{const _0x41d165=_0x494bb3;for(var _0x52d026=_0x51337f>0x1?void 0x0:_0x51337f?_0x5c91a2(_0x23ea11,_0x18b398):_0x23ea11,_0x3491fa=_0x463574[_0x41d165(0x5aa)]-0x1,_0x43624f;_0x3491fa>=0x0;_0x3491fa--)(_0x43624f=_0x463574[_0x3491fa])&&(_0x52d026=(_0x51337f?_0x43624f(_0x23ea11,_0x18b398,_0x52d026):_0x43624f(_0x52d026))||_0x52d026);return _0x51337f&&_0x52d026&&_0x15e30d(_0x23ea11,_0x18b398,_0x52d026),_0x52d026;},_0x4975d8=(_0x46bb43,_0x426ea4)=>(_0x56bc94,_0x1166b7)=>_0x426ea4(_0x56bc94,_0x1166b7,_0x46bb43);_0x38d423[_0x494bb3(0x4de)]=class extends _0x5a20c3['Disposable']{constructor(_0x2523a2,_0x44568a,_0x285767,_0x117339){const _0x20c5b4=_0x494bb3;super(),_0x3ed524(this,'_status$',new _0x32bae4[(_0x20c5b4(0x55c))](_0x5948fa[_0x20c5b4(0x375)])),(this[_0x20c5b4(0x4a7)]=_0x2523a2,this[_0x20c5b4(0x1a3)]=_0x44568a,this[_0x20c5b4(0x221)]=_0x285767,this['_collaborationController']=_0x117339,this[_0x20c5b4(0x198)](),this[_0x20c5b4(0x4d8)]());}['_initStatusListener'](){const _0x31a8b2=_0x494bb3;this[_0x31a8b2(0x385)](this[_0x31a8b2(0x4a7)][_0x31a8b2(0x172)]['pipe'](_0x32bae4['switchMap'](()=>{const _0x5f445d=_0x31a8b2,_0x204319=this[_0x5f445d(0x4a7)][_0x5f445d(0x189)]();return _0x204319?this[_0x5f445d(0x595)][_0x5f445d(0x602)](_0x204319[_0x5f445d(0x4dc)]()):_0x32bae4['of'](null);}),_0x32bae4[_0x31a8b2(0x3b2)](_0x170905=>_0x170905?_0x170905[_0x31a8b2(0x5e2)]:_0x32bae4['of'](_0x5948fa[_0x31a8b2(0x375)])))[_0x31a8b2(0x38d)](_0x19ac26=>{const _0x338c44=_0x31a8b2;this[_0x338c44(0x447)][_0x338c44(0x5dd)](_0x19ac26);}));}[_0x494bb3(0x198)](){const _0x20d531=_0x494bb3;this[_0x20d531(0x385)](this['_uiPartsService'][_0x20d531(0x3b9)](_0x33d470['BuiltInUIPart']['HEADER_MENU'],()=>_0x5a20c3['connectInjector'](_0x251244({'status$':this[_0x20d531(0x447)][_0x20d531(0x4fe)]()}),this[_0x20d531(0x221)])));}},_0x38d423[_0x494bb3(0x4de)]=_0xcc7216([_0x4975d8(0x0,_0x5a20c3[_0x494bb3(0x17e)]),_0x4975d8(0x1,_0x33d470[_0x494bb3(0x4cd)]),_0x4975d8(0x2,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x596)])),_0x4975d8(0x3,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x39c)]))],_0x38d423[_0x494bb3(0x4de)]);function _0x251244(_0x35c1d5){const {status$:_0x33b820}=_0x35c1d5;return function(){const _0x14ddf2=_0x50cf;return _0xf8dafc[_0x14ddf2(0x202)](_0x1d0a3d,{'status$':_0x33b820});};}const _0x1ea4a4=_0x5a20c3[_0x494bb3(0x224)]('uni.network.url-service');var _0x267a28=Object[_0x494bb3(0x5f8)],_0x26cca7=Object[_0x494bb3(0x51e)],_0x48bf2f=(_0x52fc30,_0xb51aae,_0x2a9fd4,_0x458cfb)=>{const _0x5811f0=_0x494bb3;for(var _0x5320af=_0x458cfb>0x1?void 0x0:_0x458cfb?_0x26cca7(_0xb51aae,_0x2a9fd4):_0xb51aae,_0x2b1c1d=_0x52fc30[_0x5811f0(0x5aa)]-0x1,_0x42269b;_0x2b1c1d>=0x0;_0x2b1c1d--)(_0x42269b=_0x52fc30[_0x2b1c1d])&&(_0x5320af=(_0x458cfb?_0x42269b(_0xb51aae,_0x2a9fd4,_0x5320af):_0x42269b(_0x5320af))||_0x5320af);return _0x458cfb&&_0x5320af&&_0x267a28(_0xb51aae,_0x2a9fd4,_0x5320af),_0x5320af;},_0x1ec709=(_0xa2ed74,_0x13265a)=>(_0x2b7973,_0x468166)=>_0x13265a(_0x2b7973,_0x468166,_0xa2ed74);_0x38d423[_0x494bb3(0x579)]=class extends _0x5a20c3[_0x494bb3(0x3ed)]{constructor(_0x2a5cbb,_0xdfb085,_0x5d2090,_0x22f80e,_0x4b3b0f,_0x205229){const _0x1e2235=_0x494bb3;super(),this[_0x1e2235(0x2aa)]=_0x2a5cbb,this['_logService']=_0xdfb085,this['_commandService']=_0x5d2090,this[_0x1e2235(0x489)]=_0x22f80e,this[_0x1e2235(0x1ff)]=_0x4b3b0f,_0x205229?_0x205229==null||_0x205229[_0x1e2235(0x15f)]()['then'](()=>this[_0x1e2235(0x298)]()):(this[_0x1e2235(0x3f5)]['debug'](_0x1e2235(0x23a),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x494bb3(0x298)](){const _0x3e40e1=_0x494bb3,_0xaca9ad=this['_urlService'][_0x3e40e1(0x2d6)](_0x3e40e1(0x4c9)),_0x2a20d4=this[_0x3e40e1(0x2aa)]['getParam']('type');if(!_0xaca9ad||!_0x2a20d4){this[_0x3e40e1(0x3f5)][_0x3e40e1(0x1b0)](_0x3e40e1(0x23a),_0x3e40e1(0x396));return;}switch(Number(_0x2a20d4)){case _0x9d8403['UNIVER_SHEET']:{const _0x37cca2=await this[_0x3e40e1(0x2b5)](_0xaca9ad);this[_0x3e40e1(0x1eb)](_0x37cca2);break;}case _0x9d8403[_0x3e40e1(0x512)]:{await this[_0x3e40e1(0x3c1)](_0xaca9ad);break;}default:{this[_0x3e40e1(0x3f5)][_0x3e40e1(0x35a)](_0x3e40e1(0x23a),_0x3e40e1(0x5bf));break;}}}async[_0x494bb3(0x1eb)](_0x3be202){const _0x47d8fa=_0x494bb3;await this[_0x47d8fa(0x552)](_0x3be202),_0x3be202[_0x47d8fa(0x55b)][_0x47d8fa(0x1d4)](_0x32bae4[_0x47d8fa(0x1d1)](this['dispose$']))[_0x47d8fa(0x38d)](_0x640ec1=>{const _0x2bfcda=_0x47d8fa;_0x640ec1&&this[_0x2bfcda(0x30b)](_0x640ec1);}),this[_0x47d8fa(0x2aa)][_0x47d8fa(0x3bd)]['pipe'](_0x32bae4['takeUntil'](this[_0x47d8fa(0x5af)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x3be202));}['_updateURLWithCurrentState'](_0xcce470,_0x41beb7=!0x1){const _0x456a98=_0x494bb3,_0x1232b5=this['_urlService'][_0x456a98(0x2d6)](_0x456a98(0x226));_0xcce470[_0x456a98(0x5c0)]()!==_0x1232b5&&this[_0x456a98(0x2aa)][_0x456a98(0x421)](_0x456a98(0x226),_0xcce470[_0x456a98(0x5c0)](),_0x41beb7);}async[_0x494bb3(0x552)](_0x143380){const _0x5f5719=_0x494bb3;var _0x412341;const _0x47832f=this[_0x5f5719(0x2aa)]['getParam']('subunit');if(!_0x47832f||!_0x143380['getSheetBySheetId'](_0x47832f)){const _0x3c41ea=_0x143380['getUnhiddenWorksheets']()[0x0],_0x44f74b=_0x143380['getSheetBySheetId'](_0x3c41ea);if(!_0x44f74b)return;this[_0x5f5719(0x30b)](_0x44f74b,!0x0),await this[_0x5f5719(0x2e5)]['executeCommand'](_0x66e3f4[_0x5f5719(0x38c)]['id'],{'unitId':_0x143380[_0x5f5719(0x4dc)](),'subUnitId':_0x3c41ea});return;}((_0x412341=_0x143380[_0x5f5719(0x1b1)]())==null?void 0x0:_0x412341['getSheetId']())!==_0x47832f&&await this[_0x5f5719(0x2e5)]['executeCommand'](_0x66e3f4[_0x5f5719(0x38c)]['id'],{'unitId':_0x143380[_0x5f5719(0x4dc)](),'subUnitId':_0x47832f});}async[_0x494bb3(0x2b5)](_0x481d0d){const _0x2e827e=_0x494bb3;let _0x5220f0=0x0;const _0x59a804=await this['_localCacheService'][_0x2e827e(0x23d)](_0x481d0d);return _0x59a804&&(_0x59a804[_0x2e827e(0x5b3)]||_0x59a804['mutations']['length']!==0x0)&&(_0x5220f0=_0x59a804[_0x2e827e(0x58a)]),_0x5220f0===0x0&&this['_logService'][_0x2e827e(0x1b0)](_0x2e827e(0x23a),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService']['loadSheet'](_0x481d0d,_0x5220f0);}async['_loadDoc'](_0x5db97c){const _0x2ab740=_0x494bb3;let _0xf67f1b=0x0;const _0x32307e=await this[_0x2ab740(0x489)][_0x2ab740(0x23d)](_0x5db97c);return _0x32307e&&(_0x32307e[_0x2ab740(0x5b3)]||_0x32307e['mutations'][_0x2ab740(0x5aa)]!==0x0)&&(_0xf67f1b=_0x32307e[_0x2ab740(0x58a)]),_0xf67f1b===0x0&&this['_logService'][_0x2ab740(0x1b0)]('[DataLoaderController]',_0x2ab740(0x3f2)),this[_0x2ab740(0x1ff)]['loadDoc'](_0x5db97c,_0xf67f1b);}},_0x38d423['DataLoaderController']=_0x48bf2f([_0x1ec709(0x0,_0x1ea4a4),_0x1ec709(0x1,_0x5a20c3[_0x494bb3(0x494)]),_0x1ec709(0x2,_0x5a20c3[_0x494bb3(0x39a)]),_0x1ec709(0x3,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x1ca)])),_0x1ec709(0x4,_0x5a20c3[_0x494bb3(0x57c)](_0x4d11e3[_0x494bb3(0x5cf)])),_0x1ec709(0x5,_0x5a20c3[_0x494bb3(0x59d)](_0x40129e[_0x494bb3(0x5ba)]))],_0x38d423[_0x494bb3(0x579)]);var _0x37ba21=Object[_0x494bb3(0x5f8)],_0x393721=Object[_0x494bb3(0x51e)],_0xc8a51d=(_0x190d41,_0x1110e8,_0x5a03f5,_0xabdb37)=>{const _0x5ef604=_0x494bb3;for(var _0x326c21=_0xabdb37>0x1?void 0x0:_0xabdb37?_0x393721(_0x1110e8,_0x5a03f5):_0x1110e8,_0x5107a1=_0x190d41[_0x5ef604(0x5aa)]-0x1,_0x298d15;_0x5107a1>=0x0;_0x5107a1--)(_0x298d15=_0x190d41[_0x5107a1])&&(_0x326c21=(_0xabdb37?_0x298d15(_0x1110e8,_0x5a03f5,_0x326c21):_0x298d15(_0x326c21))||_0x326c21);return _0xabdb37&&_0x326c21&&_0x37ba21(_0x1110e8,_0x5a03f5,_0x326c21),_0x326c21;},_0x513f6=(_0x32c1e1,_0x38dbd1)=>(_0x1ae8fe,_0x1dd1f8)=>_0x38dbd1(_0x1ae8fe,_0x1dd1f8,_0x32c1e1);const _0x550ad4=_0x494bb3(0x427),_0x3e90c7=_0x494bb3(0x1e9);let _0x13737c=class extends _0x5a20c3[_0x494bb3(0x1c9)]{constructor(_0x5accc7,_0x313d91){const _0x275ba6=_0x494bb3;super(),this[_0x275ba6(0x4a7)]=_0x5accc7,this[_0x275ba6(0x1f1)]=_0x313d91,this[_0x275ba6(0x298)]();}[_0x494bb3(0x298)](){const _0x141578=_0x494bb3;this[_0x141578(0x385)](this['_univerInstanceService'][_0x141578(0x172)][_0x141578(0x38d)](()=>{const _0x3dd220=_0x141578;var _0x34ecb0;const _0x587515=this[_0x3dd220(0x4a7)]['getFocusedUnit']();let _0x105f1d=(_0x34ecb0=this['_configService'][_0x3dd220(0x19a)](_0x550ad4))!=null?_0x34ecb0:_0x3e90c7;_0x587515 instanceof _0x5a20c3[_0x3dd220(0x3f4)]&&(_0x105f1d=_0x587515['name']),document[_0x3dd220(0x1dd)]=_0x105f1d;}));}};_0x13737c=_0xc8a51d([_0x513f6(0x0,_0x5a20c3[_0x494bb3(0x17e)]),_0x513f6(0x1,_0x5a20c3[_0x494bb3(0x175)])],_0x13737c);var _0x192a45=Object['defineProperty'],_0x94ddb4=Object[_0x494bb3(0x51e)],_0x357a5b=(_0xa52089,_0x43a35a,_0x5b87c3,_0x4dbd9d)=>{for(var _0x2a7473=_0x4dbd9d>0x1?void 0x0:_0x4dbd9d?_0x94ddb4(_0x43a35a,_0x5b87c3):_0x43a35a,_0x24a4ba=_0xa52089['length']-0x1,_0x5d23ea;_0x24a4ba>=0x0;_0x24a4ba--)(_0x5d23ea=_0xa52089[_0x24a4ba])&&(_0x2a7473=(_0x4dbd9d?_0x5d23ea(_0x43a35a,_0x5b87c3,_0x2a7473):_0x5d23ea(_0x2a7473))||_0x2a7473);return _0x4dbd9d&&_0x2a7473&&_0x192a45(_0x43a35a,_0x5b87c3,_0x2a7473),_0x2a7473;},_0x5b6f47=(_0x2ea9b5,_0x4448ac)=>(_0x41d86a,_0x19a71a)=>_0x4448ac(_0x41d86a,_0x19a71a,_0x2ea9b5);let _0x264022=class{constructor(_0x96320e,_0x4efe6d,_0x343fbf){const _0x382cad=_0x494bb3;this[_0x382cad(0x1f1)]=_0x96320e,this['_httpService']=_0x4efe6d,this[_0x382cad(0x29a)]=_0x343fbf,this['init']();}[_0x494bb3(0x4bc)](){const _0x1789a6=_0x494bb3;this[_0x1789a6(0x5d9)][_0x1789a6(0x3a4)]({'priority':0x1,'interceptor':(_0x50cc6e,_0x42c738)=>_0x42c738(_0x50cc6e)[_0x1789a6(0x1d4)](_0x32bae4['concatMap'](async _0x130e8d=>{const _0x120d22=_0x1789a6,_0x4ca177=_0x130e8d;if(_0x4ca177[_0x120d22(0x601)]===0x191&&window[_0x120d22(0x18d)](this['localeService']['t'](_0x120d22(0x3aa)))){const _0x18d69c=window[_0x120d22(0x4ba)](window[_0x120d22(0x2ae)][_0x120d22(0x1c4)]);window[_0x120d22(0x2ae)][_0x120d22(0x1c4)]=this[_0x120d22(0x330)]()+_0x120d22(0x536)+_0x18d69c;}return _0x4ca177;}))});}[_0x494bb3(0x330)](){const _0x1a1170=_0x494bb3;var _0x22e2f4,_0x4e70a9;const _0xb22a8f=this[_0x1a1170(0x1f1)][_0x1a1170(0x19a)](_0x5e43ba),_0x37c1a0=this[_0x1a1170(0x1f1)][_0x1a1170(0x19a)](_0x59eaf6);return(_0x4e70a9=(_0x22e2f4=_0x37c1a0==null?void 0x0:_0x37c1a0[_0x1a1170(0x2cb)])!=null?_0x22e2f4:_0xb22a8f)!=null?_0x4e70a9:_0x529e5c;}};_0x264022=_0x357a5b([_0x5b6f47(0x0,_0x5a20c3[_0x494bb3(0x175)]),_0x5b6f47(0x1,_0x5a20c3['Inject'](_0x9ed4dd[_0x494bb3(0x22b)])),_0x5b6f47(0x2,_0x5a20c3['Inject'](_0x5a20c3[_0x494bb3(0x439)]))],_0x264022);var _0x33df1e=Object[_0x494bb3(0x5f8)],_0x2b3a7b=Object['getOwnPropertyDescriptor'],_0x20b1e8=(_0x46b56c,_0x379c26,_0x3c8aad,_0x184f14)=>{const _0x2a173c=_0x494bb3;for(var _0x18e458=_0x184f14>0x1?void 0x0:_0x184f14?_0x2b3a7b(_0x379c26,_0x3c8aad):_0x379c26,_0x3b3b2d=_0x46b56c[_0x2a173c(0x5aa)]-0x1,_0x1d0538;_0x3b3b2d>=0x0;_0x3b3b2d--)(_0x1d0538=_0x46b56c[_0x3b3b2d])&&(_0x18e458=(_0x184f14?_0x1d0538(_0x379c26,_0x3c8aad,_0x18e458):_0x1d0538(_0x18e458))||_0x18e458);return _0x184f14&&_0x18e458&&_0x33df1e(_0x379c26,_0x3c8aad,_0x18e458),_0x18e458;},_0x5c767a=(_0x201be1,_0x1d633d)=>(_0x2689f4,_0x55ebdf)=>_0x1d633d(_0x2689f4,_0x55ebdf,_0x201be1);const _0x125721='AUTHZ_URL_KEY',_0x546d05=_0x494bb3(0x2be);_0x38d423['AuthzIoHttpService']=class extends _0x5a20c3[_0x494bb3(0x1c9)]{constructor(_0x8c9e78,_0x2fe8e4){const _0x2fe72f=_0x494bb3;super(),this[_0x2fe72f(0x49c)]=_0x8c9e78,this['_configService']=_0x2fe8e4,this['_initMergeInterceptor']();}[_0x494bb3(0x4ee)](){const _0x5e867f=_0x494bb3,_0xf8a08a=this;this[_0x5e867f(0x385)](this[_0x5e867f(0x49c)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x9ed4dd[_0x5e867f(0x19e)]({'isMatch'(_0x80dd08){const _0x265b26=_0x5e867f;var _0x423d54;if(_0x80dd08['method']==='POST'&&((_0x423d54=_0x80dd08[_0x265b26(0x361)])!=null&&_0x423d54['body'])){const {objectID:_0x1386d7,objectType:_0x1ec7c4}=_0x80dd08[_0x265b26(0x361)][_0x265b26(0x271)]||{};if(!_0x1386d7||_0x1ec7c4===void 0x0)return!0x1;const _0x5dfc2b=_0xf8a08a['_getAPIPrefixPath']()+'/'+_0x1ec7c4+_0x265b26(0x290)+_0x1386d7+'/allowed';if(_0x80dd08['url']===_0x5dfc2b)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5eaabb){const _0x9c4545=_0x5e867f;var _0xfae226;return(_0xfae226=_0x5eaabb[_0x9c4545(0x361)])==null?void 0x0:_0xfae226[_0x9c4545(0x271)];},'mergeParamsToRequest'(_0x5a8357,_0x457894){const _0x48ca30=_0x5e867f,_0x164001=_0xf8a08a['_getAPIPrefixPath']()+'/-/object/-/batch_allowed',_0x4c8049=_0x5a8357['reduce']((_0xe538e0,_0x4ab5f1)=>{const _0x4710f8=_0x50cf,{unitID:_0x15d75e,objectID:_0x396195,objectType:_0x384619,actions:_0x8a2f4f}=_0x4ab5f1;return _0xe538e0[_0x15d75e]||(_0xe538e0[_0x15d75e]={}),_0xe538e0[_0x15d75e][_0x396195]||(_0xe538e0[_0x15d75e][_0x396195]={'objectID':_0x396195,'objectType':_0x384619,'actions':[]}),_0xe538e0[_0x15d75e][_0x396195][_0x4710f8(0x154)]['push'](..._0x8a2f4f),_0xe538e0;},{}),_0x5bddf7=[];for(const _0x3cc62b in _0x4c8049)for(const _0x2ccda9 in _0x4c8049[_0x3cc62b]){const {actions:_0x4e03a5,objectType:_0xdd9f9b}=_0x4c8049[_0x3cc62b][_0x2ccda9],_0x169a9f=[...new Set(_0x4e03a5)];_0x5bddf7['push']({'unitID':_0x3cc62b,'objectID':_0x2ccda9,'objectType':_0xdd9f9b,'actions':_0x169a9f});}return new _0x9ed4dd['HTTPRequest'](_0x48ca30(0x210),_0x164001,{'headers':_0x457894[_0x48ca30(0x309)],'withCredentials':_0x457894['withCredentials'],'responseType':_0x457894['responseType'],'body':{'requests':_0x5bddf7}});}},{'distributeResult'(_0x3bdb27,_0x398136){const _0x3794e3=_0x5e867f,{objectActions:_0x32a462}=_0x3bdb27;return _0x398136[_0x3794e3(0x48f)](_0x52c5f7=>{const _0x392407=_0x3794e3,{unitID:_0x33dbf1,objectID:_0x528571,actions:_0x14df24}=_0x52c5f7,_0x2eeb2d=_0x32a462[_0x392407(0x4d4)](_0x171368=>_0x171368[_0x392407(0x39f)]===_0x33dbf1&&_0x171368[_0x392407(0x249)]===_0x528571),_0x1d743e=_0x14df24[_0x392407(0x48f)](_0x39ad3a=>_0x2eeb2d==null?void 0x0:_0x2eeb2d['actions'][_0x392407(0x4d4)](_0x4c7b95=>_0x4c7b95[_0x392407(0x1cc)]===_0x39ad3a))[_0x392407(0x264)](_0x1c161e=>!!_0x1c161e);return{'config':_0x52c5f7,'result':{'actions':_0x1d743e,'error':_0x3bdb27[_0x392407(0x35a)]}};});}})}));}[_0x494bb3(0x187)](){const _0xe29c38=_0x494bb3;var _0x15fe12,_0x1200b2;const _0x373197=this[_0xe29c38(0x1f1)][_0xe29c38(0x19a)](_0x125721),_0x4a470e=this['_configService']['getConfig'](_0x59eaf6);return(_0x1200b2=(_0x15fe12=_0x4a470e==null?void 0x0:_0x4a470e[_0xe29c38(0x48e)])!=null?_0x15fe12:_0x373197)!=null?_0x1200b2:_0x546d05;}async[_0x494bb3(0x2e4)](_0x273321){const _0x2ebb55=_0x494bb3,_0x5679ca=this[_0x2ebb55(0x187)]()+'/'+_0x273321[_0x2ebb55(0x52e)]+_0x2ebb55(0x3e8);return(await this[_0x2ebb55(0x49c)][_0x2ebb55(0x20e)](_0x5679ca,{'body':_0x273321}))[_0x2ebb55(0x271)]['objectID']||'';}async[_0x494bb3(0x234)](_0x549aca){const _0x3e36ec=_0x494bb3,_0x14d1e9=this['_getAPIPrefixPath']()+'/-/object/list';return(await this[_0x3e36ec(0x49c)]['post'](_0x14d1e9,{'body':_0x549aca}))[_0x3e36ec(0x271)][_0x3e36ec(0x585)];}async['update'](_0x231b56){const _0x31f175=_0x494bb3,_0x38986b=this[_0x31f175(0x187)]()+'/'+_0x231b56['objectType']+_0x31f175(0x290)+_0x231b56[_0x31f175(0x249)];await this[_0x31f175(0x49c)]['put'](_0x38986b,{'body':_0x231b56});}async['allowed'](_0x3068ed){const _0x22bfad=_0x494bb3,_0x3e2c45=this[_0x22bfad(0x187)]()+'/'+_0x3068ed[_0x22bfad(0x52e)]+_0x22bfad(0x290)+_0x3068ed[_0x22bfad(0x249)]+_0x22bfad(0x1d2);return(await this['_HTTPService']['post'](_0x3e2c45,{'body':_0x3068ed}))[_0x22bfad(0x271)][_0x22bfad(0x154)];}async[_0x494bb3(0x26d)](_0x22adf7){const _0x2d52ba=_0x494bb3,_0x175446=this[_0x2d52ba(0x187)]()+_0x2d52ba(0x336);return(await this['_HTTPService'][_0x2d52ba(0x20e)](_0x175446,{'body':{'requests':_0x22adf7}}))[_0x2d52ba(0x271)][_0x2d52ba(0x4e0)];}async['listRoles'](_0x11198d){const _0x63225a=_0x494bb3,_0x36a8c6=this[_0x63225a(0x187)]()+'/'+_0x11198d[_0x63225a(0x52e)]+_0x63225a(0x279),_0x52ddc2=await this[_0x63225a(0x49c)][_0x63225a(0x20e)](_0x36a8c6,{'body':_0x11198d});return{'roles':_0x52ddc2[_0x63225a(0x271)][_0x63225a(0x47b)],'actions':_0x52ddc2[_0x63225a(0x271)][_0x63225a(0x154)]};}async[_0x494bb3(0x23f)](_0x14156f){const _0x4b186f=_0x494bb3,_0x3c63c1=this[_0x4b186f(0x187)]()+'/collaborator';await this[_0x4b186f(0x49c)]['delete'](_0x3c63c1,{'params':{'collaboratorID':_0x14156f[_0x4b186f(0x56b)],'objectID':_0x14156f[_0x4b186f(0x249)],'unitID':_0x14156f[_0x4b186f(0x39f)]}});}async[_0x494bb3(0x5b6)](_0x36fcd2){const _0x2837c8=_0x494bb3,_0x479c21=this[_0x2837c8(0x187)]()+_0x2837c8(0x321);await this['_HTTPService'][_0x2837c8(0x5c6)](_0x479c21,{'body':_0x36fcd2});}async['createCollaborator'](_0x33df9f){const _0x124fee=_0x494bb3,_0x2c760e=this[_0x124fee(0x187)]()+_0x124fee(0x321);await this[_0x124fee(0x49c)]['post'](_0x2c760e,{'body':_0x33df9f});}async[_0x494bb3(0x163)](_0x1eb2cd){const _0x1cb1ff=_0x494bb3,_0x207225=this['_getAPIPrefixPath']()+'/collaborator';return(await this[_0x1cb1ff(0x49c)][_0x1cb1ff(0x537)](_0x207225,{'params':{'objectID':_0x1eb2cd[_0x1cb1ff(0x249)],'unitID':_0x1eb2cd[_0x1cb1ff(0x39f)]}}))['body'][_0x1cb1ff(0x4e8)];}async[_0x494bb3(0x406)](_0x3314f6){const _0x1f0c11=_0x494bb3,_0x434706=this[_0x1f0c11(0x187)]()+_0x1f0c11(0x321);await this[_0x1f0c11(0x49c)]['put'](_0x434706,{'body':_0x3314f6});}},_0x38d423[_0x494bb3(0x46f)]=_0x20b1e8([_0x5c767a(0x0,_0x5a20c3[_0x494bb3(0x57c)](_0x9ed4dd[_0x494bb3(0x22b)])),_0x5c767a(0x1,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3['IConfigService']))],_0x38d423['AuthzIoHttpService']);var _0x13e719={'exports':{}};function _0x264753(_0x1c57ff){const _0x25f06b=_0x494bb3;throw new Error(_0x25f06b(0x470)+_0x1c57ff+_0x25f06b(0x49b));}var _0x509d31={'exports':{}},_0x59d1d3;function _0x2e72f8(){const _0x3e7380=_0x494bb3;return _0x59d1d3||(_0x59d1d3=0x1,function(_0x1a1666,_0x42dd7a){(function(_0x2f04a6,_0x251a80){_0x1a1666['exports']=_0x251a80();}(_0x1aae94,function(){var _0x18d02e=_0x18d02e||function(_0x17b30a,_0x266e00){const _0x4ba681=_0x50cf;var _0x5956df;if(typeof window<'u'&&window[_0x4ba681(0x1fc)]&&(_0x5956df=window['crypto']),typeof self<'u'&&self[_0x4ba681(0x1fc)]&&(_0x5956df=self[_0x4ba681(0x1fc)]),typeof globalThis<'u'&&globalThis[_0x4ba681(0x1fc)]&&(_0x5956df=globalThis['crypto']),!_0x5956df&&typeof window<'u'&&window[_0x4ba681(0x477)]&&(_0x5956df=window[_0x4ba681(0x477)]),!_0x5956df&&typeof _0x1aae94<'u'&&_0x1aae94[_0x4ba681(0x1fc)]&&(_0x5956df=_0x1aae94[_0x4ba681(0x1fc)]),!_0x5956df&&typeof _0x264753==_0x4ba681(0x4c1))try{_0x5956df=require(_0x4ba681(0x1fc));}catch{}var _0x2b51e6=function(){const _0x2848c9=_0x4ba681;if(_0x5956df){if(typeof _0x5956df[_0x2848c9(0x289)]==_0x2848c9(0x4c1))try{return _0x5956df[_0x2848c9(0x289)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5956df['randomBytes']=='function')try{return _0x5956df[_0x2848c9(0x1fa)](0x4)[_0x2848c9(0x546)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x3f1a39=Object[_0x4ba681(0x2e4)]||(function(){function _0x22c31e(){}return function(_0xde60f4){const _0x37fee7=_0x50cf;var _0x534a09;return _0x22c31e[_0x37fee7(0x37f)]=_0xde60f4,_0x534a09=new _0x22c31e(),_0x22c31e[_0x37fee7(0x37f)]=null,_0x534a09;};}()),_0x3d47d2={},_0x42f9a2=_0x3d47d2['lib']={},_0x443217=_0x42f9a2[_0x4ba681(0x1f7)]=(function(){return{'extend':function(_0x39a7d2){const _0x12e3db=_0x50cf;var _0x1693e5=_0x3f1a39(this);return _0x39a7d2&&_0x1693e5[_0x12e3db(0x29e)](_0x39a7d2),(!_0x1693e5[_0x12e3db(0x35e)](_0x12e3db(0x4bc))||this[_0x12e3db(0x4bc)]===_0x1693e5['init'])&&(_0x1693e5[_0x12e3db(0x4bc)]=function(){const _0x35514f=_0x12e3db;_0x1693e5[_0x35514f(0x16a)][_0x35514f(0x4bc)]['apply'](this,arguments);}),_0x1693e5[_0x12e3db(0x4bc)][_0x12e3db(0x37f)]=_0x1693e5,_0x1693e5[_0x12e3db(0x16a)]=this,_0x1693e5;},'create':function(){const _0x3547ad=_0x50cf;var _0x4ee274=this[_0x3547ad(0x3d1)]();return _0x4ee274['init'][_0x3547ad(0x476)](_0x4ee274,arguments),_0x4ee274;},'init':function(){},'mixIn':function(_0x463ac5){const _0x139886=_0x50cf;for(var _0x183dc2 in _0x463ac5)_0x463ac5['hasOwnProperty'](_0x183dc2)&&(this[_0x183dc2]=_0x463ac5[_0x183dc2]);_0x463ac5[_0x139886(0x35e)]('toString')&&(this[_0x139886(0x283)]=_0x463ac5[_0x139886(0x283)]);},'clone':function(){const _0x1fa273=_0x50cf;return this['init'][_0x1fa273(0x37f)][_0x1fa273(0x3d1)](this);}};}()),_0x2d009f=_0x42f9a2[_0x4ba681(0x188)]=_0x443217['extend']({'init':function(_0x5d2c2c,_0xd93d70){const _0x4a1816=_0x4ba681;_0x5d2c2c=this[_0x4a1816(0x50b)]=_0x5d2c2c||[],_0xd93d70!=_0x266e00?this[_0x4a1816(0x338)]=_0xd93d70:this['sigBytes']=_0x5d2c2c[_0x4a1816(0x5aa)]*0x4;},'toString':function(_0x4feb66){return(_0x4feb66||_0xada0e5)['stringify'](this);},'concat':function(_0xda1e95){const _0x3e0b71=_0x4ba681;var _0x572f66=this['words'],_0x37d615=_0xda1e95['words'],_0x5154f8=this[_0x3e0b71(0x338)],_0x40433f=_0xda1e95[_0x3e0b71(0x338)];if(this[_0x3e0b71(0x1b2)](),_0x5154f8%0x4)for(var _0x5d91a1=0x0;_0x5d91a1<_0x40433f;_0x5d91a1++){var _0x42d793=_0x37d615[_0x5d91a1>>>0x2]>>>0x18-_0x5d91a1%0x4*0x8&0xff;_0x572f66[_0x5154f8+_0x5d91a1>>>0x2]|=_0x42d793<<0x18-(_0x5154f8+_0x5d91a1)%0x4*0x8;}else{for(var _0x5b9898=0x0;_0x5b9898<_0x40433f;_0x5b9898+=0x4)_0x572f66[_0x5154f8+_0x5b9898>>>0x2]=_0x37d615[_0x5b9898>>>0x2];}return this[_0x3e0b71(0x338)]+=_0x40433f,this;},'clamp':function(){const _0xc2431f=_0x4ba681;var _0x42f519=this['words'],_0x41c5b5=this[_0xc2431f(0x338)];_0x42f519[_0x41c5b5>>>0x2]&=0xffffffff<<0x20-_0x41c5b5%0x4*0x8,_0x42f519[_0xc2431f(0x5aa)]=_0x17b30a[_0xc2431f(0x32a)](_0x41c5b5/0x4);},'clone':function(){const _0x30fcd9=_0x4ba681;var _0x108a4a=_0x443217[_0x30fcd9(0x2e2)][_0x30fcd9(0x451)](this);return _0x108a4a['words']=this[_0x30fcd9(0x50b)]['slice'](0x0),_0x108a4a;},'random':function(_0x10efc7){const _0x53a6e9=_0x4ba681;for(var _0x2600de=[],_0x1205ca=0x0;_0x1205ca<_0x10efc7;_0x1205ca+=0x4)_0x2600de[_0x53a6e9(0x196)](_0x2b51e6());return new _0x2d009f[(_0x53a6e9(0x4bc))](_0x2600de,_0x10efc7);}}),_0x2fcb0a=_0x3d47d2[_0x4ba681(0x5e9)]={},_0xada0e5=_0x2fcb0a[_0x4ba681(0x393)]={'stringify':function(_0x3afd72){const _0x5c713a=_0x4ba681;for(var _0x572448=_0x3afd72[_0x5c713a(0x50b)],_0x5c14d8=_0x3afd72[_0x5c713a(0x338)],_0x1a92f7=[],_0x47e4b3=0x0;_0x47e4b3<_0x5c14d8;_0x47e4b3++){var _0x238afa=_0x572448[_0x47e4b3>>>0x2]>>>0x18-_0x47e4b3%0x4*0x8&0xff;_0x1a92f7[_0x5c713a(0x196)]((_0x238afa>>>0x4)[_0x5c713a(0x283)](0x10)),_0x1a92f7[_0x5c713a(0x196)]((_0x238afa&0xf)[_0x5c713a(0x283)](0x10));}return _0x1a92f7['join']('');},'parse':function(_0x107364){const _0x53be42=_0x4ba681;for(var _0x303393=_0x107364[_0x53be42(0x5aa)],_0x50f6dd=[],_0x439948=0x0;_0x439948<_0x303393;_0x439948+=0x2)_0x50f6dd[_0x439948>>>0x3]|=parseInt(_0x107364[_0x53be42(0x3df)](_0x439948,0x2),0x10)<<0x18-_0x439948%0x8*0x4;return new _0x2d009f['init'](_0x50f6dd,_0x303393/0x2);}},_0x512ac8=_0x2fcb0a['Latin1']={'stringify':function(_0x484993){const _0x5f0cb8=_0x4ba681;for(var _0x1f2217=_0x484993[_0x5f0cb8(0x50b)],_0x43709a=_0x484993[_0x5f0cb8(0x338)],_0x1621cd=[],_0x161075=0x0;_0x161075<_0x43709a;_0x161075++){var _0x2408fa=_0x1f2217[_0x161075>>>0x2]>>>0x18-_0x161075%0x4*0x8&0xff;_0x1621cd[_0x5f0cb8(0x196)](String[_0x5f0cb8(0x167)](_0x2408fa));}return _0x1621cd[_0x5f0cb8(0x4aa)]('');},'parse':function(_0x83f183){const _0x5b8585=_0x4ba681;for(var _0x332652=_0x83f183[_0x5b8585(0x5aa)],_0x2b1286=[],_0x26910d=0x0;_0x26910d<_0x332652;_0x26910d++)_0x2b1286[_0x26910d>>>0x2]|=(_0x83f183[_0x5b8585(0x247)](_0x26910d)&0xff)<<0x18-_0x26910d%0x4*0x8;return new _0x2d009f['init'](_0x2b1286,_0x332652);}},_0x1a9117=_0x2fcb0a[_0x4ba681(0x429)]={'stringify':function(_0x8f39e3){const _0x5d46e9=_0x4ba681;try{return decodeURIComponent(escape(_0x512ac8[_0x5d46e9(0x58b)](_0x8f39e3)));}catch{throw new Error(_0x5d46e9(0x288));}},'parse':function(_0x5be65b){const _0x1f6601=_0x4ba681;return _0x512ac8[_0x1f6601(0x40c)](unescape(encodeURIComponent(_0x5be65b)));}},_0x1cdf90=_0x42f9a2[_0x4ba681(0x2ad)]=_0x443217[_0x4ba681(0x3d1)]({'reset':function(){const _0x4d3bfa=_0x4ba681;this[_0x4d3bfa(0x29c)]=new _0x2d009f[(_0x4d3bfa(0x4bc))](),this[_0x4d3bfa(0x372)]=0x0;},'_append':function(_0x5bf55b){const _0x52ea41=_0x4ba681;typeof _0x5bf55b==_0x52ea41(0x56d)&&(_0x5bf55b=_0x1a9117['parse'](_0x5bf55b)),this['_data'][_0x52ea41(0x291)](_0x5bf55b),this['_nDataBytes']+=_0x5bf55b['sigBytes'];},'_process':function(_0x1c6a9f){const _0x5e8ce0=_0x4ba681;var _0x40ccce,_0x59f008=this[_0x5e8ce0(0x29c)],_0x327234=_0x59f008['words'],_0x362ec5=_0x59f008[_0x5e8ce0(0x338)],_0x5d84e0=this[_0x5e8ce0(0x2f5)],_0x421542=_0x5d84e0*0x4,_0x418885=_0x362ec5/_0x421542;_0x1c6a9f?_0x418885=_0x17b30a[_0x5e8ce0(0x32a)](_0x418885):_0x418885=_0x17b30a[_0x5e8ce0(0x547)]((_0x418885|0x0)-this[_0x5e8ce0(0x526)],0x0);var _0x5bad89=_0x418885*_0x5d84e0,_0x1b1fa3=_0x17b30a['min'](_0x5bad89*0x4,_0x362ec5);if(_0x5bad89){for(var _0x5f32b2=0x0;_0x5f32b2<_0x5bad89;_0x5f32b2+=_0x5d84e0)this[_0x5e8ce0(0x2d0)](_0x327234,_0x5f32b2);_0x40ccce=_0x327234[_0x5e8ce0(0x345)](0x0,_0x5bad89),_0x59f008[_0x5e8ce0(0x338)]-=_0x1b1fa3;}return new _0x2d009f[(_0x5e8ce0(0x4bc))](_0x40ccce,_0x1b1fa3);},'clone':function(){const _0xe75e7b=_0x4ba681;var _0x325970=_0x443217[_0xe75e7b(0x2e2)][_0xe75e7b(0x451)](this);return _0x325970[_0xe75e7b(0x29c)]=this[_0xe75e7b(0x29c)]['clone'](),_0x325970;},'_minBufferSize':0x0});_0x42f9a2[_0x4ba681(0x42a)]=_0x1cdf90[_0x4ba681(0x3d1)]({'cfg':_0x443217['extend'](),'init':function(_0x13d501){const _0x2bf52d=_0x4ba681;this[_0x2bf52d(0x245)]=this[_0x2bf52d(0x245)][_0x2bf52d(0x3d1)](_0x13d501),this[_0x2bf52d(0x3db)]();},'reset':function(){const _0x2bada6=_0x4ba681;_0x1cdf90[_0x2bada6(0x3db)]['call'](this),this[_0x2bada6(0x523)]();},'update':function(_0x7f4319){const _0x1e6325=_0x4ba681;return this['_append'](_0x7f4319),this[_0x1e6325(0x55f)](),this;},'finalize':function(_0x329607){const _0x516ea4=_0x4ba681;_0x329607&&this[_0x516ea4(0x4bf)](_0x329607);var _0x3a38cc=this[_0x516ea4(0x1c6)]();return _0x3a38cc;},'blockSize':0x10,'_createHelper':function(_0x3765a3){return function(_0x3dfd07,_0x2472eb){const _0x45edb2=_0x50cf;return new _0x3765a3[(_0x45edb2(0x4bc))](_0x2472eb)['finalize'](_0x3dfd07);};},'_createHmacHelper':function(_0x2f9a15){return function(_0x29e077,_0x2bbaf4){const _0x23423b=_0x50cf;return new _0x3ca17d['HMAC'][(_0x23423b(0x4bc))](_0x2f9a15,_0x2bbaf4)['finalize'](_0x29e077);};}});var _0x3ca17d=_0x3d47d2[_0x4ba681(0x54f)]={};return _0x3d47d2;}(Math);return _0x18d02e;}));}(_0x509d31)),_0x509d31[_0x3e7380(0x589)];}var _0x21556f={'exports':{}},_0x3f3405;function _0x6e8aa3(){const _0x3caaa7=_0x494bb3;return _0x3f3405||(_0x3f3405=0x1,function(_0x17da90,_0x407f1a){(function(_0x802e24,_0x1bfad0){const _0x4cea4c=_0x50cf;_0x17da90[_0x4cea4c(0x589)]=_0x1bfad0(_0x2e72f8());}(_0x1aae94,function(_0x4f8567){const _0x599321=_0x50cf;return(function(){const _0x4a861f=_0x50cf;var _0xe4333d=_0x4f8567,_0x490dc2=_0xe4333d[_0x4a861f(0x483)],_0x16bf82=_0x490dc2[_0x4a861f(0x188)],_0x303f39=_0xe4333d['enc'];_0x303f39[_0x4a861f(0x5fd)]={'stringify':function(_0xf44cc6){const _0xdfdca6=_0x4a861f;var _0x118070=_0xf44cc6[_0xdfdca6(0x50b)],_0x2ea438=_0xf44cc6[_0xdfdca6(0x338)],_0x3ee7a3=this['_map'];_0xf44cc6[_0xdfdca6(0x1b2)]();for(var _0x3a625c=[],_0x330d12=0x0;_0x330d12<_0x2ea438;_0x330d12+=0x3)for(var _0x333b24=_0x118070[_0x330d12>>>0x2]>>>0x18-_0x330d12%0x4*0x8&0xff,_0x51b366=_0x118070[_0x330d12+0x1>>>0x2]>>>0x18-(_0x330d12+0x1)%0x4*0x8&0xff,_0x4dac27=_0x118070[_0x330d12+0x2>>>0x2]>>>0x18-(_0x330d12+0x2)%0x4*0x8&0xff,_0x4bc6c9=_0x333b24<<0x10|_0x51b366<<0x8|_0x4dac27,_0x23d6c3=0x0;_0x23d6c3<0x4&&_0x330d12+_0x23d6c3*0.75<_0x2ea438;_0x23d6c3++)_0x3a625c[_0xdfdca6(0x196)](_0x3ee7a3['charAt'](_0x4bc6c9>>>0x6*(0x3-_0x23d6c3)&0x3f));var _0x4ad850=_0x3ee7a3['charAt'](0x40);if(_0x4ad850){for(;_0x3a625c['length']%0x4;)_0x3a625c[_0xdfdca6(0x196)](_0x4ad850);}return _0x3a625c[_0xdfdca6(0x4aa)]('');},'parse':function(_0x2fa3c8){const _0xb7ec71=_0x4a861f;var _0x125e48=_0x2fa3c8[_0xb7ec71(0x5aa)],_0x5d4db7=this[_0xb7ec71(0x573)],_0x40bb77=this[_0xb7ec71(0x444)];if(!_0x40bb77){_0x40bb77=this[_0xb7ec71(0x444)]=[];for(var _0x4c5c89=0x0;_0x4c5c89<_0x5d4db7['length'];_0x4c5c89++)_0x40bb77[_0x5d4db7[_0xb7ec71(0x247)](_0x4c5c89)]=_0x4c5c89;}var _0x2b01a7=_0x5d4db7['charAt'](0x40);if(_0x2b01a7){var _0x4ae662=_0x2fa3c8[_0xb7ec71(0x1d6)](_0x2b01a7);_0x4ae662!==-0x1&&(_0x125e48=_0x4ae662);}return _0x40a38e(_0x2fa3c8,_0x125e48,_0x40bb77);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x40a38e(_0x638d5f,_0x3b3074,_0x144d9b){const _0x7e8cfc=_0x4a861f;for(var _0x2b1498=[],_0x417d72=0x0,_0x28a9f1=0x0;_0x28a9f1<_0x3b3074;_0x28a9f1++)if(_0x28a9f1%0x4){var _0x3a7ba6=_0x144d9b[_0x638d5f[_0x7e8cfc(0x247)](_0x28a9f1-0x1)]<<_0x28a9f1%0x4*0x2,_0x52fd4e=_0x144d9b[_0x638d5f[_0x7e8cfc(0x247)](_0x28a9f1)]>>>0x6-_0x28a9f1%0x4*0x2,_0x148d1d=_0x3a7ba6|_0x52fd4e;_0x2b1498[_0x417d72>>>0x2]|=_0x148d1d<<0x18-_0x417d72%0x4*0x8,_0x417d72++;}return _0x16bf82[_0x7e8cfc(0x2e4)](_0x2b1498,_0x417d72);}}()),_0x4f8567[_0x599321(0x5e9)][_0x599321(0x5fd)];}));}(_0x21556f)),_0x21556f[_0x3caaa7(0x589)];}var _0x4a51b9={'exports':{}},_0x559db8;function _0x4cef5f(){const _0x210711=_0x494bb3;return _0x559db8||(_0x559db8=0x1,function(_0x5745e0,_0x4b8848){(function(_0x33fd1d,_0x335db7){const _0x151fde=_0x50cf;_0x5745e0[_0x151fde(0x589)]=_0x335db7(_0x2e72f8());}(_0x1aae94,function(_0x4fdce8){return function(_0x14be6c){const _0x1efd3e=_0x50cf;var _0x288816=_0x4fdce8,_0x492d97=_0x288816['lib'],_0x33c493=_0x492d97['WordArray'],_0xdcb51a=_0x492d97[_0x1efd3e(0x42a)],_0x16f0d9=_0x288816[_0x1efd3e(0x54f)],_0x2a5662=[];(function(){for(var _0x481b1c=0x0;_0x481b1c<0x40;_0x481b1c++)_0x2a5662[_0x481b1c]=_0x14be6c['abs'](_0x14be6c['sin'](_0x481b1c+0x1))*0x100000000|0x0;}());var _0x58180c=_0x16f0d9[_0x1efd3e(0x53e)]=_0xdcb51a[_0x1efd3e(0x3d1)]({'_doReset':function(){const _0x482cd7=_0x1efd3e;this['_hash']=new _0x33c493[(_0x482cd7(0x4bc))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x55e90b,_0x462523){const _0x2defab=_0x1efd3e;for(var _0x5a5df8=0x0;_0x5a5df8<0x10;_0x5a5df8++){var _0x3d50d4=_0x462523+_0x5a5df8,_0x543f54=_0x55e90b[_0x3d50d4];_0x55e90b[_0x3d50d4]=(_0x543f54<<0x8|_0x543f54>>>0x18)&0xff00ff|(_0x543f54<<0x18|_0x543f54>>>0x8)&0xff00ff00;}var _0x5c825c=this['_hash'][_0x2defab(0x50b)],_0x3fb212=_0x55e90b[_0x462523+0x0],_0x3cea97=_0x55e90b[_0x462523+0x1],_0x3c97d6=_0x55e90b[_0x462523+0x2],_0x5c9486=_0x55e90b[_0x462523+0x3],_0x2bd73c=_0x55e90b[_0x462523+0x4],_0x6ce0e2=_0x55e90b[_0x462523+0x5],_0x3cb8a8=_0x55e90b[_0x462523+0x6],_0x5d8a08=_0x55e90b[_0x462523+0x7],_0x1aac9a=_0x55e90b[_0x462523+0x8],_0x41adb8=_0x55e90b[_0x462523+0x9],_0x135a10=_0x55e90b[_0x462523+0xa],_0x28924e=_0x55e90b[_0x462523+0xb],_0x2459c2=_0x55e90b[_0x462523+0xc],_0x1e5856=_0x55e90b[_0x462523+0xd],_0x1e4da9=_0x55e90b[_0x462523+0xe],_0xb36d31=_0x55e90b[_0x462523+0xf],_0x3767b0=_0x5c825c[0x0],_0x33709c=_0x5c825c[0x1],_0x35644d=_0x5c825c[0x2],_0x2e42e0=_0x5c825c[0x3];_0x3767b0=_0x25a76a(_0x3767b0,_0x33709c,_0x35644d,_0x2e42e0,_0x3fb212,0x7,_0x2a5662[0x0]),_0x2e42e0=_0x25a76a(_0x2e42e0,_0x3767b0,_0x33709c,_0x35644d,_0x3cea97,0xc,_0x2a5662[0x1]),_0x35644d=_0x25a76a(_0x35644d,_0x2e42e0,_0x3767b0,_0x33709c,_0x3c97d6,0x11,_0x2a5662[0x2]),_0x33709c=_0x25a76a(_0x33709c,_0x35644d,_0x2e42e0,_0x3767b0,_0x5c9486,0x16,_0x2a5662[0x3]),_0x3767b0=_0x25a76a(_0x3767b0,_0x33709c,_0x35644d,_0x2e42e0,_0x2bd73c,0x7,_0x2a5662[0x4]),_0x2e42e0=_0x25a76a(_0x2e42e0,_0x3767b0,_0x33709c,_0x35644d,_0x6ce0e2,0xc,_0x2a5662[0x5]),_0x35644d=_0x25a76a(_0x35644d,_0x2e42e0,_0x3767b0,_0x33709c,_0x3cb8a8,0x11,_0x2a5662[0x6]),_0x33709c=_0x25a76a(_0x33709c,_0x35644d,_0x2e42e0,_0x3767b0,_0x5d8a08,0x16,_0x2a5662[0x7]),_0x3767b0=_0x25a76a(_0x3767b0,_0x33709c,_0x35644d,_0x2e42e0,_0x1aac9a,0x7,_0x2a5662[0x8]),_0x2e42e0=_0x25a76a(_0x2e42e0,_0x3767b0,_0x33709c,_0x35644d,_0x41adb8,0xc,_0x2a5662[0x9]),_0x35644d=_0x25a76a(_0x35644d,_0x2e42e0,_0x3767b0,_0x33709c,_0x135a10,0x11,_0x2a5662[0xa]),_0x33709c=_0x25a76a(_0x33709c,_0x35644d,_0x2e42e0,_0x3767b0,_0x28924e,0x16,_0x2a5662[0xb]),_0x3767b0=_0x25a76a(_0x3767b0,_0x33709c,_0x35644d,_0x2e42e0,_0x2459c2,0x7,_0x2a5662[0xc]),_0x2e42e0=_0x25a76a(_0x2e42e0,_0x3767b0,_0x33709c,_0x35644d,_0x1e5856,0xc,_0x2a5662[0xd]),_0x35644d=_0x25a76a(_0x35644d,_0x2e42e0,_0x3767b0,_0x33709c,_0x1e4da9,0x11,_0x2a5662[0xe]),_0x33709c=_0x25a76a(_0x33709c,_0x35644d,_0x2e42e0,_0x3767b0,_0xb36d31,0x16,_0x2a5662[0xf]),_0x3767b0=_0x14523c(_0x3767b0,_0x33709c,_0x35644d,_0x2e42e0,_0x3cea97,0x5,_0x2a5662[0x10]),_0x2e42e0=_0x14523c(_0x2e42e0,_0x3767b0,_0x33709c,_0x35644d,_0x3cb8a8,0x9,_0x2a5662[0x11]),_0x35644d=_0x14523c(_0x35644d,_0x2e42e0,_0x3767b0,_0x33709c,_0x28924e,0xe,_0x2a5662[0x12]),_0x33709c=_0x14523c(_0x33709c,_0x35644d,_0x2e42e0,_0x3767b0,_0x3fb212,0x14,_0x2a5662[0x13]),_0x3767b0=_0x14523c(_0x3767b0,_0x33709c,_0x35644d,_0x2e42e0,_0x6ce0e2,0x5,_0x2a5662[0x14]),_0x2e42e0=_0x14523c(_0x2e42e0,_0x3767b0,_0x33709c,_0x35644d,_0x135a10,0x9,_0x2a5662[0x15]),_0x35644d=_0x14523c(_0x35644d,_0x2e42e0,_0x3767b0,_0x33709c,_0xb36d31,0xe,_0x2a5662[0x16]),_0x33709c=_0x14523c(_0x33709c,_0x35644d,_0x2e42e0,_0x3767b0,_0x2bd73c,0x14,_0x2a5662[0x17]),_0x3767b0=_0x14523c(_0x3767b0,_0x33709c,_0x35644d,_0x2e42e0,_0x41adb8,0x5,_0x2a5662[0x18]),_0x2e42e0=_0x14523c(_0x2e42e0,_0x3767b0,_0x33709c,_0x35644d,_0x1e4da9,0x9,_0x2a5662[0x19]),_0x35644d=_0x14523c(_0x35644d,_0x2e42e0,_0x3767b0,_0x33709c,_0x5c9486,0xe,_0x2a5662[0x1a]),_0x33709c=_0x14523c(_0x33709c,_0x35644d,_0x2e42e0,_0x3767b0,_0x1aac9a,0x14,_0x2a5662[0x1b]),_0x3767b0=_0x14523c(_0x3767b0,_0x33709c,_0x35644d,_0x2e42e0,_0x1e5856,0x5,_0x2a5662[0x1c]),_0x2e42e0=_0x14523c(_0x2e42e0,_0x3767b0,_0x33709c,_0x35644d,_0x3c97d6,0x9,_0x2a5662[0x1d]),_0x35644d=_0x14523c(_0x35644d,_0x2e42e0,_0x3767b0,_0x33709c,_0x5d8a08,0xe,_0x2a5662[0x1e]),_0x33709c=_0x14523c(_0x33709c,_0x35644d,_0x2e42e0,_0x3767b0,_0x2459c2,0x14,_0x2a5662[0x1f]),_0x3767b0=_0x1aee12(_0x3767b0,_0x33709c,_0x35644d,_0x2e42e0,_0x6ce0e2,0x4,_0x2a5662[0x20]),_0x2e42e0=_0x1aee12(_0x2e42e0,_0x3767b0,_0x33709c,_0x35644d,_0x1aac9a,0xb,_0x2a5662[0x21]),_0x35644d=_0x1aee12(_0x35644d,_0x2e42e0,_0x3767b0,_0x33709c,_0x28924e,0x10,_0x2a5662[0x22]),_0x33709c=_0x1aee12(_0x33709c,_0x35644d,_0x2e42e0,_0x3767b0,_0x1e4da9,0x17,_0x2a5662[0x23]),_0x3767b0=_0x1aee12(_0x3767b0,_0x33709c,_0x35644d,_0x2e42e0,_0x3cea97,0x4,_0x2a5662[0x24]),_0x2e42e0=_0x1aee12(_0x2e42e0,_0x3767b0,_0x33709c,_0x35644d,_0x2bd73c,0xb,_0x2a5662[0x25]),_0x35644d=_0x1aee12(_0x35644d,_0x2e42e0,_0x3767b0,_0x33709c,_0x5d8a08,0x10,_0x2a5662[0x26]),_0x33709c=_0x1aee12(_0x33709c,_0x35644d,_0x2e42e0,_0x3767b0,_0x135a10,0x17,_0x2a5662[0x27]),_0x3767b0=_0x1aee12(_0x3767b0,_0x33709c,_0x35644d,_0x2e42e0,_0x1e5856,0x4,_0x2a5662[0x28]),_0x2e42e0=_0x1aee12(_0x2e42e0,_0x3767b0,_0x33709c,_0x35644d,_0x3fb212,0xb,_0x2a5662[0x29]),_0x35644d=_0x1aee12(_0x35644d,_0x2e42e0,_0x3767b0,_0x33709c,_0x5c9486,0x10,_0x2a5662[0x2a]),_0x33709c=_0x1aee12(_0x33709c,_0x35644d,_0x2e42e0,_0x3767b0,_0x3cb8a8,0x17,_0x2a5662[0x2b]),_0x3767b0=_0x1aee12(_0x3767b0,_0x33709c,_0x35644d,_0x2e42e0,_0x41adb8,0x4,_0x2a5662[0x2c]),_0x2e42e0=_0x1aee12(_0x2e42e0,_0x3767b0,_0x33709c,_0x35644d,_0x2459c2,0xb,_0x2a5662[0x2d]),_0x35644d=_0x1aee12(_0x35644d,_0x2e42e0,_0x3767b0,_0x33709c,_0xb36d31,0x10,_0x2a5662[0x2e]),_0x33709c=_0x1aee12(_0x33709c,_0x35644d,_0x2e42e0,_0x3767b0,_0x3c97d6,0x17,_0x2a5662[0x2f]),_0x3767b0=_0x3c7673(_0x3767b0,_0x33709c,_0x35644d,_0x2e42e0,_0x3fb212,0x6,_0x2a5662[0x30]),_0x2e42e0=_0x3c7673(_0x2e42e0,_0x3767b0,_0x33709c,_0x35644d,_0x5d8a08,0xa,_0x2a5662[0x31]),_0x35644d=_0x3c7673(_0x35644d,_0x2e42e0,_0x3767b0,_0x33709c,_0x1e4da9,0xf,_0x2a5662[0x32]),_0x33709c=_0x3c7673(_0x33709c,_0x35644d,_0x2e42e0,_0x3767b0,_0x6ce0e2,0x15,_0x2a5662[0x33]),_0x3767b0=_0x3c7673(_0x3767b0,_0x33709c,_0x35644d,_0x2e42e0,_0x2459c2,0x6,_0x2a5662[0x34]),_0x2e42e0=_0x3c7673(_0x2e42e0,_0x3767b0,_0x33709c,_0x35644d,_0x5c9486,0xa,_0x2a5662[0x35]),_0x35644d=_0x3c7673(_0x35644d,_0x2e42e0,_0x3767b0,_0x33709c,_0x135a10,0xf,_0x2a5662[0x36]),_0x33709c=_0x3c7673(_0x33709c,_0x35644d,_0x2e42e0,_0x3767b0,_0x3cea97,0x15,_0x2a5662[0x37]),_0x3767b0=_0x3c7673(_0x3767b0,_0x33709c,_0x35644d,_0x2e42e0,_0x1aac9a,0x6,_0x2a5662[0x38]),_0x2e42e0=_0x3c7673(_0x2e42e0,_0x3767b0,_0x33709c,_0x35644d,_0xb36d31,0xa,_0x2a5662[0x39]),_0x35644d=_0x3c7673(_0x35644d,_0x2e42e0,_0x3767b0,_0x33709c,_0x3cb8a8,0xf,_0x2a5662[0x3a]),_0x33709c=_0x3c7673(_0x33709c,_0x35644d,_0x2e42e0,_0x3767b0,_0x1e5856,0x15,_0x2a5662[0x3b]),_0x3767b0=_0x3c7673(_0x3767b0,_0x33709c,_0x35644d,_0x2e42e0,_0x2bd73c,0x6,_0x2a5662[0x3c]),_0x2e42e0=_0x3c7673(_0x2e42e0,_0x3767b0,_0x33709c,_0x35644d,_0x28924e,0xa,_0x2a5662[0x3d]),_0x35644d=_0x3c7673(_0x35644d,_0x2e42e0,_0x3767b0,_0x33709c,_0x3c97d6,0xf,_0x2a5662[0x3e]),_0x33709c=_0x3c7673(_0x33709c,_0x35644d,_0x2e42e0,_0x3767b0,_0x41adb8,0x15,_0x2a5662[0x3f]),_0x5c825c[0x0]=_0x5c825c[0x0]+_0x3767b0|0x0,_0x5c825c[0x1]=_0x5c825c[0x1]+_0x33709c|0x0,_0x5c825c[0x2]=_0x5c825c[0x2]+_0x35644d|0x0,_0x5c825c[0x3]=_0x5c825c[0x3]+_0x2e42e0|0x0;},'_doFinalize':function(){const _0x3578f6=_0x1efd3e;var _0xba679e=this[_0x3578f6(0x29c)],_0x57519b=_0xba679e['words'],_0x5e024b=this[_0x3578f6(0x372)]*0x8,_0x4cc385=_0xba679e['sigBytes']*0x8;_0x57519b[_0x4cc385>>>0x5]|=0x80<<0x18-_0x4cc385%0x20;var _0x190acb=_0x14be6c['floor'](_0x5e024b/0x100000000),_0x4df160=_0x5e024b;_0x57519b[(_0x4cc385+0x40>>>0x9<<0x4)+0xf]=(_0x190acb<<0x8|_0x190acb>>>0x18)&0xff00ff|(_0x190acb<<0x18|_0x190acb>>>0x8)&0xff00ff00,_0x57519b[(_0x4cc385+0x40>>>0x9<<0x4)+0xe]=(_0x4df160<<0x8|_0x4df160>>>0x18)&0xff00ff|(_0x4df160<<0x18|_0x4df160>>>0x8)&0xff00ff00,_0xba679e[_0x3578f6(0x338)]=(_0x57519b['length']+0x1)*0x4,this[_0x3578f6(0x55f)]();for(var _0x40ff5e=this['_hash'],_0x5f532f=_0x40ff5e[_0x3578f6(0x50b)],_0xbd22a1=0x0;_0xbd22a1<0x4;_0xbd22a1++){var _0x4ebf56=_0x5f532f[_0xbd22a1];_0x5f532f[_0xbd22a1]=(_0x4ebf56<<0x8|_0x4ebf56>>>0x18)&0xff00ff|(_0x4ebf56<<0x18|_0x4ebf56>>>0x8)&0xff00ff00;}return _0x40ff5e;},'clone':function(){const _0x374c48=_0x1efd3e;var _0x47eef8=_0xdcb51a[_0x374c48(0x2e2)][_0x374c48(0x451)](this);return _0x47eef8[_0x374c48(0x1c2)]=this[_0x374c48(0x1c2)]['clone'](),_0x47eef8;}});function _0x25a76a(_0x434bde,_0x561814,_0x4283ba,_0x418d95,_0xf8708d,_0x1af946,_0x7cc614){var _0x587828=_0x434bde+(_0x561814&_0x4283ba|~_0x561814&_0x418d95)+_0xf8708d+_0x7cc614;return(_0x587828<<_0x1af946|_0x587828>>>0x20-_0x1af946)+_0x561814;}function _0x14523c(_0x5f4479,_0x4d4f90,_0x207a94,_0x30ac2d,_0x103a3c,_0x53977d,_0x49632c){var _0x447146=_0x5f4479+(_0x4d4f90&_0x30ac2d|_0x207a94&~_0x30ac2d)+_0x103a3c+_0x49632c;return(_0x447146<<_0x53977d|_0x447146>>>0x20-_0x53977d)+_0x4d4f90;}function _0x1aee12(_0x1e0e8a,_0x29940f,_0x1346bd,_0x10cbbe,_0x2dcc45,_0x3c2778,_0x2b17e8){var _0x304d60=_0x1e0e8a+(_0x29940f^_0x1346bd^_0x10cbbe)+_0x2dcc45+_0x2b17e8;return(_0x304d60<<_0x3c2778|_0x304d60>>>0x20-_0x3c2778)+_0x29940f;}function _0x3c7673(_0x3d6d1a,_0x1e90cc,_0x36bf8d,_0x1d4d42,_0x37f282,_0x3964e3,_0x4fef5a){var _0x1531e5=_0x3d6d1a+(_0x36bf8d^(_0x1e90cc|~_0x1d4d42))+_0x37f282+_0x4fef5a;return(_0x1531e5<<_0x3964e3|_0x1531e5>>>0x20-_0x3964e3)+_0x1e90cc;}_0x288816[_0x1efd3e(0x53e)]=_0xdcb51a[_0x1efd3e(0x5f3)](_0x58180c),_0x288816['HmacMD5']=_0xdcb51a[_0x1efd3e(0x44f)](_0x58180c);}(Math),_0x4fdce8['MD5'];}));}(_0x4a51b9)),_0x4a51b9[_0x210711(0x589)];}var _0x4af300={'exports':{}},_0x5cab66={'exports':{}},_0x42c429;function _0x4c6c09(){return _0x42c429||(_0x42c429=0x1,function(_0x3dda7b,_0x48c06d){(function(_0x4cba85,_0x3229da){_0x3dda7b['exports']=_0x3229da(_0x2e72f8());}(_0x1aae94,function(_0x629951){const _0x15b43c=_0x50cf;return(function(){const _0x35d49e=_0x50cf;var _0x5c4cc9=_0x629951,_0x3f341c=_0x5c4cc9['lib'],_0x20c1a1=_0x3f341c[_0x35d49e(0x188)],_0x2761f1=_0x3f341c[_0x35d49e(0x42a)],_0x5cab03=_0x5c4cc9[_0x35d49e(0x54f)],_0x500b08=[],_0x3581e9=_0x5cab03[_0x35d49e(0x449)]=_0x2761f1[_0x35d49e(0x3d1)]({'_doReset':function(){const _0x53ebd2=_0x35d49e;this[_0x53ebd2(0x1c2)]=new _0x20c1a1[(_0x53ebd2(0x4bc))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x7a9214,_0x256c07){const _0x3a5d7b=_0x35d49e;for(var _0x9488ec=this[_0x3a5d7b(0x1c2)][_0x3a5d7b(0x50b)],_0x5a527b=_0x9488ec[0x0],_0x9742bc=_0x9488ec[0x1],_0x197464=_0x9488ec[0x2],_0x55b6e4=_0x9488ec[0x3],_0x1a818b=_0x9488ec[0x4],_0x16a1c0=0x0;_0x16a1c0<0x50;_0x16a1c0++){if(_0x16a1c0<0x10)_0x500b08[_0x16a1c0]=_0x7a9214[_0x256c07+_0x16a1c0]|0x0;else{var _0x397887=_0x500b08[_0x16a1c0-0x3]^_0x500b08[_0x16a1c0-0x8]^_0x500b08[_0x16a1c0-0xe]^_0x500b08[_0x16a1c0-0x10];_0x500b08[_0x16a1c0]=_0x397887<<0x1|_0x397887>>>0x1f;}var _0x30aa81=(_0x5a527b<<0x5|_0x5a527b>>>0x1b)+_0x1a818b+_0x500b08[_0x16a1c0];_0x16a1c0<0x14?_0x30aa81+=(_0x9742bc&_0x197464|~_0x9742bc&_0x55b6e4)+0x5a827999:_0x16a1c0<0x28?_0x30aa81+=(_0x9742bc^_0x197464^_0x55b6e4)+0x6ed9eba1:_0x16a1c0<0x3c?_0x30aa81+=(_0x9742bc&_0x197464|_0x9742bc&_0x55b6e4|_0x197464&_0x55b6e4)-0x70e44324:_0x30aa81+=(_0x9742bc^_0x197464^_0x55b6e4)-0x359d3e2a,_0x1a818b=_0x55b6e4,_0x55b6e4=_0x197464,_0x197464=_0x9742bc<<0x1e|_0x9742bc>>>0x2,_0x9742bc=_0x5a527b,_0x5a527b=_0x30aa81;}_0x9488ec[0x0]=_0x9488ec[0x0]+_0x5a527b|0x0,_0x9488ec[0x1]=_0x9488ec[0x1]+_0x9742bc|0x0,_0x9488ec[0x2]=_0x9488ec[0x2]+_0x197464|0x0,_0x9488ec[0x3]=_0x9488ec[0x3]+_0x55b6e4|0x0,_0x9488ec[0x4]=_0x9488ec[0x4]+_0x1a818b|0x0;},'_doFinalize':function(){const _0x22bb45=_0x35d49e;var _0x147173=this['_data'],_0x108a06=_0x147173['words'],_0x149fb2=this['_nDataBytes']*0x8,_0x58f281=_0x147173[_0x22bb45(0x338)]*0x8;return _0x108a06[_0x58f281>>>0x5]|=0x80<<0x18-_0x58f281%0x20,_0x108a06[(_0x58f281+0x40>>>0x9<<0x4)+0xe]=Math[_0x22bb45(0x2da)](_0x149fb2/0x100000000),_0x108a06[(_0x58f281+0x40>>>0x9<<0x4)+0xf]=_0x149fb2,_0x147173[_0x22bb45(0x338)]=_0x108a06[_0x22bb45(0x5aa)]*0x4,this[_0x22bb45(0x55f)](),this[_0x22bb45(0x1c2)];},'clone':function(){const _0x4b5a3e=_0x35d49e;var _0x3911e1=_0x2761f1[_0x4b5a3e(0x2e2)][_0x4b5a3e(0x451)](this);return _0x3911e1[_0x4b5a3e(0x1c2)]=this[_0x4b5a3e(0x1c2)][_0x4b5a3e(0x2e2)](),_0x3911e1;}});_0x5c4cc9[_0x35d49e(0x449)]=_0x2761f1[_0x35d49e(0x5f3)](_0x3581e9),_0x5c4cc9[_0x35d49e(0x4c2)]=_0x2761f1[_0x35d49e(0x44f)](_0x3581e9);}()),_0x629951[_0x15b43c(0x449)];}));}(_0x5cab66)),_0x5cab66['exports'];}var _0x1b9a70={'exports':{}},_0x46bb83;function _0xfcddd2(){const _0x2756fd=_0x494bb3;return _0x46bb83||(_0x46bb83=0x1,function(_0x4e5976,_0x52afd5){(function(_0x466bd5,_0x1a1365){const _0x13cb4d=_0x50cf;_0x4e5976[_0x13cb4d(0x589)]=_0x1a1365(_0x2e72f8());}(_0x1aae94,function(_0x4f153d){(function(){const _0x19f3b0=_0x50cf;var _0x1421a2=_0x4f153d,_0x2332d4=_0x1421a2[_0x19f3b0(0x483)],_0x28d970=_0x2332d4[_0x19f3b0(0x1f7)],_0x5b3325=_0x1421a2[_0x19f3b0(0x5e9)],_0x16190a=_0x5b3325[_0x19f3b0(0x429)],_0x3751f1=_0x1421a2[_0x19f3b0(0x54f)];_0x3751f1['HMAC']=_0x28d970[_0x19f3b0(0x3d1)]({'init':function(_0x3089b0,_0x200c15){const _0xf7fd5d=_0x19f3b0;_0x3089b0=this['_hasher']=new _0x3089b0[(_0xf7fd5d(0x4bc))](),typeof _0x200c15==_0xf7fd5d(0x56d)&&(_0x200c15=_0x16190a[_0xf7fd5d(0x40c)](_0x200c15));var _0x23d558=_0x3089b0[_0xf7fd5d(0x2f5)],_0xf26290=_0x23d558*0x4;_0x200c15[_0xf7fd5d(0x338)]>_0xf26290&&(_0x200c15=_0x3089b0['finalize'](_0x200c15)),_0x200c15[_0xf7fd5d(0x1b2)]();for(var _0xe4576=this['_oKey']=_0x200c15[_0xf7fd5d(0x2e2)](),_0x2d978e=this[_0xf7fd5d(0x59f)]=_0x200c15[_0xf7fd5d(0x2e2)](),_0x4c6018=_0xe4576['words'],_0xbbad07=_0x2d978e[_0xf7fd5d(0x50b)],_0x1bab9a=0x0;_0x1bab9a<_0x23d558;_0x1bab9a++)_0x4c6018[_0x1bab9a]^=0x5c5c5c5c,_0xbbad07[_0x1bab9a]^=0x36363636;_0xe4576[_0xf7fd5d(0x338)]=_0x2d978e['sigBytes']=_0xf26290,this[_0xf7fd5d(0x3db)]();},'reset':function(){const _0x15b58e=_0x19f3b0;var _0x208e66=this[_0x15b58e(0x3d2)];_0x208e66[_0x15b58e(0x3db)](),_0x208e66[_0x15b58e(0x3c8)](this[_0x15b58e(0x59f)]);},'update':function(_0x60c7dd){const _0x1ebdd8=_0x19f3b0;return this[_0x1ebdd8(0x3d2)][_0x1ebdd8(0x3c8)](_0x60c7dd),this;},'finalize':function(_0x475df3){const _0x198d3e=_0x19f3b0;var _0x24f5c6=this[_0x198d3e(0x3d2)],_0x4897f2=_0x24f5c6[_0x198d3e(0x419)](_0x475df3);_0x24f5c6[_0x198d3e(0x3db)]();var _0x55cb82=_0x24f5c6[_0x198d3e(0x419)](this['_oKey'][_0x198d3e(0x2e2)]()[_0x198d3e(0x291)](_0x4897f2));return _0x55cb82;}});}());}));}(_0x1b9a70)),_0x1b9a70[_0x2756fd(0x589)];}var _0x5973ad;function _0x36d318(){return _0x5973ad||(_0x5973ad=0x1,function(_0x4a8cf2,_0x1bcb4a){(function(_0x34d66f,_0x41a4b8,_0x5bff6a){const _0x3c96f5=_0x50cf;_0x4a8cf2[_0x3c96f5(0x589)]=_0x41a4b8(_0x2e72f8(),_0x4c6c09(),_0xfcddd2());}(_0x1aae94,function(_0x217323){return(function(){const _0x1518b0=_0x50cf;var _0x34017b=_0x217323,_0x1708fa=_0x34017b[_0x1518b0(0x483)],_0x4c2aeb=_0x1708fa['Base'],_0x2e23b7=_0x1708fa[_0x1518b0(0x188)],_0x388ff3=_0x34017b['algo'],_0x405e40=_0x388ff3[_0x1518b0(0x53e)],_0xe1470e=_0x388ff3[_0x1518b0(0x591)]=_0x4c2aeb[_0x1518b0(0x3d1)]({'cfg':_0x4c2aeb['extend']({'keySize':0x80/0x20,'hasher':_0x405e40,'iterations':0x1}),'init':function(_0x499f38){const _0x2016ae=_0x1518b0;this[_0x2016ae(0x245)]=this[_0x2016ae(0x245)][_0x2016ae(0x3d1)](_0x499f38);},'compute':function(_0x5a5826,_0xae766a){const _0x53cbe1=_0x1518b0;for(var _0x29abc8,_0x50ee9d=this[_0x53cbe1(0x245)],_0x347638=_0x50ee9d['hasher'][_0x53cbe1(0x2e4)](),_0x49f601=_0x2e23b7['create'](),_0x376c37=_0x49f601[_0x53cbe1(0x50b)],_0x225ccb=_0x50ee9d['keySize'],_0x2d2e36=_0x50ee9d[_0x53cbe1(0x320)];_0x376c37['length']<_0x225ccb;){_0x29abc8&&_0x347638['update'](_0x29abc8),_0x29abc8=_0x347638['update'](_0x5a5826)[_0x53cbe1(0x419)](_0xae766a),_0x347638[_0x53cbe1(0x3db)]();for(var _0x2180b1=0x1;_0x2180b1<_0x2d2e36;_0x2180b1++)_0x29abc8=_0x347638[_0x53cbe1(0x419)](_0x29abc8),_0x347638['reset']();_0x49f601[_0x53cbe1(0x291)](_0x29abc8);}return _0x49f601[_0x53cbe1(0x338)]=_0x225ccb*0x4,_0x49f601;}});_0x34017b['EvpKDF']=function(_0xfc1b50,_0x2a4166,_0x87dd6){const _0x164817=_0x1518b0;return _0xe1470e[_0x164817(0x2e4)](_0x87dd6)[_0x164817(0x3e3)](_0xfc1b50,_0x2a4166);};}()),_0x217323['EvpKDF'];}));}(_0x4af300)),_0x4af300['exports'];}var _0x55d282={'exports':{}},_0x5c9e7c;function _0x229862(){return _0x5c9e7c||(_0x5c9e7c=0x1,function(_0x1da0fb,_0x4f2561){(function(_0x1d6280,_0x4d1580,_0x5e4031){const _0x291efe=_0x50cf;_0x1da0fb[_0x291efe(0x589)]=_0x4d1580(_0x2e72f8(),_0x36d318());}(_0x1aae94,function(_0x5dc9ac){const _0x51aa1e=_0x50cf;_0x5dc9ac[_0x51aa1e(0x483)][_0x51aa1e(0x574)]||function(_0x394cca){const _0x5667fb=_0x51aa1e;var _0x1a1ca1=_0x5dc9ac,_0xb62c87=_0x1a1ca1[_0x5667fb(0x483)],_0x5af557=_0xb62c87[_0x5667fb(0x1f7)],_0x99e0cc=_0xb62c87['WordArray'],_0x4e417a=_0xb62c87[_0x5667fb(0x2ad)],_0x5d0495=_0x1a1ca1[_0x5667fb(0x5e9)];_0x5d0495[_0x5667fb(0x429)];var _0x2a656f=_0x5d0495[_0x5667fb(0x5fd)],_0x4b0ebe=_0x1a1ca1['algo'],_0x353877=_0x4b0ebe[_0x5667fb(0x591)],_0x22b389=_0xb62c87['Cipher']=_0x4e417a[_0x5667fb(0x3d1)]({'cfg':_0x5af557['extend'](),'createEncryptor':function(_0x79fb94,_0x3e1807){const _0x53e049=_0x5667fb;return this['create'](this[_0x53e049(0x4d3)],_0x79fb94,_0x3e1807);},'createDecryptor':function(_0x5c01ad,_0x12438d){const _0x50f716=_0x5667fb;return this[_0x50f716(0x2e4)](this[_0x50f716(0x435)],_0x5c01ad,_0x12438d);},'init':function(_0xe4e3d1,_0x26ec1c,_0x3ff11a){const _0x217647=_0x5667fb;this[_0x217647(0x245)]=this[_0x217647(0x245)]['extend'](_0x3ff11a),this[_0x217647(0x510)]=_0xe4e3d1,this['_key']=_0x26ec1c,this[_0x217647(0x3db)]();},'reset':function(){const _0x366505=_0x5667fb;_0x4e417a[_0x366505(0x3db)][_0x366505(0x451)](this),this[_0x366505(0x523)]();},'process':function(_0x5b6340){const _0x323334=_0x5667fb;return this[_0x323334(0x4bf)](_0x5b6340),this['_process']();},'finalize':function(_0x1371ab){const _0x247c96=_0x5667fb;_0x1371ab&&this['_append'](_0x1371ab);var _0x199f5c=this[_0x247c96(0x1c6)]();return _0x199f5c;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x46004d(_0x572626){const _0xfce33f=_0x50cf;return typeof _0x572626==_0xfce33f(0x56d)?_0x232aa3:_0x3e15e5;}return function(_0x35a257){return{'encrypt':function(_0x45e9e8,_0x43a5ec,_0x3eba4a){const _0x478f53=_0x50cf;return _0x46004d(_0x43a5ec)[_0x478f53(0x36d)](_0x35a257,_0x45e9e8,_0x43a5ec,_0x3eba4a);},'decrypt':function(_0x4d1126,_0x4900c4,_0x57b4bc){return _0x46004d(_0x4900c4)['decrypt'](_0x35a257,_0x4d1126,_0x4900c4,_0x57b4bc);}};};}())});_0xb62c87[_0x5667fb(0x27d)]=_0x22b389['extend']({'_doFinalize':function(){const _0x4b36e0=_0x5667fb;var _0x10d3e7=this[_0x4b36e0(0x55f)](!0x0);return _0x10d3e7;},'blockSize':0x1});var _0x1d5f6a=_0x1a1ca1[_0x5667fb(0x281)]={},_0x5d44b4=_0xb62c87[_0x5667fb(0x349)]=_0x5af557[_0x5667fb(0x3d1)]({'createEncryptor':function(_0x1699fb,_0x40a515){const _0x2d45b1=_0x5667fb;return this[_0x2d45b1(0x29d)]['create'](_0x1699fb,_0x40a515);},'createDecryptor':function(_0x531554,_0x431f36){const _0x1d9ba4=_0x5667fb;return this['Decryptor'][_0x1d9ba4(0x2e4)](_0x531554,_0x431f36);},'init':function(_0xa6af49,_0x355653){const _0xf4134a=_0x5667fb;this[_0xf4134a(0x207)]=_0xa6af49,this[_0xf4134a(0x4d2)]=_0x355653;}}),_0xa02afe=_0x1d5f6a['CBC']=(function(){const _0x4e31e7=_0x5667fb;var _0x349270=_0x5d44b4[_0x4e31e7(0x3d1)]();_0x349270[_0x4e31e7(0x29d)]=_0x349270[_0x4e31e7(0x3d1)]({'processBlock':function(_0x31f7f1,_0x4e4006){const _0x27fd39=_0x4e31e7;var _0x357897=this[_0x27fd39(0x207)],_0x531ec0=_0x357897['blockSize'];_0x3c4f0c['call'](this,_0x31f7f1,_0x4e4006,_0x531ec0),_0x357897[_0x27fd39(0x293)](_0x31f7f1,_0x4e4006),this['_prevBlock']=_0x31f7f1['slice'](_0x4e4006,_0x4e4006+_0x531ec0);}}),_0x349270[_0x4e31e7(0x2a8)]=_0x349270[_0x4e31e7(0x3d1)]({'processBlock':function(_0x47bd1e,_0x4132be){const _0x99e23d=_0x4e31e7;var _0x3eb0d4=this[_0x99e23d(0x207)],_0x114793=_0x3eb0d4['blockSize'],_0x21691e=_0x47bd1e[_0x99e23d(0x502)](_0x4132be,_0x4132be+_0x114793);_0x3eb0d4[_0x99e23d(0x4f1)](_0x47bd1e,_0x4132be),_0x3c4f0c[_0x99e23d(0x451)](this,_0x47bd1e,_0x4132be,_0x114793),this[_0x99e23d(0x295)]=_0x21691e;}});function _0x3c4f0c(_0x5be35e,_0x414e5d,_0x179ab7){const _0x621c0f=_0x4e31e7;var _0x4026c2,_0x591659=this[_0x621c0f(0x4d2)];_0x591659?(_0x4026c2=_0x591659,this['_iv']=_0x394cca):_0x4026c2=this[_0x621c0f(0x295)];for(var _0x319269=0x0;_0x319269<_0x179ab7;_0x319269++)_0x5be35e[_0x414e5d+_0x319269]^=_0x4026c2[_0x319269];}return _0x349270;}()),_0x56c794=_0x1a1ca1['pad']={},_0x410625=_0x56c794[_0x5667fb(0x40e)]={'pad':function(_0x23ffa6,_0xf19039){const _0x5d32fd=_0x5667fb;for(var _0x512693=_0xf19039*0x4,_0x10ac1b=_0x512693-_0x23ffa6['sigBytes']%_0x512693,_0x557aac=_0x10ac1b<<0x18|_0x10ac1b<<0x10|_0x10ac1b<<0x8|_0x10ac1b,_0x3feadc=[],_0x4e80e3=0x0;_0x4e80e3<_0x10ac1b;_0x4e80e3+=0x4)_0x3feadc[_0x5d32fd(0x196)](_0x557aac);var _0x4bf787=_0x99e0cc[_0x5d32fd(0x2e4)](_0x3feadc,_0x10ac1b);_0x23ffa6[_0x5d32fd(0x291)](_0x4bf787);},'unpad':function(_0x4bf2b1){const _0x1bc1cb=_0x5667fb;var _0x298e97=_0x4bf2b1[_0x1bc1cb(0x50b)][_0x4bf2b1['sigBytes']-0x1>>>0x2]&0xff;_0x4bf2b1[_0x1bc1cb(0x338)]-=_0x298e97;}};_0xb62c87[_0x5667fb(0x390)]=_0x22b389[_0x5667fb(0x3d1)]({'cfg':_0x22b389[_0x5667fb(0x245)]['extend']({'mode':_0xa02afe,'padding':_0x410625}),'reset':function(){const _0x27365e=_0x5667fb;var _0x3e26fc;_0x22b389[_0x27365e(0x3db)]['call'](this);var _0x2db388=this[_0x27365e(0x245)],_0x44d001=_0x2db388['iv'],_0x4a4a8a=_0x2db388[_0x27365e(0x281)];this[_0x27365e(0x510)]==this[_0x27365e(0x4d3)]?_0x3e26fc=_0x4a4a8a['createEncryptor']:(_0x3e26fc=_0x4a4a8a[_0x27365e(0x26b)],this[_0x27365e(0x526)]=0x1),this[_0x27365e(0x583)]&&this['_mode']['__creator']==_0x3e26fc?this[_0x27365e(0x583)][_0x27365e(0x4bc)](this,_0x44d001&&_0x44d001[_0x27365e(0x50b)]):(this[_0x27365e(0x583)]=_0x3e26fc[_0x27365e(0x451)](_0x4a4a8a,this,_0x44d001&&_0x44d001[_0x27365e(0x50b)]),this[_0x27365e(0x583)][_0x27365e(0x1bb)]=_0x3e26fc);},'_doProcessBlock':function(_0x375a97,_0x55639f){const _0x5abe81=_0x5667fb;this[_0x5abe81(0x583)][_0x5abe81(0x491)](_0x375a97,_0x55639f);},'_doFinalize':function(){const _0x17c9a2=_0x5667fb;var _0x236afd,_0x2933ff=this[_0x17c9a2(0x245)]['padding'];return this[_0x17c9a2(0x510)]==this['_ENC_XFORM_MODE']?(_0x2933ff[_0x17c9a2(0x4a0)](this['_data'],this[_0x17c9a2(0x2f5)]),_0x236afd=this[_0x17c9a2(0x55f)](!0x0)):(_0x236afd=this['_process'](!0x0),_0x2933ff['unpad'](_0x236afd)),_0x236afd;},'blockSize':0x80/0x20});var _0x31f10b=_0xb62c87[_0x5667fb(0x307)]=_0x5af557[_0x5667fb(0x3d1)]({'init':function(_0x300312){const _0x5624e3=_0x5667fb;this[_0x5624e3(0x29e)](_0x300312);},'toString':function(_0x5bf119){const _0x4e1e80=_0x5667fb;return(_0x5bf119||this[_0x4e1e80(0x5a8)])['stringify'](this);}}),_0x425e16=_0x1a1ca1[_0x5667fb(0x1db)]={},_0x2f39f2=_0x425e16[_0x5667fb(0x347)]={'stringify':function(_0x2420f2){const _0x1addb4=_0x5667fb;var _0x1449ca,_0x50c61d=_0x2420f2['ciphertext'],_0x35b09a=_0x2420f2['salt'];return _0x35b09a?_0x1449ca=_0x99e0cc['create']([0x53616c74,0x65645f5f])[_0x1addb4(0x291)](_0x35b09a)[_0x1addb4(0x291)](_0x50c61d):_0x1449ca=_0x50c61d,_0x1449ca['toString'](_0x2a656f);},'parse':function(_0x1a6671){const _0x489e86=_0x5667fb;var _0x146749,_0x2f7bba=_0x2a656f[_0x489e86(0x40c)](_0x1a6671),_0x21f29f=_0x2f7bba['words'];return _0x21f29f[0x0]==0x53616c74&&_0x21f29f[0x1]==0x65645f5f&&(_0x146749=_0x99e0cc[_0x489e86(0x2e4)](_0x21f29f['slice'](0x2,0x4)),_0x21f29f[_0x489e86(0x345)](0x0,0x4),_0x2f7bba['sigBytes']-=0x10),_0x31f10b['create']({'ciphertext':_0x2f7bba,'salt':_0x146749});}},_0x3e15e5=_0xb62c87[_0x5667fb(0x376)]=_0x5af557['extend']({'cfg':_0x5af557[_0x5667fb(0x3d1)]({'format':_0x2f39f2}),'encrypt':function(_0x4870fb,_0x58acb7,_0x983b86,_0x1a9a76){const _0x35e6d3=_0x5667fb;_0x1a9a76=this[_0x35e6d3(0x245)][_0x35e6d3(0x3d1)](_0x1a9a76);var _0x245aa5=_0x4870fb[_0x35e6d3(0x1c1)](_0x983b86,_0x1a9a76),_0x106d45=_0x245aa5['finalize'](_0x58acb7),_0xec5799=_0x245aa5[_0x35e6d3(0x245)];return _0x31f10b[_0x35e6d3(0x2e4)]({'ciphertext':_0x106d45,'key':_0x983b86,'iv':_0xec5799['iv'],'algorithm':_0x4870fb,'mode':_0xec5799['mode'],'padding':_0xec5799[_0x35e6d3(0x52a)],'blockSize':_0x4870fb[_0x35e6d3(0x2f5)],'formatter':_0x1a9a76[_0x35e6d3(0x1db)]});},'decrypt':function(_0x2b7c78,_0xdbbc29,_0x4fd4bc,_0x3ab199){const _0x4c09cd=_0x5667fb;_0x3ab199=this['cfg'][_0x4c09cd(0x3d1)](_0x3ab199),_0xdbbc29=this[_0x4c09cd(0x59c)](_0xdbbc29,_0x3ab199[_0x4c09cd(0x1db)]);var _0x49a134=_0x2b7c78[_0x4c09cd(0x26b)](_0x4fd4bc,_0x3ab199)[_0x4c09cd(0x419)](_0xdbbc29[_0x4c09cd(0x2e3)]);return _0x49a134;},'_parse':function(_0x2e9d1f,_0x597c99){const _0x5d9394=_0x5667fb;return typeof _0x2e9d1f==_0x5d9394(0x56d)?_0x597c99[_0x5d9394(0x40c)](_0x2e9d1f,this):_0x2e9d1f;}}),_0x558532=_0x1a1ca1[_0x5667fb(0x567)]={},_0xf8a8f5=_0x558532[_0x5667fb(0x347)]={'execute':function(_0x5d390f,_0x10dbf7,_0x36ab91,_0x47df27,_0x3731d9){const _0x5cbc36=_0x5667fb;if(_0x47df27||(_0x47df27=_0x99e0cc['random'](0x40/0x8)),_0x3731d9)var _0x3e8e25=_0x353877[_0x5cbc36(0x2e4)]({'keySize':_0x10dbf7+_0x36ab91,'hasher':_0x3731d9})[_0x5cbc36(0x3e3)](_0x5d390f,_0x47df27);else var _0x3e8e25=_0x353877[_0x5cbc36(0x2e4)]({'keySize':_0x10dbf7+_0x36ab91})[_0x5cbc36(0x3e3)](_0x5d390f,_0x47df27);var _0x3a3029=_0x99e0cc[_0x5cbc36(0x2e4)](_0x3e8e25['words']['slice'](_0x10dbf7),_0x36ab91*0x4);return _0x3e8e25['sigBytes']=_0x10dbf7*0x4,_0x31f10b[_0x5cbc36(0x2e4)]({'key':_0x3e8e25,'iv':_0x3a3029,'salt':_0x47df27});}},_0x232aa3=_0xb62c87[_0x5667fb(0x227)]=_0x3e15e5['extend']({'cfg':_0x3e15e5[_0x5667fb(0x245)]['extend']({'kdf':_0xf8a8f5}),'encrypt':function(_0x449dd1,_0x26ca58,_0x5ba8fb,_0x55e62c){const _0x23d675=_0x5667fb;_0x55e62c=this['cfg']['extend'](_0x55e62c);var _0x15e5a9=_0x55e62c[_0x23d675(0x567)]['execute'](_0x5ba8fb,_0x449dd1[_0x23d675(0x203)],_0x449dd1[_0x23d675(0x373)],_0x55e62c[_0x23d675(0x1a8)],_0x55e62c[_0x23d675(0x54b)]);_0x55e62c['iv']=_0x15e5a9['iv'];var _0x1ec398=_0x3e15e5[_0x23d675(0x36d)][_0x23d675(0x451)](this,_0x449dd1,_0x26ca58,_0x15e5a9[_0x23d675(0x272)],_0x55e62c);return _0x1ec398['mixIn'](_0x15e5a9),_0x1ec398;},'decrypt':function(_0x4fc113,_0x44faab,_0xfec927,_0x22eb02){const _0x3d5230=_0x5667fb;_0x22eb02=this[_0x3d5230(0x245)][_0x3d5230(0x3d1)](_0x22eb02),_0x44faab=this['_parse'](_0x44faab,_0x22eb02[_0x3d5230(0x1db)]);var _0x2750bb=_0x22eb02[_0x3d5230(0x567)][_0x3d5230(0x259)](_0xfec927,_0x4fc113[_0x3d5230(0x203)],_0x4fc113[_0x3d5230(0x373)],_0x44faab['salt'],_0x22eb02[_0x3d5230(0x54b)]);_0x22eb02['iv']=_0x2750bb['iv'];var _0x37bbc8=_0x3e15e5['decrypt'][_0x3d5230(0x451)](this,_0x4fc113,_0x44faab,_0x2750bb[_0x3d5230(0x272)],_0x22eb02);return _0x37bbc8;}});}();}));}(_0x55d282)),_0x55d282['exports'];}(function(_0x2e649f,_0x38dd46){(function(_0x492416,_0x3c83a9,_0x333642){const _0x4435bc=_0x50cf;_0x2e649f[_0x4435bc(0x589)]=_0x3c83a9(_0x2e72f8(),_0x6e8aa3(),_0x4cef5f(),_0x36d318(),_0x229862());}(_0x1aae94,function(_0x75fc5e){return(function(){const _0x3b7cf9=_0x50cf;var _0x516a31=_0x75fc5e,_0x272d86=_0x516a31[_0x3b7cf9(0x483)],_0x5e2594=_0x272d86[_0x3b7cf9(0x390)],_0x21363e=_0x516a31[_0x3b7cf9(0x54f)],_0x3b44f9=[],_0x11b9d8=[],_0x1bd9d6=[],_0xc7d8fd=[],_0x2bbace=[],_0x376b80=[],_0x34f279=[],_0x1628f9=[],_0x32c47=[],_0x25928a=[];(function(){for(var _0x25b092=[],_0x457f11=0x0;_0x457f11<0x100;_0x457f11++)_0x457f11<0x80?_0x25b092[_0x457f11]=_0x457f11<<0x1:_0x25b092[_0x457f11]=_0x457f11<<0x1^0x11b;for(var _0x347d0c=0x0,_0x1525aa=0x0,_0x457f11=0x0;_0x457f11<0x100;_0x457f11++){var _0x43642b=_0x1525aa^_0x1525aa<<0x1^_0x1525aa<<0x2^_0x1525aa<<0x3^_0x1525aa<<0x4;_0x43642b=_0x43642b>>>0x8^_0x43642b&0xff^0x63,_0x3b44f9[_0x347d0c]=_0x43642b,_0x11b9d8[_0x43642b]=_0x347d0c;var _0x173180=_0x25b092[_0x347d0c],_0xa4e064=_0x25b092[_0x173180],_0x524302=_0x25b092[_0xa4e064],_0xe156b2=_0x25b092[_0x43642b]*0x101^_0x43642b*0x1010100;_0x1bd9d6[_0x347d0c]=_0xe156b2<<0x18|_0xe156b2>>>0x8,_0xc7d8fd[_0x347d0c]=_0xe156b2<<0x10|_0xe156b2>>>0x10,_0x2bbace[_0x347d0c]=_0xe156b2<<0x8|_0xe156b2>>>0x18,_0x376b80[_0x347d0c]=_0xe156b2;var _0xe156b2=_0x524302*0x1010101^_0xa4e064*0x10001^_0x173180*0x101^_0x347d0c*0x1010100;_0x34f279[_0x43642b]=_0xe156b2<<0x18|_0xe156b2>>>0x8,_0x1628f9[_0x43642b]=_0xe156b2<<0x10|_0xe156b2>>>0x10,_0x32c47[_0x43642b]=_0xe156b2<<0x8|_0xe156b2>>>0x18,_0x25928a[_0x43642b]=_0xe156b2,_0x347d0c?(_0x347d0c=_0x173180^_0x25b092[_0x25b092[_0x25b092[_0x524302^_0x173180]]],_0x1525aa^=_0x25b092[_0x25b092[_0x1525aa]]):_0x347d0c=_0x1525aa=0x1;}}());var _0x2c0c71=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x45e27d=_0x21363e['AES']=_0x5e2594[_0x3b7cf9(0x3d1)]({'_doReset':function(){const _0x6e855e=_0x3b7cf9;var _0x455bff;if(!(this['_nRounds']&&this[_0x6e855e(0x1ac)]===this[_0x6e855e(0x32b)])){for(var _0x3b6f5e=this[_0x6e855e(0x1ac)]=this['_key'],_0x27ea12=_0x3b6f5e[_0x6e855e(0x50b)],_0x1fb976=_0x3b6f5e[_0x6e855e(0x338)]/0x4,_0x1c3013=this[_0x6e855e(0x3ce)]=_0x1fb976+0x6,_0x12e9c2=(_0x1c3013+0x1)*0x4,_0x3363eb=this[_0x6e855e(0x5ca)]=[],_0x1f6af7=0x0;_0x1f6af7<_0x12e9c2;_0x1f6af7++)_0x1f6af7<_0x1fb976?_0x3363eb[_0x1f6af7]=_0x27ea12[_0x1f6af7]:(_0x455bff=_0x3363eb[_0x1f6af7-0x1],_0x1f6af7%_0x1fb976?_0x1fb976>0x6&&_0x1f6af7%_0x1fb976==0x4&&(_0x455bff=_0x3b44f9[_0x455bff>>>0x18]<<0x18|_0x3b44f9[_0x455bff>>>0x10&0xff]<<0x10|_0x3b44f9[_0x455bff>>>0x8&0xff]<<0x8|_0x3b44f9[_0x455bff&0xff]):(_0x455bff=_0x455bff<<0x8|_0x455bff>>>0x18,_0x455bff=_0x3b44f9[_0x455bff>>>0x18]<<0x18|_0x3b44f9[_0x455bff>>>0x10&0xff]<<0x10|_0x3b44f9[_0x455bff>>>0x8&0xff]<<0x8|_0x3b44f9[_0x455bff&0xff],_0x455bff^=_0x2c0c71[_0x1f6af7/_0x1fb976|0x0]<<0x18),_0x3363eb[_0x1f6af7]=_0x3363eb[_0x1f6af7-_0x1fb976]^_0x455bff);for(var _0xeaaeae=this['_invKeySchedule']=[],_0x4d5582=0x0;_0x4d5582<_0x12e9c2;_0x4d5582++){var _0x1f6af7=_0x12e9c2-_0x4d5582;if(_0x4d5582%0x4)var _0x455bff=_0x3363eb[_0x1f6af7];else var _0x455bff=_0x3363eb[_0x1f6af7-0x4];_0x4d5582<0x4||_0x1f6af7<=0x4?_0xeaaeae[_0x4d5582]=_0x455bff:_0xeaaeae[_0x4d5582]=_0x34f279[_0x3b44f9[_0x455bff>>>0x18]]^_0x1628f9[_0x3b44f9[_0x455bff>>>0x10&0xff]]^_0x32c47[_0x3b44f9[_0x455bff>>>0x8&0xff]]^_0x25928a[_0x3b44f9[_0x455bff&0xff]];}}},'encryptBlock':function(_0x445d00,_0x112706){const _0x3d8a4b=_0x3b7cf9;this[_0x3d8a4b(0x354)](_0x445d00,_0x112706,this[_0x3d8a4b(0x5ca)],_0x1bd9d6,_0xc7d8fd,_0x2bbace,_0x376b80,_0x3b44f9);},'decryptBlock':function(_0x927729,_0x12fa18){const _0x278d50=_0x3b7cf9;var _0x149621=_0x927729[_0x12fa18+0x1];_0x927729[_0x12fa18+0x1]=_0x927729[_0x12fa18+0x3],_0x927729[_0x12fa18+0x3]=_0x149621,this['_doCryptBlock'](_0x927729,_0x12fa18,this[_0x278d50(0x21a)],_0x34f279,_0x1628f9,_0x32c47,_0x25928a,_0x11b9d8);var _0x149621=_0x927729[_0x12fa18+0x1];_0x927729[_0x12fa18+0x1]=_0x927729[_0x12fa18+0x3],_0x927729[_0x12fa18+0x3]=_0x149621;},'_doCryptBlock':function(_0x2a8f5f,_0x305910,_0x66461e,_0x1e5b48,_0x300b4c,_0x2f52f7,_0x964665,_0x4ef5b7){const _0x323635=_0x3b7cf9;for(var _0x8a5d58=this[_0x323635(0x3ce)],_0x4ab26c=_0x2a8f5f[_0x305910]^_0x66461e[0x0],_0x1cd693=_0x2a8f5f[_0x305910+0x1]^_0x66461e[0x1],_0x5f08b6=_0x2a8f5f[_0x305910+0x2]^_0x66461e[0x2],_0x266cfc=_0x2a8f5f[_0x305910+0x3]^_0x66461e[0x3],_0x4a8dba=0x4,_0x18e750=0x1;_0x18e750<_0x8a5d58;_0x18e750++){var _0x14b854=_0x1e5b48[_0x4ab26c>>>0x18]^_0x300b4c[_0x1cd693>>>0x10&0xff]^_0x2f52f7[_0x5f08b6>>>0x8&0xff]^_0x964665[_0x266cfc&0xff]^_0x66461e[_0x4a8dba++],_0x37e0ec=_0x1e5b48[_0x1cd693>>>0x18]^_0x300b4c[_0x5f08b6>>>0x10&0xff]^_0x2f52f7[_0x266cfc>>>0x8&0xff]^_0x964665[_0x4ab26c&0xff]^_0x66461e[_0x4a8dba++],_0x5ebc89=_0x1e5b48[_0x5f08b6>>>0x18]^_0x300b4c[_0x266cfc>>>0x10&0xff]^_0x2f52f7[_0x4ab26c>>>0x8&0xff]^_0x964665[_0x1cd693&0xff]^_0x66461e[_0x4a8dba++],_0x4f96a3=_0x1e5b48[_0x266cfc>>>0x18]^_0x300b4c[_0x4ab26c>>>0x10&0xff]^_0x2f52f7[_0x1cd693>>>0x8&0xff]^_0x964665[_0x5f08b6&0xff]^_0x66461e[_0x4a8dba++];_0x4ab26c=_0x14b854,_0x1cd693=_0x37e0ec,_0x5f08b6=_0x5ebc89,_0x266cfc=_0x4f96a3;}var _0x14b854=(_0x4ef5b7[_0x4ab26c>>>0x18]<<0x18|_0x4ef5b7[_0x1cd693>>>0x10&0xff]<<0x10|_0x4ef5b7[_0x5f08b6>>>0x8&0xff]<<0x8|_0x4ef5b7[_0x266cfc&0xff])^_0x66461e[_0x4a8dba++],_0x37e0ec=(_0x4ef5b7[_0x1cd693>>>0x18]<<0x18|_0x4ef5b7[_0x5f08b6>>>0x10&0xff]<<0x10|_0x4ef5b7[_0x266cfc>>>0x8&0xff]<<0x8|_0x4ef5b7[_0x4ab26c&0xff])^_0x66461e[_0x4a8dba++],_0x5ebc89=(_0x4ef5b7[_0x5f08b6>>>0x18]<<0x18|_0x4ef5b7[_0x266cfc>>>0x10&0xff]<<0x10|_0x4ef5b7[_0x4ab26c>>>0x8&0xff]<<0x8|_0x4ef5b7[_0x1cd693&0xff])^_0x66461e[_0x4a8dba++],_0x4f96a3=(_0x4ef5b7[_0x266cfc>>>0x18]<<0x18|_0x4ef5b7[_0x4ab26c>>>0x10&0xff]<<0x10|_0x4ef5b7[_0x1cd693>>>0x8&0xff]<<0x8|_0x4ef5b7[_0x5f08b6&0xff])^_0x66461e[_0x4a8dba++];_0x2a8f5f[_0x305910]=_0x14b854,_0x2a8f5f[_0x305910+0x1]=_0x37e0ec,_0x2a8f5f[_0x305910+0x2]=_0x5ebc89,_0x2a8f5f[_0x305910+0x3]=_0x4f96a3;},'keySize':0x100/0x20});_0x516a31['AES']=_0x5e2594[_0x3b7cf9(0x5f3)](_0x45e27d);}()),_0x75fc5e['AES'];}));}(_0x13e719));var _0x399b9d=_0x13e719['exports'];const _0x3eed45=_0x21900c(_0x399b9d);var _0x4be678=_0x6e8aa3();const _0x9485ec=_0x21900c(_0x4be678);var _0x4447d3={'exports':{}};(function(_0x3a212e,_0x54b8ab){(function(_0x129ac8,_0x4a2b8d){const _0x439c6c=_0x50cf;_0x3a212e[_0x439c6c(0x589)]=_0x4a2b8d(_0x2e72f8());}(_0x1aae94,function(_0x5e8ed5){const _0x1e1b1e=_0x50cf;return _0x5e8ed5[_0x1e1b1e(0x5e9)][_0x1e1b1e(0x429)];}));}(_0x4447d3));var _0x50b0fe=_0x4447d3[_0x494bb3(0x589)];const _0x3ecd8e=_0x21900c(_0x50b0fe);var _0x270f29={'exports':{}};(function(_0x508b99,_0x59055e){(function(_0x179364,_0x4e1c26){_0x508b99['exports']=_0x4e1c26(_0x2e72f8());}(_0x1aae94,function(_0x11a986){const _0xed8936=_0x50cf;return(function(){const _0x558b6e=_0x50cf;if(typeof ArrayBuffer==_0x558b6e(0x4c1)){var _0x47a2f8=_0x11a986,_0x3fc5ca=_0x47a2f8[_0x558b6e(0x483)],_0x69caca=_0x3fc5ca['WordArray'],_0x244ef8=_0x69caca['init'],_0x2cb205=_0x69caca[_0x558b6e(0x4bc)]=function(_0x31fdb8){const _0x5ad599=_0x558b6e;if(_0x31fdb8 instanceof ArrayBuffer&&(_0x31fdb8=new Uint8Array(_0x31fdb8)),(_0x31fdb8 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x31fdb8 instanceof Uint8ClampedArray||_0x31fdb8 instanceof Int16Array||_0x31fdb8 instanceof Uint16Array||_0x31fdb8 instanceof Int32Array||_0x31fdb8 instanceof Uint32Array||_0x31fdb8 instanceof Float32Array||_0x31fdb8 instanceof Float64Array)&&(_0x31fdb8=new Uint8Array(_0x31fdb8['buffer'],_0x31fdb8[_0x5ad599(0x392)],_0x31fdb8[_0x5ad599(0x15d)])),_0x31fdb8 instanceof Uint8Array){for(var _0x3b52cb=_0x31fdb8[_0x5ad599(0x15d)],_0x2f2f4c=[],_0x3e9905=0x0;_0x3e9905<_0x3b52cb;_0x3e9905++)_0x2f2f4c[_0x3e9905>>>0x2]|=_0x31fdb8[_0x3e9905]<<0x18-_0x3e9905%0x4*0x8;_0x244ef8['call'](this,_0x2f2f4c,_0x3b52cb);}else _0x244ef8[_0x5ad599(0x476)](this,arguments);};_0x2cb205[_0x558b6e(0x37f)]=_0x69caca;}}()),_0x11a986[_0xed8936(0x483)][_0xed8936(0x188)];}));}(_0x270f29));var _0x2bcf98=_0x270f29[_0x494bb3(0x589)];const _0x44d572=_0x21900c(_0x2bcf98);var _0x5f47bf={'exports':{}};(function(_0x32474f,_0x54db4c){(function(_0x17b25d,_0x38abf5,_0x4b9c94){_0x32474f['exports']=_0x38abf5(_0x2e72f8(),_0x229862());}(_0x1aae94,function(_0x23fa74){const _0x54a79a=_0x50cf;return _0x23fa74[_0x54a79a(0x4a0)][_0x54a79a(0x374)]={'pad':function(){},'unpad':function(){}},_0x23fa74[_0x54a79a(0x4a0)][_0x54a79a(0x374)];}));}(_0x5f47bf));var _0x542d06=_0x5f47bf[_0x494bb3(0x589)];const _0x4d5d1a=_0x21900c(_0x542d06);function _0xfb6580(_0x44cd30,_0x2eb526){const _0x469ea2=_0x494bb3,_0x1e0627=_0x2eb526-_0x44cd30['length']%_0x2eb526,_0x407d2b=String[_0x469ea2(0x167)](_0x1e0627)['repeat'](_0x1e0627);return _0x44cd30+_0x407d2b;}function _0x46b465(_0x37667e,_0x30dc52){const _0x49192e=_0x494bb3,_0x338383=_0x44d572[_0x49192e(0x182)](0x10),_0x194877=_0xfb6580(_0x37667e,0x10),_0xcef403=_0x3eed45[_0x49192e(0x36d)](_0x3ecd8e[_0x49192e(0x40c)](_0x194877),_0x9485ec[_0x49192e(0x40c)](_0x30dc52),{'iv':_0x338383,'padding':_0x4d5d1a});return _0x338383[_0x49192e(0x291)](_0xcef403['ciphertext'])['toString'](_0x9485ec);}function _0xc5b39e(){const _0x1167f6=_0x494bb3,_0x18d99c=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x1167f6(0x46d)];if(_0x18d99c){const _0x143dcb={'time':Math[_0x1167f6(0x2da)](Date[_0x1167f6(0x280)]()/0x3e8),'domain':location[_0x1167f6(0x45f)]};return _0x46b465(JSON[_0x1167f6(0x58b)](_0x143dcb),_0x18d99c);}}var _0x1e8a57=Object['defineProperty'],_0x27f668=Object['getOwnPropertyDescriptor'],_0x90d7db=(_0x2da4e0,_0x5ae9b8,_0x30f0c9,_0x3ec919)=>{const _0x2aac90=_0x494bb3;for(var _0x1952b7=_0x3ec919>0x1?void 0x0:_0x3ec919?_0x27f668(_0x5ae9b8,_0x30f0c9):_0x5ae9b8,_0x717c98=_0x2da4e0[_0x2aac90(0x5aa)]-0x1,_0x28ff40;_0x717c98>=0x0;_0x717c98--)(_0x28ff40=_0x2da4e0[_0x717c98])&&(_0x1952b7=(_0x3ec919?_0x28ff40(_0x5ae9b8,_0x30f0c9,_0x1952b7):_0x28ff40(_0x1952b7))||_0x1952b7);return _0x3ec919&&_0x1952b7&&_0x1e8a57(_0x5ae9b8,_0x30f0c9,_0x1952b7),_0x1952b7;},_0x4b1888=(_0x4099d4,_0x4c7394)=>(_0xd0e356,_0xfbfa83)=>_0x4c7394(_0xd0e356,_0xfbfa83,_0x4099d4);let _0x2c1fac=class{constructor(_0x4f3921){const _0x4e9379=_0x494bb3;this[_0x4e9379(0x5d9)]=_0x4f3921,this[_0x4e9379(0x5d6)]();}['_initRequestHeader'](){const _0x3b5d81=_0x494bb3;this[_0x3b5d81(0x5d9)][_0x3b5d81(0x3a4)]({'interceptor':(_0x37496b,_0x3721d2)=>{const _0x6fd1d1=_0x3b5d81,_0x506078=_0x37496b[_0x6fd1d1(0x309)],_0x2d2c21=_0xc5b39e();return _0x2d2c21&&_0x506078[_0x6fd1d1(0x33d)]('x-univer-host',_0x2d2c21),_0x3721d2(_0x37496b);}});}};_0x2c1fac=_0x90d7db([_0x4b1888(0x0,_0x5a20c3[_0x494bb3(0x57c)](_0x9ed4dd[_0x494bb3(0x22b)]))],_0x2c1fac);var _0x2d1e62=Object[_0x494bb3(0x5f8)],_0x3d4ad4=Object[_0x494bb3(0x51e)],_0x5abe2c=(_0x16bab0,_0xfc2514,_0x3feb2e,_0x3a7efc)=>{const _0x5b50eb=_0x494bb3;for(var _0x20f3fd=_0x3a7efc>0x1?void 0x0:_0x3a7efc?_0x3d4ad4(_0xfc2514,_0x3feb2e):_0xfc2514,_0x250240=_0x16bab0[_0x5b50eb(0x5aa)]-0x1,_0x130ca3;_0x250240>=0x0;_0x250240--)(_0x130ca3=_0x16bab0[_0x250240])&&(_0x20f3fd=(_0x3a7efc?_0x130ca3(_0xfc2514,_0x3feb2e,_0x20f3fd):_0x130ca3(_0x20f3fd))||_0x20f3fd);return _0x3a7efc&&_0x20f3fd&&_0x2d1e62(_0xfc2514,_0x3feb2e,_0x20f3fd),_0x20f3fd;},_0x245eee=(_0x588534,_0x323a41)=>(_0x352707,_0x1ba29d)=>_0x323a41(_0x352707,_0x1ba29d,_0x588534);const _0x78aae8=['image/png',_0x494bb3(0x2a5),_0x494bb3(0x2fd),'image/gif','image/bmp'],_0x207d62=0x5*0x400*0x400,_0x5bd74d=_0x494bb3(0x5c2),_0x2f3855='/universer-api/stream/file/upload',_0x272022=_0x494bb3(0x3be),_0x195407=_0x494bb3(0x1d0);_0x38d423[_0x494bb3(0x2f9)]=class{constructor(_0x1f2cab,_0x541960,_0x5200d4){const _0x282a6b=_0x494bb3;_0x3ed524(this,_0x282a6b(0x209),0x0),_0x3ed524(this,_0x282a6b(0x40f),new _0x32bae4['Subject']()),_0x3ed524(this,_0x282a6b(0x282),this[_0x282a6b(0x40f)]),_0x3ed524(this,_0x282a6b(0x5a2),new Map()),(this['_httpService']=_0x1f2cab,this[_0x282a6b(0x1f1)]=_0x541960,this[_0x282a6b(0x4a7)]=_0x5200d4);}[_0x494bb3(0x233)](_0x4e1d38){const _0x2a08dc=_0x494bb3;this[_0x2a08dc(0x209)]=_0x4e1d38,this[_0x2a08dc(0x40f)][_0x2a08dc(0x5dd)](_0x4e1d38);}[_0x494bb3(0x270)](_0x5cea59,_0x9aa9fb){const _0x381c28=_0x494bb3;if(_0x9aa9fb===_0x152c2e[_0x381c28(0x481)]['BASE64']){const _0x517339=new Image();return _0x517339['src']=_0x5cea59,_0x517339;}return this[_0x381c28(0x5a2)][_0x381c28(0x537)](_0x5cea59);}['addImageSourceCache'](_0x2c4ac4,_0xaf7843,_0x3c1bf7){const _0x2bed83=_0x494bb3;_0xaf7843===_0x152c2e['ImageSourceType'][_0x2bed83(0x36e)]||_0x3c1bf7==null||this['_imageSourceCache'][_0x2bed83(0x33d)](_0x2c4ac4,_0x3c1bf7);}async[_0x494bb3(0x4f3)](_0x211096){const _0x30994e=_0x494bb3;try{const _0x4a386d=this[_0x30994e(0x1e1)](this[_0x30994e(0x531)](),''+_0x211096),_0x8994f9=(await this[_0x30994e(0x5d9)]['get'](_0x4a386d))[_0x30994e(0x271)];if(_0x8994f9['error']&&_0x8994f9['error'][_0x30994e(0x3dd)]===_0x37591c['OK']){const _0x36ade6=new URL(_0x8994f9[_0x30994e(0x1dc)],this[_0x30994e(0x2b1)]())[_0x30994e(0x283)]();return Promise[_0x30994e(0x4c0)](_0x36ade6);}return Promise[_0x30994e(0x4a2)](_0x8994f9[_0x30994e(0x35a)]);}catch(_0x10c91b){return Promise['reject'](_0x10c91b);}}async['saveImage'](_0x23d7f6){const _0x220cbb=_0x494bb3;let _0x25bc71='';if(!_0x78aae8[_0x220cbb(0x1ae)](_0x23d7f6['type']))return this[_0x220cbb(0x4f6)](),Promise[_0x220cbb(0x4a2)](new Error(_0x152c2e[_0x220cbb(0x609)][_0x220cbb(0x35c)]));if(_0x23d7f6['size']>_0x207d62)return this['_decreaseWaiting'](),Promise[_0x220cbb(0x4a2)](new Error(_0x152c2e[_0x220cbb(0x609)][_0x220cbb(0x21e)]));try{const _0x5568db=new FormData();_0x5568db[_0x220cbb(0x37a)](_0x220cbb(0x409),_0x23d7f6);const _0x3b4f67=this[_0x220cbb(0x4a7)][_0x220cbb(0x189)](),_0x6a86fc=_0x3b4f67==null?void 0x0:_0x3b4f67[_0x220cbb(0x4dc)]();if(!_0x6a86fc)throw new Error(_0x220cbb(0x41e));const _0x375ad0=this[_0x220cbb(0x436)]()+_0x220cbb(0x2ba)+_0x23d7f6[_0x220cbb(0x23e)][_0x220cbb(0x283)]()+_0x220cbb(0x5ea)+_0x2aec2f[_0x220cbb(0x157)]+_0x220cbb(0x412)+encodeURIComponent(_0x6a86fc),_0x52e150=await(await fetch(_0x375ad0,{'method':_0x220cbb(0x210),'body':_0x5568db}))[_0x220cbb(0x446)]();if(typeof _0x52e150[_0x220cbb(0x3f9)]!=_0x220cbb(0x56d))return this[_0x220cbb(0x4f6)](),Promise[_0x220cbb(0x4a2)](new Error(_0x152c2e['ImageUploadStatusType']['ERROR_IMAGE']));_0x25bc71=_0x52e150[_0x220cbb(0x3f9)];}catch{return this[_0x220cbb(0x4f6)](),Promise[_0x220cbb(0x4a2)](new Error(_0x152c2e[_0x220cbb(0x609)]['ERROR_IMAGE']));}return new Promise((_0x452a65,_0x142bf1)=>{const _0x16b207=_0x220cbb,_0x298b39=new FileReader();_0x298b39[_0x16b207(0x2fe)](_0x23d7f6),_0x298b39[_0x16b207(0x51d)]=_0x81f948=>{const _0xa18d6=_0x16b207;var _0x1b1b2b;const _0x4fab16=(_0x1b1b2b=_0x81f948[_0xa18d6(0x220)])==null?void 0x0:_0x1b1b2b[_0xa18d6(0x306)];if(_0x4fab16==null){this[_0xa18d6(0x4f6)](),_0x142bf1(new Error(_0x152c2e[_0xa18d6(0x609)][_0xa18d6(0x25a)]));return;}const _0x3cabc5=_0x5a20c3['Tools'][_0xa18d6(0x310)](0x6);_0x452a65({'imageId':_0x3cabc5,'imageSourceType':_0x152c2e[_0xa18d6(0x481)]['UUID'],'source':_0x25bc71,'base64Cache':_0x4fab16,'status':_0x152c2e['ImageUploadStatusType'][_0xa18d6(0x2c6)]}),this[_0xa18d6(0x4f6)]();};});}[_0x494bb3(0x436)](){const _0x5be1e2=_0x494bb3;var _0x42b60e,_0x6b3fbc;const _0x2fb27f=this[_0x5be1e2(0x1f1)][_0x5be1e2(0x19a)](_0x5bd74d),_0x484258=this[_0x5be1e2(0x1f1)][_0x5be1e2(0x19a)](_0x59eaf6);return(_0x6b3fbc=(_0x42b60e=_0x484258==null?void 0x0:_0x484258['uploadFileServerUrl'])!=null?_0x42b60e:_0x2fb27f)!=null?_0x6b3fbc:_0x2f3855;}[_0x494bb3(0x531)](){const _0x253448=_0x494bb3;var _0x4bb39e,_0x20dfab;const _0x2e5a57=this[_0x253448(0x1f1)][_0x253448(0x19a)](_0x272022),_0x1bc87c=this['_configService']['getConfig'](_0x59eaf6);return(_0x20dfab=(_0x4bb39e=_0x1bc87c==null?void 0x0:_0x1bc87c[_0x253448(0x343)])!=null?_0x4bb39e:_0x2e5a57)!=null?_0x20dfab:_0x195407;}[_0x494bb3(0x2b1)](){const _0x17f599=_0x494bb3;var _0x5a8a1d;const _0x131bb5=this[_0x17f599(0x1f1)]['getConfig'](_0x59eaf6);return(_0x5a8a1d=_0x131bb5==null?void 0x0:_0x131bb5[_0x17f599(0x21d)])!=null?_0x5a8a1d:location[_0x17f599(0x169)];}[_0x494bb3(0x1e1)](_0x3f209c,_0x186238){const _0x330363=_0x494bb3;return _0x3f209c['replace'](_0x330363(0x411),_0x186238);}[_0x494bb3(0x4f6)](){const _0x3f27bc=_0x494bb3;this[_0x3f27bc(0x209)]-=0x1,this['_change$'][_0x3f27bc(0x5dd)](this[_0x3f27bc(0x209)]);}},_0x38d423[_0x494bb3(0x2f9)]=_0x5abe2c([_0x245eee(0x0,_0x5a20c3[_0x494bb3(0x57c)](_0x9ed4dd['HTTPService'])),_0x245eee(0x1,_0x5a20c3[_0x494bb3(0x175)]),_0x245eee(0x2,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x17e)]))],_0x38d423[_0x494bb3(0x2f9)]);var _0x52eda5=Object[_0x494bb3(0x5f8)],_0x5cefd0=Object[_0x494bb3(0x51e)],_0xee5879=(_0x35be90,_0x22ae4d,_0x4a8034,_0x1d8b73)=>{const _0x379515=_0x494bb3;for(var _0x318982=_0x1d8b73>0x1?void 0x0:_0x1d8b73?_0x5cefd0(_0x22ae4d,_0x4a8034):_0x22ae4d,_0x275752=_0x35be90[_0x379515(0x5aa)]-0x1,_0x4c8c9a;_0x275752>=0x0;_0x275752--)(_0x4c8c9a=_0x35be90[_0x275752])&&(_0x318982=(_0x1d8b73?_0x4c8c9a(_0x22ae4d,_0x4a8034,_0x318982):_0x4c8c9a(_0x318982))||_0x318982);return _0x1d8b73&&_0x318982&&_0x52eda5(_0x22ae4d,_0x4a8034,_0x318982),_0x318982;},_0x1e9e42=(_0x8d5f51,_0x1fbe3e)=>(_0xb1fb73,_0x933457)=>_0x1fbe3e(_0xb1fb73,_0x933457,_0x8d5f51);let _0x451e92=class extends _0x5a20c3[_0x494bb3(0x3ed)]{constructor(_0x4163a7,_0x31f31c,_0x9cb4,_0x4f47dd,_0x15c6f4){const _0x339524=_0x494bb3;super(),this[_0x339524(0x221)]=_0x4163a7,this['_univerInstanceService']=_0x31f31c,this[_0x339524(0x441)]=_0x9cb4,this[_0x339524(0x57b)]=_0x4f47dd,this[_0x339524(0x26e)]=_0x15c6f4,this[_0x339524(0x363)](),this[_0x339524(0x380)]();}[_0x494bb3(0x380)](){const _0x4b78bf=_0x494bb3,_0x5a4c2f=async _0x5d0307=>{const _0x2dc357=_0x50cf;(await this[_0x2dc357(0x57b)]['requireSession'](_0x5d0307))[_0x2dc357(0x5f6)][_0x2dc357(0x1d4)](_0x51e720[_0x2dc357(0x264)](_0x35c915=>_0x35c915[_0x2dc357(0x383)]===_0x4d11e3[_0x2dc357(0x213)]['SHOULD_CLOSE_CONN']),_0x51e720[_0x2dc357(0x1d1)](this[_0x2dc357(0x5af)]))[_0x2dc357(0x38d)](_0x242c2e=>{const _0x9a2790=_0x2dc357,_0x1a8a0a=_0x242c2e,{reason:_0x4c30e6}=_0x1a8a0a[_0x9a2790(0x5a3)];this[_0x9a2790(0x221)][_0x9a2790(0x537)](_0x33d470['IMessageService'])[_0x9a2790(0x478)]({'type':_0x989dfe[_0x9a2790(0x5f0)]['Error'],'content':this[_0x9a2790(0x26e)]['t']('collaboration.closeRoom')+'('+_0x4c30e6+')'}),this[_0x9a2790(0x441)]['updatePermissionPoint'](new _0x66e3f4[(_0x9a2790(0x35d))](_0x5d0307)['id'],!0x1),this['_collaborationSessionService'][_0x9a2790(0x28d)](_0x5d0307);});};_0x32bae4[_0x4b78bf(0x3fc)](this['_univerInstanceService'][_0x4b78bf(0x465)](_0x5a20c3['UniverInstanceType']['UNIVER_SHEET']),this[_0x4b78bf(0x4a7)][_0x4b78bf(0x465)](_0x5a20c3[_0x4b78bf(0x4c5)][_0x4b78bf(0x512)]))[_0x4b78bf(0x1d4)](_0x51e720[_0x4b78bf(0x48f)](_0x585e02=>_0x585e02[_0x4b78bf(0x4dc)]()),_0x51e720[_0x4b78bf(0x264)](_0x28df02=>!_0x5a20c3['isInternalEditorID'](_0x28df02)),_0x51e720['takeUntil'](this[_0x4b78bf(0x5af)]))[_0x4b78bf(0x38d)](_0x3aeaa3=>{_0x5a4c2f(_0x3aeaa3);});}[_0x494bb3(0x363)](){const _0x21abe0=_0x494bb3,_0x202ce8=async _0x59f691=>{const _0x22bd3=_0x50cf;(await this[_0x22bd3(0x57b)][_0x22bd3(0x3b7)](_0x59f691))[_0x22bd3(0x5f6)][_0x22bd3(0x1d4)](_0x51e720[_0x22bd3(0x264)](_0xf97382=>_0xf97382[_0x22bd3(0x383)]===_0x4d11e3[_0x22bd3(0x213)]['UPDATE_PERMISSION_OBJ']),_0x51e720[_0x22bd3(0x1d1)](this[_0x22bd3(0x5af)]))[_0x22bd3(0x38d)](_0x2b7286=>{const _0x4ee3ae=_0x22bd3,_0x9ef67b=_0x2b7286,{objectId:_0x1242a6}=_0x9ef67b[_0x4ee3ae(0x5a3)],_0x24ead1=this['_injector'][_0x4ee3ae(0x537)](_0x194a78[_0x4ee3ae(0x165)]);_0x1242a6===_0x59f691?_0x24ead1['initWorkbookPermissionChange'](_0x59f691):_0x24ead1[_0x4ee3ae(0x2fb)](_0x59f691,_0x1242a6);});};_0x32bae4[_0x21abe0(0x3fc)](this[_0x21abe0(0x4a7)][_0x21abe0(0x465)](_0x5a20c3[_0x21abe0(0x4c5)][_0x21abe0(0x329)]),this[_0x21abe0(0x4a7)][_0x21abe0(0x465)](_0x5a20c3[_0x21abe0(0x4c5)][_0x21abe0(0x512)]))[_0x21abe0(0x1d4)](_0x51e720['map'](_0x5a8a2f=>_0x5a8a2f[_0x21abe0(0x4dc)]()),_0x51e720['filter'](_0x299397=>!_0x5a20c3[_0x21abe0(0x191)](_0x299397)),_0x51e720[_0x21abe0(0x1d1)](this[_0x21abe0(0x5af)]))['subscribe'](_0x4be07c=>{_0x202ce8(_0x4be07c);});}};_0x451e92=_0xee5879([_0x1e9e42(0x0,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x596)])),_0x1e9e42(0x1,_0x5a20c3[_0x494bb3(0x17e)]),_0x1e9e42(0x2,_0x5a20c3[_0x494bb3(0x397)]),_0x1e9e42(0x3,_0x5a20c3[_0x494bb3(0x57c)](_0x38d423[_0x494bb3(0x1a9)])),_0x1e9e42(0x4,_0x5a20c3[_0x494bb3(0x57c)](_0x5a20c3[_0x494bb3(0x439)]))],_0x451e92);var _0x2199de=Object[_0x494bb3(0x5f8)],_0x376517=Object['getOwnPropertyDescriptor'],_0x405f45=(_0x1ccdf2,_0x444a06,_0x42574f,_0x169f20)=>{const _0x2258d9=_0x494bb3;for(var _0x4cce9e=_0x169f20>0x1?void 0x0:_0x169f20?_0x376517(_0x444a06,_0x42574f):_0x444a06,_0x15ef8e=_0x1ccdf2[_0x2258d9(0x5aa)]-0x1,_0x1d4b30;_0x15ef8e>=0x0;_0x15ef8e--)(_0x1d4b30=_0x1ccdf2[_0x15ef8e])&&(_0x4cce9e=(_0x169f20?_0x1d4b30(_0x444a06,_0x42574f,_0x4cce9e):_0x1d4b30(_0x4cce9e))||_0x4cce9e);return _0x169f20&&_0x4cce9e&&_0x2199de(_0x444a06,_0x42574f,_0x4cce9e),_0x4cce9e;},_0xd4da95=(_0x59de21,_0x31b1be)=>(_0x376f50,_0x5af08b)=>_0x31b1be(_0x376f50,_0x5af08b,_0x59de21);_0x38d423[_0x494bb3(0x5fa)]=class{constructor(_0x234624,_0x39fa5f){const _0x34da6a=_0x494bb3;this[_0x34da6a(0x1f1)]=_0x234624,this[_0x34da6a(0x5d9)]=_0x39fa5f;}async[_0x494bb3(0x1e2)](_0x49c207,_0x33bdad){const _0xa6605f=_0x494bb3;var _0x43b79d;const {unitID:_0x4a98b9,type:_0x16c484,revision:_0x67085f=0x0}=_0x33bdad,_0xbad760=this['_getSnapshotAPIPrefix']()+'/'+_0x16c484+_0xa6605f(0x5e4)+_0x4a98b9+'/rev/'+_0x67085f,_0x3696a8=(await this['_httpService'][_0xa6605f(0x537)](_0xbad760))[_0xa6605f(0x271)],_0x1a8eb7=(_0x43b79d=_0x3696a8['snapshot'])==null?void 0x0:_0x43b79d[_0xa6605f(0x4a9)];if(_0x1a8eb7){const _0x53cc7d=_0x1a8eb7==null?void 0x0:_0x1a8eb7['originalMeta'],_0x4e3018=_0x4d11e3['textEncoder'][_0xa6605f(0x3cc)](_0x4d11e3[_0xa6605f(0x4c6)](_0x53cc7d));_0x1a8eb7[_0xa6605f(0x4e6)]=_0x4e3018,Object[_0xa6605f(0x287)](_0x1a8eb7[_0xa6605f(0x384)])[_0xa6605f(0x5e8)](([,_0x302067])=>{const _0x18931c=_0xa6605f,_0xd6d31e=_0x302067['originalMeta'],_0x1213e1=_0x4d11e3[_0x18931c(0x2a1)][_0x18931c(0x3cc)](_0x4d11e3[_0x18931c(0x4c6)](_0xd6d31e));_0x302067[_0x18931c(0x4e6)]=_0x1213e1;});}return _0x3696a8;}async['getSheetBlock'](_0x39d7a2,_0x1ff9eb){const _0x20a655=_0x494bb3,{unitID:_0x50374f,type:_0x20eb48,blockID:_0x5b15e9}=_0x1ff9eb,_0x257110=this[_0x20a655(0x302)]()+'/'+_0x20eb48+_0x20a655(0x5e4)+_0x50374f+_0x20a655(0x422)+_0x5b15e9;return(await this[_0x20a655(0x5d9)][_0x20a655(0x537)](_0x257110))[_0x20a655(0x271)];}async[_0x494bb3(0x588)](_0x13f103,_0x2e0b30){const _0x311851=_0x494bb3,{unitID:_0x3a9922,type:_0x283224,blockID:_0x2098ca}=_0x2e0b30,_0x4d6b04=this['_getAPIPrefix']()+_0x311851(0x422)+_0x283224+'/unit/'+_0x3a9922+_0x311851(0x422)+_0x2098ca;return(await this[_0x311851(0x5d9)][_0x311851(0x537)](_0x4d6b04))[_0x311851(0x271)];}async[_0x494bb3(0x459)](_0x1c7be2,_0x4c9373){const _0x533c80=_0x494bb3,{unitID:_0x38d837,type:_0x31f11e,from:_0x5a185a,to:_0x290659}=_0x4c9373,_0x3e0649=this[_0x533c80(0x302)]()+'/'+_0x31f11e+'/unit/'+_0x38d837+_0x533c80(0x468)+_0x5a185a+_0x533c80(0x556)+_0x290659;return(await this['_httpService']['get'](_0x3e0649))[_0x533c80(0x271)];}[_0x494bb3(0x541)](){const _0x257d4c=_0x494bb3;var _0x1a7736;return(_0x1a7736=this[_0x257d4c(0x1f1)][_0x257d4c(0x19a)](_0xe41584))!=null?_0x1a7736:this[_0x257d4c(0x302)]();}[_0x494bb3(0x302)](){const _0x1cbb02=_0x494bb3;var _0x549536,_0x16ebfb;const _0x166927=this[_0x1cbb02(0x1f1)]['getConfig'](_0x9ad7b4),_0x2b6093=this[_0x1cbb02(0x1f1)]['getConfig'](_0x59eaf6);return(_0x16ebfb=(_0x549536=_0x2b6093==null?void 0x0:_0x2b6093['snapshotServerUrl'])!=null?_0x549536:_0x166927)!=null?_0x16ebfb:_0x1974b1;}async[_0x494bb3(0x206)](_0x1cdeee,_0x2d8865){const _0x18fd9c=_0x494bb3,_0x4fb5d1=_0x18fd9c(0x327)+_0x2d8865['type']+_0x18fd9c(0x5e4)+_0x2d8865['unitID']+_0x18fd9c(0x404);return(await this[_0x18fd9c(0x5d9)][_0x18fd9c(0x537)](_0x4fb5d1,{'params':{'resourceId':JSON[_0x18fd9c(0x58b)](_0x2d8865[_0x18fd9c(0x222)])}}))[_0x18fd9c(0x271)];}[_0x494bb3(0x323)](){const _0x5675e1=_0x494bb3;throw new Error(_0x5675e1(0x530));}['saveSheetBlock'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x494bb3(0x337)](){const _0x39f919=_0x494bb3;throw new Error(_0x39f919(0x530));}[_0x494bb3(0x27f)](){const _0x5c0f0e=_0x494bb3;throw new Error(_0x5c0f0e(0x530));}[_0x494bb3(0x5ae)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},_0x38d423['SnapshotServerOverHTTPService']=_0x405f45([_0xd4da95(0x0,_0x5a20c3['IConfigService']),_0xd4da95(0x1,_0x5a20c3[_0x494bb3(0x57c)](_0x9ed4dd[_0x494bb3(0x22b)]))],_0x38d423[_0x494bb3(0x5fa)]);var _0x3e5ce3=Object[_0x494bb3(0x5f8)],_0x1a2003=Object[_0x494bb3(0x51e)],_0x1d6564=(_0x1f4bf0,_0x26a96b,_0x136ee3,_0xf7f198)=>{for(var _0x23f378=_0xf7f198>0x1?void 0x0:_0xf7f198?_0x1a2003(_0x26a96b,_0x136ee3):_0x26a96b,_0x377c3a=_0x1f4bf0['length']-0x1,_0x5c4187;_0x377c3a>=0x0;_0x377c3a--)(_0x5c4187=_0x1f4bf0[_0x377c3a])&&(_0x23f378=(_0xf7f198?_0x5c4187(_0x26a96b,_0x136ee3,_0x23f378):_0x5c4187(_0x23f378))||_0x23f378);return _0xf7f198&&_0x23f378&&_0x3e5ce3(_0x26a96b,_0x136ee3,_0x23f378),_0x23f378;},_0x537292=(_0x52d40f,_0x4b81cc)=>(_0x371391,_0x1db567)=>_0x4b81cc(_0x371391,_0x1db567,_0x52d40f);let _0x4c5d22=class extends _0x5a20c3['LocalUndoRedoService']{constructor(_0x1c3ecc,_0x280d52,_0xf22393,_0x18b58b,_0x2d29e2){const _0x2f869c=_0x494bb3;super(_0x1c3ecc,_0x280d52,_0xf22393),this['_transformService']=_0x18b58b,this[_0x2f869c(0x3f5)]=_0x2d29e2;}['transformUndoRedo'](_0x145fca,_0x319798){const _0x59838d=_0x494bb3,_0x323d69=this[_0x59838d(0x418)](_0x145fca);if(_0x323d69)try{const _0x40e9fc=this[_0x59838d(0x3e5)](_0x323d69,_0x319798);this[_0x59838d(0x4ec)](_0x145fca,_0x40e9fc);}catch(_0x42e164){this[_0x59838d(0x3f5)][_0x59838d(0x35a)](_0x59838d(0x2c5),_0x42e164),this[_0x59838d(0x316)](_0x145fca);}const _0x269359=this[_0x59838d(0x356)](_0x145fca);if(_0x269359)try{const _0x2a7c1e=this[_0x59838d(0x3e5)](_0x269359,_0x319798);this[_0x59838d(0x34f)](_0x145fca,_0x2a7c1e);}catch(_0x2bdebf){this[_0x59838d(0x3f5)][_0x59838d(0x35a)](_0x2bdebf),this['_clearRedo'](_0x145fca);}}[_0x494bb3(0x316)](_0x2f8bc2){const _0x167bd1=_0x494bb3,_0x1b0d21=this[_0x167bd1(0x418)](_0x2f8bc2);_0x1b0d21&&(_0x1b0d21['length']=0x0,this['_updateStatus']());}[_0x494bb3(0x4d5)](_0x27b1d1){const _0x5c8974=_0x494bb3,_0x5e4234=this['_getRedoStack'](_0x27b1d1);_0x5e4234&&(_0x5e4234[_0x5c8974(0x5aa)]=0x0,this[_0x5c8974(0x2bb)]());}[_0x494bb3(0x4ec)](_0x50f9ae,_0x10173c){const _0x486d0d=_0x494bb3;this[_0x486d0d(0x269)]['set'](_0x50f9ae,_0x10173c),this[_0x486d0d(0x2bb)]();}['_substituteRedoStack'](_0x308a96,_0x2d50bd){const _0x3e17bc=_0x494bb3;this['_redoStacks'][_0x3e17bc(0x33d)](_0x308a96,_0x2d50bd),this['_updateStatus']();}[_0x494bb3(0x3e5)](_0x182d5c,_0xfd5fba){const _0x2105f4=_0x494bb3,_0x28d08d=[];let _0x111cb4=_0xfd5fba,_0x23d11c=_0xfd5fba;for(let _0x506a31=_0x182d5c[_0x2105f4(0x5aa)]-0x1;_0x506a31>=0x0;_0x506a31--){const {unitID:_0x14e382,undoMutations:_0x4ac3a2,redoMutations:_0x171ceb}=_0x182d5c[_0x506a31],_0x4b0701=this[_0x2105f4(0x241)][_0x2105f4(0x381)](_0x111cb4,_0x4ac3a2),_0x509d28=this[_0x2105f4(0x241)][_0x2105f4(0x381)](_0x23d11c,_0x171ceb);if(_0x4d11e3[_0x2105f4(0x472)](_0x4b0701)||_0x4d11e3['isTransformMutationsWithChangesetFailure'](_0x509d28)){this[_0x2105f4(0x3f5)][_0x2105f4(0x35a)](_0x2105f4(0x2c5),_0x2105f4(0x5d2),_0x4b0701,_0x509d28);break;}_0x111cb4=_0x4b0701[_0x2105f4(0x297)],_0x23d11c=_0x509d28['c1Prime'],_0x28d08d['push']({'unitID':_0x14e382,'undoMutations':_0x4b0701['m2Prime'],'redoMutations':_0x509d28[_0x2105f4(0x3fd)]});}return _0x28d08d['reverse']();}};_0x4c5d22=_0x1d6564([_0x537292(0x0,_0x5a20c3['IUniverInstanceService']),_0x537292(0x1,_0x5a20c3[_0x494bb3(0x39a)]),_0x537292(0x2,_0x5a20c3['IContextService']),_0x537292(0x3,_0x4d11e3['ITransformService']),_0x537292(0x4,_0x5a20c3[_0x494bb3(0x494)])],_0x4c5d22);class _0x4e07fe extends _0x5a20c3[_0x494bb3(0x3ed)]{constructor(){const _0x9afbf9=_0x494bb3;super(),_0x3ed524(this,'urlChange$'),this[_0x9afbf9(0x3bd)]=_0x32bae4[_0x9afbf9(0x38e)](window,'popstate')[_0x9afbf9(0x1d4)](_0x32bae4[_0x9afbf9(0x1d1)](this[_0x9afbf9(0x5af)]),_0x32bae4[_0x9afbf9(0x1e8)](0x1),_0x32bae4[_0x9afbf9(0x2ef)](void 0x0));}[_0x494bb3(0x421)](_0x13f9e1,_0x2b422e,_0x10fd6b=!0x1){const _0x5d05ee=_0x494bb3,_0x4cb288=new URL(window[_0x5d05ee(0x2ae)][_0x5d05ee(0x1c4)]);_0x4cb288[_0x5d05ee(0x4ae)][_0x5d05ee(0x33d)](_0x13f9e1,_0x2b422e),_0x10fd6b?window['history'][_0x5d05ee(0x1ea)]('','',_0x4cb288[_0x5d05ee(0x283)]()):window['history']['pushState']('','',_0x4cb288['toString']());}[_0x494bb3(0x4cc)](_0x37631e,_0x430e70=!0x1){const _0x27dd5e=_0x494bb3,_0x3e2c26=new URL(window[_0x27dd5e(0x2ae)][_0x27dd5e(0x1c4)]);_0x3e2c26['searchParams'][_0x27dd5e(0x43d)](_0x37631e),_0x430e70?window['history'][_0x27dd5e(0x1ea)]('','',_0x3e2c26[_0x27dd5e(0x283)]()):window[_0x27dd5e(0x2c4)][_0x27dd5e(0x262)]('','',_0x3e2c26[_0x27dd5e(0x283)]());}[_0x494bb3(0x2d6)](_0x339c46){const _0x5adaa8=_0x494bb3;var _0x5a38a2;return(_0x5a38a2=new URL(window[_0x5adaa8(0x2ae)][_0x5adaa8(0x1c4)])[_0x5adaa8(0x4ae)][_0x5adaa8(0x537)](_0x339c46))!=null?_0x5a38a2:void 0x0;}}var _0x17c95=Object['defineProperty'],_0x1076b7=Object['getOwnPropertyDescriptor'],_0x39372e=(_0x2c2c88,_0x321c8f,_0x32f5ae)=>_0x321c8f in _0x2c2c88?_0x17c95(_0x2c2c88,_0x321c8f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x32f5ae}):_0x2c2c88[_0x321c8f]=_0x32f5ae,_0x14651f=(_0x12c02a,_0x4ad23b,_0x29f204,_0x1e97be)=>{for(var _0x92534=_0x1e97be>0x1?void 0x0:_0x1e97be?_0x1076b7(_0x4ad23b,_0x29f204):_0x4ad23b,_0x4ef05a=_0x12c02a['length']-0x1,_0x42f964;_0x4ef05a>=0x0;_0x4ef05a--)(_0x42f964=_0x12c02a[_0x4ef05a])&&(_0x92534=(_0x1e97be?_0x42f964(_0x4ad23b,_0x29f204,_0x92534):_0x42f964(_0x92534))||_0x92534);return _0x1e97be&&_0x92534&&_0x17c95(_0x4ad23b,_0x29f204,_0x92534),_0x92534;},_0x10143f=(_0x49a3be,_0x1957e2)=>(_0x518693,_0x4768ae)=>_0x1957e2(_0x518693,_0x4768ae,_0x49a3be),_0x588d78=(_0x161046,_0xa75356,_0x5775f0)=>_0x39372e(_0x161046,_0xa75356+'',_0x5775f0);const _0x16d03b='UNIVER_COLLABORATION_CLIENT_PLUGIN';_0x38d423['UniverCollaborationClientPlugin']=class extends _0x5a20c3[_0x494bb3(0x2a2)]{constructor(_0x542408=_0x48bf3d,_0x5c9252,_0x497c92,_0x6a1cdd,_0x428b5d){const _0x4a09eb=_0x494bb3;super(),this[_0x4a09eb(0x1e5)]=_0x542408,this[_0x4a09eb(0x3f5)]=_0x5c9252,this[_0x4a09eb(0x257)]=_0x497c92,this[_0x4a09eb(0x221)]=_0x6a1cdd,this[_0x4a09eb(0x1f1)]=_0x428b5d;const {..._0x1701de}=this[_0x4a09eb(0x1e5)];this[_0x4a09eb(0x1f1)][_0x4a09eb(0x456)](_0x59eaf6,_0x1701de);}[_0x494bb3(0x3b3)](){const _0x2cbd3e=_0x494bb3;this['_registerDependencies'](),this[_0x2cbd3e(0x294)]();}['onReady'](){const _0x57c618=_0x494bb3;_0x5a20c3['touchDependencies'](this[_0x57c618(0x221)],[[_0x13737c]]);}['onRendered'](){const _0x20ae42=_0x494bb3;this[_0x20ae42(0x4af)]();}['_registerDependencies'](){const _0x3fee5c=_0x494bb3;var _0x2e9531,_0x448802,_0x4a5c43,_0x8dd2dd;this[_0x3fee5c(0x221)][_0x3fee5c(0x4a3)](_0x5a20c3[_0x3fee5c(0x44c)])&&this[_0x3fee5c(0x3f5)][_0x3fee5c(0x35a)](_0x3fee5c(0x543),_0x3fee5c(0x1ab));const _0x23f905=[[_0x5a20c3['IUndoRedoService'],{'useClass':_0x4c5d22}],[_0x38d423[_0x3fee5c(0x1a9)]],[_0x174ccb],[_0x1ea4a4,{'useClass':_0x4e07fe}],[_0x38d423['MemberService']],[_0x38d423[_0x3fee5c(0x1ca)]],[_0x9ed4dd[_0x3fee5c(0x1ba)]],[_0x47f26b],[_0x2c3f2f],[_0x11a9c0],[_0x455c32],[_0x171169],[_0x264022],[_0x2c1fac],[_0x1cf212],[_0x451e92],[_0x45677d,{'useClass':(_0x448802=(_0x2e9531=this[_0x3fee5c(0x1e5)])==null?void 0x0:_0x2e9531[_0x3fee5c(0x340)])!=null?_0x448802:_0x38d423[_0x3fee5c(0x3f6)]}],[_0x4d11e3[_0x3fee5c(0x553)],{'useClass':_0x38d423[_0x3fee5c(0x5fa)]}],[_0x5a20c3[_0x3fee5c(0x554)],{'useClass':_0x38d423['AuthzIoHttpService']}],[_0x152c2e['IImageIoService'],{'useClass':_0x38d423['ImageIoService']}],[_0x38d423[_0x3fee5c(0x39c)]],[_0x38d423[_0x3fee5c(0x579)]],[_0x38d423[_0x3fee5c(0x4de)]],[_0x13737c],[_0x36312d]];(_0x4a5c43=this[_0x3fee5c(0x1e5)])!=null&&_0x4a5c43[_0x3fee5c(0x4ce)]&&_0x23f905['push']([_0x104336,{'useClass':_0x1fe08a}]),_0x5a20c3['registerDependencies'](this['_injector'],_0x5a20c3[_0x3fee5c(0x3c7)](_0x23f905,(_0x8dd2dd=this['_config'])==null?void 0x0:_0x8dd2dd[_0x3fee5c(0x254)]));}[_0x494bb3(0x4af)](){const _0x5ec881=_0x494bb3;this[_0x5ec881(0x385)](this[_0x5ec881(0x257)][_0x5ec881(0x268)](_0x5a20c3[_0x5ec881(0x4c5)]['UNIVER_DOC'],[_0x33ad6d])),this['disposeWithMe'](this[_0x5ec881(0x257)][_0x5ec881(0x268)](_0x5a20c3[_0x5ec881(0x4c5)][_0x5ec881(0x329)],[_0x4777ba]));}[_0x494bb3(0x294)](){const _0x5806bb=_0x494bb3;var _0x5dc6bb,_0x4958ad;this[_0x5806bb(0x221)][_0x5806bb(0x537)](_0x9ed4dd[_0x5806bb(0x22b)])[_0x5806bb(0x3a4)]({'priority':0x14,'interceptor':_0x9ed4dd['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x5dc6bb=this[_0x5806bb(0x1e5)])!=null&&_0x5dc6bb[_0x5806bb(0x15a)]||this[_0x5806bb(0x221)][_0x5806bb(0x537)](_0x38d423[_0x5806bb(0x1ca)])[_0x5806bb(0x35b)](),(_0x4958ad=this['_config'])!=null&&_0x4958ad[_0x5806bb(0x535)]&&_0x5a20c3[_0x5806bb(0x56e)](this['_injector'],[[_0x264022]]),_0x5a20c3[_0x5806bb(0x56e)](this['_injector'],[[_0x2c1fac],[_0x36312d],[_0x38d423[_0x5806bb(0x579)]],[_0x38d423[_0x5806bb(0x39c)]],[_0x38d423['DesktopCollaborationStatusDisplayController']],[_0x451e92]]);}},_0x588d78(_0x38d423[_0x494bb3(0x255)],_0x494bb3(0x41d),_0x16d03b),_0x38d423[_0x494bb3(0x255)]=_0x14651f([_0x5a20c3[_0x494bb3(0x331)](_0x4d11e3[_0x494bb3(0x443)],_0x9ed4dd[_0x494bb3(0x45a)]),_0x10143f(0x1,_0x5a20c3[_0x494bb3(0x494)]),_0x10143f(0x2,_0x5c31a6['IRenderManagerService']),_0x10143f(0x3,_0x5a20c3['Inject'](_0x5a20c3[_0x494bb3(0x596)])),_0x10143f(0x4,_0x5a20c3[_0x494bb3(0x175)])],_0x38d423[_0x494bb3(0x255)]),_0x38d423['AUTHZ_URL_KEY']=_0x125721,_0x38d423[_0x494bb3(0x153)]=_0x4abc67,_0x38d423['COLLAB_WEB_SOCKET_URL_KEY']=_0x4420d6,_0x38d423[_0x494bb3(0x5e7)]=_0x5948fa,_0x38d423[_0x494bb3(0x197)]=_0x1d0a3d,_0x38d423[_0x494bb3(0x1bf)]=_0x1cf212,_0x38d423[_0x494bb3(0x305)]=_0x33903c,_0x38d423[_0x494bb3(0x2bc)]=_0x1c1612,_0x38d423['ICollaborationSocketService']=_0x45677d,_0x38d423[_0x494bb3(0x5cd)]=_0x1ea4a4,_0x38d423['LOCAL_CACHE_INTERVAL_KEY']=_0x2a600b,_0x38d423[_0x494bb3(0x1b3)]=_0x5e43ba,_0x38d423[_0x494bb3(0x161)]=_0x28861a,_0x38d423[_0x494bb3(0x2dc)]=_0x2b47bd,_0x38d423[_0x494bb3(0x178)]=_0x9ad7b4,_0x38d423['SNAPSHOT_URL_KEY']=_0xe41584,_0x38d423['SessionStatus']=_0x5f2a52,_0x38d423[_0x494bb3(0x21c)]=_0x289d4b,_0x38d423[_0x494bb3(0x181)]=_0x4e07fe,_0x38d423['deserializeToCombResponse']=_0x2ef67b,_0x38d423[_0x494bb3(0x442)]=_0x3baba8,Object[_0x494bb3(0x5f8)](_0x38d423,Symbol['toStringTag'],{'value':_0x494bb3(0x1da)});}));function _0x54cd(){const _0x16f114=['NodePositionConvertToRectRange','_context','RefRangeService','delete','handleInsertRangeMoveRight','_saveTaskMap','useCallback','_permissionService','serializeCombRequest','UniverCollaborationPlugin','_reverseMap','_retryConnectingTimer','json','_status$','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','SHA1','getInterceptPoints','fetching\x20missing\x20changesets\x20from\x20','IUndoRedoService','_docTransformSelectionsService','_id','_createHmacHelper','INGEST','call','PENDING','_range','IMessageService','JSONX','setConfig','error$','18621IYnMtX','fetchMissingChangesets','UniverNetworkPlugin','_stopTelemetryCollaborationNewChangeset','[FetchMissState]','_themeService','_handleEvent','hostname','transformRemoteChangeset','hovered','_updateCollabCursors','_getSheetObject','defIds','getTypeOfUnitAdded$','selections','createElement','/fetchmissing?from=','_exhaustRemoteChangesetQueue','SHOULD_CLOSE_CONN','isEditing','_fetchMissChangesets','__Key__','JOIN','AuthzIoHttpService','Could\x20not\x20dynamically\x20require\x20\x22','EffectRefRangId','isTransformMutationsWithChangesetFailure','SNAPSHOT_HAS_BEEN_REMOVED','_name','skeleton','apply','msCrypto','show','_removeCollabCursors','url(#off-line-single_clip0_910_343)','roles','1em','_docSyncEditingCollabCursorService','attrs','univerjs-icon\x20univerjs-icon-','Fragment','ImageSourceType','executeCommand','lib','_clearTimeoutTimer','_resendWithTimeout','@univerjs/drawing','awaiting','getMemberID','_localCacheService','FAIL','_roomMembers$','purple300','APPLY_NON_SEQUENTIAL_REVISION','authzUrl','map','_anchor','processBlock','add','arc','ILogService','sheetID','_userManagerService','AWAITING_WITH_PENDING','getUnitType','VIEW_MAIN','LIVESHARE_REQUEST_HOST','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_HTTPService','UniverSheetsUi','NO_OTHER_CLIENTS_EDITING','ITransformService','pad','univer-offline','reject','has','jsxs','range','_joinRoom','_univerInstanceService','cursorInfo','workbook','join','infoRsp','TEXT','TOO_MANY_REQUESTS','searchParams','_registerRenderDependencies','_submitChangeset','flatMap','_handleHover','_docTransformStateCacheService','roomMembers$','_getCtorByUniverType','_initEventListeners','M0\x200H16V16H0z','getCurrent','UniverCore','encodeURIComponent','@univerjs/engine-render','init','_revisionService','getColor','_append','resolve','function','HmacSHA1','setTimeout','_initResize','UniverInstanceType','b64DecodeUnicode','#fff','collabSubmitChangesetUrl','unit','ALREADY_EXISTS','exhaustSavingTask','removeParam','IUIPartsService','enableSingleActiveInstanceLock','DocSkeletonManagerService','translate(.97)','UNKNOWN_CODE','_iv','_ENC_XFORM_MODE','find','_clearRedo','univer-online-status-title','ACTIVE_UNIT_EVENT_CHANNEL','_initStatusListener','APPLY_PERMISSION_DENIED','_entities','fromEventSubject','getUnitId','fetchThroughInterceptors','DesktopCollaborationStatusDisplayController','url(#on-line-single_clip0_910_349)','objectActions','_shapes','addEventListener','parseChangesetToProtocol','1382519YtRlNf','clearInterval','originalMeta','COMMENT_UPDATE','collaborators','_socket','collab-text-range-','_http','_substituteUndoStack','collab-text-anchor-','_initMergeInterceptor','compose','values','decryptBlock','enableLocalCache','getImage','_onMessage','Error\x20on\x20receiving\x20event','_decreaseWaiting','DeleteRangeMoveUpCommandId','UniverIcon','on-line-single','debounce','HELLO','MoveRangeCommandId','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','asObservable','handleIRemoveCol','incrementRevOfUnit','_sendHeartbeat','slice','YUUMI_URL_COL_OUT_OF_RANGE','_docSkeleton','Undefined','text','updateMember','_hovered','collabStatus.notCollab','_unlockTransition','words','_collabSessionService','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','UniverEngineFormula','RegularPolygon','_xformMode','_labelPosition','UNIVER_DOC','ReplaySubject','[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.','cmd','_transformRemoteChangesetByIMECache','_acknowledgedAwaitingChangeset','onRemoteRej','APPLY_REJECT','_heartbeatTimer','_applyRemoteChangeset','conflict.content','onload','getOwnPropertyDescriptor','_cursorInfo$','collaMsg','_transformRemoteChangesetByStateCache','_toggleOnline','_doReset','YUUMI_RATE_OVER_LIMIT','_compressMutationService','_minBufferSize','collabStatus.fetchMiss','getCoordByCell','CHANGESET_SHOULD_RETRY','padding','isTransformChangesetsSuccess','11089360zZTaTV','session.collaboration-timeout','objectType','onlineStatus','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_getSignURL','getValue','VIEWPORT_KEY','_onCursorDelete','enableAuthServer','?url=','get','restore','onTransformIME','SEND_CHANGESET_TIMEOUT','_onRemoteRejected','COLLAB_SUBMIT_CHANGESET_URL','transformSelections','MD5','_changesetReqId','_cursorShapes','_getSnapshotAPIPrefix','params','[UniverCollaborationClientPlugin]','not_collab','LIVESHARE_NEW_HOST','readInt32LE','max','complete','PERMISSION_REJ','mapDocumentTypeToUniverType','hasher','onStateChange','changesets','MUTATION','algo','memberID','TEXT_RANGE_LAYER_INDEX','_updateSubUnitFromURLParams','ISnapshotServerService','IAuthzIoService','COMPRESS_MUTATION_APPLY','&to=','isArray','_createSocket','sheetId','unshift','activeSheet$','BehaviorSubject','liveShareOperation','APPLY_REVISION_CONFILICT','_process','UNIVER_UNKNOWN','textRanges','_getCurrentRevision','_transformSelections','_clearCollaborationTimeoutTimer','default','createInstance','kdf','@univerjs/sheets','colorChannel1','Rect','collaboratorID','onRemoteChangeset','string','touchDependencies','getUnitStatus$','_docSkeletonManagerService','icon','children','_map','Cipher','_startTelemetryCollaborationNewChangeset','_color','Vector2','_onLocalMutation','DataLoaderController','getWorkbookSelections','_collaborationSessionService','Inject','[PendingState]:\x20received\x20acknowledgement.','onTransformState','commentUpdateEvent','UniverCollaboration','_scheduleTimestamp','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_mode','onMouseMove','objects','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','rng','getDeserializedSheetBlock','exports','rev','stringify','transformStateCache','7OHsBRW','__esModule','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','React','EvpKDF','hidden','getCurrentSelections','UniverUi','_collaborationController','Injector','trim','CHANGESET_REVISION_CONFILICT','transformChangesets','reduce','leaveEvent','_parse','Optional','setAlpha','_iKey','_collaborationPaused','_hover','_imageSourceCache','data','getItem','InsertRangeMoveDownCommandId','throttleTime','setItem','formatter','m1Prime','length','UNRECOGNIZED','SheetCollaborationEntity','Tools','getLatestCsReqIdBySid','dispose$','_shouldReportTelemetry','conflict','_resendTimer','awaitingChangeset','capture','idSuffix','updateCollaborator','isActive','_refRangeService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','IRemoteInstanceService','react.fragment','reconnect','ReactCurrentOwner','shouldCloseConn','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getSheetId','ONLINE','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_scene','propertyIsEnumerable','FromArray','patch','react.element','useRef','rxjs','_keySchedule','onMissedChangesetFetched','univer-pro.collaboration-client-socket-service','IURLService','off-line-single_clip0_910_343','SnapshotService','COMPLETION_FINISHED','EmptyMutation','transformStack\x20failed!','rxjs/operators','transformMutation','\x0aCurrent:\x20','_initRequestHeader','_unitStatus','take','_httpService','getRenderById','roomMembers','@univerjs/sheets-ui','next','LIVESHARE_TERMINATE','TRANSFORM_CHANGE_OBSERVABLE_TYPE','/universer-api/snapshot','_onUserJoin','status$','deepClone','/unit/','_pendingMutations','top','CollaborationStatus','forEach','enc','&source=','combineLatest','height','UPDATE_PERMISSION_OBJ','_timeoutTimer','univer-pro.collaboration-client.single-active-unit-service','MessageType','reqId','none','_createHelper','getTypeOfUnitDisposed$','YUUMI_UNABLE_LOAD_URL','event$','_textBubble','defineProperty','closePath','SnapshotServerOverHTTPService','transformIMECache','updatePermissionObjEvent','Base64','_scheduleClearOtherTimer','DocCollaborationEntity','getMember','status','getCollabEntity$','\x20to\x20','pauseCollaboration','sid','getCurrentUser','_retryCount','message$','ImageUploadStatusType','defaultProps','COLLAB_SUBMIT_CHANGESET_URL_KEY','actions','on-line-single_clip0_910_349','displayName','UnitEmbedded','setShapeProps','1817184UrKMyj','enableOfflineEditing','session','_onJoinRoomEvent','byteLength','_ws','whenReady','_isPermissionRej','RETRY_CONNECTING_MAX_COUNT_KEY','collaboration-session-retry','listCollaborators','_assignedColors','SheetPermissionInitController','_docTransformIMECacheService','fromCharCode','lineTo','origin','$super','_onOffline','_onRemoteChangeset','with','debounceTime','CHANGESET_REJ','_startCollaboration','_disableEditing','focused$','dispose','onTransformChange$','IConfigService','[OfflineState]:\x20received\x20changeset.','IDLE','SNAPSHOT_SERVER_URL_KEY','randomUUID','_entityInit$','@univerjs-pro/collaboration','onRemoteRetry','transformUndoRedo','IUniverInstanceService','_sessions','close$','WebURLService','random','_onRemoteRetry','onTransformRemoteChangesetByIMECache','UniverDesign','assign','_getAPIPrefixPath','WordArray','getFocusedUnit','endRow','handleInsertCol','DocStateChangeManagerService','confirm','OTHER_CLIENTS_EDITING','INTERNAL_ERROR','name','isInternalEditorID','currentTheme$','_onRemoteACK','_awaitingChangeset','defs','push','CollaborationStatusDisplay','_initStatusComponent','black','getConfig','SetDocZoomRatioOperation','USERS_ENTER','setCurrentUser','MergeInterceptorFactory','_clearScheduledTask','close','addObjects','registerOnClose','_uiPartsService','every','_drawRectRange','redoState','_cursors','salt','CollaborationSessionService','equals','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_keyPriorReset','_onConflict','includes','@univerjs/docs-ui','debug','getActiveSheet','clamp','LOGIN_URL_KEY','startRow','newValue','_startDocCollabCursor','getAllMembers','doc.mutation.rich-text-editing','SetSelectionsOperation','WebSocketService','__creator','measureText','_state','ranges','CommentService','getCollabCursors$','createEncryptor','_hash','_session','href','pending','_doFinalize','_getSendChangesetTimeout','isPermissionRej','Disposable','LocalCacheService','OnLineSingle','action','react','_executeRemoteChangeset','COLORS','/universer-api/file/{fileID}/sign-url','takeUntil','/allowed','onRemoteAck','pipe','RECT','indexOf','[CollaborationEntity]','toDisposable','_transformStateCache','Module','format','url','title','OFFLINE','ENSURE_SNAPSHOT_EXECUTION','Unknown\x20user','_replaceFileID','getUnitOnRev','_tryEnsureSocket','@univerjs/network','_config','LICENSE_IMPORT_SIZE_EXCEEDED','labelPosition','shareReplay','Univer','replaceState','_setupSubUnitSync','_scheduleCollaborationTimeoutTimer','_syncEditingCollabCursor','then','UPDATE_CURSOR','svg','_configService','_drawAnchor','LIVESHARE_FETCH_OPERATIONS','undoState','getRangePointData','_onUserLeave','Base','univer-online-status-icon','_anchorDot','randomBytes','IRenderManagerService','crypto','startColumn','_socketService','_snapshotService','_commentUpdate$','0\x200\x2017\x2016','jsx','keySize','deserializeRangeWithSheet','object','getResourcesRequest','_cipher','retryConnectingInterval','_waitCount','red300','Subject','141530fLiwtr','onlineStatusTitle','post','HEARTBEAT_TIMEOUT','POST','UniverCollaborationClient','currentColor','CollaborationEvent','_disabled','_sendHeartbeatTimer','session.will-retry','collaboration.single-unit.warning','removeMember','_startSheetCollabCursor','_invKeySchedule','_createInitialStateImpl','SheetCollabCursorShape','downloadEndpointUrl','ERROR_EXCEED_SIZE','getCurrentRevOfUnit','target','_injector','resourceIDs','RemoveRowCommandId','createIdentifier','Warning','subunit','PasswordBasedCipher','onTransformRemoteChangesetByStateCache','getSkeleton','min','HTTPService','onPointerMove$','clipPath','forwardRef','SYNCED','2648WKOISO','xlink:href','onSendChangeset','setWaitCount','list','getRelativeToViewportCoord','_removeClearOtherTimer','connection\x20error','_transformUndoRedoStack','242466SfMgiG','[DataLoaderController]','ref','_getSaveTimeout','loadOfflineData','size','deleteCollaborator','[CollaborationSessionService]','_transformService','_queuedRemoteChangesets','_localStorageService','DOC_RANGE_TYPE','cfg','hide','charCodeAt','_getScale','objectID','_clearHeartbeatTimer','path','updatePermissionPoint','roomInfos','handleInsertRangeMoveDown','round','_transformIMECache','useObservable','editing\x20status\x20changed\x20to','_handleHeartbeatEvent','override','UniverCollaborationClientPlugin','handleIRemoveRow','_renderManagerService','NOT_FOUND','execute','ERROR_IMAGE','current','UNAUTHENTICATED','collaboration-client.config','unit-cache-','_commentService','disposeUnit','_collaborationTimeoutTimer','pushState','width','filter','createSocket','#FFF','_draw','registerRenderModule','_undoStacks','registerBeforeClose','createDecryptor','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','batchAllowed','_localeService','_listenToOfflineEvent','getImageSourceCache','body','key','currentSkeleton$','fromCollab','font','submit\x20changeset\x20error!','[PendingState]:\x20received\x20rejection.','_drawTextRange','/role','\x0aAfter:\x20','_toggleOffline','for','StreamCipher','_tryReconnect','copyFileMeta','now','mode','change$','toString','symbol','_transitionLocked','tag','entries','Malformed\x20UTF-8\x20data','getRandomValues','UniverTelemetry','_socketMessageSubscription','@univerjs/rpc','closeSession','color','save\x20fail\x20reason\x20is\x20','/object/','concat','isTransformMutationsWithChangesetSuccess','encryptBlock','_initDependencies','_prevBlock','CONFLICT','c1Prime','_init','RECV','localeService','getViewport','_data','Encryptor','mixIn','UniverNetwork','_remoteChangesetQueue','textEncoder','Plugin','_transformUndoredo','newCsEvent','image/jpeg','_syncEditingCollabCursorService','routeKey','Decryptor','fill','_urlService','@univerjs/docs','_undoRedoService','BufferedBlockAlgorithm','location','startsWith','_refreshCollabCursors','_getDownloadEndpointURL','resend','collab-client.tooltip.reconnect','HEARTBEAT_INTERVAL','_loadSheet','_cachedData','replaceTextRanges','CollaborationEntity','onCommandExecuted','?size=','_updateStatus','HEARTBEAT_TIMEOUT_KEY','_waitForHeartbeatResponse','/universer-api/authz','INotificationService','_throwTelemetryCollaborationNewChangeset','_setupBeforeClosingHandler','onTransformSelections','substring','history','[CollaborationUndoRedoService]','SUCCUSS','_createHandler','sequenceExecute','_candidateSocket','className','loginUrlKey','_messageService','drawWith','_eventUnsubscribe','YUUMI_SUBSCRIPTION_NOT_FOUND','_doProcessBlock','LIVESHARE_OPERATION','_handler','getActiveRange','SNAPSHOT_URL_KEY','from','getParam','_collabCursorController','bind','baseRev','floor','synced','SEND_CHANGESET_TIMEOUT_KEY','LICENSE_EXPORT_SIZE_EXCEEDED','_docStateChangeManagerService','_singleActiveUnitService','CONNECTOR_DATA_TOO_LARGE','registerRefRange','clone','ciphertext','create','_commandService','clearTimeout','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','revision','_beforeCloseService','_send','/universer-api/comb','toLowerCase','Tooltip','_onCursorUpdate','mapTo','_removeRoom','_checkMissing','[CollaborationSession]','PERMISSION_DENIED','NEW_CHANGESETS','blockSize','assignAColorForMemberID','selection','interceptor','ImageIoService','engine','refreshPermission','_saveCache','image/jpg','readAsDataURL','_hideTimer','row','_unitOnClients','_getAPIPrefix','transformByState','catch','HEARTBEAT_INTERVAL_KEY','result','CipherParams','CommandType','headers','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_updateURLWithCurrentState','MemberService','ColorKit','sendChangesetTimeout','APPLY_DUPLICATED','generateRandomId','state$','toggleOnline','UniverRpc','_transformPreviousActiveRange','UNIVER_SLIDE','_clearUndo','UnitSnapshot','CHANGESET_ACK','AWAITING','updateCursorEvent','getAncestorScale','onlyLocal','...','permission.content','MSG_FOR_ERROR','iterations','/collaborator','operators','saveSnapshot','@univerjs/ui','_roomMembers','380VwSzhb','/universer-api/snapshot/','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','UNIVER_SHEET','ceil','_key','unknown','_memberService','onPointerEnter$','_listenToOnlineEvent','_getLoginPath','DependentOn','subscribeEvent','offline','_notificationService','div','/-/object/-/batch_allowed','saveChangeset','sigBytes','socket\x20close','fillStyle','_updateLocalCursor','\x20in\x20_schedule.','set','getDocRanges','_resendTimeout','socketService','mutations','session.connection-failed','signUrlServerUrl','_onFetchMissResult','splice','_onRefRangeChange','OpenSSL','stopTime','BlockCipherMode','duration','UniverSheets','collabStatus.conflict','fetchMiss','[CollaborationState]:\x20apply\x20error!','_substituteRedoStack','makeDirty','type','_getAnchorBounding','univer-online-status','_doCryptBlock','editingUnit','_getRedoStack','ws://127.0.0.1:8000/universer-api/comb/connect','startTime','HEARTBEAT','error','disableLocalCache','ERROR_IMAGE_TYPE','WorkbookEditablePermission','hasOwnProperty','_transformHistoryAndStateStack','liveShareNewHost','requestParams','_onConnectionFailed','_initUnitPermissionChange','_sessionStatus$','unsubscribe','clear','collabStatus.syncing','RichTextEditingMutation','fetch_missing','_sheetSkeletonManagerService','ThemeService','DocSelectionManagerService','encrypt','BASE64','_schedule','visibilitychange','@univerjs/design','_nDataBytes','ivSize','NoPadding','NOT_COLLAB','SerializableCipher','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_onRecvEvent','append','USERS_LEAVE','userID','failed\x20to\x20apply\x20missed\x20changesets!','number','prototype','_initCloseConn','transformMutationsWithChangeset','[SyncedState]:\x20received\x20rejection.','eventID','sheets','disposeWithMe','online','setActiveRange','PSEUDO_FETCH_MISSING_RESULT','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','bottom','csRejEvent','SetWorksheetActivateCommand','subscribe','fromEvent','_ensureSubject','BlockCipher','telemetry\x20info\x20is\x20not\x20initialized','byteOffset','Hex','session.room-full','_event$','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','IPermissionService','sessionStatus$','LEAVE','ICommandService','findNodePositionByCharIndex','CollaborationController','SUBMIT_CHANGESET','_snapshotServerService','unitID','_scheduleSaving','gold400','_lastPointer','getTime','registerHTTPInterceptor','toggleOffline','handleDeleteRangeMoveLeft','[OfflineState]:\x20received\x20acknowledgement.','column','_sender','auth.needGotoLoginAlert','visibilityState','SNAPSHOT_INVALID_SNAPSHOT','InsertSheetMutation','RevisionService','_incrementRevisionNumber','syncEditingCollabCursor','CollaborationSession','switchMap','onStarting','_updateLocalCache','_clearOtherTimers','addObject','requireSession','_initCommandExecutedListener','registerComponent','_selfUnitIDs','_createInitialState','c2Prime','urlChange$','EXCHANGE_SIGN_URL_SERVER_URL_KEY','onSyncEditingCollabCursor','_lockTransition','_loadDoc','_telemetryInfo','save','getOwnPropertySymbols','_changesetSessionId','split','mergeOverrideWithDependencies','update','sessionStatus','appendMutation','_render','encode','Shape','_nRounds','_state$','csShouldRetryEvent','extend','_hasher','_showConflictNotification','delay','NodePositionConvertToCursor','SheetsSelectionsService','getStateCache','_updateState','updateOfflineData','_sendingTimer','reset','handleInsertRow','code','subUnitId','substr','commentUpdate$','IBeforeCloseService','_online','compute','_scheduleHeartbeat','_transformStack','fillRule','unload','/object','members','getSheetBySheetId','_socket$','state','RxDisposable','getCollabEntity','unitId','socket\x20open.','setStateCache','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','INVALID_ARGUMENT','Workbook','_logService','CollaborationSocketService','_type','DisposableCollection','FileId','useDependency','_sheetTransformSelectionsService','merge','m2Prime','off-line-single','_socketReady','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','UNKNOWN_CMD','29345YSswfv','getSheetObject','/resources','JOINING','putCollaborators','CompressMutationService','transform','file','parseProtocolChangeset','LICENSE_DISTRO_REJECTED','parse','isTransformMutationFailure','Pkcs7','_change$','jiqing500','{fileID}','&assign=','_collabCursorState$','HttpImport','setShowComponents','@univerjs/core','_telemetryService','_getUndoStack','finalize','_clearLocalCache','docStateChange$','onCommentUpdate','pluginName','unitId\x20is\x20not\x20found','saveOfflineData','storage','setParam','/block/','collab-rect-range-','send','_cursor','[SyncedState]:\x20received\x20acknowledgement.','DEFAULT_FILE_NAME','open$','Utf8','Hasher','_unitID','setUndoRedoMutationParamsCache','_onConnectionOpen','_colorIndex','getCurrentUnitForType','setInterval','_backgroundColor','evenodd','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','OffLineSingle','_DEC_XFORM_MODE','_getUploadFileURL','_members','cursorInfo$','LocaleService'];_0x54cd=function(){return _0x16f114;};return _0x54cd();}