@univerjs-pro/collaboration-client-ui 0.14.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +20 -20
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x3baa(){const _0x33e136=['_assignedColors','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','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','exports','_maxFormulaLimit','href','_initEvent','maxFormulaLimit','YUUMI_SUBSCRIPTION_NOT_FOUND','ENTITLE_DUP_SUBSCRIPTION','RegularPolygon','@univerjs-pro/collaboration-client','trim','ENTITLE_COUPON_EXPIRED','BrowserCollaborationSocketService','Module','endRow','FETCH_MISS','_scheduleClearOtherTimer','getItem','runRefRangeMutations','MoveRangeCommandId','@univerjs/network','height','beforeCommandExecuted','getUnhiddenWorksheets','CONFLICT','@univerjs/engine-formula','CollaborationStatus','handleDeleteRangeMoveUp','collab-text-anchor-','/universer-api/license/formula/limit/status','saveOfflineData','UniverDocsUi','YUUMI_RATE_OVER_LIMIT','color','getCellPositionByOffset','name','_clearPolling','234EPQghN','_scheduleHeartbeat','find','length','_docTransformStateCacheService','endColumn','executeCommand','_roomMembers$','LOCAL_CACHE_INTERVAL_KEY','getTypeOfUnitDisposed$','UniverEngineRender','ENSURE_SNAPSHOT_EXECUTION','on-line-icon','lineno','cursorInfo','ENTITLE_USE_COUPON_NOT_1ST_TRADE','setStateCache','combineLatest','_updateCollabCursors','YUUMI_UNABLE_LOAD_URL','updateOfflineData','width','defIds','clearTimeout','CollaborationUIEventService','_createSocketURL','_collaborationController','onRendered','394008qzlndj','ALREADY_EXISTS','UniverProCollaboration','DEFAULT_WS_SESSION_TICKET_URL','skeleton','registerBeforeClose','stageInfo','registerRenderModule','history','DocStateChangeManagerService','_toggleOffline','SessionStatus','on-line-icon_clip0_910_349','setInterval','UniverSheets','CollaborationDataLoaderController','application/json','CONNECTOR_DATA_TOO_LARGE','_handleJoinEvent','UniverCollaborationClientUIPlugin','_renderManagerService','unsubscribe','_shapes','DocIMEInputManagerService','InsertRangeMoveDownCommandId','collaboration-client-ui.config','_saveTaskMap','REDEMPTION_INVALID_CODE','displayName','Shape','replaceDocRanges','DOC_RANGE_TYPE','_setupSubUnitSync','onLocalMutation','evenodd','RemoteUniscriptService','catch','getUndoRedoMutationParamsCache','measureText','UniverCollaborationClientPlugin','@univerjs/docs','getRangePointData','_initCommandExecutedListener','moveTo','UniverProCollaborationClientUi','_collaborationUIEventService','RevisionService','_range','memberID','getCurrentSelections','SetTextSelectionsOperation','_drawTextRange','_colorAssignService','isArray','PENDING','transformRemoteChangeset','_textBubble','_currentUsage','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','ACTIVE_UNIT_EVENT_CHANNEL','EffectRefRangId','_session','roomMembers','CHANGESET_REVISION_CONFILICT','_transformService','runId','UniverDesign','ThemeService','dirtyRanges','runOnServer','hovered','some','startColumn','deserializeRangeWithSheet','ENTITLE_REPORT_LIMIT_EXCEED','1757WpuzEb','UniverRpc','APPLY_DUPLICATED','rxjs/operators','ONLINE','_anchorDot','popstate','switchMap','getOwnPropertyDescriptor','_unitOnClients','RemoveColCommandId','REDEMPTION_CODE_FULLY_REDEEMED','rgba(255,\x20255,\x20255,\x200.01)','IConfigService','toRgbString','setUndoRedoMutationParamsCache','YUUMI_TABLE_NOT_FOUND_IN_UNIT','colno','_checkCalculationAvailable','isTransformMutationsWithChangesetSuccess','SetFormulaCalculationStartMutation','distinctUntilChanged','_updateSubUnitFromURLParams','row','transformByState','complete','add','get','_localeService','Vector2','values','subscribeEvent','LICENSE_MAX_UNITS_EXCEEDED','_notificationService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','init','svg','WebBrowserSingleActiveUnitService','Injector','REDEMPTION_CODE_INACTIVE','onPointerLeave$','createInstance','SheetSkeletonManagerService','filename','[RemoteUniscriptService]:\x20no\x20focused\x20unit','m2Prime','session.collaboration-timeout','cursorInfo$','[Window\x20Error]:\x20','beginPath','getSheetBySheetId','_initResize','addObjects','_status$','symbol','ranges','_id','APPLY_PERMISSION_DENIED','stack','TOO_MANY_REQUESTS','fromEvent','_onCursorDelete','getUnitId','_collabCursorController','addClipboardHook','_initStatusListener','univer-flex\x20univer-items-center','onMouseMove','_document','[CollaborationDataLoaderController]','5SvUGuZ','top','set','UnitStatus','unit','TEXT_RANGE_LAYER_INDEX','currentSkeleton$','selections','CollaborationSocketService','CollaborationUIEventId','YUUMI_URL_COL_OUT_OF_RANGE','mask','black','merge','_eventUnsubscribe','delete','override','formula.calculation.started','MessageType','getFocusedUnit','REDEMPTION_CODE_HAS_BEEN_CREATED','APPLY_NON_SEQUENTIAL_REVISION','BehaviorSubject','disposeWithMe','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','labelPosition','_transformUndoRedoStack','HTTPService','UNIVER_SHEET','_releaseCalculationLimit','_cachedData','_refreshCollabCursors','unitID','SOCKET_FAILED','mapTo','rxjs','event$','push','reason','handleDeleteRangeMoveLeft','isTransformMutationFailure','_scheduleSaving','isFormulaString','fillText','AUTHORIZE_CODE_ILLEGAL','_online','_uiPartsService','setTimeout','IRenderManagerService','_urlService','object','UniverDrawing','transform','onPointerEnter$','DeleteRangeMoveLeftCommandId','_drawAnchor','random','getUnit','ILocalStorageService','takeUntil','_hideTimer','_getScale','DisposableCollection','176DQwJBR','_hasFormulaInDirtyRanges','setActiveRange','IBeforeCloseService','_lastPointer','getRenderById','univer-mr-2\x20univer-flex\x20univer-text-xl','post','_docSkeletonManagerService','TEXT','backgroundColor','ITransformService','_selfUnitIDs','map','permission.content','MUTATION','getMergeData','IUniverInstanceService','handleInsertCol','clsx','_imageIoService','next','_localCacheService','UNDEFINED','_ensureSubject','collabStatus.conflict','OTHER_CLIENTS_EDITING','deepClone','_collabSessionService','currentTheme$','focused$','body','generateRandomId','subscribe','_initCommandInterceptor','UniverUi','Tools','setItem','_initDependencies','fill','shareReplay','@univerjs/ui','_updateURLWithCurrentState','/universer-api/frontend/logs','Success','WECHAT_HAS_BEEN_BOUND','toString','getTypeOfUnitAdded$','_docTransformSelectionsService','_unitStatus','getSheetId','eventID','getMemberID','jiqing.500','contains','getRelativeToViewportCoord','SOCKET_FAILED_RETRY','?taskId=','SetSelectionsOperation','min','ISocketService','createIdentifier','onCommandExecuted','univerjs-icon\x20univerjs-icon-','saveTaskMap','START_CALCULATION','INTERNAL_ERROR','onStarting','hide','disableLocalCache','CollaborationController','div','getAncestorScale','permission.title','_revisionService','yellow.400','unshift','IMessageService','url(#$1','startRow','collab-rect-range-','then','_memberID','error','setParam','PY_RUNTIME_SCRIPT_ERROR','transformMutationsWithChangeset','ENTITLE_INVALID_COUPON_CODE','ENTITLE_INSUFFICIENT_QUOTA','pushState','show','Disposable','getOffsetConfig','formula.calculation.waiting','RefRangeService','0\x200\x2016\x2016','ENTITLE_CHAT_LIMIT_EXCEED','font','ENTITLE_COUPON_USED_UP','_showGuardMessage','_initEntityListener','handleMoveRange','createElement','textRanges','CollaborationSessionService','defs','off-line-icon','isActive','jsxs','syncEditingCollabCursor','subUnitId','filter','currentUsage','onPointerMove$','message','SetWorksheetActivateCommand','saveImage','CURRENT_STATUS_CANNOT_OPERATE','getActiveSheet','WebURLService','OnLineIcon','getLocalCacheKey','UniverDocs','fromEventSubject','NodePositionConvertToCursor','removeParam','BuiltInUIPart','_entities','USER_IS_ANONYMOUS','addHandlerCallback','REDEMPTION_USER_REDEEM_TIMES_EXCEED','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','[Unhandled\x20Rejection]:\x20','setAlpha','redoState','RxDisposable','YUUMI_ALL_TABLES_IS_INVALID','[LogService\x20Error]:\x20','getCurrent','OTHER_CLIENT_EDITING','InsertRowCommandId','_setupBeforeClosingHandler','IRemoteInstanceService','exhaustSavingTask','UNAUTHENTICATED','0\x200\x2017\x2016','@univerjs/sheets','now','UniverSheetsUi','IDocClipboardService','UniverInstanceType','newValue','_injector','RECT','key','actions','DocSkeletonManagerService','fillRule','_docSkeleton','limitInfo','getStateCache','enableLocalCache','getUniverSheetInstance','reconnect','435726RSjJsp','bottom','throttleTime','_color','_name','location','SHEET_VIEWPORT_KEY','all','1mKyGWx','undoState','arc','doc.mutation.rich-text-editing','lineTo','_initStatusComponent','EMAIL_VERIFY_CODE_MISMATCH','UPDATE_CURSOR','INVALID_INVITE_CODE','DocCollaborationEntity','entries','INVITE_CODE_ALREADY_BOUND','code','_docTransformIMECacheService','setConfig','isEditing','USER_NOT_FOUND','children','_cursors','DeleteRangeMoveUpCommandId','ILocalCacheService','NOT_COLLAB','_httpService','stringify','_cursorInfo$','_commandService','@univerjs/rpc','formula.calculation.unable','flatMap','USERS_LEAVE','collabStatus.notCollab','translate(.97)','_initWindowErrorListener','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','/run/','_logService','DesktopCollaborationStatusDisplayController','handleInsertRow','uni.network.url-service','disposeUnit','Loading','ENTITLE_NEED_BILLING_ADDRESS','_collaborationSessionService','clipPath','_onRefRangeChange','LocaleService','FromArray','toDisposable','with','red.300','@univerjs/core','includes','ENTITLE_CAN_NOT_BUY_LOWER_OTP','UNRECOGNIZED','string','MOBILE_VERIFY_CODE_MISMATCH','_initUnhandledRejectionListener','loadUnit','idSuffix','getColor','Optional','debounce','Rect','ColorKit','22998chPQdI','CommandType','LICENSE_DISTRO_REJECTED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','5332820BalGrM','NO_OTHER_CLIENTS_EDITING','handleInsertRangeMoveRight','ERROR_AGAIN','_updateLocalCursor','INVITE_CODE_HAS_BEEN_UES','getColorFromTheme','off-line-icon_clip0_910_343','activeSheet$','103826ACCKBP','useDependency','_sheetSkeletonManagerService','_lastResponseTimestamp','_docSyncEditingCollabCursorService','WebSocketService','socket$','Error','transformMutation','COLORS','SheetCollabCursorShape','InsertRangeMoveRightCommandId','3263574xxiJhW','from','text','registerDependencies','findNodePositionByCharIndex','Workbook','dispose$','13832meqmNH','@univerjs/engine-render','_docStateChangeManagerService','asObservable','pluginName','_uploadLog','CollaborationEvent','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','resize','type','YUUMI_ASYNCIO_CANCELLED','params','parseInt','_docClipboardService','_syncEditingCollabCursorService','SUBMIT_CHANGESET_TIMEOUT','_handleHover','_monkeyPatchLogService','getCoordByCell','getCellMatrix','sessionStatus$','_config','path','setShapeProps','UniverIcon','_entityInit$','DATA_SOURCE_TOO_LARGE','getVpScrollXYInfoByPosToVp','_context','_messageService','onTransformChange$','mergeOverrideWithDependencies','getCollabCursors$','LOGIN_TOKEN_PROCESSING_FAILED','_draw','_themeService','serializeRangeWithSheet','11dalQKp','_saveCache','substring','_heartbeatTimer','Failed','_transformHistoryAndStateStack','defineProperty','clearInterval','split','colorChannel1','_initUserListener','_getMergeRange','ILogService','status$','drawWith','INVITE_CODE_REQUIRED','attrs','JOIN_ROOM_FAILED','getValue','debug','SheetsSelectionsService','_getSessionTicket','CLOSE_ROOM','startsWith','dispose','_startDocCollabCursor','_univerInstanceService','react','none','docStateChange$','loadOfflineData','_render','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','m1Prime','parse','EMAIL_HAS_BEEN_BOUND','_onCursorUpdate','1em','NOT_FOUND','LOGIN_FAILED','_beforeCloseService','_labelPosition','_clearOtherTimers','APPLY_REVISION_CONFILICT','INVALID_ARGUMENT','whenReady','collab-text-range-','tag','http://www.w3.org/2000/svg','TRANSFORM_CHANGE_OBSERVABLE_TYPE','INotificationService','removeEventListener','ticket','React','range','InsertColCommandId','_backgroundColor','assignAColorForMemberID','assign','_getSheetObject','Warning','addObject','#FFF','roomMembers$','white','collab-client.tooltip.reconnect','xlink:href','getformulaLimitStatusUrl','useObservable','YUUMI_CONNECTOR_URL_NOT_FOUND','has','Plugin','...','useRef','_applyCommand','collabStatus.offline','_cursorShapes','PERMISSION_DENIED','_memberService','pipe','bind','stage','urlChange$','touchDependencies','SNAPSHOT_INVALID_SNAPSHOT','addEventListener','forEach','_hover','NodePositionConvertToRectRange','closePath','COMPLETION_FINISHED','result','_setFormulaLimitStatus','MOBILE_HAS_BEEN_BOUND','_hovered','AWAITING_WITH_PENDING','getCurrentRevOfUnit','collabStatus.synced','collaboration.closeRoom','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','enableFrontendLog','selection','SNAPSHOT_HAS_BEEN_REMOVED','_transformPreviousActiveRange','ICommandService','join','Unknown\x20user','_collabCursorState$','Inject','PAYMENT_CHANNEL_NOT_SUPPORT','_registerDependencies','executionId','collaboration.single-unit.warning','isFormulaId','_instanceService','requireSession','_getSaveTimeout','_colorIndex','jsx','_getAnchorBounding','replace','UNIVER_DOC','SYNCED','_handleEvent','wsSessionTicketUrl','_registerRenderDependencies','_init','Subject','_removeCollabCursors','getConfig','_anchor','APPLY_REJECT','_handleLeaveEvent','storage','_scene','_localStorageService','searchParams','collabCursorState$','_cursor','_checkAndWaitForCalculationPermission','data','restore','YUUMI_NO_CUBOID_FOR_QUESTION','SetFormulaCalculationNotificationMutation','source','_send','round','_removeClearOtherTimer','useCallback','mutations','handleIRemoveCol','OFFLINE','createSocket','@univerjs/design','_pollingInterval','_startSheetCollabCursor','_configService','transformSelections','transformIMECache','editingUnit','UniverNetwork','_dataLoaderService','MemberService','getViewport','registerRefRange','shift','M0\x200H16V16H0z','_toggleOnline','USER_NOT_INVITED_CODE','getMember','fillStyle','_taskIds','column','REDEMPTION_CODE_NOT_STARTED','send','toStringTag','subunit','getDocRanges','OffLineIcon','_getFormulaLimitStatus','AWAITING','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','blue.400','_disabled','size','replaceState','REDEMPTION_USER_NOT_ELIGIBLE','triggerDblclick','save','getParam','\x20at\x20','unitId','currentColor'];_0x3baa=function(){return _0x33e136;};return _0x3baa();}function _0x2541(_0x344a2e,_0x497b87){_0x344a2e=_0x344a2e-0x156;const _0x3baa6f=_0x3baa();let _0x254186=_0x3baa6f[_0x344a2e];return _0x254186;}(function(_0x2fdc2f,_0x25ab8e){const _0x266791=_0x2541,_0x127cc9=_0x2fdc2f();while(!![]){try{const _0x2fc396=-parseInt(_0x266791(0x20a))/0x1*(-parseInt(_0x266791(0x257))/0x2)+parseInt(_0x266791(0x24a))/0x3*(parseInt(_0x266791(0x15e))/0x4)+parseInt(_0x266791(0x425))/0x5*(-parseInt(_0x266791(0x263))/0x6)+parseInt(_0x266791(0x3df))/0x7*(parseInt(_0x266791(0x26a))/0x8)+-parseInt(_0x266791(0x202))/0x9+parseInt(_0x266791(0x24e))/0xa*(-parseInt(_0x266791(0x28f))/0xb)+-parseInt(_0x266791(0x394))/0xc*(-parseInt(_0x266791(0x378))/0xd);if(_0x2fc396===_0x25ab8e)break;else _0x127cc9['push'](_0x127cc9['shift']());}catch(_0x4dae59){_0x127cc9['push'](_0x127cc9['shift']());}}}(_0x3baa,0x46747),function(_0x5ce6d5,_0x4b07c7){const _0x427c7a=_0x2541;typeof exports==_0x427c7a(0x457)&&typeof module<'u'?_0x4b07c7(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define=='function'&&define['amd']?define([_0x427c7a(0x354),'react/jsx-runtime',_0x427c7a(0x35c),_0x427c7a(0x23c),_0x427c7a(0x187),'rxjs',_0x427c7a(0x328),_0x427c7a(0x2aa),_0x427c7a(0x224),_0x427c7a(0x1f0),_0x427c7a(0x26b),_0x427c7a(0x367),'@univerjs/docs-ui','@univerjs/drawing','@univerjs-pro/collaboration',_0x427c7a(0x3bc),_0x427c7a(0x36c),_0x427c7a(0x3e2),'@univerjs/sheets-ui'],_0x4b07c7):(_0x5ce6d5=typeof globalThis<'u'?globalThis:_0x5ce6d5||self,_0x4b07c7(_0x5ce6d5[_0x427c7a(0x3c0)]={},_0x5ce6d5[_0x427c7a(0x2c4)],_0x5ce6d5['UniverProCollaborationClient'],_0x5ce6d5['UniverCore'],_0x5ce6d5[_0x427c7a(0x181)],_0x5ce6d5['rxjs'],_0x5ce6d5[_0x427c7a(0x3d6)],_0x5ce6d5['React'],_0x5ce6d5[_0x427c7a(0x3e0)],_0x5ce6d5[_0x427c7a(0x3a2)],_0x5ce6d5[_0x427c7a(0x382)],_0x5ce6d5[_0x427c7a(0x32f)],_0x5ce6d5[_0x427c7a(0x372)],_0x5ce6d5[_0x427c7a(0x458)],_0x5ce6d5[_0x427c7a(0x396)],_0x5ce6d5[_0x427c7a(0x1d8)],_0x5ce6d5['UniverEngineFormula'],_0x5ce6d5[_0x427c7a(0x448)]['operators'],_0x5ce6d5[_0x427c7a(0x1f2)]));}(this,function(_0x38ae7f,_0x570dfc,_0x2cb61c,_0x295c8f,_0x189b11,_0x58c226,_0x599761,_0x1da277,_0x7417fd,_0x11cdbd,_0x8db91b,_0x17ac2f,_0x442538,_0x4b8ddd,_0x143a87,_0x400651,_0x218d3f,_0x2157b5,_0x2cd116){'use strict';const _0xce3cd0=_0x2541;var _0x1c3367=Object[_0xce3cd0(0x295)],_0x5b410a=(_0x2f6180,_0x2530f0,_0x178bb9)=>_0x2530f0 in _0x2f6180?_0x1c3367(_0x2f6180,_0x2530f0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x178bb9}):_0x2f6180[_0x2530f0]=_0x178bb9,_0xef452e=(_0x258610,_0x196e84,_0x7a3c5a)=>_0x5b410a(_0x258610,typeof _0x196e84!=_0xce3cd0(0x415)?_0x196e84+'':_0x196e84,_0x7a3c5a);function _0x560a56({ref:_0x3b1c20,..._0x39b95c}){const _0x18fe57=_0xce3cd0,{icon:_0x1f5bfa,id:_0x3654eb,className:_0x43f195,extend:_0x38fb1c,..._0x513c63}=_0x39b95c,_0x12704a=(_0x18fe57(0x19d)+_0x3654eb+'\x20'+(_0x43f195||''))[_0x18fe57(0x35d)](),_0x4c875d=_0x1da277[_0x18fe57(0x2d8)]('_'+_0x25432b());return _0x311bbf(_0x1f5bfa,''+_0x3654eb,{'defIds':_0x1f5bfa[_0x18fe57(0x38e)],'idSuffix':_0x4c875d['current']},{'ref':_0x3b1c20,'className':_0x12704a,..._0x513c63},_0x38fb1c);}function _0x311bbf(_0xe8b092,_0x79142f,_0x5020b5,_0x4a9745,_0x26b3bf){const _0x5729a0=_0xce3cd0;return _0x1da277['createElement'](_0xe8b092[_0x5729a0(0x2be)],{'key':_0x79142f,..._0x4634b7(_0xe8b092,_0x5020b5,_0x26b3bf),..._0x4a9745},(_0x1c1334(_0xe8b092,_0x5020b5)['children']||[])[_0x5729a0(0x16b)]((_0x115a84,_0x3d96b0)=>_0x311bbf(_0x115a84,_0x79142f+'-'+_0xe8b092[_0x5729a0(0x2be)]+'-'+_0x3d96b0,_0x5020b5,void 0x0,_0x26b3bf)));}function _0x4634b7(_0x992174,_0x48ef73,_0x4c4972){const _0x1765f2=_0xce3cd0,_0x48c989={..._0x992174['attrs']};_0x4c4972!=null&&_0x4c4972[_0x1765f2(0x298)]&&_0x48c989[_0x1765f2(0x185)]===_0x1765f2(0x298)&&(_0x48c989[_0x1765f2(0x185)]=_0x4c4972['colorChannel1']),_0x992174['tag']==='mask'&&_0x48c989['id']&&(_0x48c989['id']=_0x48c989['id']+_0x48ef73['idSuffix']),Object[_0x1765f2(0x214)](_0x48c989)['forEach'](([_0x543204,_0x514cfc])=>{const _0x343ffe=_0x1765f2;_0x543204===_0x343ffe(0x430)&&typeof _0x514cfc==_0x343ffe(0x240)&&(_0x48c989[_0x543204]=_0x514cfc[_0x343ffe(0x307)](/url\(#(.*)\)/,_0x343ffe(0x1ac)+_0x48ef73[_0x343ffe(0x244)]+')'));});const {defIds:_0x264fdb}=_0x48ef73;return!_0x264fdb||_0x264fdb['length']===0x0||(_0x992174[_0x1765f2(0x2be)]==='use'&&_0x48c989['xlink:href']&&(_0x48c989[_0x1765f2(0x2d1)]=_0x48c989[_0x1765f2(0x2d1)]+_0x48ef73['idSuffix']),Object['entries'](_0x48c989)[_0x1765f2(0x2e5)](([_0x1f9d62,_0x1db705])=>{const _0x1e6781=_0x1765f2;typeof _0x1db705==_0x1e6781(0x240)&&(_0x48c989[_0x1f9d62]=_0x1db705[_0x1e6781(0x307)](/url\(#(.*)\)/,_0x1e6781(0x1ac)+_0x48ef73[_0x1e6781(0x244)]+')'));})),_0x48c989;}function _0x1c1334(_0x1c1131,_0x5efee3){const _0x1dd976=_0xce3cd0;var _0x4a6777;const {defIds:_0x6e0810}=_0x5efee3;return!_0x6e0810||_0x6e0810[_0x1dd976(0x37b)]===0x0?_0x1c1131:_0x1c1131[_0x1dd976(0x2be)]===_0x1dd976(0x1c7)&&((_0x4a6777=_0x1c1131[_0x1dd976(0x21b)])!=null&&_0x4a6777[_0x1dd976(0x37b)])?{..._0x1c1131,'children':_0x1c1131['children'][_0x1dd976(0x16b)](_0x1969ad=>typeof _0x1969ad[_0x1dd976(0x29f)]['id']==_0x1dd976(0x240)&&_0x6e0810&&_0x6e0810[_0x1dd976(0x23d)](_0x1969ad['attrs']['id'])?{..._0x1969ad,'attrs':{..._0x1969ad[_0x1dd976(0x29f)],'id':_0x1969ad[_0x1dd976(0x29f)]['id']+_0x5efee3[_0x1dd976(0x244)]}}:_0x1969ad)}:_0x1c1131;}function _0x25432b(){const _0x4e4452=_0xce3cd0;return Math[_0x4e4452(0x157)]()[_0x4e4452(0x18c)](0x24)[_0x4e4452(0x291)](0x2,0x8);}_0x560a56['displayName']=_0xce3cd0(0x282);const _0x5cf04b={'tag':'svg','attrs':{'xmlns':_0xce3cd0(0x2bf),'fill':'none','viewBox':_0xce3cd0(0x1bd),'width':_0xce3cd0(0x2b4),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0xce3cd0(0x352),'strokeLinecap':_0xce3cd0(0x321),'strokeLinejoin':_0xce3cd0(0x321),'strokeWidth':1.2}}]},{'tag':_0xce3cd0(0x1c7),'attrs':{},'children':[{'tag':_0xce3cd0(0x235),'attrs':{'id':_0xce3cd0(0x255)},'children':[{'tag':_0xce3cd0(0x280),'attrs':{'fill':_0xce3cd0(0x2cf),'d':_0xce3cd0(0x335)}}]}]}],'defIds':[_0xce3cd0(0x255)]},_0x3442da=_0x1da277['forwardRef'](function(_0x1d0ccd,_0x3f4f9f){const _0x3a408f=_0xce3cd0;return _0x1da277[_0x3a408f(0x1c4)](_0x560a56,Object[_0x3a408f(0x2c9)]({},_0x1d0ccd,{'id':_0x3a408f(0x1c8),'ref':_0x3f4f9f,'icon':_0x5cf04b}));});_0x3442da[_0xce3cd0(0x3b0)]=_0xce3cd0(0x341);const _0x229194={'tag':_0xce3cd0(0x403),'attrs':{'xmlns':_0xce3cd0(0x2bf),'fill':_0xce3cd0(0x2ab),'viewBox':_0xce3cd0(0x1ef),'width':_0xce3cd0(0x2b4),'height':_0xce3cd0(0x2b4)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0xce3cd0(0x280),'attrs':{'stroke':_0xce3cd0(0x350),'d':_0xce3cd0(0x22b),'strokeLinecap':'round','strokeLinejoin':_0xce3cd0(0x321),'strokeWidth':1.2}}]},{'tag':_0xce3cd0(0x1c7),'attrs':{},'children':[{'tag':_0xce3cd0(0x235),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0xce3cd0(0x2cf),'d':_0xce3cd0(0x335),'transform':_0xce3cd0(0x229)}}]}]}],'defIds':[_0xce3cd0(0x3a0)]},_0x15f857=_0x1da277['forwardRef'](function(_0x3f113f,_0x29ce2d){const _0x4b5b69=_0xce3cd0;return _0x1da277[_0x4b5b69(0x1c4)](_0x560a56,Object['assign']({},_0x3f113f,{'id':_0x4b5b69(0x384),'ref':_0x29ce2d,'icon':_0x229194}));});_0x15f857['displayName']=_0xce3cd0(0x1d6);function _0x47a3ee(_0x32a102){const _0x28b2d6=_0xce3cd0;switch(_0x32a102){case _0x2cb61c[_0x28b2d6(0x36d)]['OFFLINE']:return _0x28b2d6(0x2da);case _0x2cb61c[_0x28b2d6(0x36d)][_0x28b2d6(0x36b)]:return _0x28b2d6(0x177);case _0x2cb61c[_0x28b2d6(0x36d)][_0x28b2d6(0x362)]:return'collabStatus.fetchMiss';case _0x2cb61c['CollaborationStatus'][_0x28b2d6(0x21f)]:return _0x28b2d6(0x228);case _0x2cb61c[_0x28b2d6(0x36d)][_0x28b2d6(0x343)]:case _0x2cb61c[_0x28b2d6(0x36d)][_0x28b2d6(0x2ee)]:return'collabStatus.syncing';case _0x2cb61c[_0x28b2d6(0x36d)][_0x28b2d6(0x309)]:case _0x2cb61c[_0x28b2d6(0x36d)][_0x28b2d6(0x3ca)]:return _0x28b2d6(0x2f0);}}function _0x4d60d6(_0x23147d){const _0x1098d2=_0xce3cd0,{status$:_0x2c7db2}=_0x23147d,_0x21de82=_0x189b11[_0x1098d2(0x2d3)](_0x2c7db2,_0x2cb61c['CollaborationStatus']['NOT_COLLAB']),_0x457364=_0x189b11[_0x1098d2(0x258)](_0x295c8f[_0x1098d2(0x237)]),_0x51237f=_0x189b11[_0x1098d2(0x258)](_0x2cb61c['CollaborationSessionService']),_0x258b5a=_0x21de82!==_0x2cb61c['CollaborationStatus'][_0x1098d2(0x326)],_0x72a7a3=_0x457364['t'](_0x47a3ee(_0x21de82)),_0x39c5b2=_0x258b5a?_0x570dfc[_0x1098d2(0x305)](_0x15f857,{}):_0x570dfc['jsx'](_0x3442da,{}),_0x5d80c2=_0x1da277[_0x1098d2(0x323)](()=>{const _0x35866b=_0x1098d2;_0x258b5a||_0x51237f[_0x35866b(0x201)]();},[_0x258b5a,_0x51237f]);function _0x338f51(){const _0x36fa44=_0x1098d2;return _0x570dfc[_0x36fa44(0x1ca)](_0x36fa44(0x1a5),{'className':_0x36fa44(0x421),'onClick':_0x5d80c2,'children':[_0x570dfc[_0x36fa44(0x305)](_0x36fa44(0x1a5),{'className':_0x599761[_0x36fa44(0x171)](_0x36fa44(0x164),{'univer-text-green-500':_0x258b5a,'univer-text-red-500':!_0x258b5a}),'children':_0x39c5b2}),_0x570dfc['jsx']('div',{'className':_0x36fa44(0x2f2),'children':_0x72a7a3})]});}return _0x258b5a?_0x338f51():_0x570dfc[_0x1098d2(0x305)](_0x599761['Tooltip'],{'title':_0x457364['t'](_0x1098d2(0x2d0)),'children':_0x338f51()});}var _0x2bf1d4=Object['getOwnPropertyDescriptor'],_0x2f4e5a=(_0x51df83,_0xff25b7,_0x4dc27e,_0x519b05)=>{const _0x2a74e3=_0xce3cd0;for(var _0x873441=_0x519b05>0x1?void 0x0:_0x519b05?_0x2bf1d4(_0xff25b7,_0x4dc27e):_0xff25b7,_0x4d2eeb=_0x51df83[_0x2a74e3(0x37b)]-0x1,_0x6ce820;_0x4d2eeb>=0x0;_0x4d2eeb--)(_0x6ce820=_0x51df83[_0x4d2eeb])&&(_0x873441=_0x6ce820(_0x873441)||_0x873441);return _0x873441;},_0xb60812=(_0x541ffe,_0x46e1d8)=>(_0x35e9ee,_0x50d82d)=>_0x46e1d8(_0x35e9ee,_0x50d82d,_0x541ffe);_0x38ae7f[_0xce3cd0(0x22e)]=class extends _0x295c8f[_0xce3cd0(0x1b9)]{constructor(_0x4d1e10,_0x22aab9,_0x290282,_0x515c91){const _0x48b9d5=_0xce3cd0;super(),_0xef452e(this,_0x48b9d5(0x414),new _0x58c226[(_0x48b9d5(0x43b))](_0x2cb61c[_0x48b9d5(0x36d)][_0x48b9d5(0x21f)])),(this['_univerInstanceService']=_0x4d1e10,this['_injector']=_0x22aab9,this[_0x48b9d5(0x392)]=_0x290282,this['_uiPartsService']=_0x515c91,this[_0x48b9d5(0x20f)](),this[_0x48b9d5(0x420)]());}['_initStatusListener'](){const _0x21fe57=_0xce3cd0;this[_0x21fe57(0x43c)](this[_0x21fe57(0x2a9)][_0x21fe57(0x17c)][_0x21fe57(0x2de)](_0x58c226[_0x21fe57(0x3e6)](()=>{const _0x286078=_0x21fe57,_0x518cd8=this[_0x286078(0x2a9)][_0x286078(0x438)]();return _0x518cd8?this[_0x286078(0x392)]['getCollabEntity$'](_0x518cd8['getUnitId']()):_0x58c226['of'](null);}),_0x58c226['switchMap'](_0x494e26=>_0x494e26?_0x494e26[_0x21fe57(0x29c)]:_0x58c226['of'](_0x2cb61c[_0x21fe57(0x36d)]['NOT_COLLAB'])))[_0x21fe57(0x17f)](_0x401801=>{const _0x5aa6ca=_0x21fe57;this[_0x5aa6ca(0x414)][_0x5aa6ca(0x173)](_0x401801);}));}['_initStatusComponent'](){const _0x377740=_0xce3cd0;this[_0x377740(0x43c)](this[_0x377740(0x453)]['registerComponent'](_0x189b11[_0x377740(0x1dc)]['HEADER_MENU'],()=>_0x189b11['connectInjector'](_0x108cd4({'status$':this[_0x377740(0x414)][_0x377740(0x26d)]()}),this[_0x377740(0x1f6)])));}},_0x38ae7f['DesktopCollaborationStatusDisplayController']=_0x2f4e5a([_0xb60812(0x0,_0x295c8f[_0xce3cd0(0x16f)]),_0xb60812(0x1,_0x295c8f[_0xce3cd0(0x2fb)](_0x295c8f[_0xce3cd0(0x405)])),_0xb60812(0x2,_0x295c8f[_0xce3cd0(0x2fb)](_0x2cb61c[_0xce3cd0(0x1a4)])),_0xb60812(0x3,_0x189b11['IUIPartsService'])],_0x38ae7f[_0xce3cd0(0x22e)]);function _0x108cd4(_0x580c6c){const {status$:_0x3a8352}=_0x580c6c;return function(){return _0x570dfc['jsx'](_0x4d60d6,{'status$':_0x3a8352});};}const _0x4d5ea0=_0x295c8f[_0xce3cd0(0x19b)](_0xce3cd0(0x230));var _0x3b67c1=Object[_0xce3cd0(0x3e7)],_0x384cd0=(_0x1ca008,_0x486cd4,_0xd4ff55,_0x506de4)=>{for(var _0x5ac656=_0x506de4>0x1?void 0x0:_0x506de4?_0x3b67c1(_0x486cd4,_0xd4ff55):_0x486cd4,_0x460ef0=_0x1ca008['length']-0x1,_0x180d62;_0x460ef0>=0x0;_0x460ef0--)(_0x180d62=_0x1ca008[_0x460ef0])&&(_0x5ac656=_0x180d62(_0x5ac656)||_0x5ac656);return _0x5ac656;},_0x27661a=(_0x185e58,_0x2b0249)=>(_0xfb613b,_0xacbd9b)=>_0x2b0249(_0xfb613b,_0xacbd9b,_0x185e58);_0x38ae7f[_0xce3cd0(0x3a3)]=class extends _0x295c8f[_0xce3cd0(0x1e5)]{constructor(_0xa0ce4f,_0x87f400,_0x4dd0ed,_0x44f84a,_0x4731d6){const _0xb482b5=_0xce3cd0;super(),this[_0xb482b5(0x456)]=_0xa0ce4f,this['_logService']=_0x87f400,this[_0xb482b5(0x223)]=_0x4dd0ed,this[_0xb482b5(0x330)]=_0x44f84a,_0x4731d6?_0x4731d6==null||_0x4731d6[_0xb482b5(0x2bc)]()['then'](()=>this[_0xb482b5(0x30d)]()):(this[_0xb482b5(0x22d)][_0xb482b5(0x2a2)](_0xb482b5(0x424),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0xce3cd0(0x30d)](){const _0x4cf117=_0xce3cd0,_0x411d4f=this['_urlService']['getParam'](_0x4cf117(0x429)),_0x7c6cdb=this[_0x4cf117(0x456)][_0x4cf117(0x34d)](_0x4cf117(0x273)),_0x53852f=this[_0x4cf117(0x456)][_0x4cf117(0x34d)](_0x4cf117(0x33f));if(!_0x411d4f||!_0x7c6cdb){this[_0x4cf117(0x22d)][_0x4cf117(0x2a2)](_0x4cf117(0x424),_0x4cf117(0x43d));return;}const _0x3ab63a=await this[_0x4cf117(0x330)][_0x4cf117(0x243)](_0x411d4f,Number(_0x7c6cdb),_0x53852f);_0x3ab63a&&_0x3ab63a instanceof _0x295c8f[_0x4cf117(0x268)]&&this['_setupSubUnitSync'](_0x3ab63a);}async[_0xce3cd0(0x3b4)](_0xa8dc5b){const _0xf05fd9=_0xce3cd0;await this[_0xf05fd9(0x3f5)](_0xa8dc5b),_0xa8dc5b[_0xf05fd9(0x256)][_0xf05fd9(0x2de)](_0x58c226[_0xf05fd9(0x15a)](this[_0xf05fd9(0x269)]))[_0xf05fd9(0x17f)](_0x4fa9ab=>{const _0x2574cb=_0xf05fd9;_0x4fa9ab&&this[_0x2574cb(0x188)](_0x4fa9ab);}),this[_0xf05fd9(0x456)][_0xf05fd9(0x2e1)][_0xf05fd9(0x2de)](_0x58c226[_0xf05fd9(0x15a)](this[_0xf05fd9(0x269)]))[_0xf05fd9(0x17f)](()=>this['_updateSubUnitFromURLParams'](_0xa8dc5b));}[_0xce3cd0(0x188)](_0x4ae39f,_0x39726d=!0x1){const _0x24706b=_0xce3cd0,_0x4e2c71=this[_0x24706b(0x456)][_0x24706b(0x34d)](_0x24706b(0x33f));_0x4ae39f[_0x24706b(0x190)]()!==_0x4e2c71&&this['_urlService'][_0x24706b(0x1b2)]('subunit',_0x4ae39f[_0x24706b(0x190)](),_0x39726d);}async[_0xce3cd0(0x3f5)](_0x35d3a5){const _0x500e28=_0xce3cd0;var _0x546259;const _0x29a19f=this['_urlService'][_0x500e28(0x34d)](_0x500e28(0x33f));if(!_0x29a19f||!_0x35d3a5[_0x500e28(0x411)](_0x29a19f)){const _0x26c149=_0x35d3a5[_0x500e28(0x36a)]()[0x0],_0x4d501c=_0x35d3a5['getSheetBySheetId'](_0x26c149);if(!_0x4d501c)return;this[_0x500e28(0x188)](_0x4d501c,!0x0),await this[_0x500e28(0x223)][_0x500e28(0x37e)](_0x11cdbd[_0x500e28(0x1d1)]['id'],{'unitId':_0x35d3a5[_0x500e28(0x41d)](),'subUnitId':_0x26c149});return;}((_0x546259=_0x35d3a5[_0x500e28(0x1d4)]())==null?void 0x0:_0x546259[_0x500e28(0x190)]())!==_0x29a19f&&await this['_commandService'][_0x500e28(0x37e)](_0x11cdbd[_0x500e28(0x1d1)]['id'],{'unitId':_0x35d3a5['getUnitId'](),'subUnitId':_0x29a19f});}},_0x38ae7f['CollaborationDataLoaderController']=_0x384cd0([_0x27661a(0x0,_0x4d5ea0),_0x27661a(0x1,_0x295c8f['ILogService']),_0x27661a(0x2,_0x295c8f[_0xce3cd0(0x2f7)]),_0x27661a(0x3,_0x295c8f[_0xce3cd0(0x2fb)](_0x2cb61c['DataLoaderService'])),_0x27661a(0x4,_0x295c8f[_0xce3cd0(0x246)](_0x7417fd[_0xce3cd0(0x1ec)]))],_0x38ae7f[_0xce3cd0(0x3a3)]);var _0x4160b3=Object[_0xce3cd0(0x3e7)],_0x2cddee=(_0x287b73,_0x4f6173,_0x48b3bc,_0x262c78)=>{const _0x3248dc=_0xce3cd0;for(var _0x58e23a=_0x262c78>0x1?void 0x0:_0x262c78?_0x4160b3(_0x4f6173,_0x48b3bc):_0x4f6173,_0x16d628=_0x287b73[_0x3248dc(0x37b)]-0x1,_0x15793d;_0x16d628>=0x0;_0x16d628--)(_0x15793d=_0x287b73[_0x16d628])&&(_0x58e23a=_0x15793d(_0x58e23a)||_0x58e23a);return _0x58e23a;},_0x4d8e59=(_0x701ee4,_0x1fa068)=>(_0x5ca488,_0x54efbc)=>_0x1fa068(_0x5ca488,_0x54efbc,_0x701ee4);let _0x2605d0=class extends _0x295c8f[_0xce3cd0(0x1e5)]{constructor(_0x39f5bb,_0x4ffb92){const _0x10fd28=_0xce3cd0;super(),this[_0x10fd28(0x277)]=_0x39f5bb,this[_0x10fd28(0x172)]=_0x4ffb92,this['_init']();}[_0xce3cd0(0x30d)](){const _0x52db43=_0xce3cd0,_0x42a989=this;this[_0x52db43(0x43c)](this[_0x52db43(0x277)][_0x52db43(0x41f)]({'onBeforePasteImage':async _0x35389a=>{const _0x30d229=_0x52db43,_0x5e629a=await _0x42a989[_0x30d229(0x172)][_0x30d229(0x1d2)](_0x35389a);return _0x5e629a?{'source':_0x5e629a[_0x30d229(0x31f)],'imageSourceType':_0x5e629a['imageSourceType']}:null;}}));}};_0x2605d0=_0x2cddee([_0x4d8e59(0x0,_0x442538[_0xce3cd0(0x1f3)]),_0x4d8e59(0x1,_0x4b8ddd['IImageIoService'])],_0x2605d0);const _0x26d105=['purple.300',_0xce3cd0(0x193),'green.600',_0xce3cd0(0x23b),_0xce3cd0(0x346),_0xce3cd0(0x1a9)];class _0x12f6f6 extends _0x295c8f[_0xce3cd0(0x1b9)]{constructor(){const _0x2c32aa=_0xce3cd0;super(...arguments),_0xef452e(this,_0x2c32aa(0x351),new Map()),_0xef452e(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x31656d){const _0x51630d=_0xce3cd0;if(this[_0x51630d(0x351)]['has'](_0x31656d))return this[_0x51630d(0x351)][_0x51630d(0x3fa)](_0x31656d);const _0x9e8588=_0x26d105[this['_colorIndex']];return this[_0x51630d(0x304)]=(this[_0x51630d(0x304)]+0x1)%_0x26d105[_0x51630d(0x37b)],this[_0x51630d(0x351)][_0x51630d(0x427)](_0x31656d,_0x9e8588),_0x9e8588;}}function _0x301d3e(_0x2a7732){const _0x47ba29=_0xce3cd0;let _0xa87218='';for(const _0x25d0e0 of _0x2a7732){const {startOffset:_0x3c17ae,endOffset:_0x33cdea,isActive:_0xbe2799,rangeType:_0x11584d,segmentId:_0x2b3d10,segmentPage:_0x5dd8d7}=_0x25d0e0;_0xa87218[_0x47ba29(0x37b)]&&(_0xa87218+=','),_0xa87218+=_0x3c17ae+':'+_0x33cdea+':'+(_0xbe2799?'1':'0')+':'+_0x11584d+':'+_0x2b3d10+':'+_0x5dd8d7;}return _0xa87218;}function _0x1cba71(_0x34de07){const _0xed982c=_0xce3cd0,_0xea47b8=_0x34de07[_0xed982c(0x297)](','),_0x32baa9=[];for(const _0x1c9e4b of _0xea47b8){const [_0x2e637b,_0x29ec4a,_0x1e76dd,_0x220286,_0x5e945b,_0xdb14be]=_0x1c9e4b[_0xed982c(0x297)](':');_0x32baa9['push']({'startOffset':Number(_0x2e637b),'endOffset':Number(_0x29ec4a),'collapsed':_0x2e637b===_0x29ec4a,'isActive':_0x1e76dd==='1','rangeType':_0x220286===_0x295c8f[_0xed982c(0x3b3)][_0xed982c(0x167)]?_0x295c8f[_0xed982c(0x3b3)]['TEXT']:_0x295c8f[_0xed982c(0x3b3)][_0xed982c(0x1f7)],'segmentId':typeof _0x5e945b==_0xed982c(0x240)?String(_0x5e945b):'','segmentPage':Number(_0xdb14be!=null?_0xdb14be:-0x1)});}return _0x32baa9[_0xed982c(0x3db)](_0x7e5f22=>_0x7e5f22['isActive'])||(_0x32baa9[0x0][_0xed982c(0x1c9)]=!0x0),_0x32baa9;}class _0x109a2a extends _0x295c8f[_0xce3cd0(0x1e5)]{constructor(){const _0x5b5dfb=_0xce3cd0;super(...arguments),_0xef452e(this,_0x5b5dfb(0x2fa),new _0x58c226[(_0x5b5dfb(0x43b))](null)),_0xef452e(this,_0x5b5dfb(0x318),this['_collabCursorState$']['asObservable']());}[_0xce3cd0(0x1cb)](_0x1d9841){const _0x3b6f57=_0xce3cd0,{unitID:_0x2f7729,memberID:_0x378cc9,textRanges:_0x77624d}=_0x1d9841,_0x551550=_0x301d3e(_0x77624d);if(_0x551550==='')return;const _0x8dc6b7={'unitID':_0x2f7729,'memberID':_0x378cc9,'selection':_0x551550};this[_0x3b6f57(0x2fa)][_0x3b6f57(0x173)](_0x8dc6b7);}}var _0x1217a1=Object['getOwnPropertyDescriptor'],_0x17d20c=(_0x1b0406,_0x1ba3d1,_0x15e698,_0x3b0887)=>{const _0x48d89f=_0xce3cd0;for(var _0x629fc0=_0x3b0887>0x1?void 0x0:_0x3b0887?_0x1217a1(_0x1ba3d1,_0x15e698):_0x1ba3d1,_0x4f8ed5=_0x1b0406[_0x48d89f(0x37b)]-0x1,_0x39c88f;_0x4f8ed5>=0x0;_0x4f8ed5--)(_0x39c88f=_0x1b0406[_0x4f8ed5])&&(_0x629fc0=_0x39c88f(_0x629fc0)||_0x629fc0);return _0x629fc0;},_0x2aea2f=(_0x23c91b,_0x57ba93)=>(_0x34969c,_0x2da253)=>_0x57ba93(_0x34969c,_0x2da253,_0x23c91b);const _0x25d219=0x12c,_0x37b944=0x64;let _0x26931f=class extends _0x295c8f[_0xce3cd0(0x1e5)]{constructor(_0x28613b,_0x253918,_0x4a49c4,_0x7cec1d,_0x17315a,_0x53e097,_0x272aca,_0x1f6afa,_0x3b0f0b){const _0x12baa6=_0xce3cd0;super(),_0xef452e(this,_0x12baa6(0x452),!0x1),_0xef452e(this,_0x12baa6(0x30d),!0x1),_0xef452e(this,'_cursorInfo$',new _0x58c226[(_0x12baa6(0x43b))](new Map())),_0xef452e(this,'cursorInfo$',this[_0x12baa6(0x222)]['asObservable']()),_0xef452e(this,_0x12baa6(0x37f),new _0x58c226['BehaviorSubject']([])),_0xef452e(this,_0x12baa6(0x2ce),this[_0x12baa6(0x37f)][_0x12baa6(0x2de)](_0x58c226['debounceTime'](_0x25d219))),_0xef452e(this,'_updateLocalCursor',_0x295c8f['debounce'](_0x376dfb=>{const _0x3132e1=_0x12baa6,_0xc36cba={'eventID':_0x143a87[_0x3132e1(0x270)][_0x3132e1(0x211)],'data':{'unitID':this[_0x3132e1(0x445)],'memberID':this['_session'][_0x3132e1(0x192)](),'selection':_0x301d3e(_0x376dfb)}};this[_0x3132e1(0x3d1)]['send'](_0xc36cba,this[_0x3132e1(0x445)]);},_0x37b944)),(this[_0x12baa6(0x445)]=_0x28613b,this[_0x12baa6(0x3d1)]=_0x253918,this['_injector']=_0x4a49c4,this[_0x12baa6(0x3c8)]=_0x7cec1d,this[_0x12baa6(0x2dd)]=_0x17315a,this[_0x12baa6(0x278)]=_0x53e097,this[_0x12baa6(0x3d4)]=_0x272aca,this[_0x12baa6(0x2a9)]=_0x1f6afa,this[_0x12baa6(0x223)]=_0x3b0f0b);}get['cursorInfo'](){const _0x207a68=_0xce3cd0;return this[_0x207a68(0x222)][_0x207a68(0x2a1)]();}get[_0xce3cd0(0x3d2)](){const _0x41a265=_0xce3cd0;return this[_0x41a265(0x37f)]['getValue']();}[_0xce3cd0(0x2a7)](){const _0x4dc6f3=_0xce3cd0;super['dispose'](),this[_0x4dc6f3(0x222)][_0x4dc6f3(0x173)](new Map()),this['_cursorInfo$'][_0x4dc6f3(0x3f8)](),this['_roomMembers$'][_0x4dc6f3(0x173)]([]),this[_0x4dc6f3(0x37f)][_0x4dc6f3(0x3f8)]();}[_0xce3cd0(0x402)](){const _0x389281=_0xce3cd0;this[_0x389281(0x30d)]||(this[_0x389281(0x30d)]=!0x0,this[_0x389281(0x3d1)][_0x389281(0x27e)][_0x389281(0x2de)](_0x58c226[_0x389281(0x15a)](this[_0x389281(0x269)]))[_0x389281(0x17f)](_0xd2abc8=>{const _0x452aa0=_0x389281;_0xd2abc8===_0x2cb61c[_0x452aa0(0x39f)][_0x452aa0(0x3e3)]?this[_0x452aa0(0x336)]():this['_toggleOffline']();}),this[_0x389281(0x3d1)][_0x389281(0x449)][_0x389281(0x2de)](_0x58c226[_0x389281(0x15a)](this['dispose$']))[_0x389281(0x17f)](_0x1a1bd6=>{const _0x1d3061=_0x389281,_0x169643=_0x1a1bd6[_0x1d3061(0x191)];_0x169643===_0x143a87[_0x1d3061(0x270)]['UPDATE_CURSOR']&&this[_0x1d3061(0x2b3)](_0x1a1bd6),_0x169643===_0x143a87[_0x1d3061(0x270)][_0x1d3061(0x227)]&&this[_0x1d3061(0x41c)](_0x1a1bd6);}),this['disposeWithMe'](this[_0x389281(0x223)]['onCommandExecuted'](_0x4cc502=>{const _0x336d7e=_0x389281,_0x391e47=_0x4cc502[_0x336d7e(0x275)];_0x391e47!=null&&this['_online']&&_0x4cc502['id']===_0x400651[_0x336d7e(0x3c6)]['id']&&_0x391e47[_0x336d7e(0x34f)]===this[_0x336d7e(0x445)]&&_0x391e47[_0x336d7e(0x219)]===!0x1&&_0x391e47[_0x336d7e(0x416)]['length']>0x0&&this['_updateLocalCursor'](_0x391e47[_0x336d7e(0x416)]);})),this[_0x389281(0x278)]['collabCursorState$'][_0x389281(0x2de)](_0x58c226[_0x389281(0x15a)](this[_0x389281(0x269)]))[_0x389281(0x17f)](_0x5cfe4a=>{const _0xbb4229=_0x389281;if((_0x5cfe4a==null?void 0x0:_0x5cfe4a['unitID'])!==this[_0xbb4229(0x445)])return;const _0x55800a={'eventID':_0x143a87[_0xbb4229(0x270)][_0xbb4229(0x211)],'data':_0x5cfe4a};this[_0xbb4229(0x2b3)](_0x55800a);}),this[_0x389281(0x43c)](this['_commandService']['onCommandExecuted'](_0xd1e073=>{const _0x34db72=_0x389281;if(_0xd1e073[_0x34db72(0x275)]==null)return;const _0x88da28=_0xd1e073[_0x34db72(0x275)];if(_0xd1e073['id']!==_0x400651['RichTextEditingMutation']['id']||_0x88da28[_0x34db72(0x34f)]!==this[_0x34db72(0x445)])return;const _0x5d772e={'id':_0x34db72(0x20d),'params':_0x88da28},_0xa7a6bc=this[_0x34db72(0x386)];for(const [_0x509664,_0x5b37b4]of _0xa7a6bc){const _0x4cba2c={'id':_0x34db72(0x20d),'params':{'unitId':this[_0x34db72(0x445)],'actions':null,'textRanges':_0x5b37b4[_0x34db72(0x416)]}},_0x1efc27=this[_0x34db72(0x3d4)][_0x34db72(0x25f)](_0x5d772e,_0x4cba2c,!0x1);if(_0x143a87[_0x34db72(0x44d)](_0x1efc27))throw _0x1efc27[_0x34db72(0x1b1)];_0xa7a6bc[_0x34db72(0x427)](_0x509664,{..._0x5b37b4,'ranges':_0x1efc27[_0x34db72(0x40c)][_0x34db72(0x275)][_0x34db72(0x1c5)]});}queueMicrotask(()=>{const _0x3cc0c0=_0x34db72;this[_0x3cc0c0(0x222)][_0x3cc0c0(0x173)](_0xa7a6bc);});})));}['_onCursorUpdate'](_0x206e92){const _0x205c61=_0xce3cd0;var _0x47183e,_0x3a8537;const {memberID:_0x457677,selection:_0x29d696}=_0x206e92[_0x205c61(0x31b)],_0x2acb2b=_0x1cba71(_0x29d696),_0x599991=(_0x3a8537=(_0x47183e=this['_memberService']['getMember'](this[_0x205c61(0x445)],_0x457677))==null?void 0x0:_0x47183e['name'])!=null?_0x3a8537:_0x205c61(0x2f9),_0x5ef8da={'color':this[_0x205c61(0x3c8)][_0x205c61(0x2c8)](_0x457677),'name':_0x599991,'ranges':_0x2acb2b},_0x528bac=this[_0x205c61(0x386)];_0x528bac[_0x205c61(0x427)](_0x457677,_0x5ef8da),this[_0x205c61(0x222)][_0x205c61(0x173)](_0x528bac);}['_onCursorDelete'](_0x1a4157){const _0x1f7265=_0xce3cd0,{memberID:_0x4cbf3f}=_0x1a4157['data'],_0x474a8d=this[_0x1f7265(0x386)];_0x474a8d[_0x1f7265(0x434)](_0x4cbf3f),this[_0x1f7265(0x222)]['next'](_0x474a8d);}[_0xce3cd0(0x336)](){const _0x526272=_0xce3cd0;var _0x372550;if(this[_0x526272(0x452)]=!0x0,((_0x372550=this[_0x526272(0x2a9)][_0x526272(0x438)]())==null?void 0x0:_0x372550[_0x526272(0x41d)]())!==this[_0x526272(0x445)])return;const _0x37966f=this['_injector'][_0x526272(0x3fa)](_0x400651['DocSelectionManagerService'])[_0x526272(0x340)]();Array['isArray'](_0x37966f)&&_0x37966f[_0x526272(0x37b)]>0x0&&this[_0x526272(0x252)](_0x37966f);}[_0xce3cd0(0x39e)](){const _0x3da4f8=_0xce3cd0;this[_0x3da4f8(0x452)]=!0x1;}};_0x26931f=_0x17d20c([_0x2aea2f(0x2,_0x295c8f[_0xce3cd0(0x2fb)](_0x295c8f[_0xce3cd0(0x405)])),_0x2aea2f(0x3,_0x295c8f['Inject'](_0x12f6f6)),_0x2aea2f(0x4,_0x295c8f['Inject'](_0x2cb61c[_0xce3cd0(0x331)])),_0x2aea2f(0x5,_0x295c8f['Inject'](_0x109a2a)),_0x2aea2f(0x6,_0x143a87[_0xce3cd0(0x169)]),_0x2aea2f(0x7,_0x295c8f[_0xce3cd0(0x16f)]),_0x2aea2f(0x8,_0x295c8f[_0xce3cd0(0x2f7)])],_0x26931f);var _0x17682e=Object['getOwnPropertyDescriptor'],_0x40f581=(_0x6d8f40,_0xa7d637,_0x34ceed,_0x4c200c)=>{const _0x5c22c0=_0xce3cd0;for(var _0x3c7cbe=_0x4c200c>0x1?void 0x0:_0x4c200c?_0x17682e(_0xa7d637,_0x34ceed):_0xa7d637,_0x1a8a6b=_0x6d8f40[_0x5c22c0(0x37b)]-0x1,_0x18ee78;_0x1a8a6b>=0x0;_0x1a8a6b--)(_0x18ee78=_0x6d8f40[_0x1a8a6b])&&(_0x3c7cbe=_0x18ee78(_0x3c7cbe)||_0x3c7cbe);return _0x3c7cbe;},_0x5047af=(_0x379322,_0x1f9535)=>(_0x4647d8,_0x475866)=>_0x1f9535(_0x4647d8,_0x475866,_0x379322);const _0x33a122=0x12c,_0x734b93=0x64,_0x46878f=()=>{let _0x24b056=[],_0x33feea=!0x1;return _0x3cc91b=>{const _0x7e9f02=_0x2541;_0x24b056[_0x7e9f02(0x44a)](_0x3cc91b),_0x33feea||(_0x33feea=!0x0,setTimeout(()=>{const _0x515b56=_0x7e9f02;_0x24b056[_0x515b56(0x2e5)](_0x4932c2=>_0x4932c2()),_0x24b056=[],_0x33feea=!0x1;}));};};let _0x58f9eb=class extends _0x295c8f[_0xce3cd0(0x1e5)]{constructor(_0x2c82b5,_0x6a652f,_0x49f4ff,_0x45c455,_0x271ca5,_0x3472fe,_0x4b8662,_0x2ff415){const _0x5c7c92=_0xce3cd0;super(),_0xef452e(this,_0x5c7c92(0x452),!0x1),_0xef452e(this,_0x5c7c92(0x30d),!0x1),_0xef452e(this,_0x5c7c92(0x222),new _0x58c226['BehaviorSubject'](new Map())),_0xef452e(this,_0x5c7c92(0x40e),this[_0x5c7c92(0x222)][_0x5c7c92(0x26d)]()),_0xef452e(this,_0x5c7c92(0x37f),new _0x58c226[(_0x5c7c92(0x43b))]([])),_0xef452e(this,_0x5c7c92(0x2ce),this[_0x5c7c92(0x37f)][_0x5c7c92(0x2de)](_0x58c226['debounceTime'](_0x33a122))),_0xef452e(this,_0x5c7c92(0x252),_0x295c8f[_0x5c7c92(0x247)]((_0x295c2f,_0xbdbb48)=>{const _0x33a7b9=_0x5c7c92,_0x30c2b5={'eventID':_0x143a87[_0x33a7b9(0x270)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x33a7b9(0x445)],'memberID':this[_0x33a7b9(0x3d1)][_0x33a7b9(0x192)](),'selection':_0x218d3f[_0x33a7b9(0x28e)](_0x295c2f,_0xbdbb48['range'])}};this[_0x33a7b9(0x3d1)][_0x33a7b9(0x33d)](_0x30c2b5,this[_0x33a7b9(0x445)]);},_0x734b93)),(this['unitID']=_0x2c82b5,this[_0x5c7c92(0x3d1)]=_0x6a652f,this[_0x5c7c92(0x1f6)]=_0x49f4ff,this[_0x5c7c92(0x3c8)]=_0x45c455,this[_0x5c7c92(0x2dd)]=_0x271ca5,this['_univerInstanceService']=_0x3472fe,this[_0x5c7c92(0x223)]=_0x4b8662,this['_refRangeService']=_0x2ff415);}get[_0xce3cd0(0x386)](){const _0x42525b=_0xce3cd0;return this[_0x42525b(0x222)][_0x42525b(0x2a1)]();}get['roomMembers'](){const _0x4cabff=_0xce3cd0;return this['_roomMembers$'][_0x4cabff(0x2a1)]();}[_0xce3cd0(0x2a7)](){const _0x17588c=_0xce3cd0;super[_0x17588c(0x2a7)](),this['_cursorInfo$'][_0x17588c(0x173)](new Map()),this[_0x17588c(0x222)][_0x17588c(0x3f8)](),this[_0x17588c(0x37f)][_0x17588c(0x173)]([]),this['_roomMembers$'][_0x17588c(0x3f8)]();}[_0xce3cd0(0x402)](){const _0x5f5c54=_0xce3cd0;this['_init']||(this[_0x5f5c54(0x30d)]=!0x0,this['_session'][_0x5f5c54(0x27e)][_0x5f5c54(0x2de)](_0x58c226['takeUntil'](this[_0x5f5c54(0x269)]))['subscribe'](_0x21564e=>{const _0x18fe22=_0x5f5c54;_0x21564e===_0x2cb61c[_0x18fe22(0x39f)][_0x18fe22(0x3e3)]?this[_0x18fe22(0x336)]():this[_0x18fe22(0x39e)]();}),this[_0x5f5c54(0x3d1)][_0x5f5c54(0x449)][_0x5f5c54(0x2de)](_0x58c226[_0x5f5c54(0x15a)](this['dispose$']))[_0x5f5c54(0x17f)](_0x56419f=>{const _0x3c1e30=_0x5f5c54,_0x563f6c=_0x56419f[_0x3c1e30(0x191)];_0x563f6c===_0x143a87['CollaborationEvent'][_0x3c1e30(0x211)]&&this[_0x3c1e30(0x2b3)](_0x56419f),_0x563f6c===_0x143a87['CollaborationEvent'][_0x3c1e30(0x227)]&&this['_onCursorDelete'](_0x56419f);}),this[_0x5f5c54(0x236)](),this[_0x5f5c54(0x43c)](this[_0x5f5c54(0x223)][_0x5f5c54(0x19c)](_0x89f39=>{const _0x1c318f=_0x5f5c54;if(this[_0x1c318f(0x452)]&&_0x89f39['id']===_0x11cdbd[_0x1c318f(0x198)]['id']&&_0x89f39[_0x1c318f(0x275)][_0x1c318f(0x34f)]===this[_0x1c318f(0x445)]){const _0xc3c75d=_0x89f39[_0x1c318f(0x275)];this[_0x1c318f(0x252)](_0xc3c75d[_0x1c318f(0x1cc)],_0xc3c75d[_0x1c318f(0x42c)][0x0]);}})));}[_0xce3cd0(0x2b3)](_0x5a419c){const _0x451e42=_0xce3cd0;var _0x435364,_0x37b1a8;const {memberID:_0x553906,selection:_0x66a661}=_0x5a419c[_0x451e42(0x31b)],{sheetName:_0x497c51,range:_0x157e4f}=_0x218d3f[_0x451e42(0x3dd)](_0x66a661),_0x233076={'name':(_0x37b1a8=(_0x435364=this[_0x451e42(0x2dd)][_0x451e42(0x338)](this[_0x451e42(0x445)],_0x553906))==null?void 0x0:_0x435364['name'])!=null?_0x37b1a8:_0x451e42(0x2f9),'range':this[_0x451e42(0x29a)](_0x497c51,_0x157e4f),'sheetID':_0x497c51,'color':this['_colorAssignService'][_0x451e42(0x2c8)](_0x553906),'selection':_0x66a661},_0x1fee27=this[_0x451e42(0x386)];_0x1fee27[_0x451e42(0x427)](_0x553906,_0x233076),this[_0x451e42(0x222)]['next'](_0x1fee27);}[_0xce3cd0(0x41c)](_0x450873){const _0x35468d=_0xce3cd0,{memberID:_0x8d9b2e}=_0x450873[_0x35468d(0x31b)],_0x40d7db=this[_0x35468d(0x386)];_0x40d7db[_0x35468d(0x434)](_0x8d9b2e),this[_0x35468d(0x222)]['next'](_0x40d7db);}[_0xce3cd0(0x29a)](_0x190af2,_0x1bd7a4){const _0x56f3da=_0xce3cd0;var _0x596afc,_0x2dd375;const _0x2aac4a=(_0x2dd375=(_0x596afc=this[_0x56f3da(0x2a9)][_0x56f3da(0x200)](this[_0x56f3da(0x445)]))==null?void 0x0:_0x596afc[_0x56f3da(0x411)](_0x190af2))==null?void 0x0:_0x2dd375[_0x56f3da(0x16e)]();return(_0x2aac4a==null?void 0x0:_0x2aac4a[_0x56f3da(0x37a)](_0x290a26=>_0x295c8f['Rectangle'][_0x56f3da(0x194)](_0x290a26,_0x1bd7a4)))||_0x1bd7a4;}[_0xce3cd0(0x236)](){const _0x217e82=_0xce3cd0,_0x2e654b=new _0x295c8f[(_0x217e82(0x15d))](),_0x228761=_0x46878f(),_0x295167=()=>{const _0x4993c5=_0x217e82;_0x2e654b[_0x4993c5(0x2a7)]();const _0x3149c1=(_0x1e33db,_0x326240,_0x1fb120,_0x37c7e4)=>{const _0x4c980=_0x4993c5;let _0x4630a4=[];switch(_0x1e33db['id']){case _0x11cdbd['EffectRefRangId'][_0x4c980(0x45b)]:{_0x4630a4=_0x11cdbd[_0x4c980(0x44c)](_0x1e33db,_0x37c7e4);break;}case _0x11cdbd[_0x4c980(0x3d0)][_0x4c980(0x21d)]:{_0x4630a4=_0x11cdbd[_0x4c980(0x36e)](_0x1e33db,_0x37c7e4);break;}case _0x11cdbd[_0x4c980(0x3d0)][_0x4c980(0x2c6)]:{_0x4630a4=_0x11cdbd[_0x4c980(0x170)](_0x1e33db,_0x37c7e4);break;}case _0x11cdbd[_0x4c980(0x3d0)][_0x4c980(0x3ac)]:{_0x4630a4=_0x11cdbd['handleInsertRangeMoveDown'](_0x1e33db,_0x37c7e4);break;}case _0x11cdbd['EffectRefRangId'][_0x4c980(0x262)]:{_0x4630a4=_0x11cdbd[_0x4c980(0x250)](_0x1e33db,_0x37c7e4);break;}case _0x11cdbd['EffectRefRangId'][_0x4c980(0x1ea)]:{_0x4630a4=_0x11cdbd[_0x4c980(0x22f)](_0x1e33db,_0x37c7e4);break;}case _0x11cdbd['EffectRefRangId'][_0x4c980(0x366)]:{_0x4630a4=_0x11cdbd[_0x4c980(0x1c3)](_0x1e33db,_0x37c7e4);break;}case _0x11cdbd[_0x4c980(0x3d0)][_0x4c980(0x3e9)]:{_0x4630a4=_0x11cdbd[_0x4c980(0x325)](_0x1e33db,_0x37c7e4);break;}case _0x11cdbd[_0x4c980(0x3d0)]['RemoveRowCommandId']:{_0x4630a4=_0x11cdbd['handleIRemoveRow'](_0x1e33db,_0x37c7e4);break;}}const _0x594535=_0x11cdbd[_0x4c980(0x365)](_0x4630a4,_0x37c7e4),_0x14b879=this['cursorInfo']['get'](_0x326240);if(_0x14b879&&_0x594535){const _0x4ff172={..._0x14b879,'range':_0x594535};this[_0x4c980(0x386)]['set'](_0x326240,_0x4ff172),_0x228761(()=>{const _0x34977b=_0x4c980,_0x3ade97=this['_refRangeService'][_0x34977b(0x333)](_0x594535,_0x28a63c=>(_0x3ade97[_0x34977b(0x2a7)](),_0x3149c1(_0x28a63c,_0x326240,_0x1fb120,_0x594535)));_0x2e654b[_0x34977b(0x3f9)](_0x3ade97);});}return{'redos':[],'undos':[]};};this[_0x4993c5(0x386)][_0x4993c5(0x2e5)]((_0x17ea93,_0x1083fb)=>{const _0x234952=_0x4993c5,{range:_0x56e4a9,sheetID:_0x26ae98}=_0x17ea93,_0x573a02=this['_refRangeService']['registerRefRange'](_0x56e4a9,_0xac5e1b=>(_0x573a02[_0x234952(0x2a7)](),_0x3149c1(_0xac5e1b,_0x1083fb,_0x26ae98,_0x56e4a9)));_0x2e654b['add'](_0x573a02);});};this['disposeWithMe'](_0x295c8f[_0x217e82(0x239)](this[_0x217e82(0x222)][_0x217e82(0x17f)](()=>{_0x295167();})));}[_0xce3cd0(0x336)](){const _0x3f39a8=_0xce3cd0;var _0x4573d1,_0x2b47f2;if(this[_0x3f39a8(0x452)]=!0x0,((_0x4573d1=this[_0x3f39a8(0x2a9)][_0x3f39a8(0x438)]())==null?void 0x0:_0x4573d1[_0x3f39a8(0x41d)]())!==this[_0x3f39a8(0x445)])return;const _0x1d90d3=(_0x2b47f2=this[_0x3f39a8(0x1f6)][_0x3f39a8(0x3fa)](_0x11cdbd[_0x3f39a8(0x2a3)])[_0x3f39a8(0x3c5)]())==null?void 0x0:_0x2b47f2[0x0],_0x3dbe0e=this[_0x3f39a8(0x2a9)]['getCurrentUnitForType'](_0x295c8f[_0x3f39a8(0x1f4)][_0x3f39a8(0x441)])[_0x3f39a8(0x1d4)]();_0x1d90d3&&_0x3dbe0e&&this['_updateLocalCursor'](_0x3dbe0e[_0x3f39a8(0x190)](),_0x1d90d3);}[_0xce3cd0(0x39e)](){const _0x1064ad=_0xce3cd0;this[_0x1064ad(0x452)]=!0x1;}};_0x58f9eb=_0x40f581([_0x5047af(0x2,_0x295c8f[_0xce3cd0(0x2fb)](_0x295c8f['Injector'])),_0x5047af(0x3,_0x295c8f[_0xce3cd0(0x2fb)](_0x12f6f6)),_0x5047af(0x4,_0x295c8f[_0xce3cd0(0x2fb)](_0x2cb61c[_0xce3cd0(0x331)])),_0x5047af(0x5,_0x295c8f['IUniverInstanceService']),_0x5047af(0x6,_0x295c8f[_0xce3cd0(0x2f7)]),_0x5047af(0x7,_0x295c8f[_0xce3cd0(0x2fb)](_0x11cdbd[_0xce3cd0(0x1bc)]))],_0x58f9eb);var _0x5bc8cd=Object[_0xce3cd0(0x3e7)],_0x7c9f56=(_0xd44b82,_0x193b53,_0x942e3c,_0x429a3f)=>{const _0x1dfbd7=_0xce3cd0;for(var _0x1293c5=_0x429a3f>0x1?void 0x0:_0x429a3f?_0x5bc8cd(_0x193b53,_0x942e3c):_0x193b53,_0x156725=_0xd44b82[_0x1dfbd7(0x37b)]-0x1,_0xae86ad;_0x156725>=0x0;_0x156725--)(_0xae86ad=_0xd44b82[_0x156725])&&(_0x1293c5=_0xae86ad(_0x1293c5)||_0x1293c5);return _0x1293c5;},_0x46612d=(_0x45fd7f,_0x103ce9)=>(_0x30baf1,_0x1d52d0)=>_0x103ce9(_0x30baf1,_0x1d52d0,_0x45fd7f);let _0x150b36=class extends _0x295c8f[_0xce3cd0(0x1e5)]{constructor(_0x10353b,_0x43f11a,_0x47083c){const _0xe8e7f4=_0xce3cd0;super(),_0xef452e(this,_0xe8e7f4(0x1dd),new Map()),_0xef452e(this,_0xe8e7f4(0x283),new _0x58c226[(_0xe8e7f4(0x30e))]()),(this[_0xe8e7f4(0x2a9)]=_0x10353b,this[_0xe8e7f4(0x1f6)]=_0x43f11a,this[_0xe8e7f4(0x17a)]=_0x47083c,this[_0xe8e7f4(0x30d)]());}[_0xce3cd0(0x2a7)](){const _0x40697a=_0xce3cd0;super[_0x40697a(0x2a7)](),this['_entityInit$']['complete'](),this[_0x40697a(0x1dd)][_0x40697a(0x2e5)](_0x48f977=>_0x48f977['dispose']());}[_0xce3cd0(0x28a)](_0x1cd312){const _0x50f225=_0xce3cd0;return this[_0x50f225(0x1dd)][_0x50f225(0x2d5)](_0x1cd312)?this['_entities'][_0x50f225(0x3fa)](_0x1cd312)[_0x50f225(0x40e)]:this[_0x50f225(0x283)][_0x50f225(0x2de)](_0x58c226['filter'](_0x46a17e=>_0x46a17e['unitID']===_0x1cd312),_0x58c226['switchMap'](_0x32dcc1=>_0x32dcc1[_0x50f225(0x40e)]));}[_0xce3cd0(0x30d)](){const _0xcfb988=_0xce3cd0;this['_univerInstanceService'][_0xcfb988(0x18d)](_0x295c8f[_0xcfb988(0x1f4)]['UNIVER_SHEET'])['pipe'](_0x58c226[_0xcfb988(0x15a)](this[_0xcfb988(0x269)]))[_0xcfb988(0x17f)](async _0x33769b=>{const _0x515370=_0xcfb988,_0x2cdc21=_0x33769b[_0x515370(0x41d)](),_0x4394eb=await this[_0x515370(0x32a)](_0x2cdc21);this[_0x515370(0x283)][_0x515370(0x173)](_0x4394eb),this[_0x515370(0x1dd)]['set'](_0x2cdc21,_0x4394eb);}),this[_0xcfb988(0x2a9)]['getTypeOfUnitAdded$'](_0x295c8f[_0xcfb988(0x1f4)][_0xcfb988(0x308)])[_0xcfb988(0x2de)](_0x58c226[_0xcfb988(0x15a)](this['dispose$']))[_0xcfb988(0x2de)](_0x58c226[_0xcfb988(0x1cd)](_0x1d6322=>!_0x1d6322[_0xcfb988(0x41d)]()[_0xcfb988(0x2a6)]('__')))[_0xcfb988(0x17f)](async _0x2d8413=>{const _0x3b3dae=_0xcfb988,_0x11c07b=_0x2d8413[_0x3b3dae(0x41d)](),_0x39efda=await this[_0x3b3dae(0x2a8)](_0x11c07b);this[_0x3b3dae(0x283)][_0x3b3dae(0x173)](_0x39efda),this[_0x3b3dae(0x1dd)]['set'](_0x11c07b,_0x39efda);}),_0x58c226[_0xcfb988(0x432)](this[_0xcfb988(0x2a9)][_0xcfb988(0x381)](_0x295c8f[_0xcfb988(0x1f4)][_0xcfb988(0x308)]),this['_univerInstanceService'][_0xcfb988(0x381)](_0x295c8f['UniverInstanceType'][_0xcfb988(0x441)]))['pipe'](_0x58c226[_0xcfb988(0x15a)](this['dispose$']))[_0xcfb988(0x17f)](_0x17b99a=>{const _0x22780f=_0xcfb988,_0x4da580=_0x17b99a[_0x22780f(0x41d)](),_0x327fd1=this[_0x22780f(0x1dd)][_0x22780f(0x3fa)](_0x4da580);_0x327fd1&&(_0x327fd1[_0x22780f(0x2a7)](),this[_0x22780f(0x1dd)]['delete'](_0x4da580));});}async[_0xce3cd0(0x32a)](_0x488c43){const _0x41b422=_0xce3cd0,_0x12c415=await this['_collabSessionService'][_0x41b422(0x302)](_0x488c43),_0x12d132=this[_0x41b422(0x1f6)][_0x41b422(0x408)](_0x58f9eb,_0x488c43,_0x12c415);return _0x12d132[_0x41b422(0x402)](),_0x12d132;}async['_startDocCollabCursor'](_0x22328f){const _0x3d6ebe=_0xce3cd0,_0xea72e7=await this[_0x3d6ebe(0x17a)][_0x3d6ebe(0x302)](_0x22328f),_0x506556=this[_0x3d6ebe(0x1f6)][_0x3d6ebe(0x408)](_0x26931f,_0x22328f,_0xea72e7);return _0x506556['init'](),_0x506556;}};_0x150b36=_0x7c9f56([_0x46612d(0x0,_0x295c8f[_0xce3cd0(0x16f)]),_0x46612d(0x1,_0x295c8f[_0xce3cd0(0x2fb)](_0x295c8f['Injector'])),_0x46612d(0x2,_0x295c8f['Inject'](_0x2cb61c[_0xce3cd0(0x1c6)]))],_0x150b36);const _0x490e44=0x14,_0x25b1d6=0xc8,_0x150591=0x4,_0x5dba56=0x5;function _0x1b2ab7(_0x244c95,_0x3ff72b){const _0x4fbf7e=_0xce3cd0;let {radius:_0x3b9e50,width:_0x48e155,height:_0x295e22}=_0x3ff72b;_0x3b9e50=_0x3b9e50!=null?_0x3b9e50:0x0,_0x48e155=_0x48e155!=null?_0x48e155:0x1e,_0x295e22=_0x295e22!=null?_0x295e22:0x1e;let _0x3d7294=0x0,_0xfdbfa7=0x0,_0x1f1ad0=0x0;_0x3d7294=_0xfdbfa7=_0x1f1ad0=Math[_0x4fbf7e(0x199)](_0x3b9e50,_0x48e155/0x2,_0x295e22/0x2),_0x244c95[_0x4fbf7e(0x410)](),_0x244c95[_0x4fbf7e(0x3bf)](_0x3d7294,0x0),_0x244c95[_0x4fbf7e(0x20e)](_0x48e155-_0xfdbfa7,0x0),_0x244c95[_0x4fbf7e(0x20c)](_0x48e155-_0xfdbfa7,_0xfdbfa7,_0xfdbfa7,Math['PI']*0x3/0x2,0x0,!0x1),_0x244c95[_0x4fbf7e(0x20e)](_0x48e155,_0x295e22-_0x1f1ad0),_0x244c95[_0x4fbf7e(0x20c)](_0x48e155-_0x1f1ad0,_0x295e22-_0x1f1ad0,_0x1f1ad0,0x0,Math['PI']/0x2,!0x1),_0x244c95[_0x4fbf7e(0x20e)](0x0,_0x295e22),_0x244c95[_0x4fbf7e(0x20e)](0x0,_0x3d7294),_0x244c95['arc'](_0x3d7294,_0x3d7294,_0x3d7294,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x244c95[_0x4fbf7e(0x2e8)](),_0x3ff72b[_0x4fbf7e(0x185)]&&(_0x244c95[_0x4fbf7e(0x34c)](),_0x244c95[_0x4fbf7e(0x339)]=_0x3ff72b[_0x4fbf7e(0x185)],_0x3ff72b[_0x4fbf7e(0x1fb)]===_0x4fbf7e(0x3b6)?_0x244c95[_0x4fbf7e(0x185)](_0x4fbf7e(0x3b6)):_0x244c95[_0x4fbf7e(0x185)](),_0x244c95[_0x4fbf7e(0x31c)]());}class _0x2dd573 extends _0x8db91b['Shape']{constructor(_0x1c68fa,_0x2bf2a6){const _0x97656a=_0xce3cd0;super(_0x1c68fa,_0x2bf2a6),_0xef452e(this,_0x97656a(0x374)),_0xef452e(this,_0x97656a(0x265)),(this[_0x97656a(0x374)]=_0x2bf2a6==null?void 0x0:_0x2bf2a6[_0x97656a(0x374)],this[_0x97656a(0x265)]=_0x2bf2a6==null?void 0x0:_0x2bf2a6['text']);}static[_0xce3cd0(0x29d)](_0x2841b6,_0xb9e197){const _0x3e07cf=_0xce3cd0,{text:_0x33c895,color:_0x396e98}=_0xb9e197;_0x2841b6[_0x3e07cf(0x34c)](),_0x2841b6[_0x3e07cf(0x1bf)]=_0x3e07cf(0x3ce);const _0x4b5c09=_0x2841b6[_0x3e07cf(0x3ba)](_0x33c895)['width'],_0x1b21e0=Math[_0x3e07cf(0x199)](_0x4b5c09+0x2*_0x150591,_0x25b1d6);_0x1b2ab7(_0x2841b6,{'height':_0x490e44,'radius':0x4,'width':_0x1b21e0,'fill':_0x396e98}),_0x2841b6[_0x3e07cf(0x339)]=_0x3e07cf(0x2cd);const _0x235960=_0x150591,_0x33e57b=_0x490e44-_0x5dba56,_0x554d1e=_0x25b1d6-0x2*_0x150591;if(_0x4b5c09>_0x554d1e){let _0x4b09f4='',_0x38d242=0x0;for(const _0xd90b25 of _0x33c895){const _0x29f9f8=_0x2841b6[_0x3e07cf(0x3ba)](_0xd90b25)[_0x3e07cf(0x38d)];if(_0x38d242+_0x29f9f8<=_0x554d1e-_0x2841b6['measureText'](_0x3e07cf(0x2d7))['width'])_0x4b09f4+=_0xd90b25,_0x38d242+=_0x29f9f8;else{_0x4b09f4+=_0x3e07cf(0x2d7);break;}}_0x2841b6['fillText'](_0x4b09f4,_0x235960,_0x33e57b);}else _0x2841b6[_0x3e07cf(0x450)](_0x33c895,_0x235960,_0x33e57b);_0x2841b6['restore']();}[_0xce3cd0(0x28c)](_0x51a6ae){_0x2dd573['drawWith'](_0x51a6ae,this);}}const _0x6c73a0=_0xce3cd0(0x36f),_0x5d38c5=_0xce3cd0(0x2bd),_0x37de86=_0xce3cd0(0x1ae),_0xe7008e=0x6,_0x293e22=1.5,_0x2fac45=0x4,_0x4b7a68=1.5,_0x3bd6ea=_0xce3cd0(0x3eb);class _0x2211fb{constructor(_0x300ef8,_0x177cbd,_0xacbd90,_0x57c31a){const _0x4af898=_0xce3cd0;_0xef452e(this,_0x4af898(0x3aa),[]),_0xef452e(this,_0x4af898(0x311),null),_0xef452e(this,_0x4af898(0x3cc),null),_0xef452e(this,_0x4af898(0x3e4),null),_0xef452e(this,'_hideTimer',null),_0xef452e(this,_0x4af898(0x433),null),(this[_0x4af898(0x319)]=_0x300ef8,this[_0x4af898(0x315)]=_0x177cbd,this[_0x4af898(0x1fc)]=_0xacbd90,this[_0x4af898(0x423)]=_0x57c31a,this[_0x4af898(0x2ae)]());}set[_0xce3cd0(0x2e6)](_0x1417fc){const _0x12956d=_0xce3cd0;_0x1417fc?(this[_0x12956d(0x3e4)]&&this[_0x12956d(0x3e4)][_0x12956d(0x1a2)](),this[_0x12956d(0x3cc)]&&this[_0x12956d(0x3cc)][_0x12956d(0x1b8)]()):(this['_anchorDot']&&this[_0x12956d(0x3e4)][_0x12956d(0x1b8)](),this[_0x12956d(0x3cc)]&&this['_textBubble'][_0x12956d(0x1a2)]());}['dispose'](){const _0xd9a3cd=_0xce3cd0;for(const _0x4c9a08 of this['_shapes'])_0x4c9a08[_0xd9a3cd(0x2a7)]();this[_0xd9a3cd(0x3cc)]&&this['_textBubble'][_0xd9a3cd(0x2a7)](),this['_anchorDot']&&this[_0xd9a3cd(0x3e4)][_0xd9a3cd(0x2a7)](),this[_0xd9a3cd(0x311)]&&this[_0xd9a3cd(0x311)][_0xd9a3cd(0x2a7)](),this['_eventUnsubscribe']&&this[_0xd9a3cd(0x433)]();}[_0xce3cd0(0x2ae)](){const _0x485f62=_0xce3cd0;var _0x45f003;const {_docSkeleton:_0x58ee39,_document:_0xb134cf}=this,{color:_0x5d3cde,name:_0x53af7c,ranges:_0x28d16a}=this['_cursor'],_0x1d52a8=_0xb134cf[_0x485f62(0x1ba)](),{docsLeft:_0x3e05ea,docsTop:_0x25c36c}=_0x1d52a8,_0x5882fc=new _0x442538[(_0x485f62(0x1da))](_0x1d52a8,_0x58ee39);for(const {startOffset:_0x22188c,endOffset:_0x127fe3,rangeType:_0x28847f,segmentId:_0x195d93,segmentPage:_0x4ee0c1,collapsed:_0x70d9f8,isActive:_0x365e93}of _0x28d16a){const _0x67323=_0x58ee39[_0x485f62(0x267)](_0x22188c,!0x0,_0x195d93,_0x4ee0c1);let _0x1c9849=_0x58ee39[_0x485f62(0x267)](_0x127fe3,!0x0,_0x195d93,_0x4ee0c1);if(_0x1c9849==null&&(_0x1c9849=_0x58ee39[_0x485f62(0x267)](_0x127fe3-0x1,!0x1,_0x195d93,_0x4ee0c1)),_0x365e93){const {contentBoxPointGroup:_0x32ac23}=_0x5882fc[_0x485f62(0x3bd)](_0x1c9849,_0x1c9849);if(_0x32ac23[_0x485f62(0x37b)]===0x0)continue;this[_0x485f62(0x156)](_0x5d3cde,_0x32ac23,_0x3e05ea,_0x25c36c,_0x53af7c),this[_0x485f62(0x433)]=this['_handleHover']();}if(_0x67323&&_0x1c9849){if(_0x28847f===_0x295c8f[_0x485f62(0x3b3)][_0x485f62(0x1f7)]){const _0x298ff0=new _0x442538[(_0x485f62(0x2e7))](_0x1d52a8,_0x58ee39),{pointGroup:_0xedadbc}=(_0x45f003=_0x298ff0[_0x485f62(0x3bd)](_0x67323,_0x1c9849))!=null?_0x45f003:{};if(_0xedadbc==null||_0xedadbc[_0x485f62(0x37b)]===0x0)continue;this['_drawRectRange'](_0x5d3cde,_0xedadbc,_0x3e05ea,_0x25c36c);}else{if(!_0x70d9f8){const {borderBoxPointGroup:_0x217065}=_0x5882fc[_0x485f62(0x3bd)](_0x67323,_0x1c9849);if(_0x217065[_0x485f62(0x37b)]===0x0)continue;this[_0x485f62(0x3c7)](_0x5d3cde,_0x217065,_0x3e05ea,_0x25c36c);}}}}}[_0xce3cd0(0x156)](_0x56137a,_0x766f19,_0x270203,_0x5dbe96,_0x56f925){const _0x7f629e=_0xce3cd0,_0x23ab50=this[_0x7f629e(0x306)](_0x766f19),{left:_0x103df4,top:_0x4f1edc,height:_0xf61bb9}=_0x23ab50,_0x2c2ae5=this[_0x7f629e(0x15c)](),_0x3aa39c=_0x4b7a68/_0x2c2ae5,_0x36215d=new _0x8db91b[(_0x7f629e(0x248))](_0x6c73a0+_0x295c8f[_0x7f629e(0x17e)](_0xe7008e),{'left':_0x103df4+_0x270203-_0x3aa39c,'top':_0x4f1edc+_0x5dbe96,'height':_0xf61bb9,'width':_0x293e22,'fill':_0x56137a||_0x8db91b[_0x7f629e(0x245)](_0x295c8f[_0x7f629e(0x260)]['black'],0x0),'strokeWidth':_0x3aa39c,'stroke':_0x3bd6ea,'evented':!0x0});this[_0x7f629e(0x311)]=_0x36215d,this[_0x7f629e(0x315)][_0x7f629e(0x2cc)](_0x36215d,_0x442538[_0x7f629e(0x42a)]);const _0x2814be=new _0x8db91b[(_0x7f629e(0x248))](_0x6c73a0+_0x295c8f[_0x7f629e(0x17e)](_0xe7008e),{'left':_0x103df4+_0x270203-_0x3aa39c,'top':_0x4f1edc+_0x5dbe96-_0x2fac45/0x2,'height':_0x2fac45,'width':_0x2fac45,'fill':_0x56137a||_0x8db91b[_0x7f629e(0x245)](_0x295c8f[_0x7f629e(0x260)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x56137a||_0x8db91b['getColor'](_0x295c8f[_0x7f629e(0x260)]['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x2814be,this[_0x7f629e(0x315)][_0x7f629e(0x2cc)](_0x2814be,_0x442538['TEXT_RANGE_LAYER_INDEX']);const _0x2143bf=new _0x2dd573(_0x6c73a0+_0x295c8f['generateRandomId'](_0xe7008e),{'left':_0x103df4+_0x270203-_0x3aa39c,'top':_0x4f1edc+_0x5dbe96-_0x490e44,'text':_0x56f925,'color':_0x56137a});this[_0x7f629e(0x3cc)]=_0x2143bf,this['_scene'][_0x7f629e(0x2cc)](_0x2143bf,_0x442538[_0x7f629e(0x42a)]),this[_0x7f629e(0x2e6)]=!0x1;}[_0xce3cd0(0x27a)](){const _0x1cb507=_0xce3cd0,_0x65c968=this[_0x1cb507(0x311)]['onPointerEnter$'][_0x1cb507(0x3fe)](()=>{const _0x51f5f0=_0x1cb507;this[_0x51f5f0(0x2e6)]=!0x0;}),_0xfb059f=this[_0x1cb507(0x311)][_0x1cb507(0x407)][_0x1cb507(0x3fe)](()=>{const _0x3b07f1=_0x1cb507;this[_0x3b07f1(0x15b)]&&clearTimeout(this[_0x3b07f1(0x15b)]),this[_0x3b07f1(0x15b)]=setTimeout(()=>{const _0x337e5a=_0x3b07f1;this[_0x337e5a(0x2e6)]=!0x1;},0x7d0);});return()=>{const _0x37eb9d=_0x1cb507;_0x65c968[_0x37eb9d(0x3a9)](),_0xfb059f[_0x37eb9d(0x3a9)]();};}[_0xce3cd0(0x3c7)](_0x157ccf,_0xbeafae,_0x21f046,_0x2ca3a6){const _0x24de1f=_0xce3cd0,_0xa67d1c=new _0x295c8f[(_0x24de1f(0x249))](_0x157ccf)[_0x24de1f(0x1e3)](0.2)['toRgbString'](),_0x1eaf1=new _0x8db91b[(_0x24de1f(0x35b))](_0x5d38c5+_0x295c8f['generateRandomId'](_0xe7008e),{'pointsGroup':_0xbeafae,'fill':_0xa67d1c||_0x8db91b[_0x24de1f(0x245)](_0x295c8f[_0x24de1f(0x260)][_0x24de1f(0x431)],0.2),'left':_0x21f046,'top':_0x2ca3a6,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x24de1f(0x3aa)][_0x24de1f(0x44a)](_0x1eaf1),this[_0x24de1f(0x315)][_0x24de1f(0x2cc)](_0x1eaf1,_0x442538['TEXT_RANGE_LAYER_INDEX']);}['_drawRectRange'](_0x2f921a,_0x3d3a3a,_0x31ab52,_0x2ca5cc){const _0x1869b9=_0xce3cd0,_0x1424fc=new _0x295c8f[(_0x1869b9(0x249))](_0x2f921a)[_0x1869b9(0x1e3)](0.2)[_0x1869b9(0x3ed)](),_0x527570=new _0x8db91b[(_0x1869b9(0x35b))](_0x37de86+_0x295c8f['generateRandomId'](_0xe7008e),{'pointsGroup':_0x3d3a3a,'fill':_0x1424fc||_0x8db91b['getColor'](_0x295c8f[_0x1869b9(0x260)][_0x1869b9(0x431)],0.2),'left':_0x31ab52,'top':_0x2ca5cc,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1869b9(0x3aa)][_0x1869b9(0x44a)](_0x527570),this[_0x1869b9(0x315)][_0x1869b9(0x2cc)](_0x527570,_0x442538[_0x1869b9(0x42a)]);}['_getAnchorBounding'](_0x524321){const _0x233ae1=_0x524321[0x0],_0x58df60=_0x233ae1[0x0],_0x1a79a7=_0x233ae1[0x2],{x:_0x4cb847,y:_0x17927b}=_0x58df60,{x:_0x2b0192,y:_0x2413e6}=_0x1a79a7;return{'left':_0x4cb847,'top':_0x17927b,'width':_0x2b0192-_0x4cb847,'height':_0x2413e6-_0x17927b};}['_getScale'](){const _0x486e0f=_0xce3cd0,{scaleX:_0x548e42,scaleY:_0x3f316f}=this[_0x486e0f(0x315)][_0x486e0f(0x1a6)]();return Math['max'](_0x548e42,_0x3f316f);}}var _0x5d2f4d=Object[_0xce3cd0(0x3e7)],_0x388174=(_0x1bb3da,_0x55bca0,_0x107e3d,_0x26d9c4)=>{const _0x2d7aad=_0xce3cd0;for(var _0x5b4cbf=_0x26d9c4>0x1?void 0x0:_0x26d9c4?_0x5d2f4d(_0x55bca0,_0x107e3d):_0x55bca0,_0x289f1b=_0x1bb3da[_0x2d7aad(0x37b)]-0x1,_0x313db3;_0x289f1b>=0x0;_0x289f1b--)(_0x313db3=_0x1bb3da[_0x289f1b])&&(_0x5b4cbf=_0x313db3(_0x5b4cbf)||_0x5b4cbf);return _0x5b4cbf;},_0x551f39=(_0x7af354,_0x34fece)=>(_0x5589ff,_0x39c91a)=>_0x34fece(_0x5589ff,_0x39c91a,_0x7af354);let _0x53604e=class extends _0x295c8f[_0xce3cd0(0x1e5)]{constructor(_0x250a98,_0x4ae5ba,_0x1ec54e,_0x2e52fb,_0x4a6fa8){const _0x4273cd=_0xce3cd0;super(),_0xef452e(this,_0x4273cd(0x2db),[]),_0xef452e(this,_0x4273cd(0x21c),[]),(this[_0x4273cd(0x286)]=_0x250a98,this[_0x4273cd(0x166)]=_0x4ae5ba,this[_0x4273cd(0x41e)]=_0x1ec54e,this[_0x4273cd(0x223)]=_0x2e52fb,this[_0x4273cd(0x28d)]=_0x4a6fa8,this[_0x4273cd(0x30d)]());}[_0xce3cd0(0x30d)](){const _0x162295=_0xce3cd0,_0x3df23a=this[_0x162295(0x286)][_0x162295(0x34f)],_0x2096dc=this[_0x162295(0x166)];this['disposeWithMe'](_0x58c226[_0x162295(0x389)]([this[_0x162295(0x41e)]['getCollabCursors$'](_0x3df23a),this[_0x162295(0x28d)]['currentTheme$']])[_0x162295(0x2de)](_0x2157b5[_0x162295(0x16b)](([_0x2d1dbe,_0x391809])=>({'skeleton':_0x2096dc['getSkeleton'](),'cursors':[..._0x2d1dbe[_0x162295(0x3fd)]()][_0x162295(0x226)](_0x301d69=>({..._0x301d69,'color':this[_0x162295(0x28d)][_0x162295(0x254)](_0x301d69[_0x162295(0x374)])}))})))['subscribe'](_0x4dd2e3=>{const _0x2bec5c=_0x162295;if(this['_removeCollabCursors'](),_0x4dd2e3){const {skeleton:_0x1cba0e,cursors:_0x1f10ee}=_0x4dd2e3;this[_0x2bec5c(0x38a)](_0x1cba0e,_0x1f10ee);}})),this['_initResize'](),this[_0x162295(0x3be)]();}[_0xce3cd0(0x38a)](_0x2731ec,_0x172ccb){const _0x580b5f=_0xce3cd0,{scene:_0x3a8fa6,mainComponent:_0x25fb1a}=this[_0x580b5f(0x286)],_0x5080ff=_0x172ccb[_0x580b5f(0x16b)](_0x6a7229=>new _0x2211fb(_0x6a7229,_0x3a8fa6,_0x2731ec,_0x25fb1a));this['_cursorShapes']=_0x5080ff,this['_cursors']=_0x172ccb;}[_0xce3cd0(0x444)](){const _0x4a015e=_0xce3cd0;this['_removeCollabCursors']();const {scene:_0x42fb9b,mainComponent:_0x55dede}=this[_0x4a015e(0x286)],_0x55c702=this[_0x4a015e(0x166)]['getSkeleton'](),_0x459a00=this[_0x4a015e(0x21c)][_0x4a015e(0x16b)](_0x530069=>new _0x2211fb(_0x530069,_0x42fb9b,_0x55c702,_0x55dede));this[_0x4a015e(0x2db)]=_0x459a00;}[_0xce3cd0(0x30f)](){const _0x1e2786=_0xce3cd0;this[_0x1e2786(0x2db)][_0x1e2786(0x2e5)](_0x4dd3bd=>_0x4dd3bd['dispose']()),this[_0x1e2786(0x2db)]=[];}[_0xce3cd0(0x3be)](){const _0x9d0b32=_0xce3cd0,_0x9b1576=[_0x442538['SetDocZoomRatioOperation']['id']];this[_0x9d0b32(0x43c)](this['_commandService'][_0x9d0b32(0x19c)](_0x49d4a1=>{const _0x5538b5=_0x9d0b32;_0x9b1576['includes'](_0x49d4a1['id'])&&_0x49d4a1[_0x5538b5(0x275)][_0x5538b5(0x34f)]===this[_0x5538b5(0x286)][_0x5538b5(0x34f)]&&this['_refreshCollabCursors']();}));}[_0xce3cd0(0x412)](){const _0x35ab36=_0xce3cd0;this['disposeWithMe'](_0x295c8f[_0x35ab36(0x1d9)](this[_0x35ab36(0x286)]['engine'][_0x35ab36(0x288)])[_0x35ab36(0x2de)](_0x2157b5[_0x35ab36(0x1cd)](_0x995510=>_0x995510[_0x35ab36(0x273)]===_0x8db91b[_0x35ab36(0x2c0)][_0x35ab36(0x272)]),_0x2157b5[_0x35ab36(0x204)](0x10))[_0x35ab36(0x17f)](()=>{const _0x396d35=_0x35ab36;this[_0x396d35(0x444)]();}));}};_0x53604e=_0x388174([_0x551f39(0x1,_0x295c8f[_0xce3cd0(0x2fb)](_0x400651[_0xce3cd0(0x1fa)])),_0x551f39(0x2,_0x295c8f[_0xce3cd0(0x2fb)](_0x150b36)),_0x551f39(0x3,_0x295c8f[_0xce3cd0(0x2f7)]),_0x551f39(0x4,_0x295c8f[_0xce3cd0(0x2fb)](_0x295c8f[_0xce3cd0(0x3d7)]))],_0x53604e);const _0x38ee4b=0x1,_0x3f2c49=1.5;class _0x3ee6ec extends _0x8db91b[_0xce3cd0(0x3b1)]{constructor(_0x3198f5,_0x1d3343){const _0x3bef64=_0xce3cd0;super(_0x3198f5,_0x1d3343),_0xef452e(this,_0x3bef64(0x205)),_0xef452e(this,_0x3bef64(0x2ed),!0x1),_0xef452e(this,_0x3bef64(0x3c3)),_0xef452e(this,_0x3bef64(0x206),''),_0xef452e(this,'_labelPosition',_0x3bef64(0x426)),_0xef452e(this,_0x3bef64(0x2c7)),(_0x1d3343&&this['setShapeProps'](_0x1d3343),this[_0x3bef64(0x45a)][_0x3bef64(0x3fe)](()=>this[_0x3bef64(0x281)]({'hovered':!0x0})),this[_0x3bef64(0x407)][_0x3bef64(0x3fe)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0xce3cd0(0x281)](_0x455bda){const _0x37b43f=_0xce3cd0;var _0x436fc1,_0xcc7095,_0x17e2f3,_0x4e673f,_0x58d159,_0x1214f6;this[_0x37b43f(0x205)]=(_0x436fc1=_0x455bda[_0x37b43f(0x374)])!=null?_0x436fc1:this[_0x37b43f(0x205)],this[_0x37b43f(0x2ed)]=(_0xcc7095=_0x455bda[_0x37b43f(0x3da)])!=null?_0xcc7095:this[_0x37b43f(0x2ed)],this['_range']=(_0x17e2f3=_0x455bda[_0x37b43f(0x2c5)])!=null?_0x17e2f3:this[_0x37b43f(0x3c3)],this[_0x37b43f(0x206)]=(_0x4e673f=_0x455bda[_0x37b43f(0x376)])!=null?_0x4e673f:this[_0x37b43f(0x206)],this['_labelPosition']=(_0x58d159=_0x455bda[_0x37b43f(0x43e)])!=null?_0x58d159:this[_0x37b43f(0x2b8)],this[_0x37b43f(0x2c7)]=(_0x1214f6=_0x455bda[_0x37b43f(0x168)])!=null?_0x1214f6:this['_backgroundColor'],this[_0x37b43f(0x3f7)]({'width':_0x455bda['width'],'height':_0x455bda['height']});}[_0xce3cd0(0x422)](_0x339fe2){const _0x45b391=_0xce3cd0,{row:_0x6c7a2b,column:_0x24c286}=_0x339fe2;if(_0x6c7a2b>=this[_0x45b391(0x3c3)][_0x45b391(0x1ad)]&&_0x6c7a2b<=this[_0x45b391(0x3c3)][_0x45b391(0x361)]&&_0x24c286>=this['_range'][_0x45b391(0x3dc)]&&_0x24c286<=this['_range'][_0x45b391(0x37d)]){this[_0x45b391(0x281)]({'hovered':!0x0});return;}this[_0x45b391(0x281)]({'hovered':!0x1});}[_0xce3cd0(0x34b)](_0x5da6e4){return!0x1;}[_0xce3cd0(0x28c)](_0x9bb715){const _0x58410a=_0xce3cd0;_0x8db91b[_0x58410a(0x248)][_0x58410a(0x29d)](_0x9bb715,{'width':this[_0x58410a(0x38d)],'height':this[_0x58410a(0x368)],'strokeWidth':_0x3f2c49,'stroke':this[_0x58410a(0x205)],'evented':!0x1,'fill':this[_0x58410a(0x2c7)]}),this[_0x58410a(0x2ed)]&&(_0x9bb715[_0x58410a(0x34c)](),_0x9bb715[_0x58410a(0x459)](0x1,0x0,0x0,0x1,this[_0x58410a(0x38d)],this[_0x58410a(0x2b8)]===_0x58410a(0x203)?0x0:-_0x490e44),_0x2dd573[_0x58410a(0x29d)](_0x9bb715,{'text':this[_0x58410a(0x206)],'color':this['_color']}),_0x9bb715[_0x58410a(0x31c)]());}}var _0x59211f=Object['getOwnPropertyDescriptor'],_0x42ffe9=(_0x438719,_0x4d8444,_0x2296fe,_0xe568fb)=>{const _0x387800=_0xce3cd0;for(var _0x49e7cb=_0xe568fb>0x1?void 0x0:_0xe568fb?_0x59211f(_0x4d8444,_0x2296fe):_0x4d8444,_0x48af74=_0x438719[_0x387800(0x37b)]-0x1,_0x5769;_0x48af74>=0x0;_0x48af74--)(_0x5769=_0x438719[_0x48af74])&&(_0x49e7cb=_0x5769(_0x49e7cb)||_0x49e7cb);return _0x49e7cb;},_0x58959c=(_0x50a1d7,_0xfce1fe)=>(_0x5d6369,_0x2c87fe)=>_0xfce1fe(_0x5d6369,_0x2c87fe,_0x50a1d7);const _0x2a0525=0x1389;let _0x883637=class extends _0x295c8f[_0xce3cd0(0x1e5)]{constructor(_0x1bcd56,_0x8632f9,_0xe705bb,_0x3f64df){const _0xd3c35d=_0xce3cd0;super(),_0xef452e(this,_0xd3c35d(0x21c),new Set()),_0xef452e(this,_0xd3c35d(0x162),null),(this[_0xd3c35d(0x286)]=_0x1bcd56,this[_0xd3c35d(0x259)]=_0x8632f9,this[_0xd3c35d(0x41e)]=_0xe705bb,this[_0xd3c35d(0x28d)]=_0x3f64df,this[_0xd3c35d(0x30d)]());}['_init'](){const _0xfa8b37=_0xce3cd0;this[_0xfa8b37(0x259)]['currentSkeleton$'][_0xfa8b37(0x2de)](_0x2157b5[_0xfa8b37(0x15a)](this['dispose$']),_0x2157b5[_0xfa8b37(0x3e6)](_0x35c243=>{const _0x4cbb17=_0xfa8b37;if(_0x35c243){const _0xd2bf85=_0x35c243['sheetId'];return _0x58c226[_0x4cbb17(0x389)](this[_0x4cbb17(0x41e)]['getCollabCursors$'](this['_context'][_0x4cbb17(0x34f)]),this[_0x4cbb17(0x28d)][_0x4cbb17(0x17b)])[_0x4cbb17(0x2de)](_0x2157b5[_0x4cbb17(0x16b)](([_0x5818fc,_0x752ddf])=>{const _0x5a3fd7=_0x4cbb17,_0x47f63c=new Map();return _0x5818fc[_0x5a3fd7(0x2e5)]((_0x4406c5,_0xa0d95c)=>{const _0x4d2c0d=_0x5a3fd7;if(_0x4406c5['sheetID']===_0xd2bf85){const _0x849496={..._0x4406c5};_0x849496[_0x4d2c0d(0x374)]=this['_themeService'][_0x4d2c0d(0x254)](_0x4406c5[_0x4d2c0d(0x374)]),_0x47f63c[_0x4d2c0d(0x427)](_0xa0d95c,_0x849496);}}),{'skeleton':_0x35c243,'cursors':_0x47f63c};}));}return _0x58c226['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x430843,cursors:_0x4b34e4})=>{const _0x5d22fe=_0xfa8b37;this[_0x5d22fe(0x30f)](),_0x430843&&this['_updateCollabCursors'](_0x430843,_0x4b34e4);}),this[_0xfa8b37(0x259)][_0xfa8b37(0x42b)][_0xfa8b37(0x17f)](_0x73b8f4=>{const _0x5c0ef7=_0xfa8b37;if(_0x73b8f4==null)return;const {skeleton:_0x4cbd85}=_0x73b8f4,{scene:_0x5147cd}=this['_context'];_0x5147cd[_0x5c0ef7(0x1cf)][_0x5c0ef7(0x3fe)](_0x295c8f[_0x5c0ef7(0x247)](_0xf65b37=>{const _0x4eb4e2=_0x5c0ef7;var _0x1326ac,_0x58aec9;const {offsetX:_0x20c533,offsetY:_0x26de81}=_0xf65b37,{x:_0x55412c,y:_0x1a6882}=_0x5147cd[_0x4eb4e2(0x195)](_0x8db91b[_0x4eb4e2(0x3fc)]['FromArray']([_0x20c533,_0x26de81])),{scaleX:_0x55fdf0,scaleY:_0x36ca01}=_0x5147cd[_0x4eb4e2(0x1a6)](),_0x276322=_0x5147cd[_0x4eb4e2(0x332)](_0x8db91b[_0x4eb4e2(0x208)]['VIEW_MAIN']),_0xd2a96a=_0x5147cd[_0x4eb4e2(0x285)](_0x8db91b[_0x4eb4e2(0x3fc)][_0x4eb4e2(0x238)]([_0x55412c,_0x1a6882]),_0x276322),_0x4210ae=_0x4cbd85[_0x4eb4e2(0x375)](_0x20c533,_0x26de81,_0x55fdf0,_0x36ca01,_0xd2a96a);((_0x1326ac=this[_0x4eb4e2(0x162)])==null?void 0x0:_0x1326ac[_0x4eb4e2(0x33b)])===_0x4210ae[_0x4eb4e2(0x33b)]&&((_0x58aec9=this['_lastPointer'])==null?void 0x0:_0x58aec9[_0x4eb4e2(0x3f6)])===_0x4210ae['row']||this[_0x4eb4e2(0x21c)][_0x4eb4e2(0x2e5)](_0x1aa356=>{const _0x585003=_0x4eb4e2;_0x1aa356[_0x585003(0x422)](_0x4210ae);});},0x64));});}[_0xce3cd0(0x38a)](_0x3b7dcf,_0x106207){const _0x4bd86f=_0xce3cd0;var _0x4988f6;const _0x142d4e=(_0x4988f6=this['_sheetSkeletonManagerService'][_0x4bd86f(0x1e8)]())==null?void 0x0:_0x4988f6[_0x4bd86f(0x398)];if(!_0x142d4e)return;const _0x17436f=this[_0x4bd86f(0x2ca)]();if(!_0x17436f)return;this['_cursors'][_0x4bd86f(0x2e5)](_0x31d6b3=>{_0x31d6b3['makeDirty']();});const {scene:_0x1cdb2d}=_0x17436f,_0x1361e4=_0x347dd5(Array[_0x4bd86f(0x264)](_0x106207['values']()))[_0x4bd86f(0x16b)](_0x366c54=>{const _0x324d9f=_0x4bd86f,{color:_0x834ddd,range:_0x15b71d,name:_0x28b834,selection:_0x29fee3,sheetID:_0x1a192b}=_0x366c54,{startColumn:_0x23f4e7,startRow:_0x590de5,endColumn:_0x2f224a,endRow:_0xa46712}=_0x15b71d,_0x3f4722=_0x2cd116[_0x324d9f(0x27c)](_0x590de5,_0x23f4e7,_0x1cdb2d,_0x142d4e),_0x2f67ea=_0x2cd116[_0x324d9f(0x27c)](_0xa46712,_0x2f224a,_0x1cdb2d,_0x142d4e),{columnHeaderHeightAndMarginTop:_0x4197ee}=_0x142d4e,{startX:_0xc038cc,startY:_0x28131b}=_0x3f4722,{endX:_0x573abf,endY:_0x363c26}=_0x2f67ea,_0x18ed1e=_0x573abf-_0xc038cc,_0x31928c=_0x363c26-_0x28131b,_0x30e1e1={'labelPosition':_0x28131b-_0x4197ee>=_0x490e44?_0x324d9f(0x426):'bottom','sheetID':_0x1a192b,'range':_0x15b71d,'color':_0x834ddd,'name':_0x28b834,'selection':_0x29fee3,'left':_0xc038cc,'top':_0x28131b,'width':_0x18ed1e,'height':_0x31928c,'evented':!0x1,'zIndex':_0x2a0525};return new _0x3ee6ec(_0x28b834,_0x30e1e1);});_0x1cdb2d[_0x4bd86f(0x413)](_0x1361e4,_0x38ee4b),this[_0x4bd86f(0x21c)]=new Set(_0x1361e4);}['_removeCollabCursors'](){const _0xc48981=_0xce3cd0;var _0x559d9d;(_0x559d9d=this[_0xc48981(0x21c)])==null||_0x559d9d[_0xc48981(0x2e5)](_0x15f5f9=>_0x15f5f9[_0xc48981(0x2a7)]());}[_0xce3cd0(0x2ca)](){const _0x4c5647=_0xce3cd0;return _0x2cd116['getSheetObject'](this[_0x4c5647(0x286)][_0x4c5647(0x429)],this[_0x4c5647(0x286)]);}};_0x883637=_0x42ffe9([_0x58959c(0x1,_0x295c8f['Inject'](_0x2cd116[_0xce3cd0(0x409)])),_0x58959c(0x2,_0x295c8f[_0xce3cd0(0x2fb)](_0x150b36)),_0x58959c(0x3,_0x295c8f[_0xce3cd0(0x2fb)](_0x295c8f[_0xce3cd0(0x3d7)]))],_0x883637);function _0x347dd5(_0x46160f){const _0x3d739c=_0xce3cd0,_0x5f24d5=new Map();return _0x46160f[_0x3d739c(0x2e5)](_0x2c36e4=>{const _0x19fc9e=_0x3d739c;if(_0x5f24d5[_0x19fc9e(0x2d5)](_0x2c36e4['selection'])){const _0x599691=_0x5f24d5[_0x19fc9e(0x3fa)](_0x2c36e4['selection']);_0x599691[_0x19fc9e(0x376)]+=',\x20'+_0x2c36e4[_0x19fc9e(0x376)];}else _0x5f24d5[_0x19fc9e(0x427)](_0x2c36e4[_0x19fc9e(0x2f4)],_0x2c36e4);}),Array[_0x3d739c(0x264)](_0x5f24d5['values']());}var _0x1775c4=Object['getOwnPropertyDescriptor'],_0x589178=(_0x1aa343,_0x4d126c,_0x2d46b4,_0xca28ed)=>{const _0xa5cf59=_0xce3cd0;for(var _0x10997a=_0xca28ed>0x1?void 0x0:_0xca28ed?_0x1775c4(_0x4d126c,_0x2d46b4):_0x4d126c,_0x1ea8ce=_0x1aa343[_0xa5cf59(0x37b)]-0x1,_0x4262f1;_0x1ea8ce>=0x0;_0x1ea8ce--)(_0x4262f1=_0x1aa343[_0x1ea8ce])&&(_0x10997a=_0x4262f1(_0x10997a)||_0x10997a);return _0x10997a;},_0xb875d8=(_0x714d89,_0x217691)=>(_0x3cab9c,_0x5bdeec)=>_0x217691(_0x3cab9c,_0x5bdeec,_0x714d89);let _0x220b52=class extends _0x295c8f['Disposable']{constructor(_0x538168,_0x27041c,_0xbdf5ac,_0x55bc07,_0x1132fa,_0x1779ee){const _0x43287c=_0xce3cd0;super(),this[_0x43287c(0x2b7)]=_0x538168,this[_0x43287c(0x174)]=_0x27041c,this[_0x43287c(0x3c1)]=_0xbdf5ac,this[_0x43287c(0x287)]=_0x55bc07,this['_notificationService']=_0x1132fa,this[_0x43287c(0x3fb)]=_0x1779ee,this[_0x43287c(0x1eb)](),this[_0x43287c(0x357)]();}[_0xce3cd0(0x1eb)](){const _0xc05b4c=_0xce3cd0;this[_0xc05b4c(0x43c)](this[_0xc05b4c(0x2b7)][_0xc05b4c(0x399)](()=>{const _0x15100c=_0xc05b4c;if(this[_0x15100c(0x174)][_0x15100c(0x19e)][_0x15100c(0x348)])return this[_0x15100c(0x3fb)]['t']('collaboration.offline-data-not-saved');}));}[_0xce3cd0(0x357)](){const _0x1518c1=_0xce3cd0;this[_0x1518c1(0x43c)](this[_0x1518c1(0x3c1)][_0x1518c1(0x449)][_0x1518c1(0x17f)](_0x14bc74=>{const _0x4a0f56=_0x1518c1;_0x14bc74['id']===_0x2cb61c[_0x4a0f56(0x42e)][_0x4a0f56(0x1e9)]&&this[_0x4a0f56(0x287)]['show']({'type':_0x599761[_0x4a0f56(0x437)]['Warning'],'content':this[_0x4a0f56(0x3fb)]['t'](_0x4a0f56(0x2ff))}),_0x14bc74['id']===_0x2cb61c['CollaborationUIEventId'][_0x4a0f56(0x2a5)]&&this[_0x4a0f56(0x287)][_0x4a0f56(0x1b8)]({'type':_0x599761[_0x4a0f56(0x437)][_0x4a0f56(0x2cb)],'content':this[_0x4a0f56(0x3fb)]['t'](_0x4a0f56(0x2f1))}),_0x14bc74['id']===_0x2cb61c[_0x4a0f56(0x42e)][_0x4a0f56(0x2dc)]&&this[_0x4a0f56(0x400)][_0x4a0f56(0x1b8)]({'title':this[_0x4a0f56(0x3fb)]['t'](_0x4a0f56(0x1a7)),'content':this[_0x4a0f56(0x3fb)]['t'](_0x4a0f56(0x16c)),'type':_0x4a0f56(0x1b1),'duration':0x0}),_0x14bc74['id']===_0x2cb61c[_0x4a0f56(0x42e)][_0x4a0f56(0x36b)]&&this[_0x4a0f56(0x287)]['show']({'type':_0x599761[_0x4a0f56(0x437)][_0x4a0f56(0x25e)],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0x14bc74[_0x4a0f56(0x31b)]+')'}),_0x14bc74['id']===_0x2cb61c[_0x4a0f56(0x42e)][_0x4a0f56(0x2a0)]&&this[_0x4a0f56(0x287)][_0x4a0f56(0x1b8)]({'type':_0x599761['MessageType'][_0x4a0f56(0x2cb)],'content':this['_localeService']['t'](_0x14bc74[_0x4a0f56(0x31b)]||'')}),_0x14bc74['id']===_0x2cb61c[_0x4a0f56(0x42e)][_0x4a0f56(0x196)]&&this[_0x4a0f56(0x287)][_0x4a0f56(0x1b8)]({'type':_0x599761['MessageType'][_0x4a0f56(0x2cb)],'content':this[_0x4a0f56(0x3fb)]['t']('session.will-retry')}),_0x14bc74['id']===_0x2cb61c[_0x4a0f56(0x42e)][_0x4a0f56(0x446)]&&this[_0x4a0f56(0x287)][_0x4a0f56(0x1b8)]({'type':_0x599761[_0x4a0f56(0x437)]['Error'],'content':this[_0x4a0f56(0x3fb)]['t']('session.connection-failed')}),_0x14bc74['id']===_0x2cb61c[_0x4a0f56(0x42e)][_0x4a0f56(0x279)]&&this[_0x4a0f56(0x287)]['show']({'type':_0x599761[_0x4a0f56(0x437)][_0x4a0f56(0x25e)],'content':this[_0x4a0f56(0x3fb)]['t'](_0x4a0f56(0x40d))});}));}};_0x220b52=_0x589178([_0xb875d8(0x0,_0x189b11[_0xce3cd0(0x161)]),_0xb875d8(0x1,_0x2cb61c['ILocalCacheService']),_0xb875d8(0x2,_0x295c8f['Inject'](_0x2cb61c[_0xce3cd0(0x390)])),_0xb875d8(0x3,_0x189b11[_0xce3cd0(0x1ab)]),_0xb875d8(0x4,_0x189b11[_0xce3cd0(0x2c1)]),_0xb875d8(0x5,_0x295c8f[_0xce3cd0(0x2fb)](_0x295c8f['LocaleService']))],_0x220b52);var _0x57b5b8=Object['getOwnPropertyDescriptor'],_0x41a65c=(_0x4d9ca7,_0x2acc7d,_0x6dea33,_0x4f3679)=>{const _0x20e84c=_0xce3cd0;for(var _0x42b3b8=_0x4f3679>0x1?void 0x0:_0x4f3679?_0x57b5b8(_0x2acc7d,_0x6dea33):_0x2acc7d,_0x571d6d=_0x4d9ca7[_0x20e84c(0x37b)]-0x1,_0x264da0;_0x571d6d>=0x0;_0x571d6d--)(_0x264da0=_0x4d9ca7[_0x571d6d])&&(_0x42b3b8=_0x264da0(_0x42b3b8)||_0x42b3b8);return _0x42b3b8;},_0x217677=(_0x4d7a58,_0x3b10e0)=>(_0xa37ad0,_0x452ff7)=>_0x3b10e0(_0xa37ad0,_0x452ff7,_0x4d7a58);let _0x39c89f=class extends _0x295c8f['Disposable']{constructor(_0x13de19,_0x49f9e0,_0x585522,_0x2bdc27){const _0xe8d1c8=_0xce3cd0;super(),_0xef452e(this,_0xe8d1c8(0x1b0)),(this[_0xe8d1c8(0x1f6)]=_0x13de19,this[_0xe8d1c8(0x220)]=_0x49f9e0,this[_0xe8d1c8(0x22d)]=_0x585522,this['_collaborationSessionService']=_0x2bdc27,this['_init']());}['_init'](){const _0x49cc39=_0xce3cd0;this[_0x49cc39(0x22a)](),this[_0x49cc39(0x242)](),this['_monkeyPatchLogService'](),this[_0x49cc39(0x299)]();}['_initUserListener'](){const _0x47a730=_0xce3cd0;this[_0x47a730(0x43c)](this[_0x47a730(0x234)][_0x47a730(0x25d)][_0x47a730(0x17f)](_0x40b096=>{const _0x406080=_0x47a730;this[_0x406080(0x1b0)]=_0x40b096==null?void 0x0:_0x40b096[_0x406080(0x3c4)];}));}[_0xce3cd0(0x22a)](){const _0xab63a=_0xce3cd0,_0x28e40e=_0x26b90f=>{const _0x582a79=_0x2541;var _0x53a79b;this[_0x582a79(0x26f)]('error',_0x582a79(0x40f)+_0x26b90f[_0x582a79(0x1d0)]+_0x582a79(0x34e)+_0x26b90f[_0x582a79(0x40a)]+':'+_0x26b90f[_0x582a79(0x385)]+':'+_0x26b90f[_0x582a79(0x3f0)]+'\x0a'+(((_0x53a79b=_0x26b90f[_0x582a79(0x1b1)])==null?void 0x0:_0x53a79b[_0x582a79(0x419)])||''));};window[_0xab63a(0x2e4)]('error',_0x28e40e),this[_0xab63a(0x43c)](()=>{const _0x33e7d7=_0xab63a;window[_0x33e7d7(0x2c2)](_0x33e7d7(0x1b1),_0x28e40e);});}[_0xce3cd0(0x242)](){const _0x40b5be=_0xce3cd0,_0x51de5b=_0x3f79b8=>{const _0x13c050=_0x2541;this[_0x13c050(0x26f)]('error',_0x13c050(0x1e2)+_0x3f79b8[_0x13c050(0x44b)]);};window[_0x40b5be(0x2e4)]('unhandledrejection',_0x51de5b),this[_0x40b5be(0x43c)](()=>{window['removeEventListener']('unhandledrejection',_0x51de5b);});}[_0xce3cd0(0x27b)](){const _0x12ac2b=_0xce3cd0,_0x1e9849=this[_0x12ac2b(0x22d)][_0x12ac2b(0x1b1)][_0x12ac2b(0x2df)](this[_0x12ac2b(0x22d)]);this[_0x12ac2b(0x22d)][_0x12ac2b(0x1b1)]=(..._0x1532ad)=>{const _0x7165a7=_0x12ac2b,_0xfbd7c6=_0x1532ad[_0x7165a7(0x16b)](_0x3b1fb1=>_0x3b1fb1 instanceof Error?_0x3b1fb1['message']+'\x0a'+_0x3b1fb1[_0x7165a7(0x419)]:String(_0x3b1fb1))[_0x7165a7(0x2f8)]('\x20');this[_0x7165a7(0x26f)]('error',_0x7165a7(0x1e7)+_0xfbd7c6),_0x1e9849(..._0x1532ad);},this[_0x12ac2b(0x43c)](()=>{const _0x3ff5a6=_0x12ac2b;this[_0x3ff5a6(0x22d)][_0x3ff5a6(0x1b1)]=_0x1e9849;});}[_0xce3cd0(0x26f)](_0x51f0b5,_0x19bc2f){const _0x5fb86=_0xce3cd0;try{const _0x4d76bd={'userId':this[_0x5fb86(0x1b0)],'logLabel':_0x51f0b5,'content':_0x19bc2f};this[_0x5fb86(0x220)][_0x5fb86(0x165)](_0x5fb86(0x189),{'body':_0x4d76bd})[_0x5fb86(0x3b8)](()=>{});}catch{}}};_0x39c89f=_0x41a65c([_0x217677(0x0,_0x295c8f[_0xce3cd0(0x2fb)](_0x295c8f['Injector'])),_0x217677(0x1,_0x295c8f[_0xce3cd0(0x2fb)](_0x17ac2f[_0xce3cd0(0x440)])),_0x217677(0x2,_0x295c8f[_0xce3cd0(0x29b)]),_0x217677(0x3,_0x295c8f[_0xce3cd0(0x2fb)](_0x2cb61c[_0xce3cd0(0x1c6)]))],_0x39c89f);const _0x1e1ed6=_0xce3cd0(0x3ad),_0xf2bce4={};var _0x51b493=Object[_0xce3cd0(0x3e7)],_0x28f25b=(_0x329664,_0x39570b,_0x1c4916,_0x58adcd)=>{const _0x341369=_0xce3cd0;for(var _0x112339=_0x58adcd>0x1?void 0x0:_0x58adcd?_0x51b493(_0x39570b,_0x1c4916):_0x39570b,_0x297f23=_0x329664[_0x341369(0x37b)]-0x1,_0x62da15;_0x297f23>=0x0;_0x297f23--)(_0x62da15=_0x329664[_0x297f23])&&(_0x112339=_0x62da15(_0x112339)||_0x112339);return _0x112339;},_0x4d91ef=(_0x27f01e,_0x41bb9f)=>(_0x21c315,_0x4ccde5)=>_0x41bb9f(_0x21c315,_0x4ccde5,_0x27f01e);let _0x13d4ed=class{constructor(_0x574a33,_0x31d1d3){const _0x2c39da=_0xce3cd0;this[_0x2c39da(0x3d4)]=_0x574a33,this[_0x2c39da(0x3a8)]=_0x31d1d3;}[_0xce3cd0(0x32d)](_0x271eb5){const _0x57e082=_0xce3cd0;this['_transformUndoRedoStack'](_0x271eb5),this[_0x57e082(0x2f6)](_0x271eb5);}['transformRemoteChangeset'](_0x426ea4){const _0x4f0998=_0xce3cd0,{unitID:_0x4429ae}=_0x426ea4,_0x54809e=this[_0x4f0998(0x3a8)][_0x4f0998(0x163)](_0x4429ae)[_0x4f0998(0x23a)](_0x442538[_0x4f0998(0x3ab)]),{redoCache:_0x329ecd}=_0x54809e[_0x4f0998(0x3b9)]();if(_0x329ecd['length']===0x0)return _0x426ea4;let _0x38ddfa=_0x295c8f[_0x4f0998(0x182)][_0x4f0998(0x179)](_0x426ea4[_0x4f0998(0x324)][0x0]);for(let _0x5edd61=0x0;_0x5edd61<_0x329ecd[_0x4f0998(0x37b)];_0x5edd61++){const _0x2af366={'id':_0x4f0998(0x20d),'params':{..._0x329ecd[_0x5edd61]}},_0x5e2bc8=this[_0x4f0998(0x3d4)][_0x4f0998(0x25f)](_0x38ddfa,_0x2af366,!0x1);if(_0x143a87[_0x4f0998(0x44d)](_0x5e2bc8))throw _0x5e2bc8[_0x4f0998(0x1b1)];_0x38ddfa=_0x5e2bc8[_0x4f0998(0x2b0)];}return{..._0x295c8f[_0x4f0998(0x182)][_0x4f0998(0x179)](_0x426ea4),'mutations':[_0x38ddfa]};}[_0xce3cd0(0x43f)](_0x109a8c){const _0x1e0735=_0xce3cd0,{unitID:_0x1a5bd4}=_0x109a8c,_0x214a2f=this[_0x1e0735(0x3a8)]['getRenderById'](_0x1a5bd4)[_0x1e0735(0x23a)](_0x442538[_0x1e0735(0x3ab)]),{undoCache:_0x158838,redoCache:_0x4000c3}=_0x214a2f[_0x1e0735(0x3b9)]();if(_0x158838[_0x1e0735(0x37b)]===0x0||_0x4000c3[_0x1e0735(0x37b)]===0x0)return;const _0x4db19b=[],_0x441c93=[];let _0x5e2c61=_0x295c8f[_0x1e0735(0x182)][_0x1e0735(0x179)](_0x109a8c[_0x1e0735(0x324)][0x0]),_0x45c7fd=_0x295c8f[_0x1e0735(0x182)]['deepClone'](_0x109a8c[_0x1e0735(0x324)][0x0]);for(let _0x53b0f7=_0x158838['length']-0x1;_0x53b0f7>=0x0;_0x53b0f7--){const _0x46a239={'id':'doc.mutation.rich-text-editing','params':{..._0x158838[_0x53b0f7]}},_0x3881b2={'id':_0x1e0735(0x20d),'params':{..._0x4000c3[_0x53b0f7]}},_0x10db8d=this[_0x1e0735(0x3d4)]['transformMutation'](_0x5e2c61,_0x46a239,!0x1),_0x2f0001=this[_0x1e0735(0x3d4)]['transformMutation'](_0x45c7fd,_0x3881b2,!0x1);if(_0x143a87[_0x1e0735(0x44d)](_0x10db8d))throw _0x10db8d['error'];if(_0x143a87[_0x1e0735(0x44d)](_0x2f0001))throw _0x2f0001['error'];_0x4db19b[_0x1e0735(0x1aa)](_0x10db8d[_0x1e0735(0x40c)][_0x1e0735(0x275)]),_0x441c93[_0x1e0735(0x1aa)](_0x2f0001[_0x1e0735(0x40c)]['params']),_0x5e2c61=_0x10db8d[_0x1e0735(0x2b0)],_0x45c7fd=_0x2f0001[_0x1e0735(0x2b0)];}_0x214a2f[_0x1e0735(0x3ee)]({'undoCache':_0x4db19b,'redoCache':_0x441c93});}['_transformPreviousActiveRange'](_0x31866e){const _0x4fb713=_0xce3cd0,{unitID:_0x559294}=_0x31866e,_0x198d07=this[_0x4fb713(0x3a8)]['getRenderById'](_0x559294)[_0x4fb713(0x23a)](_0x442538[_0x4fb713(0x3ab)]),_0x479c61=_0x198d07['getActiveRange']();if(_0x479c61==null)return;const _0x243288=[{'id':_0x4fb713(0x20d),'params':{'unitId':_0x31866e[_0x4fb713(0x445)],'actions':null,'textRanges':[_0x479c61]}}],_0x2e852c=this['_transformService'][_0x4fb713(0x1b4)](_0x31866e,_0x243288);if(!_0x143a87[_0x4fb713(0x3f2)](_0x2e852c))throw _0x2e852c[_0x4fb713(0x1b1)];const _0x108e64=_0x2e852c[_0x4fb713(0x40c)][0x0][_0x4fb713(0x275)][_0x4fb713(0x1c5)];Array[_0x4fb713(0x3c9)](_0x108e64)&&_0x108e64['length']&&_0x198d07[_0x4fb713(0x160)](_0x108e64[0x0]);}};_0x13d4ed=_0x28f25b([_0x4d91ef(0x0,_0x143a87[_0xce3cd0(0x169)]),_0x4d91ef(0x1,_0x8db91b[_0xce3cd0(0x455)])],_0x13d4ed);var _0x26a255=Object[_0xce3cd0(0x3e7)],_0x179deb=(_0x31cbf2,_0x4704b8,_0x16b595,_0x4f709c)=>{const _0x37575a=_0xce3cd0;for(var _0x19aca4=_0x4f709c>0x1?void 0x0:_0x4f709c?_0x26a255(_0x4704b8,_0x16b595):_0x4704b8,_0x19114c=_0x31cbf2[_0x37575a(0x37b)]-0x1,_0x377069;_0x19114c>=0x0;_0x19114c--)(_0x377069=_0x31cbf2[_0x19114c])&&(_0x19aca4=_0x377069(_0x19aca4)||_0x19aca4);return _0x19aca4;},_0x5cc411=(_0xce6db,_0x4f33f6)=>(_0x2304b6,_0x42e043)=>_0x4f33f6(_0x2304b6,_0x42e043,_0xce6db);let _0x214e70=class{constructor(_0x4eb52b,_0x1f2976,_0x4e34dd){const _0x2695a2=_0xce3cd0;this['_injector']=_0x4eb52b,this[_0x2695a2(0x3d4)]=_0x1f2976,this[_0x2695a2(0x26c)]=_0x4e34dd;}['transformStateCache'](_0x5d27c3){const _0x2b34c6=_0xce3cd0;this[_0x2b34c6(0x294)](_0x5d27c3);}[_0xce3cd0(0x3cb)](_0x2e6a11){const _0x4f281c=_0xce3cd0,{unitID:_0x551745}=_0x2e6a11,{collaboration:_0x4fb24a}=this['_docStateChangeManagerService'][_0x4f281c(0x1fe)](_0x551745);if(_0x4fb24a[_0x4f281c(0x37b)]===0x0)return _0x2e6a11;let _0x1ff504=_0x295c8f[_0x4f281c(0x182)][_0x4f281c(0x179)](_0x2e6a11[_0x4f281c(0x324)][0x0]);for(let _0x342b8c=0x0;_0x342b8c<_0x4fb24a['length'];_0x342b8c++){const _0x3ffb6a={'id':_0x4f281c(0x20d),'params':{'unitId':_0x4fb24a[_0x342b8c][_0x4f281c(0x34f)],..._0x4fb24a[_0x342b8c][_0x4f281c(0x1e4)]}},_0x214e07=this[_0x4f281c(0x3d4)][_0x4f281c(0x25f)](_0x1ff504,_0x3ffb6a,!0x1);if(_0x143a87[_0x4f281c(0x44d)](_0x214e07))throw _0x214e07['error'];_0x1ff504=_0x214e07[_0x4f281c(0x2b0)];}return{..._0x295c8f[_0x4f281c(0x182)][_0x4f281c(0x179)](_0x2e6a11),'mutations':[_0x1ff504]};}[_0xce3cd0(0x294)](_0x56ce2d){const _0x446302=_0xce3cd0,{unitID:_0x25ffc5}=_0x56ce2d,{history:_0x4b4b8f,collaboration:_0x1de16b}=this[_0x446302(0x26c)][_0x446302(0x1fe)](_0x25ffc5);if(_0x4b4b8f[_0x446302(0x37b)]===0x0&&_0x1de16b['length']===0x0)return;const _0x2f5b13=[],_0x4cd511=[];let _0x4c2a45=_0x295c8f[_0x446302(0x182)][_0x446302(0x179)](_0x56ce2d[_0x446302(0x324)][0x0]),_0x35c105=_0x295c8f[_0x446302(0x182)]['deepClone'](_0x56ce2d[_0x446302(0x324)][0x0]);for(let _0x5315d1=_0x4b4b8f[_0x446302(0x37b)]-0x1;_0x5315d1>=0x0;_0x5315d1--){const _0x1e3614={'id':_0x446302(0x20d),'params':{'unitId':_0x4b4b8f[_0x5315d1][_0x446302(0x34f)],..._0x4b4b8f[_0x5315d1][_0x446302(0x20b)]}},_0x5d6e41={'id':_0x446302(0x20d),'params':{'unitId':_0x4b4b8f[_0x5315d1][_0x446302(0x34f)],..._0x4b4b8f[_0x5315d1][_0x446302(0x1e4)]}},_0x255bbb=this[_0x446302(0x3d4)]['transformMutation'](_0x4c2a45,_0x1e3614,!0x1),_0x4e1d0b=this[_0x446302(0x3d4)][_0x446302(0x25f)](_0x35c105,_0x5d6e41,!0x1);if(_0x143a87[_0x446302(0x44d)](_0x255bbb))throw _0x255bbb[_0x446302(0x1b1)];if(_0x143a87[_0x446302(0x44d)](_0x4e1d0b))throw _0x4e1d0b[_0x446302(0x1b1)];_0x2f5b13[_0x446302(0x1aa)]({..._0x4b4b8f[_0x5315d1],'undoState':_0x255bbb[_0x446302(0x40c)][_0x446302(0x275)],'redoState':_0x4e1d0b[_0x446302(0x40c)][_0x446302(0x275)]}),_0x4c2a45=_0x255bbb['m1Prime'],_0x35c105=_0x4e1d0b['m1Prime'];}_0x4c2a45=_0x295c8f[_0x446302(0x182)][_0x446302(0x179)](_0x56ce2d[_0x446302(0x324)][0x0]),_0x35c105=_0x295c8f['Tools'][_0x446302(0x179)](_0x56ce2d['mutations'][0x0]);for(let _0x37451b=_0x1de16b['length']-0x1;_0x37451b>=0x0;_0x37451b--){const _0xa21d82={'id':_0x446302(0x20d),'params':{'unitId':_0x1de16b[_0x37451b][_0x446302(0x34f)],..._0x1de16b[_0x37451b]['undoState']}},_0x1b1533={'id':_0x446302(0x20d),'params':{'unitId':_0x1de16b[_0x37451b][_0x446302(0x34f)],..._0x1de16b[_0x37451b][_0x446302(0x1e4)]}},_0x3e02f5=this[_0x446302(0x3d4)][_0x446302(0x25f)](_0x4c2a45,_0xa21d82,!0x1),_0x50444f=this[_0x446302(0x3d4)]['transformMutation'](_0x35c105,_0x1b1533,!0x1);if(_0x143a87['isTransformMutationFailure'](_0x3e02f5))throw _0x3e02f5[_0x446302(0x1b1)];if(_0x143a87[_0x446302(0x44d)](_0x50444f))throw _0x50444f[_0x446302(0x1b1)];_0x4cd511[_0x446302(0x1aa)]({..._0x1de16b[_0x37451b],'undoState':_0x3e02f5[_0x446302(0x40c)][_0x446302(0x275)],'redoState':_0x50444f[_0x446302(0x40c)]['params']}),_0x4c2a45=_0x3e02f5[_0x446302(0x2b0)],_0x35c105=_0x50444f[_0x446302(0x2b0)];}this[_0x446302(0x26c)][_0x446302(0x388)](_0x25ffc5,{'history':_0x2f5b13,'collaboration':_0x4cd511});}};_0x214e70=_0x179deb([_0x5cc411(0x0,_0x295c8f['Inject'](_0x295c8f[_0xce3cd0(0x405)])),_0x5cc411(0x1,_0x143a87[_0xce3cd0(0x169)]),_0x5cc411(0x2,_0x295c8f[_0xce3cd0(0x2fb)](_0x442538[_0xce3cd0(0x39d)]))],_0x214e70);var _0x4a01dd=Object['getOwnPropertyDescriptor'],_0x5064aa=(_0x3bae9a,_0x3ae7e0,_0x16c60e,_0x55491e)=>{for(var _0x3acf49=_0x55491e>0x1?void 0x0:_0x55491e?_0x4a01dd(_0x3ae7e0,_0x16c60e):_0x3ae7e0,_0x1b272b=_0x3bae9a['length']-0x1,_0xda022d;_0x1b272b>=0x0;_0x1b272b--)(_0xda022d=_0x3bae9a[_0x1b272b])&&(_0x3acf49=_0xda022d(_0x3acf49)||_0x3acf49);return _0x3acf49;},_0x357df1=(_0x13b52d,_0x59fe2f)=>(_0x44f928,_0x1539e3)=>_0x59fe2f(_0x44f928,_0x1539e3,_0x13b52d);let _0x5af825=class{constructor(_0x3e4c27,_0xb58c0a){const _0x225452=_0xce3cd0;this[_0x225452(0x1f6)]=_0x3e4c27,this['_transformService']=_0xb58c0a;}[_0xce3cd0(0x32c)](_0x1a6a46){const _0x4d9771=_0xce3cd0;var _0xbdb5a1;const _0x381c57=this[_0x4d9771(0x1f6)][_0x4d9771(0x3fa)](_0x400651['DocSelectionManagerService']),_0x194aa2=(_0xbdb5a1=_0x381c57[_0x4d9771(0x340)]())!=null?_0xbdb5a1:[];if(_0x194aa2[_0x4d9771(0x37b)]===0x0)return;const _0xe3e57f=_0x1a6a46['unitID'],_0xe017f3=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xe3e57f,'actions':null,'textRanges':_0x194aa2}}],_0x1aa92f=this[_0x4d9771(0x3d4)]['transformMutationsWithChangeset'](_0x1a6a46,_0xe017f3);if(!_0x143a87[_0x4d9771(0x3f2)](_0x1aa92f))throw _0x1aa92f[_0x4d9771(0x1b1)];const _0x4d8ebd=_0x1aa92f[_0x4d9771(0x40c)][0x0]['params'][_0x4d9771(0x1c5)];Array[_0x4d9771(0x3c9)](_0x4d8ebd)&&_0x4d8ebd['length']&&_0x381c57[_0x4d9771(0x3b2)](_0x4d8ebd,{'unitId':_0xe3e57f,'subUnitId':_0xe3e57f},!0x1);}};_0x5af825=_0x5064aa([_0x357df1(0x0,_0x295c8f['Inject'](_0x295c8f[_0xce3cd0(0x405)])),_0x357df1(0x1,_0x143a87[_0xce3cd0(0x169)])],_0x5af825);var _0x1e0e59=Object[_0xce3cd0(0x3e7)],_0x1b682=(_0x4744a8,_0x1695d9,_0x2ae70d,_0x101fd0)=>{const _0xf5f6ea=_0xce3cd0;for(var _0x10533d=_0x101fd0>0x1?void 0x0:_0x101fd0?_0x1e0e59(_0x1695d9,_0x2ae70d):_0x1695d9,_0xc2e0bd=_0x4744a8[_0xf5f6ea(0x37b)]-0x1,_0x3cf109;_0xc2e0bd>=0x0;_0xc2e0bd--)(_0x3cf109=_0x4744a8[_0xc2e0bd])&&(_0x10533d=_0x3cf109(_0x10533d)||_0x10533d);return _0x10533d;},_0x5815dd=(_0x3bffad,_0x57d194)=>(_0x388530,_0x51a730)=>_0x57d194(_0x388530,_0x51a730,_0x3bffad);let _0x9f9f49=class extends _0x295c8f[_0xce3cd0(0x1b9)]{constructor(_0x5b1c88,_0x1adae2,_0xb26174,_0x1b08d4,_0x2bb4ac,_0x321581,_0x3ca2fe,_0xba85df){const _0x29c28f=_0xce3cd0;super(),_0xef452e(this,_0x29c28f(0x414),new _0x58c226[(_0x29c28f(0x43b))](_0x2cb61c[_0x29c28f(0x36d)][_0x29c28f(0x21f)])),(this[_0x29c28f(0x26c)]=_0x5b1c88,this[_0x29c28f(0x392)]=_0x1adae2,this['_docTransformIMECacheService']=_0xb26174,this[_0x29c28f(0x37c)]=_0x1b08d4,this['_docTransformSelectionsService']=_0x2bb4ac,this[_0x29c28f(0x25b)]=_0x321581,this[_0x29c28f(0x287)]=_0x3ca2fe,this[_0x29c28f(0x3fb)]=_0xba85df,this[_0x29c28f(0x1c2)]());}[_0xce3cd0(0x1c2)](){const _0xf5bfe3=_0xce3cd0;this[_0xf5bfe3(0x43c)](this[_0xf5bfe3(0x392)]['entityInit$'][_0xf5bfe3(0x17f)](_0xe00a4f=>{const _0x2b44d3=_0xf5bfe3,_0x347fdf=this[_0x2b44d3(0x26c)][_0x2b44d3(0x2ac)][_0x2b44d3(0x17f)](_0x4da6cf=>{const _0x235b1e=_0x2b44d3;if(_0x4da6cf==null)return;const {unitId:_0x86b15f,redoState:_0x2214be,commandId:_0x1db534}=_0x4da6cf;if(_0x86b15f!==_0xe00a4f[_0x235b1e(0x445)])return;const _0x50145b={'id':_0x1db534,'type':_0x295c8f[_0x235b1e(0x24b)][_0x235b1e(0x16d)],'params':{'unitId':_0x86b15f,'actions':_0x2214be[_0x235b1e(0x1f9)],'textRanges':null}};_0xe00a4f[_0x235b1e(0x3b5)](_0x50145b);});if(_0xe00a4f['disposeWithMe'](_0x347fdf),_0xe00a4f instanceof _0x2cb61c[_0x2b44d3(0x213)]){const _0xc3055={'onTransformIME':_0x5ae32b=>this[_0x2b44d3(0x217)][_0x2b44d3(0x32d)](_0x5ae32b),'onTransformState':_0x2f9fdc=>this['_docTransformStateCacheService']['transformStateCache'](_0x2f9fdc),'onTransformSelections':_0x13bcbf=>this[_0x2b44d3(0x18e)]['transformSelections'](_0x13bcbf),'onSyncEditingCollabCursor':_0x42d093=>this['_docSyncEditingCollabCursorService'][_0x2b44d3(0x1cb)](_0x42d093),'onTransformRemoteChangesetByIMECache':_0x540ea2=>this[_0x2b44d3(0x217)][_0x2b44d3(0x3cb)](_0x540ea2),'onTransformRemoteChangesetByStateCache':_0x32fc37=>this['_docTransformStateCacheService'][_0x2b44d3(0x3cb)](_0x32fc37)};_0xe00a4f[_0x2b44d3(0x1df)](_0xc3055);}}));}};_0x9f9f49=_0x1b682([_0x5815dd(0x0,_0x295c8f['Inject'](_0x442538['DocStateChangeManagerService'])),_0x5815dd(0x1,_0x295c8f[_0xce3cd0(0x2fb)](_0x2cb61c['CollaborationController'])),_0x5815dd(0x2,_0x295c8f['Inject'](_0x13d4ed)),_0x5815dd(0x3,_0x295c8f['Inject'](_0x214e70)),_0x5815dd(0x4,_0x295c8f[_0xce3cd0(0x2fb)](_0x5af825)),_0x5815dd(0x5,_0x295c8f[_0xce3cd0(0x2fb)](_0x109a2a)),_0x5815dd(0x6,_0x189b11['IMessageService']),_0x5815dd(0x7,_0x295c8f['Inject'](_0x295c8f[_0xce3cd0(0x237)]))],_0x9f9f49);var _0x3f8266=(_0xcd04ae=>(_0xcd04ae[_0xcd04ae[_0xce3cd0(0x175)]=0x0]='UNDEFINED',_0xcd04ae[_0xcd04ae['OK']=0x1]='OK',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x1a0)]=0x2]=_0xce3cd0(0x1a0),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x2dc)]=0x3]=_0xce3cd0(0x2dc),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x2b5)]=0x4]=_0xce3cd0(0x2b5),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x1ee)]=0x5]='UNAUTHENTICATED',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x395)]=0x6]=_0xce3cd0(0x395),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x2bb)]=0x7]=_0xce3cd0(0x2bb),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x41a)]=0x8]='TOO_MANY_REQUESTS',_0xcd04ae[_0xcd04ae['COMPLETION_FINISHED']=0x9]=_0xce3cd0(0x2e9),_0xcd04ae[_0xcd04ae['LOGIN_FAILED']=0xa]=_0xce3cd0(0x2b6),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x241)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x1e1)]=0xc]=_0xce3cd0(0x1e1),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x210)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0xcd04ae[_0xcd04ae['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0xce3cd0(0x353),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x451)]=0xf]=_0xce3cd0(0x451),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x28b)]=0x10]=_0xce3cd0(0x28b),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x1d3)]=0x64]=_0xce3cd0(0x1d3),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x251)]=0x65]=_0xce3cd0(0x251),_0xcd04ae[_0xcd04ae['USER_NOT_FOUND']=0xc9]=_0xce3cd0(0x21a),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x1de)]=0xca]=_0xce3cd0(0x1de),_0xcd04ae[_0xcd04ae['CHANGESET_REVISION_CONFILICT']=0x1389]=_0xce3cd0(0x3d3),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x2e3)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x2f5)]=0x1772]=_0xce3cd0(0x2f5),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x383)]=0x1773]=_0xce3cd0(0x383),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x312)]=0x1b59]=_0xce3cd0(0x312),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x43a)]=0x1b5a]=_0xce3cd0(0x43a),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x2ba)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0xcd04ae[_0xcd04ae['APPLY_PERMISSION_DENIED']=0x1b5c]=_0xce3cd0(0x418),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x3e1)]=0x1b5d]=_0xce3cd0(0x3e1),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x3a5)]=0x1f41]=_0xce3cd0(0x3a5),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x3ff)]=0x2329]=_0xce3cd0(0x3ff),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x24d)]=0x232a]=_0xce3cd0(0x24d),_0xcd04ae[_0xcd04ae['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0xcd04ae[_0xcd04ae['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x24c)]=0x232d]=_0xce3cd0(0x24c),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x38b)]=0x2711]=_0xce3cd0(0x38b),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x42f)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x373)]=0x2713]=_0xce3cd0(0x373),_0xcd04ae[_0xcd04ae['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0xce3cd0(0x359),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x31d)]=0x271a]=_0xce3cd0(0x31d),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x274)]=0x271b]=_0xce3cd0(0x274),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x3ef)]=0x271c]=_0xce3cd0(0x3ef),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x1e6)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x401)]=0x271e]=_0xce3cd0(0x401),_0xcd04ae[_0xcd04ae['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x2d4)]=0x2720]=_0xce3cd0(0x2d4),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x1b3)]=0x2af9]=_0xce3cd0(0x1b3),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x253)]=0x2ee1]=_0xce3cd0(0x253),_0xcd04ae[_0xcd04ae['INVALID_INVITE_CODE']=0x2ee2]=_0xce3cd0(0x212),_0xcd04ae[_0xcd04ae['INVITE_CODE_REQUIRED']=0x2ee3]=_0xce3cd0(0x29e),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x337)]=0x2ee4]=_0xce3cd0(0x337),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x215)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x18b)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x2ec)]=0x32ca]=_0xce3cd0(0x2ec),_0xcd04ae[_0xcd04ae['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0xce3cd0(0x2b2),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x23e)]=0x36b1]=_0xce3cd0(0x23e),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x345)]=0x36b2]=_0xce3cd0(0x345),_0xcd04ae[_0xcd04ae['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0xce3cd0(0x35a),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x2fc)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x1b5)]=0x36b5]=_0xce3cd0(0x1b5),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x35e)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0xcd04ae[_0xcd04ae['ENTITLE_COUPON_USED_UP']=0x36b7]=_0xce3cd0(0x1c0),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x387)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x1be)]=0x3715]=_0xce3cd0(0x1be),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x3de)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x1b6)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x233)]=0x37dd]=_0xce3cd0(0x233),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x3af)]=0x3a99]=_0xce3cd0(0x3af),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x406)]=0x3a9a]=_0xce3cd0(0x406),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x3ea)]=0x3a9b]=_0xce3cd0(0x3ea),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x33c)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x34a)]=0x3a9d]=_0xce3cd0(0x34a),_0xcd04ae[_0xcd04ae['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0xce3cd0(0x1e0),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x439)]=0x3a9f]=_0xce3cd0(0x439),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x284)]=0x3e81]=_0xce3cd0(0x284),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x23f)]=-0x1]=_0xce3cd0(0x23f),_0xcd04ae))(_0x3f8266||{});function _0x59df2d(_0x1413d7){const _0x1b374e=_0xce3cd0;var _0x28dd71,_0x467043;const _0x104e51=(_0x28dd71=_0x1413d7['stageInfo'])==null?void 0x0:_0x28dd71[_0x1b374e(0x2e0)],_0x3d0813=((_0x467043=_0x1413d7[_0x1b374e(0x39a)])==null?void 0x0:_0x467043['totalFormulasToCalculate'])||0x0;return _0x104e51===_0x218d3f['FormulaExecuteStageType'][_0x1b374e(0x19f)]&&_0x3d0813>0x0;}function _0x4562a9(_0x5e1f5d){return _0x5e1f5d['functionsExecutedState']===_0x218d3f['FormulaExecutedStateType']['SUCCESS'];}var _0x2f01f2=Object[_0xce3cd0(0x3e7)],_0x1206dd=(_0x1b6e39,_0x4c10a5,_0x481fc5,_0x4faf39)=>{for(var _0xa60039=_0x4faf39>0x1?void 0x0:_0x4faf39?_0x2f01f2(_0x4c10a5,_0x481fc5):_0x4c10a5,_0x3fe4d1=_0x1b6e39['length']-0x1,_0x8918b2;_0x3fe4d1>=0x0;_0x3fe4d1--)(_0x8918b2=_0x1b6e39[_0x3fe4d1])&&(_0xa60039=_0x8918b2(_0xa60039)||_0xa60039);return _0xa60039;},_0x4181cf=(_0x3810b0,_0x366bbd)=>(_0xcf69cd,_0x25793b)=>_0x366bbd(_0xcf69cd,_0x25793b,_0x3810b0);const _0x5a8e9d=_0xce3cd0(0x370),_0x3d3bba='/universer-api/license/formula/limit/start',_0x3266f8='/universer-api/license/formula/limit/done';let _0x42b753=class extends _0x295c8f['Disposable']{constructor(_0x4d6edc,_0x3ef51c,_0x2ee521,_0x390c71,_0x150785,_0x51bec2,_0x446f6f){const _0x58903d=_0xce3cd0;super(),_0xef452e(this,_0x58903d(0x329),null),_0xef452e(this,'_maxFormulaLimit',0x0),_0xef452e(this,_0x58903d(0x3cd),0x0),_0xef452e(this,_0x58903d(0x33a),[]),_0xef452e(this,_0x58903d(0x25a),0x0),(this[_0x58903d(0x287)]=_0x4d6edc,this[_0x58903d(0x223)]=_0x3ef51c,this[_0x58903d(0x32b)]=_0x2ee521,this[_0x58903d(0x220)]=_0x390c71,this[_0x58903d(0x2a9)]=_0x150785,this[_0x58903d(0x22d)]=_0x51bec2,this[_0x58903d(0x3fb)]=_0x446f6f,this[_0x58903d(0x180)]());}['_initCommandInterceptor'](){const _0x317791=_0xce3cd0;this[_0x317791(0x43c)](this['_commandService'][_0x317791(0x369)]((_0x4cdb31,_0x18e888)=>{const _0x580803=_0x317791;var _0x4598af;if(_0x4cdb31['id']!==_0x218d3f[_0x580803(0x3f3)]['id'])return;const _0x414df5=_0x4cdb31[_0x580803(0x275)];if(!this['_hasFormulaInDirtyRanges']((_0x4598af=_0x414df5[_0x580803(0x3d8)])!=null?_0x4598af:[]))return;if(!this[_0x580803(0x3f1)]())throw this[_0x580803(0x31a)](_0x4cdb31,_0x18e888),this['_showGuardMessage'](),new _0x295c8f['CanceledError']();})),this['disposeWithMe'](this['_commandService'][_0x317791(0x19c)]((_0x159950,_0x499416)=>{const _0x341be3=_0x317791;if(_0x159950['id']!==_0x218d3f[_0x341be3(0x31e)]['id'])return;const _0x1d7f4d=_0x159950[_0x341be3(0x275)];if(_0x59df2d(_0x1d7f4d)){const _0x126e32=_0x295c8f[_0x341be3(0x17e)]();this[_0x341be3(0x33a)]['push'](_0x126e32),this['_startCalculationLimit'](_0x126e32);}else{if(_0x4562a9(_0x1d7f4d)&&this[_0x341be3(0x33a)]['length']>0x0){const _0x2fc38e=this[_0x341be3(0x33a)][_0x341be3(0x334)]();this[_0x341be3(0x442)](_0x2fc38e);}}}));}[_0xce3cd0(0x2a7)](){const _0x1000d6=_0xce3cd0;super[_0x1000d6(0x2a7)](),this[_0x1000d6(0x377)](),this['_taskIds']=[],this[_0x1000d6(0x3cd)]=0x0,this[_0x1000d6(0x355)]=0x0,this[_0x1000d6(0x25a)]=0x0;}async[_0xce3cd0(0x31a)](_0x367882,_0x3c7e48){const _0x1183ad=_0xce3cd0;for(let _0x249b74=0x0;_0x249b74<0x1e;_0x249b74++)try{if(await this[_0x1183ad(0x342)](),this[_0x1183ad(0x3f1)]()){this[_0x1183ad(0x2d9)](_0x367882,_0x3c7e48),this[_0x1183ad(0x287)]['show']({'content':this['_localeService']['t'](_0x1183ad(0x436)),'type':_0x599761[_0x1183ad(0x437)][_0x1183ad(0x18a)]});return;}await new Promise(_0x512d99=>{const _0x439bca=_0x1183ad;this[_0x439bca(0x329)]=window[_0x439bca(0x454)](_0x512d99,0x3e8);});}catch(_0x1edee7){this[_0x1183ad(0x22d)][_0x1183ad(0x1b1)](_0x1edee7);}this[_0x1183ad(0x287)][_0x1183ad(0x1b8)]({'content':this[_0x1183ad(0x3fb)]['t'](_0x1183ad(0x225)),'type':_0x599761[_0x1183ad(0x437)][_0x1183ad(0x25e)]});}['_applyCommand'](_0x259872,_0x1fd9f1){const _0x46dbb7=_0xce3cd0;try{this[_0x46dbb7(0x223)][_0x46dbb7(0x37e)](_0x259872['id'],_0x259872[_0x46dbb7(0x275)],_0x1fd9f1);}catch(_0x3df58c){this[_0x46dbb7(0x22d)][_0x46dbb7(0x1b1)](_0x3df58c);}}[_0xce3cd0(0x2eb)](_0x1651a7,_0x12bd71){const _0x2a9eb4=_0xce3cd0;_0x12bd71<this['_lastResponseTimestamp']||(this['_lastResponseTimestamp']=_0x12bd71,this[_0x2a9eb4(0x355)]=Number[_0x2a9eb4(0x276)](_0x1651a7[_0x2a9eb4(0x358)]),this['_currentUsage']=Number[_0x2a9eb4(0x276)](_0x1651a7[_0x2a9eb4(0x1ce)]));}async['_startCalculationLimit'](_0x579af2){const _0x32484d=_0xce3cd0;var _0x5bc4eb,_0x4c9c37;const _0x2d784f=Date[_0x32484d(0x1f1)]();try{const _0x23c881=((_0x5bc4eb=this[_0x32484d(0x32b)][_0x32484d(0x310)](_0x2cb61c[_0x32484d(0x271)]))==null?void 0x0:_0x5bc4eb['startFormulaLimitUrl'])||_0x3d3bba,_0xedc653=(await this['_httpService'][_0x32484d(0x165)](_0x23c881,{'body':JSON[_0x32484d(0x221)]({'taskId':_0x579af2})}))['body'];if(((_0x4c9c37=_0xedc653[_0x32484d(0x1b1)])==null?void 0x0:_0x4c9c37['code'])!==_0x3f8266['OK'])return;this[_0x32484d(0x2eb)](_0xedc653[_0x32484d(0x1fd)],_0x2d784f);}catch(_0x2dc7b2){this[_0x32484d(0x22d)][_0x32484d(0x1b1)](_0x2dc7b2);}}async[_0xce3cd0(0x342)](_0x4a5adf){const _0x3fd688=_0xce3cd0;var _0x1515c4,_0x1a8834;const _0x23c77c=Date[_0x3fd688(0x1f1)]();try{const _0x3a716e=((_0x1515c4=this[_0x3fd688(0x32b)][_0x3fd688(0x310)](_0x2cb61c[_0x3fd688(0x271)]))==null?void 0x0:_0x1515c4[_0x3fd688(0x2d2)])||_0x5a8e9d,_0x2da31d=_0x4a5adf?_0x3a716e+_0x3fd688(0x197)+encodeURIComponent(_0x4a5adf):_0x3a716e,_0x409876=(await this[_0x3fd688(0x220)][_0x3fd688(0x3fa)](_0x2da31d))['body'];if(((_0x1a8834=_0x409876[_0x3fd688(0x1b1)])==null?void 0x0:_0x1a8834[_0x3fd688(0x216)])!==_0x3f8266['OK'])return;this[_0x3fd688(0x2eb)](_0x409876['limitInfo'],_0x23c77c);}catch(_0x6b797a){this[_0x3fd688(0x22d)][_0x3fd688(0x1b1)](_0x6b797a);}}async[_0xce3cd0(0x442)](_0x3c0ea4){const _0x3fb985=_0xce3cd0;var _0x3289a2,_0x3d9a8b;const _0x37ced9=Date[_0x3fb985(0x1f1)]();try{const _0x54822f=((_0x3289a2=this['_configService'][_0x3fb985(0x310)](_0x2cb61c[_0x3fb985(0x271)]))==null?void 0x0:_0x3289a2['releaseFormulaLimitUrl'])||_0x3266f8,_0x11d6c8=(await this['_httpService']['post'](_0x54822f,{'body':JSON['stringify']({'taskId':_0x3c0ea4})}))[_0x3fb985(0x17d)];if(((_0x3d9a8b=_0x11d6c8[_0x3fb985(0x1b1)])==null?void 0x0:_0x3d9a8b[_0x3fb985(0x216)])!==_0x3f8266['OK'])return;this[_0x3fb985(0x2eb)](_0x11d6c8['limitInfo'],_0x37ced9);}catch(_0x54af2b){this[_0x3fb985(0x22d)]['error'](_0x54af2b);}}['_checkCalculationAvailable'](){const _0x239e14=_0xce3cd0;return this[_0x239e14(0x355)]===0x0?!0x0:this[_0x239e14(0x355)]-this[_0x239e14(0x3cd)]>0x0;}['_clearPolling'](){const _0x127c00=_0xce3cd0;this['_pollingInterval']&&(clearTimeout(this['_pollingInterval']),this[_0x127c00(0x329)]=null);}[_0xce3cd0(0x1c1)](){const _0x1d1640=_0xce3cd0;this[_0x1d1640(0x287)][_0x1d1640(0x1b8)]({'content':this[_0x1d1640(0x3fb)]['t'](_0x1d1640(0x1bb)),'type':_0x599761[_0x1d1640(0x437)][_0x1d1640(0x232)]});}[_0xce3cd0(0x15f)](_0x19a84d){const _0x51e345=_0xce3cd0;for(const _0xc45b9c of _0x19a84d){const {unitId:_0x394a30,sheetId:_0x3c2205,range:_0x5d661d}=_0xc45b9c,_0x546d5d=this['_univerInstanceService'][_0x51e345(0x158)](_0x394a30);if(!_0x546d5d)continue;const _0x13e930=_0x546d5d[_0x51e345(0x411)](_0x3c2205);if(!_0x13e930)continue;const _0x24a26a=_0x13e930[_0x51e345(0x27d)]();for(let _0x35cf53=_0x5d661d[_0x51e345(0x1ad)];_0x35cf53<=_0x5d661d[_0x51e345(0x361)];_0x35cf53++)for(let _0x19f6a4=_0x5d661d['startColumn'];_0x19f6a4<=_0x5d661d['endColumn'];_0x19f6a4++){const _0x57873e=_0x24a26a[_0x51e345(0x2a1)](_0x35cf53,_0x19f6a4);if(_0x57873e&&(_0x295c8f[_0x51e345(0x44f)](_0x57873e['f'])||_0x295c8f[_0x51e345(0x300)](_0x57873e['si'])))return!0x0;}}return!0x1;}};_0x42b753=_0x1206dd([_0x4181cf(0x0,_0x295c8f[_0xce3cd0(0x2fb)](_0x189b11[_0xce3cd0(0x1ab)])),_0x4181cf(0x1,_0x295c8f[_0xce3cd0(0x2f7)]),_0x4181cf(0x2,_0x295c8f[_0xce3cd0(0x3ec)]),_0x4181cf(0x3,_0x295c8f[_0xce3cd0(0x2fb)](_0x17ac2f[_0xce3cd0(0x440)])),_0x4181cf(0x4,_0x295c8f['IUniverInstanceService']),_0x4181cf(0x5,_0x295c8f[_0xce3cd0(0x29b)]),_0x4181cf(0x6,_0x295c8f['Inject'](_0x295c8f[_0xce3cd0(0x237)]))],_0x42b753);var _0x7e89c6=Object[_0xce3cd0(0x3e7)],_0x33ad81=(_0x3caf23,_0x81fbfc,_0x20def8,_0x41f4b1)=>{for(var _0x16ab70=_0x41f4b1>0x1?void 0x0:_0x41f4b1?_0x7e89c6(_0x81fbfc,_0x20def8):_0x81fbfc,_0x26b1cc=_0x3caf23['length']-0x1,_0x393cc3;_0x26b1cc>=0x0;_0x26b1cc--)(_0x393cc3=_0x3caf23[_0x26b1cc])&&(_0x16ab70=_0x393cc3(_0x16ab70)||_0x16ab70);return _0x16ab70;},_0x531a52=(_0xe47081,_0x5f1c39)=>(_0x3aa668,_0x2d29b6)=>_0x5f1c39(_0x3aa668,_0x2d29b6,_0xe47081);let _0x449712=class extends _0x295c8f[_0xce3cd0(0x1b9)]{constructor(_0x112f8f,_0x44a68f,_0x130e14){const _0x4955b9=_0xce3cd0;super(),_0xef452e(this,_0x4955b9(0x443),new Map()),_0xef452e(this,_0x4955b9(0x3ae),new Map()),_0xef452e(this,_0x4955b9(0x347),!0x1),(this['_configService']=_0x112f8f,this[_0x4955b9(0x316)]=_0x44a68f,this[_0x4955b9(0x1a8)]=_0x130e14);}[_0xce3cd0(0x1a3)](){const _0x1ae716=_0xce3cd0;this[_0x1ae716(0x347)]=!0x0;}[_0xce3cd0(0x1ff)](){const _0x58a060=_0xce3cd0;this[_0x58a060(0x347)]=!0x1;}get[_0xce3cd0(0x19e)](){const _0x46d760=_0xce3cd0;return this[_0x46d760(0x3ae)];}['dispose'](){const _0x3ee0ce=_0xce3cd0;this[_0x3ee0ce(0x1ed)]()[_0x3ee0ce(0x1af)](()=>super[_0x3ee0ce(0x2a7)]());}async[_0xce3cd0(0x2ad)](_0x1fb55f){const _0x335511=_0xce3cd0;return this['_disabled']?null:this[_0x335511(0x316)][_0x335511(0x364)](_0x2cb61c[_0x335511(0x1d7)](_0x1fb55f));}async[_0xce3cd0(0x371)](_0x28e6dd,_0x6941c0){const _0x1319c1=_0xce3cd0;return!!this[_0x1319c1(0x316)][_0x1319c1(0x183)](_0x28e6dd,_0x6941c0);}[_0xce3cd0(0x38c)](_0x8afd5f,_0x3404a5,_0x10e1ad,_0x127577){const _0x49c8d2=_0xce3cd0,_0x3a5876=this[_0x49c8d2(0x1a8)][_0x49c8d2(0x2ef)](_0x8afd5f);this['_cachedData'][_0x49c8d2(0x427)](_0x8afd5f,{'unitID':_0x8afd5f,'type':_0x3404a5,'awaitingChangeset':_0x10e1ad,'mutations':_0x127577,'rev':_0x3a5876}),this[_0x49c8d2(0x3ae)][_0x49c8d2(0x2d5)](_0x8afd5f)||this[_0x49c8d2(0x44e)](_0x8afd5f);}[_0xce3cd0(0x44e)](_0x26fc77){const _0xbe3366=_0xce3cd0,_0x1dd918=this[_0xbe3366(0x303)]();_0x1dd918===0x0?this[_0xbe3366(0x290)](_0x26fc77):this['_saveTaskMap']['set'](_0x26fc77,setTimeout(()=>this[_0xbe3366(0x290)](_0x26fc77),_0x1dd918));}[_0xce3cd0(0x303)](){const _0x1bc32b=_0xce3cd0;var _0x33cf27;return(_0x33cf27=this[_0x1bc32b(0x32b)][_0x1bc32b(0x310)](_0x2cb61c[_0x1bc32b(0x380)]))!=null?_0x33cf27:_0x2cb61c['LOCAL_CACHE_INTERVAL'];}[_0xce3cd0(0x290)](_0xe285cf){const _0x5dbc30=_0xce3cd0,_0x2c6ada=this[_0x5dbc30(0x3ae)][_0x5dbc30(0x3fa)](_0xe285cf);return _0x2c6ada!==void 0x0&&window[_0x5dbc30(0x38f)](_0x2c6ada),this[_0x5dbc30(0x316)][_0x5dbc30(0x183)](_0x2cb61c['getLocalCacheKey'](_0xe285cf),this[_0x5dbc30(0x443)][_0x5dbc30(0x3fa)](_0xe285cf))[_0x5dbc30(0x1af)](()=>this[_0x5dbc30(0x3ae)][_0x5dbc30(0x434)](_0xe285cf));}async[_0xce3cd0(0x1ed)](){const _0x3a6b6b=_0xce3cd0,_0x584c54=[];this[_0x3a6b6b(0x3ae)]['forEach']((_0x425559,_0x7d6dfd)=>{const _0x379969=_0x3a6b6b;window[_0x379969(0x38f)](_0x425559),_0x584c54[_0x379969(0x44a)](this[_0x379969(0x290)](_0x7d6dfd)['then'](()=>{const _0x47b30d=_0x379969;this['_saveTaskMap'][_0x47b30d(0x434)](_0x7d6dfd);}));}),await Promise[_0x3a6b6b(0x209)](_0x584c54);}};_0x449712=_0x33ad81([_0x531a52(0x0,_0x295c8f[_0xce3cd0(0x3ec)]),_0x531a52(0x1,_0x295c8f[_0xce3cd0(0x159)]),_0x531a52(0x2,_0x295c8f[_0xce3cd0(0x2fb)](_0x143a87[_0xce3cd0(0x3c2)]))],_0x449712);class _0x342226 extends _0x295c8f[_0xce3cd0(0x1e5)]{constructor(){const _0x5f5660=_0xce3cd0;super(),_0xef452e(this,_0x5f5660(0x2e1)),this[_0x5f5660(0x2e1)]=_0x58c226[_0x5f5660(0x41b)](window,_0x5f5660(0x3e5))[_0x5f5660(0x2de)](_0x58c226['takeUntil'](this[_0x5f5660(0x269)]),_0x58c226[_0x5f5660(0x186)](0x1),_0x58c226[_0x5f5660(0x447)](void 0x0));}['setParam'](_0x20ca5f,_0x3e2cfc,_0x42d436=!0x1){const _0x4231df=_0xce3cd0,_0xe6e819=new URL(window[_0x4231df(0x207)][_0x4231df(0x356)]);_0xe6e819['searchParams'][_0x4231df(0x427)](_0x20ca5f,_0x3e2cfc),_0x42d436?window[_0x4231df(0x39c)][_0x4231df(0x349)]('','',_0xe6e819[_0x4231df(0x18c)]()):window[_0x4231df(0x39c)][_0x4231df(0x1b7)]('','',_0xe6e819[_0x4231df(0x18c)]());}[_0xce3cd0(0x1db)](_0x20243e,_0x343be1=!0x1){const _0x383f60=_0xce3cd0,_0x123858=new URL(window[_0x383f60(0x207)][_0x383f60(0x356)]);_0x123858[_0x383f60(0x317)]['delete'](_0x20243e),_0x343be1?window[_0x383f60(0x39c)]['replaceState']('','',_0x123858[_0x383f60(0x18c)]()):window[_0x383f60(0x39c)]['pushState']('','',_0x123858[_0x383f60(0x18c)]());}[_0xce3cd0(0x34d)](_0x1e15c3){const _0x38597e=_0xce3cd0;var _0x375c73;return(_0x375c73=new URL(window[_0x38597e(0x207)][_0x38597e(0x356)])['searchParams']['get'](_0x1e15c3))!=null?_0x375c73:void 0x0;}}var _0x189c15=Object[_0xce3cd0(0x295)],_0x210107=Object['getOwnPropertyDescriptor'],_0x504ae8=(_0x17a1bd,_0x4cba49,_0x263704)=>_0x4cba49 in _0x17a1bd?_0x189c15(_0x17a1bd,_0x4cba49,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x263704}):_0x17a1bd[_0x4cba49]=_0x263704,_0x1841ca=(_0x4a148f,_0x482303,_0x4a86a5,_0x38ab40)=>{const _0x4e818a=_0xce3cd0;for(var _0x4d0c9b=_0x38ab40>0x1?void 0x0:_0x38ab40?_0x210107(_0x482303,_0x4a86a5):_0x482303,_0x373c1d=_0x4a148f[_0x4e818a(0x37b)]-0x1,_0x5ab742;_0x373c1d>=0x0;_0x373c1d--)(_0x5ab742=_0x4a148f[_0x373c1d])&&(_0x4d0c9b=_0x5ab742(_0x4d0c9b)||_0x4d0c9b);return _0x4d0c9b;},_0x5e9c2e=(_0x114ea8,_0x571179)=>(_0x77567a,_0x53906d)=>_0x571179(_0x77567a,_0x53906d,_0x114ea8),_0x170801=(_0x54e9a0,_0x3b3456,_0x36ecfb)=>_0x504ae8(_0x54e9a0,_0x3b3456+'',_0x36ecfb);const _0x473e0c=_0xce3cd0(0x344);_0x38ae7f['UniverCollaborationClientUIPlugin']=class extends _0x295c8f[_0xce3cd0(0x2d6)]{constructor(_0x32b2e4=_0xf2bce4,_0x14adb1,_0x2c859a,_0x5ee614){const _0x41d5cc=_0xce3cd0;super(),this[_0x41d5cc(0x27f)]=_0x32b2e4,this[_0x41d5cc(0x3a8)]=_0x14adb1,this[_0x41d5cc(0x1f6)]=_0x2c859a,this[_0x41d5cc(0x32b)]=_0x5ee614;const {..._0x546e01}=_0x295c8f['merge']({},_0xf2bce4,this[_0x41d5cc(0x27f)]);this['_configService'][_0x41d5cc(0x218)](_0x1e1ed6,_0x546e01);}[_0xce3cd0(0x1a1)](){const _0x39fc6a=_0xce3cd0;this[_0x39fc6a(0x2fd)](),this[_0x39fc6a(0x184)]();}[_0xce3cd0(0x393)](){const _0xacd3ba=_0xce3cd0;this[_0xacd3ba(0x30c)]();}[_0xce3cd0(0x2fd)](){const _0x4646ff=_0xce3cd0;var _0x514729;const _0x2dbdc2=[[_0x12f6f6],[_0x42b753],[_0x5af825],[_0x13d4ed],[_0x214e70],[_0x109a2a],[_0x4d5ea0,{'useClass':_0x342226}],[_0x17ac2f[_0x4646ff(0x19a)],{'useClass':_0x17ac2f[_0x4646ff(0x25c)]}],[_0x2cb61c[_0x4646ff(0x21e)],{'useClass':_0x449712}],[_0x38ae7f[_0x4646ff(0x22e)]],[_0x9f9f49],[_0x220b52],[_0x150b36],[_0x2605d0],[_0x38ae7f[_0x4646ff(0x3a3)]]];this[_0x4646ff(0x27f)][_0x4646ff(0x2f3)]&&_0x2dbdc2[_0x4646ff(0x44a)]([_0x39c89f]),_0x295c8f[_0x4646ff(0x266)](this[_0x4646ff(0x1f6)],_0x295c8f[_0x4646ff(0x289)](_0x2dbdc2,(_0x514729=this['_config'])==null?void 0x0:_0x514729[_0x4646ff(0x435)]));}['_registerRenderDependencies'](){const _0x927a76=_0xce3cd0;this[_0x927a76(0x43c)](this['_renderManagerService'][_0x927a76(0x39b)](_0x295c8f[_0x927a76(0x1f4)][_0x927a76(0x308)],[_0x53604e])),this[_0x927a76(0x43c)](this[_0x927a76(0x3a8)][_0x927a76(0x39b)](_0x295c8f[_0x927a76(0x1f4)][_0x927a76(0x441)],[_0x883637]));}[_0xce3cd0(0x184)](){const _0x3b99a2=_0xce3cd0;_0x295c8f[_0x3b99a2(0x2e2)](this[_0x3b99a2(0x1f6)],[[_0x150b36],[_0x38ae7f[_0x3b99a2(0x22e)]],[_0x9f9f49],[_0x220b52],[_0x38ae7f[_0x3b99a2(0x3a3)]],[_0x42b753]]),this[_0x3b99a2(0x27f)][_0x3b99a2(0x2f3)]&&_0x295c8f['touchDependencies'](this[_0x3b99a2(0x1f6)],[[_0x39c89f]]);}},_0x170801(_0x38ae7f['UniverCollaborationClientUIPlugin'],_0xce3cd0(0x26e),_0x473e0c),_0x38ae7f[_0xce3cd0(0x3a7)]=_0x1841ca([_0x295c8f['DependentOn'](_0x2cb61c[_0xce3cd0(0x3bb)]),_0x5e9c2e(0x1,_0x8db91b[_0xce3cd0(0x455)]),_0x5e9c2e(0x2,_0x295c8f[_0xce3cd0(0x2fb)](_0x295c8f[_0xce3cd0(0x405)])),_0x5e9c2e(0x3,_0x295c8f[_0xce3cd0(0x3ec)])],_0x38ae7f['UniverCollaborationClientUIPlugin']);var _0x5c5821=Object[_0xce3cd0(0x3e7)],_0x262b3a=(_0x570aa9,_0x12130f,_0x35cdde,_0xe8f31c)=>{const _0x3847fa=_0xce3cd0;for(var _0x16b390=_0xe8f31c>0x1?void 0x0:_0xe8f31c?_0x5c5821(_0x12130f,_0x35cdde):_0x12130f,_0x154dab=_0x570aa9[_0x3847fa(0x37b)]-0x1,_0x40e0fd;_0x154dab>=0x0;_0x154dab--)(_0x40e0fd=_0x570aa9[_0x154dab])&&(_0x16b390=_0x40e0fd(_0x16b390)||_0x16b390);return _0x16b390;},_0x442ea6=(_0x35899d,_0x1cf839)=>(_0x4d72c4,_0x325fe8)=>_0x1cf839(_0x4d72c4,_0x325fe8,_0x35899d);_0x38ae7f[_0xce3cd0(0x35f)]=class extends _0x2cb61c[_0xce3cd0(0x42d)]{constructor(_0x189a3e,_0x4d61be,_0x959c4e,_0x1ddb9a,_0x1cb8de){super(_0x189a3e,_0x4d61be,_0x959c4e,_0x1ddb9a,_0x1cb8de);}async[_0xce3cd0(0x327)](_0x2690cd){const _0x9c3ad=_0xce3cd0,_0x15e648=await this[_0x9c3ad(0x2a4)](),_0x3178c6=this[_0x9c3ad(0x391)](_0x2690cd,_0x15e648);return this['_doCreateSocket'](_0x3178c6);}[_0xce3cd0(0x391)](_0x149f97,_0x234495){const _0x4bae79=_0xce3cd0,_0x3eef9c=typeof window>'u'?new URL(_0x149f97):new URL(_0x149f97,window['location']['origin']);_0x3eef9c[_0x4bae79(0x317)][_0x4bae79(0x427)]('sessionTicket',_0x234495);const _0x2796ab=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4bae79(0x207)]['search']);return _0x2796ab['get'](_0x4bae79(0x3d5))&&_0x3eef9c[_0x4bae79(0x317)]['set'](_0x4bae79(0x3d5),_0x2796ab[_0x4bae79(0x3fa)](_0x4bae79(0x3d5))),_0x3eef9c[_0x4bae79(0x18c)]();}async[_0xce3cd0(0x2a4)](){const _0x1ffeba=_0xce3cd0;var _0x5437e9,_0x92557d,_0x30e5ad;const _0x4b26e8=this[_0x1ffeba(0x32b)][_0x1ffeba(0x310)](_0x2cb61c[_0x1ffeba(0x271)]),_0x1aef92=(_0x5437e9=_0x4b26e8==null?void 0x0:_0x4b26e8[_0x1ffeba(0x30b)])!=null?_0x5437e9:_0x2cb61c[_0x1ffeba(0x397)];return(_0x30e5ad=(_0x92557d=(await this[_0x1ffeba(0x220)][_0x1ffeba(0x3fa)](_0x1aef92,{'headers':{'Content-Type':_0x1ffeba(0x3a4)}}))['body'])==null?void 0x0:_0x92557d[_0x1ffeba(0x2c3)])!=null?_0x30e5ad:'';}},_0x38ae7f[_0xce3cd0(0x35f)]=_0x262b3a([_0x442ea6(0x0,_0x295c8f['Inject'](_0x295c8f['Injector'])),_0x442ea6(0x1,_0x295c8f[_0xce3cd0(0x2fb)](_0x17ac2f[_0xce3cd0(0x440)])),_0x442ea6(0x2,_0x295c8f[_0xce3cd0(0x3ec)]),_0x442ea6(0x3,_0x295c8f['ILogService']),_0x442ea6(0x4,_0x143a87['ISnapshotServerService'])],_0x38ae7f[_0xce3cd0(0x35f)]);var _0x159f39=Object[_0xce3cd0(0x3e7)],_0x23e401=(_0x1ee8d6,_0x139138,_0x5451ab,_0x3e5aba)=>{for(var _0x197aa=_0x3e5aba>0x1?void 0x0:_0x3e5aba?_0x159f39(_0x139138,_0x5451ab):_0x139138,_0x56013e=_0x1ee8d6['length']-0x1,_0x3dc2d6;_0x56013e>=0x0;_0x56013e--)(_0x3dc2d6=_0x1ee8d6[_0x56013e])&&(_0x197aa=_0x3dc2d6(_0x197aa)||_0x197aa);return _0x197aa;},_0x46d7ee=(_0x5499eb,_0x53c92b)=>(_0x2f6f53,_0x383e1f)=>_0x53c92b(_0x2f6f53,_0x383e1f,_0x5499eb);_0x38ae7f[_0xce3cd0(0x3b7)]=class extends _0x295c8f['Disposable']{constructor(_0xdc00b3,_0x5e2e57,_0x57bd4f){super(),this['_instanceService']=_0xdc00b3,this['_httpService']=_0x5e2e57,this['_configService']=_0x57bd4f;}async[_0xce3cd0(0x3d9)](_0x5cce66,_0x5b4cf9,_0x35e7a2,..._0x208282){const _0x3ee3a1=_0xce3cd0;var _0x1f6d14,_0x63d543,_0x116cfa,_0x45ecee;const _0x3ae3b2=this[_0x3ee3a1(0x301)][_0x3ee3a1(0x438)]();if(!_0x3ae3b2)throw new Error(_0x3ee3a1(0x40b));const _0x4af05d=((_0x1f6d14=this[_0x3ee3a1(0x32b)][_0x3ee3a1(0x310)](_0x2cb61c[_0x3ee3a1(0x2af)]))!=null?_0x1f6d14:_0x2cb61c['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x5cce66+_0x3ee3a1(0x22c)+_0x5b4cf9,_0x516992=new URL(window[_0x3ee3a1(0x207)][_0x3ee3a1(0x356)]),_0x1b1413={'scriptId':_0x5cce66,'runId':(_0x63d543=_0x516992[_0x3ee3a1(0x317)][_0x3ee3a1(0x3fa)](_0x3ee3a1(0x3d5)))!=null?_0x63d543:'','function':_0x5b4cf9,'unitId':_0x3ae3b2[_0x3ee3a1(0x41d)](),'argsOfFunction':JSON[_0x3ee3a1(0x221)](_0x208282),'invokeId':(_0x116cfa=_0x35e7a2['invokeId'])!=null?_0x116cfa:'','executionId':(_0x45ecee=_0x35e7a2[_0x3ee3a1(0x2fe)])!=null?_0x45ecee:''};try{const _0x174a48=await this[_0x3ee3a1(0x220)][_0x3ee3a1(0x165)](_0x4af05d,{'body':_0x1b1413});return _0x174a48[_0x3ee3a1(0x17d)][_0x3ee3a1(0x1b1)]&&_0x174a48[_0x3ee3a1(0x17d)]['error'][_0x3ee3a1(0x216)]!==_0x3f8266['OK']?_0x3ee3a1(0x293):_0x174a48[_0x3ee3a1(0x17d)][_0x3ee3a1(0x2ea)];}catch{return _0x3ee3a1(0x293);}}},_0x38ae7f['RemoteUniscriptService']=_0x23e401([_0x46d7ee(0x0,_0x295c8f[_0xce3cd0(0x16f)]),_0x46d7ee(0x1,_0x295c8f[_0xce3cd0(0x2fb)](_0x17ac2f[_0xce3cd0(0x440)])),_0x46d7ee(0x2,_0x295c8f['IConfigService'])],_0x38ae7f['RemoteUniscriptService']);const _0x10d2cb=0x7530,_0x1c9a75=_0xce3cd0(0x3cf);class _0x370626 extends _0x295c8f['Disposable']{constructor(){const _0x22375a=_0xce3cd0;super(),_0xef452e(this,_0x22375a(0x417),_0x295c8f[_0x22375a(0x17e)]()),_0xef452e(this,'_selfUnitIDs',new Set()),_0xef452e(this,_0x22375a(0x3e8),new Map()),_0xef452e(this,_0x22375a(0x292),null),_0xef452e(this,'_clearOtherTimers',new Map()),_0xef452e(this,_0x22375a(0x18f),new Map()),this[_0x22375a(0x30d)]();}[_0xce3cd0(0x2a7)](){const _0xa3b1db=_0xce3cd0;super[_0xa3b1db(0x2a7)](),this[_0xa3b1db(0x2b9)][_0xa3b1db(0x2e5)]((_0x106254,_0x790c78)=>this[_0xa3b1db(0x322)](_0x790c78)),this[_0xa3b1db(0x292)]&&window[_0xa3b1db(0x296)](this[_0xa3b1db(0x292)]);}['getUnitStatus$'](_0x1cbc68){const _0x67c42b=_0xce3cd0;return this['_ensureSubject'](_0x1cbc68)['pipe'](_0x58c226[_0x67c42b(0x3f4)]());}[_0xce3cd0(0x32e)](_0x3f9cc1){const _0x5220dd=_0xce3cd0;this[_0x5220dd(0x16a)][_0x5220dd(0x348)]===0x0&&this[_0x5220dd(0x379)](),this[_0x5220dd(0x16a)][_0x5220dd(0x3f9)](_0x3f9cc1),this['_send']({'type':0x0,'memberID':this[_0x5220dd(0x417)],'unitIDs':[_0x3f9cc1],'isForwarded':!0x1});}[_0xce3cd0(0x231)](_0x22044b){const _0x25ed5a=_0xce3cd0;this[_0x25ed5a(0x16a)][_0x25ed5a(0x434)](_0x22044b),this['_selfUnitIDs'][_0x25ed5a(0x348)]===0x0&&this['_heartbeatTimer']&&window[_0x25ed5a(0x296)](this['_heartbeatTimer']);}[_0xce3cd0(0x30d)](){const _0x57d4b6=_0xce3cd0;this[_0x57d4b6(0x43c)](_0x295c8f[_0x57d4b6(0x239)](_0x58c226[_0x57d4b6(0x41b)](window,_0x57d4b6(0x314))[_0x57d4b6(0x17f)](_0x1bac1f=>{const _0x3d8c1c=_0x57d4b6;if(_0x1bac1f[_0x3d8c1c(0x1f8)]!==_0x1c9a75||!_0x1bac1f[_0x3d8c1c(0x1f5)])return;const _0x5d45ae=JSON[_0x3d8c1c(0x2b1)](_0x1bac1f[_0x3d8c1c(0x1f5)]);this[_0x3d8c1c(0x30a)](_0x5d45ae);}))),window[_0x57d4b6(0x2e4)]('unload',()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x57d4b6(0x264)](this[_0x57d4b6(0x16a)])}));}['_handleEvent'](_0x953116){const _0x16934e=_0xce3cd0;switch(_0x953116[_0x16934e(0x273)]){case 0x0:this['_handleJoinEvent'](_0x953116);break;case 0x1:this[_0x16934e(0x313)](_0x953116);break;case 0x2:this['_handleHeartbeatEvent'](_0x953116);break;}}[_0xce3cd0(0x3a6)](_0x251d69){const _0x1cd04f=_0xce3cd0,{unitIDs:_0x44f337,memberID:_0x1c5232,isForwarded:_0x3fdcca}=_0x251d69;_0x44f337[_0x1cd04f(0x2e5)](_0x1a5556=>{const _0x313f64=_0x1cd04f;if(!_0x3fdcca&&this['_unitOnClients'][_0x313f64(0x2d5)](_0x1a5556)&&this[_0x313f64(0x176)](_0x1a5556)[_0x313f64(0x173)](_0x2cb61c['UnitStatus'][_0x313f64(0x178)]),!this[_0x313f64(0x3e8)]['has'](_0x1a5556)||!this['_unitOnClients'][_0x313f64(0x3fa)](_0x1a5556)['has'](_0x1c5232)){const _0x4d1467=this[_0x313f64(0x3e8)][_0x313f64(0x3fa)](_0x1a5556)||new Set();_0x4d1467[_0x313f64(0x3f9)](_0x1c5232),this[_0x313f64(0x3e8)][_0x313f64(0x427)](_0x1a5556,_0x4d1467),this[_0x313f64(0x363)](_0x1c5232);}}),_0x3fdcca||this[_0x1cd04f(0x320)]({'type':0x0,'memberID':this[_0x1cd04f(0x417)],'unitIDs':[...this[_0x1cd04f(0x16a)]],'isForwarded':!0x0});}[_0xce3cd0(0x363)](_0xfd213f){const _0x275ac2=_0xce3cd0;this[_0x275ac2(0x322)](_0xfd213f);const _0x5a6294=window[_0x275ac2(0x454)](()=>{const _0x55bfa8=_0x275ac2;this[_0x55bfa8(0x3e8)][_0x55bfa8(0x2e5)](_0x3ef0e5=>{const _0x1f9854=_0x55bfa8;_0x3ef0e5[_0x1f9854(0x434)](_0xfd213f);});},_0x10d2cb*0x2);this[_0x275ac2(0x2b9)][_0x275ac2(0x427)](_0xfd213f,_0x5a6294);}[_0xce3cd0(0x322)](_0xb1a272){const _0x501b7d=_0xce3cd0;if(this[_0x501b7d(0x2b9)]['has'](_0xb1a272)){const _0x2f6e92=this['_clearOtherTimers'][_0x501b7d(0x3fa)](_0xb1a272);_0x2f6e92&&window['clearTimeout'](_0x2f6e92),this[_0x501b7d(0x2b9)][_0x501b7d(0x427)](_0xb1a272,null);}}[_0xce3cd0(0x313)](_0x453a8d){const _0x621650=_0xce3cd0,{memberID:_0x3824be,unitIDs:_0x223c24}=_0x453a8d;_0x223c24['forEach'](_0x4767e6=>{const _0x32d60b=_0x2541;var _0x93098c;const _0x491db2=this['_unitOnClients']['get'](_0x4767e6);_0x491db2&&(_0x491db2['delete'](_0x3824be),(_0x93098c=this[_0x32d60b(0x176)](_0x4767e6))==null||_0x93098c[_0x32d60b(0x173)](_0x491db2[_0x32d60b(0x348)]===0x0?_0x2cb61c[_0x32d60b(0x428)][_0x32d60b(0x24f)]:_0x2cb61c['UnitStatus'][_0x32d60b(0x178)]));}),this[_0x621650(0x322)](_0x3824be);}['_handleHeartbeatEvent'](_0x37d3e4){const _0xe1748c=_0xce3cd0;this[_0xe1748c(0x363)](_0x37d3e4[_0xe1748c(0x3c4)]);}[_0xce3cd0(0x320)](_0x39772b){const _0x2d168b=_0xce3cd0;localStorage[_0x2d168b(0x183)](_0x1c9a75,JSON[_0x2d168b(0x221)](_0x39772b));}[_0xce3cd0(0x379)](){const _0xc58489=_0xce3cd0;this[_0xc58489(0x292)]=window[_0xc58489(0x3a1)](()=>{const _0x1977e4=_0xc58489;this[_0x1977e4(0x320)]({'type':0x2,'memberID':this['_id']});},_0x10d2cb);}['_ensureSubject'](_0x35d8b4){const _0x2f4aeb=_0xce3cd0;return this[_0x2f4aeb(0x18f)][_0x2f4aeb(0x2d5)](_0x35d8b4)||this[_0x2f4aeb(0x18f)][_0x2f4aeb(0x427)](_0x35d8b4,new _0x58c226[(_0x2f4aeb(0x43b))](_0x2cb61c['UnitStatus'][_0x2f4aeb(0x24f)])),this['_unitStatus'][_0x2f4aeb(0x3fa)](_0x35d8b4);}}_0x38ae7f['IURLService']=_0x4d5ea0,_0x38ae7f[_0xce3cd0(0x261)]=_0x3ee6ec,_0x38ae7f[_0xce3cd0(0x404)]=_0x370626,_0x38ae7f[_0xce3cd0(0x1d5)]=_0x342226,Object[_0xce3cd0(0x295)](_0x38ae7f,Symbol[_0xce3cd0(0x33e)],{'value':_0xce3cd0(0x360)});}));
|
|
1
|
+
function _0x1b11(_0x4bc4a6,_0x461449){_0x4bc4a6=_0x4bc4a6-0xea;const _0x5942b5=_0x5942();let _0x1b1133=_0x5942b5[_0x4bc4a6];return _0x1b1133;}(function(_0x41e4ec,_0x2f76af){const _0x25169b=_0x1b11,_0x54c780=_0x41e4ec();while(!![]){try{const _0x9af894=-parseInt(_0x25169b(0x2d3))/0x1+-parseInt(_0x25169b(0x178))/0x2*(-parseInt(_0x25169b(0x383))/0x3)+-parseInt(_0x25169b(0x19e))/0x4*(-parseInt(_0x25169b(0x31d))/0x5)+-parseInt(_0x25169b(0x346))/0x6+parseInt(_0x25169b(0x1f1))/0x7+parseInt(_0x25169b(0x282))/0x8*(parseInt(_0x25169b(0x316))/0x9)+-parseInt(_0x25169b(0x371))/0xa;if(_0x9af894===_0x2f76af)break;else _0x54c780['push'](_0x54c780['shift']());}catch(_0x20c881){_0x54c780['push'](_0x54c780['shift']());}}}(_0x5942,0xeac84),function(_0x2444a8,_0x10d435){const _0x434e5f=_0x1b11;typeof exports=='object'&&typeof module<'u'?_0x10d435(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x434e5f(0x23d)&&define[_0x434e5f(0x389)]?define(['exports',_0x434e5f(0x25f),_0x434e5f(0x267),_0x434e5f(0x2f1),'@univerjs/ui',_0x434e5f(0xf4),_0x434e5f(0x170),_0x434e5f(0x114),_0x434e5f(0x205),'@univerjs/sheets',_0x434e5f(0x1ae),_0x434e5f(0x2dd),'@univerjs/docs-ui',_0x434e5f(0xf7),'@univerjs-pro/collaboration','@univerjs/docs','@univerjs/engine-formula',_0x434e5f(0x1b1),_0x434e5f(0x25b)],_0x10d435):(_0x2444a8=typeof globalThis<'u'?globalThis:_0x2444a8||self,_0x10d435(_0x2444a8[_0x434e5f(0x3b4)]={},_0x2444a8[_0x434e5f(0x204)],_0x2444a8['UniverProCollaborationClient'],_0x2444a8['UniverCore'],_0x2444a8[_0x434e5f(0x327)],_0x2444a8[_0x434e5f(0xf4)],_0x2444a8['UniverDesign'],_0x2444a8['React'],_0x2444a8['UniverRpc'],_0x2444a8[_0x434e5f(0x303)],_0x2444a8[_0x434e5f(0xed)],_0x2444a8['UniverNetwork'],_0x2444a8[_0x434e5f(0x340)],_0x2444a8[_0x434e5f(0x2d4)],_0x2444a8[_0x434e5f(0x3c6)],_0x2444a8[_0x434e5f(0x171)],_0x2444a8[_0x434e5f(0x118)],_0x2444a8[_0x434e5f(0xf4)][_0x434e5f(0x2e8)],_0x2444a8[_0x434e5f(0x283)]));}(this,function(_0x279e32,_0x54d5e1,_0x44b518,_0x162031,_0x198137,_0xe327d9,_0x3fb0c6,_0x5052d2,_0x4285c8,_0x3f123f,_0x433081,_0x1a6c2d,_0x74e6be,_0x3ae936,_0x4cd710,_0x47f67f,_0xf4950,_0x57b5b5,_0x9b001c){'use strict';const _0x477bc3=_0x1b11;var _0x466ec5=Object[_0x477bc3(0x2e2)],_0x35e16b=(_0x326c08,_0x5771ad,_0x1cc577)=>_0x5771ad in _0x326c08?_0x466ec5(_0x326c08,_0x5771ad,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1cc577}):_0x326c08[_0x5771ad]=_0x1cc577,_0x387a01=(_0x335765,_0x3db743,_0x590ce7)=>_0x35e16b(_0x335765,typeof _0x3db743!=_0x477bc3(0x2c8)?_0x3db743+'':_0x3db743,_0x590ce7);function _0x1f6f00({ref:_0x35c15d,..._0x23899f}){const _0x7a8a2d=_0x477bc3,{icon:_0x39d060,id:_0x2f4805,className:_0xe39db5,extend:_0x3fdc21,..._0x5a4eee}=_0x23899f,_0x6ccf5d=(_0x7a8a2d(0x34e)+_0x2f4805+'\x20'+(_0xe39db5||''))['trim'](),_0x289461=_0x5052d2[_0x7a8a2d(0x13a)]('_'+_0x3136ff());return _0x58c339(_0x39d060,''+_0x2f4805,{'defIds':_0x39d060[_0x7a8a2d(0x12c)],'idSuffix':_0x289461[_0x7a8a2d(0x22e)]},{'ref':_0x35c15d,'className':_0x6ccf5d,..._0x5a4eee},_0x3fdc21);}function _0x58c339(_0xed048,_0x20f6c9,_0xcf8ace,_0xb6605a,_0x4cbebd){const _0x132e23=_0x477bc3;return _0x5052d2[_0x132e23(0x14f)](_0xed048[_0x132e23(0x3cb)],{'key':_0x20f6c9,..._0x213258(_0xed048,_0xcf8ace,_0x4cbebd),..._0xb6605a},(_0x56ecfc(_0xed048,_0xcf8ace)[_0x132e23(0x35d)]||[])[_0x132e23(0x239)]((_0x13b362,_0x3aabb)=>_0x58c339(_0x13b362,_0x20f6c9+'-'+_0xed048[_0x132e23(0x3cb)]+'-'+_0x3aabb,_0xcf8ace,void 0x0,_0x4cbebd)));}function _0x213258(_0x2c3fb4,_0x46cfab,_0xf98cc5){const _0x3eac24=_0x477bc3,_0x2de2d1={..._0x2c3fb4[_0x3eac24(0x2fb)]};_0xf98cc5!=null&&_0xf98cc5[_0x3eac24(0x223)]&&_0x2de2d1[_0x3eac24(0x368)]===_0x3eac24(0x223)&&(_0x2de2d1[_0x3eac24(0x368)]=_0xf98cc5[_0x3eac24(0x223)]),_0x2c3fb4['tag']===_0x3eac24(0xff)&&_0x2de2d1['id']&&(_0x2de2d1['id']=_0x2de2d1['id']+_0x46cfab[_0x3eac24(0x393)]),Object['entries'](_0x2de2d1)[_0x3eac24(0x3c7)](([_0x50f864,_0x478761])=>{const _0x58cbb1=_0x3eac24;_0x50f864===_0x58cbb1(0xff)&&typeof _0x478761==_0x58cbb1(0x1cb)&&(_0x2de2d1[_0x50f864]=_0x478761[_0x58cbb1(0x2e1)](/url\(#(.*)\)/,_0x58cbb1(0x264)+_0x46cfab[_0x58cbb1(0x393)]+')'));});const {defIds:_0x413341}=_0x46cfab;return!_0x413341||_0x413341[_0x3eac24(0x215)]===0x0||(_0x2c3fb4[_0x3eac24(0x3cb)]===_0x3eac24(0x121)&&_0x2de2d1[_0x3eac24(0x29a)]&&(_0x2de2d1['xlink:href']=_0x2de2d1[_0x3eac24(0x29a)]+_0x46cfab[_0x3eac24(0x393)]),Object['entries'](_0x2de2d1)[_0x3eac24(0x3c7)](([_0x3d5fb0,_0x542a55])=>{const _0x1204e3=_0x3eac24;typeof _0x542a55==_0x1204e3(0x1cb)&&(_0x2de2d1[_0x3d5fb0]=_0x542a55['replace'](/url\(#(.*)\)/,_0x1204e3(0x264)+_0x46cfab[_0x1204e3(0x393)]+')'));})),_0x2de2d1;}function _0x56ecfc(_0x3e045a,_0x398232){const _0x25c09b=_0x477bc3;var _0x3aabef;const {defIds:_0x4427da}=_0x398232;return!_0x4427da||_0x4427da[_0x25c09b(0x215)]===0x0?_0x3e045a:_0x3e045a[_0x25c09b(0x3cb)]===_0x25c09b(0x294)&&((_0x3aabef=_0x3e045a[_0x25c09b(0x35d)])!=null&&_0x3aabef[_0x25c09b(0x215)])?{..._0x3e045a,'children':_0x3e045a[_0x25c09b(0x35d)]['map'](_0x4e62cc=>typeof _0x4e62cc[_0x25c09b(0x2fb)]['id']==_0x25c09b(0x1cb)&&_0x4427da&&_0x4427da[_0x25c09b(0x3aa)](_0x4e62cc[_0x25c09b(0x2fb)]['id'])?{..._0x4e62cc,'attrs':{..._0x4e62cc['attrs'],'id':_0x4e62cc[_0x25c09b(0x2fb)]['id']+_0x398232[_0x25c09b(0x393)]}}:_0x4e62cc)}:_0x3e045a;}function _0x3136ff(){const _0x4fbc6c=_0x477bc3;return Math[_0x4fbc6c(0x3c9)]()[_0x4fbc6c(0x2a6)](0x24)['substring'](0x2,0x8);}_0x1f6f00[_0x477bc3(0x2f9)]=_0x477bc3(0x274);const _0x22e3f7={'tag':_0x477bc3(0x2c7),'attrs':{'xmlns':_0x477bc3(0x1db),'fill':_0x477bc3(0x230),'viewBox':'0\x200\x2016\x2016','width':_0x477bc3(0x3d1),'height':_0x477bc3(0x3d1)},'children':[{'tag':'g','attrs':{'clipPath':_0x477bc3(0x21e)},'children':[{'tag':_0x477bc3(0x12b),'attrs':{'stroke':_0x477bc3(0x2a4),'d':_0x477bc3(0x28e),'strokeLinecap':_0x477bc3(0x2ba),'strokeLinejoin':_0x477bc3(0x2ba),'strokeWidth':1.2}}]},{'tag':_0x477bc3(0x294),'attrs':{},'children':[{'tag':_0x477bc3(0x172),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x477bc3(0x12b),'attrs':{'fill':_0x477bc3(0x362),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x477bc3(0x11d)]},_0x3acc41=_0x5052d2[_0x477bc3(0x1a2)](function(_0x335fb5,_0x2aa23e){const _0x481cc7=_0x477bc3;return _0x5052d2[_0x481cc7(0x14f)](_0x1f6f00,Object[_0x481cc7(0x3ba)]({},_0x335fb5,{'id':'off-line-icon','ref':_0x2aa23e,'icon':_0x22e3f7}));});_0x3acc41['displayName']=_0x477bc3(0x2bf);const _0x5e11f8={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x477bc3(0x230),'viewBox':_0x477bc3(0x2de),'width':_0x477bc3(0x3d1),'height':_0x477bc3(0x3d1)},'children':[{'tag':'g','attrs':{'clipPath':_0x477bc3(0x260)},'children':[{'tag':_0x477bc3(0x12b),'attrs':{'stroke':'currentColor','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':'round','strokeWidth':1.2}}]},{'tag':_0x477bc3(0x294),'attrs':{},'children':[{'tag':_0x477bc3(0x172),'attrs':{'id':_0x477bc3(0x2f8)},'children':[{'tag':_0x477bc3(0x12b),'attrs':{'fill':_0x477bc3(0x362),'d':'M0\x200H16V16H0z','transform':_0x477bc3(0x2c6)}}]}]}],'defIds':[_0x477bc3(0x2f8)]},_0x2e2546=_0x5052d2[_0x477bc3(0x1a2)](function(_0x434459,_0x51802f){const _0x44588d=_0x477bc3;return _0x5052d2[_0x44588d(0x14f)](_0x1f6f00,Object[_0x44588d(0x3ba)]({},_0x434459,{'id':_0x44588d(0x3d9),'ref':_0x51802f,'icon':_0x5e11f8}));});_0x2e2546[_0x477bc3(0x2f9)]=_0x477bc3(0x27b);function _0x8aa2ad(_0x34bc1c){const _0x1f2b13=_0x477bc3;switch(_0x34bc1c){case _0x44b518[_0x1f2b13(0x2c2)][_0x1f2b13(0x3b8)]:return _0x1f2b13(0x3c2);case _0x44b518[_0x1f2b13(0x2c2)][_0x1f2b13(0x1eb)]:return _0x1f2b13(0x2b1);case _0x44b518['CollaborationStatus'][_0x1f2b13(0x22a)]:return _0x1f2b13(0x2f5);case _0x44b518[_0x1f2b13(0x2c2)]['NOT_COLLAB']:return _0x1f2b13(0x2d5);case _0x44b518[_0x1f2b13(0x2c2)][_0x1f2b13(0x2ef)]:case _0x44b518['CollaborationStatus'][_0x1f2b13(0x1bd)]:return _0x1f2b13(0x2b7);case _0x44b518[_0x1f2b13(0x2c2)][_0x1f2b13(0x19f)]:case _0x44b518['CollaborationStatus'][_0x1f2b13(0x12f)]:return _0x1f2b13(0x13d);}}function _0x50f449(_0x3c54f0){const _0x114d18=_0x477bc3,{status$:_0x5dcc64}=_0x3c54f0,_0x35dc72=_0x198137[_0x114d18(0x2d2)](_0x5dcc64,_0x44b518[_0x114d18(0x2c2)][_0x114d18(0x35c)]),_0x2a70c4=_0x198137['useDependency'](_0x162031['LocaleService']),_0x3ee78b=_0x198137[_0x114d18(0x290)](_0x44b518[_0x114d18(0x1e5)]),_0x4fcd08=_0x35dc72!==_0x44b518['CollaborationStatus']['OFFLINE'],_0x45ef2e=_0x2a70c4['t'](_0x8aa2ad(_0x35dc72)),_0x3e9700=_0x4fcd08?_0x54d5e1['jsx'](_0x2e2546,{}):_0x54d5e1[_0x114d18(0x181)](_0x3acc41,{}),_0xf74250=_0x5052d2[_0x114d18(0x23e)](()=>{const _0x356060=_0x114d18;_0x4fcd08||_0x3ee78b[_0x356060(0x329)]();},[_0x4fcd08,_0x3ee78b]);function _0x25a23c(){const _0x2d68ce=_0x114d18;return _0x54d5e1['jsxs'](_0x2d68ce(0x226),{'className':'univer-flex\x20univer-items-center','onClick':_0xf74250,'children':[_0x54d5e1[_0x2d68ce(0x181)](_0x2d68ce(0x226),{'className':_0x3fb0c6[_0x2d68ce(0x29e)](_0x2d68ce(0x333),{'univer-text-green-500':_0x4fcd08,'univer-text-red-500':!_0x4fcd08}),'children':_0x3e9700}),_0x54d5e1[_0x2d68ce(0x181)]('div',{'className':_0x2d68ce(0x3af),'children':_0x45ef2e})]});}return _0x4fcd08?_0x25a23c():_0x54d5e1['jsx'](_0x3fb0c6[_0x114d18(0x137)],{'title':_0x2a70c4['t'](_0x114d18(0x19a)),'children':_0x25a23c()});}var _0x1c8fdd=Object[_0x477bc3(0x1ec)],_0x39656a=(_0x233898,_0x27b967,_0x880d8,_0x4ed502)=>{const _0x5e52e8=_0x477bc3;for(var _0x5daccb=_0x4ed502>0x1?void 0x0:_0x4ed502?_0x1c8fdd(_0x27b967,_0x880d8):_0x27b967,_0x5b52c9=_0x233898[_0x5e52e8(0x215)]-0x1,_0x11e309;_0x5b52c9>=0x0;_0x5b52c9--)(_0x11e309=_0x233898[_0x5b52c9])&&(_0x5daccb=_0x11e309(_0x5daccb)||_0x5daccb);return _0x5daccb;},_0x20f050=(_0x55f3a4,_0x3a5633)=>(_0x1261b2,_0x5935ed)=>_0x3a5633(_0x1261b2,_0x5935ed,_0x55f3a4);_0x279e32[_0x477bc3(0x2b8)]=class extends _0x162031[_0x477bc3(0x148)]{constructor(_0x216994,_0xf1d9d7,_0x4ff177,_0x2e649e){const _0x3207ea=_0x477bc3;super(),_0x387a01(this,_0x3207ea(0x117),new _0xe327d9['BehaviorSubject'](_0x44b518['CollaborationStatus'][_0x3207ea(0x35c)])),(this[_0x3207ea(0x225)]=_0x216994,this['_injector']=_0xf1d9d7,this[_0x3207ea(0x2f2)]=_0x4ff177,this[_0x3207ea(0x17b)]=_0x2e649e,this['_initStatusComponent'](),this[_0x3207ea(0x206)]());}[_0x477bc3(0x206)](){const _0x3252ef=_0x477bc3;this['disposeWithMe'](this[_0x3252ef(0x225)][_0x3252ef(0x253)][_0x3252ef(0x2d1)](_0xe327d9[_0x3252ef(0x220)](()=>{const _0x2da279=_0x3252ef,_0x15b6f9=this['_univerInstanceService'][_0x2da279(0x14b)]();return _0x15b6f9?this[_0x2da279(0x2f2)][_0x2da279(0x307)](_0x15b6f9[_0x2da279(0x161)]()):_0xe327d9['of'](null);}),_0xe327d9[_0x3252ef(0x220)](_0x340f77=>_0x340f77?_0x340f77[_0x3252ef(0x1b2)]:_0xe327d9['of'](_0x44b518[_0x3252ef(0x2c2)]['NOT_COLLAB'])))['subscribe'](_0x3b8c59=>{const _0xff292f=_0x3252ef;this[_0xff292f(0x117)][_0xff292f(0x3be)](_0x3b8c59);}));}[_0x477bc3(0x25a)](){const _0x4cb6d=_0x477bc3;this[_0x4cb6d(0x32e)](this[_0x4cb6d(0x17b)][_0x4cb6d(0x29b)](_0x198137[_0x4cb6d(0x3a9)][_0x4cb6d(0x2b9)],()=>_0x198137[_0x4cb6d(0x2e7)](_0x208e22({'status$':this[_0x4cb6d(0x117)][_0x4cb6d(0x119)]()}),this[_0x4cb6d(0x3da)])));}},_0x279e32['DesktopCollaborationStatusDisplayController']=_0x39656a([_0x20f050(0x0,_0x162031[_0x477bc3(0x21c)]),_0x20f050(0x1,_0x162031[_0x477bc3(0x2b0)](_0x162031[_0x477bc3(0x1e2)])),_0x20f050(0x2,_0x162031['Inject'](_0x44b518[_0x477bc3(0x15a)])),_0x20f050(0x3,_0x198137[_0x477bc3(0x187)])],_0x279e32[_0x477bc3(0x2b8)]);function _0x208e22(_0x213b3c){const {status$:_0x168a17}=_0x213b3c;return function(){const _0x3ef4a7=_0x1b11;return _0x54d5e1[_0x3ef4a7(0x181)](_0x50f449,{'status$':_0x168a17});};}const _0x361122=_0x162031[_0x477bc3(0x3a4)](_0x477bc3(0x39d));var _0x1cd2ca=Object[_0x477bc3(0x1ec)],_0x329221=(_0x4adaa0,_0x2f7471,_0x17d441,_0x40a1c1)=>{for(var _0x281cbe=_0x40a1c1>0x1?void 0x0:_0x40a1c1?_0x1cd2ca(_0x2f7471,_0x17d441):_0x2f7471,_0x1c6c54=_0x4adaa0['length']-0x1,_0x41f548;_0x1c6c54>=0x0;_0x1c6c54--)(_0x41f548=_0x4adaa0[_0x1c6c54])&&(_0x281cbe=_0x41f548(_0x281cbe)||_0x281cbe);return _0x281cbe;},_0xe212eb=(_0x3a8096,_0x56c9ff)=>(_0x5e2280,_0x429073)=>_0x56c9ff(_0x5e2280,_0x429073,_0x3a8096);_0x279e32[_0x477bc3(0x174)]=class extends _0x162031[_0x477bc3(0xea)]{constructor(_0x35e221,_0x52832c,_0x2f838f,_0x3befd1,_0x2ad403){const _0x33fa88=_0x477bc3;super(),this[_0x33fa88(0x2d7)]=_0x35e221,this[_0x33fa88(0x297)]=_0x52832c,this[_0x33fa88(0x139)]=_0x2f838f,this[_0x33fa88(0x2ce)]=_0x3befd1,_0x2ad403?_0x2ad403==null||_0x2ad403[_0x33fa88(0x365)]()[_0x33fa88(0x22f)](()=>this[_0x33fa88(0x1ad)]()):(this[_0x33fa88(0x297)][_0x33fa88(0x146)](_0x33fa88(0x234),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x33fa88(0x1ad)]());}async[_0x477bc3(0x1ad)](){const _0x3455e6=_0x477bc3,_0x2bf745=this['_urlService'][_0x3455e6(0x24e)]('unit'),_0x443c1b=this[_0x3455e6(0x2d7)][_0x3455e6(0x24e)](_0x3455e6(0x24d)),_0x54d9f8=this['_urlService'][_0x3455e6(0x24e)](_0x3455e6(0x2bc));if(!_0x2bf745||!_0x443c1b){this[_0x3455e6(0x297)][_0x3455e6(0x146)](_0x3455e6(0x234),_0x3455e6(0x216));return;}const _0x345e8e=await this[_0x3455e6(0x2ce)][_0x3455e6(0x1a5)](_0x2bf745,Number(_0x443c1b),_0x54d9f8);_0x345e8e&&_0x345e8e instanceof _0x162031[_0x3455e6(0x310)]&&this['_setupSubUnitSync'](_0x345e8e);}async[_0x477bc3(0x18e)](_0x4cc461){const _0x2225ef=_0x477bc3;await this[_0x2225ef(0x20c)](_0x4cc461),_0x4cc461[_0x2225ef(0x3b6)][_0x2225ef(0x2d1)](_0xe327d9[_0x2225ef(0x331)](this['dispose$']))['subscribe'](_0x658764=>{const _0xf1e1c8=_0x2225ef;_0x658764&&this[_0xf1e1c8(0x2f7)](_0x658764);}),this['_urlService']['urlChange$']['pipe'](_0xe327d9[_0x2225ef(0x331)](this[_0x2225ef(0x1c1)]))['subscribe'](()=>this[_0x2225ef(0x20c)](_0x4cc461));}[_0x477bc3(0x2f7)](_0x3fc877,_0x261b10=!0x1){const _0x31b9db=_0x477bc3,_0x597010=this[_0x31b9db(0x2d7)][_0x31b9db(0x24e)](_0x31b9db(0x2bc));_0x3fc877[_0x31b9db(0x2a7)]()!==_0x597010&&this[_0x31b9db(0x2d7)][_0x31b9db(0x33c)](_0x31b9db(0x2bc),_0x3fc877[_0x31b9db(0x2a7)](),_0x261b10);}async['_updateSubUnitFromURLParams'](_0x384c5e){const _0x288c26=_0x477bc3;var _0x3f4118;const _0x197120=this['_urlService'][_0x288c26(0x24e)](_0x288c26(0x2bc));if(!_0x197120||!_0x384c5e['getSheetBySheetId'](_0x197120)){const _0x47b7b4=_0x384c5e[_0x288c26(0x1d0)]()[0x0],_0x43fcfa=_0x384c5e[_0x288c26(0x2ca)](_0x47b7b4);if(!_0x43fcfa)return;this[_0x288c26(0x2f7)](_0x43fcfa,!0x0),await this[_0x288c26(0x139)][_0x288c26(0x269)](_0x3f123f[_0x288c26(0x322)]['id'],{'unitId':_0x384c5e[_0x288c26(0x161)](),'subUnitId':_0x47b7b4});return;}((_0x3f4118=_0x384c5e['getActiveSheet']())==null?void 0x0:_0x3f4118[_0x288c26(0x2a7)]())!==_0x197120&&await this[_0x288c26(0x139)]['executeCommand'](_0x3f123f[_0x288c26(0x322)]['id'],{'unitId':_0x384c5e['getUnitId'](),'subUnitId':_0x197120});}},_0x279e32['CollaborationDataLoaderController']=_0x329221([_0xe212eb(0x0,_0x361122),_0xe212eb(0x1,_0x162031[_0x477bc3(0x353)]),_0xe212eb(0x2,_0x162031[_0x477bc3(0x326)]),_0xe212eb(0x3,_0x162031['Inject'](_0x44b518[_0x477bc3(0x2bd)])),_0xe212eb(0x4,_0x162031[_0x477bc3(0x30b)](_0x4285c8[_0x477bc3(0x258)]))],_0x279e32['CollaborationDataLoaderController']);var _0x1f631f=Object[_0x477bc3(0x1ec)],_0x3b9181=(_0x3a8dc7,_0x8535a6,_0x26a632,_0x2cb1a6)=>{for(var _0x2d844d=_0x2cb1a6>0x1?void 0x0:_0x2cb1a6?_0x1f631f(_0x8535a6,_0x26a632):_0x8535a6,_0x212735=_0x3a8dc7['length']-0x1,_0xd023be;_0x212735>=0x0;_0x212735--)(_0xd023be=_0x3a8dc7[_0x212735])&&(_0x2d844d=_0xd023be(_0x2d844d)||_0x2d844d);return _0x2d844d;},_0x21f1aa=(_0x27172d,_0x50fd1c)=>(_0x1a6780,_0x556fe3)=>_0x50fd1c(_0x1a6780,_0x556fe3,_0x27172d);let _0x4b1658=class extends _0x162031[_0x477bc3(0xea)]{constructor(_0x5d2b36,_0x34e7f7){const _0x295a42=_0x477bc3;super(),this[_0x295a42(0x268)]=_0x5d2b36,this[_0x295a42(0x3bf)]=_0x34e7f7,this[_0x295a42(0x1ad)]();}['_init'](){const _0x2e4e60=_0x477bc3,_0x254877=this;this['disposeWithMe'](this[_0x2e4e60(0x268)][_0x2e4e60(0x369)]({'onBeforePasteImage':async _0x5ac041=>{const _0x2f9170=_0x2e4e60,_0x199419=await _0x254877[_0x2f9170(0x3bf)][_0x2f9170(0x2cf)](_0x5ac041);return _0x199419?{'source':_0x199419[_0x2f9170(0x285)],'imageSourceType':_0x199419[_0x2f9170(0x382)]}:null;}}));}};_0x4b1658=_0x3b9181([_0x21f1aa(0x0,_0x74e6be[_0x477bc3(0x120)]),_0x21f1aa(0x1,_0x3ae936[_0x477bc3(0x2f4)])],_0x4b1658);const _0x3a99c3=[_0x477bc3(0x2dc),_0x477bc3(0x1dc),_0x477bc3(0x384),'red.300',_0x477bc3(0x1e4),_0x477bc3(0x38f)];class _0x446316 extends _0x162031['Disposable']{constructor(){const _0x4d3501=_0x477bc3;super(...arguments),_0x387a01(this,'_assignedColors',new Map()),_0x387a01(this,_0x4d3501(0x355),0x0);}['assignAColorForMemberID'](_0x951527){const _0x2e6e3c=_0x477bc3;if(this[_0x2e6e3c(0xfa)][_0x2e6e3c(0x3cf)](_0x951527))return this[_0x2e6e3c(0xfa)][_0x2e6e3c(0x375)](_0x951527);const _0x28134b=_0x3a99c3[this[_0x2e6e3c(0x355)]];return this[_0x2e6e3c(0x355)]=(this['_colorIndex']+0x1)%_0x3a99c3['length'],this[_0x2e6e3c(0xfa)][_0x2e6e3c(0x34a)](_0x951527,_0x28134b),_0x28134b;}}function _0x3b41bd(_0x524c93){const _0x50b5a3=_0x477bc3;let _0xe7ffaf='';for(const _0x5dbb4f of _0x524c93){const {startOffset:_0x391a38,endOffset:_0x12a495,isActive:_0xa453e8,rangeType:_0x51df26,segmentId:_0x50d11b,segmentPage:_0x1480a3}=_0x5dbb4f;_0xe7ffaf[_0x50b5a3(0x215)]&&(_0xe7ffaf+=','),_0xe7ffaf+=_0x391a38+':'+_0x12a495+':'+(_0xa453e8?'1':'0')+':'+_0x51df26+':'+_0x50d11b+':'+_0x1480a3;}return _0xe7ffaf;}function _0x121003(_0x57178b){const _0x55e27a=_0x477bc3,_0x246fe0=_0x57178b[_0x55e27a(0xf9)](','),_0x4c8bfb=[];for(const _0x887c3d of _0x246fe0){const [_0x49982a,_0x2153b9,_0x35dba0,_0xcd88b6,_0x37423a,_0xe3e418]=_0x887c3d['split'](':');_0x4c8bfb[_0x55e27a(0x138)]({'startOffset':Number(_0x49982a),'endOffset':Number(_0x2153b9),'collapsed':_0x49982a===_0x2153b9,'isActive':_0x35dba0==='1','rangeType':_0xcd88b6===_0x162031['DOC_RANGE_TYPE'][_0x55e27a(0x252)]?_0x162031[_0x55e27a(0x1d9)][_0x55e27a(0x252)]:_0x162031[_0x55e27a(0x1d9)][_0x55e27a(0x29d)],'segmentId':typeof _0x37423a==_0x55e27a(0x1cb)?String(_0x37423a):'','segmentPage':Number(_0xe3e418!=null?_0xe3e418:-0x1)});}return _0x4c8bfb[_0x55e27a(0x30e)](_0x23b56e=>_0x23b56e['isActive'])||(_0x4c8bfb[0x0]['isActive']=!0x0),_0x4c8bfb;}class _0x3f7f20 extends _0x162031['RxDisposable']{constructor(){const _0x52bf15=_0x477bc3;super(...arguments),_0x387a01(this,_0x52bf15(0x11e),new _0xe327d9[(_0x52bf15(0x136))](null)),_0x387a01(this,_0x52bf15(0x1ba),this['_collabCursorState$'][_0x52bf15(0x119)]());}[_0x477bc3(0x25d)](_0x28eceb){const _0x570079=_0x477bc3,{unitID:_0x152297,memberID:_0x15c498,textRanges:_0x4bf291}=_0x28eceb,_0x180787=_0x3b41bd(_0x4bf291);if(_0x180787==='')return;const _0x1c350a={'unitID':_0x152297,'memberID':_0x15c498,'selection':_0x180787};this[_0x570079(0x11e)][_0x570079(0x3be)](_0x1c350a);}}var _0x3a4aaa=Object[_0x477bc3(0x1ec)],_0x4246d9=(_0x48b371,_0x381dd9,_0x4f6655,_0x132ae8)=>{const _0x5c457e=_0x477bc3;for(var _0x246701=_0x132ae8>0x1?void 0x0:_0x132ae8?_0x3a4aaa(_0x381dd9,_0x4f6655):_0x381dd9,_0x42cf91=_0x48b371[_0x5c457e(0x215)]-0x1,_0x68757a;_0x42cf91>=0x0;_0x42cf91--)(_0x68757a=_0x48b371[_0x42cf91])&&(_0x246701=_0x68757a(_0x246701)||_0x246701);return _0x246701;},_0x2211aa=(_0x38a445,_0x3a2603)=>(_0x264873,_0x276d1b)=>_0x3a2603(_0x264873,_0x276d1b,_0x38a445);const _0x4b0adc=0x12c,_0x2f001d=0x64;let _0x36b425=class extends _0x162031[_0x477bc3(0xea)]{constructor(_0xf42aeb,_0x1a14f7,_0x424f6d,_0x2353e1,_0x460170,_0x16dd61,_0x80fa2a,_0x20ba75,_0xc16b8c){const _0x31afdf=_0x477bc3;super(),_0x387a01(this,_0x31afdf(0x159),!0x1),_0x387a01(this,_0x31afdf(0x1ad),!0x1),_0x387a01(this,_0x31afdf(0x10e),new _0xe327d9[(_0x31afdf(0x136))](new Map())),_0x387a01(this,_0x31afdf(0x262),this['_cursorInfo$']['asObservable']()),_0x387a01(this,'_roomMembers$',new _0xe327d9[(_0x31afdf(0x136))]([])),_0x387a01(this,_0x31afdf(0x2db),this[_0x31afdf(0x281)][_0x31afdf(0x2d1)](_0xe327d9[_0x31afdf(0x1da)](_0x4b0adc))),_0x387a01(this,_0x31afdf(0x276),_0x162031[_0x31afdf(0x24c)](_0x12f555=>{const _0x5d1c98=_0x31afdf,_0x45553c={'eventID':_0x4cd710[_0x5d1c98(0x22d)][_0x5d1c98(0x164)],'data':{'unitID':this[_0x5d1c98(0x3d0)],'memberID':this[_0x5d1c98(0x20b)][_0x5d1c98(0x3ae)](),'selection':_0x3b41bd(_0x12f555)}};this[_0x5d1c98(0x20b)][_0x5d1c98(0x3a8)](_0x45553c,this['unitID']);},_0x2f001d)),(this[_0x31afdf(0x3d0)]=_0xf42aeb,this['_session']=_0x1a14f7,this[_0x31afdf(0x3da)]=_0x424f6d,this[_0x31afdf(0x343)]=_0x2353e1,this[_0x31afdf(0x1d3)]=_0x460170,this[_0x31afdf(0x304)]=_0x16dd61,this[_0x31afdf(0x22c)]=_0x80fa2a,this[_0x31afdf(0x225)]=_0x20ba75,this[_0x31afdf(0x139)]=_0xc16b8c);}get['cursorInfo'](){const _0x76b1c4=_0x477bc3;return this[_0x76b1c4(0x10e)][_0x76b1c4(0x182)]();}get['roomMembers'](){const _0x5e8db1=_0x477bc3;return this[_0x5e8db1(0x281)][_0x5e8db1(0x182)]();}[_0x477bc3(0x388)](){const _0x309104=_0x477bc3;super['dispose'](),this[_0x309104(0x10e)][_0x309104(0x3be)](new Map()),this[_0x309104(0x10e)]['complete'](),this[_0x309104(0x281)][_0x309104(0x3be)]([]),this['_roomMembers$']['complete']();}['init'](){const _0x2ac674=_0x477bc3;this[_0x2ac674(0x1ad)]||(this[_0x2ac674(0x1ad)]=!0x0,this[_0x2ac674(0x20b)][_0x2ac674(0x1af)]['pipe'](_0xe327d9[_0x2ac674(0x331)](this[_0x2ac674(0x1c1)]))[_0x2ac674(0x2cd)](_0x561f01=>{const _0x1ca633=_0x2ac674;_0x561f01===_0x44b518[_0x1ca633(0x385)]['ONLINE']?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x2ac674(0x20b)]['event$'][_0x2ac674(0x2d1)](_0xe327d9['takeUntil'](this[_0x2ac674(0x1c1)]))[_0x2ac674(0x2cd)](_0x1e2f85=>{const _0x59371c=_0x2ac674,_0x51d66=_0x1e2f85[_0x59371c(0x2ad)];_0x51d66===_0x4cd710[_0x59371c(0x22d)][_0x59371c(0x164)]&&this[_0x59371c(0x25c)](_0x1e2f85),_0x51d66===_0x4cd710[_0x59371c(0x22d)][_0x59371c(0x314)]&&this['_onCursorDelete'](_0x1e2f85);}),this['disposeWithMe'](this[_0x2ac674(0x139)][_0x2ac674(0x1b7)](_0x3619c3=>{const _0x58381e=_0x2ac674,_0x20be0a=_0x3619c3[_0x58381e(0x1ab)];_0x20be0a!=null&&this['_online']&&_0x3619c3['id']===_0x47f67f[_0x58381e(0x2b6)]['id']&&_0x20be0a[_0x58381e(0x150)]===this['unitID']&&_0x20be0a[_0x58381e(0x1a1)]===!0x1&&_0x20be0a[_0x58381e(0x1de)][_0x58381e(0x215)]>0x0&&this[_0x58381e(0x276)](_0x20be0a[_0x58381e(0x1de)]);})),this[_0x2ac674(0x304)]['collabCursorState$'][_0x2ac674(0x2d1)](_0xe327d9[_0x2ac674(0x331)](this[_0x2ac674(0x1c1)]))[_0x2ac674(0x2cd)](_0x48867b=>{const _0x225024=_0x2ac674;if((_0x48867b==null?void 0x0:_0x48867b[_0x225024(0x3d0)])!==this[_0x225024(0x3d0)])return;const _0x2d2093={'eventID':_0x4cd710[_0x225024(0x22d)][_0x225024(0x164)],'data':_0x48867b};this[_0x225024(0x25c)](_0x2d2093);}),this[_0x2ac674(0x32e)](this[_0x2ac674(0x139)][_0x2ac674(0x1b7)](_0x1e9af6=>{const _0x4f0adc=_0x2ac674;if(_0x1e9af6[_0x4f0adc(0x1ab)]==null)return;const _0x170cfe=_0x1e9af6['params'];if(_0x1e9af6['id']!==_0x47f67f['RichTextEditingMutation']['id']||_0x170cfe[_0x4f0adc(0x150)]!==this['unitID'])return;const _0x53e19f={'id':_0x4f0adc(0x20a),'params':_0x170cfe},_0x590fec=this[_0x4f0adc(0x266)];for(const [_0x1a3e26,_0x456c9a]of _0x590fec){const _0x21c02a={'id':_0x4f0adc(0x20a),'params':{'unitId':this[_0x4f0adc(0x3d0)],'actions':null,'textRanges':_0x456c9a[_0x4f0adc(0x1de)]}},_0x4269ab=this[_0x4f0adc(0x22c)]['transformMutation'](_0x53e19f,_0x21c02a,!0x1);if(_0x4cd710[_0x4f0adc(0x3ad)](_0x4269ab))throw _0x4269ab[_0x4f0adc(0x2d0)];_0x590fec[_0x4f0adc(0x34a)](_0x1a3e26,{..._0x456c9a,'ranges':_0x4269ab[_0x4f0adc(0x250)][_0x4f0adc(0x1ab)][_0x4f0adc(0x395)]});}queueMicrotask(()=>{const _0x16a74d=_0x4f0adc;this[_0x16a74d(0x10e)][_0x16a74d(0x3be)](_0x590fec);});})));}[_0x477bc3(0x25c)](_0x49d18b){const _0x1e8498=_0x477bc3;var _0x4855aa,_0xa28809;const {memberID:_0x23e670,selection:_0x47d091}=_0x49d18b[_0x1e8498(0x1f9)],_0x17b7f1=_0x121003(_0x47d091),_0x266ea5=(_0xa28809=(_0x4855aa=this[_0x1e8498(0x1d3)][_0x1e8498(0x271)](this['unitID'],_0x23e670))==null?void 0x0:_0x4855aa[_0x1e8498(0x3d4)])!=null?_0xa28809:_0x1e8498(0x30f),_0x58ec2f={'color':this[_0x1e8498(0x343)][_0x1e8498(0x2ff)](_0x23e670),'name':_0x266ea5,'ranges':_0x17b7f1},_0x5a8c2f=this['cursorInfo'];_0x5a8c2f[_0x1e8498(0x34a)](_0x23e670,_0x58ec2f),this['_cursorInfo$']['next'](_0x5a8c2f);}[_0x477bc3(0x33f)](_0xd23022){const _0x37b767=_0x477bc3,{memberID:_0x948a80}=_0xd23022[_0x37b767(0x1f9)],_0x4b6ea4=this[_0x37b767(0x266)];_0x4b6ea4[_0x37b767(0x32d)](_0x948a80),this[_0x37b767(0x10e)][_0x37b767(0x3be)](_0x4b6ea4);}[_0x477bc3(0x32f)](){const _0x4848a8=_0x477bc3;var _0x40a7e5;if(this[_0x4848a8(0x159)]=!0x0,((_0x40a7e5=this[_0x4848a8(0x225)]['getFocusedUnit']())==null?void 0x0:_0x40a7e5[_0x4848a8(0x161)]())!==this[_0x4848a8(0x3d0)])return;const _0x495625=this[_0x4848a8(0x3da)][_0x4848a8(0x375)](_0x47f67f[_0x4848a8(0x293)])[_0x4848a8(0x28c)]();Array[_0x4848a8(0x165)](_0x495625)&&_0x495625['length']>0x0&&this['_updateLocalCursor'](_0x495625);}[_0x477bc3(0x1dd)](){const _0x554ca7=_0x477bc3;this[_0x554ca7(0x159)]=!0x1;}};_0x36b425=_0x4246d9([_0x2211aa(0x2,_0x162031['Inject'](_0x162031[_0x477bc3(0x1e2)])),_0x2211aa(0x3,_0x162031[_0x477bc3(0x2b0)](_0x446316)),_0x2211aa(0x4,_0x162031[_0x477bc3(0x2b0)](_0x44b518[_0x477bc3(0x111)])),_0x2211aa(0x5,_0x162031[_0x477bc3(0x2b0)](_0x3f7f20)),_0x2211aa(0x6,_0x4cd710['ITransformService']),_0x2211aa(0x7,_0x162031[_0x477bc3(0x21c)]),_0x2211aa(0x8,_0x162031['ICommandService'])],_0x36b425);var _0x7dc9c=Object[_0x477bc3(0x1ec)],_0x3549ae=(_0x4ea3b8,_0x2047f0,_0x938f38,_0x435686)=>{for(var _0x21e602=_0x435686>0x1?void 0x0:_0x435686?_0x7dc9c(_0x2047f0,_0x938f38):_0x2047f0,_0x31c7ad=_0x4ea3b8['length']-0x1,_0x5d8a83;_0x31c7ad>=0x0;_0x31c7ad--)(_0x5d8a83=_0x4ea3b8[_0x31c7ad])&&(_0x21e602=_0x5d8a83(_0x21e602)||_0x21e602);return _0x21e602;},_0x314842=(_0x4d6efc,_0x230915)=>(_0x4fa9d1,_0x3de934)=>_0x230915(_0x4fa9d1,_0x3de934,_0x4d6efc);const _0x310d61=0x12c,_0x4e7e61=0x64,_0x50f2ad=()=>{let _0x1a6eb1=[],_0x57bc34=!0x1;return _0x58c501=>{_0x1a6eb1['push'](_0x58c501),_0x57bc34||(_0x57bc34=!0x0,setTimeout(()=>{const _0x2307aa=_0x1b11;_0x1a6eb1[_0x2307aa(0x3c7)](_0x404b73=>_0x404b73()),_0x1a6eb1=[],_0x57bc34=!0x1;}));};};let _0x3944c4=class extends _0x162031[_0x477bc3(0xea)]{constructor(_0x171d15,_0x285adc,_0x136bfc,_0x23b027,_0x1ff076,_0x2fa3be,_0x41f54e,_0x1ae9b8){const _0x3f4d45=_0x477bc3;super(),_0x387a01(this,_0x3f4d45(0x159),!0x1),_0x387a01(this,'_init',!0x1),_0x387a01(this,_0x3f4d45(0x10e),new _0xe327d9[(_0x3f4d45(0x136))](new Map())),_0x387a01(this,_0x3f4d45(0x262),this[_0x3f4d45(0x10e)][_0x3f4d45(0x119)]()),_0x387a01(this,'_roomMembers$',new _0xe327d9[(_0x3f4d45(0x136))]([])),_0x387a01(this,_0x3f4d45(0x2db),this[_0x3f4d45(0x281)][_0x3f4d45(0x2d1)](_0xe327d9[_0x3f4d45(0x1da)](_0x310d61))),_0x387a01(this,_0x3f4d45(0x276),_0x162031['debounce']((_0x54e2f7,_0x1fad34)=>{const _0x35bcde=_0x3f4d45,_0x67d265={'eventID':_0x4cd710['CollaborationEvent'][_0x35bcde(0x164)],'data':{'unitID':this[_0x35bcde(0x3d0)],'memberID':this[_0x35bcde(0x20b)][_0x35bcde(0x3ae)](),'selection':_0xf4950[_0x35bcde(0x228)](_0x54e2f7,_0x1fad34['range'])}};this[_0x35bcde(0x20b)][_0x35bcde(0x3a8)](_0x67d265,this[_0x35bcde(0x3d0)]);},_0x4e7e61)),(this['unitID']=_0x171d15,this[_0x3f4d45(0x20b)]=_0x285adc,this['_injector']=_0x136bfc,this['_colorAssignService']=_0x23b027,this[_0x3f4d45(0x1d3)]=_0x1ff076,this['_univerInstanceService']=_0x2fa3be,this[_0x3f4d45(0x139)]=_0x41f54e,this[_0x3f4d45(0x1a3)]=_0x1ae9b8);}get[_0x477bc3(0x266)](){const _0x55050e=_0x477bc3;return this[_0x55050e(0x10e)]['getValue']();}get[_0x477bc3(0x26d)](){const _0x25597d=_0x477bc3;return this[_0x25597d(0x281)][_0x25597d(0x182)]();}[_0x477bc3(0x388)](){const _0x4de6f2=_0x477bc3;super[_0x4de6f2(0x388)](),this['_cursorInfo$'][_0x4de6f2(0x3be)](new Map()),this[_0x4de6f2(0x10e)][_0x4de6f2(0x39e)](),this[_0x4de6f2(0x281)][_0x4de6f2(0x3be)]([]),this[_0x4de6f2(0x281)][_0x4de6f2(0x39e)]();}[_0x477bc3(0x10a)](){const _0x11b883=_0x477bc3;this[_0x11b883(0x1ad)]||(this[_0x11b883(0x1ad)]=!0x0,this[_0x11b883(0x20b)]['sessionStatus$'][_0x11b883(0x2d1)](_0xe327d9[_0x11b883(0x331)](this[_0x11b883(0x1c1)]))['subscribe'](_0x3ba9de=>{const _0x5c6639=_0x11b883;_0x3ba9de===_0x44b518[_0x5c6639(0x385)][_0x5c6639(0x39b)]?this[_0x5c6639(0x32f)]():this[_0x5c6639(0x1dd)]();}),this['_session']['event$'][_0x11b883(0x2d1)](_0xe327d9['takeUntil'](this[_0x11b883(0x1c1)]))[_0x11b883(0x2cd)](_0x253f74=>{const _0x41515d=_0x11b883,_0x4a7660=_0x253f74[_0x41515d(0x2ad)];_0x4a7660===_0x4cd710[_0x41515d(0x22d)][_0x41515d(0x164)]&&this[_0x41515d(0x25c)](_0x253f74),_0x4a7660===_0x4cd710[_0x41515d(0x22d)][_0x41515d(0x314)]&&this[_0x41515d(0x33f)](_0x253f74);}),this[_0x11b883(0x2a2)](),this['disposeWithMe'](this[_0x11b883(0x139)]['onCommandExecuted'](_0x2a939c=>{const _0x4f2bf7=_0x11b883;if(this[_0x4f2bf7(0x159)]&&_0x2a939c['id']===_0x3f123f[_0x4f2bf7(0x363)]['id']&&_0x2a939c[_0x4f2bf7(0x1ab)][_0x4f2bf7(0x150)]===this[_0x4f2bf7(0x3d0)]){const _0x2349ed=_0x2a939c['params'];this[_0x4f2bf7(0x276)](_0x2349ed[_0x4f2bf7(0x13f)],_0x2349ed[_0x4f2bf7(0xf3)][0x0]);}})));}[_0x477bc3(0x25c)](_0x599e85){const _0x254852=_0x477bc3;var _0x312205,_0x4261a6;const {memberID:_0xcd8dab,selection:_0x3c54b3}=_0x599e85['data'],{sheetName:_0x32a29a,range:_0x59c049}=_0xf4950[_0x254852(0x152)](_0x3c54b3),_0x526f96={'name':(_0x4261a6=(_0x312205=this[_0x254852(0x1d3)]['getMember'](this[_0x254852(0x3d0)],_0xcd8dab))==null?void 0x0:_0x312205[_0x254852(0x3d4)])!=null?_0x4261a6:_0x254852(0x30f),'range':this[_0x254852(0x202)](_0x32a29a,_0x59c049),'sheetID':_0x32a29a,'color':this[_0x254852(0x343)]['assignAColorForMemberID'](_0xcd8dab),'selection':_0x3c54b3},_0x3f3ae2=this[_0x254852(0x266)];_0x3f3ae2['set'](_0xcd8dab,_0x526f96),this[_0x254852(0x10e)][_0x254852(0x3be)](_0x3f3ae2);}['_onCursorDelete'](_0x3b863a){const _0x58ff4a=_0x477bc3,{memberID:_0x4cc127}=_0x3b863a[_0x58ff4a(0x1f9)],_0x3d26b3=this[_0x58ff4a(0x266)];_0x3d26b3[_0x58ff4a(0x32d)](_0x4cc127),this[_0x58ff4a(0x10e)][_0x58ff4a(0x3be)](_0x3d26b3);}['_getMergeRange'](_0x15f6f9,_0x3a3bc2){const _0xa1c253=_0x477bc3;var _0x36716b,_0x23fc84;const _0x58b9d5=(_0x23fc84=(_0x36716b=this[_0xa1c253(0x225)][_0xa1c253(0x3cd)](this['unitID']))==null?void 0x0:_0x36716b['getSheetBySheetId'](_0x15f6f9))==null?void 0x0:_0x23fc84[_0xa1c253(0x392)]();return(_0x58b9d5==null?void 0x0:_0x58b9d5[_0xa1c253(0x295)](_0x1b44d3=>_0x162031['Rectangle']['contains'](_0x1b44d3,_0x3a3bc2)))||_0x3a3bc2;}[_0x477bc3(0x2a2)](){const _0x2aabd9=_0x477bc3,_0x179e81=new _0x162031['DisposableCollection'](),_0x312e17=_0x50f2ad(),_0x18a892=()=>{const _0xdb8232=_0x1b11;_0x179e81[_0xdb8232(0x388)]();const _0x48066a=(_0x19cc6c,_0x210a3a,_0x4fc507,_0x54809c)=>{const _0x5d9072=_0xdb8232;let _0x4303bb=[];switch(_0x19cc6c['id']){case _0x3f123f['EffectRefRangId'][_0x5d9072(0x1d8)]:{_0x4303bb=_0x3f123f['handleDeleteRangeMoveLeft'](_0x19cc6c,_0x54809c);break;}case _0x3f123f['EffectRefRangId'][_0x5d9072(0x1b6)]:{_0x4303bb=_0x3f123f[_0x5d9072(0x28b)](_0x19cc6c,_0x54809c);break;}case _0x3f123f[_0x5d9072(0x35e)][_0x5d9072(0x154)]:{_0x4303bb=_0x3f123f[_0x5d9072(0x14a)](_0x19cc6c,_0x54809c);break;}case _0x3f123f[_0x5d9072(0x35e)][_0x5d9072(0x2c1)]:{_0x4303bb=_0x3f123f[_0x5d9072(0x349)](_0x19cc6c,_0x54809c);break;}case _0x3f123f[_0x5d9072(0x35e)][_0x5d9072(0x2a5)]:{_0x4303bb=_0x3f123f[_0x5d9072(0x1e0)](_0x19cc6c,_0x54809c);break;}case _0x3f123f[_0x5d9072(0x35e)]['InsertRowCommandId']:{_0x4303bb=_0x3f123f[_0x5d9072(0x1e8)](_0x19cc6c,_0x54809c);break;}case _0x3f123f[_0x5d9072(0x35e)][_0x5d9072(0x2fc)]:{_0x4303bb=_0x3f123f[_0x5d9072(0x241)](_0x19cc6c,_0x54809c);break;}case _0x3f123f[_0x5d9072(0x35e)][_0x5d9072(0x183)]:{_0x4303bb=_0x3f123f[_0x5d9072(0x113)](_0x19cc6c,_0x54809c);break;}case _0x3f123f['EffectRefRangId'][_0x5d9072(0x1f3)]:{_0x4303bb=_0x3f123f[_0x5d9072(0x2f6)](_0x19cc6c,_0x54809c);break;}}const _0x35eecc=_0x3f123f['runRefRangeMutations'](_0x4303bb,_0x54809c),_0x27357a=this[_0x5d9072(0x266)][_0x5d9072(0x375)](_0x210a3a);if(_0x27357a&&_0x35eecc){const _0x19d255={..._0x27357a,'range':_0x35eecc};this[_0x5d9072(0x266)][_0x5d9072(0x34a)](_0x210a3a,_0x19d255),_0x312e17(()=>{const _0x5ad281=_0x5d9072,_0x3c6b26=this['_refRangeService'][_0x5ad281(0x287)](_0x35eecc,_0x2d4a21=>(_0x3c6b26[_0x5ad281(0x388)](),_0x48066a(_0x2d4a21,_0x210a3a,_0x4fc507,_0x35eecc)));_0x179e81[_0x5ad281(0x1d6)](_0x3c6b26);});}return{'redos':[],'undos':[]};};this[_0xdb8232(0x266)][_0xdb8232(0x3c7)]((_0x5ddf17,_0x15f060)=>{const _0x1f29f5=_0xdb8232,{range:_0x2bcd63,sheetID:_0x92ce5}=_0x5ddf17,_0xf965c=this[_0x1f29f5(0x1a3)][_0x1f29f5(0x287)](_0x2bcd63,_0x36f69f=>(_0xf965c[_0x1f29f5(0x388)](),_0x48066a(_0x36f69f,_0x15f060,_0x92ce5,_0x2bcd63)));_0x179e81[_0x1f29f5(0x1d6)](_0xf965c);});};this[_0x2aabd9(0x32e)](_0x162031[_0x2aabd9(0x16b)](this['_cursorInfo$'][_0x2aabd9(0x2cd)](()=>{_0x18a892();})));}[_0x477bc3(0x32f)](){const _0x1637e3=_0x477bc3;var _0x37388f,_0x1f9aa3;if(this[_0x1637e3(0x159)]=!0x0,((_0x37388f=this[_0x1637e3(0x225)]['getFocusedUnit']())==null?void 0x0:_0x37388f[_0x1637e3(0x161)]())!==this[_0x1637e3(0x3d0)])return;const _0x5b7bf2=(_0x1f9aa3=this[_0x1637e3(0x3da)]['get'](_0x3f123f['SheetsSelectionsService'])[_0x1637e3(0x27c)]())==null?void 0x0:_0x1f9aa3[0x0],_0x1874b9=this[_0x1637e3(0x225)]['getCurrentUnitForType'](_0x162031[_0x1637e3(0x1c9)][_0x1637e3(0x277)])['getActiveSheet']();_0x5b7bf2&&_0x1874b9&&this[_0x1637e3(0x276)](_0x1874b9[_0x1637e3(0x2a7)](),_0x5b7bf2);}[_0x477bc3(0x1dd)](){const _0x5f9419=_0x477bc3;this[_0x5f9419(0x159)]=!0x1;}};_0x3944c4=_0x3549ae([_0x314842(0x2,_0x162031[_0x477bc3(0x2b0)](_0x162031[_0x477bc3(0x1e2)])),_0x314842(0x3,_0x162031[_0x477bc3(0x2b0)](_0x446316)),_0x314842(0x4,_0x162031[_0x477bc3(0x2b0)](_0x44b518['MemberService'])),_0x314842(0x5,_0x162031[_0x477bc3(0x21c)]),_0x314842(0x6,_0x162031['ICommandService']),_0x314842(0x7,_0x162031['Inject'](_0x3f123f[_0x477bc3(0x209)]))],_0x3944c4);var _0x1a9566=Object[_0x477bc3(0x1ec)],_0x5bdd9f=(_0x5ee5e5,_0x4709cb,_0x804d18,_0x363b7f)=>{for(var _0x58a054=_0x363b7f>0x1?void 0x0:_0x363b7f?_0x1a9566(_0x4709cb,_0x804d18):_0x4709cb,_0x2871bd=_0x5ee5e5['length']-0x1,_0x272321;_0x2871bd>=0x0;_0x2871bd--)(_0x272321=_0x5ee5e5[_0x2871bd])&&(_0x58a054=_0x272321(_0x58a054)||_0x58a054);return _0x58a054;},_0x5225e8=(_0x1088d8,_0x3d0e2d)=>(_0x557ab7,_0x1d3021)=>_0x3d0e2d(_0x557ab7,_0x1d3021,_0x1088d8);let _0x421cc1=class extends _0x162031[_0x477bc3(0xea)]{constructor(_0x522773,_0x4e635a,_0x4f954b){const _0x166c40=_0x477bc3;super(),_0x387a01(this,_0x166c40(0x3c1),new Map()),_0x387a01(this,_0x166c40(0x200),new _0xe327d9[(_0x166c40(0x3b7))]()),(this[_0x166c40(0x225)]=_0x522773,this[_0x166c40(0x3da)]=_0x4e635a,this['_collabSessionService']=_0x4f954b,this[_0x166c40(0x1ad)]());}[_0x477bc3(0x388)](){const _0x1aaac0=_0x477bc3;super['dispose'](),this[_0x1aaac0(0x200)][_0x1aaac0(0x39e)](),this['_entities'][_0x1aaac0(0x3c7)](_0x29f867=>_0x29f867[_0x1aaac0(0x388)]());}[_0x477bc3(0x10c)](_0x5672bb){const _0x3ce46d=_0x477bc3;return this[_0x3ce46d(0x3c1)][_0x3ce46d(0x3cf)](_0x5672bb)?this[_0x3ce46d(0x3c1)]['get'](_0x5672bb)[_0x3ce46d(0x262)]:this['_entityInit$'][_0x3ce46d(0x2d1)](_0xe327d9['filter'](_0x27c868=>_0x27c868[_0x3ce46d(0x3d0)]===_0x5672bb),_0xe327d9[_0x3ce46d(0x220)](_0xb2628e=>_0xb2628e[_0x3ce46d(0x262)]));}[_0x477bc3(0x1ad)](){const _0x2c9e3d=_0x477bc3;this['_univerInstanceService'][_0x2c9e3d(0x15c)](_0x162031[_0x2c9e3d(0x1c9)][_0x2c9e3d(0x277)])[_0x2c9e3d(0x2d1)](_0xe327d9[_0x2c9e3d(0x331)](this[_0x2c9e3d(0x1c1)]))[_0x2c9e3d(0x2cd)](async _0x3543c8=>{const _0x3d8607=_0x2c9e3d,_0x2723aa=_0x3543c8[_0x3d8607(0x161)](),_0x17598d=await this[_0x3d8607(0x3b3)](_0x2723aa);this['_entityInit$'][_0x3d8607(0x3be)](_0x17598d),this[_0x3d8607(0x3c1)][_0x3d8607(0x34a)](_0x2723aa,_0x17598d);}),this[_0x2c9e3d(0x225)]['getTypeOfUnitAdded$'](_0x162031['UniverInstanceType'][_0x2c9e3d(0x2c3)])[_0x2c9e3d(0x2d1)](_0xe327d9['takeUntil'](this[_0x2c9e3d(0x1c1)]))[_0x2c9e3d(0x2d1)](_0xe327d9[_0x2c9e3d(0x124)](_0x15fa09=>!_0x15fa09['getUnitId']()[_0x2c9e3d(0x27d)]('__')))[_0x2c9e3d(0x2cd)](async _0x4ca835=>{const _0x2569db=_0x2c9e3d,_0x1ea1cc=_0x4ca835[_0x2569db(0x161)](),_0x47a71c=await this['_startDocCollabCursor'](_0x1ea1cc);this['_entityInit$'][_0x2569db(0x3be)](_0x47a71c),this[_0x2569db(0x3c1)][_0x2569db(0x34a)](_0x1ea1cc,_0x47a71c);}),_0xe327d9[_0x2c9e3d(0x249)](this[_0x2c9e3d(0x225)][_0x2c9e3d(0x3d2)](_0x162031[_0x2c9e3d(0x1c9)][_0x2c9e3d(0x2c3)]),this['_univerInstanceService'][_0x2c9e3d(0x3d2)](_0x162031[_0x2c9e3d(0x1c9)][_0x2c9e3d(0x277)]))['pipe'](_0xe327d9[_0x2c9e3d(0x331)](this[_0x2c9e3d(0x1c1)]))['subscribe'](_0x4bafe0=>{const _0x59d98e=_0x2c9e3d,_0x514911=_0x4bafe0[_0x59d98e(0x161)](),_0x11c8d8=this[_0x59d98e(0x3c1)][_0x59d98e(0x375)](_0x514911);_0x11c8d8&&(_0x11c8d8[_0x59d98e(0x388)](),this[_0x59d98e(0x3c1)][_0x59d98e(0x32d)](_0x514911));});}async[_0x477bc3(0x3b3)](_0x462f6e){const _0xfdac2b=_0x477bc3,_0x45c56d=await this['_collabSessionService'][_0xfdac2b(0x107)](_0x462f6e),_0x1a8021=this[_0xfdac2b(0x3da)][_0xfdac2b(0x11c)](_0x3944c4,_0x462f6e,_0x45c56d);return _0x1a8021[_0xfdac2b(0x10a)](),_0x1a8021;}async[_0x477bc3(0x1a9)](_0xd56544){const _0x35b6e5=_0x477bc3,_0x194d6a=await this[_0x35b6e5(0x299)][_0x35b6e5(0x107)](_0xd56544),_0x3e0565=this[_0x35b6e5(0x3da)][_0x35b6e5(0x11c)](_0x36b425,_0xd56544,_0x194d6a);return _0x3e0565[_0x35b6e5(0x10a)](),_0x3e0565;}};_0x421cc1=_0x5bdd9f([_0x5225e8(0x0,_0x162031['IUniverInstanceService']),_0x5225e8(0x1,_0x162031[_0x477bc3(0x2b0)](_0x162031[_0x477bc3(0x1e2)])),_0x5225e8(0x2,_0x162031[_0x477bc3(0x2b0)](_0x44b518[_0x477bc3(0x1e5)]))],_0x421cc1);const _0x2a224c=0x14,_0x5b89ee=0xc8,_0x549daf=0x4,_0x41e0cc=0x5;function _0x5746fc(_0x4e5e2c,_0x3951e3){const _0x195657=_0x477bc3;let {radius:_0x519648,width:_0x265520,height:_0x3bebb7}=_0x3951e3;_0x519648=_0x519648!=null?_0x519648:0x0,_0x265520=_0x265520!=null?_0x265520:0x1e,_0x3bebb7=_0x3bebb7!=null?_0x3bebb7:0x1e;let _0x580dbd=0x0,_0x6627c6=0x0,_0xcb984e=0x0;_0x580dbd=_0x6627c6=_0xcb984e=Math[_0x195657(0x270)](_0x519648,_0x265520/0x2,_0x3bebb7/0x2),_0x4e5e2c[_0x195657(0x32a)](),_0x4e5e2c[_0x195657(0x195)](_0x580dbd,0x0),_0x4e5e2c['lineTo'](_0x265520-_0x6627c6,0x0),_0x4e5e2c[_0x195657(0x129)](_0x265520-_0x6627c6,_0x6627c6,_0x6627c6,Math['PI']*0x3/0x2,0x0,!0x1),_0x4e5e2c[_0x195657(0x108)](_0x265520,_0x3bebb7-_0xcb984e),_0x4e5e2c[_0x195657(0x129)](_0x265520-_0xcb984e,_0x3bebb7-_0xcb984e,_0xcb984e,0x0,Math['PI']/0x2,!0x1),_0x4e5e2c['lineTo'](0x0,_0x3bebb7),_0x4e5e2c[_0x195657(0x108)](0x0,_0x580dbd),_0x4e5e2c[_0x195657(0x129)](_0x580dbd,_0x580dbd,_0x580dbd,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4e5e2c['closePath'](),_0x3951e3[_0x195657(0x368)]&&(_0x4e5e2c[_0x195657(0x381)](),_0x4e5e2c[_0x195657(0x3a5)]=_0x3951e3['fill'],_0x3951e3[_0x195657(0x3c8)]==='evenodd'?_0x4e5e2c[_0x195657(0x368)]('evenodd'):_0x4e5e2c['fill'](),_0x4e5e2c[_0x195657(0x1be)]());}class _0x2a34f4 extends _0x433081[_0x477bc3(0xf6)]{constructor(_0x7625cb,_0x3fbf26){const _0x356ea6=_0x477bc3;super(_0x7625cb,_0x3fbf26),_0x387a01(this,_0x356ea6(0x370)),_0x387a01(this,_0x356ea6(0x1ff)),(this[_0x356ea6(0x370)]=_0x3fbf26==null?void 0x0:_0x3fbf26[_0x356ea6(0x370)],this[_0x356ea6(0x1ff)]=_0x3fbf26==null?void 0x0:_0x3fbf26[_0x356ea6(0x1ff)]);}static[_0x477bc3(0x145)](_0x3aa136,_0x4bf87f){const _0x80000b=_0x477bc3,{text:_0x2073d2,color:_0x2a64ba}=_0x4bf87f;_0x3aa136[_0x80000b(0x381)](),_0x3aa136['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x576804=_0x3aa136['measureText'](_0x2073d2)[_0x80000b(0x2c0)],_0x5cb21a=Math[_0x80000b(0x270)](_0x576804+0x2*_0x549daf,_0x5b89ee);_0x5746fc(_0x3aa136,{'height':_0x2a224c,'radius':0x4,'width':_0x5cb21a,'fill':_0x2a64ba}),_0x3aa136['fillStyle']=_0x80000b(0x24b);const _0x34d1b3=_0x549daf,_0xb9138f=_0x2a224c-_0x41e0cc,_0x1b1bb6=_0x5b89ee-0x2*_0x549daf;if(_0x576804>_0x1b1bb6){let _0x61d362='',_0x164939=0x0;for(const _0x5e5de5 of _0x2073d2){const _0x46792b=_0x3aa136[_0x80000b(0x378)](_0x5e5de5)[_0x80000b(0x2c0)];if(_0x164939+_0x46792b<=_0x1b1bb6-_0x3aa136['measureText'](_0x80000b(0x240))[_0x80000b(0x2c0)])_0x61d362+=_0x5e5de5,_0x164939+=_0x46792b;else{_0x61d362+='...';break;}}_0x3aa136[_0x80000b(0x2e6)](_0x61d362,_0x34d1b3,_0xb9138f);}else _0x3aa136['fillText'](_0x2073d2,_0x34d1b3,_0xb9138f);_0x3aa136[_0x80000b(0x1be)]();}['_draw'](_0x531ed0){_0x2a34f4['drawWith'](_0x531ed0,this);}}const _0x3fded9=_0x477bc3(0x289),_0x49fae5='collab-text-range-',_0x2b7512='collab-rect-range-',_0x307f23=0x6,_0x5bca90=1.5,_0xcd4d86=0x4,_0x185f72=1.5,_0x384113=_0x477bc3(0x214);class _0x291d53{constructor(_0x1cea1a,_0x46ffa5,_0x431db1,_0x3410d1){const _0x3d405b=_0x477bc3;_0x387a01(this,_0x3d405b(0x100),[]),_0x387a01(this,'_anchor',null),_0x387a01(this,_0x3d405b(0x396),null),_0x387a01(this,_0x3d405b(0x27f),null),_0x387a01(this,_0x3d405b(0x2f3),null),_0x387a01(this,_0x3d405b(0x16a),null),(this[_0x3d405b(0x351)]=_0x1cea1a,this[_0x3d405b(0x2b5)]=_0x46ffa5,this[_0x3d405b(0x123)]=_0x431db1,this[_0x3d405b(0x2af)]=_0x3410d1,this['_render']());}set['_hover'](_0x37ea34){const _0x360abf=_0x477bc3;_0x37ea34?(this[_0x360abf(0x27f)]&&this[_0x360abf(0x27f)][_0x360abf(0x15f)](),this[_0x360abf(0x396)]&&this[_0x360abf(0x396)][_0x360abf(0x348)]()):(this['_anchorDot']&&this[_0x360abf(0x27f)][_0x360abf(0x348)](),this[_0x360abf(0x396)]&&this[_0x360abf(0x396)][_0x360abf(0x15f)]());}[_0x477bc3(0x388)](){const _0x27d86e=_0x477bc3;for(const _0x3e49eb of this[_0x27d86e(0x100)])_0x3e49eb[_0x27d86e(0x388)]();this[_0x27d86e(0x396)]&&this['_textBubble'][_0x27d86e(0x388)](),this[_0x27d86e(0x27f)]&&this['_anchorDot'][_0x27d86e(0x388)](),this[_0x27d86e(0x352)]&&this[_0x27d86e(0x352)][_0x27d86e(0x388)](),this[_0x27d86e(0x16a)]&&this[_0x27d86e(0x16a)]();}['_render'](){const _0x450f87=_0x477bc3;var _0x310bf6;const {_docSkeleton:_0x283018,_document:_0x18e4b2}=this,{color:_0x12cd20,name:_0xc87098,ranges:_0x44221e}=this[_0x450f87(0x351)],_0x19496c=_0x18e4b2[_0x450f87(0x1ed)](),{docsLeft:_0x63c746,docsTop:_0x3bbb3f}=_0x19496c,_0x5ad7b6=new _0x74e6be[(_0x450f87(0x35f))](_0x19496c,_0x283018);for(const {startOffset:_0x425c56,endOffset:_0x45f83d,rangeType:_0xa0b212,segmentId:_0x1675ba,segmentPage:_0xfd2f2a,collapsed:_0x5aaab2,isActive:_0x3b84a3}of _0x44221e){const _0x41f504=_0x283018['findNodePositionByCharIndex'](_0x425c56,!0x0,_0x1675ba,_0xfd2f2a);let _0x3e175e=_0x283018['findNodePositionByCharIndex'](_0x45f83d,!0x0,_0x1675ba,_0xfd2f2a);if(_0x3e175e==null&&(_0x3e175e=_0x283018[_0x450f87(0x33b)](_0x45f83d-0x1,!0x1,_0x1675ba,_0xfd2f2a)),_0x3b84a3){const {contentBoxPointGroup:_0x3efd77}=_0x5ad7b6[_0x450f87(0x324)](_0x3e175e,_0x3e175e);if(_0x3efd77['length']===0x0)continue;this[_0x450f87(0x28a)](_0x12cd20,_0x3efd77,_0x63c746,_0x3bbb3f,_0xc87098),this['_eventUnsubscribe']=this[_0x450f87(0x1f0)]();}if(_0x41f504&&_0x3e175e){if(_0xa0b212===_0x162031[_0x450f87(0x1d9)][_0x450f87(0x29d)]){const _0x345c50=new _0x74e6be[(_0x450f87(0xec))](_0x19496c,_0x283018),{pointGroup:_0x550c17}=(_0x310bf6=_0x345c50[_0x450f87(0x324)](_0x41f504,_0x3e175e))!=null?_0x310bf6:{};if(_0x550c17==null||_0x550c17[_0x450f87(0x215)]===0x0)continue;this[_0x450f87(0x37d)](_0x12cd20,_0x550c17,_0x63c746,_0x3bbb3f);}else{if(!_0x5aaab2){const {borderBoxPointGroup:_0x5a3c85}=_0x5ad7b6[_0x450f87(0x324)](_0x41f504,_0x3e175e);if(_0x5a3c85['length']===0x0)continue;this[_0x450f87(0x1ea)](_0x12cd20,_0x5a3c85,_0x63c746,_0x3bbb3f);}}}}}[_0x477bc3(0x28a)](_0xd7520d,_0x5866f5,_0x96ff79,_0x39d1e3,_0x307eaa){const _0x2cea40=_0x477bc3,_0x696f52=this['_getAnchorBounding'](_0x5866f5),{left:_0x5b5d9b,top:_0x1caa8e,height:_0x1a4d40}=_0x696f52,_0x214211=this[_0x2cea40(0x265)](),_0x4870c9=_0x185f72/_0x214211,_0x1232bc=new _0x433081['Rect'](_0x3fded9+_0x162031[_0x2cea40(0x38e)](_0x307f23),{'left':_0x5b5d9b+_0x96ff79-_0x4870c9,'top':_0x1caa8e+_0x39d1e3,'height':_0x1a4d40,'width':_0x5bca90,'fill':_0xd7520d||_0x433081['getColor'](_0x162031[_0x2cea40(0x254)][_0x2cea40(0x286)],0x0),'strokeWidth':_0x4870c9,'stroke':_0x384113,'evented':!0x0});this[_0x2cea40(0x352)]=_0x1232bc,this['_scene'][_0x2cea40(0x208)](_0x1232bc,_0x74e6be[_0x2cea40(0x302)]);const _0x59f298=new _0x433081[(_0x2cea40(0x231))](_0x3fded9+_0x162031[_0x2cea40(0x38e)](_0x307f23),{'left':_0x5b5d9b+_0x96ff79-_0x4870c9,'top':_0x1caa8e+_0x39d1e3-_0xcd4d86/0x2,'height':_0xcd4d86,'width':_0xcd4d86,'fill':_0xd7520d||_0x433081[_0x2cea40(0x21a)](_0x162031['COLORS'][_0x2cea40(0x286)],0x0),'strokeWidth':0x0,'stroke':_0xd7520d||_0x433081[_0x2cea40(0x21a)](_0x162031[_0x2cea40(0x254)][_0x2cea40(0x286)],0x0),'evented':!0x1});this[_0x2cea40(0x27f)]=_0x59f298,this['_scene'][_0x2cea40(0x208)](_0x59f298,_0x74e6be['TEXT_RANGE_LAYER_INDEX']);const _0x535216=new _0x2a34f4(_0x3fded9+_0x162031[_0x2cea40(0x38e)](_0x307f23),{'left':_0x5b5d9b+_0x96ff79-_0x4870c9,'top':_0x1caa8e+_0x39d1e3-_0x2a224c,'text':_0x307eaa,'color':_0xd7520d});this[_0x2cea40(0x396)]=_0x535216,this[_0x2cea40(0x2b5)][_0x2cea40(0x208)](_0x535216,_0x74e6be['TEXT_RANGE_LAYER_INDEX']),this[_0x2cea40(0x158)]=!0x1;}[_0x477bc3(0x1f0)](){const _0x1c18b6=_0x477bc3,_0x42a2cf=this[_0x1c18b6(0x352)]['onPointerEnter$']['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x23f5e2=this[_0x1c18b6(0x352)][_0x1c18b6(0x243)]['subscribeEvent'](()=>{const _0x516770=_0x1c18b6;this[_0x516770(0x2f3)]&&clearTimeout(this[_0x516770(0x2f3)]),this[_0x516770(0x2f3)]=setTimeout(()=>{const _0x3e3e1d=_0x516770;this[_0x3e3e1d(0x158)]=!0x1;},0x7d0);});return()=>{const _0x489236=_0x1c18b6;_0x42a2cf[_0x489236(0x345)](),_0x23f5e2[_0x489236(0x345)]();};}[_0x477bc3(0x1ea)](_0x10b38f,_0x5d15e3,_0x567cb9,_0x3de138){const _0xbfbfdf=_0x477bc3,_0x1b7099=new _0x162031[(_0xbfbfdf(0x245))](_0x10b38f)[_0xbfbfdf(0x189)](0.2)[_0xbfbfdf(0x3d5)](),_0x4bcb1a=new _0x433081[(_0xbfbfdf(0x2e4))](_0x49fae5+_0x162031['generateRandomId'](_0x307f23),{'pointsGroup':_0x5d15e3,'fill':_0x1b7099||_0x433081[_0xbfbfdf(0x21a)](_0x162031[_0xbfbfdf(0x254)][_0xbfbfdf(0x286)],0.2),'left':_0x567cb9,'top':_0x3de138,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xbfbfdf(0x100)]['push'](_0x4bcb1a),this['_scene']['addObject'](_0x4bcb1a,_0x74e6be[_0xbfbfdf(0x302)]);}[_0x477bc3(0x37d)](_0xe6e0fc,_0xf1f908,_0x2fcdc4,_0x574396){const _0x22b8b4=_0x477bc3,_0x45dc16=new _0x162031[(_0x22b8b4(0x245))](_0xe6e0fc)[_0x22b8b4(0x189)](0.2)[_0x22b8b4(0x3d5)](),_0x400628=new _0x433081['RegularPolygon'](_0x2b7512+_0x162031[_0x22b8b4(0x38e)](_0x307f23),{'pointsGroup':_0xf1f908,'fill':_0x45dc16||_0x433081[_0x22b8b4(0x21a)](_0x162031[_0x22b8b4(0x254)][_0x22b8b4(0x286)],0.2),'left':_0x2fcdc4,'top':_0x574396,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x22b8b4(0x100)][_0x22b8b4(0x138)](_0x400628),this[_0x22b8b4(0x2b5)]['addObject'](_0x400628,_0x74e6be[_0x22b8b4(0x302)]);}[_0x477bc3(0x323)](_0x505c86){const _0xa5afd2=_0x505c86[0x0],_0x38422b=_0xa5afd2[0x0],_0x183d0a=_0xa5afd2[0x2],{x:_0x25f4d4,y:_0x34a3c1}=_0x38422b,{x:_0x249e11,y:_0x345c5e}=_0x183d0a;return{'left':_0x25f4d4,'top':_0x34a3c1,'width':_0x249e11-_0x25f4d4,'height':_0x345c5e-_0x34a3c1};}['_getScale'](){const _0x206669=_0x477bc3,{scaleX:_0x3b243a,scaleY:_0x59f587}=this['_scene'][_0x206669(0x2e5)]();return Math[_0x206669(0x38b)](_0x3b243a,_0x59f587);}}var _0xceaa62=Object[_0x477bc3(0x1ec)],_0x4c60d3=(_0x2a9156,_0x309792,_0x4120b1,_0x150656)=>{const _0x55482d=_0x477bc3;for(var _0x241c69=_0x150656>0x1?void 0x0:_0x150656?_0xceaa62(_0x309792,_0x4120b1):_0x309792,_0x36d7d3=_0x2a9156[_0x55482d(0x215)]-0x1,_0x3c0d9d;_0x36d7d3>=0x0;_0x36d7d3--)(_0x3c0d9d=_0x2a9156[_0x36d7d3])&&(_0x241c69=_0x3c0d9d(_0x241c69)||_0x241c69);return _0x241c69;},_0x362ca2=(_0x5a971f,_0x1c601a)=>(_0x4d9123,_0x41e98e)=>_0x1c601a(_0x4d9123,_0x41e98e,_0x5a971f);let _0x560482=class extends _0x162031[_0x477bc3(0xea)]{constructor(_0x16097d,_0x12a5ee,_0x5cf45e,_0x28fba8,_0x13a3e6){const _0x5aa08e=_0x477bc3;super(),_0x387a01(this,_0x5aa08e(0x284),[]),_0x387a01(this,_0x5aa08e(0x218),[]),(this[_0x5aa08e(0x298)]=_0x16097d,this[_0x5aa08e(0x3a0)]=_0x12a5ee,this[_0x5aa08e(0x26e)]=_0x5cf45e,this[_0x5aa08e(0x139)]=_0x28fba8,this[_0x5aa08e(0x26b)]=_0x13a3e6,this[_0x5aa08e(0x1ad)]());}['_init'](){const _0x5e55b2=_0x477bc3,_0x286cf7=this[_0x5e55b2(0x298)]['unitId'],_0x328a0a=this['_docSkeletonManagerService'];this[_0x5e55b2(0x32e)](_0xe327d9['combineLatest']([this[_0x5e55b2(0x26e)][_0x5e55b2(0x10c)](_0x286cf7),this[_0x5e55b2(0x26b)][_0x5e55b2(0x1e9)]])['pipe'](_0x57b5b5['map'](([_0x55fce3,_0x5a2fec])=>({'skeleton':_0x328a0a[_0x5e55b2(0x115)](),'cursors':[..._0x55fce3[_0x5e55b2(0x3ca)]()][_0x5e55b2(0x1e1)](_0x516680=>({..._0x516680,'color':this[_0x5e55b2(0x26b)]['getColorFromTheme'](_0x516680[_0x5e55b2(0x370)])}))})))[_0x5e55b2(0x2cd)](_0xc8fe7e=>{const _0x2999ac=_0x5e55b2;if(this[_0x2999ac(0x280)](),_0xc8fe7e){const {skeleton:_0x1dbadb,cursors:_0x4c0f70}=_0xc8fe7e;this[_0x2999ac(0x168)](_0x1dbadb,_0x4c0f70);}})),this['_initResize'](),this[_0x5e55b2(0x335)]();}[_0x477bc3(0x168)](_0x1cd659,_0x52ba42){const _0x15b013=_0x477bc3,{scene:_0x14dfc3,mainComponent:_0x5b61ae}=this[_0x15b013(0x298)],_0x50baad=_0x52ba42[_0x15b013(0x239)](_0x3ea7ff=>new _0x291d53(_0x3ea7ff,_0x14dfc3,_0x1cd659,_0x5b61ae));this[_0x15b013(0x284)]=_0x50baad,this[_0x15b013(0x218)]=_0x52ba42;}[_0x477bc3(0x21b)](){const _0x31eda0=_0x477bc3;this[_0x31eda0(0x280)]();const {scene:_0x5245a6,mainComponent:_0x73f0fa}=this[_0x31eda0(0x298)],_0x3f00e0=this['_docSkeletonManagerService'][_0x31eda0(0x115)](),_0x21fe28=this[_0x31eda0(0x218)][_0x31eda0(0x239)](_0x316a9e=>new _0x291d53(_0x316a9e,_0x5245a6,_0x3f00e0,_0x73f0fa));this[_0x31eda0(0x284)]=_0x21fe28;}[_0x477bc3(0x280)](){const _0x23bd6c=_0x477bc3;this[_0x23bd6c(0x284)][_0x23bd6c(0x3c7)](_0x54a03d=>_0x54a03d[_0x23bd6c(0x388)]()),this['_cursorShapes']=[];}[_0x477bc3(0x335)](){const _0x49237a=_0x477bc3,_0x22c1a4=[_0x74e6be['SetDocZoomRatioOperation']['id']];this[_0x49237a(0x32e)](this[_0x49237a(0x139)][_0x49237a(0x1b7)](_0x1d6d3e=>{const _0x349650=_0x49237a;_0x22c1a4['includes'](_0x1d6d3e['id'])&&_0x1d6d3e['params'][_0x349650(0x150)]===this[_0x349650(0x298)][_0x349650(0x150)]&&this[_0x349650(0x21b)]();}));}[_0x477bc3(0x175)](){const _0x324a57=_0x477bc3;this[_0x324a57(0x32e)](_0x162031[_0x324a57(0x3a1)](this['_context'][_0x324a57(0x3d3)][_0x324a57(0x109)])['pipe'](_0x57b5b5[_0x324a57(0x124)](_0x515f97=>_0x515f97[_0x324a57(0x24d)]===_0x433081['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x324a57(0x1f8)]),_0x57b5b5['throttleTime'](0x10))['subscribe'](()=>{const _0x5b9ca4=_0x324a57;this[_0x5b9ca4(0x21b)]();}));}};_0x560482=_0x4c60d3([_0x362ca2(0x1,_0x162031[_0x477bc3(0x2b0)](_0x47f67f[_0x477bc3(0x2e0)])),_0x362ca2(0x2,_0x162031[_0x477bc3(0x2b0)](_0x421cc1)),_0x362ca2(0x3,_0x162031[_0x477bc3(0x326)]),_0x362ca2(0x4,_0x162031['Inject'](_0x162031[_0x477bc3(0x2be)]))],_0x560482);const _0x49697b=0x1,_0xfe7f48=1.5;class _0x5ff006 extends _0x433081[_0x477bc3(0xf6)]{constructor(_0x5505f3,_0x227001){const _0x2c7eb7=_0x477bc3;super(_0x5505f3,_0x227001),_0x387a01(this,_0x2c7eb7(0x24a)),_0x387a01(this,_0x2c7eb7(0x26f),!0x1),_0x387a01(this,_0x2c7eb7(0xf5)),_0x387a01(this,'_name',''),_0x387a01(this,'_labelPosition',_0x2c7eb7(0x16d)),_0x387a01(this,_0x2c7eb7(0x338)),(_0x227001&&this[_0x2c7eb7(0x317)](_0x227001),this[_0x2c7eb7(0x3a6)][_0x2c7eb7(0x259)](()=>this[_0x2c7eb7(0x317)]({'hovered':!0x0})),this['onPointerLeave$'][_0x2c7eb7(0x259)](()=>this[_0x2c7eb7(0x317)]({'hovered':!0x1})));}[_0x477bc3(0x317)](_0x11e478){const _0x3ed9df=_0x477bc3;var _0x3f7577,_0x174654,_0x405b99,_0x5c1fd9,_0x2a9078,_0x2d5904;this[_0x3ed9df(0x24a)]=(_0x3f7577=_0x11e478[_0x3ed9df(0x370)])!=null?_0x3f7577:this[_0x3ed9df(0x24a)],this['_hovered']=(_0x174654=_0x11e478[_0x3ed9df(0x3c5)])!=null?_0x174654:this[_0x3ed9df(0x26f)],this[_0x3ed9df(0xf5)]=(_0x405b99=_0x11e478[_0x3ed9df(0x2ac)])!=null?_0x405b99:this[_0x3ed9df(0xf5)],this[_0x3ed9df(0x1e6)]=(_0x5c1fd9=_0x11e478[_0x3ed9df(0x3d4)])!=null?_0x5c1fd9:this[_0x3ed9df(0x1e6)],this[_0x3ed9df(0x2fa)]=(_0x2a9078=_0x11e478[_0x3ed9df(0x301)])!=null?_0x2a9078:this[_0x3ed9df(0x2fa)],this[_0x3ed9df(0x338)]=(_0x2d5904=_0x11e478[_0x3ed9df(0x356)])!=null?_0x2d5904:this[_0x3ed9df(0x338)],this[_0x3ed9df(0x16e)]({'width':_0x11e478[_0x3ed9df(0x2c0)],'height':_0x11e478['height']});}[_0x477bc3(0x1a4)](_0x367d9d){const _0x5707ba=_0x477bc3,{row:_0x5f194c,column:_0x58ad06}=_0x367d9d;if(_0x5f194c>=this[_0x5707ba(0xf5)]['startRow']&&_0x5f194c<=this[_0x5707ba(0xf5)]['endRow']&&_0x58ad06>=this[_0x5707ba(0xf5)][_0x5707ba(0x163)]&&_0x58ad06<=this[_0x5707ba(0xf5)][_0x5707ba(0x21f)]){this[_0x5707ba(0x317)]({'hovered':!0x0});return;}this[_0x5707ba(0x317)]({'hovered':!0x1});}['triggerDblclick'](_0x44983d){return!0x1;}['_draw'](_0x3d40ad){const _0x7a12b6=_0x477bc3;_0x433081[_0x7a12b6(0x231)][_0x7a12b6(0x145)](_0x3d40ad,{'width':this[_0x7a12b6(0x2c0)],'height':this[_0x7a12b6(0x291)],'strokeWidth':_0xfe7f48,'stroke':this[_0x7a12b6(0x24a)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x7a12b6(0x26f)]&&(_0x3d40ad[_0x7a12b6(0x381)](),_0x3d40ad[_0x7a12b6(0x142)](0x1,0x0,0x0,0x1,this['width'],this[_0x7a12b6(0x2fa)]===_0x7a12b6(0x2f0)?0x0:-_0x2a224c),_0x2a34f4[_0x7a12b6(0x145)](_0x3d40ad,{'text':this[_0x7a12b6(0x1e6)],'color':this[_0x7a12b6(0x24a)]}),_0x3d40ad[_0x7a12b6(0x1be)]());}}var _0x3efdf3=Object[_0x477bc3(0x1ec)],_0x21f188=(_0x4c6140,_0x3cdba1,_0x8752b8,_0x9cf6a1)=>{for(var _0x3a0146=_0x9cf6a1>0x1?void 0x0:_0x9cf6a1?_0x3efdf3(_0x3cdba1,_0x8752b8):_0x3cdba1,_0x553934=_0x4c6140['length']-0x1,_0x2b80c0;_0x553934>=0x0;_0x553934--)(_0x2b80c0=_0x4c6140[_0x553934])&&(_0x3a0146=_0x2b80c0(_0x3a0146)||_0x3a0146);return _0x3a0146;},_0x2b05e5=(_0x482322,_0x4a1065)=>(_0xcea71d,_0x3ace51)=>_0x4a1065(_0xcea71d,_0x3ace51,_0x482322);const _0x3edc2a=0x1389;let _0x2eb725=class extends _0x162031[_0x477bc3(0xea)]{constructor(_0x2c055b,_0x176596,_0x268ab8,_0x37435a){const _0x1931d5=_0x477bc3;super(),_0x387a01(this,_0x1931d5(0x218),new Set()),_0x387a01(this,_0x1931d5(0x36e),null),(this[_0x1931d5(0x298)]=_0x2c055b,this[_0x1931d5(0x300)]=_0x176596,this[_0x1931d5(0x26e)]=_0x268ab8,this[_0x1931d5(0x26b)]=_0x37435a,this['_init']());}[_0x477bc3(0x1ad)](){const _0x438ec3=_0x477bc3;this['_sheetSkeletonManagerService'][_0x438ec3(0x332)][_0x438ec3(0x2d1)](_0x57b5b5[_0x438ec3(0x331)](this[_0x438ec3(0x1c1)]),_0x57b5b5[_0x438ec3(0x220)](_0x24c6f0=>{const _0x50f39b=_0x438ec3;if(_0x24c6f0){const _0xdcc0d3=_0x24c6f0[_0x50f39b(0x39c)];return _0xe327d9[_0x50f39b(0x1fb)](this[_0x50f39b(0x26e)][_0x50f39b(0x10c)](this[_0x50f39b(0x298)]['unitId']),this['_themeService']['currentTheme$'])['pipe'](_0x57b5b5[_0x50f39b(0x239)](([_0x22d750,_0x5cddf1])=>{const _0x49e4e6=_0x50f39b,_0x38e03a=new Map();return _0x22d750[_0x49e4e6(0x3c7)]((_0x29f984,_0x42e22d)=>{const _0x3e72ee=_0x49e4e6;if(_0x29f984[_0x3e72ee(0x12e)]===_0xdcc0d3){const _0x675277={..._0x29f984};_0x675277[_0x3e72ee(0x370)]=this['_themeService'][_0x3e72ee(0x1a8)](_0x29f984[_0x3e72ee(0x370)]),_0x38e03a[_0x3e72ee(0x34a)](_0x42e22d,_0x675277);}}),{'skeleton':_0x24c6f0,'cursors':_0x38e03a};}));}return _0xe327d9['of']({'skeleton':null,'cursors':new Map()});}))[_0x438ec3(0x2cd)](({skeleton:_0xf1b502,cursors:_0x2e878b})=>{const _0x374bcd=_0x438ec3;this[_0x374bcd(0x280)](),_0xf1b502&&this[_0x374bcd(0x168)](_0xf1b502,_0x2e878b);}),this['_sheetSkeletonManagerService'][_0x438ec3(0x332)][_0x438ec3(0x2cd)](_0x4d245a=>{const _0x5d7b4a=_0x438ec3;if(_0x4d245a==null)return;const {skeleton:_0x1ab0ff}=_0x4d245a,{scene:_0x2360ff}=this[_0x5d7b4a(0x298)];_0x2360ff[_0x5d7b4a(0x1c6)][_0x5d7b4a(0x259)](_0x162031['debounce'](_0x10ddb5=>{const _0x5e31f2=_0x5d7b4a;var _0x3ddff7,_0x2f529c;const {offsetX:_0x32244d,offsetY:_0x47d3d2}=_0x10ddb5,{x:_0x1b9fc2,y:_0x182afd}=_0x2360ff['getRelativeToViewportCoord'](_0x433081[_0x5e31f2(0x1d4)][_0x5e31f2(0x373)]([_0x32244d,_0x47d3d2])),{scaleX:_0x59b025,scaleY:_0x343058}=_0x2360ff['getAncestorScale'](),_0x2ef878=_0x2360ff[_0x5e31f2(0x2ec)](_0x433081[_0x5e31f2(0x2ae)][_0x5e31f2(0x191)]),_0x301f56=_0x2360ff[_0x5e31f2(0x235)](_0x433081['Vector2'][_0x5e31f2(0x373)]([_0x1b9fc2,_0x182afd]),_0x2ef878),_0x2884f6=_0x1ab0ff[_0x5e31f2(0x337)](_0x32244d,_0x47d3d2,_0x59b025,_0x343058,_0x301f56);((_0x3ddff7=this[_0x5e31f2(0x36e)])==null?void 0x0:_0x3ddff7[_0x5e31f2(0x364)])===_0x2884f6[_0x5e31f2(0x364)]&&((_0x2f529c=this['_lastPointer'])==null?void 0x0:_0x2f529c['row'])===_0x2884f6[_0x5e31f2(0x1f2)]||this[_0x5e31f2(0x218)]['forEach'](_0x3abd30=>{const _0x57527f=_0x5e31f2;_0x3abd30[_0x57527f(0x1a4)](_0x2884f6);});},0x64));});}[_0x477bc3(0x168)](_0x58042d,_0x4bfec2){const _0x20b7c9=_0x477bc3;var _0x41b450;const _0x12ecc8=(_0x41b450=this['_sheetSkeletonManagerService'][_0x20b7c9(0x31c)]())==null?void 0x0:_0x41b450['skeleton'];if(!_0x12ecc8)return;const _0x38ddc1=this[_0x20b7c9(0x344)]();if(!_0x38ddc1)return;this[_0x20b7c9(0x218)]['forEach'](_0x17dd3d=>{const _0x63bbe7=_0x20b7c9;_0x17dd3d[_0x63bbe7(0x198)]();});const {scene:_0x43766d}=_0x38ddc1,_0x19ba27=_0x2a23ef(Array['from'](_0x4bfec2[_0x20b7c9(0x3ca)]()))[_0x20b7c9(0x239)](_0x45ad3c=>{const _0x58f3a1=_0x20b7c9,{color:_0x58109f,range:_0x332b48,name:_0x263fc6,selection:_0x469b7f,sheetID:_0xeb229e}=_0x45ad3c,{startColumn:_0x144fe7,startRow:_0x5b3c2f,endColumn:_0x4914aa,endRow:_0x5522f6}=_0x332b48,_0x2cd3ae=_0x9b001c[_0x58f3a1(0x1cf)](_0x5b3c2f,_0x144fe7,_0x43766d,_0x12ecc8),_0x148dcf=_0x9b001c[_0x58f3a1(0x1cf)](_0x5522f6,_0x4914aa,_0x43766d,_0x12ecc8),{columnHeaderHeightAndMarginTop:_0x781548}=_0x12ecc8,{startX:_0x47019d,startY:_0x9e982d}=_0x2cd3ae,{endX:_0x49e705,endY:_0x59488c}=_0x148dcf,_0x2fe238=_0x49e705-_0x47019d,_0x78122=_0x59488c-_0x9e982d,_0x5835f7={'labelPosition':_0x9e982d-_0x781548>=_0x2a224c?_0x58f3a1(0x16d):_0x58f3a1(0x2f0),'sheetID':_0xeb229e,'range':_0x332b48,'color':_0x58109f,'name':_0x263fc6,'selection':_0x469b7f,'left':_0x47019d,'top':_0x9e982d,'width':_0x2fe238,'height':_0x78122,'evented':!0x1,'zIndex':_0x3edc2a};return new _0x5ff006(_0x263fc6,_0x5835f7);});_0x43766d[_0x20b7c9(0x28f)](_0x19ba27,_0x49697b),this[_0x20b7c9(0x218)]=new Set(_0x19ba27);}[_0x477bc3(0x280)](){const _0x5e1a86=_0x477bc3;var _0x17504d;(_0x17504d=this[_0x5e1a86(0x218)])==null||_0x17504d[_0x5e1a86(0x3c7)](_0x31c8cd=>_0x31c8cd[_0x5e1a86(0x388)]());}[_0x477bc3(0x344)](){const _0x419428=_0x477bc3;return _0x9b001c[_0x419428(0x1ce)](this[_0x419428(0x298)][_0x419428(0x186)],this['_context']);}};_0x2eb725=_0x21f188([_0x2b05e5(0x1,_0x162031['Inject'](_0x9b001c['SheetSkeletonManagerService'])),_0x2b05e5(0x2,_0x162031[_0x477bc3(0x2b0)](_0x421cc1)),_0x2b05e5(0x3,_0x162031[_0x477bc3(0x2b0)](_0x162031[_0x477bc3(0x2be)]))],_0x2eb725);function _0x2a23ef(_0x5a35ea){const _0xe870a2=_0x477bc3,_0x14f28f=new Map();return _0x5a35ea[_0xe870a2(0x3c7)](_0x2ac9c1=>{const _0x30465c=_0xe870a2;if(_0x14f28f[_0x30465c(0x3cf)](_0x2ac9c1[_0x30465c(0x197)])){const _0x57dfcc=_0x14f28f['get'](_0x2ac9c1[_0x30465c(0x197)]);_0x57dfcc[_0x30465c(0x3d4)]+=',\x20'+_0x2ac9c1[_0x30465c(0x3d4)];}else _0x14f28f[_0x30465c(0x34a)](_0x2ac9c1[_0x30465c(0x197)],_0x2ac9c1);}),Array[_0xe870a2(0x360)](_0x14f28f[_0xe870a2(0x3ca)]());}var _0x511c4d=Object['getOwnPropertyDescriptor'],_0x43570a=(_0x5c607d,_0x4dc8dc,_0x4f36bf,_0xc75653)=>{const _0x183b6e=_0x477bc3;for(var _0x35e517=_0xc75653>0x1?void 0x0:_0xc75653?_0x511c4d(_0x4dc8dc,_0x4f36bf):_0x4dc8dc,_0x351f52=_0x5c607d[_0x183b6e(0x215)]-0x1,_0x557dce;_0x351f52>=0x0;_0x351f52--)(_0x557dce=_0x5c607d[_0x351f52])&&(_0x35e517=_0x557dce(_0x35e517)||_0x35e517);return _0x35e517;},_0x514557=(_0x38c295,_0x503a3b)=>(_0x3f5773,_0x509603)=>_0x503a3b(_0x3f5773,_0x509603,_0x38c295);let _0x55cb2a=class extends _0x162031[_0x477bc3(0x148)]{constructor(_0x5f5adf,_0x30b101,_0x428a9b,_0x36b13d,_0x45b36c,_0x4e01cb){const _0x408c28=_0x477bc3;super(),this[_0x408c28(0x15b)]=_0x5f5adf,this[_0x408c28(0x273)]=_0x30b101,this[_0x408c28(0x227)]=_0x428a9b,this[_0x408c28(0x377)]=_0x36b13d,this[_0x408c28(0x3bc)]=_0x45b36c,this[_0x408c28(0x10b)]=_0x4e01cb,this['_setupBeforeClosingHandler'](),this[_0x408c28(0x25e)]();}[_0x477bc3(0x167)](){const _0x2eac18=_0x477bc3;this[_0x2eac18(0x32e)](this[_0x2eac18(0x15b)][_0x2eac18(0x3a7)](()=>{const _0x24b76f=_0x2eac18;if(this[_0x24b76f(0x273)][_0x24b76f(0x130)][_0x24b76f(0x12d)])return this['_localeService']['t'](_0x24b76f(0x39a));}));}[_0x477bc3(0x25e)](){const _0x4afecc=_0x477bc3;this[_0x4afecc(0x32e)](this[_0x4afecc(0x227)][_0x4afecc(0x177)][_0x4afecc(0x2cd)](_0x491368=>{const _0x46e683=_0x4afecc;_0x491368['id']===_0x44b518[_0x46e683(0x2a0)][_0x46e683(0x184)]&&this['_messageService'][_0x46e683(0x348)]({'type':_0x3fb0c6['MessageType'][_0x46e683(0x1ef)],'content':this[_0x46e683(0x10b)]['t']('collaboration.single-unit.warning')}),_0x491368['id']===_0x44b518[_0x46e683(0x2a0)][_0x46e683(0xee)]&&this[_0x46e683(0x377)][_0x46e683(0x348)]({'type':_0x3fb0c6[_0x46e683(0x33e)][_0x46e683(0x1ef)],'content':this[_0x46e683(0x10b)]['t']('collaboration.closeRoom')}),_0x491368['id']===_0x44b518[_0x46e683(0x2a0)]['PERMISSION_DENIED']&&this[_0x46e683(0x3bc)][_0x46e683(0x348)]({'title':this['_localeService']['t'](_0x46e683(0x1c4)),'content':this[_0x46e683(0x10b)]['t'](_0x46e683(0xfb)),'type':_0x46e683(0x2d0),'duration':0x0}),_0x491368['id']===_0x44b518[_0x46e683(0x2a0)][_0x46e683(0x1eb)]&&this[_0x46e683(0x377)][_0x46e683(0x348)]({'type':_0x3fb0c6[_0x46e683(0x33e)][_0x46e683(0x112)],'content':this[_0x46e683(0x10b)]['t']('collaboration.closeRoom')+'('+_0x491368['data']+')'}),_0x491368['id']===_0x44b518[_0x46e683(0x2a0)][_0x46e683(0x229)]&&this[_0x46e683(0x377)][_0x46e683(0x348)]({'type':_0x3fb0c6[_0x46e683(0x33e)]['Warning'],'content':this[_0x46e683(0x10b)]['t'](_0x491368[_0x46e683(0x1f9)]||'')}),_0x491368['id']===_0x44b518[_0x46e683(0x2a0)]['SOCKET_FAILED_RETRY']&&this[_0x46e683(0x377)][_0x46e683(0x348)]({'type':_0x3fb0c6[_0x46e683(0x33e)][_0x46e683(0x1ef)],'content':this['_localeService']['t'](_0x46e683(0x10f))}),_0x491368['id']===_0x44b518[_0x46e683(0x2a0)][_0x46e683(0xfd)]&&this[_0x46e683(0x377)]['show']({'type':_0x3fb0c6['MessageType'][_0x46e683(0x112)],'content':this[_0x46e683(0x10b)]['t'](_0x46e683(0x27a))}),_0x491368['id']===_0x44b518[_0x46e683(0x2a0)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x46e683(0x377)]['show']({'type':_0x3fb0c6[_0x46e683(0x33e)][_0x46e683(0x112)],'content':this[_0x46e683(0x10b)]['t'](_0x46e683(0x367))});}));}};_0x55cb2a=_0x43570a([_0x514557(0x0,_0x198137[_0x477bc3(0x374)]),_0x514557(0x1,_0x44b518['ILocalCacheService']),_0x514557(0x2,_0x162031[_0x477bc3(0x2b0)](_0x44b518[_0x477bc3(0x2aa)])),_0x514557(0x3,_0x198137[_0x477bc3(0x222)]),_0x514557(0x4,_0x198137[_0x477bc3(0xeb)]),_0x514557(0x5,_0x162031[_0x477bc3(0x2b0)](_0x162031[_0x477bc3(0x1cd)]))],_0x55cb2a);var _0x10bc08=Object[_0x477bc3(0x1ec)],_0x89c985=(_0x4498df,_0xc84eaf,_0x6f5fb3,_0x5d8359)=>{for(var _0x1cde41=_0x5d8359>0x1?void 0x0:_0x5d8359?_0x10bc08(_0xc84eaf,_0x6f5fb3):_0xc84eaf,_0x43b86c=_0x4498df['length']-0x1,_0x15c42e;_0x43b86c>=0x0;_0x43b86c--)(_0x15c42e=_0x4498df[_0x43b86c])&&(_0x1cde41=_0x15c42e(_0x1cde41)||_0x1cde41);return _0x1cde41;},_0x114be6=(_0x59c3e7,_0x476327)=>(_0x3e87d7,_0x2c384c)=>_0x476327(_0x3e87d7,_0x2c384c,_0x59c3e7);let _0x8f72b=class extends _0x162031['Disposable']{constructor(_0xfc81dc,_0x27687c,_0x338324,_0x55dbcf){const _0x3eb3da=_0x477bc3;super(),_0x387a01(this,_0x3eb3da(0x36d)),(this[_0x3eb3da(0x3da)]=_0xfc81dc,this['_httpService']=_0x27687c,this[_0x3eb3da(0x297)]=_0x338324,this['_collaborationSessionService']=_0x55dbcf,this[_0x3eb3da(0x1ad)]());}[_0x477bc3(0x1ad)](){const _0x40163f=_0x477bc3;this[_0x40163f(0x102)](),this[_0x40163f(0x3bb)](),this[_0x40163f(0x334)](),this[_0x40163f(0x38c)]();}[_0x477bc3(0x38c)](){const _0x1711f1=_0x477bc3;this[_0x1711f1(0x32e)](this[_0x1711f1(0x221)][_0x1711f1(0x36f)][_0x1711f1(0x2cd)](_0x570ff6=>{const _0x2b3c6d=_0x1711f1;this[_0x2b3c6d(0x36d)]=_0x570ff6==null?void 0x0:_0x570ff6[_0x2b3c6d(0x3b2)];}));}[_0x477bc3(0x102)](){const _0x5bdcf2=_0x477bc3,_0x512780=_0x19e5f8=>{const _0x510294=_0x1b11;var _0xd01e6e;this[_0x510294(0x131)](_0x510294(0x2d0),_0x510294(0x1b8)+_0x19e5f8['message']+_0x510294(0x347)+_0x19e5f8[_0x510294(0x1bb)]+':'+_0x19e5f8[_0x510294(0xf0)]+':'+_0x19e5f8['colno']+'\x0a'+(((_0xd01e6e=_0x19e5f8[_0x510294(0x2d0)])==null?void 0x0:_0xd01e6e[_0x510294(0x394)])||''));};window[_0x5bdcf2(0x2d6)](_0x5bdcf2(0x2d0),_0x512780),this[_0x5bdcf2(0x32e)](()=>{const _0x3d5467=_0x5bdcf2;window[_0x3d5467(0x279)]('error',_0x512780);});}[_0x477bc3(0x3bb)](){const _0x11fe5e=_0x477bc3,_0x1f0c0a=_0x2bc5ec=>{const _0x33f874=_0x1b11;this[_0x33f874(0x131)]('error',_0x33f874(0x305)+_0x2bc5ec[_0x33f874(0x397)]);};window['addEventListener']('unhandledrejection',_0x1f0c0a),this[_0x11fe5e(0x32e)](()=>{window['removeEventListener']('unhandledrejection',_0x1f0c0a);});}[_0x477bc3(0x334)](){const _0x159ffc=_0x477bc3,_0x2f939f=this[_0x159ffc(0x297)][_0x159ffc(0x2d0)]['bind'](this['_logService']);this[_0x159ffc(0x297)][_0x159ffc(0x2d0)]=(..._0x5b8dad)=>{const _0x1ccb4d=_0x159ffc,_0x49e19b=_0x5b8dad[_0x1ccb4d(0x239)](_0x385673=>_0x385673 instanceof Error?_0x385673['message']+'\x0a'+_0x385673[_0x1ccb4d(0x394)]:String(_0x385673))[_0x1ccb4d(0x122)]('\x20');this[_0x1ccb4d(0x131)](_0x1ccb4d(0x2d0),_0x1ccb4d(0x341)+_0x49e19b),_0x2f939f(..._0x5b8dad);},this[_0x159ffc(0x32e)](()=>{const _0x3fe18b=_0x159ffc;this[_0x3fe18b(0x297)][_0x3fe18b(0x2d0)]=_0x2f939f;});}['_uploadLog'](_0x3b2deb,_0x46f5de){const _0x6bb33c=_0x477bc3;try{const _0x148c42={'userId':this[_0x6bb33c(0x36d)],'logLabel':_0x3b2deb,'content':_0x46f5de};this[_0x6bb33c(0x180)]['post']('/universer-api/frontend/logs',{'body':_0x148c42})[_0x6bb33c(0x23b)](()=>{});}catch{}}};_0x8f72b=_0x89c985([_0x114be6(0x0,_0x162031['Inject'](_0x162031[_0x477bc3(0x1e2)])),_0x114be6(0x1,_0x162031['Inject'](_0x1a6c2d['HTTPService'])),_0x114be6(0x2,_0x162031['ILogService']),_0x114be6(0x3,_0x162031['Inject'](_0x44b518[_0x477bc3(0x1e5)]))],_0x8f72b);const _0x1050c1=_0x477bc3(0x2df),_0x1b221={};var _0xede3e2=Object[_0x477bc3(0x1ec)],_0x411a7a=(_0x1d83c8,_0x13f5b7,_0x561fb0,_0x28d916)=>{const _0x553f13=_0x477bc3;for(var _0x2f14a6=_0x28d916>0x1?void 0x0:_0x28d916?_0xede3e2(_0x13f5b7,_0x561fb0):_0x13f5b7,_0x33ad8b=_0x1d83c8[_0x553f13(0x215)]-0x1,_0x1b04ca;_0x33ad8b>=0x0;_0x33ad8b--)(_0x1b04ca=_0x1d83c8[_0x33ad8b])&&(_0x2f14a6=_0x1b04ca(_0x2f14a6)||_0x2f14a6);return _0x2f14a6;},_0x15e2ef=(_0x306d24,_0x42b33d)=>(_0x54604f,_0x2fe650)=>_0x42b33d(_0x54604f,_0x2fe650,_0x306d24);let _0x492b1f=class{constructor(_0x232bc1,_0x6f0b38){const _0x2e9eb1=_0x477bc3;this[_0x2e9eb1(0x22c)]=_0x232bc1,this['_renderManagerService']=_0x6f0b38;}[_0x477bc3(0x350)](_0x1708a9){const _0x218516=_0x477bc3;this['_transformUndoRedoStack'](_0x1708a9),this[_0x218516(0x2b4)](_0x1708a9);}['transformRemoteChangeset'](_0xcce728){const _0x3407f0=_0x477bc3,{unitID:_0x41ec38}=_0xcce728,_0x434ba9=this[_0x3407f0(0x1f4)][_0x3407f0(0x288)](_0x41ec38)[_0x3407f0(0x135)](_0x74e6be[_0x3407f0(0x3d7)]),{redoCache:_0x3865a6}=_0x434ba9[_0x3407f0(0x212)]();if(_0x3865a6['length']===0x0)return _0xcce728;let _0x401235=_0x162031[_0x3407f0(0x31f)][_0x3407f0(0x193)](_0xcce728[_0x3407f0(0x34d)][0x0]);for(let _0x3c9fd8=0x0;_0x3c9fd8<_0x3865a6[_0x3407f0(0x215)];_0x3c9fd8++){const _0x1f5ea9={'id':'doc.mutation.rich-text-editing','params':{..._0x3865a6[_0x3c9fd8]}},_0x56d6e8=this[_0x3407f0(0x22c)]['transformMutation'](_0x401235,_0x1f5ea9,!0x1);if(_0x4cd710[_0x3407f0(0x3ad)](_0x56d6e8))throw _0x56d6e8[_0x3407f0(0x2d0)];_0x401235=_0x56d6e8[_0x3407f0(0x358)];}return{..._0x162031[_0x3407f0(0x31f)][_0x3407f0(0x193)](_0xcce728),'mutations':[_0x401235]};}['_transformUndoRedoStack'](_0x9ac426){const _0xb26878=_0x477bc3,{unitID:_0x206d4e}=_0x9ac426,_0x2f6137=this['_renderManagerService']['getRenderById'](_0x206d4e)['with'](_0x74e6be['DocIMEInputManagerService']),{undoCache:_0x122881,redoCache:_0x547572}=_0x2f6137[_0xb26878(0x212)]();if(_0x122881[_0xb26878(0x215)]===0x0||_0x547572['length']===0x0)return;const _0x1b7465=[],_0x5b0f54=[];let _0x23ef8c=_0x162031['Tools'][_0xb26878(0x193)](_0x9ac426[_0xb26878(0x34d)][0x0]),_0x197861=_0x162031[_0xb26878(0x31f)][_0xb26878(0x193)](_0x9ac426['mutations'][0x0]);for(let _0x257162=_0x122881[_0xb26878(0x215)]-0x1;_0x257162>=0x0;_0x257162--){const _0x4d81bd={'id':'doc.mutation.rich-text-editing','params':{..._0x122881[_0x257162]}},_0x8747cc={'id':'doc.mutation.rich-text-editing','params':{..._0x547572[_0x257162]}},_0x367b90=this['_transformService']['transformMutation'](_0x23ef8c,_0x4d81bd,!0x1),_0x1981a2=this[_0xb26878(0x22c)][_0xb26878(0x179)](_0x197861,_0x8747cc,!0x1);if(_0x4cd710[_0xb26878(0x3ad)](_0x367b90))throw _0x367b90[_0xb26878(0x2d0)];if(_0x4cd710[_0xb26878(0x3ad)](_0x1981a2))throw _0x1981a2[_0xb26878(0x2d0)];_0x1b7465[_0xb26878(0x188)](_0x367b90[_0xb26878(0x250)][_0xb26878(0x1ab)]),_0x5b0f54[_0xb26878(0x188)](_0x1981a2[_0xb26878(0x250)][_0xb26878(0x1ab)]),_0x23ef8c=_0x367b90[_0xb26878(0x358)],_0x197861=_0x1981a2[_0xb26878(0x358)];}_0x2f6137[_0xb26878(0x157)]({'undoCache':_0x1b7465,'redoCache':_0x5b0f54});}[_0x477bc3(0x2b4)](_0x4186ec){const _0xd1a9b9=_0x477bc3,{unitID:_0x35495b}=_0x4186ec,_0x5c0c47=this[_0xd1a9b9(0x1f4)][_0xd1a9b9(0x288)](_0x35495b)['with'](_0x74e6be[_0xd1a9b9(0x3d7)]),_0x4c6242=_0x5c0c47[_0xd1a9b9(0x1e3)]();if(_0x4c6242==null)return;const _0x166c6c=[{'id':_0xd1a9b9(0x20a),'params':{'unitId':_0x4186ec[_0xd1a9b9(0x3d0)],'actions':null,'textRanges':[_0x4c6242]}}],_0x33da04=this[_0xd1a9b9(0x22c)][_0xd1a9b9(0x34f)](_0x4186ec,_0x166c6c);if(!_0x4cd710['isTransformMutationsWithChangesetSuccess'](_0x33da04))throw _0x33da04['error'];const _0xbe90a1=_0x33da04[_0xd1a9b9(0x250)][0x0][_0xd1a9b9(0x1ab)][_0xd1a9b9(0x395)];Array[_0xd1a9b9(0x165)](_0xbe90a1)&&_0xbe90a1[_0xd1a9b9(0x215)]&&_0x5c0c47[_0xd1a9b9(0x127)](_0xbe90a1[0x0]);}};_0x492b1f=_0x411a7a([_0x15e2ef(0x0,_0x4cd710['ITransformService']),_0x15e2ef(0x1,_0x433081[_0x477bc3(0x1a7)])],_0x492b1f);var _0x3b9a8b=Object[_0x477bc3(0x1ec)],_0x3c68f3=(_0x2b46f4,_0x509e07,_0x209616,_0x1f0c79)=>{const _0x376b2b=_0x477bc3;for(var _0x31747c=_0x1f0c79>0x1?void 0x0:_0x1f0c79?_0x3b9a8b(_0x509e07,_0x209616):_0x509e07,_0x53c387=_0x2b46f4[_0x376b2b(0x215)]-0x1,_0x110488;_0x53c387>=0x0;_0x53c387--)(_0x110488=_0x2b46f4[_0x53c387])&&(_0x31747c=_0x110488(_0x31747c)||_0x31747c);return _0x31747c;},_0x3bd8c9=(_0x672319,_0x1823c7)=>(_0x31ebc9,_0x435a6e)=>_0x1823c7(_0x31ebc9,_0x435a6e,_0x672319);let _0x35832b=class{constructor(_0x4a28c1,_0x25f8c9,_0xc04570){const _0x5c2cea=_0x477bc3;this[_0x5c2cea(0x3da)]=_0x4a28c1,this['_transformService']=_0x25f8c9,this[_0x5c2cea(0xfc)]=_0xc04570;}[_0x477bc3(0x3cc)](_0x3288fc){const _0x21a4d6=_0x477bc3;this[_0x21a4d6(0x15e)](_0x3288fc);}[_0x477bc3(0x2ee)](_0x188388){const _0x195fc0=_0x477bc3,{unitID:_0x1d8f28}=_0x188388,{collaboration:_0x558dc9}=this[_0x195fc0(0xfc)]['getStateCache'](_0x1d8f28);if(_0x558dc9[_0x195fc0(0x215)]===0x0)return _0x188388;let _0x51614c=_0x162031['Tools'][_0x195fc0(0x193)](_0x188388[_0x195fc0(0x34d)][0x0]);for(let _0x2cc049=0x0;_0x2cc049<_0x558dc9['length'];_0x2cc049++){const _0x55d71f={'id':_0x195fc0(0x20a),'params':{'unitId':_0x558dc9[_0x2cc049][_0x195fc0(0x150)],..._0x558dc9[_0x2cc049][_0x195fc0(0xf1)]}},_0x2acb16=this['_transformService'][_0x195fc0(0x179)](_0x51614c,_0x55d71f,!0x1);if(_0x4cd710[_0x195fc0(0x3ad)](_0x2acb16))throw _0x2acb16[_0x195fc0(0x2d0)];_0x51614c=_0x2acb16[_0x195fc0(0x358)];}return{..._0x162031[_0x195fc0(0x31f)][_0x195fc0(0x193)](_0x188388),'mutations':[_0x51614c]};}[_0x477bc3(0x15e)](_0x54eb0c){const _0x252440=_0x477bc3,{unitID:_0x192443}=_0x54eb0c,{history:_0x470346,collaboration:_0x8d6c9e}=this['_docStateChangeManagerService'][_0x252440(0x19b)](_0x192443);if(_0x470346[_0x252440(0x215)]===0x0&&_0x8d6c9e[_0x252440(0x215)]===0x0)return;const _0x5ad112=[],_0x5e4f9f=[];let _0x52df32=_0x162031[_0x252440(0x31f)][_0x252440(0x193)](_0x54eb0c[_0x252440(0x34d)][0x0]),_0x2b2636=_0x162031[_0x252440(0x31f)][_0x252440(0x193)](_0x54eb0c[_0x252440(0x34d)][0x0]);for(let _0x4e7de4=_0x470346[_0x252440(0x215)]-0x1;_0x4e7de4>=0x0;_0x4e7de4--){const _0x5f56cc={'id':_0x252440(0x20a),'params':{'unitId':_0x470346[_0x4e7de4][_0x252440(0x150)],..._0x470346[_0x4e7de4][_0x252440(0x26c)]}},_0x2c2053={'id':_0x252440(0x20a),'params':{'unitId':_0x470346[_0x4e7de4][_0x252440(0x150)],..._0x470346[_0x4e7de4][_0x252440(0xf1)]}},_0x25c33b=this[_0x252440(0x22c)]['transformMutation'](_0x52df32,_0x5f56cc,!0x1),_0x23fed0=this[_0x252440(0x22c)][_0x252440(0x179)](_0x2b2636,_0x2c2053,!0x1);if(_0x4cd710[_0x252440(0x3ad)](_0x25c33b))throw _0x25c33b['error'];if(_0x4cd710['isTransformMutationFailure'](_0x23fed0))throw _0x23fed0['error'];_0x5ad112[_0x252440(0x188)]({..._0x470346[_0x4e7de4],'undoState':_0x25c33b[_0x252440(0x250)][_0x252440(0x1ab)],'redoState':_0x23fed0[_0x252440(0x250)][_0x252440(0x1ab)]}),_0x52df32=_0x25c33b[_0x252440(0x358)],_0x2b2636=_0x23fed0[_0x252440(0x358)];}_0x52df32=_0x162031[_0x252440(0x31f)]['deepClone'](_0x54eb0c[_0x252440(0x34d)][0x0]),_0x2b2636=_0x162031[_0x252440(0x31f)][_0x252440(0x193)](_0x54eb0c[_0x252440(0x34d)][0x0]);for(let _0x4b03b4=_0x8d6c9e[_0x252440(0x215)]-0x1;_0x4b03b4>=0x0;_0x4b03b4--){const _0x233501={'id':_0x252440(0x20a),'params':{'unitId':_0x8d6c9e[_0x4b03b4][_0x252440(0x150)],..._0x8d6c9e[_0x4b03b4][_0x252440(0x26c)]}},_0x53858b={'id':_0x252440(0x20a),'params':{'unitId':_0x8d6c9e[_0x4b03b4][_0x252440(0x150)],..._0x8d6c9e[_0x4b03b4][_0x252440(0xf1)]}},_0x35417d=this['_transformService'][_0x252440(0x179)](_0x52df32,_0x233501,!0x1),_0x49b19b=this[_0x252440(0x22c)][_0x252440(0x179)](_0x2b2636,_0x53858b,!0x1);if(_0x4cd710[_0x252440(0x3ad)](_0x35417d))throw _0x35417d[_0x252440(0x2d0)];if(_0x4cd710[_0x252440(0x3ad)](_0x49b19b))throw _0x49b19b[_0x252440(0x2d0)];_0x5e4f9f[_0x252440(0x188)]({..._0x8d6c9e[_0x4b03b4],'undoState':_0x35417d[_0x252440(0x250)][_0x252440(0x1ab)],'redoState':_0x49b19b[_0x252440(0x250)]['params']}),_0x52df32=_0x35417d[_0x252440(0x358)],_0x2b2636=_0x49b19b['m1Prime'];}this['_docStateChangeManagerService'][_0x252440(0x31e)](_0x192443,{'history':_0x5ad112,'collaboration':_0x5e4f9f});}};_0x35832b=_0x3c68f3([_0x3bd8c9(0x0,_0x162031[_0x477bc3(0x2b0)](_0x162031[_0x477bc3(0x1e2)])),_0x3bd8c9(0x1,_0x4cd710['ITransformService']),_0x3bd8c9(0x2,_0x162031[_0x477bc3(0x2b0)](_0x74e6be[_0x477bc3(0x318)]))],_0x35832b);var _0x4fd5fc=Object[_0x477bc3(0x1ec)],_0x4b24d7=(_0x4ee892,_0x35d5ee,_0x5b46b4,_0x25e95b)=>{const _0x53440b=_0x477bc3;for(var _0x418df2=_0x25e95b>0x1?void 0x0:_0x25e95b?_0x4fd5fc(_0x35d5ee,_0x5b46b4):_0x35d5ee,_0x5d6135=_0x4ee892[_0x53440b(0x215)]-0x1,_0x304cfe;_0x5d6135>=0x0;_0x5d6135--)(_0x304cfe=_0x4ee892[_0x5d6135])&&(_0x418df2=_0x304cfe(_0x418df2)||_0x418df2);return _0x418df2;},_0x35db6c=(_0x67b54d,_0x2cfbe5)=>(_0x105132,_0x2bb644)=>_0x2cfbe5(_0x105132,_0x2bb644,_0x67b54d);let _0x1d044c=class{constructor(_0x2af8f7,_0x38e74e){const _0x40240a=_0x477bc3;this[_0x40240a(0x3da)]=_0x2af8f7,this[_0x40240a(0x22c)]=_0x38e74e;}[_0x477bc3(0x2e9)](_0x4d2a31){const _0x4f5634=_0x477bc3;var _0x2b7035;const _0x473c15=this[_0x4f5634(0x3da)][_0x4f5634(0x375)](_0x47f67f[_0x4f5634(0x293)]),_0x1be41f=(_0x2b7035=_0x473c15[_0x4f5634(0x28c)]())!=null?_0x2b7035:[];if(_0x1be41f['length']===0x0)return;const _0x1f2962=_0x4d2a31[_0x4f5634(0x3d0)],_0x5f13a5=[{'id':_0x4f5634(0x20a),'params':{'unitId':_0x1f2962,'actions':null,'textRanges':_0x1be41f}}],_0x59a340=this[_0x4f5634(0x22c)][_0x4f5634(0x34f)](_0x4d2a31,_0x5f13a5);if(!_0x4cd710[_0x4f5634(0x296)](_0x59a340))throw _0x59a340[_0x4f5634(0x2d0)];const _0x55f8ec=_0x59a340[_0x4f5634(0x250)][0x0][_0x4f5634(0x1ab)][_0x4f5634(0x395)];Array[_0x4f5634(0x165)](_0x55f8ec)&&_0x55f8ec['length']&&_0x473c15[_0x4f5634(0x1fe)](_0x55f8ec,{'unitId':_0x1f2962,'subUnitId':_0x1f2962},!0x1);}};_0x1d044c=_0x4b24d7([_0x35db6c(0x0,_0x162031['Inject'](_0x162031['Injector'])),_0x35db6c(0x1,_0x4cd710[_0x477bc3(0x176)])],_0x1d044c);var _0x3bf866=Object['getOwnPropertyDescriptor'],_0x3037ed=(_0x46c7f8,_0x1dc48d,_0x2ccaf8,_0x4c922f)=>{for(var _0x58d0a0=_0x4c922f>0x1?void 0x0:_0x4c922f?_0x3bf866(_0x1dc48d,_0x2ccaf8):_0x1dc48d,_0x5f1826=_0x46c7f8['length']-0x1,_0x43ccce;_0x5f1826>=0x0;_0x5f1826--)(_0x43ccce=_0x46c7f8[_0x5f1826])&&(_0x58d0a0=_0x43ccce(_0x58d0a0)||_0x58d0a0);return _0x58d0a0;},_0x1c8c44=(_0xd06b6b,_0x45d826)=>(_0x206f71,_0x535ba4)=>_0x45d826(_0x206f71,_0x535ba4,_0xd06b6b);let _0x1ba1e0=class extends _0x162031['Disposable']{constructor(_0x1c387e,_0x4edd4c,_0xe8d5b5,_0x23e96d,_0x2a4a80,_0x5adc4a,_0x34e9d6,_0x16ec62){const _0x82ca89=_0x477bc3;super(),_0x387a01(this,_0x82ca89(0x117),new _0xe327d9[(_0x82ca89(0x136))](_0x44b518[_0x82ca89(0x2c2)][_0x82ca89(0x35c)])),(this[_0x82ca89(0xfc)]=_0x1c387e,this[_0x82ca89(0x2f2)]=_0x4edd4c,this[_0x82ca89(0x247)]=_0xe8d5b5,this['_docTransformStateCacheService']=_0x23e96d,this['_docTransformSelectionsService']=_0x2a4a80,this[_0x82ca89(0x35b)]=_0x5adc4a,this[_0x82ca89(0x377)]=_0x34e9d6,this[_0x82ca89(0x10b)]=_0x16ec62,this[_0x82ca89(0x37f)]());}[_0x477bc3(0x37f)](){const _0x375e37=_0x477bc3;this[_0x375e37(0x32e)](this[_0x375e37(0x2f2)]['entityInit$'][_0x375e37(0x2cd)](_0x508a35=>{const _0x1cd8fb=_0x375e37,_0x347cfc=this['_docStateChangeManagerService'][_0x1cd8fb(0x166)][_0x1cd8fb(0x2cd)](_0x3d0692=>{const _0x3d151c=_0x1cd8fb;if(_0x3d0692==null)return;const {unitId:_0x171603,redoState:_0x3007ff,commandId:_0x145f97}=_0x3d0692;if(_0x171603!==_0x508a35['unitID'])return;const _0x319570={'id':_0x145f97,'type':_0x162031['CommandType'][_0x3d151c(0x20d)],'params':{'unitId':_0x171603,'actions':_0x3007ff['actions'],'textRanges':null}};_0x508a35['onLocalMutation'](_0x319570);});if(_0x508a35[_0x1cd8fb(0x32e)](_0x347cfc),_0x508a35 instanceof _0x44b518[_0x1cd8fb(0x194)]){const _0x155ab9={'onTransformIME':_0x261c90=>this[_0x1cd8fb(0x247)][_0x1cd8fb(0x350)](_0x261c90),'onTransformState':_0x213b4e=>this[_0x1cd8fb(0x3ce)][_0x1cd8fb(0x3cc)](_0x213b4e),'onTransformSelections':_0x566e35=>this['_docTransformSelectionsService'][_0x1cd8fb(0x2e9)](_0x566e35),'onSyncEditingCollabCursor':_0x2372d1=>this[_0x1cd8fb(0x35b)]['syncEditingCollabCursor'](_0x2372d1),'onTransformRemoteChangesetByIMECache':_0x3845fa=>this[_0x1cd8fb(0x247)]['transformRemoteChangeset'](_0x3845fa),'onTransformRemoteChangesetByStateCache':_0x11cca4=>this['_docTransformStateCacheService'][_0x1cd8fb(0x2ee)](_0x11cca4)};_0x508a35[_0x1cd8fb(0x143)](_0x155ab9);}}));}};_0x1ba1e0=_0x3037ed([_0x1c8c44(0x0,_0x162031['Inject'](_0x74e6be['DocStateChangeManagerService'])),_0x1c8c44(0x1,_0x162031[_0x477bc3(0x2b0)](_0x44b518[_0x477bc3(0x15a)])),_0x1c8c44(0x2,_0x162031[_0x477bc3(0x2b0)](_0x492b1f)),_0x1c8c44(0x3,_0x162031['Inject'](_0x35832b)),_0x1c8c44(0x4,_0x162031[_0x477bc3(0x2b0)](_0x1d044c)),_0x1c8c44(0x5,_0x162031[_0x477bc3(0x2b0)](_0x3f7f20)),_0x1c8c44(0x6,_0x198137['IMessageService']),_0x1c8c44(0x7,_0x162031[_0x477bc3(0x2b0)](_0x162031[_0x477bc3(0x1cd)]))],_0x1ba1e0);var _0x99761d=(_0x535af9=>(_0x535af9[_0x535af9['UNDEFINED']=0x0]=_0x477bc3(0x255),_0x535af9[_0x535af9['OK']=0x1]='OK',_0x535af9[_0x535af9['INTERNAL_ERROR']=0x2]=_0x477bc3(0x224),_0x535af9[_0x535af9['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x535af9[_0x535af9['NOT_FOUND']=0x4]=_0x477bc3(0x1c7),_0x535af9[_0x535af9[_0x477bc3(0x315)]=0x5]=_0x477bc3(0x315),_0x535af9[_0x535af9[_0x477bc3(0x1d1)]=0x6]='ALREADY_EXISTS',_0x535af9[_0x535af9[_0x477bc3(0x149)]=0x7]='INVALID_ARGUMENT',_0x535af9[_0x535af9['TOO_MANY_REQUESTS']=0x8]=_0x477bc3(0x134),_0x535af9[_0x535af9[_0x477bc3(0x13c)]=0x9]=_0x477bc3(0x13c),_0x535af9[_0x535af9[_0x477bc3(0x213)]=0xa]='LOGIN_FAILED',_0x535af9[_0x535af9[_0x477bc3(0x151)]=0xb]=_0x477bc3(0x151),_0x535af9[_0x535af9[_0x477bc3(0x32c)]=0xc]=_0x477bc3(0x32c),_0x535af9[_0x535af9[_0x477bc3(0x2b3)]=0xd]=_0x477bc3(0x2b3),_0x535af9[_0x535af9[_0x477bc3(0x162)]=0xe]=_0x477bc3(0x162),_0x535af9[_0x535af9[_0x477bc3(0x36c)]=0xf]=_0x477bc3(0x36c),_0x535af9[_0x535af9[_0x477bc3(0x2c5)]=0x10]=_0x477bc3(0x2c5),_0x535af9[_0x535af9[_0x477bc3(0x237)]=0x64]=_0x477bc3(0x237),_0x535af9[_0x535af9[_0x477bc3(0x2da)]=0x65]='ERROR_AGAIN',_0x535af9[_0x535af9[_0x477bc3(0x3ac)]=0xc9]=_0x477bc3(0x3ac),_0x535af9[_0x535af9[_0x477bc3(0x292)]=0xca]=_0x477bc3(0x292),_0x535af9[_0x535af9[_0x477bc3(0x156)]=0x1389]=_0x477bc3(0x156),_0x535af9[_0x535af9['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x477bc3(0x101),_0x535af9[_0x535af9[_0x477bc3(0x11b)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x535af9[_0x535af9[_0x477bc3(0x217)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x535af9[_0x535af9['APPLY_REJECT']=0x1b59]=_0x477bc3(0x1ac),_0x535af9[_0x535af9['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x477bc3(0x29f),_0x535af9[_0x535af9[_0x477bc3(0xfe)]=0x1b5b]=_0x477bc3(0xfe),_0x535af9[_0x535af9[_0x477bc3(0x110)]=0x1b5c]=_0x477bc3(0x110),_0x535af9[_0x535af9[_0x477bc3(0x357)]=0x1b5d]=_0x477bc3(0x357),_0x535af9[_0x535af9[_0x477bc3(0x232)]=0x1f41]=_0x477bc3(0x232),_0x535af9[_0x535af9[_0x477bc3(0x11f)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x535af9[_0x535af9[_0x477bc3(0x30d)]=0x232a]=_0x477bc3(0x30d),_0x535af9[_0x535af9['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x535af9[_0x535af9[_0x477bc3(0x196)]=0x232c]=_0x477bc3(0x196),_0x535af9[_0x535af9[_0x477bc3(0x155)]=0x232d]=_0x477bc3(0x155),_0x535af9[_0x535af9[_0x477bc3(0x2a3)]=0x2711]=_0x477bc3(0x2a3),_0x535af9[_0x535af9[_0x477bc3(0x313)]=0x2712]=_0x477bc3(0x313),_0x535af9[_0x535af9['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x477bc3(0x1c3),_0x535af9[_0x535af9[_0x477bc3(0x38a)]=0x2714]=_0x477bc3(0x38a),_0x535af9[_0x535af9['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x477bc3(0x242),_0x535af9[_0x535af9[_0x477bc3(0x278)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x535af9[_0x535af9[_0x477bc3(0x387)]=0x271c]=_0x477bc3(0x387),_0x535af9[_0x535af9[_0x477bc3(0x17e)]=0x271d]=_0x477bc3(0x17e),_0x535af9[_0x535af9[_0x477bc3(0x1c8)]=0x271e]=_0x477bc3(0x1c8),_0x535af9[_0x535af9[_0x477bc3(0x128)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x535af9[_0x535af9[_0x477bc3(0x3ab)]=0x2720]=_0x477bc3(0x3ab),_0x535af9[_0x535af9['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x477bc3(0x132),_0x535af9[_0x535af9[_0x477bc3(0x20e)]=0x2ee1]=_0x477bc3(0x20e),_0x535af9[_0x535af9['INVALID_INVITE_CODE']=0x2ee2]=_0x477bc3(0x1f5),_0x535af9[_0x535af9[_0x477bc3(0x22b)]=0x2ee3]=_0x477bc3(0x22b),_0x535af9[_0x535af9[_0x477bc3(0x386)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x535af9[_0x535af9[_0x477bc3(0xf2)]=0x2ee5]=_0x477bc3(0xf2),_0x535af9[_0x535af9['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x477bc3(0x27e),_0x535af9[_0x535af9[_0x477bc3(0x210)]=0x32ca]=_0x477bc3(0x210),_0x535af9[_0x535af9[_0x477bc3(0x201)]=0x32cb]=_0x477bc3(0x201),_0x535af9[_0x535af9[_0x477bc3(0x1aa)]=0x36b1]=_0x477bc3(0x1aa),_0x535af9[_0x535af9[_0x477bc3(0x2cc)]=0x36b2]=_0x477bc3(0x2cc),_0x535af9[_0x535af9[_0x477bc3(0x251)]=0x36b3]=_0x477bc3(0x251),_0x535af9[_0x535af9[_0x477bc3(0x2ab)]=0x36b4]=_0x477bc3(0x2ab),_0x535af9[_0x535af9[_0x477bc3(0x23f)]=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x535af9[_0x535af9[_0x477bc3(0x13b)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x535af9[_0x535af9[_0x477bc3(0x1c2)]=0x36b7]=_0x477bc3(0x1c2),_0x535af9[_0x535af9[_0x477bc3(0x275)]=0x36b8]=_0x477bc3(0x275),_0x535af9[_0x535af9['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x477bc3(0x336),_0x535af9[_0x535af9[_0x477bc3(0x2c4)]=0x3716]=_0x477bc3(0x2c4),_0x535af9[_0x535af9[_0x477bc3(0x16f)]=0x3717]=_0x477bc3(0x16f),_0x535af9[_0x535af9[_0x477bc3(0x2e3)]=0x37dd]=_0x477bc3(0x2e3),_0x535af9[_0x535af9[_0x477bc3(0x1d7)]=0x3a99]=_0x477bc3(0x1d7),_0x535af9[_0x535af9['REDEMPTION_CODE_INACTIVE']=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x535af9[_0x535af9[_0x477bc3(0x1a0)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x535af9[_0x535af9[_0x477bc3(0x256)]=0x3a9c]=_0x477bc3(0x256),_0x535af9[_0x535af9['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x477bc3(0x1df),_0x535af9[_0x535af9[_0x477bc3(0x2bb)]=0x3a9e]=_0x477bc3(0x2bb),_0x535af9[_0x535af9[_0x477bc3(0x379)]=0x3a9f]=_0x477bc3(0x379),_0x535af9[_0x535af9['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x477bc3(0x3d6),_0x535af9[_0x535af9[_0x477bc3(0x104)]=-0x1]=_0x477bc3(0x104),_0x535af9))(_0x99761d||{});function _0x2fcfc8(_0xa99774){const _0x1fc31e=_0x477bc3;var _0x17d3e2,_0x2d4df4;const _0x27584d=(_0x17d3e2=_0xa99774['stageInfo'])==null?void 0x0:_0x17d3e2['stage'],_0x44a13b=((_0x2d4df4=_0xa99774[_0x1fc31e(0x3b1)])==null?void 0x0:_0x2d4df4[_0x1fc31e(0x203)])||0x0;return _0x27584d===_0xf4950[_0x1fc31e(0x18c)][_0x1fc31e(0x30a)]&&_0x44a13b>0x0;}function _0x3af5b8(_0x314a61){const _0x45a2f1=_0x477bc3;return _0x314a61['functionsExecutedState']===_0xf4950[_0x45a2f1(0x153)][_0x45a2f1(0x361)];}var _0x21daf9=Object['getOwnPropertyDescriptor'],_0x25034e=(_0x43f868,_0xead90b,_0xd132ca,_0x3a372b)=>{for(var _0x429d5d=_0x3a372b>0x1?void 0x0:_0x3a372b?_0x21daf9(_0xead90b,_0xd132ca):_0xead90b,_0xb2446c=_0x43f868['length']-0x1,_0x3c5cc2;_0xb2446c>=0x0;_0xb2446c--)(_0x3c5cc2=_0x43f868[_0xb2446c])&&(_0x429d5d=_0x3c5cc2(_0x429d5d)||_0x429d5d);return _0x429d5d;},_0x20a083=(_0x2f073c,_0x33361f)=>(_0x174b9e,_0x555a23)=>_0x33361f(_0x174b9e,_0x555a23,_0x2f073c);const _0x529885=_0x477bc3(0x30c),_0x1cbb51=_0x477bc3(0x1a6),_0x576aca=_0x477bc3(0x36b);let _0x4667cb=class extends _0x162031[_0x477bc3(0x148)]{constructor(_0x8520d2,_0x34f2a3,_0xde9b98,_0x38d2e8,_0x57c8c4,_0x50e565,_0x27e734){const _0x5694dc=_0x477bc3;super(),_0x387a01(this,_0x5694dc(0x106),null),_0x387a01(this,_0x5694dc(0x33a),0x0),_0x387a01(this,_0x5694dc(0x1cc),0x0),_0x387a01(this,_0x5694dc(0x311),[]),_0x387a01(this,'_lastResponseTimestamp',0x0),(this[_0x5694dc(0x377)]=_0x8520d2,this[_0x5694dc(0x139)]=_0x34f2a3,this[_0x5694dc(0x219)]=_0xde9b98,this[_0x5694dc(0x180)]=_0x38d2e8,this[_0x5694dc(0x225)]=_0x57c8c4,this[_0x5694dc(0x297)]=_0x50e565,this[_0x5694dc(0x10b)]=_0x27e734,this[_0x5694dc(0x319)]());}[_0x477bc3(0x319)](){const _0x3b28d1=_0x477bc3;this[_0x3b28d1(0x32e)](this[_0x3b28d1(0x139)][_0x3b28d1(0x18f)]((_0x46b701,_0x276b30)=>{const _0x1aebd9=_0x3b28d1;var _0x40074b;if(_0x46b701['id']!==_0xf4950[_0x1aebd9(0x380)]['id'])return;const _0x250f93=_0x46b701[_0x1aebd9(0x1ab)];if(!this['_hasFormulaInDirtyRanges']((_0x40074b=_0x250f93['dirtyRanges'])!=null?_0x40074b:[]))return;if(!this[_0x1aebd9(0x272)]())throw this['_checkAndWaitForCalculationPermission'](_0x46b701,_0x276b30),this[_0x1aebd9(0x244)](),new _0x162031[(_0x1aebd9(0x2a1))]();})),this[_0x3b28d1(0x32e)](this[_0x3b28d1(0x139)][_0x3b28d1(0x1b7)]((_0x4b7a34,_0x1bf866)=>{const _0x13e022=_0x3b28d1;if(_0x4b7a34['id']!==_0xf4950[_0x13e022(0x169)]['id'])return;const _0x5c8824=_0x4b7a34[_0x13e022(0x1ab)];if(_0x2fcfc8(_0x5c8824)){const _0xaaad64=_0x162031[_0x13e022(0x38e)]();this[_0x13e022(0x311)]['push'](_0xaaad64),this[_0x13e022(0x2cb)](_0xaaad64);}else{if(_0x3af5b8(_0x5c8824)&&this['_taskIds'][_0x13e022(0x215)]>0x0){const _0x5c7175=this[_0x13e022(0x311)][_0x13e022(0x103)]();this['_releaseCalculationLimit'](_0x5c7175);}}}));}['dispose'](){const _0x1bc361=_0x477bc3;super[_0x1bc361(0x388)](),this['_clearPolling'](),this[_0x1bc361(0x311)]=[],this[_0x1bc361(0x1cc)]=0x0,this[_0x1bc361(0x33a)]=0x0,this[_0x1bc361(0x3d8)]=0x0;}async[_0x477bc3(0x211)](_0x333045,_0x5a9f86){const _0x1e946b=_0x477bc3;for(let _0x4a5fbd=0x0;_0x4a5fbd<0x1e;_0x4a5fbd++)try{if(await this[_0x1e946b(0x3c4)](),this[_0x1e946b(0x272)]()){this['_applyCommand'](_0x333045,_0x5a9f86),this['_messageService']['show']({'content':this['_localeService']['t']('formula.calculation.started'),'type':_0x3fb0c6[_0x1e946b(0x33e)]['Success']});return;}await new Promise(_0x2b3889=>{const _0x3b3bf5=_0x1e946b;this['_pollingInterval']=window[_0x3b3bf5(0x366)](_0x2b3889,0x3e8);});}catch(_0x4e3c0c){this[_0x1e946b(0x297)][_0x1e946b(0x2d0)](_0x4e3c0c);}this[_0x1e946b(0x377)][_0x1e946b(0x348)]({'content':this['_localeService']['t']('formula.calculation.unable'),'type':_0x3fb0c6[_0x1e946b(0x33e)][_0x1e946b(0x112)]});}[_0x477bc3(0x185)](_0x4bc622,_0xa900df){const _0x481e73=_0x477bc3;try{this[_0x481e73(0x139)][_0x481e73(0x269)](_0x4bc622['id'],_0x4bc622[_0x481e73(0x1ab)],_0xa900df);}catch(_0x3b1d14){this[_0x481e73(0x297)][_0x481e73(0x2d0)](_0x3b1d14);}}['_setFormulaLimitStatus'](_0x2ff49f,_0x3fc1ee){const _0x56a3c3=_0x477bc3;_0x3fc1ee<this['_lastResponseTimestamp']||(this[_0x56a3c3(0x3d8)]=_0x3fc1ee,this[_0x56a3c3(0x33a)]=Number[_0x56a3c3(0x3a2)](_0x2ff49f['maxFormulaLimit']),this[_0x56a3c3(0x1cc)]=Number[_0x56a3c3(0x3a2)](_0x2ff49f[_0x56a3c3(0x190)]));}async[_0x477bc3(0x2cb)](_0xb6409e){const _0x401fab=_0x477bc3;var _0x5886a6,_0x4c6356;const _0x52cca0=Date[_0x401fab(0xef)]();try{const _0x57948a=((_0x5886a6=this[_0x401fab(0x219)][_0x401fab(0x248)](_0x44b518['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x5886a6['startFormulaLimitUrl'])||_0x1cbb51,_0xad5c04=(await this['_httpService']['post'](_0x57948a,{'body':JSON[_0x401fab(0x199)]({'taskId':_0xb6409e})}))[_0x401fab(0x34c)];if(((_0x4c6356=_0xad5c04[_0x401fab(0x2d0)])==null?void 0x0:_0x4c6356[_0x401fab(0x11a)])!==_0x99761d['OK'])return;this[_0x401fab(0x2c9)](_0xad5c04[_0x401fab(0x37e)],_0x52cca0);}catch(_0x4f46ef){this[_0x401fab(0x297)][_0x401fab(0x2d0)](_0x4f46ef);}}async[_0x477bc3(0x3c4)](_0x38d848){const _0x3031be=_0x477bc3;var _0x130d84,_0x1b0558;const _0xff5d9c=Date[_0x3031be(0xef)]();try{const _0xec9d46=((_0x130d84=this['_configService']['getConfig'](_0x44b518[_0x3031be(0x320)]))==null?void 0x0:_0x130d84[_0x3031be(0x359)])||_0x529885,_0x52d747=_0x38d848?_0xec9d46+_0x3031be(0x2fe)+encodeURIComponent(_0x38d848):_0xec9d46,_0x20552b=(await this[_0x3031be(0x180)]['get'](_0x52d747))[_0x3031be(0x34c)];if(((_0x1b0558=_0x20552b['error'])==null?void 0x0:_0x1b0558[_0x3031be(0x11a)])!==_0x99761d['OK'])return;this[_0x3031be(0x2c9)](_0x20552b[_0x3031be(0x37e)],_0xff5d9c);}catch(_0x58c6c6){this['_logService'][_0x3031be(0x2d0)](_0x58c6c6);}}async[_0x477bc3(0x3bd)](_0x130946){const _0xe747e7=_0x477bc3;var _0x50a5c5,_0x1cf393;const _0x3dd63f=Date['now']();try{const _0x48913a=((_0x50a5c5=this[_0xe747e7(0x219)][_0xe747e7(0x248)](_0x44b518[_0xe747e7(0x320)]))==null?void 0x0:_0x50a5c5[_0xe747e7(0x257)])||_0x576aca,_0x5b53d7=(await this[_0xe747e7(0x180)]['post'](_0x48913a,{'body':JSON[_0xe747e7(0x199)]({'taskId':_0x130946})}))['body'];if(((_0x1cf393=_0x5b53d7['error'])==null?void 0x0:_0x1cf393['code'])!==_0x99761d['OK'])return;this[_0xe747e7(0x2c9)](_0x5b53d7[_0xe747e7(0x37e)],_0x3dd63f);}catch(_0x10a895){this[_0xe747e7(0x297)]['error'](_0x10a895);}}[_0x477bc3(0x272)](){const _0x4d763e=_0x477bc3;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x4d763e(0x33a)]-this[_0x4d763e(0x1cc)]>0x0;}[_0x477bc3(0x17c)](){const _0x24f34d=_0x477bc3;this[_0x24f34d(0x106)]&&(clearTimeout(this[_0x24f34d(0x106)]),this[_0x24f34d(0x106)]=null);}[_0x477bc3(0x244)](){const _0x11042d=_0x477bc3;this[_0x11042d(0x377)][_0x11042d(0x348)]({'content':this[_0x11042d(0x10b)]['t'](_0x11042d(0x3b0)),'type':_0x3fb0c6[_0x11042d(0x33e)][_0x11042d(0x321)]});}['_hasFormulaInDirtyRanges'](_0x428eaf){const _0x52f986=_0x477bc3;for(const _0x5e7777 of _0x428eaf){const {unitId:_0x438abb,sheetId:_0x59e6e8,range:_0x240773}=_0x5e7777,_0x157de3=this[_0x52f986(0x225)][_0x52f986(0x17f)](_0x438abb);if(!_0x157de3)continue;const _0x47432f=_0x157de3[_0x52f986(0x2ca)](_0x59e6e8);if(!_0x47432f)continue;const _0x3ed0b2=_0x47432f[_0x52f986(0x173)]();for(let _0x1aa148=_0x240773[_0x52f986(0x141)];_0x1aa148<=_0x240773['endRow'];_0x1aa148++)for(let _0xb3165f=_0x240773[_0x52f986(0x163)];_0xb3165f<=_0x240773['endColumn'];_0xb3165f++){const _0x5c37b7=_0x3ed0b2[_0x52f986(0x182)](_0x1aa148,_0xb3165f);if(_0x5c37b7&&(_0x162031[_0x52f986(0x3c3)](_0x5c37b7['f'])||_0x162031['isFormulaId'](_0x5c37b7['si'])))return!0x0;}}return!0x1;}};_0x4667cb=_0x25034e([_0x20a083(0x0,_0x162031[_0x477bc3(0x2b0)](_0x198137[_0x477bc3(0x222)])),_0x20a083(0x1,_0x162031[_0x477bc3(0x326)]),_0x20a083(0x2,_0x162031[_0x477bc3(0x13e)]),_0x20a083(0x3,_0x162031[_0x477bc3(0x2b0)](_0x1a6c2d['HTTPService'])),_0x20a083(0x4,_0x162031['IUniverInstanceService']),_0x20a083(0x5,_0x162031['ILogService']),_0x20a083(0x6,_0x162031[_0x477bc3(0x2b0)](_0x162031[_0x477bc3(0x1cd)]))],_0x4667cb);var _0x3edc4c=Object[_0x477bc3(0x1ec)],_0x24db3c=(_0x57ef9e,_0x539272,_0x50fa33,_0x364f0b)=>{const _0x5f50ce=_0x477bc3;for(var _0x449ed6=_0x364f0b>0x1?void 0x0:_0x364f0b?_0x3edc4c(_0x539272,_0x50fa33):_0x539272,_0x520afd=_0x57ef9e[_0x5f50ce(0x215)]-0x1,_0x19eae8;_0x520afd>=0x0;_0x520afd--)(_0x19eae8=_0x57ef9e[_0x520afd])&&(_0x449ed6=_0x19eae8(_0x449ed6)||_0x449ed6);return _0x449ed6;},_0x4d35c5=(_0xdb43f1,_0x486f9f)=>(_0x5db083,_0x2f7991)=>_0x486f9f(_0x5db083,_0x2f7991,_0xdb43f1);let _0x41ee4b=class extends _0x162031['Disposable']{constructor(_0x2442f4,_0x151e3b,_0x3e95cd){const _0x407f53=_0x477bc3;super(),_0x387a01(this,'_cachedData',new Map()),_0x387a01(this,_0x407f53(0x24f),new Map()),_0x387a01(this,'_disabled',!0x1),(this[_0x407f53(0x219)]=_0x2442f4,this['_localStorageService']=_0x151e3b,this[_0x407f53(0x16c)]=_0x3e95cd);}['disableLocalCache'](){const _0x5c5c81=_0x477bc3;this[_0x5c5c81(0x20f)]=!0x0;}[_0x477bc3(0x339)](){const _0x413899=_0x477bc3;this[_0x413899(0x20f)]=!0x1;}get[_0x477bc3(0x130)](){const _0x4d0f59=_0x477bc3;return this[_0x4d0f59(0x24f)];}['dispose'](){const _0x174452=_0x477bc3;this[_0x174452(0x3a3)]()['then'](()=>super[_0x174452(0x388)]());}async['loadOfflineData'](_0x5027ed){const _0x42fc7a=_0x477bc3;return this[_0x42fc7a(0x20f)]?null:this[_0x42fc7a(0x34b)]['getItem'](_0x44b518[_0x42fc7a(0x37c)](_0x5027ed));}async['saveOfflineData'](_0xf749c0,_0x4fe836){const _0xdcc0=_0x477bc3;return!!this[_0xdcc0(0x34b)][_0xdcc0(0x23c)](_0xf749c0,_0x4fe836);}[_0x477bc3(0x116)](_0x5cf5c8,_0x346719,_0xef599c,_0x529f3c){const _0x3140bb=_0x477bc3,_0x5be622=this[_0x3140bb(0x16c)][_0x3140bb(0x2fd)](_0x5cf5c8);this[_0x3140bb(0x312)]['set'](_0x5cf5c8,{'unitID':_0x5cf5c8,'type':_0x346719,'awaitingChangeset':_0xef599c,'mutations':_0x529f3c,'rev':_0x5be622}),this[_0x3140bb(0x24f)]['has'](_0x5cf5c8)||this['_scheduleSaving'](_0x5cf5c8);}[_0x477bc3(0x3c0)](_0x1798ab){const _0x589a1e=_0x477bc3,_0x53936b=this['_getSaveTimeout']();_0x53936b===0x0?this[_0x589a1e(0x14d)](_0x1798ab):this[_0x589a1e(0x24f)][_0x589a1e(0x34a)](_0x1798ab,setTimeout(()=>this[_0x589a1e(0x14d)](_0x1798ab),_0x53936b));}['_getSaveTimeout'](){const _0x327da0=_0x477bc3;var _0x59d464;return(_0x59d464=this[_0x327da0(0x219)][_0x327da0(0x248)](_0x44b518['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x59d464:_0x44b518['LOCAL_CACHE_INTERVAL'];}[_0x477bc3(0x14d)](_0xdeb557){const _0x47f2a9=_0x477bc3,_0x44e494=this[_0x47f2a9(0x24f)]['get'](_0xdeb557);return _0x44e494!==void 0x0&&window[_0x47f2a9(0x23a)](_0x44e494),this[_0x47f2a9(0x34b)][_0x47f2a9(0x23c)](_0x44b518['getLocalCacheKey'](_0xdeb557),this['_cachedData'][_0x47f2a9(0x375)](_0xdeb557))[_0x47f2a9(0x22f)](()=>this[_0x47f2a9(0x24f)][_0x47f2a9(0x32d)](_0xdeb557));}async[_0x477bc3(0x3a3)](){const _0x124880=_0x477bc3,_0x4ba03b=[];this[_0x124880(0x24f)][_0x124880(0x3c7)]((_0x4541f8,_0x2c6e73)=>{const _0x21ff53=_0x124880;window['clearTimeout'](_0x4541f8),_0x4ba03b[_0x21ff53(0x138)](this[_0x21ff53(0x14d)](_0x2c6e73)['then'](()=>{const _0x16212c=_0x21ff53;this[_0x16212c(0x24f)][_0x16212c(0x32d)](_0x2c6e73);}));}),await Promise[_0x124880(0x2a8)](_0x4ba03b);}};_0x41ee4b=_0x24db3c([_0x4d35c5(0x0,_0x162031[_0x477bc3(0x13e)]),_0x4d35c5(0x1,_0x162031[_0x477bc3(0x1c5)]),_0x4d35c5(0x2,_0x162031[_0x477bc3(0x2b0)](_0x4cd710[_0x477bc3(0x1d5)]))],_0x41ee4b);class _0x48e8ee extends _0x162031[_0x477bc3(0xea)]{constructor(){const _0x14a4a5=_0x477bc3;super(),_0x387a01(this,'urlChange$'),this[_0x14a4a5(0x35a)]=_0xe327d9[_0x14a4a5(0x2a9)](window,'popstate')[_0x14a4a5(0x2d1)](_0xe327d9[_0x14a4a5(0x331)](this[_0x14a4a5(0x1c1)]),_0xe327d9[_0x14a4a5(0x238)](0x1),_0xe327d9['mapTo'](void 0x0));}[_0x477bc3(0x33c)](_0x20e6e0,_0x5348d3,_0x510f82=!0x1){const _0x1a1820=_0x477bc3,_0x2ba932=new URL(window[_0x1a1820(0x32b)][_0x1a1820(0x246)]);_0x2ba932[_0x1a1820(0x1ca)][_0x1a1820(0x34a)](_0x20e6e0,_0x5348d3),_0x510f82?window[_0x1a1820(0x1e7)]['replaceState']('','',_0x2ba932['toString']()):window[_0x1a1820(0x1e7)][_0x1a1820(0x21d)]('','',_0x2ba932['toString']());}['removeParam'](_0x55f874,_0xbb0b6f=!0x1){const _0x84426f=_0x477bc3,_0x5d2fe5=new URL(window[_0x84426f(0x32b)][_0x84426f(0x246)]);_0x5d2fe5[_0x84426f(0x1ca)][_0x84426f(0x32d)](_0x55f874),_0xbb0b6f?window['history'][_0x84426f(0x2eb)]('','',_0x5d2fe5[_0x84426f(0x2a6)]()):window['history']['pushState']('','',_0x5d2fe5[_0x84426f(0x2a6)]());}['getParam'](_0x5b99fe){const _0x59f87a=_0x477bc3;var _0x2fea96;return(_0x2fea96=new URL(window[_0x59f87a(0x32b)][_0x59f87a(0x246)])[_0x59f87a(0x1ca)][_0x59f87a(0x375)](_0x5b99fe))!=null?_0x2fea96:void 0x0;}}var _0x4db249=Object[_0x477bc3(0x2e2)],_0xbad9d6=Object[_0x477bc3(0x1ec)],_0x1690f5=(_0x59003d,_0x4776dd,_0x1742eb)=>_0x4776dd in _0x59003d?_0x4db249(_0x59003d,_0x4776dd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1742eb}):_0x59003d[_0x4776dd]=_0x1742eb,_0x270136=(_0x51b438,_0x48c1bb,_0x29bbde,_0x38ff03)=>{const _0x64697f=_0x477bc3;for(var _0x587ec7=_0x38ff03>0x1?void 0x0:_0x38ff03?_0xbad9d6(_0x48c1bb,_0x29bbde):_0x48c1bb,_0x109570=_0x51b438[_0x64697f(0x215)]-0x1,_0x27f125;_0x109570>=0x0;_0x109570--)(_0x27f125=_0x51b438[_0x109570])&&(_0x587ec7=_0x27f125(_0x587ec7)||_0x587ec7);return _0x587ec7;},_0x56b50f=(_0x246d4,_0x57df9a)=>(_0x544cce,_0x389c76)=>_0x57df9a(_0x544cce,_0x389c76,_0x246d4),_0x3efcc8=(_0xe8e028,_0x56903c,_0x17abcc)=>_0x1690f5(_0xe8e028,_0x56903c+'',_0x17abcc);const _0x2735fc=_0x477bc3(0x1b3);_0x279e32['UniverCollaborationClientUIPlugin']=class extends _0x162031[_0x477bc3(0x1fc)]{constructor(_0x47cf8b=_0x1b221,_0xd27834,_0x3327b1,_0x54ac9b){const _0x32e9ba=_0x477bc3;super(),this['_config']=_0x47cf8b,this['_renderManagerService']=_0xd27834,this[_0x32e9ba(0x3da)]=_0x3327b1,this[_0x32e9ba(0x219)]=_0x54ac9b;const {..._0x3b4c0b}=_0x162031[_0x32e9ba(0x249)]({},_0x1b221,this[_0x32e9ba(0x38d)]);this[_0x32e9ba(0x219)][_0x32e9ba(0x14c)](_0x1050c1,_0x3b4c0b);}['onStarting'](){this['_registerDependencies'](),this['_initDependencies']();}[_0x477bc3(0x19c)](){this['_registerRenderDependencies']();}[_0x477bc3(0x15d)](){const _0x3b637c=_0x477bc3;var _0x52af25;const _0x3cc01d=[[_0x446316],[_0x4667cb],[_0x1d044c],[_0x492b1f],[_0x35832b],[_0x3f7f20],[_0x361122,{'useClass':_0x48e8ee}],[_0x1a6c2d[_0x3b637c(0x354)],{'useClass':_0x1a6c2d['WebSocketService']}],[_0x44b518['ILocalCacheService'],{'useClass':_0x41ee4b}],[_0x279e32[_0x3b637c(0x2b8)]],[_0x1ba1e0],[_0x55cb2a],[_0x421cc1],[_0x4b1658],[_0x279e32[_0x3b637c(0x174)]]];this[_0x3b637c(0x38d)][_0x3b637c(0x12a)]&&_0x3cc01d[_0x3b637c(0x138)]([_0x8f72b]),_0x162031[_0x3b637c(0x328)](this[_0x3b637c(0x3da)],_0x162031[_0x3b637c(0x39f)](_0x3cc01d,(_0x52af25=this[_0x3b637c(0x38d)])==null?void 0x0:_0x52af25[_0x3b637c(0x147)]));}[_0x477bc3(0x2b2)](){const _0x530a83=_0x477bc3;this['disposeWithMe'](this[_0x530a83(0x1f4)]['registerRenderModule'](_0x162031[_0x530a83(0x1c9)][_0x530a83(0x2c3)],[_0x560482])),this[_0x530a83(0x32e)](this[_0x530a83(0x1f4)][_0x530a83(0x233)](_0x162031[_0x530a83(0x1c9)][_0x530a83(0x277)],[_0x2eb725]));}[_0x477bc3(0x126)](){const _0x2b66e1=_0x477bc3;_0x162031['touchDependencies'](this[_0x2b66e1(0x3da)],[[_0x421cc1],[_0x279e32['DesktopCollaborationStatusDisplayController']],[_0x1ba1e0],[_0x55cb2a],[_0x279e32[_0x2b66e1(0x174)]],[_0x4667cb]]),this[_0x2b66e1(0x38d)]['enableFrontendLog']&&_0x162031[_0x2b66e1(0x17d)](this[_0x2b66e1(0x3da)],[[_0x8f72b]]);}},_0x3efcc8(_0x279e32[_0x477bc3(0x37a)],_0x477bc3(0x18d),_0x2735fc),_0x279e32[_0x477bc3(0x37a)]=_0x270136([_0x162031[_0x477bc3(0x207)](_0x44b518[_0x477bc3(0x399)]),_0x56b50f(0x1,_0x433081[_0x477bc3(0x1a7)]),_0x56b50f(0x2,_0x162031[_0x477bc3(0x2b0)](_0x162031[_0x477bc3(0x1e2)])),_0x56b50f(0x3,_0x162031['IConfigService'])],_0x279e32[_0x477bc3(0x37a)]);var _0x2e4e5c=Object[_0x477bc3(0x1ec)],_0x4d860a=(_0x5d176d,_0x55ca8b,_0x20b501,_0x4b4566)=>{const _0x9b316e=_0x477bc3;for(var _0xf330b1=_0x4b4566>0x1?void 0x0:_0x4b4566?_0x2e4e5c(_0x55ca8b,_0x20b501):_0x55ca8b,_0xc7005b=_0x5d176d[_0x9b316e(0x215)]-0x1,_0x3feec9;_0xc7005b>=0x0;_0xc7005b--)(_0x3feec9=_0x5d176d[_0xc7005b])&&(_0xf330b1=_0x3feec9(_0xf330b1)||_0xf330b1);return _0xf330b1;},_0x4183ce=(_0x4b2096,_0x1362da)=>(_0x50f22d,_0x2bfac0)=>_0x1362da(_0x50f22d,_0x2bfac0,_0x4b2096);_0x279e32[_0x477bc3(0x2d8)]=class extends _0x44b518[_0x477bc3(0x192)]{constructor(_0x34bef4,_0x1ea98a,_0x2db416,_0x379a0e,_0x482c63){super(_0x34bef4,_0x1ea98a,_0x2db416,_0x379a0e,_0x482c63);}async[_0x477bc3(0x3b5)](_0x436a56){const _0x3638ef=_0x477bc3,_0x2eab76=await this[_0x3638ef(0x1b0)](),_0x4a4785=this[_0x3638ef(0x1fa)](_0x436a56,_0x2eab76);return this[_0x3638ef(0x308)](_0x4a4785);}[_0x477bc3(0x1fa)](_0x1d439c,_0x5bd1a8){const _0x34a357=_0x477bc3,_0x3a1de4=typeof window>'u'?new URL(_0x1d439c):new URL(_0x1d439c,window[_0x34a357(0x32b)][_0x34a357(0x236)]);_0x3a1de4['searchParams'][_0x34a357(0x34a)]('sessionTicket',_0x5bd1a8);const _0x1d02bc=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x34a357(0x32b)][_0x34a357(0x29c)]);return _0x1d02bc[_0x34a357(0x375)](_0x34a357(0x1f6))&&_0x3a1de4[_0x34a357(0x1ca)][_0x34a357(0x34a)](_0x34a357(0x1f6),_0x1d02bc['get'](_0x34a357(0x1f6))),_0x3a1de4['toString']();}async[_0x477bc3(0x1b0)](){const _0xb956c1=_0x477bc3;var _0x2c84f9,_0x57ffee,_0x32d406;const _0x3a3cd8=this[_0xb956c1(0x219)][_0xb956c1(0x248)](_0x44b518['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x570525=(_0x2c84f9=_0x3a3cd8==null?void 0x0:_0x3a3cd8[_0xb956c1(0x28d)])!=null?_0x2c84f9:_0x44b518['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x32d406=(_0x57ffee=(await this[_0xb956c1(0x180)]['get'](_0x570525,{'headers':{'Content-Type':_0xb956c1(0x19d)}}))[_0xb956c1(0x34c)])==null?void 0x0:_0x57ffee['ticket'])!=null?_0x32d406:'';}},_0x279e32[_0x477bc3(0x2d8)]=_0x4d860a([_0x4183ce(0x0,_0x162031['Inject'](_0x162031[_0x477bc3(0x1e2)])),_0x4183ce(0x1,_0x162031['Inject'](_0x1a6c2d[_0x477bc3(0x133)])),_0x4183ce(0x2,_0x162031['IConfigService']),_0x4183ce(0x3,_0x162031[_0x477bc3(0x353)]),_0x4183ce(0x4,_0x4cd710[_0x477bc3(0x372)])],_0x279e32[_0x477bc3(0x2d8)]);var _0x59b697=Object[_0x477bc3(0x1ec)],_0x556298=(_0x4821fc,_0xeea9cb,_0x207cb7,_0x2073b9)=>{const _0x3b42e0=_0x477bc3;for(var _0x850e71=_0x2073b9>0x1?void 0x0:_0x2073b9?_0x59b697(_0xeea9cb,_0x207cb7):_0xeea9cb,_0x2920d6=_0x4821fc[_0x3b42e0(0x215)]-0x1,_0x1d4ae9;_0x2920d6>=0x0;_0x2920d6--)(_0x1d4ae9=_0x4821fc[_0x2920d6])&&(_0x850e71=_0x1d4ae9(_0x850e71)||_0x850e71);return _0x850e71;},_0xf413bd=(_0x52c0f0,_0x3c8d2c)=>(_0x3e6c87,_0x4c3fbb)=>_0x3c8d2c(_0x3e6c87,_0x4c3fbb,_0x52c0f0);_0x279e32[_0x477bc3(0x1f7)]=class extends _0x162031[_0x477bc3(0x148)]{constructor(_0x58e6b5,_0x2acef5,_0x5abedf){const _0x179706=_0x477bc3;super(),this[_0x179706(0x2ed)]=_0x58e6b5,this[_0x179706(0x180)]=_0x2acef5,this[_0x179706(0x219)]=_0x5abedf;}async['runOnServer'](_0x29ff8f,_0x509acd,_0x5da049,..._0x22f47f){const _0x388afe=_0x477bc3;var _0x151580,_0x179f69,_0x16d3a3,_0x1f703f;const _0x34f208=this[_0x388afe(0x2ed)][_0x388afe(0x14b)]();if(!_0x34f208)throw new Error(_0x388afe(0x2d9));const _0xf681e=((_0x151580=this[_0x388afe(0x219)]['getConfig'](_0x44b518[_0x388afe(0x1b4)]))!=null?_0x151580:_0x44b518[_0x388afe(0x391)])+'/'+_0x29ff8f+_0x388afe(0x1bc)+_0x509acd,_0x1bfccb=new URL(window[_0x388afe(0x32b)][_0x388afe(0x246)]),_0x3d131a={'scriptId':_0x29ff8f,'runId':(_0x179f69=_0x1bfccb[_0x388afe(0x1ca)][_0x388afe(0x375)](_0x388afe(0x1f6)))!=null?_0x179f69:'','function':_0x509acd,'unitId':_0x34f208[_0x388afe(0x161)](),'argsOfFunction':JSON[_0x388afe(0x199)](_0x22f47f),'invokeId':(_0x16d3a3=_0x5da049[_0x388afe(0x1fd)])!=null?_0x16d3a3:'','executionId':(_0x1f703f=_0x5da049[_0x388afe(0x1bf)])!=null?_0x1f703f:''};try{const _0x4f6b2d=await this[_0x388afe(0x180)][_0x388afe(0x376)](_0xf681e,{'body':_0x3d131a});return _0x4f6b2d['body'][_0x388afe(0x2d0)]&&_0x4f6b2d[_0x388afe(0x34c)][_0x388afe(0x2d0)]['code']!==_0x99761d['OK']?_0x388afe(0x309):_0x4f6b2d[_0x388afe(0x34c)][_0x388afe(0x37b)];}catch{return _0x388afe(0x309);}}},_0x279e32[_0x477bc3(0x1f7)]=_0x556298([_0xf413bd(0x0,_0x162031['IUniverInstanceService']),_0xf413bd(0x1,_0x162031['Inject'](_0x1a6c2d['HTTPService'])),_0xf413bd(0x2,_0x162031[_0x477bc3(0x13e)])],_0x279e32[_0x477bc3(0x1f7)]);const _0x16821a=0x7530,_0x5c7102=_0x477bc3(0x140);class _0xc6a367 extends _0x162031[_0x477bc3(0x148)]{constructor(){const _0x633a9f=_0x477bc3;super(),_0x387a01(this,_0x633a9f(0x36a),_0x162031[_0x633a9f(0x38e)]()),_0x387a01(this,_0x633a9f(0x160),new Set()),_0x387a01(this,_0x633a9f(0x3db),new Map()),_0x387a01(this,_0x633a9f(0x1c0),null),_0x387a01(this,_0x633a9f(0x33d),new Map()),_0x387a01(this,_0x633a9f(0x26a),new Map()),this[_0x633a9f(0x1ad)]();}[_0x477bc3(0x388)](){const _0x245d35=_0x477bc3;super['dispose'](),this[_0x245d35(0x33d)][_0x245d35(0x3c7)]((_0x137431,_0x30b78e)=>this[_0x245d35(0x18a)](_0x30b78e)),this[_0x245d35(0x1c0)]&&window[_0x245d35(0x261)](this[_0x245d35(0x1c0)]);}['getUnitStatus$'](_0x523e0d){const _0x2389f4=_0x477bc3;return this['_ensureSubject'](_0x523e0d)['pipe'](_0xe327d9[_0x2389f4(0x1d2)]());}[_0x477bc3(0x17a)](_0x595c22){const _0x313e3e=_0x477bc3;this[_0x313e3e(0x160)]['size']===0x0&&this[_0x313e3e(0x1b5)](),this['_selfUnitIDs'][_0x313e3e(0x1d6)](_0x595c22),this[_0x313e3e(0x2ea)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x595c22],'isForwarded':!0x1});}[_0x477bc3(0x105)](_0x536eea){const _0x544da0=_0x477bc3;this[_0x544da0(0x160)]['delete'](_0x536eea),this[_0x544da0(0x160)][_0x544da0(0x12d)]===0x0&&this[_0x544da0(0x1c0)]&&window['clearInterval'](this[_0x544da0(0x1c0)]);}['_init'](){const _0x12c879=_0x477bc3;this[_0x12c879(0x32e)](_0x162031[_0x12c879(0x16b)](_0xe327d9['fromEvent'](window,_0x12c879(0x31a))[_0x12c879(0x2cd)](_0x50c020=>{const _0x9d7621=_0x12c879;if(_0x50c020[_0x9d7621(0x3b9)]!==_0x5c7102||!_0x50c020[_0x9d7621(0x144)])return;const _0x2bc8dd=JSON[_0x9d7621(0x398)](_0x50c020[_0x9d7621(0x144)]);this[_0x9d7621(0x1ee)](_0x2bc8dd);}))),window[_0x12c879(0x2d6)](_0x12c879(0x390),()=>this[_0x12c879(0x2ea)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x12c879(0x360)](this[_0x12c879(0x160)])}));}[_0x477bc3(0x1ee)](_0x123150){const _0x435219=_0x477bc3;switch(_0x123150['type']){case 0x0:this['_handleJoinEvent'](_0x123150);break;case 0x1:this[_0x435219(0x330)](_0x123150);break;case 0x2:this['_handleHeartbeatEvent'](_0x123150);break;}}[_0x477bc3(0x342)](_0x42d98f){const _0x29b8b6=_0x477bc3,{unitIDs:_0x2f16f1,memberID:_0x13253a,isForwarded:_0x47c1fe}=_0x42d98f;_0x2f16f1['forEach'](_0x1d98ee=>{const _0xbac29e=_0x1b11;if(!_0x47c1fe&&this[_0xbac29e(0x3db)]['has'](_0x1d98ee)&&this[_0xbac29e(0xf8)](_0x1d98ee)[_0xbac29e(0x3be)](_0x44b518[_0xbac29e(0x306)][_0xbac29e(0x10d)]),!this[_0xbac29e(0x3db)][_0xbac29e(0x3cf)](_0x1d98ee)||!this[_0xbac29e(0x3db)][_0xbac29e(0x375)](_0x1d98ee)[_0xbac29e(0x3cf)](_0x13253a)){const _0x379181=this[_0xbac29e(0x3db)][_0xbac29e(0x375)](_0x1d98ee)||new Set();_0x379181[_0xbac29e(0x1d6)](_0x13253a),this[_0xbac29e(0x3db)][_0xbac29e(0x34a)](_0x1d98ee,_0x379181),this['_scheduleClearOtherTimer'](_0x13253a);}}),_0x47c1fe||this['_send']({'type':0x0,'memberID':this[_0x29b8b6(0x36a)],'unitIDs':[...this[_0x29b8b6(0x160)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x2e2bbd){const _0x35cc2d=_0x477bc3;this[_0x35cc2d(0x18a)](_0x2e2bbd);const _0x477a2a=window[_0x35cc2d(0x366)](()=>{const _0x52968d=_0x35cc2d;this['_unitOnClients'][_0x52968d(0x3c7)](_0x1086aa=>{_0x1086aa['delete'](_0x2e2bbd);});},_0x16821a*0x2);this[_0x35cc2d(0x33d)][_0x35cc2d(0x34a)](_0x2e2bbd,_0x477a2a);}[_0x477bc3(0x18a)](_0x36e5ae){const _0x2c26f3=_0x477bc3;if(this[_0x2c26f3(0x33d)][_0x2c26f3(0x3cf)](_0x36e5ae)){const _0x3951fb=this['_clearOtherTimers'][_0x2c26f3(0x375)](_0x36e5ae);_0x3951fb&&window['clearTimeout'](_0x3951fb),this[_0x2c26f3(0x33d)][_0x2c26f3(0x34a)](_0x36e5ae,null);}}[_0x477bc3(0x330)](_0x2ffb88){const {memberID:_0x152ab8,unitIDs:_0x4f6daa}=_0x2ffb88;_0x4f6daa['forEach'](_0xe98b55=>{const _0x50ccbd=_0x1b11;var _0x223f7c;const _0x1c73ba=this[_0x50ccbd(0x3db)][_0x50ccbd(0x375)](_0xe98b55);_0x1c73ba&&(_0x1c73ba['delete'](_0x152ab8),(_0x223f7c=this[_0x50ccbd(0xf8)](_0xe98b55))==null||_0x223f7c[_0x50ccbd(0x3be)](_0x1c73ba['size']===0x0?_0x44b518[_0x50ccbd(0x306)]['NO_OTHER_CLIENTS_EDITING']:_0x44b518[_0x50ccbd(0x306)][_0x50ccbd(0x10d)]));}),this['_removeClearOtherTimer'](_0x152ab8);}['_handleHeartbeatEvent'](_0x27f77a){const _0x198da2=_0x477bc3;this[_0x198da2(0x325)](_0x27f77a[_0x198da2(0x3b2)]);}[_0x477bc3(0x2ea)](_0x1fde18){const _0xa48988=_0x477bc3;localStorage[_0xa48988(0x23c)](_0x5c7102,JSON[_0xa48988(0x199)](_0x1fde18));}[_0x477bc3(0x1b5)](){const _0x435645=_0x477bc3;this['_heartbeatTimer']=window[_0x435645(0x18b)](()=>{const _0x12d860=_0x435645;this[_0x12d860(0x2ea)]({'type':0x2,'memberID':this[_0x12d860(0x36a)]});},_0x16821a);}[_0x477bc3(0xf8)](_0x2c91aa){const _0xa4087b=_0x477bc3;return this[_0xa4087b(0x26a)]['has'](_0x2c91aa)||this[_0xa4087b(0x26a)][_0xa4087b(0x34a)](_0x2c91aa,new _0xe327d9['BehaviorSubject'](_0x44b518['UnitStatus']['NO_OTHER_CLIENTS_EDITING'])),this[_0xa4087b(0x26a)]['get'](_0x2c91aa);}}_0x279e32[_0x477bc3(0x31b)]=_0x361122,_0x279e32[_0x477bc3(0x14e)]=_0x5ff006,_0x279e32[_0x477bc3(0x125)]=_0xc6a367,_0x279e32[_0x477bc3(0x1b9)]=_0x48e8ee,Object[_0x477bc3(0x2e2)](_0x279e32,Symbol[_0x477bc3(0x263)],{'value':'Module'});}));function _0x5942(){const _0x4e0804=['useCallback','ENTITLE_INVALID_COUPON_CODE','...','handleMoveRange','YUUMI_NO_CUBOID_FOR_QUESTION','onPointerLeave$','_showGuardMessage','ColorKit','href','_docTransformIMECacheService','getConfig','merge','_color','#FFF','debounce','type','getParam','_saveTaskMap','m2Prime','ENTITLE_DUP_SUBSCRIPTION','TEXT','focused$','COLORS','UNDEFINED','REDEMPTION_CODE_NOT_STARTED','releaseFormulaLimitUrl','IRemoteInstanceService','subscribeEvent','_initStatusComponent','@univerjs/sheets-ui','_onCursorUpdate','syncEditingCollabCursor','_initEvent','react/jsx-runtime','url(#on-line-icon_clip0_910_349)','clearInterval','cursorInfo$','toStringTag','url(#$1','_getScale','cursorInfo','@univerjs-pro/collaboration-client','_docClipboardService','executeCommand','_unitStatus','_themeService','undoState','roomMembers','_collabCursorController','_hovered','min','getMember','_checkCalculationAvailable','_localCacheService','UniverIcon','ENTITLE_USE_COUPON_NOT_1ST_TRADE','_updateLocalCursor','UNIVER_SHEET','YUUMI_ASYNCIO_CANCELLED','removeEventListener','session.connection-failed','OnLineIcon','getCurrentSelections','startsWith','WECHAT_HAS_BEEN_BOUND','_anchorDot','_removeCollabCursors','_roomMembers$','6016232jQAWcs','UniverSheetsUi','_cursorShapes','source','black','registerRefRange','getRenderById','collab-text-anchor-','_drawAnchor','handleDeleteRangeMoveUp','getDocRanges','wsSessionTicketUrl','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','addObjects','useDependency','height','USER_IS_ANONYMOUS','DocSelectionManagerService','defs','find','isTransformMutationsWithChangesetSuccess','_logService','_context','_collabSessionService','xlink:href','registerComponent','search','RECT','clsx','APPLY_NON_SEQUENTIAL_REVISION','CollaborationUIEventId','CanceledError','_onRefRangeChange','YUUMI_UNABLE_LOAD_URL','currentColor','InsertRangeMoveRightCommandId','toString','getSheetId','all','fromEvent','CollaborationUIEventService','PAYMENT_CHANNEL_NOT_SUPPORT','range','eventID','SHEET_VIEWPORT_KEY','_document','Inject','collabStatus.conflict','_registerRenderDependencies','EMAIL_VERIFY_CODE_MISMATCH','_transformPreviousActiveRange','_scene','SetTextSelectionsOperation','collabStatus.syncing','DesktopCollaborationStatusDisplayController','HEADER_MENU','round','REDEMPTION_USER_REDEEM_TIMES_EXCEED','subunit','DataLoaderService','ThemeService','OffLineIcon','width','InsertRangeMoveDownCommandId','CollaborationStatus','UNIVER_DOC','ENTITLE_REPORT_LIMIT_EXCEED','LOGIN_TOKEN_PROCESSING_FAILED','translate(.97)','svg','symbol','_setFormulaLimitStatus','getSheetBySheetId','_startCalculationLimit','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','subscribe','_dataLoaderService','saveImage','error','pipe','useObservable','981062aqzYLI','UniverDrawing','collabStatus.notCollab','addEventListener','_urlService','BrowserCollaborationSocketService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','ERROR_AGAIN','roomMembers$','purple.300','@univerjs/network','0\x200\x2017\x2016','collaboration-client-ui.config','DocSkeletonManagerService','replace','defineProperty','ENTITLE_NEED_BILLING_ADDRESS','RegularPolygon','getAncestorScale','fillText','connectInjector','operators','transformSelections','_send','replaceState','getViewport','_instanceService','transformRemoteChangeset','AWAITING','bottom','@univerjs/core','_collaborationController','_hideTimer','IImageIoService','collabStatus.fetchMiss','handleIRemoveRow','_updateURLWithCurrentState','on-line-icon_clip0_910_349','displayName','_labelPosition','attrs','MoveRangeCommandId','getCurrentRevOfUnit','?taskId=','assignAColorForMemberID','_sheetSkeletonManagerService','labelPosition','TEXT_RANGE_LAYER_INDEX','UniverSheets','_syncEditingCollabCursorService','[Unhandled\x20Rejection]:\x20','UnitStatus','getCollabEntity$','_doCreateSocket','Failed','START_CALCULATION','Optional','/universer-api/license/formula/limit/status','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','some','Unknown\x20user','Workbook','_taskIds','_cachedData','YUUMI_URL_COL_OUT_OF_RANGE','USERS_LEAVE','UNAUTHENTICATED','9VRMmkJ','setShapeProps','DocStateChangeManagerService','_initCommandInterceptor','storage','IURLService','getCurrent','17260bsJgrd','setStateCache','Tools','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','Loading','SetWorksheetActivateCommand','_getAnchorBounding','getRangePointData','_scheduleClearOtherTimer','ICommandService','UniverUi','registerDependencies','reconnect','beginPath','location','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','delete','disposeWithMe','_toggleOnline','_handleLeaveEvent','takeUntil','currentSkeleton$','univer-mr-2\x20univer-flex\x20univer-text-xl','_monkeyPatchLogService','_initCommandExecutedListener','ENTITLE_CHAT_LIMIT_EXCEED','getCellPositionByOffset','_backgroundColor','enableLocalCache','_maxFormulaLimit','findNodePositionByCharIndex','setParam','_clearOtherTimers','MessageType','_onCursorDelete','UniverDocsUi','[LogService\x20Error]:\x20','_handleJoinEvent','_colorAssignService','_getSheetObject','unsubscribe','4315830WdrmgC','\x20at\x20','show','handleInsertRangeMoveDown','set','_localStorageService','body','mutations','univerjs-icon\x20univerjs-icon-','transformMutationsWithChangeset','transformIMECache','_cursor','_anchor','ILogService','ISocketService','_colorIndex','backgroundColor','APPLY_DUPLICATED','m1Prime','getformulaLimitStatusUrl','urlChange$','_docSyncEditingCollabCursorService','NOT_COLLAB','children','EffectRefRangId','NodePositionConvertToCursor','from','SUCCESS','white','SetSelectionsOperation','column','whenReady','setTimeout','session.collaboration-timeout','fill','addClipboardHook','_id','/universer-api/license/formula/limit/done','AUTHORIZE_CODE_ILLEGAL','_memberID','_lastPointer','socket$','color','11010260CyITXJ','ISnapshotServerService','FromArray','IBeforeCloseService','get','post','_messageService','measureText','REDEMPTION_CODE_HAS_BEEN_CREATED','UniverCollaborationClientUIPlugin','result','getLocalCacheKey','_drawRectRange','limitInfo','_initEntityListener','SetFormulaCalculationStartMutation','save','imageSourceType','74253sDpKQK','green.600','SessionStatus','USER_NOT_INVITED_CODE','YUUMI_TABLE_NOT_FOUND_IN_UNIT','dispose','amd','YUUMI_SUBSCRIPTION_NOT_FOUND','max','_initUserListener','_config','generateRandomId','yellow.400','unload','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getMergeData','idSuffix','stack','textRanges','_textBubble','reason','parse','UniverCollaborationClientPlugin','collaboration.offline-data-not-saved','ONLINE','sheetId','uni.network.url-service','complete','mergeOverrideWithDependencies','_docSkeletonManagerService','fromEventSubject','parseInt','exhaustSavingTask','createIdentifier','fillStyle','onPointerEnter$','registerBeforeClose','send','BuiltInUIPart','includes','YUUMI_CONNECTOR_URL_NOT_FOUND','USER_NOT_FOUND','isTransformMutationFailure','getMemberID','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','formula.calculation.waiting','stageInfo','memberID','_startSheetCollabCursor','UniverProCollaborationClientUi','createSocket','activeSheet$','Subject','OFFLINE','key','assign','_initUnhandledRejectionListener','_notificationService','_releaseCalculationLimit','next','_imageIoService','_scheduleSaving','_entities','collabStatus.offline','isFormulaString','_getFormulaLimitStatus','hovered','UniverProCollaboration','forEach','fillRule','random','values','tag','transformStateCache','getUniverSheetInstance','_docTransformStateCacheService','has','unitID','1em','getTypeOfUnitDisposed$','engine','name','toRgbString','DATA_SOURCE_TOO_LARGE','DocIMEInputManagerService','_lastResponseTimestamp','on-line-icon','_injector','_unitOnClients','RxDisposable','INotificationService','NodePositionConvertToRectRange','UniverEngineRender','CLOSE_ROOM','now','lineno','redoState','INVITE_CODE_ALREADY_BOUND','selections','rxjs','_range','Shape','@univerjs/drawing','_ensureSubject','split','_assignedColors','permission.content','_docStateChangeManagerService','SOCKET_FAILED','APPLY_REVISION_CONFILICT','mask','_shapes','SNAPSHOT_INVALID_SNAPSHOT','_initWindowErrorListener','shift','UNRECOGNIZED','disposeUnit','_pollingInterval','requireSession','lineTo','onTransformChange$','init','_localeService','getCollabCursors$','OTHER_CLIENTS_EDITING','_cursorInfo$','session.will-retry','APPLY_PERMISSION_DENIED','MemberService','Error','handleIRemoveCol','react','getSkeleton','updateOfflineData','_status$','UniverEngineFormula','asObservable','code','SNAPSHOT_HAS_BEEN_REMOVED','createInstance','off-line-icon_clip0_910_343','_collabCursorState$','LICENSE_MAX_UNITS_EXCEEDED','IDocClipboardService','use','join','_docSkeleton','filter','WebBrowserSingleActiveUnitService','_initDependencies','setActiveRange','YUUMI_AI_RUN_FAILED','arc','enableFrontendLog','path','defIds','size','sheetID','PENDING','saveTaskMap','_uploadLog','PY_RUNTIME_SCRIPT_ERROR','HTTPService','TOO_MANY_REQUESTS','with','BehaviorSubject','Tooltip','push','_commandService','useRef','ENTITLE_COUPON_EXPIRED','COMPLETION_FINISHED','collabStatus.synced','IConfigService','subUnitId','ACTIVE_UNIT_EVENT_CHANNEL','startRow','transform','addHandlerCallback','newValue','drawWith','debug','override','Disposable','INVALID_ARGUMENT','handleInsertCol','getFocusedUnit','setConfig','_saveCache','SheetCollabCursorShape','createElement','unitId','MOBILE_VERIFY_CODE_MISMATCH','deserializeRangeWithSheet','FormulaExecutedStateType','InsertColCommandId','LICENSE_DISTRO_REJECTED','CHANGESET_REVISION_CONFILICT','setUndoRedoMutationParamsCache','_hover','_online','CollaborationController','_beforeCloseService','getTypeOfUnitAdded$','_registerDependencies','_transformHistoryAndStateStack','hide','_selfUnitIDs','getUnitId','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','startColumn','UPDATE_CURSOR','isArray','docStateChange$','_setupBeforeClosingHandler','_updateCollabCursors','SetFormulaCalculationNotificationMutation','_eventUnsubscribe','toDisposable','_revisionService','top','transformByState','ENTITLE_INSUFFICIENT_QUOTA','@univerjs/design','UniverDocs','clipPath','getCellMatrix','CollaborationDataLoaderController','_initResize','ITransformService','event$','102aWFpdV','transformMutation','editingUnit','_uiPartsService','_clearPolling','touchDependencies','YUUMI_ALL_TABLES_IS_INVALID','getUnit','_httpService','jsx','getValue','RemoveColCommandId','OTHER_CLIENT_EDITING','_applyCommand','unit','IUIPartsService','unshift','setAlpha','_removeClearOtherTimer','setInterval','FormulaExecuteStageType','pluginName','_setupSubUnitSync','beforeCommandExecuted','currentUsage','VIEW_MAIN','CollaborationSocketService','deepClone','DocCollaborationEntity','moveTo','LICENSE_EXPORT_SIZE_EXCEEDED','selection','makeDirty','stringify','collab-client.tooltip.reconnect','getStateCache','onRendered','application/json','516lHSYZS','SYNCED','REDEMPTION_CODE_FULLY_REDEEMED','isEditing','forwardRef','_refRangeService','onMouseMove','loadUnit','/universer-api/license/formula/limit/start','IRenderManagerService','getColorFromTheme','_startDocCollabCursor','ENTITLE_CAN_NOT_BUY_LOWER_OTP','params','APPLY_REJECT','_init','@univerjs/engine-render','sessionStatus$','_getSessionTicket','rxjs/operators','status$','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_scheduleHeartbeat','DeleteRangeMoveUpCommandId','onCommandExecuted','[Window\x20Error]:\x20','WebURLService','collabCursorState$','filename','/run/','AWAITING_WITH_PENDING','restore','executionId','_heartbeatTimer','dispose$','ENTITLE_COUPON_USED_UP','YUUMI_RATE_OVER_LIMIT','permission.title','ILocalStorageService','onPointerMove$','NOT_FOUND','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','UniverInstanceType','searchParams','string','_currentUsage','LocaleService','getSheetObject','getCoordByCell','getUnhiddenWorksheets','ALREADY_EXISTS','distinctUntilChanged','_memberService','Vector2','RevisionService','add','REDEMPTION_INVALID_CODE','DeleteRangeMoveLeftCommandId','DOC_RANGE_TYPE','debounceTime','http://www.w3.org/2000/svg','jiqing.500','_toggleOffline','ranges','REDEMPTION_USER_NOT_ELIGIBLE','handleInsertRangeMoveRight','flatMap','Injector','getActiveRange','blue.400','CollaborationSessionService','_name','history','handleInsertRow','currentTheme$','_drawTextRange','CONFLICT','getOwnPropertyDescriptor','getOffsetConfig','_handleEvent','Warning','_handleHover','9123961IfiBMl','row','RemoveRowCommandId','_renderManagerService','INVALID_INVITE_CODE','runId','RemoteUniscriptService','resize','data','_createSocketURL','combineLatest','Plugin','invokeId','replaceDocRanges','text','_entityInit$','EMAIL_HAS_BEEN_BOUND','_getMergeRange','totalFormulasToCalculate','React','@univerjs/rpc','_initStatusListener','DependentOn','addObject','RefRangeService','doc.mutation.rich-text-editing','_session','_updateSubUnitFromURLParams','MUTATION','INVITE_CODE_HAS_BEEN_UES','_disabled','MOBILE_HAS_BEEN_BOUND','_checkAndWaitForCalculationPermission','getUndoRedoMutationParamsCache','LOGIN_FAILED','rgba(255,\x20255,\x20255,\x200.01)','length','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','ENSURE_SNAPSHOT_EXECUTION','_cursors','_configService','getColor','_refreshCollabCursors','IUniverInstanceService','pushState','url(#off-line-icon_clip0_910_343)','endColumn','switchMap','_collaborationSessionService','IMessageService','colorChannel1','INTERNAL_ERROR','_univerInstanceService','div','_collaborationUIEventService','serializeRangeWithSheet','JOIN_ROOM_FAILED','FETCH_MISS','INVITE_CODE_REQUIRED','_transformService','CollaborationEvent','current','then','none','Rect','CONNECTOR_DATA_TOO_LARGE','registerRenderModule','[CollaborationDataLoaderController]','getVpScrollXYInfoByPosToVp','origin','CURRENT_STATUS_CANNOT_OPERATE','shareReplay','map','clearTimeout','catch','setItem','function'];_0x5942=function(){return _0x4e0804;};return _0x5942();}
|