@univerjs-pro/collaboration-client-ui 1.0.0-alpha.6 → 1.0.0-alpha.8

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.
Files changed (89) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ar-SA.js +1 -1
  4. package/lib/cjs/locale/ca-ES.js +1 -1
  5. package/lib/cjs/locale/de-DE.js +1 -1
  6. package/lib/cjs/locale/en-US.js +1 -1
  7. package/lib/cjs/locale/es-ES.js +1 -1
  8. package/lib/cjs/locale/fa-IR.js +1 -1
  9. package/lib/cjs/locale/fr-FR.js +1 -1
  10. package/lib/cjs/locale/id-ID.js +1 -1
  11. package/lib/cjs/locale/it-IT.js +1 -1
  12. package/lib/cjs/locale/ja-JP.js +1 -1
  13. package/lib/cjs/locale/ko-KR.js +1 -1
  14. package/lib/cjs/locale/pl-PL.js +1 -1
  15. package/lib/cjs/locale/pt-BR.js +1 -1
  16. package/lib/cjs/locale/ru-RU.js +1 -1
  17. package/lib/cjs/locale/sk-SK.js +1 -1
  18. package/lib/cjs/locale/vi-VN.js +1 -1
  19. package/lib/cjs/locale/zh-CN.js +1 -1
  20. package/lib/cjs/locale/zh-HK.js +1 -1
  21. package/lib/cjs/locale/zh-TW.js +1 -1
  22. package/lib/es/facade.js +1 -1
  23. package/lib/es/index.js +1 -1
  24. package/lib/es/locale/ar-SA.js +1 -1
  25. package/lib/es/locale/ca-ES.js +1 -1
  26. package/lib/es/locale/de-DE.js +1 -1
  27. package/lib/es/locale/en-US.js +1 -1
  28. package/lib/es/locale/es-ES.js +1 -1
  29. package/lib/es/locale/fa-IR.js +1 -1
  30. package/lib/es/locale/fr-FR.js +1 -1
  31. package/lib/es/locale/id-ID.js +1 -1
  32. package/lib/es/locale/it-IT.js +1 -1
  33. package/lib/es/locale/ja-JP.js +1 -1
  34. package/lib/es/locale/ko-KR.js +1 -1
  35. package/lib/es/locale/pl-PL.js +1 -1
  36. package/lib/es/locale/pt-BR.js +1 -1
  37. package/lib/es/locale/ru-RU.js +1 -1
  38. package/lib/es/locale/sk-SK.js +1 -1
  39. package/lib/es/locale/vi-VN.js +1 -1
  40. package/lib/es/locale/zh-CN.js +1 -1
  41. package/lib/es/locale/zh-HK.js +1 -1
  42. package/lib/es/locale/zh-TW.js +1 -1
  43. package/lib/facade.js +1 -1
  44. package/lib/index.js +1 -1
  45. package/lib/locale/ar-SA.js +1 -1
  46. package/lib/locale/ca-ES.js +1 -1
  47. package/lib/locale/de-DE.js +1 -1
  48. package/lib/locale/en-US.js +1 -1
  49. package/lib/locale/es-ES.js +1 -1
  50. package/lib/locale/fa-IR.js +1 -1
  51. package/lib/locale/fr-FR.js +1 -1
  52. package/lib/locale/id-ID.js +1 -1
  53. package/lib/locale/it-IT.js +1 -1
  54. package/lib/locale/ja-JP.js +1 -1
  55. package/lib/locale/ko-KR.js +1 -1
  56. package/lib/locale/pl-PL.js +1 -1
  57. package/lib/locale/pt-BR.js +1 -1
  58. package/lib/locale/ru-RU.js +1 -1
  59. package/lib/locale/sk-SK.js +1 -1
  60. package/lib/locale/vi-VN.js +1 -1
  61. package/lib/locale/zh-CN.js +1 -1
  62. package/lib/locale/zh-HK.js +1 -1
  63. package/lib/locale/zh-TW.js +1 -1
  64. package/lib/types/controllers/collab-cursor/board-collab-cursor-entity.d.ts +3 -3
  65. package/lib/types/controllers/collab-cursor/collab-cursor.controller.d.ts +2 -2
  66. package/lib/types/controllers/collab-cursor/slide-collab-cursor-entity.d.ts +3 -3
  67. package/lib/types/models/cursor.d.ts +0 -2
  68. package/lib/umd/facade.js +1 -1
  69. package/lib/umd/index.js +1 -1
  70. package/lib/umd/locale/ar-SA.js +1 -1
  71. package/lib/umd/locale/ca-ES.js +1 -1
  72. package/lib/umd/locale/de-DE.js +1 -1
  73. package/lib/umd/locale/en-US.js +1 -1
  74. package/lib/umd/locale/es-ES.js +1 -1
  75. package/lib/umd/locale/fa-IR.js +1 -1
  76. package/lib/umd/locale/fr-FR.js +1 -1
  77. package/lib/umd/locale/id-ID.js +1 -1
  78. package/lib/umd/locale/it-IT.js +1 -1
  79. package/lib/umd/locale/ja-JP.js +1 -1
  80. package/lib/umd/locale/ko-KR.js +1 -1
  81. package/lib/umd/locale/pl-PL.js +1 -1
  82. package/lib/umd/locale/pt-BR.js +1 -1
  83. package/lib/umd/locale/ru-RU.js +1 -1
  84. package/lib/umd/locale/sk-SK.js +1 -1
  85. package/lib/umd/locale/vi-VN.js +1 -1
  86. package/lib/umd/locale/zh-CN.js +1 -1
  87. package/lib/umd/locale/zh-HK.js +1 -1
  88. package/lib/umd/locale/zh-TW.js +1 -1
  89. package/package.json +23 -22
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x566a(){const _0x35f306=['getCoordByCell','_saveTaskMap','whenReady','_initEntityListener','VIEW_MAIN','getActivePageId','name','Inject','_unitStatus','some','_colorIndex','xlink:href','_sheetLoadingRenderService','with','unitID','OffLineIcon','collaboration-client-ui.permission.content','subscribeEvent','_getSheetObject','CLOSE_ROOM','invokeId','roomMembers$','_refreshCollabCursors','useDependency','defineProperty','enableDocumentCollaborationUI','all','toStringTag','eventID','mutations','_taskIds','_latestStates','focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2','_heartbeatTimer','font','limitInfo','/universer-api/frontend/logs','_lastResponseTimestamp','PluginService','getActiveSheet','addObject$','cursorInfo$','loadedBlocks','_hideTimer','_clearBlockProgressWatch','slide-collab-cursor-','unitId','CollaborationStatus','_updateMessage','call','evenodd','1676563aGvTVo','urlChange$','DeleteRangeMoveUpCommandId','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','fromEventSubject','startsWith','M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','getAncestorScale','_range','_updateCollabCursors','_drawTextRange','transformIMECache','getCollabEntity$','RefRangeService','version','Vector2','unhandledrejection','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','colno','UNIVER_SLIDE','stageInfo','RECT','univer-text-red-500','CollaborationUIEventId','black','UniverSheetsUi','focusedId','showSkeleton','getViewport','getUnhiddenWorksheets','SOCKET_FAILED','UNIVER_DOC','Optional','join','body','sessionStatus$','searchParams','entries','@univerjs/core','univer-border-none\x20univer-bg-transparent','0\x200\x2017\x2016','getCurrentTypeOfUnit$','@univerjs/sheets-ui','doc.mutation.rich-text-editing','wsSessionTicketUrl','_textBubble','getCollabCursors$','_startDocCollabCursor','loading-multi-icon','ONLINE','DocIMEInputManagerService','CollaborationController','filter','debounce','post','decorate','replaceState','_initUnhandledRejectionListener','UPDATE_CURSOR','registerRenderModule','bold\x2013px\x20Arial,\x20sans-serif','executionId','onMouseMove','univer-m-0\x20univer-p-0','white','@univerjs/docs','324NfmenA',':backup:','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','previewCellData','InsertRowCommandId','_onRefRangeChange','undoState','IMessageService','Disposable','0.2)','distinctUntilChanged','_blinkIntervalTimer','UniverProBoardsUi','updateOfflineData','_pollingInterval','_toggleOffline','collaboration-client-ui.formula.calculation.waiting','subUnitId','application/json','getTypeOfUnitDisposed$','indicator','tag','Workbook','3581388WMICmE','getSnapshot','_renderScheduled','span','_collabCursorController','children','_injector','getId','_clearOtherTimers','clearInterval','Enter','_setInteractionBlocked','collaboration-client-ui.conflict.title','Loading','_selfUnitIDs','@univerjs/engine-render','getCurrentUnitOfType','getStateCache','univer-size-4\x20univer-shrink-0\x20univer-text-amber-500','/universer-api/license/formula/limit/start','save','setLineDash','_name','...','getRelativeToViewportCoord','Success','send','_currentUsage','saveOfflineData','labelHorizontalPosition','OTHER_CLIENT_EDITING','scene','deepClone','addHandlerCallback','_render','_collabSessionService','toISOString','SetFormulaCalculationStartMutation','_setupSubUnitSync','_context','_eventUnsubscribe','getSheetObject','M15\x208C15\x2011.866\x2011.866\x2015\x208\x2015C4.13401\x2015\x201\x2011.866\x201\x208C1\x204.13401\x204.13401\x201\x208\x201C11.866\x201\x2015\x204.13401\x2015\x208ZM8.00008\x2012.3671C8.46031\x2012.3671\x208.83342\x2011.994\x208.83342\x2011.5338C8.83342\x2011.0735\x208.46031\x2010.7004\x208.00008\x2010.7004C7.53985\x2010.7004\x207.16675\x2011.0735\x207.16675\x2011.5338C7.16675\x2011.994\x207.53985\x2012.3671\x208.00008\x2012.3671ZM8.5999\x204.4335C8.5999\x204.10213\x208.33127\x203.8335\x207.9999\x203.8335C7.66853\x203.8335\x207.3999\x204.10213\x207.3999\x204.4335V9.36683C7.3999\x209.6982\x207.66853\x209.96683\x207.9999\x209.96683C8.33127\x209.96683\x208.5999\x209.6982\x208.5999\x209.36683V4.4335Z','DOC_RANGE_TYPE','ErrorCode','_docClipboardService','error','_beforeCloseService','BOARD_TOP_RIGHT_MENU_LEADING_PART','_transformService','message','_entityInit$','setShapeProps','_docTransformSelectionsService','_collabCursorState$','collaboration-client-ui.config','_setFormulaLimitStatus','now','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','fillStyle','16faHeDm','PERMISSION_DENIED','_shortcutService','_offsetY','Warning','[CollaborationDataLoaderController]','blue.400','_online','_initEvent','UniverDocsUi','UniverIcon','getActiveRange','forwardRef','resolve','Failed','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','SetTextSelectionsOperation','set','operators','pageManager','UniverDocs','OnLineIcon','cursorInfo','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_docTransformStateCacheService','@univerjs/rpc','DocStateChangeManagerService','_initStatusListener','context','clipPath','timeoutState$','unit','executeCommand','ILocalStorageService','getSheetId','_unitOnClients','_clearPolling','getConfig','getRealBound','complete','setItem','_cursorInfo$','removeObjects','refreshLabel','CollaborationEvent','getItem','Rect','getUniverSheetInstance','collabCursorState$','30rucxLm','snapshot-loading-interaction-guard','UniverCollaborationClientUIPlugin','selectedIds','static','_drawAnchor','http://www.w3.org/2000/svg','#0B9EFB','collaboration-client-ui.collaboration.closeRoom','icon','RemoveColCommandId','MessageType','_document','TEXT_RANGE_LAYER_INDEX','fill','has','_cursors','univer-flex\x20univer-items-center\x20univer-justify-center','bottom','_id','_shortcutBlock','removeObject','_onCursorDelete','setOffsetY','maxFormulaLimit','_docSkeletonManagerService','length','HEADER_MENU','contains','disposeUnit','Unknown\x20user','ISnapshotServerService','switchMap','push','SUCCESS','handleIRemoveRow','_status$','_docSyncEditingCollabCursorService','_initDependencies','stage','IUIPartsService','then','_roomMembers$','IDocClipboardService','right','handoff','_saveCache','_removeClearOtherTimer','moveTo','currentTheme$','collaboration-client-ui.collabStatus.offline','setTimeout','touchDependencies','RemoveRowCommandId','getMemberID','_entities','red.300','column','[Window\x20Error]:\x20','throttleTime','getRenderById','_themeService','collaboration-client-ui.collabStatus.conflict','event$','random','debounceTime','ISocketService','getCurrentRevOfUnit','_getObjectBounds','strokeRect','collaboration-client-ui.formula.calculation.started','_scene','polite','_collaborationSessionService','_shapes','UniverEngineFormula','_showText','colorChannel1','_cursor','init','status','uni.network.url-service','setStateCache','_doCreateSocket','LOADING_BLOCKS','handleMoveRange','SessionStatus','clearTimeout','url(#on-line-icon_clip0_910_349)','forceDisable','univer-inline-flex\x20univer-items-center\x20univer-justify-center','status$','2476536WNhzNd','unsubscribe','rgba(255,\x20255,\x20255,\x200.01)','displayName','_initResize','get','tooltipKey','setUndoRedoMutationParamsCache','34990YHCEFN','size','_cursorShapes','dirtyRanges','_getMergeRange','location','registerComponent','clear','univerjs-icon\x20univerjs-icon-','_collaborationUIEventService','ISlideDrawingStateService','onTransformChange$','_handleLeaveEvent','@univerjs/network','_snapshotLoadingService','translate(.97)','collaboration-client-ui.permission.title','NO_OTHER_CLIENTS_EDITING','clickable','map','highlightSecond','theme$','@univerjs/protocol','getVpScrollXYInfoByPosToVp','takeUntil','_clearTimeoutState','origin','combineLatest','replaceDocRanges','_highlight','SheetCollabCursorShape','getValue','SetDocZoomRatioOperation','onStarting','i18nKey','IRemoteInstanceService','content','m1Prime','connectInjector','_labelPosition','startPluginsForType','storage','@univerjs-pro/boards-ui','@univerjs-pro/collaboration-client','kind','UniverUi','_registerRenderDependencies','COMPLETE','SnapshotLoadingService','@univerjs-pro/collaboration-client-ui','dispose$','_send','collaboration-client-ui.collaboration.offline-data-not-saved','FETCH_MISS','6752993RagqtV','@univerjs/engine-formula','[LogService\x20Error]:\x20','SetWorksheetActivateCommand','currentColor','findNodePositionByCharIndex','LOCAL_CACHE_INTERVAL_KEY','history','angle','jsx','ILocalCacheService','[Unhandled\x20Rejection]:\x20','drawWith','UNIVER_BOARD','off-line-icon_clip0_910_343','AWAITING_WITH_PENDING','_localStorageService','1118726KvTtYz','defs','_applyCommand','parseInt','DisposableCollection','href','INotificationService','collaboration-client-ui.formula.calculation.unable','result','1em','amd','univer-fixed\x20univer-left-1/2\x20univer-top-4\x20univer-z-[1001]\x20univer-flex\x20univer-max-w-[calc(100vw-32px)]\x20-univer-translate-x-1/2\x20univer-items-center\x20univer-gap-2\x20univer-rounded-lg\x20univer-bg-white\x20univer-px-3\x20univer-py-2\x20univer-text-sm\x20univer-text-gray-900\x20univer-shadow-lg\x20dark:!univer-bg-gray-700\x20dark:!univer-text-white','getCellPositionByOffset','_labelHorizontalPosition','_isBlinkVisible','text','getColorFromTheme','Plugin','_transformHistoryAndStateStack','UniverProCollaborationClient','color','rxjs','_refRangeService','find','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_httpService','_revisionService','evented','_updateSubUnitFromURLParams','resize','arc','reconnect','idSuffix','_getLighterColor','RichTextEditingMutation','GLOBAL','USERS_LEAVE','makeDirty','labelPosition','WarningIcon','syncEditingCollabCursor','_renderManagerService','getTypeOfUnitAdded$','trim','_colorAssignService','unshift','univer-text-gray-400','currentSkeleton$','univer-text-blue-500','TEXT','_cachedData','_localCacheService','ISheetLoadingRenderService','DocSelectionManagerService','collaboration-client-ui.collabStatus.fetchMiss','registerBeforeClose','override','PENDING','transformMutation','m2Prime','_initUserListener','_transformPreviousActiveRange','MemberService','_uploadLog','board-element-selection','collaboration-client-ui.session.will-retry','catch','SUBMIT_CHANGESET_TIMEOUT','default','rgba','UnitStatus','object','3250027DWXpLK','Tooltip','InsertRangeMoveRightCommandId','getLocalCacheKey','DocCollaborationEntity','Subject','activeSheet$','startColumn','green.600','EffectRefRangId','_startBoardCollabCursor','_sheetSkeletonManagerService','onCommandExecuted','_handleJoinEvent','JOIN_ROOM_FAILED','reload','univer-text-green-500','useMemo','Injector','transform','RxDisposable','getActiveSlide','_showGuardMessage','_registerDependencies','getFocusedUnit','_handleEvent','add','LoadingMultiIcon','_scheduleRender','BrowserCollaborationSocketService','fillText','unload','AWAITING','_anchorDot','@univerjs-pro/slides-ui','registerDependencies','collaboration-client-ui.conflict.content','totalFormulasToCalculate','showText','sheetId','height','react','_startBlinking','12GlEYUw','_boardElementStateService','stroke','_hovered','triggerDblclick','_scheduleClearOtherTimer','backgroundColor','transformMutationsWithChangeset','ICommandService','jsxs','getOffsetConfig','handleInsertRangeMoveRight','spin','_transformUndoRedoStack','addObject','getUnitId','totalBlocks','lineTo','replace','startFormulaLimitUrl','START_CALCULATION','activeSheetId','previewReady','getSkeleton','function','values','isTransformMutationsWithChangesetSuccess','IUniverInstanceService','UniverInstanceType','_blinkTimer','_removeCollabCursors','_getSaveTimeout','_setupBeforeClosingHandler','_latestCursors','_assignedColors','toString','code','_stopBlinking','_isApplyingOverlays','exhaustSavingTask','board-collab-cursor-','_hidePreview','_localeService','slide-element-selection','_handoffUnitIds','disposeWithMe','newValue','_logService','data','small','OFFLINE','getMember','setInterval','getColor','top','_config','handleDeleteRangeMoveLeft','rgba(','key','_ensureSubject','_pointerMoveDisposable','_checkCalculationAvailable','strokeWidth','createInstance','_getSessionTicket','_lastPointer','useCallback','disableLocalCache','jiqing.500','getUndoRedoMutationParamsCache','activeSlideId$','_startSlideCollabCursor','pluginName','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_collaborationController','pipe','transformSelections','getCurrentSkeleton','_blockProgressWatches','ticket','selections','FormulaExecutedStateType','symbol','handleDeleteRangeMoveUp','getAllUnitsForType','univer-text-orange-500','off-line-icon','_highlightSecond','#4f46e5','lineno','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','CollaborationSessionService','ITransformService','fromEvent','transformRemoteChangeset','getOwnPropertyDescriptor','_memberService','NodePositionConvertToRectRange','slice','_getAnchorBounding','_configService','React','memberID','\x20-\x20','DocSkeletonManagerService','dark:focus:!univer-ring-offset-gray-800','InsertColCommandId','value','none','loadUnit','getCurrentSelections','getDocRanges','hide','getObjectIncludeInGroup','IBoardElementStateService','collaboration-client-ui.session.connection-failed','FromArray','SnapshotLoadStage','_pluginService','ThemeService','generateRandomId','univer-transition-all\x20univer-duration-200','CONFLICT','2OXorgh','_updateLocalCursor','getObject','_disabled','isArray','_getScale','0\x200\x2016\x2016','collaboration-client-ui.collabStatus.syncing','runId','IRenderManagerService','_messageIds','max','highlight','getSheetBySheetId','_onCursorUpdate','collab-text-range-',',\x200.2)','addObjects','UNIVER_SHEET','UniverNetwork','_univerInstanceService','_updateURLWithCurrentState','svg','@univerjs/docs-ui','DependentOn','IImageIoService','textRanges','_syncEditingCollabCursorService','_instanceService','ranges','round','M0\x200H16V16H0z','attrs','state$','isFormulaId','offsetY','asObservable','_interactionBlocked$','params','socket$','_initCommandInterceptor','row','CanceledError','parse','_dataLoaderService','currentUsage','useObservable','remove','_uiPartsService','_commandService','roomMembers','enableFrontendLog','LocaleService','_handleHeartbeatEvent','_session','_init','_notificationService','getParam','endColumn','_draw','show','handleInsertRow','next','mask','range','collaboration-client-ui.session.collaboration-timeout','_docSkeleton','substring','UniverCollaborationClientPlugin','sheetID','includes','12yuzobZ','string','isTransformMutationFailure','Tools','serializeRangeWithSheet','_getFormulaLimitStatus','_messageService','stringify','_getSheetLoadingRenderService','setActiveRange','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','dispose','UniverEngineRender','_monkeyPatchLogService','RegularPolygon','stack','collab-rect-range-','width','_hasFormulaInDirtyRanges','from','alert','/universer-api/license/formula/limit/done','ColorKit','BuiltInUIPart','univer-appearance-none','_color','_isVisibleUnit','UniverDesign','button','requireSession','fillRule','selection','min','_toggleOnline','toPrimitive','collaboration-client-ui.collabStatus.notCollab','isFormulaString','forEach','transformStateCache','SheetSkeletonManagerService','@univerjs/sheets','_slideDrawingStateService','collaboration-client-ui.snapshotLoading.refresh','endRow','isActive','focused$','_checkAndWaitForCalculationPermission','collaboration-client-ui.snapshotLoading.loadingSheet','subscribe','merge','SheetsSelectionsService','_getSceneObjectByKey','_timeoutState$','DeleteRangeMoveLeftCommandId','[RemoteUniscriptService]:\x20no\x20focused\x20unit','BehaviorSubject','debug','_initStatusComponent','_handoffPreview','_startCalculationLimit','runRefRangeMutations','type','on-line-icon','saveTaskMap','HTTPService','COLORS','UniverProtocol','split','timeoutId','filename','setParam','removeEventListener','_createSocketURL','IBeforeCloseService','mapTo','_scheduleHeartbeat','_watchBlockProgress','_hover','sessionTicket','setConfig','div','search','_urlService','WebBrowserSingleActiveUnitService','left','Error','rxjs/operators','_imageIoService','entityInit$','clsx','_initCommandExecutedListener','purple.300','hovered','onPointerEnter$','NOT_COLLAB','measureText','_backgroundColor','UniverProCollaborationClientUi','\x20at\x20','closePath','subunit','_docTransformIMECacheService','warning-icon','UniverRpc','shift','_anchor','deserializeRangeWithSheet','_previewUnitId','ERROR','addEventListener','FormulaExecuteStageType','mergeOverrideWithDependencies','redoState','preventDefault','IConfigService','delete','SYNCED','current','restore','UniverProCollaboration','path','isInternalEditorID','ILogService','toDisposable','transformByState','@univerjs-pro/collaboration','_memberID','_updateSheetPreview','@univerjs/design','InsertRangeMoveDownCommandId','constructor','snapshot-loading-timeout','toRgbString','_maxFormulaLimit','_docStateChangeManagerService','Fragment','_scheduleSaving','NodePositionConvertToCursor','true','pushState','assignAColorForMemberID','assign','bind','Module','createElement'];_0x566a=function(){return _0x35f306;};return _0x566a();}function _0x41f0(_0x43ea9c,_0x340f9f){_0x43ea9c=_0x43ea9c-0x6d;const _0x566a48=_0x566a();let _0x41f02f=_0x566a48[_0x43ea9c];return _0x41f02f;}(function(_0xf7995,_0x322abc){const _0x359d79=_0x41f0,_0x357454=_0xf7995();while(!![]){try{const _0x208099=-parseInt(_0x359d79(0x1d1))/0x1*(-parseInt(_0x359d79(0xe3))/0x2)+-parseInt(_0x359d79(0x94))/0x3+-parseInt(_0x359d79(0x31e))/0x4*(-parseInt(_0x359d79(0x9c))/0x5)+parseInt(_0x359d79(0x156))/0x6*(parseInt(_0x359d79(0x2dc))/0x7)+-parseInt(_0x359d79(0x371))/0x8*(-parseInt(_0x359d79(0x335))/0x9)+-parseInt(_0x359d79(0x3a2))/0xa*(parseInt(_0x359d79(0x12b))/0xb)+-parseInt(_0x359d79(0x218))/0xc*(parseInt(_0x359d79(0xd2))/0xd);if(_0x208099===_0x322abc)break;else _0x357454['push'](_0x357454['shift']());}catch(_0x2b5604){_0x357454['push'](_0x357454['shift']());}}}(_0x566a,0xb200e),function(_0x569285,_0x41380a){const _0x2a6e27=_0x41f0;typeof exports==_0x2a6e27(0x12a)&&typeof module<'u'?_0x41380a(exports,require('@univerjs-pro/boards-ui'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('rxjs/operators'),require('@univerjs/design'),require('react'),require('react/jsx-runtime'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('@univerjs-pro/slides-ui'),require('@univerjs/sheets-ui'),require('@univerjs/rpc'),require('@univerjs/protocol')):typeof define==_0x2a6e27(0x16e)&&define[_0x2a6e27(0xed)]?define(['exports',_0x2a6e27(0xc6),_0x2a6e27(0xc7),_0x2a6e27(0x302),'@univerjs/ui',_0x2a6e27(0xf8),_0x2a6e27(0x26e),_0x2a6e27(0x298),_0x2a6e27(0x154),'react/jsx-runtime',_0x2a6e27(0x344),_0x2a6e27(0xa9),_0x2a6e27(0x1e8),_0x2a6e27(0x295),_0x2a6e27(0x31d),_0x2a6e27(0xd3),_0x2a6e27(0x240),_0x2a6e27(0x14d),_0x2a6e27(0x306),_0x2a6e27(0x38a),_0x2a6e27(0xb2)],_0x41380a):(_0x569285=typeof globalThis<'u'?globalThis:_0x569285||self,_0x41380a(_0x569285[_0x2a6e27(0x279)]={},_0x569285[_0x2a6e27(0x32a)],_0x569285[_0x2a6e27(0xf6)],_0x569285['UniverCore'],_0x569285[_0x2a6e27(0xc9)],_0x569285[_0x2a6e27(0xf8)],_0x569285[_0x2a6e27(0xf8)][_0x2a6e27(0x383)],_0x569285[_0x2a6e27(0x233)],_0x569285['React'],_0x569285[_0x2a6e27(0x1bb)],_0x569285[_0x2a6e27(0x224)],_0x569285[_0x2a6e27(0x1e4)],_0x569285[_0x2a6e27(0x37a)],_0x569285[_0x2a6e27(0x28f)],_0x569285[_0x2a6e27(0x385)],_0x569285[_0x2a6e27(0x83)],_0x569285['UniverSheets'],_0x569285['UniverProSlidesUi'],_0x569285[_0x2a6e27(0x2f5)],_0x569285[_0x2a6e27(0x27f)],_0x569285[_0x2a6e27(0x25a)]));}(this,function(_0x571ec4,_0x199d1d,_0x4aca0a,_0x4615d2,_0x4c3c34,_0x5b7526,_0x101be6,_0x20f977,_0x63271a,_0x2bbf19,_0x1891a4,_0x12e547,_0x3bfdba,_0x1208f3,_0x7aa288,_0x5f0904,_0x5ac505,_0x5df1cb,_0x50dd72,_0x1eb128,_0x505887){const _0x59cd08=_0x41f0;Object[_0x59cd08(0x2c1)](_0x571ec4,Symbol[_0x59cd08(0x2c4)],{'value':_0x59cd08(0x2a7)});function _0x5548be({ref:_0x1d0419,..._0x35f9cb}){const _0x350bdb=_0x59cd08;let {icon:_0x1dbb39,id:_0x5e4b26,className:_0x3b479f,extend:_0x550fe7,..._0x23cfb0}=_0x35f9cb,_0x1a0375=(_0x350bdb(0xa4)+_0x5e4b26+'\x20'+(_0x3b479f||''))[_0x350bdb(0x10e)](),_0x4e653=(0x0,_0x63271a['useRef'])('_'+_0x4b6e21());return _0x356f66(_0x1dbb39,''+_0x5e4b26,{'defIds':_0x1dbb39['defIds'],'idSuffix':_0x4e653[_0x350bdb(0x28d)]},{'ref':_0x1d0419,'className':_0x1a0375,..._0x23cfb0},_0x550fe7);}function _0x356f66(_0x512710,_0x2f4860,_0x1c3b9a,_0x50069f,_0x384ac1){const _0x41eba3=_0x59cd08;return(0x0,_0x63271a[_0x41eba3(0x2a8)])(_0x512710[_0x41eba3(0x333)],{'key':_0x2f4860,..._0x216b92(_0x512710,_0x1c3b9a,_0x384ac1),..._0x50069f},(_0x567d9f(_0x512710,_0x1c3b9a)[_0x41eba3(0x33a)]||[])[_0x41eba3(0xaf)]((_0x57f0c1,_0x46b528)=>_0x356f66(_0x57f0c1,_0x2f4860+'-'+_0x512710[_0x41eba3(0x333)]+'-'+_0x46b528,_0x1c3b9a,void 0x0,_0x384ac1)));}function _0x216b92(_0x23cb2b,_0x265942,_0x4d6387){const _0xbd5de=_0x59cd08;let _0x2865a6={..._0x23cb2b['attrs']};_0x4d6387!=null&&_0x4d6387[_0xbd5de(0x85)]&&_0x2865a6[_0xbd5de(0x3b0)]===_0xbd5de(0x85)&&(_0x2865a6[_0xbd5de(0x3b0)]=_0x4d6387[_0xbd5de(0x85)]),_0x4d6387!=null&&_0x4d6387[_0xbd5de(0x85)]&&_0x2865a6[_0xbd5de(0x158)]===_0xbd5de(0x85)&&(_0x2865a6[_0xbd5de(0x158)]=_0x4d6387[_0xbd5de(0x85)]),_0x23cb2b['tag']===_0xbd5de(0x210)&&_0x2865a6['id']&&(_0x2865a6['id']+=_0x265942[_0xbd5de(0x103)]),Object[_0xbd5de(0x301)](_0x2865a6)['forEach'](([_0x117d38,_0x10df95])=>{const _0x3f36cc=_0xbd5de;_0x117d38===_0x3f36cc(0x210)&&typeof _0x10df95==_0x3f36cc(0x219)&&(_0x2865a6[_0x117d38]=_0x10df95[_0x3f36cc(0x168)](/url\(#(.*)\)/,'url(#$1'+_0x265942['idSuffix']+')'));});let {defIds:_0x2132ba}=_0x265942;return!_0x2132ba||_0x2132ba[_0xbd5de(0x3bc)]===0x0?_0x2865a6:(_0x23cb2b[_0xbd5de(0x333)]==='use'&&_0x2865a6['xlink:href']&&(_0x2865a6[_0xbd5de(0x2b4)]+=_0x265942[_0xbd5de(0x103)]),Object[_0xbd5de(0x301)](_0x2865a6)[_0xbd5de(0x23d)](([_0x47275f,_0x142ea5])=>{const _0x5452cb=_0xbd5de;typeof _0x142ea5==_0x5452cb(0x219)&&(_0x2865a6[_0x47275f]=_0x142ea5[_0x5452cb(0x168)](/url\(#(.*)\)/,'url(#$1'+_0x265942['idSuffix']+')'));}),_0x2865a6);}function _0x567d9f(_0xf45483,_0x4cbced){const _0x214c57=_0x59cd08;var _0x2fa5c1;let {defIds:_0xfe501f}=_0x4cbced;return!_0xfe501f||_0xfe501f[_0x214c57(0x3bc)]===0x0?_0xf45483:_0xf45483[_0x214c57(0x333)]===_0x214c57(0xe4)&&(_0x2fa5c1=_0xf45483['children'])!=null&&_0x2fa5c1['length']?{..._0xf45483,'children':_0xf45483[_0x214c57(0x33a)][_0x214c57(0xaf)](_0x5a00b5=>typeof _0x5a00b5[_0x214c57(0x1f1)]['id']==_0x214c57(0x219)&&_0xfe501f&&_0xfe501f['includes'](_0x5a00b5[_0x214c57(0x1f1)]['id'])?{..._0x5a00b5,'attrs':{..._0x5a00b5[_0x214c57(0x1f1)],'id':_0x5a00b5[_0x214c57(0x1f1)]['id']+_0x4cbced[_0x214c57(0x103)]}}:_0x5a00b5)}:_0xf45483;}function _0x4b6e21(){const _0x598011=_0x59cd08;return Math[_0x598011(0x78)]()[_0x598011(0x179)](0x24)[_0x598011(0x214)](0x2,0x8);}_0x5548be[_0x59cd08(0x97)]=_0x59cd08(0x37b);let _0x4df0d0={'tag':_0x59cd08(0x1e7),'attrs':{'xmlns':_0x59cd08(0x3a8),'fill':_0x59cd08(0x1c2),'viewBox':_0x59cd08(0x1d7),'width':_0x59cd08(0xec),'height':_0x59cd08(0xec)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x59cd08(0xd6),'d':_0x59cd08(0x320),'strokeLinecap':'round','strokeLinejoin':_0x59cd08(0x1ef),'strokeWidth':1.2}}]},{'tag':_0x59cd08(0xe4),'attrs':{},'children':[{'tag':_0x59cd08(0x38e),'attrs':{'id':_0x59cd08(0xe0)},'children':[{'tag':'path','attrs':{'fill':_0x59cd08(0x31c),'d':_0x59cd08(0x1f0)}}]}]}],'defIds':[_0x59cd08(0xe0)]},_0x27985b=(0x0,_0x63271a[_0x59cd08(0x37d)])(function(_0x4ffb70,_0x2bbdd8){const _0x1e157d=_0x59cd08;return(0x0,_0x63271a[_0x1e157d(0x2a8)])(_0x5548be,Object[_0x1e157d(0x2a5)]({},_0x4ffb70,{'id':_0x1e157d(0x1ac),'ref':_0x2bbdd8,'icon':_0x4df0d0}));});_0x27985b[_0x59cd08(0x97)]=_0x59cd08(0x2b8);let _0x33b1e6={'tag':_0x59cd08(0x1e7),'attrs':{'xmlns':_0x59cd08(0x3a8),'fill':_0x59cd08(0x1c2),'viewBox':_0x59cd08(0x304),'width':_0x59cd08(0xec),'height':_0x59cd08(0xec)},'children':[{'tag':'g','attrs':{'clipPath':_0x59cd08(0x90)},'children':[{'tag':_0x59cd08(0x290),'attrs':{'stroke':'currentColor','d':_0x59cd08(0x380),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x59cd08(0xe4),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x59cd08(0x290),'attrs':{'fill':_0x59cd08(0x31c),'d':_0x59cd08(0x1f0),'transform':_0x59cd08(0xab)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x3cf87d=(0x0,_0x63271a['forwardRef'])(function(_0x2655cc,_0x20924b){const _0x338aed=_0x59cd08;return(0x0,_0x63271a[_0x338aed(0x2a8)])(_0x5548be,Object[_0x338aed(0x2a5)]({},_0x2655cc,{'id':_0x338aed(0x256),'ref':_0x20924b,'icon':_0x33b1e6}));});_0x3cf87d[_0x59cd08(0x97)]=_0x59cd08(0x386);let _0x4dedb8={'tag':_0x59cd08(0x1e7),'attrs':{'xmlns':_0x59cd08(0x3a8),'fill':_0x59cd08(0x1c2),'viewBox':_0x59cd08(0x1d7),'width':_0x59cd08(0xec),'height':_0x59cd08(0xec)},'children':[{'tag':_0x59cd08(0x290),'attrs':{'fill':_0x59cd08(0xd6),'d':_0x59cd08(0x35f),'fillRule':_0x59cd08(0x2db),'clipRule':_0x59cd08(0x2db)}}]},_0x39a594=(0x0,_0x63271a[_0x59cd08(0x37d)])(function(_0x45c86a,_0x25da5d){const _0x5c88a0=_0x59cd08;return(0x0,_0x63271a['createElement'])(_0x5548be,Object[_0x5c88a0(0x2a5)]({},_0x45c86a,{'id':_0x5c88a0(0x27e),'ref':_0x25da5d,'icon':_0x4dedb8}));});_0x39a594[_0x59cd08(0x97)]=_0x59cd08(0x10a);let _0x34a8cf={'tag':_0x59cd08(0x1e7),'attrs':{'xmlns':_0x59cd08(0x3a8),'fill':_0x59cd08(0x1c2),'viewBox':_0x59cd08(0x1d7),'width':'1em','height':_0x59cd08(0xec)},'children':[{'tag':_0x59cd08(0x290),'attrs':{'fill':_0x59cd08(0x3a9),'d':'M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','fillOpacity':0.2,'fillRule':_0x59cd08(0x2db),'clipRule':_0x59cd08(0x2db)}},{'tag':_0x59cd08(0x290),'attrs':{'fill':'#0B9EFB','d':_0x59cd08(0x2e2),'fillRule':_0x59cd08(0x2db),'clipRule':'evenodd'}}]},_0x3f54ac=(0x0,_0x63271a[_0x59cd08(0x37d)])(function(_0x57708b,_0x5f4652){const _0x39eeef=_0x59cd08;return(0x0,_0x63271a['createElement'])(_0x5548be,Object['assign']({},_0x57708b,{'id':_0x39eeef(0x30c),'ref':_0x5f4652,'icon':_0x34a8cf}));});_0x3f54ac[_0x59cd08(0x97)]=_0x59cd08(0x146);function _0x4312fd(_0x16714e){const _0x2a3b57=_0x59cd08;switch(_0x16714e){case _0x4aca0a[_0x2a3b57(0x2d8)]['OFFLINE']:return{'icon':(0x0,_0x2bbf19[_0x2a3b57(0xdb)])(_0x27985b,{}),'colorClass':_0x2a3b57(0x2f2),'i18nKey':_0x2a3b57(0x3d4),'tooltipKey':'collaboration-client-ui.collabClient.tooltip.reconnect','clickable':!0x0,'indicator':_0x2a3b57(0x3a6)};case _0x4aca0a[_0x2a3b57(0x2d8)]['CONFLICT']:return{'icon':(0x0,_0x2bbf19[_0x2a3b57(0xdb)])(_0x27985b,{}),'colorClass':_0x2a3b57(0x1ab),'i18nKey':_0x2a3b57(0x76),'clickable':!0x1,'indicator':_0x2a3b57(0x3a6)};case _0x4aca0a[_0x2a3b57(0x2d8)][_0x2a3b57(0xd1)]:return{'icon':(0x0,_0x2bbf19[_0x2a3b57(0xdb)])(_0x3f54ac,{}),'colorClass':_0x2a3b57(0x113),'i18nKey':'collaboration-client-ui.collabStatus.fetchMiss','clickable':!0x1,'indicator':_0x2a3b57(0x162)};case _0x4aca0a[_0x2a3b57(0x2d8)][_0x2a3b57(0x276)]:return{'icon':(0x0,_0x2bbf19[_0x2a3b57(0xdb)])(_0x3cf87d,{}),'colorClass':_0x2a3b57(0x111),'i18nKey':_0x2a3b57(0x23b),'clickable':!0x1,'indicator':_0x2a3b57(0x3a6)};case _0x4aca0a[_0x2a3b57(0x2d8)][_0x2a3b57(0x14b)]:case _0x4aca0a[_0x2a3b57(0x2d8)][_0x2a3b57(0xe1)]:return{'icon':(0x0,_0x2bbf19[_0x2a3b57(0xdb)])(_0x3f54ac,{}),'colorClass':_0x2a3b57(0x113),'i18nKey':'collaboration-client-ui.collabStatus.syncing','clickable':!0x1,'indicator':_0x2a3b57(0x162)};case _0x4aca0a[_0x2a3b57(0x2d8)][_0x2a3b57(0x11c)]:return{'icon':(0x0,_0x2bbf19[_0x2a3b57(0xdb)])(_0x3f54ac,{}),'colorClass':_0x2a3b57(0x113),'i18nKey':_0x2a3b57(0x1d8),'clickable':!0x1,'indicator':_0x2a3b57(0x162)};case _0x4aca0a[_0x2a3b57(0x2d8)][_0x2a3b57(0x28c)]:return{'icon':(0x0,_0x2bbf19[_0x2a3b57(0xdb)])(_0x3cf87d,{}),'colorClass':_0x2a3b57(0x13b),'i18nKey':'collaboration-client-ui.collabStatus.synced','clickable':!0x1,'indicator':'static'};}}function _0x1a89dc(_0x2b2799){const _0x45e89c=_0x59cd08;let {status$:_0x395eaa}=_0x2b2799,_0x468548=(0x0,_0x4c3c34[_0x45e89c(0x1ff)])(_0x395eaa,_0x4aca0a[_0x45e89c(0x2d8)][_0x45e89c(0x276)]),_0x566f06=(0x0,_0x4c3c34[_0x45e89c(0x2c0)])(_0x4615d2[_0x45e89c(0x205)]),_0x208d39=(0x0,_0x4c3c34['useDependency'])(_0x4aca0a[_0x45e89c(0x1b1)]),_0x593da3=(0x0,_0x63271a[_0x45e89c(0x13c)])(()=>_0x4312fd(_0x468548),[_0x468548]),_0x39c45f=_0x468548!==_0x4aca0a[_0x45e89c(0x2d8)][_0x45e89c(0x188)],_0x385b0d=_0x566f06['t'](_0x593da3[_0x45e89c(0xbe)]),_0x5804d3=_0x593da3[_0x45e89c(0x9a)]?_0x566f06['t'](_0x593da3[_0x45e89c(0x9a)]):_0x385b0d,_0x55fc28=(0x0,_0x63271a['useCallback'])(()=>{const _0x5009b4=_0x45e89c;_0x39c45f||_0x208d39[_0x5009b4(0x102)]();},[_0x39c45f,_0x208d39]),_0x59acd4=(0x0,_0x63271a[_0x45e89c(0x198)])(_0x4fec48=>{const _0x15ff78=_0x45e89c;!_0x39c45f&&(_0x4fec48[_0x15ff78(0x190)]===_0x15ff78(0x33f)||_0x4fec48[_0x15ff78(0x190)]==='\x20')&&(_0x4fec48[_0x15ff78(0x289)](),_0x208d39[_0x15ff78(0x102)]());},[_0x39c45f,_0x208d39]),_0x58ca4d=(0x0,_0x2bbf19[_0x45e89c(0xdb)])(_0x45e89c(0x338),{'className':(0x0,_0x20f977[_0x45e89c(0x271)])(_0x45e89c(0x3b3),'univer-text-xl\x20univer-transition-colors\x20univer-duration-200',_0x593da3['colorClass'],{'univer-animate-spin':_0x593da3[_0x45e89c(0x332)]===_0x45e89c(0x162),'univer-animate-pulse':_0x593da3[_0x45e89c(0x332)]==='pulse'}),'aria-hidden':_0x45e89c(0x2a2),'children':_0x593da3[_0x45e89c(0x3ab)]}),_0x36642a=(0x0,_0x2bbf19[_0x45e89c(0xdb)])(_0x45e89c(0x338),{'className':(0x0,_0x20f977['clsx'])(_0x45e89c(0x3b3),'univer-h-8\x20univer-w-8\x20univer-rounded-lg',_0x45e89c(0x1cf),_0x45e89c(0x2c9),_0x45e89c(0x1bf),{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700':_0x593da3[_0x45e89c(0xae)],'univer-cursor-default':!_0x593da3[_0x45e89c(0xae)]}),'children':_0x58ca4d});return _0x593da3[_0x45e89c(0xae)]?(0x0,_0x2bbf19[_0x45e89c(0xdb)])(_0x20f977['Tooltip'],{'title':_0x5804d3,'placement':_0x45e89c(0x3b4),'children':(0x0,_0x2bbf19[_0x45e89c(0xdb)])(_0x45e89c(0x234),{'type':_0x45e89c(0x234),'onClick':_0x55fc28,'onKeyDown':_0x59acd4,'className':(0x0,_0x20f977[_0x45e89c(0x271)])(_0x45e89c(0x92),'univer-border-none\x20univer-bg-transparent','univer-m-0\x20univer-p-0',_0x45e89c(0x230)),'aria-label':_0x385b0d+_0x45e89c(0x1bd)+_0x5804d3,'role':_0x45e89c(0x88),'aria-live':_0x45e89c(0x80),'aria-atomic':_0x45e89c(0x2a2),'children':_0x36642a})}):(0x0,_0x2bbf19[_0x45e89c(0xdb)])(_0x20f977[_0x45e89c(0x12c)],{'title':_0x5804d3,'placement':'bottom','children':(0x0,_0x2bbf19[_0x45e89c(0xdb)])('div',{'className':(0x0,_0x20f977[_0x45e89c(0x271)])(_0x45e89c(0x92),_0x45e89c(0x303),_0x45e89c(0x31b)),'aria-label':_0x385b0d,'role':_0x45e89c(0x88),'aria-live':_0x45e89c(0x80),'aria-atomic':'true','children':_0x36642a})});}function _0x3abaf2(_0x4d7bb0){'@babel/helpers - typeof';const _0x13bbbb=_0x59cd08;return _0x3abaf2=typeof Symbol=='function'&&typeof Symbol['iterator']==_0x13bbbb(0x1a8)?function(_0x45cc02){return typeof _0x45cc02;}:function(_0x3db993){const _0x2a9499=_0x13bbbb;return _0x3db993&&typeof Symbol=='function'&&_0x3db993[_0x2a9499(0x29a)]===Symbol&&_0x3db993!==Symbol['prototype']?_0x2a9499(0x1a8):typeof _0x3db993;},_0x3abaf2(_0x4d7bb0);}function _0x59dd9f(_0x96102e,_0x1709fa){const _0x59db76=_0x59cd08;if(_0x3abaf2(_0x96102e)!=_0x59db76(0x12a)||!_0x96102e)return _0x96102e;var _0x45eb41=_0x96102e[Symbol[_0x59db76(0x23a)]];if(_0x45eb41!==void 0x0){var _0x47055c=_0x45eb41[_0x59db76(0x2da)](_0x96102e,_0x1709fa||_0x59db76(0x127));if(_0x3abaf2(_0x47055c)!=_0x59db76(0x12a))return _0x47055c;throw TypeError(_0x59db76(0x2df));}return(_0x1709fa===_0x59db76(0x219)?String:Number)(_0x96102e);}function _0x2a7d7d(_0x26ff3f){const _0x3cd3ea=_0x59cd08;var _0x14e980=_0x59dd9f(_0x26ff3f,_0x3cd3ea(0x219));return _0x3abaf2(_0x14e980)==_0x3cd3ea(0x1a8)?_0x14e980:_0x14e980+'';}function _0x4dee6d(_0x151438,_0x3beb09,_0x5f3f03){const _0xa30c0c=_0x59cd08;return(_0x3beb09=_0x2a7d7d(_0x3beb09))in _0x151438?Object[_0xa30c0c(0x2c1)](_0x151438,_0x3beb09,{'value':_0x5f3f03,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x151438[_0x3beb09]=_0x5f3f03,_0x151438;}function _0x2eb870(_0x2ac466,_0x531837){return function(_0x1872c5,_0x22d867){_0x531837(_0x1872c5,_0x22d867,_0x2ac466);};}function _0x260d11(_0x156b9e,_0x11d1ac,_0x42a7d9,_0x33de90){const _0x273537=_0x59cd08;var _0x359d97=arguments[_0x273537(0x3bc)],_0x15eb0e=_0x359d97<0x3?_0x11d1ac:_0x33de90===null?_0x33de90=Object[_0x273537(0x1b5)](_0x11d1ac,_0x42a7d9):_0x33de90,_0x451fb9;if(typeof Reflect==_0x273537(0x12a)&&typeof Reflect[_0x273537(0x313)]=='function')_0x15eb0e=Reflect[_0x273537(0x313)](_0x156b9e,_0x11d1ac,_0x42a7d9,_0x33de90);else{for(var _0xafea3e=_0x156b9e['length']-0x1;_0xafea3e>=0x0;_0xafea3e--)(_0x451fb9=_0x156b9e[_0xafea3e])&&(_0x15eb0e=(_0x359d97<0x3?_0x451fb9(_0x15eb0e):_0x359d97>0x3?_0x451fb9(_0x11d1ac,_0x42a7d9,_0x15eb0e):_0x451fb9(_0x11d1ac,_0x42a7d9))||_0x15eb0e);}return _0x359d97>0x3&&_0x15eb0e&&Object[_0x273537(0x2c1)](_0x11d1ac,_0x42a7d9,_0x15eb0e),_0x15eb0e;}let _0x4f286b=class extends _0x4615d2['Disposable']{constructor(_0xb45d45,_0x1b2d7d,_0x3ea8ba,_0x27a5a2){const _0x4a1242=_0x59cd08;super(),this[_0x4a1242(0x1e5)]=_0xb45d45,this[_0x4a1242(0x33b)]=_0x1b2d7d,this[_0x4a1242(0x1a0)]=_0x3ea8ba,this[_0x4a1242(0x201)]=_0x27a5a2,_0x4dee6d(this,'_status$',new _0x5b7526[(_0x4a1242(0x24f))](_0x4aca0a[_0x4a1242(0x2d8)]['NOT_COLLAB'])),this[_0x4a1242(0x251)](),this[_0x4a1242(0x38c)]();}[_0x59cd08(0x38c)](){const _0x490f2d=_0x59cd08;this[_0x490f2d(0x183)]((0x0,_0x5b7526['merge'])(this[_0x490f2d(0x1e5)][_0x490f2d(0x245)],this[_0x490f2d(0x1e5)]['getCurrentTypeOfUnit$'](_0x4615d2[_0x490f2d(0x172)][_0x490f2d(0x2fb)]),this[_0x490f2d(0x1e5)][_0x490f2d(0x305)](_0x4615d2[_0x490f2d(0x172)][_0x490f2d(0x1e3)]))['pipe']((0x0,_0x101be6['map'])(()=>_0x47f1ab(this['_univerInstanceService'])),(0x0,_0x101be6[_0x490f2d(0x328)])(),(0x0,_0x5b7526[_0x490f2d(0x3c2)])(_0x15cc97=>_0x15cc97?this[_0x490f2d(0x1a0)]['getCollabEntity$'](_0x15cc97):(0x0,_0x5b7526['of'])(null)),(0x0,_0x5b7526['switchMap'])(_0x2f351a=>_0x2f351a?_0x2f351a['status$']:(0x0,_0x5b7526['of'])(_0x4aca0a['CollaborationStatus']['NOT_COLLAB'])))[_0x490f2d(0x248)](_0xf8a505=>{const _0x689c78=_0x490f2d;this[_0x689c78(0x3c6)][_0x689c78(0x20f)](_0xf8a505);}));}['_initStatusComponent'](){const _0x4ec5e9=_0x59cd08;this[_0x4ec5e9(0x183)](this[_0x4ec5e9(0x201)][_0x4ec5e9(0xa2)](_0x4c3c34[_0x4ec5e9(0x22f)][_0x4ec5e9(0x3bd)],()=>(0x0,_0x4c3c34[_0x4ec5e9(0xc2)])(_0x2fdeba({'status$':this[_0x4ec5e9(0x3c6)][_0x4ec5e9(0x1f5)]()}),this[_0x4ec5e9(0x33b)])));}};_0x4f286b=_0x260d11([_0x2eb870(0x0,_0x4615d2[_0x59cd08(0x171)]),_0x2eb870(0x1,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x4615d2[_0x59cd08(0x13d)])),_0x2eb870(0x2,(0x0,_0x4615d2['Inject'])(_0x4aca0a[_0x59cd08(0x30f)])),_0x2eb870(0x3,_0x4c3c34['IUIPartsService'])],_0x4f286b);let _0x5ee193=class extends _0x4615d2[_0x59cd08(0x326)]{constructor(_0x5e8a92,_0x136d6e,_0x38e048,_0x1af182){const _0x435260=_0x59cd08;super(),this[_0x435260(0x1e5)]=_0x5e8a92,this['_injector']=_0x136d6e,this[_0x435260(0x1a0)]=_0x38e048,this[_0x435260(0x201)]=_0x1af182,_0x4dee6d(this,_0x435260(0x3c6),new _0x5b7526[(_0x435260(0x24f))](_0x4aca0a[_0x435260(0x2d8)][_0x435260(0x276)])),this[_0x435260(0x251)](),this[_0x435260(0x38c)]();}[_0x59cd08(0x38c)](){const _0x423b57=_0x59cd08;this[_0x423b57(0x183)]((0x0,_0x5b7526[_0x423b57(0x249)])((0x0,_0x5b7526['of'])(null),this[_0x423b57(0x1e5)][_0x423b57(0x305)](_0x4615d2[_0x423b57(0x172)][_0x423b57(0xdf)]))['pipe']((0x0,_0x101be6[_0x423b57(0xaf)])(()=>_0x49c8de(this[_0x423b57(0x1e5)])),(0x0,_0x101be6[_0x423b57(0x328)])(),(0x0,_0x5b7526[_0x423b57(0x3c2)])(_0x55cd8b=>_0x55cd8b?this['_collaborationController'][_0x423b57(0x2e8)](_0x55cd8b):(0x0,_0x5b7526['of'])(null)),(0x0,_0x5b7526[_0x423b57(0x3c2)])(_0x544d93=>_0x544d93?_0x544d93[_0x423b57(0x93)]:(0x0,_0x5b7526['of'])(_0x4aca0a['CollaborationStatus']['NOT_COLLAB'])))[_0x423b57(0x248)](_0xe0e95d=>{const _0x418b9f=_0x423b57;this[_0x418b9f(0x3c6)][_0x418b9f(0x20f)](_0xe0e95d);}));}[_0x59cd08(0x251)](){const _0x211eef=_0x59cd08;this[_0x211eef(0x183)](this[_0x211eef(0x201)][_0x211eef(0xa2)](_0x199d1d[_0x211eef(0x365)],()=>(0x0,_0x4c3c34[_0x211eef(0xc2)])(_0x2fdeba({'status$':this['_status$']['asObservable']()}),this[_0x211eef(0x33b)])));}};_0x5ee193=_0x260d11([_0x2eb870(0x0,_0x4615d2['IUniverInstanceService']),_0x2eb870(0x1,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x4615d2[_0x59cd08(0x13d)])),_0x2eb870(0x2,(0x0,_0x4615d2['Inject'])(_0x4aca0a[_0x59cd08(0x30f)])),_0x2eb870(0x3,_0x4c3c34[_0x59cd08(0x3ca)])],_0x5ee193);function _0x47f1ab(_0x119953){const _0x52c314=_0x59cd08;let _0x82f608=_0x119953['getFocusedUnit'](),_0x570640=_0x82f608==null?void 0x0:_0x82f608[_0x52c314(0x165)]();if(_0x570640&&!(0x0,_0x4615d2[_0x52c314(0x291)])(_0x570640))return _0x570640;let _0x1ea8fa=_0x119953[_0x52c314(0x345)](_0x4615d2[_0x52c314(0x172)][_0x52c314(0x2fb)]),_0x3605ee=_0x1ea8fa==null?void 0x0:_0x1ea8fa['getUnitId']();if(_0x3605ee&&!(0x0,_0x4615d2['isInternalEditorID'])(_0x3605ee))return _0x3605ee;let _0x5c2cc4=_0x119953['getCurrentUnitOfType'](_0x4615d2[_0x52c314(0x172)][_0x52c314(0x1e3)]);if(_0x5c2cc4)return _0x5c2cc4['getUnitId']();let _0x4a6b55=_0x119953[_0x52c314(0x1aa)](_0x4615d2[_0x52c314(0x172)][_0x52c314(0x2fb)])[_0x52c314(0xfa)](_0x2e6150=>!(0x0,_0x4615d2['isInternalEditorID'])(_0x2e6150['getUnitId']()));return _0x4a6b55?_0x4a6b55[_0x52c314(0x165)]():null;}function _0x49c8de(_0x1742cc){const _0x5aeca5=_0x59cd08;var _0x4c5547;let _0x470114=_0x1742cc['getCurrentUnitOfType'](_0x4615d2['UniverInstanceType'][_0x5aeca5(0xdf)]);return(_0x4c5547=_0x470114==null?void 0x0:_0x470114[_0x5aeca5(0x165)]())==null?null:_0x4c5547;}function _0x2fdeba(_0x2469b8){let {status$:_0x1e1893}=_0x2469b8;return function(){return(0x0,_0x2bbf19['jsx'])(_0x1a89dc,{'status$':_0x1e1893});};}var _0x1b5d57=_0x59cd08(0xcd),_0x4e97cd='1.0.0-alpha.6';let _0x2d7efc={},_0x43f45d=class extends _0x4615d2[_0x59cd08(0x13f)]{constructor(_0x3033b9,_0x30e0f2){const _0x4da944=_0x59cd08;super(),this['_docClipboardService']=_0x3033b9,this[_0x4da944(0x26f)]=_0x30e0f2,this[_0x4da944(0x208)]();}[_0x59cd08(0x208)](){const _0x5cabfc=_0x59cd08;let _0x1db713=this;this[_0x5cabfc(0x183)](this[_0x5cabfc(0x362)]['addClipboardHook']({'onBeforePasteImage':async _0x3b11b4=>{const _0x483246=_0x5cabfc;let _0x2006a1=await _0x1db713[_0x483246(0x26f)]['saveImage'](_0x3b11b4);return _0x2006a1?{'source':_0x2006a1['source'],'imageSourceType':_0x2006a1['imageSourceType']}:null;}}));}};_0x43f45d=_0x260d11([_0x2eb870(0x0,_0x3bfdba[_0x59cd08(0x3cd)]),_0x2eb870(0x1,_0x4615d2[_0x59cd08(0x1ea)])],_0x43f45d);function _0xd17a7f(_0x423ed7,_0x2ee8fb){const _0x441b63=_0x59cd08;_0x423ed7[_0x441b63(0x349)](),_0x423ed7[_0x441b63(0x2cb)]=_0x441b63(0x318);let _0x2e2bf4=_0x423ed7[_0x441b63(0x277)](_0x2ee8fb)['width'];return _0x423ed7[_0x441b63(0x28e)](),Math[_0x441b63(0x238)](_0x2e2bf4+0x8,0xc8);}function _0x3d0a09(_0x50a001,_0x52e4d8){const _0x229211=_0x59cd08;var _0x2a4ea9,_0x46abec,_0x1d22f9;let {radius:_0x3d8108,width:_0x2bc38a,height:_0x34caf0}=_0x52e4d8;_0x3d8108=(_0x2a4ea9=_0x3d8108)==null?0x0:_0x2a4ea9,_0x2bc38a=(_0x46abec=_0x2bc38a)==null?0x1e:_0x46abec,_0x34caf0=(_0x1d22f9=_0x34caf0)==null?0x1e:_0x1d22f9;let _0x2a9281=0x0,_0x5a3326=0x0,_0x1b7f5b=0x0;_0x2a9281=_0x5a3326=_0x1b7f5b=Math[_0x229211(0x238)](_0x3d8108,_0x2bc38a/0x2,_0x34caf0/0x2),_0x50a001['beginPath'](),_0x50a001[_0x229211(0x3d2)](_0x2a9281,0x0),_0x50a001[_0x229211(0x167)](_0x2bc38a-_0x5a3326,0x0),_0x50a001[_0x229211(0x101)](_0x2bc38a-_0x5a3326,_0x5a3326,_0x5a3326,Math['PI']*0x3/0x2,0x0,!0x1),_0x50a001[_0x229211(0x167)](_0x2bc38a,_0x34caf0-_0x1b7f5b),_0x50a001['arc'](_0x2bc38a-_0x1b7f5b,_0x34caf0-_0x1b7f5b,_0x1b7f5b,0x0,Math['PI']/0x2,!0x1),_0x50a001['lineTo'](0x0,_0x34caf0),_0x50a001[_0x229211(0x167)](0x0,_0x2a9281),_0x50a001[_0x229211(0x101)](_0x2a9281,_0x2a9281,_0x2a9281,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x50a001[_0x229211(0x27b)](),_0x52e4d8['fill']&&(_0x50a001[_0x229211(0x349)](),_0x50a001[_0x229211(0x370)]=_0x52e4d8['fill'],_0x52e4d8[_0x229211(0x236)]===_0x229211(0x2db)?_0x50a001[_0x229211(0x3b0)](_0x229211(0x2db)):_0x50a001[_0x229211(0x3b0)](),_0x50a001[_0x229211(0x28e)]());}var _0x43b06e=class _0xcef1da extends _0x1891a4['Shape']{constructor(_0x38c223,_0x3f8d6a){const _0x55f26b=_0x59cd08;super(_0x38c223,_0x3f8d6a),_0x4dee6d(this,_0x55f26b(0xf7),void 0x0),_0x4dee6d(this,_0x55f26b(0xf2),void 0x0),this[_0x55f26b(0xf7)]=_0x3f8d6a==null?void 0x0:_0x3f8d6a[_0x55f26b(0xf7)],this[_0x55f26b(0xf2)]=_0x3f8d6a==null?void 0x0:_0x3f8d6a[_0x55f26b(0xf2)];}static[_0x59cd08(0xde)](_0x5eb5d7,_0x6da5a3){const _0x5c2637=_0x59cd08;let {text:_0xae143,color:_0x582981}=_0x6da5a3;_0x5eb5d7[_0x5c2637(0x349)](),_0x5eb5d7[_0x5c2637(0x2cb)]=_0x5c2637(0x222);let _0x5dd133=_0x5eb5d7[_0x5c2637(0x277)](_0xae143)[_0x5c2637(0x229)];if(_0x3d0a09(_0x5eb5d7,{'height':0x14,'radius':0x4,'width':_0xd17a7f(_0x5eb5d7,_0xae143),'fill':_0x582981,'evented':!0x1}),_0x5eb5d7[_0x5c2637(0x370)]='#FFF',_0x5dd133>0xc0){let _0x2961ba='',_0x534a5e=0x0;for(let _0x14aa94 of _0xae143){let _0x363142=_0x5eb5d7[_0x5c2637(0x277)](_0x14aa94)[_0x5c2637(0x229)];if(_0x534a5e+_0x363142<=0xc0-_0x5eb5d7['measureText'](_0x5c2637(0x34c))[_0x5c2637(0x229)])_0x2961ba+=_0x14aa94,_0x534a5e+=_0x363142;else{_0x2961ba+=_0x5c2637(0x34c);break;}}_0x5eb5d7[_0x5c2637(0x149)](_0x2961ba,0x4,0xf);}else _0x5eb5d7['fillText'](_0xae143,0x4,0xf);_0x5eb5d7['restore']();}[_0x59cd08(0x20c)](_0x2c4cbd){_0xcef1da['drawWith'](_0x2c4cbd,this);}};let _0x26a424=0x138a;var _0x13a0d4=class extends _0x1891a4['Shape']{constructor(_0xfabd0,_0x3877a3){const _0x3bfd95=_0x59cd08;super(_0xfabd0,{..._0x3877a3,'evented':!0x1}),_0x4dee6d(this,_0x3bfd95(0x231),_0x3bfd95(0x1ae)),_0x4dee6d(this,_0x3bfd95(0x34b),''),_0x4dee6d(this,_0x3bfd95(0x84),!0x0),_0x3877a3&&this[_0x3bfd95(0x369)](_0x3877a3);}[_0x59cd08(0x369)](_0x3cdc86){const _0x3770b9=_0x59cd08;var _0x29c63b,_0x51291a,_0x50c663,_0x3572ee,_0x4cd051,_0x4f4b95,_0x3097f4,_0x500d5c;this[_0x3770b9(0x231)]=(_0x29c63b=_0x3cdc86[_0x3770b9(0xf7)])==null?this[_0x3770b9(0x231)]:_0x29c63b,this[_0x3770b9(0x34b)]=(_0x51291a=_0x3cdc86[_0x3770b9(0x2af)])==null?this[_0x3770b9(0x34b)]:_0x51291a,this[_0x3770b9(0x84)]=(_0x50c663=_0x3cdc86[_0x3770b9(0x151)])==null?this[_0x3770b9(0x84)]:_0x50c663,this[_0x3770b9(0xfe)]=!0x1,this[_0x3770b9(0x294)]({'left':(_0x3572ee=_0x3cdc86[_0x3770b9(0x26c)])==null?this[_0x3770b9(0x26c)]:_0x3572ee,'top':(_0x4cd051=_0x3cdc86['top'])==null?this['top']:_0x4cd051,'width':(_0x4f4b95=_0x3cdc86['width'])==null?this[_0x3770b9(0x229)]:_0x4f4b95,'height':(_0x3097f4=_0x3cdc86[_0x3770b9(0x153)])==null?this[_0x3770b9(0x153)]:_0x3097f4,'angle':(_0x500d5c=_0x3cdc86[_0x3770b9(0xda)])==null?this[_0x3770b9(0xda)]:_0x500d5c});}[_0x59cd08(0x20c)](_0x5cf8ac){const _0x58e996=_0x59cd08;_0x5cf8ac[_0x58e996(0x349)](),_0x5cf8ac['strokeStyle']=this[_0x58e996(0x231)],_0x5cf8ac['lineWidth']=this['strokeWidth']||1.5,_0x5cf8ac[_0x58e996(0x34a)]([0x6,0x4]),_0x5cf8ac[_0x58e996(0x7d)](0x0,0x0,this[_0x58e996(0x229)],this[_0x58e996(0x153)]),_0x5cf8ac[_0x58e996(0x28e)](),this[_0x58e996(0x84)]&&(_0x5cf8ac[_0x58e996(0x349)](),_0x5cf8ac[_0x58e996(0x13e)](0x1,0x0,0x0,0x1,this['width'],-0x14),_0x43b06e[_0x58e996(0xde)](_0x5cf8ac,{'text':this['_name'],'color':this['_color']}),_0x5cf8ac[_0x58e996(0x28e)]());}};let _0x4142a7=[_0x59cd08(0x273),_0x59cd08(0x19a),_0x59cd08(0x133),_0x59cd08(0x70),_0x59cd08(0x377),'yellow.400'];var _0x522a9b=class extends _0x4615d2['Disposable']{constructor(..._0x1683f1){const _0x3d06bb=_0x59cd08;super(..._0x1683f1),_0x4dee6d(this,_0x3d06bb(0x178),new Map()),_0x4dee6d(this,_0x3d06bb(0x2b3),0x0);}[_0x59cd08(0x2a4)](_0x1754bc){const _0xb10b5a=_0x59cd08;if(this[_0xb10b5a(0x178)][_0xb10b5a(0x3b1)](_0x1754bc))return this[_0xb10b5a(0x178)][_0xb10b5a(0x99)](_0x1754bc);let _0x3d7b6c=_0x4142a7[this[_0xb10b5a(0x2b3)]];return this[_0xb10b5a(0x2b3)]=(this[_0xb10b5a(0x2b3)]+0x1)%_0x4142a7[_0xb10b5a(0x3bc)],this[_0xb10b5a(0x178)][_0xb10b5a(0x382)](_0x1754bc,_0x3d7b6c),_0x3d7b6c;}};function _0x34f636(_0x194cc6){const _0x581add=_0x59cd08;let _0x30fd02;try{_0x30fd02=JSON[_0x581add(0x1fc)](_0x194cc6);}catch{return null;}if(typeof _0x30fd02!=_0x581add(0x12a)||!_0x30fd02)return null;let _0x1d57ea=_0x30fd02;if(_0x1d57ea['kind']!==_0x581add(0x123)||typeof _0x1d57ea['unitId']!=_0x581add(0x219)||typeof _0x1d57ea[_0x581add(0x32f)]!=_0x581add(0x219))return null;let _0x37eef4=Array[_0x581add(0x1d5)](_0x1d57ea['selectedIds'])?_0x1d57ea[_0x581add(0x3a5)][_0x581add(0x310)](_0x28afb3=>typeof _0x28afb3==_0x581add(0x219)):[],_0x4bcdfa=typeof _0x1d57ea[_0x581add(0x2f6)]==_0x581add(0x219)?_0x1d57ea[_0x581add(0x2f6)]:null;return{'kind':_0x581add(0x123),'unitId':_0x1d57ea['unitId'],'subUnitId':_0x1d57ea[_0x581add(0x32f)],'selectedIds':_0x37eef4,'focusedId':_0x4bcdfa};}let _0x1f91a7=class extends _0x4615d2[_0x59cd08(0x13f)]{get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get[_0x59cd08(0x203)](){const _0x21055d=_0x59cd08;return this['_roomMembers$'][_0x21055d(0xbb)]();}constructor(_0x187d16,_0x5da682,_0x4001ff,_0x216b3c,_0x3461df){const _0x1efdf8=_0x59cd08;super(),this[_0x1efdf8(0x2b7)]=_0x187d16,this['_session']=_0x5da682,this[_0x1efdf8(0x10f)]=_0x4001ff,this[_0x1efdf8(0x1b6)]=_0x216b3c,this[_0x1efdf8(0x157)]=_0x3461df,_0x4dee6d(this,_0x1efdf8(0x378),!0x1),_0x4dee6d(this,_0x1efdf8(0x208),!0x1),_0x4dee6d(this,_0x1efdf8(0x39a),new _0x5b7526[(_0x1efdf8(0x24f))](new Map())),_0x4dee6d(this,_0x1efdf8(0x2d2),this[_0x1efdf8(0x39a)]['asObservable']()),_0x4dee6d(this,'_roomMembers$',new _0x5b7526[(_0x1efdf8(0x24f))]([])),_0x4dee6d(this,_0x1efdf8(0x2be),this[_0x1efdf8(0x3cc)][_0x1efdf8(0x1a1)]((0x0,_0x5b7526['debounceTime'])(0x12c))),_0x4dee6d(this,_0x1efdf8(0x1d2),(0x0,_0x4615d2[_0x1efdf8(0x311)])(_0x4d373c=>{const _0xef7c12=_0x1efdf8;let _0x484f96=_0x4d373c[_0xef7c12(0x38d)];if(!_0x484f96||_0x484f96[_0xef7c12(0x2d7)]!==this['unitID'])return;let _0x3519dd={'kind':'board-element-selection','unitId':_0x484f96['unitId'],'subUnitId':_0x484f96[_0xef7c12(0x32f)],'selectedIds':_0x4d373c[_0xef7c12(0x3a5)]['filter'](_0x59a166=>typeof _0x59a166==_0xef7c12(0x219)),'focusedId':_0x4d373c[_0xef7c12(0x2f6)]},_0x8d4f8e={'eventID':_0x1208f3[_0xef7c12(0x39d)][_0xef7c12(0x316)],'data':{'unitID':this[_0xef7c12(0x2b7)],'memberID':this[_0xef7c12(0x207)][_0xef7c12(0x6e)](),'selection':JSON['stringify'](_0x3519dd)}};this[_0xef7c12(0x207)][_0xef7c12(0x34f)](_0x8d4f8e,this[_0xef7c12(0x2b7)]);},0x64));}['dispose'](){const _0x3f9b7a=_0x59cd08;super['dispose'](),this[_0x3f9b7a(0x39a)][_0x3f9b7a(0x20f)](new Map()),this[_0x3f9b7a(0x39a)][_0x3f9b7a(0x398)](),this[_0x3f9b7a(0x3cc)]['next']([]),this[_0x3f9b7a(0x3cc)][_0x3f9b7a(0x398)]();}['init'](){const _0x5cfd08=_0x59cd08;this['_init']||(this[_0x5cfd08(0x208)]=!0x0,this[_0x5cfd08(0x207)]['sessionStatus$'][_0x5cfd08(0x1a1)]((0x0,_0x5b7526[_0x5cfd08(0xb4)])(this[_0x5cfd08(0xce)]))[_0x5cfd08(0x248)](_0x30aa97=>{const _0xf7dd07=_0x5cfd08;_0x30aa97===_0x4aca0a['SessionStatus'][_0xf7dd07(0x30d)]?this[_0xf7dd07(0x239)]():this[_0xf7dd07(0x32d)]();}),this[_0x5cfd08(0x207)]['event$'][_0x5cfd08(0x1a1)]((0x0,_0x5b7526[_0x5cfd08(0xb4)])(this[_0x5cfd08(0xce)]))[_0x5cfd08(0x248)](_0xf6371e=>{const _0x3ab53c=_0x5cfd08;let _0x552012=_0xf6371e['eventID'];_0x552012===_0x1208f3[_0x3ab53c(0x39d)]['UPDATE_CURSOR']&&this[_0x3ab53c(0x1df)](_0xf6371e),_0x552012===_0x1208f3[_0x3ab53c(0x39d)]['USERS_LEAVE']&&this['_onCursorDelete'](_0xf6371e);}),this[_0x5cfd08(0x157)][_0x5cfd08(0x1f2)][_0x5cfd08(0x1a1)]((0x0,_0x5b7526[_0x5cfd08(0xb4)])(this[_0x5cfd08(0xce)]))[_0x5cfd08(0x248)](_0x2ef985=>{const _0x1fe601=_0x5cfd08;this['_online']&&this[_0x1fe601(0x1d2)](_0x2ef985);}));}[_0x59cd08(0x1df)](_0x1fcfe6){const _0x4e23d6=_0x59cd08;var _0x5888a1,_0x4bcb07,_0x2f5408,_0x66ed62;let {memberID:_0x29d599,selection:_0x20b84e}=_0x1fcfe6['data'];if(_0x29d599===((_0x5888a1=(_0x4bcb07=this[_0x4e23d6(0x207)])[_0x4e23d6(0x6e)])==null?void 0x0:_0x5888a1[_0x4e23d6(0x2da)](_0x4bcb07)))return;let _0x531778=_0x34f636(_0x20b84e);if(!_0x531778||_0x531778[_0x4e23d6(0x2d7)]!==this[_0x4e23d6(0x2b7)])return;let _0x3e250c=(_0x2f5408=(_0x66ed62=this[_0x4e23d6(0x1b6)][_0x4e23d6(0x189)](this['unitID'],_0x29d599))==null?void 0x0:_0x66ed62['name'])==null?_0x4e23d6(0x3c0):_0x2f5408,_0x48b607={'color':this['_colorAssignService'][_0x4e23d6(0x2a4)](_0x29d599),'name':_0x3e250c,'unitId':_0x531778[_0x4e23d6(0x2d7)],'subUnitId':_0x531778[_0x4e23d6(0x32f)],'selectedIds':_0x531778[_0x4e23d6(0x3a5)],'focusedId':_0x531778[_0x4e23d6(0x2f6)],'selection':_0x20b84e},_0xce2953=new Map(this[_0x4e23d6(0x387)]);_0xce2953['set'](_0x29d599,_0x48b607),this[_0x4e23d6(0x39a)]['next'](_0xce2953);}[_0x59cd08(0x3b8)](_0x19a961){const _0x52dd4b=_0x59cd08;let {memberID:_0xedfd85}=_0x19a961[_0x52dd4b(0x186)],_0x48c1ab=new Map(this['cursorInfo']);_0x48c1ab[_0x52dd4b(0x28b)](_0xedfd85),this[_0x52dd4b(0x39a)][_0x52dd4b(0x20f)](_0x48c1ab);}['_toggleOnline'](){const _0x389f1a=_0x59cd08;this[_0x389f1a(0x378)]=!0x0,this[_0x389f1a(0x1d2)](this['_boardElementStateService'][_0x389f1a(0x336)]());}[_0x59cd08(0x32d)](){const _0x4f32e6=_0x59cd08;this[_0x4f32e6(0x378)]=!0x1;}};_0x1f91a7=_0x260d11([_0x2eb870(0x2,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x522a9b)),_0x2eb870(0x3,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x4aca0a['MemberService'])),_0x2eb870(0x4,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x199d1d[_0x59cd08(0x1c8)]))],_0x1f91a7);function _0x288a3e(_0x5ab4a8){const _0x590a08=_0x59cd08;let _0x4ee342='';for(let _0x372ea0 of _0x5ab4a8){let {startOffset:_0x15028,endOffset:_0x236df7,isActive:_0x3eede7,rangeType:_0x42d5e9,segmentId:_0x5d5397,segmentPage:_0x2a8036}=_0x372ea0;_0x4ee342[_0x590a08(0x3bc)]&&(_0x4ee342+=','),_0x4ee342+=_0x15028+':'+_0x236df7+':'+(_0x3eede7?'1':'0')+':'+_0x42d5e9+':'+_0x5d5397+':'+_0x2a8036;}return _0x4ee342;}function _0x56bcb6(_0x35b56c){const _0x3ee016=_0x59cd08;let _0x29dc57=_0x35b56c[_0x3ee016(0x25b)](','),_0x1c2f5f=[];for(let _0x3d7b88 of _0x29dc57){let [_0x31114c,_0x3d8868,_0x381636,_0x5eca13,_0x1446cb,_0x1a6efe]=_0x3d7b88['split'](':');_0x1c2f5f['push']({'startOffset':Number(_0x31114c),'endOffset':Number(_0x3d8868),'collapsed':_0x31114c===_0x3d8868,'isActive':_0x381636==='1','rangeType':_0x5eca13===_0x4615d2[_0x3ee016(0x360)][_0x3ee016(0x114)]?_0x4615d2['DOC_RANGE_TYPE'][_0x3ee016(0x114)]:_0x4615d2[_0x3ee016(0x360)][_0x3ee016(0x2f1)],'segmentId':typeof _0x1446cb==_0x3ee016(0x219)?String(_0x1446cb):'','segmentPage':Number(_0x1a6efe==null?-0x1:_0x1a6efe)});}return _0x1c2f5f[_0x3ee016(0x2b2)](_0x5e1c5a=>_0x5e1c5a['isActive'])||(_0x1c2f5f[0x0][_0x3ee016(0x244)]=!0x0),_0x1c2f5f;}var _0x410673=class extends _0x4615d2[_0x59cd08(0x13f)]{constructor(..._0x48265a){const _0x360787=_0x59cd08;super(..._0x48265a),_0x4dee6d(this,_0x360787(0x36b),new _0x5b7526[(_0x360787(0x24f))](null)),_0x4dee6d(this,_0x360787(0x3a1),this[_0x360787(0x36b)][_0x360787(0x1f5)]());}[_0x59cd08(0x10b)](_0x21bcdb){const _0x1ee8db=_0x59cd08;let {unitID:_0x285d88,memberID:_0x484217,textRanges:_0x574b6a}=_0x21bcdb,_0x4e9415=_0x288a3e(_0x574b6a);if(_0x4e9415==='')return;let _0x27b8e2={'unitID':_0x285d88,'memberID':_0x484217,'selection':_0x4e9415};this[_0x1ee8db(0x36b)][_0x1ee8db(0x20f)](_0x27b8e2);}};let _0x4e5738=class extends _0x4615d2[_0x59cd08(0x13f)]{get[_0x59cd08(0x387)](){const _0x41c91a=_0x59cd08;return this[_0x41c91a(0x39a)][_0x41c91a(0xbb)]();}get['roomMembers'](){const _0xa2c9a7=_0x59cd08;return this['_roomMembers$'][_0xa2c9a7(0xbb)]();}constructor(_0x20dd19,_0x3452e5,_0x356a1c,_0x55abba,_0x38c2b5,_0x2db03b,_0x3a1bc0,_0x42e2b8,_0x521a4e){const _0x59fbbc=_0x59cd08;super(),this[_0x59fbbc(0x2b7)]=_0x20dd19,this[_0x59fbbc(0x207)]=_0x3452e5,this['_injector']=_0x356a1c,this[_0x59fbbc(0x10f)]=_0x55abba,this['_memberService']=_0x38c2b5,this[_0x59fbbc(0x1ec)]=_0x2db03b,this[_0x59fbbc(0x366)]=_0x3a1bc0,this[_0x59fbbc(0x1e5)]=_0x42e2b8,this[_0x59fbbc(0x202)]=_0x521a4e,_0x4dee6d(this,'_online',!0x1),_0x4dee6d(this,_0x59fbbc(0x208),!0x1),_0x4dee6d(this,_0x59fbbc(0x39a),new _0x5b7526['BehaviorSubject'](new Map())),_0x4dee6d(this,_0x59fbbc(0x2d2),this[_0x59fbbc(0x39a)][_0x59fbbc(0x1f5)]()),_0x4dee6d(this,_0x59fbbc(0x3cc),new _0x5b7526['BehaviorSubject']([])),_0x4dee6d(this,_0x59fbbc(0x2be),this[_0x59fbbc(0x3cc)]['pipe']((0x0,_0x5b7526['debounceTime'])(0x12c))),_0x4dee6d(this,'_updateLocalCursor',(0x0,_0x4615d2['debounce'])(_0x228818=>{const _0x9703b4=_0x59fbbc;let _0x509889={'eventID':_0x1208f3[_0x9703b4(0x39d)][_0x9703b4(0x316)],'data':{'unitID':this[_0x9703b4(0x2b7)],'memberID':this[_0x9703b4(0x207)]['getMemberID'](),'selection':_0x288a3e(_0x228818)}};this[_0x9703b4(0x207)][_0x9703b4(0x34f)](_0x509889,this['unitID']);},0x64));}['dispose'](){const _0x2220cb=_0x59cd08;super[_0x2220cb(0x223)](),this[_0x2220cb(0x39a)][_0x2220cb(0x20f)](new Map()),this[_0x2220cb(0x39a)][_0x2220cb(0x398)](),this['_roomMembers$'][_0x2220cb(0x20f)]([]),this[_0x2220cb(0x3cc)][_0x2220cb(0x398)]();}[_0x59cd08(0x87)](){const _0x3c9771=_0x59cd08;this[_0x3c9771(0x208)]||(this[_0x3c9771(0x208)]=!0x0,this[_0x3c9771(0x207)][_0x3c9771(0x2ff)]['pipe']((0x0,_0x5b7526[_0x3c9771(0xb4)])(this[_0x3c9771(0xce)]))['subscribe'](_0x5b4d64=>{const _0x2f0c08=_0x3c9771;_0x5b4d64===_0x4aca0a[_0x2f0c08(0x8e)][_0x2f0c08(0x30d)]?this['_toggleOnline']():this[_0x2f0c08(0x32d)]();}),this[_0x3c9771(0x207)]['event$']['pipe']((0x0,_0x5b7526[_0x3c9771(0xb4)])(this[_0x3c9771(0xce)]))[_0x3c9771(0x248)](_0xe07463=>{const _0x12e7c6=_0x3c9771;let _0x275654=_0xe07463[_0x12e7c6(0x2c5)];_0x275654===_0x1208f3['CollaborationEvent'][_0x12e7c6(0x316)]&&this[_0x12e7c6(0x1df)](_0xe07463),_0x275654===_0x1208f3[_0x12e7c6(0x39d)][_0x12e7c6(0x107)]&&this[_0x12e7c6(0x3b8)](_0xe07463);}),this[_0x3c9771(0x183)](this[_0x3c9771(0x202)]['onCommandExecuted'](_0x4b7964=>{const _0x376a94=_0x3c9771;let _0x363099=_0x4b7964[_0x376a94(0x1f7)];_0x363099!=null&&this[_0x376a94(0x378)]&&_0x4b7964['id']===_0x7aa288[_0x376a94(0x381)]['id']&&_0x363099[_0x376a94(0x2d7)]===this['unitID']&&_0x363099['isEditing']===!0x1&&_0x363099[_0x376a94(0x1ee)][_0x376a94(0x3bc)]>0x0&&this[_0x376a94(0x1d2)](_0x363099[_0x376a94(0x1ee)]);})),this['_syncEditingCollabCursorService'][_0x3c9771(0x3a1)][_0x3c9771(0x1a1)]((0x0,_0x5b7526[_0x3c9771(0xb4)])(this[_0x3c9771(0xce)]))[_0x3c9771(0x248)](_0x4fb98c=>{const _0x51a51d=_0x3c9771;if((_0x4fb98c==null?void 0x0:_0x4fb98c[_0x51a51d(0x2b7)])!==this[_0x51a51d(0x2b7)])return;let _0xa56f93={'eventID':_0x1208f3[_0x51a51d(0x39d)][_0x51a51d(0x316)],'data':_0x4fb98c};this[_0x51a51d(0x1df)](_0xa56f93);}),this['disposeWithMe'](this[_0x3c9771(0x202)][_0x3c9771(0x137)](_0x4aa552=>{const _0x2d0e0d=_0x3c9771;if(_0x4aa552[_0x2d0e0d(0x1f7)]==null)return;let _0x330547=_0x4aa552[_0x2d0e0d(0x1f7)];if(_0x4aa552['id']!==_0x7aa288[_0x2d0e0d(0x105)]['id']||_0x330547['unitId']!==this[_0x2d0e0d(0x2b7)])return;let _0x58f8a5={'id':'doc.mutation.rich-text-editing','params':_0x330547},_0x91fba8=this['cursorInfo'];for(let [_0xb118e0,_0x25101a]of _0x91fba8){let _0x5ea4b6={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x2d0e0d(0x2b7)],'actions':null,'textRanges':_0x25101a[_0x2d0e0d(0x1ee)]}},_0x58d164=this[_0x2d0e0d(0x366)][_0x2d0e0d(0x11d)](_0x58f8a5,_0x5ea4b6,!0x1);if((0x0,_0x1208f3[_0x2d0e0d(0x21a)])(_0x58d164))throw _0x58d164['error'];_0x91fba8[_0x2d0e0d(0x382)](_0xb118e0,{..._0x25101a,'ranges':_0x58d164[_0x2d0e0d(0x11e)][_0x2d0e0d(0x1f7)]['textRanges']});}queueMicrotask(()=>{const _0x442ab2=_0x2d0e0d;this[_0x442ab2(0x39a)][_0x442ab2(0x20f)](_0x91fba8);});})));}[_0x59cd08(0x1df)](_0x164bdd){const _0x1976b7=_0x59cd08;var _0x258af8,_0x2180fe;let {memberID:_0x5c4f8e,selection:_0x1139c5}=_0x164bdd[_0x1976b7(0x186)],_0x52118b=_0x56bcb6(_0x1139c5),_0x334460=(_0x258af8=(_0x2180fe=this[_0x1976b7(0x1b6)][_0x1976b7(0x189)](this[_0x1976b7(0x2b7)],_0x5c4f8e))==null?void 0x0:_0x2180fe[_0x1976b7(0x2af)])==null?_0x1976b7(0x3c0):_0x258af8,_0x288473={'color':this[_0x1976b7(0x10f)]['assignAColorForMemberID'](_0x5c4f8e),'name':_0x334460,'ranges':_0x52118b},_0x4a2c7d=this[_0x1976b7(0x387)];_0x4a2c7d['set'](_0x5c4f8e,_0x288473),this[_0x1976b7(0x39a)][_0x1976b7(0x20f)](_0x4a2c7d);}[_0x59cd08(0x3b8)](_0x46fa1c){const _0x52f3a3=_0x59cd08;let {memberID:_0x302a19}=_0x46fa1c[_0x52f3a3(0x186)],_0x1ab184=this['cursorInfo'];_0x1ab184['delete'](_0x302a19),this[_0x52f3a3(0x39a)][_0x52f3a3(0x20f)](_0x1ab184);}['_toggleOnline'](){const _0x4838ff=_0x59cd08;var _0x64bc22;if(this['_online']=!0x0,((_0x64bc22=this[_0x4838ff(0x1e5)][_0x4838ff(0x143)]())==null?void 0x0:_0x64bc22[_0x4838ff(0x165)]())!==this[_0x4838ff(0x2b7)])return;let _0x2eb759=this['_injector']['get'](_0x7aa288[_0x4838ff(0x118)])[_0x4838ff(0x1c5)]();Array[_0x4838ff(0x1d5)](_0x2eb759)&&_0x2eb759[_0x4838ff(0x3bc)]>0x0&&this[_0x4838ff(0x1d2)](_0x2eb759);}[_0x59cd08(0x32d)](){const _0x2a0954=_0x59cd08;this[_0x2a0954(0x378)]=!0x1;}};_0x4e5738=_0x260d11([_0x2eb870(0x2,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x4615d2[_0x59cd08(0x13d)])),_0x2eb870(0x3,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x522a9b)),_0x2eb870(0x4,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x4aca0a[_0x59cd08(0x121)])),_0x2eb870(0x5,(0x0,_0x4615d2['Inject'])(_0x410673)),_0x2eb870(0x6,_0x1208f3[_0x59cd08(0x1b2)]),_0x2eb870(0x7,_0x4615d2[_0x59cd08(0x171)]),_0x2eb870(0x8,_0x4615d2[_0x59cd08(0x15e)])],_0x4e5738);let _0x174bed=()=>{let _0x44c128=[],_0x3b4e02=!0x1;return _0x17f131=>{_0x44c128['push'](_0x17f131),_0x3b4e02||(_0x3b4e02=!0x0,setTimeout(()=>{const _0x4591f9=_0x41f0;_0x44c128[_0x4591f9(0x23d)](_0x1b4564=>_0x1b4564()),_0x44c128=[],_0x3b4e02=!0x1;}));};},_0x18bad9=class extends _0x4615d2[_0x59cd08(0x13f)]{get[_0x59cd08(0x387)](){const _0xb612e4=_0x59cd08;return this[_0xb612e4(0x39a)][_0xb612e4(0xbb)]();}get[_0x59cd08(0x203)](){return this['_roomMembers$']['getValue']();}constructor(_0x3fa6e6,_0x22da32,_0x24ec04,_0x1e6adc,_0x3ebf54,_0x1cbbb0,_0x2ae3c3,_0x56ac83){const _0x55426a=_0x59cd08;super(),this['unitID']=_0x3fa6e6,this['_session']=_0x22da32,this[_0x55426a(0x33b)]=_0x24ec04,this['_colorAssignService']=_0x1e6adc,this[_0x55426a(0x1b6)]=_0x3ebf54,this[_0x55426a(0x1e5)]=_0x1cbbb0,this[_0x55426a(0x202)]=_0x2ae3c3,this[_0x55426a(0xf9)]=_0x56ac83,_0x4dee6d(this,'_online',!0x1),_0x4dee6d(this,_0x55426a(0x208),!0x1),_0x4dee6d(this,_0x55426a(0x39a),new _0x5b7526['BehaviorSubject'](new Map())),_0x4dee6d(this,_0x55426a(0x2d2),this[_0x55426a(0x39a)][_0x55426a(0x1f5)]()),_0x4dee6d(this,_0x55426a(0x3cc),new _0x5b7526[(_0x55426a(0x24f))]([])),_0x4dee6d(this,_0x55426a(0x2be),this[_0x55426a(0x3cc)][_0x55426a(0x1a1)]((0x0,_0x5b7526[_0x55426a(0x79)])(0x12c))),_0x4dee6d(this,_0x55426a(0x1d2),(0x0,_0x4615d2[_0x55426a(0x311)])((_0x18ea3c,_0xd671a)=>{const _0x458f6b=_0x55426a;let _0x48f202={'eventID':_0x1208f3[_0x458f6b(0x39d)][_0x458f6b(0x316)],'data':{'unitID':this[_0x458f6b(0x2b7)],'memberID':this[_0x458f6b(0x207)]['getMemberID'](),'selection':(0x0,_0x5f0904[_0x458f6b(0x21c)])(_0x18ea3c,_0xd671a[_0x458f6b(0x211)])}};this[_0x458f6b(0x207)][_0x458f6b(0x34f)](_0x48f202,this[_0x458f6b(0x2b7)]);},0x64));}[_0x59cd08(0x223)](){const _0x39f71e=_0x59cd08;super[_0x39f71e(0x223)](),this['_cursorInfo$'][_0x39f71e(0x20f)](new Map()),this[_0x39f71e(0x39a)][_0x39f71e(0x398)](),this['_roomMembers$'][_0x39f71e(0x20f)]([]),this['_roomMembers$']['complete']();}[_0x59cd08(0x87)](){const _0x5610c1=_0x59cd08;this[_0x5610c1(0x208)]||(this[_0x5610c1(0x208)]=!0x0,this['_session'][_0x5610c1(0x2ff)][_0x5610c1(0x1a1)]((0x0,_0x5b7526[_0x5610c1(0xb4)])(this[_0x5610c1(0xce)]))['subscribe'](_0x545aee=>{const _0x2cdb7b=_0x5610c1;_0x545aee===_0x4aca0a[_0x2cdb7b(0x8e)][_0x2cdb7b(0x30d)]?this['_toggleOnline']():this[_0x2cdb7b(0x32d)]();}),this['_session'][_0x5610c1(0x77)][_0x5610c1(0x1a1)]((0x0,_0x5b7526['takeUntil'])(this['dispose$']))[_0x5610c1(0x248)](_0x1f84c2=>{const _0xcdacf8=_0x5610c1;let _0xe8810d=_0x1f84c2[_0xcdacf8(0x2c5)];_0xe8810d===_0x1208f3['CollaborationEvent'][_0xcdacf8(0x316)]&&this[_0xcdacf8(0x1df)](_0x1f84c2),_0xe8810d===_0x1208f3['CollaborationEvent'][_0xcdacf8(0x107)]&&this[_0xcdacf8(0x3b8)](_0x1f84c2);}),this['_onRefRangeChange'](),this[_0x5610c1(0x183)](this['_commandService'][_0x5610c1(0x137)](_0x16ade2=>{const _0x3d567d=_0x5610c1;if(this[_0x3d567d(0x378)]&&_0x16ade2['id']===_0x5ac505['SetSelectionsOperation']['id']&&_0x16ade2[_0x3d567d(0x1f7)][_0x3d567d(0x2d7)]===this[_0x3d567d(0x2b7)]){let _0x1a8778=_0x16ade2[_0x3d567d(0x1f7)];this[_0x3d567d(0x1d2)](_0x1a8778['subUnitId'],_0x1a8778[_0x3d567d(0x1a6)][0x0]);}})));}[_0x59cd08(0x1df)](_0x59f792){const _0x52ac6e=_0x59cd08;var _0x2798ca,_0x5ac94f;let {memberID:_0x50d87b,selection:_0x8f5681}=_0x59f792[_0x52ac6e(0x186)],{sheetName:_0x4f964a,range:_0x30f6ed}=(0x0,_0x5f0904[_0x52ac6e(0x282)])(_0x8f5681),_0x417bfd={'name':(_0x2798ca=(_0x5ac94f=this[_0x52ac6e(0x1b6)][_0x52ac6e(0x189)](this[_0x52ac6e(0x2b7)],_0x50d87b))==null?void 0x0:_0x5ac94f[_0x52ac6e(0x2af)])==null?_0x52ac6e(0x3c0):_0x2798ca,'range':this[_0x52ac6e(0xa0)](_0x4f964a,_0x30f6ed),'sheetID':_0x4f964a,'color':this[_0x52ac6e(0x10f)][_0x52ac6e(0x2a4)](_0x50d87b),'selection':_0x8f5681},_0x45c629=this[_0x52ac6e(0x387)];_0x45c629[_0x52ac6e(0x382)](_0x50d87b,_0x417bfd),this[_0x52ac6e(0x39a)][_0x52ac6e(0x20f)](_0x45c629);}[_0x59cd08(0x3b8)](_0x3f60ef){const _0x231002=_0x59cd08;let {memberID:_0x5dd945}=_0x3f60ef[_0x231002(0x186)],_0x45f19b=this['cursorInfo'];_0x45f19b[_0x231002(0x28b)](_0x5dd945),this[_0x231002(0x39a)][_0x231002(0x20f)](_0x45f19b);}['_getMergeRange'](_0x207ccb,_0x27417a){const _0x67cc01=_0x59cd08;var _0x36c41f;let _0x52b524=(_0x36c41f=this[_0x67cc01(0x1e5)][_0x67cc01(0x3a0)](this[_0x67cc01(0x2b7)]))==null||(_0x36c41f=_0x36c41f['getSheetBySheetId'](_0x207ccb))==null?void 0x0:_0x36c41f['getMergeData']();return(_0x52b524==null?void 0x0:_0x52b524[_0x67cc01(0xfa)](_0xd722fd=>_0x4615d2['Rectangle'][_0x67cc01(0x3be)](_0xd722fd,_0x27417a)))||_0x27417a;}[_0x59cd08(0x323)](){const _0x389f7a=_0x59cd08;let _0x1aadab=new _0x4615d2[(_0x389f7a(0xe7))](),_0x294008=_0x174bed(),_0x3587a6=()=>{const _0x1c4f6=_0x389f7a;_0x1aadab[_0x1c4f6(0x223)]();let _0xb6c746=(_0x339d97,_0x54d7c3,_0x20385f,_0x18d2f6)=>{const _0x180d0e=_0x1c4f6;let _0x4f99f6=[];switch(_0x339d97['id']){case _0x5ac505[_0x180d0e(0x134)][_0x180d0e(0x24d)]:_0x4f99f6=(0x0,_0x5ac505[_0x180d0e(0x18e)])(_0x339d97,_0x18d2f6);break;case _0x5ac505['EffectRefRangId'][_0x180d0e(0x2de)]:_0x4f99f6=(0x0,_0x5ac505[_0x180d0e(0x1a9)])(_0x339d97,_0x18d2f6);break;case _0x5ac505[_0x180d0e(0x134)][_0x180d0e(0x1c0)]:_0x4f99f6=(0x0,_0x5ac505['handleInsertCol'])(_0x339d97,_0x18d2f6);break;case _0x5ac505[_0x180d0e(0x134)][_0x180d0e(0x299)]:_0x4f99f6=(0x0,_0x5ac505['handleInsertRangeMoveDown'])(_0x339d97,_0x18d2f6);break;case _0x5ac505[_0x180d0e(0x134)][_0x180d0e(0x12d)]:_0x4f99f6=(0x0,_0x5ac505[_0x180d0e(0x161)])(_0x339d97,_0x18d2f6);break;case _0x5ac505[_0x180d0e(0x134)][_0x180d0e(0x322)]:_0x4f99f6=(0x0,_0x5ac505[_0x180d0e(0x20e)])(_0x339d97,_0x18d2f6);break;case _0x5ac505[_0x180d0e(0x134)]['MoveRangeCommandId']:_0x4f99f6=(0x0,_0x5ac505[_0x180d0e(0x8d)])(_0x339d97,_0x18d2f6);break;case _0x5ac505[_0x180d0e(0x134)][_0x180d0e(0x3ac)]:_0x4f99f6=(0x0,_0x5ac505['handleIRemoveCol'])(_0x339d97,_0x18d2f6);break;case _0x5ac505[_0x180d0e(0x134)][_0x180d0e(0x6d)]:_0x4f99f6=(0x0,_0x5ac505[_0x180d0e(0x3c5)])(_0x339d97,_0x18d2f6);break;}let _0x355736=(0x0,_0x5ac505[_0x180d0e(0x254)])(_0x4f99f6,_0x18d2f6),_0x15a09e=this[_0x180d0e(0x387)][_0x180d0e(0x99)](_0x54d7c3);if(_0x15a09e&&_0x355736){let _0x4874d2={..._0x15a09e,'range':_0x355736};this['cursorInfo'][_0x180d0e(0x382)](_0x54d7c3,_0x4874d2),_0x294008(()=>{const _0x1a1dbe=_0x180d0e;let _0x7bd7bd=this[_0x1a1dbe(0xf9)]['registerRefRange'](_0x355736,_0x1c7aef=>(_0x7bd7bd['dispose'](),_0xb6c746(_0x1c7aef,_0x54d7c3,_0x20385f,_0x355736)));_0x1aadab[_0x1a1dbe(0x145)](_0x7bd7bd);});}return{'redos':[],'undos':[]};};this[_0x1c4f6(0x387)][_0x1c4f6(0x23d)]((_0x56a6ad,_0x42335f)=>{const _0x5f5bf8=_0x1c4f6;let {range:_0x1d7549,sheetID:_0x1be8f0}=_0x56a6ad,_0x3d08c5=this[_0x5f5bf8(0xf9)]['registerRefRange'](_0x1d7549,_0x1f1064=>(_0x3d08c5[_0x5f5bf8(0x223)](),_0xb6c746(_0x1f1064,_0x42335f,_0x1be8f0,_0x1d7549)));_0x1aadab[_0x5f5bf8(0x145)](_0x3d08c5);});};this[_0x389f7a(0x183)]((0x0,_0x4615d2[_0x389f7a(0x293)])(this[_0x389f7a(0x39a)][_0x389f7a(0x248)](()=>{_0x3587a6();})));}[_0x59cd08(0x239)](){const _0x2f94f4=_0x59cd08;var _0x272d43,_0x3ad7e7;if(this['_online']=!0x0,((_0x272d43=this['_univerInstanceService'][_0x2f94f4(0x143)]())==null?void 0x0:_0x272d43[_0x2f94f4(0x165)]())!==this[_0x2f94f4(0x2b7)])return;let _0x52b93a=(_0x3ad7e7=this[_0x2f94f4(0x33b)][_0x2f94f4(0x99)](_0x5ac505[_0x2f94f4(0x24a)])[_0x2f94f4(0x1c4)]())==null?void 0x0:_0x3ad7e7[0x0],_0x4459b6=this['_univerInstanceService'][_0x2f94f4(0x345)](_0x4615d2[_0x2f94f4(0x172)]['UNIVER_SHEET'])[_0x2f94f4(0x2d0)]();_0x52b93a&&_0x4459b6&&this[_0x2f94f4(0x1d2)](_0x4459b6['getSheetId'](),_0x52b93a);}[_0x59cd08(0x32d)](){const _0x1d8954=_0x59cd08;this[_0x1d8954(0x378)]=!0x1;}};_0x18bad9=_0x260d11([_0x2eb870(0x2,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x4615d2[_0x59cd08(0x13d)])),_0x2eb870(0x3,(0x0,_0x4615d2['Inject'])(_0x522a9b)),_0x2eb870(0x4,(0x0,_0x4615d2['Inject'])(_0x4aca0a['MemberService'])),_0x2eb870(0x5,_0x4615d2[_0x59cd08(0x171)]),_0x2eb870(0x6,_0x4615d2[_0x59cd08(0x15e)]),_0x2eb870(0x7,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x5ac505[_0x59cd08(0x2e9)]))],_0x18bad9);function _0x5bab35(_0x5ae1cb){const _0x28a7f1=_0x59cd08;let _0x29f206;try{_0x29f206=JSON[_0x28a7f1(0x1fc)](_0x5ae1cb);}catch{return null;}if(typeof _0x29f206!=_0x28a7f1(0x12a)||!_0x29f206)return null;let _0x7c70dc=_0x29f206;if(_0x7c70dc[_0x28a7f1(0xc8)]!==_0x28a7f1(0x181)||typeof _0x7c70dc[_0x28a7f1(0x2d7)]!=_0x28a7f1(0x219)||typeof _0x7c70dc['subUnitId']!=_0x28a7f1(0x219))return null;let _0x3ba397=Array[_0x28a7f1(0x1d5)](_0x7c70dc[_0x28a7f1(0x3a5)])?_0x7c70dc['selectedIds'][_0x28a7f1(0x310)](_0xde54bf=>typeof _0xde54bf=='string'):[],_0x23f5dd=typeof _0x7c70dc[_0x28a7f1(0x2f6)]==_0x28a7f1(0x219)?_0x7c70dc[_0x28a7f1(0x2f6)]:null;return{'kind':_0x28a7f1(0x181),'unitId':_0x7c70dc[_0x28a7f1(0x2d7)],'subUnitId':_0x7c70dc[_0x28a7f1(0x32f)],'selectedIds':_0x3ba397,'focusedId':_0x23f5dd};}let _0x22a881=class extends _0x4615d2['RxDisposable']{get[_0x59cd08(0x387)](){const _0x1daa51=_0x59cd08;return this[_0x1daa51(0x39a)][_0x1daa51(0xbb)]();}get[_0x59cd08(0x203)](){const _0x15a8f7=_0x59cd08;return this[_0x15a8f7(0x3cc)]['getValue']();}constructor(_0x1560f8,_0x4edd82,_0x3196b9,_0x3b2996,_0x5afd5b){const _0x12b35e=_0x59cd08;super(),this['unitID']=_0x1560f8,this['_session']=_0x4edd82,this[_0x12b35e(0x10f)]=_0x3196b9,this['_memberService']=_0x3b2996,this[_0x12b35e(0x241)]=_0x5afd5b,_0x4dee6d(this,_0x12b35e(0x378),!0x1),_0x4dee6d(this,'_init',!0x1),_0x4dee6d(this,_0x12b35e(0x39a),new _0x5b7526[(_0x12b35e(0x24f))](new Map())),_0x4dee6d(this,_0x12b35e(0x2d2),this[_0x12b35e(0x39a)][_0x12b35e(0x1f5)]()),_0x4dee6d(this,_0x12b35e(0x3cc),new _0x5b7526[(_0x12b35e(0x24f))]([])),_0x4dee6d(this,'roomMembers$',this[_0x12b35e(0x3cc)][_0x12b35e(0x1a1)]((0x0,_0x5b7526[_0x12b35e(0x79)])(0x12c))),_0x4dee6d(this,_0x12b35e(0x1d2),(0x0,_0x4615d2[_0x12b35e(0x311)])(_0x44a411=>{const _0x329074=_0x12b35e;let _0x1ce250=_0x44a411[_0x329074(0x38d)];if(!_0x1ce250||_0x1ce250[_0x329074(0x2d7)]!==this[_0x329074(0x2b7)])return;let _0x3df3d3={'kind':'slide-element-selection','unitId':_0x1ce250[_0x329074(0x2d7)],'subUnitId':_0x1ce250['subUnitId'],'selectedIds':_0x44a411[_0x329074(0x3a5)][_0x329074(0x310)](_0x109fb3=>typeof _0x109fb3=='string'),'focusedId':_0x44a411[_0x329074(0x2f6)]},_0x18f6f6={'eventID':_0x1208f3['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x329074(0x2b7)],'memberID':this[_0x329074(0x207)][_0x329074(0x6e)](),'selection':JSON[_0x329074(0x21f)](_0x3df3d3)}};this['_session'][_0x329074(0x34f)](_0x18f6f6,this['unitID']);},0x64));}[_0x59cd08(0x223)](){const _0x1f1aef=_0x59cd08;super['dispose'](),this[_0x1f1aef(0x39a)][_0x1f1aef(0x20f)](new Map()),this[_0x1f1aef(0x39a)][_0x1f1aef(0x398)](),this['_roomMembers$']['next']([]),this[_0x1f1aef(0x3cc)][_0x1f1aef(0x398)]();}[_0x59cd08(0x87)](){const _0x284d3a=_0x59cd08;this[_0x284d3a(0x208)]||(this[_0x284d3a(0x208)]=!0x0,this['_session'][_0x284d3a(0x2ff)][_0x284d3a(0x1a1)]((0x0,_0x5b7526['takeUntil'])(this[_0x284d3a(0xce)]))[_0x284d3a(0x248)](_0x2728d6=>{const _0x3b63e2=_0x284d3a;_0x2728d6===_0x4aca0a['SessionStatus'][_0x3b63e2(0x30d)]?this['_toggleOnline']():this[_0x3b63e2(0x32d)]();}),this['_session'][_0x284d3a(0x77)][_0x284d3a(0x1a1)]((0x0,_0x5b7526[_0x284d3a(0xb4)])(this[_0x284d3a(0xce)]))[_0x284d3a(0x248)](_0x36c778=>{const _0x491013=_0x284d3a;let _0x127f48=_0x36c778[_0x491013(0x2c5)];_0x127f48===_0x1208f3[_0x491013(0x39d)][_0x491013(0x316)]&&this['_onCursorUpdate'](_0x36c778),_0x127f48===_0x1208f3[_0x491013(0x39d)][_0x491013(0x107)]&&this[_0x491013(0x3b8)](_0x36c778);}),this[_0x284d3a(0x241)]['state$'][_0x284d3a(0x1a1)]((0x0,_0x5b7526['takeUntil'])(this['dispose$']))['subscribe'](_0x32065e=>{const _0x30fa48=_0x284d3a;this[_0x30fa48(0x378)]&&this['_updateLocalCursor'](_0x32065e);}));}[_0x59cd08(0x1df)](_0x4fd0c3){const _0x1c4d0c=_0x59cd08;var _0x400e4e,_0x51a7c1,_0x45476d,_0x2efa3d;let {memberID:_0x1fd9cf,selection:_0x4265ed}=_0x4fd0c3[_0x1c4d0c(0x186)];if(_0x1fd9cf===((_0x400e4e=(_0x51a7c1=this[_0x1c4d0c(0x207)])[_0x1c4d0c(0x6e)])==null?void 0x0:_0x400e4e['call'](_0x51a7c1)))return;let _0x12aa12=_0x5bab35(_0x4265ed);if(!_0x12aa12||_0x12aa12['unitId']!==this[_0x1c4d0c(0x2b7)])return;let _0x51328a=(_0x45476d=(_0x2efa3d=this[_0x1c4d0c(0x1b6)][_0x1c4d0c(0x189)](this['unitID'],_0x1fd9cf))==null?void 0x0:_0x2efa3d[_0x1c4d0c(0x2af)])==null?_0x1c4d0c(0x3c0):_0x45476d,_0x3729ca={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x1fd9cf),'name':_0x51328a,'unitId':_0x12aa12[_0x1c4d0c(0x2d7)],'subUnitId':_0x12aa12[_0x1c4d0c(0x32f)],'selectedIds':_0x12aa12[_0x1c4d0c(0x3a5)],'focusedId':_0x12aa12[_0x1c4d0c(0x2f6)],'selection':_0x4265ed},_0x6a5931=new Map(this[_0x1c4d0c(0x387)]);_0x6a5931[_0x1c4d0c(0x382)](_0x1fd9cf,_0x3729ca),this[_0x1c4d0c(0x39a)][_0x1c4d0c(0x20f)](_0x6a5931);}[_0x59cd08(0x3b8)](_0x432d3d){const _0x12f99c=_0x59cd08;let {memberID:_0x2810b9}=_0x432d3d[_0x12f99c(0x186)],_0x3eeb8e=new Map(this['cursorInfo']);_0x3eeb8e[_0x12f99c(0x28b)](_0x2810b9),this['_cursorInfo$'][_0x12f99c(0x20f)](_0x3eeb8e);}[_0x59cd08(0x239)](){const _0x4a5634=_0x59cd08;this[_0x4a5634(0x378)]=!0x0,this[_0x4a5634(0x1d2)](this[_0x4a5634(0x241)][_0x4a5634(0x336)]());}['_toggleOffline'](){this['_online']=!0x1;}};_0x22a881=_0x260d11([_0x2eb870(0x2,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x522a9b)),_0x2eb870(0x3,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x4aca0a[_0x59cd08(0x121)])),_0x2eb870(0x4,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x5df1cb[_0x59cd08(0xa6)]))],_0x22a881);let _0x4da5d5=class extends _0x4615d2[_0x59cd08(0x13f)]{constructor(_0x4bf5ca,_0xc24106,_0x470dce){const _0x2cf7f2=_0x59cd08;super(),this[_0x2cf7f2(0x1e5)]=_0x4bf5ca,this[_0x2cf7f2(0x33b)]=_0xc24106,this[_0x2cf7f2(0x358)]=_0x470dce,_0x4dee6d(this,_0x2cf7f2(0x6f),new Map()),_0x4dee6d(this,'_entityInit$',new _0x5b7526[(_0x2cf7f2(0x130))]()),this[_0x2cf7f2(0x208)]();}[_0x59cd08(0x223)](){const _0x2f0013=_0x59cd08;super['dispose'](),this[_0x2f0013(0x368)]['complete'](),this[_0x2f0013(0x6f)][_0x2f0013(0x23d)](_0x10de64=>_0x10de64[_0x2f0013(0x223)]());}[_0x59cd08(0x30a)](_0x2fe2fa){const _0xade52e=_0x59cd08;return this['_entities']['has'](_0x2fe2fa)?this[_0xade52e(0x6f)][_0xade52e(0x99)](_0x2fe2fa)['cursorInfo$']:this['_entityInit$']['pipe']((0x0,_0x5b7526[_0xade52e(0x310)])(_0x529d1e=>_0x529d1e[_0xade52e(0x2b7)]===_0x2fe2fa),(0x0,_0x5b7526[_0xade52e(0x3c2)])(_0xeb15c1=>_0xeb15c1[_0xade52e(0x2d2)]));}[_0x59cd08(0x208)](){const _0x191def=_0x59cd08;this[_0x191def(0x1e5)][_0x191def(0x10d)](_0x4615d2[_0x191def(0x172)][_0x191def(0x1e3)])['pipe']((0x0,_0x5b7526[_0x191def(0xb4)])(this['dispose$']))[_0x191def(0x248)](async _0xc2b8a=>{const _0xa9071e=_0x191def;let _0x2dfa1f=_0xc2b8a[_0xa9071e(0x390)]['getUnitId'](),_0x578662=await this['_startSheetCollabCursor'](_0x2dfa1f);this[_0xa9071e(0x368)][_0xa9071e(0x20f)](_0x578662),this[_0xa9071e(0x6f)]['set'](_0x2dfa1f,_0x578662);}),this[_0x191def(0x1e5)][_0x191def(0x10d)](_0x4615d2['UniverInstanceType'][_0x191def(0x2fb)])[_0x191def(0x1a1)]((0x0,_0x5b7526[_0x191def(0xb4)])(this['dispose$']))[_0x191def(0x1a1)]((0x0,_0x5b7526['filter'])(_0x318245=>!_0x318245[_0x191def(0x390)][_0x191def(0x165)]()[_0x191def(0x2e1)]('__')))[_0x191def(0x248)](async _0x1fbdb6=>{const _0x215698=_0x191def;let {unit:_0x1f2b16}=_0x1fbdb6,_0x24597a=_0x1f2b16['getUnitId'](),_0x90935d=await this[_0x215698(0x30b)](_0x24597a);this[_0x215698(0x368)][_0x215698(0x20f)](_0x90935d),this['_entities'][_0x215698(0x382)](_0x24597a,_0x90935d);}),this[_0x191def(0x1e5)][_0x191def(0x10d)](_0x4615d2[_0x191def(0x172)][_0x191def(0x2ef)])['pipe']((0x0,_0x5b7526[_0x191def(0xb4)])(this[_0x191def(0xce)]))[_0x191def(0x248)](async _0x238bf7=>{const _0x5afb1d=_0x191def;let _0x234596=_0x238bf7['unit']['getUnitId'](),_0x522223=await this[_0x5afb1d(0x19d)](_0x234596);this[_0x5afb1d(0x368)][_0x5afb1d(0x20f)](_0x522223),this[_0x5afb1d(0x6f)][_0x5afb1d(0x382)](_0x234596,_0x522223);}),this[_0x191def(0x1e5)]['getTypeOfUnitAdded$'](_0x4615d2[_0x191def(0x172)]['UNIVER_BOARD'])['pipe']((0x0,_0x5b7526[_0x191def(0xb4)])(this['dispose$']))[_0x191def(0x248)](async _0xe97334=>{const _0x361233=_0x191def;let _0x49f6f0=_0xe97334[_0x361233(0x390)][_0x361233(0x165)](),_0x5a9d33=await this[_0x361233(0x135)](_0x49f6f0);this[_0x361233(0x368)][_0x361233(0x20f)](_0x5a9d33),this[_0x361233(0x6f)][_0x361233(0x382)](_0x49f6f0,_0x5a9d33);}),(0x0,_0x5b7526['merge'])(this['_univerInstanceService'][_0x191def(0x331)](_0x4615d2['UniverInstanceType'][_0x191def(0x2fb)]),this[_0x191def(0x1e5)][_0x191def(0x331)](_0x4615d2[_0x191def(0x172)][_0x191def(0x1e3)]),this[_0x191def(0x1e5)]['getTypeOfUnitDisposed$'](_0x4615d2[_0x191def(0x172)][_0x191def(0x2ef)]),this[_0x191def(0x1e5)][_0x191def(0x331)](_0x4615d2[_0x191def(0x172)][_0x191def(0xdf)]))[_0x191def(0x1a1)]((0x0,_0x5b7526[_0x191def(0xb4)])(this[_0x191def(0xce)]))[_0x191def(0x248)](_0x262fd9=>{const _0x5915d6=_0x191def;let _0x13160d=_0x262fd9[_0x5915d6(0x165)](),_0x9e8964=this['_entities'][_0x5915d6(0x99)](_0x13160d);_0x9e8964&&(_0x9e8964['dispose'](),this['_entities'][_0x5915d6(0x28b)](_0x13160d));});}async['_startSheetCollabCursor'](_0x18f5ce){const _0x5601e9=_0x59cd08;let _0x48d7b3=await this[_0x5601e9(0x358)]['requireSession'](_0x18f5ce),_0x4b49d5=this[_0x5601e9(0x33b)][_0x5601e9(0x195)](_0x18bad9,_0x18f5ce,_0x48d7b3);return _0x4b49d5['init'](),_0x4b49d5;}async['_startDocCollabCursor'](_0x1185d2){const _0x4a4c5d=_0x59cd08;let _0x58f177=await this[_0x4a4c5d(0x358)][_0x4a4c5d(0x235)](_0x1185d2),_0xd4f690=this['_injector'][_0x4a4c5d(0x195)](_0x4e5738,_0x1185d2,_0x58f177);return _0xd4f690[_0x4a4c5d(0x87)](),_0xd4f690;}async[_0x59cd08(0x19d)](_0x21b1bd){const _0xf07d12=_0x59cd08;let _0x2d5b00=await this[_0xf07d12(0x358)][_0xf07d12(0x235)](_0x21b1bd),_0x1f2e27=this['_injector'][_0xf07d12(0x195)](_0x22a881,_0x21b1bd,_0x2d5b00);return _0x1f2e27[_0xf07d12(0x87)](),_0x1f2e27;}async[_0x59cd08(0x135)](_0x2440a6){const _0x27ebf6=_0x59cd08;let _0x1aa8fa=await this[_0x27ebf6(0x358)][_0x27ebf6(0x235)](_0x2440a6),_0x417589=this['_injector'][_0x27ebf6(0x195)](_0x1f91a7,_0x2440a6,_0x1aa8fa);return _0x417589[_0x27ebf6(0x87)](),_0x417589;}};_0x4da5d5=_0x260d11([_0x2eb870(0x0,_0x4615d2[_0x59cd08(0x171)]),_0x2eb870(0x1,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x4615d2[_0x59cd08(0x13d)])),_0x2eb870(0x2,(0x0,_0x4615d2['Inject'])(_0x4aca0a['CollaborationSessionService']))],_0x4da5d5);let _0x4f1717=class extends _0x4615d2[_0x59cd08(0x13f)]{constructor(_0x5ea882,_0x439185,_0x46b0f6){const _0x53a5fd=_0x59cd08;super(),this['_context']=_0x5ea882,this['_collabCursorController']=_0x439185,this['_themeService']=_0x46b0f6,_0x4dee6d(this,_0x53a5fd(0x3b2),new Set()),_0x4dee6d(this,_0x53a5fd(0x337),!0x1),_0x4dee6d(this,'_isApplyingOverlays',!0x1),_0x4dee6d(this,_0x53a5fd(0x177),new Map()),this[_0x53a5fd(0x208)]();}[_0x59cd08(0x223)](){const _0x386611=_0x59cd08;this[_0x386611(0x174)](),super[_0x386611(0x223)]();}[_0x59cd08(0x208)](){const _0x4fa3b7=_0x59cd08;let _0x5ea5ba=this[_0x4fa3b7(0x339)]['getCollabCursors$'](this['_context'][_0x4fa3b7(0x2d7)]);this['disposeWithMe']((0x0,_0x4615d2[_0x4fa3b7(0x293)])((0x0,_0x5b7526['combineLatest'])([_0x5ea5ba,this[_0x4fa3b7(0x35c)][_0x4fa3b7(0x390)][_0x4fa3b7(0xb1)],this['_themeService'][_0x4fa3b7(0x3d3)]])['pipe']((0x0,_0x5b7526['takeUntil'])(this[_0x4fa3b7(0xce)]))[_0x4fa3b7(0x248)](([_0x3231e3])=>{const _0x388188=_0x4fa3b7;let _0x421d46=this['_context'][_0x388188(0x390)][_0x388188(0x2ae)](),_0x4a796f=new Map();_0x3231e3[_0x388188(0x23d)]((_0x1c510f,_0x2556ca)=>{const _0x87c8c7=_0x388188;_0x1c510f['subUnitId']===_0x421d46&&_0x4a796f[_0x87c8c7(0x382)](_0x2556ca,{..._0x1c510f,'color':this[_0x87c8c7(0x75)]['getColorFromTheme'](_0x1c510f[_0x87c8c7(0xf7)])});}),this[_0x388188(0x177)]=_0x4a796f,this['_scheduleRender']();})));let _0x11c9f6=this[_0x4fa3b7(0x35c)][_0x4fa3b7(0x354)];this[_0x4fa3b7(0x183)]((0x0,_0x4615d2[_0x4fa3b7(0x293)])(_0x11c9f6['addObject$'][_0x4fa3b7(0x1a1)]((0x0,_0x5b7526[_0x4fa3b7(0xb4)])(this[_0x4fa3b7(0xce)]))['subscribe'](()=>{const _0x48810e=_0x4fa3b7;this[_0x48810e(0x17c)]||this[_0x48810e(0x147)]();})));}['_scheduleRender'](){const _0x5e6e85=_0x59cd08;this['_renderScheduled']||(this[_0x5e6e85(0x337)]=!0x0,Promise[_0x5e6e85(0x37e)]()[_0x5e6e85(0x3cb)](()=>{const _0x15573a=_0x5e6e85;this['_renderScheduled']=!0x1,this[_0x15573a(0x357)]();}));}[_0x59cd08(0x357)](){const _0x3f4f6b=_0x59cd08;this[_0x3f4f6b(0x174)]();let _0x4679c=this['_context'][_0x3f4f6b(0x390)]['getActivePageId'](),_0x2ab1a8=[];if(this['_latestCursors'][_0x3f4f6b(0x23d)]((_0x4907e8,_0x28e5b7)=>{const _0x190454=_0x3f4f6b;_0x4907e8['subUnitId']===_0x4679c&&_0x4907e8['selectedIds'][_0x190454(0x23d)](_0x16da37=>{const _0x27d635=_0x190454;let _0x504b6a=(0x0,_0x199d1d['getBoardElementRenderObjectKey'])(_0x4907e8[_0x27d635(0x2d7)],_0x16da37),_0x23e001=this['_getSceneObjectByKey'](_0x504b6a);if(!_0x23e001)return;let _0x414ecc=this['_getObjectBounds'](_0x23e001);_0x2ab1a8[_0x27d635(0x3c3)](new _0x13a0d4(_0x27d635(0x17e)+_0x28e5b7+'-'+_0x16da37,{..._0x4907e8,'left':_0x414ecc['left'],'top':_0x414ecc[_0x27d635(0x18c)],'width':_0x414ecc[_0x27d635(0x229)],'height':_0x414ecc[_0x27d635(0x153)],'angle':_0x23e001[_0x27d635(0xda)],'evented':!0x1,'zIndex':_0x26a424}));});}),_0x2ab1a8['length']===0x0){this[_0x3f4f6b(0x35c)][_0x3f4f6b(0x354)][_0x3f4f6b(0x108)](!0x0);return;}this['_isApplyingOverlays']=!0x0,this[_0x3f4f6b(0x35c)]['scene'][_0x3f4f6b(0x1e2)](_0x2ab1a8,_0x26a424),this[_0x3f4f6b(0x17c)]=!0x1,this[_0x3f4f6b(0x3b2)]=new Set(_0x2ab1a8),this['_context'][_0x3f4f6b(0x354)][_0x3f4f6b(0x108)](!0x0);}[_0x59cd08(0x174)](){const _0x15c5d5=_0x59cd08;let _0x4ead01=Array[_0x15c5d5(0x22b)](this[_0x15c5d5(0x3b2)]);if(_0x4ead01[_0x15c5d5(0x3bc)]===0x0)return;let _0x2d95ac=this['_context'][_0x15c5d5(0x354)];'removeObjects'in _0x2d95ac&&typeof _0x2d95ac['removeObjects']=='function'?_0x2d95ac[_0x15c5d5(0x39b)](_0x4ead01):_0x4ead01[_0x15c5d5(0x23d)](_0x8db860=>{const _0x2d9044=_0x15c5d5;'removeObject'in _0x2d95ac&&typeof _0x2d95ac[_0x2d9044(0x3b7)]==_0x2d9044(0x16e)?_0x2d95ac[_0x2d9044(0x3b7)](_0x8db860):_0x8db860['dispose']();}),this[_0x15c5d5(0x3b2)][_0x15c5d5(0xa3)](),_0x2d95ac[_0x15c5d5(0x108)](!0x0);}['_getSceneObjectByKey'](_0x378a2a){const _0x4b18d8=_0x59cd08;var _0x5f38f4,_0x4e9bc4,_0x2778c5;let _0x443d33=this['_context'][_0x4b18d8(0x354)];return(_0x5f38f4=(_0x4e9bc4=(_0x2778c5=_0x443d33['getObjectIncludeInGroup'])==null?void 0x0:_0x2778c5[_0x4b18d8(0x2da)](_0x443d33,_0x378a2a))==null?_0x443d33[_0x4b18d8(0x1d3)](_0x378a2a):_0x4e9bc4)==null?null:_0x5f38f4;}[_0x59cd08(0x7c)](_0x21303d){const _0x5f2560=_0x59cd08;var _0xa2a848,_0x1678e7;let _0x5f5360=_0x21303d;return(_0xa2a848=(_0x1678e7=_0x5f5360[_0x5f2560(0x397)])==null?void 0x0:_0x1678e7['call'](_0x5f5360))==null?{'left':_0x21303d[_0x5f2560(0x26c)],'top':_0x21303d[_0x5f2560(0x18c)],'width':_0x21303d[_0x5f2560(0x229)],'height':_0x21303d['height']}:_0xa2a848;}};_0x4f1717=_0x260d11([_0x2eb870(0x1,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x4da5d5)),_0x2eb870(0x2,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x4615d2[_0x59cd08(0x1cd)]))],_0x4f1717);let _0x4be9f9='collab-text-anchor-';var _0x4a39ce=class{constructor(_0x1063be,_0x58a39b,_0x3dbc8a,_0x419cf4){const _0x35d7ed=_0x59cd08;this[_0x35d7ed(0x86)]=_0x1063be,this[_0x35d7ed(0x7f)]=_0x58a39b,this[_0x35d7ed(0x213)]=_0x3dbc8a,this[_0x35d7ed(0x3ae)]=_0x419cf4,_0x4dee6d(this,_0x35d7ed(0x82),[]),_0x4dee6d(this,_0x35d7ed(0x281),null),_0x4dee6d(this,_0x35d7ed(0x309),null),_0x4dee6d(this,_0x35d7ed(0x14c),null),_0x4dee6d(this,'_hideTimer',null),_0x4dee6d(this,_0x35d7ed(0x35d),null),this[_0x35d7ed(0x357)]();}set['_hover'](_0x2ae3d8){const _0x303201=_0x59cd08;_0x2ae3d8?(this[_0x303201(0x14c)]&&this[_0x303201(0x14c)][_0x303201(0x1c6)](),this[_0x303201(0x309)]&&this[_0x303201(0x309)][_0x303201(0x20d)]()):(this[_0x303201(0x14c)]&&this[_0x303201(0x14c)][_0x303201(0x20d)](),this[_0x303201(0x309)]&&this[_0x303201(0x309)][_0x303201(0x1c6)]());}[_0x59cd08(0x223)](){const _0x2b6eef=_0x59cd08;for(let _0x36aac8 of this['_shapes'])_0x36aac8['dispose']();this[_0x2b6eef(0x309)]&&this['_textBubble'][_0x2b6eef(0x223)](),this['_anchorDot']&&this['_anchorDot'][_0x2b6eef(0x223)](),this[_0x2b6eef(0x281)]&&this[_0x2b6eef(0x281)]['dispose'](),this[_0x2b6eef(0x35d)]&&this[_0x2b6eef(0x35d)]();}[_0x59cd08(0x357)](){const _0x367b10=_0x59cd08;let {_docSkeleton:_0x740b28,_document:_0x112c6c}=this,{color:_0x12bc19,name:_0x44b8e2,ranges:_0x2cf7f3}=this[_0x367b10(0x86)],_0x387c83=_0x112c6c[_0x367b10(0x160)](),{docsLeft:_0x1f1433,docsTop:_0x2b0fd2}=_0x387c83,_0x3ea551=new _0x3bfdba[(_0x367b10(0x2a1))](_0x387c83,_0x740b28);for(let {startOffset:_0x44008c,endOffset:_0x474083,rangeType:_0x3c2ecc,segmentId:_0x12eda4,segmentPage:_0x343b15,collapsed:_0x1dfa1b,isActive:_0x2ccc5d}of _0x2cf7f3){let _0x35e461=_0x740b28['findNodePositionByCharIndex'](_0x44008c,!0x0,_0x12eda4,_0x343b15),_0x5e47a8=_0x740b28[_0x367b10(0xd7)](_0x474083,!0x0,_0x12eda4,_0x343b15);if(_0x5e47a8==null&&(_0x5e47a8=_0x740b28[_0x367b10(0xd7)](_0x474083-0x1,!0x1,_0x12eda4,_0x343b15)),_0x2ccc5d){let {contentBoxPointGroup:_0x5b93c5}=_0x3ea551['getRangePointData'](_0x5e47a8,_0x5e47a8);if(_0x5b93c5[_0x367b10(0x3bc)]===0x0)continue;this['_drawAnchor'](_0x12bc19,_0x5b93c5,_0x1f1433,_0x2b0fd2,_0x44b8e2),this[_0x367b10(0x35d)]=this['_handleHover']();}if(_0x35e461&&_0x5e47a8){if(_0x3c2ecc===_0x4615d2['DOC_RANGE_TYPE'][_0x367b10(0x2f1)]){var _0x3d988d;let {pointGroup:_0x16f0bc}=(_0x3d988d=new _0x3bfdba[(_0x367b10(0x1b7))](_0x387c83,_0x740b28)['getRangePointData'](_0x35e461,_0x5e47a8))==null?{}:_0x3d988d;if(_0x16f0bc==null||_0x16f0bc[_0x367b10(0x3bc)]===0x0)continue;this['_drawRectRange'](_0x12bc19,_0x16f0bc,_0x1f1433,_0x2b0fd2);}else{if(!_0x1dfa1b){let {borderBoxPointGroup:_0x3628d3}=_0x3ea551['getRangePointData'](_0x35e461,_0x5e47a8);if(_0x3628d3[_0x367b10(0x3bc)]===0x0)continue;this['_drawTextRange'](_0x12bc19,_0x3628d3,_0x1f1433,_0x2b0fd2);}}}}}[_0x59cd08(0x3a7)](_0x2c6307,_0x5e8383,_0x294a62,_0x3ee374,_0x4efa51){const _0x980767=_0x59cd08;let {left:_0x2f72d1,top:_0x5aa4ee,height:_0x13bfe}=this[_0x980767(0x1b9)](_0x5e8383),_0x1ba3fe=1.5/this[_0x980767(0x1d6)](),_0x5ad50e=new _0x1891a4['Rect'](_0x4be9f9+(0x0,_0x4615d2[_0x980767(0x1ce)])(0x6),{'left':_0x2f72d1+_0x294a62-_0x1ba3fe,'top':_0x5aa4ee+_0x3ee374,'height':_0x13bfe,'width':1.5,'fill':_0x2c6307||(0x0,_0x1891a4[_0x980767(0x18b)])(_0x4615d2[_0x980767(0x259)]['black'],0x0),'strokeWidth':_0x1ba3fe,'stroke':_0x980767(0x96),'evented':!0x0});this[_0x980767(0x281)]=_0x5ad50e,this[_0x980767(0x7f)][_0x980767(0x164)](_0x5ad50e,_0x3bfdba[_0x980767(0x3af)]);let _0x31b496=new _0x1891a4[(_0x980767(0x39f))](_0x4be9f9+(0x0,_0x4615d2[_0x980767(0x1ce)])(0x6),{'left':_0x2f72d1+_0x294a62-_0x1ba3fe,'top':_0x5aa4ee+_0x3ee374-0x4/0x2,'height':0x4,'width':0x4,'fill':_0x2c6307||(0x0,_0x1891a4['getColor'])(_0x4615d2['COLORS'][_0x980767(0x2f4)],0x0),'strokeWidth':0x0,'stroke':_0x2c6307||(0x0,_0x1891a4[_0x980767(0x18b)])(_0x4615d2[_0x980767(0x259)][_0x980767(0x2f4)],0x0),'evented':!0x1});this[_0x980767(0x14c)]=_0x31b496,this[_0x980767(0x7f)][_0x980767(0x164)](_0x31b496,_0x3bfdba[_0x980767(0x3af)]);let _0x4c8169=new _0x43b06e(_0x4be9f9+(0x0,_0x4615d2[_0x980767(0x1ce)])(0x6),{'left':_0x2f72d1+_0x294a62-_0x1ba3fe,'top':_0x5aa4ee+_0x3ee374-0x14,'text':_0x4efa51,'color':_0x2c6307});this[_0x980767(0x309)]=_0x4c8169,this[_0x980767(0x7f)][_0x980767(0x164)](_0x4c8169,_0x3bfdba[_0x980767(0x3af)]),this[_0x980767(0x265)]=!0x1;}['_handleHover'](){const _0xdbf2c1=_0x59cd08;let _0x2f4b76=this['_anchor'][_0xdbf2c1(0x275)]['subscribeEvent'](()=>{const _0x4b4ec2=_0xdbf2c1;this[_0x4b4ec2(0x265)]=!0x0;}),_0x158cbc=this[_0xdbf2c1(0x281)]['onPointerLeave$'][_0xdbf2c1(0x2ba)](()=>{const _0x8da628=_0xdbf2c1;this[_0x8da628(0x2d4)]&&clearTimeout(this[_0x8da628(0x2d4)]),this[_0x8da628(0x2d4)]=setTimeout(()=>{const _0x18b62f=_0x8da628;this[_0x18b62f(0x265)]=!0x1;},0x7d0);});return()=>{const _0x4efe0e=_0xdbf2c1;_0x2f4b76['unsubscribe'](),_0x158cbc[_0x4efe0e(0x95)]();};}[_0x59cd08(0x2e6)](_0x35ce9b,_0x51296a,_0x1fc95d,_0x1d59c4){const _0x431eb2=_0x59cd08;let _0x27d732=0.2,_0x8cd47f=new _0x4615d2[(_0x431eb2(0x22e))](_0x35ce9b)['setAlpha'](_0x27d732)[_0x431eb2(0x29c)](),_0x41e312=new _0x1891a4[(_0x431eb2(0x226))](_0x431eb2(0x1e0)+(0x0,_0x4615d2[_0x431eb2(0x1ce)])(0x6),{'pointsGroup':_0x51296a,'fill':_0x8cd47f||(0x0,_0x1891a4['getColor'])(_0x4615d2[_0x431eb2(0x259)][_0x431eb2(0x2f4)],_0x27d732),'left':_0x1fc95d,'top':_0x1d59c4,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x431eb2(0x3c3)](_0x41e312),this[_0x431eb2(0x7f)][_0x431eb2(0x164)](_0x41e312,_0x3bfdba[_0x431eb2(0x3af)]);}['_drawRectRange'](_0x507120,_0x5abb12,_0x24d48c,_0x20a121){const _0x26ef23=_0x59cd08;let _0x338143=0.2,_0x20efef=new _0x4615d2[(_0x26ef23(0x22e))](_0x507120)['setAlpha'](_0x338143)[_0x26ef23(0x29c)](),_0x16244a=new _0x1891a4['RegularPolygon'](_0x26ef23(0x228)+(0x0,_0x4615d2[_0x26ef23(0x1ce)])(0x6),{'pointsGroup':_0x5abb12,'fill':_0x20efef||(0x0,_0x1891a4[_0x26ef23(0x18b)])(_0x4615d2[_0x26ef23(0x259)]['black'],_0x338143),'left':_0x24d48c,'top':_0x20a121,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x26ef23(0x82)][_0x26ef23(0x3c3)](_0x16244a),this[_0x26ef23(0x7f)]['addObject'](_0x16244a,_0x3bfdba[_0x26ef23(0x3af)]);}[_0x59cd08(0x1b9)](_0x3a2dd7){let _0xa769d3=_0x3a2dd7[0x0],_0x1c144f=_0xa769d3[0x0],_0x5d717e=_0xa769d3[0x2],{x:_0x1451dc,y:_0x3d5c81}=_0x1c144f,{x:_0x369486,y:_0x16f75d}=_0x5d717e;return{'left':_0x1451dc,'top':_0x3d5c81,'width':_0x369486-_0x1451dc,'height':_0x16f75d-_0x3d5c81};}[_0x59cd08(0x1d6)](){const _0x55994b=_0x59cd08;let {scaleX:_0x23fe36,scaleY:_0x41e26f}=this[_0x55994b(0x7f)][_0x55994b(0x2e3)]();return Math[_0x55994b(0x1dc)](_0x23fe36,_0x41e26f);}};let _0x4ac66d=class extends _0x4615d2[_0x59cd08(0x13f)]{constructor(_0x5c2d78,_0x4446cb,_0x1a049b,_0x2a5a77,_0xa623b8){const _0x312718=_0x59cd08;super(),this['_context']=_0x5c2d78,this['_docSkeletonManagerService']=_0x4446cb,this[_0x312718(0x339)]=_0x1a049b,this[_0x312718(0x202)]=_0x2a5a77,this[_0x312718(0x75)]=_0xa623b8,_0x4dee6d(this,_0x312718(0x9e),[]),_0x4dee6d(this,_0x312718(0x3b2),[]),this[_0x312718(0x208)]();}[_0x59cd08(0x208)](){const _0xe609e4=_0x59cd08;let _0xb3145=this['_context'][_0xe609e4(0x2d7)],_0x38ae16=this[_0xe609e4(0x3bb)];this[_0xe609e4(0x183)]((0x0,_0x5b7526[_0xe609e4(0xb7)])([this['_collabCursorController'][_0xe609e4(0x30a)](_0xb3145),this[_0xe609e4(0x75)][_0xe609e4(0x3d3)]])[_0xe609e4(0x1a1)]((0x0,_0x101be6[_0xe609e4(0xaf)])(([_0x22980c,_0x5ba5e1])=>({'skeleton':_0x38ae16[_0xe609e4(0x16d)](),'cursors':[..._0x22980c['values']()]['flatMap'](_0x47f9ca=>({..._0x47f9ca,'color':this[_0xe609e4(0x75)][_0xe609e4(0xf3)](_0x47f9ca[_0xe609e4(0xf7)])}))})))[_0xe609e4(0x248)](_0x26608d=>{if(this['_removeCollabCursors'](),_0x26608d){let {skeleton:_0x14017c,cursors:_0x469a36}=_0x26608d;this['_updateCollabCursors'](_0x14017c,_0x469a36);}})),this[_0xe609e4(0x98)](),this['_initCommandExecutedListener']();}[_0x59cd08(0x2e5)](_0x3a96e3,_0xfaf548){const _0x3b9a1d=_0x59cd08;let {scene:_0x3e859b,mainComponent:_0xeb7fa7}=this['_context'],_0x17c237=_0xfaf548[_0x3b9a1d(0xaf)](_0x363c24=>new _0x4a39ce(_0x363c24,_0x3e859b,_0x3a96e3,_0xeb7fa7));this['_cursorShapes']=_0x17c237,this[_0x3b9a1d(0x3b2)]=_0xfaf548;}[_0x59cd08(0x2bf)](){const _0x3dcbde=_0x59cd08;this[_0x3dcbde(0x174)]();let {scene:_0x500f53,mainComponent:_0x3353d2}=this[_0x3dcbde(0x35c)],_0x1cdf82=this['_docSkeletonManagerService'][_0x3dcbde(0x16d)](),_0x267799=this[_0x3dcbde(0x3b2)][_0x3dcbde(0xaf)](_0x2dcf4a=>new _0x4a39ce(_0x2dcf4a,_0x500f53,_0x1cdf82,_0x3353d2));this['_cursorShapes']=_0x267799;}['_removeCollabCursors'](){const _0x3596c0=_0x59cd08;this[_0x3596c0(0x9e)][_0x3596c0(0x23d)](_0xaa9ff9=>_0xaa9ff9[_0x3596c0(0x223)]()),this[_0x3596c0(0x9e)]=[];}[_0x59cd08(0x272)](){const _0x129e11=_0x59cd08;let _0x1f61aa=[_0x3bfdba[_0x129e11(0xbc)]['id']];this[_0x129e11(0x183)](this['_commandService'][_0x129e11(0x137)](_0x1a0751=>{const _0x37ea76=_0x129e11;_0x1f61aa[_0x37ea76(0x217)](_0x1a0751['id'])&&_0x1a0751['params'][_0x37ea76(0x2d7)]===this[_0x37ea76(0x35c)][_0x37ea76(0x2d7)]&&this[_0x37ea76(0x2bf)]();}));}['_initResize'](){const _0x276b0c=_0x59cd08;this[_0x276b0c(0x183)]((0x0,_0x4615d2[_0x276b0c(0x2e0)])(this[_0x276b0c(0x35c)]['engine'][_0x276b0c(0xa7)])[_0x276b0c(0x1a1)]((0x0,_0x101be6[_0x276b0c(0x310)])(_0x500405=>_0x500405[_0x276b0c(0x255)]===_0x1891a4[_0x276b0c(0x19f)][_0x276b0c(0x100)]),(0x0,_0x101be6[_0x276b0c(0x73)])(0x10))[_0x276b0c(0x248)](()=>{const _0x7f2c21=_0x276b0c;this[_0x7f2c21(0x2bf)]();}));}};_0x4ac66d=_0x260d11([_0x2eb870(0x1,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x7aa288[_0x59cd08(0x1be)])),_0x2eb870(0x2,(0x0,_0x4615d2['Inject'])(_0x4da5d5)),_0x2eb870(0x3,_0x4615d2['ICommandService']),_0x2eb870(0x4,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x4615d2['ThemeService']))],_0x4ac66d);var _0x1f1da5=class extends _0x1891a4['Shape']{constructor(_0xd4536d,_0x26a0ee){const _0x1b65ee=_0x59cd08;if(super(_0xd4536d,_0x26a0ee),_0x4dee6d(this,_0x1b65ee(0x231),void 0x0),_0x4dee6d(this,_0x1b65ee(0x159),!0x1),_0x4dee6d(this,_0x1b65ee(0x2e4),void 0x0),_0x4dee6d(this,_0x1b65ee(0x34b),''),_0x4dee6d(this,_0x1b65ee(0xc3),_0x1b65ee(0x18c)),_0x4dee6d(this,_0x1b65ee(0x278),void 0x0),_0x4dee6d(this,_0x1b65ee(0x84),void 0x0),_0x4dee6d(this,'_highlight',void 0x0),_0x4dee6d(this,_0x1b65ee(0x1ad),0x4),_0x4dee6d(this,'_blinkTimer',void 0x0),_0x4dee6d(this,_0x1b65ee(0x329),void 0x0),_0x4dee6d(this,'_isBlinkVisible',!0x0),_0x4dee6d(this,_0x1b65ee(0x374),0x0),_0x4dee6d(this,'_labelHorizontalPosition',_0x1b65ee(0x3ce)),_0x26a0ee){var _0x5c8525;if(this[_0x1b65ee(0x369)](_0x26a0ee),_0x26a0ee['highlight']&&((_0x5c8525=_0x26a0ee[_0x1b65ee(0xb0)])==null?this[_0x1b65ee(0x1ad)]:_0x5c8525)){var _0x20f3f3;this[_0x1b65ee(0x155)]((_0x20f3f3=_0x26a0ee[_0x1b65ee(0xb0)])==null?this['_highlightSecond']:_0x20f3f3);}}this['onPointerEnter$'][_0x1b65ee(0x2ba)](()=>this[_0x1b65ee(0x369)]({'hovered':!0x0})),this['onPointerLeave$'][_0x1b65ee(0x2ba)](()=>this[_0x1b65ee(0x369)]({'hovered':!0x1}));}[_0x59cd08(0x3b9)](_0x41662c){const _0x1db124=_0x59cd08;this[_0x1db124(0x374)]=_0x41662c;}[_0x59cd08(0x369)](_0x2bb3e2){const _0x56f86a=_0x59cd08;var _0x460079,_0x15124c,_0x500fd9,_0x1ecdb3,_0x3c0a66,_0x9e5fbb,_0x1111b7,_0x521207;this['_color']=(_0x460079=_0x2bb3e2[_0x56f86a(0xf7)])==null?this[_0x56f86a(0x231)]:_0x460079,this[_0x56f86a(0x159)]=(_0x15124c=_0x2bb3e2[_0x56f86a(0x274)])==null?this[_0x56f86a(0x159)]:_0x15124c,this[_0x56f86a(0x2e4)]=(_0x500fd9=_0x2bb3e2['range'])==null?this[_0x56f86a(0x2e4)]:_0x500fd9,this['_name']=(_0x1ecdb3=_0x2bb3e2[_0x56f86a(0x2af)])==null?this[_0x56f86a(0x34b)]:_0x1ecdb3,this['_labelPosition']=(_0x3c0a66=_0x2bb3e2[_0x56f86a(0x109)])==null?this[_0x56f86a(0xc3)]:_0x3c0a66,this[_0x56f86a(0x278)]=(_0x9e5fbb=_0x2bb3e2[_0x56f86a(0x15c)])==null?this[_0x56f86a(0x278)]:_0x9e5fbb,this['_showText']=(_0x1111b7=_0x2bb3e2[_0x56f86a(0x151)])==null?this[_0x56f86a(0x84)]:_0x1111b7,this['_labelHorizontalPosition']=(_0x521207=_0x2bb3e2[_0x56f86a(0x352)])==null?this[_0x56f86a(0xf0)]:_0x521207,_0x2bb3e2['highlightSecond']!==void 0x0&&(this[_0x56f86a(0x1ad)]=_0x2bb3e2[_0x56f86a(0xb0)]),_0x2bb3e2['highlight']!==void 0x0&&(this[_0x56f86a(0xb9)]=_0x2bb3e2[_0x56f86a(0x1dd)]),_0x2bb3e2[_0x56f86a(0x1f4)]!==void 0x0&&(this[_0x56f86a(0x374)]=_0x2bb3e2[_0x56f86a(0x1f4)]),this[_0x56f86a(0x294)]({'width':_0x2bb3e2[_0x56f86a(0x229)],'height':_0x2bb3e2[_0x56f86a(0x153)]});}[_0x59cd08(0x31a)](_0x3b5aaf){const _0x395855=_0x59cd08;let {row:_0x121601,column:_0x33629f}=_0x3b5aaf;if(_0x121601>=this[_0x395855(0x2e4)]['startRow']&&_0x121601<=this['_range'][_0x395855(0x243)]&&_0x33629f>=this[_0x395855(0x2e4)][_0x395855(0x132)]&&_0x33629f<=this['_range'][_0x395855(0x20b)]){this[_0x395855(0x369)]({'hovered':!0x0});return;}this[_0x395855(0x369)]({'hovered':!0x1});}['_startBlinking'](_0x5edf03){const _0x4ebb20=_0x59cd08;this[_0x4ebb20(0x17b)](),this[_0x4ebb20(0xf1)]=!0x0,this['_blinkIntervalTimer']=window[_0x4ebb20(0x18a)](()=>{const _0x5dc69a=_0x4ebb20;this[_0x5dc69a(0xf1)]=!this[_0x5dc69a(0xf1)],this[_0x5dc69a(0x108)](!0x0);},0x1f4),this[_0x4ebb20(0x173)]=window[_0x4ebb20(0x3d5)](()=>{const _0x5da746=_0x4ebb20;this['_stopBlinking'](),this[_0x5da746(0xf1)]=!0x0,this[_0x5da746(0x108)](!0x0);},_0x5edf03*0x3e8);}[_0x59cd08(0x17b)](){const _0x2e434d=_0x59cd08;this[_0x2e434d(0x329)]&&(window['clearInterval'](this[_0x2e434d(0x329)]),this['_blinkIntervalTimer']=void 0x0),this[_0x2e434d(0x173)]&&(window['clearTimeout'](this[_0x2e434d(0x173)]),this[_0x2e434d(0x173)]=void 0x0);}[_0x59cd08(0x15a)](_0x3e06de){return!0x1;}['dispose'](){const _0x202240=_0x59cd08;this[_0x202240(0x17b)](),super[_0x202240(0x223)]();}['_draw'](_0x1feb8a){const _0x342a8c=_0x59cd08;let _0x3350d8=this[_0x342a8c(0x231)],_0x28bee8=this[_0x342a8c(0x278)];if(this[_0x342a8c(0xb9)]&&!this[_0x342a8c(0xf1)]&&(_0x3350d8=this[_0x342a8c(0x104)](this[_0x342a8c(0x231)]),_0x28bee8=this['_backgroundColor']?this[_0x342a8c(0x104)](this[_0x342a8c(0x278)]):void 0x0),_0x1891a4[_0x342a8c(0x39f)]['drawWith'](_0x1feb8a,{'width':this[_0x342a8c(0x229)],'height':this[_0x342a8c(0x153)],'strokeWidth':this[_0x342a8c(0x194)]||1.5,'stroke':_0x3350d8,'evented':!0x1,'fill':_0x28bee8}),this[_0x342a8c(0x159)]||this[_0x342a8c(0x84)]){var _0x258187;_0x1feb8a[_0x342a8c(0x349)]();let _0x280664=this['_labelHorizontalPosition']==='left'?-_0xd17a7f(_0x1feb8a,this[_0x342a8c(0x34b)]):this[_0x342a8c(0x229)];_0x1feb8a[_0x342a8c(0x13e)](0x1,0x0,0x0,0x1,_0x280664,(this[_0x342a8c(0xc3)]===_0x342a8c(0x3b4)?0x0:-0x14)+((_0x258187=this[_0x342a8c(0x374)])==null?0x0:_0x258187)),_0x43b06e[_0x342a8c(0xde)](_0x1feb8a,{'text':this[_0x342a8c(0x34b)],'color':_0x3350d8}),_0x1feb8a[_0x342a8c(0x28e)]();}}[_0x59cd08(0x104)](_0x3181c4){const _0x1fec14=_0x59cd08;return _0x3181c4['startsWith']('#')?_0x1fec14(0x18f)+Number['parseInt'](_0x3181c4[_0x1fec14(0x1b8)](0x1,0x3),0x10)+',\x20'+Number[_0x1fec14(0xe6)](_0x3181c4[_0x1fec14(0x1b8)](0x3,0x5),0x10)+',\x20'+Number[_0x1fec14(0xe6)](_0x3181c4[_0x1fec14(0x1b8)](0x5,0x7),0x10)+_0x1fec14(0x1e1):_0x3181c4[_0x1fec14(0x2e1)](_0x1fec14(0x128))?_0x3181c4['replace'](/[\d.]+\)$/g,_0x1fec14(0x327)):_0x3181c4[_0x1fec14(0x2e1)]('rgb')?_0x3181c4[_0x1fec14(0x168)]('rgb',_0x1fec14(0x128))[_0x1fec14(0x168)](')',',\x200.2)'):_0x3181c4;}};let _0x1e335b=class extends _0x4615d2[_0x59cd08(0x13f)]{constructor(_0x44128d,_0x4093da,_0x4808ae,_0x42a204){const _0x178658=_0x59cd08;super(),this[_0x178658(0x35c)]=_0x44128d,this['_sheetSkeletonManagerService']=_0x4093da,this['_collabCursorController']=_0x4808ae,this[_0x178658(0x75)]=_0x42a204,_0x4dee6d(this,'_cursors',new Set()),_0x4dee6d(this,_0x178658(0x197),null),_0x4dee6d(this,_0x178658(0x192),null),this[_0x178658(0x208)]();}[_0x59cd08(0x208)](){const _0x434c16=_0x59cd08;this['_sheetSkeletonManagerService'][_0x434c16(0x112)]['pipe']((0x0,_0x101be6[_0x434c16(0xb4)])(this[_0x434c16(0xce)]),(0x0,_0x101be6[_0x434c16(0x3c2)])(_0x577159=>{const _0x5bf28b=_0x434c16;if(_0x577159){let _0x59dfeb=_0x577159[_0x5bf28b(0x152)];return(0x0,_0x5b7526[_0x5bf28b(0xb7)])(this['_collabCursorController'][_0x5bf28b(0x30a)](this[_0x5bf28b(0x35c)]['unitId']),this['_themeService'][_0x5bf28b(0x3d3)])[_0x5bf28b(0x1a1)]((0x0,_0x101be6['map'])(([_0x33f969,_0x623944])=>{let _0xefd71=new Map();return _0x33f969['forEach']((_0x10b14b,_0x1f4c26)=>{const _0x43da6e=_0x41f0;if(_0x10b14b[_0x43da6e(0x216)]===_0x59dfeb){let _0x1afb35={..._0x10b14b};_0x1afb35['color']=this['_themeService'][_0x43da6e(0xf3)](_0x10b14b[_0x43da6e(0xf7)]),_0xefd71['set'](_0x1f4c26,_0x1afb35);}}),{'skeleton':_0x577159,'cursors':_0xefd71};}));}return(0x0,_0x5b7526['of'])({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x5e862c,cursors:_0xeed60e})=>{const _0x585184=_0x434c16;this[_0x585184(0x174)](),_0x5e862c&&this[_0x585184(0x2e5)](_0x5e862c,_0xeed60e);}),this['disposeWithMe'](this[_0x434c16(0x136)][_0x434c16(0x112)][_0x434c16(0x1a1)]((0x0,_0x101be6[_0x434c16(0xb4)])(this[_0x434c16(0xce)]))['subscribe'](_0x1abc38=>{const _0x1c04c=_0x434c16;var _0x39f657;if(_0x1abc38==null)return;(_0x39f657=this['_pointerMoveDisposable'])==null||_0x39f657['unsubscribe'](),this[_0x1c04c(0x192)]=null;let {skeleton:_0x20de39}=_0x1abc38,{scene:_0x3f330b}=this[_0x1c04c(0x35c)];this[_0x1c04c(0x192)]=_0x3f330b['onPointerMove$']['subscribeEvent']((0x0,_0x4615d2[_0x1c04c(0x311)])(_0x2602c1=>{const _0x5b7bf6=_0x1c04c;var _0x790cd1,_0x2d013d;let {offsetX:_0x299c72,offsetY:_0x5351a5}=_0x2602c1,{x:_0xec140,y:_0x403072}=_0x3f330b[_0x5b7bf6(0x34d)](_0x1891a4[_0x5b7bf6(0x2eb)][_0x5b7bf6(0x1ca)]([_0x299c72,_0x5351a5])),{scaleX:_0x711a9f,scaleY:_0x2c6179}=_0x3f330b[_0x5b7bf6(0x2e3)](),_0x34c3d3=_0x3f330b[_0x5b7bf6(0x2f8)](_0x1891a4['SHEET_VIEWPORT_KEY'][_0x5b7bf6(0x2ad)]),_0x3defa4=_0x3f330b[_0x5b7bf6(0xb3)](_0x1891a4['Vector2'][_0x5b7bf6(0x1ca)]([_0xec140,_0x403072]),_0x34c3d3),_0x143fef=_0x20de39[_0x5b7bf6(0xef)](_0x299c72,_0x5351a5,_0x711a9f,_0x2c6179,_0x3defa4);((_0x790cd1=this[_0x5b7bf6(0x197)])==null?void 0x0:_0x790cd1[_0x5b7bf6(0x71)])===_0x143fef[_0x5b7bf6(0x71)]&&((_0x2d013d=this[_0x5b7bf6(0x197)])==null?void 0x0:_0x2d013d[_0x5b7bf6(0x1fa)])===_0x143fef['row']||this[_0x5b7bf6(0x3b2)]['forEach'](_0x26b0eb=>{const _0x5113d5=_0x5b7bf6;_0x26b0eb[_0x5113d5(0x31a)](_0x143fef);});},0x64));})),this[_0x434c16(0x183)]((0x0,_0x4615d2[_0x434c16(0x293)])(()=>{const _0x975ae5=_0x434c16;var _0x5175d6;(_0x5175d6=this[_0x975ae5(0x192)])==null||_0x5175d6[_0x975ae5(0x95)](),this[_0x975ae5(0x192)]=null;}));}['_updateCollabCursors'](_0x1aa4c6,_0x2b8fb3){const _0x1b3f60=_0x59cd08;let _0xfd6c5b=this['_sheetSkeletonManagerService'][_0x1b3f60(0x1a3)]();if(!_0xfd6c5b)return;let _0x387543=this[_0x1b3f60(0x2bb)]();if(!_0x387543)return;this['_cursors']['forEach'](_0x42c4bf=>{const _0xfeb1c4=_0x1b3f60;_0x42c4bf[_0xfeb1c4(0x108)]();});let {scene:_0x4bfc6c}=_0x387543,_0x139ebf=_0x592340(Array[_0x1b3f60(0x22b)](_0x2b8fb3[_0x1b3f60(0x16f)]()))[_0x1b3f60(0xaf)](_0x479ad3=>{const _0x1ab7b8=_0x1b3f60;let {color:_0x3dcc32,range:_0x117387,name:_0x2dabf0,selection:_0x55be85,sheetID:_0x426028}=_0x479ad3,{startColumn:_0x3eaa9e,startRow:_0xd96d81,endColumn:_0xf0dedf,endRow:_0x2f4e30}=_0x117387,_0x1b7972=(0x0,_0x50dd72[_0x1ab7b8(0x2a9)])(_0xd96d81,_0x3eaa9e,_0x4bfc6c,_0xfd6c5b),_0xe63675=(0x0,_0x50dd72[_0x1ab7b8(0x2a9)])(_0x2f4e30,_0xf0dedf,_0x4bfc6c,_0xfd6c5b),{columnHeaderHeightAndMarginTop:_0x324dd3}=_0xfd6c5b,{startX:_0x12bc65,startY:_0x32e9e5}=_0x1b7972,{endX:_0x5b0b35,endY:_0x58188a}=_0xe63675,_0x26ce9b=_0x5b0b35-_0x12bc65,_0x254582=_0x58188a-_0x32e9e5;return new _0x1f1da5(_0x2dabf0,{'labelPosition':_0x32e9e5-_0x324dd3>=0x14?_0x1ab7b8(0x18c):_0x1ab7b8(0x3b4),'sheetID':_0x426028,'range':_0x117387,'color':_0x3dcc32,'name':_0x2dabf0,'selection':_0x55be85,'left':_0x12bc65,'top':_0x32e9e5,'width':_0x26ce9b,'height':_0x254582,'evented':!0x1,'zIndex':0x1389});});_0x4bfc6c[_0x1b3f60(0x1e2)](_0x139ebf,0x1),this[_0x1b3f60(0x3b2)]=new Set(_0x139ebf);}[_0x59cd08(0x174)](){const _0x4b0ce2=_0x59cd08;var _0x5d3736;(_0x5d3736=this[_0x4b0ce2(0x3b2)])==null||_0x5d3736[_0x4b0ce2(0x23d)](_0x1ec6a7=>_0x1ec6a7[_0x4b0ce2(0x223)]());}[_0x59cd08(0x2bb)](){const _0x2cd885=_0x59cd08;return(0x0,_0x50dd72[_0x2cd885(0x35e)])(this[_0x2cd885(0x35c)]['unit'],this[_0x2cd885(0x35c)]);}};_0x1e335b=_0x260d11([_0x2eb870(0x1,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x50dd72[_0x59cd08(0x23f)])),_0x2eb870(0x2,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x4da5d5)),_0x2eb870(0x3,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x4615d2['ThemeService']))],_0x1e335b);function _0x592340(_0x7a9d44){const _0xb97f7b=_0x59cd08;let _0x23b0a7=new Map();return _0x7a9d44['forEach'](_0x5bef48=>{const _0x383782=_0x41f0;if(_0x23b0a7[_0x383782(0x3b1)](_0x5bef48[_0x383782(0x237)])){let _0x154c1b=_0x23b0a7[_0x383782(0x99)](_0x5bef48['selection']);_0x154c1b[_0x383782(0x2af)]+=',\x20'+_0x5bef48[_0x383782(0x2af)];}else _0x23b0a7['set'](_0x5bef48[_0x383782(0x237)],_0x5bef48);}),Array[_0xb97f7b(0x22b)](_0x23b0a7[_0xb97f7b(0x16f)]());}let _0xa278=class extends _0x4615d2[_0x59cd08(0x13f)]{constructor(_0x5396e4,_0x56fe66,_0x1dfef5){const _0x16dde1=_0x59cd08;super(),this[_0x16dde1(0x35c)]=_0x5396e4,this[_0x16dde1(0x339)]=_0x56fe66,this[_0x16dde1(0x75)]=_0x1dfef5,_0x4dee6d(this,_0x16dde1(0x3b2),new Set()),_0x4dee6d(this,_0x16dde1(0x337),!0x1),_0x4dee6d(this,_0x16dde1(0x17c),!0x1),_0x4dee6d(this,_0x16dde1(0x177),new Map()),this[_0x16dde1(0x208)]();}[_0x59cd08(0x223)](){const _0x39cdb7=_0x59cd08;this['_removeCollabCursors'](),super[_0x39cdb7(0x223)]();}['_init'](){const _0x43c343=_0x59cd08;let _0x50039b=this['_context']['unit'][_0x43c343(0x384)][_0x43c343(0x19c)],_0x5b9c89=this[_0x43c343(0x339)][_0x43c343(0x30a)](this[_0x43c343(0x35c)][_0x43c343(0x2d7)]);this[_0x43c343(0x183)]((0x0,_0x4615d2[_0x43c343(0x293)])((0x0,_0x5b7526['combineLatest'])([_0x5b9c89,_0x50039b,this[_0x43c343(0x75)][_0x43c343(0x3d3)]])[_0x43c343(0x1a1)]((0x0,_0x5b7526[_0x43c343(0xb4)])(this['dispose$']))['subscribe'](([_0x4cfbed,_0x483765])=>{const _0x2dcdb2=_0x43c343;let _0xb481e7=new Map();_0x4cfbed[_0x2dcdb2(0x23d)]((_0x53a3a0,_0x186ce3)=>{const _0x9a7b79=_0x2dcdb2;_0x53a3a0['subUnitId']===_0x483765&&_0xb481e7[_0x9a7b79(0x382)](_0x186ce3,{..._0x53a3a0,'color':this[_0x9a7b79(0x75)][_0x9a7b79(0xf3)](_0x53a3a0[_0x9a7b79(0xf7)])});}),this['_latestCursors']=_0xb481e7,this['_scheduleRender']();})));let _0x3af0d5=this[_0x43c343(0x35c)]['scene'];this[_0x43c343(0x183)]((0x0,_0x4615d2[_0x43c343(0x293)])(_0x3af0d5[_0x43c343(0x2d1)][_0x43c343(0x1a1)]((0x0,_0x5b7526[_0x43c343(0xb4)])(this[_0x43c343(0xce)]))[_0x43c343(0x248)](()=>{const _0x11c2ea=_0x43c343;this['_isApplyingOverlays']||this[_0x11c2ea(0x147)]();})));}[_0x59cd08(0x147)](){const _0x1c7f3a=_0x59cd08;this[_0x1c7f3a(0x337)]||(this['_renderScheduled']=!0x0,Promise[_0x1c7f3a(0x37e)]()['then'](()=>{const _0x35d54e=_0x1c7f3a;this[_0x35d54e(0x337)]=!0x1,this[_0x35d54e(0x357)]();}));}[_0x59cd08(0x357)](){const _0x14ddc3=_0x59cd08;var _0x448a8f;this['_removeCollabCursors']();let _0x288561=(_0x448a8f=this['_context'][_0x14ddc3(0x390)]['pageManager'][_0x14ddc3(0x140)]())==null?void 0x0:_0x448a8f[_0x14ddc3(0x33c)]();if(!_0x288561)return;let _0x56fc5a=[];if(this[_0x14ddc3(0x177)][_0x14ddc3(0x23d)]((_0x463800,_0x14da3a)=>{const _0x55dcf6=_0x14ddc3;_0x463800[_0x55dcf6(0x32f)]===_0x288561&&_0x463800[_0x55dcf6(0x3a5)][_0x55dcf6(0x23d)](_0x42d2f8=>{const _0x47d27c=_0x55dcf6;let _0x42e671=(0x0,_0x5df1cb['buildDrawingOKey'])(_0x463800[_0x47d27c(0x2d7)],_0x463800[_0x47d27c(0x32f)],_0x42d2f8),_0xa23820=this['_getSceneObjectByKey'](_0x42e671);if(!_0xa23820)return;let _0x55374f=this[_0x47d27c(0x7c)](_0xa23820);_0x56fc5a[_0x47d27c(0x3c3)](new _0x13a0d4(_0x47d27c(0x2d6)+_0x14da3a+'-'+_0x42d2f8,{..._0x463800,'left':_0x55374f[_0x47d27c(0x26c)],'top':_0x55374f[_0x47d27c(0x18c)],'width':_0x55374f[_0x47d27c(0x229)],'height':_0x55374f['height'],'angle':_0xa23820[_0x47d27c(0xda)],'evented':!0x1,'zIndex':_0x26a424}));});}),_0x56fc5a['length']===0x0){this[_0x14ddc3(0x35c)]['scene'][_0x14ddc3(0x108)](!0x0);return;}this[_0x14ddc3(0x17c)]=!0x0,this['_context'][_0x14ddc3(0x354)][_0x14ddc3(0x1e2)](_0x56fc5a,_0x26a424),this['_isApplyingOverlays']=!0x1,this[_0x14ddc3(0x3b2)]=new Set(_0x56fc5a),this[_0x14ddc3(0x35c)][_0x14ddc3(0x354)][_0x14ddc3(0x108)](!0x0);}[_0x59cd08(0x174)](){const _0x2b1418=_0x59cd08;let _0x2ff71f=Array[_0x2b1418(0x22b)](this['_cursors']);if(_0x2ff71f['length']===0x0)return;let _0x388093=this[_0x2b1418(0x35c)][_0x2b1418(0x354)];'removeObjects'in _0x388093&&typeof _0x388093[_0x2b1418(0x39b)]=='function'?_0x388093[_0x2b1418(0x39b)](_0x2ff71f):_0x2ff71f[_0x2b1418(0x23d)](_0x4135d8=>{const _0x5cdeda=_0x2b1418;_0x5cdeda(0x3b7)in _0x388093&&typeof _0x388093[_0x5cdeda(0x3b7)]==_0x5cdeda(0x16e)?_0x388093[_0x5cdeda(0x3b7)](_0x4135d8):_0x4135d8[_0x5cdeda(0x223)]();}),this[_0x2b1418(0x3b2)][_0x2b1418(0xa3)](),_0x388093[_0x2b1418(0x108)](!0x0);}[_0x59cd08(0x24b)](_0x5f32a0){const _0x5cb292=_0x59cd08;var _0x27b96c,_0xf94f18,_0xf6c117;let _0x5898a7=this[_0x5cb292(0x35c)][_0x5cb292(0x354)];return(_0x27b96c=(_0xf94f18=(_0xf6c117=_0x5898a7[_0x5cb292(0x1c7)])==null?void 0x0:_0xf6c117[_0x5cb292(0x2da)](_0x5898a7,_0x5f32a0))==null?_0x5898a7[_0x5cb292(0x1d3)](_0x5f32a0):_0xf94f18)==null?null:_0x27b96c;}[_0x59cd08(0x7c)](_0x1c7fd4){const _0x10d412=_0x59cd08;var _0x40febd,_0x32e713;let _0x1a66a8=_0x1c7fd4;return(_0x40febd=(_0x32e713=_0x1a66a8[_0x10d412(0x397)])==null?void 0x0:_0x32e713[_0x10d412(0x2da)](_0x1a66a8))==null?{'left':_0x1c7fd4[_0x10d412(0x26c)],'top':_0x1c7fd4[_0x10d412(0x18c)],'width':_0x1c7fd4['width'],'height':_0x1c7fd4[_0x10d412(0x153)]}:_0x40febd;}};_0xa278=_0x260d11([_0x2eb870(0x1,(0x0,_0x4615d2['Inject'])(_0x4da5d5)),_0x2eb870(0x2,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x4615d2[_0x59cd08(0x1cd)]))],_0xa278);let _0x38c34b=class extends _0x4615d2['Disposable']{constructor(_0x166938,_0x2b2759,_0xb37a4,_0x3eb2c9,_0x2d5967,_0x5ecaca){const _0xa40b1e=_0x59cd08;super(),this[_0xa40b1e(0x364)]=_0x166938,this[_0xa40b1e(0x116)]=_0x2b2759,this['_collaborationUIEventService']=_0xb37a4,this['_messageService']=_0x3eb2c9,this[_0xa40b1e(0x209)]=_0x2d5967,this['_localeService']=_0x5ecaca,this[_0xa40b1e(0x176)](),this[_0xa40b1e(0x379)]();}[_0x59cd08(0x176)](){const _0x27ce80=_0x59cd08;this[_0x27ce80(0x183)](this[_0x27ce80(0x364)][_0x27ce80(0x11a)](()=>{const _0x4e8c91=_0x27ce80;if(this[_0x4e8c91(0x116)][_0x4e8c91(0x257)][_0x4e8c91(0x9d)])return this[_0x4e8c91(0x180)]['t'](_0x4e8c91(0xd0));}));}['_initEvent'](){const _0x5aaab1=_0x59cd08;this['disposeWithMe'](this[_0x5aaab1(0xa5)][_0x5aaab1(0x77)][_0x5aaab1(0x248)](_0x4ee8fd=>{const _0x3ec7db=_0x5aaab1;_0x4ee8fd['id']===_0x4aca0a[_0x3ec7db(0x2f3)][_0x3ec7db(0x353)]&&this['_messageService'][_0x3ec7db(0x20d)]({'type':_0x20f977[_0x3ec7db(0x3ad)][_0x3ec7db(0x375)],'content':this[_0x3ec7db(0x180)]['t']('collaboration-client-ui.collaboration.single-unit.warning')}),_0x4ee8fd['id']===_0x4aca0a[_0x3ec7db(0x2f3)][_0x3ec7db(0x2bc)]&&this[_0x3ec7db(0x21e)]['show']({'type':_0x20f977['MessageType']['Warning'],'content':this['_localeService']['t'](_0x3ec7db(0x3aa))}),_0x4ee8fd['id']===_0x4aca0a[_0x3ec7db(0x2f3)][_0x3ec7db(0x372)]&&this[_0x3ec7db(0x209)][_0x3ec7db(0x20d)]({'title':this['_localeService']['t'](_0x3ec7db(0xac)),'content':this[_0x3ec7db(0x180)]['t'](_0x3ec7db(0x2b9)),'type':_0x3ec7db(0x363),'duration':0x0}),_0x4ee8fd['id']===_0x4aca0a['CollaborationUIEventId'][_0x3ec7db(0x1d0)]&&this[_0x3ec7db(0x209)][_0x3ec7db(0x20d)]({'title':this[_0x3ec7db(0x180)]['t'](_0x3ec7db(0x341)),'content':this['_localeService']['t'](_0x3ec7db(0x14f)),'type':_0x3ec7db(0x363),'duration':0x0}),_0x4ee8fd['id']===_0x4aca0a[_0x3ec7db(0x2f3)][_0x3ec7db(0x139)]&&this[_0x3ec7db(0x21e)][_0x3ec7db(0x20d)]({'type':_0x20f977[_0x3ec7db(0x3ad)][_0x3ec7db(0x375)],'content':this['_localeService']['t'](_0x4ee8fd[_0x3ec7db(0x186)]||'')}),_0x4ee8fd['id']===_0x4aca0a[_0x3ec7db(0x2f3)]['SOCKET_FAILED_RETRY']&&this[_0x3ec7db(0x21e)][_0x3ec7db(0x20d)]({'type':_0x20f977[_0x3ec7db(0x3ad)]['Warning'],'content':this[_0x3ec7db(0x180)]['t'](_0x3ec7db(0x124))}),_0x4ee8fd['id']===_0x4aca0a[_0x3ec7db(0x2f3)][_0x3ec7db(0x2fa)]&&this['_messageService']['show']({'type':_0x20f977[_0x3ec7db(0x3ad)]['Error'],'content':this['_localeService']['t']('collaboration-client-ui.session.connection-failed')}),_0x4ee8fd['id']===_0x4aca0a[_0x3ec7db(0x2f3)][_0x3ec7db(0x126)]&&this[_0x3ec7db(0x21e)][_0x3ec7db(0x20d)]({'type':_0x20f977['MessageType'][_0x3ec7db(0x26d)],'content':this[_0x3ec7db(0x180)]['t'](_0x3ec7db(0x212))});}));}};_0x38c34b=_0x260d11([_0x2eb870(0x0,_0x4c3c34[_0x59cd08(0x261)]),_0x2eb870(0x1,_0x4aca0a['ILocalCacheService']),_0x2eb870(0x2,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x4aca0a['CollaborationUIEventService'])),_0x2eb870(0x3,_0x4c3c34[_0x59cd08(0x325)]),_0x2eb870(0x4,_0x4c3c34[_0x59cd08(0xe9)]),_0x2eb870(0x5,(0x0,_0x4615d2['Inject'])(_0x4615d2[_0x59cd08(0x205)]))],_0x38c34b);let _0x56e2a2=(0x0,_0x4615d2['createIdentifier'])(_0x59cd08(0x89)),_0x34434d=class extends _0x4615d2['RxDisposable']{constructor(_0x1580a1,_0x1a1f2b,_0x381803,_0x4edef4,_0x328bc7){const _0x30ecec=_0x59cd08;super(),this[_0x30ecec(0x26a)]=_0x1580a1,this[_0x30ecec(0x185)]=_0x1a1f2b,this[_0x30ecec(0x202)]=_0x381803,this[_0x30ecec(0x1fd)]=_0x4edef4,_0x328bc7?_0x328bc7[_0x30ecec(0x2ab)]()['then'](()=>this[_0x30ecec(0x208)]()):(this[_0x30ecec(0x185)]['debug'](_0x30ecec(0x376),_0x30ecec(0x2ed)),this['_init']());}async[_0x59cd08(0x208)](){const _0x4f6fd6=_0x59cd08;let _0x43d2e2=this[_0x4f6fd6(0x26a)][_0x4f6fd6(0x20a)](_0x4f6fd6(0x390)),_0x1691b5=this[_0x4f6fd6(0x26a)][_0x4f6fd6(0x20a)](_0x4f6fd6(0x255)),_0x4c8d28=this['_urlService'][_0x4f6fd6(0x20a)](_0x4f6fd6(0x27c));if(!_0x43d2e2||!_0x1691b5){this[_0x4f6fd6(0x185)][_0x4f6fd6(0x250)](_0x4f6fd6(0x376),_0x4f6fd6(0xfb));return;}let _0xcbd97a=await this[_0x4f6fd6(0x1fd)][_0x4f6fd6(0x1c3)](_0x43d2e2,Number(_0x1691b5),_0x4c8d28);_0xcbd97a&&_0xcbd97a instanceof _0x4615d2[_0x4f6fd6(0x334)]&&this[_0x4f6fd6(0x35b)](_0xcbd97a);}async['_setupSubUnitSync'](_0x348102){const _0x28dc5f=_0x59cd08;await this['_updateSubUnitFromURLParams'](_0x348102),_0x348102[_0x28dc5f(0x131)][_0x28dc5f(0x1a1)]((0x0,_0x5b7526['takeUntil'])(this[_0x28dc5f(0xce)]))['subscribe'](_0x23bb37=>{_0x23bb37&&this['_updateURLWithCurrentState'](_0x23bb37);}),this[_0x28dc5f(0x26a)]['urlChange$']['pipe']((0x0,_0x5b7526['takeUntil'])(this[_0x28dc5f(0xce)]))[_0x28dc5f(0x248)](()=>this[_0x28dc5f(0xff)](_0x348102));}[_0x59cd08(0x1e6)](_0x2aabe1,_0x337b56=!0x1){const _0x5851dc=_0x59cd08;let _0x4b298c=this[_0x5851dc(0x26a)][_0x5851dc(0x20a)]('subunit');_0x2aabe1['getSheetId']()!==_0x4b298c&&this['_urlService']['setParam'](_0x5851dc(0x27c),_0x2aabe1[_0x5851dc(0x393)](),_0x337b56);}async['_updateSubUnitFromURLParams'](_0x537303){const _0x377f04=_0x59cd08;var _0xc0e2b5;let _0x5a2eed=this[_0x377f04(0x26a)][_0x377f04(0x20a)](_0x377f04(0x27c));if(!_0x5a2eed||!_0x537303[_0x377f04(0x1de)](_0x5a2eed)){let _0x2f9fa7=_0x537303[_0x377f04(0x2f9)]()[0x0],_0x32437d=_0x537303['getSheetBySheetId'](_0x2f9fa7);if(!_0x32437d)return;this['_updateURLWithCurrentState'](_0x32437d,!0x0),await this[_0x377f04(0x202)][_0x377f04(0x391)](_0x5ac505['SetWorksheetActivateCommand']['id'],{'unitId':_0x537303[_0x377f04(0x165)](),'subUnitId':_0x2f9fa7});return;}((_0xc0e2b5=_0x537303[_0x377f04(0x2d0)]())==null?void 0x0:_0xc0e2b5[_0x377f04(0x393)]())!==_0x5a2eed&&await this[_0x377f04(0x202)]['executeCommand'](_0x5ac505[_0x377f04(0xd5)]['id'],{'unitId':_0x537303[_0x377f04(0x165)](),'subUnitId':_0x5a2eed});}};_0x34434d=_0x260d11([_0x2eb870(0x0,_0x56e2a2),_0x2eb870(0x1,_0x4615d2[_0x59cd08(0x292)]),_0x2eb870(0x2,_0x4615d2[_0x59cd08(0x15e)]),_0x2eb870(0x3,(0x0,_0x4615d2['Inject'])(_0x4aca0a['DataLoaderService'])),_0x2eb870(0x4,(0x0,_0x4615d2[_0x59cd08(0x2fc)])(_0x1eb128[_0x59cd08(0xbf)]))],_0x34434d);let _0x2dcbbe=class{constructor(_0xd191f1,_0x414bd3){const _0x3f5178=_0x59cd08;this[_0x3f5178(0x366)]=_0xd191f1,this[_0x3f5178(0x10c)]=_0x414bd3;}['transformIMECache'](_0xba56ef){const _0x61dcc2=_0x59cd08;this[_0x61dcc2(0x163)](_0xba56ef),this['_transformPreviousActiveRange'](_0xba56ef);}[_0x59cd08(0x1b4)](_0x30f0e9){const _0x5b7c33=_0x59cd08;let {unitID:_0x1842be}=_0x30f0e9,{redoCache:_0x2120e2}=this['_renderManagerService']['getRenderById'](_0x1842be)[_0x5b7c33(0x2b6)](_0x3bfdba[_0x5b7c33(0x30e)])[_0x5b7c33(0x19b)]();if(_0x2120e2[_0x5b7c33(0x3bc)]===0x0)return _0x30f0e9;let _0x2a0614=_0x4615d2[_0x5b7c33(0x21b)][_0x5b7c33(0x355)](_0x30f0e9[_0x5b7c33(0x2c6)][0x0]);for(let _0x316f7f=0x0;_0x316f7f<_0x2120e2[_0x5b7c33(0x3bc)];_0x316f7f++){let _0x4e51a1={'id':_0x5b7c33(0x307),'params':{..._0x2120e2[_0x316f7f]}},_0x3e2a6f=this['_transformService'][_0x5b7c33(0x11d)](_0x2a0614,_0x4e51a1,!0x1);if((0x0,_0x1208f3[_0x5b7c33(0x21a)])(_0x3e2a6f))throw _0x3e2a6f[_0x5b7c33(0x363)];_0x2a0614=_0x3e2a6f[_0x5b7c33(0xc1)];}return{..._0x4615d2[_0x5b7c33(0x21b)][_0x5b7c33(0x355)](_0x30f0e9),'mutations':[_0x2a0614]};}[_0x59cd08(0x163)](_0x18d418){const _0x2f9fea=_0x59cd08;let {unitID:_0x3ceff9}=_0x18d418,_0x1c8d0f=this['_renderManagerService']['getRenderById'](_0x3ceff9)['with'](_0x3bfdba[_0x2f9fea(0x30e)]),{undoCache:_0x1ec947,redoCache:_0x23f278}=_0x1c8d0f[_0x2f9fea(0x19b)]();if(_0x1ec947[_0x2f9fea(0x3bc)]===0x0||_0x23f278[_0x2f9fea(0x3bc)]===0x0)return;let _0x2b2e24=[],_0x1e2ca1=[],_0x182624=_0x4615d2[_0x2f9fea(0x21b)][_0x2f9fea(0x355)](_0x18d418[_0x2f9fea(0x2c6)][0x0]),_0x1a4475=_0x4615d2[_0x2f9fea(0x21b)][_0x2f9fea(0x355)](_0x18d418['mutations'][0x0]);for(let _0x400b44=_0x1ec947['length']-0x1;_0x400b44>=0x0;_0x400b44--){let _0x17a4b1={'id':'doc.mutation.rich-text-editing','params':{..._0x1ec947[_0x400b44]}},_0x5bd737={'id':_0x2f9fea(0x307),'params':{..._0x23f278[_0x400b44]}},_0x504d36=this['_transformService']['transformMutation'](_0x182624,_0x17a4b1,!0x1),_0x46f3df=this[_0x2f9fea(0x366)][_0x2f9fea(0x11d)](_0x1a4475,_0x5bd737,!0x1);if((0x0,_0x1208f3['isTransformMutationFailure'])(_0x504d36))throw _0x504d36[_0x2f9fea(0x363)];if((0x0,_0x1208f3[_0x2f9fea(0x21a)])(_0x46f3df))throw _0x46f3df[_0x2f9fea(0x363)];_0x2b2e24['unshift'](_0x504d36[_0x2f9fea(0x11e)][_0x2f9fea(0x1f7)]),_0x1e2ca1[_0x2f9fea(0x110)](_0x46f3df[_0x2f9fea(0x11e)]['params']),_0x182624=_0x504d36[_0x2f9fea(0xc1)],_0x1a4475=_0x46f3df[_0x2f9fea(0xc1)];}_0x1c8d0f[_0x2f9fea(0x9b)]({'undoCache':_0x2b2e24,'redoCache':_0x1e2ca1});}[_0x59cd08(0x120)](_0x852986){const _0xb44505=_0x59cd08;let {unitID:_0x33bc80}=_0x852986,_0x3e7f9a=this[_0xb44505(0x10c)][_0xb44505(0x74)](_0x33bc80)['with'](_0x3bfdba[_0xb44505(0x30e)]),_0x15985a=_0x3e7f9a[_0xb44505(0x37c)]();if(_0x15985a==null)return;let _0x519087=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x852986[_0xb44505(0x2b7)],'actions':null,'textRanges':[_0x15985a]}}],_0x4c84fc=this[_0xb44505(0x366)][_0xb44505(0x15d)](_0x852986,_0x519087);if(!(0x0,_0x1208f3['isTransformMutationsWithChangesetSuccess'])(_0x4c84fc))throw _0x4c84fc[_0xb44505(0x363)];let _0x7268c3=_0x4c84fc[_0xb44505(0x11e)][0x0][_0xb44505(0x1f7)][_0xb44505(0x1eb)];Array[_0xb44505(0x1d5)](_0x7268c3)&&_0x7268c3[_0xb44505(0x3bc)]&&_0x3e7f9a[_0xb44505(0x221)](_0x7268c3[0x0]);}};_0x2dcbbe=_0x260d11([_0x2eb870(0x0,_0x1208f3[_0x59cd08(0x1b2)]),_0x2eb870(0x1,_0x1891a4[_0x59cd08(0x1da)])],_0x2dcbbe);let _0x4b641b=class{constructor(_0x149c25,_0xfcf297,_0x1ba7a3){const _0x46792a=_0x59cd08;this[_0x46792a(0x33b)]=_0x149c25,this['_transformService']=_0xfcf297,this[_0x46792a(0x29e)]=_0x1ba7a3;}['transformStateCache'](_0x19e0ea){const _0x3143f7=_0x59cd08;this[_0x3143f7(0xf5)](_0x19e0ea);}[_0x59cd08(0x1b4)](_0x2e1925){const _0x1731ee=_0x59cd08;let {unitID:_0xfb2d43}=_0x2e1925,{collaboration:_0x2bfd20}=this[_0x1731ee(0x29e)][_0x1731ee(0x346)](_0xfb2d43);if(_0x2bfd20[_0x1731ee(0x3bc)]===0x0)return _0x2e1925;let _0x124e83=_0x4615d2[_0x1731ee(0x21b)][_0x1731ee(0x355)](_0x2e1925['mutations'][0x0]);for(let _0x576cfc=0x0;_0x576cfc<_0x2bfd20[_0x1731ee(0x3bc)];_0x576cfc++){let _0x229ced={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2bfd20[_0x576cfc][_0x1731ee(0x2d7)],..._0x2bfd20[_0x576cfc]['redoState']}},_0x42f956=this['_transformService']['transformMutation'](_0x124e83,_0x229ced,!0x1);if((0x0,_0x1208f3[_0x1731ee(0x21a)])(_0x42f956))throw _0x42f956['error'];_0x124e83=_0x42f956[_0x1731ee(0xc1)];}return{..._0x4615d2['Tools'][_0x1731ee(0x355)](_0x2e1925),'mutations':[_0x124e83]};}['_transformHistoryAndStateStack'](_0x48c0b9){const _0x3f9dd4=_0x59cd08;let {unitID:_0x488aa2}=_0x48c0b9,{history:_0x3a76a4,collaboration:_0x43219e}=this['_docStateChangeManagerService'][_0x3f9dd4(0x346)](_0x488aa2);if(_0x3a76a4['length']===0x0&&_0x43219e[_0x3f9dd4(0x3bc)]===0x0)return;let _0x422ba9=[],_0x8e0a1d=[],_0x44873c=_0x4615d2[_0x3f9dd4(0x21b)]['deepClone'](_0x48c0b9['mutations'][0x0]),_0x5e7e67=_0x4615d2[_0x3f9dd4(0x21b)][_0x3f9dd4(0x355)](_0x48c0b9[_0x3f9dd4(0x2c6)][0x0]);for(let _0x5e462f=_0x3a76a4['length']-0x1;_0x5e462f>=0x0;_0x5e462f--){let _0x181240={'id':_0x3f9dd4(0x307),'params':{'unitId':_0x3a76a4[_0x5e462f][_0x3f9dd4(0x2d7)],..._0x3a76a4[_0x5e462f][_0x3f9dd4(0x324)]}},_0x8fc450={'id':_0x3f9dd4(0x307),'params':{'unitId':_0x3a76a4[_0x5e462f][_0x3f9dd4(0x2d7)],..._0x3a76a4[_0x5e462f]['redoState']}},_0x230523=this[_0x3f9dd4(0x366)]['transformMutation'](_0x44873c,_0x181240,!0x1),_0xaa2d50=this['_transformService'][_0x3f9dd4(0x11d)](_0x5e7e67,_0x8fc450,!0x1);if((0x0,_0x1208f3['isTransformMutationFailure'])(_0x230523))throw _0x230523[_0x3f9dd4(0x363)];if((0x0,_0x1208f3[_0x3f9dd4(0x21a)])(_0xaa2d50))throw _0xaa2d50[_0x3f9dd4(0x363)];_0x422ba9['unshift']({..._0x3a76a4[_0x5e462f],'undoState':_0x230523[_0x3f9dd4(0x11e)]['params'],'redoState':_0xaa2d50[_0x3f9dd4(0x11e)][_0x3f9dd4(0x1f7)]}),_0x44873c=_0x230523[_0x3f9dd4(0xc1)],_0x5e7e67=_0xaa2d50['m1Prime'];}_0x44873c=_0x4615d2['Tools'][_0x3f9dd4(0x355)](_0x48c0b9[_0x3f9dd4(0x2c6)][0x0]),_0x5e7e67=_0x4615d2[_0x3f9dd4(0x21b)][_0x3f9dd4(0x355)](_0x48c0b9[_0x3f9dd4(0x2c6)][0x0]);for(let _0x22e4cf=_0x43219e[_0x3f9dd4(0x3bc)]-0x1;_0x22e4cf>=0x0;_0x22e4cf--){let _0x312a15={'id':_0x3f9dd4(0x307),'params':{'unitId':_0x43219e[_0x22e4cf][_0x3f9dd4(0x2d7)],..._0x43219e[_0x22e4cf][_0x3f9dd4(0x324)]}},_0x7c8817={'id':_0x3f9dd4(0x307),'params':{'unitId':_0x43219e[_0x22e4cf][_0x3f9dd4(0x2d7)],..._0x43219e[_0x22e4cf][_0x3f9dd4(0x288)]}},_0x39ce0c=this[_0x3f9dd4(0x366)][_0x3f9dd4(0x11d)](_0x44873c,_0x312a15,!0x1),_0x2fcfff=this[_0x3f9dd4(0x366)][_0x3f9dd4(0x11d)](_0x5e7e67,_0x7c8817,!0x1);if((0x0,_0x1208f3[_0x3f9dd4(0x21a)])(_0x39ce0c))throw _0x39ce0c[_0x3f9dd4(0x363)];if((0x0,_0x1208f3[_0x3f9dd4(0x21a)])(_0x2fcfff))throw _0x2fcfff[_0x3f9dd4(0x363)];_0x8e0a1d[_0x3f9dd4(0x110)]({..._0x43219e[_0x22e4cf],'undoState':_0x39ce0c[_0x3f9dd4(0x11e)][_0x3f9dd4(0x1f7)],'redoState':_0x2fcfff['m2Prime'][_0x3f9dd4(0x1f7)]}),_0x44873c=_0x39ce0c[_0x3f9dd4(0xc1)],_0x5e7e67=_0x2fcfff['m1Prime'];}this[_0x3f9dd4(0x29e)][_0x3f9dd4(0x8a)](_0x488aa2,{'history':_0x422ba9,'collaboration':_0x8e0a1d});}};_0x4b641b=_0x260d11([_0x2eb870(0x0,(0x0,_0x4615d2['Inject'])(_0x4615d2[_0x59cd08(0x13d)])),_0x2eb870(0x1,_0x1208f3[_0x59cd08(0x1b2)]),_0x2eb870(0x2,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x7aa288[_0x59cd08(0x38b)]))],_0x4b641b);let _0x2a881f=class{constructor(_0x1e839c,_0x5c2837){const _0x49836b=_0x59cd08;this['_injector']=_0x1e839c,this[_0x49836b(0x366)]=_0x5c2837;}[_0x59cd08(0x1a2)](_0x6b5d69){const _0x5040f0=_0x59cd08;var _0xb138ef;let _0x27e423=this['_injector']['get'](_0x7aa288[_0x5040f0(0x118)]),_0x94a51a=(_0xb138ef=_0x27e423[_0x5040f0(0x1c5)]())==null?[]:_0xb138ef;if(_0x94a51a[_0x5040f0(0x3bc)]===0x0)return;let _0x1e3f77=_0x6b5d69[_0x5040f0(0x2b7)],_0x32f0d1=[{'id':_0x5040f0(0x307),'params':{'unitId':_0x1e3f77,'actions':null,'textRanges':_0x94a51a}}],_0x576343=this[_0x5040f0(0x366)]['transformMutationsWithChangeset'](_0x6b5d69,_0x32f0d1);if(!(0x0,_0x1208f3[_0x5040f0(0x170)])(_0x576343))throw _0x576343['error'];let _0xd6827c=_0x576343[_0x5040f0(0x11e)][0x0][_0x5040f0(0x1f7)][_0x5040f0(0x1eb)];Array['isArray'](_0xd6827c)&&_0xd6827c[_0x5040f0(0x3bc)]&&_0x27e423[_0x5040f0(0xb8)](_0xd6827c,{'unitId':_0x1e3f77,'subUnitId':_0x1e3f77},!0x1);}};_0x2a881f=_0x260d11([_0x2eb870(0x0,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x4615d2['Injector'])),_0x2eb870(0x1,_0x1208f3[_0x59cd08(0x1b2)])],_0x2a881f);let _0x5629d9=class extends _0x4615d2[_0x59cd08(0x326)]{constructor(_0x263c46,_0x2d63f4,_0x19f283,_0x91a915,_0xb9c00,_0x56abd4,_0x5a68e7){const _0x2996bd=_0x59cd08;super(),this['_collaborationController']=_0x263c46,this[_0x2996bd(0x27d)]=_0x2d63f4,this[_0x2996bd(0x389)]=_0x19f283,this[_0x2996bd(0x36a)]=_0x91a915,this['_docSyncEditingCollabCursorService']=_0xb9c00,this['_messageService']=_0x56abd4,this['_localeService']=_0x5a68e7,_0x4dee6d(this,_0x2996bd(0x3c6),new _0x5b7526[(_0x2996bd(0x24f))](_0x4aca0a[_0x2996bd(0x2d8)][_0x2996bd(0x276)])),this[_0x2996bd(0x2ac)]();}['_initEntityListener'](){const _0x474662=_0x59cd08;this[_0x474662(0x183)](this['_collaborationController'][_0x474662(0x270)][_0x474662(0x248)](_0x5a7b13=>{const _0x43c94c=_0x474662;_0x5a7b13 instanceof _0x4aca0a[_0x43c94c(0x12f)]&&_0x5a7b13[_0x43c94c(0x356)]({'onTransformIME':_0x3db9fe=>this[_0x43c94c(0x27d)][_0x43c94c(0x2e7)](_0x3db9fe),'onTransformState':_0x35bd3c=>this[_0x43c94c(0x389)][_0x43c94c(0x23e)](_0x35bd3c),'onTransformSelections':_0xe8cd74=>this[_0x43c94c(0x36a)][_0x43c94c(0x1a2)](_0xe8cd74),'onSyncEditingCollabCursor':_0x48a9fb=>this[_0x43c94c(0x3c7)][_0x43c94c(0x10b)](_0x48a9fb),'onTransformRemoteChangesetByIMECache':_0x3539d3=>this[_0x43c94c(0x27d)][_0x43c94c(0x1b4)](_0x3539d3),'onTransformRemoteChangesetByStateCache':_0x197eed=>this[_0x43c94c(0x389)]['transformRemoteChangeset'](_0x197eed)});}));}};_0x5629d9=_0x260d11([_0x2eb870(0x0,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x4aca0a[_0x59cd08(0x30f)])),_0x2eb870(0x1,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x2dcbbe)),_0x2eb870(0x2,(0x0,_0x4615d2['Inject'])(_0x4b641b)),_0x2eb870(0x3,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x2a881f)),_0x2eb870(0x4,(0x0,_0x4615d2['Inject'])(_0x410673)),_0x2eb870(0x5,_0x4c3c34[_0x59cd08(0x325)]),_0x2eb870(0x6,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x4615d2['LocaleService']))],_0x5629d9);let _0x224c71=class extends _0x4615d2[_0x59cd08(0x326)]{constructor(_0x47d79e,_0x435229,_0xaa9851,_0x4a849c){const _0x45e43f=_0x59cd08;super(),this['_injector']=_0x47d79e,this['_httpService']=_0x435229,this[_0x45e43f(0x185)]=_0xaa9851,this['_collaborationSessionService']=_0x4a849c,_0x4dee6d(this,_0x45e43f(0x296),void 0x0),this['_init']();}[_0x59cd08(0x208)](){const _0x1d9c75=_0x59cd08;this['_initWindowErrorListener'](),this[_0x1d9c75(0x315)](),this[_0x1d9c75(0x225)](),this[_0x1d9c75(0x11f)]();}[_0x59cd08(0x11f)](){const _0x575102=_0x59cd08;this[_0x575102(0x183)](this[_0x575102(0x81)][_0x575102(0x1f8)][_0x575102(0x248)](_0xc76a76=>{const _0x52fd21=_0x575102;this[_0x52fd21(0x296)]=_0xc76a76==null?void 0x0:_0xc76a76[_0x52fd21(0x1bc)];}));}['_initWindowErrorListener'](){const _0x290ccf=_0x59cd08;let _0x37ea34=_0x24d98b=>{const _0x5c6461=_0x41f0;var _0x224b94;this[_0x5c6461(0x122)](_0x5c6461(0x363),_0x5c6461(0x72)+_0x24d98b[_0x5c6461(0x367)]+_0x5c6461(0x27a)+_0x24d98b[_0x5c6461(0x25d)]+':'+_0x24d98b[_0x5c6461(0x1af)]+':'+_0x24d98b[_0x5c6461(0x2ee)]+'\x0a'+(((_0x224b94=_0x24d98b[_0x5c6461(0x363)])==null?void 0x0:_0x224b94[_0x5c6461(0x227)])||''));};window[_0x290ccf(0x285)]('error',_0x37ea34),this['disposeWithMe'](()=>{window['removeEventListener']('error',_0x37ea34);});}['_initUnhandledRejectionListener'](){const _0x4fc94a=_0x59cd08;let _0x2b7368=_0x33639f=>{const _0x2695d5=_0x41f0;this['_uploadLog'](_0x2695d5(0x363),_0x2695d5(0xdd)+_0x33639f['reason']);};window[_0x4fc94a(0x285)]('unhandledrejection',_0x2b7368),this[_0x4fc94a(0x183)](()=>{const _0x2ffdeb=_0x4fc94a;window[_0x2ffdeb(0x25f)](_0x2ffdeb(0x2ec),_0x2b7368);});}['_monkeyPatchLogService'](){const _0x4ee232=_0x59cd08;let _0x27e221=this[_0x4ee232(0x185)]['error'][_0x4ee232(0x2a6)](this[_0x4ee232(0x185)]);this[_0x4ee232(0x185)]['error']=(..._0x4759fa)=>{const _0x582c55=_0x4ee232;let _0x5e1ec1=_0x4759fa[_0x582c55(0xaf)](_0x3350ab=>_0x3350ab instanceof Error?_0x3350ab[_0x582c55(0x367)]+'\x0a'+_0x3350ab['stack']:String(_0x3350ab))[_0x582c55(0x2fd)]('\x20');this[_0x582c55(0x122)]('error',_0x582c55(0xd4)+_0x5e1ec1),_0x27e221(..._0x4759fa);},this[_0x4ee232(0x183)](()=>{const _0x2b7259=_0x4ee232;this[_0x2b7259(0x185)][_0x2b7259(0x363)]=_0x27e221;});}['_uploadLog'](_0x54720e,_0x104fb5){const _0x1bfc2b=_0x59cd08;try{let _0x1b5f46={'userId':this[_0x1bfc2b(0x296)],'logLabel':_0x54720e,'content':_0x104fb5};this[_0x1bfc2b(0xfc)][_0x1bfc2b(0x312)](_0x1bfc2b(0x2cd),{'body':_0x1b5f46})[_0x1bfc2b(0x125)](()=>{});}catch{}}};_0x224c71=_0x260d11([_0x2eb870(0x0,(0x0,_0x4615d2['Inject'])(_0x4615d2['Injector'])),_0x2eb870(0x1,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x12e547[_0x59cd08(0x258)])),_0x2eb870(0x2,_0x4615d2[_0x59cd08(0x292)]),_0x2eb870(0x3,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x4aca0a[_0x59cd08(0x1b1)]))],_0x224c71);function _0x328180({state$:_0x240525,interactionBlocked$:_0x2e28d1}){const _0x492063=_0x59cd08;return(0x0,_0x2bbf19[_0x492063(0x15f)])(_0x2bbf19[_0x492063(0x29f)],{'children':[(0x0,_0x4c3c34[_0x492063(0x1ff)])(_0x2e28d1,!0x1,!0x0)&&(0x0,_0x2bbf19[_0x492063(0xdb)])(_0x492063(0x268),{'data-u-comp':_0x492063(0x3a3),'aria-hidden':!0x0,'className':'univer-fixed\x20univer-inset-0\x20univer-z-[1000]\x20univer-cursor-wait'}),(0x0,_0x2bbf19['jsx'])(_0x421b58,{'state$':_0x240525})]});}function _0x421b58({state$:_0x375537}){const _0x44be31=_0x59cd08;let _0x2dead7=(0x0,_0x4c3c34[_0x44be31(0x1ff)])(_0x375537,null,!0x0);return _0x2dead7?(0x0,_0x2bbf19[_0x44be31(0x15f)])(_0x44be31(0x268),{'data-u-comp':_0x44be31(0x29b),'role':_0x44be31(0x22c),'className':_0x44be31(0xee),'children':[(0x0,_0x2bbf19[_0x44be31(0xdb)])(_0x39a594,{'className':_0x44be31(0x347)}),(0x0,_0x2bbf19['jsx'])(_0x44be31(0x338),{'children':_0x2dead7[_0x44be31(0xc0)]}),(0x0,_0x2bbf19['jsx'])(_0x20f977['Button'],{'size':_0x44be31(0x187),'variant':'primary','onClick':()=>window['location'][_0x44be31(0x13a)](),'children':_0x2dead7[_0x44be31(0x39c)]})]}):null;}let _0x126de1='snapshot-loading-',_0x165f7d=class extends _0x4615d2[_0x59cd08(0x326)]{constructor(_0x4af6ab,_0x4fee95,_0x25110e,_0x3fe71f,_0x41585b,_0x16baf5,_0x335aa5,_0x2c61ef){const _0x255ae6=_0x59cd08;super(),this[_0x255ae6(0xaa)]=_0x4af6ab,this[_0x255ae6(0x21e)]=_0x4fee95,this[_0x255ae6(0x180)]=_0x25110e,this[_0x255ae6(0x33b)]=_0x3fe71f,this[_0x255ae6(0x1cc)]=_0x41585b,this[_0x255ae6(0x373)]=_0x335aa5,this[_0x255ae6(0x26a)]=_0x2c61ef,_0x4dee6d(this,_0x255ae6(0x24c),new _0x5b7526[(_0x255ae6(0x24f))](null)),_0x4dee6d(this,_0x255ae6(0x1f6),new _0x5b7526[(_0x255ae6(0x24f))](!0x1)),_0x4dee6d(this,_0x255ae6(0x1db),new Set()),_0x4dee6d(this,_0x255ae6(0x1a4),new Map()),_0x4dee6d(this,_0x255ae6(0x182),new Set()),_0x4dee6d(this,_0x255ae6(0x2c8),new Map()),_0x4dee6d(this,_0x255ae6(0x283),void 0x0),_0x4dee6d(this,_0x255ae6(0x3b6),void 0x0),_0x4dee6d(this,_0x255ae6(0x2b5),void 0x0),_0x4dee6d(this,_0x255ae6(0x38f),this['_timeoutState$'][_0x255ae6(0x1f5)]());let _0x3a4836=()=>(0x0,_0x63271a[_0x255ae6(0x2a8)])(_0x328180,{'state$':this[_0x255ae6(0x38f)],'interactionBlocked$':this['_interactionBlocked$']});this[_0x255ae6(0x183)](_0x16baf5[_0x255ae6(0xa2)](_0x4c3c34[_0x255ae6(0x22f)][_0x255ae6(0x106)],()=>(0x0,_0x4c3c34[_0x255ae6(0xc2)])(_0x3a4836,this[_0x255ae6(0x33b)]))),this['disposeWithMe'](this[_0x255ae6(0xaa)][_0x255ae6(0x1f2)][_0x255ae6(0x248)](_0x539279=>{this['_latestStates']=_0x539279,_0x539279['forEach'](_0x29f664=>{const _0x57d91a=_0x41f0;this[_0x57d91a(0x2d9)](_0x29f664),this[_0x57d91a(0x297)](_0x29f664);});})),this[_0x255ae6(0x183)](this['_urlService'][_0x255ae6(0x2dd)]['subscribe'](()=>{const _0x195eb6=_0x255ae6;this['_latestStates'][_0x195eb6(0x23d)](_0x7abb69=>{const _0x4fa3df=_0x195eb6;this['_updateMessage'](_0x7abb69),this[_0x4fa3df(0x297)](_0x7abb69);});}));}[_0x59cd08(0x223)](){const _0xd432e9=_0x59cd08;var _0x11c64a;if(this['_messageIds'][_0xd432e9(0x23d)](_0x101536=>this[_0xd432e9(0x21e)][_0xd432e9(0x200)](_0x101536)),this[_0xd432e9(0x1db)][_0xd432e9(0xa3)](),this[_0xd432e9(0x283)]){var _0x5a3cb0;(_0x5a3cb0=this[_0xd432e9(0x2b5)])==null||_0x5a3cb0[_0xd432e9(0x1c6)](this[_0xd432e9(0x283)]);}this[_0xd432e9(0x283)]=void 0x0,this[_0xd432e9(0x1a4)]['forEach'](({timeoutId:_0x41fc25})=>clearTimeout(_0x41fc25)),this['_blockProgressWatches']['clear'](),(_0x11c64a=this[_0xd432e9(0x3b6)])==null||_0x11c64a[_0xd432e9(0x223)](),this['_shortcutBlock']=void 0x0,this[_0xd432e9(0x24c)]['complete'](),this['_interactionBlocked$'][_0xd432e9(0x398)](),super['dispose']();}[_0x59cd08(0x2d9)](_0x526db7){const _0x36cc19=_0x59cd08;let _0x302c28=''+_0x126de1+_0x526db7['unitId'];if(_0x526db7[_0x36cc19(0x3c9)]===_0x1208f3['SnapshotLoadStage'][_0x36cc19(0xcb)]){if(this[_0x36cc19(0x2d5)](_0x526db7['unitId']),this[_0x36cc19(0x232)](_0x526db7[_0x36cc19(0x2d7)])&&this['_previewUnitId']===_0x526db7[_0x36cc19(0x2d7)]){this[_0x36cc19(0x21e)][_0x36cc19(0x20d)]({'id':_0x302c28,'type':_0x20f977[_0x36cc19(0x3ad)][_0x36cc19(0x342)],'duration':0x1/0x0,'content':this[_0x36cc19(0x180)]['t'](_0x36cc19(0x247))}),this[_0x36cc19(0x1db)]['add'](_0x302c28);return;}this[_0x36cc19(0xb5)](_0x526db7[_0x36cc19(0x2d7)]),this['_messageService']['remove'](_0x302c28),this[_0x36cc19(0x1db)][_0x36cc19(0x28b)](_0x302c28);return;}if(!this[_0x36cc19(0x232)](_0x526db7[_0x36cc19(0x2d7)])){this[_0x36cc19(0x2d5)](_0x526db7[_0x36cc19(0x2d7)]),this[_0x36cc19(0xb5)](_0x526db7[_0x36cc19(0x2d7)]),this[_0x36cc19(0x21e)][_0x36cc19(0x200)](_0x302c28),this[_0x36cc19(0x1db)][_0x36cc19(0x28b)](_0x302c28);return;}if(_0x526db7[_0x36cc19(0x3c9)]===_0x1208f3[_0x36cc19(0x1cb)]['ERROR']){this[_0x36cc19(0x2d5)](_0x526db7['unitId']),this['_clearTimeoutState'](_0x526db7[_0x36cc19(0x2d7)]),this['_messageService'][_0x36cc19(0x20d)]({'id':_0x302c28,'type':_0x20f977[_0x36cc19(0x3ad)][_0x36cc19(0x26d)],'content':this[_0x36cc19(0x180)]['t'](_0x36cc19(0x1c9))}),this['_messageIds']['delete'](_0x302c28);return;}if(_0x526db7['stage']!==_0x1208f3['SnapshotLoadStage']['LOADING_BLOCKS']||_0x526db7['totalBlocks']<=0xa){this[_0x36cc19(0x2d5)](_0x526db7[_0x36cc19(0x2d7)]),this[_0x36cc19(0x21e)][_0x36cc19(0x200)](_0x302c28),this[_0x36cc19(0x1db)]['delete'](_0x302c28);return;}this[_0x36cc19(0x264)](_0x526db7)||(this[_0x36cc19(0x21e)][_0x36cc19(0x20d)]({'id':_0x302c28,'type':_0x20f977[_0x36cc19(0x3ad)][_0x36cc19(0x342)],'duration':0x1/0x0,'content':this['_localeService']['t'](_0x36cc19(0x119))+'\x20'+_0x526db7[_0x36cc19(0x2d3)]+'/'+_0x526db7['totalBlocks']}),this['_messageIds']['add'](_0x302c28));}[_0x59cd08(0x264)](_0x443e9d){const _0x36c137=_0x59cd08;let _0x5b8e98=this['_blockProgressWatches'][_0x36c137(0x99)](_0x443e9d[_0x36c137(0x2d7)]);if((_0x5b8e98==null?void 0x0:_0x5b8e98['loadedBlocks'])===_0x443e9d['loadedBlocks'])return _0x5b8e98['timedOut'];this[_0x36c137(0x2d5)](_0x443e9d[_0x36c137(0x2d7)]);let _0x246b00=setTimeout(()=>{const _0x26403f=_0x36c137;let _0x5c6660=this['_blockProgressWatches']['get'](_0x443e9d[_0x26403f(0x2d7)]);if(!_0x5c6660||_0x5c6660[_0x26403f(0x25c)]!==_0x246b00)return;_0x5c6660['timedOut']=!0x0;let _0x2b10a0=''+_0x126de1+_0x443e9d['unitId'];this[_0x26403f(0x21e)]['remove'](_0x2b10a0),this[_0x26403f(0x1db)][_0x26403f(0x28b)](_0x2b10a0),this['_timeoutState$']['next']({'unitId':_0x443e9d[_0x26403f(0x2d7)],'content':this[_0x26403f(0x180)]['t']('collaboration-client-ui.snapshotLoading.timeout',String(_0x443e9d[_0x26403f(0x2d3)]),String(_0x443e9d[_0x26403f(0x166)])),'refreshLabel':this['_localeService']['t'](_0x26403f(0x242))});},0xea60);return this[_0x36c137(0x1a4)][_0x36c137(0x382)](_0x443e9d[_0x36c137(0x2d7)],{'loadedBlocks':_0x443e9d['loadedBlocks'],'timedOut':!0x1,'timeoutId':_0x246b00}),!0x1;}['_clearBlockProgressWatch'](_0x44a462){const _0x292121=_0x59cd08;let _0x180755=this[_0x292121(0x1a4)][_0x292121(0x99)](_0x44a462);_0x180755&&(clearTimeout(_0x180755[_0x292121(0x25c)]),this[_0x292121(0x1a4)][_0x292121(0x28b)](_0x44a462),this[_0x292121(0xb5)](_0x44a462));}['_clearTimeoutState'](_0x5e2069){const _0x1dc951=_0x59cd08;var _0x6ffe81;((_0x6ffe81=this['_timeoutState$'][_0x1dc951(0x1c1)])==null?void 0x0:_0x6ffe81[_0x1dc951(0x2d7)])===_0x5e2069&&this['_timeoutState$'][_0x1dc951(0x20f)](null);}[_0x59cd08(0x297)](_0xa2935e){const _0x572e87=_0x59cd08;if(_0xa2935e['stage']===_0x1208f3[_0x572e87(0x1cb)]['LOADING_SNAPSHOT']&&this[_0x572e87(0x182)]['delete'](_0xa2935e[_0x572e87(0x2d7)]),!this['_isVisibleUnit'](_0xa2935e[_0x572e87(0x2d7)])){this[_0x572e87(0x17f)](_0xa2935e['unitId']);return;}if(_0xa2935e[_0x572e87(0x3c9)]===_0x1208f3['SnapshotLoadStage'][_0x572e87(0x284)]||_0xa2935e[_0x572e87(0x166)]<=0xa){this[_0x572e87(0x17f)](_0xa2935e['unitId']);return;}if(_0xa2935e[_0x572e87(0x3c9)]===_0x1208f3[_0x572e87(0x1cb)][_0x572e87(0xcb)]){this[_0x572e87(0x252)](_0xa2935e[_0x572e87(0x2d7)]);return;}if(_0xa2935e['stage']===_0x1208f3['SnapshotLoadStage'][_0x572e87(0x8c)]&&_0xa2935e['workbookShell']&&_0xa2935e[_0x572e87(0x16b)]){let _0x2ecbfc=this[_0x572e87(0x220)]();if(!_0x2ecbfc)return;this[_0x572e87(0x283)]&&this['_previewUnitId']!==_0xa2935e[_0x572e87(0x2d7)]&&this[_0x572e87(0x17f)](this[_0x572e87(0x283)]),_0x2ecbfc[_0x572e87(0x2f7)](_0xa2935e['workbookShell'],_0xa2935e[_0x572e87(0x16b)]),this[_0x572e87(0x283)]=_0xa2935e['unitId'],this[_0x572e87(0x340)](!0x0),_0xa2935e[_0x572e87(0x16c)]&&_0x2ecbfc[_0x572e87(0x20d)](_0xa2935e['workbookShell'],_0xa2935e[_0x572e87(0x16b)],_0xa2935e[_0x572e87(0x321)]);}}[_0x59cd08(0x252)](_0x112658){const _0x133e3a=_0x59cd08;if(this[_0x133e3a(0x283)]!==_0x112658||this[_0x133e3a(0x182)]['has'](_0x112658))return;let _0x33256d=this[_0x133e3a(0x2b5)];_0x33256d&&(this[_0x133e3a(0x182)]['add'](_0x112658),_0x33256d[_0x133e3a(0x3cf)](_0x112658,0x2710)[_0x133e3a(0x3cb)](_0x1d46c0=>{const _0x36945b=_0x133e3a;if(this['_previewUnitId']!==_0x112658)return;if(_0x1d46c0){let _0x5049e7=''+_0x126de1+_0x112658;this[_0x36945b(0x21e)][_0x36945b(0x200)](_0x5049e7),this[_0x36945b(0x1db)]['delete'](_0x5049e7),this['_previewUnitId']=void 0x0,this[_0x36945b(0x340)](!0x1);return;}let _0x30e7b2=''+_0x126de1+_0x112658;this['_messageService'][_0x36945b(0x200)](_0x30e7b2),this[_0x36945b(0x1db)][_0x36945b(0x28b)](_0x30e7b2),this[_0x36945b(0x24c)][_0x36945b(0x20f)]({'unitId':_0x112658,'content':this[_0x36945b(0x180)]['t']('collaboration-client-ui.session.connection-failed'),'refreshLabel':this[_0x36945b(0x180)]['t'](_0x36945b(0x242))});}));}['_hidePreview'](_0x3d30a5){const _0xe1921=_0x59cd08;var _0x3f8e3c;this['_previewUnitId']===_0x3d30a5&&((_0x3f8e3c=this['_sheetLoadingRenderService'])==null||_0x3f8e3c['hide'](_0x3d30a5),this[_0xe1921(0x283)]=void 0x0,this[_0xe1921(0x340)](!0x1));}[_0x59cd08(0x340)](_0x1a207f){const _0xebd6c8=_0x59cd08;if(_0x1a207f!==this[_0xebd6c8(0x1f6)][_0xebd6c8(0x1c1)]){if(_0x1a207f)this[_0xebd6c8(0x3b6)]=this[_0xebd6c8(0x373)][_0xebd6c8(0x91)]();else{var _0x4b9d20;(_0x4b9d20=this[_0xebd6c8(0x3b6)])==null||_0x4b9d20[_0xebd6c8(0x223)](),this[_0xebd6c8(0x3b6)]=void 0x0;}this['_interactionBlocked$'][_0xebd6c8(0x20f)](_0x1a207f);}}[_0x59cd08(0x232)](_0x90f366){const _0x336be6=_0x59cd08;let _0x4da31b=this[_0x336be6(0x26a)][_0x336be6(0x20a)](_0x336be6(0x390));return!_0x4da31b||_0x4da31b===_0x90f366;}['_getSheetLoadingRenderService'](){const _0x5b1c95=_0x59cd08;return this[_0x5b1c95(0x2b5)]?this['_sheetLoadingRenderService']:(this[_0x5b1c95(0x1cc)][_0x5b1c95(0xc4)](_0x4615d2[_0x5b1c95(0x172)]['UNIVER_SHEET']),this[_0x5b1c95(0x33b)][_0x5b1c95(0x3b1)](_0x50dd72['ISheetLoadingRenderService'])&&(this[_0x5b1c95(0x2b5)]=this[_0x5b1c95(0x33b)][_0x5b1c95(0x99)](_0x50dd72[_0x5b1c95(0x117)])),this['_sheetLoadingRenderService']);}};_0x165f7d=_0x260d11([_0x2eb870(0x0,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x1208f3[_0x59cd08(0xcc)])),_0x2eb870(0x1,_0x4c3c34[_0x59cd08(0x325)]),_0x2eb870(0x2,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x4615d2[_0x59cd08(0x205)])),_0x2eb870(0x3,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x4615d2[_0x59cd08(0x13d)])),_0x2eb870(0x4,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x4615d2[_0x59cd08(0x2cf)])),_0x2eb870(0x5,_0x4c3c34[_0x59cd08(0x3ca)]),_0x2eb870(0x6,_0x4c3c34['IShortcutService']),_0x2eb870(0x7,_0x56e2a2)],_0x165f7d);function _0x139118(_0x1444ae){const _0x4b2926=_0x59cd08;var _0x593326,_0xef60b0;let _0x41698d=(_0x593326=_0x1444ae[_0x4b2926(0x2f0)])==null?void 0x0:_0x593326[_0x4b2926(0x3c9)],_0x2dd6ac=((_0xef60b0=_0x1444ae[_0x4b2926(0x2f0)])==null?void 0x0:_0xef60b0[_0x4b2926(0x150)])||0x0;return _0x41698d===_0x5f0904[_0x4b2926(0x286)][_0x4b2926(0x16a)]&&_0x2dd6ac>0x0;}function _0x8f15bc(_0x3507f9){const _0x47629d=_0x59cd08;return _0x3507f9['functionsExecutedState']===_0x5f0904[_0x47629d(0x1a7)][_0x47629d(0x3c4)];}let _0x38c575=class extends _0x4615d2[_0x59cd08(0x326)]{constructor(_0x47fc8e,_0x5eaf73,_0x2d6b4c,_0x5cedf9,_0x539f61,_0x4bd660,_0x3d7d91){const _0x19a13c=_0x59cd08;super(),this[_0x19a13c(0x21e)]=_0x47fc8e,this['_commandService']=_0x5eaf73,this[_0x19a13c(0x1ba)]=_0x2d6b4c,this[_0x19a13c(0xfc)]=_0x5cedf9,this['_univerInstanceService']=_0x539f61,this[_0x19a13c(0x185)]=_0x4bd660,this[_0x19a13c(0x180)]=_0x3d7d91,_0x4dee6d(this,'_pollingInterval',null),_0x4dee6d(this,_0x19a13c(0x29d),0x0),_0x4dee6d(this,_0x19a13c(0x350),0x0),_0x4dee6d(this,'_taskIds',[]),_0x4dee6d(this,_0x19a13c(0x2ce),0x0),this[_0x19a13c(0x1f9)]();}['_initCommandInterceptor'](){const _0x41c411=_0x59cd08;this['disposeWithMe'](this[_0x41c411(0x202)]['beforeCommandExecuted']((_0x5f13a9,_0x569e8a)=>{const _0x5876ca=_0x41c411;var _0x1748d2;if(_0x5f13a9['id']!==_0x5f0904[_0x5876ca(0x35a)]['id'])return;let _0x229b33=_0x5f13a9['params'];if(this[_0x5876ca(0x22a)]((_0x1748d2=_0x229b33[_0x5876ca(0x9f)])==null?[]:_0x1748d2)&&!this[_0x5876ca(0x193)]())throw this[_0x5876ca(0x246)](_0x5f13a9,_0x569e8a),this[_0x5876ca(0x141)](),new _0x4615d2[(_0x5876ca(0x1fb))]();})),this[_0x41c411(0x183)](this[_0x41c411(0x202)][_0x41c411(0x137)]((_0x335d65,_0x389c2b)=>{const _0x2919e0=_0x41c411;if(_0x335d65['id']!==_0x5f0904['SetFormulaCalculationNotificationMutation']['id'])return;let _0x1d9841=_0x335d65[_0x2919e0(0x1f7)];if(_0x139118(_0x1d9841)){let _0x2ad631=(0x0,_0x4615d2[_0x2919e0(0x1ce)])();this[_0x2919e0(0x2c7)][_0x2919e0(0x3c3)](_0x2ad631),this[_0x2919e0(0x253)](_0x2ad631);}else{if(_0x8f15bc(_0x1d9841)&&this[_0x2919e0(0x2c7)]['length']>0x0){let _0x2215bb=this[_0x2919e0(0x2c7)][_0x2919e0(0x280)]();this['_releaseCalculationLimit'](_0x2215bb);}}}));}[_0x59cd08(0x223)](){const _0x3e4b63=_0x59cd08;super[_0x3e4b63(0x223)](),this[_0x3e4b63(0x395)](),this[_0x3e4b63(0x2c7)]=[],this[_0x3e4b63(0x350)]=0x0,this[_0x3e4b63(0x29d)]=0x0,this[_0x3e4b63(0x2ce)]=0x0;}async[_0x59cd08(0x246)](_0x4c209a,_0x4be3d3){const _0x3e5adb=_0x59cd08;for(let _0x2e1b53=0x0;_0x2e1b53<0x1e;_0x2e1b53++)try{if(await this['_getFormulaLimitStatus'](),this[_0x3e5adb(0x193)]()){this[_0x3e5adb(0xe5)](_0x4c209a,_0x4be3d3),this[_0x3e5adb(0x21e)][_0x3e5adb(0x20d)]({'content':this[_0x3e5adb(0x180)]['t'](_0x3e5adb(0x7e)),'type':_0x20f977[_0x3e5adb(0x3ad)][_0x3e5adb(0x34e)]});return;}await new Promise(_0x577275=>{this['_pollingInterval']=window['setTimeout'](_0x577275,0x3e8);});}catch(_0x18451d){this[_0x3e5adb(0x185)][_0x3e5adb(0x363)](_0x18451d);}this[_0x3e5adb(0x21e)][_0x3e5adb(0x20d)]({'content':this[_0x3e5adb(0x180)]['t'](_0x3e5adb(0xea)),'type':_0x20f977[_0x3e5adb(0x3ad)]['Error']});}[_0x59cd08(0xe5)](_0x219012,_0x196cd7){const _0x4f9f0b=_0x59cd08;try{this[_0x4f9f0b(0x202)][_0x4f9f0b(0x391)](_0x219012['id'],_0x219012[_0x4f9f0b(0x1f7)],_0x196cd7);}catch(_0x2c193c){this[_0x4f9f0b(0x185)][_0x4f9f0b(0x363)](_0x2c193c);}}[_0x59cd08(0x36d)](_0x21b14c,_0x3ace4b){const _0x1cc362=_0x59cd08;_0x3ace4b<this[_0x1cc362(0x2ce)]||(this['_lastResponseTimestamp']=_0x3ace4b,this[_0x1cc362(0x29d)]=Number[_0x1cc362(0xe6)](_0x21b14c[_0x1cc362(0x3ba)]),this['_currentUsage']=Number[_0x1cc362(0xe6)](_0x21b14c[_0x1cc362(0x1fe)]));}async['_startCalculationLimit'](_0x16a5b5){const _0x208d4c=_0x59cd08;let _0x4bca54=Date[_0x208d4c(0x36e)]();try{var _0x2fb87b,_0x1eb38e;let _0x1c61e8=((_0x2fb87b=this[_0x208d4c(0x1ba)][_0x208d4c(0x396)](_0x4aca0a[_0x208d4c(0x388)]))==null?void 0x0:_0x2fb87b[_0x208d4c(0x169)])||_0x208d4c(0x348),_0x2524c6=(await this[_0x208d4c(0xfc)]['post'](_0x1c61e8,{'body':JSON[_0x208d4c(0x21f)]({'taskId':_0x16a5b5})}))['body'];if(((_0x1eb38e=_0x2524c6[_0x208d4c(0x363)])==null?void 0x0:_0x1eb38e[_0x208d4c(0x17a)])!==_0x505887[_0x208d4c(0x361)]['OK'])return;this[_0x208d4c(0x36d)](_0x2524c6[_0x208d4c(0x2cc)],_0x4bca54);}catch(_0x384016){this['_logService'][_0x208d4c(0x363)](_0x384016);}}async[_0x59cd08(0x21d)](_0x1b8cbb){const _0x2b5ea0=_0x59cd08;let _0x228ef3=Date[_0x2b5ea0(0x36e)]();try{var _0x1de412,_0x358f90;let _0xe7bbd=((_0x1de412=this['_configService'][_0x2b5ea0(0x396)](_0x4aca0a[_0x2b5ea0(0x388)]))==null?void 0x0:_0x1de412['getFormulaLimitStatusUrl'])||'/universer-api/license/formula/limit/status',_0x1f97d9=_0x1b8cbb?_0xe7bbd+'?taskId='+encodeURIComponent(_0x1b8cbb):_0xe7bbd,_0x8d4d65=(await this['_httpService']['get'](_0x1f97d9))[_0x2b5ea0(0x2fe)];if(((_0x358f90=_0x8d4d65[_0x2b5ea0(0x363)])==null?void 0x0:_0x358f90[_0x2b5ea0(0x17a)])!==_0x505887['ErrorCode']['OK'])return;this[_0x2b5ea0(0x36d)](_0x8d4d65[_0x2b5ea0(0x2cc)],_0x228ef3);}catch(_0x2f1e05){this[_0x2b5ea0(0x185)][_0x2b5ea0(0x363)](_0x2f1e05);}}async['_releaseCalculationLimit'](_0x42b737){const _0x331e2b=_0x59cd08;let _0x541c72=Date[_0x331e2b(0x36e)]();try{var _0x10e369,_0x1a2a3a;let _0x35cfb7=((_0x10e369=this[_0x331e2b(0x1ba)][_0x331e2b(0x396)](_0x4aca0a[_0x331e2b(0x388)]))==null?void 0x0:_0x10e369['releaseFormulaLimitUrl'])||_0x331e2b(0x22d),_0x48f8e6=(await this[_0x331e2b(0xfc)][_0x331e2b(0x312)](_0x35cfb7,{'body':JSON[_0x331e2b(0x21f)]({'taskId':_0x42b737})}))['body'];if(((_0x1a2a3a=_0x48f8e6[_0x331e2b(0x363)])==null?void 0x0:_0x1a2a3a['code'])!==_0x505887[_0x331e2b(0x361)]['OK'])return;this['_setFormulaLimitStatus'](_0x48f8e6['limitInfo'],_0x541c72);}catch(_0x42d5d9){this[_0x331e2b(0x185)][_0x331e2b(0x363)](_0x42d5d9);}}[_0x59cd08(0x193)](){const _0x5a8959=_0x59cd08;return this[_0x5a8959(0x29d)]===0x0?!0x0:this[_0x5a8959(0x29d)]-this[_0x5a8959(0x350)]>0x0;}[_0x59cd08(0x395)](){const _0x67e9b5=_0x59cd08;this[_0x67e9b5(0x32c)]&&(clearTimeout(this['_pollingInterval']),this[_0x67e9b5(0x32c)]=null);}['_showGuardMessage'](){const _0x2a0e7d=_0x59cd08;this[_0x2a0e7d(0x21e)]['show']({'content':this['_localeService']['t'](_0x2a0e7d(0x32e)),'type':_0x20f977[_0x2a0e7d(0x3ad)][_0x2a0e7d(0x342)]});}['_hasFormulaInDirtyRanges'](_0x3ea858){const _0x327b5d=_0x59cd08;for(let _0x1fdba7 of _0x3ea858){let {unitId:_0x1a61e5,sheetId:_0x7e0ca1,range:_0x244c67}=_0x1fdba7,_0x2148e4=this[_0x327b5d(0x1e5)]['getUnit'](_0x1a61e5);if(!_0x2148e4)continue;let _0x158e31=_0x2148e4['getSheetBySheetId'](_0x7e0ca1);if(!_0x158e31)continue;let _0xecdd19=_0x158e31['getCellMatrix']();for(let _0x37d550=_0x244c67['startRow'];_0x37d550<=_0x244c67[_0x327b5d(0x243)];_0x37d550++)for(let _0x595f18=_0x244c67[_0x327b5d(0x132)];_0x595f18<=_0x244c67['endColumn'];_0x595f18++){let _0x1f2d41=_0xecdd19['getValue'](_0x37d550,_0x595f18);if(_0x1f2d41&&((0x0,_0x4615d2[_0x327b5d(0x23c)])(_0x1f2d41['f'])||(0x0,_0x4615d2[_0x327b5d(0x1f3)])(_0x1f2d41['si'])))return!0x0;}}return!0x1;}};_0x38c575=_0x260d11([_0x2eb870(0x0,(0x0,_0x4615d2['Inject'])(_0x4c3c34[_0x59cd08(0x325)])),_0x2eb870(0x1,_0x4615d2[_0x59cd08(0x15e)]),_0x2eb870(0x2,_0x4615d2[_0x59cd08(0x28a)]),_0x2eb870(0x3,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x12e547[_0x59cd08(0x258)])),_0x2eb870(0x4,_0x4615d2[_0x59cd08(0x171)]),_0x2eb870(0x5,_0x4615d2['ILogService']),_0x2eb870(0x6,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x4615d2['LocaleService']))],_0x38c575);let _0x23fe10=class extends _0x4615d2[_0x59cd08(0x326)]{constructor(_0x51cb38,_0x4d790c,_0xc6eebc){const _0x581572=_0x59cd08;super(),this[_0x581572(0x1ba)]=_0x51cb38,this[_0x581572(0xe2)]=_0x4d790c,this[_0x581572(0xfd)]=_0xc6eebc,_0x4dee6d(this,_0x581572(0x115),new Map()),_0x4dee6d(this,_0x581572(0x2aa),new Map()),_0x4dee6d(this,'_disabled',!0x1);}[_0x59cd08(0x199)](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x30f291=_0x59cd08;this[_0x30f291(0x1d4)]=!0x1;}get[_0x59cd08(0x257)](){const _0x3249ca=_0x59cd08;return this[_0x3249ca(0x2aa)];}['dispose'](){const _0x439db1=_0x59cd08;this[_0x439db1(0x17d)]()['then'](()=>super[_0x439db1(0x223)]());}async['loadOfflineData'](_0x3aa861){const _0xcc3aa1=_0x59cd08;return this[_0xcc3aa1(0x1d4)]?null:this['_localStorageService'][_0xcc3aa1(0x39e)]((0x0,_0x4aca0a['getLocalCacheKey'])(_0x3aa861));}async[_0x59cd08(0x351)](_0x2994b6,_0x52e7e7){const _0x33eb07=_0x59cd08;return!!this[_0x33eb07(0xe2)][_0x33eb07(0x399)]((0x0,_0x4aca0a[_0x33eb07(0x12e)])(_0x2994b6),_0x52e7e7);}async['backupOfflineData'](_0x50800d,_0x63101){const _0xbcdc27=_0x59cd08;var _0x3e05de;let _0x1157dc=(_0x3e05de=this[_0xbcdc27(0x115)][_0xbcdc27(0x99)](_0x50800d))==null?await this[_0xbcdc27(0xe2)][_0xbcdc27(0x39e)]((0x0,_0x4aca0a[_0xbcdc27(0x12e)])(_0x50800d)):_0x3e05de;if(!_0x1157dc)return;let _0x240996=Date[_0xbcdc27(0x36e)](),_0xf8c959=new Date(_0x240996)[_0xbcdc27(0x359)]();await this[_0xbcdc27(0xe2)][_0xbcdc27(0x399)]((0x0,_0x4aca0a[_0xbcdc27(0x12e)])(_0x50800d)+_0xbcdc27(0x31f)+_0x240996,{'reason':_0x63101,'createdAt':_0xf8c959,'data':_0x1157dc});}[_0x59cd08(0x32b)](_0x4259ac,_0x2b5ea1,_0x3177ed,_0x3e74cf){const _0x2dcd26=_0x59cd08;let _0x24ca92=this['_revisionService'][_0x2dcd26(0x7b)](_0x4259ac);this['_cachedData']['set'](_0x4259ac,{'unitID':_0x4259ac,'type':_0x2b5ea1,'awaitingChangeset':_0x3177ed,'mutations':_0x3e74cf,'rev':_0x24ca92}),this[_0x2dcd26(0x2aa)][_0x2dcd26(0x3b1)](_0x4259ac)||this[_0x2dcd26(0x2a0)](_0x4259ac);}[_0x59cd08(0x2a0)](_0x984b19){const _0x37fe68=_0x59cd08;let _0x1eb43d=this[_0x37fe68(0x175)]();_0x1eb43d===0x0?this['_saveCache'](_0x984b19):this[_0x37fe68(0x2aa)][_0x37fe68(0x382)](_0x984b19,window['setTimeout'](()=>this[_0x37fe68(0x3d0)](_0x984b19),_0x1eb43d));}[_0x59cd08(0x175)](){const _0x4a3162=_0x59cd08;var _0x117acb;return(_0x117acb=this[_0x4a3162(0x1ba)][_0x4a3162(0x396)](_0x4aca0a[_0x4a3162(0xd8)]))==null?_0x4aca0a['LOCAL_CACHE_INTERVAL']:_0x117acb;}[_0x59cd08(0x3d0)](_0x2e1b1b){const _0x53e52d=_0x59cd08;let _0x17aca6=this[_0x53e52d(0x2aa)][_0x53e52d(0x99)](_0x2e1b1b);return _0x17aca6!==void 0x0&&window['clearTimeout'](_0x17aca6),this[_0x53e52d(0xe2)][_0x53e52d(0x399)]((0x0,_0x4aca0a[_0x53e52d(0x12e)])(_0x2e1b1b),this[_0x53e52d(0x115)][_0x53e52d(0x99)](_0x2e1b1b))[_0x53e52d(0x3cb)](()=>this[_0x53e52d(0x2aa)][_0x53e52d(0x28b)](_0x2e1b1b));}async[_0x59cd08(0x17d)](){const _0xd0d784=_0x59cd08;let _0x5c19fe=[];this[_0xd0d784(0x2aa)]['forEach']((_0x58ded9,_0x1eb46c)=>{const _0x5e800e=_0xd0d784;window[_0x5e800e(0x8f)](_0x58ded9),_0x5c19fe[_0x5e800e(0x3c3)](this[_0x5e800e(0x3d0)](_0x1eb46c)[_0x5e800e(0x3cb)](()=>{const _0x1976e9=_0x5e800e;this[_0x1976e9(0x2aa)][_0x1976e9(0x28b)](_0x1eb46c);}));}),await Promise[_0xd0d784(0x2c3)](_0x5c19fe);}};_0x23fe10=_0x260d11([_0x2eb870(0x0,_0x4615d2[_0x59cd08(0x28a)]),_0x2eb870(0x1,_0x4615d2[_0x59cd08(0x392)]),_0x2eb870(0x2,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x1208f3['RevisionService']))],_0x23fe10);var _0xd2e133=class extends _0x4615d2[_0x59cd08(0x13f)]{constructor(){const _0x31a7ae=_0x59cd08;super(),_0x4dee6d(this,'urlChange$',void 0x0),this[_0x31a7ae(0x2dd)]=(0x0,_0x5b7526[_0x31a7ae(0x1b3)])(window,'popstate')['pipe']((0x0,_0x5b7526[_0x31a7ae(0xb4)])(this[_0x31a7ae(0xce)]),(0x0,_0x5b7526['shareReplay'])({'bufferSize':0x1,'refCount':!0x0}),(0x0,_0x5b7526[_0x31a7ae(0x262)])(void 0x0));}[_0x59cd08(0x25e)](_0x44b309,_0x510ad3,_0x388036=!0x1){const _0x34cb31=_0x59cd08;let _0x3a364e=new URL(window[_0x34cb31(0xa1)][_0x34cb31(0xe8)]);_0x3a364e[_0x34cb31(0x300)]['set'](_0x44b309,_0x510ad3),_0x388036?window[_0x34cb31(0xd9)][_0x34cb31(0x314)]('','',_0x3a364e['toString']()):window['history'][_0x34cb31(0x2a3)]('','',_0x3a364e[_0x34cb31(0x179)]());}['removeParam'](_0x5cb654,_0x29d289=!0x1){const _0x5ea369=_0x59cd08;let _0x6cac9f=new URL(window[_0x5ea369(0xa1)]['href']);_0x6cac9f[_0x5ea369(0x300)]['delete'](_0x5cb654),_0x29d289?window[_0x5ea369(0xd9)][_0x5ea369(0x314)]('','',_0x6cac9f[_0x5ea369(0x179)]()):window[_0x5ea369(0xd9)]['pushState']('','',_0x6cac9f[_0x5ea369(0x179)]());}[_0x59cd08(0x20a)](_0x5127cd){const _0x30e884=_0x59cd08;var _0xbadc9;return(_0xbadc9=new URL(window['location'][_0x30e884(0xe8)])['searchParams'][_0x30e884(0x99)](_0x5127cd))==null?void 0x0:_0xbadc9;}};let _0x3bacf3=class extends _0x4615d2[_0x59cd08(0xf4)]{constructor(_0x5a3620=_0x2d7efc,_0x48d7e8,_0x41f542,_0x1ce798){const _0x4200c7=_0x59cd08;super(),this[_0x4200c7(0x18d)]=_0x5a3620,this['_renderManagerService']=_0x48d7e8,this['_injector']=_0x41f542,this[_0x4200c7(0x1ba)]=_0x1ce798;let {..._0x5b74b4}=(0x0,_0x4615d2['merge'])({},_0x2d7efc,this['_config']);this[_0x4200c7(0x1ba)][_0x4200c7(0x267)](_0x4200c7(0x36c),_0x5b74b4);}[_0x59cd08(0xbd)](){const _0x15ce13=_0x59cd08;this[_0x15ce13(0x142)](),this[_0x15ce13(0x3c8)]();}['onRendered'](){const _0x12db7f=_0x59cd08;this[_0x12db7f(0xca)]();}[_0x59cd08(0x142)](){const _0x51003b=_0x59cd08;var _0x1f1b0b;let _0x1c8ac7=[[_0x522a9b],[_0x38c575],[_0x56e2a2,{'useClass':_0xd2e133}],[_0x12e547[_0x51003b(0x7a)],{'useClass':_0x12e547['WebSocketService']}],[_0x4aca0a[_0x51003b(0xdc)],{'useClass':_0x23fe10}],[_0x4f286b],[_0x5ee193],[_0x38c34b],[_0x4da5d5],[_0x34434d],[_0x165f7d]];this[_0x51003b(0x18d)][_0x51003b(0x2c2)]!==!0x1&&_0x1c8ac7[_0x51003b(0x3c3)]([_0x2a881f],[_0x2dcbbe],[_0x4b641b],[_0x410673],[_0x5629d9],[_0x43f45d]),this[_0x51003b(0x18d)]['enableFrontendLog']&&_0x1c8ac7[_0x51003b(0x3c3)]([_0x224c71]),(0x0,_0x4615d2[_0x51003b(0x14e)])(this[_0x51003b(0x33b)],(0x0,_0x4615d2[_0x51003b(0x287)])(_0x1c8ac7,(_0x1f1b0b=this['_config'])==null?void 0x0:_0x1f1b0b[_0x51003b(0x11b)]));}[_0x59cd08(0xca)](){const _0x2a8db7=_0x59cd08;this[_0x2a8db7(0x18d)][_0x2a8db7(0x2c2)]!==!0x1&&this[_0x2a8db7(0x183)](this['_renderManagerService']['registerRenderModule'](_0x4615d2[_0x2a8db7(0x172)]['UNIVER_DOC'],[_0x4ac66d])),this[_0x2a8db7(0x183)](this[_0x2a8db7(0x10c)][_0x2a8db7(0x317)](_0x4615d2[_0x2a8db7(0x172)][_0x2a8db7(0x1e3)],[_0x1e335b])),this[_0x2a8db7(0x183)](this[_0x2a8db7(0x10c)]['registerRenderModule'](_0x4615d2[_0x2a8db7(0x172)][_0x2a8db7(0x2ef)],[_0xa278])),this['disposeWithMe'](this[_0x2a8db7(0x10c)][_0x2a8db7(0x317)](_0x4615d2[_0x2a8db7(0x172)][_0x2a8db7(0xdf)],[_0x4f1717]));}['_initDependencies'](){const _0x357c80=_0x59cd08;(0x0,_0x4615d2[_0x357c80(0x3d6)])(this[_0x357c80(0x33b)],[[_0x4da5d5],[_0x4f286b],[_0x5ee193],[_0x38c34b],[_0x34434d],[_0x38c575],[_0x165f7d]]),this[_0x357c80(0x18d)][_0x357c80(0x2c2)]!==!0x1&&(0x0,_0x4615d2[_0x357c80(0x3d6)])(this[_0x357c80(0x33b)],[[_0x5629d9],[_0x43f45d]]),this['_config'][_0x357c80(0x204)]&&(0x0,_0x4615d2[_0x357c80(0x3d6)])(this[_0x357c80(0x33b)],[[_0x224c71]]);}};_0x4dee6d(_0x3bacf3,_0x59cd08(0x19e),_0x59cd08(0x1b0)),_0x4dee6d(_0x3bacf3,'packageName',_0x1b5d57),_0x4dee6d(_0x3bacf3,_0x59cd08(0x2ea),_0x4e97cd),_0x3bacf3=_0x260d11([(0x0,_0x4615d2[_0x59cd08(0x1e9)])(_0x4aca0a[_0x59cd08(0x215)]),_0x2eb870(0x1,_0x1891a4['IRenderManagerService']),_0x2eb870(0x2,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x4615d2[_0x59cd08(0x13d)])),_0x2eb870(0x3,_0x4615d2[_0x59cd08(0x28a)])],_0x3bacf3);let _0x48b295=class extends _0x4aca0a['CollaborationSocketService']{constructor(_0x2a164d,_0x36594f,_0x62c513,_0x4521d8,_0x3fe6f1){super(_0x2a164d,_0x36594f,_0x62c513,_0x4521d8,_0x3fe6f1);}async['createSocket'](_0x5b0804){const _0x4c4112=_0x59cd08;let _0x511337=await this['_getSessionTicket'](),_0x1dc11b=this[_0x4c4112(0x260)](_0x5b0804,_0x511337);return this[_0x4c4112(0x8b)](_0x1dc11b);}[_0x59cd08(0x260)](_0x50b779,_0x3181fc){const _0x1c8ebc=_0x59cd08;let _0x39278d=typeof window>'u'?new URL(_0x50b779):new URL(_0x50b779,window[_0x1c8ebc(0xa1)][_0x1c8ebc(0xb6)]);_0x39278d['searchParams'][_0x1c8ebc(0x382)](_0x1c8ebc(0x266),_0x3181fc);let _0xb8cd6=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x1c8ebc(0x269)]);return _0xb8cd6['get'](_0x1c8ebc(0x1d9))&&_0x39278d[_0x1c8ebc(0x300)][_0x1c8ebc(0x382)](_0x1c8ebc(0x1d9),_0xb8cd6[_0x1c8ebc(0x99)]('runId')),_0x39278d[_0x1c8ebc(0x179)]();}async[_0x59cd08(0x196)](){const _0x3a16a1=_0x59cd08;var _0x1f442b,_0x2cf7b8,_0x1a4d18;let _0x2cdb56=this['_configService']['getConfig'](_0x4aca0a[_0x3a16a1(0x388)]),_0x4f76b1=(_0x1f442b=_0x2cdb56==null?void 0x0:_0x2cdb56[_0x3a16a1(0x308)])==null?_0x4aca0a['DEFAULT_WS_SESSION_TICKET_URL']:_0x1f442b;return(_0x2cf7b8=(_0x1a4d18=(await this['_httpService'][_0x3a16a1(0x99)](_0x4f76b1,{'headers':{'Content-Type':_0x3a16a1(0x330)}}))[_0x3a16a1(0x2fe)])==null?void 0x0:_0x1a4d18[_0x3a16a1(0x1a5)])==null?'':_0x2cf7b8;}};_0x48b295=_0x260d11([_0x2eb870(0x0,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x4615d2[_0x59cd08(0x13d)])),_0x2eb870(0x1,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x12e547[_0x59cd08(0x258)])),_0x2eb870(0x2,_0x4615d2[_0x59cd08(0x28a)]),_0x2eb870(0x3,_0x4615d2[_0x59cd08(0x292)]),_0x2eb870(0x4,_0x1208f3[_0x59cd08(0x3c1)])],_0x48b295);let _0x4b31de=class extends _0x4615d2['Disposable']{constructor(_0x11e52c,_0x2e54d8,_0x29cafb){const _0x47e294=_0x59cd08;super(),this[_0x47e294(0x1ed)]=_0x11e52c,this[_0x47e294(0xfc)]=_0x2e54d8,this[_0x47e294(0x1ba)]=_0x29cafb;}async['runOnServer'](_0x4a777c,_0xd6d7f1,_0x2cf128,..._0x19d7ab){const _0x440512=_0x59cd08;var _0x1d77f9,_0x49eb17,_0x5364f2,_0x54bae5;let _0x2e80b0=this[_0x440512(0x1ed)][_0x440512(0x143)]();if(!_0x2e80b0)throw Error(_0x440512(0x24e));let _0x327053=((_0x1d77f9=this['_configService'][_0x440512(0x396)](_0x4aca0a['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))==null?_0x4aca0a[_0x440512(0x36f)]:_0x1d77f9)+'/'+_0x4a777c+'/run/'+_0xd6d7f1,_0x30cb40={'scriptId':_0x4a777c,'runId':(_0x49eb17=new URL(window['location']['href'])[_0x440512(0x300)][_0x440512(0x99)](_0x440512(0x1d9)))==null?'':_0x49eb17,'function':_0xd6d7f1,'unitId':_0x2e80b0[_0x440512(0x165)](),'argsOfFunction':JSON[_0x440512(0x21f)](_0x19d7ab),'invokeId':(_0x5364f2=_0x2cf128[_0x440512(0x2bd)])==null?'':_0x5364f2,'executionId':(_0x54bae5=_0x2cf128[_0x440512(0x319)])==null?'':_0x54bae5};try{let _0x14eb8a=await this[_0x440512(0xfc)]['post'](_0x327053,{'body':_0x30cb40});return _0x14eb8a[_0x440512(0x2fe)][_0x440512(0x363)]&&_0x14eb8a[_0x440512(0x2fe)]['error'][_0x440512(0x17a)]!==_0x505887[_0x440512(0x361)]['OK']?'Failed':_0x14eb8a[_0x440512(0x2fe)][_0x440512(0xeb)];}catch{return _0x440512(0x37f);}}};_0x4b31de=_0x260d11([_0x2eb870(0x0,_0x4615d2['IUniverInstanceService']),_0x2eb870(0x1,(0x0,_0x4615d2[_0x59cd08(0x2b0)])(_0x12e547['HTTPService'])),_0x2eb870(0x2,_0x4615d2[_0x59cd08(0x28a)])],_0x4b31de);let _0x3c510b=0x7530,_0x431356='ACTIVE_UNIT_EVENT_CHANNEL';var _0x1b2368=class extends _0x4615d2[_0x59cd08(0x326)]{constructor(){const _0x4b6803=_0x59cd08;super(),_0x4dee6d(this,_0x4b6803(0x3b5),(0x0,_0x4615d2['generateRandomId'])()),_0x4dee6d(this,_0x4b6803(0x343),new Set()),_0x4dee6d(this,_0x4b6803(0x394),new Map()),_0x4dee6d(this,_0x4b6803(0x2ca),null),_0x4dee6d(this,_0x4b6803(0x33d),new Map()),_0x4dee6d(this,'_unitStatus',new Map()),this[_0x4b6803(0x208)]();}[_0x59cd08(0x223)](){const _0x3240f0=_0x59cd08;super[_0x3240f0(0x223)](),this[_0x3240f0(0x33d)]['forEach']((_0x5c064d,_0x4ac7c5)=>this[_0x3240f0(0x3d1)](_0x4ac7c5)),this[_0x3240f0(0x2ca)]&&window[_0x3240f0(0x33e)](this[_0x3240f0(0x2ca)]);}['getUnitStatus$'](_0x30b833){const _0xb63eba=_0x59cd08;return this[_0xb63eba(0x191)](_0x30b833)['pipe']((0x0,_0x5b7526[_0xb63eba(0x328)])());}['editingUnit'](_0x3f84b2){const _0x397bb5=_0x59cd08;this[_0x397bb5(0x343)]['size']===0x0&&this[_0x397bb5(0x263)](),this[_0x397bb5(0x343)][_0x397bb5(0x145)](_0x3f84b2),this[_0x397bb5(0xcf)]({'type':0x0,'memberID':this[_0x397bb5(0x3b5)],'unitIDs':[_0x3f84b2],'isForwarded':!0x1});}[_0x59cd08(0x3bf)](_0x2d3bc6){const _0x1b44b3=_0x59cd08;this[_0x1b44b3(0x343)][_0x1b44b3(0x28b)](_0x2d3bc6),this[_0x1b44b3(0x343)][_0x1b44b3(0x9d)]===0x0&&this['_heartbeatTimer']&&window[_0x1b44b3(0x33e)](this[_0x1b44b3(0x2ca)]);}[_0x59cd08(0x208)](){const _0x25bf80=_0x59cd08;this[_0x25bf80(0x183)]((0x0,_0x4615d2[_0x25bf80(0x293)])((0x0,_0x5b7526[_0x25bf80(0x1b3)])(window,_0x25bf80(0xc5))[_0x25bf80(0x248)](_0xce7c90=>{const _0x3bfa73=_0x25bf80;if(_0xce7c90[_0x3bfa73(0x190)]!==_0x431356||!_0xce7c90[_0x3bfa73(0x184)])return;let _0x5bf100=JSON[_0x3bfa73(0x1fc)](_0xce7c90[_0x3bfa73(0x184)]);this[_0x3bfa73(0x144)](_0x5bf100);}))),window[_0x25bf80(0x285)](_0x25bf80(0x14a),()=>this['_send']({'type':0x1,'memberID':this[_0x25bf80(0x3b5)],'unitIDs':Array[_0x25bf80(0x22b)](this[_0x25bf80(0x343)])}));}[_0x59cd08(0x144)](_0xf8e839){const _0x4ee9fc=_0x59cd08;switch(_0xf8e839[_0x4ee9fc(0x255)]){case 0x0:this['_handleJoinEvent'](_0xf8e839);break;case 0x1:this[_0x4ee9fc(0xa8)](_0xf8e839);break;case 0x2:this[_0x4ee9fc(0x206)](_0xf8e839);break;}}[_0x59cd08(0x138)](_0x547cde){const _0x3e2d63=_0x59cd08;let {unitIDs:_0x100105,memberID:_0x52e9ab,isForwarded:_0xb9c717}=_0x547cde;_0x100105[_0x3e2d63(0x23d)](_0x7ef726=>{const _0x34e4d8=_0x3e2d63;if(!_0xb9c717&&this[_0x34e4d8(0x394)][_0x34e4d8(0x3b1)](_0x7ef726)&&this[_0x34e4d8(0x191)](_0x7ef726)[_0x34e4d8(0x20f)](_0x4aca0a[_0x34e4d8(0x129)]['OTHER_CLIENTS_EDITING']),!this[_0x34e4d8(0x394)]['has'](_0x7ef726)||!this[_0x34e4d8(0x394)]['get'](_0x7ef726)['has'](_0x52e9ab)){let _0x32f51d=this[_0x34e4d8(0x394)][_0x34e4d8(0x99)](_0x7ef726)||new Set();_0x32f51d['add'](_0x52e9ab),this[_0x34e4d8(0x394)][_0x34e4d8(0x382)](_0x7ef726,_0x32f51d),this['_scheduleClearOtherTimer'](_0x52e9ab);}}),_0xb9c717||this[_0x3e2d63(0xcf)]({'type':0x0,'memberID':this[_0x3e2d63(0x3b5)],'unitIDs':[...this[_0x3e2d63(0x343)]],'isForwarded':!0x0});}[_0x59cd08(0x15b)](_0x3ff799){const _0x1d3416=_0x59cd08;this[_0x1d3416(0x3d1)](_0x3ff799);let _0xd642d3=window['setTimeout'](()=>{const _0x7dc352=_0x1d3416;this[_0x7dc352(0x394)][_0x7dc352(0x23d)](_0x4857f5=>{const _0x361d26=_0x7dc352;_0x4857f5[_0x361d26(0x28b)](_0x3ff799);});},_0x3c510b*0x2);this[_0x1d3416(0x33d)][_0x1d3416(0x382)](_0x3ff799,_0xd642d3);}[_0x59cd08(0x3d1)](_0x352983){const _0x2606cb=_0x59cd08;if(this[_0x2606cb(0x33d)][_0x2606cb(0x3b1)](_0x352983)){let _0x2e38cf=this['_clearOtherTimers'][_0x2606cb(0x99)](_0x352983);_0x2e38cf&&window['clearTimeout'](_0x2e38cf),this[_0x2606cb(0x33d)][_0x2606cb(0x382)](_0x352983,null);}}[_0x59cd08(0xa8)](_0x4a1d76){const _0x5af56a=_0x59cd08;let {memberID:_0xdd725,unitIDs:_0x126d6f}=_0x4a1d76;_0x126d6f[_0x5af56a(0x23d)](_0x1af0f4=>{const _0x32dc85=_0x5af56a;var _0x1f4ebf;let _0x19ff3a=this[_0x32dc85(0x394)][_0x32dc85(0x99)](_0x1af0f4);_0x19ff3a&&(_0x19ff3a[_0x32dc85(0x28b)](_0xdd725),(_0x1f4ebf=this['_ensureSubject'](_0x1af0f4))==null||_0x1f4ebf[_0x32dc85(0x20f)](_0x19ff3a[_0x32dc85(0x9d)]===0x0?_0x4aca0a[_0x32dc85(0x129)][_0x32dc85(0xad)]:_0x4aca0a[_0x32dc85(0x129)]['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0xdd725);}[_0x59cd08(0x206)](_0x59856a){const _0x540eaa=_0x59cd08;this['_scheduleClearOtherTimer'](_0x59856a[_0x540eaa(0x1bc)]);}['_send'](_0x10bfd0){const _0x1d04ba=_0x59cd08;localStorage[_0x1d04ba(0x399)](_0x431356,JSON['stringify'](_0x10bfd0));}['_scheduleHeartbeat'](){const _0x446dce=_0x59cd08;this[_0x446dce(0x2ca)]=window[_0x446dce(0x18a)](()=>{const _0x4abd9f=_0x446dce;this[_0x4abd9f(0xcf)]({'type':0x2,'memberID':this['_id']});},_0x3c510b);}[_0x59cd08(0x191)](_0x2e4af0){const _0x5e045b=_0x59cd08;return this['_unitStatus'][_0x5e045b(0x3b1)](_0x2e4af0)||this[_0x5e045b(0x2b1)][_0x5e045b(0x382)](_0x2e4af0,new _0x5b7526[(_0x5e045b(0x24f))](_0x4aca0a[_0x5e045b(0x129)][_0x5e045b(0xad)])),this[_0x5e045b(0x2b1)][_0x5e045b(0x99)](_0x2e4af0);}};Object[_0x59cd08(0x2c1)](_0x571ec4,_0x59cd08(0x148),{'enumerable':!0x0,'get':function(){return _0x48b295;}}),Object[_0x59cd08(0x2c1)](_0x571ec4,'DesktopCollaborationStatusDisplayController',{'enumerable':!0x0,'get':function(){return _0x4f286b;}}),_0x571ec4['IURLService']=_0x56e2a2,Object[_0x59cd08(0x2c1)](_0x571ec4,'RemoteUniscriptService',{'enumerable':!0x0,'get':function(){return _0x4b31de;}}),_0x571ec4[_0x59cd08(0xba)]=_0x1f1da5,Object[_0x59cd08(0x2c1)](_0x571ec4,_0x59cd08(0x3a4),{'enumerable':!0x0,'get':function(){return _0x3bacf3;}}),_0x571ec4[_0x59cd08(0x26b)]=_0x1b2368;}));
1
+ function _0xbfb2(_0x50c090,_0x25e45a){_0x50c090=_0x50c090-0x9e;const _0x29c834=_0x29c8();let _0xbfb270=_0x29c834[_0x50c090];return _0xbfb270;}(function(_0x128892,_0x1cb711){const _0x648847=_0xbfb2,_0x48750e=_0x128892();while(!![]){try{const _0xa17ac0=parseInt(_0x648847(0xe0))/0x1*(-parseInt(_0x648847(0xf6))/0x2)+parseInt(_0x648847(0x3b1))/0x3+parseInt(_0x648847(0x1c3))/0x4+parseInt(_0x648847(0x1a5))/0x5*(-parseInt(_0x648847(0x35f))/0x6)+parseInt(_0x648847(0x2b8))/0x7+-parseInt(_0x648847(0x189))/0x8*(parseInt(_0x648847(0x3e1))/0x9)+-parseInt(_0x648847(0x262))/0xa;if(_0xa17ac0===_0x1cb711)break;else _0x48750e['push'](_0x48750e['shift']());}catch(_0x57ccad){_0x48750e['push'](_0x48750e['shift']());}}}(_0x29c8,0x6ad57),function(_0x2be312,_0xd782b4){const _0x41e34f=_0xbfb2;typeof exports==_0x41e34f(0x2a7)&&typeof module<'u'?_0xd782b4(exports,require('@univerjs-pro/boards-ui'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('rxjs/operators'),require('@univerjs/design'),require('react'),require('react/jsx-runtime'),require('@univerjs-pro/collaboration'),require('@univerjs-pro/license'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('@univerjs-pro/slides-ui'),require('@univerjs/sheets-ui'),require('@univerjs/rpc'),require('@univerjs/protocol')):typeof define==_0x41e34f(0x14f)&&define[_0x41e34f(0x33d)]?define([_0x41e34f(0x292),_0x41e34f(0xb6),_0x41e34f(0x1ea),_0x41e34f(0xfa),_0x41e34f(0x31c),_0x41e34f(0x3a8),_0x41e34f(0x188),'@univerjs/design',_0x41e34f(0x219),_0x41e34f(0x1a4),_0x41e34f(0xc2),'@univerjs-pro/license',_0x41e34f(0x338),'@univerjs/docs-ui','@univerjs/engine-render',_0x41e34f(0x198),_0x41e34f(0x185),_0x41e34f(0xee),_0x41e34f(0x124),_0x41e34f(0x239),_0x41e34f(0x407),'@univerjs/protocol'],_0xd782b4):(_0x2be312=typeof globalThis<'u'?globalThis:_0x2be312||self,_0xd782b4(_0x2be312[_0x41e34f(0xfc)]={},_0x2be312['UniverProBoardsUi'],_0x2be312[_0x41e34f(0x1e9)],_0x2be312[_0x41e34f(0x402)],_0x2be312[_0x41e34f(0x267)],_0x2be312['rxjs'],_0x2be312['rxjs'][_0x41e34f(0x297)],_0x2be312[_0x41e34f(0x345)],_0x2be312[_0x41e34f(0x25b)],_0x2be312[_0x41e34f(0x25b)],_0x2be312[_0x41e34f(0x2d0)],_0x2be312[_0x41e34f(0x211)],_0x2be312['UniverDocs'],_0x2be312[_0x41e34f(0x14c)],_0x2be312[_0x41e34f(0x30d)],_0x2be312[_0x41e34f(0x139)],_0x2be312[_0x41e34f(0x35a)],_0x2be312[_0x41e34f(0x3a1)],_0x2be312[_0x41e34f(0x14a)],_0x2be312[_0x41e34f(0x162)],_0x2be312[_0x41e34f(0x9e)],_0x2be312['UniverProtocol']));}(this,function(_0x73ee80,_0x20b4fa,_0x2248ce,_0x3188ec,_0xad5ce,_0x3a9a2c,_0x30c188,_0x36a1a4,_0x1f628d,_0x418e4f,_0x1cdb30,_0x427b41,_0x12c761,_0x390782,_0x38b39d,_0x29944c,_0x3b4f90,_0x14f8c0,_0x2c454c,_0x4d43bb,_0x157a03,_0x46dd95){const _0x386c9a=_0xbfb2;Object[_0x386c9a(0x12f)](_0x73ee80,Symbol[_0x386c9a(0x3d3)],{'value':'Module'});function _0xff9b60({ref:_0x278a3a,..._0x5e11a5}){const _0x4793ce=_0x386c9a;let {icon:_0x283a57,id:_0xe64492,className:_0x1ee019,extend:_0x4cf8bc,..._0x194e2e}=_0x5e11a5,_0x1f45e2=('univerjs-icon\x20univerjs-icon-'+_0xe64492+'\x20'+(_0x1ee019||''))[_0x4793ce(0x1e2)](),_0x46fc18=(0x0,_0x1f628d[_0x4793ce(0x2cc)])('_'+_0x2ab16d());return _0x4c2809(_0x283a57,''+_0xe64492,{'defIds':_0x283a57[_0x4793ce(0x12a)],'idSuffix':_0x46fc18['current']},{'ref':_0x278a3a,'className':_0x1f45e2,..._0x194e2e},_0x4cf8bc);}function _0x4c2809(_0x5e2089,_0x607033,_0x3dd61c,_0x3b4fc6,_0x4268ae){const _0x1029b9=_0x386c9a;return(0x0,_0x1f628d[_0x1029b9(0x3f9)])(_0x5e2089[_0x1029b9(0x354)],{'key':_0x607033,..._0x343df6(_0x5e2089,_0x3dd61c,_0x4268ae),..._0x3b4fc6},(_0x28bbe7(_0x5e2089,_0x3dd61c)[_0x1029b9(0x176)]||[])[_0x1029b9(0x2a3)]((_0x41486e,_0x2b32e2)=>_0x4c2809(_0x41486e,_0x607033+'-'+_0x5e2089[_0x1029b9(0x354)]+'-'+_0x2b32e2,_0x3dd61c,void 0x0,_0x4268ae)));}function _0x343df6(_0x213113,_0x2bf855,_0x30ac2a){const _0x2c486a=_0x386c9a;let _0x51e1b5={..._0x213113['attrs']};_0x30ac2a!=null&&_0x30ac2a[_0x2c486a(0x352)]&&_0x51e1b5[_0x2c486a(0x15c)]===_0x2c486a(0x352)&&(_0x51e1b5[_0x2c486a(0x15c)]=_0x30ac2a['colorChannel1']),_0x30ac2a!=null&&_0x30ac2a[_0x2c486a(0x352)]&&_0x51e1b5[_0x2c486a(0x11b)]==='colorChannel1'&&(_0x51e1b5[_0x2c486a(0x11b)]=_0x30ac2a['colorChannel1']),_0x213113['tag']===_0x2c486a(0x1f7)&&_0x51e1b5['id']&&(_0x51e1b5['id']+=_0x2bf855[_0x2c486a(0x36a)]),Object[_0x2c486a(0x215)](_0x51e1b5)[_0x2c486a(0x32f)](([_0x286c32,_0x4470aa])=>{const _0x33d206=_0x2c486a;_0x286c32===_0x33d206(0x1f7)&&typeof _0x4470aa==_0x33d206(0x1b0)&&(_0x51e1b5[_0x286c32]=_0x4470aa[_0x33d206(0x131)](/url\(#(.*)\)/,_0x33d206(0x15b)+_0x2bf855[_0x33d206(0x36a)]+')'));});let {defIds:_0x1182e6}=_0x2bf855;return!_0x1182e6||_0x1182e6[_0x2c486a(0x368)]===0x0?_0x51e1b5:(_0x213113[_0x2c486a(0x354)]===_0x2c486a(0x38c)&&_0x51e1b5[_0x2c486a(0xec)]&&(_0x51e1b5['xlink:href']+=_0x2bf855['idSuffix']),Object[_0x2c486a(0x215)](_0x51e1b5)['forEach'](([_0x30544f,_0x48b3e8])=>{const _0xf291c1=_0x2c486a;typeof _0x48b3e8==_0xf291c1(0x1b0)&&(_0x51e1b5[_0x30544f]=_0x48b3e8[_0xf291c1(0x131)](/url\(#(.*)\)/,_0xf291c1(0x15b)+_0x2bf855[_0xf291c1(0x36a)]+')'));}),_0x51e1b5);}function _0x28bbe7(_0x5cc590,_0x54445b){const _0x2634c4=_0x386c9a;var _0x5eb355;let {defIds:_0x1b2204}=_0x54445b;return!_0x1b2204||_0x1b2204[_0x2634c4(0x368)]===0x0?_0x5cc590:_0x5cc590[_0x2634c4(0x354)]===_0x2634c4(0x197)&&(_0x5eb355=_0x5cc590[_0x2634c4(0x176)])!=null&&_0x5eb355[_0x2634c4(0x368)]?{..._0x5cc590,'children':_0x5cc590[_0x2634c4(0x176)][_0x2634c4(0x2a3)](_0x32db79=>typeof _0x32db79[_0x2634c4(0x16c)]['id']==_0x2634c4(0x1b0)&&_0x1b2204&&_0x1b2204[_0x2634c4(0x261)](_0x32db79[_0x2634c4(0x16c)]['id'])?{..._0x32db79,'attrs':{..._0x32db79['attrs'],'id':_0x32db79[_0x2634c4(0x16c)]['id']+_0x54445b[_0x2634c4(0x36a)]}}:_0x32db79)}:_0x5cc590;}function _0x2ab16d(){const _0x56ecbc=_0x386c9a;return Math[_0x56ecbc(0x224)]()['toString'](0x24)['substring'](0x2,0x8);}_0xff9b60[_0x386c9a(0x13d)]='UniverIcon';let _0x59f1ea={'tag':_0x386c9a(0x19b),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x386c9a(0x3a9),'viewBox':'0\x200\x2016\x2016','width':_0x386c9a(0x190),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x386c9a(0xa6)},'children':[{'tag':_0x386c9a(0xbe),'attrs':{'stroke':_0x386c9a(0x3a0),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x386c9a(0xa2),'strokeLinejoin':_0x386c9a(0xa2),'strokeWidth':1.2}}]},{'tag':_0x386c9a(0x197),'attrs':{},'children':[{'tag':_0x386c9a(0x3ce),'attrs':{'id':_0x386c9a(0x1f8)},'children':[{'tag':'path','attrs':{'fill':_0x386c9a(0x371),'d':_0x386c9a(0x3c8)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x2e4189=(0x0,_0x1f628d[_0x386c9a(0x27f)])(function(_0x356ea1,_0x10600a){const _0x3da23c=_0x386c9a;return(0x0,_0x1f628d[_0x3da23c(0x3f9)])(_0xff9b60,Object[_0x3da23c(0x33e)]({},_0x356ea1,{'id':'off-line-icon','ref':_0x10600a,'icon':_0x59f1ea}));});_0x2e4189[_0x386c9a(0x13d)]=_0x386c9a(0x38f);let _0x3a8e99={'tag':_0x386c9a(0x19b),'attrs':{'xmlns':_0x386c9a(0xe7),'fill':_0x386c9a(0x3a9),'viewBox':'0\x200\x2017\x2016','width':_0x386c9a(0x190),'height':_0x386c9a(0x190)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x386c9a(0xbe),'attrs':{'stroke':_0x386c9a(0x3a0),'d':_0x386c9a(0x1d8),'strokeLinecap':_0x386c9a(0xa2),'strokeLinejoin':_0x386c9a(0xa2),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x386c9a(0x3ce),'attrs':{'id':_0x386c9a(0x333)},'children':[{'tag':_0x386c9a(0xbe),'attrs':{'fill':_0x386c9a(0x371),'d':'M0\x200H16V16H0z','transform':_0x386c9a(0x398)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x4f1d14=(0x0,_0x1f628d['forwardRef'])(function(_0x1eb0b5,_0x22813b){const _0x43be9d=_0x386c9a;return(0x0,_0x1f628d[_0x43be9d(0x3f9)])(_0xff9b60,Object[_0x43be9d(0x33e)]({},_0x1eb0b5,{'id':_0x43be9d(0x3fa),'ref':_0x22813b,'icon':_0x3a8e99}));});_0x4f1d14[_0x386c9a(0x13d)]=_0x386c9a(0xef);let _0x26c483={'tag':'svg','attrs':{'xmlns':_0x386c9a(0xe7),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x386c9a(0x190),'height':_0x386c9a(0x190)},'children':[{'tag':_0x386c9a(0xbe),'attrs':{'fill':'currentColor','d':_0x386c9a(0x25f),'fillRule':_0x386c9a(0x329),'clipRule':_0x386c9a(0x329)}}]},_0x183917=(0x0,_0x1f628d[_0x386c9a(0x27f)])(function(_0x346ecc,_0x129179){const _0x5ca8fc=_0x386c9a;return(0x0,_0x1f628d[_0x5ca8fc(0x3f9)])(_0xff9b60,Object[_0x5ca8fc(0x33e)]({},_0x346ecc,{'id':_0x5ca8fc(0xdb),'ref':_0x129179,'icon':_0x26c483}));});_0x183917[_0x386c9a(0x13d)]=_0x386c9a(0x108);let _0x1ca886={'tag':_0x386c9a(0x19b),'attrs':{'xmlns':_0x386c9a(0xe7),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x386c9a(0x190),'height':_0x386c9a(0x190)},'children':[{'tag':'path','attrs':{'fill':'#0B9EFB','d':'M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','fillOpacity':0.2,'fillRule':_0x386c9a(0x329),'clipRule':_0x386c9a(0x329)}},{'tag':_0x386c9a(0xbe),'attrs':{'fill':_0x386c9a(0x332),'d':_0x386c9a(0x40d),'fillRule':_0x386c9a(0x329),'clipRule':_0x386c9a(0x329)}}]},_0x458409=(0x0,_0x1f628d['forwardRef'])(function(_0x245995,_0x39fe58){const _0xc79763=_0x386c9a;return(0x0,_0x1f628d[_0xc79763(0x3f9)])(_0xff9b60,Object[_0xc79763(0x33e)]({},_0x245995,{'id':_0xc79763(0x2b2),'ref':_0x39fe58,'icon':_0x1ca886}));});_0x458409[_0x386c9a(0x13d)]=_0x386c9a(0x28d);function _0x4de66d(_0x2e7f30){const _0xc2ca27=_0x386c9a;switch(_0x2e7f30){case _0x2248ce[_0xc2ca27(0x323)][_0xc2ca27(0x1e0)]:return{'icon':(0x0,_0x418e4f['jsx'])(_0x2e4189,{}),'colorClass':'univer-text-red-500','i18nKey':_0xc2ca27(0x406),'tooltipKey':_0xc2ca27(0xe8),'clickable':!0x0,'indicator':_0xc2ca27(0x3a5)};case _0x2248ce['CollaborationStatus'][_0xc2ca27(0xbc)]:return{'icon':(0x0,_0x418e4f['jsx'])(_0x2e4189,{}),'colorClass':_0xc2ca27(0xa9),'i18nKey':_0xc2ca27(0xc4),'clickable':!0x1,'indicator':'static'};case _0x2248ce['CollaborationStatus'][_0xc2ca27(0x105)]:return{'icon':(0x0,_0x418e4f[_0xc2ca27(0x1df)])(_0x458409,{}),'colorClass':_0xc2ca27(0x3e5),'i18nKey':_0xc2ca27(0xab),'clickable':!0x1,'indicator':_0xc2ca27(0x1aa)};case _0x2248ce[_0xc2ca27(0x323)]['NOT_COLLAB']:return{'icon':(0x0,_0x418e4f[_0xc2ca27(0x1df)])(_0x4f1d14,{}),'colorClass':'univer-text-gray-400','i18nKey':_0xc2ca27(0x20a),'clickable':!0x1,'indicator':'static'};case _0x2248ce[_0xc2ca27(0x323)]['AWAITING']:case _0x2248ce['CollaborationStatus'][_0xc2ca27(0x1a8)]:return{'icon':(0x0,_0x418e4f['jsx'])(_0x458409,{}),'colorClass':_0xc2ca27(0x3e5),'i18nKey':_0xc2ca27(0xa3),'clickable':!0x1,'indicator':'spin'};case _0x2248ce['CollaborationStatus'][_0xc2ca27(0xe6)]:return{'icon':(0x0,_0x418e4f[_0xc2ca27(0x1df)])(_0x458409,{}),'colorClass':_0xc2ca27(0x3e5),'i18nKey':_0xc2ca27(0xa3),'clickable':!0x1,'indicator':_0xc2ca27(0x1aa)};case _0x2248ce[_0xc2ca27(0x323)]['SYNCED']:return{'icon':(0x0,_0x418e4f['jsx'])(_0x4f1d14,{}),'colorClass':_0xc2ca27(0x27c),'i18nKey':'collaboration-client-ui.collabStatus.synced','clickable':!0x1,'indicator':'static'};}}function _0x597e4b(_0x1cdbd0){const _0x495b42=_0x386c9a;let {status$:_0x2c0d95}=_0x1cdbd0,_0x260417=(0x0,_0xad5ce['useObservable'])(_0x2c0d95,_0x2248ce[_0x495b42(0x323)][_0x495b42(0x376)]),_0x1ceed3=(0x0,_0xad5ce[_0x495b42(0x36b)])(_0x3188ec[_0x495b42(0x2cb)]),_0x28379f=(0x0,_0xad5ce[_0x495b42(0x36b)])(_0x2248ce['CollaborationSessionService']),_0x2c7f42=(0x0,_0x1f628d['useMemo'])(()=>_0x4de66d(_0x260417),[_0x260417]),_0x3a77c5=_0x260417!==_0x2248ce[_0x495b42(0x323)][_0x495b42(0x1e0)],_0x301286=_0x1ceed3['t'](_0x2c7f42[_0x495b42(0x1dd)]),_0x5b5e23=_0x2c7f42[_0x495b42(0x24a)]?_0x1ceed3['t'](_0x2c7f42[_0x495b42(0x24a)]):_0x301286,_0x41b602=(0x0,_0x1f628d[_0x495b42(0x165)])(()=>{const _0x1a0387=_0x495b42;_0x3a77c5||_0x28379f[_0x1a0387(0x243)]();},[_0x3a77c5,_0x28379f]),_0x31f3f3=(0x0,_0x1f628d[_0x495b42(0x165)])(_0x508766=>{const _0x36238e=_0x495b42;!_0x3a77c5&&(_0x508766[_0x36238e(0x155)]===_0x36238e(0x2c8)||_0x508766[_0x36238e(0x155)]==='\x20')&&(_0x508766[_0x36238e(0x11e)](),_0x28379f['reconnect']());},[_0x3a77c5,_0x28379f]),_0x4ea4e7=(0x0,_0x418e4f[_0x495b42(0x1df)])('span',{'className':(0x0,_0x36a1a4['clsx'])(_0x495b42(0x3e9),_0x495b42(0x337),_0x2c7f42['colorClass'],{'univer-animate-spin':_0x2c7f42['indicator']===_0x495b42(0x1aa),'univer-animate-pulse':_0x2c7f42[_0x495b42(0x23a)]===_0x495b42(0x343)}),'aria-hidden':_0x495b42(0xe3),'children':_0x2c7f42[_0x495b42(0x327)]}),_0x4e1212=(0x0,_0x418e4f[_0x495b42(0x1df)])('span',{'className':(0x0,_0x36a1a4[_0x495b42(0x35c)])(_0x495b42(0x3e9),_0x495b42(0x356),_0x495b42(0x10a),_0x495b42(0x291),_0x495b42(0x363),{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700':_0x2c7f42[_0x495b42(0x2dd)],'univer-cursor-default':!_0x2c7f42[_0x495b42(0x2dd)]}),'children':_0x4ea4e7});return _0x2c7f42[_0x495b42(0x2dd)]?(0x0,_0x418e4f[_0x495b42(0x1df)])(_0x36a1a4['Tooltip'],{'title':_0x5b5e23,'placement':_0x495b42(0x123),'children':(0x0,_0x418e4f[_0x495b42(0x1df)])(_0x495b42(0x396),{'type':_0x495b42(0x396),'onClick':_0x41b602,'onKeyDown':_0x31f3f3,'className':(0x0,_0x36a1a4[_0x495b42(0x35c)])(_0x495b42(0x259),_0x495b42(0x17d),_0x495b42(0x1e4),'univer-appearance-none'),'aria-label':_0x301286+'\x20-\x20'+_0x5b5e23,'role':_0x495b42(0xcf),'aria-live':_0x495b42(0x3d0),'aria-atomic':_0x495b42(0xe3),'children':_0x4e1212})}):(0x0,_0x418e4f[_0x495b42(0x1df)])(_0x36a1a4[_0x495b42(0x121)],{'title':_0x5b5e23,'placement':_0x495b42(0x123),'children':(0x0,_0x418e4f[_0x495b42(0x1df)])('div',{'className':(0x0,_0x36a1a4['clsx'])(_0x495b42(0x259),_0x495b42(0x17d),_0x495b42(0x1e4)),'aria-label':_0x301286,'role':_0x495b42(0xcf),'aria-live':_0x495b42(0x3d0),'aria-atomic':_0x495b42(0xe3),'children':_0x4e1212})});}function _0x3507b1(_0x1d829f){'@babel/helpers - typeof';const _0x1d0673=_0x386c9a;return _0x3507b1=typeof Symbol==_0x1d0673(0x14f)&&typeof Symbol[_0x1d0673(0x3c9)]==_0x1d0673(0x3af)?function(_0x478dc0){return typeof _0x478dc0;}:function(_0x2c2a6a){const _0x3596ba=_0x1d0673;return _0x2c2a6a&&typeof Symbol=='function'&&_0x2c2a6a[_0x3596ba(0x277)]===Symbol&&_0x2c2a6a!==Symbol[_0x3596ba(0x253)]?'symbol':typeof _0x2c2a6a;},_0x3507b1(_0x1d829f);}function _0x3fbce2(_0x12b551,_0x12d08f){const _0x381023=_0x386c9a;if(_0x3507b1(_0x12b551)!=_0x381023(0x2a7)||!_0x12b551)return _0x12b551;var _0x54a885=_0x12b551[Symbol['toPrimitive']];if(_0x54a885!==void 0x0){var _0x521a13=_0x54a885['call'](_0x12b551,_0x12d08f||'default');if(_0x3507b1(_0x521a13)!=_0x381023(0x2a7))return _0x521a13;throw TypeError(_0x381023(0x33a));}return(_0x12d08f==='string'?String:Number)(_0x12b551);}function _0x3f1545(_0x273e5d){const _0x1cf015=_0x386c9a;var _0x108d1f=_0x3fbce2(_0x273e5d,_0x1cf015(0x1b0));return _0x3507b1(_0x108d1f)=='symbol'?_0x108d1f:_0x108d1f+'';}function _0x2109ac(_0x11582b,_0xe205f8,_0x4b429b){const _0x1d4c74=_0x386c9a;return(_0xe205f8=_0x3f1545(_0xe205f8))in _0x11582b?Object[_0x1d4c74(0x12f)](_0x11582b,_0xe205f8,{'value':_0x4b429b,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x11582b[_0xe205f8]=_0x4b429b,_0x11582b;}function _0x148b43(_0x13c930,_0x36678c){return function(_0x736173,_0x1a62be){_0x36678c(_0x736173,_0x1a62be,_0x13c930);};}function _0x442f80(_0x14eeed,_0x278574,_0x320587,_0x4933d){const _0x2340d8=_0x386c9a;var _0x4b0ecb=arguments['length'],_0x1ac346=_0x4b0ecb<0x3?_0x278574:_0x4933d===null?_0x4933d=Object[_0x2340d8(0x303)](_0x278574,_0x320587):_0x4933d,_0xcc60de;if(typeof Reflect==_0x2340d8(0x2a7)&&typeof Reflect['decorate']==_0x2340d8(0x14f))_0x1ac346=Reflect[_0x2340d8(0x1af)](_0x14eeed,_0x278574,_0x320587,_0x4933d);else{for(var _0x4ee377=_0x14eeed['length']-0x1;_0x4ee377>=0x0;_0x4ee377--)(_0xcc60de=_0x14eeed[_0x4ee377])&&(_0x1ac346=(_0x4b0ecb<0x3?_0xcc60de(_0x1ac346):_0x4b0ecb>0x3?_0xcc60de(_0x278574,_0x320587,_0x1ac346):_0xcc60de(_0x278574,_0x320587))||_0x1ac346);}return _0x4b0ecb>0x3&&_0x1ac346&&Object[_0x2340d8(0x12f)](_0x278574,_0x320587,_0x1ac346),_0x1ac346;}let _0x1152cb=class extends _0x3188ec[_0x386c9a(0x201)]{constructor(_0x530a37,_0xf1b526,_0x3e4387,_0x10d5a9){const _0x2ccce0=_0x386c9a;super(),this[_0x2ccce0(0x315)]=_0x530a37,this[_0x2ccce0(0x2f4)]=_0xf1b526,this[_0x2ccce0(0x33b)]=_0x3e4387,this['_uiPartsService']=_0x10d5a9,_0x2109ac(this,_0x2ccce0(0x3a2),new _0x3a9a2c[(_0x2ccce0(0x1ba))](_0x2248ce[_0x2ccce0(0x323)][_0x2ccce0(0x376)])),this[_0x2ccce0(0x1f4)](),this['_initStatusListener']();}[_0x386c9a(0x2fc)](){const _0x4dcfd3=_0x386c9a;this['disposeWithMe']((0x0,_0x3a9a2c[_0x4dcfd3(0x252)])(this[_0x4dcfd3(0x315)][_0x4dcfd3(0x3c7)],this['_univerInstanceService'][_0x4dcfd3(0x150)](_0x3188ec[_0x4dcfd3(0x28e)][_0x4dcfd3(0x3ae)]),this[_0x4dcfd3(0x315)][_0x4dcfd3(0x150)](_0x3188ec[_0x4dcfd3(0x28e)][_0x4dcfd3(0x133)]))[_0x4dcfd3(0x32a)]((0x0,_0x30c188[_0x4dcfd3(0x2a3)])(()=>_0x3c4059(this['_univerInstanceService'])),(0x0,_0x30c188[_0x4dcfd3(0x3e2)])(),(0x0,_0x3a9a2c[_0x4dcfd3(0x177)])(_0x15d214=>_0x15d214?this[_0x4dcfd3(0x33b)][_0x4dcfd3(0x2a8)](_0x15d214):(0x0,_0x3a9a2c['of'])(null)),(0x0,_0x3a9a2c[_0x4dcfd3(0x177)])(_0x219c6a=>_0x219c6a?_0x219c6a[_0x4dcfd3(0x272)]:(0x0,_0x3a9a2c['of'])(_0x2248ce[_0x4dcfd3(0x323)]['NOT_COLLAB'])))[_0x4dcfd3(0x341)](_0x10a3af=>{const _0x535d57=_0x4dcfd3;this[_0x535d57(0x3a2)][_0x535d57(0x362)](_0x10a3af);}));}[_0x386c9a(0x1f4)](){const _0x5d719e=_0x386c9a;this[_0x5d719e(0x2da)](this['_uiPartsService'][_0x5d719e(0x210)](_0xad5ce[_0x5d719e(0xaf)][_0x5d719e(0x104)],()=>(0x0,_0xad5ce[_0x5d719e(0x3ad)])(_0x13426a({'status$':this[_0x5d719e(0x3a2)][_0x5d719e(0x12b)]()}),this[_0x5d719e(0x2f4)])));}};_0x1152cb=_0x442f80([_0x148b43(0x0,_0x3188ec[_0x386c9a(0x1d1)]),_0x148b43(0x1,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x3188ec['Injector'])),_0x148b43(0x2,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x2248ce[_0x386c9a(0x1ed)])),_0x148b43(0x3,_0xad5ce['IUIPartsService'])],_0x1152cb);let _0x21e743=class extends _0x3188ec[_0x386c9a(0x201)]{constructor(_0x4a7df2,_0x46b55f,_0x270310,_0x746a70){const _0x579665=_0x386c9a;super(),this['_univerInstanceService']=_0x4a7df2,this['_injector']=_0x46b55f,this['_collaborationController']=_0x270310,this['_uiPartsService']=_0x746a70,_0x2109ac(this,_0x579665(0x3a2),new _0x3a9a2c['BehaviorSubject'](_0x2248ce['CollaborationStatus']['NOT_COLLAB'])),this[_0x579665(0x1f4)](),this[_0x579665(0x2fc)]();}['_initStatusListener'](){const _0x3f0d32=_0x386c9a;this['disposeWithMe']((0x0,_0x3a9a2c[_0x3f0d32(0x252)])((0x0,_0x3a9a2c['of'])(null),this[_0x3f0d32(0x315)][_0x3f0d32(0x150)](_0x3188ec[_0x3f0d32(0x28e)][_0x3f0d32(0xa0)]))[_0x3f0d32(0x32a)]((0x0,_0x30c188[_0x3f0d32(0x2a3)])(()=>_0xcb9171(this[_0x3f0d32(0x315)])),(0x0,_0x30c188['distinctUntilChanged'])(),(0x0,_0x3a9a2c[_0x3f0d32(0x177)])(_0x230646=>_0x230646?this[_0x3f0d32(0x33b)][_0x3f0d32(0x2a8)](_0x230646):(0x0,_0x3a9a2c['of'])(null)),(0x0,_0x3a9a2c[_0x3f0d32(0x177)])(_0x1a0a75=>_0x1a0a75?_0x1a0a75[_0x3f0d32(0x272)]:(0x0,_0x3a9a2c['of'])(_0x2248ce['CollaborationStatus'][_0x3f0d32(0x376)])))[_0x3f0d32(0x341)](_0x38d2cb=>{const _0x1735e5=_0x3f0d32;this['_status$'][_0x1735e5(0x362)](_0x38d2cb);}));}[_0x386c9a(0x1f4)](){const _0x17813b=_0x386c9a;this['disposeWithMe'](this['_uiPartsService'][_0x17813b(0x210)](_0x20b4fa[_0x17813b(0x24f)],()=>(0x0,_0xad5ce[_0x17813b(0x3ad)])(_0x13426a({'status$':this[_0x17813b(0x3a2)][_0x17813b(0x12b)]()}),this[_0x17813b(0x2f4)])));}};_0x21e743=_0x442f80([_0x148b43(0x0,_0x3188ec['IUniverInstanceService']),_0x148b43(0x1,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x3188ec[_0x386c9a(0x395)])),_0x148b43(0x2,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x2248ce[_0x386c9a(0x1ed)])),_0x148b43(0x3,_0xad5ce[_0x386c9a(0x214)])],_0x21e743);function _0x3c4059(_0x1ea994){const _0x3c58b9=_0x386c9a;let _0x4a8152=_0x1ea994[_0x3c58b9(0x369)](),_0x28d6bd=_0x4a8152==null?void 0x0:_0x4a8152[_0x3c58b9(0x3e8)]();if(_0x28d6bd&&!(0x0,_0x3188ec[_0x3c58b9(0x3f4)])(_0x28d6bd))return _0x28d6bd;let _0x542605=_0x1ea994[_0x3c58b9(0x2ca)](_0x3188ec[_0x3c58b9(0x28e)][_0x3c58b9(0x3ae)]),_0x4c1962=_0x542605==null?void 0x0:_0x542605[_0x3c58b9(0x3e8)]();if(_0x4c1962&&!(0x0,_0x3188ec[_0x3c58b9(0x3f4)])(_0x4c1962))return _0x4c1962;let _0x16b256=_0x1ea994[_0x3c58b9(0x2ca)](_0x3188ec[_0x3c58b9(0x28e)][_0x3c58b9(0x133)]);if(_0x16b256)return _0x16b256[_0x3c58b9(0x3e8)]();let _0x587432=_0x1ea994[_0x3c58b9(0x1f9)](_0x3188ec[_0x3c58b9(0x28e)][_0x3c58b9(0x3ae)])['find'](_0x5d9595=>!(0x0,_0x3188ec[_0x3c58b9(0x3f4)])(_0x5d9595['getUnitId']()));return _0x587432?_0x587432[_0x3c58b9(0x3e8)]():null;}function _0xcb9171(_0x35cbdd){const _0x293728=_0x386c9a;var _0x3b5045;let _0x38291c=_0x35cbdd['getCurrentUnitOfType'](_0x3188ec['UniverInstanceType'][_0x293728(0xa0)]);return(_0x3b5045=_0x38291c==null?void 0x0:_0x38291c[_0x293728(0x3e8)]())==null?null:_0x3b5045;}function _0x13426a(_0x2b5368){let {status$:_0x118677}=_0x2b5368;return function(){const _0x343102=_0xbfb2;return(0x0,_0x418e4f[_0x343102(0x1df)])(_0x597e4b,{'status$':_0x118677});};}var _0x573e1f=_0x386c9a(0x317),_0x161965=_0x386c9a(0x2d4);let _0x38b360={},_0x4c0fe9=class extends _0x3188ec[_0x386c9a(0x164)]{constructor(_0x59b3be,_0xeb7225){const _0x478ab3=_0x386c9a;super(),this[_0x478ab3(0x346)]=_0x59b3be,this[_0x478ab3(0xfb)]=_0xeb7225,this['_init']();}['_init'](){const _0x379403=_0x386c9a;let _0x4e779a=this;this[_0x379403(0x2da)](this[_0x379403(0x346)][_0x379403(0xd7)]({'onBeforePasteImage':async _0x398b3c=>{const _0x215d01=_0x379403;let _0x384a80=await _0x4e779a[_0x215d01(0xfb)]['saveImage'](_0x398b3c);return _0x384a80?{'source':_0x384a80[_0x215d01(0xc5)],'imageSourceType':_0x384a80[_0x215d01(0x3b8)]}:null;}}));}};_0x4c0fe9=_0x442f80([_0x148b43(0x0,_0x390782['IDocClipboardService']),_0x148b43(0x1,_0x3188ec[_0x386c9a(0x2e0)])],_0x4c0fe9);function _0x25e53d(_0x4bfba0,_0x1a9861){const _0x4e7fa1=_0x386c9a;_0x4bfba0['save'](),_0x4bfba0[_0x4e7fa1(0x113)]=_0x4e7fa1(0x2c6);let _0x2d8240=_0x4bfba0['measureText'](_0x1a9861)['width'];return _0x4bfba0[_0x4e7fa1(0xad)](),Math[_0x4e7fa1(0x3f2)](_0x2d8240+0x8,0xc8);}function _0x30d44b(_0x3aba42,_0x58a2dc){const _0x5acc13=_0x386c9a;var _0x34e5d1,_0x42bdc8,_0x3e0649;let {radius:_0x32541b,width:_0x28f4b5,height:_0xef1ad9}=_0x58a2dc;_0x32541b=(_0x34e5d1=_0x32541b)==null?0x0:_0x34e5d1,_0x28f4b5=(_0x42bdc8=_0x28f4b5)==null?0x1e:_0x42bdc8,_0xef1ad9=(_0x3e0649=_0xef1ad9)==null?0x1e:_0x3e0649;let _0xa097c1=0x0,_0x103e64=0x0,_0x49adde=0x0;_0xa097c1=_0x103e64=_0x49adde=Math[_0x5acc13(0x3f2)](_0x32541b,_0x28f4b5/0x2,_0xef1ad9/0x2),_0x3aba42['beginPath'](),_0x3aba42[_0x5acc13(0xa1)](_0xa097c1,0x0),_0x3aba42[_0x5acc13(0x37c)](_0x28f4b5-_0x103e64,0x0),_0x3aba42[_0x5acc13(0x390)](_0x28f4b5-_0x103e64,_0x103e64,_0x103e64,Math['PI']*0x3/0x2,0x0,!0x1),_0x3aba42[_0x5acc13(0x37c)](_0x28f4b5,_0xef1ad9-_0x49adde),_0x3aba42[_0x5acc13(0x390)](_0x28f4b5-_0x49adde,_0xef1ad9-_0x49adde,_0x49adde,0x0,Math['PI']/0x2,!0x1),_0x3aba42[_0x5acc13(0x37c)](0x0,_0xef1ad9),_0x3aba42[_0x5acc13(0x37c)](0x0,_0xa097c1),_0x3aba42[_0x5acc13(0x390)](_0xa097c1,_0xa097c1,_0xa097c1,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3aba42[_0x5acc13(0x3cf)](),_0x58a2dc[_0x5acc13(0x15c)]&&(_0x3aba42[_0x5acc13(0x2f6)](),_0x3aba42[_0x5acc13(0x2a6)]=_0x58a2dc[_0x5acc13(0x15c)],_0x58a2dc[_0x5acc13(0x3b7)]===_0x5acc13(0x329)?_0x3aba42['fill']('evenodd'):_0x3aba42['fill'](),_0x3aba42['restore']());}var _0x19e9c3=class _0x576de9 extends _0x38b39d[_0x386c9a(0xf2)]{constructor(_0x48f3ec,_0x20124f){const _0x4b28f6=_0x386c9a;super(_0x48f3ec,_0x20124f),_0x2109ac(this,_0x4b28f6(0x325),void 0x0),_0x2109ac(this,_0x4b28f6(0x3ec),void 0x0),this['color']=_0x20124f==null?void 0x0:_0x20124f['color'],this['text']=_0x20124f==null?void 0x0:_0x20124f[_0x4b28f6(0x3ec)];}static[_0x386c9a(0x282)](_0x589e71,_0x2f9109){const _0x3176a2=_0x386c9a;let {text:_0x4a7e2a,color:_0xfdc559}=_0x2f9109;_0x589e71[_0x3176a2(0x2f6)](),_0x589e71['font']=_0x3176a2(0x17a);let _0x3533d9=_0x589e71['measureText'](_0x4a7e2a)[_0x3176a2(0x380)];if(_0x30d44b(_0x589e71,{'height':0x14,'radius':0x4,'width':_0x25e53d(_0x589e71,_0x4a7e2a),'fill':_0xfdc559,'evented':!0x1}),_0x589e71[_0x3176a2(0x2a6)]=_0x3176a2(0x37a),_0x3533d9>0xc0){let _0x36033c='',_0x4a2e20=0x0;for(let _0x1eba5a of _0x4a7e2a){let _0x4e0826=_0x589e71[_0x3176a2(0x312)](_0x1eba5a)[_0x3176a2(0x380)];if(_0x4a2e20+_0x4e0826<=0xc0-_0x589e71[_0x3176a2(0x312)]('...')[_0x3176a2(0x380)])_0x36033c+=_0x1eba5a,_0x4a2e20+=_0x4e0826;else{_0x36033c+='...';break;}}_0x589e71[_0x3176a2(0x147)](_0x36033c,0x4,0xf);}else _0x589e71[_0x3176a2(0x147)](_0x4a7e2a,0x4,0xf);_0x589e71[_0x3176a2(0xad)]();}['_draw'](_0x52431e){const _0x42c7e7=_0x386c9a;_0x576de9[_0x42c7e7(0x282)](_0x52431e,this);}};let _0x4f92ff=0x138a;var _0x36c05d=class extends _0x38b39d['Shape']{constructor(_0x29d8a4,_0x279d32){const _0xdacb74=_0x386c9a;super(_0x29d8a4,{..._0x279d32,'evented':!0x1}),_0x2109ac(this,_0xdacb74(0xa7),_0xdacb74(0x1d3)),_0x2109ac(this,'_name',''),_0x2109ac(this,_0xdacb74(0x318),!0x0),_0x279d32&&this[_0xdacb74(0x3b4)](_0x279d32);}[_0x386c9a(0x3b4)](_0x371de6){const _0x25812b=_0x386c9a;var _0x96690f,_0x5a4ef8,_0x2bcdf7,_0x5df5a2,_0x2a598c,_0x28b85b,_0x4b1847,_0x5d6b7c;this[_0x25812b(0xa7)]=(_0x96690f=_0x371de6[_0x25812b(0x325)])==null?this[_0x25812b(0xa7)]:_0x96690f,this[_0x25812b(0x1bd)]=(_0x5a4ef8=_0x371de6[_0x25812b(0x10e)])==null?this['_name']:_0x5a4ef8,this[_0x25812b(0x318)]=(_0x2bcdf7=_0x371de6['showText'])==null?this[_0x25812b(0x318)]:_0x2bcdf7,this[_0x25812b(0x238)]=!0x1,this[_0x25812b(0x1f0)]({'left':(_0x5df5a2=_0x371de6[_0x25812b(0x268)])==null?this[_0x25812b(0x268)]:_0x5df5a2,'top':(_0x2a598c=_0x371de6[_0x25812b(0x138)])==null?this[_0x25812b(0x138)]:_0x2a598c,'width':(_0x28b85b=_0x371de6[_0x25812b(0x380)])==null?this[_0x25812b(0x380)]:_0x28b85b,'height':(_0x4b1847=_0x371de6[_0x25812b(0x302)])==null?this['height']:_0x4b1847,'angle':(_0x5d6b7c=_0x371de6[_0x25812b(0x2b7)])==null?this['angle']:_0x5d6b7c});}['_draw'](_0x30e5d8){const _0x405713=_0x386c9a;_0x30e5d8[_0x405713(0x2f6)](),_0x30e5d8[_0x405713(0x114)]=this[_0x405713(0xa7)],_0x30e5d8[_0x405713(0x33c)]=this['strokeWidth']||1.5,_0x30e5d8[_0x405713(0x353)]([0x6,0x4]),_0x30e5d8[_0x405713(0x27e)](0x0,0x0,this[_0x405713(0x380)],this[_0x405713(0x302)]),_0x30e5d8[_0x405713(0xad)](),this[_0x405713(0x318)]&&(_0x30e5d8[_0x405713(0x2f6)](),_0x30e5d8[_0x405713(0x2c1)](0x1,0x0,0x0,0x1,this[_0x405713(0x380)],-0x14),_0x19e9c3['drawWith'](_0x30e5d8,{'text':this[_0x405713(0x1bd)],'color':this[_0x405713(0xa7)]}),_0x30e5d8[_0x405713(0xad)]());}};let _0x31665e=[_0x386c9a(0x174),_0x386c9a(0x21d),'green.600','red.300',_0x386c9a(0x23c),_0x386c9a(0x12e)];var _0x4cf754=class extends _0x3188ec[_0x386c9a(0x201)]{constructor(..._0x5575cc){super(..._0x5575cc),_0x2109ac(this,'_assignedColors',new Map()),_0x2109ac(this,'_colorIndex',0x0);}[_0x386c9a(0xb4)](_0xca3190){const _0x5672d3=_0x386c9a;if(this[_0x5672d3(0x196)]['has'](_0xca3190))return this[_0x5672d3(0x196)]['get'](_0xca3190);let _0x45004e=_0x31665e[this['_colorIndex']];return this['_colorIndex']=(this['_colorIndex']+0x1)%_0x31665e[_0x5672d3(0x368)],this[_0x5672d3(0x196)]['set'](_0xca3190,_0x45004e),_0x45004e;}};function _0xaf36e2(_0x29c420){const _0x1823b6=_0x386c9a;let _0x2ca6bf;try{_0x2ca6bf=JSON['parse'](_0x29c420);}catch{return null;}if(typeof _0x2ca6bf!=_0x1823b6(0x2a7)||!_0x2ca6bf)return null;let _0x3abf0f=_0x2ca6bf;if(_0x3abf0f[_0x1823b6(0x1b1)]!==_0x1823b6(0x2b6)||typeof _0x3abf0f['unitId']!=_0x1823b6(0x1b0)||typeof _0x3abf0f[_0x1823b6(0x2f0)]!=_0x1823b6(0x1b0))return null;let _0x36942d=Array[_0x1823b6(0x1bc)](_0x3abf0f[_0x1823b6(0x2bc)])?_0x3abf0f[_0x1823b6(0x2bc)][_0x1823b6(0x26a)](_0x1920bb=>typeof _0x1920bb==_0x1823b6(0x1b0)):[],_0x1952c2=typeof _0x3abf0f[_0x1823b6(0x16e)]==_0x1823b6(0x1b0)?_0x3abf0f[_0x1823b6(0x16e)]:null;return{'kind':_0x1823b6(0x2b6),'unitId':_0x3abf0f[_0x1823b6(0x232)],'subUnitId':_0x3abf0f['subUnitId'],'selectedIds':_0x36942d,'focusedId':_0x1952c2};}let _0x3e60a0=class extends _0x3188ec[_0x386c9a(0x164)]{get[_0x386c9a(0x202)](){const _0x22f4c6=_0x386c9a;return this['_cursorInfo$'][_0x22f4c6(0x1c7)]();}get['roomMembers'](){const _0x332bb3=_0x386c9a;return this[_0x332bb3(0x205)]['getValue']();}constructor(_0x1b13d3,_0x539e7d,_0xb28dd6,_0x5af13c,_0x377b60){const _0x41c743=_0x386c9a;super(),this['unitID']=_0x1b13d3,this[_0x41c743(0x35e)]=_0x539e7d,this[_0x41c743(0xd0)]=_0xb28dd6,this['_memberService']=_0x5af13c,this[_0x41c743(0x3f3)]=_0x377b60,_0x2109ac(this,_0x41c743(0x39f),!0x1),_0x2109ac(this,_0x41c743(0x34d),!0x1),_0x2109ac(this,'_cursorInfo$',new _0x3a9a2c[(_0x41c743(0x1ba))](new Map())),_0x2109ac(this,_0x41c743(0x169),this[_0x41c743(0x21c)][_0x41c743(0x12b)]()),_0x2109ac(this,_0x41c743(0x205),new _0x3a9a2c[(_0x41c743(0x1ba))]([])),_0x2109ac(this,_0x41c743(0x19f),this[_0x41c743(0x205)][_0x41c743(0x32a)]((0x0,_0x3a9a2c[_0x41c743(0x21a)])(0x12c))),_0x2109ac(this,_0x41c743(0x404),(0x0,_0x3188ec[_0x41c743(0x15a)])(_0x52fb78=>{const _0x5da77e=_0x41c743;let _0x18b4bf=_0x52fb78[_0x5da77e(0xcc)];if(!_0x18b4bf||_0x18b4bf[_0x5da77e(0x232)]!==this['unitID'])return;let _0x23155b={'kind':_0x5da77e(0x2b6),'unitId':_0x18b4bf[_0x5da77e(0x232)],'subUnitId':_0x18b4bf['subUnitId'],'selectedIds':_0x52fb78[_0x5da77e(0x2bc)][_0x5da77e(0x26a)](_0x14154e=>typeof _0x14154e=='string'),'focusedId':_0x52fb78[_0x5da77e(0x16e)]},_0xd0bb49={'eventID':_0x1cdb30[_0x5da77e(0x2e8)][_0x5da77e(0x1d9)],'data':{'unitID':this['unitID'],'memberID':this[_0x5da77e(0x35e)]['getMemberID'](),'selection':JSON['stringify'](_0x23155b)}};this[_0x5da77e(0x35e)][_0x5da77e(0x36e)](_0xd0bb49,this[_0x5da77e(0x141)]);},0x64));}[_0x386c9a(0x228)](){const _0x4d2df8=_0x386c9a;super['dispose'](),this[_0x4d2df8(0x21c)][_0x4d2df8(0x362)](new Map()),this['_cursorInfo$'][_0x4d2df8(0x30c)](),this['_roomMembers$'][_0x4d2df8(0x362)]([]),this['_roomMembers$'][_0x4d2df8(0x30c)]();}[_0x386c9a(0x206)](){const _0x274b45=_0x386c9a;this[_0x274b45(0x34d)]||(this[_0x274b45(0x34d)]=!0x0,this[_0x274b45(0x35e)][_0x274b45(0x157)][_0x274b45(0x32a)]((0x0,_0x3a9a2c['takeUntil'])(this[_0x274b45(0x181)]))[_0x274b45(0x341)](_0x2f57f5=>{const _0x235714=_0x274b45;_0x2f57f5===_0x2248ce[_0x235714(0x31b)]['ONLINE']?this['_toggleOnline']():this[_0x235714(0x34a)]();}),this[_0x274b45(0x35e)][_0x274b45(0x365)]['pipe']((0x0,_0x3a9a2c['takeUntil'])(this['dispose$']))[_0x274b45(0x341)](_0x43716e=>{const _0x1c82f6=_0x274b45;let _0x2c8f50=_0x43716e[_0x1c82f6(0x11f)];_0x2c8f50===_0x1cdb30['CollaborationEvent'][_0x1c82f6(0x1d9)]&&this[_0x1c82f6(0x128)](_0x43716e),_0x2c8f50===_0x1cdb30['CollaborationEvent']['USERS_LEAVE']&&this[_0x1c82f6(0x149)](_0x43716e);}),this['_boardElementStateService'][_0x274b45(0x3e7)][_0x274b45(0x32a)]((0x0,_0x3a9a2c[_0x274b45(0x1ef)])(this['dispose$']))['subscribe'](_0x2aba4a=>{const _0x539821=_0x274b45;this['_online']&&this[_0x539821(0x404)](_0x2aba4a);}));}[_0x386c9a(0x128)](_0x5b1e0d){const _0x59687d=_0x386c9a;var _0x317b03,_0x2f3351,_0x25b01e,_0x78d4;let {memberID:_0x276d0b,selection:_0xf7da95}=_0x5b1e0d[_0x59687d(0x17c)];if(_0x276d0b===((_0x317b03=(_0x2f3351=this[_0x59687d(0x35e)])[_0x59687d(0xd5)])==null?void 0x0:_0x317b03[_0x59687d(0x266)](_0x2f3351)))return;let _0x2e95d0=_0xaf36e2(_0xf7da95);if(!_0x2e95d0||_0x2e95d0[_0x59687d(0x232)]!==this[_0x59687d(0x141)])return;let _0x4721bb=(_0x25b01e=(_0x78d4=this['_memberService'][_0x59687d(0x1ae)](this['unitID'],_0x276d0b))==null?void 0x0:_0x78d4['name'])==null?_0x59687d(0x284):_0x25b01e,_0x277d0d={'color':this[_0x59687d(0xd0)][_0x59687d(0xb4)](_0x276d0b),'name':_0x4721bb,'unitId':_0x2e95d0[_0x59687d(0x232)],'subUnitId':_0x2e95d0[_0x59687d(0x2f0)],'selectedIds':_0x2e95d0[_0x59687d(0x2bc)],'focusedId':_0x2e95d0[_0x59687d(0x16e)],'selection':_0xf7da95},_0x58c410=new Map(this[_0x59687d(0x202)]);_0x58c410[_0x59687d(0x2eb)](_0x276d0b,_0x277d0d),this['_cursorInfo$']['next'](_0x58c410);}[_0x386c9a(0x149)](_0x14a057){const _0x533375=_0x386c9a;let {memberID:_0x5083c8}=_0x14a057[_0x533375(0x17c)],_0x20725e=new Map(this[_0x533375(0x202)]);_0x20725e[_0x533375(0x22f)](_0x5083c8),this['_cursorInfo$'][_0x533375(0x362)](_0x20725e);}['_toggleOnline'](){const _0x4d0cb8=_0x386c9a;this[_0x4d0cb8(0x39f)]=!0x0,this['_updateLocalCursor'](this[_0x4d0cb8(0x3f3)]['getSnapshot']());}['_toggleOffline'](){const _0x1704a1=_0x386c9a;this[_0x1704a1(0x39f)]=!0x1;}};_0x3e60a0=_0x442f80([_0x148b43(0x2,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x4cf754)),_0x148b43(0x3,(0x0,_0x3188ec['Inject'])(_0x2248ce[_0x386c9a(0x1e1)])),_0x148b43(0x4,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x20b4fa[_0x386c9a(0x18a)]))],_0x3e60a0);function _0x551653(_0x8df430){let _0xf732df='';for(let _0x1985da of _0x8df430){let {startOffset:_0x229be5,endOffset:_0x47d8ae,isActive:_0x221eab,rangeType:_0x270ed8,segmentId:_0x5a771b,segmentPage:_0x3d30eb}=_0x1985da;_0xf732df['length']&&(_0xf732df+=','),_0xf732df+=_0x229be5+':'+_0x47d8ae+':'+(_0x221eab?'1':'0')+':'+_0x270ed8+':'+_0x5a771b+':'+_0x3d30eb;}return _0xf732df;}function _0x17e0b3(_0x157440){const _0x1acb22=_0x386c9a;let _0x27c750=_0x157440['split'](','),_0x308cc2=[];for(let _0x2204bb of _0x27c750){let [_0x5c238c,_0x376b95,_0x3188ea,_0x11cc79,_0x320585,_0x842085]=_0x2204bb[_0x1acb22(0x1c1)](':');_0x308cc2[_0x1acb22(0x18e)]({'startOffset':Number(_0x5c238c),'endOffset':Number(_0x376b95),'collapsed':_0x5c238c===_0x376b95,'isActive':_0x3188ea==='1','rangeType':_0x11cc79===_0x3188ec[_0x1acb22(0x35d)][_0x1acb22(0x22b)]?_0x3188ec[_0x1acb22(0x35d)]['TEXT']:_0x3188ec['DOC_RANGE_TYPE'][_0x1acb22(0x260)],'segmentId':typeof _0x320585==_0x1acb22(0x1b0)?String(_0x320585):'','segmentPage':Number(_0x842085==null?-0x1:_0x842085)});}return _0x308cc2[_0x1acb22(0x2af)](_0x29c625=>_0x29c625['isActive'])||(_0x308cc2[0x0]['isActive']=!0x0),_0x308cc2;}var _0x31641e=class extends _0x3188ec[_0x386c9a(0x164)]{constructor(..._0x348eb2){const _0x5e65a1=_0x386c9a;super(..._0x348eb2),_0x2109ac(this,_0x5e65a1(0x220),new _0x3a9a2c['BehaviorSubject'](null)),_0x2109ac(this,_0x5e65a1(0x237),this[_0x5e65a1(0x220)]['asObservable']());}[_0x386c9a(0x229)](_0x471dc){const _0x32bfcc=_0x386c9a;let {unitID:_0x6cf922,memberID:_0x1d32fe,textRanges:_0x3f6bae}=_0x471dc,_0x3dc8ac=_0x551653(_0x3f6bae);if(_0x3dc8ac==='')return;let _0x13d9df={'unitID':_0x6cf922,'memberID':_0x1d32fe,'selection':_0x3dc8ac};this[_0x32bfcc(0x220)]['next'](_0x13d9df);}};let _0x155527=class extends _0x3188ec['RxDisposable']{get[_0x386c9a(0x202)](){const _0x2eaa76=_0x386c9a;return this[_0x2eaa76(0x21c)]['getValue']();}get[_0x386c9a(0x256)](){const _0xbddb80=_0x386c9a;return this['_roomMembers$'][_0xbddb80(0x1c7)]();}constructor(_0x408910,_0x2761c3,_0x111ed9,_0x4c77ae,_0xe58017,_0x50d134,_0x2bc841,_0x556e18,_0x549206){const _0x39a06a=_0x386c9a;super(),this[_0x39a06a(0x141)]=_0x408910,this[_0x39a06a(0x35e)]=_0x2761c3,this[_0x39a06a(0x2f4)]=_0x111ed9,this['_colorAssignService']=_0x4c77ae,this[_0x39a06a(0x236)]=_0xe58017,this[_0x39a06a(0x301)]=_0x50d134,this[_0x39a06a(0x246)]=_0x2bc841,this['_univerInstanceService']=_0x556e18,this['_commandService']=_0x549206,_0x2109ac(this,'_online',!0x1),_0x2109ac(this,_0x39a06a(0x34d),!0x1),_0x2109ac(this,'_cursorInfo$',new _0x3a9a2c['BehaviorSubject'](new Map())),_0x2109ac(this,_0x39a06a(0x169),this[_0x39a06a(0x21c)][_0x39a06a(0x12b)]()),_0x2109ac(this,_0x39a06a(0x205),new _0x3a9a2c['BehaviorSubject']([])),_0x2109ac(this,_0x39a06a(0x19f),this[_0x39a06a(0x205)][_0x39a06a(0x32a)]((0x0,_0x3a9a2c['debounceTime'])(0x12c))),_0x2109ac(this,_0x39a06a(0x404),(0x0,_0x3188ec[_0x39a06a(0x15a)])(_0x4e7e7d=>{const _0x116451=_0x39a06a;let _0x34ecea={'eventID':_0x1cdb30[_0x116451(0x2e8)][_0x116451(0x1d9)],'data':{'unitID':this[_0x116451(0x141)],'memberID':this['_session']['getMemberID'](),'selection':_0x551653(_0x4e7e7d)}};this[_0x116451(0x35e)][_0x116451(0x36e)](_0x34ecea,this[_0x116451(0x141)]);},0x64));}[_0x386c9a(0x228)](){const _0x21b10e=_0x386c9a;super['dispose'](),this[_0x21b10e(0x21c)][_0x21b10e(0x362)](new Map()),this[_0x21b10e(0x21c)][_0x21b10e(0x30c)](),this['_roomMembers$'][_0x21b10e(0x362)]([]),this[_0x21b10e(0x205)][_0x21b10e(0x30c)]();}[_0x386c9a(0x206)](){const _0x349492=_0x386c9a;this[_0x349492(0x34d)]||(this[_0x349492(0x34d)]=!0x0,this[_0x349492(0x35e)][_0x349492(0x157)][_0x349492(0x32a)]((0x0,_0x3a9a2c[_0x349492(0x1ef)])(this[_0x349492(0x181)]))['subscribe'](_0x451be4=>{const _0x6e611d=_0x349492;_0x451be4===_0x2248ce[_0x6e611d(0x31b)]['ONLINE']?this[_0x6e611d(0x213)]():this['_toggleOffline']();}),this['_session'][_0x349492(0x365)][_0x349492(0x32a)]((0x0,_0x3a9a2c[_0x349492(0x1ef)])(this['dispose$']))[_0x349492(0x341)](_0x1c149c=>{const _0x30c35f=_0x349492;let _0x21e2d9=_0x1c149c[_0x30c35f(0x11f)];_0x21e2d9===_0x1cdb30[_0x30c35f(0x2e8)][_0x30c35f(0x1d9)]&&this[_0x30c35f(0x128)](_0x1c149c),_0x21e2d9===_0x1cdb30[_0x30c35f(0x2e8)][_0x30c35f(0x109)]&&this[_0x30c35f(0x149)](_0x1c149c);}),this[_0x349492(0x2da)](this['_commandService'][_0x349492(0xaa)](_0x825027=>{const _0x462979=_0x349492;let _0xfc3a6b=_0x825027['params'];_0xfc3a6b!=null&&this[_0x462979(0x39f)]&&_0x825027['id']===_0x12c761[_0x462979(0xe9)]['id']&&_0xfc3a6b['unitId']===this[_0x462979(0x141)]&&_0xfc3a6b[_0x462979(0x1b8)]===!0x1&&_0xfc3a6b[_0x462979(0x24c)]['length']>0x0&&this[_0x462979(0x404)](_0xfc3a6b['ranges']);})),this[_0x349492(0x301)][_0x349492(0x237)][_0x349492(0x32a)]((0x0,_0x3a9a2c[_0x349492(0x1ef)])(this[_0x349492(0x181)]))[_0x349492(0x341)](_0x1b2743=>{const _0x5f08e0=_0x349492;if((_0x1b2743==null?void 0x0:_0x1b2743[_0x5f08e0(0x141)])!==this[_0x5f08e0(0x141)])return;let _0x53c809={'eventID':_0x1cdb30[_0x5f08e0(0x2e8)][_0x5f08e0(0x1d9)],'data':_0x1b2743};this['_onCursorUpdate'](_0x53c809);}),this[_0x349492(0x2da)](this[_0x349492(0xc7)][_0x349492(0xaa)](_0x16cd11=>{const _0x49c2d8=_0x349492;if(_0x16cd11[_0x49c2d8(0x3a4)]==null)return;let _0x29cfad=_0x16cd11[_0x49c2d8(0x3a4)];if(_0x16cd11['id']!==_0x12c761[_0x49c2d8(0x322)]['id']||_0x29cfad[_0x49c2d8(0x232)]!==this[_0x49c2d8(0x141)])return;let _0x301df3={'id':'doc.mutation.rich-text-editing','params':_0x29cfad},_0x1248ce=this[_0x49c2d8(0x202)];for(let [_0x347e48,_0x1fcb37]of _0x1248ce){let _0x3fa963={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x49c2d8(0x141)],'actions':null,'textRanges':_0x1fcb37[_0x49c2d8(0x24c)]}},_0x1d0c2f=this[_0x49c2d8(0x246)][_0x49c2d8(0x27b)](_0x301df3,_0x3fa963,!0x1);if((0x0,_0x1cdb30['isTransformMutationFailure'])(_0x1d0c2f))throw _0x1d0c2f[_0x49c2d8(0x3f1)];_0x1248ce[_0x49c2d8(0x2eb)](_0x347e48,{..._0x1fcb37,'ranges':_0x1d0c2f[_0x49c2d8(0x25d)][_0x49c2d8(0x3a4)]['textRanges']});}queueMicrotask(()=>{const _0x5573e3=_0x49c2d8;this[_0x5573e3(0x21c)][_0x5573e3(0x362)](_0x1248ce);});})));}[_0x386c9a(0x128)](_0x2277b4){const _0x2b9d06=_0x386c9a;var _0x2eb84b,_0x4ccaa9;let {memberID:_0x1d9032,selection:_0x29e464}=_0x2277b4[_0x2b9d06(0x17c)],_0x218c84=_0x17e0b3(_0x29e464),_0x23b4fb=(_0x2eb84b=(_0x4ccaa9=this['_memberService']['getMember'](this[_0x2b9d06(0x141)],_0x1d9032))==null?void 0x0:_0x4ccaa9[_0x2b9d06(0x10e)])==null?_0x2b9d06(0x284):_0x2eb84b,_0xfb67a8={'color':this[_0x2b9d06(0xd0)][_0x2b9d06(0xb4)](_0x1d9032),'name':_0x23b4fb,'ranges':_0x218c84},_0xdc8461=this[_0x2b9d06(0x202)];_0xdc8461[_0x2b9d06(0x2eb)](_0x1d9032,_0xfb67a8),this[_0x2b9d06(0x21c)][_0x2b9d06(0x362)](_0xdc8461);}[_0x386c9a(0x149)](_0x179d85){const _0x3fd3dd=_0x386c9a;let {memberID:_0x5f1660}=_0x179d85[_0x3fd3dd(0x17c)],_0x2e1a3a=this[_0x3fd3dd(0x202)];_0x2e1a3a['delete'](_0x5f1660),this[_0x3fd3dd(0x21c)][_0x3fd3dd(0x362)](_0x2e1a3a);}[_0x386c9a(0x213)](){const _0x5b173c=_0x386c9a;var _0x2c93ba;if(this[_0x5b173c(0x39f)]=!0x0,((_0x2c93ba=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x2c93ba[_0x5b173c(0x3e8)]())!==this[_0x5b173c(0x141)])return;let _0x697970=this[_0x5b173c(0x2f4)]['get'](_0x12c761[_0x5b173c(0x409)])[_0x5b173c(0x2ab)]();Array[_0x5b173c(0x1bc)](_0x697970)&&_0x697970[_0x5b173c(0x368)]>0x0&&this[_0x5b173c(0x404)](_0x697970);}[_0x386c9a(0x34a)](){const _0x228db1=_0x386c9a;this[_0x228db1(0x39f)]=!0x1;}};_0x155527=_0x442f80([_0x148b43(0x2,(0x0,_0x3188ec['Inject'])(_0x3188ec[_0x386c9a(0x395)])),_0x148b43(0x3,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x4cf754)),_0x148b43(0x4,(0x0,_0x3188ec['Inject'])(_0x2248ce[_0x386c9a(0x1e1)])),_0x148b43(0x5,(0x0,_0x3188ec['Inject'])(_0x31641e)),_0x148b43(0x6,_0x1cdb30[_0x386c9a(0xd6)]),_0x148b43(0x7,_0x3188ec[_0x386c9a(0x1d1)]),_0x148b43(0x8,_0x3188ec[_0x386c9a(0x13c)])],_0x155527);let _0x20638e=()=>{let _0x2bc350=[],_0x53ffd2=!0x1;return _0x7c3866=>{const _0x4be8c5=_0xbfb2;_0x2bc350[_0x4be8c5(0x18e)](_0x7c3866),_0x53ffd2||(_0x53ffd2=!0x0,setTimeout(()=>{const _0x55c85a=_0x4be8c5;_0x2bc350[_0x55c85a(0x32f)](_0x152abd=>_0x152abd()),_0x2bc350=[],_0x53ffd2=!0x1;}));};},_0x2e20c9=class extends _0x3188ec[_0x386c9a(0x164)]{get[_0x386c9a(0x202)](){const _0x5c2111=_0x386c9a;return this[_0x5c2111(0x21c)][_0x5c2111(0x1c7)]();}get[_0x386c9a(0x256)](){const _0x5b9b1f=_0x386c9a;return this[_0x5b9b1f(0x205)][_0x5b9b1f(0x1c7)]();}constructor(_0x514810,_0x4adb04,_0x2826d7,_0x3ec1c4,_0x166156,_0x9a23f2,_0x4b9e75,_0x2e569c){const _0x470571=_0x386c9a;super(),this[_0x470571(0x141)]=_0x514810,this[_0x470571(0x35e)]=_0x4adb04,this[_0x470571(0x2f4)]=_0x2826d7,this[_0x470571(0xd0)]=_0x3ec1c4,this['_memberService']=_0x166156,this['_univerInstanceService']=_0x9a23f2,this[_0x470571(0xc7)]=_0x4b9e75,this[_0x470571(0x3c2)]=_0x2e569c,_0x2109ac(this,_0x470571(0x39f),!0x1),_0x2109ac(this,_0x470571(0x34d),!0x1),_0x2109ac(this,_0x470571(0x21c),new _0x3a9a2c[(_0x470571(0x1ba))](new Map())),_0x2109ac(this,'cursorInfo$',this[_0x470571(0x21c)]['asObservable']()),_0x2109ac(this,_0x470571(0x205),new _0x3a9a2c[(_0x470571(0x1ba))]([])),_0x2109ac(this,_0x470571(0x19f),this[_0x470571(0x205)][_0x470571(0x32a)]((0x0,_0x3a9a2c['debounceTime'])(0x12c))),_0x2109ac(this,_0x470571(0x404),(0x0,_0x3188ec[_0x470571(0x15a)])((_0x5245a7,_0x506cc3)=>{const _0x513eca=_0x470571;let _0x204f45={'eventID':_0x1cdb30[_0x513eca(0x2e8)][_0x513eca(0x1d9)],'data':{'unitID':this['unitID'],'memberID':this[_0x513eca(0x35e)][_0x513eca(0xd5)](),'selection':(0x0,_0x3b4f90[_0x513eca(0x3de)])(_0x5245a7,_0x506cc3[_0x513eca(0x3b6)])}};this[_0x513eca(0x35e)][_0x513eca(0x36e)](_0x204f45,this['unitID']);},0x64));}[_0x386c9a(0x228)](){const _0x3e408d=_0x386c9a;super[_0x3e408d(0x228)](),this[_0x3e408d(0x21c)][_0x3e408d(0x362)](new Map()),this[_0x3e408d(0x21c)]['complete'](),this['_roomMembers$'][_0x3e408d(0x362)]([]),this[_0x3e408d(0x205)][_0x3e408d(0x30c)]();}['init'](){const _0x16fcb7=_0x386c9a;this[_0x16fcb7(0x34d)]||(this[_0x16fcb7(0x34d)]=!0x0,this['_session'][_0x16fcb7(0x157)]['pipe']((0x0,_0x3a9a2c[_0x16fcb7(0x1ef)])(this[_0x16fcb7(0x181)]))['subscribe'](_0x6bbce4=>{const _0x196d24=_0x16fcb7;_0x6bbce4===_0x2248ce[_0x196d24(0x31b)]['ONLINE']?this[_0x196d24(0x213)]():this['_toggleOffline']();}),this[_0x16fcb7(0x35e)][_0x16fcb7(0x365)][_0x16fcb7(0x32a)]((0x0,_0x3a9a2c[_0x16fcb7(0x1ef)])(this['dispose$']))[_0x16fcb7(0x341)](_0x4be10e=>{const _0x1a6f48=_0x16fcb7;let _0x2dd664=_0x4be10e[_0x1a6f48(0x11f)];_0x2dd664===_0x1cdb30['CollaborationEvent'][_0x1a6f48(0x1d9)]&&this[_0x1a6f48(0x128)](_0x4be10e),_0x2dd664===_0x1cdb30[_0x1a6f48(0x2e8)][_0x1a6f48(0x109)]&&this[_0x1a6f48(0x149)](_0x4be10e);}),this[_0x16fcb7(0x170)](),this[_0x16fcb7(0x2da)](this[_0x16fcb7(0xc7)][_0x16fcb7(0xaa)](_0x443ae4=>{const _0x33ba72=_0x16fcb7;if(this[_0x33ba72(0x39f)]&&_0x443ae4['id']===_0x14f8c0[_0x33ba72(0x359)]['id']&&_0x443ae4[_0x33ba72(0x3a4)][_0x33ba72(0x232)]===this[_0x33ba72(0x141)]){let _0x5233d6=_0x443ae4['params'];this[_0x33ba72(0x404)](_0x5233d6[_0x33ba72(0x2f0)],_0x5233d6[_0x33ba72(0x18b)][0x0]);}})));}[_0x386c9a(0x128)](_0x3f8b66){const _0x24822d=_0x386c9a;var _0x1219ee,_0x1c92e3;let {memberID:_0x365572,selection:_0x5a0999}=_0x3f8b66[_0x24822d(0x17c)],{sheetName:_0x553b67,range:_0x44e425}=(0x0,_0x3b4f90[_0x24822d(0x231)])(_0x5a0999),_0x3e3b6e={'name':(_0x1219ee=(_0x1c92e3=this['_memberService'][_0x24822d(0x1ae)](this[_0x24822d(0x141)],_0x365572))==null?void 0x0:_0x1c92e3[_0x24822d(0x10e)])==null?_0x24822d(0x284):_0x1219ee,'range':this['_getMergeRange'](_0x553b67,_0x44e425),'sheetID':_0x553b67,'color':this[_0x24822d(0xd0)]['assignAColorForMemberID'](_0x365572),'selection':_0x5a0999},_0x5b4797=this[_0x24822d(0x202)];_0x5b4797[_0x24822d(0x2eb)](_0x365572,_0x3e3b6e),this['_cursorInfo$'][_0x24822d(0x362)](_0x5b4797);}['_onCursorDelete'](_0x2881c2){const _0x248021=_0x386c9a;let {memberID:_0x272d1f}=_0x2881c2[_0x248021(0x17c)],_0x18a25c=this[_0x248021(0x202)];_0x18a25c[_0x248021(0x22f)](_0x272d1f),this[_0x248021(0x21c)][_0x248021(0x362)](_0x18a25c);}['_getMergeRange'](_0x311061,_0x44c34c){const _0x3ff0d0=_0x386c9a;var _0xc10ecf;let _0x544551=(_0xc10ecf=this['_univerInstanceService'][_0x3ff0d0(0x1a1)](this[_0x3ff0d0(0x141)],_0x3188ec[_0x3ff0d0(0x28e)][_0x3ff0d0(0x133)]))==null||(_0xc10ecf=_0xc10ecf[_0x3ff0d0(0x2e6)](_0x311061))==null?void 0x0:_0xc10ecf[_0x3ff0d0(0x1e5)]();return(_0x544551==null?void 0x0:_0x544551['find'](_0x2b749b=>_0x3188ec[_0x3ff0d0(0x2b9)][_0x3ff0d0(0x271)](_0x2b749b,_0x44c34c)))||_0x44c34c;}['_onRefRangeChange'](){const _0x3f46fb=_0x386c9a;let _0x1a535f=new _0x3188ec[(_0x3f46fb(0x1c2))](),_0x108cf6=_0x20638e(),_0x213ac0=()=>{const _0x57498e=_0x3f46fb;_0x1a535f[_0x57498e(0x228)]();let _0x1bf1cc=(_0x30a3b7,_0x6a6733,_0x2331c3,_0x1ac68d)=>{const _0x1805db=_0x57498e;let _0x1105bc=[];switch(_0x30a3b7['id']){case _0x14f8c0[_0x1805db(0xe2)]['DeleteRangeMoveLeftCommandId']:_0x1105bc=(0x0,_0x14f8c0[_0x1805db(0x110)])(_0x30a3b7,_0x1ac68d);break;case _0x14f8c0[_0x1805db(0xe2)][_0x1805db(0x10d)]:_0x1105bc=(0x0,_0x14f8c0[_0x1805db(0x1ad)])(_0x30a3b7,_0x1ac68d);break;case _0x14f8c0[_0x1805db(0xe2)]['InsertColCommandId']:_0x1105bc=(0x0,_0x14f8c0['handleInsertCol'])(_0x30a3b7,_0x1ac68d);break;case _0x14f8c0['EffectRefRangId'][_0x1805db(0x38b)]:_0x1105bc=(0x0,_0x14f8c0[_0x1805db(0x3b5)])(_0x30a3b7,_0x1ac68d);break;case _0x14f8c0[_0x1805db(0xe2)]['InsertRangeMoveRightCommandId']:_0x1105bc=(0x0,_0x14f8c0[_0x1805db(0x2ff)])(_0x30a3b7,_0x1ac68d);break;case _0x14f8c0[_0x1805db(0xe2)][_0x1805db(0xa5)]:_0x1105bc=(0x0,_0x14f8c0[_0x1805db(0x195)])(_0x30a3b7,_0x1ac68d);break;case _0x14f8c0[_0x1805db(0xe2)]['MoveRangeCommandId']:_0x1105bc=(0x0,_0x14f8c0[_0x1805db(0x242)])(_0x30a3b7,_0x1ac68d);break;case _0x14f8c0['EffectRefRangId'][_0x1805db(0x335)]:_0x1105bc=(0x0,_0x14f8c0['handleIRemoveCol'])(_0x30a3b7,_0x1ac68d);break;case _0x14f8c0['EffectRefRangId'][_0x1805db(0x19d)]:_0x1105bc=(0x0,_0x14f8c0[_0x1805db(0x3f0)])(_0x30a3b7,_0x1ac68d);break;}let _0x3c34c8=(0x0,_0x14f8c0['runRefRangeMutations'])(_0x1105bc,_0x1ac68d),_0x1657bb=this[_0x1805db(0x202)][_0x1805db(0x26b)](_0x6a6733);if(_0x1657bb&&_0x3c34c8){let _0x38a2f9={..._0x1657bb,'range':_0x3c34c8};this[_0x1805db(0x202)][_0x1805db(0x2eb)](_0x6a6733,_0x38a2f9),_0x108cf6(()=>{const _0x376463=_0x1805db;let _0x414029=this[_0x376463(0x3c2)][_0x376463(0x383)](_0x3c34c8,_0x2a8a9e=>(_0x414029[_0x376463(0x228)](),_0x1bf1cc(_0x2a8a9e,_0x6a6733,_0x2331c3,_0x3c34c8)));_0x1a535f[_0x376463(0x3d8)](_0x414029);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x57498e(0x32f)]((_0x12be94,_0x1f4ce7)=>{const _0x134021=_0x57498e;let {range:_0x57d2db,sheetID:_0x3fe8f8}=_0x12be94,_0x4897e2=this['_refRangeService'][_0x134021(0x383)](_0x57d2db,_0x82a934=>(_0x4897e2['dispose'](),_0x1bf1cc(_0x82a934,_0x1f4ce7,_0x3fe8f8,_0x57d2db)));_0x1a535f['add'](_0x4897e2);});};this['disposeWithMe']((0x0,_0x3188ec['toDisposable'])(this['_cursorInfo$'][_0x3f46fb(0x341)](()=>{_0x213ac0();})));}[_0x386c9a(0x213)](){const _0x12698b=_0x386c9a;var _0x530b68,_0x5011a2;if(this['_online']=!0x0,((_0x530b68=this[_0x12698b(0x315)]['getFocusedUnit']())==null?void 0x0:_0x530b68['getUnitId']())!==this[_0x12698b(0x141)])return;let _0xaf46e1=(_0x5011a2=this[_0x12698b(0x2f4)]['get'](_0x14f8c0[_0x12698b(0x102)])[_0x12698b(0x136)]())==null?void 0x0:_0x5011a2[0x0],_0x1361bb=this[_0x12698b(0x315)][_0x12698b(0x2ca)](_0x3188ec['UniverInstanceType'][_0x12698b(0x133)])[_0x12698b(0x29d)]();_0xaf46e1&&_0x1361bb&&this[_0x12698b(0x404)](_0x1361bb['getSheetId'](),_0xaf46e1);}['_toggleOffline'](){const _0x515c1e=_0x386c9a;this[_0x515c1e(0x39f)]=!0x1;}};_0x2e20c9=_0x442f80([_0x148b43(0x2,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x3188ec[_0x386c9a(0x395)])),_0x148b43(0x3,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x4cf754)),_0x148b43(0x4,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x2248ce[_0x386c9a(0x1e1)])),_0x148b43(0x5,_0x3188ec[_0x386c9a(0x1d1)]),_0x148b43(0x6,_0x3188ec[_0x386c9a(0x13c)]),_0x148b43(0x7,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x14f8c0[_0x386c9a(0x32d)]))],_0x2e20c9);function _0x3ab7d9(_0x2e8dd0){const _0x21ba51=_0x386c9a;let _0x286249;try{_0x286249=JSON[_0x21ba51(0x3dc)](_0x2e8dd0);}catch{return null;}if(typeof _0x286249!=_0x21ba51(0x2a7)||!_0x286249)return null;let _0x2650c4=_0x286249;if(_0x2650c4[_0x21ba51(0x1b1)]!=='slide-element-selection'||typeof _0x2650c4[_0x21ba51(0x232)]!=_0x21ba51(0x1b0)||typeof _0x2650c4[_0x21ba51(0x2f0)]!='string')return null;let _0x35f340=Array[_0x21ba51(0x1bc)](_0x2650c4[_0x21ba51(0x2bc)])?_0x2650c4['selectedIds'][_0x21ba51(0x26a)](_0x10743a=>typeof _0x10743a==_0x21ba51(0x1b0)):[],_0x38cf08=typeof _0x2650c4[_0x21ba51(0x16e)]==_0x21ba51(0x1b0)?_0x2650c4['focusedId']:null;return{'kind':_0x21ba51(0x392),'unitId':_0x2650c4[_0x21ba51(0x232)],'subUnitId':_0x2650c4[_0x21ba51(0x2f0)],'selectedIds':_0x35f340,'focusedId':_0x38cf08};}let _0x2c552f=class extends _0x3188ec[_0x386c9a(0x164)]{get[_0x386c9a(0x202)](){const _0x585030=_0x386c9a;return this['_cursorInfo$'][_0x585030(0x1c7)]();}get['roomMembers'](){const _0x1ee19a=_0x386c9a;return this[_0x1ee19a(0x205)]['getValue']();}constructor(_0x244ece,_0xced533,_0x6eda01,_0x3b363f,_0x359226){const _0x2a169d=_0x386c9a;super(),this[_0x2a169d(0x141)]=_0x244ece,this[_0x2a169d(0x35e)]=_0xced533,this[_0x2a169d(0xd0)]=_0x6eda01,this[_0x2a169d(0x236)]=_0x3b363f,this[_0x2a169d(0x191)]=_0x359226,_0x2109ac(this,_0x2a169d(0x39f),!0x1),_0x2109ac(this,_0x2a169d(0x34d),!0x1),_0x2109ac(this,_0x2a169d(0x21c),new _0x3a9a2c['BehaviorSubject'](new Map())),_0x2109ac(this,'cursorInfo$',this[_0x2a169d(0x21c)][_0x2a169d(0x12b)]()),_0x2109ac(this,_0x2a169d(0x205),new _0x3a9a2c[(_0x2a169d(0x1ba))]([])),_0x2109ac(this,_0x2a169d(0x19f),this[_0x2a169d(0x205)][_0x2a169d(0x32a)]((0x0,_0x3a9a2c[_0x2a169d(0x21a)])(0x12c))),_0x2109ac(this,_0x2a169d(0x404),(0x0,_0x3188ec[_0x2a169d(0x15a)])(_0x3e60ed=>{const _0x364f15=_0x2a169d;let _0x2260b=_0x3e60ed[_0x364f15(0xcc)];if(!_0x2260b||_0x2260b['unitId']!==this[_0x364f15(0x141)])return;let _0x35b8c3={'kind':'slide-element-selection','unitId':_0x2260b[_0x364f15(0x232)],'subUnitId':_0x2260b[_0x364f15(0x2f0)],'selectedIds':_0x3e60ed[_0x364f15(0x2bc)]['filter'](_0x32e15e=>typeof _0x32e15e==_0x364f15(0x1b0)),'focusedId':_0x3e60ed['focusedId']},_0xe5cb28={'eventID':_0x1cdb30[_0x364f15(0x2e8)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x364f15(0x141)],'memberID':this[_0x364f15(0x35e)]['getMemberID'](),'selection':JSON[_0x364f15(0x257)](_0x35b8c3)}};this[_0x364f15(0x35e)]['send'](_0xe5cb28,this['unitID']);},0x64));}[_0x386c9a(0x228)](){const _0x1de85b=_0x386c9a;super[_0x1de85b(0x228)](),this[_0x1de85b(0x21c)][_0x1de85b(0x362)](new Map()),this['_cursorInfo$'][_0x1de85b(0x30c)](),this[_0x1de85b(0x205)][_0x1de85b(0x362)]([]),this[_0x1de85b(0x205)]['complete']();}[_0x386c9a(0x206)](){const _0x3d48b3=_0x386c9a;this[_0x3d48b3(0x34d)]||(this[_0x3d48b3(0x34d)]=!0x0,this[_0x3d48b3(0x35e)][_0x3d48b3(0x157)][_0x3d48b3(0x32a)]((0x0,_0x3a9a2c[_0x3d48b3(0x1ef)])(this['dispose$']))[_0x3d48b3(0x341)](_0x71789d=>{const _0x838f39=_0x3d48b3;_0x71789d===_0x2248ce[_0x838f39(0x31b)][_0x838f39(0x221)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x3d48b3(0x35e)][_0x3d48b3(0x365)][_0x3d48b3(0x32a)]((0x0,_0x3a9a2c[_0x3d48b3(0x1ef)])(this[_0x3d48b3(0x181)]))[_0x3d48b3(0x341)](_0x13cee7=>{const _0x3c3d51=_0x3d48b3;let _0x5ef904=_0x13cee7[_0x3c3d51(0x11f)];_0x5ef904===_0x1cdb30[_0x3c3d51(0x2e8)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x13cee7),_0x5ef904===_0x1cdb30[_0x3c3d51(0x2e8)][_0x3c3d51(0x109)]&&this[_0x3c3d51(0x149)](_0x13cee7);}),this[_0x3d48b3(0x191)][_0x3d48b3(0x3e7)][_0x3d48b3(0x32a)]((0x0,_0x3a9a2c['takeUntil'])(this['dispose$']))['subscribe'](_0x2f2cda=>{const _0x287b93=_0x3d48b3;this[_0x287b93(0x39f)]&&this[_0x287b93(0x404)](_0x2f2cda);}));}[_0x386c9a(0x128)](_0x1631a0){const _0x42d9c8=_0x386c9a;var _0x5e1554,_0x5be7ac,_0x4e4f36,_0x19ec25;let {memberID:_0x57907e,selection:_0x40fea5}=_0x1631a0[_0x42d9c8(0x17c)];if(_0x57907e===((_0x5e1554=(_0x5be7ac=this[_0x42d9c8(0x35e)])[_0x42d9c8(0xd5)])==null?void 0x0:_0x5e1554[_0x42d9c8(0x266)](_0x5be7ac)))return;let _0x1f210c=_0x3ab7d9(_0x40fea5);if(!_0x1f210c||_0x1f210c[_0x42d9c8(0x232)]!==this[_0x42d9c8(0x141)])return;let _0x3ec2c5=(_0x4e4f36=(_0x19ec25=this['_memberService'][_0x42d9c8(0x1ae)](this[_0x42d9c8(0x141)],_0x57907e))==null?void 0x0:_0x19ec25[_0x42d9c8(0x10e)])==null?_0x42d9c8(0x284):_0x4e4f36,_0x5894e6={'color':this[_0x42d9c8(0xd0)][_0x42d9c8(0xb4)](_0x57907e),'name':_0x3ec2c5,'unitId':_0x1f210c['unitId'],'subUnitId':_0x1f210c[_0x42d9c8(0x2f0)],'selectedIds':_0x1f210c['selectedIds'],'focusedId':_0x1f210c[_0x42d9c8(0x16e)],'selection':_0x40fea5},_0x4f548a=new Map(this[_0x42d9c8(0x202)]);_0x4f548a['set'](_0x57907e,_0x5894e6),this['_cursorInfo$'][_0x42d9c8(0x362)](_0x4f548a);}[_0x386c9a(0x149)](_0x2587ef){const _0x404825=_0x386c9a;let {memberID:_0x2492b8}=_0x2587ef['data'],_0x2dd438=new Map(this[_0x404825(0x202)]);_0x2dd438[_0x404825(0x22f)](_0x2492b8),this['_cursorInfo$']['next'](_0x2dd438);}['_toggleOnline'](){const _0x1b915=_0x386c9a;this['_online']=!0x0,this[_0x1b915(0x404)](this[_0x1b915(0x191)][_0x1b915(0x31a)]());}[_0x386c9a(0x34a)](){const _0x2a3446=_0x386c9a;this[_0x2a3446(0x39f)]=!0x1;}};_0x2c552f=_0x442f80([_0x148b43(0x2,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x4cf754)),_0x148b43(0x3,(0x0,_0x3188ec['Inject'])(_0x2248ce[_0x386c9a(0x1e1)])),_0x148b43(0x4,(0x0,_0x3188ec['Inject'])(_0x2c454c[_0x386c9a(0x2de)]))],_0x2c552f);let _0x54c193=class extends _0x3188ec[_0x386c9a(0x164)]{constructor(_0x472ade,_0x30cb4e,_0x63155){const _0x2b29d7=_0x386c9a;super(),this[_0x2b29d7(0x315)]=_0x472ade,this[_0x2b29d7(0x2f4)]=_0x30cb4e,this[_0x2b29d7(0x310)]=_0x63155,_0x2109ac(this,'_entities',new Map()),_0x2109ac(this,_0x2b29d7(0x331),new _0x3a9a2c[(_0x2b29d7(0x2fa))]()),this[_0x2b29d7(0x34d)]();}[_0x386c9a(0x228)](){const _0x3555be=_0x386c9a;super[_0x3555be(0x228)](),this[_0x3555be(0x331)][_0x3555be(0x30c)](),this[_0x3555be(0x120)][_0x3555be(0x32f)](_0x140454=>_0x140454[_0x3555be(0x228)]());}['getCollabCursors$'](_0x5c652b){const _0x3c37da=_0x386c9a;return this[_0x3c37da(0x120)][_0x3c37da(0x244)](_0x5c652b)?this[_0x3c37da(0x120)][_0x3c37da(0x26b)](_0x5c652b)['cursorInfo$']:this[_0x3c37da(0x331)][_0x3c37da(0x32a)]((0x0,_0x3a9a2c[_0x3c37da(0x26a)])(_0xc9c316=>_0xc9c316[_0x3c37da(0x141)]===_0x5c652b),(0x0,_0x3a9a2c['switchMap'])(_0x2d003a=>_0x2d003a['cursorInfo$']));}[_0x386c9a(0x34d)](){const _0x273de6=_0x386c9a;this[_0x273de6(0x315)][_0x273de6(0x1b2)](_0x3188ec['UniverInstanceType'][_0x273de6(0x133)])['pipe']((0x0,_0x3a9a2c[_0x273de6(0x1ef)])(this[_0x273de6(0x181)]))[_0x273de6(0x341)](async _0x5eb045=>{const _0x37f55f=_0x273de6;let _0x567e18=_0x5eb045[_0x37f55f(0x1f3)]['getUnitId'](),_0x42bdfa=await this[_0x37f55f(0x117)](_0x567e18);this[_0x37f55f(0x331)][_0x37f55f(0x362)](_0x42bdfa),this[_0x37f55f(0x120)][_0x37f55f(0x2eb)](_0x567e18,_0x42bdfa);}),this[_0x273de6(0x315)][_0x273de6(0x1b2)](_0x3188ec[_0x273de6(0x28e)][_0x273de6(0x3ae)])[_0x273de6(0x32a)]((0x0,_0x3a9a2c[_0x273de6(0x1ef)])(this[_0x273de6(0x181)]))[_0x273de6(0x32a)]((0x0,_0x3a9a2c[_0x273de6(0x26a)])(_0x46a122=>!_0x46a122['unit'][_0x273de6(0x3e8)]()['startsWith']('__')))[_0x273de6(0x341)](async _0x183078=>{const _0xa34bab=_0x273de6;let {unit:_0x1af156}=_0x183078,_0x23a1e8=_0x1af156[_0xa34bab(0x3e8)](),_0x58dbc4=await this['_startDocCollabCursor'](_0x23a1e8);this[_0xa34bab(0x331)][_0xa34bab(0x362)](_0x58dbc4),this[_0xa34bab(0x120)][_0xa34bab(0x2eb)](_0x23a1e8,_0x58dbc4);}),this[_0x273de6(0x315)][_0x273de6(0x1b2)](_0x3188ec[_0x273de6(0x28e)][_0x273de6(0x11c)])[_0x273de6(0x32a)]((0x0,_0x3a9a2c['takeUntil'])(this[_0x273de6(0x181)]))[_0x273de6(0x341)](async _0x5b0cf8=>{const _0x29775d=_0x273de6;let _0x1f3ece=_0x5b0cf8[_0x29775d(0x1f3)][_0x29775d(0x3e8)](),_0x19351f=await this[_0x29775d(0x15e)](_0x1f3ece);this[_0x29775d(0x331)][_0x29775d(0x362)](_0x19351f),this[_0x29775d(0x120)][_0x29775d(0x2eb)](_0x1f3ece,_0x19351f);}),this[_0x273de6(0x315)]['getTypeOfUnitAdded$'](_0x3188ec['UniverInstanceType'][_0x273de6(0xa0)])[_0x273de6(0x32a)]((0x0,_0x3a9a2c[_0x273de6(0x1ef)])(this[_0x273de6(0x181)]))[_0x273de6(0x341)](async _0x415e7a=>{const _0x2627dd=_0x273de6;let _0x4ccc99=_0x415e7a['unit'][_0x2627dd(0x3e8)](),_0x5c2256=await this[_0x2627dd(0x3a7)](_0x4ccc99);this[_0x2627dd(0x331)]['next'](_0x5c2256),this[_0x2627dd(0x120)][_0x2627dd(0x2eb)](_0x4ccc99,_0x5c2256);}),(0x0,_0x3a9a2c[_0x273de6(0x252)])(this[_0x273de6(0x315)]['getTypeOfUnitDisposed$'](_0x3188ec[_0x273de6(0x28e)]['UNIVER_DOC']),this[_0x273de6(0x315)][_0x273de6(0x361)](_0x3188ec[_0x273de6(0x28e)][_0x273de6(0x133)]),this[_0x273de6(0x315)][_0x273de6(0x361)](_0x3188ec['UniverInstanceType'][_0x273de6(0x11c)]),this[_0x273de6(0x315)][_0x273de6(0x361)](_0x3188ec[_0x273de6(0x28e)]['UNIVER_BOARD']))[_0x273de6(0x32a)]((0x0,_0x3a9a2c[_0x273de6(0x1ef)])(this[_0x273de6(0x181)]))[_0x273de6(0x341)](_0x11ada6=>{const _0x3e8edf=_0x273de6;let _0x32d78b=_0x11ada6['getUnitId'](),_0x5c30fd=this[_0x3e8edf(0x120)][_0x3e8edf(0x26b)](_0x32d78b);_0x5c30fd&&(_0x5c30fd[_0x3e8edf(0x228)](),this[_0x3e8edf(0x120)]['delete'](_0x32d78b));});}async[_0x386c9a(0x117)](_0x316d68){const _0x4dbd31=_0x386c9a;let _0x3b45ff=await this['_collabSessionService']['requireSession'](_0x316d68),_0x42e759=this['_injector'][_0x4dbd31(0x300)](_0x2e20c9,_0x316d68,_0x3b45ff);return _0x42e759[_0x4dbd31(0x206)](),_0x42e759;}async[_0x386c9a(0x23b)](_0x1425eb){const _0x28b245=_0x386c9a;let _0x2a5698=await this[_0x28b245(0x310)]['requireSession'](_0x1425eb),_0x10f152=this[_0x28b245(0x2f4)][_0x28b245(0x300)](_0x155527,_0x1425eb,_0x2a5698);return _0x10f152[_0x28b245(0x206)](),_0x10f152;}async[_0x386c9a(0x15e)](_0x3f932){const _0x81d7fe=_0x386c9a;let _0x5d593a=await this[_0x81d7fe(0x310)][_0x81d7fe(0x140)](_0x3f932),_0x4a33e6=this[_0x81d7fe(0x2f4)][_0x81d7fe(0x300)](_0x2c552f,_0x3f932,_0x5d593a);return _0x4a33e6['init'](),_0x4a33e6;}async[_0x386c9a(0x3a7)](_0x1398c3){const _0x327748=_0x386c9a;let _0x5a90b5=await this['_collabSessionService'][_0x327748(0x140)](_0x1398c3),_0x322ff8=this['_injector'][_0x327748(0x300)](_0x3e60a0,_0x1398c3,_0x5a90b5);return _0x322ff8[_0x327748(0x206)](),_0x322ff8;}};_0x54c193=_0x442f80([_0x148b43(0x0,_0x3188ec[_0x386c9a(0x1d1)]),_0x148b43(0x1,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x3188ec[_0x386c9a(0x395)])),_0x148b43(0x2,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x2248ce[_0x386c9a(0xed)]))],_0x54c193);let _0x53ff03=class extends _0x3188ec['RxDisposable']{constructor(_0x2b6258,_0x4113be,_0x451d70){const _0x4ece41=_0x386c9a;super(),this[_0x4ece41(0x334)]=_0x2b6258,this[_0x4ece41(0x1ca)]=_0x4113be,this[_0x4ece41(0x342)]=_0x451d70,_0x2109ac(this,'_cursors',new Set()),_0x2109ac(this,_0x4ece41(0xc6),!0x1),_0x2109ac(this,_0x4ece41(0xf9),!0x1),_0x2109ac(this,_0x4ece41(0x3bd),new Map()),this[_0x4ece41(0x34d)]();}[_0x386c9a(0x228)](){const _0x23d2a5=_0x386c9a;this[_0x23d2a5(0x289)](),super[_0x23d2a5(0x228)]();}[_0x386c9a(0x34d)](){const _0x598b23=_0x386c9a;let _0x4c826b=this[_0x598b23(0x1ca)]['getCollabCursors$'](this[_0x598b23(0x334)][_0x598b23(0x232)]);this[_0x598b23(0x2da)]((0x0,_0x3188ec[_0x598b23(0x34e)])((0x0,_0x3a9a2c[_0x598b23(0x2f9)])([_0x4c826b,this['_context']['unit']['theme$'],this[_0x598b23(0x342)][_0x598b23(0x29c)]])[_0x598b23(0x32a)]((0x0,_0x3a9a2c[_0x598b23(0x1ef)])(this[_0x598b23(0x181)]))[_0x598b23(0x341)](([_0x1c86f1])=>{const _0xd568ab=_0x598b23;let _0x9e68c6=this[_0xd568ab(0x334)][_0xd568ab(0x1f3)][_0xd568ab(0x22a)](),_0x5356e1=new Map();_0x1c86f1[_0xd568ab(0x32f)]((_0x138706,_0x1ceb52)=>{const _0x28216d=_0xd568ab;_0x138706[_0x28216d(0x2f0)]===_0x9e68c6&&_0x5356e1[_0x28216d(0x2eb)](_0x1ceb52,{..._0x138706,'color':this[_0x28216d(0x342)][_0x28216d(0x38e)](_0x138706[_0x28216d(0x325)])});}),this[_0xd568ab(0x3bd)]=_0x5356e1,this[_0xd568ab(0xbd)]();})));let _0x4a0076=this[_0x598b23(0x334)][_0x598b23(0x1a3)];this[_0x598b23(0x2da)]((0x0,_0x3188ec[_0x598b23(0x34e)])(_0x4a0076[_0x598b23(0xb5)]['pipe']((0x0,_0x3a9a2c[_0x598b23(0x1ef)])(this[_0x598b23(0x181)]))[_0x598b23(0x341)](()=>{const _0x5639c4=_0x598b23;this[_0x5639c4(0xf9)]||this['_scheduleRender']();})));}[_0x386c9a(0xbd)](){const _0x36a0f8=_0x386c9a;this['_renderScheduled']||(this['_renderScheduled']=!0x0,Promise['resolve']()[_0x36a0f8(0x11a)](()=>{const _0xf241b7=_0x36a0f8;this[_0xf241b7(0xc6)]=!0x1,this[_0xf241b7(0x15f)]();}));}[_0x386c9a(0x15f)](){const _0x393b9c=_0x386c9a;this[_0x393b9c(0x289)]();let _0x4eed57=this[_0x393b9c(0x334)][_0x393b9c(0x1f3)][_0x393b9c(0x22a)](),_0x113017=[];if(this[_0x393b9c(0x3bd)][_0x393b9c(0x32f)]((_0x5e1932,_0x431422)=>{const _0x1886d2=_0x393b9c;_0x5e1932[_0x1886d2(0x2f0)]===_0x4eed57&&_0x5e1932[_0x1886d2(0x2bc)][_0x1886d2(0x32f)](_0x1a6047=>{const _0x273312=_0x1886d2;let _0x1637a7=(0x0,_0x20b4fa[_0x273312(0x20c)])(_0x5e1932[_0x273312(0x232)],_0x1a6047),_0x429387=this[_0x273312(0x37e)](_0x1637a7);if(!_0x429387)return;let _0x1dfae2=this[_0x273312(0x19e)](_0x429387);_0x113017['push'](new _0x36c05d(_0x273312(0x3e6)+_0x431422+'-'+_0x1a6047,{..._0x5e1932,'left':_0x1dfae2[_0x273312(0x268)],'top':_0x1dfae2[_0x273312(0x138)],'width':_0x1dfae2['width'],'height':_0x1dfae2[_0x273312(0x302)],'angle':_0x429387[_0x273312(0x2b7)],'evented':!0x1,'zIndex':_0x4f92ff}));});}),_0x113017[_0x393b9c(0x368)]===0x0){this[_0x393b9c(0x334)][_0x393b9c(0x1a3)]['makeDirty'](!0x0);return;}this[_0x393b9c(0xf9)]=!0x0,this[_0x393b9c(0x334)][_0x393b9c(0x1a3)][_0x393b9c(0x1b6)](_0x113017,_0x4f92ff),this[_0x393b9c(0xf9)]=!0x1,this[_0x393b9c(0x160)]=new Set(_0x113017),this[_0x393b9c(0x334)][_0x393b9c(0x1a3)][_0x393b9c(0x216)](!0x0);}['_removeCollabCursors'](){const _0x1500bd=_0x386c9a;let _0x4aba3d=Array[_0x1500bd(0x143)](this[_0x1500bd(0x160)]);if(_0x4aba3d[_0x1500bd(0x368)]===0x0)return;let _0x340cb8=this[_0x1500bd(0x334)][_0x1500bd(0x1a3)];_0x1500bd(0x12c)in _0x340cb8&&typeof _0x340cb8[_0x1500bd(0x12c)]=='function'?_0x340cb8['removeObjects'](_0x4aba3d):_0x4aba3d['forEach'](_0x24b359=>{const _0xaeb2f0=_0x1500bd;_0xaeb2f0(0x1fa)in _0x340cb8&&typeof _0x340cb8[_0xaeb2f0(0x1fa)]==_0xaeb2f0(0x14f)?_0x340cb8[_0xaeb2f0(0x1fa)](_0x24b359):_0x24b359[_0xaeb2f0(0x228)]();}),this[_0x1500bd(0x160)][_0x1500bd(0x2e2)](),_0x340cb8[_0x1500bd(0x216)](!0x0);}[_0x386c9a(0x37e)](_0x1543a9){const _0x4a6e45=_0x386c9a;var _0x3d9d4c,_0x2d76d3,_0x55a486;let _0xbbc8d8=this[_0x4a6e45(0x334)][_0x4a6e45(0x1a3)];return(_0x3d9d4c=(_0x2d76d3=(_0x55a486=_0xbbc8d8[_0x4a6e45(0x1fe)])==null?void 0x0:_0x55a486[_0x4a6e45(0x266)](_0xbbc8d8,_0x1543a9))==null?_0xbbc8d8[_0x4a6e45(0x2a1)](_0x1543a9):_0x2d76d3)==null?null:_0x3d9d4c;}[_0x386c9a(0x19e)](_0x239332){const _0x21c0a5=_0x386c9a;var _0x2e6b5f,_0x4c9d3f;let _0x530439=_0x239332;return(_0x2e6b5f=(_0x4c9d3f=_0x530439[_0x21c0a5(0x1a0)])==null?void 0x0:_0x4c9d3f[_0x21c0a5(0x266)](_0x530439))==null?{'left':_0x239332[_0x21c0a5(0x268)],'top':_0x239332['top'],'width':_0x239332['width'],'height':_0x239332[_0x21c0a5(0x302)]}:_0x2e6b5f;}};_0x53ff03=_0x442f80([_0x148b43(0x1,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x54c193)),_0x148b43(0x2,(0x0,_0x3188ec['Inject'])(_0x3188ec[_0x386c9a(0x3d6)]))],_0x53ff03);let _0x33ebc2=_0x386c9a(0x3b9);var _0x2946af=class{constructor(_0x4ab7d8,_0x5d32f8,_0x3008a7,_0x217592){const _0x327ce1=_0x386c9a;this[_0x327ce1(0x132)]=_0x4ab7d8,this[_0x327ce1(0x23d)]=_0x5d32f8,this[_0x327ce1(0x385)]=_0x3008a7,this[_0x327ce1(0xf7)]=_0x217592,_0x2109ac(this,'_shapes',[]),_0x2109ac(this,_0x327ce1(0x20d),null),_0x2109ac(this,_0x327ce1(0x194),null),_0x2109ac(this,_0x327ce1(0x2f7),null),_0x2109ac(this,_0x327ce1(0x25a),null),_0x2109ac(this,'_eventUnsubscribe',null),this[_0x327ce1(0x15f)]();}set[_0x386c9a(0x336)](_0x229536){const _0x2b8aa2=_0x386c9a;_0x229536?(this[_0x2b8aa2(0x2f7)]&&this['_anchorDot'][_0x2b8aa2(0x397)](),this['_textBubble']&&this[_0x2b8aa2(0x194)][_0x2b8aa2(0x386)]()):(this['_anchorDot']&&this[_0x2b8aa2(0x2f7)][_0x2b8aa2(0x386)](),this['_textBubble']&&this[_0x2b8aa2(0x194)][_0x2b8aa2(0x397)]());}['dispose'](){const _0x166f3f=_0x386c9a;for(let _0x4a0d48 of this[_0x166f3f(0x26c)])_0x4a0d48[_0x166f3f(0x228)]();this[_0x166f3f(0x194)]&&this[_0x166f3f(0x194)][_0x166f3f(0x228)](),this[_0x166f3f(0x2f7)]&&this[_0x166f3f(0x2f7)][_0x166f3f(0x228)](),this[_0x166f3f(0x20d)]&&this[_0x166f3f(0x20d)]['dispose'](),this['_eventUnsubscribe']&&this[_0x166f3f(0x34c)]();}['_render'](){const _0x461c6f=_0x386c9a;let {_docSkeleton:_0x11245e,_document:_0x5c2926}=this,{color:_0x1e043c,name:_0x5377e5,ranges:_0x43e8df}=this[_0x461c6f(0x132)],_0x2ef92f=_0x5c2926[_0x461c6f(0x192)](),{docsLeft:_0x1f3538,docsTop:_0x58b0d1}=_0x2ef92f,_0x341831=new _0x390782[(_0x461c6f(0x393))](_0x2ef92f,_0x11245e);for(let {startOffset:_0x28c384,endOffset:_0x4e1f93,rangeType:_0x2e048e,segmentId:_0x517789,segmentPage:_0x33bf8e,collapsed:_0x8cc3ad,isActive:_0x2c221f}of _0x43e8df){let _0x28db49=_0x11245e[_0x461c6f(0x1e8)](_0x28c384,!0x0,_0x517789,_0x33bf8e),_0xe0611f=_0x11245e['findNodePositionByCharIndex'](_0x4e1f93,!0x0,_0x517789,_0x33bf8e);if(_0xe0611f==null&&(_0xe0611f=_0x11245e[_0x461c6f(0x1e8)](_0x4e1f93-0x1,!0x1,_0x517789,_0x33bf8e)),_0x2c221f){let {contentBoxPointGroup:_0x3d6378}=_0x341831[_0x461c6f(0x2e3)](_0xe0611f,_0xe0611f);if(_0x3d6378[_0x461c6f(0x368)]===0x0)continue;this[_0x461c6f(0x3ab)](_0x1e043c,_0x3d6378,_0x1f3538,_0x58b0d1,_0x5377e5),this[_0x461c6f(0x34c)]=this['_handleHover']();}if(_0x28db49&&_0xe0611f){if(_0x2e048e===_0x3188ec[_0x461c6f(0x35d)]['RECT']){var _0x30eb08;let {pointGroup:_0x13df13}=(_0x30eb08=new _0x390782['NodePositionConvertToRectRange'](_0x2ef92f,_0x11245e)['getRangePointData'](_0x28db49,_0xe0611f))==null?{}:_0x30eb08;if(_0x13df13==null||_0x13df13[_0x461c6f(0x368)]===0x0)continue;this[_0x461c6f(0x137)](_0x1e043c,_0x13df13,_0x1f3538,_0x58b0d1);}else{if(!_0x8cc3ad){let {borderBoxPointGroup:_0x520205}=_0x341831[_0x461c6f(0x2e3)](_0x28db49,_0xe0611f);if(_0x520205[_0x461c6f(0x368)]===0x0)continue;this[_0x461c6f(0x3e0)](_0x1e043c,_0x520205,_0x1f3538,_0x58b0d1);}}}}}[_0x386c9a(0x3ab)](_0x5a8e14,_0x82cbb0,_0x444ac0,_0x3f9f2e,_0x4f996b){const _0xf41ec4=_0x386c9a;let {left:_0x31597f,top:_0x365767,height:_0x261072}=this[_0xf41ec4(0xb2)](_0x82cbb0),_0x5c2f74=1.5/this[_0xf41ec4(0x173)](),_0xa0eaa=new _0x38b39d[(_0xf41ec4(0x281))](_0x33ebc2+(0x0,_0x3188ec['generateRandomId'])(0x6),{'left':_0x31597f+_0x444ac0-_0x5c2f74,'top':_0x365767+_0x3f9f2e,'height':_0x261072,'width':1.5,'fill':_0x5a8e14||(0x0,_0x38b39d[_0xf41ec4(0x3c0)])(_0x3188ec[_0xf41ec4(0x319)]['black'],0x0),'strokeWidth':_0x5c2f74,'stroke':_0xf41ec4(0x3ef),'evented':!0x0});this['_anchor']=_0xa0eaa,this[_0xf41ec4(0x23d)][_0xf41ec4(0x30f)](_0xa0eaa,_0x390782[_0xf41ec4(0x23f)]);let _0x5a711d=new _0x38b39d[(_0xf41ec4(0x281))](_0x33ebc2+(0x0,_0x3188ec['generateRandomId'])(0x6),{'left':_0x31597f+_0x444ac0-_0x5c2f74,'top':_0x365767+_0x3f9f2e-0x4/0x2,'height':0x4,'width':0x4,'fill':_0x5a8e14||(0x0,_0x38b39d['getColor'])(_0x3188ec[_0xf41ec4(0x319)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x5a8e14||(0x0,_0x38b39d['getColor'])(_0x3188ec[_0xf41ec4(0x319)][_0xf41ec4(0x1da)],0x0),'evented':!0x1});this[_0xf41ec4(0x2f7)]=_0x5a711d,this['_scene'][_0xf41ec4(0x30f)](_0x5a711d,_0x390782[_0xf41ec4(0x23f)]);let _0x2af94c=new _0x19e9c3(_0x33ebc2+(0x0,_0x3188ec[_0xf41ec4(0x1b4)])(0x6),{'left':_0x31597f+_0x444ac0-_0x5c2f74,'top':_0x365767+_0x3f9f2e-0x14,'text':_0x4f996b,'color':_0x5a8e14});this[_0xf41ec4(0x194)]=_0x2af94c,this['_scene']['addObject'](_0x2af94c,_0x390782['TEXT_RANGE_LAYER_INDEX']),this[_0xf41ec4(0x336)]=!0x1;}[_0x386c9a(0x296)](){const _0x467340=_0x386c9a;let _0x5b3cf3=this['_anchor'][_0x467340(0x29b)][_0x467340(0x347)](()=>{const _0x302e88=_0x467340;this[_0x302e88(0x336)]=!0x0;}),_0x4b6c6e=this[_0x467340(0x20d)][_0x467340(0x40c)]['subscribeEvent'](()=>{const _0x4df926=_0x467340;this['_hideTimer']&&clearTimeout(this[_0x4df926(0x25a)]),this[_0x4df926(0x25a)]=setTimeout(()=>{const _0x1c4ef7=_0x4df926;this[_0x1c4ef7(0x336)]=!0x1;},0x7d0);});return()=>{const _0x25e87e=_0x467340;_0x5b3cf3[_0x25e87e(0x2db)](),_0x4b6c6e[_0x25e87e(0x2db)]();};}[_0x386c9a(0x3e0)](_0x46e43a,_0x2e1b28,_0x2a02db,_0x18b46f){const _0x489113=_0x386c9a;let _0x304c95=0.2,_0x4d34ff=new _0x3188ec['ColorKit'](_0x46e43a)['setAlpha'](_0x304c95)[_0x489113(0x2be)](),_0x53703c=new _0x38b39d[(_0x489113(0x2b1))](_0x489113(0x13b)+(0x0,_0x3188ec[_0x489113(0x1b4)])(0x6),{'pointsGroup':_0x2e1b28,'fill':_0x4d34ff||(0x0,_0x38b39d[_0x489113(0x3c0)])(_0x3188ec[_0x489113(0x319)][_0x489113(0x1da)],_0x304c95),'left':_0x2a02db,'top':_0x18b46f,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x489113(0x18e)](_0x53703c),this[_0x489113(0x23d)][_0x489113(0x30f)](_0x53703c,_0x390782[_0x489113(0x23f)]);}['_drawRectRange'](_0x2fe901,_0x1dcc5f,_0x1bf09a,_0x247707){const _0x820638=_0x386c9a;let _0x59e587=0.2,_0x1d44e9=new _0x3188ec['ColorKit'](_0x2fe901)['setAlpha'](_0x59e587)[_0x820638(0x2be)](),_0x433ca6=new _0x38b39d[(_0x820638(0x2b1))](_0x820638(0xd3)+(0x0,_0x3188ec[_0x820638(0x1b4)])(0x6),{'pointsGroup':_0x1dcc5f,'fill':_0x1d44e9||(0x0,_0x38b39d[_0x820638(0x3c0)])(_0x3188ec['COLORS'][_0x820638(0x1da)],_0x59e587),'left':_0x1bf09a,'top':_0x247707,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x820638(0x26c)][_0x820638(0x18e)](_0x433ca6),this[_0x820638(0x23d)][_0x820638(0x30f)](_0x433ca6,_0x390782[_0x820638(0x23f)]);}[_0x386c9a(0xb2)](_0x272318){let _0x1fb558=_0x272318[0x0],_0x12d0c5=_0x1fb558[0x0],_0x2ccfde=_0x1fb558[0x2],{x:_0x1e8edc,y:_0x32a908}=_0x12d0c5,{x:_0x46ec63,y:_0x497341}=_0x2ccfde;return{'left':_0x1e8edc,'top':_0x32a908,'width':_0x46ec63-_0x1e8edc,'height':_0x497341-_0x32a908};}[_0x386c9a(0x173)](){const _0xf29d5f=_0x386c9a;let {scaleX:_0x26ddbe,scaleY:_0x238f7f}=this['_scene']['getAncestorScale']();return Math[_0xf29d5f(0x3da)](_0x26ddbe,_0x238f7f);}};let _0x55d48b=class extends _0x3188ec['RxDisposable']{constructor(_0x2769f8,_0xa25ba6,_0x1b53f8,_0x107656,_0x54f27d){const _0xf29a13=_0x386c9a;super(),this[_0xf29a13(0x334)]=_0x2769f8,this[_0xf29a13(0x145)]=_0xa25ba6,this[_0xf29a13(0x1ca)]=_0x1b53f8,this['_commandService']=_0x107656,this[_0xf29a13(0x342)]=_0x54f27d,_0x2109ac(this,_0xf29a13(0x313),[]),_0x2109ac(this,'_cursors',[]),this[_0xf29a13(0x34d)]();}[_0x386c9a(0x34d)](){const _0x4436f9=_0x386c9a;let _0x50058b=this[_0x4436f9(0x334)][_0x4436f9(0x232)],_0x1d400e=this[_0x4436f9(0x145)];this[_0x4436f9(0x2da)]((0x0,_0x3a9a2c[_0x4436f9(0x2f9)])([this[_0x4436f9(0x1ca)][_0x4436f9(0x203)](_0x50058b),this[_0x4436f9(0x342)][_0x4436f9(0x29c)]])[_0x4436f9(0x32a)]((0x0,_0x30c188['map'])(([_0x2fa5b7,_0x295257])=>({'skeleton':_0x1d400e['getSkeleton'](),'cursors':[..._0x2fa5b7['values']()][_0x4436f9(0x366)](_0x421d19=>({..._0x421d19,'color':this[_0x4436f9(0x342)][_0x4436f9(0x38e)](_0x421d19[_0x4436f9(0x325)])}))})))[_0x4436f9(0x341)](_0x341f9d=>{const _0x4c7dc2=_0x4436f9;if(this[_0x4c7dc2(0x289)](),_0x341f9d){let {skeleton:_0x3602f7,cursors:_0x10f5bf}=_0x341f9d;this[_0x4c7dc2(0x2ce)](_0x3602f7,_0x10f5bf);}})),this[_0x4436f9(0x13e)](),this[_0x4436f9(0x2ae)]();}[_0x386c9a(0x2ce)](_0x35ba6a,_0x387b92){const _0x40aed8=_0x386c9a;let {scene:_0x5e5d37,mainComponent:_0x33e316}=this['_context'],_0x564f6a=_0x387b92[_0x40aed8(0x2a3)](_0x295e99=>new _0x2946af(_0x295e99,_0x5e5d37,_0x35ba6a,_0x33e316));this[_0x40aed8(0x313)]=_0x564f6a,this['_cursors']=_0x387b92;}['_refreshCollabCursors'](){const _0xd0a8f5=_0x386c9a;this[_0xd0a8f5(0x289)]();let {scene:_0x32d847,mainComponent:_0x50e2ec}=this[_0xd0a8f5(0x334)],_0x3c2064=this['_docSkeletonManagerService']['getSkeleton'](),_0x1d0aef=this[_0xd0a8f5(0x160)][_0xd0a8f5(0x2a3)](_0x264f6b=>new _0x2946af(_0x264f6b,_0x32d847,_0x3c2064,_0x50e2ec));this[_0xd0a8f5(0x313)]=_0x1d0aef;}[_0x386c9a(0x289)](){const _0x2bb587=_0x386c9a;this[_0x2bb587(0x313)][_0x2bb587(0x32f)](_0x304795=>_0x304795[_0x2bb587(0x228)]()),this['_cursorShapes']=[];}[_0x386c9a(0x2ae)](){const _0x87b6e=_0x386c9a;let _0xde2eb0=[_0x390782[_0x87b6e(0x340)]['id']];this[_0x87b6e(0x2da)](this[_0x87b6e(0xc7)]['onCommandExecuted'](_0x5bfaf0=>{const _0x133ad3=_0x87b6e;_0xde2eb0[_0x133ad3(0x261)](_0x5bfaf0['id'])&&_0x5bfaf0[_0x133ad3(0x3a4)]['unitId']===this[_0x133ad3(0x334)][_0x133ad3(0x232)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x46bbaa=_0x386c9a;this[_0x46bbaa(0x2da)]((0x0,_0x3188ec[_0x46bbaa(0x1ab)])(this[_0x46bbaa(0x334)][_0x46bbaa(0x2b0)][_0x46bbaa(0x382)])[_0x46bbaa(0x32a)]((0x0,_0x30c188[_0x46bbaa(0x26a)])(_0x2b3fae=>_0x2b3fae['type']===_0x38b39d[_0x46bbaa(0x2ec)][_0x46bbaa(0x112)]),(0x0,_0x30c188[_0x46bbaa(0x10f)])(0x10))['subscribe'](()=>{const _0x1e1778=_0x46bbaa;this[_0x1e1778(0x1ee)]();}));}};_0x55d48b=_0x442f80([_0x148b43(0x1,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x12c761[_0x386c9a(0x349)])),_0x148b43(0x2,(0x0,_0x3188ec['Inject'])(_0x54c193)),_0x148b43(0x3,_0x3188ec[_0x386c9a(0x13c)]),_0x148b43(0x4,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x3188ec['ThemeService']))],_0x55d48b);var _0x294254=class extends _0x38b39d['Shape']{constructor(_0x5c3c8a,_0x3b6708){const _0x4fdad6=_0x386c9a;if(super(_0x5c3c8a,_0x3b6708),_0x2109ac(this,_0x4fdad6(0xa7),void 0x0),_0x2109ac(this,_0x4fdad6(0x13a),!0x1),_0x2109ac(this,_0x4fdad6(0x344),void 0x0),_0x2109ac(this,_0x4fdad6(0x1bd),''),_0x2109ac(this,_0x4fdad6(0x1b7),_0x4fdad6(0x138)),_0x2109ac(this,'_backgroundColor',void 0x0),_0x2109ac(this,'_showText',void 0x0),_0x2109ac(this,'_highlight',void 0x0),_0x2109ac(this,_0x4fdad6(0x25e),0x4),_0x2109ac(this,_0x4fdad6(0x314),void 0x0),_0x2109ac(this,_0x4fdad6(0x14e),void 0x0),_0x2109ac(this,_0x4fdad6(0x278),!0x0),_0x2109ac(this,_0x4fdad6(0xca),0x0),_0x2109ac(this,_0x4fdad6(0x1f6),_0x4fdad6(0x28c)),_0x3b6708){var _0x36e437;if(this['setShapeProps'](_0x3b6708),_0x3b6708[_0x4fdad6(0x40a)]&&((_0x36e437=_0x3b6708[_0x4fdad6(0x2d7)])==null?this['_highlightSecond']:_0x36e437)){var _0x2403c6;this['_startBlinking']((_0x2403c6=_0x3b6708[_0x4fdad6(0x2d7)])==null?this['_highlightSecond']:_0x2403c6);}}this[_0x4fdad6(0x29b)][_0x4fdad6(0x347)](()=>this[_0x4fdad6(0x3b4)]({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0x4fdad6(0x3b4)]({'hovered':!0x1}));}[_0x386c9a(0x280)](_0x2025ad){const _0x1cc82a=_0x386c9a;this[_0x1cc82a(0xca)]=_0x2025ad;}[_0x386c9a(0x3b4)](_0x2dbc2e){const _0x4cb65a=_0x386c9a;var _0x489b9a,_0x31bbb2,_0x4a480f,_0x5831a2,_0x13271b,_0x341f20,_0x2890ad,_0x3c0ea0;this[_0x4cb65a(0xa7)]=(_0x489b9a=_0x2dbc2e[_0x4cb65a(0x325)])==null?this[_0x4cb65a(0xa7)]:_0x489b9a,this[_0x4cb65a(0x13a)]=(_0x31bbb2=_0x2dbc2e[_0x4cb65a(0x372)])==null?this[_0x4cb65a(0x13a)]:_0x31bbb2,this['_range']=(_0x4a480f=_0x2dbc2e['range'])==null?this[_0x4cb65a(0x344)]:_0x4a480f,this[_0x4cb65a(0x1bd)]=(_0x5831a2=_0x2dbc2e[_0x4cb65a(0x10e)])==null?this[_0x4cb65a(0x1bd)]:_0x5831a2,this['_labelPosition']=(_0x13271b=_0x2dbc2e[_0x4cb65a(0x1d4)])==null?this[_0x4cb65a(0x1b7)]:_0x13271b,this[_0x4cb65a(0x285)]=(_0x341f20=_0x2dbc2e[_0x4cb65a(0x1ce)])==null?this[_0x4cb65a(0x285)]:_0x341f20,this['_showText']=(_0x2890ad=_0x2dbc2e[_0x4cb65a(0x40f)])==null?this['_showText']:_0x2890ad,this[_0x4cb65a(0x1f6)]=(_0x3c0ea0=_0x2dbc2e[_0x4cb65a(0xda)])==null?this[_0x4cb65a(0x1f6)]:_0x3c0ea0,_0x2dbc2e[_0x4cb65a(0x2d7)]!==void 0x0&&(this[_0x4cb65a(0x25e)]=_0x2dbc2e[_0x4cb65a(0x2d7)]),_0x2dbc2e[_0x4cb65a(0x40a)]!==void 0x0&&(this[_0x4cb65a(0x2f5)]=_0x2dbc2e[_0x4cb65a(0x40a)]),_0x2dbc2e['offsetY']!==void 0x0&&(this['_offsetY']=_0x2dbc2e[_0x4cb65a(0x130)]),this['transformByState']({'width':_0x2dbc2e['width'],'height':_0x2dbc2e[_0x4cb65a(0x302)]});}[_0x386c9a(0x1f1)](_0xd7e83f){const _0x5028b8=_0x386c9a;let {row:_0x269506,column:_0xd745a1}=_0xd7e83f;if(_0x269506>=this['_range'][_0x5028b8(0x200)]&&_0x269506<=this[_0x5028b8(0x344)][_0x5028b8(0x39a)]&&_0xd745a1>=this[_0x5028b8(0x344)]['startColumn']&&_0xd745a1<=this[_0x5028b8(0x344)][_0x5028b8(0x279)]){this[_0x5028b8(0x3b4)]({'hovered':!0x0});return;}this[_0x5028b8(0x3b4)]({'hovered':!0x1});}['_startBlinking'](_0x8e7300){const _0x292dd3=_0x386c9a;this[_0x292dd3(0x16a)](),this[_0x292dd3(0x278)]=!0x0,this[_0x292dd3(0x14e)]=window['setInterval'](()=>{const _0x54edc0=_0x292dd3;this[_0x54edc0(0x278)]=!this[_0x54edc0(0x278)],this[_0x54edc0(0x216)](!0x0);},0x1f4),this[_0x292dd3(0x314)]=window['setTimeout'](()=>{const _0x4d4d86=_0x292dd3;this[_0x4d4d86(0x16a)](),this['_isBlinkVisible']=!0x0,this[_0x4d4d86(0x216)](!0x0);},_0x8e7300*0x3e8);}[_0x386c9a(0x16a)](){const _0x445d7e=_0x386c9a;this[_0x445d7e(0x14e)]&&(window['clearInterval'](this['_blinkIntervalTimer']),this[_0x445d7e(0x14e)]=void 0x0),this[_0x445d7e(0x314)]&&(window[_0x445d7e(0x3c6)](this[_0x445d7e(0x314)]),this['_blinkTimer']=void 0x0);}['triggerDblclick'](_0x4e7a85){return!0x1;}['dispose'](){const _0x39893e=_0x386c9a;this[_0x39893e(0x16a)](),super[_0x39893e(0x228)]();}[_0x386c9a(0x263)](_0x12f729){const _0x4384df=_0x386c9a;let _0x2a36ff=this[_0x4384df(0xa7)],_0x2063df=this[_0x4384df(0x285)];if(this[_0x4384df(0x2f5)]&&!this[_0x4384df(0x278)]&&(_0x2a36ff=this['_getLighterColor'](this['_color']),_0x2063df=this['_backgroundColor']?this[_0x4384df(0xb9)](this[_0x4384df(0x285)]):void 0x0),_0x38b39d[_0x4384df(0x281)]['drawWith'](_0x12f729,{'width':this[_0x4384df(0x380)],'height':this[_0x4384df(0x302)],'strokeWidth':this[_0x4384df(0x115)]||1.5,'stroke':_0x2a36ff,'evented':!0x1,'fill':_0x2063df}),this[_0x4384df(0x13a)]||this[_0x4384df(0x318)]){var _0xc3ffe;_0x12f729['save']();let _0x39b5b7=this['_labelHorizontalPosition']===_0x4384df(0x268)?-_0x25e53d(_0x12f729,this[_0x4384df(0x1bd)]):this[_0x4384df(0x380)];_0x12f729[_0x4384df(0x2c1)](0x1,0x0,0x0,0x1,_0x39b5b7,(this[_0x4384df(0x1b7)]===_0x4384df(0x123)?0x0:-0x14)+((_0xc3ffe=this[_0x4384df(0xca)])==null?0x0:_0xc3ffe)),_0x19e9c3[_0x4384df(0x282)](_0x12f729,{'text':this['_name'],'color':_0x2a36ff}),_0x12f729[_0x4384df(0xad)]();}}['_getLighterColor'](_0x4d8269){const _0x47c9d3=_0x386c9a;return _0x4d8269[_0x47c9d3(0x2bb)]('#')?_0x47c9d3(0x33f)+Number[_0x47c9d3(0x11d)](_0x4d8269['slice'](0x1,0x3),0x10)+',\x20'+Number[_0x47c9d3(0x11d)](_0x4d8269[_0x47c9d3(0x400)](0x3,0x5),0x10)+',\x20'+Number[_0x47c9d3(0x11d)](_0x4d8269[_0x47c9d3(0x400)](0x5,0x7),0x10)+',\x200.2)':_0x4d8269[_0x47c9d3(0x2bb)](_0x47c9d3(0x2ad))?_0x4d8269[_0x47c9d3(0x131)](/[\d.]+\)$/g,_0x47c9d3(0xb7)):_0x4d8269[_0x47c9d3(0x2bb)](_0x47c9d3(0x265))?_0x4d8269[_0x47c9d3(0x131)](_0x47c9d3(0x265),'rgba')[_0x47c9d3(0x131)](')',_0x47c9d3(0x29f)):_0x4d8269;}};let _0x460895=class extends _0x3188ec[_0x386c9a(0x164)]{constructor(_0x4f44e9,_0x4df486,_0x2778e4,_0x3a9441){const _0x179a5a=_0x386c9a;super(),this['_context']=_0x4f44e9,this[_0x179a5a(0x264)]=_0x4df486,this[_0x179a5a(0x1ca)]=_0x2778e4,this[_0x179a5a(0x342)]=_0x3a9441,_0x2109ac(this,_0x179a5a(0x160),new Set()),_0x2109ac(this,_0x179a5a(0x321),null),_0x2109ac(this,_0x179a5a(0x3f6),null),this[_0x179a5a(0x34d)]();}[_0x386c9a(0x34d)](){const _0x54ff73=_0x386c9a;this[_0x54ff73(0x264)][_0x54ff73(0x27d)][_0x54ff73(0x32a)]((0x0,_0x30c188['takeUntil'])(this['dispose$']),(0x0,_0x30c188[_0x54ff73(0x177)])(_0x45ab55=>{const _0x5b4981=_0x54ff73;if(_0x45ab55){let _0x57f5db=_0x45ab55['sheetId'];return(0x0,_0x3a9a2c[_0x5b4981(0x2f9)])(this[_0x5b4981(0x1ca)]['getCollabCursors$'](this[_0x5b4981(0x334)][_0x5b4981(0x232)]),this['_themeService'][_0x5b4981(0x29c)])[_0x5b4981(0x32a)]((0x0,_0x30c188[_0x5b4981(0x2a3)])(([_0x30bc77,_0x347dd4])=>{let _0x43ec61=new Map();return _0x30bc77['forEach']((_0x1b716e,_0x2da8b1)=>{const _0x4ef92f=_0xbfb2;if(_0x1b716e[_0x4ef92f(0x2ef)]===_0x57f5db){let _0x456a3d={..._0x1b716e};_0x456a3d[_0x4ef92f(0x325)]=this[_0x4ef92f(0x342)]['getColorFromTheme'](_0x1b716e['color']),_0x43ec61[_0x4ef92f(0x2eb)](_0x2da8b1,_0x456a3d);}}),{'skeleton':_0x45ab55,'cursors':_0x43ec61};}));}return(0x0,_0x3a9a2c['of'])({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x15b869,cursors:_0x46ab18})=>{const _0x39ff7c=_0x54ff73;this['_removeCollabCursors'](),_0x15b869&&this[_0x39ff7c(0x2ce)](_0x15b869,_0x46ab18);}),this[_0x54ff73(0x2da)](this[_0x54ff73(0x264)][_0x54ff73(0x27d)][_0x54ff73(0x32a)]((0x0,_0x30c188[_0x54ff73(0x1ef)])(this['dispose$']))[_0x54ff73(0x341)](_0x249d91=>{const _0xe27445=_0x54ff73;var _0x378597;if(_0x249d91==null)return;(_0x378597=this[_0xe27445(0x3f6)])==null||_0x378597[_0xe27445(0x2db)](),this[_0xe27445(0x3f6)]=null;let {skeleton:_0x2214ae}=_0x249d91,{scene:_0x5c2e61}=this[_0xe27445(0x334)];this[_0xe27445(0x3f6)]=_0x5c2e61['onPointerMove$']['subscribeEvent']((0x0,_0x3188ec[_0xe27445(0x15a)])(_0x45a40e=>{const _0x153430=_0xe27445;var _0x2fd930,_0x20d34c;let {offsetX:_0x32de3b,offsetY:_0x55a9bf}=_0x45a40e,{x:_0x40cbb4,y:_0x290025}=_0x5c2e61[_0x153430(0x1e3)](_0x38b39d[_0x153430(0x3fc)]['FromArray']([_0x32de3b,_0x55a9bf])),{scaleX:_0x4270a2,scaleY:_0x1884db}=_0x5c2e61[_0x153430(0xdd)](),_0x273a8a=_0x5c2e61[_0x153430(0x2e9)](_0x38b39d[_0x153430(0x218)][_0x153430(0xf8)]),_0x5ae0b8=_0x5c2e61[_0x153430(0x306)](_0x38b39d[_0x153430(0x3fc)][_0x153430(0x36c)]([_0x40cbb4,_0x290025]),_0x273a8a),_0x483f5b=_0x2214ae['getCellIndexByOffset'](_0x32de3b,_0x55a9bf,_0x4270a2,_0x1884db,_0x5ae0b8);(((_0x2fd930=this[_0x153430(0x321)])==null?void 0x0:_0x2fd930['column'])!==_0x483f5b[_0x153430(0x187)]||((_0x20d34c=this['_lastPointer'])==null?void 0x0:_0x20d34c['row'])!==_0x483f5b[_0x153430(0x2cf)])&&this[_0x153430(0x160)][_0x153430(0x32f)](_0x3a89ab=>{const _0x478040=_0x153430;_0x3a89ab[_0x478040(0x1f1)](_0x483f5b);});},0x64));})),this['disposeWithMe']((0x0,_0x3188ec[_0x54ff73(0x34e)])(()=>{const _0x1f0556=_0x54ff73;var _0xb383e0;(_0xb383e0=this[_0x1f0556(0x3f6)])==null||_0xb383e0[_0x1f0556(0x2db)](),this[_0x1f0556(0x3f6)]=null;}));}[_0x386c9a(0x2ce)](_0x17519c,_0x4ac487){const _0x404c47=_0x386c9a;let _0x1dd9ee=this['_sheetSkeletonManagerService'][_0x404c47(0x2c0)]();if(!_0x1dd9ee)return;let _0x4e412d=this[_0x404c47(0x247)]();if(!_0x4e412d)return;this[_0x404c47(0x160)][_0x404c47(0x32f)](_0x2d07c4=>{const _0x3594f1=_0x404c47;_0x2d07c4[_0x3594f1(0x216)]();});let {scene:_0x132792}=_0x4e412d,_0x210c37=_0x12cd55(Array[_0x404c47(0x143)](_0x4ac487['values']()))[_0x404c47(0x2a3)](_0x25dcda=>{const _0x5575fb=_0x404c47;let {color:_0x18c0cf,range:_0xa3365d,name:_0x4a1faa,selection:_0x26517a,sheetID:_0x545f92}=_0x25dcda,{startColumn:_0x4d39a6,startRow:_0x4d8a51,endColumn:_0x3babd3,endRow:_0x487f07}=_0xa3365d,_0x3c073a=(0x0,_0x4d43bb[_0x5575fb(0x17f)])(_0x4d8a51,_0x4d39a6,_0x132792,_0x1dd9ee),_0x27052f=(0x0,_0x4d43bb[_0x5575fb(0x17f)])(_0x487f07,_0x3babd3,_0x132792,_0x1dd9ee),{columnHeaderHeightAndMarginTop:_0xee6839}=_0x1dd9ee,{startX:_0x34c4b5,startY:_0x4fd421}=_0x3c073a,{endX:_0x1d6421,endY:_0x5b857f}=_0x27052f,_0x391a44=_0x1d6421-_0x34c4b5,_0x4789ad=_0x5b857f-_0x4fd421;return new _0x294254(_0x4a1faa,{'labelPosition':_0x4fd421-_0xee6839>=0x14?'top':_0x5575fb(0x123),'sheetID':_0x545f92,'range':_0xa3365d,'color':_0x18c0cf,'name':_0x4a1faa,'selection':_0x26517a,'left':_0x34c4b5,'top':_0x4fd421,'width':_0x391a44,'height':_0x4789ad,'evented':!0x1,'zIndex':0x1389});});_0x132792[_0x404c47(0x1b6)](_0x210c37,0x1),this['_cursors']=new Set(_0x210c37);}['_removeCollabCursors'](){var _0x1f01b2;(_0x1f01b2=this['_cursors'])==null||_0x1f01b2['forEach'](_0x56aeae=>_0x56aeae['dispose']());}[_0x386c9a(0x247)](){const _0x324672=_0x386c9a;return(0x0,_0x4d43bb[_0x324672(0x10b)])(this['_context']['unit'],this[_0x324672(0x334)]);}};_0x460895=_0x442f80([_0x148b43(0x1,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x4d43bb['SheetSkeletonManagerService'])),_0x148b43(0x2,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x54c193)),_0x148b43(0x3,(0x0,_0x3188ec['Inject'])(_0x3188ec[_0x386c9a(0x3d6)]))],_0x460895);function _0x12cd55(_0x2d5472){const _0x517b14=_0x386c9a;let _0x48ab54=new Map();return _0x2d5472['forEach'](_0x2fc8c5=>{const _0x3a2953=_0xbfb2;if(_0x48ab54['has'](_0x2fc8c5['selection'])){let _0x38f932=_0x48ab54[_0x3a2953(0x26b)](_0x2fc8c5['selection']);_0x38f932['name']+=',\x20'+_0x2fc8c5[_0x3a2953(0x10e)];}else _0x48ab54[_0x3a2953(0x2eb)](_0x2fc8c5[_0x3a2953(0x126)],_0x2fc8c5);}),Array['from'](_0x48ab54[_0x517b14(0x2a0)]());}let _0x5b52a2=class extends _0x3188ec[_0x386c9a(0x164)]{constructor(_0x5035a1,_0x3a3df5,_0x43b465){const _0xbac833=_0x386c9a;super(),this[_0xbac833(0x334)]=_0x5035a1,this[_0xbac833(0x1ca)]=_0x3a3df5,this[_0xbac833(0x342)]=_0x43b465,_0x2109ac(this,_0xbac833(0x160),new Set()),_0x2109ac(this,_0xbac833(0xc6),!0x1),_0x2109ac(this,_0xbac833(0xf9),!0x1),_0x2109ac(this,_0xbac833(0x3bd),new Map()),this[_0xbac833(0x34d)]();}[_0x386c9a(0x228)](){const _0x2f2045=_0x386c9a;this[_0x2f2045(0x289)](),super[_0x2f2045(0x228)]();}[_0x386c9a(0x34d)](){const _0xa09a06=_0x386c9a;let _0x423903=this[_0xa09a06(0x334)]['unit'][_0xa09a06(0x1a2)][_0xa09a06(0xb0)],_0x3e7a94=this['_collabCursorController']['getCollabCursors$'](this['_context'][_0xa09a06(0x232)]);this['disposeWithMe']((0x0,_0x3188ec['toDisposable'])((0x0,_0x3a9a2c[_0xa09a06(0x2f9)])([_0x3e7a94,_0x423903,this[_0xa09a06(0x342)][_0xa09a06(0x29c)]])[_0xa09a06(0x32a)]((0x0,_0x3a9a2c[_0xa09a06(0x1ef)])(this[_0xa09a06(0x181)]))['subscribe'](([_0x569b31,_0x4dfb69])=>{const _0x24e72a=_0xa09a06;let _0xa868d2=new Map();_0x569b31[_0x24e72a(0x32f)]((_0x31f236,_0x13814a)=>{const _0x57cb23=_0x24e72a;_0x31f236[_0x57cb23(0x2f0)]===_0x4dfb69&&_0xa868d2[_0x57cb23(0x2eb)](_0x13814a,{..._0x31f236,'color':this[_0x57cb23(0x342)][_0x57cb23(0x38e)](_0x31f236[_0x57cb23(0x325)])});}),this[_0x24e72a(0x3bd)]=_0xa868d2,this['_scheduleRender']();})));let _0x3c9ba8=this[_0xa09a06(0x334)]['scene'];this[_0xa09a06(0x2da)]((0x0,_0x3188ec[_0xa09a06(0x34e)])(_0x3c9ba8[_0xa09a06(0xb5)]['pipe']((0x0,_0x3a9a2c[_0xa09a06(0x1ef)])(this[_0xa09a06(0x181)]))['subscribe'](()=>{const _0x340a51=_0xa09a06;this[_0x340a51(0xf9)]||this['_scheduleRender']();})));}['_scheduleRender'](){const _0x2b9570=_0x386c9a;this['_renderScheduled']||(this[_0x2b9570(0xc6)]=!0x0,Promise['resolve']()['then'](()=>{const _0x13ea40=_0x2b9570;this[_0x13ea40(0xc6)]=!0x1,this[_0x13ea40(0x15f)]();}));}[_0x386c9a(0x15f)](){const _0x470dcf=_0x386c9a;var _0x1cba4f;this[_0x470dcf(0x289)]();let _0x4a3c3a=(_0x1cba4f=this[_0x470dcf(0x334)]['unit'][_0x470dcf(0x1a2)][_0x470dcf(0x20f)]())==null?void 0x0:_0x1cba4f[_0x470dcf(0x1eb)]();if(!_0x4a3c3a)return;let _0x532c85=[];if(this[_0x470dcf(0x3bd)]['forEach']((_0x4c2ec6,_0x53b556)=>{const _0x11a9ab=_0x470dcf;_0x4c2ec6[_0x11a9ab(0x2f0)]===_0x4a3c3a&&_0x4c2ec6[_0x11a9ab(0x2bc)][_0x11a9ab(0x32f)](_0x2e8dba=>{const _0x29e2d1=_0x11a9ab;let _0x1ad806=(0x0,_0x2c454c[_0x29e2d1(0x37d)])(_0x4c2ec6[_0x29e2d1(0x232)],_0x4c2ec6[_0x29e2d1(0x2f0)],_0x2e8dba),_0x3dcd34=this[_0x29e2d1(0x37e)](_0x1ad806);if(!_0x3dcd34)return;let _0x5df3c7=this[_0x29e2d1(0x19e)](_0x3dcd34);_0x532c85[_0x29e2d1(0x18e)](new _0x36c05d(_0x29e2d1(0x179)+_0x53b556+'-'+_0x2e8dba,{..._0x4c2ec6,'left':_0x5df3c7['left'],'top':_0x5df3c7[_0x29e2d1(0x138)],'width':_0x5df3c7[_0x29e2d1(0x380)],'height':_0x5df3c7[_0x29e2d1(0x302)],'angle':_0x3dcd34[_0x29e2d1(0x2b7)],'evented':!0x1,'zIndex':_0x4f92ff}));});}),_0x532c85[_0x470dcf(0x368)]===0x0){this[_0x470dcf(0x334)][_0x470dcf(0x1a3)][_0x470dcf(0x216)](!0x0);return;}this[_0x470dcf(0xf9)]=!0x0,this['_context'][_0x470dcf(0x1a3)][_0x470dcf(0x1b6)](_0x532c85,_0x4f92ff),this['_isApplyingOverlays']=!0x1,this[_0x470dcf(0x160)]=new Set(_0x532c85),this[_0x470dcf(0x334)][_0x470dcf(0x1a3)][_0x470dcf(0x216)](!0x0);}[_0x386c9a(0x289)](){const _0x2a2091=_0x386c9a;let _0x20a5d7=Array[_0x2a2091(0x143)](this['_cursors']);if(_0x20a5d7[_0x2a2091(0x368)]===0x0)return;let _0x1abddd=this[_0x2a2091(0x334)][_0x2a2091(0x1a3)];'removeObjects'in _0x1abddd&&typeof _0x1abddd[_0x2a2091(0x12c)]==_0x2a2091(0x14f)?_0x1abddd['removeObjects'](_0x20a5d7):_0x20a5d7[_0x2a2091(0x32f)](_0x18b166=>{const _0x319df6=_0x2a2091;_0x319df6(0x1fa)in _0x1abddd&&typeof _0x1abddd[_0x319df6(0x1fa)]=='function'?_0x1abddd[_0x319df6(0x1fa)](_0x18b166):_0x18b166[_0x319df6(0x228)]();}),this[_0x2a2091(0x160)][_0x2a2091(0x2e2)](),_0x1abddd['makeDirty'](!0x0);}[_0x386c9a(0x37e)](_0x977743){const _0x377dcd=_0x386c9a;var _0x493711,_0x3b19aa,_0x2d7faf;let _0x25c96f=this['_context'][_0x377dcd(0x1a3)];return(_0x493711=(_0x3b19aa=(_0x2d7faf=_0x25c96f[_0x377dcd(0x1fe)])==null?void 0x0:_0x2d7faf[_0x377dcd(0x266)](_0x25c96f,_0x977743))==null?_0x25c96f[_0x377dcd(0x2a1)](_0x977743):_0x3b19aa)==null?null:_0x493711;}[_0x386c9a(0x19e)](_0x2c8ede){const _0x216f35=_0x386c9a;var _0xd432e3,_0x24d0fd;let _0x3866f3=_0x2c8ede;return(_0xd432e3=(_0x24d0fd=_0x3866f3[_0x216f35(0x1a0)])==null?void 0x0:_0x24d0fd[_0x216f35(0x266)](_0x3866f3))==null?{'left':_0x2c8ede['left'],'top':_0x2c8ede[_0x216f35(0x138)],'width':_0x2c8ede[_0x216f35(0x380)],'height':_0x2c8ede[_0x216f35(0x302)]}:_0xd432e3;}};_0x5b52a2=_0x442f80([_0x148b43(0x1,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x54c193)),_0x148b43(0x2,(0x0,_0x3188ec['Inject'])(_0x3188ec[_0x386c9a(0x3d6)]))],_0x5b52a2);let _0x4e3b37=class extends _0x3188ec[_0x386c9a(0x201)]{constructor(_0x16c00e,_0x3a00c2,_0x4556d1,_0x5b0a11,_0x1ddd78,_0x110c83){const _0x57cad3=_0x386c9a;super(),this[_0x57cad3(0x27a)]=_0x16c00e,this[_0x57cad3(0x299)]=_0x3a00c2,this[_0x57cad3(0x40b)]=_0x4556d1,this['_messageService']=_0x5b0a11,this[_0x57cad3(0x16d)]=_0x1ddd78,this['_localeService']=_0x110c83,this[_0x57cad3(0x255)](),this[_0x57cad3(0x2a9)]();}[_0x386c9a(0x255)](){const _0x422d1b=_0x386c9a;this['disposeWithMe'](this[_0x422d1b(0x27a)][_0x422d1b(0xdc)](()=>{const _0x56d626=_0x422d1b;if(this[_0x56d626(0x299)]['saveTaskMap'][_0x56d626(0x1cd)])return this[_0x56d626(0xeb)]['t']('collaboration-client-ui.collaboration.offline-data-not-saved');}));}[_0x386c9a(0x2a9)](){const _0x5f3d61=_0x386c9a;this['disposeWithMe'](this[_0x5f3d61(0x40b)]['event$'][_0x5f3d61(0x341)](_0x4f2e3f=>{const _0x558621=_0x5f3d61;_0x4f2e3f['id']===_0x2248ce['CollaborationUIEventId'][_0x558621(0x233)]&&this[_0x558621(0x1dc)][_0x558621(0x386)]({'type':_0x36a1a4[_0x558621(0x212)][_0x558621(0xba)],'content':this[_0x558621(0xeb)]['t']('collaboration-client-ui.collaboration.single-unit.warning')}),_0x4f2e3f['id']===_0x2248ce[_0x558621(0xff)]['CLOSE_ROOM']&&this[_0x558621(0x1dc)][_0x558621(0x386)]({'type':_0x36a1a4[_0x558621(0x212)]['Warning'],'content':this[_0x558621(0xeb)]['t'](_0x558621(0x10c))}),_0x4f2e3f['id']===_0x2248ce['CollaborationUIEventId']['PERMISSION_DENIED']&&this['_notificationService'][_0x558621(0x386)]({'title':this[_0x558621(0xeb)]['t'](_0x558621(0x39d)),'content':this[_0x558621(0xeb)]['t'](_0x558621(0x16b)),'type':_0x558621(0x3f1),'duration':0x0}),_0x4f2e3f['id']===_0x2248ce[_0x558621(0xff)][_0x558621(0xbc)]&&this[_0x558621(0x16d)][_0x558621(0x386)]({'title':this[_0x558621(0xeb)]['t'](_0x558621(0x1ac)),'content':this[_0x558621(0xeb)]['t'](_0x558621(0x22c)),'type':'error','duration':0x0}),_0x4f2e3f['id']===_0x2248ce[_0x558621(0xff)][_0x558621(0x9f)]&&this[_0x558621(0x1dc)]['show']({'type':_0x36a1a4[_0x558621(0x212)][_0x558621(0xba)],'content':this['_localeService']['t'](_0x4f2e3f['data']||'')}),_0x4f2e3f['id']===_0x2248ce[_0x558621(0xff)][_0x558621(0xae)]&&this[_0x558621(0x1dc)]['show']({'type':_0x36a1a4['MessageType'][_0x558621(0xba)],'content':this[_0x558621(0xeb)]['t'](_0x558621(0x1d5))}),_0x4f2e3f['id']===_0x2248ce['CollaborationUIEventId'][_0x558621(0x106)]&&this[_0x558621(0x1dc)]['show']({'type':_0x36a1a4[_0x558621(0x212)]['Error'],'content':this['_localeService']['t'](_0x558621(0x3bc))}),_0x4f2e3f['id']===_0x2248ce[_0x558621(0xff)][_0x558621(0x184)]&&this['_messageService'][_0x558621(0x386)]({'type':_0x36a1a4[_0x558621(0x212)]['Error'],'content':this['_localeService']['t'](_0x558621(0x3fe))});}));}};_0x4e3b37=_0x442f80([_0x148b43(0x0,_0xad5ce[_0x386c9a(0x3d7)]),_0x148b43(0x1,_0x2248ce[_0x386c9a(0x251)]),_0x148b43(0x2,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x2248ce['CollaborationUIEventService'])),_0x148b43(0x3,_0xad5ce[_0x386c9a(0xf1)]),_0x148b43(0x4,_0xad5ce[_0x386c9a(0x3ff)]),_0x148b43(0x5,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x3188ec[_0x386c9a(0x2cb)]))],_0x4e3b37);let _0x34f04d=(0x0,_0x3188ec[_0x386c9a(0x370)])(_0x386c9a(0x193)),_0x1f1812=class extends _0x3188ec[_0x386c9a(0x164)]{constructor(_0xe7d706,_0x4c2e71,_0x5daf0a,_0x1855f0,_0x122017){const _0x56f600=_0x386c9a;super(),this[_0x56f600(0xcd)]=_0xe7d706,this['_logService']=_0x4c2e71,this[_0x56f600(0xc7)]=_0x5daf0a,this['_dataLoaderService']=_0x1855f0,_0x122017?_0x122017[_0x56f600(0x1d7)]()[_0x56f600(0x11a)](()=>this['_init']()):(this[_0x56f600(0x125)]['debug'](_0x56f600(0x28f),_0x56f600(0x3fd)),this['_init']());}async[_0x386c9a(0x34d)](){const _0x371da7=_0x386c9a;let _0x2875fa=this[_0x371da7(0xcd)][_0x371da7(0x3c4)](_0x371da7(0x1f3)),_0x34be5d=this[_0x371da7(0xcd)][_0x371da7(0x3c4)](_0x371da7(0x2fd)),_0xc38b58=this[_0x371da7(0xcd)][_0x371da7(0x3c4)](_0x371da7(0x290));if(!_0x2875fa||!_0x34be5d){this[_0x371da7(0x125)]['debug'](_0x371da7(0x28f),_0x371da7(0x151));return;}let _0x3f567a=await this[_0x371da7(0x3aa)][_0x371da7(0x1f5)](_0x2875fa,Number(_0x34be5d),_0xc38b58);_0x3f567a&&_0x3f567a instanceof _0x3188ec[_0x371da7(0x283)]&&this[_0x371da7(0x134)](_0x3f567a);}async['_setupSubUnitSync'](_0x411460){const _0x2122a1=_0x386c9a;await this['_updateSubUnitFromURLParams'](_0x411460),_0x411460[_0x2122a1(0x144)][_0x2122a1(0x32a)]((0x0,_0x3a9a2c['takeUntil'])(this[_0x2122a1(0x181)]))[_0x2122a1(0x341)](_0x276cb8=>{const _0x23fe91=_0x2122a1;_0x276cb8&&this[_0x23fe91(0x3b2)](_0x276cb8);}),this[_0x2122a1(0xcd)][_0x2122a1(0xe1)][_0x2122a1(0x32a)]((0x0,_0x3a9a2c['takeUntil'])(this[_0x2122a1(0x181)]))[_0x2122a1(0x341)](()=>this['_updateSubUnitFromURLParams'](_0x411460));}[_0x386c9a(0x3b2)](_0xd25de1,_0x378538=!0x1){const _0x487c23=_0x386c9a;let _0x1de19d=this[_0x487c23(0xcd)][_0x487c23(0x3c4)](_0x487c23(0x290));_0xd25de1[_0x487c23(0x3d4)]()!==_0x1de19d&&this['_urlService'][_0x487c23(0x408)](_0x487c23(0x290),_0xd25de1[_0x487c23(0x3d4)](),_0x378538);}async[_0x386c9a(0xb3)](_0x5987e){const _0x37006d=_0x386c9a;var _0x2d67bd;let _0x279977=this[_0x37006d(0xcd)][_0x37006d(0x3c4)](_0x37006d(0x290));if(!_0x279977||!_0x5987e[_0x37006d(0x2e6)](_0x279977)){let _0x57d06a=_0x5987e[_0x37006d(0x19a)]()[0x0],_0x491832=_0x5987e[_0x37006d(0x2e6)](_0x57d06a);if(!_0x491832)return;this[_0x37006d(0x3b2)](_0x491832,!0x0),await this[_0x37006d(0xc7)][_0x37006d(0x381)](_0x14f8c0[_0x37006d(0x3ea)]['id'],{'unitId':_0x5987e[_0x37006d(0x3e8)](),'subUnitId':_0x57d06a});return;}((_0x2d67bd=_0x5987e[_0x37006d(0x29d)]())==null?void 0x0:_0x2d67bd['getSheetId']())!==_0x279977&&await this[_0x37006d(0xc7)][_0x37006d(0x381)](_0x14f8c0['SetWorksheetActivateCommand']['id'],{'unitId':_0x5987e[_0x37006d(0x3e8)](),'subUnitId':_0x279977});}};_0x1f1812=_0x442f80([_0x148b43(0x0,_0x34f04d),_0x148b43(0x1,_0x3188ec[_0x386c9a(0x3eb)]),_0x148b43(0x2,_0x3188ec[_0x386c9a(0x13c)]),_0x148b43(0x3,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x2248ce['DataLoaderService'])),_0x148b43(0x4,(0x0,_0x3188ec[_0x386c9a(0x22d)])(_0x157a03['IRemoteInstanceService']))],_0x1f1812);let _0x10c576=class{constructor(_0x39fb7a,_0x40a6f1){const _0xf6811c=_0x386c9a;this[_0xf6811c(0x246)]=_0x39fb7a,this['_renderManagerService']=_0x40a6f1;}['transformIMECache'](_0x46a573){const _0x22bf37=_0x386c9a;this['_transformUndoRedoStack'](_0x46a573),this[_0x22bf37(0x1c6)](_0x46a573);}[_0x386c9a(0x161)](_0x3c04e1){const _0x54a144=_0x386c9a;let {unitID:_0x85d36c}=_0x3c04e1,{redoCache:_0x3a1d40}=this[_0x54a144(0x3c5)][_0x54a144(0x389)](_0x85d36c)[_0x54a144(0x30e)](_0x390782[_0x54a144(0x2b4)])[_0x54a144(0x178)]();if(_0x3a1d40['length']===0x0)return _0x3c04e1;let _0x5354e1=_0x3188ec['Tools'][_0x54a144(0x209)](_0x3c04e1[_0x54a144(0x304)][0x0]);for(let _0x166716=0x0;_0x166716<_0x3a1d40[_0x54a144(0x368)];_0x166716++){let _0x215e52={'id':_0x54a144(0x394),'params':{..._0x3a1d40[_0x166716]}},_0x39a796=this[_0x54a144(0x246)]['transformMutation'](_0x5354e1,_0x215e52,!0x1);if((0x0,_0x1cdb30[_0x54a144(0x116)])(_0x39a796))throw _0x39a796[_0x54a144(0x3f1)];_0x5354e1=_0x39a796['m1Prime'];}return{..._0x3188ec[_0x54a144(0x31e)]['deepClone'](_0x3c04e1),'mutations':[_0x5354e1]};}[_0x386c9a(0x269)](_0x2fffb5){const _0x568e3e=_0x386c9a;let {unitID:_0x555a98}=_0x2fffb5,_0x5ed06a=this['_renderManagerService'][_0x568e3e(0x389)](_0x555a98)[_0x568e3e(0x30e)](_0x390782[_0x568e3e(0x2b4)]),{undoCache:_0x34f121,redoCache:_0x489a37}=_0x5ed06a['getUndoRedoMutationParamsCache']();if(_0x34f121[_0x568e3e(0x368)]===0x0||_0x489a37[_0x568e3e(0x368)]===0x0)return;let _0x28af55=[],_0x85770=[],_0x34fc93=_0x3188ec[_0x568e3e(0x31e)][_0x568e3e(0x209)](_0x2fffb5[_0x568e3e(0x304)][0x0]),_0x152f15=_0x3188ec[_0x568e3e(0x31e)][_0x568e3e(0x209)](_0x2fffb5['mutations'][0x0]);for(let _0x4aa371=_0x34f121[_0x568e3e(0x368)]-0x1;_0x4aa371>=0x0;_0x4aa371--){let _0x59db1a={'id':_0x568e3e(0x394),'params':{..._0x34f121[_0x4aa371]}},_0x3b5079={'id':_0x568e3e(0x394),'params':{..._0x489a37[_0x4aa371]}},_0x499ae9=this[_0x568e3e(0x246)][_0x568e3e(0x27b)](_0x34fc93,_0x59db1a,!0x1),_0x19df38=this[_0x568e3e(0x246)][_0x568e3e(0x27b)](_0x152f15,_0x3b5079,!0x1);if((0x0,_0x1cdb30['isTransformMutationFailure'])(_0x499ae9))throw _0x499ae9[_0x568e3e(0x3f1)];if((0x0,_0x1cdb30[_0x568e3e(0x116)])(_0x19df38))throw _0x19df38[_0x568e3e(0x3f1)];_0x28af55[_0x568e3e(0x20b)](_0x499ae9[_0x568e3e(0x25d)][_0x568e3e(0x3a4)]),_0x85770[_0x568e3e(0x20b)](_0x19df38[_0x568e3e(0x25d)][_0x568e3e(0x3a4)]),_0x34fc93=_0x499ae9[_0x568e3e(0x311)],_0x152f15=_0x19df38[_0x568e3e(0x311)];}_0x5ed06a[_0x568e3e(0x15d)]({'undoCache':_0x28af55,'redoCache':_0x85770});}[_0x386c9a(0x1c6)](_0x39ae87){const _0x505140=_0x386c9a;let {unitID:_0x2fe39e}=_0x39ae87,_0x3c8cbd=this['_renderManagerService'][_0x505140(0x389)](_0x2fe39e)['with'](_0x390782[_0x505140(0x2b4)]),_0x2b70a5=_0x3c8cbd[_0x505140(0x40e)]();if(_0x2b70a5==null)return;let _0x52a685=[{'id':_0x505140(0x394),'params':{'unitId':_0x39ae87['unitID'],'actions':null,'textRanges':[_0x2b70a5]}}],_0x2ce26f=this[_0x505140(0x246)][_0x505140(0x167)](_0x39ae87,_0x52a685);if(!(0x0,_0x1cdb30[_0x505140(0x273)])(_0x2ce26f))throw _0x2ce26f[_0x505140(0x3f1)];let _0x2b2996=_0x2ce26f['m2Prime'][0x0][_0x505140(0x3a4)][_0x505140(0x1d2)];Array['isArray'](_0x2b2996)&&_0x2b2996[_0x505140(0x368)]&&_0x3c8cbd[_0x505140(0x122)](_0x2b2996[0x0]);}};_0x10c576=_0x442f80([_0x148b43(0x0,_0x1cdb30[_0x386c9a(0xd6)]),_0x148b43(0x1,_0x38b39d[_0x386c9a(0x373)])],_0x10c576);let _0x5e6353=class{constructor(_0x41dd22,_0x47d23a,_0x167e71){const _0x2e3736=_0x386c9a;this[_0x2e3736(0x2f4)]=_0x41dd22,this['_transformService']=_0x47d23a,this['_docStateChangeManagerService']=_0x167e71;}['transformStateCache'](_0x4dd07f){this['_transformHistoryAndStateStack'](_0x4dd07f);}[_0x386c9a(0x161)](_0x29a86c){const _0x4c437b=_0x386c9a;let {unitID:_0x207bd7}=_0x29a86c,{collaboration:_0x55f60d}=this[_0x4c437b(0x1de)][_0x4c437b(0x316)](_0x207bd7);if(_0x55f60d[_0x4c437b(0x368)]===0x0)return _0x29a86c;let _0x3d1775=_0x3188ec[_0x4c437b(0x31e)][_0x4c437b(0x209)](_0x29a86c[_0x4c437b(0x304)][0x0]);for(let _0x1a48aa=0x0;_0x1a48aa<_0x55f60d[_0x4c437b(0x368)];_0x1a48aa++){let _0x30bbbe={'id':_0x4c437b(0x394),'params':{'unitId':_0x55f60d[_0x1a48aa][_0x4c437b(0x232)],..._0x55f60d[_0x1a48aa]['redoState']}},_0x259f93=this[_0x4c437b(0x246)]['transformMutation'](_0x3d1775,_0x30bbbe,!0x1);if((0x0,_0x1cdb30[_0x4c437b(0x116)])(_0x259f93))throw _0x259f93[_0x4c437b(0x3f1)];_0x3d1775=_0x259f93[_0x4c437b(0x311)];}return{..._0x3188ec[_0x4c437b(0x31e)][_0x4c437b(0x209)](_0x29a86c),'mutations':[_0x3d1775]};}[_0x386c9a(0x30b)](_0x4ab1c1){const _0xbd018a=_0x386c9a;let {unitID:_0x4095ab}=_0x4ab1c1,{history:_0x28997c,collaboration:_0x4c61ee}=this[_0xbd018a(0x1de)][_0xbd018a(0x316)](_0x4095ab);if(_0x28997c[_0xbd018a(0x368)]===0x0&&_0x4c61ee['length']===0x0)return;let _0x198db2=[],_0x474acd=[],_0x38c545=_0x3188ec[_0xbd018a(0x31e)]['deepClone'](_0x4ab1c1['mutations'][0x0]),_0x516e9=_0x3188ec['Tools'][_0xbd018a(0x209)](_0x4ab1c1[_0xbd018a(0x304)][0x0]);for(let _0x19eeb7=_0x28997c['length']-0x1;_0x19eeb7>=0x0;_0x19eeb7--){let _0x3b8ac2={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x28997c[_0x19eeb7]['unitId'],..._0x28997c[_0x19eeb7][_0xbd018a(0x166)]}},_0x36b4b7={'id':_0xbd018a(0x394),'params':{'unitId':_0x28997c[_0x19eeb7][_0xbd018a(0x232)],..._0x28997c[_0x19eeb7][_0xbd018a(0xf3)]}},_0x81b3d9=this['_transformService'][_0xbd018a(0x27b)](_0x38c545,_0x3b8ac2,!0x1),_0x5b1187=this['_transformService'][_0xbd018a(0x27b)](_0x516e9,_0x36b4b7,!0x1);if((0x0,_0x1cdb30[_0xbd018a(0x116)])(_0x81b3d9))throw _0x81b3d9[_0xbd018a(0x3f1)];if((0x0,_0x1cdb30[_0xbd018a(0x116)])(_0x5b1187))throw _0x5b1187[_0xbd018a(0x3f1)];_0x198db2['unshift']({..._0x28997c[_0x19eeb7],'undoState':_0x81b3d9[_0xbd018a(0x25d)][_0xbd018a(0x3a4)],'redoState':_0x5b1187[_0xbd018a(0x25d)]['params']}),_0x38c545=_0x81b3d9['m1Prime'],_0x516e9=_0x5b1187['m1Prime'];}_0x38c545=_0x3188ec['Tools']['deepClone'](_0x4ab1c1[_0xbd018a(0x304)][0x0]),_0x516e9=_0x3188ec[_0xbd018a(0x31e)][_0xbd018a(0x209)](_0x4ab1c1[_0xbd018a(0x304)][0x0]);for(let _0x121e6f=_0x4c61ee[_0xbd018a(0x368)]-0x1;_0x121e6f>=0x0;_0x121e6f--){let _0x4cf502={'id':_0xbd018a(0x394),'params':{'unitId':_0x4c61ee[_0x121e6f][_0xbd018a(0x232)],..._0x4c61ee[_0x121e6f][_0xbd018a(0x166)]}},_0x40f76e={'id':_0xbd018a(0x394),'params':{'unitId':_0x4c61ee[_0x121e6f][_0xbd018a(0x232)],..._0x4c61ee[_0x121e6f]['redoState']}},_0x3f3546=this['_transformService'][_0xbd018a(0x27b)](_0x38c545,_0x4cf502,!0x1),_0x4b4828=this['_transformService'][_0xbd018a(0x27b)](_0x516e9,_0x40f76e,!0x1);if((0x0,_0x1cdb30[_0xbd018a(0x116)])(_0x3f3546))throw _0x3f3546['error'];if((0x0,_0x1cdb30[_0xbd018a(0x116)])(_0x4b4828))throw _0x4b4828[_0xbd018a(0x3f1)];_0x474acd[_0xbd018a(0x20b)]({..._0x4c61ee[_0x121e6f],'undoState':_0x3f3546[_0xbd018a(0x25d)][_0xbd018a(0x3a4)],'redoState':_0x4b4828['m2Prime'][_0xbd018a(0x3a4)]}),_0x38c545=_0x3f3546[_0xbd018a(0x311)],_0x516e9=_0x4b4828[_0xbd018a(0x311)];}this['_docStateChangeManagerService'][_0xbd018a(0x287)](_0x4095ab,{'history':_0x198db2,'collaboration':_0x474acd});}};_0x5e6353=_0x442f80([_0x148b43(0x0,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x3188ec[_0x386c9a(0x395)])),_0x148b43(0x1,_0x1cdb30[_0x386c9a(0xd6)]),_0x148b43(0x2,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x12c761['DocStateChangeManagerService']))],_0x5e6353);let _0x51eddf=class{constructor(_0x2c2711,_0x9c0938){const _0x55b51e=_0x386c9a;this[_0x55b51e(0x2f4)]=_0x2c2711,this[_0x55b51e(0x246)]=_0x9c0938;}[_0x386c9a(0x350)](_0x3559c5){const _0x441642=_0x386c9a;var _0x30283e;let _0x4df543=this[_0x441642(0x2f4)][_0x441642(0x26b)](_0x12c761[_0x441642(0x409)]),_0x4d06f4=(_0x30283e=_0x4df543['getDocRanges']())==null?[]:_0x30283e;if(_0x4d06f4['length']===0x0)return;let _0x3c834d=_0x3559c5[_0x441642(0x141)],_0x284e60=[{'id':_0x441642(0x394),'params':{'unitId':_0x3c834d,'actions':null,'textRanges':_0x4d06f4}}],_0x2433d6=this[_0x441642(0x246)][_0x441642(0x167)](_0x3559c5,_0x284e60);if(!(0x0,_0x1cdb30[_0x441642(0x273)])(_0x2433d6))throw _0x2433d6[_0x441642(0x3f1)];let _0x41e669=_0x2433d6[_0x441642(0x25d)][0x0]['params']['textRanges'];Array[_0x441642(0x1bc)](_0x41e669)&&_0x41e669[_0x441642(0x368)]&&_0x4df543[_0x441642(0x391)](_0x41e669,{'unitId':_0x3c834d,'subUnitId':_0x3c834d},!0x1);}};_0x51eddf=_0x442f80([_0x148b43(0x0,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x3188ec[_0x386c9a(0x395)])),_0x148b43(0x1,_0x1cdb30['ITransformService'])],_0x51eddf);let _0x2ea462=class extends _0x3188ec['Disposable']{constructor(_0x2dc2db,_0x2cafd7,_0x19eace,_0x538c6f,_0xbd2b7f,_0x36a10c,_0xd71791){const _0x16c326=_0x386c9a;super(),this[_0x16c326(0x33b)]=_0x2dc2db,this[_0x16c326(0x153)]=_0x2cafd7,this[_0x16c326(0x378)]=_0x19eace,this[_0x16c326(0x111)]=_0x538c6f,this['_docSyncEditingCollabCursorService']=_0xbd2b7f,this['_messageService']=_0x36a10c,this[_0x16c326(0xeb)]=_0xd71791,_0x2109ac(this,_0x16c326(0x3a2),new _0x3a9a2c[(_0x16c326(0x1ba))](_0x2248ce[_0x16c326(0x323)][_0x16c326(0x376)])),this[_0x16c326(0xcb)]();}[_0x386c9a(0xcb)](){const _0xb77b3a=_0x386c9a;this[_0xb77b3a(0x2da)](this[_0xb77b3a(0x33b)]['entityInit$']['subscribe'](_0x127e9c=>{const _0x3ecf74=_0xb77b3a;_0x127e9c instanceof _0x2248ce[_0x3ecf74(0x326)]&&_0x127e9c[_0x3ecf74(0xc1)]({'onTransformIME':_0x404bf7=>this[_0x3ecf74(0x153)]['transformIMECache'](_0x404bf7),'onTransformState':_0x3bdf16=>this[_0x3ecf74(0x378)][_0x3ecf74(0x2a2)](_0x3bdf16),'onTransformSelections':_0x5fe9f9=>this[_0x3ecf74(0x111)]['transformSelections'](_0x5fe9f9),'onSyncEditingCollabCursor':_0x1a35d1=>this[_0x3ecf74(0x339)][_0x3ecf74(0x229)](_0x1a35d1),'onTransformRemoteChangesetByIMECache':_0x49fac4=>this[_0x3ecf74(0x153)][_0x3ecf74(0x161)](_0x49fac4),'onTransformRemoteChangesetByStateCache':_0x404868=>this[_0x3ecf74(0x378)][_0x3ecf74(0x161)](_0x404868)});}));}};_0x2ea462=_0x442f80([_0x148b43(0x0,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x2248ce[_0x386c9a(0x1ed)])),_0x148b43(0x1,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x10c576)),_0x148b43(0x2,(0x0,_0x3188ec['Inject'])(_0x5e6353)),_0x148b43(0x3,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x51eddf)),_0x148b43(0x4,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x31641e)),_0x148b43(0x5,_0xad5ce['IMessageService']),_0x148b43(0x6,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x3188ec[_0x386c9a(0x2cb)]))],_0x2ea462);let _0x450c2a=class extends _0x3188ec[_0x386c9a(0x201)]{constructor(_0x2db8fa,_0x453794,_0x24e604,_0x4ed0dd){const _0x2dae0d=_0x386c9a;super(),this[_0x2dae0d(0x2f4)]=_0x2db8fa,this[_0x2dae0d(0x2b3)]=_0x453794,this[_0x2dae0d(0x125)]=_0x24e604,this[_0x2dae0d(0x405)]=_0x4ed0dd,_0x2109ac(this,_0x2dae0d(0x235),void 0x0),this[_0x2dae0d(0x34d)]();}[_0x386c9a(0x34d)](){const _0x11499d=_0x386c9a;this[_0x11499d(0xea)](),this['_initUnhandledRejectionListener'](),this[_0x11499d(0x1b9)](),this[_0x11499d(0x3d2)]();}[_0x386c9a(0x3d2)](){const _0x2a7561=_0x386c9a;this[_0x2a7561(0x2da)](this['_collaborationSessionService'][_0x2a7561(0xd1)][_0x2a7561(0x341)](_0x366875=>{const _0x2d053b=_0x2a7561;this[_0x2d053b(0x235)]=_0x366875==null?void 0x0:_0x366875['memberID'];}));}[_0x386c9a(0xea)](){const _0x1770b5=_0x386c9a;let _0x5e8c91=_0x1226b3=>{const _0x25bffc=_0xbfb2;var _0x503179;this[_0x25bffc(0x1cb)](_0x25bffc(0x3f1),_0x25bffc(0x2a4)+_0x1226b3[_0x25bffc(0xf5)]+_0x25bffc(0x29e)+_0x1226b3[_0x25bffc(0x403)]+':'+_0x1226b3[_0x25bffc(0x39e)]+':'+_0x1226b3[_0x25bffc(0x3b3)]+'\x0a'+(((_0x503179=_0x1226b3[_0x25bffc(0x3f1)])==null?void 0x0:_0x503179[_0x25bffc(0x32c)])||''));};window[_0x1770b5(0x2f2)](_0x1770b5(0x3f1),_0x5e8c91),this[_0x1770b5(0x2da)](()=>{const _0x1f00c2=_0x1770b5;window['removeEventListener'](_0x1f00c2(0x3f1),_0x5e8c91);});}[_0x386c9a(0x295)](){const _0x218bdd=_0x386c9a;let _0x31efae=_0x4ba96b=>{const _0x1a3d15=_0xbfb2;this[_0x1a3d15(0x1cb)](_0x1a3d15(0x3f1),_0x1a3d15(0x330)+_0x4ba96b[_0x1a3d15(0x207)]);};window[_0x218bdd(0x2f2)](_0x218bdd(0x1bf),_0x31efae),this['disposeWithMe'](()=>{const _0x46179b=_0x218bdd;window[_0x46179b(0x2d2)](_0x46179b(0x1bf),_0x31efae);});}[_0x386c9a(0x1b9)](){const _0x3870a2=_0x386c9a;let _0x3ed245=this[_0x3870a2(0x125)][_0x3870a2(0x3f1)][_0x3870a2(0x1c5)](this['_logService']);this['_logService'][_0x3870a2(0x3f1)]=(..._0x5134ea)=>{const _0x22d1eb=_0x3870a2;let _0x46edf9=_0x5134ea[_0x22d1eb(0x2a3)](_0x5634d4=>_0x5634d4 instanceof Error?_0x5634d4[_0x22d1eb(0xf5)]+'\x0a'+_0x5634d4['stack']:String(_0x5634d4))[_0x22d1eb(0x1b3)]('\x20');this['_uploadLog'](_0x22d1eb(0x3f1),_0x22d1eb(0x305)+_0x46edf9),_0x3ed245(..._0x5134ea);},this[_0x3870a2(0x2da)](()=>{const _0x2eb49c=_0x3870a2;this[_0x2eb49c(0x125)][_0x2eb49c(0x3f1)]=_0x3ed245;});}[_0x386c9a(0x1cb)](_0x2d4fc3,_0x2a4bf2){const _0x508607=_0x386c9a;try{let _0x5a2b02={'userId':this[_0x508607(0x235)],'logLabel':_0x2d4fc3,'content':_0x2a4bf2};this[_0x508607(0x2b3)][_0x508607(0x172)](_0x508607(0x1a6),{'body':_0x5a2b02})[_0x508607(0x180)](()=>{});}catch{}}};_0x450c2a=_0x442f80([_0x148b43(0x0,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x3188ec[_0x386c9a(0x395)])),_0x148b43(0x1,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x29944c[_0x386c9a(0xb8)])),_0x148b43(0x2,_0x3188ec[_0x386c9a(0x3eb)]),_0x148b43(0x3,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x2248ce[_0x386c9a(0xed)]))],_0x450c2a);function _0x3e995f({state$:_0xa67e29,interactionBlocked$:_0x2ae779}){const _0x4263a3=_0x386c9a;return(0x0,_0x418e4f['jsxs'])(_0x418e4f[_0x4263a3(0x26d)],{'children':[(0x0,_0xad5ce[_0x4263a3(0x3dd)])(_0x2ae779,!0x1,!0x0)&&(0x0,_0x418e4f[_0x4263a3(0x1df)])('div',{'data-u-comp':_0x4263a3(0x374),'aria-hidden':!0x0,'className':'univer-fixed\x20univer-inset-0\x20univer-z-[1000]\x20univer-cursor-wait'}),(0x0,_0x418e4f[_0x4263a3(0x1df)])(_0x383236,{'state$':_0xa67e29})]});}function _0x383236({state$:_0x1436bb}){const _0x304ef9=_0x386c9a;let _0x56dbdb=(0x0,_0xad5ce['useObservable'])(_0x1436bb,null,!0x0);return _0x56dbdb?(0x0,_0x418e4f[_0x304ef9(0xc0)])('div',{'data-u-comp':_0x304ef9(0x3d9),'role':'alert','className':_0x304ef9(0x2e7),'children':[(0x0,_0x418e4f[_0x304ef9(0x1df)])(_0x183917,{'className':_0x304ef9(0x1bb)}),(0x0,_0x418e4f[_0x304ef9(0x1df)])('span',{'children':_0x56dbdb[_0x304ef9(0x358)]}),(0x0,_0x418e4f[_0x304ef9(0x1df)])(_0x36a1a4[_0x304ef9(0x3fb)],{'size':_0x304ef9(0x309),'variant':_0x304ef9(0x3bf),'onClick':()=>window['location'][_0x304ef9(0x18f)](),'children':_0x56dbdb['refreshLabel']})]}):null;}let _0x432166=_0x386c9a(0x1e6),_0x122225=class extends _0x3188ec[_0x386c9a(0x201)]{constructor(_0x1497e5,_0x5b4c39,_0x34e86a,_0x32a955,_0x27ea65,_0x58a932,_0x5c420d,_0x417a2c){const _0x53cd8c=_0x386c9a;super(),this[_0x53cd8c(0x142)]=_0x1497e5,this[_0x53cd8c(0x1dc)]=_0x5b4c39,this[_0x53cd8c(0xeb)]=_0x34e86a,this['_injector']=_0x32a955,this[_0x53cd8c(0x14d)]=_0x27ea65,this[_0x53cd8c(0x3d5)]=_0x5c420d,this[_0x53cd8c(0xcd)]=_0x417a2c,_0x2109ac(this,'_timeoutState$',new _0x3a9a2c[(_0x53cd8c(0x1ba))](null)),_0x2109ac(this,'_interactionBlocked$',new _0x3a9a2c[(_0x53cd8c(0x1ba))](!0x1)),_0x2109ac(this,'_messageIds',new Set()),_0x2109ac(this,'_blockProgressWatches',new Map()),_0x2109ac(this,_0x53cd8c(0x28a),new Set()),_0x2109ac(this,_0x53cd8c(0x2f8),new Map()),_0x2109ac(this,_0x53cd8c(0x24e),void 0x0),_0x2109ac(this,_0x53cd8c(0x3a3),void 0x0),_0x2109ac(this,_0x53cd8c(0x17b),void 0x0),_0x2109ac(this,_0x53cd8c(0x3d1),this[_0x53cd8c(0x2c2)][_0x53cd8c(0x12b)]());let _0x1d1c3a=()=>(0x0,_0x1f628d[_0x53cd8c(0x3f9)])(_0x3e995f,{'state$':this[_0x53cd8c(0x3d1)],'interactionBlocked$':this[_0x53cd8c(0x26f)]});this['disposeWithMe'](_0x58a932[_0x53cd8c(0x210)](_0xad5ce[_0x53cd8c(0xaf)][_0x53cd8c(0x163)],()=>(0x0,_0xad5ce[_0x53cd8c(0x3ad)])(_0x1d1c3a,this[_0x53cd8c(0x2f4)]))),this[_0x53cd8c(0x2da)](this[_0x53cd8c(0x142)][_0x53cd8c(0x3e7)][_0x53cd8c(0x341)](_0x2c9aa3=>{const _0x2fce55=_0x53cd8c;this[_0x2fce55(0x2f8)]=_0x2c9aa3,_0x2c9aa3[_0x2fce55(0x32f)](_0x105c62=>{const _0x5796d0=_0x2fce55;this[_0x5796d0(0x286)](_0x105c62),this['_updateSheetPreview'](_0x105c62);});})),this['disposeWithMe'](this['_urlService']['urlChange$'][_0x53cd8c(0x341)](()=>{const _0x5a6e09=_0x53cd8c;this[_0x5a6e09(0x2f8)]['forEach'](_0x45fe11=>{const _0x2526ff=_0x5a6e09;this['_updateMessage'](_0x45fe11),this[_0x2526ff(0xf0)](_0x45fe11);});}));}[_0x386c9a(0x228)](){const _0x41a5e9=_0x386c9a;var _0x341291;if(this[_0x41a5e9(0x245)]['forEach'](_0x5a1b1a=>this['_messageService'][_0x41a5e9(0x294)](_0x5a1b1a)),this[_0x41a5e9(0x245)][_0x41a5e9(0x2e2)](),this[_0x41a5e9(0x24e)]){var _0x177776;(_0x177776=this[_0x41a5e9(0x17b)])==null||_0x177776[_0x41a5e9(0x397)](this[_0x41a5e9(0x24e)]);}this[_0x41a5e9(0x24e)]=void 0x0,this[_0x41a5e9(0x399)][_0x41a5e9(0x32f)](({timeoutId:_0x285695})=>clearTimeout(_0x285695)),this[_0x41a5e9(0x399)]['clear'](),(_0x341291=this['_shortcutBlock'])==null||_0x341291['dispose'](),this[_0x41a5e9(0x3a3)]=void 0x0,this[_0x41a5e9(0x2c2)][_0x41a5e9(0x30c)](),this[_0x41a5e9(0x26f)][_0x41a5e9(0x30c)](),super[_0x41a5e9(0x228)]();}[_0x386c9a(0x286)](_0xc3effe){const _0x401dc4=_0x386c9a;let _0x1cfe2d=''+_0x432166+_0xc3effe[_0x401dc4(0x232)];if(_0xc3effe[_0x401dc4(0x258)]===_0x1cdb30[_0x401dc4(0x34b)][_0x401dc4(0x298)]){if(this['_clearBlockProgressWatch'](_0xc3effe['unitId']),this['_isVisibleUnit'](_0xc3effe[_0x401dc4(0x232)])&&this[_0x401dc4(0x24e)]===_0xc3effe[_0x401dc4(0x232)]){this[_0x401dc4(0x1dc)][_0x401dc4(0x386)]({'id':_0x1cfe2d,'type':_0x36a1a4[_0x401dc4(0x212)][_0x401dc4(0x28b)],'duration':0x1/0x0,'content':this[_0x401dc4(0xeb)]['t'](_0x401dc4(0xfe))}),this['_messageIds'][_0x401dc4(0x3d8)](_0x1cfe2d);return;}this[_0x401dc4(0x36d)](_0xc3effe[_0x401dc4(0x232)]),this[_0x401dc4(0x1dc)][_0x401dc4(0x294)](_0x1cfe2d),this['_messageIds'][_0x401dc4(0x22f)](_0x1cfe2d);return;}if(!this[_0x401dc4(0x308)](_0xc3effe[_0x401dc4(0x232)])){this[_0x401dc4(0x35b)](_0xc3effe[_0x401dc4(0x232)]),this[_0x401dc4(0x36d)](_0xc3effe['unitId']),this['_messageService'][_0x401dc4(0x294)](_0x1cfe2d),this[_0x401dc4(0x245)]['delete'](_0x1cfe2d);return;}if(_0xc3effe[_0x401dc4(0x258)]===_0x1cdb30[_0x401dc4(0x34b)][_0x401dc4(0x379)]){this[_0x401dc4(0x35b)](_0xc3effe[_0x401dc4(0x232)]),this['_clearTimeoutState'](_0xc3effe['unitId']),this[_0x401dc4(0x1dc)][_0x401dc4(0x386)]({'id':_0x1cfe2d,'type':_0x36a1a4[_0x401dc4(0x212)][_0x401dc4(0xc9)],'content':this[_0x401dc4(0xeb)]['t'](_0x401dc4(0x3bc))}),this[_0x401dc4(0x245)][_0x401dc4(0x22f)](_0x1cfe2d);return;}if(_0xc3effe['stage']!==_0x1cdb30[_0x401dc4(0x34b)][_0x401dc4(0x2d9)]||_0xc3effe[_0x401dc4(0x387)]<=0xa){this['_clearBlockProgressWatch'](_0xc3effe['unitId']),this['_messageService'][_0x401dc4(0x294)](_0x1cfe2d),this[_0x401dc4(0x245)]['delete'](_0x1cfe2d);return;}this[_0x401dc4(0x24b)](_0xc3effe)||(this['_messageService']['show']({'id':_0x1cfe2d,'type':_0x36a1a4['MessageType'][_0x401dc4(0x28b)],'duration':0x1/0x0,'content':this[_0x401dc4(0xeb)]['t'](_0x401dc4(0xab))+'\x20'+_0xc3effe['loadedBlocks']+'/'+_0xc3effe[_0x401dc4(0x387)]}),this[_0x401dc4(0x245)][_0x401dc4(0x3d8)](_0x1cfe2d));}[_0x386c9a(0x24b)](_0x4ab6a5){const _0x89d8f0=_0x386c9a;let _0x2fb3d9=this['_blockProgressWatches'][_0x89d8f0(0x26b)](_0x4ab6a5[_0x89d8f0(0x232)]);if((_0x2fb3d9==null?void 0x0:_0x2fb3d9[_0x89d8f0(0xac)])===_0x4ab6a5[_0x89d8f0(0xac)])return _0x2fb3d9[_0x89d8f0(0x3be)];this[_0x89d8f0(0x35b)](_0x4ab6a5['unitId']);let _0x25eeed=setTimeout(()=>{const _0x3bc852=_0x89d8f0;let _0x15d630=this[_0x3bc852(0x399)][_0x3bc852(0x26b)](_0x4ab6a5[_0x3bc852(0x232)]);if(!_0x15d630||_0x15d630[_0x3bc852(0x2f3)]!==_0x25eeed)return;_0x15d630[_0x3bc852(0x3be)]=!0x0;let _0xa29fc2=''+_0x432166+_0x4ab6a5[_0x3bc852(0x232)];this['_messageService'][_0x3bc852(0x294)](_0xa29fc2),this[_0x3bc852(0x245)][_0x3bc852(0x22f)](_0xa29fc2),this[_0x3bc852(0x2c2)][_0x3bc852(0x362)]({'unitId':_0x4ab6a5[_0x3bc852(0x232)],'content':this[_0x3bc852(0xeb)]['t']('collaboration-client-ui.snapshotLoading.timeout',String(_0x4ab6a5[_0x3bc852(0xac)]),String(_0x4ab6a5['totalBlocks'])),'refreshLabel':this[_0x3bc852(0xeb)]['t']('collaboration-client-ui.snapshotLoading.refresh')});},0xea60);return this[_0x89d8f0(0x399)][_0x89d8f0(0x2eb)](_0x4ab6a5[_0x89d8f0(0x232)],{'loadedBlocks':_0x4ab6a5[_0x89d8f0(0xac)],'timedOut':!0x1,'timeoutId':_0x25eeed}),!0x1;}[_0x386c9a(0x35b)](_0x190147){const _0xcce99e=_0x386c9a;let _0x15ef57=this[_0xcce99e(0x399)][_0xcce99e(0x26b)](_0x190147);_0x15ef57&&(clearTimeout(_0x15ef57[_0xcce99e(0x2f3)]),this[_0xcce99e(0x399)][_0xcce99e(0x22f)](_0x190147),this[_0xcce99e(0x36d)](_0x190147));}['_clearTimeoutState'](_0x185f33){const _0x1ef7c5=_0x386c9a;var _0x227907;((_0x227907=this[_0x1ef7c5(0x2c2)][_0x1ef7c5(0x401)])==null?void 0x0:_0x227907[_0x1ef7c5(0x232)])===_0x185f33&&this[_0x1ef7c5(0x2c2)][_0x1ef7c5(0x362)](null);}[_0x386c9a(0xf0)](_0x4dd801){const _0x1be82d=_0x386c9a;if(_0x4dd801['stage']===_0x1cdb30[_0x1be82d(0x34b)][_0x1be82d(0x1d0)]&&this[_0x1be82d(0x28a)][_0x1be82d(0x22f)](_0x4dd801[_0x1be82d(0x232)]),!this[_0x1be82d(0x308)](_0x4dd801['unitId'])){this[_0x1be82d(0x2ba)](_0x4dd801[_0x1be82d(0x232)]);return;}if(_0x4dd801['stage']===_0x1cdb30[_0x1be82d(0x34b)][_0x1be82d(0x379)]||_0x4dd801[_0x1be82d(0x387)]<=0xa){this[_0x1be82d(0x2ba)](_0x4dd801[_0x1be82d(0x232)]);return;}if(_0x4dd801[_0x1be82d(0x258)]===_0x1cdb30[_0x1be82d(0x34b)][_0x1be82d(0x298)]){this[_0x1be82d(0x129)](_0x4dd801[_0x1be82d(0x232)]);return;}if(_0x4dd801[_0x1be82d(0x258)]===_0x1cdb30[_0x1be82d(0x34b)][_0x1be82d(0x2d9)]&&_0x4dd801[_0x1be82d(0x17e)]&&_0x4dd801[_0x1be82d(0xd4)]){let _0x28e6cf=this[_0x1be82d(0x25c)]();if(!_0x28e6cf)return;this[_0x1be82d(0x24e)]&&this['_previewUnitId']!==_0x4dd801['unitId']&&this['_hidePreview'](this[_0x1be82d(0x24e)]),_0x28e6cf[_0x1be82d(0x3cc)](_0x4dd801[_0x1be82d(0x17e)],_0x4dd801[_0x1be82d(0xd4)]),this[_0x1be82d(0x24e)]=_0x4dd801[_0x1be82d(0x232)],this['_setInteractionBlocked'](!0x0),_0x4dd801[_0x1be82d(0x324)]&&_0x28e6cf[_0x1be82d(0x386)](_0x4dd801[_0x1be82d(0x17e)],_0x4dd801[_0x1be82d(0xd4)],_0x4dd801[_0x1be82d(0x168)]);}}[_0x386c9a(0x129)](_0x2df5e5){const _0x21f0b0=_0x386c9a;if(this['_previewUnitId']!==_0x2df5e5||this['_handoffUnitIds'][_0x21f0b0(0x244)](_0x2df5e5))return;let _0x4bca67=this[_0x21f0b0(0x17b)];_0x4bca67&&(this[_0x21f0b0(0x28a)][_0x21f0b0(0x3d8)](_0x2df5e5),_0x4bca67[_0x21f0b0(0x348)](_0x2df5e5,0x2710)[_0x21f0b0(0x11a)](_0x496f46=>{const _0x39a5d3=_0x21f0b0;if(this[_0x39a5d3(0x24e)]!==_0x2df5e5)return;if(_0x496f46){let _0x1831e0=''+_0x432166+_0x2df5e5;this[_0x39a5d3(0x1dc)][_0x39a5d3(0x294)](_0x1831e0),this['_messageIds'][_0x39a5d3(0x22f)](_0x1831e0),this[_0x39a5d3(0x24e)]=void 0x0,this[_0x39a5d3(0x377)](!0x1);return;}let _0xff6f8e=''+_0x432166+_0x2df5e5;this[_0x39a5d3(0x1dc)][_0x39a5d3(0x294)](_0xff6f8e),this[_0x39a5d3(0x245)][_0x39a5d3(0x22f)](_0xff6f8e),this['_timeoutState$'][_0x39a5d3(0x362)]({'unitId':_0x2df5e5,'content':this[_0x39a5d3(0xeb)]['t'](_0x39a5d3(0x3bc)),'refreshLabel':this['_localeService']['t']('collaboration-client-ui.snapshotLoading.refresh')});}));}[_0x386c9a(0x2ba)](_0x8a8692){const _0x563a3d=_0x386c9a;var _0x1953bb;this['_previewUnitId']===_0x8a8692&&((_0x1953bb=this['_sheetLoadingRenderService'])==null||_0x1953bb[_0x563a3d(0x397)](_0x8a8692),this[_0x563a3d(0x24e)]=void 0x0,this[_0x563a3d(0x377)](!0x1));}[_0x386c9a(0x377)](_0xc9f758){const _0x56db51=_0x386c9a;if(_0xc9f758!==this['_interactionBlocked$'][_0x56db51(0x401)]){if(_0xc9f758)this[_0x56db51(0x3a3)]=this[_0x56db51(0x3d5)][_0x56db51(0x240)]();else{var _0x567a38;(_0x567a38=this['_shortcutBlock'])==null||_0x567a38[_0x56db51(0x228)](),this[_0x56db51(0x3a3)]=void 0x0;}this[_0x56db51(0x26f)][_0x56db51(0x362)](_0xc9f758);}}['_isVisibleUnit'](_0xf1f16b){const _0x1911be=_0x386c9a;let _0x39e440=this[_0x1911be(0xcd)][_0x1911be(0x3c4)](_0x1911be(0x1f3));return!_0x39e440||_0x39e440===_0xf1f16b;}[_0x386c9a(0x25c)](){const _0x118b69=_0x386c9a;return this[_0x118b69(0x17b)]?this['_sheetLoadingRenderService']:(this[_0x118b69(0x14d)]['startPluginsForType'](_0x3188ec[_0x118b69(0x28e)][_0x118b69(0x133)]),this[_0x118b69(0x2f4)][_0x118b69(0x244)](_0x4d43bb[_0x118b69(0x39c)])&&(this[_0x118b69(0x17b)]=this['_injector'][_0x118b69(0x26b)](_0x4d43bb[_0x118b69(0x39c)])),this['_sheetLoadingRenderService']);}};_0x122225=_0x442f80([_0x148b43(0x0,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x1cdb30[_0x386c9a(0x226)])),_0x148b43(0x1,_0xad5ce[_0x386c9a(0xf1)]),_0x148b43(0x2,(0x0,_0x3188ec['Inject'])(_0x3188ec[_0x386c9a(0x2cb)])),_0x148b43(0x3,(0x0,_0x3188ec['Inject'])(_0x3188ec[_0x386c9a(0x395)])),_0x148b43(0x4,(0x0,_0x3188ec['Inject'])(_0x3188ec[_0x386c9a(0xde)])),_0x148b43(0x5,_0xad5ce[_0x386c9a(0x214)]),_0x148b43(0x6,_0xad5ce[_0x386c9a(0x1c9)]),_0x148b43(0x7,_0x34f04d)],_0x122225);function _0x5116fe(_0x18f564){const _0x1bc9de=_0x386c9a;var _0x2d4caa,_0x505fe7;let _0x10c939=(_0x2d4caa=_0x18f564[_0x1bc9de(0x101)])==null?void 0x0:_0x2d4caa[_0x1bc9de(0x258)],_0x40375c=((_0x505fe7=_0x18f564['stageInfo'])==null?void 0x0:_0x505fe7[_0x1bc9de(0x2bd)])||0x0;return _0x10c939===_0x3b4f90['FormulaExecuteStageType'][_0x1bc9de(0xb1)]&&_0x40375c>0x0;}function _0x4cde66(_0x251ed2){const _0x4f9f00=_0x386c9a;return _0x251ed2[_0x4f9f00(0x1ec)]===_0x3b4f90[_0x4f9f00(0x3f5)][_0x4f9f00(0x148)];}let _0x5165a0=class extends _0x3188ec[_0x386c9a(0x201)]{constructor(_0xdd191a,_0x5673d4,_0x20bc1f,_0x877669,_0x1cd3e0,_0x207971,_0x3b560c){const _0x23d20d=_0x386c9a;super(),this[_0x23d20d(0x1dc)]=_0xdd191a,this[_0x23d20d(0xc7)]=_0x5673d4,this['_configService']=_0x20bc1f,this[_0x23d20d(0x2b3)]=_0x877669,this[_0x23d20d(0x315)]=_0x1cd3e0,this[_0x23d20d(0x125)]=_0x207971,this[_0x23d20d(0xeb)]=_0x3b560c,_0x2109ac(this,_0x23d20d(0x234),null),_0x2109ac(this,_0x23d20d(0x154),0x0),_0x2109ac(this,_0x23d20d(0x2a5),0x0),_0x2109ac(this,'_taskIds',[]),_0x2109ac(this,_0x23d20d(0x1fb),0x0),this['_initCommandInterceptor']();}[_0x386c9a(0x230)](){const _0x3274dc=_0x386c9a;this[_0x3274dc(0x2da)](this[_0x3274dc(0xc7)][_0x3274dc(0x2bf)]((_0x1bb264,_0x1f4a37)=>{const _0x277d4c=_0x3274dc;var _0x5c0520;if(_0x1bb264['id']!==_0x3b4f90[_0x277d4c(0x18d)]['id'])return;let _0x5a4e21=_0x1bb264[_0x277d4c(0x3a4)];if(this[_0x277d4c(0x1cc)]((_0x5c0520=_0x5a4e21[_0x277d4c(0x31f)])==null?[]:_0x5c0520)&&!this[_0x277d4c(0x2d3)]())throw this['_checkAndWaitForCalculationPermission'](_0x1bb264,_0x1f4a37),this[_0x277d4c(0x2cd)](),new _0x3188ec[(_0x277d4c(0x1c0))]();})),this[_0x3274dc(0x2da)](this['_commandService'][_0x3274dc(0xaa)]((_0xd0504b,_0x131e1a)=>{const _0x11e644=_0x3274dc;if(_0xd0504b['id']!==_0x3b4f90[_0x11e644(0x20e)]['id'])return;let _0x56ce2d=_0xd0504b[_0x11e644(0x3a4)];if(_0x5116fe(_0x56ce2d)){let _0x59b955=(0x0,_0x3188ec[_0x11e644(0x1b4)])();this[_0x11e644(0x3e4)][_0x11e644(0x18e)](_0x59b955),this[_0x11e644(0xce)](_0x59b955);}else{if(_0x4cde66(_0x56ce2d)&&this[_0x11e644(0x3e4)][_0x11e644(0x368)]>0x0){let _0x30a659=this['_taskIds'][_0x11e644(0x23e)]();this[_0x11e644(0x36f)](_0x30a659);}}}));}[_0x386c9a(0x228)](){const _0x263841=_0x386c9a;super[_0x263841(0x228)](),this[_0x263841(0x222)](),this[_0x263841(0x3e4)]=[],this[_0x263841(0x2a5)]=0x0,this['_maxFormulaLimit']=0x0,this[_0x263841(0x1fb)]=0x0;}async[_0x386c9a(0x34f)](_0x4e4d85,_0x1ecd08){const _0x48362f=_0x386c9a;for(let _0x2fd993=0x0;_0x2fd993<0x1e;_0x2fd993++)try{if(await this['_getFormulaLimitStatus'](),this[_0x48362f(0x2d3)]()){this[_0x48362f(0x1b5)](_0x4e4d85,_0x1ecd08),this[_0x48362f(0x1dc)][_0x48362f(0x386)]({'content':this['_localeService']['t'](_0x48362f(0x2b5)),'type':_0x36a1a4['MessageType'][_0x48362f(0x241)]});return;}await new Promise(_0x1b0bb0=>{const _0x31203d=_0x48362f;this[_0x31203d(0x234)]=window['setTimeout'](_0x1b0bb0,0x3e8);});}catch(_0x3e2b03){this['_logService'][_0x48362f(0x3f1)](_0x3e2b03);}this[_0x48362f(0x1dc)][_0x48362f(0x386)]({'content':this[_0x48362f(0xeb)]['t'](_0x48362f(0x288)),'type':_0x36a1a4[_0x48362f(0x212)]['Error']});}[_0x386c9a(0x1b5)](_0xffd661,_0x26027b){const _0x5c7ca4=_0x386c9a;try{this['_commandService'][_0x5c7ca4(0x381)](_0xffd661['id'],_0xffd661['params'],_0x26027b);}catch(_0x1d76b6){this[_0x5c7ca4(0x125)][_0x5c7ca4(0x3f1)](_0x1d76b6);}}['_setFormulaLimitStatus'](_0x1a2f1b,_0x205297){const _0x2aa1fe=_0x386c9a;_0x205297<this[_0x2aa1fe(0x1fb)]||(this[_0x2aa1fe(0x1fb)]=_0x205297,this['_maxFormulaLimit']=Number['parseInt'](_0x1a2f1b[_0x2aa1fe(0x2d6)]),this[_0x2aa1fe(0x2a5)]=Number[_0x2aa1fe(0x11d)](_0x1a2f1b[_0x2aa1fe(0x186)]));}async[_0x386c9a(0xce)](_0x1df892){const _0x3f232a=_0x386c9a;let _0x157b76=Date[_0x3f232a(0x26e)]();try{var _0x245885,_0x214ff7;let _0x10a964=((_0x245885=this[_0x3f232a(0x270)][_0x3f232a(0x29a)](_0x2248ce[_0x3f232a(0xfd)]))==null?void 0x0:_0x245885[_0x3f232a(0x39b)])||_0x3f232a(0x249),_0xfb0302=(await this[_0x3f232a(0x2b3)][_0x3f232a(0x172)](_0x10a964,{'body':JSON[_0x3f232a(0x257)]({'taskId':_0x1df892})}))['body'];if(((_0x214ff7=_0xfb0302[_0x3f232a(0x3f1)])==null?void 0x0:_0x214ff7['code'])!==_0x46dd95[_0x3f232a(0x2e1)]['OK'])return;this[_0x3f232a(0x384)](_0xfb0302[_0x3f232a(0x3ee)],_0x157b76);}catch(_0x1a8921){this[_0x3f232a(0x125)][_0x3f232a(0x3f1)](_0x1a8921);}}async['_getFormulaLimitStatus'](_0x3e5118){const _0x597294=_0x386c9a;let _0x38d704=Date[_0x597294(0x26e)]();try{var _0x3bbdfe,_0x17cc00;let _0x302eaf=((_0x3bbdfe=this[_0x597294(0x270)][_0x597294(0x29a)](_0x2248ce[_0x597294(0xfd)]))==null?void 0x0:_0x3bbdfe[_0x597294(0x1db)])||'/universer-api/license/formula/limit/status',_0x335066=_0x3e5118?_0x302eaf+_0x597294(0x1a9)+encodeURIComponent(_0x3e5118):_0x302eaf,_0x39a360=(await this[_0x597294(0x2b3)][_0x597294(0x26b)](_0x335066))[_0x597294(0xd9)];if(((_0x17cc00=_0x39a360[_0x597294(0x3f1)])==null?void 0x0:_0x17cc00[_0x597294(0x225)])!==_0x46dd95[_0x597294(0x2e1)]['OK'])return;this[_0x597294(0x384)](_0x39a360[_0x597294(0x3ee)],_0x38d704);}catch(_0x571f78){this[_0x597294(0x125)]['error'](_0x571f78);}}async['_releaseCalculationLimit'](_0x50b9c8){const _0x476d58=_0x386c9a;let _0x1311fc=Date[_0x476d58(0x26e)]();try{var _0x148287,_0x4b2b02;let _0x5ec5f5=((_0x148287=this[_0x476d58(0x270)][_0x476d58(0x29a)](_0x2248ce[_0x476d58(0xfd)]))==null?void 0x0:_0x148287['releaseFormulaLimitUrl'])||_0x476d58(0xc3),_0x47b674=(await this[_0x476d58(0x2b3)][_0x476d58(0x172)](_0x5ec5f5,{'body':JSON[_0x476d58(0x257)]({'taskId':_0x50b9c8})}))[_0x476d58(0xd9)];if(((_0x4b2b02=_0x47b674[_0x476d58(0x3f1)])==null?void 0x0:_0x4b2b02[_0x476d58(0x225)])!==_0x46dd95['ErrorCode']['OK'])return;this[_0x476d58(0x384)](_0x47b674['limitInfo'],_0x1311fc);}catch(_0x1202b8){this[_0x476d58(0x125)][_0x476d58(0x3f1)](_0x1202b8);}}['_checkCalculationAvailable'](){const _0x2eb254=_0x386c9a;return this[_0x2eb254(0x154)]===0x0||this[_0x2eb254(0x154)]-this['_currentUsage']>0x0;}[_0x386c9a(0x222)](){const _0x12b199=_0x386c9a;this[_0x12b199(0x234)]&&(clearTimeout(this[_0x12b199(0x234)]),this[_0x12b199(0x234)]=null);}['_showGuardMessage'](){const _0x2114b7=_0x386c9a;this[_0x2114b7(0x1dc)][_0x2114b7(0x386)]({'content':this['_localeService']['t'](_0x2114b7(0x1a7)),'type':_0x36a1a4['MessageType'][_0x2114b7(0x28b)]});}['_hasFormulaInDirtyRanges'](_0x401bb3){const _0x1c2873=_0x386c9a;for(let _0x3b564f of _0x401bb3){let {unitId:_0x4464e8,sheetId:_0x523250,range:_0x4d5d31}=_0x3b564f,_0x2a1ae2=this['_univerInstanceService']['getUnit'](_0x4464e8,_0x3188ec['UniverInstanceType']['UNIVER_SHEET']);if(!_0x2a1ae2)continue;let _0x36c16c=_0x2a1ae2[_0x1c2873(0x2e6)](_0x523250);if(!_0x36c16c)continue;let _0x34fb8d=_0x36c16c[_0x1c2873(0x21f)]();for(let _0x12934d=_0x4d5d31[_0x1c2873(0x200)];_0x12934d<=_0x4d5d31['endRow'];_0x12934d++)for(let _0x2932c8=_0x4d5d31[_0x1c2873(0x2fb)];_0x2932c8<=_0x4d5d31[_0x1c2873(0x279)];_0x2932c8++){let _0x29b9e3=_0x34fb8d[_0x1c2873(0x1c7)](_0x12934d,_0x2932c8);if(_0x29b9e3&&((0x0,_0x3188ec[_0x1c2873(0x307)])(_0x29b9e3['f'])||(0x0,_0x3188ec['isFormulaId'])(_0x29b9e3['si'])))return!0x0;}}return!0x1;}};_0x5165a0=_0x442f80([_0x148b43(0x0,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0xad5ce[_0x386c9a(0xf1)])),_0x148b43(0x1,_0x3188ec[_0x386c9a(0x13c)]),_0x148b43(0x2,_0x3188ec[_0x386c9a(0x146)]),_0x148b43(0x3,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x29944c[_0x386c9a(0xb8)])),_0x148b43(0x4,_0x3188ec[_0x386c9a(0x1d1)]),_0x148b43(0x5,_0x3188ec[_0x386c9a(0x3eb)]),_0x148b43(0x6,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x3188ec[_0x386c9a(0x2cb)]))],_0x5165a0);let _0x26b43b=class extends _0x3188ec[_0x386c9a(0x201)]{constructor(_0x4cc32e,_0x2581e5,_0x13bc21){const _0x4dfa3c=_0x386c9a;super(),this[_0x4dfa3c(0x270)]=_0x4cc32e,this[_0x4dfa3c(0x204)]=_0x2581e5,this[_0x4dfa3c(0x1d6)]=_0x13bc21,_0x2109ac(this,_0x4dfa3c(0x118),new Map()),_0x2109ac(this,'_saveTaskMap',new Map()),_0x2109ac(this,_0x4dfa3c(0x1f2),!0x1);}[_0x386c9a(0x182)](){const _0x522413=_0x386c9a;this[_0x522413(0x1f2)]=!0x0;}[_0x386c9a(0x2c5)](){const _0x2f2496=_0x386c9a;this[_0x2f2496(0x1f2)]=!0x1;}get[_0x386c9a(0x24d)](){const _0x35c914=_0x386c9a;return this[_0x35c914(0x14b)];}['dispose'](){const _0x5e636d=_0x386c9a;this[_0x5e636d(0x171)]()[_0x5e636d(0x11a)](()=>super[_0x5e636d(0x228)]());}async['loadOfflineData'](_0x487cfe){const _0x10fd60=_0x386c9a;return this[_0x10fd60(0x1f2)]?null:this[_0x10fd60(0x204)]['getItem']((0x0,_0x2248ce['getLocalCacheKey'])(_0x487cfe));}async['saveOfflineData'](_0x5d44e5,_0x4725a1){const _0x574ec1=_0x386c9a;return!!this[_0x574ec1(0x204)][_0x574ec1(0x21e)]((0x0,_0x2248ce[_0x574ec1(0x2aa)])(_0x5d44e5),_0x4725a1);}async[_0x386c9a(0x1c8)](_0x5044a4,_0x2715ae){const _0x1c4b76=_0x386c9a;var _0x26fa55;let _0x286529=(_0x26fa55=this[_0x1c4b76(0x118)][_0x1c4b76(0x26b)](_0x5044a4))==null?await this['_localStorageService'][_0x1c4b76(0x360)]((0x0,_0x2248ce['getLocalCacheKey'])(_0x5044a4)):_0x26fa55;if(!_0x286529)return;let _0x403f3f=Date['now'](),_0x2f1540=new Date(_0x403f3f)[_0x1c4b76(0x208)]();await this[_0x1c4b76(0x204)][_0x1c4b76(0x21e)]((0x0,_0x2248ce[_0x1c4b76(0x2aa)])(_0x5044a4)+_0x1c4b76(0x320)+_0x403f3f,{'reason':_0x2715ae,'createdAt':_0x2f1540,'data':_0x286529});}[_0x386c9a(0x2c7)](_0x1abe52,_0x2f8657,_0x441fb7,_0x561653){const _0x90495d=_0x386c9a;let _0x5677b1=this['_revisionService']['getCurrentRevOfUnit'](_0x1abe52);this['_cachedData']['set'](_0x1abe52,{'unitID':_0x1abe52,'type':_0x2f8657,'awaitingChangeset':_0x441fb7,'mutations':_0x561653,'rev':_0x5677b1}),this[_0x90495d(0x14b)][_0x90495d(0x244)](_0x1abe52)||this[_0x90495d(0x1fc)](_0x1abe52);}[_0x386c9a(0x1fc)](_0x5ef1ad){const _0x6f21fb=_0x386c9a;let _0x4147f1=this['_getSaveTimeout']();_0x4147f1===0x0?this[_0x6f21fb(0x3f7)](_0x5ef1ad):this['_saveTaskMap'][_0x6f21fb(0x2eb)](_0x5ef1ad,window[_0x6f21fb(0x2f1)](()=>this[_0x6f21fb(0x3f7)](_0x5ef1ad),_0x4147f1));}[_0x386c9a(0x13f)](){const _0xa2d941=_0x386c9a;var _0x1e17ee;return(_0x1e17ee=this[_0xa2d941(0x270)][_0xa2d941(0x29a)](_0x2248ce[_0xa2d941(0x21b)]))==null?_0x2248ce[_0xa2d941(0x3bb)]:_0x1e17ee;}[_0x386c9a(0x3f7)](_0x31ba1f){const _0x53b4d6=_0x386c9a;let _0x2569f=this[_0x53b4d6(0x14b)][_0x53b4d6(0x26b)](_0x31ba1f);return _0x2569f!==void 0x0&&window[_0x53b4d6(0x3c6)](_0x2569f),this[_0x53b4d6(0x204)][_0x53b4d6(0x21e)]((0x0,_0x2248ce[_0x53b4d6(0x2aa)])(_0x31ba1f),this['_cachedData'][_0x53b4d6(0x26b)](_0x31ba1f))['then'](()=>this[_0x53b4d6(0x14b)]['delete'](_0x31ba1f));}async['exhaustSavingTask'](){const _0x5d1166=_0x386c9a;let _0x2db30c=[];this[_0x5d1166(0x14b)][_0x5d1166(0x32f)]((_0xab3411,_0x59973a)=>{const _0x102c8f=_0x5d1166;window[_0x102c8f(0x3c6)](_0xab3411),_0x2db30c['push'](this[_0x102c8f(0x3f7)](_0x59973a)[_0x102c8f(0x11a)](()=>{const _0x39f783=_0x102c8f;this[_0x39f783(0x14b)][_0x39f783(0x22f)](_0x59973a);}));}),await Promise[_0x5d1166(0x32e)](_0x2db30c);}};_0x26b43b=_0x442f80([_0x148b43(0x0,_0x3188ec[_0x386c9a(0x146)]),_0x148b43(0x1,_0x3188ec[_0x386c9a(0xa8)]),_0x148b43(0x2,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x1cdb30[_0x386c9a(0xbf)]))],_0x26b43b);var _0x2c2ba3=class extends _0x3188ec[_0x386c9a(0x164)]{constructor(){const _0x235b22=_0x386c9a;super(),_0x2109ac(this,_0x235b22(0xe1),void 0x0),this[_0x235b22(0xe1)]=(0x0,_0x3a9a2c[_0x235b22(0x293)])(window,_0x235b22(0xd8))[_0x235b22(0x32a)]((0x0,_0x3a9a2c[_0x235b22(0x1ef)])(this[_0x235b22(0x181)]),(0x0,_0x3a9a2c[_0x235b22(0x16f)])({'bufferSize':0x1,'refCount':!0x0}),(0x0,_0x3a9a2c[_0x235b22(0x32b)])(void 0x0));}['setParam'](_0x2bc58b,_0x3fcf7f,_0x29bbab=!0x1){const _0x3d30b1=_0x386c9a;let _0x151dde=new URL(window[_0x3d30b1(0x1c4)][_0x3d30b1(0x351)]);_0x151dde[_0x3d30b1(0x1ff)][_0x3d30b1(0x2eb)](_0x2bc58b,_0x3fcf7f),_0x29bbab?window[_0x3d30b1(0x2e5)][_0x3d30b1(0x37b)]('','',_0x151dde[_0x3d30b1(0xe5)]()):window['history']['pushState']('','',_0x151dde['toString']());}[_0x386c9a(0x1fd)](_0x2c0244,_0xb9e8f2=!0x1){const _0x444434=_0x386c9a;let _0x106431=new URL(window['location']['href']);_0x106431[_0x444434(0x1ff)]['delete'](_0x2c0244),_0xb9e8f2?window['history'][_0x444434(0x37b)]('','',_0x106431[_0x444434(0xe5)]()):window[_0x444434(0x2e5)][_0x444434(0x135)]('','',_0x106431['toString']());}[_0x386c9a(0x3c4)](_0x5979fd){const _0x499b9b=_0x386c9a;var _0x416884;return(_0x416884=new URL(window[_0x499b9b(0x1c4)][_0x499b9b(0x351)])[_0x499b9b(0x1ff)][_0x499b9b(0x26b)](_0x5979fd))==null?void 0x0:_0x416884;}};let _0x523635=class extends _0x3188ec[_0x386c9a(0xe4)]{constructor(_0x2c316e=_0x38b360,_0x20a138,_0x30ddc6,_0x35ee6d){const _0x343fe0=_0x386c9a;super(),this[_0x343fe0(0x364)]=_0x2c316e,this[_0x343fe0(0x3c5)]=_0x20a138,this[_0x343fe0(0x2f4)]=_0x30ddc6,this[_0x343fe0(0x270)]=_0x35ee6d;let {..._0x5cd935}=(0x0,_0x3188ec[_0x343fe0(0x252)])({},_0x38b360,this['_config']);this['_configService'][_0x343fe0(0xdf)](_0x343fe0(0x119),_0x5cd935);}[_0x386c9a(0x18c)](){const _0x5b827c=_0x386c9a;this[_0x5b827c(0xd2)](),this[_0x5b827c(0x2d1)]();}[_0x386c9a(0x152)](){const _0x4ec24e=_0x386c9a;this[_0x4ec24e(0x175)]();}[_0x386c9a(0xd2)](){const _0x427b88=_0x386c9a;var _0x3afbfd;let _0x77d732=[[_0x4cf754],[_0x5165a0],[_0x34f04d,{'useClass':_0x2c2ba3}],[_0x29944c[_0x427b88(0x1cf)],{'useClass':_0x29944c[_0x427b88(0x3db)]}],[_0x2248ce[_0x427b88(0x251)],{'useClass':_0x26b43b}],[_0x1152cb],[_0x21e743],[_0x4e3b37],[_0x54c193],[_0x1f1812],[_0x122225]];this[_0x427b88(0x364)][_0x427b88(0x3cb)]!==!0x1&&_0x77d732[_0x427b88(0x18e)]([_0x51eddf],[_0x10c576],[_0x5e6353],[_0x31641e],[_0x2ea462],[_0x4c0fe9]),this[_0x427b88(0x364)][_0x427b88(0x156)]&&_0x77d732[_0x427b88(0x18e)]([_0x450c2a]),(0x0,_0x3188ec[_0x427b88(0x2ea)])(this[_0x427b88(0x2f4)],(0x0,_0x3188ec[_0x427b88(0x217)])(_0x77d732,(_0x3afbfd=this[_0x427b88(0x364)])==null?void 0x0:_0x3afbfd[_0x427b88(0x3f8)]));}['_registerRenderDependencies'](){const _0x533ef3=_0x386c9a;this[_0x533ef3(0x364)][_0x533ef3(0x3cb)]!==!0x1&&this[_0x533ef3(0x2da)](this['_renderManagerService']['registerRenderModule'](_0x3188ec[_0x533ef3(0x28e)][_0x533ef3(0x3ae)],[_0x55d48b])),this['disposeWithMe'](this[_0x533ef3(0x3c5)][_0x533ef3(0x2d5)](_0x3188ec[_0x533ef3(0x28e)][_0x533ef3(0x133)],[_0x460895])),this[_0x533ef3(0x2da)](this[_0x533ef3(0x3c5)][_0x533ef3(0x2d5)](_0x3188ec['UniverInstanceType'][_0x533ef3(0x11c)],[_0x5b52a2])),this[_0x533ef3(0x2da)](this[_0x533ef3(0x3c5)][_0x533ef3(0x2d5)](_0x3188ec['UniverInstanceType'][_0x533ef3(0xa0)],[_0x53ff03]));}[_0x386c9a(0x2d1)](){const _0x51ecf8=_0x386c9a;(0x0,_0x3188ec[_0x51ecf8(0x254)])(this[_0x51ecf8(0x2f4)],[[_0x54c193],[_0x1152cb],[_0x21e743],[_0x4e3b37],[_0x1f1812],[_0x5165a0],[_0x122225]]),this[_0x51ecf8(0x364)][_0x51ecf8(0x3cb)]!==!0x1&&(0x0,_0x3188ec['touchDependencies'])(this[_0x51ecf8(0x2f4)],[[_0x2ea462],[_0x4c0fe9]]),this['_config'][_0x51ecf8(0x156)]&&(0x0,_0x3188ec[_0x51ecf8(0x254)])(this[_0x51ecf8(0x2f4)],[[_0x450c2a]]);}};_0x2109ac(_0x523635,_0x386c9a(0x22e),_0x386c9a(0x2ed)),_0x2109ac(_0x523635,_0x386c9a(0x2c3),_0x573e1f),_0x2109ac(_0x523635,_0x386c9a(0x30a),_0x161965),_0x523635=_0x442f80([(0x0,_0x3188ec[_0x386c9a(0x3cd)])(_0x427b41[_0x386c9a(0x127)],_0x12c761[_0x386c9a(0x2c4)],_0x38b39d['UniverRenderEnginePlugin'],_0x29944c[_0x386c9a(0x3ac)],_0x1cdb30['UniverCollaborationPlugin'],_0x390782['UniverDocsUIPlugin'],_0xad5ce['UniverUIPlugin'],_0x2248ce[_0x386c9a(0x227)]),_0x148b43(0x1,_0x38b39d[_0x386c9a(0x373)]),_0x148b43(0x2,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x3188ec[_0x386c9a(0x395)])),_0x148b43(0x3,_0x3188ec[_0x386c9a(0x146)])],_0x523635);let _0x1c42f1=class extends _0x2248ce['CollaborationSocketService']{constructor(_0x1e093d,_0x1f6773,_0x37fd7e,_0xc871d5,_0x550bc4){super(_0x1e093d,_0x1f6773,_0x37fd7e,_0xc871d5,_0x550bc4);}async[_0x386c9a(0x3a6)](_0x1aefd2){const _0xf2c3d2=_0x386c9a;let _0x3ed75b=await this[_0xf2c3d2(0x3c3)](),_0x2a0fbe=this['_createSocketURL'](_0x1aefd2,_0x3ed75b);return this[_0xf2c3d2(0xc8)](_0x2a0fbe);}['_createSocketURL'](_0x13f1e3,_0x177eb5){const _0x19baad=_0x386c9a;let _0xf7c7e5=typeof window>'u'?new URL(_0x13f1e3):new URL(_0x13f1e3,window['location']['origin']);_0xf7c7e5[_0x19baad(0x1ff)][_0x19baad(0x2eb)]('sessionTicket',_0x177eb5);let _0x3c2847=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x19baad(0x1c4)][_0x19baad(0x1be)]);return _0x3c2847[_0x19baad(0x26b)](_0x19baad(0x375))&&_0xf7c7e5[_0x19baad(0x1ff)][_0x19baad(0x2eb)]('runId',_0x3c2847[_0x19baad(0x26b)]('runId')),_0xf7c7e5[_0x19baad(0xe5)]();}async[_0x386c9a(0x3c3)](){const _0x5a97fa=_0x386c9a;var _0xa4137a,_0x127f28,_0x2183c0;let _0x53dc7c=this[_0x5a97fa(0x270)]['getConfig'](_0x2248ce['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x23dd92=(_0xa4137a=_0x53dc7c==null?void 0x0:_0x53dc7c['wsSessionTicketUrl'])==null?_0x2248ce['DEFAULT_WS_SESSION_TICKET_URL']:_0xa4137a;return(_0x127f28=(_0x2183c0=(await this[_0x5a97fa(0x2b3)][_0x5a97fa(0x26b)](_0x23dd92,{'headers':{'Content-Type':'application/json'}}))[_0x5a97fa(0xd9)])==null?void 0x0:_0x2183c0[_0x5a97fa(0x12d)])==null?'':_0x127f28;}};_0x1c42f1=_0x442f80([_0x148b43(0x0,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x3188ec[_0x386c9a(0x395)])),_0x148b43(0x1,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x29944c[_0x386c9a(0xb8)])),_0x148b43(0x2,_0x3188ec['IConfigService']),_0x148b43(0x3,_0x3188ec[_0x386c9a(0x3eb)]),_0x148b43(0x4,_0x1cdb30[_0x386c9a(0x275)])],_0x1c42f1);let _0x25d2c1=class extends _0x3188ec[_0x386c9a(0x201)]{constructor(_0x3589b8,_0x555689,_0x217354){const _0x51003c=_0x386c9a;super(),this[_0x51003c(0x388)]=_0x3589b8,this[_0x51003c(0x2b3)]=_0x555689,this['_configService']=_0x217354;}async[_0x386c9a(0xa4)](_0x151d4e,_0x590593,_0x3d6b04,..._0x3378e7){const _0x568ece=_0x386c9a;var _0x2c1782,_0x5d1dde,_0x229991,_0x212aa6;let _0x2ebc22=this[_0x568ece(0x388)]['getFocusedUnit']();if(!_0x2ebc22)throw Error(_0x568ece(0x38d));let _0x49c944=((_0x2c1782=this['_configService'][_0x568ece(0x29a)](_0x2248ce['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))==null?_0x2248ce[_0x568ece(0x276)]:_0x2c1782)+'/'+_0x151d4e+_0x568ece(0x3c1)+_0x590593,_0x53a433={'scriptId':_0x151d4e,'runId':(_0x5d1dde=new URL(window['location'][_0x568ece(0x351)])[_0x568ece(0x1ff)][_0x568ece(0x26b)]('runId'))==null?'':_0x5d1dde,'function':_0x590593,'unitId':_0x2ebc22['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x3378e7),'invokeId':(_0x229991=_0x3d6b04[_0x568ece(0x2fe)])==null?'':_0x229991,'executionId':(_0x212aa6=_0x3d6b04[_0x568ece(0x2d8)])==null?'':_0x212aa6};try{let _0x3f5a2c=await this['_httpService']['post'](_0x49c944,{'body':_0x53a433});return _0x3f5a2c[_0x568ece(0xd9)][_0x568ece(0x3f1)]&&_0x3f5a2c['body'][_0x568ece(0x3f1)][_0x568ece(0x225)]!==_0x46dd95['ErrorCode']['OK']?_0x568ece(0x2ac):_0x3f5a2c[_0x568ece(0xd9)]['result'];}catch{return _0x568ece(0x2ac);}}};_0x25d2c1=_0x442f80([_0x148b43(0x0,_0x3188ec[_0x386c9a(0x1d1)]),_0x148b43(0x1,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x29944c['HTTPService'])),_0x148b43(0x2,_0x3188ec[_0x386c9a(0x146)])],_0x25d2c1);let _0x3ce3ad=0x7530,_0x42121d='ACTIVE_UNIT_EVENT_CHANNEL';var _0x4806b2=class extends _0x3188ec[_0x386c9a(0x201)]{constructor(){const _0x19a1f9=_0x386c9a;super(),_0x2109ac(this,_0x19a1f9(0x183),(0x0,_0x3188ec['generateRandomId'])()),_0x2109ac(this,_0x19a1f9(0x100),new Set()),_0x2109ac(this,_0x19a1f9(0x3df),new Map()),_0x2109ac(this,_0x19a1f9(0x199),null),_0x2109ac(this,_0x19a1f9(0x3ba),new Map()),_0x2109ac(this,_0x19a1f9(0x2dc),new Map()),this[_0x19a1f9(0x34d)]();}['dispose'](){const _0x11b8b7=_0x386c9a;super['dispose'](),this[_0x11b8b7(0x3ba)][_0x11b8b7(0x32f)]((_0x65cf57,_0x5db19f)=>this[_0x11b8b7(0x367)](_0x5db19f)),this[_0x11b8b7(0x199)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x386c9a(0x248)](_0x496798){const _0x44ed88=_0x386c9a;return this[_0x44ed88(0x355)](_0x496798)['pipe']((0x0,_0x3a9a2c[_0x44ed88(0x3e2)])());}[_0x386c9a(0x3ed)](_0x163352){const _0x1138fb=_0x386c9a;this[_0x1138fb(0x100)][_0x1138fb(0x1cd)]===0x0&&this[_0x1138fb(0x357)](),this['_selfUnitIDs']['add'](_0x163352),this['_send']({'type':0x0,'memberID':this[_0x1138fb(0x183)],'unitIDs':[_0x163352],'isForwarded':!0x1});}['disposeUnit'](_0x457c3c){const _0x144574=_0x386c9a;this[_0x144574(0x100)][_0x144574(0x22f)](_0x457c3c),this[_0x144574(0x100)][_0x144574(0x1cd)]===0x0&&this[_0x144574(0x199)]&&window[_0x144574(0x3ca)](this[_0x144574(0x199)]);}[_0x386c9a(0x34d)](){const _0x3a003e=_0x386c9a;this[_0x3a003e(0x2da)]((0x0,_0x3188ec[_0x3a003e(0x34e)])((0x0,_0x3a9a2c[_0x3a003e(0x293)])(window,_0x3a003e(0x328))[_0x3a003e(0x341)](_0x2e5f18=>{const _0x40bf80=_0x3a003e;if(_0x2e5f18[_0x40bf80(0x155)]!==_0x42121d||!_0x2e5f18[_0x40bf80(0x159)])return;let _0x5a1dd7=JSON[_0x40bf80(0x3dc)](_0x2e5f18[_0x40bf80(0x159)]);this[_0x40bf80(0x107)](_0x5a1dd7);}))),window[_0x3a003e(0x2f2)]('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x3a003e(0x183)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0x386c9a(0x107)](_0x3224c5){const _0x59ee13=_0x386c9a;switch(_0x3224c5[_0x59ee13(0x2fd)]){case 0x0:this[_0x59ee13(0x3b0)](_0x3224c5);break;case 0x1:this[_0x59ee13(0xf4)](_0x3224c5);break;case 0x2:this[_0x59ee13(0x274)](_0x3224c5);break;}}[_0x386c9a(0x3b0)](_0x314845){const _0x10ef42=_0x386c9a;let {unitIDs:_0x5efefe,memberID:_0x352963,isForwarded:_0x543545}=_0x314845;_0x5efefe['forEach'](_0x394246=>{const _0xc3b99e=_0xbfb2;if(!_0x543545&&this[_0xc3b99e(0x3df)][_0xc3b99e(0x244)](_0x394246)&&this[_0xc3b99e(0x355)](_0x394246)['next'](_0x2248ce[_0xc3b99e(0x31d)][_0xc3b99e(0x2c9)]),!this[_0xc3b99e(0x3df)][_0xc3b99e(0x244)](_0x394246)||!this[_0xc3b99e(0x3df)][_0xc3b99e(0x26b)](_0x394246)[_0xc3b99e(0x244)](_0x352963)){let _0x33dd86=this[_0xc3b99e(0x3df)][_0xc3b99e(0x26b)](_0x394246)||new Set();_0x33dd86['add'](_0x352963),this[_0xc3b99e(0x3df)][_0xc3b99e(0x2eb)](_0x394246,_0x33dd86),this[_0xc3b99e(0x2df)](_0x352963);}}),_0x543545||this['_send']({'type':0x0,'memberID':this[_0x10ef42(0x183)],'unitIDs':[...this[_0x10ef42(0x100)]],'isForwarded':!0x0});}[_0x386c9a(0x2df)](_0x465119){const _0x426784=_0x386c9a;this[_0x426784(0x367)](_0x465119);let _0x5674f5=window[_0x426784(0x2f1)](()=>{const _0x4a745a=_0x426784;this[_0x4a745a(0x3df)][_0x4a745a(0x32f)](_0xf26b74=>{const _0x253735=_0x4a745a;_0xf26b74[_0x253735(0x22f)](_0x465119);});},_0x3ce3ad*0x2);this[_0x426784(0x3ba)]['set'](_0x465119,_0x5674f5);}[_0x386c9a(0x367)](_0x48569d){const _0x3354ec=_0x386c9a;if(this[_0x3354ec(0x3ba)][_0x3354ec(0x244)](_0x48569d)){let _0x115fd8=this[_0x3354ec(0x3ba)]['get'](_0x48569d);_0x115fd8&&window['clearTimeout'](_0x115fd8),this['_clearOtherTimers']['set'](_0x48569d,null);}}['_handleLeaveEvent'](_0x58f748){const _0x3d042c=_0x386c9a;let {memberID:_0x334ac9,unitIDs:_0x1b7425}=_0x58f748;_0x1b7425[_0x3d042c(0x32f)](_0x3b6302=>{const _0x22de51=_0x3d042c;var _0x5f5a10;let _0x44f819=this[_0x22de51(0x3df)][_0x22de51(0x26b)](_0x3b6302);_0x44f819&&(_0x44f819[_0x22de51(0x22f)](_0x334ac9),(_0x5f5a10=this[_0x22de51(0x355)](_0x3b6302))==null||_0x5f5a10[_0x22de51(0x362)](_0x44f819[_0x22de51(0x1cd)]===0x0?_0x2248ce[_0x22de51(0x31d)][_0x22de51(0x223)]:_0x2248ce[_0x22de51(0x31d)][_0x22de51(0x2c9)]));}),this[_0x3d042c(0x367)](_0x334ac9);}['_handleHeartbeatEvent'](_0x3d26d){const _0x52b09b=_0x386c9a;this[_0x52b09b(0x2df)](_0x3d26d[_0x52b09b(0x38a)]);}['_send'](_0x1ed564){const _0x549178=_0x386c9a;localStorage[_0x549178(0x21e)](_0x42121d,JSON[_0x549178(0x257)](_0x1ed564));}[_0x386c9a(0x357)](){const _0x53741f=_0x386c9a;this[_0x53741f(0x199)]=window[_0x53741f(0x2e4)](()=>{const _0x9267bd=_0x53741f;this[_0x9267bd(0x37f)]({'type':0x2,'memberID':this[_0x9267bd(0x183)]});},_0x3ce3ad);}[_0x386c9a(0x355)](_0x328c40){const _0x4ff1ee=_0x386c9a;return this[_0x4ff1ee(0x2dc)]['has'](_0x328c40)||this['_unitStatus'][_0x4ff1ee(0x2eb)](_0x328c40,new _0x3a9a2c[(_0x4ff1ee(0x1ba))](_0x2248ce['UnitStatus'][_0x4ff1ee(0x223)])),this[_0x4ff1ee(0x2dc)][_0x4ff1ee(0x26b)](_0x328c40);}};Object[_0x386c9a(0x12f)](_0x73ee80,_0x386c9a(0x2ee),{'enumerable':!0x0,'get':function(){return _0x1c42f1;}}),Object['defineProperty'](_0x73ee80,_0x386c9a(0x19c),{'enumerable':!0x0,'get':function(){return _0x1152cb;}}),_0x73ee80[_0x386c9a(0x103)]=_0x34f04d,Object[_0x386c9a(0x12f)](_0x73ee80,_0x386c9a(0x158),{'enumerable':!0x0,'get':function(){return _0x25d2c1;}}),_0x73ee80[_0x386c9a(0xbb)]=_0x294254,Object['defineProperty'](_0x73ee80,_0x386c9a(0x250),{'enumerable':!0x0,'get':function(){return _0x523635;}}),_0x73ee80[_0x386c9a(0x1e7)]=_0x4806b2;}));function _0x29c8(){const _0x16fca0=['getFocusedUnit','idSuffix','useDependency','FromArray','_clearTimeoutState','send','_releaseCalculationLimit','createIdentifier','white','hovered','IRenderManagerService','snapshot-loading-interaction-guard','runId','NOT_COLLAB','_setInteractionBlocked','_docTransformStateCacheService','ERROR','#FFF','replaceState','lineTo','buildDrawingOKey','_getSceneObjectByKey','_send','width','executeCommand','onTransformChange$','registerRefRange','_setFormulaLimitStatus','_docSkeleton','show','totalBlocks','_instanceService','getRenderUnitById','memberID','InsertRangeMoveDownCommandId','use','[RemoteUniscriptService]:\x20no\x20focused\x20unit','getColorFromTheme','OffLineIcon','arc','replaceDocRanges','slide-element-selection','NodePositionConvertToCursor','doc.mutation.rich-text-editing','Injector','button','hide','translate(.97)','_blockProgressWatches','endRow','startFormulaLimitUrl','ISheetLoadingRenderService','collaboration-client-ui.permission.title','lineno','_online','currentColor','UniverSheets','_status$','_shortcutBlock','params','static','createSocket','_startBoardCollabCursor','rxjs','none','_dataLoaderService','_drawAnchor','UniverNetworkPlugin','connectInjector','UNIVER_DOC','symbol','_handleJoinEvent','1956765rVkShi','_updateURLWithCurrentState','colno','setShapeProps','handleInsertRangeMoveDown','range','fillRule','imageSourceType','collab-text-anchor-','_clearOtherTimers','LOCAL_CACHE_INTERVAL','collaboration-client-ui.session.connection-failed','_latestCursors','timedOut','primary','getColor','/run/','_refRangeService','_getSessionTicket','getParam','_renderManagerService','clearTimeout','focused$','M0\x200H16V16H0z','iterator','clearInterval','enableDocumentCollaborationUI','showSkeleton','DependentOn','clipPath','closePath','polite','timeoutState$','_initUserListener','toStringTag','getSheetId','_shortcutService','ThemeService','IBeforeCloseService','add','snapshot-loading-timeout','max','WebSocketService','parse','useObservable','serializeRangeWithSheet','_unitOnClients','_drawTextRange','9PWnhVl','distinctUntilChanged','Inject','_taskIds','univer-text-blue-500','board-collab-cursor-','state$','getUnitId','univer-flex\x20univer-items-center\x20univer-justify-center','SetWorksheetActivateCommand','ILogService','text','editingUnit','limitInfo','rgba(255,\x20255,\x20255,\x200.01)','handleIRemoveRow','error','min','_boardElementStateService','isInternalEditorID','FormulaExecutedStateType','_pointerMoveDisposable','_saveCache','override','createElement','on-line-icon','Button','Vector2','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','collaboration-client-ui.session.collaboration-timeout','INotificationService','slice','value','UniverCore','filename','_updateLocalCursor','_collaborationSessionService','collaboration-client-ui.collabStatus.offline','@univerjs/rpc','setParam','DocSelectionManagerService','highlight','_collaborationUIEventService','onPointerLeave$','M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','getActiveRange','showText','UniverRpc','JOIN_ROOM_FAILED','UNIVER_BOARD','moveTo','round','collaboration-client-ui.collabStatus.syncing','runOnServer','InsertRowCommandId','url(#off-line-icon_clip0_910_343)','_color','ILocalStorageService','univer-text-orange-500','onCommandExecuted','collaboration-client-ui.collabStatus.fetchMiss','loadedBlocks','restore','SOCKET_FAILED_RETRY','BuiltInUIPart','activeSlideId$','START_CALCULATION','_getAnchorBounding','_updateSubUnitFromURLParams','assignAColorForMemberID','addObject$','@univerjs-pro/boards-ui','0.2)','HTTPService','_getLighterColor','Warning','SheetCollabCursorShape','CONFLICT','_scheduleRender','path','RevisionService','jsxs','addHandlerCallback','@univerjs-pro/collaboration','/universer-api/license/formula/limit/done','collaboration-client-ui.collabStatus.conflict','source','_renderScheduled','_commandService','_doCreateSocket','Error','_offsetY','_initEntityListener','context','_urlService','_startCalculationLimit','status','_colorAssignService','socket$','_registerDependencies','collab-rect-range-','activeSheetId','getMemberID','ITransformService','addClipboardHook','popstate','body','labelHorizontalPosition','warning-icon','registerBeforeClose','getAncestorScale','PluginService','setConfig','88247xbSnaS','urlChange$','EffectRefRangId','true','Plugin','toString','PENDING','http://www.w3.org/2000/svg','collaboration-client-ui.collabClient.tooltip.reconnect','SetTextSelectionsOperation','_initWindowErrorListener','_localeService','xlink:href','CollaborationSessionService','@univerjs/sheets','OnLineIcon','_updateSheetPreview','IMessageService','Shape','redoState','_handleLeaveEvent','message','16rvwOPu','_document','VIEW_MAIN','_isApplyingOverlays','@univerjs/core','_imageIoService','UniverProCollaborationClientUi','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','collaboration-client-ui.snapshotLoading.loadingSheet','CollaborationUIEventId','_selfUnitIDs','stageInfo','SheetsSelectionsService','IURLService','HEADER_MENU','FETCH_MISS','SOCKET_FAILED','_handleEvent','WarningIcon','USERS_LEAVE','univer-transition-all\x20univer-duration-200','getSheetObject','collaboration-client-ui.collaboration.closeRoom','DeleteRangeMoveUpCommandId','name','throttleTime','handleDeleteRangeMoveLeft','_docTransformSelectionsService','resize','font','strokeStyle','strokeWidth','isTransformMutationFailure','_startSheetCollabCursor','_cachedData','collaboration-client-ui.config','then','stroke','UNIVER_SLIDE','parseInt','preventDefault','eventID','_entities','Tooltip','setActiveRange','bottom','@univerjs-pro/slides-ui','_logService','selection','UniverLicensePlugin','_onCursorUpdate','_handoffPreview','defIds','asObservable','removeObjects','ticket','yellow.400','defineProperty','offsetY','replace','_cursor','UNIVER_SHEET','_setupSubUnitSync','pushState','getCurrentSelections','_drawRectRange','top','UniverNetwork','_hovered','collab-text-range-','ICommandService','displayName','_initResize','_getSaveTimeout','requireSession','unitID','_snapshotLoadingService','from','activeSheet$','_docSkeletonManagerService','IConfigService','fillText','SUCCESS','_onCursorDelete','UniverProSlidesUi','_saveTaskMap','UniverDocsUi','_pluginService','_blinkIntervalTimer','function','getCurrentTypeOfUnit$','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','onRendered','_docTransformIMECacheService','_maxFormulaLimit','key','enableFrontendLog','sessionStatus$','RemoteUniscriptService','newValue','debounce','url(#$1','fill','setUndoRedoMutationParamsCache','_startSlideCollabCursor','_render','_cursors','transformRemoteChangeset','UniverSheetsUi','GLOBAL','RxDisposable','useCallback','undoState','transformMutationsWithChangeset','previewCellData','cursorInfo$','_stopBlinking','collaboration-client-ui.permission.content','attrs','_notificationService','focusedId','shareReplay','_onRefRangeChange','exhaustSavingTask','post','_getScale','purple.300','_registerRenderDependencies','children','switchMap','getUndoRedoMutationParamsCache','slide-collab-cursor-','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_sheetLoadingRenderService','data','univer-border-none\x20univer-bg-transparent','workbookShell','getCoordByCell','catch','dispose$','disableLocalCache','_id','SUBMIT_CHANGESET_TIMEOUT','@univerjs/engine-formula','currentUsage','column','rxjs/operators','855272nYTDqC','IBoardElementStateService','selections','onStarting','SetFormulaCalculationStartMutation','push','reload','1em','_slideDrawingStateService','getOffsetConfig','uni.network.url-service','_textBubble','handleInsertRow','_assignedColors','defs','@univerjs/network','_heartbeatTimer','getUnhiddenWorksheets','svg','DesktopCollaborationStatusDisplayController','RemoveRowCommandId','_getObjectBounds','roomMembers$','getRealBound','getUnit','pageManager','scene','react/jsx-runtime','710480iltnoq','/universer-api/frontend/logs','collaboration-client-ui.formula.calculation.waiting','AWAITING_WITH_PENDING','?taskId=','spin','fromEventSubject','collaboration-client-ui.conflict.title','handleDeleteRangeMoveUp','getMember','decorate','string','kind','getTypeOfUnitAdded$','join','generateRandomId','_applyCommand','addObjects','_labelPosition','isEditing','_monkeyPatchLogService','BehaviorSubject','univer-size-4\x20univer-shrink-0\x20univer-text-amber-500','isArray','_name','search','unhandledrejection','CanceledError','split','DisposableCollection','3337200WjNAkY','location','bind','_transformPreviousActiveRange','getValue','backupOfflineData','IShortcutService','_collabCursorController','_uploadLog','_hasFormulaInDirtyRanges','size','backgroundColor','ISocketService','LOADING_SNAPSHOT','IUniverInstanceService','textRanges','#4f46e5','labelPosition','collaboration-client-ui.session.will-retry','_revisionService','whenReady','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','UPDATE_CURSOR','black','getFormulaLimitStatusUrl','_messageService','i18nKey','_docStateChangeManagerService','jsx','OFFLINE','MemberService','trim','getCoordRelativeToViewport','univer-m-0\x20univer-p-0','getMergeData','snapshot-loading-','WebBrowserSingleActiveUnitService','findNodePositionByCharIndex','UniverProCollaborationClient','@univerjs-pro/collaboration-client','getId','functionsExecutedState','CollaborationController','_refreshCollabCursors','takeUntil','transformByState','onMouseMove','_disabled','unit','_initStatusComponent','loadUnit','_labelHorizontalPosition','mask','off-line-icon_clip0_910_343','getAllUnitsForType','removeObject','_lastResponseTimestamp','_scheduleSaving','removeParam','getObjectIncludeInGroup','searchParams','startRow','Disposable','cursorInfo','getCollabCursors$','_localStorageService','_roomMembers$','init','reason','toISOString','deepClone','collaboration-client-ui.collabStatus.notCollab','unshift','getBoardElementRenderObjectKey','_anchor','SetFormulaCalculationNotificationMutation','getActiveSlide','registerComponent','UniverProLicense','MessageType','_toggleOnline','IUIPartsService','entries','makeDirty','mergeOverrideWithDependencies','SHEET_VIEWPORT_KEY','react','debounceTime','LOCAL_CACHE_INTERVAL_KEY','_cursorInfo$','jiqing.500','setItem','getCellMatrix','_collabCursorState$','ONLINE','_clearPolling','NO_OTHER_CLIENTS_EDITING','random','code','SnapshotLoadingService','UniverCollaborationClientPlugin','dispose','syncEditingCollabCursor','getActivePageId','TEXT','collaboration-client-ui.conflict.content','Optional','pluginName','delete','_initCommandInterceptor','deserializeRangeWithSheet','unitId','OTHER_CLIENT_EDITING','_pollingInterval','_memberID','_memberService','collabCursorState$','evented','@univerjs/sheets-ui','indicator','_startDocCollabCursor','blue.400','_scene','shift','TEXT_RANGE_LAYER_INDEX','forceDisable','Success','handleMoveRange','reconnect','has','_messageIds','_transformService','_getSheetObject','getUnitStatus$','/universer-api/license/formula/limit/start','tooltipKey','_watchBlockProgress','ranges','saveTaskMap','_previewUnitId','BOARD_TOP_RIGHT_MENU_LEADING_PART','UniverCollaborationClientUIPlugin','ILocalCacheService','merge','prototype','touchDependencies','_setupBeforeClosingHandler','roomMembers','stringify','stage','univer-inline-flex\x20univer-items-center\x20univer-justify-center','_hideTimer','React','_getSheetLoadingRenderService','m2Prime','_highlightSecond','M15\x208C15\x2011.866\x2011.866\x2015\x208\x2015C4.13401\x2015\x201\x2011.866\x201\x208C1\x204.13401\x204.13401\x201\x208\x201C11.866\x201\x2015\x204.13401\x2015\x208ZM8.00008\x2012.3671C8.46031\x2012.3671\x208.83342\x2011.994\x208.83342\x2011.5338C8.83342\x2011.0735\x208.46031\x2010.7004\x208.00008\x2010.7004C7.53985\x2010.7004\x207.16675\x2011.0735\x207.16675\x2011.5338C7.16675\x2011.994\x207.53985\x2012.3671\x208.00008\x2012.3671ZM8.5999\x204.4335C8.5999\x204.10213\x208.33127\x203.8335\x207.9999\x203.8335C7.66853\x203.8335\x207.3999\x204.10213\x207.3999\x204.4335V9.36683C7.3999\x209.6982\x207.66853\x209.96683\x207.9999\x209.96683C8.33127\x209.96683\x208.5999\x209.6982\x208.5999\x209.36683V4.4335Z','RECT','includes','8256320pzqHSd','_draw','_sheetSkeletonManagerService','rgb','call','UniverUi','left','_transformUndoRedoStack','filter','get','_shapes','Fragment','now','_interactionBlocked$','_configService','contains','status$','isTransformMutationsWithChangesetSuccess','_handleHeartbeatEvent','ISnapshotServerService','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','constructor','_isBlinkVisible','endColumn','_beforeCloseService','transformMutation','univer-text-green-500','currentSkeleton$','strokeRect','forwardRef','setOffsetY','Rect','drawWith','Workbook','Unknown\x20user','_backgroundColor','_updateMessage','setStateCache','collaboration-client-ui.formula.calculation.unable','_removeCollabCursors','_handoffUnitIds','Loading','right','LoadingMultiIcon','UniverInstanceType','[CollaborationDataLoaderController]','subunit','focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2','exports','fromEvent','remove','_initUnhandledRejectionListener','_handleHover','operators','COMPLETE','_localCacheService','getConfig','onPointerEnter$','currentTheme$','getActiveSheet','\x20at\x20',',\x200.2)','values','getObject','transformStateCache','map','[Window\x20Error]:\x20','_currentUsage','fillStyle','object','getCollabEntity$','_initEvent','getLocalCacheKey','getDocRanges','Failed','rgba','_initCommandExecutedListener','some','engine','RegularPolygon','loading-multi-icon','_httpService','DocIMEInputManagerService','collaboration-client-ui.formula.calculation.started','board-element-selection','angle','6116215boPmgF','Rectangle','_hidePreview','startsWith','selectedIds','totalFormulasToCalculate','toRgbString','beforeCommandExecuted','getCurrentSkeleton','transform','_timeoutState$','packageName','UniverDocsPlugin','enableLocalCache','bold\x2013px\x20Arial,\x20sans-serif','updateOfflineData','Enter','OTHER_CLIENTS_EDITING','getCurrentUnitOfType','LocaleService','useRef','_showGuardMessage','_updateCollabCursors','row','UniverProCollaboration','_initDependencies','removeEventListener','_checkCalculationAvailable','1.0.0-alpha.8','registerRenderModule','maxFormulaLimit','highlightSecond','executionId','LOADING_BLOCKS','disposeWithMe','unsubscribe','_unitStatus','clickable','ISlideDrawingStateService','_scheduleClearOtherTimer','IImageIoService','ErrorCode','clear','getRangePointData','setInterval','history','getSheetBySheetId','univer-fixed\x20univer-left-1/2\x20univer-top-4\x20univer-z-[1001]\x20univer-flex\x20univer-max-w-[calc(100vw-32px)]\x20-univer-translate-x-1/2\x20univer-items-center\x20univer-gap-2\x20univer-rounded-lg\x20univer-bg-white\x20univer-px-3\x20univer-py-2\x20univer-text-sm\x20univer-text-gray-900\x20univer-shadow-lg\x20dark:!univer-bg-gray-700\x20dark:!univer-text-white','CollaborationEvent','getViewport','registerDependencies','set','TRANSFORM_CHANGE_OBSERVABLE_TYPE','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','BrowserCollaborationSocketService','sheetID','subUnitId','setTimeout','addEventListener','timeoutId','_injector','_highlight','save','_anchorDot','_latestStates','combineLatest','Subject','startColumn','_initStatusListener','type','invokeId','handleInsertRangeMoveRight','createInstance','_syncEditingCollabCursorService','height','getOwnPropertyDescriptor','mutations','[LogService\x20Error]:\x20','getScrollXYInfoByViewport','isFormulaString','_isVisibleUnit','small','version','_transformHistoryAndStateStack','complete','UniverEngineRender','with','addObject','_collabSessionService','m1Prime','measureText','_cursorShapes','_blinkTimer','_univerInstanceService','getStateCache','@univerjs-pro/collaboration-client-ui','_showText','COLORS','getSnapshot','SessionStatus','@univerjs/ui','UnitStatus','Tools','dirtyRanges',':backup:','_lastPointer','RichTextEditingMutation','CollaborationStatus','previewReady','color','DocCollaborationEntity','icon','storage','evenodd','pipe','mapTo','stack','RefRangeService','all','forEach','[Unhandled\x20Rejection]:\x20','_entityInit$','#0B9EFB','on-line-icon_clip0_910_349','_context','RemoveColCommandId','_hover','univer-text-xl\x20univer-transition-colors\x20univer-duration-200','@univerjs/docs','_docSyncEditingCollabCursorService','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_collaborationController','lineWidth','amd','assign','rgba(','SetDocZoomRatioOperation','subscribe','_themeService','pulse','_range','UniverDesign','_docClipboardService','subscribeEvent','handoff','DocSkeletonManagerService','_toggleOffline','SnapshotLoadStage','_eventUnsubscribe','_init','toDisposable','_checkAndWaitForCalculationPermission','transformSelections','href','colorChannel1','setLineDash','tag','_ensureSubject','univer-h-8\x20univer-w-8\x20univer-rounded-lg','_scheduleHeartbeat','content','SetSelectionsOperation','UniverEngineFormula','_clearBlockProgressWatch','clsx','DOC_RANGE_TYPE','_session','12jvezPb','getItem','getTypeOfUnitDisposed$','next','dark:focus:!univer-ring-offset-gray-800','_config','event$','flatMap','_removeClearOtherTimer','length'];_0x29c8=function(){return _0x16fca0;};return _0x29c8();}