@univerjs-pro/collaboration-client-ui 1.0.0-beta.1 → 1.0.0-beta.2

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 (85) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ar-SA.js +1 -1
  4. package/lib/cjs/locale/ca-ES.js +1 -1
  5. package/lib/cjs/locale/de-DE.js +1 -1
  6. package/lib/cjs/locale/en-US.js +1 -1
  7. package/lib/cjs/locale/es-ES.js +1 -1
  8. package/lib/cjs/locale/fa-IR.js +1 -1
  9. package/lib/cjs/locale/fr-FR.js +1 -1
  10. package/lib/cjs/locale/id-ID.js +1 -1
  11. package/lib/cjs/locale/it-IT.js +1 -1
  12. package/lib/cjs/locale/ja-JP.js +1 -1
  13. package/lib/cjs/locale/ko-KR.js +1 -1
  14. package/lib/cjs/locale/pl-PL.js +1 -1
  15. package/lib/cjs/locale/pt-BR.js +1 -1
  16. package/lib/cjs/locale/ru-RU.js +1 -1
  17. package/lib/cjs/locale/sk-SK.js +1 -1
  18. package/lib/cjs/locale/vi-VN.js +1 -1
  19. package/lib/cjs/locale/zh-CN.js +1 -1
  20. package/lib/cjs/locale/zh-HK.js +1 -1
  21. package/lib/cjs/locale/zh-TW.js +1 -1
  22. package/lib/es/facade.js +1 -1
  23. package/lib/es/index.js +1 -1
  24. package/lib/es/locale/ar-SA.js +1 -1
  25. package/lib/es/locale/ca-ES.js +1 -1
  26. package/lib/es/locale/de-DE.js +1 -1
  27. package/lib/es/locale/en-US.js +1 -1
  28. package/lib/es/locale/es-ES.js +1 -1
  29. package/lib/es/locale/fa-IR.js +1 -1
  30. package/lib/es/locale/fr-FR.js +1 -1
  31. package/lib/es/locale/id-ID.js +1 -1
  32. package/lib/es/locale/it-IT.js +1 -1
  33. package/lib/es/locale/ja-JP.js +1 -1
  34. package/lib/es/locale/ko-KR.js +1 -1
  35. package/lib/es/locale/pl-PL.js +1 -1
  36. package/lib/es/locale/pt-BR.js +1 -1
  37. package/lib/es/locale/ru-RU.js +1 -1
  38. package/lib/es/locale/sk-SK.js +1 -1
  39. package/lib/es/locale/vi-VN.js +1 -1
  40. package/lib/es/locale/zh-CN.js +1 -1
  41. package/lib/es/locale/zh-HK.js +1 -1
  42. package/lib/es/locale/zh-TW.js +1 -1
  43. package/lib/facade.js +1 -1
  44. package/lib/index.js +1 -1
  45. package/lib/locale/ar-SA.js +1 -1
  46. package/lib/locale/ca-ES.js +1 -1
  47. package/lib/locale/de-DE.js +1 -1
  48. package/lib/locale/en-US.js +1 -1
  49. package/lib/locale/es-ES.js +1 -1
  50. package/lib/locale/fa-IR.js +1 -1
  51. package/lib/locale/fr-FR.js +1 -1
  52. package/lib/locale/id-ID.js +1 -1
  53. package/lib/locale/it-IT.js +1 -1
  54. package/lib/locale/ja-JP.js +1 -1
  55. package/lib/locale/ko-KR.js +1 -1
  56. package/lib/locale/pl-PL.js +1 -1
  57. package/lib/locale/pt-BR.js +1 -1
  58. package/lib/locale/ru-RU.js +1 -1
  59. package/lib/locale/sk-SK.js +1 -1
  60. package/lib/locale/vi-VN.js +1 -1
  61. package/lib/locale/zh-CN.js +1 -1
  62. package/lib/locale/zh-HK.js +1 -1
  63. package/lib/locale/zh-TW.js +1 -1
  64. package/lib/umd/facade.js +1 -1
  65. package/lib/umd/index.js +1 -1
  66. package/lib/umd/locale/ar-SA.js +1 -1
  67. package/lib/umd/locale/ca-ES.js +1 -1
  68. package/lib/umd/locale/de-DE.js +1 -1
  69. package/lib/umd/locale/en-US.js +1 -1
  70. package/lib/umd/locale/es-ES.js +1 -1
  71. package/lib/umd/locale/fa-IR.js +1 -1
  72. package/lib/umd/locale/fr-FR.js +1 -1
  73. package/lib/umd/locale/id-ID.js +1 -1
  74. package/lib/umd/locale/it-IT.js +1 -1
  75. package/lib/umd/locale/ja-JP.js +1 -1
  76. package/lib/umd/locale/ko-KR.js +1 -1
  77. package/lib/umd/locale/pl-PL.js +1 -1
  78. package/lib/umd/locale/pt-BR.js +1 -1
  79. package/lib/umd/locale/ru-RU.js +1 -1
  80. package/lib/umd/locale/sk-SK.js +1 -1
  81. package/lib/umd/locale/vi-VN.js +1 -1
  82. package/lib/umd/locale/zh-CN.js +1 -1
  83. package/lib/umd/locale/zh-HK.js +1 -1
  84. package/lib/umd/locale/zh-TW.js +1 -1
  85. package/package.json +19 -19
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x57a3(){const _0xb3ef4e=['showText','DependentOn','FETCH_MISS','_removeCollabCursors','_document','DeleteRangeMoveUpCommandId','InsertRangeMoveRightCommandId','collaboration-client-ui.operation.update-remote-unit-presence','startColumn','isFormulaId','colorChannel1','from','DesktopCollaborationStatusDisplayController','isTransformMutationFailure','url(#on-line-icon_clip0_910_349)','restore','_registerDependencies','DEFAULT_WS_SESSION_TICKET_URL','_refRangeService','_isVisibleUnit','isActive','column','xlink:href','_cursors','_context','rgba(','?taskId=','_textBubble','FOOTER','switchMap','univer-text-gray-400','_messageService','_checkCalculationAvailable','_highlight','_pointerMoveDisposable','ticket','3291816BTkxOk','Enter','requireSession','engine','/universer-api/frontend/logs','isInternalEditorID','entries','_handleJoinEvent','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','mergeOverrideWithDependencies','UniverCore','rgb','clearTimeout','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','override','sheetId','BrowserCollaborationSocketService','state','indicator','_shapes','colno','closePath','right','getValue','segmentPage','SetFormulaCalculationStartMutation','forEach','BehaviorSubject','ACTIVE_UNIT_EVENT_CHANNEL','_presenceAdapterRegistry','_handleLeaveEvent','number','collaboration-client-ui.session.collaboration-timeout','SUBMIT_CHANGESET_TIMEOUT','_handleHover','triggerDblclick','getCurrentUnitOfType','INotificationService','_pendingEntities','sessionStatus$','_docSyncEditingCollabCursorService','transformSelections','SOCKET_FAILED_RETRY','push','_isBlinkVisible','Button','_cursor','all','small','replaceState','_collaborationController','setStateCache','FromArray','getLocalCacheKey','version','debug','UniverInstanceType','/run/','http://www.w3.org/2000/svg','react','span','Loading','UniverEngineRender','_handleEvent','ONLINE','getUnitStatus$','loadedBlocks','runRefRangeMutations','LoadingMultiIcon','_refreshCollabCursors','sessionTicket','rgba','_snapshotLoadingService','alert','DOC_RANGE_TYPE','RemoveColCommandId','_dataLoaderService','_renderManagerService','_saveCache','find','LOCAL_CACHE_INTERVAL','_docTransformSelectionsService','_updateURLWithCurrentState','timer','invokeId','_releaseCalculationLimit','UniverSheetsUi','limitInfo','removeEventListener','univer-text-red-500','_taskIds','_handleHeartbeatEvent','WebSocketService','COLORS','getTypeOfUnitAdded$','CollaborationSessionService','SnapshotLoadingService','_monkeyPatchLogService','collaboration-client-ui.formula.calculation.unable','_drawAnchor','toString','getUnitId','OFFLINE','DisposableCollection','collaboration-client-ui.formula.calculation.started','get','unload','popstate','_initUserListener','throttleTime','currentTheme$','_updateLocalCursor','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_docSkeletonManagerService','_adapterDisposables','SetFormulaCalculationNotificationMutation','_initStatusComponent','disposeWithMe','_unitOnClients','InsertRowCommandId','collab-rect-range-','tableId','TEXT_RANGE_LAYER_INDEX','eventID','_handleCursorUpdate','4158XWgBts','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','origin','_ensureSubject','_online','UNIVER_SHEET','TRANSFORM_CHANGE_OBSERVABLE_TYPE','@univerjs/docs','UniverLicensePlugin','jsx','getDocumentSkeletonColumnPagePathInfo','_clearRemotePresences','attrs','url(#off-line-icon_clip0_910_343)','_messageIds','rxjs','socket$','collaboration-client-ui.collaboration.closeRoom','next','UniverSheets','_disposeEntitiesForType','registerCommand','Unknown\x20user','_initEntityListener','defIds','debounceTime','columnIndex','getOffsetConfig','_init','_heartbeatTimer','_labelPosition','setRemotePresence','entityInit$','MemberService','state$','HTTPService','_syncPresenceStatusComponents','timedOut','collab-text-range-','Success','transformMutation','show','makeDirty','green.600','_selfUnitIDs','spin','Error','canRenderAnchor','decorate','_registerRenderDependencies','labelHorizontalPosition','InsertColCommandId','getViewport','_getScale','urlChange$','clsx','toDisposable','/universer-api/license/formula/limit/done','_colorIndex','_collabSessionService','UniverNetworkPlugin','_entityInit$','_startCalculationLimit','_blinkIntervalTimer','_onCursorDelete','IDocClipboardService','getCollabEntity$','_config','_initDependencies','takeUntil','m2Prime','@univerjs/sheets-ui','_lastPointer','UniverEngineFormula','_localeService','getConfig','complete','_scheduleSaving','dark:focus:!univer-ring-offset-gray-800','CLOSE_ROOM','loadUnit','RemoteUniscriptService','maxFormulaLimit','collaboration-client-ui.collabStatus.synced','_blinkTimer','lineTo','color','PERMISSION_DENIED','_draw','reload','result','createElement','add','_labelHorizontalPosition','pageType','UniverDocsUIPlugin','1em','toRgbString','addObject','focusedId','defineProperty','ICommandService','UniverDesign','getCurrentTypeOfUnit$','isArray','getAllUnitsForType','runId','IMessageService','_notificationService','location','COMPLETE','_disposeEntity','BuiltInUIPart','_memberID','shift','cursorInfo','univer-border-none\x20univer-bg-transparent','_initUnhandledRejectionListener','focused$','@univerjs/design','_collaborationSessionService','enableFrontendLog','_pollingInterval','clearInterval','slice','split','_bindAdapter','transformStateCache','Plugin','toStringTag','clickable','enableDocumentCollaborationUI','_offsetY','min','IRenderManagerService','_memberService','distinctUntilChanged','getOwnPropertyDescriptor','getCurrentSkeleton','ITransformService','@univerjs/ui','dirtyRanges','_entities','tag','memberID','div','collaboration-client-ui.config','OnLineIcon','SUCCESS','onCommandExecuted','highlightSecond','_startEntity','UniverDocsUi','_initPresenceStatusComponents','fillRule','_configService','handleInsertRangeMoveRight','_httpService','univerjs-icon\x20univerjs-icon-','getTypeOfUnitDisposed$','_transformHistoryAndStateStack','localPresence$','functionsExecutedState','round','disposeUnit','dispose','then','currentColor','Warning','_sendLocalPresence','TEXT','_lastResponseTimestamp','addEventListener','transformIMECache','hide','_removeRemotePresence','jsxs','deepClone','_initStatusListener','SetSelectionsOperation','bold\x2013px\x20Arial,\x20sans-serif','statusUIPart','Inject','Rectangle','CONFLICT','getCurrentRevOfUnit','@univerjs/engine-formula','_onRefRangeChange','@univerjs-pro/license','EffectRefRangId','collaboration-client-ui.permission.content','ISocketService','IUnitPresenceUIAdapterRegistry','shareReplay','_docClipboardService','bottom','@univerjs/protocol','getSheetId','0\x200\x2017\x2016','PENDING','hovered','object','totalBlocks','releaseFormulaLimitUrl','_collabCursorController','setParam','getFormulaLimitStatusUrl','_initialized','url(#$1','purple.300','8020rPauaQ','4279275BbxaOA','pushState','_transformPreviousActiveRange','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','clear','mask','sheetID','collaboration-client-ui.snapshotLoading.refresh','setInterval','memberId','_logService','_eventUnsubscribe','Failed','0\x200\x2016\x2016','getItem','_watchBlockProgress','_isDisposed','getParam','UniverCollaborationClientPlugin','_getLighterColor','...','current','_cursorInfo$','_range','_localCacheService','_cursorShapes','_registerPresenceStatusComponent','pointer','Vector2','getDocRanges','RefRangeService','primary','CollaborationEvent','UniverCollaborationPlugin','_initCommandInterceptor','currentUsage','history','MoveRangeCommandId','pipe','timeoutState$','160135mDHYVx','_saveTaskMap','beforeCommandExecuted','useCallback','getFocusedUnit','_colorAssignService','#0B9EFB','search','UniverProtocol','focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2','undoState','_hasFormulaInDirtyRanges','contains','_startSheetCollabCursor','_themeService','blue.400','dispose$','collaboration-client-ui.collabStatus.conflict','getMergeData','join','saveTaskMap','strokeWidth','beginPath','highlight','IConfigService','handleDeleteRangeMoveLeft','message','_localStorageService','isFormulaString','m1Prime','getCoordByCell','unitId','MessageType','IUIPartsService','delete','transformByState','_collabCursorState$','imageSourceType','startRow','ILocalStorageService','collaboration-client-ui.collabStatus.syncing','Tools','startOffset','searchParams','onTransformChange$','mutations','length','CollaborationStatus','_syncEditingCollabCursorService','_getMergeRange','subunit','touchDependencies','stage','setShapeProps','subscribe','UniverUi','_roomMembers$','_beforeCloseService','doc.mutation.rich-text-editing','roomMembers$','evenodd','getCurrentSelections','IUniverInstanceService','isFinite','handleIRemoveRow','_updateMessage','updateOfflineData','SetTextSelectionsOperation','transformRemoteChangeset','registerRenderModule','SnapshotLoadStage','FormulaExecuteStageType','connectInjector','_hideTimer','getCollabCursors$','_clearBlockProgressWatch','send','_initEvent','totalFormulasToCalculate','combineLatest','amd','[Window\x20Error]:\x20','selectedIds',':backup:','_applyCommand','transformMutationsWithChangeset','moveTo','off-line-icon_clip0_910_343','onPointerMove$','ILocalCacheService','collaboration-client-ui.collabStatus.notCollab','activate','getUndoRedoMutationParamsCache','newValue','labelPosition','toISOString','getActiveSheet','_hover','pageIndex','_showGuardMessage','collaboration-client-ui.permission.title','_send','adapters$','unshift','IImageIoService','getColor','_docTransformIMECacheService','startFormulaLimitUrl','rgba(255,\x20255,\x20255,\x200.01)','replaceDocRanges','InsertRangeMoveDownCommandId','saveOfflineData','loading-multi-icon','status','OPERATION','white','getCoordRelativeToViewport','@univerjs/docs-ui','post','createInstance','subscribeEvent','_highlightSecond','_getSessionTicket','_currentUsage','ranges','setAlpha','Disposable','_univerInstanceService','save','_sheetSkeletonManagerService','UPDATE_CURSOR','CollaborationSocketService','application/json','React','_commandService','red.300','Module','NOT_COLLAB','setOffsetY','_maxFormulaLimit','_adapter','key','DocIMEInputManagerService','textRanges','_onCursorUpdate','clipPath','generateRandomId','univer-transition-all\x20univer-duration-200','options','univer-size-4\x20univer-shrink-0\x20univer-text-amber-500','black','update','registerRefRange','univer-inline-flex\x20univer-items-center\x20univer-justify-center','isTransformMutationsWithChangesetSuccess','_startBlinking','body','measureText','univer-text-orange-500','unhandledrejection','with','useDependency','data','_docTransformStateCacheService','redoState','_syncAdapters','_uploadLog','_name','font','true','offsetY','CollaborationUIEventId','RECT','random','getRenderUnitById','svg','_color','canRenderSelection','_assignedColors','[CollaborationDataLoaderController]','parse','DocumentSkeletonPageType','set','collaboration-client-ui.collaboration.offline-data-not-saved','fromEvent','LocaleService','map','IBeforeCloseService','52iydvwz','useObservable','useMemo','filename','collaboration-client-ui.collabClient.tooltip.reconnect','_render','_collaborationUIEventService','timeoutId','some','debounce','UnitStatus','\x20at\x20','/universer-api/license/formula/limit/start','use','static','catch','status$','button','70038EQBnLN','univer-text-green-500','onRendered','6GPILRd','yellow.400','stringify','pluginName','getCellIndexByOffset','function','assign','_checkAndWaitForCalculationPermission','loadOfflineData','getLocalPresence','merge','6zWwOOs','_getSaveTimeout','stroke','parseInt','_toggleOffline','name','UniverProLicense','type','constructor','replace','_createSocketURL','endColumn','collabCursorState$','unit','NodePositionConvertToCursor','values','AWAITING','addClipboardHook','_transformUndoRedoStack','_removeClearOtherTimer','ThemeService','AWAITING_WITH_PENDING','_hovered','univer-m-0\x20univer-p-0','default','prototype','getRangePointData','_id','_anchor','exhaustSavingTask','polite','endRow','NO_OTHER_CLIENTS_EDITING','forwardRef','collaboration-client-ui.session.will-retry','_status$','kind','wsSessionTicketUrl','_showText','_doCreateSocket','syncEditingCollabCursor','registerComponent','on-line-icon_clip0_910_349','findNodePositionByCharIndex','columnGroupId','_startDocCollabCursor','[RemoteUniscriptService]:\x20no\x20focused\x20unit','code','error','@univerjs-pro/collaboration-client-ui','getStateCache','RegularPolygon','presenceKind','_disposed','_injector','_setFormulaLimitStatus','cursorInfo$','getUnit','_uiPartsService','HEADER','\x20-\x20','SheetSkeletonManagerService','height','collaboration-client-ui.collabStatus.fetchMiss','params','SetWorksheetActivateCommand','_disabled','reconnect','handleMoveRange','Shape','none','_timeoutState$','event$','_initResize','row','editingUnit','RxDisposable','iterator','path','_setupBeforeClosingHandler','_getAnchorBounding','ILogService','_adapterRegistry','addObjects','has','saveImage','_revisionService','remove','selection','_initCommandExecutedListener','univer-flex\x20univer-items-center\x20univer-justify-center','getMemberID','setTimeout','unsubscribe',',\x200.2)','storage','_drawTextRange','GLOBAL','UniverProCollaborationClient','text','fill','ERROR','warning-icon','setItem','init','DocCollaborationEntity','addHandlerCallback','size','onStarting','SheetsSelectionsService','drawWith','currentSkeleton$','translate(.97)','_initWindowErrorListener','@univerjs-pro/collaboration-client','CollaborationController','serializeRangeWithSheet','collaboration-client-ui.snapshotLoading.timeout','unitType','getSkeleton','UniverNetwork','stack','rxjs/operators','FormulaExecutedStateType','roomMembers','_updateCollabCursors','SYNCED','activeSheet$','href','fillText','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','getAncestorScale','backgroundColor','SOCKET_FAILED','_backgroundColor','_presenceStatusRegistrations','call','useRef','_cachedData','range','clearRemotePresences','colorClass','[Unhandled\x20Rejection]:\x20','OTHER_CLIENTS_EDITING','filter','_unitStatus','_getSheetObject','assignAColorForMemberID','now','includes','arc','UniverProCollaborationClientUi','string','univer-text-blue-500','enableLocalCache','symbol','endOffset','RevisionService','subUnitId','M0\x200H16V16H0z','left','_scheduleHeartbeat','getCellMatrix','asObservable','width','onMouseMove','handleInsertRow','432802bayUfx','WarningIcon','_drawRectRange','SheetCollabCursorShape','getSheetBySheetId','_scene','backupOfflineData','_clearOtherTimers','collaboration-client-ui.conflict.title','getMember','UniverDocsPlugin','_latestStates','removeRemotePresence','resize','createSocket','idSuffix','top','deserializeRangeWithSheet','802501JPMupy','startsWith','unitID','displayName','tooltipKey','Subject','_docStateChangeManagerService','setUndoRedoMutationParamsCache','USERS_LEAVE','removeParam','_docSelectionManagerService','DocSelectionManagerService','tableSource','_urlService','_updateSubUnitFromURLParams','ColorKit','_clearTimeoutState','mapTo','START_CALCULATION','DocStateChangeManagerService','_blockProgressWatches','_getFormulaLimitStatus','collaboration-client-ui.collabStatus.offline','Tooltip','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','Injector','collaboration-client-ui.collaboration.single-unit.warning','_scheduleClearOtherTimer','UNIVER_DOC','_session','content','_toggleOnline','source','SessionStatus','_anchorDot','lineno','executeCommand','_transformService','_setupSubUnitSync','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','_stopBlinking','@univerjs/network','handleInsertCol'];_0x57a3=function(){return _0xb3ef4e;};return _0x57a3();}function _0x32ca(_0x35433e,_0x491667){_0x35433e=_0x35433e-0x19e;const _0x57a379=_0x57a3();let _0x32ca0f=_0x57a379[_0x35433e];return _0x32ca0f;}(function(_0x2d6194,_0x23dd3d){const _0x40b26e=_0x32ca,_0x5b30ec=_0x2d6194();while(!![]){try{const _0x48141c=-parseInt(_0x40b26e(0x226))/0x1+parseInt(_0x40b26e(0x2db))/0x2*(parseInt(_0x40b26e(0x234))/0x3)+parseInt(_0x40b26e(0x214))/0x4*(-parseInt(_0x40b26e(0x4b4))/0x5)+-parseInt(_0x40b26e(0x229))/0x6*(parseInt(_0x40b26e(0x2ed))/0x7)+parseInt(_0x40b26e(0x33c))/0x8+-parseInt(_0x40b26e(0x3b9))/0x9*(parseInt(_0x40b26e(0x48b))/0xa)+parseInt(_0x40b26e(0x48c))/0xb;if(_0x48141c===_0x23dd3d)break;else _0x5b30ec['push'](_0x5b30ec['shift']());}catch(_0x1dc593){_0x5b30ec['push'](_0x5b30ec['shift']());}}}(_0x57a3,0x3fe74),function(_0x30e881,_0x59ad73){const _0x57acf3=_0x32ca;typeof exports==_0x57acf3(0x482)&&typeof module<'u'?_0x59ad73(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==_0x57acf3(0x22e)&&define[_0x57acf3(0x1a8)]?define(['exports',_0x57acf3(0x2a6),'@univerjs/core',_0x57acf3(0x445),_0x57acf3(0x3c8),_0x57acf3(0x2ae),_0x57acf3(0x430),_0x57acf3(0x377),'react/jsx-runtime','@univerjs-pro/collaboration',_0x57acf3(0x475),_0x57acf3(0x3c0),_0x57acf3(0x1cd),'@univerjs/engine-render',_0x57acf3(0x316),_0x57acf3(0x473),'@univerjs/sheets',_0x57acf3(0x400),_0x57acf3(0x47d)],_0x59ad73):(_0x30e881=typeof globalThis<'u'?globalThis:_0x30e881||self,_0x59ad73(_0x30e881[_0x57acf3(0x2cb)]={},_0x30e881[_0x57acf3(0x296)],_0x30e881[_0x57acf3(0x346)],_0x30e881[_0x57acf3(0x4eb)],_0x30e881[_0x57acf3(0x3c8)],_0x30e881['rxjs']['operators'],_0x30e881[_0x57acf3(0x41f)],_0x30e881[_0x57acf3(0x1dd)],_0x30e881[_0x57acf3(0x1dd)],_0x30e881['UniverProCollaboration'],_0x30e881[_0x57acf3(0x23a)],_0x30e881['UniverDocs'],_0x30e881[_0x57acf3(0x451)],_0x30e881[_0x57acf3(0x37a)],_0x30e881[_0x57acf3(0x2ac)],_0x30e881[_0x57acf3(0x402)],_0x30e881[_0x57acf3(0x3cc)],_0x30e881[_0x57acf3(0x392)],_0x30e881[_0x57acf3(0x4bc)]));}(this,function(_0x545995,_0xd500a,_0x27aa99,_0x3fd684,_0x55e528,_0x298c78,_0x510bc4,_0x190cc0,_0x5dfcdc,_0x301412,_0x71ce52,_0x53a4ba,_0x4a1268,_0x558eeb,_0x31266a,_0x385246,_0x430826,_0x7e3f75,_0x22da53){const _0x1112e6=_0x32ca;Object[_0x1112e6(0x41d)](_0x545995,Symbol[_0x1112e6(0x43a)],{'value':_0x1112e6(0x1e0)});function _0x4fdbf7({ref:_0x3ed679,..._0x158aae}){const _0x11692d=_0x1112e6;let {icon:_0x39f0f8,id:_0x5a85bd,className:_0x5ee7f8,extend:_0x2b6523,..._0x493ee0}=_0x158aae,_0x227d26=(_0x11692d(0x457)+_0x5a85bd+'\x20'+(_0x5ee7f8||''))['trim'](),_0xf93634=(0x0,_0x190cc0[_0x11692d(0x2bd)])('_'+_0x4745d());return _0x2f88a2(_0x39f0f8,''+_0x5a85bd,{'defIds':_0x39f0f8[_0x11692d(0x3d1)],'idSuffix':_0xf93634[_0x11692d(0x4a1)]},{'ref':_0x3ed679,'className':_0x227d26,..._0x493ee0},_0x2b6523);}function _0x2f88a2(_0x8e8b18,_0x5ca2a3,_0x34555f,_0x47fd17,_0x3bf81e){const _0x45ac66=_0x1112e6;return(0x0,_0x190cc0[_0x45ac66(0x414)])(_0x8e8b18['tag'],{'key':_0x5ca2a3,..._0x56a147(_0x8e8b18,_0x34555f,_0x3bf81e),..._0x47fd17},(_0x192823(_0x8e8b18,_0x34555f)['children']||[])[_0x45ac66(0x212)]((_0xc11dbf,_0x5edaee)=>_0x2f88a2(_0xc11dbf,_0x5ca2a3+'-'+_0x8e8b18['tag']+'-'+_0x5edaee,_0x34555f,void 0x0,_0x3bf81e)));}function _0x56a147(_0x2de0fa,_0x5227e3,_0x18c080){const _0x47a5e9=_0x1112e6;let _0x24f5e5={..._0x2de0fa[_0x47a5e9(0x3c5)]};_0x18c080!=null&&_0x18c080[_0x47a5e9(0x322)]&&_0x24f5e5[_0x47a5e9(0x298)]===_0x47a5e9(0x322)&&(_0x24f5e5[_0x47a5e9(0x298)]=_0x18c080['colorChannel1']),_0x18c080!=null&&_0x18c080[_0x47a5e9(0x322)]&&_0x24f5e5[_0x47a5e9(0x236)]==='colorChannel1'&&(_0x24f5e5[_0x47a5e9(0x236)]=_0x18c080[_0x47a5e9(0x322)]),_0x2de0fa['tag']===_0x47a5e9(0x491)&&_0x24f5e5['id']&&(_0x24f5e5['id']+=_0x5227e3['idSuffix']),Object[_0x47a5e9(0x342)](_0x24f5e5)[_0x47a5e9(0x356)](([_0x38f326,_0x49c3e6])=>{const _0x356daa=_0x47a5e9;_0x38f326===_0x356daa(0x491)&&typeof _0x49c3e6==_0x356daa(0x2cc)&&(_0x24f5e5[_0x38f326]=_0x49c3e6[_0x356daa(0x23d)](/url\(#(.*)\)/,_0x356daa(0x489)+_0x5227e3[_0x356daa(0x2ea)]+')'));});let {defIds:_0x425767}=_0x5227e3;return!_0x425767||_0x425767[_0x47a5e9(0x4e2)]===0x0?_0x24f5e5:(_0x2de0fa[_0x47a5e9(0x448)]===_0x47a5e9(0x221)&&_0x24f5e5[_0x47a5e9(0x32e)]&&(_0x24f5e5[_0x47a5e9(0x32e)]+=_0x5227e3['idSuffix']),Object[_0x47a5e9(0x342)](_0x24f5e5)[_0x47a5e9(0x356)](([_0x2a0865,_0x2bd891])=>{const _0x55c8cb=_0x47a5e9;typeof _0x2bd891==_0x55c8cb(0x2cc)&&(_0x24f5e5[_0x2a0865]=_0x2bd891[_0x55c8cb(0x23d)](/url\(#(.*)\)/,_0x55c8cb(0x489)+_0x5227e3[_0x55c8cb(0x2ea)]+')'));}),_0x24f5e5);}function _0x192823(_0x329af2,_0x2c3a80){const _0x48f116=_0x1112e6;var _0x6cd32f;let {defIds:_0x45717c}=_0x2c3a80;return!_0x45717c||_0x45717c[_0x48f116(0x4e2)]===0x0?_0x329af2:_0x329af2[_0x48f116(0x448)]==='defs'&&(_0x6cd32f=_0x329af2['children'])!=null&&_0x6cd32f[_0x48f116(0x4e2)]?{..._0x329af2,'children':_0x329af2['children'][_0x48f116(0x212)](_0x4b2908=>typeof _0x4b2908[_0x48f116(0x3c5)]['id']==_0x48f116(0x2cc)&&_0x45717c&&_0x45717c[_0x48f116(0x2c9)](_0x4b2908[_0x48f116(0x3c5)]['id'])?{..._0x4b2908,'attrs':{..._0x4b2908[_0x48f116(0x3c5)],'id':_0x4b2908[_0x48f116(0x3c5)]['id']+_0x2c3a80['idSuffix']}}:_0x4b2908)}:_0x329af2;}function _0x4745d(){const _0x2b4308=_0x1112e6;return Math[_0x2b4308(0x205)]()['toString'](0x24)['substring'](0x2,0x8);}_0x4fdbf7[_0x1112e6(0x2f0)]='UniverIcon';let _0xfbd78d={'tag':_0x1112e6(0x207),'attrs':{'xmlns':_0x1112e6(0x376),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x1112e6(0x419),'height':_0x1112e6(0x419)},'children':[{'tag':'g','attrs':{'clipPath':_0x1112e6(0x3c6)},'children':[{'tag':_0x1112e6(0x282),'attrs':{'stroke':_0x1112e6(0x460),'d':_0x1112e6(0x349),'strokeLinecap':_0x1112e6(0x45c),'strokeLinejoin':_0x1112e6(0x45c),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x1112e6(0x1e9),'attrs':{'id':_0x1112e6(0x1af)},'children':[{'tag':_0x1112e6(0x282),'attrs':{'fill':_0x1112e6(0x1cb),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x1112e6(0x1af)]},_0x180d6e=(0x0,_0x190cc0[_0x1112e6(0x255)])(function(_0x287841,_0x3b7306){const _0x335b32=_0x1112e6;return(0x0,_0x190cc0[_0x335b32(0x414)])(_0x4fdbf7,Object[_0x335b32(0x22f)]({},_0x287841,{'id':'off-line-icon','ref':_0x3b7306,'icon':_0xfbd78d}));});_0x180d6e[_0x1112e6(0x2f0)]='OffLineIcon';let _0x32da4e={'tag':'svg','attrs':{'xmlns':_0x1112e6(0x376),'fill':_0x1112e6(0x27a),'viewBox':_0x1112e6(0x47f),'width':_0x1112e6(0x419),'height':_0x1112e6(0x419)},'children':[{'tag':'g','attrs':{'clipPath':_0x1112e6(0x326)},'children':[{'tag':_0x1112e6(0x282),'attrs':{'stroke':_0x1112e6(0x460),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x1112e6(0x45c),'strokeLinejoin':_0x1112e6(0x45c),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x1112e6(0x1e9),'attrs':{'id':_0x1112e6(0x25e)},'children':[{'tag':_0x1112e6(0x282),'attrs':{'fill':_0x1112e6(0x1cb),'d':_0x1112e6(0x2d3),'transform':_0x1112e6(0x2a4)}}]}]}],'defIds':[_0x1112e6(0x25e)]},_0x1e091a=(0x0,_0x190cc0['forwardRef'])(function(_0x42d90b,_0x3ee35c){const _0x3e11c9=_0x1112e6;return(0x0,_0x190cc0[_0x3e11c9(0x414)])(_0x4fdbf7,Object['assign']({},_0x42d90b,{'id':'on-line-icon','ref':_0x3ee35c,'icon':_0x32da4e}));});_0x1e091a['displayName']=_0x1112e6(0x44c);let _0x5528c2={'tag':_0x1112e6(0x207),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x1112e6(0x499),'width':_0x1112e6(0x419),'height':_0x1112e6(0x419)},'children':[{'tag':_0x1112e6(0x282),'attrs':{'fill':'currentColor','d':_0x1112e6(0x48f),'fillRule':_0x1112e6(0x4f0),'clipRule':_0x1112e6(0x4f0)}}]},_0x30300c=(0x0,_0x190cc0['forwardRef'])(function(_0x28adf5,_0xf76066){const _0x43c2dc=_0x1112e6;return(0x0,_0x190cc0['createElement'])(_0x4fdbf7,Object[_0x43c2dc(0x22f)]({},_0x28adf5,{'id':_0x43c2dc(0x29a),'ref':_0xf76066,'icon':_0x5528c2}));});_0x30300c[_0x1112e6(0x2f0)]=_0x1112e6(0x2dc);let _0x5e2542={'tag':_0x1112e6(0x207),'attrs':{'xmlns':_0x1112e6(0x376),'fill':'none','viewBox':_0x1112e6(0x499),'width':_0x1112e6(0x419),'height':'1em'},'children':[{'tag':_0x1112e6(0x282),'attrs':{'fill':_0x1112e6(0x4ba),'d':'M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','fillOpacity':0.2,'fillRule':_0x1112e6(0x4f0),'clipRule':'evenodd'}},{'tag':_0x1112e6(0x282),'attrs':{'fill':_0x1112e6(0x4ba),'d':_0x1112e6(0x314),'fillRule':_0x1112e6(0x4f0),'clipRule':_0x1112e6(0x4f0)}}]},_0x5d57c9=(0x0,_0x190cc0[_0x1112e6(0x255)])(function(_0x5876f6,_0x4828d8){const _0x4b607d=_0x1112e6;return(0x0,_0x190cc0[_0x4b607d(0x414)])(_0x4fdbf7,Object[_0x4b607d(0x22f)]({},_0x5876f6,{'id':_0x4b607d(0x1c8),'ref':_0x4828d8,'icon':_0x5e2542}));});_0x5d57c9[_0x1112e6(0x2f0)]=_0x1112e6(0x380);function _0x13e8bc(_0x13c1e9){const _0x36314e=_0x1112e6;switch(_0x13c1e9){case _0xd500a[_0x36314e(0x4e3)][_0x36314e(0x3a2)]:return{'icon':(0x0,_0x5dfcdc[_0x36314e(0x3c2)])(_0x180d6e,{}),'colorClass':_0x36314e(0x395),'i18nKey':_0x36314e(0x303),'tooltipKey':_0x36314e(0x218),'clickable':!0x0,'indicator':_0x36314e(0x222)};case _0xd500a['CollaborationStatus'][_0x36314e(0x471)]:return{'icon':(0x0,_0x5dfcdc['jsx'])(_0x180d6e,{}),'colorClass':_0x36314e(0x1f6),'i18nKey':_0x36314e(0x4c5),'clickable':!0x1,'indicator':_0x36314e(0x222)};case _0xd500a[_0x36314e(0x4e3)][_0x36314e(0x31a)]:return{'icon':(0x0,_0x5dfcdc['jsx'])(_0x5d57c9,{}),'colorClass':'univer-text-blue-500','i18nKey':_0x36314e(0x273),'clickable':!0x1,'indicator':'spin'};case _0xd500a['CollaborationStatus'][_0x36314e(0x1e1)]:return{'icon':(0x0,_0x5dfcdc['jsx'])(_0x1e091a,{}),'colorClass':_0x36314e(0x336),'i18nKey':_0x36314e(0x1b2),'clickable':!0x1,'indicator':_0x36314e(0x222)};case _0xd500a['CollaborationStatus'][_0x36314e(0x244)]:case _0xd500a['CollaborationStatus'][_0x36314e(0x249)]:return{'icon':(0x0,_0x5dfcdc[_0x36314e(0x3c2)])(_0x5d57c9,{}),'colorClass':_0x36314e(0x2cd),'i18nKey':'collaboration-client-ui.collabStatus.syncing','clickable':!0x1,'indicator':_0x36314e(0x3e6)};case _0xd500a[_0x36314e(0x4e3)][_0x36314e(0x480)]:return{'icon':(0x0,_0x5dfcdc[_0x36314e(0x3c2)])(_0x5d57c9,{}),'colorClass':_0x36314e(0x2cd),'i18nKey':_0x36314e(0x4dc),'clickable':!0x1,'indicator':_0x36314e(0x3e6)};case _0xd500a[_0x36314e(0x4e3)][_0x36314e(0x2b2)]:return{'icon':(0x0,_0x5dfcdc[_0x36314e(0x3c2)])(_0x1e091a,{}),'colorClass':_0x36314e(0x227),'i18nKey':_0x36314e(0x40c),'clickable':!0x1,'indicator':_0x36314e(0x222)};}}function _0x5f28cd(_0x20aaa7){const _0x4e71c2=_0x1112e6;let {status$:_0x1bd4e5}=_0x20aaa7,_0x1da10d=(0x0,_0x3fd684['useObservable'])(_0x1bd4e5,_0xd500a[_0x4e71c2(0x4e3)][_0x4e71c2(0x1e1)]),_0x51cbb2=(0x0,_0x3fd684['useDependency'])(_0x27aa99[_0x4e71c2(0x211)]),_0x3b26a7=(0x0,_0x3fd684[_0x4e71c2(0x1f9)])(_0xd500a[_0x4e71c2(0x39b)]),_0x369ef3=(0x0,_0x190cc0[_0x4e71c2(0x216)])(()=>_0x13e8bc(_0x1da10d),[_0x1da10d]),_0x4e1462=_0x1da10d!==_0xd500a[_0x4e71c2(0x4e3)][_0x4e71c2(0x3a2)],_0x1744bf=_0x51cbb2['t'](_0x369ef3['i18nKey']),_0x95fe7=_0x369ef3[_0x4e71c2(0x2f1)]?_0x51cbb2['t'](_0x369ef3[_0x4e71c2(0x2f1)]):_0x1744bf,_0x48a851=(0x0,_0x190cc0[_0x4e71c2(0x4b7)])(()=>{const _0x38222a=_0x4e71c2;_0x4e1462||_0x3b26a7[_0x38222a(0x277)]();},[_0x4e1462,_0x3b26a7]),_0x109973=(0x0,_0x190cc0[_0x4e71c2(0x4b7)])(_0x3a7a77=>{const _0x3d9c37=_0x4e71c2;!_0x4e1462&&(_0x3a7a77[_0x3d9c37(0x1e5)]===_0x3d9c37(0x33d)||_0x3a7a77[_0x3d9c37(0x1e5)]==='\x20')&&(_0x3a7a77['preventDefault'](),_0x3b26a7[_0x3d9c37(0x277)]());},[_0x4e1462,_0x3b26a7]),_0x1b811d=(0x0,_0x5dfcdc[_0x4e71c2(0x3c2)])(_0x4e71c2(0x378),{'className':(0x0,_0x510bc4[_0x4e71c2(0x3f0)])(_0x4e71c2(0x28e),'univer-text-xl\x20univer-transition-colors\x20univer-duration-200',_0x369ef3[_0x4e71c2(0x2c1)],{'univer-animate-spin':_0x369ef3[_0x4e71c2(0x34e)]==='spin','univer-animate-pulse':_0x369ef3[_0x4e71c2(0x34e)]==='pulse'}),'aria-hidden':'true','children':_0x369ef3['icon']}),_0x4e4c8d=(0x0,_0x5dfcdc['jsx'])(_0x4e71c2(0x378),{'className':(0x0,_0x510bc4['clsx'])(_0x4e71c2(0x28e),'univer-h-8\x20univer-w-8\x20univer-rounded-lg',_0x4e71c2(0x1eb),_0x4e71c2(0x4bd),_0x4e71c2(0x407),{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700':_0x369ef3[_0x4e71c2(0x43b)],'univer-cursor-default':!_0x369ef3[_0x4e71c2(0x43b)]}),'children':_0x1b811d});return _0x369ef3[_0x4e71c2(0x43b)]?(0x0,_0x5dfcdc[_0x4e71c2(0x3c2)])(_0x510bc4['Tooltip'],{'title':_0x95fe7,'placement':_0x4e71c2(0x47c),'children':(0x0,_0x5dfcdc['jsx'])(_0x4e71c2(0x225),{'type':_0x4e71c2(0x225),'onClick':_0x48a851,'onKeyDown':_0x109973,'className':(0x0,_0x510bc4[_0x4e71c2(0x3f0)])(_0x4e71c2(0x1f1),_0x4e71c2(0x42d),_0x4e71c2(0x24b),'univer-appearance-none'),'aria-label':_0x1744bf+_0x4e71c2(0x270)+_0x95fe7,'role':_0x4e71c2(0x1c9),'aria-live':_0x4e71c2(0x252),'aria-atomic':_0x4e71c2(0x201),'children':_0x4e4c8d})}):(0x0,_0x5dfcdc[_0x4e71c2(0x3c2)])(_0x510bc4[_0x4e71c2(0x304)],{'title':_0x95fe7,'placement':_0x4e71c2(0x47c),'children':(0x0,_0x5dfcdc[_0x4e71c2(0x3c2)])(_0x4e71c2(0x44a),{'className':(0x0,_0x510bc4[_0x4e71c2(0x3f0)])(_0x4e71c2(0x1f1),_0x4e71c2(0x42d),_0x4e71c2(0x24b)),'aria-label':_0x1744bf,'role':_0x4e71c2(0x1c9),'aria-live':_0x4e71c2(0x252),'aria-atomic':_0x4e71c2(0x201),'children':_0x4e4c8d})});}function _0x49a615(_0x139325){'@babel/helpers - typeof';const _0x48320c=_0x1112e6;return _0x49a615=typeof Symbol==_0x48320c(0x22e)&&typeof Symbol[_0x48320c(0x281)]==_0x48320c(0x2cf)?function(_0x3a0b27){return typeof _0x3a0b27;}:function(_0x536e61){const _0x25f224=_0x48320c;return _0x536e61&&typeof Symbol==_0x25f224(0x22e)&&_0x536e61[_0x25f224(0x23c)]===Symbol&&_0x536e61!==Symbol[_0x25f224(0x24d)]?_0x25f224(0x2cf):typeof _0x536e61;},_0x49a615(_0x139325);}function _0x1863ff(_0xcbd928,_0x3a3be0){const _0x4eddcc=_0x1112e6;if(_0x49a615(_0xcbd928)!=_0x4eddcc(0x482)||!_0xcbd928)return _0xcbd928;var _0x748226=_0xcbd928[Symbol['toPrimitive']];if(_0x748226!==void 0x0){var _0x2138c4=_0x748226[_0x4eddcc(0x2bc)](_0xcbd928,_0x3a3be0||_0x4eddcc(0x24c));if(_0x49a615(_0x2138c4)!=_0x4eddcc(0x482))return _0x2138c4;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x3a3be0==='string'?String:Number)(_0xcbd928);}function _0x35e720(_0x9de264){const _0x5e709f=_0x1112e6;var _0x50d42d=_0x1863ff(_0x9de264,'string');return _0x49a615(_0x50d42d)==_0x5e709f(0x2cf)?_0x50d42d:_0x50d42d+'';}function _0x10c934(_0x1536b3,_0x5e802f,_0x3731d9){const _0x4482be=_0x1112e6;return(_0x5e802f=_0x35e720(_0x5e802f))in _0x1536b3?Object[_0x4482be(0x41d)](_0x1536b3,_0x5e802f,{'value':_0x3731d9,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1536b3[_0x5e802f]=_0x3731d9,_0x1536b3;}function _0xe2b27a(_0x4f140a,_0x3d852f){return function(_0x1e9bee,_0x4ca985){_0x3d852f(_0x1e9bee,_0x4ca985,_0x4f140a);};}function _0x4398e9(_0x4d3e18,_0x18d6fc,_0x467d75,_0x1940ad){const _0x1e5b8c=_0x1112e6;var _0x37fcfe=arguments[_0x1e5b8c(0x4e2)],_0x2ad909=_0x37fcfe<0x3?_0x18d6fc:_0x1940ad===null?_0x1940ad=Object[_0x1e5b8c(0x442)](_0x18d6fc,_0x467d75):_0x1940ad,_0x4c1e0b;if(typeof Reflect=='object'&&typeof Reflect['decorate']=='function')_0x2ad909=Reflect[_0x1e5b8c(0x3e9)](_0x4d3e18,_0x18d6fc,_0x467d75,_0x1940ad);else{for(var _0xba4ce8=_0x4d3e18['length']-0x1;_0xba4ce8>=0x0;_0xba4ce8--)(_0x4c1e0b=_0x4d3e18[_0xba4ce8])&&(_0x2ad909=(_0x37fcfe<0x3?_0x4c1e0b(_0x2ad909):_0x37fcfe>0x3?_0x4c1e0b(_0x18d6fc,_0x467d75,_0x2ad909):_0x4c1e0b(_0x18d6fc,_0x467d75))||_0x2ad909);}return _0x37fcfe>0x3&&_0x2ad909&&Object['defineProperty'](_0x18d6fc,_0x467d75,_0x2ad909),_0x2ad909;}let _0x263f39=class extends _0x27aa99[_0x1112e6(0x1d6)]{constructor(_0x4b9f13,_0x122245,_0x2c5ae7,_0x22b024,_0x51d1be){const _0x3a8842=_0x1112e6;super(),this['_univerInstanceService']=_0x4b9f13,this['_injector']=_0x122245,this[_0x3a8842(0x36e)]=_0x2c5ae7,this[_0x3a8842(0x26e)]=_0x22b024,this['_presenceAdapterRegistry']=_0x51d1be,_0x10c934(this,_0x3a8842(0x257),new _0x55e528[(_0x3a8842(0x357))](_0xd500a[_0x3a8842(0x4e3)][_0x3a8842(0x1e1)])),_0x10c934(this,_0x3a8842(0x2bb),new Map()),this[_0x3a8842(0x3b0)](),this[_0x3a8842(0x46b)](),this[_0x3a8842(0x452)]();}[_0x1112e6(0x45e)](){const _0x1ce94b=_0x1112e6;this[_0x1ce94b(0x2bb)][_0x1ce94b(0x356)](_0xf45045=>_0xf45045[_0x1ce94b(0x45e)]()),this['_presenceStatusRegistrations'][_0x1ce94b(0x490)](),this[_0x1ce94b(0x257)]['complete'](),super['dispose']();}[_0x1112e6(0x46b)](){const _0x5aa063=_0x1112e6;this[_0x5aa063(0x3b1)]((0x0,_0x55e528[_0x5aa063(0x233)])(this[_0x5aa063(0x1d7)][_0x5aa063(0x42f)],this[_0x5aa063(0x1d7)][_0x5aa063(0x420)](_0x27aa99[_0x5aa063(0x374)][_0x5aa063(0x309)]),this['_univerInstanceService'][_0x5aa063(0x420)](_0x27aa99[_0x5aa063(0x374)][_0x5aa063(0x3be)]))[_0x5aa063(0x4b2)]((0x0,_0x298c78[_0x5aa063(0x212)])(()=>_0x2826f(this[_0x5aa063(0x1d7)])),(0x0,_0x298c78['distinctUntilChanged'])(),(0x0,_0x55e528[_0x5aa063(0x335)])(_0x46ef79=>_0x46ef79?this[_0x5aa063(0x36e)][_0x5aa063(0x3fb)](_0x46ef79):(0x0,_0x55e528['of'])(null)),(0x0,_0x55e528[_0x5aa063(0x335)])(_0x559d0a=>_0x559d0a?_0x559d0a[_0x5aa063(0x224)]:(0x0,_0x55e528['of'])(_0xd500a[_0x5aa063(0x4e3)][_0x5aa063(0x1e1)])))['subscribe'](_0x131e2e=>{const _0x478afa=_0x5aa063;this['_status$'][_0x478afa(0x3cb)](_0x131e2e);}));}[_0x1112e6(0x3b0)](){const _0x4d403f=_0x1112e6;this[_0x4d403f(0x3b1)](this[_0x4d403f(0x26e)][_0x4d403f(0x25d)](_0x3fd684['BuiltInUIPart']['HEADER_MENU'],()=>(0x0,_0x3fd684[_0x4d403f(0x1a0)])(_0x5757fa({'status$':this['_status$'][_0x4d403f(0x2d7)]()}),this[_0x4d403f(0x26a)])));}[_0x1112e6(0x452)](){const _0x250acc=_0x1112e6;let _0x56149d=this[_0x250acc(0x359)][_0x250acc(0x1be)][_0x250acc(0x4ea)](_0x3edd9c=>{const _0x538788=_0x250acc;this[_0x538788(0x3dd)](_0x3edd9c);});this[_0x250acc(0x3b1)]((0x0,_0x27aa99['toDisposable'])(()=>_0x56149d[_0x250acc(0x291)]()));}[_0x1112e6(0x3dd)](_0x150a17){const _0x12f2e4=_0x1112e6;let _0x29df6f=new Map(_0x150a17[_0x12f2e4(0x2c4)](_0x27da20=>_0x27da20['statusUIPart']!=null)[_0x12f2e4(0x212)](_0x21d046=>[_0x21d046[_0x12f2e4(0x2aa)],_0x21d046]));this[_0x12f2e4(0x2bb)]['forEach']((_0x17674f,_0x431f6f)=>{const _0x31c9a4=_0x12f2e4;_0x29df6f['has'](_0x431f6f)||(_0x17674f['dispose'](),this[_0x31c9a4(0x2bb)][_0x31c9a4(0x4d6)](_0x431f6f));}),_0x29df6f[_0x12f2e4(0x356)]((_0x2939d2,_0x36f0bd)=>{const _0x156d51=_0x12f2e4;this[_0x156d51(0x2bb)]['has'](_0x36f0bd)||this[_0x156d51(0x4a6)](_0x2939d2);});}[_0x1112e6(0x4a6)](_0x1e0ed0){const _0x174f3b=_0x1112e6;let _0x14f950=_0x1e0ed0[_0x174f3b(0x46e)];if(!_0x14f950)return;let _0x5f41f8=new _0x27aa99[(_0x174f3b(0x3a3))](),_0x5649b7=new _0x55e528['BehaviorSubject'](_0xd500a[_0x174f3b(0x4e3)][_0x174f3b(0x1e1)]);_0x5f41f8[_0x174f3b(0x415)]((0x0,_0x27aa99[_0x174f3b(0x3f1)])(()=>_0x5649b7[_0x174f3b(0x405)]())),_0x5f41f8[_0x174f3b(0x415)](this['_uiPartsService'][_0x174f3b(0x25d)](_0x14f950,()=>(0x0,_0x3fd684['connectInjector'])(_0x5757fa({'status$':_0x5649b7['asObservable']()}),this[_0x174f3b(0x26a)])));let _0x229f18=this[_0x174f3b(0x1d7)][_0x174f3b(0x420)](_0x1e0ed0['unitType'])[_0x174f3b(0x4b2)]((0x0,_0x298c78[_0x174f3b(0x212)])(_0x7372f1=>(_0x7372f1==null?void 0x0:_0x7372f1[_0x174f3b(0x3a1)]())??null),(0x0,_0x298c78[_0x174f3b(0x441)])(),(0x0,_0x55e528['switchMap'])(_0x1a57dc=>_0x1a57dc?this[_0x174f3b(0x36e)][_0x174f3b(0x3fb)](_0x1a57dc):(0x0,_0x55e528['of'])(null)),(0x0,_0x55e528['switchMap'])(_0x49cb67=>(_0x49cb67==null?void 0x0:_0x49cb67[_0x174f3b(0x224)])??(0x0,_0x55e528['of'])(_0xd500a['CollaborationStatus']['NOT_COLLAB'])))[_0x174f3b(0x4ea)](_0x191380=>_0x5649b7[_0x174f3b(0x3cb)](_0x191380));_0x5f41f8['add']((0x0,_0x27aa99[_0x174f3b(0x3f1)])(()=>_0x229f18[_0x174f3b(0x291)]())),this[_0x174f3b(0x2bb)][_0x174f3b(0x20e)](_0x1e0ed0['unitType'],_0x5f41f8);}};_0x263f39=_0x4398e9([_0xe2b27a(0x0,_0x27aa99[_0x1112e6(0x4f2)]),_0xe2b27a(0x1,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x27aa99[_0x1112e6(0x306)])),_0xe2b27a(0x2,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0xd500a[_0x1112e6(0x2a7)])),_0xe2b27a(0x3,_0x3fd684[_0x1112e6(0x4d5)]),_0xe2b27a(0x4,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x3fd684[_0x1112e6(0x479)]))],_0x263f39);function _0x2826f(_0x38e279){const _0x258d5f=_0x1112e6;let _0xae509b=_0x38e279[_0x258d5f(0x4b8)](),_0x5f4790=_0xae509b==null?void 0x0:_0xae509b[_0x258d5f(0x3a1)]();if(_0x5f4790&&!(0x0,_0x27aa99[_0x258d5f(0x341)])(_0x5f4790))return _0x5f4790;let _0x4c4dc7=_0x38e279[_0x258d5f(0x360)](_0x27aa99[_0x258d5f(0x374)][_0x258d5f(0x309)]),_0x10d8c6=_0x4c4dc7==null?void 0x0:_0x4c4dc7[_0x258d5f(0x3a1)]();if(_0x10d8c6&&!(0x0,_0x27aa99[_0x258d5f(0x341)])(_0x10d8c6))return _0x10d8c6;let _0x4d6e23=_0x38e279['getCurrentUnitOfType'](_0x27aa99[_0x258d5f(0x374)][_0x258d5f(0x3be)]);if(_0x4d6e23)return _0x4d6e23[_0x258d5f(0x3a1)]();let _0x4c9ed5=_0x38e279[_0x258d5f(0x422)](_0x27aa99[_0x258d5f(0x374)][_0x258d5f(0x309)])[_0x258d5f(0x38b)](_0x25eec8=>!(0x0,_0x27aa99[_0x258d5f(0x341)])(_0x25eec8[_0x258d5f(0x3a1)]()));return _0x4c9ed5?_0x4c9ed5[_0x258d5f(0x3a1)]():null;}function _0x5757fa(_0x4f6e8d){let {status$:_0x32ba70}=_0x4f6e8d;return function(){const _0x1a400b=_0x32ca;return(0x0,_0x5dfcdc[_0x1a400b(0x3c2)])(_0x5f28cd,{'status$':_0x32ba70});};}var _0x530aad=_0x1112e6(0x265),_0x576df5='1.0.0-beta.1';let _0x56df47={'id':_0x1112e6(0x31f),'type':_0x27aa99['CommandType'][_0x1112e6(0x1ca)],'handler':(_0x377acb,_0x3aae6e)=>{const _0x7d380e=_0x1112e6;let _0x470653=_0x377acb['get'](_0x3fd684[_0x7d380e(0x479)])[_0x7d380e(0x3a5)](_0x3aae6e[_0x7d380e(0x2aa)]);if(!_0x470653)return!0x1;switch(_0x3aae6e['update'][_0x7d380e(0x23b)]){case'set':return _0x470653[_0x7d380e(0x3d8)](_0x3aae6e[_0x7d380e(0x1ef)][_0x7d380e(0x34d)]),!0x0;case _0x7d380e(0x28b):return _0x470653[_0x7d380e(0x2e7)](_0x3aae6e['update'][_0x7d380e(0x4d3)],_0x3aae6e[_0x7d380e(0x1ef)][_0x7d380e(0x495)]),!0x0;case _0x7d380e(0x490):return _0x470653[_0x7d380e(0x2c0)](_0x3aae6e[_0x7d380e(0x1ef)]['unitId']),!0x0;default:return!0x1;}}},_0x264656={},_0x4969f7=class extends _0x27aa99['RxDisposable']{constructor(_0x322d00,_0x57b5b3){const _0x37b4b4=_0x1112e6;super(),this[_0x37b4b4(0x47b)]=_0x322d00,this['_imageIoService']=_0x57b5b3,this[_0x37b4b4(0x3d5)]();}[_0x1112e6(0x3d5)](){const _0x2059f4=_0x1112e6;let _0x5704b7=this;this[_0x2059f4(0x3b1)](this[_0x2059f4(0x47b)][_0x2059f4(0x245)]({'onBeforePasteImage':async _0x22681a=>{const _0x3edbbc=_0x2059f4;let _0x24b3d8=await _0x5704b7['_imageIoService'][_0x3edbbc(0x289)](_0x22681a);return _0x24b3d8?{'source':_0x24b3d8[_0x3edbbc(0x30d)],'imageSourceType':_0x24b3d8[_0x3edbbc(0x4d9)]}:null;}}));}};_0x4969f7=_0x4398e9([_0xe2b27a(0x0,_0x4a1268[_0x1112e6(0x3fa)]),_0xe2b27a(0x1,_0x27aa99[_0x1112e6(0x1c0)])],_0x4969f7);let _0x298614=[_0x1112e6(0x48a),'jiqing.500',_0x1112e6(0x3e4),_0x1112e6(0x1df),_0x1112e6(0x4c3),_0x1112e6(0x22a)];var _0x3b4dcd=class extends _0x27aa99[_0x1112e6(0x1d6)]{constructor(..._0xf6acee){const _0x19da48=_0x1112e6;super(..._0xf6acee),_0x10c934(this,_0x19da48(0x20a),new Map()),_0x10c934(this,_0x19da48(0x3f3),0x0);}[_0x1112e6(0x2c7)](_0x484aac){const _0x461195=_0x1112e6;if(this[_0x461195(0x20a)]['has'](_0x484aac))return this[_0x461195(0x20a)][_0x461195(0x3a5)](_0x484aac);let _0x371933=_0x298614[this['_colorIndex']];return this[_0x461195(0x3f3)]=(this['_colorIndex']+0x1)%_0x298614[_0x461195(0x4e2)],this[_0x461195(0x20a)]['set'](_0x484aac,_0x371933),_0x371933;}};function _0x28c870(_0x38b148){const _0x438732=_0x1112e6;let _0x2481a4='';for(let _0x1235b5 of _0x38b148){let {startOffset:_0x4488e3,endOffset:_0x27ef75,isActive:_0x5c3eba,rangeType:_0x2b95ec,segmentId:_0xa78bac,segmentPage:_0x759d}=_0x1235b5;_0x2481a4[_0x438732(0x4e2)]&&(_0x2481a4+=','),_0x2481a4+=_0x4488e3+':'+_0x27ef75+':'+(_0x5c3eba?'1':'0')+':'+_0x2b95ec+':'+_0xa78bac+':'+_0x759d;}return _0x2481a4;}function _0x21eb49(_0xf430aa){const _0x20aa55=_0x1112e6;let _0x57e908=_0xf430aa[_0x20aa55(0x436)](','),_0x502101=[];for(let _0xa8271a of _0x57e908){let [_0x263a08,_0x48d98d,_0x20927f,_0x50ee5c,_0x5581bd,_0x1f4d85]=_0xa8271a['split'](':');_0x502101[_0x20aa55(0x367)]({'startOffset':Number(_0x263a08),'endOffset':Number(_0x48d98d),'collapsed':_0x263a08===_0x48d98d,'isActive':_0x20927f==='1','rangeType':_0x50ee5c===_0x27aa99['DOC_RANGE_TYPE'][_0x20aa55(0x463)]?_0x27aa99[_0x20aa55(0x386)][_0x20aa55(0x463)]:_0x27aa99['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0x5581bd==_0x20aa55(0x2cc)?String(_0x5581bd):'','segmentPage':Number(_0x1f4d85??-0x1)});}return _0x502101[_0x20aa55(0x21c)](_0xd4bd7b=>_0xd4bd7b['isActive'])||(_0x502101[0x0][_0x20aa55(0x32c)]=!0x0),_0x502101;}var _0x2c9ee8=class extends _0x27aa99['RxDisposable']{constructor(..._0x378ea3){const _0x4c9568=_0x1112e6;super(..._0x378ea3),_0x10c934(this,'_collabCursorState$',new _0x55e528[(_0x4c9568(0x357))](null)),_0x10c934(this,_0x4c9568(0x240),this['_collabCursorState$']['asObservable']());}[_0x1112e6(0x25c)](_0x23f50d){const _0x40692d=_0x1112e6;let {unitID:_0x262b11,memberID:_0x25bc79,textRanges:_0x28184f}=_0x23f50d,_0x3cbb8e=_0x28c870(_0x28184f);if(_0x3cbb8e==='')return;let _0x7aac14={'unitID':_0x262b11,'memberID':_0x25bc79,'selection':_0x3cbb8e};this[_0x40692d(0x4d8)][_0x40692d(0x3cb)](_0x7aac14);}};let _0xb75459=class extends _0x27aa99['RxDisposable']{get[_0x1112e6(0x42c)](){const _0x2d5db3=_0x1112e6;return this[_0x2d5db3(0x4a2)]['getValue']();}get[_0x1112e6(0x2b0)](){const _0x388551=_0x1112e6;return this[_0x388551(0x4ec)][_0x388551(0x353)]();}constructor(_0x388a7a,_0x29f990,_0x485b88,_0x21ea22,_0x13307b,_0x1df2eb,_0x22620f,_0x55b245,_0x23da37){const _0x3aa434=_0x1112e6;super(),this['unitID']=_0x388a7a,this[_0x3aa434(0x30a)]=_0x29f990,this[_0x3aa434(0x26a)]=_0x485b88,this['_colorAssignService']=_0x21ea22,this[_0x3aa434(0x440)]=_0x13307b,this[_0x3aa434(0x4e4)]=_0x1df2eb,this['_transformService']=_0x22620f,this[_0x3aa434(0x1d7)]=_0x55b245,this[_0x3aa434(0x1de)]=_0x23da37,_0x10c934(this,_0x3aa434(0x3bd),!0x1),_0x10c934(this,'_init',!0x1),_0x10c934(this,_0x3aa434(0x4a2),new _0x55e528[(_0x3aa434(0x357))](new Map())),_0x10c934(this,'cursorInfo$',this[_0x3aa434(0x4a2)][_0x3aa434(0x2d7)]()),_0x10c934(this,_0x3aa434(0x4ec),new _0x55e528[(_0x3aa434(0x357))]([])),_0x10c934(this,_0x3aa434(0x4ef),this[_0x3aa434(0x4ec)]['pipe']((0x0,_0x55e528[_0x3aa434(0x3d2)])(0x12c))),_0x10c934(this,_0x3aa434(0x3ab),(0x0,_0x27aa99[_0x3aa434(0x21d)])(_0x4264fb=>{const _0x42f1c6=_0x3aa434;let _0x36c8b6={'eventID':_0x301412['CollaborationEvent'][_0x42f1c6(0x1da)],'data':{'unitID':this[_0x42f1c6(0x2ef)],'memberID':this[_0x42f1c6(0x30a)][_0x42f1c6(0x28f)](),'selection':_0x28c870(_0x4264fb)}};this['_session']['send'](_0x36c8b6,this[_0x42f1c6(0x2ef)]);},0x64));}[_0x1112e6(0x45e)](){const _0x4f4997=_0x1112e6;super[_0x4f4997(0x45e)](),this[_0x4f4997(0x4a2)]['next'](new Map()),this[_0x4f4997(0x4a2)][_0x4f4997(0x405)](),this[_0x4f4997(0x4ec)][_0x4f4997(0x3cb)]([]),this['_roomMembers$']['complete']();}['init'](){const _0x534b2d=_0x1112e6;this['_init']||(this[_0x534b2d(0x3d5)]=!0x0,this[_0x534b2d(0x30a)]['sessionStatus$']['pipe']((0x0,_0x55e528[_0x534b2d(0x3fe)])(this[_0x534b2d(0x4c4)]))[_0x534b2d(0x4ea)](_0x24504e=>{const _0x51ba72=_0x534b2d;_0x24504e===_0xd500a[_0x51ba72(0x30e)][_0x51ba72(0x37c)]?this[_0x51ba72(0x30c)]():this[_0x51ba72(0x238)]();}),this[_0x534b2d(0x30a)][_0x534b2d(0x27c)][_0x534b2d(0x4b2)]((0x0,_0x55e528[_0x534b2d(0x3fe)])(this[_0x534b2d(0x4c4)]))['subscribe'](_0xbe1174=>{const _0x2355a1=_0x534b2d;let _0x5dfeef=_0xbe1174[_0x2355a1(0x3b7)];_0x5dfeef===_0x301412[_0x2355a1(0x4ac)][_0x2355a1(0x1da)]&&this[_0x2355a1(0x1e8)](_0xbe1174),_0x5dfeef===_0x301412['CollaborationEvent']['USERS_LEAVE']&&this[_0x2355a1(0x3f9)](_0xbe1174);}),this[_0x534b2d(0x3b1)](this[_0x534b2d(0x1de)]['onCommandExecuted'](_0x190b0d=>{const _0x4e157e=_0x534b2d;let _0x4bedb7=_0x190b0d['params'];_0x4bedb7!=null&&this[_0x4e157e(0x3bd)]&&_0x190b0d['id']===_0x53a4ba[_0x4e157e(0x4f7)]['id']&&_0x4bedb7[_0x4e157e(0x4d3)]===this[_0x4e157e(0x2ef)]&&_0x4bedb7['isEditing']===!0x1&&_0x4bedb7[_0x4e157e(0x1d4)][_0x4e157e(0x4e2)]>0x0&&this['_updateLocalCursor'](_0x4bedb7['ranges']);})),this[_0x534b2d(0x4e4)][_0x534b2d(0x240)][_0x534b2d(0x4b2)]((0x0,_0x55e528[_0x534b2d(0x3fe)])(this['dispose$']))['subscribe'](_0x13d8db=>{const _0x5ced2d=_0x534b2d;if((_0x13d8db==null?void 0x0:_0x13d8db['unitID'])!==this[_0x5ced2d(0x2ef)])return;let _0x295f97={'eventID':_0x301412[_0x5ced2d(0x4ac)][_0x5ced2d(0x1da)],'data':_0x13d8db};this[_0x5ced2d(0x1e8)](_0x295f97);}),this[_0x534b2d(0x3b1)](this[_0x534b2d(0x1de)][_0x534b2d(0x44e)](_0x1cde24=>{const _0x1d3fc7=_0x534b2d;if(_0x1cde24[_0x1d3fc7(0x274)]==null)return;let _0x5a5544=_0x1cde24[_0x1d3fc7(0x274)];if(_0x1cde24['id']!==_0x53a4ba['RichTextEditingMutation']['id']||_0x5a5544['unitId']!==this[_0x1d3fc7(0x2ef)])return;let _0x550b99={'id':_0x1d3fc7(0x4ee),'params':_0x5a5544},_0x34053c=this[_0x1d3fc7(0x42c)];for(let [_0x45de8a,_0x5a776b]of _0x34053c){let _0x2249f2={'id':_0x1d3fc7(0x4ee),'params':{'unitId':this[_0x1d3fc7(0x2ef)],'actions':null,'textRanges':_0x5a776b['ranges']}},_0x4d4103=this[_0x1d3fc7(0x312)][_0x1d3fc7(0x3e1)](_0x550b99,_0x2249f2,!0x1);if((0x0,_0x301412[_0x1d3fc7(0x325)])(_0x4d4103))throw _0x4d4103[_0x1d3fc7(0x264)];_0x34053c[_0x1d3fc7(0x20e)](_0x45de8a,{..._0x5a776b,'ranges':_0x4d4103[_0x1d3fc7(0x3ff)][_0x1d3fc7(0x274)][_0x1d3fc7(0x1e7)]});}queueMicrotask(()=>{const _0x19e7c8=_0x1d3fc7;this[_0x19e7c8(0x4a2)][_0x19e7c8(0x3cb)](_0x34053c);});})));}[_0x1112e6(0x1e8)](_0x3a982e){const _0xbe0b80=_0x1112e6;var _0x5886f0;let {memberID:_0x4b3e28,selection:_0xd0a157}=_0x3a982e['data'],_0x1b11de=_0x21eb49(_0xd0a157),_0x35d363=((_0x5886f0=this[_0xbe0b80(0x440)][_0xbe0b80(0x2e4)](this['unitID'],_0x4b3e28))==null?void 0x0:_0x5886f0[_0xbe0b80(0x239)])??_0xbe0b80(0x3cf),_0xe57b00={'color':this['_colorAssignService'][_0xbe0b80(0x2c7)](_0x4b3e28),'name':_0x35d363,'ranges':_0x1b11de},_0x102f67=this[_0xbe0b80(0x42c)];_0x102f67[_0xbe0b80(0x20e)](_0x4b3e28,_0xe57b00),this[_0xbe0b80(0x4a2)][_0xbe0b80(0x3cb)](_0x102f67);}[_0x1112e6(0x3f9)](_0x48a36f){const _0x28bb37=_0x1112e6;let {memberID:_0x11df30}=_0x48a36f[_0x28bb37(0x1fa)],_0x34a1bb=this[_0x28bb37(0x42c)];_0x34a1bb['delete'](_0x11df30),this[_0x28bb37(0x4a2)]['next'](_0x34a1bb);}[_0x1112e6(0x30c)](){const _0x56abcf=_0x1112e6;var _0x5c810;if(this[_0x56abcf(0x3bd)]=!0x0,((_0x5c810=this[_0x56abcf(0x1d7)]['getFocusedUnit']())==null?void 0x0:_0x5c810[_0x56abcf(0x3a1)]())!==this[_0x56abcf(0x2ef)])return;let _0x3d9f16=this[_0x56abcf(0x26a)][_0x56abcf(0x3a5)](_0x53a4ba[_0x56abcf(0x2f8)])[_0x56abcf(0x4a9)]();Array[_0x56abcf(0x421)](_0x3d9f16)&&_0x3d9f16['length']>0x0&&this[_0x56abcf(0x3ab)](_0x3d9f16);}[_0x1112e6(0x238)](){this['_online']=!0x1;}};_0xb75459=_0x4398e9([_0xe2b27a(0x2,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x27aa99[_0x1112e6(0x306)])),_0xe2b27a(0x3,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x3b4dcd)),_0xe2b27a(0x4,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0xd500a[_0x1112e6(0x3da)])),_0xe2b27a(0x5,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x2c9ee8)),_0xe2b27a(0x6,_0x301412[_0x1112e6(0x444)]),_0xe2b27a(0x7,_0x27aa99[_0x1112e6(0x4f2)]),_0xe2b27a(0x8,_0x27aa99[_0x1112e6(0x41e)])],_0xb75459);let _0x46a724=()=>{let _0x484cd1=[],_0x502a57=!0x1;return _0x1d05a9=>{const _0x39afe5=_0x32ca;_0x484cd1[_0x39afe5(0x367)](_0x1d05a9),_0x502a57||(_0x502a57=!0x0,setTimeout(()=>{const _0x69a3a=_0x39afe5;_0x484cd1[_0x69a3a(0x356)](_0xf14d62=>_0xf14d62()),_0x484cd1=[],_0x502a57=!0x1;}));};},_0x38841b=class extends _0x27aa99[_0x1112e6(0x280)]{get[_0x1112e6(0x42c)](){const _0x40b24e=_0x1112e6;return this[_0x40b24e(0x4a2)][_0x40b24e(0x353)]();}get[_0x1112e6(0x2b0)](){const _0x377a79=_0x1112e6;return this['_roomMembers$'][_0x377a79(0x353)]();}constructor(_0x2af262,_0x4ea8a3,_0x1141c9,_0xf5b008,_0x3c1785,_0x515354,_0x52a4ed,_0x2e796f){const _0x474beb=_0x1112e6;super(),this['unitID']=_0x2af262,this[_0x474beb(0x30a)]=_0x4ea8a3,this[_0x474beb(0x26a)]=_0x1141c9,this[_0x474beb(0x4b9)]=_0xf5b008,this[_0x474beb(0x440)]=_0x3c1785,this[_0x474beb(0x1d7)]=_0x515354,this[_0x474beb(0x1de)]=_0x52a4ed,this[_0x474beb(0x32a)]=_0x2e796f,_0x10c934(this,_0x474beb(0x3bd),!0x1),_0x10c934(this,_0x474beb(0x3d5),!0x1),_0x10c934(this,'_cursorInfo$',new _0x55e528[(_0x474beb(0x357))](new Map())),_0x10c934(this,_0x474beb(0x26c),this[_0x474beb(0x4a2)]['asObservable']()),_0x10c934(this,'_roomMembers$',new _0x55e528[(_0x474beb(0x357))]([])),_0x10c934(this,'roomMembers$',this[_0x474beb(0x4ec)][_0x474beb(0x4b2)]((0x0,_0x55e528[_0x474beb(0x3d2)])(0x12c))),_0x10c934(this,_0x474beb(0x3ab),(0x0,_0x27aa99[_0x474beb(0x21d)])((_0x26fd4b,_0x491833)=>{const _0x5dda33=_0x474beb;let _0x54844d={'eventID':_0x301412[_0x5dda33(0x4ac)][_0x5dda33(0x1da)],'data':{'unitID':this['unitID'],'memberID':this[_0x5dda33(0x30a)][_0x5dda33(0x28f)](),'selection':(0x0,_0x385246[_0x5dda33(0x2a8)])(_0x26fd4b,_0x491833[_0x5dda33(0x2bf)])}};this[_0x5dda33(0x30a)][_0x5dda33(0x1a4)](_0x54844d,this[_0x5dda33(0x2ef)]);},0x64));}[_0x1112e6(0x45e)](){const _0x554c4f=_0x1112e6;super['dispose'](),this['_cursorInfo$']['next'](new Map()),this[_0x554c4f(0x4a2)][_0x554c4f(0x405)](),this[_0x554c4f(0x4ec)][_0x554c4f(0x3cb)]([]),this[_0x554c4f(0x4ec)][_0x554c4f(0x405)]();}[_0x1112e6(0x29c)](){const _0x386575=_0x1112e6;this[_0x386575(0x3d5)]||(this[_0x386575(0x3d5)]=!0x0,this[_0x386575(0x30a)][_0x386575(0x363)][_0x386575(0x4b2)]((0x0,_0x55e528[_0x386575(0x3fe)])(this[_0x386575(0x4c4)]))[_0x386575(0x4ea)](_0x48b727=>{const _0x2e9820=_0x386575;_0x48b727===_0xd500a[_0x2e9820(0x30e)]['ONLINE']?this['_toggleOnline']():this[_0x2e9820(0x238)]();}),this[_0x386575(0x30a)][_0x386575(0x27c)][_0x386575(0x4b2)]((0x0,_0x55e528[_0x386575(0x3fe)])(this[_0x386575(0x4c4)]))['subscribe'](_0x4fdfac=>{const _0x32ee9b=_0x386575;let _0x5e5eee=_0x4fdfac[_0x32ee9b(0x3b7)];_0x5e5eee===_0x301412[_0x32ee9b(0x4ac)]['UPDATE_CURSOR']&&this[_0x32ee9b(0x1e8)](_0x4fdfac),_0x5e5eee===_0x301412[_0x32ee9b(0x4ac)][_0x32ee9b(0x2f5)]&&this[_0x32ee9b(0x3f9)](_0x4fdfac);}),this[_0x386575(0x474)](),this[_0x386575(0x3b1)](this['_commandService'][_0x386575(0x44e)](_0x313e37=>{const _0x3ccc97=_0x386575;if(this[_0x3ccc97(0x3bd)]&&_0x313e37['id']===_0x430826[_0x3ccc97(0x46c)]['id']&&_0x313e37['params'][_0x3ccc97(0x4d3)]===this[_0x3ccc97(0x2ef)]){let _0x1c6682=_0x313e37[_0x3ccc97(0x274)];this[_0x3ccc97(0x3ab)](_0x1c6682[_0x3ccc97(0x2d2)],_0x1c6682['selections'][0x0]);}})));}[_0x1112e6(0x1e8)](_0x91945b){const _0x2dc6dd=_0x1112e6;var _0x49acb6;let {memberID:_0x268308,selection:_0x52e20d}=_0x91945b[_0x2dc6dd(0x1fa)],{sheetName:_0x698362,range:_0x8ccd67}=(0x0,_0x385246[_0x2dc6dd(0x2ec)])(_0x52e20d),_0x3e6d47={'name':((_0x49acb6=this[_0x2dc6dd(0x440)]['getMember'](this[_0x2dc6dd(0x2ef)],_0x268308))==null?void 0x0:_0x49acb6['name'])??_0x2dc6dd(0x3cf),'range':this[_0x2dc6dd(0x4e5)](_0x698362,_0x8ccd67),'sheetID':_0x698362,'color':this['_colorAssignService'][_0x2dc6dd(0x2c7)](_0x268308),'selection':_0x52e20d},_0x149a06=this[_0x2dc6dd(0x42c)];_0x149a06['set'](_0x268308,_0x3e6d47),this[_0x2dc6dd(0x4a2)]['next'](_0x149a06);}[_0x1112e6(0x3f9)](_0x12624f){const _0x38a151=_0x1112e6;let {memberID:_0x542179}=_0x12624f[_0x38a151(0x1fa)],_0x29040e=this[_0x38a151(0x42c)];_0x29040e[_0x38a151(0x4d6)](_0x542179),this[_0x38a151(0x4a2)][_0x38a151(0x3cb)](_0x29040e);}[_0x1112e6(0x4e5)](_0x4d7f9a,_0x362fdf){const _0x44c75c=_0x1112e6;var _0xb50da3;let _0x102ede=(_0xb50da3=this['_univerInstanceService'][_0x44c75c(0x26d)](this[_0x44c75c(0x2ef)],_0x27aa99['UniverInstanceType'][_0x44c75c(0x3be)]))==null||(_0xb50da3=_0xb50da3[_0x44c75c(0x2df)](_0x4d7f9a))==null?void 0x0:_0xb50da3[_0x44c75c(0x4c6)]();return(_0x102ede==null?void 0x0:_0x102ede[_0x44c75c(0x38b)](_0x4ea906=>_0x27aa99[_0x44c75c(0x470)][_0x44c75c(0x4c0)](_0x4ea906,_0x362fdf)))||_0x362fdf;}['_onRefRangeChange'](){const _0x2b72bd=_0x1112e6;let _0x608507=new _0x27aa99['DisposableCollection'](),_0x2614f9=_0x46a724(),_0xf0c68a=()=>{const _0x3249d0=_0x32ca;_0x608507[_0x3249d0(0x45e)]();let _0x5432fb=(_0x2d937e,_0x1e3e33,_0x170864,_0x464757)=>{const _0x44b424=_0x3249d0;let _0x49a83b=[];switch(_0x2d937e['id']){case _0x430826[_0x44b424(0x476)]['DeleteRangeMoveLeftCommandId']:_0x49a83b=(0x0,_0x430826[_0x44b424(0x4cd)])(_0x2d937e,_0x464757);break;case _0x430826[_0x44b424(0x476)][_0x44b424(0x31d)]:_0x49a83b=(0x0,_0x430826['handleDeleteRangeMoveUp'])(_0x2d937e,_0x464757);break;case _0x430826['EffectRefRangId'][_0x44b424(0x3ec)]:_0x49a83b=(0x0,_0x430826[_0x44b424(0x317)])(_0x2d937e,_0x464757);break;case _0x430826[_0x44b424(0x476)][_0x44b424(0x1c6)]:_0x49a83b=(0x0,_0x430826['handleInsertRangeMoveDown'])(_0x2d937e,_0x464757);break;case _0x430826[_0x44b424(0x476)][_0x44b424(0x31e)]:_0x49a83b=(0x0,_0x430826[_0x44b424(0x455)])(_0x2d937e,_0x464757);break;case _0x430826['EffectRefRangId'][_0x44b424(0x3b3)]:_0x49a83b=(0x0,_0x430826[_0x44b424(0x2da)])(_0x2d937e,_0x464757);break;case _0x430826[_0x44b424(0x476)][_0x44b424(0x4b1)]:_0x49a83b=(0x0,_0x430826[_0x44b424(0x278)])(_0x2d937e,_0x464757);break;case _0x430826[_0x44b424(0x476)][_0x44b424(0x387)]:_0x49a83b=(0x0,_0x430826['handleIRemoveCol'])(_0x2d937e,_0x464757);break;case _0x430826[_0x44b424(0x476)]['RemoveRowCommandId']:_0x49a83b=(0x0,_0x430826[_0x44b424(0x4f4)])(_0x2d937e,_0x464757);break;}let _0x53793d=(0x0,_0x430826[_0x44b424(0x37f)])(_0x49a83b,_0x464757),_0x125de2=this[_0x44b424(0x42c)]['get'](_0x1e3e33);if(_0x125de2&&_0x53793d){let _0x5392cf={..._0x125de2,'range':_0x53793d};this['cursorInfo']['set'](_0x1e3e33,_0x5392cf),_0x2614f9(()=>{const _0x41b9dc=_0x44b424;let _0x1ea407=this[_0x41b9dc(0x32a)][_0x41b9dc(0x1f0)](_0x53793d,_0x1c3dd9=>(_0x1ea407[_0x41b9dc(0x45e)](),_0x5432fb(_0x1c3dd9,_0x1e3e33,_0x170864,_0x53793d)));_0x608507['add'](_0x1ea407);});}return{'redos':[],'undos':[]};};this[_0x3249d0(0x42c)][_0x3249d0(0x356)]((_0x5ab11d,_0x3ba9fa)=>{const _0x2e4db8=_0x3249d0;let {range:_0x3ebd33,sheetID:_0x119492}=_0x5ab11d,_0x21bb64=this['_refRangeService'][_0x2e4db8(0x1f0)](_0x3ebd33,_0x223184=>(_0x21bb64[_0x2e4db8(0x45e)](),_0x5432fb(_0x223184,_0x3ba9fa,_0x119492,_0x3ebd33)));_0x608507[_0x2e4db8(0x415)](_0x21bb64);});};this['disposeWithMe']((0x0,_0x27aa99[_0x2b72bd(0x3f1)])(this['_cursorInfo$'][_0x2b72bd(0x4ea)](()=>{_0xf0c68a();})));}[_0x1112e6(0x30c)](){const _0xaf1207=_0x1112e6;var _0x139aec,_0x4994ef;if(this[_0xaf1207(0x3bd)]=!0x0,((_0x139aec=this[_0xaf1207(0x1d7)][_0xaf1207(0x4b8)]())==null?void 0x0:_0x139aec[_0xaf1207(0x3a1)]())!==this['unitID'])return;let _0x350b31=(_0x4994ef=this['_injector']['get'](_0x430826[_0xaf1207(0x2a1)])[_0xaf1207(0x4f1)]())==null?void 0x0:_0x4994ef[0x0],_0x3af003=this[_0xaf1207(0x1d7)][_0xaf1207(0x360)](_0x27aa99['UniverInstanceType'][_0xaf1207(0x3be)])[_0xaf1207(0x1b8)]();_0x350b31&&_0x3af003&&this[_0xaf1207(0x3ab)](_0x3af003[_0xaf1207(0x47e)](),_0x350b31);}[_0x1112e6(0x238)](){const _0x18fe58=_0x1112e6;this[_0x18fe58(0x3bd)]=!0x1;}};_0x38841b=_0x4398e9([_0xe2b27a(0x2,(0x0,_0x27aa99['Inject'])(_0x27aa99[_0x1112e6(0x306)])),_0xe2b27a(0x3,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x3b4dcd)),_0xe2b27a(0x4,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0xd500a[_0x1112e6(0x3da)])),_0xe2b27a(0x5,_0x27aa99[_0x1112e6(0x4f2)]),_0xe2b27a(0x6,_0x27aa99[_0x1112e6(0x41e)]),_0xe2b27a(0x7,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x430826[_0x1112e6(0x4aa)]))],_0x38841b);let _0x177b31=class extends _0x27aa99[_0x1112e6(0x280)]{constructor(_0x5b3f7c,_0x49daf6,_0x43957b){const _0x486aa8=_0x1112e6;super(),this['_univerInstanceService']=_0x5b3f7c,this[_0x486aa8(0x26a)]=_0x49daf6,this['_collabSessionService']=_0x43957b,_0x10c934(this,'_entities',new Map()),_0x10c934(this,'_entityInit$',new _0x55e528[(_0x486aa8(0x2f2))]()),this['_init']();}[_0x1112e6(0x45e)](){const _0x21f3cb=_0x1112e6;super[_0x21f3cb(0x45e)](),this[_0x21f3cb(0x3f6)][_0x21f3cb(0x405)](),this[_0x21f3cb(0x447)][_0x21f3cb(0x356)](_0x7d1f44=>_0x7d1f44[_0x21f3cb(0x45e)]());}[_0x1112e6(0x1a2)](_0x52fdea){const _0x376fa2=_0x1112e6;let _0x2df78d=this[_0x376fa2(0x447)]['get'](_0x52fdea);return _0x2df78d?_0x2df78d[_0x376fa2(0x26c)]:this[_0x376fa2(0x3f6)][_0x376fa2(0x4b2)]((0x0,_0x55e528[_0x376fa2(0x2c4)])(_0x3d59d0=>_0x3d59d0[_0x376fa2(0x2ef)]===_0x52fdea),(0x0,_0x55e528[_0x376fa2(0x335)])(_0x3644e1=>_0x3644e1[_0x376fa2(0x26c)]));}[_0x1112e6(0x3d5)](){const _0x38f80a=_0x1112e6;this[_0x38f80a(0x1d7)][_0x38f80a(0x39a)](_0x27aa99['UniverInstanceType']['UNIVER_SHEET'])[_0x38f80a(0x4b2)]((0x0,_0x55e528[_0x38f80a(0x3fe)])(this[_0x38f80a(0x4c4)]))[_0x38f80a(0x4ea)](async _0x467cb4=>{const _0x359e21=_0x38f80a;let _0x2b2635=_0x467cb4['unit'][_0x359e21(0x3a1)](),_0x5dfa5a=await this[_0x359e21(0x4c1)](_0x2b2635);this[_0x359e21(0x3f6)][_0x359e21(0x3cb)](_0x5dfa5a),this[_0x359e21(0x447)][_0x359e21(0x20e)](_0x2b2635,_0x5dfa5a);}),this[_0x38f80a(0x1d7)][_0x38f80a(0x39a)](_0x27aa99['UniverInstanceType'][_0x38f80a(0x309)])[_0x38f80a(0x4b2)]((0x0,_0x55e528[_0x38f80a(0x3fe)])(this[_0x38f80a(0x4c4)]))['pipe']((0x0,_0x55e528[_0x38f80a(0x2c4)])(_0x53b411=>!_0x53b411[_0x38f80a(0x241)][_0x38f80a(0x3a1)]()[_0x38f80a(0x2ee)]('__')))[_0x38f80a(0x4ea)](async _0x22ccd6=>{const _0x599251=_0x38f80a;let {unit:_0x2976f7}=_0x22ccd6,_0xf25eff=_0x2976f7[_0x599251(0x3a1)](),_0x380bc2=await this[_0x599251(0x261)](_0xf25eff);this[_0x599251(0x3f6)]['next'](_0x380bc2),this[_0x599251(0x447)][_0x599251(0x20e)](_0xf25eff,_0x380bc2);}),(0x0,_0x55e528['merge'])(this[_0x38f80a(0x1d7)]['getTypeOfUnitDisposed$'](_0x27aa99['UniverInstanceType'][_0x38f80a(0x309)]),this['_univerInstanceService'][_0x38f80a(0x458)](_0x27aa99[_0x38f80a(0x374)][_0x38f80a(0x3be)]))['pipe']((0x0,_0x55e528['takeUntil'])(this['dispose$']))[_0x38f80a(0x4ea)](_0x3f25e9=>{const _0x30c2bc=_0x38f80a;let _0x1ade54=_0x3f25e9['getUnitId'](),_0x36ef9c=this[_0x30c2bc(0x447)][_0x30c2bc(0x3a5)](_0x1ade54);_0x36ef9c&&(_0x36ef9c['dispose'](),this[_0x30c2bc(0x447)][_0x30c2bc(0x4d6)](_0x1ade54));});}async[_0x1112e6(0x4c1)](_0x14bcd3){const _0x3b0216=_0x1112e6;let _0x2b2799=await this[_0x3b0216(0x3f4)][_0x3b0216(0x33e)](_0x14bcd3),_0x403515=this[_0x3b0216(0x26a)]['createInstance'](_0x38841b,_0x14bcd3,_0x2b2799);return _0x403515[_0x3b0216(0x29c)](),_0x403515;}async[_0x1112e6(0x261)](_0x37f6f1){const _0x304b90=_0x1112e6;let _0x57e4bd=await this['_collabSessionService'][_0x304b90(0x33e)](_0x37f6f1),_0x95fc1f=this['_injector'][_0x304b90(0x1cf)](_0xb75459,_0x37f6f1,_0x57e4bd);return _0x95fc1f[_0x304b90(0x29c)](),_0x95fc1f;}};_0x177b31=_0x4398e9([_0xe2b27a(0x0,_0x27aa99['IUniverInstanceService']),_0xe2b27a(0x1,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x27aa99['Injector'])),_0xe2b27a(0x2,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0xd500a['CollaborationSessionService']))],_0x177b31);function _0xd76bf2(_0x2cd60a,_0x3cff29){const _0x58f1c4=_0x1112e6;_0x2cd60a['save'](),_0x2cd60a[_0x58f1c4(0x200)]=_0x58f1c4(0x46d);let _0x57085e=_0x2cd60a[_0x58f1c4(0x1f5)](_0x3cff29)[_0x58f1c4(0x2d8)];return _0x2cd60a[_0x58f1c4(0x327)](),Math[_0x58f1c4(0x43e)](_0x57085e+0x8,0xc8);}function _0x1f45d1(_0x186345,_0x129a02){const _0x121a01=_0x1112e6;let {radius:_0x570ac5,width:_0x808281,height:_0x19d624}=_0x129a02;_0x570ac5??=0x0,_0x808281??=0x1e,_0x19d624??=0x1e;let _0x53e184=0x0,_0xb4bb39=0x0,_0x3b8b6d=0x0;_0x53e184=_0xb4bb39=_0x3b8b6d=Math[_0x121a01(0x43e)](_0x570ac5,_0x808281/0x2,_0x19d624/0x2),_0x186345[_0x121a01(0x4ca)](),_0x186345[_0x121a01(0x1ae)](_0x53e184,0x0),_0x186345[_0x121a01(0x40e)](_0x808281-_0xb4bb39,0x0),_0x186345['arc'](_0x808281-_0xb4bb39,_0xb4bb39,_0xb4bb39,Math['PI']*0x3/0x2,0x0,!0x1),_0x186345['lineTo'](_0x808281,_0x19d624-_0x3b8b6d),_0x186345['arc'](_0x808281-_0x3b8b6d,_0x19d624-_0x3b8b6d,_0x3b8b6d,0x0,Math['PI']/0x2,!0x1),_0x186345['lineTo'](0x0,_0x19d624),_0x186345['lineTo'](0x0,_0x53e184),_0x186345[_0x121a01(0x2ca)](_0x53e184,_0x53e184,_0x53e184,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x186345[_0x121a01(0x351)](),_0x129a02[_0x121a01(0x298)]&&(_0x186345['save'](),_0x186345['fillStyle']=_0x129a02[_0x121a01(0x298)],_0x129a02[_0x121a01(0x453)]===_0x121a01(0x4f0)?_0x186345['fill']('evenodd'):_0x186345['fill'](),_0x186345[_0x121a01(0x327)]());}var _0x3c6a7b=class _0x56f337 extends _0x558eeb[_0x1112e6(0x279)]{constructor(_0x7e458,_0x468285){const _0x442260=_0x1112e6;super(_0x7e458,_0x468285),_0x10c934(this,_0x442260(0x40f),void 0x0),_0x10c934(this,_0x442260(0x297),void 0x0),this[_0x442260(0x40f)]=_0x468285==null?void 0x0:_0x468285['color'],this[_0x442260(0x297)]=_0x468285==null?void 0x0:_0x468285[_0x442260(0x297)];}static[_0x1112e6(0x2a2)](_0x5cab13,_0x8625e4){const _0x2c1321=_0x1112e6;let {text:_0x41f362,color:_0xfee605}=_0x8625e4;_0x5cab13[_0x2c1321(0x1d8)](),_0x5cab13[_0x2c1321(0x200)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';let _0xe7a556=_0x5cab13[_0x2c1321(0x1f5)](_0x41f362)[_0x2c1321(0x2d8)];if(_0x1f45d1(_0x5cab13,{'height':0x14,'radius':0x4,'width':_0xd76bf2(_0x5cab13,_0x41f362),'fill':_0xfee605,'evented':!0x1}),_0x5cab13['fillStyle']='#FFF',_0xe7a556>0xc0){let _0x27f65d='',_0x13bc48=0x0;for(let _0x7400c6 of _0x41f362){let _0x32109b=_0x5cab13['measureText'](_0x7400c6)[_0x2c1321(0x2d8)];if(_0x13bc48+_0x32109b<=0xc0-_0x5cab13[_0x2c1321(0x1f5)](_0x2c1321(0x4a0))[_0x2c1321(0x2d8)])_0x27f65d+=_0x7400c6,_0x13bc48+=_0x32109b;else{_0x27f65d+=_0x2c1321(0x4a0);break;}}_0x5cab13[_0x2c1321(0x2b5)](_0x27f65d,0x4,0xf);}else _0x5cab13[_0x2c1321(0x2b5)](_0x41f362,0x4,0xf);_0x5cab13[_0x2c1321(0x327)]();}[_0x1112e6(0x411)](_0x49b382){const _0x3fcfee=_0x1112e6;_0x56f337[_0x3fcfee(0x2a2)](_0x49b382,this);}};let _0x21b284='collab-text-anchor-';var _0x4545ca=class{constructor(_0x2281c0,_0x581866,_0x2a552c,_0x25adfa){const _0x82cc93=_0x1112e6;this[_0x82cc93(0x36a)]=_0x2281c0,this['_scene']=_0x581866,this['_docSkeleton']=_0x2a552c,this[_0x82cc93(0x31c)]=_0x25adfa,_0x10c934(this,_0x82cc93(0x34f),[]),_0x10c934(this,_0x82cc93(0x250),null),_0x10c934(this,_0x82cc93(0x333),null),_0x10c934(this,_0x82cc93(0x30f),null),_0x10c934(this,_0x82cc93(0x1a1),null),_0x10c934(this,'_eventUnsubscribe',null),this[_0x82cc93(0x219)]();}set[_0x1112e6(0x1b9)](_0x471ed5){const _0x48f031=_0x1112e6;_0x471ed5?(this['_anchorDot']&&this['_anchorDot']['hide'](),this['_textBubble']&&this['_textBubble'][_0x48f031(0x3e2)]()):(this[_0x48f031(0x30f)]&&this[_0x48f031(0x30f)][_0x48f031(0x3e2)](),this['_textBubble']&&this[_0x48f031(0x333)][_0x48f031(0x467)]());}['dispose'](){const _0x2a6051=_0x1112e6;for(let _0x974898 of this[_0x2a6051(0x34f)])_0x974898[_0x2a6051(0x45e)]();this['_textBubble']&&this['_textBubble'][_0x2a6051(0x45e)](),this[_0x2a6051(0x30f)]&&this[_0x2a6051(0x30f)][_0x2a6051(0x45e)](),this[_0x2a6051(0x250)]&&this['_anchor'][_0x2a6051(0x45e)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}[_0x1112e6(0x219)](){const _0x5081a2=_0x1112e6;let {_docSkeleton:_0x906068,_document:_0x55c01e}=this,{color:_0x531b35,name:_0x1c64ab,ranges:_0x17174c}=this['_cursor'],_0x717078=_0x55c01e[_0x5081a2(0x3d4)](),{docsLeft:_0x52f69e,docsTop:_0xaed82}=_0x717078,_0x426bcb=new _0x4a1268[(_0x5081a2(0x242))](_0x717078,_0x906068);for(let {startOffset:_0x5894af,endOffset:_0x1ab93e,rangeType:_0xf6addc,segmentId:_0x51d871,segmentPage:_0x311d86,collapsed:_0x91bc82,isActive:_0x1b1f2e}of _0x17174c){let _0x5f482e=_0x906068['findNodePositionByCharIndex'](_0x5894af,!0x0,_0x51d871,_0x311d86),_0x43a68e=_0x906068[_0x5081a2(0x25f)](_0x1ab93e,!0x0,_0x51d871,_0x311d86);_0x43a68e??=_0x906068[_0x5081a2(0x25f)](_0x1ab93e-0x1,!0x1,_0x51d871,_0x311d86);let _0xd0eb01=_0x91608(_0x5f482e,_0x43a68e);if(_0x1b1f2e&&_0xd0eb01[_0x5081a2(0x3e8)]){let {contentBoxPointGroup:_0x44d8a4}=_0x426bcb[_0x5081a2(0x24e)](_0x43a68e,_0x43a68e);if(_0x44d8a4[_0x5081a2(0x4e2)]===0x0)continue;this[_0x5081a2(0x39f)](_0x531b35,_0x44d8a4,_0x52f69e,_0xaed82,_0x1c64ab),this[_0x5081a2(0x497)]=this[_0x5081a2(0x35e)]();}if(_0x5f482e&&_0x43a68e){if(_0xf6addc===_0x27aa99[_0x5081a2(0x386)][_0x5081a2(0x204)]){let {pointGroup:_0x369e78}=new _0x4a1268['NodePositionConvertToRectRange'](_0x717078,_0x906068)[_0x5081a2(0x24e)](_0x5f482e,_0x43a68e)??{};if(_0x369e78==null||_0x369e78[_0x5081a2(0x4e2)]===0x0)continue;this[_0x5081a2(0x2dd)](_0x531b35,_0x369e78,_0x52f69e,_0xaed82);}else{if(!_0x91bc82&&_0xd0eb01[_0x5081a2(0x209)]){let {borderBoxPointGroup:_0x1e0427}=_0x426bcb['getRangePointData'](_0x5f482e,_0x43a68e);if(_0x1e0427[_0x5081a2(0x4e2)]===0x0)continue;this[_0x5081a2(0x294)](_0x531b35,_0x1e0427,_0x52f69e,_0xaed82);}}}}}[_0x1112e6(0x39f)](_0x1b3841,_0x247971,_0x3631c4,_0x594fe9,_0x34838a){const _0x2933ed=_0x1112e6;let {left:_0x2e09cc,top:_0x5c14be,height:_0x2d9f9b}=this['_getAnchorBounding'](_0x247971),_0x4d6e52=1.5/this[_0x2933ed(0x3ee)](),_0x2e6a24=new _0x558eeb['Rect'](_0x21b284+(0x0,_0x27aa99[_0x2933ed(0x1ea)])(0x6),{'left':_0x2e09cc+_0x3631c4-_0x4d6e52,'top':_0x5c14be+_0x594fe9,'height':_0x2d9f9b,'width':1.5,'fill':_0x1b3841||(0x0,_0x558eeb[_0x2933ed(0x1c1)])(_0x27aa99[_0x2933ed(0x399)][_0x2933ed(0x1ee)],0x0),'strokeWidth':_0x4d6e52,'stroke':_0x2933ed(0x1c4),'evented':!0x0});this[_0x2933ed(0x250)]=_0x2e6a24,this[_0x2933ed(0x2e0)]['addObject'](_0x2e6a24,_0x4a1268[_0x2933ed(0x3b6)]);let _0x46de71=new _0x558eeb['Rect'](_0x21b284+(0x0,_0x27aa99['generateRandomId'])(0x6),{'left':_0x2e09cc+_0x3631c4-_0x4d6e52,'top':_0x5c14be+_0x594fe9-0x4/0x2,'height':0x4,'width':0x4,'fill':_0x1b3841||(0x0,_0x558eeb[_0x2933ed(0x1c1)])(_0x27aa99[_0x2933ed(0x399)][_0x2933ed(0x1ee)],0x0),'strokeWidth':0x0,'stroke':_0x1b3841||(0x0,_0x558eeb[_0x2933ed(0x1c1)])(_0x27aa99[_0x2933ed(0x399)][_0x2933ed(0x1ee)],0x0),'evented':!0x1});this['_anchorDot']=_0x46de71,this[_0x2933ed(0x2e0)][_0x2933ed(0x41b)](_0x46de71,_0x4a1268[_0x2933ed(0x3b6)]);let _0x587ed3=new _0x3c6a7b(_0x21b284+(0x0,_0x27aa99[_0x2933ed(0x1ea)])(0x6),{'left':_0x2e09cc+_0x3631c4-_0x4d6e52,'top':_0x5c14be+_0x594fe9-0x14,'text':_0x34838a,'color':_0x1b3841});this['_textBubble']=_0x587ed3,this[_0x2933ed(0x2e0)]['addObject'](_0x587ed3,_0x4a1268[_0x2933ed(0x3b6)]),this[_0x2933ed(0x1b9)]=!0x1;}[_0x1112e6(0x35e)](){const _0x5ab30a=_0x1112e6;let _0x20cfae=this[_0x5ab30a(0x250)]['onPointerEnter$'][_0x5ab30a(0x1d0)](()=>{const _0x4388a6=_0x5ab30a;this[_0x4388a6(0x1b9)]=!0x0;}),_0x544ed1=this['_anchor']['onPointerLeave$']['subscribeEvent'](()=>{const _0x2341ca=_0x5ab30a;this[_0x2341ca(0x1a1)]&&clearTimeout(this['_hideTimer']),this[_0x2341ca(0x1a1)]=setTimeout(()=>{const _0x5ec37c=_0x2341ca;this[_0x5ec37c(0x1b9)]=!0x1;},0x7d0);});return()=>{const _0x1d009a=_0x5ab30a;_0x20cfae[_0x1d009a(0x291)](),_0x544ed1[_0x1d009a(0x291)]();};}[_0x1112e6(0x294)](_0x6ae8cd,_0x39f2d3,_0x16085c,_0x55462d){const _0x288377=_0x1112e6;let _0xf7337d=0.2,_0x1795d5=new _0x27aa99[(_0x288377(0x2fc))](_0x6ae8cd)[_0x288377(0x1d5)](_0xf7337d)[_0x288377(0x41a)](),_0x4ed0d2=new _0x558eeb['RegularPolygon'](_0x288377(0x3df)+(0x0,_0x27aa99[_0x288377(0x1ea)])(0x6),{'pointsGroup':_0x39f2d3,'fill':_0x1795d5||(0x0,_0x558eeb[_0x288377(0x1c1)])(_0x27aa99['COLORS'][_0x288377(0x1ee)],_0xf7337d),'left':_0x16085c,'top':_0x55462d,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x288377(0x367)](_0x4ed0d2),this['_scene'][_0x288377(0x41b)](_0x4ed0d2,_0x4a1268[_0x288377(0x3b6)]);}[_0x1112e6(0x2dd)](_0x44ea1c,_0x4bf4ff,_0x8c813b,_0x3c71b1){const _0x24ba60=_0x1112e6;let _0x2a1605=0.2,_0x437486=new _0x27aa99[(_0x24ba60(0x2fc))](_0x44ea1c)[_0x24ba60(0x1d5)](_0x2a1605)['toRgbString'](),_0x23de25=new _0x558eeb[(_0x24ba60(0x267))](_0x24ba60(0x3b4)+(0x0,_0x27aa99[_0x24ba60(0x1ea)])(0x6),{'pointsGroup':_0x4bf4ff,'fill':_0x437486||(0x0,_0x558eeb[_0x24ba60(0x1c1)])(_0x27aa99[_0x24ba60(0x399)][_0x24ba60(0x1ee)],_0x2a1605),'left':_0x8c813b,'top':_0x3c71b1,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x24ba60(0x367)](_0x23de25),this[_0x24ba60(0x2e0)]['addObject'](_0x23de25,_0x4a1268[_0x24ba60(0x3b6)]);}[_0x1112e6(0x284)](_0x35d25f){let _0xd66cd4=_0x35d25f[0x0],_0x3fdae0=_0xd66cd4[0x0],_0x5905af=_0xd66cd4[0x2],{x:_0x14b6b4,y:_0xc04765}=_0x3fdae0,{x:_0xfe0041,y:_0x23498a}=_0x5905af;return{'left':_0x14b6b4,'top':_0xc04765,'width':_0xfe0041-_0x14b6b4,'height':_0x23498a-_0xc04765};}[_0x1112e6(0x3ee)](){const _0x52c648=_0x1112e6;let {scaleX:_0x462545,scaleY:_0x456917}=this[_0x52c648(0x2e0)]['getAncestorScale']();return Math['max'](_0x462545,_0x456917);}};function _0x91608(_0x3efb97,_0x2fe731){const _0x55477f=_0x1112e6;if(!_0x2fe731)return{'canRenderAnchor':!0x1,'canRenderSelection':!0x1};if(!_0x3efb97||_0x3efb97[_0x55477f(0x417)]!==_0x2fe731[_0x55477f(0x417)]||(_0x3efb97[_0x55477f(0x417)]===_0x558eeb['DocumentSkeletonPageType'][_0x55477f(0x26f)]||_0x3efb97[_0x55477f(0x417)]===_0x558eeb[_0x55477f(0x20d)][_0x55477f(0x334)])&&_0x3efb97[_0x55477f(0x354)]!==_0x2fe731[_0x55477f(0x354)])return{'canRenderAnchor':!0x0,'canRenderSelection':!0x1};let _0x3da0e4=(0x0,_0x558eeb[_0x55477f(0x3c3)])(_0x3efb97),_0x1ea272=(0x0,_0x558eeb[_0x55477f(0x3c3)])(_0x2fe731);return{'canRenderAnchor':!0x0,'canRenderSelection':_0x3da0e4==null||_0x1ea272==null?_0x3da0e4==null&&_0x1ea272==null:_0x3da0e4[_0x55477f(0x1ba)]===_0x1ea272[_0x55477f(0x1ba)]&&_0x3da0e4['columnGroupId']===_0x1ea272[_0x55477f(0x260)]&&_0x3da0e4['columnIndex']===_0x1ea272[_0x55477f(0x3d3)]};}let _0x22a566=class extends _0x27aa99[_0x1112e6(0x280)]{constructor(_0x4452af,_0x4f40f6,_0x42342c,_0x5e7990,_0x2591ca){const _0x8be942=_0x1112e6;super(),this['_context']=_0x4452af,this[_0x8be942(0x3ad)]=_0x4f40f6,this[_0x8be942(0x485)]=_0x42342c,this[_0x8be942(0x1de)]=_0x5e7990,this[_0x8be942(0x4c2)]=_0x2591ca,_0x10c934(this,_0x8be942(0x4a5),[]),_0x10c934(this,_0x8be942(0x32f),[]),this[_0x8be942(0x3d5)]();}['_init'](){const _0x50e210=_0x1112e6;let _0x53702c=this['_context'][_0x50e210(0x4d3)],_0x23e5cb=this[_0x50e210(0x3ad)];this[_0x50e210(0x3b1)]((0x0,_0x55e528[_0x50e210(0x1a7)])([this['_collabCursorController'][_0x50e210(0x1a2)](_0x53702c),this['_themeService'][_0x50e210(0x3aa)]])['pipe']((0x0,_0x298c78[_0x50e210(0x212)])(([_0x414184,_0x24567e])=>({'skeleton':_0x23e5cb[_0x50e210(0x2ab)](),'cursors':[..._0x414184[_0x50e210(0x243)]()]['flatMap'](_0x49a5bb=>({..._0x49a5bb,'color':this[_0x50e210(0x4c2)]['getColorFromTheme'](_0x49a5bb[_0x50e210(0x40f)])}))})))[_0x50e210(0x4ea)](_0xaccf4d=>{const _0x3f6901=_0x50e210;if(this['_removeCollabCursors'](),_0xaccf4d){let {skeleton:_0x1d8c70,cursors:_0x54e904}=_0xaccf4d;this[_0x3f6901(0x2b1)](_0x1d8c70,_0x54e904);}})),this[_0x50e210(0x27d)](),this[_0x50e210(0x28d)]();}[_0x1112e6(0x2b1)](_0x1a8a6a,_0x2596c6){const _0x4d7dff=_0x1112e6;let {scene:_0x392dd2,mainComponent:_0x30c9ca}=this['_context'],_0x12652d=_0x2596c6[_0x4d7dff(0x212)](_0x376301=>new _0x4545ca(_0x376301,_0x392dd2,_0x1a8a6a,_0x30c9ca));this[_0x4d7dff(0x4a5)]=_0x12652d,this['_cursors']=_0x2596c6;}[_0x1112e6(0x381)](){const _0x43aa7e=_0x1112e6;this[_0x43aa7e(0x31b)]();let {scene:_0x149586,mainComponent:_0x20a733}=this[_0x43aa7e(0x330)],_0x4542ea=this[_0x43aa7e(0x3ad)][_0x43aa7e(0x2ab)](),_0x4475f6=this['_cursors'][_0x43aa7e(0x212)](_0x50037e=>new _0x4545ca(_0x50037e,_0x149586,_0x4542ea,_0x20a733));this[_0x43aa7e(0x4a5)]=_0x4475f6;}[_0x1112e6(0x31b)](){const _0x4ce625=_0x1112e6;this[_0x4ce625(0x4a5)][_0x4ce625(0x356)](_0x2baf41=>_0x2baf41[_0x4ce625(0x45e)]()),this[_0x4ce625(0x4a5)]=[];}[_0x1112e6(0x28d)](){const _0x22ecce=_0x1112e6;let _0x2f9e9b=[_0x4a1268['SetDocZoomRatioOperation']['id']];this[_0x22ecce(0x3b1)](this[_0x22ecce(0x1de)][_0x22ecce(0x44e)](_0x26961b=>{const _0x50b65a=_0x22ecce;_0x2f9e9b[_0x50b65a(0x2c9)](_0x26961b['id'])&&_0x26961b[_0x50b65a(0x274)][_0x50b65a(0x4d3)]===this[_0x50b65a(0x330)][_0x50b65a(0x4d3)]&&this[_0x50b65a(0x381)]();}));}['_initResize'](){const _0xb30983=_0x1112e6;this[_0xb30983(0x3b1)]((0x0,_0x27aa99['fromEventSubject'])(this[_0xb30983(0x330)][_0xb30983(0x33f)][_0xb30983(0x4e0)])[_0xb30983(0x4b2)]((0x0,_0x298c78[_0xb30983(0x2c4)])(_0x545bca=>_0x545bca[_0xb30983(0x23b)]===_0x558eeb[_0xb30983(0x3bf)][_0xb30983(0x2e8)]),(0x0,_0x298c78[_0xb30983(0x3a9)])(0x10))[_0xb30983(0x4ea)](()=>{const _0x5d4671=_0xb30983;this[_0x5d4671(0x381)]();}));}};_0x22a566=_0x4398e9([_0xe2b27a(0x1,(0x0,_0x27aa99['Inject'])(_0x53a4ba['DocSkeletonManagerService'])),_0xe2b27a(0x2,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x177b31)),_0xe2b27a(0x3,_0x27aa99[_0x1112e6(0x41e)]),_0xe2b27a(0x4,(0x0,_0x27aa99['Inject'])(_0x27aa99[_0x1112e6(0x248)]))],_0x22a566);var _0x19d554=class extends _0x558eeb['Shape']{constructor(_0x5346ca,_0x5b9b1f){const _0x2594bf=_0x1112e6;super(_0x5346ca,_0x5b9b1f),_0x10c934(this,'_color',void 0x0),_0x10c934(this,'_hovered',!0x1),_0x10c934(this,_0x2594bf(0x4a3),void 0x0),_0x10c934(this,'_name',''),_0x10c934(this,_0x2594bf(0x3d7),_0x2594bf(0x2eb)),_0x10c934(this,_0x2594bf(0x2ba),void 0x0),_0x10c934(this,_0x2594bf(0x25a),void 0x0),_0x10c934(this,_0x2594bf(0x339),void 0x0),_0x10c934(this,_0x2594bf(0x1d1),0x4),_0x10c934(this,'_blinkTimer',void 0x0),_0x10c934(this,_0x2594bf(0x3f8),void 0x0),_0x10c934(this,_0x2594bf(0x368),!0x0),_0x10c934(this,'_offsetY',0x0),_0x10c934(this,_0x2594bf(0x416),_0x2594bf(0x352)),_0x5b9b1f&&(this[_0x2594bf(0x4e9)](_0x5b9b1f),_0x5b9b1f[_0x2594bf(0x4cb)]&&(_0x5b9b1f['highlightSecond']??this[_0x2594bf(0x1d1)])&&this[_0x2594bf(0x1f3)](_0x5b9b1f[_0x2594bf(0x44f)]??this[_0x2594bf(0x1d1)])),this['onPointerEnter$'][_0x2594bf(0x1d0)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x2594bf(0x1d0)](()=>this['setShapeProps']({'hovered':!0x1}));}[_0x1112e6(0x1e2)](_0x44172b){const _0x49efd6=_0x1112e6;this[_0x49efd6(0x43d)]=_0x44172b;}[_0x1112e6(0x4e9)](_0x4286c0){const _0x1a9f41=_0x1112e6;this[_0x1a9f41(0x208)]=_0x4286c0[_0x1a9f41(0x40f)]??this[_0x1a9f41(0x208)],this[_0x1a9f41(0x24a)]=_0x4286c0[_0x1a9f41(0x481)]??this[_0x1a9f41(0x24a)],this[_0x1a9f41(0x4a3)]=_0x4286c0[_0x1a9f41(0x2bf)]??this[_0x1a9f41(0x4a3)],this[_0x1a9f41(0x1ff)]=_0x4286c0[_0x1a9f41(0x239)]??this['_name'],this['_labelPosition']=_0x4286c0[_0x1a9f41(0x1b6)]??this[_0x1a9f41(0x3d7)],this[_0x1a9f41(0x2ba)]=_0x4286c0[_0x1a9f41(0x2b8)]??this[_0x1a9f41(0x2ba)],this[_0x1a9f41(0x25a)]=_0x4286c0[_0x1a9f41(0x318)]??this[_0x1a9f41(0x25a)],this[_0x1a9f41(0x416)]=_0x4286c0[_0x1a9f41(0x3eb)]??this[_0x1a9f41(0x416)],_0x4286c0['highlightSecond']!==void 0x0&&(this['_highlightSecond']=_0x4286c0[_0x1a9f41(0x44f)]),_0x4286c0[_0x1a9f41(0x4cb)]!==void 0x0&&(this[_0x1a9f41(0x339)]=_0x4286c0['highlight']),_0x4286c0[_0x1a9f41(0x202)]!==void 0x0&&(this[_0x1a9f41(0x43d)]=_0x4286c0[_0x1a9f41(0x202)]),this[_0x1a9f41(0x4d7)]({'width':_0x4286c0[_0x1a9f41(0x2d8)],'height':_0x4286c0[_0x1a9f41(0x272)]});}[_0x1112e6(0x2d9)](_0x4ab49d){const _0x163474=_0x1112e6;let {row:_0xec7441,column:_0x59962b}=_0x4ab49d;if(_0xec7441>=this[_0x163474(0x4a3)][_0x163474(0x4da)]&&_0xec7441<=this[_0x163474(0x4a3)][_0x163474(0x253)]&&_0x59962b>=this[_0x163474(0x4a3)][_0x163474(0x320)]&&_0x59962b<=this[_0x163474(0x4a3)][_0x163474(0x23f)]){this[_0x163474(0x4e9)]({'hovered':!0x0});return;}this[_0x163474(0x4e9)]({'hovered':!0x1});}[_0x1112e6(0x1f3)](_0x48d722){const _0x83c72b=_0x1112e6;this[_0x83c72b(0x315)](),this[_0x83c72b(0x368)]=!0x0,this[_0x83c72b(0x3f8)]=window[_0x83c72b(0x494)](()=>{const _0x3a4e25=_0x83c72b;this['_isBlinkVisible']=!this[_0x3a4e25(0x368)],this[_0x3a4e25(0x3e3)](!0x0);},0x1f4),this[_0x83c72b(0x40d)]=window[_0x83c72b(0x290)](()=>{const _0x3d1013=_0x83c72b;this[_0x3d1013(0x315)](),this[_0x3d1013(0x368)]=!0x0,this[_0x3d1013(0x3e3)](!0x0);},_0x48d722*0x3e8);}['_stopBlinking'](){const _0x237ebb=_0x1112e6;this[_0x237ebb(0x3f8)]&&=(window[_0x237ebb(0x434)](this[_0x237ebb(0x3f8)]),void 0x0),this[_0x237ebb(0x40d)]&&=(window['clearTimeout'](this[_0x237ebb(0x40d)]),void 0x0);}[_0x1112e6(0x35f)](_0x4160c4){return!0x1;}[_0x1112e6(0x45e)](){const _0x2da3f7=_0x1112e6;this[_0x2da3f7(0x315)](),super[_0x2da3f7(0x45e)]();}[_0x1112e6(0x411)](_0x170a2b){const _0x468c35=_0x1112e6;let _0x1790ac=this[_0x468c35(0x208)],_0x3e5825=this[_0x468c35(0x2ba)];if(this['_highlight']&&!this[_0x468c35(0x368)]&&(_0x1790ac=this[_0x468c35(0x49f)](this[_0x468c35(0x208)]),_0x3e5825=this[_0x468c35(0x2ba)]?this[_0x468c35(0x49f)](this[_0x468c35(0x2ba)]):void 0x0),_0x558eeb['Rect'][_0x468c35(0x2a2)](_0x170a2b,{'width':this['width'],'height':this[_0x468c35(0x272)],'strokeWidth':this[_0x468c35(0x4c9)]||1.5,'stroke':_0x1790ac,'evented':!0x1,'fill':_0x3e5825}),this['_hovered']||this[_0x468c35(0x25a)]){_0x170a2b[_0x468c35(0x1d8)]();let _0x3bcc7c=this['_labelHorizontalPosition']===_0x468c35(0x2d4)?-_0xd76bf2(_0x170a2b,this[_0x468c35(0x1ff)]):this['width'];_0x170a2b['transform'](0x1,0x0,0x0,0x1,_0x3bcc7c,(this[_0x468c35(0x3d7)]===_0x468c35(0x47c)?0x0:-0x14)+(this['_offsetY']??0x0)),_0x3c6a7b[_0x468c35(0x2a2)](_0x170a2b,{'text':this[_0x468c35(0x1ff)],'color':_0x1790ac}),_0x170a2b[_0x468c35(0x327)]();}}[_0x1112e6(0x49f)](_0x3c09e5){const _0x5a12e0=_0x1112e6;return _0x3c09e5[_0x5a12e0(0x2ee)]('#')?_0x5a12e0(0x331)+Number[_0x5a12e0(0x237)](_0x3c09e5['slice'](0x1,0x3),0x10)+',\x20'+Number[_0x5a12e0(0x237)](_0x3c09e5[_0x5a12e0(0x435)](0x3,0x5),0x10)+',\x20'+Number[_0x5a12e0(0x237)](_0x3c09e5[_0x5a12e0(0x435)](0x5,0x7),0x10)+_0x5a12e0(0x292):_0x3c09e5[_0x5a12e0(0x2ee)]('rgba')?_0x3c09e5[_0x5a12e0(0x23d)](/[\d.]+\)$/g,'0.2)'):_0x3c09e5[_0x5a12e0(0x2ee)](_0x5a12e0(0x347))?_0x3c09e5['replace'](_0x5a12e0(0x347),_0x5a12e0(0x383))[_0x5a12e0(0x23d)](')',',\x200.2)'):_0x3c09e5;}};let _0x2848b3=class extends _0x27aa99['RxDisposable']{constructor(_0x2627f7,_0x5c55a5,_0x301251,_0x25fd8e){const _0x1ba542=_0x1112e6;super(),this[_0x1ba542(0x330)]=_0x2627f7,this[_0x1ba542(0x1d9)]=_0x5c55a5,this[_0x1ba542(0x485)]=_0x301251,this[_0x1ba542(0x4c2)]=_0x25fd8e,_0x10c934(this,_0x1ba542(0x32f),new Set()),_0x10c934(this,_0x1ba542(0x401),null),_0x10c934(this,_0x1ba542(0x33a),null),this[_0x1ba542(0x3d5)]();}[_0x1112e6(0x3d5)](){const _0x51248e=_0x1112e6;this['_sheetSkeletonManagerService'][_0x51248e(0x2a3)]['pipe']((0x0,_0x298c78[_0x51248e(0x3fe)])(this['dispose$']),(0x0,_0x298c78['switchMap'])(_0x5c0f91=>{const _0x285921=_0x51248e;if(_0x5c0f91){let _0x449b9d=_0x5c0f91[_0x285921(0x34b)];return(0x0,_0x55e528[_0x285921(0x1a7)])(this['_collabCursorController'][_0x285921(0x1a2)](this[_0x285921(0x330)]['unitId']),this[_0x285921(0x4c2)][_0x285921(0x3aa)])[_0x285921(0x4b2)]((0x0,_0x298c78['map'])(([_0xab758b,_0x16e80a])=>{let _0x4578b2=new Map();return _0xab758b['forEach']((_0x4764fb,_0x2fb72d)=>{const _0x468732=_0x32ca;if(_0x4764fb[_0x468732(0x492)]===_0x449b9d){let _0x2985c9={..._0x4764fb};_0x2985c9[_0x468732(0x40f)]=this[_0x468732(0x4c2)]['getColorFromTheme'](_0x4764fb['color']),_0x4578b2[_0x468732(0x20e)](_0x2fb72d,_0x2985c9);}}),{'skeleton':_0x5c0f91,'cursors':_0x4578b2};}));}return(0x0,_0x55e528['of'])({'skeleton':null,'cursors':new Map()});}))[_0x51248e(0x4ea)](({skeleton:_0x266e4b,cursors:_0x36b9d8})=>{const _0x30a846=_0x51248e;this['_removeCollabCursors'](),_0x266e4b&&this[_0x30a846(0x2b1)](_0x266e4b,_0x36b9d8);}),this[_0x51248e(0x3b1)](this[_0x51248e(0x1d9)]['currentSkeleton$']['pipe']((0x0,_0x298c78['takeUntil'])(this['dispose$']))[_0x51248e(0x4ea)](_0xb3b1b=>{const _0x49619f=_0x51248e;var _0x403439;if(_0xb3b1b==null)return;(_0x403439=this[_0x49619f(0x33a)])==null||_0x403439['unsubscribe'](),this[_0x49619f(0x33a)]=null;let {skeleton:_0x28b334}=_0xb3b1b,{scene:_0x4127ab}=this[_0x49619f(0x330)];this[_0x49619f(0x33a)]=_0x4127ab[_0x49619f(0x1b0)][_0x49619f(0x1d0)]((0x0,_0x27aa99[_0x49619f(0x21d)])(_0x52b692=>{const _0x192232=_0x49619f;var _0x4652d7,_0x4a1078;let {offsetX:_0x4727cf,offsetY:_0x28b07b}=_0x52b692,{x:_0x4988d0,y:_0x5f19dd}=_0x4127ab[_0x192232(0x1cc)](_0x558eeb['Vector2'][_0x192232(0x370)]([_0x4727cf,_0x28b07b])),{scaleX:_0x3afa32,scaleY:_0x1da691}=_0x4127ab[_0x192232(0x2b7)](),_0x4dece7=_0x4127ab[_0x192232(0x3ed)](_0x558eeb['SHEET_VIEWPORT_KEY']['VIEW_MAIN']),_0x52ae99=_0x4127ab['getScrollXYInfoByViewport'](_0x558eeb[_0x192232(0x4a8)][_0x192232(0x370)]([_0x4988d0,_0x5f19dd]),_0x4dece7),_0x3deaa0=_0x28b334[_0x192232(0x22d)](_0x4727cf,_0x28b07b,_0x3afa32,_0x1da691,_0x52ae99);(((_0x4652d7=this['_lastPointer'])==null?void 0x0:_0x4652d7['column'])!==_0x3deaa0[_0x192232(0x32d)]||((_0x4a1078=this['_lastPointer'])==null?void 0x0:_0x4a1078['row'])!==_0x3deaa0[_0x192232(0x27e)])&&this[_0x192232(0x32f)][_0x192232(0x356)](_0x85de13=>{const _0x43b89a=_0x192232;_0x85de13[_0x43b89a(0x2d9)](_0x3deaa0);});},0x64));})),this[_0x51248e(0x3b1)]((0x0,_0x27aa99[_0x51248e(0x3f1)])(()=>{const _0x1aa91b=_0x51248e;var _0x1e2eed;(_0x1e2eed=this[_0x1aa91b(0x33a)])==null||_0x1e2eed[_0x1aa91b(0x291)](),this['_pointerMoveDisposable']=null;}));}[_0x1112e6(0x2b1)](_0x50b5bb,_0x152ead){const _0x1bcf2d=_0x1112e6;let _0x1b4886=this[_0x1bcf2d(0x1d9)][_0x1bcf2d(0x443)]();if(!_0x1b4886)return;let _0x5baea8=this[_0x1bcf2d(0x2c6)]();if(!_0x5baea8)return;this['_cursors']['forEach'](_0x5ddc42=>{const _0x5bc507=_0x1bcf2d;_0x5ddc42[_0x5bc507(0x3e3)]();});let {scene:_0x3e50a4}=_0x5baea8,_0x53461b=_0x28786d(Array[_0x1bcf2d(0x323)](_0x152ead[_0x1bcf2d(0x243)]()))[_0x1bcf2d(0x212)](_0x215188=>{const _0x9a3032=_0x1bcf2d;let {color:_0x4eecfe,range:_0x5cb69c,name:_0x3dc49e,selection:_0x4d1b84,sheetID:_0x438643}=_0x215188,{startColumn:_0x1f8a72,startRow:_0x36d001,endColumn:_0x120a98,endRow:_0x21be94}=_0x5cb69c,_0x587a54=(0x0,_0x7e3f75[_0x9a3032(0x4d2)])(_0x36d001,_0x1f8a72,_0x3e50a4,_0x1b4886),_0x30b53a=(0x0,_0x7e3f75[_0x9a3032(0x4d2)])(_0x21be94,_0x120a98,_0x3e50a4,_0x1b4886),{columnHeaderHeightAndMarginTop:_0x54373b}=_0x1b4886,{startX:_0x3d1a16,startY:_0x36ab59}=_0x587a54,{endX:_0x30a161,endY:_0x716510}=_0x30b53a,_0x91dca2=_0x30a161-_0x3d1a16,_0x2bf120=_0x716510-_0x36ab59;return new _0x19d554(_0x3dc49e,{'labelPosition':_0x36ab59-_0x54373b>=0x14?_0x9a3032(0x2eb):'bottom','sheetID':_0x438643,'range':_0x5cb69c,'color':_0x4eecfe,'name':_0x3dc49e,'selection':_0x4d1b84,'left':_0x3d1a16,'top':_0x36ab59,'width':_0x91dca2,'height':_0x2bf120,'evented':!0x1,'zIndex':0x1389});});_0x3e50a4[_0x1bcf2d(0x287)](_0x53461b,0x1),this['_cursors']=new Set(_0x53461b);}[_0x1112e6(0x31b)](){const _0x500b59=_0x1112e6;var _0x2522ca;(_0x2522ca=this['_cursors'])==null||_0x2522ca[_0x500b59(0x356)](_0xbc45f4=>_0xbc45f4[_0x500b59(0x45e)]());}['_getSheetObject'](){const _0x55c057=_0x1112e6;return(0x0,_0x7e3f75['getSheetObject'])(this['_context'][_0x55c057(0x241)],this[_0x55c057(0x330)]);}};_0x2848b3=_0x4398e9([_0xe2b27a(0x1,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x7e3f75[_0x1112e6(0x271)])),_0xe2b27a(0x2,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x177b31)),_0xe2b27a(0x3,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x27aa99[_0x1112e6(0x248)]))],_0x2848b3);function _0x28786d(_0x832188){const _0x126cab=_0x1112e6;let _0x1245d6=new Map();return _0x832188[_0x126cab(0x356)](_0x5302c9=>{const _0x271eb7=_0x126cab;if(_0x1245d6[_0x271eb7(0x288)](_0x5302c9['selection'])){let _0x48ba23=_0x1245d6[_0x271eb7(0x3a5)](_0x5302c9[_0x271eb7(0x28c)]);_0x48ba23[_0x271eb7(0x239)]+=',\x20'+_0x5302c9[_0x271eb7(0x239)];}else _0x1245d6[_0x271eb7(0x20e)](_0x5302c9[_0x271eb7(0x28c)],_0x5302c9);}),Array[_0x126cab(0x323)](_0x1245d6[_0x126cab(0x243)]());}function _0x4a23bc(_0x4c4d89){const _0x5707f2=_0x1112e6;return typeof _0x4c4d89==_0x5707f2(0x482)&&!!_0x4c4d89;}function _0x267243(_0x11bc51){const _0x38478e=_0x1112e6;return _0x11bc51[_0x38478e(0x3b7)]===_0x301412[_0x38478e(0x4ac)][_0x38478e(0x1da)]&&'data'in _0x11bc51&&_0x4a23bc(_0x11bc51[_0x38478e(0x1fa)])&&typeof _0x11bc51[_0x38478e(0x1fa)][_0x38478e(0x449)]==_0x38478e(0x2cc)&&typeof _0x11bc51[_0x38478e(0x1fa)][_0x38478e(0x28c)]==_0x38478e(0x2cc);}function _0x51315a(_0x2db2bc){const _0xa077a6=_0x1112e6;return _0x2db2bc[_0xa077a6(0x3b7)]===_0x301412['CollaborationEvent'][_0xa077a6(0x2f5)]&&_0xa077a6(0x1fa)in _0x2db2bc&&_0x4a23bc(_0x2db2bc[_0xa077a6(0x1fa)])&&typeof _0x2db2bc[_0xa077a6(0x1fa)][_0xa077a6(0x449)]==_0xa077a6(0x2cc);}function _0x10a1fb(_0x4477f3,_0x20b35c){const _0x57851b=_0x1112e6;let _0x26d230;try{_0x26d230=JSON[_0x57851b(0x20c)](_0x4477f3);}catch{return null;}if(!_0x4a23bc(_0x26d230)||typeof _0x26d230['kind']!=_0x57851b(0x2cc)||typeof _0x26d230['unitId']!='string'||typeof _0x26d230[_0x57851b(0x2d2)]!='string')return null;let _0x39665d=typeof _0x26d230[_0x57851b(0x2aa)]==_0x57851b(0x35b)?_0x26d230[_0x57851b(0x2aa)]:_0x20b35c;if(_0x39665d==null)return null;let _0x46632d=_0x4a23bc(_0x26d230[_0x57851b(0x4a7)])&&typeof _0x26d230[_0x57851b(0x4a7)]['x']=='number'&&Number['isFinite'](_0x26d230[_0x57851b(0x4a7)]['x'])&&typeof _0x26d230[_0x57851b(0x4a7)]['y']=='number'&&Number[_0x57851b(0x4f3)](_0x26d230[_0x57851b(0x4a7)]['y'])?{'x':_0x26d230[_0x57851b(0x4a7)]['x'],'y':_0x26d230['pointer']['y']}:null;return{'kind':_0x26d230[_0x57851b(0x258)],'unitType':_0x39665d,'unitId':_0x26d230['unitId'],'subUnitId':_0x26d230[_0x57851b(0x2d2)],'selectedIds':Array[_0x57851b(0x421)](_0x26d230[_0x57851b(0x1aa)])?_0x26d230[_0x57851b(0x1aa)][_0x57851b(0x2c4)](_0x18529f=>typeof _0x18529f==_0x57851b(0x2cc)):[],'focusedId':typeof _0x26d230[_0x57851b(0x41c)]==_0x57851b(0x2cc)?_0x26d230[_0x57851b(0x41c)]:null,'pointer':_0x46632d};}function _0x5b70cc(_0x24ece9,_0x521d2a,_0x297541){const _0x3d3156=_0x1112e6;return{'kind':_0x521d2a,'unitType':_0x24ece9,'unitId':_0x297541[_0x3d3156(0x4d3)],'subUnitId':_0x297541['subUnitId'],'selectedIds':Array[_0x3d3156(0x323)](_0x297541[_0x3d3156(0x1aa)]),'focusedId':_0x297541[_0x3d3156(0x41c)],'pointer':_0x297541[_0x3d3156(0x4a7)]?{..._0x297541['pointer']}:null};}let _0x25e152=class extends _0x27aa99['RxDisposable']{constructor(_0x116d36,_0x268a99,_0x49d61f,_0x379506,_0x36b9e0,_0x3ca8c5){const _0x3bf808=_0x1112e6;super(),this[_0x3bf808(0x4d3)]=_0x116d36,this[_0x3bf808(0x30a)]=_0x268a99,this['_adapter']=_0x49d61f,this[_0x3bf808(0x4b9)]=_0x379506,this[_0x3bf808(0x440)]=_0x36b9e0,this[_0x3bf808(0x1de)]=_0x3ca8c5,_0x10c934(this,'_online',!0x1),_0x10c934(this,_0x3bf808(0x488),!0x1);}get[_0x1112e6(0x2aa)](){const _0x44f9e4=_0x1112e6;return this[_0x44f9e4(0x1e4)][_0x44f9e4(0x2aa)];}[_0x1112e6(0x45e)](){const _0x4a8f7c=_0x1112e6;this[_0x4a8f7c(0x3c4)](),super[_0x4a8f7c(0x45e)]();}[_0x1112e6(0x29c)](){const _0x4e8f98=_0x1112e6;this[_0x4e8f98(0x488)]||(this[_0x4e8f98(0x488)]=!0x0,this[_0x4e8f98(0x30a)][_0x4e8f98(0x363)][_0x4e8f98(0x4b2)]((0x0,_0x55e528[_0x4e8f98(0x3fe)])(this[_0x4e8f98(0x4c4)]))[_0x4e8f98(0x4ea)](_0x4e7e9b=>{const _0x34471c=_0x4e8f98;if(_0x4e7e9b===_0xd500a[_0x34471c(0x30e)]['ONLINE']){this[_0x34471c(0x3bd)]=!0x0;let _0x34bc40=this['_adapter'][_0x34471c(0x232)](this[_0x34471c(0x4d3)]);_0x34bc40&&this[_0x34471c(0x462)](_0x34bc40);return;}this[_0x34471c(0x3bd)]=!0x1,this[_0x34471c(0x3c4)]();}),this[_0x4e8f98(0x30a)]['event$'][_0x4e8f98(0x4b2)]((0x0,_0x55e528[_0x4e8f98(0x3fe)])(this[_0x4e8f98(0x4c4)]))[_0x4e8f98(0x4ea)](_0x2bfe1f=>{const _0x2b22fe=_0x4e8f98;_0x267243(_0x2bfe1f)?this[_0x2b22fe(0x3b8)](_0x2bfe1f):_0x51315a(_0x2bfe1f)&&this[_0x2b22fe(0x468)](_0x2bfe1f[_0x2b22fe(0x1fa)][_0x2b22fe(0x449)]);}),this['_adapter'][_0x4e8f98(0x45a)][_0x4e8f98(0x4b2)]((0x0,_0x55e528[_0x4e8f98(0x2c4)])(_0x47951b=>this[_0x4e8f98(0x3bd)]&&_0x47951b['unitId']===this[_0x4e8f98(0x4d3)]),(0x0,_0x55e528['throttle'])(_0x492597=>(0x0,_0x55e528[_0x4e8f98(0x38f)])(_0x492597['shareInterval']),{'leading':!0x0,'trailing':!0x0}),(0x0,_0x55e528[_0x4e8f98(0x3fe)])(this[_0x4e8f98(0x4c4)]))['subscribe'](_0x189fe9=>this[_0x4e8f98(0x462)](_0x189fe9)));}['_sendLocalPresence'](_0x1bb71f){const _0x59e314=_0x1112e6;let _0x408678=this['_session'][_0x59e314(0x28f)]();if(!_0x408678||!this[_0x59e314(0x3bd)])return;let _0x29f9bb={'eventID':_0x301412[_0x59e314(0x4ac)][_0x59e314(0x1da)],'data':{'unitID':this[_0x59e314(0x4d3)],'memberID':_0x408678,'selection':JSON[_0x59e314(0x22b)](_0x5b70cc(this[_0x59e314(0x2aa)],this[_0x59e314(0x1e4)]['presenceKind'],_0x1bb71f))}};this[_0x59e314(0x30a)][_0x59e314(0x1a4)](_0x29f9bb,this[_0x59e314(0x4d3)])[_0x59e314(0x223)](()=>void 0x0);}[_0x1112e6(0x3b8)](_0x1fbf0b){const _0x57d66f=_0x1112e6;let {memberID:_0xad2269,selection:_0x770235}=_0x1fbf0b[_0x57d66f(0x1fa)];if(_0xad2269===this[_0x57d66f(0x30a)][_0x57d66f(0x28f)]())return;let _0x28469=_0x10a1fb(_0x770235,this[_0x57d66f(0x2aa)]);if(!_0x28469||_0x28469[_0x57d66f(0x258)]!==this[_0x57d66f(0x1e4)][_0x57d66f(0x268)]||_0x28469[_0x57d66f(0x2aa)]!==this[_0x57d66f(0x2aa)]||_0x28469['unitId']!==this['unitId'])return;let _0x543e08=this[_0x57d66f(0x440)][_0x57d66f(0x2e4)](this[_0x57d66f(0x4d3)],_0xad2269),_0x76aacb={'unitId':_0x28469[_0x57d66f(0x4d3)],'subUnitId':_0x28469[_0x57d66f(0x2d2)],'selectedIds':_0x28469[_0x57d66f(0x1aa)],'focusedId':_0x28469['focusedId'],'pointer':_0x28469[_0x57d66f(0x4a7)],'memberId':_0xad2269,'color':this[_0x57d66f(0x4b9)][_0x57d66f(0x2c7)](_0xad2269),'name':(_0x543e08==null?void 0x0:_0x543e08[_0x57d66f(0x239)])??_0xad2269};this['_commandService'][_0x57d66f(0x311)](_0x56df47['id'],{'unitType':this[_0x57d66f(0x2aa)],'update':{'type':_0x57d66f(0x20e),'state':_0x76aacb}})[_0x57d66f(0x223)](()=>void 0x0);}[_0x1112e6(0x468)](_0x35dad3){const _0x1f5cfb=_0x1112e6;this['_commandService']['executeCommand'](_0x56df47['id'],{'unitType':this[_0x1f5cfb(0x2aa)],'update':{'type':_0x1f5cfb(0x28b),'unitId':this[_0x1f5cfb(0x4d3)],'memberId':_0x35dad3}})[_0x1f5cfb(0x223)](()=>void 0x0);}[_0x1112e6(0x3c4)](){const _0x901928=_0x1112e6;this[_0x901928(0x1de)][_0x901928(0x311)](_0x56df47['id'],{'unitType':this[_0x901928(0x2aa)],'update':{'type':_0x901928(0x490),'unitId':this[_0x901928(0x4d3)]}})[_0x901928(0x223)](()=>void 0x0);}};_0x25e152=_0x4398e9([_0xe2b27a(0x3,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x3b4dcd)),_0xe2b27a(0x4,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0xd500a[_0x1112e6(0x3da)])),_0xe2b27a(0x5,(0x0,_0x27aa99['Inject'])(_0x27aa99[_0x1112e6(0x41e)]))],_0x25e152);let _0x9840c5=class extends _0x27aa99['RxDisposable']{constructor(_0x5348e9,_0x526c19,_0x41dfe4,_0x4124ae){const _0x3ea6f5=_0x1112e6;super(),this[_0x3ea6f5(0x1d7)]=_0x5348e9,this['_injector']=_0x526c19,this['_collabSessionService']=_0x41dfe4,this[_0x3ea6f5(0x286)]=_0x4124ae,_0x10c934(this,_0x3ea6f5(0x49c),!0x1),_0x10c934(this,_0x3ea6f5(0x447),new Map()),_0x10c934(this,_0x3ea6f5(0x362),new Map()),_0x10c934(this,_0x3ea6f5(0x3ae),new Map()),this['_init']();}[_0x1112e6(0x45e)](){const _0x3d692a=_0x1112e6;this[_0x3d692a(0x49c)]=!0x0,this[_0x3d692a(0x3ae)]['forEach'](_0x499dc3=>_0x499dc3[_0x3d692a(0x45e)]()),this[_0x3d692a(0x3ae)][_0x3d692a(0x490)](),this[_0x3d692a(0x447)][_0x3d692a(0x356)](_0x384051=>_0x384051[_0x3d692a(0x45e)]()),this['_entities'][_0x3d692a(0x490)](),this[_0x3d692a(0x362)][_0x3d692a(0x490)](),super[_0x3d692a(0x45e)]();}[_0x1112e6(0x3d5)](){const _0x53d5c0=_0x1112e6;this[_0x53d5c0(0x286)][_0x53d5c0(0x1be)][_0x53d5c0(0x4b2)]((0x0,_0x55e528['takeUntil'])(this[_0x53d5c0(0x4c4)]))[_0x53d5c0(0x4ea)](_0x915af=>this[_0x53d5c0(0x1fd)](_0x915af));}[_0x1112e6(0x1fd)](_0x1d75b1){const _0x43a02a=_0x1112e6;let _0x1852a0=new Set(_0x1d75b1[_0x43a02a(0x212)](_0x519715=>_0x519715['unitType']));this[_0x43a02a(0x3ae)][_0x43a02a(0x356)]((_0x553aad,_0xe3cfd8)=>{const _0x2edf10=_0x43a02a;_0x1852a0[_0x2edf10(0x288)](_0xe3cfd8)||(_0x553aad[_0x2edf10(0x45e)](),this[_0x2edf10(0x3ae)]['delete'](_0xe3cfd8),this[_0x2edf10(0x3cd)](_0xe3cfd8));}),_0x1d75b1['forEach'](_0x59c4f4=>{const _0x456bb9=_0x43a02a;this[_0x456bb9(0x3ae)][_0x456bb9(0x288)](_0x59c4f4[_0x456bb9(0x2aa)])||this[_0x456bb9(0x437)](_0x59c4f4);});}[_0x1112e6(0x437)](_0x26e479){const _0x5514e3=_0x1112e6;let _0x2c7267=new _0x27aa99['DisposableCollection']();this[_0x5514e3(0x3ae)][_0x5514e3(0x20e)](_0x26e479[_0x5514e3(0x2aa)],_0x2c7267),_0x2c7267[_0x5514e3(0x415)](_0x26e479[_0x5514e3(0x1b3)]()),this['_univerInstanceService'][_0x5514e3(0x422)](_0x26e479[_0x5514e3(0x2aa)])[_0x5514e3(0x356)](_0x3b8a8f=>this[_0x5514e3(0x450)](_0x3b8a8f[_0x5514e3(0x3a1)](),_0x26e479)['catch'](()=>void 0x0));let _0x5546f9=this[_0x5514e3(0x1d7)][_0x5514e3(0x39a)](_0x26e479[_0x5514e3(0x2aa)])[_0x5514e3(0x4ea)](({unit:_0x4f1855})=>this['_startEntity'](_0x4f1855[_0x5514e3(0x3a1)](),_0x26e479)[_0x5514e3(0x223)](()=>void 0x0));_0x2c7267[_0x5514e3(0x415)]((0x0,_0x27aa99['toDisposable'])(()=>_0x5546f9[_0x5514e3(0x291)]()));let _0x248290=this[_0x5514e3(0x1d7)][_0x5514e3(0x458)](_0x26e479[_0x5514e3(0x2aa)])[_0x5514e3(0x4ea)](_0x48b2b0=>this[_0x5514e3(0x428)](_0x48b2b0[_0x5514e3(0x3a1)]()));_0x2c7267[_0x5514e3(0x415)]((0x0,_0x27aa99['toDisposable'])(()=>_0x248290['unsubscribe']()));}async[_0x1112e6(0x450)](_0x21b9d1,_0x3bc219){const _0x560c84=_0x1112e6;if(this[_0x560c84(0x447)][_0x560c84(0x288)](_0x21b9d1)||this[_0x560c84(0x362)][_0x560c84(0x288)](_0x21b9d1))return;let _0x4ef2cb={};this[_0x560c84(0x362)][_0x560c84(0x20e)](_0x21b9d1,_0x4ef2cb);let _0x1e7ce1=await this[_0x560c84(0x3f4)]['requireSession'](_0x21b9d1)[_0x560c84(0x223)](_0x51e8a4=>{const _0x31df3b=_0x560c84;throw this[_0x31df3b(0x362)][_0x31df3b(0x3a5)](_0x21b9d1)===_0x4ef2cb&&this[_0x31df3b(0x362)]['delete'](_0x21b9d1),_0x51e8a4;});if(this[_0x560c84(0x49c)]||this[_0x560c84(0x362)]['get'](_0x21b9d1)!==_0x4ef2cb||this['_adapterRegistry'][_0x560c84(0x3a5)](_0x3bc219[_0x560c84(0x2aa)])!==_0x3bc219){this[_0x560c84(0x362)][_0x560c84(0x3a5)](_0x21b9d1)===_0x4ef2cb&&this[_0x560c84(0x362)][_0x560c84(0x4d6)](_0x21b9d1);return;}let _0x2f853a=this[_0x560c84(0x26a)][_0x560c84(0x1cf)](_0x25e152,_0x21b9d1,_0x1e7ce1,_0x3bc219);_0x2f853a[_0x560c84(0x29c)](),this[_0x560c84(0x362)][_0x560c84(0x4d6)](_0x21b9d1),this[_0x560c84(0x447)]['set'](_0x21b9d1,_0x2f853a);}[_0x1112e6(0x428)](_0x28b816){const _0x55f700=_0x1112e6;this[_0x55f700(0x362)][_0x55f700(0x4d6)](_0x28b816);let _0x5dc7b7=this[_0x55f700(0x447)][_0x55f700(0x3a5)](_0x28b816);_0x5dc7b7&&(_0x5dc7b7[_0x55f700(0x45e)](),this['_entities'][_0x55f700(0x4d6)](_0x28b816));}[_0x1112e6(0x3cd)](_0x2caed6){const _0x298511=_0x1112e6;this[_0x298511(0x1d7)][_0x298511(0x422)](_0x2caed6)['forEach'](_0x41e809=>this[_0x298511(0x362)][_0x298511(0x4d6)](_0x41e809['getUnitId']())),Array[_0x298511(0x323)](this[_0x298511(0x447)][_0x298511(0x342)]())[_0x298511(0x356)](([_0x48b730,_0x3afc38])=>{_0x3afc38['unitType']===_0x2caed6&&this['_disposeEntity'](_0x48b730);});}};_0x9840c5=_0x4398e9([_0xe2b27a(0x0,_0x27aa99[_0x1112e6(0x4f2)]),_0xe2b27a(0x1,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x27aa99[_0x1112e6(0x306)])),_0xe2b27a(0x2,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0xd500a[_0x1112e6(0x39b)])),_0xe2b27a(0x3,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x3fd684[_0x1112e6(0x479)]))],_0x9840c5);let _0x5956c9=class extends _0x27aa99['Disposable']{constructor(_0x5e91cf,_0xab1c6d,_0x4542c4,_0x13fe98,_0x5e4977,_0x3ace56){const _0x5e2675=_0x1112e6;super(),this['_beforeCloseService']=_0x5e91cf,this[_0x5e2675(0x4a4)]=_0xab1c6d,this[_0x5e2675(0x21a)]=_0x4542c4,this[_0x5e2675(0x337)]=_0x13fe98,this['_notificationService']=_0x5e4977,this[_0x5e2675(0x403)]=_0x3ace56,this[_0x5e2675(0x283)](),this[_0x5e2675(0x1a5)]();}[_0x1112e6(0x283)](){const _0x2c36db=_0x1112e6;this[_0x2c36db(0x3b1)](this[_0x2c36db(0x4ed)]['registerBeforeClose'](()=>{const _0x21e192=_0x2c36db;if(this['_localCacheService'][_0x21e192(0x4c8)][_0x21e192(0x29f)])return this[_0x21e192(0x403)]['t'](_0x21e192(0x20f));}));}[_0x1112e6(0x1a5)](){const _0x5b5200=_0x1112e6;this[_0x5b5200(0x3b1)](this[_0x5b5200(0x21a)]['event$'][_0x5b5200(0x4ea)](_0x1fa8af=>{const _0x2aa0d8=_0x5b5200;_0x1fa8af['id']===_0xd500a[_0x2aa0d8(0x203)]['OTHER_CLIENT_EDITING']&&this[_0x2aa0d8(0x337)][_0x2aa0d8(0x3e2)]({'type':_0x510bc4[_0x2aa0d8(0x4d4)]['Warning'],'content':this[_0x2aa0d8(0x403)]['t'](_0x2aa0d8(0x307))}),_0x1fa8af['id']===_0xd500a[_0x2aa0d8(0x203)][_0x2aa0d8(0x408)]&&this[_0x2aa0d8(0x337)][_0x2aa0d8(0x3e2)]({'type':_0x510bc4['MessageType'][_0x2aa0d8(0x461)],'content':this['_localeService']['t'](_0x2aa0d8(0x3ca))}),_0x1fa8af['id']===_0xd500a[_0x2aa0d8(0x203)][_0x2aa0d8(0x410)]&&this[_0x2aa0d8(0x425)][_0x2aa0d8(0x3e2)]({'title':this[_0x2aa0d8(0x403)]['t'](_0x2aa0d8(0x1bc)),'content':this[_0x2aa0d8(0x403)]['t'](_0x2aa0d8(0x477)),'type':_0x2aa0d8(0x264),'duration':0x0}),_0x1fa8af['id']===_0xd500a['CollaborationUIEventId'][_0x2aa0d8(0x471)]&&this['_notificationService'][_0x2aa0d8(0x3e2)]({'title':this[_0x2aa0d8(0x403)]['t'](_0x2aa0d8(0x2e3)),'content':this[_0x2aa0d8(0x403)]['t']('collaboration-client-ui.conflict.content'),'type':'error','duration':0x0}),_0x1fa8af['id']===_0xd500a['CollaborationUIEventId']['JOIN_ROOM_FAILED']&&this[_0x2aa0d8(0x337)][_0x2aa0d8(0x3e2)]({'type':_0x510bc4[_0x2aa0d8(0x4d4)]['Warning'],'content':this['_localeService']['t'](_0x1fa8af[_0x2aa0d8(0x1fa)]||'')}),_0x1fa8af['id']===_0xd500a[_0x2aa0d8(0x203)][_0x2aa0d8(0x366)]&&this[_0x2aa0d8(0x337)][_0x2aa0d8(0x3e2)]({'type':_0x510bc4[_0x2aa0d8(0x4d4)][_0x2aa0d8(0x461)],'content':this[_0x2aa0d8(0x403)]['t'](_0x2aa0d8(0x256))}),_0x1fa8af['id']===_0xd500a[_0x2aa0d8(0x203)][_0x2aa0d8(0x2b9)]&&this[_0x2aa0d8(0x337)][_0x2aa0d8(0x3e2)]({'type':_0x510bc4['MessageType'][_0x2aa0d8(0x3e7)],'content':this['_localeService']['t']('collaboration-client-ui.session.connection-failed')}),_0x1fa8af['id']===_0xd500a[_0x2aa0d8(0x203)][_0x2aa0d8(0x35d)]&&this['_messageService'][_0x2aa0d8(0x3e2)]({'type':_0x510bc4[_0x2aa0d8(0x4d4)]['Error'],'content':this[_0x2aa0d8(0x403)]['t'](_0x2aa0d8(0x35c))});}));}};_0x5956c9=_0x4398e9([_0xe2b27a(0x0,_0x3fd684[_0x1112e6(0x213)]),_0xe2b27a(0x1,_0xd500a[_0x1112e6(0x1b1)]),_0xe2b27a(0x2,(0x0,_0x27aa99['Inject'])(_0xd500a['CollaborationUIEventService'])),_0xe2b27a(0x3,_0x3fd684[_0x1112e6(0x424)]),_0xe2b27a(0x4,_0x3fd684[_0x1112e6(0x361)]),_0xe2b27a(0x5,(0x0,_0x27aa99['Inject'])(_0x27aa99[_0x1112e6(0x211)]))],_0x5956c9);let _0x5c49b8=(0x0,_0x27aa99['createIdentifier'])('uni.network.url-service'),_0x5081d4=class extends _0x27aa99[_0x1112e6(0x280)]{constructor(_0x41312e,_0x5a98c5,_0x563e7f,_0x4a7733){const _0x5cc447=_0x1112e6;super(),this['_urlService']=_0x41312e,this['_logService']=_0x5a98c5,this[_0x5cc447(0x1de)]=_0x563e7f,this[_0x5cc447(0x388)]=_0x4a7733,this[_0x5cc447(0x3d5)]()[_0x5cc447(0x223)](_0x259656=>this[_0x5cc447(0x496)][_0x5cc447(0x264)]('[CollaborationDataLoaderController]',_0x259656));}async[_0x1112e6(0x3d5)](){const _0x364e20=_0x1112e6;let _0x21f11a=this[_0x364e20(0x2fa)][_0x364e20(0x49d)](_0x364e20(0x241)),_0x5aaa8a=this[_0x364e20(0x2fa)][_0x364e20(0x49d)](_0x364e20(0x23b)),_0x298ebf=this[_0x364e20(0x2fa)][_0x364e20(0x49d)](_0x364e20(0x4e6));if(!_0x21f11a||!_0x5aaa8a){this[_0x364e20(0x496)][_0x364e20(0x373)](_0x364e20(0x20b),_0x364e20(0x3ac));return;}let _0x2ac296=await this[_0x364e20(0x388)][_0x364e20(0x409)](_0x21f11a,Number(_0x5aaa8a),_0x298ebf);this[_0x364e20(0x269)]||_0x2ac296&&_0x2ac296 instanceof _0x27aa99['Workbook']&&await this[_0x364e20(0x313)](_0x2ac296);}async[_0x1112e6(0x313)](_0x2daf0f){const _0x30b9b7=_0x1112e6;await this[_0x30b9b7(0x2fb)](_0x2daf0f),!this['_disposed']&&(_0x2daf0f[_0x30b9b7(0x2b3)]['pipe']((0x0,_0x55e528[_0x30b9b7(0x3fe)])(this[_0x30b9b7(0x4c4)]))['subscribe'](_0x22fff9=>{const _0xec5041=_0x30b9b7;_0x22fff9&&this[_0xec5041(0x38e)](_0x22fff9);}),this[_0x30b9b7(0x2fa)]['urlChange$'][_0x30b9b7(0x4b2)]((0x0,_0x55e528['takeUntil'])(this[_0x30b9b7(0x4c4)]))[_0x30b9b7(0x4ea)](()=>{const _0x28a541=_0x30b9b7;this[_0x28a541(0x2fb)](_0x2daf0f)[_0x28a541(0x223)](_0x2bf421=>this['_logService']['error'](_0x28a541(0x20b),_0x2bf421));}));}[_0x1112e6(0x38e)](_0xab903c,_0x4e014c=!0x1){const _0x45a8f4=_0x1112e6;let _0x24b9de=this[_0x45a8f4(0x2fa)][_0x45a8f4(0x49d)](_0x45a8f4(0x4e6));_0xab903c[_0x45a8f4(0x47e)]()!==_0x24b9de&&this[_0x45a8f4(0x2fa)][_0x45a8f4(0x486)](_0x45a8f4(0x4e6),_0xab903c['getSheetId'](),_0x4e014c);}async[_0x1112e6(0x2fb)](_0x57f540){const _0x570cac=_0x1112e6;var _0xc29cc;let _0xeb5c04=this[_0x570cac(0x2fa)]['getParam'](_0x570cac(0x4e6));if(!_0xeb5c04||!_0x57f540[_0x570cac(0x2df)](_0xeb5c04)){let _0x19db7b=_0x57f540['getUnhiddenWorksheets']()[0x0],_0x283282=_0x57f540[_0x570cac(0x2df)](_0x19db7b);if(!_0x283282||(this[_0x570cac(0x38e)](_0x283282,!0x0),this[_0x570cac(0x269)]))return;await this['_commandService']['executeCommand'](_0x430826[_0x570cac(0x275)]['id'],{'unitId':_0x57f540['getUnitId'](),'subUnitId':_0x19db7b});return;}((_0xc29cc=_0x57f540['getActiveSheet']())==null?void 0x0:_0xc29cc[_0x570cac(0x47e)]())!==_0xeb5c04&&await this[_0x570cac(0x1de)]['executeCommand'](_0x430826[_0x570cac(0x275)]['id'],{'unitId':_0x57f540[_0x570cac(0x3a1)](),'subUnitId':_0xeb5c04});}};_0x5081d4=_0x4398e9([_0xe2b27a(0x0,_0x5c49b8),_0xe2b27a(0x1,_0x27aa99[_0x1112e6(0x285)]),_0xe2b27a(0x2,_0x27aa99['ICommandService']),_0xe2b27a(0x3,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0xd500a['DataLoaderService']))],_0x5081d4);let _0x22998d=class{constructor(_0x56cf95,_0x586ee9){const _0x10e82a=_0x1112e6;this[_0x10e82a(0x312)]=_0x56cf95,this[_0x10e82a(0x389)]=_0x586ee9;}[_0x1112e6(0x466)](_0x9197c4){const _0x3c0bdf=_0x1112e6;this[_0x3c0bdf(0x246)](_0x9197c4),this[_0x3c0bdf(0x48e)](_0x9197c4);}[_0x1112e6(0x4f8)](_0x2db8ec){const _0xa8aafe=_0x1112e6;let {unitID:_0x120107}=_0x2db8ec,{redoCache:_0x2645eb}=this[_0xa8aafe(0x389)][_0xa8aafe(0x206)](_0x120107)[_0xa8aafe(0x1f8)](_0x4a1268[_0xa8aafe(0x1e6)])['getUndoRedoMutationParamsCache']();if(_0x2645eb[_0xa8aafe(0x4e2)]===0x0)return _0x2db8ec;let _0x43ee4d=_0x27aa99[_0xa8aafe(0x4dd)]['deepClone'](_0x2db8ec[_0xa8aafe(0x4e1)][0x0]);for(let _0x991b9d=0x0;_0x991b9d<_0x2645eb[_0xa8aafe(0x4e2)];_0x991b9d++){let _0x39e5cc={'id':_0xa8aafe(0x4ee),'params':{..._0x2645eb[_0x991b9d]}},_0x368e97=this[_0xa8aafe(0x312)][_0xa8aafe(0x3e1)](_0x43ee4d,_0x39e5cc,!0x1);if((0x0,_0x301412[_0xa8aafe(0x325)])(_0x368e97))throw _0x368e97[_0xa8aafe(0x264)];_0x43ee4d=_0x368e97[_0xa8aafe(0x4d1)];}return{..._0x27aa99[_0xa8aafe(0x4dd)]['deepClone'](_0x2db8ec),'mutations':[_0x43ee4d]};}[_0x1112e6(0x246)](_0x272c73){const _0x4c66e1=_0x1112e6;let {unitID:_0x2d88c8}=_0x272c73,_0xb4493e=this[_0x4c66e1(0x389)][_0x4c66e1(0x206)](_0x2d88c8)['with'](_0x4a1268[_0x4c66e1(0x1e6)]),{undoCache:_0x2ea607,redoCache:_0x45723f}=_0xb4493e[_0x4c66e1(0x1b4)]();if(_0x2ea607[_0x4c66e1(0x4e2)]===0x0||_0x45723f[_0x4c66e1(0x4e2)]===0x0)return;let _0x155e7b=[],_0x11751d=[],_0x127f9e=_0x27aa99['Tools'][_0x4c66e1(0x46a)](_0x272c73[_0x4c66e1(0x4e1)][0x0]),_0x2b9a9d=_0x27aa99['Tools'][_0x4c66e1(0x46a)](_0x272c73[_0x4c66e1(0x4e1)][0x0]);for(let _0x2ba3cb=_0x2ea607['length']-0x1;_0x2ba3cb>=0x0;_0x2ba3cb--){let _0x171902={'id':_0x4c66e1(0x4ee),'params':{..._0x2ea607[_0x2ba3cb]}},_0x353adc={'id':_0x4c66e1(0x4ee),'params':{..._0x45723f[_0x2ba3cb]}},_0x468a2e=this['_transformService']['transformMutation'](_0x127f9e,_0x171902,!0x1),_0x291fad=this[_0x4c66e1(0x312)]['transformMutation'](_0x2b9a9d,_0x353adc,!0x1);if((0x0,_0x301412[_0x4c66e1(0x325)])(_0x468a2e))throw _0x468a2e[_0x4c66e1(0x264)];if((0x0,_0x301412['isTransformMutationFailure'])(_0x291fad))throw _0x291fad[_0x4c66e1(0x264)];_0x155e7b['unshift'](_0x468a2e[_0x4c66e1(0x3ff)][_0x4c66e1(0x274)]),_0x11751d[_0x4c66e1(0x1bf)](_0x291fad['m2Prime']['params']),_0x127f9e=_0x468a2e['m1Prime'],_0x2b9a9d=_0x291fad[_0x4c66e1(0x4d1)];}_0xb4493e[_0x4c66e1(0x2f4)]({'undoCache':_0x155e7b,'redoCache':_0x11751d});}[_0x1112e6(0x48e)](_0x5b0651){const _0xf66a76=_0x1112e6;let {unitID:_0x3ed0f2}=_0x5b0651,_0x434fe0=this[_0xf66a76(0x389)]['getRenderUnitById'](_0x3ed0f2)['with'](_0x4a1268[_0xf66a76(0x1e6)]),_0x4b111e=_0x434fe0['getActiveRange']();if(_0x4b111e==null)return;let _0x44a2c2=[{'id':_0xf66a76(0x4ee),'params':{'unitId':_0x5b0651[_0xf66a76(0x2ef)],'actions':null,'textRanges':[_0x4b111e]}}],_0x4020f4=this[_0xf66a76(0x312)][_0xf66a76(0x1ad)](_0x5b0651,_0x44a2c2);if(!(0x0,_0x301412[_0xf66a76(0x1f2)])(_0x4020f4))throw _0x4020f4['error'];let _0x4e3c8b=_0x4020f4['m2Prime'][0x0][_0xf66a76(0x274)][_0xf66a76(0x1e7)];Array['isArray'](_0x4e3c8b)&&_0x4e3c8b[_0xf66a76(0x4e2)]&&_0x434fe0['setActiveRange'](_0x4e3c8b[0x0]);}};_0x22998d=_0x4398e9([_0xe2b27a(0x0,_0x301412[_0x1112e6(0x444)]),_0xe2b27a(0x1,_0x558eeb[_0x1112e6(0x43f)])],_0x22998d);let _0x91aecd=class{constructor(_0x13bc3b,_0x181903,_0x177734){const _0x3932c9=_0x1112e6;this['_injector']=_0x13bc3b,this[_0x3932c9(0x312)]=_0x181903,this[_0x3932c9(0x2f3)]=_0x177734;}[_0x1112e6(0x438)](_0x6a009f){const _0x35ee9b=_0x1112e6;this[_0x35ee9b(0x459)](_0x6a009f);}[_0x1112e6(0x4f8)](_0x1098b3){const _0x3340bc=_0x1112e6;let {unitID:_0xd2c341}=_0x1098b3,{collaboration:_0x3920af}=this[_0x3340bc(0x2f3)][_0x3340bc(0x266)](_0xd2c341);if(_0x3920af[_0x3340bc(0x4e2)]===0x0)return _0x1098b3;let _0x43962b=_0x27aa99['Tools'][_0x3340bc(0x46a)](_0x1098b3[_0x3340bc(0x4e1)][0x0]);for(let _0x3269f4=0x0;_0x3269f4<_0x3920af[_0x3340bc(0x4e2)];_0x3269f4++){let _0x176871={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3920af[_0x3269f4][_0x3340bc(0x4d3)],..._0x3920af[_0x3269f4]['redoState']}},_0x525a52=this[_0x3340bc(0x312)][_0x3340bc(0x3e1)](_0x43962b,_0x176871,!0x1);if((0x0,_0x301412[_0x3340bc(0x325)])(_0x525a52))throw _0x525a52['error'];_0x43962b=_0x525a52[_0x3340bc(0x4d1)];}return{..._0x27aa99[_0x3340bc(0x4dd)][_0x3340bc(0x46a)](_0x1098b3),'mutations':[_0x43962b]};}[_0x1112e6(0x459)](_0x59ce25){const _0x516fe9=_0x1112e6;let {unitID:_0xf6715c}=_0x59ce25,{history:_0x2b2e13,collaboration:_0x53886f}=this[_0x516fe9(0x2f3)][_0x516fe9(0x266)](_0xf6715c);if(_0x2b2e13[_0x516fe9(0x4e2)]===0x0&&_0x53886f[_0x516fe9(0x4e2)]===0x0)return;let _0x2443c4=[],_0x599a4a=[],_0x380954=_0x27aa99['Tools'][_0x516fe9(0x46a)](_0x59ce25[_0x516fe9(0x4e1)][0x0]),_0x4d6805=_0x27aa99[_0x516fe9(0x4dd)][_0x516fe9(0x46a)](_0x59ce25['mutations'][0x0]);for(let _0x5dfb70=_0x2b2e13[_0x516fe9(0x4e2)]-0x1;_0x5dfb70>=0x0;_0x5dfb70--){let _0x3e707e={'id':_0x516fe9(0x4ee),'params':{'unitId':_0x2b2e13[_0x5dfb70]['unitId'],..._0x2b2e13[_0x5dfb70][_0x516fe9(0x4be)]}},_0x71d387={'id':_0x516fe9(0x4ee),'params':{'unitId':_0x2b2e13[_0x5dfb70]['unitId'],..._0x2b2e13[_0x5dfb70][_0x516fe9(0x1fc)]}},_0x56821a=this[_0x516fe9(0x312)][_0x516fe9(0x3e1)](_0x380954,_0x3e707e,!0x1),_0x26b08c=this[_0x516fe9(0x312)][_0x516fe9(0x3e1)](_0x4d6805,_0x71d387,!0x1);if((0x0,_0x301412[_0x516fe9(0x325)])(_0x56821a))throw _0x56821a[_0x516fe9(0x264)];if((0x0,_0x301412['isTransformMutationFailure'])(_0x26b08c))throw _0x26b08c['error'];_0x2443c4[_0x516fe9(0x1bf)]({..._0x2b2e13[_0x5dfb70],'undoState':_0x56821a[_0x516fe9(0x3ff)]['params'],'redoState':_0x26b08c['m2Prime'][_0x516fe9(0x274)]}),_0x380954=_0x56821a[_0x516fe9(0x4d1)],_0x4d6805=_0x26b08c['m1Prime'];}_0x380954=_0x27aa99[_0x516fe9(0x4dd)][_0x516fe9(0x46a)](_0x59ce25[_0x516fe9(0x4e1)][0x0]),_0x4d6805=_0x27aa99[_0x516fe9(0x4dd)][_0x516fe9(0x46a)](_0x59ce25[_0x516fe9(0x4e1)][0x0]);for(let _0x3815d4=_0x53886f[_0x516fe9(0x4e2)]-0x1;_0x3815d4>=0x0;_0x3815d4--){let _0xe48bae={'id':_0x516fe9(0x4ee),'params':{'unitId':_0x53886f[_0x3815d4]['unitId'],..._0x53886f[_0x3815d4][_0x516fe9(0x4be)]}},_0x55fef5={'id':_0x516fe9(0x4ee),'params':{'unitId':_0x53886f[_0x3815d4][_0x516fe9(0x4d3)],..._0x53886f[_0x3815d4][_0x516fe9(0x1fc)]}},_0x2156f7=this[_0x516fe9(0x312)]['transformMutation'](_0x380954,_0xe48bae,!0x1),_0x958ba1=this[_0x516fe9(0x312)][_0x516fe9(0x3e1)](_0x4d6805,_0x55fef5,!0x1);if((0x0,_0x301412[_0x516fe9(0x325)])(_0x2156f7))throw _0x2156f7['error'];if((0x0,_0x301412[_0x516fe9(0x325)])(_0x958ba1))throw _0x958ba1[_0x516fe9(0x264)];_0x599a4a['unshift']({..._0x53886f[_0x3815d4],'undoState':_0x2156f7[_0x516fe9(0x3ff)][_0x516fe9(0x274)],'redoState':_0x958ba1[_0x516fe9(0x3ff)][_0x516fe9(0x274)]}),_0x380954=_0x2156f7['m1Prime'],_0x4d6805=_0x958ba1[_0x516fe9(0x4d1)];}this[_0x516fe9(0x2f3)][_0x516fe9(0x36f)](_0xf6715c,{'history':_0x2443c4,'collaboration':_0x599a4a});}};_0x91aecd=_0x4398e9([_0xe2b27a(0x0,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x27aa99[_0x1112e6(0x306)])),_0xe2b27a(0x1,_0x301412[_0x1112e6(0x444)]),_0xe2b27a(0x2,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x53a4ba[_0x1112e6(0x300)]))],_0x91aecd);let _0x4b07c8=class{constructor(_0x53b546,_0x1fc6a3){const _0x26b7fa=_0x1112e6;this[_0x26b7fa(0x2f7)]=_0x53b546,this[_0x26b7fa(0x312)]=_0x1fc6a3;}[_0x1112e6(0x365)](_0x5b8479){const _0x4b9034=_0x1112e6;var _0x5cf386;let _0x6c982b=this[_0x4b9034(0x2f7)][_0x4b9034(0x4a9)]()??[],_0x334c15=this[_0x4b9034(0x2f7)]['getSelectionInfo']();if(_0x6c982b[_0x4b9034(0x4e2)]===0x0)return;let _0x20d31b=_0x5b8479[_0x4b9034(0x2ef)],_0x20369d=[{'id':_0x4b9034(0x4ee),'params':{'unitId':_0x20d31b,'actions':null,'textRanges':_0x6c982b}}],_0x4166e8=this[_0x4b9034(0x312)][_0x4b9034(0x1ad)](_0x5b8479,_0x20369d);if(!(0x0,_0x301412[_0x4b9034(0x1f2)])(_0x4166e8))throw _0x4166e8['error'];let _0x3464de=(_0x5cf386=_0x4166e8[_0x4b9034(0x3ff)][0x0])==null?void 0x0:_0x5cf386[_0x4b9034(0x274)],_0x4d9516=_0x3464de&&typeof _0x3464de==_0x4b9034(0x482)&&_0x4b9034(0x1e7)in _0x3464de?_0x3464de[_0x4b9034(0x1e7)]:null;if(!_0x35291a(_0x4d9516))return;let _0x357f98=_0x5b8479[_0x4b9034(0x4e1)]['some'](_0x43700d=>_0x4e890d(_0x43700d[_0x4b9034(0x274)]))?_0x4d9516==null?void 0x0:_0x4d9516[_0x4b9034(0x2c4)](_0x2eea6a=>!(_0x4b9034(0x3b5)in _0x2eea6a)):_0x4d9516;Array[_0x4b9034(0x421)](_0x357f98)&&this['_docSelectionManagerService'][_0x4b9034(0x1c5)](_0x357f98,{'unitId':_0x20d31b,'subUnitId':_0x20d31b},!0x1,_0x334c15!=null&&_0x334c15[_0x4b9034(0x1ec)]?{..._0x334c15[_0x4b9034(0x1ec)],'wholeDocument':!0x1}:void 0x0);}};_0x4b07c8=_0x4398e9([_0xe2b27a(0x0,(0x0,_0x27aa99['Inject'])(_0x53a4ba[_0x1112e6(0x2f8)])),_0xe2b27a(0x1,_0x301412[_0x1112e6(0x444)])],_0x4b07c8);function _0x35291a(_0x489e52){const _0x3e4f88=_0x1112e6;return Array[_0x3e4f88(0x421)](_0x489e52)&&_0x489e52['every'](_0x499b3c=>typeof _0x499b3c==_0x3e4f88(0x482)&&!!_0x499b3c&&_0x3e4f88(0x4de)in _0x499b3c&&_0x3e4f88(0x2d0)in _0x499b3c);}function _0x4e890d(_0x3caf44){const _0x5ae89e=_0x1112e6;return _0x3caf44===_0x5ae89e(0x2f9)?!0x0:Array[_0x5ae89e(0x421)](_0x3caf44)?_0x3caf44[_0x5ae89e(0x21c)](_0xbfc62e=>_0x4e890d(_0xbfc62e)):!_0x3caf44||typeof _0x3caf44!=_0x5ae89e(0x482)?!0x1:Object[_0x5ae89e(0x243)](_0x3caf44)[_0x5ae89e(0x21c)](_0x2c2d59=>_0x4e890d(_0x2c2d59));}let _0x108cb6=class extends _0x27aa99[_0x1112e6(0x1d6)]{constructor(_0x523891,_0x3a13f9,_0x1dff01,_0xbffdf2,_0x59e14e,_0x345e73,_0x172a71){const _0x31c028=_0x1112e6;super(),this[_0x31c028(0x36e)]=_0x523891,this[_0x31c028(0x1c2)]=_0x3a13f9,this[_0x31c028(0x1fb)]=_0x1dff01,this[_0x31c028(0x38d)]=_0xbffdf2,this['_docSyncEditingCollabCursorService']=_0x59e14e,this[_0x31c028(0x337)]=_0x345e73,this[_0x31c028(0x403)]=_0x172a71,_0x10c934(this,_0x31c028(0x257),new _0x55e528[(_0x31c028(0x357))](_0xd500a[_0x31c028(0x4e3)][_0x31c028(0x1e1)])),this[_0x31c028(0x3d0)]();}['_initEntityListener'](){const _0x26d2a6=_0x1112e6;this[_0x26d2a6(0x3b1)](this[_0x26d2a6(0x36e)][_0x26d2a6(0x3d9)][_0x26d2a6(0x4ea)](_0x46a86b=>{const _0x554e6f=_0x26d2a6;_0x46a86b instanceof _0xd500a[_0x554e6f(0x29d)]&&_0x46a86b[_0x554e6f(0x29e)]({'onTransformIME':_0x345179=>this['_docTransformIMECacheService'][_0x554e6f(0x466)](_0x345179),'onTransformState':_0x477c80=>this[_0x554e6f(0x1fb)][_0x554e6f(0x438)](_0x477c80),'onTransformSelections':_0x4c42de=>this[_0x554e6f(0x38d)][_0x554e6f(0x365)](_0x4c42de),'onSyncEditingCollabCursor':_0x13e2f4=>this[_0x554e6f(0x364)][_0x554e6f(0x25c)](_0x13e2f4),'onTransformRemoteChangesetByIMECache':_0x2ef1b9=>this['_docTransformIMECacheService'][_0x554e6f(0x4f8)](_0x2ef1b9),'onTransformRemoteChangesetByStateCache':_0x1a527f=>this[_0x554e6f(0x1fb)]['transformRemoteChangeset'](_0x1a527f)});}));}};_0x108cb6=_0x4398e9([_0xe2b27a(0x0,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0xd500a['CollaborationController'])),_0xe2b27a(0x1,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x22998d)),_0xe2b27a(0x2,(0x0,_0x27aa99['Inject'])(_0x91aecd)),_0xe2b27a(0x3,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x4b07c8)),_0xe2b27a(0x4,(0x0,_0x27aa99['Inject'])(_0x2c9ee8)),_0xe2b27a(0x5,_0x3fd684[_0x1112e6(0x424)]),_0xe2b27a(0x6,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x27aa99[_0x1112e6(0x211)]))],_0x108cb6);let _0x3e9241=class extends _0x27aa99[_0x1112e6(0x1d6)]{constructor(_0x512be7,_0x3f48d4,_0x4ce6b1,_0x8fea3f){const _0x22de98=_0x1112e6;super(),this[_0x22de98(0x26a)]=_0x512be7,this[_0x22de98(0x456)]=_0x3f48d4,this['_logService']=_0x4ce6b1,this[_0x22de98(0x431)]=_0x8fea3f,_0x10c934(this,'_memberID',void 0x0),this[_0x22de98(0x3d5)]();}[_0x1112e6(0x3d5)](){const _0x23b2f4=_0x1112e6;this[_0x23b2f4(0x2a5)](),this['_initUnhandledRejectionListener'](),this[_0x23b2f4(0x39d)](),this[_0x23b2f4(0x3a8)]();}[_0x1112e6(0x3a8)](){const _0x5f3fc6=_0x1112e6;this[_0x5f3fc6(0x3b1)](this[_0x5f3fc6(0x431)][_0x5f3fc6(0x3c9)][_0x5f3fc6(0x4ea)](_0x5efdc4=>{const _0x1abd06=_0x5f3fc6;this['_memberID']=_0x5efdc4==null?void 0x0:_0x5efdc4[_0x1abd06(0x449)];}));}[_0x1112e6(0x2a5)](){const _0x5e79f1=_0x1112e6;let _0x5d0ed0=_0x168cdc=>{const _0x448bca=_0x32ca;var _0x58e22e;this['_uploadLog'](_0x448bca(0x264),_0x448bca(0x1a9)+_0x168cdc[_0x448bca(0x4ce)]+_0x448bca(0x21f)+_0x168cdc[_0x448bca(0x217)]+':'+_0x168cdc[_0x448bca(0x310)]+':'+_0x168cdc[_0x448bca(0x350)]+'\x0a'+(((_0x58e22e=_0x168cdc[_0x448bca(0x264)])==null?void 0x0:_0x58e22e['stack'])||''));};window['addEventListener'](_0x5e79f1(0x264),_0x5d0ed0),this[_0x5e79f1(0x3b1)](()=>{const _0x5b0829=_0x5e79f1;window[_0x5b0829(0x394)](_0x5b0829(0x264),_0x5d0ed0);});}[_0x1112e6(0x42e)](){const _0x3e46d6=_0x1112e6;let _0x34398a=_0x5d2263=>{const _0x4928a4=_0x32ca;this[_0x4928a4(0x1fe)](_0x4928a4(0x264),_0x4928a4(0x2c2)+_0x5d2263['reason']);};window[_0x3e46d6(0x465)](_0x3e46d6(0x1f7),_0x34398a),this['disposeWithMe'](()=>{window['removeEventListener']('unhandledrejection',_0x34398a);});}[_0x1112e6(0x39d)](){const _0x4a1c2c=_0x1112e6;let _0x46e9a7=this['_logService'][_0x4a1c2c(0x264)]['bind'](this[_0x4a1c2c(0x496)]);this[_0x4a1c2c(0x496)][_0x4a1c2c(0x264)]=(..._0xbc2d4a)=>{const _0x2217ff=_0x4a1c2c;let _0xab3080=_0xbc2d4a['map'](_0x3e5fd1=>_0x3e5fd1 instanceof Error?_0x3e5fd1[_0x2217ff(0x4ce)]+'\x0a'+_0x3e5fd1[_0x2217ff(0x2ad)]:String(_0x3e5fd1))[_0x2217ff(0x4c7)]('\x20');this['_uploadLog']('error','[LogService\x20Error]:\x20'+_0xab3080),_0x46e9a7(..._0xbc2d4a);},this[_0x4a1c2c(0x3b1)](()=>{const _0x27e205=_0x4a1c2c;this['_logService'][_0x27e205(0x264)]=_0x46e9a7;});}[_0x1112e6(0x1fe)](_0x2a86e2,_0x46734b){const _0x484a05=_0x1112e6;try{let _0x591465={'userId':this[_0x484a05(0x42a)],'logLabel':_0x2a86e2,'content':_0x46734b};this['_httpService'][_0x484a05(0x1ce)](_0x484a05(0x340),{'body':_0x591465})[_0x484a05(0x223)](()=>{});}catch{}}};_0x3e9241=_0x4398e9([_0xe2b27a(0x0,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x27aa99[_0x1112e6(0x306)])),_0xe2b27a(0x1,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x31266a[_0x1112e6(0x3dc)])),_0xe2b27a(0x2,_0x27aa99[_0x1112e6(0x285)]),_0xe2b27a(0x3,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0xd500a[_0x1112e6(0x39b)]))],_0x3e9241);function _0x242126({state$:_0x35d9d3}){const _0x554685=_0x1112e6;let _0x45e754=(0x0,_0x3fd684[_0x554685(0x215)])(_0x35d9d3,null,!0x0);return _0x45e754?(0x0,_0x5dfcdc[_0x554685(0x469)])(_0x554685(0x44a),{'data-u-comp':'snapshot-loading-timeout','role':_0x554685(0x385),'className':_0x554685(0x344),'children':[(0x0,_0x5dfcdc['jsx'])(_0x30300c,{'className':_0x554685(0x1ed)}),(0x0,_0x5dfcdc[_0x554685(0x3c2)])(_0x554685(0x378),{'children':_0x45e754[_0x554685(0x30b)]}),(0x0,_0x5dfcdc[_0x554685(0x3c2)])(_0x510bc4[_0x554685(0x369)],{'size':_0x554685(0x36c),'variant':_0x554685(0x4ab),'onClick':()=>window['location'][_0x554685(0x412)](),'children':_0x45e754['refreshLabel']})]}):null;}let _0x58d11c='snapshot-loading-',_0x2f770c=class extends _0x27aa99[_0x1112e6(0x1d6)]{constructor(_0x1cd4a2,_0x2472c0,_0x526e24,_0x392792,_0xc72bc9,_0x4a9272){const _0x1e1a53=_0x1112e6;super(),this['_snapshotLoadingService']=_0x1cd4a2,this[_0x1e1a53(0x337)]=_0x2472c0,this['_localeService']=_0x526e24,this[_0x1e1a53(0x26a)]=_0x392792,this[_0x1e1a53(0x2fa)]=_0x4a9272,_0x10c934(this,_0x1e1a53(0x27b),new _0x55e528[(_0x1e1a53(0x357))](null)),_0x10c934(this,_0x1e1a53(0x3c7),new Set()),_0x10c934(this,'_blockProgressWatches',new Map()),_0x10c934(this,'_latestStates',new Map()),_0x10c934(this,_0x1e1a53(0x4b3),this[_0x1e1a53(0x27b)]['asObservable']());let _0x2dacd8=()=>(0x0,_0x190cc0[_0x1e1a53(0x414)])(_0x242126,{'state$':this['timeoutState$']});this[_0x1e1a53(0x3b1)](_0xc72bc9[_0x1e1a53(0x25d)](_0x3fd684[_0x1e1a53(0x429)][_0x1e1a53(0x295)],()=>(0x0,_0x3fd684[_0x1e1a53(0x1a0)])(_0x2dacd8,this[_0x1e1a53(0x26a)]))),this['disposeWithMe'](this[_0x1e1a53(0x384)][_0x1e1a53(0x3db)][_0x1e1a53(0x4ea)](_0x1bab17=>{const _0x3d28b0=_0x1e1a53;this[_0x3d28b0(0x2e6)]=_0x1bab17,_0x1bab17[_0x3d28b0(0x356)](_0x1d5d7a=>this[_0x3d28b0(0x4f5)](_0x1d5d7a));})),this[_0x1e1a53(0x3b1)](this['_urlService'][_0x1e1a53(0x3ef)][_0x1e1a53(0x4ea)](()=>{const _0x52ab68=_0x1e1a53;this[_0x52ab68(0x2e6)][_0x52ab68(0x356)](_0x516ef4=>this[_0x52ab68(0x4f5)](_0x516ef4));}));}[_0x1112e6(0x45e)](){const _0x782ac2=_0x1112e6;this[_0x782ac2(0x3c7)][_0x782ac2(0x356)](_0x3e719b=>this[_0x782ac2(0x337)][_0x782ac2(0x28b)](_0x3e719b)),this['_messageIds'][_0x782ac2(0x490)](),this[_0x782ac2(0x301)][_0x782ac2(0x356)](({timeoutId:_0x37bfbb})=>clearTimeout(_0x37bfbb)),this[_0x782ac2(0x301)][_0x782ac2(0x490)](),this[_0x782ac2(0x27b)][_0x782ac2(0x405)](),super[_0x782ac2(0x45e)]();}['_updateMessage'](_0xe5f670){const _0x313cb8=_0x1112e6;let _0x2f6e9f=''+_0x58d11c+_0xe5f670[_0x313cb8(0x4d3)];if(_0xe5f670[_0x313cb8(0x4e8)]===_0x301412[_0x313cb8(0x19e)][_0x313cb8(0x427)]){this[_0x313cb8(0x1a3)](_0xe5f670[_0x313cb8(0x4d3)]),this[_0x313cb8(0x2fd)](_0xe5f670['unitId']),this[_0x313cb8(0x337)]['remove'](_0x2f6e9f),this[_0x313cb8(0x3c7)]['delete'](_0x2f6e9f);return;}if(!this[_0x313cb8(0x32b)](_0xe5f670[_0x313cb8(0x4d3)])){this['_clearBlockProgressWatch'](_0xe5f670[_0x313cb8(0x4d3)]),this[_0x313cb8(0x2fd)](_0xe5f670[_0x313cb8(0x4d3)]),this[_0x313cb8(0x337)][_0x313cb8(0x28b)](_0x2f6e9f),this[_0x313cb8(0x3c7)]['delete'](_0x2f6e9f);return;}if(_0xe5f670[_0x313cb8(0x4e8)]===_0x301412[_0x313cb8(0x19e)][_0x313cb8(0x299)]){this[_0x313cb8(0x1a3)](_0xe5f670[_0x313cb8(0x4d3)]),this['_clearTimeoutState'](_0xe5f670[_0x313cb8(0x4d3)]),this[_0x313cb8(0x337)][_0x313cb8(0x3e2)]({'id':_0x2f6e9f,'type':_0x510bc4[_0x313cb8(0x4d4)][_0x313cb8(0x3e7)],'content':this[_0x313cb8(0x403)]['t']('collaboration-client-ui.session.connection-failed')}),this[_0x313cb8(0x3c7)][_0x313cb8(0x4d6)](_0x2f6e9f);return;}if(_0xe5f670[_0x313cb8(0x4e8)]!==_0x301412[_0x313cb8(0x19e)]['LOADING_BLOCKS']||_0xe5f670[_0x313cb8(0x483)]<=0xa){this[_0x313cb8(0x1a3)](_0xe5f670[_0x313cb8(0x4d3)]),this['_messageService'][_0x313cb8(0x28b)](_0x2f6e9f),this['_messageIds'][_0x313cb8(0x4d6)](_0x2f6e9f);return;}this[_0x313cb8(0x49b)](_0xe5f670)||(this[_0x313cb8(0x337)][_0x313cb8(0x3e2)]({'id':_0x2f6e9f,'type':_0x510bc4[_0x313cb8(0x4d4)][_0x313cb8(0x379)],'duration':0x1/0x0,'content':this['_localeService']['t'](_0x313cb8(0x273))+'\x20'+_0xe5f670[_0x313cb8(0x37e)]+'/'+_0xe5f670[_0x313cb8(0x483)]}),this[_0x313cb8(0x3c7)][_0x313cb8(0x415)](_0x2f6e9f));}[_0x1112e6(0x49b)](_0x2c2663){const _0x16009a=_0x1112e6;let _0x21e63c=this[_0x16009a(0x301)][_0x16009a(0x3a5)](_0x2c2663['unitId']);if((_0x21e63c==null?void 0x0:_0x21e63c[_0x16009a(0x37e)])===_0x2c2663[_0x16009a(0x37e)])return _0x21e63c[_0x16009a(0x3de)];this['_clearBlockProgressWatch'](_0x2c2663[_0x16009a(0x4d3)]);let _0x562584=setTimeout(()=>{const _0x7b9e33=_0x16009a;let _0x2cd966=this['_blockProgressWatches'][_0x7b9e33(0x3a5)](_0x2c2663[_0x7b9e33(0x4d3)]);if(!_0x2cd966||_0x2cd966[_0x7b9e33(0x21b)]!==_0x562584)return;_0x2cd966[_0x7b9e33(0x3de)]=!0x0;let _0x727872=''+_0x58d11c+_0x2c2663[_0x7b9e33(0x4d3)];this[_0x7b9e33(0x337)]['remove'](_0x727872),this[_0x7b9e33(0x3c7)][_0x7b9e33(0x4d6)](_0x727872),this[_0x7b9e33(0x27b)]['next']({'unitId':_0x2c2663['unitId'],'content':this[_0x7b9e33(0x403)]['t'](_0x7b9e33(0x2a9),String(_0x2c2663[_0x7b9e33(0x37e)]),String(_0x2c2663['totalBlocks'])),'refreshLabel':this[_0x7b9e33(0x403)]['t'](_0x7b9e33(0x493))});},0xea60);return this['_blockProgressWatches'][_0x16009a(0x20e)](_0x2c2663['unitId'],{'loadedBlocks':_0x2c2663[_0x16009a(0x37e)],'timedOut':!0x1,'timeoutId':_0x562584}),!0x1;}[_0x1112e6(0x1a3)](_0x54e6bc){const _0x366013=_0x1112e6;let _0x3b0ba0=this[_0x366013(0x301)]['get'](_0x54e6bc);_0x3b0ba0&&(clearTimeout(_0x3b0ba0[_0x366013(0x21b)]),this[_0x366013(0x301)]['delete'](_0x54e6bc),this['_clearTimeoutState'](_0x54e6bc));}[_0x1112e6(0x2fd)](_0x531334){const _0x3145c0=_0x1112e6;var _0x4d2004;((_0x4d2004=this[_0x3145c0(0x27b)]['value'])==null?void 0x0:_0x4d2004[_0x3145c0(0x4d3)])===_0x531334&&this[_0x3145c0(0x27b)][_0x3145c0(0x3cb)](null);}['_isVisibleUnit'](_0x46da95){const _0x2690ea=_0x1112e6;let _0x27425a=this[_0x2690ea(0x2fa)][_0x2690ea(0x49d)]('unit');return!_0x27425a||_0x27425a===_0x46da95;}};_0x2f770c=_0x4398e9([_0xe2b27a(0x0,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x301412[_0x1112e6(0x39c)])),_0xe2b27a(0x1,_0x3fd684['IMessageService']),_0xe2b27a(0x2,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x27aa99['LocaleService'])),_0xe2b27a(0x3,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x27aa99[_0x1112e6(0x306)])),_0xe2b27a(0x4,_0x3fd684[_0x1112e6(0x4d5)]),_0xe2b27a(0x5,_0x5c49b8)],_0x2f770c);function _0x513933(_0x3b545a){const _0x5c2c4c=_0x1112e6;var _0x44e3b6,_0xccb1b3;let _0x1c0fee=(_0x44e3b6=_0x3b545a['stageInfo'])==null?void 0x0:_0x44e3b6[_0x5c2c4c(0x4e8)],_0x31a61c=((_0xccb1b3=_0x3b545a['stageInfo'])==null?void 0x0:_0xccb1b3[_0x5c2c4c(0x1a6)])||0x0;return _0x1c0fee===_0x385246[_0x5c2c4c(0x19f)][_0x5c2c4c(0x2ff)]&&_0x31a61c>0x0;}function _0x39a5ac(_0x205ce4){const _0x5b1a8f=_0x1112e6;return _0x205ce4[_0x5b1a8f(0x45b)]===_0x385246[_0x5b1a8f(0x2af)][_0x5b1a8f(0x44d)];}let _0x444344=class extends _0x27aa99['Disposable']{constructor(_0x36def6,_0x5ada35,_0x505817,_0x3d9da3,_0x3ab493,_0x5be940,_0x7dc975){const _0x4e6536=_0x1112e6;super(),this[_0x4e6536(0x337)]=_0x36def6,this['_commandService']=_0x5ada35,this[_0x4e6536(0x454)]=_0x505817,this[_0x4e6536(0x456)]=_0x3d9da3,this[_0x4e6536(0x1d7)]=_0x3ab493,this[_0x4e6536(0x496)]=_0x5be940,this[_0x4e6536(0x403)]=_0x7dc975,_0x10c934(this,_0x4e6536(0x433),null),_0x10c934(this,_0x4e6536(0x1e3),0x0),_0x10c934(this,'_currentUsage',0x0),_0x10c934(this,'_taskIds',[]),_0x10c934(this,'_lastResponseTimestamp',0x0),this['_initCommandInterceptor']();}[_0x1112e6(0x4ae)](){const _0x148e3a=_0x1112e6;this[_0x148e3a(0x3b1)](this[_0x148e3a(0x1de)][_0x148e3a(0x4b6)]((_0x2d99e5,_0x432202)=>{const _0x35ddfc=_0x148e3a;if(_0x2d99e5['id']!==_0x385246[_0x35ddfc(0x355)]['id'])return;let _0x328535=_0x2d99e5[_0x35ddfc(0x274)];if(this[_0x35ddfc(0x4bf)](_0x328535[_0x35ddfc(0x446)]??[])&&!this[_0x35ddfc(0x338)]())throw this[_0x35ddfc(0x230)](_0x2d99e5,_0x432202),this[_0x35ddfc(0x1bb)](),new _0x27aa99['CanceledError']();})),this['disposeWithMe'](this[_0x148e3a(0x1de)]['onCommandExecuted']((_0x37074e,_0x89c374)=>{const _0x27c33e=_0x148e3a;if(_0x37074e['id']!==_0x385246[_0x27c33e(0x3af)]['id'])return;let _0x3928b2=_0x37074e[_0x27c33e(0x274)];if(_0x513933(_0x3928b2)){let _0xaea2b5=(0x0,_0x27aa99['generateRandomId'])();this['_taskIds']['push'](_0xaea2b5),this[_0x27c33e(0x3f7)](_0xaea2b5);}else{if(_0x39a5ac(_0x3928b2)&&this['_taskIds'][_0x27c33e(0x4e2)]>0x0){let _0x1e8a3d=this[_0x27c33e(0x396)][_0x27c33e(0x42b)]();this[_0x27c33e(0x391)](_0x1e8a3d);}}}));}[_0x1112e6(0x45e)](){const _0xeca95b=_0x1112e6;super[_0xeca95b(0x45e)](),this['_clearPolling'](),this[_0xeca95b(0x396)]=[],this[_0xeca95b(0x1d3)]=0x0,this['_maxFormulaLimit']=0x0,this[_0xeca95b(0x464)]=0x0;}async[_0x1112e6(0x230)](_0x899b73,_0x579218){const _0x3fd926=_0x1112e6;for(let _0x33a119=0x0;_0x33a119<0x1e;_0x33a119++)try{if(await this['_getFormulaLimitStatus'](),this[_0x3fd926(0x338)]()){this[_0x3fd926(0x1ac)](_0x899b73,_0x579218),this[_0x3fd926(0x337)][_0x3fd926(0x3e2)]({'content':this[_0x3fd926(0x403)]['t'](_0x3fd926(0x3a4)),'type':_0x510bc4[_0x3fd926(0x4d4)][_0x3fd926(0x3e0)]});return;}await new Promise(_0x11f3fb=>{const _0x48cb24=_0x3fd926;this[_0x48cb24(0x433)]=window[_0x48cb24(0x290)](_0x11f3fb,0x3e8);});}catch(_0x5d1d25){this[_0x3fd926(0x496)]['error'](_0x5d1d25);}this['_messageService']['show']({'content':this['_localeService']['t'](_0x3fd926(0x39e)),'type':_0x510bc4[_0x3fd926(0x4d4)][_0x3fd926(0x3e7)]});}['_applyCommand'](_0x526d86,_0x5ccc96){const _0x286a81=_0x1112e6;try{this['_commandService'][_0x286a81(0x311)](_0x526d86['id'],_0x526d86[_0x286a81(0x274)],_0x5ccc96);}catch(_0x17b504){this[_0x286a81(0x496)][_0x286a81(0x264)](_0x17b504);}}[_0x1112e6(0x26b)](_0x5c7141,_0x1353ba){const _0x3cfac9=_0x1112e6;_0x1353ba<this[_0x3cfac9(0x464)]||(this[_0x3cfac9(0x464)]=_0x1353ba,this[_0x3cfac9(0x1e3)]=Number[_0x3cfac9(0x237)](_0x5c7141[_0x3cfac9(0x40b)]),this[_0x3cfac9(0x1d3)]=Number['parseInt'](_0x5c7141[_0x3cfac9(0x4af)]));}async[_0x1112e6(0x3f7)](_0x32a176){const _0x4eab1b=_0x1112e6;let _0x1834b8=Date[_0x4eab1b(0x2c8)]();try{var _0x4b3c71,_0x5344bd;let _0xa6dfba=((_0x4b3c71=this[_0x4eab1b(0x454)][_0x4eab1b(0x404)](_0xd500a['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x4b3c71[_0x4eab1b(0x1c3)])||_0x4eab1b(0x220),_0x44dae3=(await this[_0x4eab1b(0x456)][_0x4eab1b(0x1ce)](_0xa6dfba,{'body':JSON[_0x4eab1b(0x22b)]({'taskId':_0x32a176})}))[_0x4eab1b(0x1f4)];if(((_0x5344bd=_0x44dae3[_0x4eab1b(0x264)])==null?void 0x0:_0x5344bd['code'])!==_0x22da53['ErrorCode']['OK'])return;this[_0x4eab1b(0x26b)](_0x44dae3[_0x4eab1b(0x393)],_0x1834b8);}catch(_0xd658c5){this[_0x4eab1b(0x496)]['error'](_0xd658c5);}}async[_0x1112e6(0x302)](_0x5bf7af){const _0x50413f=_0x1112e6;let _0x4e0277=Date[_0x50413f(0x2c8)]();try{var _0x14c4fc,_0x1dc19b;let _0x3a5f6c=((_0x14c4fc=this[_0x50413f(0x454)][_0x50413f(0x404)](_0xd500a[_0x50413f(0x3ba)]))==null?void 0x0:_0x14c4fc[_0x50413f(0x487)])||'/universer-api/license/formula/limit/status',_0x5e6fec=_0x5bf7af?_0x3a5f6c+_0x50413f(0x332)+encodeURIComponent(_0x5bf7af):_0x3a5f6c,_0x5897e4=(await this[_0x50413f(0x456)][_0x50413f(0x3a5)](_0x5e6fec))[_0x50413f(0x1f4)];if(((_0x1dc19b=_0x5897e4['error'])==null?void 0x0:_0x1dc19b[_0x50413f(0x263)])!==_0x22da53['ErrorCode']['OK'])return;this[_0x50413f(0x26b)](_0x5897e4[_0x50413f(0x393)],_0x4e0277);}catch(_0x432374){this['_logService']['error'](_0x432374);}}async[_0x1112e6(0x391)](_0x11db65){const _0x1a8e50=_0x1112e6;let _0x5a289d=Date[_0x1a8e50(0x2c8)]();try{var _0x582cc6,_0x46f5ac;let _0x1ba515=((_0x582cc6=this[_0x1a8e50(0x454)]['getConfig'](_0xd500a['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x582cc6[_0x1a8e50(0x484)])||_0x1a8e50(0x3f2),_0x56321e=(await this[_0x1a8e50(0x456)][_0x1a8e50(0x1ce)](_0x1ba515,{'body':JSON[_0x1a8e50(0x22b)]({'taskId':_0x11db65})}))[_0x1a8e50(0x1f4)];if(((_0x46f5ac=_0x56321e[_0x1a8e50(0x264)])==null?void 0x0:_0x46f5ac['code'])!==_0x22da53['ErrorCode']['OK'])return;this[_0x1a8e50(0x26b)](_0x56321e[_0x1a8e50(0x393)],_0x5a289d);}catch(_0xa88173){this[_0x1a8e50(0x496)]['error'](_0xa88173);}}[_0x1112e6(0x338)](){const _0x4f3649=_0x1112e6;return this[_0x4f3649(0x1e3)]===0x0||this['_maxFormulaLimit']-this[_0x4f3649(0x1d3)]>0x0;}['_clearPolling'](){const _0x632991=_0x1112e6;this[_0x632991(0x433)]&&=(clearTimeout(this[_0x632991(0x433)]),null);}['_showGuardMessage'](){const _0x3f6671=_0x1112e6;this[_0x3f6671(0x337)][_0x3f6671(0x3e2)]({'content':this[_0x3f6671(0x403)]['t']('collaboration-client-ui.formula.calculation.waiting'),'type':_0x510bc4[_0x3f6671(0x4d4)][_0x3f6671(0x379)]});}[_0x1112e6(0x4bf)](_0x593560){const _0x402d98=_0x1112e6;for(let _0x56bddf of _0x593560){let {unitId:_0x379711,sheetId:_0x3eef84,range:_0xe33aed}=_0x56bddf,_0x17700e=this[_0x402d98(0x1d7)][_0x402d98(0x26d)](_0x379711,_0x27aa99[_0x402d98(0x374)]['UNIVER_SHEET']);if(!_0x17700e)continue;let _0x559370=_0x17700e[_0x402d98(0x2df)](_0x3eef84);if(!_0x559370)continue;let _0x4a7516=_0x559370[_0x402d98(0x2d6)]();for(let _0x4d494f=_0xe33aed[_0x402d98(0x4da)];_0x4d494f<=_0xe33aed[_0x402d98(0x253)];_0x4d494f++)for(let _0x3ee63f=_0xe33aed[_0x402d98(0x320)];_0x3ee63f<=_0xe33aed[_0x402d98(0x23f)];_0x3ee63f++){let _0x274187=_0x4a7516[_0x402d98(0x353)](_0x4d494f,_0x3ee63f);if(_0x274187&&((0x0,_0x27aa99[_0x402d98(0x4d0)])(_0x274187['f'])||(0x0,_0x27aa99[_0x402d98(0x321)])(_0x274187['si'])))return!0x0;}}return!0x1;}};_0x444344=_0x4398e9([_0xe2b27a(0x0,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x3fd684['IMessageService'])),_0xe2b27a(0x1,_0x27aa99['ICommandService']),_0xe2b27a(0x2,_0x27aa99[_0x1112e6(0x4cc)]),_0xe2b27a(0x3,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x31266a[_0x1112e6(0x3dc)])),_0xe2b27a(0x4,_0x27aa99[_0x1112e6(0x4f2)]),_0xe2b27a(0x5,_0x27aa99['ILogService']),_0xe2b27a(0x6,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x27aa99[_0x1112e6(0x211)]))],_0x444344);let _0x498b7a=class extends _0x27aa99[_0x1112e6(0x1d6)]{constructor(_0x2a6b05,_0x94f353,_0x3fd8c8){const _0x3058b2=_0x1112e6;super(),this[_0x3058b2(0x454)]=_0x2a6b05,this[_0x3058b2(0x4cf)]=_0x94f353,this[_0x3058b2(0x28a)]=_0x3fd8c8,_0x10c934(this,_0x3058b2(0x2be),new Map()),_0x10c934(this,_0x3058b2(0x4b5),new Map()),_0x10c934(this,'_disabled',!0x1);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x1112e6(0x2ce)](){const _0x2b9415=_0x1112e6;this[_0x2b9415(0x276)]=!0x1;}get[_0x1112e6(0x4c8)](){const _0x5e78f2=_0x1112e6;return this[_0x5e78f2(0x4b5)];}[_0x1112e6(0x45e)](){const _0x2f6880=_0x1112e6;this[_0x2f6880(0x251)]()[_0x2f6880(0x45f)](()=>super[_0x2f6880(0x45e)]());}async[_0x1112e6(0x231)](_0x4b10ff){const _0x49067f=_0x1112e6;return this[_0x49067f(0x276)]?null:this[_0x49067f(0x4cf)][_0x49067f(0x49a)]((0x0,_0xd500a[_0x49067f(0x371)])(_0x4b10ff));}async[_0x1112e6(0x1c7)](_0x5ed9d7,_0x559a3c){const _0xc35c7d=_0x1112e6;return!!this['_localStorageService'][_0xc35c7d(0x29b)]((0x0,_0xd500a[_0xc35c7d(0x371)])(_0x5ed9d7),_0x559a3c);}async[_0x1112e6(0x2e1)](_0x26f15f,_0x511afb){const _0xeb0bcc=_0x1112e6;let _0x1733b5=this['_cachedData'][_0xeb0bcc(0x3a5)](_0x26f15f)??await this[_0xeb0bcc(0x4cf)][_0xeb0bcc(0x49a)]((0x0,_0xd500a['getLocalCacheKey'])(_0x26f15f));if(!_0x1733b5)return;let _0x49d416=Date[_0xeb0bcc(0x2c8)](),_0x4d70e8=new Date(_0x49d416)[_0xeb0bcc(0x1b7)]();await this['_localStorageService'][_0xeb0bcc(0x29b)]((0x0,_0xd500a[_0xeb0bcc(0x371)])(_0x26f15f)+_0xeb0bcc(0x1ab)+_0x49d416,{'reason':_0x511afb,'createdAt':_0x4d70e8,'data':_0x1733b5});}[_0x1112e6(0x4f6)](_0x939c26,_0x1cbbf4,_0x20b15c,_0x127139){const _0x3fcf28=_0x1112e6;let _0x342819=this[_0x3fcf28(0x28a)][_0x3fcf28(0x472)](_0x939c26);this[_0x3fcf28(0x2be)][_0x3fcf28(0x20e)](_0x939c26,{'unitID':_0x939c26,'type':_0x1cbbf4,'awaitingChangeset':_0x20b15c,'mutations':_0x127139,'rev':_0x342819}),this[_0x3fcf28(0x4b5)][_0x3fcf28(0x288)](_0x939c26)||this[_0x3fcf28(0x406)](_0x939c26);}[_0x1112e6(0x406)](_0x371ed6){const _0x1cd008=_0x1112e6;let _0x184a6c=this[_0x1cd008(0x235)]();_0x184a6c===0x0?this[_0x1cd008(0x38a)](_0x371ed6):this[_0x1cd008(0x4b5)][_0x1cd008(0x20e)](_0x371ed6,window[_0x1cd008(0x290)](()=>this[_0x1cd008(0x38a)](_0x371ed6),_0x184a6c));}['_getSaveTimeout'](){const _0x9d4165=_0x1112e6;return this[_0x9d4165(0x454)][_0x9d4165(0x404)](_0xd500a['LOCAL_CACHE_INTERVAL_KEY'])??_0xd500a[_0x9d4165(0x38c)];}[_0x1112e6(0x38a)](_0x37cf8d){const _0x3e83da=_0x1112e6;let _0x4b3fc4=this[_0x3e83da(0x4b5)][_0x3e83da(0x3a5)](_0x37cf8d);return _0x4b3fc4!==void 0x0&&window[_0x3e83da(0x348)](_0x4b3fc4),this[_0x3e83da(0x4cf)]['setItem']((0x0,_0xd500a[_0x3e83da(0x371)])(_0x37cf8d),this[_0x3e83da(0x2be)][_0x3e83da(0x3a5)](_0x37cf8d))[_0x3e83da(0x45f)](()=>this[_0x3e83da(0x4b5)][_0x3e83da(0x4d6)](_0x37cf8d));}async[_0x1112e6(0x251)](){const _0x453bd1=_0x1112e6;let _0x5ae572=[];this['_saveTaskMap'][_0x453bd1(0x356)]((_0x19ee5b,_0x14214d)=>{const _0x496923=_0x453bd1;window['clearTimeout'](_0x19ee5b),_0x5ae572[_0x496923(0x367)](this['_saveCache'](_0x14214d)['then'](()=>{const _0x55a55d=_0x496923;this['_saveTaskMap'][_0x55a55d(0x4d6)](_0x14214d);}));}),await Promise[_0x453bd1(0x36b)](_0x5ae572);}};_0x498b7a=_0x4398e9([_0xe2b27a(0x0,_0x27aa99[_0x1112e6(0x4cc)]),_0xe2b27a(0x1,_0x27aa99[_0x1112e6(0x4db)]),_0xe2b27a(0x2,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x301412[_0x1112e6(0x2d1)]))],_0x498b7a);var _0x598853=class extends _0x27aa99['RxDisposable']{constructor(){const _0x27c6d6=_0x1112e6;super(),_0x10c934(this,_0x27c6d6(0x3ef),void 0x0),this[_0x27c6d6(0x3ef)]=(0x0,_0x55e528[_0x27c6d6(0x210)])(window,_0x27c6d6(0x3a7))[_0x27c6d6(0x4b2)]((0x0,_0x55e528['takeUntil'])(this['dispose$']),(0x0,_0x55e528[_0x27c6d6(0x47a)])({'bufferSize':0x1,'refCount':!0x0}),(0x0,_0x55e528[_0x27c6d6(0x2fe)])(void 0x0));}['setParam'](_0x1e20e3,_0x8411b,_0x1653bd=!0x1){const _0x100e46=_0x1112e6;let _0x50bda5=new URL(window[_0x100e46(0x426)][_0x100e46(0x2b4)]);_0x50bda5['searchParams']['set'](_0x1e20e3,_0x8411b),_0x1653bd?window[_0x100e46(0x4b0)][_0x100e46(0x36d)]('','',_0x50bda5['toString']()):window[_0x100e46(0x4b0)][_0x100e46(0x48d)]('','',_0x50bda5[_0x100e46(0x3a0)]());}[_0x1112e6(0x2f6)](_0x24d3c0,_0x2548b7=!0x1){const _0x2fd592=_0x1112e6;let _0x3d22cd=new URL(window['location'][_0x2fd592(0x2b4)]);_0x3d22cd[_0x2fd592(0x4df)][_0x2fd592(0x4d6)](_0x24d3c0),_0x2548b7?window['history'][_0x2fd592(0x36d)]('','',_0x3d22cd[_0x2fd592(0x3a0)]()):window[_0x2fd592(0x4b0)][_0x2fd592(0x48d)]('','',_0x3d22cd['toString']());}[_0x1112e6(0x49d)](_0x4a24a3){const _0xf345c9=_0x1112e6;return new URL(window[_0xf345c9(0x426)][_0xf345c9(0x2b4)])['searchParams'][_0xf345c9(0x3a5)](_0x4a24a3)??void 0x0;}};let _0x646df=class extends _0x27aa99[_0x1112e6(0x439)]{constructor(_0x58fc85=_0x264656,_0x57cc86,_0x5088ec,_0x5f329c,_0x57759b){const _0x45ca88=_0x1112e6;super(),this['_config']=_0x58fc85,this['_renderManagerService']=_0x57cc86,this['_injector']=_0x5088ec,this[_0x45ca88(0x454)]=_0x5f329c,this[_0x45ca88(0x1de)]=_0x57759b;let {..._0x39b30c}=(0x0,_0x27aa99['merge'])({},_0x264656,this['_config']);this[_0x45ca88(0x454)]['setConfig'](_0x45ca88(0x44b),_0x39b30c);}[_0x1112e6(0x2a0)](){const _0x2bd48e=_0x1112e6;this['_registerDependencies'](),this['disposeWithMe'](this[_0x2bd48e(0x1de)][_0x2bd48e(0x3ce)](_0x56df47)),this[_0x2bd48e(0x3fd)]();}[_0x1112e6(0x228)](){this['_registerRenderDependencies']();}[_0x1112e6(0x328)](){const _0x4e1426=_0x1112e6;var _0x583b45;let _0x4ee340=[[_0x3b4dcd],[_0x444344],[_0x5c49b8,{'useClass':_0x598853}],[_0x31266a[_0x4e1426(0x478)],{'useClass':_0x31266a[_0x4e1426(0x398)]}],[_0xd500a[_0x4e1426(0x1b1)],{'useClass':_0x498b7a}],[_0x263f39],[_0x5956c9],[_0x177b31],[_0x9840c5],[_0x5081d4],[_0x2f770c]];this[_0x4e1426(0x3fc)]['enableDocumentCollaborationUI']!==!0x1&&_0x4ee340[_0x4e1426(0x367)]([_0x4b07c8],[_0x22998d],[_0x91aecd],[_0x2c9ee8],[_0x108cb6],[_0x4969f7]),this[_0x4e1426(0x3fc)][_0x4e1426(0x432)]&&_0x4ee340['push']([_0x3e9241]),(0x0,_0x27aa99['registerDependencies'])(this[_0x4e1426(0x26a)],(0x0,_0x27aa99[_0x4e1426(0x345)])(_0x4ee340,(_0x583b45=this['_config'])==null?void 0x0:_0x583b45[_0x4e1426(0x34a)]));}[_0x1112e6(0x3ea)](){const _0xbaae96=_0x1112e6;this[_0xbaae96(0x3fc)]['enableDocumentCollaborationUI']!==!0x1&&this[_0xbaae96(0x3b1)](this['_renderManagerService'][_0xbaae96(0x4f9)](_0x27aa99[_0xbaae96(0x374)][_0xbaae96(0x309)],[_0x22a566])),this[_0xbaae96(0x3b1)](this['_renderManagerService'][_0xbaae96(0x4f9)](_0x27aa99['UniverInstanceType'][_0xbaae96(0x3be)],[_0x2848b3]));}['_initDependencies'](){const _0x526834=_0x1112e6;(0x0,_0x27aa99[_0x526834(0x4e7)])(this[_0x526834(0x26a)],[[_0x177b31],[_0x9840c5],[_0x263f39],[_0x5956c9],[_0x5081d4],[_0x444344],[_0x2f770c]]),this[_0x526834(0x3fc)][_0x526834(0x43c)]!==!0x1&&(0x0,_0x27aa99['touchDependencies'])(this['_injector'],[[_0x108cb6],[_0x4969f7]]),this['_config'][_0x526834(0x432)]&&(0x0,_0x27aa99['touchDependencies'])(this['_injector'],[[_0x3e9241]]);}};_0x10c934(_0x646df,_0x1112e6(0x22c),'UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN'),_0x10c934(_0x646df,'packageName',_0x530aad),_0x10c934(_0x646df,_0x1112e6(0x372),_0x576df5),_0x646df=_0x4398e9([(0x0,_0x27aa99[_0x1112e6(0x319)])(_0x71ce52[_0x1112e6(0x3c1)],_0x53a4ba[_0x1112e6(0x2e5)],_0x558eeb['UniverRenderEnginePlugin'],_0x31266a[_0x1112e6(0x3f5)],_0x301412[_0x1112e6(0x4ad)],_0x4a1268[_0x1112e6(0x418)],_0xd500a[_0x1112e6(0x49e)]),_0xe2b27a(0x1,_0x558eeb[_0x1112e6(0x43f)]),_0xe2b27a(0x2,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x27aa99[_0x1112e6(0x306)])),_0xe2b27a(0x3,_0x27aa99[_0x1112e6(0x4cc)]),_0xe2b27a(0x4,_0x27aa99['ICommandService'])],_0x646df);let _0xe85373=class extends _0xd500a[_0x1112e6(0x1db)]{constructor(_0x2b7663,_0x7c13be,_0x2267b5,_0x59ae98,_0x2c2bd6){super(_0x2b7663,_0x7c13be,_0x2267b5,_0x59ae98,_0x2c2bd6);}async[_0x1112e6(0x2e9)](_0x2026e0){const _0xd1455f=_0x1112e6;let _0x57c5fe=await this[_0xd1455f(0x1d2)](),_0x276411=this[_0xd1455f(0x23e)](_0x2026e0,_0x57c5fe);return this[_0xd1455f(0x25b)](_0x276411);}[_0x1112e6(0x23e)](_0x24b5a2,_0x23d5cc){const _0x5acf79=_0x1112e6;let _0x535676=typeof window>'u'?new URL(_0x24b5a2):new URL(_0x24b5a2,window['location'][_0x5acf79(0x3bb)]);_0x535676[_0x5acf79(0x4df)][_0x5acf79(0x20e)](_0x5acf79(0x382),_0x23d5cc);let _0x33b6b7=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5acf79(0x426)][_0x5acf79(0x4bb)]);return _0x33b6b7[_0x5acf79(0x3a5)](_0x5acf79(0x423))&&_0x535676[_0x5acf79(0x4df)][_0x5acf79(0x20e)](_0x5acf79(0x423),_0x33b6b7[_0x5acf79(0x3a5)](_0x5acf79(0x423))),_0x535676[_0x5acf79(0x3a0)]();}async[_0x1112e6(0x1d2)](){const _0x30b4f9=_0x1112e6;var _0x1d23bf;let _0x35e08e=this[_0x30b4f9(0x454)][_0x30b4f9(0x404)](_0xd500a[_0x30b4f9(0x3ba)]),_0x27dc83=(_0x35e08e==null?void 0x0:_0x35e08e[_0x30b4f9(0x259)])??_0xd500a[_0x30b4f9(0x329)];return((_0x1d23bf=(await this[_0x30b4f9(0x456)]['get'](_0x27dc83,{'headers':{'Content-Type':_0x30b4f9(0x1dc)}}))['body'])==null?void 0x0:_0x1d23bf[_0x30b4f9(0x33b)])??'';}};_0xe85373=_0x4398e9([_0xe2b27a(0x0,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x27aa99[_0x1112e6(0x306)])),_0xe2b27a(0x1,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x31266a['HTTPService'])),_0xe2b27a(0x2,_0x27aa99[_0x1112e6(0x4cc)]),_0xe2b27a(0x3,_0x27aa99[_0x1112e6(0x285)]),_0xe2b27a(0x4,_0x301412['ISnapshotServerService'])],_0xe85373);let _0x3bd567=class extends _0x27aa99[_0x1112e6(0x1d6)]{constructor(_0x5ab486,_0xdff29d,_0x5660b0){const _0x44a74c=_0x1112e6;super(),this['_instanceService']=_0x5ab486,this[_0x44a74c(0x456)]=_0xdff29d,this[_0x44a74c(0x454)]=_0x5660b0;}async['runOnServer'](_0x475b90,_0x10c47d,_0x5d7a1c,..._0x24ee95){const _0x1cf582=_0x1112e6;let _0x297715=this['_instanceService'][_0x1cf582(0x4b8)]();if(!_0x297715)throw Error(_0x1cf582(0x262));let _0x15470b=(this[_0x1cf582(0x454)][_0x1cf582(0x404)](_0xd500a[_0x1cf582(0x2b6)])??_0xd500a[_0x1cf582(0x305)])+'/'+_0x475b90+_0x1cf582(0x375)+_0x10c47d,_0x290bd4={'scriptId':_0x475b90,'runId':new URL(window[_0x1cf582(0x426)][_0x1cf582(0x2b4)])[_0x1cf582(0x4df)][_0x1cf582(0x3a5)]('runId')??'','function':_0x10c47d,'unitId':_0x297715['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x24ee95),'invokeId':_0x5d7a1c[_0x1cf582(0x390)]??'','executionId':_0x5d7a1c['executionId']??''};try{let _0x51e715=await this[_0x1cf582(0x456)][_0x1cf582(0x1ce)](_0x15470b,{'body':_0x290bd4});return _0x51e715[_0x1cf582(0x1f4)][_0x1cf582(0x264)]&&_0x51e715[_0x1cf582(0x1f4)][_0x1cf582(0x264)][_0x1cf582(0x263)]!==_0x22da53['ErrorCode']['OK']?_0x1cf582(0x498):_0x51e715[_0x1cf582(0x1f4)][_0x1cf582(0x413)];}catch{return _0x1cf582(0x498);}}};_0x3bd567=_0x4398e9([_0xe2b27a(0x0,_0x27aa99['IUniverInstanceService']),_0xe2b27a(0x1,(0x0,_0x27aa99[_0x1112e6(0x46f)])(_0x31266a[_0x1112e6(0x3dc)])),_0xe2b27a(0x2,_0x27aa99[_0x1112e6(0x4cc)])],_0x3bd567);let _0x13ba59=0x7530,_0x5105b6=_0x1112e6(0x358);var _0x553725=class extends _0x27aa99[_0x1112e6(0x1d6)]{constructor(){const _0x3f32bc=_0x1112e6;super(),_0x10c934(this,_0x3f32bc(0x24f),(0x0,_0x27aa99[_0x3f32bc(0x1ea)])()),_0x10c934(this,_0x3f32bc(0x3e5),new Set()),_0x10c934(this,_0x3f32bc(0x3b2),new Map()),_0x10c934(this,_0x3f32bc(0x3d6),null),_0x10c934(this,_0x3f32bc(0x2e2),new Map()),_0x10c934(this,_0x3f32bc(0x2c5),new Map()),this[_0x3f32bc(0x3d5)]();}['dispose'](){const _0x208b71=_0x1112e6;super['dispose'](),this[_0x208b71(0x2e2)][_0x208b71(0x356)]((_0x871931,_0x45cf4e)=>this[_0x208b71(0x247)](_0x45cf4e)),this[_0x208b71(0x3d6)]&&window['clearInterval'](this[_0x208b71(0x3d6)]);}[_0x1112e6(0x37d)](_0x4b8145){const _0x673291=_0x1112e6;return this['_ensureSubject'](_0x4b8145)[_0x673291(0x4b2)]((0x0,_0x55e528[_0x673291(0x441)])());}[_0x1112e6(0x27f)](_0x424bf4){const _0x432c7a=_0x1112e6;this[_0x432c7a(0x3e5)][_0x432c7a(0x29f)]===0x0&&this[_0x432c7a(0x2d5)](),this[_0x432c7a(0x3e5)][_0x432c7a(0x415)](_0x424bf4),this[_0x432c7a(0x1bd)]({'type':0x0,'memberID':this[_0x432c7a(0x24f)],'unitIDs':[_0x424bf4],'isForwarded':!0x1});}[_0x1112e6(0x45d)](_0x515f28){const _0x2eddb7=_0x1112e6;this['_selfUnitIDs']['delete'](_0x515f28),this[_0x2eddb7(0x3e5)][_0x2eddb7(0x29f)]===0x0&&this[_0x2eddb7(0x3d6)]&&window[_0x2eddb7(0x434)](this[_0x2eddb7(0x3d6)]);}[_0x1112e6(0x3d5)](){const _0x184447=_0x1112e6;this[_0x184447(0x3b1)]((0x0,_0x27aa99[_0x184447(0x3f1)])((0x0,_0x55e528[_0x184447(0x210)])(window,_0x184447(0x293))[_0x184447(0x4ea)](_0x35a68e=>{const _0x4dcc5c=_0x184447;if(_0x35a68e[_0x4dcc5c(0x1e5)]!==_0x5105b6||!_0x35a68e[_0x4dcc5c(0x1b5)])return;let _0x4203a6=JSON['parse'](_0x35a68e['newValue']);this['_handleEvent'](_0x4203a6);}))),window[_0x184447(0x465)](_0x184447(0x3a6),()=>this[_0x184447(0x1bd)]({'type':0x1,'memberID':this[_0x184447(0x24f)],'unitIDs':Array['from'](this[_0x184447(0x3e5)])}));}[_0x1112e6(0x37b)](_0x178a79){const _0x2b6831=_0x1112e6;switch(_0x178a79['type']){case 0x0:this[_0x2b6831(0x343)](_0x178a79);break;case 0x1:this[_0x2b6831(0x35a)](_0x178a79);break;case 0x2:this[_0x2b6831(0x397)](_0x178a79);break;}}['_handleJoinEvent'](_0x12074c){const _0x3daafc=_0x1112e6;let {unitIDs:_0x31e7fe,memberID:_0x315f69,isForwarded:_0x4aa6b9}=_0x12074c;_0x31e7fe[_0x3daafc(0x356)](_0x4c7562=>{const _0x156ccc=_0x3daafc;if(!_0x4aa6b9&&this[_0x156ccc(0x3b2)][_0x156ccc(0x288)](_0x4c7562)&&this[_0x156ccc(0x3bc)](_0x4c7562)[_0x156ccc(0x3cb)](_0xd500a[_0x156ccc(0x21e)][_0x156ccc(0x2c3)]),!this['_unitOnClients'][_0x156ccc(0x288)](_0x4c7562)||!this[_0x156ccc(0x3b2)]['get'](_0x4c7562)[_0x156ccc(0x288)](_0x315f69)){let _0x1e0c5e=this[_0x156ccc(0x3b2)][_0x156ccc(0x3a5)](_0x4c7562)||new Set();_0x1e0c5e[_0x156ccc(0x415)](_0x315f69),this[_0x156ccc(0x3b2)][_0x156ccc(0x20e)](_0x4c7562,_0x1e0c5e),this[_0x156ccc(0x308)](_0x315f69);}}),_0x4aa6b9||this[_0x3daafc(0x1bd)]({'type':0x0,'memberID':this[_0x3daafc(0x24f)],'unitIDs':[...this[_0x3daafc(0x3e5)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x4ae828){const _0x3f26f4=_0x1112e6;this[_0x3f26f4(0x247)](_0x4ae828);let _0x3d6662=window[_0x3f26f4(0x290)](()=>{const _0x59e79b=_0x3f26f4;this[_0x59e79b(0x3b2)][_0x59e79b(0x356)](_0x2bdb92=>{_0x2bdb92['delete'](_0x4ae828);});},_0x13ba59*0x2);this[_0x3f26f4(0x2e2)]['set'](_0x4ae828,_0x3d6662);}[_0x1112e6(0x247)](_0x26f6aa){const _0x10b465=_0x1112e6;if(this[_0x10b465(0x2e2)][_0x10b465(0x288)](_0x26f6aa)){let _0x1d609b=this[_0x10b465(0x2e2)]['get'](_0x26f6aa);_0x1d609b&&window[_0x10b465(0x348)](_0x1d609b),this[_0x10b465(0x2e2)][_0x10b465(0x20e)](_0x26f6aa,null);}}[_0x1112e6(0x35a)](_0x4967ff){const _0x5c2234=_0x1112e6;let {memberID:_0x10660b,unitIDs:_0x58ba01}=_0x4967ff;_0x58ba01[_0x5c2234(0x356)](_0x1e8f66=>{const _0x4ece62=_0x5c2234;var _0xf4c41e;let _0x298563=this[_0x4ece62(0x3b2)]['get'](_0x1e8f66);_0x298563&&(_0x298563['delete'](_0x10660b),(_0xf4c41e=this[_0x4ece62(0x3bc)](_0x1e8f66))==null||_0xf4c41e[_0x4ece62(0x3cb)](_0x298563[_0x4ece62(0x29f)]===0x0?_0xd500a[_0x4ece62(0x21e)][_0x4ece62(0x254)]:_0xd500a['UnitStatus']['OTHER_CLIENTS_EDITING']));}),this[_0x5c2234(0x247)](_0x10660b);}[_0x1112e6(0x397)](_0x400d64){this['_scheduleClearOtherTimer'](_0x400d64['memberID']);}[_0x1112e6(0x1bd)](_0x3555a2){localStorage['setItem'](_0x5105b6,JSON['stringify'](_0x3555a2));}[_0x1112e6(0x2d5)](){const _0x38d432=_0x1112e6;this[_0x38d432(0x3d6)]=window[_0x38d432(0x494)](()=>{const _0x5d3068=_0x38d432;this[_0x5d3068(0x1bd)]({'type':0x2,'memberID':this[_0x5d3068(0x24f)]});},_0x13ba59);}[_0x1112e6(0x3bc)](_0x206bf4){const _0x55ad39=_0x1112e6;return this[_0x55ad39(0x2c5)]['has'](_0x206bf4)||this[_0x55ad39(0x2c5)][_0x55ad39(0x20e)](_0x206bf4,new _0x55e528[(_0x55ad39(0x357))](_0xd500a['UnitStatus'][_0x55ad39(0x254)])),this[_0x55ad39(0x2c5)][_0x55ad39(0x3a5)](_0x206bf4);}};Object[_0x1112e6(0x41d)](_0x545995,_0x1112e6(0x34c),{'enumerable':!0x0,'get':function(){return _0xe85373;}}),Object[_0x1112e6(0x41d)](_0x545995,_0x1112e6(0x324),{'enumerable':!0x0,'get':function(){return _0x263f39;}}),_0x545995['IURLService']=_0x5c49b8,Object[_0x1112e6(0x41d)](_0x545995,_0x1112e6(0x40a),{'enumerable':!0x0,'get':function(){return _0x3bd567;}}),_0x545995[_0x1112e6(0x2de)]=_0x19d554,Object[_0x1112e6(0x41d)](_0x545995,'UniverCollaborationClientUIPlugin',{'enumerable':!0x0,'get':function(){return _0x646df;}}),_0x545995['WebBrowserSingleActiveUnitService']=_0x553725;}));
1
+ (function(_0x2930da,_0x188272){const _0x5f3622=_0x107c,_0x2bd81f=_0x2930da();while(!![]){try{const _0x6f5778=parseInt(_0x5f3622(0x3b1))/0x1+-parseInt(_0x5f3622(0x2c8))/0x2*(parseInt(_0x5f3622(0x215))/0x3)+-parseInt(_0x5f3622(0x10f))/0x4*(parseInt(_0x5f3622(0x311))/0x5)+-parseInt(_0x5f3622(0x3f2))/0x6+-parseInt(_0x5f3622(0xd7))/0x7+parseInt(_0x5f3622(0xf7))/0x8+parseInt(_0x5f3622(0x42e))/0x9*(parseInt(_0x5f3622(0x264))/0xa);if(_0x6f5778===_0x188272)break;else _0x2bd81f['push'](_0x2bd81f['shift']());}catch(_0x17d25e){_0x2bd81f['push'](_0x2bd81f['shift']());}}}(_0x4a43,0x259e8),function(_0x598a14,_0x4ea38b){const _0x2a2c64=_0x107c;typeof exports=='object'&&typeof module<'u'?_0x4ea38b(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==_0x2a2c64(0x250)&&define[_0x2a2c64(0x124)]?define(['exports',_0x2a2c64(0x2c7),'@univerjs/core',_0x2a2c64(0x380),_0x2a2c64(0x13b),_0x2a2c64(0x1d2),_0x2a2c64(0x2b0),_0x2a2c64(0x3c0),_0x2a2c64(0x357),_0x2a2c64(0x41b),_0x2a2c64(0x405),_0x2a2c64(0x159),_0x2a2c64(0x3cd),_0x2a2c64(0x358),_0x2a2c64(0x371),'@univerjs/engine-formula','@univerjs/sheets','@univerjs/sheets-ui',_0x2a2c64(0x190)],_0x4ea38b):(_0x598a14=typeof globalThis<'u'?globalThis:_0x598a14||self,_0x4ea38b(_0x598a14[_0x2a2c64(0x369)]={},_0x598a14[_0x2a2c64(0x236)],_0x598a14[_0x2a2c64(0x172)],_0x598a14['UniverUi'],_0x598a14['rxjs'],_0x598a14[_0x2a2c64(0x13b)][_0x2a2c64(0x2a7)],_0x598a14[_0x2a2c64(0x28a)],_0x598a14[_0x2a2c64(0x1e5)],_0x598a14[_0x2a2c64(0x1e5)],_0x598a14[_0x2a2c64(0xf0)],_0x598a14[_0x2a2c64(0x2f7)],_0x598a14[_0x2a2c64(0x30c)],_0x598a14['UniverDocsUi'],_0x598a14[_0x2a2c64(0x184)],_0x598a14[_0x2a2c64(0x18b)],_0x598a14['UniverEngineFormula'],_0x598a14['UniverSheets'],_0x598a14[_0x2a2c64(0x3cb)],_0x598a14[_0x2a2c64(0x3a5)]));}(this,function(_0x5a95d5,_0x38f0f3,_0xb6dbd1,_0x37794f,_0x5cd61a,_0x3aa00e,_0x56d9e2,_0x88259,_0x43c095,_0x357287,_0x28d8a6,_0xc5bded,_0x3c528c,_0x3eda51,_0x621071,_0x5aa837,_0x3f6b5f,_0x4a161f,_0x95888b){const _0x1d996d=_0x107c;Object['defineProperty'](_0x5a95d5,Symbol['toStringTag'],{'value':_0x1d996d(0x2d7)});function _0xeef9de({ref:_0x4c025c,..._0x1e1e21}){const _0x2aff7a=_0x1d996d;let {preserveStrokeWidth:_0x57b2b6,icon:_0x15ef58,id:_0x9f29f7,className:_0x3f8de4,extend:_0x2c64b8,..._0x49249e}=_0x1e1e21,_0x4cddcf=(_0x2aff7a(0x1ec)+_0x9f29f7+'\x20'+(_0x3f8de4||''))['trim'](),_0x1c7dc9='_'+(0x0,_0x88259[_0x2aff7a(0x2e8)])(),_0x16dfb8=(0x0,_0x88259[_0x2aff7a(0x332)])(null);return(0x0,_0x88259[_0x2aff7a(0x2e3)])(_0x4c025c,()=>_0x16dfb8[_0x2aff7a(0x3b3)]),(0x0,_0x88259['useLayoutEffect'])(()=>{const _0x4df5d5=_0x2aff7a;if(!(!_0x57b2b6||!_0x16dfb8[_0x4df5d5(0x3b3)]||_0x16dfb8[_0x4df5d5(0x3b3)][_0x4df5d5(0x277)]!==_0x15ef58[_0x4df5d5(0x2ea)]))return _0x4ff8ec(_0x16dfb8[_0x4df5d5(0x3b3)]);},[_0x57b2b6,_0x15ef58]),_0x2defaa(_0x15ef58,''+_0x9f29f7,{'defIds':_0x15ef58[_0x2aff7a(0xf1)],'idSuffix':_0x1c7dc9},{'ref':_0x16dfb8,'className':_0x4cddcf,..._0x49249e},_0x2c64b8);}function _0x2defaa(_0x40961a,_0x41a4d6,_0x1557eb,_0x268a4e,_0x4e2f02){const _0xd847aa=_0x1d996d;return(0x0,_0x88259[_0xd847aa(0x266)])(_0x40961a['tag'],{'key':_0x41a4d6,..._0x36dcb4(_0x40961a,_0x1557eb,_0x4e2f02),..._0x268a4e},(_0x2eda7a(_0x40961a,_0x1557eb)[_0xd847aa(0x348)]||[])[_0xd847aa(0x417)]((_0x564453,_0xa6f4d5)=>_0x2defaa(_0x564453,_0x41a4d6+'-'+_0x40961a['tag']+'-'+_0xa6f4d5,_0x1557eb,void 0x0,_0x4e2f02)));}function _0x36dcb4(_0x2e219d,_0x27437f,_0x59ca70){const _0x479710=_0x1d996d;let _0x19d458={..._0x2e219d[_0x479710(0x37f)]};_0x59ca70!=null&&_0x59ca70[_0x479710(0x31c)]&&_0x19d458['fill']===_0x479710(0x31c)&&(_0x19d458[_0x479710(0x197)]=_0x59ca70[_0x479710(0x31c)]),_0x59ca70!=null&&_0x59ca70['colorChannel1']&&_0x19d458[_0x479710(0x1fc)]===_0x479710(0x31c)&&(_0x19d458['stroke']=_0x59ca70[_0x479710(0x31c)]),_0x2e219d[_0x479710(0x2ea)]===_0x479710(0x3a1)&&_0x19d458['id']&&(_0x19d458['id']+=_0x27437f[_0x479710(0x109)]),Object['entries'](_0x19d458)['forEach'](([_0x400d9e,_0x2fa917])=>{const _0x47c8ea=_0x479710;_0x400d9e===_0x47c8ea(0x3a1)&&typeof _0x2fa917==_0x47c8ea(0x170)&&(_0x19d458[_0x400d9e]=_0x2fa917['replace'](/url\(#(.*)\)/,_0x47c8ea(0x356)+_0x27437f[_0x47c8ea(0x109)]+')'));});let {defIds:_0x236793}=_0x27437f;return!_0x236793||_0x236793[_0x479710(0x2d6)]===0x0?_0x19d458:(_0x2e219d[_0x479710(0x2ea)]===_0x479710(0x42c)&&_0x19d458[_0x479710(0x2d5)]&&(_0x19d458[_0x479710(0x2d5)]+=_0x27437f[_0x479710(0x109)]),Object[_0x479710(0x2a4)](_0x19d458)[_0x479710(0x30d)](([_0x164cc4,_0x231f85])=>{const _0x589358=_0x479710;typeof _0x231f85==_0x589358(0x170)&&(_0x19d458[_0x164cc4]=_0x231f85[_0x589358(0x1ac)](/url\(#(.*)\)/,_0x589358(0x356)+_0x27437f[_0x589358(0x109)]+')'));}),_0x19d458);}function _0x2eda7a(_0x2a15ca,_0xff891e){const _0xfb825b=_0x1d996d;var _0x3100f9;let {defIds:_0x156ddd}=_0xff891e;return!_0x156ddd||_0x156ddd['length']===0x0?_0x2a15ca:_0x2a15ca['tag']===_0xfb825b(0x12b)&&(_0x3100f9=_0x2a15ca[_0xfb825b(0x348)])!=null&&_0x3100f9[_0xfb825b(0x2d6)]?{..._0x2a15ca,'children':_0x2a15ca[_0xfb825b(0x348)][_0xfb825b(0x417)](_0x385545=>typeof _0x385545[_0xfb825b(0x37f)]['id']==_0xfb825b(0x170)&&_0x156ddd&&_0x156ddd['includes'](_0x385545[_0xfb825b(0x37f)]['id'])?{..._0x385545,'attrs':{..._0x385545[_0xfb825b(0x37f)],'id':_0x385545[_0xfb825b(0x37f)]['id']+_0xff891e[_0xfb825b(0x109)]}}:_0x385545)}:_0x2a15ca;}function _0x4ff8ec(_0x3d6d53){const _0x50ee94=_0x1d996d;let _0x1f0127=_0x3d6d53[_0x50ee94(0x2f6)]['baseVal'],_0xc2abcf=Math[_0x50ee94(0x427)](_0x1f0127[_0x50ee94(0x3da)],_0x1f0127['height']);if(!Number[_0x50ee94(0xeb)](_0xc2abcf)||_0xc2abcf<=0x0||_0x1f0127['width']<=0x0||_0x1f0127[_0x50ee94(0x239)]<=0x0)return()=>void 0x0;let _0x4d9b2a=0x10/_0xc2abcf,_0x2c5615=Array[_0x50ee94(0x234)](_0x3d6d53[_0x50ee94(0x127)]('circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use'))[_0x50ee94(0x295)](_0x2adda1=>{const _0x3fe746=_0x50ee94;let _0x313e68=getComputedStyle(_0x2adda1),_0x36d959=Number[_0x3fe746(0x3a0)](_0x313e68['strokeWidth']);return _0x313e68[_0x3fe746(0x1fc)]===_0x3fe746(0x2d3)||Number['parseFloat'](_0x313e68[_0x3fe746(0x444)])===0x0||_0x313e68[_0x3fe746(0x341)]===_0x3fe746(0x174)||!Number[_0x3fe746(0xeb)](_0x36d959)||_0x36d959<=0x0?[]:[{'element':_0x2adda1,'hadStyleAttribute':_0x2adda1[_0x3fe746(0x322)](_0x3fe746(0x23d)),'originalStrokeWidth':_0x36d959,'strokeWidth':_0x4e8d2f(_0x2adda1[_0x3fe746(0x23d)],_0x3fe746(0x3c6))}];})[_0x50ee94(0x417)](_0x3e4226=>({'appliedStrokeWidth':null,'element':_0x3e4226[_0x50ee94(0x1b4)],'hadStyleAttribute':_0x3e4226[_0x50ee94(0x3d2)],'isReleased':!0x1,'originalStrokeWidth':_0x3e4226['originalStrokeWidth'],'strokeWidth':_0x3e4226[_0x50ee94(0x1be)]}));if(_0x2c5615[_0x50ee94(0x2d6)]===0x0)return()=>void 0x0;let _0x954252=(_0x58f3e5,_0x2ba39a)=>{const _0x4761f0=_0x50ee94;if(_0x1f0127[_0x4761f0(0x3da)]<=0x0||_0x1f0127[_0x4761f0(0x239)]<=0x0||_0x58f3e5<=0x0||_0x2ba39a<=0x0)return;let _0x527776=Math[_0x4761f0(0x41e)](_0x58f3e5/_0x1f0127[_0x4761f0(0x3da)],_0x2ba39a/_0x1f0127[_0x4761f0(0x239)]);!Number[_0x4761f0(0xeb)](_0x527776)||_0x527776<=0x0||_0x2c5615['forEach'](_0x152b36=>{const _0x4de1c0=_0x4761f0;if(_0x152b36['isReleased'])return;if(_0x152b36[_0x4de1c0(0xfa)]!==null&&(_0x152b36[_0x4de1c0(0x1b4)][_0x4de1c0(0x23d)][_0x4de1c0(0x44b)](_0x4de1c0(0x3c6))!==_0x152b36[_0x4de1c0(0xfa)]||_0x152b36[_0x4de1c0(0x1b4)][_0x4de1c0(0x23d)][_0x4de1c0(0x241)](_0x4de1c0(0x3c6))!==_0x152b36['strokeWidth'][_0x4de1c0(0x1ee)])){_0x152b36[_0x4de1c0(0xfa)]=null,_0x152b36[_0x4de1c0(0x162)]=!0x0;return;}let _0x5d6ce0=_0x152b36['originalStrokeWidth']*_0x4d9b2a/_0x527776,_0x54bd2d=Number(_0x5d6ce0[_0x4de1c0(0xe1)](0xc))+'px';_0x152b36[_0x4de1c0(0x1b4)][_0x4de1c0(0x23d)][_0x4de1c0(0x411)](_0x4de1c0(0x3c6),_0x54bd2d,_0x152b36[_0x4de1c0(0x1be)][_0x4de1c0(0x1ee)]),_0x152b36[_0x4de1c0(0xfa)]=_0x54bd2d;});},_0x38dbf8=_0x3d6d53['getBoundingClientRect']();_0x954252(_0x38dbf8[_0x50ee94(0x3da)],_0x38dbf8[_0x50ee94(0x239)]);let _0x5ef3c4=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x3bc653=>{const _0x4ce009=_0x50ee94;if(_0x3bc653[_0x4ce009(0x2be)](_0x36bf0c=>_0x36bf0c[_0x4ce009(0x3b6)]===_0x3d6d53)){let _0x3c14eb=_0x3d6d53[_0x4ce009(0x29f)]();_0x954252(_0x3c14eb[_0x4ce009(0x3da)],_0x3c14eb[_0x4ce009(0x239)]);}});return _0x5ef3c4==null||_0x5ef3c4['observe'](_0x3d6d53),()=>{const _0x2bbb43=_0x50ee94;_0x5ef3c4==null||_0x5ef3c4[_0x2bbb43(0x1f2)](),_0x2c5615[_0x2bbb43(0x30d)](_0x38920d=>{const _0x56e8c7=_0x2bbb43;_0x38920d[_0x56e8c7(0xfa)]!==null&&(_0x2ec4ee(_0x38920d[_0x56e8c7(0x1b4)][_0x56e8c7(0x23d)],'stroke-width',_0x38920d[_0x56e8c7(0xfa)],_0x38920d[_0x56e8c7(0x1be)][_0x56e8c7(0x1ee)],_0x38920d['strokeWidth']),!_0x38920d[_0x56e8c7(0x3d2)]&&_0x38920d[_0x56e8c7(0x1b4)][_0x56e8c7(0x23d)][_0x56e8c7(0x2d6)]===0x0&&_0x38920d['element']['removeAttribute'](_0x56e8c7(0x23d)));});};}function _0x4e8d2f(_0x52fbb4,_0x35f6af){const _0xbdb6e2=_0x1d996d;return{'priority':_0x52fbb4['getPropertyPriority'](_0x35f6af),'value':_0x52fbb4[_0xbdb6e2(0x44b)](_0x35f6af)};}function _0x2ec4ee(_0x3f824e,_0x39cd87,_0x58db83,_0x4f0f9b,_0x3f1dbd){const _0x8ab86b=_0x1d996d;_0x3f824e[_0x8ab86b(0x44b)](_0x39cd87)===_0x58db83&&_0x3f824e[_0x8ab86b(0x241)](_0x39cd87)===_0x4f0f9b&&(_0x3f1dbd['value']?_0x3f824e['setProperty'](_0x39cd87,_0x3f1dbd[_0x8ab86b(0x1ea)],_0x3f1dbd[_0x8ab86b(0x1ee)]):_0x3f824e[_0x8ab86b(0x1dc)](_0x39cd87));}_0xeef9de[_0x1d996d(0x333)]=_0x1d996d(0x103);let _0x2f0096={'tag':_0x1d996d(0x32e),'attrs':{'xmlns':_0x1d996d(0x3d6),'fill':_0x1d996d(0x2d3),'viewBox':_0x1d996d(0x199),'width':_0x1d996d(0xdd),'height':_0x1d996d(0xdd)},'children':[{'tag':'g','attrs':{'clipPath':_0x1d996d(0x108)},'children':[{'tag':_0x1d996d(0x298),'attrs':{'stroke':_0x1d996d(0x194),'d':_0x1d996d(0x2bd),'strokeLinecap':_0x1d996d(0x19a),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1d996d(0x12b),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1d996d(0x370)},'children':[{'tag':'path','attrs':{'fill':_0x1d996d(0x260),'d':_0x1d996d(0x196)}}]}]}],'defIds':[_0x1d996d(0x370)]},_0x3c5f67=(0x0,_0x88259[_0x1d996d(0x3a3)])(function(_0x5ba0d8,_0x26f134){const _0xcadad1=_0x1d996d;return(0x0,_0x88259[_0xcadad1(0x266)])(_0xeef9de,Object[_0xcadad1(0x269)]({},_0x5ba0d8,{'id':_0xcadad1(0x14d),'ref':_0x26f134,'icon':_0x2f0096}));});_0x3c5f67['displayName']='OffLineIcon';let _0x530df5={'tag':_0x1d996d(0x32e),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1d996d(0x2d3),'viewBox':'0\x200\x2017\x2016','width':_0x1d996d(0xdd),'height':_0x1d996d(0xdd)},'children':[{'tag':'g','attrs':{'clipPath':_0x1d996d(0x28d)},'children':[{'tag':_0x1d996d(0x298),'attrs':{'stroke':_0x1d996d(0x194),'d':_0x1d996d(0x364),'strokeLinecap':_0x1d996d(0x19a),'strokeLinejoin':_0x1d996d(0x19a),'strokeWidth':1.2}}]},{'tag':_0x1d996d(0x12b),'attrs':{},'children':[{'tag':_0x1d996d(0x2d0),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':_0x1d996d(0xe2)}}]}]}],'defIds':[_0x1d996d(0x3de)]},_0x4ce9b5=(0x0,_0x88259['forwardRef'])(function(_0x40cc09,_0x59c46e){const _0x121922=_0x1d996d;return(0x0,_0x88259[_0x121922(0x266)])(_0xeef9de,Object[_0x121922(0x269)]({},_0x40cc09,{'id':_0x121922(0x43d),'ref':_0x59c46e,'icon':_0x530df5}));});_0x4ce9b5['displayName']=_0x1d996d(0x139);let _0x11c927={'tag':_0x1d996d(0x32e),'attrs':{'xmlns':_0x1d996d(0x3d6),'fill':'none','viewBox':_0x1d996d(0x199),'width':_0x1d996d(0xdd),'height':_0x1d996d(0xdd)},'children':[{'tag':_0x1d996d(0x298),'attrs':{'fill':'currentColor','d':_0x1d996d(0x2cc),'fillRule':_0x1d996d(0x329),'clipRule':_0x1d996d(0x329)}}]},_0x5d675c=(0x0,_0x88259[_0x1d996d(0x3a3)])(function(_0x507e00,_0x4cb51d){const _0x4e449a=_0x1d996d;return(0x0,_0x88259[_0x4e449a(0x266)])(_0xeef9de,Object['assign']({},_0x507e00,{'id':_0x4e449a(0x2f2),'ref':_0x4cb51d,'icon':_0x11c927}));});_0x5d675c[_0x1d996d(0x333)]=_0x1d996d(0x19e);let _0x7feb70={'tag':_0x1d996d(0x32e),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1d996d(0x2d3),'viewBox':_0x1d996d(0x199),'width':_0x1d996d(0xdd),'height':_0x1d996d(0xdd)},'children':[{'tag':'path','attrs':{'fill':'#0B9EFB','d':_0x1d996d(0x1a1),'fillOpacity':0.2,'fillRule':'evenodd','clipRule':_0x1d996d(0x329)}},{'tag':_0x1d996d(0x298),'attrs':{'fill':_0x1d996d(0x2db),'d':_0x1d996d(0x1ed),'fillRule':_0x1d996d(0x329),'clipRule':_0x1d996d(0x329)}}]},_0x3d96de=(0x0,_0x88259[_0x1d996d(0x3a3)])(function(_0x2c95c2,_0x279926){const _0x194125=_0x1d996d;return(0x0,_0x88259['createElement'])(_0xeef9de,Object[_0x194125(0x269)]({},_0x2c95c2,{'id':_0x194125(0x144),'ref':_0x279926,'icon':_0x7feb70}));});_0x3d96de[_0x1d996d(0x333)]='LoadingMultiIcon';function _0xfa7140(_0x2ef1a4){const _0x5a7c4f=_0x1d996d;switch(_0x2ef1a4){case _0x38f0f3['CollaborationStatus'][_0x5a7c4f(0x179)]:return{'icon':(0x0,_0x43c095['jsx'])(_0x3c5f67,{}),'colorClass':_0x5a7c4f(0x2aa),'i18nKey':'collaboration-client-ui.collabStatus.offline','tooltipKey':_0x5a7c4f(0x32f),'clickable':!0x0,'indicator':_0x5a7c4f(0x18d)};case _0x38f0f3['CollaborationStatus'][_0x5a7c4f(0x1c7)]:return{'icon':(0x0,_0x43c095[_0x5a7c4f(0xe4)])(_0x3c5f67,{}),'colorClass':_0x5a7c4f(0x283),'i18nKey':_0x5a7c4f(0x1a4),'clickable':!0x1,'indicator':_0x5a7c4f(0x18d)};case _0x38f0f3[_0x5a7c4f(0x40d)]['FETCH_MISS']:return{'icon':(0x0,_0x43c095[_0x5a7c4f(0xe4)])(_0x3d96de,{}),'colorClass':_0x5a7c4f(0x17b),'i18nKey':_0x5a7c4f(0x334),'clickable':!0x1,'indicator':_0x5a7c4f(0x142)};case _0x38f0f3[_0x5a7c4f(0x40d)][_0x5a7c4f(0x15e)]:return{'icon':(0x0,_0x43c095[_0x5a7c4f(0xe4)])(_0x4ce9b5,{}),'colorClass':_0x5a7c4f(0x32c),'i18nKey':_0x5a7c4f(0x32a),'clickable':!0x1,'indicator':_0x5a7c4f(0x18d)};case _0x38f0f3['CollaborationStatus'][_0x5a7c4f(0x449)]:case _0x38f0f3['CollaborationStatus'][_0x5a7c4f(0x2fd)]:return{'icon':(0x0,_0x43c095['jsx'])(_0x3d96de,{}),'colorClass':_0x5a7c4f(0x17b),'i18nKey':_0x5a7c4f(0x3c5),'clickable':!0x1,'indicator':'spin'};case _0x38f0f3[_0x5a7c4f(0x40d)][_0x5a7c4f(0x307)]:return{'icon':(0x0,_0x43c095[_0x5a7c4f(0xe4)])(_0x3d96de,{}),'colorClass':_0x5a7c4f(0x17b),'i18nKey':_0x5a7c4f(0x3c5),'clickable':!0x1,'indicator':_0x5a7c4f(0x142)};case _0x38f0f3[_0x5a7c4f(0x40d)]['SYNCED']:return{'icon':(0x0,_0x43c095['jsx'])(_0x4ce9b5,{}),'colorClass':_0x5a7c4f(0x19d),'i18nKey':_0x5a7c4f(0x206),'clickable':!0x1,'indicator':_0x5a7c4f(0x18d)};}}function _0x376d6f(_0x4ac09e){const _0x4af2ee=_0x1d996d;let {status$:_0x2538b4}=_0x4ac09e,_0x612b92=(0x0,_0x37794f[_0x4af2ee(0x44a)])(_0x2538b4,_0x38f0f3[_0x4af2ee(0x40d)][_0x4af2ee(0x15e)]),_0x2cfc93=(0x0,_0x37794f['useDependency'])(_0xb6dbd1[_0x4af2ee(0x40c)]),_0x2cc1d0=(0x0,_0x37794f['useDependency'])(_0x38f0f3[_0x4af2ee(0x3e3)]),_0x277de3=(0x0,_0x88259[_0x4af2ee(0x39c)])(()=>_0xfa7140(_0x612b92),[_0x612b92]),_0x554f1e=_0x612b92!==_0x38f0f3[_0x4af2ee(0x40d)][_0x4af2ee(0x179)],_0x36518d=_0x2cfc93['t'](_0x277de3[_0x4af2ee(0x1b3)]),_0x40a9bc=_0x277de3['tooltipKey']?_0x2cfc93['t'](_0x277de3['tooltipKey']):_0x36518d,_0xf494b3=(0x0,_0x88259[_0x4af2ee(0x2b8)])(()=>{const _0x29300e=_0x4af2ee;_0x554f1e||_0x2cc1d0[_0x29300e(0x132)]();},[_0x554f1e,_0x2cc1d0]),_0x5b6bea=(0x0,_0x88259['useCallback'])(_0x6d38b5=>{const _0x272f46=_0x4af2ee;!_0x554f1e&&(_0x6d38b5['key']==='Enter'||_0x6d38b5[_0x272f46(0x3b0)]==='\x20')&&(_0x6d38b5[_0x272f46(0x43b)](),_0x2cc1d0[_0x272f46(0x132)]());},[_0x554f1e,_0x2cc1d0]),_0x438fa9=(0x0,_0x43c095['jsx'])(_0x4af2ee(0x135),{'className':(0x0,_0x56d9e2['clsx'])(_0x4af2ee(0x1b9),'univer-text-xl\x20univer-transition-colors\x20univer-duration-200',_0x277de3['colorClass'],{'univer-animate-spin':_0x277de3[_0x4af2ee(0x407)]===_0x4af2ee(0x142),'univer-animate-pulse':_0x277de3[_0x4af2ee(0x407)]===_0x4af2ee(0x189)}),'aria-hidden':'true','children':_0x277de3[_0x4af2ee(0x3fe)]}),_0x3e3674=(0x0,_0x43c095[_0x4af2ee(0xe4)])(_0x4af2ee(0x135),{'className':(0x0,_0x56d9e2['clsx'])('univer-flex\x20univer-items-center\x20univer-justify-center',_0x4af2ee(0x192),_0x4af2ee(0x1b2),'focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2','dark:focus:!univer-ring-offset-gray-800',{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700':_0x277de3[_0x4af2ee(0x18f)],'univer-cursor-default':!_0x277de3[_0x4af2ee(0x18f)]}),'children':_0x438fa9});return _0x277de3[_0x4af2ee(0x18f)]?(0x0,_0x43c095[_0x4af2ee(0xe4)])(_0x56d9e2[_0x4af2ee(0x161)],{'title':_0x40a9bc,'placement':_0x4af2ee(0x27f),'children':(0x0,_0x43c095['jsx'])('button',{'type':_0x4af2ee(0x395),'onClick':_0xf494b3,'onKeyDown':_0x5b6bea,'className':(0x0,_0x56d9e2[_0x4af2ee(0x2ad)])('univer-inline-flex\x20univer-items-center\x20univer-justify-center',_0x4af2ee(0x2dc),_0x4af2ee(0x1a8),_0x4af2ee(0x26d)),'aria-label':_0x36518d+_0x4af2ee(0x20a)+_0x40a9bc,'role':_0x4af2ee(0x434),'aria-live':'polite','aria-atomic':'true','children':_0x3e3674})}):(0x0,_0x43c095[_0x4af2ee(0xe4)])(_0x56d9e2['Tooltip'],{'title':_0x40a9bc,'placement':_0x4af2ee(0x27f),'children':(0x0,_0x43c095['jsx'])(_0x4af2ee(0x3f9),{'className':(0x0,_0x56d9e2[_0x4af2ee(0x2ad)])(_0x4af2ee(0x40e),_0x4af2ee(0x2dc),_0x4af2ee(0x1a8)),'aria-label':_0x36518d,'role':_0x4af2ee(0x434),'aria-live':_0x4af2ee(0x2b5),'aria-atomic':_0x4af2ee(0xd5),'children':_0x3e3674})});}function _0x679f0(_0x463507){'@babel/helpers - typeof';const _0x31477a=_0x1d996d;return _0x679f0=typeof Symbol==_0x31477a(0x250)&&typeof Symbol[_0x31477a(0x133)]==_0x31477a(0x430)?function(_0x50d40b){return typeof _0x50d40b;}:function(_0x104a55){const _0x41be5f=_0x31477a;return _0x104a55&&typeof Symbol=='function'&&_0x104a55[_0x41be5f(0x25a)]===Symbol&&_0x104a55!==Symbol[_0x41be5f(0x18a)]?_0x41be5f(0x430):typeof _0x104a55;},_0x679f0(_0x463507);}function _0x56694a(_0x5942fb,_0x3f5dc1){const _0x35b8a4=_0x1d996d;if(_0x679f0(_0x5942fb)!=_0x35b8a4(0x3bb)||!_0x5942fb)return _0x5942fb;var _0x6715e=_0x5942fb[Symbol['toPrimitive']];if(_0x6715e!==void 0x0){var _0x557479=_0x6715e[_0x35b8a4(0x2b1)](_0x5942fb,_0x3f5dc1||_0x35b8a4(0x16e));if(_0x679f0(_0x557479)!=_0x35b8a4(0x3bb))return _0x557479;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x3f5dc1===_0x35b8a4(0x170)?String:Number)(_0x5942fb);}function _0x45c368(_0x1e9a90){const _0x15bd09=_0x1d996d;var _0x1e1948=_0x56694a(_0x1e9a90,_0x15bd09(0x170));return _0x679f0(_0x1e1948)==_0x15bd09(0x430)?_0x1e1948:_0x1e1948+'';}function _0x5f2c7c(_0x58df3b,_0x5042bb,_0x4fc2f4){const _0x3255be=_0x1d996d;return(_0x5042bb=_0x45c368(_0x5042bb))in _0x58df3b?Object[_0x3255be(0x294)](_0x58df3b,_0x5042bb,{'value':_0x4fc2f4,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x58df3b[_0x5042bb]=_0x4fc2f4,_0x58df3b;}function _0xffa406(_0x4f8d9f,_0x23ee5a){return function(_0x1e7415,_0x4b5112){_0x23ee5a(_0x1e7415,_0x4b5112,_0x4f8d9f);};}function _0x2c4c13(_0x1f1d29,_0x2adc80,_0x3e6b05,_0x1bf97d){const _0x3e984c=_0x1d996d;var _0x11ade1=arguments[_0x3e984c(0x2d6)],_0x482dba=_0x11ade1<0x3?_0x2adc80:_0x1bf97d===null?_0x1bf97d=Object[_0x3e984c(0x25e)](_0x2adc80,_0x3e6b05):_0x1bf97d,_0x53886b;if(typeof Reflect==_0x3e984c(0x3bb)&&typeof Reflect[_0x3e984c(0x3ec)]==_0x3e984c(0x250))_0x482dba=Reflect[_0x3e984c(0x3ec)](_0x1f1d29,_0x2adc80,_0x3e6b05,_0x1bf97d);else{for(var _0x23baeb=_0x1f1d29[_0x3e984c(0x2d6)]-0x1;_0x23baeb>=0x0;_0x23baeb--)(_0x53886b=_0x1f1d29[_0x23baeb])&&(_0x482dba=(_0x11ade1<0x3?_0x53886b(_0x482dba):_0x11ade1>0x3?_0x53886b(_0x2adc80,_0x3e6b05,_0x482dba):_0x53886b(_0x2adc80,_0x3e6b05))||_0x482dba);}return _0x11ade1>0x3&&_0x482dba&&Object[_0x3e984c(0x294)](_0x2adc80,_0x3e6b05,_0x482dba),_0x482dba;}let _0x59c70b=class extends _0xb6dbd1[_0x1d996d(0x148)]{constructor(_0x541ef6,_0x23000a,_0x38a2b0,_0x3b32bc,_0x5a0fd4){const _0x332619=_0x1d996d;super(),this[_0x332619(0x28b)]=_0x541ef6,this['_injector']=_0x23000a,this[_0x332619(0x2af)]=_0x38a2b0,this[_0x332619(0x1e4)]=_0x3b32bc,this[_0x332619(0x171)]=_0x5a0fd4,_0x5f2c7c(this,'_status$',new _0x5cd61a['BehaviorSubject'](_0x38f0f3[_0x332619(0x40d)][_0x332619(0x15e)])),_0x5f2c7c(this,_0x332619(0x15a),new Map()),this[_0x332619(0x33f)](),this[_0x332619(0x39e)](),this[_0x332619(0x34b)]();}[_0x1d996d(0x39d)](){const _0x3e3fad=_0x1d996d;this['_presenceStatusRegistrations'][_0x3e3fad(0x30d)](_0x3c8b79=>_0x3c8b79[_0x3e3fad(0x39d)]()),this[_0x3e3fad(0x15a)][_0x3e3fad(0x113)](),this['_status$'][_0x3e3fad(0x1b1)](),super[_0x3e3fad(0x39d)]();}[_0x1d996d(0x39e)](){const _0x44f22c=_0x1d996d;this[_0x44f22c(0x33e)]((0x0,_0x5cd61a[_0x44f22c(0x212)])(this[_0x44f22c(0x28b)][_0x44f22c(0x193)],this[_0x44f22c(0x28b)][_0x44f22c(0x12e)](_0xb6dbd1[_0x44f22c(0x225)]['UNIVER_DOC']),this['_univerInstanceService']['getCurrentTypeOfUnit$'](_0xb6dbd1[_0x44f22c(0x225)]['UNIVER_SHEET']))[_0x44f22c(0x181)]((0x0,_0x3aa00e[_0x44f22c(0x417)])(()=>_0x82373c(this[_0x44f22c(0x28b)])),(0x0,_0x3aa00e[_0x44f22c(0x3e5)])(),(0x0,_0x5cd61a[_0x44f22c(0x3b7)])(_0x2edba7=>_0x2edba7?this[_0x44f22c(0x2af)][_0x44f22c(0x10e)](_0x2edba7):(0x0,_0x5cd61a['of'])(null)),(0x0,_0x5cd61a[_0x44f22c(0x3b7)])(_0x34f58c=>_0x34f58c?_0x34f58c[_0x44f22c(0x119)]:(0x0,_0x5cd61a['of'])(_0x38f0f3[_0x44f22c(0x40d)][_0x44f22c(0x15e)])))[_0x44f22c(0x267)](_0xb2c5f6=>{const _0x3c2b69=_0x44f22c;this['_status$'][_0x3c2b69(0x3e8)](_0xb2c5f6);}));}[_0x1d996d(0x33f)](){const _0x49bc2f=_0x1d996d;this[_0x49bc2f(0x33e)](this['_uiPartsService'][_0x49bc2f(0x21d)](_0x37794f['BuiltInUIPart'][_0x49bc2f(0x157)],()=>(0x0,_0x37794f[_0x49bc2f(0x23a)])(_0x3d0714({'status$':this[_0x49bc2f(0x41f)][_0x49bc2f(0x1a2)]()}),this[_0x49bc2f(0x16b)])));}[_0x1d996d(0x34b)](){const _0xb3cbaa=_0x1d996d;let _0x2c2cb6=this[_0xb3cbaa(0x171)][_0xb3cbaa(0x116)][_0xb3cbaa(0x267)](_0x344001=>{const _0x42c284=_0xb3cbaa;this[_0x42c284(0x17d)](_0x344001);});this[_0xb3cbaa(0x33e)]((0x0,_0xb6dbd1[_0xb3cbaa(0x30f)])(()=>_0x2c2cb6[_0xb3cbaa(0x3a7)]()));}[_0x1d996d(0x17d)](_0x4bd5e8){const _0x20d66e=_0x1d996d;let _0x254404=new Map(_0x4bd5e8[_0x20d66e(0x29b)](_0x3f6428=>_0x3f6428[_0x20d66e(0x30e)]!=null)[_0x20d66e(0x417)](_0x1cfa51=>[_0x1cfa51[_0x20d66e(0x1f8)],_0x1cfa51]));this[_0x20d66e(0x15a)][_0x20d66e(0x30d)]((_0x46518d,_0x19b1e2)=>{const _0x5040af=_0x20d66e;_0x254404[_0x5040af(0x379)](_0x19b1e2)||(_0x46518d['dispose'](),this[_0x5040af(0x15a)][_0x5040af(0x403)](_0x19b1e2));}),_0x254404[_0x20d66e(0x30d)]((_0x12c891,_0x3b18d5)=>{const _0x119750=_0x20d66e;this[_0x119750(0x15a)][_0x119750(0x379)](_0x3b18d5)||this['_registerPresenceStatusComponent'](_0x12c891);});}[_0x1d996d(0x248)](_0x212429){const _0x53221c=_0x1d996d;let _0x173dff=_0x212429[_0x53221c(0x30e)];if(!_0x173dff)return;let _0xfc03d9=new _0xb6dbd1[(_0x53221c(0x447))](),_0x5eadf3=new _0x5cd61a[(_0x53221c(0x35a))](_0x38f0f3[_0x53221c(0x40d)][_0x53221c(0x15e)]);_0xfc03d9[_0x53221c(0x2c6)]((0x0,_0xb6dbd1[_0x53221c(0x30f)])(()=>_0x5eadf3['complete']())),_0xfc03d9[_0x53221c(0x2c6)](this[_0x53221c(0x1e4)]['registerComponent'](_0x173dff,()=>(0x0,_0x37794f[_0x53221c(0x23a)])(_0x3d0714({'status$':_0x5eadf3['asObservable']()}),this[_0x53221c(0x16b)])));let _0x4c36f9=this['_univerInstanceService']['getCurrentTypeOfUnit$'](_0x212429['unitType'])['pipe']((0x0,_0x3aa00e[_0x53221c(0x417)])(_0x303e0b=>(_0x303e0b==null?void 0x0:_0x303e0b['getUnitId']())??null),(0x0,_0x3aa00e[_0x53221c(0x3e5)])(),(0x0,_0x5cd61a['switchMap'])(_0x1aaea9=>_0x1aaea9?this['_collaborationController'][_0x53221c(0x10e)](_0x1aaea9):(0x0,_0x5cd61a['of'])(null)),(0x0,_0x5cd61a[_0x53221c(0x3b7)])(_0x554000=>(_0x554000==null?void 0x0:_0x554000[_0x53221c(0x119)])??(0x0,_0x5cd61a['of'])(_0x38f0f3['CollaborationStatus'][_0x53221c(0x15e)])))['subscribe'](_0x45e622=>_0x5eadf3[_0x53221c(0x3e8)](_0x45e622));_0xfc03d9['add']((0x0,_0xb6dbd1[_0x53221c(0x30f)])(()=>_0x4c36f9['unsubscribe']())),this['_presenceStatusRegistrations'][_0x53221c(0x12d)](_0x212429[_0x53221c(0x1f8)],_0xfc03d9);}};_0x59c70b=_0x2c4c13([_0xffa406(0x0,_0xb6dbd1[_0x1d996d(0x26a)]),_0xffa406(0x1,(0x0,_0xb6dbd1['Inject'])(_0xb6dbd1[_0x1d996d(0x31d)])),_0xffa406(0x2,(0x0,_0xb6dbd1[_0x1d996d(0x151)])(_0x38f0f3[_0x1d996d(0x15b)])),_0xffa406(0x3,_0x37794f[_0x1d996d(0x2e4)]),_0xffa406(0x4,(0x0,_0xb6dbd1[_0x1d996d(0x151)])(_0x37794f[_0x1d996d(0x164)]))],_0x59c70b);function _0x82373c(_0x2ba05c){const _0x14686d=_0x1d996d;let _0x2f49f2=_0x2ba05c[_0x14686d(0x1ef)](),_0x3d1cdf=_0x2f49f2==null?void 0x0:_0x2f49f2[_0x14686d(0x1f9)]();if(_0x3d1cdf&&!(0x0,_0xb6dbd1['isInternalEditorID'])(_0x3d1cdf))return _0x3d1cdf;let _0x16a19a=_0x2ba05c[_0x14686d(0x1fa)](_0xb6dbd1[_0x14686d(0x225)][_0x14686d(0x3f8)]),_0x233386=_0x16a19a==null?void 0x0:_0x16a19a[_0x14686d(0x1f9)]();if(_0x233386&&!(0x0,_0xb6dbd1[_0x14686d(0x10a)])(_0x233386))return _0x233386;let _0x305679=_0x2ba05c['getCurrentUnitOfType'](_0xb6dbd1[_0x14686d(0x225)][_0x14686d(0x397)]);if(_0x305679)return _0x305679['getUnitId']();let _0x2912e1=_0x2ba05c[_0x14686d(0x202)](_0xb6dbd1[_0x14686d(0x225)][_0x14686d(0x3f8)])[_0x14686d(0x26f)](_0x49e795=>!(0x0,_0xb6dbd1[_0x14686d(0x10a)])(_0x49e795['getUnitId']()));return _0x2912e1?_0x2912e1['getUnitId']():null;}function _0x3d0714(_0x4bfec0){let {status$:_0x5ad5d7}=_0x4bfec0;return function(){return(0x0,_0x43c095['jsx'])(_0x376d6f,{'status$':_0x5ad5d7});};}var _0x39d21a=_0x1d996d(0x275),_0x22a216=_0x1d996d(0x3c4);let _0x3d46d5={'id':_0x1d996d(0x37a),'type':_0xb6dbd1[_0x1d996d(0x14f)][_0x1d996d(0x195)],'handler':(_0x13a798,_0x26213f)=>{const _0x5657f8=_0x1d996d;let _0x265963=_0x13a798[_0x5657f8(0x3bc)](_0x37794f[_0x5657f8(0x164)])['get'](_0x26213f[_0x5657f8(0x1f8)]);if(!_0x265963)return!0x1;switch(_0x26213f[_0x5657f8(0x11e)]['type']){case _0x5657f8(0x12d):return _0x265963[_0x5657f8(0x393)](_0x26213f[_0x5657f8(0x11e)][_0x5657f8(0x363)]),!0x0;case _0x5657f8(0x2ab):return _0x265963[_0x5657f8(0x11a)](_0x26213f[_0x5657f8(0x11e)][_0x5657f8(0x22f)],_0x26213f[_0x5657f8(0x11e)][_0x5657f8(0x1df)]),!0x0;case _0x5657f8(0x113):return _0x265963[_0x5657f8(0x39b)](_0x26213f[_0x5657f8(0x11e)][_0x5657f8(0x22f)]),!0x0;default:return!0x1;}}},_0x418dd3={},_0x4fd7d2=class extends _0xb6dbd1['RxDisposable']{constructor(_0x3712e5,_0x18daf2){const _0x52079a=_0x1d996d;super(),this[_0x52079a(0x3ad)]=_0x3712e5,this[_0x52079a(0x232)]=_0x18daf2,this[_0x52079a(0x146)]();}['_init'](){const _0x49977d=_0x1d996d;let _0x26f377=this;this[_0x49977d(0x33e)](this['_docClipboardService'][_0x49977d(0x26e)]({'onBeforePasteImage':async _0x5d315b=>{const _0x28bf63=_0x49977d;let _0x233357=await _0x26f377['_imageIoService'][_0x28bf63(0xfe)](_0x5d315b);return _0x233357?{'source':_0x233357[_0x28bf63(0x375)],'imageSourceType':_0x233357[_0x28bf63(0x425)]}:null;}}));}};_0x4fd7d2=_0x2c4c13([_0xffa406(0x0,_0x3c528c['IDocClipboardService']),_0xffa406(0x1,_0xb6dbd1['IImageIoService'])],_0x4fd7d2);let _0x40e53e=[_0x1d996d(0x254),_0x1d996d(0x15f),_0x1d996d(0x1a6),_0x1d996d(0x178),_0x1d996d(0x38c),_0x1d996d(0x433)];var _0x4f0bf7=class extends _0xb6dbd1[_0x1d996d(0x148)]{constructor(..._0x3e35c9){const _0x109391=_0x1d996d;super(..._0x3e35c9),_0x5f2c7c(this,_0x109391(0x344),new Map()),_0x5f2c7c(this,'_colorIndex',0x0);}[_0x1d996d(0x378)](_0x5c4ebf){const _0xfb4151=_0x1d996d;if(this['_assignedColors'][_0xfb4151(0x379)](_0x5c4ebf))return this[_0xfb4151(0x344)][_0xfb4151(0x3bc)](_0x5c4ebf);let _0x26f752=_0x40e53e[this[_0xfb4151(0x3ff)]];return this['_colorIndex']=(this[_0xfb4151(0x3ff)]+0x1)%_0x40e53e[_0xfb4151(0x2d6)],this[_0xfb4151(0x344)][_0xfb4151(0x12d)](_0x5c4ebf,_0x26f752),_0x26f752;}};function _0x1042b6(_0x5a9764){let _0x48b6cd='';for(let _0x2bf6ab of _0x5a9764){let {startOffset:_0x12ab7b,endOffset:_0x57a49a,isActive:_0x278891,rangeType:_0x57b03a,segmentId:_0x1f8d5a,segmentPage:_0x4c035e}=_0x2bf6ab;_0x48b6cd['length']&&(_0x48b6cd+=','),_0x48b6cd+=_0x12ab7b+':'+_0x57a49a+':'+(_0x278891?'1':'0')+':'+_0x57b03a+':'+_0x1f8d5a+':'+_0x4c035e;}return _0x48b6cd;}function _0x5f0ce1(_0x4edf56){const _0x32ea4e=_0x1d996d;let _0x575bae=_0x4edf56[_0x32ea4e(0x1dd)](','),_0x451b87=[];for(let _0x78918e of _0x575bae){let [_0x438332,_0x304027,_0x5b1040,_0x3bb1b1,_0x20ee92,_0x11e2e4]=_0x78918e[_0x32ea4e(0x1dd)](':');_0x451b87[_0x32ea4e(0x261)]({'startOffset':Number(_0x438332),'endOffset':Number(_0x304027),'collapsed':_0x438332===_0x304027,'isActive':_0x5b1040==='1','rangeType':_0x3bb1b1===_0xb6dbd1[_0x32ea4e(0x14e)][_0x32ea4e(0x373)]?_0xb6dbd1[_0x32ea4e(0x14e)]['TEXT']:_0xb6dbd1[_0x32ea4e(0x14e)][_0x32ea4e(0x282)],'segmentId':typeof _0x20ee92==_0x32ea4e(0x170)?String(_0x20ee92):'','segmentPage':Number(_0x11e2e4??-0x1)});}return _0x451b87['some'](_0x38dfde=>_0x38dfde[_0x32ea4e(0x352)])||(_0x451b87[0x0][_0x32ea4e(0x352)]=!0x0),_0x451b87;}var _0xe2ae97=class extends _0xb6dbd1['RxDisposable']{constructor(..._0x16813a){const _0x1a5651=_0x1d996d;super(..._0x16813a),_0x5f2c7c(this,_0x1a5651(0x3e9),new _0x5cd61a[(_0x1a5651(0x35a))](null)),_0x5f2c7c(this,_0x1a5651(0x2c4),this[_0x1a5651(0x3e9)][_0x1a5651(0x1a2)]());}[_0x1d996d(0x3b9)](_0x33bef3){let {unitID:_0x4581b9,memberID:_0x3009d5,textRanges:_0x336511}=_0x33bef3,_0x515807=_0x1042b6(_0x336511);if(_0x515807==='')return;let _0x1b415c={'unitID':_0x4581b9,'memberID':_0x3009d5,'selection':_0x515807};this['_collabCursorState$']['next'](_0x1b415c);}};let _0x5e5198=class extends _0xb6dbd1['RxDisposable']{get[_0x1d996d(0x136)](){const _0x50327c=_0x1d996d;return this[_0x50327c(0x400)]['getValue']();}get[_0x1d996d(0x110)](){const _0x23074b=_0x1d996d;return this[_0x23074b(0x338)][_0x23074b(0x3f3)]();}constructor(_0xf82c54,_0x13c08e,_0x176c64,_0x447492,_0x59b876,_0x422915,_0x4ef2b3,_0x10d575,_0x825a32){const _0x3f7780=_0x1d996d;super(),this['unitID']=_0xf82c54,this[_0x3f7780(0x2fb)]=_0x13c08e,this[_0x3f7780(0x16b)]=_0x176c64,this[_0x3f7780(0x10b)]=_0x447492,this[_0x3f7780(0x416)]=_0x59b876,this[_0x3f7780(0x3c8)]=_0x422915,this[_0x3f7780(0x435)]=_0x4ef2b3,this[_0x3f7780(0x28b)]=_0x10d575,this[_0x3f7780(0x1b0)]=_0x825a32,_0x5f2c7c(this,_0x3f7780(0x265),!0x1),_0x5f2c7c(this,_0x3f7780(0x146),!0x1),_0x5f2c7c(this,_0x3f7780(0x400),new _0x5cd61a[(_0x3f7780(0x35a))](new Map())),_0x5f2c7c(this,_0x3f7780(0x1b6),this['_cursorInfo$']['asObservable']()),_0x5f2c7c(this,_0x3f7780(0x338),new _0x5cd61a[(_0x3f7780(0x35a))]([])),_0x5f2c7c(this,'roomMembers$',this['_roomMembers$'][_0x3f7780(0x181)]((0x0,_0x5cd61a[_0x3f7780(0x2d9)])(0x12c))),_0x5f2c7c(this,'_updateLocalCursor',(0x0,_0xb6dbd1[_0x3f7780(0x3e1)])(_0x2356d2=>{const _0x1cf622=_0x3f7780;let _0x1b7bc3={'eventID':_0x357287[_0x1cf622(0x1cf)][_0x1cf622(0x31a)],'data':{'unitID':this[_0x1cf622(0x12f)],'memberID':this[_0x1cf622(0x2fb)][_0x1cf622(0x3d4)](),'selection':_0x1042b6(_0x2356d2)}};this[_0x1cf622(0x2fb)][_0x1cf622(0x1aa)](_0x1b7bc3,this[_0x1cf622(0x12f)]);},0x64));}[_0x1d996d(0x39d)](){const _0x228aab=_0x1d996d;super[_0x228aab(0x39d)](),this[_0x228aab(0x400)][_0x228aab(0x3e8)](new Map()),this[_0x228aab(0x400)][_0x228aab(0x1b1)](),this['_roomMembers$'][_0x228aab(0x3e8)]([]),this[_0x228aab(0x338)][_0x228aab(0x1b1)]();}[_0x1d996d(0x320)](){const _0x2e8a3c=_0x1d996d;this[_0x2e8a3c(0x146)]||(this[_0x2e8a3c(0x146)]=!0x0,this[_0x2e8a3c(0x2fb)][_0x2e8a3c(0x1f1)]['pipe']((0x0,_0x5cd61a[_0x2e8a3c(0x2fa)])(this[_0x2e8a3c(0x117)]))[_0x2e8a3c(0x267)](_0x2502dc=>{const _0x3a9df7=_0x2e8a3c;_0x2502dc===_0x38f0f3[_0x3a9df7(0xea)][_0x3a9df7(0x317)]?this['_toggleOnline']():this[_0x3a9df7(0x32d)]();}),this[_0x2e8a3c(0x2fb)][_0x2e8a3c(0x255)][_0x2e8a3c(0x181)]((0x0,_0x5cd61a['takeUntil'])(this['dispose$']))[_0x2e8a3c(0x267)](_0x5f36ef=>{const _0x1d9bdc=_0x2e8a3c;let _0x5d6171=_0x5f36ef['eventID'];_0x5d6171===_0x357287['CollaborationEvent'][_0x1d9bdc(0x31a)]&&this['_onCursorUpdate'](_0x5f36ef),_0x5d6171===_0x357287['CollaborationEvent']['USERS_LEAVE']&&this[_0x1d9bdc(0x131)](_0x5f36ef);}),this[_0x2e8a3c(0x33e)](this[_0x2e8a3c(0x1b0)]['onCommandExecuted'](_0x237f8a=>{const _0x1756b6=_0x2e8a3c;let _0xbcc73=_0x237f8a[_0x1756b6(0x245)];_0xbcc73!=null&&this[_0x1756b6(0x265)]&&_0x237f8a['id']===_0xc5bded[_0x1756b6(0x207)]['id']&&_0xbcc73['unitId']===this[_0x1756b6(0x12f)]&&_0xbcc73[_0x1756b6(0x360)]===!0x1&&_0xbcc73[_0x1756b6(0x331)][_0x1756b6(0x2d6)]>0x0&&this[_0x1756b6(0x38d)](_0xbcc73[_0x1756b6(0x331)]);})),this['_syncEditingCollabCursorService'][_0x2e8a3c(0x2c4)][_0x2e8a3c(0x181)]((0x0,_0x5cd61a[_0x2e8a3c(0x2fa)])(this[_0x2e8a3c(0x117)]))[_0x2e8a3c(0x267)](_0x26fee3=>{const _0x90e44e=_0x2e8a3c;if((_0x26fee3==null?void 0x0:_0x26fee3[_0x90e44e(0x12f)])!==this[_0x90e44e(0x12f)])return;let _0x27d97a={'eventID':_0x357287[_0x90e44e(0x1cf)][_0x90e44e(0x31a)],'data':_0x26fee3};this[_0x90e44e(0x271)](_0x27d97a);}),this['disposeWithMe'](this[_0x2e8a3c(0x1b0)][_0x2e8a3c(0x102)](_0x2839eb=>{const _0x323a7a=_0x2e8a3c;if(_0x2839eb[_0x323a7a(0x245)]==null)return;let _0x33117e=_0x2839eb[_0x323a7a(0x245)];if(_0x2839eb['id']!==_0xc5bded[_0x323a7a(0x3b4)]['id']||_0x33117e[_0x323a7a(0x22f)]!==this[_0x323a7a(0x12f)])return;let _0x56ebb4={'id':'doc.mutation.rich-text-editing','params':_0x33117e},_0x2e52c2=this[_0x323a7a(0x136)];for(let [_0x10ac5c,_0x5b92f1]of _0x2e52c2){let _0x4416f1={'id':_0x323a7a(0x330),'params':{'unitId':this[_0x323a7a(0x12f)],'actions':null,'textRanges':_0x5b92f1[_0x323a7a(0x331)]}},_0x4592e3=this[_0x323a7a(0x435)][_0x323a7a(0x3bf)](_0x56ebb4,_0x4416f1,!0x1);if((0x0,_0x357287[_0x323a7a(0x316)])(_0x4592e3))throw _0x4592e3[_0x323a7a(0x343)];_0x2e52c2[_0x323a7a(0x12d)](_0x10ac5c,{..._0x5b92f1,'ranges':_0x4592e3[_0x323a7a(0x1c8)]['params'][_0x323a7a(0x35f)]});}queueMicrotask(()=>{const _0x31620a=_0x323a7a;this[_0x31620a(0x400)]['next'](_0x2e52c2);});})));}[_0x1d996d(0x271)](_0x846ffa){const _0x1229dd=_0x1d996d;var _0x1127a3;let {memberID:_0x23b024,selection:_0x33e8f3}=_0x846ffa[_0x1229dd(0x432)],_0x2ec965=_0x5f0ce1(_0x33e8f3),_0x1ce051=((_0x1127a3=this[_0x1229dd(0x416)][_0x1229dd(0x25d)](this[_0x1229dd(0x12f)],_0x23b024))==null?void 0x0:_0x1127a3[_0x1229dd(0x3c7)])??'Unknown\x20user',_0x40d49a={'color':this[_0x1229dd(0x10b)][_0x1229dd(0x378)](_0x23b024),'name':_0x1ce051,'ranges':_0x2ec965},_0x2af07f=this[_0x1229dd(0x136)];_0x2af07f['set'](_0x23b024,_0x40d49a),this[_0x1229dd(0x400)][_0x1229dd(0x3e8)](_0x2af07f);}[_0x1d996d(0x131)](_0xa252ff){const _0x922cf6=_0x1d996d;let {memberID:_0x3c81eb}=_0xa252ff['data'],_0xa6c5ef=this[_0x922cf6(0x136)];_0xa6c5ef[_0x922cf6(0x403)](_0x3c81eb),this[_0x922cf6(0x400)][_0x922cf6(0x3e8)](_0xa6c5ef);}['_toggleOnline'](){const _0x462973=_0x1d996d;var _0x349828;if(this[_0x462973(0x265)]=!0x0,((_0x349828=this[_0x462973(0x28b)][_0x462973(0x1ef)]())==null?void 0x0:_0x349828[_0x462973(0x1f9)]())!==this[_0x462973(0x12f)])return;let _0xec0b11=this[_0x462973(0x16b)][_0x462973(0x3bc)](_0xc5bded[_0x462973(0xd4)])[_0x462973(0x24a)]();Array[_0x462973(0xd3)](_0xec0b11)&&_0xec0b11[_0x462973(0x2d6)]>0x0&&this['_updateLocalCursor'](_0xec0b11);}[_0x1d996d(0x32d)](){const _0x2e4bb6=_0x1d996d;this[_0x2e4bb6(0x265)]=!0x1;}};_0x5e5198=_0x2c4c13([_0xffa406(0x2,(0x0,_0xb6dbd1[_0x1d996d(0x151)])(_0xb6dbd1[_0x1d996d(0x31d)])),_0xffa406(0x3,(0x0,_0xb6dbd1[_0x1d996d(0x151)])(_0x4f0bf7)),_0xffa406(0x4,(0x0,_0xb6dbd1['Inject'])(_0x38f0f3['MemberService'])),_0xffa406(0x5,(0x0,_0xb6dbd1[_0x1d996d(0x151)])(_0xe2ae97)),_0xffa406(0x6,_0x357287[_0x1d996d(0x222)]),_0xffa406(0x7,_0xb6dbd1[_0x1d996d(0x26a)]),_0xffa406(0x8,_0xb6dbd1[_0x1d996d(0x20d)])],_0x5e5198);let _0x5d2a50=()=>{let _0x3625e7=[],_0x32ee8b=!0x1;return _0x256916=>{_0x3625e7['push'](_0x256916),_0x32ee8b||(_0x32ee8b=!0x0,setTimeout(()=>{const _0x2d2ff6=_0x107c;_0x3625e7[_0x2d2ff6(0x30d)](_0x5b2138=>_0x5b2138()),_0x3625e7=[],_0x32ee8b=!0x1;}));};},_0x16e86b=class extends _0xb6dbd1[_0x1d996d(0x406)]{get[_0x1d996d(0x136)](){const _0x43e254=_0x1d996d;return this[_0x43e254(0x400)][_0x43e254(0x3f3)]();}get[_0x1d996d(0x110)](){const _0x2030f4=_0x1d996d;return this['_roomMembers$'][_0x2030f4(0x3f3)]();}constructor(_0x1b4e6d,_0x378abe,_0x47b60d,_0x2cbed1,_0x4f588a,_0x30c67a,_0x1f32d4,_0x3c7768){const _0x156a79=_0x1d996d;super(),this[_0x156a79(0x12f)]=_0x1b4e6d,this[_0x156a79(0x2fb)]=_0x378abe,this['_injector']=_0x47b60d,this[_0x156a79(0x10b)]=_0x2cbed1,this['_memberService']=_0x4f588a,this[_0x156a79(0x28b)]=_0x30c67a,this[_0x156a79(0x1b0)]=_0x1f32d4,this['_refRangeService']=_0x3c7768,_0x5f2c7c(this,_0x156a79(0x265),!0x1),_0x5f2c7c(this,_0x156a79(0x146),!0x1),_0x5f2c7c(this,_0x156a79(0x400),new _0x5cd61a[(_0x156a79(0x35a))](new Map())),_0x5f2c7c(this,_0x156a79(0x1b6),this['_cursorInfo$'][_0x156a79(0x1a2)]()),_0x5f2c7c(this,_0x156a79(0x338),new _0x5cd61a[(_0x156a79(0x35a))]([])),_0x5f2c7c(this,_0x156a79(0x285),this['_roomMembers$'][_0x156a79(0x181)]((0x0,_0x5cd61a[_0x156a79(0x2d9)])(0x12c))),_0x5f2c7c(this,'_updateLocalCursor',(0x0,_0xb6dbd1[_0x156a79(0x3e1)])((_0x2bc685,_0x11171d)=>{const _0x15085a=_0x156a79;let _0x129f93={'eventID':_0x357287[_0x15085a(0x1cf)][_0x15085a(0x31a)],'data':{'unitID':this[_0x15085a(0x12f)],'memberID':this[_0x15085a(0x2fb)][_0x15085a(0x3d4)](),'selection':(0x0,_0x5aa837[_0x15085a(0x3a9)])(_0x2bc685,_0x11171d[_0x15085a(0x30a)])}};this['_session'][_0x15085a(0x1aa)](_0x129f93,this[_0x15085a(0x12f)]);},0x64));}[_0x1d996d(0x39d)](){const _0x2e85ab=_0x1d996d;super[_0x2e85ab(0x39d)](),this[_0x2e85ab(0x400)]['next'](new Map()),this[_0x2e85ab(0x400)]['complete'](),this[_0x2e85ab(0x338)][_0x2e85ab(0x3e8)]([]),this['_roomMembers$'][_0x2e85ab(0x1b1)]();}[_0x1d996d(0x320)](){const _0x3006b5=_0x1d996d;this['_init']||(this[_0x3006b5(0x146)]=!0x0,this[_0x3006b5(0x2fb)][_0x3006b5(0x1f1)][_0x3006b5(0x181)]((0x0,_0x5cd61a['takeUntil'])(this['dispose$']))[_0x3006b5(0x267)](_0xafb3dd=>{const _0x33657b=_0x3006b5;_0xafb3dd===_0x38f0f3[_0x33657b(0xea)][_0x33657b(0x317)]?this['_toggleOnline']():this[_0x33657b(0x32d)]();}),this[_0x3006b5(0x2fb)]['event$'][_0x3006b5(0x181)]((0x0,_0x5cd61a[_0x3006b5(0x2fa)])(this['dispose$']))[_0x3006b5(0x267)](_0x14e53f=>{const _0x547158=_0x3006b5;let _0x5e0797=_0x14e53f['eventID'];_0x5e0797===_0x357287[_0x547158(0x1cf)]['UPDATE_CURSOR']&&this[_0x547158(0x271)](_0x14e53f),_0x5e0797===_0x357287[_0x547158(0x1cf)][_0x547158(0x155)]&&this[_0x547158(0x131)](_0x14e53f);}),this['_onRefRangeChange'](),this[_0x3006b5(0x33e)](this[_0x3006b5(0x1b0)][_0x3006b5(0x102)](_0x466257=>{const _0x21ca75=_0x3006b5;if(this[_0x21ca75(0x265)]&&_0x466257['id']===_0x3f6b5f[_0x21ca75(0x31b)]['id']&&_0x466257[_0x21ca75(0x245)]['unitId']===this[_0x21ca75(0x12f)]){let _0x402151=_0x466257[_0x21ca75(0x245)];this[_0x21ca75(0x38d)](_0x402151[_0x21ca75(0x33d)],_0x402151[_0x21ca75(0x1b8)][0x0]);}})));}['_onCursorUpdate'](_0x3ad2f6){const _0x127616=_0x1d996d;var _0x460616;let {memberID:_0xd03a4a,selection:_0x1f14c0}=_0x3ad2f6['data'],{sheetName:_0x40b3f5,range:_0x5f56b9}=(0x0,_0x5aa837[_0x127616(0x1c9)])(_0x1f14c0),_0x4bdcf3={'name':((_0x460616=this['_memberService'][_0x127616(0x25d)](this['unitID'],_0xd03a4a))==null?void 0x0:_0x460616['name'])??_0x127616(0x2f0),'range':this[_0x127616(0x186)](_0x40b3f5,_0x5f56b9),'sheetID':_0x40b3f5,'color':this[_0x127616(0x10b)][_0x127616(0x378)](_0xd03a4a),'selection':_0x1f14c0},_0x276f1a=this[_0x127616(0x136)];_0x276f1a['set'](_0xd03a4a,_0x4bdcf3),this[_0x127616(0x400)][_0x127616(0x3e8)](_0x276f1a);}['_onCursorDelete'](_0xe355f){const _0x3d2725=_0x1d996d;let {memberID:_0x5206fc}=_0xe355f['data'],_0x37e43d=this[_0x3d2725(0x136)];_0x37e43d[_0x3d2725(0x403)](_0x5206fc),this[_0x3d2725(0x400)][_0x3d2725(0x3e8)](_0x37e43d);}[_0x1d996d(0x186)](_0x1eaca9,_0x16c207){const _0x1a47ef=_0x1d996d;var _0x33dcb8;let _0x1e295c=(_0x33dcb8=this[_0x1a47ef(0x28b)]['getUnit'](this[_0x1a47ef(0x12f)],_0xb6dbd1['UniverInstanceType'][_0x1a47ef(0x397)]))==null||(_0x33dcb8=_0x33dcb8['getSheetBySheetId'](_0x1eaca9))==null?void 0x0:_0x33dcb8[_0x1a47ef(0x38a)]();return(_0x1e295c==null?void 0x0:_0x1e295c['find'](_0x41f5bb=>_0xb6dbd1[_0x1a47ef(0x23c)][_0x1a47ef(0x396)](_0x41f5bb,_0x16c207)))||_0x16c207;}['_onRefRangeChange'](){const _0x47b5ff=_0x1d996d;let _0x1c219e=new _0xb6dbd1[(_0x47b5ff(0x447))](),_0x34c28a=_0x5d2a50(),_0x1a7175=()=>{const _0x40eee5=_0x47b5ff;_0x1c219e[_0x40eee5(0x39d)]();let _0x30484c=(_0x1dbb67,_0x34d13e,_0x32de14,_0x1ce847)=>{const _0x51cc19=_0x40eee5;let _0x239371=[];switch(_0x1dbb67['id']){case _0x3f6b5f[_0x51cc19(0x3ea)][_0x51cc19(0x25f)]:_0x239371=(0x0,_0x3f6b5f['handleDeleteRangeMoveLeft'])(_0x1dbb67,_0x1ce847);break;case _0x3f6b5f[_0x51cc19(0x3ea)][_0x51cc19(0x24f)]:_0x239371=(0x0,_0x3f6b5f[_0x51cc19(0x438)])(_0x1dbb67,_0x1ce847);break;case _0x3f6b5f['EffectRefRangId'][_0x51cc19(0x44c)]:_0x239371=(0x0,_0x3f6b5f[_0x51cc19(0x408)])(_0x1dbb67,_0x1ce847);break;case _0x3f6b5f['EffectRefRangId']['InsertRangeMoveDownCommandId']:_0x239371=(0x0,_0x3f6b5f[_0x51cc19(0x325)])(_0x1dbb67,_0x1ce847);break;case _0x3f6b5f[_0x51cc19(0x3ea)]['InsertRangeMoveRightCommandId']:_0x239371=(0x0,_0x3f6b5f['handleInsertRangeMoveRight'])(_0x1dbb67,_0x1ce847);break;case _0x3f6b5f[_0x51cc19(0x3ea)][_0x51cc19(0x299)]:_0x239371=(0x0,_0x3f6b5f[_0x51cc19(0x2c0)])(_0x1dbb67,_0x1ce847);break;case _0x3f6b5f[_0x51cc19(0x3ea)][_0x51cc19(0x11b)]:_0x239371=(0x0,_0x3f6b5f['handleMoveRange'])(_0x1dbb67,_0x1ce847);break;case _0x3f6b5f[_0x51cc19(0x3ea)]['RemoveColCommandId']:_0x239371=(0x0,_0x3f6b5f[_0x51cc19(0x1ba)])(_0x1dbb67,_0x1ce847);break;case _0x3f6b5f[_0x51cc19(0x3ea)][_0x51cc19(0x2c5)]:_0x239371=(0x0,_0x3f6b5f[_0x51cc19(0x1c4)])(_0x1dbb67,_0x1ce847);break;}let _0x13b072=(0x0,_0x3f6b5f[_0x51cc19(0x2b9)])(_0x239371,_0x1ce847),_0x2b7e85=this['cursorInfo'][_0x51cc19(0x3bc)](_0x34d13e);if(_0x2b7e85&&_0x13b072){let _0x93196a={..._0x2b7e85,'range':_0x13b072};this[_0x51cc19(0x136)][_0x51cc19(0x12d)](_0x34d13e,_0x93196a),_0x34c28a(()=>{const _0x4ed53f=_0x51cc19;let _0x41c285=this[_0x4ed53f(0x165)]['registerRefRange'](_0x13b072,_0x4f188d=>(_0x41c285[_0x4ed53f(0x39d)](),_0x30484c(_0x4f188d,_0x34d13e,_0x32de14,_0x13b072)));_0x1c219e[_0x4ed53f(0x2c6)](_0x41c285);});}return{'redos':[],'undos':[]};};this[_0x40eee5(0x136)][_0x40eee5(0x30d)]((_0x1b41d5,_0x122d7f)=>{const _0x137f92=_0x40eee5;let {range:_0x18d6d9,sheetID:_0x10d8b0}=_0x1b41d5,_0x29beae=this[_0x137f92(0x165)][_0x137f92(0x3f7)](_0x18d6d9,_0x4945e4=>(_0x29beae[_0x137f92(0x39d)](),_0x30484c(_0x4945e4,_0x122d7f,_0x10d8b0,_0x18d6d9)));_0x1c219e[_0x137f92(0x2c6)](_0x29beae);});};this['disposeWithMe']((0x0,_0xb6dbd1[_0x47b5ff(0x30f)])(this[_0x47b5ff(0x400)][_0x47b5ff(0x267)](()=>{_0x1a7175();})));}[_0x1d996d(0x3af)](){const _0x1616bb=_0x1d996d;var _0x4dd571,_0x1f9f7e;if(this['_online']=!0x0,((_0x4dd571=this[_0x1616bb(0x28b)]['getFocusedUnit']())==null?void 0x0:_0x4dd571['getUnitId']())!==this[_0x1616bb(0x12f)])return;let _0x534a48=(_0x1f9f7e=this[_0x1616bb(0x16b)][_0x1616bb(0x3bc)](_0x3f6b5f[_0x1616bb(0x27e)])[_0x1616bb(0x13d)]())==null?void 0x0:_0x1f9f7e[0x0],_0x17a41f=this[_0x1616bb(0x28b)][_0x1616bb(0x1fa)](_0xb6dbd1[_0x1616bb(0x225)][_0x1616bb(0x397)])['getActiveSheet']();_0x534a48&&_0x17a41f&&this[_0x1616bb(0x38d)](_0x17a41f[_0x1616bb(0x128)](),_0x534a48);}[_0x1d996d(0x32d)](){const _0x3f838a=_0x1d996d;this[_0x3f838a(0x265)]=!0x1;}};_0x16e86b=_0x2c4c13([_0xffa406(0x2,(0x0,_0xb6dbd1[_0x1d996d(0x151)])(_0xb6dbd1[_0x1d996d(0x31d)])),_0xffa406(0x3,(0x0,_0xb6dbd1[_0x1d996d(0x151)])(_0x4f0bf7)),_0xffa406(0x4,(0x0,_0xb6dbd1['Inject'])(_0x38f0f3[_0x1d996d(0x33b)])),_0xffa406(0x5,_0xb6dbd1[_0x1d996d(0x26a)]),_0xffa406(0x6,_0xb6dbd1[_0x1d996d(0x20d)]),_0xffa406(0x7,(0x0,_0xb6dbd1[_0x1d996d(0x151)])(_0x3f6b5f[_0x1d996d(0x354)]))],_0x16e86b);let _0x1ab76e=class extends _0xb6dbd1[_0x1d996d(0x406)]{constructor(_0xd527e6,_0x547858,_0x413522){const _0x164826=_0x1d996d;super(),this['_univerInstanceService']=_0xd527e6,this[_0x164826(0x16b)]=_0x547858,this[_0x164826(0x39a)]=_0x413522,_0x5f2c7c(this,_0x164826(0x122),new Map()),_0x5f2c7c(this,_0x164826(0x120),new _0x5cd61a[(_0x164826(0x412))]()),this[_0x164826(0x146)]();}[_0x1d996d(0x39d)](){const _0x4ce72a=_0x1d996d;super[_0x4ce72a(0x39d)](),this[_0x4ce72a(0x120)][_0x4ce72a(0x1b1)](),this[_0x4ce72a(0x122)][_0x4ce72a(0x30d)](_0x247b3f=>_0x247b3f[_0x4ce72a(0x39d)]());}[_0x1d996d(0x40a)](_0x506465){const _0x334cd0=_0x1d996d;let _0x40e8a4=this[_0x334cd0(0x122)]['get'](_0x506465);return _0x40e8a4?_0x40e8a4[_0x334cd0(0x1b6)]:this[_0x334cd0(0x120)][_0x334cd0(0x181)]((0x0,_0x5cd61a[_0x334cd0(0x29b)])(_0x23971f=>_0x23971f[_0x334cd0(0x12f)]===_0x506465),(0x0,_0x5cd61a[_0x334cd0(0x3b7)])(_0x46f72a=>_0x46f72a['cursorInfo$']));}['_init'](){const _0xf2a7a9=_0x1d996d;this['_univerInstanceService'][_0xf2a7a9(0x1db)](_0xb6dbd1[_0xf2a7a9(0x225)][_0xf2a7a9(0x397)])[_0xf2a7a9(0x181)]((0x0,_0x5cd61a[_0xf2a7a9(0x2fa)])(this[_0xf2a7a9(0x117)]))[_0xf2a7a9(0x267)](async _0x2c4cb8=>{const _0x2e96dc=_0xf2a7a9;let _0x1a4f7a=_0x2c4cb8[_0x2e96dc(0x3c2)][_0x2e96dc(0x1f9)](),_0x2ec432=await this[_0x2e96dc(0x40f)](_0x1a4f7a);this[_0x2e96dc(0x120)][_0x2e96dc(0x3e8)](_0x2ec432),this['_entities'][_0x2e96dc(0x12d)](_0x1a4f7a,_0x2ec432);}),this[_0xf2a7a9(0x28b)]['getTypeOfUnitAdded$'](_0xb6dbd1[_0xf2a7a9(0x225)][_0xf2a7a9(0x3f8)])[_0xf2a7a9(0x181)]((0x0,_0x5cd61a[_0xf2a7a9(0x2fa)])(this['dispose$']))[_0xf2a7a9(0x181)]((0x0,_0x5cd61a[_0xf2a7a9(0x29b)])(_0x16c149=>!_0x16c149[_0xf2a7a9(0x3c2)]['getUnitId']()[_0xf2a7a9(0x19c)]('__')))[_0xf2a7a9(0x267)](async _0x2d512e=>{const _0x5816e5=_0xf2a7a9;let {unit:_0x10b732}=_0x2d512e,_0x55bebf=_0x10b732[_0x5816e5(0x1f9)](),_0x33b115=await this[_0x5816e5(0x424)](_0x55bebf);this[_0x5816e5(0x120)][_0x5816e5(0x3e8)](_0x33b115),this[_0x5816e5(0x122)]['set'](_0x55bebf,_0x33b115);}),(0x0,_0x5cd61a[_0xf2a7a9(0x212)])(this[_0xf2a7a9(0x28b)]['getTypeOfUnitDisposed$'](_0xb6dbd1[_0xf2a7a9(0x225)][_0xf2a7a9(0x3f8)]),this[_0xf2a7a9(0x28b)][_0xf2a7a9(0x35e)](_0xb6dbd1[_0xf2a7a9(0x225)][_0xf2a7a9(0x397)]))[_0xf2a7a9(0x181)]((0x0,_0x5cd61a['takeUntil'])(this[_0xf2a7a9(0x117)]))['subscribe'](_0x3e0137=>{const _0x21c8ed=_0xf2a7a9;let _0x43efae=_0x3e0137[_0x21c8ed(0x1f9)](),_0x28e2c5=this[_0x21c8ed(0x122)]['get'](_0x43efae);_0x28e2c5&&(_0x28e2c5[_0x21c8ed(0x39d)](),this[_0x21c8ed(0x122)][_0x21c8ed(0x403)](_0x43efae));});}async['_startSheetCollabCursor'](_0x4e0f44){const _0x37eba1=_0x1d996d;let _0xca378c=await this[_0x37eba1(0x39a)]['requireSession'](_0x4e0f44),_0x4b79fb=this[_0x37eba1(0x16b)][_0x37eba1(0x247)](_0x16e86b,_0x4e0f44,_0xca378c);return _0x4b79fb[_0x37eba1(0x320)](),_0x4b79fb;}async['_startDocCollabCursor'](_0x18c2ee){const _0x1aba9e=_0x1d996d;let _0x2f6593=await this[_0x1aba9e(0x39a)][_0x1aba9e(0x182)](_0x18c2ee),_0x7ddc5e=this[_0x1aba9e(0x16b)][_0x1aba9e(0x247)](_0x5e5198,_0x18c2ee,_0x2f6593);return _0x7ddc5e[_0x1aba9e(0x320)](),_0x7ddc5e;}};_0x1ab76e=_0x2c4c13([_0xffa406(0x0,_0xb6dbd1[_0x1d996d(0x26a)]),_0xffa406(0x1,(0x0,_0xb6dbd1[_0x1d996d(0x151)])(_0xb6dbd1['Injector'])),_0xffa406(0x2,(0x0,_0xb6dbd1[_0x1d996d(0x151)])(_0x38f0f3[_0x1d996d(0x3e3)]))],_0x1ab76e);function _0x4c5e15(_0x24b17d,_0x3937f2){const _0x1bec03=_0x1d996d;_0x24b17d[_0x1bec03(0x11d)](),_0x24b17d[_0x1bec03(0x367)]=_0x1bec03(0x21c);let _0x24297c=_0x24b17d[_0x1bec03(0x2bb)](_0x3937f2)[_0x1bec03(0x3da)];return _0x24b17d[_0x1bec03(0x43a)](),Math[_0x1bec03(0x41e)](_0x24297c+0x8,0xc8);}function _0x548d63(_0x5a8305,_0x437425){const _0x1d4f35=_0x1d996d;let {radius:_0x3f88c8,width:_0x35ef38,height:_0x513611}=_0x437425;_0x3f88c8??=0x0,_0x35ef38??=0x1e,_0x513611??=0x1e;let _0x4d6f07=0x0,_0x110c8a=0x0,_0x441b34=0x0;_0x4d6f07=_0x110c8a=_0x441b34=Math[_0x1d4f35(0x41e)](_0x3f88c8,_0x35ef38/0x2,_0x513611/0x2),_0x5a8305[_0x1d4f35(0x3ba)](),_0x5a8305[_0x1d4f35(0x2da)](_0x4d6f07,0x0),_0x5a8305['lineTo'](_0x35ef38-_0x110c8a,0x0),_0x5a8305[_0x1d4f35(0x17e)](_0x35ef38-_0x110c8a,_0x110c8a,_0x110c8a,Math['PI']*0x3/0x2,0x0,!0x1),_0x5a8305[_0x1d4f35(0x15c)](_0x35ef38,_0x513611-_0x441b34),_0x5a8305[_0x1d4f35(0x17e)](_0x35ef38-_0x441b34,_0x513611-_0x441b34,_0x441b34,0x0,Math['PI']/0x2,!0x1),_0x5a8305[_0x1d4f35(0x15c)](0x0,_0x513611),_0x5a8305['lineTo'](0x0,_0x4d6f07),_0x5a8305['arc'](_0x4d6f07,_0x4d6f07,_0x4d6f07,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5a8305[_0x1d4f35(0x26c)](),_0x437425[_0x1d4f35(0x197)]&&(_0x5a8305[_0x1d4f35(0x11d)](),_0x5a8305[_0x1d4f35(0x3ed)]=_0x437425[_0x1d4f35(0x197)],_0x437425[_0x1d4f35(0x268)]===_0x1d4f35(0x329)?_0x5a8305['fill'](_0x1d4f35(0x329)):_0x5a8305[_0x1d4f35(0x197)](),_0x5a8305[_0x1d4f35(0x43a)]());}var _0x512cb2=class _0x48037b extends _0x3eda51[_0x1d996d(0x1b5)]{constructor(_0x1112c7,_0x320bce){const _0x2a5eaa=_0x1d996d;super(_0x1112c7,_0x320bce),_0x5f2c7c(this,_0x2a5eaa(0x12c),void 0x0),_0x5f2c7c(this,_0x2a5eaa(0x259),void 0x0),this[_0x2a5eaa(0x12c)]=_0x320bce==null?void 0x0:_0x320bce['color'],this[_0x2a5eaa(0x259)]=_0x320bce==null?void 0x0:_0x320bce[_0x2a5eaa(0x259)];}static[_0x1d996d(0x2d1)](_0x5b573b,_0x874ff){const _0xee25c8=_0x1d996d;let {text:_0x239656,color:_0x290bac}=_0x874ff;_0x5b573b['save'](),_0x5b573b[_0xee25c8(0x367)]=_0xee25c8(0x3d8);let _0x56739b=_0x5b573b[_0xee25c8(0x2bb)](_0x239656)[_0xee25c8(0x3da)];if(_0x548d63(_0x5b573b,{'height':0x14,'radius':0x4,'width':_0x4c5e15(_0x5b573b,_0x239656),'fill':_0x290bac,'evented':!0x1}),_0x5b573b['fillStyle']=_0xee25c8(0x235),_0x56739b>0xc0){let _0x2cb5cf='',_0x1e5901=0x0;for(let _0x32ea54 of _0x239656){let _0x1c302b=_0x5b573b[_0xee25c8(0x2bb)](_0x32ea54)[_0xee25c8(0x3da)];if(_0x1e5901+_0x1c302b<=0xc0-_0x5b573b[_0xee25c8(0x2bb)]('...')[_0xee25c8(0x3da)])_0x2cb5cf+=_0x32ea54,_0x1e5901+=_0x1c302b;else{_0x2cb5cf+='...';break;}}_0x5b573b['fillText'](_0x2cb5cf,0x4,0xf);}else _0x5b573b[_0xee25c8(0x296)](_0x239656,0x4,0xf);_0x5b573b['restore']();}[_0x1d996d(0x1d7)](_0x1fcb25){const _0x143f7c=_0x1d996d;_0x48037b[_0x143f7c(0x2d1)](_0x1fcb25,this);}};let _0x287d24=_0x1d996d(0x402);var _0x2a5878=class{constructor(_0x541938,_0x4aa3e0,_0xad791d,_0x11ca88){const _0x4f480d=_0x1d996d;this['_cursor']=_0x541938,this[_0x4f480d(0x191)]=_0x4aa3e0,this[_0x4f480d(0x388)]=_0xad791d,this[_0x4f480d(0x1e6)]=_0x11ca88,_0x5f2c7c(this,_0x4f480d(0x18c),[]),_0x5f2c7c(this,_0x4f480d(0x2e9),null),_0x5f2c7c(this,_0x4f480d(0x34c),null),_0x5f2c7c(this,_0x4f480d(0x441),null),_0x5f2c7c(this,_0x4f480d(0x289),null),_0x5f2c7c(this,_0x4f480d(0x3cc),null),this['_render']();}set['_hover'](_0x143607){const _0x5b8e5f=_0x1d996d;_0x143607?(this[_0x5b8e5f(0x441)]&&this[_0x5b8e5f(0x441)]['hide'](),this[_0x5b8e5f(0x34c)]&&this['_textBubble'][_0x5b8e5f(0x3df)]()):(this[_0x5b8e5f(0x441)]&&this['_anchorDot'][_0x5b8e5f(0x3df)](),this[_0x5b8e5f(0x34c)]&&this[_0x5b8e5f(0x34c)][_0x5b8e5f(0x446)]());}[_0x1d996d(0x39d)](){const _0xcbef64=_0x1d996d;for(let _0x572164 of this['_shapes'])_0x572164['dispose']();this[_0xcbef64(0x34c)]&&this[_0xcbef64(0x34c)][_0xcbef64(0x39d)](),this[_0xcbef64(0x441)]&&this[_0xcbef64(0x441)][_0xcbef64(0x39d)](),this[_0xcbef64(0x2e9)]&&this[_0xcbef64(0x2e9)][_0xcbef64(0x39d)](),this[_0xcbef64(0x3cc)]&&this['_eventUnsubscribe']();}['_render'](){const _0x9a402f=_0x1d996d;let {_docSkeleton:_0x1bf082,_document:_0x398987}=this,{color:_0x223e24,name:_0x161e9e,ranges:_0x20f67b}=this[_0x9a402f(0x12a)],_0x94d88=_0x398987[_0x9a402f(0x3fd)](),{docsLeft:_0x27e3cf,docsTop:_0x1f0952}=_0x94d88,_0x1fa938=new _0x3c528c[(_0x9a402f(0x1a3))](_0x94d88,_0x1bf082);for(let {startOffset:_0x13c49b,endOffset:_0x182786,rangeType:_0x2ebdce,segmentId:_0x2a82a0,segmentPage:_0x275360,collapsed:_0x1882f5,isActive:_0x27186c}of _0x20f67b){let _0xbcfebd=_0x1bf082[_0x9a402f(0xe8)](_0x13c49b,!0x0,_0x2a82a0,_0x275360),_0x42accb=_0x1bf082[_0x9a402f(0xe8)](_0x182786,!0x0,_0x2a82a0,_0x275360);_0x42accb??=_0x1bf082[_0x9a402f(0xe8)](_0x182786-0x1,!0x1,_0x2a82a0,_0x275360);let _0x471812=_0x336167(_0xbcfebd,_0x42accb);if(_0x27186c&&_0x471812[_0x9a402f(0x153)]){let {contentBoxPointGroup:_0x1ffbb7}=_0x1fa938[_0x9a402f(0x3a8)](_0x42accb,_0x42accb);if(_0x1ffbb7['length']===0x0)continue;this[_0x9a402f(0x421)](_0x223e24,_0x1ffbb7,_0x27e3cf,_0x1f0952,_0x161e9e),this[_0x9a402f(0x3cc)]=this[_0x9a402f(0x304)]();}if(_0xbcfebd&&_0x42accb){if(_0x2ebdce===_0xb6dbd1['DOC_RANGE_TYPE'][_0x9a402f(0x282)]){let {pointGroup:_0x137fdd}=new _0x3c528c[(_0x9a402f(0x214))](_0x94d88,_0x1bf082)[_0x9a402f(0x3a8)](_0xbcfebd,_0x42accb)??{};if(_0x137fdd==null||_0x137fdd[_0x9a402f(0x2d6)]===0x0)continue;this[_0x9a402f(0x204)](_0x223e24,_0x137fdd,_0x27e3cf,_0x1f0952);}else{if(!_0x1882f5&&_0x471812[_0x9a402f(0x138)]){let {borderBoxPointGroup:_0x1c43dd}=_0x1fa938['getRangePointData'](_0xbcfebd,_0x42accb);if(_0x1c43dd[_0x9a402f(0x2d6)]===0x0)continue;this[_0x9a402f(0x227)](_0x223e24,_0x1c43dd,_0x27e3cf,_0x1f0952);}}}}}['_drawAnchor'](_0x689867,_0x3a743d,_0x2d82e5,_0x505950,_0x3d20c3){const _0x4c3e49=_0x1d996d;let {left:_0x466fd3,top:_0x47f8f1,height:_0x312722}=this[_0x4c3e49(0x321)](_0x3a743d),_0xf97721=1.5/this[_0x4c3e49(0x2ac)](),_0xe56054=new _0x3eda51[(_0x4c3e49(0x3c9))](_0x287d24+(0x0,_0xb6dbd1[_0x4c3e49(0x431)])(0x6),{'left':_0x466fd3+_0x2d82e5-_0xf97721,'top':_0x47f8f1+_0x505950,'height':_0x312722,'width':1.5,'fill':_0x689867||(0x0,_0x3eda51[_0x4c3e49(0x200)])(_0xb6dbd1[_0x4c3e49(0x415)][_0x4c3e49(0x187)],0x0),'strokeWidth':_0xf97721,'stroke':'rgba(255,\x20255,\x20255,\x200.01)','evented':!0x0});this[_0x4c3e49(0x2e9)]=_0xe56054,this['_scene'][_0x4c3e49(0x3cf)](_0xe56054,_0x3c528c[_0x4c3e49(0x280)]);let _0x14981f=new _0x3eda51[(_0x4c3e49(0x3c9))](_0x287d24+(0x0,_0xb6dbd1['generateRandomId'])(0x6),{'left':_0x466fd3+_0x2d82e5-_0xf97721,'top':_0x47f8f1+_0x505950-0x4/0x2,'height':0x4,'width':0x4,'fill':_0x689867||(0x0,_0x3eda51[_0x4c3e49(0x200)])(_0xb6dbd1[_0x4c3e49(0x415)][_0x4c3e49(0x187)],0x0),'strokeWidth':0x0,'stroke':_0x689867||(0x0,_0x3eda51[_0x4c3e49(0x200)])(_0xb6dbd1[_0x4c3e49(0x415)][_0x4c3e49(0x187)],0x0),'evented':!0x1});this[_0x4c3e49(0x441)]=_0x14981f,this[_0x4c3e49(0x191)]['addObject'](_0x14981f,_0x3c528c['TEXT_RANGE_LAYER_INDEX']);let _0x3437c4=new _0x512cb2(_0x287d24+(0x0,_0xb6dbd1[_0x4c3e49(0x431)])(0x6),{'left':_0x466fd3+_0x2d82e5-_0xf97721,'top':_0x47f8f1+_0x505950-0x14,'text':_0x3d20c3,'color':_0x689867});this[_0x4c3e49(0x34c)]=_0x3437c4,this[_0x4c3e49(0x191)][_0x4c3e49(0x3cf)](_0x3437c4,_0x3c528c[_0x4c3e49(0x280)]),this[_0x4c3e49(0x301)]=!0x1;}[_0x1d996d(0x304)](){const _0x5e93d0=_0x1d996d;let _0x598bb3=this['_anchor'][_0x5e93d0(0x141)][_0x5e93d0(0x3e4)](()=>{const _0xa909ff=_0x5e93d0;this[_0xa909ff(0x301)]=!0x0;}),_0x339d2a=this[_0x5e93d0(0x2e9)]['onPointerLeave$'][_0x5e93d0(0x3e4)](()=>{const _0xa77f5d=_0x5e93d0;this[_0xa77f5d(0x289)]&&clearTimeout(this['_hideTimer']),this[_0xa77f5d(0x289)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x1cc60b=_0x5e93d0;_0x598bb3[_0x1cc60b(0x3a7)](),_0x339d2a[_0x1cc60b(0x3a7)]();};}['_drawTextRange'](_0x3f2a72,_0x487c86,_0x47aff7,_0x3b5539){const _0x2037f6=_0x1d996d;let _0x1dab70=0.2,_0x325a66=new _0xb6dbd1[(_0x2037f6(0x246))](_0x3f2a72)[_0x2037f6(0x25b)](_0x1dab70)[_0x2037f6(0x1ca)](),_0x1a778f=new _0x3eda51[(_0x2037f6(0x23f))](_0x2037f6(0x44e)+(0x0,_0xb6dbd1[_0x2037f6(0x431)])(0x6),{'pointsGroup':_0x487c86,'fill':_0x325a66||(0x0,_0x3eda51[_0x2037f6(0x200)])(_0xb6dbd1[_0x2037f6(0x415)][_0x2037f6(0x187)],_0x1dab70),'left':_0x47aff7,'top':_0x3b5539,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2037f6(0x18c)][_0x2037f6(0x261)](_0x1a778f),this[_0x2037f6(0x191)]['addObject'](_0x1a778f,_0x3c528c[_0x2037f6(0x280)]);}['_drawRectRange'](_0x1ef0e8,_0x1c2208,_0x48b4b9,_0xb84984){const _0x483382=_0x1d996d;let _0x583f1c=0.2,_0x441e68=new _0xb6dbd1[(_0x483382(0x246))](_0x1ef0e8)[_0x483382(0x25b)](_0x583f1c)[_0x483382(0x1ca)](),_0x492005=new _0x3eda51['RegularPolygon'](_0x483382(0x2ef)+(0x0,_0xb6dbd1['generateRandomId'])(0x6),{'pointsGroup':_0x1c2208,'fill':_0x441e68||(0x0,_0x3eda51[_0x483382(0x200)])(_0xb6dbd1[_0x483382(0x415)][_0x483382(0x187)],_0x583f1c),'left':_0x48b4b9,'top':_0xb84984,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x483382(0x261)](_0x492005),this['_scene']['addObject'](_0x492005,_0x3c528c[_0x483382(0x280)]);}[_0x1d996d(0x321)](_0x168699){let _0x11dc46=_0x168699[0x0],_0x265a19=_0x11dc46[0x0],_0x5af25e=_0x11dc46[0x2],{x:_0x4e62a1,y:_0xcb3cd5}=_0x265a19,{x:_0x253dbf,y:_0x38d2cf}=_0x5af25e;return{'left':_0x4e62a1,'top':_0xcb3cd5,'width':_0x253dbf-_0x4e62a1,'height':_0x38d2cf-_0xcb3cd5};}[_0x1d996d(0x2ac)](){const _0xc80625=_0x1d996d;let {scaleX:_0x9d5d1d,scaleY:_0x3afdd2}=this[_0xc80625(0x191)]['getAncestorScale']();return Math[_0xc80625(0x427)](_0x9d5d1d,_0x3afdd2);}};function _0x336167(_0x226249,_0x17f944){const _0x3c3d2a=_0x1d996d;if(!_0x17f944)return{'canRenderAnchor':!0x1,'canRenderSelection':!0x1};if(!_0x226249||_0x226249[_0x3c3d2a(0x2dd)]!==_0x17f944['pageType']||(_0x226249[_0x3c3d2a(0x2dd)]===_0x3eda51[_0x3c3d2a(0x150)]['HEADER']||_0x226249['pageType']===_0x3eda51['DocumentSkeletonPageType'][_0x3c3d2a(0x2ee)])&&_0x226249[_0x3c3d2a(0x1c1)]!==_0x17f944[_0x3c3d2a(0x1c1)])return{'canRenderAnchor':!0x0,'canRenderSelection':!0x1};let _0x10fff3=(0x0,_0x3eda51[_0x3c3d2a(0x428)])(_0x226249),_0x6cffae=(0x0,_0x3eda51[_0x3c3d2a(0x428)])(_0x17f944);return{'canRenderAnchor':!0x0,'canRenderSelection':_0x10fff3==null||_0x6cffae==null?_0x10fff3==null&&_0x6cffae==null:_0x10fff3[_0x3c3d2a(0x2d4)]===_0x6cffae['pageIndex']&&_0x10fff3['columnGroupId']===_0x6cffae[_0x3c3d2a(0x2a0)]&&_0x10fff3['columnIndex']===_0x6cffae['columnIndex']};}let _0x4f8028=class extends _0xb6dbd1['RxDisposable']{constructor(_0x2801c8,_0xc8f3f3,_0x5db731,_0x18238e,_0x3dd61f){const _0x46f6a7=_0x1d996d;super(),this[_0x46f6a7(0x211)]=_0x2801c8,this['_docSkeletonManagerService']=_0xc8f3f3,this['_collabCursorController']=_0x5db731,this[_0x46f6a7(0x1b0)]=_0x18238e,this[_0x46f6a7(0x1d6)]=_0x3dd61f,_0x5f2c7c(this,_0x46f6a7(0x300),[]),_0x5f2c7c(this,_0x46f6a7(0x185),[]),this[_0x46f6a7(0x146)]();}[_0x1d996d(0x146)](){const _0x116f4b=_0x1d996d;let _0x2e547b=this[_0x116f4b(0x211)][_0x116f4b(0x22f)],_0x1c9c83=this['_docSkeletonManagerService'];this[_0x116f4b(0x33e)]((0x0,_0x5cd61a['combineLatest'])([this[_0x116f4b(0x3e7)]['getCollabCursors$'](_0x2e547b),this['_themeService']['currentTheme$']])[_0x116f4b(0x181)]((0x0,_0x3aa00e[_0x116f4b(0x417)])(([_0x1da6f0,_0x59abb0])=>({'skeleton':_0x1c9c83[_0x116f4b(0x42f)](),'cursors':[..._0x1da6f0[_0x116f4b(0x418)]()][_0x116f4b(0x295)](_0x4a8dd1=>({..._0x4a8dd1,'color':this[_0x116f4b(0x1d6)][_0x116f4b(0xf2)](_0x4a8dd1[_0x116f4b(0x12c)])}))})))[_0x116f4b(0x267)](_0x51ba6b=>{const _0x386961=_0x116f4b;if(this[_0x386961(0x324)](),_0x51ba6b){let {skeleton:_0x42a162,cursors:_0x38d805}=_0x51ba6b;this[_0x386961(0xf6)](_0x42a162,_0x38d805);}})),this[_0x116f4b(0x3d5)](),this['_initCommandExecutedListener']();}[_0x1d996d(0xf6)](_0x10dbac,_0x16b965){const _0x18a5c7=_0x1d996d;let {scene:_0x195241,mainComponent:_0x41f946}=this['_context'],_0x486672=_0x16b965[_0x18a5c7(0x417)](_0x277bc2=>new _0x2a5878(_0x277bc2,_0x195241,_0x10dbac,_0x41f946));this[_0x18a5c7(0x300)]=_0x486672,this[_0x18a5c7(0x185)]=_0x16b965;}[_0x1d996d(0x251)](){const _0x1b7846=_0x1d996d;this[_0x1b7846(0x324)]();let {scene:_0x401419,mainComponent:_0x2b4225}=this[_0x1b7846(0x211)],_0x308127=this[_0x1b7846(0x158)][_0x1b7846(0x42f)](),_0x5eec19=this[_0x1b7846(0x185)]['map'](_0x5bda61=>new _0x2a5878(_0x5bda61,_0x401419,_0x308127,_0x2b4225));this[_0x1b7846(0x300)]=_0x5eec19;}['_removeCollabCursors'](){const _0x214e38=_0x1d996d;this[_0x214e38(0x300)][_0x214e38(0x30d)](_0x61ced9=>_0x61ced9[_0x214e38(0x39d)]()),this['_cursorShapes']=[];}[_0x1d996d(0xfd)](){const _0x468c20=_0x1d996d;let _0x50f0e8=[_0x3c528c[_0x468c20(0x233)]['id']];this[_0x468c20(0x33e)](this[_0x468c20(0x1b0)][_0x468c20(0x102)](_0x244040=>{const _0x2c41f7=_0x468c20;_0x50f0e8[_0x2c41f7(0x347)](_0x244040['id'])&&_0x244040[_0x2c41f7(0x245)][_0x2c41f7(0x22f)]===this[_0x2c41f7(0x211)][_0x2c41f7(0x22f)]&&this[_0x2c41f7(0x251)]();}));}[_0x1d996d(0x3d5)](){const _0x2f25d5=_0x1d996d;this['disposeWithMe']((0x0,_0xb6dbd1[_0x2f25d5(0x2a2)])(this[_0x2f25d5(0x211)][_0x2f25d5(0x1fd)][_0x2f25d5(0x3bd)])[_0x2f25d5(0x181)]((0x0,_0x3aa00e[_0x2f25d5(0x29b)])(_0x438e03=>_0x438e03[_0x2f25d5(0x3fb)]===_0x3eda51[_0x2f25d5(0xf8)][_0x2f25d5(0x2ed)]),(0x0,_0x3aa00e[_0x2f25d5(0xdf)])(0x10))[_0x2f25d5(0x267)](()=>{const _0x3b8700=_0x2f25d5;this[_0x3b8700(0x251)]();}));}};_0x4f8028=_0x2c4c13([_0xffa406(0x1,(0x0,_0xb6dbd1['Inject'])(_0xc5bded[_0x1d996d(0x1e1)])),_0xffa406(0x2,(0x0,_0xb6dbd1[_0x1d996d(0x151)])(_0x1ab76e)),_0xffa406(0x3,_0xb6dbd1[_0x1d996d(0x20d)]),_0xffa406(0x4,(0x0,_0xb6dbd1[_0x1d996d(0x151)])(_0xb6dbd1[_0x1d996d(0x1f3)]))],_0x4f8028);var _0x964bd0=class extends _0x3eda51[_0x1d996d(0x1b5)]{constructor(_0x2ad8ba,_0x991ef7){const _0x141349=_0x1d996d;super(_0x2ad8ba,_0x991ef7),_0x5f2c7c(this,_0x141349(0x362),void 0x0),_0x5f2c7c(this,_0x141349(0x359),!0x1),_0x5f2c7c(this,'_range',void 0x0),_0x5f2c7c(this,'_name',''),_0x5f2c7c(this,_0x141349(0x310),'top'),_0x5f2c7c(this,_0x141349(0x389),void 0x0),_0x5f2c7c(this,_0x141349(0x413),void 0x0),_0x5f2c7c(this,_0x141349(0x20f),void 0x0),_0x5f2c7c(this,'_highlightSecond',0x4),_0x5f2c7c(this,_0x141349(0x37e),void 0x0),_0x5f2c7c(this,_0x141349(0x1f5),void 0x0),_0x5f2c7c(this,_0x141349(0x2b6),!0x0),_0x5f2c7c(this,'_offsetY',0x0),_0x5f2c7c(this,_0x141349(0x147),'right'),_0x991ef7&&(this['setShapeProps'](_0x991ef7),_0x991ef7['highlight']&&(_0x991ef7['highlightSecond']??this['_highlightSecond'])&&this[_0x141349(0x274)](_0x991ef7['highlightSecond']??this[_0x141349(0xef)])),this[_0x141349(0x141)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x141349(0x17f)]['subscribeEvent'](()=>this[_0x141349(0x13c)]({'hovered':!0x1}));}[_0x1d996d(0xe0)](_0x4e87ea){const _0x26a8ac=_0x1d996d;this[_0x26a8ac(0x258)]=_0x4e87ea;}[_0x1d996d(0x13c)](_0x5adfb3){const _0x4c78c2=_0x1d996d;this[_0x4c78c2(0x362)]=_0x5adfb3['color']??this['_color'],this['_hovered']=_0x5adfb3[_0x4c78c2(0x361)]??this['_hovered'],this['_range']=_0x5adfb3[_0x4c78c2(0x30a)]??this[_0x4c78c2(0xde)],this['_name']=_0x5adfb3[_0x4c78c2(0x3c7)]??this[_0x4c78c2(0x314)],this['_labelPosition']=_0x5adfb3[_0x4c78c2(0xe6)]??this['_labelPosition'],this[_0x4c78c2(0x389)]=_0x5adfb3[_0x4c78c2(0x1e3)]??this[_0x4c78c2(0x389)],this[_0x4c78c2(0x413)]=_0x5adfb3['showText']??this['_showText'],this[_0x4c78c2(0x147)]=_0x5adfb3[_0x4c78c2(0x177)]??this[_0x4c78c2(0x147)],_0x5adfb3['highlightSecond']!==void 0x0&&(this['_highlightSecond']=_0x5adfb3[_0x4c78c2(0x1a5)]),_0x5adfb3[_0x4c78c2(0x1ce)]!==void 0x0&&(this[_0x4c78c2(0x20f)]=_0x5adfb3[_0x4c78c2(0x1ce)]),_0x5adfb3[_0x4c78c2(0x3dd)]!==void 0x0&&(this['_offsetY']=_0x5adfb3[_0x4c78c2(0x3dd)]),this[_0x4c78c2(0x114)]({'width':_0x5adfb3['width'],'height':_0x5adfb3[_0x4c78c2(0x239)]});}[_0x1d996d(0x313)](_0x1b7951){const _0xc4804b=_0x1d996d;let {row:_0x5d05b9,column:_0x25a7c6}=_0x1b7951;if(_0x5d05b9>=this[_0xc4804b(0xde)][_0xc4804b(0x345)]&&_0x5d05b9<=this['_range'][_0xc4804b(0x25c)]&&_0x25a7c6>=this[_0xc4804b(0xde)][_0xc4804b(0x2a3)]&&_0x25a7c6<=this[_0xc4804b(0xde)]['endColumn']){this[_0xc4804b(0x13c)]({'hovered':!0x0});return;}this[_0xc4804b(0x13c)]({'hovered':!0x1});}[_0x1d996d(0x274)](_0x3d011a){const _0x37a0d7=_0x1d996d;this[_0x37a0d7(0x21f)](),this[_0x37a0d7(0x2b6)]=!0x0,this[_0x37a0d7(0x1f5)]=window[_0x37a0d7(0x30b)](()=>{const _0x48d864=_0x37a0d7;this[_0x48d864(0x2b6)]=!this[_0x48d864(0x2b6)],this['makeDirty'](!0x0);},0x1f4),this[_0x37a0d7(0x37e)]=window['setTimeout'](()=>{const _0x9f2a1b=_0x37a0d7;this['_stopBlinking'](),this[_0x9f2a1b(0x2b6)]=!0x0,this[_0x9f2a1b(0x219)](!0x0);},_0x3d011a*0x3e8);}[_0x1d996d(0x21f)](){const _0x4582ee=_0x1d996d;this[_0x4582ee(0x1f5)]&&=(window[_0x4582ee(0x391)](this[_0x4582ee(0x1f5)]),void 0x0),this['_blinkTimer']&&=(window[_0x4582ee(0x2e5)](this[_0x4582ee(0x37e)]),void 0x0);}[_0x1d996d(0x291)](_0x155045){return!0x1;}[_0x1d996d(0x39d)](){const _0x1544e1=_0x1d996d;this[_0x1544e1(0x21f)](),super['dispose']();}[_0x1d996d(0x1d7)](_0x3a2e39){const _0x4f3856=_0x1d996d;let _0x58d6f1=this[_0x4f3856(0x362)],_0x2d69bc=this[_0x4f3856(0x389)];if(this['_highlight']&&!this['_isBlinkVisible']&&(_0x58d6f1=this['_getLighterColor'](this[_0x4f3856(0x362)]),_0x2d69bc=this[_0x4f3856(0x389)]?this[_0x4f3856(0x11f)](this[_0x4f3856(0x389)]):void 0x0),_0x3eda51[_0x4f3856(0x3c9)][_0x4f3856(0x2d1)](_0x3a2e39,{'width':this[_0x4f3856(0x3da)],'height':this[_0x4f3856(0x239)],'strokeWidth':this[_0x4f3856(0x1be)]||1.5,'stroke':_0x58d6f1,'evented':!0x1,'fill':_0x2d69bc}),this[_0x4f3856(0x359)]||this[_0x4f3856(0x413)]){_0x3a2e39[_0x4f3856(0x11d)]();let _0x447d2e=this[_0x4f3856(0x147)]===_0x4f3856(0x273)?-_0x4c5e15(_0x3a2e39,this[_0x4f3856(0x314)]):this[_0x4f3856(0x3da)];_0x3a2e39[_0x4f3856(0x401)](0x1,0x0,0x0,0x1,_0x447d2e,(this[_0x4f3856(0x310)]===_0x4f3856(0x27f)?0x0:-0x14)+(this[_0x4f3856(0x258)]??0x0)),_0x512cb2['drawWith'](_0x3a2e39,{'text':this[_0x4f3856(0x314)],'color':_0x58d6f1}),_0x3a2e39[_0x4f3856(0x43a)]();}}[_0x1d996d(0x11f)](_0x4d5eb1){const _0x2d00bc=_0x1d996d;return _0x4d5eb1[_0x2d00bc(0x19c)]('#')?_0x2d00bc(0x220)+Number['parseInt'](_0x4d5eb1[_0x2d00bc(0x169)](0x1,0x3),0x10)+',\x20'+Number['parseInt'](_0x4d5eb1[_0x2d00bc(0x169)](0x3,0x5),0x10)+',\x20'+Number[_0x2d00bc(0x40b)](_0x4d5eb1[_0x2d00bc(0x169)](0x5,0x7),0x10)+_0x2d00bc(0xda):_0x4d5eb1[_0x2d00bc(0x19c)](_0x2d00bc(0x149))?_0x4d5eb1[_0x2d00bc(0x1ac)](/[\d.]+\)$/g,'0.2)'):_0x4d5eb1['startsWith'](_0x2d00bc(0x3f0))?_0x4d5eb1['replace'](_0x2d00bc(0x3f0),_0x2d00bc(0x149))[_0x2d00bc(0x1ac)](')',',\x200.2)'):_0x4d5eb1;}};let _0x2e322e=class extends _0xb6dbd1[_0x1d996d(0x406)]{constructor(_0x1d09a4,_0x23ce9c,_0xc8bd8c,_0x1f25f6){const _0x514942=_0x1d996d;super(),this[_0x514942(0x211)]=_0x1d09a4,this[_0x514942(0x290)]=_0x23ce9c,this[_0x514942(0x3e7)]=_0xc8bd8c,this[_0x514942(0x1d6)]=_0x1f25f6,_0x5f2c7c(this,_0x514942(0x185),new Set()),_0x5f2c7c(this,_0x514942(0x287),null),_0x5f2c7c(this,_0x514942(0x17c),null),this[_0x514942(0x146)]();}[_0x1d996d(0x146)](){const _0x8f6f1d=_0x1d996d;this[_0x8f6f1d(0x290)][_0x8f6f1d(0x366)]['pipe']((0x0,_0x3aa00e[_0x8f6f1d(0x2fa)])(this[_0x8f6f1d(0x117)]),(0x0,_0x3aa00e[_0x8f6f1d(0x3b7)])(_0x14c68f=>{const _0x1e5ba5=_0x8f6f1d;if(_0x14c68f){let _0x591c32=_0x14c68f[_0x1e5ba5(0x3fc)];return(0x0,_0x5cd61a[_0x1e5ba5(0x340)])(this[_0x1e5ba5(0x3e7)]['getCollabCursors$'](this['_context'][_0x1e5ba5(0x22f)]),this['_themeService'][_0x1e5ba5(0x107)])['pipe']((0x0,_0x3aa00e[_0x1e5ba5(0x417)])(([_0x152e6a,_0xe25b88])=>{const _0x31262d=_0x1e5ba5;let _0x53751a=new Map();return _0x152e6a[_0x31262d(0x30d)]((_0x1e7b44,_0x37567a)=>{const _0x164682=_0x31262d;if(_0x1e7b44[_0x164682(0xe3)]===_0x591c32){let _0x2f9d4c={..._0x1e7b44};_0x2f9d4c[_0x164682(0x12c)]=this[_0x164682(0x1d6)][_0x164682(0xf2)](_0x1e7b44['color']),_0x53751a[_0x164682(0x12d)](_0x37567a,_0x2f9d4c);}}),{'skeleton':_0x14c68f,'cursors':_0x53751a};}));}return(0x0,_0x5cd61a['of'])({'skeleton':null,'cursors':new Map()});}))[_0x8f6f1d(0x267)](({skeleton:_0x46c89a,cursors:_0x33b51e})=>{const _0x58ce5b=_0x8f6f1d;this[_0x58ce5b(0x324)](),_0x46c89a&&this[_0x58ce5b(0xf6)](_0x46c89a,_0x33b51e);}),this[_0x8f6f1d(0x33e)](this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x8f6f1d(0x181)]((0x0,_0x3aa00e['takeUntil'])(this[_0x8f6f1d(0x117)]))['subscribe'](_0x9c5491=>{const _0x42a8b3=_0x8f6f1d;var _0x3216b9;if(_0x9c5491==null)return;(_0x3216b9=this[_0x42a8b3(0x17c)])==null||_0x3216b9[_0x42a8b3(0x3a7)](),this[_0x42a8b3(0x17c)]=null;let {skeleton:_0x1315ac}=_0x9c5491,{scene:_0x5a958e}=this[_0x42a8b3(0x211)];this['_pointerMoveDisposable']=_0x5a958e[_0x42a8b3(0x29c)]['subscribeEvent']((0x0,_0xb6dbd1[_0x42a8b3(0x3e1)])(_0x45e632=>{const _0x4a5b34=_0x42a8b3;var _0x5df782,_0x6dfdc1;let {offsetX:_0x21ac14,offsetY:_0x39e4c5}=_0x45e632,{x:_0x3059fe,y:_0x515855}=_0x5a958e[_0x4a5b34(0x3eb)](_0x3eda51[_0x4a5b34(0x34e)]['FromArray']([_0x21ac14,_0x39e4c5])),{scaleX:_0x19d9bd,scaleY:_0x1ea306}=_0x5a958e[_0x4a5b34(0x27d)](),_0x535246=_0x5a958e[_0x4a5b34(0x349)](_0x3eda51['SHEET_VIEWPORT_KEY'][_0x4a5b34(0x38e)]),_0x4e7ed2=_0x5a958e['getScrollXYInfoByViewport'](_0x3eda51[_0x4a5b34(0x34e)][_0x4a5b34(0x410)]([_0x3059fe,_0x515855]),_0x535246),_0xe6761d=_0x1315ac[_0x4a5b34(0x419)](_0x21ac14,_0x39e4c5,_0x19d9bd,_0x1ea306,_0x4e7ed2);(((_0x5df782=this[_0x4a5b34(0x287)])==null?void 0x0:_0x5df782[_0x4a5b34(0x216)])!==_0xe6761d[_0x4a5b34(0x216)]||((_0x6dfdc1=this['_lastPointer'])==null?void 0x0:_0x6dfdc1['row'])!==_0xe6761d['row'])&&this[_0x4a5b34(0x185)][_0x4a5b34(0x30d)](_0x45ac91=>{const _0x438327=_0x4a5b34;_0x45ac91[_0x438327(0x313)](_0xe6761d);});},0x64));})),this[_0x8f6f1d(0x33e)]((0x0,_0xb6dbd1[_0x8f6f1d(0x30f)])(()=>{const _0x5525b3=_0x8f6f1d;var _0x2f93dd;(_0x2f93dd=this[_0x5525b3(0x17c)])==null||_0x2f93dd[_0x5525b3(0x3a7)](),this[_0x5525b3(0x17c)]=null;}));}[_0x1d996d(0xf6)](_0x1b9f2c,_0x1b2e19){const _0x105f4e=_0x1d996d;let _0x3c667a=this['_sheetSkeletonManagerService'][_0x105f4e(0x129)]();if(!_0x3c667a)return;let _0x1672ca=this[_0x105f4e(0x302)]();if(!_0x1672ca)return;this['_cursors'][_0x105f4e(0x30d)](_0x2fc3e7=>{const _0x5e19a8=_0x105f4e;_0x2fc3e7[_0x5e19a8(0x219)]();});let {scene:_0x1ed669}=_0x1672ca,_0x20d527=_0x2ba74b(Array[_0x105f4e(0x234)](_0x1b2e19[_0x105f4e(0x418)]()))['map'](_0x225ae4=>{const _0x52bbd4=_0x105f4e;let {color:_0x7eabbf,range:_0x38c82a,name:_0x1035ea,selection:_0x1c6827,sheetID:_0x379e68}=_0x225ae4,{startColumn:_0x1298e3,startRow:_0x41dbba,endColumn:_0xc6a295,endRow:_0x2296fc}=_0x38c82a,_0x123f42=(0x0,_0x4a161f[_0x52bbd4(0x43e)])(_0x41dbba,_0x1298e3,_0x1ed669,_0x3c667a),_0x549c6a=(0x0,_0x4a161f['getCoordByCell'])(_0x2296fc,_0xc6a295,_0x1ed669,_0x3c667a),{columnHeaderHeightAndMarginTop:_0x2d0b65}=_0x3c667a,{startX:_0x101e51,startY:_0x1339d5}=_0x123f42,{endX:_0x5295cd,endY:_0x147232}=_0x549c6a,_0x2897a7=_0x5295cd-_0x101e51,_0x3673f4=_0x147232-_0x1339d5;return new _0x964bd0(_0x1035ea,{'labelPosition':_0x1339d5-_0x2d0b65>=0x14?_0x52bbd4(0x1ff):_0x52bbd4(0x27f),'sheetID':_0x379e68,'range':_0x38c82a,'color':_0x7eabbf,'name':_0x1035ea,'selection':_0x1c6827,'left':_0x101e51,'top':_0x1339d5,'width':_0x2897a7,'height':_0x3673f4,'evented':!0x1,'zIndex':0x1389});});_0x1ed669[_0x105f4e(0x229)](_0x20d527,0x1),this[_0x105f4e(0x185)]=new Set(_0x20d527);}[_0x1d996d(0x324)](){const _0x1c9699=_0x1d996d;var _0x123643;(_0x123643=this[_0x1c9699(0x185)])==null||_0x123643['forEach'](_0x2eced6=>_0x2eced6['dispose']());}[_0x1d996d(0x302)](){const _0x27d9f6=_0x1d996d;return(0x0,_0x4a161f[_0x27d9f6(0x2e2)])(this['_context'][_0x27d9f6(0x3c2)],this[_0x27d9f6(0x211)]);}};_0x2e322e=_0x2c4c13([_0xffa406(0x1,(0x0,_0xb6dbd1[_0x1d996d(0x151)])(_0x4a161f['SheetSkeletonManagerService'])),_0xffa406(0x2,(0x0,_0xb6dbd1[_0x1d996d(0x151)])(_0x1ab76e)),_0xffa406(0x3,(0x0,_0xb6dbd1[_0x1d996d(0x151)])(_0xb6dbd1[_0x1d996d(0x1f3)]))],_0x2e322e);function _0x2ba74b(_0x1a93b1){const _0x2f6bba=_0x1d996d;let _0x3502e2=new Map();return _0x1a93b1[_0x2f6bba(0x30d)](_0x2f92ea=>{const _0x3f7eb2=_0x2f6bba;if(_0x3502e2[_0x3f7eb2(0x379)](_0x2f92ea['selection'])){let _0x3968c9=_0x3502e2[_0x3f7eb2(0x3bc)](_0x2f92ea[_0x3f7eb2(0x2ae)]);_0x3968c9[_0x3f7eb2(0x3c7)]+=',\x20'+_0x2f92ea[_0x3f7eb2(0x3c7)];}else _0x3502e2[_0x3f7eb2(0x12d)](_0x2f92ea[_0x3f7eb2(0x2ae)],_0x2f92ea);}),Array[_0x2f6bba(0x234)](_0x3502e2[_0x2f6bba(0x418)]());}function _0x4eeffd(_0x3e4b87){return typeof _0x3e4b87=='object'&&!!_0x3e4b87;}function _0xe47e2d(_0x1dfba3){const _0x26ce65=_0x1d996d;return _0x1dfba3[_0x26ce65(0x19f)]===_0x357287[_0x26ce65(0x1cf)][_0x26ce65(0x31a)]&&_0x26ce65(0x432)in _0x1dfba3&&_0x4eeffd(_0x1dfba3[_0x26ce65(0x432)])&&typeof _0x1dfba3[_0x26ce65(0x432)]['memberID']==_0x26ce65(0x170)&&typeof _0x1dfba3[_0x26ce65(0x432)][_0x26ce65(0x2ae)]==_0x26ce65(0x170);}function _0x257c14(_0x29edf4){const _0x3858b9=_0x1d996d;return _0x29edf4[_0x3858b9(0x19f)]===_0x357287['CollaborationEvent']['USERS_LEAVE']&&'data'in _0x29edf4&&_0x4eeffd(_0x29edf4[_0x3858b9(0x432)])&&typeof _0x29edf4[_0x3858b9(0x432)][_0x3858b9(0x14c)]==_0x3858b9(0x170);}function _0x11b290(_0x3ff23c,_0x50f1f9){const _0x506e4e=_0x1d996d;let _0x587b22;try{_0x587b22=JSON[_0x506e4e(0x2eb)](_0x3ff23c);}catch{return null;}if(!_0x4eeffd(_0x587b22)||typeof _0x587b22[_0x506e4e(0x2c3)]!=_0x506e4e(0x170)||typeof _0x587b22['unitId']!=_0x506e4e(0x170)||typeof _0x587b22[_0x506e4e(0x33d)]!=_0x506e4e(0x170))return null;let _0x2e9b0c=typeof _0x587b22[_0x506e4e(0x1f8)]==_0x506e4e(0x104)?_0x587b22[_0x506e4e(0x1f8)]:_0x50f1f9;if(_0x2e9b0c==null)return null;let _0x1b1308=_0x4eeffd(_0x587b22[_0x506e4e(0x2df)])&&typeof _0x587b22[_0x506e4e(0x2df)]['x']==_0x506e4e(0x104)&&Number['isFinite'](_0x587b22['pointer']['x'])&&typeof _0x587b22['pointer']['y']=='number'&&Number[_0x506e4e(0xeb)](_0x587b22[_0x506e4e(0x2df)]['y'])?{'x':_0x587b22[_0x506e4e(0x2df)]['x'],'y':_0x587b22[_0x506e4e(0x2df)]['y']}:null;return{'kind':_0x587b22[_0x506e4e(0x2c3)],'unitType':_0x2e9b0c,'unitId':_0x587b22['unitId'],'subUnitId':_0x587b22[_0x506e4e(0x33d)],'selectedIds':Array[_0x506e4e(0xd3)](_0x587b22[_0x506e4e(0x24e)])?_0x587b22['selectedIds'][_0x506e4e(0x29b)](_0x58699a=>typeof _0x58699a==_0x506e4e(0x170)):[],'focusedId':typeof _0x587b22['focusedId']=='string'?_0x587b22[_0x506e4e(0x1cc)]:null,'pointer':_0x1b1308};}function _0x1684fa(_0x133d60,_0x488708,_0x498a4c){const _0x4a85f0=_0x1d996d;return{'kind':_0x488708,'unitType':_0x133d60,'unitId':_0x498a4c[_0x4a85f0(0x22f)],'subUnitId':_0x498a4c['subUnitId'],'selectedIds':Array[_0x4a85f0(0x234)](_0x498a4c[_0x4a85f0(0x24e)]),'focusedId':_0x498a4c[_0x4a85f0(0x1cc)],'pointer':_0x498a4c[_0x4a85f0(0x2df)]?{..._0x498a4c['pointer']}:null};}let _0x9fd477=class extends _0xb6dbd1[_0x1d996d(0x406)]{constructor(_0x274ff9,_0x58ef4a,_0x525d7a,_0xf4c15d,_0x594c7e,_0x460682){const _0x95029c=_0x1d996d;super(),this[_0x95029c(0x22f)]=_0x274ff9,this[_0x95029c(0x2fb)]=_0x58ef4a,this[_0x95029c(0x145)]=_0x525d7a,this['_colorAssignService']=_0xf4c15d,this['_memberService']=_0x594c7e,this['_commandService']=_0x460682,_0x5f2c7c(this,_0x95029c(0x265),!0x1),_0x5f2c7c(this,_0x95029c(0x29a),!0x1);}get[_0x1d996d(0x1f8)](){const _0x1d2546=_0x1d996d;return this[_0x1d2546(0x145)][_0x1d2546(0x1f8)];}[_0x1d996d(0x39d)](){const _0x393c14=_0x1d996d;this[_0x393c14(0x386)](),super[_0x393c14(0x39d)]();}[_0x1d996d(0x320)](){const _0x527e4c=_0x1d996d;this[_0x527e4c(0x29a)]||(this[_0x527e4c(0x29a)]=!0x0,this[_0x527e4c(0x2fb)]['sessionStatus$'][_0x527e4c(0x181)]((0x0,_0x5cd61a[_0x527e4c(0x2fa)])(this[_0x527e4c(0x117)]))[_0x527e4c(0x267)](_0x3e2990=>{const _0x464b58=_0x527e4c;if(_0x3e2990===_0x38f0f3[_0x464b58(0xea)][_0x464b58(0x317)]){this[_0x464b58(0x265)]=!0x0;let _0x5f4f88=this[_0x464b58(0x145)][_0x464b58(0x210)](this[_0x464b58(0x22f)]);_0x5f4f88&&this[_0x464b58(0x1e7)](_0x5f4f88);return;}this[_0x464b58(0x265)]=!0x1,this[_0x464b58(0x386)]();}),this['_session']['event$'][_0x527e4c(0x181)]((0x0,_0x5cd61a['takeUntil'])(this[_0x527e4c(0x117)]))[_0x527e4c(0x267)](_0x52d83f=>{const _0x24320e=_0x527e4c;_0xe47e2d(_0x52d83f)?this[_0x24320e(0x436)](_0x52d83f):_0x257c14(_0x52d83f)&&this[_0x24320e(0x3ce)](_0x52d83f[_0x24320e(0x432)][_0x24320e(0x14c)]);}),this[_0x527e4c(0x145)]['localPresence$'][_0x527e4c(0x181)]((0x0,_0x5cd61a['filter'])(_0x1cf387=>this[_0x527e4c(0x265)]&&_0x1cf387['unitId']===this[_0x527e4c(0x22f)]),(0x0,_0x5cd61a[_0x527e4c(0x1d8)])(_0x463f62=>(0x0,_0x5cd61a['timer'])(_0x463f62[_0x527e4c(0x442)]),{'leading':!0x0,'trailing':!0x0}),(0x0,_0x5cd61a[_0x527e4c(0x2fa)])(this[_0x527e4c(0x117)]))[_0x527e4c(0x267)](_0xdb7a2e=>this[_0x527e4c(0x1e7)](_0xdb7a2e)));}[_0x1d996d(0x1e7)](_0x3cbf61){const _0x18b634=_0x1d996d;let _0x1e2cb9=this[_0x18b634(0x2fb)][_0x18b634(0x3d4)]();if(!_0x1e2cb9||!this[_0x18b634(0x265)])return;let _0x552d1e={'eventID':_0x357287[_0x18b634(0x1cf)][_0x18b634(0x31a)],'data':{'unitID':this['unitId'],'memberID':_0x1e2cb9,'selection':JSON['stringify'](_0x1684fa(this[_0x18b634(0x1f8)],this[_0x18b634(0x145)]['presenceKind'],_0x3cbf61))}};this[_0x18b634(0x2fb)][_0x18b634(0x1aa)](_0x552d1e,this['unitId'])['catch'](()=>void 0x0);}['_handleCursorUpdate'](_0x562b8d){const _0xd82e03=_0x1d996d;let {memberID:_0x1e33fd,selection:_0x46031a}=_0x562b8d[_0xd82e03(0x432)];if(_0x1e33fd===this['_session'][_0xd82e03(0x3d4)]())return;let _0x3943=_0x11b290(_0x46031a,this[_0xd82e03(0x1f8)]);if(!_0x3943||_0x3943[_0xd82e03(0x2c3)]!==this[_0xd82e03(0x145)][_0xd82e03(0x1c2)]||_0x3943[_0xd82e03(0x1f8)]!==this[_0xd82e03(0x1f8)]||_0x3943[_0xd82e03(0x22f)]!==this['unitId'])return;let _0x24047a=this[_0xd82e03(0x416)]['getMember'](this['unitId'],_0x1e33fd),_0xd9dd5a={'unitId':_0x3943[_0xd82e03(0x22f)],'subUnitId':_0x3943[_0xd82e03(0x33d)],'selectedIds':_0x3943[_0xd82e03(0x24e)],'focusedId':_0x3943[_0xd82e03(0x1cc)],'pointer':_0x3943[_0xd82e03(0x2df)],'memberId':_0x1e33fd,'color':this['_colorAssignService'][_0xd82e03(0x378)](_0x1e33fd),'name':(_0x24047a==null?void 0x0:_0x24047a['name'])??_0x1e33fd};this[_0xd82e03(0x1b0)]['executeCommand'](_0x3d46d5['id'],{'unitType':this['unitType'],'update':{'type':'set','state':_0xd9dd5a}})[_0xd82e03(0xd9)](()=>void 0x0);}[_0x1d996d(0x3ce)](_0x235272){const _0x2cecf6=_0x1d996d;this[_0x2cecf6(0x1b0)]['executeCommand'](_0x3d46d5['id'],{'unitType':this['unitType'],'update':{'type':'remove','unitId':this[_0x2cecf6(0x22f)],'memberId':_0x235272}})[_0x2cecf6(0xd9)](()=>void 0x0);}[_0x1d996d(0x386)](){const _0x9fbcdb=_0x1d996d;this[_0x9fbcdb(0x1b0)]['executeCommand'](_0x3d46d5['id'],{'unitType':this[_0x9fbcdb(0x1f8)],'update':{'type':'clear','unitId':this[_0x9fbcdb(0x22f)]}})[_0x9fbcdb(0xd9)](()=>void 0x0);}};_0x9fd477=_0x2c4c13([_0xffa406(0x3,(0x0,_0xb6dbd1[_0x1d996d(0x151)])(_0x4f0bf7)),_0xffa406(0x4,(0x0,_0xb6dbd1['Inject'])(_0x38f0f3['MemberService'])),_0xffa406(0x5,(0x0,_0xb6dbd1[_0x1d996d(0x151)])(_0xb6dbd1[_0x1d996d(0x20d)]))],_0x9fd477);let _0x222ce1=class extends _0xb6dbd1['RxDisposable']{constructor(_0x25978d,_0x9363cf,_0x4586eb,_0x3abcb1){const _0x502cc0=_0x1d996d;super(),this['_univerInstanceService']=_0x25978d,this[_0x502cc0(0x16b)]=_0x9363cf,this['_collabSessionService']=_0x4586eb,this['_adapterRegistry']=_0x3abcb1,_0x5f2c7c(this,_0x502cc0(0x426),!0x1),_0x5f2c7c(this,_0x502cc0(0x122),new Map()),_0x5f2c7c(this,_0x502cc0(0x1d1),new Map()),_0x5f2c7c(this,_0x502cc0(0x1f0),new Map()),this['_init']();}['dispose'](){const _0x5dcd64=_0x1d996d;this['_isDisposed']=!0x0,this[_0x5dcd64(0x1f0)][_0x5dcd64(0x30d)](_0x505123=>_0x505123[_0x5dcd64(0x39d)]()),this['_adapterDisposables']['clear'](),this[_0x5dcd64(0x122)]['forEach'](_0x15ce0c=>_0x15ce0c[_0x5dcd64(0x39d)]()),this['_entities']['clear'](),this[_0x5dcd64(0x1d1)][_0x5dcd64(0x113)](),super[_0x5dcd64(0x39d)]();}['_init'](){const _0x17fda3=_0x1d996d;this[_0x17fda3(0x1d9)][_0x17fda3(0x116)][_0x17fda3(0x181)]((0x0,_0x5cd61a['takeUntil'])(this[_0x17fda3(0x117)]))['subscribe'](_0x1f1512=>this['_syncAdapters'](_0x1f1512));}[_0x1d996d(0x22b)](_0x5b8ea9){const _0x26ee4a=_0x1d996d;let _0x5270df=new Set(_0x5b8ea9[_0x26ee4a(0x417)](_0x3ddd26=>_0x3ddd26['unitType']));this['_adapterDisposables'][_0x26ee4a(0x30d)]((_0x17d907,_0x4f7f98)=>{const _0x5f2bb9=_0x26ee4a;_0x5270df[_0x5f2bb9(0x379)](_0x4f7f98)||(_0x17d907['dispose'](),this[_0x5f2bb9(0x1f0)][_0x5f2bb9(0x403)](_0x4f7f98),this[_0x5f2bb9(0x279)](_0x4f7f98));}),_0x5b8ea9[_0x26ee4a(0x30d)](_0x86b242=>{const _0x5108e1=_0x26ee4a;this[_0x5108e1(0x1f0)][_0x5108e1(0x379)](_0x86b242['unitType'])||this[_0x5108e1(0x28c)](_0x86b242);});}[_0x1d996d(0x28c)](_0x5a065b){const _0x46eded=_0x1d996d;let _0x49da28=new _0xb6dbd1[(_0x46eded(0x447))]();this[_0x46eded(0x1f0)][_0x46eded(0x12d)](_0x5a065b[_0x46eded(0x1f8)],_0x49da28),_0x49da28[_0x46eded(0x2c6)](_0x5a065b[_0x46eded(0x2de)]()),this[_0x46eded(0x28b)][_0x46eded(0x202)](_0x5a065b[_0x46eded(0x1f8)])['forEach'](_0x2ddbae=>this[_0x46eded(0x3a4)](_0x2ddbae[_0x46eded(0x1f9)](),_0x5a065b)[_0x46eded(0xd9)](()=>void 0x0));let _0x4bebdc=this[_0x46eded(0x28b)][_0x46eded(0x1db)](_0x5a065b['unitType'])[_0x46eded(0x267)](({unit:_0xfc728f})=>this[_0x46eded(0x3a4)](_0xfc728f[_0x46eded(0x1f9)](),_0x5a065b)[_0x46eded(0xd9)](()=>void 0x0));_0x49da28[_0x46eded(0x2c6)]((0x0,_0xb6dbd1[_0x46eded(0x30f)])(()=>_0x4bebdc['unsubscribe']()));let _0x334467=this[_0x46eded(0x28b)][_0x46eded(0x35e)](_0x5a065b[_0x46eded(0x1f8)])[_0x46eded(0x267)](_0x4cb82d=>this[_0x46eded(0x11c)](_0x4cb82d[_0x46eded(0x1f9)]()));_0x49da28[_0x46eded(0x2c6)]((0x0,_0xb6dbd1[_0x46eded(0x30f)])(()=>_0x334467[_0x46eded(0x3a7)]()));}async[_0x1d996d(0x3a4)](_0x2cbd42,_0x48488f){const _0x3b9d41=_0x1d996d;if(this[_0x3b9d41(0x122)]['has'](_0x2cbd42)||this[_0x3b9d41(0x1d1)][_0x3b9d41(0x379)](_0x2cbd42))return;let _0x338625={};this[_0x3b9d41(0x1d1)][_0x3b9d41(0x12d)](_0x2cbd42,_0x338625);let _0xcb8cdd=await this['_collabSessionService'][_0x3b9d41(0x182)](_0x2cbd42)['catch'](_0x1906c9=>{const _0x1740a1=_0x3b9d41;throw this[_0x1740a1(0x1d1)][_0x1740a1(0x3bc)](_0x2cbd42)===_0x338625&&this[_0x1740a1(0x1d1)][_0x1740a1(0x403)](_0x2cbd42),_0x1906c9;});if(this[_0x3b9d41(0x426)]||this[_0x3b9d41(0x1d1)][_0x3b9d41(0x3bc)](_0x2cbd42)!==_0x338625||this[_0x3b9d41(0x1d9)]['get'](_0x48488f[_0x3b9d41(0x1f8)])!==_0x48488f){this[_0x3b9d41(0x1d1)][_0x3b9d41(0x3bc)](_0x2cbd42)===_0x338625&&this[_0x3b9d41(0x1d1)][_0x3b9d41(0x403)](_0x2cbd42);return;}let _0x32e5b7=this[_0x3b9d41(0x16b)][_0x3b9d41(0x247)](_0x9fd477,_0x2cbd42,_0xcb8cdd,_0x48488f);_0x32e5b7['init'](),this[_0x3b9d41(0x1d1)][_0x3b9d41(0x403)](_0x2cbd42),this[_0x3b9d41(0x122)][_0x3b9d41(0x12d)](_0x2cbd42,_0x32e5b7);}[_0x1d996d(0x11c)](_0x16476e){const _0x686207=_0x1d996d;this['_pendingEntities'][_0x686207(0x403)](_0x16476e);let _0x4294b4=this[_0x686207(0x122)][_0x686207(0x3bc)](_0x16476e);_0x4294b4&&(_0x4294b4[_0x686207(0x39d)](),this[_0x686207(0x122)][_0x686207(0x403)](_0x16476e));}[_0x1d996d(0x279)](_0x859b63){const _0x4be0da=_0x1d996d;this[_0x4be0da(0x28b)][_0x4be0da(0x202)](_0x859b63)[_0x4be0da(0x30d)](_0x4d3b57=>this['_pendingEntities'][_0x4be0da(0x403)](_0x4d3b57[_0x4be0da(0x1f9)]())),Array[_0x4be0da(0x234)](this[_0x4be0da(0x122)][_0x4be0da(0x2a4)]())[_0x4be0da(0x30d)](([_0x20a84b,_0x163370])=>{const _0x393cc3=_0x4be0da;_0x163370['unitType']===_0x859b63&&this[_0x393cc3(0x11c)](_0x20a84b);});}};_0x222ce1=_0x2c4c13([_0xffa406(0x0,_0xb6dbd1[_0x1d996d(0x26a)]),_0xffa406(0x1,(0x0,_0xb6dbd1['Inject'])(_0xb6dbd1[_0x1d996d(0x31d)])),_0xffa406(0x2,(0x0,_0xb6dbd1['Inject'])(_0x38f0f3[_0x1d996d(0x3e3)])),_0xffa406(0x3,(0x0,_0xb6dbd1[_0x1d996d(0x151)])(_0x37794f['IUnitPresenceUIAdapterRegistry']))],_0x222ce1);let _0x48ca36=class extends _0xb6dbd1[_0x1d996d(0x148)]{constructor(_0x52795e,_0x3a15c4,_0x2b6d6,_0x346c76,_0x1b6145,_0x4fa418){const _0x26c788=_0x1d996d;super(),this[_0x26c788(0x1cd)]=_0x52795e,this['_localCacheService']=_0x3a15c4,this['_collaborationUIEventService']=_0x2b6d6,this[_0x26c788(0x2f9)]=_0x346c76,this[_0x26c788(0x43c)]=_0x1b6145,this[_0x26c788(0x394)]=_0x4fa418,this[_0x26c788(0x10d)](),this[_0x26c788(0x308)]();}[_0x1d996d(0x10d)](){const _0x46bc78=_0x1d996d;this['disposeWithMe'](this[_0x46bc78(0x1cd)][_0x46bc78(0x167)](()=>{const _0x1e8d9e=_0x46bc78;if(this[_0x1e8d9e(0x18e)][_0x1e8d9e(0x377)]['size'])return this[_0x1e8d9e(0x394)]['t']('collaboration-client-ui.collaboration.offline-data-not-saved');}));}[_0x1d996d(0x308)](){const _0x490c56=_0x1d996d;this[_0x490c56(0x33e)](this[_0x490c56(0x41a)][_0x490c56(0x255)][_0x490c56(0x267)](_0x318cb9=>{const _0x1a4c8f=_0x490c56;_0x318cb9['id']===_0x38f0f3[_0x1a4c8f(0x36a)]['OTHER_CLIENT_EDITING']&&this['_messageService'][_0x1a4c8f(0x3df)]({'type':_0x56d9e2[_0x1a4c8f(0x41c)]['Warning'],'content':this['_localeService']['t']('collaboration-client-ui.collaboration.single-unit.warning')}),_0x318cb9['id']===_0x38f0f3[_0x1a4c8f(0x36a)][_0x1a4c8f(0x230)]&&this['_messageService'][_0x1a4c8f(0x3df)]({'type':_0x56d9e2[_0x1a4c8f(0x41c)][_0x1a4c8f(0x42a)],'content':this[_0x1a4c8f(0x394)]['t'](_0x1a4c8f(0x17a))}),_0x318cb9['id']===_0x38f0f3[_0x1a4c8f(0x36a)][_0x1a4c8f(0x16d)]&&this[_0x1a4c8f(0x43c)][_0x1a4c8f(0x3df)]({'title':this[_0x1a4c8f(0x394)]['t'](_0x1a4c8f(0x24c)),'content':this[_0x1a4c8f(0x394)]['t'](_0x1a4c8f(0x399)),'type':_0x1a4c8f(0x343),'duration':0x0}),_0x318cb9['id']===_0x38f0f3['CollaborationUIEventId'][_0x1a4c8f(0x1c7)]&&this[_0x1a4c8f(0x43c)]['show']({'title':this['_localeService']['t']('collaboration-client-ui.conflict.title'),'content':this[_0x1a4c8f(0x394)]['t'](_0x1a4c8f(0x16f)),'type':_0x1a4c8f(0x343),'duration':0x0}),_0x318cb9['id']===_0x38f0f3['CollaborationUIEventId'][_0x1a4c8f(0xee)]&&this[_0x1a4c8f(0x2f9)][_0x1a4c8f(0x3df)]({'type':_0x56d9e2['MessageType'][_0x1a4c8f(0x42a)],'content':this[_0x1a4c8f(0x394)]['t'](_0x318cb9['data']||'')}),_0x318cb9['id']===_0x38f0f3[_0x1a4c8f(0x36a)][_0x1a4c8f(0x278)]&&this['_messageService'][_0x1a4c8f(0x3df)]({'type':_0x56d9e2[_0x1a4c8f(0x41c)]['Warning'],'content':this[_0x1a4c8f(0x394)]['t'](_0x1a4c8f(0x243))}),_0x318cb9['id']===_0x38f0f3[_0x1a4c8f(0x36a)][_0x1a4c8f(0x22d)]&&this['_messageService'][_0x1a4c8f(0x3df)]({'type':_0x56d9e2['MessageType']['Error'],'content':this['_localeService']['t']('collaboration-client-ui.session.connection-failed')}),_0x318cb9['id']===_0x38f0f3[_0x1a4c8f(0x36a)][_0x1a4c8f(0x1a9)]&&this[_0x1a4c8f(0x2f9)]['show']({'type':_0x56d9e2[_0x1a4c8f(0x41c)][_0x1a4c8f(0x160)],'content':this['_localeService']['t'](_0x1a4c8f(0x125))});}));}};_0x48ca36=_0x2c4c13([_0xffa406(0x0,_0x37794f[_0x1d996d(0x1e9)]),_0xffa406(0x1,_0x38f0f3[_0x1d996d(0x156)]),_0xffa406(0x2,(0x0,_0xb6dbd1[_0x1d996d(0x151)])(_0x38f0f3[_0x1d996d(0x297)])),_0xffa406(0x3,_0x37794f[_0x1d996d(0x163)]),_0xffa406(0x4,_0x37794f[_0x1d996d(0x154)]),_0xffa406(0x5,(0x0,_0xb6dbd1[_0x1d996d(0x151)])(_0xb6dbd1[_0x1d996d(0x40c)]))],_0x48ca36);let _0x12a5bc=(0x0,_0xb6dbd1[_0x1d996d(0x1ab)])(_0x1d996d(0x2b4)),_0x387a6e=class extends _0xb6dbd1[_0x1d996d(0x406)]{constructor(_0x5049c0,_0x4fcfb4,_0x2f9ddc,_0xb71464){const _0x273d2c=_0x1d996d;super(),this['_urlService']=_0x5049c0,this['_logService']=_0x4fcfb4,this[_0x273d2c(0x1b0)]=_0x2f9ddc,this['_dataLoaderService']=_0xb71464,this[_0x273d2c(0x146)]()[_0x273d2c(0xd9)](_0x56c709=>this['_logService'][_0x273d2c(0x343)]('[CollaborationDataLoaderController]',_0x56c709));}async['_init'](){const _0x48db41=_0x1d996d;let _0x353a4b=this[_0x48db41(0x2c9)][_0x48db41(0x1af)](_0x48db41(0x3c2)),_0x62a89c=this[_0x48db41(0x2c9)][_0x48db41(0x1af)]('type'),_0x5ba56e=this[_0x48db41(0x2c9)]['getParam'](_0x48db41(0x2bc));if(!_0x353a4b||!_0x62a89c){this[_0x48db41(0x326)][_0x48db41(0x3be)](_0x48db41(0x336),_0x48db41(0x2ba));return;}let _0x5af245=await this[_0x48db41(0x22a)]['loadUnit'](_0x353a4b,Number(_0x62a89c),_0x5ba56e);this['_disposed']||_0x5af245&&_0x5af245 instanceof _0xb6dbd1[_0x48db41(0x224)]&&await this[_0x48db41(0x2f8)](_0x5af245);}async['_setupSubUnitSync'](_0x470d1d){const _0xc955fe=_0x1d996d;await this[_0xc955fe(0x203)](_0x470d1d),!this[_0xc955fe(0x1bd)]&&(_0x470d1d[_0xc955fe(0x22c)]['pipe']((0x0,_0x5cd61a[_0xc955fe(0x2fa)])(this[_0xc955fe(0x117)]))[_0xc955fe(0x267)](_0x4a0b0d=>{_0x4a0b0d&&this['_updateURLWithCurrentState'](_0x4a0b0d);}),this[_0xc955fe(0x2c9)][_0xc955fe(0x1d0)][_0xc955fe(0x181)]((0x0,_0x5cd61a[_0xc955fe(0x2fa)])(this[_0xc955fe(0x117)]))[_0xc955fe(0x267)](()=>{const _0x26400f=_0xc955fe;this[_0x26400f(0x203)](_0x470d1d)[_0x26400f(0xd9)](_0x21e0a3=>this[_0x26400f(0x326)]['error'](_0x26400f(0x336),_0x21e0a3));}));}[_0x1d996d(0x262)](_0x67cede,_0x24b14f=!0x1){const _0x4ead12=_0x1d996d;let _0x3f338f=this[_0x4ead12(0x2c9)]['getParam'](_0x4ead12(0x2bc));_0x67cede['getSheetId']()!==_0x3f338f&&this[_0x4ead12(0x2c9)][_0x4ead12(0xf3)]('subunit',_0x67cede[_0x4ead12(0x128)](),_0x24b14f);}async[_0x1d996d(0x203)](_0x544616){const _0x46419f=_0x1d996d;var _0x5e756a;let _0x5be8de=this[_0x46419f(0x2c9)]['getParam']('subunit');if(!_0x5be8de||!_0x544616[_0x46419f(0xff)](_0x5be8de)){let _0xd5c9a3=_0x544616['getUnhiddenWorksheets']()[0x0],_0x4f4d85=_0x544616['getSheetBySheetId'](_0xd5c9a3);if(!_0x4f4d85||(this[_0x46419f(0x262)](_0x4f4d85,!0x0),this['_disposed']))return;await this['_commandService'][_0x46419f(0x217)](_0x3f6b5f[_0x46419f(0x382)]['id'],{'unitId':_0x544616['getUnitId'](),'subUnitId':_0xd5c9a3});return;}((_0x5e756a=_0x544616[_0x46419f(0x440)]())==null?void 0x0:_0x5e756a[_0x46419f(0x128)]())!==_0x5be8de&&await this['_commandService']['executeCommand'](_0x3f6b5f['SetWorksheetActivateCommand']['id'],{'unitId':_0x544616[_0x46419f(0x1f9)](),'subUnitId':_0x5be8de});}};_0x387a6e=_0x2c4c13([_0xffa406(0x0,_0x12a5bc),_0xffa406(0x1,_0xb6dbd1[_0x1d996d(0x2f5)]),_0xffa406(0x2,_0xb6dbd1['ICommandService']),_0xffa406(0x3,(0x0,_0xb6dbd1[_0x1d996d(0x151)])(_0x38f0f3[_0x1d996d(0x34a)]))],_0x387a6e);let _0x3c0d9a=class{constructor(_0x9a40ed,_0x547003){const _0x1787e2=_0x1d996d;this['_transformService']=_0x9a40ed,this[_0x1787e2(0x2ca)]=_0x547003;}[_0x1d996d(0x1f6)](_0x3b3bb2){const _0x2933b2=_0x1d996d;this[_0x2933b2(0x368)](_0x3b3bb2),this[_0x2933b2(0x19b)](_0x3b3bb2);}[_0x1d996d(0xf5)](_0x398fc1){const _0x96be5d=_0x1d996d;let {unitID:_0x516414}=_0x398fc1,{redoCache:_0x3f6362}=this['_renderManagerService'][_0x96be5d(0x32b)](_0x516414)[_0x96be5d(0x1bb)](_0x3c528c[_0x96be5d(0x3f6)])[_0x96be5d(0x2e1)]();if(_0x3f6362[_0x96be5d(0x2d6)]===0x0)return _0x398fc1;let _0x5643d4=_0xb6dbd1['Tools'][_0x96be5d(0x218)](_0x398fc1[_0x96be5d(0x1c0)][0x0]);for(let _0x16c635=0x0;_0x16c635<_0x3f6362['length'];_0x16c635++){let _0x584bfa={'id':'doc.mutation.rich-text-editing','params':{..._0x3f6362[_0x16c635]}},_0x4c23be=this[_0x96be5d(0x435)][_0x96be5d(0x3bf)](_0x5643d4,_0x584bfa,!0x1);if((0x0,_0x357287[_0x96be5d(0x316)])(_0x4c23be))throw _0x4c23be[_0x96be5d(0x343)];_0x5643d4=_0x4c23be[_0x96be5d(0xd8)];}return{..._0xb6dbd1[_0x96be5d(0x238)]['deepClone'](_0x398fc1),'mutations':[_0x5643d4]};}[_0x1d996d(0x368)](_0x335f9a){const _0xa90994=_0x1d996d;let {unitID:_0x24895a}=_0x335f9a,_0x4eceef=this[_0xa90994(0x2ca)][_0xa90994(0x32b)](_0x24895a)[_0xa90994(0x1bb)](_0x3c528c[_0xa90994(0x3f6)]),{undoCache:_0x13b728,redoCache:_0x383c21}=_0x4eceef['getUndoRedoMutationParamsCache']();if(_0x13b728[_0xa90994(0x2d6)]===0x0||_0x383c21[_0xa90994(0x2d6)]===0x0)return;let _0x75e24b=[],_0x8fe9b6=[],_0x51abac=_0xb6dbd1['Tools'][_0xa90994(0x218)](_0x335f9a[_0xa90994(0x1c0)][0x0]),_0x546f7f=_0xb6dbd1[_0xa90994(0x238)][_0xa90994(0x218)](_0x335f9a['mutations'][0x0]);for(let _0x2c1ba0=_0x13b728['length']-0x1;_0x2c1ba0>=0x0;_0x2c1ba0--){let _0x17b885={'id':_0xa90994(0x330),'params':{..._0x13b728[_0x2c1ba0]}},_0x446f8d={'id':_0xa90994(0x330),'params':{..._0x383c21[_0x2c1ba0]}},_0x2e86a4=this[_0xa90994(0x435)][_0xa90994(0x3bf)](_0x51abac,_0x17b885,!0x1),_0x2d35e6=this[_0xa90994(0x435)]['transformMutation'](_0x546f7f,_0x446f8d,!0x1);if((0x0,_0x357287[_0xa90994(0x316)])(_0x2e86a4))throw _0x2e86a4[_0xa90994(0x343)];if((0x0,_0x357287[_0xa90994(0x316)])(_0x2d35e6))throw _0x2d35e6[_0xa90994(0x343)];_0x75e24b['unshift'](_0x2e86a4[_0xa90994(0x1c8)][_0xa90994(0x245)]),_0x8fe9b6[_0xa90994(0x305)](_0x2d35e6[_0xa90994(0x1c8)][_0xa90994(0x245)]),_0x51abac=_0x2e86a4[_0xa90994(0xd8)],_0x546f7f=_0x2d35e6[_0xa90994(0xd8)];}_0x4eceef[_0xa90994(0x28e)]({'undoCache':_0x75e24b,'redoCache':_0x8fe9b6});}[_0x1d996d(0x19b)](_0x3729c0){const _0x6df109=_0x1d996d;let {unitID:_0x291679}=_0x3729c0,_0x533f08=this[_0x6df109(0x2ca)][_0x6df109(0x32b)](_0x291679)[_0x6df109(0x1bb)](_0x3c528c[_0x6df109(0x3f6)]),_0x412555=_0x533f08[_0x6df109(0x339)]();if(_0x412555==null)return;let _0x417b51=[{'id':_0x6df109(0x330),'params':{'unitId':_0x3729c0[_0x6df109(0x12f)],'actions':null,'textRanges':[_0x412555]}}],_0x246474=this[_0x6df109(0x435)][_0x6df109(0x43f)](_0x3729c0,_0x417b51);if(!(0x0,_0x357287[_0x6df109(0x3f4)])(_0x246474))throw _0x246474[_0x6df109(0x343)];let _0x46f431=_0x246474[_0x6df109(0x1c8)][0x0][_0x6df109(0x245)]['textRanges'];Array[_0x6df109(0xd3)](_0x46f431)&&_0x46f431[_0x6df109(0x2d6)]&&_0x533f08[_0x6df109(0x140)](_0x46f431[0x0]);}};_0x3c0d9a=_0x2c4c13([_0xffa406(0x0,_0x357287[_0x1d996d(0x222)]),_0xffa406(0x1,_0x3eda51[_0x1d996d(0x2b7)])],_0x3c0d9a);let _0x101c58=class{constructor(_0x2d55e7,_0xdab406,_0x22cae6){const _0x540321=_0x1d996d;this[_0x540321(0x16b)]=_0x2d55e7,this[_0x540321(0x435)]=_0xdab406,this[_0x540321(0x437)]=_0x22cae6;}['transformStateCache'](_0x4a4108){this['_transformHistoryAndStateStack'](_0x4a4108);}['transformRemoteChangeset'](_0x2cbf08){const _0xca9d65=_0x1d996d;let {unitID:_0x2f9417}=_0x2cbf08,{collaboration:_0x5058d3}=this[_0xca9d65(0x437)][_0xca9d65(0x3ca)](_0x2f9417);if(_0x5058d3[_0xca9d65(0x2d6)]===0x0)return _0x2cbf08;let _0x26e7e4=_0xb6dbd1['Tools'][_0xca9d65(0x218)](_0x2cbf08[_0xca9d65(0x1c0)][0x0]);for(let _0x2e92b2=0x0;_0x2e92b2<_0x5058d3[_0xca9d65(0x2d6)];_0x2e92b2++){let _0x52c663={'id':_0xca9d65(0x330),'params':{'unitId':_0x5058d3[_0x2e92b2][_0xca9d65(0x22f)],..._0x5058d3[_0x2e92b2]['redoState']}},_0x4a2f03=this['_transformService'][_0xca9d65(0x3bf)](_0x26e7e4,_0x52c663,!0x1);if((0x0,_0x357287[_0xca9d65(0x316)])(_0x4a2f03))throw _0x4a2f03['error'];_0x26e7e4=_0x4a2f03[_0xca9d65(0xd8)];}return{..._0xb6dbd1[_0xca9d65(0x238)][_0xca9d65(0x218)](_0x2cbf08),'mutations':[_0x26e7e4]};}['_transformHistoryAndStateStack'](_0x17b896){const _0x2f34e7=_0x1d996d;let {unitID:_0x188791}=_0x17b896,{history:_0x2cb79d,collaboration:_0x3ca4d7}=this['_docStateChangeManagerService'][_0x2f34e7(0x3ca)](_0x188791);if(_0x2cb79d[_0x2f34e7(0x2d6)]===0x0&&_0x3ca4d7[_0x2f34e7(0x2d6)]===0x0)return;let _0x21c3ef=[],_0x138c8e=[],_0x2e4469=_0xb6dbd1[_0x2f34e7(0x238)][_0x2f34e7(0x218)](_0x17b896[_0x2f34e7(0x1c0)][0x0]),_0x628ca4=_0xb6dbd1[_0x2f34e7(0x238)][_0x2f34e7(0x218)](_0x17b896[_0x2f34e7(0x1c0)][0x0]);for(let _0x185792=_0x2cb79d['length']-0x1;_0x185792>=0x0;_0x185792--){let _0x380d2b={'id':_0x2f34e7(0x330),'params':{'unitId':_0x2cb79d[_0x185792][_0x2f34e7(0x22f)],..._0x2cb79d[_0x185792]['undoState']}},_0x4f3466={'id':_0x2f34e7(0x330),'params':{'unitId':_0x2cb79d[_0x185792][_0x2f34e7(0x22f)],..._0x2cb79d[_0x185792][_0x2f34e7(0x16a)]}},_0x73cc5d=this[_0x2f34e7(0x435)]['transformMutation'](_0x2e4469,_0x380d2b,!0x1),_0x48af87=this[_0x2f34e7(0x435)][_0x2f34e7(0x3bf)](_0x628ca4,_0x4f3466,!0x1);if((0x0,_0x357287[_0x2f34e7(0x316)])(_0x73cc5d))throw _0x73cc5d[_0x2f34e7(0x343)];if((0x0,_0x357287[_0x2f34e7(0x316)])(_0x48af87))throw _0x48af87[_0x2f34e7(0x343)];_0x21c3ef['unshift']({..._0x2cb79d[_0x185792],'undoState':_0x73cc5d[_0x2f34e7(0x1c8)][_0x2f34e7(0x245)],'redoState':_0x48af87['m2Prime'][_0x2f34e7(0x245)]}),_0x2e4469=_0x73cc5d['m1Prime'],_0x628ca4=_0x48af87[_0x2f34e7(0xd8)];}_0x2e4469=_0xb6dbd1[_0x2f34e7(0x238)][_0x2f34e7(0x218)](_0x17b896[_0x2f34e7(0x1c0)][0x0]),_0x628ca4=_0xb6dbd1[_0x2f34e7(0x238)]['deepClone'](_0x17b896[_0x2f34e7(0x1c0)][0x0]);for(let _0x3b3deb=_0x3ca4d7[_0x2f34e7(0x2d6)]-0x1;_0x3b3deb>=0x0;_0x3b3deb--){let _0x59dcad={'id':_0x2f34e7(0x330),'params':{'unitId':_0x3ca4d7[_0x3b3deb]['unitId'],..._0x3ca4d7[_0x3b3deb][_0x2f34e7(0xec)]}},_0xc2fe58={'id':_0x2f34e7(0x330),'params':{'unitId':_0x3ca4d7[_0x3b3deb][_0x2f34e7(0x22f)],..._0x3ca4d7[_0x3b3deb][_0x2f34e7(0x16a)]}},_0x185bf9=this[_0x2f34e7(0x435)][_0x2f34e7(0x3bf)](_0x2e4469,_0x59dcad,!0x1),_0xb33da9=this['_transformService']['transformMutation'](_0x628ca4,_0xc2fe58,!0x1);if((0x0,_0x357287[_0x2f34e7(0x316)])(_0x185bf9))throw _0x185bf9[_0x2f34e7(0x343)];if((0x0,_0x357287[_0x2f34e7(0x316)])(_0xb33da9))throw _0xb33da9[_0x2f34e7(0x343)];_0x138c8e['unshift']({..._0x3ca4d7[_0x3b3deb],'undoState':_0x185bf9[_0x2f34e7(0x1c8)][_0x2f34e7(0x245)],'redoState':_0xb33da9[_0x2f34e7(0x1c8)][_0x2f34e7(0x245)]}),_0x2e4469=_0x185bf9[_0x2f34e7(0xd8)],_0x628ca4=_0xb33da9['m1Prime'];}this[_0x2f34e7(0x437)][_0x2f34e7(0x126)](_0x188791,{'history':_0x21c3ef,'collaboration':_0x138c8e});}};_0x101c58=_0x2c4c13([_0xffa406(0x0,(0x0,_0xb6dbd1[_0x1d996d(0x151)])(_0xb6dbd1[_0x1d996d(0x31d)])),_0xffa406(0x1,_0x357287[_0x1d996d(0x222)]),_0xffa406(0x2,(0x0,_0xb6dbd1[_0x1d996d(0x151)])(_0xc5bded[_0x1d996d(0x365)]))],_0x101c58);let _0x260009=class{constructor(_0xd0536d,_0x57cbf1){const _0x593f4a=_0x1d996d;this[_0x593f4a(0x3b8)]=_0xd0536d,this['_transformService']=_0x57cbf1;}['transformSelections'](_0x34117b){const _0x45b067=_0x1d996d;var _0x8491e8;let _0x120198=this[_0x45b067(0x3b8)][_0x45b067(0x24a)]()??[],_0x412047=this[_0x45b067(0x3b8)][_0x45b067(0x2e7)]();if(_0x120198['length']===0x0)return;let _0x469c40=_0x34117b[_0x45b067(0x12f)],_0x557397=[{'id':_0x45b067(0x330),'params':{'unitId':_0x469c40,'actions':null,'textRanges':_0x120198}}],_0xf1a935=this['_transformService'][_0x45b067(0x43f)](_0x34117b,_0x557397);if(!(0x0,_0x357287[_0x45b067(0x3f4)])(_0xf1a935))throw _0xf1a935[_0x45b067(0x343)];let _0x486d94=(_0x8491e8=_0xf1a935[_0x45b067(0x1c8)][0x0])==null?void 0x0:_0x8491e8[_0x45b067(0x245)],_0x4e3616=_0x486d94&&typeof _0x486d94==_0x45b067(0x3bb)&&_0x45b067(0x35f)in _0x486d94?_0x486d94[_0x45b067(0x35f)]:null;if(!_0x27ada7(_0x4e3616))return;let _0x3e55f5=_0x34117b[_0x45b067(0x1c0)]['some'](_0x57c21e=>_0x2d1f43(_0x57c21e[_0x45b067(0x245)]))?_0x4e3616==null?void 0x0:_0x4e3616[_0x45b067(0x29b)](_0x2ea44d=>!(_0x45b067(0x33c)in _0x2ea44d)):_0x4e3616;Array[_0x45b067(0xd3)](_0x3e55f5)&&this[_0x45b067(0x3b8)][_0x45b067(0x2d8)](_0x3e55f5,{'unitId':_0x469c40,'subUnitId':_0x469c40},!0x1,_0x412047!=null&&_0x412047[_0x45b067(0x3c3)]?{..._0x412047['options'],'wholeDocument':!0x1}:void 0x0);}};_0x260009=_0x2c4c13([_0xffa406(0x0,(0x0,_0xb6dbd1[_0x1d996d(0x151)])(_0xc5bded[_0x1d996d(0xd4)])),_0xffa406(0x1,_0x357287[_0x1d996d(0x222)])],_0x260009);function _0x27ada7(_0xfc740f){const _0x57b768=_0x1d996d;return Array[_0x57b768(0xd3)](_0xfc740f)&&_0xfc740f['every'](_0x24cba2=>typeof _0x24cba2==_0x57b768(0x3bb)&&!!_0x24cba2&&_0x57b768(0x14b)in _0x24cba2&&_0x57b768(0x231)in _0x24cba2);}function _0x2d1f43(_0x1de051){const _0x5a7b47=_0x1d996d;return _0x1de051===_0x5a7b47(0x327)?!0x0:Array[_0x5a7b47(0xd3)](_0x1de051)?_0x1de051[_0x5a7b47(0x2be)](_0x389ebd=>_0x2d1f43(_0x389ebd)):!_0x1de051||typeof _0x1de051!=_0x5a7b47(0x3bb)?!0x1:Object[_0x5a7b47(0x418)](_0x1de051)[_0x5a7b47(0x2be)](_0x3e0d96=>_0x2d1f43(_0x3e0d96));}let _0x21f73a=class extends _0xb6dbd1['Disposable']{constructor(_0x140e39,_0x2a0eae,_0x13b57a,_0x2aaaf8,_0x19b72f,_0x21a22b,_0x49a0bb){const _0x27b433=_0x1d996d;super(),this[_0x27b433(0x2af)]=_0x140e39,this[_0x27b433(0x306)]=_0x2a0eae,this[_0x27b433(0x342)]=_0x13b57a,this[_0x27b433(0x335)]=_0x2aaaf8,this[_0x27b433(0x2a9)]=_0x19b72f,this['_messageService']=_0x21a22b,this[_0x27b433(0x394)]=_0x49a0bb,_0x5f2c7c(this,_0x27b433(0x41f),new _0x5cd61a['BehaviorSubject'](_0x38f0f3['CollaborationStatus'][_0x27b433(0x15e)])),this[_0x27b433(0x198)]();}[_0x1d996d(0x198)](){const _0x26c656=_0x1d996d;this[_0x26c656(0x33e)](this[_0x26c656(0x2af)][_0x26c656(0x276)][_0x26c656(0x267)](_0xbc847a=>{const _0x3bf2a7=_0x26c656;_0xbc847a instanceof _0x38f0f3[_0x3bf2a7(0x20e)]&&_0xbc847a[_0x3bf2a7(0x1fe)]({'onTransformIME':_0xf7b610=>this['_docTransformIMECacheService'][_0x3bf2a7(0x1f6)](_0xf7b610),'onTransformState':_0x3526c3=>this[_0x3bf2a7(0x342)][_0x3bf2a7(0x1a0)](_0x3526c3),'onTransformSelections':_0x570589=>this[_0x3bf2a7(0x335)][_0x3bf2a7(0x134)](_0x570589),'onSyncEditingCollabCursor':_0x25381f=>this['_docSyncEditingCollabCursorService'][_0x3bf2a7(0x3b9)](_0x25381f),'onTransformRemoteChangesetByIMECache':_0x39c146=>this[_0x3bf2a7(0x306)][_0x3bf2a7(0xf5)](_0x39c146),'onTransformRemoteChangesetByStateCache':_0x114113=>this[_0x3bf2a7(0x342)][_0x3bf2a7(0xf5)](_0x114113)});}));}};_0x21f73a=_0x2c4c13([_0xffa406(0x0,(0x0,_0xb6dbd1[_0x1d996d(0x151)])(_0x38f0f3[_0x1d996d(0x15b)])),_0xffa406(0x1,(0x0,_0xb6dbd1['Inject'])(_0x3c0d9a)),_0xffa406(0x2,(0x0,_0xb6dbd1[_0x1d996d(0x151)])(_0x101c58)),_0xffa406(0x3,(0x0,_0xb6dbd1['Inject'])(_0x260009)),_0xffa406(0x4,(0x0,_0xb6dbd1['Inject'])(_0xe2ae97)),_0xffa406(0x5,_0x37794f[_0x1d996d(0x163)]),_0xffa406(0x6,(0x0,_0xb6dbd1[_0x1d996d(0x151)])(_0xb6dbd1[_0x1d996d(0x40c)]))],_0x21f73a);let _0x5126de=class extends _0xb6dbd1[_0x1d996d(0x148)]{constructor(_0x224fbb,_0x1809eb,_0x7bd3f1,_0x143540){const _0x2e027c=_0x1d996d;super(),this[_0x2e027c(0x16b)]=_0x224fbb,this[_0x2e027c(0x2cf)]=_0x1809eb,this[_0x2e027c(0x326)]=_0x7bd3f1,this['_collaborationSessionService']=_0x143540,_0x5f2c7c(this,'_memberID',void 0x0),this[_0x2e027c(0x146)]();}[_0x1d996d(0x146)](){const _0x20934e=_0x1d996d;this[_0x20934e(0xe7)](),this[_0x20934e(0x13f)](),this['_monkeyPatchLogService'](),this[_0x20934e(0x374)]();}['_initUserListener'](){const _0x21e955=_0x1d996d;this['disposeWithMe'](this[_0x21e955(0x143)][_0x21e955(0xd2)]['subscribe'](_0x615103=>{const _0x2d2a5f=_0x21e955;this[_0x2d2a5f(0x21a)]=_0x615103==null?void 0x0:_0x615103[_0x2d2a5f(0x14c)];}));}[_0x1d996d(0xe7)](){const _0x240367=_0x1d996d;let _0x14e005=_0x4358c8=>{const _0xa6f62c=_0x107c;var _0x8fbe56;this['_uploadLog']('error',_0xa6f62c(0x286)+_0x4358c8[_0xa6f62c(0x350)]+'\x20at\x20'+_0x4358c8[_0xa6f62c(0x106)]+':'+_0x4358c8[_0xa6f62c(0x1ad)]+':'+_0x4358c8[_0xa6f62c(0x244)]+'\x0a'+(((_0x8fbe56=_0x4358c8[_0xa6f62c(0x343)])==null?void 0x0:_0x8fbe56[_0xa6f62c(0x34f)])||''));};window[_0x240367(0x429)]('error',_0x14e005),this[_0x240367(0x33e)](()=>{const _0xc497fd=_0x240367;window[_0xc497fd(0x1a7)]('error',_0x14e005);});}[_0x1d996d(0x13f)](){const _0x3625d6=_0x1d996d;let _0x583054=_0x4cdae6=>{const _0x231018=_0x107c;this[_0x231018(0x20c)]('error',_0x231018(0x1d5)+_0x4cdae6[_0x231018(0x3ef)]);};window['addEventListener'](_0x3625d6(0xed),_0x583054),this[_0x3625d6(0x33e)](()=>{const _0x206bc0=_0x3625d6;window[_0x206bc0(0x1a7)](_0x206bc0(0xed),_0x583054);});}['_monkeyPatchLogService'](){const _0x2c0ee0=_0x1d996d;let _0x1269af=this[_0x2c0ee0(0x326)][_0x2c0ee0(0x343)]['bind'](this[_0x2c0ee0(0x326)]);this[_0x2c0ee0(0x326)][_0x2c0ee0(0x343)]=(..._0x30b58a)=>{const _0x33d6d1=_0x2c0ee0;let _0x32558a=_0x30b58a[_0x33d6d1(0x417)](_0x4f7f08=>_0x4f7f08 instanceof Error?_0x4f7f08[_0x33d6d1(0x350)]+'\x0a'+_0x4f7f08[_0x33d6d1(0x34f)]:String(_0x4f7f08))[_0x33d6d1(0x376)]('\x20');this[_0x33d6d1(0x20c)](_0x33d6d1(0x343),_0x33d6d1(0x398)+_0x32558a),_0x1269af(..._0x30b58a);},this['disposeWithMe'](()=>{const _0x54d346=_0x2c0ee0;this[_0x54d346(0x326)][_0x54d346(0x343)]=_0x1269af;});}[_0x1d996d(0x20c)](_0x66b489,_0x1d5bbf){const _0x385b26=_0x1d996d;try{let _0xbbe629={'userId':this[_0x385b26(0x21a)],'logLabel':_0x66b489,'content':_0x1d5bbf};this[_0x385b26(0x2cf)][_0x385b26(0x1cb)](_0x385b26(0x226),{'body':_0xbbe629})['catch'](()=>{});}catch{}}};_0x5126de=_0x2c4c13([_0xffa406(0x0,(0x0,_0xb6dbd1['Inject'])(_0xb6dbd1[_0x1d996d(0x31d)])),_0xffa406(0x1,(0x0,_0xb6dbd1['Inject'])(_0x621071[_0x1d996d(0x29e)])),_0xffa406(0x2,_0xb6dbd1['ILogService']),_0xffa406(0x3,(0x0,_0xb6dbd1[_0x1d996d(0x151)])(_0x38f0f3['CollaborationSessionService']))],_0x5126de);function _0x3017c1({state$:_0x3bd354}){const _0x547e35=_0x1d996d;let _0x194ddf=(0x0,_0x37794f[_0x547e35(0x44a)])(_0x3bd354,null,!0x0);return _0x194ddf?(0x0,_0x43c095[_0x547e35(0x346)])(_0x547e35(0x3f9),{'data-u-comp':_0x547e35(0x249),'role':_0x547e35(0x309),'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,_0x43c095[_0x547e35(0xe4)])(_0x5d675c,{'className':_0x547e35(0x44d)}),(0x0,_0x43c095[_0x547e35(0xe4)])(_0x547e35(0x135),{'children':_0x194ddf[_0x547e35(0x2cd)]}),(0x0,_0x43c095['jsx'])(_0x56d9e2[_0x547e35(0x118)],{'size':_0x547e35(0x183),'variant':'primary','onClick':()=>window[_0x547e35(0x3c1)]['reload'](),'children':_0x194ddf['refreshLabel']})]}):null;}let _0x556743=_0x1d996d(0x372),_0x256660=class extends _0xb6dbd1[_0x1d996d(0x148)]{constructor(_0x5f5a18,_0x464cec,_0x2bdfce,_0x3603c4,_0x132f10,_0x10e010){const _0x394602=_0x1d996d;super(),this['_snapshotLoadingService']=_0x5f5a18,this[_0x394602(0x2f9)]=_0x464cec,this[_0x394602(0x394)]=_0x2bdfce,this[_0x394602(0x16b)]=_0x3603c4,this[_0x394602(0x2c9)]=_0x10e010,_0x5f2c7c(this,_0x394602(0x1d3),new _0x5cd61a[(_0x394602(0x35a))](null)),_0x5f2c7c(this,'_messageIds',new Set()),_0x5f2c7c(this,_0x394602(0x383),new Map()),_0x5f2c7c(this,_0x394602(0x10c),new Map()),_0x5f2c7c(this,_0x394602(0x1c6),this[_0x394602(0x1d3)]['asObservable']());let _0x14e4a7=()=>(0x0,_0x88259[_0x394602(0x266)])(_0x3017c1,{'state$':this['timeoutState$']});this[_0x394602(0x33e)](_0x132f10[_0x394602(0x21d)](_0x37794f['BuiltInUIPart'][_0x394602(0x13a)],()=>(0x0,_0x37794f[_0x394602(0x23a)])(_0x14e4a7,this[_0x394602(0x16b)]))),this['disposeWithMe'](this[_0x394602(0x337)]['state$']['subscribe'](_0xccc86d=>{const _0x409552=_0x394602;this[_0x409552(0x10c)]=_0xccc86d,_0xccc86d[_0x409552(0x30d)](_0x5c98c5=>this[_0x409552(0x420)](_0x5c98c5));})),this[_0x394602(0x33e)](this[_0x394602(0x2c9)][_0x394602(0x1d0)][_0x394602(0x267)](()=>{const _0x19324d=_0x394602;this[_0x19324d(0x10c)]['forEach'](_0x338d34=>this[_0x19324d(0x420)](_0x338d34));}));}['dispose'](){const _0x5a9cb3=_0x1d996d;this[_0x5a9cb3(0x168)][_0x5a9cb3(0x30d)](_0x300b4a=>this[_0x5a9cb3(0x2f9)][_0x5a9cb3(0x2ab)](_0x300b4a)),this['_messageIds'][_0x5a9cb3(0x113)](),this[_0x5a9cb3(0x383)][_0x5a9cb3(0x30d)](({timeoutId:_0x4b5a75})=>clearTimeout(_0x4b5a75)),this[_0x5a9cb3(0x383)]['clear'](),this[_0x5a9cb3(0x1d3)]['complete'](),super[_0x5a9cb3(0x39d)]();}[_0x1d996d(0x420)](_0x554b2f){const _0x1d8c67=_0x1d996d;let _0x2cf7e3=''+_0x556743+_0x554b2f[_0x1d8c67(0x22f)];if(_0x554b2f[_0x1d8c67(0x3d1)]===_0x357287[_0x1d8c67(0x37b)]['COMPLETE']){this[_0x1d8c67(0x272)](_0x554b2f[_0x1d8c67(0x22f)]),this[_0x1d8c67(0x2f1)](_0x554b2f[_0x1d8c67(0x22f)]),this[_0x1d8c67(0x2f9)]['remove'](_0x2cf7e3),this[_0x1d8c67(0x168)][_0x1d8c67(0x403)](_0x2cf7e3);return;}if(!this['_isVisibleUnit'](_0x554b2f['unitId'])){this['_clearBlockProgressWatch'](_0x554b2f[_0x1d8c67(0x22f)]),this['_clearTimeoutState'](_0x554b2f[_0x1d8c67(0x22f)]),this[_0x1d8c67(0x2f9)]['remove'](_0x2cf7e3),this[_0x1d8c67(0x168)][_0x1d8c67(0x403)](_0x2cf7e3);return;}if(_0x554b2f[_0x1d8c67(0x3d1)]===_0x357287[_0x1d8c67(0x37b)][_0x1d8c67(0x1e0)]){this[_0x1d8c67(0x272)](_0x554b2f[_0x1d8c67(0x22f)]),this[_0x1d8c67(0x2f1)](_0x554b2f['unitId']),this[_0x1d8c67(0x2f9)]['show']({'id':_0x2cf7e3,'type':_0x56d9e2[_0x1d8c67(0x41c)][_0x1d8c67(0x160)],'content':this['_localeService']['t'](_0x1d8c67(0x16c))}),this[_0x1d8c67(0x168)]['delete'](_0x2cf7e3);return;}if(_0x554b2f[_0x1d8c67(0x3d1)]!==_0x357287[_0x1d8c67(0x37b)][_0x1d8c67(0x1e2)]||_0x554b2f[_0x1d8c67(0x221)]<=0xa){this[_0x1d8c67(0x272)](_0x554b2f[_0x1d8c67(0x22f)]),this[_0x1d8c67(0x2f9)][_0x1d8c67(0x2ab)](_0x2cf7e3),this[_0x1d8c67(0x168)][_0x1d8c67(0x403)](_0x2cf7e3);return;}this[_0x1d8c67(0x36c)](_0x554b2f)||(this[_0x1d8c67(0x2f9)]['show']({'id':_0x2cf7e3,'type':_0x56d9e2[_0x1d8c67(0x41c)][_0x1d8c67(0x20b)],'duration':0x1/0x0,'content':this['_localeService']['t'](_0x1d8c67(0x334))+'\x20'+_0x554b2f[_0x1d8c67(0x3f1)]+'/'+_0x554b2f[_0x1d8c67(0x221)]}),this['_messageIds'][_0x1d8c67(0x2c6)](_0x2cf7e3));}['_watchBlockProgress'](_0xca8821){const _0x18e7ab=_0x1d996d;let _0xbb25a5=this['_blockProgressWatches']['get'](_0xca8821[_0x18e7ab(0x22f)]);if((_0xbb25a5==null?void 0x0:_0xbb25a5[_0x18e7ab(0x3f1)])===_0xca8821[_0x18e7ab(0x3f1)])return _0xbb25a5[_0x18e7ab(0x3b2)];this[_0x18e7ab(0x272)](_0xca8821[_0x18e7ab(0x22f)]);let _0x99340d=setTimeout(()=>{const _0x174e45=_0x18e7ab;let _0x55c04b=this[_0x174e45(0x383)][_0x174e45(0x3bc)](_0xca8821[_0x174e45(0x22f)]);if(!_0x55c04b||_0x55c04b[_0x174e45(0x42d)]!==_0x99340d)return;_0x55c04b[_0x174e45(0x3b2)]=!0x0;let _0x332e34=''+_0x556743+_0xca8821['unitId'];this['_messageService']['remove'](_0x332e34),this[_0x174e45(0x168)][_0x174e45(0x403)](_0x332e34),this[_0x174e45(0x1d3)][_0x174e45(0x3e8)]({'unitId':_0xca8821['unitId'],'content':this[_0x174e45(0x394)]['t'](_0x174e45(0xdc),String(_0xca8821[_0x174e45(0x3f1)]),String(_0xca8821[_0x174e45(0x221)])),'refreshLabel':this[_0x174e45(0x394)]['t']('collaboration-client-ui.snapshotLoading.refresh')});},0xea60);return this[_0x18e7ab(0x383)]['set'](_0xca8821[_0x18e7ab(0x22f)],{'loadedBlocks':_0xca8821['loadedBlocks'],'timedOut':!0x1,'timeoutId':_0x99340d}),!0x1;}['_clearBlockProgressWatch'](_0x1b9af1){const _0x2924bd=_0x1d996d;let _0x26e5a1=this[_0x2924bd(0x383)][_0x2924bd(0x3bc)](_0x1b9af1);_0x26e5a1&&(clearTimeout(_0x26e5a1[_0x2924bd(0x42d)]),this[_0x2924bd(0x383)][_0x2924bd(0x403)](_0x1b9af1),this['_clearTimeoutState'](_0x1b9af1));}[_0x1d996d(0x2f1)](_0x743796){const _0x10816d=_0x1d996d;var _0x453d9c;((_0x453d9c=this[_0x10816d(0x1d3)][_0x10816d(0x1ea)])==null?void 0x0:_0x453d9c[_0x10816d(0x22f)])===_0x743796&&this[_0x10816d(0x1d3)][_0x10816d(0x3e8)](null);}[_0x1d996d(0x2a1)](_0x9a5f12){const _0x415a0b=_0x1d996d;let _0x1a64d7=this[_0x415a0b(0x2c9)][_0x415a0b(0x1af)](_0x415a0b(0x3c2));return!_0x1a64d7||_0x1a64d7===_0x9a5f12;}};_0x256660=_0x2c4c13([_0xffa406(0x0,(0x0,_0xb6dbd1[_0x1d996d(0x151)])(_0x357287[_0x1d996d(0x3d3)])),_0xffa406(0x1,_0x37794f['IMessageService']),_0xffa406(0x2,(0x0,_0xb6dbd1[_0x1d996d(0x151)])(_0xb6dbd1[_0x1d996d(0x40c)])),_0xffa406(0x3,(0x0,_0xb6dbd1['Inject'])(_0xb6dbd1[_0x1d996d(0x31d)])),_0xffa406(0x4,_0x37794f[_0x1d996d(0x2e4)]),_0xffa406(0x5,_0x12a5bc)],_0x256660);function _0x600df7(_0x2ff449){const _0x36a2fe=_0x1d996d;var _0x124be9,_0xe132a;let _0x584796=(_0x124be9=_0x2ff449['stageInfo'])==null?void 0x0:_0x124be9[_0x36a2fe(0x3d1)],_0x294fa3=((_0xe132a=_0x2ff449[_0x36a2fe(0x130)])==null?void 0x0:_0xe132a[_0x36a2fe(0x21b)])||0x0;return _0x584796===_0x5aa837[_0x36a2fe(0x3db)][_0x36a2fe(0x1e8)]&&_0x294fa3>0x0;}function _0x59399c(_0x559ba8){const _0x78ed64=_0x1d996d;return _0x559ba8[_0x78ed64(0x208)]===_0x5aa837[_0x78ed64(0x115)]['SUCCESS'];}let _0x13dc56=class extends _0xb6dbd1[_0x1d996d(0x148)]{constructor(_0x539f96,_0x3213df,_0x48ec0d,_0xe1fb9c,_0x465ac5,_0x9a3909,_0x29d513){const _0x1f9071=_0x1d996d;super(),this[_0x1f9071(0x2f9)]=_0x539f96,this[_0x1f9071(0x1b0)]=_0x3213df,this['_configService']=_0x48ec0d,this['_httpService']=_0xe1fb9c,this['_univerInstanceService']=_0x465ac5,this[_0x1f9071(0x326)]=_0x9a3909,this[_0x1f9071(0x394)]=_0x29d513,_0x5f2c7c(this,'_pollingInterval',null),_0x5f2c7c(this,_0x1f9071(0x2c2),0x0),_0x5f2c7c(this,_0x1f9071(0x1bc),0x0),_0x5f2c7c(this,_0x1f9071(0x180),[]),_0x5f2c7c(this,'_lastResponseTimestamp',0x0),this[_0x1f9071(0xd6)]();}[_0x1d996d(0xd6)](){const _0x4820d5=_0x1d996d;this[_0x4820d5(0x33e)](this['_commandService']['beforeCommandExecuted']((_0x35f1e5,_0x133a97)=>{const _0x27bb1b=_0x4820d5;if(_0x35f1e5['id']!==_0x5aa837[_0x27bb1b(0x2a6)]['id'])return;let _0x3bc7e6=_0x35f1e5[_0x27bb1b(0x245)];if(this['_hasFormulaInDirtyRanges'](_0x3bc7e6[_0x27bb1b(0x3b5)]??[])&&!this[_0x27bb1b(0x228)]())throw this[_0x27bb1b(0x35d)](_0x35f1e5,_0x133a97),this[_0x27bb1b(0x2ff)](),new _0xb6dbd1[(_0x27bb1b(0x36d))]();})),this[_0x4820d5(0x33e)](this[_0x4820d5(0x1b0)]['onCommandExecuted']((_0x4a59fa,_0x20b9e2)=>{const _0xceb55f=_0x4820d5;if(_0x4a59fa['id']!==_0x5aa837[_0xceb55f(0x27c)]['id'])return;let _0x1dda6e=_0x4a59fa[_0xceb55f(0x245)];if(_0x600df7(_0x1dda6e)){let _0x54c090=(0x0,_0xb6dbd1['generateRandomId'])();this[_0xceb55f(0x180)]['push'](_0x54c090),this[_0xceb55f(0x256)](_0x54c090);}else{if(_0x59399c(_0x1dda6e)&&this['_taskIds'][_0xceb55f(0x2d6)]>0x0){let _0x6efebf=this[_0xceb55f(0x180)][_0xceb55f(0x31e)]();this[_0xceb55f(0x21e)](_0x6efebf);}}}));}[_0x1d996d(0x39d)](){const _0x5a8c05=_0x1d996d;super[_0x5a8c05(0x39d)](),this[_0x5a8c05(0x112)](),this[_0x5a8c05(0x180)]=[],this[_0x5a8c05(0x1bc)]=0x0,this['_maxFormulaLimit']=0x0,this[_0x5a8c05(0x100)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0xa770c6,_0x332f0c){const _0x2b102e=_0x1d996d;for(let _0x17c8b1=0x0;_0x17c8b1<0x1e;_0x17c8b1++)try{if(await this[_0x2b102e(0x2c1)](),this[_0x2b102e(0x228)]()){this['_applyCommand'](_0xa770c6,_0x332f0c),this[_0x2b102e(0x2f9)][_0x2b102e(0x3df)]({'content':this['_localeService']['t']('collaboration-client-ui.formula.calculation.started'),'type':_0x56d9e2[_0x2b102e(0x41c)]['Success']});return;}await new Promise(_0x283457=>{const _0x35c217=_0x2b102e;this['_pollingInterval']=window[_0x35c217(0x3ee)](_0x283457,0x3e8);});}catch(_0x5352dc){this['_logService'][_0x2b102e(0x343)](_0x5352dc);}this['_messageService'][_0x2b102e(0x3df)]({'content':this[_0x2b102e(0x394)]['t']('collaboration-client-ui.formula.calculation.unable'),'type':_0x56d9e2[_0x2b102e(0x41c)][_0x2b102e(0x160)]});}[_0x1d996d(0x355)](_0x5c1c53,_0x28ad8b){const _0x35b571=_0x1d996d;try{this[_0x35b571(0x1b0)]['executeCommand'](_0x5c1c53['id'],_0x5c1c53[_0x35b571(0x245)],_0x28ad8b);}catch(_0x1b35fc){this[_0x35b571(0x326)][_0x35b571(0x343)](_0x1b35fc);}}['_setFormulaLimitStatus'](_0x1d3f00,_0x3ed88f){const _0x12d713=_0x1d996d;_0x3ed88f<this[_0x12d713(0x100)]||(this[_0x12d713(0x100)]=_0x3ed88f,this[_0x12d713(0x2c2)]=Number[_0x12d713(0x40b)](_0x1d3f00[_0x12d713(0x3aa)]),this[_0x12d713(0x1bc)]=Number[_0x12d713(0x40b)](_0x1d3f00[_0x12d713(0x175)]));}async[_0x1d996d(0x256)](_0x5b9341){const _0x2a979c=_0x1d996d;let _0x1c5943=Date[_0x2a979c(0x312)]();try{var _0x440b17,_0x247a31;let _0x921283=((_0x440b17=this[_0x2a979c(0x3a2)][_0x2a979c(0x384)](_0x38f0f3['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x440b17[_0x2a979c(0x404)])||_0x2a979c(0x1c3),_0x343218=(await this[_0x2a979c(0x2cf)][_0x2a979c(0x1cb)](_0x921283,{'body':JSON['stringify']({'taskId':_0x5b9341})}))['body'];if(((_0x247a31=_0x343218['error'])==null?void 0x0:_0x247a31[_0x2a979c(0x121)])!==_0x95888b['ErrorCode']['OK'])return;this[_0x2a979c(0x257)](_0x343218[_0x2a979c(0x2d2)],_0x1c5943);}catch(_0x3a12a2){this[_0x2a979c(0x326)][_0x2a979c(0x343)](_0x3a12a2);}}async[_0x1d996d(0x2c1)](_0x5b6181){const _0x154466=_0x1d996d;let _0x8bb915=Date[_0x154466(0x312)]();try{var _0x1e1df2,_0x131bc8;let _0x262616=((_0x1e1df2=this['_configService'][_0x154466(0x384)](_0x38f0f3[_0x154466(0x385)]))==null?void 0x0:_0x1e1df2[_0x154466(0xfc)])||_0x154466(0x1bf),_0x2e47c1=_0x5b6181?_0x262616+_0x154466(0x223)+encodeURIComponent(_0x5b6181):_0x262616,_0x381d58=(await this[_0x154466(0x2cf)][_0x154466(0x3bc)](_0x2e47c1))[_0x154466(0xe5)];if(((_0x131bc8=_0x381d58[_0x154466(0x343)])==null?void 0x0:_0x131bc8[_0x154466(0x121)])!==_0x95888b[_0x154466(0x14a)]['OK'])return;this[_0x154466(0x257)](_0x381d58['limitInfo'],_0x8bb915);}catch(_0x219389){this['_logService'][_0x154466(0x343)](_0x219389);}}async[_0x1d996d(0x21e)](_0x594242){const _0x186d66=_0x1d996d;let _0x5a9321=Date['now']();try{var _0x24f005,_0x2e4cdf;let _0xbc33ba=((_0x24f005=this[_0x186d66(0x3a2)][_0x186d66(0x384)](_0x38f0f3[_0x186d66(0x385)]))==null?void 0x0:_0x24f005[_0x186d66(0xdb)])||'/universer-api/license/formula/limit/done',_0xd49795=(await this[_0x186d66(0x2cf)][_0x186d66(0x1cb)](_0xbc33ba,{'body':JSON[_0x186d66(0x318)]({'taskId':_0x594242})}))[_0x186d66(0xe5)];if(((_0x2e4cdf=_0xd49795['error'])==null?void 0x0:_0x2e4cdf[_0x186d66(0x121)])!==_0x95888b[_0x186d66(0x14a)]['OK'])return;this[_0x186d66(0x257)](_0xd49795[_0x186d66(0x2d2)],_0x5a9321);}catch(_0x2ca0aa){this[_0x186d66(0x326)][_0x186d66(0x343)](_0x2ca0aa);}}[_0x1d996d(0x228)](){const _0x3a925a=_0x1d996d;return this[_0x3a925a(0x2c2)]===0x0||this[_0x3a925a(0x2c2)]-this['_currentUsage']>0x0;}['_clearPolling'](){const _0x356cb4=_0x1d996d;this[_0x356cb4(0x2f3)]&&=(clearTimeout(this[_0x356cb4(0x2f3)]),null);}[_0x1d996d(0x2ff)](){const _0x46c025=_0x1d996d;this[_0x46c025(0x2f9)]['show']({'content':this[_0x46c025(0x394)]['t']('collaboration-client-ui.formula.calculation.waiting'),'type':_0x56d9e2['MessageType']['Loading']});}[_0x1d996d(0x284)](_0x22b606){const _0xe2a54a=_0x1d996d;for(let _0x3c583f of _0x22b606){let {unitId:_0x1fbdd8,sheetId:_0x47c2e9,range:_0x126bbd}=_0x3c583f,_0x3d4f26=this[_0xe2a54a(0x28b)]['getUnit'](_0x1fbdd8,_0xb6dbd1[_0xe2a54a(0x225)][_0xe2a54a(0x397)]);if(!_0x3d4f26)continue;let _0x1be900=_0x3d4f26['getSheetBySheetId'](_0x47c2e9);if(!_0x1be900)continue;let _0x58fbd9=_0x1be900['getCellMatrix']();for(let _0x269796=_0x126bbd['startRow'];_0x269796<=_0x126bbd['endRow'];_0x269796++)for(let _0x1a67e2=_0x126bbd[_0xe2a54a(0x2a3)];_0x1a67e2<=_0x126bbd[_0xe2a54a(0x35b)];_0x1a67e2++){let _0x3c20f6=_0x58fbd9[_0xe2a54a(0x3f3)](_0x269796,_0x1a67e2);if(_0x3c20f6&&((0x0,_0xb6dbd1[_0xe2a54a(0x445)])(_0x3c20f6['f'])||(0x0,_0xb6dbd1[_0xe2a54a(0x1fb)])(_0x3c20f6['si'])))return!0x0;}}return!0x1;}};_0x13dc56=_0x2c4c13([_0xffa406(0x0,(0x0,_0xb6dbd1[_0x1d996d(0x151)])(_0x37794f[_0x1d996d(0x163)])),_0xffa406(0x1,_0xb6dbd1['ICommandService']),_0xffa406(0x2,_0xb6dbd1[_0x1d996d(0x37d)]),_0xffa406(0x3,(0x0,_0xb6dbd1[_0x1d996d(0x151)])(_0x621071[_0x1d996d(0x29e)])),_0xffa406(0x4,_0xb6dbd1[_0x1d996d(0x26a)]),_0xffa406(0x5,_0xb6dbd1[_0x1d996d(0x2f5)]),_0xffa406(0x6,(0x0,_0xb6dbd1['Inject'])(_0xb6dbd1[_0x1d996d(0x40c)]))],_0x13dc56);let _0x3dea6d=class extends _0xb6dbd1[_0x1d996d(0x148)]{constructor(_0x7ef835,_0x5b7a5f,_0x2cdf2a){const _0x3ab7e9=_0x1d996d;super(),this[_0x3ab7e9(0x3a2)]=_0x7ef835,this[_0x3ab7e9(0xfb)]=_0x5b7a5f,this[_0x3ab7e9(0x188)]=_0x2cdf2a,_0x5f2c7c(this,_0x3ab7e9(0xf9),new Map()),_0x5f2c7c(this,_0x3ab7e9(0x36e),new Map()),_0x5f2c7c(this,_0x3ab7e9(0x22e),!0x1);}[_0x1d996d(0x3ae)](){const _0x1bf1d3=_0x1d996d;this[_0x1bf1d3(0x22e)]=!0x0;}[_0x1d996d(0x2f4)](){const _0x36281d=_0x1d996d;this[_0x36281d(0x22e)]=!0x1;}get[_0x1d996d(0x377)](){const _0x257c8f=_0x1d996d;return this[_0x257c8f(0x36e)];}[_0x1d996d(0x39d)](){const _0x311a66=_0x1d996d;this[_0x311a66(0x31f)]()[_0x311a66(0xf4)](()=>super[_0x311a66(0x39d)]());}async['loadOfflineData'](_0xc11777){const _0x22ef00=_0x1d996d;return this[_0x22ef00(0x22e)]?null:this[_0x22ef00(0xfb)]['getItem']((0x0,_0x38f0f3[_0x22ef00(0x423)])(_0xc11777));}async[_0x1d996d(0x1d4)](_0x217ffa,_0x194852){const _0x558cd6=_0x1d996d;return!!this[_0x558cd6(0xfb)][_0x558cd6(0x213)]((0x0,_0x38f0f3[_0x558cd6(0x423)])(_0x217ffa),_0x194852);}async[_0x1d996d(0x242)](_0x2f4989,_0x19cd72){const _0x84d68f=_0x1d996d;let _0x2a740f=this[_0x84d68f(0xf9)]['get'](_0x2f4989)??await this['_localStorageService'][_0x84d68f(0x101)]((0x0,_0x38f0f3['getLocalCacheKey'])(_0x2f4989));if(!_0x2a740f)return;let _0x7d9476=Date['now'](),_0x2a7d18=new Date(_0x7d9476)[_0x84d68f(0x33a)]();await this[_0x84d68f(0xfb)][_0x84d68f(0x213)]((0x0,_0x38f0f3[_0x84d68f(0x423)])(_0x2f4989)+_0x84d68f(0x315)+_0x7d9476,{'reason':_0x19cd72,'createdAt':_0x2a7d18,'data':_0x2a740f});}['updateOfflineData'](_0x36ef99,_0x16af0c,_0x11ad5e,_0x44c7f4){const _0xb04ca1=_0x1d996d;let _0x17b08f=this[_0xb04ca1(0x188)][_0xb04ca1(0x270)](_0x36ef99);this['_cachedData'][_0xb04ca1(0x12d)](_0x36ef99,{'unitID':_0x36ef99,'type':_0x16af0c,'awaitingChangeset':_0x11ad5e,'mutations':_0x44c7f4,'rev':_0x17b08f}),this[_0xb04ca1(0x36e)][_0xb04ca1(0x379)](_0x36ef99)||this[_0xb04ca1(0x448)](_0x36ef99);}['_scheduleSaving'](_0x56220b){const _0x9e1a6a=_0x1d996d;let _0x123022=this[_0x9e1a6a(0x24d)]();_0x123022===0x0?this[_0x9e1a6a(0x1f7)](_0x56220b):this['_saveTaskMap'][_0x9e1a6a(0x12d)](_0x56220b,window['setTimeout'](()=>this[_0x9e1a6a(0x1f7)](_0x56220b),_0x123022));}[_0x1d996d(0x24d)](){const _0x3d1a67=_0x1d996d;return this[_0x3d1a67(0x3a2)]['getConfig'](_0x38f0f3[_0x3d1a67(0x1b7)])??_0x38f0f3['LOCAL_CACHE_INTERVAL'];}[_0x1d996d(0x1f7)](_0x2bba85){const _0x4a1d26=_0x1d996d;let _0x23d565=this[_0x4a1d26(0x36e)]['get'](_0x2bba85);return _0x23d565!==void 0x0&&window[_0x4a1d26(0x2e5)](_0x23d565),this[_0x4a1d26(0xfb)]['setItem']((0x0,_0x38f0f3['getLocalCacheKey'])(_0x2bba85),this[_0x4a1d26(0xf9)][_0x4a1d26(0x3bc)](_0x2bba85))['then'](()=>this[_0x4a1d26(0x36e)][_0x4a1d26(0x403)](_0x2bba85));}async[_0x1d996d(0x31f)](){const _0x59b276=_0x1d996d;let _0x444f5d=[];this[_0x59b276(0x36e)][_0x59b276(0x30d)]((_0x9f22c7,_0x237c69)=>{const _0x280471=_0x59b276;window[_0x280471(0x2e5)](_0x9f22c7),_0x444f5d[_0x280471(0x261)](this[_0x280471(0x1f7)](_0x237c69)[_0x280471(0xf4)](()=>{const _0x3d4580=_0x280471;this['_saveTaskMap'][_0x3d4580(0x403)](_0x237c69);}));}),await Promise[_0x59b276(0x1ae)](_0x444f5d);}};_0x3dea6d=_0x2c4c13([_0xffa406(0x0,_0xb6dbd1[_0x1d996d(0x37d)]),_0xffa406(0x1,_0xb6dbd1[_0x1d996d(0x288)]),_0xffa406(0x2,(0x0,_0xb6dbd1[_0x1d996d(0x151)])(_0x357287[_0x1d996d(0x3d7)]))],_0x3dea6d);var _0x179bb1=class extends _0xb6dbd1[_0x1d996d(0x406)]{constructor(){const _0x59f9c1=_0x1d996d;super(),_0x5f2c7c(this,_0x59f9c1(0x1d0),void 0x0),this['urlChange$']=(0x0,_0x5cd61a[_0x59f9c1(0x209)])(window,_0x59f9c1(0x319))[_0x59f9c1(0x181)]((0x0,_0x5cd61a[_0x59f9c1(0x2fa)])(this['dispose$']),(0x0,_0x5cd61a[_0x59f9c1(0x2fc)])({'bufferSize':0x1,'refCount':!0x0}),(0x0,_0x5cd61a[_0x59f9c1(0x323)])(void 0x0));}[_0x1d996d(0xf3)](_0x70c3b2,_0x24510c,_0xa1221c=!0x1){const _0x22b15b=_0x1d996d;let _0x29edd1=new URL(window[_0x22b15b(0x3c1)][_0x22b15b(0xe9)]);_0x29edd1['searchParams'][_0x22b15b(0x12d)](_0x70c3b2,_0x24510c),_0xa1221c?window[_0x22b15b(0x2cb)][_0x22b15b(0x3d9)]('','',_0x29edd1[_0x22b15b(0x2e6)]()):window['history'][_0x22b15b(0x3e2)]('','',_0x29edd1[_0x22b15b(0x2e6)]());}['removeParam'](_0x271299,_0x430c81=!0x1){const _0x3ad410=_0x1d996d;let _0x4c13cf=new URL(window[_0x3ad410(0x3c1)]['href']);_0x4c13cf[_0x3ad410(0x3a6)][_0x3ad410(0x403)](_0x271299),_0x430c81?window[_0x3ad410(0x2cb)][_0x3ad410(0x3d9)]('','',_0x4c13cf[_0x3ad410(0x2e6)]()):window[_0x3ad410(0x2cb)]['pushState']('','',_0x4c13cf[_0x3ad410(0x2e6)]());}[_0x1d996d(0x1af)](_0x5cc6f3){const _0xd4568c=_0x1d996d;return new URL(window[_0xd4568c(0x3c1)]['href'])[_0xd4568c(0x3a6)][_0xd4568c(0x3bc)](_0x5cc6f3)??void 0x0;}};let _0x2835d6=class extends _0xb6dbd1['Plugin']{constructor(_0x2b4585=_0x418dd3,_0x37f26e,_0x4b9085,_0x2a8738,_0x23a4cd){const _0x437ac3=_0x1d996d;super(),this['_config']=_0x2b4585,this[_0x437ac3(0x2ca)]=_0x37f26e,this[_0x437ac3(0x16b)]=_0x4b9085,this[_0x437ac3(0x3a2)]=_0x2a8738,this[_0x437ac3(0x1b0)]=_0x23a4cd;let {..._0xb80dbd}=(0x0,_0xb6dbd1[_0x437ac3(0x212)])({},_0x418dd3,this[_0x437ac3(0x166)]);this[_0x437ac3(0x3a2)][_0x437ac3(0x439)](_0x437ac3(0x1eb),_0xb80dbd);}[_0x1d996d(0x205)](){const _0x39a84d=_0x1d996d;this[_0x39a84d(0x2bf)](),this[_0x39a84d(0x33e)](this[_0x39a84d(0x1b0)][_0x39a84d(0x443)](_0x3d46d5)),this[_0x39a84d(0x41d)]();}['onRendered'](){const _0x1020e9=_0x1d996d;this[_0x1020e9(0x381)]();}[_0x1d996d(0x2bf)](){const _0x19911a=_0x1d996d;var _0x2c005f;let _0x402371=[[_0x4f0bf7],[_0x13dc56],[_0x12a5bc,{'useClass':_0x179bb1}],[_0x621071[_0x19911a(0x3fa)],{'useClass':_0x621071[_0x19911a(0x27b)]}],[_0x38f0f3['ILocalCacheService'],{'useClass':_0x3dea6d}],[_0x59c70b],[_0x48ca36],[_0x1ab76e],[_0x222ce1],[_0x387a6e],[_0x256660]];this[_0x19911a(0x166)][_0x19911a(0x26b)]!==!0x1&&_0x402371[_0x19911a(0x261)]([_0x260009],[_0x3c0d9a],[_0x101c58],[_0xe2ae97],[_0x21f73a],[_0x4fd7d2]),this[_0x19911a(0x166)][_0x19911a(0x328)]&&_0x402371[_0x19911a(0x261)]([_0x5126de]),(0x0,_0xb6dbd1['registerDependencies'])(this['_injector'],(0x0,_0xb6dbd1[_0x19911a(0x390)])(_0x402371,(_0x2c005f=this['_config'])==null?void 0x0:_0x2c005f['override']));}[_0x1d996d(0x381)](){const _0x27508f=_0x1d996d;this[_0x27508f(0x166)][_0x27508f(0x26b)]!==!0x1&&this[_0x27508f(0x33e)](this[_0x27508f(0x2ca)][_0x27508f(0x422)](_0xb6dbd1[_0x27508f(0x225)][_0x27508f(0x3f8)],[_0x4f8028])),this['disposeWithMe'](this[_0x27508f(0x2ca)][_0x27508f(0x422)](_0xb6dbd1['UniverInstanceType'][_0x27508f(0x397)],[_0x2e322e]));}[_0x1d996d(0x41d)](){const _0x1936eb=_0x1d996d;(0x0,_0xb6dbd1[_0x1936eb(0x1de)])(this['_injector'],[[_0x1ab76e],[_0x222ce1],[_0x59c70b],[_0x48ca36],[_0x387a6e],[_0x13dc56],[_0x256660]]),this['_config']['enableDocumentCollaborationUI']!==!0x1&&(0x0,_0xb6dbd1[_0x1936eb(0x1de)])(this[_0x1936eb(0x16b)],[[_0x21f73a],[_0x4fd7d2]]),this[_0x1936eb(0x166)]['enableFrontendLog']&&(0x0,_0xb6dbd1[_0x1936eb(0x1de)])(this[_0x1936eb(0x16b)],[[_0x5126de]]);}};_0x5f2c7c(_0x2835d6,_0x1d996d(0x15d),_0x1d996d(0x152)),_0x5f2c7c(_0x2835d6,'packageName',_0x39d21a),_0x5f2c7c(_0x2835d6,'version',_0x22a216),_0x2835d6=_0x2c4c13([(0x0,_0xb6dbd1[_0x1d996d(0x38f)])(_0x28d8a6[_0x1d996d(0x2b3)],_0xc5bded[_0x1d996d(0x28f)],_0x3eda51['UniverRenderEnginePlugin'],_0x621071[_0x1d996d(0x263)],_0x357287[_0x1d996d(0x2a5)],_0x3c528c['UniverDocsUIPlugin'],_0x38f0f3[_0x1d996d(0x3d0)]),_0xffa406(0x1,_0x3eda51['IRenderManagerService']),_0xffa406(0x2,(0x0,_0xb6dbd1[_0x1d996d(0x151)])(_0xb6dbd1[_0x1d996d(0x31d)])),_0xffa406(0x3,_0xb6dbd1['IConfigService']),_0xffa406(0x4,_0xb6dbd1[_0x1d996d(0x20d)])],_0x2835d6);let _0x32ac87=class extends _0x38f0f3[_0x1d996d(0x1f4)]{constructor(_0x155425,_0x210ca2,_0x4f96cf,_0x1a7abd,_0x2cf7fa){super(_0x155425,_0x210ca2,_0x4f96cf,_0x1a7abd,_0x2cf7fa);}async['createSocket'](_0x390ae4){const _0x34a2e6=_0x1d996d;let _0x41794f=await this['_getSessionTicket'](),_0xeb9b3e=this['_createSocketURL'](_0x390ae4,_0x41794f);return this[_0x34a2e6(0x137)](_0xeb9b3e);}[_0x1d996d(0x281)](_0x5ab0a1,_0x156f5e){const _0x18e4f0=_0x1d996d;let _0x51b658=typeof window>'u'?new URL(_0x5ab0a1):new URL(_0x5ab0a1,window[_0x18e4f0(0x3c1)][_0x18e4f0(0x303)]);_0x51b658[_0x18e4f0(0x3a6)][_0x18e4f0(0x12d)](_0x18e4f0(0x387),_0x156f5e);let _0x5a8bf2=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x18e4f0(0x3c1)][_0x18e4f0(0x123)]);return _0x5a8bf2[_0x18e4f0(0x3bc)]('runId')&&_0x51b658[_0x18e4f0(0x3a6)][_0x18e4f0(0x12d)](_0x18e4f0(0x27a),_0x5a8bf2[_0x18e4f0(0x3bc)](_0x18e4f0(0x27a))),_0x51b658[_0x18e4f0(0x2e6)]();}async['_getSessionTicket'](){const _0x2ef344=_0x1d996d;var _0x3aec56;let _0x4c6025=this[_0x2ef344(0x3a2)][_0x2ef344(0x384)](_0x38f0f3[_0x2ef344(0x385)]),_0x22bca4=(_0x4c6025==null?void 0x0:_0x4c6025[_0x2ef344(0x292)])??_0x38f0f3[_0x2ef344(0x2ec)];return((_0x3aec56=(await this[_0x2ef344(0x2cf)][_0x2ef344(0x3bc)](_0x22bca4,{'headers':{'Content-Type':_0x2ef344(0x3e6)}}))['body'])==null?void 0x0:_0x3aec56['ticket'])??'';}};_0x32ac87=_0x2c4c13([_0xffa406(0x0,(0x0,_0xb6dbd1['Inject'])(_0xb6dbd1[_0x1d996d(0x31d)])),_0xffa406(0x1,(0x0,_0xb6dbd1[_0x1d996d(0x151)])(_0x621071['HTTPService'])),_0xffa406(0x2,_0xb6dbd1[_0x1d996d(0x37d)]),_0xffa406(0x3,_0xb6dbd1[_0x1d996d(0x2f5)]),_0xffa406(0x4,_0x357287[_0x1d996d(0x105)])],_0x32ac87);let _0x482ebf=class extends _0xb6dbd1['Disposable']{constructor(_0x4531db,_0x27b785,_0x4add2f){const _0x50f9c1=_0x1d996d;super(),this['_instanceService']=_0x4531db,this[_0x50f9c1(0x2cf)]=_0x27b785,this['_configService']=_0x4add2f;}async[_0x1d996d(0x13e)](_0x539952,_0x50f9a0,_0x1188f6,..._0x1d5583){const _0x8e4058=_0x1d996d;let _0x58daf8=this[_0x8e4058(0x409)]['getFocusedUnit']();if(!_0x58daf8)throw Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');let _0x1e1fd0=(this[_0x8e4058(0x3a2)][_0x8e4058(0x384)](_0x38f0f3[_0x8e4058(0x35c)])??_0x38f0f3[_0x8e4058(0x240)])+'/'+_0x539952+_0x8e4058(0x42b)+_0x50f9a0,_0x2187c8={'scriptId':_0x539952,'runId':new URL(window['location'][_0x8e4058(0xe9)])[_0x8e4058(0x3a6)][_0x8e4058(0x3bc)](_0x8e4058(0x27a))??'','function':_0x50f9a0,'unitId':_0x58daf8[_0x8e4058(0x1f9)](),'argsOfFunction':JSON[_0x8e4058(0x318)](_0x1d5583),'invokeId':_0x1188f6[_0x8e4058(0x2fe)]??'','executionId':_0x1188f6[_0x8e4058(0x2a8)]??''};try{let _0x2e7e52=await this[_0x8e4058(0x2cf)][_0x8e4058(0x1cb)](_0x1e1fd0,{'body':_0x2187c8});return _0x2e7e52[_0x8e4058(0xe5)]['error']&&_0x2e7e52[_0x8e4058(0xe5)]['error'][_0x8e4058(0x121)]!==_0x95888b[_0x8e4058(0x14a)]['OK']?_0x8e4058(0x23b):_0x2e7e52[_0x8e4058(0xe5)][_0x8e4058(0x2ce)];}catch{return _0x8e4058(0x23b);}}};_0x482ebf=_0x2c4c13([_0xffa406(0x0,_0xb6dbd1[_0x1d996d(0x26a)]),_0xffa406(0x1,(0x0,_0xb6dbd1[_0x1d996d(0x151)])(_0x621071['HTTPService'])),_0xffa406(0x2,_0xb6dbd1[_0x1d996d(0x37d)])],_0x482ebf);let _0x55ce2b=0x7530,_0x48be15=_0x1d996d(0x351);var _0x269a57=class extends _0xb6dbd1[_0x1d996d(0x148)]{constructor(){const _0x432557=_0x1d996d;super(),_0x5f2c7c(this,_0x432557(0x201),(0x0,_0xb6dbd1[_0x432557(0x431)])()),_0x5f2c7c(this,'_selfUnitIDs',new Set()),_0x5f2c7c(this,_0x432557(0x29d),new Map()),_0x5f2c7c(this,_0x432557(0x353),null),_0x5f2c7c(this,_0x432557(0x176),new Map()),_0x5f2c7c(this,_0x432557(0x392),new Map()),this['_init']();}[_0x1d996d(0x39d)](){const _0x3ad0ba=_0x1d996d;super['dispose'](),this[_0x3ad0ba(0x176)]['forEach']((_0x11d9e6,_0x51a301)=>this[_0x3ad0ba(0x1c5)](_0x51a301)),this[_0x3ad0ba(0x353)]&&window[_0x3ad0ba(0x391)](this[_0x3ad0ba(0x353)]);}['getUnitStatus$'](_0x5b706b){return this['_ensureSubject'](_0x5b706b)['pipe']((0x0,_0x5cd61a['distinctUntilChanged'])());}[_0x1d996d(0x38b)](_0x2f19a6){const _0x43ed65=_0x1d996d;this[_0x43ed65(0x3dc)]['size']===0x0&&this[_0x43ed65(0x414)](),this['_selfUnitIDs'][_0x43ed65(0x2c6)](_0x2f19a6),this[_0x43ed65(0x36b)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x2f19a6],'isForwarded':!0x1});}[_0x1d996d(0x3e0)](_0x359df1){const _0x3a0e97=_0x1d996d;this[_0x3a0e97(0x3dc)][_0x3a0e97(0x403)](_0x359df1),this[_0x3a0e97(0x3dc)][_0x3a0e97(0x237)]===0x0&&this[_0x3a0e97(0x353)]&&window['clearInterval'](this[_0x3a0e97(0x353)]);}['_init'](){const _0x19b6ca=_0x1d996d;this[_0x19b6ca(0x33e)]((0x0,_0xb6dbd1[_0x19b6ca(0x30f)])((0x0,_0x5cd61a[_0x19b6ca(0x209)])(window,_0x19b6ca(0x3ac))[_0x19b6ca(0x267)](_0x1269bf=>{const _0x4fb39f=_0x19b6ca;if(_0x1269bf[_0x4fb39f(0x3b0)]!==_0x48be15||!_0x1269bf[_0x4fb39f(0x39f)])return;let _0x67689=JSON[_0x4fb39f(0x2eb)](_0x1269bf[_0x4fb39f(0x39f)]);this[_0x4fb39f(0x1da)](_0x67689);}))),window[_0x19b6ca(0x429)](_0x19b6ca(0x173),()=>this[_0x19b6ca(0x36b)]({'type':0x1,'memberID':this[_0x19b6ca(0x201)],'unitIDs':Array['from'](this[_0x19b6ca(0x3dc)])}));}['_handleEvent'](_0x48db6a){const _0x2fea63=_0x1d996d;switch(_0x48db6a[_0x2fea63(0x3fb)]){case 0x0:this[_0x2fea63(0x2b2)](_0x48db6a);break;case 0x1:this[_0x2fea63(0x23e)](_0x48db6a);break;case 0x2:this[_0x2fea63(0x293)](_0x48db6a);break;}}[_0x1d996d(0x2b2)](_0xa30f6d){const _0x3a6544=_0x1d996d;let {unitIDs:_0x52d30f,memberID:_0x5b24d0,isForwarded:_0x350915}=_0xa30f6d;_0x52d30f[_0x3a6544(0x30d)](_0x494668=>{const _0x554fcb=_0x3a6544;if(!_0x350915&&this['_unitOnClients'][_0x554fcb(0x379)](_0x494668)&&this[_0x554fcb(0x36f)](_0x494668)[_0x554fcb(0x3e8)](_0x38f0f3[_0x554fcb(0x3ab)][_0x554fcb(0x252)]),!this[_0x554fcb(0x29d)]['has'](_0x494668)||!this[_0x554fcb(0x29d)][_0x554fcb(0x3bc)](_0x494668)[_0x554fcb(0x379)](_0x5b24d0)){let _0xb63626=this[_0x554fcb(0x29d)][_0x554fcb(0x3bc)](_0x494668)||new Set();_0xb63626['add'](_0x5b24d0),this[_0x554fcb(0x29d)][_0x554fcb(0x12d)](_0x494668,_0xb63626),this[_0x554fcb(0x111)](_0x5b24d0);}}),_0x350915||this[_0x3a6544(0x36b)]({'type':0x0,'memberID':this[_0x3a6544(0x201)],'unitIDs':[...this[_0x3a6544(0x3dc)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x4a6e38){const _0xf2a1c=_0x1d996d;this[_0xf2a1c(0x1c5)](_0x4a6e38);let _0x46f6a2=window[_0xf2a1c(0x3ee)](()=>{const _0x5bfc39=_0xf2a1c;this['_unitOnClients'][_0x5bfc39(0x30d)](_0x573d6f=>{const _0x5e9c92=_0x5bfc39;_0x573d6f[_0x5e9c92(0x403)](_0x4a6e38);});},_0x55ce2b*0x2);this[_0xf2a1c(0x176)][_0xf2a1c(0x12d)](_0x4a6e38,_0x46f6a2);}[_0x1d996d(0x1c5)](_0xb866e2){const _0x3e801b=_0x1d996d;if(this[_0x3e801b(0x176)][_0x3e801b(0x379)](_0xb866e2)){let _0x36bf2f=this[_0x3e801b(0x176)][_0x3e801b(0x3bc)](_0xb866e2);_0x36bf2f&&window[_0x3e801b(0x2e5)](_0x36bf2f),this['_clearOtherTimers'][_0x3e801b(0x12d)](_0xb866e2,null);}}[_0x1d996d(0x23e)](_0x2aab0d){let {memberID:_0x41d9f6,unitIDs:_0x27d9e8}=_0x2aab0d;_0x27d9e8['forEach'](_0x31adbd=>{const _0x5eabda=_0x107c;var _0x4b7d59;let _0x5b278c=this['_unitOnClients']['get'](_0x31adbd);_0x5b278c&&(_0x5b278c['delete'](_0x41d9f6),(_0x4b7d59=this[_0x5eabda(0x36f)](_0x31adbd))==null||_0x4b7d59[_0x5eabda(0x3e8)](_0x5b278c[_0x5eabda(0x237)]===0x0?_0x38f0f3['UnitStatus'][_0x5eabda(0x34d)]:_0x38f0f3['UnitStatus'][_0x5eabda(0x252)]));}),this['_removeClearOtherTimer'](_0x41d9f6);}[_0x1d996d(0x293)](_0x53aba0){const _0x533fba=_0x1d996d;this['_scheduleClearOtherTimer'](_0x53aba0[_0x533fba(0x14c)]);}[_0x1d996d(0x36b)](_0x1cd446){const _0x360ea2=_0x1d996d;localStorage[_0x360ea2(0x213)](_0x48be15,JSON[_0x360ea2(0x318)](_0x1cd446));}[_0x1d996d(0x414)](){const _0x10b190=_0x1d996d;this[_0x10b190(0x353)]=window['setInterval'](()=>{const _0x4c4336=_0x10b190;this[_0x4c4336(0x36b)]({'type':0x2,'memberID':this[_0x4c4336(0x201)]});},_0x55ce2b);}[_0x1d996d(0x36f)](_0x6a393c){const _0x4a1e2f=_0x1d996d;return this['_unitStatus'][_0x4a1e2f(0x379)](_0x6a393c)||this[_0x4a1e2f(0x392)]['set'](_0x6a393c,new _0x5cd61a['BehaviorSubject'](_0x38f0f3[_0x4a1e2f(0x3ab)][_0x4a1e2f(0x34d)])),this[_0x4a1e2f(0x392)][_0x4a1e2f(0x3bc)](_0x6a393c);}};Object[_0x1d996d(0x294)](_0x5a95d5,_0x1d996d(0x24b),{'enumerable':!0x0,'get':function(){return _0x32ac87;}}),Object[_0x1d996d(0x294)](_0x5a95d5,'DesktopCollaborationStatusDisplayController',{'enumerable':!0x0,'get':function(){return _0x59c70b;}}),_0x5a95d5['IURLService']=_0x12a5bc,Object['defineProperty'](_0x5a95d5,_0x1d996d(0x2e0),{'enumerable':!0x0,'get':function(){return _0x482ebf;}}),_0x5a95d5[_0x1d996d(0x37c)]=_0x964bd0,Object['defineProperty'](_0x5a95d5,_0x1d996d(0x3f5),{'enumerable':!0x0,'get':function(){return _0x2835d6;}}),_0x5a95d5[_0x1d996d(0x253)]=_0x269a57;}));function _0x107c(_0x5cbbe7,_0x48d0d2){_0x5cbbe7=_0x5cbbe7-0xd2;const _0x4a433b=_0x4a43();let _0x107ce7=_0x4a433b[_0x5cbbe7];return _0x107ce7;}function _0x4a43(){const _0x18fbce=['add','@univerjs-pro/collaboration-client','6XrQDMM','_urlService','_renderManagerService','history','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','content','result','_httpService','clipPath','drawWith','limitInfo','none','pageIndex','xlink:href','length','Module','replaceDocRanges','debounceTime','moveTo','#0B9EFB','univer-border-none\x20univer-bg-transparent','pageType','activate','pointer','RemoteUniscriptService','getUndoRedoMutationParamsCache','getSheetObject','useImperativeHandle','IUIPartsService','clearTimeout','toString','getSelectionInfo','useId','_anchor','tag','parse','DEFAULT_WS_SESSION_TICKET_URL','resize','FOOTER','collab-rect-range-','Unknown\x20user','_clearTimeoutState','warning-icon','_pollingInterval','enableLocalCache','ILogService','viewBox','UniverProLicense','_setupSubUnitSync','_messageService','takeUntil','_session','shareReplay','AWAITING_WITH_PENDING','invokeId','_showGuardMessage','_cursorShapes','_hover','_getSheetObject','origin','_handleHover','unshift','_docTransformIMECacheService','PENDING','_initEvent','alert','range','setInterval','UniverDocs','forEach','statusUIPart','toDisposable','_labelPosition','3755zlzJjM','now','onMouseMove','_name',':backup:','isTransformMutationFailure','ONLINE','stringify','popstate','UPDATE_CURSOR','SetSelectionsOperation','colorChannel1','Injector','shift','exhaustSavingTask','init','_getAnchorBounding','hasAttribute','mapTo','_removeCollabCursors','handleInsertRangeMoveDown','_logService','tableSource','enableFrontendLog','evenodd','collaboration-client-ui.collabStatus.notCollab','getRenderUnitById','univer-text-gray-400','_toggleOffline','svg','collaboration-client-ui.collabClient.tooltip.reconnect','doc.mutation.rich-text-editing','ranges','useRef','displayName','collaboration-client-ui.collabStatus.fetchMiss','_docTransformSelectionsService','[CollaborationDataLoaderController]','_snapshotLoadingService','_roomMembers$','getActiveRange','toISOString','MemberService','tableId','subUnitId','disposeWithMe','_initStatusComponent','combineLatest','vectorEffect','_docTransformStateCacheService','error','_assignedColors','startRow','jsxs','includes','children','getViewport','DataLoaderService','_initPresenceStatusComponents','_textBubble','NO_OTHER_CLIENTS_EDITING','Vector2','stack','message','ACTIVE_UNIT_EVENT_CHANNEL','isActive','_heartbeatTimer','RefRangeService','_applyCommand','url(#$1','react/jsx-runtime','@univerjs/engine-render','_hovered','BehaviorSubject','endColumn','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_checkAndWaitForCalculationPermission','getTypeOfUnitDisposed$','textRanges','isEditing','hovered','_color','state','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','DocStateChangeManagerService','currentSkeleton$','font','_transformUndoRedoStack','UniverProCollaborationClientUi','CollaborationUIEventId','_send','_watchBlockProgress','CanceledError','_saveTaskMap','_ensureSubject','off-line-icon_clip0_910_343','@univerjs/network','snapshot-loading-','TEXT','_initUserListener','source','join','saveTaskMap','assignAColorForMemberID','has','collaboration-client-ui.operation.update-remote-unit-presence','SnapshotLoadStage','SheetCollabCursorShape','IConfigService','_blinkTimer','attrs','@univerjs/ui','_registerRenderDependencies','SetWorksheetActivateCommand','_blockProgressWatches','getConfig','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_clearRemotePresences','sessionTicket','_docSkeleton','_backgroundColor','getMergeData','editingUnit','blue.400','_updateLocalCursor','VIEW_MAIN','DependentOn','mergeOverrideWithDependencies','clearInterval','_unitStatus','setRemotePresence','_localeService','button','contains','UNIVER_SHEET','[LogService\x20Error]:\x20','collaboration-client-ui.permission.content','_collabSessionService','clearRemotePresences','useMemo','dispose','_initStatusListener','newValue','parseFloat','mask','_configService','forwardRef','_startEntity','UniverProtocol','searchParams','unsubscribe','getRangePointData','serializeRangeWithSheet','maxFormulaLimit','UnitStatus','storage','_docClipboardService','disableLocalCache','_toggleOnline','key','182355fprTUe','timedOut','current','RichTextEditingMutation','dirtyRanges','target','switchMap','_docSelectionManagerService','syncEditingCollabCursor','beginPath','object','get','onTransformChange$','debug','transformMutation','react','location','unit','options','1.0.0-beta.2','collaboration-client-ui.collabStatus.syncing','stroke-width','name','_syncEditingCollabCursorService','Rect','getStateCache','UniverSheetsUi','_eventUnsubscribe','@univerjs/docs-ui','_removeRemotePresence','addObject','UniverCollaborationClientPlugin','stage','hadStyleAttribute','SnapshotLoadingService','getMemberID','_initResize','http://www.w3.org/2000/svg','RevisionService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','replaceState','width','FormulaExecuteStageType','_selfUnitIDs','offsetY','on-line-icon_clip0_910_349','show','disposeUnit','debounce','pushState','CollaborationSessionService','subscribeEvent','distinctUntilChanged','application/json','_collabCursorController','next','_collabCursorState$','EffectRefRangId','getCoordRelativeToViewport','decorate','fillStyle','setTimeout','reason','rgb','loadedBlocks','483270YjYWog','getValue','isTransformMutationsWithChangesetSuccess','UniverCollaborationClientUIPlugin','DocIMEInputManagerService','registerRefRange','UNIVER_DOC','div','ISocketService','type','sheetId','getOffsetConfig','icon','_colorIndex','_cursorInfo$','transform','collab-text-anchor-','delete','startFormulaLimitUrl','@univerjs-pro/license','RxDisposable','indicator','handleInsertCol','_instanceService','getCollabCursors$','parseInt','LocaleService','CollaborationStatus','univer-inline-flex\x20univer-items-center\x20univer-justify-center','_startSheetCollabCursor','FromArray','setProperty','Subject','_showText','_scheduleHeartbeat','COLORS','_memberService','map','values','getCellIndexByOffset','_collaborationUIEventService','@univerjs-pro/collaboration','MessageType','_initDependencies','min','_status$','_updateMessage','_drawAnchor','registerRenderModule','getLocalCacheKey','_startDocCollabCursor','imageSourceType','_isDisposed','max','getDocumentSkeletonColumnPagePathInfo','addEventListener','Warning','/run/','use','timeoutId','87813fgaLbK','getSkeleton','symbol','generateRandomId','data','yellow.400','status','_transformService','_handleCursorUpdate','_docStateChangeManagerService','handleDeleteRangeMoveUp','setConfig','restore','preventDefault','_notificationService','on-line-icon','getCoordByCell','transformMutationsWithChangeset','getActiveSheet','_anchorDot','shareInterval','registerCommand','strokeOpacity','isFormulaString','hide','DisposableCollection','_scheduleSaving','AWAITING','useObservable','getPropertyValue','InsertColCommandId','univer-size-4\x20univer-shrink-0\x20univer-text-amber-500','collab-text-range-','socket$','isArray','DocSelectionManagerService','true','_initCommandInterceptor','1052303XrTwxZ','m1Prime','catch',',\x200.2)','releaseFormulaLimitUrl','collaboration-client-ui.snapshotLoading.timeout','1em','_range','throttleTime','setOffsetY','toFixed','translate(.97)','sheetID','jsx','body','labelPosition','_initWindowErrorListener','findNodePositionByCharIndex','href','SessionStatus','isFinite','undoState','unhandledrejection','JOIN_ROOM_FAILED','_highlightSecond','UniverProCollaboration','defIds','getColorFromTheme','setParam','then','transformRemoteChangeset','_updateCollabCursors','588520mvZROo','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_cachedData','appliedStrokeWidth','_localStorageService','getFormulaLimitStatusUrl','_initCommandExecutedListener','saveImage','getSheetBySheetId','_lastResponseTimestamp','getItem','onCommandExecuted','UniverIcon','number','ISnapshotServerService','filename','currentTheme$','url(#off-line-icon_clip0_910_343)','idSuffix','isInternalEditorID','_colorAssignService','_latestStates','_setupBeforeClosingHandler','getCollabEntity$','20MlVoJk','roomMembers','_scheduleClearOtherTimer','_clearPolling','clear','transformByState','FormulaExecutedStateType','adapters$','dispose$','Button','status$','removeRemotePresence','MoveRangeCommandId','_disposeEntity','save','update','_getLighterColor','_entityInit$','code','_entities','search','amd','collaboration-client-ui.session.collaboration-timeout','setStateCache','querySelectorAll','getSheetId','getCurrentSkeleton','_cursor','defs','color','set','getCurrentTypeOfUnit$','unitID','stageInfo','_onCursorDelete','reconnect','iterator','transformSelections','span','cursorInfo','_doCreateSocket','canRenderSelection','OnLineIcon','GLOBAL','rxjs','setShapeProps','getCurrentSelections','runOnServer','_initUnhandledRejectionListener','setActiveRange','onPointerEnter$','spin','_collaborationSessionService','loading-multi-icon','_adapter','_init','_labelHorizontalPosition','Disposable','rgba','ErrorCode','startOffset','memberID','off-line-icon','DOC_RANGE_TYPE','CommandType','DocumentSkeletonPageType','Inject','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','canRenderAnchor','INotificationService','USERS_LEAVE','ILocalCacheService','HEADER_MENU','_docSkeletonManagerService','@univerjs/docs','_presenceStatusRegistrations','CollaborationController','lineTo','pluginName','NOT_COLLAB','jiqing.500','Error','Tooltip','isReleased','IMessageService','IUnitPresenceUIAdapterRegistry','_refRangeService','_config','registerBeforeClose','_messageIds','slice','redoState','_injector','collaboration-client-ui.session.connection-failed','PERMISSION_DENIED','default','collaboration-client-ui.conflict.content','string','_presenceAdapterRegistry','UniverCore','unload','non-scaling-stroke','currentUsage','_clearOtherTimers','labelHorizontalPosition','red.300','OFFLINE','collaboration-client-ui.collaboration.closeRoom','univer-text-blue-500','_pointerMoveDisposable','_syncPresenceStatusComponents','arc','onPointerLeave$','_taskIds','pipe','requireSession','small','UniverEngineRender','_cursors','_getMergeRange','black','_revisionService','pulse','prototype','UniverNetwork','_shapes','static','_localCacheService','clickable','@univerjs/protocol','_scene','univer-h-8\x20univer-w-8\x20univer-rounded-lg','focused$','currentColor','OPERATION','M0\x200H16V16H0z','fill','_initEntityListener','0\x200\x2016\x2016','round','_transformPreviousActiveRange','startsWith','univer-text-green-500','WarningIcon','eventID','transformStateCache','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','asObservable','NodePositionConvertToCursor','collaboration-client-ui.collabStatus.conflict','highlightSecond','green.600','removeEventListener','univer-m-0\x20univer-p-0','SUBMIT_CHANGESET_TIMEOUT','send','createIdentifier','replace','lineno','all','getParam','_commandService','complete','univer-transition-all\x20univer-duration-200','i18nKey','element','Shape','cursorInfo$','LOCAL_CACHE_INTERVAL_KEY','selections','univer-flex\x20univer-items-center\x20univer-justify-center','handleIRemoveCol','with','_currentUsage','_disposed','strokeWidth','/universer-api/license/formula/limit/status','mutations','segmentPage','presenceKind','/universer-api/license/formula/limit/start','handleIRemoveRow','_removeClearOtherTimer','timeoutState$','CONFLICT','m2Prime','deserializeRangeWithSheet','toRgbString','post','focusedId','_beforeCloseService','highlight','CollaborationEvent','urlChange$','_pendingEntities','rxjs/operators','_timeoutState$','saveOfflineData','[Unhandled\x20Rejection]:\x20','_themeService','_draw','throttle','_adapterRegistry','_handleEvent','getTypeOfUnitAdded$','removeProperty','split','touchDependencies','memberId','ERROR','DocSkeletonManagerService','LOADING_BLOCKS','backgroundColor','_uiPartsService','React','_document','_sendLocalPresence','START_CALCULATION','IBeforeCloseService','value','collaboration-client-ui.config','univerjs-icon\x20univerjs-icon-','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','priority','getFocusedUnit','_adapterDisposables','sessionStatus$','disconnect','ThemeService','CollaborationSocketService','_blinkIntervalTimer','transformIMECache','_saveCache','unitType','getUnitId','getCurrentUnitOfType','isFormulaId','stroke','engine','addHandlerCallback','top','getColor','_id','getAllUnitsForType','_updateSubUnitFromURLParams','_drawRectRange','onStarting','collaboration-client-ui.collabStatus.synced','SetTextSelectionsOperation','functionsExecutedState','fromEvent','\x20-\x20','Loading','_uploadLog','ICommandService','DocCollaborationEntity','_highlight','getLocalPresence','_context','merge','setItem','NodePositionConvertToRectRange','208698JdQQCA','column','executeCommand','deepClone','makeDirty','_memberID','totalFormulasToCalculate','bold\x2013px\x20Arial,\x20sans-serif','registerComponent','_releaseCalculationLimit','_stopBlinking','rgba(','totalBlocks','ITransformService','?taskId=','Workbook','UniverInstanceType','/universer-api/frontend/logs','_drawTextRange','_checkCalculationAvailable','addObjects','_dataLoaderService','_syncAdapters','activeSheet$','SOCKET_FAILED','_disabled','unitId','CLOSE_ROOM','endOffset','_imageIoService','SetDocZoomRatioOperation','from','#FFF','UniverProCollaborationClient','size','Tools','height','connectInjector','Failed','Rectangle','style','_handleLeaveEvent','RegularPolygon','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getPropertyPriority','backupOfflineData','collaboration-client-ui.session.will-retry','colno','params','ColorKit','createInstance','_registerPresenceStatusComponent','snapshot-loading-timeout','getDocRanges','BrowserCollaborationSocketService','collaboration-client-ui.permission.title','_getSaveTimeout','selectedIds','DeleteRangeMoveUpCommandId','function','_refreshCollabCursors','OTHER_CLIENTS_EDITING','WebBrowserSingleActiveUnitService','purple.300','event$','_startCalculationLimit','_setFormulaLimitStatus','_offsetY','text','constructor','setAlpha','endRow','getMember','getOwnPropertyDescriptor','DeleteRangeMoveLeftCommandId','white','push','_updateURLWithCurrentState','UniverNetworkPlugin','350KERNCy','_online','createElement','subscribe','fillRule','assign','IUniverInstanceService','enableDocumentCollaborationUI','closePath','univer-appearance-none','addClipboardHook','find','getCurrentRevOfUnit','_onCursorUpdate','_clearBlockProgressWatch','left','_startBlinking','@univerjs-pro/collaboration-client-ui','entityInit$','localName','SOCKET_FAILED_RETRY','_disposeEntitiesForType','runId','WebSocketService','SetFormulaCalculationNotificationMutation','getAncestorScale','SheetsSelectionsService','bottom','TEXT_RANGE_LAYER_INDEX','_createSocketURL','RECT','univer-text-orange-500','_hasFormulaInDirtyRanges','roomMembers$','[Window\x20Error]:\x20','_lastPointer','ILocalStorageService','_hideTimer','UniverDesign','_univerInstanceService','_bindAdapter','url(#on-line-icon_clip0_910_349)','setUndoRedoMutationParamsCache','UniverDocsPlugin','_sheetSkeletonManagerService','triggerDblclick','wsSessionTicketUrl','_handleHeartbeatEvent','defineProperty','flatMap','fillText','CollaborationUIEventService','path','InsertRowCommandId','_initialized','filter','onPointerMove$','_unitOnClients','HTTPService','getBoundingClientRect','columnGroupId','_isVisibleUnit','fromEventSubject','startColumn','entries','UniverCollaborationPlugin','SetFormulaCalculationStartMutation','operators','executionId','_docSyncEditingCollabCursorService','univer-text-red-500','remove','_getScale','clsx','selection','_collaborationController','@univerjs/design','call','_handleJoinEvent','UniverLicensePlugin','uni.network.url-service','polite','_isBlinkVisible','IRenderManagerService','useCallback','runRefRangeMutations','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','measureText','subunit','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','some','_registerDependencies','handleInsertRow','_getFormulaLimitStatus','_maxFormulaLimit','kind','collabCursorState$','RemoveRowCommandId'];_0x4a43=function(){return _0x18fbce;};return _0x4a43();}