@univerjs-pro/collaboration-client-ui 0.15.0-insiders.20260107-3d1cfdf → 0.15.0-insiders.20260108-47c73e3

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 (53) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/facade.js +1 -1
  15. package/lib/es/index.js +1 -1
  16. package/lib/es/locale/ca-ES.js +1 -1
  17. package/lib/es/locale/en-US.js +1 -1
  18. package/lib/es/locale/es-ES.js +1 -1
  19. package/lib/es/locale/fa-IR.js +1 -1
  20. package/lib/es/locale/fr-FR.js +1 -1
  21. package/lib/es/locale/ja-JP.js +1 -1
  22. package/lib/es/locale/ko-KR.js +1 -1
  23. package/lib/es/locale/ru-RU.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/facade.js +1 -1
  28. package/lib/index.js +1 -1
  29. package/lib/locale/ca-ES.js +1 -1
  30. package/lib/locale/en-US.js +1 -1
  31. package/lib/locale/es-ES.js +1 -1
  32. package/lib/locale/fa-IR.js +1 -1
  33. package/lib/locale/fr-FR.js +1 -1
  34. package/lib/locale/ja-JP.js +1 -1
  35. package/lib/locale/ko-KR.js +1 -1
  36. package/lib/locale/ru-RU.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/umd/facade.js +1 -1
  41. package/lib/umd/index.js +1 -1
  42. package/lib/umd/locale/ca-ES.js +1 -1
  43. package/lib/umd/locale/en-US.js +1 -1
  44. package/lib/umd/locale/es-ES.js +1 -1
  45. package/lib/umd/locale/fa-IR.js +1 -1
  46. package/lib/umd/locale/fr-FR.js +1 -1
  47. package/lib/umd/locale/ja-JP.js +1 -1
  48. package/lib/umd/locale/ko-KR.js +1 -1
  49. package/lib/umd/locale/ru-RU.js +1 -1
  50. package/lib/umd/locale/vi-VN.js +1 -1
  51. package/lib/umd/locale/zh-CN.js +1 -1
  52. package/lib/umd/locale/zh-TW.js +1 -1
  53. package/package.json +17 -17
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x3c10(){const _0xe639f=['YUUMI_ALL_TABLES_IS_INVALID','_collabCursorState$','moveTo','transformRemoteChangeset','editingUnit','add','_scheduleSaving','restore','onTransformChange$','isTransformMutationsWithChangesetSuccess','loadOfflineData','div','HEADER_MENU','ENTITLE_CHAT_LIMIT_EXCEED','_cachedData','_ensureSubject','parseInt','closePath','ColorKit','ENTITLE_CAN_NOT_BUY_LOWER_OTP','toStringTag','CollaborationSessionService','_localeService','ILocalCacheService','stageInfo','UniverProCollaborationClientUi','REDEMPTION_INVALID_CODE','_config','_startSheetCollabCursor','RemoteUniscriptService','WebBrowserSingleActiveUnitService','AWAITING_WITH_PENDING','addObjects','sessionStatus$','IURLService','@univerjs/sheets','REDEMPTION_USER_REDEEM_TIMES_EXCEED','FormulaExecuteStageType','rxjs/operators','on-line-icon_clip0_910_349','Rect','evenodd','_memberID','removeParam','_injector','LICENSE_MAX_UNITS_EXCEEDED','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','code','_cursorInfo$','CollaborationStatus','registerBeforeClose','IRemoteInstanceService','_init','debounce','collab-text-anchor-','searchParams','shift','parse','getCoordByCell','_initCommandExecutedListener','_disabled','colno','_logService','getRelativeToViewportCoord','getCurrentSelections','push','OTHER_CLIENTS_EDITING','LICENSE_DISTRO_REJECTED','getSheetBySheetId','_imageIoService','_id','ENSURE_SNAPSHOT_EXECUTION','_collaborationUIEventService','UniverCollaborationClientUIPlugin','onRendered','fromEvent','url(#on-line-icon_clip0_910_349)','complete','getOwnPropertyDescriptor','react/jsx-runtime','_updateLocalCursor','getColor','function','_instanceService','body','getUndoRedoMutationParamsCache','_refreshCollabCursors','size','UniverProCollaboration','params','setConfig','_draw','univer-flex\x20univer-items-center','_initUnhandledRejectionListener','pushState','forEach','unhandledrejection','yellow.400','ticket','1em','/universer-api/license/formula/limit/done','DEFAULT_WS_SESSION_TICKET_URL','_setFormulaLimitStatus','_registerRenderDependencies','Rectangle','override','selection','startFormulaLimitUrl','formula.calculation.started','_pollingInterval','UniverInstanceType','Module','CollaborationEvent','asObservable','mutations','WebSocketService','_cursors','BehaviorSubject','getUniverSheetInstance','...','IRenderManagerService','_createSocketURL','toDisposable','DeleteRangeMoveUpCommandId','off-line-icon','SetSelectionsOperation','_themeService','cursorInfo','unitID','delete','EffectRefRangId','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_status$','saveOfflineData','clearInterval','IUniverInstanceService','_range','fillRule','location','_initUserListener','React','functionsExecutedState','use','_handleHover','_initCommandInterceptor','@univerjs/docs','column','CLOSE_ROOM','saveImage','_docSkeleton','[Window\x20Error]:\x20','enableFrontendLog','UniverRpc','Optional','_hovered','font','CollaborationUIEventId','IMessageService','collab-client.tooltip.reconnect','EMAIL_HAS_BEEN_BOUND','_entityInit$','includes','getConfig','urlChange$','permission.title','children','assignAColorForMemberID','generateRandomId','getParam','_textBubble','Unknown\x20user','NodePositionConvertToCursor','[LogService\x20Error]:\x20','YUUMI_NO_CUBOID_FOR_QUESTION','Success','IUIPartsService','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','collabStatus.notCollab','_checkCalculationAvailable','_commandService','status$','unsubscribe','getTypeOfUnitDisposed$','_unitOnClients','_doCreateSocket','onPointerMove$','LICENSE_EXPORT_SIZE_EXCEEDED','black','REDEMPTION_CODE_NOT_STARTED','_updateURLWithCurrentState','_initEvent','filter','defs','triggerDblclick','trim','error','exhaustSavingTask','InsertRowCommandId','@univerjs/rpc','formula.calculation.waiting','ALREADY_EXISTS','YUUMI_URL_COL_OUT_OF_RANGE','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_initWindowErrorListener','executeCommand','RxDisposable','useRef','catch','DeleteRangeMoveLeftCommandId','subscribe','substring','UniverSheetsUi','RichTextEditingMutation','deepClone','off-line-icon_clip0_910_343','univer-mr-2\x20univer-flex\x20univer-text-xl','_startDocCollabCursor','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_roomMembers$','split','hovered','DocSkeletonManagerService','_lastPointer','blue.400','ENTITLE_REPORT_LIMIT_EXCEED','_heartbeatTimer','subUnitId','replaceDocRanges','12fiYcGL','jsx','_revisionService','executionId','_handleEvent','with','_docTransformStateCacheService','resize','_scheduleClearOtherTimer','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','xlink:href','_scene','createInstance','_onCursorDelete','cursorInfo$','_shapes','_eventUnsubscribe','removeEventListener','_getMergeRange','SetTextSelectionsOperation','textRanges','WECHAT_HAS_BEEN_BOUND','_clearPolling','_lastResponseTimestamp','defIds','addObject','path','event$','_color','0\x200\x2017\x2016','_docSkeletonManagerService','15PqrZLh','init','SheetCollabCursorShape','getRangePointData','_dataLoaderService','DataLoaderService','_document','UniverProCollaborationClient','collabStatus.conflict','DocSelectionManagerService','isTransformMutationFailure','UNAUTHENTICATED','LOCAL_CACHE_INTERVAL_KEY','doc.mutation.rich-text-editing','_docClipboardService','string','UniverIcon','getFocusedUnit','PENDING','_getFormulaLimitStatus','_drawRectRange','_transformPreviousActiveRange','onPointerLeave$','data','http://www.w3.org/2000/svg','[Unhandled\x20Rejection]:\x20','takeUntil','_name','ENTITLE_NEED_BILLING_ADDRESS','_saveTaskMap','SheetSkeletonManagerService','requireSession','6993ZHTbZM','_applyCommand','_collaborationController','getUnit','getValue','SetWorksheetActivateCommand','attrs','_memberService','_initStatusListener','serializeRangeWithSheet','getAncestorScale','ERROR_AGAIN','wsSessionTicketUrl','syncEditingCollabCursor','getMergeData','storage','isArray','none','filename','fillStyle','forwardRef','SNAPSHOT_INVALID_SNAPSHOT','roomMembers$','_removeCollabCursors','getLocalCacheKey','displayName','@univerjs/engine-render','symbol','arc','/universer-api/frontend/logs','CONFLICT','pipe','unshift','_context','FETCH_MISS','CURRENT_STATUS_CANNOT_OPERATE','getCurrentRevOfUnit','Inject','INVITE_CODE_HAS_BEEN_UES','docStateChange$','ILogService','_getAnchorBounding','UNDEFINED','_clearOtherTimers','ITransformService','_releaseCalculationLimit','Warning','collabStatus.offline','getActiveSheet','now','ICommandService','lineTo','SUBMIT_CHANGESET_TIMEOUT','_updateCollabCursors','Loading','next','UniverSheets','then','INVITE_CODE_ALREADY_BOUND','handleDeleteRangeMoveLeft','_getScale','YUUMI_RATE_OVER_LIMIT','UNIVER_SHEET','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','LICENSE_IMPORT_SIZE_EXCEEDED','from','REDEMPTION_CODE_INACTIVE','handleInsertCol','univerjs-icon\x20univerjs-icon-','IBeforeCloseService','url(#$1','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','USER_NOT_INVITED_CODE','registerRenderModule','subunit','has','DATA_SOURCE_TOO_LARGE','OffLineIcon','send','endRow','origin','isEditing','dispose','_urlService','Tools','session.will-retry','SessionStatus','jsxs','m1Prime','setShapeProps','onCommandExecuted','switchMap','ThemeService','throttleTime','getOffsetConfig','_setupSubUnitSync','color','_sheetSkeletonManagerService','LOGIN_TOKEN_PROCESSING_FAILED','_drawTextRange','save','_syncEditingCollabCursorService','YUUMI_SUBSCRIPTION_NOT_FOUND','getSheetId','getItem','Shape','stringify','lineno','getUnitId','UNRECOGNIZED','get','_handleLeaveEvent','handleInsertRangeMoveDown','dirtyRanges','name','touchDependencies','current','isFormulaId','HTTPService','getformulaLimitStatusUrl','onLocalMutation','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','makeDirty','_maxFormulaLimit','collab-rect-range-','UnitStatus','SetFormulaCalculationStartMutation','runId','amd','key','InsertRangeMoveDownCommandId','@univerjs/ui','newValue','Failed','_renderManagerService','entityInit$','WebURLService','getSheetObject','clipPath','operators','_saveCache','_colorAssignService','RECT','labelPosition','ENTITLE_INSUFFICIENT_QUOTA','UniverDesign','getCollabEntity$','sheetID','transformMutationsWithChangeset','drawWith','white','_collaborationSessionService','_entities','JOIN_ROOM_FAILED','unit','registerComponent','flatMap','\x20at\x20','_notificationService','getSkeleton','map','fillText','_registerDependencies','_transformHistoryAndStateStack','_univerInstanceService','SHEET_VIEWPORT_KEY','runRefRangeMutations','_uiPartsService','runOnServer','post','row','APPLY_REVISION_CONFILICT','round','_initResize','currentColor','getVpScrollXYInfoByPosToVp','getTypeOfUnitAdded$','show','_getSheetObject','eventID','collabCursorState$','setItem','permission.content','_collabSessionService','contains','_drawAnchor','collaboration.offline-data-not-saved','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','result','SetDocZoomRatioOperation','DocStateChangeManagerService','_initDependencies','IDocClipboardService','popstate','colorChannel1','_uploadLog','CHANGESET_REVISION_CONFILICT','SUCCESS','_docSyncEditingCollabCursorService','Tooltip','_messageService','DOC_RANGE_TYPE','_initEntityListener','stage','UniverDrawing','_localCacheService','Error','_anchorDot','message','ACTIVE_UNIT_EVENT_CHANNEL','collaboration.closeRoom','_docTransformSelectionsService','startColumn','UniverCollaborationClientPlugin','skeleton','INVALID_ARGUMENT','_monkeyPatchLogService','BrowserCollaborationSocketService','RefRangeService','reason','actions','SheetsSelectionsService','_taskIds','_hasFormulaInDirtyRanges','debounceTime','deserializeRangeWithSheet','DisposableCollection','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_configService','range','merge','_anchor','@univerjs/core','getDocRanges','rxjs','shareReplay','_transformService','getCollabCursors$','_initStatusComponent','APPLY_PERMISSION_DENIED','OFFLINE','5784ptMIzN','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','set','_docTransformIMECacheService','min','useCallback','sessionTicket','Disposable','toString','assign','UNIVER_DOC','_labelPosition','values','transformSelections','ranges','ONLINE','_online','/universer-api/license/formula/limit/start','DesktopCollaborationStatusDisplayController','AUTHORIZE_CODE_ILLEGAL','_httpService','SNAPSHOT_HAS_BEEN_REMOVED','_assignedColors','REDEMPTION_USER_NOT_ELIGIBLE','jiqing.500','length','createSocket','_send','5326734UqnFKD','/run/','MUTATION','setActiveRange','START_CALCULATION','collabStatus.fetchMiss','NO_OTHER_CLIENTS_EDITING','mask','_unitStatus','320472AezQBU','defineProperty','currentTheme$','connectInjector','limitInfo','MOBILE_VERIFY_CODE_MISMATCH','M0\x200H16V16H0z','react','_onCursorUpdate','Injector','beginPath','NOT_FOUND','max','ILocalStorageService','_session','session.collaboration-timeout','SOCKET_FAILED_RETRY','object','tag','addEventListener','setParam','CONNECTOR_DATA_TOO_LARGE','INVALID_INVITE_CODE','_updateSubUnitFromURLParams','INTERNAL_ERROR','isActive','PY_RUNTIME_SCRIPT_ERROR','registerRefRange','translate(.97)','FromArray','TEXT','EMAIL_VERIFY_CODE_MISMATCH','collaboration.single-unit.warning','DocIMEInputManagerService','engine','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_setupBeforeClosingHandler','NOT_COLLAB','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','addClipboardHook','setStateCache','entries','_hover','getStateCache','maxFormulaLimit','getUnitStatus$','_hideTimer','_transformUndoRedoStack','top','type','MemberService','APPLY_NON_SEQUENTIAL_REVISION','LOCAL_CACHE_INTERVAL','combineLatest','40wkpvqT','_toggleOffline','getCurrentUnitForType','Plugin','svg','ISnapshotServerService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','exports','clearTimeout','disposeWithMe','replaceState','9950KgQcdl','UniverDocsUi','transformIMECache','fill','hide','RemoveRowCommandId','_onRefRangeChange','memberID','transformMutation','_beforeCloseService','unitId','_currentUsage','PAYMENT_CHANNEL_NOT_SUPPORT','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','transformStateCache','1212184IXbPmc','dispose$','height','backgroundColor','getCurrent','USER_IS_ANONYMOUS','bottom','UniverEngineFormula','_localStorageService','useDependency','width','LocaleService','m2Prime','handleIRemoveCol','_getSaveTimeout','TEXT_RANGE_LAYER_INDEX','onMouseMove','createIdentifier','_docStateChangeManagerService','getMember','APPLY_DUPLICATED','1854750ftknSX','session.connection-failed','selections','0\x200\x2016\x2016','activeSheet$','imageSourceType','_cursor','ENTITLE_COUPON_EXPIRED','uni.network.url-service','red.300','startRow','IConfigService','handleInsertRangeMoveRight','CollaborationDataLoaderController','LOGIN_FAILED','onPointerEnter$','VIEW_MAIN','collabStatus.synced','toRgbString','CollaborationUIEventService','MOBILE_HAS_BEEN_BOUND','getColorFromTheme','REDEMPTION_CODE_FULLY_REDEEMED','UniverDocs','replace','RegularPolygon','useObservable','YUUMI_UNABLE_LOAD_URL','isFormulaString','_selfUnitIDs','purple.300','distinctUntilChanged','subscribeEvent','_render','TRANSFORM_CHANGE_OBSERVABLE_TYPE','href','reconnect','_toggleOnline','rgba(255,\x20255,\x20255,\x200.01)','COLORS','[CollaborationDataLoaderController]','currentSkeleton$','Vector2','measureText','NodePositionConvertToRectRange','INVITE_CODE_REQUIRED','mergeOverrideWithDependencies','_handleHeartbeatEvent','handleMoveRange','_getSessionTicket','214KalUKp','roomMembers','sheetId','UniverNetwork','redoState','APPLY_REJECT','setInterval','_backgroundColor','pluginName','_removeClearOtherTimer','getActiveRange','_refRangeService','createElement','invokeId','on-line-icon','saveTaskMap','some','21977483rQJEva','search','handleDeleteRangeMoveUp','setAlpha','_collabCursorController','getMemberID','releaseFormulaLimitUrl','history','source','ENTITLE_DUP_SUBSCRIPTION','getRenderById','_cursorShapes','YUUMI_AI_RUN_FAILED','USERS_LEAVE','YUUMI_ASYNCIO_CANCELLED','SOCKET_FAILED','find','YUUMI_CONNECTOR_URL_NOT_FOUND','ENTITLE_INVALID_COUPON_CODE','UPDATE_CURSOR','endColumn','stack','setTimeout','UniverCore','idSuffix','application/json','CanceledError','COMPLETION_FINISHED','_colorIndex','_startCalculationLimit','MessageType'];_0x3c10=function(){return _0xe639f;};return _0x3c10();}function _0x1b70(_0x277ebf,_0x53340d){_0x277ebf=_0x277ebf-0x149;const _0x3c1092=_0x3c10();let _0x1b700a=_0x3c1092[_0x277ebf];return _0x1b700a;}(function(_0x56791d,_0x168075){const _0x46b5e3=_0x1b70,_0x3c0bb8=_0x56791d();while(!![]){try{const _0x47e836=parseInt(_0x46b5e3(0x23e))/0x1*(parseInt(_0x46b5e3(0x1e8))/0x2)+parseInt(_0x46b5e3(0x20c))/0x3+parseInt(_0x46b5e3(0x1f7))/0x4*(parseInt(_0x46b5e3(0x371))/0x5)+-parseInt(_0x46b5e3(0x19e))/0x6+-parseInt(_0x46b5e3(0x391))/0x7*(-parseInt(_0x46b5e3(0x182))/0x8)+-parseInt(_0x46b5e3(0x1a7))/0x9*(-parseInt(_0x46b5e3(0x1dd))/0xa)+-parseInt(_0x46b5e3(0x24f))/0xb*(parseInt(_0x46b5e3(0x352))/0xc);if(_0x47e836===_0x168075)break;else _0x3c0bb8['push'](_0x3c0bb8['shift']());}catch(_0x2881de){_0x3c0bb8['push'](_0x3c0bb8['shift']());}}}(_0x3c10,0x8b67d),function(_0x28da22,_0x2f3d3c){const _0x4b8fc6=_0x1b70;typeof exports==_0x4b8fc6(0x1b8)&&typeof module<'u'?_0x2f3d3c(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x4b8fc6(0x2c0)&&define[_0x4b8fc6(0x411)]?define([_0x4b8fc6(0x1e4),_0x4b8fc6(0x2bd),'@univerjs-pro/collaboration-client',_0x4b8fc6(0x179),_0x4b8fc6(0x414),_0x4b8fc6(0x17b),'@univerjs/design',_0x4b8fc6(0x1ae),_0x4b8fc6(0x334),_0x4b8fc6(0x291),_0x4b8fc6(0x3ab),'@univerjs/network','@univerjs/docs-ui','@univerjs/drawing','@univerjs-pro/collaboration',_0x4b8fc6(0x2ff),'@univerjs/engine-formula',_0x4b8fc6(0x294),'@univerjs/sheets-ui'],_0x2f3d3c):(_0x28da22=typeof globalThis<'u'?globalThis:_0x28da22||self,_0x2f3d3c(_0x28da22[_0x4b8fc6(0x287)]={},_0x28da22[_0x4b8fc6(0x2fa)],_0x28da22[_0x4b8fc6(0x378)],_0x28da22[_0x4b8fc6(0x266)],_0x28da22['UniverUi'],_0x28da22['rxjs'],_0x28da22[_0x4b8fc6(0x422)],_0x28da22['React'],_0x28da22[_0x4b8fc6(0x306)],_0x28da22[_0x4b8fc6(0x3c9)],_0x28da22['UniverEngineRender'],_0x28da22[_0x4b8fc6(0x241)],_0x28da22[_0x4b8fc6(0x1e9)],_0x28da22[_0x4b8fc6(0x15d)],_0x28da22[_0x4b8fc6(0x2c6)],_0x28da22[_0x4b8fc6(0x223)],_0x28da22[_0x4b8fc6(0x1fe)],_0x28da22['rxjs'][_0x4b8fc6(0x41c)],_0x28da22[_0x4b8fc6(0x341)]));}(this,function(_0x18b2e1,_0x4a9fbe,_0x3abbb7,_0x3b918f,_0x90f1b7,_0x40a063,_0x55d351,_0x48605a,_0x2e68ed,_0x5da8b2,_0x468386,_0x23c85c,_0x46f9d6,_0x128823,_0x4c59ab,_0x5d3cc2,_0x5059c3,_0x55f392,_0x29ce82){'use strict';const _0x570a0a=_0x1b70;var _0x3cb3eb=Object['defineProperty'],_0x4c0bb5=(_0x1db2b5,_0x57d84d,_0x2d4764)=>_0x57d84d in _0x1db2b5?_0x3cb3eb(_0x1db2b5,_0x57d84d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d4764}):_0x1db2b5[_0x57d84d]=_0x2d4764,_0x3899df=(_0x1b0f49,_0x151711,_0x2d52bd)=>_0x4c0bb5(_0x1b0f49,typeof _0x151711!=_0x570a0a(0x3ac)?_0x151711+'':_0x151711,_0x2d52bd);function _0x5536a9({ref:_0x3af1ef,..._0x5dfed0}){const _0x3147b6=_0x570a0a,{icon:_0x2c4ea7,id:_0xc4d36c,className:_0x5c0fce,extend:_0x1210ab,..._0x298cf4}=_0x5dfed0,_0x41a434=(_0x3147b6(0x3d5)+_0xc4d36c+'\x20'+(_0x5c0fce||''))[_0x3147b6(0x330)](),_0x1e595f=_0x48605a[_0x3147b6(0x33c)]('_'+_0x1d1bd3());return _0x39400c(_0x2c4ea7,''+_0xc4d36c,{'defIds':_0x2c4ea7[_0x3147b6(0x36a)],'idSuffix':_0x1e595f[_0x3147b6(0x405)]},{'ref':_0x3af1ef,'className':_0x41a434,..._0x298cf4},_0x1210ab);}function _0x39400c(_0x2d04e3,_0x2511cf,_0x10f788,_0x386c53,_0x3c0d15){const _0x76f7c0=_0x570a0a;return _0x48605a[_0x76f7c0(0x24a)](_0x2d04e3[_0x76f7c0(0x1b9)],{'key':_0x2511cf,..._0xc26ff(_0x2d04e3,_0x10f788,_0x3c0d15),..._0x386c53},(_0x1c5b94(_0x2d04e3,_0x10f788)[_0x76f7c0(0x313)]||[])[_0x76f7c0(0x431)]((_0x284313,_0x3ecf15)=>_0x39400c(_0x284313,_0x2511cf+'-'+_0x2d04e3['tag']+'-'+_0x3ecf15,_0x10f788,void 0x0,_0x3c0d15)));}function _0xc26ff(_0x33456b,_0x34c133,_0x57d128){const _0x70e14e=_0x570a0a,_0xdec3b3={..._0x33456b[_0x70e14e(0x397)]};_0x57d128!=null&&_0x57d128[_0x70e14e(0x153)]&&_0xdec3b3[_0x70e14e(0x1eb)]===_0x70e14e(0x153)&&(_0xdec3b3['fill']=_0x57d128[_0x70e14e(0x153)]),_0x33456b['tag']===_0x70e14e(0x1a5)&&_0xdec3b3['id']&&(_0xdec3b3['id']=_0xdec3b3['id']+_0x34c133['idSuffix']),Object[_0x70e14e(0x1d0)](_0xdec3b3)[_0x70e14e(0x2cd)](([_0x37f7b4,_0x1494e3])=>{const _0x1b9853=_0x70e14e;_0x37f7b4===_0x1b9853(0x1a5)&&typeof _0x1494e3==_0x1b9853(0x380)&&(_0xdec3b3[_0x37f7b4]=_0x1494e3[_0x1b9853(0x224)](/url\(#(.*)\)/,'url(#$1'+_0x34c133[_0x1b9853(0x267)]+')'));});const {defIds:_0x2de7ea}=_0x34c133;return!_0x2de7ea||_0x2de7ea[_0x70e14e(0x19b)]===0x0||(_0x33456b[_0x70e14e(0x1b9)]===_0x70e14e(0x2fc)&&_0xdec3b3[_0x70e14e(0x35c)]&&(_0xdec3b3['xlink:href']=_0xdec3b3['xlink:href']+_0x34c133[_0x70e14e(0x267)]),Object[_0x70e14e(0x1d0)](_0xdec3b3)['forEach'](([_0x2a5c89,_0x3e0580])=>{const _0x5642e1=_0x70e14e;typeof _0x3e0580=='string'&&(_0xdec3b3[_0x2a5c89]=_0x3e0580['replace'](/url\(#(.*)\)/,_0x5642e1(0x3d7)+_0x34c133[_0x5642e1(0x267)]+')'));})),_0xdec3b3;}function _0x1c5b94(_0x1c1bbb,_0x34737f){const _0x4876fb=_0x570a0a;var _0x1f604f;const {defIds:_0x4fabe4}=_0x34737f;return!_0x4fabe4||_0x4fabe4[_0x4876fb(0x19b)]===0x0?_0x1c1bbb:_0x1c1bbb[_0x4876fb(0x1b9)]==='defs'&&((_0x1f604f=_0x1c1bbb[_0x4876fb(0x313)])!=null&&_0x1f604f[_0x4876fb(0x19b)])?{..._0x1c1bbb,'children':_0x1c1bbb['children'][_0x4876fb(0x431)](_0x582953=>typeof _0x582953[_0x4876fb(0x397)]['id']==_0x4876fb(0x380)&&_0x4fabe4&&_0x4fabe4[_0x4876fb(0x30f)](_0x582953[_0x4876fb(0x397)]['id'])?{..._0x582953,'attrs':{..._0x582953[_0x4876fb(0x397)],'id':_0x582953[_0x4876fb(0x397)]['id']+_0x34737f['idSuffix']}}:_0x582953)}:_0x1c1bbb;}function _0x1d1bd3(){const _0x5de3e9=_0x570a0a;return Math['random']()[_0x5de3e9(0x18a)](0x24)[_0x5de3e9(0x340)](0x2,0x8);}_0x5536a9[_0x570a0a(0x3aa)]=_0x570a0a(0x381);const _0x5016e6={'tag':_0x570a0a(0x1e1),'attrs':{'xmlns':_0x570a0a(0x389),'fill':_0x570a0a(0x3a2),'viewBox':_0x570a0a(0x20f),'width':_0x570a0a(0x2d1),'height':_0x570a0a(0x2d1)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x570a0a(0x36c),'attrs':{'stroke':_0x570a0a(0x43f),'d':_0x570a0a(0x1cd),'strokeLinecap':'round','strokeLinejoin':_0x570a0a(0x43d),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x570a0a(0x41b),'attrs':{'id':_0x570a0a(0x344)},'children':[{'tag':_0x570a0a(0x36c),'attrs':{'fill':_0x570a0a(0x427),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x570a0a(0x344)]},_0x55b422=_0x48605a['forwardRef'](function(_0x4e69ba,_0x6bc3f){const _0x45829b=_0x570a0a;return _0x48605a[_0x45829b(0x24a)](_0x5536a9,Object[_0x45829b(0x18b)]({},_0x4e69ba,{'id':_0x45829b(0x2ea),'ref':_0x6bc3f,'icon':_0x5016e6}));});_0x55b422['displayName']=_0x570a0a(0x3de);const _0x41fb8b={'tag':'svg','attrs':{'xmlns':_0x570a0a(0x389),'fill':_0x570a0a(0x3a2),'viewBox':_0x570a0a(0x36f),'width':'1em','height':_0x570a0a(0x2d1)},'children':[{'tag':'g','attrs':{'clipPath':_0x570a0a(0x2ba)},'children':[{'tag':_0x570a0a(0x36c),'attrs':{'stroke':'currentColor','d':_0x570a0a(0x35b),'strokeLinecap':_0x570a0a(0x43d),'strokeLinejoin':_0x570a0a(0x43d),'strokeWidth':1.2}}]},{'tag':_0x570a0a(0x32e),'attrs':{},'children':[{'tag':_0x570a0a(0x41b),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x570a0a(0x427),'d':_0x570a0a(0x1ad),'transform':_0x570a0a(0x1c3)}}]}]}],'defIds':[_0x570a0a(0x295)]},_0x229e20=_0x48605a[_0x570a0a(0x3a5)](function(_0x47dbaf,_0x284110){const _0x5e6307=_0x570a0a;return _0x48605a[_0x5e6307(0x24a)](_0x5536a9,Object[_0x5e6307(0x18b)]({},_0x47dbaf,{'id':_0x5e6307(0x24c),'ref':_0x284110,'icon':_0x41fb8b}));});_0x229e20[_0x570a0a(0x3aa)]='OnLineIcon';function _0xa12129(_0xb15d9f){const _0x25cddf=_0x570a0a;switch(_0xb15d9f){case _0x3abbb7[_0x25cddf(0x29f)][_0x25cddf(0x181)]:return _0x25cddf(0x3c0);case _0x3abbb7['CollaborationStatus'][_0x25cddf(0x3af)]:return _0x25cddf(0x379);case _0x3abbb7[_0x25cddf(0x29f)][_0x25cddf(0x3b3)]:return _0x25cddf(0x1a3);case _0x3abbb7[_0x25cddf(0x29f)]['NOT_COLLAB']:return _0x25cddf(0x31f);case _0x3abbb7[_0x25cddf(0x29f)]['AWAITING']:case _0x3abbb7[_0x25cddf(0x29f)][_0x25cddf(0x28d)]:return'collabStatus.syncing';case _0x3abbb7[_0x25cddf(0x29f)]['SYNCED']:case _0x3abbb7[_0x25cddf(0x29f)][_0x25cddf(0x383)]:return _0x25cddf(0x21d);}}function _0x4e018f(_0x33c00a){const _0x59d7e6=_0x570a0a,{status$:_0x489dab}=_0x33c00a,_0x21d0f8=_0x90f1b7[_0x59d7e6(0x226)](_0x489dab,_0x3abbb7[_0x59d7e6(0x29f)][_0x59d7e6(0x1cc)]),_0x4eb419=_0x90f1b7[_0x59d7e6(0x200)](_0x3b918f[_0x59d7e6(0x202)]),_0x2675ea=_0x90f1b7['useDependency'](_0x3abbb7[_0x59d7e6(0x283)]),_0x1d9149=_0x21d0f8!==_0x3abbb7['CollaborationStatus'][_0x59d7e6(0x181)],_0x20ff4e=_0x4eb419['t'](_0xa12129(_0x21d0f8)),_0x26a121=_0x1d9149?_0x4a9fbe['jsx'](_0x229e20,{}):_0x4a9fbe[_0x59d7e6(0x353)](_0x55b422,{}),_0x330ae2=_0x48605a[_0x59d7e6(0x187)](()=>{const _0x49c482=_0x59d7e6;_0x1d9149||_0x2675ea[_0x49c482(0x230)]();},[_0x1d9149,_0x2675ea]);function _0x2b91b7(){const _0xe02497=_0x59d7e6;return _0x4a9fbe[_0xe02497(0x3e8)](_0xe02497(0x279),{'className':_0xe02497(0x2ca),'onClick':_0x330ae2,'children':[_0x4a9fbe[_0xe02497(0x353)](_0xe02497(0x279),{'className':_0x55d351['clsx'](_0xe02497(0x345),{'univer-text-green-500':_0x1d9149,'univer-text-red-500':!_0x1d9149}),'children':_0x26a121}),_0x4a9fbe[_0xe02497(0x353)]('div',{'className':_0xe02497(0x40a),'children':_0x20ff4e})]});}return _0x1d9149?_0x2b91b7():_0x4a9fbe['jsx'](_0x55d351[_0x59d7e6(0x158)],{'title':_0x4eb419['t'](_0x59d7e6(0x30c)),'children':_0x2b91b7()});}var _0x40c0f0=Object['getOwnPropertyDescriptor'],_0x15c418=(_0x3236d0,_0x58c68c,_0x32f899,_0x5dfb20)=>{const _0x3338e6=_0x570a0a;for(var _0x25398f=_0x5dfb20>0x1?void 0x0:_0x5dfb20?_0x40c0f0(_0x58c68c,_0x32f899):_0x58c68c,_0x41da6b=_0x3236d0[_0x3338e6(0x19b)]-0x1,_0x2b8f72;_0x41da6b>=0x0;_0x41da6b--)(_0x2b8f72=_0x3236d0[_0x41da6b])&&(_0x25398f=_0x2b8f72(_0x25398f)||_0x25398f);return _0x25398f;},_0x1590a0=(_0x9424f1,_0x5c6dd1)=>(_0x3001ca,_0x2ad6b8)=>_0x5c6dd1(_0x3001ca,_0x2ad6b8,_0x9424f1);_0x18b2e1[_0x570a0a(0x194)]=class extends _0x3b918f[_0x570a0a(0x189)]{constructor(_0x71d029,_0x41550c,_0x472651,_0x122743){const _0x2b3884=_0x570a0a;super(),_0x3899df(this,_0x2b3884(0x2f2),new _0x40a063[(_0x2b3884(0x2e3))](_0x3abbb7['CollaborationStatus'][_0x2b3884(0x1cc)])),(this[_0x2b3884(0x435)]=_0x71d029,this[_0x2b3884(0x29a)]=_0x41550c,this[_0x2b3884(0x393)]=_0x472651,this['_uiPartsService']=_0x122743,this['_initStatusComponent'](),this[_0x2b3884(0x399)]());}[_0x570a0a(0x399)](){const _0x10c7b0=_0x570a0a;this[_0x10c7b0(0x1e6)](this[_0x10c7b0(0x435)]['focused$'][_0x10c7b0(0x3b0)](_0x40a063[_0x10c7b0(0x3ec)](()=>{const _0x3f3998=_0x10c7b0,_0x4d57e9=this[_0x3f3998(0x435)][_0x3f3998(0x382)]();return _0x4d57e9?this[_0x3f3998(0x393)][_0x3f3998(0x423)](_0x4d57e9['getUnitId']()):_0x40a063['of'](null);}),_0x40a063['switchMap'](_0x3333a9=>_0x3333a9?_0x3333a9[_0x10c7b0(0x322)]:_0x40a063['of'](_0x3abbb7[_0x10c7b0(0x29f)][_0x10c7b0(0x1cc)])))['subscribe'](_0x5b987e=>{const _0x4b6ed3=_0x10c7b0;this[_0x4b6ed3(0x2f2)]['next'](_0x5b987e);}));}[_0x570a0a(0x17f)](){const _0x6e6bde=_0x570a0a;this['disposeWithMe'](this[_0x6e6bde(0x438)][_0x6e6bde(0x42c)](_0x90f1b7['BuiltInUIPart'][_0x6e6bde(0x27a)],()=>_0x90f1b7[_0x6e6bde(0x1aa)](_0x41f47e({'status$':this[_0x6e6bde(0x2f2)][_0x6e6bde(0x2df)]()}),this[_0x6e6bde(0x29a)])));}},_0x18b2e1[_0x570a0a(0x194)]=_0x15c418([_0x1590a0(0x0,_0x3b918f[_0x570a0a(0x2f5)]),_0x1590a0(0x1,_0x3b918f[_0x570a0a(0x3b6)](_0x3b918f[_0x570a0a(0x1b0)])),_0x1590a0(0x2,_0x3b918f[_0x570a0a(0x3b6)](_0x3abbb7['CollaborationController'])),_0x1590a0(0x3,_0x90f1b7[_0x570a0a(0x31d)])],_0x18b2e1[_0x570a0a(0x194)]);function _0x41f47e(_0x597ef5){const {status$:_0x18e192}=_0x597ef5;return function(){const _0x38bc08=_0x1b70;return _0x4a9fbe[_0x38bc08(0x353)](_0x4e018f,{'status$':_0x18e192});};}const _0x4e3145=_0x3b918f[_0x570a0a(0x208)](_0x570a0a(0x214));var _0x536881=Object['getOwnPropertyDescriptor'],_0x5cd012=(_0x495cc1,_0x3bc90d,_0x43c17a,_0x8422f8)=>{const _0x53d7dc=_0x570a0a;for(var _0x21d742=_0x8422f8>0x1?void 0x0:_0x8422f8?_0x536881(_0x3bc90d,_0x43c17a):_0x3bc90d,_0x298de1=_0x495cc1[_0x53d7dc(0x19b)]-0x1,_0x2f131a;_0x298de1>=0x0;_0x298de1--)(_0x2f131a=_0x495cc1[_0x298de1])&&(_0x21d742=_0x2f131a(_0x21d742)||_0x21d742);return _0x21d742;},_0xf9ec8a=(_0x3534f8,_0x45a710)=>(_0x381fc5,_0x25c0e1)=>_0x45a710(_0x381fc5,_0x25c0e1,_0x3534f8);_0x18b2e1['CollaborationDataLoaderController']=class extends _0x3b918f[_0x570a0a(0x33b)]{constructor(_0x3d81af,_0x19cd16,_0xbe45a0,_0x56698e,_0x13431b){const _0x3a1a8d=_0x570a0a;super(),this[_0x3a1a8d(0x3e4)]=_0x3d81af,this[_0x3a1a8d(0x2ac)]=_0x19cd16,this[_0x3a1a8d(0x321)]=_0xbe45a0,this[_0x3a1a8d(0x375)]=_0x56698e,_0x13431b?_0x13431b==null||_0x13431b['whenReady']()['then'](()=>this[_0x3a1a8d(0x2a2)]()):(this['_logService']['debug'](_0x3a1a8d(0x234),_0x3a1a8d(0x1f5)),this['_init']());}async['_init'](){const _0x255bc2=_0x570a0a,_0x70cddc=this[_0x255bc2(0x3e4)]['getParam']('unit'),_0x56c50b=this[_0x255bc2(0x3e4)][_0x255bc2(0x316)](_0x255bc2(0x1d8)),_0xdd55cb=this[_0x255bc2(0x3e4)][_0x255bc2(0x316)](_0x255bc2(0x3db));if(!_0x70cddc||!_0x56c50b){this[_0x255bc2(0x2ac)]['debug'](_0x255bc2(0x234),_0x255bc2(0x338));return;}const _0x2c7a6a=await this[_0x255bc2(0x375)]['loadUnit'](_0x70cddc,Number(_0x56c50b),_0xdd55cb);_0x2c7a6a&&_0x2c7a6a instanceof _0x3b918f['Workbook']&&this[_0x255bc2(0x3f0)](_0x2c7a6a);}async[_0x570a0a(0x3f0)](_0x2ab9c6){const _0x5dae8c=_0x570a0a;await this['_updateSubUnitFromURLParams'](_0x2ab9c6),_0x2ab9c6[_0x5dae8c(0x210)]['pipe'](_0x40a063[_0x5dae8c(0x38b)](this[_0x5dae8c(0x1f8)]))[_0x5dae8c(0x33f)](_0x1770c0=>{const _0x2f7688=_0x5dae8c;_0x1770c0&&this[_0x2f7688(0x32b)](_0x1770c0);}),this[_0x5dae8c(0x3e4)][_0x5dae8c(0x311)][_0x5dae8c(0x3b0)](_0x40a063[_0x5dae8c(0x38b)](this['dispose$']))['subscribe'](()=>this[_0x5dae8c(0x1be)](_0x2ab9c6));}['_updateURLWithCurrentState'](_0x5a6a05,_0x320c38=!0x1){const _0x2a81c3=_0x570a0a,_0x5cd9a6=this[_0x2a81c3(0x3e4)]['getParam']('subunit');_0x5a6a05[_0x2a81c3(0x3f8)]()!==_0x5cd9a6&&this[_0x2a81c3(0x3e4)][_0x2a81c3(0x1bb)](_0x2a81c3(0x3db),_0x5a6a05[_0x2a81c3(0x3f8)](),_0x320c38);}async['_updateSubUnitFromURLParams'](_0x4fe465){const _0xbd8a6b=_0x570a0a;var _0xa25724;const _0x4f2f14=this[_0xbd8a6b(0x3e4)][_0xbd8a6b(0x316)]('subunit');if(!_0x4f2f14||!_0x4fe465[_0xbd8a6b(0x2b2)](_0x4f2f14)){const _0x51ed6e=_0x4fe465['getUnhiddenWorksheets']()[0x0],_0x447592=_0x4fe465[_0xbd8a6b(0x2b2)](_0x51ed6e);if(!_0x447592)return;this[_0xbd8a6b(0x32b)](_0x447592,!0x0),await this[_0xbd8a6b(0x321)]['executeCommand'](_0x5da8b2[_0xbd8a6b(0x396)]['id'],{'unitId':_0x4fe465[_0xbd8a6b(0x3fd)](),'subUnitId':_0x51ed6e});return;}((_0xa25724=_0x4fe465[_0xbd8a6b(0x3c1)]())==null?void 0x0:_0xa25724[_0xbd8a6b(0x3f8)]())!==_0x4f2f14&&await this[_0xbd8a6b(0x321)][_0xbd8a6b(0x33a)](_0x5da8b2[_0xbd8a6b(0x396)]['id'],{'unitId':_0x4fe465[_0xbd8a6b(0x3fd)](),'subUnitId':_0x4f2f14});}},_0x18b2e1['CollaborationDataLoaderController']=_0x5cd012([_0xf9ec8a(0x0,_0x4e3145),_0xf9ec8a(0x1,_0x3b918f[_0x570a0a(0x3b9)]),_0xf9ec8a(0x2,_0x3b918f[_0x570a0a(0x3c3)]),_0xf9ec8a(0x3,_0x3b918f[_0x570a0a(0x3b6)](_0x3abbb7[_0x570a0a(0x376)])),_0xf9ec8a(0x4,_0x3b918f[_0x570a0a(0x307)](_0x2e68ed[_0x570a0a(0x2a1)]))],_0x18b2e1[_0x570a0a(0x219)]);var _0x5d9555=Object[_0x570a0a(0x2bc)],_0x5e7357=(_0x237faf,_0x2b14de,_0x1d3a54,_0x3579a0)=>{const _0x2000f3=_0x570a0a;for(var _0x44cd47=_0x3579a0>0x1?void 0x0:_0x3579a0?_0x5d9555(_0x2b14de,_0x1d3a54):_0x2b14de,_0x3a7085=_0x237faf[_0x2000f3(0x19b)]-0x1,_0x125e8e;_0x3a7085>=0x0;_0x3a7085--)(_0x125e8e=_0x237faf[_0x3a7085])&&(_0x44cd47=_0x125e8e(_0x44cd47)||_0x44cd47);return _0x44cd47;},_0xde52e3=(_0x5da6b8,_0x99d74)=>(_0xa0c8fc,_0x3787fd)=>_0x99d74(_0xa0c8fc,_0x3787fd,_0x5da6b8);let _0x5197dc=class extends _0x3b918f[_0x570a0a(0x33b)]{constructor(_0x5f07c4,_0x3893b7){const _0x576f13=_0x570a0a;super(),this[_0x576f13(0x37f)]=_0x5f07c4,this[_0x576f13(0x2b3)]=_0x3893b7,this[_0x576f13(0x2a2)]();}[_0x570a0a(0x2a2)](){const _0x3f606e=_0x570a0a,_0x5ecad1=this;this[_0x3f606e(0x1e6)](this['_docClipboardService'][_0x3f606e(0x1ce)]({'onBeforePasteImage':async _0x2921ab=>{const _0x562279=_0x3f606e,_0x27b9d2=await _0x5ecad1[_0x562279(0x2b3)][_0x562279(0x302)](_0x2921ab);return _0x27b9d2?{'source':_0x27b9d2[_0x562279(0x257)],'imageSourceType':_0x27b9d2[_0x562279(0x211)]}:null;}}));}};_0x5197dc=_0x5e7357([_0xde52e3(0x0,_0x46f9d6[_0x570a0a(0x151)]),_0xde52e3(0x1,_0x128823['IImageIoService'])],_0x5197dc);const _0x4eeb54=[_0x570a0a(0x22a),_0x570a0a(0x19a),'green.600',_0x570a0a(0x215),_0x570a0a(0x34d),_0x570a0a(0x2cf)];class _0x54f644 extends _0x3b918f[_0x570a0a(0x189)]{constructor(){const _0x307dec=_0x570a0a;super(...arguments),_0x3899df(this,_0x307dec(0x198),new Map()),_0x3899df(this,_0x307dec(0x26b),0x0);}['assignAColorForMemberID'](_0x47651b){const _0x3375d3=_0x570a0a;if(this[_0x3375d3(0x198)][_0x3375d3(0x3dc)](_0x47651b))return this['_assignedColors']['get'](_0x47651b);const _0x42716c=_0x4eeb54[this[_0x3375d3(0x26b)]];return this['_colorIndex']=(this[_0x3375d3(0x26b)]+0x1)%_0x4eeb54[_0x3375d3(0x19b)],this[_0x3375d3(0x198)][_0x3375d3(0x184)](_0x47651b,_0x42716c),_0x42716c;}}function _0xce7f1f(_0x363deb){let _0x48ba0e='';for(const _0x34c47a of _0x363deb){const {startOffset:_0x41c907,endOffset:_0x9c6c89,isActive:_0x504438,rangeType:_0x638fbc,segmentId:_0x1a11c8,segmentPage:_0x32d7b8}=_0x34c47a;_0x48ba0e['length']&&(_0x48ba0e+=','),_0x48ba0e+=_0x41c907+':'+_0x9c6c89+':'+(_0x504438?'1':'0')+':'+_0x638fbc+':'+_0x1a11c8+':'+_0x32d7b8;}return _0x48ba0e;}function _0xb584f9(_0xafe100){const _0x10a1b9=_0x570a0a,_0x1e943c=_0xafe100[_0x10a1b9(0x349)](','),_0x30ac5c=[];for(const _0x4b92df of _0x1e943c){const [_0x5b02e6,_0x264ef5,_0x55b4c3,_0x622ab8,_0x1b92bf,_0x1a845e]=_0x4b92df[_0x10a1b9(0x349)](':');_0x30ac5c[_0x10a1b9(0x2af)]({'startOffset':Number(_0x5b02e6),'endOffset':Number(_0x264ef5),'collapsed':_0x5b02e6===_0x264ef5,'isActive':_0x55b4c3==='1','rangeType':_0x622ab8===_0x3b918f[_0x10a1b9(0x15a)][_0x10a1b9(0x1c5)]?_0x3b918f['DOC_RANGE_TYPE'][_0x10a1b9(0x1c5)]:_0x3b918f[_0x10a1b9(0x15a)][_0x10a1b9(0x41f)],'segmentId':typeof _0x1b92bf==_0x10a1b9(0x380)?String(_0x1b92bf):'','segmentPage':Number(_0x1a845e!=null?_0x1a845e:-0x1)});}return _0x30ac5c[_0x10a1b9(0x24e)](_0x2bbb64=>_0x2bbb64['isActive'])||(_0x30ac5c[0x0][_0x10a1b9(0x1c0)]=!0x0),_0x30ac5c;}class _0x52b980 extends _0x3b918f[_0x570a0a(0x33b)]{constructor(){const _0x355fa7=_0x570a0a;super(...arguments),_0x3899df(this,_0x355fa7(0x26f),new _0x40a063[(_0x355fa7(0x2e3))](null)),_0x3899df(this,_0x355fa7(0x445),this['_collabCursorState$']['asObservable']());}[_0x570a0a(0x39e)](_0x287178){const {unitID:_0x12c381,memberID:_0x2d8582,textRanges:_0x285408}=_0x287178,_0x58d29c=_0xce7f1f(_0x285408);if(_0x58d29c==='')return;const _0x42a725={'unitID':_0x12c381,'memberID':_0x2d8582,'selection':_0x58d29c};this['_collabCursorState$']['next'](_0x42a725);}}var _0x447d5a=Object[_0x570a0a(0x2bc)],_0x239c7f=(_0x9afd8a,_0x3f1247,_0x5b8d8b,_0x561023)=>{const _0x24456a=_0x570a0a;for(var _0x22cc79=_0x561023>0x1?void 0x0:_0x561023?_0x447d5a(_0x3f1247,_0x5b8d8b):_0x3f1247,_0x2a72c7=_0x9afd8a[_0x24456a(0x19b)]-0x1,_0x45fedc;_0x2a72c7>=0x0;_0x2a72c7--)(_0x45fedc=_0x9afd8a[_0x2a72c7])&&(_0x22cc79=_0x45fedc(_0x22cc79)||_0x22cc79);return _0x22cc79;},_0x1126a4=(_0x227df5,_0x24660a)=>(_0x2346ee,_0x167fe1)=>_0x24660a(_0x2346ee,_0x167fe1,_0x227df5);const _0x24d621=0x12c,_0x1e8f07=0x64;let _0x6da488=class extends _0x3b918f[_0x570a0a(0x33b)]{constructor(_0x1d580b,_0x3268cf,_0x8b5fe8,_0x41f251,_0xf45d61,_0x36cbda,_0x3cafd1,_0x3e6a0c,_0x238068){const _0x5c6c6=_0x570a0a;super(),_0x3899df(this,'_online',!0x1),_0x3899df(this,_0x5c6c6(0x2a2),!0x1),_0x3899df(this,'_cursorInfo$',new _0x40a063[(_0x5c6c6(0x2e3))](new Map())),_0x3899df(this,'cursorInfo$',this[_0x5c6c6(0x29e)][_0x5c6c6(0x2df)]()),_0x3899df(this,_0x5c6c6(0x348),new _0x40a063[(_0x5c6c6(0x2e3))]([])),_0x3899df(this,'roomMembers$',this[_0x5c6c6(0x348)]['pipe'](_0x40a063['debounceTime'](_0x24d621))),_0x3899df(this,'_updateLocalCursor',_0x3b918f['debounce'](_0x15053b=>{const _0x459c1f=_0x5c6c6,_0x805fd3={'eventID':_0x4c59ab[_0x459c1f(0x2de)][_0x459c1f(0x262)],'data':{'unitID':this['unitID'],'memberID':this[_0x459c1f(0x1b5)][_0x459c1f(0x254)](),'selection':_0xce7f1f(_0x15053b)}};this['_session']['send'](_0x805fd3,this[_0x459c1f(0x2ee)]);},_0x1e8f07)),(this['unitID']=_0x1d580b,this['_session']=_0x3268cf,this['_injector']=_0x8b5fe8,this['_colorAssignService']=_0x41f251,this[_0x5c6c6(0x398)]=_0xf45d61,this['_syncEditingCollabCursorService']=_0x36cbda,this[_0x5c6c6(0x17d)]=_0x3cafd1,this[_0x5c6c6(0x435)]=_0x3e6a0c,this[_0x5c6c6(0x321)]=_0x238068);}get['cursorInfo'](){const _0x4bcdee=_0x570a0a;return this[_0x4bcdee(0x29e)][_0x4bcdee(0x395)]();}get[_0x570a0a(0x23f)](){const _0x65c1b=_0x570a0a;return this[_0x65c1b(0x348)][_0x65c1b(0x395)]();}[_0x570a0a(0x3e3)](){const _0xbb10aa=_0x570a0a;super[_0xbb10aa(0x3e3)](),this[_0xbb10aa(0x29e)][_0xbb10aa(0x3c8)](new Map()),this[_0xbb10aa(0x29e)][_0xbb10aa(0x2bb)](),this[_0xbb10aa(0x348)][_0xbb10aa(0x3c8)]([]),this[_0xbb10aa(0x348)][_0xbb10aa(0x2bb)]();}['init'](){const _0x47986e=_0x570a0a;this[_0x47986e(0x2a2)]||(this[_0x47986e(0x2a2)]=!0x0,this[_0x47986e(0x1b5)][_0x47986e(0x28f)][_0x47986e(0x3b0)](_0x40a063[_0x47986e(0x38b)](this[_0x47986e(0x1f8)]))[_0x47986e(0x33f)](_0xae6aeb=>{const _0x1aae8c=_0x47986e;_0xae6aeb===_0x3abbb7[_0x1aae8c(0x3e7)][_0x1aae8c(0x191)]?this[_0x1aae8c(0x231)]():this[_0x1aae8c(0x1de)]();}),this['_session'][_0x47986e(0x36d)][_0x47986e(0x3b0)](_0x40a063[_0x47986e(0x38b)](this[_0x47986e(0x1f8)]))[_0x47986e(0x33f)](_0xc3cccc=>{const _0x2f020c=_0x47986e,_0x5082a8=_0xc3cccc['eventID'];_0x5082a8===_0x4c59ab[_0x2f020c(0x2de)][_0x2f020c(0x262)]&&this['_onCursorUpdate'](_0xc3cccc),_0x5082a8===_0x4c59ab['CollaborationEvent']['USERS_LEAVE']&&this[_0x2f020c(0x35f)](_0xc3cccc);}),this['disposeWithMe'](this[_0x47986e(0x321)][_0x47986e(0x3eb)](_0x344607=>{const _0x3501be=_0x47986e,_0x14d9d9=_0x344607['params'];_0x14d9d9!=null&&this[_0x3501be(0x192)]&&_0x344607['id']===_0x5d3cc2[_0x3501be(0x365)]['id']&&_0x14d9d9[_0x3501be(0x1f2)]===this[_0x3501be(0x2ee)]&&_0x14d9d9[_0x3501be(0x3e2)]===!0x1&&_0x14d9d9[_0x3501be(0x190)][_0x3501be(0x19b)]>0x0&&this[_0x3501be(0x2be)](_0x14d9d9['ranges']);})),this[_0x47986e(0x3f6)]['collabCursorState$'][_0x47986e(0x3b0)](_0x40a063[_0x47986e(0x38b)](this[_0x47986e(0x1f8)]))['subscribe'](_0x54d9f4=>{const _0xce09ac=_0x47986e;if((_0x54d9f4==null?void 0x0:_0x54d9f4[_0xce09ac(0x2ee)])!==this['unitID'])return;const _0x16c54f={'eventID':_0x4c59ab[_0xce09ac(0x2de)][_0xce09ac(0x262)],'data':_0x54d9f4};this[_0xce09ac(0x1af)](_0x16c54f);}),this[_0x47986e(0x1e6)](this[_0x47986e(0x321)]['onCommandExecuted'](_0x3490d1=>{const _0x143c2c=_0x47986e;if(_0x3490d1['params']==null)return;const _0x2bb5a2=_0x3490d1[_0x143c2c(0x2c7)];if(_0x3490d1['id']!==_0x5d3cc2[_0x143c2c(0x342)]['id']||_0x2bb5a2[_0x143c2c(0x1f2)]!==this['unitID'])return;const _0x41a734={'id':_0x143c2c(0x37e),'params':_0x2bb5a2},_0x15b216=this[_0x143c2c(0x2ed)];for(const [_0x22cd54,_0x1edb86]of _0x15b216){const _0x58336c={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x143c2c(0x2ee)],'actions':null,'textRanges':_0x1edb86[_0x143c2c(0x190)]}},_0x149165=this['_transformService']['transformMutation'](_0x41a734,_0x58336c,!0x1);if(_0x4c59ab[_0x143c2c(0x37b)](_0x149165))throw _0x149165[_0x143c2c(0x331)];_0x15b216[_0x143c2c(0x184)](_0x22cd54,{..._0x1edb86,'ranges':_0x149165[_0x143c2c(0x203)][_0x143c2c(0x2c7)]['textRanges']});}queueMicrotask(()=>{const _0x444abe=_0x143c2c;this[_0x444abe(0x29e)]['next'](_0x15b216);});})));}[_0x570a0a(0x1af)](_0x24561f){const _0x40f693=_0x570a0a;var _0x56a6c6,_0x50a157;const {memberID:_0x2a52a1,selection:_0x109ebc}=_0x24561f[_0x40f693(0x388)],_0x554b4d=_0xb584f9(_0x109ebc),_0x5e3b18=(_0x50a157=(_0x56a6c6=this[_0x40f693(0x398)][_0x40f693(0x20a)](this[_0x40f693(0x2ee)],_0x2a52a1))==null?void 0x0:_0x56a6c6[_0x40f693(0x403)])!=null?_0x50a157:_0x40f693(0x318),_0x59c8ed={'color':this[_0x40f693(0x41e)][_0x40f693(0x314)](_0x2a52a1),'name':_0x5e3b18,'ranges':_0x554b4d},_0x3a017e=this['cursorInfo'];_0x3a017e['set'](_0x2a52a1,_0x59c8ed),this['_cursorInfo$']['next'](_0x3a017e);}[_0x570a0a(0x35f)](_0x151479){const _0x537618=_0x570a0a,{memberID:_0x47f38f}=_0x151479[_0x537618(0x388)],_0x44a99e=this['cursorInfo'];_0x44a99e['delete'](_0x47f38f),this[_0x537618(0x29e)]['next'](_0x44a99e);}[_0x570a0a(0x231)](){const _0x1ac9b4=_0x570a0a;var _0x3d3a23;if(this[_0x1ac9b4(0x192)]=!0x0,((_0x3d3a23=this[_0x1ac9b4(0x435)]['getFocusedUnit']())==null?void 0x0:_0x3d3a23[_0x1ac9b4(0x3fd)]())!==this['unitID'])return;const _0x4f1980=this[_0x1ac9b4(0x29a)][_0x1ac9b4(0x3ff)](_0x5d3cc2[_0x1ac9b4(0x37a)])[_0x1ac9b4(0x17a)]();Array[_0x1ac9b4(0x3a1)](_0x4f1980)&&_0x4f1980['length']>0x0&&this[_0x1ac9b4(0x2be)](_0x4f1980);}[_0x570a0a(0x1de)](){const _0x59694e=_0x570a0a;this[_0x59694e(0x192)]=!0x1;}};_0x6da488=_0x239c7f([_0x1126a4(0x2,_0x3b918f[_0x570a0a(0x3b6)](_0x3b918f[_0x570a0a(0x1b0)])),_0x1126a4(0x3,_0x3b918f[_0x570a0a(0x3b6)](_0x54f644)),_0x1126a4(0x4,_0x3b918f[_0x570a0a(0x3b6)](_0x3abbb7['MemberService'])),_0x1126a4(0x5,_0x3b918f[_0x570a0a(0x3b6)](_0x52b980)),_0x1126a4(0x6,_0x4c59ab[_0x570a0a(0x3bd)]),_0x1126a4(0x7,_0x3b918f['IUniverInstanceService']),_0x1126a4(0x8,_0x3b918f['ICommandService'])],_0x6da488);var _0x4c15c3=Object[_0x570a0a(0x2bc)],_0x581401=(_0x1d7da1,_0xd9c748,_0x2597ad,_0x31c0f1)=>{const _0x29eb4e=_0x570a0a;for(var _0x259882=_0x31c0f1>0x1?void 0x0:_0x31c0f1?_0x4c15c3(_0xd9c748,_0x2597ad):_0xd9c748,_0x1d9c12=_0x1d7da1[_0x29eb4e(0x19b)]-0x1,_0x5d865a;_0x1d9c12>=0x0;_0x1d9c12--)(_0x5d865a=_0x1d7da1[_0x1d9c12])&&(_0x259882=_0x5d865a(_0x259882)||_0x259882);return _0x259882;},_0x59b477=(_0x426b43,_0x47e364)=>(_0x16ceb9,_0xebfc81)=>_0x47e364(_0x16ceb9,_0xebfc81,_0x426b43);const _0x11c4cf=0x12c,_0x5ec2db=0x64,_0xdc6e39=()=>{let _0x577b37=[],_0x2cc510=!0x1;return _0x1795fd=>{const _0x44bbec=_0x1b70;_0x577b37[_0x44bbec(0x2af)](_0x1795fd),_0x2cc510||(_0x2cc510=!0x0,setTimeout(()=>{_0x577b37['forEach'](_0x1902b1=>_0x1902b1()),_0x577b37=[],_0x2cc510=!0x1;}));};};let _0xeeb6c7=class extends _0x3b918f[_0x570a0a(0x33b)]{constructor(_0x4dc379,_0x4c8c80,_0x57480d,_0x5af486,_0x29c8e0,_0x148b66,_0x2ea7c0,_0xe323e0){const _0x449aea=_0x570a0a;super(),_0x3899df(this,_0x449aea(0x192),!0x1),_0x3899df(this,_0x449aea(0x2a2),!0x1),_0x3899df(this,_0x449aea(0x29e),new _0x40a063[(_0x449aea(0x2e3))](new Map())),_0x3899df(this,_0x449aea(0x360),this['_cursorInfo$'][_0x449aea(0x2df)]()),_0x3899df(this,_0x449aea(0x348),new _0x40a063[(_0x449aea(0x2e3))]([])),_0x3899df(this,_0x449aea(0x3a7),this[_0x449aea(0x348)][_0x449aea(0x3b0)](_0x40a063[_0x449aea(0x171)](_0x11c4cf))),_0x3899df(this,_0x449aea(0x2be),_0x3b918f[_0x449aea(0x2a3)]((_0x4b4334,_0x35ae01)=>{const _0x2f77e6=_0x449aea,_0x3cd72c={'eventID':_0x4c59ab[_0x2f77e6(0x2de)][_0x2f77e6(0x262)],'data':{'unitID':this[_0x2f77e6(0x2ee)],'memberID':this[_0x2f77e6(0x1b5)][_0x2f77e6(0x254)](),'selection':_0x5059c3[_0x2f77e6(0x39a)](_0x4b4334,_0x35ae01[_0x2f77e6(0x176)])}};this[_0x2f77e6(0x1b5)][_0x2f77e6(0x3df)](_0x3cd72c,this[_0x2f77e6(0x2ee)]);},_0x5ec2db)),(this['unitID']=_0x4dc379,this[_0x449aea(0x1b5)]=_0x4c8c80,this[_0x449aea(0x29a)]=_0x57480d,this[_0x449aea(0x41e)]=_0x5af486,this[_0x449aea(0x398)]=_0x29c8e0,this[_0x449aea(0x435)]=_0x148b66,this[_0x449aea(0x321)]=_0x2ea7c0,this[_0x449aea(0x249)]=_0xe323e0);}get[_0x570a0a(0x2ed)](){const _0x19c881=_0x570a0a;return this['_cursorInfo$'][_0x19c881(0x395)]();}get[_0x570a0a(0x23f)](){const _0x7364a4=_0x570a0a;return this[_0x7364a4(0x348)][_0x7364a4(0x395)]();}[_0x570a0a(0x3e3)](){const _0x590db8=_0x570a0a;super[_0x590db8(0x3e3)](),this['_cursorInfo$'][_0x590db8(0x3c8)](new Map()),this['_cursorInfo$'][_0x590db8(0x2bb)](),this['_roomMembers$'][_0x590db8(0x3c8)]([]),this[_0x590db8(0x348)][_0x590db8(0x2bb)]();}[_0x570a0a(0x372)](){const _0x390f9e=_0x570a0a;this[_0x390f9e(0x2a2)]||(this[_0x390f9e(0x2a2)]=!0x0,this[_0x390f9e(0x1b5)][_0x390f9e(0x28f)][_0x390f9e(0x3b0)](_0x40a063[_0x390f9e(0x38b)](this['dispose$']))[_0x390f9e(0x33f)](_0x247571=>{const _0x9c0bc0=_0x390f9e;_0x247571===_0x3abbb7[_0x9c0bc0(0x3e7)][_0x9c0bc0(0x191)]?this[_0x9c0bc0(0x231)]():this['_toggleOffline']();}),this[_0x390f9e(0x1b5)][_0x390f9e(0x36d)][_0x390f9e(0x3b0)](_0x40a063['takeUntil'](this[_0x390f9e(0x1f8)]))['subscribe'](_0x4153bd=>{const _0x258a5d=_0x390f9e,_0x3acfc5=_0x4153bd[_0x258a5d(0x444)];_0x3acfc5===_0x4c59ab[_0x258a5d(0x2de)][_0x258a5d(0x262)]&&this[_0x258a5d(0x1af)](_0x4153bd),_0x3acfc5===_0x4c59ab[_0x258a5d(0x2de)][_0x258a5d(0x25c)]&&this[_0x258a5d(0x35f)](_0x4153bd);}),this[_0x390f9e(0x1ee)](),this[_0x390f9e(0x1e6)](this['_commandService'][_0x390f9e(0x3eb)](_0x7f9c5c=>{const _0x475225=_0x390f9e;if(this[_0x475225(0x192)]&&_0x7f9c5c['id']===_0x5da8b2[_0x475225(0x2eb)]['id']&&_0x7f9c5c[_0x475225(0x2c7)][_0x475225(0x1f2)]===this[_0x475225(0x2ee)]){const _0x2c0690=_0x7f9c5c['params'];this[_0x475225(0x2be)](_0x2c0690[_0x475225(0x350)],_0x2c0690[_0x475225(0x20e)][0x0]);}})));}[_0x570a0a(0x1af)](_0x40c09a){const _0x25c02f=_0x570a0a;var _0x2a310c,_0x3658ff;const {memberID:_0x514ca6,selection:_0x226e35}=_0x40c09a['data'],{sheetName:_0x44a49a,range:_0x259e8f}=_0x5059c3[_0x25c02f(0x172)](_0x226e35),_0x504496={'name':(_0x3658ff=(_0x2a310c=this['_memberService']['getMember'](this[_0x25c02f(0x2ee)],_0x514ca6))==null?void 0x0:_0x2a310c[_0x25c02f(0x403)])!=null?_0x3658ff:_0x25c02f(0x318),'range':this[_0x25c02f(0x364)](_0x44a49a,_0x259e8f),'sheetID':_0x44a49a,'color':this[_0x25c02f(0x41e)][_0x25c02f(0x314)](_0x514ca6),'selection':_0x226e35},_0x80bece=this[_0x25c02f(0x2ed)];_0x80bece[_0x25c02f(0x184)](_0x514ca6,_0x504496),this[_0x25c02f(0x29e)][_0x25c02f(0x3c8)](_0x80bece);}[_0x570a0a(0x35f)](_0xf50496){const _0x46e18c=_0x570a0a,{memberID:_0x65e3a5}=_0xf50496[_0x46e18c(0x388)],_0x3038f0=this['cursorInfo'];_0x3038f0[_0x46e18c(0x2ef)](_0x65e3a5),this[_0x46e18c(0x29e)][_0x46e18c(0x3c8)](_0x3038f0);}[_0x570a0a(0x364)](_0x3a6b60,_0x4fd585){const _0xc2ac2=_0x570a0a;var _0x54b996,_0xad166a;const _0x226f62=(_0xad166a=(_0x54b996=this[_0xc2ac2(0x435)][_0xc2ac2(0x2e4)](this['unitID']))==null?void 0x0:_0x54b996[_0xc2ac2(0x2b2)](_0x3a6b60))==null?void 0x0:_0xad166a[_0xc2ac2(0x39f)]();return(_0x226f62==null?void 0x0:_0x226f62[_0xc2ac2(0x25f)](_0x5e6127=>_0x3b918f[_0xc2ac2(0x2d6)][_0xc2ac2(0x149)](_0x5e6127,_0x4fd585)))||_0x4fd585;}[_0x570a0a(0x1ee)](){const _0x2b0b50=_0x570a0a,_0x46dcee=new _0x3b918f[(_0x2b0b50(0x173))](),_0x4cf41e=_0xdc6e39(),_0x5cadf0=()=>{const _0x20cd28=_0x2b0b50;_0x46dcee[_0x20cd28(0x3e3)]();const _0x120ddb=(_0x834378,_0x274f85,_0x83e8eb,_0x265b9d)=>{const _0x23bd80=_0x20cd28;let _0x26b472=[];switch(_0x834378['id']){case _0x5da8b2[_0x23bd80(0x2f0)][_0x23bd80(0x33e)]:{_0x26b472=_0x5da8b2[_0x23bd80(0x3cc)](_0x834378,_0x265b9d);break;}case _0x5da8b2[_0x23bd80(0x2f0)][_0x23bd80(0x2e9)]:{_0x26b472=_0x5da8b2[_0x23bd80(0x251)](_0x834378,_0x265b9d);break;}case _0x5da8b2[_0x23bd80(0x2f0)]['InsertColCommandId']:{_0x26b472=_0x5da8b2[_0x23bd80(0x3d4)](_0x834378,_0x265b9d);break;}case _0x5da8b2[_0x23bd80(0x2f0)][_0x23bd80(0x413)]:{_0x26b472=_0x5da8b2[_0x23bd80(0x401)](_0x834378,_0x265b9d);break;}case _0x5da8b2[_0x23bd80(0x2f0)]['InsertRangeMoveRightCommandId']:{_0x26b472=_0x5da8b2[_0x23bd80(0x218)](_0x834378,_0x265b9d);break;}case _0x5da8b2[_0x23bd80(0x2f0)][_0x23bd80(0x333)]:{_0x26b472=_0x5da8b2['handleInsertRow'](_0x834378,_0x265b9d);break;}case _0x5da8b2[_0x23bd80(0x2f0)]['MoveRangeCommandId']:{_0x26b472=_0x5da8b2[_0x23bd80(0x23c)](_0x834378,_0x265b9d);break;}case _0x5da8b2['EffectRefRangId']['RemoveColCommandId']:{_0x26b472=_0x5da8b2[_0x23bd80(0x204)](_0x834378,_0x265b9d);break;}case _0x5da8b2['EffectRefRangId'][_0x23bd80(0x1ed)]:{_0x26b472=_0x5da8b2['handleIRemoveRow'](_0x834378,_0x265b9d);break;}}const _0x53e31f=_0x5da8b2[_0x23bd80(0x437)](_0x26b472,_0x265b9d),_0x5706de=this[_0x23bd80(0x2ed)][_0x23bd80(0x3ff)](_0x274f85);if(_0x5706de&&_0x53e31f){const _0x19cddd={..._0x5706de,'range':_0x53e31f};this[_0x23bd80(0x2ed)][_0x23bd80(0x184)](_0x274f85,_0x19cddd),_0x4cf41e(()=>{const _0x5ea281=_0x23bd80,_0x577479=this[_0x5ea281(0x249)][_0x5ea281(0x1c2)](_0x53e31f,_0x8de6fe=>(_0x577479[_0x5ea281(0x3e3)](),_0x120ddb(_0x8de6fe,_0x274f85,_0x83e8eb,_0x53e31f)));_0x46dcee[_0x5ea281(0x273)](_0x577479);});}return{'redos':[],'undos':[]};};this[_0x20cd28(0x2ed)][_0x20cd28(0x2cd)]((_0x3dec75,_0x18e57a)=>{const _0x556222=_0x20cd28,{range:_0x512231,sheetID:_0x1ec0a1}=_0x3dec75,_0x186f88=this['_refRangeService'][_0x556222(0x1c2)](_0x512231,_0x576439=>(_0x186f88[_0x556222(0x3e3)](),_0x120ddb(_0x576439,_0x18e57a,_0x1ec0a1,_0x512231)));_0x46dcee[_0x556222(0x273)](_0x186f88);});};this[_0x2b0b50(0x1e6)](_0x3b918f[_0x2b0b50(0x2e8)](this[_0x2b0b50(0x29e)][_0x2b0b50(0x33f)](()=>{_0x5cadf0();})));}[_0x570a0a(0x231)](){const _0x513775=_0x570a0a;var _0x50e37f,_0x1ea26e;if(this[_0x513775(0x192)]=!0x0,((_0x50e37f=this['_univerInstanceService'][_0x513775(0x382)]())==null?void 0x0:_0x50e37f['getUnitId']())!==this[_0x513775(0x2ee)])return;const _0x3cd9e7=(_0x1ea26e=this[_0x513775(0x29a)]['get'](_0x5da8b2[_0x513775(0x16e)])[_0x513775(0x2ae)]())==null?void 0x0:_0x1ea26e[0x0],_0x4d688d=this[_0x513775(0x435)][_0x513775(0x1df)](_0x3b918f[_0x513775(0x2dc)][_0x513775(0x3cf)])[_0x513775(0x3c1)]();_0x3cd9e7&&_0x4d688d&&this['_updateLocalCursor'](_0x4d688d[_0x513775(0x3f8)](),_0x3cd9e7);}['_toggleOffline'](){this['_online']=!0x1;}};_0xeeb6c7=_0x581401([_0x59b477(0x2,_0x3b918f[_0x570a0a(0x3b6)](_0x3b918f[_0x570a0a(0x1b0)])),_0x59b477(0x3,_0x3b918f[_0x570a0a(0x3b6)](_0x54f644)),_0x59b477(0x4,_0x3b918f[_0x570a0a(0x3b6)](_0x3abbb7[_0x570a0a(0x1d9)])),_0x59b477(0x5,_0x3b918f[_0x570a0a(0x2f5)]),_0x59b477(0x6,_0x3b918f[_0x570a0a(0x3c3)]),_0x59b477(0x7,_0x3b918f[_0x570a0a(0x3b6)](_0x5da8b2[_0x570a0a(0x16b)]))],_0xeeb6c7);var _0x53024b=Object[_0x570a0a(0x2bc)],_0xb857dd=(_0x4dc542,_0x43d790,_0x3d1f66,_0x89ee51)=>{const _0x226a37=_0x570a0a;for(var _0x21560d=_0x89ee51>0x1?void 0x0:_0x89ee51?_0x53024b(_0x43d790,_0x3d1f66):_0x43d790,_0x27d152=_0x4dc542[_0x226a37(0x19b)]-0x1,_0x4c428b;_0x27d152>=0x0;_0x27d152--)(_0x4c428b=_0x4dc542[_0x27d152])&&(_0x21560d=_0x4c428b(_0x21560d)||_0x21560d);return _0x21560d;},_0x338c52=(_0x3cf579,_0x44d3d8)=>(_0x4d0a6f,_0x489d34)=>_0x44d3d8(_0x4d0a6f,_0x489d34,_0x3cf579);let _0x29c07f=class extends _0x3b918f[_0x570a0a(0x33b)]{constructor(_0x3480bf,_0x428ece,_0x38a2c9){const _0x7eefb6=_0x570a0a;super(),_0x3899df(this,'_entities',new Map()),_0x3899df(this,'_entityInit$',new _0x40a063['Subject']()),(this[_0x7eefb6(0x435)]=_0x3480bf,this[_0x7eefb6(0x29a)]=_0x428ece,this[_0x7eefb6(0x448)]=_0x38a2c9,this[_0x7eefb6(0x2a2)]());}[_0x570a0a(0x3e3)](){const _0x184de9=_0x570a0a;super[_0x184de9(0x3e3)](),this[_0x184de9(0x30e)][_0x184de9(0x2bb)](),this[_0x184de9(0x429)][_0x184de9(0x2cd)](_0x261352=>_0x261352[_0x184de9(0x3e3)]());}[_0x570a0a(0x17e)](_0x42c319){const _0x252035=_0x570a0a;return this[_0x252035(0x429)][_0x252035(0x3dc)](_0x42c319)?this[_0x252035(0x429)]['get'](_0x42c319)['cursorInfo$']:this['_entityInit$'][_0x252035(0x3b0)](_0x40a063[_0x252035(0x32d)](_0x521a1a=>_0x521a1a['unitID']===_0x42c319),_0x40a063[_0x252035(0x3ec)](_0x150f97=>_0x150f97['cursorInfo$']));}['_init'](){const _0x313791=_0x570a0a;this[_0x313791(0x435)][_0x313791(0x441)](_0x3b918f[_0x313791(0x2dc)]['UNIVER_SHEET'])[_0x313791(0x3b0)](_0x40a063['takeUntil'](this[_0x313791(0x1f8)]))[_0x313791(0x33f)](async _0xfc9155=>{const _0x4d12d7=_0x313791,_0x32cd48=_0xfc9155[_0x4d12d7(0x3fd)](),_0x2ff9bb=await this[_0x4d12d7(0x28a)](_0x32cd48);this[_0x4d12d7(0x30e)][_0x4d12d7(0x3c8)](_0x2ff9bb),this[_0x4d12d7(0x429)][_0x4d12d7(0x184)](_0x32cd48,_0x2ff9bb);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x3b918f[_0x313791(0x2dc)][_0x313791(0x18c)])['pipe'](_0x40a063[_0x313791(0x38b)](this[_0x313791(0x1f8)]))[_0x313791(0x3b0)](_0x40a063[_0x313791(0x32d)](_0x388a6d=>!_0x388a6d[_0x313791(0x3fd)]()['startsWith']('__')))[_0x313791(0x33f)](async _0x553514=>{const _0x48ec83=_0x313791,_0x488bf1=_0x553514['getUnitId'](),_0x4ed392=await this['_startDocCollabCursor'](_0x488bf1);this[_0x48ec83(0x30e)][_0x48ec83(0x3c8)](_0x4ed392),this[_0x48ec83(0x429)][_0x48ec83(0x184)](_0x488bf1,_0x4ed392);}),_0x40a063[_0x313791(0x177)](this['_univerInstanceService'][_0x313791(0x324)](_0x3b918f['UniverInstanceType']['UNIVER_DOC']),this[_0x313791(0x435)][_0x313791(0x324)](_0x3b918f['UniverInstanceType']['UNIVER_SHEET']))[_0x313791(0x3b0)](_0x40a063[_0x313791(0x38b)](this[_0x313791(0x1f8)]))[_0x313791(0x33f)](_0xeefd5b=>{const _0x7db5e7=_0x313791,_0x5e88d1=_0xeefd5b[_0x7db5e7(0x3fd)](),_0x55b127=this[_0x7db5e7(0x429)][_0x7db5e7(0x3ff)](_0x5e88d1);_0x55b127&&(_0x55b127['dispose'](),this['_entities'][_0x7db5e7(0x2ef)](_0x5e88d1));});}async[_0x570a0a(0x28a)](_0x2017aa){const _0x23533e=_0x570a0a,_0x3e7919=await this[_0x23533e(0x448)][_0x23533e(0x390)](_0x2017aa),_0x500004=this['_injector'][_0x23533e(0x35e)](_0xeeb6c7,_0x2017aa,_0x3e7919);return _0x500004[_0x23533e(0x372)](),_0x500004;}async[_0x570a0a(0x346)](_0x257e0f){const _0x58610d=_0x570a0a,_0x560dda=await this['_collabSessionService'][_0x58610d(0x390)](_0x257e0f),_0x1dedd8=this[_0x58610d(0x29a)]['createInstance'](_0x6da488,_0x257e0f,_0x560dda);return _0x1dedd8['init'](),_0x1dedd8;}};_0x29c07f=_0xb857dd([_0x338c52(0x0,_0x3b918f['IUniverInstanceService']),_0x338c52(0x1,_0x3b918f[_0x570a0a(0x3b6)](_0x3b918f[_0x570a0a(0x1b0)])),_0x338c52(0x2,_0x3b918f[_0x570a0a(0x3b6)](_0x3abbb7[_0x570a0a(0x283)]))],_0x29c07f);const _0xd2dc8b=0x14,_0x18ba82=0xc8,_0x3bb1c7=0x4,_0x4fa307=0x5;function _0x45ad6c(_0xbbcb3e,_0x2c5745){const _0x46117c=_0x570a0a;let {radius:_0x514633,width:_0x2dc761,height:_0xaddd8}=_0x2c5745;_0x514633=_0x514633!=null?_0x514633:0x0,_0x2dc761=_0x2dc761!=null?_0x2dc761:0x1e,_0xaddd8=_0xaddd8!=null?_0xaddd8:0x1e;let _0x2d138d=0x0,_0x12597a=0x0,_0x11a528=0x0;_0x2d138d=_0x12597a=_0x11a528=Math['min'](_0x514633,_0x2dc761/0x2,_0xaddd8/0x2),_0xbbcb3e[_0x46117c(0x1b1)](),_0xbbcb3e[_0x46117c(0x270)](_0x2d138d,0x0),_0xbbcb3e[_0x46117c(0x3c4)](_0x2dc761-_0x12597a,0x0),_0xbbcb3e[_0x46117c(0x3ad)](_0x2dc761-_0x12597a,_0x12597a,_0x12597a,Math['PI']*0x3/0x2,0x0,!0x1),_0xbbcb3e[_0x46117c(0x3c4)](_0x2dc761,_0xaddd8-_0x11a528),_0xbbcb3e[_0x46117c(0x3ad)](_0x2dc761-_0x11a528,_0xaddd8-_0x11a528,_0x11a528,0x0,Math['PI']/0x2,!0x1),_0xbbcb3e['lineTo'](0x0,_0xaddd8),_0xbbcb3e[_0x46117c(0x3c4)](0x0,_0x2d138d),_0xbbcb3e[_0x46117c(0x3ad)](_0x2d138d,_0x2d138d,_0x2d138d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xbbcb3e[_0x46117c(0x27f)](),_0x2c5745[_0x46117c(0x1eb)]&&(_0xbbcb3e[_0x46117c(0x3f5)](),_0xbbcb3e['fillStyle']=_0x2c5745[_0x46117c(0x1eb)],_0x2c5745[_0x46117c(0x2f7)]===_0x46117c(0x297)?_0xbbcb3e[_0x46117c(0x1eb)](_0x46117c(0x297)):_0xbbcb3e[_0x46117c(0x1eb)](),_0xbbcb3e[_0x46117c(0x275)]());}class _0xd4ce45 extends _0x468386[_0x570a0a(0x3fa)]{constructor(_0x383cfc,_0x1a3657){const _0x194f30=_0x570a0a;super(_0x383cfc,_0x1a3657),_0x3899df(this,_0x194f30(0x3f1)),_0x3899df(this,'text'),(this['color']=_0x1a3657==null?void 0x0:_0x1a3657['color'],this['text']=_0x1a3657==null?void 0x0:_0x1a3657['text']);}static['drawWith'](_0x5a0c48,_0x597681){const _0x72e5e6=_0x570a0a,{text:_0x386b3c,color:_0x21af3b}=_0x597681;_0x5a0c48[_0x72e5e6(0x3f5)](),_0x5a0c48[_0x72e5e6(0x309)]=_0x72e5e6(0x29c);const _0x467b66=_0x5a0c48['measureText'](_0x386b3c)['width'],_0x56475a=Math[_0x72e5e6(0x186)](_0x467b66+0x2*_0x3bb1c7,_0x18ba82);_0x45ad6c(_0x5a0c48,{'height':_0xd2dc8b,'radius':0x4,'width':_0x56475a,'fill':_0x21af3b}),_0x5a0c48[_0x72e5e6(0x3a4)]='#FFF';const _0x1dc50b=_0x3bb1c7,_0xa114c=_0xd2dc8b-_0x4fa307,_0x481380=_0x18ba82-0x2*_0x3bb1c7;if(_0x467b66>_0x481380){let _0x30c1db='',_0x2d50a2=0x0;for(const _0x5e3a73 of _0x386b3c){const _0x494667=_0x5a0c48[_0x72e5e6(0x237)](_0x5e3a73)['width'];if(_0x2d50a2+_0x494667<=_0x481380-_0x5a0c48[_0x72e5e6(0x237)]('...')['width'])_0x30c1db+=_0x5e3a73,_0x2d50a2+=_0x494667;else{_0x30c1db+=_0x72e5e6(0x2e5);break;}}_0x5a0c48[_0x72e5e6(0x432)](_0x30c1db,_0x1dc50b,_0xa114c);}else _0x5a0c48[_0x72e5e6(0x432)](_0x386b3c,_0x1dc50b,_0xa114c);_0x5a0c48[_0x72e5e6(0x275)]();}[_0x570a0a(0x2c9)](_0x5151bb){const _0x38aa13=_0x570a0a;_0xd4ce45[_0x38aa13(0x426)](_0x5151bb,this);}}const _0x4382db=_0x570a0a(0x2a4),_0x399452='collab-text-range-',_0x5b98bf=_0x570a0a(0x40d),_0x455e3d=0x6,_0x433b58=1.5,_0x3e1f48=0x4,_0x232c20=1.5,_0x3bc163=_0x570a0a(0x232);class _0xa5a4c2{constructor(_0x28557a,_0x6bf836,_0x245c89,_0x45ca26){const _0xc11b17=_0x570a0a;_0x3899df(this,_0xc11b17(0x361),[]),_0x3899df(this,'_anchor',null),_0x3899df(this,'_textBubble',null),_0x3899df(this,_0xc11b17(0x160),null),_0x3899df(this,'_hideTimer',null),_0x3899df(this,_0xc11b17(0x362),null),(this[_0xc11b17(0x212)]=_0x28557a,this[_0xc11b17(0x35d)]=_0x6bf836,this[_0xc11b17(0x303)]=_0x245c89,this[_0xc11b17(0x377)]=_0x45ca26,this[_0xc11b17(0x22d)]());}set[_0x570a0a(0x1d1)](_0x51db32){const _0x1b619d=_0x570a0a;_0x51db32?(this[_0x1b619d(0x160)]&&this['_anchorDot'][_0x1b619d(0x1ec)](),this[_0x1b619d(0x317)]&&this[_0x1b619d(0x317)]['show']()):(this[_0x1b619d(0x160)]&&this['_anchorDot'][_0x1b619d(0x442)](),this[_0x1b619d(0x317)]&&this['_textBubble'][_0x1b619d(0x1ec)]());}['dispose'](){const _0x170432=_0x570a0a;for(const _0x4a010b of this['_shapes'])_0x4a010b['dispose']();this[_0x170432(0x317)]&&this[_0x170432(0x317)][_0x170432(0x3e3)](),this[_0x170432(0x160)]&&this[_0x170432(0x160)][_0x170432(0x3e3)](),this[_0x170432(0x178)]&&this[_0x170432(0x178)][_0x170432(0x3e3)](),this['_eventUnsubscribe']&&this[_0x170432(0x362)]();}['_render'](){const _0x130f5d=_0x570a0a;var _0x1ed6a4;const {_docSkeleton:_0x30d4bc,_document:_0x3cda78}=this,{color:_0x586dc1,name:_0x2db804,ranges:_0x5898d3}=this['_cursor'],_0x2455c9=_0x3cda78[_0x130f5d(0x3ef)](),{docsLeft:_0x12221b,docsTop:_0x57d524}=_0x2455c9,_0x11459b=new _0x46f9d6[(_0x130f5d(0x319))](_0x2455c9,_0x30d4bc);for(const {startOffset:_0x377f4f,endOffset:_0x591b88,rangeType:_0x29185c,segmentId:_0x465469,segmentPage:_0x3545dd,collapsed:_0x444a6f,isActive:_0x4dc2d4}of _0x5898d3){const _0x3dfffc=_0x30d4bc['findNodePositionByCharIndex'](_0x377f4f,!0x0,_0x465469,_0x3545dd);let _0x525a12=_0x30d4bc['findNodePositionByCharIndex'](_0x591b88,!0x0,_0x465469,_0x3545dd);if(_0x525a12==null&&(_0x525a12=_0x30d4bc['findNodePositionByCharIndex'](_0x591b88-0x1,!0x1,_0x465469,_0x3545dd)),_0x4dc2d4){const {contentBoxPointGroup:_0x3ea7f9}=_0x11459b[_0x130f5d(0x374)](_0x525a12,_0x525a12);if(_0x3ea7f9['length']===0x0)continue;this[_0x130f5d(0x14a)](_0x586dc1,_0x3ea7f9,_0x12221b,_0x57d524,_0x2db804),this[_0x130f5d(0x362)]=this[_0x130f5d(0x2fd)]();}if(_0x3dfffc&&_0x525a12){if(_0x29185c===_0x3b918f['DOC_RANGE_TYPE'][_0x130f5d(0x41f)]){const _0x461e99=new _0x46f9d6[(_0x130f5d(0x238))](_0x2455c9,_0x30d4bc),{pointGroup:_0x4b9007}=(_0x1ed6a4=_0x461e99[_0x130f5d(0x374)](_0x3dfffc,_0x525a12))!=null?_0x1ed6a4:{};if(_0x4b9007==null||_0x4b9007['length']===0x0)continue;this['_drawRectRange'](_0x586dc1,_0x4b9007,_0x12221b,_0x57d524);}else{if(!_0x444a6f){const {borderBoxPointGroup:_0x54124b}=_0x11459b['getRangePointData'](_0x3dfffc,_0x525a12);if(_0x54124b['length']===0x0)continue;this[_0x130f5d(0x3f4)](_0x586dc1,_0x54124b,_0x12221b,_0x57d524);}}}}}[_0x570a0a(0x14a)](_0x1ce88b,_0x17f5b0,_0xf0c94e,_0x456c67,_0xe6e36e){const _0x4284d0=_0x570a0a,_0x4a2800=this[_0x4284d0(0x3ba)](_0x17f5b0),{left:_0x9bd8f0,top:_0x5a6409,height:_0x19895f}=_0x4a2800,_0x4390b2=this[_0x4284d0(0x3cd)](),_0x4b6ec9=_0x232c20/_0x4390b2,_0x413c20=new _0x468386[(_0x4284d0(0x296))](_0x4382db+_0x3b918f[_0x4284d0(0x315)](_0x455e3d),{'left':_0x9bd8f0+_0xf0c94e-_0x4b6ec9,'top':_0x5a6409+_0x456c67,'height':_0x19895f,'width':_0x433b58,'fill':_0x1ce88b||_0x468386['getColor'](_0x3b918f['COLORS']['black'],0x0),'strokeWidth':_0x4b6ec9,'stroke':_0x3bc163,'evented':!0x0});this[_0x4284d0(0x178)]=_0x413c20,this[_0x4284d0(0x35d)]['addObject'](_0x413c20,_0x46f9d6[_0x4284d0(0x206)]);const _0x5703a3=new _0x468386['Rect'](_0x4382db+_0x3b918f['generateRandomId'](_0x455e3d),{'left':_0x9bd8f0+_0xf0c94e-_0x4b6ec9,'top':_0x5a6409+_0x456c67-_0x3e1f48/0x2,'height':_0x3e1f48,'width':_0x3e1f48,'fill':_0x1ce88b||_0x468386[_0x4284d0(0x2bf)](_0x3b918f['COLORS'][_0x4284d0(0x329)],0x0),'strokeWidth':0x0,'stroke':_0x1ce88b||_0x468386['getColor'](_0x3b918f[_0x4284d0(0x233)][_0x4284d0(0x329)],0x0),'evented':!0x1});this[_0x4284d0(0x160)]=_0x5703a3,this['_scene'][_0x4284d0(0x36b)](_0x5703a3,_0x46f9d6['TEXT_RANGE_LAYER_INDEX']);const _0x1782e1=new _0xd4ce45(_0x4382db+_0x3b918f[_0x4284d0(0x315)](_0x455e3d),{'left':_0x9bd8f0+_0xf0c94e-_0x4b6ec9,'top':_0x5a6409+_0x456c67-_0xd2dc8b,'text':_0xe6e36e,'color':_0x1ce88b});this[_0x4284d0(0x317)]=_0x1782e1,this[_0x4284d0(0x35d)][_0x4284d0(0x36b)](_0x1782e1,_0x46f9d6['TEXT_RANGE_LAYER_INDEX']),this[_0x4284d0(0x1d1)]=!0x1;}[_0x570a0a(0x2fd)](){const _0x146db0=_0x570a0a,_0x5275be=this[_0x146db0(0x178)][_0x146db0(0x21b)]['subscribeEvent'](()=>{const _0x1f4469=_0x146db0;this[_0x1f4469(0x1d1)]=!0x0;}),_0x361b01=this[_0x146db0(0x178)]['onPointerLeave$'][_0x146db0(0x22c)](()=>{const _0x4cb245=_0x146db0;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x4cb245(0x1d5)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x597d74=_0x146db0;_0x5275be[_0x597d74(0x323)](),_0x361b01[_0x597d74(0x323)]();};}[_0x570a0a(0x3f4)](_0x4612bd,_0x552d73,_0x41ef65,_0x433869){const _0x2caa48=_0x570a0a,_0x652919=new _0x3b918f[(_0x2caa48(0x280))](_0x4612bd)[_0x2caa48(0x252)](0.2)[_0x2caa48(0x21e)](),_0x18a4ee=new _0x468386[(_0x2caa48(0x225))](_0x399452+_0x3b918f[_0x2caa48(0x315)](_0x455e3d),{'pointsGroup':_0x552d73,'fill':_0x652919||_0x468386[_0x2caa48(0x2bf)](_0x3b918f[_0x2caa48(0x233)][_0x2caa48(0x329)],0.2),'left':_0x41ef65,'top':_0x433869,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2caa48(0x361)][_0x2caa48(0x2af)](_0x18a4ee),this[_0x2caa48(0x35d)][_0x2caa48(0x36b)](_0x18a4ee,_0x46f9d6[_0x2caa48(0x206)]);}[_0x570a0a(0x385)](_0x5020e1,_0x3dcde6,_0x434242,_0x10c19d){const _0x3f1706=_0x570a0a,_0x45b105=new _0x3b918f[(_0x3f1706(0x280))](_0x5020e1)[_0x3f1706(0x252)](0.2)[_0x3f1706(0x21e)](),_0x5775f7=new _0x468386[(_0x3f1706(0x225))](_0x5b98bf+_0x3b918f[_0x3f1706(0x315)](_0x455e3d),{'pointsGroup':_0x3dcde6,'fill':_0x45b105||_0x468386[_0x3f1706(0x2bf)](_0x3b918f[_0x3f1706(0x233)]['black'],0.2),'left':_0x434242,'top':_0x10c19d,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x3f1706(0x2af)](_0x5775f7),this[_0x3f1706(0x35d)][_0x3f1706(0x36b)](_0x5775f7,_0x46f9d6[_0x3f1706(0x206)]);}[_0x570a0a(0x3ba)](_0x83016a){const _0x28234e=_0x83016a[0x0],_0x2ee019=_0x28234e[0x0],_0x32cebb=_0x28234e[0x2],{x:_0x383d27,y:_0x544dc5}=_0x2ee019,{x:_0x1be4e6,y:_0x5da1e7}=_0x32cebb;return{'left':_0x383d27,'top':_0x544dc5,'width':_0x1be4e6-_0x383d27,'height':_0x5da1e7-_0x544dc5};}[_0x570a0a(0x3cd)](){const _0x3bbdc0=_0x570a0a,{scaleX:_0x250b85,scaleY:_0x362217}=this[_0x3bbdc0(0x35d)][_0x3bbdc0(0x39b)]();return Math[_0x3bbdc0(0x1b3)](_0x250b85,_0x362217);}}var _0x109443=Object[_0x570a0a(0x2bc)],_0x34cdf0=(_0x2e1aa3,_0x2cc783,_0x332f8c,_0x196444)=>{const _0x2bd268=_0x570a0a;for(var _0x24b350=_0x196444>0x1?void 0x0:_0x196444?_0x109443(_0x2cc783,_0x332f8c):_0x2cc783,_0x25fcdd=_0x2e1aa3[_0x2bd268(0x19b)]-0x1,_0x15393c;_0x25fcdd>=0x0;_0x25fcdd--)(_0x15393c=_0x2e1aa3[_0x25fcdd])&&(_0x24b350=_0x15393c(_0x24b350)||_0x24b350);return _0x24b350;},_0x57a0aa=(_0x595c6c,_0x526782)=>(_0x54dac2,_0x4b5640)=>_0x526782(_0x54dac2,_0x4b5640,_0x595c6c);let _0x25bdea=class extends _0x3b918f[_0x570a0a(0x33b)]{constructor(_0x2c79f5,_0x351cf8,_0x4f38fe,_0x56c86d,_0x1e01d0){const _0x5e0e95=_0x570a0a;super(),_0x3899df(this,'_cursorShapes',[]),_0x3899df(this,'_cursors',[]),(this['_context']=_0x2c79f5,this[_0x5e0e95(0x370)]=_0x351cf8,this[_0x5e0e95(0x253)]=_0x4f38fe,this['_commandService']=_0x56c86d,this[_0x5e0e95(0x2ec)]=_0x1e01d0,this[_0x5e0e95(0x2a2)]());}[_0x570a0a(0x2a2)](){const _0x42ef6c=_0x570a0a,_0x429fbf=this['_context']['unitId'],_0x44c86d=this[_0x42ef6c(0x370)];this['disposeWithMe'](_0x40a063[_0x42ef6c(0x1dc)]([this['_collabCursorController'][_0x42ef6c(0x17e)](_0x429fbf),this[_0x42ef6c(0x2ec)][_0x42ef6c(0x1a9)]])[_0x42ef6c(0x3b0)](_0x55f392[_0x42ef6c(0x431)](([_0x2ba9fb,_0x47741c])=>({'skeleton':_0x44c86d[_0x42ef6c(0x430)](),'cursors':[..._0x2ba9fb[_0x42ef6c(0x18e)]()][_0x42ef6c(0x42d)](_0x3ffd01=>({..._0x3ffd01,'color':this['_themeService'][_0x42ef6c(0x221)](_0x3ffd01[_0x42ef6c(0x3f1)])}))})))[_0x42ef6c(0x33f)](_0x17361e=>{const _0x12fc49=_0x42ef6c;if(this[_0x12fc49(0x3a8)](),_0x17361e){const {skeleton:_0x25786f,cursors:_0xde3d52}=_0x17361e;this['_updateCollabCursors'](_0x25786f,_0xde3d52);}})),this[_0x42ef6c(0x43e)](),this['_initCommandExecutedListener']();}[_0x570a0a(0x3c6)](_0x54f164,_0x329c93){const _0x349003=_0x570a0a,{scene:_0x5e2f87,mainComponent:_0x1e69c5}=this[_0x349003(0x3b2)],_0x10e9c4=_0x329c93[_0x349003(0x431)](_0x258ddc=>new _0xa5a4c2(_0x258ddc,_0x5e2f87,_0x54f164,_0x1e69c5));this[_0x349003(0x25a)]=_0x10e9c4,this[_0x349003(0x2e2)]=_0x329c93;}[_0x570a0a(0x2c4)](){const _0x6fb6bb=_0x570a0a;this[_0x6fb6bb(0x3a8)]();const {scene:_0x56a994,mainComponent:_0x271bfb}=this[_0x6fb6bb(0x3b2)],_0x4464a6=this[_0x6fb6bb(0x370)][_0x6fb6bb(0x430)](),_0x2db4ef=this[_0x6fb6bb(0x2e2)]['map'](_0x78653e=>new _0xa5a4c2(_0x78653e,_0x56a994,_0x4464a6,_0x271bfb));this[_0x6fb6bb(0x25a)]=_0x2db4ef;}[_0x570a0a(0x3a8)](){const _0x10f8c8=_0x570a0a;this[_0x10f8c8(0x25a)][_0x10f8c8(0x2cd)](_0x4b5357=>_0x4b5357[_0x10f8c8(0x3e3)]()),this[_0x10f8c8(0x25a)]=[];}[_0x570a0a(0x2a9)](){const _0x2eb2a3=_0x570a0a,_0x3bf38d=[_0x46f9d6[_0x2eb2a3(0x14e)]['id']];this[_0x2eb2a3(0x1e6)](this[_0x2eb2a3(0x321)][_0x2eb2a3(0x3eb)](_0x4982c5=>{const _0x27482b=_0x2eb2a3;_0x3bf38d['includes'](_0x4982c5['id'])&&_0x4982c5[_0x27482b(0x2c7)][_0x27482b(0x1f2)]===this['_context']['unitId']&&this[_0x27482b(0x2c4)]();}));}['_initResize'](){const _0x2738e8=_0x570a0a;this['disposeWithMe'](_0x3b918f['fromEventSubject'](this[_0x2738e8(0x3b2)][_0x2738e8(0x1c9)][_0x2738e8(0x276)])[_0x2738e8(0x3b0)](_0x55f392[_0x2738e8(0x32d)](_0x5ede6b=>_0x5ede6b[_0x2738e8(0x1d8)]===_0x468386[_0x2738e8(0x22e)][_0x2738e8(0x359)]),_0x55f392[_0x2738e8(0x3ee)](0x10))[_0x2738e8(0x33f)](()=>{const _0xa705df=_0x2738e8;this[_0xa705df(0x2c4)]();}));}};_0x25bdea=_0x34cdf0([_0x57a0aa(0x1,_0x3b918f['Inject'](_0x5d3cc2[_0x570a0a(0x34b)])),_0x57a0aa(0x2,_0x3b918f['Inject'](_0x29c07f)),_0x57a0aa(0x3,_0x3b918f[_0x570a0a(0x3c3)]),_0x57a0aa(0x4,_0x3b918f[_0x570a0a(0x3b6)](_0x3b918f[_0x570a0a(0x3ed)]))],_0x25bdea);const _0x428732=0x1,_0x2cdc05=1.5;class _0x49ca57 extends _0x468386[_0x570a0a(0x3fa)]{constructor(_0x27ab92,_0x4e3cfb){const _0x18c117=_0x570a0a;super(_0x27ab92,_0x4e3cfb),_0x3899df(this,_0x18c117(0x36e)),_0x3899df(this,'_hovered',!0x1),_0x3899df(this,_0x18c117(0x2f6)),_0x3899df(this,_0x18c117(0x38c),''),_0x3899df(this,_0x18c117(0x18d),'top'),_0x3899df(this,_0x18c117(0x245)),(_0x4e3cfb&&this['setShapeProps'](_0x4e3cfb),this['onPointerEnter$']['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x18c117(0x387)][_0x18c117(0x22c)](()=>this[_0x18c117(0x3ea)]({'hovered':!0x1})));}[_0x570a0a(0x3ea)](_0x5616d1){const _0xebf0b=_0x570a0a;var _0x23a52c,_0x17f2c8,_0x5df8ac,_0x45385d,_0x4ecc66,_0x3fa7ab;this[_0xebf0b(0x36e)]=(_0x23a52c=_0x5616d1[_0xebf0b(0x3f1)])!=null?_0x23a52c:this[_0xebf0b(0x36e)],this['_hovered']=(_0x17f2c8=_0x5616d1[_0xebf0b(0x34a)])!=null?_0x17f2c8:this[_0xebf0b(0x308)],this[_0xebf0b(0x2f6)]=(_0x5df8ac=_0x5616d1[_0xebf0b(0x176)])!=null?_0x5df8ac:this['_range'],this[_0xebf0b(0x38c)]=(_0x45385d=_0x5616d1[_0xebf0b(0x403)])!=null?_0x45385d:this[_0xebf0b(0x38c)],this[_0xebf0b(0x18d)]=(_0x4ecc66=_0x5616d1[_0xebf0b(0x420)])!=null?_0x4ecc66:this[_0xebf0b(0x18d)],this['_backgroundColor']=(_0x3fa7ab=_0x5616d1[_0xebf0b(0x1fa)])!=null?_0x3fa7ab:this[_0xebf0b(0x245)],this['transformByState']({'width':_0x5616d1[_0xebf0b(0x201)],'height':_0x5616d1[_0xebf0b(0x1f9)]});}['onMouseMove'](_0x2f14d6){const _0x27e158=_0x570a0a,{row:_0x494e2b,column:_0x4c76ff}=_0x2f14d6;if(_0x494e2b>=this[_0x27e158(0x2f6)][_0x27e158(0x216)]&&_0x494e2b<=this[_0x27e158(0x2f6)][_0x27e158(0x3e0)]&&_0x4c76ff>=this[_0x27e158(0x2f6)]['startColumn']&&_0x4c76ff<=this['_range']['endColumn']){this[_0x27e158(0x3ea)]({'hovered':!0x0});return;}this[_0x27e158(0x3ea)]({'hovered':!0x1});}[_0x570a0a(0x32f)](_0x3528e8){return!0x1;}[_0x570a0a(0x2c9)](_0x601d72){const _0x40f61b=_0x570a0a;_0x468386[_0x40f61b(0x296)][_0x40f61b(0x426)](_0x601d72,{'width':this['width'],'height':this[_0x40f61b(0x1f9)],'strokeWidth':_0x2cdc05,'stroke':this[_0x40f61b(0x36e)],'evented':!0x1,'fill':this[_0x40f61b(0x245)]}),this[_0x40f61b(0x308)]&&(_0x601d72[_0x40f61b(0x3f5)](),_0x601d72['transform'](0x1,0x0,0x0,0x1,this[_0x40f61b(0x201)],this[_0x40f61b(0x18d)]===_0x40f61b(0x1fd)?0x0:-_0xd2dc8b),_0xd4ce45[_0x40f61b(0x426)](_0x601d72,{'text':this[_0x40f61b(0x38c)],'color':this[_0x40f61b(0x36e)]}),_0x601d72[_0x40f61b(0x275)]());}}var _0x3e3709=Object['getOwnPropertyDescriptor'],_0x53b064=(_0x4e4168,_0x4589ec,_0x37133f,_0x4791c2)=>{const _0x212c32=_0x570a0a;for(var _0x1a8019=_0x4791c2>0x1?void 0x0:_0x4791c2?_0x3e3709(_0x4589ec,_0x37133f):_0x4589ec,_0x59367a=_0x4e4168[_0x212c32(0x19b)]-0x1,_0x1214a6;_0x59367a>=0x0;_0x59367a--)(_0x1214a6=_0x4e4168[_0x59367a])&&(_0x1a8019=_0x1214a6(_0x1a8019)||_0x1a8019);return _0x1a8019;},_0x46ca47=(_0x59f2d4,_0x173104)=>(_0x772398,_0x361d6e)=>_0x173104(_0x772398,_0x361d6e,_0x59f2d4);const _0x5d445a=0x1389;let _0x18b223=class extends _0x3b918f[_0x570a0a(0x33b)]{constructor(_0x243b21,_0x20f827,_0x3319f8,_0x536af3){const _0x374f83=_0x570a0a;super(),_0x3899df(this,_0x374f83(0x2e2),new Set()),_0x3899df(this,_0x374f83(0x34c),null),(this[_0x374f83(0x3b2)]=_0x243b21,this['_sheetSkeletonManagerService']=_0x20f827,this[_0x374f83(0x253)]=_0x3319f8,this['_themeService']=_0x536af3,this[_0x374f83(0x2a2)]());}[_0x570a0a(0x2a2)](){const _0x2baea8=_0x570a0a;this[_0x2baea8(0x3f2)][_0x2baea8(0x235)]['pipe'](_0x55f392[_0x2baea8(0x38b)](this[_0x2baea8(0x1f8)]),_0x55f392[_0x2baea8(0x3ec)](_0x3912d7=>{const _0x479db3=_0x2baea8;if(_0x3912d7){const _0x482e6e=_0x3912d7[_0x479db3(0x240)];return _0x40a063[_0x479db3(0x1dc)](this['_collabCursorController'][_0x479db3(0x17e)](this[_0x479db3(0x3b2)][_0x479db3(0x1f2)]),this['_themeService'][_0x479db3(0x1a9)])[_0x479db3(0x3b0)](_0x55f392[_0x479db3(0x431)](([_0x4ac92d,_0x8e9409])=>{const _0x479799=new Map();return _0x4ac92d['forEach']((_0x1f32c8,_0x1f471b)=>{const _0x4ccee3=_0x1b70;if(_0x1f32c8[_0x4ccee3(0x424)]===_0x482e6e){const _0x48009f={..._0x1f32c8};_0x48009f['color']=this['_themeService'][_0x4ccee3(0x221)](_0x1f32c8['color']),_0x479799[_0x4ccee3(0x184)](_0x1f471b,_0x48009f);}}),{'skeleton':_0x3912d7,'cursors':_0x479799};}));}return _0x40a063['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x35d435,cursors:_0x388b31})=>{const _0x45032a=_0x2baea8;this['_removeCollabCursors'](),_0x35d435&&this[_0x45032a(0x3c6)](_0x35d435,_0x388b31);}),this[_0x2baea8(0x3f2)][_0x2baea8(0x235)][_0x2baea8(0x33f)](_0x24cd76=>{const _0x4c3e78=_0x2baea8;if(_0x24cd76==null)return;const {skeleton:_0x3dd3b7}=_0x24cd76,{scene:_0x36ce62}=this[_0x4c3e78(0x3b2)];_0x36ce62[_0x4c3e78(0x327)][_0x4c3e78(0x22c)](_0x3b918f[_0x4c3e78(0x2a3)](_0x49b9db=>{const _0x169b9a=_0x4c3e78;var _0x3671f5,_0xfbc7a5;const {offsetX:_0x49a2c2,offsetY:_0x12ccce}=_0x49b9db,{x:_0x42bfac,y:_0x22cf62}=_0x36ce62[_0x169b9a(0x2ad)](_0x468386[_0x169b9a(0x236)][_0x169b9a(0x1c4)]([_0x49a2c2,_0x12ccce])),{scaleX:_0x458726,scaleY:_0x5e843b}=_0x36ce62[_0x169b9a(0x39b)](),_0x18b6d8=_0x36ce62['getViewport'](_0x468386[_0x169b9a(0x436)][_0x169b9a(0x21c)]),_0x1282c3=_0x36ce62[_0x169b9a(0x440)](_0x468386['Vector2'][_0x169b9a(0x1c4)]([_0x42bfac,_0x22cf62]),_0x18b6d8),_0x9c3cb6=_0x3dd3b7['getCellPositionByOffset'](_0x49a2c2,_0x12ccce,_0x458726,_0x5e843b,_0x1282c3);((_0x3671f5=this[_0x169b9a(0x34c)])==null?void 0x0:_0x3671f5['column'])===_0x9c3cb6[_0x169b9a(0x300)]&&((_0xfbc7a5=this[_0x169b9a(0x34c)])==null?void 0x0:_0xfbc7a5[_0x169b9a(0x43b)])===_0x9c3cb6[_0x169b9a(0x43b)]||this[_0x169b9a(0x2e2)]['forEach'](_0x12c6d0=>{const _0x4e301e=_0x169b9a;_0x12c6d0[_0x4e301e(0x207)](_0x9c3cb6);});},0x64));});}[_0x570a0a(0x3c6)](_0x4cb8ce,_0x1a1665){const _0x10409f=_0x570a0a;var _0x103e76;const _0x236b48=(_0x103e76=this['_sheetSkeletonManagerService'][_0x10409f(0x1fb)]())==null?void 0x0:_0x103e76[_0x10409f(0x167)];if(!_0x236b48)return;const _0x868c74=this[_0x10409f(0x443)]();if(!_0x868c74)return;this[_0x10409f(0x2e2)][_0x10409f(0x2cd)](_0x30b6f8=>{const _0xd12f21=_0x10409f;_0x30b6f8[_0xd12f21(0x40b)]();});const {scene:_0xe004b}=_0x868c74,_0x32e085=_0x102c67(Array[_0x10409f(0x3d2)](_0x1a1665['values']()))[_0x10409f(0x431)](_0x12cc16=>{const _0xb8077f=_0x10409f,{color:_0x38cf7c,range:_0x350927,name:_0x594977,selection:_0x3bf055,sheetID:_0x12c2d0}=_0x12cc16,{startColumn:_0x337a86,startRow:_0x2ef54b,endColumn:_0x911b19,endRow:_0x5ab4c4}=_0x350927,_0x43f96c=_0x29ce82[_0xb8077f(0x2a8)](_0x2ef54b,_0x337a86,_0xe004b,_0x236b48),_0x5864ce=_0x29ce82['getCoordByCell'](_0x5ab4c4,_0x911b19,_0xe004b,_0x236b48),{columnHeaderHeightAndMarginTop:_0x48b96c}=_0x236b48,{startX:_0x59fbf5,startY:_0x5df4a2}=_0x43f96c,{endX:_0x466552,endY:_0x28f33d}=_0x5864ce,_0x2e624d=_0x466552-_0x59fbf5,_0xdb8d24=_0x28f33d-_0x5df4a2,_0x96617e={'labelPosition':_0x5df4a2-_0x48b96c>=_0xd2dc8b?_0xb8077f(0x1d7):'bottom','sheetID':_0x12c2d0,'range':_0x350927,'color':_0x38cf7c,'name':_0x594977,'selection':_0x3bf055,'left':_0x59fbf5,'top':_0x5df4a2,'width':_0x2e624d,'height':_0xdb8d24,'evented':!0x1,'zIndex':_0x5d445a};return new _0x49ca57(_0x594977,_0x96617e);});_0xe004b[_0x10409f(0x28e)](_0x32e085,_0x428732),this[_0x10409f(0x2e2)]=new Set(_0x32e085);}[_0x570a0a(0x3a8)](){const _0x70f2cc=_0x570a0a;var _0x11cd25;(_0x11cd25=this[_0x70f2cc(0x2e2)])==null||_0x11cd25['forEach'](_0x2fd06b=>_0x2fd06b[_0x70f2cc(0x3e3)]());}[_0x570a0a(0x443)](){const _0x25242d=_0x570a0a;return _0x29ce82[_0x25242d(0x41a)](this[_0x25242d(0x3b2)][_0x25242d(0x42b)],this[_0x25242d(0x3b2)]);}};_0x18b223=_0x53b064([_0x46ca47(0x1,_0x3b918f['Inject'](_0x29ce82[_0x570a0a(0x38f)])),_0x46ca47(0x2,_0x3b918f['Inject'](_0x29c07f)),_0x46ca47(0x3,_0x3b918f['Inject'](_0x3b918f['ThemeService']))],_0x18b223);function _0x102c67(_0x581c2c){const _0x28fd1a=_0x570a0a,_0x56d358=new Map();return _0x581c2c['forEach'](_0x466ce9=>{const _0x3b0214=_0x1b70;if(_0x56d358['has'](_0x466ce9[_0x3b0214(0x2d8)])){const _0x531432=_0x56d358[_0x3b0214(0x3ff)](_0x466ce9[_0x3b0214(0x2d8)]);_0x531432[_0x3b0214(0x403)]+=',\x20'+_0x466ce9[_0x3b0214(0x403)];}else _0x56d358['set'](_0x466ce9['selection'],_0x466ce9);}),Array[_0x28fd1a(0x3d2)](_0x56d358[_0x28fd1a(0x18e)]());}var _0x2e8613=Object['getOwnPropertyDescriptor'],_0x23c7e5=(_0x14ebba,_0x5b6c51,_0x54c0c8,_0x20b61f)=>{for(var _0x22eff=_0x20b61f>0x1?void 0x0:_0x20b61f?_0x2e8613(_0x5b6c51,_0x54c0c8):_0x5b6c51,_0x1ecc50=_0x14ebba['length']-0x1,_0x5dc488;_0x1ecc50>=0x0;_0x1ecc50--)(_0x5dc488=_0x14ebba[_0x1ecc50])&&(_0x22eff=_0x5dc488(_0x22eff)||_0x22eff);return _0x22eff;},_0x43e6e9=(_0x314ab9,_0x1b62d8)=>(_0x21c260,_0x505408)=>_0x1b62d8(_0x21c260,_0x505408,_0x314ab9);let _0x2aa69d=class extends _0x3b918f[_0x570a0a(0x189)]{constructor(_0x42c5ed,_0x141d09,_0x23c284,_0x587578,_0x325f48,_0x32f0a9){const _0x318d42=_0x570a0a;super(),this[_0x318d42(0x1f1)]=_0x42c5ed,this['_localCacheService']=_0x141d09,this[_0x318d42(0x2b6)]=_0x23c284,this[_0x318d42(0x159)]=_0x587578,this['_notificationService']=_0x325f48,this[_0x318d42(0x284)]=_0x32f0a9,this[_0x318d42(0x1cb)](),this[_0x318d42(0x32c)]();}['_setupBeforeClosingHandler'](){const _0x4ef97a=_0x570a0a;this[_0x4ef97a(0x1e6)](this[_0x4ef97a(0x1f1)][_0x4ef97a(0x2a0)](()=>{const _0x1dc5c1=_0x4ef97a;if(this[_0x1dc5c1(0x15e)][_0x1dc5c1(0x24d)]['size'])return this[_0x1dc5c1(0x284)]['t'](_0x1dc5c1(0x14b));}));}[_0x570a0a(0x32c)](){const _0x1556d9=_0x570a0a;this[_0x1556d9(0x1e6)](this[_0x1556d9(0x2b6)]['event$']['subscribe'](_0x3a5de1=>{const _0x1f39dc=_0x1556d9;_0x3a5de1['id']===_0x3abbb7['CollaborationUIEventId']['OTHER_CLIENT_EDITING']&&this[_0x1f39dc(0x159)][_0x1f39dc(0x442)]({'type':_0x55d351[_0x1f39dc(0x26d)][_0x1f39dc(0x3bf)],'content':this[_0x1f39dc(0x284)]['t'](_0x1f39dc(0x1c7))}),_0x3a5de1['id']===_0x3abbb7[_0x1f39dc(0x30a)][_0x1f39dc(0x301)]&&this['_messageService'][_0x1f39dc(0x442)]({'type':_0x55d351['MessageType'][_0x1f39dc(0x3bf)],'content':this[_0x1f39dc(0x284)]['t'](_0x1f39dc(0x163))}),_0x3a5de1['id']===_0x3abbb7['CollaborationUIEventId']['PERMISSION_DENIED']&&this[_0x1f39dc(0x42f)][_0x1f39dc(0x442)]({'title':this[_0x1f39dc(0x284)]['t'](_0x1f39dc(0x312)),'content':this['_localeService']['t'](_0x1f39dc(0x447)),'type':_0x1f39dc(0x331),'duration':0x0}),_0x3a5de1['id']===_0x3abbb7[_0x1f39dc(0x30a)]['CONFLICT']&&this['_messageService'][_0x1f39dc(0x442)]({'type':_0x55d351[_0x1f39dc(0x26d)][_0x1f39dc(0x15f)],'content':this[_0x1f39dc(0x284)]['t'](_0x1f39dc(0x163))+'('+_0x3a5de1['data']+')'}),_0x3a5de1['id']===_0x3abbb7[_0x1f39dc(0x30a)][_0x1f39dc(0x42a)]&&this[_0x1f39dc(0x159)][_0x1f39dc(0x442)]({'type':_0x55d351[_0x1f39dc(0x26d)][_0x1f39dc(0x3bf)],'content':this[_0x1f39dc(0x284)]['t'](_0x3a5de1[_0x1f39dc(0x388)]||'')}),_0x3a5de1['id']===_0x3abbb7[_0x1f39dc(0x30a)][_0x1f39dc(0x1b7)]&&this[_0x1f39dc(0x159)][_0x1f39dc(0x442)]({'type':_0x55d351[_0x1f39dc(0x26d)]['Warning'],'content':this['_localeService']['t'](_0x1f39dc(0x3e6))}),_0x3a5de1['id']===_0x3abbb7[_0x1f39dc(0x30a)][_0x1f39dc(0x25e)]&&this['_messageService']['show']({'type':_0x55d351[_0x1f39dc(0x26d)][_0x1f39dc(0x15f)],'content':this[_0x1f39dc(0x284)]['t'](_0x1f39dc(0x20d))}),_0x3a5de1['id']===_0x3abbb7[_0x1f39dc(0x30a)][_0x1f39dc(0x3c5)]&&this[_0x1f39dc(0x159)]['show']({'type':_0x55d351[_0x1f39dc(0x26d)][_0x1f39dc(0x15f)],'content':this['_localeService']['t'](_0x1f39dc(0x1b6))});}));}};_0x2aa69d=_0x23c7e5([_0x43e6e9(0x0,_0x90f1b7[_0x570a0a(0x3d6)]),_0x43e6e9(0x1,_0x3abbb7[_0x570a0a(0x285)]),_0x43e6e9(0x2,_0x3b918f[_0x570a0a(0x3b6)](_0x3abbb7[_0x570a0a(0x21f)])),_0x43e6e9(0x3,_0x90f1b7[_0x570a0a(0x30b)]),_0x43e6e9(0x4,_0x90f1b7['INotificationService']),_0x43e6e9(0x5,_0x3b918f[_0x570a0a(0x3b6)](_0x3b918f['LocaleService']))],_0x2aa69d);var _0x266d47=Object['getOwnPropertyDescriptor'],_0x3bff1e=(_0x126aac,_0xd6bc2,_0x12b30e,_0x1510de)=>{const _0x32241c=_0x570a0a;for(var _0x4f2346=_0x1510de>0x1?void 0x0:_0x1510de?_0x266d47(_0xd6bc2,_0x12b30e):_0xd6bc2,_0x10abf7=_0x126aac[_0x32241c(0x19b)]-0x1,_0x2efc57;_0x10abf7>=0x0;_0x10abf7--)(_0x2efc57=_0x126aac[_0x10abf7])&&(_0x4f2346=_0x2efc57(_0x4f2346)||_0x4f2346);return _0x4f2346;},_0x5940b2=(_0x281120,_0x51000a)=>(_0x47d204,_0x21b877)=>_0x51000a(_0x47d204,_0x21b877,_0x281120);let _0x647183=class extends _0x3b918f['Disposable']{constructor(_0x5d9690,_0x5d0e52,_0x3135a3,_0xbb0fe3){const _0x31c05a=_0x570a0a;super(),_0x3899df(this,_0x31c05a(0x298)),(this[_0x31c05a(0x29a)]=_0x5d9690,this[_0x31c05a(0x196)]=_0x5d0e52,this[_0x31c05a(0x2ac)]=_0x3135a3,this[_0x31c05a(0x428)]=_0xbb0fe3,this[_0x31c05a(0x2a2)]());}['_init'](){const _0x209396=_0x570a0a;this[_0x209396(0x339)](),this[_0x209396(0x2cb)](),this[_0x209396(0x169)](),this[_0x209396(0x2f9)]();}['_initUserListener'](){const _0x55b1cf=_0x570a0a;this['disposeWithMe'](this['_collaborationSessionService']['socket$'][_0x55b1cf(0x33f)](_0x524491=>{const _0x3df76a=_0x55b1cf;this[_0x3df76a(0x298)]=_0x524491==null?void 0x0:_0x524491[_0x3df76a(0x1ef)];}));}[_0x570a0a(0x339)](){const _0x55f6dd=_0x570a0a,_0x1d35bf=_0x518d9d=>{const _0x22386c=_0x1b70;var _0x1c6df1;this[_0x22386c(0x154)](_0x22386c(0x331),_0x22386c(0x304)+_0x518d9d[_0x22386c(0x161)]+_0x22386c(0x42e)+_0x518d9d[_0x22386c(0x3a3)]+':'+_0x518d9d[_0x22386c(0x3fc)]+':'+_0x518d9d[_0x22386c(0x2ab)]+'\x0a'+(((_0x1c6df1=_0x518d9d[_0x22386c(0x331)])==null?void 0x0:_0x1c6df1['stack'])||''));};window[_0x55f6dd(0x1ba)](_0x55f6dd(0x331),_0x1d35bf),this[_0x55f6dd(0x1e6)](()=>{const _0x4ed8d9=_0x55f6dd;window[_0x4ed8d9(0x363)](_0x4ed8d9(0x331),_0x1d35bf);});}[_0x570a0a(0x2cb)](){const _0x2fa822=_0x570a0a,_0x8d7d7c=_0x43044c=>{const _0x1897fc=_0x1b70;this['_uploadLog']('error',_0x1897fc(0x38a)+_0x43044c[_0x1897fc(0x16c)]);};window[_0x2fa822(0x1ba)](_0x2fa822(0x2ce),_0x8d7d7c),this['disposeWithMe'](()=>{const _0x2a5316=_0x2fa822;window[_0x2a5316(0x363)](_0x2a5316(0x2ce),_0x8d7d7c);});}[_0x570a0a(0x169)](){const _0x312e6b=_0x570a0a,_0x374a54=this['_logService'][_0x312e6b(0x331)]['bind'](this[_0x312e6b(0x2ac)]);this[_0x312e6b(0x2ac)][_0x312e6b(0x331)]=(..._0x3add56)=>{const _0x46aeab=_0x312e6b,_0x561247=_0x3add56[_0x46aeab(0x431)](_0x16c79f=>_0x16c79f instanceof Error?_0x16c79f[_0x46aeab(0x161)]+'\x0a'+_0x16c79f[_0x46aeab(0x264)]:String(_0x16c79f))['join']('\x20');this['_uploadLog']('error',_0x46aeab(0x31a)+_0x561247),_0x374a54(..._0x3add56);},this[_0x312e6b(0x1e6)](()=>{const _0x18c815=_0x312e6b;this[_0x18c815(0x2ac)]['error']=_0x374a54;});}['_uploadLog'](_0x425062,_0x30206f){const _0x4f8a66=_0x570a0a;try{const _0x2d1a62={'userId':this[_0x4f8a66(0x298)],'logLabel':_0x425062,'content':_0x30206f};this[_0x4f8a66(0x196)]['post'](_0x4f8a66(0x3ae),{'body':_0x2d1a62})[_0x4f8a66(0x33d)](()=>{});}catch{}}};_0x647183=_0x3bff1e([_0x5940b2(0x0,_0x3b918f[_0x570a0a(0x3b6)](_0x3b918f[_0x570a0a(0x1b0)])),_0x5940b2(0x1,_0x3b918f[_0x570a0a(0x3b6)](_0x23c85c['HTTPService'])),_0x5940b2(0x2,_0x3b918f[_0x570a0a(0x3b9)]),_0x5940b2(0x3,_0x3b918f[_0x570a0a(0x3b6)](_0x3abbb7['CollaborationSessionService']))],_0x647183);const _0x1ae96c='collaboration-client-ui.config',_0xfa4441={};var _0x5552b6=Object[_0x570a0a(0x2bc)],_0x200216=(_0x5f1bd6,_0x2c6682,_0x5d677c,_0x29e59d)=>{const _0x3ea899=_0x570a0a;for(var _0x5bc222=_0x29e59d>0x1?void 0x0:_0x29e59d?_0x5552b6(_0x2c6682,_0x5d677c):_0x2c6682,_0x1c1913=_0x5f1bd6[_0x3ea899(0x19b)]-0x1,_0x151641;_0x1c1913>=0x0;_0x1c1913--)(_0x151641=_0x5f1bd6[_0x1c1913])&&(_0x5bc222=_0x151641(_0x5bc222)||_0x5bc222);return _0x5bc222;},_0x17867a=(_0x55827c,_0x1ff1a1)=>(_0x150503,_0xa38d94)=>_0x1ff1a1(_0x150503,_0xa38d94,_0x55827c);let _0x1c3057=class{constructor(_0x1274e4,_0x3bcf05){const _0x1f7548=_0x570a0a;this[_0x1f7548(0x17d)]=_0x1274e4,this[_0x1f7548(0x417)]=_0x3bcf05;}[_0x570a0a(0x1ea)](_0x65a582){const _0x1fd680=_0x570a0a;this[_0x1fd680(0x1d6)](_0x65a582),this[_0x1fd680(0x386)](_0x65a582);}['transformRemoteChangeset'](_0x5914ec){const _0x2ad01c=_0x570a0a,{unitID:_0x29fbe1}=_0x5914ec,_0xfa84a9=this[_0x2ad01c(0x417)][_0x2ad01c(0x259)](_0x29fbe1)[_0x2ad01c(0x357)](_0x46f9d6[_0x2ad01c(0x1c8)]),{redoCache:_0x3e73e6}=_0xfa84a9[_0x2ad01c(0x2c3)]();if(_0x3e73e6[_0x2ad01c(0x19b)]===0x0)return _0x5914ec;let _0x362b73=_0x3b918f[_0x2ad01c(0x3e5)][_0x2ad01c(0x343)](_0x5914ec[_0x2ad01c(0x2e0)][0x0]);for(let _0x48e215=0x0;_0x48e215<_0x3e73e6[_0x2ad01c(0x19b)];_0x48e215++){const _0x224197={'id':'doc.mutation.rich-text-editing','params':{..._0x3e73e6[_0x48e215]}},_0x1b2f26=this[_0x2ad01c(0x17d)][_0x2ad01c(0x1f0)](_0x362b73,_0x224197,!0x1);if(_0x4c59ab[_0x2ad01c(0x37b)](_0x1b2f26))throw _0x1b2f26[_0x2ad01c(0x331)];_0x362b73=_0x1b2f26[_0x2ad01c(0x3e9)];}return{..._0x3b918f[_0x2ad01c(0x3e5)][_0x2ad01c(0x343)](_0x5914ec),'mutations':[_0x362b73]};}['_transformUndoRedoStack'](_0x3b5a0f){const _0xd54986=_0x570a0a,{unitID:_0x417f04}=_0x3b5a0f,_0x42f10b=this[_0xd54986(0x417)]['getRenderById'](_0x417f04)['with'](_0x46f9d6[_0xd54986(0x1c8)]),{undoCache:_0x1f14d1,redoCache:_0x9b414e}=_0x42f10b[_0xd54986(0x2c3)]();if(_0x1f14d1[_0xd54986(0x19b)]===0x0||_0x9b414e['length']===0x0)return;const _0x3a78e8=[],_0x910f01=[];let _0x230009=_0x3b918f['Tools'][_0xd54986(0x343)](_0x3b5a0f[_0xd54986(0x2e0)][0x0]),_0x264544=_0x3b918f[_0xd54986(0x3e5)][_0xd54986(0x343)](_0x3b5a0f[_0xd54986(0x2e0)][0x0]);for(let _0x2cc698=_0x1f14d1[_0xd54986(0x19b)]-0x1;_0x2cc698>=0x0;_0x2cc698--){const _0x4912f9={'id':_0xd54986(0x37e),'params':{..._0x1f14d1[_0x2cc698]}},_0x5219b0={'id':'doc.mutation.rich-text-editing','params':{..._0x9b414e[_0x2cc698]}},_0x29fe98=this[_0xd54986(0x17d)][_0xd54986(0x1f0)](_0x230009,_0x4912f9,!0x1),_0x52115b=this[_0xd54986(0x17d)]['transformMutation'](_0x264544,_0x5219b0,!0x1);if(_0x4c59ab[_0xd54986(0x37b)](_0x29fe98))throw _0x29fe98[_0xd54986(0x331)];if(_0x4c59ab[_0xd54986(0x37b)](_0x52115b))throw _0x52115b[_0xd54986(0x331)];_0x3a78e8[_0xd54986(0x3b1)](_0x29fe98['m2Prime']['params']),_0x910f01['unshift'](_0x52115b[_0xd54986(0x203)][_0xd54986(0x2c7)]),_0x230009=_0x29fe98[_0xd54986(0x3e9)],_0x264544=_0x52115b[_0xd54986(0x3e9)];}_0x42f10b['setUndoRedoMutationParamsCache']({'undoCache':_0x3a78e8,'redoCache':_0x910f01});}[_0x570a0a(0x386)](_0x15d38c){const _0x115da0=_0x570a0a,{unitID:_0x413c04}=_0x15d38c,_0x19b4dd=this[_0x115da0(0x417)][_0x115da0(0x259)](_0x413c04)[_0x115da0(0x357)](_0x46f9d6[_0x115da0(0x1c8)]),_0x4c7b73=_0x19b4dd[_0x115da0(0x248)]();if(_0x4c7b73==null)return;const _0x28ac4c=[{'id':_0x115da0(0x37e),'params':{'unitId':_0x15d38c[_0x115da0(0x2ee)],'actions':null,'textRanges':[_0x4c7b73]}}],_0x5b8072=this[_0x115da0(0x17d)]['transformMutationsWithChangeset'](_0x15d38c,_0x28ac4c);if(!_0x4c59ab['isTransformMutationsWithChangesetSuccess'](_0x5b8072))throw _0x5b8072[_0x115da0(0x331)];const _0x1be79b=_0x5b8072[_0x115da0(0x203)][0x0][_0x115da0(0x2c7)][_0x115da0(0x366)];Array['isArray'](_0x1be79b)&&_0x1be79b['length']&&_0x19b4dd[_0x115da0(0x1a1)](_0x1be79b[0x0]);}};_0x1c3057=_0x200216([_0x17867a(0x0,_0x4c59ab['ITransformService']),_0x17867a(0x1,_0x468386[_0x570a0a(0x2e6)])],_0x1c3057);var _0x2c3fb4=Object[_0x570a0a(0x2bc)],_0x3ec557=(_0x135baa,_0x54a764,_0x17a467,_0x186f0a)=>{const _0x19905f=_0x570a0a;for(var _0x51bebd=_0x186f0a>0x1?void 0x0:_0x186f0a?_0x2c3fb4(_0x54a764,_0x17a467):_0x54a764,_0x2a9c9c=_0x135baa[_0x19905f(0x19b)]-0x1,_0x2e5dd0;_0x2a9c9c>=0x0;_0x2a9c9c--)(_0x2e5dd0=_0x135baa[_0x2a9c9c])&&(_0x51bebd=_0x2e5dd0(_0x51bebd)||_0x51bebd);return _0x51bebd;},_0x4de1ac=(_0x2d42bb,_0x304a4f)=>(_0x30f786,_0x29bc8a)=>_0x304a4f(_0x30f786,_0x29bc8a,_0x2d42bb);let _0x58526c=class{constructor(_0x51b81d,_0x13cb62,_0x3bbda8){const _0x19e87f=_0x570a0a;this[_0x19e87f(0x29a)]=_0x51b81d,this[_0x19e87f(0x17d)]=_0x13cb62,this['_docStateChangeManagerService']=_0x3bbda8;}['transformStateCache'](_0x4a61de){const _0xc40457=_0x570a0a;this[_0xc40457(0x434)](_0x4a61de);}[_0x570a0a(0x271)](_0x26572f){const _0x9eaaa2=_0x570a0a,{unitID:_0x28717e}=_0x26572f,{collaboration:_0x32301d}=this['_docStateChangeManagerService'][_0x9eaaa2(0x1d2)](_0x28717e);if(_0x32301d[_0x9eaaa2(0x19b)]===0x0)return _0x26572f;let _0x4b9cea=_0x3b918f[_0x9eaaa2(0x3e5)]['deepClone'](_0x26572f['mutations'][0x0]);for(let _0x5fb1c=0x0;_0x5fb1c<_0x32301d['length'];_0x5fb1c++){const _0x5b795f={'id':_0x9eaaa2(0x37e),'params':{'unitId':_0x32301d[_0x5fb1c][_0x9eaaa2(0x1f2)],..._0x32301d[_0x5fb1c][_0x9eaaa2(0x242)]}},_0x297726=this['_transformService'][_0x9eaaa2(0x1f0)](_0x4b9cea,_0x5b795f,!0x1);if(_0x4c59ab[_0x9eaaa2(0x37b)](_0x297726))throw _0x297726[_0x9eaaa2(0x331)];_0x4b9cea=_0x297726[_0x9eaaa2(0x3e9)];}return{..._0x3b918f[_0x9eaaa2(0x3e5)][_0x9eaaa2(0x343)](_0x26572f),'mutations':[_0x4b9cea]};}[_0x570a0a(0x434)](_0x446cd4){const _0x24ec00=_0x570a0a,{unitID:_0x3bdb8e}=_0x446cd4,{history:_0x6fb958,collaboration:_0x21cee7}=this['_docStateChangeManagerService'][_0x24ec00(0x1d2)](_0x3bdb8e);if(_0x6fb958[_0x24ec00(0x19b)]===0x0&&_0x21cee7[_0x24ec00(0x19b)]===0x0)return;const _0x1262f0=[],_0x15f59e=[];let _0x2507de=_0x3b918f[_0x24ec00(0x3e5)]['deepClone'](_0x446cd4['mutations'][0x0]),_0xfd6f43=_0x3b918f[_0x24ec00(0x3e5)][_0x24ec00(0x343)](_0x446cd4[_0x24ec00(0x2e0)][0x0]);for(let _0x49ef4b=_0x6fb958[_0x24ec00(0x19b)]-0x1;_0x49ef4b>=0x0;_0x49ef4b--){const _0x48afad={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x6fb958[_0x49ef4b][_0x24ec00(0x1f2)],..._0x6fb958[_0x49ef4b]['undoState']}},_0x537e41={'id':_0x24ec00(0x37e),'params':{'unitId':_0x6fb958[_0x49ef4b]['unitId'],..._0x6fb958[_0x49ef4b][_0x24ec00(0x242)]}},_0x19dfbd=this[_0x24ec00(0x17d)][_0x24ec00(0x1f0)](_0x2507de,_0x48afad,!0x1),_0x54d24e=this[_0x24ec00(0x17d)]['transformMutation'](_0xfd6f43,_0x537e41,!0x1);if(_0x4c59ab['isTransformMutationFailure'](_0x19dfbd))throw _0x19dfbd['error'];if(_0x4c59ab[_0x24ec00(0x37b)](_0x54d24e))throw _0x54d24e[_0x24ec00(0x331)];_0x1262f0[_0x24ec00(0x3b1)]({..._0x6fb958[_0x49ef4b],'undoState':_0x19dfbd[_0x24ec00(0x203)]['params'],'redoState':_0x54d24e[_0x24ec00(0x203)][_0x24ec00(0x2c7)]}),_0x2507de=_0x19dfbd[_0x24ec00(0x3e9)],_0xfd6f43=_0x54d24e[_0x24ec00(0x3e9)];}_0x2507de=_0x3b918f[_0x24ec00(0x3e5)]['deepClone'](_0x446cd4[_0x24ec00(0x2e0)][0x0]),_0xfd6f43=_0x3b918f[_0x24ec00(0x3e5)][_0x24ec00(0x343)](_0x446cd4[_0x24ec00(0x2e0)][0x0]);for(let _0x117b3f=_0x21cee7[_0x24ec00(0x19b)]-0x1;_0x117b3f>=0x0;_0x117b3f--){const _0x94b8d7={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x21cee7[_0x117b3f][_0x24ec00(0x1f2)],..._0x21cee7[_0x117b3f]['undoState']}},_0x383f5b={'id':_0x24ec00(0x37e),'params':{'unitId':_0x21cee7[_0x117b3f][_0x24ec00(0x1f2)],..._0x21cee7[_0x117b3f][_0x24ec00(0x242)]}},_0x422528=this[_0x24ec00(0x17d)][_0x24ec00(0x1f0)](_0x2507de,_0x94b8d7,!0x1),_0x56f944=this[_0x24ec00(0x17d)][_0x24ec00(0x1f0)](_0xfd6f43,_0x383f5b,!0x1);if(_0x4c59ab['isTransformMutationFailure'](_0x422528))throw _0x422528['error'];if(_0x4c59ab[_0x24ec00(0x37b)](_0x56f944))throw _0x56f944[_0x24ec00(0x331)];_0x15f59e[_0x24ec00(0x3b1)]({..._0x21cee7[_0x117b3f],'undoState':_0x422528[_0x24ec00(0x203)]['params'],'redoState':_0x56f944[_0x24ec00(0x203)][_0x24ec00(0x2c7)]}),_0x2507de=_0x422528[_0x24ec00(0x3e9)],_0xfd6f43=_0x56f944[_0x24ec00(0x3e9)];}this['_docStateChangeManagerService'][_0x24ec00(0x1cf)](_0x3bdb8e,{'history':_0x1262f0,'collaboration':_0x15f59e});}};_0x58526c=_0x3ec557([_0x4de1ac(0x0,_0x3b918f[_0x570a0a(0x3b6)](_0x3b918f['Injector'])),_0x4de1ac(0x1,_0x4c59ab[_0x570a0a(0x3bd)]),_0x4de1ac(0x2,_0x3b918f['Inject'](_0x46f9d6[_0x570a0a(0x14f)]))],_0x58526c);var _0x1163b8=Object[_0x570a0a(0x2bc)],_0x385ec4=(_0x57c74b,_0xeb2858,_0x46c3b5,_0x50697e)=>{const _0x5170a2=_0x570a0a;for(var _0x5dd429=_0x50697e>0x1?void 0x0:_0x50697e?_0x1163b8(_0xeb2858,_0x46c3b5):_0xeb2858,_0x170caf=_0x57c74b[_0x5170a2(0x19b)]-0x1,_0x24271d;_0x170caf>=0x0;_0x170caf--)(_0x24271d=_0x57c74b[_0x170caf])&&(_0x5dd429=_0x24271d(_0x5dd429)||_0x5dd429);return _0x5dd429;},_0x1675a9=(_0x18144c,_0x496a20)=>(_0xcf6f7b,_0x29eaed)=>_0x496a20(_0xcf6f7b,_0x29eaed,_0x18144c);let _0x347914=class{constructor(_0x454f0e,_0x470280){const _0x2a7a9f=_0x570a0a;this[_0x2a7a9f(0x29a)]=_0x454f0e,this[_0x2a7a9f(0x17d)]=_0x470280;}[_0x570a0a(0x18f)](_0x287bf0){const _0x26669e=_0x570a0a;var _0x381f5b;const _0x4c50d2=this[_0x26669e(0x29a)]['get'](_0x5d3cc2[_0x26669e(0x37a)]),_0x3012ea=(_0x381f5b=_0x4c50d2[_0x26669e(0x17a)]())!=null?_0x381f5b:[];if(_0x3012ea['length']===0x0)return;const _0x5f300b=_0x287bf0[_0x26669e(0x2ee)],_0x1ea8a2=[{'id':_0x26669e(0x37e),'params':{'unitId':_0x5f300b,'actions':null,'textRanges':_0x3012ea}}],_0x48eddd=this[_0x26669e(0x17d)][_0x26669e(0x425)](_0x287bf0,_0x1ea8a2);if(!_0x4c59ab[_0x26669e(0x277)](_0x48eddd))throw _0x48eddd['error'];const _0x569a29=_0x48eddd['m2Prime'][0x0][_0x26669e(0x2c7)][_0x26669e(0x366)];Array[_0x26669e(0x3a1)](_0x569a29)&&_0x569a29[_0x26669e(0x19b)]&&_0x4c50d2[_0x26669e(0x351)](_0x569a29,{'unitId':_0x5f300b,'subUnitId':_0x5f300b},!0x1);}};_0x347914=_0x385ec4([_0x1675a9(0x0,_0x3b918f[_0x570a0a(0x3b6)](_0x3b918f[_0x570a0a(0x1b0)])),_0x1675a9(0x1,_0x4c59ab[_0x570a0a(0x3bd)])],_0x347914);var _0x2b09be=Object[_0x570a0a(0x2bc)],_0x29663d=(_0x2cb9d4,_0xb9ad0b,_0x1e1840,_0x44e86a)=>{const _0x32cf8a=_0x570a0a;for(var _0x4e3985=_0x44e86a>0x1?void 0x0:_0x44e86a?_0x2b09be(_0xb9ad0b,_0x1e1840):_0xb9ad0b,_0x3eb599=_0x2cb9d4[_0x32cf8a(0x19b)]-0x1,_0x2b333c;_0x3eb599>=0x0;_0x3eb599--)(_0x2b333c=_0x2cb9d4[_0x3eb599])&&(_0x4e3985=_0x2b333c(_0x4e3985)||_0x4e3985);return _0x4e3985;},_0x2ef98e=(_0x10a6ec,_0x2a0be8)=>(_0x54973b,_0x225554)=>_0x2a0be8(_0x54973b,_0x225554,_0x10a6ec);let _0x150b3a=class extends _0x3b918f[_0x570a0a(0x189)]{constructor(_0x56af36,_0x2e7280,_0x170f27,_0x1ca9e9,_0x25fdb2,_0x101cfe,_0x446081,_0x528997){const _0xcacb03=_0x570a0a;super(),_0x3899df(this,_0xcacb03(0x2f2),new _0x40a063[(_0xcacb03(0x2e3))](_0x3abbb7[_0xcacb03(0x29f)]['NOT_COLLAB'])),(this[_0xcacb03(0x209)]=_0x56af36,this[_0xcacb03(0x393)]=_0x2e7280,this[_0xcacb03(0x185)]=_0x170f27,this[_0xcacb03(0x358)]=_0x1ca9e9,this[_0xcacb03(0x164)]=_0x25fdb2,this['_docSyncEditingCollabCursorService']=_0x101cfe,this[_0xcacb03(0x159)]=_0x446081,this['_localeService']=_0x528997,this[_0xcacb03(0x15b)]());}[_0x570a0a(0x15b)](){const _0x18de65=_0x570a0a;this['disposeWithMe'](this[_0x18de65(0x393)][_0x18de65(0x418)][_0x18de65(0x33f)](_0x2a36b5=>{const _0xc9642f=_0x18de65,_0x10b6a4=this['_docStateChangeManagerService'][_0xc9642f(0x3b8)]['subscribe'](_0x3e1d98=>{const _0x1ef65f=_0xc9642f;if(_0x3e1d98==null)return;const {unitId:_0x30cd8b,redoState:_0x4b30d7,commandId:_0x13e764}=_0x3e1d98;if(_0x30cd8b!==_0x2a36b5[_0x1ef65f(0x2ee)])return;const _0x417bf1={'id':_0x13e764,'type':_0x3b918f['CommandType'][_0x1ef65f(0x1a0)],'params':{'unitId':_0x30cd8b,'actions':_0x4b30d7[_0x1ef65f(0x16d)],'textRanges':null}};_0x2a36b5[_0x1ef65f(0x409)](_0x417bf1);});if(_0x2a36b5[_0xc9642f(0x1e6)](_0x10b6a4),_0x2a36b5 instanceof _0x3abbb7['DocCollaborationEntity']){const _0x3a7246={'onTransformIME':_0x5f5ae2=>this[_0xc9642f(0x185)][_0xc9642f(0x1ea)](_0x5f5ae2),'onTransformState':_0x4c9eb1=>this[_0xc9642f(0x358)][_0xc9642f(0x1f6)](_0x4c9eb1),'onTransformSelections':_0x211855=>this[_0xc9642f(0x164)]['transformSelections'](_0x211855),'onSyncEditingCollabCursor':_0x17b1d8=>this[_0xc9642f(0x157)][_0xc9642f(0x39e)](_0x17b1d8),'onTransformRemoteChangesetByIMECache':_0x47faa7=>this[_0xc9642f(0x185)][_0xc9642f(0x271)](_0x47faa7),'onTransformRemoteChangesetByStateCache':_0x2d2026=>this[_0xc9642f(0x358)]['transformRemoteChangeset'](_0x2d2026)};_0x2a36b5['addHandlerCallback'](_0x3a7246);}}));}};_0x150b3a=_0x29663d([_0x2ef98e(0x0,_0x3b918f[_0x570a0a(0x3b6)](_0x46f9d6[_0x570a0a(0x14f)])),_0x2ef98e(0x1,_0x3b918f['Inject'](_0x3abbb7['CollaborationController'])),_0x2ef98e(0x2,_0x3b918f[_0x570a0a(0x3b6)](_0x1c3057)),_0x2ef98e(0x3,_0x3b918f[_0x570a0a(0x3b6)](_0x58526c)),_0x2ef98e(0x4,_0x3b918f[_0x570a0a(0x3b6)](_0x347914)),_0x2ef98e(0x5,_0x3b918f['Inject'](_0x52b980)),_0x2ef98e(0x6,_0x90f1b7[_0x570a0a(0x30b)]),_0x2ef98e(0x7,_0x3b918f[_0x570a0a(0x3b6)](_0x3b918f[_0x570a0a(0x202)]))],_0x150b3a);var _0x21a466=(_0x1da1ce=>(_0x1da1ce[_0x1da1ce[_0x570a0a(0x3bb)]=0x0]=_0x570a0a(0x3bb),_0x1da1ce[_0x1da1ce['OK']=0x1]='OK',_0x1da1ce[_0x1da1ce[_0x570a0a(0x1bf)]=0x2]=_0x570a0a(0x1bf),_0x1da1ce[_0x1da1ce['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x1da1ce[_0x1da1ce[_0x570a0a(0x1b2)]=0x4]=_0x570a0a(0x1b2),_0x1da1ce[_0x1da1ce['UNAUTHENTICATED']=0x5]=_0x570a0a(0x37c),_0x1da1ce[_0x1da1ce['ALREADY_EXISTS']=0x6]=_0x570a0a(0x336),_0x1da1ce[_0x1da1ce['INVALID_ARGUMENT']=0x7]=_0x570a0a(0x168),_0x1da1ce[_0x1da1ce['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x1da1ce[_0x1da1ce[_0x570a0a(0x26a)]=0x9]=_0x570a0a(0x26a),_0x1da1ce[_0x1da1ce['LOGIN_FAILED']=0xa]=_0x570a0a(0x21a),_0x1da1ce[_0x1da1ce[_0x570a0a(0x1ac)]=0xb]=_0x570a0a(0x1ac),_0x1da1ce[_0x1da1ce[_0x570a0a(0x3d0)]=0xc]=_0x570a0a(0x3d0),_0x1da1ce[_0x1da1ce[_0x570a0a(0x1c6)]=0xd]=_0x570a0a(0x1c6),_0x1da1ce[_0x1da1ce[_0x570a0a(0x183)]=0xe]=_0x570a0a(0x183),_0x1da1ce[_0x1da1ce[_0x570a0a(0x195)]=0xf]=_0x570a0a(0x195),_0x1da1ce[_0x1da1ce[_0x570a0a(0x3f3)]=0x10]=_0x570a0a(0x3f3),_0x1da1ce[_0x1da1ce[_0x570a0a(0x3b4)]=0x64]=_0x570a0a(0x3b4),_0x1da1ce[_0x1da1ce['ERROR_AGAIN']=0x65]=_0x570a0a(0x39c),_0x1da1ce[_0x1da1ce['USER_NOT_FOUND']=0xc9]='USER_NOT_FOUND',_0x1da1ce[_0x1da1ce[_0x570a0a(0x1fc)]=0xca]='USER_IS_ANONYMOUS',_0x1da1ce[_0x1da1ce[_0x570a0a(0x155)]=0x1389]=_0x570a0a(0x155),_0x1da1ce[_0x1da1ce[_0x570a0a(0x3a6)]=0x1771]=_0x570a0a(0x3a6),_0x1da1ce[_0x1da1ce[_0x570a0a(0x197)]=0x1772]=_0x570a0a(0x197),_0x1da1ce[_0x1da1ce[_0x570a0a(0x2b5)]=0x1773]=_0x570a0a(0x2b5),_0x1da1ce[_0x1da1ce[_0x570a0a(0x243)]=0x1b59]=_0x570a0a(0x243),_0x1da1ce[_0x1da1ce[_0x570a0a(0x1da)]=0x1b5a]=_0x570a0a(0x1da),_0x1da1ce[_0x1da1ce[_0x570a0a(0x43c)]=0x1b5b]=_0x570a0a(0x43c),_0x1da1ce[_0x1da1ce['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x570a0a(0x180),_0x1da1ce[_0x1da1ce[_0x570a0a(0x20b)]=0x1b5d]='APPLY_DUPLICATED',_0x1da1ce[_0x1da1ce[_0x570a0a(0x1bc)]=0x1f41]=_0x570a0a(0x1bc),_0x1da1ce[_0x1da1ce[_0x570a0a(0x29b)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x1da1ce[_0x1da1ce[_0x570a0a(0x14c)]=0x232a]=_0x570a0a(0x14c),_0x1da1ce[_0x1da1ce[_0x570a0a(0x3d1)]=0x232b]=_0x570a0a(0x3d1),_0x1da1ce[_0x1da1ce[_0x570a0a(0x328)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x1da1ce[_0x1da1ce[_0x570a0a(0x2b1)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x1da1ce[_0x1da1ce[_0x570a0a(0x227)]=0x2711]=_0x570a0a(0x227),_0x1da1ce[_0x1da1ce['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x570a0a(0x337),_0x1da1ce[_0x1da1ce[_0x570a0a(0x3ce)]=0x2713]=_0x570a0a(0x3ce),_0x1da1ce[_0x1da1ce[_0x570a0a(0x3f7)]=0x2714]=_0x570a0a(0x3f7),_0x1da1ce[_0x1da1ce[_0x570a0a(0x31b)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x1da1ce[_0x1da1ce[_0x570a0a(0x25d)]=0x271b]=_0x570a0a(0x25d),_0x1da1ce[_0x1da1ce[_0x570a0a(0x2f1)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x1da1ce[_0x1da1ce[_0x570a0a(0x26e)]=0x271d]=_0x570a0a(0x26e),_0x1da1ce[_0x1da1ce['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x570a0a(0x347),_0x1da1ce[_0x1da1ce[_0x570a0a(0x25b)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x1da1ce[_0x1da1ce[_0x570a0a(0x260)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x1da1ce[_0x1da1ce['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x570a0a(0x1c1),_0x1da1ce[_0x1da1ce[_0x570a0a(0x3b7)]=0x2ee1]=_0x570a0a(0x3b7),_0x1da1ce[_0x1da1ce['INVALID_INVITE_CODE']=0x2ee2]=_0x570a0a(0x1bd),_0x1da1ce[_0x1da1ce[_0x570a0a(0x239)]=0x2ee3]=_0x570a0a(0x239),_0x1da1ce[_0x1da1ce[_0x570a0a(0x3d9)]=0x2ee4]=_0x570a0a(0x3d9),_0x1da1ce[_0x1da1ce[_0x570a0a(0x3cb)]=0x2ee5]=_0x570a0a(0x3cb),_0x1da1ce[_0x1da1ce[_0x570a0a(0x367)]=0x32c9]=_0x570a0a(0x367),_0x1da1ce[_0x1da1ce[_0x570a0a(0x220)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x1da1ce[_0x1da1ce['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x570a0a(0x30d),_0x1da1ce[_0x1da1ce[_0x570a0a(0x281)]=0x36b1]=_0x570a0a(0x281),_0x1da1ce[_0x1da1ce[_0x570a0a(0x31e)]=0x36b2]=_0x570a0a(0x31e),_0x1da1ce[_0x1da1ce[_0x570a0a(0x258)]=0x36b3]=_0x570a0a(0x258),_0x1da1ce[_0x1da1ce['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x570a0a(0x1f4),_0x1da1ce[_0x1da1ce[_0x570a0a(0x261)]=0x36b5]=_0x570a0a(0x261),_0x1da1ce[_0x1da1ce[_0x570a0a(0x213)]=0x36b6]=_0x570a0a(0x213),_0x1da1ce[_0x1da1ce['ENTITLE_COUPON_USED_UP']=0x36b7]='ENTITLE_COUPON_USED_UP',_0x1da1ce[_0x1da1ce['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x1da1ce[_0x1da1ce[_0x570a0a(0x27b)]=0x3715]=_0x570a0a(0x27b),_0x1da1ce[_0x1da1ce[_0x570a0a(0x34e)]=0x3716]=_0x570a0a(0x34e),_0x1da1ce[_0x1da1ce[_0x570a0a(0x421)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x1da1ce[_0x1da1ce[_0x570a0a(0x38d)]=0x37dd]=_0x570a0a(0x38d),_0x1da1ce[_0x1da1ce[_0x570a0a(0x288)]=0x3a99]=_0x570a0a(0x288),_0x1da1ce[_0x1da1ce['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x570a0a(0x3d3),_0x1da1ce[_0x1da1ce['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x570a0a(0x222),_0x1da1ce[_0x1da1ce[_0x570a0a(0x32a)]=0x3a9c]=_0x570a0a(0x32a),_0x1da1ce[_0x1da1ce[_0x570a0a(0x199)]=0x3a9d]=_0x570a0a(0x199),_0x1da1ce[_0x1da1ce[_0x570a0a(0x292)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x1da1ce[_0x1da1ce['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x1da1ce[_0x1da1ce[_0x570a0a(0x3dd)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x1da1ce[_0x1da1ce[_0x570a0a(0x3fe)]=-0x1]=_0x570a0a(0x3fe),_0x1da1ce))(_0x21a466||{});function _0x259e0b(_0x17e444){const _0x55eecf=_0x570a0a;var _0x52b8c0,_0xe7b7e3;const _0x2732d7=(_0x52b8c0=_0x17e444['stageInfo'])==null?void 0x0:_0x52b8c0[_0x55eecf(0x15c)],_0x19f49d=((_0xe7b7e3=_0x17e444[_0x55eecf(0x286)])==null?void 0x0:_0xe7b7e3['totalFormulasToCalculate'])||0x0;return _0x2732d7===_0x5059c3[_0x55eecf(0x293)][_0x55eecf(0x1a2)]&&_0x19f49d>0x0;}function _0x52af38(_0x4b25b5){const _0x14a746=_0x570a0a;return _0x4b25b5[_0x14a746(0x2fb)]===_0x5059c3['FormulaExecutedStateType'][_0x14a746(0x156)];}var _0x1d1c2a=Object[_0x570a0a(0x2bc)],_0x2b877a=(_0x215bcd,_0x527333,_0x29d702,_0x57a857)=>{const _0x3e2d33=_0x570a0a;for(var _0x41b4e8=_0x57a857>0x1?void 0x0:_0x57a857?_0x1d1c2a(_0x527333,_0x29d702):_0x527333,_0x265996=_0x215bcd[_0x3e2d33(0x19b)]-0x1,_0x23d3ab;_0x265996>=0x0;_0x265996--)(_0x23d3ab=_0x215bcd[_0x265996])&&(_0x41b4e8=_0x23d3ab(_0x41b4e8)||_0x41b4e8);return _0x41b4e8;},_0x2a1fa6=(_0x58110a,_0x35b15b)=>(_0x4b3583,_0x5a2cbf)=>_0x35b15b(_0x4b3583,_0x5a2cbf,_0x58110a);const _0x5c2965='/universer-api/license/formula/limit/status',_0x395c8b=_0x570a0a(0x193),_0x11587a=_0x570a0a(0x2d2);let _0x2fcd10=class extends _0x3b918f[_0x570a0a(0x189)]{constructor(_0x87a805,_0x14b792,_0x3bbd22,_0x16c47d,_0x34fb61,_0xbdbd28,_0x274aeb){const _0x3f1aa7=_0x570a0a;super(),_0x3899df(this,_0x3f1aa7(0x2db),null),_0x3899df(this,'_maxFormulaLimit',0x0),_0x3899df(this,_0x3f1aa7(0x1f3),0x0),_0x3899df(this,'_taskIds',[]),_0x3899df(this,'_lastResponseTimestamp',0x0),(this[_0x3f1aa7(0x159)]=_0x87a805,this['_commandService']=_0x14b792,this[_0x3f1aa7(0x175)]=_0x3bbd22,this[_0x3f1aa7(0x196)]=_0x16c47d,this[_0x3f1aa7(0x435)]=_0x34fb61,this[_0x3f1aa7(0x2ac)]=_0xbdbd28,this[_0x3f1aa7(0x284)]=_0x274aeb,this[_0x3f1aa7(0x2fe)]());}[_0x570a0a(0x2fe)](){const _0x4a737b=_0x570a0a;this[_0x4a737b(0x1e6)](this[_0x4a737b(0x321)]['beforeCommandExecuted']((_0x221776,_0x304f1a)=>{const _0x32e8a1=_0x4a737b;var _0x1c780e;if(_0x221776['id']!==_0x5059c3[_0x32e8a1(0x40f)]['id'])return;const _0x26d6af=_0x221776[_0x32e8a1(0x2c7)];if(!this[_0x32e8a1(0x170)]((_0x1c780e=_0x26d6af[_0x32e8a1(0x402)])!=null?_0x1c780e:[]))return;if(!this[_0x32e8a1(0x320)]())throw this['_checkAndWaitForCalculationPermission'](_0x221776,_0x304f1a),this['_showGuardMessage'](),new _0x3b918f[(_0x32e8a1(0x269))]();})),this[_0x4a737b(0x1e6)](this[_0x4a737b(0x321)][_0x4a737b(0x3eb)]((_0x578593,_0x2aefee)=>{const _0x461981=_0x4a737b;if(_0x578593['id']!==_0x5059c3['SetFormulaCalculationNotificationMutation']['id'])return;const _0x10ad2d=_0x578593[_0x461981(0x2c7)];if(_0x259e0b(_0x10ad2d)){const _0x385116=_0x3b918f[_0x461981(0x315)]();this[_0x461981(0x16f)][_0x461981(0x2af)](_0x385116),this[_0x461981(0x26c)](_0x385116);}else{if(_0x52af38(_0x10ad2d)&&this[_0x461981(0x16f)][_0x461981(0x19b)]>0x0){const _0x14d786=this[_0x461981(0x16f)][_0x461981(0x2a6)]();this[_0x461981(0x3be)](_0x14d786);}}}));}[_0x570a0a(0x3e3)](){const _0x32ea2c=_0x570a0a;super['dispose'](),this[_0x32ea2c(0x368)](),this[_0x32ea2c(0x16f)]=[],this[_0x32ea2c(0x1f3)]=0x0,this[_0x32ea2c(0x40c)]=0x0,this['_lastResponseTimestamp']=0x0;}async['_checkAndWaitForCalculationPermission'](_0x5a8e64,_0x4b0d8d){const _0x53c768=_0x570a0a;for(let _0x3ebd60=0x0;_0x3ebd60<0x1e;_0x3ebd60++)try{if(await this[_0x53c768(0x384)](),this[_0x53c768(0x320)]()){this[_0x53c768(0x392)](_0x5a8e64,_0x4b0d8d),this[_0x53c768(0x159)][_0x53c768(0x442)]({'content':this['_localeService']['t'](_0x53c768(0x2da)),'type':_0x55d351['MessageType'][_0x53c768(0x31c)]});return;}await new Promise(_0x1fe74d=>{const _0x269dbc=_0x53c768;this[_0x269dbc(0x2db)]=window[_0x269dbc(0x265)](_0x1fe74d,0x3e8);});}catch(_0x112496){this[_0x53c768(0x2ac)]['error'](_0x112496);}this[_0x53c768(0x159)][_0x53c768(0x442)]({'content':this[_0x53c768(0x284)]['t']('formula.calculation.unable'),'type':_0x55d351[_0x53c768(0x26d)][_0x53c768(0x15f)]});}[_0x570a0a(0x392)](_0x47479b,_0x252c3a){const _0x497c27=_0x570a0a;try{this['_commandService']['executeCommand'](_0x47479b['id'],_0x47479b[_0x497c27(0x2c7)],_0x252c3a);}catch(_0x36c6b6){this[_0x497c27(0x2ac)][_0x497c27(0x331)](_0x36c6b6);}}[_0x570a0a(0x2d4)](_0x359809,_0x967ffe){const _0x3e90a8=_0x570a0a;_0x967ffe<this[_0x3e90a8(0x369)]||(this[_0x3e90a8(0x369)]=_0x967ffe,this['_maxFormulaLimit']=Number[_0x3e90a8(0x27e)](_0x359809[_0x3e90a8(0x1d3)]),this[_0x3e90a8(0x1f3)]=Number[_0x3e90a8(0x27e)](_0x359809['currentUsage']));}async[_0x570a0a(0x26c)](_0x5a5651){const _0x208451=_0x570a0a;var _0x3ba6fb,_0x1cce32;const _0x54c502=Date['now']();try{const _0x1d0d00=((_0x3ba6fb=this[_0x208451(0x175)][_0x208451(0x310)](_0x3abbb7[_0x208451(0x1ca)]))==null?void 0x0:_0x3ba6fb[_0x208451(0x2d9)])||_0x395c8b,_0x9a03b0=(await this['_httpService'][_0x208451(0x43a)](_0x1d0d00,{'body':JSON[_0x208451(0x3fb)]({'taskId':_0x5a5651})}))[_0x208451(0x2c2)];if(((_0x1cce32=_0x9a03b0[_0x208451(0x331)])==null?void 0x0:_0x1cce32[_0x208451(0x29d)])!==_0x21a466['OK'])return;this[_0x208451(0x2d4)](_0x9a03b0[_0x208451(0x1ab)],_0x54c502);}catch(_0x327729){this[_0x208451(0x2ac)][_0x208451(0x331)](_0x327729);}}async[_0x570a0a(0x384)](_0x2ec472){const _0x38dbdd=_0x570a0a;var _0x51a676,_0x343642;const _0x437c1a=Date[_0x38dbdd(0x3c2)]();try{const _0x4c563a=((_0x51a676=this[_0x38dbdd(0x175)]['getConfig'](_0x3abbb7[_0x38dbdd(0x1ca)]))==null?void 0x0:_0x51a676[_0x38dbdd(0x408)])||_0x5c2965,_0x3fe69a=_0x2ec472?_0x4c563a+'?taskId='+encodeURIComponent(_0x2ec472):_0x4c563a,_0x1f9391=(await this['_httpService'][_0x38dbdd(0x3ff)](_0x3fe69a))[_0x38dbdd(0x2c2)];if(((_0x343642=_0x1f9391[_0x38dbdd(0x331)])==null?void 0x0:_0x343642[_0x38dbdd(0x29d)])!==_0x21a466['OK'])return;this['_setFormulaLimitStatus'](_0x1f9391[_0x38dbdd(0x1ab)],_0x437c1a);}catch(_0x57210d){this[_0x38dbdd(0x2ac)]['error'](_0x57210d);}}async[_0x570a0a(0x3be)](_0x408ce5){const _0x54865f=_0x570a0a;var _0xf09d92,_0x5210a5;const _0x5bcd93=Date[_0x54865f(0x3c2)]();try{const _0x3a9ca8=((_0xf09d92=this[_0x54865f(0x175)][_0x54865f(0x310)](_0x3abbb7['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0xf09d92[_0x54865f(0x255)])||_0x11587a,_0x2e6b5d=(await this[_0x54865f(0x196)]['post'](_0x3a9ca8,{'body':JSON[_0x54865f(0x3fb)]({'taskId':_0x408ce5})}))[_0x54865f(0x2c2)];if(((_0x5210a5=_0x2e6b5d[_0x54865f(0x331)])==null?void 0x0:_0x5210a5[_0x54865f(0x29d)])!==_0x21a466['OK'])return;this[_0x54865f(0x2d4)](_0x2e6b5d['limitInfo'],_0x5bcd93);}catch(_0x516767){this[_0x54865f(0x2ac)][_0x54865f(0x331)](_0x516767);}}[_0x570a0a(0x320)](){const _0x507fa3=_0x570a0a;return this[_0x507fa3(0x40c)]===0x0?!0x0:this[_0x507fa3(0x40c)]-this['_currentUsage']>0x0;}[_0x570a0a(0x368)](){const _0x21e4e5=_0x570a0a;this[_0x21e4e5(0x2db)]&&(clearTimeout(this[_0x21e4e5(0x2db)]),this['_pollingInterval']=null);}['_showGuardMessage'](){const _0x39165a=_0x570a0a;this['_messageService']['show']({'content':this[_0x39165a(0x284)]['t'](_0x39165a(0x335)),'type':_0x55d351[_0x39165a(0x26d)][_0x39165a(0x3c7)]});}[_0x570a0a(0x170)](_0x14e4c3){const _0x4ec4bf=_0x570a0a;for(const _0x2fefb3 of _0x14e4c3){const {unitId:_0x36a5d3,sheetId:_0x370d08,range:_0x2da254}=_0x2fefb3,_0x285344=this['_univerInstanceService'][_0x4ec4bf(0x394)](_0x36a5d3);if(!_0x285344)continue;const _0x4794f8=_0x285344[_0x4ec4bf(0x2b2)](_0x370d08);if(!_0x4794f8)continue;const _0x5a9a44=_0x4794f8['getCellMatrix']();for(let _0xfc911b=_0x2da254['startRow'];_0xfc911b<=_0x2da254[_0x4ec4bf(0x3e0)];_0xfc911b++)for(let _0x337b5b=_0x2da254[_0x4ec4bf(0x165)];_0x337b5b<=_0x2da254[_0x4ec4bf(0x263)];_0x337b5b++){const _0x12537a=_0x5a9a44[_0x4ec4bf(0x395)](_0xfc911b,_0x337b5b);if(_0x12537a&&(_0x3b918f[_0x4ec4bf(0x228)](_0x12537a['f'])||_0x3b918f[_0x4ec4bf(0x406)](_0x12537a['si'])))return!0x0;}}return!0x1;}};_0x2fcd10=_0x2b877a([_0x2a1fa6(0x0,_0x3b918f[_0x570a0a(0x3b6)](_0x90f1b7[_0x570a0a(0x30b)])),_0x2a1fa6(0x1,_0x3b918f['ICommandService']),_0x2a1fa6(0x2,_0x3b918f[_0x570a0a(0x217)]),_0x2a1fa6(0x3,_0x3b918f[_0x570a0a(0x3b6)](_0x23c85c[_0x570a0a(0x407)])),_0x2a1fa6(0x4,_0x3b918f[_0x570a0a(0x2f5)]),_0x2a1fa6(0x5,_0x3b918f[_0x570a0a(0x3b9)]),_0x2a1fa6(0x6,_0x3b918f[_0x570a0a(0x3b6)](_0x3b918f[_0x570a0a(0x202)]))],_0x2fcd10);var _0xef41be=Object['getOwnPropertyDescriptor'],_0x38b7a4=(_0x28b90f,_0x4fa197,_0x54b167,_0x427992)=>{const _0x5b9a3c=_0x570a0a;for(var _0x517647=_0x427992>0x1?void 0x0:_0x427992?_0xef41be(_0x4fa197,_0x54b167):_0x4fa197,_0x310103=_0x28b90f[_0x5b9a3c(0x19b)]-0x1,_0x487082;_0x310103>=0x0;_0x310103--)(_0x487082=_0x28b90f[_0x310103])&&(_0x517647=_0x487082(_0x517647)||_0x517647);return _0x517647;},_0x354421=(_0x429d89,_0x57a5b0)=>(_0x2aed9d,_0x2c3fa4)=>_0x57a5b0(_0x2aed9d,_0x2c3fa4,_0x429d89);let _0x2e3f10=class extends _0x3b918f[_0x570a0a(0x189)]{constructor(_0xcf11b7,_0x1556b6,_0x3c1357){const _0x464637=_0x570a0a;super(),_0x3899df(this,'_cachedData',new Map()),_0x3899df(this,_0x464637(0x38e),new Map()),_0x3899df(this,_0x464637(0x2aa),!0x1),(this[_0x464637(0x175)]=_0xcf11b7,this[_0x464637(0x1ff)]=_0x1556b6,this[_0x464637(0x354)]=_0x3c1357);}['disableLocalCache'](){const _0xf493d3=_0x570a0a;this[_0xf493d3(0x2aa)]=!0x0;}['enableLocalCache'](){const _0x2d21b0=_0x570a0a;this[_0x2d21b0(0x2aa)]=!0x1;}get[_0x570a0a(0x24d)](){const _0x2bd471=_0x570a0a;return this[_0x2bd471(0x38e)];}[_0x570a0a(0x3e3)](){const _0x22711d=_0x570a0a;this[_0x22711d(0x332)]()[_0x22711d(0x3ca)](()=>super[_0x22711d(0x3e3)]());}async[_0x570a0a(0x278)](_0x3f2a6a){const _0x301594=_0x570a0a;return this[_0x301594(0x2aa)]?null:this[_0x301594(0x1ff)][_0x301594(0x3f9)](_0x3abbb7['getLocalCacheKey'](_0x3f2a6a));}async[_0x570a0a(0x2f3)](_0x28d993,_0x188516){const _0xfd835b=_0x570a0a;return!!this['_localStorageService'][_0xfd835b(0x446)](_0x28d993,_0x188516);}['updateOfflineData'](_0x13cfca,_0x474e50,_0x5d2478,_0x24e9cf){const _0x484a4d=_0x570a0a,_0x47e93c=this[_0x484a4d(0x354)][_0x484a4d(0x3b5)](_0x13cfca);this[_0x484a4d(0x27c)][_0x484a4d(0x184)](_0x13cfca,{'unitID':_0x13cfca,'type':_0x474e50,'awaitingChangeset':_0x5d2478,'mutations':_0x24e9cf,'rev':_0x47e93c}),this[_0x484a4d(0x38e)][_0x484a4d(0x3dc)](_0x13cfca)||this[_0x484a4d(0x274)](_0x13cfca);}[_0x570a0a(0x274)](_0x1f0088){const _0x4cd6a3=_0x570a0a,_0x3e0707=this['_getSaveTimeout']();_0x3e0707===0x0?this[_0x4cd6a3(0x41d)](_0x1f0088):this['_saveTaskMap']['set'](_0x1f0088,setTimeout(()=>this[_0x4cd6a3(0x41d)](_0x1f0088),_0x3e0707));}[_0x570a0a(0x205)](){const _0x564201=_0x570a0a;var _0x5eb96f;return(_0x5eb96f=this[_0x564201(0x175)][_0x564201(0x310)](_0x3abbb7[_0x564201(0x37d)]))!=null?_0x5eb96f:_0x3abbb7[_0x564201(0x1db)];}['_saveCache'](_0x3e4c35){const _0x5171a5=_0x570a0a,_0x30d4ce=this[_0x5171a5(0x38e)][_0x5171a5(0x3ff)](_0x3e4c35);return _0x30d4ce!==void 0x0&&window['clearTimeout'](_0x30d4ce),this[_0x5171a5(0x1ff)][_0x5171a5(0x446)](_0x3abbb7[_0x5171a5(0x3a9)](_0x3e4c35),this[_0x5171a5(0x27c)][_0x5171a5(0x3ff)](_0x3e4c35))['then'](()=>this['_saveTaskMap'][_0x5171a5(0x2ef)](_0x3e4c35));}async[_0x570a0a(0x332)](){const _0xbe15d6=_0x570a0a,_0x3356a6=[];this[_0xbe15d6(0x38e)][_0xbe15d6(0x2cd)]((_0x16ce33,_0x31ec26)=>{const _0xd1aa81=_0xbe15d6;window[_0xd1aa81(0x1e5)](_0x16ce33),_0x3356a6['push'](this['_saveCache'](_0x31ec26)[_0xd1aa81(0x3ca)](()=>{const _0x237d05=_0xd1aa81;this['_saveTaskMap'][_0x237d05(0x2ef)](_0x31ec26);}));}),await Promise['all'](_0x3356a6);}};_0x2e3f10=_0x38b7a4([_0x354421(0x0,_0x3b918f[_0x570a0a(0x217)]),_0x354421(0x1,_0x3b918f[_0x570a0a(0x1b4)]),_0x354421(0x2,_0x3b918f[_0x570a0a(0x3b6)](_0x4c59ab['RevisionService']))],_0x2e3f10);class _0x1ce225 extends _0x3b918f['RxDisposable']{constructor(){const _0x198ee8=_0x570a0a;super(),_0x3899df(this,_0x198ee8(0x311)),this[_0x198ee8(0x311)]=_0x40a063[_0x198ee8(0x2b9)](window,_0x198ee8(0x152))['pipe'](_0x40a063['takeUntil'](this[_0x198ee8(0x1f8)]),_0x40a063[_0x198ee8(0x17c)](0x1),_0x40a063['mapTo'](void 0x0));}[_0x570a0a(0x1bb)](_0xbc14c1,_0x46c26d,_0x278d3a=!0x1){const _0x227f8e=_0x570a0a,_0x58db1c=new URL(window[_0x227f8e(0x2f8)]['href']);_0x58db1c[_0x227f8e(0x2a5)][_0x227f8e(0x184)](_0xbc14c1,_0x46c26d),_0x278d3a?window['history'][_0x227f8e(0x1e7)]('','',_0x58db1c[_0x227f8e(0x18a)]()):window[_0x227f8e(0x256)][_0x227f8e(0x2cc)]('','',_0x58db1c[_0x227f8e(0x18a)]());}[_0x570a0a(0x299)](_0x54b9b4,_0x3dc677=!0x1){const _0x3ac895=_0x570a0a,_0x261166=new URL(window[_0x3ac895(0x2f8)][_0x3ac895(0x22f)]);_0x261166[_0x3ac895(0x2a5)][_0x3ac895(0x2ef)](_0x54b9b4),_0x3dc677?window[_0x3ac895(0x256)][_0x3ac895(0x1e7)]('','',_0x261166[_0x3ac895(0x18a)]()):window[_0x3ac895(0x256)][_0x3ac895(0x2cc)]('','',_0x261166[_0x3ac895(0x18a)]());}['getParam'](_0xcd719c){const _0x128b13=_0x570a0a;var _0x537505;return(_0x537505=new URL(window['location']['href'])[_0x128b13(0x2a5)]['get'](_0xcd719c))!=null?_0x537505:void 0x0;}}var _0x47e23b=Object[_0x570a0a(0x1a8)],_0x3c6e1e=Object['getOwnPropertyDescriptor'],_0x37c545=(_0x4d7f4e,_0x2ae4fb,_0x59b376)=>_0x2ae4fb in _0x4d7f4e?_0x47e23b(_0x4d7f4e,_0x2ae4fb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x59b376}):_0x4d7f4e[_0x2ae4fb]=_0x59b376,_0x18cc2a=(_0x1b3915,_0x109907,_0x47ca04,_0x220a79)=>{const _0x2c6d44=_0x570a0a;for(var _0x43467e=_0x220a79>0x1?void 0x0:_0x220a79?_0x3c6e1e(_0x109907,_0x47ca04):_0x109907,_0xcf7718=_0x1b3915[_0x2c6d44(0x19b)]-0x1,_0x2f64e2;_0xcf7718>=0x0;_0xcf7718--)(_0x2f64e2=_0x1b3915[_0xcf7718])&&(_0x43467e=_0x2f64e2(_0x43467e)||_0x43467e);return _0x43467e;},_0x56df96=(_0x3a4a95,_0x3f2932)=>(_0xc97401,_0x19c1e9)=>_0x3f2932(_0xc97401,_0x19c1e9,_0x3a4a95),_0x3261da=(_0x483fe4,_0xb69367,_0xd3b51)=>_0x37c545(_0x483fe4,_0xb69367+'',_0xd3b51);const _0x2a20b1='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x18b2e1[_0x570a0a(0x2b7)]=class extends _0x3b918f[_0x570a0a(0x1e0)]{constructor(_0x41e139=_0xfa4441,_0x4b04d,_0x1fd97e,_0xac5255){const _0x438bdf=_0x570a0a;super(),this[_0x438bdf(0x289)]=_0x41e139,this[_0x438bdf(0x417)]=_0x4b04d,this[_0x438bdf(0x29a)]=_0x1fd97e,this['_configService']=_0xac5255;const {..._0x453717}=_0x3b918f[_0x438bdf(0x177)]({},_0xfa4441,this[_0x438bdf(0x289)]);this['_configService'][_0x438bdf(0x2c8)](_0x1ae96c,_0x453717);}['onStarting'](){const _0x5a2444=_0x570a0a;this[_0x5a2444(0x433)](),this['_initDependencies']();}[_0x570a0a(0x2b8)](){const _0x5783d2=_0x570a0a;this[_0x5783d2(0x2d5)]();}[_0x570a0a(0x433)](){const _0x596bdf=_0x570a0a;var _0x1a2fae;const _0xce62bd=[[_0x54f644],[_0x2fcd10],[_0x347914],[_0x1c3057],[_0x58526c],[_0x52b980],[_0x4e3145,{'useClass':_0x1ce225}],[_0x23c85c['ISocketService'],{'useClass':_0x23c85c[_0x596bdf(0x2e1)]}],[_0x3abbb7[_0x596bdf(0x285)],{'useClass':_0x2e3f10}],[_0x18b2e1[_0x596bdf(0x194)]],[_0x150b3a],[_0x2aa69d],[_0x29c07f],[_0x5197dc],[_0x18b2e1['CollaborationDataLoaderController']]];this[_0x596bdf(0x289)][_0x596bdf(0x305)]&&_0xce62bd['push']([_0x647183]),_0x3b918f['registerDependencies'](this[_0x596bdf(0x29a)],_0x3b918f[_0x596bdf(0x23a)](_0xce62bd,(_0x1a2fae=this['_config'])==null?void 0x0:_0x1a2fae[_0x596bdf(0x2d7)]));}[_0x570a0a(0x2d5)](){const _0xd1a4f4=_0x570a0a;this[_0xd1a4f4(0x1e6)](this[_0xd1a4f4(0x417)]['registerRenderModule'](_0x3b918f[_0xd1a4f4(0x2dc)][_0xd1a4f4(0x18c)],[_0x25bdea])),this[_0xd1a4f4(0x1e6)](this[_0xd1a4f4(0x417)][_0xd1a4f4(0x3da)](_0x3b918f[_0xd1a4f4(0x2dc)][_0xd1a4f4(0x3cf)],[_0x18b223]));}[_0x570a0a(0x150)](){const _0x15db9c=_0x570a0a;_0x3b918f[_0x15db9c(0x404)](this[_0x15db9c(0x29a)],[[_0x29c07f],[_0x18b2e1[_0x15db9c(0x194)]],[_0x150b3a],[_0x2aa69d],[_0x18b2e1[_0x15db9c(0x219)]],[_0x2fcd10]]),this['_config'][_0x15db9c(0x305)]&&_0x3b918f[_0x15db9c(0x404)](this[_0x15db9c(0x29a)],[[_0x647183]]);}},_0x3261da(_0x18b2e1[_0x570a0a(0x2b7)],_0x570a0a(0x246),_0x2a20b1),_0x18b2e1[_0x570a0a(0x2b7)]=_0x18cc2a([_0x3b918f['DependentOn'](_0x3abbb7[_0x570a0a(0x166)]),_0x56df96(0x1,_0x468386[_0x570a0a(0x2e6)]),_0x56df96(0x2,_0x3b918f[_0x570a0a(0x3b6)](_0x3b918f[_0x570a0a(0x1b0)])),_0x56df96(0x3,_0x3b918f[_0x570a0a(0x217)])],_0x18b2e1[_0x570a0a(0x2b7)]);var _0x1c7aa6=Object[_0x570a0a(0x2bc)],_0x178e31=(_0x581dc7,_0x4be8a1,_0x22a10c,_0x286bb6)=>{const _0x883b1c=_0x570a0a;for(var _0x2e4024=_0x286bb6>0x1?void 0x0:_0x286bb6?_0x1c7aa6(_0x4be8a1,_0x22a10c):_0x4be8a1,_0x33924e=_0x581dc7[_0x883b1c(0x19b)]-0x1,_0x34d534;_0x33924e>=0x0;_0x33924e--)(_0x34d534=_0x581dc7[_0x33924e])&&(_0x2e4024=_0x34d534(_0x2e4024)||_0x2e4024);return _0x2e4024;},_0x4a135b=(_0x45d518,_0x549a73)=>(_0x3487d5,_0x1510c9)=>_0x549a73(_0x3487d5,_0x1510c9,_0x45d518);_0x18b2e1[_0x570a0a(0x16a)]=class extends _0x3abbb7['CollaborationSocketService']{constructor(_0xd3f44b,_0x331a0e,_0x236944,_0x7fa99e,_0x75eb91){super(_0xd3f44b,_0x331a0e,_0x236944,_0x7fa99e,_0x75eb91);}async[_0x570a0a(0x19c)](_0x548dc7){const _0x5c72ce=_0x570a0a,_0x198af7=await this['_getSessionTicket'](),_0x598e66=this[_0x5c72ce(0x2e7)](_0x548dc7,_0x198af7);return this[_0x5c72ce(0x326)](_0x598e66);}[_0x570a0a(0x2e7)](_0x57bc1f,_0x52236e){const _0x5da8d8=_0x570a0a,_0x2b3a94=typeof window>'u'?new URL(_0x57bc1f):new URL(_0x57bc1f,window[_0x5da8d8(0x2f8)][_0x5da8d8(0x3e1)]);_0x2b3a94[_0x5da8d8(0x2a5)]['set'](_0x5da8d8(0x188),_0x52236e);const _0xe5aafa=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5da8d8(0x2f8)][_0x5da8d8(0x250)]);return _0xe5aafa[_0x5da8d8(0x3ff)]('runId')&&_0x2b3a94[_0x5da8d8(0x2a5)][_0x5da8d8(0x184)](_0x5da8d8(0x410),_0xe5aafa[_0x5da8d8(0x3ff)](_0x5da8d8(0x410))),_0x2b3a94[_0x5da8d8(0x18a)]();}async[_0x570a0a(0x23d)](){const _0x448d96=_0x570a0a;var _0x2ab57f,_0x5d2e01,_0x4dcd3f;const _0x466db5=this[_0x448d96(0x175)]['getConfig'](_0x3abbb7[_0x448d96(0x1ca)]),_0x2a3306=(_0x2ab57f=_0x466db5==null?void 0x0:_0x466db5[_0x448d96(0x39d)])!=null?_0x2ab57f:_0x3abbb7[_0x448d96(0x2d3)];return(_0x4dcd3f=(_0x5d2e01=(await this['_httpService'][_0x448d96(0x3ff)](_0x2a3306,{'headers':{'Content-Type':_0x448d96(0x268)}}))[_0x448d96(0x2c2)])==null?void 0x0:_0x5d2e01[_0x448d96(0x2d0)])!=null?_0x4dcd3f:'';}},_0x18b2e1['BrowserCollaborationSocketService']=_0x178e31([_0x4a135b(0x0,_0x3b918f[_0x570a0a(0x3b6)](_0x3b918f[_0x570a0a(0x1b0)])),_0x4a135b(0x1,_0x3b918f[_0x570a0a(0x3b6)](_0x23c85c['HTTPService'])),_0x4a135b(0x2,_0x3b918f['IConfigService']),_0x4a135b(0x3,_0x3b918f[_0x570a0a(0x3b9)]),_0x4a135b(0x4,_0x4c59ab[_0x570a0a(0x1e2)])],_0x18b2e1[_0x570a0a(0x16a)]);var _0x60ada5=Object[_0x570a0a(0x2bc)],_0x496fa1=(_0xf37f6b,_0x397a08,_0x1f11e9,_0xb55470)=>{const _0x18403b=_0x570a0a;for(var _0x184db6=_0xb55470>0x1?void 0x0:_0xb55470?_0x60ada5(_0x397a08,_0x1f11e9):_0x397a08,_0x3559b2=_0xf37f6b[_0x18403b(0x19b)]-0x1,_0x5b7f09;_0x3559b2>=0x0;_0x3559b2--)(_0x5b7f09=_0xf37f6b[_0x3559b2])&&(_0x184db6=_0x5b7f09(_0x184db6)||_0x184db6);return _0x184db6;},_0x3f8526=(_0x1299aa,_0x100a70)=>(_0x5714f7,_0x21d780)=>_0x100a70(_0x5714f7,_0x21d780,_0x1299aa);_0x18b2e1[_0x570a0a(0x28b)]=class extends _0x3b918f[_0x570a0a(0x189)]{constructor(_0x22e1fd,_0x34ce01,_0x3df8a4){const _0x100468=_0x570a0a;super(),this['_instanceService']=_0x22e1fd,this[_0x100468(0x196)]=_0x34ce01,this[_0x100468(0x175)]=_0x3df8a4;}async[_0x570a0a(0x439)](_0x58b165,_0x2e7d39,_0x17027c,..._0x500e9a){const _0x1eeed2=_0x570a0a;var _0x41c762,_0x236013,_0x4195a0,_0x2320bd;const _0x18ffd4=this[_0x1eeed2(0x2c1)]['getFocusedUnit']();if(!_0x18ffd4)throw new Error(_0x1eeed2(0x1e3));const _0x30ec6e=((_0x41c762=this[_0x1eeed2(0x175)][_0x1eeed2(0x310)](_0x3abbb7[_0x1eeed2(0x174)]))!=null?_0x41c762:_0x3abbb7[_0x1eeed2(0x3d8)])+'/'+_0x58b165+_0x1eeed2(0x19f)+_0x2e7d39,_0x4d0517=new URL(window[_0x1eeed2(0x2f8)][_0x1eeed2(0x22f)]),_0x42326f={'scriptId':_0x58b165,'runId':(_0x236013=_0x4d0517['searchParams'][_0x1eeed2(0x3ff)](_0x1eeed2(0x410)))!=null?_0x236013:'','function':_0x2e7d39,'unitId':_0x18ffd4[_0x1eeed2(0x3fd)](),'argsOfFunction':JSON[_0x1eeed2(0x3fb)](_0x500e9a),'invokeId':(_0x4195a0=_0x17027c[_0x1eeed2(0x24b)])!=null?_0x4195a0:'','executionId':(_0x2320bd=_0x17027c[_0x1eeed2(0x355)])!=null?_0x2320bd:''};try{const _0xd76998=await this[_0x1eeed2(0x196)][_0x1eeed2(0x43a)](_0x30ec6e,{'body':_0x42326f});return _0xd76998[_0x1eeed2(0x2c2)][_0x1eeed2(0x331)]&&_0xd76998[_0x1eeed2(0x2c2)][_0x1eeed2(0x331)][_0x1eeed2(0x29d)]!==_0x21a466['OK']?_0x1eeed2(0x416):_0xd76998['body'][_0x1eeed2(0x14d)];}catch{return'Failed';}}},_0x18b2e1[_0x570a0a(0x28b)]=_0x496fa1([_0x3f8526(0x0,_0x3b918f[_0x570a0a(0x2f5)]),_0x3f8526(0x1,_0x3b918f['Inject'](_0x23c85c[_0x570a0a(0x407)])),_0x3f8526(0x2,_0x3b918f['IConfigService'])],_0x18b2e1[_0x570a0a(0x28b)]);const _0x1ba10a=0x7530,_0x578b99=_0x570a0a(0x162);class _0x2e4f93 extends _0x3b918f['Disposable']{constructor(){const _0x3a7cd8=_0x570a0a;super(),_0x3899df(this,'_id',_0x3b918f[_0x3a7cd8(0x315)]()),_0x3899df(this,'_selfUnitIDs',new Set()),_0x3899df(this,_0x3a7cd8(0x325),new Map()),_0x3899df(this,_0x3a7cd8(0x34f),null),_0x3899df(this,'_clearOtherTimers',new Map()),_0x3899df(this,_0x3a7cd8(0x1a6),new Map()),this[_0x3a7cd8(0x2a2)]();}[_0x570a0a(0x3e3)](){const _0xfb1db1=_0x570a0a;super['dispose'](),this['_clearOtherTimers']['forEach']((_0x35e697,_0x42bdd2)=>this['_removeClearOtherTimer'](_0x42bdd2)),this[_0xfb1db1(0x34f)]&&window[_0xfb1db1(0x2f4)](this[_0xfb1db1(0x34f)]);}[_0x570a0a(0x1d4)](_0x356e92){const _0x3fdcb1=_0x570a0a;return this[_0x3fdcb1(0x27d)](_0x356e92)[_0x3fdcb1(0x3b0)](_0x40a063[_0x3fdcb1(0x22b)]());}[_0x570a0a(0x272)](_0x245185){const _0x2022a2=_0x570a0a;this['_selfUnitIDs'][_0x2022a2(0x2c5)]===0x0&&this['_scheduleHeartbeat'](),this[_0x2022a2(0x229)][_0x2022a2(0x273)](_0x245185),this[_0x2022a2(0x19d)]({'type':0x0,'memberID':this[_0x2022a2(0x2b4)],'unitIDs':[_0x245185],'isForwarded':!0x1});}['disposeUnit'](_0x372de7){const _0xbc6f8b=_0x570a0a;this[_0xbc6f8b(0x229)][_0xbc6f8b(0x2ef)](_0x372de7),this['_selfUnitIDs'][_0xbc6f8b(0x2c5)]===0x0&&this['_heartbeatTimer']&&window[_0xbc6f8b(0x2f4)](this[_0xbc6f8b(0x34f)]);}['_init'](){const _0x225f80=_0x570a0a;this[_0x225f80(0x1e6)](_0x3b918f[_0x225f80(0x2e8)](_0x40a063['fromEvent'](window,_0x225f80(0x3a0))['subscribe'](_0x409aa0=>{const _0x5b8168=_0x225f80;if(_0x409aa0[_0x5b8168(0x412)]!==_0x578b99||!_0x409aa0['newValue'])return;const _0x9141b2=JSON[_0x5b8168(0x2a7)](_0x409aa0[_0x5b8168(0x415)]);this['_handleEvent'](_0x9141b2);}))),window[_0x225f80(0x1ba)]('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x225f80(0x2b4)],'unitIDs':Array[_0x225f80(0x3d2)](this[_0x225f80(0x229)])}));}[_0x570a0a(0x356)](_0xb8db57){const _0x3622b3=_0x570a0a;switch(_0xb8db57['type']){case 0x0:this['_handleJoinEvent'](_0xb8db57);break;case 0x1:this[_0x3622b3(0x400)](_0xb8db57);break;case 0x2:this[_0x3622b3(0x23b)](_0xb8db57);break;}}['_handleJoinEvent'](_0x467014){const _0x345f7c=_0x570a0a,{unitIDs:_0x2ce687,memberID:_0x58e9aa,isForwarded:_0x56a303}=_0x467014;_0x2ce687[_0x345f7c(0x2cd)](_0x393150=>{const _0x3978d3=_0x345f7c;if(!_0x56a303&&this['_unitOnClients'][_0x3978d3(0x3dc)](_0x393150)&&this[_0x3978d3(0x27d)](_0x393150)[_0x3978d3(0x3c8)](_0x3abbb7[_0x3978d3(0x40e)][_0x3978d3(0x2b0)]),!this[_0x3978d3(0x325)]['has'](_0x393150)||!this['_unitOnClients']['get'](_0x393150)['has'](_0x58e9aa)){const _0x261cd5=this['_unitOnClients']['get'](_0x393150)||new Set();_0x261cd5[_0x3978d3(0x273)](_0x58e9aa),this[_0x3978d3(0x325)][_0x3978d3(0x184)](_0x393150,_0x261cd5),this['_scheduleClearOtherTimer'](_0x58e9aa);}}),_0x56a303||this[_0x345f7c(0x19d)]({'type':0x0,'memberID':this[_0x345f7c(0x2b4)],'unitIDs':[...this[_0x345f7c(0x229)]],'isForwarded':!0x0});}[_0x570a0a(0x35a)](_0x5abcfe){const _0x465238=_0x570a0a;this['_removeClearOtherTimer'](_0x5abcfe);const _0x63b8c5=window[_0x465238(0x265)](()=>{const _0x342063=_0x465238;this[_0x342063(0x325)][_0x342063(0x2cd)](_0x4885d7=>{_0x4885d7['delete'](_0x5abcfe);});},_0x1ba10a*0x2);this[_0x465238(0x3bc)]['set'](_0x5abcfe,_0x63b8c5);}[_0x570a0a(0x247)](_0x1d8fb6){const _0x35d8a2=_0x570a0a;if(this[_0x35d8a2(0x3bc)][_0x35d8a2(0x3dc)](_0x1d8fb6)){const _0x4602d1=this['_clearOtherTimers'][_0x35d8a2(0x3ff)](_0x1d8fb6);_0x4602d1&&window[_0x35d8a2(0x1e5)](_0x4602d1),this['_clearOtherTimers'][_0x35d8a2(0x184)](_0x1d8fb6,null);}}[_0x570a0a(0x400)](_0x181f81){const _0x3656e3=_0x570a0a,{memberID:_0x5930ed,unitIDs:_0x263d1a}=_0x181f81;_0x263d1a[_0x3656e3(0x2cd)](_0x5019a2=>{const _0x39a029=_0x3656e3;var _0x3b0a03;const _0x59ccc1=this[_0x39a029(0x325)]['get'](_0x5019a2);_0x59ccc1&&(_0x59ccc1[_0x39a029(0x2ef)](_0x5930ed),(_0x3b0a03=this[_0x39a029(0x27d)](_0x5019a2))==null||_0x3b0a03['next'](_0x59ccc1[_0x39a029(0x2c5)]===0x0?_0x3abbb7[_0x39a029(0x40e)][_0x39a029(0x1a4)]:_0x3abbb7[_0x39a029(0x40e)]['OTHER_CLIENTS_EDITING']));}),this[_0x3656e3(0x247)](_0x5930ed);}[_0x570a0a(0x23b)](_0x1b87a5){const _0x3db661=_0x570a0a;this[_0x3db661(0x35a)](_0x1b87a5[_0x3db661(0x1ef)]);}[_0x570a0a(0x19d)](_0x6abfff){const _0x5d51d4=_0x570a0a;localStorage[_0x5d51d4(0x446)](_0x578b99,JSON[_0x5d51d4(0x3fb)](_0x6abfff));}['_scheduleHeartbeat'](){const _0xcee5f4=_0x570a0a;this[_0xcee5f4(0x34f)]=window[_0xcee5f4(0x244)](()=>{const _0x43044a=_0xcee5f4;this[_0x43044a(0x19d)]({'type':0x2,'memberID':this[_0x43044a(0x2b4)]});},_0x1ba10a);}['_ensureSubject'](_0x133682){const _0x21ad33=_0x570a0a;return this[_0x21ad33(0x1a6)]['has'](_0x133682)||this[_0x21ad33(0x1a6)]['set'](_0x133682,new _0x40a063[(_0x21ad33(0x2e3))](_0x3abbb7[_0x21ad33(0x40e)][_0x21ad33(0x1a4)])),this[_0x21ad33(0x1a6)][_0x21ad33(0x3ff)](_0x133682);}}_0x18b2e1[_0x570a0a(0x290)]=_0x4e3145,_0x18b2e1[_0x570a0a(0x373)]=_0x49ca57,_0x18b2e1[_0x570a0a(0x28c)]=_0x2e4f93,_0x18b2e1[_0x570a0a(0x419)]=_0x1ce225,Object[_0x570a0a(0x1a8)](_0x18b2e1,Symbol[_0x570a0a(0x282)],{'value':_0x570a0a(0x2dd)});}));
1
+ (function(_0x22d96f,_0xda930b){const _0x2d0820=_0x3bdd,_0xe8d65=_0x22d96f();while(!![]){try{const _0x4e6471=-parseInt(_0x2d0820(0x2c1))/0x1+-parseInt(_0x2d0820(0x265))/0x2*(-parseInt(_0x2d0820(0x292))/0x3)+parseInt(_0x2d0820(0x386))/0x4+-parseInt(_0x2d0820(0x46a))/0x5+parseInt(_0x2d0820(0x319))/0x6+-parseInt(_0x2d0820(0x337))/0x7+parseInt(_0x2d0820(0x266))/0x8*(parseInt(_0x2d0820(0x28a))/0x9);if(_0x4e6471===_0xda930b)break;else _0xe8d65['push'](_0xe8d65['shift']());}catch(_0x2a8ad3){_0xe8d65['push'](_0xe8d65['shift']());}}}(_0x5828,0x840ee),function(_0x122f84,_0x14a7e2){const _0x44d958=_0x3bdd;typeof exports=='object'&&typeof module<'u'?_0x14a7e2(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x44d958(0x2f5)&&define['amd']?define([_0x44d958(0x37a),_0x44d958(0x3eb),'@univerjs-pro/collaboration-client',_0x44d958(0x3d3),_0x44d958(0x2f3),'rxjs',_0x44d958(0x276),_0x44d958(0x1e3),_0x44d958(0x38a),_0x44d958(0x4c4),_0x44d958(0x4af),_0x44d958(0x457),_0x44d958(0x3ab),_0x44d958(0x44b),_0x44d958(0x3cb),'@univerjs/docs',_0x44d958(0x4c1),_0x44d958(0x455),_0x44d958(0x4b8)],_0x14a7e2):(_0x122f84=typeof globalThis<'u'?globalThis:_0x122f84||self,_0x14a7e2(_0x122f84[_0x44d958(0x44e)]={},_0x122f84['React'],_0x122f84['UniverProCollaborationClient'],_0x122f84[_0x44d958(0x444)],_0x122f84[_0x44d958(0x376)],_0x122f84[_0x44d958(0x258)],_0x122f84['UniverDesign'],_0x122f84[_0x44d958(0x450)],_0x122f84[_0x44d958(0x438)],_0x122f84['UniverSheets'],_0x122f84['UniverEngineRender'],_0x122f84['UniverNetwork'],_0x122f84[_0x44d958(0x2f4)],_0x122f84['UniverDrawing'],_0x122f84[_0x44d958(0x294)],_0x122f84['UniverDocs'],_0x122f84['UniverEngineFormula'],_0x122f84['rxjs'][_0x44d958(0x22b)],_0x122f84[_0x44d958(0x442)]));}(this,function(_0x260b02,_0x1f35d7,_0x3a923d,_0x112654,_0x282264,_0x2d6ce3,_0x13b14c,_0x55e811,_0x2d5d06,_0x193af4,_0x51f1a5,_0x9da3dd,_0x18e83e,_0xa7fd34,_0x61be75,_0x4ec653,_0x383adb,_0x297365,_0x3c07b8){'use strict';const _0x22c93f=_0x3bdd;var _0x36dc04=Object[_0x22c93f(0x293)],_0x51c24f=(_0x15045f,_0x268a3a,_0x47b0bc)=>_0x268a3a in _0x15045f?_0x36dc04(_0x15045f,_0x268a3a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x47b0bc}):_0x15045f[_0x268a3a]=_0x47b0bc,_0x296e20=(_0x2696eb,_0x27b3f0,_0x5a5d2d)=>_0x51c24f(_0x2696eb,typeof _0x27b3f0!=_0x22c93f(0x390)?_0x27b3f0+'':_0x27b3f0,_0x5a5d2d);function _0x668b46({ref:_0x589f42,..._0x781fc9}){const _0x4e3fe8=_0x22c93f,{icon:_0x491413,id:_0x50496f,className:_0x27edc4,extend:_0x33de07,..._0x800719}=_0x781fc9,_0x2db31b=(_0x4e3fe8(0x36a)+_0x50496f+'\x20'+(_0x27edc4||''))[_0x4e3fe8(0x2c2)](),_0x530509=_0x55e811[_0x4e3fe8(0x1d9)]('_'+_0x55d7e5());return _0x283403(_0x491413,''+_0x50496f,{'defIds':_0x491413['defIds'],'idSuffix':_0x530509[_0x4e3fe8(0x316)]},{'ref':_0x589f42,'className':_0x2db31b,..._0x800719},_0x33de07);}function _0x283403(_0x2bb2fa,_0x17f1ea,_0x2a19b0,_0x59d303,_0x33814a){const _0x26e35c=_0x22c93f;return _0x55e811[_0x26e35c(0x3e9)](_0x2bb2fa[_0x26e35c(0x354)],{'key':_0x17f1ea,..._0x11d950(_0x2bb2fa,_0x2a19b0,_0x33814a),..._0x59d303},(_0x3c111e(_0x2bb2fa,_0x2a19b0)[_0x26e35c(0x341)]||[])['map']((_0x144e3a,_0x46c370)=>_0x283403(_0x144e3a,_0x17f1ea+'-'+_0x2bb2fa[_0x26e35c(0x354)]+'-'+_0x46c370,_0x2a19b0,void 0x0,_0x33814a)));}function _0x11d950(_0x40df36,_0x196107,_0x5da550){const _0x4e11b4=_0x22c93f,_0x441b89={..._0x40df36[_0x4e11b4(0x485)]};_0x5da550!=null&&_0x5da550[_0x4e11b4(0x23e)]&&_0x441b89[_0x4e11b4(0x45e)]===_0x4e11b4(0x23e)&&(_0x441b89[_0x4e11b4(0x45e)]=_0x5da550[_0x4e11b4(0x23e)]),_0x40df36['tag']===_0x4e11b4(0x409)&&_0x441b89['id']&&(_0x441b89['id']=_0x441b89['id']+_0x196107[_0x4e11b4(0x465)]),Object[_0x4e11b4(0x3d2)](_0x441b89)[_0x4e11b4(0x22a)](([_0x1fae1c,_0x1b9a9e])=>{const _0x228812=_0x4e11b4;_0x1fae1c===_0x228812(0x409)&&typeof _0x1b9a9e==_0x228812(0x391)&&(_0x441b89[_0x1fae1c]=_0x1b9a9e['replace'](/url\(#(.*)\)/,_0x228812(0x2ac)+_0x196107['idSuffix']+')'));});const {defIds:_0x2a1ea8}=_0x196107;return!_0x2a1ea8||_0x2a1ea8[_0x4e11b4(0x1e1)]===0x0||(_0x40df36[_0x4e11b4(0x354)]===_0x4e11b4(0x2a6)&&_0x441b89[_0x4e11b4(0x3b7)]&&(_0x441b89[_0x4e11b4(0x3b7)]=_0x441b89[_0x4e11b4(0x3b7)]+_0x196107[_0x4e11b4(0x465)]),Object[_0x4e11b4(0x3d2)](_0x441b89)[_0x4e11b4(0x22a)](([_0x23e1df,_0xaf82cf])=>{const _0x4726ac=_0x4e11b4;typeof _0xaf82cf==_0x4726ac(0x391)&&(_0x441b89[_0x23e1df]=_0xaf82cf[_0x4726ac(0x3e0)](/url\(#(.*)\)/,'url(#$1'+_0x196107['idSuffix']+')'));})),_0x441b89;}function _0x3c111e(_0x4a6103,_0x1da73e){const _0x52cf12=_0x22c93f;var _0x3531a6;const {defIds:_0x5cbe3e}=_0x1da73e;return!_0x5cbe3e||_0x5cbe3e[_0x52cf12(0x1e1)]===0x0?_0x4a6103:_0x4a6103[_0x52cf12(0x354)]===_0x52cf12(0x3a6)&&((_0x3531a6=_0x4a6103['children'])!=null&&_0x3531a6[_0x52cf12(0x1e1)])?{..._0x4a6103,'children':_0x4a6103[_0x52cf12(0x341)][_0x52cf12(0x40a)](_0x3bef94=>typeof _0x3bef94[_0x52cf12(0x485)]['id']==_0x52cf12(0x391)&&_0x5cbe3e&&_0x5cbe3e[_0x52cf12(0x349)](_0x3bef94[_0x52cf12(0x485)]['id'])?{..._0x3bef94,'attrs':{..._0x3bef94['attrs'],'id':_0x3bef94[_0x52cf12(0x485)]['id']+_0x1da73e[_0x52cf12(0x465)]}}:_0x3bef94)}:_0x4a6103;}function _0x55d7e5(){const _0x3f2f60=_0x22c93f;return Math[_0x3f2f60(0x24e)]()['toString'](0x24)[_0x3f2f60(0x312)](0x2,0x8);}_0x668b46[_0x22c93f(0x3d0)]=_0x22c93f(0x486);const _0x3234fe={'tag':_0x22c93f(0x403),'attrs':{'xmlns':_0x22c93f(0x2ad),'fill':_0x22c93f(0x2c0),'viewBox':_0x22c93f(0x2ec),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x22c93f(0x260)},'children':[{'tag':_0x22c93f(0x38b),'attrs':{'stroke':_0x22c93f(0x33e),'d':_0x22c93f(0x227),'strokeLinecap':_0x22c93f(0x3c4),'strokeLinejoin':_0x22c93f(0x3c4),'strokeWidth':1.2}}]},{'tag':_0x22c93f(0x3a6),'attrs':{},'children':[{'tag':_0x22c93f(0x1e4),'attrs':{'id':_0x22c93f(0x340)},'children':[{'tag':_0x22c93f(0x38b),'attrs':{'fill':_0x22c93f(0x1ee),'d':_0x22c93f(0x1fe)}}]}]}],'defIds':[_0x22c93f(0x340)]},_0x47650d=_0x55e811[_0x22c93f(0x449)](function(_0x4f6a8c,_0x28a0c6){const _0x58d383=_0x22c93f;return _0x55e811[_0x58d383(0x3e9)](_0x668b46,Object[_0x58d383(0x460)]({},_0x4f6a8c,{'id':_0x58d383(0x2cb),'ref':_0x28a0c6,'icon':_0x3234fe}));});_0x47650d[_0x22c93f(0x3d0)]='OffLineIcon';const _0x24d8f9={'tag':_0x22c93f(0x403),'attrs':{'xmlns':_0x22c93f(0x2ad),'fill':_0x22c93f(0x2c0),'viewBox':_0x22c93f(0x2c6),'width':_0x22c93f(0x3c5),'height':_0x22c93f(0x3c5)},'children':[{'tag':'g','attrs':{'clipPath':_0x22c93f(0x43e)},'children':[{'tag':_0x22c93f(0x38b),'attrs':{'stroke':_0x22c93f(0x33e),'d':_0x22c93f(0x471),'strokeLinecap':_0x22c93f(0x3c4),'strokeLinejoin':_0x22c93f(0x3c4),'strokeWidth':1.2}}]},{'tag':_0x22c93f(0x3a6),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x22c93f(0x38b),'attrs':{'fill':_0x22c93f(0x1ee),'d':_0x22c93f(0x1fe),'transform':'translate(.97)'}}]}]}],'defIds':[_0x22c93f(0x483)]},_0x19de69=_0x55e811['forwardRef'](function(_0x39dd57,_0x1105a8){const _0x5efdf3=_0x22c93f;return _0x55e811[_0x5efdf3(0x3e9)](_0x668b46,Object[_0x5efdf3(0x460)]({},_0x39dd57,{'id':_0x5efdf3(0x296),'ref':_0x1105a8,'icon':_0x24d8f9}));});_0x19de69[_0x22c93f(0x3d0)]=_0x22c93f(0x362);function _0x9b9eeb(_0x575e24){const _0x405b84=_0x22c93f;switch(_0x575e24){case _0x3a923d['CollaborationStatus'][_0x405b84(0x26b)]:return _0x405b84(0x277);case _0x3a923d[_0x405b84(0x3ec)][_0x405b84(0x492)]:return _0x405b84(0x2e0);case _0x3a923d[_0x405b84(0x3ec)][_0x405b84(0x2a0)]:return _0x405b84(0x2be);case _0x3a923d['CollaborationStatus']['NOT_COLLAB']:return _0x405b84(0x278);case _0x3a923d['CollaborationStatus']['AWAITING']:case _0x3a923d[_0x405b84(0x3ec)][_0x405b84(0x1d7)]:return _0x405b84(0x23b);case _0x3a923d[_0x405b84(0x3ec)][_0x405b84(0x49f)]:case _0x3a923d[_0x405b84(0x3ec)][_0x405b84(0x224)]:return _0x405b84(0x262);}}function _0x1333e0(_0x49f8e3){const _0x196b03=_0x22c93f,{status$:_0x545d4e}=_0x49f8e3,_0x4a3028=_0x282264['useObservable'](_0x545d4e,_0x3a923d[_0x196b03(0x3ec)][_0x196b03(0x49e)]),_0x56718f=_0x282264[_0x196b03(0x3cf)](_0x112654['LocaleService']),_0x866cd0=_0x282264['useDependency'](_0x3a923d[_0x196b03(0x491)]),_0x4a5fa0=_0x4a3028!==_0x3a923d[_0x196b03(0x3ec)][_0x196b03(0x26b)],_0x140539=_0x56718f['t'](_0x9b9eeb(_0x4a3028)),_0x198911=_0x4a5fa0?_0x1f35d7['jsx'](_0x19de69,{}):_0x1f35d7[_0x196b03(0x275)](_0x47650d,{}),_0x3c9ee7=_0x55e811[_0x196b03(0x33c)](()=>{_0x4a5fa0||_0x866cd0['reconnect']();},[_0x4a5fa0,_0x866cd0]);function _0x312509(){const _0x16e2ab=_0x196b03;return _0x1f35d7['jsxs'](_0x16e2ab(0x33a),{'className':_0x16e2ab(0x466),'onClick':_0x3c9ee7,'children':[_0x1f35d7[_0x16e2ab(0x275)](_0x16e2ab(0x33a),{'className':_0x13b14c[_0x16e2ab(0x3f4)](_0x16e2ab(0x263),{'univer-text-green-500':_0x4a5fa0,'univer-text-red-500':!_0x4a5fa0}),'children':_0x198911}),_0x1f35d7[_0x16e2ab(0x275)]('div',{'className':_0x16e2ab(0x200),'children':_0x140539})]});}return _0x4a5fa0?_0x312509():_0x1f35d7[_0x196b03(0x275)](_0x13b14c[_0x196b03(0x4a2)],{'title':_0x56718f['t'](_0x196b03(0x3b3)),'children':_0x312509()});}var _0x1f2793=Object[_0x22c93f(0x215)],_0x2687d9=(_0x312dbe,_0x206a26,_0x2eb520,_0xe51b6e)=>{for(var _0x4ac11e=_0xe51b6e>0x1?void 0x0:_0xe51b6e?_0x1f2793(_0x206a26,_0x2eb520):_0x206a26,_0x51235c=_0x312dbe['length']-0x1,_0x117483;_0x51235c>=0x0;_0x51235c--)(_0x117483=_0x312dbe[_0x51235c])&&(_0x4ac11e=_0x117483(_0x4ac11e)||_0x4ac11e);return _0x4ac11e;},_0x2bcecd=(_0x5ec599,_0x8ed894)=>(_0x5cc644,_0x262bd2)=>_0x8ed894(_0x5cc644,_0x262bd2,_0x5ec599);_0x260b02[_0x22c93f(0x480)]=class extends _0x112654[_0x22c93f(0x4b7)]{constructor(_0x1eccdf,_0x39aa5e,_0x17cf72,_0x5da73e){const _0x4a3ef3=_0x22c93f;super(),_0x296e20(this,'_status$',new _0x2d6ce3[(_0x4a3ef3(0x3e2))](_0x3a923d['CollaborationStatus'][_0x4a3ef3(0x49e)])),(this[_0x4a3ef3(0x244)]=_0x1eccdf,this['_injector']=_0x39aa5e,this['_collaborationController']=_0x17cf72,this[_0x4a3ef3(0x302)]=_0x5da73e,this[_0x4a3ef3(0x2ff)](),this[_0x4a3ef3(0x257)]());}[_0x22c93f(0x257)](){const _0x170f4c=_0x22c93f;this[_0x170f4c(0x378)](this[_0x170f4c(0x244)]['focused$']['pipe'](_0x2d6ce3[_0x170f4c(0x397)](()=>{const _0x3efb46=_0x170f4c,_0x254841=this[_0x3efb46(0x244)]['getFocusedUnit']();return _0x254841?this[_0x3efb46(0x252)][_0x3efb46(0x221)](_0x254841['getUnitId']()):_0x2d6ce3['of'](null);}),_0x2d6ce3['switchMap'](_0x4369c2=>_0x4369c2?_0x4369c2[_0x170f4c(0x3b2)]:_0x2d6ce3['of'](_0x3a923d[_0x170f4c(0x3ec)][_0x170f4c(0x49e)])))['subscribe'](_0x5b3aeb=>{const _0x23e1a0=_0x170f4c;this['_status$'][_0x23e1a0(0x270)](_0x5b3aeb);}));}[_0x22c93f(0x2ff)](){const _0x3587cb=_0x22c93f;this['disposeWithMe'](this[_0x3587cb(0x302)][_0x3587cb(0x2f8)](_0x282264[_0x3587cb(0x338)][_0x3587cb(0x32a)],()=>_0x282264[_0x3587cb(0x24c)](_0x148fde({'status$':this['_status$'][_0x3587cb(0x3e6)]()}),this['_injector'])));}},_0x260b02[_0x22c93f(0x480)]=_0x2687d9([_0x2bcecd(0x0,_0x112654[_0x22c93f(0x256)]),_0x2bcecd(0x1,_0x112654['Inject'](_0x112654['Injector'])),_0x2bcecd(0x2,_0x112654[_0x22c93f(0x271)](_0x3a923d['CollaborationController'])),_0x2bcecd(0x3,_0x282264[_0x22c93f(0x2c5)])],_0x260b02[_0x22c93f(0x480)]);function _0x148fde(_0x3ca344){const {status$:_0x134f37}=_0x3ca344;return function(){const _0x3aff0b=_0x3bdd;return _0x1f35d7[_0x3aff0b(0x275)](_0x1333e0,{'status$':_0x134f37});};}const _0x48ea33=_0x112654['createIdentifier']('uni.network.url-service');var _0x4d0810=Object[_0x22c93f(0x215)],_0x4a4106=(_0x4a935b,_0x303bcb,_0x4f7008,_0x596c17)=>{for(var _0x5a79a3=_0x596c17>0x1?void 0x0:_0x596c17?_0x4d0810(_0x303bcb,_0x4f7008):_0x303bcb,_0x415cc2=_0x4a935b['length']-0x1,_0x5523e7;_0x415cc2>=0x0;_0x415cc2--)(_0x5523e7=_0x4a935b[_0x415cc2])&&(_0x5a79a3=_0x5523e7(_0x5a79a3)||_0x5a79a3);return _0x5a79a3;},_0xde696c=(_0x4e85bd,_0x179e7d)=>(_0x250962,_0x462ef1)=>_0x179e7d(_0x250962,_0x462ef1,_0x4e85bd);_0x260b02[_0x22c93f(0x425)]=class extends _0x112654['RxDisposable']{constructor(_0x565c7d,_0x1681b0,_0x56a350,_0x4c07a2,_0x5831ed){const _0x3c0cdb=_0x22c93f;super(),this[_0x3c0cdb(0x2e7)]=_0x565c7d,this[_0x3c0cdb(0x415)]=_0x1681b0,this[_0x3c0cdb(0x462)]=_0x56a350,this[_0x3c0cdb(0x3b0)]=_0x4c07a2,_0x5831ed?_0x5831ed==null||_0x5831ed['whenReady']()[_0x3c0cdb(0x2d8)](()=>this['_init']()):(this[_0x3c0cdb(0x415)][_0x3c0cdb(0x2b8)](_0x3c0cdb(0x451),_0x3c0cdb(0x220)),this[_0x3c0cdb(0x24f)]());}async[_0x22c93f(0x24f)](){const _0x72b63c=_0x22c93f,_0x383377=this[_0x72b63c(0x2e7)]['getParam'](_0x72b63c(0x30e)),_0x32b3bb=this[_0x72b63c(0x2e7)]['getParam'](_0x72b63c(0x38c)),_0x39c67f=this[_0x72b63c(0x2e7)][_0x72b63c(0x383)](_0x72b63c(0x447));if(!_0x383377||!_0x32b3bb){this[_0x72b63c(0x415)]['debug'](_0x72b63c(0x451),_0x72b63c(0x464));return;}const _0x20bb8d=await this[_0x72b63c(0x3b0)][_0x72b63c(0x3de)](_0x383377,Number(_0x32b3bb),_0x39c67f);_0x20bb8d&&_0x20bb8d instanceof _0x112654[_0x72b63c(0x430)]&&this[_0x72b63c(0x2fa)](_0x20bb8d);}async[_0x22c93f(0x2fa)](_0x3cfd73){const _0x52c6c6=_0x22c93f;await this['_updateSubUnitFromURLParams'](_0x3cfd73),_0x3cfd73[_0x52c6c6(0x40f)][_0x52c6c6(0x394)](_0x2d6ce3[_0x52c6c6(0x3a9)](this[_0x52c6c6(0x27f)]))[_0x52c6c6(0x38f)](_0x17c4a8=>{const _0x1bf248=_0x52c6c6;_0x17c4a8&&this[_0x1bf248(0x4b2)](_0x17c4a8);}),this[_0x52c6c6(0x2e7)][_0x52c6c6(0x42a)][_0x52c6c6(0x394)](_0x2d6ce3[_0x52c6c6(0x3a9)](this[_0x52c6c6(0x27f)]))[_0x52c6c6(0x38f)](()=>this[_0x52c6c6(0x1ed)](_0x3cfd73));}[_0x22c93f(0x4b2)](_0x270b51,_0x583d0b=!0x1){const _0x500946=_0x22c93f,_0x1f4873=this['_urlService'][_0x500946(0x383)]('subunit');_0x270b51[_0x500946(0x245)]()!==_0x1f4873&&this[_0x500946(0x2e7)]['setParam'](_0x500946(0x447),_0x270b51[_0x500946(0x245)](),_0x583d0b);}async[_0x22c93f(0x1ed)](_0x2084ca){const _0x1e07f1=_0x22c93f;var _0x1406a8;const _0x577fda=this[_0x1e07f1(0x2e7)][_0x1e07f1(0x383)](_0x1e07f1(0x447));if(!_0x577fda||!_0x2084ca[_0x1e07f1(0x45d)](_0x577fda)){const _0x122b71=_0x2084ca[_0x1e07f1(0x3f5)]()[0x0],_0x10328d=_0x2084ca[_0x1e07f1(0x45d)](_0x122b71);if(!_0x10328d)return;this[_0x1e07f1(0x4b2)](_0x10328d,!0x0),await this[_0x1e07f1(0x462)]['executeCommand'](_0x193af4['SetWorksheetActivateCommand']['id'],{'unitId':_0x2084ca[_0x1e07f1(0x203)](),'subUnitId':_0x122b71});return;}((_0x1406a8=_0x2084ca[_0x1e07f1(0x2cf)]())==null?void 0x0:_0x1406a8[_0x1e07f1(0x245)]())!==_0x577fda&&await this['_commandService']['executeCommand'](_0x193af4[_0x1e07f1(0x39e)]['id'],{'unitId':_0x2084ca['getUnitId'](),'subUnitId':_0x577fda});}},_0x260b02[_0x22c93f(0x425)]=_0x4a4106([_0xde696c(0x0,_0x48ea33),_0xde696c(0x1,_0x112654[_0x22c93f(0x24d)]),_0xde696c(0x2,_0x112654[_0x22c93f(0x31c)]),_0xde696c(0x3,_0x112654[_0x22c93f(0x271)](_0x3a923d[_0x22c93f(0x38d)])),_0xde696c(0x4,_0x112654[_0x22c93f(0x419)](_0x2d5d06[_0x22c93f(0x3fd)]))],_0x260b02[_0x22c93f(0x425)]);var _0x44da32=Object[_0x22c93f(0x215)],_0x2f758e=(_0x3ddd27,_0x274eeb,_0x560b41,_0x46d31f)=>{const _0x20f03b=_0x22c93f;for(var _0x5b3418=_0x46d31f>0x1?void 0x0:_0x46d31f?_0x44da32(_0x274eeb,_0x560b41):_0x274eeb,_0x33e8d2=_0x3ddd27[_0x20f03b(0x1e1)]-0x1,_0x4f4d71;_0x33e8d2>=0x0;_0x33e8d2--)(_0x4f4d71=_0x3ddd27[_0x33e8d2])&&(_0x5b3418=_0x4f4d71(_0x5b3418)||_0x5b3418);return _0x5b3418;},_0x2e99c4=(_0x5260af,_0x31f916)=>(_0x4c2c86,_0x1cb003)=>_0x31f916(_0x4c2c86,_0x1cb003,_0x5260af);let _0x3902af=class extends _0x112654['RxDisposable']{constructor(_0x55cc35,_0x7544ab){const _0x236fd2=_0x22c93f;super(),this[_0x236fd2(0x440)]=_0x55cc35,this[_0x236fd2(0x3d8)]=_0x7544ab,this[_0x236fd2(0x24f)]();}[_0x22c93f(0x24f)](){const _0x9ba019=_0x22c93f,_0x496db6=this;this[_0x9ba019(0x378)](this[_0x9ba019(0x440)]['addClipboardHook']({'onBeforePasteImage':async _0x47e054=>{const _0x37ec06=_0x9ba019,_0x348ade=await _0x496db6['_imageIoService'][_0x37ec06(0x1e9)](_0x47e054);return _0x348ade?{'source':_0x348ade['source'],'imageSourceType':_0x348ade[_0x37ec06(0x3db)]}:null;}}));}};_0x3902af=_0x2f758e([_0x2e99c4(0x0,_0x18e83e[_0x22c93f(0x291)]),_0x2e99c4(0x1,_0xa7fd34[_0x22c93f(0x248)])],_0x3902af);const _0x35700c=[_0x22c93f(0x410),_0x22c93f(0x336),'green.600',_0x22c93f(0x29d),'blue.400',_0x22c93f(0x4a9)];class _0x104cc4 extends _0x112654[_0x22c93f(0x4b7)]{constructor(){const _0x15c37f=_0x22c93f;super(...arguments),_0x296e20(this,_0x15c37f(0x21a),new Map()),_0x296e20(this,'_colorIndex',0x0);}[_0x22c93f(0x2ba)](_0x5122da){const _0x20b8c2=_0x22c93f;if(this['_assignedColors']['has'](_0x5122da))return this[_0x20b8c2(0x21a)]['get'](_0x5122da);const _0x382df9=_0x35700c[this[_0x20b8c2(0x2a2)]];return this[_0x20b8c2(0x2a2)]=(this['_colorIndex']+0x1)%_0x35700c[_0x20b8c2(0x1e1)],this[_0x20b8c2(0x21a)][_0x20b8c2(0x342)](_0x5122da,_0x382df9),_0x382df9;}}function _0x18dd7f(_0x4138cf){const _0xe034ed=_0x22c93f;let _0x5a945a='';for(const _0x1652bd of _0x4138cf){const {startOffset:_0x5550bf,endOffset:_0x76e2a,isActive:_0x30347b,rangeType:_0x2b7cd5,segmentId:_0xabd179,segmentPage:_0x15f0e4}=_0x1652bd;_0x5a945a[_0xe034ed(0x1e1)]&&(_0x5a945a+=','),_0x5a945a+=_0x5550bf+':'+_0x76e2a+':'+(_0x30347b?'1':'0')+':'+_0x2b7cd5+':'+_0xabd179+':'+_0x15f0e4;}return _0x5a945a;}function _0x3b5dbf(_0x201e45){const _0x24c4af=_0x22c93f,_0x3ce618=_0x201e45[_0x24c4af(0x2fd)](','),_0x1e086b=[];for(const _0x4ad688 of _0x3ce618){const [_0x5c1f4e,_0x115937,_0x155259,_0x1a5daf,_0x2daeb9,_0x3f8bf6]=_0x4ad688[_0x24c4af(0x2fd)](':');_0x1e086b[_0x24c4af(0x28f)]({'startOffset':Number(_0x5c1f4e),'endOffset':Number(_0x115937),'collapsed':_0x5c1f4e===_0x115937,'isActive':_0x155259==='1','rangeType':_0x1a5daf===_0x112654['DOC_RANGE_TYPE'][_0x24c4af(0x487)]?_0x112654['DOC_RANGE_TYPE'][_0x24c4af(0x487)]:_0x112654['DOC_RANGE_TYPE'][_0x24c4af(0x1e7)],'segmentId':typeof _0x2daeb9==_0x24c4af(0x391)?String(_0x2daeb9):'','segmentPage':Number(_0x3f8bf6!=null?_0x3f8bf6:-0x1)});}return _0x1e086b[_0x24c4af(0x3c2)](_0x1bda9a=>_0x1bda9a[_0x24c4af(0x411)])||(_0x1e086b[0x0]['isActive']=!0x0),_0x1e086b;}class _0x2783c1 extends _0x112654[_0x22c93f(0x3f1)]{constructor(){const _0x14924d=_0x22c93f;super(...arguments),_0x296e20(this,'_collabCursorState$',new _0x2d6ce3[(_0x14924d(0x3e2))](null)),_0x296e20(this,_0x14924d(0x498),this[_0x14924d(0x41a)][_0x14924d(0x3e6)]());}[_0x22c93f(0x29a)](_0x385adf){const _0x342d75=_0x22c93f,{unitID:_0x4f7199,memberID:_0x3ae487,textRanges:_0x101446}=_0x385adf,_0x1c9555=_0x18dd7f(_0x101446);if(_0x1c9555==='')return;const _0x47626f={'unitID':_0x4f7199,'memberID':_0x3ae487,'selection':_0x1c9555};this[_0x342d75(0x41a)][_0x342d75(0x270)](_0x47626f);}}var _0x594bb4=Object[_0x22c93f(0x215)],_0x56cd85=(_0x59e8cd,_0x5d035e,_0x1b588e,_0x14230f)=>{const _0x340704=_0x22c93f;for(var _0x3493f2=_0x14230f>0x1?void 0x0:_0x14230f?_0x594bb4(_0x5d035e,_0x1b588e):_0x5d035e,_0x287d57=_0x59e8cd[_0x340704(0x1e1)]-0x1,_0xea6384;_0x287d57>=0x0;_0x287d57--)(_0xea6384=_0x59e8cd[_0x287d57])&&(_0x3493f2=_0xea6384(_0x3493f2)||_0x3493f2);return _0x3493f2;},_0x349c62=(_0x305090,_0x1edc40)=>(_0x41790e,_0x48c2ed)=>_0x1edc40(_0x41790e,_0x48c2ed,_0x305090);const _0x226234=0x12c,_0x4f52fb=0x64;let _0x15fe65=class extends _0x112654[_0x22c93f(0x3f1)]{constructor(_0x3cb474,_0x562f0e,_0x1e5414,_0x526a88,_0x494fa3,_0x43ee62,_0x3900df,_0x27071d,_0x53e795){const _0x301f39=_0x22c93f;super(),_0x296e20(this,_0x301f39(0x237),!0x1),_0x296e20(this,_0x301f39(0x24f),!0x1),_0x296e20(this,_0x301f39(0x3c8),new _0x2d6ce3[(_0x301f39(0x3e2))](new Map())),_0x296e20(this,_0x301f39(0x27a),this['_cursorInfo$']['asObservable']()),_0x296e20(this,_0x301f39(0x4c0),new _0x2d6ce3[(_0x301f39(0x3e2))]([])),_0x296e20(this,_0x301f39(0x30d),this[_0x301f39(0x4c0)]['pipe'](_0x2d6ce3[_0x301f39(0x350)](_0x226234))),_0x296e20(this,_0x301f39(0x3b8),_0x112654[_0x301f39(0x40e)](_0xcb7ed0=>{const _0x1d3f0c=_0x301f39,_0x494246={'eventID':_0x61be75[_0x1d3f0c(0x385)][_0x1d3f0c(0x399)],'data':{'unitID':this[_0x1d3f0c(0x422)],'memberID':this[_0x1d3f0c(0x2c3)][_0x1d3f0c(0x3d7)](),'selection':_0x18dd7f(_0xcb7ed0)}};this[_0x1d3f0c(0x2c3)][_0x1d3f0c(0x41e)](_0x494246,this[_0x1d3f0c(0x422)]);},_0x4f52fb)),(this[_0x301f39(0x422)]=_0x3cb474,this[_0x301f39(0x2c3)]=_0x562f0e,this[_0x301f39(0x42f)]=_0x1e5414,this[_0x301f39(0x4aa)]=_0x526a88,this[_0x301f39(0x2f9)]=_0x494fa3,this[_0x301f39(0x476)]=_0x43ee62,this[_0x301f39(0x31d)]=_0x3900df,this[_0x301f39(0x244)]=_0x27071d,this['_commandService']=_0x53e795);}get[_0x22c93f(0x2b1)](){const _0x508025=_0x22c93f;return this[_0x508025(0x3c8)][_0x508025(0x2b6)]();}get[_0x22c93f(0x1f2)](){const _0x5ed51d=_0x22c93f;return this[_0x5ed51d(0x4c0)][_0x5ed51d(0x2b6)]();}[_0x22c93f(0x3b1)](){const _0x83a0d8=_0x22c93f;super[_0x83a0d8(0x3b1)](),this[_0x83a0d8(0x3c8)][_0x83a0d8(0x270)](new Map()),this[_0x83a0d8(0x3c8)][_0x83a0d8(0x445)](),this[_0x83a0d8(0x4c0)][_0x83a0d8(0x270)]([]),this['_roomMembers$'][_0x83a0d8(0x445)]();}[_0x22c93f(0x35a)](){const _0x5b2a14=_0x22c93f;this[_0x5b2a14(0x24f)]||(this['_init']=!0x0,this[_0x5b2a14(0x2c3)][_0x5b2a14(0x233)][_0x5b2a14(0x394)](_0x2d6ce3['takeUntil'](this[_0x5b2a14(0x27f)]))[_0x5b2a14(0x38f)](_0x54db7c=>{const _0x3e9f2b=_0x5b2a14;_0x54db7c===_0x3a923d['SessionStatus'][_0x3e9f2b(0x431)]?this[_0x3e9f2b(0x42c)]():this[_0x3e9f2b(0x3c0)]();}),this[_0x5b2a14(0x2c3)][_0x5b2a14(0x32c)][_0x5b2a14(0x394)](_0x2d6ce3[_0x5b2a14(0x3a9)](this[_0x5b2a14(0x27f)]))[_0x5b2a14(0x38f)](_0x42e603=>{const _0x3f1312=_0x5b2a14,_0x42403b=_0x42e603[_0x3f1312(0x3a4)];_0x42403b===_0x61be75['CollaborationEvent'][_0x3f1312(0x399)]&&this[_0x3f1312(0x2c8)](_0x42e603),_0x42403b===_0x61be75['CollaborationEvent']['USERS_LEAVE']&&this[_0x3f1312(0x1f8)](_0x42e603);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x2ec241=>{const _0x584b88=_0x5b2a14,_0x447a40=_0x2ec241[_0x584b88(0x2f1)];_0x447a40!=null&&this[_0x584b88(0x237)]&&_0x2ec241['id']===_0x4ec653['SetTextSelectionsOperation']['id']&&_0x447a40[_0x584b88(0x49a)]===this['unitID']&&_0x447a40[_0x584b88(0x364)]===!0x1&&_0x447a40[_0x584b88(0x2af)][_0x584b88(0x1e1)]>0x0&&this[_0x584b88(0x3b8)](_0x447a40['ranges']);})),this['_syncEditingCollabCursorService'][_0x5b2a14(0x498)][_0x5b2a14(0x394)](_0x2d6ce3[_0x5b2a14(0x3a9)](this['dispose$']))[_0x5b2a14(0x38f)](_0x30359f=>{const _0x34bdcf=_0x5b2a14;if((_0x30359f==null?void 0x0:_0x30359f[_0x34bdcf(0x422)])!==this['unitID'])return;const _0x4c8bef={'eventID':_0x61be75['CollaborationEvent'][_0x34bdcf(0x399)],'data':_0x30359f};this[_0x34bdcf(0x2c8)](_0x4c8bef);}),this[_0x5b2a14(0x378)](this[_0x5b2a14(0x462)][_0x5b2a14(0x2e1)](_0x4eb8e1=>{const _0x333166=_0x5b2a14;if(_0x4eb8e1[_0x333166(0x2f1)]==null)return;const _0x2b32e4=_0x4eb8e1[_0x333166(0x2f1)];if(_0x4eb8e1['id']!==_0x4ec653['RichTextEditingMutation']['id']||_0x2b32e4[_0x333166(0x49a)]!==this[_0x333166(0x422)])return;const _0x22ab73={'id':_0x333166(0x36b),'params':_0x2b32e4},_0x1c62c2=this[_0x333166(0x2b1)];for(const [_0xcdef4b,_0x2b179f]of _0x1c62c2){const _0x42092c={'id':_0x333166(0x36b),'params':{'unitId':this[_0x333166(0x422)],'actions':null,'textRanges':_0x2b179f['ranges']}},_0x5ea3d9=this['_transformService']['transformMutation'](_0x22ab73,_0x42092c,!0x1);if(_0x61be75[_0x333166(0x372)](_0x5ea3d9))throw _0x5ea3d9[_0x333166(0x3bc)];_0x1c62c2[_0x333166(0x342)](_0xcdef4b,{..._0x2b179f,'ranges':_0x5ea3d9['m2Prime'][_0x333166(0x2f1)][_0x333166(0x3b9)]});}queueMicrotask(()=>{const _0x7163f7=_0x333166;this[_0x7163f7(0x3c8)][_0x7163f7(0x270)](_0x1c62c2);});})));}[_0x22c93f(0x2c8)](_0x16e5d5){const _0x2fcb3f=_0x22c93f;var _0x58195b,_0x4578c0;const {memberID:_0x739a05,selection:_0x31f7ea}=_0x16e5d5[_0x2fcb3f(0x273)],_0x1a5850=_0x3b5dbf(_0x31f7ea),_0x1ff185=(_0x4578c0=(_0x58195b=this[_0x2fcb3f(0x2f9)][_0x2fcb3f(0x1d6)](this[_0x2fcb3f(0x422)],_0x739a05))==null?void 0x0:_0x58195b[_0x2fcb3f(0x1f1)])!=null?_0x4578c0:_0x2fcb3f(0x1df),_0x5ec943={'color':this[_0x2fcb3f(0x4aa)][_0x2fcb3f(0x2ba)](_0x739a05),'name':_0x1ff185,'ranges':_0x1a5850},_0x1dfbaf=this[_0x2fcb3f(0x2b1)];_0x1dfbaf[_0x2fcb3f(0x342)](_0x739a05,_0x5ec943),this[_0x2fcb3f(0x3c8)][_0x2fcb3f(0x270)](_0x1dfbaf);}[_0x22c93f(0x1f8)](_0x48cbe3){const _0x23c762=_0x22c93f,{memberID:_0x4e552b}=_0x48cbe3['data'],_0x1829c7=this[_0x23c762(0x2b1)];_0x1829c7['delete'](_0x4e552b),this[_0x23c762(0x3c8)][_0x23c762(0x270)](_0x1829c7);}[_0x22c93f(0x42c)](){const _0x2f6599=_0x22c93f;var _0xaa404b;if(this['_online']=!0x0,((_0xaa404b=this[_0x2f6599(0x244)]['getFocusedUnit']())==null?void 0x0:_0xaa404b[_0x2f6599(0x203)]())!==this['unitID'])return;const _0x552bca=this['_injector'][_0x2f6599(0x1e8)](_0x4ec653[_0x2f6599(0x3ca)])[_0x2f6599(0x255)]();Array[_0x2f6599(0x470)](_0x552bca)&&_0x552bca['length']>0x0&&this[_0x2f6599(0x3b8)](_0x552bca);}[_0x22c93f(0x3c0)](){this['_online']=!0x1;}};_0x15fe65=_0x56cd85([_0x349c62(0x2,_0x112654[_0x22c93f(0x271)](_0x112654[_0x22c93f(0x3c7)])),_0x349c62(0x3,_0x112654['Inject'](_0x104cc4)),_0x349c62(0x4,_0x112654[_0x22c93f(0x271)](_0x3a923d[_0x22c93f(0x3c9)])),_0x349c62(0x5,_0x112654[_0x22c93f(0x271)](_0x2783c1)),_0x349c62(0x6,_0x61be75[_0x22c93f(0x2d5)]),_0x349c62(0x7,_0x112654[_0x22c93f(0x256)]),_0x349c62(0x8,_0x112654['ICommandService'])],_0x15fe65);var _0x29f8b7=Object[_0x22c93f(0x215)],_0x379217=(_0x50bf1a,_0x2a3570,_0x3aefbd,_0x397662)=>{for(var _0x5d9622=_0x397662>0x1?void 0x0:_0x397662?_0x29f8b7(_0x2a3570,_0x3aefbd):_0x2a3570,_0x59b85d=_0x50bf1a['length']-0x1,_0x5d73fe;_0x59b85d>=0x0;_0x59b85d--)(_0x5d73fe=_0x50bf1a[_0x59b85d])&&(_0x5d9622=_0x5d73fe(_0x5d9622)||_0x5d9622);return _0x5d9622;},_0x3a2375=(_0xb60477,_0x273a0f)=>(_0x530e27,_0x38566d)=>_0x273a0f(_0x530e27,_0x38566d,_0xb60477);const _0x2a63b6=0x12c,_0x4b900b=0x64,_0x1cb5ad=()=>{let _0x3f27ae=[],_0x111ac7=!0x1;return _0x5be7ec=>{const _0x381e34=_0x3bdd;_0x3f27ae[_0x381e34(0x28f)](_0x5be7ec),_0x111ac7||(_0x111ac7=!0x0,setTimeout(()=>{const _0x2fa3f0=_0x381e34;_0x3f27ae[_0x2fa3f0(0x22a)](_0x2ded60=>_0x2ded60()),_0x3f27ae=[],_0x111ac7=!0x1;}));};};let _0x6c7d86=class extends _0x112654[_0x22c93f(0x3f1)]{constructor(_0x1cbefb,_0x655943,_0x223a78,_0x490382,_0x1d95a3,_0x3a8b18,_0x1dfd37,_0xe21c92){const _0x1e67ee=_0x22c93f;super(),_0x296e20(this,_0x1e67ee(0x237),!0x1),_0x296e20(this,_0x1e67ee(0x24f),!0x1),_0x296e20(this,_0x1e67ee(0x3c8),new _0x2d6ce3['BehaviorSubject'](new Map())),_0x296e20(this,_0x1e67ee(0x27a),this[_0x1e67ee(0x3c8)][_0x1e67ee(0x3e6)]()),_0x296e20(this,_0x1e67ee(0x4c0),new _0x2d6ce3['BehaviorSubject']([])),_0x296e20(this,_0x1e67ee(0x30d),this[_0x1e67ee(0x4c0)][_0x1e67ee(0x394)](_0x2d6ce3['debounceTime'](_0x2a63b6))),_0x296e20(this,'_updateLocalCursor',_0x112654['debounce']((_0xf6cd3f,_0x17221d)=>{const _0x1a0c1c=_0x1e67ee,_0x8284d={'eventID':_0x61be75[_0x1a0c1c(0x385)][_0x1a0c1c(0x399)],'data':{'unitID':this['unitID'],'memberID':this[_0x1a0c1c(0x2c3)][_0x1a0c1c(0x3d7)](),'selection':_0x383adb[_0x1a0c1c(0x351)](_0xf6cd3f,_0x17221d[_0x1a0c1c(0x298)])}};this[_0x1a0c1c(0x2c3)][_0x1a0c1c(0x41e)](_0x8284d,this[_0x1a0c1c(0x422)]);},_0x4b900b)),(this[_0x1e67ee(0x422)]=_0x1cbefb,this[_0x1e67ee(0x2c3)]=_0x655943,this['_injector']=_0x223a78,this['_colorAssignService']=_0x490382,this[_0x1e67ee(0x2f9)]=_0x1d95a3,this['_univerInstanceService']=_0x3a8b18,this[_0x1e67ee(0x462)]=_0x1dfd37,this[_0x1e67ee(0x243)]=_0xe21c92);}get[_0x22c93f(0x2b1)](){const _0x3cc099=_0x22c93f;return this[_0x3cc099(0x3c8)][_0x3cc099(0x2b6)]();}get[_0x22c93f(0x1f2)](){const _0x2cadb4=_0x22c93f;return this[_0x2cadb4(0x4c0)][_0x2cadb4(0x2b6)]();}[_0x22c93f(0x3b1)](){const _0x59f196=_0x22c93f;super['dispose'](),this['_cursorInfo$'][_0x59f196(0x270)](new Map()),this[_0x59f196(0x3c8)][_0x59f196(0x445)](),this['_roomMembers$'][_0x59f196(0x270)]([]),this[_0x59f196(0x4c0)][_0x59f196(0x445)]();}[_0x22c93f(0x35a)](){const _0x28d026=_0x22c93f;this[_0x28d026(0x24f)]||(this[_0x28d026(0x24f)]=!0x0,this[_0x28d026(0x2c3)][_0x28d026(0x233)]['pipe'](_0x2d6ce3[_0x28d026(0x3a9)](this['dispose$']))[_0x28d026(0x38f)](_0x114083=>{const _0x3f133=_0x28d026;_0x114083===_0x3a923d[_0x3f133(0x22c)][_0x3f133(0x431)]?this[_0x3f133(0x42c)]():this[_0x3f133(0x3c0)]();}),this[_0x28d026(0x2c3)]['event$'][_0x28d026(0x394)](_0x2d6ce3['takeUntil'](this[_0x28d026(0x27f)]))[_0x28d026(0x38f)](_0x589e04=>{const _0x5b7358=_0x28d026,_0x457142=_0x589e04[_0x5b7358(0x3a4)];_0x457142===_0x61be75[_0x5b7358(0x385)]['UPDATE_CURSOR']&&this[_0x5b7358(0x2c8)](_0x589e04),_0x457142===_0x61be75['CollaborationEvent'][_0x5b7358(0x1d4)]&&this[_0x5b7358(0x1f8)](_0x589e04);}),this['_onRefRangeChange'](),this[_0x28d026(0x378)](this[_0x28d026(0x462)][_0x28d026(0x2e1)](_0x18050e=>{const _0x2655b2=_0x28d026;if(this[_0x2655b2(0x237)]&&_0x18050e['id']===_0x193af4[_0x2655b2(0x484)]['id']&&_0x18050e[_0x2655b2(0x2f1)][_0x2655b2(0x49a)]===this[_0x2655b2(0x422)]){const _0x49cf12=_0x18050e[_0x2655b2(0x2f1)];this[_0x2655b2(0x3b8)](_0x49cf12[_0x2655b2(0x24a)],_0x49cf12[_0x2655b2(0x2e9)][0x0]);}})));}[_0x22c93f(0x2c8)](_0x51662e){const _0x1ba4d8=_0x22c93f;var _0x367ba5,_0x523def;const {memberID:_0x4ff5ca,selection:_0x845efc}=_0x51662e[_0x1ba4d8(0x273)],{sheetName:_0x2db8bb,range:_0x1e79c5}=_0x383adb['deserializeRangeWithSheet'](_0x845efc),_0x11259c={'name':(_0x523def=(_0x367ba5=this[_0x1ba4d8(0x2f9)]['getMember'](this['unitID'],_0x4ff5ca))==null?void 0x0:_0x367ba5['name'])!=null?_0x523def:'Unknown\x20user','range':this[_0x1ba4d8(0x39b)](_0x2db8bb,_0x1e79c5),'sheetID':_0x2db8bb,'color':this[_0x1ba4d8(0x4aa)]['assignAColorForMemberID'](_0x4ff5ca),'selection':_0x845efc},_0x19ab76=this['cursorInfo'];_0x19ab76['set'](_0x4ff5ca,_0x11259c),this[_0x1ba4d8(0x3c8)][_0x1ba4d8(0x270)](_0x19ab76);}['_onCursorDelete'](_0x1cd1fd){const _0x31dbd=_0x22c93f,{memberID:_0x4c680d}=_0x1cd1fd[_0x31dbd(0x273)],_0x30e4bd=this['cursorInfo'];_0x30e4bd[_0x31dbd(0x21d)](_0x4c680d),this[_0x31dbd(0x3c8)]['next'](_0x30e4bd);}[_0x22c93f(0x39b)](_0x167ab6,_0xd00fe3){const _0x34729d=_0x22c93f;var _0x5ea199,_0x2eff0c;const _0x586daa=(_0x2eff0c=(_0x5ea199=this[_0x34729d(0x244)][_0x34729d(0x3ba)](this['unitID']))==null?void 0x0:_0x5ea199[_0x34729d(0x45d)](_0x167ab6))==null?void 0x0:_0x2eff0c[_0x34729d(0x1ff)]();return(_0x586daa==null?void 0x0:_0x586daa[_0x34729d(0x2df)](_0x47f939=>_0x112654[_0x34729d(0x240)][_0x34729d(0x3bf)](_0x47f939,_0xd00fe3)))||_0xd00fe3;}[_0x22c93f(0x420)](){const _0x20a5c4=_0x22c93f,_0x5f34f9=new _0x112654['DisposableCollection'](),_0x53a608=_0x1cb5ad(),_0x3306a6=()=>{const _0x78f4c3=_0x3bdd;_0x5f34f9[_0x78f4c3(0x3b1)]();const _0x18d98a=(_0x495f56,_0x54ac48,_0x56586c,_0x9cce62)=>{const _0x4db28b=_0x78f4c3;let _0xa35639=[];switch(_0x495f56['id']){case _0x193af4[_0x4db28b(0x1f7)][_0x4db28b(0x48d)]:{_0xa35639=_0x193af4[_0x4db28b(0x424)](_0x495f56,_0x9cce62);break;}case _0x193af4['EffectRefRangId'][_0x4db28b(0x4bc)]:{_0xa35639=_0x193af4[_0x4db28b(0x26a)](_0x495f56,_0x9cce62);break;}case _0x193af4['EffectRefRangId'][_0x4db28b(0x358)]:{_0xa35639=_0x193af4[_0x4db28b(0x1fb)](_0x495f56,_0x9cce62);break;}case _0x193af4['EffectRefRangId'][_0x4db28b(0x467)]:{_0xa35639=_0x193af4[_0x4db28b(0x43b)](_0x495f56,_0x9cce62);break;}case _0x193af4[_0x4db28b(0x1f7)][_0x4db28b(0x322)]:{_0xa35639=_0x193af4[_0x4db28b(0x202)](_0x495f56,_0x9cce62);break;}case _0x193af4[_0x4db28b(0x1f7)][_0x4db28b(0x496)]:{_0xa35639=_0x193af4[_0x4db28b(0x268)](_0x495f56,_0x9cce62);break;}case _0x193af4[_0x4db28b(0x1f7)][_0x4db28b(0x38e)]:{_0xa35639=_0x193af4['handleMoveRange'](_0x495f56,_0x9cce62);break;}case _0x193af4[_0x4db28b(0x1f7)]['RemoveColCommandId']:{_0xa35639=_0x193af4[_0x4db28b(0x22d)](_0x495f56,_0x9cce62);break;}case _0x193af4[_0x4db28b(0x1f7)][_0x4db28b(0x2fc)]:{_0xa35639=_0x193af4[_0x4db28b(0x48e)](_0x495f56,_0x9cce62);break;}}const _0xfc0780=_0x193af4[_0x4db28b(0x2dc)](_0xa35639,_0x9cce62),_0x36d07d=this[_0x4db28b(0x2b1)]['get'](_0x54ac48);if(_0x36d07d&&_0xfc0780){const _0x5276f6={..._0x36d07d,'range':_0xfc0780};this[_0x4db28b(0x2b1)]['set'](_0x54ac48,_0x5276f6),_0x53a608(()=>{const _0x31fce6=_0x4db28b,_0x595fd0=this['_refRangeService'][_0x31fce6(0x2e4)](_0xfc0780,_0x460d8f=>(_0x595fd0[_0x31fce6(0x3b1)](),_0x18d98a(_0x460d8f,_0x54ac48,_0x56586c,_0xfc0780)));_0x5f34f9[_0x31fce6(0x320)](_0x595fd0);});}return{'redos':[],'undos':[]};};this[_0x78f4c3(0x2b1)][_0x78f4c3(0x22a)]((_0x4c9dc9,_0x569774)=>{const _0xb2d176=_0x78f4c3,{range:_0x4a6f22,sheetID:_0x204b46}=_0x4c9dc9,_0x4b353e=this[_0xb2d176(0x243)][_0xb2d176(0x2e4)](_0x4a6f22,_0x1b33cc=>(_0x4b353e[_0xb2d176(0x3b1)](),_0x18d98a(_0x1b33cc,_0x569774,_0x204b46,_0x4a6f22)));_0x5f34f9[_0xb2d176(0x320)](_0x4b353e);});};this[_0x20a5c4(0x378)](_0x112654[_0x20a5c4(0x3a3)](this[_0x20a5c4(0x3c8)]['subscribe'](()=>{_0x3306a6();})));}[_0x22c93f(0x42c)](){const _0x4b4af1=_0x22c93f;var _0xbb9753,_0x401892;if(this['_online']=!0x0,((_0xbb9753=this[_0x4b4af1(0x244)][_0x4b4af1(0x3bb)]())==null?void 0x0:_0xbb9753['getUnitId']())!==this[_0x4b4af1(0x422)])return;const _0x47bc90=(_0x401892=this[_0x4b4af1(0x42f)][_0x4b4af1(0x1e8)](_0x193af4['SheetsSelectionsService'])[_0x4b4af1(0x25e)]())==null?void 0x0:_0x401892[0x0],_0x2ae687=this['_univerInstanceService'][_0x4b4af1(0x398)](_0x112654['UniverInstanceType'][_0x4b4af1(0x247)])[_0x4b4af1(0x2cf)]();_0x47bc90&&_0x2ae687&&this['_updateLocalCursor'](_0x2ae687[_0x4b4af1(0x245)](),_0x47bc90);}[_0x22c93f(0x3c0)](){const _0x51109a=_0x22c93f;this[_0x51109a(0x237)]=!0x1;}};_0x6c7d86=_0x379217([_0x3a2375(0x2,_0x112654['Inject'](_0x112654['Injector'])),_0x3a2375(0x3,_0x112654['Inject'](_0x104cc4)),_0x3a2375(0x4,_0x112654[_0x22c93f(0x271)](_0x3a923d[_0x22c93f(0x3c9)])),_0x3a2375(0x5,_0x112654[_0x22c93f(0x256)]),_0x3a2375(0x6,_0x112654[_0x22c93f(0x31c)]),_0x3a2375(0x7,_0x112654[_0x22c93f(0x271)](_0x193af4[_0x22c93f(0x318)]))],_0x6c7d86);var _0x230c76=Object[_0x22c93f(0x215)],_0x2df5d4=(_0x1cc45e,_0x3887b2,_0x2c207a,_0x384514)=>{const _0x521609=_0x22c93f;for(var _0x381c15=_0x384514>0x1?void 0x0:_0x384514?_0x230c76(_0x3887b2,_0x2c207a):_0x3887b2,_0x499887=_0x1cc45e[_0x521609(0x1e1)]-0x1,_0x310243;_0x499887>=0x0;_0x499887--)(_0x310243=_0x1cc45e[_0x499887])&&(_0x381c15=_0x310243(_0x381c15)||_0x381c15);return _0x381c15;},_0x246e22=(_0xd5d0e5,_0x32007e)=>(_0x10fc52,_0x258062)=>_0x32007e(_0x10fc52,_0x258062,_0xd5d0e5);let _0x2107a2=class extends _0x112654[_0x22c93f(0x3f1)]{constructor(_0x3cdf06,_0x181319,_0x383ffd){const _0x444832=_0x22c93f;super(),_0x296e20(this,_0x444832(0x235),new Map()),_0x296e20(this,'_entityInit$',new _0x2d6ce3[(_0x444832(0x2aa))]()),(this['_univerInstanceService']=_0x3cdf06,this[_0x444832(0x42f)]=_0x181319,this['_collabSessionService']=_0x383ffd,this[_0x444832(0x24f)]());}[_0x22c93f(0x3b1)](){const _0xce715e=_0x22c93f;super[_0xce715e(0x3b1)](),this[_0xce715e(0x429)]['complete'](),this['_entities'][_0xce715e(0x22a)](_0x2c811b=>_0x2c811b['dispose']());}[_0x22c93f(0x2d7)](_0x4dbcf3){const _0x436627=_0x22c93f;return this['_entities']['has'](_0x4dbcf3)?this[_0x436627(0x235)][_0x436627(0x1e8)](_0x4dbcf3)[_0x436627(0x27a)]:this[_0x436627(0x429)][_0x436627(0x394)](_0x2d6ce3[_0x436627(0x40d)](_0x47d632=>_0x47d632[_0x436627(0x422)]===_0x4dbcf3),_0x2d6ce3[_0x436627(0x397)](_0x358cf=>_0x358cf[_0x436627(0x27a)]));}['_init'](){const _0x3109bb=_0x22c93f;this[_0x3109bb(0x244)][_0x3109bb(0x327)](_0x112654[_0x3109bb(0x37d)][_0x3109bb(0x247)])[_0x3109bb(0x394)](_0x2d6ce3[_0x3109bb(0x3a9)](this[_0x3109bb(0x27f)]))[_0x3109bb(0x38f)](async _0x4701b5=>{const _0x350fab=_0x3109bb,_0xd5d621=_0x4701b5[_0x350fab(0x203)](),_0x2f98c4=await this[_0x350fab(0x25c)](_0xd5d621);this[_0x350fab(0x429)][_0x350fab(0x270)](_0x2f98c4),this['_entities']['set'](_0xd5d621,_0x2f98c4);}),this['_univerInstanceService'][_0x3109bb(0x327)](_0x112654[_0x3109bb(0x37d)][_0x3109bb(0x1d5)])['pipe'](_0x2d6ce3[_0x3109bb(0x3a9)](this[_0x3109bb(0x27f)]))[_0x3109bb(0x394)](_0x2d6ce3[_0x3109bb(0x40d)](_0x4d3e59=>!_0x4d3e59[_0x3109bb(0x203)]()['startsWith']('__')))[_0x3109bb(0x38f)](async _0x46f489=>{const _0x29aab3=_0x3109bb,_0xd0cfbe=_0x46f489[_0x29aab3(0x203)](),_0x113300=await this[_0x29aab3(0x47c)](_0xd0cfbe);this[_0x29aab3(0x429)][_0x29aab3(0x270)](_0x113300),this[_0x29aab3(0x235)][_0x29aab3(0x342)](_0xd0cfbe,_0x113300);}),_0x2d6ce3[_0x3109bb(0x46b)](this[_0x3109bb(0x244)][_0x3109bb(0x37c)](_0x112654[_0x3109bb(0x37d)]['UNIVER_DOC']),this[_0x3109bb(0x244)]['getTypeOfUnitDisposed$'](_0x112654['UniverInstanceType'][_0x3109bb(0x247)]))['pipe'](_0x2d6ce3[_0x3109bb(0x3a9)](this[_0x3109bb(0x27f)]))[_0x3109bb(0x38f)](_0xdb847d=>{const _0x482515=_0x3109bb,_0x15e038=_0xdb847d[_0x482515(0x203)](),_0x10367f=this['_entities'][_0x482515(0x1e8)](_0x15e038);_0x10367f&&(_0x10367f[_0x482515(0x3b1)](),this[_0x482515(0x235)]['delete'](_0x15e038));});}async[_0x22c93f(0x25c)](_0x2b07c3){const _0x1dda20=_0x22c93f,_0x3d0b6a=await this[_0x1dda20(0x3d1)][_0x1dda20(0x328)](_0x2b07c3),_0x215e21=this['_injector'][_0x1dda20(0x321)](_0x6c7d86,_0x2b07c3,_0x3d0b6a);return _0x215e21['init'](),_0x215e21;}async[_0x22c93f(0x47c)](_0x2d5371){const _0x29a5c5=_0x22c93f,_0x73035e=await this[_0x29a5c5(0x3d1)][_0x29a5c5(0x328)](_0x2d5371),_0x14a127=this[_0x29a5c5(0x42f)][_0x29a5c5(0x321)](_0x15fe65,_0x2d5371,_0x73035e);return _0x14a127[_0x29a5c5(0x35a)](),_0x14a127;}};_0x2107a2=_0x2df5d4([_0x246e22(0x0,_0x112654[_0x22c93f(0x256)]),_0x246e22(0x1,_0x112654[_0x22c93f(0x271)](_0x112654[_0x22c93f(0x3c7)])),_0x246e22(0x2,_0x112654['Inject'](_0x3a923d['CollaborationSessionService']))],_0x2107a2);const _0x4de390=0x14,_0x39f9dd=0xc8,_0x20bad3=0x4,_0x4fca51=0x5;function _0x5bda0c(_0x1c548f,_0x1d4e9f){const _0x234a91=_0x22c93f;let {radius:_0x2630a7,width:_0xe85f28,height:_0x5567e3}=_0x1d4e9f;_0x2630a7=_0x2630a7!=null?_0x2630a7:0x0,_0xe85f28=_0xe85f28!=null?_0xe85f28:0x1e,_0x5567e3=_0x5567e3!=null?_0x5567e3:0x1e;let _0x2815af=0x0,_0x4dc8cc=0x0,_0x4e54d9=0x0;_0x2815af=_0x4dc8cc=_0x4e54d9=Math[_0x234a91(0x392)](_0x2630a7,_0xe85f28/0x2,_0x5567e3/0x2),_0x1c548f[_0x234a91(0x1d1)](),_0x1c548f[_0x234a91(0x3b6)](_0x2815af,0x0),_0x1c548f[_0x234a91(0x421)](_0xe85f28-_0x4dc8cc,0x0),_0x1c548f['arc'](_0xe85f28-_0x4dc8cc,_0x4dc8cc,_0x4dc8cc,Math['PI']*0x3/0x2,0x0,!0x1),_0x1c548f[_0x234a91(0x421)](_0xe85f28,_0x5567e3-_0x4e54d9),_0x1c548f['arc'](_0xe85f28-_0x4e54d9,_0x5567e3-_0x4e54d9,_0x4e54d9,0x0,Math['PI']/0x2,!0x1),_0x1c548f[_0x234a91(0x421)](0x0,_0x5567e3),_0x1c548f['lineTo'](0x0,_0x2815af),_0x1c548f[_0x234a91(0x46f)](_0x2815af,_0x2815af,_0x2815af,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1c548f[_0x234a91(0x373)](),_0x1d4e9f['fill']&&(_0x1c548f[_0x234a91(0x25b)](),_0x1c548f['fillStyle']=_0x1d4e9f[_0x234a91(0x45e)],_0x1d4e9f[_0x234a91(0x3aa)]==='evenodd'?_0x1c548f['fill']('evenodd'):_0x1c548f[_0x234a91(0x45e)](),_0x1c548f[_0x234a91(0x2bd)]());}class _0x264472 extends _0x51f1a5['Shape']{constructor(_0x475df6,_0x1ead2a){const _0x2171e5=_0x22c93f;super(_0x475df6,_0x1ead2a),_0x296e20(this,_0x2171e5(0x2ea)),_0x296e20(this,_0x2171e5(0x335)),(this[_0x2171e5(0x2ea)]=_0x1ead2a==null?void 0x0:_0x1ead2a[_0x2171e5(0x2ea)],this[_0x2171e5(0x335)]=_0x1ead2a==null?void 0x0:_0x1ead2a[_0x2171e5(0x335)]);}static[_0x22c93f(0x2ee)](_0x47c0a8,_0xac9092){const _0x23b945=_0x22c93f,{text:_0x4dfa31,color:_0x1d14f9}=_0xac9092;_0x47c0a8[_0x23b945(0x25b)](),_0x47c0a8[_0x23b945(0x448)]=_0x23b945(0x23c);const _0x4c619a=_0x47c0a8[_0x23b945(0x39f)](_0x4dfa31)[_0x23b945(0x353)],_0x1615eb=Math['min'](_0x4c619a+0x2*_0x20bad3,_0x39f9dd);_0x5bda0c(_0x47c0a8,{'height':_0x4de390,'radius':0x4,'width':_0x1615eb,'fill':_0x1d14f9}),_0x47c0a8[_0x23b945(0x239)]=_0x23b945(0x212);const _0x32a727=_0x20bad3,_0x58c332=_0x4de390-_0x4fca51,_0x5ea7b6=_0x39f9dd-0x2*_0x20bad3;if(_0x4c619a>_0x5ea7b6){let _0x426ed0='',_0x1ba3d8=0x0;for(const _0x1386b4 of _0x4dfa31){const _0x3de3b1=_0x47c0a8['measureText'](_0x1386b4)['width'];if(_0x1ba3d8+_0x3de3b1<=_0x5ea7b6-_0x47c0a8[_0x23b945(0x39f)](_0x23b945(0x230))[_0x23b945(0x353)])_0x426ed0+=_0x1386b4,_0x1ba3d8+=_0x3de3b1;else{_0x426ed0+=_0x23b945(0x230);break;}}_0x47c0a8[_0x23b945(0x32f)](_0x426ed0,_0x32a727,_0x58c332);}else _0x47c0a8[_0x23b945(0x32f)](_0x4dfa31,_0x32a727,_0x58c332);_0x47c0a8[_0x23b945(0x2bd)]();}[_0x22c93f(0x331)](_0x41feed){const _0x503245=_0x22c93f;_0x264472[_0x503245(0x2ee)](_0x41feed,this);}}const _0x29cb1b=_0x22c93f(0x219),_0x32b107=_0x22c93f(0x1dd),_0x19566e='collab-rect-range-',_0x18bcb1=0x6,_0x3e2ae3=1.5,_0x5618de=0x4,_0x27a4ab=1.5,_0x510abd=_0x22c93f(0x250);class _0xaf9508{constructor(_0x2d5574,_0x5d566a,_0x57ba7c,_0x3de3b7){const _0x9700b9=_0x22c93f;_0x296e20(this,_0x9700b9(0x4b9),[]),_0x296e20(this,_0x9700b9(0x3ad),null),_0x296e20(this,_0x9700b9(0x4a5),null),_0x296e20(this,'_anchorDot',null),_0x296e20(this,_0x9700b9(0x3fa),null),_0x296e20(this,_0x9700b9(0x473),null),(this[_0x9700b9(0x3e3)]=_0x2d5574,this[_0x9700b9(0x3f8)]=_0x5d566a,this[_0x9700b9(0x4b1)]=_0x57ba7c,this[_0x9700b9(0x368)]=_0x3de3b7,this[_0x9700b9(0x207)]());}set[_0x22c93f(0x23d)](_0x13180a){const _0x5b6e3d=_0x22c93f;_0x13180a?(this['_anchorDot']&&this[_0x5b6e3d(0x3fc)][_0x5b6e3d(0x1dc)](),this[_0x5b6e3d(0x4a5)]&&this[_0x5b6e3d(0x4a5)]['show']()):(this[_0x5b6e3d(0x3fc)]&&this[_0x5b6e3d(0x3fc)][_0x5b6e3d(0x407)](),this['_textBubble']&&this[_0x5b6e3d(0x4a5)][_0x5b6e3d(0x1dc)]());}['dispose'](){const _0x33cd29=_0x22c93f;for(const _0x6b2b6c of this[_0x33cd29(0x4b9)])_0x6b2b6c[_0x33cd29(0x3b1)]();this[_0x33cd29(0x4a5)]&&this[_0x33cd29(0x4a5)][_0x33cd29(0x3b1)](),this['_anchorDot']&&this[_0x33cd29(0x3fc)][_0x33cd29(0x3b1)](),this[_0x33cd29(0x3ad)]&&this[_0x33cd29(0x3ad)]['dispose'](),this['_eventUnsubscribe']&&this[_0x33cd29(0x473)]();}[_0x22c93f(0x207)](){const _0x57a0e3=_0x22c93f;var _0xc38501;const {_docSkeleton:_0x3543b0,_document:_0x1df956}=this,{color:_0x2d08a0,name:_0x71d9d4,ranges:_0x10e3f2}=this[_0x57a0e3(0x3e3)],_0x66b044=_0x1df956['getOffsetConfig'](),{docsLeft:_0x3767d1,docsTop:_0x2c91a0}=_0x66b044,_0x7fd618=new _0x18e83e['NodePositionConvertToCursor'](_0x66b044,_0x3543b0);for(const {startOffset:_0x2a70a0,endOffset:_0x344ae8,rangeType:_0xe78b62,segmentId:_0x2d97e0,segmentPage:_0x4bd9a6,collapsed:_0x26a8af,isActive:_0x501cd5}of _0x10e3f2){const _0x55e451=_0x3543b0[_0x57a0e3(0x290)](_0x2a70a0,!0x0,_0x2d97e0,_0x4bd9a6);let _0x351c51=_0x3543b0['findNodePositionByCharIndex'](_0x344ae8,!0x0,_0x2d97e0,_0x4bd9a6);if(_0x351c51==null&&(_0x351c51=_0x3543b0['findNodePositionByCharIndex'](_0x344ae8-0x1,!0x1,_0x2d97e0,_0x4bd9a6)),_0x501cd5){const {contentBoxPointGroup:_0x359215}=_0x7fd618[_0x57a0e3(0x254)](_0x351c51,_0x351c51);if(_0x359215[_0x57a0e3(0x1e1)]===0x0)continue;this[_0x57a0e3(0x37f)](_0x2d08a0,_0x359215,_0x3767d1,_0x2c91a0,_0x71d9d4),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x55e451&&_0x351c51){if(_0xe78b62===_0x112654[_0x57a0e3(0x3c3)][_0x57a0e3(0x1e7)]){const _0x27d489=new _0x18e83e['NodePositionConvertToRectRange'](_0x66b044,_0x3543b0),{pointGroup:_0x521d6c}=(_0xc38501=_0x27d489[_0x57a0e3(0x254)](_0x55e451,_0x351c51))!=null?_0xc38501:{};if(_0x521d6c==null||_0x521d6c[_0x57a0e3(0x1e1)]===0x0)continue;this['_drawRectRange'](_0x2d08a0,_0x521d6c,_0x3767d1,_0x2c91a0);}else{if(!_0x26a8af){const {borderBoxPointGroup:_0x3417c1}=_0x7fd618[_0x57a0e3(0x254)](_0x55e451,_0x351c51);if(_0x3417c1[_0x57a0e3(0x1e1)]===0x0)continue;this[_0x57a0e3(0x380)](_0x2d08a0,_0x3417c1,_0x3767d1,_0x2c91a0);}}}}}[_0x22c93f(0x37f)](_0xf730fe,_0x3a4e4f,_0x4603c7,_0x160066,_0x4f1089){const _0x2fb12b=_0x22c93f,_0x509de7=this['_getAnchorBounding'](_0x3a4e4f),{left:_0x47bf49,top:_0x4cf00c,height:_0x9cdbd}=_0x509de7,_0x18ce70=this['_getScale'](),_0xc0afef=_0x27a4ab/_0x18ce70,_0x44348e=new _0x51f1a5[(_0x2fb12b(0x3ff))](_0x29cb1b+_0x112654[_0x2fb12b(0x4b3)](_0x18bcb1),{'left':_0x47bf49+_0x4603c7-_0xc0afef,'top':_0x4cf00c+_0x160066,'height':_0x9cdbd,'width':_0x3e2ae3,'fill':_0xf730fe||_0x51f1a5[_0x2fb12b(0x2ca)](_0x112654[_0x2fb12b(0x45b)][_0x2fb12b(0x26c)],0x0),'strokeWidth':_0xc0afef,'stroke':_0x510abd,'evented':!0x0});this[_0x2fb12b(0x3ad)]=_0x44348e,this[_0x2fb12b(0x3f8)][_0x2fb12b(0x441)](_0x44348e,_0x18e83e[_0x2fb12b(0x285)]);const _0x158d3c=new _0x51f1a5[(_0x2fb12b(0x3ff))](_0x29cb1b+_0x112654[_0x2fb12b(0x4b3)](_0x18bcb1),{'left':_0x47bf49+_0x4603c7-_0xc0afef,'top':_0x4cf00c+_0x160066-_0x5618de/0x2,'height':_0x5618de,'width':_0x5618de,'fill':_0xf730fe||_0x51f1a5[_0x2fb12b(0x2ca)](_0x112654['COLORS']['black'],0x0),'strokeWidth':0x0,'stroke':_0xf730fe||_0x51f1a5[_0x2fb12b(0x2ca)](_0x112654[_0x2fb12b(0x45b)]['black'],0x0),'evented':!0x1});this[_0x2fb12b(0x3fc)]=_0x158d3c,this['_scene'][_0x2fb12b(0x441)](_0x158d3c,_0x18e83e[_0x2fb12b(0x285)]);const _0xb3d583=new _0x264472(_0x29cb1b+_0x112654[_0x2fb12b(0x4b3)](_0x18bcb1),{'left':_0x47bf49+_0x4603c7-_0xc0afef,'top':_0x4cf00c+_0x160066-_0x4de390,'text':_0x4f1089,'color':_0xf730fe});this[_0x2fb12b(0x4a5)]=_0xb3d583,this[_0x2fb12b(0x3f8)][_0x2fb12b(0x441)](_0xb3d583,_0x18e83e[_0x2fb12b(0x285)]),this['_hover']=!0x1;}['_handleHover'](){const _0x203d4e=_0x22c93f,_0x357e86=this['_anchor'][_0x203d4e(0x4b4)][_0x203d4e(0x39d)](()=>{const _0x4fde04=_0x203d4e;this[_0x4fde04(0x23d)]=!0x0;}),_0x29b74=this[_0x203d4e(0x3ad)][_0x203d4e(0x4ae)][_0x203d4e(0x39d)](()=>{const _0x311db1=_0x203d4e;this[_0x311db1(0x3fa)]&&clearTimeout(this['_hideTimer']),this[_0x311db1(0x3fa)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x398fe3=_0x203d4e;_0x357e86[_0x398fe3(0x306)](),_0x29b74['unsubscribe']();};}[_0x22c93f(0x380)](_0x503f7d,_0x549a97,_0x5379cb,_0xf5f145){const _0x8b6518=_0x22c93f,_0x94c523=new _0x112654['ColorKit'](_0x503f7d)[_0x8b6518(0x499)](0.2)['toRgbString'](),_0x5b7175=new _0x51f1a5[(_0x8b6518(0x2ed))](_0x32b107+_0x112654[_0x8b6518(0x4b3)](_0x18bcb1),{'pointsGroup':_0x549a97,'fill':_0x94c523||_0x51f1a5[_0x8b6518(0x2ca)](_0x112654[_0x8b6518(0x45b)][_0x8b6518(0x26c)],0.2),'left':_0x5379cb,'top':_0xf5f145,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x8b6518(0x4b9)][_0x8b6518(0x28f)](_0x5b7175),this['_scene']['addObject'](_0x5b7175,_0x18e83e[_0x8b6518(0x285)]);}[_0x22c93f(0x369)](_0x51f93a,_0x5ce761,_0x194348,_0x1da37d){const _0x5cbf2=_0x22c93f,_0x9f3b5c=new _0x112654[(_0x5cbf2(0x375))](_0x51f93a)[_0x5cbf2(0x499)](0.2)[_0x5cbf2(0x249)](),_0x1cb6c3=new _0x51f1a5[(_0x5cbf2(0x2ed))](_0x19566e+_0x112654[_0x5cbf2(0x4b3)](_0x18bcb1),{'pointsGroup':_0x5ce761,'fill':_0x9f3b5c||_0x51f1a5['getColor'](_0x112654[_0x5cbf2(0x45b)][_0x5cbf2(0x26c)],0.2),'left':_0x194348,'top':_0x1da37d,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x5cbf2(0x28f)](_0x1cb6c3),this[_0x5cbf2(0x3f8)][_0x5cbf2(0x441)](_0x1cb6c3,_0x18e83e[_0x5cbf2(0x285)]);}[_0x22c93f(0x443)](_0x1fb7d2){const _0x5a201d=_0x1fb7d2[0x0],_0x2467d1=_0x5a201d[0x0],_0x53eaef=_0x5a201d[0x2],{x:_0x39158b,y:_0x4aa87b}=_0x2467d1,{x:_0x4a81c1,y:_0x24a6b3}=_0x53eaef;return{'left':_0x39158b,'top':_0x4aa87b,'width':_0x4a81c1-_0x39158b,'height':_0x24a6b3-_0x4aa87b};}['_getScale'](){const _0x578758=_0x22c93f,{scaleX:_0x35cd85,scaleY:_0xbdcb4c}=this['_scene']['getAncestorScale']();return Math[_0x578758(0x3af)](_0x35cd85,_0xbdcb4c);}}var _0x24f0c9=Object['getOwnPropertyDescriptor'],_0x363fd4=(_0x3bfdba,_0x574a3f,_0x1951df,_0x4a0b99)=>{const _0x278083=_0x22c93f;for(var _0x3c6b00=_0x4a0b99>0x1?void 0x0:_0x4a0b99?_0x24f0c9(_0x574a3f,_0x1951df):_0x574a3f,_0x353f54=_0x3bfdba[_0x278083(0x1e1)]-0x1,_0x2d2ca4;_0x353f54>=0x0;_0x353f54--)(_0x2d2ca4=_0x3bfdba[_0x353f54])&&(_0x3c6b00=_0x2d2ca4(_0x3c6b00)||_0x3c6b00);return _0x3c6b00;},_0x48db0f=(_0x476a12,_0x4ffaf9)=>(_0x47afcf,_0x4700db)=>_0x4ffaf9(_0x47afcf,_0x4700db,_0x476a12);let _0x456357=class extends _0x112654[_0x22c93f(0x3f1)]{constructor(_0x4fadb9,_0x4ed5cd,_0x4f54af,_0x19d5f8,_0x2ee451){const _0x40cb74=_0x22c93f;super(),_0x296e20(this,'_cursorShapes',[]),_0x296e20(this,_0x40cb74(0x217),[]),(this['_context']=_0x4fadb9,this['_docSkeletonManagerService']=_0x4ed5cd,this['_collabCursorController']=_0x4f54af,this['_commandService']=_0x19d5f8,this['_themeService']=_0x2ee451,this[_0x40cb74(0x24f)]());}[_0x22c93f(0x24f)](){const _0x378fe8=_0x22c93f,_0x2bafa3=this[_0x378fe8(0x2c7)][_0x378fe8(0x49a)],_0x2da2b8=this[_0x378fe8(0x3f9)];this['disposeWithMe'](_0x2d6ce3['combineLatest']([this[_0x378fe8(0x347)][_0x378fe8(0x2d7)](_0x2bafa3),this[_0x378fe8(0x3ea)][_0x378fe8(0x495)]])[_0x378fe8(0x394)](_0x297365[_0x378fe8(0x40a)](([_0x647a9b,_0x3b6c3f])=>({'skeleton':_0x2da2b8[_0x378fe8(0x47d)](),'cursors':[..._0x647a9b[_0x378fe8(0x44d)]()][_0x378fe8(0x344)](_0x56e2f2=>({..._0x56e2f2,'color':this[_0x378fe8(0x3ea)][_0x378fe8(0x2b0)](_0x56e2f2[_0x378fe8(0x2ea)])}))})))[_0x378fe8(0x38f)](_0x3a73ce=>{const _0x31bac5=_0x378fe8;if(this['_removeCollabCursors'](),_0x3a73ce){const {skeleton:_0xb9d77c,cursors:_0x53b039}=_0x3a73ce;this[_0x31bac5(0x3f3)](_0xb9d77c,_0x53b039);}})),this[_0x378fe8(0x4be)](),this[_0x378fe8(0x34e)]();}[_0x22c93f(0x3f3)](_0x1d0886,_0x5920ba){const _0x6aba37=_0x22c93f,{scene:_0x3e492f,mainComponent:_0x2d1b0e}=this[_0x6aba37(0x2c7)],_0x452350=_0x5920ba['map'](_0x52315f=>new _0xaf9508(_0x52315f,_0x3e492f,_0x1d0886,_0x2d1b0e));this['_cursorShapes']=_0x452350,this[_0x6aba37(0x217)]=_0x5920ba;}[_0x22c93f(0x29e)](){const _0x4bcb4d=_0x22c93f;this[_0x4bcb4d(0x31e)]();const {scene:_0x4bcbb5,mainComponent:_0x48c565}=this[_0x4bcb4d(0x2c7)],_0x1f8f93=this['_docSkeletonManagerService'][_0x4bcb4d(0x47d)](),_0x23c36e=this[_0x4bcb4d(0x217)][_0x4bcb4d(0x40a)](_0x42136b=>new _0xaf9508(_0x42136b,_0x4bcbb5,_0x1f8f93,_0x48c565));this[_0x4bcb4d(0x305)]=_0x23c36e;}['_removeCollabCursors'](){const _0x4e3e40=_0x22c93f;this['_cursorShapes']['forEach'](_0x54c3d3=>_0x54c3d3[_0x4e3e40(0x3b1)]()),this[_0x4e3e40(0x305)]=[];}[_0x22c93f(0x34e)](){const _0x18d2fe=_0x22c93f,_0x41bd74=[_0x18e83e['SetDocZoomRatioOperation']['id']];this[_0x18d2fe(0x378)](this[_0x18d2fe(0x462)][_0x18d2fe(0x2e1)](_0x4bc9aa=>{const _0x466cfd=_0x18d2fe;_0x41bd74[_0x466cfd(0x349)](_0x4bc9aa['id'])&&_0x4bc9aa[_0x466cfd(0x2f1)]['unitId']===this[_0x466cfd(0x2c7)][_0x466cfd(0x49a)]&&this[_0x466cfd(0x29e)]();}));}[_0x22c93f(0x4be)](){const _0x1251c2=_0x22c93f;this[_0x1251c2(0x378)](_0x112654[_0x1251c2(0x404)](this[_0x1251c2(0x2c7)][_0x1251c2(0x334)]['onTransformChange$'])[_0x1251c2(0x394)](_0x297365['filter'](_0x16a15b=>_0x16a15b[_0x1251c2(0x38c)]===_0x51f1a5[_0x1251c2(0x48b)]['resize']),_0x297365[_0x1251c2(0x23a)](0x10))[_0x1251c2(0x38f)](()=>{this['_refreshCollabCursors']();}));}};_0x456357=_0x363fd4([_0x48db0f(0x1,_0x112654[_0x22c93f(0x271)](_0x4ec653['DocSkeletonManagerService'])),_0x48db0f(0x2,_0x112654[_0x22c93f(0x271)](_0x2107a2)),_0x48db0f(0x3,_0x112654[_0x22c93f(0x31c)]),_0x48db0f(0x4,_0x112654[_0x22c93f(0x271)](_0x112654['ThemeService']))],_0x456357);const _0xf8cf98=0x1,_0x28784a=1.5;class _0x4388f0 extends _0x51f1a5[_0x22c93f(0x426)]{constructor(_0x298c39,_0x26673b){const _0x4cba5f=_0x22c93f;super(_0x298c39,_0x26673b),_0x296e20(this,_0x4cba5f(0x20e)),_0x296e20(this,_0x4cba5f(0x494),!0x1),_0x296e20(this,_0x4cba5f(0x251)),_0x296e20(this,_0x4cba5f(0x47a),''),_0x296e20(this,_0x4cba5f(0x4b0),'top'),_0x296e20(this,'_backgroundColor'),(_0x26673b&&this['setShapeProps'](_0x26673b),this[_0x4cba5f(0x4b4)][_0x4cba5f(0x39d)](()=>this[_0x4cba5f(0x30b)]({'hovered':!0x0})),this[_0x4cba5f(0x4ae)][_0x4cba5f(0x39d)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x22c93f(0x30b)](_0x1dc428){const _0x12adc7=_0x22c93f;var _0x8a07ba,_0x15a810,_0x630ccf,_0x9a174f,_0x7295a1,_0x35d754;this['_color']=(_0x8a07ba=_0x1dc428[_0x12adc7(0x2ea)])!=null?_0x8a07ba:this[_0x12adc7(0x20e)],this[_0x12adc7(0x494)]=(_0x15a810=_0x1dc428[_0x12adc7(0x2d1)])!=null?_0x15a810:this[_0x12adc7(0x494)],this[_0x12adc7(0x251)]=(_0x630ccf=_0x1dc428['range'])!=null?_0x630ccf:this['_range'],this[_0x12adc7(0x47a)]=(_0x9a174f=_0x1dc428[_0x12adc7(0x1f1)])!=null?_0x9a174f:this['_name'],this[_0x12adc7(0x4b0)]=(_0x7295a1=_0x1dc428[_0x12adc7(0x40c)])!=null?_0x7295a1:this['_labelPosition'],this[_0x12adc7(0x332)]=(_0x35d754=_0x1dc428[_0x12adc7(0x4b6)])!=null?_0x35d754:this[_0x12adc7(0x332)],this['transformByState']({'width':_0x1dc428[_0x12adc7(0x353)],'height':_0x1dc428['height']});}[_0x22c93f(0x497)](_0x1e0c5a){const _0x1b01d0=_0x22c93f,{row:_0x5dd25e,column:_0x1449ec}=_0x1e0c5a;if(_0x5dd25e>=this[_0x1b01d0(0x251)][_0x1b01d0(0x228)]&&_0x5dd25e<=this[_0x1b01d0(0x251)][_0x1b01d0(0x1de)]&&_0x1449ec>=this[_0x1b01d0(0x251)]['startColumn']&&_0x1449ec<=this[_0x1b01d0(0x251)][_0x1b01d0(0x2fe)]){this[_0x1b01d0(0x30b)]({'hovered':!0x0});return;}this[_0x1b01d0(0x30b)]({'hovered':!0x1});}['triggerDblclick'](_0x5d5aa2){return!0x1;}[_0x22c93f(0x331)](_0x20f9bb){const _0x1e7aff=_0x22c93f;_0x51f1a5[_0x1e7aff(0x3ff)]['drawWith'](_0x20f9bb,{'width':this['width'],'height':this[_0x1e7aff(0x3d5)],'strokeWidth':_0x28784a,'stroke':this[_0x1e7aff(0x20e)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x1e7aff(0x494)]&&(_0x20f9bb[_0x1e7aff(0x25b)](),_0x20f9bb[_0x1e7aff(0x343)](0x1,0x0,0x0,0x1,this[_0x1e7aff(0x353)],this[_0x1e7aff(0x4b0)]===_0x1e7aff(0x21b)?0x0:-_0x4de390),_0x264472['drawWith'](_0x20f9bb,{'text':this['_name'],'color':this[_0x1e7aff(0x20e)]}),_0x20f9bb[_0x1e7aff(0x2bd)]());}}var _0x57b4c5=Object[_0x22c93f(0x215)],_0x3bdd80=(_0x4798d5,_0x11cb57,_0x3db26a,_0x57d756)=>{const _0x9a1025=_0x22c93f;for(var _0x4bbbe1=_0x57d756>0x1?void 0x0:_0x57d756?_0x57b4c5(_0x11cb57,_0x3db26a):_0x11cb57,_0x2abfd8=_0x4798d5[_0x9a1025(0x1e1)]-0x1,_0x1b9636;_0x2abfd8>=0x0;_0x2abfd8--)(_0x1b9636=_0x4798d5[_0x2abfd8])&&(_0x4bbbe1=_0x1b9636(_0x4bbbe1)||_0x4bbbe1);return _0x4bbbe1;},_0x3b0af7=(_0x11c8f2,_0x1d6b53)=>(_0x50e0ec,_0x56ec2e)=>_0x1d6b53(_0x50e0ec,_0x56ec2e,_0x11c8f2);const _0x18fd5e=0x1389;let _0x443b63=class extends _0x112654['RxDisposable']{constructor(_0x3ac435,_0x5e8361,_0x49d64f,_0x419ccc){const _0x3daccd=_0x22c93f;super(),_0x296e20(this,_0x3daccd(0x217),new Set()),_0x296e20(this,_0x3daccd(0x307),null),(this[_0x3daccd(0x2c7)]=_0x3ac435,this['_sheetSkeletonManagerService']=_0x5e8361,this[_0x3daccd(0x347)]=_0x49d64f,this[_0x3daccd(0x3ea)]=_0x419ccc,this[_0x3daccd(0x24f)]());}[_0x22c93f(0x24f)](){const _0x548dfe=_0x22c93f;this[_0x548dfe(0x36e)]['currentSkeleton$'][_0x548dfe(0x394)](_0x297365[_0x548dfe(0x3a9)](this['dispose$']),_0x297365[_0x548dfe(0x397)](_0x13aaeb=>{const _0x219f8d=_0x548dfe;if(_0x13aaeb){const _0x2b1340=_0x13aaeb[_0x219f8d(0x21e)];return _0x2d6ce3[_0x219f8d(0x2b3)](this[_0x219f8d(0x347)][_0x219f8d(0x2d7)](this[_0x219f8d(0x2c7)][_0x219f8d(0x49a)]),this['_themeService'][_0x219f8d(0x495)])['pipe'](_0x297365[_0x219f8d(0x40a)](([_0x57bb49,_0x17a068])=>{const _0x208543=_0x219f8d,_0x442787=new Map();return _0x57bb49[_0x208543(0x22a)]((_0x8a5df2,_0x3e1fe4)=>{const _0x2feaec=_0x208543;if(_0x8a5df2[_0x2feaec(0x33d)]===_0x2b1340){const _0x1124c6={..._0x8a5df2};_0x1124c6['color']=this[_0x2feaec(0x3ea)][_0x2feaec(0x2b0)](_0x8a5df2[_0x2feaec(0x2ea)]),_0x442787[_0x2feaec(0x342)](_0x3e1fe4,_0x1124c6);}}),{'skeleton':_0x13aaeb,'cursors':_0x442787};}));}return _0x2d6ce3['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0xe746d,cursors:_0x1c99dc})=>{const _0x41c348=_0x548dfe;this[_0x41c348(0x31e)](),_0xe746d&&this[_0x41c348(0x3f3)](_0xe746d,_0x1c99dc);}),this[_0x548dfe(0x36e)][_0x548dfe(0x4ad)][_0x548dfe(0x38f)](_0x4f0cc9=>{const _0x37b6e2=_0x548dfe;if(_0x4f0cc9==null)return;const {skeleton:_0x61e502}=_0x4f0cc9,{scene:_0x1de6aa}=this['_context'];_0x1de6aa['onPointerMove$'][_0x37b6e2(0x39d)](_0x112654[_0x37b6e2(0x40e)](_0x431a08=>{const _0x5b0ab4=_0x37b6e2;var _0x3daf68,_0x6fafdf;const {offsetX:_0x10d07a,offsetY:_0x4d592a}=_0x431a08,{x:_0x25abc0,y:_0x2c118e}=_0x1de6aa[_0x5b0ab4(0x3f2)](_0x51f1a5['Vector2'][_0x5b0ab4(0x436)]([_0x10d07a,_0x4d592a])),{scaleX:_0x2c7603,scaleY:_0x5937a5}=_0x1de6aa[_0x5b0ab4(0x1fd)](),_0x195060=_0x1de6aa[_0x5b0ab4(0x232)](_0x51f1a5[_0x5b0ab4(0x2c4)][_0x5b0ab4(0x3b5)]),_0x19b319=_0x1de6aa[_0x5b0ab4(0x2b2)](_0x51f1a5[_0x5b0ab4(0x2d6)]['FromArray']([_0x25abc0,_0x2c118e]),_0x195060),_0x5c3774=_0x61e502['getCellPositionByOffset'](_0x10d07a,_0x4d592a,_0x2c7603,_0x5937a5,_0x19b319);((_0x3daf68=this[_0x5b0ab4(0x307)])==null?void 0x0:_0x3daf68['column'])===_0x5c3774['column']&&((_0x6fafdf=this[_0x5b0ab4(0x307)])==null?void 0x0:_0x6fafdf[_0x5b0ab4(0x381)])===_0x5c3774[_0x5b0ab4(0x381)]||this['_cursors'][_0x5b0ab4(0x22a)](_0x50c6a0=>{const _0x34c9e2=_0x5b0ab4;_0x50c6a0[_0x34c9e2(0x497)](_0x5c3774);});},0x64));});}[_0x22c93f(0x3f3)](_0x660af4,_0x5dd976){const _0x281f27=_0x22c93f;var _0x880341;const _0x15bec3=(_0x880341=this['_sheetSkeletonManagerService'][_0x281f27(0x474)]())==null?void 0x0:_0x880341[_0x281f27(0x2c9)];if(!_0x15bec3)return;const _0x3727e2=this[_0x281f27(0x1fc)]();if(!_0x3727e2)return;this['_cursors'][_0x281f27(0x22a)](_0xed4643=>{const _0x440120=_0x281f27;_0xed4643[_0x440120(0x454)]();});const {scene:_0x50b1b2}=_0x3727e2,_0x2fda1a=_0xd49f43(Array[_0x281f27(0x229)](_0x5dd976[_0x281f27(0x44d)]()))[_0x281f27(0x40a)](_0x379100=>{const _0x505885=_0x281f27,{color:_0x2d4fe9,range:_0xad83f4,name:_0x29e6a2,selection:_0x5e681d,sheetID:_0x1e9c19}=_0x379100,{startColumn:_0x148d1f,startRow:_0x591919,endColumn:_0x3060bf,endRow:_0x92deed}=_0xad83f4,_0x297590=_0x3c07b8[_0x505885(0x24b)](_0x591919,_0x148d1f,_0x50b1b2,_0x15bec3),_0x4af53a=_0x3c07b8[_0x505885(0x24b)](_0x92deed,_0x3060bf,_0x50b1b2,_0x15bec3),{columnHeaderHeightAndMarginTop:_0x1dc71b}=_0x15bec3,{startX:_0x2b5966,startY:_0x3e5120}=_0x297590,{endX:_0x5ae962,endY:_0x51d0f1}=_0x4af53a,_0xb5284b=_0x5ae962-_0x2b5966,_0x4ad341=_0x51d0f1-_0x3e5120,_0x3a6b9c={'labelPosition':_0x3e5120-_0x1dc71b>=_0x4de390?_0x505885(0x2b4):_0x505885(0x21b),'sheetID':_0x1e9c19,'range':_0xad83f4,'color':_0x2d4fe9,'name':_0x29e6a2,'selection':_0x5e681d,'left':_0x2b5966,'top':_0x3e5120,'width':_0xb5284b,'height':_0x4ad341,'evented':!0x1,'zIndex':_0x18fd5e};return new _0x4388f0(_0x29e6a2,_0x3a6b9c);});_0x50b1b2[_0x281f27(0x2ae)](_0x2fda1a,_0xf8cf98),this[_0x281f27(0x217)]=new Set(_0x2fda1a);}[_0x22c93f(0x31e)](){const _0x50ecbc=_0x22c93f;var _0x567903;(_0x567903=this[_0x50ecbc(0x217)])==null||_0x567903[_0x50ecbc(0x22a)](_0x513c5c=>_0x513c5c[_0x50ecbc(0x3b1)]());}[_0x22c93f(0x1fc)](){const _0x3bcadc=_0x22c93f;return _0x3c07b8['getSheetObject'](this[_0x3bcadc(0x2c7)][_0x3bcadc(0x30e)],this[_0x3bcadc(0x2c7)]);}};_0x443b63=_0x3bdd80([_0x3b0af7(0x1,_0x112654['Inject'](_0x3c07b8[_0x22c93f(0x267)])),_0x3b0af7(0x2,_0x112654[_0x22c93f(0x271)](_0x2107a2)),_0x3b0af7(0x3,_0x112654[_0x22c93f(0x271)](_0x112654[_0x22c93f(0x3dd)]))],_0x443b63);function _0xd49f43(_0x117f7c){const _0x3f1da1=_0x22c93f,_0x30882b=new Map();return _0x117f7c['forEach'](_0x354e3f=>{const _0xc2215d=_0x3bdd;if(_0x30882b[_0xc2215d(0x475)](_0x354e3f[_0xc2215d(0x36d)])){const _0x1f98ed=_0x30882b['get'](_0x354e3f[_0xc2215d(0x36d)]);_0x1f98ed[_0xc2215d(0x1f1)]+=',\x20'+_0x354e3f[_0xc2215d(0x1f1)];}else _0x30882b[_0xc2215d(0x342)](_0x354e3f[_0xc2215d(0x36d)],_0x354e3f);}),Array[_0x3f1da1(0x229)](_0x30882b[_0x3f1da1(0x44d)]());}var _0x36dd0f=Object[_0x22c93f(0x215)],_0x5a9a34=(_0x384887,_0x35e634,_0x24a316,_0x4f82b5)=>{const _0x2a5201=_0x22c93f;for(var _0x346a8c=_0x4f82b5>0x1?void 0x0:_0x4f82b5?_0x36dd0f(_0x35e634,_0x24a316):_0x35e634,_0x2fe8b0=_0x384887[_0x2a5201(0x1e1)]-0x1,_0x14920c;_0x2fe8b0>=0x0;_0x2fe8b0--)(_0x14920c=_0x384887[_0x2fe8b0])&&(_0x346a8c=_0x14920c(_0x346a8c)||_0x346a8c);return _0x346a8c;},_0x31d756=(_0x446e7f,_0x559a65)=>(_0x112151,_0x21942c)=>_0x559a65(_0x112151,_0x21942c,_0x446e7f);let _0x5a3bea=class extends _0x112654[_0x22c93f(0x4b7)]{constructor(_0x2971dc,_0x5590e0,_0x3b62cc,_0x27c029,_0x527fdb,_0x6c220a){const _0xac94fd=_0x22c93f;super(),this[_0xac94fd(0x304)]=_0x2971dc,this['_localCacheService']=_0x5590e0,this[_0xac94fd(0x32b)]=_0x3b62cc,this[_0xac94fd(0x1ef)]=_0x27c029,this[_0xac94fd(0x3ef)]=_0x527fdb,this['_localeService']=_0x6c220a,this[_0xac94fd(0x259)](),this[_0xac94fd(0x2d3)]();}[_0x22c93f(0x259)](){const _0x66beed=_0x22c93f;this[_0x66beed(0x378)](this['_beforeCloseService'][_0x66beed(0x1ec)](()=>{const _0x421e63=_0x66beed;if(this[_0x421e63(0x3e1)][_0x421e63(0x439)][_0x421e63(0x357)])return this[_0x421e63(0x489)]['t']('collaboration.offline-data-not-saved');}));}[_0x22c93f(0x2d3)](){const _0x3fd1fe=_0x22c93f;this[_0x3fd1fe(0x378)](this[_0x3fd1fe(0x32b)][_0x3fd1fe(0x32c)][_0x3fd1fe(0x38f)](_0x20313b=>{const _0x1a08b8=_0x3fd1fe;_0x20313b['id']===_0x3a923d['CollaborationUIEventId']['OTHER_CLIENT_EDITING']&&this[_0x1a08b8(0x1ef)][_0x1a08b8(0x407)]({'type':_0x13b14c[_0x1a08b8(0x1f0)][_0x1a08b8(0x477)],'content':this[_0x1a08b8(0x489)]['t'](_0x1a08b8(0x4c3))}),_0x20313b['id']===_0x3a923d[_0x1a08b8(0x453)][_0x1a08b8(0x395)]&&this[_0x1a08b8(0x1ef)][_0x1a08b8(0x407)]({'type':_0x13b14c[_0x1a08b8(0x1f0)][_0x1a08b8(0x477)],'content':this[_0x1a08b8(0x489)]['t'](_0x1a08b8(0x323))}),_0x20313b['id']===_0x3a923d[_0x1a08b8(0x453)]['PERMISSION_DENIED']&&this[_0x1a08b8(0x3ef)]['show']({'title':this[_0x1a08b8(0x489)]['t']('permission.title'),'content':this[_0x1a08b8(0x489)]['t'](_0x1a08b8(0x281)),'type':_0x1a08b8(0x3bc),'duration':0x0}),_0x20313b['id']===_0x3a923d[_0x1a08b8(0x453)]['CONFLICT']&&this[_0x1a08b8(0x1ef)][_0x1a08b8(0x407)]({'type':_0x13b14c[_0x1a08b8(0x1f0)][_0x1a08b8(0x303)],'content':this[_0x1a08b8(0x489)]['t']('collaboration.closeRoom')+'('+_0x20313b[_0x1a08b8(0x273)]+')'}),_0x20313b['id']===_0x3a923d[_0x1a08b8(0x453)][_0x1a08b8(0x26f)]&&this['_messageService'][_0x1a08b8(0x407)]({'type':_0x13b14c['MessageType'][_0x1a08b8(0x477)],'content':this[_0x1a08b8(0x489)]['t'](_0x20313b[_0x1a08b8(0x273)]||'')}),_0x20313b['id']===_0x3a923d[_0x1a08b8(0x453)][_0x1a08b8(0x42e)]&&this[_0x1a08b8(0x1ef)]['show']({'type':_0x13b14c[_0x1a08b8(0x1f0)][_0x1a08b8(0x477)],'content':this[_0x1a08b8(0x489)]['t'](_0x1a08b8(0x406))}),_0x20313b['id']===_0x3a923d[_0x1a08b8(0x453)][_0x1a08b8(0x468)]&&this[_0x1a08b8(0x1ef)][_0x1a08b8(0x407)]({'type':_0x13b14c[_0x1a08b8(0x1f0)]['Error'],'content':this[_0x1a08b8(0x489)]['t'](_0x1a08b8(0x413))}),_0x20313b['id']===_0x3a923d[_0x1a08b8(0x453)][_0x1a08b8(0x28b)]&&this[_0x1a08b8(0x1ef)][_0x1a08b8(0x407)]({'type':_0x13b14c[_0x1a08b8(0x1f0)][_0x1a08b8(0x303)],'content':this[_0x1a08b8(0x489)]['t'](_0x1a08b8(0x236))});}));}};_0x5a3bea=_0x5a9a34([_0x31d756(0x0,_0x282264[_0x22c93f(0x2f2)]),_0x31d756(0x1,_0x3a923d[_0x22c93f(0x2f7)]),_0x31d756(0x2,_0x112654[_0x22c93f(0x271)](_0x3a923d[_0x22c93f(0x493)])),_0x31d756(0x3,_0x282264[_0x22c93f(0x49d)]),_0x31d756(0x4,_0x282264[_0x22c93f(0x3cc)]),_0x31d756(0x5,_0x112654[_0x22c93f(0x271)](_0x112654[_0x22c93f(0x1fa)]))],_0x5a3bea);var _0x9de96b=Object[_0x22c93f(0x215)],_0xb5c0ee=(_0x357513,_0x42ad61,_0x20aa45,_0x1c759b)=>{const _0x1a0233=_0x22c93f;for(var _0x33c0a1=_0x1c759b>0x1?void 0x0:_0x1c759b?_0x9de96b(_0x42ad61,_0x20aa45):_0x42ad61,_0x32e876=_0x357513[_0x1a0233(0x1e1)]-0x1,_0x463807;_0x32e876>=0x0;_0x32e876--)(_0x463807=_0x357513[_0x32e876])&&(_0x33c0a1=_0x463807(_0x33c0a1)||_0x33c0a1);return _0x33c0a1;},_0x474e44=(_0xcafaf1,_0x4e2b22)=>(_0x678889,_0x59d264)=>_0x4e2b22(_0x678889,_0x59d264,_0xcafaf1);let _0x52b21b=class extends _0x112654['Disposable']{constructor(_0x230aa6,_0x5399d1,_0x4ce24c,_0x38ae56){const _0xac89aa=_0x22c93f;super(),_0x296e20(this,_0xac89aa(0x2e5)),(this['_injector']=_0x230aa6,this['_httpService']=_0x5399d1,this[_0xac89aa(0x415)]=_0x4ce24c,this[_0xac89aa(0x2a9)]=_0x38ae56,this[_0xac89aa(0x24f)]());}['_init'](){const _0xc31a38=_0x22c93f;this[_0xc31a38(0x1d2)](),this[_0xc31a38(0x4a0)](),this[_0xc31a38(0x283)](),this['_initUserListener']();}[_0x22c93f(0x2db)](){const _0x116f1f=_0x22c93f;this[_0x116f1f(0x378)](this[_0x116f1f(0x2a9)][_0x116f1f(0x284)]['subscribe'](_0x4e27e0=>{this['_memberID']=_0x4e27e0==null?void 0x0:_0x4e27e0['memberID'];}));}['_initWindowErrorListener'](){const _0x46a56f=_0x5b939a=>{const _0x55fd36=_0x3bdd;var _0x1022ea;this[_0x55fd36(0x31f)](_0x55fd36(0x3bc),'[Window\x20Error]:\x20'+_0x5b939a[_0x55fd36(0x34c)]+_0x55fd36(0x432)+_0x5b939a[_0x55fd36(0x26e)]+':'+_0x5b939a[_0x55fd36(0x39c)]+':'+_0x5b939a[_0x55fd36(0x214)]+'\x0a'+(((_0x1022ea=_0x5b939a['error'])==null?void 0x0:_0x1022ea[_0x55fd36(0x469)])||''));};window['addEventListener']('error',_0x46a56f),this['disposeWithMe'](()=>{const _0x14316d=_0x3bdd;window[_0x14316d(0x423)](_0x14316d(0x3bc),_0x46a56f);});}[_0x22c93f(0x4a0)](){const _0x10a9d2=_0x22c93f,_0x347548=_0x17716b=>{const _0x30aef3=_0x3bdd;this['_uploadLog'](_0x30aef3(0x3bc),_0x30aef3(0x472)+_0x17716b[_0x30aef3(0x408)]);};window[_0x10a9d2(0x1e2)](_0x10a9d2(0x49c),_0x347548),this[_0x10a9d2(0x378)](()=>{const _0x113ba1=_0x10a9d2;window[_0x113ba1(0x423)](_0x113ba1(0x49c),_0x347548);});}['_monkeyPatchLogService'](){const _0x430d2a=_0x22c93f,_0x1c4e18=this[_0x430d2a(0x415)]['error'][_0x430d2a(0x348)](this[_0x430d2a(0x415)]);this[_0x430d2a(0x415)]['error']=(..._0x5708a5)=>{const _0x37cf64=_0x430d2a,_0x38326d=_0x5708a5[_0x37cf64(0x40a)](_0x26a72c=>_0x26a72c instanceof Error?_0x26a72c[_0x37cf64(0x34c)]+'\x0a'+_0x26a72c[_0x37cf64(0x469)]:String(_0x26a72c))[_0x37cf64(0x345)]('\x20');this[_0x37cf64(0x31f)](_0x37cf64(0x3bc),'[LogService\x20Error]:\x20'+_0x38326d),_0x1c4e18(..._0x5708a5);},this['disposeWithMe'](()=>{const _0x5a6167=_0x430d2a;this['_logService'][_0x5a6167(0x3bc)]=_0x1c4e18;});}[_0x22c93f(0x31f)](_0xe35763,_0x17db31){const _0x24dc5b=_0x22c93f;try{const _0x569c72={'userId':this[_0x24dc5b(0x2e5)],'logLabel':_0xe35763,'content':_0x17db31};this[_0x24dc5b(0x427)]['post'](_0x24dc5b(0x3ac),{'body':_0x569c72})[_0x24dc5b(0x27d)](()=>{});}catch{}}};_0x52b21b=_0xb5c0ee([_0x474e44(0x0,_0x112654[_0x22c93f(0x271)](_0x112654[_0x22c93f(0x3c7)])),_0x474e44(0x1,_0x112654['Inject'](_0x9da3dd[_0x22c93f(0x3a2)])),_0x474e44(0x2,_0x112654[_0x22c93f(0x24d)]),_0x474e44(0x3,_0x112654[_0x22c93f(0x271)](_0x3a923d[_0x22c93f(0x491)]))],_0x52b21b);const _0x22dc29=_0x22c93f(0x45f),_0x535439={};var _0x69c5c=Object[_0x22c93f(0x215)],_0x4f9f04=(_0x103fa2,_0x14fbca,_0x5659f9,_0x4b770b)=>{for(var _0x280a80=_0x4b770b>0x1?void 0x0:_0x4b770b?_0x69c5c(_0x14fbca,_0x5659f9):_0x14fbca,_0x3b433c=_0x103fa2['length']-0x1,_0xa376dd;_0x3b433c>=0x0;_0x3b433c--)(_0xa376dd=_0x103fa2[_0x3b433c])&&(_0x280a80=_0xa376dd(_0x280a80)||_0x280a80);return _0x280a80;},_0x225d2f=(_0x1c5b51,_0x1cc746)=>(_0x108e1f,_0x208c3c)=>_0x1cc746(_0x108e1f,_0x208c3c,_0x1c5b51);let _0x14505f=class{constructor(_0x17a4c0,_0x5afdb6){const _0xeb90b4=_0x22c93f;this['_transformService']=_0x17a4c0,this[_0xeb90b4(0x325)]=_0x5afdb6;}[_0x22c93f(0x2e2)](_0x192499){const _0xd5a79d=_0x22c93f;this['_transformUndoRedoStack'](_0x192499),this[_0xd5a79d(0x231)](_0x192499);}[_0x22c93f(0x46d)](_0x2d186e){const _0x4ea1bc=_0x22c93f,{unitID:_0x23e381}=_0x2d186e,_0x247503=this[_0x4ea1bc(0x325)][_0x4ea1bc(0x47b)](_0x23e381)[_0x4ea1bc(0x242)](_0x18e83e[_0x4ea1bc(0x225)]),{redoCache:_0x3ff59c}=_0x247503[_0x4ea1bc(0x400)]();if(_0x3ff59c[_0x4ea1bc(0x1e1)]===0x0)return _0x2d186e;let _0x2074e2=_0x112654[_0x4ea1bc(0x208)]['deepClone'](_0x2d186e['mutations'][0x0]);for(let _0x4f2bfe=0x0;_0x4f2bfe<_0x3ff59c[_0x4ea1bc(0x1e1)];_0x4f2bfe++){const _0x457484={'id':_0x4ea1bc(0x36b),'params':{..._0x3ff59c[_0x4f2bfe]}},_0x12f6ef=this[_0x4ea1bc(0x31d)]['transformMutation'](_0x2074e2,_0x457484,!0x1);if(_0x61be75[_0x4ea1bc(0x372)](_0x12f6ef))throw _0x12f6ef[_0x4ea1bc(0x3bc)];_0x2074e2=_0x12f6ef[_0x4ea1bc(0x3be)];}return{..._0x112654[_0x4ea1bc(0x208)]['deepClone'](_0x2d186e),'mutations':[_0x2074e2]};}[_0x22c93f(0x374)](_0x73ba68){const _0x1d9d42=_0x22c93f,{unitID:_0x1926ea}=_0x73ba68,_0x36338d=this[_0x1d9d42(0x325)][_0x1d9d42(0x47b)](_0x1926ea)[_0x1d9d42(0x242)](_0x18e83e[_0x1d9d42(0x225)]),{undoCache:_0x48551c,redoCache:_0x25412b}=_0x36338d[_0x1d9d42(0x400)]();if(_0x48551c[_0x1d9d42(0x1e1)]===0x0||_0x25412b[_0x1d9d42(0x1e1)]===0x0)return;const _0x2a79bf=[],_0x139a79=[];let _0x1ec5b3=_0x112654[_0x1d9d42(0x208)][_0x1d9d42(0x47e)](_0x73ba68[_0x1d9d42(0x261)][0x0]),_0x5ace0d=_0x112654['Tools'][_0x1d9d42(0x47e)](_0x73ba68[_0x1d9d42(0x261)][0x0]);for(let _0x2417d4=_0x48551c[_0x1d9d42(0x1e1)]-0x1;_0x2417d4>=0x0;_0x2417d4--){const _0x1fc9ed={'id':_0x1d9d42(0x36b),'params':{..._0x48551c[_0x2417d4]}},_0x27d098={'id':_0x1d9d42(0x36b),'params':{..._0x25412b[_0x2417d4]}},_0x5f5743=this['_transformService'][_0x1d9d42(0x310)](_0x1ec5b3,_0x1fc9ed,!0x1),_0x49d224=this[_0x1d9d42(0x31d)][_0x1d9d42(0x310)](_0x5ace0d,_0x27d098,!0x1);if(_0x61be75[_0x1d9d42(0x372)](_0x5f5743))throw _0x5f5743['error'];if(_0x61be75[_0x1d9d42(0x372)](_0x49d224))throw _0x49d224['error'];_0x2a79bf[_0x1d9d42(0x41c)](_0x5f5743[_0x1d9d42(0x418)][_0x1d9d42(0x2f1)]),_0x139a79[_0x1d9d42(0x41c)](_0x49d224[_0x1d9d42(0x418)][_0x1d9d42(0x2f1)]),_0x1ec5b3=_0x5f5743[_0x1d9d42(0x3be)],_0x5ace0d=_0x49d224[_0x1d9d42(0x3be)];}_0x36338d[_0x1d9d42(0x20f)]({'undoCache':_0x2a79bf,'redoCache':_0x139a79});}['_transformPreviousActiveRange'](_0x1b6e7f){const _0x1c411d=_0x22c93f,{unitID:_0x483b2f}=_0x1b6e7f,_0x27ebc9=this[_0x1c411d(0x325)][_0x1c411d(0x47b)](_0x483b2f)[_0x1c411d(0x242)](_0x18e83e[_0x1c411d(0x225)]),_0xb0bbe3=_0x27ebc9[_0x1c411d(0x2fb)]();if(_0xb0bbe3==null)return;const _0x302c65=[{'id':_0x1c411d(0x36b),'params':{'unitId':_0x1b6e7f[_0x1c411d(0x422)],'actions':null,'textRanges':[_0xb0bbe3]}}],_0x13ec90=this[_0x1c411d(0x31d)]['transformMutationsWithChangeset'](_0x1b6e7f,_0x302c65);if(!_0x61be75['isTransformMutationsWithChangesetSuccess'](_0x13ec90))throw _0x13ec90[_0x1c411d(0x3bc)];const _0x4e243e=_0x13ec90[_0x1c411d(0x418)][0x0][_0x1c411d(0x2f1)][_0x1c411d(0x3b9)];Array[_0x1c411d(0x470)](_0x4e243e)&&_0x4e243e[_0x1c411d(0x1e1)]&&_0x27ebc9[_0x1c411d(0x282)](_0x4e243e[0x0]);}};_0x14505f=_0x4f9f04([_0x225d2f(0x0,_0x61be75[_0x22c93f(0x2d5)]),_0x225d2f(0x1,_0x51f1a5[_0x22c93f(0x412)])],_0x14505f);var _0x4cedf9=Object[_0x22c93f(0x215)],_0x1594da=(_0x18ba95,_0x37dd05,_0x2a6ee7,_0x9d55eb)=>{const _0x58f9ef=_0x22c93f;for(var _0x43246=_0x9d55eb>0x1?void 0x0:_0x9d55eb?_0x4cedf9(_0x37dd05,_0x2a6ee7):_0x37dd05,_0x6b4626=_0x18ba95[_0x58f9ef(0x1e1)]-0x1,_0x754fe1;_0x6b4626>=0x0;_0x6b4626--)(_0x754fe1=_0x18ba95[_0x6b4626])&&(_0x43246=_0x754fe1(_0x43246)||_0x43246);return _0x43246;},_0x2e4084=(_0x8877c7,_0x297d49)=>(_0x4e20d7,_0x1971c0)=>_0x297d49(_0x4e20d7,_0x1971c0,_0x8877c7);let _0x3eed12=class{constructor(_0x242433,_0x10ccea,_0x5c2a05){const _0x24510d=_0x22c93f;this[_0x24510d(0x42f)]=_0x242433,this[_0x24510d(0x31d)]=_0x10ccea,this[_0x24510d(0x42b)]=_0x5c2a05;}[_0x22c93f(0x311)](_0x33b3c3){const _0x1567c6=_0x22c93f;this[_0x1567c6(0x32d)](_0x33b3c3);}[_0x22c93f(0x46d)](_0x59e431){const _0x100372=_0x22c93f,{unitID:_0x51f1cc}=_0x59e431,{collaboration:_0x39ff1f}=this[_0x100372(0x42b)][_0x100372(0x3da)](_0x51f1cc);if(_0x39ff1f[_0x100372(0x1e1)]===0x0)return _0x59e431;let _0x274b62=_0x112654['Tools']['deepClone'](_0x59e431[_0x100372(0x261)][0x0]);for(let _0x374bd7=0x0;_0x374bd7<_0x39ff1f[_0x100372(0x1e1)];_0x374bd7++){const _0x373e9c={'id':_0x100372(0x36b),'params':{'unitId':_0x39ff1f[_0x374bd7]['unitId'],..._0x39ff1f[_0x374bd7]['redoState']}},_0x387960=this['_transformService'][_0x100372(0x310)](_0x274b62,_0x373e9c,!0x1);if(_0x61be75[_0x100372(0x372)](_0x387960))throw _0x387960['error'];_0x274b62=_0x387960['m1Prime'];}return{..._0x112654[_0x100372(0x208)]['deepClone'](_0x59e431),'mutations':[_0x274b62]};}[_0x22c93f(0x32d)](_0x1c783d){const _0x1bbee1=_0x22c93f,{unitID:_0x3b46b7}=_0x1c783d,{history:_0x3eea1e,collaboration:_0x449bd3}=this['_docStateChangeManagerService'][_0x1bbee1(0x3da)](_0x3b46b7);if(_0x3eea1e['length']===0x0&&_0x449bd3[_0x1bbee1(0x1e1)]===0x0)return;const _0x564380=[],_0x5ab95a=[];let _0x14d152=_0x112654[_0x1bbee1(0x208)][_0x1bbee1(0x47e)](_0x1c783d[_0x1bbee1(0x261)][0x0]),_0x39c916=_0x112654[_0x1bbee1(0x208)][_0x1bbee1(0x47e)](_0x1c783d[_0x1bbee1(0x261)][0x0]);for(let _0x573ed2=_0x3eea1e[_0x1bbee1(0x1e1)]-0x1;_0x573ed2>=0x0;_0x573ed2--){const _0x4dcb45={'id':_0x1bbee1(0x36b),'params':{'unitId':_0x3eea1e[_0x573ed2][_0x1bbee1(0x49a)],..._0x3eea1e[_0x573ed2][_0x1bbee1(0x481)]}},_0x806d22={'id':_0x1bbee1(0x36b),'params':{'unitId':_0x3eea1e[_0x573ed2]['unitId'],..._0x3eea1e[_0x573ed2]['redoState']}},_0x28f9f5=this[_0x1bbee1(0x31d)]['transformMutation'](_0x14d152,_0x4dcb45,!0x1),_0x27647b=this[_0x1bbee1(0x31d)][_0x1bbee1(0x310)](_0x39c916,_0x806d22,!0x1);if(_0x61be75[_0x1bbee1(0x372)](_0x28f9f5))throw _0x28f9f5['error'];if(_0x61be75[_0x1bbee1(0x372)](_0x27647b))throw _0x27647b[_0x1bbee1(0x3bc)];_0x564380[_0x1bbee1(0x41c)]({..._0x3eea1e[_0x573ed2],'undoState':_0x28f9f5[_0x1bbee1(0x418)][_0x1bbee1(0x2f1)],'redoState':_0x27647b['m2Prime'][_0x1bbee1(0x2f1)]}),_0x14d152=_0x28f9f5[_0x1bbee1(0x3be)],_0x39c916=_0x27647b[_0x1bbee1(0x3be)];}_0x14d152=_0x112654[_0x1bbee1(0x208)][_0x1bbee1(0x47e)](_0x1c783d[_0x1bbee1(0x261)][0x0]),_0x39c916=_0x112654['Tools'][_0x1bbee1(0x47e)](_0x1c783d['mutations'][0x0]);for(let _0x50f99e=_0x449bd3['length']-0x1;_0x50f99e>=0x0;_0x50f99e--){const _0x83aeae={'id':_0x1bbee1(0x36b),'params':{'unitId':_0x449bd3[_0x50f99e][_0x1bbee1(0x49a)],..._0x449bd3[_0x50f99e][_0x1bbee1(0x481)]}},_0xfbdf7f={'id':_0x1bbee1(0x36b),'params':{'unitId':_0x449bd3[_0x50f99e][_0x1bbee1(0x49a)],..._0x449bd3[_0x50f99e][_0x1bbee1(0x356)]}},_0x1c5c99=this[_0x1bbee1(0x31d)][_0x1bbee1(0x310)](_0x14d152,_0x83aeae,!0x1),_0x45cbec=this[_0x1bbee1(0x31d)][_0x1bbee1(0x310)](_0x39c916,_0xfbdf7f,!0x1);if(_0x61be75['isTransformMutationFailure'](_0x1c5c99))throw _0x1c5c99['error'];if(_0x61be75['isTransformMutationFailure'](_0x45cbec))throw _0x45cbec['error'];_0x5ab95a[_0x1bbee1(0x41c)]({..._0x449bd3[_0x50f99e],'undoState':_0x1c5c99[_0x1bbee1(0x418)][_0x1bbee1(0x2f1)],'redoState':_0x45cbec[_0x1bbee1(0x418)]['params']}),_0x14d152=_0x1c5c99[_0x1bbee1(0x3be)],_0x39c916=_0x45cbec[_0x1bbee1(0x3be)];}this[_0x1bbee1(0x42b)][_0x1bbee1(0x3f6)](_0x3b46b7,{'history':_0x564380,'collaboration':_0x5ab95a});}};_0x3eed12=_0x1594da([_0x2e4084(0x0,_0x112654[_0x22c93f(0x271)](_0x112654['Injector'])),_0x2e4084(0x1,_0x61be75['ITransformService']),_0x2e4084(0x2,_0x112654[_0x22c93f(0x271)](_0x18e83e[_0x22c93f(0x2d0)]))],_0x3eed12);var _0x2959e5=Object['getOwnPropertyDescriptor'],_0x29754e=(_0x48f99e,_0x3c968c,_0x3c0b39,_0x2da26b)=>{for(var _0x5c5578=_0x2da26b>0x1?void 0x0:_0x2da26b?_0x2959e5(_0x3c968c,_0x3c0b39):_0x3c968c,_0x198879=_0x48f99e['length']-0x1,_0x48a726;_0x198879>=0x0;_0x198879--)(_0x48a726=_0x48f99e[_0x198879])&&(_0x5c5578=_0x48a726(_0x5c5578)||_0x5c5578);return _0x5c5578;},_0x2e2ead=(_0x31943b,_0x5e414c)=>(_0x2026b1,_0x5948ce)=>_0x5e414c(_0x2026b1,_0x5948ce,_0x31943b);let _0x83e92a=class{constructor(_0x5cb199,_0x3c1d44){const _0x53a039=_0x22c93f;this[_0x53a039(0x42f)]=_0x5cb199,this[_0x53a039(0x31d)]=_0x3c1d44;}[_0x22c93f(0x2bf)](_0x1458a9){const _0x56a9f6=_0x22c93f;var _0x198313;const _0x12e552=this[_0x56a9f6(0x42f)][_0x56a9f6(0x1e8)](_0x4ec653['DocSelectionManagerService']),_0x4278a0=(_0x198313=_0x12e552[_0x56a9f6(0x255)]())!=null?_0x198313:[];if(_0x4278a0[_0x56a9f6(0x1e1)]===0x0)return;const _0x1d2ec4=_0x1458a9[_0x56a9f6(0x422)],_0x157046=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1d2ec4,'actions':null,'textRanges':_0x4278a0}}],_0x4f7523=this[_0x56a9f6(0x31d)][_0x56a9f6(0x416)](_0x1458a9,_0x157046);if(!_0x61be75[_0x56a9f6(0x2b7)](_0x4f7523))throw _0x4f7523['error'];const _0x14ffc6=_0x4f7523['m2Prime'][0x0][_0x56a9f6(0x2f1)][_0x56a9f6(0x3b9)];Array[_0x56a9f6(0x470)](_0x14ffc6)&&_0x14ffc6['length']&&_0x12e552[_0x56a9f6(0x35e)](_0x14ffc6,{'unitId':_0x1d2ec4,'subUnitId':_0x1d2ec4},!0x1);}};_0x83e92a=_0x29754e([_0x2e2ead(0x0,_0x112654[_0x22c93f(0x271)](_0x112654[_0x22c93f(0x3c7)])),_0x2e2ead(0x1,_0x61be75[_0x22c93f(0x2d5)])],_0x83e92a);var _0x49b3ae=Object[_0x22c93f(0x215)],_0x5d28a5=(_0x117e60,_0x448537,_0x48cf75,_0x4169ba)=>{const _0x88fa36=_0x22c93f;for(var _0x3c6728=_0x4169ba>0x1?void 0x0:_0x4169ba?_0x49b3ae(_0x448537,_0x48cf75):_0x448537,_0x3cdc1e=_0x117e60[_0x88fa36(0x1e1)]-0x1,_0x828bf7;_0x3cdc1e>=0x0;_0x3cdc1e--)(_0x828bf7=_0x117e60[_0x3cdc1e])&&(_0x3c6728=_0x828bf7(_0x3c6728)||_0x3c6728);return _0x3c6728;},_0x18f9e5=(_0x817683,_0xceaceb)=>(_0x35c130,_0x896880)=>_0xceaceb(_0x35c130,_0x896880,_0x817683);let _0x2b081c=class extends _0x112654[_0x22c93f(0x4b7)]{constructor(_0xa6cba7,_0x2a515f,_0x28d91d,_0x476b76,_0x5e6621,_0x1ffd03,_0x270cc5,_0x71d2dd){const _0x50395d=_0x22c93f;super(),_0x296e20(this,_0x50395d(0x213),new _0x2d6ce3[(_0x50395d(0x3e2))](_0x3a923d[_0x50395d(0x3ec)][_0x50395d(0x49e)])),(this[_0x50395d(0x42b)]=_0xa6cba7,this['_collaborationController']=_0x2a515f,this['_docTransformIMECacheService']=_0x28d91d,this[_0x50395d(0x3fb)]=_0x476b76,this[_0x50395d(0x37b)]=_0x5e6621,this['_docSyncEditingCollabCursorService']=_0x1ffd03,this[_0x50395d(0x1ef)]=_0x270cc5,this[_0x50395d(0x489)]=_0x71d2dd,this['_initEntityListener']());}['_initEntityListener'](){const _0x1aabc9=_0x22c93f;this[_0x1aabc9(0x378)](this[_0x1aabc9(0x252)]['entityInit$'][_0x1aabc9(0x38f)](_0x476781=>{const _0x29ccc1=_0x1aabc9,_0x2967f8=this[_0x29ccc1(0x42b)][_0x29ccc1(0x1d8)][_0x29ccc1(0x38f)](_0x614e61=>{const _0x540dc1=_0x29ccc1;if(_0x614e61==null)return;const {unitId:_0x5d367d,redoState:_0x18363b,commandId:_0x4254e6}=_0x614e61;if(_0x5d367d!==_0x476781[_0x540dc1(0x422)])return;const _0xc252c6={'id':_0x4254e6,'type':_0x112654['CommandType']['MUTATION'],'params':{'unitId':_0x5d367d,'actions':_0x18363b[_0x540dc1(0x3ce)],'textRanges':null}};_0x476781[_0x540dc1(0x414)](_0xc252c6);});if(_0x476781[_0x29ccc1(0x378)](_0x2967f8),_0x476781 instanceof _0x3a923d['DocCollaborationEntity']){const _0x5070c4={'onTransformIME':_0x149196=>this[_0x29ccc1(0x253)][_0x29ccc1(0x2e2)](_0x149196),'onTransformState':_0x7603b6=>this['_docTransformStateCacheService'][_0x29ccc1(0x311)](_0x7603b6),'onTransformSelections':_0xe55cb2=>this[_0x29ccc1(0x37b)]['transformSelections'](_0xe55cb2),'onSyncEditingCollabCursor':_0x44240b=>this[_0x29ccc1(0x4b5)][_0x29ccc1(0x29a)](_0x44240b),'onTransformRemoteChangesetByIMECache':_0x207e8c=>this['_docTransformIMECacheService'][_0x29ccc1(0x46d)](_0x207e8c),'onTransformRemoteChangesetByStateCache':_0x5a1e6f=>this[_0x29ccc1(0x3fb)][_0x29ccc1(0x46d)](_0x5a1e6f)};_0x476781[_0x29ccc1(0x223)](_0x5070c4);}}));}};_0x2b081c=_0x5d28a5([_0x18f9e5(0x0,_0x112654['Inject'](_0x18e83e[_0x22c93f(0x2d0)])),_0x18f9e5(0x1,_0x112654[_0x22c93f(0x271)](_0x3a923d['CollaborationController'])),_0x18f9e5(0x2,_0x112654['Inject'](_0x14505f)),_0x18f9e5(0x3,_0x112654['Inject'](_0x3eed12)),_0x18f9e5(0x4,_0x112654[_0x22c93f(0x271)](_0x83e92a)),_0x18f9e5(0x5,_0x112654['Inject'](_0x2783c1)),_0x18f9e5(0x6,_0x282264[_0x22c93f(0x49d)]),_0x18f9e5(0x7,_0x112654[_0x22c93f(0x271)](_0x112654[_0x22c93f(0x1fa)]))],_0x2b081c);var _0x209827=(_0x181d81=>(_0x181d81[_0x181d81[_0x22c93f(0x314)]=0x0]='UNDEFINED',_0x181d81[_0x181d81['OK']=0x1]='OK',_0x181d81[_0x181d81[_0x22c93f(0x434)]=0x2]=_0x22c93f(0x434),_0x181d81[_0x181d81[_0x22c93f(0x22e)]=0x3]=_0x22c93f(0x22e),_0x181d81[_0x181d81[_0x22c93f(0x29c)]=0x4]='NOT_FOUND',_0x181d81[_0x181d81['UNAUTHENTICATED']=0x5]=_0x22c93f(0x2e3),_0x181d81[_0x181d81[_0x22c93f(0x2a7)]=0x6]=_0x22c93f(0x2a7),_0x181d81[_0x181d81['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x181d81[_0x181d81[_0x22c93f(0x4bb)]=0x8]=_0x22c93f(0x4bb),_0x181d81[_0x181d81[_0x22c93f(0x3a0)]=0x9]=_0x22c93f(0x3a0),_0x181d81[_0x181d81['LOGIN_FAILED']=0xa]=_0x22c93f(0x205),_0x181d81[_0x181d81[_0x22c93f(0x361)]=0xb]=_0x22c93f(0x361),_0x181d81[_0x181d81[_0x22c93f(0x2ce)]=0xc]=_0x22c93f(0x2ce),_0x181d81[_0x181d81[_0x22c93f(0x3c6)]=0xd]=_0x22c93f(0x3c6),_0x181d81[_0x181d81[_0x22c93f(0x4c2)]=0xe]=_0x22c93f(0x4c2),_0x181d81[_0x181d81[_0x22c93f(0x20d)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x181d81[_0x181d81['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x181d81[_0x181d81[_0x22c93f(0x35b)]=0x64]=_0x22c93f(0x35b),_0x181d81[_0x181d81[_0x22c93f(0x21f)]=0x65]=_0x22c93f(0x21f),_0x181d81[_0x181d81[_0x22c93f(0x2a3)]=0xc9]=_0x22c93f(0x2a3),_0x181d81[_0x181d81[_0x22c93f(0x452)]=0xca]='USER_IS_ANONYMOUS',_0x181d81[_0x181d81['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x22c93f(0x1e6),_0x181d81[_0x181d81[_0x22c93f(0x4ac)]=0x1771]=_0x22c93f(0x4ac),_0x181d81[_0x181d81['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x22c93f(0x1e0),_0x181d81[_0x181d81[_0x22c93f(0x35d)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x181d81[_0x181d81[_0x22c93f(0x25d)]=0x1b59]='APPLY_REJECT',_0x181d81[_0x181d81[_0x22c93f(0x211)]=0x1b5a]=_0x22c93f(0x211),_0x181d81[_0x181d81[_0x22c93f(0x48f)]=0x1b5b]=_0x22c93f(0x48f),_0x181d81[_0x181d81['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x181d81[_0x181d81[_0x22c93f(0x308)]=0x1b5d]=_0x22c93f(0x308),_0x181d81[_0x181d81[_0x22c93f(0x4ba)]=0x1f41]=_0x22c93f(0x4ba),_0x181d81[_0x181d81[_0x22c93f(0x1f6)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x181d81[_0x181d81[_0x22c93f(0x222)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x181d81[_0x181d81[_0x22c93f(0x1da)]=0x232b]=_0x22c93f(0x1da),_0x181d81[_0x181d81[_0x22c93f(0x317)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x181d81[_0x181d81[_0x22c93f(0x3cd)]=0x232d]=_0x22c93f(0x3cd),_0x181d81[_0x181d81[_0x22c93f(0x402)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x181d81[_0x181d81[_0x22c93f(0x27e)]=0x2712]=_0x22c93f(0x27e),_0x181d81[_0x181d81[_0x22c93f(0x3f7)]=0x2713]=_0x22c93f(0x3f7),_0x181d81[_0x181d81['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x22c93f(0x32e),_0x181d81[_0x181d81[_0x22c93f(0x3df)]=0x271a]=_0x22c93f(0x3df),_0x181d81[_0x181d81[_0x22c93f(0x4bf)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x181d81[_0x181d81['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x181d81[_0x181d81[_0x22c93f(0x43d)]=0x271d]=_0x22c93f(0x43d),_0x181d81[_0x181d81[_0x22c93f(0x31a)]=0x271e]=_0x22c93f(0x31a),_0x181d81[_0x181d81['YUUMI_AI_RUN_FAILED']=0x271f]=_0x22c93f(0x482),_0x181d81[_0x181d81[_0x22c93f(0x2d9)]=0x2720]=_0x22c93f(0x2d9),_0x181d81[_0x181d81[_0x22c93f(0x27c)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x181d81[_0x181d81['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x181d81[_0x181d81[_0x22c93f(0x456)]=0x2ee2]='INVALID_INVITE_CODE',_0x181d81[_0x181d81['INVITE_CODE_REQUIRED']=0x2ee3]=_0x22c93f(0x272),_0x181d81[_0x181d81[_0x22c93f(0x3e8)]=0x2ee4]=_0x22c93f(0x3e8),_0x181d81[_0x181d81[_0x22c93f(0x30c)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x181d81[_0x181d81['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x22c93f(0x29f),_0x181d81[_0x181d81[_0x22c93f(0x4a3)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x181d81[_0x181d81[_0x22c93f(0x2ef)]=0x32cb]=_0x22c93f(0x2ef),_0x181d81[_0x181d81['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x181d81[_0x181d81[_0x22c93f(0x3a8)]=0x36b2]=_0x22c93f(0x3a8),_0x181d81[_0x181d81[_0x22c93f(0x36f)]=0x36b3]=_0x22c93f(0x36f),_0x181d81[_0x181d81['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x22c93f(0x33f),_0x181d81[_0x181d81['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x22c93f(0x28e),_0x181d81[_0x181d81['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0x22c93f(0x45a),_0x181d81[_0x181d81['ENTITLE_COUPON_USED_UP']=0x36b7]='ENTITLE_COUPON_USED_UP',_0x181d81[_0x181d81[_0x22c93f(0x279)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x181d81[_0x181d81[_0x22c93f(0x490)]=0x3715]=_0x22c93f(0x490),_0x181d81[_0x181d81[_0x22c93f(0x370)]=0x3716]=_0x22c93f(0x370),_0x181d81[_0x181d81['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x22c93f(0x42d),_0x181d81[_0x181d81['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x181d81[_0x181d81[_0x22c93f(0x29b)]=0x3a99]=_0x22c93f(0x29b),_0x181d81[_0x181d81['REDEMPTION_CODE_INACTIVE']=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x181d81[_0x181d81['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x22c93f(0x2a4),_0x181d81[_0x181d81[_0x22c93f(0x435)]=0x3a9c]=_0x22c93f(0x435),_0x181d81[_0x181d81['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x22c93f(0x2a1),_0x181d81[_0x181d81['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x22c93f(0x300),_0x181d81[_0x181d81[_0x22c93f(0x3e5)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x181d81[_0x181d81['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x22c93f(0x417),_0x181d81[_0x181d81['UNRECOGNIZED']=-0x1]=_0x22c93f(0x297),_0x181d81))(_0x209827||{});function _0x16f57a(_0x381a93){const _0x2c001b=_0x22c93f;var _0x6d63e,_0x17bef4;const _0x1c70c5=(_0x6d63e=_0x381a93[_0x2c001b(0x3ae)])==null?void 0x0:_0x6d63e[_0x2c001b(0x2de)],_0x9b6d79=((_0x17bef4=_0x381a93[_0x2c001b(0x3ae)])==null?void 0x0:_0x17bef4[_0x2c001b(0x2d2)])||0x0;return _0x1c70c5===_0x383adb[_0x2c001b(0x387)]['START_CALCULATION']&&_0x9b6d79>0x0;}function _0x3d1e9f(_0x4e3119){const _0x19ac3d=_0x22c93f;return _0x4e3119[_0x19ac3d(0x1d0)]===_0x383adb[_0x19ac3d(0x367)]['SUCCESS'];}var _0x5c450a=Object[_0x22c93f(0x215)],_0x500ce6=(_0x4b4b28,_0x32c290,_0x4ccd75,_0x57c82e)=>{for(var _0x1d8211=_0x57c82e>0x1?void 0x0:_0x57c82e?_0x5c450a(_0x32c290,_0x4ccd75):_0x32c290,_0x2b4875=_0x4b4b28['length']-0x1,_0x8a00ad;_0x2b4875>=0x0;_0x2b4875--)(_0x8a00ad=_0x4b4b28[_0x2b4875])&&(_0x1d8211=_0x8a00ad(_0x1d8211)||_0x1d8211);return _0x1d8211;},_0x55484e=(_0x32c96f,_0x3c2a9d)=>(_0x263a8e,_0x1231e7)=>_0x3c2a9d(_0x263a8e,_0x1231e7,_0x32c96f);const _0x293dcb='/universer-api/license/formula/limit/status',_0x59a75f=_0x22c93f(0x246),_0x257973='/universer-api/license/formula/limit/done';let _0xcbbe19=class extends _0x112654[_0x22c93f(0x4b7)]{constructor(_0x322063,_0x4a2db7,_0x516524,_0x2ebeec,_0x3ef828,_0x10cd50,_0x139b90){const _0x5ae568=_0x22c93f;super(),_0x296e20(this,_0x5ae568(0x286),null),_0x296e20(this,_0x5ae568(0x2cc),0x0),_0x296e20(this,_0x5ae568(0x4ab),0x0),_0x296e20(this,'_taskIds',[]),_0x296e20(this,_0x5ae568(0x3bd),0x0),(this[_0x5ae568(0x1ef)]=_0x322063,this[_0x5ae568(0x462)]=_0x4a2db7,this[_0x5ae568(0x433)]=_0x516524,this[_0x5ae568(0x427)]=_0x2ebeec,this[_0x5ae568(0x244)]=_0x3ef828,this[_0x5ae568(0x415)]=_0x10cd50,this[_0x5ae568(0x489)]=_0x139b90,this[_0x5ae568(0x371)]());}[_0x22c93f(0x371)](){const _0x2d5949=_0x22c93f;this[_0x2d5949(0x378)](this[_0x2d5949(0x462)]['beforeCommandExecuted']((_0x150598,_0x3b89f8)=>{const _0x20ee48=_0x2d5949;var _0x3cf551;if(_0x150598['id']!==_0x383adb[_0x20ee48(0x216)]['id'])return;const _0x1dc4f5=_0x150598[_0x20ee48(0x2f1)];if(!this['_hasFormulaInDirtyRanges']((_0x3cf551=_0x1dc4f5[_0x20ee48(0x26d)])!=null?_0x3cf551:[]))return;if(!this['_checkCalculationAvailable']())throw this[_0x20ee48(0x4a8)](_0x150598,_0x3b89f8),this[_0x20ee48(0x333)](),new _0x112654[(_0x20ee48(0x3a5))]();})),this['disposeWithMe'](this[_0x2d5949(0x462)][_0x2d5949(0x2e1)]((_0x2be5b4,_0x11d853)=>{const _0x2e949f=_0x2d5949;if(_0x2be5b4['id']!==_0x383adb[_0x2e949f(0x360)]['id'])return;const _0x18eea5=_0x2be5b4[_0x2e949f(0x2f1)];if(_0x16f57a(_0x18eea5)){const _0x2c0c90=_0x112654[_0x2e949f(0x4b3)]();this['_taskIds'][_0x2e949f(0x28f)](_0x2c0c90),this[_0x2e949f(0x1e5)](_0x2c0c90);}else{if(_0x3d1e9f(_0x18eea5)&&this[_0x2e949f(0x39a)]['length']>0x0){const _0x49b6b6=this['_taskIds'][_0x2e949f(0x329)]();this[_0x2e949f(0x3f0)](_0x49b6b6);}}}));}[_0x22c93f(0x3b1)](){const _0x14a398=_0x22c93f;super[_0x14a398(0x3b1)](),this[_0x14a398(0x20c)](),this[_0x14a398(0x39a)]=[],this[_0x14a398(0x4ab)]=0x0,this['_maxFormulaLimit']=0x0,this[_0x14a398(0x3bd)]=0x0;}async[_0x22c93f(0x4a8)](_0x84447c,_0x8a486d){const _0x40fe78=_0x22c93f;for(let _0x2c35b6=0x0;_0x2c35b6<0x1e;_0x2c35b6++)try{if(await this[_0x40fe78(0x384)](),this['_checkCalculationAvailable']()){this[_0x40fe78(0x218)](_0x84447c,_0x8a486d),this[_0x40fe78(0x1ef)][_0x40fe78(0x407)]({'content':this['_localeService']['t'](_0x40fe78(0x209)),'type':_0x13b14c[_0x40fe78(0x1f0)][_0x40fe78(0x41f)]});return;}await new Promise(_0xb8d447=>{const _0x1a509f=_0x40fe78;this[_0x1a509f(0x286)]=window[_0x1a509f(0x44f)](_0xb8d447,0x3e8);});}catch(_0x360156){this['_logService'][_0x40fe78(0x3bc)](_0x360156);}this[_0x40fe78(0x1ef)]['show']({'content':this[_0x40fe78(0x489)]['t']('formula.calculation.unable'),'type':_0x13b14c[_0x40fe78(0x1f0)][_0x40fe78(0x303)]});}[_0x22c93f(0x218)](_0x21a6f9,_0x20b925){const _0x49736e=_0x22c93f;try{this[_0x49736e(0x462)][_0x49736e(0x20a)](_0x21a6f9['id'],_0x21a6f9[_0x49736e(0x2f1)],_0x20b925);}catch(_0x5bd63f){this['_logService'][_0x49736e(0x3bc)](_0x5bd63f);}}[_0x22c93f(0x2f0)](_0x4a65fd,_0x5b85c0){const _0x415058=_0x22c93f;_0x5b85c0<this[_0x415058(0x3bd)]||(this[_0x415058(0x3bd)]=_0x5b85c0,this[_0x415058(0x2cc)]=Number[_0x415058(0x459)](_0x4a65fd[_0x415058(0x241)]),this[_0x415058(0x4ab)]=Number[_0x415058(0x459)](_0x4a65fd[_0x415058(0x2ab)]));}async[_0x22c93f(0x1e5)](_0xb012ac){const _0x4e0ac8=_0x22c93f;var _0x268813,_0xfcc9d1;const _0x25f30a=Date[_0x4e0ac8(0x2bc)]();try{const _0x588b01=((_0x268813=this[_0x4e0ac8(0x433)][_0x4e0ac8(0x41d)](_0x3a923d['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x268813[_0x4e0ac8(0x31b)])||_0x59a75f,_0x1a3151=(await this[_0x4e0ac8(0x427)][_0x4e0ac8(0x365)](_0x588b01,{'body':JSON[_0x4e0ac8(0x201)]({'taskId':_0xb012ac})}))[_0x4e0ac8(0x366)];if(((_0xfcc9d1=_0x1a3151['error'])==null?void 0x0:_0xfcc9d1[_0x4e0ac8(0x2cd)])!==_0x209827['OK'])return;this[_0x4e0ac8(0x2f0)](_0x1a3151[_0x4e0ac8(0x2f6)],_0x25f30a);}catch(_0x2f2f8d){this[_0x4e0ac8(0x415)][_0x4e0ac8(0x3bc)](_0x2f2f8d);}}async['_getFormulaLimitStatus'](_0x38e75d){const _0x518e42=_0x22c93f;var _0x5437d2,_0x1312f1;const _0x38f4aa=Date['now']();try{const _0xe12c7a=((_0x5437d2=this['_configService'][_0x518e42(0x41d)](_0x3a923d[_0x518e42(0x2d4)]))==null?void 0x0:_0x5437d2[_0x518e42(0x28d)])||_0x293dcb,_0x3966bb=_0x38e75d?_0xe12c7a+_0x518e42(0x1f4)+encodeURIComponent(_0x38e75d):_0xe12c7a,_0x4ce3ff=(await this['_httpService'][_0x518e42(0x1e8)](_0x3966bb))[_0x518e42(0x366)];if(((_0x1312f1=_0x4ce3ff[_0x518e42(0x3bc)])==null?void 0x0:_0x1312f1['code'])!==_0x209827['OK'])return;this['_setFormulaLimitStatus'](_0x4ce3ff[_0x518e42(0x2f6)],_0x38f4aa);}catch(_0x2613e1){this[_0x518e42(0x415)][_0x518e42(0x3bc)](_0x2613e1);}}async[_0x22c93f(0x3f0)](_0x41504a){const _0x5e254b=_0x22c93f;var _0x2b325c,_0x327be3;const _0x2caa36=Date[_0x5e254b(0x2bc)]();try{const _0xfb67ac=((_0x2b325c=this[_0x5e254b(0x433)]['getConfig'](_0x3a923d[_0x5e254b(0x2d4)]))==null?void 0x0:_0x2b325c[_0x5e254b(0x295)])||_0x257973,_0x18bee9=(await this[_0x5e254b(0x427)]['post'](_0xfb67ac,{'body':JSON[_0x5e254b(0x201)]({'taskId':_0x41504a})}))[_0x5e254b(0x366)];if(((_0x327be3=_0x18bee9['error'])==null?void 0x0:_0x327be3[_0x5e254b(0x2cd)])!==_0x209827['OK'])return;this[_0x5e254b(0x2f0)](_0x18bee9[_0x5e254b(0x2f6)],_0x2caa36);}catch(_0x40ca08){this[_0x5e254b(0x415)][_0x5e254b(0x3bc)](_0x40ca08);}}[_0x22c93f(0x34f)](){const _0x38190e=_0x22c93f;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x38190e(0x2cc)]-this[_0x38190e(0x4ab)]>0x0;}[_0x22c93f(0x20c)](){const _0x57ef9c=_0x22c93f;this[_0x57ef9c(0x286)]&&(clearTimeout(this[_0x57ef9c(0x286)]),this[_0x57ef9c(0x286)]=null);}[_0x22c93f(0x333)](){const _0x41614c=_0x22c93f;this[_0x41614c(0x1ef)][_0x41614c(0x407)]({'content':this[_0x41614c(0x489)]['t']('formula.calculation.waiting'),'type':_0x13b14c['MessageType'][_0x41614c(0x204)]});}[_0x22c93f(0x22f)](_0x226459){const _0x58eee8=_0x22c93f;for(const _0x336ee3 of _0x226459){const {unitId:_0x11fabe,sheetId:_0x3e20d6,range:_0x15461a}=_0x336ee3,_0x3220c0=this[_0x58eee8(0x244)]['getUnit'](_0x11fabe);if(!_0x3220c0)continue;const _0x3478b9=_0x3220c0[_0x58eee8(0x45d)](_0x3e20d6);if(!_0x3478b9)continue;const _0x484937=_0x3478b9[_0x58eee8(0x388)]();for(let _0x5622ca=_0x15461a[_0x58eee8(0x228)];_0x5622ca<=_0x15461a['endRow'];_0x5622ca++)for(let _0x238ede=_0x15461a[_0x58eee8(0x2e8)];_0x238ede<=_0x15461a['endColumn'];_0x238ede++){const _0x365d2f=_0x484937[_0x58eee8(0x2b6)](_0x5622ca,_0x238ede);if(_0x365d2f&&(_0x112654[_0x58eee8(0x23f)](_0x365d2f['f'])||_0x112654[_0x58eee8(0x43a)](_0x365d2f['si'])))return!0x0;}}return!0x1;}};_0xcbbe19=_0x500ce6([_0x55484e(0x0,_0x112654['Inject'](_0x282264[_0x22c93f(0x49d)])),_0x55484e(0x1,_0x112654[_0x22c93f(0x31c)]),_0x55484e(0x2,_0x112654['IConfigService']),_0x55484e(0x3,_0x112654[_0x22c93f(0x271)](_0x9da3dd[_0x22c93f(0x3a2)])),_0x55484e(0x4,_0x112654[_0x22c93f(0x256)]),_0x55484e(0x5,_0x112654[_0x22c93f(0x24d)]),_0x55484e(0x6,_0x112654[_0x22c93f(0x271)](_0x112654['LocaleService']))],_0xcbbe19);var _0x4b9221=Object['getOwnPropertyDescriptor'],_0x4d54c3=(_0x2c0665,_0x150c75,_0x129fec,_0x5e35bf)=>{for(var _0x2c1769=_0x5e35bf>0x1?void 0x0:_0x5e35bf?_0x4b9221(_0x150c75,_0x129fec):_0x150c75,_0x2379ab=_0x2c0665['length']-0x1,_0x124a20;_0x2379ab>=0x0;_0x2379ab--)(_0x124a20=_0x2c0665[_0x2379ab])&&(_0x2c1769=_0x124a20(_0x2c1769)||_0x2c1769);return _0x2c1769;},_0x1a193a=(_0x32d168,_0x1dc5d5)=>(_0xa6ba3,_0x19c6df)=>_0x1dc5d5(_0xa6ba3,_0x19c6df,_0x32d168);let _0x5677bc=class extends _0x112654[_0x22c93f(0x4b7)]{constructor(_0x2bdcba,_0x4684a2,_0x165ff3){const _0x5add5f=_0x22c93f;super(),_0x296e20(this,'_cachedData',new Map()),_0x296e20(this,'_saveTaskMap',new Map()),_0x296e20(this,_0x5add5f(0x3e7),!0x1),(this['_configService']=_0x2bdcba,this[_0x5add5f(0x3c1)]=_0x4684a2,this[_0x5add5f(0x3fe)]=_0x165ff3);}[_0x22c93f(0x238)](){this['_disabled']=!0x0;}[_0x22c93f(0x274)](){const _0x11dcd1=_0x22c93f;this[_0x11dcd1(0x3e7)]=!0x1;}get['saveTaskMap'](){const _0x2afa3b=_0x22c93f;return this[_0x2afa3b(0x2eb)];}[_0x22c93f(0x3b1)](){const _0x1a4058=_0x22c93f;this[_0x1a4058(0x463)]()[_0x1a4058(0x2d8)](()=>super[_0x1a4058(0x3b1)]());}async[_0x22c93f(0x3d6)](_0x22da28){const _0x4d9a37=_0x22c93f;return this['_disabled']?null:this[_0x4d9a37(0x3c1)][_0x4d9a37(0x379)](_0x3a923d[_0x4d9a37(0x1f5)](_0x22da28));}async[_0x22c93f(0x3ed)](_0x3fc623,_0x141e3a){const _0xb7bb56=_0x22c93f;return!!this['_localStorageService'][_0xb7bb56(0x339)](_0x3fc623,_0x141e3a);}[_0x22c93f(0x458)](_0x24e4de,_0x101f86,_0x2c29c2,_0x522214){const _0x6aab05=_0x22c93f,_0x1c4642=this[_0x6aab05(0x3fe)]['getCurrentRevOfUnit'](_0x24e4de);this[_0x6aab05(0x47f)]['set'](_0x24e4de,{'unitID':_0x24e4de,'type':_0x101f86,'awaitingChangeset':_0x2c29c2,'mutations':_0x522214,'rev':_0x1c4642}),this[_0x6aab05(0x2eb)][_0x6aab05(0x475)](_0x24e4de)||this[_0x6aab05(0x377)](_0x24e4de);}[_0x22c93f(0x377)](_0x5b168e){const _0xca67d6=_0x22c93f,_0x1d99f9=this[_0xca67d6(0x25f)]();_0x1d99f9===0x0?this[_0xca67d6(0x346)](_0x5b168e):this[_0xca67d6(0x2eb)]['set'](_0x5b168e,setTimeout(()=>this[_0xca67d6(0x346)](_0x5b168e),_0x1d99f9));}[_0x22c93f(0x25f)](){const _0x9c87e=_0x22c93f;var _0x275fa2;return(_0x275fa2=this[_0x9c87e(0x433)][_0x9c87e(0x41d)](_0x3a923d[_0x9c87e(0x287)]))!=null?_0x275fa2:_0x3a923d['LOCAL_CACHE_INTERVAL'];}[_0x22c93f(0x346)](_0x3d4e05){const _0x40275b=_0x22c93f,_0x4481d2=this[_0x40275b(0x2eb)][_0x40275b(0x1e8)](_0x3d4e05);return _0x4481d2!==void 0x0&&window['clearTimeout'](_0x4481d2),this[_0x40275b(0x3c1)][_0x40275b(0x339)](_0x3a923d[_0x40275b(0x1f5)](_0x3d4e05),this[_0x40275b(0x47f)][_0x40275b(0x1e8)](_0x3d4e05))[_0x40275b(0x2d8)](()=>this[_0x40275b(0x2eb)][_0x40275b(0x21d)](_0x3d4e05));}async[_0x22c93f(0x463)](){const _0x4fad5f=_0x22c93f,_0x4b6afc=[];this[_0x4fad5f(0x2eb)]['forEach']((_0x56cc5b,_0xa0697)=>{const _0x40f641=_0x4fad5f;window[_0x40f641(0x35c)](_0x56cc5b),_0x4b6afc[_0x40f641(0x28f)](this[_0x40f641(0x346)](_0xa0697)[_0x40f641(0x2d8)](()=>{const _0x2c3f9e=_0x40f641;this[_0x2c3f9e(0x2eb)]['delete'](_0xa0697);}));}),await Promise[_0x4fad5f(0x1ea)](_0x4b6afc);}};_0x5677bc=_0x4d54c3([_0x1a193a(0x0,_0x112654[_0x22c93f(0x37e)]),_0x1a193a(0x1,_0x112654[_0x22c93f(0x4a1)]),_0x1a193a(0x2,_0x112654[_0x22c93f(0x271)](_0x61be75[_0x22c93f(0x4bd)]))],_0x5677bc);class _0xcf5fc6 extends _0x112654[_0x22c93f(0x3f1)]{constructor(){const _0x2b343d=_0x22c93f;super(),_0x296e20(this,'urlChange$'),this[_0x2b343d(0x42a)]=_0x2d6ce3['fromEvent'](window,_0x2b343d(0x20b))['pipe'](_0x2d6ce3[_0x2b343d(0x3a9)](this[_0x2b343d(0x27f)]),_0x2d6ce3[_0x2b343d(0x4a7)](0x1),_0x2d6ce3['mapTo'](void 0x0));}['setParam'](_0x4c5214,_0x2f233c,_0x4b95ff=!0x1){const _0x215de9=_0x22c93f,_0x9d17d4=new URL(window['location'][_0x215de9(0x330)]);_0x9d17d4[_0x215de9(0x49b)]['set'](_0x4c5214,_0x2f233c),_0x4b95ff?window[_0x215de9(0x352)][_0x215de9(0x3dc)]('','',_0x9d17d4[_0x215de9(0x206)]()):window[_0x215de9(0x352)][_0x215de9(0x4a6)]('','',_0x9d17d4[_0x215de9(0x206)]());}[_0x22c93f(0x363)](_0xa84e99,_0x582bbe=!0x1){const _0x2e8b02=_0x22c93f,_0x53bfbc=new URL(window[_0x2e8b02(0x393)][_0x2e8b02(0x330)]);_0x53bfbc[_0x2e8b02(0x49b)][_0x2e8b02(0x21d)](_0xa84e99),_0x582bbe?window[_0x2e8b02(0x352)]['replaceState']('','',_0x53bfbc['toString']()):window[_0x2e8b02(0x352)][_0x2e8b02(0x4a6)]('','',_0x53bfbc[_0x2e8b02(0x206)]());}[_0x22c93f(0x383)](_0x4a3f6e){const _0x57a99b=_0x22c93f;var _0x2d0a54;return(_0x2d0a54=new URL(window['location'][_0x57a99b(0x330)])[_0x57a99b(0x49b)][_0x57a99b(0x1e8)](_0x4a3f6e))!=null?_0x2d0a54:void 0x0;}}var _0x5b6cb3=Object[_0x22c93f(0x293)],_0x300eae=Object[_0x22c93f(0x215)],_0x54d781=(_0x5db130,_0x16e8a1,_0x387b71)=>_0x16e8a1 in _0x5db130?_0x5b6cb3(_0x5db130,_0x16e8a1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x387b71}):_0x5db130[_0x16e8a1]=_0x387b71,_0x1c90e7=(_0x48ec35,_0x546f2c,_0x3fb5d8,_0x1a7729)=>{const _0x3fb2f1=_0x22c93f;for(var _0x46e3f3=_0x1a7729>0x1?void 0x0:_0x1a7729?_0x300eae(_0x546f2c,_0x3fb5d8):_0x546f2c,_0x3aebd6=_0x48ec35[_0x3fb2f1(0x1e1)]-0x1,_0x3d96f7;_0x3aebd6>=0x0;_0x3aebd6--)(_0x3d96f7=_0x48ec35[_0x3aebd6])&&(_0x46e3f3=_0x3d96f7(_0x46e3f3)||_0x46e3f3);return _0x46e3f3;},_0x12fc7b=(_0x3479aa,_0x4294f7)=>(_0x1009ab,_0x45663a)=>_0x4294f7(_0x1009ab,_0x45663a,_0x3479aa),_0x20a3f6=(_0x9b7f5,_0x51c0de,_0x5c6979)=>_0x54d781(_0x9b7f5,_0x51c0de+'',_0x5c6979);const _0x86db87=_0x22c93f(0x36c);_0x260b02[_0x22c93f(0x3a1)]=class extends _0x112654[_0x22c93f(0x45c)]{constructor(_0x2cf713=_0x535439,_0x2ec62f,_0x5f10d1,_0x1e97ce){const _0x570abe=_0x22c93f;super(),this[_0x570abe(0x1eb)]=_0x2cf713,this[_0x570abe(0x325)]=_0x2ec62f,this[_0x570abe(0x42f)]=_0x5f10d1,this[_0x570abe(0x433)]=_0x1e97ce;const {..._0x54d15c}=_0x112654[_0x570abe(0x46b)]({},_0x535439,this[_0x570abe(0x1eb)]);this[_0x570abe(0x433)][_0x570abe(0x488)](_0x22dc29,_0x54d15c);}[_0x22c93f(0x299)](){const _0x5de3fd=_0x22c93f;this['_registerDependencies'](),this[_0x5de3fd(0x30a)]();}[_0x22c93f(0x2dd)](){this['_registerRenderDependencies']();}[_0x22c93f(0x48a)](){const _0x26ccde=_0x22c93f;var _0x2868bc;const _0x175c25=[[_0x104cc4],[_0xcbbe19],[_0x83e92a],[_0x14505f],[_0x3eed12],[_0x2783c1],[_0x48ea33,{'useClass':_0xcf5fc6}],[_0x9da3dd[_0x26ccde(0x3ee)],{'useClass':_0x9da3dd[_0x26ccde(0x446)]}],[_0x3a923d[_0x26ccde(0x2f7)],{'useClass':_0x5677bc}],[_0x260b02[_0x26ccde(0x480)]],[_0x2b081c],[_0x5a3bea],[_0x2107a2],[_0x3902af],[_0x260b02[_0x26ccde(0x425)]]];this[_0x26ccde(0x1eb)][_0x26ccde(0x41b)]&&_0x175c25[_0x26ccde(0x28f)]([_0x52b21b]),_0x112654[_0x26ccde(0x43c)](this['_injector'],_0x112654[_0x26ccde(0x324)](_0x175c25,(_0x2868bc=this[_0x26ccde(0x1eb)])==null?void 0x0:_0x2868bc[_0x26ccde(0x313)]));}[_0x22c93f(0x35f)](){const _0x3b2c4e=_0x22c93f;this[_0x3b2c4e(0x378)](this[_0x3b2c4e(0x325)][_0x3b2c4e(0x479)](_0x112654[_0x3b2c4e(0x37d)][_0x3b2c4e(0x1d5)],[_0x456357])),this['disposeWithMe'](this[_0x3b2c4e(0x325)]['registerRenderModule'](_0x112654['UniverInstanceType']['UNIVER_SHEET'],[_0x443b63]));}['_initDependencies'](){const _0x1efe52=_0x22c93f;_0x112654['touchDependencies'](this['_injector'],[[_0x2107a2],[_0x260b02['DesktopCollaborationStatusDisplayController']],[_0x2b081c],[_0x5a3bea],[_0x260b02[_0x1efe52(0x425)]],[_0xcbbe19]]),this['_config'][_0x1efe52(0x41b)]&&_0x112654[_0x1efe52(0x396)](this[_0x1efe52(0x42f)],[[_0x52b21b]]);}},_0x20a3f6(_0x260b02[_0x22c93f(0x3a1)],_0x22c93f(0x30f),_0x86db87),_0x260b02['UniverCollaborationClientUIPlugin']=_0x1c90e7([_0x112654['DependentOn'](_0x3a923d['UniverCollaborationClientPlugin']),_0x12fc7b(0x1,_0x51f1a5[_0x22c93f(0x412)]),_0x12fc7b(0x2,_0x112654[_0x22c93f(0x271)](_0x112654[_0x22c93f(0x3c7)])),_0x12fc7b(0x3,_0x112654['IConfigService'])],_0x260b02[_0x22c93f(0x3a1)]);var _0x1a0823=Object[_0x22c93f(0x215)],_0x339e54=(_0x58e575,_0x54f485,_0x13a38a,_0x4c4b1b)=>{const _0x3d99f8=_0x22c93f;for(var _0x582c58=_0x4c4b1b>0x1?void 0x0:_0x4c4b1b?_0x1a0823(_0x54f485,_0x13a38a):_0x54f485,_0x3012e2=_0x58e575[_0x3d99f8(0x1e1)]-0x1,_0x30dd28;_0x3012e2>=0x0;_0x3012e2--)(_0x30dd28=_0x58e575[_0x3012e2])&&(_0x582c58=_0x30dd28(_0x582c58)||_0x582c58);return _0x582c58;},_0x4b57cc=(_0x26e777,_0x151383)=>(_0x3ad4b4,_0x1d309f)=>_0x151383(_0x3ad4b4,_0x1d309f,_0x26e777);_0x260b02[_0x22c93f(0x301)]=class extends _0x3a923d[_0x22c93f(0x48c)]{constructor(_0x5a5d62,_0x19e682,_0x1801be,_0x527a97,_0x4840eb){super(_0x5a5d62,_0x19e682,_0x1801be,_0x527a97,_0x4840eb);}async[_0x22c93f(0x3a7)](_0xa629e1){const _0x564ef6=_0x22c93f,_0x545e1d=await this[_0x564ef6(0x315)](),_0x95159=this['_createSocketURL'](_0xa629e1,_0x545e1d);return this[_0x564ef6(0x43f)](_0x95159);}[_0x22c93f(0x44c)](_0x16fc48,_0xf27307){const _0x7a5659=_0x22c93f,_0x19e69a=typeof window>'u'?new URL(_0x16fc48):new URL(_0x16fc48,window[_0x7a5659(0x393)][_0x7a5659(0x40b)]);_0x19e69a[_0x7a5659(0x49b)][_0x7a5659(0x342)]('sessionTicket',_0xf27307);const _0x1cc2e9=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x7a5659(0x393)][_0x7a5659(0x401)]);return _0x1cc2e9[_0x7a5659(0x1e8)](_0x7a5659(0x4a4))&&_0x19e69a[_0x7a5659(0x49b)]['set'](_0x7a5659(0x4a4),_0x1cc2e9[_0x7a5659(0x1e8)](_0x7a5659(0x4a4))),_0x19e69a[_0x7a5659(0x206)]();}async['_getSessionTicket'](){const _0x159753=_0x22c93f;var _0x312e8e,_0x38d890,_0x55c209;const _0x171e92=this[_0x159753(0x433)]['getConfig'](_0x3a923d[_0x159753(0x2d4)]),_0x1bd90b=(_0x312e8e=_0x171e92==null?void 0x0:_0x171e92['wsSessionTicketUrl'])!=null?_0x312e8e:_0x3a923d['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x55c209=(_0x38d890=(await this[_0x159753(0x427)][_0x159753(0x1e8)](_0x1bd90b,{'headers':{'Content-Type':_0x159753(0x2a8)}}))['body'])==null?void 0x0:_0x38d890['ticket'])!=null?_0x55c209:'';}},_0x260b02[_0x22c93f(0x301)]=_0x339e54([_0x4b57cc(0x0,_0x112654[_0x22c93f(0x271)](_0x112654['Injector'])),_0x4b57cc(0x1,_0x112654['Inject'](_0x9da3dd[_0x22c93f(0x3a2)])),_0x4b57cc(0x2,_0x112654['IConfigService']),_0x4b57cc(0x3,_0x112654[_0x22c93f(0x24d)]),_0x4b57cc(0x4,_0x61be75['ISnapshotServerService'])],_0x260b02[_0x22c93f(0x301)]);var _0x35b56f=Object[_0x22c93f(0x215)],_0x54b47b=(_0x5f50ab,_0x3d0901,_0x3bc869,_0x181f44)=>{const _0x5d9693=_0x22c93f;for(var _0x383918=_0x181f44>0x1?void 0x0:_0x181f44?_0x35b56f(_0x3d0901,_0x3bc869):_0x3d0901,_0xe8d396=_0x5f50ab[_0x5d9693(0x1e1)]-0x1,_0x145ad8;_0xe8d396>=0x0;_0xe8d396--)(_0x145ad8=_0x5f50ab[_0xe8d396])&&(_0x383918=_0x145ad8(_0x383918)||_0x383918);return _0x383918;},_0x370293=(_0x4b697b,_0x4563f3)=>(_0x264b9a,_0x26eb75)=>_0x4563f3(_0x264b9a,_0x26eb75,_0x4b697b);_0x260b02[_0x22c93f(0x1db)]=class extends _0x112654[_0x22c93f(0x4b7)]{constructor(_0x452358,_0x2a364f,_0x4ec06e){const _0x3b9bee=_0x22c93f;super(),this[_0x3b9bee(0x2e6)]=_0x452358,this[_0x3b9bee(0x427)]=_0x2a364f,this[_0x3b9bee(0x433)]=_0x4ec06e;}async[_0x22c93f(0x3e4)](_0x179ac9,_0x7c4d25,_0x5cfdad,..._0xecb648){const _0xdad9=_0x22c93f;var _0x39b6fb,_0x50665e,_0x3b91ae,_0x454cc9;const _0x3027c1=this[_0xdad9(0x2e6)][_0xdad9(0x3bb)]();if(!_0x3027c1)throw new Error(_0xdad9(0x27b));const _0x16ea11=((_0x39b6fb=this[_0xdad9(0x433)]['getConfig'](_0x3a923d[_0xdad9(0x1f3)]))!=null?_0x39b6fb:_0x3a923d[_0xdad9(0x428)])+'/'+_0x179ac9+_0xdad9(0x359)+_0x7c4d25,_0x3657c5=new URL(window[_0xdad9(0x393)]['href']),_0x31d195={'scriptId':_0x179ac9,'runId':(_0x50665e=_0x3657c5[_0xdad9(0x49b)][_0xdad9(0x1e8)](_0xdad9(0x4a4)))!=null?_0x50665e:'','function':_0x7c4d25,'unitId':_0x3027c1[_0xdad9(0x203)](),'argsOfFunction':JSON[_0xdad9(0x201)](_0xecb648),'invokeId':(_0x3b91ae=_0x5cfdad['invokeId'])!=null?_0x3b91ae:'','executionId':(_0x454cc9=_0x5cfdad[_0xdad9(0x21c)])!=null?_0x454cc9:''};try{const _0x238797=await this[_0xdad9(0x427)][_0xdad9(0x365)](_0x16ea11,{'body':_0x31d195});return _0x238797['body'][_0xdad9(0x3bc)]&&_0x238797[_0xdad9(0x366)]['error']['code']!==_0x209827['OK']?_0xdad9(0x226):_0x238797[_0xdad9(0x366)]['result'];}catch{return _0xdad9(0x226);}}},_0x260b02[_0x22c93f(0x1db)]=_0x54b47b([_0x370293(0x0,_0x112654[_0x22c93f(0x256)]),_0x370293(0x1,_0x112654[_0x22c93f(0x271)](_0x9da3dd[_0x22c93f(0x3a2)])),_0x370293(0x2,_0x112654[_0x22c93f(0x37e)])],_0x260b02[_0x22c93f(0x1db)]);const _0x341a25=0x7530,_0x22d47d=_0x22c93f(0x478);class _0x59c3c9 extends _0x112654[_0x22c93f(0x4b7)]{constructor(){const _0x126612=_0x22c93f;super(),_0x296e20(this,_0x126612(0x28c),_0x112654['generateRandomId']()),_0x296e20(this,'_selfUnitIDs',new Set()),_0x296e20(this,_0x126612(0x46e),new Map()),_0x296e20(this,_0x126612(0x309),null),_0x296e20(this,_0x126612(0x264),new Map()),_0x296e20(this,_0x126612(0x288),new Map()),this[_0x126612(0x24f)]();}[_0x22c93f(0x3b1)](){const _0x15243a=_0x22c93f;super[_0x15243a(0x3b1)](),this[_0x15243a(0x264)][_0x15243a(0x22a)]((_0x1a8589,_0x4d19f4)=>this[_0x15243a(0x3d9)](_0x4d19f4)),this[_0x15243a(0x309)]&&window[_0x15243a(0x389)](this[_0x15243a(0x309)]);}[_0x22c93f(0x44a)](_0x198449){const _0x2fe850=_0x22c93f;return this[_0x2fe850(0x25a)](_0x198449)[_0x2fe850(0x394)](_0x2d6ce3[_0x2fe850(0x34a)]());}[_0x22c93f(0x1f9)](_0x3b8cd3){const _0x2af5d1=_0x22c93f;this[_0x2af5d1(0x2a5)][_0x2af5d1(0x357)]===0x0&&this[_0x2af5d1(0x280)](),this[_0x2af5d1(0x2a5)]['add'](_0x3b8cd3),this[_0x2af5d1(0x382)]({'type':0x0,'memberID':this[_0x2af5d1(0x28c)],'unitIDs':[_0x3b8cd3],'isForwarded':!0x1});}[_0x22c93f(0x355)](_0x141550){const _0x4b0453=_0x22c93f;this['_selfUnitIDs'][_0x4b0453(0x21d)](_0x141550),this[_0x4b0453(0x2a5)][_0x4b0453(0x357)]===0x0&&this[_0x4b0453(0x309)]&&window[_0x4b0453(0x389)](this[_0x4b0453(0x309)]);}[_0x22c93f(0x24f)](){const _0x318c88=_0x22c93f;this[_0x318c88(0x378)](_0x112654['toDisposable'](_0x2d6ce3[_0x318c88(0x3d4)](window,_0x318c88(0x2bb))['subscribe'](_0x43f6b3=>{const _0x16051b=_0x318c88;if(_0x43f6b3[_0x16051b(0x437)]!==_0x22d47d||!_0x43f6b3['newValue'])return;const _0x116e85=JSON[_0x16051b(0x34b)](_0x43f6b3[_0x16051b(0x34d)]);this[_0x16051b(0x326)](_0x116e85);}))),window[_0x318c88(0x1e2)](_0x318c88(0x2b9),()=>this['_send']({'type':0x1,'memberID':this[_0x318c88(0x28c)],'unitIDs':Array['from'](this[_0x318c88(0x2a5)])}));}[_0x22c93f(0x326)](_0xf46b0c){const _0x54376e=_0x22c93f;switch(_0xf46b0c['type']){case 0x0:this[_0x54376e(0x234)](_0xf46b0c);break;case 0x1:this[_0x54376e(0x1d3)](_0xf46b0c);break;case 0x2:this[_0x54376e(0x289)](_0xf46b0c);break;}}['_handleJoinEvent'](_0x1e1278){const _0x17d5ef=_0x22c93f,{unitIDs:_0x38822c,memberID:_0x2471cb,isForwarded:_0x74d56f}=_0x1e1278;_0x38822c[_0x17d5ef(0x22a)](_0x18ff24=>{const _0x32f071=_0x17d5ef;if(!_0x74d56f&&this[_0x32f071(0x46e)][_0x32f071(0x475)](_0x18ff24)&&this[_0x32f071(0x25a)](_0x18ff24)['next'](_0x3a923d[_0x32f071(0x210)][_0x32f071(0x33b)]),!this['_unitOnClients'][_0x32f071(0x475)](_0x18ff24)||!this[_0x32f071(0x46e)]['get'](_0x18ff24)[_0x32f071(0x475)](_0x2471cb)){const _0x15d47c=this['_unitOnClients'][_0x32f071(0x1e8)](_0x18ff24)||new Set();_0x15d47c[_0x32f071(0x320)](_0x2471cb),this[_0x32f071(0x46e)][_0x32f071(0x342)](_0x18ff24,_0x15d47c),this[_0x32f071(0x2b5)](_0x2471cb);}}),_0x74d56f||this[_0x17d5ef(0x382)]({'type':0x0,'memberID':this[_0x17d5ef(0x28c)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x22c93f(0x2b5)](_0xc99083){const _0x5049ae=_0x22c93f;this[_0x5049ae(0x3d9)](_0xc99083);const _0xa00f1a=window[_0x5049ae(0x44f)](()=>{const _0x31d920=_0x5049ae;this[_0x31d920(0x46e)][_0x31d920(0x22a)](_0x31b8f3=>{const _0x1a3c65=_0x31d920;_0x31b8f3[_0x1a3c65(0x21d)](_0xc99083);});},_0x341a25*0x2);this[_0x5049ae(0x264)][_0x5049ae(0x342)](_0xc99083,_0xa00f1a);}[_0x22c93f(0x3d9)](_0x17c338){const _0x170eab=_0x22c93f;if(this['_clearOtherTimers'][_0x170eab(0x475)](_0x17c338)){const _0x4fba0d=this['_clearOtherTimers'][_0x170eab(0x1e8)](_0x17c338);_0x4fba0d&&window['clearTimeout'](_0x4fba0d),this[_0x170eab(0x264)]['set'](_0x17c338,null);}}[_0x22c93f(0x1d3)](_0x44600d){const _0x495446=_0x22c93f,{memberID:_0x4b161d,unitIDs:_0x2a9270}=_0x44600d;_0x2a9270[_0x495446(0x22a)](_0x546c8d=>{const _0x3da6a5=_0x495446;var _0x37754d;const _0x230a80=this[_0x3da6a5(0x46e)][_0x3da6a5(0x1e8)](_0x546c8d);_0x230a80&&(_0x230a80[_0x3da6a5(0x21d)](_0x4b161d),(_0x37754d=this[_0x3da6a5(0x25a)](_0x546c8d))==null||_0x37754d[_0x3da6a5(0x270)](_0x230a80[_0x3da6a5(0x357)]===0x0?_0x3a923d[_0x3da6a5(0x210)]['NO_OTHER_CLIENTS_EDITING']:_0x3a923d[_0x3da6a5(0x210)]['OTHER_CLIENTS_EDITING']));}),this[_0x495446(0x3d9)](_0x4b161d);}[_0x22c93f(0x289)](_0x351a9b){const _0x2b21c6=_0x22c93f;this[_0x2b21c6(0x2b5)](_0x351a9b[_0x2b21c6(0x461)]);}[_0x22c93f(0x382)](_0x49d2f0){const _0x3405d3=_0x22c93f;localStorage['setItem'](_0x22d47d,JSON[_0x3405d3(0x201)](_0x49d2f0));}['_scheduleHeartbeat'](){const _0x563112=_0x22c93f;this['_heartbeatTimer']=window[_0x563112(0x46c)](()=>{const _0x4ecc00=_0x563112;this[_0x4ecc00(0x382)]({'type':0x2,'memberID':this[_0x4ecc00(0x28c)]});},_0x341a25);}['_ensureSubject'](_0x4a2f80){const _0x5d7de6=_0x22c93f;return this[_0x5d7de6(0x288)]['has'](_0x4a2f80)||this[_0x5d7de6(0x288)][_0x5d7de6(0x342)](_0x4a2f80,new _0x2d6ce3[(_0x5d7de6(0x3e2))](_0x3a923d[_0x5d7de6(0x210)][_0x5d7de6(0x405)])),this[_0x5d7de6(0x288)][_0x5d7de6(0x1e8)](_0x4a2f80);}}_0x260b02['IURLService']=_0x48ea33,_0x260b02[_0x22c93f(0x3b4)]=_0x4388f0,_0x260b02['WebBrowserSingleActiveUnitService']=_0x59c3c9,_0x260b02[_0x22c93f(0x2da)]=_0xcf5fc6,Object[_0x22c93f(0x293)](_0x260b02,Symbol[_0x22c93f(0x269)],{'value':'Module'});}));function _0x3bdd(_0x1f1fea,_0x557d4a){_0x1f1fea=_0x1f1fea-0x1d0;const _0x582882=_0x5828();let _0x3bdd3c=_0x582882[_0x1f1fea];return _0x3bdd3c;}function _0x5828(){const _0x3e4f59=['body','FormulaExecutedStateType','_document','_drawRectRange','univerjs-icon\x20univerjs-icon-','doc.mutation.rich-text-editing','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','selection','_sheetSkeletonManagerService','ENTITLE_DUP_SUBSCRIPTION','ENTITLE_REPORT_LIMIT_EXCEED','_initCommandInterceptor','isTransformMutationFailure','closePath','_transformUndoRedoStack','ColorKit','UniverUi','_scheduleSaving','disposeWithMe','getItem','exports','_docTransformSelectionsService','getTypeOfUnitDisposed$','UniverInstanceType','IConfigService','_drawAnchor','_drawTextRange','row','_send','getParam','_getFormulaLimitStatus','CollaborationEvent','1786040wSCkiY','FormulaExecuteStageType','getCellMatrix','clearInterval','@univerjs/rpc','path','type','DataLoaderService','MoveRangeCommandId','subscribe','symbol','string','min','location','pipe','CLOSE_ROOM','touchDependencies','switchMap','getCurrentUnitForType','UPDATE_CURSOR','_taskIds','_getMergeRange','lineno','subscribeEvent','SetWorksheetActivateCommand','measureText','COMPLETION_FINISHED','UniverCollaborationClientUIPlugin','HTTPService','toDisposable','eventID','CanceledError','defs','createSocket','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','takeUntil','fillRule','@univerjs/docs-ui','/universer-api/frontend/logs','_anchor','stageInfo','max','_dataLoaderService','dispose','status$','collab-client.tooltip.reconnect','SheetCollabCursorShape','VIEW_MAIN','moveTo','xlink:href','_updateLocalCursor','textRanges','getUniverSheetInstance','getFocusedUnit','error','_lastResponseTimestamp','m1Prime','contains','_toggleOffline','_localStorageService','some','DOC_RANGE_TYPE','round','1em','EMAIL_VERIFY_CODE_MISMATCH','Injector','_cursorInfo$','MemberService','DocSelectionManagerService','@univerjs-pro/collaboration','INotificationService','LICENSE_DISTRO_REJECTED','actions','useDependency','displayName','_collabSessionService','entries','@univerjs/core','fromEvent','height','loadOfflineData','getMemberID','_imageIoService','_removeClearOtherTimer','getStateCache','imageSourceType','replaceState','ThemeService','loadUnit','YUUMI_NO_CUBOID_FOR_QUESTION','replace','_localCacheService','BehaviorSubject','_cursor','runOnServer','REDEMPTION_CODE_HAS_BEEN_CREATED','asObservable','_disabled','USER_NOT_INVITED_CODE','createElement','_themeService','react/jsx-runtime','CollaborationStatus','saveOfflineData','ISocketService','_notificationService','_releaseCalculationLimit','RxDisposable','getRelativeToViewportCoord','_updateCollabCursors','clsx','getUnhiddenWorksheets','setStateCache','YUUMI_RATE_OVER_LIMIT','_scene','_docSkeletonManagerService','_hideTimer','_docTransformStateCacheService','_anchorDot','IRemoteInstanceService','_revisionService','Rect','getUndoRedoMutationParamsCache','search','YUUMI_UNABLE_LOAD_URL','svg','fromEventSubject','NO_OTHER_CLIENTS_EDITING','session.will-retry','show','reason','mask','map','origin','labelPosition','filter','debounce','activeSheet$','purple.300','isActive','IRenderManagerService','session.connection-failed','onLocalMutation','_logService','transformMutationsWithChangeset','DATA_SOURCE_TOO_LARGE','m2Prime','Optional','_collabCursorState$','enableFrontendLog','unshift','getConfig','send','Success','_onRefRangeChange','lineTo','unitID','removeEventListener','handleDeleteRangeMoveLeft','CollaborationDataLoaderController','Shape','_httpService','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_entityInit$','urlChange$','_docStateChangeManagerService','_toggleOnline','ENTITLE_INSUFFICIENT_QUOTA','SOCKET_FAILED_RETRY','_injector','Workbook','ONLINE','\x20at\x20','_configService','INTERNAL_ERROR','REDEMPTION_CODE_NOT_STARTED','FromArray','key','UniverRpc','saveTaskMap','isFormulaId','handleInsertRangeMoveDown','registerDependencies','YUUMI_ALL_TABLES_IS_INVALID','url(#on-line-icon_clip0_910_349)','_doCreateSocket','_docClipboardService','addObject','UniverSheetsUi','_getAnchorBounding','UniverCore','complete','WebSocketService','subunit','font','forwardRef','getUnitStatus$','@univerjs/drawing','_createSocketURL','values','UniverProCollaborationClientUi','setTimeout','React','[CollaborationDataLoaderController]','USER_IS_ANONYMOUS','CollaborationUIEventId','makeDirty','rxjs/operators','INVALID_INVITE_CODE','@univerjs/network','updateOfflineData','parseInt','ENTITLE_COUPON_EXPIRED','COLORS','Plugin','getSheetBySheetId','fill','collaboration-client-ui.config','assign','memberID','_commandService','exhaustSavingTask','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','idSuffix','univer-flex\x20univer-items-center','InsertRangeMoveDownCommandId','SOCKET_FAILED','stack','2292040VIrFGH','merge','setInterval','transformRemoteChangeset','_unitOnClients','arc','isArray','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','[Unhandled\x20Rejection]:\x20','_eventUnsubscribe','getCurrent','has','_syncEditingCollabCursorService','Warning','ACTIVE_UNIT_EVENT_CHANNEL','registerRenderModule','_name','getRenderById','_startDocCollabCursor','getSkeleton','deepClone','_cachedData','DesktopCollaborationStatusDisplayController','undoState','YUUMI_AI_RUN_FAILED','on-line-icon_clip0_910_349','SetSelectionsOperation','attrs','UniverIcon','TEXT','setConfig','_localeService','_registerDependencies','TRANSFORM_CHANGE_OBSERVABLE_TYPE','CollaborationSocketService','DeleteRangeMoveLeftCommandId','handleIRemoveRow','APPLY_REVISION_CONFILICT','ENTITLE_CHAT_LIMIT_EXCEED','CollaborationSessionService','CONFLICT','CollaborationUIEventService','_hovered','currentTheme$','InsertRowCommandId','onMouseMove','collabCursorState$','setAlpha','unitId','searchParams','unhandledrejection','IMessageService','NOT_COLLAB','SYNCED','_initUnhandledRejectionListener','ILocalStorageService','Tooltip','MOBILE_HAS_BEEN_BOUND','runId','_textBubble','pushState','shareReplay','_checkAndWaitForCalculationPermission','yellow.400','_colorAssignService','_currentUsage','SNAPSHOT_INVALID_SNAPSHOT','currentSkeleton$','onPointerLeave$','@univerjs/engine-render','_labelPosition','_docSkeleton','_updateURLWithCurrentState','generateRandomId','onPointerEnter$','_docSyncEditingCollabCursorService','backgroundColor','Disposable','@univerjs/sheets-ui','_shapes','CONNECTOR_DATA_TOO_LARGE','TOO_MANY_REQUESTS','DeleteRangeMoveUpCommandId','RevisionService','_initResize','YUUMI_ASYNCIO_CANCELLED','_roomMembers$','@univerjs/engine-formula','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','collaboration.single-unit.warning','@univerjs/sheets','functionsExecutedState','beginPath','_initWindowErrorListener','_handleLeaveEvent','USERS_LEAVE','UNIVER_DOC','getMember','AWAITING_WITH_PENDING','docStateChange$','useRef','LICENSE_IMPORT_SIZE_EXCEEDED','RemoteUniscriptService','hide','collab-text-range-','endRow','Unknown\x20user','SNAPSHOT_HAS_BEEN_REMOVED','length','addEventListener','react','clipPath','_startCalculationLimit','CHANGESET_REVISION_CONFILICT','RECT','get','saveImage','all','_config','registerBeforeClose','_updateSubUnitFromURLParams','white','_messageService','MessageType','name','roomMembers','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','?taskId=','getLocalCacheKey','LICENSE_MAX_UNITS_EXCEEDED','EffectRefRangId','_onCursorDelete','editingUnit','LocaleService','handleInsertCol','_getSheetObject','getAncestorScale','M0\x200H16V16H0z','getMergeData','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','stringify','handleInsertRangeMoveRight','getUnitId','Loading','LOGIN_FAILED','toString','_render','Tools','formula.calculation.started','executeCommand','popstate','_clearPolling','AUTHORIZE_CODE_ILLEGAL','_color','setUndoRedoMutationParamsCache','UnitStatus','APPLY_NON_SEQUENTIAL_REVISION','#FFF','_status$','colno','getOwnPropertyDescriptor','SetFormulaCalculationStartMutation','_cursors','_applyCommand','collab-text-anchor-','_assignedColors','bottom','executionId','delete','sheetId','ERROR_AGAIN','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','getCollabEntity$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','addHandlerCallback','PENDING','DocIMEInputManagerService','Failed','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','startRow','from','forEach','operators','SessionStatus','handleIRemoveCol','PERMISSION_DENIED','_hasFormulaInDirtyRanges','...','_transformPreviousActiveRange','getViewport','sessionStatus$','_handleJoinEvent','_entities','session.collaboration-timeout','_online','disableLocalCache','fillStyle','throttleTime','collabStatus.syncing','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_hover','colorChannel1','isFormulaString','Rectangle','maxFormulaLimit','with','_refRangeService','_univerInstanceService','getSheetId','/universer-api/license/formula/limit/start','UNIVER_SHEET','IImageIoService','toRgbString','subUnitId','getCoordByCell','connectInjector','ILogService','random','_init','rgba(255,\x20255,\x20255,\x200.01)','_range','_collaborationController','_docTransformIMECacheService','getRangePointData','getDocRanges','IUniverInstanceService','_initStatusListener','rxjs','_setupBeforeClosingHandler','_ensureSubject','save','_startSheetCollabCursor','APPLY_REJECT','getCurrentSelections','_getSaveTimeout','url(#off-line-icon_clip0_910_343)','mutations','collabStatus.synced','univer-mr-2\x20univer-flex\x20univer-text-xl','_clearOtherTimers','2MjfTtC','2405864TaujjX','SheetSkeletonManagerService','handleInsertRow','toStringTag','handleDeleteRangeMoveUp','OFFLINE','black','dirtyRanges','filename','JOIN_ROOM_FAILED','next','Inject','INVITE_CODE_REQUIRED','data','enableLocalCache','jsx','@univerjs/design','collabStatus.offline','collabStatus.notCollab','ENTITLE_USE_COUPON_NOT_1ST_TRADE','cursorInfo$','[RemoteUniscriptService]:\x20no\x20focused\x20unit','PY_RUNTIME_SCRIPT_ERROR','catch','YUUMI_URL_COL_OUT_OF_RANGE','dispose$','_scheduleHeartbeat','permission.content','setActiveRange','_monkeyPatchLogService','socket$','TEXT_RANGE_LAYER_INDEX','_pollingInterval','LOCAL_CACHE_INTERVAL_KEY','_unitStatus','_handleHeartbeatEvent','9KczyZf','SUBMIT_CHANGESET_TIMEOUT','_id','getformulaLimitStatusUrl','ENTITLE_INVALID_COUPON_CODE','push','findNodePositionByCharIndex','IDocClipboardService','85938XVMzRS','defineProperty','UniverProCollaboration','releaseFormulaLimitUrl','on-line-icon','UNRECOGNIZED','range','onStarting','syncEditingCollabCursor','REDEMPTION_INVALID_CODE','NOT_FOUND','red.300','_refreshCollabCursors','WECHAT_HAS_BEEN_BOUND','FETCH_MISS','REDEMPTION_USER_NOT_ELIGIBLE','_colorIndex','USER_NOT_FOUND','REDEMPTION_CODE_FULLY_REDEEMED','_selfUnitIDs','use','ALREADY_EXISTS','application/json','_collaborationSessionService','Subject','currentUsage','url(#$1','http://www.w3.org/2000/svg','addObjects','ranges','getColorFromTheme','cursorInfo','getVpScrollXYInfoByPosToVp','combineLatest','top','_scheduleClearOtherTimer','getValue','isTransformMutationsWithChangesetSuccess','debug','unload','assignAColorForMemberID','storage','now','restore','collabStatus.fetchMiss','transformSelections','none','571467XbKMME','trim','_session','SHEET_VIEWPORT_KEY','IUIPartsService','0\x200\x2017\x2016','_context','_onCursorUpdate','skeleton','getColor','off-line-icon','_maxFormulaLimit','code','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getActiveSheet','DocStateChangeManagerService','hovered','totalFormulasToCalculate','_initEvent','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','ITransformService','Vector2','getCollabCursors$','then','YUUMI_CONNECTOR_URL_NOT_FOUND','WebURLService','_initUserListener','runRefRangeMutations','onRendered','stage','find','collabStatus.conflict','onCommandExecuted','transformIMECache','UNAUTHENTICATED','registerRefRange','_memberID','_instanceService','_urlService','startColumn','selections','color','_saveTaskMap','0\x200\x2016\x2016','RegularPolygon','drawWith','EMAIL_HAS_BEEN_BOUND','_setFormulaLimitStatus','params','IBeforeCloseService','@univerjs/ui','UniverDocsUi','function','limitInfo','ILocalCacheService','registerComponent','_memberService','_setupSubUnitSync','getActiveRange','RemoveRowCommandId','split','endColumn','_initStatusComponent','REDEMPTION_USER_REDEEM_TIMES_EXCEED','BrowserCollaborationSocketService','_uiPartsService','Error','_beforeCloseService','_cursorShapes','unsubscribe','_lastPointer','APPLY_DUPLICATED','_heartbeatTimer','_initDependencies','setShapeProps','INVITE_CODE_ALREADY_BOUND','roomMembers$','unit','pluginName','transformMutation','transformStateCache','substring','override','UNDEFINED','_getSessionTicket','current','LICENSE_EXPORT_SIZE_EXCEEDED','RefRangeService','6385506NrrCDm','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','startFormulaLimitUrl','ICommandService','_transformService','_removeCollabCursors','_uploadLog','add','createInstance','InsertRangeMoveRightCommandId','collaboration.closeRoom','mergeOverrideWithDependencies','_renderManagerService','_handleEvent','getTypeOfUnitAdded$','requireSession','shift','HEADER_MENU','_collaborationUIEventService','event$','_transformHistoryAndStateStack','YUUMI_SUBSCRIPTION_NOT_FOUND','fillText','href','_draw','_backgroundColor','_showGuardMessage','engine','text','jiqing.500','1885485jVGWQY','BuiltInUIPart','setItem','div','OTHER_CLIENTS_EDITING','useCallback','sheetID','currentColor','PAYMENT_CHANNEL_NOT_SUPPORT','off-line-icon_clip0_910_343','children','set','transform','flatMap','join','_saveCache','_collabCursorController','bind','includes','distinctUntilChanged','parse','message','newValue','_initCommandExecutedListener','_checkCalculationAvailable','debounceTime','serializeRangeWithSheet','history','width','tag','disposeUnit','redoState','size','InsertColCommandId','/run/','init','CURRENT_STATUS_CANNOT_OPERATE','clearTimeout','ENSURE_SNAPSHOT_EXECUTION','replaceDocRanges','_registerRenderDependencies','SetFormulaCalculationNotificationMutation','MOBILE_VERIFY_CODE_MISMATCH','OnLineIcon','removeParam','isEditing','post'];_0x5828=function(){return _0x3e4f59;};return _0x5828();}