@univerjs-pro/collaboration-client-ui 0.15.2-insiders.20260119-edc718c → 0.15.2-insiders.20260124-12fc7f0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/facade.js +1 -1
  15. package/lib/es/index.js +1 -1
  16. package/lib/es/locale/ca-ES.js +1 -1
  17. package/lib/es/locale/en-US.js +1 -1
  18. package/lib/es/locale/es-ES.js +1 -1
  19. package/lib/es/locale/fa-IR.js +1 -1
  20. package/lib/es/locale/fr-FR.js +1 -1
  21. package/lib/es/locale/ja-JP.js +1 -1
  22. package/lib/es/locale/ko-KR.js +1 -1
  23. package/lib/es/locale/ru-RU.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/facade.js +1 -1
  28. package/lib/index.js +1 -1
  29. package/lib/locale/ca-ES.js +1 -1
  30. package/lib/locale/en-US.js +1 -1
  31. package/lib/locale/es-ES.js +1 -1
  32. package/lib/locale/fa-IR.js +1 -1
  33. package/lib/locale/fr-FR.js +1 -1
  34. package/lib/locale/ja-JP.js +1 -1
  35. package/lib/locale/ko-KR.js +1 -1
  36. package/lib/locale/ru-RU.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/umd/facade.js +1 -1
  41. package/lib/umd/index.js +1 -1
  42. package/lib/umd/locale/ca-ES.js +1 -1
  43. package/lib/umd/locale/en-US.js +1 -1
  44. package/lib/umd/locale/es-ES.js +1 -1
  45. package/lib/umd/locale/fa-IR.js +1 -1
  46. package/lib/umd/locale/fr-FR.js +1 -1
  47. package/lib/umd/locale/ja-JP.js +1 -1
  48. package/lib/umd/locale/ko-KR.js +1 -1
  49. package/lib/umd/locale/ru-RU.js +1 -1
  50. package/lib/umd/locale/vi-VN.js +1 -1
  51. package/lib/umd/locale/zh-CN.js +1 -1
  52. package/lib/umd/locale/zh-TW.js +1 -1
  53. package/package.json +15 -15
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x493a(){const _0x34c16d=['YUUMI_ASYNCIO_CANCELLED','transformIMECache','createSocket','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_updateCollabCursors','getSheetBySheetId','UniverProCollaborationClientUi','sessionStatus$','data','_onCursorDelete','@univerjs/network','doc.mutation.rich-text-editing','measureText','[Unhandled\x20Rejection]:\x20','debug','amd','_commandService','url(#$1','UNRECOGNIZED','ONLINE','YUUMI_SUBSCRIPTION_NOT_FOUND','collaboration.single-unit.warning','purple.300','OnLineIcon','ranges','map','APPLY_DUPLICATED','_scheduleClearOtherTimer','0\x200\x2016\x2016','_clearOtherTimers','releaseFormulaLimitUrl','getTypeOfUnitDisposed$','entries','_transformUndoRedoStack','4070304EZwHlE','save','UniverProCollaboration','RECT','_currentUsage','react/jsx-runtime','InsertRangeMoveRightCommandId','collabStatus.offline','getActiveSheet','permission.title','112zvXuwX','ENTITLE_REPORT_LIMIT_EXCEED','DeleteRangeMoveLeftCommandId','Module','1078281lmoEwJ','_cursorInfo$','UniverCore','removeEventListener','deepClone','getLocalCacheKey','_initCommandInterceptor','_imageIoService','random','unitId','_color','shareReplay','onStarting','FETCH_MISS','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getOwnPropertyDescriptor','YUUMI_NO_CUBOID_FOR_QUESTION','isActive','parse','NodePositionConvertToCursor','_localStorageService','ENTITLE_COUPON_EXPIRED','Optional','cursorInfo$','_status$','result','_send','SYNCED','name','CollaborationSessionService','min','DocSelectionManagerService','params','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','replaceState','textRanges','2993938Lnfawf','addClipboardHook','rxjs/operators','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_session','useObservable','collab-rect-range-','transformMutation','getRelativeToViewportCoord','111039nxBuya','LICENSE_MAX_UNITS_EXCEEDED','UniverSheetsUi','collabCursorState$','_checkCalculationAvailable','setInterval','getCurrentUnitForType','@univerjs/sheets-ui','_drawTextRange','handleIRemoveRow','xlink:href','_checkAndWaitForCalculationPermission','getActiveRange','error','collabStatus.notCollab','range','_toggleOnline','1142656sOgCYV','jsx','UniverSheets','getTypeOfUnitAdded$','IMessageService','subunit','replace','send','DataLoaderService','displayName','onCommandExecuted','TEXT','_colorAssignService','CONFLICT','_memberService','REDEMPTION_CODE_FULLY_REDEEMED','skeleton','MessageType','_beforeCloseService','ACTIVE_UNIT_EVENT_CHANNEL','_docClipboardService','Plugin','YUUMI_ALL_TABLES_IS_INVALID','NOT_COLLAB','_anchorDot','handleIRemoveCol','Rect','CollaborationStatus','RevisionService','transformMutationsWithChangeset','getDocRanges','_initUnhandledRejectionListener','UniverDocs','onPointerEnter$','_unitStatus','mutations','ENTITLE_INSUFFICIENT_QUOTA','source','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','_injector','UniverCollaborationClientPlugin','RichTextEditingMutation','_renderManagerService','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','getUndoRedoMutationParamsCache','disableLocalCache','PENDING','AUTHORIZE_CODE_ILLEGAL','ERROR_AGAIN','sheetId','merge','fromEventSubject','hide','defs','getItem','_collabCursorController','onRendered','CURRENT_STATUS_CANNOT_OPERATE','getFocusedUnit','_getSheetObject','pushState','LICENSE_DISTRO_REJECTED','popstate','UniverNetwork','addHandlerCallback','type','application/json','parseInt','transformByState','DocStateChangeManagerService','svg','ISnapshotServerService','totalFormulasToCalculate','setStateCache','InsertRowCommandId','univerjs-icon\x20univerjs-icon-','join','OFFLINE','_localeService','then','Failed','none','_initCommandExecutedListener','PY_RUNTIME_SCRIPT_ERROR','debounce','INVALID_INVITE_CODE','UniverEngineFormula','@univerjs/core','_labelPosition','wsSessionTicketUrl','restore','isTransformMutationsWithChangesetSuccess','values','[LogService\x20Error]:\x20','ENTITLE_CHAT_LIMIT_EXCEED','/universer-api/frontend/logs','DesktopCollaborationStatusDisplayController','subUnitId','_scheduleSaving','toRgbString','white','_colorIndex','max','_docStateChangeManagerService','setConfig','ITransformService','getAncestorScale','_context','_urlService','Unknown\x20user','memberID','find','unsubscribe','getUnitId','getCollabEntity$','_getSessionTicket','delete','_notificationService','_cursorShapes','ICommandService','_initDependencies','string','evenodd','UnitStatus','ENTITLE_USE_COUPON_NOT_1ST_TRADE','endRow','_saveCache','_sheetSkeletonManagerService','has','DocSkeletonManagerService','MOBILE_VERIFY_CODE_MISMATCH','handleInsertRow','onPointerLeave$','NOT_FOUND','urlChange$','_handleJoinEvent','filename','setShapeProps','clipPath','socket$','switchMap','post','MemberService','handleInsertCol','onLocalMutation','INotificationService','_hideTimer','_messageService','_drawAnchor','ISocketService','_entities','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','collab-text-range-','collaboration-client-ui.config','SetFormulaCalculationStartMutation','clsx','length','[RemoteUniscriptService]:\x20no\x20focused\x20unit','url(#on-line-icon_clip0_910_349)','href','_refreshCollabCursors','INVALID_ARGUMENT','JOIN_ROOM_FAILED','_collabCursorState$','_registerRenderDependencies','getValue','cursorInfo','_docTransformStateCacheService','CanceledError','_heartbeatTimer','LOGIN_TOKEN_PROCESSING_FAILED','_updateLocalCursor','_maxFormulaLimit','startsWith','UNAUTHENTICATED','_scheduleHeartbeat','pipe','addObject','RemoveColCommandId','Injector','_syncEditingCollabCursorService','Shape','UniverUi','SetFormulaCalculationNotificationMutation','executionId','currentUsage','APPLY_NON_SEQUENTIAL_REVISION','handleInsertRangeMoveDown','25355450gYsPbE','_name','_scene','_setupSubUnitSync','font','endColumn','maxFormulaLimit','_removeClearOtherTimer','search','operators','_getMergeRange','_cursor','_releaseCalculationLimit','_applyCommand','unshift','redoState','DATA_SOURCE_TOO_LARGE','_localCacheService','AWAITING','findNodePositionByCharIndex','_hover','registerComponent','getStateCache','TEXT_RANGE_LAYER_INDEX','LICENSE_EXPORT_SIZE_EXCEEDED','_transformHistoryAndStateStack','56pywZHO','ENTITLE_INVALID_COUPON_CODE','http://www.w3.org/2000/svg','UPDATE_CURSOR','split','_roomMembers$','SetDocZoomRatioOperation','now','[CollaborationDataLoaderController]','_memberID','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','PAYMENT_CHANNEL_NOT_SUPPORT','EffectRefRangId','onTransformChange$','_initEntityListener','row','getCellMatrix','COLORS','div','_collaborationSessionService','@univerjs/design','_cachedData','triggerDblclick','TRANSFORM_CHANGE_OBSERVABLE_TYPE','syncEditingCollabCursor','body','children','clearTimeout','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_collaborationController','@univerjs/drawing','getConfig','formula.calculation.waiting','column','RegularPolygon','translate(.97)','handleInsertRangeMoveRight','serializeRangeWithSheet','_shapes','0\x200\x2017\x2016','limitInfo','M0\x200H16V16H0z','[Window\x20Error]:\x20','SNAPSHOT_HAS_BEEN_REMOVED','_handleLeaveEvent','_initStatusListener','REDEMPTION_CODE_INACTIVE','Disposable','init','_online','Workbook','add','EMAIL_VERIFY_CODE_MISMATCH','_unitOnClients','REDEMPTION_CODE_HAS_BEEN_CREATED','BehaviorSubject','...','getMemberID','mapTo','_startDocCollabCursor','MOBILE_HAS_BEEN_BOUND','getColorFromTheme','combineLatest','contains','activeSheet$','RxDisposable','toString','subscribeEvent','useCallback','fill','_updateSubUnitFromURLParams','_handleHover','_initStatusComponent','ColorKit','EMAIL_HAS_BEEN_BOUND','touchDependencies','hovered','OTHER_CLIENT_EDITING','_id','NodePositionConvertToRectRange','onMouseMove','_showGuardMessage','_revisionService','clearInterval','session.connection-failed','CONNECTOR_DATA_TOO_LARGE','executeCommand','_clearPolling','_config','_hovered','ThemeService','unit','object','getUnitStatus$','includes','IUniverInstanceService','DependentOn','color','_setFormulaLimitStatus','SUBMIT_CHANGESET_TIMEOUT','next','setUndoRedoMutationParamsCache','_pollingInterval','imageSourceType','runRefRangeMutations','_docSkeleton','CommandType','searchParams','_collaborationUIEventService','CollaborationUIEventId','_getFormulaLimitStatus','trim','isTransformMutationFailure','get','current','ENSURE_SNAPSHOT_EXECUTION','stack','_docSyncEditingCollabCursorService','_lastPointer','_getScale','_updateURLWithCurrentState','_saveTaskMap','collab-text-anchor-','text','drawWith','ENTITLE_NEED_BILLING_ADDRESS','_monkeyPatchLogService','_taskIds','getCurrentRevOfUnit','USER_NOT_INVITED_CODE','univer-mr-2\x20univer-flex\x20univer-text-xl','addObjects','IConfigService','UniverRpc','red.300','fillText','setParam','registerRefRange','newValue','1218NmCvKH','_docSkeletonManagerService','ILogService','collabStatus.conflict','CollaborationEvent','IDocClipboardService','getOffsetConfig','_doCreateSocket','YUUMI_AI_RUN_FAILED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_ensureSubject','_onRefRangeChange','dirtyRanges','_getAnchorBounding','HTTPService','@univerjs/engine-formula','stringify','loadUnit','@univerjs/engine-render','roomMembers$','with','connectInjector','_disabled','sheetID','requireSession','FromArray','USERS_LEAVE','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','engine','LOGIN_FAILED','\x20at\x20','RemoteUniscriptService','rxjs','mask','_refRangeService','TOO_MANY_REQUESTS','_entityInit$','UNIVER_SHEET','_themeService','createElement','react','_getSaveTimeout','_hasFormulaInDirtyRanges','fillRule','CHANGESET_REVISION_CONFILICT','RemoveRowCommandId','_initUserListener','_render','LocaleService','removeParam','SOCKET_FAILED_RETRY','UniverDrawing','_init','arc','assignAColorForMemberID','_drawRectRange','_transformPreviousActiveRange','getCoordByCell','status$','yellow.400','React','@univerjs/docs-ui','size','ENTITLE_CAN_NOT_BUY_LOWER_OTP','getVpScrollXYInfoByPosToVp','off-line-icon_clip0_910_343','origin','registerDependencies','@univerjs/docs','shift','_initResize','throttleTime','Tools','SHEET_VIEWPORT_KEY','undoState','MoveRangeCommandId','_setupBeforeClosingHandler','jsxs','DocCollaborationEntity','attrs','width','entityInit$','push','lineno','INVITE_CODE_HAS_BEEN_UES','idSuffix','IBeforeCloseService','#FFF','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','WebURLService','getUniverSheetInstance','isFormulaId','defineProperty','_univerInstanceService','fillStyle','/run/','?taskId=','catch','PERMISSION_DENIED','SheetSkeletonManagerService','tag','_removeCollabCursors','SUCCESS','history','LICENSE_IMPORT_SIZE_EXCEEDED','_uploadLog','m2Prime','getSkeleton','roomMembers','stageInfo','ENTITLE_COUPON_USED_UP','DeleteRangeMoveUpCommandId','_eventUnsubscribe','_selfUnitIDs','YUUMI_RATE_OVER_LIMIT','startColumn','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','addEventListener','IURLService','ILocalCacheService','labelPosition','_backgroundColor','m1Prime','event$','getMember','deserializeRangeWithSheet','round','session.will-retry','session.collaboration-timeout','useDependency','CollaborationDataLoaderController','stage','complete','selection','disposeWithMe','whenReady','off-line-icon','Tooltip','RefRangeService','isFormulaString','show','black','bottom','UniverDocsUi','InsertColCommandId','DisposableCollection','code','getSheetId','currentSkeleton$','unhandledrejection','dispose$','override','asObservable','getRenderById','beforeCommandExecuted','InsertRangeMoveDownCommandId','_uiPartsService','_initEvent','AWAITING_WITH_PENDING','1em','DOC_RANGE_TYPE','_cursors','Error','_instanceService','UniverInstanceType','COMPLETION_FINISHED','unitID','START_CALCULATION','_configService','resize','OTHER_CLIENTS_EDITING','from','BrowserCollaborationSocketService','debounceTime','/universer-api/license/formula/limit/start','_httpService','dispose','_draw','_transformService','_assignedColors','FormulaExecuteStageType','green.600','ILocalStorageService','beginPath','ENTITLE_DUP_SUBSCRIPTION','saveTaskMap','_docTransformSelectionsService','_registerDependencies','YUUMI_CONNECTOR_URL_NOT_FOUND','DocIMEInputManagerService','editingUnit','_anchor','_startCalculationLimit','@univerjs-pro/collaboration-client','UNDEFINED','REDEMPTION_USER_NOT_ELIGIBLE','lineTo','_lastResponseTimestamp','ticket','_logService','ALREADY_EXISTS','IRenderManagerService','APPLY_REVISION_CONFILICT','SessionStatus','on-line-icon_clip0_910_349','SNAPSHOT_INVALID_SNAPSHOT','createInstance','_textBubble','_onCursorUpdate','INTERNAL_ERROR','isArray','eventID','fromEvent','set','colorChannel1','INVITE_CODE_REQUIRED','reason','_docTransformIMECacheService','UniverCollaborationClientUIPlugin','/universer-api/license/formula/limit/status','YUUMI_UNABLE_LOAD_URL','forEach','_handleEvent','functionsExecutedState','USER_IS_ANONYMOUS','closePath','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_range','_toggleOffline','on-line-icon','Inject','HEADER_MENU','getRangePointData','REDEMPTION_CODE_NOT_STARTED','UNIVER_DOC','currentTheme$','location','message','APPLY_PERMISSION_DENIED','collaboration.closeRoom','IImageIoService','assign','registerRenderModule','forwardRef','Warning','currentColor','setAlpha','startRow','mergeOverrideWithDependencies','SetWorksheetActivateCommand','NO_OTHER_CLIENTS_EDITING','FormulaExecutedStateType','setItem','19265HfjVgO','collab-client.tooltip.reconnect','runId','getColor','createIdentifier','path','rgba(255,\x20255,\x20255,\x200.01)','getParam','formula.calculation.unable','subscribe','getCollabCursors$','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','transformRemoteChangeset','generateRandomId','collabStatus.syncing','_initWindowErrorListener','UniverEngineRender','YUUMI_URL_COL_OUT_OF_RANGE','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','@univerjs/sheets','filter','moveTo','transformStateCache','takeUntil','toDisposable'];_0x493a=function(){return _0x34c16d;};return _0x493a();}function _0x3d4d(_0x711630,_0x28408f){_0x711630=_0x711630-0x12e;const _0x493ae6=_0x493a();let _0x3d4db8=_0x493ae6[_0x711630];return _0x3d4db8;}(function(_0x17c3ec,_0x510b5e){const _0x3ffd60=_0x3d4d,_0x234e47=_0x17c3ec();while(!![]){try{const _0x517e7e=parseInt(_0x3ffd60(0x378))/0x1+-parseInt(_0x3ffd60(0x39c))/0x2+parseInt(_0x3ffd60(0x3a5))/0x3*(-parseInt(_0x3ffd60(0x374))/0x4)+parseInt(_0x3ffd60(0x32f))/0x5*(-parseInt(_0x3ffd60(0x232))/0x6)+-parseInt(_0x3ffd60(0x1a7))/0x7*(-parseInt(_0x3ffd60(0x3b6))/0x8)+-parseInt(_0x3ffd60(0x36a))/0x9+parseInt(_0x3ffd60(0x18d))/0xa;if(_0x517e7e===_0x510b5e)break;else _0x234e47['push'](_0x234e47['shift']());}catch(_0x29ab7f){_0x234e47['push'](_0x234e47['shift']());}}}(_0x493a,0xf163e),function(_0x33362d,_0x3e5708){const _0x31cdf3=_0x3d4d;typeof exports==_0x31cdf3(0x203)&&typeof module<'u'?_0x3e5708(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=='function'&&define[_0x31cdf3(0x357)]?define(['exports',_0x31cdf3(0x36f),_0x31cdf3(0x2f3),_0x31cdf3(0x40d),'@univerjs/ui',_0x31cdf3(0x252),_0x31cdf3(0x1bb),_0x31cdf3(0x25a),'@univerjs/rpc',_0x31cdf3(0x342),_0x31cdf3(0x244),_0x31cdf3(0x352),_0x31cdf3(0x26f),_0x31cdf3(0x1c5),'@univerjs-pro/collaboration',_0x31cdf3(0x276),_0x31cdf3(0x241),_0x31cdf3(0x39e),_0x31cdf3(0x3ac)],_0x3e5708):(_0x33362d=typeof globalThis<'u'?globalThis:_0x33362d||self,_0x3e5708(_0x33362d[_0x31cdf3(0x34e)]={},_0x33362d[_0x31cdf3(0x26e)],_0x33362d['UniverProCollaborationClient'],_0x33362d[_0x31cdf3(0x37a)],_0x33362d[_0x31cdf3(0x187)],_0x33362d[_0x31cdf3(0x252)],_0x33362d['UniverDesign'],_0x33362d[_0x31cdf3(0x26e)],_0x33362d[_0x31cdf3(0x22c)],_0x33362d[_0x31cdf3(0x3b8)],_0x33362d[_0x31cdf3(0x33f)],_0x33362d[_0x31cdf3(0x3f5)],_0x33362d[_0x31cdf3(0x2c1)],_0x33362d[_0x31cdf3(0x265)],_0x33362d[_0x31cdf3(0x36c)],_0x33362d[_0x31cdf3(0x3d6)],_0x33362d[_0x31cdf3(0x40c)],_0x33362d[_0x31cdf3(0x252)][_0x31cdf3(0x196)],_0x33362d[_0x31cdf3(0x3a7)]));}(this,function(_0x65ef88,_0x283a9c,_0x5d78d3,_0xb5476b,_0x5266fa,_0x3d2c80,_0x12f095,_0x3b44a5,_0x151960,_0xb5761e,_0x332666,_0x37af80,_0x5d7db3,_0x196c37,_0x486998,_0x2190d4,_0x4ac72b,_0x277a9b,_0x4762fe){'use strict';const _0x3ae46d=_0x3d4d;var _0x4aaec9=Object['defineProperty'],_0x3f43e9=(_0x1eff50,_0x476eee,_0x276249)=>_0x476eee in _0x1eff50?_0x4aaec9(_0x1eff50,_0x476eee,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x276249}):_0x1eff50[_0x476eee]=_0x276249,_0x2a22ff=(_0x4c465b,_0xd7ec31,_0x4679b6)=>_0x3f43e9(_0x4c465b,typeof _0xd7ec31!='symbol'?_0xd7ec31+'':_0xd7ec31,_0x4679b6);function _0x2ada8d({ref:_0x31166b,..._0x291d39}){const _0x43e311=_0x3d4d,{icon:_0x23fde1,id:_0x26833e,className:_0x31e249,extend:_0x5d07e1,..._0x17da55}=_0x291d39,_0x1333d1=(_0x43e311(0x401)+_0x26833e+'\x20'+(_0x31e249||''))[_0x43e311(0x216)](),_0x1a6f41=_0x3b44a5['useRef']('_'+_0x146853());return _0x145c8a(_0x23fde1,''+_0x26833e,{'defIds':_0x23fde1['defIds'],'idSuffix':_0x1a6f41[_0x43e311(0x219)]},{'ref':_0x31166b,'className':_0x1333d1,..._0x17da55},_0x5d07e1);}function _0x145c8a(_0x5abb9d,_0x527c74,_0x36a0b5,_0xb11a43,_0x29bdc3){const _0x4a8137=_0x3d4d;return _0x3b44a5[_0x4a8137(0x259)](_0x5abb9d[_0x4a8137(0x296)],{'key':_0x527c74,..._0x4ad570(_0x5abb9d,_0x36a0b5,_0x29bdc3),..._0xb11a43},(_0x10207e(_0x5abb9d,_0x36a0b5)['children']||[])['map']((_0x225ff1,_0x2d22ab)=>_0x145c8a(_0x225ff1,_0x527c74+'-'+_0x5abb9d[_0x4a8137(0x296)]+'-'+_0x2d22ab,_0x36a0b5,void 0x0,_0x29bdc3)));}function _0x4ad570(_0x586ffd,_0x20de8a,_0x20b39f){const _0x104baf=_0x3d4d,_0x283cce={..._0x586ffd[_0x104baf(0x281)]};_0x20b39f!=null&&_0x20b39f[_0x104baf(0x308)]&&_0x283cce[_0x104baf(0x1ec)]==='colorChannel1'&&(_0x283cce[_0x104baf(0x1ec)]=_0x20b39f[_0x104baf(0x308)]),_0x586ffd['tag']===_0x104baf(0x253)&&_0x283cce['id']&&(_0x283cce['id']=_0x283cce['id']+_0x20de8a[_0x104baf(0x287)]),Object[_0x104baf(0x368)](_0x283cce)[_0x104baf(0x30f)](([_0x3dbca2,_0x549163])=>{const _0x323e53=_0x104baf;_0x3dbca2===_0x323e53(0x253)&&typeof _0x549163=='string'&&(_0x283cce[_0x3dbca2]=_0x549163[_0x323e53(0x3bc)](/url\(#(.*)\)/,_0x323e53(0x359)+_0x20de8a['idSuffix']+')'));});const {defIds:_0x616e82}=_0x20de8a;return!_0x616e82||_0x616e82[_0x104baf(0x16d)]===0x0||(_0x586ffd[_0x104baf(0x296)]==='use'&&_0x283cce[_0x104baf(0x3af)]&&(_0x283cce[_0x104baf(0x3af)]=_0x283cce[_0x104baf(0x3af)]+_0x20de8a[_0x104baf(0x287)]),Object[_0x104baf(0x368)](_0x283cce)['forEach'](([_0x142c07,_0x3dd351])=>{const _0x16f12c=_0x104baf;typeof _0x3dd351==_0x16f12c(0x14a)&&(_0x283cce[_0x142c07]=_0x3dd351[_0x16f12c(0x3bc)](/url\(#(.*)\)/,_0x16f12c(0x359)+_0x20de8a[_0x16f12c(0x287)]+')'));})),_0x283cce;}function _0x10207e(_0x12b4a8,_0x18c8b9){const _0x3a7761=_0x3d4d;var _0x3446a1;const {defIds:_0x3440a4}=_0x18c8b9;return!_0x3440a4||_0x3440a4[_0x3a7761(0x16d)]===0x0?_0x12b4a8:_0x12b4a8[_0x3a7761(0x296)]===_0x3a7761(0x3eb)&&((_0x3446a1=_0x12b4a8[_0x3a7761(0x1c1)])!=null&&_0x3446a1[_0x3a7761(0x16d)])?{..._0x12b4a8,'children':_0x12b4a8[_0x3a7761(0x1c1)][_0x3a7761(0x361)](_0x10743d=>typeof _0x10743d[_0x3a7761(0x281)]['id']==_0x3a7761(0x14a)&&_0x3440a4&&_0x3440a4[_0x3a7761(0x205)](_0x10743d[_0x3a7761(0x281)]['id'])?{..._0x10743d,'attrs':{..._0x10743d[_0x3a7761(0x281)],'id':_0x10743d['attrs']['id']+_0x18c8b9[_0x3a7761(0x287)]}}:_0x10743d)}:_0x12b4a8;}function _0x146853(){const _0x23d80b=_0x3d4d;return Math[_0x23d80b(0x380)]()['toString'](0x24)['substring'](0x2,0x8);}_0x2ada8d[_0x3ae46d(0x3bf)]='UniverIcon';const _0x248c66={'tag':'svg','attrs':{'xmlns':_0x3ae46d(0x1a9),'fill':'none','viewBox':_0x3ae46d(0x364),'width':_0x3ae46d(0x2d1),'height':_0x3ae46d(0x2d1)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x3ae46d(0x327),'d':_0x3ae46d(0x3dc),'strokeLinecap':_0x3ae46d(0x2b0),'strokeLinejoin':_0x3ae46d(0x2b0),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3ae46d(0x273)},'children':[{'tag':_0x3ae46d(0x334),'attrs':{'fill':_0x3ae46d(0x135),'d':_0x3ae46d(0x1d0)}}]}]}],'defIds':[_0x3ae46d(0x273)]},_0x3d8c98=_0x3b44a5[_0x3ae46d(0x325)](function(_0x361565,_0x426f8d){const _0x143709=_0x3ae46d;return _0x3b44a5[_0x143709(0x259)](_0x2ada8d,Object[_0x143709(0x323)]({},_0x361565,{'id':_0x143709(0x2ba),'ref':_0x426f8d,'icon':_0x248c66}));});_0x3d8c98[_0x3ae46d(0x3bf)]='OffLineIcon';const _0xa84f0c={'tag':_0x3ae46d(0x3fc),'attrs':{'xmlns':_0x3ae46d(0x1a9),'fill':_0x3ae46d(0x407),'viewBox':_0x3ae46d(0x1ce),'width':_0x3ae46d(0x2d1),'height':_0x3ae46d(0x2d1)},'children':[{'tag':'g','attrs':{'clipPath':_0x3ae46d(0x16f)},'children':[{'tag':_0x3ae46d(0x334),'attrs':{'stroke':'currentColor','d':_0x3ae46d(0x3e1),'strokeLinecap':_0x3ae46d(0x2b0),'strokeLinejoin':_0x3ae46d(0x2b0),'strokeWidth':1.2}}]},{'tag':_0x3ae46d(0x3eb),'attrs':{},'children':[{'tag':_0x3ae46d(0x15b),'attrs':{'id':_0x3ae46d(0x2fe)},'children':[{'tag':'path','attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':_0x3ae46d(0x1ca)}}]}]}],'defIds':[_0x3ae46d(0x2fe)]},_0x5dea2f=_0x3b44a5['forwardRef'](function(_0x3e808c,_0x5164f7){const _0x8ff964=_0x3ae46d;return _0x3b44a5[_0x8ff964(0x259)](_0x2ada8d,Object[_0x8ff964(0x323)]({},_0x3e808c,{'id':_0x8ff964(0x317),'ref':_0x5164f7,'icon':_0xa84f0c}));});_0x5dea2f[_0x3ae46d(0x3bf)]=_0x3ae46d(0x35f);function _0x4c5916(_0x1d3ca4){const _0x4a0909=_0x3ae46d;switch(_0x1d3ca4){case _0x5d78d3[_0x4a0909(0x3d1)][_0x4a0909(0x403)]:return _0x4a0909(0x371);case _0x5d78d3[_0x4a0909(0x3d1)]['CONFLICT']:return _0x4a0909(0x235);case _0x5d78d3[_0x4a0909(0x3d1)][_0x4a0909(0x385)]:return'collabStatus.fetchMiss';case _0x5d78d3[_0x4a0909(0x3d1)]['NOT_COLLAB']:return _0x4a0909(0x3b3);case _0x5d78d3[_0x4a0909(0x3d1)][_0x4a0909(0x19f)]:case _0x5d78d3[_0x4a0909(0x3d1)][_0x4a0909(0x2d0)]:return _0x4a0909(0x33d);case _0x5d78d3['CollaborationStatus'][_0x4a0909(0x393)]:case _0x5d78d3[_0x4a0909(0x3d1)][_0x4a0909(0x3e4)]:return'collabStatus.synced';}}function _0x9e8491(_0x1854c4){const _0x2bb8ae=_0x3ae46d,{status$:_0x35bdee}=_0x1854c4,_0x5aae5a=_0x5266fa[_0x2bb8ae(0x3a1)](_0x35bdee,_0x5d78d3[_0x2bb8ae(0x3d1)][_0x2bb8ae(0x3cd)]),_0x184de2=_0x5266fa[_0x2bb8ae(0x2b3)](_0xb5476b[_0x2bb8ae(0x262)]),_0x22bf0c=_0x5266fa[_0x2bb8ae(0x2b3)](_0x5d78d3[_0x2bb8ae(0x395)]),_0x3f9da9=_0x5aae5a!==_0x5d78d3[_0x2bb8ae(0x3d1)][_0x2bb8ae(0x403)],_0x5c30f3=_0x184de2['t'](_0x4c5916(_0x5aae5a)),_0x9a7f74=_0x3f9da9?_0x283a9c[_0x2bb8ae(0x3b7)](_0x5dea2f,{}):_0x283a9c[_0x2bb8ae(0x3b7)](_0x3d8c98,{}),_0x81922d=_0x3b44a5[_0x2bb8ae(0x1eb)](()=>{_0x3f9da9||_0x22bf0c['reconnect']();},[_0x3f9da9,_0x22bf0c]);function _0x42a460(){const _0x2b180c=_0x2bb8ae;return _0x283a9c[_0x2b180c(0x27f)](_0x2b180c(0x1b9),{'className':'univer-flex\x20univer-items-center','onClick':_0x81922d,'children':[_0x283a9c[_0x2b180c(0x3b7)](_0x2b180c(0x1b9),{'className':_0x12f095[_0x2b180c(0x16c)](_0x2b180c(0x229),{'univer-text-green-500':_0x3f9da9,'univer-text-red-500':!_0x3f9da9}),'children':_0x9a7f74}),_0x283a9c[_0x2b180c(0x3b7)]('div',{'className':_0x2b180c(0x33a),'children':_0x5c30f3})]});}return _0x3f9da9?_0x42a460():_0x283a9c['jsx'](_0x12f095[_0x2bb8ae(0x2bb)],{'title':_0x184de2['t'](_0x2bb8ae(0x330)),'children':_0x42a460()});}var _0x16386c=Object[_0x3ae46d(0x387)],_0x466b95=(_0x517db3,_0x5c72a4,_0x546ff0,_0x3d6706)=>{for(var _0x5daff3=_0x3d6706>0x1?void 0x0:_0x3d6706?_0x16386c(_0x5c72a4,_0x546ff0):_0x5c72a4,_0x2020f9=_0x517db3['length']-0x1,_0x2c8f23;_0x2020f9>=0x0;_0x2020f9--)(_0x2c8f23=_0x517db3[_0x2020f9])&&(_0x5daff3=_0x2c8f23(_0x5daff3)||_0x5daff3);return _0x5daff3;},_0x2ef4fc=(_0x3d97c9,_0x3b242d)=>(_0x3602a8,_0x4207f6)=>_0x3b242d(_0x3602a8,_0x4207f6,_0x3d97c9);_0x65ef88[_0x3ae46d(0x131)]=class extends _0xb5476b[_0x3ae46d(0x1d6)]{constructor(_0x2cf568,_0x1db9f7,_0x2ebdff,_0xf6787a){const _0x1c0548=_0x3ae46d;super(),_0x2a22ff(this,'_status$',new _0x3d2c80[(_0x1c0548(0x1de))](_0x5d78d3[_0x1c0548(0x3d1)][_0x1c0548(0x3cd)])),(this['_univerInstanceService']=_0x2cf568,this[_0x1c0548(0x3dd)]=_0x1db9f7,this['_collaborationController']=_0x2ebdff,this[_0x1c0548(0x2ce)]=_0xf6787a,this[_0x1c0548(0x1ef)](),this[_0x1c0548(0x1d4)]());}[_0x3ae46d(0x1d4)](){const _0x2342ce=_0x3ae46d;this['disposeWithMe'](this[_0x2342ce(0x28f)]['focused$'][_0x2342ce(0x181)](_0x3d2c80[_0x2342ce(0x15d)](()=>{const _0x409dfe=_0x2342ce,_0x3ea69e=this['_univerInstanceService']['getFocusedUnit']();return _0x3ea69e?this[_0x409dfe(0x1c4)][_0x409dfe(0x143)](_0x3ea69e[_0x409dfe(0x142)]()):_0x3d2c80['of'](null);}),_0x3d2c80[_0x2342ce(0x15d)](_0x391fbf=>_0x391fbf?_0x391fbf[_0x2342ce(0x26c)]:_0x3d2c80['of'](_0x5d78d3[_0x2342ce(0x3d1)][_0x2342ce(0x3cd)])))['subscribe'](_0x47fcb9=>{const _0x2ba569=_0x2342ce;this['_status$'][_0x2ba569(0x20b)](_0x47fcb9);}));}[_0x3ae46d(0x1ef)](){const _0x20541b=_0x3ae46d;this[_0x20541b(0x2b8)](this[_0x20541b(0x2ce)][_0x20541b(0x1a2)](_0x5266fa['BuiltInUIPart'][_0x20541b(0x319)],()=>_0x5266fa[_0x20541b(0x247)](_0x92cbfd({'status$':this[_0x20541b(0x390)][_0x20541b(0x2ca)]()}),this['_injector'])));}},_0x65ef88[_0x3ae46d(0x131)]=_0x466b95([_0x2ef4fc(0x0,_0xb5476b[_0x3ae46d(0x206)]),_0x2ef4fc(0x1,_0xb5476b[_0x3ae46d(0x318)](_0xb5476b[_0x3ae46d(0x184)])),_0x2ef4fc(0x2,_0xb5476b[_0x3ae46d(0x318)](_0x5d78d3['CollaborationController'])),_0x2ef4fc(0x3,_0x5266fa['IUIPartsService'])],_0x65ef88[_0x3ae46d(0x131)]);function _0x92cbfd(_0x42d656){const {status$:_0x411c81}=_0x42d656;return function(){return _0x283a9c['jsx'](_0x9e8491,{'status$':_0x411c81});};}const _0x49d5ac=_0xb5476b[_0x3ae46d(0x333)]('uni.network.url-service');var _0xaafb5b=Object[_0x3ae46d(0x387)],_0x1e1f9e=(_0x554ab2,_0x535edc,_0x457799,_0x4e6185)=>{const _0x598dbe=_0x3ae46d;for(var _0x18b93d=_0x4e6185>0x1?void 0x0:_0x4e6185?_0xaafb5b(_0x535edc,_0x457799):_0x535edc,_0x586b67=_0x554ab2[_0x598dbe(0x16d)]-0x1,_0x53425d;_0x586b67>=0x0;_0x586b67--)(_0x53425d=_0x554ab2[_0x586b67])&&(_0x18b93d=_0x53425d(_0x18b93d)||_0x18b93d);return _0x18b93d;},_0x363f7d=(_0x2c027c,_0x2a8bdf)=>(_0x16406b,_0x4efa2f)=>_0x2a8bdf(_0x16406b,_0x4efa2f,_0x2c027c);_0x65ef88[_0x3ae46d(0x2b4)]=class extends _0xb5476b[_0x3ae46d(0x1e8)]{constructor(_0x147801,_0x5d2dce,_0x154652,_0xfb4ca7,_0x5b2e68){const _0x2001a8=_0x3ae46d;super(),this['_urlService']=_0x147801,this[_0x2001a8(0x2f9)]=_0x5d2dce,this[_0x2001a8(0x358)]=_0x154652,this['_dataLoaderService']=_0xfb4ca7,_0x5b2e68?_0x5b2e68==null||_0x5b2e68[_0x2001a8(0x2b9)]()['then'](()=>this['_init']()):(this['_logService']['debug']('[CollaborationDataLoaderController]',_0x2001a8(0x24d)),this[_0x2001a8(0x266)]());}async[_0x3ae46d(0x266)](){const _0x20dd1d=_0x3ae46d,_0x3c6a9d=this['_urlService'][_0x20dd1d(0x336)](_0x20dd1d(0x202)),_0xb89c60=this[_0x20dd1d(0x13d)][_0x20dd1d(0x336)](_0x20dd1d(0x3f7)),_0x15743f=this[_0x20dd1d(0x13d)][_0x20dd1d(0x336)](_0x20dd1d(0x3bb));if(!_0x3c6a9d||!_0xb89c60){this[_0x20dd1d(0x2f9)][_0x20dd1d(0x356)](_0x20dd1d(0x1af),_0x20dd1d(0x39f));return;}const _0x41ff55=await this['_dataLoaderService'][_0x20dd1d(0x243)](_0x3c6a9d,Number(_0xb89c60),_0x15743f);_0x41ff55&&_0x41ff55 instanceof _0xb5476b[_0x20dd1d(0x1d9)]&&this['_setupSubUnitSync'](_0x41ff55);}async[_0x3ae46d(0x190)](_0xf99d48){const _0x54ea2a=_0x3ae46d;await this[_0x54ea2a(0x1ed)](_0xf99d48),_0xf99d48[_0x54ea2a(0x1e7)]['pipe'](_0x3d2c80['takeUntil'](this[_0x54ea2a(0x2c8)]))[_0x54ea2a(0x338)](_0x259d34=>{const _0x5cf979=_0x54ea2a;_0x259d34&&this[_0x5cf979(0x21f)](_0x259d34);}),this[_0x54ea2a(0x13d)][_0x54ea2a(0x157)][_0x54ea2a(0x181)](_0x3d2c80[_0x54ea2a(0x346)](this['dispose$']))[_0x54ea2a(0x338)](()=>this['_updateSubUnitFromURLParams'](_0xf99d48));}[_0x3ae46d(0x21f)](_0x5edc43,_0x3c8024=!0x1){const _0x26d58f=_0x3ae46d,_0x15737c=this['_urlService'][_0x26d58f(0x336)](_0x26d58f(0x3bb));_0x5edc43['getSheetId']()!==_0x15737c&&this[_0x26d58f(0x13d)][_0x26d58f(0x22f)](_0x26d58f(0x3bb),_0x5edc43[_0x26d58f(0x2c5)](),_0x3c8024);}async[_0x3ae46d(0x1ed)](_0xe43233){const _0x126765=_0x3ae46d;var _0x56d9cb;const _0x2fe921=this[_0x126765(0x13d)][_0x126765(0x336)](_0x126765(0x3bb));if(!_0x2fe921||!_0xe43233[_0x126765(0x34d)](_0x2fe921)){const _0x2aa423=_0xe43233['getUnhiddenWorksheets']()[0x0],_0x5da26c=_0xe43233[_0x126765(0x34d)](_0x2aa423);if(!_0x5da26c)return;this[_0x126765(0x21f)](_0x5da26c,!0x0),await this[_0x126765(0x358)]['executeCommand'](_0xb5761e['SetWorksheetActivateCommand']['id'],{'unitId':_0xe43233['getUnitId'](),'subUnitId':_0x2aa423});return;}((_0x56d9cb=_0xe43233[_0x126765(0x372)]())==null?void 0x0:_0x56d9cb[_0x126765(0x2c5)]())!==_0x2fe921&&await this['_commandService'][_0x126765(0x1fd)](_0xb5761e[_0x126765(0x32b)]['id'],{'unitId':_0xe43233[_0x126765(0x142)](),'subUnitId':_0x2fe921});}},_0x65ef88[_0x3ae46d(0x2b4)]=_0x1e1f9e([_0x363f7d(0x0,_0x49d5ac),_0x363f7d(0x1,_0xb5476b[_0x3ae46d(0x234)]),_0x363f7d(0x2,_0xb5476b['ICommandService']),_0x363f7d(0x3,_0xb5476b[_0x3ae46d(0x318)](_0x5d78d3[_0x3ae46d(0x3be)])),_0x363f7d(0x4,_0xb5476b[_0x3ae46d(0x38e)](_0x151960['IRemoteInstanceService']))],_0x65ef88['CollaborationDataLoaderController']);var _0x2607d7=Object[_0x3ae46d(0x387)],_0x4d2834=(_0x1e5def,_0x1d42e1,_0x417e11,_0x548058)=>{const _0x244253=_0x3ae46d;for(var _0x2df8ad=_0x548058>0x1?void 0x0:_0x548058?_0x2607d7(_0x1d42e1,_0x417e11):_0x1d42e1,_0x2d78fe=_0x1e5def[_0x244253(0x16d)]-0x1,_0x585b7c;_0x2d78fe>=0x0;_0x2d78fe--)(_0x585b7c=_0x1e5def[_0x2d78fe])&&(_0x2df8ad=_0x585b7c(_0x2df8ad)||_0x2df8ad);return _0x2df8ad;},_0x32ab06=(_0x43cff1,_0x36efd6)=>(_0x212776,_0x41665a)=>_0x36efd6(_0x212776,_0x41665a,_0x43cff1);let _0x2c3d83=class extends _0xb5476b[_0x3ae46d(0x1e8)]{constructor(_0x45506d,_0xb24204){const _0x18228a=_0x3ae46d;super(),this['_docClipboardService']=_0x45506d,this[_0x18228a(0x37f)]=_0xb24204,this[_0x18228a(0x266)]();}[_0x3ae46d(0x266)](){const _0x2d23a2=_0x3ae46d,_0x1262d3=this;this['disposeWithMe'](this[_0x2d23a2(0x3ca)][_0x2d23a2(0x39d)]({'onBeforePasteImage':async _0x5ab7d1=>{const _0x20b6df=_0x2d23a2,_0x742c36=await _0x1262d3[_0x20b6df(0x37f)]['saveImage'](_0x5ab7d1);return _0x742c36?{'source':_0x742c36[_0x20b6df(0x3db)],'imageSourceType':_0x742c36[_0x20b6df(0x20e)]}:null;}}));}};_0x2c3d83=_0x4d2834([_0x32ab06(0x0,_0x5d7db3[_0x3ae46d(0x237)]),_0x32ab06(0x1,_0x196c37[_0x3ae46d(0x322)])],_0x2c3d83);const _0x2c66d2=[_0x3ae46d(0x35e),'jiqing.500',_0x3ae46d(0x2e7),_0x3ae46d(0x22d),'blue.400',_0x3ae46d(0x26d)];class _0x428a9d extends _0xb5476b[_0x3ae46d(0x1d6)]{constructor(){const _0x5f01e3=_0x3ae46d;super(...arguments),_0x2a22ff(this,_0x5f01e3(0x2e5),new Map()),_0x2a22ff(this,_0x5f01e3(0x136),0x0);}[_0x3ae46d(0x268)](_0x375b8e){const _0x2ad521=_0x3ae46d;if(this['_assignedColors'][_0x2ad521(0x151)](_0x375b8e))return this[_0x2ad521(0x2e5)]['get'](_0x375b8e);const _0x4b064d=_0x2c66d2[this[_0x2ad521(0x136)]];return this[_0x2ad521(0x136)]=(this[_0x2ad521(0x136)]+0x1)%_0x2c66d2[_0x2ad521(0x16d)],this[_0x2ad521(0x2e5)][_0x2ad521(0x307)](_0x375b8e,_0x4b064d),_0x4b064d;}}function _0x3d2ab7(_0x1caa8c){let _0x252132='';for(const _0x3adc90 of _0x1caa8c){const {startOffset:_0x5831fa,endOffset:_0x33a8c8,isActive:_0x3d6660,rangeType:_0x153bc4,segmentId:_0x9bef64,segmentPage:_0xfbfdb7}=_0x3adc90;_0x252132['length']&&(_0x252132+=','),_0x252132+=_0x5831fa+':'+_0x33a8c8+':'+(_0x3d6660?'1':'0')+':'+_0x153bc4+':'+_0x9bef64+':'+_0xfbfdb7;}return _0x252132;}function _0x103d41(_0x2f6f4b){const _0x402e36=_0x3ae46d,_0x48323e=_0x2f6f4b['split'](','),_0x1a3577=[];for(const _0x364075 of _0x48323e){const [_0x4e589f,_0x57732e,_0x5f1785,_0x32c0c1,_0x15d3bb,_0x482088]=_0x364075[_0x402e36(0x1ab)](':');_0x1a3577['push']({'startOffset':Number(_0x4e589f),'endOffset':Number(_0x57732e),'collapsed':_0x4e589f===_0x57732e,'isActive':_0x5f1785==='1','rangeType':_0x32c0c1===_0xb5476b[_0x402e36(0x2d2)][_0x402e36(0x3c1)]?_0xb5476b[_0x402e36(0x2d2)][_0x402e36(0x3c1)]:_0xb5476b[_0x402e36(0x2d2)]['RECT'],'segmentId':typeof _0x15d3bb==_0x402e36(0x14a)?String(_0x15d3bb):'','segmentPage':Number(_0x482088!=null?_0x482088:-0x1)});}return _0x1a3577['some'](_0x7e8026=>_0x7e8026['isActive'])||(_0x1a3577[0x0][_0x402e36(0x389)]=!0x0),_0x1a3577;}class _0x837920 extends _0xb5476b[_0x3ae46d(0x1e8)]{constructor(){const _0x4f53a8=_0x3ae46d;super(...arguments),_0x2a22ff(this,_0x4f53a8(0x174),new _0x3d2c80[(_0x4f53a8(0x1de))](null)),_0x2a22ff(this,_0x4f53a8(0x3a8),this['_collabCursorState$']['asObservable']());}[_0x3ae46d(0x1bf)](_0x6b980b){const _0x4b3f8a=_0x3ae46d,{unitID:_0x56eb2b,memberID:_0x5d72e5,textRanges:_0x3836fb}=_0x6b980b,_0x14c01c=_0x3d2ab7(_0x3836fb);if(_0x14c01c==='')return;const _0x5df7cb={'unitID':_0x56eb2b,'memberID':_0x5d72e5,'selection':_0x14c01c};this[_0x4b3f8a(0x174)]['next'](_0x5df7cb);}}var _0x356b5c=Object[_0x3ae46d(0x387)],_0xed3794=(_0x298949,_0x3bbeee,_0x5ef753,_0x2afa16)=>{const _0x2648ee=_0x3ae46d;for(var _0x530b26=_0x2afa16>0x1?void 0x0:_0x2afa16?_0x356b5c(_0x3bbeee,_0x5ef753):_0x3bbeee,_0x56864a=_0x298949[_0x2648ee(0x16d)]-0x1,_0x1fc95f;_0x56864a>=0x0;_0x56864a--)(_0x1fc95f=_0x298949[_0x56864a])&&(_0x530b26=_0x1fc95f(_0x530b26)||_0x530b26);return _0x530b26;},_0x27f609=(_0x27d7d1,_0x338f66)=>(_0xd58fa7,_0x3e24a1)=>_0x338f66(_0xd58fa7,_0x3e24a1,_0x27d7d1);const _0x35e2b8=0x12c,_0x5abbe7=0x64;let _0x2f1b6a=class extends _0xb5476b[_0x3ae46d(0x1e8)]{constructor(_0x33b284,_0x2b715e,_0x25cf1e,_0x98c16c,_0x1b21fa,_0x2dd136,_0x4cb9bd,_0x5a8e47,_0x123a3e){const _0x5529ed=_0x3ae46d;super(),_0x2a22ff(this,_0x5529ed(0x1d8),!0x1),_0x2a22ff(this,_0x5529ed(0x266),!0x1),_0x2a22ff(this,_0x5529ed(0x379),new _0x3d2c80[(_0x5529ed(0x1de))](new Map())),_0x2a22ff(this,'cursorInfo$',this[_0x5529ed(0x379)][_0x5529ed(0x2ca)]()),_0x2a22ff(this,_0x5529ed(0x1ac),new _0x3d2c80[(_0x5529ed(0x1de))]([])),_0x2a22ff(this,_0x5529ed(0x245),this[_0x5529ed(0x1ac)]['pipe'](_0x3d2c80['debounceTime'](_0x35e2b8))),_0x2a22ff(this,_0x5529ed(0x17c),_0xb5476b[_0x5529ed(0x40a)](_0x5ec8c0=>{const _0x1ead62=_0x5529ed,_0x1277c0={'eventID':_0x486998[_0x1ead62(0x236)][_0x1ead62(0x1aa)],'data':{'unitID':this['unitID'],'memberID':this[_0x1ead62(0x3a0)][_0x1ead62(0x1e0)](),'selection':_0x3d2ab7(_0x5ec8c0)}};this[_0x1ead62(0x3a0)]['send'](_0x1277c0,this[_0x1ead62(0x2d8)]);},_0x5abbe7)),(this[_0x5529ed(0x2d8)]=_0x33b284,this[_0x5529ed(0x3a0)]=_0x2b715e,this[_0x5529ed(0x3dd)]=_0x25cf1e,this[_0x5529ed(0x3c2)]=_0x98c16c,this[_0x5529ed(0x3c4)]=_0x1b21fa,this[_0x5529ed(0x185)]=_0x2dd136,this[_0x5529ed(0x2e4)]=_0x4cb9bd,this[_0x5529ed(0x28f)]=_0x5a8e47,this[_0x5529ed(0x358)]=_0x123a3e);}get[_0x3ae46d(0x177)](){const _0x3d81a7=_0x3ae46d;return this[_0x3d81a7(0x379)][_0x3d81a7(0x176)]();}get[_0x3ae46d(0x29e)](){const _0x34ec20=_0x3ae46d;return this[_0x34ec20(0x1ac)][_0x34ec20(0x176)]();}[_0x3ae46d(0x2e2)](){const _0x5d13e0=_0x3ae46d;super[_0x5d13e0(0x2e2)](),this[_0x5d13e0(0x379)][_0x5d13e0(0x20b)](new Map()),this[_0x5d13e0(0x379)]['complete'](),this[_0x5d13e0(0x1ac)][_0x5d13e0(0x20b)]([]),this['_roomMembers$'][_0x5d13e0(0x2b6)]();}[_0x3ae46d(0x1d7)](){const _0x172ca5=_0x3ae46d;this[_0x172ca5(0x266)]||(this[_0x172ca5(0x266)]=!0x0,this[_0x172ca5(0x3a0)]['sessionStatus$']['pipe'](_0x3d2c80[_0x172ca5(0x346)](this[_0x172ca5(0x2c8)]))[_0x172ca5(0x338)](_0x24f27a=>{const _0x514181=_0x172ca5;_0x24f27a===_0x5d78d3[_0x514181(0x2fd)][_0x514181(0x35b)]?this['_toggleOnline']():this[_0x514181(0x316)]();}),this[_0x172ca5(0x3a0)][_0x172ca5(0x2ad)]['pipe'](_0x3d2c80[_0x172ca5(0x346)](this[_0x172ca5(0x2c8)]))[_0x172ca5(0x338)](_0x218688=>{const _0x52bf77=_0x172ca5,_0x3e8533=_0x218688['eventID'];_0x3e8533===_0x486998[_0x52bf77(0x236)][_0x52bf77(0x1aa)]&&this[_0x52bf77(0x302)](_0x218688),_0x3e8533===_0x486998['CollaborationEvent'][_0x52bf77(0x24c)]&&this['_onCursorDelete'](_0x218688);}),this[_0x172ca5(0x2b8)](this[_0x172ca5(0x358)][_0x172ca5(0x3c0)](_0x4e417e=>{const _0x1d82b3=_0x172ca5,_0xb32b69=_0x4e417e[_0x1d82b3(0x398)];_0xb32b69!=null&&this[_0x1d82b3(0x1d8)]&&_0x4e417e['id']===_0x2190d4['SetTextSelectionsOperation']['id']&&_0xb32b69['unitId']===this[_0x1d82b3(0x2d8)]&&_0xb32b69['isEditing']===!0x1&&_0xb32b69[_0x1d82b3(0x360)][_0x1d82b3(0x16d)]>0x0&&this[_0x1d82b3(0x17c)](_0xb32b69[_0x1d82b3(0x360)]);})),this[_0x172ca5(0x185)]['collabCursorState$'][_0x172ca5(0x181)](_0x3d2c80[_0x172ca5(0x346)](this['dispose$']))[_0x172ca5(0x338)](_0x3727fa=>{const _0x2846ff=_0x172ca5;if((_0x3727fa==null?void 0x0:_0x3727fa[_0x2846ff(0x2d8)])!==this[_0x2846ff(0x2d8)])return;const _0x467b7d={'eventID':_0x486998[_0x2846ff(0x236)]['UPDATE_CURSOR'],'data':_0x3727fa};this[_0x2846ff(0x302)](_0x467b7d);}),this[_0x172ca5(0x2b8)](this[_0x172ca5(0x358)][_0x172ca5(0x3c0)](_0x1b3a17=>{const _0x36d0e8=_0x172ca5;if(_0x1b3a17[_0x36d0e8(0x398)]==null)return;const _0x674ab0=_0x1b3a17[_0x36d0e8(0x398)];if(_0x1b3a17['id']!==_0x2190d4[_0x36d0e8(0x3df)]['id']||_0x674ab0['unitId']!==this[_0x36d0e8(0x2d8)])return;const _0x9ef191={'id':'doc.mutation.rich-text-editing','params':_0x674ab0},_0x4ef70a=this[_0x36d0e8(0x177)];for(const [_0x367ab2,_0x2f7996]of _0x4ef70a){const _0x9dcf8f={'id':_0x36d0e8(0x353),'params':{'unitId':this[_0x36d0e8(0x2d8)],'actions':null,'textRanges':_0x2f7996['ranges']}},_0x3b0377=this[_0x36d0e8(0x2e4)]['transformMutation'](_0x9ef191,_0x9dcf8f,!0x1);if(_0x486998[_0x36d0e8(0x217)](_0x3b0377))throw _0x3b0377['error'];_0x4ef70a['set'](_0x367ab2,{..._0x2f7996,'ranges':_0x3b0377[_0x36d0e8(0x29c)]['params'][_0x36d0e8(0x39b)]});}queueMicrotask(()=>{const _0x301c3a=_0x36d0e8;this['_cursorInfo$'][_0x301c3a(0x20b)](_0x4ef70a);});})));}['_onCursorUpdate'](_0x564450){const _0x198391=_0x3ae46d;var _0x356e6a,_0x5d1fc9;const {memberID:_0x59d546,selection:_0xa31e9c}=_0x564450[_0x198391(0x350)],_0x374b09=_0x103d41(_0xa31e9c),_0x27187f=(_0x5d1fc9=(_0x356e6a=this['_memberService'][_0x198391(0x2ae)](this['unitID'],_0x59d546))==null?void 0x0:_0x356e6a['name'])!=null?_0x5d1fc9:_0x198391(0x13e),_0x478ada={'color':this['_colorAssignService'][_0x198391(0x268)](_0x59d546),'name':_0x27187f,'ranges':_0x374b09},_0x481be5=this['cursorInfo'];_0x481be5[_0x198391(0x307)](_0x59d546,_0x478ada),this[_0x198391(0x379)][_0x198391(0x20b)](_0x481be5);}[_0x3ae46d(0x351)](_0x45f044){const _0x10d288=_0x3ae46d,{memberID:_0x5cc0d3}=_0x45f044['data'],_0x5ba575=this[_0x10d288(0x177)];_0x5ba575[_0x10d288(0x145)](_0x5cc0d3),this[_0x10d288(0x379)][_0x10d288(0x20b)](_0x5ba575);}['_toggleOnline'](){const _0x407c36=_0x3ae46d;var _0x2b86f4;if(this[_0x407c36(0x1d8)]=!0x0,((_0x2b86f4=this[_0x407c36(0x28f)][_0x407c36(0x3f0)]())==null?void 0x0:_0x2b86f4[_0x407c36(0x142)]())!==this[_0x407c36(0x2d8)])return;const _0x47d1b0=this['_injector'][_0x407c36(0x218)](_0x2190d4[_0x407c36(0x397)])[_0x407c36(0x3d4)]();Array[_0x407c36(0x304)](_0x47d1b0)&&_0x47d1b0[_0x407c36(0x16d)]>0x0&&this[_0x407c36(0x17c)](_0x47d1b0);}[_0x3ae46d(0x316)](){this['_online']=!0x1;}};_0x2f1b6a=_0xed3794([_0x27f609(0x2,_0xb5476b[_0x3ae46d(0x318)](_0xb5476b[_0x3ae46d(0x184)])),_0x27f609(0x3,_0xb5476b['Inject'](_0x428a9d)),_0x27f609(0x4,_0xb5476b[_0x3ae46d(0x318)](_0x5d78d3[_0x3ae46d(0x15f)])),_0x27f609(0x5,_0xb5476b[_0x3ae46d(0x318)](_0x837920)),_0x27f609(0x6,_0x486998[_0x3ae46d(0x13a)]),_0x27f609(0x7,_0xb5476b['IUniverInstanceService']),_0x27f609(0x8,_0xb5476b[_0x3ae46d(0x148)])],_0x2f1b6a);var _0x5cd5ba=Object[_0x3ae46d(0x387)],_0xce8a20=(_0x1e17da,_0x5a38b8,_0x728126,_0x4256ae)=>{const _0x50df14=_0x3ae46d;for(var _0xce79d5=_0x4256ae>0x1?void 0x0:_0x4256ae?_0x5cd5ba(_0x5a38b8,_0x728126):_0x5a38b8,_0x17f7e4=_0x1e17da[_0x50df14(0x16d)]-0x1,_0x326cfa;_0x17f7e4>=0x0;_0x17f7e4--)(_0x326cfa=_0x1e17da[_0x17f7e4])&&(_0xce79d5=_0x326cfa(_0xce79d5)||_0xce79d5);return _0xce79d5;},_0x30ab38=(_0x5c8f94,_0xa0c161)=>(_0x479d04,_0x5437f8)=>_0xa0c161(_0x479d04,_0x5437f8,_0x5c8f94);const _0x20248f=0x12c,_0x503aba=0x64,_0x159907=()=>{let _0x5e8953=[],_0x14d802=!0x1;return _0x11c738=>{const _0x45f28e=_0x3d4d;_0x5e8953[_0x45f28e(0x284)](_0x11c738),_0x14d802||(_0x14d802=!0x0,setTimeout(()=>{const _0x30a845=_0x45f28e;_0x5e8953[_0x30a845(0x30f)](_0x9b21b5=>_0x9b21b5()),_0x5e8953=[],_0x14d802=!0x1;}));};};let _0x225729=class extends _0xb5476b['RxDisposable']{constructor(_0x323b98,_0x5d89e5,_0x590594,_0x3d46cf,_0xa77a0f,_0x22612e,_0x5a58b8,_0x3c7bc1){const _0x118383=_0x3ae46d;super(),_0x2a22ff(this,'_online',!0x1),_0x2a22ff(this,_0x118383(0x266),!0x1),_0x2a22ff(this,_0x118383(0x379),new _0x3d2c80[(_0x118383(0x1de))](new Map())),_0x2a22ff(this,'cursorInfo$',this[_0x118383(0x379)][_0x118383(0x2ca)]()),_0x2a22ff(this,_0x118383(0x1ac),new _0x3d2c80[(_0x118383(0x1de))]([])),_0x2a22ff(this,_0x118383(0x245),this[_0x118383(0x1ac)][_0x118383(0x181)](_0x3d2c80[_0x118383(0x2df)](_0x20248f))),_0x2a22ff(this,'_updateLocalCursor',_0xb5476b[_0x118383(0x40a)]((_0x1c6c44,_0x1dc4ee)=>{const _0xaca4ce=_0x118383,_0x5aa56b={'eventID':_0x486998[_0xaca4ce(0x236)][_0xaca4ce(0x1aa)],'data':{'unitID':this[_0xaca4ce(0x2d8)],'memberID':this[_0xaca4ce(0x3a0)][_0xaca4ce(0x1e0)](),'selection':_0x4ac72b[_0xaca4ce(0x1cc)](_0x1c6c44,_0x1dc4ee[_0xaca4ce(0x3b4)])}};this[_0xaca4ce(0x3a0)][_0xaca4ce(0x3bd)](_0x5aa56b,this[_0xaca4ce(0x2d8)]);},_0x503aba)),(this[_0x118383(0x2d8)]=_0x323b98,this[_0x118383(0x3a0)]=_0x5d89e5,this[_0x118383(0x3dd)]=_0x590594,this[_0x118383(0x3c2)]=_0x3d46cf,this[_0x118383(0x3c4)]=_0xa77a0f,this['_univerInstanceService']=_0x22612e,this[_0x118383(0x358)]=_0x5a58b8,this[_0x118383(0x254)]=_0x3c7bc1);}get[_0x3ae46d(0x177)](){return this['_cursorInfo$']['getValue']();}get['roomMembers'](){const _0x54e2e5=_0x3ae46d;return this[_0x54e2e5(0x1ac)]['getValue']();}['dispose'](){const _0x2308aa=_0x3ae46d;super[_0x2308aa(0x2e2)](),this[_0x2308aa(0x379)][_0x2308aa(0x20b)](new Map()),this[_0x2308aa(0x379)][_0x2308aa(0x2b6)](),this[_0x2308aa(0x1ac)][_0x2308aa(0x20b)]([]),this['_roomMembers$'][_0x2308aa(0x2b6)]();}['init'](){const _0x15fb75=_0x3ae46d;this[_0x15fb75(0x266)]||(this[_0x15fb75(0x266)]=!0x0,this[_0x15fb75(0x3a0)][_0x15fb75(0x34f)][_0x15fb75(0x181)](_0x3d2c80[_0x15fb75(0x346)](this[_0x15fb75(0x2c8)]))[_0x15fb75(0x338)](_0x3b33e8=>{const _0xd80744=_0x15fb75;_0x3b33e8===_0x5d78d3['SessionStatus'][_0xd80744(0x35b)]?this[_0xd80744(0x3b5)]():this[_0xd80744(0x316)]();}),this[_0x15fb75(0x3a0)][_0x15fb75(0x2ad)][_0x15fb75(0x181)](_0x3d2c80['takeUntil'](this[_0x15fb75(0x2c8)]))[_0x15fb75(0x338)](_0x49fd3c=>{const _0x25d73f=_0x15fb75,_0x48aef3=_0x49fd3c[_0x25d73f(0x305)];_0x48aef3===_0x486998[_0x25d73f(0x236)][_0x25d73f(0x1aa)]&&this[_0x25d73f(0x302)](_0x49fd3c),_0x48aef3===_0x486998['CollaborationEvent'][_0x25d73f(0x24c)]&&this[_0x25d73f(0x351)](_0x49fd3c);}),this[_0x15fb75(0x23d)](),this[_0x15fb75(0x2b8)](this['_commandService'][_0x15fb75(0x3c0)](_0x389035=>{const _0x19f85d=_0x15fb75;if(this[_0x19f85d(0x1d8)]&&_0x389035['id']===_0xb5761e['SetSelectionsOperation']['id']&&_0x389035[_0x19f85d(0x398)][_0x19f85d(0x381)]===this[_0x19f85d(0x2d8)]){const _0x543a28=_0x389035['params'];this[_0x19f85d(0x17c)](_0x543a28[_0x19f85d(0x132)],_0x543a28['selections'][0x0]);}})));}[_0x3ae46d(0x302)](_0x504d5b){const _0x113e3d=_0x3ae46d;var _0x3fcb7b,_0x10c733;const {memberID:_0x13b795,selection:_0x2d6ccb}=_0x504d5b[_0x113e3d(0x350)],{sheetName:_0x131fd3,range:_0x304695}=_0x4ac72b[_0x113e3d(0x2af)](_0x2d6ccb),_0xbb6d3c={'name':(_0x10c733=(_0x3fcb7b=this[_0x113e3d(0x3c4)]['getMember'](this[_0x113e3d(0x2d8)],_0x13b795))==null?void 0x0:_0x3fcb7b[_0x113e3d(0x394)])!=null?_0x10c733:_0x113e3d(0x13e),'range':this[_0x113e3d(0x197)](_0x131fd3,_0x304695),'sheetID':_0x131fd3,'color':this[_0x113e3d(0x3c2)][_0x113e3d(0x268)](_0x13b795),'selection':_0x2d6ccb},_0x16c82d=this[_0x113e3d(0x177)];_0x16c82d[_0x113e3d(0x307)](_0x13b795,_0xbb6d3c),this[_0x113e3d(0x379)][_0x113e3d(0x20b)](_0x16c82d);}[_0x3ae46d(0x351)](_0x23cf5d){const _0x41d935=_0x3ae46d,{memberID:_0x616b9e}=_0x23cf5d[_0x41d935(0x350)],_0x176762=this[_0x41d935(0x177)];_0x176762['delete'](_0x616b9e),this['_cursorInfo$'][_0x41d935(0x20b)](_0x176762);}[_0x3ae46d(0x197)](_0x3d9c7a,_0x3238e5){const _0x1fa11f=_0x3ae46d;var _0xe22dfc,_0x1f9959;const _0x545d1d=(_0x1f9959=(_0xe22dfc=this[_0x1fa11f(0x28f)][_0x1fa11f(0x28c)](this[_0x1fa11f(0x2d8)]))==null?void 0x0:_0xe22dfc[_0x1fa11f(0x34d)](_0x3d9c7a))==null?void 0x0:_0x1f9959['getMergeData']();return(_0x545d1d==null?void 0x0:_0x545d1d[_0x1fa11f(0x140)](_0x571416=>_0xb5476b['Rectangle'][_0x1fa11f(0x1e6)](_0x571416,_0x3238e5)))||_0x3238e5;}['_onRefRangeChange'](){const _0x58d0f8=_0x3ae46d,_0x49896e=new _0xb5476b[(_0x58d0f8(0x2c3))](),_0x3f6f07=_0x159907(),_0x3f7c03=()=>{const _0x4f5aaa=_0x58d0f8;_0x49896e[_0x4f5aaa(0x2e2)]();const _0x4406d7=(_0x21058d,_0x49a3a1,_0x34f83,_0x240f2c)=>{const _0x2d51d0=_0x4f5aaa;let _0x6affa2=[];switch(_0x21058d['id']){case _0xb5761e['EffectRefRangId'][_0x2d51d0(0x376)]:{_0x6affa2=_0xb5761e['handleDeleteRangeMoveLeft'](_0x21058d,_0x240f2c);break;}case _0xb5761e[_0x2d51d0(0x1b3)][_0x2d51d0(0x2a1)]:{_0x6affa2=_0xb5761e['handleDeleteRangeMoveUp'](_0x21058d,_0x240f2c);break;}case _0xb5761e[_0x2d51d0(0x1b3)][_0x2d51d0(0x2c2)]:{_0x6affa2=_0xb5761e[_0x2d51d0(0x160)](_0x21058d,_0x240f2c);break;}case _0xb5761e[_0x2d51d0(0x1b3)][_0x2d51d0(0x2cd)]:{_0x6affa2=_0xb5761e[_0x2d51d0(0x18c)](_0x21058d,_0x240f2c);break;}case _0xb5761e[_0x2d51d0(0x1b3)][_0x2d51d0(0x370)]:{_0x6affa2=_0xb5761e[_0x2d51d0(0x1cb)](_0x21058d,_0x240f2c);break;}case _0xb5761e[_0x2d51d0(0x1b3)][_0x2d51d0(0x400)]:{_0x6affa2=_0xb5761e[_0x2d51d0(0x154)](_0x21058d,_0x240f2c);break;}case _0xb5761e[_0x2d51d0(0x1b3)][_0x2d51d0(0x27d)]:{_0x6affa2=_0xb5761e['handleMoveRange'](_0x21058d,_0x240f2c);break;}case _0xb5761e[_0x2d51d0(0x1b3)][_0x2d51d0(0x183)]:{_0x6affa2=_0xb5761e[_0x2d51d0(0x3cf)](_0x21058d,_0x240f2c);break;}case _0xb5761e[_0x2d51d0(0x1b3)][_0x2d51d0(0x25f)]:{_0x6affa2=_0xb5761e[_0x2d51d0(0x3ae)](_0x21058d,_0x240f2c);break;}}const _0x5a73c2=_0xb5761e[_0x2d51d0(0x20f)](_0x6affa2,_0x240f2c),_0x4cb568=this[_0x2d51d0(0x177)][_0x2d51d0(0x218)](_0x49a3a1);if(_0x4cb568&&_0x5a73c2){const _0x47590f={..._0x4cb568,'range':_0x5a73c2};this[_0x2d51d0(0x177)][_0x2d51d0(0x307)](_0x49a3a1,_0x47590f),_0x3f6f07(()=>{const _0x55c444=_0x2d51d0,_0x3a5ddb=this[_0x55c444(0x254)][_0x55c444(0x230)](_0x5a73c2,_0x5cd8b9=>(_0x3a5ddb[_0x55c444(0x2e2)](),_0x4406d7(_0x5cd8b9,_0x49a3a1,_0x34f83,_0x5a73c2)));_0x49896e[_0x55c444(0x1da)](_0x3a5ddb);});}return{'redos':[],'undos':[]};};this[_0x4f5aaa(0x177)]['forEach']((_0x11856f,_0x51aec6)=>{const _0x225e8c=_0x4f5aaa,{range:_0x5676dd,sheetID:_0x32e7ff}=_0x11856f,_0x1df4ce=this['_refRangeService'][_0x225e8c(0x230)](_0x5676dd,_0x2a1fee=>(_0x1df4ce[_0x225e8c(0x2e2)](),_0x4406d7(_0x2a1fee,_0x51aec6,_0x32e7ff,_0x5676dd)));_0x49896e['add'](_0x1df4ce);});};this[_0x58d0f8(0x2b8)](_0xb5476b[_0x58d0f8(0x347)](this[_0x58d0f8(0x379)][_0x58d0f8(0x338)](()=>{_0x3f7c03();})));}['_toggleOnline'](){const _0x53aa76=_0x3ae46d;var _0x521a45,_0xaebc3f;if(this[_0x53aa76(0x1d8)]=!0x0,((_0x521a45=this[_0x53aa76(0x28f)]['getFocusedUnit']())==null?void 0x0:_0x521a45[_0x53aa76(0x142)]())!==this['unitID'])return;const _0x2a93b9=(_0xaebc3f=this[_0x53aa76(0x3dd)][_0x53aa76(0x218)](_0xb5761e['SheetsSelectionsService'])['getCurrentSelections']())==null?void 0x0:_0xaebc3f[0x0],_0x4b7e99=this[_0x53aa76(0x28f)][_0x53aa76(0x3ab)](_0xb5476b[_0x53aa76(0x2d6)]['UNIVER_SHEET'])[_0x53aa76(0x372)]();_0x2a93b9&&_0x4b7e99&&this[_0x53aa76(0x17c)](_0x4b7e99[_0x53aa76(0x2c5)](),_0x2a93b9);}[_0x3ae46d(0x316)](){const _0x101e1e=_0x3ae46d;this[_0x101e1e(0x1d8)]=!0x1;}};_0x225729=_0xce8a20([_0x30ab38(0x2,_0xb5476b['Inject'](_0xb5476b['Injector'])),_0x30ab38(0x3,_0xb5476b[_0x3ae46d(0x318)](_0x428a9d)),_0x30ab38(0x4,_0xb5476b['Inject'](_0x5d78d3['MemberService'])),_0x30ab38(0x5,_0xb5476b['IUniverInstanceService']),_0x30ab38(0x6,_0xb5476b['ICommandService']),_0x30ab38(0x7,_0xb5476b['Inject'](_0xb5761e[_0x3ae46d(0x2bc)]))],_0x225729);var _0x1338d1=Object['getOwnPropertyDescriptor'],_0x3181b4=(_0x258f84,_0x973c1d,_0x5e7cd4,_0x40734b)=>{for(var _0x5c6e21=_0x40734b>0x1?void 0x0:_0x40734b?_0x1338d1(_0x973c1d,_0x5e7cd4):_0x973c1d,_0x40d159=_0x258f84['length']-0x1,_0xce968d;_0x40d159>=0x0;_0x40d159--)(_0xce968d=_0x258f84[_0x40d159])&&(_0x5c6e21=_0xce968d(_0x5c6e21)||_0x5c6e21);return _0x5c6e21;},_0x38ebb9=(_0x283ce7,_0x4b2292)=>(_0x2768d3,_0x56e15e)=>_0x4b2292(_0x2768d3,_0x56e15e,_0x283ce7);let _0x64d40b=class extends _0xb5476b[_0x3ae46d(0x1e8)]{constructor(_0x42401a,_0x2954a9,_0x1bcde3){const _0x5227cc=_0x3ae46d;super(),_0x2a22ff(this,_0x5227cc(0x167),new Map()),_0x2a22ff(this,'_entityInit$',new _0x3d2c80['Subject']()),(this[_0x5227cc(0x28f)]=_0x42401a,this[_0x5227cc(0x3dd)]=_0x2954a9,this['_collabSessionService']=_0x1bcde3,this['_init']());}['dispose'](){const _0x249011=_0x3ae46d;super[_0x249011(0x2e2)](),this[_0x249011(0x256)][_0x249011(0x2b6)](),this[_0x249011(0x167)][_0x249011(0x30f)](_0x301687=>_0x301687[_0x249011(0x2e2)]());}[_0x3ae46d(0x339)](_0x3daebe){const _0x19f77b=_0x3ae46d;return this[_0x19f77b(0x167)][_0x19f77b(0x151)](_0x3daebe)?this[_0x19f77b(0x167)][_0x19f77b(0x218)](_0x3daebe)[_0x19f77b(0x38f)]:this[_0x19f77b(0x256)][_0x19f77b(0x181)](_0x3d2c80[_0x19f77b(0x343)](_0x4b992f=>_0x4b992f[_0x19f77b(0x2d8)]===_0x3daebe),_0x3d2c80[_0x19f77b(0x15d)](_0x3ee44f=>_0x3ee44f[_0x19f77b(0x38f)]));}[_0x3ae46d(0x266)](){const _0x566510=_0x3ae46d;this[_0x566510(0x28f)][_0x566510(0x3b9)](_0xb5476b[_0x566510(0x2d6)]['UNIVER_SHEET'])[_0x566510(0x181)](_0x3d2c80['takeUntil'](this[_0x566510(0x2c8)]))['subscribe'](async _0x2824a6=>{const _0x19465d=_0x566510,_0x5f1304=_0x2824a6[_0x19465d(0x142)](),_0x4a3188=await this['_startSheetCollabCursor'](_0x5f1304);this[_0x19465d(0x256)][_0x19465d(0x20b)](_0x4a3188),this[_0x19465d(0x167)][_0x19465d(0x307)](_0x5f1304,_0x4a3188);}),this[_0x566510(0x28f)][_0x566510(0x3b9)](_0xb5476b[_0x566510(0x2d6)][_0x566510(0x31c)])['pipe'](_0x3d2c80[_0x566510(0x346)](this['dispose$']))[_0x566510(0x181)](_0x3d2c80[_0x566510(0x343)](_0x1bfc45=>!_0x1bfc45[_0x566510(0x142)]()[_0x566510(0x17e)]('__')))[_0x566510(0x338)](async _0x3057b3=>{const _0x3a2ff5=_0x566510,_0x25e81d=_0x3057b3['getUnitId'](),_0x1f43b1=await this[_0x3a2ff5(0x1e2)](_0x25e81d);this[_0x3a2ff5(0x256)]['next'](_0x1f43b1),this['_entities'][_0x3a2ff5(0x307)](_0x25e81d,_0x1f43b1);}),_0x3d2c80[_0x566510(0x3e8)](this['_univerInstanceService'][_0x566510(0x367)](_0xb5476b['UniverInstanceType']['UNIVER_DOC']),this[_0x566510(0x28f)]['getTypeOfUnitDisposed$'](_0xb5476b[_0x566510(0x2d6)][_0x566510(0x257)]))[_0x566510(0x181)](_0x3d2c80[_0x566510(0x346)](this[_0x566510(0x2c8)]))[_0x566510(0x338)](_0x470851=>{const _0x4dab6b=_0x566510,_0x1cee0a=_0x470851[_0x4dab6b(0x142)](),_0x39433f=this[_0x4dab6b(0x167)]['get'](_0x1cee0a);_0x39433f&&(_0x39433f[_0x4dab6b(0x2e2)](),this['_entities'][_0x4dab6b(0x145)](_0x1cee0a));});}async['_startSheetCollabCursor'](_0x1f67cb){const _0x152ba5=_0x3ae46d,_0x34ec92=await this['_collabSessionService'][_0x152ba5(0x24a)](_0x1f67cb),_0x5844f6=this[_0x152ba5(0x3dd)][_0x152ba5(0x300)](_0x225729,_0x1f67cb,_0x34ec92);return _0x5844f6[_0x152ba5(0x1d7)](),_0x5844f6;}async[_0x3ae46d(0x1e2)](_0x1f91d){const _0xecb478=_0x3ae46d,_0x289295=await this['_collabSessionService'][_0xecb478(0x24a)](_0x1f91d),_0x279471=this[_0xecb478(0x3dd)]['createInstance'](_0x2f1b6a,_0x1f91d,_0x289295);return _0x279471[_0xecb478(0x1d7)](),_0x279471;}};_0x64d40b=_0x3181b4([_0x38ebb9(0x0,_0xb5476b['IUniverInstanceService']),_0x38ebb9(0x1,_0xb5476b['Inject'](_0xb5476b[_0x3ae46d(0x184)])),_0x38ebb9(0x2,_0xb5476b[_0x3ae46d(0x318)](_0x5d78d3['CollaborationSessionService']))],_0x64d40b);const _0x32a5bc=0x14,_0x4657dd=0xc8,_0x375de6=0x4,_0x3e5dd4=0x5;function _0x543134(_0x440ef4,_0x2368b7){const _0x3ca401=_0x3ae46d;let {radius:_0x22aadf,width:_0x407546,height:_0xab7916}=_0x2368b7;_0x22aadf=_0x22aadf!=null?_0x22aadf:0x0,_0x407546=_0x407546!=null?_0x407546:0x1e,_0xab7916=_0xab7916!=null?_0xab7916:0x1e;let _0x5cf9be=0x0,_0x403460=0x0,_0x118bfd=0x0;_0x5cf9be=_0x403460=_0x118bfd=Math[_0x3ca401(0x396)](_0x22aadf,_0x407546/0x2,_0xab7916/0x2),_0x440ef4[_0x3ca401(0x2e9)](),_0x440ef4[_0x3ca401(0x344)](_0x5cf9be,0x0),_0x440ef4['lineTo'](_0x407546-_0x403460,0x0),_0x440ef4[_0x3ca401(0x267)](_0x407546-_0x403460,_0x403460,_0x403460,Math['PI']*0x3/0x2,0x0,!0x1),_0x440ef4[_0x3ca401(0x2f6)](_0x407546,_0xab7916-_0x118bfd),_0x440ef4['arc'](_0x407546-_0x118bfd,_0xab7916-_0x118bfd,_0x118bfd,0x0,Math['PI']/0x2,!0x1),_0x440ef4[_0x3ca401(0x2f6)](0x0,_0xab7916),_0x440ef4['lineTo'](0x0,_0x5cf9be),_0x440ef4[_0x3ca401(0x267)](_0x5cf9be,_0x5cf9be,_0x5cf9be,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x440ef4[_0x3ca401(0x313)](),_0x2368b7[_0x3ca401(0x1ec)]&&(_0x440ef4[_0x3ca401(0x36b)](),_0x440ef4[_0x3ca401(0x290)]=_0x2368b7['fill'],_0x2368b7[_0x3ca401(0x25d)]===_0x3ca401(0x14b)?_0x440ef4[_0x3ca401(0x1ec)](_0x3ca401(0x14b)):_0x440ef4[_0x3ca401(0x1ec)](),_0x440ef4[_0x3ca401(0x410)]());}class _0x3803ed extends _0x332666[_0x3ae46d(0x186)]{constructor(_0x49245c,_0x201594){const _0x1cddf1=_0x3ae46d;super(_0x49245c,_0x201594),_0x2a22ff(this,_0x1cddf1(0x208)),_0x2a22ff(this,_0x1cddf1(0x222)),(this[_0x1cddf1(0x208)]=_0x201594==null?void 0x0:_0x201594[_0x1cddf1(0x208)],this[_0x1cddf1(0x222)]=_0x201594==null?void 0x0:_0x201594['text']);}static['drawWith'](_0xb9eedb,_0x4d28e3){const _0x1781f5=_0x3ae46d,{text:_0x50c7a8,color:_0x85e8a4}=_0x4d28e3;_0xb9eedb[_0x1781f5(0x36b)](),_0xb9eedb[_0x1781f5(0x191)]=_0x1781f5(0x34b);const _0x399096=_0xb9eedb['measureText'](_0x50c7a8)[_0x1781f5(0x282)],_0x340b58=Math[_0x1781f5(0x396)](_0x399096+0x2*_0x375de6,_0x4657dd);_0x543134(_0xb9eedb,{'height':_0x32a5bc,'radius':0x4,'width':_0x340b58,'fill':_0x85e8a4}),_0xb9eedb[_0x1781f5(0x290)]=_0x1781f5(0x289);const _0x2ee4fa=_0x375de6,_0x192232=_0x32a5bc-_0x3e5dd4,_0x20fb5f=_0x4657dd-0x2*_0x375de6;if(_0x399096>_0x20fb5f){let _0x26434a='',_0x47a690=0x0;for(const _0x75756d of _0x50c7a8){const _0x186451=_0xb9eedb[_0x1781f5(0x354)](_0x75756d)['width'];if(_0x47a690+_0x186451<=_0x20fb5f-_0xb9eedb[_0x1781f5(0x354)]('...')[_0x1781f5(0x282)])_0x26434a+=_0x75756d,_0x47a690+=_0x186451;else{_0x26434a+=_0x1781f5(0x1df);break;}}_0xb9eedb[_0x1781f5(0x22e)](_0x26434a,_0x2ee4fa,_0x192232);}else _0xb9eedb[_0x1781f5(0x22e)](_0x50c7a8,_0x2ee4fa,_0x192232);_0xb9eedb[_0x1781f5(0x410)]();}[_0x3ae46d(0x2e3)](_0x332cf6){const _0x1ce705=_0x3ae46d;_0x3803ed[_0x1ce705(0x223)](_0x332cf6,this);}}const _0x21c8ea=_0x3ae46d(0x221),_0x2c6a9d=_0x3ae46d(0x169),_0x2255fd=_0x3ae46d(0x3a2),_0x594cbb=0x6,_0x33fdc6=1.5,_0x26d7ce=0x4,_0x3985f7=1.5,_0x137e09=_0x3ae46d(0x335);class _0x49ea82{constructor(_0xe122ff,_0x5f0da0,_0x55abb4,_0x8f72f4){const _0x29d984=_0x3ae46d;_0x2a22ff(this,_0x29d984(0x1cd),[]),_0x2a22ff(this,_0x29d984(0x2f1),null),_0x2a22ff(this,_0x29d984(0x301),null),_0x2a22ff(this,'_anchorDot',null),_0x2a22ff(this,_0x29d984(0x163),null),_0x2a22ff(this,_0x29d984(0x2a2),null),(this['_cursor']=_0xe122ff,this[_0x29d984(0x18f)]=_0x5f0da0,this[_0x29d984(0x210)]=_0x55abb4,this['_document']=_0x8f72f4,this[_0x29d984(0x261)]());}set[_0x3ae46d(0x1a1)](_0x51bea8){const _0x3fb217=_0x3ae46d;_0x51bea8?(this['_anchorDot']&&this['_anchorDot'][_0x3fb217(0x3ea)](),this[_0x3fb217(0x301)]&&this[_0x3fb217(0x301)]['show']()):(this[_0x3fb217(0x3ce)]&&this[_0x3fb217(0x3ce)][_0x3fb217(0x2be)](),this[_0x3fb217(0x301)]&&this['_textBubble']['hide']());}[_0x3ae46d(0x2e2)](){const _0x148592=_0x3ae46d;for(const _0x1154f2 of this[_0x148592(0x1cd)])_0x1154f2[_0x148592(0x2e2)]();this['_textBubble']&&this[_0x148592(0x301)][_0x148592(0x2e2)](),this[_0x148592(0x3ce)]&&this['_anchorDot'][_0x148592(0x2e2)](),this['_anchor']&&this[_0x148592(0x2f1)][_0x148592(0x2e2)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}[_0x3ae46d(0x261)](){const _0x3d27b0=_0x3ae46d;var _0x5dd8cd;const {_docSkeleton:_0x118abf,_document:_0x3fae41}=this,{color:_0x37fdf4,name:_0x41cfee,ranges:_0x34466d}=this[_0x3d27b0(0x198)],_0x5177fc=_0x3fae41[_0x3d27b0(0x238)](),{docsLeft:_0x38c94a,docsTop:_0x54cf76}=_0x5177fc,_0x3f8f51=new _0x5d7db3[(_0x3d27b0(0x38b))](_0x5177fc,_0x118abf);for(const {startOffset:_0x477b52,endOffset:_0xc4e931,rangeType:_0x262873,segmentId:_0x2ad14a,segmentPage:_0x579068,collapsed:_0x2401c7,isActive:_0x965a14}of _0x34466d){const _0x5425f8=_0x118abf['findNodePositionByCharIndex'](_0x477b52,!0x0,_0x2ad14a,_0x579068);let _0x23db9f=_0x118abf[_0x3d27b0(0x1a0)](_0xc4e931,!0x0,_0x2ad14a,_0x579068);if(_0x23db9f==null&&(_0x23db9f=_0x118abf[_0x3d27b0(0x1a0)](_0xc4e931-0x1,!0x1,_0x2ad14a,_0x579068)),_0x965a14){const {contentBoxPointGroup:_0x19dfff}=_0x3f8f51[_0x3d27b0(0x31a)](_0x23db9f,_0x23db9f);if(_0x19dfff['length']===0x0)continue;this[_0x3d27b0(0x165)](_0x37fdf4,_0x19dfff,_0x38c94a,_0x54cf76,_0x41cfee),this[_0x3d27b0(0x2a2)]=this[_0x3d27b0(0x1ee)]();}if(_0x5425f8&&_0x23db9f){if(_0x262873===_0xb5476b[_0x3d27b0(0x2d2)][_0x3d27b0(0x36d)]){const _0x34c1d4=new _0x5d7db3[(_0x3d27b0(0x1f6))](_0x5177fc,_0x118abf),{pointGroup:_0x5be559}=(_0x5dd8cd=_0x34c1d4[_0x3d27b0(0x31a)](_0x5425f8,_0x23db9f))!=null?_0x5dd8cd:{};if(_0x5be559==null||_0x5be559[_0x3d27b0(0x16d)]===0x0)continue;this[_0x3d27b0(0x269)](_0x37fdf4,_0x5be559,_0x38c94a,_0x54cf76);}else{if(!_0x2401c7){const {borderBoxPointGroup:_0x45f3b6}=_0x3f8f51[_0x3d27b0(0x31a)](_0x5425f8,_0x23db9f);if(_0x45f3b6[_0x3d27b0(0x16d)]===0x0)continue;this['_drawTextRange'](_0x37fdf4,_0x45f3b6,_0x38c94a,_0x54cf76);}}}}}[_0x3ae46d(0x165)](_0xcd535c,_0x361ccc,_0xedede5,_0x10d217,_0x19af7a){const _0xc05c8e=_0x3ae46d,_0x3ff5fa=this[_0xc05c8e(0x23f)](_0x361ccc),{left:_0x3b2b7d,top:_0x437a8b,height:_0x51d9db}=_0x3ff5fa,_0x10295a=this[_0xc05c8e(0x21e)](),_0x1ef38d=_0x3985f7/_0x10295a,_0x5905c2=new _0x332666[(_0xc05c8e(0x3d0))](_0x21c8ea+_0xb5476b[_0xc05c8e(0x33c)](_0x594cbb),{'left':_0x3b2b7d+_0xedede5-_0x1ef38d,'top':_0x437a8b+_0x10d217,'height':_0x51d9db,'width':_0x33fdc6,'fill':_0xcd535c||_0x332666[_0xc05c8e(0x332)](_0xb5476b[_0xc05c8e(0x1b8)]['black'],0x0),'strokeWidth':_0x1ef38d,'stroke':_0x137e09,'evented':!0x0});this['_anchor']=_0x5905c2,this['_scene']['addObject'](_0x5905c2,_0x5d7db3[_0xc05c8e(0x1a4)]);const _0x2f44bc=new _0x332666[(_0xc05c8e(0x3d0))](_0x21c8ea+_0xb5476b[_0xc05c8e(0x33c)](_0x594cbb),{'left':_0x3b2b7d+_0xedede5-_0x1ef38d,'top':_0x437a8b+_0x10d217-_0x26d7ce/0x2,'height':_0x26d7ce,'width':_0x26d7ce,'fill':_0xcd535c||_0x332666['getColor'](_0xb5476b['COLORS'][_0xc05c8e(0x2bf)],0x0),'strokeWidth':0x0,'stroke':_0xcd535c||_0x332666[_0xc05c8e(0x332)](_0xb5476b[_0xc05c8e(0x1b8)][_0xc05c8e(0x2bf)],0x0),'evented':!0x1});this[_0xc05c8e(0x3ce)]=_0x2f44bc,this[_0xc05c8e(0x18f)]['addObject'](_0x2f44bc,_0x5d7db3['TEXT_RANGE_LAYER_INDEX']);const _0x54676d=new _0x3803ed(_0x21c8ea+_0xb5476b[_0xc05c8e(0x33c)](_0x594cbb),{'left':_0x3b2b7d+_0xedede5-_0x1ef38d,'top':_0x437a8b+_0x10d217-_0x32a5bc,'text':_0x19af7a,'color':_0xcd535c});this[_0xc05c8e(0x301)]=_0x54676d,this[_0xc05c8e(0x18f)]['addObject'](_0x54676d,_0x5d7db3[_0xc05c8e(0x1a4)]),this[_0xc05c8e(0x1a1)]=!0x1;}[_0x3ae46d(0x1ee)](){const _0x50f683=_0x3ae46d,_0x456c2b=this[_0x50f683(0x2f1)][_0x50f683(0x3d7)]['subscribeEvent'](()=>{const _0x2d8204=_0x50f683;this[_0x2d8204(0x1a1)]=!0x0;}),_0x249bbf=this[_0x50f683(0x2f1)][_0x50f683(0x155)][_0x50f683(0x1ea)](()=>{const _0x47d2fb=_0x50f683;this[_0x47d2fb(0x163)]&&clearTimeout(this['_hideTimer']),this[_0x47d2fb(0x163)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x5129c6=_0x50f683;_0x456c2b[_0x5129c6(0x141)](),_0x249bbf[_0x5129c6(0x141)]();};}[_0x3ae46d(0x3ad)](_0x728ef5,_0x456415,_0x1b7497,_0x4fc25f){const _0x46cf05=_0x3ae46d,_0x49fa5e=new _0xb5476b[(_0x46cf05(0x1f0))](_0x728ef5)[_0x46cf05(0x328)](0.2)['toRgbString'](),_0x2d20a2=new _0x332666[(_0x46cf05(0x1c9))](_0x2c6a9d+_0xb5476b['generateRandomId'](_0x594cbb),{'pointsGroup':_0x456415,'fill':_0x49fa5e||_0x332666[_0x46cf05(0x332)](_0xb5476b[_0x46cf05(0x1b8)]['black'],0.2),'left':_0x1b7497,'top':_0x4fc25f,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x46cf05(0x284)](_0x2d20a2),this[_0x46cf05(0x18f)][_0x46cf05(0x182)](_0x2d20a2,_0x5d7db3['TEXT_RANGE_LAYER_INDEX']);}[_0x3ae46d(0x269)](_0xd577fc,_0x31e87,_0x27f69f,_0x3fba54){const _0x27799b=_0x3ae46d,_0x51d154=new _0xb5476b[(_0x27799b(0x1f0))](_0xd577fc)[_0x27799b(0x328)](0.2)[_0x27799b(0x134)](),_0x31076a=new _0x332666[(_0x27799b(0x1c9))](_0x2255fd+_0xb5476b[_0x27799b(0x33c)](_0x594cbb),{'pointsGroup':_0x31e87,'fill':_0x51d154||_0x332666[_0x27799b(0x332)](_0xb5476b[_0x27799b(0x1b8)][_0x27799b(0x2bf)],0.2),'left':_0x27f69f,'top':_0x3fba54,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x27799b(0x1cd)][_0x27799b(0x284)](_0x31076a),this['_scene']['addObject'](_0x31076a,_0x5d7db3['TEXT_RANGE_LAYER_INDEX']);}[_0x3ae46d(0x23f)](_0x5d7074){const _0x4addca=_0x5d7074[0x0],_0x4310f4=_0x4addca[0x0],_0x4d0e28=_0x4addca[0x2],{x:_0xbcd9cb,y:_0x247d00}=_0x4310f4,{x:_0xaf3900,y:_0x5c0a8a}=_0x4d0e28;return{'left':_0xbcd9cb,'top':_0x247d00,'width':_0xaf3900-_0xbcd9cb,'height':_0x5c0a8a-_0x247d00};}[_0x3ae46d(0x21e)](){const _0xce2874=_0x3ae46d,{scaleX:_0x1b8ecc,scaleY:_0x385efb}=this[_0xce2874(0x18f)][_0xce2874(0x13b)]();return Math[_0xce2874(0x137)](_0x1b8ecc,_0x385efb);}}var _0x2a319b=Object[_0x3ae46d(0x387)],_0x4dcffb=(_0x11c30d,_0x10abf3,_0xfbfad8,_0x11874a)=>{const _0x5dd09e=_0x3ae46d;for(var _0x233cd5=_0x11874a>0x1?void 0x0:_0x11874a?_0x2a319b(_0x10abf3,_0xfbfad8):_0x10abf3,_0x46a5bc=_0x11c30d[_0x5dd09e(0x16d)]-0x1,_0x42646e;_0x46a5bc>=0x0;_0x46a5bc--)(_0x42646e=_0x11c30d[_0x46a5bc])&&(_0x233cd5=_0x42646e(_0x233cd5)||_0x233cd5);return _0x233cd5;},_0x2301fc=(_0x20d9c1,_0x457043)=>(_0x16d38c,_0x537da5)=>_0x457043(_0x16d38c,_0x537da5,_0x20d9c1);let _0x5a3b69=class extends _0xb5476b[_0x3ae46d(0x1e8)]{constructor(_0x5e32bf,_0x8c27b3,_0x2e1a3f,_0x39bb2d,_0x193907){const _0x54c494=_0x3ae46d;super(),_0x2a22ff(this,'_cursorShapes',[]),_0x2a22ff(this,_0x54c494(0x2d3),[]),(this[_0x54c494(0x13c)]=_0x5e32bf,this[_0x54c494(0x233)]=_0x8c27b3,this[_0x54c494(0x3ed)]=_0x2e1a3f,this['_commandService']=_0x39bb2d,this['_themeService']=_0x193907,this[_0x54c494(0x266)]());}['_init'](){const _0x23dd56=_0x3ae46d,_0x3185f9=this[_0x23dd56(0x13c)][_0x23dd56(0x381)],_0x30e003=this[_0x23dd56(0x233)];this[_0x23dd56(0x2b8)](_0x3d2c80[_0x23dd56(0x1e5)]([this[_0x23dd56(0x3ed)]['getCollabCursors$'](_0x3185f9),this[_0x23dd56(0x258)]['currentTheme$']])[_0x23dd56(0x181)](_0x277a9b['map'](([_0x42ccab,_0xced29c])=>({'skeleton':_0x30e003[_0x23dd56(0x29d)](),'cursors':[..._0x42ccab[_0x23dd56(0x412)]()]['flatMap'](_0x1eab6a=>({..._0x1eab6a,'color':this[_0x23dd56(0x258)][_0x23dd56(0x1e4)](_0x1eab6a[_0x23dd56(0x208)])}))})))[_0x23dd56(0x338)](_0xe2f270=>{const _0x26e20e=_0x23dd56;if(this[_0x26e20e(0x297)](),_0xe2f270){const {skeleton:_0x35418a,cursors:_0x392e9a}=_0xe2f270;this[_0x26e20e(0x34c)](_0x35418a,_0x392e9a);}})),this[_0x23dd56(0x278)](),this['_initCommandExecutedListener']();}[_0x3ae46d(0x34c)](_0x5f323c,_0x4c1bb5){const _0x1a2cb6=_0x3ae46d,{scene:_0x525be5,mainComponent:_0x4fad1b}=this[_0x1a2cb6(0x13c)],_0x37babd=_0x4c1bb5[_0x1a2cb6(0x361)](_0x2f43db=>new _0x49ea82(_0x2f43db,_0x525be5,_0x5f323c,_0x4fad1b));this[_0x1a2cb6(0x147)]=_0x37babd,this[_0x1a2cb6(0x2d3)]=_0x4c1bb5;}[_0x3ae46d(0x171)](){const _0x2fdc21=_0x3ae46d;this[_0x2fdc21(0x297)]();const {scene:_0x318212,mainComponent:_0x290a10}=this[_0x2fdc21(0x13c)],_0x4c196c=this['_docSkeletonManagerService'][_0x2fdc21(0x29d)](),_0x5aa070=this[_0x2fdc21(0x2d3)][_0x2fdc21(0x361)](_0x35a409=>new _0x49ea82(_0x35a409,_0x318212,_0x4c196c,_0x290a10));this[_0x2fdc21(0x147)]=_0x5aa070;}[_0x3ae46d(0x297)](){const _0x4ad999=_0x3ae46d;this['_cursorShapes'][_0x4ad999(0x30f)](_0xe5901e=>_0xe5901e['dispose']()),this['_cursorShapes']=[];}[_0x3ae46d(0x408)](){const _0x280230=_0x3ae46d,_0x4c82b5=[_0x5d7db3[_0x280230(0x1ad)]['id']];this[_0x280230(0x2b8)](this[_0x280230(0x358)]['onCommandExecuted'](_0xb0542e=>{const _0x29d282=_0x280230;_0x4c82b5[_0x29d282(0x205)](_0xb0542e['id'])&&_0xb0542e[_0x29d282(0x398)][_0x29d282(0x381)]===this[_0x29d282(0x13c)][_0x29d282(0x381)]&&this[_0x29d282(0x171)]();}));}[_0x3ae46d(0x278)](){const _0x5d712a=_0x3ae46d;this[_0x5d712a(0x2b8)](_0xb5476b[_0x5d712a(0x3e9)](this['_context'][_0x5d712a(0x24e)][_0x5d712a(0x1b4)])[_0x5d712a(0x181)](_0x277a9b['filter'](_0x38c6ea=>_0x38c6ea[_0x5d712a(0x3f7)]===_0x332666[_0x5d712a(0x1be)][_0x5d712a(0x2db)]),_0x277a9b[_0x5d712a(0x279)](0x10))['subscribe'](()=>{const _0x427752=_0x5d712a;this[_0x427752(0x171)]();}));}};_0x5a3b69=_0x4dcffb([_0x2301fc(0x1,_0xb5476b[_0x3ae46d(0x318)](_0x2190d4[_0x3ae46d(0x152)])),_0x2301fc(0x2,_0xb5476b['Inject'](_0x64d40b)),_0x2301fc(0x3,_0xb5476b[_0x3ae46d(0x148)]),_0x2301fc(0x4,_0xb5476b[_0x3ae46d(0x318)](_0xb5476b['ThemeService']))],_0x5a3b69);const _0x21aab0=0x1,_0x1405c8=1.5;class _0x1e720b extends _0x332666[_0x3ae46d(0x186)]{constructor(_0x57a862,_0x3dc673){const _0x306a84=_0x3ae46d;super(_0x57a862,_0x3dc673),_0x2a22ff(this,_0x306a84(0x382)),_0x2a22ff(this,_0x306a84(0x200),!0x1),_0x2a22ff(this,_0x306a84(0x315)),_0x2a22ff(this,_0x306a84(0x18e),''),_0x2a22ff(this,_0x306a84(0x40e),'top'),_0x2a22ff(this,_0x306a84(0x2ab)),(_0x3dc673&&this[_0x306a84(0x15a)](_0x3dc673),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x306a84(0x15a)]({'hovered':!0x0})),this[_0x306a84(0x155)]['subscribeEvent'](()=>this[_0x306a84(0x15a)]({'hovered':!0x1})));}[_0x3ae46d(0x15a)](_0x592380){const _0x3a171c=_0x3ae46d;var _0x298e48,_0x41f045,_0x56d099,_0x427d48,_0x1b1d91,_0x4cb8c2;this[_0x3a171c(0x382)]=(_0x298e48=_0x592380[_0x3a171c(0x208)])!=null?_0x298e48:this['_color'],this[_0x3a171c(0x200)]=(_0x41f045=_0x592380[_0x3a171c(0x1f3)])!=null?_0x41f045:this[_0x3a171c(0x200)],this[_0x3a171c(0x315)]=(_0x56d099=_0x592380[_0x3a171c(0x3b4)])!=null?_0x56d099:this[_0x3a171c(0x315)],this[_0x3a171c(0x18e)]=(_0x427d48=_0x592380[_0x3a171c(0x394)])!=null?_0x427d48:this[_0x3a171c(0x18e)],this[_0x3a171c(0x40e)]=(_0x1b1d91=_0x592380[_0x3a171c(0x2aa)])!=null?_0x1b1d91:this[_0x3a171c(0x40e)],this[_0x3a171c(0x2ab)]=(_0x4cb8c2=_0x592380['backgroundColor'])!=null?_0x4cb8c2:this[_0x3a171c(0x2ab)],this[_0x3a171c(0x3fa)]({'width':_0x592380[_0x3a171c(0x282)],'height':_0x592380['height']});}[_0x3ae46d(0x1f7)](_0x126e98){const _0x23370d=_0x3ae46d,{row:_0x3b9b36,column:_0x5c24f6}=_0x126e98;if(_0x3b9b36>=this[_0x23370d(0x315)][_0x23370d(0x329)]&&_0x3b9b36<=this['_range'][_0x23370d(0x14e)]&&_0x5c24f6>=this[_0x23370d(0x315)][_0x23370d(0x2a5)]&&_0x5c24f6<=this[_0x23370d(0x315)]['endColumn']){this[_0x23370d(0x15a)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x3ae46d(0x1bd)](_0x4125f5){return!0x1;}[_0x3ae46d(0x2e3)](_0x2d891f){const _0xf1d454=_0x3ae46d;_0x332666['Rect']['drawWith'](_0x2d891f,{'width':this[_0xf1d454(0x282)],'height':this['height'],'strokeWidth':_0x1405c8,'stroke':this[_0xf1d454(0x382)],'evented':!0x1,'fill':this[_0xf1d454(0x2ab)]}),this[_0xf1d454(0x200)]&&(_0x2d891f['save'](),_0x2d891f['transform'](0x1,0x0,0x0,0x1,this[_0xf1d454(0x282)],this[_0xf1d454(0x40e)]===_0xf1d454(0x2c0)?0x0:-_0x32a5bc),_0x3803ed[_0xf1d454(0x223)](_0x2d891f,{'text':this[_0xf1d454(0x18e)],'color':this[_0xf1d454(0x382)]}),_0x2d891f['restore']());}}var _0x1cfbdf=Object[_0x3ae46d(0x387)],_0x56a8ec=(_0x16d053,_0x1a876b,_0x1df858,_0x21360f)=>{const _0xbad40e=_0x3ae46d;for(var _0x1f184c=_0x21360f>0x1?void 0x0:_0x21360f?_0x1cfbdf(_0x1a876b,_0x1df858):_0x1a876b,_0x11985e=_0x16d053[_0xbad40e(0x16d)]-0x1,_0x546aa8;_0x11985e>=0x0;_0x11985e--)(_0x546aa8=_0x16d053[_0x11985e])&&(_0x1f184c=_0x546aa8(_0x1f184c)||_0x1f184c);return _0x1f184c;},_0x1108bf=(_0x84ec3,_0x4b3a99)=>(_0x132777,_0xedf48f)=>_0x4b3a99(_0x132777,_0xedf48f,_0x84ec3);const _0x46eedc=0x1389;let _0x55e520=class extends _0xb5476b['RxDisposable']{constructor(_0x4f2c79,_0x1ec12a,_0x107439,_0x58aaad){const _0x2c3ee4=_0x3ae46d;super(),_0x2a22ff(this,_0x2c3ee4(0x2d3),new Set()),_0x2a22ff(this,_0x2c3ee4(0x21d),null),(this['_context']=_0x4f2c79,this[_0x2c3ee4(0x150)]=_0x1ec12a,this[_0x2c3ee4(0x3ed)]=_0x107439,this[_0x2c3ee4(0x258)]=_0x58aaad,this[_0x2c3ee4(0x266)]());}[_0x3ae46d(0x266)](){const _0x314ede=_0x3ae46d;this[_0x314ede(0x150)][_0x314ede(0x2c6)][_0x314ede(0x181)](_0x277a9b[_0x314ede(0x346)](this[_0x314ede(0x2c8)]),_0x277a9b['switchMap'](_0x5be291=>{const _0x18e4ab=_0x314ede;if(_0x5be291){const _0x3d49b7=_0x5be291[_0x18e4ab(0x3e7)];return _0x3d2c80[_0x18e4ab(0x1e5)](this['_collabCursorController'][_0x18e4ab(0x339)](this[_0x18e4ab(0x13c)][_0x18e4ab(0x381)]),this[_0x18e4ab(0x258)][_0x18e4ab(0x31d)])['pipe'](_0x277a9b[_0x18e4ab(0x361)](([_0x1e7815,_0x4a1188])=>{const _0x1cd7b7=_0x18e4ab,_0x351cf8=new Map();return _0x1e7815[_0x1cd7b7(0x30f)]((_0x543512,_0x96fced)=>{const _0x376d56=_0x1cd7b7;if(_0x543512[_0x376d56(0x249)]===_0x3d49b7){const _0x1626d5={..._0x543512};_0x1626d5['color']=this['_themeService'][_0x376d56(0x1e4)](_0x543512[_0x376d56(0x208)]),_0x351cf8[_0x376d56(0x307)](_0x96fced,_0x1626d5);}}),{'skeleton':_0x5be291,'cursors':_0x351cf8};}));}return _0x3d2c80['of']({'skeleton':null,'cursors':new Map()});}))[_0x314ede(0x338)](({skeleton:_0x27c3bf,cursors:_0x277ba8})=>{const _0x5d6161=_0x314ede;this[_0x5d6161(0x297)](),_0x27c3bf&&this[_0x5d6161(0x34c)](_0x27c3bf,_0x277ba8);}),this[_0x314ede(0x150)][_0x314ede(0x2c6)][_0x314ede(0x338)](_0x59fc9b=>{const _0x4fbd56=_0x314ede;if(_0x59fc9b==null)return;const {skeleton:_0x4b2197}=_0x59fc9b,{scene:_0x2252c1}=this[_0x4fbd56(0x13c)];_0x2252c1['onPointerMove$'][_0x4fbd56(0x1ea)](_0xb5476b[_0x4fbd56(0x40a)](_0x1c2afc=>{const _0x32ffb9=_0x4fbd56;var _0x446dce,_0x5ecc25;const {offsetX:_0x8f713,offsetY:_0x5a89fd}=_0x1c2afc,{x:_0x2d3b08,y:_0x2b270f}=_0x2252c1[_0x32ffb9(0x3a4)](_0x332666['Vector2'][_0x32ffb9(0x24b)]([_0x8f713,_0x5a89fd])),{scaleX:_0x12c263,scaleY:_0xa9109b}=_0x2252c1[_0x32ffb9(0x13b)](),_0x457b30=_0x2252c1['getViewport'](_0x332666[_0x32ffb9(0x27b)]['VIEW_MAIN']),_0x2bf545=_0x2252c1[_0x32ffb9(0x272)](_0x332666['Vector2']['FromArray']([_0x2d3b08,_0x2b270f]),_0x457b30),_0xd67a93=_0x4b2197['getCellPositionByOffset'](_0x8f713,_0x5a89fd,_0x12c263,_0xa9109b,_0x2bf545);((_0x446dce=this[_0x32ffb9(0x21d)])==null?void 0x0:_0x446dce[_0x32ffb9(0x1c8)])===_0xd67a93['column']&&((_0x5ecc25=this['_lastPointer'])==null?void 0x0:_0x5ecc25[_0x32ffb9(0x1b6)])===_0xd67a93[_0x32ffb9(0x1b6)]||this['_cursors'][_0x32ffb9(0x30f)](_0x28e31c=>{const _0x8fdcd4=_0x32ffb9;_0x28e31c[_0x8fdcd4(0x1f7)](_0xd67a93);});},0x64));});}[_0x3ae46d(0x34c)](_0x334e2e,_0x45c156){const _0x1bfbf8=_0x3ae46d;var _0x3b07e2;const _0x254958=(_0x3b07e2=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x3b07e2[_0x1bfbf8(0x3c6)];if(!_0x254958)return;const _0x1e25d9=this[_0x1bfbf8(0x3f1)]();if(!_0x1e25d9)return;this[_0x1bfbf8(0x2d3)]['forEach'](_0x4ce33f=>{_0x4ce33f['makeDirty']();});const {scene:_0x2023fd}=_0x1e25d9,_0x154019=_0x4e2809(Array[_0x1bfbf8(0x2dd)](_0x45c156[_0x1bfbf8(0x412)]()))[_0x1bfbf8(0x361)](_0x2ad4c2=>{const _0x5294b9=_0x1bfbf8,{color:_0x343fbe,range:_0x4424ea,name:_0x34edc4,selection:_0x4a9f68,sheetID:_0x74bbb4}=_0x2ad4c2,{startColumn:_0x4b66aa,startRow:_0x21c413,endColumn:_0x54c2ca,endRow:_0xf7e98e}=_0x4424ea,_0x4f7993=_0x4762fe[_0x5294b9(0x26b)](_0x21c413,_0x4b66aa,_0x2023fd,_0x254958),_0x212ca4=_0x4762fe['getCoordByCell'](_0xf7e98e,_0x54c2ca,_0x2023fd,_0x254958),{columnHeaderHeightAndMarginTop:_0x2a3bc5}=_0x254958,{startX:_0xf5e35,startY:_0x138e60}=_0x4f7993,{endX:_0x458055,endY:_0x59aab0}=_0x212ca4,_0x4a1d49=_0x458055-_0xf5e35,_0x497cb3=_0x59aab0-_0x138e60,_0x170323={'labelPosition':_0x138e60-_0x2a3bc5>=_0x32a5bc?'top':_0x5294b9(0x2c0),'sheetID':_0x74bbb4,'range':_0x4424ea,'color':_0x343fbe,'name':_0x34edc4,'selection':_0x4a9f68,'left':_0xf5e35,'top':_0x138e60,'width':_0x4a1d49,'height':_0x497cb3,'evented':!0x1,'zIndex':_0x46eedc};return new _0x1e720b(_0x34edc4,_0x170323);});_0x2023fd[_0x1bfbf8(0x22a)](_0x154019,_0x21aab0),this[_0x1bfbf8(0x2d3)]=new Set(_0x154019);}[_0x3ae46d(0x297)](){const _0x132edd=_0x3ae46d;var _0x234751;(_0x234751=this[_0x132edd(0x2d3)])==null||_0x234751[_0x132edd(0x30f)](_0x399e1a=>_0x399e1a[_0x132edd(0x2e2)]());}['_getSheetObject'](){const _0x2c7b79=_0x3ae46d;return _0x4762fe['getSheetObject'](this[_0x2c7b79(0x13c)][_0x2c7b79(0x202)],this['_context']);}};_0x55e520=_0x56a8ec([_0x1108bf(0x1,_0xb5476b[_0x3ae46d(0x318)](_0x4762fe[_0x3ae46d(0x295)])),_0x1108bf(0x2,_0xb5476b['Inject'](_0x64d40b)),_0x1108bf(0x3,_0xb5476b[_0x3ae46d(0x318)](_0xb5476b[_0x3ae46d(0x201)]))],_0x55e520);function _0x4e2809(_0x57fa55){const _0x48f3bf=_0x3ae46d,_0xf3b34a=new Map();return _0x57fa55['forEach'](_0x144a2c=>{const _0x271581=_0x3d4d;if(_0xf3b34a['has'](_0x144a2c[_0x271581(0x2b7)])){const _0x1fbb72=_0xf3b34a[_0x271581(0x218)](_0x144a2c[_0x271581(0x2b7)]);_0x1fbb72[_0x271581(0x394)]+=',\x20'+_0x144a2c[_0x271581(0x394)];}else _0xf3b34a[_0x271581(0x307)](_0x144a2c[_0x271581(0x2b7)],_0x144a2c);}),Array[_0x48f3bf(0x2dd)](_0xf3b34a[_0x48f3bf(0x412)]());}var _0x30de7f=Object[_0x3ae46d(0x387)],_0x35968=(_0x32bc43,_0x11b787,_0x463910,_0x435a2c)=>{const _0x6fbe38=_0x3ae46d;for(var _0x806de3=_0x435a2c>0x1?void 0x0:_0x435a2c?_0x30de7f(_0x11b787,_0x463910):_0x11b787,_0x24814e=_0x32bc43[_0x6fbe38(0x16d)]-0x1,_0x3a180f;_0x24814e>=0x0;_0x24814e--)(_0x3a180f=_0x32bc43[_0x24814e])&&(_0x806de3=_0x3a180f(_0x806de3)||_0x806de3);return _0x806de3;},_0x20b8d8=(_0x4bef7a,_0x2ec063)=>(_0x52ca4e,_0x3d0a44)=>_0x2ec063(_0x52ca4e,_0x3d0a44,_0x4bef7a);let _0x45b2ec=class extends _0xb5476b[_0x3ae46d(0x1d6)]{constructor(_0x16eca0,_0x248442,_0xf96545,_0x4eee3f,_0x115eb2,_0x5b1b55){const _0x575cec=_0x3ae46d;super(),this[_0x575cec(0x3c8)]=_0x16eca0,this[_0x575cec(0x19e)]=_0x248442,this['_collaborationUIEventService']=_0xf96545,this[_0x575cec(0x164)]=_0x4eee3f,this[_0x575cec(0x146)]=_0x115eb2,this[_0x575cec(0x404)]=_0x5b1b55,this[_0x575cec(0x27e)](),this[_0x575cec(0x2cf)]();}[_0x3ae46d(0x27e)](){const _0x7aecfe=_0x3ae46d;this[_0x7aecfe(0x2b8)](this[_0x7aecfe(0x3c8)]['registerBeforeClose'](()=>{const _0x342e1c=_0x7aecfe;if(this[_0x342e1c(0x19e)][_0x342e1c(0x2eb)][_0x342e1c(0x270)])return this['_localeService']['t']('collaboration.offline-data-not-saved');}));}[_0x3ae46d(0x2cf)](){const _0x1cf846=_0x3ae46d;this[_0x1cf846(0x2b8)](this[_0x1cf846(0x213)][_0x1cf846(0x2ad)][_0x1cf846(0x338)](_0x5aba2e=>{const _0x3bffba=_0x1cf846;_0x5aba2e['id']===_0x5d78d3[_0x3bffba(0x214)][_0x3bffba(0x1f4)]&&this[_0x3bffba(0x164)]['show']({'type':_0x12f095[_0x3bffba(0x3c7)]['Warning'],'content':this['_localeService']['t'](_0x3bffba(0x35d))}),_0x5aba2e['id']===_0x5d78d3[_0x3bffba(0x214)]['CLOSE_ROOM']&&this[_0x3bffba(0x164)][_0x3bffba(0x2be)]({'type':_0x12f095['MessageType']['Warning'],'content':this[_0x3bffba(0x404)]['t'](_0x3bffba(0x321))}),_0x5aba2e['id']===_0x5d78d3[_0x3bffba(0x214)][_0x3bffba(0x294)]&&this[_0x3bffba(0x146)]['show']({'title':this[_0x3bffba(0x404)]['t'](_0x3bffba(0x373)),'content':this[_0x3bffba(0x404)]['t']('permission.content'),'type':_0x3bffba(0x3b2),'duration':0x0}),_0x5aba2e['id']===_0x5d78d3[_0x3bffba(0x214)][_0x3bffba(0x3c3)]&&this['_messageService'][_0x3bffba(0x2be)]({'type':_0x12f095['MessageType'][_0x3bffba(0x2d4)],'content':this['_localeService']['t'](_0x3bffba(0x321))+'('+_0x5aba2e[_0x3bffba(0x350)]+')'}),_0x5aba2e['id']===_0x5d78d3[_0x3bffba(0x214)][_0x3bffba(0x173)]&&this[_0x3bffba(0x164)][_0x3bffba(0x2be)]({'type':_0x12f095[_0x3bffba(0x3c7)]['Warning'],'content':this['_localeService']['t'](_0x5aba2e[_0x3bffba(0x350)]||'')}),_0x5aba2e['id']===_0x5d78d3['CollaborationUIEventId'][_0x3bffba(0x264)]&&this[_0x3bffba(0x164)][_0x3bffba(0x2be)]({'type':_0x12f095[_0x3bffba(0x3c7)][_0x3bffba(0x326)],'content':this[_0x3bffba(0x404)]['t'](_0x3bffba(0x2b1))}),_0x5aba2e['id']===_0x5d78d3[_0x3bffba(0x214)]['SOCKET_FAILED']&&this['_messageService'][_0x3bffba(0x2be)]({'type':_0x12f095[_0x3bffba(0x3c7)][_0x3bffba(0x2d4)],'content':this[_0x3bffba(0x404)]['t'](_0x3bffba(0x1fb))}),_0x5aba2e['id']===_0x5d78d3[_0x3bffba(0x214)][_0x3bffba(0x20a)]&&this[_0x3bffba(0x164)][_0x3bffba(0x2be)]({'type':_0x12f095[_0x3bffba(0x3c7)][_0x3bffba(0x2d4)],'content':this['_localeService']['t'](_0x3bffba(0x2b2))});}));}};_0x45b2ec=_0x35968([_0x20b8d8(0x0,_0x5266fa[_0x3ae46d(0x288)]),_0x20b8d8(0x1,_0x5d78d3['ILocalCacheService']),_0x20b8d8(0x2,_0xb5476b[_0x3ae46d(0x318)](_0x5d78d3['CollaborationUIEventService'])),_0x20b8d8(0x3,_0x5266fa[_0x3ae46d(0x3ba)]),_0x20b8d8(0x4,_0x5266fa[_0x3ae46d(0x162)]),_0x20b8d8(0x5,_0xb5476b[_0x3ae46d(0x318)](_0xb5476b[_0x3ae46d(0x262)]))],_0x45b2ec);var _0x1eb67c=Object[_0x3ae46d(0x387)],_0x10dc2d=(_0x34c564,_0x3a106d,_0x120801,_0x29e498)=>{const _0x5999ac=_0x3ae46d;for(var _0x390b66=_0x29e498>0x1?void 0x0:_0x29e498?_0x1eb67c(_0x3a106d,_0x120801):_0x3a106d,_0x11f201=_0x34c564[_0x5999ac(0x16d)]-0x1,_0x231d28;_0x11f201>=0x0;_0x11f201--)(_0x231d28=_0x34c564[_0x11f201])&&(_0x390b66=_0x231d28(_0x390b66)||_0x390b66);return _0x390b66;},_0x655e68=(_0x910138,_0x34639a)=>(_0x550f7f,_0x88c958)=>_0x34639a(_0x550f7f,_0x88c958,_0x910138);let _0x31de8a=class extends _0xb5476b[_0x3ae46d(0x1d6)]{constructor(_0x1db572,_0x4950b6,_0x1f283d,_0x3bc282){const _0x4de2b9=_0x3ae46d;super(),_0x2a22ff(this,_0x4de2b9(0x1b0)),(this[_0x4de2b9(0x3dd)]=_0x1db572,this[_0x4de2b9(0x2e1)]=_0x4950b6,this[_0x4de2b9(0x2f9)]=_0x1f283d,this[_0x4de2b9(0x1ba)]=_0x3bc282,this[_0x4de2b9(0x266)]());}[_0x3ae46d(0x266)](){const _0x75ce08=_0x3ae46d;this[_0x75ce08(0x33e)](),this[_0x75ce08(0x3d5)](),this[_0x75ce08(0x225)](),this[_0x75ce08(0x260)]();}['_initUserListener'](){const _0x34e788=_0x3ae46d;this[_0x34e788(0x2b8)](this[_0x34e788(0x1ba)][_0x34e788(0x15c)][_0x34e788(0x338)](_0x1b008e=>{const _0x5ddfd9=_0x34e788;this[_0x5ddfd9(0x1b0)]=_0x1b008e==null?void 0x0:_0x1b008e[_0x5ddfd9(0x13f)];}));}[_0x3ae46d(0x33e)](){const _0xdf81c=_0x3ae46d,_0x3f41b5=_0x1b0ba3=>{const _0x4f7aa3=_0x3d4d;var _0x39bb95;this[_0x4f7aa3(0x29b)](_0x4f7aa3(0x3b2),_0x4f7aa3(0x1d1)+_0x1b0ba3[_0x4f7aa3(0x31f)]+_0x4f7aa3(0x250)+_0x1b0ba3[_0x4f7aa3(0x159)]+':'+_0x1b0ba3[_0x4f7aa3(0x285)]+':'+_0x1b0ba3['colno']+'\x0a'+(((_0x39bb95=_0x1b0ba3['error'])==null?void 0x0:_0x39bb95[_0x4f7aa3(0x21b)])||''));};window[_0xdf81c(0x2a7)]('error',_0x3f41b5),this[_0xdf81c(0x2b8)](()=>{const _0x267f8d=_0xdf81c;window[_0x267f8d(0x37b)](_0x267f8d(0x3b2),_0x3f41b5);});}[_0x3ae46d(0x3d5)](){const _0x109c36=_0x3ae46d,_0x4999d5=_0x144da9=>{const _0x1c8252=_0x3d4d;this[_0x1c8252(0x29b)](_0x1c8252(0x3b2),_0x1c8252(0x355)+_0x144da9[_0x1c8252(0x30a)]);};window[_0x109c36(0x2a7)]('unhandledrejection',_0x4999d5),this[_0x109c36(0x2b8)](()=>{const _0x18bb4e=_0x109c36;window['removeEventListener'](_0x18bb4e(0x2c7),_0x4999d5);});}[_0x3ae46d(0x225)](){const _0x1a07b8=_0x3ae46d,_0x5ac901=this[_0x1a07b8(0x2f9)][_0x1a07b8(0x3b2)]['bind'](this[_0x1a07b8(0x2f9)]);this['_logService']['error']=(..._0x8b222)=>{const _0x43a909=_0x1a07b8,_0x198d91=_0x8b222[_0x43a909(0x361)](_0x48aa0d=>_0x48aa0d instanceof Error?_0x48aa0d[_0x43a909(0x31f)]+'\x0a'+_0x48aa0d[_0x43a909(0x21b)]:String(_0x48aa0d))[_0x43a909(0x402)]('\x20');this[_0x43a909(0x29b)](_0x43a909(0x3b2),_0x43a909(0x12e)+_0x198d91),_0x5ac901(..._0x8b222);},this[_0x1a07b8(0x2b8)](()=>{const _0x5f5a37=_0x1a07b8;this[_0x5f5a37(0x2f9)][_0x5f5a37(0x3b2)]=_0x5ac901;});}[_0x3ae46d(0x29b)](_0x10ef25,_0x2db849){const _0x517960=_0x3ae46d;try{const _0x58b6c4={'userId':this[_0x517960(0x1b0)],'logLabel':_0x10ef25,'content':_0x2db849};this[_0x517960(0x2e1)][_0x517960(0x15e)](_0x517960(0x130),{'body':_0x58b6c4})[_0x517960(0x293)](()=>{});}catch{}}};_0x31de8a=_0x10dc2d([_0x655e68(0x0,_0xb5476b[_0x3ae46d(0x318)](_0xb5476b[_0x3ae46d(0x184)])),_0x655e68(0x1,_0xb5476b[_0x3ae46d(0x318)](_0x37af80['HTTPService'])),_0x655e68(0x2,_0xb5476b['ILogService']),_0x655e68(0x3,_0xb5476b[_0x3ae46d(0x318)](_0x5d78d3[_0x3ae46d(0x395)]))],_0x31de8a);const _0x9e3cd6=_0x3ae46d(0x16a),_0x3ca380={};var _0x44c383=Object[_0x3ae46d(0x387)],_0x51cbf7=(_0x33a9c2,_0x2d895c,_0x29e93d,_0x2a48a0)=>{for(var _0x56f0bc=_0x2a48a0>0x1?void 0x0:_0x2a48a0?_0x44c383(_0x2d895c,_0x29e93d):_0x2d895c,_0x39800b=_0x33a9c2['length']-0x1,_0x1080db;_0x39800b>=0x0;_0x39800b--)(_0x1080db=_0x33a9c2[_0x39800b])&&(_0x56f0bc=_0x1080db(_0x56f0bc)||_0x56f0bc);return _0x56f0bc;},_0x219b58=(_0x319c77,_0x2d929c)=>(_0x4d59ba,_0x4075cf)=>_0x2d929c(_0x4d59ba,_0x4075cf,_0x319c77);let _0x273126=class{constructor(_0x413f2f,_0x246aeb){const _0x5a44a8=_0x3ae46d;this[_0x5a44a8(0x2e4)]=_0x413f2f,this[_0x5a44a8(0x3e0)]=_0x246aeb;}[_0x3ae46d(0x349)](_0x3eca1f){const _0x380bf5=_0x3ae46d;this[_0x380bf5(0x369)](_0x3eca1f),this[_0x380bf5(0x26a)](_0x3eca1f);}[_0x3ae46d(0x33b)](_0x4f5f3f){const _0x14a866=_0x3ae46d,{unitID:_0x29564d}=_0x4f5f3f,_0x23ff08=this[_0x14a866(0x3e0)][_0x14a866(0x2cb)](_0x29564d)[_0x14a866(0x246)](_0x5d7db3[_0x14a866(0x2ef)]),{redoCache:_0x2ba9e6}=_0x23ff08[_0x14a866(0x3e2)]();if(_0x2ba9e6[_0x14a866(0x16d)]===0x0)return _0x4f5f3f;let _0x5a9381=_0xb5476b[_0x14a866(0x27a)][_0x14a866(0x37c)](_0x4f5f3f['mutations'][0x0]);for(let _0x5dfcf2=0x0;_0x5dfcf2<_0x2ba9e6[_0x14a866(0x16d)];_0x5dfcf2++){const _0x9674e5={'id':'doc.mutation.rich-text-editing','params':{..._0x2ba9e6[_0x5dfcf2]}},_0x3aee27=this[_0x14a866(0x2e4)][_0x14a866(0x3a3)](_0x5a9381,_0x9674e5,!0x1);if(_0x486998[_0x14a866(0x217)](_0x3aee27))throw _0x3aee27['error'];_0x5a9381=_0x3aee27['m1Prime'];}return{..._0xb5476b[_0x14a866(0x27a)][_0x14a866(0x37c)](_0x4f5f3f),'mutations':[_0x5a9381]};}[_0x3ae46d(0x369)](_0x56797c){const _0x1305dd=_0x3ae46d,{unitID:_0x1a2f55}=_0x56797c,_0x2b5e0e=this[_0x1305dd(0x3e0)]['getRenderById'](_0x1a2f55)['with'](_0x5d7db3['DocIMEInputManagerService']),{undoCache:_0x482b7a,redoCache:_0x370bca}=_0x2b5e0e[_0x1305dd(0x3e2)]();if(_0x482b7a['length']===0x0||_0x370bca['length']===0x0)return;const _0xaf7d31=[],_0x5ccf17=[];let _0x5007a3=_0xb5476b[_0x1305dd(0x27a)][_0x1305dd(0x37c)](_0x56797c[_0x1305dd(0x3d9)][0x0]),_0x39a092=_0xb5476b[_0x1305dd(0x27a)][_0x1305dd(0x37c)](_0x56797c[_0x1305dd(0x3d9)][0x0]);for(let _0x55c4d6=_0x482b7a[_0x1305dd(0x16d)]-0x1;_0x55c4d6>=0x0;_0x55c4d6--){const _0x183dca={'id':_0x1305dd(0x353),'params':{..._0x482b7a[_0x55c4d6]}},_0x3c5156={'id':_0x1305dd(0x353),'params':{..._0x370bca[_0x55c4d6]}},_0x51b9ab=this['_transformService'][_0x1305dd(0x3a3)](_0x5007a3,_0x183dca,!0x1),_0x25fd83=this['_transformService'][_0x1305dd(0x3a3)](_0x39a092,_0x3c5156,!0x1);if(_0x486998[_0x1305dd(0x217)](_0x51b9ab))throw _0x51b9ab[_0x1305dd(0x3b2)];if(_0x486998['isTransformMutationFailure'](_0x25fd83))throw _0x25fd83[_0x1305dd(0x3b2)];_0xaf7d31[_0x1305dd(0x19b)](_0x51b9ab[_0x1305dd(0x29c)][_0x1305dd(0x398)]),_0x5ccf17[_0x1305dd(0x19b)](_0x25fd83[_0x1305dd(0x29c)][_0x1305dd(0x398)]),_0x5007a3=_0x51b9ab[_0x1305dd(0x2ac)],_0x39a092=_0x25fd83['m1Prime'];}_0x2b5e0e[_0x1305dd(0x20c)]({'undoCache':_0xaf7d31,'redoCache':_0x5ccf17});}['_transformPreviousActiveRange'](_0x1975ac){const _0x510b2e=_0x3ae46d,{unitID:_0x34e59d}=_0x1975ac,_0x4346dd=this[_0x510b2e(0x3e0)][_0x510b2e(0x2cb)](_0x34e59d)[_0x510b2e(0x246)](_0x5d7db3[_0x510b2e(0x2ef)]),_0x59be4d=_0x4346dd[_0x510b2e(0x3b1)]();if(_0x59be4d==null)return;const _0x417d3b=[{'id':_0x510b2e(0x353),'params':{'unitId':_0x1975ac[_0x510b2e(0x2d8)],'actions':null,'textRanges':[_0x59be4d]}}],_0x27ab8c=this['_transformService'][_0x510b2e(0x3d3)](_0x1975ac,_0x417d3b);if(!_0x486998[_0x510b2e(0x411)](_0x27ab8c))throw _0x27ab8c[_0x510b2e(0x3b2)];const _0x46ce5d=_0x27ab8c[_0x510b2e(0x29c)][0x0][_0x510b2e(0x398)][_0x510b2e(0x39b)];Array[_0x510b2e(0x304)](_0x46ce5d)&&_0x46ce5d['length']&&_0x4346dd['setActiveRange'](_0x46ce5d[0x0]);}};_0x273126=_0x51cbf7([_0x219b58(0x0,_0x486998[_0x3ae46d(0x13a)]),_0x219b58(0x1,_0x332666['IRenderManagerService'])],_0x273126);var _0x3a1e6d=Object[_0x3ae46d(0x387)],_0x3ce9f=(_0x32a4ae,_0x2c3482,_0x42f8c3,_0x41a00e)=>{const _0x1a850a=_0x3ae46d;for(var _0x15b65b=_0x41a00e>0x1?void 0x0:_0x41a00e?_0x3a1e6d(_0x2c3482,_0x42f8c3):_0x2c3482,_0x555a71=_0x32a4ae[_0x1a850a(0x16d)]-0x1,_0x2d2479;_0x555a71>=0x0;_0x555a71--)(_0x2d2479=_0x32a4ae[_0x555a71])&&(_0x15b65b=_0x2d2479(_0x15b65b)||_0x15b65b);return _0x15b65b;},_0x2eefb1=(_0x17b438,_0x19906a)=>(_0x10fadb,_0x4115a0)=>_0x19906a(_0x10fadb,_0x4115a0,_0x17b438);let _0x8d3bf4=class{constructor(_0xbb9445,_0x779c95,_0x53e6f2){const _0x205a3e=_0x3ae46d;this['_injector']=_0xbb9445,this[_0x205a3e(0x2e4)]=_0x779c95,this[_0x205a3e(0x138)]=_0x53e6f2;}[_0x3ae46d(0x345)](_0x574094){const _0x182ef4=_0x3ae46d;this[_0x182ef4(0x1a6)](_0x574094);}[_0x3ae46d(0x33b)](_0x1284eb){const _0x3d256f=_0x3ae46d,{unitID:_0x1af97f}=_0x1284eb,{collaboration:_0x5ae970}=this[_0x3d256f(0x138)][_0x3d256f(0x1a3)](_0x1af97f);if(_0x5ae970['length']===0x0)return _0x1284eb;let _0x4112b6=_0xb5476b[_0x3d256f(0x27a)]['deepClone'](_0x1284eb[_0x3d256f(0x3d9)][0x0]);for(let _0x192911=0x0;_0x192911<_0x5ae970[_0x3d256f(0x16d)];_0x192911++){const _0x1344ba={'id':_0x3d256f(0x353),'params':{'unitId':_0x5ae970[_0x192911]['unitId'],..._0x5ae970[_0x192911]['redoState']}},_0x15cb51=this[_0x3d256f(0x2e4)][_0x3d256f(0x3a3)](_0x4112b6,_0x1344ba,!0x1);if(_0x486998[_0x3d256f(0x217)](_0x15cb51))throw _0x15cb51[_0x3d256f(0x3b2)];_0x4112b6=_0x15cb51[_0x3d256f(0x2ac)];}return{..._0xb5476b[_0x3d256f(0x27a)][_0x3d256f(0x37c)](_0x1284eb),'mutations':[_0x4112b6]};}[_0x3ae46d(0x1a6)](_0xd97b39){const _0x59a79e=_0x3ae46d,{unitID:_0x8693e9}=_0xd97b39,{history:_0x3343f6,collaboration:_0x36afb4}=this['_docStateChangeManagerService'][_0x59a79e(0x1a3)](_0x8693e9);if(_0x3343f6[_0x59a79e(0x16d)]===0x0&&_0x36afb4['length']===0x0)return;const _0x2ebb1f=[],_0x20c46f=[];let _0x32e381=_0xb5476b['Tools'][_0x59a79e(0x37c)](_0xd97b39['mutations'][0x0]),_0x279952=_0xb5476b['Tools']['deepClone'](_0xd97b39['mutations'][0x0]);for(let _0x5a82f4=_0x3343f6[_0x59a79e(0x16d)]-0x1;_0x5a82f4>=0x0;_0x5a82f4--){const _0xdc7c5f={'id':_0x59a79e(0x353),'params':{'unitId':_0x3343f6[_0x5a82f4][_0x59a79e(0x381)],..._0x3343f6[_0x5a82f4][_0x59a79e(0x27c)]}},_0x27742e={'id':_0x59a79e(0x353),'params':{'unitId':_0x3343f6[_0x5a82f4][_0x59a79e(0x381)],..._0x3343f6[_0x5a82f4][_0x59a79e(0x19c)]}},_0x184a20=this[_0x59a79e(0x2e4)]['transformMutation'](_0x32e381,_0xdc7c5f,!0x1),_0x101dcc=this[_0x59a79e(0x2e4)][_0x59a79e(0x3a3)](_0x279952,_0x27742e,!0x1);if(_0x486998[_0x59a79e(0x217)](_0x184a20))throw _0x184a20[_0x59a79e(0x3b2)];if(_0x486998[_0x59a79e(0x217)](_0x101dcc))throw _0x101dcc[_0x59a79e(0x3b2)];_0x2ebb1f[_0x59a79e(0x19b)]({..._0x3343f6[_0x5a82f4],'undoState':_0x184a20[_0x59a79e(0x29c)]['params'],'redoState':_0x101dcc['m2Prime'][_0x59a79e(0x398)]}),_0x32e381=_0x184a20[_0x59a79e(0x2ac)],_0x279952=_0x101dcc[_0x59a79e(0x2ac)];}_0x32e381=_0xb5476b[_0x59a79e(0x27a)]['deepClone'](_0xd97b39['mutations'][0x0]),_0x279952=_0xb5476b[_0x59a79e(0x27a)][_0x59a79e(0x37c)](_0xd97b39[_0x59a79e(0x3d9)][0x0]);for(let _0x3382a0=_0x36afb4['length']-0x1;_0x3382a0>=0x0;_0x3382a0--){const _0x2137e6={'id':_0x59a79e(0x353),'params':{'unitId':_0x36afb4[_0x3382a0]['unitId'],..._0x36afb4[_0x3382a0][_0x59a79e(0x27c)]}},_0x3b616f={'id':_0x59a79e(0x353),'params':{'unitId':_0x36afb4[_0x3382a0][_0x59a79e(0x381)],..._0x36afb4[_0x3382a0][_0x59a79e(0x19c)]}},_0x3f9bb9=this[_0x59a79e(0x2e4)][_0x59a79e(0x3a3)](_0x32e381,_0x2137e6,!0x1),_0x487fa5=this['_transformService'][_0x59a79e(0x3a3)](_0x279952,_0x3b616f,!0x1);if(_0x486998['isTransformMutationFailure'](_0x3f9bb9))throw _0x3f9bb9['error'];if(_0x486998[_0x59a79e(0x217)](_0x487fa5))throw _0x487fa5[_0x59a79e(0x3b2)];_0x20c46f[_0x59a79e(0x19b)]({..._0x36afb4[_0x3382a0],'undoState':_0x3f9bb9[_0x59a79e(0x29c)][_0x59a79e(0x398)],'redoState':_0x487fa5[_0x59a79e(0x29c)]['params']}),_0x32e381=_0x3f9bb9[_0x59a79e(0x2ac)],_0x279952=_0x487fa5['m1Prime'];}this[_0x59a79e(0x138)][_0x59a79e(0x3ff)](_0x8693e9,{'history':_0x2ebb1f,'collaboration':_0x20c46f});}};_0x8d3bf4=_0x3ce9f([_0x2eefb1(0x0,_0xb5476b[_0x3ae46d(0x318)](_0xb5476b[_0x3ae46d(0x184)])),_0x2eefb1(0x1,_0x486998['ITransformService']),_0x2eefb1(0x2,_0xb5476b[_0x3ae46d(0x318)](_0x5d7db3[_0x3ae46d(0x3fb)]))],_0x8d3bf4);var _0x13b1b8=Object[_0x3ae46d(0x387)],_0x545f77=(_0x56c4f6,_0x586342,_0x4c6e95,_0x194e0e)=>{const _0x199300=_0x3ae46d;for(var _0x4c0b51=_0x194e0e>0x1?void 0x0:_0x194e0e?_0x13b1b8(_0x586342,_0x4c6e95):_0x586342,_0x2d717e=_0x56c4f6[_0x199300(0x16d)]-0x1,_0x21fd4b;_0x2d717e>=0x0;_0x2d717e--)(_0x21fd4b=_0x56c4f6[_0x2d717e])&&(_0x4c0b51=_0x21fd4b(_0x4c0b51)||_0x4c0b51);return _0x4c0b51;},_0x417fad=(_0x394a97,_0x3a89c0)=>(_0x3d5809,_0x266ed6)=>_0x3a89c0(_0x3d5809,_0x266ed6,_0x394a97);let _0x2bca12=class{constructor(_0xe30636,_0x54ef2d){const _0xf696a3=_0x3ae46d;this[_0xf696a3(0x3dd)]=_0xe30636,this[_0xf696a3(0x2e4)]=_0x54ef2d;}['transformSelections'](_0x4b63a6){const _0x328094=_0x3ae46d;var _0x4fb41f;const _0x173d3c=this[_0x328094(0x3dd)][_0x328094(0x218)](_0x2190d4[_0x328094(0x397)]),_0xbb9b43=(_0x4fb41f=_0x173d3c[_0x328094(0x3d4)]())!=null?_0x4fb41f:[];if(_0xbb9b43[_0x328094(0x16d)]===0x0)return;const _0x4077c7=_0x4b63a6[_0x328094(0x2d8)],_0x2f95d8=[{'id':_0x328094(0x353),'params':{'unitId':_0x4077c7,'actions':null,'textRanges':_0xbb9b43}}],_0x4ef7b4=this[_0x328094(0x2e4)][_0x328094(0x3d3)](_0x4b63a6,_0x2f95d8);if(!_0x486998[_0x328094(0x411)](_0x4ef7b4))throw _0x4ef7b4[_0x328094(0x3b2)];const _0x850965=_0x4ef7b4[_0x328094(0x29c)][0x0]['params'][_0x328094(0x39b)];Array['isArray'](_0x850965)&&_0x850965['length']&&_0x173d3c['replaceDocRanges'](_0x850965,{'unitId':_0x4077c7,'subUnitId':_0x4077c7},!0x1);}};_0x2bca12=_0x545f77([_0x417fad(0x0,_0xb5476b[_0x3ae46d(0x318)](_0xb5476b[_0x3ae46d(0x184)])),_0x417fad(0x1,_0x486998[_0x3ae46d(0x13a)])],_0x2bca12);var _0x583c6f=Object[_0x3ae46d(0x387)],_0x10386c=(_0x4f9f2a,_0x471130,_0x265370,_0x19db8d)=>{const _0x3216e7=_0x3ae46d;for(var _0x4ddac3=_0x19db8d>0x1?void 0x0:_0x19db8d?_0x583c6f(_0x471130,_0x265370):_0x471130,_0x4d56a9=_0x4f9f2a[_0x3216e7(0x16d)]-0x1,_0x3e04e9;_0x4d56a9>=0x0;_0x4d56a9--)(_0x3e04e9=_0x4f9f2a[_0x4d56a9])&&(_0x4ddac3=_0x3e04e9(_0x4ddac3)||_0x4ddac3);return _0x4ddac3;},_0x213c8e=(_0x232946,_0x20905f)=>(_0x5db818,_0x1fa20d)=>_0x20905f(_0x5db818,_0x1fa20d,_0x232946);let _0x418614=class extends _0xb5476b[_0x3ae46d(0x1d6)]{constructor(_0x412541,_0x2eab86,_0x42f8db,_0x2faa15,_0x266bb3,_0x373145,_0xa2c139,_0x414455){const _0xa0d2a3=_0x3ae46d;super(),_0x2a22ff(this,_0xa0d2a3(0x390),new _0x3d2c80[(_0xa0d2a3(0x1de))](_0x5d78d3[_0xa0d2a3(0x3d1)]['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x412541,this[_0xa0d2a3(0x1c4)]=_0x2eab86,this['_docTransformIMECacheService']=_0x42f8db,this[_0xa0d2a3(0x178)]=_0x2faa15,this[_0xa0d2a3(0x2ec)]=_0x266bb3,this[_0xa0d2a3(0x21c)]=_0x373145,this[_0xa0d2a3(0x164)]=_0xa2c139,this[_0xa0d2a3(0x404)]=_0x414455,this[_0xa0d2a3(0x1b5)]());}['_initEntityListener'](){const _0x5992f3=_0x3ae46d;this[_0x5992f3(0x2b8)](this[_0x5992f3(0x1c4)][_0x5992f3(0x283)][_0x5992f3(0x338)](_0x48363c=>{const _0x207bd6=_0x5992f3,_0x13d73c=this['_docStateChangeManagerService']['docStateChange$']['subscribe'](_0x2141f6=>{const _0x9fa47e=_0x3d4d;if(_0x2141f6==null)return;const {unitId:_0x2d133f,redoState:_0x34bec4,commandId:_0x587bf3}=_0x2141f6;if(_0x2d133f!==_0x48363c[_0x9fa47e(0x2d8)])return;const _0x35082a={'id':_0x587bf3,'type':_0xb5476b[_0x9fa47e(0x211)]['MUTATION'],'params':{'unitId':_0x2d133f,'actions':_0x34bec4['actions'],'textRanges':null}};_0x48363c[_0x9fa47e(0x161)](_0x35082a);});if(_0x48363c[_0x207bd6(0x2b8)](_0x13d73c),_0x48363c instanceof _0x5d78d3[_0x207bd6(0x280)]){const _0x1a9107={'onTransformIME':_0x461669=>this[_0x207bd6(0x30b)][_0x207bd6(0x349)](_0x461669),'onTransformState':_0x47abe7=>this[_0x207bd6(0x178)]['transformStateCache'](_0x47abe7),'onTransformSelections':_0x2f9e27=>this[_0x207bd6(0x2ec)]['transformSelections'](_0x2f9e27),'onSyncEditingCollabCursor':_0x55fdf3=>this[_0x207bd6(0x21c)]['syncEditingCollabCursor'](_0x55fdf3),'onTransformRemoteChangesetByIMECache':_0x542d48=>this[_0x207bd6(0x30b)][_0x207bd6(0x33b)](_0x542d48),'onTransformRemoteChangesetByStateCache':_0x96c568=>this[_0x207bd6(0x178)][_0x207bd6(0x33b)](_0x96c568)};_0x48363c[_0x207bd6(0x3f6)](_0x1a9107);}}));}};_0x418614=_0x10386c([_0x213c8e(0x0,_0xb5476b[_0x3ae46d(0x318)](_0x5d7db3[_0x3ae46d(0x3fb)])),_0x213c8e(0x1,_0xb5476b[_0x3ae46d(0x318)](_0x5d78d3['CollaborationController'])),_0x213c8e(0x2,_0xb5476b[_0x3ae46d(0x318)](_0x273126)),_0x213c8e(0x3,_0xb5476b[_0x3ae46d(0x318)](_0x8d3bf4)),_0x213c8e(0x4,_0xb5476b[_0x3ae46d(0x318)](_0x2bca12)),_0x213c8e(0x5,_0xb5476b['Inject'](_0x837920)),_0x213c8e(0x6,_0x5266fa[_0x3ae46d(0x3ba)]),_0x213c8e(0x7,_0xb5476b['Inject'](_0xb5476b['LocaleService']))],_0x418614);var _0x1bf02b=(_0x8a8243=>(_0x8a8243[_0x8a8243[_0x3ae46d(0x2f4)]=0x0]=_0x3ae46d(0x2f4),_0x8a8243[_0x8a8243['OK']=0x1]='OK',_0x8a8243[_0x8a8243[_0x3ae46d(0x303)]=0x2]=_0x3ae46d(0x303),_0x8a8243[_0x8a8243[_0x3ae46d(0x294)]=0x3]=_0x3ae46d(0x294),_0x8a8243[_0x8a8243[_0x3ae46d(0x156)]=0x4]=_0x3ae46d(0x156),_0x8a8243[_0x8a8243[_0x3ae46d(0x17f)]=0x5]=_0x3ae46d(0x17f),_0x8a8243[_0x8a8243['ALREADY_EXISTS']=0x6]=_0x3ae46d(0x2fa),_0x8a8243[_0x8a8243[_0x3ae46d(0x172)]=0x7]='INVALID_ARGUMENT',_0x8a8243[_0x8a8243[_0x3ae46d(0x255)]=0x8]=_0x3ae46d(0x255),_0x8a8243[_0x8a8243[_0x3ae46d(0x2d7)]=0x9]='COMPLETION_FINISHED',_0x8a8243[_0x8a8243[_0x3ae46d(0x24f)]=0xa]=_0x3ae46d(0x24f),_0x8a8243[_0x8a8243['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x3ae46d(0x153),_0x8a8243[_0x8a8243['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x3ae46d(0x341),_0x8a8243[_0x8a8243[_0x3ae46d(0x1db)]=0xd]=_0x3ae46d(0x1db),_0x8a8243[_0x8a8243[_0x3ae46d(0x28a)]=0xe]=_0x3ae46d(0x28a),_0x8a8243[_0x8a8243[_0x3ae46d(0x3e5)]=0xf]=_0x3ae46d(0x3e5),_0x8a8243[_0x8a8243[_0x3ae46d(0x17b)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x8a8243[_0x8a8243['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x3ae46d(0x3ef),_0x8a8243[_0x8a8243[_0x3ae46d(0x3e6)]=0x65]='ERROR_AGAIN',_0x8a8243[_0x8a8243['USER_NOT_FOUND']=0xc9]='USER_NOT_FOUND',_0x8a8243[_0x8a8243[_0x3ae46d(0x312)]=0xca]='USER_IS_ANONYMOUS',_0x8a8243[_0x8a8243[_0x3ae46d(0x25e)]=0x1389]=_0x3ae46d(0x25e),_0x8a8243[_0x8a8243[_0x3ae46d(0x2ff)]=0x1771]=_0x3ae46d(0x2ff),_0x8a8243[_0x8a8243[_0x3ae46d(0x1d2)]=0x1772]=_0x3ae46d(0x1d2),_0x8a8243[_0x8a8243[_0x3ae46d(0x21a)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x8a8243[_0x8a8243['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x8a8243[_0x8a8243[_0x3ae46d(0x18b)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x8a8243[_0x8a8243[_0x3ae46d(0x2fc)]=0x1b5b]=_0x3ae46d(0x2fc),_0x8a8243[_0x8a8243['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x3ae46d(0x320),_0x8a8243[_0x8a8243['APPLY_DUPLICATED']=0x1b5d]=_0x3ae46d(0x362),_0x8a8243[_0x8a8243[_0x3ae46d(0x1fc)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x8a8243[_0x8a8243[_0x3ae46d(0x3a6)]=0x2329]=_0x3ae46d(0x3a6),_0x8a8243[_0x8a8243[_0x3ae46d(0x23b)]=0x232a]=_0x3ae46d(0x23b),_0x8a8243[_0x8a8243[_0x3ae46d(0x29a)]=0x232b]=_0x3ae46d(0x29a),_0x8a8243[_0x8a8243[_0x3ae46d(0x1a5)]=0x232c]=_0x3ae46d(0x1a5),_0x8a8243[_0x8a8243[_0x3ae46d(0x3f3)]=0x232d]=_0x3ae46d(0x3f3),_0x8a8243[_0x8a8243['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x3ae46d(0x30e),_0x8a8243[_0x8a8243[_0x3ae46d(0x340)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x8a8243[_0x8a8243[_0x3ae46d(0x2a4)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x8a8243[_0x8a8243[_0x3ae46d(0x35c)]=0x2714]=_0x3ae46d(0x35c),_0x8a8243[_0x8a8243[_0x3ae46d(0x388)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x8a8243[_0x8a8243[_0x3ae46d(0x348)]=0x271b]=_0x3ae46d(0x348),_0x8a8243[_0x8a8243[_0x3ae46d(0x386)]=0x271c]=_0x3ae46d(0x386),_0x8a8243[_0x8a8243[_0x3ae46d(0x3cc)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x8a8243[_0x8a8243['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x8a8243[_0x8a8243[_0x3ae46d(0x23a)]=0x271f]=_0x3ae46d(0x23a),_0x8a8243[_0x8a8243['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x3ae46d(0x2ee),_0x8a8243[_0x8a8243[_0x3ae46d(0x409)]=0x2af9]=_0x3ae46d(0x409),_0x8a8243[_0x8a8243[_0x3ae46d(0x286)]=0x2ee1]=_0x3ae46d(0x286),_0x8a8243[_0x8a8243[_0x3ae46d(0x40b)]=0x2ee2]='INVALID_INVITE_CODE',_0x8a8243[_0x8a8243[_0x3ae46d(0x309)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x8a8243[_0x8a8243[_0x3ae46d(0x228)]=0x2ee4]=_0x3ae46d(0x228),_0x8a8243[_0x8a8243['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x8a8243[_0x8a8243['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x8a8243[_0x8a8243[_0x3ae46d(0x1e3)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x8a8243[_0x8a8243[_0x3ae46d(0x1f1)]=0x32cb]=_0x3ae46d(0x1f1),_0x8a8243[_0x8a8243[_0x3ae46d(0x271)]=0x36b1]=_0x3ae46d(0x271),_0x8a8243[_0x8a8243[_0x3ae46d(0x1c3)]=0x36b2]=_0x3ae46d(0x1c3),_0x8a8243[_0x8a8243[_0x3ae46d(0x2ea)]=0x36b3]=_0x3ae46d(0x2ea),_0x8a8243[_0x8a8243['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x3ae46d(0x1b2),_0x8a8243[_0x8a8243[_0x3ae46d(0x1a8)]=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x8a8243[_0x8a8243[_0x3ae46d(0x38d)]=0x36b6]=_0x3ae46d(0x38d),_0x8a8243[_0x8a8243[_0x3ae46d(0x2a0)]=0x36b7]=_0x3ae46d(0x2a0),_0x8a8243[_0x8a8243[_0x3ae46d(0x14d)]=0x36b8]=_0x3ae46d(0x14d),_0x8a8243[_0x8a8243[_0x3ae46d(0x12f)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x8a8243[_0x8a8243[_0x3ae46d(0x375)]=0x3716]=_0x3ae46d(0x375),_0x8a8243[_0x8a8243[_0x3ae46d(0x3da)]=0x3717]=_0x3ae46d(0x3da),_0x8a8243[_0x8a8243[_0x3ae46d(0x224)]=0x37dd]=_0x3ae46d(0x224),_0x8a8243[_0x8a8243['REDEMPTION_INVALID_CODE']=0x3a99]='REDEMPTION_INVALID_CODE',_0x8a8243[_0x8a8243[_0x3ae46d(0x1d5)]=0x3a9a]=_0x3ae46d(0x1d5),_0x8a8243[_0x8a8243[_0x3ae46d(0x3c5)]=0x3a9b]=_0x3ae46d(0x3c5),_0x8a8243[_0x8a8243[_0x3ae46d(0x31b)]=0x3a9c]=_0x3ae46d(0x31b),_0x8a8243[_0x8a8243[_0x3ae46d(0x2f5)]=0x3a9d]=_0x3ae46d(0x2f5),_0x8a8243[_0x8a8243[_0x3ae46d(0x314)]=0x3a9e]=_0x3ae46d(0x314),_0x8a8243[_0x8a8243[_0x3ae46d(0x1dd)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x8a8243[_0x8a8243[_0x3ae46d(0x19d)]=0x3e81]=_0x3ae46d(0x19d),_0x8a8243[_0x8a8243[_0x3ae46d(0x35a)]=-0x1]=_0x3ae46d(0x35a),_0x8a8243))(_0x1bf02b||{});function _0x52b8f4(_0x3bd3a9){const _0x38619f=_0x3ae46d;var _0x2b5532,_0x194c2d;const _0x5d6437=(_0x2b5532=_0x3bd3a9[_0x38619f(0x29f)])==null?void 0x0:_0x2b5532[_0x38619f(0x2b5)],_0x58c7d0=((_0x194c2d=_0x3bd3a9['stageInfo'])==null?void 0x0:_0x194c2d[_0x38619f(0x3fe)])||0x0;return _0x5d6437===_0x4ac72b[_0x38619f(0x2e6)][_0x38619f(0x2d9)]&&_0x58c7d0>0x0;}function _0x288d1d(_0x2d549e){const _0x4d0b9f=_0x3ae46d;return _0x2d549e[_0x4d0b9f(0x311)]===_0x4ac72b[_0x4d0b9f(0x32d)][_0x4d0b9f(0x298)];}var _0x187fe6=Object[_0x3ae46d(0x387)],_0x108c9d=(_0x31efb0,_0x1de536,_0x2a8c10,_0x5bc440)=>{const _0x5dc694=_0x3ae46d;for(var _0x276986=_0x5bc440>0x1?void 0x0:_0x5bc440?_0x187fe6(_0x1de536,_0x2a8c10):_0x1de536,_0x28981b=_0x31efb0[_0x5dc694(0x16d)]-0x1,_0x3fb8fb;_0x28981b>=0x0;_0x28981b--)(_0x3fb8fb=_0x31efb0[_0x28981b])&&(_0x276986=_0x3fb8fb(_0x276986)||_0x276986);return _0x276986;},_0xd59b0b=(_0x2f222b,_0x594940)=>(_0xe01b4b,_0x4de161)=>_0x594940(_0xe01b4b,_0x4de161,_0x2f222b);const _0xcef879=_0x3ae46d(0x30d),_0x50ee23=_0x3ae46d(0x2e0),_0x234e2e='/universer-api/license/formula/limit/done';let _0x17c105=class extends _0xb5476b['Disposable']{constructor(_0x1f8eea,_0x28b545,_0x28ad29,_0x1bd498,_0x278d30,_0x43d203,_0xbdd09c){const _0x265d41=_0x3ae46d;super(),_0x2a22ff(this,_0x265d41(0x20d),null),_0x2a22ff(this,_0x265d41(0x17d),0x0),_0x2a22ff(this,_0x265d41(0x36e),0x0),_0x2a22ff(this,'_taskIds',[]),_0x2a22ff(this,_0x265d41(0x2f7),0x0),(this[_0x265d41(0x164)]=_0x1f8eea,this[_0x265d41(0x358)]=_0x28b545,this[_0x265d41(0x2da)]=_0x28ad29,this['_httpService']=_0x1bd498,this['_univerInstanceService']=_0x278d30,this[_0x265d41(0x2f9)]=_0x43d203,this['_localeService']=_0xbdd09c,this[_0x265d41(0x37e)]());}[_0x3ae46d(0x37e)](){const _0x3ec2d1=_0x3ae46d;this[_0x3ec2d1(0x2b8)](this['_commandService'][_0x3ec2d1(0x2cc)]((_0x1b05aa,_0x2466eb)=>{const _0xf63612=_0x3ec2d1;var _0x22bbba;if(_0x1b05aa['id']!==_0x4ac72b[_0xf63612(0x16b)]['id'])return;const _0x1c36f6=_0x1b05aa[_0xf63612(0x398)];if(!this[_0xf63612(0x25c)]((_0x22bbba=_0x1c36f6[_0xf63612(0x23e)])!=null?_0x22bbba:[]))return;if(!this[_0xf63612(0x3a9)]())throw this[_0xf63612(0x3b0)](_0x1b05aa,_0x2466eb),this['_showGuardMessage'](),new _0xb5476b[(_0xf63612(0x179))]();})),this[_0x3ec2d1(0x2b8)](this[_0x3ec2d1(0x358)][_0x3ec2d1(0x3c0)]((_0x3ad0ab,_0x742b02)=>{const _0x29c3a5=_0x3ec2d1;if(_0x3ad0ab['id']!==_0x4ac72b[_0x29c3a5(0x188)]['id'])return;const _0x4f88a2=_0x3ad0ab['params'];if(_0x52b8f4(_0x4f88a2)){const _0x59c3b2=_0xb5476b[_0x29c3a5(0x33c)]();this[_0x29c3a5(0x226)]['push'](_0x59c3b2),this[_0x29c3a5(0x2f2)](_0x59c3b2);}else{if(_0x288d1d(_0x4f88a2)&&this[_0x29c3a5(0x226)][_0x29c3a5(0x16d)]>0x0){const _0x5015c3=this[_0x29c3a5(0x226)][_0x29c3a5(0x277)]();this['_releaseCalculationLimit'](_0x5015c3);}}}));}[_0x3ae46d(0x2e2)](){const _0xabdc12=_0x3ae46d;super[_0xabdc12(0x2e2)](),this[_0xabdc12(0x1fe)](),this[_0xabdc12(0x226)]=[],this[_0xabdc12(0x36e)]=0x0,this[_0xabdc12(0x17d)]=0x0,this['_lastResponseTimestamp']=0x0;}async['_checkAndWaitForCalculationPermission'](_0x441eb3,_0x3feafd){const _0x33fadf=_0x3ae46d;for(let _0x325552=0x0;_0x325552<0x1e;_0x325552++)try{if(await this[_0x33fadf(0x215)](),this[_0x33fadf(0x3a9)]()){this[_0x33fadf(0x19a)](_0x441eb3,_0x3feafd),this[_0x33fadf(0x164)][_0x33fadf(0x2be)]({'content':this['_localeService']['t']('formula.calculation.started'),'type':_0x12f095[_0x33fadf(0x3c7)]['Success']});return;}await new Promise(_0x1fdad0=>{this['_pollingInterval']=window['setTimeout'](_0x1fdad0,0x3e8);});}catch(_0x52b0d8){this[_0x33fadf(0x2f9)]['error'](_0x52b0d8);}this['_messageService']['show']({'content':this[_0x33fadf(0x404)]['t'](_0x33fadf(0x337)),'type':_0x12f095[_0x33fadf(0x3c7)][_0x33fadf(0x2d4)]});}[_0x3ae46d(0x19a)](_0x2670d4,_0x23e984){const _0x1dc96d=_0x3ae46d;try{this[_0x1dc96d(0x358)]['executeCommand'](_0x2670d4['id'],_0x2670d4[_0x1dc96d(0x398)],_0x23e984);}catch(_0x27fb81){this[_0x1dc96d(0x2f9)]['error'](_0x27fb81);}}[_0x3ae46d(0x209)](_0x3b986b,_0x42b937){const _0xffb2f6=_0x3ae46d;_0x42b937<this[_0xffb2f6(0x2f7)]||(this[_0xffb2f6(0x2f7)]=_0x42b937,this[_0xffb2f6(0x17d)]=Number[_0xffb2f6(0x3f9)](_0x3b986b[_0xffb2f6(0x193)]),this[_0xffb2f6(0x36e)]=Number[_0xffb2f6(0x3f9)](_0x3b986b[_0xffb2f6(0x18a)]));}async['_startCalculationLimit'](_0x467172){const _0x217178=_0x3ae46d;var _0x380339,_0x163c74;const _0x21e3c7=Date[_0x217178(0x1ae)]();try{const _0x26b4ed=((_0x380339=this['_configService'][_0x217178(0x1c6)](_0x5d78d3[_0x217178(0x2a6)]))==null?void 0x0:_0x380339['startFormulaLimitUrl'])||_0x50ee23,_0x585f11=(await this[_0x217178(0x2e1)][_0x217178(0x15e)](_0x26b4ed,{'body':JSON[_0x217178(0x242)]({'taskId':_0x467172})}))[_0x217178(0x1c0)];if(((_0x163c74=_0x585f11[_0x217178(0x3b2)])==null?void 0x0:_0x163c74[_0x217178(0x2c4)])!==_0x1bf02b['OK'])return;this[_0x217178(0x209)](_0x585f11[_0x217178(0x1cf)],_0x21e3c7);}catch(_0x591cc4){this[_0x217178(0x2f9)][_0x217178(0x3b2)](_0x591cc4);}}async[_0x3ae46d(0x215)](_0x3112b9){const _0x5e8251=_0x3ae46d;var _0x3591b3,_0x37e9d2;const _0x4e6b05=Date[_0x5e8251(0x1ae)]();try{const _0x24ecbc=((_0x3591b3=this[_0x5e8251(0x2da)][_0x5e8251(0x1c6)](_0x5d78d3[_0x5e8251(0x2a6)]))==null?void 0x0:_0x3591b3['getformulaLimitStatusUrl'])||_0xcef879,_0x4b2571=_0x3112b9?_0x24ecbc+_0x5e8251(0x292)+encodeURIComponent(_0x3112b9):_0x24ecbc,_0x2aa072=(await this[_0x5e8251(0x2e1)]['get'](_0x4b2571))[_0x5e8251(0x1c0)];if(((_0x37e9d2=_0x2aa072['error'])==null?void 0x0:_0x37e9d2[_0x5e8251(0x2c4)])!==_0x1bf02b['OK'])return;this[_0x5e8251(0x209)](_0x2aa072[_0x5e8251(0x1cf)],_0x4e6b05);}catch(_0x51fa2b){this[_0x5e8251(0x2f9)][_0x5e8251(0x3b2)](_0x51fa2b);}}async[_0x3ae46d(0x199)](_0xa71472){const _0x1c5268=_0x3ae46d;var _0x7d9e89,_0x6a8f1a;const _0x53cf9c=Date[_0x1c5268(0x1ae)]();try{const _0x391b5f=((_0x7d9e89=this[_0x1c5268(0x2da)][_0x1c5268(0x1c6)](_0x5d78d3[_0x1c5268(0x2a6)]))==null?void 0x0:_0x7d9e89[_0x1c5268(0x366)])||_0x234e2e,_0x1f8d37=(await this['_httpService'][_0x1c5268(0x15e)](_0x391b5f,{'body':JSON['stringify']({'taskId':_0xa71472})}))[_0x1c5268(0x1c0)];if(((_0x6a8f1a=_0x1f8d37[_0x1c5268(0x3b2)])==null?void 0x0:_0x6a8f1a['code'])!==_0x1bf02b['OK'])return;this[_0x1c5268(0x209)](_0x1f8d37[_0x1c5268(0x1cf)],_0x53cf9c);}catch(_0xff85a0){this['_logService'][_0x1c5268(0x3b2)](_0xff85a0);}}['_checkCalculationAvailable'](){const _0x392d10=_0x3ae46d;return this[_0x392d10(0x17d)]===0x0?!0x0:this[_0x392d10(0x17d)]-this[_0x392d10(0x36e)]>0x0;}[_0x3ae46d(0x1fe)](){const _0x412399=_0x3ae46d;this['_pollingInterval']&&(clearTimeout(this[_0x412399(0x20d)]),this[_0x412399(0x20d)]=null);}[_0x3ae46d(0x1f8)](){const _0x2edb31=_0x3ae46d;this[_0x2edb31(0x164)][_0x2edb31(0x2be)]({'content':this[_0x2edb31(0x404)]['t'](_0x2edb31(0x1c7)),'type':_0x12f095['MessageType']['Loading']});}[_0x3ae46d(0x25c)](_0x185d45){const _0x5ec470=_0x3ae46d;for(const _0x197628 of _0x185d45){const {unitId:_0x45329f,sheetId:_0x29a53c,range:_0x4a672a}=_0x197628,_0x2ab156=this[_0x5ec470(0x28f)]['getUnit'](_0x45329f);if(!_0x2ab156)continue;const _0x364cbf=_0x2ab156[_0x5ec470(0x34d)](_0x29a53c);if(!_0x364cbf)continue;const _0x4d19b1=_0x364cbf[_0x5ec470(0x1b7)]();for(let _0x1bed39=_0x4a672a[_0x5ec470(0x329)];_0x1bed39<=_0x4a672a[_0x5ec470(0x14e)];_0x1bed39++)for(let _0x9daab9=_0x4a672a['startColumn'];_0x9daab9<=_0x4a672a[_0x5ec470(0x192)];_0x9daab9++){const _0x56e4c4=_0x4d19b1['getValue'](_0x1bed39,_0x9daab9);if(_0x56e4c4&&(_0xb5476b[_0x5ec470(0x2bd)](_0x56e4c4['f'])||_0xb5476b[_0x5ec470(0x28d)](_0x56e4c4['si'])))return!0x0;}}return!0x1;}};_0x17c105=_0x108c9d([_0xd59b0b(0x0,_0xb5476b['Inject'](_0x5266fa[_0x3ae46d(0x3ba)])),_0xd59b0b(0x1,_0xb5476b['ICommandService']),_0xd59b0b(0x2,_0xb5476b[_0x3ae46d(0x22b)]),_0xd59b0b(0x3,_0xb5476b[_0x3ae46d(0x318)](_0x37af80[_0x3ae46d(0x240)])),_0xd59b0b(0x4,_0xb5476b[_0x3ae46d(0x206)]),_0xd59b0b(0x5,_0xb5476b[_0x3ae46d(0x234)]),_0xd59b0b(0x6,_0xb5476b[_0x3ae46d(0x318)](_0xb5476b[_0x3ae46d(0x262)]))],_0x17c105);var _0x2e3912=Object[_0x3ae46d(0x387)],_0xa63c11=(_0x19c957,_0x3ac294,_0x1fe443,_0x4b6b4b)=>{for(var _0x15a21e=_0x4b6b4b>0x1?void 0x0:_0x4b6b4b?_0x2e3912(_0x3ac294,_0x1fe443):_0x3ac294,_0x5a5ff9=_0x19c957['length']-0x1,_0x1f4c7c;_0x5a5ff9>=0x0;_0x5a5ff9--)(_0x1f4c7c=_0x19c957[_0x5a5ff9])&&(_0x15a21e=_0x1f4c7c(_0x15a21e)||_0x15a21e);return _0x15a21e;},_0xde3a2a=(_0x1570aa,_0x5606bb)=>(_0x1f13c8,_0x30724f)=>_0x5606bb(_0x1f13c8,_0x30724f,_0x1570aa);let _0x4bab18=class extends _0xb5476b[_0x3ae46d(0x1d6)]{constructor(_0x4396a8,_0x22ef63,_0x53a894){const _0x3e4497=_0x3ae46d;super(),_0x2a22ff(this,_0x3e4497(0x1bc),new Map()),_0x2a22ff(this,_0x3e4497(0x220),new Map()),_0x2a22ff(this,_0x3e4497(0x248),!0x1),(this[_0x3e4497(0x2da)]=_0x4396a8,this[_0x3e4497(0x38c)]=_0x22ef63,this[_0x3e4497(0x1f9)]=_0x53a894);}[_0x3ae46d(0x3e3)](){const _0x1b3dc8=_0x3ae46d;this[_0x1b3dc8(0x248)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get['saveTaskMap'](){const _0x3e3370=_0x3ae46d;return this[_0x3e3370(0x220)];}[_0x3ae46d(0x2e2)](){const _0xcbf865=_0x3ae46d;this['exhaustSavingTask']()[_0xcbf865(0x405)](()=>super[_0xcbf865(0x2e2)]());}async['loadOfflineData'](_0x343d31){const _0x5ebcf2=_0x3ae46d;return this[_0x5ebcf2(0x248)]?null:this[_0x5ebcf2(0x38c)][_0x5ebcf2(0x3ec)](_0x5d78d3[_0x5ebcf2(0x37d)](_0x343d31));}async['saveOfflineData'](_0xa84f47,_0x3c7b55){const _0x3a7976=_0x3ae46d;return!!this['_localStorageService'][_0x3a7976(0x32e)](_0xa84f47,_0x3c7b55);}['updateOfflineData'](_0x56779a,_0x6d6ebb,_0x1474c3,_0x28c230){const _0x3f6e57=_0x3ae46d,_0x31fb87=this['_revisionService'][_0x3f6e57(0x227)](_0x56779a);this[_0x3f6e57(0x1bc)]['set'](_0x56779a,{'unitID':_0x56779a,'type':_0x6d6ebb,'awaitingChangeset':_0x1474c3,'mutations':_0x28c230,'rev':_0x31fb87}),this['_saveTaskMap'][_0x3f6e57(0x151)](_0x56779a)||this[_0x3f6e57(0x133)](_0x56779a);}[_0x3ae46d(0x133)](_0x12d4f2){const _0xa23a2c=_0x3ae46d,_0xc619d4=this[_0xa23a2c(0x25b)]();_0xc619d4===0x0?this['_saveCache'](_0x12d4f2):this[_0xa23a2c(0x220)]['set'](_0x12d4f2,setTimeout(()=>this[_0xa23a2c(0x14f)](_0x12d4f2),_0xc619d4));}[_0x3ae46d(0x25b)](){const _0x39537d=_0x3ae46d;var _0x16db71;return(_0x16db71=this[_0x39537d(0x2da)][_0x39537d(0x1c6)](_0x5d78d3['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x16db71:_0x5d78d3['LOCAL_CACHE_INTERVAL'];}[_0x3ae46d(0x14f)](_0x4114b4){const _0x3fcda0=_0x3ae46d,_0x2b8791=this[_0x3fcda0(0x220)][_0x3fcda0(0x218)](_0x4114b4);return _0x2b8791!==void 0x0&&window[_0x3fcda0(0x1c2)](_0x2b8791),this[_0x3fcda0(0x38c)][_0x3fcda0(0x32e)](_0x5d78d3['getLocalCacheKey'](_0x4114b4),this[_0x3fcda0(0x1bc)][_0x3fcda0(0x218)](_0x4114b4))['then'](()=>this[_0x3fcda0(0x220)][_0x3fcda0(0x145)](_0x4114b4));}async['exhaustSavingTask'](){const _0x4fc459=_0x3ae46d,_0x399818=[];this[_0x4fc459(0x220)][_0x4fc459(0x30f)]((_0x1b280b,_0x2711db)=>{const _0x4f3613=_0x4fc459;window[_0x4f3613(0x1c2)](_0x1b280b),_0x399818[_0x4f3613(0x284)](this[_0x4f3613(0x14f)](_0x2711db)[_0x4f3613(0x405)](()=>{const _0x590053=_0x4f3613;this['_saveTaskMap'][_0x590053(0x145)](_0x2711db);}));}),await Promise['all'](_0x399818);}};_0x4bab18=_0xa63c11([_0xde3a2a(0x0,_0xb5476b[_0x3ae46d(0x22b)]),_0xde3a2a(0x1,_0xb5476b[_0x3ae46d(0x2e8)]),_0xde3a2a(0x2,_0xb5476b[_0x3ae46d(0x318)](_0x486998[_0x3ae46d(0x3d2)]))],_0x4bab18);class _0x91be55 extends _0xb5476b[_0x3ae46d(0x1e8)]{constructor(){const _0x108a78=_0x3ae46d;super(),_0x2a22ff(this,_0x108a78(0x157)),this[_0x108a78(0x157)]=_0x3d2c80[_0x108a78(0x306)](window,_0x108a78(0x3f4))[_0x108a78(0x181)](_0x3d2c80[_0x108a78(0x346)](this[_0x108a78(0x2c8)]),_0x3d2c80[_0x108a78(0x383)](0x1),_0x3d2c80[_0x108a78(0x1e1)](void 0x0));}[_0x3ae46d(0x22f)](_0x104d25,_0x266aa4,_0x5c4465=!0x1){const _0x5581a8=_0x3ae46d,_0x1ae2d7=new URL(window[_0x5581a8(0x31e)][_0x5581a8(0x170)]);_0x1ae2d7['searchParams'][_0x5581a8(0x307)](_0x104d25,_0x266aa4),_0x5c4465?window[_0x5581a8(0x299)][_0x5581a8(0x39a)]('','',_0x1ae2d7['toString']()):window[_0x5581a8(0x299)][_0x5581a8(0x3f2)]('','',_0x1ae2d7[_0x5581a8(0x1e9)]());}[_0x3ae46d(0x263)](_0x48c99b,_0x42e03a=!0x1){const _0x237684=_0x3ae46d,_0xeabcf7=new URL(window[_0x237684(0x31e)][_0x237684(0x170)]);_0xeabcf7[_0x237684(0x212)][_0x237684(0x145)](_0x48c99b),_0x42e03a?window[_0x237684(0x299)]['replaceState']('','',_0xeabcf7[_0x237684(0x1e9)]()):window['history'][_0x237684(0x3f2)]('','',_0xeabcf7[_0x237684(0x1e9)]());}['getParam'](_0x24c36d){const _0x50351b=_0x3ae46d;var _0x36c2b6;return(_0x36c2b6=new URL(window[_0x50351b(0x31e)][_0x50351b(0x170)])[_0x50351b(0x212)][_0x50351b(0x218)](_0x24c36d))!=null?_0x36c2b6:void 0x0;}}var _0x4ec683=Object[_0x3ae46d(0x28e)],_0x2606bc=Object[_0x3ae46d(0x387)],_0x47e03d=(_0x86a1a9,_0x3b01b9,_0x3bc217)=>_0x3b01b9 in _0x86a1a9?_0x4ec683(_0x86a1a9,_0x3b01b9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3bc217}):_0x86a1a9[_0x3b01b9]=_0x3bc217,_0x2d978d=(_0x3b665c,_0x3b7cce,_0x2dd378,_0x606779)=>{const _0x5bf70d=_0x3ae46d;for(var _0x3df171=_0x606779>0x1?void 0x0:_0x606779?_0x2606bc(_0x3b7cce,_0x2dd378):_0x3b7cce,_0x2248b3=_0x3b665c[_0x5bf70d(0x16d)]-0x1,_0x4f2b91;_0x2248b3>=0x0;_0x2248b3--)(_0x4f2b91=_0x3b665c[_0x2248b3])&&(_0x3df171=_0x4f2b91(_0x3df171)||_0x3df171);return _0x3df171;},_0x30e6fc=(_0x2e0be1,_0xd6325c)=>(_0x25a356,_0x2d81ed)=>_0xd6325c(_0x25a356,_0x2d81ed,_0x2e0be1),_0x49797f=(_0x4be4bd,_0x557a97,_0x1c48af)=>_0x47e03d(_0x4be4bd,_0x557a97+'',_0x1c48af);const _0x37403b=_0x3ae46d(0x168);_0x65ef88[_0x3ae46d(0x30c)]=class extends _0xb5476b[_0x3ae46d(0x3cb)]{constructor(_0x476a76=_0x3ca380,_0x2706c3,_0x4cb72c,_0x246964){const _0x16c7ea=_0x3ae46d;super(),this[_0x16c7ea(0x1ff)]=_0x476a76,this['_renderManagerService']=_0x2706c3,this['_injector']=_0x4cb72c,this['_configService']=_0x246964;const {..._0x1c1c98}=_0xb5476b[_0x16c7ea(0x3e8)]({},_0x3ca380,this[_0x16c7ea(0x1ff)]);this[_0x16c7ea(0x2da)][_0x16c7ea(0x139)](_0x9e3cd6,_0x1c1c98);}[_0x3ae46d(0x384)](){const _0x3965e1=_0x3ae46d;this[_0x3965e1(0x2ed)](),this[_0x3965e1(0x149)]();}[_0x3ae46d(0x3ee)](){const _0x4aa2f0=_0x3ae46d;this[_0x4aa2f0(0x175)]();}[_0x3ae46d(0x2ed)](){const _0x474aa1=_0x3ae46d;var _0x346b02;const _0x1b560b=[[_0x428a9d],[_0x17c105],[_0x2bca12],[_0x273126],[_0x8d3bf4],[_0x837920],[_0x49d5ac,{'useClass':_0x91be55}],[_0x37af80[_0x474aa1(0x166)],{'useClass':_0x37af80['WebSocketService']}],[_0x5d78d3[_0x474aa1(0x2a9)],{'useClass':_0x4bab18}],[_0x65ef88[_0x474aa1(0x131)]],[_0x418614],[_0x45b2ec],[_0x64d40b],[_0x2c3d83],[_0x65ef88[_0x474aa1(0x2b4)]]];this[_0x474aa1(0x1ff)]['enableFrontendLog']&&_0x1b560b[_0x474aa1(0x284)]([_0x31de8a]),_0xb5476b[_0x474aa1(0x275)](this[_0x474aa1(0x3dd)],_0xb5476b[_0x474aa1(0x32a)](_0x1b560b,(_0x346b02=this[_0x474aa1(0x1ff)])==null?void 0x0:_0x346b02[_0x474aa1(0x2c9)]));}['_registerRenderDependencies'](){const _0x27850a=_0x3ae46d;this[_0x27850a(0x2b8)](this[_0x27850a(0x3e0)][_0x27850a(0x324)](_0xb5476b[_0x27850a(0x2d6)][_0x27850a(0x31c)],[_0x5a3b69])),this['disposeWithMe'](this['_renderManagerService'][_0x27850a(0x324)](_0xb5476b[_0x27850a(0x2d6)][_0x27850a(0x257)],[_0x55e520]));}[_0x3ae46d(0x149)](){const _0x4b279c=_0x3ae46d;_0xb5476b[_0x4b279c(0x1f2)](this['_injector'],[[_0x64d40b],[_0x65ef88[_0x4b279c(0x131)]],[_0x418614],[_0x45b2ec],[_0x65ef88[_0x4b279c(0x2b4)]],[_0x17c105]]),this[_0x4b279c(0x1ff)]['enableFrontendLog']&&_0xb5476b[_0x4b279c(0x1f2)](this[_0x4b279c(0x3dd)],[[_0x31de8a]]);}},_0x49797f(_0x65ef88['UniverCollaborationClientUIPlugin'],'pluginName',_0x37403b),_0x65ef88[_0x3ae46d(0x30c)]=_0x2d978d([_0xb5476b[_0x3ae46d(0x207)](_0x5d78d3[_0x3ae46d(0x3de)]),_0x30e6fc(0x1,_0x332666[_0x3ae46d(0x2fb)]),_0x30e6fc(0x2,_0xb5476b['Inject'](_0xb5476b[_0x3ae46d(0x184)])),_0x30e6fc(0x3,_0xb5476b[_0x3ae46d(0x22b)])],_0x65ef88[_0x3ae46d(0x30c)]);var _0x46b58f=Object[_0x3ae46d(0x387)],_0x6850ba=(_0xb71bb3,_0x2d7def,_0x3f639e,_0x3ca3cd)=>{const _0x1539ae=_0x3ae46d;for(var _0x43ab14=_0x3ca3cd>0x1?void 0x0:_0x3ca3cd?_0x46b58f(_0x2d7def,_0x3f639e):_0x2d7def,_0x3c21d3=_0xb71bb3[_0x1539ae(0x16d)]-0x1,_0x2196d1;_0x3c21d3>=0x0;_0x3c21d3--)(_0x2196d1=_0xb71bb3[_0x3c21d3])&&(_0x43ab14=_0x2196d1(_0x43ab14)||_0x43ab14);return _0x43ab14;},_0x23e037=(_0x2aef60,_0x4accb2)=>(_0xc0d6cb,_0x5e2630)=>_0x4accb2(_0xc0d6cb,_0x5e2630,_0x2aef60);_0x65ef88[_0x3ae46d(0x2de)]=class extends _0x5d78d3['CollaborationSocketService']{constructor(_0xa2e158,_0x312a3d,_0x4d1074,_0x3d70c0,_0x33b055){super(_0xa2e158,_0x312a3d,_0x4d1074,_0x3d70c0,_0x33b055);}async[_0x3ae46d(0x34a)](_0x5a7a1d){const _0x104c2f=_0x3ae46d,_0x40f645=await this[_0x104c2f(0x144)](),_0x36c339=this['_createSocketURL'](_0x5a7a1d,_0x40f645);return this[_0x104c2f(0x239)](_0x36c339);}['_createSocketURL'](_0x45132e,_0x5a41f0){const _0x3da2d7=_0x3ae46d,_0x4fdb11=typeof window>'u'?new URL(_0x45132e):new URL(_0x45132e,window[_0x3da2d7(0x31e)][_0x3da2d7(0x274)]);_0x4fdb11[_0x3da2d7(0x212)][_0x3da2d7(0x307)]('sessionTicket',_0x5a41f0);const _0x44fd59=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3da2d7(0x31e)][_0x3da2d7(0x195)]);return _0x44fd59['get'](_0x3da2d7(0x331))&&_0x4fdb11[_0x3da2d7(0x212)][_0x3da2d7(0x307)](_0x3da2d7(0x331),_0x44fd59[_0x3da2d7(0x218)](_0x3da2d7(0x331))),_0x4fdb11['toString']();}async[_0x3ae46d(0x144)](){const _0x514ef3=_0x3ae46d;var _0x49319a,_0x498b2e,_0x222144;const _0x405daf=this['_configService'][_0x514ef3(0x1c6)](_0x5d78d3[_0x514ef3(0x2a6)]),_0x5038ae=(_0x49319a=_0x405daf==null?void 0x0:_0x405daf[_0x514ef3(0x40f)])!=null?_0x49319a:_0x5d78d3['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x222144=(_0x498b2e=(await this['_httpService'][_0x514ef3(0x218)](_0x5038ae,{'headers':{'Content-Type':_0x514ef3(0x3f8)}}))['body'])==null?void 0x0:_0x498b2e[_0x514ef3(0x2f8)])!=null?_0x222144:'';}},_0x65ef88[_0x3ae46d(0x2de)]=_0x6850ba([_0x23e037(0x0,_0xb5476b[_0x3ae46d(0x318)](_0xb5476b[_0x3ae46d(0x184)])),_0x23e037(0x1,_0xb5476b['Inject'](_0x37af80[_0x3ae46d(0x240)])),_0x23e037(0x2,_0xb5476b[_0x3ae46d(0x22b)]),_0x23e037(0x3,_0xb5476b[_0x3ae46d(0x234)]),_0x23e037(0x4,_0x486998[_0x3ae46d(0x3fd)])],_0x65ef88[_0x3ae46d(0x2de)]);var _0x2f83bf=Object[_0x3ae46d(0x387)],_0x482eaf=(_0x21725e,_0x28a1b4,_0x3132ec,_0x647b46)=>{const _0x478d12=_0x3ae46d;for(var _0x3aab20=_0x647b46>0x1?void 0x0:_0x647b46?_0x2f83bf(_0x28a1b4,_0x3132ec):_0x28a1b4,_0x4e11af=_0x21725e[_0x478d12(0x16d)]-0x1,_0x5455b9;_0x4e11af>=0x0;_0x4e11af--)(_0x5455b9=_0x21725e[_0x4e11af])&&(_0x3aab20=_0x5455b9(_0x3aab20)||_0x3aab20);return _0x3aab20;},_0x3271bf=(_0x3141ab,_0x1dc459)=>(_0x4bd5ad,_0x2a33c1)=>_0x1dc459(_0x4bd5ad,_0x2a33c1,_0x3141ab);_0x65ef88[_0x3ae46d(0x251)]=class extends _0xb5476b['Disposable']{constructor(_0x5717b4,_0x3d33b0,_0x1437ff){const _0xc18a27=_0x3ae46d;super(),this[_0xc18a27(0x2d5)]=_0x5717b4,this['_httpService']=_0x3d33b0,this[_0xc18a27(0x2da)]=_0x1437ff;}async['runOnServer'](_0x3a4edd,_0x2b30c2,_0x23b130,..._0x1e0e0){const _0x2b891a=_0x3ae46d;var _0x371556,_0x39b105,_0x139ca9,_0x22f28a;const _0x1ddb5a=this[_0x2b891a(0x2d5)][_0x2b891a(0x3f0)]();if(!_0x1ddb5a)throw new Error(_0x2b891a(0x16e));const _0x4d869c=((_0x371556=this[_0x2b891a(0x2da)]['getConfig'](_0x5d78d3[_0x2b891a(0x1b1)]))!=null?_0x371556:_0x5d78d3[_0x2b891a(0x399)])+'/'+_0x3a4edd+_0x2b891a(0x291)+_0x2b30c2,_0x5b6f6f=new URL(window[_0x2b891a(0x31e)][_0x2b891a(0x170)]),_0x4c2cdd={'scriptId':_0x3a4edd,'runId':(_0x39b105=_0x5b6f6f['searchParams']['get'](_0x2b891a(0x331)))!=null?_0x39b105:'','function':_0x2b30c2,'unitId':_0x1ddb5a[_0x2b891a(0x142)](),'argsOfFunction':JSON[_0x2b891a(0x242)](_0x1e0e0),'invokeId':(_0x139ca9=_0x23b130['invokeId'])!=null?_0x139ca9:'','executionId':(_0x22f28a=_0x23b130[_0x2b891a(0x189)])!=null?_0x22f28a:''};try{const _0x335394=await this[_0x2b891a(0x2e1)]['post'](_0x4d869c,{'body':_0x4c2cdd});return _0x335394[_0x2b891a(0x1c0)][_0x2b891a(0x3b2)]&&_0x335394['body']['error']['code']!==_0x1bf02b['OK']?_0x2b891a(0x406):_0x335394[_0x2b891a(0x1c0)][_0x2b891a(0x391)];}catch{return _0x2b891a(0x406);}}},_0x65ef88['RemoteUniscriptService']=_0x482eaf([_0x3271bf(0x0,_0xb5476b[_0x3ae46d(0x206)]),_0x3271bf(0x1,_0xb5476b[_0x3ae46d(0x318)](_0x37af80[_0x3ae46d(0x240)])),_0x3271bf(0x2,_0xb5476b['IConfigService'])],_0x65ef88['RemoteUniscriptService']);const _0x9c7ef0=0x7530,_0x451997=_0x3ae46d(0x3c9);class _0x82632a extends _0xb5476b[_0x3ae46d(0x1d6)]{constructor(){const _0xe3f5e0=_0x3ae46d;super(),_0x2a22ff(this,_0xe3f5e0(0x1f5),_0xb5476b[_0xe3f5e0(0x33c)]()),_0x2a22ff(this,_0xe3f5e0(0x2a3),new Set()),_0x2a22ff(this,_0xe3f5e0(0x1dc),new Map()),_0x2a22ff(this,'_heartbeatTimer',null),_0x2a22ff(this,'_clearOtherTimers',new Map()),_0x2a22ff(this,_0xe3f5e0(0x3d8),new Map()),this[_0xe3f5e0(0x266)]();}[_0x3ae46d(0x2e2)](){const _0x297852=_0x3ae46d;super[_0x297852(0x2e2)](),this[_0x297852(0x365)][_0x297852(0x30f)]((_0x2bc524,_0x502b5d)=>this[_0x297852(0x194)](_0x502b5d)),this['_heartbeatTimer']&&window[_0x297852(0x1fa)](this[_0x297852(0x17a)]);}[_0x3ae46d(0x204)](_0xd49f3a){const _0x30a814=_0x3ae46d;return this[_0x30a814(0x23c)](_0xd49f3a)[_0x30a814(0x181)](_0x3d2c80['distinctUntilChanged']());}[_0x3ae46d(0x2f0)](_0x5de75b){const _0x524f6f=_0x3ae46d;this['_selfUnitIDs'][_0x524f6f(0x270)]===0x0&&this['_scheduleHeartbeat'](),this[_0x524f6f(0x2a3)][_0x524f6f(0x1da)](_0x5de75b),this[_0x524f6f(0x392)]({'type':0x0,'memberID':this[_0x524f6f(0x1f5)],'unitIDs':[_0x5de75b],'isForwarded':!0x1});}['disposeUnit'](_0x3637eb){const _0x17ddc0=_0x3ae46d;this['_selfUnitIDs'][_0x17ddc0(0x145)](_0x3637eb),this['_selfUnitIDs'][_0x17ddc0(0x270)]===0x0&&this[_0x17ddc0(0x17a)]&&window[_0x17ddc0(0x1fa)](this['_heartbeatTimer']);}['_init'](){const _0xd2a0e3=_0x3ae46d;this[_0xd2a0e3(0x2b8)](_0xb5476b[_0xd2a0e3(0x347)](_0x3d2c80[_0xd2a0e3(0x306)](window,'storage')[_0xd2a0e3(0x338)](_0x5d6715=>{const _0x4f301e=_0xd2a0e3;if(_0x5d6715['key']!==_0x451997||!_0x5d6715[_0x4f301e(0x231)])return;const _0x30ca81=JSON[_0x4f301e(0x38a)](_0x5d6715['newValue']);this[_0x4f301e(0x310)](_0x30ca81);}))),window[_0xd2a0e3(0x2a7)]('unload',()=>this[_0xd2a0e3(0x392)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0xd2a0e3(0x2dd)](this['_selfUnitIDs'])}));}['_handleEvent'](_0x1a4d98){const _0x7d9c5e=_0x3ae46d;switch(_0x1a4d98[_0x7d9c5e(0x3f7)]){case 0x0:this['_handleJoinEvent'](_0x1a4d98);break;case 0x1:this['_handleLeaveEvent'](_0x1a4d98);break;case 0x2:this['_handleHeartbeatEvent'](_0x1a4d98);break;}}[_0x3ae46d(0x158)](_0x3fffe1){const _0x116bca=_0x3ae46d,{unitIDs:_0x46bdd6,memberID:_0x53f99d,isForwarded:_0x5019f9}=_0x3fffe1;_0x46bdd6[_0x116bca(0x30f)](_0x5ad70d=>{const _0xa57bf0=_0x116bca;if(!_0x5019f9&&this[_0xa57bf0(0x1dc)][_0xa57bf0(0x151)](_0x5ad70d)&&this[_0xa57bf0(0x23c)](_0x5ad70d)['next'](_0x5d78d3[_0xa57bf0(0x14c)][_0xa57bf0(0x2dc)]),!this['_unitOnClients'][_0xa57bf0(0x151)](_0x5ad70d)||!this[_0xa57bf0(0x1dc)]['get'](_0x5ad70d)[_0xa57bf0(0x151)](_0x53f99d)){const _0x5254e4=this['_unitOnClients'][_0xa57bf0(0x218)](_0x5ad70d)||new Set();_0x5254e4['add'](_0x53f99d),this[_0xa57bf0(0x1dc)][_0xa57bf0(0x307)](_0x5ad70d,_0x5254e4),this[_0xa57bf0(0x363)](_0x53f99d);}}),_0x5019f9||this['_send']({'type':0x0,'memberID':this[_0x116bca(0x1f5)],'unitIDs':[...this[_0x116bca(0x2a3)]],'isForwarded':!0x0});}[_0x3ae46d(0x363)](_0x3c5678){const _0x2d0e85=_0x3ae46d;this['_removeClearOtherTimer'](_0x3c5678);const _0x1e5ed4=window['setTimeout'](()=>{const _0x7f50cb=_0x3d4d;this[_0x7f50cb(0x1dc)][_0x7f50cb(0x30f)](_0x395e1a=>{_0x395e1a['delete'](_0x3c5678);});},_0x9c7ef0*0x2);this[_0x2d0e85(0x365)][_0x2d0e85(0x307)](_0x3c5678,_0x1e5ed4);}[_0x3ae46d(0x194)](_0xcb53ba){const _0xcac538=_0x3ae46d;if(this[_0xcac538(0x365)]['has'](_0xcb53ba)){const _0x5ae886=this[_0xcac538(0x365)][_0xcac538(0x218)](_0xcb53ba);_0x5ae886&&window['clearTimeout'](_0x5ae886),this[_0xcac538(0x365)][_0xcac538(0x307)](_0xcb53ba,null);}}[_0x3ae46d(0x1d3)](_0x286134){const _0x312bd7=_0x3ae46d,{memberID:_0x127607,unitIDs:_0xdf7006}=_0x286134;_0xdf7006[_0x312bd7(0x30f)](_0x233c6a=>{const _0xdeabdf=_0x312bd7;var _0x2846ef;const _0x5bccef=this[_0xdeabdf(0x1dc)]['get'](_0x233c6a);_0x5bccef&&(_0x5bccef[_0xdeabdf(0x145)](_0x127607),(_0x2846ef=this[_0xdeabdf(0x23c)](_0x233c6a))==null||_0x2846ef[_0xdeabdf(0x20b)](_0x5bccef[_0xdeabdf(0x270)]===0x0?_0x5d78d3['UnitStatus'][_0xdeabdf(0x32c)]:_0x5d78d3[_0xdeabdf(0x14c)][_0xdeabdf(0x2dc)]));}),this[_0x312bd7(0x194)](_0x127607);}['_handleHeartbeatEvent'](_0x2ebc1d){const _0x591589=_0x3ae46d;this['_scheduleClearOtherTimer'](_0x2ebc1d[_0x591589(0x13f)]);}[_0x3ae46d(0x392)](_0x569153){const _0xca203=_0x3ae46d;localStorage[_0xca203(0x32e)](_0x451997,JSON[_0xca203(0x242)](_0x569153));}[_0x3ae46d(0x180)](){const _0x38373a=_0x3ae46d;this[_0x38373a(0x17a)]=window[_0x38373a(0x3aa)](()=>{const _0x240024=_0x38373a;this[_0x240024(0x392)]({'type':0x2,'memberID':this['_id']});},_0x9c7ef0);}[_0x3ae46d(0x23c)](_0x4b9943){const _0x4bacac=_0x3ae46d;return this[_0x4bacac(0x3d8)][_0x4bacac(0x151)](_0x4b9943)||this[_0x4bacac(0x3d8)]['set'](_0x4b9943,new _0x3d2c80[(_0x4bacac(0x1de))](_0x5d78d3[_0x4bacac(0x14c)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x4bacac(0x3d8)][_0x4bacac(0x218)](_0x4b9943);}}_0x65ef88[_0x3ae46d(0x2a8)]=_0x49d5ac,_0x65ef88['SheetCollabCursorShape']=_0x1e720b,_0x65ef88['WebBrowserSingleActiveUnitService']=_0x82632a,_0x65ef88[_0x3ae46d(0x28b)]=_0x91be55,Object[_0x3ae46d(0x28e)](_0x65ef88,Symbol['toStringTag'],{'value':_0x3ae46d(0x377)});}));
1
+ function _0x1599(_0x370940,_0x42b24d){_0x370940=_0x370940-0x86;const _0x3f7c69=_0x3f7c();let _0x15993d=_0x3f7c69[_0x370940];return _0x15993d;}(function(_0x2f700f,_0x5599af){const _0x50980f=_0x1599,_0x48dfc8=_0x2f700f();while(!![]){try{const _0x1dbbea=parseInt(_0x50980f(0xf4))/0x1*(parseInt(_0x50980f(0x1dd))/0x2)+parseInt(_0x50980f(0x103))/0x3*(-parseInt(_0x50980f(0x2fe))/0x4)+parseInt(_0x50980f(0x2e8))/0x5*(-parseInt(_0x50980f(0x150))/0x6)+parseInt(_0x50980f(0x2d1))/0x7+-parseInt(_0x50980f(0x2d0))/0x8+-parseInt(_0x50980f(0x376))/0x9+parseInt(_0x50980f(0xa5))/0xa;if(_0x1dbbea===_0x5599af)break;else _0x48dfc8['push'](_0x48dfc8['shift']());}catch(_0x5629c5){_0x48dfc8['push'](_0x48dfc8['shift']());}}}(_0x3f7c,0x9f523),function(_0x5d00d1,_0x2b515c){const _0x5e8ee7=_0x1599;typeof exports==_0x5e8ee7(0x2e6)&&typeof module<'u'?_0x2b515c(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==_0x5e8ee7(0xe4)&&define[_0x5e8ee7(0x118)]?define(['exports',_0x5e8ee7(0xeb),_0x5e8ee7(0x2e3),_0x5e8ee7(0x34f),'@univerjs/ui','rxjs',_0x5e8ee7(0x15f),'react',_0x5e8ee7(0x203),_0x5e8ee7(0x29b),_0x5e8ee7(0x309),_0x5e8ee7(0x1be),_0x5e8ee7(0x1c1),_0x5e8ee7(0x369),_0x5e8ee7(0x1e1),'@univerjs/docs',_0x5e8ee7(0x1b3),_0x5e8ee7(0x18b),_0x5e8ee7(0xa0)],_0x2b515c):(_0x5d00d1=typeof globalThis<'u'?globalThis:_0x5d00d1||self,_0x2b515c(_0x5d00d1[_0x5e8ee7(0x2bc)]={},_0x5d00d1[_0x5e8ee7(0x37d)],_0x5d00d1[_0x5e8ee7(0x30a)],_0x5d00d1['UniverCore'],_0x5d00d1[_0x5e8ee7(0x26a)],_0x5d00d1[_0x5e8ee7(0xa1)],_0x5d00d1['UniverDesign'],_0x5d00d1['React'],_0x5d00d1[_0x5e8ee7(0x16a)],_0x5d00d1[_0x5e8ee7(0x1ab)],_0x5d00d1['UniverEngineRender'],_0x5d00d1[_0x5e8ee7(0x1b7)],_0x5d00d1[_0x5e8ee7(0x1ea)],_0x5d00d1[_0x5e8ee7(0x24e)],_0x5d00d1[_0x5e8ee7(0xad)],_0x5d00d1[_0x5e8ee7(0x264)],_0x5d00d1[_0x5e8ee7(0x27d)],_0x5d00d1['rxjs'][_0x5e8ee7(0x1a1)],_0x5d00d1[_0x5e8ee7(0x1de)]));}(this,function(_0x94c2a0,_0x3fba3f,_0xe836dc,_0x1acd3c,_0x3d1085,_0x52b4d8,_0x31b7ea,_0x5b1fa1,_0x501fab,_0x17a17c,_0x4dbd74,_0x26a7c0,_0x4a5890,_0x12a509,_0x1d9a86,_0x3e8285,_0x5dc12e,_0x20b870,_0x3f878d){'use strict';const _0x35dcc5=_0x1599;var _0x35d869=Object[_0x35dcc5(0x2a2)],_0x27024f=(_0x35c307,_0x5b958f,_0x43e919)=>_0x5b958f in _0x35c307?_0x35d869(_0x35c307,_0x5b958f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x43e919}):_0x35c307[_0x5b958f]=_0x43e919,_0x504098=(_0x2fef61,_0x57dde8,_0x294c1e)=>_0x27024f(_0x2fef61,typeof _0x57dde8!=_0x35dcc5(0x110)?_0x57dde8+'':_0x57dde8,_0x294c1e);function _0x211bfc({ref:_0x497037,..._0x349e01}){const _0x4bec32=_0x35dcc5,{icon:_0xbd9079,id:_0x32dd70,className:_0x419ace,extend:_0x26b4c3,..._0x1ce8c3}=_0x349e01,_0x39628f=(_0x4bec32(0x370)+_0x32dd70+'\x20'+(_0x419ace||''))[_0x4bec32(0x1a8)](),_0x1c616f=_0x5b1fa1[_0x4bec32(0x1f4)]('_'+_0x40ff15());return _0x48ce0e(_0xbd9079,''+_0x32dd70,{'defIds':_0xbd9079[_0x4bec32(0x267)],'idSuffix':_0x1c616f[_0x4bec32(0x87)]},{'ref':_0x497037,'className':_0x39628f,..._0x1ce8c3},_0x26b4c3);}function _0x48ce0e(_0x31cf98,_0x20f0e6,_0x50438e,_0x40d5a7,_0x43b4da){const _0x3dcc08=_0x35dcc5;return _0x5b1fa1[_0x3dcc08(0x32a)](_0x31cf98[_0x3dcc08(0x254)],{'key':_0x20f0e6,..._0x12c8ba(_0x31cf98,_0x50438e,_0x43b4da),..._0x40d5a7},(_0x40f2e0(_0x31cf98,_0x50438e)['children']||[])[_0x3dcc08(0x365)]((_0x30ca94,_0x56047b)=>_0x48ce0e(_0x30ca94,_0x20f0e6+'-'+_0x31cf98[_0x3dcc08(0x254)]+'-'+_0x56047b,_0x50438e,void 0x0,_0x43b4da)));}function _0x12c8ba(_0x104b99,_0x2bc63d,_0x8a1bcd){const _0x2dde7d=_0x35dcc5,_0x2a4799={..._0x104b99[_0x2dde7d(0x319)]};_0x8a1bcd!=null&&_0x8a1bcd[_0x2dde7d(0x252)]&&_0x2a4799[_0x2dde7d(0x1cf)]===_0x2dde7d(0x252)&&(_0x2a4799[_0x2dde7d(0x1cf)]=_0x8a1bcd['colorChannel1']),_0x104b99[_0x2dde7d(0x254)]===_0x2dde7d(0x15a)&&_0x2a4799['id']&&(_0x2a4799['id']=_0x2a4799['id']+_0x2bc63d[_0x2dde7d(0x1bf)]),Object[_0x2dde7d(0x32b)](_0x2a4799)[_0x2dde7d(0x9a)](([_0x5bd208,_0x5bf351])=>{const _0x51dde4=_0x2dde7d;_0x5bd208===_0x51dde4(0x15a)&&typeof _0x5bf351==_0x51dde4(0xc1)&&(_0x2a4799[_0x5bd208]=_0x5bf351[_0x51dde4(0x2d6)](/url\(#(.*)\)/,_0x51dde4(0x170)+_0x2bc63d[_0x51dde4(0x1bf)]+')'));});const {defIds:_0x3ddcf3}=_0x2bc63d;return!_0x3ddcf3||_0x3ddcf3['length']===0x0||(_0x104b99[_0x2dde7d(0x254)]==='use'&&_0x2a4799[_0x2dde7d(0x2a1)]&&(_0x2a4799[_0x2dde7d(0x2a1)]=_0x2a4799[_0x2dde7d(0x2a1)]+_0x2bc63d[_0x2dde7d(0x1bf)]),Object[_0x2dde7d(0x32b)](_0x2a4799)[_0x2dde7d(0x9a)](([_0x304797,_0x111637])=>{const _0x4a5b2d=_0x2dde7d;typeof _0x111637=='string'&&(_0x2a4799[_0x304797]=_0x111637[_0x4a5b2d(0x2d6)](/url\(#(.*)\)/,'url(#$1'+_0x2bc63d['idSuffix']+')'));})),_0x2a4799;}function _0x40f2e0(_0x59e1ca,_0x12faff){const _0x40e271=_0x35dcc5;var _0x39ed88;const {defIds:_0x4d7209}=_0x12faff;return!_0x4d7209||_0x4d7209[_0x40e271(0x36b)]===0x0?_0x59e1ca:_0x59e1ca[_0x40e271(0x254)]===_0x40e271(0x194)&&((_0x39ed88=_0x59e1ca[_0x40e271(0x186)])!=null&&_0x39ed88[_0x40e271(0x36b)])?{..._0x59e1ca,'children':_0x59e1ca[_0x40e271(0x186)]['map'](_0x153e52=>typeof _0x153e52['attrs']['id']==_0x40e271(0xc1)&&_0x4d7209&&_0x4d7209[_0x40e271(0x34d)](_0x153e52[_0x40e271(0x319)]['id'])?{..._0x153e52,'attrs':{..._0x153e52[_0x40e271(0x319)],'id':_0x153e52[_0x40e271(0x319)]['id']+_0x12faff[_0x40e271(0x1bf)]}}:_0x153e52)}:_0x59e1ca;}function _0x40ff15(){const _0x84c2be=_0x35dcc5;return Math[_0x84c2be(0x306)]()[_0x84c2be(0x327)](0x24)[_0x84c2be(0x344)](0x2,0x8);}_0x211bfc['displayName']=_0x35dcc5(0x20e);const _0x477673={'tag':_0x35dcc5(0x35a),'attrs':{'xmlns':_0x35dcc5(0x12a),'fill':_0x35dcc5(0x30f),'viewBox':_0x35dcc5(0x1aa),'width':_0x35dcc5(0x13e),'height':_0x35dcc5(0x13e)},'children':[{'tag':'g','attrs':{'clipPath':_0x35dcc5(0x21e)},'children':[{'tag':_0x35dcc5(0x2fd),'attrs':{'stroke':_0x35dcc5(0x2aa),'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':_0x35dcc5(0x1b5),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x35dcc5(0x194),'attrs':{},'children':[{'tag':_0x35dcc5(0x26e),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x35dcc5(0x2fd),'attrs':{'fill':_0x35dcc5(0x33a),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x35dcc5(0x14f)]},_0x293c47=_0x5b1fa1[_0x35dcc5(0x98)](function(_0x36c14b,_0x3ad0db){const _0x292b50=_0x35dcc5;return _0x5b1fa1[_0x292b50(0x32a)](_0x211bfc,Object[_0x292b50(0x1e3)]({},_0x36c14b,{'id':_0x292b50(0x353),'ref':_0x3ad0db,'icon':_0x477673}));});_0x293c47['displayName']=_0x35dcc5(0xc7);const _0x2985e9={'tag':'svg','attrs':{'xmlns':_0x35dcc5(0x12a),'fill':_0x35dcc5(0x30f),'viewBox':'0\x200\x2017\x2016','width':_0x35dcc5(0x13e),'height':_0x35dcc5(0x13e)},'children':[{'tag':'g','attrs':{'clipPath':_0x35dcc5(0x372)},'children':[{'tag':'path','attrs':{'stroke':_0x35dcc5(0x2aa),'d':_0x35dcc5(0x195),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x35dcc5(0x194),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x35dcc5(0x2fd),'attrs':{'fill':_0x35dcc5(0x33a),'d':_0x35dcc5(0x1fa),'transform':_0x35dcc5(0x159)}}]}]}],'defIds':[_0x35dcc5(0x11c)]},_0x18a4cb=_0x5b1fa1[_0x35dcc5(0x98)](function(_0x3f050f,_0x1e22c2){const _0x104a34=_0x35dcc5;return _0x5b1fa1[_0x104a34(0x32a)](_0x211bfc,Object[_0x104a34(0x1e3)]({},_0x3f050f,{'id':_0x104a34(0x155),'ref':_0x1e22c2,'icon':_0x2985e9}));});_0x18a4cb[_0x35dcc5(0x1a9)]=_0x35dcc5(0x22f);function _0x2260c7(_0x8fa159){const _0x47ce8c=_0x35dcc5;switch(_0x8fa159){case _0xe836dc['CollaborationStatus']['OFFLINE']:return _0x47ce8c(0x2b7);case _0xe836dc[_0x47ce8c(0x283)][_0x47ce8c(0x1fc)]:return _0x47ce8c(0x29d);case _0xe836dc['CollaborationStatus'][_0x47ce8c(0x332)]:return _0x47ce8c(0x289);case _0xe836dc[_0x47ce8c(0x283)][_0x47ce8c(0x2c5)]:return _0x47ce8c(0x24a);case _0xe836dc[_0x47ce8c(0x283)][_0x47ce8c(0x2da)]:case _0xe836dc[_0x47ce8c(0x283)]['AWAITING_WITH_PENDING']:return _0x47ce8c(0x1da);case _0xe836dc[_0x47ce8c(0x283)]['SYNCED']:case _0xe836dc['CollaborationStatus'][_0x47ce8c(0x2e2)]:return'collabStatus.synced';}}function _0x195e6b(_0x18c53d){const _0x2763b4=_0x35dcc5,{status$:_0x404c97}=_0x18c53d,_0x67a6cf=_0x3d1085[_0x2763b4(0xf8)](_0x404c97,_0xe836dc[_0x2763b4(0x283)][_0x2763b4(0x2c5)]),_0x452aca=_0x3d1085[_0x2763b4(0x21b)](_0x1acd3c[_0x2763b4(0x10c)]),_0x41e98e=_0x3d1085[_0x2763b4(0x21b)](_0xe836dc[_0x2763b4(0x1e7)]),_0xbad154=_0x67a6cf!==_0xe836dc['CollaborationStatus'][_0x2763b4(0xbe)],_0x2ac27d=_0x452aca['t'](_0x2260c7(_0x67a6cf)),_0x427f38=_0xbad154?_0x3fba3f[_0x2763b4(0x2d2)](_0x18a4cb,{}):_0x3fba3f[_0x2763b4(0x2d2)](_0x293c47,{}),_0x3a90bf=_0x5b1fa1[_0x2763b4(0x19f)](()=>{_0xbad154||_0x41e98e['reconnect']();},[_0xbad154,_0x41e98e]);function _0x138293(){const _0x3dc544=_0x2763b4;return _0x3fba3f['jsxs'](_0x3dc544(0x228),{'className':'univer-flex\x20univer-items-center','onClick':_0x3a90bf,'children':[_0x3fba3f[_0x3dc544(0x2d2)](_0x3dc544(0x228),{'className':_0x31b7ea[_0x3dc544(0x236)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0xbad154,'univer-text-red-500':!_0xbad154}),'children':_0x427f38}),_0x3fba3f['jsx'](_0x3dc544(0x228),{'className':_0x3dc544(0x1a5),'children':_0x2ac27d})]});}return _0xbad154?_0x138293():_0x3fba3f[_0x2763b4(0x2d2)](_0x31b7ea['Tooltip'],{'title':_0x452aca['t'](_0x2763b4(0x2ef)),'children':_0x138293()});}var _0x23a300=Object[_0x35dcc5(0x378)],_0x312e14=(_0x49c067,_0x2a2e5d,_0x1acc11,_0x5c61f6)=>{const _0x275315=_0x35dcc5;for(var _0x41c134=_0x5c61f6>0x1?void 0x0:_0x5c61f6?_0x23a300(_0x2a2e5d,_0x1acc11):_0x2a2e5d,_0x2d963d=_0x49c067[_0x275315(0x36b)]-0x1,_0x53028e;_0x2d963d>=0x0;_0x2d963d--)(_0x53028e=_0x49c067[_0x2d963d])&&(_0x41c134=_0x53028e(_0x41c134)||_0x41c134);return _0x41c134;},_0x171612=(_0x202bf1,_0x122cc7)=>(_0x9efde4,_0x1d38cf)=>_0x122cc7(_0x9efde4,_0x1d38cf,_0x202bf1);_0x94c2a0['DesktopCollaborationStatusDisplayController']=class extends _0x1acd3c[_0x35dcc5(0x208)]{constructor(_0x1a20ab,_0x1a928a,_0xe26574,_0x1da128){const _0x2ec2ad=_0x35dcc5;super(),_0x504098(this,_0x2ec2ad(0x197),new _0x52b4d8[(_0x2ec2ad(0x2eb))](_0xe836dc[_0x2ec2ad(0x283)][_0x2ec2ad(0x2c5)])),(this['_univerInstanceService']=_0x1a20ab,this[_0x2ec2ad(0x304)]=_0x1a928a,this['_collaborationController']=_0xe26574,this[_0x2ec2ad(0x226)]=_0x1da128,this[_0x2ec2ad(0x8a)](),this[_0x2ec2ad(0x273)]());}['_initStatusListener'](){const _0x3d7b6e=_0x35dcc5;this['disposeWithMe'](this[_0x3d7b6e(0x2ee)]['focused$'][_0x3d7b6e(0x22a)](_0x52b4d8['switchMap'](()=>{const _0x3c3194=_0x3d7b6e,_0x2b10f0=this[_0x3c3194(0x2ee)]['getFocusedUnit']();return _0x2b10f0?this[_0x3c3194(0x2c7)]['getCollabEntity$'](_0x2b10f0[_0x3c3194(0x2cb)]()):_0x52b4d8['of'](null);}),_0x52b4d8[_0x3d7b6e(0x1ac)](_0xc0291b=>_0xc0291b?_0xc0291b[_0x3d7b6e(0x363)]:_0x52b4d8['of'](_0xe836dc[_0x3d7b6e(0x283)][_0x3d7b6e(0x2c5)])))['subscribe'](_0x5284f2=>{const _0x4084c2=_0x3d7b6e;this[_0x4084c2(0x197)]['next'](_0x5284f2);}));}[_0x35dcc5(0x8a)](){const _0x23b3d8=_0x35dcc5;this[_0x23b3d8(0x362)](this[_0x23b3d8(0x226)][_0x23b3d8(0x131)](_0x3d1085['BuiltInUIPart'][_0x23b3d8(0x234)],()=>_0x3d1085[_0x23b3d8(0xa8)](_0x37946a({'status$':this[_0x23b3d8(0x197)]['asObservable']()}),this[_0x23b3d8(0x304)])));}},_0x94c2a0[_0x35dcc5(0x34a)]=_0x312e14([_0x171612(0x0,_0x1acd3c[_0x35dcc5(0x329)]),_0x171612(0x1,_0x1acd3c[_0x35dcc5(0x36c)](_0x1acd3c[_0x35dcc5(0x11b)])),_0x171612(0x2,_0x1acd3c[_0x35dcc5(0x36c)](_0xe836dc[_0x35dcc5(0x162)])),_0x171612(0x3,_0x3d1085[_0x35dcc5(0x1ee)])],_0x94c2a0[_0x35dcc5(0x34a)]);function _0x37946a(_0x100f22){const {status$:_0x18150e}=_0x100f22;return function(){const _0x4f4a77=_0x1599;return _0x3fba3f[_0x4f4a77(0x2d2)](_0x195e6b,{'status$':_0x18150e});};}const _0x47bc3f=_0x1acd3c[_0x35dcc5(0xcd)](_0x35dcc5(0x233));var _0x30153f=Object[_0x35dcc5(0x378)],_0x1252a5=(_0x2257d3,_0x5494dd,_0x5cb6f5,_0x7879f0)=>{const _0x2a1102=_0x35dcc5;for(var _0x1cc70a=_0x7879f0>0x1?void 0x0:_0x7879f0?_0x30153f(_0x5494dd,_0x5cb6f5):_0x5494dd,_0x41bb78=_0x2257d3[_0x2a1102(0x36b)]-0x1,_0x58d480;_0x41bb78>=0x0;_0x41bb78--)(_0x58d480=_0x2257d3[_0x41bb78])&&(_0x1cc70a=_0x58d480(_0x1cc70a)||_0x1cc70a);return _0x1cc70a;},_0x45e21c=(_0x25fa75,_0x2a8446)=>(_0x53b1fc,_0x5ebac0)=>_0x2a8446(_0x53b1fc,_0x5ebac0,_0x25fa75);_0x94c2a0[_0x35dcc5(0xdc)]=class extends _0x1acd3c[_0x35dcc5(0x1f6)]{constructor(_0x282073,_0x531c05,_0x3cee84,_0x59b84a,_0x3a9824){const _0x4e7ec=_0x35dcc5;super(),this[_0x4e7ec(0x1a7)]=_0x282073,this['_logService']=_0x531c05,this[_0x4e7ec(0xe6)]=_0x3cee84,this[_0x4e7ec(0xa3)]=_0x59b84a,_0x3a9824?_0x3a9824==null||_0x3a9824[_0x4e7ec(0x115)]()[_0x4e7ec(0x1c3)](()=>this[_0x4e7ec(0x216)]()):(this[_0x4e7ec(0x94)]['debug']('[CollaborationDataLoaderController]',_0x4e7ec(0xd4)),this[_0x4e7ec(0x216)]());}async['_init'](){const _0x3c9016=_0x35dcc5,_0x359e09=this[_0x3c9016(0x1a7)][_0x3c9016(0x1a2)](_0x3c9016(0xb3)),_0x2a70a7=this[_0x3c9016(0x1a7)][_0x3c9016(0x1a2)]('type'),_0xebe472=this[_0x3c9016(0x1a7)][_0x3c9016(0x1a2)]('subunit');if(!_0x359e09||!_0x2a70a7){this[_0x3c9016(0x94)]['debug'](_0x3c9016(0xc9),_0x3c9016(0x137));return;}const _0x56e723=await this[_0x3c9016(0xa3)]['loadUnit'](_0x359e09,Number(_0x2a70a7),_0xebe472);_0x56e723&&_0x56e723 instanceof _0x1acd3c[_0x3c9016(0x30b)]&&this[_0x3c9016(0x35f)](_0x56e723);}async[_0x35dcc5(0x35f)](_0x391853){const _0x462bbf=_0x35dcc5;await this['_updateSubUnitFromURLParams'](_0x391853),_0x391853['activeSheet$'][_0x462bbf(0x22a)](_0x52b4d8['takeUntil'](this[_0x462bbf(0x2f9)]))[_0x462bbf(0xc6)](_0x483523=>{const _0x394cb9=_0x462bbf;_0x483523&&this[_0x394cb9(0x371)](_0x483523);}),this[_0x462bbf(0x1a7)][_0x462bbf(0xec)][_0x462bbf(0x22a)](_0x52b4d8[_0x462bbf(0xa7)](this[_0x462bbf(0x2f9)]))[_0x462bbf(0xc6)](()=>this[_0x462bbf(0x1d2)](_0x391853));}['_updateURLWithCurrentState'](_0x2b8b8e,_0x406834=!0x1){const _0x5e90a2=_0x35dcc5,_0x443e46=this['_urlService'][_0x5e90a2(0x1a2)]('subunit');_0x2b8b8e[_0x5e90a2(0xc5)]()!==_0x443e46&&this['_urlService'][_0x5e90a2(0x130)](_0x5e90a2(0x2a3),_0x2b8b8e[_0x5e90a2(0xc5)](),_0x406834);}async[_0x35dcc5(0x1d2)](_0x387788){const _0x45765b=_0x35dcc5;var _0x350ee1;const _0x168bc1=this[_0x45765b(0x1a7)]['getParam'](_0x45765b(0x2a3));if(!_0x168bc1||!_0x387788[_0x45765b(0x14b)](_0x168bc1)){const _0x5c4a43=_0x387788[_0x45765b(0xcf)]()[0x0],_0xb99076=_0x387788[_0x45765b(0x14b)](_0x5c4a43);if(!_0xb99076)return;this[_0x45765b(0x371)](_0xb99076,!0x0),await this[_0x45765b(0xe6)][_0x45765b(0x23c)](_0x17a17c[_0x45765b(0x260)]['id'],{'unitId':_0x387788[_0x45765b(0x2cb)](),'subUnitId':_0x5c4a43});return;}((_0x350ee1=_0x387788['getActiveSheet']())==null?void 0x0:_0x350ee1[_0x45765b(0xc5)]())!==_0x168bc1&&await this[_0x45765b(0xe6)][_0x45765b(0x23c)](_0x17a17c[_0x45765b(0x260)]['id'],{'unitId':_0x387788[_0x45765b(0x2cb)](),'subUnitId':_0x168bc1});}},_0x94c2a0[_0x35dcc5(0xdc)]=_0x1252a5([_0x45e21c(0x0,_0x47bc3f),_0x45e21c(0x1,_0x1acd3c[_0x35dcc5(0x296)]),_0x45e21c(0x2,_0x1acd3c[_0x35dcc5(0x27e)]),_0x45e21c(0x3,_0x1acd3c[_0x35dcc5(0x36c)](_0xe836dc[_0x35dcc5(0x1df)])),_0x45e21c(0x4,_0x1acd3c[_0x35dcc5(0x220)](_0x501fab[_0x35dcc5(0x357)]))],_0x94c2a0['CollaborationDataLoaderController']);var _0x559fad=Object[_0x35dcc5(0x378)],_0x3f059e=(_0x3ce31f,_0x50c7e8,_0x293c28,_0x3ad049)=>{const _0x2cdfc2=_0x35dcc5;for(var _0x5b8ac2=_0x3ad049>0x1?void 0x0:_0x3ad049?_0x559fad(_0x50c7e8,_0x293c28):_0x50c7e8,_0x2e93a5=_0x3ce31f[_0x2cdfc2(0x36b)]-0x1,_0x3f8908;_0x2e93a5>=0x0;_0x2e93a5--)(_0x3f8908=_0x3ce31f[_0x2e93a5])&&(_0x5b8ac2=_0x3f8908(_0x5b8ac2)||_0x5b8ac2);return _0x5b8ac2;},_0xffe697=(_0x5a8d82,_0x8374e)=>(_0x288e3d,_0x834361)=>_0x8374e(_0x288e3d,_0x834361,_0x5a8d82);let _0x774444=class extends _0x1acd3c[_0x35dcc5(0x1f6)]{constructor(_0x27fffd,_0xa2a3cb){const _0x5f06e1=_0x35dcc5;super(),this['_docClipboardService']=_0x27fffd,this[_0x5f06e1(0x2f7)]=_0xa2a3cb,this[_0x5f06e1(0x216)]();}[_0x35dcc5(0x216)](){const _0x27c2d6=_0x35dcc5,_0x222067=this;this[_0x27c2d6(0x362)](this[_0x27c2d6(0x123)][_0x27c2d6(0x2d7)]({'onBeforePasteImage':async _0x3101fb=>{const _0x14475b=_0x27c2d6,_0x29756a=await _0x222067[_0x14475b(0x2f7)][_0x14475b(0x149)](_0x3101fb);return _0x29756a?{'source':_0x29756a[_0x14475b(0x315)],'imageSourceType':_0x29756a[_0x14475b(0x30c)]}:null;}}));}};_0x774444=_0x3f059e([_0xffe697(0x0,_0x4a5890[_0x35dcc5(0x36f)]),_0xffe697(0x1,_0x12a509[_0x35dcc5(0x1dc)])],_0x774444);const _0x1718b1=[_0x35dcc5(0x310),'jiqing.500',_0x35dcc5(0x1d8),_0x35dcc5(0x2a7),_0x35dcc5(0x1e6),_0x35dcc5(0x16f)];class _0x2ecc79 extends _0x1acd3c[_0x35dcc5(0x208)]{constructor(){const _0x5b4afb=_0x35dcc5;super(...arguments),_0x504098(this,'_assignedColors',new Map()),_0x504098(this,_0x5b4afb(0x19a),0x0);}[_0x35dcc5(0x20b)](_0x3ee6d4){const _0x3c6906=_0x35dcc5;if(this[_0x3c6906(0x2df)]['has'](_0x3ee6d4))return this['_assignedColors']['get'](_0x3ee6d4);const _0x458338=_0x1718b1[this[_0x3c6906(0x19a)]];return this['_colorIndex']=(this[_0x3c6906(0x19a)]+0x1)%_0x1718b1['length'],this['_assignedColors']['set'](_0x3ee6d4,_0x458338),_0x458338;}}function _0x5d330d(_0x420db9){const _0x2e4a54=_0x35dcc5;let _0x314c01='';for(const _0xb15f6c of _0x420db9){const {startOffset:_0x41eeef,endOffset:_0x53204a,isActive:_0x65b53b,rangeType:_0x5d43a3,segmentId:_0x221839,segmentPage:_0x2a111a}=_0xb15f6c;_0x314c01[_0x2e4a54(0x36b)]&&(_0x314c01+=','),_0x314c01+=_0x41eeef+':'+_0x53204a+':'+(_0x65b53b?'1':'0')+':'+_0x5d43a3+':'+_0x221839+':'+_0x2a111a;}return _0x314c01;}function _0x220161(_0x38ccd0){const _0x59e2d1=_0x35dcc5,_0x3c708f=_0x38ccd0[_0x59e2d1(0x92)](','),_0x156521=[];for(const _0x4dcc89 of _0x3c708f){const [_0x41cfb4,_0x5e708a,_0x2980aa,_0x48140e,_0x3a5bb7,_0x17cd4a]=_0x4dcc89[_0x59e2d1(0x92)](':');_0x156521['push']({'startOffset':Number(_0x41cfb4),'endOffset':Number(_0x5e708a),'collapsed':_0x41cfb4===_0x5e708a,'isActive':_0x2980aa==='1','rangeType':_0x48140e===_0x1acd3c[_0x59e2d1(0xd1)][_0x59e2d1(0x1b0)]?_0x1acd3c[_0x59e2d1(0xd1)][_0x59e2d1(0x1b0)]:_0x1acd3c['DOC_RANGE_TYPE'][_0x59e2d1(0x1ca)],'segmentId':typeof _0x3a5bb7==_0x59e2d1(0xc1)?String(_0x3a5bb7):'','segmentPage':Number(_0x17cd4a!=null?_0x17cd4a:-0x1)});}return _0x156521[_0x59e2d1(0x263)](_0x3a92df=>_0x3a92df[_0x59e2d1(0x224)])||(_0x156521[0x0]['isActive']=!0x0),_0x156521;}class _0x4fc58b extends _0x1acd3c[_0x35dcc5(0x1f6)]{constructor(){const _0x3d46b6=_0x35dcc5;super(...arguments),_0x504098(this,'_collabCursorState$',new _0x52b4d8[(_0x3d46b6(0x2eb))](null)),_0x504098(this,'collabCursorState$',this[_0x3d46b6(0x2cc)][_0x3d46b6(0x34c)]());}[_0x35dcc5(0xbb)](_0x30e0a5){const _0x11a319=_0x35dcc5,{unitID:_0x4cb71d,memberID:_0x46810,textRanges:_0x356948}=_0x30e0a5,_0x2c127c=_0x5d330d(_0x356948);if(_0x2c127c==='')return;const _0x55093e={'unitID':_0x4cb71d,'memberID':_0x46810,'selection':_0x2c127c};this[_0x11a319(0x2cc)][_0x11a319(0xba)](_0x55093e);}}var _0x4d86e5=Object[_0x35dcc5(0x378)],_0x29e528=(_0x5580f8,_0xa96d9,_0x478241,_0x10a1f5)=>{const _0x31ad4a=_0x35dcc5;for(var _0xa2f84e=_0x10a1f5>0x1?void 0x0:_0x10a1f5?_0x4d86e5(_0xa96d9,_0x478241):_0xa96d9,_0x3019bc=_0x5580f8[_0x31ad4a(0x36b)]-0x1,_0x58519a;_0x3019bc>=0x0;_0x3019bc--)(_0x58519a=_0x5580f8[_0x3019bc])&&(_0xa2f84e=_0x58519a(_0xa2f84e)||_0xa2f84e);return _0xa2f84e;},_0x42c20c=(_0x12f8f2,_0x192cc8)=>(_0x3c8505,_0x6696f4)=>_0x192cc8(_0x3c8505,_0x6696f4,_0x12f8f2);const _0x3691bf=0x12c,_0x120aad=0x64;let _0x51b1c2=class extends _0x1acd3c['RxDisposable']{constructor(_0x3b2bf6,_0x1641d1,_0x105b0d,_0x342580,_0x45c2a5,_0x58366f,_0x179120,_0x2b73ae,_0x2c0d60){const _0x13d47f=_0x35dcc5;super(),_0x504098(this,_0x13d47f(0x1c7),!0x1),_0x504098(this,'_init',!0x1),_0x504098(this,_0x13d47f(0x8e),new _0x52b4d8[(_0x13d47f(0x2eb))](new Map())),_0x504098(this,_0x13d47f(0xfc),this[_0x13d47f(0x8e)][_0x13d47f(0x34c)]()),_0x504098(this,_0x13d47f(0x312),new _0x52b4d8['BehaviorSubject']([])),_0x504098(this,'roomMembers$',this[_0x13d47f(0x312)][_0x13d47f(0x22a)](_0x52b4d8['debounceTime'](_0x3691bf))),_0x504098(this,_0x13d47f(0x206),_0x1acd3c['debounce'](_0x4ad5bb=>{const _0x51864d=_0x13d47f,_0xdc0a6e={'eventID':_0x1d9a86[_0x51864d(0xd6)][_0x51864d(0x17b)],'data':{'unitID':this['unitID'],'memberID':this[_0x51864d(0x238)][_0x51864d(0x1b1)](),'selection':_0x5d330d(_0x4ad5bb)}};this[_0x51864d(0x238)][_0x51864d(0x32f)](_0xdc0a6e,this[_0x51864d(0x181)]);},_0x120aad)),(this[_0x13d47f(0x181)]=_0x3b2bf6,this[_0x13d47f(0x238)]=_0x1641d1,this[_0x13d47f(0x304)]=_0x105b0d,this[_0x13d47f(0x335)]=_0x342580,this['_memberService']=_0x45c2a5,this[_0x13d47f(0x1d5)]=_0x58366f,this['_transformService']=_0x179120,this['_univerInstanceService']=_0x2b73ae,this[_0x13d47f(0xe6)]=_0x2c0d60);}get[_0x35dcc5(0x2ba)](){const _0xaae948=_0x35dcc5;return this[_0xaae948(0x8e)]['getValue']();}get['roomMembers'](){const _0x508e6d=_0x35dcc5;return this['_roomMembers$'][_0x508e6d(0x20a)]();}[_0x35dcc5(0x381)](){const _0x4301d1=_0x35dcc5;super['dispose'](),this['_cursorInfo$'][_0x4301d1(0xba)](new Map()),this[_0x4301d1(0x8e)][_0x4301d1(0x269)](),this[_0x4301d1(0x312)][_0x4301d1(0xba)]([]),this[_0x4301d1(0x312)][_0x4301d1(0x269)]();}['init'](){const _0x5eb9f1=_0x35dcc5;this[_0x5eb9f1(0x216)]||(this[_0x5eb9f1(0x216)]=!0x0,this[_0x5eb9f1(0x238)][_0x5eb9f1(0x262)]['pipe'](_0x52b4d8[_0x5eb9f1(0xa7)](this[_0x5eb9f1(0x2f9)]))[_0x5eb9f1(0xc6)](_0x91d8ed=>{const _0x8713b1=_0x5eb9f1;_0x91d8ed===_0xe836dc[_0x8713b1(0x28c)]['ONLINE']?this[_0x8713b1(0x2be)]():this[_0x8713b1(0x322)]();}),this[_0x5eb9f1(0x238)][_0x5eb9f1(0x9d)][_0x5eb9f1(0x22a)](_0x52b4d8[_0x5eb9f1(0xa7)](this['dispose$']))[_0x5eb9f1(0xc6)](_0x300e95=>{const _0x38d6d3=_0x5eb9f1,_0x1788f0=_0x300e95['eventID'];_0x1788f0===_0x1d9a86[_0x38d6d3(0xd6)][_0x38d6d3(0x17b)]&&this[_0x38d6d3(0x20f)](_0x300e95),_0x1788f0===_0x1d9a86[_0x38d6d3(0xd6)]['USERS_LEAVE']&&this[_0x38d6d3(0x298)](_0x300e95);}),this[_0x5eb9f1(0x362)](this[_0x5eb9f1(0xe6)][_0x5eb9f1(0x1d7)](_0x17681e=>{const _0x4f2df0=_0x5eb9f1,_0x53d003=_0x17681e[_0x4f2df0(0x164)];_0x53d003!=null&&this[_0x4f2df0(0x1c7)]&&_0x17681e['id']===_0x3e8285['SetTextSelectionsOperation']['id']&&_0x53d003[_0x4f2df0(0x334)]===this[_0x4f2df0(0x181)]&&_0x53d003[_0x4f2df0(0x33b)]===!0x1&&_0x53d003[_0x4f2df0(0x22e)][_0x4f2df0(0x36b)]>0x0&&this[_0x4f2df0(0x206)](_0x53d003[_0x4f2df0(0x22e)]);})),this[_0x5eb9f1(0x1d5)][_0x5eb9f1(0x193)][_0x5eb9f1(0x22a)](_0x52b4d8[_0x5eb9f1(0xa7)](this['dispose$']))[_0x5eb9f1(0xc6)](_0x55ae26=>{const _0xeaf0d0=_0x5eb9f1;if((_0x55ae26==null?void 0x0:_0x55ae26[_0xeaf0d0(0x181)])!==this[_0xeaf0d0(0x181)])return;const _0x40b768={'eventID':_0x1d9a86['CollaborationEvent'][_0xeaf0d0(0x17b)],'data':_0x55ae26};this['_onCursorUpdate'](_0x40b768);}),this['disposeWithMe'](this[_0x5eb9f1(0xe6)][_0x5eb9f1(0x1d7)](_0x17707a=>{const _0x5a9ae4=_0x5eb9f1;if(_0x17707a[_0x5a9ae4(0x164)]==null)return;const _0x3bf9ff=_0x17707a['params'];if(_0x17707a['id']!==_0x3e8285[_0x5a9ae4(0x295)]['id']||_0x3bf9ff['unitId']!==this[_0x5a9ae4(0x181)])return;const _0x508b6c={'id':_0x5a9ae4(0x2b8),'params':_0x3bf9ff},_0x1f6859=this['cursorInfo'];for(const [_0x451c28,_0x4f2bbb]of _0x1f6859){const _0x208183={'id':_0x5a9ae4(0x2b8),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x4f2bbb['ranges']}},_0x458c03=this[_0x5a9ae4(0x2a5)]['transformMutation'](_0x508b6c,_0x208183,!0x1);if(_0x1d9a86[_0x5a9ae4(0xd0)](_0x458c03))throw _0x458c03[_0x5a9ae4(0x36d)];_0x1f6859[_0x5a9ae4(0x375)](_0x451c28,{..._0x4f2bbb,'ranges':_0x458c03[_0x5a9ae4(0x167)]['params'][_0x5a9ae4(0x35b)]});}queueMicrotask(()=>{const _0x2f9da9=_0x5a9ae4;this[_0x2f9da9(0x8e)]['next'](_0x1f6859);});})));}[_0x35dcc5(0x20f)](_0x3f8d42){const _0xd60897=_0x35dcc5;var _0x56d8dd,_0x8d75c9;const {memberID:_0x2c6b6a,selection:_0x3e5c71}=_0x3f8d42[_0xd60897(0xe5)],_0x49ccff=_0x220161(_0x3e5c71),_0x1d8408=(_0x8d75c9=(_0x56d8dd=this['_memberService'][_0xd60897(0x1eb)](this[_0xd60897(0x181)],_0x2c6b6a))==null?void 0x0:_0x56d8dd[_0xd60897(0x10b)])!=null?_0x8d75c9:_0xd60897(0x21a),_0x40a6af={'color':this[_0xd60897(0x335)][_0xd60897(0x20b)](_0x2c6b6a),'name':_0x1d8408,'ranges':_0x49ccff},_0x4e5bc8=this['cursorInfo'];_0x4e5bc8['set'](_0x2c6b6a,_0x40a6af),this['_cursorInfo$'][_0xd60897(0xba)](_0x4e5bc8);}[_0x35dcc5(0x298)](_0x54440c){const _0xa8ebf=_0x35dcc5,{memberID:_0x2cac70}=_0x54440c[_0xa8ebf(0xe5)],_0x2406d8=this[_0xa8ebf(0x2ba)];_0x2406d8[_0xa8ebf(0x2bb)](_0x2cac70),this['_cursorInfo$'][_0xa8ebf(0xba)](_0x2406d8);}[_0x35dcc5(0x2be)](){const _0x305610=_0x35dcc5;var _0x50af44;if(this[_0x305610(0x1c7)]=!0x0,((_0x50af44=this['_univerInstanceService'][_0x305610(0x21c)]())==null?void 0x0:_0x50af44[_0x305610(0x2cb)]())!==this[_0x305610(0x181)])return;const _0x17019e=this[_0x305610(0x304)][_0x305610(0x343)](_0x3e8285['DocSelectionManagerService'])[_0x305610(0x172)]();Array[_0x305610(0x245)](_0x17019e)&&_0x17019e[_0x305610(0x36b)]>0x0&&this[_0x305610(0x206)](_0x17019e);}[_0x35dcc5(0x322)](){this['_online']=!0x1;}};_0x51b1c2=_0x29e528([_0x42c20c(0x2,_0x1acd3c[_0x35dcc5(0x36c)](_0x1acd3c['Injector'])),_0x42c20c(0x3,_0x1acd3c[_0x35dcc5(0x36c)](_0x2ecc79)),_0x42c20c(0x4,_0x1acd3c[_0x35dcc5(0x36c)](_0xe836dc[_0x35dcc5(0x1cd)])),_0x42c20c(0x5,_0x1acd3c['Inject'](_0x4fc58b)),_0x42c20c(0x6,_0x1d9a86['ITransformService']),_0x42c20c(0x7,_0x1acd3c[_0x35dcc5(0x329)]),_0x42c20c(0x8,_0x1acd3c[_0x35dcc5(0x27e)])],_0x51b1c2);var _0x4ea420=Object['getOwnPropertyDescriptor'],_0x55cd00=(_0x579146,_0x1d360a,_0x4dc7ee,_0x5ab8d5)=>{for(var _0xb45386=_0x5ab8d5>0x1?void 0x0:_0x5ab8d5?_0x4ea420(_0x1d360a,_0x4dc7ee):_0x1d360a,_0xf02477=_0x579146['length']-0x1,_0x3f33f1;_0xf02477>=0x0;_0xf02477--)(_0x3f33f1=_0x579146[_0xf02477])&&(_0xb45386=_0x3f33f1(_0xb45386)||_0xb45386);return _0xb45386;},_0x160e72=(_0x24e3f6,_0x296fa2)=>(_0x364b43,_0x49fbc4)=>_0x296fa2(_0x364b43,_0x49fbc4,_0x24e3f6);const _0x5d23a5=0x12c,_0x2bf8bd=0x64,_0x5f1747=()=>{let _0x471273=[],_0x590510=!0x1;return _0x513e63=>{const _0x30d1b6=_0x1599;_0x471273[_0x30d1b6(0x2c2)](_0x513e63),_0x590510||(_0x590510=!0x0,setTimeout(()=>{_0x471273['forEach'](_0x564b6c=>_0x564b6c()),_0x471273=[],_0x590510=!0x1;}));};};let _0x3b7df7=class extends _0x1acd3c[_0x35dcc5(0x1f6)]{constructor(_0x41947c,_0x3cedfb,_0x175980,_0x22dd78,_0x298a3f,_0x137d6f,_0x1639f9,_0x890848){const _0x21010f=_0x35dcc5;super(),_0x504098(this,'_online',!0x1),_0x504098(this,_0x21010f(0x216),!0x1),_0x504098(this,_0x21010f(0x8e),new _0x52b4d8['BehaviorSubject'](new Map())),_0x504098(this,_0x21010f(0xfc),this[_0x21010f(0x8e)][_0x21010f(0x34c)]()),_0x504098(this,_0x21010f(0x312),new _0x52b4d8['BehaviorSubject']([])),_0x504098(this,_0x21010f(0x2c4),this[_0x21010f(0x312)][_0x21010f(0x22a)](_0x52b4d8[_0x21010f(0x287)](_0x5d23a5))),_0x504098(this,'_updateLocalCursor',_0x1acd3c['debounce']((_0x4bb9da,_0x2a31ff)=>{const _0x3489a0=_0x21010f,_0x2b94e0={'eventID':_0x1d9a86['CollaborationEvent'][_0x3489a0(0x17b)],'data':{'unitID':this[_0x3489a0(0x181)],'memberID':this['_session'][_0x3489a0(0x1b1)](),'selection':_0x5dc12e[_0x3489a0(0x290)](_0x4bb9da,_0x2a31ff[_0x3489a0(0x251)])}};this[_0x3489a0(0x238)][_0x3489a0(0x32f)](_0x2b94e0,this['unitID']);},_0x2bf8bd)),(this[_0x21010f(0x181)]=_0x41947c,this[_0x21010f(0x238)]=_0x3cedfb,this[_0x21010f(0x304)]=_0x175980,this[_0x21010f(0x335)]=_0x22dd78,this[_0x21010f(0x360)]=_0x298a3f,this['_univerInstanceService']=_0x137d6f,this[_0x21010f(0xe6)]=_0x1639f9,this[_0x21010f(0x1c8)]=_0x890848);}get[_0x35dcc5(0x2ba)](){const _0x149ca3=_0x35dcc5;return this['_cursorInfo$'][_0x149ca3(0x20a)]();}get['roomMembers'](){const _0x3fd6ae=_0x35dcc5;return this[_0x3fd6ae(0x312)][_0x3fd6ae(0x20a)]();}['dispose'](){const _0x2a7397=_0x35dcc5;super['dispose'](),this[_0x2a7397(0x8e)]['next'](new Map()),this[_0x2a7397(0x8e)][_0x2a7397(0x269)](),this[_0x2a7397(0x312)][_0x2a7397(0xba)]([]),this[_0x2a7397(0x312)][_0x2a7397(0x269)]();}['init'](){const _0x5ca263=_0x35dcc5;this[_0x5ca263(0x216)]||(this[_0x5ca263(0x216)]=!0x0,this[_0x5ca263(0x238)][_0x5ca263(0x262)][_0x5ca263(0x22a)](_0x52b4d8[_0x5ca263(0xa7)](this[_0x5ca263(0x2f9)]))[_0x5ca263(0xc6)](_0xbe613=>{const _0x24c4d9=_0x5ca263;_0xbe613===_0xe836dc[_0x24c4d9(0x28c)][_0x24c4d9(0xed)]?this[_0x24c4d9(0x2be)]():this[_0x24c4d9(0x322)]();}),this[_0x5ca263(0x238)][_0x5ca263(0x9d)][_0x5ca263(0x22a)](_0x52b4d8[_0x5ca263(0xa7)](this[_0x5ca263(0x2f9)]))[_0x5ca263(0xc6)](_0x9465f6=>{const _0x57e842=_0x5ca263,_0x538caa=_0x9465f6[_0x57e842(0xc4)];_0x538caa===_0x1d9a86['CollaborationEvent'][_0x57e842(0x17b)]&&this[_0x57e842(0x20f)](_0x9465f6),_0x538caa===_0x1d9a86[_0x57e842(0xd6)][_0x57e842(0x2f2)]&&this['_onCursorDelete'](_0x9465f6);}),this[_0x5ca263(0x223)](),this['disposeWithMe'](this[_0x5ca263(0xe6)][_0x5ca263(0x1d7)](_0x3595f2=>{const _0x49d99d=_0x5ca263;if(this['_online']&&_0x3595f2['id']===_0x17a17c[_0x49d99d(0xe9)]['id']&&_0x3595f2[_0x49d99d(0x164)]['unitId']===this[_0x49d99d(0x181)]){const _0x394ffd=_0x3595f2[_0x49d99d(0x164)];this[_0x49d99d(0x206)](_0x394ffd[_0x49d99d(0x1f0)],_0x394ffd[_0x49d99d(0x320)][0x0]);}})));}[_0x35dcc5(0x20f)](_0x3c5223){const _0x4cc9da=_0x35dcc5;var _0x551f96,_0x29411c;const {memberID:_0x5f591f,selection:_0x44a582}=_0x3c5223[_0x4cc9da(0xe5)],{sheetName:_0x26c58a,range:_0x53328d}=_0x5dc12e[_0x4cc9da(0x171)](_0x44a582),_0x47f0a0={'name':(_0x29411c=(_0x551f96=this[_0x4cc9da(0x360)][_0x4cc9da(0x1eb)](this['unitID'],_0x5f591f))==null?void 0x0:_0x551f96['name'])!=null?_0x29411c:_0x4cc9da(0x21a),'range':this[_0x4cc9da(0x36e)](_0x26c58a,_0x53328d),'sheetID':_0x26c58a,'color':this[_0x4cc9da(0x335)]['assignAColorForMemberID'](_0x5f591f),'selection':_0x44a582},_0x16605a=this[_0x4cc9da(0x2ba)];_0x16605a[_0x4cc9da(0x375)](_0x5f591f,_0x47f0a0),this[_0x4cc9da(0x8e)][_0x4cc9da(0xba)](_0x16605a);}[_0x35dcc5(0x298)](_0x504778){const _0x1354d0=_0x35dcc5,{memberID:_0x3b660a}=_0x504778[_0x1354d0(0xe5)],_0x3dc5e1=this[_0x1354d0(0x2ba)];_0x3dc5e1[_0x1354d0(0x2bb)](_0x3b660a),this['_cursorInfo$'][_0x1354d0(0xba)](_0x3dc5e1);}[_0x35dcc5(0x36e)](_0x3687fd,_0x2c541f){const _0x26d029=_0x35dcc5;var _0xf11c7e,_0x293598;const _0x4df95c=(_0x293598=(_0xf11c7e=this['_univerInstanceService']['getUniverSheetInstance'](this[_0x26d029(0x181)]))==null?void 0x0:_0xf11c7e[_0x26d029(0x14b)](_0x3687fd))==null?void 0x0:_0x293598['getMergeData']();return(_0x4df95c==null?void 0x0:_0x4df95c[_0x26d029(0x2f0)](_0x5689bc=>_0x1acd3c[_0x26d029(0x1e8)][_0x26d029(0x145)](_0x5689bc,_0x2c541f)))||_0x2c541f;}[_0x35dcc5(0x223)](){const _0x422792=_0x35dcc5,_0x161d97=new _0x1acd3c[(_0x422792(0x1f9))](),_0x49ddca=_0x5f1747(),_0x2069ff=()=>{const _0x287e23=_0x422792;_0x161d97['dispose']();const _0x245884=(_0x4bbf36,_0x545f28,_0x17bb45,_0x5d6b10)=>{const _0x47375b=_0x1599;let _0x3da4b4=[];switch(_0x4bbf36['id']){case _0x17a17c[_0x47375b(0x125)]['DeleteRangeMoveLeftCommandId']:{_0x3da4b4=_0x17a17c[_0x47375b(0x13d)](_0x4bbf36,_0x5d6b10);break;}case _0x17a17c[_0x47375b(0x125)][_0x47375b(0x16d)]:{_0x3da4b4=_0x17a17c[_0x47375b(0x25a)](_0x4bbf36,_0x5d6b10);break;}case _0x17a17c[_0x47375b(0x125)]['InsertColCommandId']:{_0x3da4b4=_0x17a17c[_0x47375b(0x166)](_0x4bbf36,_0x5d6b10);break;}case _0x17a17c[_0x47375b(0x125)][_0x47375b(0x199)]:{_0x3da4b4=_0x17a17c['handleInsertRangeMoveDown'](_0x4bbf36,_0x5d6b10);break;}case _0x17a17c[_0x47375b(0x125)]['InsertRangeMoveRightCommandId']:{_0x3da4b4=_0x17a17c[_0x47375b(0x368)](_0x4bbf36,_0x5d6b10);break;}case _0x17a17c[_0x47375b(0x125)][_0x47375b(0xda)]:{_0x3da4b4=_0x17a17c[_0x47375b(0x37a)](_0x4bbf36,_0x5d6b10);break;}case _0x17a17c[_0x47375b(0x125)][_0x47375b(0x9c)]:{_0x3da4b4=_0x17a17c[_0x47375b(0x11e)](_0x4bbf36,_0x5d6b10);break;}case _0x17a17c[_0x47375b(0x125)][_0x47375b(0x23a)]:{_0x3da4b4=_0x17a17c[_0x47375b(0x313)](_0x4bbf36,_0x5d6b10);break;}case _0x17a17c['EffectRefRangId'][_0x47375b(0x367)]:{_0x3da4b4=_0x17a17c[_0x47375b(0x25c)](_0x4bbf36,_0x5d6b10);break;}}const _0x83030f=_0x17a17c[_0x47375b(0x276)](_0x3da4b4,_0x5d6b10),_0x51c1c8=this[_0x47375b(0x2ba)][_0x47375b(0x343)](_0x545f28);if(_0x51c1c8&&_0x83030f){const _0x5bcc63={..._0x51c1c8,'range':_0x83030f};this[_0x47375b(0x2ba)][_0x47375b(0x375)](_0x545f28,_0x5bcc63),_0x49ddca(()=>{const _0x22064e=_0x47375b,_0x5c361f=this[_0x22064e(0x1c8)]['registerRefRange'](_0x83030f,_0x4aa357=>(_0x5c361f[_0x22064e(0x381)](),_0x245884(_0x4aa357,_0x545f28,_0x17bb45,_0x83030f)));_0x161d97[_0x22064e(0x2fc)](_0x5c361f);});}return{'redos':[],'undos':[]};};this[_0x287e23(0x2ba)][_0x287e23(0x9a)]((_0x5c5f6c,_0x31e29b)=>{const _0x266bac=_0x287e23,{range:_0x3374d9,sheetID:_0x190de2}=_0x5c5f6c,_0x5320ba=this[_0x266bac(0x1c8)][_0x266bac(0x285)](_0x3374d9,_0x3d19b0=>(_0x5320ba[_0x266bac(0x381)](),_0x245884(_0x3d19b0,_0x31e29b,_0x190de2,_0x3374d9)));_0x161d97[_0x266bac(0x2fc)](_0x5320ba);});};this[_0x422792(0x362)](_0x1acd3c[_0x422792(0x31a)](this[_0x422792(0x8e)]['subscribe'](()=>{_0x2069ff();})));}[_0x35dcc5(0x2be)](){const _0x5d8dfb=_0x35dcc5;var _0xb6a22,_0x4c73a5;if(this[_0x5d8dfb(0x1c7)]=!0x0,((_0xb6a22=this[_0x5d8dfb(0x2ee)][_0x5d8dfb(0x21c)]())==null?void 0x0:_0xb6a22[_0x5d8dfb(0x2cb)]())!==this[_0x5d8dfb(0x181)])return;const _0x42cba9=(_0x4c73a5=this[_0x5d8dfb(0x304)][_0x5d8dfb(0x343)](_0x17a17c['SheetsSelectionsService'])[_0x5d8dfb(0x351)]())==null?void 0x0:_0x4c73a5[0x0],_0x3c4405=this['_univerInstanceService'][_0x5d8dfb(0x100)](_0x1acd3c[_0x5d8dfb(0x8d)][_0x5d8dfb(0x97)])[_0x5d8dfb(0x268)]();_0x42cba9&&_0x3c4405&&this['_updateLocalCursor'](_0x3c4405['getSheetId'](),_0x42cba9);}[_0x35dcc5(0x322)](){const _0x4d533e=_0x35dcc5;this[_0x4d533e(0x1c7)]=!0x1;}};_0x3b7df7=_0x55cd00([_0x160e72(0x2,_0x1acd3c['Inject'](_0x1acd3c[_0x35dcc5(0x11b)])),_0x160e72(0x3,_0x1acd3c[_0x35dcc5(0x36c)](_0x2ecc79)),_0x160e72(0x4,_0x1acd3c[_0x35dcc5(0x36c)](_0xe836dc[_0x35dcc5(0x1cd)])),_0x160e72(0x5,_0x1acd3c['IUniverInstanceService']),_0x160e72(0x6,_0x1acd3c['ICommandService']),_0x160e72(0x7,_0x1acd3c[_0x35dcc5(0x36c)](_0x17a17c[_0x35dcc5(0x253)]))],_0x3b7df7);var _0x971b24=Object[_0x35dcc5(0x378)],_0x504e92=(_0x3910c2,_0x434353,_0x84a3b,_0x303b6b)=>{const _0x35b957=_0x35dcc5;for(var _0x199846=_0x303b6b>0x1?void 0x0:_0x303b6b?_0x971b24(_0x434353,_0x84a3b):_0x434353,_0x14672c=_0x3910c2[_0x35b957(0x36b)]-0x1,_0x1f8f6f;_0x14672c>=0x0;_0x14672c--)(_0x1f8f6f=_0x3910c2[_0x14672c])&&(_0x199846=_0x1f8f6f(_0x199846)||_0x199846);return _0x199846;},_0x1a1d42=(_0x1da880,_0x178b62)=>(_0x98e966,_0x2c1664)=>_0x178b62(_0x98e966,_0x2c1664,_0x1da880);let _0x224c41=class extends _0x1acd3c[_0x35dcc5(0x1f6)]{constructor(_0x583c8c,_0x3c026f,_0x11e8e8){const _0x5289bd=_0x35dcc5;super(),_0x504098(this,_0x5289bd(0x142),new Map()),_0x504098(this,_0x5289bd(0x133),new _0x52b4d8[(_0x5289bd(0xbd))]()),(this[_0x5289bd(0x2ee)]=_0x583c8c,this[_0x5289bd(0x304)]=_0x3c026f,this[_0x5289bd(0x2ea)]=_0x11e8e8,this[_0x5289bd(0x216)]());}[_0x35dcc5(0x381)](){const _0x43749a=_0x35dcc5;super['dispose'](),this['_entityInit$'][_0x43749a(0x269)](),this[_0x43749a(0x142)][_0x43749a(0x9a)](_0x55a11f=>_0x55a11f[_0x43749a(0x381)]());}['getCollabCursors$'](_0x53c81b){const _0x4c4878=_0x35dcc5;return this[_0x4c4878(0x142)][_0x4c4878(0x1ba)](_0x53c81b)?this[_0x4c4878(0x142)][_0x4c4878(0x343)](_0x53c81b)['cursorInfo$']:this['_entityInit$'][_0x4c4878(0x22a)](_0x52b4d8[_0x4c4878(0x2e9)](_0xa66117=>_0xa66117['unitID']===_0x53c81b),_0x52b4d8[_0x4c4878(0x1ac)](_0xa572b7=>_0xa572b7[_0x4c4878(0xfc)]));}['_init'](){const _0x5a040c=_0x35dcc5;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x1acd3c[_0x5a040c(0x8d)][_0x5a040c(0x97)])[_0x5a040c(0x22a)](_0x52b4d8['takeUntil'](this[_0x5a040c(0x2f9)]))['subscribe'](async _0x419d79=>{const _0x2e7dc5=_0x5a040c,_0x145e84=_0x419d79[_0x2e7dc5(0x2cb)](),_0x48e2c1=await this['_startSheetCollabCursor'](_0x145e84);this[_0x2e7dc5(0x133)][_0x2e7dc5(0xba)](_0x48e2c1),this[_0x2e7dc5(0x142)][_0x2e7dc5(0x375)](_0x145e84,_0x48e2c1);}),this[_0x5a040c(0x2ee)][_0x5a040c(0x225)](_0x1acd3c[_0x5a040c(0x8d)][_0x5a040c(0x1b2)])['pipe'](_0x52b4d8[_0x5a040c(0xa7)](this[_0x5a040c(0x2f9)]))[_0x5a040c(0x22a)](_0x52b4d8[_0x5a040c(0x2e9)](_0x4d0035=>!_0x4d0035[_0x5a040c(0x2cb)]()[_0x5a040c(0x17f)]('__')))[_0x5a040c(0xc6)](async _0x3d4238=>{const _0x154380=_0x5a040c,_0xb270ef=_0x3d4238[_0x154380(0x2cb)](),_0x5b37ee=await this[_0x154380(0x36a)](_0xb270ef);this['_entityInit$'][_0x154380(0xba)](_0x5b37ee),this[_0x154380(0x142)][_0x154380(0x375)](_0xb270ef,_0x5b37ee);}),_0x52b4d8[_0x5a040c(0x88)](this[_0x5a040c(0x2ee)][_0x5a040c(0x284)](_0x1acd3c['UniverInstanceType']['UNIVER_DOC']),this[_0x5a040c(0x2ee)][_0x5a040c(0x284)](_0x1acd3c[_0x5a040c(0x8d)][_0x5a040c(0x97)]))['pipe'](_0x52b4d8[_0x5a040c(0xa7)](this[_0x5a040c(0x2f9)]))['subscribe'](_0x534858=>{const _0x1efc7e=_0x5a040c,_0xfb0fe4=_0x534858['getUnitId'](),_0x3ea2ae=this[_0x1efc7e(0x142)][_0x1efc7e(0x343)](_0xfb0fe4);_0x3ea2ae&&(_0x3ea2ae[_0x1efc7e(0x381)](),this['_entities'][_0x1efc7e(0x2bb)](_0xfb0fe4));});}async[_0x35dcc5(0x198)](_0x16d79a){const _0x1def99=_0x35dcc5,_0xd77182=await this[_0x1def99(0x2ea)][_0x1def99(0x2c9)](_0x16d79a),_0x360995=this['_injector']['createInstance'](_0x3b7df7,_0x16d79a,_0xd77182);return _0x360995[_0x1def99(0xfd)](),_0x360995;}async['_startDocCollabCursor'](_0x13c646){const _0x3f74af=_0x35dcc5,_0xebe179=await this[_0x3f74af(0x2ea)][_0x3f74af(0x2c9)](_0x13c646),_0x38dc30=this['_injector'][_0x3f74af(0x1ff)](_0x51b1c2,_0x13c646,_0xebe179);return _0x38dc30[_0x3f74af(0xfd)](),_0x38dc30;}};_0x224c41=_0x504e92([_0x1a1d42(0x0,_0x1acd3c[_0x35dcc5(0x329)]),_0x1a1d42(0x1,_0x1acd3c['Inject'](_0x1acd3c[_0x35dcc5(0x11b)])),_0x1a1d42(0x2,_0x1acd3c[_0x35dcc5(0x36c)](_0xe836dc[_0x35dcc5(0x1e7)]))],_0x224c41);const _0x1be3de=0x14,_0xa03e9=0xc8,_0x36129c=0x4,_0x157402=0x5;function _0x3266e6(_0x36ab44,_0x3d3a02){const _0x2e4186=_0x35dcc5;let {radius:_0x5adadf,width:_0x78f4a2,height:_0x2e1bd7}=_0x3d3a02;_0x5adadf=_0x5adadf!=null?_0x5adadf:0x0,_0x78f4a2=_0x78f4a2!=null?_0x78f4a2:0x1e,_0x2e1bd7=_0x2e1bd7!=null?_0x2e1bd7:0x1e;let _0x5a9f68=0x0,_0x251fc8=0x0,_0x290631=0x0;_0x5a9f68=_0x251fc8=_0x290631=Math[_0x2e4186(0x1e0)](_0x5adadf,_0x78f4a2/0x2,_0x2e1bd7/0x2),_0x36ab44[_0x2e4186(0xc3)](),_0x36ab44[_0x2e4186(0x1cc)](_0x5a9f68,0x0),_0x36ab44[_0x2e4186(0x19b)](_0x78f4a2-_0x251fc8,0x0),_0x36ab44[_0x2e4186(0x20d)](_0x78f4a2-_0x251fc8,_0x251fc8,_0x251fc8,Math['PI']*0x3/0x2,0x0,!0x1),_0x36ab44[_0x2e4186(0x19b)](_0x78f4a2,_0x2e1bd7-_0x290631),_0x36ab44[_0x2e4186(0x20d)](_0x78f4a2-_0x290631,_0x2e1bd7-_0x290631,_0x290631,0x0,Math['PI']/0x2,!0x1),_0x36ab44[_0x2e4186(0x19b)](0x0,_0x2e1bd7),_0x36ab44[_0x2e4186(0x19b)](0x0,_0x5a9f68),_0x36ab44[_0x2e4186(0x20d)](_0x5a9f68,_0x5a9f68,_0x5a9f68,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x36ab44['closePath'](),_0x3d3a02[_0x2e4186(0x1cf)]&&(_0x36ab44['save'](),_0x36ab44[_0x2e4186(0xfb)]=_0x3d3a02[_0x2e4186(0x1cf)],_0x3d3a02['fillRule']===_0x2e4186(0x10d)?_0x36ab44[_0x2e4186(0x1cf)](_0x2e4186(0x10d)):_0x36ab44[_0x2e4186(0x1cf)](),_0x36ab44[_0x2e4186(0x219)]());}class _0x1aaf15 extends _0x4dbd74[_0x35dcc5(0x358)]{constructor(_0x38e862,_0x39e8dc){const _0x572ea9=_0x35dcc5;super(_0x38e862,_0x39e8dc),_0x504098(this,'color'),_0x504098(this,_0x572ea9(0xd2)),(this['color']=_0x39e8dc==null?void 0x0:_0x39e8dc[_0x572ea9(0x27c)],this['text']=_0x39e8dc==null?void 0x0:_0x39e8dc[_0x572ea9(0xd2)]);}static['drawWith'](_0x56982c,_0x167aa1){const _0x4a851c=_0x35dcc5,{text:_0x1420f0,color:_0x10da22}=_0x167aa1;_0x56982c[_0x4a851c(0x37b)](),_0x56982c[_0x4a851c(0x1e5)]=_0x4a851c(0x35e);const _0x1763c3=_0x56982c['measureText'](_0x1420f0)[_0x4a851c(0x311)],_0x2b8b97=Math[_0x4a851c(0x1e0)](_0x1763c3+0x2*_0x36129c,_0xa03e9);_0x3266e6(_0x56982c,{'height':_0x1be3de,'radius':0x4,'width':_0x2b8b97,'fill':_0x10da22}),_0x56982c['fillStyle']='#FFF';const _0x376c9e=_0x36129c,_0x284e68=_0x1be3de-_0x157402,_0x162587=_0xa03e9-0x2*_0x36129c;if(_0x1763c3>_0x162587){let _0x1c2028='',_0xc68952=0x0;for(const _0x1d14c1 of _0x1420f0){const _0x2ce474=_0x56982c[_0x4a851c(0x108)](_0x1d14c1)['width'];if(_0xc68952+_0x2ce474<=_0x162587-_0x56982c['measureText']('...')[_0x4a851c(0x311)])_0x1c2028+=_0x1d14c1,_0xc68952+=_0x2ce474;else{_0x1c2028+='...';break;}}_0x56982c[_0x4a851c(0x2d8)](_0x1c2028,_0x376c9e,_0x284e68);}else _0x56982c[_0x4a851c(0x2d8)](_0x1420f0,_0x376c9e,_0x284e68);_0x56982c[_0x4a851c(0x219)]();}['_draw'](_0x137b91){const _0x12173a=_0x35dcc5;_0x1aaf15[_0x12173a(0x205)](_0x137b91,this);}}const _0x59fab8='collab-text-anchor-',_0x3a9f81=_0x35dcc5(0x34e),_0x46b727='collab-rect-range-',_0x54bcc5=0x6,_0x898d05=1.5,_0xbe2765=0x4,_0x170b47=1.5,_0x25e4a1=_0x35dcc5(0x17d);class _0x274d19{constructor(_0x5b9fc2,_0x15be6d,_0x5e032c,_0x146662){const _0x22a9f3=_0x35dcc5;_0x504098(this,_0x22a9f3(0x13c),[]),_0x504098(this,'_anchor',null),_0x504098(this,_0x22a9f3(0x235),null),_0x504098(this,'_anchorDot',null),_0x504098(this,_0x22a9f3(0x158),null),_0x504098(this,_0x22a9f3(0x326),null),(this[_0x22a9f3(0x138)]=_0x5b9fc2,this[_0x22a9f3(0x1bd)]=_0x15be6d,this['_docSkeleton']=_0x5e032c,this['_document']=_0x146662,this[_0x22a9f3(0x1bc)]());}set[_0x35dcc5(0x2fa)](_0x2aa9d9){const _0x2d070e=_0x35dcc5;_0x2aa9d9?(this[_0x2d070e(0xf0)]&&this[_0x2d070e(0xf0)]['hide'](),this[_0x2d070e(0x235)]&&this[_0x2d070e(0x235)]['show']()):(this[_0x2d070e(0xf0)]&&this[_0x2d070e(0xf0)][_0x2d070e(0x18a)](),this[_0x2d070e(0x235)]&&this[_0x2d070e(0x235)]['hide']());}[_0x35dcc5(0x381)](){const _0x1ff236=_0x35dcc5;for(const _0x58eca3 of this[_0x1ff236(0x13c)])_0x58eca3[_0x1ff236(0x381)]();this['_textBubble']&&this[_0x1ff236(0x235)][_0x1ff236(0x381)](),this[_0x1ff236(0xf0)]&&this[_0x1ff236(0xf0)][_0x1ff236(0x381)](),this['_anchor']&&this[_0x1ff236(0x124)][_0x1ff236(0x381)](),this['_eventUnsubscribe']&&this[_0x1ff236(0x326)]();}[_0x35dcc5(0x1bc)](){const _0x2bea37=_0x35dcc5;var _0x14d946;const {_docSkeleton:_0x14f96f,_document:_0x3375a6}=this,{color:_0x5a249a,name:_0x2322fb,ranges:_0x150f34}=this['_cursor'],_0x253137=_0x3375a6[_0x2bea37(0x299)](),{docsLeft:_0x4c12b9,docsTop:_0x594c21}=_0x253137,_0x590fab=new _0x4a5890[(_0x2bea37(0x261))](_0x253137,_0x14f96f);for(const {startOffset:_0x814156,endOffset:_0x5517a9,rangeType:_0x13a6ba,segmentId:_0x42408c,segmentPage:_0x5080f6,collapsed:_0x2557f7,isActive:_0x1a1931}of _0x150f34){const _0x5a612e=_0x14f96f[_0x2bea37(0xac)](_0x814156,!0x0,_0x42408c,_0x5080f6);let _0x34b0ee=_0x14f96f[_0x2bea37(0xac)](_0x5517a9,!0x0,_0x42408c,_0x5080f6);if(_0x34b0ee==null&&(_0x34b0ee=_0x14f96f[_0x2bea37(0xac)](_0x5517a9-0x1,!0x1,_0x42408c,_0x5080f6)),_0x1a1931){const {contentBoxPointGroup:_0x14ef16}=_0x590fab['getRangePointData'](_0x34b0ee,_0x34b0ee);if(_0x14ef16[_0x2bea37(0x36b)]===0x0)continue;this[_0x2bea37(0xab)](_0x5a249a,_0x14ef16,_0x4c12b9,_0x594c21,_0x2322fb),this[_0x2bea37(0x326)]=this[_0x2bea37(0x328)]();}if(_0x5a612e&&_0x34b0ee){if(_0x13a6ba===_0x1acd3c['DOC_RANGE_TYPE'][_0x2bea37(0x1ca)]){const _0x6e3bfa=new _0x4a5890[(_0x2bea37(0x22b))](_0x253137,_0x14f96f),{pointGroup:_0x2c68a2}=(_0x14d946=_0x6e3bfa[_0x2bea37(0x99)](_0x5a612e,_0x34b0ee))!=null?_0x14d946:{};if(_0x2c68a2==null||_0x2c68a2[_0x2bea37(0x36b)]===0x0)continue;this[_0x2bea37(0x32d)](_0x5a249a,_0x2c68a2,_0x4c12b9,_0x594c21);}else{if(!_0x2557f7){const {borderBoxPointGroup:_0x8f8d29}=_0x590fab[_0x2bea37(0x99)](_0x5a612e,_0x34b0ee);if(_0x8f8d29[_0x2bea37(0x36b)]===0x0)continue;this[_0x2bea37(0x104)](_0x5a249a,_0x8f8d29,_0x4c12b9,_0x594c21);}}}}}['_drawAnchor'](_0x4fd484,_0x4691c5,_0x4557be,_0x705aad,_0x3e5140){const _0x233b7c=_0x35dcc5,_0x5a7fa6=this[_0x233b7c(0x15e)](_0x4691c5),{left:_0x23295f,top:_0x4e558c,height:_0x212d60}=_0x5a7fa6,_0x29dcfe=this[_0x233b7c(0xb0)](),_0xf3de69=_0x170b47/_0x29dcfe,_0x52127a=new _0x4dbd74[(_0x233b7c(0x33e))](_0x59fab8+_0x1acd3c[_0x233b7c(0x23f)](_0x54bcc5),{'left':_0x23295f+_0x4557be-_0xf3de69,'top':_0x4e558c+_0x705aad,'height':_0x212d60,'width':_0x898d05,'fill':_0x4fd484||_0x4dbd74['getColor'](_0x1acd3c['COLORS'][_0x233b7c(0x25b)],0x0),'strokeWidth':_0xf3de69,'stroke':_0x25e4a1,'evented':!0x0});this[_0x233b7c(0x124)]=_0x52127a,this[_0x233b7c(0x1bd)][_0x233b7c(0x2c6)](_0x52127a,_0x4a5890[_0x233b7c(0x307)]);const _0x553dca=new _0x4dbd74['Rect'](_0x59fab8+_0x1acd3c[_0x233b7c(0x23f)](_0x54bcc5),{'left':_0x23295f+_0x4557be-_0xf3de69,'top':_0x4e558c+_0x705aad-_0xbe2765/0x2,'height':_0xbe2765,'width':_0xbe2765,'fill':_0x4fd484||_0x4dbd74[_0x233b7c(0x2ac)](_0x1acd3c[_0x233b7c(0x301)][_0x233b7c(0x25b)],0x0),'strokeWidth':0x0,'stroke':_0x4fd484||_0x4dbd74[_0x233b7c(0x2ac)](_0x1acd3c[_0x233b7c(0x301)][_0x233b7c(0x25b)],0x0),'evented':!0x1});this[_0x233b7c(0xf0)]=_0x553dca,this[_0x233b7c(0x1bd)][_0x233b7c(0x2c6)](_0x553dca,_0x4a5890[_0x233b7c(0x307)]);const _0xd85097=new _0x1aaf15(_0x59fab8+_0x1acd3c[_0x233b7c(0x23f)](_0x54bcc5),{'left':_0x23295f+_0x4557be-_0xf3de69,'top':_0x4e558c+_0x705aad-_0x1be3de,'text':_0x3e5140,'color':_0x4fd484});this['_textBubble']=_0xd85097,this['_scene']['addObject'](_0xd85097,_0x4a5890[_0x233b7c(0x307)]),this[_0x233b7c(0x2fa)]=!0x1;}[_0x35dcc5(0x328)](){const _0x121484=_0x35dcc5,_0x2cbbb1=this[_0x121484(0x124)][_0x121484(0x202)][_0x121484(0x192)](()=>{const _0xe30568=_0x121484;this[_0xe30568(0x2fa)]=!0x0;}),_0x2d8964=this['_anchor'][_0x121484(0x2f8)]['subscribeEvent'](()=>{const _0x3f471a=_0x121484;this[_0x3f471a(0x158)]&&clearTimeout(this[_0x3f471a(0x158)]),this[_0x3f471a(0x158)]=setTimeout(()=>{const _0x46d052=_0x3f471a;this[_0x46d052(0x2fa)]=!0x1;},0x7d0);});return()=>{const _0x128ca6=_0x121484;_0x2cbbb1['unsubscribe'](),_0x2d8964[_0x128ca6(0x27b)]();};}[_0x35dcc5(0x104)](_0x429591,_0x4d023e,_0x5567c9,_0x4c6a4e){const _0xe9372e=_0x35dcc5,_0x4d17d4=new _0x1acd3c[(_0xe9372e(0x230))](_0x429591)['setAlpha'](0.2)[_0xe9372e(0x256)](),_0x5a58cf=new _0x4dbd74[(_0xe9372e(0xfa))](_0x3a9f81+_0x1acd3c['generateRandomId'](_0x54bcc5),{'pointsGroup':_0x4d023e,'fill':_0x4d17d4||_0x4dbd74[_0xe9372e(0x2ac)](_0x1acd3c[_0xe9372e(0x301)][_0xe9372e(0x25b)],0.2),'left':_0x5567c9,'top':_0x4c6a4e,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x5a58cf),this[_0xe9372e(0x1bd)]['addObject'](_0x5a58cf,_0x4a5890[_0xe9372e(0x307)]);}[_0x35dcc5(0x32d)](_0x5acac9,_0xe5d6e1,_0x49c58c,_0x254a64){const _0x3408c4=_0x35dcc5,_0x42cdc9=new _0x1acd3c[(_0x3408c4(0x230))](_0x5acac9)[_0x3408c4(0x257)](0.2)[_0x3408c4(0x256)](),_0x3a62ec=new _0x4dbd74[(_0x3408c4(0xfa))](_0x46b727+_0x1acd3c[_0x3408c4(0x23f)](_0x54bcc5),{'pointsGroup':_0xe5d6e1,'fill':_0x42cdc9||_0x4dbd74[_0x3408c4(0x2ac)](_0x1acd3c[_0x3408c4(0x301)][_0x3408c4(0x25b)],0.2),'left':_0x49c58c,'top':_0x254a64,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3408c4(0x13c)][_0x3408c4(0x2c2)](_0x3a62ec),this[_0x3408c4(0x1bd)]['addObject'](_0x3a62ec,_0x4a5890[_0x3408c4(0x307)]);}[_0x35dcc5(0x15e)](_0x11d8e2){const _0x4e1529=_0x11d8e2[0x0],_0x3b65df=_0x4e1529[0x0],_0x3f6fa7=_0x4e1529[0x2],{x:_0x478414,y:_0x434f8d}=_0x3b65df,{x:_0x1184b3,y:_0x5e3035}=_0x3f6fa7;return{'left':_0x478414,'top':_0x434f8d,'width':_0x1184b3-_0x478414,'height':_0x5e3035-_0x434f8d};}[_0x35dcc5(0xb0)](){const _0x3e0d07=_0x35dcc5,{scaleX:_0x2c6c5b,scaleY:_0x20da77}=this[_0x3e0d07(0x1bd)][_0x3e0d07(0x18e)]();return Math['max'](_0x2c6c5b,_0x20da77);}}var _0x20f9cd=Object[_0x35dcc5(0x378)],_0x19a1a0=(_0x150605,_0x1e0141,_0xffefc,_0x48c2b4)=>{const _0xa7427a=_0x35dcc5;for(var _0x1c3ede=_0x48c2b4>0x1?void 0x0:_0x48c2b4?_0x20f9cd(_0x1e0141,_0xffefc):_0x1e0141,_0x2f0d53=_0x150605[_0xa7427a(0x36b)]-0x1,_0x482d0a;_0x2f0d53>=0x0;_0x2f0d53--)(_0x482d0a=_0x150605[_0x2f0d53])&&(_0x1c3ede=_0x482d0a(_0x1c3ede)||_0x1c3ede);return _0x1c3ede;},_0x51bd1b=(_0x42c1aa,_0x4b77ba)=>(_0x660978,_0x409f34)=>_0x4b77ba(_0x660978,_0x409f34,_0x42c1aa);let _0x2a51ff=class extends _0x1acd3c[_0x35dcc5(0x1f6)]{constructor(_0x4a23ba,_0x4221ee,_0x13a93e,_0x36659c,_0x16d731){const _0x4addb3=_0x35dcc5;super(),_0x504098(this,_0x4addb3(0x24f),[]),_0x504098(this,_0x4addb3(0x140),[]),(this[_0x4addb3(0xf9)]=_0x4a23ba,this['_docSkeletonManagerService']=_0x4221ee,this['_collabCursorController']=_0x13a93e,this['_commandService']=_0x36659c,this[_0x4addb3(0xe8)]=_0x16d731,this['_init']());}[_0x35dcc5(0x216)](){const _0x140391=_0x35dcc5,_0x595cf4=this[_0x140391(0xf9)][_0x140391(0x334)],_0x122a45=this[_0x140391(0x1f2)];this[_0x140391(0x362)](_0x52b4d8[_0x140391(0x336)]([this[_0x140391(0xd8)][_0x140391(0x8c)](_0x595cf4),this[_0x140391(0xe8)][_0x140391(0x1c9)]])['pipe'](_0x20b870[_0x140391(0x365)](([_0x4938d1,_0x76b9c7])=>({'skeleton':_0x122a45[_0x140391(0x120)](),'cursors':[..._0x4938d1[_0x140391(0x1b9)]()][_0x140391(0x179)](_0x5789f5=>({..._0x5789f5,'color':this[_0x140391(0xe8)][_0x140391(0x1d9)](_0x5789f5[_0x140391(0x27c)])}))})))[_0x140391(0xc6)](_0xf259f0=>{const _0x8fc382=_0x140391;if(this[_0x8fc382(0x182)](),_0xf259f0){const {skeleton:_0x52cdcc,cursors:_0x5e549a}=_0xf259f0;this[_0x8fc382(0x31c)](_0x52cdcc,_0x5e549a);}})),this[_0x140391(0xdb)](),this[_0x140391(0x132)]();}[_0x35dcc5(0x31c)](_0x42ca8d,_0x27a4b5){const _0x2478fc=_0x35dcc5,{scene:_0x1b59f7,mainComponent:_0x3246ab}=this[_0x2478fc(0xf9)],_0x350d88=_0x27a4b5[_0x2478fc(0x365)](_0x143ab1=>new _0x274d19(_0x143ab1,_0x1b59f7,_0x42ca8d,_0x3246ab));this[_0x2478fc(0x24f)]=_0x350d88,this['_cursors']=_0x27a4b5;}[_0x35dcc5(0x2b5)](){const _0x18ad55=_0x35dcc5;this[_0x18ad55(0x182)]();const {scene:_0x32039e,mainComponent:_0x37962c}=this[_0x18ad55(0xf9)],_0x5b21ec=this[_0x18ad55(0x1f2)][_0x18ad55(0x120)](),_0x35d742=this['_cursors']['map'](_0x1dd429=>new _0x274d19(_0x1dd429,_0x32039e,_0x5b21ec,_0x37962c));this[_0x18ad55(0x24f)]=_0x35d742;}[_0x35dcc5(0x182)](){const _0x2d1d8c=_0x35dcc5;this['_cursorShapes'][_0x2d1d8c(0x9a)](_0x3fed81=>_0x3fed81[_0x2d1d8c(0x381)]()),this[_0x2d1d8c(0x24f)]=[];}[_0x35dcc5(0x132)](){const _0x5be644=_0x35dcc5,_0x727f4c=[_0x4a5890[_0x5be644(0x305)]['id']];this[_0x5be644(0x362)](this[_0x5be644(0xe6)][_0x5be644(0x1d7)](_0x49bbda=>{const _0x5939d6=_0x5be644;_0x727f4c[_0x5939d6(0x34d)](_0x49bbda['id'])&&_0x49bbda[_0x5939d6(0x164)][_0x5939d6(0x334)]===this[_0x5939d6(0xf9)][_0x5939d6(0x334)]&&this['_refreshCollabCursors']();}));}[_0x35dcc5(0xdb)](){const _0x19c9a0=_0x35dcc5;this[_0x19c9a0(0x362)](_0x1acd3c[_0x19c9a0(0x26c)](this['_context'][_0x19c9a0(0x121)][_0x19c9a0(0x31e)])[_0x19c9a0(0x22a)](_0x20b870[_0x19c9a0(0x2e9)](_0x59df50=>_0x59df50[_0x19c9a0(0x17a)]===_0x4dbd74[_0x19c9a0(0x24d)][_0x19c9a0(0x201)]),_0x20b870[_0x19c9a0(0x214)](0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};_0x2a51ff=_0x19a1a0([_0x51bd1b(0x1,_0x1acd3c[_0x35dcc5(0x36c)](_0x3e8285[_0x35dcc5(0x2a6)])),_0x51bd1b(0x2,_0x1acd3c[_0x35dcc5(0x36c)](_0x224c41)),_0x51bd1b(0x3,_0x1acd3c[_0x35dcc5(0x27e)]),_0x51bd1b(0x4,_0x1acd3c[_0x35dcc5(0x36c)](_0x1acd3c[_0x35dcc5(0x139)]))],_0x2a51ff);const _0x4f518b=0x1,_0x40423f=1.5;class _0x17cc8b extends _0x4dbd74[_0x35dcc5(0x358)]{constructor(_0x5333a7,_0x26e6a4){const _0x5107b9=_0x35dcc5;super(_0x5333a7,_0x26e6a4),_0x504098(this,_0x5107b9(0x292)),_0x504098(this,_0x5107b9(0x2af),!0x1),_0x504098(this,_0x5107b9(0x21f)),_0x504098(this,_0x5107b9(0x222),''),_0x504098(this,_0x5107b9(0xa2),_0x5107b9(0x37c)),_0x504098(this,_0x5107b9(0x275)),(_0x26e6a4&&this[_0x5107b9(0x165)](_0x26e6a4),this[_0x5107b9(0x202)][_0x5107b9(0x192)](()=>this[_0x5107b9(0x165)]({'hovered':!0x0})),this['onPointerLeave$'][_0x5107b9(0x192)](()=>this[_0x5107b9(0x165)]({'hovered':!0x1})));}[_0x35dcc5(0x165)](_0x244903){const _0x121aec=_0x35dcc5;var _0x2f5e49,_0xc53170,_0x57427b,_0x2f677d,_0x1d816e,_0x3b2d05;this[_0x121aec(0x292)]=(_0x2f5e49=_0x244903[_0x121aec(0x27c)])!=null?_0x2f5e49:this[_0x121aec(0x292)],this['_hovered']=(_0xc53170=_0x244903[_0x121aec(0x2cd)])!=null?_0xc53170:this['_hovered'],this[_0x121aec(0x21f)]=(_0x57427b=_0x244903['range'])!=null?_0x57427b:this[_0x121aec(0x21f)],this['_name']=(_0x2f677d=_0x244903['name'])!=null?_0x2f677d:this[_0x121aec(0x222)],this[_0x121aec(0xa2)]=(_0x1d816e=_0x244903[_0x121aec(0x2ed)])!=null?_0x1d816e:this[_0x121aec(0xa2)],this['_backgroundColor']=(_0x3b2d05=_0x244903[_0x121aec(0x1ed)])!=null?_0x3b2d05:this[_0x121aec(0x275)],this[_0x121aec(0x2d4)]({'width':_0x244903['width'],'height':_0x244903['height']});}[_0x35dcc5(0x346)](_0x453ef3){const _0x50fb76=_0x35dcc5,{row:_0x115386,column:_0x8f8d8d}=_0x453ef3;if(_0x115386>=this[_0x50fb76(0x21f)][_0x50fb76(0x122)]&&_0x115386<=this[_0x50fb76(0x21f)][_0x50fb76(0xbf)]&&_0x8f8d8d>=this['_range'][_0x50fb76(0x270)]&&_0x8f8d8d<=this[_0x50fb76(0x21f)][_0x50fb76(0x13b)]){this[_0x50fb76(0x165)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x35dcc5(0x321)](_0x5e7369){return!0x1;}[_0x35dcc5(0x200)](_0x15a6bd){const _0x571f36=_0x35dcc5;_0x4dbd74[_0x571f36(0x33e)]['drawWith'](_0x15a6bd,{'width':this[_0x571f36(0x311)],'height':this['height'],'strokeWidth':_0x40423f,'stroke':this[_0x571f36(0x292)],'evented':!0x1,'fill':this[_0x571f36(0x275)]}),this[_0x571f36(0x2af)]&&(_0x15a6bd[_0x571f36(0x37b)](),_0x15a6bd[_0x571f36(0x160)](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x571f36(0x28f)?0x0:-_0x1be3de),_0x1aaf15[_0x571f36(0x205)](_0x15a6bd,{'text':this[_0x571f36(0x222)],'color':this[_0x571f36(0x292)]}),_0x15a6bd[_0x571f36(0x219)]());}}var _0x3f2731=Object[_0x35dcc5(0x378)],_0x50f509=(_0x5c5044,_0x3bab73,_0x461e28,_0x4f3a6d)=>{const _0x5c42b1=_0x35dcc5;for(var _0x1e2017=_0x4f3a6d>0x1?void 0x0:_0x4f3a6d?_0x3f2731(_0x3bab73,_0x461e28):_0x3bab73,_0x3dd428=_0x5c5044[_0x5c42b1(0x36b)]-0x1,_0x2cda26;_0x3dd428>=0x0;_0x3dd428--)(_0x2cda26=_0x5c5044[_0x3dd428])&&(_0x1e2017=_0x2cda26(_0x1e2017)||_0x1e2017);return _0x1e2017;},_0x194512=(_0x318a4e,_0x3f9772)=>(_0x3ae66e,_0x447127)=>_0x3f9772(_0x3ae66e,_0x447127,_0x318a4e);const _0x131984=0x1389;let _0x4f2b9e=class extends _0x1acd3c[_0x35dcc5(0x1f6)]{constructor(_0x177d28,_0x56f2b6,_0x4290fd,_0x208c5b){const _0x4bffe8=_0x35dcc5;super(),_0x504098(this,_0x4bffe8(0x140),new Set()),_0x504098(this,'_lastPointer',null),(this[_0x4bffe8(0xf9)]=_0x177d28,this[_0x4bffe8(0xe7)]=_0x56f2b6,this[_0x4bffe8(0xd8)]=_0x4290fd,this[_0x4bffe8(0xe8)]=_0x208c5b,this[_0x4bffe8(0x216)]());}[_0x35dcc5(0x216)](){const _0x26bca4=_0x35dcc5;this[_0x26bca4(0xe7)]['currentSkeleton$']['pipe'](_0x20b870[_0x26bca4(0xa7)](this['dispose$']),_0x20b870[_0x26bca4(0x1ac)](_0x1f9eea=>{const _0x26d220=_0x26bca4;if(_0x1f9eea){const _0x28b008=_0x1f9eea['sheetId'];return _0x52b4d8[_0x26d220(0x336)](this['_collabCursorController'][_0x26d220(0x8c)](this['_context']['unitId']),this[_0x26d220(0xe8)][_0x26d220(0x1c9)])['pipe'](_0x20b870['map'](([_0x1f479e,_0x3b62b7])=>{const _0xaf6e16=_0x26d220,_0x3f0b84=new Map();return _0x1f479e[_0xaf6e16(0x9a)]((_0x1387e2,_0x14f9f7)=>{const _0x1bc18e=_0xaf6e16;if(_0x1387e2[_0x1bc18e(0x185)]===_0x28b008){const _0x70a2aa={..._0x1387e2};_0x70a2aa[_0x1bc18e(0x27c)]=this[_0x1bc18e(0xe8)][_0x1bc18e(0x1d9)](_0x1387e2[_0x1bc18e(0x27c)]),_0x3f0b84['set'](_0x14f9f7,_0x70a2aa);}}),{'skeleton':_0x1f9eea,'cursors':_0x3f0b84};}));}return _0x52b4d8['of']({'skeleton':null,'cursors':new Map()});}))[_0x26bca4(0xc6)](({skeleton:_0x4de974,cursors:_0x5375ea})=>{const _0x4c4eb3=_0x26bca4;this['_removeCollabCursors'](),_0x4de974&&this[_0x4c4eb3(0x31c)](_0x4de974,_0x5375ea);}),this[_0x26bca4(0xe7)][_0x26bca4(0x17c)][_0x26bca4(0xc6)](_0x225ba7=>{const _0x3140b1=_0x26bca4;if(_0x225ba7==null)return;const {skeleton:_0x41e392}=_0x225ba7,{scene:_0x25dc40}=this[_0x3140b1(0xf9)];_0x25dc40[_0x3140b1(0x380)]['subscribeEvent'](_0x1acd3c['debounce'](_0x4de2d6=>{const _0x5511ca=_0x3140b1;var _0x1c464f,_0x251dae;const {offsetX:_0x59f5bb,offsetY:_0x2193b7}=_0x4de2d6,{x:_0x336588,y:_0x2a3f0e}=_0x25dc40['getRelativeToViewportCoord'](_0x4dbd74[_0x5511ca(0x24b)][_0x5511ca(0x352)]([_0x59f5bb,_0x2193b7])),{scaleX:_0x257aa8,scaleY:_0x32eaf8}=_0x25dc40[_0x5511ca(0x18e)](),_0x437b11=_0x25dc40[_0x5511ca(0x2f3)](_0x4dbd74['SHEET_VIEWPORT_KEY'][_0x5511ca(0x342)]),_0x2081d5=_0x25dc40[_0x5511ca(0x249)](_0x4dbd74[_0x5511ca(0x24b)]['FromArray']([_0x336588,_0x2a3f0e]),_0x437b11),_0x294f8b=_0x41e392[_0x5511ca(0x2ad)](_0x59f5bb,_0x2193b7,_0x257aa8,_0x32eaf8,_0x2081d5);((_0x1c464f=this[_0x5511ca(0x135)])==null?void 0x0:_0x1c464f['column'])===_0x294f8b[_0x5511ca(0x31d)]&&((_0x251dae=this[_0x5511ca(0x135)])==null?void 0x0:_0x251dae[_0x5511ca(0xe3)])===_0x294f8b['row']||this['_cursors'][_0x5511ca(0x9a)](_0x7b52c=>{const _0x465bf0=_0x5511ca;_0x7b52c[_0x465bf0(0x346)](_0x294f8b);});},0x64));});}[_0x35dcc5(0x31c)](_0x34d998,_0x3c70b8){const _0xaf5a73=_0x35dcc5;var _0x3be247;const _0x17c500=(_0x3be247=this[_0xaf5a73(0xe7)][_0xaf5a73(0x291)]())==null?void 0x0:_0x3be247[_0xaf5a73(0x2dd)];if(!_0x17c500)return;const _0x412b2b=this[_0xaf5a73(0x1db)]();if(!_0x412b2b)return;this[_0xaf5a73(0x140)][_0xaf5a73(0x9a)](_0x711f61=>{const _0xdfee77=_0xaf5a73;_0x711f61[_0xdfee77(0x2de)]();});const {scene:_0x2b02a4}=_0x412b2b,_0x4c2c80=_0x4dd79b(Array[_0xaf5a73(0x29a)](_0x3c70b8[_0xaf5a73(0x1b9)]()))['map'](_0x30a4b6=>{const _0x5aadaf=_0xaf5a73,{color:_0x2c2a0a,range:_0x529cfd,name:_0x29ba0b,selection:_0xdc75a,sheetID:_0x4946ea}=_0x30a4b6,{startColumn:_0x4dd7b2,startRow:_0x574a41,endColumn:_0x232fb1,endRow:_0x2d905f}=_0x529cfd,_0x18441b=_0x3f878d[_0x5aadaf(0x35c)](_0x574a41,_0x4dd7b2,_0x2b02a4,_0x17c500),_0x120e7d=_0x3f878d[_0x5aadaf(0x35c)](_0x2d905f,_0x232fb1,_0x2b02a4,_0x17c500),{columnHeaderHeightAndMarginTop:_0x11e291}=_0x17c500,{startX:_0x43ab04,startY:_0x359843}=_0x18441b,{endX:_0x53a94c,endY:_0x3ffe04}=_0x120e7d,_0x28e1e0=_0x53a94c-_0x43ab04,_0x30717b=_0x3ffe04-_0x359843,_0x20022e={'labelPosition':_0x359843-_0x11e291>=_0x1be3de?_0x5aadaf(0x37c):'bottom','sheetID':_0x4946ea,'range':_0x529cfd,'color':_0x2c2a0a,'name':_0x29ba0b,'selection':_0xdc75a,'left':_0x43ab04,'top':_0x359843,'width':_0x28e1e0,'height':_0x30717b,'evented':!0x1,'zIndex':_0x131984};return new _0x17cc8b(_0x29ba0b,_0x20022e);});_0x2b02a4[_0xaf5a73(0x163)](_0x4c2c80,_0x4f518b),this[_0xaf5a73(0x140)]=new Set(_0x4c2c80);}['_removeCollabCursors'](){const _0x1d0b00=_0x35dcc5;var _0x937b0b;(_0x937b0b=this[_0x1d0b00(0x140)])==null||_0x937b0b[_0x1d0b00(0x9a)](_0x5d7652=>_0x5d7652[_0x1d0b00(0x381)]());}[_0x35dcc5(0x1db)](){const _0x1a88dc=_0x35dcc5;return _0x3f878d[_0x1a88dc(0x1d3)](this[_0x1a88dc(0xf9)][_0x1a88dc(0xb3)],this[_0x1a88dc(0xf9)]);}};_0x4f2b9e=_0x50f509([_0x194512(0x1,_0x1acd3c[_0x35dcc5(0x36c)](_0x3f878d['SheetSkeletonManagerService'])),_0x194512(0x2,_0x1acd3c[_0x35dcc5(0x36c)](_0x224c41)),_0x194512(0x3,_0x1acd3c[_0x35dcc5(0x36c)](_0x1acd3c[_0x35dcc5(0x139)]))],_0x4f2b9e);function _0x4dd79b(_0x3f2665){const _0x4d6b22=_0x35dcc5,_0x3927c9=new Map();return _0x3f2665[_0x4d6b22(0x9a)](_0x1982af=>{const _0x3aa704=_0x4d6b22;if(_0x3927c9[_0x3aa704(0x1ba)](_0x1982af['selection'])){const _0x30c154=_0x3927c9[_0x3aa704(0x343)](_0x1982af[_0x3aa704(0x231)]);_0x30c154[_0x3aa704(0x10b)]+=',\x20'+_0x1982af[_0x3aa704(0x10b)];}else _0x3927c9['set'](_0x1982af[_0x3aa704(0x231)],_0x1982af);}),Array[_0x4d6b22(0x29a)](_0x3927c9[_0x4d6b22(0x1b9)]());}var _0x2bb036=Object[_0x35dcc5(0x378)],_0x25444b=(_0x14888c,_0x574651,_0x2d5c3b,_0x54a110)=>{const _0x26af63=_0x35dcc5;for(var _0x18107c=_0x54a110>0x1?void 0x0:_0x54a110?_0x2bb036(_0x574651,_0x2d5c3b):_0x574651,_0x216ca1=_0x14888c[_0x26af63(0x36b)]-0x1,_0xe2d0d8;_0x216ca1>=0x0;_0x216ca1--)(_0xe2d0d8=_0x14888c[_0x216ca1])&&(_0x18107c=_0xe2d0d8(_0x18107c)||_0x18107c);return _0x18107c;},_0xc857fd=(_0x19d5e4,_0x51769f)=>(_0x36d8bf,_0x12bfe9)=>_0x51769f(_0x36d8bf,_0x12bfe9,_0x19d5e4);let _0x56f72a=class extends _0x1acd3c[_0x35dcc5(0x208)]{constructor(_0x1caa93,_0x45c7f1,_0x263865,_0x41112a,_0x174116,_0x464c4d){const _0x1980f8=_0x35dcc5;super(),this[_0x1980f8(0x1d0)]=_0x1caa93,this[_0x1980f8(0x127)]=_0x45c7f1,this[_0x1980f8(0x2dc)]=_0x263865,this[_0x1980f8(0x15b)]=_0x41112a,this[_0x1980f8(0x330)]=_0x174116,this['_localeService']=_0x464c4d,this[_0x1980f8(0x324)](),this['_initEvent']();}['_setupBeforeClosingHandler'](){const _0x2605d9=_0x35dcc5;this['disposeWithMe'](this['_beforeCloseService'][_0x2605d9(0x341)](()=>{const _0x256c57=_0x2605d9;if(this[_0x256c57(0x127)][_0x256c57(0xb2)][_0x256c57(0x9b)])return this[_0x256c57(0xaf)]['t']('collaboration.offline-data-not-saved');}));}[_0x35dcc5(0x2d3)](){const _0x380306=_0x35dcc5;this[_0x380306(0x362)](this[_0x380306(0x2dc)][_0x380306(0x9d)][_0x380306(0xc6)](_0x4d95f6=>{const _0x22f617=_0x380306;_0x4d95f6['id']===_0xe836dc['CollaborationUIEventId'][_0x22f617(0x1f5)]&&this[_0x22f617(0x15b)][_0x22f617(0x18a)]({'type':_0x31b7ea[_0x22f617(0x1f8)][_0x22f617(0x22d)],'content':this[_0x22f617(0xaf)]['t']('collaboration.single-unit.warning')}),_0x4d95f6['id']===_0xe836dc[_0x22f617(0x1fb)]['CLOSE_ROOM']&&this[_0x22f617(0x15b)][_0x22f617(0x18a)]({'type':_0x31b7ea[_0x22f617(0x1f8)][_0x22f617(0x22d)],'content':this['_localeService']['t'](_0x22f617(0x136))}),_0x4d95f6['id']===_0xe836dc[_0x22f617(0x1fb)][_0x22f617(0xb8)]&&this[_0x22f617(0x330)][_0x22f617(0x18a)]({'title':this[_0x22f617(0xaf)]['t'](_0x22f617(0x178)),'content':this[_0x22f617(0xaf)]['t'](_0x22f617(0x347)),'type':'error','duration':0x0}),_0x4d95f6['id']===_0xe836dc[_0x22f617(0x1fb)][_0x22f617(0x1fc)]&&this['_messageService'][_0x22f617(0x18a)]({'type':_0x31b7ea[_0x22f617(0x1f8)]['Error'],'content':this[_0x22f617(0xaf)]['t'](_0x22f617(0x136))+'('+_0x4d95f6[_0x22f617(0xe5)]+')'}),_0x4d95f6['id']===_0xe836dc[_0x22f617(0x1fb)][_0x22f617(0xa6)]&&this[_0x22f617(0x15b)][_0x22f617(0x18a)]({'type':_0x31b7ea[_0x22f617(0x1f8)][_0x22f617(0x22d)],'content':this[_0x22f617(0xaf)]['t'](_0x4d95f6['data']||'')}),_0x4d95f6['id']===_0xe836dc[_0x22f617(0x1fb)][_0x22f617(0x114)]&&this[_0x22f617(0x15b)][_0x22f617(0x18a)]({'type':_0x31b7ea['MessageType']['Warning'],'content':this[_0x22f617(0xaf)]['t'](_0x22f617(0x2ff))}),_0x4d95f6['id']===_0xe836dc[_0x22f617(0x1fb)]['SOCKET_FAILED']&&this[_0x22f617(0x15b)]['show']({'type':_0x31b7ea[_0x22f617(0x1f8)][_0x22f617(0x308)],'content':this[_0x22f617(0xaf)]['t'](_0x22f617(0xc2))}),_0x4d95f6['id']===_0xe836dc['CollaborationUIEventId']['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x22f617(0x15b)]['show']({'type':_0x31b7ea[_0x22f617(0x1f8)][_0x22f617(0x308)],'content':this['_localeService']['t'](_0x22f617(0x27f))});}));}};_0x56f72a=_0x25444b([_0xc857fd(0x0,_0x3d1085[_0x35dcc5(0x10e)]),_0xc857fd(0x1,_0xe836dc[_0x35dcc5(0x1d6)]),_0xc857fd(0x2,_0x1acd3c[_0x35dcc5(0x36c)](_0xe836dc[_0x35dcc5(0x18d)])),_0xc857fd(0x3,_0x3d1085[_0x35dcc5(0x37f)]),_0xc857fd(0x4,_0x3d1085[_0x35dcc5(0xf7)]),_0xc857fd(0x5,_0x1acd3c['Inject'](_0x1acd3c[_0x35dcc5(0x10c)]))],_0x56f72a);var _0x54e161=Object[_0x35dcc5(0x378)],_0x3e277b=(_0x5da7ce,_0x3b1220,_0xdc5319,_0x43e96a)=>{const _0x397ed7=_0x35dcc5;for(var _0x2037f9=_0x43e96a>0x1?void 0x0:_0x43e96a?_0x54e161(_0x3b1220,_0xdc5319):_0x3b1220,_0x1102bf=_0x5da7ce[_0x397ed7(0x36b)]-0x1,_0x339b57;_0x1102bf>=0x0;_0x1102bf--)(_0x339b57=_0x5da7ce[_0x1102bf])&&(_0x2037f9=_0x339b57(_0x2037f9)||_0x2037f9);return _0x2037f9;},_0x534ac1=(_0x50e661,_0x5e3772)=>(_0x37806f,_0x18dfef)=>_0x5e3772(_0x37806f,_0x18dfef,_0x50e661);let _0x245133=class extends _0x1acd3c['Disposable']{constructor(_0xe96816,_0x14cc66,_0x457442,_0x22a1c9){const _0x344404=_0x35dcc5;super(),_0x504098(this,'_memberID'),(this[_0x344404(0x304)]=_0xe96816,this[_0x344404(0x111)]=_0x14cc66,this[_0x344404(0x94)]=_0x457442,this[_0x344404(0xa4)]=_0x22a1c9,this['_init']());}[_0x35dcc5(0x216)](){const _0x333a0f=_0x35dcc5;this[_0x333a0f(0x23b)](),this[_0x333a0f(0x28a)](),this[_0x333a0f(0x101)](),this[_0x333a0f(0x2b9)]();}['_initUserListener'](){const _0x34d75e=_0x35dcc5;this['disposeWithMe'](this[_0x34d75e(0xa4)][_0x34d75e(0x91)]['subscribe'](_0xacb2ab=>{const _0x25f661=_0x34d75e;this[_0x25f661(0x116)]=_0xacb2ab==null?void 0x0:_0xacb2ab['memberID'];}));}['_initWindowErrorListener'](){const _0x4ee69c=_0x35dcc5,_0x440cf8=_0x28362c=>{const _0x22696d=_0x1599;var _0x20a637;this[_0x22696d(0x2e5)](_0x22696d(0x36d),_0x22696d(0xce)+_0x28362c['message']+_0x22696d(0x168)+_0x28362c['filename']+':'+_0x28362c['lineno']+':'+_0x28362c[_0x22696d(0x1c4)]+'\x0a'+(((_0x20a637=_0x28362c['error'])==null?void 0x0:_0x20a637[_0x22696d(0x2b0)])||''));};window[_0x4ee69c(0x374)](_0x4ee69c(0x36d),_0x440cf8),this['disposeWithMe'](()=>{const _0x589383=_0x4ee69c;window[_0x589383(0x14e)](_0x589383(0x36d),_0x440cf8);});}[_0x35dcc5(0x28a)](){const _0x4fa5ab=_0x35dcc5,_0x29c5b4=_0x2da639=>{const _0x5953d9=_0x1599;this['_uploadLog'](_0x5953d9(0x36d),_0x5953d9(0x1fd)+_0x2da639[_0x5953d9(0x359)]);};window[_0x4fa5ab(0x374)](_0x4fa5ab(0x1f1),_0x29c5b4),this[_0x4fa5ab(0x362)](()=>{window['removeEventListener']('unhandledrejection',_0x29c5b4);});}[_0x35dcc5(0x101)](){const _0x4b2c60=_0x35dcc5,_0x50d263=this[_0x4b2c60(0x94)]['error'][_0x4b2c60(0x21d)](this[_0x4b2c60(0x94)]);this['_logService'][_0x4b2c60(0x36d)]=(..._0x317528)=>{const _0x2eecd4=_0x4b2c60,_0xdc0d21=_0x317528[_0x2eecd4(0x365)](_0x451486=>_0x451486 instanceof Error?_0x451486[_0x2eecd4(0x1f7)]+'\x0a'+_0x451486[_0x2eecd4(0x2b0)]:String(_0x451486))[_0x2eecd4(0x144)]('\x20');this[_0x2eecd4(0x2e5)](_0x2eecd4(0x36d),_0x2eecd4(0x141)+_0xdc0d21),_0x50d263(..._0x317528);},this['disposeWithMe'](()=>{const _0x201663=_0x4b2c60;this[_0x201663(0x94)][_0x201663(0x36d)]=_0x50d263;});}[_0x35dcc5(0x2e5)](_0x14cdad,_0x29ea58){const _0x35d752=_0x35dcc5;try{const _0x11af93={'userId':this[_0x35d752(0x116)],'logLabel':_0x14cdad,'content':_0x29ea58};this[_0x35d752(0x111)][_0x35d752(0x109)]('/universer-api/frontend/logs',{'body':_0x11af93})[_0x35d752(0x2ab)](()=>{});}catch{}}};_0x245133=_0x3e277b([_0x534ac1(0x0,_0x1acd3c[_0x35dcc5(0x36c)](_0x1acd3c['Injector'])),_0x534ac1(0x1,_0x1acd3c[_0x35dcc5(0x36c)](_0x26a7c0[_0x35dcc5(0x377)])),_0x534ac1(0x2,_0x1acd3c[_0x35dcc5(0x296)]),_0x534ac1(0x3,_0x1acd3c[_0x35dcc5(0x36c)](_0xe836dc[_0x35dcc5(0x1e7)]))],_0x245133);const _0x1b22ef=_0x35dcc5(0x232),_0x444dbe={};var _0x54b66a=Object[_0x35dcc5(0x378)],_0x5f537f=(_0x1fc95f,_0x424823,_0x2ca0ba,_0x31d031)=>{const _0x522ebf=_0x35dcc5;for(var _0x80ec94=_0x31d031>0x1?void 0x0:_0x31d031?_0x54b66a(_0x424823,_0x2ca0ba):_0x424823,_0x4ad92d=_0x1fc95f[_0x522ebf(0x36b)]-0x1,_0x31f8ad;_0x4ad92d>=0x0;_0x4ad92d--)(_0x31f8ad=_0x1fc95f[_0x4ad92d])&&(_0x80ec94=_0x31f8ad(_0x80ec94)||_0x80ec94);return _0x80ec94;},_0x187e8c=(_0x323a51,_0x406256)=>(_0xc46cd5,_0x38ee55)=>_0x406256(_0xc46cd5,_0x38ee55,_0x323a51);let _0x17d59f=class{constructor(_0xfb98ee,_0x5c58a6){const _0x1bf234=_0x35dcc5;this[_0x1bf234(0x2a5)]=_0xfb98ee,this[_0x1bf234(0x19d)]=_0x5c58a6;}['transformIMECache'](_0x492384){this['_transformUndoRedoStack'](_0x492384),this['_transformPreviousActiveRange'](_0x492384);}['transformRemoteChangeset'](_0x538f6e){const _0x4f9242=_0x35dcc5,{unitID:_0x21074f}=_0x538f6e,_0x2c0918=this['_renderManagerService']['getRenderById'](_0x21074f)['with'](_0x4a5890[_0x4f9242(0x28e)]),{redoCache:_0x1b042d}=_0x2c0918[_0x4f9242(0x1fe)]();if(_0x1b042d[_0x4f9242(0x36b)]===0x0)return _0x538f6e;let _0x2bc4b4=_0x1acd3c['Tools'][_0x4f9242(0x107)](_0x538f6e[_0x4f9242(0x356)][0x0]);for(let _0x1bb5c7=0x0;_0x1bb5c7<_0x1b042d[_0x4f9242(0x36b)];_0x1bb5c7++){const _0x1227dd={'id':'doc.mutation.rich-text-editing','params':{..._0x1b042d[_0x1bb5c7]}},_0x46f628=this['_transformService'][_0x4f9242(0x277)](_0x2bc4b4,_0x1227dd,!0x1);if(_0x1d9a86[_0x4f9242(0xd0)](_0x46f628))throw _0x46f628[_0x4f9242(0x36d)];_0x2bc4b4=_0x46f628[_0x4f9242(0x24c)];}return{..._0x1acd3c[_0x4f9242(0x25e)][_0x4f9242(0x107)](_0x538f6e),'mutations':[_0x2bc4b4]};}[_0x35dcc5(0x303)](_0xebad48){const _0x1bdde2=_0x35dcc5,{unitID:_0x1e2a14}=_0xebad48,_0x255972=this[_0x1bdde2(0x19d)][_0x1bdde2(0x1e2)](_0x1e2a14)[_0x1bdde2(0xe0)](_0x4a5890['DocIMEInputManagerService']),{undoCache:_0xf7fcdc,redoCache:_0x15b250}=_0x255972[_0x1bdde2(0x1fe)]();if(_0xf7fcdc[_0x1bdde2(0x36b)]===0x0||_0x15b250['length']===0x0)return;const _0x4623d2=[],_0x188e7b=[];let _0x406cf1=_0x1acd3c[_0x1bdde2(0x25e)][_0x1bdde2(0x107)](_0xebad48[_0x1bdde2(0x356)][0x0]),_0x49d8fb=_0x1acd3c[_0x1bdde2(0x25e)][_0x1bdde2(0x107)](_0xebad48[_0x1bdde2(0x356)][0x0]);for(let _0x2870b2=_0xf7fcdc[_0x1bdde2(0x36b)]-0x1;_0x2870b2>=0x0;_0x2870b2--){const _0x33e7b5={'id':_0x1bdde2(0x2b8),'params':{..._0xf7fcdc[_0x2870b2]}},_0x162824={'id':_0x1bdde2(0x2b8),'params':{..._0x15b250[_0x2870b2]}},_0x46825e=this[_0x1bdde2(0x2a5)][_0x1bdde2(0x277)](_0x406cf1,_0x33e7b5,!0x1),_0xc898d0=this['_transformService'][_0x1bdde2(0x277)](_0x49d8fb,_0x162824,!0x1);if(_0x1d9a86['isTransformMutationFailure'](_0x46825e))throw _0x46825e[_0x1bdde2(0x36d)];if(_0x1d9a86[_0x1bdde2(0xd0)](_0xc898d0))throw _0xc898d0[_0x1bdde2(0x36d)];_0x4623d2['unshift'](_0x46825e[_0x1bdde2(0x167)]['params']),_0x188e7b[_0x1bdde2(0xdd)](_0xc898d0[_0x1bdde2(0x167)][_0x1bdde2(0x164)]),_0x406cf1=_0x46825e[_0x1bdde2(0x24c)],_0x49d8fb=_0xc898d0[_0x1bdde2(0x24c)];}_0x255972[_0x1bdde2(0x151)]({'undoCache':_0x4623d2,'redoCache':_0x188e7b});}['_transformPreviousActiveRange'](_0x2d178b){const _0x27a065=_0x35dcc5,{unitID:_0x3968b0}=_0x2d178b,_0x575cf2=this[_0x27a065(0x19d)][_0x27a065(0x1e2)](_0x3968b0)['with'](_0x4a5890[_0x27a065(0x28e)]),_0x4c934b=_0x575cf2['getActiveRange']();if(_0x4c934b==null)return;const _0x55024b=[{'id':_0x27a065(0x2b8),'params':{'unitId':_0x2d178b[_0x27a065(0x181)],'actions':null,'textRanges':[_0x4c934b]}}],_0x58338b=this['_transformService'][_0x27a065(0x96)](_0x2d178b,_0x55024b);if(!_0x1d9a86[_0x27a065(0x1af)](_0x58338b))throw _0x58338b[_0x27a065(0x36d)];const _0x5c0652=_0x58338b[_0x27a065(0x167)][0x0][_0x27a065(0x164)]['textRanges'];Array[_0x27a065(0x245)](_0x5c0652)&&_0x5c0652[_0x27a065(0x36b)]&&_0x575cf2[_0x27a065(0x30d)](_0x5c0652[0x0]);}};_0x17d59f=_0x5f537f([_0x187e8c(0x0,_0x1d9a86['ITransformService']),_0x187e8c(0x1,_0x4dbd74[_0x35dcc5(0x1f3)])],_0x17d59f);var _0x4b3752=Object[_0x35dcc5(0x378)],_0x62151d=(_0x3e5307,_0x20be16,_0x513529,_0x6a8908)=>{const _0xfb6f49=_0x35dcc5;for(var _0x3ec695=_0x6a8908>0x1?void 0x0:_0x6a8908?_0x4b3752(_0x20be16,_0x513529):_0x20be16,_0x39805f=_0x3e5307[_0xfb6f49(0x36b)]-0x1,_0x4642ad;_0x39805f>=0x0;_0x39805f--)(_0x4642ad=_0x3e5307[_0x39805f])&&(_0x3ec695=_0x4642ad(_0x3ec695)||_0x3ec695);return _0x3ec695;},_0x5351b9=(_0x187928,_0xf4b22c)=>(_0x21129a,_0x4ad56c)=>_0xf4b22c(_0x21129a,_0x4ad56c,_0x187928);let _0x20228f=class{constructor(_0x43e291,_0x53d94a,_0x299148){const _0x545cd2=_0x35dcc5;this[_0x545cd2(0x304)]=_0x43e291,this[_0x545cd2(0x2a5)]=_0x53d94a,this['_docStateChangeManagerService']=_0x299148;}[_0x35dcc5(0xef)](_0x4544c){const _0x2b1bec=_0x35dcc5;this[_0x2b1bec(0x173)](_0x4544c);}[_0x35dcc5(0xb9)](_0xc4b474){const _0x160b47=_0x35dcc5,{unitID:_0x18b5b6}=_0xc4b474,{collaboration:_0x501bf3}=this[_0x160b47(0x10f)][_0x160b47(0x1a0)](_0x18b5b6);if(_0x501bf3[_0x160b47(0x36b)]===0x0)return _0xc4b474;let _0xde331e=_0x1acd3c[_0x160b47(0x25e)]['deepClone'](_0xc4b474[_0x160b47(0x356)][0x0]);for(let _0x47e470=0x0;_0x47e470<_0x501bf3[_0x160b47(0x36b)];_0x47e470++){const _0x3152f5={'id':_0x160b47(0x2b8),'params':{'unitId':_0x501bf3[_0x47e470][_0x160b47(0x334)],..._0x501bf3[_0x47e470][_0x160b47(0x348)]}},_0x27925f=this['_transformService'][_0x160b47(0x277)](_0xde331e,_0x3152f5,!0x1);if(_0x1d9a86[_0x160b47(0xd0)](_0x27925f))throw _0x27925f[_0x160b47(0x36d)];_0xde331e=_0x27925f['m1Prime'];}return{..._0x1acd3c[_0x160b47(0x25e)][_0x160b47(0x107)](_0xc4b474),'mutations':[_0xde331e]};}[_0x35dcc5(0x173)](_0x4d99c5){const _0x2799ab=_0x35dcc5,{unitID:_0x2f24ea}=_0x4d99c5,{history:_0x1960e6,collaboration:_0x121f56}=this[_0x2799ab(0x10f)]['getStateCache'](_0x2f24ea);if(_0x1960e6['length']===0x0&&_0x121f56['length']===0x0)return;const _0x3d5dfc=[],_0x13fa10=[];let _0xa58508=_0x1acd3c[_0x2799ab(0x25e)][_0x2799ab(0x107)](_0x4d99c5['mutations'][0x0]),_0x2dbae0=_0x1acd3c['Tools']['deepClone'](_0x4d99c5[_0x2799ab(0x356)][0x0]);for(let _0x1ad05a=_0x1960e6['length']-0x1;_0x1ad05a>=0x0;_0x1ad05a--){const _0x107bb0={'id':_0x2799ab(0x2b8),'params':{'unitId':_0x1960e6[_0x1ad05a][_0x2799ab(0x334)],..._0x1960e6[_0x1ad05a][_0x2799ab(0xcc)]}},_0x5ba048={'id':_0x2799ab(0x2b8),'params':{'unitId':_0x1960e6[_0x1ad05a][_0x2799ab(0x334)],..._0x1960e6[_0x1ad05a][_0x2799ab(0x348)]}},_0x5b6d99=this[_0x2799ab(0x2a5)][_0x2799ab(0x277)](_0xa58508,_0x107bb0,!0x1),_0x2022b5=this[_0x2799ab(0x2a5)][_0x2799ab(0x277)](_0x2dbae0,_0x5ba048,!0x1);if(_0x1d9a86[_0x2799ab(0xd0)](_0x5b6d99))throw _0x5b6d99['error'];if(_0x1d9a86[_0x2799ab(0xd0)](_0x2022b5))throw _0x2022b5[_0x2799ab(0x36d)];_0x3d5dfc['unshift']({..._0x1960e6[_0x1ad05a],'undoState':_0x5b6d99[_0x2799ab(0x167)][_0x2799ab(0x164)],'redoState':_0x2022b5[_0x2799ab(0x167)][_0x2799ab(0x164)]}),_0xa58508=_0x5b6d99[_0x2799ab(0x24c)],_0x2dbae0=_0x2022b5['m1Prime'];}_0xa58508=_0x1acd3c['Tools'][_0x2799ab(0x107)](_0x4d99c5[_0x2799ab(0x356)][0x0]),_0x2dbae0=_0x1acd3c['Tools'][_0x2799ab(0x107)](_0x4d99c5[_0x2799ab(0x356)][0x0]);for(let _0x21c7c1=_0x121f56['length']-0x1;_0x21c7c1>=0x0;_0x21c7c1--){const _0x1df591={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x121f56[_0x21c7c1][_0x2799ab(0x334)],..._0x121f56[_0x21c7c1][_0x2799ab(0xcc)]}},_0x26cb90={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x121f56[_0x21c7c1]['unitId'],..._0x121f56[_0x21c7c1][_0x2799ab(0x348)]}},_0x3c922c=this[_0x2799ab(0x2a5)][_0x2799ab(0x277)](_0xa58508,_0x1df591,!0x1),_0xecc7e6=this['_transformService'][_0x2799ab(0x277)](_0x2dbae0,_0x26cb90,!0x1);if(_0x1d9a86[_0x2799ab(0xd0)](_0x3c922c))throw _0x3c922c[_0x2799ab(0x36d)];if(_0x1d9a86['isTransformMutationFailure'](_0xecc7e6))throw _0xecc7e6[_0x2799ab(0x36d)];_0x13fa10['unshift']({..._0x121f56[_0x21c7c1],'undoState':_0x3c922c[_0x2799ab(0x167)][_0x2799ab(0x164)],'redoState':_0xecc7e6[_0x2799ab(0x167)][_0x2799ab(0x164)]}),_0xa58508=_0x3c922c[_0x2799ab(0x24c)],_0x2dbae0=_0xecc7e6[_0x2799ab(0x24c)];}this[_0x2799ab(0x10f)]['setStateCache'](_0x2f24ea,{'history':_0x3d5dfc,'collaboration':_0x13fa10});}};_0x20228f=_0x62151d([_0x5351b9(0x0,_0x1acd3c[_0x35dcc5(0x36c)](_0x1acd3c[_0x35dcc5(0x11b)])),_0x5351b9(0x1,_0x1d9a86[_0x35dcc5(0xd9)]),_0x5351b9(0x2,_0x1acd3c[_0x35dcc5(0x36c)](_0x4a5890['DocStateChangeManagerService']))],_0x20228f);var _0x29884f=Object['getOwnPropertyDescriptor'],_0x5313f3=(_0xece908,_0x314292,_0x13e966,_0x3ae326)=>{const _0x47919c=_0x35dcc5;for(var _0x5c4a8e=_0x3ae326>0x1?void 0x0:_0x3ae326?_0x29884f(_0x314292,_0x13e966):_0x314292,_0x395163=_0xece908[_0x47919c(0x36b)]-0x1,_0x17f7bd;_0x395163>=0x0;_0x395163--)(_0x17f7bd=_0xece908[_0x395163])&&(_0x5c4a8e=_0x17f7bd(_0x5c4a8e)||_0x5c4a8e);return _0x5c4a8e;},_0x258d61=(_0x4f1d6d,_0x31fbd1)=>(_0x1b4cac,_0x596254)=>_0x31fbd1(_0x1b4cac,_0x596254,_0x4f1d6d);let _0x5ca507=class{constructor(_0xbc6ce1,_0x932555){const _0x187970=_0x35dcc5;this[_0x187970(0x304)]=_0xbc6ce1,this[_0x187970(0x2a5)]=_0x932555;}[_0x35dcc5(0x2ec)](_0x5c20b0){const _0x15f3c8=_0x35dcc5;var _0x415b41;const _0x6a1b24=this[_0x15f3c8(0x304)]['get'](_0x3e8285[_0x15f3c8(0x25f)]),_0x1e62c3=(_0x415b41=_0x6a1b24[_0x15f3c8(0x172)]())!=null?_0x415b41:[];if(_0x1e62c3[_0x15f3c8(0x36b)]===0x0)return;const _0xd4d81a=_0x5c20b0[_0x15f3c8(0x181)],_0x3e75b0=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xd4d81a,'actions':null,'textRanges':_0x1e62c3}}],_0x59ae45=this[_0x15f3c8(0x2a5)][_0x15f3c8(0x96)](_0x5c20b0,_0x3e75b0);if(!_0x1d9a86[_0x15f3c8(0x1af)](_0x59ae45))throw _0x59ae45[_0x15f3c8(0x36d)];const _0xba13a1=_0x59ae45[_0x15f3c8(0x167)][0x0]['params'][_0x15f3c8(0x35b)];Array[_0x15f3c8(0x245)](_0xba13a1)&&_0xba13a1['length']&&_0x6a1b24[_0x15f3c8(0x17e)](_0xba13a1,{'unitId':_0xd4d81a,'subUnitId':_0xd4d81a},!0x1);}};_0x5ca507=_0x5313f3([_0x258d61(0x0,_0x1acd3c[_0x35dcc5(0x36c)](_0x1acd3c[_0x35dcc5(0x11b)])),_0x258d61(0x1,_0x1d9a86[_0x35dcc5(0xd9)])],_0x5ca507);var _0x9bafee=Object[_0x35dcc5(0x378)],_0x332f74=(_0x16b4c5,_0x2334ac,_0x351ae6,_0x310cc1)=>{for(var _0x27c17c=_0x310cc1>0x1?void 0x0:_0x310cc1?_0x9bafee(_0x2334ac,_0x351ae6):_0x2334ac,_0x1327ce=_0x16b4c5['length']-0x1,_0xbc999e;_0x1327ce>=0x0;_0x1327ce--)(_0xbc999e=_0x16b4c5[_0x1327ce])&&(_0x27c17c=_0xbc999e(_0x27c17c)||_0x27c17c);return _0x27c17c;},_0x4e87b8=(_0x28b06f,_0x20ce3a)=>(_0x49d3b6,_0x5b969a)=>_0x20ce3a(_0x49d3b6,_0x5b969a,_0x28b06f);let _0x207c0e=class extends _0x1acd3c[_0x35dcc5(0x208)]{constructor(_0x62406e,_0x297818,_0x2ac3a6,_0x2bc6ae,_0x137388,_0x6f66b0,_0x306c4b,_0x3eba49){const _0x4ebf66=_0x35dcc5;super(),_0x504098(this,'_status$',new _0x52b4d8[(_0x4ebf66(0x2eb))](_0xe836dc[_0x4ebf66(0x283)][_0x4ebf66(0x2c5)])),(this[_0x4ebf66(0x10f)]=_0x62406e,this['_collaborationController']=_0x297818,this[_0x4ebf66(0x156)]=_0x2ac3a6,this['_docTransformStateCacheService']=_0x2bc6ae,this['_docTransformSelectionsService']=_0x137388,this['_docSyncEditingCollabCursorService']=_0x6f66b0,this['_messageService']=_0x306c4b,this[_0x4ebf66(0xaf)]=_0x3eba49,this[_0x4ebf66(0x229)]());}[_0x35dcc5(0x229)](){const _0x5a4449=_0x35dcc5;this[_0x5a4449(0x362)](this[_0x5a4449(0x2c7)][_0x5a4449(0xa9)][_0x5a4449(0xc6)](_0x17060a=>{const _0x39aef2=_0x5a4449,_0x5846d9=this[_0x39aef2(0x10f)][_0x39aef2(0x255)]['subscribe'](_0x335fe6=>{const _0x4e3df1=_0x39aef2;if(_0x335fe6==null)return;const {unitId:_0x4be373,redoState:_0x4e4c81,commandId:_0x31c22e}=_0x335fe6;if(_0x4be373!==_0x17060a['unitID'])return;const _0x25eb28={'id':_0x31c22e,'type':_0x1acd3c[_0x4e3df1(0x9f)][_0x4e3df1(0x174)],'params':{'unitId':_0x4be373,'actions':_0x4e4c81[_0x4e3df1(0xf2)],'textRanges':null}};_0x17060a[_0x4e3df1(0x13a)](_0x25eb28);});if(_0x17060a[_0x39aef2(0x362)](_0x5846d9),_0x17060a instanceof _0xe836dc[_0x39aef2(0x143)]){const _0x20f376={'onTransformIME':_0x4a0b15=>this[_0x39aef2(0x156)][_0x39aef2(0x16b)](_0x4a0b15),'onTransformState':_0x331085=>this['_docTransformStateCacheService'][_0x39aef2(0xef)](_0x331085),'onTransformSelections':_0x7f236d=>this[_0x39aef2(0x20c)][_0x39aef2(0x2ec)](_0x7f236d),'onSyncEditingCollabCursor':_0xa93de3=>this[_0x39aef2(0x11a)][_0x39aef2(0xbb)](_0xa93de3),'onTransformRemoteChangesetByIMECache':_0xc4457a=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0xc4457a),'onTransformRemoteChangesetByStateCache':_0x192522=>this[_0x39aef2(0x161)][_0x39aef2(0xb9)](_0x192522)};_0x17060a[_0x39aef2(0x177)](_0x20f376);}}));}};_0x207c0e=_0x332f74([_0x4e87b8(0x0,_0x1acd3c[_0x35dcc5(0x36c)](_0x4a5890[_0x35dcc5(0x12b)])),_0x4e87b8(0x1,_0x1acd3c[_0x35dcc5(0x36c)](_0xe836dc[_0x35dcc5(0x162)])),_0x4e87b8(0x2,_0x1acd3c[_0x35dcc5(0x36c)](_0x17d59f)),_0x4e87b8(0x3,_0x1acd3c[_0x35dcc5(0x36c)](_0x20228f)),_0x4e87b8(0x4,_0x1acd3c[_0x35dcc5(0x36c)](_0x5ca507)),_0x4e87b8(0x5,_0x1acd3c[_0x35dcc5(0x36c)](_0x4fc58b)),_0x4e87b8(0x6,_0x3d1085[_0x35dcc5(0x37f)]),_0x4e87b8(0x7,_0x1acd3c[_0x35dcc5(0x36c)](_0x1acd3c[_0x35dcc5(0x10c)]))],_0x207c0e);var _0x5a8da7=(_0x5091d8=>(_0x5091d8[_0x5091d8['UNDEFINED']=0x0]=_0x35dcc5(0x288),_0x5091d8[_0x5091d8['OK']=0x1]='OK',_0x5091d8[_0x5091d8[_0x35dcc5(0x242)]=0x2]='INTERNAL_ERROR',_0x5091d8[_0x5091d8[_0x35dcc5(0xb8)]=0x3]=_0x35dcc5(0xb8),_0x5091d8[_0x5091d8['NOT_FOUND']=0x4]=_0x35dcc5(0x2ae),_0x5091d8[_0x5091d8['UNAUTHENTICATED']=0x5]=_0x35dcc5(0xf6),_0x5091d8[_0x5091d8[_0x35dcc5(0x112)]=0x6]=_0x35dcc5(0x112),_0x5091d8[_0x5091d8['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x5091d8[_0x5091d8[_0x35dcc5(0x247)]=0x8]=_0x35dcc5(0x247),_0x5091d8[_0x5091d8['COMPLETION_FINISHED']=0x9]=_0x35dcc5(0x1d4),_0x5091d8[_0x5091d8[_0x35dcc5(0x316)]=0xa]='LOGIN_FAILED',_0x5091d8[_0x5091d8[_0x35dcc5(0x302)]=0xb]=_0x35dcc5(0x302),_0x5091d8[_0x5091d8[_0x35dcc5(0x1ef)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x5091d8[_0x5091d8[_0x35dcc5(0xde)]=0xd]=_0x35dcc5(0xde),_0x5091d8[_0x5091d8['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x5091d8[_0x5091d8[_0x35dcc5(0x278)]=0xf]=_0x35dcc5(0x278),_0x5091d8[_0x5091d8['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x35dcc5(0xe1),_0x5091d8[_0x5091d8[_0x35dcc5(0x16e)]=0x64]=_0x35dcc5(0x16e),_0x5091d8[_0x5091d8[_0x35dcc5(0x183)]=0x65]=_0x35dcc5(0x183),_0x5091d8[_0x5091d8[_0x35dcc5(0x10a)]=0xc9]='USER_NOT_FOUND',_0x5091d8[_0x5091d8[_0x35dcc5(0x89)]=0xca]=_0x35dcc5(0x89),_0x5091d8[_0x5091d8[_0x35dcc5(0x34b)]=0x1389]=_0x35dcc5(0x34b),_0x5091d8[_0x5091d8[_0x35dcc5(0x366)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5091d8[_0x5091d8[_0x35dcc5(0xae)]=0x1772]=_0x35dcc5(0xae),_0x5091d8[_0x5091d8[_0x35dcc5(0x282)]=0x1773]=_0x35dcc5(0x282),_0x5091d8[_0x5091d8[_0x35dcc5(0x32c)]=0x1b59]='APPLY_REJECT',_0x5091d8[_0x5091d8['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x5091d8[_0x5091d8[_0x35dcc5(0xca)]=0x1b5b]=_0x35dcc5(0xca),_0x5091d8[_0x5091d8[_0x35dcc5(0xff)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x5091d8[_0x5091d8['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x5091d8[_0x5091d8[_0x35dcc5(0x102)]=0x1f41]=_0x35dcc5(0x102),_0x5091d8[_0x5091d8[_0x35dcc5(0x272)]=0x2329]=_0x35dcc5(0x272),_0x5091d8[_0x5091d8[_0x35dcc5(0x190)]=0x232a]=_0x35dcc5(0x190),_0x5091d8[_0x5091d8[_0x35dcc5(0x28b)]=0x232b]=_0x35dcc5(0x28b),_0x5091d8[_0x5091d8[_0x35dcc5(0x297)]=0x232c]=_0x35dcc5(0x297),_0x5091d8[_0x5091d8[_0x35dcc5(0x2d9)]=0x232d]=_0x35dcc5(0x2d9),_0x5091d8[_0x5091d8[_0x35dcc5(0x31b)]=0x2711]=_0x35dcc5(0x31b),_0x5091d8[_0x5091d8[_0x35dcc5(0x373)]=0x2712]=_0x35dcc5(0x373),_0x5091d8[_0x5091d8[_0x35dcc5(0x215)]=0x2713]=_0x35dcc5(0x215),_0x5091d8[_0x5091d8[_0x35dcc5(0x33f)]=0x2714]=_0x35dcc5(0x33f),_0x5091d8[_0x5091d8[_0x35dcc5(0x2bf)]=0x271a]=_0x35dcc5(0x2bf),_0x5091d8[_0x5091d8['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x35dcc5(0x2b3),_0x5091d8[_0x5091d8[_0x35dcc5(0x2a8)]=0x271c]=_0x35dcc5(0x2a8),_0x5091d8[_0x5091d8[_0x35dcc5(0xea)]=0x271d]=_0x35dcc5(0xea),_0x5091d8[_0x5091d8[_0x35dcc5(0xd3)]=0x271e]=_0x35dcc5(0xd3),_0x5091d8[_0x5091d8[_0x35dcc5(0x333)]=0x271f]=_0x35dcc5(0x333),_0x5091d8[_0x5091d8[_0x35dcc5(0xf3)]=0x2720]=_0x35dcc5(0xf3),_0x5091d8[_0x5091d8['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x35dcc5(0x1a3),_0x5091d8[_0x5091d8['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x35dcc5(0x184),_0x5091d8[_0x5091d8['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x5091d8[_0x5091d8['INVITE_CODE_REQUIRED']=0x2ee3]=_0x35dcc5(0x1ce),_0x5091d8[_0x5091d8['USER_NOT_INVITED_CODE']=0x2ee4]=_0x35dcc5(0x26b),_0x5091d8[_0x5091d8['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x35dcc5(0x28d),_0x5091d8[_0x5091d8['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x35dcc5(0x281),_0x5091d8[_0x5091d8['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x35dcc5(0x12f),_0x5091d8[_0x5091d8[_0x35dcc5(0x213)]=0x32cb]=_0x35dcc5(0x213),_0x5091d8[_0x5091d8[_0x35dcc5(0x126)]=0x36b1]=_0x35dcc5(0x126),_0x5091d8[_0x5091d8[_0x35dcc5(0x2bd)]=0x36b2]=_0x35dcc5(0x2bd),_0x5091d8[_0x5091d8[_0x35dcc5(0x2b4)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x5091d8[_0x5091d8[_0x35dcc5(0x175)]=0x36b4]=_0x35dcc5(0x175),_0x5091d8[_0x5091d8[_0x35dcc5(0x2cf)]=0x36b5]=_0x35dcc5(0x2cf),_0x5091d8[_0x5091d8[_0x35dcc5(0x355)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x5091d8[_0x5091d8[_0x35dcc5(0x2e4)]=0x36b7]=_0x35dcc5(0x2e4),_0x5091d8[_0x5091d8['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0x35dcc5(0x2d5),_0x5091d8[_0x5091d8['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x35dcc5(0x188),_0x5091d8[_0x5091d8[_0x35dcc5(0x318)]=0x3716]=_0x35dcc5(0x318),_0x5091d8[_0x5091d8[_0x35dcc5(0x2c3)]=0x3717]=_0x35dcc5(0x2c3),_0x5091d8[_0x5091d8['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x5091d8[_0x5091d8[_0x35dcc5(0x2c0)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x5091d8[_0x5091d8[_0x35dcc5(0x1b8)]=0x3a9a]=_0x35dcc5(0x1b8),_0x5091d8[_0x5091d8[_0x35dcc5(0x2f4)]=0x3a9b]=_0x35dcc5(0x2f4),_0x5091d8[_0x5091d8[_0x35dcc5(0x2f5)]=0x3a9c]=_0x35dcc5(0x2f5),_0x5091d8[_0x5091d8[_0x35dcc5(0x187)]=0x3a9d]=_0x35dcc5(0x187),_0x5091d8[_0x5091d8[_0x35dcc5(0x217)]=0x3a9e]=_0x35dcc5(0x217),_0x5091d8[_0x5091d8[_0x35dcc5(0x2c8)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x5091d8[_0x5091d8['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x35dcc5(0x2fb),_0x5091d8[_0x5091d8[_0x35dcc5(0x134)]=-0x1]=_0x35dcc5(0x134),_0x5091d8))(_0x5a8da7||{});function _0x12ddac(_0xb1c943){const _0xe2a521=_0x35dcc5;var _0xe9783e,_0x3198f6;const _0x251fcb=(_0xe9783e=_0xb1c943[_0xe2a521(0x13f)])==null?void 0x0:_0xe9783e[_0xe2a521(0x29f)],_0x21e216=((_0x3198f6=_0xb1c943[_0xe2a521(0x13f)])==null?void 0x0:_0x3198f6[_0xe2a521(0x16c)])||0x0;return _0x251fcb===_0x5dc12e[_0xe2a521(0x339)][_0xe2a521(0x212)]&&_0x21e216>0x0;}function _0x18ee2b(_0x808c92){const _0x39c6bc=_0x35dcc5;return _0x808c92[_0x39c6bc(0x1cb)]===_0x5dc12e[_0x39c6bc(0x128)][_0x39c6bc(0x169)];}var _0x145cff=Object['getOwnPropertyDescriptor'],_0x444011=(_0x20a42f,_0x10671b,_0xa05792,_0x485647)=>{const _0x5acb64=_0x35dcc5;for(var _0x1b4210=_0x485647>0x1?void 0x0:_0x485647?_0x145cff(_0x10671b,_0xa05792):_0x10671b,_0x5d97be=_0x20a42f[_0x5acb64(0x36b)]-0x1,_0x4b6237;_0x5d97be>=0x0;_0x5d97be--)(_0x4b6237=_0x20a42f[_0x5d97be])&&(_0x1b4210=_0x4b6237(_0x1b4210)||_0x1b4210);return _0x1b4210;},_0x17cba1=(_0x2e1528,_0x427d5d)=>(_0x514b28,_0x1a8678)=>_0x427d5d(_0x514b28,_0x1a8678,_0x2e1528);const _0x31e8dd=_0x35dcc5(0x11f),_0x5ead8b=_0x35dcc5(0x18f),_0x59133d=_0x35dcc5(0x8f);let _0x20acf5=class extends _0x1acd3c[_0x35dcc5(0x208)]{constructor(_0x503dcb,_0x6fce63,_0x4f64a0,_0x12f728,_0x10eb52,_0x48d9c6,_0x21fe48){const _0x33bbdf=_0x35dcc5;super(),_0x504098(this,_0x33bbdf(0x211),null),_0x504098(this,_0x33bbdf(0x1ad),0x0),_0x504098(this,_0x33bbdf(0x154),0x0),_0x504098(this,_0x33bbdf(0x2a9),[]),_0x504098(this,_0x33bbdf(0x106),0x0),(this[_0x33bbdf(0x15b)]=_0x503dcb,this[_0x33bbdf(0xe6)]=_0x6fce63,this[_0x33bbdf(0x1c2)]=_0x4f64a0,this[_0x33bbdf(0x111)]=_0x12f728,this[_0x33bbdf(0x2ee)]=_0x10eb52,this['_logService']=_0x48d9c6,this[_0x33bbdf(0xaf)]=_0x21fe48,this[_0x33bbdf(0x31f)]());}[_0x35dcc5(0x31f)](){const _0x419e2e=_0x35dcc5;this[_0x419e2e(0x362)](this[_0x419e2e(0xe6)]['beforeCommandExecuted']((_0x49b915,_0xe89e7a)=>{const _0x135180=_0x419e2e;var _0x560c00;if(_0x49b915['id']!==_0x5dc12e['SetFormulaCalculationStartMutation']['id'])return;const _0x5f58c5=_0x49b915[_0x135180(0x164)];if(!this[_0x135180(0x8b)]((_0x560c00=_0x5f58c5[_0x135180(0x1e9)])!=null?_0x560c00:[]))return;if(!this['_checkCalculationAvailable']())throw this[_0x135180(0x129)](_0x49b915,_0xe89e7a),this[_0x135180(0xb1)](),new _0x1acd3c['CanceledError']();})),this[_0x419e2e(0x362)](this['_commandService'][_0x419e2e(0x1d7)]((_0x212eb6,_0x40018d)=>{const _0x320d49=_0x419e2e;if(_0x212eb6['id']!==_0x5dc12e['SetFormulaCalculationNotificationMutation']['id'])return;const _0x49cc0b=_0x212eb6[_0x320d49(0x164)];if(_0x12ddac(_0x49cc0b)){const _0x5d699f=_0x1acd3c[_0x320d49(0x23f)]();this['_taskIds'][_0x320d49(0x2c2)](_0x5d699f),this[_0x320d49(0x207)](_0x5d699f);}else{if(_0x18ee2b(_0x49cc0b)&&this[_0x320d49(0x2a9)][_0x320d49(0x36b)]>0x0){const _0x2842be=this[_0x320d49(0x2a9)][_0x320d49(0x2b2)]();this[_0x320d49(0x1a4)](_0x2842be);}}}));}['dispose'](){const _0x35e053=_0x35dcc5;super[_0x35e053(0x381)](),this['_clearPolling'](),this[_0x35e053(0x2a9)]=[],this['_currentUsage']=0x0,this[_0x35e053(0x1ad)]=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x35dcc5(0x129)](_0x1d2874,_0x4e3b4c){const _0xb62abe=_0x35dcc5;for(let _0x106644=0x0;_0x106644<0x1e;_0x106644++)try{if(await this[_0xb62abe(0x250)](),this[_0xb62abe(0x2ce)]()){this[_0xb62abe(0x258)](_0x1d2874,_0x4e3b4c),this[_0xb62abe(0x15b)][_0xb62abe(0x18a)]({'content':this[_0xb62abe(0xaf)]['t'](_0xb62abe(0x18c)),'type':_0x31b7ea[_0xb62abe(0x1f8)][_0xb62abe(0x246)]});return;}await new Promise(_0xd74af2=>{const _0x4e14ac=_0xb62abe;this[_0x4e14ac(0x211)]=window[_0x4e14ac(0x241)](_0xd74af2,0x3e8);});}catch(_0x14b2c7){this[_0xb62abe(0x94)][_0xb62abe(0x36d)](_0x14b2c7);}this[_0xb62abe(0x15b)][_0xb62abe(0x18a)]({'content':this[_0xb62abe(0xaf)]['t']('formula.calculation.unable'),'type':_0x31b7ea['MessageType'][_0xb62abe(0x308)]});}[_0x35dcc5(0x258)](_0x279498,_0x34f0e3){const _0x18180b=_0x35dcc5;try{this[_0x18180b(0xe6)][_0x18180b(0x23c)](_0x279498['id'],_0x279498[_0x18180b(0x164)],_0x34f0e3);}catch(_0x31abc9){this[_0x18180b(0x94)][_0x18180b(0x36d)](_0x31abc9);}}['_setFormulaLimitStatus'](_0x396753,_0x41feb9){const _0x3246a5=_0x35dcc5;_0x41feb9<this['_lastResponseTimestamp']||(this['_lastResponseTimestamp']=_0x41feb9,this['_maxFormulaLimit']=Number['parseInt'](_0x396753[_0x3246a5(0x350)]),this[_0x3246a5(0x154)]=Number[_0x3246a5(0xb5)](_0x396753[_0x3246a5(0x239)]));}async[_0x35dcc5(0x207)](_0x1a2a7f){const _0x5ec444=_0x35dcc5;var _0x3e680d,_0x5924dc;const _0x290090=Date['now']();try{const _0x515bf1=((_0x3e680d=this[_0x5ec444(0x1c2)][_0x5ec444(0x14a)](_0xe836dc[_0x5ec444(0x338)]))==null?void 0x0:_0x3e680d[_0x5ec444(0x337)])||_0x5ead8b,_0x2fea2c=(await this[_0x5ec444(0x111)][_0x5ec444(0x109)](_0x515bf1,{'body':JSON[_0x5ec444(0x1b6)]({'taskId':_0x1a2a7f})}))[_0x5ec444(0x279)];if(((_0x5924dc=_0x2fea2c[_0x5ec444(0x36d)])==null?void 0x0:_0x5924dc[_0x5ec444(0xfe)])!==_0x5a8da7['OK'])return;this[_0x5ec444(0x331)](_0x2fea2c[_0x5ec444(0x191)],_0x290090);}catch(_0x2cc754){this[_0x5ec444(0x94)][_0x5ec444(0x36d)](_0x2cc754);}}async[_0x35dcc5(0x250)](_0x3652b2){const _0x33c88d=_0x35dcc5;var _0x17c1c8,_0x22e56c;const _0xed5485=Date[_0x33c88d(0x153)]();try{const _0xcae761=((_0x17c1c8=this[_0x33c88d(0x1c2)]['getConfig'](_0xe836dc[_0x33c88d(0x338)]))==null?void 0x0:_0x17c1c8[_0x33c88d(0x1b4)])||_0x31e8dd,_0x103222=_0x3652b2?_0xcae761+'?taskId='+encodeURIComponent(_0x3652b2):_0xcae761,_0x1cf2c0=(await this[_0x33c88d(0x111)][_0x33c88d(0x343)](_0x103222))['body'];if(((_0x22e56c=_0x1cf2c0[_0x33c88d(0x36d)])==null?void 0x0:_0x22e56c['code'])!==_0x5a8da7['OK'])return;this['_setFormulaLimitStatus'](_0x1cf2c0[_0x33c88d(0x191)],_0xed5485);}catch(_0x1bc394){this[_0x33c88d(0x94)]['error'](_0x1bc394);}}async['_releaseCalculationLimit'](_0x70102d){const _0x1929bc=_0x35dcc5;var _0xa48f97,_0x2704f9;const _0x3b9711=Date['now']();try{const _0x4aa110=((_0xa48f97=this[_0x1929bc(0x1c2)]['getConfig'](_0xe836dc[_0x1929bc(0x338)]))==null?void 0x0:_0xa48f97[_0x1929bc(0x15c)])||_0x59133d,_0x37abc0=(await this[_0x1929bc(0x111)][_0x1929bc(0x109)](_0x4aa110,{'body':JSON[_0x1929bc(0x1b6)]({'taskId':_0x70102d})}))[_0x1929bc(0x279)];if(((_0x2704f9=_0x37abc0[_0x1929bc(0x36d)])==null?void 0x0:_0x2704f9[_0x1929bc(0xfe)])!==_0x5a8da7['OK'])return;this['_setFormulaLimitStatus'](_0x37abc0[_0x1929bc(0x191)],_0x3b9711);}catch(_0x5b54b9){this['_logService'][_0x1929bc(0x36d)](_0x5b54b9);}}[_0x35dcc5(0x2ce)](){const _0x4aa11d=_0x35dcc5;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x4aa11d(0x1ad)]-this[_0x4aa11d(0x154)]>0x0;}[_0x35dcc5(0x27a)](){const _0x429bf2=_0x35dcc5;this[_0x429bf2(0x211)]&&(clearTimeout(this[_0x429bf2(0x211)]),this[_0x429bf2(0x211)]=null);}[_0x35dcc5(0xb1)](){const _0x233779=_0x35dcc5;this['_messageService'][_0x233779(0x18a)]({'content':this[_0x233779(0xaf)]['t'](_0x233779(0x1ae)),'type':_0x31b7ea[_0x233779(0x1f8)][_0x233779(0xb6)]});}[_0x35dcc5(0x8b)](_0x5546ce){const _0xbeee1c=_0x35dcc5;for(const _0x2e0b7b of _0x5546ce){const {unitId:_0x524a46,sheetId:_0x4176bd,range:_0x2b7dc6}=_0x2e0b7b,_0x1430be=this[_0xbeee1c(0x2ee)]['getUnit'](_0x524a46);if(!_0x1430be)continue;const _0x1e4523=_0x1430be[_0xbeee1c(0x14b)](_0x4176bd);if(!_0x1e4523)continue;const _0x577001=_0x1e4523[_0xbeee1c(0x2a4)]();for(let _0x1c2f1c=_0x2b7dc6[_0xbeee1c(0x122)];_0x1c2f1c<=_0x2b7dc6['endRow'];_0x1c2f1c++)for(let _0x37f827=_0x2b7dc6[_0xbeee1c(0x270)];_0x37f827<=_0x2b7dc6[_0xbeee1c(0x13b)];_0x37f827++){const _0x2855f9=_0x577001[_0xbeee1c(0x20a)](_0x1c2f1c,_0x37f827);if(_0x2855f9&&(_0x1acd3c['isFormulaString'](_0x2855f9['f'])||_0x1acd3c[_0xbeee1c(0x286)](_0x2855f9['si'])))return!0x0;}}return!0x1;}};_0x20acf5=_0x444011([_0x17cba1(0x0,_0x1acd3c[_0x35dcc5(0x36c)](_0x3d1085['IMessageService'])),_0x17cba1(0x1,_0x1acd3c[_0x35dcc5(0x27e)]),_0x17cba1(0x2,_0x1acd3c[_0x35dcc5(0x2f1)]),_0x17cba1(0x3,_0x1acd3c['Inject'](_0x26a7c0['HTTPService'])),_0x17cba1(0x4,_0x1acd3c['IUniverInstanceService']),_0x17cba1(0x5,_0x1acd3c[_0x35dcc5(0x296)]),_0x17cba1(0x6,_0x1acd3c[_0x35dcc5(0x36c)](_0x1acd3c[_0x35dcc5(0x10c)]))],_0x20acf5);var _0x40ea6d=Object[_0x35dcc5(0x378)],_0x45bb2a=(_0x4d6f4,_0x317bb6,_0x3cc101,_0x2020b1)=>{const _0x3dc326=_0x35dcc5;for(var _0x3adef0=_0x2020b1>0x1?void 0x0:_0x2020b1?_0x40ea6d(_0x317bb6,_0x3cc101):_0x317bb6,_0x31a209=_0x4d6f4[_0x3dc326(0x36b)]-0x1,_0x5d4a08;_0x31a209>=0x0;_0x31a209--)(_0x5d4a08=_0x4d6f4[_0x31a209])&&(_0x3adef0=_0x5d4a08(_0x3adef0)||_0x3adef0);return _0x3adef0;},_0x4999c5=(_0x40237e,_0x53ad18)=>(_0xa9c299,_0x50a398)=>_0x53ad18(_0xa9c299,_0x50a398,_0x40237e);let _0x125cac=class extends _0x1acd3c['Disposable']{constructor(_0x55e248,_0xb8dd89,_0x2f4edc){const _0x226ec0=_0x35dcc5;super(),_0x504098(this,_0x226ec0(0x35d),new Map()),_0x504098(this,_0x226ec0(0x271),new Map()),_0x504098(this,_0x226ec0(0x2e0),!0x1),(this[_0x226ec0(0x1c2)]=_0x55e248,this['_localStorageService']=_0xb8dd89,this[_0x226ec0(0x240)]=_0x2f4edc);}[_0x35dcc5(0x176)](){const _0x3c3da9=_0x35dcc5;this[_0x3c3da9(0x2e0)]=!0x0;}['enableLocalCache'](){const _0x187fc0=_0x35dcc5;this[_0x187fc0(0x2e0)]=!0x1;}get[_0x35dcc5(0xb2)](){const _0x39b85c=_0x35dcc5;return this[_0x39b85c(0x271)];}[_0x35dcc5(0x381)](){const _0x15b6e0=_0x35dcc5;this[_0x15b6e0(0x317)]()[_0x15b6e0(0x1c3)](()=>super[_0x15b6e0(0x381)]());}async[_0x35dcc5(0xb4)](_0x1dbb80){const _0x23988e=_0x35dcc5;return this[_0x23988e(0x2e0)]?null:this['_localStorageService']['getItem'](_0xe836dc['getLocalCacheKey'](_0x1dbb80));}async[_0x35dcc5(0x86)](_0x59e85d,_0x3a228e){const _0x3ad2c2=_0x35dcc5;return!!this[_0x3ad2c2(0xf5)][_0x3ad2c2(0x345)](_0x59e85d,_0x3a228e);}[_0x35dcc5(0x148)](_0x104cfc,_0x1829a2,_0x4d7529,_0x45137f){const _0x863731=_0x35dcc5,_0x2b5501=this[_0x863731(0x240)][_0x863731(0x218)](_0x104cfc);this[_0x863731(0x35d)][_0x863731(0x375)](_0x104cfc,{'unitID':_0x104cfc,'type':_0x1829a2,'awaitingChangeset':_0x4d7529,'mutations':_0x45137f,'rev':_0x2b5501}),this[_0x863731(0x271)][_0x863731(0x1ba)](_0x104cfc)||this[_0x863731(0x280)](_0x104cfc);}[_0x35dcc5(0x280)](_0x2944fd){const _0x1e67bf=_0x35dcc5,_0x4d1123=this[_0x1e67bf(0xe2)]();_0x4d1123===0x0?this[_0x1e67bf(0x147)](_0x2944fd):this[_0x1e67bf(0x271)]['set'](_0x2944fd,setTimeout(()=>this[_0x1e67bf(0x147)](_0x2944fd),_0x4d1123));}[_0x35dcc5(0xe2)](){const _0x49dbae=_0x35dcc5;var _0x5c5613;return(_0x5c5613=this['_configService'][_0x49dbae(0x14a)](_0xe836dc[_0x49dbae(0x1c0)]))!=null?_0x5c5613:_0xe836dc['LOCAL_CACHE_INTERVAL'];}[_0x35dcc5(0x147)](_0x51598b){const _0x5a800d=_0x35dcc5,_0xe752a6=this[_0x5a800d(0x271)][_0x5a800d(0x343)](_0x51598b);return _0xe752a6!==void 0x0&&window[_0x5a800d(0x248)](_0xe752a6),this['_localStorageService'][_0x5a800d(0x345)](_0xe836dc[_0x5a800d(0x243)](_0x51598b),this[_0x5a800d(0x35d)][_0x5a800d(0x343)](_0x51598b))[_0x5a800d(0x1c3)](()=>this['_saveTaskMap']['delete'](_0x51598b));}async[_0x35dcc5(0x317)](){const _0x54ec7a=_0x35dcc5,_0x551e14=[];this[_0x54ec7a(0x271)][_0x54ec7a(0x9a)]((_0x3a8eaa,_0x306105)=>{const _0x4bf6c1=_0x54ec7a;window['clearTimeout'](_0x3a8eaa),_0x551e14[_0x4bf6c1(0x2c2)](this['_saveCache'](_0x306105)[_0x4bf6c1(0x1c3)](()=>{this['_saveTaskMap']['delete'](_0x306105);}));}),await Promise[_0x54ec7a(0xb7)](_0x551e14);}};_0x125cac=_0x45bb2a([_0x4999c5(0x0,_0x1acd3c[_0x35dcc5(0x2f1)]),_0x4999c5(0x1,_0x1acd3c[_0x35dcc5(0x29e)]),_0x4999c5(0x2,_0x1acd3c[_0x35dcc5(0x36c)](_0x1d9a86[_0x35dcc5(0x26f)]))],_0x125cac);class _0x1e34fb extends _0x1acd3c['RxDisposable']{constructor(){const _0x4b7440=_0x35dcc5;super(),_0x504098(this,_0x4b7440(0xec)),this['urlChange$']=_0x52b4d8[_0x4b7440(0x237)](window,'popstate')[_0x4b7440(0x22a)](_0x52b4d8[_0x4b7440(0xa7)](this['dispose$']),_0x52b4d8[_0x4b7440(0x113)](0x1),_0x52b4d8[_0x4b7440(0x105)](void 0x0));}[_0x35dcc5(0x130)](_0x450c8e,_0x1024af,_0x8af0bf=!0x1){const _0x493935=_0x35dcc5,_0x1daf00=new URL(window[_0x493935(0x196)][_0x493935(0x37e)]);_0x1daf00[_0x493935(0x1bb)][_0x493935(0x375)](_0x450c8e,_0x1024af),_0x8af0bf?window['history'][_0x493935(0x361)]('','',_0x1daf00[_0x493935(0x327)]()):window[_0x493935(0x23e)][_0x493935(0xf1)]('','',_0x1daf00[_0x493935(0x327)]());}[_0x35dcc5(0x189)](_0x27c293,_0x5680c2=!0x1){const _0x46966a=_0x35dcc5,_0x3b5c63=new URL(window[_0x46966a(0x196)][_0x46966a(0x37e)]);_0x3b5c63[_0x46966a(0x1bb)]['delete'](_0x27c293),_0x5680c2?window[_0x46966a(0x23e)][_0x46966a(0x361)]('','',_0x3b5c63[_0x46966a(0x327)]()):window[_0x46966a(0x23e)][_0x46966a(0xf1)]('','',_0x3b5c63[_0x46966a(0x327)]());}[_0x35dcc5(0x1a2)](_0x36e2f0){const _0x3c4c47=_0x35dcc5;var _0x96a641;return(_0x96a641=new URL(window['location']['href'])[_0x3c4c47(0x1bb)][_0x3c4c47(0x343)](_0x36e2f0))!=null?_0x96a641:void 0x0;}}var _0x52ee2e=Object[_0x35dcc5(0x2a2)],_0x4ac457=Object[_0x35dcc5(0x378)],_0x1929cc=(_0x271e52,_0x1ba97a,_0x4ffa02)=>_0x1ba97a in _0x271e52?_0x52ee2e(_0x271e52,_0x1ba97a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4ffa02}):_0x271e52[_0x1ba97a]=_0x4ffa02,_0x4cc86e=(_0x564b07,_0x39075,_0x3eddef,_0x2a6e86)=>{const _0x1563d2=_0x35dcc5;for(var _0x165616=_0x2a6e86>0x1?void 0x0:_0x2a6e86?_0x4ac457(_0x39075,_0x3eddef):_0x39075,_0x2fe4db=_0x564b07[_0x1563d2(0x36b)]-0x1,_0x4ca8bd;_0x2fe4db>=0x0;_0x2fe4db--)(_0x4ca8bd=_0x564b07[_0x2fe4db])&&(_0x165616=_0x4ca8bd(_0x165616)||_0x165616);return _0x165616;},_0x50e127=(_0x21d00a,_0x81cd2e)=>(_0x2d01da,_0x2f8d02)=>_0x81cd2e(_0x2d01da,_0x2f8d02,_0x21d00a),_0x566736=(_0x564135,_0x1b33d4,_0x41401c)=>_0x1929cc(_0x564135,_0x1b33d4+'',_0x41401c);const _0x1c2b55=_0x35dcc5(0x25d);_0x94c2a0['UniverCollaborationClientUIPlugin']=class extends _0x1acd3c[_0x35dcc5(0x1c6)]{constructor(_0x4e4a58=_0x444dbe,_0x154b31,_0x12bc4d,_0x379a5d){const _0x44df97=_0x35dcc5;super(),this[_0x44df97(0x12d)]=_0x4e4a58,this['_renderManagerService']=_0x154b31,this[_0x44df97(0x304)]=_0x12bc4d,this[_0x44df97(0x1c2)]=_0x379a5d;const {..._0x1cd192}=_0x1acd3c['merge']({},_0x444dbe,this['_config']);this[_0x44df97(0x1c2)][_0x44df97(0x22c)](_0x1b22ef,_0x1cd192);}[_0x35dcc5(0x293)](){const _0x182af7=_0x35dcc5;this['_registerDependencies'](),this[_0x182af7(0x93)]();}[_0x35dcc5(0x274)](){const _0x55dfd2=_0x35dcc5;this[_0x55dfd2(0x2b6)]();}[_0x35dcc5(0x300)](){const _0x15d88f=_0x35dcc5;var _0x362aae;const _0x16cedb=[[_0x2ecc79],[_0x20acf5],[_0x5ca507],[_0x17d59f],[_0x20228f],[_0x4fc58b],[_0x47bc3f,{'useClass':_0x1e34fb}],[_0x26a7c0[_0x15d88f(0x340)],{'useClass':_0x26a7c0['WebSocketService']}],[_0xe836dc[_0x15d88f(0x1d6)],{'useClass':_0x125cac}],[_0x94c2a0[_0x15d88f(0x34a)]],[_0x207c0e],[_0x56f72a],[_0x224c41],[_0x774444],[_0x94c2a0['CollaborationDataLoaderController']]];this['_config'][_0x15d88f(0x265)]&&_0x16cedb[_0x15d88f(0x2c2)]([_0x245133]),_0x1acd3c['registerDependencies'](this[_0x15d88f(0x304)],_0x1acd3c['mergeOverrideWithDependencies'](_0x16cedb,(_0x362aae=this[_0x15d88f(0x12d)])==null?void 0x0:_0x362aae[_0x15d88f(0x12e)]));}[_0x35dcc5(0x2b6)](){const _0x2f950b=_0x35dcc5;this[_0x2f950b(0x362)](this[_0x2f950b(0x19d)][_0x2f950b(0x210)](_0x1acd3c[_0x2f950b(0x8d)][_0x2f950b(0x1b2)],[_0x2a51ff])),this[_0x2f950b(0x362)](this[_0x2f950b(0x19d)]['registerRenderModule'](_0x1acd3c[_0x2f950b(0x8d)][_0x2f950b(0x97)],[_0x4f2b9e]));}['_initDependencies'](){const _0x430ff1=_0x35dcc5;_0x1acd3c['touchDependencies'](this[_0x430ff1(0x304)],[[_0x224c41],[_0x94c2a0[_0x430ff1(0x34a)]],[_0x207c0e],[_0x56f72a],[_0x94c2a0[_0x430ff1(0xdc)]],[_0x20acf5]]),this[_0x430ff1(0x12d)][_0x430ff1(0x265)]&&_0x1acd3c[_0x430ff1(0x1c5)](this['_injector'],[[_0x245133]]);}},_0x566736(_0x94c2a0['UniverCollaborationClientUIPlugin'],_0x35dcc5(0x294),_0x1c2b55),_0x94c2a0[_0x35dcc5(0x180)]=_0x4cc86e([_0x1acd3c[_0x35dcc5(0xee)](_0xe836dc[_0x35dcc5(0x29c)]),_0x50e127(0x1,_0x4dbd74[_0x35dcc5(0x1f3)]),_0x50e127(0x2,_0x1acd3c[_0x35dcc5(0x36c)](_0x1acd3c[_0x35dcc5(0x11b)])),_0x50e127(0x3,_0x1acd3c[_0x35dcc5(0x2f1)])],_0x94c2a0[_0x35dcc5(0x180)]);var _0x3aba60=Object[_0x35dcc5(0x378)],_0x53105c=(_0x444123,_0x2ea1ff,_0x4955fd,_0x5e0c89)=>{const _0x2b6598=_0x35dcc5;for(var _0x45ba30=_0x5e0c89>0x1?void 0x0:_0x5e0c89?_0x3aba60(_0x2ea1ff,_0x4955fd):_0x2ea1ff,_0x2704bf=_0x444123[_0x2b6598(0x36b)]-0x1,_0x4f1eb5;_0x2704bf>=0x0;_0x2704bf--)(_0x4f1eb5=_0x444123[_0x2704bf])&&(_0x45ba30=_0x4f1eb5(_0x45ba30)||_0x45ba30);return _0x45ba30;},_0x5ca938=(_0x917fff,_0x599eff)=>(_0x3842e9,_0x4f5c2c)=>_0x599eff(_0x3842e9,_0x4f5c2c,_0x917fff);_0x94c2a0[_0x35dcc5(0x227)]=class extends _0xe836dc[_0x35dcc5(0x30e)]{constructor(_0x23f50a,_0x1316bd,_0x27b434,_0x6c59c5,_0x2a59d7){super(_0x23f50a,_0x1316bd,_0x27b434,_0x6c59c5,_0x2a59d7);}async[_0x35dcc5(0x2ca)](_0x2e9afb){const _0x279329=_0x35dcc5,_0x1f4a0f=await this[_0x279329(0x379)](),_0x282a04=this['_createSocketURL'](_0x2e9afb,_0x1f4a0f);return this[_0x279329(0x19e)](_0x282a04);}['_createSocketURL'](_0x49a899,_0x19f627){const _0x15268e=_0x35dcc5,_0x11b131=typeof window>'u'?new URL(_0x49a899):new URL(_0x49a899,window[_0x15268e(0x196)][_0x15268e(0x2f6)]);_0x11b131[_0x15268e(0x1bb)][_0x15268e(0x375)](_0x15268e(0xaa),_0x19f627);const _0x305bd1=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x15268e(0x196)][_0x15268e(0x95)]);return _0x305bd1['get']('runId')&&_0x11b131[_0x15268e(0x1bb)]['set'](_0x15268e(0x349),_0x305bd1['get']('runId')),_0x11b131['toString']();}async['_getSessionTicket'](){const _0x3cd31b=_0x35dcc5;var _0x36d5dd,_0x3b50bd,_0x1deb33;const _0x3826fb=this[_0x3cd31b(0x1c2)][_0x3cd31b(0x14a)](_0xe836dc[_0x3cd31b(0x338)]),_0x44d20d=(_0x36d5dd=_0x3826fb==null?void 0x0:_0x3826fb['wsSessionTicketUrl'])!=null?_0x36d5dd:_0xe836dc[_0x3cd31b(0x14d)];return(_0x1deb33=(_0x3b50bd=(await this[_0x3cd31b(0x111)]['get'](_0x44d20d,{'headers':{'Content-Type':_0x3cd31b(0xc0)}}))[_0x3cd31b(0x279)])==null?void 0x0:_0x3b50bd['ticket'])!=null?_0x1deb33:'';}},_0x94c2a0[_0x35dcc5(0x227)]=_0x53105c([_0x5ca938(0x0,_0x1acd3c['Inject'](_0x1acd3c[_0x35dcc5(0x11b)])),_0x5ca938(0x1,_0x1acd3c[_0x35dcc5(0x36c)](_0x26a7c0[_0x35dcc5(0x377)])),_0x5ca938(0x2,_0x1acd3c[_0x35dcc5(0x2f1)]),_0x5ca938(0x3,_0x1acd3c['ILogService']),_0x5ca938(0x4,_0x1d9a86['ISnapshotServerService'])],_0x94c2a0[_0x35dcc5(0x227)]);var _0x56d996=Object[_0x35dcc5(0x378)],_0x5c877c=(_0x53013f,_0x491019,_0x4849f6,_0x4ba3d)=>{const _0x22977a=_0x35dcc5;for(var _0x5b6665=_0x4ba3d>0x1?void 0x0:_0x4ba3d?_0x56d996(_0x491019,_0x4849f6):_0x491019,_0x110c9d=_0x53013f[_0x22977a(0x36b)]-0x1,_0x518de7;_0x110c9d>=0x0;_0x110c9d--)(_0x518de7=_0x53013f[_0x110c9d])&&(_0x5b6665=_0x518de7(_0x5b6665)||_0x5b6665);return _0x5b6665;},_0x188c3e=(_0x269a3b,_0x116ac0)=>(_0x432792,_0x4eea32)=>_0x116ac0(_0x432792,_0x4eea32,_0x269a3b);_0x94c2a0[_0x35dcc5(0xbc)]=class extends _0x1acd3c[_0x35dcc5(0x208)]{constructor(_0x857cc2,_0x18bf5f,_0x5e5746){const _0x2e3c06=_0x35dcc5;super(),this[_0x2e3c06(0x209)]=_0x857cc2,this[_0x2e3c06(0x111)]=_0x18bf5f,this[_0x2e3c06(0x1c2)]=_0x5e5746;}async[_0x35dcc5(0x26d)](_0x5c9c32,_0x409e09,_0x26824d,..._0x4c84b3){const _0x3069a4=_0x35dcc5;var _0x3f33cd,_0x240ceb,_0x59cae3,_0x301327;const _0x5008b6=this[_0x3069a4(0x209)][_0x3069a4(0x21c)]();if(!_0x5008b6)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x1698d4=((_0x3f33cd=this[_0x3069a4(0x1c2)]['getConfig'](_0xe836dc[_0x3069a4(0xd7)]))!=null?_0x3f33cd:_0xe836dc[_0x3069a4(0xdf)])+'/'+_0x5c9c32+'/run/'+_0x409e09,_0x114695=new URL(window[_0x3069a4(0x196)][_0x3069a4(0x37e)]),_0x408cde={'scriptId':_0x5c9c32,'runId':(_0x240ceb=_0x114695['searchParams'][_0x3069a4(0x343)](_0x3069a4(0x349)))!=null?_0x240ceb:'','function':_0x409e09,'unitId':_0x5008b6[_0x3069a4(0x2cb)](),'argsOfFunction':JSON[_0x3069a4(0x1b6)](_0x4c84b3),'invokeId':(_0x59cae3=_0x26824d[_0x3069a4(0x32e)])!=null?_0x59cae3:'','executionId':(_0x301327=_0x26824d[_0x3069a4(0x2e1)])!=null?_0x301327:''};try{const _0x1aaa83=await this[_0x3069a4(0x111)]['post'](_0x1698d4,{'body':_0x408cde});return _0x1aaa83[_0x3069a4(0x279)][_0x3069a4(0x36d)]&&_0x1aaa83['body'][_0x3069a4(0x36d)][_0x3069a4(0xfe)]!==_0x5a8da7['OK']?'Failed':_0x1aaa83['body'][_0x3069a4(0x19c)];}catch{return'Failed';}}},_0x94c2a0[_0x35dcc5(0xbc)]=_0x5c877c([_0x188c3e(0x0,_0x1acd3c[_0x35dcc5(0x329)]),_0x188c3e(0x1,_0x1acd3c[_0x35dcc5(0x36c)](_0x26a7c0[_0x35dcc5(0x377)])),_0x188c3e(0x2,_0x1acd3c[_0x35dcc5(0x2f1)])],_0x94c2a0['RemoteUniscriptService']);const _0x2f5fd9=0x7530,_0x366a5e=_0x35dcc5(0x33d);class _0x11f82a extends _0x1acd3c['Disposable']{constructor(){const _0x583cc2=_0x35dcc5;super(),_0x504098(this,'_id',_0x1acd3c[_0x583cc2(0x23f)]()),_0x504098(this,_0x583cc2(0x152),new Set()),_0x504098(this,_0x583cc2(0x221),new Map()),_0x504098(this,_0x583cc2(0x364),null),_0x504098(this,'_clearOtherTimers',new Map()),_0x504098(this,_0x583cc2(0x117),new Map()),this[_0x583cc2(0x216)]();}[_0x35dcc5(0x381)](){const _0x12c66d=_0x35dcc5;super[_0x12c66d(0x381)](),this['_clearOtherTimers']['forEach']((_0xb4198f,_0x18c534)=>this[_0x12c66d(0x2db)](_0x18c534)),this[_0x12c66d(0x364)]&&window[_0x12c66d(0x244)](this[_0x12c66d(0x364)]);}[_0x35dcc5(0x354)](_0x2a6e88){const _0x1af53d=_0x35dcc5;return this[_0x1af53d(0x90)](_0x2a6e88)[_0x1af53d(0x22a)](_0x52b4d8[_0x1af53d(0x266)]());}[_0x35dcc5(0x2e7)](_0x2c2aa1){const _0x594b46=_0x35dcc5;this[_0x594b46(0x152)][_0x594b46(0x9b)]===0x0&&this[_0x594b46(0x119)](),this[_0x594b46(0x152)][_0x594b46(0x2fc)](_0x2c2aa1),this['_send']({'type':0x0,'memberID':this[_0x594b46(0x12c)],'unitIDs':[_0x2c2aa1],'isForwarded':!0x1});}[_0x35dcc5(0x1d1)](_0x1040f3){const _0x1b0db3=_0x35dcc5;this[_0x1b0db3(0x152)][_0x1b0db3(0x2bb)](_0x1040f3),this[_0x1b0db3(0x152)][_0x1b0db3(0x9b)]===0x0&&this[_0x1b0db3(0x364)]&&window[_0x1b0db3(0x244)](this['_heartbeatTimer']);}[_0x35dcc5(0x216)](){const _0x195d4d=_0x35dcc5;this[_0x195d4d(0x362)](_0x1acd3c[_0x195d4d(0x31a)](_0x52b4d8['fromEvent'](window,_0x195d4d(0x259))[_0x195d4d(0xc6)](_0x31c8b5=>{const _0x6e64b0=_0x195d4d;if(_0x31c8b5[_0x6e64b0(0x2b1)]!==_0x366a5e||!_0x31c8b5[_0x6e64b0(0xd5)])return;const _0x55f791=JSON[_0x6e64b0(0x325)](_0x31c8b5[_0x6e64b0(0xd5)]);this[_0x6e64b0(0x1ec)](_0x55f791);}))),window[_0x195d4d(0x374)](_0x195d4d(0x11d),()=>this[_0x195d4d(0x9e)]({'type':0x1,'memberID':this[_0x195d4d(0x12c)],'unitIDs':Array[_0x195d4d(0x29a)](this[_0x195d4d(0x152)])}));}[_0x35dcc5(0x1ec)](_0x3baab5){const _0x510de9=_0x35dcc5;switch(_0x3baab5['type']){case 0x0:this[_0x510de9(0xcb)](_0x3baab5);break;case 0x1:this[_0x510de9(0x1a6)](_0x3baab5);break;case 0x2:this[_0x510de9(0x33c)](_0x3baab5);break;}}['_handleJoinEvent'](_0x3528da){const _0x6b1cf3=_0x35dcc5,{unitIDs:_0x4858ca,memberID:_0x5b7675,isForwarded:_0x3af1c7}=_0x3528da;_0x4858ca[_0x6b1cf3(0x9a)](_0x4b5200=>{const _0x6f7a01=_0x6b1cf3;if(!_0x3af1c7&&this[_0x6f7a01(0x221)][_0x6f7a01(0x1ba)](_0x4b5200)&&this[_0x6f7a01(0x90)](_0x4b5200)[_0x6f7a01(0xba)](_0xe836dc[_0x6f7a01(0x15d)][_0x6f7a01(0x157)]),!this[_0x6f7a01(0x221)][_0x6f7a01(0x1ba)](_0x4b5200)||!this[_0x6f7a01(0x221)][_0x6f7a01(0x343)](_0x4b5200)[_0x6f7a01(0x1ba)](_0x5b7675)){const _0x52a8ca=this[_0x6f7a01(0x221)][_0x6f7a01(0x343)](_0x4b5200)||new Set();_0x52a8ca['add'](_0x5b7675),this[_0x6f7a01(0x221)][_0x6f7a01(0x375)](_0x4b5200,_0x52a8ca),this[_0x6f7a01(0x23d)](_0x5b7675);}}),_0x3af1c7||this[_0x6b1cf3(0x9e)]({'type':0x0,'memberID':this[_0x6b1cf3(0x12c)],'unitIDs':[...this[_0x6b1cf3(0x152)]],'isForwarded':!0x0});}[_0x35dcc5(0x23d)](_0x4c946d){const _0x1ebc1e=_0x35dcc5;this[_0x1ebc1e(0x2db)](_0x4c946d);const _0xd77ba5=window[_0x1ebc1e(0x241)](()=>{const _0x3702ce=_0x1ebc1e;this['_unitOnClients'][_0x3702ce(0x9a)](_0x3cd8c0=>{_0x3cd8c0['delete'](_0x4c946d);});},_0x2f5fd9*0x2);this['_clearOtherTimers'][_0x1ebc1e(0x375)](_0x4c946d,_0xd77ba5);}[_0x35dcc5(0x2db)](_0xe9adde){const _0x2456ff=_0x35dcc5;if(this[_0x2456ff(0x1e4)][_0x2456ff(0x1ba)](_0xe9adde)){const _0x242832=this[_0x2456ff(0x1e4)][_0x2456ff(0x343)](_0xe9adde);_0x242832&&window[_0x2456ff(0x248)](_0x242832),this['_clearOtherTimers'][_0x2456ff(0x375)](_0xe9adde,null);}}[_0x35dcc5(0x1a6)](_0x3f78ae){const _0x56f86d=_0x35dcc5,{memberID:_0xc3fa,unitIDs:_0x3281a9}=_0x3f78ae;_0x3281a9[_0x56f86d(0x9a)](_0x3e61bc=>{const _0x388f00=_0x56f86d;var _0xd3f08e;const _0x3eaff5=this['_unitOnClients'][_0x388f00(0x343)](_0x3e61bc);_0x3eaff5&&(_0x3eaff5[_0x388f00(0x2bb)](_0xc3fa),(_0xd3f08e=this['_ensureSubject'](_0x3e61bc))==null||_0xd3f08e[_0x388f00(0xba)](_0x3eaff5['size']===0x0?_0xe836dc[_0x388f00(0x15d)][_0x388f00(0x323)]:_0xe836dc[_0x388f00(0x15d)]['OTHER_CLIENTS_EDITING']));}),this[_0x56f86d(0x2db)](_0xc3fa);}[_0x35dcc5(0x33c)](_0x4e7375){const _0x158e7d=_0x35dcc5;this[_0x158e7d(0x23d)](_0x4e7375['memberID']);}[_0x35dcc5(0x9e)](_0x248845){const _0x4dad4e=_0x35dcc5;localStorage[_0x4dad4e(0x345)](_0x366a5e,JSON[_0x4dad4e(0x1b6)](_0x248845));}[_0x35dcc5(0x119)](){const _0x5cbab4=_0x35dcc5;this[_0x5cbab4(0x364)]=window[_0x5cbab4(0x146)](()=>{const _0x27ac44=_0x5cbab4;this[_0x27ac44(0x9e)]({'type':0x2,'memberID':this[_0x27ac44(0x12c)]});},_0x2f5fd9);}[_0x35dcc5(0x90)](_0x10deaf){const _0x5cdd47=_0x35dcc5;return this[_0x5cdd47(0x117)][_0x5cdd47(0x1ba)](_0x10deaf)||this[_0x5cdd47(0x117)][_0x5cdd47(0x375)](_0x10deaf,new _0x52b4d8[(_0x5cdd47(0x2eb))](_0xe836dc[_0x5cdd47(0x15d)][_0x5cdd47(0x323)])),this['_unitStatus'][_0x5cdd47(0x343)](_0x10deaf);}}_0x94c2a0[_0x35dcc5(0x2a0)]=_0x47bc3f,_0x94c2a0[_0x35dcc5(0xc8)]=_0x17cc8b,_0x94c2a0[_0x35dcc5(0x314)]=_0x11f82a,_0x94c2a0[_0x35dcc5(0x2c1)]=_0x1e34fb,Object['defineProperty'](_0x94c2a0,Symbol[_0x35dcc5(0x14c)],{'value':_0x35dcc5(0x204)});}));function _0x3f7c(){const _0xeb7894=['CollaborationUIEventId','CONFLICT','[Unhandled\x20Rejection]:\x20','getUndoRedoMutationParamsCache','createInstance','_draw','resize','onPointerEnter$','@univerjs/rpc','Module','drawWith','_updateLocalCursor','_startCalculationLimit','Disposable','_instanceService','getValue','assignAColorForMemberID','_docTransformSelectionsService','arc','UniverIcon','_onCursorUpdate','registerRenderModule','_pollingInterval','START_CALCULATION','EMAIL_HAS_BEEN_BOUND','throttleTime','YUUMI_RATE_OVER_LIMIT','_init','REDEMPTION_USER_REDEEM_TIMES_EXCEED','getCurrentRevOfUnit','restore','Unknown\x20user','useDependency','getFocusedUnit','bind','url(#off-line-icon_clip0_910_343)','_range','Optional','_unitOnClients','_name','_onRefRangeChange','isActive','getTypeOfUnitAdded$','_uiPartsService','BrowserCollaborationSocketService','div','_initEntityListener','pipe','NodePositionConvertToRectRange','setConfig','Warning','ranges','OnLineIcon','ColorKit','selection','collaboration-client-ui.config','uni.network.url-service','HEADER_MENU','_textBubble','clsx','fromEvent','_session','currentUsage','RemoveColCommandId','_initWindowErrorListener','executeCommand','_scheduleClearOtherTimer','history','generateRandomId','_revisionService','setTimeout','INTERNAL_ERROR','getLocalCacheKey','clearInterval','isArray','Success','TOO_MANY_REQUESTS','clearTimeout','getVpScrollXYInfoByPosToVp','collabStatus.notCollab','Vector2','m1Prime','TRANSFORM_CHANGE_OBSERVABLE_TYPE','UniverDrawing','_cursorShapes','_getFormulaLimitStatus','range','colorChannel1','RefRangeService','tag','docStateChange$','toRgbString','setAlpha','_applyCommand','storage','handleDeleteRangeMoveUp','black','handleIRemoveRow','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','Tools','DocSelectionManagerService','SetWorksheetActivateCommand','NodePositionConvertToCursor','sessionStatus$','some','UniverDocs','enableFrontendLog','distinctUntilChanged','defIds','getActiveSheet','complete','UniverUi','USER_NOT_INVITED_CODE','fromEventSubject','runOnServer','clipPath','RevisionService','startColumn','_saveTaskMap','LICENSE_MAX_UNITS_EXCEEDED','_initStatusListener','onRendered','_backgroundColor','runRefRangeMutations','transformMutation','AUTHORIZE_CODE_ILLEGAL','body','_clearPolling','unsubscribe','color','UniverEngineFormula','ICommandService','session.collaboration-timeout','_scheduleSaving','WECHAT_HAS_BEEN_BOUND','ENSURE_SNAPSHOT_EXECUTION','CollaborationStatus','getTypeOfUnitDisposed$','registerRefRange','isFormulaId','debounceTime','UNDEFINED','collabStatus.fetchMiss','_initUnhandledRejectionListener','LICENSE_IMPORT_SIZE_EXCEEDED','SessionStatus','INVITE_CODE_ALREADY_BOUND','DocIMEInputManagerService','bottom','serializeRangeWithSheet','getCurrent','_color','onStarting','pluginName','RichTextEditingMutation','ILogService','LICENSE_EXPORT_SIZE_EXCEEDED','_onCursorDelete','getOffsetConfig','from','@univerjs/sheets','UniverCollaborationClientPlugin','collabStatus.conflict','ILocalStorageService','stage','IURLService','xlink:href','defineProperty','subunit','getCellMatrix','_transformService','DocSkeletonManagerService','red.300','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_taskIds','currentColor','catch','getColor','getCellPositionByOffset','NOT_FOUND','_hovered','stack','key','shift','YUUMI_ASYNCIO_CANCELLED','ENTITLE_DUP_SUBSCRIPTION','_refreshCollabCursors','_registerRenderDependencies','collabStatus.offline','doc.mutation.rich-text-editing','_initUserListener','cursorInfo','delete','UniverProCollaborationClientUi','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_toggleOnline','YUUMI_NO_CUBOID_FOR_QUESTION','REDEMPTION_INVALID_CODE','WebURLService','push','ENTITLE_INSUFFICIENT_QUOTA','roomMembers$','NOT_COLLAB','addObject','_collaborationController','REDEMPTION_CODE_HAS_BEEN_CREATED','requireSession','createSocket','getUnitId','_collabCursorState$','hovered','_checkCalculationAvailable','ENTITLE_INVALID_COUPON_CODE','6926328BokcXJ','4911025THFfNP','jsx','_initEvent','transformByState','ENTITLE_USE_COUPON_NOT_1ST_TRADE','replace','addClipboardHook','fillText','LICENSE_DISTRO_REJECTED','AWAITING','_removeClearOtherTimer','_collaborationUIEventService','skeleton','makeDirty','_assignedColors','_disabled','executionId','PENDING','@univerjs-pro/collaboration-client','ENTITLE_COUPON_USED_UP','_uploadLog','object','editingUnit','763930OAmBjC','filter','_collabSessionService','BehaviorSubject','transformSelections','labelPosition','_univerInstanceService','collab-client.tooltip.reconnect','find','IConfigService','USERS_LEAVE','getViewport','REDEMPTION_CODE_FULLY_REDEEMED','REDEMPTION_CODE_NOT_STARTED','origin','_imageIoService','onPointerLeave$','dispose$','_hover','DATA_SOURCE_TOO_LARGE','add','path','6924sbCVcu','session.will-retry','_registerDependencies','COLORS','MOBILE_VERIFY_CODE_MISMATCH','_transformUndoRedoStack','_injector','SetDocZoomRatioOperation','random','TEXT_RANGE_LAYER_INDEX','Error','@univerjs/engine-render','UniverProCollaborationClient','Workbook','imageSourceType','setActiveRange','CollaborationSocketService','none','purple.300','width','_roomMembers$','handleIRemoveCol','WebBrowserSingleActiveUnitService','source','LOGIN_FAILED','exhaustSavingTask','ENTITLE_REPORT_LIMIT_EXCEED','attrs','toDisposable','YUUMI_UNABLE_LOAD_URL','_updateCollabCursors','column','onTransformChange$','_initCommandInterceptor','selections','triggerDblclick','_toggleOffline','NO_OTHER_CLIENTS_EDITING','_setupBeforeClosingHandler','parse','_eventUnsubscribe','toString','_handleHover','IUniverInstanceService','createElement','entries','APPLY_REJECT','_drawRectRange','invokeId','send','_notificationService','_setFormulaLimitStatus','FETCH_MISS','YUUMI_AI_RUN_FAILED','unitId','_colorAssignService','combineLatest','startFormulaLimitUrl','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','FormulaExecuteStageType','white','isEditing','_handleHeartbeatEvent','ACTIVE_UNIT_EVENT_CHANNEL','Rect','YUUMI_SUBSCRIPTION_NOT_FOUND','ISocketService','registerBeforeClose','VIEW_MAIN','get','substring','setItem','onMouseMove','permission.content','redoState','runId','DesktopCollaborationStatusDisplayController','CHANGESET_REVISION_CONFILICT','asObservable','includes','collab-text-range-','@univerjs/core','maxFormulaLimit','getCurrentSelections','FromArray','off-line-icon','getUnitStatus$','ENTITLE_COUPON_EXPIRED','mutations','IRemoteInstanceService','Shape','reason','svg','textRanges','getCoordByCell','_cachedData','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_setupSubUnitSync','_memberService','replaceState','disposeWithMe','status$','_heartbeatTimer','map','SNAPSHOT_INVALID_SNAPSHOT','RemoveRowCommandId','handleInsertRangeMoveRight','@univerjs/drawing','_startDocCollabCursor','length','Inject','error','_getMergeRange','IDocClipboardService','univerjs-icon\x20univerjs-icon-','_updateURLWithCurrentState','url(#on-line-icon_clip0_910_349)','YUUMI_URL_COL_OUT_OF_RANGE','addEventListener','set','9273636zuFpZN','HTTPService','getOwnPropertyDescriptor','_getSessionTicket','handleInsertRow','save','top','React','href','IMessageService','onPointerMove$','dispose','saveOfflineData','current','merge','USER_IS_ANONYMOUS','_initStatusComponent','_hasFormulaInDirtyRanges','getCollabCursors$','UniverInstanceType','_cursorInfo$','/universer-api/license/formula/limit/done','_ensureSubject','socket$','split','_initDependencies','_logService','search','transformMutationsWithChangeset','UNIVER_SHEET','forwardRef','getRangePointData','forEach','size','MoveRangeCommandId','event$','_send','CommandType','@univerjs/sheets-ui','rxjs','_labelPosition','_dataLoaderService','_collaborationSessionService','17734130PHRaBQ','JOIN_ROOM_FAILED','takeUntil','connectInjector','entityInit$','sessionTicket','_drawAnchor','findNodePositionByCharIndex','UniverProCollaboration','SNAPSHOT_HAS_BEEN_REMOVED','_localeService','_getScale','_showGuardMessage','saveTaskMap','unit','loadOfflineData','parseInt','Loading','all','PERMISSION_DENIED','transformRemoteChangeset','next','syncEditingCollabCursor','RemoteUniscriptService','Subject','OFFLINE','endRow','application/json','string','session.connection-failed','beginPath','eventID','getSheetId','subscribe','OffLineIcon','SheetCollabCursorShape','[CollaborationDataLoaderController]','APPLY_REVISION_CONFILICT','_handleJoinEvent','undoState','createIdentifier','[Window\x20Error]:\x20','getUnhiddenWorksheets','isTransformMutationFailure','DOC_RANGE_TYPE','text','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','newValue','CollaborationEvent','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_collabCursorController','ITransformService','InsertRowCommandId','_initResize','CollaborationDataLoaderController','unshift','EMAIL_VERIFY_CODE_MISMATCH','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','with','LOGIN_TOKEN_PROCESSING_FAILED','_getSaveTimeout','row','function','data','_commandService','_sheetSkeletonManagerService','_themeService','SetSelectionsOperation','YUUMI_ALL_TABLES_IS_INVALID','react/jsx-runtime','urlChange$','ONLINE','DependentOn','transformStateCache','_anchorDot','pushState','actions','YUUMI_CONNECTOR_URL_NOT_FOUND','1OPANQu','_localStorageService','UNAUTHENTICATED','INotificationService','useObservable','_context','RegularPolygon','fillStyle','cursorInfo$','init','code','APPLY_PERMISSION_DENIED','getCurrentUnitForType','_monkeyPatchLogService','CONNECTOR_DATA_TOO_LARGE','1539XLZeLr','_drawTextRange','mapTo','_lastResponseTimestamp','deepClone','measureText','post','USER_NOT_FOUND','name','LocaleService','evenodd','IBeforeCloseService','_docStateChangeManagerService','symbol','_httpService','ALREADY_EXISTS','shareReplay','SOCKET_FAILED_RETRY','whenReady','_memberID','_unitStatus','amd','_scheduleHeartbeat','_docSyncEditingCollabCursorService','Injector','on-line-icon_clip0_910_349','unload','handleMoveRange','/universer-api/license/formula/limit/status','getSkeleton','engine','startRow','_docClipboardService','_anchor','EffectRefRangId','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_localCacheService','FormulaExecutedStateType','_checkAndWaitForCalculationPermission','http://www.w3.org/2000/svg','DocStateChangeManagerService','_id','_config','override','MOBILE_HAS_BEEN_BOUND','setParam','registerComponent','_initCommandExecutedListener','_entityInit$','UNRECOGNIZED','_lastPointer','collaboration.closeRoom','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_cursor','ThemeService','onLocalMutation','endColumn','_shapes','handleDeleteRangeMoveLeft','1em','stageInfo','_cursors','[LogService\x20Error]:\x20','_entities','DocCollaborationEntity','join','contains','setInterval','_saveCache','updateOfflineData','saveImage','getConfig','getSheetBySheetId','toStringTag','DEFAULT_WS_SESSION_TICKET_URL','removeEventListener','off-line-icon_clip0_910_343','12oICKBj','setUndoRedoMutationParamsCache','_selfUnitIDs','now','_currentUsage','on-line-icon','_docTransformIMECacheService','OTHER_CLIENTS_EDITING','_hideTimer','translate(.97)','mask','_messageService','releaseFormulaLimitUrl','UnitStatus','_getAnchorBounding','@univerjs/design','transform','_docTransformStateCacheService','CollaborationController','addObjects','params','setShapeProps','handleInsertCol','m2Prime','\x20at\x20','SUCCESS','UniverRpc','transformIMECache','totalFormulasToCalculate','DeleteRangeMoveUpCommandId','CURRENT_STATUS_CANNOT_OPERATE','yellow.400','url(#$1','deserializeRangeWithSheet','getDocRanges','_transformHistoryAndStateStack','MUTATION','PAYMENT_CHANNEL_NOT_SUPPORT','disableLocalCache','addHandlerCallback','permission.title','flatMap','type','UPDATE_CURSOR','currentSkeleton$','rgba(255,\x20255,\x20255,\x200.01)','replaceDocRanges','startsWith','UniverCollaborationClientUIPlugin','unitID','_removeCollabCursors','ERROR_AGAIN','INVITE_CODE_HAS_BEEN_UES','sheetID','children','REDEMPTION_USER_NOT_ELIGIBLE','ENTITLE_CHAT_LIMIT_EXCEED','removeParam','show','rxjs/operators','formula.calculation.started','CollaborationUIEventService','getAncestorScale','/universer-api/license/formula/limit/start','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','limitInfo','subscribeEvent','collabCursorState$','defs','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','location','_status$','_startSheetCollabCursor','InsertRangeMoveDownCommandId','_colorIndex','lineTo','result','_renderManagerService','_doCreateSocket','useCallback','getStateCache','operators','getParam','PY_RUNTIME_SCRIPT_ERROR','_releaseCalculationLimit','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_handleLeaveEvent','_urlService','trim','displayName','0\x200\x2016\x2016','UniverSheets','switchMap','_maxFormulaLimit','formula.calculation.waiting','isTransformMutationsWithChangesetSuccess','TEXT','getMemberID','UNIVER_DOC','@univerjs/engine-formula','getFormulaLimitStatusUrl','round','stringify','UniverNetwork','REDEMPTION_CODE_INACTIVE','values','has','searchParams','_render','_scene','@univerjs/network','idSuffix','LOCAL_CACHE_INTERVAL_KEY','@univerjs/docs-ui','_configService','then','colno','touchDependencies','Plugin','_online','_refRangeService','currentTheme$','RECT','functionsExecutedState','moveTo','MemberService','INVITE_CODE_REQUIRED','fill','_beforeCloseService','disposeUnit','_updateSubUnitFromURLParams','getSheetObject','COMPLETION_FINISHED','_syncEditingCollabCursorService','ILocalCacheService','onCommandExecuted','green.600','getColorFromTheme','collabStatus.syncing','_getSheetObject','IImageIoService','2534722QPPTZr','UniverSheetsUi','DataLoaderService','min','@univerjs-pro/collaboration','getRenderById','assign','_clearOtherTimers','font','blue.400','CollaborationSessionService','Rectangle','dirtyRanges','UniverDocsUi','getMember','_handleEvent','backgroundColor','IUIPartsService','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','subUnitId','unhandledrejection','_docSkeletonManagerService','IRenderManagerService','useRef','OTHER_CLIENT_EDITING','RxDisposable','message','MessageType','DisposableCollection','M0\x200H16V16H0z'];_0x3f7c=function(){return _0xeb7894;};return _0x3f7c();}