@univerjs-pro/collaboration-client-ui 1.0.1 → 1.0.3

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 (93) 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.css +37 -0
  45. package/lib/index.js +1 -1
  46. package/lib/locale/ar-SA.js +1 -1
  47. package/lib/locale/ca-ES.js +1 -1
  48. package/lib/locale/de-DE.js +1 -1
  49. package/lib/locale/en-US.js +1 -1
  50. package/lib/locale/es-ES.js +1 -1
  51. package/lib/locale/fa-IR.js +1 -1
  52. package/lib/locale/fr-FR.js +1 -1
  53. package/lib/locale/id-ID.js +1 -1
  54. package/lib/locale/it-IT.js +1 -1
  55. package/lib/locale/ja-JP.js +1 -1
  56. package/lib/locale/ko-KR.js +1 -1
  57. package/lib/locale/pl-PL.js +1 -1
  58. package/lib/locale/pt-BR.js +1 -1
  59. package/lib/locale/ru-RU.js +1 -1
  60. package/lib/locale/sk-SK.js +1 -1
  61. package/lib/locale/vi-VN.js +1 -1
  62. package/lib/locale/zh-CN.js +1 -1
  63. package/lib/locale/zh-HK.js +1 -1
  64. package/lib/locale/zh-TW.js +1 -1
  65. package/lib/types/controllers/collab-cursor/board-collab-cursor-entity.d.ts +32 -0
  66. package/lib/types/controllers/collab-cursor/board-collab-cursor-render.controller.d.ts +21 -0
  67. package/lib/types/controllers/collab-cursor/slide-collab-cursor-entity.d.ts +35 -0
  68. package/lib/types/controllers/collab-cursor/slide-collab-cursor-render.controller.d.ts +21 -0
  69. package/lib/types/services/formula-calculation-guard/formula-calculation-guard.service.d.ts +38 -0
  70. package/lib/types/services/formula-calculation-guard/util.d.ts +11 -0
  71. package/lib/types/views/shapes/slide-collab-cursor.shape.d.ts +15 -0
  72. package/lib/umd/facade.js +1 -1
  73. package/lib/umd/index.js +1 -1
  74. package/lib/umd/locale/ar-SA.js +1 -1
  75. package/lib/umd/locale/ca-ES.js +1 -1
  76. package/lib/umd/locale/de-DE.js +1 -1
  77. package/lib/umd/locale/en-US.js +1 -1
  78. package/lib/umd/locale/es-ES.js +1 -1
  79. package/lib/umd/locale/fa-IR.js +1 -1
  80. package/lib/umd/locale/fr-FR.js +1 -1
  81. package/lib/umd/locale/id-ID.js +1 -1
  82. package/lib/umd/locale/it-IT.js +1 -1
  83. package/lib/umd/locale/ja-JP.js +1 -1
  84. package/lib/umd/locale/ko-KR.js +1 -1
  85. package/lib/umd/locale/pl-PL.js +1 -1
  86. package/lib/umd/locale/pt-BR.js +1 -1
  87. package/lib/umd/locale/ru-RU.js +1 -1
  88. package/lib/umd/locale/sk-SK.js +1 -1
  89. package/lib/umd/locale/vi-VN.js +1 -1
  90. package/lib/umd/locale/zh-CN.js +1 -1
  91. package/lib/umd/locale/zh-HK.js +1 -1
  92. package/lib/umd/locale/zh-TW.js +1 -1
  93. package/package.json +18 -18
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x861d(_0x176772,_0x3f1c77){_0x176772=_0x176772-0x88;const _0x1b2345=_0x1b23();let _0x861d83=_0x1b2345[_0x176772];return _0x861d83;}function _0x1b23(){const _0x48a3de=['univer-border-none\x20univer-bg-transparent','mutations','_blockProgressWatches','canRenderSelection','_bindAdapter','collaboration-client-ui.collaboration.closeRoom','strokeOpacity','history','amd','RefRangeService','on-line-icon_clip0_910_349','getCoordByCell','pipe','bold\x2013px\x20Arial,\x20sans-serif','HEADER_MENU','_timeoutState$','i18nKey','memberID','currentColor','Workbook','off-line-icon_clip0_910_343','_handleHover','_render','CollaborationEvent','_config','polite','toString','WebBrowserSingleActiveUnitService','CONFLICT_CACHE_CLEAR_FAILED','getSheetObject','green.600','onCommandExecuted','_isVisibleUnit','highlight','RegularPolygon','_onRefRangeChange','toFixed','_retryConflictCacheClear','filename','getTypeOfUnitAdded$','UniverDocsPlugin','/run/','registerRenderModule','string','getPropertyPriority','_docTransformIMECacheService','getViewport','UNIVER_SHEET','Rectangle','current','_init','DEFAULT_WS_SESSION_TICKET_URL','black','ErrorCode','JOIN_ROOM_FAILED','columnGroupId','_highlightSecond','find','selection','disposeUnit','div','NodePositionConvertToCursor','font','with','timeoutState$','status','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','timer','_drawAnchor','@univerjs-pro/collaboration','@univerjs/engine-render','[LogService\x20Error]:\x20','_revisionService','storage','bind','set','LoadingMultiIcon','max','_disabled','subUnitId','backupOfflineData','generateRandomId','_scheduleClearOtherTimer','CollaborationSessionService','_handleLeaveEvent','function','react/jsx-runtime','_docStateChangeManagerService','mergeOverrideWithDependencies','pointer','_isBlinkVisible','params','_cursorInfo$','_selfUnitIDs','deepClone','isFinite','dispose','_transformHistoryAndStateStack','CollaborationUIEventService','_transformPreviousActiveRange','...','call','imageSourceType','tag','_labelHorizontalPosition','defineProperty','pluginName','white','size','ERROR','_showText','Subject','_docClipboardService','univer-flex\x20univer-items-center\x20univer-justify-center','_id','886390BYXIzI','SetSelectionsOperation','univer-text-xl\x20univer-transition-colors\x20univer-duration-200','handleIRemoveCol','loadedBlocks','_uiPartsService','content','startRow','runId','_docSelectionManagerService','_send','getAllUnitsForType','_assignedColors','_replaceConflictNotification','decorate','getCurrentSkeleton','univer-inline-flex\x20univer-items-center\x20univer-justify-center','getRenderUnitById','vectorEffect','registerRefRange','87834MdLUqq','_collaborationController','subscribeEvent','_startSheetCollabCursor','use','_notificationService','debounce','_messageService','add','getCurrentUnitOfType','subunit','UniverCore','fromEventSubject','_scene','_initWindowErrorListener','_disposeEntity','focused$','popstate','Vector2','EffectRefRangId','_initEvent','@univerjs/sheets-ui','collaboration-client-ui.conflict.processing','mapTo','#FFF','SessionStatus','_startBlinking','CommandType','_getScale','debug','originalStrokeWidth','getCoordRelativeToViewport','searchParams','DeleteRangeMoveUpCommandId','push','transformIMECache','transformMutation','_showConflictProcessingNotification','viewBox','SetTextSelectionsOperation','getUnitId','_createSocketURL','key','_conflictNotification','m2Prime','getUndoRedoMutationParamsCache','rgb','syncEditingCollabCursor','sheetId','clipPath','_imageIoService','_adapter','combineLatest','BehaviorSubject','collaboration-client-ui.conflict.title','dark:focus:!univer-ring-offset-gray-800','DocSelectionManagerService','_memberID','_removeClearOtherTimer','PENDING','_initResize','_adapterRegistry','measureText','red.300','unsubscribe','M0\x200H16V16H0z','transformStateCache','url(#$1','UniverProCollaborationClient','getColorFromTheme','getCurrentTypeOfUnit$','367292txWjMz','univer-size-4\x20univer-shrink-0\x20univer-text-amber-500','_updateLocalCursor','6RDYGCn','_updateCollabCursors','pushState','OTHER_CLIENTS_EDITING','_startDocCollabCursor','then','snapshot-loading-timeout','univer-m-0\x20univer-p-0','_startEntity','_heartbeatTimer','0\x200\x2016\x2016','_draw','ILogService','UniverProtocol','jiqing.500','static','_themeService','addObjects','min','engine','RemoveRowCommandId','resize','split','purple.300','loadOfflineData','collaboration-client-ui.permission.content','ranges','ITransformService','_httpService','getUnit','0\x200\x2017\x2016','labelPosition','_clearBlockProgressWatch','highlightSecond','CollaborationStatus','setTimeout','_clearTimeoutState','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_entities','useCallback','editingUnit','asObservable','right','UniverProCollaboration','collaboration-client-ui.snapshotLoading.refresh','collab-text-range-','CONFLICT','constructor','icon','_unitOnClients','result','26rDcDVT','handleMoveRange','reconnect','[Unhandled\x20Rejection]:\x20','idSuffix','executeCommand','_clearRemotePresences','_collabCursorController','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_cursors','ticket','OPERATION','some','onRendered','handleDeleteRangeMoveLeft','collaboration-client-ui.collabStatus.fetchMiss','isInternalEditorID','onStarting','unitId','isActive','_docSkeletonManagerService','UniverDesign','FETCH_MISS','state$','getConfig','_lastPointer','DocIMEInputManagerService','defs','attrs','collaboration-client-ui.collabStatus.syncing','non-scaling-stroke','UniverSheetsUi','_toggleOnline','finally','totalBlocks','cursorInfo$','executionId','_stopBlinking','tableId','values','sessionTicket','removeRemotePresence','replaceSelectionInfoWithoutRefresh','Warning','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','disposeWithMe','_uploadLog','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','textRanges','_docSyncEditingCollabCursorService','_document','cursorInfo','runRefRangeMutations','update','loading-multi-icon','offsetY','collab-rect-range-','parse','showText','removeEventListener','_initCommandExecutedListener','blue.400','fillRule','DisposableCollection','Error','Disposable','getSheetId','Failed','throttle','React','RECT','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_initEntityListener','NOT_COLLAB','makeDirty','univer-text-blue-500','_handleCursorUpdate','throttleTime','entries','_colorIndex','AWAITING_WITH_PENDING','evenodd','round','registerDependencies','_setupBeforeClosingHandler','location','_getSessionTicket','updateOfflineData','roomMembers$','removeAttribute','includes','_renderManagerService','@univerjs/protocol','socket$','clearTimeout','hasAttribute','_cursorShapes','clsx','_syncAdapters','enableDocumentCollaborationUI','saveImage','on-line-icon','_sheetSkeletonManagerService','_localStorageService','_sendLocalPresence','code','_monkeyPatchLogService','DocumentSkeletonPageType','undoState','UniverDocs','useObservable','next','selections','localName','setItem','_pointerMoveDisposable','getMergeData','_ensureSubject','useRef','reload','addObject','isTransformMutationsWithChangesetSuccess','_getSheetObject','focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2','_messageIds','_initPresenceStatusComponents','SetDocZoomRatioOperation','@univerjs/design','operators','rxjs','_getSaveTimeout','dispose$','Unknown\x20user','canRenderAnchor','UPDATE_CURSOR','tooltipKey','translate(.97)','_commandService','setAlpha','collaboration-client-ui.collabStatus.offline','timedOut','type','_scheduleHeartbeat','saveTaskMap','IUIPartsService','getBoundingClientRect','_cachedData','uni.network.url-service','HEADER','name','_snapshotLoadingService','catch','range','USERS_LEAVE',':backup:','handleInsertCol','_eventUnsubscribe','merge','getLocalCacheKey','kind','getValue','ILocalStorageService','appliedStrokeWidth','getDocRanges','touchDependencies','_urlService','takeUntil','replaceState','getActiveRange','_collabCursorState$','univer-h-8\x20univer-w-8\x20univer-rounded-lg','IConfigService','getCollabCursors$','getCollabEntity$','_presenceStatusRegistrations','get','useId','CLOSE_ROOM','override','strokeWidth','_anchorDot','getDocumentSkeletonColumnPagePathInfo','handleInsertRangeMoveDown','assignAColorForMemberID','_session','IMessageService','collabCursorState$','_initDependencies','CollaborationUIEventId','pageType','SheetsSelectionsService','1122877BXtjup','CONFLICT_PROCESSING','trim','UniverNetworkPlugin','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','packageName','_adapterDisposables','_hover','createElement','WebSocketService','isEditing','[Window\x20Error]:\x20','_presenceAdapterRegistry','UnitStatus','warning-icon','[CollaborationDataLoaderController]','getScrollXYInfoByViewport','DesktopCollaborationStatusDisplayController','INotificationService','segmentPage','_drawRectRange','getOwnPropertyDescriptor','NodePositionConvertToRectRange','_context','jsx','SOCKET_FAILED','_collaborationUIEventService','CollaborationController','clear','collaboration-client-ui.collaboration.single-unit.warning','setStateCache','off-line-icon','filter','enableFrontendLog','unload','eventID','Loading','url(#off-line-icon_clip0_910_343)','react','mask','serializeRangeWithSheet','_injector','\x20-\x20','_status$','SnapshotLoadingService','_highlight','statusUIPart','MemberService','stroke-width','transformByState','body','forEach','_initialized','stringify','_syncPresenceStatusComponents','BuiltInUIPart','endRow','_entityInit$','DataLoaderService','1em','AWAITING','_textBubble','getStateCache','_unitStatus','memberId','Inject','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','IUnitPresenceUIAdapterRegistry','data','_retryingConflictCacheUnitIDs','_handleJoinEvent','roomMembers','redoState','addClipboardHook','unitType','startsWith','_updateMessage','_updateURLWithCurrentState','_collabSessionService','FromArray','init','MessageType','InsertRangeMoveRightCommandId','none','labelHorizontalPosition','true','delete','ISnapshotServerService','_pendingEntities','switchMap','yellow.400','complete','disableLocalCache','invokeId','collaboration-client-ui.snapshotLoading.timeout','handleDeleteRangeMoveUp','_getMergeRange','activeSheet$','stage','unitID','colorChannel1','Tools','slice','jsxs','collaboration-client-ui.conflict.clearFailed','_univerInstanceService','WarningIcon','column','join','useLayoutEffect','setConfig','unshift','_localCacheService','_watchBlockProgress','displayName','colorClass','GLOBAL','fill','RemoteUniscriptService','fillText','_transformService','url(#on-line-icon_clip0_910_349)','pulse','VIEW_MAIN','univer-text-orange-500','registerComponent','_initUnhandledRejectionListener','indicator','fromEvent','_colorAssignService','assign',',\x200.2)','_scheduleSaving','DOC_RANGE_TYPE','TEXT','UniverProCollaborationClientUi','triggerDblclick','length','279kWSPlt','48856WzLloL','_docTransformSelectionsService','rgba','unit','_latestStates','univerjs-icon\x20univerjs-icon-','priority','toPrimitive','height','startOffset','SnapshotLoadStage','onMouseMove','MoveRangeCommandId','replace','_shapes','UniverCollaborationClientUIPlugin','element','subscribe','lineno','_range','univer-transition-all\x20univer-duration-200','UniverProLicense','_blinkTimer','_disposed','4146560yQadtL','9334iNNgrs','getMemberID','fillStyle','requireSession','row','refreshLabel','_collaborationSessionService','_setupSubUnitSync','presenceKind','getSkeleton','shareReplay','_updateSubUnitFromURLParams','snapshot-loading-','application/json','sheetID','clearOfflineData','parseInt','IImageIoService','_dataLoaderService','onPointerEnter$','href','FOOTER','_toggleOffline','prototype','TEXT_RANGE_LAYER_INDEX','@univerjs-pro/collaboration-client','collaboration-client-ui.collabStatus.conflict','UNIVER_DOC','UniverSheets','symbol','setProperty','getSheetBySheetId','_handleEvent','_initStatusListener','_memberService','debounceTime','text','@univerjs/docs-ui','UniverEngineFormula','_hideTimer','enableLocalCache','getLocalPresence','defIds','event$','arc','ThemeService','_name','getColor','PERMISSION_DENIED','svg','top','_instanceService','small','_removeRemotePresence','createInstance','_initStatusComponent','_configService','createSocket','Shape','hadStyleAttribute','_registerRenderDependencies','univer-appearance-none','_docTransformStateCacheService','map','setParam','getCurrentRevOfUnit','transformMutationsWithChangeset','preventDefault','isReleased','focusedId','InsertColCommandId','sessionStatus$','getCellIndexByOffset','onPointerLeave$','IUniverInstanceService','rxjs/operators','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','loadUnit','useDependency','getParam','_refreshCollabCursors','from','collaboration-client-ui.collabStatus.notCollab','pageIndex','collaboration-client-ui.permission.title','univer-text-gray-400','toRgbString','_trackActiveSaveTask','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','RevisionService','saveOfflineData','color','_activeSaveTaskMap','rgba(255,\x20255,\x20255,\x200.01)','querySelectorAll','ILocalCacheService','IBeforeCloseService','getPropertyValue','ACTIVE_UNIT_EVENT_CHANNEL','shareInterval','connectInjector','_isDisposed','SYNCED','show','setInterval','http://www.w3.org/2000/svg','distinctUntilChanged','stack','clickable','drawWith','getAncestorScale','registerBeforeClose','_getLighterColor','Injector','Rect','lineTo','has','/universer-api/frontend/logs','@univerjs/core','LOCAL_CACHE_INTERVAL_KEY','_syncEditingCollabCursorService','_onCursorDelete','_showConflictCacheClearFailedNotification','version','_saveTaskMap','clearInterval','currentSkeleton$','collaboration-client-ui.collaboration.offline-data-not-saved','Plugin','COLORS','options','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-gray-0\x20univer-px-3\x20univer-py-2\x20univer-text-sm\x20univer-text-gray-900\x20univer-shadow-lg\x20dark:!univer-bg-gray-700\x20dark:!univer-text-gray-0','_registerPresenceStatusComponent','_docSkeleton','collaboration-client-ui.operation.update-remote-unit-presence','UniverInstanceType','_drawTextRange','_disposeEntitiesForType','error','DependentOn','newValue','setShapeProps','OTHER_CLIENT_EDITING','findNodePositionByCharIndex','alert','isArray','_transformUndoRedoStack','_cursor','number','getActiveSheet','onTransformChange$','currentTheme$','getFocusedUnit','_color','SheetSkeletonManagerService','_removeCollabCursors','bottom','_getAnchorBounding','doc.mutation.rich-text-editing','addHandlerCallback','beginPath','_labelPosition','RxDisposable','parseFloat','_hovered','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','search','_blinkIntervalTimer','children','button','style','UniverDocsUIPlugin','ONLINE','isTransformMutationFailure','DeleteRangeMoveLeftCommandId','setUndoRedoMutationParamsCache','_onCursorUpdate','univer-text-green-500','unhandledrejection','spin','restore','path','LOADING_BLOCKS','_offsetY','collaboration-client-ui.collabClient.tooltip.reconnect','DocCollaborationEntity','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','remove','m1Prime','ColorKit','exports','UniverCollaborationPlugin','Tooltip','timeoutId','LocaleService','collaboration-client-ui.session.will-retry','object','_roomMembers$','selectedIds','toDisposable','clearRemotePresences','onPointerMove$','@univerjs/ui','send','xlink:href','forwardRef','@univerjs/docs','IRenderManagerService','width','OFFLINE','_refRangeService','endColumn','registerCommand','transformRemoteChangeset','_backgroundColor','transform','_localeService','_saveCache','ICommandService','stroke','SetWorksheetActivateCommand','localPresence$','_registerDependencies','HTTPService','_beforeCloseService','span','addEventListener','getMember','save','_logService','getRangePointData','NO_OTHER_CLIENTS_EDITING','getUnitStatus$','prepareTransformSelections','_initUserListener','@univerjs/network','source','_anchor','contains','collaboration-client-ui.config','disconnect','_online','getItem','post','urlChange$','_clearOtherTimers'];_0x1b23=function(){return _0x48a3de;};return _0x1b23();}(function(_0x1d663f,_0x3b8b49){const _0x55e493=_0x861d,_0x442873=_0x1d663f();while(!![]){try{const _0x1587ae=-parseInt(_0x55e493(0x11e))/0x1*(parseInt(_0x55e493(0x318))/0x2)+parseInt(_0x55e493(0x29b))/0x3+parseInt(_0x55e493(0x2e2))/0x4+parseInt(_0x55e493(0x287))/0x5+-parseInt(_0x55e493(0x2e5))/0x6*(-parseInt(_0x55e493(0x3d7))/0x7)+-parseInt(_0x55e493(0x105))/0x8*(-parseInt(_0x55e493(0x104))/0x9)+-parseInt(_0x55e493(0x11d))/0xa;if(_0x1587ae===_0x3b8b49)break;else _0x442873['push'](_0x442873['shift']());}catch(_0x588089){_0x442873['push'](_0x442873['shift']());}}}(_0x1b23,0x1b5ed),function(_0x26b389,_0x2efdbf){const _0xff2168=_0x861d;typeof exports==_0xff2168(0x1e2)&&typeof module<'u'?_0x2efdbf(exports,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/sheets-ui'),require('@univerjs/protocol')):typeof define==_0xff2168(0x269)&&define[_0xff2168(0x21c)]?define([_0xff2168(0x1dc),_0xff2168(0x137),_0xff2168(0x194),_0xff2168(0x1e8),_0xff2168(0x399),_0xff2168(0x169),_0xff2168(0x397),_0xff2168(0xa0),_0xff2168(0x26a),_0xff2168(0x259),'@univerjs-pro/license',_0xff2168(0x1ec),_0xff2168(0x143),_0xff2168(0x25a),_0xff2168(0x209),'@univerjs/engine-formula','@univerjs/sheets',_0xff2168(0x2b0),_0xff2168(0x374)],_0x2efdbf):(_0x26b389=typeof globalThis<'u'?globalThis:_0x26b389||self,_0x2efdbf(_0x26b389[_0xff2168(0x101)]={},_0x26b389[_0xff2168(0x2df)],_0x26b389[_0xff2168(0x2a6)],_0x26b389['UniverUi'],_0x26b389['rxjs'],_0x26b389['rxjs'][_0xff2168(0x398)],_0x26b389[_0xff2168(0x32d)],_0x26b389[_0xff2168(0x35d)],_0x26b389[_0xff2168(0x35d)],_0x26b389[_0xff2168(0x310)],_0x26b389[_0xff2168(0x11a)],_0x26b389[_0xff2168(0x385)],_0x26b389['UniverDocsUi'],_0x26b389['UniverEngineRender'],_0x26b389['UniverNetwork'],_0x26b389[_0xff2168(0x144)],_0x26b389[_0xff2168(0x13a)],_0x26b389[_0xff2168(0x337)],_0x26b389[_0xff2168(0x2f2)]));}(this,function(_0x19246e,_0x5c5525,_0x379e5f,_0x191907,_0x29b66c,_0x4f408e,_0x51bea6,_0x3fb6bf,_0x49e2bf,_0x180ca7,_0x4473e0,_0x24609f,_0x12bff4,_0x2a6e7e,_0x1c13d8,_0x5b6fce,_0x1f89be,_0x1bf872,_0x30e7ac){const _0x4a9a20=_0x861d;Object[_0x4a9a20(0x27d)](_0x19246e,Symbol['toStringTag'],{'value':'Module'});function _0x54c884({ref:_0x187a12,..._0xb3059b}){const _0x50fcf3=_0x4a9a20;let {preserveStrokeWidth:_0x4c50d6,icon:_0x1726ba,id:_0x52e916,className:_0x39be28,extend:_0x3a7473,..._0x5b4495}=_0xb3059b,_0x455a00=(_0x50fcf3(0x10a)+_0x52e916+'\x20'+(_0x39be28||''))[_0x50fcf3(0x3d9)](),_0x3832f6='_'+(0x0,_0x3fb6bf[_0x50fcf3(0x3c8)])(),_0x2fe232=(0x0,_0x3fb6bf[_0x50fcf3(0x38e)])(null);return(0x0,_0x3fb6bf['useImperativeHandle'])(_0x187a12,()=>_0x2fe232[_0x50fcf3(0x245)]),(0x0,_0x3fb6bf[_0x50fcf3(0xe7)])(()=>{const _0x1a3628=_0x50fcf3;if(_0x4c50d6&&_0x2fe232[_0x1a3628(0x245)]&&_0x2fe232[_0x1a3628(0x245)][_0x1a3628(0x389)]===_0x1726ba[_0x1a3628(0x27b)])return _0x38c87c(_0x2fe232[_0x1a3628(0x245)]);},[_0x4c50d6,_0x1726ba]),_0x5d732c(_0x1726ba,''+_0x52e916,{'defIds':_0x1726ba[_0x50fcf3(0x148)],'idSuffix':_0x3832f6},{'ref':_0x2fe232,'className':_0x455a00,..._0x5b4495},_0x3a7473);}function _0x5d732c(_0x4aea5b,_0x2be8b6,_0x384d02,_0x47578d,_0x37c977){const _0x244cf0=_0x4a9a20;return(0x0,_0x3fb6bf[_0x244cf0(0x3df)])(_0x4aea5b['tag'],{'key':_0x2be8b6,..._0x291a2a(_0x4aea5b,_0x384d02,_0x37c977),..._0x47578d},(_0x3c039a(_0x4aea5b,_0x384d02)['children']||[])[_0x244cf0(0x15d)]((_0x469d13,_0x1b107e)=>_0x5d732c(_0x469d13,_0x2be8b6+'-'+_0x4aea5b[_0x244cf0(0x27b)]+'-'+_0x1b107e,_0x384d02,void 0x0,_0x37c977)));}function _0x291a2a(_0x29fbc5,_0x28a3de,_0x1e9b37){const _0x944f38=_0x4a9a20;let _0x1cd8fc={..._0x29fbc5[_0x944f38(0x334)]};_0x1e9b37!=null&&_0x1e9b37[_0x944f38(0xde)]&&_0x1cd8fc['fill']===_0x944f38(0xde)&&(_0x1cd8fc['fill']=_0x1e9b37[_0x944f38(0xde)]),_0x1e9b37!=null&&_0x1e9b37['colorChannel1']&&_0x1cd8fc['stroke']==='colorChannel1'&&(_0x1cd8fc[_0x944f38(0x1f9)]=_0x1e9b37['colorChannel1']),_0x29fbc5[_0x944f38(0x27b)]==='mask'&&_0x1cd8fc['id']&&(_0x1cd8fc['id']+=_0x28a3de[_0x944f38(0x31c)]),Object[_0x944f38(0x366)](_0x1cd8fc)[_0x944f38(0xad)](([_0xb2092b,_0x2f3172])=>{const _0x12e229=_0x944f38;_0xb2092b===_0x12e229(0xa1)&&typeof _0x2f3172==_0x12e229(0x23f)&&(_0x1cd8fc[_0xb2092b]=_0x2f3172['replace'](/url\(#(.*)\)/,_0x12e229(0x2de)+_0x28a3de['idSuffix']+')'));});let {defIds:_0x30db79}=_0x28a3de;return!_0x30db79||_0x30db79[_0x944f38(0x103)]===0x0?_0x1cd8fc:(_0x29fbc5[_0x944f38(0x27b)]===_0x944f38(0x29f)&&_0x1cd8fc[_0x944f38(0x1ea)]&&(_0x1cd8fc['xlink:href']+=_0x28a3de[_0x944f38(0x31c)]),Object['entries'](_0x1cd8fc)[_0x944f38(0xad)](([_0x2857cc,_0x5a553d])=>{const _0x5e3628=_0x944f38;typeof _0x5a553d=='string'&&(_0x1cd8fc[_0x2857cc]=_0x5a553d[_0x5e3628(0x112)](/url\(#(.*)\)/,'url(#$1'+_0x28a3de[_0x5e3628(0x31c)]+')'));}),_0x1cd8fc);}function _0x3c039a(_0x9d5e92,_0xe12a73){const _0x42d802=_0x4a9a20;var _0x2df975;let {defIds:_0x5b48fe}=_0xe12a73;return!_0x5b48fe||_0x5b48fe[_0x42d802(0x103)]===0x0?_0x9d5e92:_0x9d5e92['tag']===_0x42d802(0x333)&&(_0x2df975=_0x9d5e92['children'])!=null&&_0x2df975[_0x42d802(0x103)]?{..._0x9d5e92,'children':_0x9d5e92[_0x42d802(0x1c6)][_0x42d802(0x15d)](_0x54c9c4=>typeof _0x54c9c4[_0x42d802(0x334)]['id']=='string'&&_0x5b48fe&&_0x5b48fe[_0x42d802(0x372)](_0x54c9c4[_0x42d802(0x334)]['id'])?{..._0x54c9c4,'attrs':{..._0x54c9c4[_0x42d802(0x334)],'id':_0x54c9c4[_0x42d802(0x334)]['id']+_0xe12a73['idSuffix']}}:_0x54c9c4)}:_0x9d5e92;}function _0x38c87c(_0x198164){const _0x4e0c33=_0x4a9a20;let _0x47f372=_0x198164[_0x4e0c33(0x2c1)]['baseVal'],_0x1ca99f=Math['max'](_0x47f372[_0x4e0c33(0x1ee)],_0x47f372[_0x4e0c33(0x10d)]);if(!Number[_0x4e0c33(0x273)](_0x1ca99f)||_0x1ca99f<=0x0||_0x47f372[_0x4e0c33(0x1ee)]<=0x0||_0x47f372['height']<=0x0)return()=>void 0x0;let _0x38c526=0x10/_0x1ca99f,_0x29d775=Array[_0x4e0c33(0x16f)](_0x198164[_0x4e0c33(0x17c)](_0x4e0c33(0x1d8)))['flatMap'](_0x3b21dd=>{const _0x4f9386=_0x4e0c33;let _0x459adf=getComputedStyle(_0x3b21dd),_0x39bcc3=Number[_0x4f9386(0x1c1)](_0x459adf[_0x4f9386(0x3cb)]);return _0x459adf[_0x4f9386(0x1f9)]===_0x4f9386(0xcd)||Number[_0x4f9386(0x1c1)](_0x459adf[_0x4f9386(0x21a)])===0x0||_0x459adf[_0x4f9386(0x299)]===_0x4f9386(0x336)||!Number['isFinite'](_0x39bcc3)||_0x39bcc3<=0x0?[]:[{'element':_0x3b21dd,'hadStyleAttribute':_0x3b21dd[_0x4f9386(0x377)]('style'),'originalStrokeWidth':_0x39bcc3,'strokeWidth':_0x1c6e5b(_0x3b21dd[_0x4f9386(0x1c8)],_0x4f9386(0xaa))}];})[_0x4e0c33(0x15d)](_0x422e17=>({'appliedStrokeWidth':null,'element':_0x422e17[_0x4e0c33(0x115)],'hadStyleAttribute':_0x422e17[_0x4e0c33(0x159)],'isReleased':!0x1,'originalStrokeWidth':_0x422e17[_0x4e0c33(0x2b9)],'strokeWidth':_0x422e17[_0x4e0c33(0x3cb)]}));if(_0x29d775[_0x4e0c33(0x103)]===0x0)return()=>void 0x0;let _0x29573e=(_0x3ae58c,_0x39be0c)=>{const _0x3efcd4=_0x4e0c33;if(_0x47f372['width']<=0x0||_0x47f372['height']<=0x0||_0x3ae58c<=0x0||_0x39be0c<=0x0)return;let _0x313f52=Math['min'](_0x3ae58c/_0x47f372['width'],_0x39be0c/_0x47f372[_0x3efcd4(0x10d)]);!Number['isFinite'](_0x313f52)||_0x313f52<=0x0||_0x29d775[_0x3efcd4(0xad)](_0x4d963e=>{const _0x555b3c=_0x3efcd4;if(_0x4d963e['isReleased'])return;if(_0x4d963e[_0x555b3c(0x3ba)]!==null&&(_0x4d963e[_0x555b3c(0x115)][_0x555b3c(0x1c8)][_0x555b3c(0x17f)](_0x555b3c(0xaa))!==_0x4d963e[_0x555b3c(0x3ba)]||_0x4d963e[_0x555b3c(0x115)][_0x555b3c(0x1c8)][_0x555b3c(0x240)]('stroke-width')!==_0x4d963e[_0x555b3c(0x3cb)][_0x555b3c(0x10b)])){_0x4d963e[_0x555b3c(0x3ba)]=null,_0x4d963e[_0x555b3c(0x162)]=!0x0;return;}let _0xac1c9e=_0x4d963e['originalStrokeWidth']*_0x38c526/_0x313f52,_0x48845d=Number(_0xac1c9e[_0x555b3c(0x238)](0xc))+'px';_0x4d963e[_0x555b3c(0x115)]['style'][_0x555b3c(0x13c)](_0x555b3c(0xaa),_0x48845d,_0x4d963e[_0x555b3c(0x3cb)][_0x555b3c(0x10b)]),_0x4d963e[_0x555b3c(0x3ba)]=_0x48845d;});},_0x4852a3=_0x198164[_0x4e0c33(0x3a9)]();_0x29573e(_0x4852a3[_0x4e0c33(0x1ee)],_0x4852a3[_0x4e0c33(0x10d)]);let _0x32adda=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x34bbfb=>{const _0x53a039=_0x4e0c33;if(_0x34bbfb[_0x53a039(0x324)](_0x2fe304=>_0x2fe304['target']===_0x198164)){let _0x3326da=_0x198164[_0x53a039(0x3a9)]();_0x29573e(_0x3326da[_0x53a039(0x1ee)],_0x3326da[_0x53a039(0x10d)]);}});return _0x32adda==null||_0x32adda['observe'](_0x198164),()=>{const _0x499ecb=_0x4e0c33;_0x32adda==null||_0x32adda[_0x499ecb(0x20e)](),_0x29d775[_0x499ecb(0xad)](_0xbfcc5d=>{const _0x54b231=_0x499ecb;_0xbfcc5d['appliedStrokeWidth']!==null&&(_0x52a9e6(_0xbfcc5d['element'][_0x54b231(0x1c8)],_0x54b231(0xaa),_0xbfcc5d[_0x54b231(0x3ba)],_0xbfcc5d[_0x54b231(0x3cb)][_0x54b231(0x10b)],_0xbfcc5d[_0x54b231(0x3cb)]),!_0xbfcc5d[_0x54b231(0x159)]&&_0xbfcc5d[_0x54b231(0x115)][_0x54b231(0x1c8)][_0x54b231(0x103)]===0x0&&_0xbfcc5d['element'][_0x54b231(0x371)](_0x54b231(0x1c8)));});};}function _0x1c6e5b(_0x278ec8,_0x52e722){const _0xd1b67e=_0x4a9a20;return{'priority':_0x278ec8[_0xd1b67e(0x240)](_0x52e722),'value':_0x278ec8[_0xd1b67e(0x17f)](_0x52e722)};}function _0x52a9e6(_0x39d920,_0x7add19,_0x4bd399,_0x2d0b55,_0x43e091){const _0x5ceeb8=_0x4a9a20;_0x39d920[_0x5ceeb8(0x17f)](_0x7add19)===_0x4bd399&&_0x39d920['getPropertyPriority'](_0x7add19)===_0x2d0b55&&(_0x43e091['value']?_0x39d920[_0x5ceeb8(0x13c)](_0x7add19,_0x43e091['value'],_0x43e091['priority']):_0x39d920['removeProperty'](_0x7add19));}_0x54c884['displayName']='UniverIcon';let _0x4a445e={'tag':_0x4a9a20(0x14f),'attrs':{'xmlns':_0x4a9a20(0x187),'fill':_0x4a9a20(0xcd),'viewBox':_0x4a9a20(0x2ef),'width':_0x4a9a20(0xb5),'height':_0x4a9a20(0xb5)},'children':[{'tag':'g','attrs':{'clipPath':_0x4a9a20(0x9f)},'children':[{'tag':_0x4a9a20(0x1d3),'attrs':{'stroke':'currentColor','d':_0x4a9a20(0x16a),'strokeLinecap':_0x4a9a20(0x36a),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4a9a20(0x2cc),'attrs':{'id':_0x4a9a20(0x228)},'children':[{'tag':_0x4a9a20(0x1d3),'attrs':{'fill':_0x4a9a20(0x27f),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x4a9a20(0x228)]},_0x2f22d4=(0x0,_0x3fb6bf[_0x4a9a20(0x1eb)])(function(_0x7100fd,_0x3eceb0){const _0x3f4612=_0x4a9a20;return(0x0,_0x3fb6bf['createElement'])(_0x54c884,Object['assign']({},_0x7100fd,{'id':_0x3f4612(0x99),'ref':_0x3eceb0,'icon':_0x4a445e}));});_0x2f22d4[_0x4a9a20(0xec)]='OffLineIcon';let _0x14711d={'tag':_0x4a9a20(0x14f),'attrs':{'xmlns':_0x4a9a20(0x187),'fill':'none','viewBox':_0x4a9a20(0x303),'width':_0x4a9a20(0xb5),'height':_0x4a9a20(0xb5)},'children':[{'tag':'g','attrs':{'clipPath':_0x4a9a20(0xf3)},'children':[{'tag':_0x4a9a20(0x1d3),'attrs':{'stroke':_0x4a9a20(0x226),'d':_0x4a9a20(0x347),'strokeLinecap':_0x4a9a20(0x36a),'strokeLinejoin':_0x4a9a20(0x36a),'strokeWidth':1.2}}]},{'tag':_0x4a9a20(0x333),'attrs':{},'children':[{'tag':_0x4a9a20(0x2cc),'attrs':{'id':_0x4a9a20(0x21e)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x4a9a20(0x2dc),'transform':_0x4a9a20(0x3a0)}}]}]}],'defIds':[_0x4a9a20(0x21e)]},_0x46e0db=(0x0,_0x3fb6bf['forwardRef'])(function(_0x387ecf,_0x1d6c9d){const _0x55284f=_0x4a9a20;return(0x0,_0x3fb6bf['createElement'])(_0x54c884,Object[_0x55284f(0xfc)]({},_0x387ecf,{'id':_0x55284f(0x37d),'ref':_0x1d6c9d,'icon':_0x14711d}));});_0x46e0db[_0x4a9a20(0xec)]='OnLineIcon';let _0xcd3741={'tag':_0x4a9a20(0x14f),'attrs':{'xmlns':_0x4a9a20(0x187),'fill':_0x4a9a20(0xcd),'viewBox':'0\x200\x2016\x2016','width':_0x4a9a20(0xb5),'height':_0x4a9a20(0xb5)},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':'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','fillRule':_0x4a9a20(0x369),'clipRule':_0x4a9a20(0x369)}}]},_0x2431b5=(0x0,_0x3fb6bf[_0x4a9a20(0x1eb)])(function(_0x320d47,_0x2284ba){const _0x2420d9=_0x4a9a20;return(0x0,_0x3fb6bf[_0x2420d9(0x3df)])(_0x54c884,Object[_0x2420d9(0xfc)]({},_0x320d47,{'id':_0x2420d9(0x88),'ref':_0x2284ba,'icon':_0xcd3741}));});_0x2431b5[_0x4a9a20(0xec)]=_0x4a9a20(0xe4);let _0x51e901={'tag':_0x4a9a20(0x14f),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4a9a20(0xcd),'viewBox':_0x4a9a20(0x2ef),'width':'1em','height':'1em'},'children':[{'tag':_0x4a9a20(0x1d3),'attrs':{'fill':'#0B9EFB','d':_0x4a9a20(0x344),'fillOpacity':0.2,'fillRule':'evenodd','clipRule':_0x4a9a20(0x369)}},{'tag':_0x4a9a20(0x1d3),'attrs':{'fill':'#0B9EFB','d':_0x4a9a20(0x3db),'fillRule':_0x4a9a20(0x369),'clipRule':_0x4a9a20(0x369)}}]},_0x182816=(0x0,_0x3fb6bf[_0x4a9a20(0x1eb)])(function(_0x462240,_0x2cb869){const _0x442554=_0x4a9a20;return(0x0,_0x3fb6bf[_0x442554(0x3df)])(_0x54c884,Object['assign']({},_0x462240,{'id':_0x442554(0x34e),'ref':_0x2cb869,'icon':_0x51e901}));});_0x182816[_0x4a9a20(0xec)]=_0x4a9a20(0x260);function _0x572f13(_0x5c2963){const _0x2f17c7=_0x4a9a20;switch(_0x5c2963){case _0x5c5525[_0x2f17c7(0x307)][_0x2f17c7(0x1ef)]:return{'icon':(0x0,_0x49e2bf[_0x2f17c7(0x92)])(_0x2f22d4,{}),'colorClass':'univer-text-red-500','i18nKey':_0x2f17c7(0x3a3),'tooltipKey':_0x2f17c7(0x1d6),'clickable':!0x0,'indicator':_0x2f17c7(0x2f4)};case _0x5c5525[_0x2f17c7(0x307)][_0x2f17c7(0x313)]:return{'icon':(0x0,_0x49e2bf[_0x2f17c7(0x92)])(_0x2f22d4,{}),'colorClass':_0x2f17c7(0xf6),'i18nKey':_0x2f17c7(0x138),'clickable':!0x1,'indicator':_0x2f17c7(0x2f4)};case _0x5c5525['CollaborationStatus'][_0x2f17c7(0x32e)]:return{'icon':(0x0,_0x49e2bf['jsx'])(_0x182816,{}),'colorClass':_0x2f17c7(0x363),'i18nKey':'collaboration-client-ui.collabStatus.fetchMiss','clickable':!0x1,'indicator':'spin'};case _0x5c5525[_0x2f17c7(0x307)][_0x2f17c7(0x361)]:return{'icon':(0x0,_0x49e2bf[_0x2f17c7(0x92)])(_0x46e0db,{}),'colorClass':_0x2f17c7(0x173),'i18nKey':_0x2f17c7(0x170),'clickable':!0x1,'indicator':_0x2f17c7(0x2f4)};case _0x5c5525[_0x2f17c7(0x307)][_0x2f17c7(0xb6)]:case _0x5c5525[_0x2f17c7(0x307)][_0x2f17c7(0x368)]:return{'icon':(0x0,_0x49e2bf[_0x2f17c7(0x92)])(_0x182816,{}),'colorClass':'univer-text-blue-500','i18nKey':_0x2f17c7(0x335),'clickable':!0x1,'indicator':_0x2f17c7(0x1d1)};case _0x5c5525['CollaborationStatus'][_0x2f17c7(0x2d6)]:return{'icon':(0x0,_0x49e2bf['jsx'])(_0x182816,{}),'colorClass':_0x2f17c7(0x363),'i18nKey':_0x2f17c7(0x335),'clickable':!0x1,'indicator':_0x2f17c7(0x1d1)};case _0x5c5525[_0x2f17c7(0x307)][_0x2f17c7(0x184)]:return{'icon':(0x0,_0x49e2bf[_0x2f17c7(0x92)])(_0x46e0db,{}),'colorClass':_0x2f17c7(0x1cf),'i18nKey':'collaboration-client-ui.collabStatus.synced','clickable':!0x1,'indicator':_0x2f17c7(0x2f4)};}}function _0x1cbb00(_0x18e2fc){const _0xdc59e7=_0x4a9a20;let {status$:_0x403c84}=_0x18e2fc,_0x5806a9=(0x0,_0x191907[_0xdc59e7(0x386)])(_0x403c84,_0x5c5525['CollaborationStatus'][_0xdc59e7(0x361)]),_0x5406c0=(0x0,_0x191907[_0xdc59e7(0x16c)])(_0x379e5f['LocaleService']),_0x42e5a9=(0x0,_0x191907['useDependency'])(_0x5c5525[_0xdc59e7(0x267)]),_0x557f54=(0x0,_0x3fb6bf['useMemo'])(()=>_0x572f13(_0x5806a9),[_0x5806a9]),_0x3c0f1f=_0x5806a9!==_0x5c5525[_0xdc59e7(0x307)][_0xdc59e7(0x1ef)],_0x2ae659=_0x5406c0['t'](_0x557f54[_0xdc59e7(0x224)]),_0x1203e1=_0x557f54[_0xdc59e7(0x39f)]?_0x5406c0['t'](_0x557f54[_0xdc59e7(0x39f)]):_0x2ae659,_0x50dca6=(0x0,_0x3fb6bf[_0xdc59e7(0x30c)])(()=>{const _0x3c86fc=_0xdc59e7;_0x3c0f1f||_0x42e5a9[_0x3c86fc(0x31a)]();},[_0x3c0f1f,_0x42e5a9]),_0x55c4c4=(0x0,_0x3fb6bf[_0xdc59e7(0x30c)])(_0x52a28f=>{const _0x56de72=_0xdc59e7;!_0x3c0f1f&&(_0x52a28f['key']==='Enter'||_0x52a28f[_0x56de72(0x2c5)]==='\x20')&&(_0x52a28f[_0x56de72(0x161)](),_0x42e5a9[_0x56de72(0x31a)]());},[_0x3c0f1f,_0x42e5a9]),_0x2e16ba=(0x0,_0x49e2bf['jsx'])(_0xdc59e7(0x1ff),{'className':(0x0,_0x51bea6[_0xdc59e7(0x379)])(_0xdc59e7(0x285),_0xdc59e7(0x289),_0x557f54[_0xdc59e7(0xed)],{'univer-animate-spin':_0x557f54['indicator']===_0xdc59e7(0x1d1),'univer-animate-pulse':_0x557f54[_0xdc59e7(0xf9)]===_0xdc59e7(0xf4)}),'aria-hidden':_0xdc59e7(0xcf),'children':_0x557f54[_0xdc59e7(0x315)]}),_0x3a76db=(0x0,_0x49e2bf[_0xdc59e7(0x92)])(_0xdc59e7(0x1ff),{'className':(0x0,_0x51bea6[_0xdc59e7(0x379)])(_0xdc59e7(0x285),_0xdc59e7(0x3c2),_0xdc59e7(0x119),_0xdc59e7(0x393),_0xdc59e7(0x2d2),{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700':_0x557f54[_0xdc59e7(0x18a)],'univer-cursor-default':!_0x557f54['clickable']}),'children':_0x2e16ba});return _0x557f54['clickable']?(0x0,_0x49e2bf['jsx'])(_0x51bea6[_0xdc59e7(0x1de)],{'title':_0x1203e1,'placement':'bottom','children':(0x0,_0x49e2bf[_0xdc59e7(0x92)])(_0xdc59e7(0x1c7),{'type':_0xdc59e7(0x1c7),'onClick':_0x50dca6,'onKeyDown':_0x55c4c4,'className':(0x0,_0x51bea6[_0xdc59e7(0x379)])(_0xdc59e7(0x297),_0xdc59e7(0x214),_0xdc59e7(0x2ec),_0xdc59e7(0x15b)),'aria-label':_0x2ae659+_0xdc59e7(0xa4)+_0x1203e1,'role':'status','aria-live':_0xdc59e7(0x22d),'aria-atomic':_0xdc59e7(0xcf),'children':_0x3a76db})}):(0x0,_0x49e2bf[_0xdc59e7(0x92)])(_0x51bea6[_0xdc59e7(0x1de)],{'title':_0x1203e1,'placement':_0xdc59e7(0x1ba),'children':(0x0,_0x49e2bf[_0xdc59e7(0x92)])(_0xdc59e7(0x250),{'className':(0x0,_0x51bea6[_0xdc59e7(0x379)])(_0xdc59e7(0x297),_0xdc59e7(0x214),_0xdc59e7(0x2ec)),'aria-label':_0x2ae659,'role':_0xdc59e7(0x255),'aria-live':'polite','aria-atomic':_0xdc59e7(0xcf),'children':_0x3a76db})});}function _0x46eea9(_0x1a733f){'@babel/helpers - typeof';const _0x39d424=_0x4a9a20;return _0x46eea9=typeof Symbol==_0x39d424(0x269)&&typeof Symbol['iterator']==_0x39d424(0x13b)?function(_0x45c3ea){return typeof _0x45c3ea;}:function(_0xa1e8ad){const _0x32fa43=_0x39d424;return _0xa1e8ad&&typeof Symbol=='function'&&_0xa1e8ad[_0x32fa43(0x314)]===Symbol&&_0xa1e8ad!==Symbol[_0x32fa43(0x135)]?_0x32fa43(0x13b):typeof _0xa1e8ad;},_0x46eea9(_0x1a733f);}function _0x2fc155(_0x5ace1d,_0xf2200c){const _0x344d1b=_0x4a9a20;if(_0x46eea9(_0x5ace1d)!=_0x344d1b(0x1e2)||!_0x5ace1d)return _0x5ace1d;var _0x3993cf=_0x5ace1d[Symbol[_0x344d1b(0x10c)]];if(_0x3993cf!==void 0x0){var _0x2fb635=_0x3993cf[_0x344d1b(0x279)](_0x5ace1d,_0xf2200c||'default');if(_0x46eea9(_0x2fb635)!=_0x344d1b(0x1e2))return _0x2fb635;throw TypeError(_0x344d1b(0x320));}return(_0xf2200c===_0x344d1b(0x23f)?String:Number)(_0x5ace1d);}function _0x2d8946(_0x14b336){const _0xbe7ef7=_0x4a9a20;var _0x17cc98=_0x2fc155(_0x14b336,'string');return _0x46eea9(_0x17cc98)==_0xbe7ef7(0x13b)?_0x17cc98:_0x17cc98+'';}function _0x477ff4(_0x55be4d,_0x598ab1,_0x2e20e0){const _0x2a3901=_0x4a9a20;return(_0x598ab1=_0x2d8946(_0x598ab1))in _0x55be4d?Object[_0x2a3901(0x27d)](_0x55be4d,_0x598ab1,{'value':_0x2e20e0,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x55be4d[_0x598ab1]=_0x2e20e0,_0x55be4d;}function _0x235e3a(_0xd4d07e,_0xcb3d21){return function(_0x499872,_0xd31df6){_0xcb3d21(_0x499872,_0xd31df6,_0xd4d07e);};}function _0x56d489(_0x5720d1,_0x1f3487,_0x22533a,_0x4f3185){const _0x235e53=_0x4a9a20;var _0x53f05d=arguments[_0x235e53(0x103)],_0x431e53=_0x53f05d<0x3?_0x1f3487:_0x4f3185===null?_0x4f3185=Object[_0x235e53(0x8f)](_0x1f3487,_0x22533a):_0x4f3185,_0x4277b4;if(typeof Reflect==_0x235e53(0x1e2)&&typeof Reflect[_0x235e53(0x295)]==_0x235e53(0x269))_0x431e53=Reflect['decorate'](_0x5720d1,_0x1f3487,_0x22533a,_0x4f3185);else{for(var _0x2f639d=_0x5720d1[_0x235e53(0x103)]-0x1;_0x2f639d>=0x0;_0x2f639d--)(_0x4277b4=_0x5720d1[_0x2f639d])&&(_0x431e53=(_0x53f05d<0x3?_0x4277b4(_0x431e53):_0x53f05d>0x3?_0x4277b4(_0x1f3487,_0x22533a,_0x431e53):_0x4277b4(_0x1f3487,_0x22533a))||_0x431e53);}return _0x53f05d>0x3&&_0x431e53&&Object[_0x235e53(0x27d)](_0x1f3487,_0x22533a,_0x431e53),_0x431e53;}let _0xfe667e=class extends _0x379e5f[_0x4a9a20(0x359)]{constructor(_0x3f9052,_0x45e3c7,_0x397a68,_0x65a9e6,_0xadf346){const _0x52b9b1=_0x4a9a20;super(),this['_univerInstanceService']=_0x3f9052,this['_injector']=_0x45e3c7,this[_0x52b9b1(0x29c)]=_0x397a68,this[_0x52b9b1(0x28c)]=_0x65a9e6,this[_0x52b9b1(0x3e3)]=_0xadf346,_0x477ff4(this,_0x52b9b1(0xa5),new _0x29b66c[(_0x52b9b1(0x2d0))](_0x5c5525[_0x52b9b1(0x307)]['NOT_COLLAB'])),_0x477ff4(this,_0x52b9b1(0x3c6),new Map()),this[_0x52b9b1(0x155)](),this['_initStatusListener'](),this[_0x52b9b1(0x395)]();}[_0x4a9a20(0x274)](){const _0x5d419f=_0x4a9a20;this['_presenceStatusRegistrations'][_0x5d419f(0xad)](_0x1d8754=>_0x1d8754[_0x5d419f(0x274)]()),this[_0x5d419f(0x3c6)][_0x5d419f(0x96)](),this[_0x5d419f(0xa5)][_0x5d419f(0xd5)](),super[_0x5d419f(0x274)]();}[_0x4a9a20(0x13f)](){const _0x51bf08=_0x4a9a20;this[_0x51bf08(0x345)]((0x0,_0x29b66c[_0x51bf08(0x3b5)])(this[_0x51bf08(0xe3)][_0x51bf08(0x2ab)],this[_0x51bf08(0xe3)][_0x51bf08(0x2e1)](_0x379e5f[_0x51bf08(0x1a5)]['UNIVER_DOC']),this[_0x51bf08(0xe3)]['getCurrentTypeOfUnit$'](_0x379e5f[_0x51bf08(0x1a5)]['UNIVER_SHEET']))[_0x51bf08(0x220)]((0x0,_0x4f408e[_0x51bf08(0x15d)])(()=>_0x512dbd(this[_0x51bf08(0xe3)])),(0x0,_0x4f408e[_0x51bf08(0x188)])(),(0x0,_0x29b66c[_0x51bf08(0xd3)])(_0x29cf81=>_0x29cf81?this[_0x51bf08(0x29c)][_0x51bf08(0x3c5)](_0x29cf81):(0x0,_0x29b66c['of'])(null)),(0x0,_0x29b66c['switchMap'])(_0x1c3934=>_0x1c3934?_0x1c3934['status$']:(0x0,_0x29b66c['of'])(_0x5c5525['CollaborationStatus'][_0x51bf08(0x361)])))[_0x51bf08(0x116)](_0x253e7b=>{const _0x59a71f=_0x51bf08;this[_0x59a71f(0xa5)][_0x59a71f(0x387)](_0x253e7b);}));}[_0x4a9a20(0x155)](){const _0x3b2a22=_0x4a9a20;this[_0x3b2a22(0x345)](this[_0x3b2a22(0x28c)][_0x3b2a22(0xf7)](_0x191907['BuiltInUIPart'][_0x3b2a22(0x222)],()=>(0x0,_0x191907['connectInjector'])(_0x447fc5({'status$':this[_0x3b2a22(0xa5)][_0x3b2a22(0x30e)]()}),this[_0x3b2a22(0xa3)])));}[_0x4a9a20(0x395)](){const _0xd54d84=_0x4a9a20;let _0x55f2cd=this[_0xd54d84(0x3e3)]['adapters$'][_0xd54d84(0x116)](_0x2a8ade=>{const _0xe2ca10=_0xd54d84;this[_0xe2ca10(0xb0)](_0x2a8ade);});this['disposeWithMe']((0x0,_0x379e5f[_0xd54d84(0x1e5)])(()=>_0x55f2cd[_0xd54d84(0x2db)]()));}[_0x4a9a20(0xb0)](_0x4851dc){const _0xf0372c=_0x4a9a20;let _0x5e7eab=new Map(_0x4851dc['filter'](_0x23d74a=>_0x23d74a['statusUIPart']!=null)[_0xf0372c(0x15d)](_0x3b18e2=>[_0x3b18e2[_0xf0372c(0xc4)],_0x3b18e2]));this[_0xf0372c(0x3c6)]['forEach']((_0x4d9c04,_0x360402)=>{const _0x86b744=_0xf0372c;_0x5e7eab[_0x86b744(0x192)](_0x360402)||(_0x4d9c04[_0x86b744(0x274)](),this[_0x86b744(0x3c6)][_0x86b744(0xd0)](_0x360402));}),_0x5e7eab['forEach']((_0x40ca56,_0x375a00)=>{const _0x862414=_0xf0372c;this['_presenceStatusRegistrations'][_0x862414(0x192)](_0x375a00)||this[_0x862414(0x1a2)](_0x40ca56);});}['_registerPresenceStatusComponent'](_0x31807d){const _0x38ec9f=_0x4a9a20;let _0x3322f8=_0x31807d[_0x38ec9f(0xa8)];if(!_0x3322f8)return;let _0x557eca=new _0x379e5f[(_0x38ec9f(0x357))](),_0x12e779=new _0x29b66c[(_0x38ec9f(0x2d0))](_0x5c5525[_0x38ec9f(0x307)][_0x38ec9f(0x361)]);_0x557eca['add']((0x0,_0x379e5f[_0x38ec9f(0x1e5)])(()=>_0x12e779[_0x38ec9f(0xd5)]())),_0x557eca[_0x38ec9f(0x2a3)](this['_uiPartsService']['registerComponent'](_0x3322f8,()=>(0x0,_0x191907[_0x38ec9f(0x182)])(_0x447fc5({'status$':_0x12e779[_0x38ec9f(0x30e)]()}),this['_injector'])));let _0x44cf7d=this['_univerInstanceService'][_0x38ec9f(0x2e1)](_0x31807d[_0x38ec9f(0xc4)])[_0x38ec9f(0x220)]((0x0,_0x4f408e[_0x38ec9f(0x15d)])(_0x4b430c=>(_0x4b430c==null?void 0x0:_0x4b430c['getUnitId']())??null),(0x0,_0x4f408e[_0x38ec9f(0x188)])(),(0x0,_0x29b66c[_0x38ec9f(0xd3)])(_0x3cdc2c=>_0x3cdc2c?this[_0x38ec9f(0x29c)]['getCollabEntity$'](_0x3cdc2c):(0x0,_0x29b66c['of'])(null)),(0x0,_0x29b66c[_0x38ec9f(0xd3)])(_0x4dd9fa=>(_0x4dd9fa==null?void 0x0:_0x4dd9fa['status$'])??(0x0,_0x29b66c['of'])(_0x5c5525['CollaborationStatus'][_0x38ec9f(0x361)])))[_0x38ec9f(0x116)](_0x38e313=>_0x12e779[_0x38ec9f(0x387)](_0x38e313));_0x557eca[_0x38ec9f(0x2a3)]((0x0,_0x379e5f[_0x38ec9f(0x1e5)])(()=>_0x44cf7d['unsubscribe']())),this[_0x38ec9f(0x3c6)][_0x38ec9f(0x25f)](_0x31807d['unitType'],_0x557eca);}};_0xfe667e=_0x56d489([_0x235e3a(0x0,_0x379e5f['IUniverInstanceService']),_0x235e3a(0x1,(0x0,_0x379e5f['Inject'])(_0x379e5f[_0x4a9a20(0x18f)])),_0x235e3a(0x2,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x5c5525[_0x4a9a20(0x95)])),_0x235e3a(0x3,_0x191907[_0x4a9a20(0x3a8)]),_0x235e3a(0x4,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x191907['IUnitPresenceUIAdapterRegistry']))],_0xfe667e);function _0x512dbd(_0xd418a9){const _0x17b844=_0x4a9a20;let _0x33090b=_0xd418a9[_0x17b844(0x1b6)](),_0x1fa9e4=_0x33090b==null?void 0x0:_0x33090b[_0x17b844(0x2c3)]();if(_0x1fa9e4&&!(0x0,_0x379e5f[_0x17b844(0x328)])(_0x1fa9e4))return _0x1fa9e4;let _0x2120fd=_0xd418a9[_0x17b844(0x2a4)](_0x379e5f['UniverInstanceType'][_0x17b844(0x139)]),_0x5ed979=_0x2120fd==null?void 0x0:_0x2120fd[_0x17b844(0x2c3)]();if(_0x5ed979&&!(0x0,_0x379e5f[_0x17b844(0x328)])(_0x5ed979))return _0x5ed979;let _0x46c713=_0xd418a9[_0x17b844(0x2a4)](_0x379e5f[_0x17b844(0x1a5)][_0x17b844(0x243)]);if(_0x46c713)return _0x46c713[_0x17b844(0x2c3)]();let _0x47756a=_0xd418a9[_0x17b844(0x292)](_0x379e5f[_0x17b844(0x1a5)]['UNIVER_DOC'])[_0x17b844(0x24d)](_0x2e7e54=>!(0x0,_0x379e5f[_0x17b844(0x328)])(_0x2e7e54[_0x17b844(0x2c3)]()));return _0x47756a?_0x47756a['getUnitId']():null;}function _0x447fc5(_0x2242d2){let {status$:_0x545015}=_0x2242d2;return function(){const _0x1ef45a=_0x861d;return(0x0,_0x49e2bf[_0x1ef45a(0x92)])(_0x1cbb00,{'status$':_0x545015});};}var _0x176194='@univerjs-pro/collaboration-client-ui',_0x5c9d38='1.0.1';let _0x9de98b={'id':_0x4a9a20(0x1a4),'type':_0x379e5f[_0x4a9a20(0x2b6)][_0x4a9a20(0x323)],'handler':(_0x270304,_0x5a7c07)=>{const _0x2225e8=_0x4a9a20;let _0x5bc650=_0x270304['get'](_0x191907[_0x2225e8(0xbd)])['get'](_0x5a7c07[_0x2225e8(0xc4)]);if(!_0x5bc650)return!0x1;switch(_0x5a7c07[_0x2225e8(0x34d)][_0x2225e8(0x3a5)]){case _0x2225e8(0x25f):return _0x5bc650['setRemotePresence'](_0x5a7c07[_0x2225e8(0x34d)]['state']),!0x0;case _0x2225e8(0x1d9):return _0x5bc650[_0x2225e8(0x341)](_0x5a7c07['update'][_0x2225e8(0x32a)],_0x5a7c07[_0x2225e8(0x34d)][_0x2225e8(0xba)]),!0x0;case _0x2225e8(0x96):return _0x5bc650[_0x2225e8(0x1e6)](_0x5a7c07[_0x2225e8(0x34d)][_0x2225e8(0x32a)]),!0x0;default:return!0x1;}}},_0x4905e4={},_0x302b8d=class extends _0x379e5f[_0x4a9a20(0x1c0)]{constructor(_0x5a40ba,_0x5f1908){const _0x2ec31f=_0x4a9a20;super(),this['_docClipboardService']=_0x5a40ba,this[_0x2ec31f(0x2cd)]=_0x5f1908,this[_0x2ec31f(0x246)]();}[_0x4a9a20(0x246)](){const _0x2a8a63=_0x4a9a20;let _0x35747f=this;this[_0x2a8a63(0x345)](this[_0x2a8a63(0x284)][_0x2a8a63(0xc3)]({'onBeforePasteImage':async _0x5d1e99=>{const _0x5a025f=_0x2a8a63;let _0x469727=await _0x35747f[_0x5a025f(0x2cd)][_0x5a025f(0x37c)](_0x5d1e99);return _0x469727?{'source':_0x469727[_0x5a025f(0x20a)],'imageSourceType':_0x469727[_0x5a025f(0x27a)]}:null;}}));}};_0x302b8d=_0x56d489([_0x235e3a(0x0,_0x12bff4['IDocClipboardService']),_0x235e3a(0x1,_0x379e5f[_0x4a9a20(0x12f)])],_0x302b8d);let _0x3f895e=[_0x4a9a20(0x2fc),_0x4a9a20(0x2f3),_0x4a9a20(0x232),_0x4a9a20(0x2da),_0x4a9a20(0x355),_0x4a9a20(0xd4)];var _0x47ec3a=class extends _0x379e5f['Disposable']{constructor(..._0x3030d3){const _0x5e4354=_0x4a9a20;super(..._0x3030d3),_0x477ff4(this,_0x5e4354(0x293),new Map()),_0x477ff4(this,_0x5e4354(0x367),0x0);}['assignAColorForMemberID'](_0xb17555){const _0x1d18ba=_0x4a9a20;if(this[_0x1d18ba(0x293)]['has'](_0xb17555))return this['_assignedColors'][_0x1d18ba(0x3c7)](_0xb17555);let _0x2f5b30=_0x3f895e[this['_colorIndex']];return this[_0x1d18ba(0x367)]=(this[_0x1d18ba(0x367)]+0x1)%_0x3f895e[_0x1d18ba(0x103)],this[_0x1d18ba(0x293)][_0x1d18ba(0x25f)](_0xb17555,_0x2f5b30),_0x2f5b30;}};function _0x33f5b1(_0x255259){let _0x3be904='';for(let _0x4508b5 of _0x255259){let {startOffset:_0x79efd5,endOffset:_0x25405d,isActive:_0x239873,rangeType:_0x1b3013,segmentId:_0x137046,segmentPage:_0x4007b8}=_0x4508b5;_0x3be904['length']&&(_0x3be904+=','),_0x3be904+=_0x79efd5+':'+_0x25405d+':'+(_0x239873?'1':'0')+':'+_0x1b3013+':'+_0x137046+':'+_0x4007b8;}return _0x3be904;}function _0x4aeb03(_0x28ab00){const _0x10d637=_0x4a9a20;let _0x3372eb=_0x28ab00[_0x10d637(0x2fb)](','),_0x235641=[];for(let _0x51963e of _0x3372eb){let [_0x5f161c,_0x3c4d8c,_0x3ea1d8,_0x2c8970,_0x4af60e,_0x1eca0c]=_0x51963e['split'](':');_0x235641[_0x10d637(0x2bd)]({'startOffset':Number(_0x5f161c),'endOffset':Number(_0x3c4d8c),'collapsed':_0x5f161c===_0x3c4d8c,'isActive':_0x3ea1d8==='1','rangeType':_0x2c8970===_0x379e5f[_0x10d637(0xff)]['TEXT']?_0x379e5f[_0x10d637(0xff)][_0x10d637(0x100)]:_0x379e5f[_0x10d637(0xff)][_0x10d637(0x35e)],'segmentId':typeof _0x4af60e==_0x10d637(0x23f)?String(_0x4af60e):'','segmentPage':Number(_0x1eca0c??-0x1)});}return _0x235641['some'](_0x58516c=>_0x58516c[_0x10d637(0x32b)])||(_0x235641[0x0][_0x10d637(0x32b)]=!0x0),_0x235641;}var _0x2430ce=class extends _0x379e5f[_0x4a9a20(0x1c0)]{constructor(..._0x3dd447){const _0x29f3f7=_0x4a9a20;super(..._0x3dd447),_0x477ff4(this,_0x29f3f7(0x3c1),new _0x29b66c[(_0x29f3f7(0x2d0))](null)),_0x477ff4(this,_0x29f3f7(0x3d2),this[_0x29f3f7(0x3c1)][_0x29f3f7(0x30e)]());}[_0x4a9a20(0x2ca)](_0x111421){const _0x371f63=_0x4a9a20;let {unitID:_0x5d87dd,memberID:_0x3635ab,textRanges:_0x49ec07}=_0x111421,_0x124fdd=_0x33f5b1(_0x49ec07);if(_0x124fdd==='')return;let _0x4d1897={'unitID':_0x5d87dd,'memberID':_0x3635ab,'selection':_0x124fdd};this[_0x371f63(0x3c1)][_0x371f63(0x387)](_0x4d1897);}};let _0x22ea1f=class extends _0x379e5f['RxDisposable']{get[_0x4a9a20(0x34b)](){const _0x4e4d4d=_0x4a9a20;return this[_0x4e4d4d(0x270)]['getValue']();}get['roomMembers'](){const _0x28bb1f=_0x4a9a20;return this[_0x28bb1f(0x1e3)][_0x28bb1f(0x3b8)]();}constructor(_0x834e1b,_0xd6da57,_0x1296c0,_0x1edaa6,_0x830152,_0x3cf4a3,_0x4a2472,_0x5abe53,_0x36b499){const _0x18a8fa=_0x4a9a20;super(),this['unitID']=_0x834e1b,this[_0x18a8fa(0x3d0)]=_0xd6da57,this[_0x18a8fa(0xa3)]=_0x1296c0,this['_colorAssignService']=_0x1edaa6,this[_0x18a8fa(0x140)]=_0x830152,this[_0x18a8fa(0x196)]=_0x3cf4a3,this[_0x18a8fa(0xf2)]=_0x4a2472,this[_0x18a8fa(0xe3)]=_0x5abe53,this[_0x18a8fa(0x3a1)]=_0x36b499,_0x477ff4(this,_0x18a8fa(0x20f),!0x1),_0x477ff4(this,'_init',!0x1),_0x477ff4(this,_0x18a8fa(0x270),new _0x29b66c[(_0x18a8fa(0x2d0))](new Map())),_0x477ff4(this,'cursorInfo$',this[_0x18a8fa(0x270)][_0x18a8fa(0x30e)]()),_0x477ff4(this,'_roomMembers$',new _0x29b66c['BehaviorSubject']([])),_0x477ff4(this,_0x18a8fa(0x370),this['_roomMembers$']['pipe']((0x0,_0x29b66c[_0x18a8fa(0x141)])(0x12c))),_0x477ff4(this,_0x18a8fa(0x2e4),(0x0,_0x379e5f[_0x18a8fa(0x2a1)])(_0x11b17f=>{const _0x486634=_0x18a8fa;let _0x43893b={'eventID':_0x180ca7[_0x486634(0x22b)][_0x486634(0x39e)],'data':{'unitID':this[_0x486634(0xdd)],'memberID':this[_0x486634(0x3d0)][_0x486634(0x11f)](),'selection':_0x33f5b1(_0x11b17f)}};this[_0x486634(0x3d0)][_0x486634(0x1e9)](_0x43893b,this[_0x486634(0xdd)]);},0x64));}[_0x4a9a20(0x274)](){const _0x323449=_0x4a9a20;super['dispose'](),this[_0x323449(0x270)]['next'](new Map()),this[_0x323449(0x270)][_0x323449(0xd5)](),this['_roomMembers$'][_0x323449(0x387)]([]),this[_0x323449(0x1e3)][_0x323449(0xd5)]();}[_0x4a9a20(0xca)](){const _0x19e04b=_0x4a9a20;this[_0x19e04b(0x246)]||(this[_0x19e04b(0x246)]=!0x0,this[_0x19e04b(0x3d0)][_0x19e04b(0x165)][_0x19e04b(0x220)]((0x0,_0x29b66c['takeUntil'])(this[_0x19e04b(0x39b)]))[_0x19e04b(0x116)](_0x4c1cc4=>{const _0x49a68b=_0x19e04b;_0x4c1cc4===_0x5c5525['SessionStatus'][_0x49a68b(0x1ca)]?this[_0x49a68b(0x338)]():this['_toggleOffline']();}),this['_session']['event$']['pipe']((0x0,_0x29b66c[_0x19e04b(0x3be)])(this[_0x19e04b(0x39b)]))[_0x19e04b(0x116)](_0x8d4999=>{const _0x500cba=_0x19e04b;let _0x3d1501=_0x8d4999[_0x500cba(0x9d)];_0x3d1501===_0x180ca7['CollaborationEvent'][_0x500cba(0x39e)]&&this[_0x500cba(0x1ce)](_0x8d4999),_0x3d1501===_0x180ca7[_0x500cba(0x22b)]['USERS_LEAVE']&&this[_0x500cba(0x197)](_0x8d4999);}),this[_0x19e04b(0x345)](this[_0x19e04b(0x3a1)][_0x19e04b(0x233)](_0x1accff=>{const _0x312e86=_0x19e04b;let _0x590896=_0x1accff[_0x312e86(0x26f)];_0x590896!=null&&this[_0x312e86(0x20f)]&&_0x1accff['id']===_0x24609f[_0x312e86(0x2c2)]['id']&&_0x590896[_0x312e86(0x32a)]===this[_0x312e86(0xdd)]&&_0x590896[_0x312e86(0x3e1)]===!0x1&&_0x590896['ranges'][_0x312e86(0x103)]>0x0&&this['_updateLocalCursor'](_0x590896[_0x312e86(0x2ff)]);})),this[_0x19e04b(0x196)][_0x19e04b(0x3d2)][_0x19e04b(0x220)]((0x0,_0x29b66c['takeUntil'])(this[_0x19e04b(0x39b)]))['subscribe'](_0x50ef4b=>{const _0x5a0189=_0x19e04b;if((_0x50ef4b==null?void 0x0:_0x50ef4b[_0x5a0189(0xdd)])!==this[_0x5a0189(0xdd)])return;let _0x555bd4={'eventID':_0x180ca7[_0x5a0189(0x22b)][_0x5a0189(0x39e)],'data':_0x50ef4b};this[_0x5a0189(0x1ce)](_0x555bd4);}),this[_0x19e04b(0x345)](this['_commandService'][_0x19e04b(0x233)](_0x5d7973=>{const _0x4c01b1=_0x19e04b;if(_0x5d7973[_0x4c01b1(0x26f)]==null)return;let _0x290d25=_0x5d7973[_0x4c01b1(0x26f)];if(_0x5d7973['id']!==_0x24609f['RichTextEditingMutation']['id']||_0x290d25[_0x4c01b1(0x32a)]!==this[_0x4c01b1(0xdd)])return;let _0x5333b7={'id':'doc.mutation.rich-text-editing','params':_0x290d25},_0x1792b5=this[_0x4c01b1(0x34b)];for(let [_0x46dbee,_0x529fcb]of _0x1792b5){let _0x3c8777={'id':_0x4c01b1(0x1bc),'params':{'unitId':this[_0x4c01b1(0xdd)],'actions':null,'textRanges':_0x529fcb[_0x4c01b1(0x2ff)]}},_0x35d475=this[_0x4c01b1(0xf2)]['transformMutation'](_0x5333b7,_0x3c8777,!0x1);if((0x0,_0x180ca7[_0x4c01b1(0x1cb)])(_0x35d475))throw _0x35d475[_0x4c01b1(0x1a8)];_0x1792b5[_0x4c01b1(0x25f)](_0x46dbee,{..._0x529fcb,'ranges':_0x35d475['m2Prime'][_0x4c01b1(0x26f)][_0x4c01b1(0x348)]});}queueMicrotask(()=>{const _0x2a2ac1=_0x4c01b1;this[_0x2a2ac1(0x270)][_0x2a2ac1(0x387)](_0x1792b5);});})));}[_0x4a9a20(0x1ce)](_0x3b3fb8){const _0x468507=_0x4a9a20;var _0x486015;let {memberID:_0x37e6d9,selection:_0x16b98f}=_0x3b3fb8[_0x468507(0xbe)],_0x209a05=_0x4aeb03(_0x16b98f),_0x254ff9=((_0x486015=this[_0x468507(0x140)][_0x468507(0x201)](this['unitID'],_0x37e6d9))==null?void 0x0:_0x486015[_0x468507(0x3ad)])??'Unknown\x20user',_0x59a41b={'color':this[_0x468507(0xfb)][_0x468507(0x3cf)](_0x37e6d9),'name':_0x254ff9,'ranges':_0x209a05},_0x15168b=this['cursorInfo'];_0x15168b[_0x468507(0x25f)](_0x37e6d9,_0x59a41b),this['_cursorInfo$'][_0x468507(0x387)](_0x15168b);}[_0x4a9a20(0x197)](_0x31e854){const _0x3866a1=_0x4a9a20;let {memberID:_0x319a66}=_0x31e854[_0x3866a1(0xbe)],_0x223f7e=this[_0x3866a1(0x34b)];_0x223f7e[_0x3866a1(0xd0)](_0x319a66),this['_cursorInfo$'][_0x3866a1(0x387)](_0x223f7e);}[_0x4a9a20(0x338)](){const _0x4a420c=_0x4a9a20;var _0x97aaa;if(this['_online']=!0x0,((_0x97aaa=this[_0x4a420c(0xe3)][_0x4a420c(0x1b6)]())==null?void 0x0:_0x97aaa[_0x4a420c(0x2c3)]())!==this[_0x4a420c(0xdd)])return;let _0x12eed6=this[_0x4a420c(0xa3)][_0x4a420c(0x3c7)](_0x24609f[_0x4a420c(0x2d3)])['getDocRanges']();Array['isArray'](_0x12eed6)&&_0x12eed6['length']>0x0&&this[_0x4a420c(0x2e4)](_0x12eed6);}['_toggleOffline'](){const _0x478744=_0x4a9a20;this[_0x478744(0x20f)]=!0x1;}};_0x22ea1f=_0x56d489([_0x235e3a(0x2,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x379e5f[_0x4a9a20(0x18f)])),_0x235e3a(0x3,(0x0,_0x379e5f['Inject'])(_0x47ec3a)),_0x235e3a(0x4,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x5c5525[_0x4a9a20(0xa9)])),_0x235e3a(0x5,(0x0,_0x379e5f['Inject'])(_0x2430ce)),_0x235e3a(0x6,_0x180ca7[_0x4a9a20(0x300)]),_0x235e3a(0x7,_0x379e5f[_0x4a9a20(0x168)]),_0x235e3a(0x8,_0x379e5f[_0x4a9a20(0x1f8)])],_0x22ea1f);let _0x1dc74b=()=>{let _0x1e4a9a=[],_0x308dca=!0x1;return _0x59ddd1=>{const _0x5b21f5=_0x861d;_0x1e4a9a[_0x5b21f5(0x2bd)](_0x59ddd1),_0x308dca||(_0x308dca=!0x0,setTimeout(()=>{const _0x372981=_0x5b21f5;_0x1e4a9a[_0x372981(0xad)](_0x45b595=>_0x45b595()),_0x1e4a9a=[],_0x308dca=!0x1;}));};},_0x23861d=class extends _0x379e5f['RxDisposable']{get['cursorInfo'](){const _0x230241=_0x4a9a20;return this[_0x230241(0x270)][_0x230241(0x3b8)]();}get[_0x4a9a20(0xc1)](){const _0x4b16ab=_0x4a9a20;return this[_0x4b16ab(0x1e3)][_0x4b16ab(0x3b8)]();}constructor(_0x39c24a,_0x390e86,_0x5b3283,_0x3eee95,_0x2641c1,_0x509cde,_0x323c3c,_0xdf5775){const _0xb5cdbb=_0x4a9a20;super(),this[_0xb5cdbb(0xdd)]=_0x39c24a,this[_0xb5cdbb(0x3d0)]=_0x390e86,this['_injector']=_0x5b3283,this[_0xb5cdbb(0xfb)]=_0x3eee95,this['_memberService']=_0x2641c1,this[_0xb5cdbb(0xe3)]=_0x509cde,this[_0xb5cdbb(0x3a1)]=_0x323c3c,this[_0xb5cdbb(0x1f0)]=_0xdf5775,_0x477ff4(this,_0xb5cdbb(0x20f),!0x1),_0x477ff4(this,_0xb5cdbb(0x246),!0x1),_0x477ff4(this,_0xb5cdbb(0x270),new _0x29b66c[(_0xb5cdbb(0x2d0))](new Map())),_0x477ff4(this,_0xb5cdbb(0x33b),this[_0xb5cdbb(0x270)]['asObservable']()),_0x477ff4(this,_0xb5cdbb(0x1e3),new _0x29b66c[(_0xb5cdbb(0x2d0))]([])),_0x477ff4(this,_0xb5cdbb(0x370),this[_0xb5cdbb(0x1e3)][_0xb5cdbb(0x220)]((0x0,_0x29b66c[_0xb5cdbb(0x141)])(0x12c))),_0x477ff4(this,_0xb5cdbb(0x2e4),(0x0,_0x379e5f[_0xb5cdbb(0x2a1)])((_0x340601,_0x1a7766)=>{const _0x30a566=_0xb5cdbb;let _0xc5659={'eventID':_0x180ca7[_0x30a566(0x22b)][_0x30a566(0x39e)],'data':{'unitID':this['unitID'],'memberID':this[_0x30a566(0x3d0)][_0x30a566(0x11f)](),'selection':(0x0,_0x5b6fce[_0x30a566(0xa2)])(_0x340601,_0x1a7766[_0x30a566(0x3b0)])}};this[_0x30a566(0x3d0)]['send'](_0xc5659,this[_0x30a566(0xdd)]);},0x64));}[_0x4a9a20(0x274)](){const _0x119161=_0x4a9a20;super[_0x119161(0x274)](),this[_0x119161(0x270)][_0x119161(0x387)](new Map()),this[_0x119161(0x270)][_0x119161(0xd5)](),this[_0x119161(0x1e3)][_0x119161(0x387)]([]),this['_roomMembers$'][_0x119161(0xd5)]();}[_0x4a9a20(0xca)](){const _0x14c16a=_0x4a9a20;this[_0x14c16a(0x246)]||(this['_init']=!0x0,this[_0x14c16a(0x3d0)][_0x14c16a(0x165)][_0x14c16a(0x220)]((0x0,_0x29b66c[_0x14c16a(0x3be)])(this[_0x14c16a(0x39b)]))['subscribe'](_0x22099a=>{const _0x606cfa=_0x14c16a;_0x22099a===_0x5c5525[_0x606cfa(0x2b4)][_0x606cfa(0x1ca)]?this['_toggleOnline']():this[_0x606cfa(0x134)]();}),this['_session'][_0x14c16a(0x149)]['pipe']((0x0,_0x29b66c[_0x14c16a(0x3be)])(this[_0x14c16a(0x39b)]))[_0x14c16a(0x116)](_0x3ad64d=>{const _0x43dca1=_0x14c16a;let _0x23a788=_0x3ad64d[_0x43dca1(0x9d)];_0x23a788===_0x180ca7['CollaborationEvent'][_0x43dca1(0x39e)]&&this['_onCursorUpdate'](_0x3ad64d),_0x23a788===_0x180ca7['CollaborationEvent'][_0x43dca1(0x3b1)]&&this[_0x43dca1(0x197)](_0x3ad64d);}),this[_0x14c16a(0x237)](),this[_0x14c16a(0x345)](this['_commandService'][_0x14c16a(0x233)](_0x1e76d2=>{const _0x647627=_0x14c16a;if(this['_online']&&_0x1e76d2['id']===_0x1f89be[_0x647627(0x288)]['id']&&_0x1e76d2['params'][_0x647627(0x32a)]===this['unitID']){let _0x2c12e0=_0x1e76d2['params'];this[_0x647627(0x2e4)](_0x2c12e0[_0x647627(0x263)],_0x2c12e0[_0x647627(0x388)][0x0]);}})));}['_onCursorUpdate'](_0x45735d){const _0x5c375a=_0x4a9a20;var _0x203e6a;let {memberID:_0x4740b8,selection:_0x3398ee}=_0x45735d[_0x5c375a(0xbe)],{sheetName:_0x505d2f,range:_0x5931b8}=(0x0,_0x5b6fce['deserializeRangeWithSheet'])(_0x3398ee),_0x5970c4={'name':((_0x203e6a=this[_0x5c375a(0x140)][_0x5c375a(0x201)](this[_0x5c375a(0xdd)],_0x4740b8))==null?void 0x0:_0x203e6a[_0x5c375a(0x3ad)])??_0x5c375a(0x39c),'range':this[_0x5c375a(0xda)](_0x505d2f,_0x5931b8),'sheetID':_0x505d2f,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x4740b8),'selection':_0x3398ee},_0x50740a=this[_0x5c375a(0x34b)];_0x50740a[_0x5c375a(0x25f)](_0x4740b8,_0x5970c4),this[_0x5c375a(0x270)][_0x5c375a(0x387)](_0x50740a);}[_0x4a9a20(0x197)](_0x4c40f1){const _0x2ea6d3=_0x4a9a20;let {memberID:_0xe19b35}=_0x4c40f1[_0x2ea6d3(0xbe)],_0xfdcd87=this[_0x2ea6d3(0x34b)];_0xfdcd87[_0x2ea6d3(0xd0)](_0xe19b35),this[_0x2ea6d3(0x270)][_0x2ea6d3(0x387)](_0xfdcd87);}['_getMergeRange'](_0x377616,_0xcc9dd1){const _0x51ecec=_0x4a9a20;var _0x31c3d6;let _0x5971dc=(_0x31c3d6=this[_0x51ecec(0xe3)][_0x51ecec(0x302)](this[_0x51ecec(0xdd)],_0x379e5f['UniverInstanceType'][_0x51ecec(0x243)]))==null||(_0x31c3d6=_0x31c3d6['getSheetBySheetId'](_0x377616))==null?void 0x0:_0x31c3d6[_0x51ecec(0x38c)]();return(_0x5971dc==null?void 0x0:_0x5971dc[_0x51ecec(0x24d)](_0x4d0e57=>_0x379e5f[_0x51ecec(0x244)][_0x51ecec(0x20c)](_0x4d0e57,_0xcc9dd1)))||_0xcc9dd1;}[_0x4a9a20(0x237)](){const _0x5bb988=_0x4a9a20;let _0x2900f1=new _0x379e5f[(_0x5bb988(0x357))](),_0x22f32b=_0x1dc74b(),_0x200ab0=()=>{const _0x6b5ae4=_0x5bb988;_0x2900f1[_0x6b5ae4(0x274)]();let _0x4857c9=(_0x225e70,_0x9259c3,_0x479ee0,_0xc75e47)=>{const _0x270c59=_0x6b5ae4;let _0xac5294=[];switch(_0x225e70['id']){case _0x1f89be[_0x270c59(0x2ae)][_0x270c59(0x1cc)]:_0xac5294=(0x0,_0x1f89be[_0x270c59(0x326)])(_0x225e70,_0xc75e47);break;case _0x1f89be[_0x270c59(0x2ae)][_0x270c59(0x2bc)]:_0xac5294=(0x0,_0x1f89be[_0x270c59(0xd9)])(_0x225e70,_0xc75e47);break;case _0x1f89be[_0x270c59(0x2ae)][_0x270c59(0x164)]:_0xac5294=(0x0,_0x1f89be[_0x270c59(0x3b3)])(_0x225e70,_0xc75e47);break;case _0x1f89be[_0x270c59(0x2ae)]['InsertRangeMoveDownCommandId']:_0xac5294=(0x0,_0x1f89be[_0x270c59(0x3ce)])(_0x225e70,_0xc75e47);break;case _0x1f89be[_0x270c59(0x2ae)][_0x270c59(0xcc)]:_0xac5294=(0x0,_0x1f89be['handleInsertRangeMoveRight'])(_0x225e70,_0xc75e47);break;case _0x1f89be[_0x270c59(0x2ae)]['InsertRowCommandId']:_0xac5294=(0x0,_0x1f89be['handleInsertRow'])(_0x225e70,_0xc75e47);break;case _0x1f89be[_0x270c59(0x2ae)][_0x270c59(0x111)]:_0xac5294=(0x0,_0x1f89be[_0x270c59(0x319)])(_0x225e70,_0xc75e47);break;case _0x1f89be[_0x270c59(0x2ae)]['RemoveColCommandId']:_0xac5294=(0x0,_0x1f89be[_0x270c59(0x28a)])(_0x225e70,_0xc75e47);break;case _0x1f89be[_0x270c59(0x2ae)][_0x270c59(0x2f9)]:_0xac5294=(0x0,_0x1f89be['handleIRemoveRow'])(_0x225e70,_0xc75e47);}let _0x26e070=(0x0,_0x1f89be[_0x270c59(0x34c)])(_0xac5294,_0xc75e47),_0x3c828d=this[_0x270c59(0x34b)][_0x270c59(0x3c7)](_0x9259c3);if(_0x3c828d&&_0x26e070){let _0x421dab={..._0x3c828d,'range':_0x26e070};this[_0x270c59(0x34b)][_0x270c59(0x25f)](_0x9259c3,_0x421dab),_0x22f32b(()=>{const _0x291302=_0x270c59;let _0x2e8a5b=this[_0x291302(0x1f0)][_0x291302(0x29a)](_0x26e070,_0x14cd45=>(_0x2e8a5b['dispose'](),_0x4857c9(_0x14cd45,_0x9259c3,_0x479ee0,_0x26e070)));_0x2900f1['add'](_0x2e8a5b);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x6b5ae4(0xad)]((_0x5209f6,_0x3fb05f)=>{const _0x41a168=_0x6b5ae4;let {range:_0x4955cf,sheetID:_0x10fb3d}=_0x5209f6,_0xb03ef=this[_0x41a168(0x1f0)]['registerRefRange'](_0x4955cf,_0x73564a=>(_0xb03ef[_0x41a168(0x274)](),_0x4857c9(_0x73564a,_0x3fb05f,_0x10fb3d,_0x4955cf)));_0x2900f1['add'](_0xb03ef);});};this['disposeWithMe']((0x0,_0x379e5f[_0x5bb988(0x1e5)])(this['_cursorInfo$'][_0x5bb988(0x116)](()=>{_0x200ab0();})));}[_0x4a9a20(0x338)](){const _0x579edc=_0x4a9a20;var _0x4e44b0,_0x270d01;if(this[_0x579edc(0x20f)]=!0x0,((_0x4e44b0=this[_0x579edc(0xe3)]['getFocusedUnit']())==null?void 0x0:_0x4e44b0[_0x579edc(0x2c3)]())!==this[_0x579edc(0xdd)])return;let _0x531063=(_0x270d01=this[_0x579edc(0xa3)]['get'](_0x1f89be[_0x579edc(0x3d6)])['getCurrentSelections']())==null?void 0x0:_0x270d01[0x0],_0x484805=this[_0x579edc(0xe3)][_0x579edc(0x2a4)](_0x379e5f[_0x579edc(0x1a5)]['UNIVER_SHEET'])[_0x579edc(0x1b3)]();_0x531063&&_0x484805&&this[_0x579edc(0x2e4)](_0x484805['getSheetId'](),_0x531063);}[_0x4a9a20(0x134)](){const _0x6cfdf3=_0x4a9a20;this[_0x6cfdf3(0x20f)]=!0x1;}};_0x23861d=_0x56d489([_0x235e3a(0x2,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x379e5f['Injector'])),_0x235e3a(0x3,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x47ec3a)),_0x235e3a(0x4,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x5c5525[_0x4a9a20(0xa9)])),_0x235e3a(0x5,_0x379e5f[_0x4a9a20(0x168)]),_0x235e3a(0x6,_0x379e5f[_0x4a9a20(0x1f8)]),_0x235e3a(0x7,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x1f89be[_0x4a9a20(0x21d)]))],_0x23861d);let _0x5e94f1=class extends _0x379e5f[_0x4a9a20(0x1c0)]{constructor(_0x4d1a56,_0x3282e7,_0x4eb789){const _0x4dca70=_0x4a9a20;super(),this[_0x4dca70(0xe3)]=_0x4d1a56,this[_0x4dca70(0xa3)]=_0x3282e7,this[_0x4dca70(0xc8)]=_0x4eb789,_0x477ff4(this,_0x4dca70(0x30b),new Map()),_0x477ff4(this,'_entityInit$',new _0x29b66c[(_0x4dca70(0x283))]()),this[_0x4dca70(0x246)]();}[_0x4a9a20(0x274)](){const _0x32db12=_0x4a9a20;super['dispose'](),this[_0x32db12(0xb3)][_0x32db12(0xd5)](),this[_0x32db12(0x30b)][_0x32db12(0xad)](_0x4fdcfa=>_0x4fdcfa[_0x32db12(0x274)]());}[_0x4a9a20(0x3c4)](_0x3f4574){const _0x537ca6=_0x4a9a20;let _0x467684=this[_0x537ca6(0x30b)]['get'](_0x3f4574);return _0x467684?_0x467684[_0x537ca6(0x33b)]:this[_0x537ca6(0xb3)][_0x537ca6(0x220)]((0x0,_0x29b66c['filter'])(_0x49d813=>_0x49d813['unitID']===_0x3f4574),(0x0,_0x29b66c[_0x537ca6(0xd3)])(_0x3e0660=>_0x3e0660[_0x537ca6(0x33b)]));}[_0x4a9a20(0x246)](){const _0x432a73=_0x4a9a20;this[_0x432a73(0xe3)]['getTypeOfUnitAdded$'](_0x379e5f[_0x432a73(0x1a5)][_0x432a73(0x243)])[_0x432a73(0x220)]((0x0,_0x29b66c[_0x432a73(0x3be)])(this[_0x432a73(0x39b)]))['subscribe'](async _0x3970a3=>{const _0x19bcd2=_0x432a73;let _0x56f7c0=_0x3970a3[_0x19bcd2(0x108)][_0x19bcd2(0x2c3)](),_0x19f9fe=await this['_startSheetCollabCursor'](_0x56f7c0);this[_0x19bcd2(0xb3)][_0x19bcd2(0x387)](_0x19f9fe),this[_0x19bcd2(0x30b)]['set'](_0x56f7c0,_0x19f9fe);}),this[_0x432a73(0xe3)]['getTypeOfUnitAdded$'](_0x379e5f['UniverInstanceType'][_0x432a73(0x139)])[_0x432a73(0x220)]((0x0,_0x29b66c['takeUntil'])(this[_0x432a73(0x39b)]))[_0x432a73(0x220)]((0x0,_0x29b66c['filter'])(_0x476713=>!_0x476713[_0x432a73(0x108)][_0x432a73(0x2c3)]()[_0x432a73(0xc5)]('__')))[_0x432a73(0x116)](async _0x147632=>{const _0x11d166=_0x432a73;let {unit:_0x15c74c}=_0x147632,_0x3c4c0b=_0x15c74c[_0x11d166(0x2c3)](),_0x40e4cb=await this['_startDocCollabCursor'](_0x3c4c0b);this['_entityInit$'][_0x11d166(0x387)](_0x40e4cb),this['_entities']['set'](_0x3c4c0b,_0x40e4cb);}),(0x0,_0x29b66c[_0x432a73(0x3b5)])(this[_0x432a73(0xe3)]['getTypeOfUnitDisposed$'](_0x379e5f[_0x432a73(0x1a5)][_0x432a73(0x139)]),this[_0x432a73(0xe3)]['getTypeOfUnitDisposed$'](_0x379e5f[_0x432a73(0x1a5)][_0x432a73(0x243)]))[_0x432a73(0x220)]((0x0,_0x29b66c[_0x432a73(0x3be)])(this['dispose$']))['subscribe'](_0x30dcb9=>{const _0x2cd173=_0x432a73;let _0x2371d2=_0x30dcb9['getUnitId'](),_0x212c69=this[_0x2cd173(0x30b)][_0x2cd173(0x3c7)](_0x2371d2);_0x212c69&&(_0x212c69[_0x2cd173(0x274)](),this[_0x2cd173(0x30b)][_0x2cd173(0xd0)](_0x2371d2));});}async[_0x4a9a20(0x29e)](_0x584681){const _0x379702=_0x4a9a20;let _0x5a64d4=await this[_0x379702(0xc8)][_0x379702(0x121)](_0x584681),_0x3ae35a=this[_0x379702(0xa3)][_0x379702(0x154)](_0x23861d,_0x584681,_0x5a64d4);return _0x3ae35a[_0x379702(0xca)](),_0x3ae35a;}async[_0x4a9a20(0x2e9)](_0x3f4e){const _0x5477b3=_0x4a9a20;let _0x4fb0ae=await this[_0x5477b3(0xc8)][_0x5477b3(0x121)](_0x3f4e),_0x262015=this[_0x5477b3(0xa3)][_0x5477b3(0x154)](_0x22ea1f,_0x3f4e,_0x4fb0ae);return _0x262015['init'](),_0x262015;}};_0x5e94f1=_0x56d489([_0x235e3a(0x0,_0x379e5f[_0x4a9a20(0x168)]),_0x235e3a(0x1,(0x0,_0x379e5f['Inject'])(_0x379e5f[_0x4a9a20(0x18f)])),_0x235e3a(0x2,(0x0,_0x379e5f['Inject'])(_0x5c5525[_0x4a9a20(0x267)]))],_0x5e94f1);function _0x52f56f(_0x14b3d3,_0x39f441){const _0x2a8b0e=_0x4a9a20;_0x14b3d3['save'](),_0x14b3d3[_0x2a8b0e(0x252)]=_0x2a8b0e(0x221);let _0x3afb7f=_0x14b3d3[_0x2a8b0e(0x2d9)](_0x39f441)[_0x2a8b0e(0x1ee)];return _0x14b3d3[_0x2a8b0e(0x1d2)](),Math[_0x2a8b0e(0x2f7)](_0x3afb7f+0x8,0xc8);}function _0x5e4ca1(_0x14005b,_0x13d21c){const _0x312bfc=_0x4a9a20;let {radius:_0x464589,width:_0x17e223,height:_0x3d7655}=_0x13d21c;_0x464589??=0x0,_0x17e223??=0x1e,_0x3d7655??=0x1e;let _0xacd71c=0x0,_0x40058e=0x0,_0x426151=0x0;_0xacd71c=_0x40058e=_0x426151=Math[_0x312bfc(0x2f7)](_0x464589,_0x17e223/0x2,_0x3d7655/0x2),_0x14005b[_0x312bfc(0x1be)](),_0x14005b['moveTo'](_0xacd71c,0x0),_0x14005b[_0x312bfc(0x191)](_0x17e223-_0x40058e,0x0),_0x14005b[_0x312bfc(0x14a)](_0x17e223-_0x40058e,_0x40058e,_0x40058e,Math['PI']*0x3/0x2,0x0,!0x1),_0x14005b[_0x312bfc(0x191)](_0x17e223,_0x3d7655-_0x426151),_0x14005b[_0x312bfc(0x14a)](_0x17e223-_0x426151,_0x3d7655-_0x426151,_0x426151,0x0,Math['PI']/0x2,!0x1),_0x14005b['lineTo'](0x0,_0x3d7655),_0x14005b[_0x312bfc(0x191)](0x0,_0xacd71c),_0x14005b['arc'](_0xacd71c,_0xacd71c,_0xacd71c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x14005b['closePath'](),_0x13d21c['fill']&&(_0x14005b[_0x312bfc(0x202)](),_0x14005b[_0x312bfc(0x120)]=_0x13d21c[_0x312bfc(0xef)],_0x13d21c[_0x312bfc(0x356)]===_0x312bfc(0x369)?_0x14005b[_0x312bfc(0xef)](_0x312bfc(0x369)):_0x14005b['fill'](),_0x14005b[_0x312bfc(0x1d2)]());}var _0x4b2645=class _0x3cd0a3 extends _0x2a6e7e[_0x4a9a20(0x158)]{constructor(_0x2b00ad,_0xaa3fae){const _0x993bf6=_0x4a9a20;super(_0x2b00ad,_0xaa3fae),_0x477ff4(this,_0x993bf6(0x179),void 0x0),_0x477ff4(this,'text',void 0x0),this[_0x993bf6(0x179)]=_0xaa3fae==null?void 0x0:_0xaa3fae[_0x993bf6(0x179)],this[_0x993bf6(0x142)]=_0xaa3fae==null?void 0x0:_0xaa3fae['text'];}static[_0x4a9a20(0x18b)](_0x412779,_0x2090a3){const _0x30f4a7=_0x4a9a20;let {text:_0x44c88c,color:_0x47cbed}=_0x2090a3;_0x412779[_0x30f4a7(0x202)](),_0x412779[_0x30f4a7(0x252)]=_0x30f4a7(0x256);let _0xc0b15e=_0x412779[_0x30f4a7(0x2d9)](_0x44c88c)[_0x30f4a7(0x1ee)];if(_0x5e4ca1(_0x412779,{'height':0x14,'radius':0x4,'width':_0x52f56f(_0x412779,_0x44c88c),'fill':_0x47cbed,'evented':!0x1}),_0x412779[_0x30f4a7(0x120)]=_0x30f4a7(0x2b3),_0xc0b15e>0xc0){let _0x4aaa62='',_0x116286=0x0;for(let _0x550108 of _0x44c88c){let _0x2ba2a2=_0x412779[_0x30f4a7(0x2d9)](_0x550108)[_0x30f4a7(0x1ee)];if(_0x116286+_0x2ba2a2<=0xc0-_0x412779[_0x30f4a7(0x2d9)]('...')['width'])_0x4aaa62+=_0x550108,_0x116286+=_0x2ba2a2;else{_0x4aaa62+=_0x30f4a7(0x278);break;}}_0x412779[_0x30f4a7(0xf1)](_0x4aaa62,0x4,0xf);}else _0x412779[_0x30f4a7(0xf1)](_0x44c88c,0x4,0xf);_0x412779[_0x30f4a7(0x1d2)]();}[_0x4a9a20(0x2f0)](_0x21eae0){const _0x37e678=_0x4a9a20;_0x3cd0a3[_0x37e678(0x18b)](_0x21eae0,this);}};let _0x5a648a='collab-text-anchor-';var _0x1b6e53=class{constructor(_0x46ad29,_0x195ea5,_0x3ccad3,_0x155555){const _0x5c66dc=_0x4a9a20;this[_0x5c66dc(0x1b1)]=_0x46ad29,this[_0x5c66dc(0x2a8)]=_0x195ea5,this[_0x5c66dc(0x1a3)]=_0x3ccad3,this[_0x5c66dc(0x34a)]=_0x155555,_0x477ff4(this,_0x5c66dc(0x113),[]),_0x477ff4(this,_0x5c66dc(0x20b),null),_0x477ff4(this,'_textBubble',null),_0x477ff4(this,_0x5c66dc(0x3cc),null),_0x477ff4(this,'_hideTimer',null),_0x477ff4(this,_0x5c66dc(0x3b4),null),this[_0x5c66dc(0x22a)]();}set['_hover'](_0x4095ff){const _0x107bb1=_0x4a9a20;_0x4095ff?(this[_0x107bb1(0x3cc)]&&this[_0x107bb1(0x3cc)]['hide'](),this[_0x107bb1(0xb7)]&&this[_0x107bb1(0xb7)][_0x107bb1(0x185)]()):(this['_anchorDot']&&this[_0x107bb1(0x3cc)][_0x107bb1(0x185)](),this['_textBubble']&&this[_0x107bb1(0xb7)]['hide']());}['dispose'](){const _0x3e6bdf=_0x4a9a20;for(let _0x417d40 of this[_0x3e6bdf(0x113)])_0x417d40['dispose']();this[_0x3e6bdf(0xb7)]&&this[_0x3e6bdf(0xb7)]['dispose'](),this[_0x3e6bdf(0x3cc)]&&this[_0x3e6bdf(0x3cc)]['dispose'](),this[_0x3e6bdf(0x20b)]&&this[_0x3e6bdf(0x20b)][_0x3e6bdf(0x274)](),this[_0x3e6bdf(0x3b4)]&&this[_0x3e6bdf(0x3b4)]();}[_0x4a9a20(0x22a)](){const _0x46ace5=_0x4a9a20;let {_docSkeleton:_0x1185e5,_document:_0x1c402b}=this,{color:_0x213b2a,name:_0xe1596f,ranges:_0x2b780a}=this[_0x46ace5(0x1b1)],_0x1b63a9=_0x1c402b['getOffsetConfig'](),{docsLeft:_0x4b314d,docsTop:_0x111e42}=_0x1b63a9,_0x1f074b=new _0x12bff4[(_0x46ace5(0x251))](_0x1b63a9,_0x1185e5);for(let {startOffset:_0x26198a,endOffset:_0x511e0a,rangeType:_0x4e1696,segmentId:_0x393066,segmentPage:_0x61fa6,collapsed:_0x361e9d,isActive:_0x7af244}of _0x2b780a){let _0x54c57e=_0x1185e5[_0x46ace5(0x1ad)](_0x26198a,!0x0,_0x393066,_0x61fa6),_0x51a538=_0x1185e5[_0x46ace5(0x1ad)](_0x511e0a,!0x0,_0x393066,_0x61fa6);_0x51a538??=_0x1185e5[_0x46ace5(0x1ad)](_0x511e0a-0x1,!0x1,_0x393066,_0x61fa6);let _0x14de57=_0x318bda(_0x54c57e,_0x51a538);if(_0x7af244&&_0x14de57[_0x46ace5(0x39d)]){let {contentBoxPointGroup:_0xa89fae}=_0x1f074b[_0x46ace5(0x204)](_0x51a538,_0x51a538);if(_0xa89fae[_0x46ace5(0x103)]===0x0)continue;this['_drawAnchor'](_0x213b2a,_0xa89fae,_0x4b314d,_0x111e42,_0xe1596f),this[_0x46ace5(0x3b4)]=this[_0x46ace5(0x229)]();}if(_0x54c57e&&_0x51a538){if(_0x4e1696===_0x379e5f[_0x46ace5(0xff)][_0x46ace5(0x35e)]){let {pointGroup:_0x507d67}=new _0x12bff4[(_0x46ace5(0x90))](_0x1b63a9,_0x1185e5)[_0x46ace5(0x204)](_0x54c57e,_0x51a538)??{};if(_0x507d67==null||_0x507d67[_0x46ace5(0x103)]===0x0)continue;this['_drawRectRange'](_0x213b2a,_0x507d67,_0x4b314d,_0x111e42);}else{if(!_0x361e9d&&_0x14de57[_0x46ace5(0x217)]){let {borderBoxPointGroup:_0x17d6f2}=_0x1f074b[_0x46ace5(0x204)](_0x54c57e,_0x51a538);if(_0x17d6f2['length']===0x0)continue;this[_0x46ace5(0x1a6)](_0x213b2a,_0x17d6f2,_0x4b314d,_0x111e42);}}}}}[_0x4a9a20(0x258)](_0x5cee41,_0x3cb4aa,_0x45f9b8,_0x30e9a4,_0x52c2d2){const _0x17df10=_0x4a9a20;let {left:_0x2747ca,top:_0x1b5515,height:_0x53715c}=this['_getAnchorBounding'](_0x3cb4aa),_0x3762fc=1.5/this[_0x17df10(0x2b7)](),_0x920485=new _0x2a6e7e[(_0x17df10(0x190))](_0x5a648a+(0x0,_0x379e5f['generateRandomId'])(0x6),{'left':_0x2747ca+_0x45f9b8-_0x3762fc,'top':_0x1b5515+_0x30e9a4,'height':_0x53715c,'width':1.5,'fill':_0x5cee41||(0x0,_0x2a6e7e[_0x17df10(0x14d)])(_0x379e5f[_0x17df10(0x19f)][_0x17df10(0x248)],0x0),'strokeWidth':_0x3762fc,'stroke':_0x17df10(0x17b),'evented':!0x0});this[_0x17df10(0x20b)]=_0x920485,this[_0x17df10(0x2a8)][_0x17df10(0x390)](_0x920485,_0x12bff4[_0x17df10(0x136)]);let _0x55ce96=new _0x2a6e7e[(_0x17df10(0x190))](_0x5a648a+(0x0,_0x379e5f[_0x17df10(0x265)])(0x6),{'left':_0x2747ca+_0x45f9b8-_0x3762fc,'top':_0x1b5515+_0x30e9a4-0x2,'height':0x4,'width':0x4,'fill':_0x5cee41||(0x0,_0x2a6e7e['getColor'])(_0x379e5f[_0x17df10(0x19f)][_0x17df10(0x248)],0x0),'strokeWidth':0x0,'stroke':_0x5cee41||(0x0,_0x2a6e7e[_0x17df10(0x14d)])(_0x379e5f[_0x17df10(0x19f)][_0x17df10(0x248)],0x0),'evented':!0x1});this['_anchorDot']=_0x55ce96,this[_0x17df10(0x2a8)][_0x17df10(0x390)](_0x55ce96,_0x12bff4[_0x17df10(0x136)]);let _0x54d72b=new _0x4b2645(_0x5a648a+(0x0,_0x379e5f[_0x17df10(0x265)])(0x6),{'left':_0x2747ca+_0x45f9b8-_0x3762fc,'top':_0x1b5515+_0x30e9a4-0x14,'text':_0x52c2d2,'color':_0x5cee41});this[_0x17df10(0xb7)]=_0x54d72b,this[_0x17df10(0x2a8)][_0x17df10(0x390)](_0x54d72b,_0x12bff4['TEXT_RANGE_LAYER_INDEX']),this['_hover']=!0x1;}[_0x4a9a20(0x229)](){const _0x351965=_0x4a9a20;let _0x500ad5=this[_0x351965(0x20b)][_0x351965(0x131)][_0x351965(0x29d)](()=>{this['_hover']=!0x0;}),_0x5b4549=this['_anchor'][_0x351965(0x167)][_0x351965(0x29d)](()=>{const _0xbee58f=_0x351965;this[_0xbee58f(0x145)]&&clearTimeout(this['_hideTimer']),this[_0xbee58f(0x145)]=setTimeout(()=>{const _0x2a2b6c=_0xbee58f;this[_0x2a2b6c(0x3de)]=!0x1;},0x7d0);});return()=>{const _0x5de920=_0x351965;_0x500ad5['unsubscribe'](),_0x5b4549[_0x5de920(0x2db)]();};}[_0x4a9a20(0x1a6)](_0x261b95,_0x1311cf,_0x46de5f,_0x1e5b13){const _0x4b6b0f=_0x4a9a20;let _0x6efbdf=0.2,_0x303ca4=new _0x379e5f['ColorKit'](_0x261b95)['setAlpha'](_0x6efbdf)['toRgbString'](),_0x184da8=new _0x2a6e7e[(_0x4b6b0f(0x236))](_0x4b6b0f(0x312)+(0x0,_0x379e5f[_0x4b6b0f(0x265)])(0x6),{'pointsGroup':_0x1311cf,'fill':_0x303ca4||(0x0,_0x2a6e7e['getColor'])(_0x379e5f[_0x4b6b0f(0x19f)][_0x4b6b0f(0x248)],_0x6efbdf),'left':_0x46de5f,'top':_0x1e5b13,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4b6b0f(0x113)][_0x4b6b0f(0x2bd)](_0x184da8),this['_scene'][_0x4b6b0f(0x390)](_0x184da8,_0x12bff4['TEXT_RANGE_LAYER_INDEX']);}[_0x4a9a20(0x8e)](_0x29735f,_0x515e7e,_0x4c35ab,_0x98144f){const _0x52cdb5=_0x4a9a20;let _0x3e1e5b=0.2,_0x4b9d71=new _0x379e5f[(_0x52cdb5(0x1db))](_0x29735f)[_0x52cdb5(0x3a2)](_0x3e1e5b)[_0x52cdb5(0x174)](),_0x221a3f=new _0x2a6e7e[(_0x52cdb5(0x236))](_0x52cdb5(0x350)+(0x0,_0x379e5f[_0x52cdb5(0x265)])(0x6),{'pointsGroup':_0x515e7e,'fill':_0x4b9d71||(0x0,_0x2a6e7e[_0x52cdb5(0x14d)])(_0x379e5f[_0x52cdb5(0x19f)][_0x52cdb5(0x248)],_0x3e1e5b),'left':_0x4c35ab,'top':_0x98144f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x52cdb5(0x113)][_0x52cdb5(0x2bd)](_0x221a3f),this[_0x52cdb5(0x2a8)][_0x52cdb5(0x390)](_0x221a3f,_0x12bff4['TEXT_RANGE_LAYER_INDEX']);}[_0x4a9a20(0x1bb)](_0x427cf6){let _0xbf2baf=_0x427cf6[0x0],_0x38210a=_0xbf2baf[0x0],_0x13b629=_0xbf2baf[0x2],{x:_0x44940d,y:_0x3e338a}=_0x38210a,{x:_0x4e83e5,y:_0x5dc1cb}=_0x13b629;return{'left':_0x44940d,'top':_0x3e338a,'width':_0x4e83e5-_0x44940d,'height':_0x5dc1cb-_0x3e338a};}[_0x4a9a20(0x2b7)](){const _0x451deb=_0x4a9a20;let {scaleX:_0x4ccca6,scaleY:_0x3c577c}=this[_0x451deb(0x2a8)][_0x451deb(0x18c)]();return Math[_0x451deb(0x261)](_0x4ccca6,_0x3c577c);}};function _0x318bda(_0x218f3e,_0x144245){const _0x3d383d=_0x4a9a20;if(!_0x144245)return{'canRenderAnchor':!0x1,'canRenderSelection':!0x1};if(!_0x218f3e||_0x218f3e[_0x3d383d(0x3d5)]!==_0x144245[_0x3d383d(0x3d5)]||(_0x218f3e['pageType']===_0x2a6e7e[_0x3d383d(0x383)][_0x3d383d(0x3ac)]||_0x218f3e[_0x3d383d(0x3d5)]===_0x2a6e7e[_0x3d383d(0x383)][_0x3d383d(0x133)])&&_0x218f3e[_0x3d383d(0x8d)]!==_0x144245[_0x3d383d(0x8d)])return{'canRenderAnchor':!0x0,'canRenderSelection':!0x1};let _0x2913b7=(0x0,_0x2a6e7e['getDocumentSkeletonColumnPagePathInfo'])(_0x218f3e),_0xc0a984=(0x0,_0x2a6e7e[_0x3d383d(0x3cd)])(_0x144245);return{'canRenderAnchor':!0x0,'canRenderSelection':_0x2913b7==null||_0xc0a984==null?_0x2913b7==null&&_0xc0a984==null:_0x2913b7['pageIndex']===_0xc0a984[_0x3d383d(0x171)]&&_0x2913b7[_0x3d383d(0x24b)]===_0xc0a984['columnGroupId']&&_0x2913b7['columnIndex']===_0xc0a984['columnIndex']};}let _0x5f4219=class extends _0x379e5f['RxDisposable']{constructor(_0x1f8916,_0x2d17dc,_0x298bfc,_0x45c3e6,_0x410e13){const _0x54c6a9=_0x4a9a20;super(),this['_context']=_0x1f8916,this['_docSkeletonManagerService']=_0x2d17dc,this[_0x54c6a9(0x31f)]=_0x298bfc,this[_0x54c6a9(0x3a1)]=_0x45c3e6,this['_themeService']=_0x410e13,_0x477ff4(this,_0x54c6a9(0x378),[]),_0x477ff4(this,_0x54c6a9(0x321),[]),this[_0x54c6a9(0x246)]();}[_0x4a9a20(0x246)](){const _0x49f534=_0x4a9a20;let _0x29b838=this[_0x49f534(0x91)]['unitId'],_0x3cfa51=this[_0x49f534(0x32c)];this[_0x49f534(0x345)]((0x0,_0x29b66c[_0x49f534(0x2cf)])([this['_collabCursorController'][_0x49f534(0x3c4)](_0x29b838),this['_themeService'][_0x49f534(0x1b5)]])[_0x49f534(0x220)]((0x0,_0x4f408e[_0x49f534(0x15d)])(([_0x44dc57,_0xb343f9])=>({'skeleton':_0x3cfa51[_0x49f534(0x127)](),'cursors':[..._0x44dc57[_0x49f534(0x33f)]()]['flatMap'](_0x5a739f=>({..._0x5a739f,'color':this[_0x49f534(0x2f5)]['getColorFromTheme'](_0x5a739f[_0x49f534(0x179)])}))})))['subscribe'](_0x35a25d=>{const _0x544f28=_0x49f534;if(this[_0x544f28(0x1b9)](),_0x35a25d){let {skeleton:_0x1cbae7,cursors:_0x3c33d0}=_0x35a25d;this[_0x544f28(0x2e6)](_0x1cbae7,_0x3c33d0);}})),this[_0x49f534(0x2d7)](),this[_0x49f534(0x354)]();}['_updateCollabCursors'](_0x5a6270,_0x50c3ad){const _0x2d40ed=_0x4a9a20;let {scene:_0x5605ca,mainComponent:_0x30de2f}=this[_0x2d40ed(0x91)],_0x436ad6=_0x50c3ad[_0x2d40ed(0x15d)](_0xa87c63=>new _0x1b6e53(_0xa87c63,_0x5605ca,_0x5a6270,_0x30de2f));this['_cursorShapes']=_0x436ad6,this['_cursors']=_0x50c3ad;}[_0x4a9a20(0x16e)](){const _0x2b8b7a=_0x4a9a20;this[_0x2b8b7a(0x1b9)]();let {scene:_0x4dd066,mainComponent:_0x4ab485}=this['_context'],_0x8609eb=this[_0x2b8b7a(0x32c)][_0x2b8b7a(0x127)](),_0x322ed8=this[_0x2b8b7a(0x321)]['map'](_0x100c4b=>new _0x1b6e53(_0x100c4b,_0x4dd066,_0x8609eb,_0x4ab485));this[_0x2b8b7a(0x378)]=_0x322ed8;}['_removeCollabCursors'](){const _0xf74873=_0x4a9a20;this[_0xf74873(0x378)][_0xf74873(0xad)](_0x499675=>_0x499675[_0xf74873(0x274)]()),this['_cursorShapes']=[];}[_0x4a9a20(0x354)](){const _0x1fcfba=_0x4a9a20;let _0x43cd3c=[_0x12bff4[_0x1fcfba(0x396)]['id']];this['disposeWithMe'](this[_0x1fcfba(0x3a1)][_0x1fcfba(0x233)](_0x5a01a5=>{const _0x3a1a64=_0x1fcfba;_0x43cd3c[_0x3a1a64(0x372)](_0x5a01a5['id'])&&_0x5a01a5[_0x3a1a64(0x26f)]['unitId']===this[_0x3a1a64(0x91)][_0x3a1a64(0x32a)]&&this[_0x3a1a64(0x16e)]();}));}[_0x4a9a20(0x2d7)](){const _0x6cfbd2=_0x4a9a20;this[_0x6cfbd2(0x345)]((0x0,_0x379e5f[_0x6cfbd2(0x2a7)])(this['_context'][_0x6cfbd2(0x2f8)][_0x6cfbd2(0x1b4)])[_0x6cfbd2(0x220)]((0x0,_0x4f408e['filter'])(_0x3c14e4=>_0x3c14e4['type']===_0x2a6e7e[_0x6cfbd2(0x30a)][_0x6cfbd2(0x2fa)]),(0x0,_0x4f408e[_0x6cfbd2(0x365)])(0x10))[_0x6cfbd2(0x116)](()=>{const _0xf1c1f8=_0x6cfbd2;this[_0xf1c1f8(0x16e)]();}));}};_0x5f4219=_0x56d489([_0x235e3a(0x1,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x24609f['DocSkeletonManagerService'])),_0x235e3a(0x2,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x5e94f1)),_0x235e3a(0x3,_0x379e5f[_0x4a9a20(0x1f8)]),_0x235e3a(0x4,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x379e5f[_0x4a9a20(0x14b)]))],_0x5f4219);var _0x1e3c7b=class extends _0x2a6e7e['Shape']{constructor(_0x1328bd,_0x4da89f){const _0x5bfae6=_0x4a9a20;super(_0x1328bd,_0x4da89f),_0x477ff4(this,_0x5bfae6(0x1b7),void 0x0),_0x477ff4(this,'_hovered',!0x1),_0x477ff4(this,'_range',void 0x0),_0x477ff4(this,_0x5bfae6(0x14c),''),_0x477ff4(this,_0x5bfae6(0x1bf),_0x5bfae6(0x150)),_0x477ff4(this,_0x5bfae6(0x1f4),void 0x0),_0x477ff4(this,'_showText',void 0x0),_0x477ff4(this,'_highlight',void 0x0),_0x477ff4(this,_0x5bfae6(0x24c),0x4),_0x477ff4(this,'_blinkTimer',void 0x0),_0x477ff4(this,_0x5bfae6(0x1c5),void 0x0),_0x477ff4(this,_0x5bfae6(0x26e),!0x0),_0x477ff4(this,_0x5bfae6(0x1d5),0x0),_0x477ff4(this,_0x5bfae6(0x27c),_0x5bfae6(0x30f)),_0x4da89f&&(this['setShapeProps'](_0x4da89f),_0x4da89f[_0x5bfae6(0x235)]&&(_0x4da89f[_0x5bfae6(0x306)]??this[_0x5bfae6(0x24c)])&&this[_0x5bfae6(0x2b5)](_0x4da89f[_0x5bfae6(0x306)]??this['_highlightSecond'])),this[_0x5bfae6(0x131)][_0x5bfae6(0x29d)](()=>this[_0x5bfae6(0x1ab)]({'hovered':!0x0})),this[_0x5bfae6(0x167)][_0x5bfae6(0x29d)](()=>this[_0x5bfae6(0x1ab)]({'hovered':!0x1}));}['setOffsetY'](_0x1e7aa7){const _0x2a0d=_0x4a9a20;this[_0x2a0d(0x1d5)]=_0x1e7aa7;}['setShapeProps'](_0x42e308){const _0xef97cc=_0x4a9a20;this[_0xef97cc(0x1b7)]=_0x42e308[_0xef97cc(0x179)]??this['_color'],this[_0xef97cc(0x1c2)]=_0x42e308['hovered']??this[_0xef97cc(0x1c2)],this[_0xef97cc(0x118)]=_0x42e308[_0xef97cc(0x3b0)]??this['_range'],this[_0xef97cc(0x14c)]=_0x42e308['name']??this[_0xef97cc(0x14c)],this[_0xef97cc(0x1bf)]=_0x42e308[_0xef97cc(0x304)]??this[_0xef97cc(0x1bf)],this['_backgroundColor']=_0x42e308['backgroundColor']??this['_backgroundColor'],this[_0xef97cc(0x282)]=_0x42e308[_0xef97cc(0x352)]??this[_0xef97cc(0x282)],this['_labelHorizontalPosition']=_0x42e308[_0xef97cc(0xce)]??this[_0xef97cc(0x27c)],_0x42e308['highlightSecond']!==void 0x0&&(this[_0xef97cc(0x24c)]=_0x42e308[_0xef97cc(0x306)]),_0x42e308[_0xef97cc(0x235)]!==void 0x0&&(this[_0xef97cc(0xa7)]=_0x42e308['highlight']),_0x42e308[_0xef97cc(0x34f)]!==void 0x0&&(this[_0xef97cc(0x1d5)]=_0x42e308[_0xef97cc(0x34f)]),this[_0xef97cc(0xab)]({'width':_0x42e308[_0xef97cc(0x1ee)],'height':_0x42e308['height']});}['onMouseMove'](_0x405480){const _0x12e5dc=_0x4a9a20;let {row:_0x2ce238,column:_0x1c242e}=_0x405480;if(_0x2ce238>=this[_0x12e5dc(0x118)][_0x12e5dc(0x28e)]&&_0x2ce238<=this[_0x12e5dc(0x118)][_0x12e5dc(0xb2)]&&_0x1c242e>=this[_0x12e5dc(0x118)]['startColumn']&&_0x1c242e<=this[_0x12e5dc(0x118)][_0x12e5dc(0x1f1)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x12e5dc(0x1ab)]({'hovered':!0x1});}[_0x4a9a20(0x2b5)](_0x1c0705){const _0x139fb8=_0x4a9a20;this['_stopBlinking'](),this[_0x139fb8(0x26e)]=!0x0,this[_0x139fb8(0x1c5)]=window[_0x139fb8(0x186)](()=>{const _0x45e3a9=_0x139fb8;this[_0x45e3a9(0x26e)]=!this[_0x45e3a9(0x26e)],this[_0x45e3a9(0x362)](!0x0);},0x1f4),this['_blinkTimer']=window['setTimeout'](()=>{const _0x138e8e=_0x139fb8;this[_0x138e8e(0x33d)](),this[_0x138e8e(0x26e)]=!0x0,this[_0x138e8e(0x362)](!0x0);},_0x1c0705*0x3e8);}[_0x4a9a20(0x33d)](){const _0x2bd95c=_0x4a9a20;this[_0x2bd95c(0x1c5)]&&=(window[_0x2bd95c(0x19b)](this[_0x2bd95c(0x1c5)]),void 0x0),this[_0x2bd95c(0x11b)]&&=(window[_0x2bd95c(0x376)](this[_0x2bd95c(0x11b)]),void 0x0);}[_0x4a9a20(0x102)](_0x2339d3){return!0x1;}['dispose'](){const _0x1504fa=_0x4a9a20;this[_0x1504fa(0x33d)](),super[_0x1504fa(0x274)]();}[_0x4a9a20(0x2f0)](_0x15943e){const _0x216118=_0x4a9a20;let _0x98d5a6=this[_0x216118(0x1b7)],_0x30474c=this['_backgroundColor'];if(this[_0x216118(0xa7)]&&!this[_0x216118(0x26e)]&&(_0x98d5a6=this['_getLighterColor'](this[_0x216118(0x1b7)]),_0x30474c=this[_0x216118(0x1f4)]?this[_0x216118(0x18e)](this[_0x216118(0x1f4)]):void 0x0),_0x2a6e7e[_0x216118(0x190)][_0x216118(0x18b)](_0x15943e,{'width':this[_0x216118(0x1ee)],'height':this[_0x216118(0x10d)],'strokeWidth':this[_0x216118(0x3cb)]||1.5,'stroke':_0x98d5a6,'evented':!0x1,'fill':_0x30474c}),this[_0x216118(0x1c2)]||this['_showText']){_0x15943e['save']();let _0x302971=this[_0x216118(0x27c)]==='left'?-_0x52f56f(_0x15943e,this[_0x216118(0x14c)]):this['width'];_0x15943e[_0x216118(0x1f5)](0x1,0x0,0x0,0x1,_0x302971,(this[_0x216118(0x1bf)]===_0x216118(0x1ba)?0x0:-0x14)+(this[_0x216118(0x1d5)]??0x0)),_0x4b2645['drawWith'](_0x15943e,{'text':this[_0x216118(0x14c)],'color':_0x98d5a6}),_0x15943e[_0x216118(0x1d2)]();}}[_0x4a9a20(0x18e)](_0x328f4d){const _0x3e53a9=_0x4a9a20;return _0x328f4d[_0x3e53a9(0xc5)]('#')?'rgba('+Number[_0x3e53a9(0x12e)](_0x328f4d[_0x3e53a9(0xe0)](0x1,0x3),0x10)+',\x20'+Number['parseInt'](_0x328f4d['slice'](0x3,0x5),0x10)+',\x20'+Number[_0x3e53a9(0x12e)](_0x328f4d[_0x3e53a9(0xe0)](0x5,0x7),0x10)+_0x3e53a9(0xfd):_0x328f4d[_0x3e53a9(0xc5)](_0x3e53a9(0x107))?_0x328f4d[_0x3e53a9(0x112)](/[\d.]+\)$/g,'0.2)'):_0x328f4d[_0x3e53a9(0xc5)](_0x3e53a9(0x2c9))?_0x328f4d[_0x3e53a9(0x112)](_0x3e53a9(0x2c9),_0x3e53a9(0x107))['replace'](')',_0x3e53a9(0xfd)):_0x328f4d;}};let _0x146b13=class extends _0x379e5f['RxDisposable']{constructor(_0x569f7b,_0x1b4e9c,_0x206e6f,_0x309bf9){const _0x22f3d9=_0x4a9a20;super(),this[_0x22f3d9(0x91)]=_0x569f7b,this[_0x22f3d9(0x37e)]=_0x1b4e9c,this['_collabCursorController']=_0x206e6f,this[_0x22f3d9(0x2f5)]=_0x309bf9,_0x477ff4(this,_0x22f3d9(0x321),new Set()),_0x477ff4(this,_0x22f3d9(0x331),null),_0x477ff4(this,_0x22f3d9(0x38b),null),this[_0x22f3d9(0x246)]();}[_0x4a9a20(0x246)](){const _0x2b2b63=_0x4a9a20;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x2b2b63(0x220)]((0x0,_0x4f408e[_0x2b2b63(0x3be)])(this[_0x2b2b63(0x39b)]),(0x0,_0x4f408e[_0x2b2b63(0xd3)])(_0x2cbadc=>{const _0x42cd77=_0x2b2b63;if(_0x2cbadc){let _0x59e09a=_0x2cbadc[_0x42cd77(0x2cb)];return(0x0,_0x29b66c[_0x42cd77(0x2cf)])(this[_0x42cd77(0x31f)][_0x42cd77(0x3c4)](this[_0x42cd77(0x91)][_0x42cd77(0x32a)]),this['_themeService'][_0x42cd77(0x1b5)])[_0x42cd77(0x220)]((0x0,_0x4f408e[_0x42cd77(0x15d)])(([_0x491e99,_0x397481])=>{const _0x18d8ca=_0x42cd77;let _0x104f3a=new Map();return _0x491e99[_0x18d8ca(0xad)]((_0x9af8d5,_0x257d7b)=>{const _0x45f661=_0x18d8ca;if(_0x9af8d5[_0x45f661(0x12c)]===_0x59e09a){let _0x1688ef={..._0x9af8d5};_0x1688ef[_0x45f661(0x179)]=this[_0x45f661(0x2f5)][_0x45f661(0x2e0)](_0x9af8d5[_0x45f661(0x179)]),_0x104f3a[_0x45f661(0x25f)](_0x257d7b,_0x1688ef);}}),{'skeleton':_0x2cbadc,'cursors':_0x104f3a};}));}return(0x0,_0x29b66c['of'])({'skeleton':null,'cursors':new Map()});}))[_0x2b2b63(0x116)](({skeleton:_0x2ae637,cursors:_0x2ae6fc})=>{const _0x3ec4df=_0x2b2b63;this[_0x3ec4df(0x1b9)](),_0x2ae637&&this[_0x3ec4df(0x2e6)](_0x2ae637,_0x2ae6fc);}),this['disposeWithMe'](this[_0x2b2b63(0x37e)][_0x2b2b63(0x19c)]['pipe']((0x0,_0x4f408e[_0x2b2b63(0x3be)])(this[_0x2b2b63(0x39b)]))['subscribe'](_0x31ecb5=>{const _0x4b719b=_0x2b2b63;var _0xd6e136;if(_0x31ecb5==null)return;(_0xd6e136=this[_0x4b719b(0x38b)])==null||_0xd6e136['unsubscribe'](),this[_0x4b719b(0x38b)]=null;let {skeleton:_0x2bfc6d}=_0x31ecb5,{scene:_0x1fcd48}=this['_context'];this['_pointerMoveDisposable']=_0x1fcd48[_0x4b719b(0x1e7)][_0x4b719b(0x29d)]((0x0,_0x379e5f['debounce'])(_0x2d57c6=>{const _0x2f7c3d=_0x4b719b;var _0x47b93d,_0x3d9a8c;let {offsetX:_0x5d989d,offsetY:_0x457090}=_0x2d57c6,{x:_0x41d8a0,y:_0x2b66f9}=_0x1fcd48[_0x2f7c3d(0x2ba)](_0x2a6e7e['Vector2'][_0x2f7c3d(0xc9)]([_0x5d989d,_0x457090])),{scaleX:_0x2b0061,scaleY:_0x111e17}=_0x1fcd48['getAncestorScale'](),_0x2dcb50=_0x1fcd48[_0x2f7c3d(0x242)](_0x2a6e7e['SHEET_VIEWPORT_KEY'][_0x2f7c3d(0xf5)]),_0x510c10=_0x1fcd48[_0x2f7c3d(0x8a)](_0x2a6e7e[_0x2f7c3d(0x2ad)][_0x2f7c3d(0xc9)]([_0x41d8a0,_0x2b66f9]),_0x2dcb50),_0x37c086=_0x2bfc6d[_0x2f7c3d(0x166)](_0x5d989d,_0x457090,_0x2b0061,_0x111e17,_0x510c10);(((_0x47b93d=this[_0x2f7c3d(0x331)])==null?void 0x0:_0x47b93d[_0x2f7c3d(0xe5)])!==_0x37c086[_0x2f7c3d(0xe5)]||((_0x3d9a8c=this['_lastPointer'])==null?void 0x0:_0x3d9a8c[_0x2f7c3d(0x122)])!==_0x37c086[_0x2f7c3d(0x122)])&&this[_0x2f7c3d(0x321)][_0x2f7c3d(0xad)](_0x540ac1=>{const _0x37a3dc=_0x2f7c3d;_0x540ac1[_0x37a3dc(0x110)](_0x37c086);});},0x64));})),this[_0x2b2b63(0x345)]((0x0,_0x379e5f[_0x2b2b63(0x1e5)])(()=>{const _0x477810=_0x2b2b63;var _0x292e9c;(_0x292e9c=this['_pointerMoveDisposable'])==null||_0x292e9c[_0x477810(0x2db)](),this['_pointerMoveDisposable']=null;}));}[_0x4a9a20(0x2e6)](_0xfbbecd,_0x4685c3){const _0x341ee2=_0x4a9a20;let _0x66c75d=this[_0x341ee2(0x37e)][_0x341ee2(0x296)]();if(!_0x66c75d)return;let _0x35d3d8=this['_getSheetObject']();if(!_0x35d3d8)return;this[_0x341ee2(0x321)]['forEach'](_0x59263e=>{_0x59263e['makeDirty']();});let {scene:_0x293f40}=_0x35d3d8,_0x4a3561=_0x2209ab(Array['from'](_0x4685c3[_0x341ee2(0x33f)]()))['map'](_0x163fca=>{const _0x57bd59=_0x341ee2;let {color:_0xa0748a,range:_0x2f4a9d,name:_0x4ad3ec,selection:_0x3143e5,sheetID:_0x346644}=_0x163fca,{startColumn:_0x2b5c13,startRow:_0x3d19cc,endColumn:_0x1ae958,endRow:_0x5836da}=_0x2f4a9d,_0x34391d=(0x0,_0x1bf872[_0x57bd59(0x21f)])(_0x3d19cc,_0x2b5c13,_0x293f40,_0x66c75d),_0xf817ff=(0x0,_0x1bf872[_0x57bd59(0x21f)])(_0x5836da,_0x1ae958,_0x293f40,_0x66c75d),{columnHeaderHeightAndMarginTop:_0x49eea3}=_0x66c75d,{startX:_0x38e6a1,startY:_0xce6819}=_0x34391d,{endX:_0xae95ae,endY:_0x5c0375}=_0xf817ff,_0x38ddfb=_0xae95ae-_0x38e6a1,_0x424186=_0x5c0375-_0xce6819;return new _0x1e3c7b(_0x4ad3ec,{'labelPosition':_0xce6819-_0x49eea3>=0x14?'top':_0x57bd59(0x1ba),'sheetID':_0x346644,'range':_0x2f4a9d,'color':_0xa0748a,'name':_0x4ad3ec,'selection':_0x3143e5,'left':_0x38e6a1,'top':_0xce6819,'width':_0x38ddfb,'height':_0x424186,'evented':!0x1,'zIndex':0x1389});});_0x293f40[_0x341ee2(0x2f6)](_0x4a3561,0x1),this['_cursors']=new Set(_0x4a3561);}[_0x4a9a20(0x1b9)](){const _0xf58b3a=_0x4a9a20;var _0x4db9a9;(_0x4db9a9=this[_0xf58b3a(0x321)])==null||_0x4db9a9['forEach'](_0x1f3b3a=>_0x1f3b3a['dispose']());}[_0x4a9a20(0x392)](){const _0x37e200=_0x4a9a20;return(0x0,_0x1bf872[_0x37e200(0x231)])(this['_context'][_0x37e200(0x108)],this[_0x37e200(0x91)]);}};_0x146b13=_0x56d489([_0x235e3a(0x1,(0x0,_0x379e5f['Inject'])(_0x1bf872[_0x4a9a20(0x1b8)])),_0x235e3a(0x2,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x5e94f1)),_0x235e3a(0x3,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x379e5f['ThemeService']))],_0x146b13);function _0x2209ab(_0x29604e){const _0x21d31c=_0x4a9a20;let _0x5e0abf=new Map();return _0x29604e[_0x21d31c(0xad)](_0x5d01fe=>{const _0x53ffe2=_0x21d31c;if(_0x5e0abf[_0x53ffe2(0x192)](_0x5d01fe['selection'])){let _0x3fc373=_0x5e0abf[_0x53ffe2(0x3c7)](_0x5d01fe[_0x53ffe2(0x24e)]);_0x3fc373[_0x53ffe2(0x3ad)]+=',\x20'+_0x5d01fe[_0x53ffe2(0x3ad)];}else _0x5e0abf[_0x53ffe2(0x25f)](_0x5d01fe[_0x53ffe2(0x24e)],_0x5d01fe);}),Array[_0x21d31c(0x16f)](_0x5e0abf[_0x21d31c(0x33f)]());}function _0x4004fb(_0x39f377){return typeof _0x39f377=='object'&&!!_0x39f377;}function _0x57136b(_0x3ba0e1){const _0x2b32b3=_0x4a9a20;return _0x3ba0e1[_0x2b32b3(0x9d)]===_0x180ca7['CollaborationEvent'][_0x2b32b3(0x39e)]&&_0x2b32b3(0xbe)in _0x3ba0e1&&_0x4004fb(_0x3ba0e1[_0x2b32b3(0xbe)])&&typeof _0x3ba0e1[_0x2b32b3(0xbe)][_0x2b32b3(0x225)]==_0x2b32b3(0x23f)&&typeof _0x3ba0e1[_0x2b32b3(0xbe)][_0x2b32b3(0x24e)]=='string';}function _0x4f648a(_0x1c50f1){const _0xf79819=_0x4a9a20;return _0x1c50f1[_0xf79819(0x9d)]===_0x180ca7[_0xf79819(0x22b)][_0xf79819(0x3b1)]&&_0xf79819(0xbe)in _0x1c50f1&&_0x4004fb(_0x1c50f1[_0xf79819(0xbe)])&&typeof _0x1c50f1['data'][_0xf79819(0x225)]=='string';}function _0x1d0e09(_0x3b0bcb,_0x1aad54){const _0x1e5965=_0x4a9a20;let _0x1bb613;try{_0x1bb613=JSON[_0x1e5965(0x351)](_0x3b0bcb);}catch{return null;}if(!_0x4004fb(_0x1bb613)||typeof _0x1bb613['kind']!='string'||typeof _0x1bb613[_0x1e5965(0x32a)]!=_0x1e5965(0x23f)||typeof _0x1bb613[_0x1e5965(0x263)]!=_0x1e5965(0x23f))return null;let _0x464e90=typeof _0x1bb613[_0x1e5965(0xc4)]==_0x1e5965(0x1b2)?_0x1bb613[_0x1e5965(0xc4)]:_0x1aad54;if(_0x464e90==null)return null;let _0x187413=_0x4004fb(_0x1bb613[_0x1e5965(0x26d)])&&typeof _0x1bb613[_0x1e5965(0x26d)]['x']==_0x1e5965(0x1b2)&&Number['isFinite'](_0x1bb613[_0x1e5965(0x26d)]['x'])&&typeof _0x1bb613[_0x1e5965(0x26d)]['y']==_0x1e5965(0x1b2)&&Number[_0x1e5965(0x273)](_0x1bb613[_0x1e5965(0x26d)]['y'])?{'x':_0x1bb613[_0x1e5965(0x26d)]['x'],'y':_0x1bb613['pointer']['y']}:null;return{'kind':_0x1bb613[_0x1e5965(0x3b7)],'unitType':_0x464e90,'unitId':_0x1bb613[_0x1e5965(0x32a)],'subUnitId':_0x1bb613['subUnitId'],'selectedIds':Array[_0x1e5965(0x1af)](_0x1bb613[_0x1e5965(0x1e4)])?_0x1bb613[_0x1e5965(0x1e4)][_0x1e5965(0x9a)](_0x3e3cd3=>typeof _0x3e3cd3==_0x1e5965(0x23f)):[],'focusedId':typeof _0x1bb613[_0x1e5965(0x163)]==_0x1e5965(0x23f)?_0x1bb613[_0x1e5965(0x163)]:null,'pointer':_0x187413};}function _0x133d59(_0x3a6194,_0x1299a1,_0x5f10ed){const _0x1645fd=_0x4a9a20;return{'kind':_0x1299a1,'unitType':_0x3a6194,'unitId':_0x5f10ed[_0x1645fd(0x32a)],'subUnitId':_0x5f10ed[_0x1645fd(0x263)],'selectedIds':Array[_0x1645fd(0x16f)](_0x5f10ed[_0x1645fd(0x1e4)]),'focusedId':_0x5f10ed[_0x1645fd(0x163)],'pointer':_0x5f10ed[_0x1645fd(0x26d)]?{..._0x5f10ed[_0x1645fd(0x26d)]}:null};}let _0x38fe33=class extends _0x379e5f['RxDisposable']{constructor(_0x2cf8f3,_0x542227,_0x2ddf1a,_0x556448,_0x1f3a25,_0x159471){const _0x18c286=_0x4a9a20;super(),this['unitId']=_0x2cf8f3,this['_session']=_0x542227,this[_0x18c286(0x2ce)]=_0x2ddf1a,this[_0x18c286(0xfb)]=_0x556448,this[_0x18c286(0x140)]=_0x1f3a25,this[_0x18c286(0x3a1)]=_0x159471,_0x477ff4(this,_0x18c286(0x20f),!0x1),_0x477ff4(this,'_initialized',!0x1);}get[_0x4a9a20(0xc4)](){const _0x536f4a=_0x4a9a20;return this[_0x536f4a(0x2ce)][_0x536f4a(0xc4)];}[_0x4a9a20(0x274)](){this['_clearRemotePresences'](),super['dispose']();}[_0x4a9a20(0xca)](){const _0x9c4f25=_0x4a9a20;this['_initialized']||(this[_0x9c4f25(0xae)]=!0x0,this[_0x9c4f25(0x3d0)][_0x9c4f25(0x165)][_0x9c4f25(0x220)]((0x0,_0x29b66c['takeUntil'])(this['dispose$']))[_0x9c4f25(0x116)](_0x2d0e38=>{const _0x549f28=_0x9c4f25;if(_0x2d0e38===_0x5c5525['SessionStatus'][_0x549f28(0x1ca)]){this[_0x549f28(0x20f)]=!0x0;let _0x1648be=this[_0x549f28(0x2ce)][_0x549f28(0x147)](this[_0x549f28(0x32a)]);_0x1648be&&this[_0x549f28(0x380)](_0x1648be);return;}this[_0x549f28(0x20f)]=!0x1,this[_0x549f28(0x31e)]();}),this[_0x9c4f25(0x3d0)][_0x9c4f25(0x149)][_0x9c4f25(0x220)]((0x0,_0x29b66c[_0x9c4f25(0x3be)])(this[_0x9c4f25(0x39b)]))['subscribe'](_0xed9286=>{const _0x18c0b0=_0x9c4f25;_0x57136b(_0xed9286)?this[_0x18c0b0(0x364)](_0xed9286):_0x4f648a(_0xed9286)&&this[_0x18c0b0(0x153)](_0xed9286[_0x18c0b0(0xbe)][_0x18c0b0(0x225)]);}),this[_0x9c4f25(0x2ce)][_0x9c4f25(0x1fb)][_0x9c4f25(0x220)]((0x0,_0x29b66c[_0x9c4f25(0x9a)])(_0x441c4d=>this[_0x9c4f25(0x20f)]&&_0x441c4d[_0x9c4f25(0x32a)]===this['unitId']),(0x0,_0x29b66c[_0x9c4f25(0x35c)])(_0x585f40=>(0x0,_0x29b66c[_0x9c4f25(0x257)])(_0x585f40[_0x9c4f25(0x181)]),{'leading':!0x0,'trailing':!0x0}),(0x0,_0x29b66c['takeUntil'])(this[_0x9c4f25(0x39b)]))['subscribe'](_0x31e779=>this[_0x9c4f25(0x380)](_0x31e779)));}[_0x4a9a20(0x380)](_0x775879){const _0x1ddb28=_0x4a9a20;let _0x30ef4d=this[_0x1ddb28(0x3d0)][_0x1ddb28(0x11f)]();if(!_0x30ef4d||!this[_0x1ddb28(0x20f)])return;let _0x2ae5d6={'eventID':_0x180ca7[_0x1ddb28(0x22b)][_0x1ddb28(0x39e)],'data':{'unitID':this[_0x1ddb28(0x32a)],'memberID':_0x30ef4d,'selection':JSON[_0x1ddb28(0xaf)](_0x133d59(this[_0x1ddb28(0xc4)],this[_0x1ddb28(0x2ce)]['presenceKind'],_0x775879))}};this[_0x1ddb28(0x3d0)]['send'](_0x2ae5d6,this[_0x1ddb28(0x32a)])[_0x1ddb28(0x3af)](()=>void 0x0);}[_0x4a9a20(0x364)](_0x5cfd71){const _0x5ac2f0=_0x4a9a20;let {memberID:_0x37be3c,selection:_0x5a73b9}=_0x5cfd71[_0x5ac2f0(0xbe)];if(_0x37be3c===this[_0x5ac2f0(0x3d0)][_0x5ac2f0(0x11f)]())return;let _0x87cfe=_0x1d0e09(_0x5a73b9,this['unitType']);if(!_0x87cfe||_0x87cfe['kind']!==this[_0x5ac2f0(0x2ce)][_0x5ac2f0(0x126)]||_0x87cfe['unitType']!==this[_0x5ac2f0(0xc4)]||_0x87cfe[_0x5ac2f0(0x32a)]!==this[_0x5ac2f0(0x32a)])return;let _0x2c0d95=this['_memberService']['getMember'](this[_0x5ac2f0(0x32a)],_0x37be3c),_0x51c97f={'unitId':_0x87cfe[_0x5ac2f0(0x32a)],'subUnitId':_0x87cfe[_0x5ac2f0(0x263)],'selectedIds':_0x87cfe[_0x5ac2f0(0x1e4)],'focusedId':_0x87cfe['focusedId'],'pointer':_0x87cfe[_0x5ac2f0(0x26d)],'memberId':_0x37be3c,'color':this[_0x5ac2f0(0xfb)][_0x5ac2f0(0x3cf)](_0x37be3c),'name':(_0x2c0d95==null?void 0x0:_0x2c0d95['name'])??_0x37be3c};this[_0x5ac2f0(0x3a1)]['executeCommand'](_0x9de98b['id'],{'unitType':this[_0x5ac2f0(0xc4)],'update':{'type':'set','state':_0x51c97f}})[_0x5ac2f0(0x3af)](()=>void 0x0);}['_removeRemotePresence'](_0x4537f2){const _0xfe0c07=_0x4a9a20;this['_commandService']['executeCommand'](_0x9de98b['id'],{'unitType':this['unitType'],'update':{'type':_0xfe0c07(0x1d9),'unitId':this[_0xfe0c07(0x32a)],'memberId':_0x4537f2}})[_0xfe0c07(0x3af)](()=>void 0x0);}['_clearRemotePresences'](){const _0x1fb507=_0x4a9a20;this[_0x1fb507(0x3a1)][_0x1fb507(0x31d)](_0x9de98b['id'],{'unitType':this['unitType'],'update':{'type':_0x1fb507(0x96),'unitId':this[_0x1fb507(0x32a)]}})[_0x1fb507(0x3af)](()=>void 0x0);}};_0x38fe33=_0x56d489([_0x235e3a(0x3,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x47ec3a)),_0x235e3a(0x4,(0x0,_0x379e5f['Inject'])(_0x5c5525['MemberService'])),_0x235e3a(0x5,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x379e5f['ICommandService']))],_0x38fe33);let _0x458d18=class extends _0x379e5f[_0x4a9a20(0x1c0)]{constructor(_0x1f6e90,_0x54df9a,_0x1c054f,_0x265954){const _0x100b53=_0x4a9a20;super(),this[_0x100b53(0xe3)]=_0x1f6e90,this[_0x100b53(0xa3)]=_0x54df9a,this['_collabSessionService']=_0x1c054f,this['_adapterRegistry']=_0x265954,_0x477ff4(this,_0x100b53(0x183),!0x1),_0x477ff4(this,_0x100b53(0x30b),new Map()),_0x477ff4(this,'_pendingEntities',new Map()),_0x477ff4(this,_0x100b53(0x3dd),new Map()),this[_0x100b53(0x246)]();}[_0x4a9a20(0x274)](){const _0x2f1d53=_0x4a9a20;this[_0x2f1d53(0x183)]=!0x0,this[_0x2f1d53(0x3dd)][_0x2f1d53(0xad)](_0x5377e0=>_0x5377e0[_0x2f1d53(0x274)]()),this[_0x2f1d53(0x3dd)][_0x2f1d53(0x96)](),this[_0x2f1d53(0x30b)]['forEach'](_0x41a2a7=>_0x41a2a7['dispose']()),this[_0x2f1d53(0x30b)][_0x2f1d53(0x96)](),this['_pendingEntities'][_0x2f1d53(0x96)](),super[_0x2f1d53(0x274)]();}[_0x4a9a20(0x246)](){const _0x3b74b0=_0x4a9a20;this['_adapterRegistry']['adapters$'][_0x3b74b0(0x220)]((0x0,_0x29b66c[_0x3b74b0(0x3be)])(this['dispose$']))[_0x3b74b0(0x116)](_0x420032=>this['_syncAdapters'](_0x420032));}[_0x4a9a20(0x37a)](_0x392851){const _0x18819f=_0x4a9a20;let _0x63ad34=new Set(_0x392851[_0x18819f(0x15d)](_0x1192f1=>_0x1192f1['unitType']));this[_0x18819f(0x3dd)][_0x18819f(0xad)]((_0x359124,_0x522467)=>{const _0x3f3ce9=_0x18819f;_0x63ad34[_0x3f3ce9(0x192)](_0x522467)||(_0x359124['dispose'](),this[_0x3f3ce9(0x3dd)][_0x3f3ce9(0xd0)](_0x522467),this['_disposeEntitiesForType'](_0x522467));}),_0x392851[_0x18819f(0xad)](_0x1438c1=>{const _0x1f5f8d=_0x18819f;this[_0x1f5f8d(0x3dd)][_0x1f5f8d(0x192)](_0x1438c1[_0x1f5f8d(0xc4)])||this['_bindAdapter'](_0x1438c1);});}[_0x4a9a20(0x218)](_0x5e3e06){const _0x4623f9=_0x4a9a20;let _0x425ecc=new _0x379e5f[(_0x4623f9(0x357))]();this['_adapterDisposables'][_0x4623f9(0x25f)](_0x5e3e06[_0x4623f9(0xc4)],_0x425ecc),_0x425ecc[_0x4623f9(0x2a3)](_0x5e3e06['activate']()),this[_0x4623f9(0xe3)][_0x4623f9(0x292)](_0x5e3e06[_0x4623f9(0xc4)])[_0x4623f9(0xad)](_0x427058=>this['_startEntity'](_0x427058[_0x4623f9(0x2c3)](),_0x5e3e06)[_0x4623f9(0x3af)](()=>void 0x0));let _0xc032be=this[_0x4623f9(0xe3)][_0x4623f9(0x23b)](_0x5e3e06[_0x4623f9(0xc4)])[_0x4623f9(0x116)](({unit:_0x2124a2})=>this[_0x4623f9(0x2ed)](_0x2124a2[_0x4623f9(0x2c3)](),_0x5e3e06)['catch'](()=>void 0x0));_0x425ecc[_0x4623f9(0x2a3)]((0x0,_0x379e5f[_0x4623f9(0x1e5)])(()=>_0xc032be[_0x4623f9(0x2db)]()));let _0x5f3e85=this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x5e3e06[_0x4623f9(0xc4)])[_0x4623f9(0x116)](_0x54254f=>this[_0x4623f9(0x2aa)](_0x54254f[_0x4623f9(0x2c3)]()));_0x425ecc[_0x4623f9(0x2a3)]((0x0,_0x379e5f['toDisposable'])(()=>_0x5f3e85[_0x4623f9(0x2db)]()));}async[_0x4a9a20(0x2ed)](_0x19447d,_0x51d870){const _0xaaf9f0=_0x4a9a20;if(this[_0xaaf9f0(0x30b)]['has'](_0x19447d)||this[_0xaaf9f0(0xd2)][_0xaaf9f0(0x192)](_0x19447d))return;let _0x3a1a51={};this[_0xaaf9f0(0xd2)][_0xaaf9f0(0x25f)](_0x19447d,_0x3a1a51);let _0x5356c2=await this[_0xaaf9f0(0xc8)][_0xaaf9f0(0x121)](_0x19447d)['catch'](_0x348807=>{const _0x1e02f0=_0xaaf9f0;throw this['_pendingEntities'][_0x1e02f0(0x3c7)](_0x19447d)===_0x3a1a51&&this[_0x1e02f0(0xd2)]['delete'](_0x19447d),_0x348807;});if(this[_0xaaf9f0(0x183)]||this[_0xaaf9f0(0xd2)][_0xaaf9f0(0x3c7)](_0x19447d)!==_0x3a1a51||this[_0xaaf9f0(0x2d8)]['get'](_0x51d870['unitType'])!==_0x51d870){this['_pendingEntities'][_0xaaf9f0(0x3c7)](_0x19447d)===_0x3a1a51&&this[_0xaaf9f0(0xd2)][_0xaaf9f0(0xd0)](_0x19447d);return;}let _0xb3e68b=this[_0xaaf9f0(0xa3)][_0xaaf9f0(0x154)](_0x38fe33,_0x19447d,_0x5356c2,_0x51d870);_0xb3e68b['init'](),this['_pendingEntities'][_0xaaf9f0(0xd0)](_0x19447d),this[_0xaaf9f0(0x30b)][_0xaaf9f0(0x25f)](_0x19447d,_0xb3e68b);}['_disposeEntity'](_0x41ef50){const _0x309cd8=_0x4a9a20;this[_0x309cd8(0xd2)]['delete'](_0x41ef50);let _0x5b79e9=this[_0x309cd8(0x30b)][_0x309cd8(0x3c7)](_0x41ef50);_0x5b79e9&&(_0x5b79e9[_0x309cd8(0x274)](),this['_entities'][_0x309cd8(0xd0)](_0x41ef50));}[_0x4a9a20(0x1a7)](_0x20e2b8){const _0x47ccc9=_0x4a9a20;this[_0x47ccc9(0xe3)]['getAllUnitsForType'](_0x20e2b8)['forEach'](_0x207806=>this['_pendingEntities']['delete'](_0x207806['getUnitId']())),Array[_0x47ccc9(0x16f)](this[_0x47ccc9(0x30b)][_0x47ccc9(0x366)]())[_0x47ccc9(0xad)](([_0x2ec790,_0x533566])=>{const _0x3e8e63=_0x47ccc9;_0x533566['unitType']===_0x20e2b8&&this[_0x3e8e63(0x2aa)](_0x2ec790);});}};_0x458d18=_0x56d489([_0x235e3a(0x0,_0x379e5f['IUniverInstanceService']),_0x235e3a(0x1,(0x0,_0x379e5f['Inject'])(_0x379e5f[_0x4a9a20(0x18f)])),_0x235e3a(0x2,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x5c5525[_0x4a9a20(0x267)])),_0x235e3a(0x3,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x191907[_0x4a9a20(0xbd)]))],_0x458d18);let _0x4add48=class extends _0x379e5f['Disposable']{constructor(_0x9bff48,_0x3931f6,_0x224fc6,_0x2c7229,_0x151875,_0x53f8d2){const _0x1d4663=_0x4a9a20;super(),this[_0x1d4663(0x1fe)]=_0x9bff48,this['_localCacheService']=_0x3931f6,this[_0x1d4663(0x94)]=_0x224fc6,this['_messageService']=_0x2c7229,this[_0x1d4663(0x2a0)]=_0x151875,this[_0x1d4663(0x1f6)]=_0x53f8d2,_0x477ff4(this,_0x1d4663(0x2c6),null),_0x477ff4(this,_0x1d4663(0xbf),new Set()),this[_0x1d4663(0x36c)](),this['_initEvent']();}[_0x4a9a20(0x274)](){const _0x6754d=_0x4a9a20;var _0x3a517e;(_0x3a517e=this[_0x6754d(0x2c6)])==null||_0x3a517e[_0x6754d(0x274)](),this[_0x6754d(0x2c6)]=null,super[_0x6754d(0x274)]();}['_setupBeforeClosingHandler'](){const _0x4ea5bb=_0x4a9a20;this[_0x4ea5bb(0x345)](this[_0x4ea5bb(0x1fe)][_0x4ea5bb(0x18d)](()=>{const _0x438e8e=_0x4ea5bb;if(this[_0x438e8e(0xea)][_0x438e8e(0x3a7)]['size'])return this[_0x438e8e(0x1f6)]['t'](_0x438e8e(0x19d));}));}[_0x4a9a20(0x2af)](){const _0x420322=_0x4a9a20;this[_0x420322(0x345)](this['_collaborationUIEventService'][_0x420322(0x149)]['subscribe'](_0x205b55=>{const _0x258b41=_0x420322;_0x205b55['id']===_0x5c5525['CollaborationUIEventId'][_0x258b41(0x1ac)]&&this['_messageService']['show']({'type':_0x51bea6[_0x258b41(0xcb)][_0x258b41(0x343)],'content':this[_0x258b41(0x1f6)]['t'](_0x258b41(0x97))}),_0x205b55['id']===_0x5c5525[_0x258b41(0x3d4)][_0x258b41(0x3c9)]&&this['_messageService'][_0x258b41(0x185)]({'type':_0x51bea6['MessageType'][_0x258b41(0x343)],'content':this[_0x258b41(0x1f6)]['t'](_0x258b41(0x219))}),_0x205b55['id']===_0x5c5525[_0x258b41(0x3d4)][_0x258b41(0x14e)]&&this[_0x258b41(0x294)]({'title':this[_0x258b41(0x1f6)]['t'](_0x258b41(0x172)),'content':this[_0x258b41(0x1f6)]['t'](_0x258b41(0x2fe)),'type':_0x258b41(0x1a8),'duration':0x1/0x0,'closable':!0x1,'dismissible':!0x1,'action':{'label':this[_0x258b41(0x1f6)]['t'](_0x258b41(0x311)),'onClick':_0xccecc0=>{const _0x4c8a58=_0x258b41;_0xccecc0[_0x4c8a58(0x161)](),window['location']['reload']();}}}),_0x205b55['id']===_0x5c5525['CollaborationUIEventId'][_0x258b41(0x3d8)]&&this[_0x258b41(0x2c0)](),_0x205b55['id']===_0x5c5525[_0x258b41(0x3d4)][_0x258b41(0x230)]&&_0x205b55['unitID']&&this[_0x258b41(0x198)](_0x205b55[_0x258b41(0xdd)]),_0x205b55['id']===_0x5c5525[_0x258b41(0x3d4)][_0x258b41(0x313)]&&this[_0x258b41(0x294)]({'title':this['_localeService']['t']('collaboration-client-ui.conflict.title'),'content':this['_localeService']['t']('collaboration-client-ui.conflict.content'),'type':'error','duration':0x1/0x0,'closable':!0x1,'dismissible':!0x1,'action':{'label':this[_0x258b41(0x1f6)]['t']('collaboration-client-ui.snapshotLoading.refresh'),'onClick':_0x5e1741=>{const _0x390869=_0x258b41;_0x5e1741[_0x390869(0x161)](),window[_0x390869(0x36d)][_0x390869(0x38f)]();}}}),_0x205b55['id']===_0x5c5525[_0x258b41(0x3d4)][_0x258b41(0x24a)]&&this['_messageService']['show']({'type':_0x51bea6[_0x258b41(0xcb)][_0x258b41(0x343)],'content':this[_0x258b41(0x1f6)]['t'](_0x205b55['data']||'')}),_0x205b55['id']===_0x5c5525[_0x258b41(0x3d4)]['SOCKET_FAILED_RETRY']&&this[_0x258b41(0x2a2)][_0x258b41(0x185)]({'type':_0x51bea6[_0x258b41(0xcb)][_0x258b41(0x343)],'content':this['_localeService']['t'](_0x258b41(0x1e1))}),_0x205b55['id']===_0x5c5525[_0x258b41(0x3d4)][_0x258b41(0x93)]&&this['_messageService'][_0x258b41(0x185)]({'type':_0x51bea6[_0x258b41(0xcb)][_0x258b41(0x358)],'content':this[_0x258b41(0x1f6)]['t']('collaboration-client-ui.session.connection-failed')}),_0x205b55['id']===_0x5c5525['CollaborationUIEventId']['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x258b41(0x2a2)][_0x258b41(0x185)]({'type':_0x51bea6[_0x258b41(0xcb)][_0x258b41(0x358)],'content':this[_0x258b41(0x1f6)]['t']('collaboration-client-ui.session.collaboration-timeout')});}));}[_0x4a9a20(0x2c0)](){const _0xf5ec86=_0x4a9a20;this[_0xf5ec86(0x294)]({'title':this[_0xf5ec86(0x1f6)]['t'](_0xf5ec86(0x2d1)),'content':this['_localeService']['t'](_0xf5ec86(0x2b1)),'type':'loading','duration':0x1/0x0,'closable':!0x1,'dismissible':!0x1});}['_showConflictCacheClearFailedNotification'](_0x19efe7){const _0x53f2cf=_0x4a9a20;this['_replaceConflictNotification']({'title':this[_0x53f2cf(0x1f6)]['t'](_0x53f2cf(0x2d1)),'content':this['_localeService']['t'](_0x53f2cf(0xe2)),'type':'error','duration':0x1/0x0,'closable':!0x1,'dismissible':!0x1,'action':{'label':this[_0x53f2cf(0x1f6)]['t']('collaboration-client-ui.conflict.retry'),'onClick':_0x116e20=>{const _0x3f618b=_0x53f2cf;_0x116e20[_0x3f618b(0x161)](),this[_0x3f618b(0x239)](_0x19efe7);}}});}[_0x4a9a20(0x239)](_0x5c482){const _0x4fd3c0=_0x4a9a20;this[_0x4fd3c0(0xbf)][_0x4fd3c0(0x192)](_0x5c482)||(this[_0x4fd3c0(0xbf)][_0x4fd3c0(0x2a3)](_0x5c482),this[_0x4fd3c0(0x2c0)](),this[_0x4fd3c0(0xea)][_0x4fd3c0(0x12d)](_0x5c482)[_0x4fd3c0(0x2ea)](()=>window[_0x4fd3c0(0x36d)][_0x4fd3c0(0x38f)]())[_0x4fd3c0(0x3af)](()=>this[_0x4fd3c0(0x198)](_0x5c482))[_0x4fd3c0(0x339)](()=>this[_0x4fd3c0(0xbf)][_0x4fd3c0(0xd0)](_0x5c482)));}[_0x4a9a20(0x294)](_0x5d0a72){const _0x1b80b0=_0x4a9a20;var _0x1acbcf;(_0x1acbcf=this[_0x1b80b0(0x2c6)])==null||_0x1acbcf[_0x1b80b0(0x274)](),this[_0x1b80b0(0x2c6)]=this['_notificationService'][_0x1b80b0(0x185)](_0x5d0a72);}};_0x4add48=_0x56d489([_0x235e3a(0x0,_0x191907[_0x4a9a20(0x17e)]),_0x235e3a(0x1,_0x5c5525[_0x4a9a20(0x17d)]),_0x235e3a(0x2,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x5c5525[_0x4a9a20(0x276)])),_0x235e3a(0x3,_0x191907[_0x4a9a20(0x3d1)]),_0x235e3a(0x4,_0x191907[_0x4a9a20(0x8c)]),_0x235e3a(0x5,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x379e5f[_0x4a9a20(0x1e0)]))],_0x4add48);let _0x585290=(0x0,_0x379e5f['createIdentifier'])(_0x4a9a20(0x3ab)),_0x10a8c2=class extends _0x379e5f[_0x4a9a20(0x1c0)]{constructor(_0x26211a,_0x425e4d,_0xd94030,_0x57e581){const _0x214cf0=_0x4a9a20;super(),this[_0x214cf0(0x3bd)]=_0x26211a,this[_0x214cf0(0x203)]=_0x425e4d,this['_commandService']=_0xd94030,this['_dataLoaderService']=_0x57e581,this[_0x214cf0(0x246)]()['catch'](_0xcf3b00=>this[_0x214cf0(0x203)][_0x214cf0(0x1a8)](_0x214cf0(0x89),_0xcf3b00));}async[_0x4a9a20(0x246)](){const _0x599f73=_0x4a9a20;let _0x23b5b8=this[_0x599f73(0x3bd)]['getParam'](_0x599f73(0x108)),_0x4f92a0=this[_0x599f73(0x3bd)][_0x599f73(0x16d)]('type'),_0x4a6dda=this[_0x599f73(0x3bd)][_0x599f73(0x16d)](_0x599f73(0x2a5));if(!_0x23b5b8||!_0x4f92a0){this[_0x599f73(0x203)][_0x599f73(0x2b8)](_0x599f73(0x89),_0x599f73(0x176));return;}let _0x1291bc=await this[_0x599f73(0x130)][_0x599f73(0x16b)](_0x23b5b8,Number(_0x4f92a0),_0x4a6dda);this['_disposed']||_0x1291bc&&_0x1291bc instanceof _0x379e5f[_0x599f73(0x227)]&&await this[_0x599f73(0x125)](_0x1291bc);}async['_setupSubUnitSync'](_0x51bf95){const _0x198a23=_0x4a9a20;await this['_updateSubUnitFromURLParams'](_0x51bf95,!0x0),!this[_0x198a23(0x11c)]&&(_0x51bf95[_0x198a23(0xdb)][_0x198a23(0x220)]((0x0,_0x29b66c[_0x198a23(0x3be)])(this[_0x198a23(0x39b)]))[_0x198a23(0x116)](_0x1bb3f9=>{_0x1bb3f9&&this['_updateURLWithCurrentState'](_0x1bb3f9);}),this['_urlService'][_0x198a23(0x212)][_0x198a23(0x220)]((0x0,_0x29b66c[_0x198a23(0x3be)])(this[_0x198a23(0x39b)]))[_0x198a23(0x116)](()=>{const _0x5b76fd=_0x198a23;this[_0x5b76fd(0x129)](_0x51bf95)[_0x5b76fd(0x3af)](_0x174299=>this['_logService'][_0x5b76fd(0x1a8)](_0x5b76fd(0x89),_0x174299));}));}[_0x4a9a20(0xc7)](_0x11300b,_0x63c6d7=!0x1){const _0x3ee816=_0x4a9a20;let _0x38229e=this['_urlService']['getParam'](_0x3ee816(0x2a5));_0x11300b[_0x3ee816(0x35a)]()!==_0x38229e&&this[_0x3ee816(0x3bd)][_0x3ee816(0x15e)]('subunit',_0x11300b[_0x3ee816(0x35a)](),_0x63c6d7);}async['_updateSubUnitFromURLParams'](_0x3d30a9,_0x56a547=!0x1){const _0x46a1fc=_0x4a9a20;var _0x5c0414;let _0x294e64=this[_0x46a1fc(0x3bd)][_0x46a1fc(0x16d)](_0x46a1fc(0x2a5));if(!_0x294e64||!_0x3d30a9[_0x46a1fc(0x13d)](_0x294e64)){let _0x56bfd6=_0x3d30a9['getUnhiddenWorksheets']()[0x0],_0x36abef=_0x3d30a9[_0x46a1fc(0x13d)](_0x56bfd6);if(!_0x36abef||(this['_updateURLWithCurrentState'](_0x36abef,!0x0),this[_0x46a1fc(0x11c)]))return;await this[_0x46a1fc(0x3a1)][_0x46a1fc(0x31d)](_0x1f89be[_0x46a1fc(0x1fa)]['id'],{'unitId':_0x3d30a9[_0x46a1fc(0x2c3)](),'subUnitId':_0x56bfd6});return;}(_0x56a547||((_0x5c0414=_0x3d30a9[_0x46a1fc(0x1b3)]())==null?void 0x0:_0x5c0414[_0x46a1fc(0x35a)]())!==_0x294e64)&&await this[_0x46a1fc(0x3a1)][_0x46a1fc(0x31d)](_0x1f89be[_0x46a1fc(0x1fa)]['id'],{'unitId':_0x3d30a9[_0x46a1fc(0x2c3)](),'subUnitId':_0x294e64});}};_0x10a8c2=_0x56d489([_0x235e3a(0x0,_0x585290),_0x235e3a(0x1,_0x379e5f[_0x4a9a20(0x2f1)]),_0x235e3a(0x2,_0x379e5f['ICommandService']),_0x235e3a(0x3,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x5c5525[_0x4a9a20(0xb4)]))],_0x10a8c2);let _0x39070c=class{constructor(_0x459f6c,_0x2cbc3d){const _0x49b7c4=_0x4a9a20;this[_0x49b7c4(0xf2)]=_0x459f6c,this[_0x49b7c4(0x373)]=_0x2cbc3d;}[_0x4a9a20(0x2be)](_0xacdaad){const _0x1e52ec=_0x4a9a20;this[_0x1e52ec(0x1b0)](_0xacdaad),this[_0x1e52ec(0x277)](_0xacdaad);}[_0x4a9a20(0x1f3)](_0x2565fa){const _0x369eb2=_0x4a9a20;let {unitID:_0x41f638}=_0x2565fa,{redoCache:_0x53153e}=this[_0x369eb2(0x373)][_0x369eb2(0x298)](_0x41f638)[_0x369eb2(0x253)](_0x12bff4[_0x369eb2(0x332)])[_0x369eb2(0x2c8)]();if(_0x53153e[_0x369eb2(0x103)]===0x0)return _0x2565fa;let _0x476c54=_0x379e5f['Tools'][_0x369eb2(0x272)](_0x2565fa[_0x369eb2(0x215)][0x0]);for(let _0xec7952=0x0;_0xec7952<_0x53153e[_0x369eb2(0x103)];_0xec7952++){let _0xc04602={'id':'doc.mutation.rich-text-editing','params':{..._0x53153e[_0xec7952]}},_0x46a785=this['_transformService'][_0x369eb2(0x2bf)](_0x476c54,_0xc04602,!0x1);if((0x0,_0x180ca7[_0x369eb2(0x1cb)])(_0x46a785))throw _0x46a785['error'];_0x476c54=_0x46a785[_0x369eb2(0x1da)];}return{..._0x379e5f['Tools']['deepClone'](_0x2565fa),'mutations':[_0x476c54]};}[_0x4a9a20(0x1b0)](_0x4ec098){const _0x273ed3=_0x4a9a20;let {unitID:_0x45739d}=_0x4ec098,_0xea86fd=this[_0x273ed3(0x373)][_0x273ed3(0x298)](_0x45739d)[_0x273ed3(0x253)](_0x12bff4[_0x273ed3(0x332)]),{undoCache:_0x413951,redoCache:_0x218506}=_0xea86fd[_0x273ed3(0x2c8)]();if(_0x413951['length']===0x0||_0x218506[_0x273ed3(0x103)]===0x0)return;let _0x34f37b=[],_0x45aa01=[],_0x14e2c8=_0x379e5f['Tools'][_0x273ed3(0x272)](_0x4ec098[_0x273ed3(0x215)][0x0]),_0x477a39=_0x379e5f['Tools'][_0x273ed3(0x272)](_0x4ec098['mutations'][0x0]);for(let _0x3702d2=_0x413951[_0x273ed3(0x103)]-0x1;_0x3702d2>=0x0;_0x3702d2--){let _0x24e50c={'id':_0x273ed3(0x1bc),'params':{..._0x413951[_0x3702d2]}},_0x52ef4c={'id':_0x273ed3(0x1bc),'params':{..._0x218506[_0x3702d2]}},_0x466f7e=this['_transformService'][_0x273ed3(0x2bf)](_0x14e2c8,_0x24e50c,!0x1),_0x5c8d08=this[_0x273ed3(0xf2)][_0x273ed3(0x2bf)](_0x477a39,_0x52ef4c,!0x1);if((0x0,_0x180ca7[_0x273ed3(0x1cb)])(_0x466f7e))throw _0x466f7e[_0x273ed3(0x1a8)];if((0x0,_0x180ca7[_0x273ed3(0x1cb)])(_0x5c8d08))throw _0x5c8d08[_0x273ed3(0x1a8)];_0x34f37b[_0x273ed3(0xe9)](_0x466f7e[_0x273ed3(0x2c7)]['params']),_0x45aa01[_0x273ed3(0xe9)](_0x5c8d08[_0x273ed3(0x2c7)]['params']),_0x14e2c8=_0x466f7e[_0x273ed3(0x1da)],_0x477a39=_0x5c8d08[_0x273ed3(0x1da)];}_0xea86fd[_0x273ed3(0x1cd)]({'undoCache':_0x34f37b,'redoCache':_0x45aa01});}[_0x4a9a20(0x277)](_0x2ed245){const _0x15b054=_0x4a9a20;let {unitID:_0x461ad2}=_0x2ed245,_0x4ba0fb=this[_0x15b054(0x373)]['getRenderUnitById'](_0x461ad2)[_0x15b054(0x253)](_0x12bff4[_0x15b054(0x332)]),_0x2f59f7=_0x4ba0fb[_0x15b054(0x3c0)]();if(_0x2f59f7==null)return;let _0x6e0ea8=[{'id':_0x15b054(0x1bc),'params':{'unitId':_0x2ed245['unitID'],'actions':null,'textRanges':[_0x2f59f7]}}],_0x48e5ef=this[_0x15b054(0xf2)][_0x15b054(0x160)](_0x2ed245,_0x6e0ea8);if(!(0x0,_0x180ca7[_0x15b054(0x391)])(_0x48e5ef))throw _0x48e5ef[_0x15b054(0x1a8)];let _0x174896=_0x48e5ef[_0x15b054(0x2c7)][0x0]['params'][_0x15b054(0x348)];Array[_0x15b054(0x1af)](_0x174896)&&_0x174896[_0x15b054(0x103)]&&_0x4ba0fb['setActiveRange'](_0x174896[0x0]);}};_0x39070c=_0x56d489([_0x235e3a(0x0,_0x180ca7[_0x4a9a20(0x300)]),_0x235e3a(0x1,_0x2a6e7e[_0x4a9a20(0x1ed)])],_0x39070c);let _0x22af92=class{constructor(_0xf8fadb,_0x16b1ee,_0xff91f){const _0x21f501=_0x4a9a20;this[_0x21f501(0xa3)]=_0xf8fadb,this[_0x21f501(0xf2)]=_0x16b1ee,this[_0x21f501(0x26b)]=_0xff91f;}[_0x4a9a20(0x2dd)](_0x48dcef){this['_transformHistoryAndStateStack'](_0x48dcef);}['transformRemoteChangeset'](_0x1751ae){const _0x5c8081=_0x4a9a20;let {unitID:_0x2e06e6}=_0x1751ae,{collaboration:_0x2184a5}=this[_0x5c8081(0x26b)][_0x5c8081(0xb8)](_0x2e06e6);if(_0x2184a5[_0x5c8081(0x103)]===0x0)return _0x1751ae;let _0x3eef59=_0x379e5f[_0x5c8081(0xdf)][_0x5c8081(0x272)](_0x1751ae['mutations'][0x0]);for(let _0x1c0850=0x0;_0x1c0850<_0x2184a5[_0x5c8081(0x103)];_0x1c0850++){let _0x36d6d5={'id':_0x5c8081(0x1bc),'params':{'unitId':_0x2184a5[_0x1c0850]['unitId'],..._0x2184a5[_0x1c0850][_0x5c8081(0xc2)]}},_0xe9288c=this[_0x5c8081(0xf2)][_0x5c8081(0x2bf)](_0x3eef59,_0x36d6d5,!0x1);if((0x0,_0x180ca7['isTransformMutationFailure'])(_0xe9288c))throw _0xe9288c['error'];_0x3eef59=_0xe9288c[_0x5c8081(0x1da)];}return{..._0x379e5f[_0x5c8081(0xdf)][_0x5c8081(0x272)](_0x1751ae),'mutations':[_0x3eef59]};}[_0x4a9a20(0x275)](_0x63e366){const _0x215d77=_0x4a9a20;let {unitID:_0x29d676}=_0x63e366,{history:_0x4a4db3,collaboration:_0x2d994f}=this[_0x215d77(0x26b)]['getStateCache'](_0x29d676);if(_0x4a4db3['length']===0x0&&_0x2d994f[_0x215d77(0x103)]===0x0)return;let _0x5c0ce1=[],_0x30883b=[],_0x3d2bf6=_0x379e5f[_0x215d77(0xdf)]['deepClone'](_0x63e366[_0x215d77(0x215)][0x0]),_0x1a32d5=_0x379e5f['Tools'][_0x215d77(0x272)](_0x63e366['mutations'][0x0]);for(let _0x3b632e=_0x4a4db3[_0x215d77(0x103)]-0x1;_0x3b632e>=0x0;_0x3b632e--){let _0x2b8201={'id':_0x215d77(0x1bc),'params':{'unitId':_0x4a4db3[_0x3b632e][_0x215d77(0x32a)],..._0x4a4db3[_0x3b632e]['undoState']}},_0x300a48={'id':_0x215d77(0x1bc),'params':{'unitId':_0x4a4db3[_0x3b632e]['unitId'],..._0x4a4db3[_0x3b632e][_0x215d77(0xc2)]}},_0x49ac1d=this[_0x215d77(0xf2)][_0x215d77(0x2bf)](_0x3d2bf6,_0x2b8201,!0x1),_0x578c0d=this[_0x215d77(0xf2)]['transformMutation'](_0x1a32d5,_0x300a48,!0x1);if((0x0,_0x180ca7[_0x215d77(0x1cb)])(_0x49ac1d))throw _0x49ac1d[_0x215d77(0x1a8)];if((0x0,_0x180ca7[_0x215d77(0x1cb)])(_0x578c0d))throw _0x578c0d[_0x215d77(0x1a8)];_0x5c0ce1[_0x215d77(0xe9)]({..._0x4a4db3[_0x3b632e],'undoState':_0x49ac1d[_0x215d77(0x2c7)][_0x215d77(0x26f)],'redoState':_0x578c0d[_0x215d77(0x2c7)][_0x215d77(0x26f)]}),_0x3d2bf6=_0x49ac1d[_0x215d77(0x1da)],_0x1a32d5=_0x578c0d[_0x215d77(0x1da)];}_0x3d2bf6=_0x379e5f[_0x215d77(0xdf)]['deepClone'](_0x63e366[_0x215d77(0x215)][0x0]),_0x1a32d5=_0x379e5f[_0x215d77(0xdf)]['deepClone'](_0x63e366[_0x215d77(0x215)][0x0]);for(let _0x7bc7e7=_0x2d994f[_0x215d77(0x103)]-0x1;_0x7bc7e7>=0x0;_0x7bc7e7--){let _0x62a794={'id':_0x215d77(0x1bc),'params':{'unitId':_0x2d994f[_0x7bc7e7][_0x215d77(0x32a)],..._0x2d994f[_0x7bc7e7][_0x215d77(0x384)]}},_0x3a18e7={'id':_0x215d77(0x1bc),'params':{'unitId':_0x2d994f[_0x7bc7e7][_0x215d77(0x32a)],..._0x2d994f[_0x7bc7e7][_0x215d77(0xc2)]}},_0x36947d=this[_0x215d77(0xf2)][_0x215d77(0x2bf)](_0x3d2bf6,_0x62a794,!0x1),_0x49a928=this[_0x215d77(0xf2)]['transformMutation'](_0x1a32d5,_0x3a18e7,!0x1);if((0x0,_0x180ca7[_0x215d77(0x1cb)])(_0x36947d))throw _0x36947d[_0x215d77(0x1a8)];if((0x0,_0x180ca7[_0x215d77(0x1cb)])(_0x49a928))throw _0x49a928[_0x215d77(0x1a8)];_0x30883b[_0x215d77(0xe9)]({..._0x2d994f[_0x7bc7e7],'undoState':_0x36947d[_0x215d77(0x2c7)]['params'],'redoState':_0x49a928[_0x215d77(0x2c7)]['params']}),_0x3d2bf6=_0x36947d[_0x215d77(0x1da)],_0x1a32d5=_0x49a928[_0x215d77(0x1da)];}this['_docStateChangeManagerService'][_0x215d77(0x98)](_0x29d676,{'history':_0x5c0ce1,'collaboration':_0x30883b});}};_0x22af92=_0x56d489([_0x235e3a(0x0,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x379e5f[_0x4a9a20(0x18f)])),_0x235e3a(0x1,_0x180ca7[_0x4a9a20(0x300)]),_0x235e3a(0x2,(0x0,_0x379e5f['Inject'])(_0x24609f['DocStateChangeManagerService']))],_0x22af92);let _0x5c5c58=class{constructor(_0x3a39fd,_0x4f7247){const _0x4e9a0e=_0x4a9a20;this[_0x4e9a0e(0x290)]=_0x3a39fd,this[_0x4e9a0e(0xf2)]=_0x4f7247;}['prepareTransformSelections'](_0xef4f53){const _0x411880=_0x4a9a20;var _0x46e765;let _0x1290dd=this['_docSelectionManagerService'][_0x411880(0x3bb)]()??[],_0x504650=this[_0x411880(0x290)]['getSelectionInfo']();if(_0x1290dd[_0x411880(0x103)]===0x0||_0x504650==null)return null;let _0x4b342d=_0xef4f53[_0x411880(0xdd)],_0x577e48=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4b342d,'actions':null,'textRanges':_0x1290dd}}],_0x18da9f=this[_0x411880(0xf2)][_0x411880(0x160)](_0xef4f53,_0x577e48);if(!(0x0,_0x180ca7[_0x411880(0x391)])(_0x18da9f))throw _0x18da9f[_0x411880(0x1a8)];let _0x24441e=(_0x46e765=_0x18da9f[_0x411880(0x2c7)][0x0])==null?void 0x0:_0x46e765[_0x411880(0x26f)],_0xc920f1=_0x24441e&&typeof _0x24441e=='object'&&_0x411880(0x348)in _0x24441e?_0x24441e[_0x411880(0x348)]:null;if(!_0x37100c(_0xc920f1))return null;let _0x2a27f9=_0x50c217(_0xef4f53[_0x411880(0x215)][_0x411880(0x324)](_0x48bf41=>_0x4ee44f(_0x48bf41[_0x411880(0x26f)]))?_0xc920f1[_0x411880(0x9a)](_0x23430f=>!('tableId'in _0x23430f)):_0xc920f1,{..._0x504650,'options':_0x504650[_0x411880(0x1a0)]?{..._0x504650['options'],'wholeDocument':!0x1}:void 0x0}),_0x30e049={'unitId':_0x4b342d,'subUnitId':_0x4b342d};this[_0x411880(0x290)][_0x411880(0x342)](_0x2a27f9,_0x30e049);let _0x54ab4b=!0x0;return{'commit':()=>{_0x54ab4b=!0x1;},'rollback':()=>{const _0x73ac4=_0x411880;_0x54ab4b&&(_0x54ab4b=!0x1,this[_0x73ac4(0x290)][_0x73ac4(0x342)](_0x504650,_0x30e049));}};}};_0x5c5c58=_0x56d489([_0x235e3a(0x0,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x24609f[_0x4a9a20(0x2d3)])),_0x235e3a(0x1,_0x180ca7[_0x4a9a20(0x300)])],_0x5c5c58);function _0x50c217(_0x2a8d8d,_0x5aeee2){const _0x93fee0=_0x4a9a20;let _0x180294=[],_0x476008=[];for(let _0x6ff5e7 of _0x2a8d8d)_0x586c07(_0x6ff5e7)?_0x476008[_0x93fee0(0x2bd)](_0x6ff5e7):_0x180294[_0x93fee0(0x2bd)](_0x6ff5e7);return{..._0x5aeee2,'textRanges':_0x180294,'rectRanges':_0x476008};}function _0x586c07(_0x53e801){const _0x3963ef=_0x4a9a20;return _0x3963ef(0x33e)in _0x53e801;}function _0x37100c(_0x27f668){const _0x16bbd9=_0x4a9a20;return Array[_0x16bbd9(0x1af)](_0x27f668)&&_0x27f668['every'](_0x4d1a77=>typeof _0x4d1a77=='object'&&!!_0x4d1a77&&_0x16bbd9(0x10e)in _0x4d1a77&&'endOffset'in _0x4d1a77);}function _0x4ee44f(_0x48acf4){const _0x3549a5=_0x4a9a20;return _0x48acf4==='tableSource'?!0x0:Array['isArray'](_0x48acf4)?_0x48acf4[_0x3549a5(0x324)](_0x421469=>_0x4ee44f(_0x421469)):!_0x48acf4||typeof _0x48acf4!=_0x3549a5(0x1e2)?!0x1:Object[_0x3549a5(0x33f)](_0x48acf4)[_0x3549a5(0x324)](_0x5554fa=>_0x4ee44f(_0x5554fa));}let _0x187992=class extends _0x379e5f[_0x4a9a20(0x359)]{constructor(_0x4d9a6c,_0x1e61cc,_0x527893,_0x10c4ea,_0x81ea63,_0x2e2e18,_0x48d1d9){const _0x5683be=_0x4a9a20;super(),this[_0x5683be(0x29c)]=_0x4d9a6c,this[_0x5683be(0x241)]=_0x1e61cc,this['_docTransformStateCacheService']=_0x527893,this['_docTransformSelectionsService']=_0x10c4ea,this[_0x5683be(0x349)]=_0x81ea63,this[_0x5683be(0x2a2)]=_0x2e2e18,this[_0x5683be(0x1f6)]=_0x48d1d9,_0x477ff4(this,_0x5683be(0xa5),new _0x29b66c['BehaviorSubject'](_0x5c5525[_0x5683be(0x307)][_0x5683be(0x361)])),this['_initEntityListener']();}[_0x4a9a20(0x360)](){const _0x2ed21f=_0x4a9a20;this[_0x2ed21f(0x345)](this[_0x2ed21f(0x29c)]['entityInit$'][_0x2ed21f(0x116)](_0x324453=>{const _0x4bbb2f=_0x2ed21f;_0x324453 instanceof _0x5c5525[_0x4bbb2f(0x1d7)]&&_0x324453[_0x4bbb2f(0x1bd)]({'onTransformIME':_0x447d08=>this[_0x4bbb2f(0x241)]['transformIMECache'](_0x447d08),'onTransformState':_0xf04b1e=>this[_0x4bbb2f(0x15c)][_0x4bbb2f(0x2dd)](_0xf04b1e),'onPrepareTransformSelections':_0x346b67=>this[_0x4bbb2f(0x106)][_0x4bbb2f(0x207)](_0x346b67),'onSyncEditingCollabCursor':_0x1e585f=>this[_0x4bbb2f(0x349)][_0x4bbb2f(0x2ca)](_0x1e585f),'onTransformRemoteChangesetByIMECache':_0x1eeae4=>this[_0x4bbb2f(0x241)]['transformRemoteChangeset'](_0x1eeae4),'onTransformRemoteChangesetByStateCache':_0x12b823=>this[_0x4bbb2f(0x15c)][_0x4bbb2f(0x1f3)](_0x12b823)});}));}};_0x187992=_0x56d489([_0x235e3a(0x0,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x5c5525['CollaborationController'])),_0x235e3a(0x1,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x39070c)),_0x235e3a(0x2,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x22af92)),_0x235e3a(0x3,(0x0,_0x379e5f['Inject'])(_0x5c5c58)),_0x235e3a(0x4,(0x0,_0x379e5f['Inject'])(_0x2430ce)),_0x235e3a(0x5,_0x191907[_0x4a9a20(0x3d1)]),_0x235e3a(0x6,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x379e5f['LocaleService']))],_0x187992);let _0x289860=class extends _0x379e5f[_0x4a9a20(0x359)]{constructor(_0x23ba89,_0x6e62ee,_0x52808d,_0x21fd5d){const _0x23417f=_0x4a9a20;super(),this[_0x23417f(0xa3)]=_0x23ba89,this[_0x23417f(0x301)]=_0x6e62ee,this[_0x23417f(0x203)]=_0x52808d,this[_0x23417f(0x124)]=_0x21fd5d,_0x477ff4(this,_0x23417f(0x2d4),void 0x0),this['_init']();}[_0x4a9a20(0x246)](){const _0x435018=_0x4a9a20;this[_0x435018(0x2a9)](),this[_0x435018(0xf8)](),this[_0x435018(0x382)](),this['_initUserListener']();}[_0x4a9a20(0x208)](){const _0xa932f4=_0x4a9a20;this[_0xa932f4(0x345)](this['_collaborationSessionService'][_0xa932f4(0x375)]['subscribe'](_0x44d1f8=>{const _0x33eb19=_0xa932f4;this['_memberID']=_0x44d1f8==null?void 0x0:_0x44d1f8[_0x33eb19(0x225)];}));}['_initWindowErrorListener'](){const _0xbbe37d=_0x4a9a20;let _0x12cdb4=_0x32d64a=>{const _0x41a579=_0x861d;var _0x50ffc2;this['_uploadLog'](_0x41a579(0x1a8),_0x41a579(0x3e2)+_0x32d64a['message']+'\x20at\x20'+_0x32d64a[_0x41a579(0x23a)]+':'+_0x32d64a[_0x41a579(0x117)]+':'+_0x32d64a['colno']+'\x0a'+(((_0x50ffc2=_0x32d64a[_0x41a579(0x1a8)])==null?void 0x0:_0x50ffc2[_0x41a579(0x189)])||''));};window[_0xbbe37d(0x200)](_0xbbe37d(0x1a8),_0x12cdb4),this[_0xbbe37d(0x345)](()=>{const _0x7a5845=_0xbbe37d;window['removeEventListener'](_0x7a5845(0x1a8),_0x12cdb4);});}[_0x4a9a20(0xf8)](){const _0x511439=_0x4a9a20;let _0x39a179=_0x2153db=>{const _0x54b58f=_0x861d;this[_0x54b58f(0x346)](_0x54b58f(0x1a8),_0x54b58f(0x31b)+_0x2153db['reason']);};window[_0x511439(0x200)](_0x511439(0x1d0),_0x39a179),this[_0x511439(0x345)](()=>{const _0x1d700d=_0x511439;window[_0x1d700d(0x353)](_0x1d700d(0x1d0),_0x39a179);});}['_monkeyPatchLogService'](){const _0x3bdaaf=_0x4a9a20;let _0x267834=this[_0x3bdaaf(0x203)]['error'][_0x3bdaaf(0x25e)](this[_0x3bdaaf(0x203)]);this[_0x3bdaaf(0x203)][_0x3bdaaf(0x1a8)]=(..._0x244ecd)=>{const _0x1268a6=_0x3bdaaf;let _0x30aafe=_0x244ecd[_0x1268a6(0x15d)](_0x2b4697=>_0x2b4697 instanceof Error?_0x2b4697['message']+'\x0a'+_0x2b4697['stack']:String(_0x2b4697))[_0x1268a6(0xe6)]('\x20');this['_uploadLog']('error',_0x1268a6(0x25b)+_0x30aafe),_0x267834(..._0x244ecd);},this[_0x3bdaaf(0x345)](()=>{const _0x4738db=_0x3bdaaf;this[_0x4738db(0x203)][_0x4738db(0x1a8)]=_0x267834;});}[_0x4a9a20(0x346)](_0x3d80aa,_0x49d787){const _0x5d8c21=_0x4a9a20;try{let _0x53dbaa={'userId':this[_0x5d8c21(0x2d4)],'logLabel':_0x3d80aa,'content':_0x49d787};this['_httpService'][_0x5d8c21(0x211)](_0x5d8c21(0x193),{'body':_0x53dbaa})[_0x5d8c21(0x3af)](()=>{});}catch{}}};_0x289860=_0x56d489([_0x235e3a(0x0,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x379e5f[_0x4a9a20(0x18f)])),_0x235e3a(0x1,(0x0,_0x379e5f['Inject'])(_0x1c13d8[_0x4a9a20(0x1fd)])),_0x235e3a(0x2,_0x379e5f['ILogService']),_0x235e3a(0x3,(0x0,_0x379e5f['Inject'])(_0x5c5525[_0x4a9a20(0x267)]))],_0x289860);function _0x277644({state$:_0x5733dd}){const _0x11fd24=_0x4a9a20;let _0x758b6=(0x0,_0x191907['useObservable'])(_0x5733dd,null,!0x0);return _0x758b6?(0x0,_0x49e2bf[_0x11fd24(0xe1)])(_0x11fd24(0x250),{'data-u-comp':_0x11fd24(0x2eb),'role':_0x11fd24(0x1ae),'className':_0x11fd24(0x1a1),'children':[(0x0,_0x49e2bf['jsx'])(_0x2431b5,{'className':_0x11fd24(0x2e3)}),(0x0,_0x49e2bf[_0x11fd24(0x92)])('span',{'children':_0x758b6[_0x11fd24(0x28d)]}),(0x0,_0x49e2bf[_0x11fd24(0x92)])(_0x51bea6['Button'],{'size':_0x11fd24(0x152),'variant':'primary','onClick':()=>window[_0x11fd24(0x36d)]['reload'](),'children':_0x758b6[_0x11fd24(0x123)]})]}):null;}let _0x3c2f0f=_0x4a9a20(0x12a),_0x1183a2=class extends _0x379e5f['Disposable']{constructor(_0x429d24,_0x3dc68c,_0x5a4017,_0x548525,_0x2cd10b,_0x5bdaa6){const _0x1fe6ed=_0x4a9a20;super(),this[_0x1fe6ed(0x3ae)]=_0x429d24,this[_0x1fe6ed(0x2a2)]=_0x3dc68c,this[_0x1fe6ed(0x1f6)]=_0x5a4017,this[_0x1fe6ed(0xa3)]=_0x548525,this['_urlService']=_0x5bdaa6,_0x477ff4(this,_0x1fe6ed(0x223),new _0x29b66c[(_0x1fe6ed(0x2d0))](null)),_0x477ff4(this,'_messageIds',new Set()),_0x477ff4(this,_0x1fe6ed(0x216),new Map()),_0x477ff4(this,_0x1fe6ed(0x109),new Map()),_0x477ff4(this,_0x1fe6ed(0x254),this[_0x1fe6ed(0x223)][_0x1fe6ed(0x30e)]());let _0x14158b=()=>(0x0,_0x3fb6bf[_0x1fe6ed(0x3df)])(_0x277644,{'state$':this[_0x1fe6ed(0x254)]});this[_0x1fe6ed(0x345)](_0x2cd10b['registerComponent'](_0x191907[_0x1fe6ed(0xb1)][_0x1fe6ed(0xee)],()=>(0x0,_0x191907[_0x1fe6ed(0x182)])(_0x14158b,this['_injector']))),this[_0x1fe6ed(0x345)](this['_snapshotLoadingService'][_0x1fe6ed(0x32f)][_0x1fe6ed(0x116)](_0x39aa3a=>{const _0x49e55b=_0x1fe6ed;this[_0x49e55b(0x109)]=_0x39aa3a,_0x39aa3a[_0x49e55b(0xad)](_0x29aba6=>this['_updateMessage'](_0x29aba6));})),this[_0x1fe6ed(0x345)](this['_urlService'][_0x1fe6ed(0x212)]['subscribe'](()=>{const _0x50760c=_0x1fe6ed;this[_0x50760c(0x109)][_0x50760c(0xad)](_0x2cb6d5=>this['_updateMessage'](_0x2cb6d5));}));}[_0x4a9a20(0x274)](){const _0x5cc3f4=_0x4a9a20;this[_0x5cc3f4(0x394)][_0x5cc3f4(0xad)](_0x51f69b=>this['_messageService'][_0x5cc3f4(0x1d9)](_0x51f69b)),this[_0x5cc3f4(0x394)]['clear'](),this[_0x5cc3f4(0x216)][_0x5cc3f4(0xad)](({timeoutId:_0x12405c})=>clearTimeout(_0x12405c)),this[_0x5cc3f4(0x216)][_0x5cc3f4(0x96)](),this['_timeoutState$'][_0x5cc3f4(0xd5)](),super[_0x5cc3f4(0x274)]();}[_0x4a9a20(0xc6)](_0x43cc45){const _0x1d781b=_0x4a9a20;let _0x30f968=''+_0x3c2f0f+_0x43cc45['unitId'];if(_0x43cc45['stage']===_0x180ca7[_0x1d781b(0x10f)]['COMPLETE']){this['_clearBlockProgressWatch'](_0x43cc45[_0x1d781b(0x32a)]),this[_0x1d781b(0x309)](_0x43cc45['unitId']),this[_0x1d781b(0x2a2)]['remove'](_0x30f968),this[_0x1d781b(0x394)][_0x1d781b(0xd0)](_0x30f968);return;}if(!this[_0x1d781b(0x234)](_0x43cc45['unitId'])){this[_0x1d781b(0x305)](_0x43cc45[_0x1d781b(0x32a)]),this[_0x1d781b(0x309)](_0x43cc45[_0x1d781b(0x32a)]),this[_0x1d781b(0x2a2)]['remove'](_0x30f968),this[_0x1d781b(0x394)][_0x1d781b(0xd0)](_0x30f968);return;}if(_0x43cc45[_0x1d781b(0xdc)]===_0x180ca7[_0x1d781b(0x10f)][_0x1d781b(0x281)]){this[_0x1d781b(0x305)](_0x43cc45[_0x1d781b(0x32a)]),this[_0x1d781b(0x309)](_0x43cc45[_0x1d781b(0x32a)]),this['_messageService'][_0x1d781b(0x185)]({'id':_0x30f968,'type':_0x51bea6[_0x1d781b(0xcb)][_0x1d781b(0x358)],'content':this['_localeService']['t']('collaboration-client-ui.session.connection-failed')}),this[_0x1d781b(0x394)][_0x1d781b(0xd0)](_0x30f968);return;}if(_0x43cc45[_0x1d781b(0xdc)]!==_0x180ca7['SnapshotLoadStage'][_0x1d781b(0x1d4)]||_0x43cc45[_0x1d781b(0x33a)]<=0xa){this[_0x1d781b(0x305)](_0x43cc45[_0x1d781b(0x32a)]),this[_0x1d781b(0x2a2)][_0x1d781b(0x1d9)](_0x30f968),this['_messageIds']['delete'](_0x30f968);return;}this['_watchBlockProgress'](_0x43cc45)||(this['_messageService'][_0x1d781b(0x185)]({'id':_0x30f968,'type':_0x51bea6[_0x1d781b(0xcb)][_0x1d781b(0x9e)],'duration':0x1/0x0,'content':this[_0x1d781b(0x1f6)]['t'](_0x1d781b(0x327))+'\x20'+_0x43cc45['loadedBlocks']+'/'+_0x43cc45[_0x1d781b(0x33a)]}),this[_0x1d781b(0x394)][_0x1d781b(0x2a3)](_0x30f968));}[_0x4a9a20(0xeb)](_0x10b495){const _0x4e6523=_0x4a9a20;let _0x351fe9=this[_0x4e6523(0x216)]['get'](_0x10b495['unitId']);if((_0x351fe9==null?void 0x0:_0x351fe9[_0x4e6523(0x28b)])===_0x10b495[_0x4e6523(0x28b)])return _0x351fe9[_0x4e6523(0x3a4)];this[_0x4e6523(0x305)](_0x10b495[_0x4e6523(0x32a)]);let _0x562a05=setTimeout(()=>{const _0x17db5a=_0x4e6523;let _0x1a1a26=this[_0x17db5a(0x216)][_0x17db5a(0x3c7)](_0x10b495['unitId']);if(!_0x1a1a26||_0x1a1a26[_0x17db5a(0x1df)]!==_0x562a05)return;_0x1a1a26[_0x17db5a(0x3a4)]=!0x0;let _0x4a872c=''+_0x3c2f0f+_0x10b495[_0x17db5a(0x32a)];this['_messageService'][_0x17db5a(0x1d9)](_0x4a872c),this[_0x17db5a(0x394)][_0x17db5a(0xd0)](_0x4a872c),this[_0x17db5a(0x223)]['next']({'unitId':_0x10b495[_0x17db5a(0x32a)],'content':this['_localeService']['t'](_0x17db5a(0xd8),String(_0x10b495['loadedBlocks']),String(_0x10b495[_0x17db5a(0x33a)])),'refreshLabel':this['_localeService']['t'](_0x17db5a(0x311))});},0xea60);return this[_0x4e6523(0x216)][_0x4e6523(0x25f)](_0x10b495['unitId'],{'loadedBlocks':_0x10b495[_0x4e6523(0x28b)],'timedOut':!0x1,'timeoutId':_0x562a05}),!0x1;}[_0x4a9a20(0x305)](_0x5c9055){const _0x2883e4=_0x4a9a20;let _0xcd4547=this['_blockProgressWatches'][_0x2883e4(0x3c7)](_0x5c9055);_0xcd4547&&(clearTimeout(_0xcd4547[_0x2883e4(0x1df)]),this[_0x2883e4(0x216)][_0x2883e4(0xd0)](_0x5c9055),this[_0x2883e4(0x309)](_0x5c9055));}[_0x4a9a20(0x309)](_0x2b1646){const _0x1af286=_0x4a9a20;var _0x27baed;((_0x27baed=this[_0x1af286(0x223)]['value'])==null?void 0x0:_0x27baed[_0x1af286(0x32a)])===_0x2b1646&&this['_timeoutState$']['next'](null);}['_isVisibleUnit'](_0x341b13){const _0x3213db=_0x4a9a20;let _0x1a18bf=this['_urlService'][_0x3213db(0x16d)](_0x3213db(0x108));return!_0x1a18bf||_0x1a18bf===_0x341b13;}};_0x1183a2=_0x56d489([_0x235e3a(0x0,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x180ca7[_0x4a9a20(0xa6)])),_0x235e3a(0x1,_0x191907[_0x4a9a20(0x3d1)]),_0x235e3a(0x2,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x379e5f[_0x4a9a20(0x1e0)])),_0x235e3a(0x3,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x379e5f[_0x4a9a20(0x18f)])),_0x235e3a(0x4,_0x191907[_0x4a9a20(0x3a8)]),_0x235e3a(0x5,_0x585290)],_0x1183a2);let _0x18ef7d=class extends _0x379e5f['Disposable']{constructor(_0x1e831a,_0x453fbe,_0x3a0083){const _0x5a2aa8=_0x4a9a20;super(),this['_configService']=_0x1e831a,this['_localStorageService']=_0x453fbe,this[_0x5a2aa8(0x25c)]=_0x3a0083,_0x477ff4(this,_0x5a2aa8(0x3aa),new Map()),_0x477ff4(this,'_saveTaskMap',new Map()),_0x477ff4(this,_0x5a2aa8(0x17a),new Map()),_0x477ff4(this,_0x5a2aa8(0x262),!0x1);}[_0x4a9a20(0xd6)](){this['_disabled']=!0x0;}[_0x4a9a20(0x146)](){const _0x5e69d6=_0x4a9a20;this[_0x5e69d6(0x262)]=!0x1;}get[_0x4a9a20(0x3a7)](){const _0x47131d=_0x4a9a20;return this[_0x47131d(0x19a)];}[_0x4a9a20(0x274)](){const _0x40d5be=_0x4a9a20;this['exhaustSavingTask']()[_0x40d5be(0x2ea)](()=>super['dispose']());}async[_0x4a9a20(0x2fd)](_0x10c06d){const _0x461f17=_0x4a9a20;return this['_disabled']?null:this[_0x461f17(0x37f)][_0x461f17(0x210)]((0x0,_0x5c5525[_0x461f17(0x3b6)])(_0x10c06d));}async[_0x4a9a20(0x178)](_0x3fb2ec,_0x21b004){const _0x30942b=_0x4a9a20;let _0x2420c6=this[_0x30942b(0x37f)][_0x30942b(0x38a)]((0x0,_0x5c5525['getLocalCacheKey'])(_0x3fb2ec),_0x21b004);return this[_0x30942b(0x175)](_0x3fb2ec,_0x2420c6),!!await _0x2420c6;}async[_0x4a9a20(0x264)](_0xa1c126,_0x1d00ca){const _0x29b76f=_0x4a9a20;let _0x471e99=this['_cachedData']['get'](_0xa1c126)??await this[_0x29b76f(0x37f)]['getItem']((0x0,_0x5c5525[_0x29b76f(0x3b6)])(_0xa1c126));if(!_0x471e99)return;let _0x408ff7=Date['now'](),_0x4cf7de=new Date(_0x408ff7)['toISOString']();await this[_0x29b76f(0x37f)][_0x29b76f(0x38a)]((0x0,_0x5c5525[_0x29b76f(0x3b6)])(_0xa1c126)+_0x29b76f(0x3b2)+_0x408ff7,{'reason':_0x1d00ca,'createdAt':_0x4cf7de,'data':_0x471e99});}async[_0x4a9a20(0x12d)](_0x1e77e5){const _0x3cccbf=_0x4a9a20;let _0x2cce4f=this[_0x3cccbf(0x19a)][_0x3cccbf(0x3c7)](_0x1e77e5);_0x2cce4f!==void 0x0&&(window[_0x3cccbf(0x376)](_0x2cce4f),this[_0x3cccbf(0x19a)][_0x3cccbf(0xd0)](_0x1e77e5));let _0xb627db=this[_0x3cccbf(0x17a)]['get'](_0x1e77e5);_0xb627db&&await Promise['allSettled'](_0xb627db),this[_0x3cccbf(0x3aa)]['delete'](_0x1e77e5),await this[_0x3cccbf(0x37f)]['removeItem']((0x0,_0x5c5525[_0x3cccbf(0x3b6)])(_0x1e77e5));}[_0x4a9a20(0x36f)](_0x3698c8,_0x5b3c53,_0x1535c4,_0xde887c){const _0x36c4e6=_0x4a9a20;let _0x2443a2=this[_0x36c4e6(0x25c)][_0x36c4e6(0x15f)](_0x3698c8);this[_0x36c4e6(0x3aa)][_0x36c4e6(0x25f)](_0x3698c8,{'unitID':_0x3698c8,'type':_0x5b3c53,'awaitingChangeset':_0x1535c4,'mutations':_0xde887c,'rev':_0x2443a2}),this['_saveTaskMap'][_0x36c4e6(0x192)](_0x3698c8)||this[_0x36c4e6(0xfe)](_0x3698c8);}[_0x4a9a20(0xfe)](_0x131234){const _0x55fb64=_0x4a9a20;let _0xfb72e=this[_0x55fb64(0x39a)]();_0xfb72e===0x0?this['_saveCache'](_0x131234):this[_0x55fb64(0x19a)][_0x55fb64(0x25f)](_0x131234,window[_0x55fb64(0x308)](()=>this[_0x55fb64(0x1f7)](_0x131234),_0xfb72e));}[_0x4a9a20(0x39a)](){const _0x4113e3=_0x4a9a20;return this['_configService'][_0x4113e3(0x330)](_0x5c5525[_0x4113e3(0x195)])??_0x5c5525['LOCAL_CACHE_INTERVAL'];}[_0x4a9a20(0x1f7)](_0x456161){const _0x17d198=_0x4a9a20;let _0x39698b=this[_0x17d198(0x19a)]['get'](_0x456161);_0x39698b!==void 0x0&&window['clearTimeout'](_0x39698b);let _0x288d79=this['_localStorageService'][_0x17d198(0x38a)]((0x0,_0x5c5525[_0x17d198(0x3b6)])(_0x456161),this[_0x17d198(0x3aa)][_0x17d198(0x3c7)](_0x456161))[_0x17d198(0x2ea)](()=>this['_saveTaskMap']['delete'](_0x456161));return this['_trackActiveSaveTask'](_0x456161,_0x288d79),_0x288d79;}[_0x4a9a20(0x175)](_0x5ef4be,_0x24690b){const _0x371795=_0x4a9a20;let _0x33704d=this[_0x371795(0x17a)]['get'](_0x5ef4be);_0x33704d||(_0x33704d=new Set(),this[_0x371795(0x17a)][_0x371795(0x25f)](_0x5ef4be,_0x33704d)),_0x33704d[_0x371795(0x2a3)](_0x24690b);let _0x1486af=()=>{const _0x151bed=_0x371795;_0x33704d[_0x151bed(0xd0)](_0x24690b),_0x33704d[_0x151bed(0x280)]===0x0&&this[_0x151bed(0x17a)][_0x151bed(0xd0)](_0x5ef4be);};_0x24690b['then'](_0x1486af,_0x1486af);}async['exhaustSavingTask'](){const _0x24b155=_0x4a9a20;let _0x44b31a=[];this[_0x24b155(0x19a)][_0x24b155(0xad)]((_0x2a8efb,_0x29f6f7)=>{const _0x58ec23=_0x24b155;window[_0x58ec23(0x376)](_0x2a8efb),_0x44b31a[_0x58ec23(0x2bd)](this[_0x58ec23(0x1f7)](_0x29f6f7)[_0x58ec23(0x2ea)](()=>{const _0x72112d=_0x58ec23;this[_0x72112d(0x19a)][_0x72112d(0xd0)](_0x29f6f7);}));}),await Promise['all'](_0x44b31a);}};_0x18ef7d=_0x56d489([_0x235e3a(0x0,_0x379e5f[_0x4a9a20(0x3c3)]),_0x235e3a(0x1,_0x379e5f[_0x4a9a20(0x3b9)]),_0x235e3a(0x2,(0x0,_0x379e5f['Inject'])(_0x180ca7[_0x4a9a20(0x177)]))],_0x18ef7d);var _0x380f56=class extends _0x379e5f[_0x4a9a20(0x1c0)]{constructor(){const _0x17ee51=_0x4a9a20;super(),_0x477ff4(this,'urlChange$',void 0x0),this['urlChange$']=(0x0,_0x29b66c[_0x17ee51(0xfa)])(window,_0x17ee51(0x2ac))[_0x17ee51(0x220)]((0x0,_0x29b66c[_0x17ee51(0x3be)])(this['dispose$']),(0x0,_0x29b66c[_0x17ee51(0x128)])({'bufferSize':0x1,'refCount':!0x0}),(0x0,_0x29b66c[_0x17ee51(0x2b2)])(void 0x0));}[_0x4a9a20(0x15e)](_0x4f8888,_0x13f082,_0xfc6af3=!0x1){const _0x292b8d=_0x4a9a20;let _0x342a26=new URL(window[_0x292b8d(0x36d)]['href']);_0x342a26[_0x292b8d(0x2bb)]['set'](_0x4f8888,_0x13f082),_0xfc6af3?window[_0x292b8d(0x21b)]['replaceState']('','',_0x342a26[_0x292b8d(0x22e)]()):window[_0x292b8d(0x21b)][_0x292b8d(0x2e7)]('','',_0x342a26[_0x292b8d(0x22e)]());}['removeParam'](_0x4ed63a,_0x5414ac=!0x1){const _0x58baa5=_0x4a9a20;let _0xaee588=new URL(window['location'][_0x58baa5(0x132)]);_0xaee588[_0x58baa5(0x2bb)]['delete'](_0x4ed63a),_0x5414ac?window[_0x58baa5(0x21b)][_0x58baa5(0x3bf)]('','',_0xaee588[_0x58baa5(0x22e)]()):window[_0x58baa5(0x21b)]['pushState']('','',_0xaee588[_0x58baa5(0x22e)]());}[_0x4a9a20(0x16d)](_0x1343cf){const _0x4d6bd7=_0x4a9a20;return new URL(window[_0x4d6bd7(0x36d)][_0x4d6bd7(0x132)])['searchParams'][_0x4d6bd7(0x3c7)](_0x1343cf)??void 0x0;}};let _0x2ce7d1=class extends _0x379e5f[_0x4a9a20(0x19e)]{constructor(_0x1745ea=_0x4905e4,_0x3f8c57,_0xca1ab,_0x5bccff,_0x5d8151){const _0x24c89e=_0x4a9a20;super(),this[_0x24c89e(0x22c)]=_0x1745ea,this[_0x24c89e(0x373)]=_0x3f8c57,this[_0x24c89e(0xa3)]=_0xca1ab,this['_configService']=_0x5bccff,this[_0x24c89e(0x3a1)]=_0x5d8151;let {..._0x430725}=(0x0,_0x379e5f[_0x24c89e(0x3b5)])({},_0x4905e4,this[_0x24c89e(0x22c)]);this[_0x24c89e(0x156)][_0x24c89e(0xe8)](_0x24c89e(0x20d),_0x430725);}[_0x4a9a20(0x329)](){const _0x94f01e=_0x4a9a20;this[_0x94f01e(0x1fc)](),this[_0x94f01e(0x345)](this['_commandService'][_0x94f01e(0x1f2)](_0x9de98b)),this[_0x94f01e(0x3d3)]();}[_0x4a9a20(0x325)](){const _0x57330d=_0x4a9a20;this[_0x57330d(0x15a)]();}['_registerDependencies'](){const _0x1139c0=_0x4a9a20;var _0x1d975e;let _0x40639f=[[_0x47ec3a],[_0x585290,{'useClass':_0x380f56}],[_0x1c13d8['ISocketService'],{'useClass':_0x1c13d8[_0x1139c0(0x3e0)]}],[_0x5c5525['ILocalCacheService'],{'useClass':_0x18ef7d}],[_0xfe667e],[_0x4add48],[_0x5e94f1],[_0x458d18],[_0x10a8c2],[_0x1183a2]];this['_config'][_0x1139c0(0x37b)]!==!0x1&&_0x40639f[_0x1139c0(0x2bd)]([_0x5c5c58],[_0x39070c],[_0x22af92],[_0x2430ce],[_0x187992],[_0x302b8d]),this[_0x1139c0(0x22c)][_0x1139c0(0x9b)]&&_0x40639f[_0x1139c0(0x2bd)]([_0x289860]),(0x0,_0x379e5f[_0x1139c0(0x36b)])(this['_injector'],(0x0,_0x379e5f[_0x1139c0(0x26c)])(_0x40639f,(_0x1d975e=this['_config'])==null?void 0x0:_0x1d975e[_0x1139c0(0x3ca)]));}['_registerRenderDependencies'](){const _0xeb0c07=_0x4a9a20;this['_config'][_0xeb0c07(0x37b)]!==!0x1&&this['disposeWithMe'](this[_0xeb0c07(0x373)][_0xeb0c07(0x23e)](_0x379e5f[_0xeb0c07(0x1a5)][_0xeb0c07(0x139)],[_0x5f4219])),this[_0xeb0c07(0x345)](this['_renderManagerService']['registerRenderModule'](_0x379e5f[_0xeb0c07(0x1a5)][_0xeb0c07(0x243)],[_0x146b13]));}[_0x4a9a20(0x3d3)](){const _0x4836e4=_0x4a9a20;(0x0,_0x379e5f[_0x4836e4(0x3bc)])(this[_0x4836e4(0xa3)],[[_0x5e94f1],[_0x458d18],[_0xfe667e],[_0x4add48],[_0x10a8c2],[_0x1183a2]]),this[_0x4836e4(0x22c)][_0x4836e4(0x37b)]!==!0x1&&(0x0,_0x379e5f[_0x4836e4(0x3bc)])(this[_0x4836e4(0xa3)],[[_0x187992],[_0x302b8d]]),this[_0x4836e4(0x22c)][_0x4836e4(0x9b)]&&(0x0,_0x379e5f[_0x4836e4(0x3bc)])(this[_0x4836e4(0xa3)],[[_0x289860]]);}};_0x477ff4(_0x2ce7d1,_0x4a9a20(0x27e),_0x4a9a20(0x1c3)),_0x477ff4(_0x2ce7d1,_0x4a9a20(0x3dc),_0x176194),_0x477ff4(_0x2ce7d1,_0x4a9a20(0x199),_0x5c9d38),_0x2ce7d1=_0x56d489([(0x0,_0x379e5f[_0x4a9a20(0x1a9)])(_0x4473e0['UniverLicensePlugin'],_0x24609f[_0x4a9a20(0x23c)],_0x2a6e7e['UniverRenderEnginePlugin'],_0x1c13d8[_0x4a9a20(0x3da)],_0x180ca7[_0x4a9a20(0x1dd)],_0x12bff4[_0x4a9a20(0x1c9)],_0x5c5525['UniverCollaborationClientPlugin']),_0x235e3a(0x1,_0x2a6e7e[_0x4a9a20(0x1ed)]),_0x235e3a(0x2,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x379e5f[_0x4a9a20(0x18f)])),_0x235e3a(0x3,_0x379e5f[_0x4a9a20(0x3c3)]),_0x235e3a(0x4,_0x379e5f['ICommandService'])],_0x2ce7d1);let _0x1062f8=class extends _0x5c5525['CollaborationSocketService']{constructor(_0x1a0f55,_0x7c5f2a,_0x4f4628,_0x2d6a11,_0x8d2c39){super(_0x1a0f55,_0x7c5f2a,_0x4f4628,_0x2d6a11,_0x8d2c39);}async[_0x4a9a20(0x157)](_0x132ee1){const _0x2a2689=_0x4a9a20;let _0x54ea45=await this[_0x2a2689(0x36e)](),_0x409656=this[_0x2a2689(0x2c4)](_0x132ee1,_0x54ea45);return this['_doCreateSocket'](_0x409656);}[_0x4a9a20(0x2c4)](_0x3d51a7,_0x168340){const _0x2e8a9d=_0x4a9a20;let _0xfd15ad=typeof window>'u'?new URL(_0x3d51a7):new URL(_0x3d51a7,window[_0x2e8a9d(0x36d)]['origin']);_0xfd15ad['searchParams'][_0x2e8a9d(0x25f)](_0x2e8a9d(0x340),_0x168340);let _0x37daa2=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2e8a9d(0x36d)][_0x2e8a9d(0x1c4)]);return _0x37daa2[_0x2e8a9d(0x3c7)]('runId')&&_0xfd15ad['searchParams'][_0x2e8a9d(0x25f)](_0x2e8a9d(0x28f),_0x37daa2[_0x2e8a9d(0x3c7)]('runId')),_0xfd15ad[_0x2e8a9d(0x22e)]();}async[_0x4a9a20(0x36e)](){const _0x1f78ea=_0x4a9a20;var _0x4c8723;let _0x83b1d0=this['_configService'][_0x1f78ea(0x330)](_0x5c5525['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x41f4e1=(_0x83b1d0==null?void 0x0:_0x83b1d0['wsSessionTicketUrl'])??_0x5c5525[_0x1f78ea(0x247)];return((_0x4c8723=(await this['_httpService'][_0x1f78ea(0x3c7)](_0x41f4e1,{'headers':{'Content-Type':_0x1f78ea(0x12b)}}))[_0x1f78ea(0xac)])==null?void 0x0:_0x4c8723[_0x1f78ea(0x322)])??'';}};_0x1062f8=_0x56d489([_0x235e3a(0x0,(0x0,_0x379e5f['Inject'])(_0x379e5f[_0x4a9a20(0x18f)])),_0x235e3a(0x1,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x1c13d8['HTTPService'])),_0x235e3a(0x2,_0x379e5f[_0x4a9a20(0x3c3)]),_0x235e3a(0x3,_0x379e5f[_0x4a9a20(0x2f1)]),_0x235e3a(0x4,_0x180ca7[_0x4a9a20(0xd1)])],_0x1062f8);let _0x5d74ac=class extends _0x379e5f[_0x4a9a20(0x359)]{constructor(_0x4aba13,_0x2ab872,_0x2678b8){const _0x1140d6=_0x4a9a20;super(),this[_0x1140d6(0x151)]=_0x4aba13,this[_0x1140d6(0x301)]=_0x2ab872,this[_0x1140d6(0x156)]=_0x2678b8;}async['runOnServer'](_0x565393,_0x2e846e,_0x3b863e,..._0x3740ca){const _0x2bc61b=_0x4a9a20;let _0x35da84=this[_0x2bc61b(0x151)][_0x2bc61b(0x1b6)]();if(!_0x35da84)throw Error(_0x2bc61b(0x35f));let _0x2dcd7c=(this['_configService'][_0x2bc61b(0x330)](_0x5c5525[_0x2bc61b(0xbc)])??_0x5c5525['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x565393+_0x2bc61b(0x23d)+_0x2e846e,_0x591e64={'scriptId':_0x565393,'runId':new URL(window[_0x2bc61b(0x36d)][_0x2bc61b(0x132)])[_0x2bc61b(0x2bb)][_0x2bc61b(0x3c7)](_0x2bc61b(0x28f))??'','function':_0x2e846e,'unitId':_0x35da84[_0x2bc61b(0x2c3)](),'argsOfFunction':JSON['stringify'](_0x3740ca),'invokeId':_0x3b863e[_0x2bc61b(0xd7)]??'','executionId':_0x3b863e[_0x2bc61b(0x33c)]??''};try{let _0x2c0be5=await this[_0x2bc61b(0x301)][_0x2bc61b(0x211)](_0x2dcd7c,{'body':_0x591e64});return _0x2c0be5[_0x2bc61b(0xac)][_0x2bc61b(0x1a8)]&&_0x2c0be5[_0x2bc61b(0xac)][_0x2bc61b(0x1a8)][_0x2bc61b(0x381)]!==_0x30e7ac[_0x2bc61b(0x249)]['OK']?_0x2bc61b(0x35b):_0x2c0be5[_0x2bc61b(0xac)][_0x2bc61b(0x317)];}catch{return'Failed';}}};_0x5d74ac=_0x56d489([_0x235e3a(0x0,_0x379e5f[_0x4a9a20(0x168)]),_0x235e3a(0x1,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x1c13d8[_0x4a9a20(0x1fd)])),_0x235e3a(0x2,_0x379e5f[_0x4a9a20(0x3c3)])],_0x5d74ac);let _0x5ad565=0x7530,_0x5bb3de=_0x4a9a20(0x180);var _0x193a85=class extends _0x379e5f['Disposable']{constructor(){const _0xc60457=_0x4a9a20;super(),_0x477ff4(this,'_id',(0x0,_0x379e5f['generateRandomId'])()),_0x477ff4(this,_0xc60457(0x271),new Set()),_0x477ff4(this,'_unitOnClients',new Map()),_0x477ff4(this,_0xc60457(0x2ee),null),_0x477ff4(this,_0xc60457(0x213),new Map()),_0x477ff4(this,_0xc60457(0xb9),new Map()),this['_init']();}[_0x4a9a20(0x274)](){const _0x44638e=_0x4a9a20;super[_0x44638e(0x274)](),this['_clearOtherTimers'][_0x44638e(0xad)]((_0x108f06,_0x1e92fa)=>this['_removeClearOtherTimer'](_0x1e92fa)),this[_0x44638e(0x2ee)]&&window[_0x44638e(0x19b)](this['_heartbeatTimer']);}[_0x4a9a20(0x206)](_0x3f4b8c){const _0x1cd8c4=_0x4a9a20;return this['_ensureSubject'](_0x3f4b8c)[_0x1cd8c4(0x220)]((0x0,_0x29b66c[_0x1cd8c4(0x188)])());}[_0x4a9a20(0x30d)](_0x485a1a){const _0x1409c9=_0x4a9a20;this[_0x1409c9(0x271)][_0x1409c9(0x280)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x1409c9(0x2a3)](_0x485a1a),this['_send']({'type':0x0,'memberID':this[_0x1409c9(0x286)],'unitIDs':[_0x485a1a],'isForwarded':!0x1});}[_0x4a9a20(0x24f)](_0x4443e6){const _0x4eaa38=_0x4a9a20;this[_0x4eaa38(0x271)]['delete'](_0x4443e6),this[_0x4eaa38(0x271)][_0x4eaa38(0x280)]===0x0&&this[_0x4eaa38(0x2ee)]&&window['clearInterval'](this[_0x4eaa38(0x2ee)]);}[_0x4a9a20(0x246)](){const _0x5d4b03=_0x4a9a20;this[_0x5d4b03(0x345)]((0x0,_0x379e5f[_0x5d4b03(0x1e5)])((0x0,_0x29b66c[_0x5d4b03(0xfa)])(window,_0x5d4b03(0x25d))[_0x5d4b03(0x116)](_0x512b54=>{const _0x284bd8=_0x5d4b03;if(_0x512b54[_0x284bd8(0x2c5)]!==_0x5bb3de||!_0x512b54[_0x284bd8(0x1aa)])return;let _0x4e49f8=JSON[_0x284bd8(0x351)](_0x512b54['newValue']);this['_handleEvent'](_0x4e49f8);}))),window[_0x5d4b03(0x200)](_0x5d4b03(0x9c),()=>this[_0x5d4b03(0x291)]({'type':0x1,'memberID':this[_0x5d4b03(0x286)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0x4a9a20(0x13e)](_0x3c9e9e){const _0x27d409=_0x4a9a20;switch(_0x3c9e9e['type']){case 0x0:this['_handleJoinEvent'](_0x3c9e9e);break;case 0x1:this[_0x27d409(0x268)](_0x3c9e9e);break;case 0x2:this['_handleHeartbeatEvent'](_0x3c9e9e);}}[_0x4a9a20(0xc0)](_0x111e4d){const _0x2d6ab0=_0x4a9a20;let {unitIDs:_0x5a1409,memberID:_0x264887,isForwarded:_0x8a338}=_0x111e4d;_0x5a1409['forEach'](_0x6e9a9e=>{const _0x5addd6=_0x861d;if(!_0x8a338&&this[_0x5addd6(0x316)][_0x5addd6(0x192)](_0x6e9a9e)&&this[_0x5addd6(0x38d)](_0x6e9a9e)[_0x5addd6(0x387)](_0x5c5525[_0x5addd6(0x3e4)][_0x5addd6(0x2e8)]),!this[_0x5addd6(0x316)][_0x5addd6(0x192)](_0x6e9a9e)||!this[_0x5addd6(0x316)][_0x5addd6(0x3c7)](_0x6e9a9e)[_0x5addd6(0x192)](_0x264887)){let _0x6b44d0=this[_0x5addd6(0x316)][_0x5addd6(0x3c7)](_0x6e9a9e)||new Set();_0x6b44d0[_0x5addd6(0x2a3)](_0x264887),this[_0x5addd6(0x316)][_0x5addd6(0x25f)](_0x6e9a9e,_0x6b44d0),this[_0x5addd6(0x266)](_0x264887);}}),_0x8a338||this[_0x2d6ab0(0x291)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x2d6ab0(0x271)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x2d5b80){const _0x505749=_0x4a9a20;this[_0x505749(0x2d5)](_0x2d5b80);let _0x356640=window[_0x505749(0x308)](()=>{const _0x1c9ff4=_0x505749;this[_0x1c9ff4(0x316)][_0x1c9ff4(0xad)](_0xc137b5=>{const _0x181853=_0x1c9ff4;_0xc137b5[_0x181853(0xd0)](_0x2d5b80);});},_0x5ad565*0x2);this[_0x505749(0x213)][_0x505749(0x25f)](_0x2d5b80,_0x356640);}[_0x4a9a20(0x2d5)](_0x46ba53){const _0x495a5f=_0x4a9a20;if(this[_0x495a5f(0x213)][_0x495a5f(0x192)](_0x46ba53)){let _0x30c524=this[_0x495a5f(0x213)]['get'](_0x46ba53);_0x30c524&&window[_0x495a5f(0x376)](_0x30c524),this['_clearOtherTimers'][_0x495a5f(0x25f)](_0x46ba53,null);}}[_0x4a9a20(0x268)](_0x21fae0){const _0x28f658=_0x4a9a20;let {memberID:_0x3a02da,unitIDs:_0x17bf8f}=_0x21fae0;_0x17bf8f[_0x28f658(0xad)](_0x2846fe=>{const _0x4d4188=_0x28f658;var _0x44cb2e;let _0x59e0e6=this[_0x4d4188(0x316)][_0x4d4188(0x3c7)](_0x2846fe);_0x59e0e6&&(_0x59e0e6[_0x4d4188(0xd0)](_0x3a02da),(_0x44cb2e=this[_0x4d4188(0x38d)](_0x2846fe))==null||_0x44cb2e[_0x4d4188(0x387)](_0x59e0e6[_0x4d4188(0x280)]===0x0?_0x5c5525[_0x4d4188(0x3e4)][_0x4d4188(0x205)]:_0x5c5525[_0x4d4188(0x3e4)]['OTHER_CLIENTS_EDITING']));}),this[_0x28f658(0x2d5)](_0x3a02da);}['_handleHeartbeatEvent'](_0x2f00e5){const _0x12bd78=_0x4a9a20;this[_0x12bd78(0x266)](_0x2f00e5[_0x12bd78(0x225)]);}[_0x4a9a20(0x291)](_0xa0f713){const _0x351406=_0x4a9a20;localStorage['setItem'](_0x5bb3de,JSON[_0x351406(0xaf)](_0xa0f713));}[_0x4a9a20(0x3a6)](){const _0xd755ec=_0x4a9a20;this[_0xd755ec(0x2ee)]=window[_0xd755ec(0x186)](()=>{const _0x2e5865=_0xd755ec;this['_send']({'type':0x2,'memberID':this[_0x2e5865(0x286)]});},_0x5ad565);}[_0x4a9a20(0x38d)](_0x94d68){const _0x48ccfa=_0x4a9a20;return this['_unitStatus'][_0x48ccfa(0x192)](_0x94d68)||this[_0x48ccfa(0xb9)][_0x48ccfa(0x25f)](_0x94d68,new _0x29b66c[(_0x48ccfa(0x2d0))](_0x5c5525[_0x48ccfa(0x3e4)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x48ccfa(0xb9)]['get'](_0x94d68);}};Object['defineProperty'](_0x19246e,'BrowserCollaborationSocketService',{'enumerable':!0x0,'get':function(){return _0x1062f8;}}),Object['defineProperty'](_0x19246e,_0x4a9a20(0x8b),{'enumerable':!0x0,'get':function(){return _0xfe667e;}}),_0x19246e['IURLService']=_0x585290,Object[_0x4a9a20(0x27d)](_0x19246e,_0x4a9a20(0xf0),{'enumerable':!0x0,'get':function(){return _0x5d74ac;}}),_0x19246e['SheetCollabCursorShape']=_0x1e3c7b,Object['defineProperty'](_0x19246e,_0x4a9a20(0x114),{'enumerable':!0x0,'get':function(){return _0x2ce7d1;}}),_0x19246e[_0x4a9a20(0x22f)]=_0x193a85;}));
1
+ function _0x463c(_0x1505fb,_0x4adcfb){_0x1505fb=_0x1505fb-0xf5;const _0x5e7bbd=_0x5e7b();let _0x463cf9=_0x5e7bbd[_0x1505fb];return _0x463cf9;}(function(_0x70a8e1,_0x2d3d1c){const _0x187b81=_0x463c,_0x6634f5=_0x70a8e1();while(!![]){try{const _0x4221cf=parseInt(_0x187b81(0x13e))/0x1*(parseInt(_0x187b81(0x420))/0x2)+parseInt(_0x187b81(0x351))/0x3+-parseInt(_0x187b81(0x424))/0x4+parseInt(_0x187b81(0x1aa))/0x5+parseInt(_0x187b81(0x336))/0x6+-parseInt(_0x187b81(0x1f4))/0x7*(-parseInt(_0x187b81(0x235))/0x8)+-parseInt(_0x187b81(0x2e8))/0x9;if(_0x4221cf===_0x2d3d1c)break;else _0x6634f5['push'](_0x6634f5['shift']());}catch(_0x5803d6){_0x6634f5['push'](_0x6634f5['shift']());}}}(_0x5e7b,0x42a70),function(_0x4a9bbe,_0x4ba414){const _0x110898=_0x463c;typeof exports=='object'&&typeof module<'u'?_0x4ba414(exports,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/sheets-ui'),require('@univerjs/protocol')):typeof define==_0x110898(0x2a1)&&define[_0x110898(0x370)]?define([_0x110898(0x271),_0x110898(0x3cf),_0x110898(0x41d),'@univerjs/ui',_0x110898(0x123),_0x110898(0x36a),_0x110898(0x2cb),_0x110898(0x1ca),_0x110898(0x364),_0x110898(0x130),_0x110898(0x442),_0x110898(0x2da),'@univerjs/docs-ui','@univerjs/engine-render',_0x110898(0x1e6),_0x110898(0x2c4),'@univerjs/sheets',_0x110898(0x2e4),_0x110898(0x3c7)],_0x4ba414):(_0x4a9bbe=typeof globalThis<'u'?globalThis:_0x4a9bbe||self,_0x4ba414(_0x4a9bbe[_0x110898(0x1f6)]={},_0x4a9bbe[_0x110898(0x11a)],_0x4a9bbe['UniverCore'],_0x4a9bbe[_0x110898(0x3c3)],_0x4a9bbe[_0x110898(0x123)],_0x4a9bbe[_0x110898(0x123)]['operators'],_0x4a9bbe[_0x110898(0x15a)],_0x4a9bbe['React'],_0x4a9bbe[_0x110898(0x331)],_0x4a9bbe['UniverProCollaboration'],_0x4a9bbe[_0x110898(0x19f)],_0x4a9bbe[_0x110898(0x133)],_0x4a9bbe[_0x110898(0x239)],_0x4a9bbe['UniverEngineRender'],_0x4a9bbe[_0x110898(0x296)],_0x4a9bbe['UniverEngineFormula'],_0x4a9bbe[_0x110898(0x383)],_0x4a9bbe[_0x110898(0x3bb)],_0x4a9bbe[_0x110898(0x231)]));}(this,function(_0x254173,_0x2338a8,_0x4b44eb,_0x13c852,_0x2d19f1,_0x5d3eb5,_0x78518c,_0x409856,_0x3d820f,_0x5d903f,_0x594ab2,_0x228ee9,_0x44014a,_0x35fad8,_0x3611f9,_0x2e8ee8,_0x19c3a6,_0x4f9f06,_0x6743b2){const _0x51c22c=_0x463c;Object[_0x51c22c(0x206)](_0x254173,Symbol[_0x51c22c(0x2de)],{'value':_0x51c22c(0x10c)});function _0x449790({ref:_0x53f2df,..._0x260c11}){const _0x55e353=_0x51c22c;let {preserveStrokeWidth:_0x5a6bbc,icon:_0x523d79,id:_0x418fa4,className:_0x2778be,extend:_0x6a779a,..._0x24715d}=_0x260c11,_0x17a432=(_0x55e353(0x362)+_0x418fa4+'\x20'+(_0x2778be||''))[_0x55e353(0x1d8)](),_0x15ceb2='_'+(0x0,_0x409856['useId'])(),_0x2d957e=(0x0,_0x409856[_0x55e353(0x234)])(null);return(0x0,_0x409856[_0x55e353(0x42c)])(_0x53f2df,()=>_0x2d957e[_0x55e353(0x346)]),(0x0,_0x409856[_0x55e353(0x180)])(()=>{const _0x4c9151=_0x55e353;if(_0x5a6bbc&&_0x2d957e[_0x4c9151(0x346)]&&_0x2d957e[_0x4c9151(0x346)][_0x4c9151(0x247)]===_0x523d79[_0x4c9151(0x208)])return _0xce4e77(_0x2d957e['current']);},[_0x5a6bbc,_0x523d79]),_0x33c52e(_0x523d79,''+_0x418fa4,{'defIds':_0x523d79[_0x55e353(0x1e7)],'idSuffix':_0x15ceb2},{'ref':_0x2d957e,'className':_0x17a432,..._0x24715d},_0x6a779a);}function _0x33c52e(_0x3bc8b6,_0x40abc3,_0x101956,_0x3be2fb,_0x174e8d){const _0x3d6f08=_0x51c22c;return(0x0,_0x409856['createElement'])(_0x3bc8b6[_0x3d6f08(0x208)],{'key':_0x40abc3,..._0x3447c4(_0x3bc8b6,_0x101956,_0x174e8d),..._0x3be2fb},(_0x5c6270(_0x3bc8b6,_0x101956)['children']||[])[_0x3d6f08(0x33c)]((_0x17b026,_0x55188e)=>_0x33c52e(_0x17b026,_0x40abc3+'-'+_0x3bc8b6['tag']+'-'+_0x55188e,_0x101956,void 0x0,_0x174e8d)));}function _0x3447c4(_0xebca4c,_0x329201,_0x3bbc83){const _0x407736=_0x51c22c;let _0x2de3af={..._0xebca4c[_0x407736(0x14f)]};_0x3bbc83!=null&&_0x3bbc83[_0x407736(0x2d4)]&&_0x2de3af[_0x407736(0xfd)]==='colorChannel1'&&(_0x2de3af['fill']=_0x3bbc83[_0x407736(0x2d4)]),_0x3bbc83!=null&&_0x3bbc83['colorChannel1']&&_0x2de3af[_0x407736(0x134)]==='colorChannel1'&&(_0x2de3af[_0x407736(0x134)]=_0x3bbc83[_0x407736(0x2d4)]),_0xebca4c[_0x407736(0x208)]===_0x407736(0x436)&&_0x2de3af['id']&&(_0x2de3af['id']+=_0x329201[_0x407736(0x159)]),Object[_0x407736(0x1f3)](_0x2de3af)[_0x407736(0x2f7)](([_0x1b4cc7,_0x8a22d0])=>{const _0x2f1937=_0x407736;_0x1b4cc7===_0x2f1937(0x436)&&typeof _0x8a22d0=='string'&&(_0x2de3af[_0x1b4cc7]=_0x8a22d0[_0x2f1937(0x33e)](/url\(#(.*)\)/,_0x2f1937(0x25d)+_0x329201[_0x2f1937(0x159)]+')'));});let {defIds:_0x5db262}=_0x329201;return!_0x5db262||_0x5db262['length']===0x0?_0x2de3af:(_0xebca4c[_0x407736(0x208)]===_0x407736(0x18c)&&_0x2de3af[_0x407736(0x42a)]&&(_0x2de3af['xlink:href']+=_0x329201[_0x407736(0x159)]),Object[_0x407736(0x1f3)](_0x2de3af)[_0x407736(0x2f7)](([_0x813b90,_0x951581])=>{const _0x33d7d2=_0x407736;typeof _0x951581=='string'&&(_0x2de3af[_0x813b90]=_0x951581[_0x33d7d2(0x33e)](/url\(#(.*)\)/,_0x33d7d2(0x25d)+_0x329201[_0x33d7d2(0x159)]+')'));}),_0x2de3af);}function _0x5c6270(_0x2f933f,_0x3ec0f1){const _0x4a8f91=_0x51c22c;var _0x1d3fb3;let {defIds:_0x43b383}=_0x3ec0f1;return!_0x43b383||_0x43b383['length']===0x0?_0x2f933f:_0x2f933f[_0x4a8f91(0x208)]===_0x4a8f91(0x27e)&&(_0x1d3fb3=_0x2f933f['children'])!=null&&_0x1d3fb3[_0x4a8f91(0x23f)]?{..._0x2f933f,'children':_0x2f933f['children'][_0x4a8f91(0x33c)](_0x4f0501=>typeof _0x4f0501[_0x4a8f91(0x14f)]['id']=='string'&&_0x43b383&&_0x43b383[_0x4a8f91(0x18d)](_0x4f0501[_0x4a8f91(0x14f)]['id'])?{..._0x4f0501,'attrs':{..._0x4f0501[_0x4a8f91(0x14f)],'id':_0x4f0501['attrs']['id']+_0x3ec0f1[_0x4a8f91(0x159)]}}:_0x4f0501)}:_0x2f933f;}function _0xce4e77(_0x15795f){const _0x8fc691=_0x51c22c;let _0x3932c7=_0x15795f[_0x8fc691(0x3bd)]['baseVal'],_0x284083=Math[_0x8fc691(0x348)](_0x3932c7[_0x8fc691(0x22c)],_0x3932c7['height']);if(!Number[_0x8fc691(0x277)](_0x284083)||_0x284083<=0x0||_0x3932c7['width']<=0x0||_0x3932c7[_0x8fc691(0x3ed)]<=0x0)return()=>void 0x0;let _0x1b47e2=0x10/_0x284083,_0x3433a9=Array[_0x8fc691(0x385)](_0x15795f[_0x8fc691(0x1a0)](_0x8fc691(0x338)))[_0x8fc691(0x1a4)](_0x17e439=>{const _0x46ddca=_0x8fc691;let _0x547c06=getComputedStyle(_0x17e439),_0x452c7a=Number[_0x46ddca(0x162)](_0x547c06[_0x46ddca(0x191)]);return _0x547c06[_0x46ddca(0x134)]===_0x46ddca(0x28d)||Number[_0x46ddca(0x162)](_0x547c06[_0x46ddca(0x24a)])===0x0||_0x547c06[_0x46ddca(0x22b)]===_0x46ddca(0x10a)||!Number[_0x46ddca(0x277)](_0x452c7a)||_0x452c7a<=0x0?[]:[{'element':_0x17e439,'hadStyleAttribute':_0x17e439['hasAttribute']('style'),'originalStrokeWidth':_0x452c7a,'strokeWidth':_0x1ca9d8(_0x17e439[_0x46ddca(0x37e)],'stroke-width')}];})[_0x8fc691(0x33c)](_0x2ad505=>({'appliedStrokeWidth':null,'element':_0x2ad505['element'],'hadStyleAttribute':_0x2ad505[_0x8fc691(0x3e8)],'isReleased':!0x1,'originalStrokeWidth':_0x2ad505[_0x8fc691(0x276)],'strokeWidth':_0x2ad505[_0x8fc691(0x191)]}));if(_0x3433a9['length']===0x0)return()=>void 0x0;let _0x56cb06=(_0x1944db,_0x25ca06)=>{const _0x587616=_0x8fc691;if(_0x3932c7['width']<=0x0||_0x3932c7[_0x587616(0x3ed)]<=0x0||_0x1944db<=0x0||_0x25ca06<=0x0)return;let _0xddf262=Math[_0x587616(0x18e)](_0x1944db/_0x3932c7[_0x587616(0x22c)],_0x25ca06/_0x3932c7[_0x587616(0x3ed)]);!Number['isFinite'](_0xddf262)||_0xddf262<=0x0||_0x3433a9[_0x587616(0x2f7)](_0x343696=>{const _0x1d4c68=_0x587616;if(_0x343696[_0x1d4c68(0x266)])return;if(_0x343696[_0x1d4c68(0x1a3)]!==null&&(_0x343696[_0x1d4c68(0x1fb)][_0x1d4c68(0x37e)]['getPropertyValue'](_0x1d4c68(0x183))!==_0x343696[_0x1d4c68(0x1a3)]||_0x343696[_0x1d4c68(0x1fb)][_0x1d4c68(0x37e)]['getPropertyPriority'](_0x1d4c68(0x183))!==_0x343696['strokeWidth'][_0x1d4c68(0x355)])){_0x343696[_0x1d4c68(0x1a3)]=null,_0x343696[_0x1d4c68(0x266)]=!0x0;return;}let _0x48244e=_0x343696[_0x1d4c68(0x276)]*_0x1b47e2/_0xddf262,_0xbb6978=Number(_0x48244e[_0x1d4c68(0x42e)](0xc))+'px';_0x343696['element'][_0x1d4c68(0x37e)][_0x1d4c68(0x415)](_0x1d4c68(0x183),_0xbb6978,_0x343696[_0x1d4c68(0x191)][_0x1d4c68(0x355)]),_0x343696['appliedStrokeWidth']=_0xbb6978;});},_0x358b7c=_0x15795f[_0x8fc691(0x3f6)]();_0x56cb06(_0x358b7c['width'],_0x358b7c[_0x8fc691(0x3ed)]);let _0x278444=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x465169=>{const _0x676a16=_0x8fc691;if(_0x465169['some'](_0x3b027e=>_0x3b027e[_0x676a16(0x396)]===_0x15795f)){let _0x39abd2=_0x15795f['getBoundingClientRect']();_0x56cb06(_0x39abd2[_0x676a16(0x22c)],_0x39abd2[_0x676a16(0x3ed)]);}});return _0x278444==null||_0x278444[_0x8fc691(0x41e)](_0x15795f),()=>{const _0x509083=_0x8fc691;_0x278444==null||_0x278444[_0x509083(0x24b)](),_0x3433a9[_0x509083(0x2f7)](_0x51d2c3=>{const _0xb872df=_0x509083;_0x51d2c3[_0xb872df(0x1a3)]!==null&&(_0x525056(_0x51d2c3[_0xb872df(0x1fb)][_0xb872df(0x37e)],'stroke-width',_0x51d2c3['appliedStrokeWidth'],_0x51d2c3[_0xb872df(0x191)]['priority'],_0x51d2c3[_0xb872df(0x191)]),!_0x51d2c3[_0xb872df(0x3e8)]&&_0x51d2c3['element'][_0xb872df(0x37e)][_0xb872df(0x23f)]===0x0&&_0x51d2c3[_0xb872df(0x1fb)][_0xb872df(0x177)](_0xb872df(0x37e)));});};}function _0x1ca9d8(_0x34ad6b,_0x300cde){const _0x4824ea=_0x51c22c;return{'priority':_0x34ad6b[_0x4824ea(0x268)](_0x300cde),'value':_0x34ad6b[_0x4824ea(0x3f8)](_0x300cde)};}function _0x525056(_0xf076bf,_0x4d5828,_0x1c452e,_0x1c0a52,_0x587d0b){const _0x2bb06e=_0x51c22c;_0xf076bf['getPropertyValue'](_0x4d5828)===_0x1c452e&&_0xf076bf['getPropertyPriority'](_0x4d5828)===_0x1c0a52&&(_0x587d0b[_0x2bb06e(0x15c)]?_0xf076bf[_0x2bb06e(0x415)](_0x4d5828,_0x587d0b[_0x2bb06e(0x15c)],_0x587d0b['priority']):_0xf076bf['removeProperty'](_0x4d5828));}_0x449790[_0x51c22c(0x3e1)]=_0x51c22c(0x16a);let _0x526c80={'tag':_0x51c22c(0x3bc),'attrs':{'xmlns':_0x51c22c(0x3a2),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x51c22c(0x3a8),'height':_0x51c22c(0x3a8)},'children':[{'tag':'g','attrs':{'clipPath':_0x51c22c(0x1c6)},'children':[{'tag':_0x51c22c(0x438),'attrs':{'stroke':'currentColor','d':_0x51c22c(0x23e),'strokeLinecap':_0x51c22c(0x12c),'strokeLinejoin':_0x51c22c(0x12c),'strokeWidth':1.2}}]},{'tag':_0x51c22c(0x27e),'attrs':{},'children':[{'tag':_0x51c22c(0x1be),'attrs':{'id':_0x51c22c(0x2cc)},'children':[{'tag':'path','attrs':{'fill':_0x51c22c(0x12a),'d':_0x51c22c(0x199)}}]}]}],'defIds':[_0x51c22c(0x2cc)]},_0x2e133b=(0x0,_0x409856['forwardRef'])(function(_0x5bd914,_0x179e0c){const _0x259938=_0x51c22c;return(0x0,_0x409856[_0x259938(0x14a)])(_0x449790,Object[_0x259938(0x226)]({},_0x5bd914,{'id':_0x259938(0x2b9),'ref':_0x179e0c,'icon':_0x526c80}));});_0x2e133b[_0x51c22c(0x3e1)]=_0x51c22c(0x24f);let _0x11f111={'tag':_0x51c22c(0x3bc),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x51c22c(0x28d),'viewBox':'0\x200\x2017\x2016','width':_0x51c22c(0x3a8),'height':_0x51c22c(0x3a8)},'children':[{'tag':'g','attrs':{'clipPath':_0x51c22c(0x3c9)},'children':[{'tag':_0x51c22c(0x438),'attrs':{'stroke':'currentColor','d':_0x51c22c(0x2ce),'strokeLinecap':_0x51c22c(0x12c),'strokeLinejoin':_0x51c22c(0x12c),'strokeWidth':1.2}}]},{'tag':_0x51c22c(0x27e),'attrs':{},'children':[{'tag':_0x51c22c(0x1be),'attrs':{'id':_0x51c22c(0x1ce)},'children':[{'tag':_0x51c22c(0x438),'attrs':{'fill':_0x51c22c(0x12a),'d':_0x51c22c(0x199),'transform':_0x51c22c(0x3d9)}}]}]}],'defIds':[_0x51c22c(0x1ce)]},_0x41108b=(0x0,_0x409856[_0x51c22c(0x2ac)])(function(_0x3ef69f,_0x431b8b){const _0x56395a=_0x51c22c;return(0x0,_0x409856[_0x56395a(0x14a)])(_0x449790,Object[_0x56395a(0x226)]({},_0x3ef69f,{'id':_0x56395a(0xf9),'ref':_0x431b8b,'icon':_0x11f111}));});_0x41108b[_0x51c22c(0x3e1)]=_0x51c22c(0x1dd);let _0x35cfc9={'tag':'svg','attrs':{'xmlns':_0x51c22c(0x3a2),'fill':_0x51c22c(0x28d),'viewBox':_0x51c22c(0x441),'width':_0x51c22c(0x3a8),'height':_0x51c22c(0x3a8)},'children':[{'tag':_0x51c22c(0x438),'attrs':{'fill':_0x51c22c(0x3b9),'d':'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','fillRule':_0x51c22c(0x2bc),'clipRule':_0x51c22c(0x2bc)}}]},_0xb08e11=(0x0,_0x409856[_0x51c22c(0x2ac)])(function(_0x5c3c6d,_0x497d01){const _0xc38a7f=_0x51c22c;return(0x0,_0x409856[_0xc38a7f(0x14a)])(_0x449790,Object[_0xc38a7f(0x226)]({},_0x5c3c6d,{'id':_0xc38a7f(0x16b),'ref':_0x497d01,'icon':_0x35cfc9}));});_0xb08e11[_0x51c22c(0x3e1)]=_0x51c22c(0x2f9);let _0x44e7d8={'tag':'svg','attrs':{'xmlns':_0x51c22c(0x3a2),'fill':_0x51c22c(0x28d),'viewBox':_0x51c22c(0x441),'width':_0x51c22c(0x3a8),'height':_0x51c22c(0x3a8)},'children':[{'tag':_0x51c22c(0x438),'attrs':{'fill':_0x51c22c(0x2b6),'d':_0x51c22c(0x40b),'fillOpacity':0.2,'fillRule':_0x51c22c(0x2bc),'clipRule':_0x51c22c(0x2bc)}},{'tag':_0x51c22c(0x438),'attrs':{'fill':'#0B9EFB','d':'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','fillRule':_0x51c22c(0x2bc),'clipRule':_0x51c22c(0x2bc)}}]},_0x4b8a93=(0x0,_0x409856['forwardRef'])(function(_0x4fbdca,_0x48173e){const _0x595aa1=_0x51c22c;return(0x0,_0x409856['createElement'])(_0x449790,Object[_0x595aa1(0x226)]({},_0x4fbdca,{'id':'loading-multi-icon','ref':_0x48173e,'icon':_0x44e7d8}));});_0x4b8a93[_0x51c22c(0x3e1)]='LoadingMultiIcon';function _0x7e3727(_0x3a5974){const _0x44a23b=_0x51c22c;switch(_0x3a5974){case _0x2338a8[_0x44a23b(0x449)]['OFFLINE']:return{'icon':(0x0,_0x3d820f[_0x44a23b(0x413)])(_0x2e133b,{}),'colorClass':_0x44a23b(0xf6),'i18nKey':'collaboration-client-ui.collabStatus.offline','tooltipKey':_0x44a23b(0x3df),'clickable':!0x0,'indicator':_0x44a23b(0x225)};case _0x2338a8[_0x44a23b(0x449)][_0x44a23b(0x1a6)]:return{'icon':(0x0,_0x3d820f[_0x44a23b(0x413)])(_0x2e133b,{}),'colorClass':_0x44a23b(0x1a5),'i18nKey':'collaboration-client-ui.collabStatus.conflict','clickable':!0x1,'indicator':_0x44a23b(0x225)};case _0x2338a8[_0x44a23b(0x449)]['FETCH_MISS']:return{'icon':(0x0,_0x3d820f[_0x44a23b(0x413)])(_0x4b8a93,{}),'colorClass':_0x44a23b(0x1ed),'i18nKey':_0x44a23b(0x297),'clickable':!0x1,'indicator':_0x44a23b(0x306)};case _0x2338a8['CollaborationStatus'][_0x44a23b(0x165)]:return{'icon':(0x0,_0x3d820f[_0x44a23b(0x413)])(_0x41108b,{}),'colorClass':_0x44a23b(0x3eb),'i18nKey':_0x44a23b(0x345),'clickable':!0x1,'indicator':_0x44a23b(0x225)};case _0x2338a8[_0x44a23b(0x449)]['AWAITING']:case _0x2338a8[_0x44a23b(0x449)][_0x44a23b(0x443)]:return{'icon':(0x0,_0x3d820f['jsx'])(_0x4b8a93,{}),'colorClass':_0x44a23b(0x1ed),'i18nKey':_0x44a23b(0x13c),'clickable':!0x1,'indicator':'spin'};case _0x2338a8['CollaborationStatus'][_0x44a23b(0x41c)]:return{'icon':(0x0,_0x3d820f[_0x44a23b(0x413)])(_0x4b8a93,{}),'colorClass':_0x44a23b(0x1ed),'i18nKey':'collaboration-client-ui.collabStatus.syncing','clickable':!0x1,'indicator':_0x44a23b(0x306)};case _0x2338a8[_0x44a23b(0x449)]['SYNCED']:return{'icon':(0x0,_0x3d820f[_0x44a23b(0x413)])(_0x41108b,{}),'colorClass':_0x44a23b(0x13b),'i18nKey':_0x44a23b(0x431),'clickable':!0x1,'indicator':_0x44a23b(0x225)};}}function _0x1502e7(_0x5a137f){const _0x543af4=_0x51c22c;let {status$:_0x250e33}=_0x5a137f,_0xe1fed0=(0x0,_0x13c852['useObservable'])(_0x250e33,_0x2338a8['CollaborationStatus']['NOT_COLLAB']),_0x35d606=(0x0,_0x13c852[_0x543af4(0x212)])(_0x4b44eb[_0x543af4(0x155)]),_0x57e8e4=(0x0,_0x13c852[_0x543af4(0x212)])(_0x2338a8['CollaborationSessionService']),_0x7791a6=(0x0,_0x409856['useMemo'])(()=>_0x7e3727(_0xe1fed0),[_0xe1fed0]),_0x4d2371=_0xe1fed0!==_0x2338a8['CollaborationStatus'][_0x543af4(0x1df)],_0x3681e4=_0x35d606['t'](_0x7791a6[_0x543af4(0x106)]),_0xc8811b=_0x7791a6['tooltipKey']?_0x35d606['t'](_0x7791a6[_0x543af4(0x34a)]):_0x3681e4,_0x4e7ef8=(0x0,_0x409856[_0x543af4(0x394)])(()=>{_0x4d2371||_0x57e8e4['reconnect']();},[_0x4d2371,_0x57e8e4]),_0x283f97=(0x0,_0x409856[_0x543af4(0x394)])(_0x2d32c=>{const _0x268eee=_0x543af4;!_0x4d2371&&(_0x2d32c['key']==='Enter'||_0x2d32c[_0x268eee(0x2a0)]==='\x20')&&(_0x2d32c[_0x268eee(0x279)](),_0x57e8e4[_0x268eee(0x3a3)]());},[_0x4d2371,_0x57e8e4]),_0x18a26d=(0x0,_0x3d820f[_0x543af4(0x413)])('span',{'className':(0x0,_0x78518c[_0x543af4(0x1d5)])(_0x543af4(0x27b),'univer-text-xl\x20univer-transition-colors\x20univer-duration-200',_0x7791a6[_0x543af4(0x195)],{'univer-animate-spin':_0x7791a6[_0x543af4(0x218)]==='spin','univer-animate-pulse':_0x7791a6['indicator']===_0x543af4(0x387)}),'aria-hidden':'true','children':_0x7791a6[_0x543af4(0x20b)]}),_0x4ad2a8=(0x0,_0x3d820f[_0x543af4(0x413)])(_0x543af4(0x28f),{'className':(0x0,_0x78518c[_0x543af4(0x1d5)])('univer-flex\x20univer-items-center\x20univer-justify-center',_0x543af4(0x3ef),'univer-transition-all\x20univer-duration-200','focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2',_0x543af4(0x19b),{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700':_0x7791a6['clickable'],'univer-cursor-default':!_0x7791a6['clickable']}),'children':_0x18a26d});return _0x7791a6[_0x543af4(0x1a7)]?(0x0,_0x3d820f['jsx'])(_0x78518c[_0x543af4(0x407)],{'title':_0xc8811b,'placement':_0x543af4(0x1b0),'children':(0x0,_0x3d820f[_0x543af4(0x413)])('button',{'type':_0x543af4(0x326),'onClick':_0x4e7ef8,'onKeyDown':_0x283f97,'className':(0x0,_0x78518c[_0x543af4(0x1d5)])(_0x543af4(0x3fa),_0x543af4(0x281),_0x543af4(0x2cd),_0x543af4(0x360)),'aria-label':_0x3681e4+_0x543af4(0x38a)+_0xc8811b,'role':_0x543af4(0x2e5),'aria-live':_0x543af4(0x1f1),'aria-atomic':_0x543af4(0x175),'children':_0x4ad2a8})}):(0x0,_0x3d820f[_0x543af4(0x413)])(_0x78518c[_0x543af4(0x407)],{'title':_0xc8811b,'placement':_0x543af4(0x1b0),'children':(0x0,_0x3d820f[_0x543af4(0x413)])(_0x543af4(0x406),{'className':(0x0,_0x78518c[_0x543af4(0x1d5)])('univer-inline-flex\x20univer-items-center\x20univer-justify-center',_0x543af4(0x281),'univer-m-0\x20univer-p-0'),'aria-label':_0x3681e4,'role':_0x543af4(0x2e5),'aria-live':_0x543af4(0x1f1),'aria-atomic':_0x543af4(0x175),'children':_0x4ad2a8})});}function _0x13487f(_0x480918){'@babel/helpers - typeof';const _0x1010f7=_0x51c22c;return _0x13487f=typeof Symbol==_0x1010f7(0x2a1)&&typeof Symbol[_0x1010f7(0x323)]==_0x1010f7(0x2a3)?function(_0x9c86ce){return typeof _0x9c86ce;}:function(_0xe29690){const _0x38fd7d=_0x1010f7;return _0xe29690&&typeof Symbol==_0x38fd7d(0x2a1)&&_0xe29690[_0x38fd7d(0x434)]===Symbol&&_0xe29690!==Symbol[_0x38fd7d(0x41a)]?_0x38fd7d(0x2a3):typeof _0xe29690;},_0x13487f(_0x480918);}function _0x3da5c1(_0x36785b,_0x34c8ea){const _0x1f3ada=_0x51c22c;if(_0x13487f(_0x36785b)!=_0x1f3ada(0x353)||!_0x36785b)return _0x36785b;var _0xc5289e=_0x36785b[Symbol['toPrimitive']];if(_0xc5289e!==void 0x0){var _0x56e977=_0xc5289e[_0x1f3ada(0x220)](_0x36785b,_0x34c8ea||_0x1f3ada(0x30d));if(_0x13487f(_0x56e977)!='object')return _0x56e977;throw TypeError(_0x1f3ada(0x39b));}return(_0x34c8ea===_0x1f3ada(0x215)?String:Number)(_0x36785b);}function _0xe473d3(_0x597b54){const _0x5b633a=_0x51c22c;var _0x100786=_0x3da5c1(_0x597b54,'string');return _0x13487f(_0x100786)==_0x5b633a(0x2a3)?_0x100786:_0x100786+'';}function _0x5211cd(_0x106c9d,_0x46a52c,_0x3f2649){return(_0x46a52c=_0xe473d3(_0x46a52c))in _0x106c9d?Object['defineProperty'](_0x106c9d,_0x46a52c,{'value':_0x3f2649,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x106c9d[_0x46a52c]=_0x3f2649,_0x106c9d;}function _0x1dae39(_0x2856d0,_0x3e3aed){return function(_0x2e7f64,_0x1864ba){_0x3e3aed(_0x2e7f64,_0x1864ba,_0x2856d0);};}function _0x3d1959(_0x15087b,_0x45b9dc,_0x4b8793,_0x4ad367){const _0x259b2c=_0x51c22c;var _0x3f3a85=arguments['length'],_0x5ecf0e=_0x3f3a85<0x3?_0x45b9dc:_0x4ad367===null?_0x4ad367=Object['getOwnPropertyDescriptor'](_0x45b9dc,_0x4b8793):_0x4ad367,_0x4c86b0;if(typeof Reflect==_0x259b2c(0x353)&&typeof Reflect[_0x259b2c(0x35e)]=='function')_0x5ecf0e=Reflect['decorate'](_0x15087b,_0x45b9dc,_0x4b8793,_0x4ad367);else{for(var _0x4d1ce7=_0x15087b[_0x259b2c(0x23f)]-0x1;_0x4d1ce7>=0x0;_0x4d1ce7--)(_0x4c86b0=_0x15087b[_0x4d1ce7])&&(_0x5ecf0e=(_0x3f3a85<0x3?_0x4c86b0(_0x5ecf0e):_0x3f3a85>0x3?_0x4c86b0(_0x45b9dc,_0x4b8793,_0x5ecf0e):_0x4c86b0(_0x45b9dc,_0x4b8793))||_0x5ecf0e);}return _0x3f3a85>0x3&&_0x5ecf0e&&Object['defineProperty'](_0x45b9dc,_0x4b8793,_0x5ecf0e),_0x5ecf0e;}let _0x5a6d55=class extends _0x4b44eb['Disposable']{constructor(_0x211c7a,_0x493747,_0x29536e,_0x2892ad,_0x236e29){const _0x14f075=_0x51c22c;super(),this[_0x14f075(0x257)]=_0x211c7a,this[_0x14f075(0x28c)]=_0x493747,this[_0x14f075(0x202)]=_0x29536e,this[_0x14f075(0x1d1)]=_0x2892ad,this['_presenceAdapterRegistry']=_0x236e29,_0x5211cd(this,_0x14f075(0x17b),new _0x2d19f1[(_0x14f075(0x237))](_0x2338a8['CollaborationStatus'][_0x14f075(0x165)])),_0x5211cd(this,'_presenceStatusRegistrations',new Map()),this[_0x14f075(0x440)](),this[_0x14f075(0x15b)](),this[_0x14f075(0x2ad)]();}[_0x51c22c(0x435)](){const _0x2d5703=_0x51c22c;this[_0x2d5703(0x21b)][_0x2d5703(0x2f7)](_0xdb5225=>_0xdb5225['dispose']()),this[_0x2d5703(0x21b)][_0x2d5703(0x299)](),this[_0x2d5703(0x17b)]['complete'](),super[_0x2d5703(0x435)]();}['_initStatusListener'](){const _0x42b240=_0x51c22c;this[_0x42b240(0x2d2)]((0x0,_0x2d19f1[_0x42b240(0x2af)])(this['_univerInstanceService'][_0x42b240(0x30a)],this[_0x42b240(0x257)][_0x42b240(0x3c4)](_0x4b44eb[_0x42b240(0x2d5)][_0x42b240(0x29f)]),this[_0x42b240(0x257)][_0x42b240(0x3c4)](_0x4b44eb['UniverInstanceType']['UNIVER_SHEET']))['pipe']((0x0,_0x5d3eb5['map'])(()=>_0x262a58(this[_0x42b240(0x257)])),(0x0,_0x5d3eb5[_0x42b240(0x194)])(),(0x0,_0x2d19f1[_0x42b240(0x167)])(_0x1f808f=>_0x1f808f?this[_0x42b240(0x202)][_0x42b240(0x210)](_0x1f808f):(0x0,_0x2d19f1['of'])(null)),(0x0,_0x2d19f1['switchMap'])(_0x294454=>_0x294454?_0x294454[_0x42b240(0x304)]:(0x0,_0x2d19f1['of'])(_0x2338a8[_0x42b240(0x449)][_0x42b240(0x165)])))[_0x42b240(0x15d)](_0x253e50=>{const _0x14a970=_0x42b240;this[_0x14a970(0x17b)][_0x14a970(0x1c2)](_0x253e50);}));}[_0x51c22c(0x440)](){const _0x3742fd=_0x51c22c;this[_0x3742fd(0x2d2)](this['_uiPartsService'][_0x3742fd(0x341)](_0x13c852[_0x3742fd(0x3b7)][_0x3742fd(0x250)],()=>(0x0,_0x13c852['connectInjector'])(_0x122a2f({'status$':this[_0x3742fd(0x17b)]['asObservable']()}),this[_0x3742fd(0x28c)])));}['_initPresenceStatusComponents'](){const _0x243bff=_0x51c22c;let _0x4ba457=this[_0x243bff(0x426)][_0x243bff(0x138)][_0x243bff(0x15d)](_0x31721e=>{const _0x270581=_0x243bff;this[_0x270581(0x2c1)](_0x31721e);});this[_0x243bff(0x2d2)]((0x0,_0x4b44eb[_0x243bff(0x30c)])(()=>_0x4ba457[_0x243bff(0x211)]()));}[_0x51c22c(0x2c1)](_0x4d34b7){const _0x3477bf=_0x51c22c;let _0x234c12=new Map(_0x4d34b7[_0x3477bf(0x41f)](_0x2c4294=>_0x2c4294['statusUIPart']!=null)[_0x3477bf(0x33c)](_0x557fb4=>[_0x557fb4[_0x3477bf(0x35d)],_0x557fb4]));this[_0x3477bf(0x21b)][_0x3477bf(0x2f7)]((_0x41aaad,_0xca39fd)=>{const _0x1b72ff=_0x3477bf;_0x234c12[_0x1b72ff(0x318)](_0xca39fd)||(_0x41aaad[_0x1b72ff(0x435)](),this[_0x1b72ff(0x21b)]['delete'](_0xca39fd));}),_0x234c12['forEach']((_0x503bad,_0x565f78)=>{const _0x10da90=_0x3477bf;this[_0x10da90(0x21b)][_0x10da90(0x318)](_0x565f78)||this[_0x10da90(0x325)](_0x503bad);});}[_0x51c22c(0x325)](_0x2ea692){const _0x491c5d=_0x51c22c;let _0x5cd7bb=_0x2ea692[_0x491c5d(0x402)];if(!_0x5cd7bb)return;let _0x31fa7e=new _0x4b44eb[(_0x491c5d(0x1c4))](),_0x55c737=new _0x2d19f1[(_0x491c5d(0x237))](_0x2338a8['CollaborationStatus'][_0x491c5d(0x165)]);_0x31fa7e[_0x491c5d(0x2e3)]((0x0,_0x4b44eb[_0x491c5d(0x30c)])(()=>_0x55c737[_0x491c5d(0x3af)]())),_0x31fa7e[_0x491c5d(0x2e3)](this[_0x491c5d(0x1d1)]['registerComponent'](_0x5cd7bb,()=>(0x0,_0x13c852[_0x491c5d(0x2c7)])(_0x122a2f({'status$':_0x55c737['asObservable']()}),this[_0x491c5d(0x28c)])));let _0x3fc092=this[_0x491c5d(0x257)][_0x491c5d(0x3c4)](_0x2ea692[_0x491c5d(0x35d)])[_0x491c5d(0x1d3)]((0x0,_0x5d3eb5[_0x491c5d(0x33c)])(_0x43af9d=>(_0x43af9d==null?void 0x0:_0x43af9d[_0x491c5d(0x3fd)]())??null),(0x0,_0x5d3eb5[_0x491c5d(0x194)])(),(0x0,_0x2d19f1[_0x491c5d(0x167)])(_0x21f8bc=>_0x21f8bc?this['_collaborationController'][_0x491c5d(0x210)](_0x21f8bc):(0x0,_0x2d19f1['of'])(null)),(0x0,_0x2d19f1[_0x491c5d(0x167)])(_0x28e4b8=>(_0x28e4b8==null?void 0x0:_0x28e4b8['status$'])??(0x0,_0x2d19f1['of'])(_0x2338a8['CollaborationStatus'][_0x491c5d(0x165)])))[_0x491c5d(0x15d)](_0x24b95f=>_0x55c737['next'](_0x24b95f));_0x31fa7e[_0x491c5d(0x2e3)]((0x0,_0x4b44eb[_0x491c5d(0x30c)])(()=>_0x3fc092[_0x491c5d(0x211)]())),this[_0x491c5d(0x21b)]['set'](_0x2ea692[_0x491c5d(0x35d)],_0x31fa7e);}};_0x5a6d55=_0x3d1959([_0x1dae39(0x0,_0x4b44eb[_0x51c22c(0x3f7)]),_0x1dae39(0x1,(0x0,_0x4b44eb[_0x51c22c(0x154)])(_0x4b44eb[_0x51c22c(0x1fd)])),_0x1dae39(0x2,(0x0,_0x4b44eb[_0x51c22c(0x154)])(_0x2338a8[_0x51c22c(0x19d)])),_0x1dae39(0x3,_0x13c852[_0x51c22c(0x38e)]),_0x1dae39(0x4,(0x0,_0x4b44eb[_0x51c22c(0x154)])(_0x13c852['IUnitPresenceUIAdapterRegistry']))],_0x5a6d55);function _0x262a58(_0x415372){const _0x23cb91=_0x51c22c;let _0x374365=_0x415372[_0x23cb91(0x1e0)](),_0x1cc25d=_0x374365==null?void 0x0:_0x374365[_0x23cb91(0x3fd)]();if(_0x1cc25d&&!(0x0,_0x4b44eb[_0x23cb91(0x3ca)])(_0x1cc25d))return _0x1cc25d;let _0x5e136e=_0x415372[_0x23cb91(0x3dc)](_0x4b44eb[_0x23cb91(0x2d5)]['UNIVER_DOC']),_0x41b4b9=_0x5e136e==null?void 0x0:_0x5e136e[_0x23cb91(0x3fd)]();if(_0x41b4b9&&!(0x0,_0x4b44eb['isInternalEditorID'])(_0x41b4b9))return _0x41b4b9;let _0x3c5ec9=_0x415372[_0x23cb91(0x3dc)](_0x4b44eb[_0x23cb91(0x2d5)][_0x23cb91(0x111)]);if(_0x3c5ec9)return _0x3c5ec9[_0x23cb91(0x3fd)]();let _0x535ef6=_0x415372[_0x23cb91(0x329)](_0x4b44eb[_0x23cb91(0x2d5)][_0x23cb91(0x29f)])[_0x23cb91(0x3da)](_0x573670=>!(0x0,_0x4b44eb[_0x23cb91(0x3ca)])(_0x573670['getUnitId']()));return _0x535ef6?_0x535ef6[_0x23cb91(0x3fd)]():null;}function _0x122a2f(_0x418a2b){let {status$:_0x2bb27f}=_0x418a2b;return function(){const _0x31c336=_0x463c;return(0x0,_0x3d820f[_0x31c336(0x413)])(_0x1502e7,{'status$':_0x2bb27f});};}var _0x18af0c=_0x51c22c(0x40f),_0x28be4e=_0x51c22c(0x25f);let _0x518f6b={'id':_0x51c22c(0x3cc),'type':_0x4b44eb[_0x51c22c(0x1ae)][_0x51c22c(0x2ba)],'handler':(_0x2056ea,_0x4b3d5e)=>{const _0x1fdc89=_0x51c22c;let _0x5b45ed=_0x2056ea['get'](_0x13c852[_0x1fdc89(0x168)])['get'](_0x4b3d5e['unitType']);if(!_0x5b45ed)return!0x1;switch(_0x4b3d5e['update']['type']){case _0x1fdc89(0x381):return _0x5b45ed[_0x1fdc89(0x1d4)](_0x4b3d5e[_0x1fdc89(0x1c7)]['state']),!0x0;case _0x1fdc89(0x1ef):return _0x5b45ed[_0x1fdc89(0x43e)](_0x4b3d5e[_0x1fdc89(0x1c7)]['unitId'],_0x4b3d5e['update'][_0x1fdc89(0x1e1)]),!0x0;case'clear':return _0x5b45ed[_0x1fdc89(0x2d8)](_0x4b3d5e[_0x1fdc89(0x1c7)][_0x1fdc89(0x246)]),!0x0;default:return!0x1;}}},_0x169938={},_0x3b4cd6=class extends _0x4b44eb[_0x51c22c(0x308)]{constructor(_0x41dfce,_0x10d3a9){const _0x5729dd=_0x51c22c;super(),this[_0x5729dd(0x113)]=_0x41dfce,this[_0x5729dd(0x14c)]=_0x10d3a9,this[_0x5729dd(0x2c5)]();}[_0x51c22c(0x2c5)](){const _0x4e5d2b=_0x51c22c;let _0x21aeac=this;this[_0x4e5d2b(0x2d2)](this['_docClipboardService'][_0x4e5d2b(0x2ec)]({'onBeforePasteImage':async _0x27c261=>{const _0x141009=_0x4e5d2b;let _0x2e010d=await _0x21aeac[_0x141009(0x14c)]['saveImage'](_0x27c261);return _0x2e010d?{'source':_0x2e010d['source'],'imageSourceType':_0x2e010d[_0x141009(0x2b3)]}:null;}}));}};_0x3b4cd6=_0x3d1959([_0x1dae39(0x0,_0x44014a['IDocClipboardService']),_0x1dae39(0x1,_0x4b44eb[_0x51c22c(0x31b)])],_0x3b4cd6);let _0x392aed=['purple.300','jiqing.500','green.600',_0x51c22c(0x1bc),_0x51c22c(0x3ec),'yellow.400'];var _0x5bb27a=class extends _0x4b44eb[_0x51c22c(0x179)]{constructor(..._0x171f3e){const _0xbbcfef=_0x51c22c;super(..._0x171f3e),_0x5211cd(this,'_assignedColors',new Map()),_0x5211cd(this,_0xbbcfef(0x380),0x0);}[_0x51c22c(0x142)](_0x354023){const _0x3e3ead=_0x51c22c;if(this[_0x3e3ead(0x176)][_0x3e3ead(0x318)](_0x354023))return this[_0x3e3ead(0x176)][_0x3e3ead(0x3e4)](_0x354023);let _0x370bcf=_0x392aed[this[_0x3e3ead(0x380)]];return this['_colorIndex']=(this[_0x3e3ead(0x380)]+0x1)%_0x392aed[_0x3e3ead(0x23f)],this[_0x3e3ead(0x176)][_0x3e3ead(0x381)](_0x354023,_0x370bcf),_0x370bcf;}};function _0x12644a(_0x281ffd){const _0x471318=_0x51c22c;let _0x5a6d8c='';for(let _0x3e026a of _0x281ffd){let {startOffset:_0x17b034,endOffset:_0x35a00d,isActive:_0x47d055,rangeType:_0x1245c6,segmentId:_0x28d915,segmentPage:_0x2ff163}=_0x3e026a;_0x5a6d8c[_0x471318(0x23f)]&&(_0x5a6d8c+=','),_0x5a6d8c+=_0x17b034+':'+_0x35a00d+':'+(_0x47d055?'1':'0')+':'+_0x1245c6+':'+_0x28d915+':'+_0x2ff163;}return _0x5a6d8c;}function _0x1f1052(_0x3312a7){const _0x21caca=_0x51c22c;let _0xcb1378=_0x3312a7[_0x21caca(0x3ab)](','),_0x20d905=[];for(let _0x59b9fb of _0xcb1378){let [_0x3c5129,_0x308108,_0xb5f275,_0x43a568,_0x189515,_0x45ac17]=_0x59b9fb[_0x21caca(0x3ab)](':');_0x20d905[_0x21caca(0x309)]({'startOffset':Number(_0x3c5129),'endOffset':Number(_0x308108),'collapsed':_0x3c5129===_0x308108,'isActive':_0xb5f275==='1','rangeType':_0x43a568===_0x4b44eb[_0x21caca(0x245)][_0x21caca(0x34e)]?_0x4b44eb[_0x21caca(0x245)][_0x21caca(0x34e)]:_0x4b44eb[_0x21caca(0x245)][_0x21caca(0x32a)],'segmentId':typeof _0x189515==_0x21caca(0x215)?String(_0x189515):'','segmentPage':Number(_0x45ac17??-0x1)});}return _0x20d905[_0x21caca(0x359)](_0x44f4df=>_0x44f4df['isActive'])||(_0x20d905[0x0]['isActive']=!0x0),_0x20d905;}var _0x250553=class extends _0x4b44eb[_0x51c22c(0x308)]{constructor(..._0x14947d){const _0x2f593b=_0x51c22c;super(..._0x14947d),_0x5211cd(this,_0x2f593b(0x2f8),new _0x2d19f1[(_0x2f593b(0x237))](null)),_0x5211cd(this,_0x2f593b(0x350),this[_0x2f593b(0x2f8)][_0x2f593b(0x149)]());}[_0x51c22c(0x2f4)](_0x219d96){const _0x2aa398=_0x51c22c;let {unitID:_0x172525,memberID:_0x4fa6e8,textRanges:_0xc9cd81}=_0x219d96,_0x285b93=_0x12644a(_0xc9cd81);if(_0x285b93==='')return;let _0x1e421a={'unitID':_0x172525,'memberID':_0x4fa6e8,'selection':_0x285b93};this[_0x2aa398(0x2f8)][_0x2aa398(0x1c2)](_0x1e421a);}};let _0x25aaec=class extends _0x4b44eb[_0x51c22c(0x308)]{get[_0x51c22c(0x418)](){const _0x19c21c=_0x51c22c;return this[_0x19c21c(0x400)][_0x19c21c(0x169)]();}get[_0x51c22c(0x3d8)](){const _0x1bc980=_0x51c22c;return this[_0x1bc980(0x344)][_0x1bc980(0x169)]();}constructor(_0x1479b2,_0x4e9e21,_0x4f52da,_0x51c886,_0x2439a5,_0xf342e0,_0x330246,_0x13605f,_0x8ab218){const _0x5ce043=_0x51c22c;super(),this[_0x5ce043(0x256)]=_0x1479b2,this[_0x5ce043(0x1d0)]=_0x4e9e21,this[_0x5ce043(0x28c)]=_0x4f52da,this['_colorAssignService']=_0x51c886,this[_0x5ce043(0x136)]=_0x2439a5,this['_syncEditingCollabCursorService']=_0xf342e0,this[_0x5ce043(0x1b7)]=_0x330246,this['_univerInstanceService']=_0x13605f,this[_0x5ce043(0x200)]=_0x8ab218,_0x5211cd(this,_0x5ce043(0x321),!0x1),_0x5211cd(this,'_init',!0x1),_0x5211cd(this,'_cursorInfo$',new _0x2d19f1[(_0x5ce043(0x237))](new Map())),_0x5211cd(this,'cursorInfo$',this['_cursorInfo$'][_0x5ce043(0x149)]()),_0x5211cd(this,'_roomMembers$',new _0x2d19f1[(_0x5ce043(0x237))]([])),_0x5211cd(this,_0x5ce043(0x120),this[_0x5ce043(0x344)]['pipe']((0x0,_0x2d19f1['debounceTime'])(0x12c))),_0x5211cd(this,_0x5ce043(0x214),(0x0,_0x4b44eb[_0x5ce043(0xf5)])(_0x231a57=>{const _0x4e355a=_0x5ce043;let _0x3f1e63={'eventID':_0x5d903f[_0x4e355a(0x141)][_0x4e355a(0x14b)],'data':{'unitID':this['unitID'],'memberID':this[_0x4e355a(0x1d0)][_0x4e355a(0x2fa)](),'selection':_0x12644a(_0x231a57)}};this['_session'][_0x4e355a(0x43b)](_0x3f1e63,this['unitID']);},0x64));}[_0x51c22c(0x435)](){const _0x1aaa3d=_0x51c22c;super['dispose'](),this[_0x1aaa3d(0x400)][_0x1aaa3d(0x1c2)](new Map()),this[_0x1aaa3d(0x400)]['complete'](),this['_roomMembers$'][_0x1aaa3d(0x1c2)]([]),this[_0x1aaa3d(0x344)][_0x1aaa3d(0x3af)]();}[_0x51c22c(0x263)](){const _0x2d0a79=_0x51c22c;this[_0x2d0a79(0x2c5)]||(this[_0x2d0a79(0x2c5)]=!0x0,this[_0x2d0a79(0x1d0)][_0x2d0a79(0x1d6)][_0x2d0a79(0x1d3)]((0x0,_0x2d19f1[_0x2d0a79(0x129)])(this['dispose$']))[_0x2d0a79(0x15d)](_0x51fbaf=>{const _0x2ae4de=_0x2d0a79;_0x51fbaf===_0x2338a8[_0x2ae4de(0x334)]['ONLINE']?this['_toggleOnline']():this[_0x2ae4de(0x270)]();}),this['_session'][_0x2d0a79(0x3fb)][_0x2d0a79(0x1d3)]((0x0,_0x2d19f1['takeUntil'])(this[_0x2d0a79(0x37d)]))[_0x2d0a79(0x15d)](_0x4797bf=>{const _0x2bb93a=_0x2d0a79;let _0x58e915=_0x4797bf[_0x2bb93a(0x18f)];_0x58e915===_0x5d903f[_0x2bb93a(0x141)]['UPDATE_CURSOR']&&this[_0x2bb93a(0x332)](_0x4797bf),_0x58e915===_0x5d903f['CollaborationEvent'][_0x2bb93a(0x3c6)]&&this['_onCursorDelete'](_0x4797bf);}),this[_0x2d0a79(0x2d2)](this[_0x2d0a79(0x200)][_0x2d0a79(0x425)](_0x30fa06=>{const _0x517a47=_0x2d0a79;let _0x5477d7=_0x30fa06[_0x517a47(0x295)];_0x5477d7!=null&&this['_online']&&_0x30fa06['id']===_0x228ee9[_0x517a47(0x25b)]['id']&&_0x5477d7[_0x517a47(0x246)]===this[_0x517a47(0x256)]&&_0x5477d7[_0x517a47(0x2fd)]===!0x1&&_0x5477d7[_0x517a47(0x121)][_0x517a47(0x23f)]>0x0&&this['_updateLocalCursor'](_0x5477d7['ranges']);})),this[_0x2d0a79(0x151)][_0x2d0a79(0x350)][_0x2d0a79(0x1d3)]((0x0,_0x2d19f1['takeUntil'])(this[_0x2d0a79(0x37d)]))[_0x2d0a79(0x15d)](_0x4d8a10=>{const _0x3bc014=_0x2d0a79;if((_0x4d8a10==null?void 0x0:_0x4d8a10[_0x3bc014(0x256)])!==this['unitID'])return;let _0x46b99b={'eventID':_0x5d903f[_0x3bc014(0x141)][_0x3bc014(0x14b)],'data':_0x4d8a10};this[_0x3bc014(0x332)](_0x46b99b);}),this[_0x2d0a79(0x2d2)](this[_0x2d0a79(0x200)]['onCommandExecuted'](_0x333b0b=>{const _0x4bab12=_0x2d0a79;if(_0x333b0b[_0x4bab12(0x295)]==null)return;let _0xcf8e3=_0x333b0b[_0x4bab12(0x295)];if(_0x333b0b['id']!==_0x228ee9[_0x4bab12(0x178)]['id']||_0xcf8e3[_0x4bab12(0x246)]!==this[_0x4bab12(0x256)])return;let _0xeea1f4={'id':_0x4bab12(0x3a4),'params':_0xcf8e3},_0x308df7=this['cursorInfo'];for(let [_0xed7f61,_0x1503ff]of _0x308df7){let _0x3385c3={'id':_0x4bab12(0x3a4),'params':{'unitId':this[_0x4bab12(0x256)],'actions':null,'textRanges':_0x1503ff['ranges']}},_0x5c92a7=this['_transformService']['transformMutation'](_0xeea1f4,_0x3385c3,!0x1);if((0x0,_0x5d903f['isTransformMutationFailure'])(_0x5c92a7))throw _0x5c92a7[_0x4bab12(0x410)];_0x308df7[_0x4bab12(0x381)](_0xed7f61,{..._0x1503ff,'ranges':_0x5c92a7[_0x4bab12(0x3d6)][_0x4bab12(0x295)]['textRanges']});}queueMicrotask(()=>{const _0x332e28=_0x4bab12;this[_0x332e28(0x400)][_0x332e28(0x1c2)](_0x308df7);});})));}[_0x51c22c(0x332)](_0x5443d7){const _0x4e8271=_0x51c22c;var _0x538756;let {memberID:_0x1347b3,selection:_0xd9257c}=_0x5443d7[_0x4e8271(0x1d7)],_0x257238=_0x1f1052(_0xd9257c),_0x4f666f=((_0x538756=this['_memberService']['getMember'](this['unitID'],_0x1347b3))==null?void 0x0:_0x538756['name'])??_0x4e8271(0x26f),_0x54a6c2={'color':this[_0x4e8271(0x2d0)]['assignAColorForMemberID'](_0x1347b3),'name':_0x4f666f,'ranges':_0x257238},_0x310f61=this[_0x4e8271(0x418)];_0x310f61['set'](_0x1347b3,_0x54a6c2),this[_0x4e8271(0x400)][_0x4e8271(0x1c2)](_0x310f61);}[_0x51c22c(0x1b5)](_0x275407){const _0x382d1c=_0x51c22c;let {memberID:_0x14d93f}=_0x275407[_0x382d1c(0x1d7)],_0x3ae307=this[_0x382d1c(0x418)];_0x3ae307[_0x382d1c(0x3b6)](_0x14d93f),this[_0x382d1c(0x400)][_0x382d1c(0x1c2)](_0x3ae307);}[_0x51c22c(0x26e)](){const _0x505856=_0x51c22c;var _0x3d3c49;if(this[_0x505856(0x321)]=!0x0,((_0x3d3c49=this[_0x505856(0x257)][_0x505856(0x1e0)]())==null?void 0x0:_0x3d3c49[_0x505856(0x3fd)]())!==this[_0x505856(0x256)])return;let _0x31d164=this[_0x505856(0x28c)]['get'](_0x228ee9[_0x505856(0x3b2)])[_0x505856(0x347)]();Array['isArray'](_0x31d164)&&_0x31d164['length']>0x0&&this[_0x505856(0x214)](_0x31d164);}[_0x51c22c(0x270)](){const _0x5eb567=_0x51c22c;this[_0x5eb567(0x321)]=!0x1;}};_0x25aaec=_0x3d1959([_0x1dae39(0x2,(0x0,_0x4b44eb[_0x51c22c(0x154)])(_0x4b44eb[_0x51c22c(0x1fd)])),_0x1dae39(0x3,(0x0,_0x4b44eb[_0x51c22c(0x154)])(_0x5bb27a)),_0x1dae39(0x4,(0x0,_0x4b44eb['Inject'])(_0x2338a8[_0x51c22c(0x32b)])),_0x1dae39(0x5,(0x0,_0x4b44eb[_0x51c22c(0x154)])(_0x250553)),_0x1dae39(0x6,_0x5d903f['ITransformService']),_0x1dae39(0x7,_0x4b44eb[_0x51c22c(0x3f7)]),_0x1dae39(0x8,_0x4b44eb['ICommandService'])],_0x25aaec);let _0x3f6f62=()=>{let _0x27aff6=[],_0xc35a0e=!0x1;return _0x3d3777=>{const _0x19fd5c=_0x463c;_0x27aff6[_0x19fd5c(0x309)](_0x3d3777),_0xc35a0e||(_0xc35a0e=!0x0,setTimeout(()=>{const _0x3a7298=_0x19fd5c;_0x27aff6[_0x3a7298(0x2f7)](_0x5b828c=>_0x5b828c()),_0x27aff6=[],_0xc35a0e=!0x1;}));};},_0x1b4a41=class extends _0x4b44eb['RxDisposable']{get[_0x51c22c(0x418)](){const _0xb489f2=_0x51c22c;return this[_0xb489f2(0x400)]['getValue']();}get[_0x51c22c(0x3d8)](){const _0x87ef9d=_0x51c22c;return this[_0x87ef9d(0x344)][_0x87ef9d(0x169)]();}constructor(_0x362ca6,_0x317bc8,_0x5f06a2,_0xa5abe5,_0x7b09d0,_0x8e7877,_0x1d0c7b,_0x397315){const _0x27f718=_0x51c22c;super(),this[_0x27f718(0x256)]=_0x362ca6,this[_0x27f718(0x1d0)]=_0x317bc8,this[_0x27f718(0x28c)]=_0x5f06a2,this[_0x27f718(0x2d0)]=_0xa5abe5,this['_memberService']=_0x7b09d0,this[_0x27f718(0x257)]=_0x8e7877,this[_0x27f718(0x200)]=_0x1d0c7b,this['_refRangeService']=_0x397315,_0x5211cd(this,'_online',!0x1),_0x5211cd(this,_0x27f718(0x2c5),!0x1),_0x5211cd(this,_0x27f718(0x400),new _0x2d19f1['BehaviorSubject'](new Map())),_0x5211cd(this,_0x27f718(0x34d),this[_0x27f718(0x400)][_0x27f718(0x149)]()),_0x5211cd(this,_0x27f718(0x344),new _0x2d19f1[(_0x27f718(0x237))]([])),_0x5211cd(this,_0x27f718(0x120),this[_0x27f718(0x344)][_0x27f718(0x1d3)]((0x0,_0x2d19f1[_0x27f718(0x157)])(0x12c))),_0x5211cd(this,_0x27f718(0x214),(0x0,_0x4b44eb[_0x27f718(0xf5)])((_0x10d3ba,_0x29fcae)=>{const _0x26a216=_0x27f718;let _0x28aa6e={'eventID':_0x5d903f[_0x26a216(0x141)][_0x26a216(0x14b)],'data':{'unitID':this[_0x26a216(0x256)],'memberID':this['_session']['getMemberID'](),'selection':(0x0,_0x2e8ee8[_0x26a216(0x187)])(_0x10d3ba,_0x29fcae['range'])}};this['_session'][_0x26a216(0x43b)](_0x28aa6e,this['unitID']);},0x64));}[_0x51c22c(0x435)](){const _0x3a6ec3=_0x51c22c;super[_0x3a6ec3(0x435)](),this[_0x3a6ec3(0x400)]['next'](new Map()),this['_cursorInfo$'][_0x3a6ec3(0x3af)](),this[_0x3a6ec3(0x344)][_0x3a6ec3(0x1c2)]([]),this[_0x3a6ec3(0x344)]['complete']();}['init'](){const _0x53768e=_0x51c22c;this[_0x53768e(0x2c5)]||(this['_init']=!0x0,this[_0x53768e(0x1d0)]['sessionStatus$']['pipe']((0x0,_0x2d19f1[_0x53768e(0x129)])(this[_0x53768e(0x37d)]))[_0x53768e(0x15d)](_0x50442a=>{const _0x1dd410=_0x53768e;_0x50442a===_0x2338a8[_0x1dd410(0x334)][_0x1dd410(0x28b)]?this[_0x1dd410(0x26e)]():this[_0x1dd410(0x270)]();}),this[_0x53768e(0x1d0)][_0x53768e(0x3fb)]['pipe']((0x0,_0x2d19f1['takeUntil'])(this[_0x53768e(0x37d)]))[_0x53768e(0x15d)](_0x3bb527=>{const _0x30c47f=_0x53768e;let _0x3b6e33=_0x3bb527[_0x30c47f(0x18f)];_0x3b6e33===_0x5d903f[_0x30c47f(0x141)][_0x30c47f(0x14b)]&&this['_onCursorUpdate'](_0x3bb527),_0x3b6e33===_0x5d903f['CollaborationEvent'][_0x30c47f(0x3c6)]&&this[_0x30c47f(0x1b5)](_0x3bb527);}),this['_onRefRangeChange'](),this[_0x53768e(0x2d2)](this['_commandService']['onCommandExecuted'](_0x1c4ce8=>{const _0x1cb0a0=_0x53768e;if(this[_0x1cb0a0(0x321)]&&_0x1c4ce8['id']===_0x19c3a6[_0x1cb0a0(0x399)]['id']&&_0x1c4ce8['params']['unitId']===this[_0x1cb0a0(0x256)]){let _0x32c020=_0x1c4ce8[_0x1cb0a0(0x295)];this[_0x1cb0a0(0x214)](_0x32c020[_0x1cb0a0(0x340)],_0x32c020['selections'][0x0]);}})));}[_0x51c22c(0x332)](_0x7cb2c4){const _0x2c76dc=_0x51c22c;var _0x2fdfb0;let {memberID:_0x21a167,selection:_0x9ec289}=_0x7cb2c4[_0x2c76dc(0x1d7)],{sheetName:_0x35cbd2,range:_0x24e97d}=(0x0,_0x2e8ee8['deserializeRangeWithSheet'])(_0x9ec289),_0x4c3c57={'name':((_0x2fdfb0=this[_0x2c76dc(0x136)][_0x2c76dc(0x198)](this[_0x2c76dc(0x256)],_0x21a167))==null?void 0x0:_0x2fdfb0['name'])??_0x2c76dc(0x26f),'range':this[_0x2c76dc(0x227)](_0x35cbd2,_0x24e97d),'sheetID':_0x35cbd2,'color':this[_0x2c76dc(0x2d0)][_0x2c76dc(0x142)](_0x21a167),'selection':_0x9ec289},_0x5435ef=this[_0x2c76dc(0x418)];_0x5435ef[_0x2c76dc(0x381)](_0x21a167,_0x4c3c57),this['_cursorInfo$'][_0x2c76dc(0x1c2)](_0x5435ef);}[_0x51c22c(0x1b5)](_0x152338){const _0x516448=_0x51c22c;let {memberID:_0x2e09d9}=_0x152338[_0x516448(0x1d7)],_0x4464ef=this[_0x516448(0x418)];_0x4464ef[_0x516448(0x3b6)](_0x2e09d9),this[_0x516448(0x400)][_0x516448(0x1c2)](_0x4464ef);}['_getMergeRange'](_0x39a90e,_0x293d70){const _0x2f1242=_0x51c22c;var _0x2681bc;let _0x206126=(_0x2681bc=this[_0x2f1242(0x257)]['getUnit'](this['unitID'],_0x4b44eb[_0x2f1242(0x2d5)][_0x2f1242(0x111)]))==null||(_0x2681bc=_0x2681bc[_0x2f1242(0x19a)](_0x39a90e))==null?void 0x0:_0x2681bc[_0x2f1242(0x193)]();return(_0x206126==null?void 0x0:_0x206126[_0x2f1242(0x3da)](_0x21f72c=>_0x4b44eb[_0x2f1242(0x2b8)][_0x2f1242(0x3ee)](_0x21f72c,_0x293d70)))||_0x293d70;}[_0x51c22c(0x3c0)](){const _0x400255=_0x51c22c;let _0xa7791b=new _0x4b44eb[(_0x400255(0x1c4))](),_0x3bbac3=_0x3f6f62(),_0x5e75f4=()=>{const _0x212908=_0x400255;_0xa7791b['dispose']();let _0xc78b5e=(_0x3352f9,_0x1aa71e,_0x54970f,_0x4b2edc)=>{const _0x51999c=_0x463c;let _0x30c99c=[];switch(_0x3352f9['id']){case _0x19c3a6[_0x51999c(0x29d)]['DeleteRangeMoveLeftCommandId']:_0x30c99c=(0x0,_0x19c3a6[_0x51999c(0x3f2)])(_0x3352f9,_0x4b2edc);break;case _0x19c3a6[_0x51999c(0x29d)][_0x51999c(0x1b3)]:_0x30c99c=(0x0,_0x19c3a6[_0x51999c(0x23b)])(_0x3352f9,_0x4b2edc);break;case _0x19c3a6['EffectRefRangId']['InsertColCommandId']:_0x30c99c=(0x0,_0x19c3a6[_0x51999c(0x13a)])(_0x3352f9,_0x4b2edc);break;case _0x19c3a6[_0x51999c(0x29d)]['InsertRangeMoveDownCommandId']:_0x30c99c=(0x0,_0x19c3a6[_0x51999c(0x139)])(_0x3352f9,_0x4b2edc);break;case _0x19c3a6['EffectRefRangId']['InsertRangeMoveRightCommandId']:_0x30c99c=(0x0,_0x19c3a6[_0x51999c(0x3c5)])(_0x3352f9,_0x4b2edc);break;case _0x19c3a6[_0x51999c(0x29d)][_0x51999c(0x40e)]:_0x30c99c=(0x0,_0x19c3a6[_0x51999c(0x3aa)])(_0x3352f9,_0x4b2edc);break;case _0x19c3a6['EffectRefRangId']['MoveRangeCommandId']:_0x30c99c=(0x0,_0x19c3a6['handleMoveRange'])(_0x3352f9,_0x4b2edc);break;case _0x19c3a6[_0x51999c(0x29d)]['RemoveColCommandId']:_0x30c99c=(0x0,_0x19c3a6[_0x51999c(0x192)])(_0x3352f9,_0x4b2edc);break;case _0x19c3a6[_0x51999c(0x29d)][_0x51999c(0x405)]:_0x30c99c=(0x0,_0x19c3a6[_0x51999c(0x2bb)])(_0x3352f9,_0x4b2edc);}let _0x1b33c1=(0x0,_0x19c3a6[_0x51999c(0x3b3)])(_0x30c99c,_0x4b2edc),_0x599633=this[_0x51999c(0x418)][_0x51999c(0x3e4)](_0x1aa71e);if(_0x599633&&_0x1b33c1){let _0x576d66={..._0x599633,'range':_0x1b33c1};this['cursorInfo']['set'](_0x1aa71e,_0x576d66),_0x3bbac3(()=>{const _0x5ae03e=_0x51999c;let _0x4ae988=this[_0x5ae03e(0x3cd)][_0x5ae03e(0x21e)](_0x1b33c1,_0x3b629b=>(_0x4ae988[_0x5ae03e(0x435)](),_0xc78b5e(_0x3b629b,_0x1aa71e,_0x54970f,_0x1b33c1)));_0xa7791b[_0x5ae03e(0x2e3)](_0x4ae988);});}return{'redos':[],'undos':[]};};this[_0x212908(0x418)][_0x212908(0x2f7)]((_0x385631,_0x38a7c4)=>{const _0x869d03=_0x212908;let {range:_0x1e649f,sheetID:_0x5d2232}=_0x385631,_0x10733b=this['_refRangeService'][_0x869d03(0x21e)](_0x1e649f,_0x77ae92=>(_0x10733b[_0x869d03(0x435)](),_0xc78b5e(_0x77ae92,_0x38a7c4,_0x5d2232,_0x1e649f)));_0xa7791b['add'](_0x10733b);});};this[_0x400255(0x2d2)]((0x0,_0x4b44eb[_0x400255(0x30c)])(this[_0x400255(0x400)][_0x400255(0x15d)](()=>{_0x5e75f4();})));}['_toggleOnline'](){const _0x45800a=_0x51c22c;var _0x102818,_0x389edf;if(this[_0x45800a(0x321)]=!0x0,((_0x102818=this[_0x45800a(0x257)][_0x45800a(0x1e0)]())==null?void 0x0:_0x102818[_0x45800a(0x3fd)]())!==this[_0x45800a(0x256)])return;let _0x215859=(_0x389edf=this[_0x45800a(0x28c)]['get'](_0x19c3a6[_0x45800a(0x343)])['getCurrentSelections']())==null?void 0x0:_0x389edf[0x0],_0x368219=this['_univerInstanceService'][_0x45800a(0x3dc)](_0x4b44eb['UniverInstanceType'][_0x45800a(0x111)])[_0x45800a(0x118)]();_0x215859&&_0x368219&&this[_0x45800a(0x214)](_0x368219[_0x45800a(0x1b2)](),_0x215859);}[_0x51c22c(0x270)](){const _0x39a0d8=_0x51c22c;this[_0x39a0d8(0x321)]=!0x1;}};_0x1b4a41=_0x3d1959([_0x1dae39(0x2,(0x0,_0x4b44eb[_0x51c22c(0x154)])(_0x4b44eb[_0x51c22c(0x1fd)])),_0x1dae39(0x3,(0x0,_0x4b44eb[_0x51c22c(0x154)])(_0x5bb27a)),_0x1dae39(0x4,(0x0,_0x4b44eb[_0x51c22c(0x154)])(_0x2338a8[_0x51c22c(0x32b)])),_0x1dae39(0x5,_0x4b44eb[_0x51c22c(0x3f7)]),_0x1dae39(0x6,_0x4b44eb[_0x51c22c(0x1bf)]),_0x1dae39(0x7,(0x0,_0x4b44eb[_0x51c22c(0x154)])(_0x19c3a6[_0x51c22c(0x114)]))],_0x1b4a41);let _0x15694a=class extends _0x4b44eb['RxDisposable']{constructor(_0x290813,_0x45f7bf,_0x26b801){const _0x404621=_0x51c22c;super(),this['_univerInstanceService']=_0x290813,this[_0x404621(0x28c)]=_0x45f7bf,this['_collabSessionService']=_0x26b801,_0x5211cd(this,_0x404621(0xf7),new Map()),_0x5211cd(this,_0x404621(0x29c),new _0x2d19f1[(_0x404621(0x2b2))]()),this[_0x404621(0x2c5)]();}[_0x51c22c(0x435)](){const _0x12d678=_0x51c22c;super[_0x12d678(0x435)](),this[_0x12d678(0x29c)]['complete'](),this[_0x12d678(0xf7)][_0x12d678(0x2f7)](_0x520f9b=>_0x520f9b['dispose']());}[_0x51c22c(0x390)](_0x4a3a8c){const _0x4d0348=_0x51c22c;let _0x197e95=this[_0x4d0348(0xf7)][_0x4d0348(0x3e4)](_0x4a3a8c);return _0x197e95?_0x197e95[_0x4d0348(0x34d)]:this[_0x4d0348(0x29c)]['pipe']((0x0,_0x2d19f1[_0x4d0348(0x41f)])(_0x22117c=>_0x22117c[_0x4d0348(0x256)]===_0x4a3a8c),(0x0,_0x2d19f1[_0x4d0348(0x167)])(_0x35fe91=>_0x35fe91['cursorInfo$']));}['_init'](){const _0x58a7b5=_0x51c22c;this[_0x58a7b5(0x257)]['getTypeOfUnitAdded$'](_0x4b44eb['UniverInstanceType'][_0x58a7b5(0x111)])[_0x58a7b5(0x1d3)]((0x0,_0x2d19f1[_0x58a7b5(0x129)])(this[_0x58a7b5(0x37d)]))[_0x58a7b5(0x15d)](async _0x373270=>{const _0x39a42d=_0x58a7b5;let _0xa0fd3b=_0x373270[_0x39a42d(0x2bd)]['getUnitId'](),_0x35609c=await this[_0x39a42d(0x126)](_0xa0fd3b);this[_0x39a42d(0x29c)][_0x39a42d(0x1c2)](_0x35609c),this['_entities']['set'](_0xa0fd3b,_0x35609c);}),this['_univerInstanceService'][_0x58a7b5(0x137)](_0x4b44eb[_0x58a7b5(0x2d5)][_0x58a7b5(0x29f)])[_0x58a7b5(0x1d3)]((0x0,_0x2d19f1[_0x58a7b5(0x129)])(this[_0x58a7b5(0x37d)]))['pipe']((0x0,_0x2d19f1[_0x58a7b5(0x41f)])(_0x596597=>!_0x596597[_0x58a7b5(0x2bd)][_0x58a7b5(0x3fd)]()[_0x58a7b5(0x32c)]('__')))[_0x58a7b5(0x15d)](async _0x5e8af3=>{const _0x512154=_0x58a7b5;let {unit:_0x56747f}=_0x5e8af3,_0xde8c8b=_0x56747f[_0x512154(0x3fd)](),_0x13a1ab=await this[_0x512154(0x314)](_0xde8c8b);this['_entityInit$']['next'](_0x13a1ab),this['_entities']['set'](_0xde8c8b,_0x13a1ab);}),(0x0,_0x2d19f1['merge'])(this['_univerInstanceService'][_0x58a7b5(0x3f4)](_0x4b44eb[_0x58a7b5(0x2d5)][_0x58a7b5(0x29f)]),this[_0x58a7b5(0x257)]['getTypeOfUnitDisposed$'](_0x4b44eb[_0x58a7b5(0x2d5)][_0x58a7b5(0x111)]))[_0x58a7b5(0x1d3)]((0x0,_0x2d19f1[_0x58a7b5(0x129)])(this[_0x58a7b5(0x37d)]))[_0x58a7b5(0x15d)](_0x15a837=>{const _0x557027=_0x58a7b5;let _0x482133=_0x15a837[_0x557027(0x3fd)](),_0x4b5ea3=this[_0x557027(0xf7)][_0x557027(0x3e4)](_0x482133);_0x4b5ea3&&(_0x4b5ea3['dispose'](),this[_0x557027(0xf7)][_0x557027(0x3b6)](_0x482133));});}async['_startSheetCollabCursor'](_0x544a03){const _0x4a879f=_0x51c22c;let _0x17e7e5=await this[_0x4a879f(0x3b5)][_0x4a879f(0x16f)](_0x544a03),_0x2f7a86=this[_0x4a879f(0x28c)][_0x4a879f(0x2ca)](_0x1b4a41,_0x544a03,_0x17e7e5);return _0x2f7a86[_0x4a879f(0x263)](),_0x2f7a86;}async[_0x51c22c(0x314)](_0x285127){const _0x4d3884=_0x51c22c;let _0x588972=await this[_0x4d3884(0x3b5)][_0x4d3884(0x16f)](_0x285127),_0x2b3413=this[_0x4d3884(0x28c)][_0x4d3884(0x2ca)](_0x25aaec,_0x285127,_0x588972);return _0x2b3413[_0x4d3884(0x263)](),_0x2b3413;}};_0x15694a=_0x3d1959([_0x1dae39(0x0,_0x4b44eb[_0x51c22c(0x3f7)]),_0x1dae39(0x1,(0x0,_0x4b44eb['Inject'])(_0x4b44eb['Injector'])),_0x1dae39(0x2,(0x0,_0x4b44eb[_0x51c22c(0x154)])(_0x2338a8[_0x51c22c(0x140)]))],_0x15694a);function _0x449a09(_0xd1f96d,_0x50451a){const _0x244ebf=_0x51c22c;_0xd1f96d['save'](),_0xd1f96d[_0x244ebf(0x2c9)]=_0x244ebf(0x2f2);let _0x225009=_0xd1f96d[_0x244ebf(0x2e6)](_0x50451a)[_0x244ebf(0x22c)];return _0xd1f96d[_0x244ebf(0x1f9)](),Math[_0x244ebf(0x18e)](_0x225009+0x8,0xc8);}function _0x190bf3(_0x1679b0,_0x54b66c){const _0x473aec=_0x51c22c;let {radius:_0x3ad41d,width:_0x5bdc0f,height:_0x4ef96d}=_0x54b66c;_0x3ad41d??=0x0,_0x5bdc0f??=0x1e,_0x4ef96d??=0x1e;let _0x28b44e=0x0,_0x4f700b=0x0,_0x21d17c=0x0;_0x28b44e=_0x4f700b=_0x21d17c=Math[_0x473aec(0x18e)](_0x3ad41d,_0x5bdc0f/0x2,_0x4ef96d/0x2),_0x1679b0[_0x473aec(0x429)](),_0x1679b0['moveTo'](_0x28b44e,0x0),_0x1679b0[_0x473aec(0x2c0)](_0x5bdc0f-_0x4f700b,0x0),_0x1679b0[_0x473aec(0x26c)](_0x5bdc0f-_0x4f700b,_0x4f700b,_0x4f700b,Math['PI']*0x3/0x2,0x0,!0x1),_0x1679b0['lineTo'](_0x5bdc0f,_0x4ef96d-_0x21d17c),_0x1679b0[_0x473aec(0x26c)](_0x5bdc0f-_0x21d17c,_0x4ef96d-_0x21d17c,_0x21d17c,0x0,Math['PI']/0x2,!0x1),_0x1679b0[_0x473aec(0x2c0)](0x0,_0x4ef96d),_0x1679b0[_0x473aec(0x2c0)](0x0,_0x28b44e),_0x1679b0[_0x473aec(0x26c)](_0x28b44e,_0x28b44e,_0x28b44e,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1679b0[_0x473aec(0x416)](),_0x54b66c[_0x473aec(0xfd)]&&(_0x1679b0[_0x473aec(0x2ee)](),_0x1679b0[_0x473aec(0x3ea)]=_0x54b66c[_0x473aec(0xfd)],_0x54b66c[_0x473aec(0x34b)]===_0x473aec(0x2bc)?_0x1679b0[_0x473aec(0xfd)]('evenodd'):_0x1679b0[_0x473aec(0xfd)](),_0x1679b0[_0x473aec(0x1f9)]());}var _0x725ba7=class _0x3269e8 extends _0x35fad8[_0x51c22c(0x2ab)]{constructor(_0x438722,_0x2e9da0){const _0x59b126=_0x51c22c;super(_0x438722,_0x2e9da0),_0x5211cd(this,_0x59b126(0x37f),void 0x0),_0x5211cd(this,_0x59b126(0x3de),void 0x0),this[_0x59b126(0x37f)]=_0x2e9da0==null?void 0x0:_0x2e9da0[_0x59b126(0x37f)],this['text']=_0x2e9da0==null?void 0x0:_0x2e9da0[_0x59b126(0x3de)];}static[_0x51c22c(0x354)](_0x16aec1,_0x290e90){const _0x4a6c67=_0x51c22c;let {text:_0xa1f797,color:_0x10f268}=_0x290e90;_0x16aec1['save'](),_0x16aec1['font']=_0x4a6c67(0x3cb);let _0x2e53d5=_0x16aec1[_0x4a6c67(0x2e6)](_0xa1f797)[_0x4a6c67(0x22c)];if(_0x190bf3(_0x16aec1,{'height':0x14,'radius':0x4,'width':_0x449a09(_0x16aec1,_0xa1f797),'fill':_0x10f268,'evented':!0x1}),_0x16aec1['fillStyle']=_0x4a6c67(0x361),_0x2e53d5>0xc0){let _0x33cdff='',_0xff2ea3=0x0;for(let _0x4793fe of _0xa1f797){let _0x2c0093=_0x16aec1[_0x4a6c67(0x2e6)](_0x4793fe)[_0x4a6c67(0x22c)];if(_0xff2ea3+_0x2c0093<=0xc0-_0x16aec1[_0x4a6c67(0x2e6)](_0x4a6c67(0x24c))[_0x4a6c67(0x22c)])_0x33cdff+=_0x4793fe,_0xff2ea3+=_0x2c0093;else{_0x33cdff+=_0x4a6c67(0x24c);break;}}_0x16aec1[_0x4a6c67(0x189)](_0x33cdff,0x4,0xf);}else _0x16aec1[_0x4a6c67(0x189)](_0xa1f797,0x4,0xf);_0x16aec1[_0x4a6c67(0x1f9)]();}[_0x51c22c(0x21c)](_0x180293){_0x3269e8['drawWith'](_0x180293,this);}};let _0x397d58=_0x51c22c(0x17f);var _0x187fa9=class{constructor(_0x205196,_0x6eb59c,_0x2b9ebd,_0x1b96eb){const _0x439754=_0x51c22c;this[_0x439754(0x411)]=_0x205196,this['_scene']=_0x6eb59c,this[_0x439754(0x342)]=_0x2b9ebd,this[_0x439754(0x158)]=_0x1b96eb,_0x5211cd(this,_0x439754(0x115),[]),_0x5211cd(this,_0x439754(0x12e),null),_0x5211cd(this,_0x439754(0x33d),null),_0x5211cd(this,'_anchorDot',null),_0x5211cd(this,_0x439754(0x166),null),_0x5211cd(this,_0x439754(0x1f5),null),this[_0x439754(0x422)]();}set['_hover'](_0x1211cb){const _0x58efa6=_0x51c22c;_0x1211cb?(this[_0x58efa6(0x34f)]&&this[_0x58efa6(0x34f)][_0x58efa6(0x27c)](),this[_0x58efa6(0x33d)]&&this[_0x58efa6(0x33d)][_0x58efa6(0x1ee)]()):(this[_0x58efa6(0x34f)]&&this['_anchorDot'][_0x58efa6(0x1ee)](),this[_0x58efa6(0x33d)]&&this['_textBubble'][_0x58efa6(0x27c)]());}['dispose'](){const _0x3b2516=_0x51c22c;for(let _0x4a7428 of this[_0x3b2516(0x115)])_0x4a7428[_0x3b2516(0x435)]();this[_0x3b2516(0x33d)]&&this[_0x3b2516(0x33d)][_0x3b2516(0x435)](),this[_0x3b2516(0x34f)]&&this['_anchorDot'][_0x3b2516(0x435)](),this[_0x3b2516(0x12e)]&&this['_anchor'][_0x3b2516(0x435)](),this[_0x3b2516(0x1f5)]&&this['_eventUnsubscribe']();}[_0x51c22c(0x422)](){const _0x2df7ef=_0x51c22c;let {_docSkeleton:_0x399d8e,_document:_0x159b3d}=this,{color:_0x237191,name:_0xd39e3f,ranges:_0x409a4a}=this['_cursor'],_0x2f7c81=_0x159b3d[_0x2df7ef(0x36f)](),{docsLeft:_0x326ba8,docsTop:_0x29320c}=_0x2f7c81,_0x5668dc=new _0x44014a[(_0x2df7ef(0x25e))](_0x2f7c81,_0x399d8e);for(let {startOffset:_0x47644e,endOffset:_0x45bc5e,rangeType:_0x4dd8cb,segmentId:_0xa1138,segmentPage:_0x35c66c,collapsed:_0x157775,isActive:_0x358b60}of _0x409a4a){let _0x45178f=_0x399d8e[_0x2df7ef(0x320)](_0x47644e,!0x0,_0xa1138,_0x35c66c),_0x3f55d8=_0x399d8e[_0x2df7ef(0x320)](_0x45bc5e,!0x0,_0xa1138,_0x35c66c);_0x3f55d8??=_0x399d8e[_0x2df7ef(0x320)](_0x45bc5e-0x1,!0x1,_0xa1138,_0x35c66c);let _0x453fb9=_0x40fa55(_0x45178f,_0x3f55d8);if(_0x358b60&&_0x453fb9[_0x2df7ef(0x2d6)]){let {contentBoxPointGroup:_0x2d7b6b}=_0x5668dc[_0x2df7ef(0x2d1)](_0x3f55d8,_0x3f55d8);if(_0x2d7b6b['length']===0x0)continue;this[_0x2df7ef(0x15e)](_0x237191,_0x2d7b6b,_0x326ba8,_0x29320c,_0xd39e3f),this['_eventUnsubscribe']=this[_0x2df7ef(0x11f)]();}if(_0x45178f&&_0x3f55d8){if(_0x4dd8cb===_0x4b44eb[_0x2df7ef(0x245)][_0x2df7ef(0x32a)]){let {pointGroup:_0x1c6f0f}=new _0x44014a[(_0x2df7ef(0x1e2))](_0x2f7c81,_0x399d8e)[_0x2df7ef(0x2d1)](_0x45178f,_0x3f55d8)??{};if(_0x1c6f0f==null||_0x1c6f0f[_0x2df7ef(0x23f)]===0x0)continue;this['_drawRectRange'](_0x237191,_0x1c6f0f,_0x326ba8,_0x29320c);}else{if(!_0x157775&&_0x453fb9[_0x2df7ef(0x1e4)]){let {borderBoxPointGroup:_0x57262f}=_0x5668dc[_0x2df7ef(0x2d1)](_0x45178f,_0x3f55d8);if(_0x57262f[_0x2df7ef(0x23f)]===0x0)continue;this[_0x2df7ef(0x2a7)](_0x237191,_0x57262f,_0x326ba8,_0x29320c);}}}}}['_drawAnchor'](_0x136ebf,_0x3e8d41,_0x3f5fec,_0x3c0744,_0x2157bf){const _0x1f79f4=_0x51c22c;let {left:_0x4689dc,top:_0x9647f1,height:_0xc03fc5}=this['_getAnchorBounding'](_0x3e8d41),_0x325ba2=1.5/this['_getScale'](),_0x5cce06=new _0x35fad8[(_0x1f79f4(0x294))](_0x397d58+(0x0,_0x4b44eb[_0x1f79f4(0x3f3)])(0x6),{'left':_0x4689dc+_0x3f5fec-_0x325ba2,'top':_0x9647f1+_0x3c0744,'height':_0xc03fc5,'width':1.5,'fill':_0x136ebf||(0x0,_0x35fad8[_0x1f79f4(0x2dc)])(_0x4b44eb[_0x1f79f4(0x14d)][_0x1f79f4(0x2a5)],0x0),'strokeWidth':_0x325ba2,'stroke':_0x1f79f4(0x2eb),'evented':!0x0});this['_anchor']=_0x5cce06,this[_0x1f79f4(0x316)][_0x1f79f4(0x20f)](_0x5cce06,_0x44014a['TEXT_RANGE_LAYER_INDEX']);let _0xf9a6c2=new _0x35fad8[(_0x1f79f4(0x294))](_0x397d58+(0x0,_0x4b44eb[_0x1f79f4(0x3f3)])(0x6),{'left':_0x4689dc+_0x3f5fec-_0x325ba2,'top':_0x9647f1+_0x3c0744-0x2,'height':0x4,'width':0x4,'fill':_0x136ebf||(0x0,_0x35fad8[_0x1f79f4(0x2dc)])(_0x4b44eb['COLORS'][_0x1f79f4(0x2a5)],0x0),'strokeWidth':0x0,'stroke':_0x136ebf||(0x0,_0x35fad8[_0x1f79f4(0x2dc)])(_0x4b44eb[_0x1f79f4(0x14d)]['black'],0x0),'evented':!0x1});this[_0x1f79f4(0x34f)]=_0xf9a6c2,this[_0x1f79f4(0x316)][_0x1f79f4(0x20f)](_0xf9a6c2,_0x44014a[_0x1f79f4(0x1ad)]);let _0x17334e=new _0x725ba7(_0x397d58+(0x0,_0x4b44eb[_0x1f79f4(0x3f3)])(0x6),{'left':_0x4689dc+_0x3f5fec-_0x325ba2,'top':_0x9647f1+_0x3c0744-0x14,'text':_0x2157bf,'color':_0x136ebf});this[_0x1f79f4(0x33d)]=_0x17334e,this[_0x1f79f4(0x316)][_0x1f79f4(0x20f)](_0x17334e,_0x44014a[_0x1f79f4(0x1ad)]),this['_hover']=!0x1;}['_handleHover'](){const _0x2bd238=_0x51c22c;let _0x44a268=this[_0x2bd238(0x12e)][_0x2bd238(0x29e)][_0x2bd238(0x357)](()=>{const _0x5067fa=_0x2bd238;this[_0x5067fa(0x117)]=!0x0;}),_0x2c0fbd=this[_0x2bd238(0x12e)][_0x2bd238(0x1bb)][_0x2bd238(0x357)](()=>{const _0x41c7fc=_0x2bd238;this[_0x41c7fc(0x166)]&&clearTimeout(this[_0x41c7fc(0x166)]),this['_hideTimer']=setTimeout(()=>{const _0x4e1d6f=_0x41c7fc;this[_0x4e1d6f(0x117)]=!0x1;},0x7d0);});return()=>{const _0x4f9aed=_0x2bd238;_0x44a268[_0x4f9aed(0x211)](),_0x2c0fbd[_0x4f9aed(0x211)]();};}['_drawTextRange'](_0x2bd7d5,_0x26b2fa,_0xaba3c7,_0x2fa17b){const _0x2b9afb=_0x51c22c;let _0x43dd1f=0.2,_0x1a928d=new _0x4b44eb[(_0x2b9afb(0x1a2))](_0x2bd7d5)[_0x2b9afb(0x1c3)](_0x43dd1f)[_0x2b9afb(0x21a)](),_0x3618ee=new _0x35fad8[(_0x2b9afb(0x287))]('collab-text-range-'+(0x0,_0x4b44eb['generateRandomId'])(0x6),{'pointsGroup':_0x26b2fa,'fill':_0x1a928d||(0x0,_0x35fad8['getColor'])(_0x4b44eb['COLORS'][_0x2b9afb(0x2a5)],_0x43dd1f),'left':_0xaba3c7,'top':_0x2fa17b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2b9afb(0x115)][_0x2b9afb(0x309)](_0x3618ee),this[_0x2b9afb(0x316)]['addObject'](_0x3618ee,_0x44014a['TEXT_RANGE_LAYER_INDEX']);}[_0x51c22c(0x269)](_0x21ba20,_0x4b08eb,_0x4e06c2,_0x44a2c9){const _0x4d5e23=_0x51c22c;let _0x431448=0.2,_0x2b2633=new _0x4b44eb[(_0x4d5e23(0x1a2))](_0x21ba20)[_0x4d5e23(0x1c3)](_0x431448)['toRgbString'](),_0x24e61d=new _0x35fad8[(_0x4d5e23(0x287))](_0x4d5e23(0x3ac)+(0x0,_0x4b44eb['generateRandomId'])(0x6),{'pointsGroup':_0x4b08eb,'fill':_0x2b2633||(0x0,_0x35fad8[_0x4d5e23(0x2dc)])(_0x4b44eb[_0x4d5e23(0x14d)][_0x4d5e23(0x2a5)],_0x431448),'left':_0x4e06c2,'top':_0x44a2c9,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4d5e23(0x115)][_0x4d5e23(0x309)](_0x24e61d),this[_0x4d5e23(0x316)][_0x4d5e23(0x20f)](_0x24e61d,_0x44014a[_0x4d5e23(0x1ad)]);}[_0x51c22c(0x2e2)](_0x729427){let _0x564080=_0x729427[0x0],_0x5d26cb=_0x564080[0x0],_0x194aee=_0x564080[0x2],{x:_0x33be98,y:_0x583a69}=_0x5d26cb,{x:_0x2ab295,y:_0x5e0813}=_0x194aee;return{'left':_0x33be98,'top':_0x583a69,'width':_0x2ab295-_0x33be98,'height':_0x5e0813-_0x583a69};}[_0x51c22c(0x1cc)](){const _0xaa699a=_0x51c22c;let {scaleX:_0x12fd34,scaleY:_0x1107e6}=this[_0xaa699a(0x316)][_0xaa699a(0x100)]();return Math[_0xaa699a(0x348)](_0x12fd34,_0x1107e6);}};function _0x40fa55(_0x13e849,_0x154cd3){const _0x554270=_0x51c22c;if(!_0x154cd3)return{'canRenderAnchor':!0x1,'canRenderSelection':!0x1};if(!_0x13e849||_0x13e849[_0x554270(0x3f0)]!==_0x154cd3[_0x554270(0x3f0)]||(_0x13e849['pageType']===_0x35fad8[_0x554270(0x186)][_0x554270(0x1cd)]||_0x13e849[_0x554270(0x3f0)]===_0x35fad8[_0x554270(0x186)][_0x554270(0x39f)])&&_0x13e849[_0x554270(0x265)]!==_0x154cd3[_0x554270(0x265)])return{'canRenderAnchor':!0x0,'canRenderSelection':!0x1};let _0x518db7=(0x0,_0x35fad8['getDocumentSkeletonColumnPagePathInfo'])(_0x13e849),_0x33f84d=(0x0,_0x35fad8[_0x554270(0x448)])(_0x154cd3);return{'canRenderAnchor':!0x0,'canRenderSelection':_0x518db7==null||_0x33f84d==null?_0x518db7==null&&_0x33f84d==null:_0x518db7[_0x554270(0x1b6)]===_0x33f84d['pageIndex']&&_0x518db7[_0x554270(0x292)]===_0x33f84d['columnGroupId']&&_0x518db7[_0x554270(0x146)]===_0x33f84d[_0x554270(0x146)]};}let _0x27f350=class extends _0x4b44eb[_0x51c22c(0x308)]{constructor(_0x3bbeb9,_0x224f47,_0x1c0108,_0x3b015b,_0x45ba3b){const _0x2a7359=_0x51c22c;super(),this['_context']=_0x3bbeb9,this[_0x2a7359(0x324)]=_0x224f47,this['_collabCursorController']=_0x1c0108,this[_0x2a7359(0x200)]=_0x3b015b,this[_0x2a7359(0x430)]=_0x45ba3b,_0x5211cd(this,_0x2a7359(0x32f),[]),_0x5211cd(this,_0x2a7359(0x286),[]),this[_0x2a7359(0x2c5)]();}[_0x51c22c(0x2c5)](){const _0x461994=_0x51c22c;let _0x34d7c6=this[_0x461994(0x1bd)][_0x461994(0x246)],_0x594f90=this[_0x461994(0x324)];this[_0x461994(0x2d2)]((0x0,_0x2d19f1['combineLatest'])([this[_0x461994(0x298)][_0x461994(0x390)](_0x34d7c6),this[_0x461994(0x430)][_0x461994(0x128)]])['pipe']((0x0,_0x5d3eb5[_0x461994(0x33c)])(([_0xbe8291,_0x5709e4])=>({'skeleton':_0x594f90['getSkeleton'](),'cursors':[..._0xbe8291[_0x461994(0x25c)]()][_0x461994(0x1a4)](_0x5f34d8=>({..._0x5f34d8,'color':this[_0x461994(0x430)][_0x461994(0x2d7)](_0x5f34d8[_0x461994(0x37f)])}))})))['subscribe'](_0xbdf279=>{const _0x118052=_0x461994;if(this[_0x118052(0x31e)](),_0xbdf279){let {skeleton:_0x427197,cursors:_0x3387da}=_0xbdf279;this[_0x118052(0x2c3)](_0x427197,_0x3387da);}})),this[_0x461994(0x417)](),this[_0x461994(0x1e9)]();}['_updateCollabCursors'](_0x2a5db2,_0x43755c){const _0x403bb4=_0x51c22c;let {scene:_0x245ea8,mainComponent:_0x70e139}=this['_context'],_0x442398=_0x43755c[_0x403bb4(0x33c)](_0x27ad5b=>new _0x187fa9(_0x27ad5b,_0x245ea8,_0x2a5db2,_0x70e139));this[_0x403bb4(0x32f)]=_0x442398,this[_0x403bb4(0x286)]=_0x43755c;}[_0x51c22c(0x2f5)](){const _0x5b0ede=_0x51c22c;this[_0x5b0ede(0x31e)]();let {scene:_0x34f9b4,mainComponent:_0x151296}=this[_0x5b0ede(0x1bd)],_0x873bf4=this[_0x5b0ede(0x324)][_0x5b0ede(0x16c)](),_0x19b0c3=this[_0x5b0ede(0x286)][_0x5b0ede(0x33c)](_0x550384=>new _0x187fa9(_0x550384,_0x34f9b4,_0x873bf4,_0x151296));this[_0x5b0ede(0x32f)]=_0x19b0c3;}[_0x51c22c(0x31e)](){const _0xba9d77=_0x51c22c;this[_0xba9d77(0x32f)]['forEach'](_0x4cca57=>_0x4cca57[_0xba9d77(0x435)]()),this[_0xba9d77(0x32f)]=[];}['_initCommandExecutedListener'](){const _0x202be6=_0x51c22c;let _0x3bd25f=[_0x44014a[_0x202be6(0x2df)]['id']];this[_0x202be6(0x2d2)](this[_0x202be6(0x200)]['onCommandExecuted'](_0x4f83ea=>{const _0x4d5d10=_0x202be6;_0x3bd25f['includes'](_0x4f83ea['id'])&&_0x4f83ea[_0x4d5d10(0x295)][_0x4d5d10(0x246)]===this[_0x4d5d10(0x1bd)][_0x4d5d10(0x246)]&&this[_0x4d5d10(0x2f5)]();}));}[_0x51c22c(0x417)](){const _0x2af5a1=_0x51c22c;this[_0x2af5a1(0x2d2)]((0x0,_0x4b44eb[_0x2af5a1(0x2e9)])(this[_0x2af5a1(0x1bd)]['engine'][_0x2af5a1(0x439)])[_0x2af5a1(0x1d3)]((0x0,_0x5d3eb5[_0x2af5a1(0x41f)])(_0x37c597=>_0x37c597[_0x2af5a1(0x34c)]===_0x35fad8[_0x2af5a1(0x1e8)][_0x2af5a1(0x20a)]),(0x0,_0x5d3eb5[_0x2af5a1(0x3fe)])(0x10))['subscribe'](()=>{const _0x1ab22f=_0x2af5a1;this[_0x1ab22f(0x2f5)]();}));}};_0x27f350=_0x3d1959([_0x1dae39(0x1,(0x0,_0x4b44eb[_0x51c22c(0x154)])(_0x228ee9['DocSkeletonManagerService'])),_0x1dae39(0x2,(0x0,_0x4b44eb[_0x51c22c(0x154)])(_0x15694a)),_0x1dae39(0x3,_0x4b44eb[_0x51c22c(0x1bf)]),_0x1dae39(0x4,(0x0,_0x4b44eb[_0x51c22c(0x154)])(_0x4b44eb[_0x51c22c(0x403)]))],_0x27f350);var _0x55992e=class extends _0x35fad8[_0x51c22c(0x2ab)]{constructor(_0x3384ad,_0x506b18){const _0x412df2=_0x51c22c;super(_0x3384ad,_0x506b18),_0x5211cd(this,_0x412df2(0x2f1),void 0x0),_0x5211cd(this,'_hovered',!0x1),_0x5211cd(this,'_range',void 0x0),_0x5211cd(this,_0x412df2(0x404),''),_0x5211cd(this,'_labelPosition',_0x412df2(0x1d9)),_0x5211cd(this,_0x412df2(0x374),void 0x0),_0x5211cd(this,_0x412df2(0x1d2),void 0x0),_0x5211cd(this,'_highlight',void 0x0),_0x5211cd(this,_0x412df2(0x371),0x4),_0x5211cd(this,_0x412df2(0x22e),void 0x0),_0x5211cd(this,'_blinkIntervalTimer',void 0x0),_0x5211cd(this,'_isBlinkVisible',!0x0),_0x5211cd(this,'_offsetY',0x0),_0x5211cd(this,'_labelHorizontalPosition','right'),_0x506b18&&(this[_0x412df2(0x156)](_0x506b18),_0x506b18[_0x412df2(0x1eb)]&&(_0x506b18[_0x412df2(0x291)]??this[_0x412df2(0x371)])&&this['_startBlinking'](_0x506b18[_0x412df2(0x291)]??this['_highlightSecond'])),this['onPointerEnter$']['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x412df2(0x1bb)][_0x412df2(0x357)](()=>this[_0x412df2(0x156)]({'hovered':!0x1}));}[_0x51c22c(0x1e5)](_0x336b57){const _0x37f1a7=_0x51c22c;this[_0x37f1a7(0x30b)]=_0x336b57;}[_0x51c22c(0x156)](_0xbd58ae){const _0x5edd1c=_0x51c22c;this[_0x5edd1c(0x2f1)]=_0xbd58ae[_0x5edd1c(0x37f)]??this[_0x5edd1c(0x2f1)],this[_0x5edd1c(0x43f)]=_0xbd58ae[_0x5edd1c(0x366)]??this[_0x5edd1c(0x43f)],this[_0x5edd1c(0x209)]=_0xbd58ae[_0x5edd1c(0x131)]??this[_0x5edd1c(0x209)],this[_0x5edd1c(0x404)]=_0xbd58ae[_0x5edd1c(0x148)]??this[_0x5edd1c(0x404)],this[_0x5edd1c(0x1e3)]=_0xbd58ae[_0x5edd1c(0x264)]??this['_labelPosition'],this[_0x5edd1c(0x374)]=_0xbd58ae['backgroundColor']??this[_0x5edd1c(0x374)],this[_0x5edd1c(0x1d2)]=_0xbd58ae[_0x5edd1c(0x444)]??this[_0x5edd1c(0x1d2)],this['_labelHorizontalPosition']=_0xbd58ae[_0x5edd1c(0x27a)]??this['_labelHorizontalPosition'],_0xbd58ae[_0x5edd1c(0x291)]!==void 0x0&&(this[_0x5edd1c(0x371)]=_0xbd58ae[_0x5edd1c(0x291)]),_0xbd58ae[_0x5edd1c(0x1eb)]!==void 0x0&&(this[_0x5edd1c(0x42b)]=_0xbd58ae['highlight']),_0xbd58ae['offsetY']!==void 0x0&&(this[_0x5edd1c(0x30b)]=_0xbd58ae[_0x5edd1c(0x432)]),this['transformByState']({'width':_0xbd58ae[_0x5edd1c(0x22c)],'height':_0xbd58ae[_0x5edd1c(0x3ed)]});}[_0x51c22c(0x389)](_0x58ba97){const _0x48218a=_0x51c22c;let {row:_0x56b810,column:_0x146861}=_0x58ba97;if(_0x56b810>=this['_range'][_0x48218a(0x13f)]&&_0x56b810<=this[_0x48218a(0x209)][_0x48218a(0x310)]&&_0x146861>=this[_0x48218a(0x209)][_0x48218a(0x2a2)]&&_0x146861<=this['_range'][_0x48218a(0x160)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x48218a(0x156)]({'hovered':!0x1});}[_0x51c22c(0x233)](_0x28d479){const _0x2423fb=_0x51c22c;this[_0x2423fb(0x369)](),this[_0x2423fb(0x2cf)]=!0x0,this[_0x2423fb(0x238)]=window[_0x2423fb(0xff)](()=>{const _0x21ed4a=_0x2423fb;this[_0x21ed4a(0x2cf)]=!this[_0x21ed4a(0x2cf)],this[_0x21ed4a(0x207)](!0x0);},0x1f4),this[_0x2423fb(0x22e)]=window[_0x2423fb(0x386)](()=>{const _0x1e7d1c=_0x2423fb;this[_0x1e7d1c(0x369)](),this[_0x1e7d1c(0x2cf)]=!0x0,this[_0x1e7d1c(0x207)](!0x0);},_0x28d479*0x3e8);}[_0x51c22c(0x369)](){const _0x26a9be=_0x51c22c;this[_0x26a9be(0x238)]&&=(window['clearInterval'](this['_blinkIntervalTimer']),void 0x0),this[_0x26a9be(0x22e)]&&=(window[_0x26a9be(0x1b1)](this[_0x26a9be(0x22e)]),void 0x0);}['triggerDblclick'](_0xb313a3){return!0x1;}[_0x51c22c(0x435)](){this['_stopBlinking'](),super['dispose']();}[_0x51c22c(0x21c)](_0x471ff7){const _0x4756f2=_0x51c22c;let _0x4b0bb1=this[_0x4756f2(0x2f1)],_0x4fac3b=this[_0x4756f2(0x374)];if(this['_highlight']&&!this['_isBlinkVisible']&&(_0x4b0bb1=this[_0x4756f2(0x242)](this[_0x4756f2(0x2f1)]),_0x4fac3b=this[_0x4756f2(0x374)]?this[_0x4756f2(0x242)](this[_0x4756f2(0x374)]):void 0x0),_0x35fad8[_0x4756f2(0x294)]['drawWith'](_0x471ff7,{'width':this[_0x4756f2(0x22c)],'height':this[_0x4756f2(0x3ed)],'strokeWidth':this['strokeWidth']||1.5,'stroke':_0x4b0bb1,'evented':!0x1,'fill':_0x4fac3b}),this['_hovered']||this[_0x4756f2(0x1d2)]){_0x471ff7[_0x4756f2(0x2ee)]();let _0x5a817d=this[_0x4756f2(0x303)]===_0x4756f2(0x278)?-_0x449a09(_0x471ff7,this[_0x4756f2(0x404)]):this[_0x4756f2(0x22c)];_0x471ff7[_0x4756f2(0x10d)](0x1,0x0,0x0,0x1,_0x5a817d,(this[_0x4756f2(0x1e3)]===_0x4756f2(0x1b0)?0x0:-0x14)+(this['_offsetY']??0x0)),_0x725ba7[_0x4756f2(0x354)](_0x471ff7,{'text':this[_0x4756f2(0x404)],'color':_0x4b0bb1}),_0x471ff7[_0x4756f2(0x1f9)]();}}[_0x51c22c(0x242)](_0x1451ce){const _0x4b47f5=_0x51c22c;return _0x1451ce[_0x4b47f5(0x32c)]('#')?_0x4b47f5(0x395)+Number[_0x4b47f5(0x393)](_0x1451ce[_0x4b47f5(0x171)](0x1,0x3),0x10)+',\x20'+Number['parseInt'](_0x1451ce[_0x4b47f5(0x171)](0x3,0x5),0x10)+',\x20'+Number['parseInt'](_0x1451ce['slice'](0x5,0x7),0x10)+_0x4b47f5(0x31c):_0x1451ce[_0x4b47f5(0x32c)]('rgba')?_0x1451ce[_0x4b47f5(0x33e)](/[\d.]+\)$/g,_0x4b47f5(0x173)):_0x1451ce[_0x4b47f5(0x32c)]('rgb')?_0x1451ce[_0x4b47f5(0x33e)](_0x4b47f5(0x135),'rgba')['replace'](')',',\x200.2)'):_0x1451ce;}};let _0x3ebaac=class extends _0x4b44eb[_0x51c22c(0x308)]{constructor(_0x3ee73d,_0x4ef16c,_0x58c4d2,_0x397514){const _0x19900b=_0x51c22c;super(),this[_0x19900b(0x1bd)]=_0x3ee73d,this[_0x19900b(0x11d)]=_0x4ef16c,this[_0x19900b(0x298)]=_0x58c4d2,this[_0x19900b(0x430)]=_0x397514,_0x5211cd(this,_0x19900b(0x286),new Set()),_0x5211cd(this,_0x19900b(0x1fe),null),_0x5211cd(this,_0x19900b(0x1ea),null),this[_0x19900b(0x2c5)]();}['_init'](){const _0x2921c2=_0x51c22c;this[_0x2921c2(0x11d)]['currentSkeleton$'][_0x2921c2(0x1d3)]((0x0,_0x5d3eb5[_0x2921c2(0x129)])(this[_0x2921c2(0x37d)]),(0x0,_0x5d3eb5[_0x2921c2(0x167)])(_0x2b9eea=>{const _0x4403d0=_0x2921c2;if(_0x2b9eea){let _0xfc0c58=_0x2b9eea[_0x4403d0(0x2b7)];return(0x0,_0x2d19f1[_0x4403d0(0x42f)])(this[_0x4403d0(0x298)]['getCollabCursors$'](this['_context']['unitId']),this[_0x4403d0(0x430)]['currentTheme$'])['pipe']((0x0,_0x5d3eb5[_0x4403d0(0x33c)])(([_0x3ef5f4,_0x1015e0])=>{const _0x1b74cf=_0x4403d0;let _0x546db2=new Map();return _0x3ef5f4[_0x1b74cf(0x2f7)]((_0x40ff17,_0xc5b3d1)=>{const _0xf44c18=_0x1b74cf;if(_0x40ff17[_0xf44c18(0x1f8)]===_0xfc0c58){let _0xc9df3f={..._0x40ff17};_0xc9df3f['color']=this[_0xf44c18(0x430)]['getColorFromTheme'](_0x40ff17[_0xf44c18(0x37f)]),_0x546db2['set'](_0xc5b3d1,_0xc9df3f);}}),{'skeleton':_0x2b9eea,'cursors':_0x546db2};}));}return(0x0,_0x2d19f1['of'])({'skeleton':null,'cursors':new Map()});}))[_0x2921c2(0x15d)](({skeleton:_0x203a2c,cursors:_0x154fca})=>{this['_removeCollabCursors'](),_0x203a2c&&this['_updateCollabCursors'](_0x203a2c,_0x154fca);}),this['disposeWithMe'](this[_0x2921c2(0x11d)][_0x2921c2(0x272)][_0x2921c2(0x1d3)]((0x0,_0x5d3eb5['takeUntil'])(this[_0x2921c2(0x37d)]))['subscribe'](_0x2ed9a1=>{const _0x99271b=_0x2921c2;var _0x58aa31;if(_0x2ed9a1==null)return;(_0x58aa31=this['_pointerMoveDisposable'])==null||_0x58aa31[_0x99271b(0x211)](),this[_0x99271b(0x1ea)]=null;let {skeleton:_0x2506b3}=_0x2ed9a1,{scene:_0x337308}=this[_0x99271b(0x1bd)];this[_0x99271b(0x1ea)]=_0x337308[_0x99271b(0x10e)]['subscribeEvent']((0x0,_0x4b44eb['debounce'])(_0x6b398c=>{const _0x88990f=_0x99271b;var _0xbd06c2,_0x363210;let {offsetX:_0x7f274,offsetY:_0x350fdb}=_0x6b398c,{x:_0x336e82,y:_0x23d80d}=_0x337308[_0x88990f(0x255)](_0x35fad8[_0x88990f(0x2b1)][_0x88990f(0x3a6)]([_0x7f274,_0x350fdb])),{scaleX:_0x2a1b1f,scaleY:_0x404de4}=_0x337308[_0x88990f(0x100)](),_0xb216f5=_0x337308['getViewport'](_0x35fad8[_0x88990f(0x315)][_0x88990f(0x293)]),_0x44eed0=_0x337308[_0x88990f(0x103)](_0x35fad8[_0x88990f(0x2b1)][_0x88990f(0x3a6)]([_0x336e82,_0x23d80d]),_0xb216f5),_0x5f3ad7=_0x2506b3[_0x88990f(0x38f)](_0x7f274,_0x350fdb,_0x2a1b1f,_0x404de4,_0x44eed0);(((_0xbd06c2=this[_0x88990f(0x1fe)])==null?void 0x0:_0xbd06c2[_0x88990f(0x378)])!==_0x5f3ad7[_0x88990f(0x378)]||((_0x363210=this['_lastPointer'])==null?void 0x0:_0x363210[_0x88990f(0x119)])!==_0x5f3ad7[_0x88990f(0x119)])&&this[_0x88990f(0x286)][_0x88990f(0x2f7)](_0x31e6a6=>{const _0x18a58b=_0x88990f;_0x31e6a6[_0x18a58b(0x389)](_0x5f3ad7);});},0x64));})),this[_0x2921c2(0x2d2)]((0x0,_0x4b44eb[_0x2921c2(0x30c)])(()=>{const _0x3a405d=_0x2921c2;var _0x5f30c6;(_0x5f30c6=this['_pointerMoveDisposable'])==null||_0x5f30c6[_0x3a405d(0x211)](),this[_0x3a405d(0x1ea)]=null;}));}[_0x51c22c(0x2c3)](_0x4b34ba,_0xc862d3){const _0x386b2f=_0x51c22c;let _0x1a87e4=this[_0x386b2f(0x11d)][_0x386b2f(0x109)]();if(!_0x1a87e4)return;let _0x24df22=this[_0x386b2f(0x145)]();if(!_0x24df22)return;this[_0x386b2f(0x286)][_0x386b2f(0x2f7)](_0x422a70=>{const _0x1a05a1=_0x386b2f;_0x422a70[_0x1a05a1(0x207)]();});let {scene:_0x879b87}=_0x24df22,_0x3c6fae=_0x353a3e(Array[_0x386b2f(0x385)](_0xc862d3[_0x386b2f(0x25c)]()))['map'](_0x116961=>{const _0x3f897d=_0x386b2f;let {color:_0x5b8ac4,range:_0x1be2ba,name:_0x2e5a87,selection:_0xc12448,sheetID:_0x3e786c}=_0x116961,{startColumn:_0x189b5c,startRow:_0x166774,endColumn:_0x42748e,endRow:_0x5d1c9f}=_0x1be2ba,_0x486b57=(0x0,_0x4f9f06[_0x3f897d(0x20e)])(_0x166774,_0x189b5c,_0x879b87,_0x1a87e4),_0x5e7d2c=(0x0,_0x4f9f06[_0x3f897d(0x20e)])(_0x5d1c9f,_0x42748e,_0x879b87,_0x1a87e4),{columnHeaderHeightAndMarginTop:_0xc6b70e}=_0x1a87e4,{startX:_0x290cb6,startY:_0x5fee8b}=_0x486b57,{endX:_0x4e7760,endY:_0x56e1a4}=_0x5e7d2c,_0x4fa546=_0x4e7760-_0x290cb6,_0x35c377=_0x56e1a4-_0x5fee8b;return new _0x55992e(_0x2e5a87,{'labelPosition':_0x5fee8b-_0xc6b70e>=0x14?_0x3f897d(0x1d9):_0x3f897d(0x1b0),'sheetID':_0x3e786c,'range':_0x1be2ba,'color':_0x5b8ac4,'name':_0x2e5a87,'selection':_0xc12448,'left':_0x290cb6,'top':_0x5fee8b,'width':_0x4fa546,'height':_0x35c377,'evented':!0x1,'zIndex':0x1389});});_0x879b87[_0x386b2f(0x368)](_0x3c6fae,0x1),this[_0x386b2f(0x286)]=new Set(_0x3c6fae);}[_0x51c22c(0x31e)](){const _0x3217c9=_0x51c22c;var _0x5c7202;(_0x5c7202=this['_cursors'])==null||_0x5c7202[_0x3217c9(0x2f7)](_0x4ca17c=>_0x4ca17c[_0x3217c9(0x435)]());}[_0x51c22c(0x145)](){const _0x542fa4=_0x51c22c;return(0x0,_0x4f9f06[_0x542fa4(0x12f)])(this[_0x542fa4(0x1bd)][_0x542fa4(0x2bd)],this[_0x542fa4(0x1bd)]);}};_0x3ebaac=_0x3d1959([_0x1dae39(0x1,(0x0,_0x4b44eb['Inject'])(_0x4f9f06['SheetSkeletonManagerService'])),_0x1dae39(0x2,(0x0,_0x4b44eb[_0x51c22c(0x154)])(_0x15694a)),_0x1dae39(0x3,(0x0,_0x4b44eb[_0x51c22c(0x154)])(_0x4b44eb['ThemeService']))],_0x3ebaac);function _0x353a3e(_0x419ff0){const _0x36506b=_0x51c22c;let _0x456d71=new Map();return _0x419ff0[_0x36506b(0x2f7)](_0xd97bd2=>{const _0x544a12=_0x36506b;if(_0x456d71[_0x544a12(0x318)](_0xd97bd2[_0x544a12(0x31a)])){let _0x57bb8b=_0x456d71[_0x544a12(0x3e4)](_0xd97bd2['selection']);_0x57bb8b[_0x544a12(0x148)]+=',\x20'+_0xd97bd2[_0x544a12(0x148)];}else _0x456d71['set'](_0xd97bd2['selection'],_0xd97bd2);}),Array[_0x36506b(0x385)](_0x456d71[_0x36506b(0x25c)]());}function _0x2722f5(_0x55c514){const _0x196272=_0x51c22c;return typeof _0x55c514==_0x196272(0x353)&&!!_0x55c514;}function _0x2390bc(_0x4e2913){const _0x54db50=_0x51c22c;return _0x4e2913[_0x54db50(0x18f)]===_0x5d903f[_0x54db50(0x141)][_0x54db50(0x14b)]&&'data'in _0x4e2913&&_0x2722f5(_0x4e2913[_0x54db50(0x1d7)])&&typeof _0x4e2913[_0x54db50(0x1d7)]['memberID']==_0x54db50(0x215)&&typeof _0x4e2913[_0x54db50(0x1d7)]['selection']==_0x54db50(0x215);}function _0x3ac124(_0x5806b1){const _0x2d7c9e=_0x51c22c;return _0x5806b1['eventID']===_0x5d903f[_0x2d7c9e(0x141)]['USERS_LEAVE']&&_0x2d7c9e(0x1d7)in _0x5806b1&&_0x2722f5(_0x5806b1[_0x2d7c9e(0x1d7)])&&typeof _0x5806b1[_0x2d7c9e(0x1d7)]['memberID']==_0x2d7c9e(0x215);}function _0x35d9b2(_0x25a5f4,_0x463105){const _0x19fd86=_0x51c22c;let _0x5eb6a4;try{_0x5eb6a4=JSON[_0x19fd86(0x33a)](_0x25a5f4);}catch{return null;}if(!_0x2722f5(_0x5eb6a4)||typeof _0x5eb6a4[_0x19fd86(0x311)]!=_0x19fd86(0x215)||typeof _0x5eb6a4['unitId']!=_0x19fd86(0x215)||typeof _0x5eb6a4[_0x19fd86(0x340)]!=_0x19fd86(0x215))return null;let _0x1305e8=typeof _0x5eb6a4[_0x19fd86(0x35d)]==_0x19fd86(0x379)?_0x5eb6a4[_0x19fd86(0x35d)]:_0x463105;if(_0x1305e8==null)return null;let _0x4c7abc=_0x2722f5(_0x5eb6a4['pointer'])&&typeof _0x5eb6a4[_0x19fd86(0x328)]['x']==_0x19fd86(0x379)&&Number['isFinite'](_0x5eb6a4[_0x19fd86(0x328)]['x'])&&typeof _0x5eb6a4[_0x19fd86(0x328)]['y']==_0x19fd86(0x379)&&Number['isFinite'](_0x5eb6a4[_0x19fd86(0x328)]['y'])?{'x':_0x5eb6a4[_0x19fd86(0x328)]['x'],'y':_0x5eb6a4[_0x19fd86(0x328)]['y']}:null;return{'kind':_0x5eb6a4['kind'],'unitType':_0x1305e8,'unitId':_0x5eb6a4[_0x19fd86(0x246)],'subUnitId':_0x5eb6a4[_0x19fd86(0x340)],'selectedIds':Array['isArray'](_0x5eb6a4[_0x19fd86(0x313)])?_0x5eb6a4[_0x19fd86(0x313)][_0x19fd86(0x41f)](_0xeeafa1=>typeof _0xeeafa1==_0x19fd86(0x215)):[],'focusedId':typeof _0x5eb6a4[_0x19fd86(0x17c)]=='string'?_0x5eb6a4['focusedId']:null,'pointer':_0x4c7abc};}function _0x5149dc(_0x176a64,_0x41dc4b,_0x2a92cd){const _0x537a03=_0x51c22c;return{'kind':_0x41dc4b,'unitType':_0x176a64,'unitId':_0x2a92cd[_0x537a03(0x246)],'subUnitId':_0x2a92cd[_0x537a03(0x340)],'selectedIds':Array[_0x537a03(0x385)](_0x2a92cd['selectedIds']),'focusedId':_0x2a92cd[_0x537a03(0x17c)],'pointer':_0x2a92cd[_0x537a03(0x328)]?{..._0x2a92cd[_0x537a03(0x328)]}:null};}let _0x5884a2=class extends _0x4b44eb[_0x51c22c(0x308)]{constructor(_0x32b564,_0x1b1ed5,_0x2093be,_0x55bc7f,_0x229507,_0x34fde4){const _0x3c850a=_0x51c22c;super(),this[_0x3c850a(0x246)]=_0x32b564,this[_0x3c850a(0x1d0)]=_0x1b1ed5,this[_0x3c850a(0x2dd)]=_0x2093be,this[_0x3c850a(0x2d0)]=_0x55bc7f,this[_0x3c850a(0x136)]=_0x229507,this[_0x3c850a(0x200)]=_0x34fde4,_0x5211cd(this,'_online',!0x1),_0x5211cd(this,_0x3c850a(0x181),!0x1);}get[_0x51c22c(0x35d)](){const _0x5b5dab=_0x51c22c;return this[_0x5b5dab(0x2dd)]['unitType'];}['dispose'](){const _0x1680e4=_0x51c22c;this[_0x1680e4(0x1db)](),super['dispose']();}[_0x51c22c(0x263)](){const _0x1b6414=_0x51c22c;this[_0x1b6414(0x181)]||(this[_0x1b6414(0x181)]=!0x0,this['_session'][_0x1b6414(0x1d6)][_0x1b6414(0x1d3)]((0x0,_0x2d19f1[_0x1b6414(0x129)])(this[_0x1b6414(0x37d)]))[_0x1b6414(0x15d)](_0x47325b=>{const _0x3bf725=_0x1b6414;if(_0x47325b===_0x2338a8[_0x3bf725(0x334)][_0x3bf725(0x28b)]){this[_0x3bf725(0x321)]=!0x0;let _0x5b59e7=this['_adapter']['getLocalPresence'](this[_0x3bf725(0x246)]);_0x5b59e7&&this['_sendLocalPresence'](_0x5b59e7);return;}this[_0x3bf725(0x321)]=!0x1,this[_0x3bf725(0x1db)]();}),this[_0x1b6414(0x1d0)]['event$']['pipe']((0x0,_0x2d19f1[_0x1b6414(0x129)])(this[_0x1b6414(0x37d)]))[_0x1b6414(0x15d)](_0x775e3f=>{const _0x4de66e=_0x1b6414;_0x2390bc(_0x775e3f)?this[_0x4de66e(0x23d)](_0x775e3f):_0x3ac124(_0x775e3f)&&this[_0x4de66e(0x253)](_0x775e3f['data'][_0x4de66e(0x392)]);}),this['_adapter']['localPresence$'][_0x1b6414(0x1d3)]((0x0,_0x2d19f1[_0x1b6414(0x41f)])(_0x30dee1=>this[_0x1b6414(0x321)]&&_0x30dee1[_0x1b6414(0x246)]===this[_0x1b6414(0x246)]),(0x0,_0x2d19f1[_0x1b6414(0x174)])(_0x27e9e5=>(0x0,_0x2d19f1[_0x1b6414(0x243)])(_0x27e9e5[_0x1b6414(0x1af)]),{'leading':!0x0,'trailing':!0x0}),(0x0,_0x2d19f1[_0x1b6414(0x129)])(this['dispose$']))['subscribe'](_0x2a16ce=>this[_0x1b6414(0x12d)](_0x2a16ce)));}[_0x51c22c(0x12d)](_0x501d71){const _0x348874=_0x51c22c;let _0x3450f3=this[_0x348874(0x1d0)]['getMemberID']();if(!_0x3450f3||!this['_online'])return;let _0x511c9e={'eventID':_0x5d903f[_0x348874(0x141)]['UPDATE_CURSOR'],'data':{'unitID':this['unitId'],'memberID':_0x3450f3,'selection':JSON[_0x348874(0x35c)](_0x5149dc(this['unitType'],this[_0x348874(0x2dd)][_0x348874(0x358)],_0x501d71))}};this['_session'][_0x348874(0x43b)](_0x511c9e,this['unitId'])[_0x348874(0x352)](()=>void 0x0);}['_handleCursorUpdate'](_0x556b0e){const _0x6341f4=_0x51c22c;let {memberID:_0x50484f,selection:_0x3642f5}=_0x556b0e[_0x6341f4(0x1d7)];if(_0x50484f===this[_0x6341f4(0x1d0)]['getMemberID']())return;let _0x1d591b=_0x35d9b2(_0x3642f5,this[_0x6341f4(0x35d)]);if(!_0x1d591b||_0x1d591b[_0x6341f4(0x311)]!==this[_0x6341f4(0x2dd)][_0x6341f4(0x358)]||_0x1d591b[_0x6341f4(0x35d)]!==this[_0x6341f4(0x35d)]||_0x1d591b['unitId']!==this[_0x6341f4(0x246)])return;let _0x9a89c6=this[_0x6341f4(0x136)][_0x6341f4(0x198)](this['unitId'],_0x50484f),_0x535086={'unitId':_0x1d591b['unitId'],'subUnitId':_0x1d591b[_0x6341f4(0x340)],'selectedIds':_0x1d591b[_0x6341f4(0x313)],'focusedId':_0x1d591b[_0x6341f4(0x17c)],'pointer':_0x1d591b[_0x6341f4(0x328)],'memberId':_0x50484f,'color':this[_0x6341f4(0x2d0)][_0x6341f4(0x142)](_0x50484f),'name':(_0x9a89c6==null?void 0x0:_0x9a89c6[_0x6341f4(0x148)])??_0x50484f};this['_commandService'][_0x6341f4(0x3a7)](_0x518f6b['id'],{'unitType':this[_0x6341f4(0x35d)],'update':{'type':'set','state':_0x535086}})[_0x6341f4(0x352)](()=>void 0x0);}[_0x51c22c(0x253)](_0xbdd46){const _0x3a7e7e=_0x51c22c;this[_0x3a7e7e(0x200)][_0x3a7e7e(0x3a7)](_0x518f6b['id'],{'unitType':this[_0x3a7e7e(0x35d)],'update':{'type':_0x3a7e7e(0x1ef),'unitId':this[_0x3a7e7e(0x246)],'memberId':_0xbdd46}})[_0x3a7e7e(0x352)](()=>void 0x0);}[_0x51c22c(0x1db)](){const _0x533341=_0x51c22c;this[_0x533341(0x200)][_0x533341(0x3a7)](_0x518f6b['id'],{'unitType':this['unitType'],'update':{'type':_0x533341(0x299),'unitId':this[_0x533341(0x246)]}})['catch'](()=>void 0x0);}};_0x5884a2=_0x3d1959([_0x1dae39(0x3,(0x0,_0x4b44eb[_0x51c22c(0x154)])(_0x5bb27a)),_0x1dae39(0x4,(0x0,_0x4b44eb[_0x51c22c(0x154)])(_0x2338a8[_0x51c22c(0x32b)])),_0x1dae39(0x5,(0x0,_0x4b44eb[_0x51c22c(0x154)])(_0x4b44eb['ICommandService']))],_0x5884a2);let _0x556b0c=class extends _0x4b44eb[_0x51c22c(0x308)]{constructor(_0xe0d0d1,_0x1774a5,_0x24e3c7,_0xf19e54){const _0x4752a1=_0x51c22c;super(),this[_0x4752a1(0x257)]=_0xe0d0d1,this[_0x4752a1(0x28c)]=_0x1774a5,this[_0x4752a1(0x3b5)]=_0x24e3c7,this[_0x4752a1(0x333)]=_0xf19e54,_0x5211cd(this,_0x4752a1(0x273),!0x1),_0x5211cd(this,_0x4752a1(0xf7),new Map()),_0x5211cd(this,_0x4752a1(0x3c2),new Map()),_0x5211cd(this,_0x4752a1(0x2f6),new Map()),this[_0x4752a1(0x2c5)]();}[_0x51c22c(0x435)](){const _0x1a8951=_0x51c22c;this[_0x1a8951(0x273)]=!0x0,this[_0x1a8951(0x2f6)][_0x1a8951(0x2f7)](_0x1b1701=>_0x1b1701[_0x1a8951(0x435)]()),this[_0x1a8951(0x2f6)][_0x1a8951(0x299)](),this[_0x1a8951(0xf7)][_0x1a8951(0x2f7)](_0x560a21=>_0x560a21[_0x1a8951(0x435)]()),this[_0x1a8951(0xf7)][_0x1a8951(0x299)](),this[_0x1a8951(0x3c2)][_0x1a8951(0x299)](),super[_0x1a8951(0x435)]();}[_0x51c22c(0x2c5)](){const _0x2ec2a6=_0x51c22c;this['_adapterRegistry'][_0x2ec2a6(0x138)][_0x2ec2a6(0x1d3)]((0x0,_0x2d19f1['takeUntil'])(this[_0x2ec2a6(0x37d)]))[_0x2ec2a6(0x15d)](_0x2fff0a=>this['_syncAdapters'](_0x2fff0a));}[_0x51c22c(0x31d)](_0x117594){const _0x36d653=_0x51c22c;let _0x7a9a09=new Set(_0x117594[_0x36d653(0x33c)](_0x28d00b=>_0x28d00b[_0x36d653(0x35d)]));this['_adapterDisposables'][_0x36d653(0x2f7)]((_0x4b132c,_0x27f860)=>{const _0x41c7aa=_0x36d653;_0x7a9a09[_0x41c7aa(0x318)](_0x27f860)||(_0x4b132c[_0x41c7aa(0x435)](),this[_0x41c7aa(0x2f6)]['delete'](_0x27f860),this['_disposeEntitiesForType'](_0x27f860));}),_0x117594[_0x36d653(0x2f7)](_0x220810=>{const _0x440c76=_0x36d653;this[_0x440c76(0x2f6)]['has'](_0x220810[_0x440c76(0x35d)])||this[_0x440c76(0x1c5)](_0x220810);});}[_0x51c22c(0x1c5)](_0x22b3fc){const _0x4ee65b=_0x51c22c;let _0x490cc2=new _0x4b44eb[(_0x4ee65b(0x1c4))]();this[_0x4ee65b(0x2f6)][_0x4ee65b(0x381)](_0x22b3fc[_0x4ee65b(0x35d)],_0x490cc2),_0x490cc2[_0x4ee65b(0x2e3)](_0x22b3fc[_0x4ee65b(0x107)]()),this[_0x4ee65b(0x257)]['getAllUnitsForType'](_0x22b3fc[_0x4ee65b(0x35d)])[_0x4ee65b(0x2f7)](_0x211baa=>this[_0x4ee65b(0x40c)](_0x211baa[_0x4ee65b(0x3fd)](),_0x22b3fc)['catch'](()=>void 0x0));let _0x2c8fac=this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x22b3fc[_0x4ee65b(0x35d)])[_0x4ee65b(0x15d)](({unit:_0x56810f})=>this['_startEntity'](_0x56810f['getUnitId'](),_0x22b3fc)['catch'](()=>void 0x0));_0x490cc2[_0x4ee65b(0x2e3)]((0x0,_0x4b44eb['toDisposable'])(()=>_0x2c8fac['unsubscribe']()));let _0x1d11ac=this[_0x4ee65b(0x257)][_0x4ee65b(0x3f4)](_0x22b3fc[_0x4ee65b(0x35d)])[_0x4ee65b(0x15d)](_0x779876=>this[_0x4ee65b(0x262)](_0x779876[_0x4ee65b(0x3fd)]()));_0x490cc2[_0x4ee65b(0x2e3)]((0x0,_0x4b44eb[_0x4ee65b(0x30c)])(()=>_0x1d11ac[_0x4ee65b(0x211)]()));}async[_0x51c22c(0x40c)](_0x54fbb2,_0x51a395){const _0x48360=_0x51c22c;if(this[_0x48360(0xf7)]['has'](_0x54fbb2)||this[_0x48360(0x3c2)][_0x48360(0x318)](_0x54fbb2))return;let _0x4a3455={};this[_0x48360(0x3c2)]['set'](_0x54fbb2,_0x4a3455);let _0x43cab2=await this[_0x48360(0x3b5)]['requireSession'](_0x54fbb2)[_0x48360(0x352)](_0x45b31e=>{const _0x4ac477=_0x48360;throw this[_0x4ac477(0x3c2)][_0x4ac477(0x3e4)](_0x54fbb2)===_0x4a3455&&this['_pendingEntities'][_0x4ac477(0x3b6)](_0x54fbb2),_0x45b31e;});if(this[_0x48360(0x273)]||this[_0x48360(0x3c2)][_0x48360(0x3e4)](_0x54fbb2)!==_0x4a3455||this[_0x48360(0x333)]['get'](_0x51a395[_0x48360(0x35d)])!==_0x51a395){this['_pendingEntities'][_0x48360(0x3e4)](_0x54fbb2)===_0x4a3455&&this['_pendingEntities'][_0x48360(0x3b6)](_0x54fbb2);return;}let _0x3ec035=this[_0x48360(0x28c)][_0x48360(0x2ca)](_0x5884a2,_0x54fbb2,_0x43cab2,_0x51a395);_0x3ec035[_0x48360(0x263)](),this[_0x48360(0x3c2)][_0x48360(0x3b6)](_0x54fbb2),this['_entities'][_0x48360(0x381)](_0x54fbb2,_0x3ec035);}[_0x51c22c(0x262)](_0x2b2486){const _0x4aba4f=_0x51c22c;this[_0x4aba4f(0x3c2)][_0x4aba4f(0x3b6)](_0x2b2486);let _0x4f8807=this[_0x4aba4f(0xf7)][_0x4aba4f(0x3e4)](_0x2b2486);_0x4f8807&&(_0x4f8807[_0x4aba4f(0x435)](),this[_0x4aba4f(0xf7)][_0x4aba4f(0x3b6)](_0x2b2486));}[_0x51c22c(0x317)](_0x681aca){const _0x12bd8f=_0x51c22c;this[_0x12bd8f(0x257)][_0x12bd8f(0x329)](_0x681aca)['forEach'](_0x967a35=>this[_0x12bd8f(0x3c2)][_0x12bd8f(0x3b6)](_0x967a35[_0x12bd8f(0x3fd)]())),Array['from'](this[_0x12bd8f(0xf7)][_0x12bd8f(0x1f3)]())[_0x12bd8f(0x2f7)](([_0x1b56f7,_0x2b6fd6])=>{const _0x404888=_0x12bd8f;_0x2b6fd6[_0x404888(0x35d)]===_0x681aca&&this[_0x404888(0x262)](_0x1b56f7);});}};_0x556b0c=_0x3d1959([_0x1dae39(0x0,_0x4b44eb['IUniverInstanceService']),_0x1dae39(0x1,(0x0,_0x4b44eb['Inject'])(_0x4b44eb['Injector'])),_0x1dae39(0x2,(0x0,_0x4b44eb[_0x51c22c(0x154)])(_0x2338a8[_0x51c22c(0x140)])),_0x1dae39(0x3,(0x0,_0x4b44eb[_0x51c22c(0x154)])(_0x13c852[_0x51c22c(0x168)]))],_0x556b0c);let _0x339352={'toast':_0x51c22c(0x3db),'actionButton':_0x51c22c(0x216)},_0x1e3563=class extends _0x4b44eb[_0x51c22c(0x179)]{constructor(_0x161097,_0x1aa2d3,_0x3bfa53,_0x4dc8b1,_0x4dfd42,_0x2b2f06){const _0x12caae=_0x51c22c;super(),this[_0x12caae(0x43d)]=_0x161097,this[_0x12caae(0x26b)]=_0x1aa2d3,this[_0x12caae(0x224)]=_0x3bfa53,this[_0x12caae(0x288)]=_0x4dc8b1,this[_0x12caae(0x349)]=_0x4dfd42,this['_localeService']=_0x2b2f06,_0x5211cd(this,'_conflictNotification',null),_0x5211cd(this,_0x12caae(0x307),new Set()),this[_0x12caae(0x37c)](),this[_0x12caae(0x37b)]();}[_0x51c22c(0x435)](){const _0x165616=_0x51c22c;var _0x51ea2c;(_0x51ea2c=this[_0x165616(0x2ed)])==null||_0x51ea2c[_0x165616(0x435)](),this['_conflictNotification']=null,super['dispose']();}[_0x51c22c(0x37c)](){const _0x1ed51f=_0x51c22c;this[_0x1ed51f(0x2d2)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x464831=_0x1ed51f;if(this[_0x464831(0x26b)]['saveTaskMap'][_0x464831(0x108)])return this[_0x464831(0x28e)]['t']('collaboration-client-ui.collaboration.offline-data-not-saved');}));}[_0x51c22c(0x37b)](){const _0x1fa094=_0x51c22c;this[_0x1fa094(0x2d2)](this[_0x1fa094(0x224)][_0x1fa094(0x3fb)][_0x1fa094(0x15d)](_0x2d8f1c=>{const _0x212889=_0x1fa094;_0x2d8f1c['id']===_0x2338a8['CollaborationUIEventId'][_0x212889(0x20d)]&&this[_0x212889(0x288)]['show']({'type':_0x78518c['MessageType'][_0x212889(0x1c1)],'content':this['_localeService']['t'](_0x212889(0x3a5))}),_0x2d8f1c['id']===_0x2338a8[_0x212889(0x44a)]['CLOSE_ROOM']&&this[_0x212889(0x288)][_0x212889(0x1ee)]({'type':_0x78518c[_0x212889(0x28a)][_0x212889(0x1c1)],'content':this['_localeService']['t'](_0x212889(0x1f0))}),_0x2d8f1c['id']===_0x2338a8[_0x212889(0x44a)][_0x212889(0x409)]&&this['_replaceConflictNotification']({'title':this[_0x212889(0x28e)]['t'](_0x212889(0x35f)),'content':this[_0x212889(0x28e)]['t'](_0x212889(0x33b)),'type':_0x212889(0x410),'duration':0x1/0x0,'closable':!0x1,'dismissible':!0x1,'classNames':_0x339352,'action':{'label':this[_0x212889(0x28e)]['t'](_0x212889(0x421)),'onClick':_0x5c7421=>{const _0x4ead36=_0x212889;_0x5c7421[_0x4ead36(0x279)](),window[_0x4ead36(0x363)][_0x4ead36(0x372)]();}}}),_0x2d8f1c['id']===_0x2338a8['CollaborationUIEventId']['CONFLICT_PROCESSING']&&this[_0x212889(0x3fc)](),_0x2d8f1c['id']===_0x2338a8['CollaborationUIEventId'][_0x212889(0x241)]&&_0x2d8f1c[_0x212889(0x256)]&&this[_0x212889(0x3f5)](_0x2d8f1c[_0x212889(0x256)]),_0x2d8f1c['id']===_0x2338a8[_0x212889(0x44a)]['CONFLICT']&&this[_0x212889(0x330)]({'title':this[_0x212889(0x28e)]['t']('collaboration-client-ui.conflict.title'),'content':this[_0x212889(0x28e)]['t'](_0x212889(0x382)),'type':_0x212889(0x410),'duration':0x1/0x0,'closable':!0x1,'dismissible':!0x1,'classNames':_0x339352,'action':{'label':this[_0x212889(0x28e)]['t'](_0x212889(0x421)),'onClick':_0x21edfe=>{const _0x3005bf=_0x212889;_0x21edfe[_0x3005bf(0x279)](),window[_0x3005bf(0x363)][_0x3005bf(0x372)]();}}}),_0x2d8f1c['id']===_0x2338a8['CollaborationUIEventId'][_0x212889(0x17d)]&&this[_0x212889(0x288)][_0x212889(0x1ee)]({'type':_0x78518c['MessageType']['Warning'],'content':this[_0x212889(0x28e)]['t'](_0x2d8f1c['data']||'')}),_0x2d8f1c['id']===_0x2338a8[_0x212889(0x44a)]['SOCKET_FAILED_RETRY']&&this['_messageService'][_0x212889(0x1ee)]({'type':_0x78518c['MessageType'][_0x212889(0x1c1)],'content':this[_0x212889(0x28e)]['t'](_0x212889(0x2be))}),_0x2d8f1c['id']===_0x2338a8['CollaborationUIEventId']['SOCKET_FAILED']&&this[_0x212889(0x288)][_0x212889(0x1ee)]({'type':_0x78518c[_0x212889(0x28a)][_0x212889(0x337)],'content':this['_localeService']['t'](_0x212889(0x230))}),_0x2d8f1c['id']===_0x2338a8[_0x212889(0x44a)][_0x212889(0x259)]&&this[_0x212889(0x288)][_0x212889(0x1ee)]({'type':_0x78518c[_0x212889(0x28a)][_0x212889(0x337)],'content':this[_0x212889(0x28e)]['t'](_0x212889(0x388))});}));}[_0x51c22c(0x3fc)](){const _0xf48284=_0x51c22c;this['_replaceConflictNotification']({'title':this[_0xf48284(0x28e)]['t']('collaboration-client-ui.conflict.title'),'content':this[_0xf48284(0x28e)]['t'](_0xf48284(0x19c)),'type':_0xf48284(0x2e7),'duration':0x1/0x0,'closable':!0x1,'dismissible':!0x1});}[_0x51c22c(0x3f5)](_0x38253a){const _0xd2a799=_0x51c22c;this[_0xd2a799(0x330)]({'title':this[_0xd2a799(0x28e)]['t'](_0xd2a799(0x197)),'content':this['_localeService']['t'](_0xd2a799(0x29b)),'type':_0xd2a799(0x410),'duration':0x1/0x0,'closable':!0x1,'dismissible':!0x1,'classNames':_0x339352,'action':{'label':this[_0xd2a799(0x28e)]['t'](_0xd2a799(0x3d5)),'onClick':_0x230207=>{const _0x54e4e0=_0xd2a799;_0x230207[_0x54e4e0(0x279)](),this[_0x54e4e0(0x2fb)](_0x38253a);}}});}['_retryConflictCacheClear'](_0x36c2f2){const _0x296830=_0x51c22c;this[_0x296830(0x307)]['has'](_0x36c2f2)||(this[_0x296830(0x307)]['add'](_0x36c2f2),this[_0x296830(0x3fc)](),this[_0x296830(0x26b)]['clearOfflineData'](_0x36c2f2)['then'](()=>window[_0x296830(0x363)]['reload']())[_0x296830(0x352)](()=>this[_0x296830(0x3f5)](_0x36c2f2))[_0x296830(0x2ea)](()=>this[_0x296830(0x307)][_0x296830(0x3b6)](_0x36c2f2)));}[_0x51c22c(0x330)](_0x34660c){const _0x55fbbf=_0x51c22c;var _0x24cc51;(_0x24cc51=this[_0x55fbbf(0x2ed)])==null||_0x24cc51['dispose'](),this['_conflictNotification']=this['_notificationService']['show'](_0x34660c);}};_0x1e3563=_0x3d1959([_0x1dae39(0x0,_0x13c852[_0x51c22c(0x261)]),_0x1dae39(0x1,_0x2338a8[_0x51c22c(0x1dc)]),_0x1dae39(0x2,(0x0,_0x4b44eb[_0x51c22c(0x154)])(_0x2338a8[_0x51c22c(0x43c)])),_0x1dae39(0x3,_0x13c852[_0x51c22c(0x2e0)]),_0x1dae39(0x4,_0x13c852['INotificationService']),_0x1dae39(0x5,(0x0,_0x4b44eb[_0x51c22c(0x154)])(_0x4b44eb['LocaleService']))],_0x1e3563);let _0x403a9b=(0x0,_0x4b44eb['createIdentifier'])('uni.network.url-service'),_0x311e36=class extends _0x4b44eb[_0x51c22c(0x308)]{constructor(_0x42d32e,_0x174bb0,_0x5daaf9,_0x2eba7a){const _0x1eb779=_0x51c22c;super(),this[_0x1eb779(0x2f3)]=_0x42d32e,this[_0x1eb779(0x282)]=_0x174bb0,this[_0x1eb779(0x200)]=_0x5daaf9,this[_0x1eb779(0x26d)]=_0x2eba7a,this[_0x1eb779(0x2c5)]()[_0x1eb779(0x352)](_0x9abd5e=>this[_0x1eb779(0x282)]['error'](_0x1eb779(0x375),_0x9abd5e));}async['_init'](){const _0x14b830=_0x51c22c;let _0x17b124=this[_0x14b830(0x2f3)][_0x14b830(0x356)](_0x14b830(0x2bd)),_0x5d07e7=this[_0x14b830(0x2f3)][_0x14b830(0x356)](_0x14b830(0x34c)),_0x588bc8=this[_0x14b830(0x2f3)][_0x14b830(0x356)](_0x14b830(0x3d2));if(!_0x17b124||!_0x5d07e7){this[_0x14b830(0x282)]['debug'](_0x14b830(0x375),_0x14b830(0x335));return;}let _0x203e2f=await this[_0x14b830(0x26d)][_0x14b830(0x373)](_0x17b124,Number(_0x5d07e7),_0x588bc8);this[_0x14b830(0x3bf)]||_0x203e2f&&_0x203e2f instanceof _0x4b44eb['Workbook']&&await this['_setupSubUnitSync'](_0x203e2f);}async[_0x51c22c(0x40a)](_0x11d37d){const _0x5ce26b=_0x51c22c;await this[_0x5ce26b(0x2a6)](_0x11d37d,!0x0),!this['_disposed']&&(_0x11d37d['activeSheet$'][_0x5ce26b(0x1d3)]((0x0,_0x2d19f1[_0x5ce26b(0x129)])(this[_0x5ce26b(0x37d)]))['subscribe'](_0x17d001=>{const _0x54c366=_0x5ce26b;_0x17d001&&this[_0x54c366(0x228)](_0x17d001);}),this[_0x5ce26b(0x2f3)][_0x5ce26b(0x302)][_0x5ce26b(0x1d3)]((0x0,_0x2d19f1[_0x5ce26b(0x129)])(this['dispose$']))['subscribe'](()=>{const _0x2ea380=_0x5ce26b;this[_0x2ea380(0x2a6)](_0x11d37d)[_0x2ea380(0x352)](_0x2332f5=>this[_0x2ea380(0x282)][_0x2ea380(0x410)](_0x2ea380(0x375),_0x2332f5));}));}[_0x51c22c(0x228)](_0x1391e9,_0x1a6dd8=!0x1){const _0x4297d3=_0x51c22c;let _0x26dbe6=this[_0x4297d3(0x2f3)][_0x4297d3(0x356)](_0x4297d3(0x3d2));_0x1391e9[_0x4297d3(0x1b2)]()!==_0x26dbe6&&this[_0x4297d3(0x2f3)]['setParam'](_0x4297d3(0x3d2),_0x1391e9[_0x4297d3(0x1b2)](),_0x1a6dd8);}async[_0x51c22c(0x2a6)](_0x363fd0,_0x501413=!0x1){const _0x3a0c56=_0x51c22c;var _0x12c2cb;let _0x1503f9=this[_0x3a0c56(0x2f3)][_0x3a0c56(0x356)](_0x3a0c56(0x3d2));if(!_0x1503f9||!_0x363fd0[_0x3a0c56(0x19a)](_0x1503f9)){let _0x17c279=_0x363fd0['getUnhiddenWorksheets']()[0x0],_0x540e20=_0x363fd0[_0x3a0c56(0x19a)](_0x17c279);if(!_0x540e20||(this[_0x3a0c56(0x228)](_0x540e20,!0x0),this['_disposed']))return;await this[_0x3a0c56(0x200)]['executeCommand'](_0x19c3a6[_0x3a0c56(0x1b4)]['id'],{'unitId':_0x363fd0[_0x3a0c56(0x3fd)](),'subUnitId':_0x17c279});return;}(_0x501413||((_0x12c2cb=_0x363fd0[_0x3a0c56(0x118)]())==null?void 0x0:_0x12c2cb[_0x3a0c56(0x1b2)]())!==_0x1503f9)&&await this[_0x3a0c56(0x200)]['executeCommand'](_0x19c3a6[_0x3a0c56(0x1b4)]['id'],{'unitId':_0x363fd0[_0x3a0c56(0x3fd)](),'subUnitId':_0x1503f9});}};_0x311e36=_0x3d1959([_0x1dae39(0x0,_0x403a9b),_0x1dae39(0x1,_0x4b44eb[_0x51c22c(0x39c)]),_0x1dae39(0x2,_0x4b44eb[_0x51c22c(0x1bf)]),_0x1dae39(0x3,(0x0,_0x4b44eb[_0x51c22c(0x154)])(_0x2338a8['DataLoaderService']))],_0x311e36);let _0x1d18dc=class{constructor(_0x536502,_0x3eca27){const _0x2e8a61=_0x51c22c;this['_transformService']=_0x536502,this[_0x2e8a61(0x2c8)]=_0x3eca27;}['transformIMECache'](_0x7db7eb){const _0x40dc3d=_0x51c22c;this[_0x40dc3d(0x22a)](_0x7db7eb),this[_0x40dc3d(0x367)](_0x7db7eb);}[_0x51c22c(0x3d1)](_0x5e7038){const _0x126443=_0x51c22c;let {unitID:_0x23118c}=_0x5e7038,{redoCache:_0x499cea}=this[_0x126443(0x2c8)][_0x126443(0x2d9)](_0x23118c)[_0x126443(0x39e)](_0x44014a[_0x126443(0x40d)])['getUndoRedoMutationParamsCache']();if(_0x499cea[_0x126443(0x23f)]===0x0)return _0x5e7038;let _0x4fd550=_0x4b44eb[_0x126443(0x2c6)][_0x126443(0x36e)](_0x5e7038[_0x126443(0x11c)][0x0]);for(let _0x5a04a8=0x0;_0x5a04a8<_0x499cea['length'];_0x5a04a8++){let _0x44740d={'id':_0x126443(0x3a4),'params':{..._0x499cea[_0x5a04a8]}},_0x8f5a24=this[_0x126443(0x1b7)]['transformMutation'](_0x4fd550,_0x44740d,!0x1);if((0x0,_0x5d903f[_0x126443(0x42d)])(_0x8f5a24))throw _0x8f5a24[_0x126443(0x410)];_0x4fd550=_0x8f5a24['m1Prime'];}return{..._0x4b44eb[_0x126443(0x2c6)][_0x126443(0x36e)](_0x5e7038),'mutations':[_0x4fd550]};}['_transformUndoRedoStack'](_0x26ab03){const _0x2b5b97=_0x51c22c;let {unitID:_0x529c50}=_0x26ab03,_0x1f196b=this[_0x2b5b97(0x2c8)]['getRenderUnitById'](_0x529c50)[_0x2b5b97(0x39e)](_0x44014a['DocIMEInputManagerService']),{undoCache:_0x3694d3,redoCache:_0x54f7bb}=_0x1f196b['getUndoRedoMutationParamsCache']();if(_0x3694d3[_0x2b5b97(0x23f)]===0x0||_0x54f7bb[_0x2b5b97(0x23f)]===0x0)return;let _0x39a3f3=[],_0x137f34=[],_0x35e416=_0x4b44eb[_0x2b5b97(0x2c6)][_0x2b5b97(0x36e)](_0x26ab03['mutations'][0x0]),_0x509ee7=_0x4b44eb[_0x2b5b97(0x2c6)][_0x2b5b97(0x36e)](_0x26ab03[_0x2b5b97(0x11c)][0x0]);for(let _0x1b0fdd=_0x3694d3[_0x2b5b97(0x23f)]-0x1;_0x1b0fdd>=0x0;_0x1b0fdd--){let _0x568693={'id':'doc.mutation.rich-text-editing','params':{..._0x3694d3[_0x1b0fdd]}},_0x3cbc41={'id':_0x2b5b97(0x3a4),'params':{..._0x54f7bb[_0x1b0fdd]}},_0x573071=this['_transformService'][_0x2b5b97(0x18a)](_0x35e416,_0x568693,!0x1),_0x3d051d=this['_transformService'][_0x2b5b97(0x18a)](_0x509ee7,_0x3cbc41,!0x1);if((0x0,_0x5d903f[_0x2b5b97(0x42d)])(_0x573071))throw _0x573071['error'];if((0x0,_0x5d903f[_0x2b5b97(0x42d)])(_0x3d051d))throw _0x3d051d[_0x2b5b97(0x410)];_0x39a3f3[_0x2b5b97(0x1ec)](_0x573071['m2Prime'][_0x2b5b97(0x295)]),_0x137f34[_0x2b5b97(0x1ec)](_0x3d051d[_0x2b5b97(0x3d6)]['params']),_0x35e416=_0x573071['m1Prime'],_0x509ee7=_0x3d051d['m1Prime'];}_0x1f196b[_0x2b5b97(0x3ce)]({'undoCache':_0x39a3f3,'redoCache':_0x137f34});}[_0x51c22c(0x367)](_0x23edca){const _0x2d0dbc=_0x51c22c;let {unitID:_0x28658a}=_0x23edca,_0x401fac=this['_renderManagerService'][_0x2d0dbc(0x2d9)](_0x28658a)['with'](_0x44014a[_0x2d0dbc(0x40d)]),_0x171b07=_0x401fac[_0x2d0dbc(0x39a)]();if(_0x171b07==null)return;let _0x48936f=[{'id':_0x2d0dbc(0x3a4),'params':{'unitId':_0x23edca[_0x2d0dbc(0x256)],'actions':null,'textRanges':[_0x171b07]}}],_0x557a0d=this[_0x2d0dbc(0x1b7)]['transformMutationsWithChangeset'](_0x23edca,_0x48936f);if(!(0x0,_0x5d903f[_0x2d0dbc(0x427)])(_0x557a0d))throw _0x557a0d[_0x2d0dbc(0x410)];let _0x4e6f2d=_0x557a0d['m2Prime'][0x0][_0x2d0dbc(0x295)][_0x2d0dbc(0x339)];Array[_0x2d0dbc(0x1fc)](_0x4e6f2d)&&_0x4e6f2d['length']&&_0x401fac[_0x2d0dbc(0x26a)](_0x4e6f2d[0x0]);}};_0x1d18dc=_0x3d1959([_0x1dae39(0x0,_0x5d903f[_0x51c22c(0x132)]),_0x1dae39(0x1,_0x35fad8['IRenderManagerService'])],_0x1d18dc);let _0x4da3eb=class{constructor(_0x46a3d5,_0x9923e,_0x34b138){const _0x27fb85=_0x51c22c;this[_0x27fb85(0x28c)]=_0x46a3d5,this['_transformService']=_0x9923e,this['_docStateChangeManagerService']=_0x34b138;}['transformStateCache'](_0x4b5f03){const _0x5edfd5=_0x51c22c;this[_0x5edfd5(0x2fe)](_0x4b5f03);}[_0x51c22c(0x3d1)](_0x38c9d2){const _0x4bdd9c=_0x51c22c;let {unitID:_0x29fe86}=_0x38c9d2,{collaboration:_0x50b426}=this[_0x4bdd9c(0x172)]['getStateCache'](_0x29fe86);if(_0x50b426[_0x4bdd9c(0x23f)]===0x0)return _0x38c9d2;let _0x3cce09=_0x4b44eb['Tools'][_0x4bdd9c(0x36e)](_0x38c9d2[_0x4bdd9c(0x11c)][0x0]);for(let _0xe62f8=0x0;_0xe62f8<_0x50b426[_0x4bdd9c(0x23f)];_0xe62f8++){let _0xa1dcfe={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x50b426[_0xe62f8][_0x4bdd9c(0x246)],..._0x50b426[_0xe62f8][_0x4bdd9c(0x401)]}},_0xc21893=this[_0x4bdd9c(0x1b7)][_0x4bdd9c(0x18a)](_0x3cce09,_0xa1dcfe,!0x1);if((0x0,_0x5d903f[_0x4bdd9c(0x42d)])(_0xc21893))throw _0xc21893[_0x4bdd9c(0x410)];_0x3cce09=_0xc21893[_0x4bdd9c(0x43a)];}return{..._0x4b44eb[_0x4bdd9c(0x2c6)][_0x4bdd9c(0x36e)](_0x38c9d2),'mutations':[_0x3cce09]};}[_0x51c22c(0x2fe)](_0x554cbd){const _0xd82731=_0x51c22c;let {unitID:_0x1ada04}=_0x554cbd,{history:_0x5d5d2b,collaboration:_0xba27f7}=this[_0xd82731(0x172)][_0xd82731(0x391)](_0x1ada04);if(_0x5d5d2b[_0xd82731(0x23f)]===0x0&&_0xba27f7[_0xd82731(0x23f)]===0x0)return;let _0x42cdea=[],_0x1fa451=[],_0x29b051=_0x4b44eb[_0xd82731(0x2c6)][_0xd82731(0x36e)](_0x554cbd[_0xd82731(0x11c)][0x0]),_0x3a33a9=_0x4b44eb[_0xd82731(0x2c6)][_0xd82731(0x36e)](_0x554cbd[_0xd82731(0x11c)][0x0]);for(let _0x39d65a=_0x5d5d2b[_0xd82731(0x23f)]-0x1;_0x39d65a>=0x0;_0x39d65a--){let _0x45ace0={'id':_0xd82731(0x3a4),'params':{'unitId':_0x5d5d2b[_0x39d65a]['unitId'],..._0x5d5d2b[_0x39d65a][_0xd82731(0x3a0)]}},_0x10f63c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5d5d2b[_0x39d65a][_0xd82731(0x246)],..._0x5d5d2b[_0x39d65a][_0xd82731(0x401)]}},_0x13ebe5=this['_transformService'][_0xd82731(0x18a)](_0x29b051,_0x45ace0,!0x1),_0x5342f7=this[_0xd82731(0x1b7)][_0xd82731(0x18a)](_0x3a33a9,_0x10f63c,!0x1);if((0x0,_0x5d903f[_0xd82731(0x42d)])(_0x13ebe5))throw _0x13ebe5[_0xd82731(0x410)];if((0x0,_0x5d903f[_0xd82731(0x42d)])(_0x5342f7))throw _0x5342f7['error'];_0x42cdea['unshift']({..._0x5d5d2b[_0x39d65a],'undoState':_0x13ebe5['m2Prime']['params'],'redoState':_0x5342f7['m2Prime'][_0xd82731(0x295)]}),_0x29b051=_0x13ebe5['m1Prime'],_0x3a33a9=_0x5342f7['m1Prime'];}_0x29b051=_0x4b44eb[_0xd82731(0x2c6)][_0xd82731(0x36e)](_0x554cbd[_0xd82731(0x11c)][0x0]),_0x3a33a9=_0x4b44eb[_0xd82731(0x2c6)][_0xd82731(0x36e)](_0x554cbd[_0xd82731(0x11c)][0x0]);for(let _0x4feddd=_0xba27f7[_0xd82731(0x23f)]-0x1;_0x4feddd>=0x0;_0x4feddd--){let _0x54d8c1={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xba27f7[_0x4feddd][_0xd82731(0x246)],..._0xba27f7[_0x4feddd][_0xd82731(0x3a0)]}},_0x33136b={'id':_0xd82731(0x3a4),'params':{'unitId':_0xba27f7[_0x4feddd][_0xd82731(0x246)],..._0xba27f7[_0x4feddd][_0xd82731(0x401)]}},_0x579a1c=this[_0xd82731(0x1b7)][_0xd82731(0x18a)](_0x29b051,_0x54d8c1,!0x1),_0x5df207=this[_0xd82731(0x1b7)][_0xd82731(0x18a)](_0x3a33a9,_0x33136b,!0x1);if((0x0,_0x5d903f['isTransformMutationFailure'])(_0x579a1c))throw _0x579a1c[_0xd82731(0x410)];if((0x0,_0x5d903f['isTransformMutationFailure'])(_0x5df207))throw _0x5df207[_0xd82731(0x410)];_0x1fa451[_0xd82731(0x1ec)]({..._0xba27f7[_0x4feddd],'undoState':_0x579a1c['m2Prime'][_0xd82731(0x295)],'redoState':_0x5df207['m2Prime']['params']}),_0x29b051=_0x579a1c[_0xd82731(0x43a)],_0x3a33a9=_0x5df207[_0xd82731(0x43a)];}this[_0xd82731(0x172)][_0xd82731(0x29a)](_0x1ada04,{'history':_0x42cdea,'collaboration':_0x1fa451});}};_0x4da3eb=_0x3d1959([_0x1dae39(0x0,(0x0,_0x4b44eb[_0x51c22c(0x154)])(_0x4b44eb[_0x51c22c(0x1fd)])),_0x1dae39(0x1,_0x5d903f[_0x51c22c(0x132)]),_0x1dae39(0x2,(0x0,_0x4b44eb[_0x51c22c(0x154)])(_0x228ee9[_0x51c22c(0x116)]))],_0x4da3eb);let _0x115b2f=class{constructor(_0x1c868f,_0x3eb335){const _0x1dde31=_0x51c22c;this[_0x1dde31(0x397)]=_0x1c868f,this[_0x1dde31(0x1b7)]=_0x3eb335;}[_0x51c22c(0x153)](_0x1489d9){const _0x59ccf6=_0x51c22c;var _0x30bef4;let _0x21aa0b=this[_0x59ccf6(0x397)][_0x59ccf6(0x347)]()??[],_0x3dd677=this[_0x59ccf6(0x397)][_0x59ccf6(0x258)]();if(_0x21aa0b[_0x59ccf6(0x23f)]===0x0||_0x3dd677==null)return null;let _0x3689b5=_0x1489d9[_0x59ccf6(0x256)],_0x113d9b=[{'id':_0x59ccf6(0x3a4),'params':{'unitId':_0x3689b5,'actions':null,'textRanges':_0x21aa0b}}],_0x68182e=this[_0x59ccf6(0x1b7)]['transformMutationsWithChangeset'](_0x1489d9,_0x113d9b);if(!(0x0,_0x5d903f['isTransformMutationsWithChangesetSuccess'])(_0x68182e))throw _0x68182e[_0x59ccf6(0x410)];let _0x43b7c1=(_0x30bef4=_0x68182e[_0x59ccf6(0x3d6)][0x0])==null?void 0x0:_0x30bef4[_0x59ccf6(0x295)],_0x53cfa9=_0x43b7c1&&typeof _0x43b7c1==_0x59ccf6(0x353)&&_0x59ccf6(0x339)in _0x43b7c1?_0x43b7c1[_0x59ccf6(0x339)]:null;if(!_0x278bf3(_0x53cfa9))return null;let _0x2fe45f=_0x32acba(_0x1489d9[_0x59ccf6(0x11c)][_0x59ccf6(0x359)](_0x14af56=>_0x5211d8(_0x14af56[_0x59ccf6(0x295)]))?_0x53cfa9[_0x59ccf6(0x41f)](_0x57d3b2=>!(_0x59ccf6(0x122)in _0x57d3b2)):_0x53cfa9,{..._0x3dd677,'options':_0x3dd677[_0x59ccf6(0x182)]?{..._0x3dd677[_0x59ccf6(0x182)],'wholeDocument':!0x1}:void 0x0}),_0x484e47={'unitId':_0x3689b5,'subUnitId':_0x3689b5};this['_docSelectionManagerService']['replaceSelectionInfoWithoutRefresh'](_0x2fe45f,_0x484e47);let _0x5196db=!0x0;return{'commit':()=>{_0x5196db=!0x1;},'rollback':()=>{const _0x23e90c=_0x59ccf6;_0x5196db&&(_0x5196db=!0x1,this[_0x23e90c(0x397)][_0x23e90c(0x3ae)](_0x3dd677,_0x484e47));}};}};_0x115b2f=_0x3d1959([_0x1dae39(0x0,(0x0,_0x4b44eb['Inject'])(_0x228ee9['DocSelectionManagerService'])),_0x1dae39(0x1,_0x5d903f[_0x51c22c(0x132)])],_0x115b2f);function _0x32acba(_0x5d5945,_0x508b12){const _0x29e554=_0x51c22c;let _0x5801ad=[],_0x2c36d5=[];for(let _0x30f64f of _0x5d5945)_0x576834(_0x30f64f)?_0x2c36d5[_0x29e554(0x309)](_0x30f64f):_0x5801ad['push'](_0x30f64f);return{..._0x508b12,'textRanges':_0x5801ad,'rectRanges':_0x2c36d5};}function _0x576834(_0x1313f4){const _0x311db8=_0x51c22c;return _0x311db8(0x122)in _0x1313f4;}function _0x278bf3(_0x453598){const _0x547049=_0x51c22c;return Array[_0x547049(0x1fc)](_0x453598)&&_0x453598[_0x547049(0x322)](_0x3300a3=>typeof _0x3300a3=='object'&&!!_0x3300a3&&_0x547049(0x327)in _0x3300a3&&_0x547049(0x3b4)in _0x3300a3);}function _0x5211d8(_0x47390d){const _0x5c2e0b=_0x51c22c;return _0x47390d===_0x5c2e0b(0x127)?!0x0:Array[_0x5c2e0b(0x1fc)](_0x47390d)?_0x47390d['some'](_0x116b76=>_0x5211d8(_0x116b76)):!_0x47390d||typeof _0x47390d!=_0x5c2e0b(0x353)?!0x1:Object[_0x5c2e0b(0x25c)](_0x47390d)[_0x5c2e0b(0x359)](_0x4b4dc6=>_0x5211d8(_0x4b4dc6));}let _0x15495d=class extends _0x4b44eb['Disposable']{constructor(_0x3c1caf,_0xab89da,_0x1cc088,_0x3d26ce,_0x44d5fc,_0x476b92,_0x1b37c5){const _0x539884=_0x51c22c;super(),this['_collaborationController']=_0x3c1caf,this[_0x539884(0x20c)]=_0xab89da,this[_0x539884(0x1a9)]=_0x1cc088,this['_docTransformSelectionsService']=_0x3d26ce,this[_0x539884(0x13d)]=_0x44d5fc,this['_messageService']=_0x476b92,this[_0x539884(0x28e)]=_0x1b37c5,_0x5211cd(this,_0x539884(0x17b),new _0x2d19f1[(_0x539884(0x237))](_0x2338a8['CollaborationStatus'][_0x539884(0x165)])),this[_0x539884(0xfb)]();}['_initEntityListener'](){const _0x2f6419=_0x51c22c;this[_0x2f6419(0x2d2)](this[_0x2f6419(0x202)][_0x2f6419(0x3d4)]['subscribe'](_0x586586=>{const _0xad82c1=_0x2f6419;_0x586586 instanceof _0x2338a8[_0xad82c1(0x1b8)]&&_0x586586['addHandlerCallback']({'onTransformIME':_0x1e5e0e=>this['_docTransformIMECacheService']['transformIMECache'](_0x1e5e0e),'onTransformState':_0x410253=>this[_0xad82c1(0x1a9)][_0xad82c1(0x213)](_0x410253),'onPrepareTransformSelections':_0x3b1ef3=>this[_0xad82c1(0x446)]['prepareTransformSelections'](_0x3b1ef3),'onSyncEditingCollabCursor':_0x1ea9de=>this[_0xad82c1(0x13d)][_0xad82c1(0x2f4)](_0x1ea9de),'onTransformRemoteChangesetByIMECache':_0x332666=>this[_0xad82c1(0x20c)]['transformRemoteChangeset'](_0x332666),'onTransformRemoteChangesetByStateCache':_0x20c2cb=>this[_0xad82c1(0x1a9)]['transformRemoteChangeset'](_0x20c2cb)});}));}};_0x15495d=_0x3d1959([_0x1dae39(0x0,(0x0,_0x4b44eb['Inject'])(_0x2338a8[_0x51c22c(0x19d)])),_0x1dae39(0x1,(0x0,_0x4b44eb[_0x51c22c(0x154)])(_0x1d18dc)),_0x1dae39(0x2,(0x0,_0x4b44eb[_0x51c22c(0x154)])(_0x4da3eb)),_0x1dae39(0x3,(0x0,_0x4b44eb[_0x51c22c(0x154)])(_0x115b2f)),_0x1dae39(0x4,(0x0,_0x4b44eb['Inject'])(_0x250553)),_0x1dae39(0x5,_0x13c852[_0x51c22c(0x2e0)]),_0x1dae39(0x6,(0x0,_0x4b44eb[_0x51c22c(0x154)])(_0x4b44eb[_0x51c22c(0x155)]))],_0x15495d);let _0xc03588=class extends _0x4b44eb['Disposable']{constructor(_0x341f16,_0x1fa4a6,_0x142bb0,_0x449648){const _0x4917ca=_0x51c22c;super(),this[_0x4917ca(0x28c)]=_0x341f16,this[_0x4917ca(0x3d7)]=_0x1fa4a6,this[_0x4917ca(0x282)]=_0x142bb0,this[_0x4917ca(0x3ba)]=_0x449648,_0x5211cd(this,_0x4917ca(0x32d),void 0x0),this[_0x4917ca(0x2c5)]();}[_0x51c22c(0x2c5)](){const _0x59b5e5=_0x51c22c;this['_initWindowErrorListener'](),this[_0x59b5e5(0x203)](),this['_monkeyPatchLogService'](),this[_0x59b5e5(0x1c0)]();}['_initUserListener'](){const _0x3d32f5=_0x51c22c;this[_0x3d32f5(0x2d2)](this[_0x3d32f5(0x3ba)]['socket$']['subscribe'](_0xa58f81=>{const _0x5d31f3=_0x3d32f5;this[_0x5d31f3(0x32d)]=_0xa58f81==null?void 0x0:_0xa58f81[_0x5d31f3(0x392)];}));}[_0x51c22c(0x280)](){const _0x55720b=_0x51c22c;let _0x16c654=_0x57da84=>{const _0x1424f4=_0x463c;var _0x36be5d;this[_0x1424f4(0x11b)](_0x1424f4(0x410),_0x1424f4(0x2ae)+_0x57da84[_0x1424f4(0x3ff)]+_0x1424f4(0x377)+_0x57da84[_0x1424f4(0x414)]+':'+_0x57da84[_0x1424f4(0x244)]+':'+_0x57da84['colno']+'\x0a'+(((_0x36be5d=_0x57da84[_0x1424f4(0x410)])==null?void 0x0:_0x36be5d[_0x1424f4(0x30f)])||''));};window[_0x55720b(0x17e)](_0x55720b(0x410),_0x16c654),this[_0x55720b(0x2d2)](()=>{const _0x40eef7=_0x55720b;window['removeEventListener'](_0x40eef7(0x410),_0x16c654);});}[_0x51c22c(0x203)](){const _0x52f3cc=_0x51c22c;let _0x5c41e2=_0x95274d=>{const _0x5391c9=_0x463c;this[_0x5391c9(0x11b)]('error','[Unhandled\x20Rejection]:\x20'+_0x95274d[_0x5391c9(0x289)]);};window[_0x52f3cc(0x17e)](_0x52f3cc(0x3be),_0x5c41e2),this['disposeWithMe'](()=>{const _0x430a48=_0x52f3cc;window[_0x430a48(0x3c1)](_0x430a48(0x3be),_0x5c41e2);});}[_0x51c22c(0x319)](){const _0x1abff3=_0x51c22c;let _0x1db876=this[_0x1abff3(0x282)][_0x1abff3(0x410)]['bind'](this[_0x1abff3(0x282)]);this[_0x1abff3(0x282)][_0x1abff3(0x410)]=(..._0x3baed5)=>{const _0x146626=_0x1abff3;let _0x1fe10b=_0x3baed5[_0x146626(0x33c)](_0x5268a2=>_0x5268a2 instanceof Error?_0x5268a2[_0x146626(0x3ff)]+'\x0a'+_0x5268a2[_0x146626(0x30f)]:String(_0x5268a2))[_0x146626(0x221)]('\x20');this['_uploadLog']('error',_0x146626(0x11e)+_0x1fe10b),_0x1db876(..._0x3baed5);},this[_0x1abff3(0x2d2)](()=>{const _0x588b05=_0x1abff3;this[_0x588b05(0x282)][_0x588b05(0x410)]=_0x1db876;});}[_0x51c22c(0x11b)](_0x3a297d,_0x1ddaab){const _0x19d1fb=_0x51c22c;try{let _0x34e041={'userId':this['_memberID'],'logLabel':_0x3a297d,'content':_0x1ddaab};this[_0x19d1fb(0x3d7)][_0x19d1fb(0x2ff)](_0x19d1fb(0x17a),{'body':_0x34e041})[_0x19d1fb(0x352)](()=>{});}catch{}}};_0xc03588=_0x3d1959([_0x1dae39(0x0,(0x0,_0x4b44eb['Inject'])(_0x4b44eb['Injector'])),_0x1dae39(0x1,(0x0,_0x4b44eb['Inject'])(_0x3611f9[_0x51c22c(0x3e0)])),_0x1dae39(0x2,_0x4b44eb[_0x51c22c(0x39c)]),_0x1dae39(0x3,(0x0,_0x4b44eb[_0x51c22c(0x154)])(_0x2338a8[_0x51c22c(0x140)]))],_0xc03588);function _0x4e14b6({state$:_0x4ce4d3}){const _0x4899bd=_0x51c22c;let _0x55f263=(0x0,_0x13c852[_0x4899bd(0x3d3)])(_0x4ce4d3,null,!0x0);return _0x55f263?(0x0,_0x3d820f[_0x4899bd(0x152)])('div',{'data-u-comp':_0x4899bd(0x21f),'role':_0x4899bd(0x301),'className':'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-gray-0\x20univer-px-3\x20univer-py-2\x20univer-text-sm\x20univer-text-gray-900\x20univer-shadow-lg\x20dark:!univer-bg-gray-700\x20dark:!univer-text-gray-0','children':[(0x0,_0x3d820f[_0x4899bd(0x413)])(_0xb08e11,{'className':_0x4899bd(0x376)}),(0x0,_0x3d820f[_0x4899bd(0x413)])(_0x4899bd(0x28f),{'children':_0x55f263[_0x4899bd(0x232)]}),(0x0,_0x3d820f[_0x4899bd(0x413)])(_0x78518c[_0x4899bd(0x1ac)],{'size':'small','variant':'primary','onClick':()=>window[_0x4899bd(0x363)]['reload'](),'children':_0x55f263['refreshLabel']})]}):null;}let _0x4849a=_0x51c22c(0x12b),_0x451351=class extends _0x4b44eb[_0x51c22c(0x179)]{constructor(_0x591fe3,_0x4f8ccf,_0x35afcd,_0x2e6be6,_0x864860,_0x5c76cd){const _0x1e057b=_0x51c22c;super(),this['_snapshotLoadingService']=_0x591fe3,this[_0x1e057b(0x288)]=_0x4f8ccf,this[_0x1e057b(0x28e)]=_0x35afcd,this[_0x1e057b(0x28c)]=_0x2e6be6,this['_urlService']=_0x5c76cd,_0x5211cd(this,_0x1e057b(0x190),new _0x2d19f1[(_0x1e057b(0x237))](null)),_0x5211cd(this,_0x1e057b(0x437),new Set()),_0x5211cd(this,'_blockProgressWatches',new Map()),_0x5211cd(this,_0x1e057b(0x248),new Map()),_0x5211cd(this,'timeoutState$',this['_timeoutState$'][_0x1e057b(0x149)]());let _0x3c4be8=()=>(0x0,_0x409856[_0x1e057b(0x14a)])(_0x4e14b6,{'state$':this[_0x1e057b(0x260)]});this[_0x1e057b(0x2d2)](_0x864860[_0x1e057b(0x341)](_0x13c852[_0x1e057b(0x3b7)][_0x1e057b(0x10b)],()=>(0x0,_0x13c852[_0x1e057b(0x2c7)])(_0x3c4be8,this[_0x1e057b(0x28c)]))),this['disposeWithMe'](this[_0x1e057b(0x2e1)]['state$'][_0x1e057b(0x15d)](_0x1ae577=>{const _0x4f07c4=_0x1e057b;this[_0x4f07c4(0x248)]=_0x1ae577,_0x1ae577[_0x4f07c4(0x2f7)](_0x338bda=>this['_updateMessage'](_0x338bda));})),this[_0x1e057b(0x2d2)](this['_urlService'][_0x1e057b(0x302)][_0x1e057b(0x15d)](()=>{const _0xf8011d=_0x1e057b;this[_0xf8011d(0x248)][_0xf8011d(0x2f7)](_0x4d47ea=>this[_0xf8011d(0x3d0)](_0x4d47ea));}));}[_0x51c22c(0x435)](){const _0x396d18=_0x51c22c;this[_0x396d18(0x437)][_0x396d18(0x2f7)](_0x1edc69=>this[_0x396d18(0x288)][_0x396d18(0x1ef)](_0x1edc69)),this['_messageIds'][_0x396d18(0x299)](),this['_blockProgressWatches'][_0x396d18(0x2f7)](({timeoutId:_0x5922b1})=>clearTimeout(_0x5922b1)),this[_0x396d18(0x3b1)]['clear'](),this['_timeoutState$'][_0x396d18(0x3af)](),super['dispose']();}[_0x51c22c(0x3d0)](_0x2800bd){const _0x2d5d8d=_0x51c22c;let _0x42dce6=''+_0x4849a+_0x2800bd['unitId'];if(_0x2800bd[_0x2d5d8d(0x249)]===_0x5d903f[_0x2d5d8d(0x36c)][_0x2d5d8d(0x143)]){this['_clearBlockProgressWatch'](_0x2800bd['unitId']),this[_0x2d5d8d(0xf8)](_0x2800bd[_0x2d5d8d(0x246)]),this['_messageService'][_0x2d5d8d(0x1ef)](_0x42dce6),this[_0x2d5d8d(0x437)]['delete'](_0x42dce6);return;}if(!this['_isVisibleUnit'](_0x2800bd['unitId'])){this[_0x2d5d8d(0x104)](_0x2800bd['unitId']),this[_0x2d5d8d(0xf8)](_0x2800bd['unitId']),this[_0x2d5d8d(0x288)][_0x2d5d8d(0x1ef)](_0x42dce6),this[_0x2d5d8d(0x437)][_0x2d5d8d(0x3b6)](_0x42dce6);return;}if(_0x2800bd[_0x2d5d8d(0x249)]===_0x5d903f['SnapshotLoadStage']['ERROR']){this[_0x2d5d8d(0x104)](_0x2800bd[_0x2d5d8d(0x246)]),this[_0x2d5d8d(0xf8)](_0x2800bd[_0x2d5d8d(0x246)]),this[_0x2d5d8d(0x288)][_0x2d5d8d(0x1ee)]({'id':_0x42dce6,'type':_0x78518c[_0x2d5d8d(0x28a)]['Error'],'content':this[_0x2d5d8d(0x28e)]['t'](_0x2d5d8d(0x230))}),this[_0x2d5d8d(0x437)]['delete'](_0x42dce6);return;}if(_0x2800bd['stage']!==_0x5d903f[_0x2d5d8d(0x36c)][_0x2d5d8d(0x184)]||_0x2800bd[_0x2d5d8d(0x2b0)]<=0xa){this[_0x2d5d8d(0x104)](_0x2800bd[_0x2d5d8d(0x246)]),this['_messageService'][_0x2d5d8d(0x1ef)](_0x42dce6),this[_0x2d5d8d(0x437)][_0x2d5d8d(0x3b6)](_0x42dce6);return;}this['_watchBlockProgress'](_0x2800bd)||(this[_0x2d5d8d(0x288)][_0x2d5d8d(0x1ee)]({'id':_0x42dce6,'type':_0x78518c[_0x2d5d8d(0x28a)][_0x2d5d8d(0x219)],'duration':0x1/0x0,'content':this[_0x2d5d8d(0x28e)]['t'](_0x2d5d8d(0x297))+'\x20'+_0x2800bd['loadedBlocks']+'/'+_0x2800bd[_0x2d5d8d(0x2b0)]}),this[_0x2d5d8d(0x437)][_0x2d5d8d(0x2e3)](_0x42dce6));}[_0x51c22c(0x23c)](_0x4d6b2e){const _0x26312a=_0x51c22c;let _0x386c0f=this[_0x26312a(0x3b1)]['get'](_0x4d6b2e[_0x26312a(0x246)]);if((_0x386c0f==null?void 0x0:_0x386c0f['loadedBlocks'])===_0x4d6b2e['loadedBlocks'])return _0x386c0f[_0x26312a(0x2ef)];this[_0x26312a(0x104)](_0x4d6b2e[_0x26312a(0x246)]);let _0x531782=setTimeout(()=>{const _0x494412=_0x26312a;let _0x300245=this[_0x494412(0x3b1)][_0x494412(0x3e4)](_0x4d6b2e['unitId']);if(!_0x300245||_0x300245['timeoutId']!==_0x531782)return;_0x300245[_0x494412(0x2ef)]=!0x0;let _0x22865c=''+_0x4849a+_0x4d6b2e[_0x494412(0x246)];this['_messageService']['remove'](_0x22865c),this[_0x494412(0x437)][_0x494412(0x3b6)](_0x22865c),this[_0x494412(0x190)][_0x494412(0x1c2)]({'unitId':_0x4d6b2e['unitId'],'content':this[_0x494412(0x28e)]['t'](_0x494412(0x2db),String(_0x4d6b2e[_0x494412(0x275)]),String(_0x4d6b2e[_0x494412(0x2b0)])),'refreshLabel':this[_0x494412(0x28e)]['t'](_0x494412(0x421))});},0xea60);return this['_blockProgressWatches'][_0x26312a(0x381)](_0x4d6b2e[_0x26312a(0x246)],{'loadedBlocks':_0x4d6b2e[_0x26312a(0x275)],'timedOut':!0x1,'timeoutId':_0x531782}),!0x1;}[_0x51c22c(0x104)](_0x2fdf6b){const _0x5f0033=_0x51c22c;let _0x36e189=this['_blockProgressWatches'][_0x5f0033(0x3e4)](_0x2fdf6b);_0x36e189&&(clearTimeout(_0x36e189['timeoutId']),this['_blockProgressWatches'][_0x5f0033(0x3b6)](_0x2fdf6b),this['_clearTimeoutState'](_0x2fdf6b));}[_0x51c22c(0xf8)](_0x199c40){const _0x1cb311=_0x51c22c;var _0xbaaf52;((_0xbaaf52=this['_timeoutState$'][_0x1cb311(0x15c)])==null?void 0x0:_0xbaaf52['unitId'])===_0x199c40&&this[_0x1cb311(0x190)][_0x1cb311(0x1c2)](null);}[_0x51c22c(0x16e)](_0x4c38df){const _0x296e90=_0x51c22c;let _0x500383=this['_urlService'][_0x296e90(0x356)](_0x296e90(0x2bd));return!_0x500383||_0x500383===_0x4c38df;}};_0x451351=_0x3d1959([_0x1dae39(0x0,(0x0,_0x4b44eb[_0x51c22c(0x154)])(_0x5d903f['SnapshotLoadingService'])),_0x1dae39(0x1,_0x13c852[_0x51c22c(0x2e0)]),_0x1dae39(0x2,(0x0,_0x4b44eb['Inject'])(_0x4b44eb[_0x51c22c(0x155)])),_0x1dae39(0x3,(0x0,_0x4b44eb[_0x51c22c(0x154)])(_0x4b44eb[_0x51c22c(0x1fd)])),_0x1dae39(0x4,_0x13c852['IUIPartsService']),_0x1dae39(0x5,_0x403a9b)],_0x451351);let _0x30bc8f=class extends _0x4b44eb[_0x51c22c(0x179)]{constructor(_0x3369f9,_0x25394b,_0x34be09){const _0xe3bfe3=_0x51c22c;var _0x4597af;super(),this[_0xe3bfe3(0x1b9)]=_0x3369f9,this['_localStorageService']=_0x25394b,this[_0xe3bfe3(0x112)]=_0x34be09,_0x5211cd(this,_0xe3bfe3(0x223),new Map()),_0x5211cd(this,_0xe3bfe3(0x105),new Map()),_0x5211cd(this,_0xe3bfe3(0x285),new Map()),_0x5211cd(this,_0xe3bfe3(0x24e),!0x1),this[_0xe3bfe3(0x24e)]=!((_0x4597af=this[_0xe3bfe3(0x1b9)][_0xe3bfe3(0x3e2)](_0x2338a8[_0xe3bfe3(0x3e5)]))!=null&&_0x4597af['enableOfflineEditing']);}['disableLocalCache'](){const _0x1a0a0c=_0x51c22c;this[_0x1a0a0c(0x24e)]=!0x0;}[_0x51c22c(0x14e)](){const _0x29c810=_0x51c22c;this[_0x29c810(0x24e)]=!0x1;}get[_0x51c22c(0x222)](){const _0x1151f3=_0x51c22c;return this[_0x1151f3(0x105)];}[_0x51c22c(0x435)](){const _0x2d1496=_0x51c22c;this[_0x2d1496(0x39d)]()['then'](()=>super[_0x2d1496(0x435)]());}async[_0x51c22c(0x3e3)](_0x2e2de0){const _0x552dd3=_0x51c22c;return this[_0x552dd3(0x24e)]?null:this[_0x552dd3(0x32e)]['getItem']((0x0,_0x2338a8['getLocalCacheKey'])(_0x2e2de0));}async['saveOfflineData'](_0x10c6ce,_0x44d2e7){const _0x384701=_0x51c22c;let _0x19d44d=this['_localStorageService'][_0x384701(0x2d3)]((0x0,_0x2338a8[_0x384701(0x3e6)])(_0x10c6ce),_0x44d2e7);return this[_0x384701(0x1c8)](_0x10c6ce,_0x19d44d),!!await _0x19d44d;}async[_0x51c22c(0xfe)](_0x247123,_0x2dcbc6){const _0x2e02b5=_0x51c22c;let _0x21fbb6=this[_0x2e02b5(0x223)]['get'](_0x247123)??await this['_localStorageService'][_0x2e02b5(0x41b)]((0x0,_0x2338a8[_0x2e02b5(0x3e6)])(_0x247123));if(!_0x21fbb6)return;let _0x12f01d=Date['now'](),_0xc95c35=new Date(_0x12f01d)['toISOString']();await this['_localStorageService']['setItem']((0x0,_0x2338a8[_0x2e02b5(0x3e6)])(_0x247123)+_0x2e02b5(0x384)+_0x12f01d,{'reason':_0x2dcbc6,'createdAt':_0xc95c35,'data':_0x21fbb6});}async[_0x51c22c(0x2c2)](_0x14fa53){const _0x169247=_0x51c22c;let _0x338441=this[_0x169247(0x105)][_0x169247(0x3e4)](_0x14fa53);_0x338441!==void 0x0&&(window[_0x169247(0x1b1)](_0x338441),this['_saveTaskMap'][_0x169247(0x3b6)](_0x14fa53));let _0x592b1a=this[_0x169247(0x285)][_0x169247(0x3e4)](_0x14fa53);_0x592b1a&&await Promise[_0x169247(0x447)](_0x592b1a),this[_0x169247(0x223)][_0x169247(0x3b6)](_0x14fa53),await this[_0x169247(0x32e)][_0x169247(0x217)]((0x0,_0x2338a8[_0x169247(0x3e6)])(_0x14fa53));}[_0x51c22c(0x188)](_0x7b3db9,_0x58737c,_0xa33d10,_0x238522){const _0x58b11f=_0x51c22c;let _0x1ca2c8=this['_revisionService']['getCurrentRevOfUnit'](_0x7b3db9);this[_0x58b11f(0x223)]['set'](_0x7b3db9,{'unitID':_0x7b3db9,'type':_0x58737c,'awaitingChangeset':_0xa33d10,'mutations':_0x238522,'rev':_0x1ca2c8}),this['_saveTaskMap'][_0x58b11f(0x318)](_0x7b3db9)||this[_0x58b11f(0x101)](_0x7b3db9);}[_0x51c22c(0x101)](_0x192681){const _0x39c266=_0x51c22c;let _0x41e0d2=this['_getSaveTimeout']();_0x41e0d2===0x0?this[_0x39c266(0x38b)](_0x192681):this[_0x39c266(0x105)][_0x39c266(0x381)](_0x192681,window[_0x39c266(0x386)](()=>this['_saveCache'](_0x192681),_0x41e0d2));}[_0x51c22c(0x185)](){const _0x4515d5=_0x51c22c;return this['_configService']['getConfig'](_0x2338a8[_0x4515d5(0x15f)])??_0x2338a8[_0x4515d5(0x23a)];}[_0x51c22c(0x38b)](_0x400aac){const _0x334a8a=_0x51c22c;let _0x1319af=this[_0x334a8a(0x105)]['get'](_0x400aac);_0x1319af!==void 0x0&&window['clearTimeout'](_0x1319af);let _0x80b879=this[_0x334a8a(0x32e)][_0x334a8a(0x2d3)]((0x0,_0x2338a8[_0x334a8a(0x3e6)])(_0x400aac),this[_0x334a8a(0x223)]['get'](_0x400aac))[_0x334a8a(0x419)](()=>this[_0x334a8a(0x105)][_0x334a8a(0x3b6)](_0x400aac));return this[_0x334a8a(0x1c8)](_0x400aac,_0x80b879),_0x80b879;}[_0x51c22c(0x1c8)](_0x2480b5,_0x5a20cc){const _0x28a1af=_0x51c22c;let _0x1c01b5=this[_0x28a1af(0x285)][_0x28a1af(0x3e4)](_0x2480b5);_0x1c01b5||(_0x1c01b5=new Set(),this[_0x28a1af(0x285)][_0x28a1af(0x381)](_0x2480b5,_0x1c01b5)),_0x1c01b5[_0x28a1af(0x2e3)](_0x5a20cc);let _0x20c79f=()=>{const _0x5c9b3a=_0x28a1af;_0x1c01b5[_0x5c9b3a(0x3b6)](_0x5a20cc),_0x1c01b5[_0x5c9b3a(0x108)]===0x0&&this[_0x5c9b3a(0x285)][_0x5c9b3a(0x3b6)](_0x2480b5);};_0x5a20cc['then'](_0x20c79f,_0x20c79f);}async[_0x51c22c(0x39d)](){const _0x598524=_0x51c22c;let _0x1212a1=[];this[_0x598524(0x105)][_0x598524(0x2f7)]((_0x31c02b,_0xce88f1)=>{const _0x37693e=_0x598524;window[_0x37693e(0x1b1)](_0x31c02b),_0x1212a1[_0x37693e(0x309)](this[_0x37693e(0x38b)](_0xce88f1)[_0x37693e(0x419)](()=>{const _0x4239b5=_0x37693e;this[_0x4239b5(0x105)][_0x4239b5(0x3b6)](_0xce88f1);}));}),await Promise[_0x598524(0x36d)](_0x1212a1);}};_0x30bc8f=_0x3d1959([_0x1dae39(0x0,_0x4b44eb['IConfigService']),_0x1dae39(0x1,_0x4b44eb[_0x51c22c(0x161)]),_0x1dae39(0x2,(0x0,_0x4b44eb[_0x51c22c(0x154)])(_0x5d903f[_0x51c22c(0x412)]))],_0x30bc8f);var _0xbf6bb8=class extends _0x4b44eb['RxDisposable']{constructor(){const _0x4c3670=_0x51c22c;super(),_0x5211cd(this,_0x4c3670(0x302),void 0x0),this[_0x4c3670(0x302)]=(0x0,_0x2d19f1['fromEvent'])(window,_0x4c3670(0x1cf))[_0x4c3670(0x1d3)]((0x0,_0x2d19f1[_0x4c3670(0x129)])(this[_0x4c3670(0x37d)]),(0x0,_0x2d19f1[_0x4c3670(0x251)])({'bufferSize':0x1,'refCount':!0x0}),(0x0,_0x2d19f1[_0x4c3670(0x312)])(void 0x0));}[_0x51c22c(0x1c9)](_0x4dcc40,_0x5ce6dc,_0xb52c7f=!0x1){const _0x6a78a1=_0x51c22c;let _0x29a658=new URL(window[_0x6a78a1(0x363)]['href']);_0x29a658[_0x6a78a1(0x365)][_0x6a78a1(0x381)](_0x4dcc40,_0x5ce6dc),_0xb52c7f?window[_0x6a78a1(0x305)][_0x6a78a1(0x445)]('','',_0x29a658[_0x6a78a1(0x38d)]()):window[_0x6a78a1(0x305)]['pushState']('','',_0x29a658[_0x6a78a1(0x38d)]());}[_0x51c22c(0x201)](_0x2ce564,_0x27f44e=!0x1){const _0x37a2ce=_0x51c22c;let _0x38e549=new URL(window['location'][_0x37a2ce(0x164)]);_0x38e549['searchParams']['delete'](_0x2ce564),_0x27f44e?window[_0x37a2ce(0x305)][_0x37a2ce(0x445)]('','',_0x38e549['toString']()):window[_0x37a2ce(0x305)]['pushState']('','',_0x38e549[_0x37a2ce(0x38d)]());}[_0x51c22c(0x356)](_0x2bcc5d){const _0x26a3f7=_0x51c22c;return new URL(window[_0x26a3f7(0x363)][_0x26a3f7(0x164)])[_0x26a3f7(0x365)]['get'](_0x2bcc5d)??void 0x0;}};let _0x10a92e=class extends _0x4b44eb[_0x51c22c(0x2a9)]{constructor(_0x167e1e=_0x169938,_0x5e389e,_0x1ea005,_0x26d2d8,_0x355eb0){const _0x5e5991=_0x51c22c;super(),this[_0x5e5991(0x1f7)]=_0x167e1e,this[_0x5e5991(0x2c8)]=_0x5e389e,this['_injector']=_0x1ea005,this[_0x5e5991(0x1b9)]=_0x26d2d8,this[_0x5e5991(0x200)]=_0x355eb0;let {..._0x165445}=(0x0,_0x4b44eb[_0x5e5991(0x2af)])({},_0x169938,this[_0x5e5991(0x1f7)]);this[_0x5e5991(0x1b9)][_0x5e5991(0x205)](_0x5e5991(0x16d),_0x165445);}[_0x51c22c(0x33f)](){const _0x8eb11a=_0x51c22c;this['_registerDependencies'](),this[_0x8eb11a(0x2d2)](this[_0x8eb11a(0x200)][_0x8eb11a(0x1da)](_0x518f6b)),this[_0x8eb11a(0x433)]();}['onRendered'](){const _0x3fb078=_0x51c22c;this[_0x3fb078(0x2a8)]();}[_0x51c22c(0x240)](){const _0x5d5df6=_0x51c22c;var _0x3a8f66;let _0x4a54fb=[[_0x5bb27a],[_0x403a9b,{'useClass':_0xbf6bb8}],[_0x3611f9[_0x5d5df6(0x2b4)],{'useClass':_0x3611f9[_0x5d5df6(0x35b)]}],[_0x2338a8[_0x5d5df6(0x1dc)],{'useClass':_0x30bc8f}],[_0x5a6d55],[_0x1e3563],[_0x15694a],[_0x556b0c],[_0x311e36],[_0x451351]];this[_0x5d5df6(0x1f7)][_0x5d5df6(0x3f9)]!==!0x1&&_0x4a54fb[_0x5d5df6(0x309)]([_0x115b2f],[_0x1d18dc],[_0x4da3eb],[_0x250553],[_0x15495d],[_0x3b4cd6]),this['_config'][_0x5d5df6(0x37a)]&&_0x4a54fb[_0x5d5df6(0x309)]([_0xc03588]),(0x0,_0x4b44eb['registerDependencies'])(this[_0x5d5df6(0x28c)],(0x0,_0x4b44eb[_0x5d5df6(0x10f)])(_0x4a54fb,(_0x3a8f66=this[_0x5d5df6(0x1f7)])==null?void 0x0:_0x3a8f66[_0x5d5df6(0x144)]));}[_0x51c22c(0x2a8)](){const _0x20f4ce=_0x51c22c;this['_config'][_0x20f4ce(0x3f9)]!==!0x1&&this[_0x20f4ce(0x2d2)](this[_0x20f4ce(0x2c8)][_0x20f4ce(0x1cb)](_0x4b44eb[_0x20f4ce(0x2d5)][_0x20f4ce(0x29f)],[_0x27f350])),this['disposeWithMe'](this[_0x20f4ce(0x2c8)][_0x20f4ce(0x1cb)](_0x4b44eb[_0x20f4ce(0x2d5)][_0x20f4ce(0x111)],[_0x3ebaac]));}[_0x51c22c(0x433)](){const _0x20a20d=_0x51c22c;(0x0,_0x4b44eb['touchDependencies'])(this['_injector'],[[_0x15694a],[_0x556b0c],[_0x5a6d55],[_0x1e3563],[_0x311e36],[_0x451351]]),this['_config'][_0x20a20d(0x3f9)]!==!0x1&&(0x0,_0x4b44eb[_0x20a20d(0x204)])(this[_0x20a20d(0x28c)],[[_0x15495d],[_0x3b4cd6]]),this[_0x20a20d(0x1f7)][_0x20a20d(0x37a)]&&(0x0,_0x4b44eb['touchDependencies'])(this[_0x20a20d(0x28c)],[[_0xc03588]]);}};_0x5211cd(_0x10a92e,_0x51c22c(0x27d),_0x51c22c(0x24d)),_0x5211cd(_0x10a92e,'packageName',_0x18af0c),_0x5211cd(_0x10a92e,_0x51c22c(0x3e7),_0x28be4e),_0x10a92e=_0x3d1959([(0x0,_0x4b44eb[_0x51c22c(0x124)])(_0x594ab2[_0x51c22c(0x408)],_0x228ee9[_0x51c22c(0x3a1)],_0x35fad8[_0x51c22c(0x30e)],_0x3611f9[_0x51c22c(0x1a1)],_0x5d903f[_0x51c22c(0x3b0)],_0x44014a[_0x51c22c(0x2b5)],_0x2338a8['UniverCollaborationClientPlugin']),_0x1dae39(0x1,_0x35fad8[_0x51c22c(0x18b)]),_0x1dae39(0x2,(0x0,_0x4b44eb[_0x51c22c(0x154)])(_0x4b44eb[_0x51c22c(0x1fd)])),_0x1dae39(0x3,_0x4b44eb[_0x51c22c(0x35a)]),_0x1dae39(0x4,_0x4b44eb[_0x51c22c(0x1bf)])],_0x10a92e);let _0xf80283=class extends _0x2338a8[_0x51c22c(0x31f)]{constructor(_0xb425b,_0x413205,_0x371dc8,_0x3b409b,_0x382a00){super(_0xb425b,_0x413205,_0x371dc8,_0x3b409b,_0x382a00);}async[_0x51c22c(0x21d)](_0x1884d4){const _0x4ba207=_0x51c22c;let _0x17e3c7=await this[_0x4ba207(0x22d)](),_0x260be2=this[_0x4ba207(0x150)](_0x1884d4,_0x17e3c7);return this[_0x4ba207(0x2bf)](_0x260be2);}[_0x51c22c(0x150)](_0xe56c59,_0xa5fd1){const _0x39fb44=_0x51c22c;let _0x52a3ff=typeof window>'u'?new URL(_0xe56c59):new URL(_0xe56c59,window['location'][_0x39fb44(0x1de)]);_0x52a3ff[_0x39fb44(0x365)]['set'](_0x39fb44(0x25a),_0xa5fd1);let _0x1f8990=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x39fb44(0x3ad)]);return _0x1f8990['get'](_0x39fb44(0x252))&&_0x52a3ff[_0x39fb44(0x365)][_0x39fb44(0x381)](_0x39fb44(0x252),_0x1f8990['get'](_0x39fb44(0x252))),_0x52a3ff[_0x39fb44(0x38d)]();}async['_getSessionTicket'](){const _0x454854=_0x51c22c;var _0x2ec458;let _0x298e03=this[_0x454854(0x1b9)][_0x454854(0x3e2)](_0x2338a8[_0x454854(0x3e5)]),_0x431b9b=(_0x298e03==null?void 0x0:_0x298e03[_0x454854(0x423)])??_0x2338a8[_0x454854(0xfa)];return((_0x2ec458=(await this[_0x454854(0x3d7)][_0x454854(0x3e4)](_0x431b9b,{'headers':{'Content-Type':_0x454854(0x102)}}))[_0x454854(0x290)])==null?void 0x0:_0x2ec458[_0x454854(0x1fa)])??'';}};_0xf80283=_0x3d1959([_0x1dae39(0x0,(0x0,_0x4b44eb[_0x51c22c(0x154)])(_0x4b44eb[_0x51c22c(0x1fd)])),_0x1dae39(0x1,(0x0,_0x4b44eb[_0x51c22c(0x154)])(_0x3611f9[_0x51c22c(0x3e0)])),_0x1dae39(0x2,_0x4b44eb[_0x51c22c(0x35a)]),_0x1dae39(0x3,_0x4b44eb['ILogService']),_0x1dae39(0x4,_0x5d903f['ISnapshotServerService'])],_0xf80283);let _0x1d3b1a=class extends _0x4b44eb[_0x51c22c(0x179)]{constructor(_0x4f6456,_0x22e43a,_0x1b545f){const _0x9c9adf=_0x51c22c;super(),this[_0x9c9adf(0x1f2)]=_0x4f6456,this[_0x9c9adf(0x3d7)]=_0x22e43a,this[_0x9c9adf(0x1b9)]=_0x1b545f;}async['runOnServer'](_0x32da9f,_0x1f0184,_0x83cff4,..._0x3d65a6){const _0x3cf9b7=_0x51c22c;let _0x21ba21=this['_instanceService'][_0x3cf9b7(0x1e0)]();if(!_0x21ba21)throw Error(_0x3cf9b7(0x2a4));let _0x1b4067=(this[_0x3cf9b7(0x1b9)][_0x3cf9b7(0x3e2)](_0x2338a8['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY'])??_0x2338a8[_0x3cf9b7(0x3e9)])+'/'+_0x32da9f+_0x3cf9b7(0x428)+_0x1f0184,_0x5afe55={'scriptId':_0x32da9f,'runId':new URL(window[_0x3cf9b7(0x363)]['href'])[_0x3cf9b7(0x365)][_0x3cf9b7(0x3e4)](_0x3cf9b7(0x252))??'','function':_0x1f0184,'unitId':_0x21ba21[_0x3cf9b7(0x3fd)](),'argsOfFunction':JSON[_0x3cf9b7(0x35c)](_0x3d65a6),'invokeId':_0x83cff4[_0x3cf9b7(0x36b)]??'','executionId':_0x83cff4['executionId']??''};try{let _0x23675b=await this[_0x3cf9b7(0x3d7)][_0x3cf9b7(0x2ff)](_0x1b4067,{'body':_0x5afe55});return _0x23675b['body'][_0x3cf9b7(0x410)]&&_0x23675b['body']['error'][_0x3cf9b7(0x267)]!==_0x6743b2[_0x3cf9b7(0x125)]['OK']?'Failed':_0x23675b[_0x3cf9b7(0x290)][_0x3cf9b7(0x19e)];}catch{return _0x3cf9b7(0x38c);}}};_0x1d3b1a=_0x3d1959([_0x1dae39(0x0,_0x4b44eb['IUniverInstanceService']),_0x1dae39(0x1,(0x0,_0x4b44eb[_0x51c22c(0x154)])(_0x3611f9[_0x51c22c(0x3e0)])),_0x1dae39(0x2,_0x4b44eb[_0x51c22c(0x35a)])],_0x1d3b1a);let _0x5dbb8c=0x7530,_0x39007a='ACTIVE_UNIT_EVENT_CHANNEL';var _0x35e5ce=class extends _0x4b44eb['Disposable']{constructor(){const _0x5e8501=_0x51c22c;super(),_0x5211cd(this,_0x5e8501(0x1ff),(0x0,_0x4b44eb[_0x5e8501(0x3f3)])()),_0x5211cd(this,_0x5e8501(0x2aa),new Set()),_0x5211cd(this,_0x5e8501(0x2f0),new Map()),_0x5211cd(this,_0x5e8501(0x3a9),null),_0x5211cd(this,_0x5e8501(0x3c8),new Map()),_0x5211cd(this,_0x5e8501(0x274),new Map()),this['_init']();}[_0x51c22c(0x435)](){const _0x1a0f05=_0x51c22c;super[_0x1a0f05(0x435)](),this['_clearOtherTimers']['forEach']((_0x3c7015,_0x492e57)=>this[_0x1a0f05(0x284)](_0x492e57)),this[_0x1a0f05(0x3a9)]&&window[_0x1a0f05(0x3dd)](this[_0x1a0f05(0x3a9)]);}[_0x51c22c(0x22f)](_0x37217a){const _0x249327=_0x51c22c;return this[_0x249327(0x1ba)](_0x37217a)[_0x249327(0x1d3)]((0x0,_0x2d19f1[_0x249327(0x194)])());}['editingUnit'](_0x11f889){const _0x23ea18=_0x51c22c;this[_0x23ea18(0x2aa)]['size']===0x0&&this[_0x23ea18(0x229)](),this['_selfUnitIDs'][_0x23ea18(0x2e3)](_0x11f889),this[_0x23ea18(0x147)]({'type':0x0,'memberID':this[_0x23ea18(0x1ff)],'unitIDs':[_0x11f889],'isForwarded':!0x1});}[_0x51c22c(0xfc)](_0x30475b){const _0x2275b8=_0x51c22c;this[_0x2275b8(0x2aa)][_0x2275b8(0x3b6)](_0x30475b),this[_0x2275b8(0x2aa)][_0x2275b8(0x108)]===0x0&&this['_heartbeatTimer']&&window[_0x2275b8(0x3dd)](this[_0x2275b8(0x3a9)]);}[_0x51c22c(0x2c5)](){const _0x160286=_0x51c22c;this[_0x160286(0x2d2)]((0x0,_0x4b44eb[_0x160286(0x30c)])((0x0,_0x2d19f1[_0x160286(0x300)])(window,_0x160286(0x2fc))[_0x160286(0x15d)](_0x128ef0=>{const _0x48bfe0=_0x160286;if(_0x128ef0[_0x48bfe0(0x2a0)]!==_0x39007a||!_0x128ef0[_0x48bfe0(0x163)])return;let _0x2c3522=JSON['parse'](_0x128ef0[_0x48bfe0(0x163)]);this['_handleEvent'](_0x2c3522);}))),window[_0x160286(0x17e)](_0x160286(0x398),()=>this[_0x160286(0x147)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x160286(0x385)](this['_selfUnitIDs'])}));}['_handleEvent'](_0xcd6fe5){const _0x2e32a1=_0x51c22c;switch(_0xcd6fe5[_0x2e32a1(0x34c)]){case 0x0:this[_0x2e32a1(0x110)](_0xcd6fe5);break;case 0x1:this[_0x2e32a1(0x27f)](_0xcd6fe5);break;case 0x2:this[_0x2e32a1(0x1ab)](_0xcd6fe5);}}[_0x51c22c(0x110)](_0x48f48c){const _0x345f09=_0x51c22c;let {unitIDs:_0x59edf7,memberID:_0x424209,isForwarded:_0x11be84}=_0x48f48c;_0x59edf7[_0x345f09(0x2f7)](_0x3279b2=>{const _0x290ecc=_0x345f09;if(!_0x11be84&&this[_0x290ecc(0x2f0)][_0x290ecc(0x318)](_0x3279b2)&&this['_ensureSubject'](_0x3279b2)['next'](_0x2338a8['UnitStatus'][_0x290ecc(0x254)]),!this['_unitOnClients'][_0x290ecc(0x318)](_0x3279b2)||!this[_0x290ecc(0x2f0)]['get'](_0x3279b2)[_0x290ecc(0x318)](_0x424209)){let _0x18b2aa=this[_0x290ecc(0x2f0)][_0x290ecc(0x3e4)](_0x3279b2)||new Set();_0x18b2aa['add'](_0x424209),this['_unitOnClients'][_0x290ecc(0x381)](_0x3279b2,_0x18b2aa),this[_0x290ecc(0x236)](_0x424209);}}),_0x11be84||this[_0x345f09(0x147)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x345f09(0x2aa)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x343119){const _0x265ba7=_0x51c22c;this['_removeClearOtherTimer'](_0x343119);let _0x13d521=window[_0x265ba7(0x386)](()=>{const _0x55cdb1=_0x265ba7;this['_unitOnClients'][_0x55cdb1(0x2f7)](_0x411ca7=>{const _0x428f36=_0x55cdb1;_0x411ca7[_0x428f36(0x3b6)](_0x343119);});},_0x5dbb8c*0x2);this[_0x265ba7(0x3c8)][_0x265ba7(0x381)](_0x343119,_0x13d521);}[_0x51c22c(0x284)](_0x29f807){const _0x12b557=_0x51c22c;if(this[_0x12b557(0x3c8)][_0x12b557(0x318)](_0x29f807)){let _0x71aef3=this['_clearOtherTimers']['get'](_0x29f807);_0x71aef3&&window[_0x12b557(0x1b1)](_0x71aef3),this['_clearOtherTimers'][_0x12b557(0x381)](_0x29f807,null);}}[_0x51c22c(0x27f)](_0x251692){const _0x4e2766=_0x51c22c;let {memberID:_0x3d87cf,unitIDs:_0x3d069d}=_0x251692;_0x3d069d[_0x4e2766(0x2f7)](_0x186ded=>{const _0x32abed=_0x4e2766;var _0x302504;let _0x54d528=this[_0x32abed(0x2f0)][_0x32abed(0x3e4)](_0x186ded);_0x54d528&&(_0x54d528['delete'](_0x3d87cf),(_0x302504=this[_0x32abed(0x1ba)](_0x186ded))==null||_0x302504[_0x32abed(0x1c2)](_0x54d528['size']===0x0?_0x2338a8[_0x32abed(0x283)][_0x32abed(0x196)]:_0x2338a8[_0x32abed(0x283)][_0x32abed(0x254)]));}),this[_0x4e2766(0x284)](_0x3d87cf);}[_0x51c22c(0x1ab)](_0x22835){this['_scheduleClearOtherTimer'](_0x22835['memberID']);}[_0x51c22c(0x147)](_0xec4101){localStorage['setItem'](_0x39007a,JSON['stringify'](_0xec4101));}[_0x51c22c(0x229)](){const _0x47683c=_0x51c22c;this['_heartbeatTimer']=window[_0x47683c(0xff)](()=>{const _0x4478e1=_0x47683c;this[_0x4478e1(0x147)]({'type':0x2,'memberID':this[_0x4478e1(0x1ff)]});},_0x5dbb8c);}[_0x51c22c(0x1ba)](_0x415893){const _0x5a3e86=_0x51c22c;return this[_0x5a3e86(0x274)][_0x5a3e86(0x318)](_0x415893)||this['_unitStatus']['set'](_0x415893,new _0x2d19f1['BehaviorSubject'](_0x2338a8[_0x5a3e86(0x283)][_0x5a3e86(0x196)])),this[_0x5a3e86(0x274)][_0x5a3e86(0x3e4)](_0x415893);}};Object[_0x51c22c(0x206)](_0x254173,'BrowserCollaborationSocketService',{'enumerable':!0x0,'get':function(){return _0xf80283;}}),Object[_0x51c22c(0x206)](_0x254173,_0x51c22c(0x170),{'enumerable':!0x0,'get':function(){return _0x5a6d55;}}),_0x254173[_0x51c22c(0x1a8)]=_0x403a9b,Object[_0x51c22c(0x206)](_0x254173,_0x51c22c(0x3f1),{'enumerable':!0x0,'get':function(){return _0x1d3b1a;}}),_0x254173['SheetCollabCursorShape']=_0x55992e,Object[_0x51c22c(0x206)](_0x254173,'UniverCollaborationClientUIPlugin',{'enumerable':!0x0,'get':function(){return _0x10a92e;}}),_0x254173[_0x51c22c(0x3b8)]=_0x35e5ce;}));function _0x5e7b(){const _0x14ffb5=['RegularPolygon','_messageService','reason','MessageType','ONLINE','_injector','none','_localeService','span','body','highlightSecond','columnGroupId','VIEW_MAIN','Rect','params','UniverNetwork','collaboration-client-ui.collabStatus.fetchMiss','_collabCursorController','clear','setStateCache','collaboration-client-ui.conflict.clearFailed','_entityInit$','EffectRefRangId','onPointerEnter$','UNIVER_DOC','key','function','startColumn','symbol','[RemoteUniscriptService]:\x20no\x20focused\x20unit','black','_updateSubUnitFromURLParams','_drawTextRange','_registerRenderDependencies','Plugin','_selfUnitIDs','Shape','forwardRef','_initPresenceStatusComponents','[Window\x20Error]:\x20','merge','totalBlocks','Vector2','Subject','imageSourceType','ISocketService','UniverDocsUIPlugin','#0B9EFB','sheetId','Rectangle','off-line-icon','OPERATION','handleIRemoveRow','evenodd','unit','collaboration-client-ui.session.will-retry','_doCreateSocket','lineTo','_syncPresenceStatusComponents','clearOfflineData','_updateCollabCursors','@univerjs/engine-formula','_init','Tools','connectInjector','_renderManagerService','font','createInstance','@univerjs/design','off-line-icon_clip0_910_343','univer-m-0\x20univer-p-0','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','_isBlinkVisible','_colorAssignService','getRangePointData','disposeWithMe','setItem','colorChannel1','UniverInstanceType','canRenderAnchor','getColorFromTheme','clearRemotePresences','getRenderUnitById','@univerjs/docs','collaboration-client-ui.snapshotLoading.timeout','getColor','_adapter','toStringTag','SetDocZoomRatioOperation','IMessageService','_snapshotLoadingService','_getAnchorBounding','add','@univerjs/sheets-ui','status','measureText','loading','3964401lCiaAZ','fromEventSubject','finally','rgba(255,\x20255,\x20255,\x200.01)','addClipboardHook','_conflictNotification','save','timedOut','_unitOnClients','_color','bold\x2013px\x20Arial,\x20sans-serif','_urlService','syncEditingCollabCursor','_refreshCollabCursors','_adapterDisposables','forEach','_collabCursorState$','WarningIcon','getMemberID','_retryConflictCacheClear','storage','isEditing','_transformHistoryAndStateStack','post','fromEvent','alert','urlChange$','_labelHorizontalPosition','status$','history','spin','_retryingConflictCacheUnitIDs','RxDisposable','push','focused$','_offsetY','toDisposable','default','UniverRenderEnginePlugin','stack','endRow','kind','mapTo','selectedIds','_startDocCollabCursor','SHEET_VIEWPORT_KEY','_scene','_disposeEntitiesForType','has','_monkeyPatchLogService','selection','IImageIoService',',\x200.2)','_syncAdapters','_removeCollabCursors','CollaborationSocketService','findNodePositionByCharIndex','_online','every','iterator','_docSkeletonManagerService','_registerPresenceStatusComponent','button','startOffset','pointer','getAllUnitsForType','RECT','MemberService','startsWith','_memberID','_localStorageService','_cursorShapes','_replaceConflictNotification','React','_onCursorUpdate','_adapterRegistry','SessionStatus','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','2126946aBDcAm','Error','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','textRanges','parse','collaboration-client-ui.permission.content','map','_textBubble','replace','onStarting','subUnitId','registerComponent','_docSkeleton','SheetsSelectionsService','_roomMembers$','collaboration-client-ui.collabStatus.notCollab','current','getDocRanges','max','_notificationService','tooltipKey','fillRule','type','cursorInfo$','TEXT','_anchorDot','collabCursorState$','23997UutxfE','catch','object','drawWith','priority','getParam','subscribeEvent','presenceKind','some','IConfigService','WebSocketService','stringify','unitType','decorate','collaboration-client-ui.permission.title','univer-appearance-none','#FFF','univerjs-icon\x20univerjs-icon-','location','react/jsx-runtime','searchParams','hovered','_transformPreviousActiveRange','addObjects','_stopBlinking','rxjs/operators','invokeId','SnapshotLoadStage','all','deepClone','getOffsetConfig','amd','_highlightSecond','reload','loadUnit','_backgroundColor','[CollaborationDataLoaderController]','univer-size-4\x20univer-shrink-0\x20univer-text-amber-500','\x20at\x20','column','number','enableFrontendLog','_initEvent','_setupBeforeClosingHandler','dispose$','style','color','_colorIndex','set','collaboration-client-ui.conflict.content','UniverSheets',':backup:','from','setTimeout','pulse','collaboration-client-ui.session.collaboration-timeout','onMouseMove','\x20-\x20','_saveCache','Failed','toString','IUIPartsService','getCellIndexByOffset','getCollabCursors$','getStateCache','memberID','parseInt','useCallback','rgba(','target','_docSelectionManagerService','unload','SetSelectionsOperation','getActiveRange','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','ILogService','exhaustSavingTask','with','FOOTER','undoState','UniverDocsPlugin','http://www.w3.org/2000/svg','reconnect','doc.mutation.rich-text-editing','collaboration-client-ui.collaboration.single-unit.warning','FromArray','executeCommand','1em','_heartbeatTimer','handleInsertRow','split','collab-rect-range-','search','replaceSelectionInfoWithoutRefresh','complete','UniverCollaborationPlugin','_blockProgressWatches','DocSelectionManagerService','runRefRangeMutations','endOffset','_collabSessionService','delete','BuiltInUIPart','WebBrowserSingleActiveUnitService','currentColor','_collaborationSessionService','UniverSheetsUi','svg','viewBox','unhandledrejection','_disposed','_onRefRangeChange','removeEventListener','_pendingEntities','UniverUi','getCurrentTypeOfUnit$','handleInsertRangeMoveRight','USERS_LEAVE','@univerjs/protocol','_clearOtherTimers','url(#on-line-icon_clip0_910_349)','isInternalEditorID','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','collaboration-client-ui.operation.update-remote-unit-presence','_refRangeService','setUndoRedoMutationParamsCache','@univerjs-pro/collaboration-client','_updateMessage','transformRemoteChangeset','subunit','useObservable','entityInit$','collaboration-client-ui.conflict.retry','m2Prime','_httpService','roomMembers','translate(.97)','find','!univer-grid\x20univer-grid-cols-[16px_minmax(0,1fr)]\x20univer-items-start\x20univer-gap-x-1.5\x20univer-gap-y-2','getCurrentUnitOfType','clearInterval','text','collaboration-client-ui.collabClient.tooltip.reconnect','HTTPService','displayName','getConfig','loadOfflineData','get','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','getLocalCacheKey','version','hadStyleAttribute','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','fillStyle','univer-text-gray-400','blue.400','height','contains','univer-h-8\x20univer-w-8\x20univer-rounded-lg','pageType','RemoteUniscriptService','handleDeleteRangeMoveLeft','generateRandomId','getTypeOfUnitDisposed$','_showConflictCacheClearFailedNotification','getBoundingClientRect','IUniverInstanceService','getPropertyValue','enableDocumentCollaborationUI','univer-inline-flex\x20univer-items-center\x20univer-justify-center','event$','_showConflictProcessingNotification','getUnitId','throttleTime','message','_cursorInfo$','redoState','statusUIPart','ThemeService','_name','RemoveRowCommandId','div','Tooltip','UniverLicensePlugin','PERMISSION_DENIED','_setupSubUnitSync','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','_startEntity','DocIMEInputManagerService','InsertRowCommandId','@univerjs-pro/collaboration-client-ui','error','_cursor','RevisionService','jsx','filename','setProperty','closePath','_initResize','cursorInfo','then','prototype','getItem','PENDING','@univerjs/core','observe','filter','14XJWUHt','collaboration-client-ui.snapshotLoading.refresh','_render','wsSessionTicketUrl','2180700CHHisf','onCommandExecuted','_presenceAdapterRegistry','isTransformMutationsWithChangesetSuccess','/run/','beginPath','xlink:href','_highlight','useImperativeHandle','isTransformMutationFailure','toFixed','combineLatest','_themeService','collaboration-client-ui.collabStatus.synced','offsetY','_initDependencies','constructor','dispose','mask','_messageIds','path','onTransformChange$','m1Prime','send','CollaborationUIEventService','_beforeCloseService','removeRemotePresence','_hovered','_initStatusComponent','0\x200\x2016\x2016','@univerjs-pro/license','AWAITING_WITH_PENDING','showText','replaceState','_docTransformSelectionsService','allSettled','getDocumentSkeletonColumnPagePathInfo','CollaborationStatus','CollaborationUIEventId','debounce','univer-text-red-500','_entities','_clearTimeoutState','on-line-icon','DEFAULT_WS_SESSION_TICKET_URL','_initEntityListener','disposeUnit','fill','backupOfflineData','setInterval','getAncestorScale','_scheduleSaving','application/json','getScrollXYInfoByViewport','_clearBlockProgressWatch','_saveTaskMap','i18nKey','activate','size','getCurrentSkeleton','non-scaling-stroke','GLOBAL','Module','transform','onPointerMove$','mergeOverrideWithDependencies','_handleJoinEvent','UNIVER_SHEET','_revisionService','_docClipboardService','RefRangeService','_shapes','DocStateChangeManagerService','_hover','getActiveSheet','row','UniverProCollaborationClient','_uploadLog','mutations','_sheetSkeletonManagerService','[LogService\x20Error]:\x20','_handleHover','roomMembers$','ranges','tableId','rxjs','DependentOn','ErrorCode','_startSheetCollabCursor','tableSource','currentTheme$','takeUntil','white','snapshot-loading-','round','_sendLocalPresence','_anchor','getSheetObject','@univerjs-pro/collaboration','range','ITransformService','UniverDocs','stroke','rgb','_memberService','getTypeOfUnitAdded$','adapters$','handleInsertRangeMoveDown','handleInsertCol','univer-text-green-500','collaboration-client-ui.collabStatus.syncing','_docSyncEditingCollabCursorService','47835EimHUl','startRow','CollaborationSessionService','CollaborationEvent','assignAColorForMemberID','COMPLETE','override','_getSheetObject','columnIndex','_send','name','asObservable','createElement','UPDATE_CURSOR','_imageIoService','COLORS','enableLocalCache','attrs','_createSocketURL','_syncEditingCollabCursorService','jsxs','prepareTransformSelections','Inject','LocaleService','setShapeProps','debounceTime','_document','idSuffix','UniverDesign','_initStatusListener','value','subscribe','_drawAnchor','LOCAL_CACHE_INTERVAL_KEY','endColumn','ILocalStorageService','parseFloat','newValue','href','NOT_COLLAB','_hideTimer','switchMap','IUnitPresenceUIAdapterRegistry','getValue','UniverIcon','warning-icon','getSkeleton','collaboration-client-ui.config','_isVisibleUnit','requireSession','DesktopCollaborationStatusDisplayController','slice','_docStateChangeManagerService','0.2)','throttle','true','_assignedColors','removeAttribute','RichTextEditingMutation','Disposable','/universer-api/frontend/logs','_status$','focusedId','JOIN_ROOM_FAILED','addEventListener','collab-text-anchor-','useLayoutEffect','_initialized','options','stroke-width','LOADING_BLOCKS','_getSaveTimeout','DocumentSkeletonPageType','serializeRangeWithSheet','updateOfflineData','fillText','transformMutation','IRenderManagerService','use','includes','min','eventID','_timeoutState$','strokeWidth','handleIRemoveCol','getMergeData','distinctUntilChanged','colorClass','NO_OTHER_CLIENTS_EDITING','collaboration-client-ui.conflict.title','getMember','M0\x200H16V16H0z','getSheetBySheetId','dark:focus:!univer-ring-offset-gray-800','collaboration-client-ui.conflict.processing','CollaborationController','result','UniverProLicense','querySelectorAll','UniverNetworkPlugin','ColorKit','appliedStrokeWidth','flatMap','univer-text-orange-500','CONFLICT','clickable','IURLService','_docTransformStateCacheService','1268480jQXCzz','_handleHeartbeatEvent','Button','TEXT_RANGE_LAYER_INDEX','CommandType','shareInterval','bottom','clearTimeout','getSheetId','DeleteRangeMoveUpCommandId','SetWorksheetActivateCommand','_onCursorDelete','pageIndex','_transformService','DocCollaborationEntity','_configService','_ensureSubject','onPointerLeave$','red.300','_context','clipPath','ICommandService','_initUserListener','Warning','next','setAlpha','DisposableCollection','_bindAdapter','url(#off-line-icon_clip0_910_343)','update','_trackActiveSaveTask','setParam','react','registerRenderModule','_getScale','HEADER','on-line-icon_clip0_910_349','popstate','_session','_uiPartsService','_showText','pipe','setRemotePresence','clsx','sessionStatus$','data','trim','top','registerCommand','_clearRemotePresences','ILocalCacheService','OnLineIcon','origin','OFFLINE','getFocusedUnit','memberId','NodePositionConvertToRectRange','_labelPosition','canRenderSelection','setOffsetY','@univerjs/network','defIds','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_initCommandExecutedListener','_pointerMoveDisposable','highlight','unshift','univer-text-blue-500','show','remove','collaboration-client-ui.collaboration.closeRoom','polite','_instanceService','entries','2153487XpTlWs','_eventUnsubscribe','UniverProCollaborationClientUi','_config','sheetID','restore','ticket','element','isArray','Injector','_lastPointer','_id','_commandService','removeParam','_collaborationController','_initUnhandledRejectionListener','touchDependencies','setConfig','defineProperty','makeDirty','tag','_range','resize','icon','_docTransformIMECacheService','OTHER_CLIENT_EDITING','getCoordByCell','addObject','getCollabEntity$','unsubscribe','useDependency','transformStateCache','_updateLocalCursor','string','!univer-m-0\x20univer-col-start-2\x20univer-row-start-2\x20univer-justify-self-end','removeItem','indicator','Loading','toRgbString','_presenceStatusRegistrations','_draw','createSocket','registerRefRange','snapshot-loading-timeout','call','join','saveTaskMap','_cachedData','_collaborationUIEventService','static','assign','_getMergeRange','_updateURLWithCurrentState','_scheduleHeartbeat','_transformUndoRedoStack','vectorEffect','width','_getSessionTicket','_blinkTimer','getUnitStatus$','collaboration-client-ui.session.connection-failed','UniverProtocol','content','_startBlinking','useRef','8xALsOy','_scheduleClearOtherTimer','BehaviorSubject','_blinkIntervalTimer','UniverDocsUi','LOCAL_CACHE_INTERVAL','handleDeleteRangeMoveUp','_watchBlockProgress','_handleCursorUpdate','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','length','_registerDependencies','CONFLICT_CACHE_CLEAR_FAILED','_getLighterColor','timer','lineno','DOC_RANGE_TYPE','unitId','localName','_latestStates','stage','strokeOpacity','disconnect','...','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_disabled','OffLineIcon','HEADER_MENU','shareReplay','runId','_removeRemotePresence','OTHER_CLIENTS_EDITING','getCoordRelativeToViewport','unitID','_univerInstanceService','getSelectionInfo','SUBMIT_CHANGESET_TIMEOUT','sessionTicket','SetTextSelectionsOperation','values','url(#$1','NodePositionConvertToCursor','1.0.3','timeoutState$','IBeforeCloseService','_disposeEntity','init','labelPosition','segmentPage','isReleased','code','getPropertyPriority','_drawRectRange','setActiveRange','_localCacheService','arc','_dataLoaderService','_toggleOnline','Unknown\x20user','_toggleOffline','exports','currentSkeleton$','_isDisposed','_unitStatus','loadedBlocks','originalStrokeWidth','isFinite','left','preventDefault','labelHorizontalPosition','univer-flex\x20univer-items-center\x20univer-justify-center','hide','pluginName','defs','_handleLeaveEvent','_initWindowErrorListener','univer-border-none\x20univer-bg-transparent','_logService','UnitStatus','_removeClearOtherTimer','_activeSaveTaskMap','_cursors'];_0x5e7b=function(){return _0x14ffb5;};return _0x5e7b();}