@univerjs-pro/collaboration-client-ui 0.10.10-nightly.202510180256 → 0.10.10-nightly.202510180327

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 (49) 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/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +15 -15
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x2391(_0x479667,_0x57ff85){const _0x5bd37b=_0x5bd3();return _0x2391=function(_0x2391fd,_0x436577){_0x2391fd=_0x2391fd-0x189;let _0x57a3b6=_0x5bd37b[_0x2391fd];return _0x57a3b6;},_0x2391(_0x479667,_0x57ff85);}function _0x5bd3(){const _0x2d4ef2=['origin','MOBILE_VERIFY_CODE_MISMATCH','transformByState','DeleteRangeMoveLeftCommandId','_memberService','exports','LICENSE_EXPORT_SIZE_EXCEEDED','_entities','http://www.w3.org/2000/svg','focused$','values','icon','DataLoaderService','merge','_initEvent','set','startRow','UniverRpc','LOGIN_FAILED','RemoveColCommandId','unitID','defineProperty','current','_scene','FormulaExecuteStageType','size','on-line-icon_clip0_910_349','YUUMI_UNABLE_LOAD_URL','_docSkeletonManagerService','onMouseMove','currentColor','includes','formula.calculation.waiting','getUnhiddenWorksheets','_handleHeartbeatEvent','row','activeSheet$','unit','parse','getTypeOfUnitDisposed$','color','VIEW_MAIN','jsx','editingUnit','onPointerEnter$','DocCollaborationEntity','redoState','UnitStatus','UniverDocsUi','_getSessionTicket','SheetsSelectionsService','getSheetBySheetId','concat','findNodePositionByCharIndex','_applyCommand','_shapes','REDEMPTION_CODE_HAS_BEEN_CREATED','getColor','_init','white','collaboration-client-ui.config','operators','univer-mr-2\x20univer-flex\x20univer-text-xl','startFormulaLimitUrl','INVALID_ARGUMENT','getParam','text','_transformHistoryAndStateStack','NodePositionConvertToCursor','_unitOnClients','measureText','_saveCache','forEach','setItem','setParam','max','transformSelections','_docSyncEditingCollabCursorService','_toggleOnline','@univerjs/engine-render','getActiveSheet','...','defs','subscribe','_initCommandInterceptor','SheetSkeletonManagerService','backgroundColor','resize','IRenderManagerService','updateOfflineData','delete','amd','url(#off-line-icon_clip0_910_343)','@univerjs/sheets-ui','shift','_lastPointer','jsxs','WebSocketService','1em','_transformPreviousActiveRange','history','@univerjs/rpc','_commandService','Inject','_unitStatus','LocaleService','APPLY_REJECT','CONNECTOR_DATA_TOO_LARGE','serializeRangeWithSheet','green.600','REDEMPTION_INVALID_CODE','Loading','_collaborationUIEventService','209454skhOVk','_startCalculationLimit','popstate','MoveRangeCommandId','getValue','_localCacheService','DocSelectionManagerService','string','blue.400','runRefRangeMutations','prototype','DependentOn','sessionTicket','setConfig','addHandlerCallback','_initDependencies','ENTITLE_REPORT_LIMIT_EXCEED','url(#$1','_setupSubUnitSync','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_doCreateSocket','DisposableCollection','createIdentifier','IUniverInstanceService','formula.calculation.unable','touchDependencies','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','_setFormulaLimitStatus','getUndoRedoMutationParamsCache','dispose$','SessionStatus','YUUMI_URL_COL_OUT_OF_RANGE','collabStatus.syncing','now','setUndoRedoMutationParamsCache','CollaborationController','Optional','body','skeleton','collab-rect-range-','useRef','TEXT','_textBubble','77VVojBg','isTransformMutationFailure','_notificationService','data','ENTITLE_NEED_BILLING_ADDRESS','restore','SOCKET_FAILED_RETRY','_cachedData','call','beginPath','from','_initEntityListener','loadUnit','search','trim','getMergeData','_initResize','Failed','subunit','requireSession','Rect','searchParams','toStringTag','CHANGESET_REVISION_CONFILICT','_scheduleClearOtherTimer','location','transformRemoteChangeset','getOwnPropertyDescriptor','rxjs','APPLY_NON_SEQUENTIAL_REVISION','parseInt','PENDING','deserializeRangeWithSheet','debounceTime','INVITE_CODE_HAS_BEEN_UES','session.will-retry','_collaborationController','useDependency','CanceledError','cursorInfo$','collaboration.closeRoom','INVALID_INVITE_CODE','addClipboardHook','svg','_updateCollabCursors','ENTITLE_DUP_SUBSCRIPTION','SetFormulaCalculationStartMutation','doc.mutation.rich-text-editing','_beforeCloseService','UNDEFINED','registerRefRange','getCoordByCell','assign','Plugin','endColumn','arc','labelPosition','_cursor','collab-client.tooltip.reconnect','_refreshCollabCursors','getDocRanges','CollaborationUIEventId','_collabCursorState$','_cursorInfo$','_messageService','top','handleInsertRangeMoveRight','ThemeService','getCollabCursors$','CollaborationSessionService','TOO_MANY_REQUESTS','APPLY_DUPLICATED','dispose','M0\x200H16V16H0z','session.collaboration-timeout','_heartbeatTimer','collabCursorState$','RemoteUniscriptService','_online','error','/run/','exhaustSavingTask','lineTo','switchMap','source','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_registerRenderDependencies','_instanceService','39290pOkVbH','EffectRefRangId','_name','getMember','LICENSE_IMPORT_SIZE_EXCEEDED','_roomMembers$','add','setStateCache','onTransformChange$','_status$','onStarting','ILocalStorageService','beforeCommandExecuted','clearTimeout','handleInsertCol','FETCH_MISS','with','_initStatusComponent','_onRefRangeChange','Shape','fillText','_scheduleHeartbeat','className','flatMap','setActiveRange','ACTIVE_UNIT_EVENT_CHANNEL','ENSURE_SNAPSHOT_EXECUTION','/universer-api/license/formula/limit/status','runId','CONFLICT','_hover','_refRangeService','UniverInstanceType','_registerDependencies','IRemoteInstanceService','getViewport','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','IConfigService','_checkCalculationAvailable','_document','mutations','BehaviorSubject','ColorKit','ICommandService','newValue','_getSheetObject','_docStateChangeManagerService','path','DOC_RANGE_TYPE','Injector','_httpService','IMessageService','textRanges','releaseFormulaLimitUrl','maxFormulaLimit','executionId','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','makeDirty','_entityInit$','getRelativeToViewportCoord','undoState','drawWith','generateRandomId','HEADER_MENU','_hovered','saveImage','m2Prime','isEditing','_hasFormulaInDirtyRanges','_updateLocalCursor','off-line-icon_clip0_910_343','_context','@univerjs/ui','_collabSessionService','IURLService','START_CALCULATION','ITransformService','_docTransformSelectionsService','_removeClearOtherTimer','fill','hasOwnProperty','COMPLETION_FINISHED','transformIMECache','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','session.connection-failed','stage','useCallback','SUCCESS','column','[CollaborationDataLoaderController]','_docTransformStateCacheService','purple.300','executeCommand','729840kFksRK','_assignedColors','endRow','transformMutation','post','collabStatus.conflict','moveTo','transform','clearInterval','_cursorShapes','pluginName','TRANSFORM_CHANGE_OBSERVABLE_TYPE','OffLineIcon','has','_id','roomMembers$','@univerjs/sheets','Rectangle','LICENSE_DISTRO_REJECTED','toDisposable','_clearPolling','Workbook','distinctUntilChanged','onPointerLeave$','SNAPSHOT_HAS_BEEN_REMOVED','_uiPartsService','addObjects','_colorIndex','_docTransformIMECacheService','@univerjs-pro/collaboration-client','_selfUnitIDs','Disposable','cursorInfo','[RemoteUniscriptService]:\x20no\x20focused\x20unit','forwardRef','permission.content','getOwnPropertySymbols','LICENSE_MAX_UNITS_EXCEEDED','AWAITING_WITH_PENDING','red.300','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','unshift','_render','getLocalCacheKey','UniverEngineRender','uni.network.url-service','_send','_imageIoService','YUUMI_CONNECTOR_URL_NOT_FOUND','_getAnchorBounding','_renderManagerService','_anchor','Success','LOGIN_TOKEN_PROCESSING_FAILED','MessageType','_colorAssignService','application/json','ranges','pushState','REDEMPTION_CODE_FULLY_REDEEMED','_backgroundColor','IDocClipboardService','onPointerMove$','INVITE_CODE_REQUIRED','INVITE_CODE_ALREADY_BOUND','_labelPosition','SYNCED','_themeService','handleMoveRange','PY_RUNTIME_SCRIPT_ERROR','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','LOCAL_CACHE_INTERVAL','_startDocCollabCursor','none','@univerjs/network','_pollingInterval','isArray','removeParam','toString','_session','unitId','isTransformMutationsWithChangesetSuccess','REDEMPTION_USER_NOT_ELIGIBLE','evenodd','indexOf','@univerjs/engine-formula','_getMergeRange','fromEventSubject','sessionStatus$','createInstance','url(#on-line-icon_clip0_910_349)','INotificationService','CollaborationStatus','getMemberID','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','collab-text-range-','USERS_LEAVE','then','apply','handleIRemoveCol','Vector2','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','790hLOUHx','YUUMI_AI_RUN_FAILED','UniverDesign','_revisionService','OnLineIcon','getStateCache','combineLatest','_getScale','UniverCollaborationClientUIPlugin','bottom','next','#FFF','status$','tag','_maxFormulaLimit','startsWith','_updateSubUnitFromURLParams','subscribeEvent','limitInfo','deepClone','_logService','takeUntil','_syncEditingCollabCursorService','NO_OTHER_CLIENTS_EDITING','_handleLeaveEvent','stageInfo','MOBILE_HAS_BEEN_BOUND','/universer-api/license/formula/limit/start','NOT_COLLAB','rxjs/operators','_ensureSubject','_univerInstanceService','_handleEvent','_localStorageService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getItem','HTTPService','RichTextEditingMutation','ILogService','CollaborationUIEventService','getVpScrollXYInfoByPosToVp','CLOSE_ROOM','find','selections','asObservable','ILocalCacheService','show','_updateURLWithCurrentState','defIds','EMAIL_HAS_BEEN_BOUND','_createSocketURL','_sheetSkeletonManagerService','_setupBeforeClosingHandler','ticket','getCollabEntity$','propertyIsEnumerable','createSocket','SetWorksheetActivateCommand','fillStyle','_onCursorUpdate','mergeOverrideWithDependencies','UNRECOGNIZED','unsubscribe','handleInsertRow','clipPath','imageSourceType','@univerjs/docs-ui','NOT_FOUND','getRangePointData','getUniverSheetInstance','_saveTaskMap','160497ZxLOPW','_localeService','subUnitId','CollaborationDataLoaderController','setShapeProps','off-line-icon','ERROR_AGAIN','range','unload','_injector','collabStatus.notCollab','RxDisposable','symbol','pipe','onCommandExecuted','currentTheme$','ONLINE','DocIMEInputManagerService','startColumn','_config','totalFormulasToCalculate','?taskId=','roomMembers','YUUMI_RATE_OVER_LIMIT','addObject','getRenderById','invokeId','125SaNENl','getSkeleton','ISocketService','PERMISSION_DENIED','REDEMPTION_CODE_INACTIVE','CURRENT_STATUS_CANNOT_OPERATE','TEXT_RANGE_LAYER_INDEX','length','wsSessionTicketUrl','get','debounce','onRendered','colorChannel1','UNIVER_DOC','hovered','2190ieVNsl','fillRule','AUTHORIZE_CODE_ILLEGAL','storage','3768gBdDDB','ENTITLE_CAN_NOT_BUY_LOWER_OTP','black','init','disposeWithMe','_drawTextRange','getConfig','event$','registerBeforeClose','extend','UPDATE_CURSOR','round','min','Tooltip','assignAColorForMemberID','_clearOtherTimers','getCurrentRevOfUnit','_lastResponseTimestamp','OFFLINE','useObservable','save','_configService','_hideTimer','_currentUsage','IBeforeCloseService','map','clsx','OTHER_CLIENT_EDITING','engine','getOffsetConfig','_disabled','JOIN_ROOM_FAILED','selection','translate(.97)','_initCommandExecutedListener','getUnitId','getCurrentSelections','UniverDrawing','type','RefRangeService','runOnServer','debug','idSuffix','USER_IS_ANONYMOUS','_scheduleSaving','syncEditingCollabCursor','stringify','_showGuardMessage','InsertRowCommandId','getFocusedUnit','_transformService','replaceState','MemberService','yellow.400','WebBrowserSingleActiveUnitService','_initStatusListener','replace','@univerjs/core','children','UniverProCollaborationClientUi','replaceDocRanges','UniverSheets','SUBMIT_CHANGESET_TIMEOUT','UniverCore','RemoveRowCommandId','m1Prime','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','YUUMI_NO_CUBOID_FOR_QUESTION','UNAUTHENTICATED','_getFormulaLimitStatus','getColorFromTheme','univer-flex\x20univer-items-center','DesktopCollaborationStatusDisplayController','Error','FromArray','collaboration.single-unit.warning','isActive','DocSkeletonManagerService','InsertColCommandId','complete','enableLocalCache','_color','eventID','_docSkeleton','_taskIds','handleDeleteRangeMoveUp','_range','YUUMI_TABLE_NOT_FOUND_IN_UNIT','UNIVER_SHEET','entries','APPLY_PERMISSION_DENIED','collab-text-anchor-','265BxAnJu','_cursors','DocStateChangeManagerService','RECT','_handleJoinEvent','createElement','getSheetId','CollaborationEvent','saveTaskMap','all','functionsExecutedState','@univerjs/docs','ENTITLE_CHAT_LIMIT_EXCEED','handleIRemoveRow','@univerjs/drawing','setInterval','RevisionService','8ICwIfl','on-line-icon','attrs','Unknown\x20user','transformStateCache','_collabCursorController','setTimeout','function','_releaseCalculationLimit','font','xlink:href','YUUMI_ASYNCIO_CANCELLED','COLORS','_drawAnchor','displayName','REDEMPTION_USER_REDEEM_TIMES_EXCEED','name','setAlpha','@univerjs-pro/collaboration','disposeUnit','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','IImageIoService','params','getUnitStatus$','Module','code','urlChange$','split','href','getAncestorScale','_checkAndWaitForCalculationPermission','substring','_transformUndoRedoStack','_docClipboardService','filter','Tools','Warning','YUUMI_ALL_TABLES_IS_INVALID','USER_NOT_INVITED_CODE','DeleteRangeMoveUpCommandId','ALREADY_EXISTS','contains','_draw','jiqing.500','div','USER_NOT_FOUND','BrowserCollaborationSocketService','width','SHEET_VIEWPORT_KEY','RegularPolygon','_toggleOffline','/universer-api/license/formula/limit/done','triggerDblclick','_removeCollabCursors','OTHER_CLIENTS_EDITING','CollaborationSocketService','UniverEngineFormula','rgba(255,\x20255,\x20255,\x200.01)','_onCursorDelete','INTERNAL_ERROR','_eventUnsubscribe','push','WECHAT_HAS_BEEN_BOUND','formula.calculation.started','getCurrentUnitForType','_dataLoaderService','YUUMI_SUBSCRIPTION_NOT_FOUND','result','_urlService','_anchorDot','handleDeleteRangeMoveLeft','registerRenderModule','toRgbString','transformMutationsWithChangeset'];_0x5bd3=function(){return _0x2d4ef2;};return _0x5bd3();}(function(_0x510099,_0x3ce780){const _0x9df50a=_0x2391,_0x446ae5=_0x510099();while(!![]){try{const _0x140d28=parseInt(_0x9df50a(0x2d7))/0x1*(parseInt(_0x9df50a(0x275))/0x2)+parseInt(_0x9df50a(0x2e6))/0x3+parseInt(_0x9df50a(0x2ea))/0x4*(-parseInt(_0x9df50a(0x346))/0x5)+parseInt(_0x9df50a(0x20f))/0x6+-parseInt(_0x9df50a(0x412))/0x7+parseInt(_0x9df50a(0x357))/0x8*(-parseInt(_0x9df50a(0x2bc))/0x9)+parseInt(_0x9df50a(0x1b2))/0xa*(parseInt(_0x9df50a(0x43d))/0xb);if(_0x140d28===_0x3ce780)break;else _0x446ae5['push'](_0x446ae5['shift']());}catch(_0x168331){_0x446ae5['push'](_0x446ae5['shift']());}}}(_0x5bd3,0x18cbf),function(_0xc740f7,_0x4ff8c3){const _0x50e621=_0x2391;typeof exports=='object'&&typeof module<'u'?_0x4ff8c3(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==_0x50e621(0x35e)&&define[_0x50e621(0x3fc)]?define([_0x50e621(0x3a6),'react/jsx-runtime',_0x50e621(0x22c),_0x50e621(0x323),_0x50e621(0x1fa),'rxjs','@univerjs/design','react',_0x50e621(0x406),_0x50e621(0x21f),_0x50e621(0x3f0),_0x50e621(0x259),_0x50e621(0x2b7),_0x50e621(0x354),_0x50e621(0x369),_0x50e621(0x351),_0x50e621(0x264),_0x50e621(0x292),_0x50e621(0x3fe)],_0x4ff8c3):(_0xc740f7=typeof globalThis<'u'?globalThis:_0xc740f7||self,_0x4ff8c3(_0xc740f7[_0x50e621(0x325)]={},_0xc740f7['React'],_0xc740f7['UniverProCollaborationClient'],_0xc740f7[_0x50e621(0x329)],_0xc740f7['UniverUi'],_0xc740f7[_0x50e621(0x459)],_0xc740f7[_0x50e621(0x277)],_0xc740f7['React'],_0xc740f7[_0x50e621(0x3b2)],_0xc740f7[_0x50e621(0x327)],_0xc740f7[_0x50e621(0x23b)],_0xc740f7['UniverNetwork'],_0xc740f7[_0x50e621(0x3d1)],_0xc740f7[_0x50e621(0x30f)],_0xc740f7['UniverProCollaboration'],_0xc740f7['UniverDocs'],_0xc740f7[_0x50e621(0x38f)],_0xc740f7[_0x50e621(0x459)][_0x50e621(0x3de)],_0xc740f7['UniverSheetsUi']));}(this,function(_0x13f865,_0x396554,_0x5ef24b,_0x5c942c,_0xd9e91b,_0x47f7ed,_0x24440e,_0x58c680,_0x1f8573,_0x58089b,_0x45c6b1,_0x12ed1f,_0x46901e,_0xca922d,_0x1552da,_0x15cc89,_0x16879f,_0x3b5af9,_0x122305){'use strict';const _0x5d8024=_0x2391;var _0x44245e=Object[_0x5d8024(0x3b6)],_0x5289ca=(_0x6037b4,_0x3bb56f,_0x211924)=>_0x3bb56f in _0x6037b4?_0x44245e(_0x6037b4,_0x3bb56f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x211924}):_0x6037b4[_0x3bb56f]=_0x211924,_0x55ab4a=(_0x2f8cde,_0x32d6b5,_0x5b31fe)=>_0x5289ca(_0x2f8cde,typeof _0x32d6b5!=_0x5d8024(0x2c8)?_0x32d6b5+'':_0x32d6b5,_0x5b31fe),_0x2704df=function(){const _0x4b1ab7=_0x5d8024;return _0x2704df=Object[_0x4b1ab7(0x18e)]||function(_0x2d3064){const _0x2aad92=_0x4b1ab7;for(var _0x27a12d,_0x4dcce7=0x1,_0x2fad89=arguments[_0x2aad92(0x2de)];_0x4dcce7<_0x2fad89;_0x4dcce7++){_0x27a12d=arguments[_0x4dcce7];for(var _0x17aa4b in _0x27a12d)Object[_0x2aad92(0x41c)][_0x2aad92(0x202)][_0x2aad92(0x445)](_0x27a12d,_0x17aa4b)&&(_0x2d3064[_0x17aa4b]=_0x27a12d[_0x17aa4b]);}return _0x2d3064;},_0x2704df[_0x4b1ab7(0x271)](this,arguments);},_0x42976=function(_0x5c2a05,_0x260bae){const _0x35a1a2=_0x5d8024;var _0x84ff9c={};for(var _0x2c2a7f in _0x5c2a05)Object[_0x35a1a2(0x41c)][_0x35a1a2(0x202)][_0x35a1a2(0x445)](_0x5c2a05,_0x2c2a7f)&&_0x260bae[_0x35a1a2(0x263)](_0x2c2a7f)<0x0&&(_0x84ff9c[_0x2c2a7f]=_0x5c2a05[_0x2c2a7f]);if(_0x5c2a05!=null&&typeof Object[_0x35a1a2(0x233)]==_0x35a1a2(0x35e)){for(var _0x51ffa6=0x0,_0x2c2a7f=Object['getOwnPropertySymbols'](_0x5c2a05);_0x51ffa6<_0x2c2a7f[_0x35a1a2(0x2de)];_0x51ffa6++)_0x260bae[_0x35a1a2(0x263)](_0x2c2a7f[_0x51ffa6])<0x0&&Object[_0x35a1a2(0x41c)][_0x35a1a2(0x2ac)][_0x35a1a2(0x445)](_0x5c2a05,_0x2c2a7f[_0x51ffa6])&&(_0x84ff9c[_0x2c2a7f[_0x51ffa6]]=_0x5c2a05[_0x2c2a7f[_0x51ffa6]]);}return _0x84ff9c;},_0x5022d2=_0x58c680[_0x5d8024(0x231)](function(_0x5530c1,_0x3bb2bd){const _0x44852f=_0x5d8024;var _0x22ea6d=_0x5530c1[_0x44852f(0x3ac)],_0xccd019=_0x5530c1['id'],_0x1b05b6=_0x5530c1[_0x44852f(0x1c8)],_0x1735f3=_0x5530c1[_0x44852f(0x2f3)],_0x2ebaf9=_0x42976(_0x5530c1,['icon','id',_0x44852f(0x1c8),_0x44852f(0x2f3)]),_0x4c5c70='univerjs-icon\x20univerjs-icon-'[_0x44852f(0x3d5)](_0xccd019,'\x20')[_0x44852f(0x3d5)](_0x1b05b6||'')[_0x44852f(0x44b)](),_0x83dbd7=_0x58c680[_0x44852f(0x43a)]('_'['concat'](_0x4ec272()));return _0x26c257(_0x22ea6d,''[_0x44852f(0x3d5)](_0xccd019),{'defIds':_0x22ea6d[_0x44852f(0x2a5)],'idSuffix':_0x83dbd7[_0x44852f(0x3b7)]},_0x2704df({'ref':_0x3bb2bd,'className':_0x4c5c70},_0x2ebaf9),_0x1735f3);});function _0x26c257(_0x42f856,_0x341b88,_0x4c2a80,_0xb755ca,_0x34fbaf){const _0x27ef6f=_0x5d8024;return _0x58c680[_0x27ef6f(0x34b)](_0x42f856[_0x27ef6f(0x282)],_0x2704df(_0x2704df({'key':_0x341b88},_0x27b0a6(_0x42f856,_0x4c2a80,_0x34fbaf)),_0xb755ca),(_0x1a5245(_0x42f856,_0x4c2a80)[_0x27ef6f(0x324)]||[])['map'](function(_0x31969f,_0x163f05){const _0x44f91f=_0x27ef6f;return _0x26c257(_0x31969f,''[_0x44f91f(0x3d5)](_0x341b88,'-')[_0x44f91f(0x3d5)](_0x42f856[_0x44f91f(0x282)],'-')[_0x44f91f(0x3d5)](_0x163f05),_0x4c2a80,void 0x0,_0x34fbaf);}));}function _0x27b0a6(_0x1bc3d3,_0x8271d2,_0x7de910){const _0x50d649=_0x5d8024;var _0x1fd128=_0x2704df({},_0x1bc3d3[_0x50d649(0x359)]);_0x7de910!=null&&_0x7de910['colorChannel1']&&_0x1fd128[_0x50d649(0x201)]==='colorChannel1'&&(_0x1fd128[_0x50d649(0x201)]=_0x7de910[_0x50d649(0x2e3)]),_0x1bc3d3[_0x50d649(0x282)]==='mask'&&_0x1fd128['id']&&(_0x1fd128['id']=_0x1fd128['id']+_0x8271d2[_0x50d649(0x314)]),Object[_0x50d649(0x343)](_0x1fd128)[_0x50d649(0x3e9)](function(_0x5ca445){const _0x30fcc8=_0x50d649;var _0x103501=_0x5ca445[0x0],_0x15fcb6=_0x5ca445[0x1];_0x103501==='mask'&&typeof _0x15fcb6=='string'&&(_0x1fd128[_0x103501]=_0x15fcb6['replace'](/url\(#(.*)\)/,'url(#$1'[_0x30fcc8(0x3d5)](_0x8271d2[_0x30fcc8(0x314)],')')));});var _0x519d09=_0x8271d2[_0x50d649(0x2a5)];return!_0x519d09||_0x519d09['length']===0x0||(_0x1bc3d3[_0x50d649(0x282)]==='use'&&_0x1fd128[_0x50d649(0x361)]&&(_0x1fd128[_0x50d649(0x361)]=_0x1fd128['xlink:href']+_0x8271d2[_0x50d649(0x314)]),Object[_0x50d649(0x343)](_0x1fd128)[_0x50d649(0x3e9)](function(_0x4d9b4c){const _0x176d79=_0x50d649;var _0x48956e=_0x4d9b4c[0x0],_0x4acae7=_0x4d9b4c[0x1];typeof _0x4acae7==_0x176d79(0x419)&&(_0x1fd128[_0x48956e]=_0x4acae7[_0x176d79(0x322)](/url\(#(.*)\)/,_0x176d79(0x423)[_0x176d79(0x3d5)](_0x8271d2[_0x176d79(0x314)],')')));})),_0x1fd128;}function _0x1a5245(_0x14d288,_0x4a3c4e){const _0x1a9206=_0x5d8024;var _0x19d671,_0x3a99a7=_0x4a3c4e[_0x1a9206(0x2a5)];return!_0x3a99a7||_0x3a99a7[_0x1a9206(0x2de)]===0x0?_0x14d288:_0x14d288['tag']===_0x1a9206(0x3f3)&&(!((_0x19d671=_0x14d288[_0x1a9206(0x324)])===null||_0x19d671===void 0x0)&&_0x19d671[_0x1a9206(0x2de)])?_0x2704df(_0x2704df({},_0x14d288),{'children':_0x14d288[_0x1a9206(0x324)][_0x1a9206(0x303)](function(_0x4cea16){const _0x57df36=_0x1a9206;return typeof _0x4cea16[_0x57df36(0x359)]['id']==_0x57df36(0x419)&&_0x3a99a7&&_0x3a99a7[_0x57df36(0x3c0)](_0x4cea16[_0x57df36(0x359)]['id'])?_0x2704df(_0x2704df({},_0x4cea16),{'attrs':_0x2704df(_0x2704df({},_0x4cea16['attrs']),{'id':_0x4cea16[_0x57df36(0x359)]['id']+_0x4a3c4e[_0x57df36(0x314)]})}):_0x4cea16;})}):_0x14d288;}function _0x4ec272(){const _0x39e1c1=_0x5d8024;return Math['random']()[_0x39e1c1(0x25d)](0x24)[_0x39e1c1(0x376)](0x2,0x8);}_0x5022d2[_0x5d8024(0x365)]='UniverIcon';var _0x496307={'tag':_0x5d8024(0x468),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5d8024(0x258),'viewBox':'0\x200\x2016\x2016','width':_0x5d8024(0x403),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x5d8024(0x3fd)},'children':[{'tag':_0x5d8024(0x1e1),'attrs':{'stroke':_0x5d8024(0x3bf),'d':_0x5d8024(0x42c),'strokeLinecap':_0x5d8024(0x2f5),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x5d8024(0x3f3),'attrs':{},'children':[{'tag':_0x5d8024(0x2b5),'attrs':{'id':_0x5d8024(0x1f8)},'children':[{'tag':_0x5d8024(0x1e1),'attrs':{'fill':'white','d':_0x5d8024(0x1a3)}}]}]}],'defIds':[_0x5d8024(0x1f8)]},_0x54e74f=_0x58c680[_0x5d8024(0x231)](function(_0x425ec4,_0x48dc1f){const _0x4e5226=_0x5d8024;return _0x58c680['createElement'](_0x5022d2,Object[_0x4e5226(0x18e)]({},_0x425ec4,{'id':_0x4e5226(0x2c1),'ref':_0x48dc1f,'icon':_0x496307}));});_0x54e74f[_0x5d8024(0x365)]=_0x5d8024(0x21b);var _0x4e47d4={'tag':_0x5d8024(0x468),'attrs':{'xmlns':_0x5d8024(0x3a9),'fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x5d8024(0x403),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x5d8024(0x269)},'children':[{'tag':_0x5d8024(0x1e1),'attrs':{'stroke':_0x5d8024(0x3bf),'d':_0x5d8024(0x1ea),'strokeLinecap':_0x5d8024(0x2f5),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x5d8024(0x3f3),'attrs':{},'children':[{'tag':_0x5d8024(0x2b5),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x5d8024(0x1e1),'attrs':{'fill':_0x5d8024(0x3dc),'d':_0x5d8024(0x1a3),'transform':_0x5d8024(0x30b)}}]}]}],'defIds':[_0x5d8024(0x3bb)]},_0x4569e4=_0x58c680[_0x5d8024(0x231)](function(_0x661853,_0x1ee63e){const _0x53dfeb=_0x5d8024;return _0x58c680[_0x53dfeb(0x34b)](_0x5022d2,Object[_0x53dfeb(0x18e)]({},_0x661853,{'id':_0x53dfeb(0x358),'ref':_0x1ee63e,'icon':_0x4e47d4}));});_0x4569e4[_0x5d8024(0x365)]=_0x5d8024(0x279);function _0x3cb890(_0x5f2299){const _0x5d82=_0x5d8024;switch(_0x5f2299){case _0x5ef24b['CollaborationStatus'][_0x5d82(0x2fc)]:return'collabStatus.offline';case _0x5ef24b[_0x5d82(0x26b)]['CONFLICT']:return _0x5d82(0x214);case _0x5ef24b[_0x5d82(0x26b)][_0x5d82(0x1c1)]:return'collabStatus.fetchMiss';case _0x5ef24b[_0x5d82(0x26b)]['NOT_COLLAB']:return _0x5d82(0x2c6);case _0x5ef24b[_0x5d82(0x26b)]['AWAITING']:case _0x5ef24b[_0x5d82(0x26b)][_0x5d82(0x235)]:return _0x5d82(0x432);case _0x5ef24b[_0x5d82(0x26b)][_0x5d82(0x251)]:case _0x5ef24b[_0x5d82(0x26b)][_0x5d82(0x45c)]:return'collabStatus.synced';}}function _0x59dfc8(_0x47bb83){const _0x5d42a5=_0x5d8024,{status$:_0x108598}=_0x47bb83,_0x2562f8=_0xd9e91b[_0x5d42a5(0x2fd)](_0x108598,_0x5ef24b[_0x5d42a5(0x26b)][_0x5d42a5(0x291)]),_0x1614af=_0xd9e91b[_0x5d42a5(0x462)](_0x5c942c[_0x5d42a5(0x40a)]),_0x34dea0=_0xd9e91b['useDependency'](_0x5ef24b[_0x5d42a5(0x19f)]),_0x166f81=_0x2562f8!==_0x5ef24b[_0x5d42a5(0x26b)][_0x5d42a5(0x2fc)],_0x3a08e8=_0x1614af['t'](_0x3cb890(_0x2562f8)),_0x70cc4e=_0x166f81?_0x396554[_0x5d42a5(0x3cb)](_0x4569e4,{}):_0x396554['jsx'](_0x54e74f,{}),_0x421699=_0x58c680[_0x5d42a5(0x208)](()=>{_0x166f81||_0x34dea0['reconnect']();},[_0x166f81,_0x34dea0]);function _0x2c8519(){const _0x5b4138=_0x5d42a5;return _0x396554[_0x5b4138(0x401)]('div',{'className':_0x5b4138(0x331),'onClick':_0x421699,'children':[_0x396554[_0x5b4138(0x3cb)](_0x5b4138(0x383),{'className':_0x24440e[_0x5b4138(0x304)](_0x5b4138(0x3df),{'univer-text-green-500':_0x166f81,'univer-text-red-500':!_0x166f81}),'children':_0x70cc4e}),_0x396554['jsx']('div',{'className':_0x5b4138(0x32c),'children':_0x3a08e8})]});}return _0x166f81?_0x2c8519():_0x396554['jsx'](_0x24440e[_0x5d42a5(0x2f7)],{'title':_0x1614af['t'](_0x5d42a5(0x194)),'children':_0x2c8519()});}var _0x2d8734=Object[_0x5d8024(0x458)],_0x99ce1b=(_0x23aef2,_0x2d46eb,_0x124419,_0x55a623)=>{const _0x98ae50=_0x5d8024;for(var _0x16d958=_0x55a623>0x1?void 0x0:_0x55a623?_0x2d8734(_0x2d46eb,_0x124419):_0x2d46eb,_0x5a14cb=_0x23aef2[_0x98ae50(0x2de)]-0x1,_0x3f6c2e;_0x5a14cb>=0x0;_0x5a14cb--)(_0x3f6c2e=_0x23aef2[_0x5a14cb])&&(_0x16d958=_0x3f6c2e(_0x16d958)||_0x16d958);return _0x16d958;},_0xa4e809=(_0x3a8f02,_0x128c08)=>(_0x2807d7,_0xb9758f)=>_0x128c08(_0x2807d7,_0xb9758f,_0x3a8f02);_0x13f865['DesktopCollaborationStatusDisplayController']=class extends _0x5c942c['Disposable']{constructor(_0x49c66c,_0x200ce6,_0x27ddf5,_0x46eafd){const _0x5872c9=_0x5d8024;super(),_0x55ab4a(this,_0x5872c9(0x1bb),new _0x47f7ed[(_0x5872c9(0x1db))](_0x5ef24b['CollaborationStatus'][_0x5872c9(0x291)])),(this[_0x5872c9(0x294)]=_0x49c66c,this[_0x5872c9(0x2c5)]=_0x200ce6,this[_0x5872c9(0x461)]=_0x27ddf5,this[_0x5872c9(0x228)]=_0x46eafd,this[_0x5872c9(0x1c3)](),this[_0x5872c9(0x321)]());}['_initStatusListener'](){const _0x1aee76=_0x5d8024;this[_0x1aee76(0x2ee)](this[_0x1aee76(0x294)][_0x1aee76(0x3aa)]['pipe'](_0x47f7ed[_0x1aee76(0x1ad)](()=>{const _0x314719=_0x1aee76,_0x269ff5=this[_0x314719(0x294)]['getFocusedUnit']();return _0x269ff5?this['_collaborationController'][_0x314719(0x2ab)](_0x269ff5[_0x314719(0x30d)]()):_0x47f7ed['of'](null);}),_0x47f7ed[_0x1aee76(0x1ad)](_0x4612cd=>_0x4612cd?_0x4612cd[_0x1aee76(0x281)]:_0x47f7ed['of'](_0x5ef24b[_0x1aee76(0x26b)][_0x1aee76(0x291)])))['subscribe'](_0x3c7fe7=>{const _0x41ec3a=_0x1aee76;this[_0x41ec3a(0x1bb)][_0x41ec3a(0x27f)](_0x3c7fe7);}));}[_0x5d8024(0x1c3)](){const _0x2e1107=_0x5d8024;this['disposeWithMe'](this[_0x2e1107(0x228)]['registerComponent'](_0xd9e91b['BuiltInUIPart'][_0x2e1107(0x1f1)],()=>_0xd9e91b['connectInjector'](_0x1d9213({'status$':this[_0x2e1107(0x1bb)][_0x2e1107(0x2a1)]()}),this[_0x2e1107(0x2c5)])));}},_0x13f865['DesktopCollaborationStatusDisplayController']=_0x99ce1b([_0xa4e809(0x0,_0x5c942c[_0x5d8024(0x429)]),_0xa4e809(0x1,_0x5c942c['Inject'](_0x5c942c[_0x5d8024(0x1e3)])),_0xa4e809(0x2,_0x5c942c['Inject'](_0x5ef24b[_0x5d8024(0x435)])),_0xa4e809(0x3,_0xd9e91b['IUIPartsService'])],_0x13f865['DesktopCollaborationStatusDisplayController']);function _0x1d9213(_0x252eb9){const {status$:_0x5f55e9}=_0x252eb9;return function(){return _0x396554['jsx'](_0x59dfc8,{'status$':_0x5f55e9});};}const _0x430a02=_0x5c942c[_0x5d8024(0x428)](_0x5d8024(0x23c));var _0x4d5daf=Object['getOwnPropertyDescriptor'],_0xf4eea0=(_0x2139cb,_0x24d332,_0x3e32a1,_0x485fca)=>{const _0x1fa512=_0x5d8024;for(var _0x447fa3=_0x485fca>0x1?void 0x0:_0x485fca?_0x4d5daf(_0x24d332,_0x3e32a1):_0x24d332,_0x3f897f=_0x2139cb[_0x1fa512(0x2de)]-0x1,_0x37a6e8;_0x3f897f>=0x0;_0x3f897f--)(_0x37a6e8=_0x2139cb[_0x3f897f])&&(_0x447fa3=_0x37a6e8(_0x447fa3)||_0x447fa3);return _0x447fa3;},_0x2c0d0c=(_0x959f47,_0x3067f2)=>(_0x443001,_0x5f73e5)=>_0x3067f2(_0x443001,_0x5f73e5,_0x959f47);_0x13f865[_0x5d8024(0x2bf)]=class extends _0x5c942c[_0x5d8024(0x2c7)]{constructor(_0x554b5b,_0x1fba31,_0x5047d3,_0x31cc6a,_0x162f25){const _0x92404=_0x5d8024;super(),this[_0x92404(0x39b)]=_0x554b5b,this[_0x92404(0x289)]=_0x1fba31,this['_commandService']=_0x5047d3,this[_0x92404(0x398)]=_0x31cc6a,_0x162f25?_0x162f25==null||_0x162f25['whenReady']()['then'](()=>this[_0x92404(0x3db)]()):(this[_0x92404(0x289)][_0x92404(0x313)](_0x92404(0x20b),_0x92404(0x205)),this[_0x92404(0x3db)]());}async[_0x5d8024(0x3db)](){const _0x33d53f=_0x5d8024,_0x2a417f=this[_0x33d53f(0x39b)]['getParam'](_0x33d53f(0x3c6)),_0x50d1db=this[_0x33d53f(0x39b)][_0x33d53f(0x3e2)](_0x33d53f(0x310)),_0xfab2b2=this[_0x33d53f(0x39b)][_0x33d53f(0x3e2)]('subunit');if(!_0x2a417f||!_0x50d1db){this[_0x33d53f(0x289)][_0x33d53f(0x313)](_0x33d53f(0x20b),_0x33d53f(0x237));return;}const _0x2c42e0=await this[_0x33d53f(0x398)][_0x33d53f(0x449)](_0x2a417f,Number(_0x50d1db),_0xfab2b2);_0x2c42e0&&_0x2c42e0 instanceof _0x5c942c[_0x33d53f(0x224)]&&this[_0x33d53f(0x424)](_0x2c42e0);}async[_0x5d8024(0x424)](_0x3e9623){const _0x37a900=_0x5d8024;await this[_0x37a900(0x285)](_0x3e9623),_0x3e9623[_0x37a900(0x3c5)][_0x37a900(0x2c9)](_0x47f7ed[_0x37a900(0x28a)](this[_0x37a900(0x42f)]))[_0x37a900(0x3f4)](_0x424d9b=>{const _0x1d68ad=_0x37a900;_0x424d9b&&this[_0x1d68ad(0x2a4)](_0x424d9b);}),this['_urlService'][_0x37a900(0x371)][_0x37a900(0x2c9)](_0x47f7ed['takeUntil'](this['dispose$']))['subscribe'](()=>this[_0x37a900(0x285)](_0x3e9623));}[_0x5d8024(0x2a4)](_0x1bece5,_0x392394=!0x1){const _0x1a4ceb=_0x5d8024,_0x4658c1=this[_0x1a4ceb(0x39b)][_0x1a4ceb(0x3e2)](_0x1a4ceb(0x44f));_0x1bece5[_0x1a4ceb(0x34c)]()!==_0x4658c1&&this[_0x1a4ceb(0x39b)][_0x1a4ceb(0x3eb)]('subunit',_0x1bece5[_0x1a4ceb(0x34c)](),_0x392394);}async[_0x5d8024(0x285)](_0x396617){const _0x4fd686=_0x5d8024;var _0x5249c0;const _0x6191bf=this['_urlService']['getParam']('subunit');if(!_0x6191bf||!_0x396617[_0x4fd686(0x3d4)](_0x6191bf)){const _0x5c1366=_0x396617[_0x4fd686(0x3c2)]()[0x0],_0x536d1d=_0x396617[_0x4fd686(0x3d4)](_0x5c1366);if(!_0x536d1d)return;this[_0x4fd686(0x2a4)](_0x536d1d,!0x0),await this[_0x4fd686(0x407)]['executeCommand'](_0x58089b[_0x4fd686(0x2ae)]['id'],{'unitId':_0x396617[_0x4fd686(0x30d)](),'subUnitId':_0x5c1366});return;}((_0x5249c0=_0x396617[_0x4fd686(0x3f1)]())==null?void 0x0:_0x5249c0[_0x4fd686(0x34c)]())!==_0x6191bf&&await this['_commandService'][_0x4fd686(0x20e)](_0x58089b[_0x4fd686(0x2ae)]['id'],{'unitId':_0x396617[_0x4fd686(0x30d)](),'subUnitId':_0x6191bf});}},_0x13f865[_0x5d8024(0x2bf)]=_0xf4eea0([_0x2c0d0c(0x0,_0x430a02),_0x2c0d0c(0x1,_0x5c942c[_0x5d8024(0x29b)]),_0x2c0d0c(0x2,_0x5c942c[_0x5d8024(0x1dd)]),_0x2c0d0c(0x3,_0x5c942c[_0x5d8024(0x408)](_0x5ef24b[_0x5d8024(0x3ad)])),_0x2c0d0c(0x4,_0x5c942c[_0x5d8024(0x436)](_0x1f8573[_0x5d8024(0x1d4)]))],_0x13f865[_0x5d8024(0x2bf)]);var _0x268158=Object[_0x5d8024(0x458)],_0x3d551e=(_0x10e765,_0x5648c6,_0x41beb2,_0x2d765e)=>{const _0x3d69d6=_0x5d8024;for(var _0x4c04f7=_0x2d765e>0x1?void 0x0:_0x2d765e?_0x268158(_0x5648c6,_0x41beb2):_0x5648c6,_0x39a8be=_0x10e765[_0x3d69d6(0x2de)]-0x1,_0x370c54;_0x39a8be>=0x0;_0x39a8be--)(_0x370c54=_0x10e765[_0x39a8be])&&(_0x4c04f7=_0x370c54(_0x4c04f7)||_0x4c04f7);return _0x4c04f7;},_0xb27600=(_0x499c5,_0x18ff8d)=>(_0x1a2575,_0x24b9aa)=>_0x18ff8d(_0x1a2575,_0x24b9aa,_0x499c5);let _0x680ac=class extends _0x5c942c[_0x5d8024(0x2c7)]{constructor(_0x28dfd6,_0x85f3b9){const _0x3b6eeb=_0x5d8024;super(),this[_0x3b6eeb(0x378)]=_0x28dfd6,this['_imageIoService']=_0x85f3b9,this[_0x3b6eeb(0x3db)]();}[_0x5d8024(0x3db)](){const _0x3ab5ff=_0x5d8024,_0x5e5f8f=this;this[_0x3ab5ff(0x2ee)](this[_0x3ab5ff(0x378)][_0x3ab5ff(0x467)]({'onBeforePasteImage':async _0x4f9620=>{const _0x3ee6fb=_0x3ab5ff,_0x1c1fd3=await _0x5e5f8f[_0x3ee6fb(0x23e)][_0x3ee6fb(0x1f3)](_0x4f9620);return _0x1c1fd3?{'source':_0x1c1fd3[_0x3ee6fb(0x1ae)],'imageSourceType':_0x1c1fd3[_0x3ee6fb(0x2b6)]}:null;}}));}};_0x680ac=_0x3d551e([_0xb27600(0x0,_0x46901e[_0x5d8024(0x24c)]),_0xb27600(0x1,_0xca922d[_0x5d8024(0x36c)])],_0x680ac);const _0x3e42d6=[_0x5d8024(0x20d),_0x5d8024(0x382),_0x5d8024(0x40e),_0x5d8024(0x236),_0x5d8024(0x41a),_0x5d8024(0x31f)];class _0x2a49c1 extends _0x5c942c[_0x5d8024(0x22e)]{constructor(){const _0xd5ca24=_0x5d8024;super(...arguments),_0x55ab4a(this,_0xd5ca24(0x210),new Map()),_0x55ab4a(this,_0xd5ca24(0x22a),0x0);}['assignAColorForMemberID'](_0x1b12c3){const _0x247ec7=_0x5d8024;if(this[_0x247ec7(0x210)][_0x247ec7(0x21c)](_0x1b12c3))return this[_0x247ec7(0x210)][_0x247ec7(0x2e0)](_0x1b12c3);const _0x83b6ef=_0x3e42d6[this[_0x247ec7(0x22a)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%_0x3e42d6[_0x247ec7(0x2de)],this[_0x247ec7(0x210)][_0x247ec7(0x3b0)](_0x1b12c3,_0x83b6ef),_0x83b6ef;}}function _0x32dc46(_0x1e4c66){const _0x3ae93f=_0x5d8024;let _0x57f8c7='';for(const _0x5beee6 of _0x1e4c66){const {startOffset:_0x39c6fe,endOffset:_0x57b81e,isActive:_0x1013c6,rangeType:_0x5d2990,segmentId:_0x214c0a,segmentPage:_0x277403}=_0x5beee6;_0x57f8c7[_0x3ae93f(0x2de)]&&(_0x57f8c7+=','),_0x57f8c7+=_0x39c6fe+':'+_0x57b81e+':'+(_0x1013c6?'1':'0')+':'+_0x5d2990+':'+_0x214c0a+':'+_0x277403;}return _0x57f8c7;}function _0x1c4a19(_0x40fe1a){const _0x36fdc1=_0x5d8024,_0x27d5ec=_0x40fe1a['split'](','),_0x5f0a9b=[];for(const _0x2d8a51 of _0x27d5ec){const [_0x5cbf0f,_0x42a0c9,_0x5090b9,_0x235e01,_0x102e3f,_0x325f3b]=_0x2d8a51[_0x36fdc1(0x372)](':');_0x5f0a9b[_0x36fdc1(0x394)]({'startOffset':Number(_0x5cbf0f),'endOffset':Number(_0x42a0c9),'collapsed':_0x5cbf0f===_0x42a0c9,'isActive':_0x5090b9==='1','rangeType':_0x235e01===_0x5c942c[_0x36fdc1(0x1e2)][_0x36fdc1(0x43b)]?_0x5c942c[_0x36fdc1(0x1e2)][_0x36fdc1(0x43b)]:_0x5c942c['DOC_RANGE_TYPE'][_0x36fdc1(0x349)],'segmentId':typeof _0x102e3f==_0x36fdc1(0x419)?String(_0x102e3f):'','segmentPage':Number(_0x325f3b!=null?_0x325f3b:-0x1)});}return _0x5f0a9b['some'](_0x4fa5ec=>_0x4fa5ec[_0x36fdc1(0x336)])||(_0x5f0a9b[0x0]['isActive']=!0x0),_0x5f0a9b;}class _0x1134fa extends _0x5c942c[_0x5d8024(0x2c7)]{constructor(){const _0x1098b4=_0x5d8024;super(...arguments),_0x55ab4a(this,_0x1098b4(0x198),new _0x47f7ed['BehaviorSubject'](null)),_0x55ab4a(this,_0x1098b4(0x1a6),this[_0x1098b4(0x198)]['asObservable']());}[_0x5d8024(0x317)](_0x47d2fb){const _0x4cbce3=_0x5d8024,{unitID:_0x115e05,memberID:_0x28471f,textRanges:_0x1d10d8}=_0x47d2fb,_0x457972=_0x32dc46(_0x1d10d8);if(_0x457972==='')return;const _0x308a12={'unitID':_0x115e05,'memberID':_0x28471f,'selection':_0x457972};this[_0x4cbce3(0x198)][_0x4cbce3(0x27f)](_0x308a12);}}var _0x39eba3=Object['getOwnPropertyDescriptor'],_0x110fdd=(_0x3dfcd2,_0x310623,_0x8abb2b,_0x392132)=>{const _0x583764=_0x5d8024;for(var _0x4f5445=_0x392132>0x1?void 0x0:_0x392132?_0x39eba3(_0x310623,_0x8abb2b):_0x310623,_0x5267f6=_0x3dfcd2[_0x583764(0x2de)]-0x1,_0x155db9;_0x5267f6>=0x0;_0x5267f6--)(_0x155db9=_0x3dfcd2[_0x5267f6])&&(_0x4f5445=_0x155db9(_0x4f5445)||_0x4f5445);return _0x4f5445;},_0x1b1df1=(_0x5e9f6a,_0x170945)=>(_0x8d18da,_0x36dc0b)=>_0x170945(_0x8d18da,_0x36dc0b,_0x5e9f6a);const _0x828b75=0x12c,_0x4657ac=0x64;let _0x171843=class extends _0x5c942c[_0x5d8024(0x2c7)]{constructor(_0x46f3cd,_0x117b7c,_0xda51c6,_0x559de8,_0x4e8044,_0x3baa11,_0x2acdbe,_0x57e5d3,_0x295775){const _0x5d1f5b=_0x5d8024;super(),_0x55ab4a(this,_0x5d1f5b(0x1a8),!0x1),_0x55ab4a(this,_0x5d1f5b(0x3db),!0x1),_0x55ab4a(this,_0x5d1f5b(0x199),new _0x47f7ed[(_0x5d1f5b(0x1db))](new Map())),_0x55ab4a(this,_0x5d1f5b(0x464),this[_0x5d1f5b(0x199)][_0x5d1f5b(0x2a1)]()),_0x55ab4a(this,'_roomMembers$',new _0x47f7ed[(_0x5d1f5b(0x1db))]([])),_0x55ab4a(this,_0x5d1f5b(0x21e),this[_0x5d1f5b(0x1b7)]['pipe'](_0x47f7ed[_0x5d1f5b(0x45e)](_0x828b75))),_0x55ab4a(this,_0x5d1f5b(0x1f7),_0x5c942c[_0x5d1f5b(0x2e1)](_0x34b88f=>{const _0x419fae=_0x5d1f5b,_0x3bd27b={'eventID':_0x1552da['CollaborationEvent'][_0x419fae(0x2f4)],'data':{'unitID':this[_0x419fae(0x3b5)],'memberID':this[_0x419fae(0x25e)][_0x419fae(0x26c)](),'selection':_0x32dc46(_0x34b88f)}};this[_0x419fae(0x25e)]['send'](_0x3bd27b,this[_0x419fae(0x3b5)]);},_0x4657ac)),(this[_0x5d1f5b(0x3b5)]=_0x46f3cd,this['_session']=_0x117b7c,this['_injector']=_0xda51c6,this[_0x5d1f5b(0x246)]=_0x559de8,this[_0x5d1f5b(0x3a5)]=_0x4e8044,this[_0x5d1f5b(0x28b)]=_0x3baa11,this['_transformService']=_0x2acdbe,this[_0x5d1f5b(0x294)]=_0x57e5d3,this['_commandService']=_0x295775);}get[_0x5d8024(0x22f)](){const _0x465a6d=_0x5d8024;return this['_cursorInfo$'][_0x465a6d(0x416)]();}get[_0x5d8024(0x2d2)](){const _0x27616b=_0x5d8024;return this[_0x27616b(0x1b7)][_0x27616b(0x416)]();}[_0x5d8024(0x1a2)](){const _0x3f669a=_0x5d8024;super['dispose'](),this['_cursorInfo$']['next'](new Map()),this[_0x3f669a(0x199)]['complete'](),this['_roomMembers$'][_0x3f669a(0x27f)]([]),this['_roomMembers$'][_0x3f669a(0x339)]();}['init'](){const _0xd0932f=_0x5d8024;this[_0xd0932f(0x3db)]||(this['_init']=!0x0,this[_0xd0932f(0x25e)]['sessionStatus$'][_0xd0932f(0x2c9)](_0x47f7ed['takeUntil'](this[_0xd0932f(0x42f)]))[_0xd0932f(0x3f4)](_0x406aaa=>{const _0x256085=_0xd0932f;_0x406aaa===_0x5ef24b[_0x256085(0x430)][_0x256085(0x2cc)]?this['_toggleOnline']():this[_0x256085(0x389)]();}),this[_0xd0932f(0x25e)][_0xd0932f(0x2f1)][_0xd0932f(0x2c9)](_0x47f7ed['takeUntil'](this[_0xd0932f(0x42f)]))[_0xd0932f(0x3f4)](_0xd16d77=>{const _0x594226=_0xd0932f,_0x5c2703=_0xd16d77[_0x594226(0x33c)];_0x5c2703===_0x1552da[_0x594226(0x34d)][_0x594226(0x2f4)]&&this['_onCursorUpdate'](_0xd16d77),_0x5c2703===_0x1552da[_0x594226(0x34d)][_0x594226(0x26f)]&&this['_onCursorDelete'](_0xd16d77);}),this[_0xd0932f(0x2ee)](this[_0xd0932f(0x407)]['onCommandExecuted'](_0x2ecbbc=>{const _0x121ab8=_0xd0932f,_0x43cd4c=_0x2ecbbc[_0x121ab8(0x36d)];_0x43cd4c!=null&&this['_online']&&_0x2ecbbc['id']===_0x15cc89['SetTextSelectionsOperation']['id']&&_0x43cd4c[_0x121ab8(0x25f)]===this[_0x121ab8(0x3b5)]&&_0x43cd4c[_0x121ab8(0x1f5)]===!0x1&&_0x43cd4c[_0x121ab8(0x248)][_0x121ab8(0x2de)]>0x0&&this[_0x121ab8(0x1f7)](_0x43cd4c['ranges']);})),this[_0xd0932f(0x28b)][_0xd0932f(0x1a6)][_0xd0932f(0x2c9)](_0x47f7ed['takeUntil'](this[_0xd0932f(0x42f)]))[_0xd0932f(0x3f4)](_0x38ad88=>{const _0x4bb7a2=_0xd0932f;if((_0x38ad88==null?void 0x0:_0x38ad88['unitID'])!==this[_0x4bb7a2(0x3b5)])return;const _0x4532fe={'eventID':_0x1552da[_0x4bb7a2(0x34d)]['UPDATE_CURSOR'],'data':_0x38ad88};this[_0x4bb7a2(0x2b0)](_0x4532fe);}),this['disposeWithMe'](this[_0xd0932f(0x407)]['onCommandExecuted'](_0x2d10ca=>{const _0x12995b=_0xd0932f;if(_0x2d10ca[_0x12995b(0x36d)]==null)return;const _0x3aa210=_0x2d10ca[_0x12995b(0x36d)];if(_0x2d10ca['id']!==_0x15cc89[_0x12995b(0x29a)]['id']||_0x3aa210[_0x12995b(0x25f)]!==this[_0x12995b(0x3b5)])return;const _0x19ec0b={'id':'doc.mutation.rich-text-editing','params':_0x3aa210},_0x309dfd=this[_0x12995b(0x22f)];for(const [_0x1e352c,_0x3d8a26]of _0x309dfd){const _0x50a883={'id':_0x12995b(0x189),'params':{'unitId':this[_0x12995b(0x3b5)],'actions':null,'textRanges':_0x3d8a26['ranges']}},_0x5200b5=this['_transformService'][_0x12995b(0x212)](_0x19ec0b,_0x50a883,!0x1);if(_0x1552da[_0x12995b(0x43e)](_0x5200b5))throw _0x5200b5['error'];_0x309dfd['set'](_0x1e352c,{..._0x3d8a26,'ranges':_0x5200b5[_0x12995b(0x1f4)][_0x12995b(0x36d)][_0x12995b(0x1e6)]});}queueMicrotask(()=>{const _0x2b8be4=_0x12995b;this[_0x2b8be4(0x199)][_0x2b8be4(0x27f)](_0x309dfd);});})));}[_0x5d8024(0x2b0)](_0x3150fc){const _0x1051f4=_0x5d8024;var _0x1938ad,_0xdf794e;const {memberID:_0x5305f5,selection:_0x5ac646}=_0x3150fc['data'],_0x58f9f0=_0x1c4a19(_0x5ac646),_0x4da818=(_0xdf794e=(_0x1938ad=this[_0x1051f4(0x3a5)][_0x1051f4(0x1b5)](this[_0x1051f4(0x3b5)],_0x5305f5))==null?void 0x0:_0x1938ad[_0x1051f4(0x367)])!=null?_0xdf794e:_0x1051f4(0x35a),_0x31d87c={'color':this['_colorAssignService'][_0x1051f4(0x2f8)](_0x5305f5),'name':_0x4da818,'ranges':_0x58f9f0},_0x399af9=this[_0x1051f4(0x22f)];_0x399af9['set'](_0x5305f5,_0x31d87c),this['_cursorInfo$'][_0x1051f4(0x27f)](_0x399af9);}[_0x5d8024(0x391)](_0x5a14f0){const _0x284f85=_0x5d8024,{memberID:_0x203a05}=_0x5a14f0[_0x284f85(0x440)],_0x5894c9=this[_0x284f85(0x22f)];_0x5894c9[_0x284f85(0x3fb)](_0x203a05),this[_0x284f85(0x199)][_0x284f85(0x27f)](_0x5894c9);}[_0x5d8024(0x3ef)](){const _0x59a2dd=_0x5d8024;var _0x407dbe;if(this[_0x59a2dd(0x1a8)]=!0x0,((_0x407dbe=this[_0x59a2dd(0x294)][_0x59a2dd(0x31b)]())==null?void 0x0:_0x407dbe[_0x59a2dd(0x30d)]())!==this[_0x59a2dd(0x3b5)])return;const _0x9170a7=this[_0x59a2dd(0x2c5)][_0x59a2dd(0x2e0)](_0x15cc89[_0x59a2dd(0x418)])[_0x59a2dd(0x196)]();Array[_0x59a2dd(0x25b)](_0x9170a7)&&_0x9170a7[_0x59a2dd(0x2de)]>0x0&&this['_updateLocalCursor'](_0x9170a7);}[_0x5d8024(0x389)](){const _0xfa0561=_0x5d8024;this[_0xfa0561(0x1a8)]=!0x1;}};_0x171843=_0x110fdd([_0x1b1df1(0x2,_0x5c942c['Inject'](_0x5c942c[_0x5d8024(0x1e3)])),_0x1b1df1(0x3,_0x5c942c[_0x5d8024(0x408)](_0x2a49c1)),_0x1b1df1(0x4,_0x5c942c['Inject'](_0x5ef24b['MemberService'])),_0x1b1df1(0x5,_0x5c942c['Inject'](_0x1134fa)),_0x1b1df1(0x6,_0x1552da[_0x5d8024(0x1fe)]),_0x1b1df1(0x7,_0x5c942c['IUniverInstanceService']),_0x1b1df1(0x8,_0x5c942c[_0x5d8024(0x1dd)])],_0x171843);var _0x3a806b=Object[_0x5d8024(0x458)],_0x3e5963=(_0xbb44fe,_0x4cc90e,_0x438422,_0x410df0)=>{const _0x4dd9e0=_0x5d8024;for(var _0x4f51fa=_0x410df0>0x1?void 0x0:_0x410df0?_0x3a806b(_0x4cc90e,_0x438422):_0x4cc90e,_0x3f65a5=_0xbb44fe[_0x4dd9e0(0x2de)]-0x1,_0x2b82c7;_0x3f65a5>=0x0;_0x3f65a5--)(_0x2b82c7=_0xbb44fe[_0x3f65a5])&&(_0x4f51fa=_0x2b82c7(_0x4f51fa)||_0x4f51fa);return _0x4f51fa;},_0x4961f7=(_0x1db47c,_0x10a892)=>(_0x4cfc50,_0x489ebf)=>_0x10a892(_0x4cfc50,_0x489ebf,_0x1db47c);const _0x2aae15=0x12c,_0x4b1f68=0x64,_0x2115c8=()=>{let _0x4967ca=[],_0x272ad9=!0x1;return _0x3c4c5f=>{const _0x1248f5=_0x2391;_0x4967ca[_0x1248f5(0x394)](_0x3c4c5f),_0x272ad9||(_0x272ad9=!0x0,setTimeout(()=>{_0x4967ca['forEach'](_0xb69e21=>_0xb69e21()),_0x4967ca=[],_0x272ad9=!0x1;}));};};let _0xa6fef8=class extends _0x5c942c['RxDisposable']{constructor(_0x5659fd,_0x39f339,_0x513ddd,_0x1cb233,_0x558bf4,_0x437f4c,_0x52129f,_0x38c40f){const _0x59498e=_0x5d8024;super(),_0x55ab4a(this,'_online',!0x1),_0x55ab4a(this,_0x59498e(0x3db),!0x1),_0x55ab4a(this,'_cursorInfo$',new _0x47f7ed[(_0x59498e(0x1db))](new Map())),_0x55ab4a(this,'cursorInfo$',this[_0x59498e(0x199)][_0x59498e(0x2a1)]()),_0x55ab4a(this,_0x59498e(0x1b7),new _0x47f7ed['BehaviorSubject']([])),_0x55ab4a(this,_0x59498e(0x21e),this[_0x59498e(0x1b7)][_0x59498e(0x2c9)](_0x47f7ed[_0x59498e(0x45e)](_0x2aae15))),_0x55ab4a(this,_0x59498e(0x1f7),_0x5c942c[_0x59498e(0x2e1)]((_0x5e03e8,_0x2b2cc9)=>{const _0x3f36f6=_0x59498e,_0x40696f={'eventID':_0x1552da['CollaborationEvent'][_0x3f36f6(0x2f4)],'data':{'unitID':this['unitID'],'memberID':this[_0x3f36f6(0x25e)][_0x3f36f6(0x26c)](),'selection':_0x16879f[_0x3f36f6(0x40d)](_0x5e03e8,_0x2b2cc9[_0x3f36f6(0x2c3)])}};this[_0x3f36f6(0x25e)]['send'](_0x40696f,this[_0x3f36f6(0x3b5)]);},_0x4b1f68)),(this[_0x59498e(0x3b5)]=_0x5659fd,this['_session']=_0x39f339,this[_0x59498e(0x2c5)]=_0x513ddd,this[_0x59498e(0x246)]=_0x1cb233,this[_0x59498e(0x3a5)]=_0x558bf4,this[_0x59498e(0x294)]=_0x437f4c,this[_0x59498e(0x407)]=_0x52129f,this[_0x59498e(0x1d1)]=_0x38c40f);}get['cursorInfo'](){const _0x2e60fa=_0x5d8024;return this[_0x2e60fa(0x199)][_0x2e60fa(0x416)]();}get[_0x5d8024(0x2d2)](){const _0x8fc1f=_0x5d8024;return this[_0x8fc1f(0x1b7)]['getValue']();}['dispose'](){const _0x3ee217=_0x5d8024;super[_0x3ee217(0x1a2)](),this[_0x3ee217(0x199)]['next'](new Map()),this['_cursorInfo$'][_0x3ee217(0x339)](),this['_roomMembers$']['next']([]),this[_0x3ee217(0x1b7)][_0x3ee217(0x339)]();}['init'](){const _0x18f591=_0x5d8024;this[_0x18f591(0x3db)]||(this[_0x18f591(0x3db)]=!0x0,this[_0x18f591(0x25e)][_0x18f591(0x267)][_0x18f591(0x2c9)](_0x47f7ed[_0x18f591(0x28a)](this[_0x18f591(0x42f)]))['subscribe'](_0x7bc044=>{_0x7bc044===_0x5ef24b['SessionStatus']['ONLINE']?this['_toggleOnline']():this['_toggleOffline']();}),this['_session'][_0x18f591(0x2f1)]['pipe'](_0x47f7ed[_0x18f591(0x28a)](this[_0x18f591(0x42f)]))[_0x18f591(0x3f4)](_0x51455e=>{const _0x1e7fb7=_0x18f591,_0x5a5ec2=_0x51455e['eventID'];_0x5a5ec2===_0x1552da[_0x1e7fb7(0x34d)][_0x1e7fb7(0x2f4)]&&this[_0x1e7fb7(0x2b0)](_0x51455e),_0x5a5ec2===_0x1552da[_0x1e7fb7(0x34d)][_0x1e7fb7(0x26f)]&&this['_onCursorDelete'](_0x51455e);}),this[_0x18f591(0x1c4)](),this[_0x18f591(0x2ee)](this['_commandService'][_0x18f591(0x2ca)](_0x5a8759=>{const _0x20ff00=_0x18f591;if(this[_0x20ff00(0x1a8)]&&_0x5a8759['id']===_0x58089b['SetSelectionsOperation']['id']&&_0x5a8759[_0x20ff00(0x36d)][_0x20ff00(0x25f)]===this[_0x20ff00(0x3b5)]){const _0x1a606e=_0x5a8759[_0x20ff00(0x36d)];this[_0x20ff00(0x1f7)](_0x1a606e[_0x20ff00(0x2be)],_0x1a606e[_0x20ff00(0x2a0)][0x0]);}})));}['_onCursorUpdate'](_0xae00f4){const _0x484b53=_0x5d8024;var _0x541e6b,_0xe904fc;const {memberID:_0x1faeb8,selection:_0x396a41}=_0xae00f4[_0x484b53(0x440)],{sheetName:_0x4333c3,range:_0x4bee33}=_0x16879f[_0x484b53(0x45d)](_0x396a41),_0x1eaf1c={'name':(_0xe904fc=(_0x541e6b=this['_memberService'][_0x484b53(0x1b5)](this[_0x484b53(0x3b5)],_0x1faeb8))==null?void 0x0:_0x541e6b['name'])!=null?_0xe904fc:_0x484b53(0x35a),'range':this[_0x484b53(0x265)](_0x4333c3,_0x4bee33),'sheetID':_0x4333c3,'color':this[_0x484b53(0x246)][_0x484b53(0x2f8)](_0x1faeb8),'selection':_0x396a41},_0x3dadbe=this[_0x484b53(0x22f)];_0x3dadbe['set'](_0x1faeb8,_0x1eaf1c),this[_0x484b53(0x199)][_0x484b53(0x27f)](_0x3dadbe);}[_0x5d8024(0x391)](_0x575f9c){const _0x1ba35e=_0x5d8024,{memberID:_0x2b68f4}=_0x575f9c[_0x1ba35e(0x440)],_0x26396e=this[_0x1ba35e(0x22f)];_0x26396e[_0x1ba35e(0x3fb)](_0x2b68f4),this[_0x1ba35e(0x199)][_0x1ba35e(0x27f)](_0x26396e);}[_0x5d8024(0x265)](_0x18dc6c,_0x2fe834){const _0x28f88f=_0x5d8024;var _0x2fab82,_0x99fa2d;const _0x1e15cf=(_0x99fa2d=(_0x2fab82=this[_0x28f88f(0x294)][_0x28f88f(0x2ba)](this[_0x28f88f(0x3b5)]))==null?void 0x0:_0x2fab82[_0x28f88f(0x3d4)](_0x18dc6c))==null?void 0x0:_0x99fa2d[_0x28f88f(0x44c)]();return(_0x1e15cf==null?void 0x0:_0x1e15cf[_0x28f88f(0x29f)](_0x257c11=>_0x5c942c[_0x28f88f(0x220)][_0x28f88f(0x380)](_0x257c11,_0x2fe834)))||_0x2fe834;}[_0x5d8024(0x1c4)](){const _0x10e10e=_0x5d8024,_0x4e866f=new _0x5c942c[(_0x10e10e(0x427))](),_0x411e49=_0x2115c8(),_0x28a9e2=()=>{const _0x1da028=_0x10e10e;_0x4e866f['dispose']();const _0x3167e4=(_0x2feac1,_0x359347,_0x6aea5d,_0x4bb7f1)=>{const _0x3a73c5=_0x2391;let _0x3232bc=[];switch(_0x2feac1['id']){case _0x58089b[_0x3a73c5(0x1b3)][_0x3a73c5(0x3a4)]:{_0x3232bc=_0x58089b[_0x3a73c5(0x39d)](_0x2feac1,_0x4bb7f1);break;}case _0x58089b['EffectRefRangId'][_0x3a73c5(0x37e)]:{_0x3232bc=_0x58089b[_0x3a73c5(0x33f)](_0x2feac1,_0x4bb7f1);break;}case _0x58089b['EffectRefRangId'][_0x3a73c5(0x338)]:{_0x3232bc=_0x58089b[_0x3a73c5(0x1c0)](_0x2feac1,_0x4bb7f1);break;}case _0x58089b[_0x3a73c5(0x1b3)]['InsertRangeMoveDownCommandId']:{_0x3232bc=_0x58089b['handleInsertRangeMoveDown'](_0x2feac1,_0x4bb7f1);break;}case _0x58089b[_0x3a73c5(0x1b3)]['InsertRangeMoveRightCommandId']:{_0x3232bc=_0x58089b[_0x3a73c5(0x19c)](_0x2feac1,_0x4bb7f1);break;}case _0x58089b['EffectRefRangId'][_0x3a73c5(0x31a)]:{_0x3232bc=_0x58089b[_0x3a73c5(0x2b4)](_0x2feac1,_0x4bb7f1);break;}case _0x58089b[_0x3a73c5(0x1b3)][_0x3a73c5(0x415)]:{_0x3232bc=_0x58089b[_0x3a73c5(0x253)](_0x2feac1,_0x4bb7f1);break;}case _0x58089b[_0x3a73c5(0x1b3)][_0x3a73c5(0x3b4)]:{_0x3232bc=_0x58089b[_0x3a73c5(0x272)](_0x2feac1,_0x4bb7f1);break;}case _0x58089b[_0x3a73c5(0x1b3)][_0x3a73c5(0x32a)]:{_0x3232bc=_0x58089b[_0x3a73c5(0x353)](_0x2feac1,_0x4bb7f1);break;}}const _0x221fda=_0x58089b[_0x3a73c5(0x41b)](_0x3232bc,_0x4bb7f1),_0x1f0dd8=this['cursorInfo'][_0x3a73c5(0x2e0)](_0x359347);if(_0x1f0dd8&&_0x221fda){const _0x5740a9={..._0x1f0dd8,'range':_0x221fda};this[_0x3a73c5(0x22f)]['set'](_0x359347,_0x5740a9),_0x411e49(()=>{const _0x2d94ea=_0x3a73c5,_0x1995d1=this[_0x2d94ea(0x1d1)]['registerRefRange'](_0x221fda,_0x1f1eb1=>(_0x1995d1[_0x2d94ea(0x1a2)](),_0x3167e4(_0x1f1eb1,_0x359347,_0x6aea5d,_0x221fda)));_0x4e866f[_0x2d94ea(0x1b8)](_0x1995d1);});}return{'redos':[],'undos':[]};};this[_0x1da028(0x22f)][_0x1da028(0x3e9)]((_0x24e9bd,_0x432e69)=>{const _0x4f4681=_0x1da028,{range:_0x18bf03,sheetID:_0x5193ce}=_0x24e9bd,_0x316c1b=this[_0x4f4681(0x1d1)][_0x4f4681(0x18c)](_0x18bf03,_0x42093d=>(_0x316c1b['dispose'](),_0x3167e4(_0x42093d,_0x432e69,_0x5193ce,_0x18bf03)));_0x4e866f['add'](_0x316c1b);});};this[_0x10e10e(0x2ee)](_0x5c942c[_0x10e10e(0x222)](this['_cursorInfo$'][_0x10e10e(0x3f4)](()=>{_0x28a9e2();})));}['_toggleOnline'](){const _0x2c8b17=_0x5d8024;var _0x214c44,_0x49171b;if(this[_0x2c8b17(0x1a8)]=!0x0,((_0x214c44=this[_0x2c8b17(0x294)][_0x2c8b17(0x31b)]())==null?void 0x0:_0x214c44[_0x2c8b17(0x30d)]())!==this[_0x2c8b17(0x3b5)])return;const _0x2d85e3=(_0x49171b=this[_0x2c8b17(0x2c5)]['get'](_0x58089b[_0x2c8b17(0x3d3)])[_0x2c8b17(0x30e)]())==null?void 0x0:_0x49171b[0x0],_0xe28086=this['_univerInstanceService'][_0x2c8b17(0x397)](_0x5c942c[_0x2c8b17(0x1d2)][_0x2c8b17(0x342)])[_0x2c8b17(0x3f1)]();_0x2d85e3&&_0xe28086&&this[_0x2c8b17(0x1f7)](_0xe28086[_0x2c8b17(0x34c)](),_0x2d85e3);}[_0x5d8024(0x389)](){this['_online']=!0x1;}};_0xa6fef8=_0x3e5963([_0x4961f7(0x2,_0x5c942c[_0x5d8024(0x408)](_0x5c942c[_0x5d8024(0x1e3)])),_0x4961f7(0x3,_0x5c942c[_0x5d8024(0x408)](_0x2a49c1)),_0x4961f7(0x4,_0x5c942c[_0x5d8024(0x408)](_0x5ef24b[_0x5d8024(0x31e)])),_0x4961f7(0x5,_0x5c942c[_0x5d8024(0x429)]),_0x4961f7(0x6,_0x5c942c[_0x5d8024(0x1dd)]),_0x4961f7(0x7,_0x5c942c['Inject'](_0x58089b[_0x5d8024(0x311)]))],_0xa6fef8);var _0x34248f=Object[_0x5d8024(0x458)],_0x396755=(_0x482ce8,_0x45d642,_0x25b3c7,_0x18002b)=>{const _0x20d2c3=_0x5d8024;for(var _0x130812=_0x18002b>0x1?void 0x0:_0x18002b?_0x34248f(_0x45d642,_0x25b3c7):_0x45d642,_0x2e8875=_0x482ce8[_0x20d2c3(0x2de)]-0x1,_0x4da086;_0x2e8875>=0x0;_0x2e8875--)(_0x4da086=_0x482ce8[_0x2e8875])&&(_0x130812=_0x4da086(_0x130812)||_0x130812);return _0x130812;},_0x30df96=(_0x148d61,_0x34c523)=>(_0x3ac622,_0x28b2b7)=>_0x34c523(_0x3ac622,_0x28b2b7,_0x148d61);let _0x2023f9=class extends _0x5c942c['RxDisposable']{constructor(_0x23425f,_0x2441d4,_0xda077b){const _0x5915ca=_0x5d8024;super(),_0x55ab4a(this,_0x5915ca(0x3a8),new Map()),_0x55ab4a(this,_0x5915ca(0x1ec),new _0x47f7ed['Subject']()),(this[_0x5915ca(0x294)]=_0x23425f,this[_0x5915ca(0x2c5)]=_0x2441d4,this[_0x5915ca(0x1fb)]=_0xda077b,this['_init']());}[_0x5d8024(0x1a2)](){const _0x490121=_0x5d8024;super[_0x490121(0x1a2)](),this[_0x490121(0x1ec)]['complete'](),this['_entities'][_0x490121(0x3e9)](_0x34222c=>_0x34222c['dispose']());}[_0x5d8024(0x19e)](_0x4e59ad){const _0x1c1d2d=_0x5d8024;return this['_entities'][_0x1c1d2d(0x21c)](_0x4e59ad)?this[_0x1c1d2d(0x3a8)][_0x1c1d2d(0x2e0)](_0x4e59ad)['cursorInfo$']:this['_entityInit$']['pipe'](_0x47f7ed['filter'](_0x478b74=>_0x478b74[_0x1c1d2d(0x3b5)]===_0x4e59ad),_0x47f7ed[_0x1c1d2d(0x1ad)](_0x51dae2=>_0x51dae2['cursorInfo$']));}[_0x5d8024(0x3db)](){const _0x4d73c1=_0x5d8024;this[_0x4d73c1(0x294)]['getTypeOfUnitAdded$'](_0x5c942c[_0x4d73c1(0x1d2)][_0x4d73c1(0x342)])[_0x4d73c1(0x2c9)](_0x47f7ed[_0x4d73c1(0x28a)](this[_0x4d73c1(0x42f)]))[_0x4d73c1(0x3f4)](async _0xb80e82=>{const _0xb4fdfa=_0x4d73c1,_0x3f5cd9=_0xb80e82[_0xb4fdfa(0x30d)](),_0x8ba2de=await this['_startSheetCollabCursor'](_0x3f5cd9);this[_0xb4fdfa(0x1ec)][_0xb4fdfa(0x27f)](_0x8ba2de),this['_entities'][_0xb4fdfa(0x3b0)](_0x3f5cd9,_0x8ba2de);}),this[_0x4d73c1(0x294)]['getTypeOfUnitAdded$'](_0x5c942c[_0x4d73c1(0x1d2)][_0x4d73c1(0x2e4)])[_0x4d73c1(0x2c9)](_0x47f7ed[_0x4d73c1(0x28a)](this[_0x4d73c1(0x42f)]))[_0x4d73c1(0x2c9)](_0x47f7ed[_0x4d73c1(0x379)](_0x47ddc9=>!_0x47ddc9[_0x4d73c1(0x30d)]()[_0x4d73c1(0x284)]('__')))[_0x4d73c1(0x3f4)](async _0x5d1cb4=>{const _0x43e905=_0x4d73c1,_0x167f98=_0x5d1cb4[_0x43e905(0x30d)](),_0x4e793c=await this[_0x43e905(0x257)](_0x167f98);this[_0x43e905(0x1ec)][_0x43e905(0x27f)](_0x4e793c),this[_0x43e905(0x3a8)][_0x43e905(0x3b0)](_0x167f98,_0x4e793c);}),_0x47f7ed[_0x4d73c1(0x3ae)](this[_0x4d73c1(0x294)][_0x4d73c1(0x3c8)](_0x5c942c[_0x4d73c1(0x1d2)][_0x4d73c1(0x2e4)]),this[_0x4d73c1(0x294)][_0x4d73c1(0x3c8)](_0x5c942c['UniverInstanceType'][_0x4d73c1(0x342)]))[_0x4d73c1(0x2c9)](_0x47f7ed[_0x4d73c1(0x28a)](this['dispose$']))[_0x4d73c1(0x3f4)](_0x14ff40=>{const _0x3986f1=_0x4d73c1,_0x17cea2=_0x14ff40['getUnitId'](),_0x979167=this[_0x3986f1(0x3a8)]['get'](_0x17cea2);_0x979167&&(_0x979167[_0x3986f1(0x1a2)](),this[_0x3986f1(0x3a8)]['delete'](_0x17cea2));});}async['_startSheetCollabCursor'](_0x422c10){const _0x15dfe8=_0x5d8024,_0x5ab5bd=await this['_collabSessionService'][_0x15dfe8(0x450)](_0x422c10),_0x10d75d=this[_0x15dfe8(0x2c5)][_0x15dfe8(0x268)](_0xa6fef8,_0x422c10,_0x5ab5bd);return _0x10d75d[_0x15dfe8(0x2ed)](),_0x10d75d;}async[_0x5d8024(0x257)](_0x14798c){const _0x5d9282=_0x5d8024,_0x425cae=await this[_0x5d9282(0x1fb)][_0x5d9282(0x450)](_0x14798c),_0x3f48ff=this['_injector'][_0x5d9282(0x268)](_0x171843,_0x14798c,_0x425cae);return _0x3f48ff[_0x5d9282(0x2ed)](),_0x3f48ff;}};_0x2023f9=_0x396755([_0x30df96(0x0,_0x5c942c[_0x5d8024(0x429)]),_0x30df96(0x1,_0x5c942c[_0x5d8024(0x408)](_0x5c942c[_0x5d8024(0x1e3)])),_0x30df96(0x2,_0x5c942c['Inject'](_0x5ef24b[_0x5d8024(0x19f)]))],_0x2023f9);const _0x12675f=0x14,_0x32949c=0xc8,_0x43249f=0x4,_0x41bc36=0x5;function _0x562ecc(_0x14c17b,_0x4e8edd){const _0x2f7110=_0x5d8024;let {radius:_0x1e9dc9,width:_0xc1bdde,height:_0x1c074d}=_0x4e8edd;_0x1e9dc9=_0x1e9dc9!=null?_0x1e9dc9:0x0,_0xc1bdde=_0xc1bdde!=null?_0xc1bdde:0x1e,_0x1c074d=_0x1c074d!=null?_0x1c074d:0x1e;let _0x35905a=0x0,_0x4d1b2f=0x0,_0x2cfe0d=0x0;_0x35905a=_0x4d1b2f=_0x2cfe0d=Math[_0x2f7110(0x2f6)](_0x1e9dc9,_0xc1bdde/0x2,_0x1c074d/0x2),_0x14c17b[_0x2f7110(0x446)](),_0x14c17b[_0x2f7110(0x215)](_0x35905a,0x0),_0x14c17b[_0x2f7110(0x1ac)](_0xc1bdde-_0x4d1b2f,0x0),_0x14c17b[_0x2f7110(0x191)](_0xc1bdde-_0x4d1b2f,_0x4d1b2f,_0x4d1b2f,Math['PI']*0x3/0x2,0x0,!0x1),_0x14c17b[_0x2f7110(0x1ac)](_0xc1bdde,_0x1c074d-_0x2cfe0d),_0x14c17b[_0x2f7110(0x191)](_0xc1bdde-_0x2cfe0d,_0x1c074d-_0x2cfe0d,_0x2cfe0d,0x0,Math['PI']/0x2,!0x1),_0x14c17b[_0x2f7110(0x1ac)](0x0,_0x1c074d),_0x14c17b['lineTo'](0x0,_0x35905a),_0x14c17b['arc'](_0x35905a,_0x35905a,_0x35905a,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x14c17b['closePath'](),_0x4e8edd[_0x2f7110(0x201)]&&(_0x14c17b[_0x2f7110(0x2fe)](),_0x14c17b[_0x2f7110(0x2af)]=_0x4e8edd[_0x2f7110(0x201)],_0x4e8edd[_0x2f7110(0x2e7)]===_0x2f7110(0x262)?_0x14c17b[_0x2f7110(0x201)](_0x2f7110(0x262)):_0x14c17b[_0x2f7110(0x201)](),_0x14c17b[_0x2f7110(0x442)]());}class _0x59df7d extends _0x45c6b1[_0x5d8024(0x1c5)]{constructor(_0x4ab3f6,_0x1d233c){const _0x170b3f=_0x5d8024;super(_0x4ab3f6,_0x1d233c),_0x55ab4a(this,'color'),_0x55ab4a(this,'text'),(this[_0x170b3f(0x3c9)]=_0x1d233c==null?void 0x0:_0x1d233c[_0x170b3f(0x3c9)],this[_0x170b3f(0x3e3)]=_0x1d233c==null?void 0x0:_0x1d233c[_0x170b3f(0x3e3)]);}static[_0x5d8024(0x1ef)](_0x5c141e,_0x269068){const _0x47ebb7=_0x5d8024,{text:_0x52fe92,color:_0x564521}=_0x269068;_0x5c141e[_0x47ebb7(0x2fe)](),_0x5c141e[_0x47ebb7(0x360)]=_0x47ebb7(0x425);const _0x1e66cd=_0x5c141e[_0x47ebb7(0x3e7)](_0x52fe92)['width'],_0x1b0ff3=Math[_0x47ebb7(0x2f6)](_0x1e66cd+0x2*_0x43249f,_0x32949c);_0x562ecc(_0x5c141e,{'height':_0x12675f,'radius':0x4,'width':_0x1b0ff3,'fill':_0x564521}),_0x5c141e[_0x47ebb7(0x2af)]=_0x47ebb7(0x280);const _0x468325=_0x43249f,_0x5b0ff4=_0x12675f-_0x41bc36,_0x3b0fe1=_0x32949c-0x2*_0x43249f;if(_0x1e66cd>_0x3b0fe1){let _0x45bf91='',_0x64124c=0x0;for(const _0x52c573 of _0x52fe92){const _0x4b416c=_0x5c141e['measureText'](_0x52c573)[_0x47ebb7(0x386)];if(_0x64124c+_0x4b416c<=_0x3b0fe1-_0x5c141e[_0x47ebb7(0x3e7)](_0x47ebb7(0x3f2))['width'])_0x45bf91+=_0x52c573,_0x64124c+=_0x4b416c;else{_0x45bf91+='...';break;}}_0x5c141e[_0x47ebb7(0x1c6)](_0x45bf91,_0x468325,_0x5b0ff4);}else _0x5c141e[_0x47ebb7(0x1c6)](_0x52fe92,_0x468325,_0x5b0ff4);_0x5c141e['restore']();}['_draw'](_0x123f8d){const _0x18a549=_0x5d8024;_0x59df7d[_0x18a549(0x1ef)](_0x123f8d,this);}}const _0x313727=_0x5d8024(0x345),_0x5d8df2=_0x5d8024(0x26e),_0x57f945=_0x5d8024(0x439),_0x59e30d=0x6,_0x52e9e4=1.5,_0x2d69d1=0x4,_0x3ee62d=1.5,_0x1d06b1=_0x5d8024(0x390);class _0x4651a4{constructor(_0x277904,_0x1e1515,_0x175bc5,_0x31f1f8){const _0x3fb360=_0x5d8024;_0x55ab4a(this,_0x3fb360(0x3d8),[]),_0x55ab4a(this,'_anchor',null),_0x55ab4a(this,_0x3fb360(0x43c),null),_0x55ab4a(this,_0x3fb360(0x39c),null),_0x55ab4a(this,_0x3fb360(0x300),null),_0x55ab4a(this,_0x3fb360(0x393),null),(this[_0x3fb360(0x193)]=_0x277904,this[_0x3fb360(0x3b8)]=_0x1e1515,this[_0x3fb360(0x33d)]=_0x175bc5,this[_0x3fb360(0x1d9)]=_0x31f1f8,this['_render']());}set['_hover'](_0x2d8d5c){const _0x144b93=_0x5d8024;_0x2d8d5c?(this[_0x144b93(0x39c)]&&this[_0x144b93(0x39c)]['hide'](),this[_0x144b93(0x43c)]&&this['_textBubble']['show']()):(this[_0x144b93(0x39c)]&&this['_anchorDot'][_0x144b93(0x2a3)](),this[_0x144b93(0x43c)]&&this[_0x144b93(0x43c)]['hide']());}[_0x5d8024(0x1a2)](){const _0x13ed56=_0x5d8024;for(const _0x33ed81 of this[_0x13ed56(0x3d8)])_0x33ed81[_0x13ed56(0x1a2)]();this[_0x13ed56(0x43c)]&&this[_0x13ed56(0x43c)][_0x13ed56(0x1a2)](),this[_0x13ed56(0x39c)]&&this['_anchorDot'][_0x13ed56(0x1a2)](),this[_0x13ed56(0x242)]&&this[_0x13ed56(0x242)][_0x13ed56(0x1a2)](),this[_0x13ed56(0x393)]&&this[_0x13ed56(0x393)]();}[_0x5d8024(0x239)](){const _0x17e220=_0x5d8024;var _0x15f80d;const {_docSkeleton:_0x13f2fa,_document:_0x4e46a1}=this,{color:_0x4a67e7,name:_0x16f423,ranges:_0x2b46dd}=this[_0x17e220(0x193)],_0x279e12=_0x4e46a1[_0x17e220(0x307)](),{docsLeft:_0x4637bd,docsTop:_0x5d664e}=_0x279e12,_0x526e42=new _0x46901e[(_0x17e220(0x3e5))](_0x279e12,_0x13f2fa);for(const {startOffset:_0x146914,endOffset:_0x251590,rangeType:_0x2c2b55,segmentId:_0x4cec73,segmentPage:_0x35b479,collapsed:_0x3620b8,isActive:_0x4a416b}of _0x2b46dd){const _0x13d6cb=_0x13f2fa[_0x17e220(0x3d6)](_0x146914,!0x0,_0x4cec73,_0x35b479);let _0x18bc0b=_0x13f2fa[_0x17e220(0x3d6)](_0x251590,!0x0,_0x4cec73,_0x35b479);if(_0x18bc0b==null&&(_0x18bc0b=_0x13f2fa[_0x17e220(0x3d6)](_0x251590-0x1,!0x1,_0x4cec73,_0x35b479)),_0x4a416b){const {contentBoxPointGroup:_0x41e7cf}=_0x526e42[_0x17e220(0x2b9)](_0x18bc0b,_0x18bc0b);if(_0x41e7cf['length']===0x0)continue;this['_drawAnchor'](_0x4a67e7,_0x41e7cf,_0x4637bd,_0x5d664e,_0x16f423),this[_0x17e220(0x393)]=this['_handleHover']();}if(_0x13d6cb&&_0x18bc0b){if(_0x2c2b55===_0x5c942c[_0x17e220(0x1e2)][_0x17e220(0x349)]){const _0x3f3513=new _0x46901e['NodePositionConvertToRectRange'](_0x279e12,_0x13f2fa),{pointGroup:_0x3d71f9}=(_0x15f80d=_0x3f3513[_0x17e220(0x2b9)](_0x13d6cb,_0x18bc0b))!=null?_0x15f80d:{};if(_0x3d71f9==null||_0x3d71f9['length']===0x0)continue;this['_drawRectRange'](_0x4a67e7,_0x3d71f9,_0x4637bd,_0x5d664e);}else{if(!_0x3620b8){const {borderBoxPointGroup:_0x5caa1a}=_0x526e42[_0x17e220(0x2b9)](_0x13d6cb,_0x18bc0b);if(_0x5caa1a[_0x17e220(0x2de)]===0x0)continue;this[_0x17e220(0x2ef)](_0x4a67e7,_0x5caa1a,_0x4637bd,_0x5d664e);}}}}}[_0x5d8024(0x364)](_0x5d6f3c,_0xc3810c,_0x137108,_0x579eaf,_0x157b82){const _0x290913=_0x5d8024,_0x30288a=this[_0x290913(0x240)](_0xc3810c),{left:_0x50cc92,top:_0x179f7c,height:_0x41ccda}=_0x30288a,_0x27cf03=this['_getScale'](),_0x1fb0f6=_0x3ee62d/_0x27cf03,_0x172fd6=new _0x45c6b1['Rect'](_0x313727+_0x5c942c[_0x290913(0x1f0)](_0x59e30d),{'left':_0x50cc92+_0x137108-_0x1fb0f6,'top':_0x179f7c+_0x579eaf,'height':_0x41ccda,'width':_0x52e9e4,'fill':_0x5d6f3c||_0x45c6b1[_0x290913(0x3da)](_0x5c942c['COLORS'][_0x290913(0x2ec)],0x0),'strokeWidth':_0x1fb0f6,'stroke':_0x1d06b1,'evented':!0x0});this[_0x290913(0x242)]=_0x172fd6,this[_0x290913(0x3b8)][_0x290913(0x2d4)](_0x172fd6,_0x46901e[_0x290913(0x2dd)]);const _0x2e1cac=new _0x45c6b1[(_0x290913(0x451))](_0x313727+_0x5c942c[_0x290913(0x1f0)](_0x59e30d),{'left':_0x50cc92+_0x137108-_0x1fb0f6,'top':_0x179f7c+_0x579eaf-_0x2d69d1/0x2,'height':_0x2d69d1,'width':_0x2d69d1,'fill':_0x5d6f3c||_0x45c6b1['getColor'](_0x5c942c['COLORS']['black'],0x0),'strokeWidth':0x0,'stroke':_0x5d6f3c||_0x45c6b1['getColor'](_0x5c942c[_0x290913(0x363)][_0x290913(0x2ec)],0x0),'evented':!0x1});this['_anchorDot']=_0x2e1cac,this[_0x290913(0x3b8)]['addObject'](_0x2e1cac,_0x46901e[_0x290913(0x2dd)]);const _0x50f4ce=new _0x59df7d(_0x313727+_0x5c942c['generateRandomId'](_0x59e30d),{'left':_0x50cc92+_0x137108-_0x1fb0f6,'top':_0x179f7c+_0x579eaf-_0x12675f,'text':_0x157b82,'color':_0x5d6f3c});this[_0x290913(0x43c)]=_0x50f4ce,this['_scene'][_0x290913(0x2d4)](_0x50f4ce,_0x46901e[_0x290913(0x2dd)]),this[_0x290913(0x1d0)]=!0x1;}['_handleHover'](){const _0x22b2e2=_0x5d8024,_0x28c267=this[_0x22b2e2(0x242)][_0x22b2e2(0x3cd)]['subscribeEvent'](()=>{const _0x2c6926=_0x22b2e2;this[_0x2c6926(0x1d0)]=!0x0;}),_0x1dd2b8=this[_0x22b2e2(0x242)][_0x22b2e2(0x226)][_0x22b2e2(0x286)](()=>{const _0x13b890=_0x22b2e2;this[_0x13b890(0x300)]&&clearTimeout(this[_0x13b890(0x300)]),this[_0x13b890(0x300)]=setTimeout(()=>{const _0x2baa2c=_0x13b890;this[_0x2baa2c(0x1d0)]=!0x1;},0x7d0);});return()=>{const _0x4147e2=_0x22b2e2;_0x28c267['unsubscribe'](),_0x1dd2b8[_0x4147e2(0x2b3)]();};}['_drawTextRange'](_0x337349,_0x4396c2,_0x2a5306,_0x26ca26){const _0x487a50=_0x5d8024,_0x3daf9a=new _0x5c942c[(_0x487a50(0x1dc))](_0x337349)['setAlpha'](0.2)[_0x487a50(0x39f)](),_0x1e2845=new _0x45c6b1[(_0x487a50(0x388))](_0x5d8df2+_0x5c942c['generateRandomId'](_0x59e30d),{'pointsGroup':_0x4396c2,'fill':_0x3daf9a||_0x45c6b1[_0x487a50(0x3da)](_0x5c942c[_0x487a50(0x363)][_0x487a50(0x2ec)],0.2),'left':_0x2a5306,'top':_0x26ca26,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x487a50(0x3d8)][_0x487a50(0x394)](_0x1e2845),this[_0x487a50(0x3b8)]['addObject'](_0x1e2845,_0x46901e[_0x487a50(0x2dd)]);}['_drawRectRange'](_0x16dbc9,_0x5bd827,_0x16f28e,_0x48052a){const _0xe207c6=_0x5d8024,_0x149712=new _0x5c942c[(_0xe207c6(0x1dc))](_0x16dbc9)[_0xe207c6(0x368)](0.2)[_0xe207c6(0x39f)](),_0x37e895=new _0x45c6b1[(_0xe207c6(0x388))](_0x57f945+_0x5c942c[_0xe207c6(0x1f0)](_0x59e30d),{'pointsGroup':_0x5bd827,'fill':_0x149712||_0x45c6b1[_0xe207c6(0x3da)](_0x5c942c[_0xe207c6(0x363)][_0xe207c6(0x2ec)],0.2),'left':_0x16f28e,'top':_0x48052a,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0xe207c6(0x394)](_0x37e895),this[_0xe207c6(0x3b8)][_0xe207c6(0x2d4)](_0x37e895,_0x46901e['TEXT_RANGE_LAYER_INDEX']);}[_0x5d8024(0x240)](_0x1daa2d){const _0x4a93f2=_0x1daa2d[0x0],_0x4b8de4=_0x4a93f2[0x0],_0x23ba5e=_0x4a93f2[0x2],{x:_0xd626e0,y:_0x39330d}=_0x4b8de4,{x:_0x13f188,y:_0x1bd958}=_0x23ba5e;return{'left':_0xd626e0,'top':_0x39330d,'width':_0x13f188-_0xd626e0,'height':_0x1bd958-_0x39330d};}[_0x5d8024(0x27c)](){const _0x3e9793=_0x5d8024,{scaleX:_0x74e15b,scaleY:_0x57de9d}=this[_0x3e9793(0x3b8)][_0x3e9793(0x374)]();return Math[_0x3e9793(0x3ec)](_0x74e15b,_0x57de9d);}}var _0x48dafb=Object['getOwnPropertyDescriptor'],_0x284579=(_0x2000ba,_0x2dc28b,_0xff6274,_0x28a242)=>{const _0x393b7a=_0x5d8024;for(var _0x3df118=_0x28a242>0x1?void 0x0:_0x28a242?_0x48dafb(_0x2dc28b,_0xff6274):_0x2dc28b,_0x27e454=_0x2000ba[_0x393b7a(0x2de)]-0x1,_0x1ae35d;_0x27e454>=0x0;_0x27e454--)(_0x1ae35d=_0x2000ba[_0x27e454])&&(_0x3df118=_0x1ae35d(_0x3df118)||_0x3df118);return _0x3df118;},_0xa2011f=(_0x2cc329,_0x5a7353)=>(_0xd22148,_0x40b50a)=>_0x5a7353(_0xd22148,_0x40b50a,_0x2cc329);let _0x44a28d=class extends _0x5c942c[_0x5d8024(0x2c7)]{constructor(_0x5935f1,_0x18dbda,_0x490198,_0x445b1f,_0x1a1dc4){const _0x18d1c8=_0x5d8024;super(),_0x55ab4a(this,_0x18d1c8(0x218),[]),_0x55ab4a(this,_0x18d1c8(0x347),[]),(this[_0x18d1c8(0x1f9)]=_0x5935f1,this[_0x18d1c8(0x3bd)]=_0x18dbda,this['_collabCursorController']=_0x490198,this[_0x18d1c8(0x407)]=_0x445b1f,this['_themeService']=_0x1a1dc4,this[_0x18d1c8(0x3db)]());}['_init'](){const _0x222715=_0x5d8024,_0x29130e=this[_0x222715(0x1f9)][_0x222715(0x25f)],_0x4cf665=this[_0x222715(0x3bd)];this['disposeWithMe'](_0x47f7ed[_0x222715(0x27b)]([this[_0x222715(0x35c)][_0x222715(0x19e)](_0x29130e),this[_0x222715(0x252)][_0x222715(0x2cb)]])[_0x222715(0x2c9)](_0x3b5af9[_0x222715(0x303)](([_0x394743,_0x7571d9])=>({'skeleton':_0x4cf665[_0x222715(0x2d8)](),'cursors':[..._0x394743[_0x222715(0x3ab)]()][_0x222715(0x1c9)](_0x2ca7e1=>({..._0x2ca7e1,'color':this[_0x222715(0x252)]['getColorFromTheme'](_0x2ca7e1[_0x222715(0x3c9)])}))})))[_0x222715(0x3f4)](_0x5462d9=>{const _0x5bdb9e=_0x222715;if(this['_removeCollabCursors'](),_0x5462d9){const {skeleton:_0x2cdddc,cursors:_0x5ceba7}=_0x5462d9;this[_0x5bdb9e(0x469)](_0x2cdddc,_0x5ceba7);}})),this[_0x222715(0x44d)](),this[_0x222715(0x30c)]();}['_updateCollabCursors'](_0x34c902,_0x4b9430){const _0x2ff7dc=_0x5d8024,{scene:_0x437c0f,mainComponent:_0x188fb2}=this[_0x2ff7dc(0x1f9)],_0x1a07f9=_0x4b9430['map'](_0x349d71=>new _0x4651a4(_0x349d71,_0x437c0f,_0x34c902,_0x188fb2));this[_0x2ff7dc(0x218)]=_0x1a07f9,this[_0x2ff7dc(0x347)]=_0x4b9430;}['_refreshCollabCursors'](){const _0x34d09c=_0x5d8024;this[_0x34d09c(0x38c)]();const {scene:_0x4d4333,mainComponent:_0x1f241c}=this[_0x34d09c(0x1f9)],_0x51212b=this[_0x34d09c(0x3bd)][_0x34d09c(0x2d8)](),_0x322128=this[_0x34d09c(0x347)][_0x34d09c(0x303)](_0x34b307=>new _0x4651a4(_0x34b307,_0x4d4333,_0x51212b,_0x1f241c));this['_cursorShapes']=_0x322128;}[_0x5d8024(0x38c)](){const _0x3dbda=_0x5d8024;this['_cursorShapes'][_0x3dbda(0x3e9)](_0x16a2d9=>_0x16a2d9[_0x3dbda(0x1a2)]()),this[_0x3dbda(0x218)]=[];}['_initCommandExecutedListener'](){const _0x278373=_0x5d8024,_0x586325=[_0x46901e['SetDocZoomRatioOperation']['id']];this[_0x278373(0x2ee)](this[_0x278373(0x407)][_0x278373(0x2ca)](_0x2b06c0=>{const _0x300583=_0x278373;_0x586325[_0x300583(0x3c0)](_0x2b06c0['id'])&&_0x2b06c0[_0x300583(0x36d)][_0x300583(0x25f)]===this['_context']['unitId']&&this[_0x300583(0x195)]();}));}['_initResize'](){const _0x12a8b7=_0x5d8024;this[_0x12a8b7(0x2ee)](_0x5c942c[_0x12a8b7(0x266)](this['_context'][_0x12a8b7(0x306)][_0x12a8b7(0x1ba)])[_0x12a8b7(0x2c9)](_0x3b5af9['filter'](_0x1ef679=>_0x1ef679[_0x12a8b7(0x310)]===_0x45c6b1[_0x12a8b7(0x21a)][_0x12a8b7(0x3f8)]),_0x3b5af9['throttleTime'](0x10))[_0x12a8b7(0x3f4)](()=>{this['_refreshCollabCursors']();}));}};_0x44a28d=_0x284579([_0xa2011f(0x1,_0x5c942c[_0x5d8024(0x408)](_0x15cc89[_0x5d8024(0x337)])),_0xa2011f(0x2,_0x5c942c[_0x5d8024(0x408)](_0x2023f9)),_0xa2011f(0x3,_0x5c942c['ICommandService']),_0xa2011f(0x4,_0x5c942c['Inject'](_0x5c942c['ThemeService']))],_0x44a28d);const _0x7ae02a=0x1,_0x14f9d7=1.5;class _0xde6a3b extends _0x45c6b1[_0x5d8024(0x1c5)]{constructor(_0x247779,_0x284d63){const _0x21971c=_0x5d8024;super(_0x247779,_0x284d63),_0x55ab4a(this,'_color'),_0x55ab4a(this,'_hovered',!0x1),_0x55ab4a(this,_0x21971c(0x340)),_0x55ab4a(this,_0x21971c(0x1b4),''),_0x55ab4a(this,_0x21971c(0x250),_0x21971c(0x19b)),_0x55ab4a(this,_0x21971c(0x24b)),(_0x284d63&&this[_0x21971c(0x2c0)](_0x284d63),this[_0x21971c(0x3cd)]['subscribeEvent'](()=>this[_0x21971c(0x2c0)]({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x5d8024(0x2c0)](_0x5afd83){const _0x3759ca=_0x5d8024;var _0x35915e,_0x1d657b,_0x2d8575,_0x35abef,_0x2ddfcb,_0x1d4e4a;this['_color']=(_0x35915e=_0x5afd83[_0x3759ca(0x3c9)])!=null?_0x35915e:this[_0x3759ca(0x33b)],this[_0x3759ca(0x1f2)]=(_0x1d657b=_0x5afd83[_0x3759ca(0x2e5)])!=null?_0x1d657b:this[_0x3759ca(0x1f2)],this[_0x3759ca(0x340)]=(_0x2d8575=_0x5afd83[_0x3759ca(0x2c3)])!=null?_0x2d8575:this[_0x3759ca(0x340)],this[_0x3759ca(0x1b4)]=(_0x35abef=_0x5afd83[_0x3759ca(0x367)])!=null?_0x35abef:this[_0x3759ca(0x1b4)],this[_0x3759ca(0x250)]=(_0x2ddfcb=_0x5afd83[_0x3759ca(0x192)])!=null?_0x2ddfcb:this['_labelPosition'],this['_backgroundColor']=(_0x1d4e4a=_0x5afd83[_0x3759ca(0x3f7)])!=null?_0x1d4e4a:this[_0x3759ca(0x24b)],this[_0x3759ca(0x3a3)]({'width':_0x5afd83[_0x3759ca(0x386)],'height':_0x5afd83['height']});}[_0x5d8024(0x3be)](_0x5bf820){const _0x1e928f=_0x5d8024,{row:_0x1551e1,column:_0x5c9a05}=_0x5bf820;if(_0x1551e1>=this[_0x1e928f(0x340)][_0x1e928f(0x3b1)]&&_0x1551e1<=this['_range'][_0x1e928f(0x211)]&&_0x5c9a05>=this['_range']['startColumn']&&_0x5c9a05<=this[_0x1e928f(0x340)][_0x1e928f(0x190)]){this[_0x1e928f(0x2c0)]({'hovered':!0x0});return;}this[_0x1e928f(0x2c0)]({'hovered':!0x1});}[_0x5d8024(0x38b)](_0x30d194){return!0x1;}[_0x5d8024(0x381)](_0x519b97){const _0x2c8521=_0x5d8024;_0x45c6b1[_0x2c8521(0x451)]['drawWith'](_0x519b97,{'width':this[_0x2c8521(0x386)],'height':this['height'],'strokeWidth':_0x14f9d7,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x2c8521(0x24b)]}),this['_hovered']&&(_0x519b97['save'](),_0x519b97[_0x2c8521(0x216)](0x1,0x0,0x0,0x1,this[_0x2c8521(0x386)],this['_labelPosition']===_0x2c8521(0x27e)?0x0:-_0x12675f),_0x59df7d[_0x2c8521(0x1ef)](_0x519b97,{'text':this['_name'],'color':this[_0x2c8521(0x33b)]}),_0x519b97[_0x2c8521(0x442)]());}}var _0x14c759=Object['getOwnPropertyDescriptor'],_0x40c4ad=(_0x57f9ac,_0x821368,_0x4b2e8d,_0x955e9a)=>{for(var _0x374e80=_0x955e9a>0x1?void 0x0:_0x955e9a?_0x14c759(_0x821368,_0x4b2e8d):_0x821368,_0x2837b7=_0x57f9ac['length']-0x1,_0x51d5e;_0x2837b7>=0x0;_0x2837b7--)(_0x51d5e=_0x57f9ac[_0x2837b7])&&(_0x374e80=_0x51d5e(_0x374e80)||_0x374e80);return _0x374e80;},_0x35d0a6=(_0x4aa3f9,_0x22c0de)=>(_0x5e4d29,_0x4b9d6c)=>_0x22c0de(_0x5e4d29,_0x4b9d6c,_0x4aa3f9);const _0x42147b=0x1389;let _0x56844d=class extends _0x5c942c['RxDisposable']{constructor(_0x4eeb15,_0x2e3f60,_0x30565d,_0x2576fe){const _0x2f2876=_0x5d8024;super(),_0x55ab4a(this,_0x2f2876(0x347),new Set()),_0x55ab4a(this,_0x2f2876(0x400),null),(this[_0x2f2876(0x1f9)]=_0x4eeb15,this[_0x2f2876(0x2a8)]=_0x2e3f60,this[_0x2f2876(0x35c)]=_0x30565d,this[_0x2f2876(0x252)]=_0x2576fe,this[_0x2f2876(0x3db)]());}[_0x5d8024(0x3db)](){const _0x3e80e6=_0x5d8024;this[_0x3e80e6(0x2a8)]['currentSkeleton$'][_0x3e80e6(0x2c9)](_0x3b5af9[_0x3e80e6(0x28a)](this[_0x3e80e6(0x42f)]),_0x3b5af9[_0x3e80e6(0x1ad)](_0x370335=>{const _0x498766=_0x3e80e6;if(_0x370335){const _0x1632e6=_0x370335['sheetId'];return _0x47f7ed['combineLatest'](this[_0x498766(0x35c)][_0x498766(0x19e)](this[_0x498766(0x1f9)][_0x498766(0x25f)]),this['_themeService'][_0x498766(0x2cb)])[_0x498766(0x2c9)](_0x3b5af9[_0x498766(0x303)](([_0x3d8e95,_0x58dc72])=>{const _0x286365=_0x498766,_0x42b601=new Map();return _0x3d8e95[_0x286365(0x3e9)]((_0x41c8b2,_0x1ca9e1)=>{const _0x39b22d=_0x286365;if(_0x41c8b2['sheetID']===_0x1632e6){const _0x5b148b={..._0x41c8b2};_0x5b148b[_0x39b22d(0x3c9)]=this[_0x39b22d(0x252)][_0x39b22d(0x330)](_0x41c8b2['color']),_0x42b601['set'](_0x1ca9e1,_0x5b148b);}}),{'skeleton':_0x370335,'cursors':_0x42b601};}));}return _0x47f7ed['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x2dc05d,cursors:_0x2ded4d})=>{const _0x10ce1d=_0x3e80e6;this[_0x10ce1d(0x38c)](),_0x2dc05d&&this[_0x10ce1d(0x469)](_0x2dc05d,_0x2ded4d);}),this[_0x3e80e6(0x2a8)]['currentSkeleton$'][_0x3e80e6(0x3f4)](_0x1a63fe=>{const _0x3138d6=_0x3e80e6;if(_0x1a63fe==null)return;const {skeleton:_0x988328}=_0x1a63fe,{scene:_0x2fe1b0}=this[_0x3138d6(0x1f9)];_0x2fe1b0[_0x3138d6(0x24d)]['subscribeEvent'](_0x5c942c[_0x3138d6(0x2e1)](_0x560c75=>{const _0x2e0798=_0x3138d6;var _0x1c7607,_0x186882;const {offsetX:_0x266c9c,offsetY:_0x2fb07a}=_0x560c75,{x:_0x290b4a,y:_0x283401}=_0x2fe1b0[_0x2e0798(0x1ed)](_0x45c6b1[_0x2e0798(0x273)][_0x2e0798(0x334)]([_0x266c9c,_0x2fb07a])),{scaleX:_0x4d46da,scaleY:_0x1edcf5}=_0x2fe1b0[_0x2e0798(0x374)](),_0x341e33=_0x2fe1b0[_0x2e0798(0x1d5)](_0x45c6b1[_0x2e0798(0x387)][_0x2e0798(0x3ca)]),_0x4a6bfc=_0x2fe1b0[_0x2e0798(0x29d)](_0x45c6b1[_0x2e0798(0x273)][_0x2e0798(0x334)]([_0x290b4a,_0x283401]),_0x341e33),_0x25969a=_0x988328['getCellPositionByOffset'](_0x266c9c,_0x2fb07a,_0x4d46da,_0x1edcf5,_0x4a6bfc);((_0x1c7607=this[_0x2e0798(0x400)])==null?void 0x0:_0x1c7607[_0x2e0798(0x20a)])===_0x25969a['column']&&((_0x186882=this[_0x2e0798(0x400)])==null?void 0x0:_0x186882['row'])===_0x25969a[_0x2e0798(0x3c4)]||this[_0x2e0798(0x347)]['forEach'](_0x190a92=>{const _0x1f3600=_0x2e0798;_0x190a92[_0x1f3600(0x3be)](_0x25969a);});},0x64));});}['_updateCollabCursors'](_0x4a1918,_0x514231){const _0x27ff26=_0x5d8024;var _0x4c510d;const _0x1128ac=(_0x4c510d=this[_0x27ff26(0x2a8)]['getCurrent']())==null?void 0x0:_0x4c510d[_0x27ff26(0x438)];if(!_0x1128ac)return;const _0x51929a=this[_0x27ff26(0x1df)]();if(!_0x51929a)return;this[_0x27ff26(0x347)][_0x27ff26(0x3e9)](_0x1fe974=>{const _0x272011=_0x27ff26;_0x1fe974[_0x272011(0x1eb)]();});const {scene:_0x521731}=_0x51929a,_0x5d2d38=_0x5aaae4(Array[_0x27ff26(0x447)](_0x514231[_0x27ff26(0x3ab)]()))[_0x27ff26(0x303)](_0x15dc1c=>{const _0x568752=_0x27ff26,{color:_0x5ed523,range:_0x1de5e5,name:_0x55a7b6,selection:_0x32b3b5,sheetID:_0x3546f9}=_0x15dc1c,{startColumn:_0x349d6a,startRow:_0x270bdf,endColumn:_0x597fab,endRow:_0x54a8ba}=_0x1de5e5,_0x3162cc=_0x122305['getCoordByCell'](_0x270bdf,_0x349d6a,_0x521731,_0x1128ac),_0x2ca935=_0x122305[_0x568752(0x18d)](_0x54a8ba,_0x597fab,_0x521731,_0x1128ac),{columnHeaderHeightAndMarginTop:_0x514ed0}=_0x1128ac,{startX:_0x19bf5e,startY:_0x22fe87}=_0x3162cc,{endX:_0x5ea2d7,endY:_0x23433a}=_0x2ca935,_0x1de119=_0x5ea2d7-_0x19bf5e,_0x53f047=_0x23433a-_0x22fe87,_0x4d3c43={'labelPosition':_0x22fe87-_0x514ed0>=_0x12675f?_0x568752(0x19b):'bottom','sheetID':_0x3546f9,'range':_0x1de5e5,'color':_0x5ed523,'name':_0x55a7b6,'selection':_0x32b3b5,'left':_0x19bf5e,'top':_0x22fe87,'width':_0x1de119,'height':_0x53f047,'evented':!0x1,'zIndex':_0x42147b};return new _0xde6a3b(_0x55a7b6,_0x4d3c43);});_0x521731[_0x27ff26(0x229)](_0x5d2d38,_0x7ae02a),this[_0x27ff26(0x347)]=new Set(_0x5d2d38);}[_0x5d8024(0x38c)](){const _0xdf1925=_0x5d8024;var _0x2f46f6;(_0x2f46f6=this['_cursors'])==null||_0x2f46f6[_0xdf1925(0x3e9)](_0x2cee6d=>_0x2cee6d[_0xdf1925(0x1a2)]());}[_0x5d8024(0x1df)](){const _0x3fc88f=_0x5d8024;return _0x122305['getSheetObject'](this[_0x3fc88f(0x1f9)][_0x3fc88f(0x3c6)],this['_context']);}};_0x56844d=_0x40c4ad([_0x35d0a6(0x1,_0x5c942c['Inject'](_0x122305[_0x5d8024(0x3f6)])),_0x35d0a6(0x2,_0x5c942c[_0x5d8024(0x408)](_0x2023f9)),_0x35d0a6(0x3,_0x5c942c[_0x5d8024(0x408)](_0x5c942c[_0x5d8024(0x19d)]))],_0x56844d);function _0x5aaae4(_0x1fbb60){const _0xebd050=_0x5d8024,_0x4eaf26=new Map();return _0x1fbb60[_0xebd050(0x3e9)](_0x308fce=>{const _0x4ef85d=_0xebd050;if(_0x4eaf26['has'](_0x308fce[_0x4ef85d(0x30a)])){const _0xa664e7=_0x4eaf26['get'](_0x308fce['selection']);_0xa664e7[_0x4ef85d(0x367)]+=',\x20'+_0x308fce[_0x4ef85d(0x367)];}else _0x4eaf26['set'](_0x308fce['selection'],_0x308fce);}),Array[_0xebd050(0x447)](_0x4eaf26[_0xebd050(0x3ab)]());}var _0x5af7b3=Object[_0x5d8024(0x458)],_0x252b4b=(_0x50ed36,_0x2a7701,_0x504ec,_0x1b0e39)=>{const _0x54fd8e=_0x5d8024;for(var _0x4e91ad=_0x1b0e39>0x1?void 0x0:_0x1b0e39?_0x5af7b3(_0x2a7701,_0x504ec):_0x2a7701,_0x411e30=_0x50ed36[_0x54fd8e(0x2de)]-0x1,_0x356d4b;_0x411e30>=0x0;_0x411e30--)(_0x356d4b=_0x50ed36[_0x411e30])&&(_0x4e91ad=_0x356d4b(_0x4e91ad)||_0x4e91ad);return _0x4e91ad;},_0x44cded=(_0x1aebba,_0x5af3d5)=>(_0x42b492,_0x5e1eb9)=>_0x5af3d5(_0x42b492,_0x5e1eb9,_0x1aebba);let _0x44383d=class extends _0x5c942c[_0x5d8024(0x22e)]{constructor(_0xd55cf4,_0x4a300f,_0x5e8888,_0x21cfd3,_0x5e212e,_0x189aac){const _0x2aaf9e=_0x5d8024;super(),this[_0x2aaf9e(0x18a)]=_0xd55cf4,this[_0x2aaf9e(0x417)]=_0x4a300f,this[_0x2aaf9e(0x411)]=_0x5e8888,this[_0x2aaf9e(0x19a)]=_0x21cfd3,this[_0x2aaf9e(0x43f)]=_0x5e212e,this['_localeService']=_0x189aac,this[_0x2aaf9e(0x2a9)](),this[_0x2aaf9e(0x3af)]();}[_0x5d8024(0x2a9)](){const _0x4ac3a7=_0x5d8024;this['disposeWithMe'](this[_0x4ac3a7(0x18a)][_0x4ac3a7(0x2f2)](()=>{const _0x46b9d5=_0x4ac3a7;if(this[_0x46b9d5(0x417)]['saveTaskMap'][_0x46b9d5(0x3ba)])return this[_0x46b9d5(0x2bd)]['t']('collaboration-client.offline-data-not-saved');}));}['_initEvent'](){const _0x5008f9=_0x5d8024;this[_0x5008f9(0x2ee)](this[_0x5008f9(0x411)][_0x5008f9(0x2f1)]['subscribe'](_0x144669=>{const _0x2ea595=_0x5008f9;_0x144669['id']===_0x5ef24b[_0x2ea595(0x197)][_0x2ea595(0x305)]&&this[_0x2ea595(0x19a)][_0x2ea595(0x2a3)]({'type':_0x24440e['MessageType']['Warning'],'content':this['_localeService']['t'](_0x2ea595(0x335))}),_0x144669['id']===_0x5ef24b['CollaborationUIEventId'][_0x2ea595(0x29e)]&&this[_0x2ea595(0x19a)][_0x2ea595(0x2a3)]({'type':_0x24440e['MessageType'][_0x2ea595(0x37b)],'content':this[_0x2ea595(0x2bd)]['t'](_0x2ea595(0x465))}),_0x144669['id']===_0x5ef24b[_0x2ea595(0x197)][_0x2ea595(0x2da)]&&this['_notificationService'][_0x2ea595(0x2a3)]({'title':this[_0x2ea595(0x2bd)]['t']('permission.title'),'content':this[_0x2ea595(0x2bd)]['t'](_0x2ea595(0x232)),'type':_0x2ea595(0x1a9),'duration':0x0}),_0x144669['id']===_0x5ef24b['CollaborationUIEventId'][_0x2ea595(0x1cf)]&&this[_0x2ea595(0x19a)][_0x2ea595(0x2a3)]({'type':_0x24440e[_0x2ea595(0x245)]['Error'],'content':this[_0x2ea595(0x2bd)]['t']('collaboration.closeRoom')+'('+_0x144669[_0x2ea595(0x440)]+')'}),_0x144669['id']===_0x5ef24b['CollaborationUIEventId'][_0x2ea595(0x309)]&&this[_0x2ea595(0x19a)][_0x2ea595(0x2a3)]({'type':_0x24440e[_0x2ea595(0x245)][_0x2ea595(0x37b)],'content':this[_0x2ea595(0x2bd)]['t'](_0x144669[_0x2ea595(0x440)]||'')}),_0x144669['id']===_0x5ef24b[_0x2ea595(0x197)][_0x2ea595(0x443)]&&this[_0x2ea595(0x19a)]['show']({'type':_0x24440e[_0x2ea595(0x245)][_0x2ea595(0x37b)],'content':this[_0x2ea595(0x2bd)]['t'](_0x2ea595(0x460))}),_0x144669['id']===_0x5ef24b[_0x2ea595(0x197)]['SOCKET_FAILED']&&this[_0x2ea595(0x19a)][_0x2ea595(0x2a3)]({'type':_0x24440e[_0x2ea595(0x245)]['Error'],'content':this['_localeService']['t'](_0x2ea595(0x206))}),_0x144669['id']===_0x5ef24b[_0x2ea595(0x197)][_0x2ea595(0x328)]&&this[_0x2ea595(0x19a)]['show']({'type':_0x24440e[_0x2ea595(0x245)][_0x2ea595(0x333)],'content':this[_0x2ea595(0x2bd)]['t'](_0x2ea595(0x1a4))});}));}};_0x44383d=_0x252b4b([_0x44cded(0x0,_0xd9e91b[_0x5d8024(0x302)]),_0x44cded(0x1,_0x5ef24b[_0x5d8024(0x2a2)]),_0x44cded(0x2,_0x5c942c['Inject'](_0x5ef24b[_0x5d8024(0x29c)])),_0x44cded(0x3,_0xd9e91b['IMessageService']),_0x44cded(0x4,_0xd9e91b[_0x5d8024(0x26a)]),_0x44cded(0x5,_0x5c942c[_0x5d8024(0x408)](_0x5c942c[_0x5d8024(0x40a)]))],_0x44383d);const _0x1d7e79=_0x5d8024(0x3dd),_0xdcd0b={};var _0x5829b9=Object[_0x5d8024(0x458)],_0x8b9763=(_0x282429,_0x5d9e27,_0x22169a,_0x226612)=>{const _0x5111dc=_0x5d8024;for(var _0x2d11ff=_0x226612>0x1?void 0x0:_0x226612?_0x5829b9(_0x5d9e27,_0x22169a):_0x5d9e27,_0x56ae3e=_0x282429[_0x5111dc(0x2de)]-0x1,_0x3e9606;_0x56ae3e>=0x0;_0x56ae3e--)(_0x3e9606=_0x282429[_0x56ae3e])&&(_0x2d11ff=_0x3e9606(_0x2d11ff)||_0x2d11ff);return _0x2d11ff;},_0x1969cc=(_0x35388b,_0x6d287)=>(_0x5027ef,_0x1de680)=>_0x6d287(_0x5027ef,_0x1de680,_0x35388b);let _0x2318e0=class{constructor(_0x4d9ea2,_0x5247ef){const _0x3afda9=_0x5d8024;this[_0x3afda9(0x31c)]=_0x4d9ea2,this['_renderManagerService']=_0x5247ef;}['transformIMECache'](_0x5e3f92){const _0x459171=_0x5d8024;this[_0x459171(0x377)](_0x5e3f92),this[_0x459171(0x404)](_0x5e3f92);}[_0x5d8024(0x457)](_0x3f3323){const _0x7b0ced=_0x5d8024,{unitID:_0x29ca24}=_0x3f3323,_0x102b96=this[_0x7b0ced(0x241)][_0x7b0ced(0x2d5)](_0x29ca24)[_0x7b0ced(0x1c2)](_0x46901e[_0x7b0ced(0x2cd)]),{redoCache:_0x261d19}=_0x102b96[_0x7b0ced(0x42e)]();if(_0x261d19[_0x7b0ced(0x2de)]===0x0)return _0x3f3323;let _0x368a40=_0x5c942c[_0x7b0ced(0x37a)][_0x7b0ced(0x288)](_0x3f3323[_0x7b0ced(0x1da)][0x0]);for(let _0x577783=0x0;_0x577783<_0x261d19['length'];_0x577783++){const _0x4c2278={'id':_0x7b0ced(0x189),'params':{..._0x261d19[_0x577783]}},_0x29d099=this[_0x7b0ced(0x31c)][_0x7b0ced(0x212)](_0x368a40,_0x4c2278,!0x1);if(_0x1552da[_0x7b0ced(0x43e)](_0x29d099))throw _0x29d099[_0x7b0ced(0x1a9)];_0x368a40=_0x29d099[_0x7b0ced(0x32b)];}return{..._0x5c942c['Tools'][_0x7b0ced(0x288)](_0x3f3323),'mutations':[_0x368a40]};}[_0x5d8024(0x377)](_0x36fdff){const _0x2736ce=_0x5d8024,{unitID:_0x5608eb}=_0x36fdff,_0x1413b4=this['_renderManagerService'][_0x2736ce(0x2d5)](_0x5608eb)['with'](_0x46901e[_0x2736ce(0x2cd)]),{undoCache:_0x363dec,redoCache:_0x256f0b}=_0x1413b4[_0x2736ce(0x42e)]();if(_0x363dec[_0x2736ce(0x2de)]===0x0||_0x256f0b[_0x2736ce(0x2de)]===0x0)return;const _0x22bd22=[],_0x2caa0a=[];let _0x105b91=_0x5c942c[_0x2736ce(0x37a)]['deepClone'](_0x36fdff[_0x2736ce(0x1da)][0x0]),_0x224620=_0x5c942c[_0x2736ce(0x37a)][_0x2736ce(0x288)](_0x36fdff[_0x2736ce(0x1da)][0x0]);for(let _0xb1750d=_0x363dec[_0x2736ce(0x2de)]-0x1;_0xb1750d>=0x0;_0xb1750d--){const _0x42e8ab={'id':_0x2736ce(0x189),'params':{..._0x363dec[_0xb1750d]}},_0x5b0b9e={'id':_0x2736ce(0x189),'params':{..._0x256f0b[_0xb1750d]}},_0x46d403=this[_0x2736ce(0x31c)][_0x2736ce(0x212)](_0x105b91,_0x42e8ab,!0x1),_0x3c6e66=this[_0x2736ce(0x31c)]['transformMutation'](_0x224620,_0x5b0b9e,!0x1);if(_0x1552da[_0x2736ce(0x43e)](_0x46d403))throw _0x46d403[_0x2736ce(0x1a9)];if(_0x1552da['isTransformMutationFailure'](_0x3c6e66))throw _0x3c6e66[_0x2736ce(0x1a9)];_0x22bd22[_0x2736ce(0x238)](_0x46d403['m2Prime'][_0x2736ce(0x36d)]),_0x2caa0a[_0x2736ce(0x238)](_0x3c6e66[_0x2736ce(0x1f4)][_0x2736ce(0x36d)]),_0x105b91=_0x46d403[_0x2736ce(0x32b)],_0x224620=_0x3c6e66[_0x2736ce(0x32b)];}_0x1413b4[_0x2736ce(0x434)]({'undoCache':_0x22bd22,'redoCache':_0x2caa0a});}['_transformPreviousActiveRange'](_0x422cc0){const _0x1fc103=_0x5d8024,{unitID:_0x589588}=_0x422cc0,_0x59d50c=this[_0x1fc103(0x241)][_0x1fc103(0x2d5)](_0x589588)[_0x1fc103(0x1c2)](_0x46901e['DocIMEInputManagerService']),_0x358004=_0x59d50c['getActiveRange']();if(_0x358004==null)return;const _0x384688=[{'id':_0x1fc103(0x189),'params':{'unitId':_0x422cc0[_0x1fc103(0x3b5)],'actions':null,'textRanges':[_0x358004]}}],_0xc0cf17=this[_0x1fc103(0x31c)][_0x1fc103(0x3a0)](_0x422cc0,_0x384688);if(!_0x1552da[_0x1fc103(0x260)](_0xc0cf17))throw _0xc0cf17[_0x1fc103(0x1a9)];const _0x2b75c2=_0xc0cf17[_0x1fc103(0x1f4)][0x0]['params'][_0x1fc103(0x1e6)];Array[_0x1fc103(0x25b)](_0x2b75c2)&&_0x2b75c2['length']&&_0x59d50c[_0x1fc103(0x1ca)](_0x2b75c2[0x0]);}};_0x2318e0=_0x8b9763([_0x1969cc(0x0,_0x1552da['ITransformService']),_0x1969cc(0x1,_0x45c6b1[_0x5d8024(0x3f9)])],_0x2318e0);var _0x2982a5=Object[_0x5d8024(0x458)],_0x1d0bc7=(_0x217b5f,_0x11ad7e,_0x3b8dcf,_0x497ff0)=>{for(var _0x27edf9=_0x497ff0>0x1?void 0x0:_0x497ff0?_0x2982a5(_0x11ad7e,_0x3b8dcf):_0x11ad7e,_0x46a970=_0x217b5f['length']-0x1,_0x5d187b;_0x46a970>=0x0;_0x46a970--)(_0x5d187b=_0x217b5f[_0x46a970])&&(_0x27edf9=_0x5d187b(_0x27edf9)||_0x27edf9);return _0x27edf9;},_0x5abd1b=(_0x717066,_0x164d67)=>(_0x2d2fcb,_0x3d2127)=>_0x164d67(_0x2d2fcb,_0x3d2127,_0x717066);let _0x1aca0c=class{constructor(_0x572dab,_0x15301d,_0x32ef2a){const _0x1665f1=_0x5d8024;this[_0x1665f1(0x2c5)]=_0x572dab,this[_0x1665f1(0x31c)]=_0x15301d,this[_0x1665f1(0x1e0)]=_0x32ef2a;}['transformStateCache'](_0xb61a65){const _0x3df9a0=_0x5d8024;this[_0x3df9a0(0x3e4)](_0xb61a65);}[_0x5d8024(0x457)](_0x3742dc){const _0x529332=_0x5d8024,{unitID:_0x2a4427}=_0x3742dc,{collaboration:_0x1c536b}=this[_0x529332(0x1e0)][_0x529332(0x27a)](_0x2a4427);if(_0x1c536b[_0x529332(0x2de)]===0x0)return _0x3742dc;let _0x4f847d=_0x5c942c[_0x529332(0x37a)][_0x529332(0x288)](_0x3742dc[_0x529332(0x1da)][0x0]);for(let _0x39b33f=0x0;_0x39b33f<_0x1c536b[_0x529332(0x2de)];_0x39b33f++){const _0x5c4f55={'id':_0x529332(0x189),'params':{'unitId':_0x1c536b[_0x39b33f][_0x529332(0x25f)],..._0x1c536b[_0x39b33f][_0x529332(0x3cf)]}},_0x51f06d=this[_0x529332(0x31c)]['transformMutation'](_0x4f847d,_0x5c4f55,!0x1);if(_0x1552da[_0x529332(0x43e)](_0x51f06d))throw _0x51f06d[_0x529332(0x1a9)];_0x4f847d=_0x51f06d['m1Prime'];}return{..._0x5c942c[_0x529332(0x37a)][_0x529332(0x288)](_0x3742dc),'mutations':[_0x4f847d]};}[_0x5d8024(0x3e4)](_0x37b07b){const _0x2bd69d=_0x5d8024,{unitID:_0xebd1fc}=_0x37b07b,{history:_0x4aea1c,collaboration:_0x38f942}=this[_0x2bd69d(0x1e0)]['getStateCache'](_0xebd1fc);if(_0x4aea1c[_0x2bd69d(0x2de)]===0x0&&_0x38f942[_0x2bd69d(0x2de)]===0x0)return;const _0x24b9cd=[],_0x522f96=[];let _0xbea493=_0x5c942c[_0x2bd69d(0x37a)][_0x2bd69d(0x288)](_0x37b07b['mutations'][0x0]),_0x1b186f=_0x5c942c[_0x2bd69d(0x37a)][_0x2bd69d(0x288)](_0x37b07b[_0x2bd69d(0x1da)][0x0]);for(let _0x22bcea=_0x4aea1c['length']-0x1;_0x22bcea>=0x0;_0x22bcea--){const _0x25ca52={'id':_0x2bd69d(0x189),'params':{'unitId':_0x4aea1c[_0x22bcea][_0x2bd69d(0x25f)],..._0x4aea1c[_0x22bcea]['undoState']}},_0x3fce05={'id':_0x2bd69d(0x189),'params':{'unitId':_0x4aea1c[_0x22bcea][_0x2bd69d(0x25f)],..._0x4aea1c[_0x22bcea][_0x2bd69d(0x3cf)]}},_0x1d0479=this[_0x2bd69d(0x31c)]['transformMutation'](_0xbea493,_0x25ca52,!0x1),_0x2e3bc6=this[_0x2bd69d(0x31c)][_0x2bd69d(0x212)](_0x1b186f,_0x3fce05,!0x1);if(_0x1552da[_0x2bd69d(0x43e)](_0x1d0479))throw _0x1d0479[_0x2bd69d(0x1a9)];if(_0x1552da[_0x2bd69d(0x43e)](_0x2e3bc6))throw _0x2e3bc6['error'];_0x24b9cd[_0x2bd69d(0x238)]({..._0x4aea1c[_0x22bcea],'undoState':_0x1d0479[_0x2bd69d(0x1f4)]['params'],'redoState':_0x2e3bc6['m2Prime']['params']}),_0xbea493=_0x1d0479[_0x2bd69d(0x32b)],_0x1b186f=_0x2e3bc6[_0x2bd69d(0x32b)];}_0xbea493=_0x5c942c[_0x2bd69d(0x37a)][_0x2bd69d(0x288)](_0x37b07b[_0x2bd69d(0x1da)][0x0]),_0x1b186f=_0x5c942c[_0x2bd69d(0x37a)]['deepClone'](_0x37b07b[_0x2bd69d(0x1da)][0x0]);for(let _0x5b71da=_0x38f942[_0x2bd69d(0x2de)]-0x1;_0x5b71da>=0x0;_0x5b71da--){const _0x4cb0ed={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x38f942[_0x5b71da]['unitId'],..._0x38f942[_0x5b71da][_0x2bd69d(0x1ee)]}},_0x52884a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x38f942[_0x5b71da]['unitId'],..._0x38f942[_0x5b71da][_0x2bd69d(0x3cf)]}},_0x17cbef=this['_transformService'][_0x2bd69d(0x212)](_0xbea493,_0x4cb0ed,!0x1),_0x2b6b92=this[_0x2bd69d(0x31c)]['transformMutation'](_0x1b186f,_0x52884a,!0x1);if(_0x1552da[_0x2bd69d(0x43e)](_0x17cbef))throw _0x17cbef['error'];if(_0x1552da[_0x2bd69d(0x43e)](_0x2b6b92))throw _0x2b6b92['error'];_0x522f96[_0x2bd69d(0x238)]({..._0x38f942[_0x5b71da],'undoState':_0x17cbef[_0x2bd69d(0x1f4)][_0x2bd69d(0x36d)],'redoState':_0x2b6b92[_0x2bd69d(0x1f4)][_0x2bd69d(0x36d)]}),_0xbea493=_0x17cbef[_0x2bd69d(0x32b)],_0x1b186f=_0x2b6b92[_0x2bd69d(0x32b)];}this[_0x2bd69d(0x1e0)][_0x2bd69d(0x1b9)](_0xebd1fc,{'history':_0x24b9cd,'collaboration':_0x522f96});}};_0x1aca0c=_0x1d0bc7([_0x5abd1b(0x0,_0x5c942c[_0x5d8024(0x408)](_0x5c942c[_0x5d8024(0x1e3)])),_0x5abd1b(0x1,_0x1552da[_0x5d8024(0x1fe)]),_0x5abd1b(0x2,_0x5c942c[_0x5d8024(0x408)](_0x46901e[_0x5d8024(0x348)]))],_0x1aca0c);var _0x3984e5=Object[_0x5d8024(0x458)],_0xe1b444=(_0x49913a,_0x68d148,_0x5282ab,_0x4d7633)=>{const _0x42612f=_0x5d8024;for(var _0x288fb3=_0x4d7633>0x1?void 0x0:_0x4d7633?_0x3984e5(_0x68d148,_0x5282ab):_0x68d148,_0x3da537=_0x49913a[_0x42612f(0x2de)]-0x1,_0xf7c9d5;_0x3da537>=0x0;_0x3da537--)(_0xf7c9d5=_0x49913a[_0x3da537])&&(_0x288fb3=_0xf7c9d5(_0x288fb3)||_0x288fb3);return _0x288fb3;},_0xe22baf=(_0x123e8c,_0x35b573)=>(_0x1b02df,_0xc961ce)=>_0x35b573(_0x1b02df,_0xc961ce,_0x123e8c);let _0x261279=class{constructor(_0x1a5087,_0x4d6bf3){const _0x5b10a7=_0x5d8024;this[_0x5b10a7(0x2c5)]=_0x1a5087,this['_transformService']=_0x4d6bf3;}[_0x5d8024(0x3ed)](_0x4e6717){const _0x1f8c5b=_0x5d8024;var _0x39a70d;const _0x594359=this[_0x1f8c5b(0x2c5)][_0x1f8c5b(0x2e0)](_0x15cc89['DocSelectionManagerService']),_0x799d45=(_0x39a70d=_0x594359[_0x1f8c5b(0x196)]())!=null?_0x39a70d:[];if(_0x799d45[_0x1f8c5b(0x2de)]===0x0)return;const _0x31a203=_0x4e6717[_0x1f8c5b(0x3b5)],_0x4cb7ab=[{'id':_0x1f8c5b(0x189),'params':{'unitId':_0x31a203,'actions':null,'textRanges':_0x799d45}}],_0x6ae378=this[_0x1f8c5b(0x31c)][_0x1f8c5b(0x3a0)](_0x4e6717,_0x4cb7ab);if(!_0x1552da[_0x1f8c5b(0x260)](_0x6ae378))throw _0x6ae378['error'];const _0x330970=_0x6ae378[_0x1f8c5b(0x1f4)][0x0]['params'][_0x1f8c5b(0x1e6)];Array[_0x1f8c5b(0x25b)](_0x330970)&&_0x330970[_0x1f8c5b(0x2de)]&&_0x594359[_0x1f8c5b(0x326)](_0x330970,{'unitId':_0x31a203,'subUnitId':_0x31a203},!0x1);}};_0x261279=_0xe1b444([_0xe22baf(0x0,_0x5c942c[_0x5d8024(0x408)](_0x5c942c['Injector'])),_0xe22baf(0x1,_0x1552da[_0x5d8024(0x1fe)])],_0x261279);var _0x143e7a=Object[_0x5d8024(0x458)],_0xc32d92=(_0x566255,_0x211b8e,_0x59e52d,_0x164dd5)=>{const _0x19794d=_0x5d8024;for(var _0x50b601=_0x164dd5>0x1?void 0x0:_0x164dd5?_0x143e7a(_0x211b8e,_0x59e52d):_0x211b8e,_0x5394ba=_0x566255[_0x19794d(0x2de)]-0x1,_0x1e7ab7;_0x5394ba>=0x0;_0x5394ba--)(_0x1e7ab7=_0x566255[_0x5394ba])&&(_0x50b601=_0x1e7ab7(_0x50b601)||_0x50b601);return _0x50b601;},_0xa2c1c=(_0x4266b0,_0x563f65)=>(_0x4fc808,_0x599aae)=>_0x563f65(_0x4fc808,_0x599aae,_0x4266b0);let _0x1973c2=class extends _0x5c942c[_0x5d8024(0x22e)]{constructor(_0x15c461,_0x522ef2,_0x1ef0f2,_0x5b59c6,_0x4e9111,_0x8c03ad,_0x3d6b2f,_0x14c27b){const _0x1fb7d9=_0x5d8024;super(),_0x55ab4a(this,'_status$',new _0x47f7ed[(_0x1fb7d9(0x1db))](_0x5ef24b[_0x1fb7d9(0x26b)][_0x1fb7d9(0x291)])),(this[_0x1fb7d9(0x1e0)]=_0x15c461,this['_collaborationController']=_0x522ef2,this[_0x1fb7d9(0x22b)]=_0x1ef0f2,this['_docTransformStateCacheService']=_0x5b59c6,this[_0x1fb7d9(0x1ff)]=_0x4e9111,this[_0x1fb7d9(0x3ee)]=_0x8c03ad,this[_0x1fb7d9(0x19a)]=_0x3d6b2f,this[_0x1fb7d9(0x2bd)]=_0x14c27b,this[_0x1fb7d9(0x448)]());}['_initEntityListener'](){const _0x1881c8=_0x5d8024;this[_0x1881c8(0x2ee)](this[_0x1881c8(0x461)]['entityInit$'][_0x1881c8(0x3f4)](_0x260723=>{const _0x4dbc8c=_0x1881c8,_0x7b7c71=this[_0x4dbc8c(0x1e0)]['docStateChange$']['subscribe'](_0x4bc3cb=>{if(_0x4bc3cb==null)return;const {unitId:_0x11bf8b,redoState:_0x514d6f,commandId:_0x454424}=_0x4bc3cb;if(_0x11bf8b!==_0x260723['unitID'])return;const _0x396057={'id':_0x454424,'type':_0x5c942c['CommandType']['MUTATION'],'params':{'unitId':_0x11bf8b,'actions':_0x514d6f['actions'],'textRanges':null}};_0x260723['onLocalMutation'](_0x396057);});if(_0x260723['disposeWithMe'](_0x7b7c71),_0x260723 instanceof _0x5ef24b[_0x4dbc8c(0x3ce)]){const _0x51f811={'onTransformIME':_0x13300f=>this[_0x4dbc8c(0x22b)][_0x4dbc8c(0x204)](_0x13300f),'onTransformState':_0x1cc238=>this['_docTransformStateCacheService'][_0x4dbc8c(0x35b)](_0x1cc238),'onTransformSelections':_0x4a361c=>this[_0x4dbc8c(0x1ff)]['transformSelections'](_0x4a361c),'onSyncEditingCollabCursor':_0x33520e=>this['_docSyncEditingCollabCursorService'][_0x4dbc8c(0x317)](_0x33520e),'onTransformRemoteChangesetByIMECache':_0x5b72b1=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x5b72b1),'onTransformRemoteChangesetByStateCache':_0x11456b=>this[_0x4dbc8c(0x20c)][_0x4dbc8c(0x457)](_0x11456b)};_0x260723[_0x4dbc8c(0x420)](_0x51f811);}}));}};_0x1973c2=_0xc32d92([_0xa2c1c(0x0,_0x5c942c['Inject'](_0x46901e[_0x5d8024(0x348)])),_0xa2c1c(0x1,_0x5c942c[_0x5d8024(0x408)](_0x5ef24b[_0x5d8024(0x435)])),_0xa2c1c(0x2,_0x5c942c[_0x5d8024(0x408)](_0x2318e0)),_0xa2c1c(0x3,_0x5c942c[_0x5d8024(0x408)](_0x1aca0c)),_0xa2c1c(0x4,_0x5c942c[_0x5d8024(0x408)](_0x261279)),_0xa2c1c(0x5,_0x5c942c[_0x5d8024(0x408)](_0x1134fa)),_0xa2c1c(0x6,_0xd9e91b['IMessageService']),_0xa2c1c(0x7,_0x5c942c[_0x5d8024(0x408)](_0x5c942c['LocaleService']))],_0x1973c2);var _0x46df74=(_0x177776=>(_0x177776[_0x177776[_0x5d8024(0x18b)]=0x0]=_0x5d8024(0x18b),_0x177776[_0x177776['OK']=0x1]='OK',_0x177776[_0x177776[_0x5d8024(0x392)]=0x2]=_0x5d8024(0x392),_0x177776[_0x177776['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x177776[_0x177776[_0x5d8024(0x2b8)]=0x4]=_0x5d8024(0x2b8),_0x177776[_0x177776[_0x5d8024(0x32e)]=0x5]=_0x5d8024(0x32e),_0x177776[_0x177776[_0x5d8024(0x37f)]=0x6]=_0x5d8024(0x37f),_0x177776[_0x177776[_0x5d8024(0x3e1)]=0x7]=_0x5d8024(0x3e1),_0x177776[_0x177776[_0x5d8024(0x1a0)]=0x8]=_0x5d8024(0x1a0),_0x177776[_0x177776[_0x5d8024(0x203)]=0x9]='COMPLETION_FINISHED',_0x177776[_0x177776[_0x5d8024(0x3b3)]=0xa]=_0x5d8024(0x3b3),_0x177776[_0x177776['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x5d8024(0x3a2),_0x177776[_0x177776[_0x5d8024(0x36b)]=0xc]=_0x5d8024(0x36b),_0x177776[_0x177776['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x177776[_0x177776[_0x5d8024(0x297)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x177776[_0x177776['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x5d8024(0x2e8),_0x177776[_0x177776[_0x5d8024(0x244)]=0x10]=_0x5d8024(0x244),_0x177776[_0x177776[_0x5d8024(0x2dc)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x177776[_0x177776['ERROR_AGAIN']=0x65]=_0x5d8024(0x2c2),_0x177776[_0x177776[_0x5d8024(0x384)]=0xc9]=_0x5d8024(0x384),_0x177776[_0x177776['USER_IS_ANONYMOUS']=0xca]=_0x5d8024(0x315),_0x177776[_0x177776[_0x5d8024(0x454)]=0x1389]=_0x5d8024(0x454),_0x177776[_0x177776['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x177776[_0x177776['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x5d8024(0x227),_0x177776[_0x177776[_0x5d8024(0x1cc)]=0x1773]=_0x5d8024(0x1cc),_0x177776[_0x177776[_0x5d8024(0x40b)]=0x1b59]=_0x5d8024(0x40b),_0x177776[_0x177776[_0x5d8024(0x45a)]=0x1b5a]=_0x5d8024(0x45a),_0x177776[_0x177776['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x177776[_0x177776[_0x5d8024(0x344)]=0x1b5c]=_0x5d8024(0x344),_0x177776[_0x177776[_0x5d8024(0x1a1)]=0x1b5d]=_0x5d8024(0x1a1),_0x177776[_0x177776[_0x5d8024(0x40c)]=0x1f41]=_0x5d8024(0x40c),_0x177776[_0x177776[_0x5d8024(0x234)]=0x2329]=_0x5d8024(0x234),_0x177776[_0x177776[_0x5d8024(0x274)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x177776[_0x177776[_0x5d8024(0x1b6)]=0x232b]=_0x5d8024(0x1b6),_0x177776[_0x177776[_0x5d8024(0x3a7)]=0x232c]=_0x5d8024(0x3a7),_0x177776[_0x177776[_0x5d8024(0x221)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x177776[_0x177776[_0x5d8024(0x3bc)]=0x2711]=_0x5d8024(0x3bc),_0x177776[_0x177776[_0x5d8024(0x431)]=0x2712]=_0x5d8024(0x431),_0x177776[_0x177776[_0x5d8024(0x2d3)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x177776[_0x177776[_0x5d8024(0x399)]=0x2714]=_0x5d8024(0x399),_0x177776[_0x177776[_0x5d8024(0x32d)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x177776[_0x177776[_0x5d8024(0x362)]=0x271b]=_0x5d8024(0x362),_0x177776[_0x177776[_0x5d8024(0x341)]=0x271c]=_0x5d8024(0x341),_0x177776[_0x177776[_0x5d8024(0x37c)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x177776[_0x177776[_0x5d8024(0x26d)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x177776[_0x177776['YUUMI_AI_RUN_FAILED']=0x271f]=_0x5d8024(0x276),_0x177776[_0x177776[_0x5d8024(0x23f)]=0x2720]=_0x5d8024(0x23f),_0x177776[_0x177776[_0x5d8024(0x254)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x177776[_0x177776[_0x5d8024(0x45f)]=0x2ee1]=_0x5d8024(0x45f),_0x177776[_0x177776[_0x5d8024(0x466)]=0x2ee2]='INVALID_INVITE_CODE',_0x177776[_0x177776[_0x5d8024(0x24e)]=0x2ee3]=_0x5d8024(0x24e),_0x177776[_0x177776['USER_NOT_INVITED_CODE']=0x2ee4]=_0x5d8024(0x37d),_0x177776[_0x177776['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x5d8024(0x24f),_0x177776[_0x177776[_0x5d8024(0x395)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x177776[_0x177776['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x5d8024(0x28f),_0x177776[_0x177776[_0x5d8024(0x2a6)]=0x32cb]=_0x5d8024(0x2a6),_0x177776[_0x177776[_0x5d8024(0x2eb)]=0x36b1]=_0x5d8024(0x2eb),_0x177776[_0x177776[_0x5d8024(0x1d6)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x177776[_0x177776[_0x5d8024(0x46a)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x177776[_0x177776['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x177776[_0x177776['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x5d8024(0x352),_0x177776[_0x177776[_0x5d8024(0x422)]=0x3716]=_0x5d8024(0x422),_0x177776[_0x177776[_0x5d8024(0x441)]=0x37dd]=_0x5d8024(0x441),_0x177776[_0x177776[_0x5d8024(0x40f)]=0x3a99]=_0x5d8024(0x40f),_0x177776[_0x177776['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x5d8024(0x2db),_0x177776[_0x177776[_0x5d8024(0x24a)]=0x3a9b]=_0x5d8024(0x24a),_0x177776[_0x177776['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x177776[_0x177776['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x5d8024(0x261),_0x177776[_0x177776[_0x5d8024(0x366)]=0x3a9e]=_0x5d8024(0x366),_0x177776[_0x177776[_0x5d8024(0x3d9)]=0x3a9f]=_0x5d8024(0x3d9),_0x177776[_0x177776[_0x5d8024(0x2b2)]=-0x1]=_0x5d8024(0x2b2),_0x177776))(_0x46df74||{});function _0x4cbce1(_0x9b6af8){const _0x359dc1=_0x5d8024;var _0x41f6c7,_0x54ce84;const _0x33303f=(_0x41f6c7=_0x9b6af8[_0x359dc1(0x28e)])==null?void 0x0:_0x41f6c7[_0x359dc1(0x207)],_0x28d23a=((_0x54ce84=_0x9b6af8[_0x359dc1(0x28e)])==null?void 0x0:_0x54ce84[_0x359dc1(0x2d0)])||0x0;return _0x33303f===_0x16879f[_0x359dc1(0x3b9)][_0x359dc1(0x1fd)]&&_0x28d23a>0x0;}function _0x1856b6(_0x334724){const _0x20e7c2=_0x5d8024;return _0x334724[_0x20e7c2(0x350)]===_0x16879f['FormulaExecutedStateType'][_0x20e7c2(0x209)];}var _0x561097=Object['getOwnPropertyDescriptor'],_0x45cd85=(_0x12c4e8,_0x4f7d6c,_0x8f6011,_0x5387b6)=>{const _0x4699a1=_0x5d8024;for(var _0x1e4c50=_0x5387b6>0x1?void 0x0:_0x5387b6?_0x561097(_0x4f7d6c,_0x8f6011):_0x4f7d6c,_0x5a17b9=_0x12c4e8[_0x4699a1(0x2de)]-0x1,_0x3e526b;_0x5a17b9>=0x0;_0x5a17b9--)(_0x3e526b=_0x12c4e8[_0x5a17b9])&&(_0x1e4c50=_0x3e526b(_0x1e4c50)||_0x1e4c50);return _0x1e4c50;},_0x25bbfb=(_0x4d0782,_0x4893a2)=>(_0x1fc145,_0x5bcba1)=>_0x4893a2(_0x1fc145,_0x5bcba1,_0x4d0782);const _0x5a0082=_0x5d8024(0x1cd),_0x556917=_0x5d8024(0x290),_0x3af16e=_0x5d8024(0x38a);let _0x4dc131=class extends _0x5c942c[_0x5d8024(0x22e)]{constructor(_0x4a6089,_0x587e21,_0x46c646,_0x3d954d,_0x495e92,_0x52760e,_0x1ee3e8){const _0x52a916=_0x5d8024;super(),_0x55ab4a(this,_0x52a916(0x25a),null),_0x55ab4a(this,_0x52a916(0x283),0x0),_0x55ab4a(this,_0x52a916(0x301),0x0),_0x55ab4a(this,_0x52a916(0x33e),[]),_0x55ab4a(this,_0x52a916(0x2fb),0x0),(this['_messageService']=_0x4a6089,this['_commandService']=_0x587e21,this[_0x52a916(0x2ff)]=_0x46c646,this[_0x52a916(0x1e4)]=_0x3d954d,this[_0x52a916(0x294)]=_0x495e92,this['_logService']=_0x52760e,this[_0x52a916(0x2bd)]=_0x1ee3e8,this[_0x52a916(0x3f5)]());}[_0x5d8024(0x3f5)](){const _0x1017f1=_0x5d8024;this[_0x1017f1(0x2ee)](this['_commandService'][_0x1017f1(0x1be)]((_0xec4e39,_0x34a536)=>{const _0x2b3441=_0x1017f1;if(_0xec4e39['id']!==_0x16879f[_0x2b3441(0x46b)]['id'])return;const _0x43e9d0=_0xec4e39[_0x2b3441(0x36d)];if(!this[_0x2b3441(0x1f6)](_0x43e9d0['dirtyRanges']))return;if(!this[_0x2b3441(0x1d8)]())throw this[_0x2b3441(0x375)](_0xec4e39,_0x34a536),this[_0x2b3441(0x319)](),new _0x5c942c[(_0x2b3441(0x463))]();})),this[_0x1017f1(0x2ee)](this[_0x1017f1(0x407)][_0x1017f1(0x2ca)]((_0x41bd5f,_0x1d3ee0)=>{const _0x2023bf=_0x1017f1;if(_0x41bd5f['id']!==_0x16879f['SetFormulaCalculationNotificationMutation']['id'])return;const _0x18b352=_0x41bd5f['params'];if(_0x4cbce1(_0x18b352)){const _0x1637eb=_0x5c942c[_0x2023bf(0x1f0)]();this[_0x2023bf(0x33e)][_0x2023bf(0x394)](_0x1637eb),this[_0x2023bf(0x413)](_0x1637eb);}else{if(_0x1856b6(_0x18b352)&&this[_0x2023bf(0x33e)][_0x2023bf(0x2de)]>0x0){const _0x47a44d=this['_taskIds'][_0x2023bf(0x3ff)]();this['_releaseCalculationLimit'](_0x47a44d);}}}));}[_0x5d8024(0x1a2)](){const _0x121c1d=_0x5d8024;super['dispose'](),this['_clearPolling'](),this[_0x121c1d(0x33e)]=[],this[_0x121c1d(0x301)]=0x0,this[_0x121c1d(0x283)]=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x5d8024(0x375)](_0x19fd6f,_0x26bfc8){const _0x5eba84=_0x5d8024;for(let _0xecc8c4=0x0;_0xecc8c4<0x1e;_0xecc8c4++)try{if(await this[_0x5eba84(0x32f)](),this[_0x5eba84(0x1d8)]()){this[_0x5eba84(0x3d7)](_0x19fd6f,_0x26bfc8),this[_0x5eba84(0x19a)][_0x5eba84(0x2a3)]({'content':this[_0x5eba84(0x2bd)]['t'](_0x5eba84(0x396)),'type':_0x24440e[_0x5eba84(0x245)][_0x5eba84(0x243)]});return;}await new Promise(_0xb19e4d=>{const _0x267a60=_0x5eba84;this[_0x267a60(0x25a)]=window[_0x267a60(0x35d)](_0xb19e4d,0x3e8);});}catch(_0x392753){this['_logService'][_0x5eba84(0x1a9)](_0x392753);}this[_0x5eba84(0x19a)]['show']({'content':this[_0x5eba84(0x2bd)]['t'](_0x5eba84(0x42a)),'type':_0x24440e[_0x5eba84(0x245)][_0x5eba84(0x333)]});}[_0x5d8024(0x3d7)](_0xf496ef,_0x4ba2fc){const _0x178a64=_0x5d8024;try{this[_0x178a64(0x407)][_0x178a64(0x20e)](_0xf496ef['id'],_0xf496ef[_0x178a64(0x36d)],_0x4ba2fc);}catch(_0x29bacc){this['_logService'][_0x178a64(0x1a9)](_0x29bacc);}}['_setFormulaLimitStatus'](_0x5159db,_0x93dc25){const _0x181b0a=_0x5d8024;_0x93dc25<this[_0x181b0a(0x2fb)]||(this['_lastResponseTimestamp']=_0x93dc25,this['_maxFormulaLimit']=Number[_0x181b0a(0x45b)](_0x5159db[_0x181b0a(0x1e8)]),this[_0x181b0a(0x301)]=Number[_0x181b0a(0x45b)](_0x5159db['currentUsage']));}async[_0x5d8024(0x413)](_0x2c8ae8){const _0x2da943=_0x5d8024;var _0x434291,_0x4a7518;const _0x10ab50=Date[_0x2da943(0x433)]();try{const _0x2dca85=((_0x434291=this[_0x2da943(0x2ff)][_0x2da943(0x2f0)](_0x5ef24b[_0x2da943(0x1af)]))==null?void 0x0:_0x434291[_0x2da943(0x3e0)])||_0x556917,_0x5ea27f=(await this['_httpService']['post'](_0x2dca85,{'body':JSON[_0x2da943(0x318)]({'taskId':_0x2c8ae8})}))[_0x2da943(0x437)];if(((_0x4a7518=_0x5ea27f[_0x2da943(0x1a9)])==null?void 0x0:_0x4a7518[_0x2da943(0x370)])!==_0x46df74['OK'])return;this[_0x2da943(0x42d)](_0x5ea27f[_0x2da943(0x287)],_0x10ab50);}catch(_0x31accb){this[_0x2da943(0x289)][_0x2da943(0x1a9)](_0x31accb);}}async[_0x5d8024(0x32f)](_0x160552){const _0x43d831=_0x5d8024;var _0xe3841b,_0x3a3a7b;const _0x393ec6=Date['now']();try{const _0x143dc8=((_0xe3841b=this['_configService'][_0x43d831(0x2f0)](_0x5ef24b['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0xe3841b['getformulaLimitStatusUrl'])||_0x5a0082,_0x2d5bf0=_0x160552?_0x143dc8+_0x43d831(0x2d1)+encodeURIComponent(_0x160552):_0x143dc8,_0x11692a=(await this[_0x43d831(0x1e4)][_0x43d831(0x2e0)](_0x2d5bf0))['body'];if(((_0x3a3a7b=_0x11692a[_0x43d831(0x1a9)])==null?void 0x0:_0x3a3a7b[_0x43d831(0x370)])!==_0x46df74['OK'])return;this[_0x43d831(0x42d)](_0x11692a[_0x43d831(0x287)],_0x393ec6);}catch(_0x2d7f5b){this['_logService'][_0x43d831(0x1a9)](_0x2d7f5b);}}async[_0x5d8024(0x35f)](_0x42ac90){const _0x2e3a72=_0x5d8024;var _0x9ac544,_0x914c72;const _0x4ff0d3=Date[_0x2e3a72(0x433)]();try{const _0x26504d=((_0x9ac544=this[_0x2e3a72(0x2ff)][_0x2e3a72(0x2f0)](_0x5ef24b['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x9ac544[_0x2e3a72(0x1e7)])||_0x3af16e,_0x2c5726=(await this[_0x2e3a72(0x1e4)]['post'](_0x26504d,{'body':JSON['stringify']({'taskId':_0x42ac90})}))['body'];if(((_0x914c72=_0x2c5726[_0x2e3a72(0x1a9)])==null?void 0x0:_0x914c72['code'])!==_0x46df74['OK'])return;this[_0x2e3a72(0x42d)](_0x2c5726[_0x2e3a72(0x287)],_0x4ff0d3);}catch(_0xe366f1){this[_0x2e3a72(0x289)][_0x2e3a72(0x1a9)](_0xe366f1);}}['_checkCalculationAvailable'](){const _0x427da0=_0x5d8024;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x427da0(0x283)]-this['_currentUsage']>0x0;}[_0x5d8024(0x223)](){const _0x562dc2=_0x5d8024;this[_0x562dc2(0x25a)]&&(clearTimeout(this[_0x562dc2(0x25a)]),this['_pollingInterval']=null);}['_showGuardMessage'](){const _0x152a51=_0x5d8024;this['_messageService']['show']({'content':this[_0x152a51(0x2bd)]['t'](_0x152a51(0x3c1)),'type':_0x24440e[_0x152a51(0x245)][_0x152a51(0x410)]});}[_0x5d8024(0x1f6)](_0x1cf584){const _0x2cc1be=_0x5d8024;for(const _0x5de648 of _0x1cf584){const {unitId:_0x5a9aba,sheetId:_0x1fe1c3,range:_0x4f291a}=_0x5de648,_0x58ab2d=this['_univerInstanceService']['getUnit'](_0x5a9aba);if(!_0x58ab2d)continue;const _0x15a46f=_0x58ab2d[_0x2cc1be(0x3d4)](_0x1fe1c3);if(!_0x15a46f)continue;const _0x438246=_0x15a46f['getCellMatrix']();for(let _0x46b033=_0x4f291a[_0x2cc1be(0x3b1)];_0x46b033<=_0x4f291a[_0x2cc1be(0x211)];_0x46b033++)for(let _0x41402d=_0x4f291a[_0x2cc1be(0x2ce)];_0x41402d<=_0x4f291a[_0x2cc1be(0x190)];_0x41402d++){const _0x558190=_0x438246[_0x2cc1be(0x416)](_0x46b033,_0x41402d);if(_0x558190&&(_0x5c942c['isFormulaString'](_0x558190['f'])||_0x5c942c['isFormulaId'](_0x558190['si'])))return!0x0;}}return!0x1;}};_0x4dc131=_0x45cd85([_0x25bbfb(0x0,_0x5c942c[_0x5d8024(0x408)](_0xd9e91b[_0x5d8024(0x1e5)])),_0x25bbfb(0x1,_0x5c942c[_0x5d8024(0x1dd)]),_0x25bbfb(0x2,_0x5c942c[_0x5d8024(0x1d7)]),_0x25bbfb(0x3,_0x5c942c[_0x5d8024(0x408)](_0x12ed1f[_0x5d8024(0x299)])),_0x25bbfb(0x4,_0x5c942c['IUniverInstanceService']),_0x25bbfb(0x5,_0x5c942c[_0x5d8024(0x29b)]),_0x25bbfb(0x6,_0x5c942c[_0x5d8024(0x408)](_0x5c942c['LocaleService']))],_0x4dc131);var _0x3ca11f=Object[_0x5d8024(0x458)],_0x377eb3=(_0x3a2c1c,_0x1f7535,_0x57a903,_0x2e19cc)=>{for(var _0x4a8ea5=_0x2e19cc>0x1?void 0x0:_0x2e19cc?_0x3ca11f(_0x1f7535,_0x57a903):_0x1f7535,_0x3b99ec=_0x3a2c1c['length']-0x1,_0x122343;_0x3b99ec>=0x0;_0x3b99ec--)(_0x122343=_0x3a2c1c[_0x3b99ec])&&(_0x4a8ea5=_0x122343(_0x4a8ea5)||_0x4a8ea5);return _0x4a8ea5;},_0x4a4a36=(_0x4e3a70,_0x513f31)=>(_0x5da583,_0x5082f4)=>_0x513f31(_0x5da583,_0x5082f4,_0x4e3a70);let _0x3e6a6e=class extends _0x5c942c[_0x5d8024(0x22e)]{constructor(_0x39063c,_0x5f43b2,_0x2488ad){const _0x20c79b=_0x5d8024;super(),_0x55ab4a(this,_0x20c79b(0x444),new Map()),_0x55ab4a(this,_0x20c79b(0x2bb),new Map()),_0x55ab4a(this,_0x20c79b(0x308),!0x1),(this[_0x20c79b(0x2ff)]=_0x39063c,this[_0x20c79b(0x296)]=_0x5f43b2,this[_0x20c79b(0x278)]=_0x2488ad);}['disableLocalCache'](){const _0x243091=_0x5d8024;this[_0x243091(0x308)]=!0x0;}[_0x5d8024(0x33a)](){this['_disabled']=!0x1;}get[_0x5d8024(0x34e)](){const _0x388c7=_0x5d8024;return this[_0x388c7(0x2bb)];}[_0x5d8024(0x1a2)](){const _0xcfa85=_0x5d8024;this[_0xcfa85(0x1ab)]()[_0xcfa85(0x270)](()=>super[_0xcfa85(0x1a2)]());}async['loadOfflineData'](_0x4130bb){const _0x3518c0=_0x5d8024;return this['_disabled']?null:this[_0x3518c0(0x296)][_0x3518c0(0x298)](_0x5ef24b[_0x3518c0(0x23a)](_0x4130bb));}async['saveOfflineData'](_0x598058,_0x7b5a61){const _0x1df9b6=_0x5d8024;return!!this['_localStorageService'][_0x1df9b6(0x3ea)](_0x598058,_0x7b5a61);}[_0x5d8024(0x3fa)](_0x4f9865,_0x52716d,_0x586ea7,_0x3c7ffa){const _0x4b3d3e=_0x5d8024,_0x1629c3=this['_revisionService'][_0x4b3d3e(0x2fa)](_0x4f9865);this[_0x4b3d3e(0x444)][_0x4b3d3e(0x3b0)](_0x4f9865,{'unitID':_0x4f9865,'type':_0x52716d,'awaitingChangeset':_0x586ea7,'mutations':_0x3c7ffa,'rev':_0x1629c3}),this[_0x4b3d3e(0x2bb)][_0x4b3d3e(0x21c)](_0x4f9865)||this[_0x4b3d3e(0x316)](_0x4f9865);}[_0x5d8024(0x316)](_0x4cf887){const _0x12a320=_0x5d8024,_0x42f251=this['_getSaveTimeout']();_0x42f251===0x0?this['_saveCache'](_0x4cf887):this[_0x12a320(0x2bb)][_0x12a320(0x3b0)](_0x4cf887,setTimeout(()=>this[_0x12a320(0x3e8)](_0x4cf887),_0x42f251));}['_getSaveTimeout'](){const _0x7505f0=_0x5d8024;var _0xfc1136;return(_0xfc1136=this['_configService'][_0x7505f0(0x2f0)](_0x5ef24b['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0xfc1136:_0x5ef24b[_0x7505f0(0x256)];}[_0x5d8024(0x3e8)](_0x53e337){const _0x7b8ed9=_0x5d8024,_0x18fd43=this[_0x7b8ed9(0x2bb)][_0x7b8ed9(0x2e0)](_0x53e337);return _0x18fd43!==void 0x0&&window[_0x7b8ed9(0x1bf)](_0x18fd43),this['_localStorageService'][_0x7b8ed9(0x3ea)](_0x5ef24b[_0x7b8ed9(0x23a)](_0x53e337),this['_cachedData'][_0x7b8ed9(0x2e0)](_0x53e337))['then'](()=>this[_0x7b8ed9(0x2bb)][_0x7b8ed9(0x3fb)](_0x53e337));}async[_0x5d8024(0x1ab)](){const _0x2cc3e3=_0x5d8024,_0x1e2bba=[];this[_0x2cc3e3(0x2bb)]['forEach']((_0x512795,_0x3ca981)=>{const _0x35844f=_0x2cc3e3;window[_0x35844f(0x1bf)](_0x512795),_0x1e2bba[_0x35844f(0x394)](this['_saveCache'](_0x3ca981)[_0x35844f(0x270)](()=>{const _0x211e56=_0x35844f;this[_0x211e56(0x2bb)][_0x211e56(0x3fb)](_0x3ca981);}));}),await Promise[_0x2cc3e3(0x34f)](_0x1e2bba);}};_0x3e6a6e=_0x377eb3([_0x4a4a36(0x0,_0x5c942c[_0x5d8024(0x1d7)]),_0x4a4a36(0x1,_0x5c942c[_0x5d8024(0x1bd)]),_0x4a4a36(0x2,_0x5c942c[_0x5d8024(0x408)](_0x1552da[_0x5d8024(0x356)]))],_0x3e6a6e);class _0xfc26a6 extends _0x5c942c[_0x5d8024(0x2c7)]{constructor(){const _0x4e52e2=_0x5d8024;super(),_0x55ab4a(this,_0x4e52e2(0x371)),this['urlChange$']=_0x47f7ed['fromEvent'](window,_0x4e52e2(0x414))[_0x4e52e2(0x2c9)](_0x47f7ed[_0x4e52e2(0x28a)](this[_0x4e52e2(0x42f)]),_0x47f7ed['shareReplay'](0x1),_0x47f7ed['mapTo'](void 0x0));}[_0x5d8024(0x3eb)](_0x32ede1,_0x27887c,_0x37d382=!0x1){const _0x4a69fd=_0x5d8024,_0x141b0c=new URL(window[_0x4a69fd(0x456)][_0x4a69fd(0x373)]);_0x141b0c[_0x4a69fd(0x452)][_0x4a69fd(0x3b0)](_0x32ede1,_0x27887c),_0x37d382?window[_0x4a69fd(0x405)]['replaceState']('','',_0x141b0c[_0x4a69fd(0x25d)]()):window['history'][_0x4a69fd(0x249)]('','',_0x141b0c['toString']());}[_0x5d8024(0x25c)](_0x5a00c7,_0x42b462=!0x1){const _0x481850=_0x5d8024,_0x3e9271=new URL(window[_0x481850(0x456)][_0x481850(0x373)]);_0x3e9271['searchParams'][_0x481850(0x3fb)](_0x5a00c7),_0x42b462?window[_0x481850(0x405)][_0x481850(0x31d)]('','',_0x3e9271['toString']()):window[_0x481850(0x405)][_0x481850(0x249)]('','',_0x3e9271[_0x481850(0x25d)]());}[_0x5d8024(0x3e2)](_0x2f7c78){const _0x1ab850=_0x5d8024;var _0x38667a;return(_0x38667a=new URL(window[_0x1ab850(0x456)]['href'])[_0x1ab850(0x452)]['get'](_0x2f7c78))!=null?_0x38667a:void 0x0;}}var _0x376a4f=Object[_0x5d8024(0x3b6)],_0x2be336=Object['getOwnPropertyDescriptor'],_0x31e17c=(_0x133aff,_0x5d249f,_0x3efc37)=>_0x5d249f in _0x133aff?_0x376a4f(_0x133aff,_0x5d249f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3efc37}):_0x133aff[_0x5d249f]=_0x3efc37,_0x4f4109=(_0x17460e,_0x50a888,_0x5de90d,_0x27650b)=>{const _0x1b3c0f=_0x5d8024;for(var _0x3bff49=_0x27650b>0x1?void 0x0:_0x27650b?_0x2be336(_0x50a888,_0x5de90d):_0x50a888,_0x1ca2d2=_0x17460e[_0x1b3c0f(0x2de)]-0x1,_0x3d2539;_0x1ca2d2>=0x0;_0x1ca2d2--)(_0x3d2539=_0x17460e[_0x1ca2d2])&&(_0x3bff49=_0x3d2539(_0x3bff49)||_0x3bff49);return _0x3bff49;},_0x5218bb=(_0x10b214,_0x388add)=>(_0xbb9ddf,_0x2ef2ac)=>_0x388add(_0xbb9ddf,_0x2ef2ac,_0x10b214),_0x20876e=(_0x2efcfe,_0xe7dabd,_0x1368e4)=>_0x31e17c(_0x2efcfe,_0xe7dabd+'',_0x1368e4);const _0x14c911='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x13f865[_0x5d8024(0x27d)]=class extends _0x5c942c[_0x5d8024(0x18f)]{constructor(_0x4f18db=_0xdcd0b,_0x5c5f7b,_0x3ae035,_0x2cbc86){const _0x49179c=_0x5d8024;super(),this[_0x49179c(0x2cf)]=_0x4f18db,this['_renderManagerService']=_0x5c5f7b,this[_0x49179c(0x2c5)]=_0x3ae035,this['_configService']=_0x2cbc86;const {..._0xa1e227}=_0x5c942c[_0x49179c(0x3ae)]({},_0xdcd0b,this[_0x49179c(0x2cf)]);this[_0x49179c(0x2ff)][_0x49179c(0x41f)](_0x1d7e79,_0xa1e227);}[_0x5d8024(0x1bc)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x5d8024(0x2e2)](){const _0x2e30f2=_0x5d8024;this[_0x2e30f2(0x1b0)]();}[_0x5d8024(0x1d3)](){const _0x589cd5=_0x5d8024;var _0x555b7e;const _0x2eb7c4=[[_0x2a49c1],[_0x4dc131],[_0x261279],[_0x2318e0],[_0x1aca0c],[_0x1134fa],[_0x430a02,{'useClass':_0xfc26a6}],[_0x12ed1f[_0x589cd5(0x2d9)],{'useClass':_0x12ed1f[_0x589cd5(0x402)]}],[_0x5ef24b['ILocalCacheService'],{'useClass':_0x3e6a6e}],[_0x13f865[_0x589cd5(0x332)]],[_0x1973c2],[_0x44383d],[_0x2023f9],[_0x680ac],[_0x13f865['CollaborationDataLoaderController']]];_0x5c942c['registerDependencies'](this[_0x589cd5(0x2c5)],_0x5c942c[_0x589cd5(0x2b1)](_0x2eb7c4,(_0x555b7e=this['_config'])==null?void 0x0:_0x555b7e['override']));}[_0x5d8024(0x1b0)](){const _0x583a33=_0x5d8024;this[_0x583a33(0x2ee)](this[_0x583a33(0x241)][_0x583a33(0x39e)](_0x5c942c[_0x583a33(0x1d2)]['UNIVER_DOC'],[_0x44a28d])),this[_0x583a33(0x2ee)](this[_0x583a33(0x241)]['registerRenderModule'](_0x5c942c['UniverInstanceType'][_0x583a33(0x342)],[_0x56844d]));}[_0x5d8024(0x421)](){const _0x33c393=_0x5d8024;_0x5c942c[_0x33c393(0x42b)](this[_0x33c393(0x2c5)],[[_0x2023f9],[_0x13f865[_0x33c393(0x332)]],[_0x1973c2],[_0x44383d],[_0x13f865[_0x33c393(0x2bf)]],[_0x4dc131]]);}},_0x20876e(_0x13f865[_0x5d8024(0x27d)],_0x5d8024(0x219),_0x14c911),_0x13f865['UniverCollaborationClientUIPlugin']=_0x4f4109([_0x5c942c[_0x5d8024(0x41d)](_0x5ef24b['UniverCollaborationClientPlugin']),_0x5218bb(0x1,_0x45c6b1[_0x5d8024(0x3f9)]),_0x5218bb(0x2,_0x5c942c[_0x5d8024(0x408)](_0x5c942c[_0x5d8024(0x1e3)])),_0x5218bb(0x3,_0x5c942c[_0x5d8024(0x1d7)])],_0x13f865[_0x5d8024(0x27d)]);var _0x1f0b60=Object['getOwnPropertyDescriptor'],_0x279773=(_0x435378,_0x1451c3,_0x2649b5,_0x4507d9)=>{const _0x3e33b8=_0x5d8024;for(var _0x10bc9b=_0x4507d9>0x1?void 0x0:_0x4507d9?_0x1f0b60(_0x1451c3,_0x2649b5):_0x1451c3,_0x2a015e=_0x435378[_0x3e33b8(0x2de)]-0x1,_0x5470ef;_0x2a015e>=0x0;_0x2a015e--)(_0x5470ef=_0x435378[_0x2a015e])&&(_0x10bc9b=_0x5470ef(_0x10bc9b)||_0x10bc9b);return _0x10bc9b;},_0x2d679b=(_0xb62584,_0x5373b5)=>(_0x4a05e4,_0x181802)=>_0x5373b5(_0x4a05e4,_0x181802,_0xb62584);_0x13f865[_0x5d8024(0x385)]=class extends _0x5ef24b[_0x5d8024(0x38e)]{constructor(_0x40fd8,_0x587a8d,_0x3a9962,_0x444ae8,_0x547057){super(_0x40fd8,_0x587a8d,_0x3a9962,_0x444ae8,_0x547057);}async[_0x5d8024(0x2ad)](_0x5bcf4b){const _0x8812f6=_0x5d8024,_0x277ab3=await this['_getSessionTicket'](),_0x1edc89=this[_0x8812f6(0x2a7)](_0x5bcf4b,_0x277ab3);return this[_0x8812f6(0x426)](_0x1edc89);}[_0x5d8024(0x2a7)](_0x43cf1c,_0x1fd314){const _0x33072c=_0x5d8024,_0xc09699=typeof window>'u'?new URL(_0x43cf1c):new URL(_0x43cf1c,window['location'][_0x33072c(0x3a1)]);_0xc09699[_0x33072c(0x452)][_0x33072c(0x3b0)](_0x33072c(0x41e),_0x1fd314);const _0x3a1d4a=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x33072c(0x456)][_0x33072c(0x44a)]);return _0x3a1d4a[_0x33072c(0x2e0)](_0x33072c(0x1ce))&&_0xc09699[_0x33072c(0x452)][_0x33072c(0x3b0)](_0x33072c(0x1ce),_0x3a1d4a[_0x33072c(0x2e0)](_0x33072c(0x1ce))),_0xc09699['toString']();}async[_0x5d8024(0x3d2)](){const _0x5a4c43=_0x5d8024;var _0xf6a97c,_0x5e4a9f,_0x5f195f;const _0x7c9225=this[_0x5a4c43(0x2ff)][_0x5a4c43(0x2f0)](_0x5ef24b['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x15fabb=(_0xf6a97c=_0x7c9225==null?void 0x0:_0x7c9225[_0x5a4c43(0x2df)])!=null?_0xf6a97c:_0x5ef24b['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x5f195f=(_0x5e4a9f=(await this[_0x5a4c43(0x1e4)][_0x5a4c43(0x2e0)](_0x15fabb,{'headers':{'Content-Type':_0x5a4c43(0x247)}}))[_0x5a4c43(0x437)])==null?void 0x0:_0x5e4a9f[_0x5a4c43(0x2aa)])!=null?_0x5f195f:'';}},_0x13f865[_0x5d8024(0x385)]=_0x279773([_0x2d679b(0x0,_0x5c942c[_0x5d8024(0x408)](_0x5c942c[_0x5d8024(0x1e3)])),_0x2d679b(0x1,_0x5c942c[_0x5d8024(0x408)](_0x12ed1f[_0x5d8024(0x299)])),_0x2d679b(0x2,_0x5c942c[_0x5d8024(0x1d7)]),_0x2d679b(0x3,_0x5c942c[_0x5d8024(0x29b)]),_0x2d679b(0x4,_0x1552da['ISnapshotServerService'])],_0x13f865[_0x5d8024(0x385)]);var _0x3be0ab=Object[_0x5d8024(0x458)],_0x2ed8bc=(_0xe94d7,_0x4d5072,_0x151eaf,_0x5100c0)=>{const _0x3a9813=_0x5d8024;for(var _0x127778=_0x5100c0>0x1?void 0x0:_0x5100c0?_0x3be0ab(_0x4d5072,_0x151eaf):_0x4d5072,_0x238a30=_0xe94d7[_0x3a9813(0x2de)]-0x1,_0x4ca22b;_0x238a30>=0x0;_0x238a30--)(_0x4ca22b=_0xe94d7[_0x238a30])&&(_0x127778=_0x4ca22b(_0x127778)||_0x127778);return _0x127778;},_0x57b9c7=(_0xa260b3,_0x50c72d)=>(_0x4880f6,_0x5d6ca1)=>_0x50c72d(_0x4880f6,_0x5d6ca1,_0xa260b3);_0x13f865['RemoteUniscriptService']=class extends _0x5c942c[_0x5d8024(0x22e)]{constructor(_0x30b7e7,_0xa8920b,_0x17b34e){const _0x730f2d=_0x5d8024;super(),this[_0x730f2d(0x1b1)]=_0x30b7e7,this[_0x730f2d(0x1e4)]=_0xa8920b,this[_0x730f2d(0x2ff)]=_0x17b34e;}async[_0x5d8024(0x312)](_0x292c9d,_0x3e10a0,_0xf3df6b,..._0x55a33f){const _0x12088a=_0x5d8024;var _0x4cca19,_0x2e1900,_0x616ef2,_0x5afcb8;const _0x5003b1=this['_instanceService'][_0x12088a(0x31b)]();if(!_0x5003b1)throw new Error(_0x12088a(0x230));const _0x5fcb07=((_0x4cca19=this[_0x12088a(0x2ff)][_0x12088a(0x2f0)](_0x5ef24b['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x4cca19:_0x5ef24b[_0x12088a(0x255)])+'/'+_0x292c9d+_0x12088a(0x1aa)+_0x3e10a0,_0x74df48=new URL(window['location'][_0x12088a(0x373)]),_0x438dbc={'scriptId':_0x292c9d,'runId':(_0x2e1900=_0x74df48[_0x12088a(0x452)][_0x12088a(0x2e0)](_0x12088a(0x1ce)))!=null?_0x2e1900:'','function':_0x3e10a0,'unitId':_0x5003b1[_0x12088a(0x30d)](),'argsOfFunction':JSON[_0x12088a(0x318)](_0x55a33f),'invokeId':(_0x616ef2=_0xf3df6b[_0x12088a(0x2d6)])!=null?_0x616ef2:'','executionId':(_0x5afcb8=_0xf3df6b[_0x12088a(0x1e9)])!=null?_0x5afcb8:''};try{const _0x19185d=await this['_httpService'][_0x12088a(0x213)](_0x5fcb07,{'body':_0x438dbc});return _0x19185d[_0x12088a(0x437)]['error']&&_0x19185d[_0x12088a(0x437)][_0x12088a(0x1a9)][_0x12088a(0x370)]!==_0x46df74['OK']?_0x12088a(0x44e):_0x19185d[_0x12088a(0x437)][_0x12088a(0x39a)];}catch{return _0x12088a(0x44e);}}},_0x13f865[_0x5d8024(0x1a7)]=_0x2ed8bc([_0x57b9c7(0x0,_0x5c942c['IUniverInstanceService']),_0x57b9c7(0x1,_0x5c942c[_0x5d8024(0x408)](_0x12ed1f[_0x5d8024(0x299)])),_0x57b9c7(0x2,_0x5c942c[_0x5d8024(0x1d7)])],_0x13f865[_0x5d8024(0x1a7)]);const _0x2c4b0d=0x7530,_0x32c44f=_0x5d8024(0x1cb);class _0x4fe17b extends _0x5c942c[_0x5d8024(0x22e)]{constructor(){const _0x2813cc=_0x5d8024;super(),_0x55ab4a(this,_0x2813cc(0x21d),_0x5c942c[_0x2813cc(0x1f0)]()),_0x55ab4a(this,'_selfUnitIDs',new Set()),_0x55ab4a(this,_0x2813cc(0x3e6),new Map()),_0x55ab4a(this,_0x2813cc(0x1a5),null),_0x55ab4a(this,'_clearOtherTimers',new Map()),_0x55ab4a(this,_0x2813cc(0x409),new Map()),this[_0x2813cc(0x3db)]();}[_0x5d8024(0x1a2)](){const _0x3d1d73=_0x5d8024;super[_0x3d1d73(0x1a2)](),this[_0x3d1d73(0x2f9)][_0x3d1d73(0x3e9)]((_0x2ae28b,_0x1ed1a8)=>this[_0x3d1d73(0x200)](_0x1ed1a8)),this[_0x3d1d73(0x1a5)]&&window[_0x3d1d73(0x217)](this[_0x3d1d73(0x1a5)]);}[_0x5d8024(0x36e)](_0x4a2d85){const _0x443265=_0x5d8024;return this[_0x443265(0x293)](_0x4a2d85)['pipe'](_0x47f7ed[_0x443265(0x225)]());}[_0x5d8024(0x3cc)](_0x4ebda8){const _0xbb3915=_0x5d8024;this[_0xbb3915(0x22d)][_0xbb3915(0x3ba)]===0x0&&this[_0xbb3915(0x1c7)](),this['_selfUnitIDs']['add'](_0x4ebda8),this['_send']({'type':0x0,'memberID':this[_0xbb3915(0x21d)],'unitIDs':[_0x4ebda8],'isForwarded':!0x1});}[_0x5d8024(0x36a)](_0x1293a1){const _0x305a87=_0x5d8024;this[_0x305a87(0x22d)]['delete'](_0x1293a1),this[_0x305a87(0x22d)][_0x305a87(0x3ba)]===0x0&&this['_heartbeatTimer']&&window[_0x305a87(0x217)](this[_0x305a87(0x1a5)]);}[_0x5d8024(0x3db)](){const _0x58003c=_0x5d8024;this['disposeWithMe'](_0x5c942c[_0x58003c(0x222)](_0x47f7ed['fromEvent'](window,_0x58003c(0x2e9))['subscribe'](_0x3998f3=>{const _0x2507e4=_0x58003c;if(_0x3998f3['key']!==_0x32c44f||!_0x3998f3['newValue'])return;const _0x373d45=JSON[_0x2507e4(0x3c7)](_0x3998f3[_0x2507e4(0x1de)]);this[_0x2507e4(0x295)](_0x373d45);}))),window['addEventListener'](_0x58003c(0x2c4),()=>this['_send']({'type':0x1,'memberID':this[_0x58003c(0x21d)],'unitIDs':Array[_0x58003c(0x447)](this['_selfUnitIDs'])}));}['_handleEvent'](_0xfa7de2){const _0x10faa6=_0x5d8024;switch(_0xfa7de2[_0x10faa6(0x310)]){case 0x0:this[_0x10faa6(0x34a)](_0xfa7de2);break;case 0x1:this['_handleLeaveEvent'](_0xfa7de2);break;case 0x2:this[_0x10faa6(0x3c3)](_0xfa7de2);break;}}[_0x5d8024(0x34a)](_0x50becb){const _0x4a2881=_0x5d8024,{unitIDs:_0xc41824,memberID:_0x695692,isForwarded:_0x11ee9d}=_0x50becb;_0xc41824['forEach'](_0x1c595f=>{const _0x473d74=_0x2391;if(!_0x11ee9d&&this[_0x473d74(0x3e6)][_0x473d74(0x21c)](_0x1c595f)&&this[_0x473d74(0x293)](_0x1c595f)[_0x473d74(0x27f)](_0x5ef24b[_0x473d74(0x3d0)][_0x473d74(0x38d)]),!this['_unitOnClients']['has'](_0x1c595f)||!this[_0x473d74(0x3e6)][_0x473d74(0x2e0)](_0x1c595f)[_0x473d74(0x21c)](_0x695692)){const _0x3b60ed=this[_0x473d74(0x3e6)]['get'](_0x1c595f)||new Set();_0x3b60ed['add'](_0x695692),this[_0x473d74(0x3e6)][_0x473d74(0x3b0)](_0x1c595f,_0x3b60ed),this[_0x473d74(0x455)](_0x695692);}}),_0x11ee9d||this[_0x4a2881(0x23d)]({'type':0x0,'memberID':this[_0x4a2881(0x21d)],'unitIDs':[...this[_0x4a2881(0x22d)]],'isForwarded':!0x0});}[_0x5d8024(0x455)](_0x21bcd2){const _0x54d64b=_0x5d8024;this[_0x54d64b(0x200)](_0x21bcd2);const _0x274d99=window[_0x54d64b(0x35d)](()=>{const _0x50eae1=_0x54d64b;this[_0x50eae1(0x3e6)][_0x50eae1(0x3e9)](_0x126223=>{const _0x433dc6=_0x50eae1;_0x126223[_0x433dc6(0x3fb)](_0x21bcd2);});},_0x2c4b0d*0x2);this[_0x54d64b(0x2f9)][_0x54d64b(0x3b0)](_0x21bcd2,_0x274d99);}[_0x5d8024(0x200)](_0x4347a8){const _0x5f1cc9=_0x5d8024;if(this['_clearOtherTimers'][_0x5f1cc9(0x21c)](_0x4347a8)){const _0x3131a1=this['_clearOtherTimers'][_0x5f1cc9(0x2e0)](_0x4347a8);_0x3131a1&&window[_0x5f1cc9(0x1bf)](_0x3131a1),this[_0x5f1cc9(0x2f9)][_0x5f1cc9(0x3b0)](_0x4347a8,null);}}[_0x5d8024(0x28d)](_0x6f6b4b){const _0x33dbec=_0x5d8024,{memberID:_0x2adfc0,unitIDs:_0x3abc21}=_0x6f6b4b;_0x3abc21[_0x33dbec(0x3e9)](_0x5e8681=>{const _0x210310=_0x33dbec;var _0x4b7ab0;const _0xa2a91a=this[_0x210310(0x3e6)]['get'](_0x5e8681);_0xa2a91a&&(_0xa2a91a[_0x210310(0x3fb)](_0x2adfc0),(_0x4b7ab0=this['_ensureSubject'](_0x5e8681))==null||_0x4b7ab0[_0x210310(0x27f)](_0xa2a91a[_0x210310(0x3ba)]===0x0?_0x5ef24b['UnitStatus'][_0x210310(0x28c)]:_0x5ef24b[_0x210310(0x3d0)][_0x210310(0x38d)]));}),this[_0x33dbec(0x200)](_0x2adfc0);}[_0x5d8024(0x3c3)](_0x13ba10){const _0x506e79=_0x5d8024;this[_0x506e79(0x455)](_0x13ba10['memberID']);}['_send'](_0x2e58d9){const _0x1c82ec=_0x5d8024;localStorage[_0x1c82ec(0x3ea)](_0x32c44f,JSON[_0x1c82ec(0x318)](_0x2e58d9));}['_scheduleHeartbeat'](){const _0x385480=_0x5d8024;this[_0x385480(0x1a5)]=window[_0x385480(0x355)](()=>{const _0x5d0ebf=_0x385480;this[_0x5d0ebf(0x23d)]({'type':0x2,'memberID':this['_id']});},_0x2c4b0d);}['_ensureSubject'](_0x235361){const _0x15dd63=_0x5d8024;return this['_unitStatus'][_0x15dd63(0x21c)](_0x235361)||this[_0x15dd63(0x409)]['set'](_0x235361,new _0x47f7ed[(_0x15dd63(0x1db))](_0x5ef24b[_0x15dd63(0x3d0)][_0x15dd63(0x28c)])),this[_0x15dd63(0x409)][_0x15dd63(0x2e0)](_0x235361);}}_0x13f865[_0x5d8024(0x1fc)]=_0x430a02,_0x13f865['SheetCollabCursorShape']=_0xde6a3b,_0x13f865[_0x5d8024(0x320)]=_0x4fe17b,_0x13f865['WebURLService']=_0xfc26a6,Object[_0x5d8024(0x3b6)](_0x13f865,Symbol[_0x5d8024(0x453)],{'value':_0x5d8024(0x36f)});}));
1
+ (function(_0x34bd42,_0xf12f03){const _0x36af80=_0x4227,_0x52cb0e=_0x34bd42();while(!![]){try{const _0x2ea451=parseInt(_0x36af80(0x217))/0x1+-parseInt(_0x36af80(0x3b5))/0x2+parseInt(_0x36af80(0x191))/0x3+parseInt(_0x36af80(0x30d))/0x4*(parseInt(_0x36af80(0x381))/0x5)+-parseInt(_0x36af80(0x328))/0x6+parseInt(_0x36af80(0x29c))/0x7*(-parseInt(_0x36af80(0x131))/0x8)+-parseInt(_0x36af80(0x394))/0x9;if(_0x2ea451===_0xf12f03)break;else _0x52cb0e['push'](_0x52cb0e['shift']());}catch(_0x472dfe){_0x52cb0e['push'](_0x52cb0e['shift']());}}}(_0x32c6,0x90763),function(_0x375097,_0x4a27fd){const _0x1a796e=_0x4227;typeof exports==_0x1a796e(0x3c6)&&typeof module<'u'?_0x4a27fd(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==_0x1a796e(0x1f5)&&define['amd']?define([_0x1a796e(0x122),_0x1a796e(0x279),_0x1a796e(0x27c),_0x1a796e(0x2cd),'@univerjs/ui',_0x1a796e(0x170),_0x1a796e(0x2a6),_0x1a796e(0x2c9),_0x1a796e(0x337),_0x1a796e(0x2a7),_0x1a796e(0x1cb),_0x1a796e(0x356),_0x1a796e(0x201),_0x1a796e(0x1e5),'@univerjs-pro/collaboration',_0x1a796e(0x1df),_0x1a796e(0x115),'rxjs/operators',_0x1a796e(0x1e3)],_0x4a27fd):(_0x375097=typeof globalThis<'u'?globalThis:_0x375097||self,_0x4a27fd(_0x375097[_0x1a796e(0x3b3)]={},_0x375097[_0x1a796e(0x24f)],_0x375097[_0x1a796e(0x350)],_0x375097[_0x1a796e(0x347)],_0x375097[_0x1a796e(0x2e6)],_0x375097['rxjs'],_0x375097[_0x1a796e(0x20d)],_0x375097[_0x1a796e(0x24f)],_0x375097[_0x1a796e(0x11d)],_0x375097['UniverSheets'],_0x375097[_0x1a796e(0x39c)],_0x375097['UniverNetwork'],_0x375097[_0x1a796e(0x2ba)],_0x375097[_0x1a796e(0x15d)],_0x375097[_0x1a796e(0x29d)],_0x375097[_0x1a796e(0x22d)],_0x375097['UniverEngineFormula'],_0x375097[_0x1a796e(0x170)]['operators'],_0x375097[_0x1a796e(0x2ca)]));}(this,function(_0x4205ba,_0x53f1cd,_0x184317,_0x3f9956,_0x26d040,_0x6aec0,_0x3fc7ae,_0x116b9f,_0x2abcd4,_0x13a368,_0x2dd116,_0x2b426c,_0xa8c85b,_0x386c76,_0x2de7d2,_0x333572,_0x2c79d7,_0x5f224d,_0x52f894){'use strict';const _0x3db0e4=_0x4227;var _0xe93974=Object[_0x3db0e4(0x197)],_0x376bcf=(_0x455d85,_0x581e6c,_0x383223)=>_0x581e6c in _0x455d85?_0xe93974(_0x455d85,_0x581e6c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x383223}):_0x455d85[_0x581e6c]=_0x383223,_0x442022=(_0x374301,_0x2b8340,_0x42e02b)=>_0x376bcf(_0x374301,typeof _0x2b8340!=_0x3db0e4(0x3af)?_0x2b8340+'':_0x2b8340,_0x42e02b),_0xf22670=function(){const _0x105c81=_0x3db0e4;return _0xf22670=Object[_0x105c81(0x15c)]||function(_0x24166e){const _0x18d755=_0x105c81;for(var _0xe17cf8,_0x441ba2=0x1,_0xea10c4=arguments[_0x18d755(0xf8)];_0x441ba2<_0xea10c4;_0x441ba2++){_0xe17cf8=arguments[_0x441ba2];for(var _0x22cafc in _0xe17cf8)Object[_0x18d755(0x187)][_0x18d755(0x26d)][_0x18d755(0x180)](_0xe17cf8,_0x22cafc)&&(_0x24166e[_0x22cafc]=_0xe17cf8[_0x22cafc]);}return _0x24166e;},_0xf22670['apply'](this,arguments);},_0x4d4032=function(_0x2d09ab,_0x11215e){const _0x396c14=_0x3db0e4;var _0xf521c3={};for(var _0x25b9ab in _0x2d09ab)Object['prototype'][_0x396c14(0x26d)][_0x396c14(0x180)](_0x2d09ab,_0x25b9ab)&&_0x11215e[_0x396c14(0x329)](_0x25b9ab)<0x0&&(_0xf521c3[_0x25b9ab]=_0x2d09ab[_0x25b9ab]);if(_0x2d09ab!=null&&typeof Object[_0x396c14(0x331)]==_0x396c14(0x1f5)){for(var _0x44bcd3=0x0,_0x25b9ab=Object[_0x396c14(0x331)](_0x2d09ab);_0x44bcd3<_0x25b9ab[_0x396c14(0xf8)];_0x44bcd3++)_0x11215e[_0x396c14(0x329)](_0x25b9ab[_0x44bcd3])<0x0&&Object[_0x396c14(0x187)][_0x396c14(0x265)][_0x396c14(0x180)](_0x2d09ab,_0x25b9ab[_0x44bcd3])&&(_0xf521c3[_0x25b9ab[_0x44bcd3]]=_0x2d09ab[_0x25b9ab[_0x44bcd3]]);}return _0xf521c3;},_0x466f9f=_0x116b9f[_0x3db0e4(0x3a1)](function(_0x23f60c,_0x1f4882){const _0x53e675=_0x3db0e4;var _0x8018a=_0x23f60c[_0x53e675(0x202)],_0x2c5df1=_0x23f60c['id'],_0x166e99=_0x23f60c['className'],_0x2331df=_0x23f60c[_0x53e675(0x15e)],_0xefa2f0=_0x4d4032(_0x23f60c,[_0x53e675(0x202),'id',_0x53e675(0x1f6),_0x53e675(0x15e)]),_0x1bee0f='univerjs-icon\x20univerjs-icon-'[_0x53e675(0x247)](_0x2c5df1,'\x20')[_0x53e675(0x247)](_0x166e99||'')['trim'](),_0x58bbc3=_0x116b9f[_0x53e675(0x27f)]('_'[_0x53e675(0x247)](_0x5260be()));return _0x539839(_0x8018a,''[_0x53e675(0x247)](_0x2c5df1),{'defIds':_0x8018a[_0x53e675(0x33d)],'idSuffix':_0x58bbc3[_0x53e675(0x3b2)]},_0xf22670({'ref':_0x1f4882,'className':_0x1bee0f},_0xefa2f0),_0x2331df);});function _0x539839(_0x371c19,_0x57a6be,_0x59c329,_0x4c07cf,_0x2d5534){const _0x27bbf9=_0x3db0e4;return _0x116b9f[_0x27bbf9(0x256)](_0x371c19[_0x27bbf9(0x227)],_0xf22670(_0xf22670({'key':_0x57a6be},_0xc7783(_0x371c19,_0x59c329,_0x2d5534)),_0x4c07cf),(_0x3bc023(_0x371c19,_0x59c329)[_0x27bbf9(0x2b2)]||[])[_0x27bbf9(0x3be)](function(_0x297be,_0x2c3be3){const _0x496fc7=_0x27bbf9;return _0x539839(_0x297be,''[_0x496fc7(0x247)](_0x57a6be,'-')[_0x496fc7(0x247)](_0x371c19['tag'],'-')[_0x496fc7(0x247)](_0x2c3be3),_0x59c329,void 0x0,_0x2d5534);}));}function _0xc7783(_0x445faf,_0xbe4f30,_0x5978e1){const _0x37fb95=_0x3db0e4;var _0x294504=_0xf22670({},_0x445faf[_0x37fb95(0x3bd)]);_0x5978e1!=null&&_0x5978e1[_0x37fb95(0x336)]&&_0x294504[_0x37fb95(0x126)]===_0x37fb95(0x336)&&(_0x294504[_0x37fb95(0x126)]=_0x5978e1[_0x37fb95(0x336)]),_0x445faf[_0x37fb95(0x227)]===_0x37fb95(0x28c)&&_0x294504['id']&&(_0x294504['id']=_0x294504['id']+_0xbe4f30[_0x37fb95(0x1c2)]),Object['entries'](_0x294504)[_0x37fb95(0x29f)](function(_0x110671){const _0x4d5a6a=_0x37fb95;var _0x2b1b02=_0x110671[0x0],_0x58f3f3=_0x110671[0x1];_0x2b1b02===_0x4d5a6a(0x28c)&&typeof _0x58f3f3==_0x4d5a6a(0x283)&&(_0x294504[_0x2b1b02]=_0x58f3f3[_0x4d5a6a(0x23b)](/url\(#(.*)\)/,_0x4d5a6a(0x2b4)[_0x4d5a6a(0x247)](_0xbe4f30['idSuffix'],')')));});var _0x3da2a4=_0xbe4f30[_0x37fb95(0x33d)];return!_0x3da2a4||_0x3da2a4[_0x37fb95(0xf8)]===0x0||(_0x445faf['tag']===_0x37fb95(0x332)&&_0x294504[_0x37fb95(0x27e)]&&(_0x294504[_0x37fb95(0x27e)]=_0x294504[_0x37fb95(0x27e)]+_0xbe4f30['idSuffix']),Object[_0x37fb95(0x322)](_0x294504)[_0x37fb95(0x29f)](function(_0x3c55b9){const _0x202528=_0x37fb95;var _0x49eabc=_0x3c55b9[0x0],_0x569a53=_0x3c55b9[0x1];typeof _0x569a53=='string'&&(_0x294504[_0x49eabc]=_0x569a53[_0x202528(0x23b)](/url\(#(.*)\)/,'url(#$1'['concat'](_0xbe4f30[_0x202528(0x1c2)],')')));})),_0x294504;}function _0x3bc023(_0x2c92c1,_0x44c14b){const _0x3c208a=_0x3db0e4;var _0x340d0a,_0x3dc3b3=_0x44c14b[_0x3c208a(0x33d)];return!_0x3dc3b3||_0x3dc3b3[_0x3c208a(0xf8)]===0x0?_0x2c92c1:_0x2c92c1[_0x3c208a(0x227)]==='defs'&&(!((_0x340d0a=_0x2c92c1[_0x3c208a(0x2b2)])===null||_0x340d0a===void 0x0)&&_0x340d0a['length'])?_0xf22670(_0xf22670({},_0x2c92c1),{'children':_0x2c92c1[_0x3c208a(0x2b2)][_0x3c208a(0x3be)](function(_0x4245ad){const _0x5495ef=_0x3c208a;return typeof _0x4245ad[_0x5495ef(0x3bd)]['id']=='string'&&_0x3dc3b3&&_0x3dc3b3[_0x5495ef(0x357)](_0x4245ad['attrs']['id'])?_0xf22670(_0xf22670({},_0x4245ad),{'attrs':_0xf22670(_0xf22670({},_0x4245ad['attrs']),{'id':_0x4245ad[_0x5495ef(0x3bd)]['id']+_0x44c14b[_0x5495ef(0x1c2)]})}):_0x4245ad;})}):_0x2c92c1;}function _0x5260be(){const _0xe47782=_0x3db0e4;return Math[_0xe47782(0x2a1)]()[_0xe47782(0x14a)](0x24)['substring'](0x2,0x8);}_0x466f9f['displayName']='UniverIcon';var _0x5c938e={'tag':_0x3db0e4(0x2be),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3db0e4(0x188),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x3db0e4(0x10f)},'children':[{'tag':'g','attrs':{'clipPath':_0x3db0e4(0x2c6)},'children':[{'tag':_0x3db0e4(0xf5),'attrs':{'stroke':_0x3db0e4(0x37d),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x3db0e4(0x372),'strokeLinejoin':_0x3db0e4(0x372),'strokeWidth':1.2}}]},{'tag':_0x3db0e4(0x1f8),'attrs':{},'children':[{'tag':_0x3db0e4(0x152),'attrs':{'id':_0x3db0e4(0x13a)},'children':[{'tag':'path','attrs':{'fill':_0x3db0e4(0x186),'d':_0x3db0e4(0x18f)}}]}]}],'defIds':[_0x3db0e4(0x13a)]},_0x2382d7=_0x116b9f[_0x3db0e4(0x3a1)](function(_0x483f2d,_0x199242){const _0x4d6ff1=_0x3db0e4;return _0x116b9f[_0x4d6ff1(0x256)](_0x466f9f,Object[_0x4d6ff1(0x15c)]({},_0x483f2d,{'id':'off-line-icon','ref':_0x199242,'icon':_0x5c938e}));});_0x2382d7[_0x3db0e4(0x330)]='OffLineIcon';var _0x242c52={'tag':_0x3db0e4(0x2be),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x3db0e4(0x10f),'height':_0x3db0e4(0x10f)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x3db0e4(0xf5),'attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':'round','strokeLinejoin':_0x3db0e4(0x372),'strokeWidth':1.2}}]},{'tag':_0x3db0e4(0x1f8),'attrs':{},'children':[{'tag':_0x3db0e4(0x152),'attrs':{'id':_0x3db0e4(0x1c8)},'children':[{'tag':_0x3db0e4(0xf5),'attrs':{'fill':_0x3db0e4(0x186),'d':_0x3db0e4(0x18f),'transform':_0x3db0e4(0x319)}}]}]}],'defIds':[_0x3db0e4(0x1c8)]},_0x137c00=_0x116b9f[_0x3db0e4(0x3a1)](function(_0x3c8641,_0x3931a2){const _0x173e43=_0x3db0e4;return _0x116b9f['createElement'](_0x466f9f,Object[_0x173e43(0x15c)]({},_0x3c8641,{'id':_0x173e43(0x10e),'ref':_0x3931a2,'icon':_0x242c52}));});_0x137c00[_0x3db0e4(0x330)]=_0x3db0e4(0x3bc);function _0x3547fe(_0x4dc4e2){const _0x347b84=_0x3db0e4;switch(_0x4dc4e2){case _0x184317[_0x347b84(0x371)][_0x347b84(0x342)]:return'collabStatus.offline';case _0x184317['CollaborationStatus']['CONFLICT']:return _0x347b84(0x272);case _0x184317[_0x347b84(0x371)][_0x347b84(0x2a8)]:return _0x347b84(0x2d0);case _0x184317[_0x347b84(0x371)]['NOT_COLLAB']:return _0x347b84(0x2f4);case _0x184317['CollaborationStatus'][_0x347b84(0x2d6)]:case _0x184317[_0x347b84(0x371)][_0x347b84(0x167)]:return _0x347b84(0x304);case _0x184317[_0x347b84(0x371)][_0x347b84(0x21f)]:case _0x184317[_0x347b84(0x371)]['PENDING']:return _0x347b84(0x160);}}function _0x582d7e(_0x142c26){const _0x434ba3=_0x3db0e4,{status$:_0x53c491}=_0x142c26,_0x5887a3=_0x26d040['useObservable'](_0x53c491,_0x184317[_0x434ba3(0x371)][_0x434ba3(0x11b)]),_0x2ff1ec=_0x26d040[_0x434ba3(0x192)](_0x3f9956[_0x434ba3(0x39e)]),_0x17cec2=_0x26d040['useDependency'](_0x184317['CollaborationSessionService']),_0x16f2a5=_0x5887a3!==_0x184317['CollaborationStatus'][_0x434ba3(0x342)],_0x15f98d=_0x2ff1ec['t'](_0x3547fe(_0x5887a3)),_0x35b015=_0x16f2a5?_0x53f1cd['jsx'](_0x137c00,{}):_0x53f1cd[_0x434ba3(0x2fc)](_0x2382d7,{}),_0x2937a7=_0x116b9f[_0x434ba3(0x1fc)](()=>{const _0x119dab=_0x434ba3;_0x16f2a5||_0x17cec2[_0x119dab(0x2e8)]();},[_0x16f2a5,_0x17cec2]);function _0x4a71b7(){const _0x43bdf3=_0x434ba3;return _0x53f1cd[_0x43bdf3(0x1f4)]('div',{'className':'univer-flex\x20univer-items-center','onClick':_0x2937a7,'children':[_0x53f1cd['jsx'](_0x43bdf3(0x162),{'className':_0x3fc7ae['clsx'](_0x43bdf3(0x2c0),{'univer-text-green-500':_0x16f2a5,'univer-text-red-500':!_0x16f2a5}),'children':_0x35b015}),_0x53f1cd[_0x43bdf3(0x2fc)](_0x43bdf3(0x162),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x15f98d})]});}return _0x16f2a5?_0x4a71b7():_0x53f1cd['jsx'](_0x3fc7ae[_0x434ba3(0x10c)],{'title':_0x2ff1ec['t']('collab-client.tooltip.reconnect'),'children':_0x4a71b7()});}var _0x3bf36f=Object['getOwnPropertyDescriptor'],_0x6324a6=(_0x2dc49d,_0x23a36f,_0x484443,_0x443d87)=>{const _0x5a1cde=_0x3db0e4;for(var _0x31c24=_0x443d87>0x1?void 0x0:_0x443d87?_0x3bf36f(_0x23a36f,_0x484443):_0x23a36f,_0x399399=_0x2dc49d[_0x5a1cde(0xf8)]-0x1,_0x509525;_0x399399>=0x0;_0x399399--)(_0x509525=_0x2dc49d[_0x399399])&&(_0x31c24=_0x509525(_0x31c24)||_0x31c24);return _0x31c24;},_0x2542c5=(_0x586221,_0x2f1e8e)=>(_0x100e77,_0x575832)=>_0x2f1e8e(_0x100e77,_0x575832,_0x586221);_0x4205ba['DesktopCollaborationStatusDisplayController']=class extends _0x3f9956['Disposable']{constructor(_0x30a5d5,_0x29b97c,_0x341bea,_0x43fa3f){const _0x30285d=_0x3db0e4;super(),_0x442022(this,_0x30285d(0x1f3),new _0x6aec0[(_0x30285d(0x154))](_0x184317['CollaborationStatus'][_0x30285d(0x11b)])),(this[_0x30285d(0x205)]=_0x30a5d5,this['_injector']=_0x29b97c,this['_collaborationController']=_0x341bea,this[_0x30285d(0x3bf)]=_0x43fa3f,this[_0x30285d(0x1e2)](),this[_0x30285d(0x218)]());}[_0x3db0e4(0x218)](){const _0x3db3c0=_0x3db0e4;this[_0x3db3c0(0x20e)](this[_0x3db3c0(0x205)][_0x3db3c0(0x20f)][_0x3db3c0(0xf7)](_0x6aec0['switchMap'](()=>{const _0x1bd2df=_0x3db3c0,_0x2ffa3c=this[_0x1bd2df(0x205)][_0x1bd2df(0x230)]();return _0x2ffa3c?this['_collaborationController'][_0x1bd2df(0x1c3)](_0x2ffa3c[_0x1bd2df(0x3aa)]()):_0x6aec0['of'](null);}),_0x6aec0[_0x3db3c0(0x2dc)](_0x1913f1=>_0x1913f1?_0x1913f1[_0x3db3c0(0x36a)]:_0x6aec0['of'](_0x184317['CollaborationStatus']['NOT_COLLAB'])))[_0x3db3c0(0x29b)](_0x44c753=>{this['_status$']['next'](_0x44c753);}));}['_initStatusComponent'](){const _0x3534b4=_0x3db0e4;this[_0x3534b4(0x20e)](this[_0x3534b4(0x3bf)][_0x3534b4(0x194)](_0x26d040[_0x3534b4(0x362)][_0x3534b4(0x1ff)],()=>_0x26d040[_0x3534b4(0x2ab)](_0xb15acc({'status$':this[_0x3534b4(0x1f3)][_0x3534b4(0x244)]()}),this[_0x3534b4(0x15f)])));}},_0x4205ba[_0x3db0e4(0x171)]=_0x6324a6([_0x2542c5(0x0,_0x3f9956[_0x3db0e4(0x264)]),_0x2542c5(0x1,_0x3f9956[_0x3db0e4(0x302)](_0x3f9956[_0x3db0e4(0x39d)])),_0x2542c5(0x2,_0x3f9956[_0x3db0e4(0x302)](_0x184317[_0x3db0e4(0x206)])),_0x2542c5(0x3,_0x26d040[_0x3db0e4(0x209)])],_0x4205ba['DesktopCollaborationStatusDisplayController']);function _0xb15acc(_0x32f160){const {status$:_0x263112}=_0x32f160;return function(){return _0x53f1cd['jsx'](_0x582d7e,{'status$':_0x263112});};}const _0x3958fd=_0x3f9956[_0x3db0e4(0x172)]('uni.network.url-service');var _0x24d530=Object['getOwnPropertyDescriptor'],_0xc0039e=(_0x3ae61c,_0x3ef0be,_0x27308a,_0x21e323)=>{const _0x2402d6=_0x3db0e4;for(var _0x28c703=_0x21e323>0x1?void 0x0:_0x21e323?_0x24d530(_0x3ef0be,_0x27308a):_0x3ef0be,_0x3e1882=_0x3ae61c[_0x2402d6(0xf8)]-0x1,_0x370656;_0x3e1882>=0x0;_0x3e1882--)(_0x370656=_0x3ae61c[_0x3e1882])&&(_0x28c703=_0x370656(_0x28c703)||_0x28c703);return _0x28c703;},_0x52771d=(_0x125404,_0x1fe3c6)=>(_0x43d508,_0x1fdccc)=>_0x1fe3c6(_0x43d508,_0x1fdccc,_0x125404);_0x4205ba['CollaborationDataLoaderController']=class extends _0x3f9956[_0x3db0e4(0x17f)]{constructor(_0x12d508,_0x1ca77a,_0x456d2e,_0x5d639e,_0x432bb0){const _0x25b87b=_0x3db0e4;super(),this[_0x25b87b(0x1aa)]=_0x12d508,this[_0x25b87b(0x237)]=_0x1ca77a,this['_commandService']=_0x456d2e,this[_0x25b87b(0x2f3)]=_0x5d639e,_0x432bb0?_0x432bb0==null||_0x432bb0[_0x25b87b(0x20c)]()[_0x25b87b(0x354)](()=>this[_0x25b87b(0x18a)]()):(this['_logService'][_0x25b87b(0x1cc)](_0x25b87b(0x1ee),_0x25b87b(0x2d3)),this[_0x25b87b(0x18a)]());}async['_init'](){const _0x693ec=_0x3db0e4,_0x3c8d30=this['_urlService']['getParam'](_0x693ec(0x10d)),_0x54ad5d=this[_0x693ec(0x1aa)][_0x693ec(0x3a4)](_0x693ec(0x3a0)),_0x3968f7=this[_0x693ec(0x1aa)]['getParam'](_0x693ec(0x16b));if(!_0x3c8d30||!_0x54ad5d){this[_0x693ec(0x237)][_0x693ec(0x1cc)](_0x693ec(0x1ee),_0x693ec(0x1a1));return;}const _0x549cd9=await this[_0x693ec(0x2f3)][_0x693ec(0x3a7)](_0x3c8d30,Number(_0x54ad5d),_0x3968f7);_0x549cd9&&_0x549cd9 instanceof _0x3f9956[_0x693ec(0x334)]&&this[_0x693ec(0x39f)](_0x549cd9);}async[_0x3db0e4(0x39f)](_0x15c9ae){const _0x250253=_0x3db0e4;await this[_0x250253(0x149)](_0x15c9ae),_0x15c9ae[_0x250253(0x1ef)][_0x250253(0xf7)](_0x6aec0[_0x250253(0x277)](this['dispose$']))[_0x250253(0x29b)](_0x15e911=>{const _0x509f69=_0x250253;_0x15e911&&this[_0x509f69(0x2ac)](_0x15e911);}),this[_0x250253(0x1aa)][_0x250253(0x25f)]['pipe'](_0x6aec0[_0x250253(0x277)](this[_0x250253(0x107)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x15c9ae));}[_0x3db0e4(0x2ac)](_0x8b76c8,_0x266645=!0x1){const _0x19bee8=_0x3db0e4,_0x527b43=this['_urlService'][_0x19bee8(0x3a4)](_0x19bee8(0x16b));_0x8b76c8[_0x19bee8(0x1db)]()!==_0x527b43&&this['_urlService']['setParam'](_0x19bee8(0x16b),_0x8b76c8[_0x19bee8(0x1db)](),_0x266645);}async[_0x3db0e4(0x149)](_0x890766){const _0xb5a9e0=_0x3db0e4;var _0x7ed54e;const _0x2e8738=this[_0xb5a9e0(0x1aa)][_0xb5a9e0(0x3a4)]('subunit');if(!_0x2e8738||!_0x890766[_0xb5a9e0(0x36f)](_0x2e8738)){const _0xe8a332=_0x890766[_0xb5a9e0(0x146)]()[0x0],_0x430a70=_0x890766[_0xb5a9e0(0x36f)](_0xe8a332);if(!_0x430a70)return;this['_updateURLWithCurrentState'](_0x430a70,!0x0),await this['_commandService']['executeCommand'](_0x13a368[_0xb5a9e0(0x17a)]['id'],{'unitId':_0x890766[_0xb5a9e0(0x3aa)](),'subUnitId':_0xe8a332});return;}((_0x7ed54e=_0x890766[_0xb5a9e0(0x1bd)]())==null?void 0x0:_0x7ed54e[_0xb5a9e0(0x1db)]())!==_0x2e8738&&await this[_0xb5a9e0(0x278)][_0xb5a9e0(0x3ad)](_0x13a368[_0xb5a9e0(0x17a)]['id'],{'unitId':_0x890766['getUnitId'](),'subUnitId':_0x2e8738});}},_0x4205ba[_0x3db0e4(0x309)]=_0xc0039e([_0x52771d(0x0,_0x3958fd),_0x52771d(0x1,_0x3f9956['ILogService']),_0x52771d(0x2,_0x3f9956[_0x3db0e4(0x30c)]),_0x52771d(0x3,_0x3f9956['Inject'](_0x184317[_0x3db0e4(0x35f)])),_0x52771d(0x4,_0x3f9956['Optional'](_0x2abcd4[_0x3db0e4(0x3c4)]))],_0x4205ba[_0x3db0e4(0x309)]);var _0xa65399=Object[_0x3db0e4(0x2d1)],_0x1109ce=(_0x11d232,_0x236cda,_0x36d611,_0x3de889)=>{for(var _0x441714=_0x3de889>0x1?void 0x0:_0x3de889?_0xa65399(_0x236cda,_0x36d611):_0x236cda,_0x4ba979=_0x11d232['length']-0x1,_0xacff6a;_0x4ba979>=0x0;_0x4ba979--)(_0xacff6a=_0x11d232[_0x4ba979])&&(_0x441714=_0xacff6a(_0x441714)||_0x441714);return _0x441714;},_0x27aa5e=(_0x3a3224,_0x581c76)=>(_0x270c5a,_0x55c33c)=>_0x581c76(_0x270c5a,_0x55c33c,_0x3a3224);let _0x5c2573=class extends _0x3f9956[_0x3db0e4(0x17f)]{constructor(_0x3a9a16,_0x2504cb){const _0x17d5b0=_0x3db0e4;super(),this[_0x17d5b0(0x1fe)]=_0x3a9a16,this[_0x17d5b0(0x1fa)]=_0x2504cb,this[_0x17d5b0(0x18a)]();}['_init'](){const _0x255aeb=_0x3db0e4,_0x5c1740=this;this[_0x255aeb(0x20e)](this['_docClipboardService'][_0x255aeb(0x16f)]({'onBeforePasteImage':async _0x41ae50=>{const _0x2d2933=_0x255aeb,_0x261486=await _0x5c1740[_0x2d2933(0x1fa)][_0x2d2933(0x27d)](_0x41ae50);return _0x261486?{'source':_0x261486[_0x2d2933(0x2b5)],'imageSourceType':_0x261486[_0x2d2933(0x3c7)]}:null;}}));}};_0x5c2573=_0x1109ce([_0x27aa5e(0x0,_0xa8c85b['IDocClipboardService']),_0x27aa5e(0x1,_0x386c76[_0x3db0e4(0x15a)])],_0x5c2573);const _0xe9e8c5=[_0x3db0e4(0x375),'jiqing.500','green.600',_0x3db0e4(0x2f8),_0x3db0e4(0x19c),_0x3db0e4(0x340)];class _0x5cb38a extends _0x3f9956['Disposable']{constructor(){const _0x1df49c=_0x3db0e4;super(...arguments),_0x442022(this,'_assignedColors',new Map()),_0x442022(this,_0x1df49c(0x164),0x0);}[_0x3db0e4(0x363)](_0x445c75){const _0x2ac207=_0x3db0e4;if(this[_0x2ac207(0x3a3)][_0x2ac207(0x3a8)](_0x445c75))return this['_assignedColors'][_0x2ac207(0x392)](_0x445c75);const _0x516fcd=_0xe9e8c5[this[_0x2ac207(0x164)]];return this[_0x2ac207(0x164)]=(this[_0x2ac207(0x164)]+0x1)%_0xe9e8c5[_0x2ac207(0xf8)],this[_0x2ac207(0x3a3)][_0x2ac207(0x26f)](_0x445c75,_0x516fcd),_0x516fcd;}}function _0x4035a4(_0x201123){let _0x5ea915='';for(const _0x25ee08 of _0x201123){const {startOffset:_0x20b3d6,endOffset:_0x36edc8,isActive:_0x59a922,rangeType:_0x540c02,segmentId:_0x5de7b1,segmentPage:_0x4f8987}=_0x25ee08;_0x5ea915['length']&&(_0x5ea915+=','),_0x5ea915+=_0x20b3d6+':'+_0x36edc8+':'+(_0x59a922?'1':'0')+':'+_0x540c02+':'+_0x5de7b1+':'+_0x4f8987;}return _0x5ea915;}function _0xe72dbf(_0x70e774){const _0x131a96=_0x3db0e4,_0x51b934=_0x70e774[_0x131a96(0x243)](','),_0x3b0aab=[];for(const _0x2f255f of _0x51b934){const [_0x4a2a9c,_0x5cf604,_0x447f79,_0x2d06a7,_0x3b756d,_0x1fa0ad]=_0x2f255f[_0x131a96(0x243)](':');_0x3b0aab[_0x131a96(0x1ae)]({'startOffset':Number(_0x4a2a9c),'endOffset':Number(_0x5cf604),'collapsed':_0x4a2a9c===_0x5cf604,'isActive':_0x447f79==='1','rangeType':_0x2d06a7===_0x3f9956['DOC_RANGE_TYPE'][_0x131a96(0x355)]?_0x3f9956[_0x131a96(0x37c)][_0x131a96(0x355)]:_0x3f9956[_0x131a96(0x37c)][_0x131a96(0x1b6)],'segmentId':typeof _0x3b756d=='string'?String(_0x3b756d):'','segmentPage':Number(_0x1fa0ad!=null?_0x1fa0ad:-0x1)});}return _0x3b0aab[_0x131a96(0x12e)](_0x9ce161=>_0x9ce161[_0x131a96(0x22b)])||(_0x3b0aab[0x0]['isActive']=!0x0),_0x3b0aab;}class _0x5e3cb6 extends _0x3f9956[_0x3db0e4(0x17f)]{constructor(){const _0x383f14=_0x3db0e4;super(...arguments),_0x442022(this,_0x383f14(0x10b),new _0x6aec0[(_0x383f14(0x154))](null)),_0x442022(this,'collabCursorState$',this[_0x383f14(0x10b)][_0x383f14(0x244)]());}[_0x3db0e4(0x1a4)](_0x13d5e1){const _0x2b53f6=_0x3db0e4,{unitID:_0x150162,memberID:_0x2279e6,textRanges:_0x462372}=_0x13d5e1,_0x43c7c7=_0x4035a4(_0x462372);if(_0x43c7c7==='')return;const _0x5f358d={'unitID':_0x150162,'memberID':_0x2279e6,'selection':_0x43c7c7};this['_collabCursorState$'][_0x2b53f6(0x360)](_0x5f358d);}}var _0x4d6fca=Object[_0x3db0e4(0x2d1)],_0x3ed3f5=(_0x29ad26,_0x3a0bd2,_0x455a0d,_0x7dfe70)=>{for(var _0x4b40a4=_0x7dfe70>0x1?void 0x0:_0x7dfe70?_0x4d6fca(_0x3a0bd2,_0x455a0d):_0x3a0bd2,_0x560724=_0x29ad26['length']-0x1,_0x182ec9;_0x560724>=0x0;_0x560724--)(_0x182ec9=_0x29ad26[_0x560724])&&(_0x4b40a4=_0x182ec9(_0x4b40a4)||_0x4b40a4);return _0x4b40a4;},_0xfcec48=(_0x5bc2cd,_0x24d2e8)=>(_0x5e45c1,_0x981494)=>_0x24d2e8(_0x5e45c1,_0x981494,_0x5bc2cd);const _0xaeb3f8=0x12c,_0x33a3bc=0x64;let _0x654d15=class extends _0x3f9956['RxDisposable']{constructor(_0x395097,_0x937b67,_0x434cca,_0x2c3491,_0x3919c7,_0x56894c,_0x6413c7,_0x1e1f31,_0x2e9e6){const _0x8d889a=_0x3db0e4;super(),_0x442022(this,_0x8d889a(0x2fb),!0x1),_0x442022(this,_0x8d889a(0x18a),!0x1),_0x442022(this,'_cursorInfo$',new _0x6aec0[(_0x8d889a(0x154))](new Map())),_0x442022(this,_0x8d889a(0x19b),this[_0x8d889a(0xf4)]['asObservable']()),_0x442022(this,_0x8d889a(0xf0),new _0x6aec0[(_0x8d889a(0x154))]([])),_0x442022(this,_0x8d889a(0x2f7),this['_roomMembers$'][_0x8d889a(0xf7)](_0x6aec0[_0x8d889a(0x2e3)](_0xaeb3f8))),_0x442022(this,_0x8d889a(0x1b2),_0x3f9956[_0x8d889a(0x145)](_0x17ca1e=>{const _0x1bdb57=_0x8d889a,_0x35810c={'eventID':_0x2de7d2[_0x1bdb57(0x389)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x1bdb57(0x297)],'memberID':this[_0x1bdb57(0x31f)][_0x1bdb57(0x1d6)](),'selection':_0x4035a4(_0x17ca1e)}};this[_0x1bdb57(0x31f)][_0x1bdb57(0x112)](_0x35810c,this['unitID']);},_0x33a3bc)),(this[_0x8d889a(0x297)]=_0x395097,this[_0x8d889a(0x31f)]=_0x937b67,this['_injector']=_0x434cca,this[_0x8d889a(0x1c5)]=_0x2c3491,this['_memberService']=_0x3919c7,this[_0x8d889a(0x390)]=_0x56894c,this[_0x8d889a(0x2da)]=_0x6413c7,this['_univerInstanceService']=_0x1e1f31,this[_0x8d889a(0x278)]=_0x2e9e6);}get['cursorInfo'](){const _0x208db0=_0x3db0e4;return this[_0x208db0(0xf4)][_0x208db0(0x1d4)]();}get[_0x3db0e4(0x324)](){const _0x484ffd=_0x3db0e4;return this[_0x484ffd(0xf0)][_0x484ffd(0x1d4)]();}[_0x3db0e4(0x14f)](){const _0x59e43a=_0x3db0e4;super[_0x59e43a(0x14f)](),this['_cursorInfo$'][_0x59e43a(0x360)](new Map()),this[_0x59e43a(0xf4)]['complete'](),this[_0x59e43a(0xf0)][_0x59e43a(0x360)]([]),this[_0x59e43a(0xf0)]['complete']();}[_0x3db0e4(0x106)](){const _0x3f478a=_0x3db0e4;this[_0x3f478a(0x18a)]||(this['_init']=!0x0,this[_0x3f478a(0x31f)][_0x3f478a(0x306)][_0x3f478a(0xf7)](_0x6aec0[_0x3f478a(0x277)](this[_0x3f478a(0x107)]))[_0x3f478a(0x29b)](_0x5e2214=>{const _0x4edd40=_0x3f478a;_0x5e2214===_0x184317[_0x4edd40(0x2bf)][_0x4edd40(0x143)]?this['_toggleOnline']():this[_0x4edd40(0x2c4)]();}),this[_0x3f478a(0x31f)][_0x3f478a(0x248)]['pipe'](_0x6aec0['takeUntil'](this[_0x3f478a(0x107)]))[_0x3f478a(0x29b)](_0x4e1474=>{const _0x50cce7=_0x3f478a,_0x491ee4=_0x4e1474[_0x50cce7(0x157)];_0x491ee4===_0x2de7d2[_0x50cce7(0x389)][_0x50cce7(0x140)]&&this['_onCursorUpdate'](_0x4e1474),_0x491ee4===_0x2de7d2[_0x50cce7(0x389)][_0x50cce7(0x120)]&&this[_0x50cce7(0x33b)](_0x4e1474);}),this[_0x3f478a(0x20e)](this['_commandService'][_0x3f478a(0x14d)](_0x4af4dd=>{const _0x9dfc63=_0x3f478a,_0x3e3a42=_0x4af4dd['params'];_0x3e3a42!=null&&this[_0x9dfc63(0x2fb)]&&_0x4af4dd['id']===_0x333572['SetTextSelectionsOperation']['id']&&_0x3e3a42[_0x9dfc63(0x2bc)]===this[_0x9dfc63(0x297)]&&_0x3e3a42[_0x9dfc63(0x11e)]===!0x1&&_0x3e3a42[_0x9dfc63(0x2c8)][_0x9dfc63(0xf8)]>0x0&&this[_0x9dfc63(0x1b2)](_0x3e3a42[_0x9dfc63(0x2c8)]);})),this[_0x3f478a(0x390)]['collabCursorState$']['pipe'](_0x6aec0[_0x3f478a(0x277)](this[_0x3f478a(0x107)]))['subscribe'](_0x861ad8=>{const _0x7ff392=_0x3f478a;if((_0x861ad8==null?void 0x0:_0x861ad8[_0x7ff392(0x297)])!==this[_0x7ff392(0x297)])return;const _0x11ef15={'eventID':_0x2de7d2[_0x7ff392(0x389)][_0x7ff392(0x140)],'data':_0x861ad8};this['_onCursorUpdate'](_0x11ef15);}),this[_0x3f478a(0x20e)](this[_0x3f478a(0x278)]['onCommandExecuted'](_0x2f34d0=>{const _0x18b43d=_0x3f478a;if(_0x2f34d0[_0x18b43d(0x176)]==null)return;const _0x137ed7=_0x2f34d0[_0x18b43d(0x176)];if(_0x2f34d0['id']!==_0x333572['RichTextEditingMutation']['id']||_0x137ed7[_0x18b43d(0x2bc)]!==this['unitID'])return;const _0x20cbb2={'id':'doc.mutation.rich-text-editing','params':_0x137ed7},_0x179789=this[_0x18b43d(0x2d7)];for(const [_0x29eebe,_0xc335de]of _0x179789){const _0x44ec33={'id':_0x18b43d(0x260),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0xc335de['ranges']}},_0x4788a1=this['_transformService']['transformMutation'](_0x20cbb2,_0x44ec33,!0x1);if(_0x2de7d2[_0x18b43d(0x18d)](_0x4788a1))throw _0x4788a1[_0x18b43d(0x235)];_0x179789[_0x18b43d(0x26f)](_0x29eebe,{..._0xc335de,'ranges':_0x4788a1[_0x18b43d(0x333)][_0x18b43d(0x176)][_0x18b43d(0x2c2)]});}queueMicrotask(()=>{const _0x5998f5=_0x18b43d;this[_0x5998f5(0xf4)][_0x5998f5(0x360)](_0x179789);});})));}[_0x3db0e4(0x129)](_0x5b83ae){const _0x4748ef=_0x3db0e4;var _0x5a84e8,_0x22a8c5;const {memberID:_0x2b4dd9,selection:_0x2d74a5}=_0x5b83ae[_0x4748ef(0xf3)],_0x4fb838=_0xe72dbf(_0x2d74a5),_0x39dd8e=(_0x22a8c5=(_0x5a84e8=this[_0x4748ef(0x195)]['getMember'](this[_0x4748ef(0x297)],_0x2b4dd9))==null?void 0x0:_0x5a84e8['name'])!=null?_0x22a8c5:_0x4748ef(0x148),_0x182300={'color':this[_0x4748ef(0x1c5)][_0x4748ef(0x363)](_0x2b4dd9),'name':_0x39dd8e,'ranges':_0x4fb838},_0xa26863=this['cursorInfo'];_0xa26863[_0x4748ef(0x26f)](_0x2b4dd9,_0x182300),this[_0x4748ef(0xf4)]['next'](_0xa26863);}[_0x3db0e4(0x33b)](_0x49f730){const _0x499c9b=_0x3db0e4,{memberID:_0x3823a7}=_0x49f730[_0x499c9b(0xf3)],_0x584536=this['cursorInfo'];_0x584536[_0x499c9b(0x1ce)](_0x3823a7),this[_0x499c9b(0xf4)]['next'](_0x584536);}[_0x3db0e4(0x34b)](){const _0x20e51b=_0x3db0e4;var _0x3f803e;if(this['_online']=!0x0,((_0x3f803e=this[_0x20e51b(0x205)][_0x20e51b(0x230)]())==null?void 0x0:_0x3f803e['getUnitId']())!==this[_0x20e51b(0x297)])return;const _0x2751f7=this[_0x20e51b(0x15f)][_0x20e51b(0x392)](_0x333572[_0x20e51b(0x29a)])[_0x20e51b(0x1ac)]();Array['isArray'](_0x2751f7)&&_0x2751f7[_0x20e51b(0xf8)]>0x0&&this[_0x20e51b(0x1b2)](_0x2751f7);}[_0x3db0e4(0x2c4)](){const _0x276e72=_0x3db0e4;this[_0x276e72(0x2fb)]=!0x1;}};_0x654d15=_0x3ed3f5([_0xfcec48(0x2,_0x3f9956[_0x3db0e4(0x302)](_0x3f9956[_0x3db0e4(0x39d)])),_0xfcec48(0x3,_0x3f9956['Inject'](_0x5cb38a)),_0xfcec48(0x4,_0x3f9956['Inject'](_0x184317[_0x3db0e4(0x323)])),_0xfcec48(0x5,_0x3f9956['Inject'](_0x5e3cb6)),_0xfcec48(0x6,_0x2de7d2['ITransformService']),_0xfcec48(0x7,_0x3f9956[_0x3db0e4(0x264)]),_0xfcec48(0x8,_0x3f9956[_0x3db0e4(0x30c)])],_0x654d15);var _0x757cd8=Object[_0x3db0e4(0x2d1)],_0x12a958=(_0x33f82f,_0xee74cf,_0xc8a720,_0x4701b4)=>{const _0x241dea=_0x3db0e4;for(var _0x2e9fd2=_0x4701b4>0x1?void 0x0:_0x4701b4?_0x757cd8(_0xee74cf,_0xc8a720):_0xee74cf,_0x2cf10c=_0x33f82f[_0x241dea(0xf8)]-0x1,_0x19954a;_0x2cf10c>=0x0;_0x2cf10c--)(_0x19954a=_0x33f82f[_0x2cf10c])&&(_0x2e9fd2=_0x19954a(_0x2e9fd2)||_0x2e9fd2);return _0x2e9fd2;},_0x865286=(_0x43a21d,_0x2d9f66)=>(_0x5ee647,_0x3208dc)=>_0x2d9f66(_0x5ee647,_0x3208dc,_0x43a21d);const _0x29f938=0x12c,_0x8f6363=0x64,_0x54f247=()=>{let _0x226603=[],_0x46e341=!0x1;return _0x13050c=>{const _0x263b8a=_0x4227;_0x226603[_0x263b8a(0x1ae)](_0x13050c),_0x46e341||(_0x46e341=!0x0,setTimeout(()=>{const _0x391235=_0x263b8a;_0x226603[_0x391235(0x29f)](_0x3be6f4=>_0x3be6f4()),_0x226603=[],_0x46e341=!0x1;}));};};let _0x2209c0=class extends _0x3f9956[_0x3db0e4(0x17f)]{constructor(_0x16fde9,_0x1d292e,_0x1c556c,_0x46752b,_0x366c68,_0x25701f,_0x2f03d3,_0x346e20){const _0x5ba21b=_0x3db0e4;super(),_0x442022(this,_0x5ba21b(0x2fb),!0x1),_0x442022(this,_0x5ba21b(0x18a),!0x1),_0x442022(this,_0x5ba21b(0xf4),new _0x6aec0['BehaviorSubject'](new Map())),_0x442022(this,'cursorInfo$',this[_0x5ba21b(0xf4)]['asObservable']()),_0x442022(this,_0x5ba21b(0xf0),new _0x6aec0['BehaviorSubject']([])),_0x442022(this,_0x5ba21b(0x2f7),this[_0x5ba21b(0xf0)]['pipe'](_0x6aec0[_0x5ba21b(0x2e3)](_0x29f938))),_0x442022(this,_0x5ba21b(0x1b2),_0x3f9956[_0x5ba21b(0x145)]((_0x1a462b,_0x28718a)=>{const _0x55afda=_0x5ba21b,_0x4584df={'eventID':_0x2de7d2[_0x55afda(0x389)][_0x55afda(0x140)],'data':{'unitID':this[_0x55afda(0x297)],'memberID':this[_0x55afda(0x31f)]['getMemberID'](),'selection':_0x2c79d7['serializeRangeWithSheet'](_0x1a462b,_0x28718a[_0x55afda(0x268)])}};this[_0x55afda(0x31f)][_0x55afda(0x112)](_0x4584df,this[_0x55afda(0x297)]);},_0x8f6363)),(this[_0x5ba21b(0x297)]=_0x16fde9,this[_0x5ba21b(0x31f)]=_0x1d292e,this[_0x5ba21b(0x15f)]=_0x1c556c,this[_0x5ba21b(0x1c5)]=_0x46752b,this[_0x5ba21b(0x195)]=_0x366c68,this[_0x5ba21b(0x205)]=_0x25701f,this[_0x5ba21b(0x278)]=_0x2f03d3,this['_refRangeService']=_0x346e20);}get[_0x3db0e4(0x2d7)](){const _0x4d1082=_0x3db0e4;return this[_0x4d1082(0xf4)]['getValue']();}get[_0x3db0e4(0x324)](){const _0x4cd236=_0x3db0e4;return this['_roomMembers$'][_0x4cd236(0x1d4)]();}[_0x3db0e4(0x14f)](){const _0xf12b91=_0x3db0e4;super[_0xf12b91(0x14f)](),this[_0xf12b91(0xf4)][_0xf12b91(0x360)](new Map()),this['_cursorInfo$'][_0xf12b91(0x2ef)](),this[_0xf12b91(0xf0)][_0xf12b91(0x360)]([]),this[_0xf12b91(0xf0)][_0xf12b91(0x2ef)]();}['init'](){const _0x32b27c=_0x3db0e4;this['_init']||(this[_0x32b27c(0x18a)]=!0x0,this['_session'][_0x32b27c(0x306)][_0x32b27c(0xf7)](_0x6aec0[_0x32b27c(0x277)](this[_0x32b27c(0x107)]))[_0x32b27c(0x29b)](_0x512bb4=>{const _0x5918a9=_0x32b27c;_0x512bb4===_0x184317[_0x5918a9(0x2bf)]['ONLINE']?this['_toggleOnline']():this[_0x5918a9(0x2c4)]();}),this[_0x32b27c(0x31f)][_0x32b27c(0x248)][_0x32b27c(0xf7)](_0x6aec0[_0x32b27c(0x277)](this[_0x32b27c(0x107)]))['subscribe'](_0x29b807=>{const _0x599809=_0x32b27c,_0x51a262=_0x29b807[_0x599809(0x157)];_0x51a262===_0x2de7d2['CollaborationEvent'][_0x599809(0x140)]&&this[_0x599809(0x129)](_0x29b807),_0x51a262===_0x2de7d2[_0x599809(0x389)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x29b807);}),this[_0x32b27c(0x1ed)](),this['disposeWithMe'](this[_0x32b27c(0x278)][_0x32b27c(0x14d)](_0x470cd5=>{const _0x76fadb=_0x32b27c;if(this[_0x76fadb(0x2fb)]&&_0x470cd5['id']===_0x13a368[_0x76fadb(0x117)]['id']&&_0x470cd5[_0x76fadb(0x176)]['unitId']===this[_0x76fadb(0x297)]){const _0x1b128e=_0x470cd5[_0x76fadb(0x176)];this['_updateLocalCursor'](_0x1b128e[_0x76fadb(0x151)],_0x1b128e[_0x76fadb(0x184)][0x0]);}})));}['_onCursorUpdate'](_0x431ec9){const _0x5ae103=_0x3db0e4;var _0x1ec14d,_0x158a51;const {memberID:_0x41ac3c,selection:_0x4ca68a}=_0x431ec9[_0x5ae103(0xf3)],{sheetName:_0x61097a,range:_0x32232c}=_0x2c79d7[_0x5ae103(0x39a)](_0x4ca68a),_0x1c847d={'name':(_0x158a51=(_0x1ec14d=this[_0x5ae103(0x195)][_0x5ae103(0x253)](this['unitID'],_0x41ac3c))==null?void 0x0:_0x1ec14d[_0x5ae103(0x17d)])!=null?_0x158a51:_0x5ae103(0x148),'range':this['_getMergeRange'](_0x61097a,_0x32232c),'sheetID':_0x61097a,'color':this[_0x5ae103(0x1c5)]['assignAColorForMemberID'](_0x41ac3c),'selection':_0x4ca68a},_0x59ab22=this['cursorInfo'];_0x59ab22[_0x5ae103(0x26f)](_0x41ac3c,_0x1c847d),this[_0x5ae103(0xf4)][_0x5ae103(0x360)](_0x59ab22);}[_0x3db0e4(0x33b)](_0x59d0bc){const _0x5af454=_0x3db0e4,{memberID:_0x5c8c49}=_0x59d0bc['data'],_0x16ca27=this['cursorInfo'];_0x16ca27[_0x5af454(0x1ce)](_0x5c8c49),this[_0x5af454(0xf4)][_0x5af454(0x360)](_0x16ca27);}[_0x3db0e4(0x292)](_0x33bf00,_0x398ddd){const _0x5df7c1=_0x3db0e4;var _0x5e5665,_0x1ba92e;const _0x4c7b5c=(_0x1ba92e=(_0x5e5665=this[_0x5df7c1(0x205)][_0x5df7c1(0x3b4)](this[_0x5df7c1(0x297)]))==null?void 0x0:_0x5e5665['getSheetBySheetId'](_0x33bf00))==null?void 0x0:_0x1ba92e[_0x5df7c1(0x289)]();return(_0x4c7b5c==null?void 0x0:_0x4c7b5c[_0x5df7c1(0x295)](_0x5393fb=>_0x3f9956[_0x5df7c1(0x251)]['contains'](_0x5393fb,_0x398ddd)))||_0x398ddd;}[_0x3db0e4(0x1ed)](){const _0x50fd80=_0x3db0e4,_0x57e25e=new _0x3f9956[(_0x50fd80(0x30f))](),_0x575cce=_0x54f247(),_0x3d07cb=()=>{const _0x1bac7e=_0x50fd80;_0x57e25e['dispose']();const _0x58b39a=(_0x47eec1,_0x3a2686,_0x521fdd,_0x58ca94)=>{const _0x22415a=_0x4227;let _0x53de5f=[];switch(_0x47eec1['id']){case _0x13a368['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:{_0x53de5f=_0x13a368[_0x22415a(0x173)](_0x47eec1,_0x58ca94);break;}case _0x13a368[_0x22415a(0x288)]['DeleteRangeMoveUpCommandId']:{_0x53de5f=_0x13a368['handleDeleteRangeMoveUp'](_0x47eec1,_0x58ca94);break;}case _0x13a368[_0x22415a(0x288)][_0x22415a(0x37f)]:{_0x53de5f=_0x13a368[_0x22415a(0x135)](_0x47eec1,_0x58ca94);break;}case _0x13a368[_0x22415a(0x288)]['InsertRangeMoveDownCommandId']:{_0x53de5f=_0x13a368['handleInsertRangeMoveDown'](_0x47eec1,_0x58ca94);break;}case _0x13a368[_0x22415a(0x288)][_0x22415a(0x34d)]:{_0x53de5f=_0x13a368[_0x22415a(0x161)](_0x47eec1,_0x58ca94);break;}case _0x13a368[_0x22415a(0x288)][_0x22415a(0x17c)]:{_0x53de5f=_0x13a368['handleInsertRow'](_0x47eec1,_0x58ca94);break;}case _0x13a368[_0x22415a(0x288)]['MoveRangeCommandId']:{_0x53de5f=_0x13a368[_0x22415a(0x396)](_0x47eec1,_0x58ca94);break;}case _0x13a368[_0x22415a(0x288)]['RemoveColCommandId']:{_0x53de5f=_0x13a368[_0x22415a(0x2e5)](_0x47eec1,_0x58ca94);break;}case _0x13a368[_0x22415a(0x288)][_0x22415a(0x346)]:{_0x53de5f=_0x13a368[_0x22415a(0x32e)](_0x47eec1,_0x58ca94);break;}}const _0x73e273=_0x13a368[_0x22415a(0x1f2)](_0x53de5f,_0x58ca94),_0x5c0c70=this[_0x22415a(0x2d7)][_0x22415a(0x392)](_0x3a2686);if(_0x5c0c70&&_0x73e273){const _0x31d778={..._0x5c0c70,'range':_0x73e273};this['cursorInfo'][_0x22415a(0x26f)](_0x3a2686,_0x31d778),_0x575cce(()=>{const _0x5c199b=_0x22415a,_0x4316ec=this[_0x5c199b(0x386)][_0x5c199b(0x141)](_0x73e273,_0x4b99a7=>(_0x4316ec[_0x5c199b(0x14f)](),_0x58b39a(_0x4b99a7,_0x3a2686,_0x521fdd,_0x73e273)));_0x57e25e[_0x5c199b(0x2d8)](_0x4316ec);});}return{'redos':[],'undos':[]};};this[_0x1bac7e(0x2d7)][_0x1bac7e(0x29f)]((_0x5ffd1e,_0x2fa575)=>{const _0x27b6f0=_0x1bac7e,{range:_0x118537,sheetID:_0x59ae2a}=_0x5ffd1e,_0xafcf88=this[_0x27b6f0(0x386)]['registerRefRange'](_0x118537,_0x28d5c7=>(_0xafcf88[_0x27b6f0(0x14f)](),_0x58b39a(_0x28d5c7,_0x2fa575,_0x59ae2a,_0x118537)));_0x57e25e[_0x27b6f0(0x2d8)](_0xafcf88);});};this[_0x50fd80(0x20e)](_0x3f9956[_0x50fd80(0x30e)](this[_0x50fd80(0xf4)][_0x50fd80(0x29b)](()=>{_0x3d07cb();})));}[_0x3db0e4(0x34b)](){const _0x3725b7=_0x3db0e4;var _0x27a537,_0x45d9d5;if(this[_0x3725b7(0x2fb)]=!0x0,((_0x27a537=this['_univerInstanceService'][_0x3725b7(0x230)]())==null?void 0x0:_0x27a537[_0x3725b7(0x3aa)]())!==this[_0x3725b7(0x297)])return;const _0x335bc3=(_0x45d9d5=this[_0x3725b7(0x15f)][_0x3725b7(0x392)](_0x13a368['SheetsSelectionsService'])['getCurrentSelections']())==null?void 0x0:_0x45d9d5[0x0],_0x2ab3f2=this[_0x3725b7(0x205)][_0x3725b7(0x28d)](_0x3f9956[_0x3725b7(0x100)][_0x3725b7(0xff)])[_0x3725b7(0x1bd)]();_0x335bc3&&_0x2ab3f2&&this[_0x3725b7(0x1b2)](_0x2ab3f2[_0x3725b7(0x1db)](),_0x335bc3);}[_0x3db0e4(0x2c4)](){this['_online']=!0x1;}};_0x2209c0=_0x12a958([_0x865286(0x2,_0x3f9956[_0x3db0e4(0x302)](_0x3f9956[_0x3db0e4(0x39d)])),_0x865286(0x3,_0x3f9956['Inject'](_0x5cb38a)),_0x865286(0x4,_0x3f9956[_0x3db0e4(0x302)](_0x184317[_0x3db0e4(0x323)])),_0x865286(0x5,_0x3f9956[_0x3db0e4(0x264)]),_0x865286(0x6,_0x3f9956[_0x3db0e4(0x30c)]),_0x865286(0x7,_0x3f9956[_0x3db0e4(0x302)](_0x13a368[_0x3db0e4(0x35e)]))],_0x2209c0);var _0x26d098=Object[_0x3db0e4(0x2d1)],_0x5bd336=(_0xb464d0,_0x4b8a1d,_0x38b89e,_0x23d180)=>{const _0x158a2e=_0x3db0e4;for(var _0x515d06=_0x23d180>0x1?void 0x0:_0x23d180?_0x26d098(_0x4b8a1d,_0x38b89e):_0x4b8a1d,_0x43de7a=_0xb464d0[_0x158a2e(0xf8)]-0x1,_0x231422;_0x43de7a>=0x0;_0x43de7a--)(_0x231422=_0xb464d0[_0x43de7a])&&(_0x515d06=_0x231422(_0x515d06)||_0x515d06);return _0x515d06;},_0x110cb9=(_0x405cec,_0x9053c7)=>(_0x2770bf,_0x37f82b)=>_0x9053c7(_0x2770bf,_0x37f82b,_0x405cec);let _0x135bf3=class extends _0x3f9956[_0x3db0e4(0x17f)]{constructor(_0x4bf893,_0x4f64a6,_0x50d0fe){const _0x1de7d2=_0x3db0e4;super(),_0x442022(this,_0x1de7d2(0x224),new Map()),_0x442022(this,_0x1de7d2(0x213),new _0x6aec0['Subject']()),(this[_0x1de7d2(0x205)]=_0x4bf893,this[_0x1de7d2(0x15f)]=_0x4f64a6,this['_collabSessionService']=_0x50d0fe,this[_0x1de7d2(0x18a)]());}['dispose'](){const _0x5475fa=_0x3db0e4;super[_0x5475fa(0x14f)](),this[_0x5475fa(0x213)][_0x5475fa(0x2ef)](),this[_0x5475fa(0x224)][_0x5475fa(0x29f)](_0x20ab70=>_0x20ab70[_0x5475fa(0x14f)]());}[_0x3db0e4(0x2e1)](_0xd659a9){const _0x32bf72=_0x3db0e4;return this[_0x32bf72(0x224)][_0x32bf72(0x3a8)](_0xd659a9)?this[_0x32bf72(0x224)][_0x32bf72(0x392)](_0xd659a9)[_0x32bf72(0x19b)]:this['_entityInit$'][_0x32bf72(0xf7)](_0x6aec0[_0x32bf72(0x1ba)](_0x269b1c=>_0x269b1c['unitID']===_0xd659a9),_0x6aec0[_0x32bf72(0x2dc)](_0x355dcf=>_0x355dcf[_0x32bf72(0x19b)]));}['_init'](){const _0x2a1b24=_0x3db0e4;this[_0x2a1b24(0x205)]['getTypeOfUnitAdded$'](_0x3f9956[_0x2a1b24(0x100)]['UNIVER_SHEET'])[_0x2a1b24(0xf7)](_0x6aec0[_0x2a1b24(0x277)](this[_0x2a1b24(0x107)]))['subscribe'](async _0x46acd5=>{const _0x16acda=_0x2a1b24,_0x41ad88=_0x46acd5[_0x16acda(0x3aa)](),_0x5101b1=await this[_0x16acda(0x320)](_0x41ad88);this[_0x16acda(0x213)][_0x16acda(0x360)](_0x5101b1),this[_0x16acda(0x224)][_0x16acda(0x26f)](_0x41ad88,_0x5101b1);}),this[_0x2a1b24(0x205)][_0x2a1b24(0x273)](_0x3f9956['UniverInstanceType'][_0x2a1b24(0x257)])[_0x2a1b24(0xf7)](_0x6aec0['takeUntil'](this['dispose$']))[_0x2a1b24(0xf7)](_0x6aec0[_0x2a1b24(0x1ba)](_0x1c63fc=>!_0x1c63fc['getUnitId']()['startsWith']('__')))[_0x2a1b24(0x29b)](async _0x4e245f=>{const _0x234a64=_0x2a1b24,_0x527362=_0x4e245f['getUnitId'](),_0xe4dba2=await this[_0x234a64(0x165)](_0x527362);this['_entityInit$'][_0x234a64(0x360)](_0xe4dba2),this[_0x234a64(0x224)][_0x234a64(0x26f)](_0x527362,_0xe4dba2);}),_0x6aec0['merge'](this[_0x2a1b24(0x205)][_0x2a1b24(0x33f)](_0x3f9956['UniverInstanceType']['UNIVER_DOC']),this[_0x2a1b24(0x205)][_0x2a1b24(0x33f)](_0x3f9956[_0x2a1b24(0x100)]['UNIVER_SHEET']))[_0x2a1b24(0xf7)](_0x6aec0[_0x2a1b24(0x277)](this[_0x2a1b24(0x107)]))[_0x2a1b24(0x29b)](_0x15ca92=>{const _0x3ea536=_0x2a1b24,_0x5d2756=_0x15ca92[_0x3ea536(0x3aa)](),_0x2bb1e8=this['_entities'][_0x3ea536(0x392)](_0x5d2756);_0x2bb1e8&&(_0x2bb1e8[_0x3ea536(0x14f)](),this[_0x3ea536(0x224)][_0x3ea536(0x1ce)](_0x5d2756));});}async[_0x3db0e4(0x320)](_0x31b85a){const _0x1e5caf=_0x3db0e4,_0x2eed18=await this['_collabSessionService'][_0x1e5caf(0x370)](_0x31b85a),_0x2368ac=this['_injector'][_0x1e5caf(0x212)](_0x2209c0,_0x31b85a,_0x2eed18);return _0x2368ac[_0x1e5caf(0x106)](),_0x2368ac;}async['_startDocCollabCursor'](_0x4d704e){const _0x22496a=_0x3db0e4,_0x2db301=await this['_collabSessionService']['requireSession'](_0x4d704e),_0x28e708=this['_injector']['createInstance'](_0x654d15,_0x4d704e,_0x2db301);return _0x28e708[_0x22496a(0x106)](),_0x28e708;}};_0x135bf3=_0x5bd336([_0x110cb9(0x0,_0x3f9956[_0x3db0e4(0x264)]),_0x110cb9(0x1,_0x3f9956['Inject'](_0x3f9956[_0x3db0e4(0x39d)])),_0x110cb9(0x2,_0x3f9956['Inject'](_0x184317[_0x3db0e4(0x240)]))],_0x135bf3);const _0x2520ce=0x14,_0x198362=0xc8,_0x27d5e3=0x4,_0x5d2659=0x5;function _0x2b9394(_0x224ca5,_0x1ccc81){const _0x2363af=_0x3db0e4;let {radius:_0x24c054,width:_0x1b245d,height:_0x5483ef}=_0x1ccc81;_0x24c054=_0x24c054!=null?_0x24c054:0x0,_0x1b245d=_0x1b245d!=null?_0x1b245d:0x1e,_0x5483ef=_0x5483ef!=null?_0x5483ef:0x1e;let _0x19221a=0x0,_0x1f3384=0x0,_0x580b56=0x0;_0x19221a=_0x1f3384=_0x580b56=Math[_0x2363af(0x37a)](_0x24c054,_0x1b245d/0x2,_0x5483ef/0x2),_0x224ca5[_0x2363af(0x232)](),_0x224ca5[_0x2363af(0x35c)](_0x19221a,0x0),_0x224ca5['lineTo'](_0x1b245d-_0x1f3384,0x0),_0x224ca5[_0x2363af(0x102)](_0x1b245d-_0x1f3384,_0x1f3384,_0x1f3384,Math['PI']*0x3/0x2,0x0,!0x1),_0x224ca5[_0x2363af(0x38a)](_0x1b245d,_0x5483ef-_0x580b56),_0x224ca5['arc'](_0x1b245d-_0x580b56,_0x5483ef-_0x580b56,_0x580b56,0x0,Math['PI']/0x2,!0x1),_0x224ca5[_0x2363af(0x38a)](0x0,_0x5483ef),_0x224ca5[_0x2363af(0x38a)](0x0,_0x19221a),_0x224ca5[_0x2363af(0x102)](_0x19221a,_0x19221a,_0x19221a,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x224ca5['closePath'](),_0x1ccc81[_0x2363af(0x126)]&&(_0x224ca5['save'](),_0x224ca5[_0x2363af(0x31c)]=_0x1ccc81[_0x2363af(0x126)],_0x1ccc81[_0x2363af(0x2b9)]==='evenodd'?_0x224ca5[_0x2363af(0x126)]('evenodd'):_0x224ca5[_0x2363af(0x126)](),_0x224ca5[_0x2363af(0xfb)]());}class _0x3cfc67 extends _0x2dd116[_0x3db0e4(0x1e7)]{constructor(_0x257d21,_0x50617e){const _0x5b1a36=_0x3db0e4;super(_0x257d21,_0x50617e),_0x442022(this,'color'),_0x442022(this,_0x5b1a36(0x36e)),(this[_0x5b1a36(0x228)]=_0x50617e==null?void 0x0:_0x50617e['color'],this[_0x5b1a36(0x36e)]=_0x50617e==null?void 0x0:_0x50617e[_0x5b1a36(0x36e)]);}static['drawWith'](_0x50a91e,_0x2ea3aa){const _0xc4e0d=_0x3db0e4,{text:_0x1e7df8,color:_0x9776dd}=_0x2ea3aa;_0x50a91e[_0xc4e0d(0x12c)](),_0x50a91e['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x28220f=_0x50a91e[_0xc4e0d(0x2ec)](_0x1e7df8)[_0xc4e0d(0x2a9)],_0x6e8185=Math[_0xc4e0d(0x37a)](_0x28220f+0x2*_0x27d5e3,_0x198362);_0x2b9394(_0x50a91e,{'height':_0x2520ce,'radius':0x4,'width':_0x6e8185,'fill':_0x9776dd}),_0x50a91e[_0xc4e0d(0x31c)]=_0xc4e0d(0x1b5);const _0x5ef981=_0x27d5e3,_0x45df94=_0x2520ce-_0x5d2659,_0x4181db=_0x198362-0x2*_0x27d5e3;if(_0x28220f>_0x4181db){let _0xa1c0ff='',_0x173a23=0x0;for(const _0x299bcd of _0x1e7df8){const _0x16304f=_0x50a91e[_0xc4e0d(0x2ec)](_0x299bcd)[_0xc4e0d(0x2a9)];if(_0x173a23+_0x16304f<=_0x4181db-_0x50a91e[_0xc4e0d(0x2ec)](_0xc4e0d(0x229))[_0xc4e0d(0x2a9)])_0xa1c0ff+=_0x299bcd,_0x173a23+=_0x16304f;else{_0xa1c0ff+=_0xc4e0d(0x229);break;}}_0x50a91e['fillText'](_0xa1c0ff,_0x5ef981,_0x45df94);}else _0x50a91e[_0xc4e0d(0x18e)](_0x1e7df8,_0x5ef981,_0x45df94);_0x50a91e[_0xc4e0d(0xfb)]();}[_0x3db0e4(0x352)](_0x2a11df){_0x3cfc67['drawWith'](_0x2a11df,this);}}const _0x47c6cd=_0x3db0e4(0x1da),_0x83fd96=_0x3db0e4(0x1ad),_0x3d6617='collab-rect-range-',_0x6ff9c1=0x6,_0x25dee4=1.5,_0x23e213=0x4,_0x2303df=1.5,_0x3e49e7=_0x3db0e4(0x238);class _0x277afe{constructor(_0x4ceefd,_0x24562c,_0xb617a6,_0x107e11){const _0x3c3118=_0x3db0e4;_0x442022(this,'_shapes',[]),_0x442022(this,_0x3c3118(0x384),null),_0x442022(this,_0x3c3118(0x377),null),_0x442022(this,_0x3c3118(0x159),null),_0x442022(this,_0x3c3118(0x32a),null),_0x442022(this,'_eventUnsubscribe',null),(this[_0x3c3118(0x156)]=_0x4ceefd,this[_0x3c3118(0x11a)]=_0x24562c,this[_0x3c3118(0x348)]=_0xb617a6,this[_0x3c3118(0x199)]=_0x107e11,this[_0x3c3118(0x1cd)]());}set['_hover'](_0x1408cc){const _0x59ce66=_0x3db0e4;_0x1408cc?(this[_0x59ce66(0x159)]&&this['_anchorDot'][_0x59ce66(0x21b)](),this['_textBubble']&&this['_textBubble'][_0x59ce66(0x2c7)]()):(this[_0x59ce66(0x159)]&&this[_0x59ce66(0x159)][_0x59ce66(0x2c7)](),this[_0x59ce66(0x377)]&&this['_textBubble'][_0x59ce66(0x21b)]());}[_0x3db0e4(0x14f)](){const _0x3fa651=_0x3db0e4;for(const _0x194355 of this[_0x3fa651(0x1f9)])_0x194355['dispose']();this[_0x3fa651(0x377)]&&this['_textBubble'][_0x3fa651(0x14f)](),this[_0x3fa651(0x159)]&&this[_0x3fa651(0x159)]['dispose'](),this[_0x3fa651(0x384)]&&this[_0x3fa651(0x384)][_0x3fa651(0x14f)](),this[_0x3fa651(0x105)]&&this[_0x3fa651(0x105)]();}['_render'](){const _0xf9aa24=_0x3db0e4;var _0x1208c3;const {_docSkeleton:_0x1d09c2,_document:_0x24a222}=this,{color:_0x611a08,name:_0x484f16,ranges:_0xd7717c}=this[_0xf9aa24(0x156)],_0x3f6af4=_0x24a222[_0xf9aa24(0x1d3)](),{docsLeft:_0x2f3669,docsTop:_0x40f6ca}=_0x3f6af4,_0x3f3136=new _0xa8c85b[(_0xf9aa24(0x222))](_0x3f6af4,_0x1d09c2);for(const {startOffset:_0x15aec2,endOffset:_0x437a3,rangeType:_0x2745fd,segmentId:_0x436db7,segmentPage:_0x4e9910,collapsed:_0x23a1ee,isActive:_0x172e79}of _0xd7717c){const _0x10e658=_0x1d09c2[_0xf9aa24(0x365)](_0x15aec2,!0x0,_0x436db7,_0x4e9910);let _0x3b2f39=_0x1d09c2['findNodePositionByCharIndex'](_0x437a3,!0x0,_0x436db7,_0x4e9910);if(_0x3b2f39==null&&(_0x3b2f39=_0x1d09c2['findNodePositionByCharIndex'](_0x437a3-0x1,!0x1,_0x436db7,_0x4e9910)),_0x172e79){const {contentBoxPointGroup:_0x41ee81}=_0x3f3136[_0xf9aa24(0x23a)](_0x3b2f39,_0x3b2f39);if(_0x41ee81[_0xf9aa24(0xf8)]===0x0)continue;this[_0xf9aa24(0x104)](_0x611a08,_0x41ee81,_0x2f3669,_0x40f6ca,_0x484f16),this[_0xf9aa24(0x105)]=this[_0xf9aa24(0x326)]();}if(_0x10e658&&_0x3b2f39){if(_0x2745fd===_0x3f9956[_0xf9aa24(0x37c)]['RECT']){const _0x194761=new _0xa8c85b[(_0xf9aa24(0x315))](_0x3f6af4,_0x1d09c2),{pointGroup:_0x7784f8}=(_0x1208c3=_0x194761[_0xf9aa24(0x23a)](_0x10e658,_0x3b2f39))!=null?_0x1208c3:{};if(_0x7784f8==null||_0x7784f8[_0xf9aa24(0xf8)]===0x0)continue;this['_drawRectRange'](_0x611a08,_0x7784f8,_0x2f3669,_0x40f6ca);}else{if(!_0x23a1ee){const {borderBoxPointGroup:_0x3edf17}=_0x3f3136[_0xf9aa24(0x23a)](_0x10e658,_0x3b2f39);if(_0x3edf17[_0xf9aa24(0xf8)]===0x0)continue;this[_0xf9aa24(0x2ea)](_0x611a08,_0x3edf17,_0x2f3669,_0x40f6ca);}}}}}[_0x3db0e4(0x104)](_0x1ddcf4,_0x358d38,_0x2e361,_0x1bb62a,_0x48c66a){const _0x4961c3=_0x3db0e4,_0x475ef9=this[_0x4961c3(0x2e4)](_0x358d38),{left:_0x4538da,top:_0x196765,height:_0x49ec0f}=_0x475ef9,_0x42194a=this[_0x4961c3(0x116)](),_0x120fc8=_0x2303df/_0x42194a,_0x2bcd35=new _0x2dd116['Rect'](_0x47c6cd+_0x3f9956[_0x4961c3(0x17e)](_0x6ff9c1),{'left':_0x4538da+_0x2e361-_0x120fc8,'top':_0x196765+_0x1bb62a,'height':_0x49ec0f,'width':_0x25dee4,'fill':_0x1ddcf4||_0x2dd116[_0x4961c3(0x3ac)](_0x3f9956[_0x4961c3(0x298)][_0x4961c3(0x30b)],0x0),'strokeWidth':_0x120fc8,'stroke':_0x3e49e7,'evented':!0x0});this[_0x4961c3(0x384)]=_0x2bcd35,this[_0x4961c3(0x11a)][_0x4961c3(0x22f)](_0x2bcd35,_0xa8c85b[_0x4961c3(0x113)]);const _0x802174=new _0x2dd116[(_0x4961c3(0x207))](_0x47c6cd+_0x3f9956[_0x4961c3(0x17e)](_0x6ff9c1),{'left':_0x4538da+_0x2e361-_0x120fc8,'top':_0x196765+_0x1bb62a-_0x23e213/0x2,'height':_0x23e213,'width':_0x23e213,'fill':_0x1ddcf4||_0x2dd116[_0x4961c3(0x3ac)](_0x3f9956['COLORS'][_0x4961c3(0x30b)],0x0),'strokeWidth':0x0,'stroke':_0x1ddcf4||_0x2dd116[_0x4961c3(0x3ac)](_0x3f9956[_0x4961c3(0x298)][_0x4961c3(0x30b)],0x0),'evented':!0x1});this[_0x4961c3(0x159)]=_0x802174,this[_0x4961c3(0x11a)][_0x4961c3(0x22f)](_0x802174,_0xa8c85b['TEXT_RANGE_LAYER_INDEX']);const _0x479463=new _0x3cfc67(_0x47c6cd+_0x3f9956[_0x4961c3(0x17e)](_0x6ff9c1),{'left':_0x4538da+_0x2e361-_0x120fc8,'top':_0x196765+_0x1bb62a-_0x2520ce,'text':_0x48c66a,'color':_0x1ddcf4});this[_0x4961c3(0x377)]=_0x479463,this['_scene']['addObject'](_0x479463,_0xa8c85b['TEXT_RANGE_LAYER_INDEX']),this[_0x4961c3(0x12b)]=!0x1;}[_0x3db0e4(0x326)](){const _0x1b9f0c=_0x3db0e4,_0x140dc3=this[_0x1b9f0c(0x384)][_0x1b9f0c(0x282)][_0x1b9f0c(0x1cf)](()=>{const _0x59951e=_0x1b9f0c;this[_0x59951e(0x12b)]=!0x0;}),_0x1981be=this[_0x1b9f0c(0x384)][_0x1b9f0c(0x21a)][_0x1b9f0c(0x1cf)](()=>{const _0x72e08f=_0x1b9f0c;this[_0x72e08f(0x32a)]&&clearTimeout(this['_hideTimer']),this[_0x72e08f(0x32a)]=setTimeout(()=>{const _0x2c40e0=_0x72e08f;this[_0x2c40e0(0x12b)]=!0x1;},0x7d0);});return()=>{const _0x56b0f5=_0x1b9f0c;_0x140dc3[_0x56b0f5(0x271)](),_0x1981be[_0x56b0f5(0x271)]();};}[_0x3db0e4(0x2ea)](_0x111d3c,_0x2cfe14,_0x4b01c3,_0x38fe0b){const _0x5268df=_0x3db0e4,_0xd419af=new _0x3f9956['ColorKit'](_0x111d3c)[_0x5268df(0x2c5)](0.2)[_0x5268df(0x376)](),_0xa86a32=new _0x2dd116['RegularPolygon'](_0x83fd96+_0x3f9956[_0x5268df(0x17e)](_0x6ff9c1),{'pointsGroup':_0x2cfe14,'fill':_0xd419af||_0x2dd116[_0x5268df(0x3ac)](_0x3f9956[_0x5268df(0x298)][_0x5268df(0x30b)],0.2),'left':_0x4b01c3,'top':_0x38fe0b,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x5268df(0x1ae)](_0xa86a32),this[_0x5268df(0x11a)][_0x5268df(0x22f)](_0xa86a32,_0xa8c85b[_0x5268df(0x113)]);}[_0x3db0e4(0x18c)](_0x53617b,_0x4bbe59,_0x444ab3,_0x331efa){const _0x597b76=_0x3db0e4,_0x3313c3=new _0x3f9956[(_0x597b76(0x1f1))](_0x53617b)['setAlpha'](0.2)[_0x597b76(0x376)](),_0xac58a3=new _0x2dd116[(_0x597b76(0x393))](_0x3d6617+_0x3f9956[_0x597b76(0x17e)](_0x6ff9c1),{'pointsGroup':_0x4bbe59,'fill':_0x3313c3||_0x2dd116[_0x597b76(0x3ac)](_0x3f9956[_0x597b76(0x298)]['black'],0.2),'left':_0x444ab3,'top':_0x331efa,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x597b76(0x1f9)][_0x597b76(0x1ae)](_0xac58a3),this['_scene']['addObject'](_0xac58a3,_0xa8c85b[_0x597b76(0x113)]);}[_0x3db0e4(0x2e4)](_0x33224e){const _0x1a2e9d=_0x33224e[0x0],_0x53ce43=_0x1a2e9d[0x0],_0x497f1c=_0x1a2e9d[0x2],{x:_0x190c49,y:_0x4a2e9a}=_0x53ce43,{x:_0x391e58,y:_0x1030c1}=_0x497f1c;return{'left':_0x190c49,'top':_0x4a2e9a,'width':_0x391e58-_0x190c49,'height':_0x1030c1-_0x4a2e9a};}[_0x3db0e4(0x116)](){const _0x54fcb0=_0x3db0e4,{scaleX:_0x5ecedf,scaleY:_0x74854f}=this[_0x54fcb0(0x11a)]['getAncestorScale']();return Math[_0x54fcb0(0x12f)](_0x5ecedf,_0x74854f);}}var _0x53647e=Object['getOwnPropertyDescriptor'],_0x502c92=(_0x35707e,_0x5a42b7,_0x4d6245,_0x58b4fa)=>{const _0x5df212=_0x3db0e4;for(var _0x5702c7=_0x58b4fa>0x1?void 0x0:_0x58b4fa?_0x53647e(_0x5a42b7,_0x4d6245):_0x5a42b7,_0x202d23=_0x35707e[_0x5df212(0xf8)]-0x1,_0x4c3470;_0x202d23>=0x0;_0x202d23--)(_0x4c3470=_0x35707e[_0x202d23])&&(_0x5702c7=_0x4c3470(_0x5702c7)||_0x5702c7);return _0x5702c7;},_0x22aa03=(_0x85c973,_0x1ba9f4)=>(_0x1f50f1,_0x496768)=>_0x1ba9f4(_0x1f50f1,_0x496768,_0x85c973);let _0x5ddb20=class extends _0x3f9956[_0x3db0e4(0x17f)]{constructor(_0x14dd8f,_0xde9b9d,_0x2b8775,_0x4f049a,_0x49c9b7){const _0x121c3a=_0x3db0e4;super(),_0x442022(this,_0x121c3a(0x1ab),[]),_0x442022(this,'_cursors',[]),(this[_0x121c3a(0x3a5)]=_0x14dd8f,this['_docSkeletonManagerService']=_0xde9b9d,this[_0x121c3a(0x189)]=_0x2b8775,this[_0x121c3a(0x278)]=_0x4f049a,this['_themeService']=_0x49c9b7,this[_0x121c3a(0x18a)]());}[_0x3db0e4(0x18a)](){const _0x21b773=_0x3db0e4,_0x1f3dc1=this['_context']['unitId'],_0x198006=this[_0x21b773(0x353)];this[_0x21b773(0x20e)](_0x6aec0[_0x21b773(0x245)]([this[_0x21b773(0x189)]['getCollabCursors$'](_0x1f3dc1),this['_themeService'][_0x21b773(0x178)]])[_0x21b773(0xf7)](_0x5f224d[_0x21b773(0x3be)](([_0x5b8cff,_0x3ba72a])=>({'skeleton':_0x198006[_0x21b773(0x29e)](),'cursors':[..._0x5b8cff[_0x21b773(0x2fd)]()][_0x21b773(0x142)](_0x2a47b5=>({..._0x2a47b5,'color':this[_0x21b773(0xf6)]['getColorFromTheme'](_0x2a47b5[_0x21b773(0x228)])}))})))[_0x21b773(0x29b)](_0x19657f=>{const _0x4d962d=_0x21b773;if(this['_removeCollabCursors'](),_0x19657f){const {skeleton:_0x5a8dc5,cursors:_0x462d64}=_0x19657f;this[_0x4d962d(0x1bb)](_0x5a8dc5,_0x462d64);}})),this['_initResize'](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x45c6b6,_0x5c73dc){const _0x3bc559=_0x3db0e4,{scene:_0x234fd1,mainComponent:_0xe559fd}=this[_0x3bc559(0x3a5)],_0x2e6a5b=_0x5c73dc[_0x3bc559(0x3be)](_0x2e2b67=>new _0x277afe(_0x2e2b67,_0x234fd1,_0x45c6b6,_0xe559fd));this[_0x3bc559(0x1ab)]=_0x2e6a5b,this[_0x3bc559(0x387)]=_0x5c73dc;}[_0x3db0e4(0x307)](){const _0x29bc3e=_0x3db0e4;this['_removeCollabCursors']();const {scene:_0x3151f4,mainComponent:_0x191575}=this[_0x29bc3e(0x3a5)],_0xb82f01=this[_0x29bc3e(0x353)][_0x29bc3e(0x29e)](),_0x29af73=this[_0x29bc3e(0x387)][_0x29bc3e(0x3be)](_0x4f91b3=>new _0x277afe(_0x4f91b3,_0x3151f4,_0xb82f01,_0x191575));this[_0x29bc3e(0x1ab)]=_0x29af73;}[_0x3db0e4(0x31e)](){const _0x7c2e43=_0x3db0e4;this[_0x7c2e43(0x1ab)][_0x7c2e43(0x29f)](_0x25368e=>_0x25368e[_0x7c2e43(0x14f)]()),this[_0x7c2e43(0x1ab)]=[];}['_initCommandExecutedListener'](){const _0x10eabc=_0x3db0e4,_0x5dd624=[_0xa8c85b['SetDocZoomRatioOperation']['id']];this[_0x10eabc(0x20e)](this[_0x10eabc(0x278)][_0x10eabc(0x14d)](_0x4ab165=>{const _0x46e042=_0x10eabc;_0x5dd624[_0x46e042(0x357)](_0x4ab165['id'])&&_0x4ab165[_0x46e042(0x176)]['unitId']===this['_context']['unitId']&&this[_0x46e042(0x307)]();}));}[_0x3db0e4(0x185)](){const _0x46fc99=_0x3db0e4;this[_0x46fc99(0x20e)](_0x3f9956[_0x46fc99(0x327)](this['_context'][_0x46fc99(0xf9)][_0x46fc99(0x286)])[_0x46fc99(0xf7)](_0x5f224d[_0x46fc99(0x1ba)](_0x6073fb=>_0x6073fb[_0x46fc99(0x3a0)]===_0x2dd116[_0x46fc99(0x291)][_0x46fc99(0x311)]),_0x5f224d[_0x46fc99(0x2df)](0x10))[_0x46fc99(0x29b)](()=>{const _0x35542f=_0x46fc99;this[_0x35542f(0x307)]();}));}};_0x5ddb20=_0x502c92([_0x22aa03(0x1,_0x3f9956[_0x3db0e4(0x302)](_0x333572[_0x3db0e4(0x108)])),_0x22aa03(0x2,_0x3f9956[_0x3db0e4(0x302)](_0x135bf3)),_0x22aa03(0x3,_0x3f9956[_0x3db0e4(0x30c)]),_0x22aa03(0x4,_0x3f9956[_0x3db0e4(0x302)](_0x3f9956['ThemeService']))],_0x5ddb20);const _0x23fe97=0x1,_0x5baae7=1.5;class _0x187ac5 extends _0x2dd116[_0x3db0e4(0x1e7)]{constructor(_0x524c01,_0x188b80){const _0x171afc=_0x3db0e4;super(_0x524c01,_0x188b80),_0x442022(this,'_color'),_0x442022(this,_0x171afc(0x2cf),!0x1),_0x442022(this,_0x171afc(0x139)),_0x442022(this,_0x171afc(0x2e7),''),_0x442022(this,'_labelPosition',_0x171afc(0x2a3)),_0x442022(this,_0x171afc(0x2b0)),(_0x188b80&&this[_0x171afc(0x399)](_0x188b80),this[_0x171afc(0x282)][_0x171afc(0x1cf)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x171afc(0x21a)][_0x171afc(0x1cf)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x33ec40){const _0xf86177=_0x3db0e4;var _0x11630a,_0x429385,_0x5b4f69,_0x48e7df,_0x1b9527,_0xad16f3;this[_0xf86177(0x190)]=(_0x11630a=_0x33ec40[_0xf86177(0x228)])!=null?_0x11630a:this[_0xf86177(0x190)],this[_0xf86177(0x2cf)]=(_0x429385=_0x33ec40[_0xf86177(0x132)])!=null?_0x429385:this[_0xf86177(0x2cf)],this['_range']=(_0x5b4f69=_0x33ec40['range'])!=null?_0x5b4f69:this[_0xf86177(0x139)],this[_0xf86177(0x2e7)]=(_0x48e7df=_0x33ec40[_0xf86177(0x17d)])!=null?_0x48e7df:this[_0xf86177(0x2e7)],this[_0xf86177(0x128)]=(_0x1b9527=_0x33ec40[_0xf86177(0x35d)])!=null?_0x1b9527:this[_0xf86177(0x128)],this['_backgroundColor']=(_0xad16f3=_0x33ec40[_0xf86177(0x1dd)])!=null?_0xad16f3:this[_0xf86177(0x2b0)],this['transformByState']({'width':_0x33ec40['width'],'height':_0x33ec40[_0xf86177(0x3ae)]});}[_0x3db0e4(0x325)](_0x40038f){const _0x5251c1=_0x3db0e4,{row:_0x369a6f,column:_0x40a04f}=_0x40038f;if(_0x369a6f>=this[_0x5251c1(0x139)][_0x5251c1(0x16c)]&&_0x369a6f<=this['_range']['endRow']&&_0x40a04f>=this['_range'][_0x5251c1(0x14c)]&&_0x40a04f<=this[_0x5251c1(0x139)]['endColumn']){this[_0x5251c1(0x399)]({'hovered':!0x0});return;}this[_0x5251c1(0x399)]({'hovered':!0x1});}[_0x3db0e4(0x1c1)](_0x5563f2){return!0x1;}[_0x3db0e4(0x352)](_0x197081){const _0x50d399=_0x3db0e4;_0x2dd116[_0x50d399(0x207)]['drawWith'](_0x197081,{'width':this['width'],'height':this[_0x50d399(0x3ae)],'strokeWidth':_0x5baae7,'stroke':this[_0x50d399(0x190)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x197081[_0x50d399(0x12c)](),_0x197081[_0x50d399(0x2cb)](0x1,0x0,0x0,0x1,this[_0x50d399(0x2a9)],this[_0x50d399(0x128)]===_0x50d399(0x12a)?0x0:-_0x2520ce),_0x3cfc67[_0x50d399(0x38c)](_0x197081,{'text':this[_0x50d399(0x2e7)],'color':this[_0x50d399(0x190)]}),_0x197081[_0x50d399(0xfb)]());}}var _0x460587=Object['getOwnPropertyDescriptor'],_0x4d587a=(_0xe39d36,_0x38bcb9,_0x344ec8,_0x2f17c9)=>{const _0x847cdd=_0x3db0e4;for(var _0x51a460=_0x2f17c9>0x1?void 0x0:_0x2f17c9?_0x460587(_0x38bcb9,_0x344ec8):_0x38bcb9,_0x3c8ac6=_0xe39d36[_0x847cdd(0xf8)]-0x1,_0x3bea8e;_0x3c8ac6>=0x0;_0x3c8ac6--)(_0x3bea8e=_0xe39d36[_0x3c8ac6])&&(_0x51a460=_0x3bea8e(_0x51a460)||_0x51a460);return _0x51a460;},_0x33e2f5=(_0x4ad611,_0x3be8ab)=>(_0x173d62,_0x36241a)=>_0x3be8ab(_0x173d62,_0x36241a,_0x4ad611);const _0x35efc7=0x1389;let _0x345a73=class extends _0x3f9956['RxDisposable']{constructor(_0x4939e1,_0x1083ca,_0x2e1063,_0x50b54b){const _0x60800d=_0x3db0e4;super(),_0x442022(this,_0x60800d(0x387),new Set()),_0x442022(this,_0x60800d(0x221),null),(this[_0x60800d(0x3a5)]=_0x4939e1,this[_0x60800d(0x18b)]=_0x1083ca,this['_collabCursorController']=_0x2e1063,this[_0x60800d(0xf6)]=_0x50b54b,this[_0x60800d(0x18a)]());}[_0x3db0e4(0x18a)](){const _0x5bf2fb=_0x3db0e4;this['_sheetSkeletonManagerService'][_0x5bf2fb(0x27b)][_0x5bf2fb(0xf7)](_0x5f224d['takeUntil'](this[_0x5bf2fb(0x107)]),_0x5f224d[_0x5bf2fb(0x2dc)](_0x3f318d=>{const _0x2921c8=_0x5bf2fb;if(_0x3f318d){const _0x549a94=_0x3f318d[_0x2921c8(0x1ea)];return _0x6aec0[_0x2921c8(0x245)](this[_0x2921c8(0x189)]['getCollabCursors$'](this[_0x2921c8(0x3a5)][_0x2921c8(0x2bc)]),this[_0x2921c8(0xf6)]['currentTheme$'])[_0x2921c8(0xf7)](_0x5f224d[_0x2921c8(0x3be)](([_0x149737,_0x3e9cda])=>{const _0x48460c=_0x2921c8,_0x22d7f9=new Map();return _0x149737[_0x48460c(0x29f)]((_0x31bf1e,_0x1778a2)=>{const _0x2ed6bb=_0x48460c;if(_0x31bf1e['sheetID']===_0x549a94){const _0x3d86a8={..._0x31bf1e};_0x3d86a8['color']=this[_0x2ed6bb(0xf6)][_0x2ed6bb(0x249)](_0x31bf1e[_0x2ed6bb(0x228)]),_0x22d7f9[_0x2ed6bb(0x26f)](_0x1778a2,_0x3d86a8);}}),{'skeleton':_0x3f318d,'cursors':_0x22d7f9};}));}return _0x6aec0['of']({'skeleton':null,'cursors':new Map()});}))[_0x5bf2fb(0x29b)](({skeleton:_0x39f165,cursors:_0x5b2f62})=>{this['_removeCollabCursors'](),_0x39f165&&this['_updateCollabCursors'](_0x39f165,_0x5b2f62);}),this[_0x5bf2fb(0x18b)][_0x5bf2fb(0x27b)]['subscribe'](_0x4485ae=>{const _0x5e8d44=_0x5bf2fb;if(_0x4485ae==null)return;const {skeleton:_0x385a31}=_0x4485ae,{scene:_0x2e62c9}=this['_context'];_0x2e62c9['onPointerMove$'][_0x5e8d44(0x1cf)](_0x3f9956[_0x5e8d44(0x145)](_0x36f32c=>{const _0x5b1285=_0x5e8d44;var _0x3bf83d,_0x15ff10;const {offsetX:_0x33142f,offsetY:_0x4d1191}=_0x36f32c,{x:_0x58f858,y:_0x3de357}=_0x2e62c9[_0x5b1285(0x2d4)](_0x2dd116[_0x5b1285(0x28e)]['FromArray']([_0x33142f,_0x4d1191])),{scaleX:_0x2cf713,scaleY:_0x5b48cd}=_0x2e62c9[_0x5b1285(0x2cc)](),_0x32964d=_0x2e62c9[_0x5b1285(0x1c7)](_0x2dd116[_0x5b1285(0x1fd)][_0x5b1285(0x1c9)]),_0x492945=_0x2e62c9['getVpScrollXYInfoByPosToVp'](_0x2dd116[_0x5b1285(0x28e)]['FromArray']([_0x58f858,_0x3de357]),_0x32964d),_0x20fe84=_0x385a31[_0x5b1285(0x3b0)](_0x33142f,_0x4d1191,_0x2cf713,_0x5b48cd,_0x492945);((_0x3bf83d=this[_0x5b1285(0x221)])==null?void 0x0:_0x3bf83d[_0x5b1285(0x1bc)])===_0x20fe84[_0x5b1285(0x1bc)]&&((_0x15ff10=this['_lastPointer'])==null?void 0x0:_0x15ff10['row'])===_0x20fe84[_0x5b1285(0x14e)]||this[_0x5b1285(0x387)]['forEach'](_0x164382=>{const _0x2c49cf=_0x5b1285;_0x164382[_0x2c49cf(0x325)](_0x20fe84);});},0x64));});}[_0x3db0e4(0x1bb)](_0x345e0e,_0x2c6a4c){const _0x357457=_0x3db0e4;var _0x43c82b;const _0x3376e3=(_0x43c82b=this['_sheetSkeletonManagerService'][_0x357457(0x1f0)]())==null?void 0x0:_0x43c82b[_0x357457(0x19e)];if(!_0x3376e3)return;const _0x11bc7f=this[_0x357457(0x1a7)]();if(!_0x11bc7f)return;this[_0x357457(0x387)][_0x357457(0x29f)](_0x12ca05=>{const _0x1f8ec2=_0x357457;_0x12ca05[_0x1f8ec2(0x2a4)]();});const {scene:_0x1d1a6b}=_0x11bc7f,_0x45fc33=_0x210956(Array['from'](_0x2c6a4c[_0x357457(0x2fd)]()))[_0x357457(0x3be)](_0x3a64a0=>{const _0x32d31d=_0x357457,{color:_0x14c268,range:_0x597b24,name:_0x4cd933,selection:_0x50545f,sheetID:_0x4cb0be}=_0x3a64a0,{startColumn:_0x38f656,startRow:_0x50fc8d,endColumn:_0x376091,endRow:_0x372376}=_0x597b24,_0x3fd4f4=_0x52f894['getCoordByCell'](_0x50fc8d,_0x38f656,_0x1d1a6b,_0x3376e3),_0x3765b3=_0x52f894[_0x32d31d(0x1e1)](_0x372376,_0x376091,_0x1d1a6b,_0x3376e3),{columnHeaderHeightAndMarginTop:_0x446ccb}=_0x3376e3,{startX:_0x150801,startY:_0x4c5bad}=_0x3fd4f4,{endX:_0x26d197,endY:_0x208405}=_0x3765b3,_0x6daff2=_0x26d197-_0x150801,_0x1e5b9a=_0x208405-_0x4c5bad,_0x49d68a={'labelPosition':_0x4c5bad-_0x446ccb>=_0x2520ce?_0x32d31d(0x2a3):'bottom','sheetID':_0x4cb0be,'range':_0x597b24,'color':_0x14c268,'name':_0x4cd933,'selection':_0x50545f,'left':_0x150801,'top':_0x4c5bad,'width':_0x6daff2,'height':_0x1e5b9a,'evented':!0x1,'zIndex':_0x35efc7};return new _0x187ac5(_0x4cd933,_0x49d68a);});_0x1d1a6b[_0x357457(0x226)](_0x45fc33,_0x23fe97),this[_0x357457(0x387)]=new Set(_0x45fc33);}[_0x3db0e4(0x31e)](){const _0x299dcc=_0x3db0e4;var _0x51bcef;(_0x51bcef=this['_cursors'])==null||_0x51bcef[_0x299dcc(0x29f)](_0x21edae=>_0x21edae[_0x299dcc(0x14f)]());}[_0x3db0e4(0x1a7)](){const _0x4a7d4c=_0x3db0e4;return _0x52f894['getSheetObject'](this[_0x4a7d4c(0x3a5)][_0x4a7d4c(0x10d)],this[_0x4a7d4c(0x3a5)]);}};_0x345a73=_0x4d587a([_0x33e2f5(0x1,_0x3f9956[_0x3db0e4(0x302)](_0x52f894[_0x3db0e4(0x168)])),_0x33e2f5(0x2,_0x3f9956[_0x3db0e4(0x302)](_0x135bf3)),_0x33e2f5(0x3,_0x3f9956[_0x3db0e4(0x302)](_0x3f9956[_0x3db0e4(0x34e)]))],_0x345a73);function _0x210956(_0x3b46e4){const _0x5b19d3=_0x3db0e4,_0x45b720=new Map();return _0x3b46e4['forEach'](_0x684097=>{const _0x53369a=_0x4227;if(_0x45b720['has'](_0x684097[_0x53369a(0x22e)])){const _0x17129d=_0x45b720[_0x53369a(0x392)](_0x684097[_0x53369a(0x22e)]);_0x17129d[_0x53369a(0x17d)]+=',\x20'+_0x684097[_0x53369a(0x17d)];}else _0x45b720[_0x53369a(0x26f)](_0x684097[_0x53369a(0x22e)],_0x684097);}),Array[_0x5b19d3(0x1eb)](_0x45b720[_0x5b19d3(0x2fd)]());}var _0x152096=Object[_0x3db0e4(0x2d1)],_0x2e2882=(_0x5ac21c,_0x2ea889,_0x390128,_0x5ecf08)=>{const _0x599dcf=_0x3db0e4;for(var _0x54beea=_0x5ecf08>0x1?void 0x0:_0x5ecf08?_0x152096(_0x2ea889,_0x390128):_0x2ea889,_0x57b551=_0x5ac21c[_0x599dcf(0xf8)]-0x1,_0x5aafba;_0x57b551>=0x0;_0x57b551--)(_0x5aafba=_0x5ac21c[_0x57b551])&&(_0x54beea=_0x5aafba(_0x54beea)||_0x54beea);return _0x54beea;},_0x2e1a14=(_0x4c8c03,_0x577e63)=>(_0x2519a6,_0x2e0e4e)=>_0x577e63(_0x2519a6,_0x2e0e4e,_0x4c8c03);let _0x395203=class extends _0x3f9956['Disposable']{constructor(_0x4b6f84,_0x2dab8b,_0x264405,_0x1d04f2,_0x3fe77a,_0x5dc6e5){const _0x2c0479=_0x3db0e4;super(),this[_0x2c0479(0x33c)]=_0x4b6f84,this[_0x2c0479(0x3ab)]=_0x2dab8b,this[_0x2c0479(0x339)]=_0x264405,this[_0x2c0479(0x174)]=_0x1d04f2,this[_0x2c0479(0x258)]=_0x3fe77a,this['_localeService']=_0x5dc6e5,this[_0x2c0479(0x269)](),this['_initEvent']();}[_0x3db0e4(0x269)](){const _0x31b8c4=_0x3db0e4;this[_0x31b8c4(0x20e)](this[_0x31b8c4(0x33c)][_0x31b8c4(0x110)](()=>{const _0x203a4a=_0x31b8c4;if(this[_0x203a4a(0x3ab)][_0x203a4a(0x344)][_0x203a4a(0x137)])return this[_0x203a4a(0x359)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x3db0e4(0x1e9)](){const _0x3375cb=_0x3db0e4;this[_0x3375cb(0x20e)](this[_0x3375cb(0x339)][_0x3375cb(0x248)][_0x3375cb(0x29b)](_0x593d8e=>{const _0x1170d7=_0x3375cb;_0x593d8e['id']===_0x184317[_0x1170d7(0x1c0)][_0x1170d7(0x17b)]&&this['_messageService'][_0x1170d7(0x2c7)]({'type':_0x3fc7ae[_0x1170d7(0x25c)][_0x1170d7(0x203)],'content':this[_0x1170d7(0x359)]['t']('collaboration.single-unit.warning')}),_0x593d8e['id']===_0x184317['CollaborationUIEventId'][_0x1170d7(0x236)]&&this[_0x1170d7(0x174)]['show']({'type':_0x3fc7ae[_0x1170d7(0x25c)][_0x1170d7(0x203)],'content':this[_0x1170d7(0x359)]['t'](_0x1170d7(0x345))}),_0x593d8e['id']===_0x184317[_0x1170d7(0x1c0)][_0x1170d7(0x1be)]&&this[_0x1170d7(0x258)][_0x1170d7(0x2c7)]({'title':this[_0x1170d7(0x359)]['t']('permission.title'),'content':this['_localeService']['t']('permission.content'),'type':_0x1170d7(0x235),'duration':0x0}),_0x593d8e['id']===_0x184317['CollaborationUIEventId'][_0x1170d7(0x1b8)]&&this['_messageService']['show']({'type':_0x3fc7ae[_0x1170d7(0x25c)][_0x1170d7(0x136)],'content':this[_0x1170d7(0x359)]['t']('collaboration.closeRoom')+'('+_0x593d8e['data']+')'}),_0x593d8e['id']===_0x184317[_0x1170d7(0x1c0)][_0x1170d7(0x138)]&&this[_0x1170d7(0x174)][_0x1170d7(0x2c7)]({'type':_0x3fc7ae[_0x1170d7(0x25c)][_0x1170d7(0x203)],'content':this[_0x1170d7(0x359)]['t'](_0x593d8e['data']||'')}),_0x593d8e['id']===_0x184317[_0x1170d7(0x1c0)]['SOCKET_FAILED_RETRY']&&this[_0x1170d7(0x174)][_0x1170d7(0x2c7)]({'type':_0x3fc7ae[_0x1170d7(0x25c)][_0x1170d7(0x203)],'content':this[_0x1170d7(0x359)]['t'](_0x1170d7(0x3a9))}),_0x593d8e['id']===_0x184317[_0x1170d7(0x1c0)]['SOCKET_FAILED']&&this[_0x1170d7(0x174)][_0x1170d7(0x2c7)]({'type':_0x3fc7ae[_0x1170d7(0x25c)][_0x1170d7(0x136)],'content':this[_0x1170d7(0x359)]['t']('session.connection-failed')}),_0x593d8e['id']===_0x184317[_0x1170d7(0x1c0)][_0x1170d7(0x241)]&&this[_0x1170d7(0x174)][_0x1170d7(0x2c7)]({'type':_0x3fc7ae[_0x1170d7(0x25c)][_0x1170d7(0x136)],'content':this['_localeService']['t'](_0x1170d7(0x383))});}));}};_0x395203=_0x2e2882([_0x2e1a14(0x0,_0x26d040[_0x3db0e4(0x1d5)]),_0x2e1a14(0x1,_0x184317['ILocalCacheService']),_0x2e1a14(0x2,_0x3f9956[_0x3db0e4(0x302)](_0x184317[_0x3db0e4(0x2db)])),_0x2e1a14(0x3,_0x26d040[_0x3db0e4(0x30a)]),_0x2e1a14(0x4,_0x26d040[_0x3db0e4(0x25d)]),_0x2e1a14(0x5,_0x3f9956[_0x3db0e4(0x302)](_0x3f9956[_0x3db0e4(0x39e)]))],_0x395203);const _0x512303=_0x3db0e4(0x3c5),_0xd1a49e={};var _0x3cd354=Object[_0x3db0e4(0x2d1)],_0x1854a0=(_0x55d2e2,_0x3a87b1,_0x24c6d3,_0x4c7305)=>{const _0x18b3a1=_0x3db0e4;for(var _0x391a8b=_0x4c7305>0x1?void 0x0:_0x4c7305?_0x3cd354(_0x3a87b1,_0x24c6d3):_0x3a87b1,_0x23732f=_0x55d2e2[_0x18b3a1(0xf8)]-0x1,_0x52543f;_0x23732f>=0x0;_0x23732f--)(_0x52543f=_0x55d2e2[_0x23732f])&&(_0x391a8b=_0x52543f(_0x391a8b)||_0x391a8b);return _0x391a8b;},_0x3ba674=(_0x450de0,_0x4aae30)=>(_0x3d4bcb,_0x32a621)=>_0x4aae30(_0x3d4bcb,_0x32a621,_0x450de0);let _0x36ef44=class{constructor(_0x5a391a,_0x84df47){const _0x397490=_0x3db0e4;this[_0x397490(0x2da)]=_0x5a391a,this[_0x397490(0x1e4)]=_0x84df47;}['transformIMECache'](_0x9e10d5){const _0x24328d=_0x3db0e4;this[_0x24328d(0x1d8)](_0x9e10d5),this[_0x24328d(0x3c2)](_0x9e10d5);}[_0x3db0e4(0x23e)](_0x5e125a){const _0x4729ab=_0x3db0e4,{unitID:_0x22122b}=_0x5e125a,_0x5725bd=this[_0x4729ab(0x1e4)]['getRenderById'](_0x22122b)['with'](_0xa8c85b[_0x4729ab(0x150)]),{redoCache:_0x1faa63}=_0x5725bd[_0x4729ab(0x2ff)]();if(_0x1faa63[_0x4729ab(0xf8)]===0x0)return _0x5e125a;let _0x1bf5a2=_0x3f9956[_0x4729ab(0x38e)]['deepClone'](_0x5e125a['mutations'][0x0]);for(let _0x50a675=0x0;_0x50a675<_0x1faa63['length'];_0x50a675++){const _0x2a2ea6={'id':_0x4729ab(0x260),'params':{..._0x1faa63[_0x50a675]}},_0x194ab9=this['_transformService'][_0x4729ab(0x2eb)](_0x1bf5a2,_0x2a2ea6,!0x1);if(_0x2de7d2[_0x4729ab(0x18d)](_0x194ab9))throw _0x194ab9['error'];_0x1bf5a2=_0x194ab9[_0x4729ab(0x19d)];}return{..._0x3f9956[_0x4729ab(0x38e)][_0x4729ab(0x366)](_0x5e125a),'mutations':[_0x1bf5a2]};}[_0x3db0e4(0x1d8)](_0x414ea1){const _0x18a546=_0x3db0e4,{unitID:_0x5a82e4}=_0x414ea1,_0x45e8cd=this[_0x18a546(0x1e4)][_0x18a546(0x12d)](_0x5a82e4)['with'](_0xa8c85b[_0x18a546(0x150)]),{undoCache:_0x3d5b1c,redoCache:_0x409001}=_0x45e8cd[_0x18a546(0x2ff)]();if(_0x3d5b1c['length']===0x0||_0x409001[_0x18a546(0xf8)]===0x0)return;const _0x8c1b78=[],_0x3c317a=[];let _0x369e18=_0x3f9956['Tools'][_0x18a546(0x366)](_0x414ea1[_0x18a546(0x2d9)][0x0]),_0xf1d735=_0x3f9956[_0x18a546(0x38e)][_0x18a546(0x366)](_0x414ea1[_0x18a546(0x2d9)][0x0]);for(let _0x3fffb3=_0x3d5b1c['length']-0x1;_0x3fffb3>=0x0;_0x3fffb3--){const _0x8714fa={'id':_0x18a546(0x260),'params':{..._0x3d5b1c[_0x3fffb3]}},_0x13ef6a={'id':_0x18a546(0x260),'params':{..._0x409001[_0x3fffb3]}},_0x6d826=this[_0x18a546(0x2da)][_0x18a546(0x2eb)](_0x369e18,_0x8714fa,!0x1),_0xf8b48c=this[_0x18a546(0x2da)][_0x18a546(0x2eb)](_0xf1d735,_0x13ef6a,!0x1);if(_0x2de7d2[_0x18a546(0x18d)](_0x6d826))throw _0x6d826[_0x18a546(0x235)];if(_0x2de7d2['isTransformMutationFailure'](_0xf8b48c))throw _0xf8b48c[_0x18a546(0x235)];_0x8c1b78['unshift'](_0x6d826['m2Prime'][_0x18a546(0x176)]),_0x3c317a[_0x18a546(0x177)](_0xf8b48c[_0x18a546(0x333)]['params']),_0x369e18=_0x6d826[_0x18a546(0x19d)],_0xf1d735=_0xf8b48c[_0x18a546(0x19d)];}_0x45e8cd['setUndoRedoMutationParamsCache']({'undoCache':_0x8c1b78,'redoCache':_0x3c317a});}[_0x3db0e4(0x3c2)](_0x59c2d0){const _0x536d32=_0x3db0e4,{unitID:_0x57471c}=_0x59c2d0,_0x1ed94f=this['_renderManagerService'][_0x536d32(0x12d)](_0x57471c)[_0x536d32(0x395)](_0xa8c85b[_0x536d32(0x150)]),_0x1a1c94=_0x1ed94f[_0x536d32(0x28f)]();if(_0x1a1c94==null)return;const _0x27b48c=[{'id':_0x536d32(0x260),'params':{'unitId':_0x59c2d0[_0x536d32(0x297)],'actions':null,'textRanges':[_0x1a1c94]}}],_0x2a7b22=this[_0x536d32(0x2da)][_0x536d32(0x385)](_0x59c2d0,_0x27b48c);if(!_0x2de7d2[_0x536d32(0x369)](_0x2a7b22))throw _0x2a7b22['error'];const _0xe00fee=_0x2a7b22[_0x536d32(0x333)][0x0][_0x536d32(0x176)][_0x536d32(0x2c2)];Array[_0x536d32(0x37e)](_0xe00fee)&&_0xe00fee[_0x536d32(0xf8)]&&_0x1ed94f[_0x536d32(0x2ad)](_0xe00fee[0x0]);}};_0x36ef44=_0x1854a0([_0x3ba674(0x0,_0x2de7d2['ITransformService']),_0x3ba674(0x1,_0x2dd116['IRenderManagerService'])],_0x36ef44);var _0x15cea0=Object[_0x3db0e4(0x2d1)],_0x592019=(_0x587ddc,_0x4e061b,_0x53b522,_0x1866b4)=>{const _0x3c1841=_0x3db0e4;for(var _0x19ae5e=_0x1866b4>0x1?void 0x0:_0x1866b4?_0x15cea0(_0x4e061b,_0x53b522):_0x4e061b,_0x4933eb=_0x587ddc[_0x3c1841(0xf8)]-0x1,_0x7f5240;_0x4933eb>=0x0;_0x4933eb--)(_0x7f5240=_0x587ddc[_0x4933eb])&&(_0x19ae5e=_0x7f5240(_0x19ae5e)||_0x19ae5e);return _0x19ae5e;},_0x5f42e6=(_0x54fada,_0x4958bc)=>(_0x3c8ce7,_0x4d0669)=>_0x4958bc(_0x3c8ce7,_0x4d0669,_0x54fada);let _0x548941=class{constructor(_0x181f5b,_0x522514,_0x469993){this['_injector']=_0x181f5b,this['_transformService']=_0x522514,this['_docStateChangeManagerService']=_0x469993;}[_0x3db0e4(0x2ee)](_0x12772e){const _0x681f4a=_0x3db0e4;this[_0x681f4a(0x35a)](_0x12772e);}[_0x3db0e4(0x23e)](_0x299656){const _0xe5849b=_0x3db0e4,{unitID:_0x1dc15c}=_0x299656,{collaboration:_0x1f8f9c}=this['_docStateChangeManagerService']['getStateCache'](_0x1dc15c);if(_0x1f8f9c[_0xe5849b(0xf8)]===0x0)return _0x299656;let _0x272b37=_0x3f9956[_0xe5849b(0x38e)][_0xe5849b(0x366)](_0x299656[_0xe5849b(0x2d9)][0x0]);for(let _0x19db00=0x0;_0x19db00<_0x1f8f9c[_0xe5849b(0xf8)];_0x19db00++){const _0x5ed8d5={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1f8f9c[_0x19db00][_0xe5849b(0x2bc)],..._0x1f8f9c[_0x19db00][_0xe5849b(0x2af)]}},_0x40fa04=this[_0xe5849b(0x2da)][_0xe5849b(0x2eb)](_0x272b37,_0x5ed8d5,!0x1);if(_0x2de7d2[_0xe5849b(0x18d)](_0x40fa04))throw _0x40fa04['error'];_0x272b37=_0x40fa04['m1Prime'];}return{..._0x3f9956[_0xe5849b(0x38e)][_0xe5849b(0x366)](_0x299656),'mutations':[_0x272b37]};}[_0x3db0e4(0x35a)](_0x84fd74){const _0x5aa285=_0x3db0e4,{unitID:_0x205e51}=_0x84fd74,{history:_0x59f050,collaboration:_0x29d122}=this[_0x5aa285(0x2b3)][_0x5aa285(0x24e)](_0x205e51);if(_0x59f050[_0x5aa285(0xf8)]===0x0&&_0x29d122['length']===0x0)return;const _0x4ed5ff=[],_0x4f84e5=[];let _0x46cca1=_0x3f9956[_0x5aa285(0x38e)][_0x5aa285(0x366)](_0x84fd74['mutations'][0x0]),_0x56e0da=_0x3f9956[_0x5aa285(0x38e)][_0x5aa285(0x366)](_0x84fd74['mutations'][0x0]);for(let _0x3296d5=_0x59f050[_0x5aa285(0xf8)]-0x1;_0x3296d5>=0x0;_0x3296d5--){const _0x45dc86={'id':_0x5aa285(0x260),'params':{'unitId':_0x59f050[_0x3296d5][_0x5aa285(0x2bc)],..._0x59f050[_0x3296d5][_0x5aa285(0x290)]}},_0x5b2c9e={'id':_0x5aa285(0x260),'params':{'unitId':_0x59f050[_0x3296d5][_0x5aa285(0x2bc)],..._0x59f050[_0x3296d5]['redoState']}},_0x46e770=this['_transformService'][_0x5aa285(0x2eb)](_0x46cca1,_0x45dc86,!0x1),_0x315d64=this[_0x5aa285(0x2da)][_0x5aa285(0x2eb)](_0x56e0da,_0x5b2c9e,!0x1);if(_0x2de7d2['isTransformMutationFailure'](_0x46e770))throw _0x46e770[_0x5aa285(0x235)];if(_0x2de7d2[_0x5aa285(0x18d)](_0x315d64))throw _0x315d64[_0x5aa285(0x235)];_0x4ed5ff[_0x5aa285(0x177)]({..._0x59f050[_0x3296d5],'undoState':_0x46e770['m2Prime'][_0x5aa285(0x176)],'redoState':_0x315d64[_0x5aa285(0x333)][_0x5aa285(0x176)]}),_0x46cca1=_0x46e770[_0x5aa285(0x19d)],_0x56e0da=_0x315d64[_0x5aa285(0x19d)];}_0x46cca1=_0x3f9956[_0x5aa285(0x38e)]['deepClone'](_0x84fd74[_0x5aa285(0x2d9)][0x0]),_0x56e0da=_0x3f9956[_0x5aa285(0x38e)]['deepClone'](_0x84fd74[_0x5aa285(0x2d9)][0x0]);for(let _0x36ea2a=_0x29d122[_0x5aa285(0xf8)]-0x1;_0x36ea2a>=0x0;_0x36ea2a--){const _0x1c0fb6={'id':_0x5aa285(0x260),'params':{'unitId':_0x29d122[_0x36ea2a][_0x5aa285(0x2bc)],..._0x29d122[_0x36ea2a][_0x5aa285(0x290)]}},_0x48c2c1={'id':_0x5aa285(0x260),'params':{'unitId':_0x29d122[_0x36ea2a][_0x5aa285(0x2bc)],..._0x29d122[_0x36ea2a][_0x5aa285(0x2af)]}},_0x16c159=this[_0x5aa285(0x2da)]['transformMutation'](_0x46cca1,_0x1c0fb6,!0x1),_0xb9d0bc=this['_transformService'][_0x5aa285(0x2eb)](_0x56e0da,_0x48c2c1,!0x1);if(_0x2de7d2['isTransformMutationFailure'](_0x16c159))throw _0x16c159[_0x5aa285(0x235)];if(_0x2de7d2[_0x5aa285(0x18d)](_0xb9d0bc))throw _0xb9d0bc[_0x5aa285(0x235)];_0x4f84e5[_0x5aa285(0x177)]({..._0x29d122[_0x36ea2a],'undoState':_0x16c159[_0x5aa285(0x333)]['params'],'redoState':_0xb9d0bc[_0x5aa285(0x333)][_0x5aa285(0x176)]}),_0x46cca1=_0x16c159[_0x5aa285(0x19d)],_0x56e0da=_0xb9d0bc[_0x5aa285(0x19d)];}this[_0x5aa285(0x2b3)]['setStateCache'](_0x205e51,{'history':_0x4ed5ff,'collaboration':_0x4f84e5});}};_0x548941=_0x592019([_0x5f42e6(0x0,_0x3f9956['Inject'](_0x3f9956[_0x3db0e4(0x39d)])),_0x5f42e6(0x1,_0x2de7d2[_0x3db0e4(0x281)]),_0x5f42e6(0x2,_0x3f9956['Inject'](_0xa8c85b['DocStateChangeManagerService']))],_0x548941);var _0x5025bc=Object[_0x3db0e4(0x2d1)],_0x2a9bd5=(_0x3e13a7,_0x2bf32f,_0x4441bd,_0x48263c)=>{const _0x277239=_0x3db0e4;for(var _0x31ea98=_0x48263c>0x1?void 0x0:_0x48263c?_0x5025bc(_0x2bf32f,_0x4441bd):_0x2bf32f,_0x43253c=_0x3e13a7[_0x277239(0xf8)]-0x1,_0x450f3b;_0x43253c>=0x0;_0x43253c--)(_0x450f3b=_0x3e13a7[_0x43253c])&&(_0x31ea98=_0x450f3b(_0x31ea98)||_0x31ea98);return _0x31ea98;},_0x592d50=(_0x14bc60,_0x13a2c8)=>(_0x25f686,_0x4ce00b)=>_0x13a2c8(_0x25f686,_0x4ce00b,_0x14bc60);let _0x5573a9=class{constructor(_0x1963a5,_0x378956){const _0x26d9a3=_0x3db0e4;this[_0x26d9a3(0x15f)]=_0x1963a5,this[_0x26d9a3(0x2da)]=_0x378956;}[_0x3db0e4(0x119)](_0x760079){const _0x137678=_0x3db0e4;var _0x32a9b2;const _0x2af304=this['_injector']['get'](_0x333572['DocSelectionManagerService']),_0x31ce1c=(_0x32a9b2=_0x2af304[_0x137678(0x1ac)]())!=null?_0x32a9b2:[];if(_0x31ce1c['length']===0x0)return;const _0x17dd5c=_0x760079[_0x137678(0x297)],_0x3c5e54=[{'id':_0x137678(0x260),'params':{'unitId':_0x17dd5c,'actions':null,'textRanges':_0x31ce1c}}],_0x459e04=this[_0x137678(0x2da)][_0x137678(0x385)](_0x760079,_0x3c5e54);if(!_0x2de7d2['isTransformMutationsWithChangesetSuccess'](_0x459e04))throw _0x459e04[_0x137678(0x235)];const _0x21807d=_0x459e04[_0x137678(0x333)][0x0][_0x137678(0x176)]['textRanges'];Array[_0x137678(0x37e)](_0x21807d)&&_0x21807d['length']&&_0x2af304[_0x137678(0x36b)](_0x21807d,{'unitId':_0x17dd5c,'subUnitId':_0x17dd5c},!0x1);}};_0x5573a9=_0x2a9bd5([_0x592d50(0x0,_0x3f9956[_0x3db0e4(0x302)](_0x3f9956[_0x3db0e4(0x39d)])),_0x592d50(0x1,_0x2de7d2[_0x3db0e4(0x281)])],_0x5573a9);var _0x38d5eb=Object[_0x3db0e4(0x2d1)],_0x4fa85e=(_0x6be0c7,_0x329559,_0x645c4d,_0x4c22f4)=>{const _0x39335b=_0x3db0e4;for(var _0x383110=_0x4c22f4>0x1?void 0x0:_0x4c22f4?_0x38d5eb(_0x329559,_0x645c4d):_0x329559,_0x342f84=_0x6be0c7[_0x39335b(0xf8)]-0x1,_0x1de3e3;_0x342f84>=0x0;_0x342f84--)(_0x1de3e3=_0x6be0c7[_0x342f84])&&(_0x383110=_0x1de3e3(_0x383110)||_0x383110);return _0x383110;},_0x45f415=(_0x2512fc,_0x455dc7)=>(_0x20c5af,_0x349fec)=>_0x455dc7(_0x20c5af,_0x349fec,_0x2512fc);let _0x1f68e4=class extends _0x3f9956[_0x3db0e4(0x225)]{constructor(_0x3605cd,_0x589df7,_0x1055ab,_0x1d2e7c,_0x59cea2,_0x50f9a7,_0x2e19d8,_0x41061d){const _0x448d83=_0x3db0e4;super(),_0x442022(this,'_status$',new _0x6aec0[(_0x448d83(0x154))](_0x184317[_0x448d83(0x371)][_0x448d83(0x11b)])),(this[_0x448d83(0x2b3)]=_0x3605cd,this['_collaborationController']=_0x589df7,this[_0x448d83(0x391)]=_0x1055ab,this['_docTransformStateCacheService']=_0x1d2e7c,this[_0x448d83(0x1f7)]=_0x59cea2,this['_docSyncEditingCollabCursorService']=_0x50f9a7,this[_0x448d83(0x174)]=_0x2e19d8,this[_0x448d83(0x359)]=_0x41061d,this[_0x448d83(0xfc)]());}[_0x3db0e4(0xfc)](){const _0x3d8fc5=_0x3db0e4;this[_0x3d8fc5(0x20e)](this[_0x3d8fc5(0x34a)][_0x3d8fc5(0x3a6)][_0x3d8fc5(0x29b)](_0x55c1a0=>{const _0x5e535d=_0x3d8fc5,_0x79d48f=this[_0x5e535d(0x2b3)][_0x5e535d(0x3b6)][_0x5e535d(0x29b)](_0x52d9c2=>{const _0x48489d=_0x5e535d;if(_0x52d9c2==null)return;const {unitId:_0x2bc88d,redoState:_0x3cacd2,commandId:_0x14897e}=_0x52d9c2;if(_0x2bc88d!==_0x55c1a0[_0x48489d(0x297)])return;const _0x47d905={'id':_0x14897e,'type':_0x3f9956[_0x48489d(0x31b)]['MUTATION'],'params':{'unitId':_0x2bc88d,'actions':_0x3cacd2[_0x48489d(0x380)],'textRanges':null}};_0x55c1a0[_0x48489d(0x1d0)](_0x47d905);});if(_0x55c1a0[_0x5e535d(0x20e)](_0x79d48f),_0x55c1a0 instanceof _0x184317[_0x5e535d(0x13e)]){const _0x1dae51={'onTransformIME':_0x3a1ed5=>this['_docTransformIMECacheService'][_0x5e535d(0x1ca)](_0x3a1ed5),'onTransformState':_0x40bb14=>this[_0x5e535d(0x123)][_0x5e535d(0x2ee)](_0x40bb14),'onTransformSelections':_0x485339=>this[_0x5e535d(0x1f7)][_0x5e535d(0x119)](_0x485339),'onSyncEditingCollabCursor':_0x4885e1=>this[_0x5e535d(0x343)][_0x5e535d(0x1a4)](_0x4885e1),'onTransformRemoteChangesetByIMECache':_0x560d28=>this['_docTransformIMECacheService'][_0x5e535d(0x23e)](_0x560d28),'onTransformRemoteChangesetByStateCache':_0x2fb6ab=>this[_0x5e535d(0x123)]['transformRemoteChangeset'](_0x2fb6ab)};_0x55c1a0[_0x5e535d(0x183)](_0x1dae51);}}));}};_0x1f68e4=_0x4fa85e([_0x45f415(0x0,_0x3f9956[_0x3db0e4(0x302)](_0xa8c85b[_0x3db0e4(0x368)])),_0x45f415(0x1,_0x3f9956['Inject'](_0x184317[_0x3db0e4(0x206)])),_0x45f415(0x2,_0x3f9956[_0x3db0e4(0x302)](_0x36ef44)),_0x45f415(0x3,_0x3f9956['Inject'](_0x548941)),_0x45f415(0x4,_0x3f9956[_0x3db0e4(0x302)](_0x5573a9)),_0x45f415(0x5,_0x3f9956[_0x3db0e4(0x302)](_0x5e3cb6)),_0x45f415(0x6,_0x26d040[_0x3db0e4(0x30a)]),_0x45f415(0x7,_0x3f9956[_0x3db0e4(0x302)](_0x3f9956[_0x3db0e4(0x39e)]))],_0x1f68e4);var _0x2133b7=(_0x1d499e=>(_0x1d499e[_0x1d499e[_0x3db0e4(0x313)]=0x0]=_0x3db0e4(0x313),_0x1d499e[_0x1d499e['OK']=0x1]='OK',_0x1d499e[_0x1d499e['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x1d499e[_0x1d499e[_0x3db0e4(0x1be)]=0x3]=_0x3db0e4(0x1be),_0x1d499e[_0x1d499e[_0x3db0e4(0x38b)]=0x4]='NOT_FOUND',_0x1d499e[_0x1d499e[_0x3db0e4(0x23c)]=0x5]=_0x3db0e4(0x23c),_0x1d499e[_0x1d499e[_0x3db0e4(0x32b)]=0x6]=_0x3db0e4(0x32b),_0x1d499e[_0x1d499e['INVALID_ARGUMENT']=0x7]=_0x3db0e4(0x274),_0x1d499e[_0x1d499e[_0x3db0e4(0x38f)]=0x8]='TOO_MANY_REQUESTS',_0x1d499e[_0x1d499e[_0x3db0e4(0x147)]=0x9]=_0x3db0e4(0x147),_0x1d499e[_0x1d499e[_0x3db0e4(0x254)]=0xa]=_0x3db0e4(0x254),_0x1d499e[_0x1d499e[_0x3db0e4(0x23d)]=0xb]=_0x3db0e4(0x23d),_0x1d499e[_0x1d499e['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x3db0e4(0x16a),_0x1d499e[_0x1d499e[_0x3db0e4(0x351)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x1d499e[_0x1d499e[_0x3db0e4(0x234)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x1d499e[_0x1d499e[_0x3db0e4(0x321)]=0xf]=_0x3db0e4(0x321),_0x1d499e[_0x1d499e[_0x3db0e4(0x11c)]=0x10]=_0x3db0e4(0x11c),_0x1d499e[_0x1d499e[_0x3db0e4(0x1a0)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x1d499e[_0x1d499e[_0x3db0e4(0x13d)]=0x65]=_0x3db0e4(0x13d),_0x1d499e[_0x1d499e['USER_NOT_FOUND']=0xc9]='USER_NOT_FOUND',_0x1d499e[_0x1d499e[_0x3db0e4(0x300)]=0xca]=_0x3db0e4(0x300),_0x1d499e[_0x1d499e[_0x3db0e4(0x2e9)]=0x1389]=_0x3db0e4(0x2e9),_0x1d499e[_0x1d499e['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x3db0e4(0x196),_0x1d499e[_0x1d499e[_0x3db0e4(0xf1)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x1d499e[_0x1d499e[_0x3db0e4(0x335)]=0x1773]=_0x3db0e4(0x335),_0x1d499e[_0x1d499e['APPLY_REJECT']=0x1b59]=_0x3db0e4(0x215),_0x1d499e[_0x1d499e[_0x3db0e4(0x2b7)]=0x1b5a]=_0x3db0e4(0x2b7),_0x1d499e[_0x1d499e['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x3db0e4(0x23f),_0x1d499e[_0x1d499e[_0x3db0e4(0x3c3)]=0x1b5c]=_0x3db0e4(0x3c3),_0x1d499e[_0x1d499e[_0x3db0e4(0x175)]=0x1b5d]='APPLY_DUPLICATED',_0x1d499e[_0x1d499e[_0x3db0e4(0x1b1)]=0x1f41]=_0x3db0e4(0x1b1),_0x1d499e[_0x1d499e[_0x3db0e4(0x310)]=0x2329]=_0x3db0e4(0x310),_0x1d499e[_0x1d499e['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x1d499e[_0x1d499e['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x3db0e4(0x33e),_0x1d499e[_0x1d499e[_0x3db0e4(0x2c3)]=0x232c]=_0x3db0e4(0x2c3),_0x1d499e[_0x1d499e['LICENSE_DISTRO_REJECTED']=0x232d]=_0x3db0e4(0x21c),_0x1d499e[_0x1d499e[_0x3db0e4(0x32d)]=0x2711]=_0x3db0e4(0x32d),_0x1d499e[_0x1d499e[_0x3db0e4(0x200)]=0x2712]=_0x3db0e4(0x200),_0x1d499e[_0x1d499e[_0x3db0e4(0x13c)]=0x2713]=_0x3db0e4(0x13c),_0x1d499e[_0x1d499e[_0x3db0e4(0x20a)]=0x2714]=_0x3db0e4(0x20a),_0x1d499e[_0x1d499e[_0x3db0e4(0x121)]=0x271a]=_0x3db0e4(0x121),_0x1d499e[_0x1d499e[_0x3db0e4(0xf2)]=0x271b]=_0x3db0e4(0xf2),_0x1d499e[_0x1d499e['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x3db0e4(0x287),_0x1d499e[_0x1d499e[_0x3db0e4(0x24b)]=0x271d]=_0x3db0e4(0x24b),_0x1d499e[_0x1d499e[_0x3db0e4(0x2fa)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x1d499e[_0x1d499e[_0x3db0e4(0x32c)]=0x271f]=_0x3db0e4(0x32c),_0x1d499e[_0x1d499e[_0x3db0e4(0x38d)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x1d499e[_0x1d499e[_0x3db0e4(0x33a)]=0x2af9]=_0x3db0e4(0x33a),_0x1d499e[_0x1d499e[_0x3db0e4(0x1ec)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x1d499e[_0x1d499e[_0x3db0e4(0x3ba)]=0x2ee2]=_0x3db0e4(0x3ba),_0x1d499e[_0x1d499e[_0x3db0e4(0x1a3)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x1d499e[_0x1d499e['USER_NOT_INVITED_CODE']=0x2ee4]=_0x3db0e4(0x114),_0x1d499e[_0x1d499e[_0x3db0e4(0x2a5)]=0x2ee5]=_0x3db0e4(0x2a5),_0x1d499e[_0x1d499e[_0x3db0e4(0x318)]=0x32c9]=_0x3db0e4(0x318),_0x1d499e[_0x1d499e[_0x3db0e4(0x127)]=0x32ca]=_0x3db0e4(0x127),_0x1d499e[_0x1d499e[_0x3db0e4(0x250)]=0x32cb]=_0x3db0e4(0x250),_0x1d499e[_0x1d499e[_0x3db0e4(0x26e)]=0x36b1]=_0x3db0e4(0x26e),_0x1d499e[_0x1d499e[_0x3db0e4(0x181)]=0x36b2]=_0x3db0e4(0x181),_0x1d499e[_0x1d499e[_0x3db0e4(0x2ae)]=0x36b3]=_0x3db0e4(0x2ae),_0x1d499e[_0x1d499e[_0x3db0e4(0x219)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x1d499e[_0x1d499e[_0x3db0e4(0x134)]=0x3715]=_0x3db0e4(0x134),_0x1d499e[_0x1d499e[_0x3db0e4(0x39b)]=0x3716]=_0x3db0e4(0x39b),_0x1d499e[_0x1d499e['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x1d499e[_0x1d499e[_0x3db0e4(0x1d9)]=0x3a99]=_0x3db0e4(0x1d9),_0x1d499e[_0x1d499e['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x3db0e4(0x267),_0x1d499e[_0x1d499e[_0x3db0e4(0x35b)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x1d499e[_0x1d499e[_0x3db0e4(0x24c)]=0x3a9c]=_0x3db0e4(0x24c),_0x1d499e[_0x1d499e[_0x3db0e4(0x21d)]=0x3a9d]=_0x3db0e4(0x21d),_0x1d499e[_0x1d499e[_0x3db0e4(0x397)]=0x3a9e]=_0x3db0e4(0x397),_0x1d499e[_0x1d499e['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x3db0e4(0x2f6),_0x1d499e[_0x1d499e['UNRECOGNIZED']=-0x1]=_0x3db0e4(0x155),_0x1d499e))(_0x2133b7||{});function _0x4ba424(_0x153591){const _0x122f49=_0x3db0e4;var _0x321d2a,_0xb40a58;const _0x3bb665=(_0x321d2a=_0x153591[_0x122f49(0x2a2)])==null?void 0x0:_0x321d2a['stage'],_0x40324e=((_0xb40a58=_0x153591[_0x122f49(0x2a2)])==null?void 0x0:_0xb40a58['totalFormulasToCalculate'])||0x0;return _0x3bb665===_0x2c79d7['FormulaExecuteStageType'][_0x122f49(0x1dc)]&&_0x40324e>0x0;}function _0x11d8af(_0x5a71ee){const _0x28d976=_0x3db0e4;return _0x5a71ee[_0x28d976(0x2f5)]===_0x2c79d7[_0x28d976(0x2aa)]['SUCCESS'];}var _0x597314=Object[_0x3db0e4(0x2d1)],_0x24d578=(_0x458c03,_0x59a53a,_0x2f6326,_0x269811)=>{for(var _0x8b5db4=_0x269811>0x1?void 0x0:_0x269811?_0x597314(_0x59a53a,_0x2f6326):_0x59a53a,_0x1a7280=_0x458c03['length']-0x1,_0x15e7e9;_0x1a7280>=0x0;_0x1a7280--)(_0x15e7e9=_0x458c03[_0x1a7280])&&(_0x8b5db4=_0x15e7e9(_0x8b5db4)||_0x8b5db4);return _0x8b5db4;},_0x4de614=(_0x501363,_0x28c48e)=>(_0x33981f,_0x4134df)=>_0x28c48e(_0x33981f,_0x4134df,_0x501363);const _0x1ec8ac='/universer-api/license/formula/limit/status',_0x43f063=_0x3db0e4(0x2de),_0x4c95f8=_0x3db0e4(0x266);let _0x886def=class extends _0x3f9956[_0x3db0e4(0x225)]{constructor(_0x16c463,_0x4523b2,_0x1eeb1c,_0x14508e,_0x3496eb,_0x5aaf21,_0x44738e){const _0x15923a=_0x3db0e4;super(),_0x442022(this,_0x15923a(0x378),null),_0x442022(this,_0x15923a(0x101),0x0),_0x442022(this,_0x15923a(0x27a),0x0),_0x442022(this,'_taskIds',[]),_0x442022(this,_0x15923a(0x208),0x0),(this[_0x15923a(0x174)]=_0x16c463,this[_0x15923a(0x278)]=_0x4523b2,this['_configService']=_0x1eeb1c,this['_httpService']=_0x14508e,this[_0x15923a(0x205)]=_0x3496eb,this[_0x15923a(0x237)]=_0x5aaf21,this[_0x15923a(0x359)]=_0x44738e,this[_0x15923a(0x36c)]());}[_0x3db0e4(0x36c)](){const _0xc53e86=_0x3db0e4;this[_0xc53e86(0x20e)](this[_0xc53e86(0x278)]['beforeCommandExecuted']((_0xb0122f,_0x1e2709)=>{const _0x154fbb=_0xc53e86;if(_0xb0122f['id']!==_0x2c79d7['SetFormulaCalculationStartMutation']['id'])return;const _0x1bd76=_0xb0122f[_0x154fbb(0x176)];if(!this[_0x154fbb(0x3bb)](_0x1bd76[_0x154fbb(0x338)]))return;if(!this[_0x154fbb(0x11f)]())throw this[_0x154fbb(0x1e0)](_0xb0122f,_0x1e2709),this[_0x154fbb(0x26c)](),new _0x3f9956[(_0x154fbb(0x2f1))]();})),this[_0xc53e86(0x20e)](this[_0xc53e86(0x278)][_0xc53e86(0x14d)]((_0x4f5cae,_0x5dd8eb)=>{const _0x19275a=_0xc53e86;if(_0x4f5cae['id']!==_0x2c79d7['SetFormulaCalculationNotificationMutation']['id'])return;const _0x1e7af7=_0x4f5cae[_0x19275a(0x176)];if(_0x4ba424(_0x1e7af7)){const _0x15c139=_0x3f9956['generateRandomId']();this[_0x19275a(0x2c1)][_0x19275a(0x1ae)](_0x15c139),this['_startCalculationLimit'](_0x15c139);}else{if(_0x11d8af(_0x1e7af7)&&this[_0x19275a(0x2c1)][_0x19275a(0xf8)]>0x0){const _0x21465b=this[_0x19275a(0x2c1)][_0x19275a(0x1d1)]();this[_0x19275a(0x296)](_0x21465b);}}}));}[_0x3db0e4(0x14f)](){const _0x4e517f=_0x3db0e4;super[_0x4e517f(0x14f)](),this[_0x4e517f(0x31a)](),this['_taskIds']=[],this['_currentUsage']=0x0,this[_0x4e517f(0x101)]=0x0,this[_0x4e517f(0x208)]=0x0;}async[_0x3db0e4(0x1e0)](_0xc6268f,_0x2085b4){const _0x3abd0f=_0x3db0e4;for(let _0x51c242=0x0;_0x51c242<0x1e;_0x51c242++)try{if(await this[_0x3abd0f(0x1b3)](),this[_0x3abd0f(0x11f)]()){this[_0x3abd0f(0x26b)](_0xc6268f,_0x2085b4),this[_0x3abd0f(0x174)][_0x3abd0f(0x2c7)]({'content':this['_localeService']['t'](_0x3abd0f(0x233)),'type':_0x3fc7ae['MessageType'][_0x3abd0f(0x210)]});return;}await new Promise(_0x1dc29a=>{const _0x364fe1=_0x3abd0f;this[_0x364fe1(0x378)]=window[_0x364fe1(0x2f2)](_0x1dc29a,0x3e8);});}catch(_0x24352d){this[_0x3abd0f(0x237)]['error'](_0x24352d);}this[_0x3abd0f(0x174)][_0x3abd0f(0x2c7)]({'content':this['_localeService']['t'](_0x3abd0f(0x103)),'type':_0x3fc7ae[_0x3abd0f(0x25c)][_0x3abd0f(0x136)]});}[_0x3db0e4(0x26b)](_0x2e6a87,_0x174eda){const _0x22cb27=_0x3db0e4;try{this['_commandService']['executeCommand'](_0x2e6a87['id'],_0x2e6a87[_0x22cb27(0x176)],_0x174eda);}catch(_0x2ee5d5){this[_0x22cb27(0x237)]['error'](_0x2ee5d5);}}[_0x3db0e4(0x1b7)](_0x124c3e,_0x573a17){const _0x250da5=_0x3db0e4;_0x573a17<this[_0x250da5(0x208)]||(this[_0x250da5(0x208)]=_0x573a17,this[_0x250da5(0x101)]=Number[_0x250da5(0x14b)](_0x124c3e['maxFormulaLimit']),this[_0x250da5(0x27a)]=Number[_0x250da5(0x14b)](_0x124c3e['currentUsage']));}async[_0x3db0e4(0x1e6)](_0x8ded00){const _0x3298b1=_0x3db0e4;var _0x3b7c24,_0x1ef674;const _0x39792a=Date['now']();try{const _0x3a72c5=((_0x3b7c24=this[_0x3298b1(0x358)][_0x3298b1(0x2f9)](_0x184317[_0x3298b1(0x239)]))==null?void 0x0:_0x3b7c24[_0x3298b1(0x124)])||_0x43f063,_0x59cc5a=(await this[_0x3298b1(0x374)]['post'](_0x3a72c5,{'body':JSON[_0x3298b1(0x1a2)]({'taskId':_0x8ded00})}))['body'];if(((_0x1ef674=_0x59cc5a[_0x3298b1(0x235)])==null?void 0x0:_0x1ef674[_0x3298b1(0x2dd)])!==_0x2133b7['OK'])return;this['_setFormulaLimitStatus'](_0x59cc5a['limitInfo'],_0x39792a);}catch(_0x5223cc){this['_logService']['error'](_0x5223cc);}}async[_0x3db0e4(0x1b3)](_0x111b9c){const _0x388f16=_0x3db0e4;var _0xcf54e2,_0x2e15c2;const _0x1e5a6f=Date['now']();try{const _0x1f8209=((_0xcf54e2=this[_0x388f16(0x358)][_0x388f16(0x2f9)](_0x184317['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0xcf54e2[_0x388f16(0x262)])||_0x1ec8ac,_0x4c55fa=_0x111b9c?_0x1f8209+'?taskId='+encodeURIComponent(_0x111b9c):_0x1f8209,_0x409c5d=(await this[_0x388f16(0x374)][_0x388f16(0x392)](_0x4c55fa))[_0x388f16(0x26a)];if(((_0x2e15c2=_0x409c5d['error'])==null?void 0x0:_0x2e15c2[_0x388f16(0x2dd)])!==_0x2133b7['OK'])return;this[_0x388f16(0x1b7)](_0x409c5d[_0x388f16(0x22a)],_0x1e5a6f);}catch(_0x33581a){this[_0x388f16(0x237)][_0x388f16(0x235)](_0x33581a);}}async[_0x3db0e4(0x296)](_0x40f87d){const _0x55ff4f=_0x3db0e4;var _0x28e639,_0x1b7001;const _0x206edd=Date['now']();try{const _0xc1cdab=((_0x28e639=this['_configService'][_0x55ff4f(0x2f9)](_0x184317['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x28e639[_0x55ff4f(0xfa)])||_0x4c95f8,_0x5d7371=(await this['_httpService'][_0x55ff4f(0x301)](_0xc1cdab,{'body':JSON[_0x55ff4f(0x1a2)]({'taskId':_0x40f87d})}))[_0x55ff4f(0x26a)];if(((_0x1b7001=_0x5d7371[_0x55ff4f(0x235)])==null?void 0x0:_0x1b7001[_0x55ff4f(0x2dd)])!==_0x2133b7['OK'])return;this['_setFormulaLimitStatus'](_0x5d7371['limitInfo'],_0x206edd);}catch(_0x36828e){this[_0x55ff4f(0x237)][_0x55ff4f(0x235)](_0x36828e);}}[_0x3db0e4(0x11f)](){const _0x47582a=_0x3db0e4;return this['_maxFormulaLimit']===0x0?!0x0:this['_maxFormulaLimit']-this[_0x47582a(0x27a)]>0x0;}[_0x3db0e4(0x31a)](){const _0x4d6fa=_0x3db0e4;this['_pollingInterval']&&(clearTimeout(this[_0x4d6fa(0x378)]),this[_0x4d6fa(0x378)]=null);}[_0x3db0e4(0x26c)](){const _0x3d7805=_0x3db0e4;this['_messageService']['show']({'content':this[_0x3d7805(0x359)]['t'](_0x3d7805(0x2fe)),'type':_0x3fc7ae[_0x3d7805(0x25c)][_0x3d7805(0x153)]});}[_0x3db0e4(0x3bb)](_0x589e30){const _0x607e54=_0x3db0e4;for(const _0x193bae of _0x589e30){const {unitId:_0x556506,sheetId:_0x415d29,range:_0x573c78}=_0x193bae,_0x56a1ab=this[_0x607e54(0x205)][_0x607e54(0xfe)](_0x556506);if(!_0x56a1ab)continue;const _0x2fb467=_0x56a1ab[_0x607e54(0x36f)](_0x415d29);if(!_0x2fb467)continue;const _0x2d3120=_0x2fb467[_0x607e54(0x216)]();for(let _0x2a60b5=_0x573c78[_0x607e54(0x16c)];_0x2a60b5<=_0x573c78[_0x607e54(0x398)];_0x2a60b5++)for(let _0xbc0d2b=_0x573c78[_0x607e54(0x14c)];_0xbc0d2b<=_0x573c78[_0x607e54(0x308)];_0xbc0d2b++){const _0x12c0cb=_0x2d3120[_0x607e54(0x1d4)](_0x2a60b5,_0xbc0d2b);if(_0x12c0cb&&(_0x3f9956[_0x607e54(0x19f)](_0x12c0cb['f'])||_0x3f9956[_0x607e54(0x111)](_0x12c0cb['si'])))return!0x0;}}return!0x1;}};_0x886def=_0x24d578([_0x4de614(0x0,_0x3f9956[_0x3db0e4(0x302)](_0x26d040[_0x3db0e4(0x30a)])),_0x4de614(0x1,_0x3f9956[_0x3db0e4(0x30c)]),_0x4de614(0x2,_0x3f9956[_0x3db0e4(0x125)]),_0x4de614(0x3,_0x3f9956[_0x3db0e4(0x302)](_0x2b426c['HTTPService'])),_0x4de614(0x4,_0x3f9956['IUniverInstanceService']),_0x4de614(0x5,_0x3f9956['ILogService']),_0x4de614(0x6,_0x3f9956[_0x3db0e4(0x302)](_0x3f9956[_0x3db0e4(0x39e)]))],_0x886def);var _0x21fb74=Object[_0x3db0e4(0x2d1)],_0x4da7ea=(_0x4e8030,_0x857cb6,_0x16180a,_0x5c1487)=>{const _0xbcb1c1=_0x3db0e4;for(var _0x2847a8=_0x5c1487>0x1?void 0x0:_0x5c1487?_0x21fb74(_0x857cb6,_0x16180a):_0x857cb6,_0x263568=_0x4e8030[_0xbcb1c1(0xf8)]-0x1,_0xe51a24;_0x263568>=0x0;_0x263568--)(_0xe51a24=_0x4e8030[_0x263568])&&(_0x2847a8=_0xe51a24(_0x2847a8)||_0x2847a8);return _0x2847a8;},_0x2ef050=(_0x56fa6c,_0x3893e1)=>(_0xa530c7,_0x15c35d)=>_0x3893e1(_0xa530c7,_0x15c35d,_0x56fa6c);let _0x12d161=class extends _0x3f9956['Disposable']{constructor(_0x95d11c,_0x241212,_0x1d1670){const _0x54485a=_0x3db0e4;super(),_0x442022(this,_0x54485a(0x276),new Map()),_0x442022(this,_0x54485a(0x1a6),new Map()),_0x442022(this,_0x54485a(0x2b8),!0x1),(this[_0x54485a(0x358)]=_0x95d11c,this[_0x54485a(0x3b7)]=_0x241212,this[_0x54485a(0x25e)]=_0x1d1670);}[_0x3db0e4(0x2e0)](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x525015=_0x3db0e4;this[_0x525015(0x2b8)]=!0x1;}get[_0x3db0e4(0x344)](){const _0x19f75a=_0x3db0e4;return this[_0x19f75a(0x1a6)];}['dispose'](){const _0x53f32f=_0x3db0e4;this[_0x53f32f(0x118)]()[_0x53f32f(0x354)](()=>super['dispose']());}async[_0x3db0e4(0x1de)](_0x57c9fa){const _0x12b4bb=_0x3db0e4;return this['_disabled']?null:this[_0x12b4bb(0x3b7)][_0x12b4bb(0x25a)](_0x184317[_0x12b4bb(0x198)](_0x57c9fa));}async[_0x3db0e4(0x220)](_0x5be8a8,_0x50deb7){const _0x417b0e=_0x3db0e4;return!!this[_0x417b0e(0x3b7)][_0x417b0e(0x367)](_0x5be8a8,_0x50deb7);}[_0x3db0e4(0x133)](_0x1614d4,_0x4fd9b0,_0x340d36,_0x64c4b4){const _0x241b40=_0x3db0e4,_0x3cf832=this[_0x241b40(0x25e)][_0x241b40(0x13b)](_0x1614d4);this[_0x241b40(0x276)]['set'](_0x1614d4,{'unitID':_0x1614d4,'type':_0x4fd9b0,'awaitingChangeset':_0x340d36,'mutations':_0x64c4b4,'rev':_0x3cf832}),this[_0x241b40(0x1a6)]['has'](_0x1614d4)||this[_0x241b40(0x16e)](_0x1614d4);}[_0x3db0e4(0x16e)](_0x9ccb47){const _0x33af6c=_0x3db0e4,_0x1c2ec1=this['_getSaveTimeout']();_0x1c2ec1===0x0?this['_saveCache'](_0x9ccb47):this[_0x33af6c(0x1a6)][_0x33af6c(0x26f)](_0x9ccb47,setTimeout(()=>this[_0x33af6c(0x2a0)](_0x9ccb47),_0x1c2ec1));}[_0x3db0e4(0x144)](){const _0x456caf=_0x3db0e4;var _0x207c8f;return(_0x207c8f=this['_configService'][_0x456caf(0x2f9)](_0x184317[_0x456caf(0x1a8)]))!=null?_0x207c8f:_0x184317[_0x456caf(0x280)];}[_0x3db0e4(0x2a0)](_0x532e33){const _0xb8174d=_0x3db0e4,_0x5fc44d=this[_0xb8174d(0x1a6)][_0xb8174d(0x392)](_0x532e33);return _0x5fc44d!==void 0x0&&window['clearTimeout'](_0x5fc44d),this[_0xb8174d(0x3b7)][_0xb8174d(0x367)](_0x184317[_0xb8174d(0x198)](_0x532e33),this[_0xb8174d(0x276)][_0xb8174d(0x392)](_0x532e33))['then'](()=>this[_0xb8174d(0x1a6)]['delete'](_0x532e33));}async[_0x3db0e4(0x118)](){const _0x182054=_0x3db0e4,_0x26995b=[];this[_0x182054(0x1a6)][_0x182054(0x29f)]((_0x46c38d,_0x57a81f)=>{const _0x3ac2bf=_0x182054;window['clearTimeout'](_0x46c38d),_0x26995b[_0x3ac2bf(0x1ae)](this['_saveCache'](_0x57a81f)['then'](()=>{const _0x345631=_0x3ac2bf;this[_0x345631(0x1a6)]['delete'](_0x57a81f);}));}),await Promise[_0x182054(0x24a)](_0x26995b);}};_0x12d161=_0x4da7ea([_0x2ef050(0x0,_0x3f9956[_0x3db0e4(0x125)]),_0x2ef050(0x1,_0x3f9956['ILocalStorageService']),_0x2ef050(0x2,_0x3f9956[_0x3db0e4(0x302)](_0x2de7d2['RevisionService']))],_0x12d161);class _0x2d9519 extends _0x3f9956['RxDisposable']{constructor(){const _0x40879c=_0x3db0e4;super(),_0x442022(this,'urlChange$'),this[_0x40879c(0x25f)]=_0x6aec0[_0x40879c(0x1c4)](window,'popstate')[_0x40879c(0xf7)](_0x6aec0[_0x40879c(0x277)](this['dispose$']),_0x6aec0[_0x40879c(0x34f)](0x1),_0x6aec0[_0x40879c(0x1d7)](void 0x0));}[_0x3db0e4(0x270)](_0x4a5e4d,_0x19be5a,_0x1d0870=!0x1){const _0x4d05d0=_0x3db0e4,_0x4ced24=new URL(window['location'][_0x4d05d0(0x2ce)]);_0x4ced24['searchParams'][_0x4d05d0(0x26f)](_0x4a5e4d,_0x19be5a),_0x1d0870?window[_0x4d05d0(0x204)][_0x4d05d0(0x1bf)]('','',_0x4ced24[_0x4d05d0(0x14a)]()):window['history'][_0x4d05d0(0x1b9)]('','',_0x4ced24[_0x4d05d0(0x14a)]());}[_0x3db0e4(0x15b)](_0x8060ef,_0x5991ff=!0x1){const _0x22c852=_0x3db0e4,_0x36dd80=new URL(window[_0x22c852(0x28b)][_0x22c852(0x2ce)]);_0x36dd80[_0x22c852(0x3b1)][_0x22c852(0x1ce)](_0x8060ef),_0x5991ff?window[_0x22c852(0x204)][_0x22c852(0x1bf)]('','',_0x36dd80[_0x22c852(0x14a)]()):window['history']['pushState']('','',_0x36dd80['toString']());}['getParam'](_0x22d446){const _0x4c7e5d=_0x3db0e4;var _0x357bcd;return(_0x357bcd=new URL(window[_0x4c7e5d(0x28b)][_0x4c7e5d(0x2ce)])[_0x4c7e5d(0x3b1)][_0x4c7e5d(0x392)](_0x22d446))!=null?_0x357bcd:void 0x0;}}var _0x51b1b3=Object[_0x3db0e4(0x197)],_0xb42762=Object[_0x3db0e4(0x2d1)],_0x1a038d=(_0x3b6925,_0x11057b,_0x4a8339)=>_0x11057b in _0x3b6925?_0x51b1b3(_0x3b6925,_0x11057b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4a8339}):_0x3b6925[_0x11057b]=_0x4a8339,_0x816194=(_0x55c300,_0x5d594b,_0x5ce116,_0x1ef2d2)=>{const _0x1b621b=_0x3db0e4;for(var _0x4e2f97=_0x1ef2d2>0x1?void 0x0:_0x1ef2d2?_0xb42762(_0x5d594b,_0x5ce116):_0x5d594b,_0x3674ac=_0x55c300[_0x1b621b(0xf8)]-0x1,_0x36bf13;_0x3674ac>=0x0;_0x3674ac--)(_0x36bf13=_0x55c300[_0x3674ac])&&(_0x4e2f97=_0x36bf13(_0x4e2f97)||_0x4e2f97);return _0x4e2f97;},_0x2d7b65=(_0x5c6a4b,_0x199710)=>(_0x20ac5c,_0x458d6c)=>_0x199710(_0x20ac5c,_0x458d6c,_0x5c6a4b),_0x4648a2=(_0x4ac198,_0x58d38c,_0x321670)=>_0x1a038d(_0x4ac198,_0x58d38c+'',_0x321670);const _0x116df3=_0x3db0e4(0x13f);_0x4205ba[_0x3db0e4(0x109)]=class extends _0x3f9956[_0x3db0e4(0x379)]{constructor(_0x3d4ffa=_0xd1a49e,_0xf68f41,_0x3b9b43,_0xd4cf6){const _0xd9043e=_0x3db0e4;super(),this[_0xd9043e(0x28a)]=_0x3d4ffa,this[_0xd9043e(0x1e4)]=_0xf68f41,this['_injector']=_0x3b9b43,this['_configService']=_0xd4cf6;const {..._0x43aadf}=_0x3f9956[_0xd9043e(0x37b)]({},_0xd1a49e,this['_config']);this[_0xd9043e(0x358)][_0xd9043e(0x163)](_0x512303,_0x43aadf);}[_0x3db0e4(0x3a2)](){const _0x805cb7=_0x3db0e4;this[_0x805cb7(0x24d)](),this[_0x805cb7(0x1b4)]();}[_0x3db0e4(0x211)](){const _0x178d2d=_0x3db0e4;this[_0x178d2d(0x303)]();}[_0x3db0e4(0x24d)](){const _0x1a8f76=_0x3db0e4;var _0x1a0d6a;const _0x44f97d=[[_0x5cb38a],[_0x886def],[_0x5573a9],[_0x36ef44],[_0x548941],[_0x5e3cb6],[_0x3958fd,{'useClass':_0x2d9519}],[_0x2b426c[_0x1a8f76(0x32f)],{'useClass':_0x2b426c[_0x1a8f76(0x263)]}],[_0x184317[_0x1a8f76(0x3b9)],{'useClass':_0x12d161}],[_0x4205ba[_0x1a8f76(0x171)]],[_0x1f68e4],[_0x395203],[_0x135bf3],[_0x5c2573],[_0x4205ba[_0x1a8f76(0x309)]]];_0x3f9956[_0x1a8f76(0x361)](this[_0x1a8f76(0x15f)],_0x3f9956[_0x1a8f76(0x169)](_0x44f97d,(_0x1a0d6a=this[_0x1a8f76(0x28a)])==null?void 0x0:_0x1a0d6a[_0x1a8f76(0x130)]));}[_0x3db0e4(0x303)](){const _0x54950e=_0x3db0e4;this[_0x54950e(0x20e)](this[_0x54950e(0x1e4)]['registerRenderModule'](_0x3f9956['UniverInstanceType'][_0x54950e(0x257)],[_0x5ddb20])),this[_0x54950e(0x20e)](this[_0x54950e(0x1e4)]['registerRenderModule'](_0x3f9956[_0x54950e(0x100)][_0x54950e(0xff)],[_0x345a73]));}['_initDependencies'](){const _0x14180b=_0x3db0e4;_0x3f9956[_0x14180b(0x261)](this[_0x14180b(0x15f)],[[_0x135bf3],[_0x4205ba[_0x14180b(0x171)]],[_0x1f68e4],[_0x395203],[_0x4205ba[_0x14180b(0x309)]],[_0x886def]]);}},_0x4648a2(_0x4205ba[_0x3db0e4(0x109)],_0x3db0e4(0x1a5),_0x116df3),_0x4205ba[_0x3db0e4(0x109)]=_0x816194([_0x3f9956[_0x3db0e4(0x305)](_0x184317[_0x3db0e4(0x317)]),_0x2d7b65(0x1,_0x2dd116[_0x3db0e4(0x16d)]),_0x2d7b65(0x2,_0x3f9956[_0x3db0e4(0x302)](_0x3f9956[_0x3db0e4(0x39d)])),_0x2d7b65(0x3,_0x3f9956['IConfigService'])],_0x4205ba[_0x3db0e4(0x109)]);var _0x329167=Object['getOwnPropertyDescriptor'],_0xfa9c7=(_0x3307f0,_0x3d6801,_0x48fbc2,_0x7d36bf)=>{const _0x515c1b=_0x3db0e4;for(var _0x4d9e5e=_0x7d36bf>0x1?void 0x0:_0x7d36bf?_0x329167(_0x3d6801,_0x48fbc2):_0x3d6801,_0x4c8d58=_0x3307f0[_0x515c1b(0xf8)]-0x1,_0x52c0e7;_0x4c8d58>=0x0;_0x4c8d58--)(_0x52c0e7=_0x3307f0[_0x4c8d58])&&(_0x4d9e5e=_0x52c0e7(_0x4d9e5e)||_0x4d9e5e);return _0x4d9e5e;},_0x58eaf8=(_0x9d52c,_0x2ed8c0)=>(_0x2177bd,_0x312edc)=>_0x2ed8c0(_0x2177bd,_0x312edc,_0x9d52c);_0x4205ba[_0x3db0e4(0x3c1)]=class extends _0x184317[_0x3db0e4(0x316)]{constructor(_0x325262,_0x2dbe83,_0x271afb,_0x2358b2,_0x5dd88a){super(_0x325262,_0x2dbe83,_0x271afb,_0x2358b2,_0x5dd88a);}async[_0x3db0e4(0x275)](_0x1be1a3){const _0x175fe4=_0x3db0e4,_0x53d1e7=await this[_0x175fe4(0xfd)](),_0x567a36=this[_0x175fe4(0x285)](_0x1be1a3,_0x53d1e7);return this[_0x175fe4(0x1e8)](_0x567a36);}[_0x3db0e4(0x285)](_0x13e558,_0x32f91f){const _0x322a8c=_0x3db0e4,_0x4d4fd3=typeof window>'u'?new URL(_0x13e558):new URL(_0x13e558,window[_0x322a8c(0x28b)][_0x322a8c(0x312)]);_0x4d4fd3[_0x322a8c(0x3b1)][_0x322a8c(0x26f)]('sessionTicket',_0x32f91f);const _0x3e1e20=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x322a8c(0x252)]);return _0x3e1e20[_0x322a8c(0x392)](_0x322a8c(0x25b))&&_0x4d4fd3[_0x322a8c(0x3b1)][_0x322a8c(0x26f)](_0x322a8c(0x25b),_0x3e1e20['get'](_0x322a8c(0x25b))),_0x4d4fd3['toString']();}async[_0x3db0e4(0xfd)](){const _0x5ca5c8=_0x3db0e4;var _0x16d7cf,_0xeab27b,_0x5e47cc;const _0x5c59c5=this[_0x5ca5c8(0x358)][_0x5ca5c8(0x2f9)](_0x184317[_0x5ca5c8(0x239)]),_0x1572f7=(_0x16d7cf=_0x5c59c5==null?void 0x0:_0x5c59c5[_0x5ca5c8(0x231)])!=null?_0x16d7cf:_0x184317[_0x5ca5c8(0x341)];return(_0x5e47cc=(_0xeab27b=(await this[_0x5ca5c8(0x374)]['get'](_0x1572f7,{'headers':{'Content-Type':_0x5ca5c8(0x2d5)}}))[_0x5ca5c8(0x26a)])==null?void 0x0:_0xeab27b[_0x5ca5c8(0x373)])!=null?_0x5e47cc:'';}},_0x4205ba[_0x3db0e4(0x3c1)]=_0xfa9c7([_0x58eaf8(0x0,_0x3f9956[_0x3db0e4(0x302)](_0x3f9956[_0x3db0e4(0x39d)])),_0x58eaf8(0x1,_0x3f9956[_0x3db0e4(0x302)](_0x2b426c['HTTPService'])),_0x58eaf8(0x2,_0x3f9956['IConfigService']),_0x58eaf8(0x3,_0x3f9956[_0x3db0e4(0x2d2)]),_0x58eaf8(0x4,_0x2de7d2['ISnapshotServerService'])],_0x4205ba[_0x3db0e4(0x3c1)]);var _0x2788d7=Object[_0x3db0e4(0x2d1)],_0x39901d=(_0x10ac05,_0x3c63a6,_0x3847ea,_0x3689ae)=>{const _0x4f8e1d=_0x3db0e4;for(var _0x1b7039=_0x3689ae>0x1?void 0x0:_0x3689ae?_0x2788d7(_0x3c63a6,_0x3847ea):_0x3c63a6,_0x2ec4f1=_0x10ac05[_0x4f8e1d(0xf8)]-0x1,_0x13162b;_0x2ec4f1>=0x0;_0x2ec4f1--)(_0x13162b=_0x10ac05[_0x2ec4f1])&&(_0x1b7039=_0x13162b(_0x1b7039)||_0x1b7039);return _0x1b7039;},_0x165fde=(_0x439124,_0x198f79)=>(_0x3cfbbd,_0x41b966)=>_0x198f79(_0x3cfbbd,_0x41b966,_0x439124);_0x4205ba['RemoteUniscriptService']=class extends _0x3f9956['Disposable']{constructor(_0x4ed7ac,_0x34a243,_0x7f9ab5){const _0x1f9745=_0x3db0e4;super(),this[_0x1f9745(0x242)]=_0x4ed7ac,this[_0x1f9745(0x374)]=_0x34a243,this[_0x1f9745(0x358)]=_0x7f9ab5;}async[_0x3db0e4(0x388)](_0x1dc3a0,_0x252fcd,_0xe99942,..._0x2c83df){const _0xe8fd5=_0x3db0e4;var _0x3e2f05,_0x7729f6,_0x19b87f,_0xefa383;const _0x3b66a6=this[_0xe8fd5(0x242)]['getFocusedUnit']();if(!_0x3b66a6)throw new Error(_0xe8fd5(0x255));const _0x334cba=((_0x3e2f05=this[_0xe8fd5(0x358)]['getConfig'](_0x184317[_0xe8fd5(0x31d)]))!=null?_0x3e2f05:_0x184317[_0xe8fd5(0x294)])+'/'+_0x1dc3a0+_0xe8fd5(0x182)+_0x252fcd,_0x8c02e4=new URL(window[_0xe8fd5(0x28b)][_0xe8fd5(0x2ce)]),_0x4e9448={'scriptId':_0x1dc3a0,'runId':(_0x7729f6=_0x8c02e4[_0xe8fd5(0x3b1)]['get']('runId'))!=null?_0x7729f6:'','function':_0x252fcd,'unitId':_0x3b66a6[_0xe8fd5(0x3aa)](),'argsOfFunction':JSON[_0xe8fd5(0x1a2)](_0x2c83df),'invokeId':(_0x19b87f=_0xe99942[_0xe8fd5(0x1af)])!=null?_0x19b87f:'','executionId':(_0xefa383=_0xe99942[_0xe8fd5(0x193)])!=null?_0xefa383:''};try{const _0x29057b=await this[_0xe8fd5(0x374)][_0xe8fd5(0x301)](_0x334cba,{'body':_0x4e9448});return _0x29057b[_0xe8fd5(0x26a)][_0xe8fd5(0x235)]&&_0x29057b[_0xe8fd5(0x26a)][_0xe8fd5(0x235)]['code']!==_0x2133b7['OK']?_0xe8fd5(0x158):_0x29057b['body'][_0xe8fd5(0x259)];}catch{return _0xe8fd5(0x158);}}},_0x4205ba[_0x3db0e4(0x2ed)]=_0x39901d([_0x165fde(0x0,_0x3f9956[_0x3db0e4(0x264)]),_0x165fde(0x1,_0x3f9956[_0x3db0e4(0x302)](_0x2b426c[_0x3db0e4(0x349)])),_0x165fde(0x2,_0x3f9956[_0x3db0e4(0x125)])],_0x4205ba[_0x3db0e4(0x2ed)]);const _0x2a64ff=0x7530,_0x4250c9=_0x3db0e4(0x22c);class _0x567343 extends _0x3f9956[_0x3db0e4(0x225)]{constructor(){const _0x35850e=_0x3db0e4;super(),_0x442022(this,_0x35850e(0x2bd),_0x3f9956[_0x35850e(0x17e)]()),_0x442022(this,_0x35850e(0x2bb),new Set()),_0x442022(this,_0x35850e(0x314),new Map()),_0x442022(this,'_heartbeatTimer',null),_0x442022(this,_0x35850e(0x2b6),new Map()),_0x442022(this,_0x35850e(0x364),new Map()),this['_init']();}[_0x3db0e4(0x14f)](){const _0x189b5c=_0x3db0e4;super[_0x189b5c(0x14f)](),this['_clearOtherTimers'][_0x189b5c(0x29f)]((_0x1cd9db,_0x2f352e)=>this[_0x189b5c(0x19a)](_0x2f352e)),this[_0x189b5c(0x2e2)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x3db0e4(0x293)](_0x1cc832){const _0x4c0df2=_0x3db0e4;return this[_0x4c0df2(0x10a)](_0x1cc832)[_0x4c0df2(0xf7)](_0x6aec0['distinctUntilChanged']());}[_0x3db0e4(0x214)](_0x5747fd){const _0x424e3b=_0x3db0e4;this['_selfUnitIDs'][_0x424e3b(0x137)]===0x0&&this[_0x424e3b(0x20b)](),this[_0x424e3b(0x2bb)][_0x424e3b(0x2d8)](_0x5747fd),this[_0x424e3b(0x3c0)]({'type':0x0,'memberID':this[_0x424e3b(0x2bd)],'unitIDs':[_0x5747fd],'isForwarded':!0x1});}[_0x3db0e4(0x1a9)](_0x31b309){const _0x3a6b9d=_0x3db0e4;this['_selfUnitIDs'][_0x3a6b9d(0x1ce)](_0x31b309),this[_0x3a6b9d(0x2bb)][_0x3a6b9d(0x137)]===0x0&&this['_heartbeatTimer']&&window[_0x3a6b9d(0x1fb)](this[_0x3a6b9d(0x2e2)]);}[_0x3db0e4(0x18a)](){const _0x58f3e2=_0x3db0e4;this[_0x58f3e2(0x20e)](_0x3f9956[_0x58f3e2(0x30e)](_0x6aec0['fromEvent'](window,_0x58f3e2(0x299))[_0x58f3e2(0x29b)](_0x3216d5=>{const _0x38e8f9=_0x58f3e2;if(_0x3216d5[_0x38e8f9(0x1c6)]!==_0x4250c9||!_0x3216d5[_0x38e8f9(0x3b8)])return;const _0x266b81=JSON['parse'](_0x3216d5[_0x38e8f9(0x3b8)]);this['_handleEvent'](_0x266b81);}))),window[_0x58f3e2(0x179)]('unload',()=>this[_0x58f3e2(0x3c0)]({'type':0x1,'memberID':this[_0x58f3e2(0x2bd)],'unitIDs':Array['from'](this[_0x58f3e2(0x2bb)])}));}[_0x3db0e4(0x382)](_0x9dc4c1){const _0x246f4f=_0x3db0e4;switch(_0x9dc4c1[_0x246f4f(0x3a0)]){case 0x0:this['_handleJoinEvent'](_0x9dc4c1);break;case 0x1:this[_0x246f4f(0x2f0)](_0x9dc4c1);break;case 0x2:this[_0x246f4f(0x223)](_0x9dc4c1);break;}}['_handleJoinEvent'](_0x4261df){const _0x66a771=_0x3db0e4,{unitIDs:_0x403a3f,memberID:_0x2c9212,isForwarded:_0xbc931}=_0x4261df;_0x403a3f[_0x66a771(0x29f)](_0x25116e=>{const _0xf23ac2=_0x66a771;if(!_0xbc931&&this[_0xf23ac2(0x314)][_0xf23ac2(0x3a8)](_0x25116e)&&this['_ensureSubject'](_0x25116e)[_0xf23ac2(0x360)](_0x184317['UnitStatus'][_0xf23ac2(0x36d)]),!this['_unitOnClients']['has'](_0x25116e)||!this[_0xf23ac2(0x314)][_0xf23ac2(0x392)](_0x25116e)[_0xf23ac2(0x3a8)](_0x2c9212)){const _0x29ab9a=this[_0xf23ac2(0x314)][_0xf23ac2(0x392)](_0x25116e)||new Set();_0x29ab9a[_0xf23ac2(0x2d8)](_0x2c9212),this[_0xf23ac2(0x314)][_0xf23ac2(0x26f)](_0x25116e,_0x29ab9a),this[_0xf23ac2(0x166)](_0x2c9212);}}),_0xbc931||this[_0x66a771(0x3c0)]({'type':0x0,'memberID':this[_0x66a771(0x2bd)],'unitIDs':[...this[_0x66a771(0x2bb)]],'isForwarded':!0x0});}[_0x3db0e4(0x166)](_0x2168b4){const _0x46d9aa=_0x3db0e4;this[_0x46d9aa(0x19a)](_0x2168b4);const _0x4c829d=window[_0x46d9aa(0x2f2)](()=>{const _0x34e7db=_0x46d9aa;this['_unitOnClients'][_0x34e7db(0x29f)](_0x353768=>{_0x353768['delete'](_0x2168b4);});},_0x2a64ff*0x2);this[_0x46d9aa(0x2b6)]['set'](_0x2168b4,_0x4c829d);}[_0x3db0e4(0x19a)](_0x8f11bf){const _0x242976=_0x3db0e4;if(this['_clearOtherTimers'][_0x242976(0x3a8)](_0x8f11bf)){const _0x3c5629=this[_0x242976(0x2b6)][_0x242976(0x392)](_0x8f11bf);_0x3c5629&&window[_0x242976(0xef)](_0x3c5629),this[_0x242976(0x2b6)][_0x242976(0x26f)](_0x8f11bf,null);}}[_0x3db0e4(0x2f0)](_0x6b64e1){const _0x5b6c9a=_0x3db0e4,{memberID:_0x16ed87,unitIDs:_0x144234}=_0x6b64e1;_0x144234[_0x5b6c9a(0x29f)](_0x30ef0e=>{const _0x4f596f=_0x5b6c9a;var _0x29c794;const _0x3ad69f=this['_unitOnClients'][_0x4f596f(0x392)](_0x30ef0e);_0x3ad69f&&(_0x3ad69f[_0x4f596f(0x1ce)](_0x16ed87),(_0x29c794=this[_0x4f596f(0x10a)](_0x30ef0e))==null||_0x29c794[_0x4f596f(0x360)](_0x3ad69f['size']===0x0?_0x184317[_0x4f596f(0x21e)]['NO_OTHER_CLIENTS_EDITING']:_0x184317[_0x4f596f(0x21e)][_0x4f596f(0x36d)]));}),this[_0x5b6c9a(0x19a)](_0x16ed87);}[_0x3db0e4(0x223)](_0x3d45e6){this['_scheduleClearOtherTimer'](_0x3d45e6['memberID']);}[_0x3db0e4(0x3c0)](_0xa1d6f4){const _0x17224a=_0x3db0e4;localStorage[_0x17224a(0x367)](_0x4250c9,JSON[_0x17224a(0x1a2)](_0xa1d6f4));}[_0x3db0e4(0x20b)](){const _0xde56b=_0x3db0e4;this[_0xde56b(0x2e2)]=window[_0xde56b(0x1d2)](()=>{const _0x35bdf9=_0xde56b;this[_0x35bdf9(0x3c0)]({'type':0x2,'memberID':this[_0x35bdf9(0x2bd)]});},_0x2a64ff);}[_0x3db0e4(0x10a)](_0x31a6cb){const _0x574c60=_0x3db0e4;return this[_0x574c60(0x364)]['has'](_0x31a6cb)||this['_unitStatus'][_0x574c60(0x26f)](_0x31a6cb,new _0x6aec0[(_0x574c60(0x154))](_0x184317[_0x574c60(0x21e)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x574c60(0x364)][_0x574c60(0x392)](_0x31a6cb);}}_0x4205ba[_0x3db0e4(0x34c)]=_0x3958fd,_0x4205ba[_0x3db0e4(0x246)]=_0x187ac5,_0x4205ba[_0x3db0e4(0x284)]=_0x567343,_0x4205ba[_0x3db0e4(0x1b0)]=_0x2d9519,Object[_0x3db0e4(0x197)](_0x4205ba,Symbol[_0x3db0e4(0x2b1)],{'value':'Module'});}));function _0x4227(_0x48bf9c,_0xd40da5){const _0x32c6c7=_0x32c6();return _0x4227=function(_0x42271f,_0x547ae7){_0x42271f=_0x42271f-0xef;let _0x1a3ea8=_0x32c6c7[_0x42271f];return _0x1a3ea8;},_0x4227(_0x48bf9c,_0xd40da5);}function _0x32c6(){const _0x103874=['fillRule','UniverDocsUi','_selfUnitIDs','unitId','_id','svg','SessionStatus','univer-mr-2\x20univer-flex\x20univer-text-xl','_taskIds','textRanges','LICENSE_EXPORT_SIZE_EXCEEDED','_toggleOffline','setAlpha','url(#off-line-icon_clip0_910_343)','show','ranges','react','UniverSheetsUi','transform','getAncestorScale','@univerjs/core','href','_hovered','collabStatus.fetchMiss','getOwnPropertyDescriptor','ILogService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','getRelativeToViewportCoord','application/json','AWAITING','cursorInfo','add','mutations','_transformService','CollaborationUIEventService','switchMap','code','/universer-api/license/formula/limit/start','throttleTime','disableLocalCache','getCollabCursors$','_heartbeatTimer','debounceTime','_getAnchorBounding','handleIRemoveCol','UniverUi','_name','reconnect','CHANGESET_REVISION_CONFILICT','_drawTextRange','transformMutation','measureText','RemoteUniscriptService','transformStateCache','complete','_handleLeaveEvent','CanceledError','setTimeout','_dataLoaderService','collabStatus.notCollab','functionsExecutedState','REDEMPTION_CODE_HAS_BEEN_CREATED','roomMembers$','red.300','getConfig','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_online','jsx','values','formula.calculation.waiting','getUndoRedoMutationParamsCache','USER_IS_ANONYMOUS','post','Inject','_registerRenderDependencies','collabStatus.syncing','DependentOn','sessionStatus$','_refreshCollabCursors','endColumn','CollaborationDataLoaderController','IMessageService','black','ICommandService','4ywnRhr','toDisposable','DisposableCollection','LICENSE_MAX_UNITS_EXCEEDED','resize','origin','UNDEFINED','_unitOnClients','NodePositionConvertToRectRange','CollaborationSocketService','UniverCollaborationClientPlugin','WECHAT_HAS_BEEN_BOUND','translate(.97)','_clearPolling','CommandType','fillStyle','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_removeCollabCursors','_session','_startSheetCollabCursor','AUTHORIZE_CODE_ILLEGAL','entries','MemberService','roomMembers','onMouseMove','_handleHover','fromEventSubject','1726908hbVtHf','indexOf','_hideTimer','ALREADY_EXISTS','YUUMI_AI_RUN_FAILED','YUUMI_UNABLE_LOAD_URL','handleIRemoveRow','ISocketService','displayName','getOwnPropertySymbols','use','m2Prime','Workbook','ENSURE_SNAPSHOT_EXECUTION','colorChannel1','@univerjs/rpc','dirtyRanges','_collaborationUIEventService','PY_RUNTIME_SCRIPT_ERROR','_onCursorDelete','_beforeCloseService','defIds','LICENSE_IMPORT_SIZE_EXCEEDED','getTypeOfUnitDisposed$','yellow.400','DEFAULT_WS_SESSION_TICKET_URL','OFFLINE','_docSyncEditingCollabCursorService','saveTaskMap','collaboration.closeRoom','RemoveRowCommandId','UniverCore','_docSkeleton','HTTPService','_collaborationController','_toggleOnline','IURLService','InsertRangeMoveRightCommandId','ThemeService','shareReplay','UniverProCollaborationClient','EMAIL_VERIFY_CODE_MISMATCH','_draw','_docSkeletonManagerService','then','TEXT','@univerjs/network','includes','_configService','_localeService','_transformHistoryAndStateStack','REDEMPTION_CODE_FULLY_REDEEMED','moveTo','labelPosition','RefRangeService','DataLoaderService','next','registerDependencies','BuiltInUIPart','assignAColorForMemberID','_unitStatus','findNodePositionByCharIndex','deepClone','setItem','DocStateChangeManagerService','isTransformMutationsWithChangesetSuccess','status$','replaceDocRanges','_initCommandInterceptor','OTHER_CLIENTS_EDITING','text','getSheetBySheetId','requireSession','CollaborationStatus','round','ticket','_httpService','purple.300','toRgbString','_textBubble','_pollingInterval','Plugin','min','merge','DOC_RANGE_TYPE','currentColor','isArray','InsertColCommandId','actions','2612755pLkfnP','_handleEvent','session.collaboration-timeout','_anchor','transformMutationsWithChangeset','_refRangeService','_cursors','runOnServer','CollaborationEvent','lineTo','NOT_FOUND','drawWith','YUUMI_CONNECTOR_URL_NOT_FOUND','Tools','TOO_MANY_REQUESTS','_syncEditingCollabCursorService','_docTransformIMECacheService','get','RegularPolygon','7553133RTnXsV','with','handleMoveRange','REDEMPTION_USER_REDEEM_TIMES_EXCEED','endRow','setShapeProps','deserializeRangeWithSheet','ENTITLE_REPORT_LIMIT_EXCEED','UniverEngineRender','Injector','LocaleService','_setupSubUnitSync','type','forwardRef','onStarting','_assignedColors','getParam','_context','entityInit$','loadUnit','has','session.will-retry','getUnitId','_localCacheService','getColor','executeCommand','height','symbol','getCellPositionByOffset','searchParams','current','UniverProCollaborationClientUi','getUniverSheetInstance','516308meYxlo','docStateChange$','_localStorageService','newValue','ILocalCacheService','INVALID_INVITE_CODE','_hasFormulaInDirtyRanges','OnLineIcon','attrs','map','_uiPartsService','_send','BrowserCollaborationSocketService','_transformPreviousActiveRange','APPLY_PERMISSION_DENIED','IRemoteInstanceService','collaboration-client-ui.config','object','imageSourceType','clearTimeout','_roomMembers$','SNAPSHOT_HAS_BEEN_REMOVED','YUUMI_ASYNCIO_CANCELLED','data','_cursorInfo$','path','_themeService','pipe','length','engine','releaseFormulaLimitUrl','restore','_initEntityListener','_getSessionTicket','getUnit','UNIVER_SHEET','UniverInstanceType','_maxFormulaLimit','arc','formula.calculation.unable','_drawAnchor','_eventUnsubscribe','init','dispose$','DocSkeletonManagerService','UniverCollaborationClientUIPlugin','_ensureSubject','_collabCursorState$','Tooltip','unit','on-line-icon','1em','registerBeforeClose','isFormulaId','send','TEXT_RANGE_LAYER_INDEX','USER_NOT_INVITED_CODE','@univerjs/engine-formula','_getScale','SetSelectionsOperation','exhaustSavingTask','transformSelections','_scene','NOT_COLLAB','LOGIN_TOKEN_PROCESSING_FAILED','UniverRpc','isEditing','_checkCalculationAvailable','USERS_LEAVE','YUUMI_NO_CUBOID_FOR_QUESTION','exports','_docTransformStateCacheService','startFormulaLimitUrl','IConfigService','fill','MOBILE_HAS_BEEN_BOUND','_labelPosition','_onCursorUpdate','bottom','_hover','save','getRenderById','some','max','override','40UmVIez','hovered','updateOfflineData','ENTITLE_CHAT_LIMIT_EXCEED','handleInsertCol','Error','size','JOIN_ROOM_FAILED','_range','off-line-icon_clip0_910_343','getCurrentRevOfUnit','YUUMI_RATE_OVER_LIMIT','ERROR_AGAIN','DocCollaborationEntity','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','UPDATE_CURSOR','registerRefRange','flatMap','ONLINE','_getSaveTimeout','debounce','getUnhiddenWorksheets','COMPLETION_FINISHED','Unknown\x20user','_updateSubUnitFromURLParams','toString','parseInt','startColumn','onCommandExecuted','row','dispose','DocIMEInputManagerService','subUnitId','clipPath','Loading','BehaviorSubject','UNRECOGNIZED','_cursor','eventID','Failed','_anchorDot','IImageIoService','removeParam','assign','UniverDrawing','extend','_injector','collabStatus.synced','handleInsertRangeMoveRight','div','setConfig','_colorIndex','_startDocCollabCursor','_scheduleClearOtherTimer','AWAITING_WITH_PENDING','SheetSkeletonManagerService','mergeOverrideWithDependencies','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','subunit','startRow','IRenderManagerService','_scheduleSaving','addClipboardHook','rxjs','DesktopCollaborationStatusDisplayController','createIdentifier','handleDeleteRangeMoveLeft','_messageService','APPLY_DUPLICATED','params','unshift','currentTheme$','addEventListener','SetWorksheetActivateCommand','OTHER_CLIENT_EDITING','InsertRowCommandId','name','generateRandomId','RxDisposable','call','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','/run/','addHandlerCallback','selections','_initResize','white','prototype','none','_collabCursorController','_init','_sheetSkeletonManagerService','_drawRectRange','isTransformMutationFailure','fillText','M0\x200H16V16H0z','_color','2917848gNzQfx','useDependency','executionId','registerComponent','_memberService','SNAPSHOT_INVALID_SNAPSHOT','defineProperty','getLocalCacheKey','_document','_removeClearOtherTimer','cursorInfo$','blue.400','m1Prime','skeleton','isFormulaString','CURRENT_STATUS_CANNOT_OPERATE','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','stringify','INVITE_CODE_REQUIRED','syncEditingCollabCursor','pluginName','_saveTaskMap','_getSheetObject','LOCAL_CACHE_INTERVAL_KEY','disposeUnit','_urlService','_cursorShapes','getDocRanges','collab-text-range-','push','invokeId','WebURLService','CONNECTOR_DATA_TOO_LARGE','_updateLocalCursor','_getFormulaLimitStatus','_initDependencies','#FFF','RECT','_setFormulaLimitStatus','CONFLICT','pushState','filter','_updateCollabCursors','column','getActiveSheet','PERMISSION_DENIED','replaceState','CollaborationUIEventId','triggerDblclick','idSuffix','getCollabEntity$','fromEvent','_colorAssignService','key','getViewport','on-line-icon_clip0_910_349','VIEW_MAIN','transformIMECache','@univerjs/engine-render','debug','_render','delete','subscribeEvent','onLocalMutation','shift','setInterval','getOffsetConfig','getValue','IBeforeCloseService','getMemberID','mapTo','_transformUndoRedoStack','REDEMPTION_INVALID_CODE','collab-text-anchor-','getSheetId','START_CALCULATION','backgroundColor','loadOfflineData','@univerjs/docs','_checkAndWaitForCalculationPermission','getCoordByCell','_initStatusComponent','@univerjs/sheets-ui','_renderManagerService','@univerjs/drawing','_startCalculationLimit','Shape','_doCreateSocket','_initEvent','sheetId','from','INVITE_CODE_HAS_BEEN_UES','_onRefRangeChange','[CollaborationDataLoaderController]','activeSheet$','getCurrent','ColorKit','runRefRangeMutations','_status$','jsxs','function','className','_docTransformSelectionsService','defs','_shapes','_imageIoService','clearInterval','useCallback','SHEET_VIEWPORT_KEY','_docClipboardService','HEADER_MENU','YUUMI_URL_COL_OUT_OF_RANGE','@univerjs/docs-ui','icon','Warning','history','_univerInstanceService','CollaborationController','Rect','_lastResponseTimestamp','IUIPartsService','YUUMI_SUBSCRIPTION_NOT_FOUND','_scheduleHeartbeat','whenReady','UniverDesign','disposeWithMe','focused$','Success','onRendered','createInstance','_entityInit$','editingUnit','APPLY_REJECT','getCellMatrix','910462pWbaJj','_initStatusListener','PAYMENT_CHANNEL_NOT_SUPPORT','onPointerLeave$','hide','LICENSE_DISTRO_REJECTED','REDEMPTION_USER_NOT_ELIGIBLE','UnitStatus','SYNCED','saveOfflineData','_lastPointer','NodePositionConvertToCursor','_handleHeartbeatEvent','_entities','Disposable','addObjects','tag','color','...','limitInfo','isActive','ACTIVE_UNIT_EVENT_CHANNEL','UniverDocs','selection','addObject','getFocusedUnit','wsSessionTicketUrl','beginPath','formula.calculation.started','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','error','CLOSE_ROOM','_logService','rgba(255,\x20255,\x20255,\x200.01)','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','getRangePointData','replace','UNAUTHENTICATED','MOBILE_VERIFY_CODE_MISMATCH','transformRemoteChangeset','APPLY_REVISION_CONFILICT','CollaborationSessionService','SUBMIT_CHANGESET_TIMEOUT','_instanceService','split','asObservable','combineLatest','SheetCollabCursorShape','concat','event$','getColorFromTheme','all','YUUMI_ALL_TABLES_IS_INVALID','REDEMPTION_CODE_NOT_STARTED','_registerDependencies','getStateCache','React','EMAIL_HAS_BEEN_BOUND','Rectangle','search','getMember','LOGIN_FAILED','[RemoteUniscriptService]:\x20no\x20focused\x20unit','createElement','UNIVER_DOC','_notificationService','result','getItem','runId','MessageType','INotificationService','_revisionService','urlChange$','doc.mutation.rich-text-editing','touchDependencies','getformulaLimitStatusUrl','WebSocketService','IUniverInstanceService','propertyIsEnumerable','/universer-api/license/formula/limit/done','REDEMPTION_CODE_INACTIVE','range','_setupBeforeClosingHandler','body','_applyCommand','_showGuardMessage','hasOwnProperty','ENTITLE_CAN_NOT_BUY_LOWER_OTP','set','setParam','unsubscribe','collabStatus.conflict','getTypeOfUnitAdded$','INVALID_ARGUMENT','createSocket','_cachedData','takeUntil','_commandService','react/jsx-runtime','_currentUsage','currentSkeleton$','@univerjs-pro/collaboration-client','saveImage','xlink:href','useRef','LOCAL_CACHE_INTERVAL','ITransformService','onPointerEnter$','string','WebBrowserSingleActiveUnitService','_createSocketURL','onTransformChange$','YUUMI_TABLE_NOT_FOUND_IN_UNIT','EffectRefRangId','getMergeData','_config','location','mask','getCurrentUnitForType','Vector2','getActiveRange','undoState','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_getMergeRange','getUnitStatus$','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','find','_releaseCalculationLimit','unitID','COLORS','storage','DocSelectionManagerService','subscribe','600187zhPfpN','UniverProCollaboration','getSkeleton','forEach','_saveCache','random','stageInfo','top','makeDirty','INVITE_CODE_ALREADY_BOUND','@univerjs/design','@univerjs/sheets','FETCH_MISS','width','FormulaExecutedStateType','connectInjector','_updateURLWithCurrentState','setActiveRange','ENTITLE_DUP_SUBSCRIPTION','redoState','_backgroundColor','toStringTag','children','_docStateChangeManagerService','url(#$1','source','_clearOtherTimers','APPLY_NON_SEQUENTIAL_REVISION','_disabled'];_0x32c6=function(){return _0x103874;};return _0x32c6();}