@univerjs-pro/collaboration-client-ui 0.12.1 → 0.12.2-nightly.202511290732

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 +18 -18
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x3674(){const _0x278f08=['font','_cachedData','mergeOverrideWithDependencies','range','unitId','_commandService','getConfig','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_setFormulaLimitStatus','_maxFormulaLimit','data','addHandlerCallback','children','YUUMI_URL_COL_OUT_OF_RANGE','black','application/json','SOCKET_FAILED_RETRY','origin','handleDeleteRangeMoveLeft','get','some','Inject','IUIPartsService','combineLatest','INVALID_INVITE_CODE','getCurrentSelections','handleDeleteRangeMoveUp','startRow','ENTITLE_INSUFFICIENT_QUOTA','width','_startSheetCollabCursor','_getMergeRange','_updateCollabCursors','disposeWithMe','getCoordByCell','RegularPolygon','_backgroundColor','_hover','setConfig','_checkAndWaitForCalculationPermission','href','_transformUndoRedoStack','IMessageService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','currentColor','_themeService','_showGuardMessage','assign','TOO_MANY_REQUESTS','urlChange$','getDocRanges','onRendered','_toggleOffline','UniverProCollaborationClient','_currentUsage','status$','FromArray','colorChannel1','/universer-api/license/formula/limit/status','white','reason','_scene','arc','transformIMECache','color','newValue','getSkeleton','roomMembers','rxjs/operators','_handleEvent','getOwnPropertyDescriptor','_checkCalculationAvailable','UniverDesign','HEADER_MENU','limitInfo','Error','ERROR_AGAIN','setParam','next','show','setInterval','Success','undoState','findNodePositionByCharIndex','path','LOCAL_CACHE_INTERVAL','RefRangeService','_dataLoaderService','replace','url(#on-line-icon_clip0_910_349)','85257ScLQcw','socket$','UniverRpc','getUnitId','...','disableLocalCache','disposeUnit','_entityInit$','handleMoveRange','UniverProCollaborationClientUi','_cursorShapes','join','drawWith','UniverEngineFormula','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','saveOfflineData','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','isTransformMutationsWithChangesetSuccess','onPointerMove$','_handleHover','LOGIN_TOKEN_PROCESSING_FAILED','delete','UNIVER_DOC','registerRefRange','find','YUUMI_NO_CUBOID_FOR_QUESTION','REDEMPTION_USER_REDEEM_TIMES_EXCEED','getUnit','_notificationService','ILocalCacheService','EMAIL_VERIFY_CODE_MISMATCH','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','_heartbeatTimer','mask','pipe','WebBrowserSingleActiveUnitService','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_onCursorUpdate','APPLY_REVISION_CONFILICT','DocStateChangeManagerService','_taskIds','Optional','subscribeEvent','INVITE_CODE_HAS_BEEN_UES','then','ICommandService','Injector','exhaustSavingTask','_anchor','DocSelectionManagerService','BrowserCollaborationSocketService','unsubscribe','_ensureSubject','toDisposable','_scheduleHeartbeat','_onCursorDelete','save','defs','getViewport','/universer-api/frontend/logs','YUUMI_ALL_TABLES_IS_INVALID','_collabCursorController','executeCommand','isArray','OTHER_CLIENTS_EDITING','CLOSE_ROOM','_initUnhandledRejectionListener','removeParam','M0\x200H16V16H0z','actions','size','SetWorksheetActivateCommand','fromEvent','operators','mapTo','CollaborationEvent','clearTimeout','values','YUUMI_SUBSCRIPTION_NOT_FOUND','[Unhandled\x20Rejection]:\x20','_registerRenderDependencies','843488HkKOmC','LOGIN_FAILED','switchMap','UniverUi','AWAITING','getMemberID','_session','NodePositionConvertToRectRange','toString','ENTITLE_DUP_SUBSCRIPTION','totalFormulasToCalculate','ENTITLE_NEED_BILLING_ADDRESS','_docTransformIMECacheService','replaceDocRanges','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_colorAssignService','dispose$','object','START_CALCULATION','requireSession','onLocalMutation','univer-mr-2\x20univer-flex\x20univer-text-xl','RECT','_docSkeletonManagerService','handleInsertRangeMoveRight','fillRule','onStarting','CollaborationSocketService','getformulaLimitStatusUrl','_pollingInterval','_initEvent','_anchorDot','CollaborationController','measureText','storage','LOCAL_CACHE_INTERVAL_KEY','idSuffix','[LogService\x20Error]:\x20','body','REDEMPTION_CODE_NOT_STARTED','_collabSessionService','LICENSE_MAX_UNITS_EXCEEDED','fillText','jsx','handleIRemoveRow','_instanceService','NodePositionConvertToCursor','lineTo','currentTheme$','TEXT','entityInit$','collabStatus.fetchMiss','isEditing','selection','jiqing.500','on-line-icon','@univerjs/core','IConfigService','_updateSubUnitFromURLParams','_entities','YUUMI_AI_RUN_FAILED','_textBubble','getMember','setShapeProps','takeUntil','_draw','UNDEFINED','filter','FETCH_MISS','random','evenodd','collab-client.tooltip.reconnect','@univerjs-pro/collaboration','top','/universer-api/license/formula/limit/start','length','INVALID_ARGUMENT','subscribe','complete','collaboration-client-ui.config','eventID','_initStatusComponent','collaboration.single-unit.warning','makeDirty','getCurrentRevOfUnit','1em','tag','getColor','_cursorInfo$','isFormulaString','string','assignAColorForMemberID','_getAnchorBounding','YUUMI_UNABLE_LOAD_URL','hovered','debug','DeleteRangeMoveUpCommandId','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','getRenderById','getCellPositionByOffset','collabStatus.notCollab','m2Prime','map','endRow','ENTITLE_CHAT_LIMIT_EXCEED','_imageIoService','getTypeOfUnitAdded$','set','includes','ACTIVE_UNIT_EVENT_CHANNEL','Tools','SetDocZoomRatioOperation','throttleTime','react/jsx-runtime','UnitStatus','transformMutation','none','_status$','searchParams','docStateChange$','parseInt','UniverCollaborationClientUIPlugin','_id','params','transformByState','CURRENT_STATUS_CANNOT_OPERATE','JOIN_ROOM_FAILED','code','_saveTaskMap','loadOfflineData','cursorInfo$','forwardRef','59345FmCrYi','DATA_SOURCE_TOO_LARGE','85806XGYiLX','split','_getScale','CollaborationDataLoaderController','setTimeout','_roomMembers$','roomMembers$','_docStateChangeManagerService','_eventUnsubscribe','location','ONLINE','Disposable','@univerjs/design','MOBILE_HAS_BEEN_BOUND','WECHAT_HAS_BEEN_BOUND','displayName','UNIVER_SHEET','unit','getSheetObject','debounce','2734VaCMpi','startsWith','sessionStatus$','endColumn','getItem','yellow.400','_configService','_memberService','NOT_FOUND','IURLService','IRemoteInstanceService','_monkeyPatchLogService','_getFormulaLimitStatus','REDEMPTION_CODE_FULLY_REDEEMED','SNAPSHOT_INVALID_SNAPSHOT','removeEventListener','getCurrent','cursorInfo','getCollabEntity$','transformSelections','@univerjs-pro/collaboration-client','_initCommandExecutedListener','Failed','MOBILE_VERIFY_CODE_MISMATCH','beginPath','triggerDblclick','getActiveSheet','MoveRangeCommandId','@univerjs/engine-formula','add','addEventListener','setStateCache','UniverIcon','LICENSE_DISTRO_REJECTED','green.600','_localeService','getVpScrollXYInfoByPosToVp','Rect','getLocalCacheKey','\x20at\x20','clipPath','YUUMI_RATE_OVER_LIMIT','DocSkeletonManagerService','getSheetId','REDEMPTION_INVALID_CODE','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_startDocCollabCursor','MessageType','div','INVITE_CODE_ALREADY_BOUND','_hideTimer','releaseFormulaLimitUrl','_toggleOnline','maxFormulaLimit','with','dispose','_unitOnClients','ITransformService','EMAIL_HAS_BEEN_BOUND','getColorFromTheme','session.will-retry','DocCollaborationEntity','handleInsertRow','memberID','collab-rect-range-','_collaborationController','useObservable','AUTHORIZE_CODE_ILLEGAL','_initStatusListener','handleInsertRangeMoveDown','saveImage','svg','_localStorageService','toRgbString','APPLY_DUPLICATED','USER_NOT_FOUND','RemoveRowCommandId','collabStatus.synced','_cursors','getStateCache','UniverSheets','_getSheetObject','_cursor','UniverProCollaboration','_transformHistoryAndStateStack','RxDisposable','search','getMergeData','BehaviorSubject','IRenderManagerService','Warning','blue.400','_render','formula.calculation.unable','_injector','bind','_clearPolling','exports','permission.title','@univerjs/docs-ui','handleIRemoveCol','deepClone','DesktopCollaborationStatusDisplayController','DEFAULT_WS_SESSION_TICKET_URL','_selfUnitIDs','catch','stringify','replaceState','rgba(255,\x20255,\x20255,\x200.01)','_handleJoinEvent','setAlpha','2211240mawCrz','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','YUUMI_TABLE_NOT_FOUND_IN_UNIT','HTTPService','onMouseMove','Shape','UniverEngineRender','off-line-icon','NOT_COLLAB','http://www.w3.org/2000/svg','useDependency','substring','editingUnit','_createSocketURL','ENTITLE_REPORT_LIMIT_EXCEED','0\x200\x2016\x2016','_updateURLWithCurrentState','subUnitId','post','DocIMEInputManagerService','_docClipboardService','clearInterval','SetFormulaCalculationStartMutation','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','setItem','[Window\x20Error]:\x20','bottom','runRefRangeMutations','330ZgUmQj','@univerjs/rpc','_labelPosition','redoState','0\x200\x2017\x2016','YUUMI_CONNECTOR_URL_NOT_FOUND','merge','clsx','saveTaskMap','row','getOffsetConfig','event$','_messageService','_hovered','OffLineIcon','moveTo','history','uni.network.url-service','_sheetSkeletonManagerService','getRangePointData','doc.mutation.rich-text-editing','_collaborationSessionService','registerComponent','_handleHeartbeatEvent','TEXT_RANGE_LAYER_INDEX','UniverDocs','unshift','on-line-icon_clip0_910_349','IUniverInstanceService','[CollaborationDataLoaderController]','22XnfkHs','PAYMENT_CHANNEL_NOT_SUPPORT','transformStateCache','InsertColCommandId','getFocusedUnit','syncEditingCollabCursor','functionsExecutedState','YUUMI_ASYNCIO_CANCELLED','onPointerEnter$','off-line-icon_clip0_910_343','_send','handleInsertCol','filename','_initWindowErrorListener','_refRangeService','debounceTime','skeleton','_syncEditingCollabCursorService','defIds','createSocket','_revisionService','resize','_init','APPLY_PERMISSION_DENIED','_initEntityListener','_releaseCalculationLimit','ranges','round','createElement','rxjs','COLORS','_collabCursorState$','EffectRefRangId','_localCacheService','_collaborationUIEventService','defineProperty','addObjects','LICENSE_IMPORT_SIZE_EXCEEDED','collaboration-client.offline-data-not-saved','PENDING','init','dirtyRanges','createIdentifier','getParam','sessionTicket','PERMISSION_DENIED','_setupSubUnitSync','UniverInstanceType','_initUserListener','runId','textRanges','ColorKit','_colorIndex','_lastResponseTimestamp','_initCommandInterceptor','_uiPartsService','attrs','@univerjs/sheets-ui','ILogService','_color','type','_shapes','contains','USER_IS_ANONYMOUS','getValue','REDEMPTION_USER_NOT_ELIGIBLE','INVITE_CODE_REQUIRED','getCellMatrix','trim','name','80fTBAiV','send','CollaborationUIEventService','_lastPointer','amd','text','OFFLINE','2658hQfSyJ','m1Prime','COMPLETION_FINISHED','Vector2','getAncestorScale','AWAITING_WITH_PENDING','SNAPSHOT_HAS_BEEN_REMOVED','?taskId=','onPointerLeave$','translate(.97)','_assignedColors','addClipboardHook','_initDependencies','_handleLeaveEvent','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_drawTextRange','_disabled','createInstance','5047OKLFHy','_logService','registerDependencies','activeSheet$','shift','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','USER_NOT_INVITED_CODE','Subject','_onRefRangeChange','IDocClipboardService','_uploadLog','_renderManagerService','pushState','RemoteUniscriptService','fillStyle','getSheetBySheetId','ENSURE_SNAPSHOT_EXECUTION','runOnServer','formula.calculation.started','column','InsertRangeMoveRightCommandId','_scheduleClearOtherTimer','_setupBeforeClosingHandler','APPLY_NON_SEQUENTIAL_REVISION','red.300','error','ILocalStorageService','CONNECTOR_DATA_TOO_LARGE','onCommandExecuted','UniverSheetsUi','loadUnit','REDEMPTION_CODE_HAS_BEEN_CREATED','_drawRectRange','DOC_RANGE_TYPE','subunit','@univerjs/drawing','getUniverSheetInstance','ALREADY_EXISTS','url(#$1','RevisionService','INTERNAL_ERROR','has','addObject','collabStatus.conflict','ISnapshotServerService','_beforeCloseService','_memberID','imageSourceType','getCollabCursors$','CollaborationSessionService','React','executionId','reconnect','xlink:href','MemberService','purple.300','useCallback','getRelativeToViewportCoord','UniverDocsUi','_transformPreviousActiveRange','isActive','entries','_online','message','from','stageInfo','_refreshCollabCursors','PY_RUNTIME_SCRIPT_ERROR','INotificationService','327VmfBiz','forEach','_applyCommand','asObservable','/universer-api/license/formula/limit/done','_saveCache','getActiveRange','generateRandomId','_getSessionTicket','_removeCollabCursors','mutations','height','min','_drawAnchor','USERS_LEAVE','hide','CollaborationUIEventId','_univerInstanceService','#FFF','distinctUntilChanged','unitID','now','fill','restore','_urlService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','CollaborationStatus','CONFLICT','FormulaExecuteStageType','collabCursorState$','@univerjs/ui','FormulaExecutedStateType','_transformService','collabStatus.offline','REDEMPTION_CODE_INACTIVE','_removeClearOtherTimer','_initResize','_httpService','_startCalculationLimit','currentSkeleton$','transformMutationsWithChangeset','stack','InsertRangeMoveDownCommandId','_clearOtherTimers','SessionStatus','_updateLocalCursor','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','startColumn','transformRemoteChangeset','fromEventSubject','getUnitStatus$','VIEW_MAIN','source','_range','_name','UPDATE_CURSOR','APPLY_REJECT','push','/run/','UniverCollaborationClientPlugin','_getSaveTimeout','_docTransformStateCacheService','labelPosition','ThemeService','shareReplay','override','_config','Workbook','_doCreateSocket','_docSyncEditingCollabCursorService','_unitStatus','ISocketService','getTypeOfUnitDisposed$','_hasFormulaInDirtyRanges','isTransformMutationFailure','current','univer-flex\x20univer-items-center','_context','unhandledrejection'];_0x3674=function(){return _0x278f08;};return _0x3674();}function _0x3621(_0x3c01a0,_0x5b0b36){const _0x367459=_0x3674();return _0x3621=function(_0x362151,_0x411d0c){_0x362151=_0x362151-0x1ba;let _0x5baea0=_0x367459[_0x362151];return _0x5baea0;},_0x3621(_0x3c01a0,_0x5b0b36);}(function(_0x1fb1e3,_0xe6a074){const _0x158be5=_0x3621,_0x4d19f8=_0x1fb1e3();while(!![]){try{const _0x5f5d74=parseInt(_0x158be5(0x427))/0x1+parseInt(_0x158be5(0x43b))/0x2*(-parseInt(_0x158be5(0x2a7))/0x3)+-parseInt(_0x158be5(0x249))/0x4*(-parseInt(_0x158be5(0x425))/0x5)+-parseInt(_0x158be5(0x250))/0x6*(-parseInt(_0x158be5(0x262))/0x7)+-parseInt(_0x158be5(0x3a1))/0x8+-parseInt(_0x158be5(0x350))/0x9*(-parseInt(_0x158be5(0x1e5))/0xa)+parseInt(_0x158be5(0x203))/0xb*(-parseInt(_0x158be5(0x1c9))/0xc);if(_0x5f5d74===_0xe6a074)break;else _0x4d19f8['push'](_0x4d19f8['shift']());}catch(_0x3feb4c){_0x4d19f8['push'](_0x4d19f8['shift']());}}}(_0x3674,0x511bb),function(_0x4cc780,_0x271d09){const _0xb6337a=_0x3621;typeof exports==_0xb6337a(0x3b2)&&typeof module<'u'?_0x271d09(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[_0xb6337a(0x24d)]?define([_0xb6337a(0x1bb),_0xb6337a(0x412),_0xb6337a(0x44f),_0xb6337a(0x3d9),_0xb6337a(0x2c5),_0xb6337a(0x220),_0xb6337a(0x433),'react',_0xb6337a(0x1e6),'@univerjs/sheets','@univerjs/engine-render','@univerjs/network',_0xb6337a(0x1bd),_0xb6337a(0x285),_0xb6337a(0x3e9),'@univerjs/docs',_0xb6337a(0x457),_0xb6337a(0x33a),_0xb6337a(0x23c)],_0x271d09):(_0x4cc780=typeof globalThis<'u'?globalThis:_0x4cc780||self,_0x271d09(_0x4cc780[_0xb6337a(0x359)]={},_0x4cc780[_0xb6337a(0x294)],_0x4cc780[_0xb6337a(0x32b)],_0x4cc780['UniverCore'],_0x4cc780[_0xb6337a(0x3a4)],_0x4cc780[_0xb6337a(0x220)],_0x4cc780[_0xb6337a(0x33e)],_0x4cc780[_0xb6337a(0x294)],_0x4cc780[_0xb6337a(0x352)],_0x4cc780[_0xb6337a(0x48b)],_0x4cc780[_0xb6337a(0x1cf)],_0x4cc780['UniverNetwork'],_0x4cc780[_0xb6337a(0x29c)],_0x4cc780['UniverDrawing'],_0x4cc780[_0xb6337a(0x48e)],_0x4cc780[_0xb6337a(0x1fe)],_0x4cc780[_0xb6337a(0x35d)],_0x4cc780[_0xb6337a(0x220)][_0xb6337a(0x399)],_0x4cc780[_0xb6337a(0x27f)]));}(this,function(_0x8036c6,_0x56c279,_0x19f8d7,_0x3772e7,_0x2e0e04,_0x104804,_0x4d7604,_0x430ffc,_0x2bbe73,_0x235c42,_0x29b571,_0xe6cf6e,_0x7ab617,_0x331913,_0x116492,_0x37acc3,_0x4915ec,_0x568e97,_0x3e18f2){'use strict';const _0x513e05=_0x3621;var _0xcaddf5=Object['defineProperty'],_0x2b860e=(_0x38ba96,_0x1e448d,_0x54a2f2)=>_0x1e448d in _0x38ba96?_0xcaddf5(_0x38ba96,_0x1e448d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x54a2f2}):_0x38ba96[_0x1e448d]=_0x54a2f2,_0xfd5d9c=(_0xead01,_0x494ee9,_0x51d4aa)=>_0x2b860e(_0xead01,typeof _0x494ee9!='symbol'?_0x494ee9+'':_0x494ee9,_0x51d4aa);function _0x1e85c1({ref:_0xe86f5c,..._0x281e53}){const _0x2fbb59=_0x3621,{icon:_0x256f37,id:_0x139a09,className:_0x16071c,extend:_0x16e8a6,..._0x1742b8}=_0x281e53,_0x2efc03=('univerjs-icon\x20univerjs-icon-'+_0x139a09+'\x20'+(_0x16071c||''))[_0x2fbb59(0x247)](),_0xe32f61=_0x430ffc['useRef']('_'+_0x2fc302());return _0x35ac53(_0x256f37,''+_0x139a09,{'defIds':_0x256f37[_0x2fbb59(0x215)],'idSuffix':_0xe32f61[_0x2fbb59(0x2f2)]},{'ref':_0xe86f5c,'className':_0x2efc03,..._0x1742b8},_0x16e8a6);}function _0x35ac53(_0x5055ed,_0x20066b,_0x533f6d,_0x475994,_0x33ea58){const _0x13f0e2=_0x3621;return _0x430ffc[_0x13f0e2(0x21f)](_0x5055ed[_0x13f0e2(0x3f7)],{'key':_0x20066b,..._0x23eaeb(_0x5055ed,_0x533f6d,_0x33ea58),..._0x475994},(_0x2f85fd(_0x5055ed,_0x533f6d)[_0x13f0e2(0x302)]||[])[_0x13f0e2(0x407)]((_0x4475cf,_0x3eb428)=>_0x35ac53(_0x4475cf,_0x20066b+'-'+_0x5055ed[_0x13f0e2(0x3f7)]+'-'+_0x3eb428,_0x533f6d,void 0x0,_0x33ea58)));}function _0x23eaeb(_0x66bab,_0x5b02ec,_0x205b0f){const _0x5dbea4=_0x3621,_0xfc991a={..._0x66bab['attrs']};_0x205b0f!=null&&_0x205b0f['colorChannel1']&&_0xfc991a['fill']===_0x5dbea4(0x32f)&&(_0xfc991a[_0x5dbea4(0x2bd)]=_0x205b0f[_0x5dbea4(0x32f)]),_0x66bab[_0x5dbea4(0x3f7)]===_0x5dbea4(0x371)&&_0xfc991a['id']&&(_0xfc991a['id']=_0xfc991a['id']+_0x5b02ec[_0x5dbea4(0x3c5)]),Object[_0x5dbea4(0x29f)](_0xfc991a)[_0x5dbea4(0x2a8)](([_0xc860a7,_0x4e8672])=>{const _0x5a3e33=_0x5dbea4;_0xc860a7===_0x5a3e33(0x371)&&typeof _0x4e8672=='string'&&(_0xfc991a[_0xc860a7]=_0x4e8672[_0x5a3e33(0x34e)](/url\(#(.*)\)/,'url(#$1'+_0x5b02ec[_0x5a3e33(0x3c5)]+')'));});const {defIds:_0x3f4f08}=_0x5b02ec;return!_0x3f4f08||_0x3f4f08[_0x5dbea4(0x3ec)]===0x0||(_0x66bab[_0x5dbea4(0x3f7)]==='use'&&_0xfc991a[_0x5dbea4(0x297)]&&(_0xfc991a[_0x5dbea4(0x297)]=_0xfc991a['xlink:href']+_0x5b02ec[_0x5dbea4(0x3c5)]),Object[_0x5dbea4(0x29f)](_0xfc991a)[_0x5dbea4(0x2a8)](([_0x55b305,_0x4782d0])=>{const _0x3c18f6=_0x5dbea4;typeof _0x4782d0=='string'&&(_0xfc991a[_0x55b305]=_0x4782d0[_0x3c18f6(0x34e)](/url\(#(.*)\)/,_0x3c18f6(0x288)+_0x5b02ec[_0x3c18f6(0x3c5)]+')'));})),_0xfc991a;}function _0x2f85fd(_0x43d4f1,_0x33da0b){const _0x220a96=_0x3621;var _0x40f495;const {defIds:_0x1fd22d}=_0x33da0b;return!_0x1fd22d||_0x1fd22d[_0x220a96(0x3ec)]===0x0?_0x43d4f1:_0x43d4f1[_0x220a96(0x3f7)]==='defs'&&((_0x40f495=_0x43d4f1['children'])!=null&&_0x40f495[_0x220a96(0x3ec)])?{..._0x43d4f1,'children':_0x43d4f1[_0x220a96(0x302)]['map'](_0x569cdf=>typeof _0x569cdf[_0x220a96(0x23b)]['id']==_0x220a96(0x3fb)&&_0x1fd22d&&_0x1fd22d[_0x220a96(0x40d)](_0x569cdf[_0x220a96(0x23b)]['id'])?{..._0x569cdf,'attrs':{..._0x569cdf['attrs'],'id':_0x569cdf[_0x220a96(0x23b)]['id']+_0x33da0b[_0x220a96(0x3c5)]}}:_0x569cdf)}:_0x43d4f1;}function _0x2fc302(){const _0x563a4c=_0x3621;return Math[_0x563a4c(0x3e6)]()['toString'](0x24)[_0x563a4c(0x1d4)](0x2,0x8);}_0x1e85c1['displayName']=_0x513e05(0x45b);const _0x4503bd={'tag':_0x513e05(0x482),'attrs':{'xmlns':_0x513e05(0x1d2),'fill':_0x513e05(0x415),'viewBox':_0x513e05(0x1d8),'width':_0x513e05(0x3f6),'height':_0x513e05(0x3f6)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x513e05(0x35e),'strokeLinecap':_0x513e05(0x21e),'strokeLinejoin':_0x513e05(0x21e),'strokeWidth':1.2}}]},{'tag':_0x513e05(0x389),'attrs':{},'children':[{'tag':_0x513e05(0x463),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x513e05(0x34a),'attrs':{'fill':'white','d':_0x513e05(0x394)}}]}]}],'defIds':[_0x513e05(0x20c)]},_0x2f76b9=_0x430ffc[_0x513e05(0x424)](function(_0x523f19,_0x3c0fb9){const _0x17a5ab=_0x513e05;return _0x430ffc[_0x17a5ab(0x21f)](_0x1e85c1,Object[_0x17a5ab(0x325)]({},_0x523f19,{'id':_0x17a5ab(0x1d0),'ref':_0x3c0fb9,'icon':_0x4503bd}));});_0x2f76b9[_0x513e05(0x436)]=_0x513e05(0x1f3);const _0x1ede86={'tag':_0x513e05(0x482),'attrs':{'xmlns':_0x513e05(0x1d2),'fill':_0x513e05(0x415),'viewBox':_0x513e05(0x1e9),'width':_0x513e05(0x3f6),'height':_0x513e05(0x3f6)},'children':[{'tag':'g','attrs':{'clipPath':_0x513e05(0x34f)},'children':[{'tag':_0x513e05(0x34a),'attrs':{'stroke':_0x513e05(0x322),'d':_0x513e05(0x36f),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x513e05(0x200)},'children':[{'tag':_0x513e05(0x34a),'attrs':{'fill':_0x513e05(0x331),'d':_0x513e05(0x394),'transform':_0x513e05(0x259)}}]}]}],'defIds':[_0x513e05(0x200)]},_0x2b2972=_0x430ffc['forwardRef'](function(_0x2524a6,_0x3da9ee){const _0x3eb8fa=_0x513e05;return _0x430ffc[_0x3eb8fa(0x21f)](_0x1e85c1,Object[_0x3eb8fa(0x325)]({},_0x2524a6,{'id':_0x3eb8fa(0x3d8),'ref':_0x3da9ee,'icon':_0x1ede86}));});_0x2b2972[_0x513e05(0x436)]='OnLineIcon';function _0x187e4c(_0x5dc5c1){const _0x225b5e=_0x513e05;switch(_0x5dc5c1){case _0x19f8d7[_0x225b5e(0x2c1)][_0x225b5e(0x24f)]:return _0x225b5e(0x2c8);case _0x19f8d7['CollaborationStatus'][_0x225b5e(0x2c2)]:return _0x225b5e(0x28d);case _0x19f8d7['CollaborationStatus'][_0x225b5e(0x3e5)]:return _0x225b5e(0x3d4);case _0x19f8d7['CollaborationStatus'][_0x225b5e(0x1d1)]:return _0x225b5e(0x405);case _0x19f8d7[_0x225b5e(0x2c1)][_0x225b5e(0x3a5)]:case _0x19f8d7[_0x225b5e(0x2c1)][_0x225b5e(0x255)]:return'collabStatus.syncing';case _0x19f8d7[_0x225b5e(0x2c1)]['SYNCED']:case _0x19f8d7[_0x225b5e(0x2c1)][_0x225b5e(0x22a)]:return _0x225b5e(0x488);}}function _0x4e96ee(_0x4f1c5d){const _0x5c3840=_0x513e05,{status$:_0x4a8481}=_0x4f1c5d,_0x15936e=_0x2e0e04[_0x5c3840(0x47d)](_0x4a8481,_0x19f8d7[_0x5c3840(0x2c1)][_0x5c3840(0x1d1)]),_0x55af6a=_0x2e0e04[_0x5c3840(0x1d3)](_0x3772e7['LocaleService']),_0x41fd37=_0x2e0e04[_0x5c3840(0x1d3)](_0x19f8d7[_0x5c3840(0x293)]),_0x29a1e9=_0x15936e!==_0x19f8d7[_0x5c3840(0x2c1)][_0x5c3840(0x24f)],_0x384cc3=_0x55af6a['t'](_0x187e4c(_0x15936e)),_0x27a613=_0x29a1e9?_0x56c279[_0x5c3840(0x3cc)](_0x2b2972,{}):_0x56c279[_0x5c3840(0x3cc)](_0x2f76b9,{}),_0x41a943=_0x430ffc[_0x5c3840(0x29a)](()=>{const _0x18473c=_0x5c3840;_0x29a1e9||_0x41fd37[_0x18473c(0x296)]();},[_0x29a1e9,_0x41fd37]);function _0x1a1f00(){const _0x5bcaca=_0x5c3840;return _0x56c279['jsxs'](_0x5bcaca(0x46b),{'className':_0x5bcaca(0x2f3),'onClick':_0x41a943,'children':[_0x56c279[_0x5bcaca(0x3cc)](_0x5bcaca(0x46b),{'className':_0x4d7604[_0x5bcaca(0x1ec)](_0x5bcaca(0x3b6),{'univer-text-green-500':_0x29a1e9,'univer-text-red-500':!_0x29a1e9}),'children':_0x27a613}),_0x56c279[_0x5bcaca(0x3cc)]('div',{'className':_0x5bcaca(0x321),'children':_0x384cc3})]});}return _0x29a1e9?_0x1a1f00():_0x56c279[_0x5c3840(0x3cc)](_0x4d7604['Tooltip'],{'title':_0x55af6a['t'](_0x5c3840(0x3e8)),'children':_0x1a1f00()});}var _0x2094ef=Object['getOwnPropertyDescriptor'],_0x494b85=(_0x11ee00,_0x1401f2,_0x30c2b7,_0x1e5084)=>{const _0x2cb164=_0x513e05;for(var _0x2b82b1=_0x1e5084>0x1?void 0x0:_0x1e5084?_0x2094ef(_0x1401f2,_0x30c2b7):_0x1401f2,_0xa65337=_0x11ee00[_0x2cb164(0x3ec)]-0x1,_0x1bc7d6;_0xa65337>=0x0;_0xa65337--)(_0x1bc7d6=_0x11ee00[_0xa65337])&&(_0x2b82b1=_0x1bc7d6(_0x2b82b1)||_0x2b82b1);return _0x2b82b1;},_0x464ce5=(_0x81033f,_0x3b4167)=>(_0x2cdab2,_0x5420f9)=>_0x3b4167(_0x2cdab2,_0x5420f9,_0x81033f);_0x8036c6[_0x513e05(0x1c0)]=class extends _0x3772e7['Disposable']{constructor(_0x5765b9,_0x136f0e,_0x4068c3,_0x2d2709){const _0x2e8c02=_0x513e05;super(),_0xfd5d9c(this,_0x2e8c02(0x416),new _0x104804['BehaviorSubject'](_0x19f8d7[_0x2e8c02(0x2c1)][_0x2e8c02(0x1d1)])),(this['_univerInstanceService']=_0x5765b9,this[_0x2e8c02(0x499)]=_0x136f0e,this[_0x2e8c02(0x47c)]=_0x4068c3,this[_0x2e8c02(0x23a)]=_0x2d2709,this[_0x2e8c02(0x3f2)](),this[_0x2e8c02(0x47f)]());}[_0x513e05(0x47f)](){const _0x57bd4a=_0x513e05;this[_0x57bd4a(0x317)](this['_univerInstanceService']['focused$'][_0x57bd4a(0x372)](_0x104804[_0x57bd4a(0x3a3)](()=>{const _0x43c545=_0x57bd4a,_0x1e30fb=this[_0x43c545(0x2b8)][_0x43c545(0x207)]();return _0x1e30fb?this[_0x43c545(0x47c)][_0x43c545(0x44d)](_0x1e30fb[_0x43c545(0x353)]()):_0x104804['of'](null);}),_0x104804[_0x57bd4a(0x3a3)](_0x488c93=>_0x488c93?_0x488c93[_0x57bd4a(0x32d)]:_0x104804['of'](_0x19f8d7[_0x57bd4a(0x2c1)][_0x57bd4a(0x1d1)])))[_0x57bd4a(0x3ee)](_0xc16a43=>{const _0x2aa95d=_0x57bd4a;this[_0x2aa95d(0x416)][_0x2aa95d(0x344)](_0xc16a43);}));}['_initStatusComponent'](){const _0x2dea3f=_0x513e05;this[_0x2dea3f(0x317)](this[_0x2dea3f(0x23a)][_0x2dea3f(0x1fb)](_0x2e0e04['BuiltInUIPart'][_0x2dea3f(0x33f)],()=>_0x2e0e04['connectInjector'](_0x2382d0({'status$':this[_0x2dea3f(0x416)]['asObservable']()}),this[_0x2dea3f(0x499)])));}},_0x8036c6[_0x513e05(0x1c0)]=_0x494b85([_0x464ce5(0x0,_0x3772e7[_0x513e05(0x201)]),_0x464ce5(0x1,_0x3772e7[_0x513e05(0x30b)](_0x3772e7['Injector'])),_0x464ce5(0x2,_0x3772e7[_0x513e05(0x30b)](_0x19f8d7[_0x513e05(0x3c1)])),_0x464ce5(0x3,_0x2e0e04[_0x513e05(0x30c)])],_0x8036c6[_0x513e05(0x1c0)]);function _0x2382d0(_0x49756a){const {status$:_0x1230c2}=_0x49756a;return function(){const _0x49d3da=_0x3621;return _0x56c279[_0x49d3da(0x3cc)](_0x4e96ee,{'status$':_0x1230c2});};}const _0x2a7c11=_0x3772e7[_0x513e05(0x22d)](_0x513e05(0x1f6));var _0x2a8c15=Object[_0x513e05(0x33c)],_0x9e51a9=(_0x2045be,_0x3e035d,_0x272527,_0x3fd9c9)=>{const _0x277f32=_0x513e05;for(var _0x3f362a=_0x3fd9c9>0x1?void 0x0:_0x3fd9c9?_0x2a8c15(_0x3e035d,_0x272527):_0x3e035d,_0x92d593=_0x2045be[_0x277f32(0x3ec)]-0x1,_0x5a68b8;_0x92d593>=0x0;_0x92d593--)(_0x5a68b8=_0x2045be[_0x92d593])&&(_0x3f362a=_0x5a68b8(_0x3f362a)||_0x3f362a);return _0x3f362a;},_0x2978ea=(_0x304539,_0x59b503)=>(_0xe8af11,_0x253600)=>_0x59b503(_0xe8af11,_0x253600,_0x304539);_0x8036c6[_0x513e05(0x42a)]=class extends _0x3772e7[_0x513e05(0x490)]{constructor(_0x45778c,_0x358d6d,_0x28b3d0,_0x51c18a,_0x8138e4){const _0x353388=_0x513e05;super(),this['_urlService']=_0x45778c,this[_0x353388(0x263)]=_0x358d6d,this[_0x353388(0x2fb)]=_0x28b3d0,this[_0x353388(0x34d)]=_0x51c18a,_0x8138e4?_0x8138e4==null||_0x8138e4['whenReady']()[_0x353388(0x37c)](()=>this[_0x353388(0x219)]()):(this[_0x353388(0x263)][_0x353388(0x400)](_0x353388(0x202),_0x353388(0x2d5)),this[_0x353388(0x219)]());}async[_0x513e05(0x219)](){const _0x56de9f=_0x513e05,_0x56a7f3=this[_0x56de9f(0x2bf)][_0x56de9f(0x22e)](_0x56de9f(0x438)),_0x473946=this[_0x56de9f(0x2bf)]['getParam'](_0x56de9f(0x23f)),_0x142dd3=this[_0x56de9f(0x2bf)][_0x56de9f(0x22e)](_0x56de9f(0x284));if(!_0x56a7f3||!_0x473946){this[_0x56de9f(0x263)][_0x56de9f(0x400)]('[CollaborationDataLoaderController]',_0x56de9f(0x2c0));return;}const _0x58b0bb=await this['_dataLoaderService'][_0x56de9f(0x280)](_0x56a7f3,Number(_0x473946),_0x142dd3);_0x58b0bb&&_0x58b0bb instanceof _0x3772e7[_0x56de9f(0x2ea)]&&this[_0x56de9f(0x231)](_0x58b0bb);}async[_0x513e05(0x231)](_0x3b3f13){const _0x2fbf3f=_0x513e05;await this[_0x2fbf3f(0x3db)](_0x3b3f13),_0x3b3f13[_0x2fbf3f(0x265)][_0x2fbf3f(0x372)](_0x104804[_0x2fbf3f(0x3e1)](this[_0x2fbf3f(0x3b1)]))[_0x2fbf3f(0x3ee)](_0x2e0f83=>{_0x2e0f83&&this['_updateURLWithCurrentState'](_0x2e0f83);}),this['_urlService'][_0x2fbf3f(0x327)][_0x2fbf3f(0x372)](_0x104804['takeUntil'](this[_0x2fbf3f(0x3b1)]))['subscribe'](()=>this[_0x2fbf3f(0x3db)](_0x3b3f13));}[_0x513e05(0x1d9)](_0x4e4eb9,_0x54e928=!0x1){const _0xda4e3d=_0x513e05,_0x14d73f=this[_0xda4e3d(0x2bf)][_0xda4e3d(0x22e)]('subunit');_0x4e4eb9[_0xda4e3d(0x466)]()!==_0x14d73f&&this[_0xda4e3d(0x2bf)][_0xda4e3d(0x343)]('subunit',_0x4e4eb9[_0xda4e3d(0x466)](),_0x54e928);}async['_updateSubUnitFromURLParams'](_0x570c4a){const _0x4d9a08=_0x513e05;var _0x28ed0a;const _0x21a133=this[_0x4d9a08(0x2bf)]['getParam'](_0x4d9a08(0x284));if(!_0x21a133||!_0x570c4a['getSheetBySheetId'](_0x21a133)){const _0x1d16e4=_0x570c4a['getUnhiddenWorksheets']()[0x0],_0x1dfc4f=_0x570c4a[_0x4d9a08(0x271)](_0x1d16e4);if(!_0x1dfc4f)return;this[_0x4d9a08(0x1d9)](_0x1dfc4f,!0x0),await this[_0x4d9a08(0x2fb)]['executeCommand'](_0x235c42['SetWorksheetActivateCommand']['id'],{'unitId':_0x570c4a[_0x4d9a08(0x353)](),'subUnitId':_0x1d16e4});return;}((_0x28ed0a=_0x570c4a[_0x4d9a08(0x455)]())==null?void 0x0:_0x28ed0a['getSheetId']())!==_0x21a133&&await this[_0x4d9a08(0x2fb)][_0x4d9a08(0x38e)](_0x235c42[_0x4d9a08(0x397)]['id'],{'unitId':_0x570c4a[_0x4d9a08(0x353)](),'subUnitId':_0x21a133});}},_0x8036c6['CollaborationDataLoaderController']=_0x9e51a9([_0x2978ea(0x0,_0x2a7c11),_0x2978ea(0x1,_0x3772e7[_0x513e05(0x23d)]),_0x2978ea(0x2,_0x3772e7[_0x513e05(0x37d)]),_0x2978ea(0x3,_0x3772e7[_0x513e05(0x30b)](_0x19f8d7['DataLoaderService'])),_0x2978ea(0x4,_0x3772e7[_0x513e05(0x379)](_0x2bbe73[_0x513e05(0x445)]))],_0x8036c6['CollaborationDataLoaderController']);var _0x2f3241=Object[_0x513e05(0x33c)],_0x1690a9=(_0x4c479b,_0x153315,_0x3c453b,_0x4e500c)=>{for(var _0x1728f0=_0x4e500c>0x1?void 0x0:_0x4e500c?_0x2f3241(_0x153315,_0x3c453b):_0x153315,_0x3b98d0=_0x4c479b['length']-0x1,_0x15b740;_0x3b98d0>=0x0;_0x3b98d0--)(_0x15b740=_0x4c479b[_0x3b98d0])&&(_0x1728f0=_0x15b740(_0x1728f0)||_0x1728f0);return _0x1728f0;},_0x57947e=(_0x58e2f7,_0x3254f1)=>(_0x33a8b3,_0x1ca669)=>_0x3254f1(_0x33a8b3,_0x1ca669,_0x58e2f7);let _0x459a5d=class extends _0x3772e7[_0x513e05(0x490)]{constructor(_0x501863,_0x142944){const _0x5d6d2a=_0x513e05;super(),this[_0x5d6d2a(0x1dd)]=_0x501863,this['_imageIoService']=_0x142944,this[_0x5d6d2a(0x219)]();}[_0x513e05(0x219)](){const _0x4f9da4=_0x513e05,_0x21901b=this;this[_0x4f9da4(0x317)](this[_0x4f9da4(0x1dd)][_0x4f9da4(0x25b)]({'onBeforePasteImage':async _0x3d26f6=>{const _0x47e041=_0x4f9da4,_0x794551=await _0x21901b[_0x47e041(0x40a)][_0x47e041(0x481)](_0x3d26f6);return _0x794551?{'source':_0x794551[_0x47e041(0x2db)],'imageSourceType':_0x794551[_0x47e041(0x291)]}:null;}}));}};_0x459a5d=_0x1690a9([_0x57947e(0x0,_0x7ab617[_0x513e05(0x26b)]),_0x57947e(0x1,_0x331913['IImageIoService'])],_0x459a5d);const _0x717805=[_0x513e05(0x299),_0x513e05(0x3d7),_0x513e05(0x45d),_0x513e05(0x27a),_0x513e05(0x496),_0x513e05(0x440)];class _0x2e3fbf extends _0x3772e7[_0x513e05(0x432)]{constructor(){const _0x34af51=_0x513e05;super(...arguments),_0xfd5d9c(this,_0x34af51(0x25a),new Map()),_0xfd5d9c(this,_0x34af51(0x237),0x0);}[_0x513e05(0x3fc)](_0x558af0){const _0x53e338=_0x513e05;if(this['_assignedColors'][_0x53e338(0x28b)](_0x558af0))return this['_assignedColors'][_0x53e338(0x309)](_0x558af0);const _0x3f5ea3=_0x717805[this[_0x53e338(0x237)]];return this[_0x53e338(0x237)]=(this[_0x53e338(0x237)]+0x1)%_0x717805[_0x53e338(0x3ec)],this['_assignedColors'][_0x53e338(0x40c)](_0x558af0,_0x3f5ea3),_0x3f5ea3;}}function _0x55ad25(_0x45ad1b){const _0x368891=_0x513e05;let _0x530a91='';for(const _0x1bcca1 of _0x45ad1b){const {startOffset:_0x520e82,endOffset:_0x3d2898,isActive:_0x57fa3b,rangeType:_0x8004e2,segmentId:_0x86d390,segmentPage:_0x323c2e}=_0x1bcca1;_0x530a91[_0x368891(0x3ec)]&&(_0x530a91+=','),_0x530a91+=_0x520e82+':'+_0x3d2898+':'+(_0x57fa3b?'1':'0')+':'+_0x8004e2+':'+_0x86d390+':'+_0x323c2e;}return _0x530a91;}function _0x4a02b9(_0x26dc9f){const _0x1e9471=_0x513e05,_0x27b7d0=_0x26dc9f[_0x1e9471(0x428)](','),_0x16df61=[];for(const _0x5c22ce of _0x27b7d0){const [_0x183f5f,_0x5f38e9,_0x4460a8,_0x978111,_0x575734,_0x255cfa]=_0x5c22ce[_0x1e9471(0x428)](':');_0x16df61[_0x1e9471(0x2e0)]({'startOffset':Number(_0x183f5f),'endOffset':Number(_0x5f38e9),'collapsed':_0x183f5f===_0x5f38e9,'isActive':_0x4460a8==='1','rangeType':_0x978111===_0x3772e7[_0x1e9471(0x283)][_0x1e9471(0x3d2)]?_0x3772e7[_0x1e9471(0x283)][_0x1e9471(0x3d2)]:_0x3772e7[_0x1e9471(0x283)]['RECT'],'segmentId':typeof _0x575734==_0x1e9471(0x3fb)?String(_0x575734):'','segmentPage':Number(_0x255cfa!=null?_0x255cfa:-0x1)});}return _0x16df61[_0x1e9471(0x30a)](_0x80c020=>_0x80c020[_0x1e9471(0x29e)])||(_0x16df61[0x0][_0x1e9471(0x29e)]=!0x0),_0x16df61;}class _0x39a103 extends _0x3772e7['RxDisposable']{constructor(){const _0x2be7c4=_0x513e05;super(...arguments),_0xfd5d9c(this,_0x2be7c4(0x222),new _0x104804['BehaviorSubject'](null)),_0xfd5d9c(this,_0x2be7c4(0x2c4),this['_collabCursorState$'][_0x2be7c4(0x2aa)]());}[_0x513e05(0x208)](_0x4a4aaf){const _0x3da5f1=_0x513e05,{unitID:_0x18a123,memberID:_0x31e19c,textRanges:_0x293cd9}=_0x4a4aaf,_0x17e69f=_0x55ad25(_0x293cd9);if(_0x17e69f==='')return;const _0x2b989b={'unitID':_0x18a123,'memberID':_0x31e19c,'selection':_0x17e69f};this[_0x3da5f1(0x222)][_0x3da5f1(0x344)](_0x2b989b);}}var _0x4df8b5=Object[_0x513e05(0x33c)],_0x3dc6b8=(_0x5180b3,_0x5368ea,_0x18eec2,_0x455016)=>{const _0x5f1d0a=_0x513e05;for(var _0x3b4fd6=_0x455016>0x1?void 0x0:_0x455016?_0x4df8b5(_0x5368ea,_0x18eec2):_0x5368ea,_0xef037e=_0x5180b3[_0x5f1d0a(0x3ec)]-0x1,_0x4f7316;_0xef037e>=0x0;_0xef037e--)(_0x4f7316=_0x5180b3[_0xef037e])&&(_0x3b4fd6=_0x4f7316(_0x3b4fd6)||_0x3b4fd6);return _0x3b4fd6;},_0x25e0f9=(_0x4b0ad0,_0x1ed3be)=>(_0x28f8be,_0x4e576c)=>_0x1ed3be(_0x28f8be,_0x4e576c,_0x4b0ad0);const _0x4cbf16=0x12c,_0x146e9e=0x64;let _0x49a88b=class extends _0x3772e7[_0x513e05(0x490)]{constructor(_0x3430c6,_0x256f97,_0x26ea97,_0x33180d,_0x41d3d8,_0x5717fd,_0x159b8e,_0x28ddb8,_0x508f0b){const _0x377d97=_0x513e05;super(),_0xfd5d9c(this,_0x377d97(0x2a0),!0x1),_0xfd5d9c(this,_0x377d97(0x219),!0x1),_0xfd5d9c(this,_0x377d97(0x3f9),new _0x104804[(_0x377d97(0x493))](new Map())),_0xfd5d9c(this,_0x377d97(0x423),this['_cursorInfo$']['asObservable']()),_0xfd5d9c(this,_0x377d97(0x42c),new _0x104804[(_0x377d97(0x493))]([])),_0xfd5d9c(this,_0x377d97(0x42d),this[_0x377d97(0x42c)]['pipe'](_0x104804[_0x377d97(0x212)](_0x4cbf16))),_0xfd5d9c(this,'_updateLocalCursor',_0x3772e7[_0x377d97(0x43a)](_0x4c6972=>{const _0x4544ba=_0x377d97,_0x2c8cdc={'eventID':_0x116492['CollaborationEvent'][_0x4544ba(0x2de)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x4544ba(0x3a6)](),'selection':_0x55ad25(_0x4c6972)}};this[_0x4544ba(0x3a7)][_0x4544ba(0x24a)](_0x2c8cdc,this[_0x4544ba(0x2bb)]);},_0x146e9e)),(this[_0x377d97(0x2bb)]=_0x3430c6,this[_0x377d97(0x3a7)]=_0x256f97,this[_0x377d97(0x499)]=_0x26ea97,this[_0x377d97(0x3b0)]=_0x33180d,this[_0x377d97(0x442)]=_0x41d3d8,this['_syncEditingCollabCursorService']=_0x5717fd,this[_0x377d97(0x2c7)]=_0x159b8e,this['_univerInstanceService']=_0x28ddb8,this['_commandService']=_0x508f0b);}get[_0x513e05(0x44c)](){const _0x69693f=_0x513e05;return this[_0x69693f(0x3f9)][_0x69693f(0x243)]();}get[_0x513e05(0x339)](){const _0x23b53a=_0x513e05;return this[_0x23b53a(0x42c)][_0x23b53a(0x243)]();}[_0x513e05(0x472)](){const _0x2bdc7a=_0x513e05;super[_0x2bdc7a(0x472)](),this[_0x2bdc7a(0x3f9)][_0x2bdc7a(0x344)](new Map()),this[_0x2bdc7a(0x3f9)][_0x2bdc7a(0x3ef)](),this[_0x2bdc7a(0x42c)][_0x2bdc7a(0x344)]([]),this[_0x2bdc7a(0x42c)]['complete']();}[_0x513e05(0x22b)](){const _0x15c93a=_0x513e05;this[_0x15c93a(0x219)]||(this[_0x15c93a(0x219)]=!0x0,this['_session'][_0x15c93a(0x43d)][_0x15c93a(0x372)](_0x104804[_0x15c93a(0x3e1)](this[_0x15c93a(0x3b1)]))['subscribe'](_0x5b960c=>{const _0x503b7a=_0x15c93a;_0x5b960c===_0x19f8d7[_0x503b7a(0x2d3)]['ONLINE']?this[_0x503b7a(0x46f)]():this[_0x503b7a(0x32a)]();}),this[_0x15c93a(0x3a7)][_0x15c93a(0x1f0)][_0x15c93a(0x372)](_0x104804[_0x15c93a(0x3e1)](this[_0x15c93a(0x3b1)]))['subscribe'](_0x8727a8=>{const _0x39eb0b=_0x15c93a,_0x40f268=_0x8727a8['eventID'];_0x40f268===_0x116492[_0x39eb0b(0x39b)][_0x39eb0b(0x2de)]&&this[_0x39eb0b(0x375)](_0x8727a8),_0x40f268===_0x116492['CollaborationEvent']['USERS_LEAVE']&&this['_onCursorDelete'](_0x8727a8);}),this[_0x15c93a(0x317)](this[_0x15c93a(0x2fb)][_0x15c93a(0x27e)](_0x172e26=>{const _0x26cff4=_0x15c93a,_0x1fc34b=_0x172e26[_0x26cff4(0x41c)];_0x1fc34b!=null&&this[_0x26cff4(0x2a0)]&&_0x172e26['id']===_0x37acc3['SetTextSelectionsOperation']['id']&&_0x1fc34b['unitId']===this[_0x26cff4(0x2bb)]&&_0x1fc34b[_0x26cff4(0x3d5)]===!0x1&&_0x1fc34b[_0x26cff4(0x21d)][_0x26cff4(0x3ec)]>0x0&&this[_0x26cff4(0x2d4)](_0x1fc34b[_0x26cff4(0x21d)]);})),this[_0x15c93a(0x214)][_0x15c93a(0x2c4)][_0x15c93a(0x372)](_0x104804[_0x15c93a(0x3e1)](this[_0x15c93a(0x3b1)]))[_0x15c93a(0x3ee)](_0x46c392=>{const _0x5584bd=_0x15c93a;if((_0x46c392==null?void 0x0:_0x46c392['unitID'])!==this[_0x5584bd(0x2bb)])return;const _0x2b5804={'eventID':_0x116492['CollaborationEvent'][_0x5584bd(0x2de)],'data':_0x46c392};this['_onCursorUpdate'](_0x2b5804);}),this[_0x15c93a(0x317)](this[_0x15c93a(0x2fb)][_0x15c93a(0x27e)](_0x265464=>{const _0x51df1a=_0x15c93a;if(_0x265464[_0x51df1a(0x41c)]==null)return;const _0x255346=_0x265464['params'];if(_0x265464['id']!==_0x37acc3['RichTextEditingMutation']['id']||_0x255346[_0x51df1a(0x2fa)]!==this['unitID'])return;const _0x52259b={'id':_0x51df1a(0x1f9),'params':_0x255346},_0x41ecf7=this[_0x51df1a(0x44c)];for(const [_0xa2d9f3,_0x38027f]of _0x41ecf7){const _0xb7d971={'id':_0x51df1a(0x1f9),'params':{'unitId':this[_0x51df1a(0x2bb)],'actions':null,'textRanges':_0x38027f[_0x51df1a(0x21d)]}},_0x379baa=this['_transformService'][_0x51df1a(0x414)](_0x52259b,_0xb7d971,!0x1);if(_0x116492['isTransformMutationFailure'](_0x379baa))throw _0x379baa[_0x51df1a(0x27b)];_0x41ecf7[_0x51df1a(0x40c)](_0xa2d9f3,{..._0x38027f,'ranges':_0x379baa[_0x51df1a(0x406)][_0x51df1a(0x41c)]['textRanges']});}queueMicrotask(()=>{const _0x16d919=_0x51df1a;this[_0x16d919(0x3f9)][_0x16d919(0x344)](_0x41ecf7);});})));}['_onCursorUpdate'](_0x3a88ac){const _0x27dd0b=_0x513e05;var _0x2b3dd5,_0x5063c4;const {memberID:_0x1d8101,selection:_0x17ce50}=_0x3a88ac['data'],_0x1c794c=_0x4a02b9(_0x17ce50),_0x90ab4a=(_0x5063c4=(_0x2b3dd5=this[_0x27dd0b(0x442)][_0x27dd0b(0x3df)](this[_0x27dd0b(0x2bb)],_0x1d8101))==null?void 0x0:_0x2b3dd5[_0x27dd0b(0x248)])!=null?_0x5063c4:'Unknown\x20user',_0x149026={'color':this[_0x27dd0b(0x3b0)][_0x27dd0b(0x3fc)](_0x1d8101),'name':_0x90ab4a,'ranges':_0x1c794c},_0x43f4ef=this['cursorInfo'];_0x43f4ef['set'](_0x1d8101,_0x149026),this[_0x27dd0b(0x3f9)][_0x27dd0b(0x344)](_0x43f4ef);}[_0x513e05(0x387)](_0x160718){const _0x310baf=_0x513e05,{memberID:_0x51e41d}=_0x160718['data'],_0x4c2462=this[_0x310baf(0x44c)];_0x4c2462['delete'](_0x51e41d),this[_0x310baf(0x3f9)]['next'](_0x4c2462);}['_toggleOnline'](){const _0x10249c=_0x513e05;var _0x162f73;if(this[_0x10249c(0x2a0)]=!0x0,((_0x162f73=this[_0x10249c(0x2b8)][_0x10249c(0x207)]())==null?void 0x0:_0x162f73[_0x10249c(0x353)]())!==this[_0x10249c(0x2bb)])return;const _0xc3f4fc=this[_0x10249c(0x499)][_0x10249c(0x309)](_0x37acc3[_0x10249c(0x381)])[_0x10249c(0x328)]();Array[_0x10249c(0x38f)](_0xc3f4fc)&&_0xc3f4fc[_0x10249c(0x3ec)]>0x0&&this[_0x10249c(0x2d4)](_0xc3f4fc);}[_0x513e05(0x32a)](){const _0x2b10c1=_0x513e05;this[_0x2b10c1(0x2a0)]=!0x1;}};_0x49a88b=_0x3dc6b8([_0x25e0f9(0x2,_0x3772e7[_0x513e05(0x30b)](_0x3772e7[_0x513e05(0x37e)])),_0x25e0f9(0x3,_0x3772e7[_0x513e05(0x30b)](_0x2e3fbf)),_0x25e0f9(0x4,_0x3772e7[_0x513e05(0x30b)](_0x19f8d7[_0x513e05(0x298)])),_0x25e0f9(0x5,_0x3772e7['Inject'](_0x39a103)),_0x25e0f9(0x6,_0x116492[_0x513e05(0x474)]),_0x25e0f9(0x7,_0x3772e7[_0x513e05(0x201)]),_0x25e0f9(0x8,_0x3772e7[_0x513e05(0x37d)])],_0x49a88b);var _0x64f36b=Object['getOwnPropertyDescriptor'],_0x3a993e=(_0x151cea,_0x4b0a69,_0x4afa2a,_0x5a8be6)=>{const _0x5c4733=_0x513e05;for(var _0x4473e3=_0x5a8be6>0x1?void 0x0:_0x5a8be6?_0x64f36b(_0x4b0a69,_0x4afa2a):_0x4b0a69,_0x1391fc=_0x151cea[_0x5c4733(0x3ec)]-0x1,_0xc360d0;_0x1391fc>=0x0;_0x1391fc--)(_0xc360d0=_0x151cea[_0x1391fc])&&(_0x4473e3=_0xc360d0(_0x4473e3)||_0x4473e3);return _0x4473e3;},_0x62df0b=(_0x186208,_0x55bff6)=>(_0x41bb77,_0x5719d3)=>_0x55bff6(_0x41bb77,_0x5719d3,_0x186208);const _0xc589c4=0x12c,_0x3203fd=0x64,_0x12dbb7=()=>{let _0xe1419=[],_0x409f1f=!0x1;return _0x2736a1=>{_0xe1419['push'](_0x2736a1),_0x409f1f||(_0x409f1f=!0x0,setTimeout(()=>{_0xe1419['forEach'](_0x2819ef=>_0x2819ef()),_0xe1419=[],_0x409f1f=!0x1;}));};};let _0x42473b=class extends _0x3772e7[_0x513e05(0x490)]{constructor(_0x16f045,_0x3c650b,_0x4d534c,_0x303e87,_0x522873,_0x387eb3,_0x17bdec,_0x4420db){const _0x541eee=_0x513e05;super(),_0xfd5d9c(this,_0x541eee(0x2a0),!0x1),_0xfd5d9c(this,_0x541eee(0x219),!0x1),_0xfd5d9c(this,_0x541eee(0x3f9),new _0x104804['BehaviorSubject'](new Map())),_0xfd5d9c(this,_0x541eee(0x423),this[_0x541eee(0x3f9)][_0x541eee(0x2aa)]()),_0xfd5d9c(this,_0x541eee(0x42c),new _0x104804[(_0x541eee(0x493))]([])),_0xfd5d9c(this,'roomMembers$',this[_0x541eee(0x42c)][_0x541eee(0x372)](_0x104804[_0x541eee(0x212)](_0xc589c4))),_0xfd5d9c(this,_0x541eee(0x2d4),_0x3772e7['debounce']((_0x1fdf56,_0x557a50)=>{const _0x125735=_0x541eee,_0x3e1cb5={'eventID':_0x116492[_0x125735(0x39b)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x125735(0x2bb)],'memberID':this[_0x125735(0x3a7)][_0x125735(0x3a6)](),'selection':_0x4915ec['serializeRangeWithSheet'](_0x1fdf56,_0x557a50['range'])}};this[_0x125735(0x3a7)][_0x125735(0x24a)](_0x3e1cb5,this[_0x125735(0x2bb)]);},_0x3203fd)),(this[_0x541eee(0x2bb)]=_0x16f045,this['_session']=_0x3c650b,this[_0x541eee(0x499)]=_0x4d534c,this[_0x541eee(0x3b0)]=_0x303e87,this['_memberService']=_0x522873,this[_0x541eee(0x2b8)]=_0x387eb3,this[_0x541eee(0x2fb)]=_0x17bdec,this[_0x541eee(0x211)]=_0x4420db);}get[_0x513e05(0x44c)](){return this['_cursorInfo$']['getValue']();}get[_0x513e05(0x339)](){const _0x182f6e=_0x513e05;return this[_0x182f6e(0x42c)][_0x182f6e(0x243)]();}[_0x513e05(0x472)](){const _0x49c1d1=_0x513e05;super[_0x49c1d1(0x472)](),this[_0x49c1d1(0x3f9)][_0x49c1d1(0x344)](new Map()),this[_0x49c1d1(0x3f9)][_0x49c1d1(0x3ef)](),this[_0x49c1d1(0x42c)][_0x49c1d1(0x344)]([]),this[_0x49c1d1(0x42c)][_0x49c1d1(0x3ef)]();}[_0x513e05(0x22b)](){const _0x5b4bd7=_0x513e05;this['_init']||(this[_0x5b4bd7(0x219)]=!0x0,this[_0x5b4bd7(0x3a7)]['sessionStatus$'][_0x5b4bd7(0x372)](_0x104804[_0x5b4bd7(0x3e1)](this[_0x5b4bd7(0x3b1)]))[_0x5b4bd7(0x3ee)](_0x1a2d05=>{const _0xa3aadc=_0x5b4bd7;_0x1a2d05===_0x19f8d7[_0xa3aadc(0x2d3)][_0xa3aadc(0x431)]?this['_toggleOnline']():this[_0xa3aadc(0x32a)]();}),this['_session'][_0x5b4bd7(0x1f0)]['pipe'](_0x104804[_0x5b4bd7(0x3e1)](this[_0x5b4bd7(0x3b1)]))['subscribe'](_0x5bf2fd=>{const _0x11ff6f=_0x5b4bd7,_0x29d45a=_0x5bf2fd[_0x11ff6f(0x3f1)];_0x29d45a===_0x116492[_0x11ff6f(0x39b)][_0x11ff6f(0x2de)]&&this[_0x11ff6f(0x375)](_0x5bf2fd),_0x29d45a===_0x116492[_0x11ff6f(0x39b)][_0x11ff6f(0x2b5)]&&this[_0x11ff6f(0x387)](_0x5bf2fd);}),this[_0x5b4bd7(0x26a)](),this['disposeWithMe'](this[_0x5b4bd7(0x2fb)][_0x5b4bd7(0x27e)](_0x4821d9=>{const _0x3dee1c=_0x5b4bd7;if(this[_0x3dee1c(0x2a0)]&&_0x4821d9['id']===_0x235c42['SetSelectionsOperation']['id']&&_0x4821d9[_0x3dee1c(0x41c)][_0x3dee1c(0x2fa)]===this[_0x3dee1c(0x2bb)]){const _0x1eb5c5=_0x4821d9[_0x3dee1c(0x41c)];this[_0x3dee1c(0x2d4)](_0x1eb5c5[_0x3dee1c(0x1da)],_0x1eb5c5['selections'][0x0]);}})));}[_0x513e05(0x375)](_0x25b34f){const _0x549ff1=_0x513e05;var _0x50bdfc,_0x25a8b3;const {memberID:_0x406214,selection:_0x326768}=_0x25b34f[_0x549ff1(0x300)],{sheetName:_0x5af176,range:_0x4c2bf9}=_0x4915ec['deserializeRangeWithSheet'](_0x326768),_0x1ca767={'name':(_0x25a8b3=(_0x50bdfc=this[_0x549ff1(0x442)][_0x549ff1(0x3df)](this['unitID'],_0x406214))==null?void 0x0:_0x50bdfc[_0x549ff1(0x248)])!=null?_0x25a8b3:'Unknown\x20user','range':this['_getMergeRange'](_0x5af176,_0x4c2bf9),'sheetID':_0x5af176,'color':this[_0x549ff1(0x3b0)]['assignAColorForMemberID'](_0x406214),'selection':_0x326768},_0x39f0a1=this['cursorInfo'];_0x39f0a1[_0x549ff1(0x40c)](_0x406214,_0x1ca767),this[_0x549ff1(0x3f9)][_0x549ff1(0x344)](_0x39f0a1);}[_0x513e05(0x387)](_0x464662){const _0x3b06cf=_0x513e05,{memberID:_0x525daf}=_0x464662[_0x3b06cf(0x300)],_0x60830e=this[_0x3b06cf(0x44c)];_0x60830e[_0x3b06cf(0x365)](_0x525daf),this[_0x3b06cf(0x3f9)][_0x3b06cf(0x344)](_0x60830e);}[_0x513e05(0x315)](_0x4fc43c,_0x2b01bd){const _0x53c8cf=_0x513e05;var _0x10f591,_0x4bb857;const _0x2a493d=(_0x4bb857=(_0x10f591=this[_0x53c8cf(0x2b8)][_0x53c8cf(0x286)](this[_0x53c8cf(0x2bb)]))==null?void 0x0:_0x10f591[_0x53c8cf(0x271)](_0x4fc43c))==null?void 0x0:_0x4bb857[_0x53c8cf(0x492)]();return(_0x2a493d==null?void 0x0:_0x2a493d[_0x53c8cf(0x368)](_0x516345=>_0x3772e7['Rectangle'][_0x53c8cf(0x241)](_0x516345,_0x2b01bd)))||_0x2b01bd;}[_0x513e05(0x26a)](){const _0x43f4c4=_0x513e05,_0x5be895=new _0x3772e7['DisposableCollection'](),_0x4aa4fb=_0x12dbb7(),_0xb69b68=()=>{const _0x5debf2=_0x3621;_0x5be895[_0x5debf2(0x472)]();const _0x13cd8b=(_0x49a93e,_0x436872,_0x52febc,_0x481ef8)=>{const _0x30043a=_0x5debf2;let _0x1a8ab7=[];switch(_0x49a93e['id']){case _0x235c42[_0x30043a(0x223)]['DeleteRangeMoveLeftCommandId']:{_0x1a8ab7=_0x235c42[_0x30043a(0x308)](_0x49a93e,_0x481ef8);break;}case _0x235c42[_0x30043a(0x223)][_0x30043a(0x401)]:{_0x1a8ab7=_0x235c42[_0x30043a(0x310)](_0x49a93e,_0x481ef8);break;}case _0x235c42[_0x30043a(0x223)][_0x30043a(0x206)]:{_0x1a8ab7=_0x235c42[_0x30043a(0x20e)](_0x49a93e,_0x481ef8);break;}case _0x235c42[_0x30043a(0x223)][_0x30043a(0x2d1)]:{_0x1a8ab7=_0x235c42[_0x30043a(0x480)](_0x49a93e,_0x481ef8);break;}case _0x235c42[_0x30043a(0x223)][_0x30043a(0x276)]:{_0x1a8ab7=_0x235c42[_0x30043a(0x3b9)](_0x49a93e,_0x481ef8);break;}case _0x235c42[_0x30043a(0x223)]['InsertRowCommandId']:{_0x1a8ab7=_0x235c42[_0x30043a(0x479)](_0x49a93e,_0x481ef8);break;}case _0x235c42[_0x30043a(0x223)][_0x30043a(0x456)]:{_0x1a8ab7=_0x235c42[_0x30043a(0x358)](_0x49a93e,_0x481ef8);break;}case _0x235c42[_0x30043a(0x223)]['RemoveColCommandId']:{_0x1a8ab7=_0x235c42[_0x30043a(0x1be)](_0x49a93e,_0x481ef8);break;}case _0x235c42[_0x30043a(0x223)][_0x30043a(0x487)]:{_0x1a8ab7=_0x235c42[_0x30043a(0x3cd)](_0x49a93e,_0x481ef8);break;}}const _0x16173e=_0x235c42[_0x30043a(0x1e4)](_0x1a8ab7,_0x481ef8),_0x4b6746=this[_0x30043a(0x44c)][_0x30043a(0x309)](_0x436872);if(_0x4b6746&&_0x16173e){const _0x30cbda={..._0x4b6746,'range':_0x16173e};this[_0x30043a(0x44c)][_0x30043a(0x40c)](_0x436872,_0x30cbda),_0x4aa4fb(()=>{const _0x5cd1ff=_0x30043a,_0x1e0e9a=this['_refRangeService'][_0x5cd1ff(0x367)](_0x16173e,_0x4dbc29=>(_0x1e0e9a[_0x5cd1ff(0x472)](),_0x13cd8b(_0x4dbc29,_0x436872,_0x52febc,_0x16173e)));_0x5be895['add'](_0x1e0e9a);});}return{'redos':[],'undos':[]};};this[_0x5debf2(0x44c)][_0x5debf2(0x2a8)]((_0x2d8721,_0x472e7a)=>{const _0x5a349d=_0x5debf2,{range:_0x3092e1,sheetID:_0x19b8f8}=_0x2d8721,_0x25d00f=this[_0x5a349d(0x211)][_0x5a349d(0x367)](_0x3092e1,_0x19ce1f=>(_0x25d00f[_0x5a349d(0x472)](),_0x13cd8b(_0x19ce1f,_0x472e7a,_0x19b8f8,_0x3092e1)));_0x5be895['add'](_0x25d00f);});};this[_0x43f4c4(0x317)](_0x3772e7[_0x43f4c4(0x385)](this[_0x43f4c4(0x3f9)][_0x43f4c4(0x3ee)](()=>{_0xb69b68();})));}[_0x513e05(0x46f)](){const _0xbdf5be=_0x513e05;var _0x58cdc3,_0x3deae2;if(this['_online']=!0x0,((_0x58cdc3=this[_0xbdf5be(0x2b8)][_0xbdf5be(0x207)]())==null?void 0x0:_0x58cdc3['getUnitId']())!==this[_0xbdf5be(0x2bb)])return;const _0x52e50f=(_0x3deae2=this['_injector'][_0xbdf5be(0x309)](_0x235c42['SheetsSelectionsService'])[_0xbdf5be(0x30f)]())==null?void 0x0:_0x3deae2[0x0],_0x476167=this['_univerInstanceService']['getCurrentUnitForType'](_0x3772e7['UniverInstanceType'][_0xbdf5be(0x437)])[_0xbdf5be(0x455)]();_0x52e50f&&_0x476167&&this[_0xbdf5be(0x2d4)](_0x476167[_0xbdf5be(0x466)](),_0x52e50f);}[_0x513e05(0x32a)](){const _0x467a81=_0x513e05;this[_0x467a81(0x2a0)]=!0x1;}};_0x42473b=_0x3a993e([_0x62df0b(0x2,_0x3772e7[_0x513e05(0x30b)](_0x3772e7['Injector'])),_0x62df0b(0x3,_0x3772e7[_0x513e05(0x30b)](_0x2e3fbf)),_0x62df0b(0x4,_0x3772e7[_0x513e05(0x30b)](_0x19f8d7[_0x513e05(0x298)])),_0x62df0b(0x5,_0x3772e7['IUniverInstanceService']),_0x62df0b(0x6,_0x3772e7[_0x513e05(0x37d)]),_0x62df0b(0x7,_0x3772e7[_0x513e05(0x30b)](_0x235c42[_0x513e05(0x34c)]))],_0x42473b);var _0x5dc3a1=Object[_0x513e05(0x33c)],_0x1ed3bf=(_0x2b2032,_0x4f2dbe,_0x25b904,_0xa3937e)=>{const _0x5d5bb5=_0x513e05;for(var _0x1e7001=_0xa3937e>0x1?void 0x0:_0xa3937e?_0x5dc3a1(_0x4f2dbe,_0x25b904):_0x4f2dbe,_0x23c4c7=_0x2b2032[_0x5d5bb5(0x3ec)]-0x1,_0x1b4516;_0x23c4c7>=0x0;_0x23c4c7--)(_0x1b4516=_0x2b2032[_0x23c4c7])&&(_0x1e7001=_0x1b4516(_0x1e7001)||_0x1e7001);return _0x1e7001;},_0x3b0807=(_0x5e6722,_0x2cf0e1)=>(_0xec3dd3,_0x17f663)=>_0x2cf0e1(_0xec3dd3,_0x17f663,_0x5e6722);let _0x2234d1=class extends _0x3772e7[_0x513e05(0x490)]{constructor(_0x21b776,_0x1440f5,_0x40fa11){const _0x173aed=_0x513e05;super(),_0xfd5d9c(this,'_entities',new Map()),_0xfd5d9c(this,_0x173aed(0x357),new _0x104804[(_0x173aed(0x269))]()),(this[_0x173aed(0x2b8)]=_0x21b776,this[_0x173aed(0x499)]=_0x1440f5,this[_0x173aed(0x3c9)]=_0x40fa11,this[_0x173aed(0x219)]());}[_0x513e05(0x472)](){const _0x2d623f=_0x513e05;super[_0x2d623f(0x472)](),this['_entityInit$'][_0x2d623f(0x3ef)](),this[_0x2d623f(0x3dc)]['forEach'](_0x330c0a=>_0x330c0a[_0x2d623f(0x472)]());}[_0x513e05(0x292)](_0x3bbd6c){const _0x55379c=_0x513e05;return this['_entities']['has'](_0x3bbd6c)?this[_0x55379c(0x3dc)]['get'](_0x3bbd6c)[_0x55379c(0x423)]:this[_0x55379c(0x357)]['pipe'](_0x104804[_0x55379c(0x3e4)](_0x2aae8a=>_0x2aae8a['unitID']===_0x3bbd6c),_0x104804[_0x55379c(0x3a3)](_0x5864c8=>_0x5864c8[_0x55379c(0x423)]));}[_0x513e05(0x219)](){const _0x20879d=_0x513e05;this[_0x20879d(0x2b8)][_0x20879d(0x40b)](_0x3772e7[_0x20879d(0x232)][_0x20879d(0x437)])[_0x20879d(0x372)](_0x104804[_0x20879d(0x3e1)](this[_0x20879d(0x3b1)]))['subscribe'](async _0x579fce=>{const _0x5a0ff1=_0x20879d,_0x1cd7d5=_0x579fce['getUnitId'](),_0x77853b=await this[_0x5a0ff1(0x314)](_0x1cd7d5);this[_0x5a0ff1(0x357)][_0x5a0ff1(0x344)](_0x77853b),this[_0x5a0ff1(0x3dc)][_0x5a0ff1(0x40c)](_0x1cd7d5,_0x77853b);}),this[_0x20879d(0x2b8)][_0x20879d(0x40b)](_0x3772e7[_0x20879d(0x232)][_0x20879d(0x366)])[_0x20879d(0x372)](_0x104804[_0x20879d(0x3e1)](this['dispose$']))[_0x20879d(0x372)](_0x104804[_0x20879d(0x3e4)](_0xfe335f=>!_0xfe335f[_0x20879d(0x353)]()[_0x20879d(0x43c)]('__')))['subscribe'](async _0xf36c05=>{const _0x1311ef=_0x20879d,_0x106d92=_0xf36c05[_0x1311ef(0x353)](),_0x280553=await this['_startDocCollabCursor'](_0x106d92);this[_0x1311ef(0x357)][_0x1311ef(0x344)](_0x280553),this[_0x1311ef(0x3dc)][_0x1311ef(0x40c)](_0x106d92,_0x280553);}),_0x104804[_0x20879d(0x1eb)](this[_0x20879d(0x2b8)][_0x20879d(0x2ef)](_0x3772e7[_0x20879d(0x232)][_0x20879d(0x366)]),this[_0x20879d(0x2b8)][_0x20879d(0x2ef)](_0x3772e7[_0x20879d(0x232)][_0x20879d(0x437)]))[_0x20879d(0x372)](_0x104804[_0x20879d(0x3e1)](this[_0x20879d(0x3b1)]))[_0x20879d(0x3ee)](_0x19fe44=>{const _0x2c7ccc=_0x20879d,_0x3607a3=_0x19fe44[_0x2c7ccc(0x353)](),_0x1df31b=this[_0x2c7ccc(0x3dc)][_0x2c7ccc(0x309)](_0x3607a3);_0x1df31b&&(_0x1df31b[_0x2c7ccc(0x472)](),this[_0x2c7ccc(0x3dc)][_0x2c7ccc(0x365)](_0x3607a3));});}async[_0x513e05(0x314)](_0x563269){const _0x4a0783=_0x513e05,_0x112671=await this[_0x4a0783(0x3c9)][_0x4a0783(0x3b4)](_0x563269),_0x2f7275=this['_injector'][_0x4a0783(0x261)](_0x42473b,_0x563269,_0x112671);return _0x2f7275[_0x4a0783(0x22b)](),_0x2f7275;}async[_0x513e05(0x469)](_0x214d8c){const _0x4b747f=_0x513e05,_0x2023ed=await this[_0x4b747f(0x3c9)][_0x4b747f(0x3b4)](_0x214d8c),_0x3c416e=this['_injector'][_0x4b747f(0x261)](_0x49a88b,_0x214d8c,_0x2023ed);return _0x3c416e[_0x4b747f(0x22b)](),_0x3c416e;}};_0x2234d1=_0x1ed3bf([_0x3b0807(0x0,_0x3772e7[_0x513e05(0x201)]),_0x3b0807(0x1,_0x3772e7['Inject'](_0x3772e7[_0x513e05(0x37e)])),_0x3b0807(0x2,_0x3772e7['Inject'](_0x19f8d7['CollaborationSessionService']))],_0x2234d1);const _0x2d8fb8=0x14,_0x4ee5d3=0xc8,_0x1a82ee=0x4,_0x55e3cb=0x5;function _0x2b814f(_0x17c2de,_0x4e4f02){const _0x314e70=_0x513e05;let {radius:_0x5077e8,width:_0x49b425,height:_0x284619}=_0x4e4f02;_0x5077e8=_0x5077e8!=null?_0x5077e8:0x0,_0x49b425=_0x49b425!=null?_0x49b425:0x1e,_0x284619=_0x284619!=null?_0x284619:0x1e;let _0x4e62ac=0x0,_0x34772a=0x0,_0x5a1273=0x0;_0x4e62ac=_0x34772a=_0x5a1273=Math['min'](_0x5077e8,_0x49b425/0x2,_0x284619/0x2),_0x17c2de[_0x314e70(0x453)](),_0x17c2de[_0x314e70(0x1f4)](_0x4e62ac,0x0),_0x17c2de[_0x314e70(0x3d0)](_0x49b425-_0x34772a,0x0),_0x17c2de[_0x314e70(0x334)](_0x49b425-_0x34772a,_0x34772a,_0x34772a,Math['PI']*0x3/0x2,0x0,!0x1),_0x17c2de[_0x314e70(0x3d0)](_0x49b425,_0x284619-_0x5a1273),_0x17c2de['arc'](_0x49b425-_0x5a1273,_0x284619-_0x5a1273,_0x5a1273,0x0,Math['PI']/0x2,!0x1),_0x17c2de[_0x314e70(0x3d0)](0x0,_0x284619),_0x17c2de[_0x314e70(0x3d0)](0x0,_0x4e62ac),_0x17c2de[_0x314e70(0x334)](_0x4e62ac,_0x4e62ac,_0x4e62ac,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x17c2de['closePath'](),_0x4e4f02['fill']&&(_0x17c2de['save'](),_0x17c2de[_0x314e70(0x270)]=_0x4e4f02['fill'],_0x4e4f02[_0x314e70(0x3ba)]===_0x314e70(0x3e7)?_0x17c2de[_0x314e70(0x2bd)](_0x314e70(0x3e7)):_0x17c2de[_0x314e70(0x2bd)](),_0x17c2de[_0x314e70(0x2be)]());}class _0x1ebdbd extends _0x29b571[_0x513e05(0x1ce)]{constructor(_0x3ec316,_0x1f8f72){const _0x2a7592=_0x513e05;super(_0x3ec316,_0x1f8f72),_0xfd5d9c(this,'color'),_0xfd5d9c(this,_0x2a7592(0x24e)),(this['color']=_0x1f8f72==null?void 0x0:_0x1f8f72[_0x2a7592(0x336)],this[_0x2a7592(0x24e)]=_0x1f8f72==null?void 0x0:_0x1f8f72[_0x2a7592(0x24e)]);}static['drawWith'](_0x533679,_0x37c57e){const _0xabdeb1=_0x513e05,{text:_0x43fe14,color:_0x1b6bfa}=_0x37c57e;_0x533679[_0xabdeb1(0x388)](),_0x533679[_0xabdeb1(0x2f6)]=_0xabdeb1(0x360);const _0x57c439=_0x533679[_0xabdeb1(0x3c2)](_0x43fe14)[_0xabdeb1(0x313)],_0xb76790=Math[_0xabdeb1(0x2b3)](_0x57c439+0x2*_0x1a82ee,_0x4ee5d3);_0x2b814f(_0x533679,{'height':_0x2d8fb8,'radius':0x4,'width':_0xb76790,'fill':_0x1b6bfa}),_0x533679[_0xabdeb1(0x270)]=_0xabdeb1(0x2b9);const _0x14e1c6=_0x1a82ee,_0x23fc03=_0x2d8fb8-_0x55e3cb,_0x5ee7e5=_0x4ee5d3-0x2*_0x1a82ee;if(_0x57c439>_0x5ee7e5){let _0x3ad4ba='',_0x3f4796=0x0;for(const _0x7d3095 of _0x43fe14){const _0x5c8ab3=_0x533679[_0xabdeb1(0x3c2)](_0x7d3095)[_0xabdeb1(0x313)];if(_0x3f4796+_0x5c8ab3<=_0x5ee7e5-_0x533679[_0xabdeb1(0x3c2)](_0xabdeb1(0x354))['width'])_0x3ad4ba+=_0x7d3095,_0x3f4796+=_0x5c8ab3;else{_0x3ad4ba+=_0xabdeb1(0x354);break;}}_0x533679[_0xabdeb1(0x3cb)](_0x3ad4ba,_0x14e1c6,_0x23fc03);}else _0x533679['fillText'](_0x43fe14,_0x14e1c6,_0x23fc03);_0x533679[_0xabdeb1(0x2be)]();}[_0x513e05(0x3e2)](_0x375269){const _0xe7766d=_0x513e05;_0x1ebdbd[_0xe7766d(0x35c)](_0x375269,this);}}const _0x32883b='collab-text-anchor-',_0x51bf40='collab-text-range-',_0x474afd=_0x513e05(0x47b),_0x404681=0x6,_0x40e8c1=1.5,_0x136e3c=0x4,_0x104b0d=1.5,_0x551ba4=_0x513e05(0x1c6);class _0xe6a382{constructor(_0x3a76f4,_0x5bf1e5,_0x497eeb,_0x213938){const _0x2a0e42=_0x513e05;_0xfd5d9c(this,_0x2a0e42(0x240),[]),_0xfd5d9c(this,_0x2a0e42(0x380),null),_0xfd5d9c(this,_0x2a0e42(0x3de),null),_0xfd5d9c(this,_0x2a0e42(0x3c0),null),_0xfd5d9c(this,_0x2a0e42(0x46d),null),_0xfd5d9c(this,_0x2a0e42(0x42f),null),(this['_cursor']=_0x3a76f4,this[_0x2a0e42(0x333)]=_0x5bf1e5,this['_docSkeleton']=_0x497eeb,this['_document']=_0x213938,this[_0x2a0e42(0x497)]());}set[_0x513e05(0x31b)](_0x15b9f8){const _0x89e8f8=_0x513e05;_0x15b9f8?(this[_0x89e8f8(0x3c0)]&&this['_anchorDot'][_0x89e8f8(0x2b6)](),this[_0x89e8f8(0x3de)]&&this['_textBubble'][_0x89e8f8(0x345)]()):(this[_0x89e8f8(0x3c0)]&&this['_anchorDot']['show'](),this[_0x89e8f8(0x3de)]&&this['_textBubble'][_0x89e8f8(0x2b6)]());}[_0x513e05(0x472)](){const _0x29d28b=_0x513e05;for(const _0x3892a0 of this[_0x29d28b(0x240)])_0x3892a0[_0x29d28b(0x472)]();this['_textBubble']&&this[_0x29d28b(0x3de)][_0x29d28b(0x472)](),this[_0x29d28b(0x3c0)]&&this[_0x29d28b(0x3c0)][_0x29d28b(0x472)](),this[_0x29d28b(0x380)]&&this[_0x29d28b(0x380)][_0x29d28b(0x472)](),this[_0x29d28b(0x42f)]&&this[_0x29d28b(0x42f)]();}[_0x513e05(0x497)](){const _0x535f32=_0x513e05;var _0x1d5092;const {_docSkeleton:_0x326ec8,_document:_0x8a97c4}=this,{color:_0x130bb5,name:_0x4d1d4c,ranges:_0x2e8889}=this[_0x535f32(0x48d)],_0xe52f85=_0x8a97c4[_0x535f32(0x1ef)](),{docsLeft:_0x154a33,docsTop:_0x1d8d7c}=_0xe52f85,_0x2b713a=new _0x7ab617[(_0x535f32(0x3cf))](_0xe52f85,_0x326ec8);for(const {startOffset:_0x890178,endOffset:_0xd331bc,rangeType:_0x529d8b,segmentId:_0x4098f3,segmentPage:_0x54f6cb,collapsed:_0x383d2d,isActive:_0x13c2ee}of _0x2e8889){const _0x4b3b4e=_0x326ec8['findNodePositionByCharIndex'](_0x890178,!0x0,_0x4098f3,_0x54f6cb);let _0x3deb1b=_0x326ec8['findNodePositionByCharIndex'](_0xd331bc,!0x0,_0x4098f3,_0x54f6cb);if(_0x3deb1b==null&&(_0x3deb1b=_0x326ec8[_0x535f32(0x349)](_0xd331bc-0x1,!0x1,_0x4098f3,_0x54f6cb)),_0x13c2ee){const {contentBoxPointGroup:_0x2defa4}=_0x2b713a[_0x535f32(0x1f8)](_0x3deb1b,_0x3deb1b);if(_0x2defa4[_0x535f32(0x3ec)]===0x0)continue;this[_0x535f32(0x2b4)](_0x130bb5,_0x2defa4,_0x154a33,_0x1d8d7c,_0x4d1d4c),this['_eventUnsubscribe']=this[_0x535f32(0x363)]();}if(_0x4b3b4e&&_0x3deb1b){if(_0x529d8b===_0x3772e7['DOC_RANGE_TYPE'][_0x535f32(0x3b7)]){const _0x182a96=new _0x7ab617[(_0x535f32(0x3a8))](_0xe52f85,_0x326ec8),{pointGroup:_0xb0f904}=(_0x1d5092=_0x182a96[_0x535f32(0x1f8)](_0x4b3b4e,_0x3deb1b))!=null?_0x1d5092:{};if(_0xb0f904==null||_0xb0f904[_0x535f32(0x3ec)]===0x0)continue;this[_0x535f32(0x282)](_0x130bb5,_0xb0f904,_0x154a33,_0x1d8d7c);}else{if(!_0x383d2d){const {borderBoxPointGroup:_0x2d1d71}=_0x2b713a[_0x535f32(0x1f8)](_0x4b3b4e,_0x3deb1b);if(_0x2d1d71[_0x535f32(0x3ec)]===0x0)continue;this[_0x535f32(0x25f)](_0x130bb5,_0x2d1d71,_0x154a33,_0x1d8d7c);}}}}}[_0x513e05(0x2b4)](_0x48fb6d,_0x37181b,_0x135a11,_0x40c1a8,_0x458422){const _0x34bbe5=_0x513e05,_0x43fa79=this['_getAnchorBounding'](_0x37181b),{left:_0x2301c3,top:_0x3ce6bf,height:_0x833ae6}=_0x43fa79,_0x52170d=this[_0x34bbe5(0x429)](),_0x3c6373=_0x104b0d/_0x52170d,_0x28b6bf=new _0x29b571[(_0x34bbe5(0x460))](_0x32883b+_0x3772e7['generateRandomId'](_0x404681),{'left':_0x2301c3+_0x135a11-_0x3c6373,'top':_0x3ce6bf+_0x40c1a8,'height':_0x833ae6,'width':_0x40e8c1,'fill':_0x48fb6d||_0x29b571['getColor'](_0x3772e7['COLORS'][_0x34bbe5(0x304)],0x0),'strokeWidth':_0x3c6373,'stroke':_0x551ba4,'evented':!0x0});this[_0x34bbe5(0x380)]=_0x28b6bf,this['_scene'][_0x34bbe5(0x28c)](_0x28b6bf,_0x7ab617['TEXT_RANGE_LAYER_INDEX']);const _0x5e001c=new _0x29b571[(_0x34bbe5(0x460))](_0x32883b+_0x3772e7[_0x34bbe5(0x2ae)](_0x404681),{'left':_0x2301c3+_0x135a11-_0x3c6373,'top':_0x3ce6bf+_0x40c1a8-_0x136e3c/0x2,'height':_0x136e3c,'width':_0x136e3c,'fill':_0x48fb6d||_0x29b571[_0x34bbe5(0x3f8)](_0x3772e7['COLORS'][_0x34bbe5(0x304)],0x0),'strokeWidth':0x0,'stroke':_0x48fb6d||_0x29b571[_0x34bbe5(0x3f8)](_0x3772e7[_0x34bbe5(0x221)][_0x34bbe5(0x304)],0x0),'evented':!0x1});this[_0x34bbe5(0x3c0)]=_0x5e001c,this[_0x34bbe5(0x333)][_0x34bbe5(0x28c)](_0x5e001c,_0x7ab617[_0x34bbe5(0x1fd)]);const _0x312b09=new _0x1ebdbd(_0x32883b+_0x3772e7['generateRandomId'](_0x404681),{'left':_0x2301c3+_0x135a11-_0x3c6373,'top':_0x3ce6bf+_0x40c1a8-_0x2d8fb8,'text':_0x458422,'color':_0x48fb6d});this['_textBubble']=_0x312b09,this['_scene']['addObject'](_0x312b09,_0x7ab617[_0x34bbe5(0x1fd)]),this['_hover']=!0x1;}['_handleHover'](){const _0x358d32=_0x513e05,_0x2b8d64=this[_0x358d32(0x380)][_0x358d32(0x20b)]['subscribeEvent'](()=>{const _0x2a5a81=_0x358d32;this[_0x2a5a81(0x31b)]=!0x0;}),_0x2a9906=this['_anchor'][_0x358d32(0x258)]['subscribeEvent'](()=>{const _0x2ee4d3=_0x358d32;this[_0x2ee4d3(0x46d)]&&clearTimeout(this[_0x2ee4d3(0x46d)]),this[_0x2ee4d3(0x46d)]=setTimeout(()=>{const _0x7e5813=_0x2ee4d3;this[_0x7e5813(0x31b)]=!0x1;},0x7d0);});return()=>{const _0x4111f6=_0x358d32;_0x2b8d64[_0x4111f6(0x383)](),_0x2a9906[_0x4111f6(0x383)]();};}[_0x513e05(0x25f)](_0x2aed28,_0x5f472e,_0x1e0e42,_0x2fbba8){const _0x508fb2=_0x513e05,_0x11c010=new _0x3772e7['ColorKit'](_0x2aed28)[_0x508fb2(0x1c8)](0.2)[_0x508fb2(0x484)](),_0x552c01=new _0x29b571[(_0x508fb2(0x319))](_0x51bf40+_0x3772e7['generateRandomId'](_0x404681),{'pointsGroup':_0x5f472e,'fill':_0x11c010||_0x29b571[_0x508fb2(0x3f8)](_0x3772e7[_0x508fb2(0x221)][_0x508fb2(0x304)],0.2),'left':_0x1e0e42,'top':_0x2fbba8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x508fb2(0x240)][_0x508fb2(0x2e0)](_0x552c01),this['_scene'][_0x508fb2(0x28c)](_0x552c01,_0x7ab617[_0x508fb2(0x1fd)]);}[_0x513e05(0x282)](_0x11f0bf,_0x2e5dc,_0x45b373,_0x5e4286){const _0x35729f=_0x513e05,_0x328aad=new _0x3772e7[(_0x35729f(0x236))](_0x11f0bf)['setAlpha'](0.2)[_0x35729f(0x484)](),_0x4e30cd=new _0x29b571[(_0x35729f(0x319))](_0x474afd+_0x3772e7[_0x35729f(0x2ae)](_0x404681),{'pointsGroup':_0x2e5dc,'fill':_0x328aad||_0x29b571[_0x35729f(0x3f8)](_0x3772e7['COLORS'][_0x35729f(0x304)],0.2),'left':_0x45b373,'top':_0x5e4286,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x35729f(0x240)]['push'](_0x4e30cd),this[_0x35729f(0x333)]['addObject'](_0x4e30cd,_0x7ab617['TEXT_RANGE_LAYER_INDEX']);}[_0x513e05(0x3fd)](_0x11e699){const _0x4e39fd=_0x11e699[0x0],_0x47c9db=_0x4e39fd[0x0],_0x14f768=_0x4e39fd[0x2],{x:_0x6fcd1e,y:_0x49469c}=_0x47c9db,{x:_0x106562,y:_0x3eb4b9}=_0x14f768;return{'left':_0x6fcd1e,'top':_0x49469c,'width':_0x106562-_0x6fcd1e,'height':_0x3eb4b9-_0x49469c};}['_getScale'](){const _0x283284=_0x513e05,{scaleX:_0x23a028,scaleY:_0x12e7eb}=this[_0x283284(0x333)][_0x283284(0x254)]();return Math['max'](_0x23a028,_0x12e7eb);}}var _0x318d1d=Object[_0x513e05(0x33c)],_0xfd50fd=(_0x12307b,_0x528f88,_0x5419b1,_0x4c881d)=>{const _0x50b167=_0x513e05;for(var _0x25484c=_0x4c881d>0x1?void 0x0:_0x4c881d?_0x318d1d(_0x528f88,_0x5419b1):_0x528f88,_0xdace3a=_0x12307b[_0x50b167(0x3ec)]-0x1,_0x5a3420;_0xdace3a>=0x0;_0xdace3a--)(_0x5a3420=_0x12307b[_0xdace3a])&&(_0x25484c=_0x5a3420(_0x25484c)||_0x25484c);return _0x25484c;},_0x1f5c41=(_0x384e79,_0x53c53d)=>(_0x4b594d,_0x14560f)=>_0x53c53d(_0x4b594d,_0x14560f,_0x384e79);let _0x4d05f1=class extends _0x3772e7['RxDisposable']{constructor(_0x2cafae,_0x90c3f6,_0x2fc4f,_0x280736,_0x315fca){const _0x29490f=_0x513e05;super(),_0xfd5d9c(this,_0x29490f(0x35a),[]),_0xfd5d9c(this,'_cursors',[]),(this['_context']=_0x2cafae,this[_0x29490f(0x3b8)]=_0x90c3f6,this[_0x29490f(0x38d)]=_0x2fc4f,this[_0x29490f(0x2fb)]=_0x280736,this[_0x29490f(0x323)]=_0x315fca,this[_0x29490f(0x219)]());}[_0x513e05(0x219)](){const _0x5f0dfe=_0x513e05,_0x588e68=this[_0x5f0dfe(0x2f4)][_0x5f0dfe(0x2fa)],_0x3557d2=this[_0x5f0dfe(0x3b8)];this[_0x5f0dfe(0x317)](_0x104804[_0x5f0dfe(0x30d)]([this[_0x5f0dfe(0x38d)]['getCollabCursors$'](_0x588e68),this[_0x5f0dfe(0x323)][_0x5f0dfe(0x3d1)]])[_0x5f0dfe(0x372)](_0x568e97[_0x5f0dfe(0x407)](([_0x1d325d,_0x1dbed5])=>({'skeleton':_0x3557d2['getSkeleton'](),'cursors':[..._0x1d325d[_0x5f0dfe(0x39d)]()]['flatMap'](_0x4fa6f2=>({..._0x4fa6f2,'color':this[_0x5f0dfe(0x323)][_0x5f0dfe(0x476)](_0x4fa6f2[_0x5f0dfe(0x336)])}))})))[_0x5f0dfe(0x3ee)](_0x3478b0=>{const _0x1e9d27=_0x5f0dfe;if(this[_0x1e9d27(0x2b0)](),_0x3478b0){const {skeleton:_0x155408,cursors:_0xee3ba7}=_0x3478b0;this[_0x1e9d27(0x316)](_0x155408,_0xee3ba7);}})),this[_0x5f0dfe(0x2cb)](),this[_0x5f0dfe(0x450)]();}[_0x513e05(0x316)](_0x420556,_0x14f122){const _0x4604c1=_0x513e05,{scene:_0x4a218c,mainComponent:_0x2ccdda}=this['_context'],_0x263af1=_0x14f122['map'](_0x3fb87c=>new _0xe6a382(_0x3fb87c,_0x4a218c,_0x420556,_0x2ccdda));this[_0x4604c1(0x35a)]=_0x263af1,this['_cursors']=_0x14f122;}[_0x513e05(0x2a4)](){const _0x5437c4=_0x513e05;this[_0x5437c4(0x2b0)]();const {scene:_0x1d80f5,mainComponent:_0x456d22}=this[_0x5437c4(0x2f4)],_0x57d739=this[_0x5437c4(0x3b8)][_0x5437c4(0x338)](),_0x10689d=this[_0x5437c4(0x489)][_0x5437c4(0x407)](_0x249b8a=>new _0xe6a382(_0x249b8a,_0x1d80f5,_0x57d739,_0x456d22));this[_0x5437c4(0x35a)]=_0x10689d;}['_removeCollabCursors'](){const _0x13d2d5=_0x513e05;this[_0x13d2d5(0x35a)][_0x13d2d5(0x2a8)](_0x150b4e=>_0x150b4e[_0x13d2d5(0x472)]()),this[_0x13d2d5(0x35a)]=[];}['_initCommandExecutedListener'](){const _0x320ca5=_0x513e05,_0x449bbe=[_0x7ab617[_0x320ca5(0x410)]['id']];this[_0x320ca5(0x317)](this['_commandService']['onCommandExecuted'](_0xf36dd0=>{const _0xa27884=_0x320ca5;_0x449bbe[_0xa27884(0x40d)](_0xf36dd0['id'])&&_0xf36dd0[_0xa27884(0x41c)]['unitId']===this['_context'][_0xa27884(0x2fa)]&&this[_0xa27884(0x2a4)]();}));}['_initResize'](){const _0x55ac46=_0x513e05;this[_0x55ac46(0x317)](_0x3772e7[_0x55ac46(0x2d8)](this[_0x55ac46(0x2f4)]['engine']['onTransformChange$'])[_0x55ac46(0x372)](_0x568e97[_0x55ac46(0x3e4)](_0x12e2d8=>_0x12e2d8[_0x55ac46(0x23f)]===_0x29b571['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x55ac46(0x218)]),_0x568e97[_0x55ac46(0x411)](0x10))['subscribe'](()=>{const _0x1e96d7=_0x55ac46;this[_0x1e96d7(0x2a4)]();}));}};_0x4d05f1=_0xfd50fd([_0x1f5c41(0x1,_0x3772e7['Inject'](_0x37acc3[_0x513e05(0x465)])),_0x1f5c41(0x2,_0x3772e7['Inject'](_0x2234d1)),_0x1f5c41(0x3,_0x3772e7['ICommandService']),_0x1f5c41(0x4,_0x3772e7[_0x513e05(0x30b)](_0x3772e7[_0x513e05(0x2e6)]))],_0x4d05f1);const _0x8ae3bd=0x1,_0x519199=1.5;class _0xc79a86 extends _0x29b571[_0x513e05(0x1ce)]{constructor(_0x39987c,_0xda71b0){const _0x43e7ef=_0x513e05;super(_0x39987c,_0xda71b0),_0xfd5d9c(this,'_color'),_0xfd5d9c(this,_0x43e7ef(0x1f2),!0x1),_0xfd5d9c(this,'_range'),_0xfd5d9c(this,'_name',''),_0xfd5d9c(this,'_labelPosition','top'),_0xfd5d9c(this,_0x43e7ef(0x31a)),(_0xda71b0&&this[_0x43e7ef(0x3e0)](_0xda71b0),this[_0x43e7ef(0x20b)][_0x43e7ef(0x37a)](()=>this[_0x43e7ef(0x3e0)]({'hovered':!0x0})),this['onPointerLeave$'][_0x43e7ef(0x37a)](()=>this[_0x43e7ef(0x3e0)]({'hovered':!0x1})));}['setShapeProps'](_0x3e8aaf){const _0x5d3463=_0x513e05;var _0x5b3bac,_0x426284,_0x4227f7,_0x29dc60,_0x33f5d8,_0x32e118;this[_0x5d3463(0x23e)]=(_0x5b3bac=_0x3e8aaf[_0x5d3463(0x336)])!=null?_0x5b3bac:this[_0x5d3463(0x23e)],this[_0x5d3463(0x1f2)]=(_0x426284=_0x3e8aaf[_0x5d3463(0x3ff)])!=null?_0x426284:this['_hovered'],this['_range']=(_0x4227f7=_0x3e8aaf[_0x5d3463(0x2f9)])!=null?_0x4227f7:this[_0x5d3463(0x2dc)],this[_0x5d3463(0x2dd)]=(_0x29dc60=_0x3e8aaf[_0x5d3463(0x248)])!=null?_0x29dc60:this['_name'],this[_0x5d3463(0x1e7)]=(_0x33f5d8=_0x3e8aaf[_0x5d3463(0x2e5)])!=null?_0x33f5d8:this[_0x5d3463(0x1e7)],this[_0x5d3463(0x31a)]=(_0x32e118=_0x3e8aaf['backgroundColor'])!=null?_0x32e118:this[_0x5d3463(0x31a)],this[_0x5d3463(0x41d)]({'width':_0x3e8aaf[_0x5d3463(0x313)],'height':_0x3e8aaf[_0x5d3463(0x2b2)]});}[_0x513e05(0x1cd)](_0x17432b){const _0xfd46d5=_0x513e05,{row:_0x2e1e51,column:_0x5b0463}=_0x17432b;if(_0x2e1e51>=this[_0xfd46d5(0x2dc)][_0xfd46d5(0x311)]&&_0x2e1e51<=this['_range'][_0xfd46d5(0x408)]&&_0x5b0463>=this[_0xfd46d5(0x2dc)][_0xfd46d5(0x2d6)]&&_0x5b0463<=this[_0xfd46d5(0x2dc)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0xfd46d5(0x3e0)]({'hovered':!0x1});}[_0x513e05(0x454)](_0x2057c2){return!0x1;}[_0x513e05(0x3e2)](_0x2213d7){const _0x1c80a3=_0x513e05;_0x29b571[_0x1c80a3(0x460)][_0x1c80a3(0x35c)](_0x2213d7,{'width':this['width'],'height':this[_0x1c80a3(0x2b2)],'strokeWidth':_0x519199,'stroke':this[_0x1c80a3(0x23e)],'evented':!0x1,'fill':this[_0x1c80a3(0x31a)]}),this[_0x1c80a3(0x1f2)]&&(_0x2213d7[_0x1c80a3(0x388)](),_0x2213d7['transform'](0x1,0x0,0x0,0x1,this[_0x1c80a3(0x313)],this[_0x1c80a3(0x1e7)]===_0x1c80a3(0x1e3)?0x0:-_0x2d8fb8),_0x1ebdbd['drawWith'](_0x2213d7,{'text':this[_0x1c80a3(0x2dd)],'color':this[_0x1c80a3(0x23e)]}),_0x2213d7['restore']());}}var _0x2e98ed=Object[_0x513e05(0x33c)],_0x21ad4b=(_0x40f8b9,_0x48fd6a,_0x51b62c,_0x108bef)=>{const _0x549863=_0x513e05;for(var _0x186b3f=_0x108bef>0x1?void 0x0:_0x108bef?_0x2e98ed(_0x48fd6a,_0x51b62c):_0x48fd6a,_0x51732f=_0x40f8b9[_0x549863(0x3ec)]-0x1,_0x5e49e9;_0x51732f>=0x0;_0x51732f--)(_0x5e49e9=_0x40f8b9[_0x51732f])&&(_0x186b3f=_0x5e49e9(_0x186b3f)||_0x186b3f);return _0x186b3f;},_0x22e80f=(_0x53ab7b,_0x146e27)=>(_0x2c5c27,_0x1cfac3)=>_0x146e27(_0x2c5c27,_0x1cfac3,_0x53ab7b);const _0x354c78=0x1389;let _0x4fc936=class extends _0x3772e7[_0x513e05(0x490)]{constructor(_0x31ee8c,_0x491daf,_0x70d571,_0x951809){const _0x7740ba=_0x513e05;super(),_0xfd5d9c(this,'_cursors',new Set()),_0xfd5d9c(this,_0x7740ba(0x24c),null),(this['_context']=_0x31ee8c,this[_0x7740ba(0x1f7)]=_0x491daf,this[_0x7740ba(0x38d)]=_0x70d571,this[_0x7740ba(0x323)]=_0x951809,this['_init']());}['_init'](){const _0x2c4811=_0x513e05;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x2c4811(0x372)](_0x568e97[_0x2c4811(0x3e1)](this[_0x2c4811(0x3b1)]),_0x568e97[_0x2c4811(0x3a3)](_0x5e7407=>{const _0x32580a=_0x2c4811;if(_0x5e7407){const _0x1c7166=_0x5e7407['sheetId'];return _0x104804[_0x32580a(0x30d)](this['_collabCursorController'][_0x32580a(0x292)](this[_0x32580a(0x2f4)][_0x32580a(0x2fa)]),this[_0x32580a(0x323)][_0x32580a(0x3d1)])['pipe'](_0x568e97[_0x32580a(0x407)](([_0x3fe3d7,_0x452339])=>{const _0x1b0b2f=_0x32580a,_0x5736f9=new Map();return _0x3fe3d7[_0x1b0b2f(0x2a8)]((_0x834c28,_0x3f43c2)=>{const _0x19f1fd=_0x1b0b2f;if(_0x834c28['sheetID']===_0x1c7166){const _0x3670ef={..._0x834c28};_0x3670ef['color']=this['_themeService']['getColorFromTheme'](_0x834c28[_0x19f1fd(0x336)]),_0x5736f9[_0x19f1fd(0x40c)](_0x3f43c2,_0x3670ef);}}),{'skeleton':_0x5e7407,'cursors':_0x5736f9};}));}return _0x104804['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x42bafc,cursors:_0x2a61ea})=>{const _0x43ed3d=_0x2c4811;this[_0x43ed3d(0x2b0)](),_0x42bafc&&this['_updateCollabCursors'](_0x42bafc,_0x2a61ea);}),this[_0x2c4811(0x1f7)][_0x2c4811(0x2ce)]['subscribe'](_0x2a8593=>{const _0x72553=_0x2c4811;if(_0x2a8593==null)return;const {skeleton:_0x35862e}=_0x2a8593,{scene:_0x2a6da1}=this['_context'];_0x2a6da1[_0x72553(0x362)][_0x72553(0x37a)](_0x3772e7[_0x72553(0x43a)](_0x20a506=>{const _0x1e5ff0=_0x72553;var _0x3dcbed,_0x3fa7d6;const {offsetX:_0x3a905c,offsetY:_0x4c480e}=_0x20a506,{x:_0x4cd532,y:_0x355cce}=_0x2a6da1[_0x1e5ff0(0x29b)](_0x29b571['Vector2'][_0x1e5ff0(0x32e)]([_0x3a905c,_0x4c480e])),{scaleX:_0x56d765,scaleY:_0x4bd465}=_0x2a6da1[_0x1e5ff0(0x254)](),_0x2bf5a9=_0x2a6da1[_0x1e5ff0(0x38a)](_0x29b571['SHEET_VIEWPORT_KEY'][_0x1e5ff0(0x2da)]),_0x50b788=_0x2a6da1[_0x1e5ff0(0x45f)](_0x29b571[_0x1e5ff0(0x253)][_0x1e5ff0(0x32e)]([_0x4cd532,_0x355cce]),_0x2bf5a9),_0x576aec=_0x35862e[_0x1e5ff0(0x404)](_0x3a905c,_0x4c480e,_0x56d765,_0x4bd465,_0x50b788);((_0x3dcbed=this[_0x1e5ff0(0x24c)])==null?void 0x0:_0x3dcbed['column'])===_0x576aec[_0x1e5ff0(0x275)]&&((_0x3fa7d6=this['_lastPointer'])==null?void 0x0:_0x3fa7d6['row'])===_0x576aec[_0x1e5ff0(0x1ee)]||this['_cursors'][_0x1e5ff0(0x2a8)](_0x103ccc=>{const _0xc34117=_0x1e5ff0;_0x103ccc[_0xc34117(0x1cd)](_0x576aec);});},0x64));});}['_updateCollabCursors'](_0x14c980,_0x15af29){const _0x204fa0=_0x513e05;var _0x4cbc01;const _0x684e3d=(_0x4cbc01=this[_0x204fa0(0x1f7)][_0x204fa0(0x44b)]())==null?void 0x0:_0x4cbc01[_0x204fa0(0x213)];if(!_0x684e3d)return;const _0x32757e=this[_0x204fa0(0x48c)]();if(!_0x32757e)return;this['_cursors'][_0x204fa0(0x2a8)](_0x22ca18=>{const _0x12d855=_0x204fa0;_0x22ca18[_0x12d855(0x3f4)]();});const {scene:_0x1d5bef}=_0x32757e,_0x3914ae=_0x56585e(Array[_0x204fa0(0x2a2)](_0x15af29['values']()))[_0x204fa0(0x407)](_0x2e68fa=>{const _0xe94795=_0x204fa0,{color:_0x37f57f,range:_0x25981e,name:_0x5bc598,selection:_0x40b755,sheetID:_0x12e2bf}=_0x2e68fa,{startColumn:_0x28a945,startRow:_0x2e7bfb,endColumn:_0x348f2a,endRow:_0x39fe65}=_0x25981e,_0x52c7f2=_0x3e18f2['getCoordByCell'](_0x2e7bfb,_0x28a945,_0x1d5bef,_0x684e3d),_0x72acba=_0x3e18f2[_0xe94795(0x318)](_0x39fe65,_0x348f2a,_0x1d5bef,_0x684e3d),{columnHeaderHeightAndMarginTop:_0x116240}=_0x684e3d,{startX:_0x3df4c0,startY:_0x45d3f2}=_0x52c7f2,{endX:_0x453f04,endY:_0x4cb7b6}=_0x72acba,_0x299809=_0x453f04-_0x3df4c0,_0x5a7d82=_0x4cb7b6-_0x45d3f2,_0x1577f4={'labelPosition':_0x45d3f2-_0x116240>=_0x2d8fb8?_0xe94795(0x3ea):_0xe94795(0x1e3),'sheetID':_0x12e2bf,'range':_0x25981e,'color':_0x37f57f,'name':_0x5bc598,'selection':_0x40b755,'left':_0x3df4c0,'top':_0x45d3f2,'width':_0x299809,'height':_0x5a7d82,'evented':!0x1,'zIndex':_0x354c78};return new _0xc79a86(_0x5bc598,_0x1577f4);});_0x1d5bef[_0x204fa0(0x227)](_0x3914ae,_0x8ae3bd),this[_0x204fa0(0x489)]=new Set(_0x3914ae);}[_0x513e05(0x2b0)](){const _0x1f1caf=_0x513e05;var _0x211c5a;(_0x211c5a=this[_0x1f1caf(0x489)])==null||_0x211c5a[_0x1f1caf(0x2a8)](_0x436720=>_0x436720[_0x1f1caf(0x472)]());}['_getSheetObject'](){const _0x43c1e3=_0x513e05;return _0x3e18f2[_0x43c1e3(0x439)](this[_0x43c1e3(0x2f4)][_0x43c1e3(0x438)],this['_context']);}};_0x4fc936=_0x21ad4b([_0x22e80f(0x1,_0x3772e7[_0x513e05(0x30b)](_0x3e18f2['SheetSkeletonManagerService'])),_0x22e80f(0x2,_0x3772e7[_0x513e05(0x30b)](_0x2234d1)),_0x22e80f(0x3,_0x3772e7[_0x513e05(0x30b)](_0x3772e7[_0x513e05(0x2e6)]))],_0x4fc936);function _0x56585e(_0x5de952){const _0x144b04=_0x513e05,_0x1de40c=new Map();return _0x5de952[_0x144b04(0x2a8)](_0x27ee28=>{const _0x197385=_0x144b04;if(_0x1de40c[_0x197385(0x28b)](_0x27ee28['selection'])){const _0x136060=_0x1de40c[_0x197385(0x309)](_0x27ee28[_0x197385(0x3d6)]);_0x136060[_0x197385(0x248)]+=',\x20'+_0x27ee28[_0x197385(0x248)];}else _0x1de40c[_0x197385(0x40c)](_0x27ee28[_0x197385(0x3d6)],_0x27ee28);}),Array[_0x144b04(0x2a2)](_0x1de40c[_0x144b04(0x39d)]());}var _0x1fc807=Object[_0x513e05(0x33c)],_0xeecbf1=(_0x78943f,_0x39e1df,_0x2bff15,_0x5ea7a7)=>{for(var _0x19dec1=_0x5ea7a7>0x1?void 0x0:_0x5ea7a7?_0x1fc807(_0x39e1df,_0x2bff15):_0x39e1df,_0x1667c4=_0x78943f['length']-0x1,_0x347ad5;_0x1667c4>=0x0;_0x1667c4--)(_0x347ad5=_0x78943f[_0x1667c4])&&(_0x19dec1=_0x347ad5(_0x19dec1)||_0x19dec1);return _0x19dec1;},_0x15f4ee=(_0x2e8f24,_0x5a61c4)=>(_0x11235b,_0x2ffb4e)=>_0x5a61c4(_0x11235b,_0x2ffb4e,_0x2e8f24);let _0x23daa2=class extends _0x3772e7['Disposable']{constructor(_0x1190a0,_0x37c60b,_0x39e3e9,_0x137925,_0x36bd2a,_0x25930d){const _0x2c0081=_0x513e05;super(),this[_0x2c0081(0x28f)]=_0x1190a0,this[_0x2c0081(0x224)]=_0x37c60b,this[_0x2c0081(0x225)]=_0x39e3e9,this[_0x2c0081(0x1f1)]=_0x137925,this[_0x2c0081(0x36c)]=_0x36bd2a,this[_0x2c0081(0x45e)]=_0x25930d,this[_0x2c0081(0x278)](),this[_0x2c0081(0x3bf)]();}[_0x513e05(0x278)](){const _0x5bcbd4=_0x513e05;this[_0x5bcbd4(0x317)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x18bb8a=_0x5bcbd4;if(this[_0x18bb8a(0x224)]['saveTaskMap'][_0x18bb8a(0x396)])return this[_0x18bb8a(0x45e)]['t'](_0x18bb8a(0x229));}));}[_0x513e05(0x3bf)](){const _0x3907d8=_0x513e05;this[_0x3907d8(0x317)](this['_collaborationUIEventService'][_0x3907d8(0x1f0)]['subscribe'](_0x293ccd=>{const _0xc22a3c=_0x3907d8;_0x293ccd['id']===_0x19f8d7['CollaborationUIEventId']['OTHER_CLIENT_EDITING']&&this[_0xc22a3c(0x1f1)]['show']({'type':_0x4d7604['MessageType'][_0xc22a3c(0x495)],'content':this[_0xc22a3c(0x45e)]['t'](_0xc22a3c(0x3f3))}),_0x293ccd['id']===_0x19f8d7['CollaborationUIEventId'][_0xc22a3c(0x391)]&&this[_0xc22a3c(0x1f1)][_0xc22a3c(0x345)]({'type':_0x4d7604[_0xc22a3c(0x46a)][_0xc22a3c(0x495)],'content':this[_0xc22a3c(0x45e)]['t']('collaboration.closeRoom')}),_0x293ccd['id']===_0x19f8d7[_0xc22a3c(0x2b7)][_0xc22a3c(0x230)]&&this[_0xc22a3c(0x36c)]['show']({'title':this[_0xc22a3c(0x45e)]['t'](_0xc22a3c(0x1bc)),'content':this[_0xc22a3c(0x45e)]['t']('permission.content'),'type':_0xc22a3c(0x27b),'duration':0x0}),_0x293ccd['id']===_0x19f8d7[_0xc22a3c(0x2b7)][_0xc22a3c(0x2c2)]&&this['_messageService']['show']({'type':_0x4d7604[_0xc22a3c(0x46a)][_0xc22a3c(0x341)],'content':this[_0xc22a3c(0x45e)]['t']('collaboration.closeRoom')+'('+_0x293ccd['data']+')'}),_0x293ccd['id']===_0x19f8d7[_0xc22a3c(0x2b7)][_0xc22a3c(0x41f)]&&this['_messageService'][_0xc22a3c(0x345)]({'type':_0x4d7604[_0xc22a3c(0x46a)][_0xc22a3c(0x495)],'content':this[_0xc22a3c(0x45e)]['t'](_0x293ccd[_0xc22a3c(0x300)]||'')}),_0x293ccd['id']===_0x19f8d7['CollaborationUIEventId'][_0xc22a3c(0x306)]&&this[_0xc22a3c(0x1f1)][_0xc22a3c(0x345)]({'type':_0x4d7604[_0xc22a3c(0x46a)][_0xc22a3c(0x495)],'content':this['_localeService']['t'](_0xc22a3c(0x477))}),_0x293ccd['id']===_0x19f8d7['CollaborationUIEventId']['SOCKET_FAILED']&&this[_0xc22a3c(0x1f1)]['show']({'type':_0x4d7604[_0xc22a3c(0x46a)][_0xc22a3c(0x341)],'content':this[_0xc22a3c(0x45e)]['t']('session.connection-failed')}),_0x293ccd['id']===_0x19f8d7['CollaborationUIEventId']['SUBMIT_CHANGESET_TIMEOUT']&&this[_0xc22a3c(0x1f1)]['show']({'type':_0x4d7604[_0xc22a3c(0x46a)][_0xc22a3c(0x341)],'content':this[_0xc22a3c(0x45e)]['t']('session.collaboration-timeout')});}));}};_0x23daa2=_0xeecbf1([_0x15f4ee(0x0,_0x2e0e04['IBeforeCloseService']),_0x15f4ee(0x1,_0x19f8d7[_0x513e05(0x36d)]),_0x15f4ee(0x2,_0x3772e7[_0x513e05(0x30b)](_0x19f8d7[_0x513e05(0x24b)])),_0x15f4ee(0x3,_0x2e0e04[_0x513e05(0x320)]),_0x15f4ee(0x4,_0x2e0e04[_0x513e05(0x2a6)]),_0x15f4ee(0x5,_0x3772e7[_0x513e05(0x30b)](_0x3772e7['LocaleService']))],_0x23daa2);var _0x41ee97=Object[_0x513e05(0x33c)],_0x42024e=(_0x37b62e,_0x488ab9,_0x3d8854,_0x496979)=>{const _0xfedb5c=_0x513e05;for(var _0x57ecf4=_0x496979>0x1?void 0x0:_0x496979?_0x41ee97(_0x488ab9,_0x3d8854):_0x488ab9,_0x33b252=_0x37b62e[_0xfedb5c(0x3ec)]-0x1,_0x2bec64;_0x33b252>=0x0;_0x33b252--)(_0x2bec64=_0x37b62e[_0x33b252])&&(_0x57ecf4=_0x2bec64(_0x57ecf4)||_0x57ecf4);return _0x57ecf4;},_0x207359=(_0x30a909,_0x9a48d7)=>(_0x5772db,_0x512a77)=>_0x9a48d7(_0x5772db,_0x512a77,_0x30a909);let _0x19eb72=class extends _0x3772e7[_0x513e05(0x432)]{constructor(_0x52e992,_0x1e788b,_0x360329,_0x22d765){const _0x14494c=_0x513e05;super(),_0xfd5d9c(this,'_memberID'),(this[_0x14494c(0x499)]=_0x52e992,this[_0x14494c(0x2cc)]=_0x1e788b,this['_logService']=_0x360329,this[_0x14494c(0x1fa)]=_0x22d765,this[_0x14494c(0x219)]());}[_0x513e05(0x219)](){const _0x368c0c=_0x513e05;this[_0x368c0c(0x210)](),this[_0x368c0c(0x392)](),this[_0x368c0c(0x446)](),this[_0x368c0c(0x233)]();}[_0x513e05(0x233)](){const _0x15130c=_0x513e05;this[_0x15130c(0x317)](this[_0x15130c(0x1fa)][_0x15130c(0x351)][_0x15130c(0x3ee)](_0x3fbdc5=>{const _0x33def3=_0x15130c;this['_memberID']=_0x3fbdc5==null?void 0x0:_0x3fbdc5[_0x33def3(0x47a)];}));}['_initWindowErrorListener'](){const _0x569f9c=_0x513e05,_0x308455=_0x38e438=>{const _0x4ac515=_0x3621;var _0x2a5251;this[_0x4ac515(0x26c)]('error',_0x4ac515(0x1e2)+_0x38e438[_0x4ac515(0x2a1)]+_0x4ac515(0x462)+_0x38e438[_0x4ac515(0x20f)]+':'+_0x38e438['lineno']+':'+_0x38e438['colno']+'\x0a'+(((_0x2a5251=_0x38e438['error'])==null?void 0x0:_0x2a5251[_0x4ac515(0x2d0)])||''));};window[_0x569f9c(0x459)](_0x569f9c(0x27b),_0x308455),this[_0x569f9c(0x317)](()=>{const _0x37a7cf=_0x569f9c;window[_0x37a7cf(0x44a)](_0x37a7cf(0x27b),_0x308455);});}[_0x513e05(0x392)](){const _0xf9499f=_0x513e05,_0x46caec=_0x43aeca=>{const _0x511d62=_0x3621;this[_0x511d62(0x26c)]('error',_0x511d62(0x39f)+_0x43aeca[_0x511d62(0x332)]);};window[_0xf9499f(0x459)](_0xf9499f(0x2f5),_0x46caec),this[_0xf9499f(0x317)](()=>{const _0x23fefe=_0xf9499f;window[_0x23fefe(0x44a)](_0x23fefe(0x2f5),_0x46caec);});}[_0x513e05(0x446)](){const _0x2da058=_0x513e05,_0x20f4c5=this['_logService'][_0x2da058(0x27b)][_0x2da058(0x49a)](this['_logService']);this['_logService'][_0x2da058(0x27b)]=(..._0x224570)=>{const _0x46e62e=_0x2da058,_0x18ba83=_0x224570[_0x46e62e(0x407)](_0x23b76f=>_0x23b76f instanceof Error?_0x23b76f[_0x46e62e(0x2a1)]+'\x0a'+_0x23b76f[_0x46e62e(0x2d0)]:String(_0x23b76f))[_0x46e62e(0x35b)]('\x20');this[_0x46e62e(0x26c)](_0x46e62e(0x27b),_0x46e62e(0x3c6)+_0x18ba83),_0x20f4c5(..._0x224570);},this[_0x2da058(0x317)](()=>{const _0x44f090=_0x2da058;this[_0x44f090(0x263)][_0x44f090(0x27b)]=_0x20f4c5;});}['_uploadLog'](_0x573d74,_0x290014){const _0x3b448b=_0x513e05;try{const _0x50c658={'userId':this[_0x3b448b(0x290)],'logLabel':_0x573d74,'content':_0x290014};this['_httpService'][_0x3b448b(0x1db)](_0x3b448b(0x38b),{'body':_0x50c658})[_0x3b448b(0x1c3)](()=>{});}catch{}}};_0x19eb72=_0x42024e([_0x207359(0x0,_0x3772e7[_0x513e05(0x30b)](_0x3772e7[_0x513e05(0x37e)])),_0x207359(0x1,_0x3772e7[_0x513e05(0x30b)](_0xe6cf6e[_0x513e05(0x1cc)])),_0x207359(0x2,_0x3772e7[_0x513e05(0x23d)]),_0x207359(0x3,_0x3772e7['Inject'](_0x19f8d7[_0x513e05(0x293)]))],_0x19eb72);const _0x2157a3=_0x513e05(0x3f0),_0x52c7c0={};var _0xf0dfb2=Object[_0x513e05(0x33c)],_0x33eddd=(_0x104115,_0xa508f9,_0x184bcd,_0x4cff1f)=>{const _0x4c6897=_0x513e05;for(var _0x10a093=_0x4cff1f>0x1?void 0x0:_0x4cff1f?_0xf0dfb2(_0xa508f9,_0x184bcd):_0xa508f9,_0x429611=_0x104115[_0x4c6897(0x3ec)]-0x1,_0x1fd8c9;_0x429611>=0x0;_0x429611--)(_0x1fd8c9=_0x104115[_0x429611])&&(_0x10a093=_0x1fd8c9(_0x10a093)||_0x10a093);return _0x10a093;},_0x23af59=(_0x2b0a14,_0x5f58e7)=>(_0x3a15df,_0x9d97cb)=>_0x5f58e7(_0x3a15df,_0x9d97cb,_0x2b0a14);let _0x32f42e=class{constructor(_0x2c17ab,_0x1d2a8d){const _0x1cc9a0=_0x513e05;this[_0x1cc9a0(0x2c7)]=_0x2c17ab,this['_renderManagerService']=_0x1d2a8d;}['transformIMECache'](_0xa4c095){const _0x4b1a16=_0x513e05;this[_0x4b1a16(0x31f)](_0xa4c095),this['_transformPreviousActiveRange'](_0xa4c095);}['transformRemoteChangeset'](_0x26bec9){const _0x42db4c=_0x513e05,{unitID:_0x4841e5}=_0x26bec9,_0x53b5d7=this[_0x42db4c(0x26d)][_0x42db4c(0x403)](_0x4841e5)[_0x42db4c(0x471)](_0x7ab617[_0x42db4c(0x1dc)]),{redoCache:_0x5ef349}=_0x53b5d7['getUndoRedoMutationParamsCache']();if(_0x5ef349[_0x42db4c(0x3ec)]===0x0)return _0x26bec9;let _0x38f1e1=_0x3772e7[_0x42db4c(0x40f)]['deepClone'](_0x26bec9[_0x42db4c(0x2b1)][0x0]);for(let _0x10804b=0x0;_0x10804b<_0x5ef349[_0x42db4c(0x3ec)];_0x10804b++){const _0x46d4d7={'id':'doc.mutation.rich-text-editing','params':{..._0x5ef349[_0x10804b]}},_0x1b86e5=this['_transformService'][_0x42db4c(0x414)](_0x38f1e1,_0x46d4d7,!0x1);if(_0x116492['isTransformMutationFailure'](_0x1b86e5))throw _0x1b86e5[_0x42db4c(0x27b)];_0x38f1e1=_0x1b86e5['m1Prime'];}return{..._0x3772e7[_0x42db4c(0x40f)][_0x42db4c(0x1bf)](_0x26bec9),'mutations':[_0x38f1e1]};}[_0x513e05(0x31f)](_0x4f76c0){const _0x133ee8=_0x513e05,{unitID:_0x3f5376}=_0x4f76c0,_0x51eff9=this[_0x133ee8(0x26d)]['getRenderById'](_0x3f5376)[_0x133ee8(0x471)](_0x7ab617['DocIMEInputManagerService']),{undoCache:_0x5ee065,redoCache:_0x50a9f5}=_0x51eff9['getUndoRedoMutationParamsCache']();if(_0x5ee065[_0x133ee8(0x3ec)]===0x0||_0x50a9f5[_0x133ee8(0x3ec)]===0x0)return;const _0x3560ce=[],_0x12c045=[];let _0x3cd3f8=_0x3772e7['Tools']['deepClone'](_0x4f76c0[_0x133ee8(0x2b1)][0x0]),_0x390471=_0x3772e7[_0x133ee8(0x40f)]['deepClone'](_0x4f76c0[_0x133ee8(0x2b1)][0x0]);for(let _0x216eb0=_0x5ee065[_0x133ee8(0x3ec)]-0x1;_0x216eb0>=0x0;_0x216eb0--){const _0x439b74={'id':'doc.mutation.rich-text-editing','params':{..._0x5ee065[_0x216eb0]}},_0x5df481={'id':_0x133ee8(0x1f9),'params':{..._0x50a9f5[_0x216eb0]}},_0x31e8bc=this[_0x133ee8(0x2c7)][_0x133ee8(0x414)](_0x3cd3f8,_0x439b74,!0x1),_0x36a01a=this[_0x133ee8(0x2c7)][_0x133ee8(0x414)](_0x390471,_0x5df481,!0x1);if(_0x116492['isTransformMutationFailure'](_0x31e8bc))throw _0x31e8bc[_0x133ee8(0x27b)];if(_0x116492[_0x133ee8(0x2f1)](_0x36a01a))throw _0x36a01a['error'];_0x3560ce[_0x133ee8(0x1ff)](_0x31e8bc[_0x133ee8(0x406)]['params']),_0x12c045['unshift'](_0x36a01a['m2Prime'][_0x133ee8(0x41c)]),_0x3cd3f8=_0x31e8bc[_0x133ee8(0x251)],_0x390471=_0x36a01a['m1Prime'];}_0x51eff9['setUndoRedoMutationParamsCache']({'undoCache':_0x3560ce,'redoCache':_0x12c045});}[_0x513e05(0x29d)](_0x2242fa){const _0x4d53ef=_0x513e05,{unitID:_0x248847}=_0x2242fa,_0x1f6ee3=this[_0x4d53ef(0x26d)][_0x4d53ef(0x403)](_0x248847)['with'](_0x7ab617[_0x4d53ef(0x1dc)]),_0x2a55de=_0x1f6ee3[_0x4d53ef(0x2ad)]();if(_0x2a55de==null)return;const _0x2adf75=[{'id':_0x4d53ef(0x1f9),'params':{'unitId':_0x2242fa[_0x4d53ef(0x2bb)],'actions':null,'textRanges':[_0x2a55de]}}],_0x209e7c=this['_transformService'][_0x4d53ef(0x2cf)](_0x2242fa,_0x2adf75);if(!_0x116492[_0x4d53ef(0x361)](_0x209e7c))throw _0x209e7c[_0x4d53ef(0x27b)];const _0xdb0ee9=_0x209e7c[_0x4d53ef(0x406)][0x0][_0x4d53ef(0x41c)]['textRanges'];Array[_0x4d53ef(0x38f)](_0xdb0ee9)&&_0xdb0ee9[_0x4d53ef(0x3ec)]&&_0x1f6ee3['setActiveRange'](_0xdb0ee9[0x0]);}};_0x32f42e=_0x33eddd([_0x23af59(0x0,_0x116492[_0x513e05(0x474)]),_0x23af59(0x1,_0x29b571[_0x513e05(0x494)])],_0x32f42e);var _0x3b59f6=Object[_0x513e05(0x33c)],_0x12dab7=(_0x313a01,_0x5ef9c0,_0x3c7bb4,_0x5bf269)=>{const _0x108720=_0x513e05;for(var _0x3fdc0c=_0x5bf269>0x1?void 0x0:_0x5bf269?_0x3b59f6(_0x5ef9c0,_0x3c7bb4):_0x5ef9c0,_0x1d6429=_0x313a01[_0x108720(0x3ec)]-0x1,_0x469c82;_0x1d6429>=0x0;_0x1d6429--)(_0x469c82=_0x313a01[_0x1d6429])&&(_0x3fdc0c=_0x469c82(_0x3fdc0c)||_0x3fdc0c);return _0x3fdc0c;},_0xd8c785=(_0x45d74c,_0x1207dd)=>(_0x59535c,_0x517d09)=>_0x1207dd(_0x59535c,_0x517d09,_0x45d74c);let _0x52ca15=class{constructor(_0x4e4225,_0x44835c,_0xf60d91){const _0x1c0d15=_0x513e05;this['_injector']=_0x4e4225,this[_0x1c0d15(0x2c7)]=_0x44835c,this[_0x1c0d15(0x42e)]=_0xf60d91;}[_0x513e05(0x205)](_0x26596f){const _0x4dd691=_0x513e05;this[_0x4dd691(0x48f)](_0x26596f);}[_0x513e05(0x2d7)](_0x2ef70a){const _0x3cd1ca=_0x513e05,{unitID:_0x2f9de0}=_0x2ef70a,{collaboration:_0x2162fb}=this[_0x3cd1ca(0x42e)][_0x3cd1ca(0x48a)](_0x2f9de0);if(_0x2162fb[_0x3cd1ca(0x3ec)]===0x0)return _0x2ef70a;let _0x48d3a5=_0x3772e7[_0x3cd1ca(0x40f)][_0x3cd1ca(0x1bf)](_0x2ef70a[_0x3cd1ca(0x2b1)][0x0]);for(let _0x508086=0x0;_0x508086<_0x2162fb[_0x3cd1ca(0x3ec)];_0x508086++){const _0x4b8f86={'id':_0x3cd1ca(0x1f9),'params':{'unitId':_0x2162fb[_0x508086][_0x3cd1ca(0x2fa)],..._0x2162fb[_0x508086][_0x3cd1ca(0x1e8)]}},_0x474ded=this[_0x3cd1ca(0x2c7)]['transformMutation'](_0x48d3a5,_0x4b8f86,!0x1);if(_0x116492['isTransformMutationFailure'](_0x474ded))throw _0x474ded[_0x3cd1ca(0x27b)];_0x48d3a5=_0x474ded[_0x3cd1ca(0x251)];}return{..._0x3772e7[_0x3cd1ca(0x40f)][_0x3cd1ca(0x1bf)](_0x2ef70a),'mutations':[_0x48d3a5]};}[_0x513e05(0x48f)](_0x328bae){const _0x1bd963=_0x513e05,{unitID:_0x160443}=_0x328bae,{history:_0x5732ea,collaboration:_0x2f6339}=this[_0x1bd963(0x42e)][_0x1bd963(0x48a)](_0x160443);if(_0x5732ea[_0x1bd963(0x3ec)]===0x0&&_0x2f6339[_0x1bd963(0x3ec)]===0x0)return;const _0xbb91a7=[],_0x5f37f0=[];let _0x239a6c=_0x3772e7[_0x1bd963(0x40f)]['deepClone'](_0x328bae['mutations'][0x0]),_0x4937ff=_0x3772e7[_0x1bd963(0x40f)][_0x1bd963(0x1bf)](_0x328bae[_0x1bd963(0x2b1)][0x0]);for(let _0x5a5c57=_0x5732ea['length']-0x1;_0x5a5c57>=0x0;_0x5a5c57--){const _0x248973={'id':_0x1bd963(0x1f9),'params':{'unitId':_0x5732ea[_0x5a5c57][_0x1bd963(0x2fa)],..._0x5732ea[_0x5a5c57][_0x1bd963(0x348)]}},_0x2705ae={'id':_0x1bd963(0x1f9),'params':{'unitId':_0x5732ea[_0x5a5c57][_0x1bd963(0x2fa)],..._0x5732ea[_0x5a5c57][_0x1bd963(0x1e8)]}},_0x1b6650=this['_transformService']['transformMutation'](_0x239a6c,_0x248973,!0x1),_0x2cf554=this[_0x1bd963(0x2c7)]['transformMutation'](_0x4937ff,_0x2705ae,!0x1);if(_0x116492[_0x1bd963(0x2f1)](_0x1b6650))throw _0x1b6650[_0x1bd963(0x27b)];if(_0x116492[_0x1bd963(0x2f1)](_0x2cf554))throw _0x2cf554[_0x1bd963(0x27b)];_0xbb91a7['unshift']({..._0x5732ea[_0x5a5c57],'undoState':_0x1b6650[_0x1bd963(0x406)][_0x1bd963(0x41c)],'redoState':_0x2cf554[_0x1bd963(0x406)][_0x1bd963(0x41c)]}),_0x239a6c=_0x1b6650[_0x1bd963(0x251)],_0x4937ff=_0x2cf554[_0x1bd963(0x251)];}_0x239a6c=_0x3772e7[_0x1bd963(0x40f)][_0x1bd963(0x1bf)](_0x328bae['mutations'][0x0]),_0x4937ff=_0x3772e7['Tools'][_0x1bd963(0x1bf)](_0x328bae[_0x1bd963(0x2b1)][0x0]);for(let _0x30bc1a=_0x2f6339[_0x1bd963(0x3ec)]-0x1;_0x30bc1a>=0x0;_0x30bc1a--){const _0x5f292e={'id':_0x1bd963(0x1f9),'params':{'unitId':_0x2f6339[_0x30bc1a][_0x1bd963(0x2fa)],..._0x2f6339[_0x30bc1a]['undoState']}},_0x4c1e8f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2f6339[_0x30bc1a]['unitId'],..._0x2f6339[_0x30bc1a][_0x1bd963(0x1e8)]}},_0x45beb4=this[_0x1bd963(0x2c7)][_0x1bd963(0x414)](_0x239a6c,_0x5f292e,!0x1),_0x141402=this[_0x1bd963(0x2c7)][_0x1bd963(0x414)](_0x4937ff,_0x4c1e8f,!0x1);if(_0x116492[_0x1bd963(0x2f1)](_0x45beb4))throw _0x45beb4['error'];if(_0x116492[_0x1bd963(0x2f1)](_0x141402))throw _0x141402['error'];_0x5f37f0['unshift']({..._0x2f6339[_0x30bc1a],'undoState':_0x45beb4['m2Prime']['params'],'redoState':_0x141402[_0x1bd963(0x406)]['params']}),_0x239a6c=_0x45beb4[_0x1bd963(0x251)],_0x4937ff=_0x141402[_0x1bd963(0x251)];}this[_0x1bd963(0x42e)][_0x1bd963(0x45a)](_0x160443,{'history':_0xbb91a7,'collaboration':_0x5f37f0});}};_0x52ca15=_0x12dab7([_0xd8c785(0x0,_0x3772e7[_0x513e05(0x30b)](_0x3772e7[_0x513e05(0x37e)])),_0xd8c785(0x1,_0x116492[_0x513e05(0x474)]),_0xd8c785(0x2,_0x3772e7['Inject'](_0x7ab617[_0x513e05(0x377)]))],_0x52ca15);var _0x1d2f37=Object[_0x513e05(0x33c)],_0x41b06b=(_0x3b3d9c,_0x59b8ec,_0xc8973b,_0x13f08e)=>{for(var _0x41f22f=_0x13f08e>0x1?void 0x0:_0x13f08e?_0x1d2f37(_0x59b8ec,_0xc8973b):_0x59b8ec,_0x4d993d=_0x3b3d9c['length']-0x1,_0x4cda86;_0x4d993d>=0x0;_0x4d993d--)(_0x4cda86=_0x3b3d9c[_0x4d993d])&&(_0x41f22f=_0x4cda86(_0x41f22f)||_0x41f22f);return _0x41f22f;},_0x91bd8d=(_0x55f2d8,_0x33b374)=>(_0x31a658,_0x155689)=>_0x33b374(_0x31a658,_0x155689,_0x55f2d8);let _0x348751=class{constructor(_0xb5396,_0x209445){const _0x2313e1=_0x513e05;this[_0x2313e1(0x499)]=_0xb5396,this[_0x2313e1(0x2c7)]=_0x209445;}['transformSelections'](_0x4afaeb){const _0x19872f=_0x513e05;var _0x18b48a;const _0x441051=this[_0x19872f(0x499)]['get'](_0x37acc3[_0x19872f(0x381)]),_0x50b347=(_0x18b48a=_0x441051['getDocRanges']())!=null?_0x18b48a:[];if(_0x50b347['length']===0x0)return;const _0xb419a7=_0x4afaeb[_0x19872f(0x2bb)],_0x2b80c6=[{'id':_0x19872f(0x1f9),'params':{'unitId':_0xb419a7,'actions':null,'textRanges':_0x50b347}}],_0x4f6127=this['_transformService'][_0x19872f(0x2cf)](_0x4afaeb,_0x2b80c6);if(!_0x116492['isTransformMutationsWithChangesetSuccess'](_0x4f6127))throw _0x4f6127[_0x19872f(0x27b)];const _0x1f1e71=_0x4f6127['m2Prime'][0x0][_0x19872f(0x41c)][_0x19872f(0x235)];Array[_0x19872f(0x38f)](_0x1f1e71)&&_0x1f1e71[_0x19872f(0x3ec)]&&_0x441051[_0x19872f(0x3ae)](_0x1f1e71,{'unitId':_0xb419a7,'subUnitId':_0xb419a7},!0x1);}};_0x348751=_0x41b06b([_0x91bd8d(0x0,_0x3772e7['Inject'](_0x3772e7[_0x513e05(0x37e)])),_0x91bd8d(0x1,_0x116492[_0x513e05(0x474)])],_0x348751);var _0x2cf5f3=Object[_0x513e05(0x33c)],_0x202b36=(_0x1b8a13,_0xc88c3f,_0x423485,_0xd4323d)=>{const _0x57551d=_0x513e05;for(var _0x5b47a8=_0xd4323d>0x1?void 0x0:_0xd4323d?_0x2cf5f3(_0xc88c3f,_0x423485):_0xc88c3f,_0x33157a=_0x1b8a13[_0x57551d(0x3ec)]-0x1,_0x4cc91f;_0x33157a>=0x0;_0x33157a--)(_0x4cc91f=_0x1b8a13[_0x33157a])&&(_0x5b47a8=_0x4cc91f(_0x5b47a8)||_0x5b47a8);return _0x5b47a8;},_0x2d0061=(_0x19bf0a,_0x457f1a)=>(_0x5a6727,_0xf2e10c)=>_0x457f1a(_0x5a6727,_0xf2e10c,_0x19bf0a);let _0x27ca3d=class extends _0x3772e7[_0x513e05(0x432)]{constructor(_0x56d518,_0x1260d4,_0x2513a6,_0x37e09c,_0x46ef61,_0x1e1f54,_0x43dc7d,_0x5465fa){const _0x498ab7=_0x513e05;super(),_0xfd5d9c(this,'_status$',new _0x104804[(_0x498ab7(0x493))](_0x19f8d7[_0x498ab7(0x2c1)][_0x498ab7(0x1d1)])),(this['_docStateChangeManagerService']=_0x56d518,this[_0x498ab7(0x47c)]=_0x1260d4,this[_0x498ab7(0x3ad)]=_0x2513a6,this['_docTransformStateCacheService']=_0x37e09c,this['_docTransformSelectionsService']=_0x46ef61,this[_0x498ab7(0x2ec)]=_0x1e1f54,this[_0x498ab7(0x1f1)]=_0x43dc7d,this[_0x498ab7(0x45e)]=_0x5465fa,this[_0x498ab7(0x21b)]());}['_initEntityListener'](){const _0x4826c1=_0x513e05;this[_0x4826c1(0x317)](this[_0x4826c1(0x47c)][_0x4826c1(0x3d3)][_0x4826c1(0x3ee)](_0x2f5c1e=>{const _0xf64037=_0x4826c1,_0xccc75c=this['_docStateChangeManagerService'][_0xf64037(0x418)]['subscribe'](_0x3de056=>{const _0x12c4d0=_0xf64037;if(_0x3de056==null)return;const {unitId:_0x3463e8,redoState:_0x4539ba,commandId:_0x115a23}=_0x3de056;if(_0x3463e8!==_0x2f5c1e[_0x12c4d0(0x2bb)])return;const _0xf74158={'id':_0x115a23,'type':_0x3772e7['CommandType']['MUTATION'],'params':{'unitId':_0x3463e8,'actions':_0x4539ba[_0x12c4d0(0x395)],'textRanges':null}};_0x2f5c1e[_0x12c4d0(0x3b5)](_0xf74158);});if(_0x2f5c1e[_0xf64037(0x317)](_0xccc75c),_0x2f5c1e instanceof _0x19f8d7[_0xf64037(0x478)]){const _0x3ac909={'onTransformIME':_0x1285f6=>this[_0xf64037(0x3ad)][_0xf64037(0x335)](_0x1285f6),'onTransformState':_0x1832bb=>this[_0xf64037(0x2e4)][_0xf64037(0x205)](_0x1832bb),'onTransformSelections':_0x564257=>this['_docTransformSelectionsService'][_0xf64037(0x44e)](_0x564257),'onSyncEditingCollabCursor':_0x15f7cc=>this[_0xf64037(0x2ec)]['syncEditingCollabCursor'](_0x15f7cc),'onTransformRemoteChangesetByIMECache':_0x1ec292=>this[_0xf64037(0x3ad)]['transformRemoteChangeset'](_0x1ec292),'onTransformRemoteChangesetByStateCache':_0x4d16df=>this[_0xf64037(0x2e4)][_0xf64037(0x2d7)](_0x4d16df)};_0x2f5c1e[_0xf64037(0x301)](_0x3ac909);}}));}};_0x27ca3d=_0x202b36([_0x2d0061(0x0,_0x3772e7[_0x513e05(0x30b)](_0x7ab617[_0x513e05(0x377)])),_0x2d0061(0x1,_0x3772e7[_0x513e05(0x30b)](_0x19f8d7[_0x513e05(0x3c1)])),_0x2d0061(0x2,_0x3772e7[_0x513e05(0x30b)](_0x32f42e)),_0x2d0061(0x3,_0x3772e7['Inject'](_0x52ca15)),_0x2d0061(0x4,_0x3772e7[_0x513e05(0x30b)](_0x348751)),_0x2d0061(0x5,_0x3772e7['Inject'](_0x39a103)),_0x2d0061(0x6,_0x2e0e04[_0x513e05(0x320)]),_0x2d0061(0x7,_0x3772e7[_0x513e05(0x30b)](_0x3772e7['LocaleService']))],_0x27ca3d);var _0x47161c=(_0x3f19da=>(_0x3f19da[_0x3f19da[_0x513e05(0x3e3)]=0x0]=_0x513e05(0x3e3),_0x3f19da[_0x3f19da['OK']=0x1]='OK',_0x3f19da[_0x3f19da['INTERNAL_ERROR']=0x2]=_0x513e05(0x28a),_0x3f19da[_0x3f19da[_0x513e05(0x230)]=0x3]='PERMISSION_DENIED',_0x3f19da[_0x3f19da[_0x513e05(0x443)]=0x4]=_0x513e05(0x443),_0x3f19da[_0x3f19da['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x3f19da[_0x3f19da[_0x513e05(0x287)]=0x6]=_0x513e05(0x287),_0x3f19da[_0x3f19da[_0x513e05(0x3ed)]=0x7]='INVALID_ARGUMENT',_0x3f19da[_0x3f19da[_0x513e05(0x326)]=0x8]=_0x513e05(0x326),_0x3f19da[_0x3f19da['COMPLETION_FINISHED']=0x9]=_0x513e05(0x252),_0x3f19da[_0x3f19da[_0x513e05(0x3a2)]=0xa]=_0x513e05(0x3a2),_0x3f19da[_0x3f19da['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x513e05(0x452),_0x3f19da[_0x3f19da[_0x513e05(0x374)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x3f19da[_0x3f19da[_0x513e05(0x36e)]=0xd]=_0x513e05(0x36e),_0x3f19da[_0x3f19da[_0x513e05(0x267)]=0xe]=_0x513e05(0x267),_0x3f19da[_0x3f19da[_0x513e05(0x47e)]=0xf]=_0x513e05(0x47e),_0x3f19da[_0x3f19da[_0x513e05(0x364)]=0x10]=_0x513e05(0x364),_0x3f19da[_0x3f19da[_0x513e05(0x41e)]=0x64]=_0x513e05(0x41e),_0x3f19da[_0x3f19da[_0x513e05(0x342)]=0x65]=_0x513e05(0x342),_0x3f19da[_0x3f19da[_0x513e05(0x486)]=0xc9]=_0x513e05(0x486),_0x3f19da[_0x3f19da[_0x513e05(0x242)]=0xca]=_0x513e05(0x242),_0x3f19da[_0x3f19da['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x3f19da[_0x3f19da['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x513e05(0x449),_0x3f19da[_0x3f19da[_0x513e05(0x256)]=0x1772]=_0x513e05(0x256),_0x3f19da[_0x3f19da[_0x513e05(0x272)]=0x1773]=_0x513e05(0x272),_0x3f19da[_0x3f19da[_0x513e05(0x2df)]=0x1b59]=_0x513e05(0x2df),_0x3f19da[_0x3f19da[_0x513e05(0x279)]=0x1b5a]=_0x513e05(0x279),_0x3f19da[_0x3f19da[_0x513e05(0x376)]=0x1b5b]=_0x513e05(0x376),_0x3f19da[_0x3f19da[_0x513e05(0x21a)]=0x1b5c]=_0x513e05(0x21a),_0x3f19da[_0x3f19da[_0x513e05(0x485)]=0x1b5d]=_0x513e05(0x485),_0x3f19da[_0x3f19da[_0x513e05(0x27d)]=0x1f41]=_0x513e05(0x27d),_0x3f19da[_0x3f19da[_0x513e05(0x3ca)]=0x2329]=_0x513e05(0x3ca),_0x3f19da[_0x3f19da[_0x513e05(0x1ca)]=0x232a]=_0x513e05(0x1ca),_0x3f19da[_0x3f19da[_0x513e05(0x228)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x3f19da[_0x3f19da['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x3f19da[_0x3f19da['LICENSE_DISTRO_REJECTED']=0x232d]=_0x513e05(0x45c),_0x3f19da[_0x3f19da[_0x513e05(0x3fe)]=0x2711]=_0x513e05(0x3fe),_0x3f19da[_0x3f19da['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x513e05(0x303),_0x3f19da[_0x3f19da[_0x513e05(0x464)]=0x2713]=_0x513e05(0x464),_0x3f19da[_0x3f19da['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x513e05(0x39e),_0x3f19da[_0x3f19da[_0x513e05(0x369)]=0x271a]=_0x513e05(0x369),_0x3f19da[_0x3f19da['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x513e05(0x20a),_0x3f19da[_0x3f19da[_0x513e05(0x1cb)]=0x271c]=_0x513e05(0x1cb),_0x3f19da[_0x3f19da['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x513e05(0x38c),_0x3f19da[_0x3f19da[_0x513e05(0x1e0)]=0x271e]=_0x513e05(0x1e0),_0x3f19da[_0x3f19da['YUUMI_AI_RUN_FAILED']=0x271f]=_0x513e05(0x3dd),_0x3f19da[_0x3f19da['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x513e05(0x1ea),_0x3f19da[_0x3f19da[_0x513e05(0x2a5)]=0x2af9]=_0x513e05(0x2a5),_0x3f19da[_0x3f19da[_0x513e05(0x37b)]=0x2ee1]=_0x513e05(0x37b),_0x3f19da[_0x3f19da[_0x513e05(0x30e)]=0x2ee2]=_0x513e05(0x30e),_0x3f19da[_0x3f19da[_0x513e05(0x245)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x3f19da[_0x3f19da[_0x513e05(0x268)]=0x2ee4]=_0x513e05(0x268),_0x3f19da[_0x3f19da[_0x513e05(0x46c)]=0x2ee5]=_0x513e05(0x46c),_0x3f19da[_0x3f19da['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x513e05(0x435),_0x3f19da[_0x3f19da[_0x513e05(0x434)]=0x32ca]=_0x513e05(0x434),_0x3f19da[_0x3f19da['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x513e05(0x475),_0x3f19da[_0x3f19da[_0x513e05(0x25e)]=0x36b1]=_0x513e05(0x25e),_0x3f19da[_0x3f19da[_0x513e05(0x402)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x3f19da[_0x3f19da[_0x513e05(0x3aa)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x3f19da[_0x3f19da[_0x513e05(0x204)]=0x36b4]=_0x513e05(0x204),_0x3f19da[_0x3f19da[_0x513e05(0x409)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x3f19da[_0x3f19da[_0x513e05(0x1d7)]=0x3716]=_0x513e05(0x1d7),_0x3f19da[_0x3f19da['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x513e05(0x312),_0x3f19da[_0x3f19da[_0x513e05(0x3ac)]=0x37dd]=_0x513e05(0x3ac),_0x3f19da[_0x3f19da[_0x513e05(0x467)]=0x3a99]=_0x513e05(0x467),_0x3f19da[_0x3f19da['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x513e05(0x2c9),_0x3f19da[_0x3f19da[_0x513e05(0x448)]=0x3a9b]=_0x513e05(0x448),_0x3f19da[_0x3f19da[_0x513e05(0x3c8)]=0x3a9c]=_0x513e05(0x3c8),_0x3f19da[_0x3f19da[_0x513e05(0x244)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x3f19da[_0x3f19da['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x513e05(0x36a),_0x3f19da[_0x3f19da[_0x513e05(0x281)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x3f19da[_0x3f19da['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x513e05(0x426),_0x3f19da[_0x3f19da['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x3f19da))(_0x47161c||{});function _0x45cbe8(_0x4dd6a2){const _0x1b7136=_0x513e05;var _0x163ca1,_0x5b2343;const _0xecfb2=(_0x163ca1=_0x4dd6a2[_0x1b7136(0x2a3)])==null?void 0x0:_0x163ca1['stage'],_0xbf135=((_0x5b2343=_0x4dd6a2['stageInfo'])==null?void 0x0:_0x5b2343[_0x1b7136(0x3ab)])||0x0;return _0xecfb2===_0x4915ec[_0x1b7136(0x2c3)][_0x1b7136(0x3b3)]&&_0xbf135>0x0;}function _0x3ae9d2(_0x1f87ea){const _0x424112=_0x513e05;return _0x1f87ea[_0x424112(0x209)]===_0x4915ec[_0x424112(0x2c6)]['SUCCESS'];}var _0x5c1bed=Object[_0x513e05(0x33c)],_0x547cfe=(_0x25d0f8,_0x1fc232,_0x105f9c,_0x113e59)=>{const _0x279a20=_0x513e05;for(var _0x469526=_0x113e59>0x1?void 0x0:_0x113e59?_0x5c1bed(_0x1fc232,_0x105f9c):_0x1fc232,_0x3ce19c=_0x25d0f8[_0x279a20(0x3ec)]-0x1,_0x1305f5;_0x3ce19c>=0x0;_0x3ce19c--)(_0x1305f5=_0x25d0f8[_0x3ce19c])&&(_0x469526=_0x1305f5(_0x469526)||_0x469526);return _0x469526;},_0x165919=(_0x3c3500,_0x228ee5)=>(_0x167188,_0x53390b)=>_0x228ee5(_0x167188,_0x53390b,_0x3c3500);const _0x43e127=_0x513e05(0x330),_0x72413=_0x513e05(0x3eb),_0x322cce=_0x513e05(0x2ab);let _0x498739=class extends _0x3772e7['Disposable']{constructor(_0x41929e,_0x1a0177,_0x25f9b0,_0x4299e4,_0x545d01,_0x2c9f30,_0xd8d871){const _0x5b4f69=_0x513e05;super(),_0xfd5d9c(this,_0x5b4f69(0x3be),null),_0xfd5d9c(this,'_maxFormulaLimit',0x0),_0xfd5d9c(this,_0x5b4f69(0x32c),0x0),_0xfd5d9c(this,_0x5b4f69(0x378),[]),_0xfd5d9c(this,'_lastResponseTimestamp',0x0),(this[_0x5b4f69(0x1f1)]=_0x41929e,this[_0x5b4f69(0x2fb)]=_0x1a0177,this[_0x5b4f69(0x441)]=_0x25f9b0,this[_0x5b4f69(0x2cc)]=_0x4299e4,this[_0x5b4f69(0x2b8)]=_0x545d01,this[_0x5b4f69(0x263)]=_0x2c9f30,this['_localeService']=_0xd8d871,this['_initCommandInterceptor']());}[_0x513e05(0x239)](){const _0x47a081=_0x513e05;this[_0x47a081(0x317)](this[_0x47a081(0x2fb)]['beforeCommandExecuted']((_0x3476bf,_0x46eb5c)=>{const _0x2aeaed=_0x47a081;var _0x31c888;if(_0x3476bf['id']!==_0x4915ec[_0x2aeaed(0x1df)]['id'])return;const _0x5c124b=_0x3476bf[_0x2aeaed(0x41c)];if(!this[_0x2aeaed(0x2f0)]((_0x31c888=_0x5c124b[_0x2aeaed(0x22c)])!=null?_0x31c888:[]))return;if(!this[_0x2aeaed(0x33d)]())throw this[_0x2aeaed(0x31d)](_0x3476bf,_0x46eb5c),this[_0x2aeaed(0x324)](),new _0x3772e7['CanceledError']();})),this[_0x47a081(0x317)](this['_commandService'][_0x47a081(0x27e)]((_0x2c2389,_0x472874)=>{const _0x120dad=_0x47a081;if(_0x2c2389['id']!==_0x4915ec['SetFormulaCalculationNotificationMutation']['id'])return;const _0x211926=_0x2c2389[_0x120dad(0x41c)];if(_0x45cbe8(_0x211926)){const _0xbc2639=_0x3772e7[_0x120dad(0x2ae)]();this[_0x120dad(0x378)]['push'](_0xbc2639),this[_0x120dad(0x2cd)](_0xbc2639);}else{if(_0x3ae9d2(_0x211926)&&this[_0x120dad(0x378)][_0x120dad(0x3ec)]>0x0){const _0x22daf7=this[_0x120dad(0x378)][_0x120dad(0x266)]();this[_0x120dad(0x21c)](_0x22daf7);}}}));}[_0x513e05(0x472)](){const _0x3492cf=_0x513e05;super[_0x3492cf(0x472)](),this[_0x3492cf(0x1ba)](),this[_0x3492cf(0x378)]=[],this[_0x3492cf(0x32c)]=0x0,this[_0x3492cf(0x2ff)]=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x513e05(0x31d)](_0x14d11b,_0x20494f){const _0x242538=_0x513e05;for(let _0x5b7684=0x0;_0x5b7684<0x1e;_0x5b7684++)try{if(await this[_0x242538(0x447)](),this['_checkCalculationAvailable']()){this[_0x242538(0x2a9)](_0x14d11b,_0x20494f),this[_0x242538(0x1f1)]['show']({'content':this[_0x242538(0x45e)]['t'](_0x242538(0x274)),'type':_0x4d7604[_0x242538(0x46a)][_0x242538(0x347)]});return;}await new Promise(_0x4a7905=>{const _0x59b818=_0x242538;this['_pollingInterval']=window[_0x59b818(0x42b)](_0x4a7905,0x3e8);});}catch(_0x3274ab){this['_logService']['error'](_0x3274ab);}this['_messageService'][_0x242538(0x345)]({'content':this[_0x242538(0x45e)]['t'](_0x242538(0x498)),'type':_0x4d7604[_0x242538(0x46a)][_0x242538(0x341)]});}[_0x513e05(0x2a9)](_0x39cbd5,_0x3bc3fe){const _0x23d2fa=_0x513e05;try{this[_0x23d2fa(0x2fb)][_0x23d2fa(0x38e)](_0x39cbd5['id'],_0x39cbd5[_0x23d2fa(0x41c)],_0x3bc3fe);}catch(_0x58561b){this['_logService'][_0x23d2fa(0x27b)](_0x58561b);}}[_0x513e05(0x2fe)](_0xbef603,_0x54a53a){const _0x32339b=_0x513e05;_0x54a53a<this[_0x32339b(0x238)]||(this[_0x32339b(0x238)]=_0x54a53a,this['_maxFormulaLimit']=Number[_0x32339b(0x419)](_0xbef603[_0x32339b(0x470)]),this['_currentUsage']=Number[_0x32339b(0x419)](_0xbef603['currentUsage']));}async[_0x513e05(0x2cd)](_0x388b54){const _0x2e6739=_0x513e05;var _0x4a16df,_0x4cf367;const _0x41f397=Date[_0x2e6739(0x2bc)]();try{const _0x577b36=((_0x4a16df=this[_0x2e6739(0x441)][_0x2e6739(0x2fc)](_0x19f8d7['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x4a16df['startFormulaLimitUrl'])||_0x72413,_0x16aabf=(await this['_httpService'][_0x2e6739(0x1db)](_0x577b36,{'body':JSON[_0x2e6739(0x1c4)]({'taskId':_0x388b54})}))['body'];if(((_0x4cf367=_0x16aabf[_0x2e6739(0x27b)])==null?void 0x0:_0x4cf367[_0x2e6739(0x420)])!==_0x47161c['OK'])return;this['_setFormulaLimitStatus'](_0x16aabf[_0x2e6739(0x340)],_0x41f397);}catch(_0x1a15a7){this[_0x2e6739(0x263)][_0x2e6739(0x27b)](_0x1a15a7);}}async['_getFormulaLimitStatus'](_0x560cab){const _0x3710f6=_0x513e05;var _0x4ace94,_0x4dda40;const _0x34cc12=Date['now']();try{const _0x5adcaa=((_0x4ace94=this[_0x3710f6(0x441)][_0x3710f6(0x2fc)](_0x19f8d7[_0x3710f6(0x2fd)]))==null?void 0x0:_0x4ace94[_0x3710f6(0x3bd)])||_0x43e127,_0x594435=_0x560cab?_0x5adcaa+_0x3710f6(0x257)+encodeURIComponent(_0x560cab):_0x5adcaa,_0x5b4f21=(await this['_httpService'][_0x3710f6(0x309)](_0x594435))[_0x3710f6(0x3c7)];if(((_0x4dda40=_0x5b4f21['error'])==null?void 0x0:_0x4dda40[_0x3710f6(0x420)])!==_0x47161c['OK'])return;this[_0x3710f6(0x2fe)](_0x5b4f21[_0x3710f6(0x340)],_0x34cc12);}catch(_0x14b066){this[_0x3710f6(0x263)][_0x3710f6(0x27b)](_0x14b066);}}async[_0x513e05(0x21c)](_0x12ab92){const _0xd9d9e2=_0x513e05;var _0x1c8da2,_0x1835ba;const _0x4fc9ea=Date[_0xd9d9e2(0x2bc)]();try{const _0x45dcef=((_0x1c8da2=this[_0xd9d9e2(0x441)][_0xd9d9e2(0x2fc)](_0x19f8d7[_0xd9d9e2(0x2fd)]))==null?void 0x0:_0x1c8da2[_0xd9d9e2(0x46e)])||_0x322cce,_0x4a0829=(await this[_0xd9d9e2(0x2cc)][_0xd9d9e2(0x1db)](_0x45dcef,{'body':JSON['stringify']({'taskId':_0x12ab92})}))[_0xd9d9e2(0x3c7)];if(((_0x1835ba=_0x4a0829[_0xd9d9e2(0x27b)])==null?void 0x0:_0x1835ba[_0xd9d9e2(0x420)])!==_0x47161c['OK'])return;this['_setFormulaLimitStatus'](_0x4a0829['limitInfo'],_0x4fc9ea);}catch(_0x2ad3cd){this['_logService'][_0xd9d9e2(0x27b)](_0x2ad3cd);}}[_0x513e05(0x33d)](){const _0x5c6ba6=_0x513e05;return this[_0x5c6ba6(0x2ff)]===0x0?!0x0:this[_0x5c6ba6(0x2ff)]-this[_0x5c6ba6(0x32c)]>0x0;}[_0x513e05(0x1ba)](){const _0x42430b=_0x513e05;this['_pollingInterval']&&(clearTimeout(this[_0x42430b(0x3be)]),this[_0x42430b(0x3be)]=null);}['_showGuardMessage'](){const _0xa0a995=_0x513e05;this[_0xa0a995(0x1f1)][_0xa0a995(0x345)]({'content':this['_localeService']['t']('formula.calculation.waiting'),'type':_0x4d7604[_0xa0a995(0x46a)]['Loading']});}['_hasFormulaInDirtyRanges'](_0x1e434a){const _0x393c8a=_0x513e05;for(const _0x2b40e of _0x1e434a){const {unitId:_0x562feb,sheetId:_0x5cf05e,range:_0x4d8e53}=_0x2b40e,_0x2432b9=this[_0x393c8a(0x2b8)][_0x393c8a(0x36b)](_0x562feb);if(!_0x2432b9)continue;const _0x155dc7=_0x2432b9[_0x393c8a(0x271)](_0x5cf05e);if(!_0x155dc7)continue;const _0xd6d498=_0x155dc7[_0x393c8a(0x246)]();for(let _0x59bf94=_0x4d8e53['startRow'];_0x59bf94<=_0x4d8e53['endRow'];_0x59bf94++)for(let _0x5cb158=_0x4d8e53[_0x393c8a(0x2d6)];_0x5cb158<=_0x4d8e53[_0x393c8a(0x43e)];_0x5cb158++){const _0x59f917=_0xd6d498[_0x393c8a(0x243)](_0x59bf94,_0x5cb158);if(_0x59f917&&(_0x3772e7[_0x393c8a(0x3fa)](_0x59f917['f'])||_0x3772e7['isFormulaId'](_0x59f917['si'])))return!0x0;}}return!0x1;}};_0x498739=_0x547cfe([_0x165919(0x0,_0x3772e7[_0x513e05(0x30b)](_0x2e0e04[_0x513e05(0x320)])),_0x165919(0x1,_0x3772e7[_0x513e05(0x37d)]),_0x165919(0x2,_0x3772e7[_0x513e05(0x3da)]),_0x165919(0x3,_0x3772e7['Inject'](_0xe6cf6e[_0x513e05(0x1cc)])),_0x165919(0x4,_0x3772e7['IUniverInstanceService']),_0x165919(0x5,_0x3772e7['ILogService']),_0x165919(0x6,_0x3772e7[_0x513e05(0x30b)](_0x3772e7['LocaleService']))],_0x498739);var _0x50d826=Object[_0x513e05(0x33c)],_0x2462a1=(_0x5928ae,_0x398a58,_0x49e847,_0xe2e77d)=>{const _0x4ee6cb=_0x513e05;for(var _0x3cdabd=_0xe2e77d>0x1?void 0x0:_0xe2e77d?_0x50d826(_0x398a58,_0x49e847):_0x398a58,_0x1b42da=_0x5928ae[_0x4ee6cb(0x3ec)]-0x1,_0x220dcb;_0x1b42da>=0x0;_0x1b42da--)(_0x220dcb=_0x5928ae[_0x1b42da])&&(_0x3cdabd=_0x220dcb(_0x3cdabd)||_0x3cdabd);return _0x3cdabd;},_0x214577=(_0x5bd627,_0x6fe9fb)=>(_0x6b2b71,_0xc6b0c8)=>_0x6fe9fb(_0x6b2b71,_0xc6b0c8,_0x5bd627);let _0x1853ac=class extends _0x3772e7[_0x513e05(0x432)]{constructor(_0x5b1534,_0xb9c86f,_0xd68d99){const _0x2f04eb=_0x513e05;super(),_0xfd5d9c(this,_0x2f04eb(0x2f7),new Map()),_0xfd5d9c(this,_0x2f04eb(0x421),new Map()),_0xfd5d9c(this,_0x2f04eb(0x260),!0x1),(this[_0x2f04eb(0x441)]=_0x5b1534,this['_localStorageService']=_0xb9c86f,this[_0x2f04eb(0x217)]=_0xd68d99);}[_0x513e05(0x355)](){const _0x4365b3=_0x513e05;this[_0x4365b3(0x260)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get[_0x513e05(0x1ed)](){return this['_saveTaskMap'];}[_0x513e05(0x472)](){const _0x1b136f=_0x513e05;this[_0x1b136f(0x37f)]()[_0x1b136f(0x37c)](()=>super[_0x1b136f(0x472)]());}async[_0x513e05(0x422)](_0x28ab1d){const _0x260bcc=_0x513e05;return this[_0x260bcc(0x260)]?null:this['_localStorageService'][_0x260bcc(0x43f)](_0x19f8d7[_0x260bcc(0x461)](_0x28ab1d));}async[_0x513e05(0x35f)](_0x54726e,_0x27f00e){const _0x57bfb0=_0x513e05;return!!this['_localStorageService'][_0x57bfb0(0x1e1)](_0x54726e,_0x27f00e);}['updateOfflineData'](_0x5e0a96,_0x280cf8,_0x14aa0d,_0x3ccdc0){const _0x2b3729=_0x513e05,_0x268851=this[_0x2b3729(0x217)][_0x2b3729(0x3f5)](_0x5e0a96);this[_0x2b3729(0x2f7)][_0x2b3729(0x40c)](_0x5e0a96,{'unitID':_0x5e0a96,'type':_0x280cf8,'awaitingChangeset':_0x14aa0d,'mutations':_0x3ccdc0,'rev':_0x268851}),this['_saveTaskMap'][_0x2b3729(0x28b)](_0x5e0a96)||this['_scheduleSaving'](_0x5e0a96);}['_scheduleSaving'](_0x1f684d){const _0x769e8e=_0x513e05,_0x568b29=this[_0x769e8e(0x2e3)]();_0x568b29===0x0?this[_0x769e8e(0x2ac)](_0x1f684d):this['_saveTaskMap'][_0x769e8e(0x40c)](_0x1f684d,setTimeout(()=>this[_0x769e8e(0x2ac)](_0x1f684d),_0x568b29));}['_getSaveTimeout'](){const _0x3cfb83=_0x513e05;var _0x2731e7;return(_0x2731e7=this[_0x3cfb83(0x441)][_0x3cfb83(0x2fc)](_0x19f8d7[_0x3cfb83(0x3c4)]))!=null?_0x2731e7:_0x19f8d7[_0x3cfb83(0x34b)];}['_saveCache'](_0x589a51){const _0x4ee6e5=_0x513e05,_0x592cfd=this['_saveTaskMap'][_0x4ee6e5(0x309)](_0x589a51);return _0x592cfd!==void 0x0&&window[_0x4ee6e5(0x39c)](_0x592cfd),this[_0x4ee6e5(0x483)][_0x4ee6e5(0x1e1)](_0x19f8d7[_0x4ee6e5(0x461)](_0x589a51),this['_cachedData']['get'](_0x589a51))[_0x4ee6e5(0x37c)](()=>this[_0x4ee6e5(0x421)][_0x4ee6e5(0x365)](_0x589a51));}async[_0x513e05(0x37f)](){const _0x25ad9d=_0x513e05,_0x500a99=[];this[_0x25ad9d(0x421)][_0x25ad9d(0x2a8)]((_0x3373fa,_0x2aa396)=>{const _0x379e2c=_0x25ad9d;window[_0x379e2c(0x39c)](_0x3373fa),_0x500a99[_0x379e2c(0x2e0)](this['_saveCache'](_0x2aa396)['then'](()=>{const _0x2b41bb=_0x379e2c;this[_0x2b41bb(0x421)][_0x2b41bb(0x365)](_0x2aa396);}));}),await Promise['all'](_0x500a99);}};_0x1853ac=_0x2462a1([_0x214577(0x0,_0x3772e7['IConfigService']),_0x214577(0x1,_0x3772e7[_0x513e05(0x27c)]),_0x214577(0x2,_0x3772e7[_0x513e05(0x30b)](_0x116492[_0x513e05(0x289)]))],_0x1853ac);class _0x39c7f7 extends _0x3772e7[_0x513e05(0x490)]{constructor(){const _0x42e1c2=_0x513e05;super(),_0xfd5d9c(this,_0x42e1c2(0x327)),this[_0x42e1c2(0x327)]=_0x104804[_0x42e1c2(0x398)](window,'popstate')[_0x42e1c2(0x372)](_0x104804[_0x42e1c2(0x3e1)](this['dispose$']),_0x104804[_0x42e1c2(0x2e7)](0x1),_0x104804[_0x42e1c2(0x39a)](void 0x0));}['setParam'](_0x3d90f5,_0x8e5b9c,_0x1e749f=!0x1){const _0x599318=_0x513e05,_0x22ba32=new URL(window[_0x599318(0x430)][_0x599318(0x31e)]);_0x22ba32['searchParams'][_0x599318(0x40c)](_0x3d90f5,_0x8e5b9c),_0x1e749f?window[_0x599318(0x1f5)][_0x599318(0x1c5)]('','',_0x22ba32['toString']()):window[_0x599318(0x1f5)][_0x599318(0x26e)]('','',_0x22ba32[_0x599318(0x3a9)]());}[_0x513e05(0x393)](_0x1e215c,_0x5db700=!0x1){const _0x234511=_0x513e05,_0x2c9352=new URL(window[_0x234511(0x430)][_0x234511(0x31e)]);_0x2c9352[_0x234511(0x417)]['delete'](_0x1e215c),_0x5db700?window['history'][_0x234511(0x1c5)]('','',_0x2c9352[_0x234511(0x3a9)]()):window['history']['pushState']('','',_0x2c9352[_0x234511(0x3a9)]());}[_0x513e05(0x22e)](_0x2ac35e){const _0x41dbc2=_0x513e05;var _0x1ed3a9;return(_0x1ed3a9=new URL(window[_0x41dbc2(0x430)][_0x41dbc2(0x31e)])[_0x41dbc2(0x417)][_0x41dbc2(0x309)](_0x2ac35e))!=null?_0x1ed3a9:void 0x0;}}var _0x3feea5=Object[_0x513e05(0x226)],_0x42c8e1=Object['getOwnPropertyDescriptor'],_0x419814=(_0x53bed1,_0x215e79,_0x4784e7)=>_0x215e79 in _0x53bed1?_0x3feea5(_0x53bed1,_0x215e79,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4784e7}):_0x53bed1[_0x215e79]=_0x4784e7,_0x318a22=(_0x2df643,_0x42ed79,_0x298add,_0x4ae870)=>{for(var _0x4680f4=_0x4ae870>0x1?void 0x0:_0x4ae870?_0x42c8e1(_0x42ed79,_0x298add):_0x42ed79,_0x11faad=_0x2df643['length']-0x1,_0x26fa0c;_0x11faad>=0x0;_0x11faad--)(_0x26fa0c=_0x2df643[_0x11faad])&&(_0x4680f4=_0x26fa0c(_0x4680f4)||_0x4680f4);return _0x4680f4;},_0x2e8ae0=(_0x32648f,_0x692bf3)=>(_0x12696c,_0x14e15d)=>_0x692bf3(_0x12696c,_0x14e15d,_0x32648f),_0x4a9300=(_0xcf762c,_0x6670a,_0x4c0e84)=>_0x419814(_0xcf762c,_0x6670a+'',_0x4c0e84);const _0x5049ca=_0x513e05(0x468);_0x8036c6[_0x513e05(0x41a)]=class extends _0x3772e7['Plugin']{constructor(_0xea60b1=_0x52c7c0,_0x14917b,_0x3ba0a4,_0x277063){const _0x3833dd=_0x513e05;super(),this[_0x3833dd(0x2e9)]=_0xea60b1,this[_0x3833dd(0x26d)]=_0x14917b,this[_0x3833dd(0x499)]=_0x3ba0a4,this['_configService']=_0x277063;const {..._0x39ffe6}=_0x3772e7['merge']({},_0x52c7c0,this[_0x3833dd(0x2e9)]);this['_configService'][_0x3833dd(0x31c)](_0x2157a3,_0x39ffe6);}[_0x513e05(0x3bb)](){const _0x5b60c4=_0x513e05;this['_registerDependencies'](),this[_0x5b60c4(0x25c)]();}[_0x513e05(0x329)](){const _0x56381b=_0x513e05;this[_0x56381b(0x3a0)]();}['_registerDependencies'](){const _0x33e5f8=_0x513e05;var _0x1fca3d;const _0x1a3e83=[[_0x2e3fbf],[_0x498739],[_0x348751],[_0x32f42e],[_0x52ca15],[_0x39a103],[_0x2a7c11,{'useClass':_0x39c7f7}],[_0xe6cf6e[_0x33e5f8(0x2ee)],{'useClass':_0xe6cf6e['WebSocketService']}],[_0x19f8d7[_0x33e5f8(0x36d)],{'useClass':_0x1853ac}],[_0x8036c6[_0x33e5f8(0x1c0)]],[_0x27ca3d],[_0x23daa2],[_0x2234d1],[_0x459a5d],[_0x8036c6[_0x33e5f8(0x42a)]]];this[_0x33e5f8(0x2e9)]['enableFrontendLog']&&_0x1a3e83[_0x33e5f8(0x2e0)]([_0x19eb72]),_0x3772e7[_0x33e5f8(0x264)](this[_0x33e5f8(0x499)],_0x3772e7[_0x33e5f8(0x2f8)](_0x1a3e83,(_0x1fca3d=this[_0x33e5f8(0x2e9)])==null?void 0x0:_0x1fca3d[_0x33e5f8(0x2e8)]));}['_registerRenderDependencies'](){const _0x186f81=_0x513e05;this[_0x186f81(0x317)](this[_0x186f81(0x26d)]['registerRenderModule'](_0x3772e7[_0x186f81(0x232)][_0x186f81(0x366)],[_0x4d05f1])),this['disposeWithMe'](this[_0x186f81(0x26d)]['registerRenderModule'](_0x3772e7[_0x186f81(0x232)][_0x186f81(0x437)],[_0x4fc936]));}[_0x513e05(0x25c)](){const _0x308ee0=_0x513e05;_0x3772e7['touchDependencies'](this[_0x308ee0(0x499)],[[_0x2234d1],[_0x8036c6['DesktopCollaborationStatusDisplayController']],[_0x27ca3d],[_0x23daa2],[_0x8036c6['CollaborationDataLoaderController']],[_0x498739]]),this[_0x308ee0(0x2e9)]['enableFrontendLog']&&_0x3772e7['touchDependencies'](this[_0x308ee0(0x499)],[[_0x19eb72]]);}},_0x4a9300(_0x8036c6[_0x513e05(0x41a)],'pluginName',_0x5049ca),_0x8036c6[_0x513e05(0x41a)]=_0x318a22([_0x3772e7['DependentOn'](_0x19f8d7[_0x513e05(0x2e2)]),_0x2e8ae0(0x1,_0x29b571[_0x513e05(0x494)]),_0x2e8ae0(0x2,_0x3772e7[_0x513e05(0x30b)](_0x3772e7['Injector'])),_0x2e8ae0(0x3,_0x3772e7['IConfigService'])],_0x8036c6['UniverCollaborationClientUIPlugin']);var _0x130241=Object[_0x513e05(0x33c)],_0x5ddeed=(_0x7f3be1,_0xc6d3b8,_0x210dc6,_0x426342)=>{const _0x479ab0=_0x513e05;for(var _0x27ec7a=_0x426342>0x1?void 0x0:_0x426342?_0x130241(_0xc6d3b8,_0x210dc6):_0xc6d3b8,_0x49361d=_0x7f3be1[_0x479ab0(0x3ec)]-0x1,_0x436ad6;_0x49361d>=0x0;_0x49361d--)(_0x436ad6=_0x7f3be1[_0x49361d])&&(_0x27ec7a=_0x436ad6(_0x27ec7a)||_0x27ec7a);return _0x27ec7a;},_0x52934b=(_0x37fde8,_0x4f3f35)=>(_0x5610a0,_0x25f3e5)=>_0x4f3f35(_0x5610a0,_0x25f3e5,_0x37fde8);_0x8036c6[_0x513e05(0x382)]=class extends _0x19f8d7[_0x513e05(0x3bc)]{constructor(_0x26b322,_0x2a8a05,_0x1f6b1d,_0x39ccff,_0x3bb78d){super(_0x26b322,_0x2a8a05,_0x1f6b1d,_0x39ccff,_0x3bb78d);}async[_0x513e05(0x216)](_0x377044){const _0xf0b049=_0x513e05,_0x474a08=await this[_0xf0b049(0x2af)](),_0x58620d=this[_0xf0b049(0x1d6)](_0x377044,_0x474a08);return this[_0xf0b049(0x2eb)](_0x58620d);}[_0x513e05(0x1d6)](_0x188fea,_0x24333c){const _0x5ef18e=_0x513e05,_0x31db8f=typeof window>'u'?new URL(_0x188fea):new URL(_0x188fea,window[_0x5ef18e(0x430)][_0x5ef18e(0x307)]);_0x31db8f[_0x5ef18e(0x417)]['set'](_0x5ef18e(0x22f),_0x24333c);const _0x463c79=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5ef18e(0x430)][_0x5ef18e(0x491)]);return _0x463c79[_0x5ef18e(0x309)](_0x5ef18e(0x234))&&_0x31db8f['searchParams'][_0x5ef18e(0x40c)](_0x5ef18e(0x234),_0x463c79[_0x5ef18e(0x309)](_0x5ef18e(0x234))),_0x31db8f['toString']();}async['_getSessionTicket'](){const _0xdbfdd4=_0x513e05;var _0x5c3d12,_0x195efd,_0x2f08ea;const _0x267b48=this[_0xdbfdd4(0x441)][_0xdbfdd4(0x2fc)](_0x19f8d7[_0xdbfdd4(0x2fd)]),_0xba795e=(_0x5c3d12=_0x267b48==null?void 0x0:_0x267b48['wsSessionTicketUrl'])!=null?_0x5c3d12:_0x19f8d7[_0xdbfdd4(0x1c1)];return(_0x2f08ea=(_0x195efd=(await this[_0xdbfdd4(0x2cc)][_0xdbfdd4(0x309)](_0xba795e,{'headers':{'Content-Type':_0xdbfdd4(0x305)}}))[_0xdbfdd4(0x3c7)])==null?void 0x0:_0x195efd['ticket'])!=null?_0x2f08ea:'';}},_0x8036c6[_0x513e05(0x382)]=_0x5ddeed([_0x52934b(0x0,_0x3772e7['Inject'](_0x3772e7[_0x513e05(0x37e)])),_0x52934b(0x1,_0x3772e7[_0x513e05(0x30b)](_0xe6cf6e[_0x513e05(0x1cc)])),_0x52934b(0x2,_0x3772e7[_0x513e05(0x3da)]),_0x52934b(0x3,_0x3772e7['ILogService']),_0x52934b(0x4,_0x116492[_0x513e05(0x28e)])],_0x8036c6['BrowserCollaborationSocketService']);var _0x16cc04=Object[_0x513e05(0x33c)],_0x5770e8=(_0x5b28da,_0x1a2eeb,_0x294702,_0x323b4)=>{const _0x4d729a=_0x513e05;for(var _0x11b788=_0x323b4>0x1?void 0x0:_0x323b4?_0x16cc04(_0x1a2eeb,_0x294702):_0x1a2eeb,_0x587833=_0x5b28da[_0x4d729a(0x3ec)]-0x1,_0x34d95f;_0x587833>=0x0;_0x587833--)(_0x34d95f=_0x5b28da[_0x587833])&&(_0x11b788=_0x34d95f(_0x11b788)||_0x11b788);return _0x11b788;},_0x2702fb=(_0x3b4ad0,_0x1d0631)=>(_0x512a8a,_0x4dd87b)=>_0x1d0631(_0x512a8a,_0x4dd87b,_0x3b4ad0);_0x8036c6[_0x513e05(0x26f)]=class extends _0x3772e7[_0x513e05(0x432)]{constructor(_0x319ba3,_0x27a756,_0x5a8711){const _0x2e6f5e=_0x513e05;super(),this['_instanceService']=_0x319ba3,this[_0x2e6f5e(0x2cc)]=_0x27a756,this[_0x2e6f5e(0x441)]=_0x5a8711;}async[_0x513e05(0x273)](_0x5d4a42,_0x3e3564,_0x3eaa30,..._0x13b607){const _0x380063=_0x513e05;var _0x639b66,_0x2bc033,_0x5b7b0f,_0x163c7e;const _0x5d0977=this[_0x380063(0x3ce)][_0x380063(0x207)]();if(!_0x5d0977)throw new Error(_0x380063(0x3af));const _0x24cde3=((_0x639b66=this[_0x380063(0x441)][_0x380063(0x2fc)](_0x19f8d7['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x639b66:_0x19f8d7['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x5d4a42+_0x380063(0x2e1)+_0x3e3564,_0x386439=new URL(window[_0x380063(0x430)][_0x380063(0x31e)]),_0x1b8740={'scriptId':_0x5d4a42,'runId':(_0x2bc033=_0x386439[_0x380063(0x417)][_0x380063(0x309)]('runId'))!=null?_0x2bc033:'','function':_0x3e3564,'unitId':_0x5d0977[_0x380063(0x353)](),'argsOfFunction':JSON['stringify'](_0x13b607),'invokeId':(_0x5b7b0f=_0x3eaa30['invokeId'])!=null?_0x5b7b0f:'','executionId':(_0x163c7e=_0x3eaa30[_0x380063(0x295)])!=null?_0x163c7e:''};try{const _0x3bdf2c=await this[_0x380063(0x2cc)][_0x380063(0x1db)](_0x24cde3,{'body':_0x1b8740});return _0x3bdf2c[_0x380063(0x3c7)][_0x380063(0x27b)]&&_0x3bdf2c[_0x380063(0x3c7)][_0x380063(0x27b)][_0x380063(0x420)]!==_0x47161c['OK']?_0x380063(0x451):_0x3bdf2c[_0x380063(0x3c7)]['result'];}catch{return _0x380063(0x451);}}},_0x8036c6[_0x513e05(0x26f)]=_0x5770e8([_0x2702fb(0x0,_0x3772e7[_0x513e05(0x201)]),_0x2702fb(0x1,_0x3772e7['Inject'](_0xe6cf6e['HTTPService'])),_0x2702fb(0x2,_0x3772e7[_0x513e05(0x3da)])],_0x8036c6['RemoteUniscriptService']);const _0x99680c=0x7530,_0x4094b6=_0x513e05(0x40e);class _0x26e4a4 extends _0x3772e7['Disposable']{constructor(){const _0x2cf71c=_0x513e05;super(),_0xfd5d9c(this,_0x2cf71c(0x41b),_0x3772e7[_0x2cf71c(0x2ae)]()),_0xfd5d9c(this,_0x2cf71c(0x1c2),new Set()),_0xfd5d9c(this,_0x2cf71c(0x473),new Map()),_0xfd5d9c(this,_0x2cf71c(0x370),null),_0xfd5d9c(this,_0x2cf71c(0x2d2),new Map()),_0xfd5d9c(this,'_unitStatus',new Map()),this[_0x2cf71c(0x219)]();}[_0x513e05(0x472)](){const _0xb8b5b8=_0x513e05;super[_0xb8b5b8(0x472)](),this[_0xb8b5b8(0x2d2)][_0xb8b5b8(0x2a8)]((_0x2520a1,_0x281725)=>this[_0xb8b5b8(0x2ca)](_0x281725)),this[_0xb8b5b8(0x370)]&&window[_0xb8b5b8(0x1de)](this[_0xb8b5b8(0x370)]);}[_0x513e05(0x2d9)](_0x1f0cf5){const _0x11d0ee=_0x513e05;return this[_0x11d0ee(0x384)](_0x1f0cf5)[_0x11d0ee(0x372)](_0x104804[_0x11d0ee(0x2ba)]());}[_0x513e05(0x1d5)](_0xec2d5b){const _0x566c9d=_0x513e05;this[_0x566c9d(0x1c2)][_0x566c9d(0x396)]===0x0&&this[_0x566c9d(0x386)](),this[_0x566c9d(0x1c2)]['add'](_0xec2d5b),this[_0x566c9d(0x20d)]({'type':0x0,'memberID':this[_0x566c9d(0x41b)],'unitIDs':[_0xec2d5b],'isForwarded':!0x1});}[_0x513e05(0x356)](_0x5cc433){const _0x55e28f=_0x513e05;this[_0x55e28f(0x1c2)]['delete'](_0x5cc433),this[_0x55e28f(0x1c2)][_0x55e28f(0x396)]===0x0&&this[_0x55e28f(0x370)]&&window[_0x55e28f(0x1de)](this[_0x55e28f(0x370)]);}[_0x513e05(0x219)](){const _0x4efc29=_0x513e05;this[_0x4efc29(0x317)](_0x3772e7[_0x4efc29(0x385)](_0x104804['fromEvent'](window,_0x4efc29(0x3c3))[_0x4efc29(0x3ee)](_0x3a2d13=>{const _0x2e523e=_0x4efc29;if(_0x3a2d13['key']!==_0x4094b6||!_0x3a2d13[_0x2e523e(0x337)])return;const _0x435281=JSON['parse'](_0x3a2d13[_0x2e523e(0x337)]);this[_0x2e523e(0x33b)](_0x435281);}))),window[_0x4efc29(0x459)]('unload',()=>this[_0x4efc29(0x20d)]({'type':0x1,'memberID':this[_0x4efc29(0x41b)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0x513e05(0x33b)](_0x1cd135){const _0x20546f=_0x513e05;switch(_0x1cd135[_0x20546f(0x23f)]){case 0x0:this[_0x20546f(0x1c7)](_0x1cd135);break;case 0x1:this[_0x20546f(0x25d)](_0x1cd135);break;case 0x2:this[_0x20546f(0x1fc)](_0x1cd135);break;}}[_0x513e05(0x1c7)](_0x3cf225){const _0x2b3634=_0x513e05,{unitIDs:_0x32bd66,memberID:_0x203e23,isForwarded:_0x718ab5}=_0x3cf225;_0x32bd66[_0x2b3634(0x2a8)](_0x446f8f=>{const _0x3461c4=_0x2b3634;if(!_0x718ab5&&this[_0x3461c4(0x473)][_0x3461c4(0x28b)](_0x446f8f)&&this[_0x3461c4(0x384)](_0x446f8f)[_0x3461c4(0x344)](_0x19f8d7[_0x3461c4(0x413)][_0x3461c4(0x390)]),!this[_0x3461c4(0x473)][_0x3461c4(0x28b)](_0x446f8f)||!this[_0x3461c4(0x473)][_0x3461c4(0x309)](_0x446f8f)['has'](_0x203e23)){const _0x279ce4=this[_0x3461c4(0x473)][_0x3461c4(0x309)](_0x446f8f)||new Set();_0x279ce4[_0x3461c4(0x458)](_0x203e23),this[_0x3461c4(0x473)][_0x3461c4(0x40c)](_0x446f8f,_0x279ce4),this['_scheduleClearOtherTimer'](_0x203e23);}}),_0x718ab5||this[_0x2b3634(0x20d)]({'type':0x0,'memberID':this[_0x2b3634(0x41b)],'unitIDs':[...this[_0x2b3634(0x1c2)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x5dc944){const _0x1c434e=_0x513e05;this[_0x1c434e(0x2ca)](_0x5dc944);const _0x329296=window[_0x1c434e(0x42b)](()=>{const _0x28addd=_0x1c434e;this[_0x28addd(0x473)][_0x28addd(0x2a8)](_0x8265d8=>{const _0x4b0fe2=_0x28addd;_0x8265d8[_0x4b0fe2(0x365)](_0x5dc944);});},_0x99680c*0x2);this[_0x1c434e(0x2d2)][_0x1c434e(0x40c)](_0x5dc944,_0x329296);}[_0x513e05(0x2ca)](_0x251043){const _0x195167=_0x513e05;if(this['_clearOtherTimers']['has'](_0x251043)){const _0x3e80cd=this['_clearOtherTimers'][_0x195167(0x309)](_0x251043);_0x3e80cd&&window[_0x195167(0x39c)](_0x3e80cd),this[_0x195167(0x2d2)]['set'](_0x251043,null);}}['_handleLeaveEvent'](_0x4effdb){const _0x24d44a=_0x513e05,{memberID:_0x5aed11,unitIDs:_0xdcfc70}=_0x4effdb;_0xdcfc70['forEach'](_0xf77538=>{const _0x4edbaa=_0x3621;var _0x2554f2;const _0x2a5cb0=this[_0x4edbaa(0x473)]['get'](_0xf77538);_0x2a5cb0&&(_0x2a5cb0[_0x4edbaa(0x365)](_0x5aed11),(_0x2554f2=this[_0x4edbaa(0x384)](_0xf77538))==null||_0x2554f2[_0x4edbaa(0x344)](_0x2a5cb0[_0x4edbaa(0x396)]===0x0?_0x19f8d7[_0x4edbaa(0x413)]['NO_OTHER_CLIENTS_EDITING']:_0x19f8d7[_0x4edbaa(0x413)][_0x4edbaa(0x390)]));}),this[_0x24d44a(0x2ca)](_0x5aed11);}[_0x513e05(0x1fc)](_0x404f4a){const _0x264838=_0x513e05;this[_0x264838(0x277)](_0x404f4a[_0x264838(0x47a)]);}[_0x513e05(0x20d)](_0x4f5d01){const _0x280fc9=_0x513e05;localStorage[_0x280fc9(0x1e1)](_0x4094b6,JSON['stringify'](_0x4f5d01));}['_scheduleHeartbeat'](){const _0x40e502=_0x513e05;this[_0x40e502(0x370)]=window[_0x40e502(0x346)](()=>{const _0x5c6f70=_0x40e502;this[_0x5c6f70(0x20d)]({'type':0x2,'memberID':this[_0x5c6f70(0x41b)]});},_0x99680c);}[_0x513e05(0x384)](_0x46b507){const _0x2fe2ca=_0x513e05;return this[_0x2fe2ca(0x2ed)][_0x2fe2ca(0x28b)](_0x46b507)||this[_0x2fe2ca(0x2ed)]['set'](_0x46b507,new _0x104804[(_0x2fe2ca(0x493))](_0x19f8d7[_0x2fe2ca(0x413)]['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus']['get'](_0x46b507);}}_0x8036c6[_0x513e05(0x444)]=_0x2a7c11,_0x8036c6['SheetCollabCursorShape']=_0xc79a86,_0x8036c6[_0x513e05(0x373)]=_0x26e4a4,_0x8036c6['WebURLService']=_0x39c7f7,Object[_0x513e05(0x226)](_0x8036c6,Symbol['toStringTag'],{'value':'Module'});}));
1
+ function _0x3d56(_0x485b49,_0x5eefec){const _0x5cddb5=_0x5cdd();return _0x3d56=function(_0x3d56c5,_0x54aa3d){_0x3d56c5=_0x3d56c5-0xda;let _0x5f1c5f=_0x5cddb5[_0x3d56c5];return _0x5f1c5f;},_0x3d56(_0x485b49,_0x5eefec);}function _0x5cdd(){const _0x3f724b=['removeEventListener','121618EyahJy','_maxFormulaLimit','handleMoveRange','_uploadLog','Injector','white','getCollabCursors$','RxDisposable','push','transformMutation','_session','_shapes','textRanges','Optional','UNRECOGNIZED','_onCursorDelete','_beforeCloseService','takeUntil','_setFormulaLimitStatus','updateOfflineData','_textBubble','_entityInit$','ILogService','toDisposable','_checkAndWaitForCalculationPermission','moveTo','bottom','getOwnPropertyDescriptor','_render','_uiPartsService','MOBILE_VERIFY_CODE_MISMATCH','_transformService','React','roomMembers$','setItem','_releaseCalculationLimit','Vector2','MessageType','_onCursorUpdate','WebSocketService','_updateSubUnitFromURLParams','CONNECTOR_DATA_TOO_LARGE','_localeService','INTERNAL_ERROR','_ensureSubject','EMAIL_HAS_BEEN_BOUND','location','switchMap','executionId','getCellPositionByOffset','UNIVER_SHEET','message','[CollaborationDataLoaderController]','clearInterval','pipe','getVpScrollXYInfoByPosToVp','_initResize','_toggleOnline','[RemoteUniscriptService]:\x20no\x20focused\x20unit','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','init','substring','MUTATION','AWAITING','UniverInstanceType','params','_getScale','REDEMPTION_USER_REDEEM_TIMES_EXCEED','replace','toStringTag','getRelativeToViewportCoord','_dataLoaderService','parseInt','setTimeout','UniverNetwork','getMemberID','symbol','FormulaExecuteStageType','NodePositionConvertToCursor','_labelPosition','SOCKET_FAILED_RETRY','INVALID_ARGUMENT','source','on-line-icon','undoState','_handleHover','USER_IS_ANONYMOUS','url(#$1','_commandService','_unitOnClients','NOT_COLLAB','useRef','actions','collab-text-range-','UniverDrawing','_transformPreviousActiveRange','_monkeyPatchLogService','_startCalculationLimit','fillText','sheetID','defIds','addClipboardHook','BrowserCollaborationSocketService','CONFLICT','href','transformStateCache','getAncestorScale','LICENSE_DISTRO_REJECTED','distinctUntilChanged','_notificationService','key','replaceState','getSheetBySheetId','stack','Unknown\x20user','_startDocCollabCursor','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','COMPLETION_FINISHED','1em','WebURLService','restore','registerRenderModule','hide','row','_handleHeartbeatEvent','CollaborationController','limitInfo','SetDocZoomRatioOperation','CollaborationSocketService','PENDING','SetSelectionsOperation','_cursor','colorChannel1','_hasFormulaInDirtyRanges','TEXT_RANGE_LAYER_INDEX','red.300','bind','random','Rectangle','CollaborationDataLoaderController','unitId','@univerjs/core','_getSaveTimeout','SetFormulaCalculationNotificationMutation','saveTaskMap','FETCH_MISS','size','delete','_colorIndex','NodePositionConvertToRectRange','subunit','react/jsx-runtime','MemberService','disposeUnit','saveImage','ENTITLE_CAN_NOT_BUY_LOWER_OTP','TRANSFORM_CHANGE_OBSERVABLE_TYPE','addObjects','_clearOtherTimers','collabStatus.syncing','EMAIL_VERIFY_CODE_MISMATCH','DocSelectionManagerService','_lastPointer','sheetId','ERROR_AGAIN','_init','text','_applyCommand','getCellMatrix','transformIMECache','set','reconnect','ThemeService','m1Prime','fromEvent','YUUMI_CONNECTOR_URL_NOT_FOUND','REDEMPTION_CODE_HAS_BEEN_CREATED','Tools','defineProperty','entries','ISnapshotServerService','IUIPartsService','collaboration.single-unit.warning','debounce','registerRefRange','_initUnhandledRejectionListener','_createSocketURL','LOCAL_CACHE_INTERVAL','toRgbString','USERS_LEAVE','getSheetObject','forwardRef','TOO_MANY_REQUESTS','height','measureText','YUUMI_RATE_OVER_LIMIT','onStarting','LOGIN_TOKEN_PROCESSING_FAILED','then','focused$','_disabled','result','YUUMI_TABLE_NOT_FOUND_IN_UNIT','invokeId','getColorFromTheme','Shape','path','runOnServer','dispose$','isArray','children','jsxs','SetWorksheetActivateCommand','contains','_lastResponseTimestamp','add','YUUMI_URL_COL_OUT_OF_RANGE','url(#on-line-icon_clip0_910_349)','enableFrontendLog','EffectRefRangId','_handleJoinEvent','_urlService','none','join','removeParam','_univerInstanceService','_cursors','SUCCESS','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','UniverCore','stageInfo','INVITE_CODE_REQUIRED','on-line-icon_clip0_910_349','throttleTime','_cursorShapes','IBeforeCloseService','endColumn','getSkeleton','hovered','univerjs-icon\x20univerjs-icon-','selections','_initEvent','event$','UniverCollaborationClientUIPlugin','unitID','asObservable','DeleteRangeMoveUpCommandId','clsx','_updateURLWithCurrentState','ENTITLE_DUP_SUBSCRIPTION','YUUMI_UNABLE_LOAD_URL','ranges','drawWith','DocStateChangeManagerService','_collabCursorController','REDEMPTION_CODE_NOT_STARTED','xlink:href','REDEMPTION_USER_NOT_ELIGIBLE','handleInsertRow','INVALID_INVITE_CODE','0\x200\x2017\x2016','arc','RevisionService','IDocClipboardService','UNAUTHENTICATED','m2Prime','_updateCollabCursors','RECT','@univerjs/docs-ui','_sheetSkeletonManagerService','Error','#FFF','_docTransformSelectionsService','_send','_docTransformStateCacheService','NOT_FOUND','addObject','forEach','top','isTransformMutationFailure','_injector','setConfig','handleIRemoveCol','getUnitId','flatMap','_hovered','getConfig','_cursorInfo$','totalFormulasToCalculate','transformRemoteChangeset','trim','IURLService','_document','PAYMENT_CHANNEL_NOT_SUPPORT','column','YUUMI_ALL_TABLES_IS_INVALID','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','WebBrowserSingleActiveUnitService','jiqing.500','dispose','@univerjs/docs','USER_NOT_FOUND','_assignedColors','next','_unitStatus','_messageService','619576APzBJp','currentTheme$','RemoteUniscriptService','onTransformChange$','_saveCache','defs','Rect','Plugin','_status$','collaboration-client-ui.config','_themeService','saveOfflineData','INVITE_CODE_ALREADY_BOUND','_transformHistoryAndStateStack','_scene','_entities','DOC_RANGE_TYPE','CollaborationStatus','assign','_refRangeService','_instanceService','unsubscribe','doc.mutation.rich-text-editing','/universer-api/license/formula/limit/start','_removeCollabCursors','debug','_selfUnitIDs','stringify','IRenderManagerService','_getSessionTicket','_scheduleHeartbeat','OTHER_CLIENTS_EDITING','SUBMIT_CHANGESET_TIMEOUT','[LogService\x20Error]:\x20','from','makeDirty','_getMergeRange','function','DesktopCollaborationStatusDisplayController','@univerjs/rpc','816954UQpAjo','_getAnchorBounding','REDEMPTION_INVALID_CODE','@univerjs/sheets-ui','skeleton','current','_initDependencies','_registerRenderDependencies','_getSheetObject','closePath','@univerjs/ui','reason','newValue','merge','createSocket','max','SheetsSelectionsService','releaseFormulaLimitUrl','startRow','ITransformService','syncEditingCollabCursor','OFFLINE','runId','_docClipboardService','setParam','MOBILE_HAS_BEEN_BOUND','COLORS','generateRandomId','startColumn','debounceTime','show','NO_OTHER_CLIENTS_EDITING','filter','pluginName','_collabCursorState$','replaceDocRanges','_colorAssignService','width','getCurrentSelections','_drawTextRange','getParam','_initStatusListener','toString','isFormulaString','_docSyncEditingCollabCursorService','_toggleOffline','@univerjs-pro/collaboration','handleInsertRangeMoveRight','RichTextEditingMutation','use','getUnit','rgba(255,\x20255,\x20255,\x200.01)','sessionTicket','ONLINE','getRangePointData','SessionStatus','YUUMI_NO_CUBOID_FOR_QUESTION','ALREADY_EXISTS','UNIVER_DOC','_initCommandExecutedListener','ColorKit','onRendered','UPDATE_CURSOR','pushState','onCommandExecuted','START_CALCULATION','handleInsertCol','exhaustSavingTask','now','_hideTimer','override','fillStyle','Module','session.will-retry','UniverRpc','onPointerLeave$','entityInit$','rxjs','ICommandService','requireSession','UniverProCollaborationClientUi','CanceledError','TEXT','BuiltInUIPart','getUndoRedoMutationParamsCache','_setupSubUnitSync','@univerjs/sheets','session.collaboration-timeout','_anchor','HEADER_MENU','code','addEventListener','filename','univer-flex\x20univer-items-center','useDependency','REDEMPTION_CODE_FULLY_REDEEMED','REDEMPTION_CODE_INACTIVE','serializeRangeWithSheet','IRemoteInstanceService','collaboration-client.offline-data-not-saved','ISocketService','_onRefRangeChange','eventID','mutations','history','post','transformSelections','loadOfflineData','_getFormulaLimitStatus','green.600','clipPath','Warning','YUUMI_AI_RUN_FAILED','subscribeEvent','434738creVHm','CollaborationSessionService','UniverDocsUi','dirtyRanges','_heartbeatTimer','@univerjs/design','setInterval','CHANGESET_REVISION_CONFILICT','SHEET_VIEWPORT_KEY','SYNCED','collabStatus.offline','ENSURE_SNAPSHOT_EXECUTION','Disposable','DeleteRangeMoveLeftCommandId','has','useCallback','_docTransformIMECacheService','mask','_refreshCollabCursors','RemoveRowCommandId','engine','session.connection-failed','font','setAlpha','blue.400','complete','Workbook','UNDEFINED','IConfigService','_localCacheService','CollaborationEvent','send','executeCommand','getCurrentUnitForType','idSuffix','handleDeleteRangeMoveUp','_renderManagerService','_initUserListener','getStateCache','_logService','isTransformMutationsWithChangesetSuccess','[Unhandled\x20Rejection]:\x20','DocIMEInputManagerService','_handleLeaveEvent','search','round','getSheetId','getCollabEntity$','subscribe','DataLoaderService','collaboration.closeRoom','uni.network.url-service','_pollingInterval','whenReady','_memberID','tag','VIEW_MAIN','_scheduleClearOtherTimer','_updateLocalCursor','memberID','shift','evenodd','_name','imageSourceType','RefRangeService','UniverDocs','body','off-line-icon_clip0_910_343','isActive','_saveTaskMap','collabCursorState$','displayName','setActiveRange','APPLY_NON_SEQUENTIAL_REVISION','http://www.w3.org/2000/svg','_configService','application/json','?taskId=','data','backgroundColor','APPLY_REVISION_CONFILICT','1932126TeGghP','0\x200\x2016\x2016','USER_NOT_INVITED_CODE','_localStorageService','RegularPolygon','split','_removeClearOtherTimer','_roomMembers$','SNAPSHOT_INVALID_SNAPSHOT','cursorInfo$','_initEntityListener','_startSheetCollabCursor','selection','_setupBeforeClosingHandler','permission.title','CollaborationUIEventService','object','error','exports','ENTITLE_INSUFFICIENT_QUOTA','length','_handleEvent','25VPoIBp','combineLatest','formula.calculation.waiting','some','CURRENT_STATUS_CANNOT_OPERATE','Failed','OnLineIcon','loadUnit','_currentUsage','onPointerMove$','_drawAnchor','_httpService','enableLocalCache','_range','registerComponent','fillRule','map','CollaborationUIEventId','_checkCalculationAvailable','clearTimeout','div','unshift','functionsExecutedState','/run/','getMergeData','UnitStatus','attrs','DocSkeletonManagerService','SheetCollabCursorShape','_scheduleSaving','InsertRowCommandId','assignAColorForMemberID','BehaviorSubject','_docSkeletonManagerService','getformulaLimitStatusUrl','1564640ZvkdCX','with','maxFormulaLimit','_syncEditingCollabCursorService','save','PERMISSION_DENIED','LOGIN_FAILED','url(#off-line-icon_clip0_910_343)','_registerDependencies','_hover','getActiveRange','127932bfXXYz','_collaborationController','_initStatusComponent','color','name','APPLY_DUPLICATED','Inject','OTHER_CLIENT_EDITING','@univerjs/engine-render','collab-text-anchor-','transformByState','runRefRangeMutations','translate(.97)','_id','stage','get','transformMutationsWithChangeset','UniverIcon','_color','APPLY_REJECT','fill','getOffsetConfig','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_drawRectRange','unit','_config','getRenderById','Subject','unhandledrejection','amd','labelPosition','resize','collabStatus.fetchMiss','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','DocCollaborationEntity','storage','_memberService','LICENSE_MAX_UNITS_EXCEEDED','_cachedData','IUniverInstanceService','LICENSE_IMPORT_SIZE_EXCEEDED','_online','searchParams','IMessageService','redoState','createIdentifier','origin','getFocusedUnit','@univerjs/network','_collabSessionService','min','INVITE_CODE_HAS_BEEN_UES','purple.300','setUndoRedoMutationParamsCache','UniverEngineFormula','useObservable','@univerjs-pro/collaboration-client','collabStatus.notCollab','jsx','_draw','LICENSE_EXPORT_SIZE_EXCEEDED','IImageIoService','getActiveSheet','_backgroundColor','startsWith','LocaleService','getViewport','yellow.400','disableLocalCache','getColor','...','HTTPService','YUUMI_SUBSCRIPTION_NOT_FOUND','WECHAT_HAS_BEEN_BOUND','createElement','string','_docStateChangeManagerService','cursorInfo','PY_RUNTIME_SCRIPT_ERROR','collabStatus.synced','_initWindowErrorListener','disposeWithMe','_collaborationSessionService','onMouseMove','urlChange$','subUnitId','onPointerEnter$','APPLY_PERMISSION_DENIED','beginPath','getDocRanges','RemoveColCommandId','black','getItem','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','DEFAULT_WS_SESSION_TICKET_URL','findNodePositionByCharIndex','ENTITLE_NEED_BILLING_ADDRESS','InsertRangeMoveRightCommandId','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','shareReplay','AUTHORIZE_CODE_ILLEGAL','Loading','FormulaExecutedStateType','deserializeRangeWithSheet','_anchorDot','lineTo','values','touchDependencies','_revisionService','collab-client.tooltip.reconnect','isEditing','socket$','_showGuardMessage','univer-mr-2\x20univer-flex\x20univer-text-xl','deepClone','DATA_SOURCE_TOO_LARGE','_initCommandInterceptor','createInstance','_context','getCoordByCell','_eventUnsubscribe','range','connectInjector','_taskIds','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','endRow','roomMembers','OffLineIcon','getValue','getCurrentRevOfUnit','_clearPolling','SNAPSHOT_HAS_BEEN_REMOVED','getMember','handleDeleteRangeMoveLeft','FromArray','registerDependencies','setShapeProps','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','YUUMI_ASYNCIO_CANCELLED','MoveRangeCommandId','type'];_0x5cdd=function(){return _0x3f724b;};return _0x5cdd();}(function(_0x560802,_0x389100){const _0x511be6=_0x3d56,_0x47e40f=_0x560802();while(!![]){try{const _0x58fbb4=parseInt(_0x511be6(0x12a))/0x1+-parseInt(_0x511be6(0x1c4))/0x2+parseInt(_0x511be6(0x215))/0x3+-parseInt(_0x511be6(0x259))/0x4+parseInt(_0x511be6(0x22b))/0x5*(-parseInt(_0x511be6(0x152))/0x6)+-parseInt(_0x511be6(0x2e8))/0x7+parseInt(_0x511be6(0x24e))/0x8;if(_0x58fbb4===_0x389100)break;else _0x47e40f['push'](_0x47e40f['shift']());}catch(_0x3ed30a){_0x47e40f['push'](_0x47e40f['shift']());}}}(_0x5cdd,0x7cebd),function(_0x13a225,_0xb99651){const _0x34743e=_0x3d56;typeof exports==_0x34743e(0x225)&&typeof module<'u'?_0xb99651(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==_0x34743e(0x14f)&&define[_0x34743e(0x276)]?define([_0x34743e(0x227),_0x34743e(0x37f),_0x34743e(0x292),_0x34743e(0x375),_0x34743e(0x15c),_0x34743e(0x19f),_0x34743e(0x1c9),'react',_0x34743e(0x151),_0x34743e(0x1a8),_0x34743e(0x261),_0x34743e(0x28a),_0x34743e(0x104),'@univerjs/drawing',_0x34743e(0x180),_0x34743e(0x124),'@univerjs/engine-formula','rxjs/operators',_0x34743e(0x155)],_0xb99651):(_0x13a225=typeof globalThis<'u'?globalThis:_0x13a225||self,_0xb99651(_0x13a225[_0x34743e(0x1a2)]={},_0x13a225[_0x34743e(0x308)],_0x13a225['UniverProCollaborationClient'],_0x13a225[_0x34743e(0xdd)],_0x13a225['UniverUi'],_0x13a225[_0x34743e(0x19f)],_0x13a225['UniverDesign'],_0x13a225[_0x34743e(0x308)],_0x13a225[_0x34743e(0x19c)],_0x13a225['UniverSheets'],_0x13a225['UniverEngineRender'],_0x13a225[_0x34743e(0x332)],_0x13a225[_0x34743e(0x1c6)],_0x13a225[_0x34743e(0x346)],_0x13a225['UniverProCollaboration'],_0x13a225[_0x34743e(0x205)],_0x13a225[_0x34743e(0x290)],_0x13a225['rxjs']['operators'],_0x13a225['UniverSheetsUi']));}(this,function(_0x42c0de,_0x25213b,_0x59d2d1,_0x50235c,_0x9fcbd4,_0x4c6442,_0x775e7b,_0x21a17a,_0xd9ac66,_0x4cd203,_0x1a4c38,_0x5751e7,_0x2d3daa,_0x265313,_0x482dc8,_0x4a4656,_0x5554c2,_0x1611fd,_0x5a2d49){'use strict';const _0x43ec4c=_0x3d56;var _0x28dca1=Object[_0x43ec4c(0x39a)],_0x2adf5d=(_0xdddde5,_0x2a95fe,_0x503bb7)=>_0x2a95fe in _0xdddde5?_0x28dca1(_0xdddde5,_0x2a95fe,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x503bb7}):_0xdddde5[_0x2a95fe]=_0x503bb7,_0x4cf7ca=(_0x439717,_0x56bebc,_0x1f334f)=>_0x2adf5d(_0x439717,typeof _0x56bebc!=_0x43ec4c(0x334)?_0x56bebc+'':_0x56bebc,_0x1f334f);function _0x1530e0({ref:_0x2c6588,..._0x1d5359}){const _0x106f1b=_0x43ec4c,{icon:_0x13ebac,id:_0x183bf0,className:_0x206497,extend:_0x107405,..._0x285415}=_0x1d5359,_0x26e031=(_0x106f1b(0xe7)+_0x183bf0+'\x20'+(_0x206497||''))[_0x106f1b(0x11a)](),_0x2efc34=_0x21a17a[_0x106f1b(0x343)]('_'+_0x2ead08());return _0x2f54ae(_0x13ebac,''+_0x183bf0,{'defIds':_0x13ebac[_0x106f1b(0x34c)],'idSuffix':_0x2efc34[_0x106f1b(0x157)]},{'ref':_0x2c6588,'className':_0x26e031,..._0x285415},_0x107405);}function _0x2f54ae(_0x22c9ea,_0x262148,_0x1586b8,_0x1092ef,_0x244b70){const _0xce2385=_0x43ec4c;return _0x21a17a[_0xce2385(0x2a4)](_0x22c9ea[_0xce2385(0x1fb)],{'key':_0x262148,..._0xb28f52(_0x22c9ea,_0x1586b8,_0x244b70),..._0x1092ef},(_0x3f8697(_0x22c9ea,_0x1586b8)[_0xce2385(0x3ba)]||[])[_0xce2385(0x23b)]((_0x22441f,_0x1912a3)=>_0x2f54ae(_0x22441f,_0x262148+'-'+_0x22c9ea[_0xce2385(0x1fb)]+'-'+_0x1912a3,_0x1586b8,void 0x0,_0x244b70)));}function _0xb28f52(_0x76ce9a,_0x4d8958,_0x5d9cf4){const _0x4ef834=_0x43ec4c,_0x132a0f={..._0x76ce9a[_0x4ef834(0x245)]};_0x5d9cf4!=null&&_0x5d9cf4[_0x4ef834(0x36c)]&&_0x132a0f['fill']==='colorChannel1'&&(_0x132a0f[_0x4ef834(0x26d)]=_0x5d9cf4[_0x4ef834(0x36c)]),_0x76ce9a[_0x4ef834(0x1fb)]===_0x4ef834(0x1d5)&&_0x132a0f['id']&&(_0x132a0f['id']=_0x132a0f['id']+_0x4d8958[_0x4ef834(0x1e6)]),Object[_0x4ef834(0x39b)](_0x132a0f)[_0x4ef834(0x10d)](([_0x281e61,_0x4e5f55])=>{const _0x3db007=_0x4ef834;_0x281e61===_0x3db007(0x1d5)&&typeof _0x4e5f55==_0x3db007(0x2a5)&&(_0x132a0f[_0x281e61]=_0x4e5f55[_0x3db007(0x32c)](/url\(#(.*)\)/,_0x3db007(0x33f)+_0x4d8958[_0x3db007(0x1e6)]+')'));});const {defIds:_0x566ac6}=_0x4d8958;return!_0x566ac6||_0x566ac6[_0x4ef834(0x229)]===0x0||(_0x76ce9a[_0x4ef834(0x1fb)]===_0x4ef834(0x183)&&_0x132a0f[_0x4ef834(0xf8)]&&(_0x132a0f['xlink:href']=_0x132a0f[_0x4ef834(0xf8)]+_0x4d8958['idSuffix']),Object[_0x4ef834(0x39b)](_0x132a0f)['forEach'](([_0x15e877,_0x3d66b0])=>{const _0x2b5c35=_0x4ef834;typeof _0x3d66b0=='string'&&(_0x132a0f[_0x15e877]=_0x3d66b0[_0x2b5c35(0x32c)](/url\(#(.*)\)/,_0x2b5c35(0x33f)+_0x4d8958[_0x2b5c35(0x1e6)]+')'));})),_0x132a0f;}function _0x3f8697(_0x25dff3,_0x5e140f){const _0x3134ef=_0x43ec4c;var _0x21dbab;const {defIds:_0x3843e8}=_0x5e140f;return!_0x3843e8||_0x3843e8[_0x3134ef(0x229)]===0x0?_0x25dff3:_0x25dff3[_0x3134ef(0x1fb)]==='defs'&&((_0x21dbab=_0x25dff3['children'])!=null&&_0x21dbab[_0x3134ef(0x229)])?{..._0x25dff3,'children':_0x25dff3['children'][_0x3134ef(0x23b)](_0x1196b6=>typeof _0x1196b6['attrs']['id']=='string'&&_0x3843e8&&_0x3843e8['includes'](_0x1196b6[_0x3134ef(0x245)]['id'])?{..._0x1196b6,'attrs':{..._0x1196b6[_0x3134ef(0x245)],'id':_0x1196b6[_0x3134ef(0x245)]['id']+_0x5e140f['idSuffix']}}:_0x1196b6)}:_0x25dff3;}function _0x2ead08(){const _0x5d25e6=_0x43ec4c;return Math[_0x5d25e6(0x371)]()[_0x5d25e6(0x17c)](0x24)[_0x5d25e6(0x325)](0x2,0x8);}_0x1530e0[_0x43ec4c(0x20b)]=_0x43ec4c(0x26a);const _0x1d6b30={'tag':'svg','attrs':{'xmlns':_0x43ec4c(0x20e),'fill':'none','viewBox':_0x43ec4c(0x216),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x43ec4c(0x255)},'children':[{'tag':_0x43ec4c(0x3b6),'attrs':{'stroke':'currentColor','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':_0x43ec4c(0x1f1),'strokeLinejoin':_0x43ec4c(0x1f1),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x43ec4c(0x1c0),'attrs':{'id':_0x43ec4c(0x207)},'children':[{'tag':_0x43ec4c(0x3b6),'attrs':{'fill':_0x43ec4c(0x2ed),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x43ec4c(0x207)]},_0x1e2a2e=_0x21a17a[_0x43ec4c(0x3a7)](function(_0x38261e,_0x162e1a){const _0x4b8a53=_0x43ec4c;return _0x21a17a[_0x4b8a53(0x2a4)](_0x1530e0,Object[_0x4b8a53(0x13c)]({},_0x38261e,{'id':'off-line-icon','ref':_0x162e1a,'icon':_0x1d6b30}));});_0x1e2a2e[_0x43ec4c(0x20b)]=_0x43ec4c(0x2d9);const _0x19447c={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x43ec4c(0x3c6),'viewBox':_0x43ec4c(0xfc),'width':_0x43ec4c(0x35e),'height':_0x43ec4c(0x35e)},'children':[{'tag':'g','attrs':{'clipPath':_0x43ec4c(0x3c1)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x43ec4c(0x120),'strokeLinecap':'round','strokeLinejoin':_0x43ec4c(0x1f1),'strokeWidth':1.2}}]},{'tag':_0x43ec4c(0x12f),'attrs':{},'children':[{'tag':_0x43ec4c(0x1c0),'attrs':{'id':_0x43ec4c(0xe0)},'children':[{'tag':'path','attrs':{'fill':_0x43ec4c(0x2ed),'d':'M0\x200H16V16H0z','transform':_0x43ec4c(0x265)}}]}]}],'defIds':[_0x43ec4c(0xe0)]},_0x26453e=_0x21a17a[_0x43ec4c(0x3a7)](function(_0x54a5b3,_0x464a2b){const _0x23a344=_0x43ec4c;return _0x21a17a[_0x23a344(0x2a4)](_0x1530e0,Object[_0x23a344(0x13c)]({},_0x54a5b3,{'id':_0x23a344(0x33b),'ref':_0x464a2b,'icon':_0x19447c}));});_0x26453e[_0x43ec4c(0x20b)]=_0x43ec4c(0x231);function _0x38b922(_0x2a19de){const _0xeb4275=_0x43ec4c;switch(_0x2a19de){case _0x59d2d1[_0xeb4275(0x13b)]['OFFLINE']:return _0xeb4275(0x1ce);case _0x59d2d1[_0xeb4275(0x13b)][_0xeb4275(0x34f)]:return'collabStatus.conflict';case _0x59d2d1[_0xeb4275(0x13b)][_0xeb4275(0x379)]:return _0xeb4275(0x279);case _0x59d2d1[_0xeb4275(0x13b)]['NOT_COLLAB']:return _0xeb4275(0x293);case _0x59d2d1['CollaborationStatus'][_0xeb4275(0x327)]:case _0x59d2d1['CollaborationStatus']['AWAITING_WITH_PENDING']:return _0xeb4275(0x387);case _0x59d2d1[_0xeb4275(0x13b)][_0xeb4275(0x1cd)]:case _0x59d2d1[_0xeb4275(0x13b)][_0xeb4275(0x369)]:return _0xeb4275(0x2a9);}}function _0x59bcd5(_0x170068){const _0x3b63d9=_0x43ec4c,{status$:_0x34d7d2}=_0x170068,_0x5691b2=_0x9fcbd4[_0x3b63d9(0x291)](_0x34d7d2,_0x59d2d1[_0x3b63d9(0x13b)][_0x3b63d9(0x342)]),_0x5ac01d=_0x9fcbd4[_0x3b63d9(0x1b0)](_0x50235c[_0x3b63d9(0x29b)]),_0x1f4c6a=_0x9fcbd4[_0x3b63d9(0x1b0)](_0x59d2d1[_0x3b63d9(0x1c5)]),_0x4960a6=_0x5691b2!==_0x59d2d1[_0x3b63d9(0x13b)][_0x3b63d9(0x167)],_0x318fa1=_0x5ac01d['t'](_0x38b922(_0x5691b2)),_0xfebefc=_0x4960a6?_0x25213b['jsx'](_0x26453e,{}):_0x25213b[_0x3b63d9(0x294)](_0x1e2a2e,{}),_0x4084b3=_0x21a17a[_0x3b63d9(0x1d3)](()=>{const _0x34f47c=_0x3b63d9;_0x4960a6||_0x1f4c6a[_0x34f47c(0x393)]();},[_0x4960a6,_0x1f4c6a]);function _0xd724ff(){const _0x4a8dc0=_0x3b63d9;return _0x25213b[_0x4a8dc0(0x3bb)]('div',{'className':_0x4a8dc0(0x1af),'onClick':_0x4084b3,'children':[_0x25213b[_0x4a8dc0(0x294)](_0x4a8dc0(0x23f),{'className':_0x775e7b[_0x4a8dc0(0xef)](_0x4a8dc0(0x2cb),{'univer-text-green-500':_0x4960a6,'univer-text-red-500':!_0x4960a6}),'children':_0xfebefc}),_0x25213b[_0x4a8dc0(0x294)](_0x4a8dc0(0x23f),{'className':_0x4a8dc0(0x2e3),'children':_0x318fa1})]});}return _0x4960a6?_0xd724ff():_0x25213b[_0x3b63d9(0x294)](_0x775e7b['Tooltip'],{'title':_0x5ac01d['t'](_0x3b63d9(0x2c7)),'children':_0xd724ff()});}var _0x3e9d6c=Object[_0x43ec4c(0x303)],_0x5a4356=(_0x5081fe,_0x595159,_0x339f77,_0x169f6b)=>{for(var _0x44833f=_0x169f6b>0x1?void 0x0:_0x169f6b?_0x3e9d6c(_0x595159,_0x339f77):_0x595159,_0x2dbb0c=_0x5081fe['length']-0x1,_0x2ecb12;_0x2dbb0c>=0x0;_0x2dbb0c--)(_0x2ecb12=_0x5081fe[_0x2dbb0c])&&(_0x44833f=_0x2ecb12(_0x44833f)||_0x44833f);return _0x44833f;},_0x85a676=(_0x4c8687,_0x30f382)=>(_0x3b317c,_0xd0fd20)=>_0x30f382(_0x3b317c,_0xd0fd20,_0x4c8687);_0x42c0de[_0x43ec4c(0x150)]=class extends _0x50235c['Disposable']{constructor(_0x17f597,_0x431b41,_0x4e3e80,_0x1feed8){const _0x53fdd1=_0x43ec4c;super(),_0x4cf7ca(this,_0x53fdd1(0x132),new _0x4c6442[(_0x53fdd1(0x24b))](_0x59d2d1['CollaborationStatus'][_0x53fdd1(0x342)])),(this[_0x53fdd1(0x3c9)]=_0x17f597,this['_injector']=_0x431b41,this['_collaborationController']=_0x4e3e80,this['_uiPartsService']=_0x1feed8,this[_0x53fdd1(0x25b)](),this[_0x53fdd1(0x17b)]());}[_0x43ec4c(0x17b)](){const _0x4f72b8=_0x43ec4c;this['disposeWithMe'](this[_0x4f72b8(0x3c9)][_0x4f72b8(0x3af)][_0x4f72b8(0x31e)](_0x4c6442[_0x4f72b8(0x317)](()=>{const _0x3cbe58=_0x4f72b8,_0x2b048d=this[_0x3cbe58(0x3c9)][_0x3cbe58(0x289)]();return _0x2b048d?this[_0x3cbe58(0x25a)][_0x3cbe58(0x1f3)](_0x2b048d[_0x3cbe58(0x113)]()):_0x4c6442['of'](null);}),_0x4c6442[_0x4f72b8(0x317)](_0x5416d2=>_0x5416d2?_0x5416d2['status$']:_0x4c6442['of'](_0x59d2d1[_0x4f72b8(0x13b)][_0x4f72b8(0x342)])))[_0x4f72b8(0x1f4)](_0x521e7f=>{const _0x4a1473=_0x4f72b8;this[_0x4a1473(0x132)]['next'](_0x521e7f);}));}[_0x43ec4c(0x25b)](){const _0x1dbe73=_0x43ec4c;this['disposeWithMe'](this[_0x1dbe73(0x305)][_0x1dbe73(0x239)](_0x9fcbd4[_0x1dbe73(0x1a5)][_0x1dbe73(0x1ab)],()=>_0x9fcbd4[_0x1dbe73(0x2d4)](_0x32fd7f({'status$':this[_0x1dbe73(0x132)][_0x1dbe73(0xed)]()}),this['_injector'])));}},_0x42c0de[_0x43ec4c(0x150)]=_0x5a4356([_0x85a676(0x0,_0x50235c[_0x43ec4c(0x281)]),_0x85a676(0x1,_0x50235c[_0x43ec4c(0x25f)](_0x50235c[_0x43ec4c(0x2ec)])),_0x85a676(0x2,_0x50235c[_0x43ec4c(0x25f)](_0x59d2d1[_0x43ec4c(0x365)])),_0x85a676(0x3,_0x9fcbd4[_0x43ec4c(0x39d)])],_0x42c0de[_0x43ec4c(0x150)]);function _0x32fd7f(_0x2858af){const {status$:_0x590485}=_0x2858af;return function(){return _0x25213b['jsx'](_0x59bcd5,{'status$':_0x590485});};}const _0x24c3fe=_0x50235c[_0x43ec4c(0x287)](_0x43ec4c(0x1f7));var _0x173f97=Object['getOwnPropertyDescriptor'],_0x3ae7e0=(_0x2541de,_0x46d1ef,_0x460091,_0x59f7fc)=>{const _0x30edf2=_0x43ec4c;for(var _0x15da87=_0x59f7fc>0x1?void 0x0:_0x59f7fc?_0x173f97(_0x46d1ef,_0x460091):_0x46d1ef,_0x3095d5=_0x2541de[_0x30edf2(0x229)]-0x1,_0x2d9b90;_0x3095d5>=0x0;_0x3095d5--)(_0x2d9b90=_0x2541de[_0x3095d5])&&(_0x15da87=_0x2d9b90(_0x15da87)||_0x15da87);return _0x15da87;},_0x3732f3=(_0x204432,_0xacbcb6)=>(_0x24cd91,_0x37cfcd)=>_0xacbcb6(_0x24cd91,_0x37cfcd,_0x204432);_0x42c0de[_0x43ec4c(0x373)]=class extends _0x50235c['RxDisposable']{constructor(_0x106386,_0x5a1bf9,_0x29056d,_0x54378d,_0x2d0255){const _0x144d88=_0x43ec4c;super(),this[_0x144d88(0x3c5)]=_0x106386,this[_0x144d88(0x1eb)]=_0x5a1bf9,this['_commandService']=_0x29056d,this['_dataLoaderService']=_0x54378d,_0x2d0255?_0x2d0255==null||_0x2d0255[_0x144d88(0x1f9)]()['then'](()=>this['_init']()):(this[_0x144d88(0x1eb)][_0x144d88(0x143)](_0x144d88(0x31c),_0x144d88(0xdc)),this[_0x144d88(0x38d)]());}async['_init'](){const _0xb996cd=_0x43ec4c,_0x579c65=this[_0xb996cd(0x3c5)][_0xb996cd(0x17a)](_0xb996cd(0x271)),_0x2979c4=this[_0xb996cd(0x3c5)]['getParam'](_0xb996cd(0x2e6)),_0x2a4dc9=this[_0xb996cd(0x3c5)][_0xb996cd(0x17a)](_0xb996cd(0x37e));if(!_0x579c65||!_0x2979c4){this[_0xb996cd(0x1eb)]['debug'](_0xb996cd(0x31c),_0xb996cd(0x323));return;}const _0x154e61=await this[_0xb996cd(0x32f)][_0xb996cd(0x232)](_0x579c65,Number(_0x2979c4),_0x2a4dc9);_0x154e61&&_0x154e61 instanceof _0x50235c[_0xb996cd(0x1de)]&&this[_0xb996cd(0x1a7)](_0x154e61);}async[_0x43ec4c(0x1a7)](_0x406aff){const _0xdb904=_0x43ec4c;await this[_0xdb904(0x310)](_0x406aff),_0x406aff['activeSheet$'][_0xdb904(0x31e)](_0x4c6442[_0xdb904(0x2f9)](this[_0xdb904(0x3b8)]))[_0xdb904(0x1f4)](_0x2dbb61=>{_0x2dbb61&&this['_updateURLWithCurrentState'](_0x2dbb61);}),this[_0xdb904(0x3c5)]['urlChange$'][_0xdb904(0x31e)](_0x4c6442['takeUntil'](this[_0xdb904(0x3b8)]))[_0xdb904(0x1f4)](()=>this[_0xdb904(0x310)](_0x406aff));}['_updateURLWithCurrentState'](_0x1ef441,_0x232ea4=!0x1){const _0x3ea69f=_0x43ec4c,_0x161729=this[_0x3ea69f(0x3c5)]['getParam']('subunit');_0x1ef441[_0x3ea69f(0x1f2)]()!==_0x161729&&this[_0x3ea69f(0x3c5)][_0x3ea69f(0x16a)](_0x3ea69f(0x37e),_0x1ef441[_0x3ea69f(0x1f2)](),_0x232ea4);}async[_0x43ec4c(0x310)](_0x41e98b){const _0x1b037a=_0x43ec4c;var _0x283feb;const _0x373338=this[_0x1b037a(0x3c5)]['getParam']('subunit');if(!_0x373338||!_0x41e98b[_0x1b037a(0x358)](_0x373338)){const _0x2924e1=_0x41e98b['getUnhiddenWorksheets']()[0x0],_0x3ea962=_0x41e98b[_0x1b037a(0x358)](_0x2924e1);if(!_0x3ea962)return;this[_0x1b037a(0xf0)](_0x3ea962,!0x0),await this[_0x1b037a(0x340)][_0x1b037a(0x1e4)](_0x4cd203[_0x1b037a(0x3bc)]['id'],{'unitId':_0x41e98b[_0x1b037a(0x113)](),'subUnitId':_0x2924e1});return;}((_0x283feb=_0x41e98b[_0x1b037a(0x298)]())==null?void 0x0:_0x283feb[_0x1b037a(0x1f2)]())!==_0x373338&&await this[_0x1b037a(0x340)]['executeCommand'](_0x4cd203[_0x1b037a(0x3bc)]['id'],{'unitId':_0x41e98b[_0x1b037a(0x113)](),'subUnitId':_0x373338});}},_0x42c0de[_0x43ec4c(0x373)]=_0x3ae7e0([_0x3732f3(0x0,_0x24c3fe),_0x3732f3(0x1,_0x50235c[_0x43ec4c(0x2fe)]),_0x3732f3(0x2,_0x50235c[_0x43ec4c(0x1a0)]),_0x3732f3(0x3,_0x50235c[_0x43ec4c(0x25f)](_0x59d2d1[_0x43ec4c(0x1f5)])),_0x3732f3(0x4,_0x50235c[_0x43ec4c(0x2f5)](_0xd9ac66[_0x43ec4c(0x1b4)]))],_0x42c0de[_0x43ec4c(0x373)]);var _0x479367=Object[_0x43ec4c(0x303)],_0x596a0d=(_0x512387,_0x253fbb,_0x3aef38,_0x148af5)=>{const _0x1162d1=_0x43ec4c;for(var _0xbb238e=_0x148af5>0x1?void 0x0:_0x148af5?_0x479367(_0x253fbb,_0x3aef38):_0x253fbb,_0x13896e=_0x512387[_0x1162d1(0x229)]-0x1,_0x5d57a4;_0x13896e>=0x0;_0x13896e--)(_0x5d57a4=_0x512387[_0x13896e])&&(_0xbb238e=_0x5d57a4(_0xbb238e)||_0xbb238e);return _0xbb238e;},_0x5e1f2f=(_0x46fade,_0x2380ba)=>(_0x2e4802,_0x1cd8d6)=>_0x2380ba(_0x2e4802,_0x1cd8d6,_0x46fade);let _0x31f559=class extends _0x50235c[_0x43ec4c(0x2ef)]{constructor(_0x4e2057,_0x85ba0a){const _0x225c7a=_0x43ec4c;super(),this[_0x225c7a(0x169)]=_0x4e2057,this['_imageIoService']=_0x85ba0a,this[_0x225c7a(0x38d)]();}[_0x43ec4c(0x38d)](){const _0x3402dd=_0x43ec4c,_0x2becf8=this;this[_0x3402dd(0x2ab)](this[_0x3402dd(0x169)][_0x3402dd(0x34d)]({'onBeforePasteImage':async _0x282b33=>{const _0x154730=_0x3402dd,_0x170a79=await _0x2becf8['_imageIoService'][_0x154730(0x382)](_0x282b33);return _0x170a79?{'source':_0x170a79[_0x154730(0x33a)],'imageSourceType':_0x170a79[_0x154730(0x203)]}:null;}}));}};_0x31f559=_0x596a0d([_0x5e1f2f(0x0,_0x2d3daa[_0x43ec4c(0xff)]),_0x5e1f2f(0x1,_0x265313[_0x43ec4c(0x297)])],_0x31f559);const _0x5e6355=[_0x43ec4c(0x28e),_0x43ec4c(0x122),_0x43ec4c(0x1bf),_0x43ec4c(0x36f),_0x43ec4c(0x1dc),_0x43ec4c(0x29d)];class _0x3be8cc extends _0x50235c[_0x43ec4c(0x1d0)]{constructor(){const _0x136fd7=_0x43ec4c;super(...arguments),_0x4cf7ca(this,_0x136fd7(0x126),new Map()),_0x4cf7ca(this,_0x136fd7(0x37c),0x0);}[_0x43ec4c(0x24a)](_0x1cb918){const _0x39c624=_0x43ec4c;if(this[_0x39c624(0x126)]['has'](_0x1cb918))return this['_assignedColors'][_0x39c624(0x268)](_0x1cb918);const _0x5870b8=_0x5e6355[this[_0x39c624(0x37c)]];return this[_0x39c624(0x37c)]=(this[_0x39c624(0x37c)]+0x1)%_0x5e6355[_0x39c624(0x229)],this[_0x39c624(0x126)][_0x39c624(0x392)](_0x1cb918,_0x5870b8),_0x5870b8;}}function _0x4ce6ba(_0x21dad9){const _0x594d60=_0x43ec4c;let _0x1548b3='';for(const _0x4abfa3 of _0x21dad9){const {startOffset:_0xeb220f,endOffset:_0x5603f0,isActive:_0x215221,rangeType:_0x20dc18,segmentId:_0x29fa47,segmentPage:_0x118e6f}=_0x4abfa3;_0x1548b3[_0x594d60(0x229)]&&(_0x1548b3+=','),_0x1548b3+=_0xeb220f+':'+_0x5603f0+':'+(_0x215221?'1':'0')+':'+_0x20dc18+':'+_0x29fa47+':'+_0x118e6f;}return _0x1548b3;}function _0x180c71(_0x5b90a2){const _0x47f5c6=_0x43ec4c,_0x155109=_0x5b90a2[_0x47f5c6(0x21a)](','),_0x3a88ca=[];for(const _0x4ed9d5 of _0x155109){const [_0x17da9a,_0xfffc5e,_0x5ef5a7,_0x5f5b9f,_0x287fab,_0x9dd71e]=_0x4ed9d5[_0x47f5c6(0x21a)](':');_0x3a88ca['push']({'startOffset':Number(_0x17da9a),'endOffset':Number(_0xfffc5e),'collapsed':_0x17da9a===_0xfffc5e,'isActive':_0x5ef5a7==='1','rangeType':_0x5f5b9f===_0x50235c[_0x47f5c6(0x13a)][_0x47f5c6(0x1a4)]?_0x50235c[_0x47f5c6(0x13a)][_0x47f5c6(0x1a4)]:_0x50235c[_0x47f5c6(0x13a)][_0x47f5c6(0x103)],'segmentId':typeof _0x287fab==_0x47f5c6(0x2a5)?String(_0x287fab):'','segmentPage':Number(_0x9dd71e!=null?_0x9dd71e:-0x1)});}return _0x3a88ca[_0x47f5c6(0x22e)](_0x3aa4d1=>_0x3aa4d1[_0x47f5c6(0x208)])||(_0x3a88ca[0x0]['isActive']=!0x0),_0x3a88ca;}class _0x154e78 extends _0x50235c[_0x43ec4c(0x2ef)]{constructor(){const _0x2aee61=_0x43ec4c;super(...arguments),_0x4cf7ca(this,_0x2aee61(0x174),new _0x4c6442['BehaviorSubject'](null)),_0x4cf7ca(this,_0x2aee61(0x20a),this[_0x2aee61(0x174)][_0x2aee61(0xed)]());}[_0x43ec4c(0x166)](_0x473f57){const _0x4b1980=_0x43ec4c,{unitID:_0x3f2c52,memberID:_0x448aea,textRanges:_0x20e8a3}=_0x473f57,_0x130361=_0x4ce6ba(_0x20e8a3);if(_0x130361==='')return;const _0x917ae8={'unitID':_0x3f2c52,'memberID':_0x448aea,'selection':_0x130361};this[_0x4b1980(0x174)][_0x4b1980(0x127)](_0x917ae8);}}var _0x2b9f38=Object['getOwnPropertyDescriptor'],_0x35ff58=(_0x593239,_0x294ebd,_0x14bdf0,_0x19b359)=>{const _0x328aa4=_0x43ec4c;for(var _0x2b1887=_0x19b359>0x1?void 0x0:_0x19b359?_0x2b9f38(_0x294ebd,_0x14bdf0):_0x294ebd,_0x4de38b=_0x593239[_0x328aa4(0x229)]-0x1,_0x3fb1ed;_0x4de38b>=0x0;_0x4de38b--)(_0x3fb1ed=_0x593239[_0x4de38b])&&(_0x2b1887=_0x3fb1ed(_0x2b1887)||_0x2b1887);return _0x2b1887;},_0x2f0beb=(_0x288635,_0xec0544)=>(_0xae3a4f,_0x5f53ed)=>_0xec0544(_0xae3a4f,_0x5f53ed,_0x288635);const _0x2a1fb0=0x12c,_0x4a19a1=0x64;let _0x18fa7b=class extends _0x50235c['RxDisposable']{constructor(_0x431ad5,_0x4750e3,_0x509172,_0x1ad12d,_0x2a5b7e,_0x53b28a,_0x586cee,_0x2b0dac,_0x7b86e4){const _0x28244e=_0x43ec4c;super(),_0x4cf7ca(this,_0x28244e(0x283),!0x1),_0x4cf7ca(this,'_init',!0x1),_0x4cf7ca(this,'_cursorInfo$',new _0x4c6442[(_0x28244e(0x24b))](new Map())),_0x4cf7ca(this,_0x28244e(0x21e),this[_0x28244e(0x117)]['asObservable']()),_0x4cf7ca(this,_0x28244e(0x21c),new _0x4c6442[(_0x28244e(0x24b))]([])),_0x4cf7ca(this,'roomMembers$',this[_0x28244e(0x21c)]['pipe'](_0x4c6442[_0x28244e(0x16f)](_0x2a1fb0))),_0x4cf7ca(this,_0x28244e(0x1fe),_0x50235c[_0x28244e(0x39f)](_0x1c29b5=>{const _0x47e7f5=_0x28244e,_0x31cee2={'eventID':_0x482dc8['CollaborationEvent'][_0x47e7f5(0x190)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x47e7f5(0x333)](),'selection':_0x4ce6ba(_0x1c29b5)}};this[_0x47e7f5(0x2f2)][_0x47e7f5(0x1e3)](_0x31cee2,this[_0x47e7f5(0xec)]);},_0x4a19a1)),(this[_0x28244e(0xec)]=_0x431ad5,this[_0x28244e(0x2f2)]=_0x4750e3,this[_0x28244e(0x110)]=_0x509172,this['_colorAssignService']=_0x1ad12d,this[_0x28244e(0x27e)]=_0x2a5b7e,this[_0x28244e(0x251)]=_0x53b28a,this[_0x28244e(0x307)]=_0x586cee,this[_0x28244e(0x3c9)]=_0x2b0dac,this[_0x28244e(0x340)]=_0x7b86e4);}get[_0x43ec4c(0x2a7)](){const _0x252dec=_0x43ec4c;return this[_0x252dec(0x117)][_0x252dec(0x2da)]();}get[_0x43ec4c(0x2d8)](){const _0x3db0ee=_0x43ec4c;return this['_roomMembers$'][_0x3db0ee(0x2da)]();}['dispose'](){const _0x52f330=_0x43ec4c;super[_0x52f330(0x123)](),this[_0x52f330(0x117)][_0x52f330(0x127)](new Map()),this[_0x52f330(0x117)][_0x52f330(0x1dd)](),this[_0x52f330(0x21c)][_0x52f330(0x127)]([]),this[_0x52f330(0x21c)][_0x52f330(0x1dd)]();}[_0x43ec4c(0x324)](){const _0x1cc2e4=_0x43ec4c;this[_0x1cc2e4(0x38d)]||(this['_init']=!0x0,this[_0x1cc2e4(0x2f2)]['sessionStatus$'][_0x1cc2e4(0x31e)](_0x4c6442[_0x1cc2e4(0x2f9)](this[_0x1cc2e4(0x3b8)]))[_0x1cc2e4(0x1f4)](_0x48bc36=>{const _0x159d1a=_0x1cc2e4;_0x48bc36===_0x59d2d1['SessionStatus']['ONLINE']?this[_0x159d1a(0x321)]():this[_0x159d1a(0x17f)]();}),this[_0x1cc2e4(0x2f2)]['event$'][_0x1cc2e4(0x31e)](_0x4c6442[_0x1cc2e4(0x2f9)](this['dispose$']))['subscribe'](_0x5d46d8=>{const _0x527a54=_0x1cc2e4,_0x4bb519=_0x5d46d8[_0x527a54(0x1b8)];_0x4bb519===_0x482dc8[_0x527a54(0x1e2)][_0x527a54(0x190)]&&this[_0x527a54(0x30e)](_0x5d46d8),_0x4bb519===_0x482dc8[_0x527a54(0x1e2)][_0x527a54(0x3a5)]&&this['_onCursorDelete'](_0x5d46d8);}),this['disposeWithMe'](this[_0x1cc2e4(0x340)][_0x1cc2e4(0x192)](_0x10366c=>{const _0x264852=_0x1cc2e4,_0x37746e=_0x10366c[_0x264852(0x329)];_0x37746e!=null&&this[_0x264852(0x283)]&&_0x10366c['id']===_0x4a4656['SetTextSelectionsOperation']['id']&&_0x37746e[_0x264852(0x374)]===this[_0x264852(0xec)]&&_0x37746e[_0x264852(0x2c8)]===!0x1&&_0x37746e[_0x264852(0xf3)]['length']>0x0&&this[_0x264852(0x1fe)](_0x37746e[_0x264852(0xf3)]);})),this[_0x1cc2e4(0x251)][_0x1cc2e4(0x20a)]['pipe'](_0x4c6442[_0x1cc2e4(0x2f9)](this[_0x1cc2e4(0x3b8)]))[_0x1cc2e4(0x1f4)](_0x1a0fc0=>{const _0x194393=_0x1cc2e4;if((_0x1a0fc0==null?void 0x0:_0x1a0fc0[_0x194393(0xec)])!==this[_0x194393(0xec)])return;const _0x48ad19={'eventID':_0x482dc8[_0x194393(0x1e2)][_0x194393(0x190)],'data':_0x1a0fc0};this['_onCursorUpdate'](_0x48ad19);}),this[_0x1cc2e4(0x2ab)](this[_0x1cc2e4(0x340)][_0x1cc2e4(0x192)](_0x5e3eff=>{const _0x3624cd=_0x1cc2e4;if(_0x5e3eff['params']==null)return;const _0x174999=_0x5e3eff['params'];if(_0x5e3eff['id']!==_0x4a4656[_0x3624cd(0x182)]['id']||_0x174999[_0x3624cd(0x374)]!==this[_0x3624cd(0xec)])return;const _0x2eb3de={'id':_0x3624cd(0x140),'params':_0x174999},_0x7270b4=this['cursorInfo'];for(const [_0x3c3a3c,_0x1ca5e2]of _0x7270b4){const _0x2f3fe1={'id':_0x3624cd(0x140),'params':{'unitId':this[_0x3624cd(0xec)],'actions':null,'textRanges':_0x1ca5e2['ranges']}},_0x5eac81=this['_transformService']['transformMutation'](_0x2eb3de,_0x2f3fe1,!0x1);if(_0x482dc8['isTransformMutationFailure'](_0x5eac81))throw _0x5eac81[_0x3624cd(0x226)];_0x7270b4['set'](_0x3c3a3c,{..._0x1ca5e2,'ranges':_0x5eac81[_0x3624cd(0x101)][_0x3624cd(0x329)][_0x3624cd(0x2f4)]});}queueMicrotask(()=>{const _0xed1f60=_0x3624cd;this[_0xed1f60(0x117)][_0xed1f60(0x127)](_0x7270b4);});})));}[_0x43ec4c(0x30e)](_0x3623fa){const _0x315e61=_0x43ec4c;var _0x24b94c,_0x37c371;const {memberID:_0x120d38,selection:_0x43e2da}=_0x3623fa[_0x315e61(0x212)],_0x5de2a8=_0x180c71(_0x43e2da),_0x40d235=(_0x37c371=(_0x24b94c=this['_memberService'][_0x315e61(0x2de)](this[_0x315e61(0xec)],_0x120d38))==null?void 0x0:_0x24b94c[_0x315e61(0x25d)])!=null?_0x37c371:_0x315e61(0x35a),_0x20a361={'color':this[_0x315e61(0x176)][_0x315e61(0x24a)](_0x120d38),'name':_0x40d235,'ranges':_0x5de2a8},_0x1b956b=this[_0x315e61(0x2a7)];_0x1b956b[_0x315e61(0x392)](_0x120d38,_0x20a361),this[_0x315e61(0x117)][_0x315e61(0x127)](_0x1b956b);}[_0x43ec4c(0x2f7)](_0x3870f7){const _0x5a1ab9=_0x43ec4c,{memberID:_0x31dccf}=_0x3870f7['data'],_0x43e6e2=this[_0x5a1ab9(0x2a7)];_0x43e6e2[_0x5a1ab9(0x37b)](_0x31dccf),this[_0x5a1ab9(0x117)]['next'](_0x43e6e2);}[_0x43ec4c(0x321)](){const _0x58c54d=_0x43ec4c;var _0x122143;if(this[_0x58c54d(0x283)]=!0x0,((_0x122143=this[_0x58c54d(0x3c9)][_0x58c54d(0x289)]())==null?void 0x0:_0x122143[_0x58c54d(0x113)]())!==this[_0x58c54d(0xec)])return;const _0x559b1c=this[_0x58c54d(0x110)][_0x58c54d(0x268)](_0x4a4656['DocSelectionManagerService'])[_0x58c54d(0x2b3)]();Array['isArray'](_0x559b1c)&&_0x559b1c[_0x58c54d(0x229)]>0x0&&this[_0x58c54d(0x1fe)](_0x559b1c);}[_0x43ec4c(0x17f)](){const _0x2776d4=_0x43ec4c;this[_0x2776d4(0x283)]=!0x1;}};_0x18fa7b=_0x35ff58([_0x2f0beb(0x2,_0x50235c['Inject'](_0x50235c[_0x43ec4c(0x2ec)])),_0x2f0beb(0x3,_0x50235c[_0x43ec4c(0x25f)](_0x3be8cc)),_0x2f0beb(0x4,_0x50235c[_0x43ec4c(0x25f)](_0x59d2d1[_0x43ec4c(0x380)])),_0x2f0beb(0x5,_0x50235c[_0x43ec4c(0x25f)](_0x154e78)),_0x2f0beb(0x6,_0x482dc8['ITransformService']),_0x2f0beb(0x7,_0x50235c[_0x43ec4c(0x281)]),_0x2f0beb(0x8,_0x50235c[_0x43ec4c(0x1a0)])],_0x18fa7b);var _0x1fcc94=Object[_0x43ec4c(0x303)],_0x34335e=(_0x41c0f4,_0x26f800,_0x1e020f,_0x1d88f4)=>{const _0x3b795d=_0x43ec4c;for(var _0x349175=_0x1d88f4>0x1?void 0x0:_0x1d88f4?_0x1fcc94(_0x26f800,_0x1e020f):_0x26f800,_0x1c6750=_0x41c0f4[_0x3b795d(0x229)]-0x1,_0x27cc76;_0x1c6750>=0x0;_0x1c6750--)(_0x27cc76=_0x41c0f4[_0x1c6750])&&(_0x349175=_0x27cc76(_0x349175)||_0x349175);return _0x349175;},_0x213bda=(_0x305943,_0x4ac5be)=>(_0x484a83,_0x9c2015)=>_0x4ac5be(_0x484a83,_0x9c2015,_0x305943);const _0x372b13=0x12c,_0x107736=0x64,_0xfdadae=()=>{let _0x437917=[],_0x3588fe=!0x1;return _0x8f1c5f=>{const _0x11d0a0=_0x3d56;_0x437917[_0x11d0a0(0x2f0)](_0x8f1c5f),_0x3588fe||(_0x3588fe=!0x0,setTimeout(()=>{const _0x1fcd0b=_0x11d0a0;_0x437917[_0x1fcd0b(0x10d)](_0x3e0882=>_0x3e0882()),_0x437917=[],_0x3588fe=!0x1;}));};};let _0x3dc319=class extends _0x50235c[_0x43ec4c(0x2ef)]{constructor(_0x2774ae,_0x50b8d4,_0x1b2680,_0x25802f,_0x315ba9,_0x33e9cb,_0x134ca9,_0x57f167){const _0x5f45ea=_0x43ec4c;super(),_0x4cf7ca(this,_0x5f45ea(0x283),!0x1),_0x4cf7ca(this,_0x5f45ea(0x38d),!0x1),_0x4cf7ca(this,_0x5f45ea(0x117),new _0x4c6442[(_0x5f45ea(0x24b))](new Map())),_0x4cf7ca(this,'cursorInfo$',this[_0x5f45ea(0x117)]['asObservable']()),_0x4cf7ca(this,_0x5f45ea(0x21c),new _0x4c6442['BehaviorSubject']([])),_0x4cf7ca(this,_0x5f45ea(0x309),this[_0x5f45ea(0x21c)][_0x5f45ea(0x31e)](_0x4c6442[_0x5f45ea(0x16f)](_0x372b13))),_0x4cf7ca(this,_0x5f45ea(0x1fe),_0x50235c[_0x5f45ea(0x39f)]((_0x5a263b,_0x499ec9)=>{const _0xced5f6=_0x5f45ea,_0x4806f4={'eventID':_0x482dc8[_0xced5f6(0x1e2)][_0xced5f6(0x190)],'data':{'unitID':this['unitID'],'memberID':this[_0xced5f6(0x2f2)][_0xced5f6(0x333)](),'selection':_0x5554c2[_0xced5f6(0x1b3)](_0x5a263b,_0x499ec9[_0xced5f6(0x2d3)])}};this['_session'][_0xced5f6(0x1e3)](_0x4806f4,this['unitID']);},_0x107736)),(this[_0x5f45ea(0xec)]=_0x2774ae,this[_0x5f45ea(0x2f2)]=_0x50b8d4,this['_injector']=_0x1b2680,this[_0x5f45ea(0x176)]=_0x25802f,this[_0x5f45ea(0x27e)]=_0x315ba9,this['_univerInstanceService']=_0x33e9cb,this[_0x5f45ea(0x340)]=_0x134ca9,this[_0x5f45ea(0x13d)]=_0x57f167);}get[_0x43ec4c(0x2a7)](){const _0x4be9a5=_0x43ec4c;return this[_0x4be9a5(0x117)][_0x4be9a5(0x2da)]();}get['roomMembers'](){const _0x1c6b57=_0x43ec4c;return this['_roomMembers$'][_0x1c6b57(0x2da)]();}['dispose'](){const _0x1bbe27=_0x43ec4c;super[_0x1bbe27(0x123)](),this[_0x1bbe27(0x117)]['next'](new Map()),this[_0x1bbe27(0x117)][_0x1bbe27(0x1dd)](),this[_0x1bbe27(0x21c)][_0x1bbe27(0x127)]([]),this['_roomMembers$'][_0x1bbe27(0x1dd)]();}['init'](){const _0x298a5e=_0x43ec4c;this[_0x298a5e(0x38d)]||(this[_0x298a5e(0x38d)]=!0x0,this['_session']['sessionStatus$'][_0x298a5e(0x31e)](_0x4c6442[_0x298a5e(0x2f9)](this[_0x298a5e(0x3b8)]))[_0x298a5e(0x1f4)](_0x19bc49=>{const _0x5a4b37=_0x298a5e;_0x19bc49===_0x59d2d1[_0x5a4b37(0x189)][_0x5a4b37(0x187)]?this[_0x5a4b37(0x321)]():this['_toggleOffline']();}),this['_session']['event$']['pipe'](_0x4c6442[_0x298a5e(0x2f9)](this['dispose$']))['subscribe'](_0x5db55d=>{const _0x35e1a8=_0x298a5e,_0x2e96d4=_0x5db55d[_0x35e1a8(0x1b8)];_0x2e96d4===_0x482dc8[_0x35e1a8(0x1e2)][_0x35e1a8(0x190)]&&this['_onCursorUpdate'](_0x5db55d),_0x2e96d4===_0x482dc8[_0x35e1a8(0x1e2)][_0x35e1a8(0x3a5)]&&this[_0x35e1a8(0x2f7)](_0x5db55d);}),this[_0x298a5e(0x1b7)](),this[_0x298a5e(0x2ab)](this['_commandService'][_0x298a5e(0x192)](_0xb943b8=>{const _0x53bcdc=_0x298a5e;if(this[_0x53bcdc(0x283)]&&_0xb943b8['id']===_0x4cd203[_0x53bcdc(0x36a)]['id']&&_0xb943b8[_0x53bcdc(0x329)]['unitId']===this['unitID']){const _0x7e2b42=_0xb943b8[_0x53bcdc(0x329)];this['_updateLocalCursor'](_0x7e2b42[_0x53bcdc(0x2af)],_0x7e2b42[_0x53bcdc(0xe8)][0x0]);}})));}[_0x43ec4c(0x30e)](_0xaa480b){const _0x525967=_0x43ec4c;var _0x1e2e28,_0x4c215e;const {memberID:_0x46764e,selection:_0x86b295}=_0xaa480b[_0x525967(0x212)],{sheetName:_0x21595f,range:_0x2e5f15}=_0x5554c2[_0x525967(0x2c1)](_0x86b295),_0x315a81={'name':(_0x4c215e=(_0x1e2e28=this['_memberService'][_0x525967(0x2de)](this['unitID'],_0x46764e))==null?void 0x0:_0x1e2e28['name'])!=null?_0x4c215e:_0x525967(0x35a),'range':this[_0x525967(0x14e)](_0x21595f,_0x2e5f15),'sheetID':_0x21595f,'color':this[_0x525967(0x176)][_0x525967(0x24a)](_0x46764e),'selection':_0x86b295},_0x11e021=this[_0x525967(0x2a7)];_0x11e021[_0x525967(0x392)](_0x46764e,_0x315a81),this['_cursorInfo$']['next'](_0x11e021);}['_onCursorDelete'](_0x3dd1a9){const _0x34c08b=_0x43ec4c,{memberID:_0x3aa115}=_0x3dd1a9[_0x34c08b(0x212)],_0x4f7d9a=this[_0x34c08b(0x2a7)];_0x4f7d9a[_0x34c08b(0x37b)](_0x3aa115),this[_0x34c08b(0x117)]['next'](_0x4f7d9a);}[_0x43ec4c(0x14e)](_0x500b35,_0x5770d7){const _0x5f201a=_0x43ec4c;var _0x3c591e,_0x32de9e;const _0x2f0287=(_0x32de9e=(_0x3c591e=this[_0x5f201a(0x3c9)]['getUniverSheetInstance'](this[_0x5f201a(0xec)]))==null?void 0x0:_0x3c591e[_0x5f201a(0x358)](_0x500b35))==null?void 0x0:_0x32de9e[_0x5f201a(0x243)]();return(_0x2f0287==null?void 0x0:_0x2f0287['find'](_0x5cc1f8=>_0x50235c[_0x5f201a(0x372)][_0x5f201a(0x3bd)](_0x5cc1f8,_0x5770d7)))||_0x5770d7;}[_0x43ec4c(0x1b7)](){const _0x346e9f=_0x43ec4c,_0xdaa36d=new _0x50235c['DisposableCollection'](),_0x2c532d=_0xfdadae(),_0x4886ce=()=>{const _0x1fdb8c=_0x3d56;_0xdaa36d[_0x1fdb8c(0x123)]();const _0x20f5bf=(_0x3a84d9,_0x2eb9d4,_0x334109,_0x37c52c)=>{const _0x541397=_0x1fdb8c;let _0x1d7207=[];switch(_0x3a84d9['id']){case _0x4cd203['EffectRefRangId'][_0x541397(0x1d1)]:{_0x1d7207=_0x4cd203[_0x541397(0x2df)](_0x3a84d9,_0x37c52c);break;}case _0x4cd203['EffectRefRangId'][_0x541397(0xee)]:{_0x1d7207=_0x4cd203[_0x541397(0x1e7)](_0x3a84d9,_0x37c52c);break;}case _0x4cd203[_0x541397(0x3c3)]['InsertColCommandId']:{_0x1d7207=_0x4cd203[_0x541397(0x194)](_0x3a84d9,_0x37c52c);break;}case _0x4cd203[_0x541397(0x3c3)]['InsertRangeMoveDownCommandId']:{_0x1d7207=_0x4cd203['handleInsertRangeMoveDown'](_0x3a84d9,_0x37c52c);break;}case _0x4cd203['EffectRefRangId'][_0x541397(0x2bb)]:{_0x1d7207=_0x4cd203[_0x541397(0x181)](_0x3a84d9,_0x37c52c);break;}case _0x4cd203['EffectRefRangId'][_0x541397(0x249)]:{_0x1d7207=_0x4cd203[_0x541397(0xfa)](_0x3a84d9,_0x37c52c);break;}case _0x4cd203['EffectRefRangId'][_0x541397(0x2e5)]:{_0x1d7207=_0x4cd203[_0x541397(0x2ea)](_0x3a84d9,_0x37c52c);break;}case _0x4cd203[_0x541397(0x3c3)][_0x541397(0x2b4)]:{_0x1d7207=_0x4cd203[_0x541397(0x112)](_0x3a84d9,_0x37c52c);break;}case _0x4cd203[_0x541397(0x3c3)][_0x541397(0x1d7)]:{_0x1d7207=_0x4cd203['handleIRemoveRow'](_0x3a84d9,_0x37c52c);break;}}const _0x288889=_0x4cd203[_0x541397(0x264)](_0x1d7207,_0x37c52c),_0x83ab9c=this[_0x541397(0x2a7)][_0x541397(0x268)](_0x2eb9d4);if(_0x83ab9c&&_0x288889){const _0x5c0309={..._0x83ab9c,'range':_0x288889};this['cursorInfo']['set'](_0x2eb9d4,_0x5c0309),_0x2c532d(()=>{const _0x45e694=_0x541397,_0x3ad700=this[_0x45e694(0x13d)]['registerRefRange'](_0x288889,_0x4e8ea8=>(_0x3ad700[_0x45e694(0x123)](),_0x20f5bf(_0x4e8ea8,_0x2eb9d4,_0x334109,_0x288889)));_0xdaa36d['add'](_0x3ad700);});}return{'redos':[],'undos':[]};};this[_0x1fdb8c(0x2a7)][_0x1fdb8c(0x10d)]((_0x22b1e9,_0x4f124a)=>{const _0x1e0187=_0x1fdb8c,{range:_0x2c1e12,sheetID:_0x27b849}=_0x22b1e9,_0x46dc80=this[_0x1e0187(0x13d)][_0x1e0187(0x3a0)](_0x2c1e12,_0x250638=>(_0x46dc80[_0x1e0187(0x123)](),_0x20f5bf(_0x250638,_0x4f124a,_0x27b849,_0x2c1e12)));_0xdaa36d['add'](_0x46dc80);});};this['disposeWithMe'](_0x50235c[_0x346e9f(0x2ff)](this[_0x346e9f(0x117)][_0x346e9f(0x1f4)](()=>{_0x4886ce();})));}[_0x43ec4c(0x321)](){const _0x2104b1=_0x43ec4c;var _0x3009a1,_0x1b3935;if(this['_online']=!0x0,((_0x3009a1=this['_univerInstanceService'][_0x2104b1(0x289)]())==null?void 0x0:_0x3009a1[_0x2104b1(0x113)]())!==this[_0x2104b1(0xec)])return;const _0x3316b0=(_0x1b3935=this[_0x2104b1(0x110)][_0x2104b1(0x268)](_0x4cd203[_0x2104b1(0x162)])[_0x2104b1(0x178)]())==null?void 0x0:_0x1b3935[0x0],_0x4bb311=this[_0x2104b1(0x3c9)][_0x2104b1(0x1e5)](_0x50235c[_0x2104b1(0x328)]['UNIVER_SHEET'])[_0x2104b1(0x298)]();_0x3316b0&&_0x4bb311&&this['_updateLocalCursor'](_0x4bb311[_0x2104b1(0x1f2)](),_0x3316b0);}[_0x43ec4c(0x17f)](){const _0x4657d9=_0x43ec4c;this[_0x4657d9(0x283)]=!0x1;}};_0x3dc319=_0x34335e([_0x213bda(0x2,_0x50235c[_0x43ec4c(0x25f)](_0x50235c[_0x43ec4c(0x2ec)])),_0x213bda(0x3,_0x50235c[_0x43ec4c(0x25f)](_0x3be8cc)),_0x213bda(0x4,_0x50235c[_0x43ec4c(0x25f)](_0x59d2d1[_0x43ec4c(0x380)])),_0x213bda(0x5,_0x50235c[_0x43ec4c(0x281)]),_0x213bda(0x6,_0x50235c[_0x43ec4c(0x1a0)]),_0x213bda(0x7,_0x50235c[_0x43ec4c(0x25f)](_0x4cd203[_0x43ec4c(0x204)]))],_0x3dc319);var _0x24e35b=Object[_0x43ec4c(0x303)],_0x3e3272=(_0x54d1c3,_0xc1d18f,_0x1beeff,_0x4027d8)=>{const _0x4627da=_0x43ec4c;for(var _0x505c92=_0x4027d8>0x1?void 0x0:_0x4027d8?_0x24e35b(_0xc1d18f,_0x1beeff):_0xc1d18f,_0x126269=_0x54d1c3[_0x4627da(0x229)]-0x1,_0x50076a;_0x126269>=0x0;_0x126269--)(_0x50076a=_0x54d1c3[_0x126269])&&(_0x505c92=_0x50076a(_0x505c92)||_0x505c92);return _0x505c92;},_0x319f55=(_0x4d5982,_0x4b5350)=>(_0x508021,_0x15e09e)=>_0x4b5350(_0x508021,_0x15e09e,_0x4d5982);let _0xa39003=class extends _0x50235c['RxDisposable']{constructor(_0xeeee1,_0x5c259e,_0x45441d){const _0x1c9e14=_0x43ec4c;super(),_0x4cf7ca(this,_0x1c9e14(0x139),new Map()),_0x4cf7ca(this,_0x1c9e14(0x2fd),new _0x4c6442[(_0x1c9e14(0x274))]()),(this[_0x1c9e14(0x3c9)]=_0xeeee1,this[_0x1c9e14(0x110)]=_0x5c259e,this['_collabSessionService']=_0x45441d,this[_0x1c9e14(0x38d)]());}[_0x43ec4c(0x123)](){const _0x8d05df=_0x43ec4c;super[_0x8d05df(0x123)](),this[_0x8d05df(0x2fd)][_0x8d05df(0x1dd)](),this[_0x8d05df(0x139)][_0x8d05df(0x10d)](_0x4b0c4a=>_0x4b0c4a[_0x8d05df(0x123)]());}[_0x43ec4c(0x2ee)](_0xccd7b8){const _0x3ce4a0=_0x43ec4c;return this['_entities'][_0x3ce4a0(0x1d2)](_0xccd7b8)?this[_0x3ce4a0(0x139)]['get'](_0xccd7b8)[_0x3ce4a0(0x21e)]:this[_0x3ce4a0(0x2fd)][_0x3ce4a0(0x31e)](_0x4c6442[_0x3ce4a0(0x172)](_0x1ce62b=>_0x1ce62b['unitID']===_0xccd7b8),_0x4c6442[_0x3ce4a0(0x317)](_0x31fb17=>_0x31fb17[_0x3ce4a0(0x21e)]));}['_init'](){const _0x38ed5c=_0x43ec4c;this[_0x38ed5c(0x3c9)]['getTypeOfUnitAdded$'](_0x50235c[_0x38ed5c(0x328)][_0x38ed5c(0x31a)])[_0x38ed5c(0x31e)](_0x4c6442[_0x38ed5c(0x2f9)](this[_0x38ed5c(0x3b8)]))[_0x38ed5c(0x1f4)](async _0x50bd3d=>{const _0x356367=_0x38ed5c,_0x8c9c1d=_0x50bd3d['getUnitId'](),_0x4b1c4b=await this[_0x356367(0x220)](_0x8c9c1d);this[_0x356367(0x2fd)]['next'](_0x4b1c4b),this[_0x356367(0x139)][_0x356367(0x392)](_0x8c9c1d,_0x4b1c4b);}),this[_0x38ed5c(0x3c9)]['getTypeOfUnitAdded$'](_0x50235c['UniverInstanceType'][_0x38ed5c(0x18c)])[_0x38ed5c(0x31e)](_0x4c6442[_0x38ed5c(0x2f9)](this['dispose$']))[_0x38ed5c(0x31e)](_0x4c6442[_0x38ed5c(0x172)](_0x416a74=>!_0x416a74[_0x38ed5c(0x113)]()[_0x38ed5c(0x29a)]('__')))['subscribe'](async _0x1a4737=>{const _0x3da302=_0x38ed5c,_0x398c0f=_0x1a4737['getUnitId'](),_0x5251a4=await this[_0x3da302(0x35b)](_0x398c0f);this[_0x3da302(0x2fd)][_0x3da302(0x127)](_0x5251a4),this[_0x3da302(0x139)][_0x3da302(0x392)](_0x398c0f,_0x5251a4);}),_0x4c6442[_0x38ed5c(0x15f)](this[_0x38ed5c(0x3c9)]['getTypeOfUnitDisposed$'](_0x50235c[_0x38ed5c(0x328)][_0x38ed5c(0x18c)]),this[_0x38ed5c(0x3c9)]['getTypeOfUnitDisposed$'](_0x50235c[_0x38ed5c(0x328)][_0x38ed5c(0x31a)]))['pipe'](_0x4c6442[_0x38ed5c(0x2f9)](this[_0x38ed5c(0x3b8)]))[_0x38ed5c(0x1f4)](_0x4de3db=>{const _0x1d9dc6=_0x38ed5c,_0x2e6107=_0x4de3db['getUnitId'](),_0x51880c=this[_0x1d9dc6(0x139)][_0x1d9dc6(0x268)](_0x2e6107);_0x51880c&&(_0x51880c[_0x1d9dc6(0x123)](),this[_0x1d9dc6(0x139)]['delete'](_0x2e6107));});}async[_0x43ec4c(0x220)](_0x213ac3){const _0x5ea2dd=_0x43ec4c,_0xc20356=await this[_0x5ea2dd(0x28b)]['requireSession'](_0x213ac3),_0xebc831=this[_0x5ea2dd(0x110)]['createInstance'](_0x3dc319,_0x213ac3,_0xc20356);return _0xebc831[_0x5ea2dd(0x324)](),_0xebc831;}async['_startDocCollabCursor'](_0x469db4){const _0x56003b=_0x43ec4c,_0x36a7cb=await this[_0x56003b(0x28b)][_0x56003b(0x1a1)](_0x469db4),_0x128898=this[_0x56003b(0x110)][_0x56003b(0x2cf)](_0x18fa7b,_0x469db4,_0x36a7cb);return _0x128898[_0x56003b(0x324)](),_0x128898;}};_0xa39003=_0x3e3272([_0x319f55(0x0,_0x50235c[_0x43ec4c(0x281)]),_0x319f55(0x1,_0x50235c[_0x43ec4c(0x25f)](_0x50235c[_0x43ec4c(0x2ec)])),_0x319f55(0x2,_0x50235c[_0x43ec4c(0x25f)](_0x59d2d1['CollaborationSessionService']))],_0xa39003);const _0x17490d=0x14,_0x481715=0xc8,_0x56049f=0x4,_0x3df532=0x5;function _0x29e66a(_0x33d1d8,_0xf2d916){const _0xf3b1d5=_0x43ec4c;let {radius:_0x232eee,width:_0x4377dc,height:_0x570719}=_0xf2d916;_0x232eee=_0x232eee!=null?_0x232eee:0x0,_0x4377dc=_0x4377dc!=null?_0x4377dc:0x1e,_0x570719=_0x570719!=null?_0x570719:0x1e;let _0x200adb=0x0,_0x2f116e=0x0,_0xfd0932=0x0;_0x200adb=_0x2f116e=_0xfd0932=Math[_0xf3b1d5(0x28c)](_0x232eee,_0x4377dc/0x2,_0x570719/0x2),_0x33d1d8[_0xf3b1d5(0x2b2)](),_0x33d1d8[_0xf3b1d5(0x301)](_0x200adb,0x0),_0x33d1d8['lineTo'](_0x4377dc-_0x2f116e,0x0),_0x33d1d8[_0xf3b1d5(0xfd)](_0x4377dc-_0x2f116e,_0x2f116e,_0x2f116e,Math['PI']*0x3/0x2,0x0,!0x1),_0x33d1d8[_0xf3b1d5(0x2c3)](_0x4377dc,_0x570719-_0xfd0932),_0x33d1d8['arc'](_0x4377dc-_0xfd0932,_0x570719-_0xfd0932,_0xfd0932,0x0,Math['PI']/0x2,!0x1),_0x33d1d8[_0xf3b1d5(0x2c3)](0x0,_0x570719),_0x33d1d8['lineTo'](0x0,_0x200adb),_0x33d1d8['arc'](_0x200adb,_0x200adb,_0x200adb,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x33d1d8[_0xf3b1d5(0x15b)](),_0xf2d916[_0xf3b1d5(0x26d)]&&(_0x33d1d8[_0xf3b1d5(0x252)](),_0x33d1d8[_0xf3b1d5(0x199)]=_0xf2d916[_0xf3b1d5(0x26d)],_0xf2d916[_0xf3b1d5(0x23a)]===_0xf3b1d5(0x201)?_0x33d1d8['fill'](_0xf3b1d5(0x201)):_0x33d1d8[_0xf3b1d5(0x26d)](),_0x33d1d8[_0xf3b1d5(0x360)]());}class _0x343a97 extends _0x1a4c38['Shape']{constructor(_0x203d02,_0x550462){const _0x2eaf58=_0x43ec4c;super(_0x203d02,_0x550462),_0x4cf7ca(this,_0x2eaf58(0x25c)),_0x4cf7ca(this,_0x2eaf58(0x38e)),(this[_0x2eaf58(0x25c)]=_0x550462==null?void 0x0:_0x550462[_0x2eaf58(0x25c)],this['text']=_0x550462==null?void 0x0:_0x550462[_0x2eaf58(0x38e)]);}static[_0x43ec4c(0xf4)](_0x3478a6,_0x42307b){const _0x25d9e3=_0x43ec4c,{text:_0x3b9569,color:_0x510366}=_0x42307b;_0x3478a6[_0x25d9e3(0x252)](),_0x3478a6[_0x25d9e3(0x1da)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x553f78=_0x3478a6[_0x25d9e3(0x3aa)](_0x3b9569)[_0x25d9e3(0x177)],_0x47cc09=Math[_0x25d9e3(0x28c)](_0x553f78+0x2*_0x56049f,_0x481715);_0x29e66a(_0x3478a6,{'height':_0x17490d,'radius':0x4,'width':_0x47cc09,'fill':_0x510366}),_0x3478a6[_0x25d9e3(0x199)]=_0x25d9e3(0x107);const _0xa6f637=_0x56049f,_0x5a9942=_0x17490d-_0x3df532,_0x2126ad=_0x481715-0x2*_0x56049f;if(_0x553f78>_0x2126ad){let _0x416a8d='',_0x12d32f=0x0;for(const _0x594ccf of _0x3b9569){const _0x3dcfac=_0x3478a6[_0x25d9e3(0x3aa)](_0x594ccf)[_0x25d9e3(0x177)];if(_0x12d32f+_0x3dcfac<=_0x2126ad-_0x3478a6[_0x25d9e3(0x3aa)](_0x25d9e3(0x2a0))[_0x25d9e3(0x177)])_0x416a8d+=_0x594ccf,_0x12d32f+=_0x3dcfac;else{_0x416a8d+=_0x25d9e3(0x2a0);break;}}_0x3478a6[_0x25d9e3(0x34a)](_0x416a8d,_0xa6f637,_0x5a9942);}else _0x3478a6[_0x25d9e3(0x34a)](_0x3b9569,_0xa6f637,_0x5a9942);_0x3478a6[_0x25d9e3(0x360)]();}[_0x43ec4c(0x295)](_0x1783c0){_0x343a97['drawWith'](_0x1783c0,this);}}const _0x5dc112=_0x43ec4c(0x262),_0x5c3ef3=_0x43ec4c(0x345),_0x3537b6='collab-rect-range-',_0x474917=0x6,_0x484040=1.5,_0x39f28f=0x4,_0x35cf1a=1.5,_0x316f=_0x43ec4c(0x185);class _0x3198e5{constructor(_0x2721ad,_0x149a4d,_0x58254c,_0x462a17){const _0x243ccb=_0x43ec4c;_0x4cf7ca(this,'_shapes',[]),_0x4cf7ca(this,'_anchor',null),_0x4cf7ca(this,_0x243ccb(0x2fc),null),_0x4cf7ca(this,_0x243ccb(0x2c2),null),_0x4cf7ca(this,_0x243ccb(0x197),null),_0x4cf7ca(this,_0x243ccb(0x2d2),null),(this['_cursor']=_0x2721ad,this[_0x243ccb(0x138)]=_0x149a4d,this['_docSkeleton']=_0x58254c,this[_0x243ccb(0x11c)]=_0x462a17,this[_0x243ccb(0x304)]());}set[_0x43ec4c(0x257)](_0x2ebe41){const _0xb635a6=_0x43ec4c;_0x2ebe41?(this[_0xb635a6(0x2c2)]&&this[_0xb635a6(0x2c2)][_0xb635a6(0x362)](),this['_textBubble']&&this['_textBubble'][_0xb635a6(0x170)]()):(this[_0xb635a6(0x2c2)]&&this[_0xb635a6(0x2c2)]['show'](),this[_0xb635a6(0x2fc)]&&this['_textBubble'][_0xb635a6(0x362)]());}[_0x43ec4c(0x123)](){const _0xd9afbd=_0x43ec4c;for(const _0x205b77 of this[_0xd9afbd(0x2f3)])_0x205b77[_0xd9afbd(0x123)]();this['_textBubble']&&this[_0xd9afbd(0x2fc)]['dispose'](),this[_0xd9afbd(0x2c2)]&&this['_anchorDot'][_0xd9afbd(0x123)](),this['_anchor']&&this[_0xd9afbd(0x1aa)][_0xd9afbd(0x123)](),this[_0xd9afbd(0x2d2)]&&this[_0xd9afbd(0x2d2)]();}[_0x43ec4c(0x304)](){const _0xd1f7dc=_0x43ec4c;var _0x1414db;const {_docSkeleton:_0x387041,_document:_0x563668}=this,{color:_0x59e23d,name:_0x49cabb,ranges:_0x33091d}=this[_0xd1f7dc(0x36b)],_0x1076ad=_0x563668[_0xd1f7dc(0x26e)](),{docsLeft:_0x413d32,docsTop:_0x431983}=_0x1076ad,_0x2cd651=new _0x2d3daa[(_0xd1f7dc(0x336))](_0x1076ad,_0x387041);for(const {startOffset:_0x4e2a96,endOffset:_0x1ea37e,rangeType:_0xae1bcc,segmentId:_0x4d3598,segmentPage:_0x2c3f0a,collapsed:_0x5d5456,isActive:_0x3bb83a}of _0x33091d){const _0x2e29c6=_0x387041[_0xd1f7dc(0x2b9)](_0x4e2a96,!0x0,_0x4d3598,_0x2c3f0a);let _0x578379=_0x387041[_0xd1f7dc(0x2b9)](_0x1ea37e,!0x0,_0x4d3598,_0x2c3f0a);if(_0x578379==null&&(_0x578379=_0x387041[_0xd1f7dc(0x2b9)](_0x1ea37e-0x1,!0x1,_0x4d3598,_0x2c3f0a)),_0x3bb83a){const {contentBoxPointGroup:_0x1fbc9d}=_0x2cd651[_0xd1f7dc(0x188)](_0x578379,_0x578379);if(_0x1fbc9d['length']===0x0)continue;this[_0xd1f7dc(0x235)](_0x59e23d,_0x1fbc9d,_0x413d32,_0x431983,_0x49cabb),this['_eventUnsubscribe']=this[_0xd1f7dc(0x33d)]();}if(_0x2e29c6&&_0x578379){if(_0xae1bcc===_0x50235c['DOC_RANGE_TYPE']['RECT']){const _0x55d683=new _0x2d3daa[(_0xd1f7dc(0x37d))](_0x1076ad,_0x387041),{pointGroup:_0x1152bd}=(_0x1414db=_0x55d683[_0xd1f7dc(0x188)](_0x2e29c6,_0x578379))!=null?_0x1414db:{};if(_0x1152bd==null||_0x1152bd['length']===0x0)continue;this[_0xd1f7dc(0x270)](_0x59e23d,_0x1152bd,_0x413d32,_0x431983);}else{if(!_0x5d5456){const {borderBoxPointGroup:_0x1643b1}=_0x2cd651[_0xd1f7dc(0x188)](_0x2e29c6,_0x578379);if(_0x1643b1[_0xd1f7dc(0x229)]===0x0)continue;this['_drawTextRange'](_0x59e23d,_0x1643b1,_0x413d32,_0x431983);}}}}}['_drawAnchor'](_0x22f6d9,_0x15a782,_0x46080c,_0x51830e,_0x52882e){const _0x31fc38=_0x43ec4c,_0x53cc3b=this[_0x31fc38(0x153)](_0x15a782),{left:_0xeaf2e0,top:_0x44e4c1,height:_0x172ba1}=_0x53cc3b,_0x261049=this[_0x31fc38(0x32a)](),_0x46dc78=_0x35cf1a/_0x261049,_0x25f78f=new _0x1a4c38[(_0x31fc38(0x130))](_0x5dc112+_0x50235c[_0x31fc38(0x16d)](_0x474917),{'left':_0xeaf2e0+_0x46080c-_0x46dc78,'top':_0x44e4c1+_0x51830e,'height':_0x172ba1,'width':_0x484040,'fill':_0x22f6d9||_0x1a4c38[_0x31fc38(0x29f)](_0x50235c['COLORS'][_0x31fc38(0x2b5)],0x0),'strokeWidth':_0x46dc78,'stroke':_0x316f,'evented':!0x0});this[_0x31fc38(0x1aa)]=_0x25f78f,this['_scene']['addObject'](_0x25f78f,_0x2d3daa['TEXT_RANGE_LAYER_INDEX']);const _0x18f189=new _0x1a4c38['Rect'](_0x5dc112+_0x50235c[_0x31fc38(0x16d)](_0x474917),{'left':_0xeaf2e0+_0x46080c-_0x46dc78,'top':_0x44e4c1+_0x51830e-_0x39f28f/0x2,'height':_0x39f28f,'width':_0x39f28f,'fill':_0x22f6d9||_0x1a4c38[_0x31fc38(0x29f)](_0x50235c[_0x31fc38(0x16c)][_0x31fc38(0x2b5)],0x0),'strokeWidth':0x0,'stroke':_0x22f6d9||_0x1a4c38[_0x31fc38(0x29f)](_0x50235c[_0x31fc38(0x16c)][_0x31fc38(0x2b5)],0x0),'evented':!0x1});this[_0x31fc38(0x2c2)]=_0x18f189,this[_0x31fc38(0x138)]['addObject'](_0x18f189,_0x2d3daa['TEXT_RANGE_LAYER_INDEX']);const _0x29f9ac=new _0x343a97(_0x5dc112+_0x50235c[_0x31fc38(0x16d)](_0x474917),{'left':_0xeaf2e0+_0x46080c-_0x46dc78,'top':_0x44e4c1+_0x51830e-_0x17490d,'text':_0x52882e,'color':_0x22f6d9});this['_textBubble']=_0x29f9ac,this['_scene'][_0x31fc38(0x10c)](_0x29f9ac,_0x2d3daa[_0x31fc38(0x36e)]),this[_0x31fc38(0x257)]=!0x1;}[_0x43ec4c(0x33d)](){const _0x52ac35=_0x43ec4c,_0x337db7=this['_anchor']['onPointerEnter$'][_0x52ac35(0x1c3)](()=>{const _0x407daf=_0x52ac35;this[_0x407daf(0x257)]=!0x0;}),_0x2e8a9a=this[_0x52ac35(0x1aa)]['onPointerLeave$'][_0x52ac35(0x1c3)](()=>{const _0x4e0d6b=_0x52ac35;this['_hideTimer']&&clearTimeout(this[_0x4e0d6b(0x197)]),this[_0x4e0d6b(0x197)]=setTimeout(()=>{const _0x4f07ca=_0x4e0d6b;this[_0x4f07ca(0x257)]=!0x1;},0x7d0);});return()=>{const _0x2858c3=_0x52ac35;_0x337db7[_0x2858c3(0x13f)](),_0x2e8a9a[_0x2858c3(0x13f)]();};}[_0x43ec4c(0x179)](_0x45cd48,_0x5e5bd1,_0x5b3f2f,_0x3779cf){const _0x636918=_0x43ec4c,_0x572bcf=new _0x50235c[(_0x636918(0x18e))](_0x45cd48)['setAlpha'](0.2)['toRgbString'](),_0x28c7e0=new _0x1a4c38[(_0x636918(0x219))](_0x5c3ef3+_0x50235c[_0x636918(0x16d)](_0x474917),{'pointsGroup':_0x5e5bd1,'fill':_0x572bcf||_0x1a4c38[_0x636918(0x29f)](_0x50235c[_0x636918(0x16c)][_0x636918(0x2b5)],0.2),'left':_0x5b3f2f,'top':_0x3779cf,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x636918(0x2f3)]['push'](_0x28c7e0),this[_0x636918(0x138)]['addObject'](_0x28c7e0,_0x2d3daa['TEXT_RANGE_LAYER_INDEX']);}[_0x43ec4c(0x270)](_0x548dd6,_0xac2734,_0xc8b604,_0x12550b){const _0x5ea369=_0x43ec4c,_0x58ce5c=new _0x50235c[(_0x5ea369(0x18e))](_0x548dd6)[_0x5ea369(0x1db)](0.2)[_0x5ea369(0x3a4)](),_0xe4428b=new _0x1a4c38['RegularPolygon'](_0x3537b6+_0x50235c[_0x5ea369(0x16d)](_0x474917),{'pointsGroup':_0xac2734,'fill':_0x58ce5c||_0x1a4c38[_0x5ea369(0x29f)](_0x50235c[_0x5ea369(0x16c)][_0x5ea369(0x2b5)],0.2),'left':_0xc8b604,'top':_0x12550b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5ea369(0x2f3)][_0x5ea369(0x2f0)](_0xe4428b),this['_scene'][_0x5ea369(0x10c)](_0xe4428b,_0x2d3daa[_0x5ea369(0x36e)]);}[_0x43ec4c(0x153)](_0x3b8c8b){const _0x2d1d20=_0x3b8c8b[0x0],_0x3a408b=_0x2d1d20[0x0],_0x4192ae=_0x2d1d20[0x2],{x:_0x405cc4,y:_0x2b0064}=_0x3a408b,{x:_0x4f791a,y:_0x2de9bc}=_0x4192ae;return{'left':_0x405cc4,'top':_0x2b0064,'width':_0x4f791a-_0x405cc4,'height':_0x2de9bc-_0x2b0064};}[_0x43ec4c(0x32a)](){const _0x18939d=_0x43ec4c,{scaleX:_0x487676,scaleY:_0x3459dd}=this['_scene']['getAncestorScale']();return Math[_0x18939d(0x161)](_0x487676,_0x3459dd);}}var _0xde7b16=Object['getOwnPropertyDescriptor'],_0x4b1bf4=(_0x3161dd,_0x269089,_0x40c941,_0x46f388)=>{const _0x2e5ebd=_0x43ec4c;for(var _0xb83178=_0x46f388>0x1?void 0x0:_0x46f388?_0xde7b16(_0x269089,_0x40c941):_0x269089,_0x157e95=_0x3161dd[_0x2e5ebd(0x229)]-0x1,_0x3cde79;_0x157e95>=0x0;_0x157e95--)(_0x3cde79=_0x3161dd[_0x157e95])&&(_0xb83178=_0x3cde79(_0xb83178)||_0xb83178);return _0xb83178;},_0xf3f428=(_0x4980ed,_0x2e4205)=>(_0x2ef6a8,_0x32fa67)=>_0x2e4205(_0x2ef6a8,_0x32fa67,_0x4980ed);let _0x1444e1=class extends _0x50235c[_0x43ec4c(0x2ef)]{constructor(_0x6453d5,_0x448222,_0x3f7e12,_0x397873,_0x20cbf4){const _0x519cfa=_0x43ec4c;super(),_0x4cf7ca(this,_0x519cfa(0xe2),[]),_0x4cf7ca(this,_0x519cfa(0xda),[]),(this[_0x519cfa(0x2d0)]=_0x6453d5,this[_0x519cfa(0x24c)]=_0x448222,this['_collabCursorController']=_0x3f7e12,this[_0x519cfa(0x340)]=_0x397873,this[_0x519cfa(0x134)]=_0x20cbf4,this[_0x519cfa(0x38d)]());}[_0x43ec4c(0x38d)](){const _0x24cdf4=_0x43ec4c,_0xbb6e24=this[_0x24cdf4(0x2d0)]['unitId'],_0x42047d=this['_docSkeletonManagerService'];this[_0x24cdf4(0x2ab)](_0x4c6442['combineLatest']([this[_0x24cdf4(0xf6)][_0x24cdf4(0x2ee)](_0xbb6e24),this[_0x24cdf4(0x134)][_0x24cdf4(0x12b)]])['pipe'](_0x1611fd[_0x24cdf4(0x23b)](([_0x295aad,_0x4d5617])=>({'skeleton':_0x42047d[_0x24cdf4(0xe5)](),'cursors':[..._0x295aad['values']()][_0x24cdf4(0x114)](_0x44c147=>({..._0x44c147,'color':this['_themeService'][_0x24cdf4(0x3b4)](_0x44c147['color'])}))})))[_0x24cdf4(0x1f4)](_0x57ce9b=>{if(this['_removeCollabCursors'](),_0x57ce9b){const {skeleton:_0x2342c3,cursors:_0x2e2c03}=_0x57ce9b;this['_updateCollabCursors'](_0x2342c3,_0x2e2c03);}})),this[_0x24cdf4(0x320)](),this[_0x24cdf4(0x18d)]();}[_0x43ec4c(0x102)](_0x48d52f,_0x4b882f){const _0x30a4a5=_0x43ec4c,{scene:_0x2f66f2,mainComponent:_0x5b4964}=this['_context'],_0x4f1169=_0x4b882f[_0x30a4a5(0x23b)](_0x3b38c0=>new _0x3198e5(_0x3b38c0,_0x2f66f2,_0x48d52f,_0x5b4964));this[_0x30a4a5(0xe2)]=_0x4f1169,this[_0x30a4a5(0xda)]=_0x4b882f;}['_refreshCollabCursors'](){const _0x66cff5=_0x43ec4c;this[_0x66cff5(0x142)]();const {scene:_0x43b180,mainComponent:_0x290263}=this[_0x66cff5(0x2d0)],_0x2ddb49=this[_0x66cff5(0x24c)]['getSkeleton'](),_0x35b6b5=this['_cursors'][_0x66cff5(0x23b)](_0x2b6889=>new _0x3198e5(_0x2b6889,_0x43b180,_0x2ddb49,_0x290263));this[_0x66cff5(0xe2)]=_0x35b6b5;}['_removeCollabCursors'](){const _0x3ec111=_0x43ec4c;this[_0x3ec111(0xe2)][_0x3ec111(0x10d)](_0x242157=>_0x242157[_0x3ec111(0x123)]()),this[_0x3ec111(0xe2)]=[];}[_0x43ec4c(0x18d)](){const _0x10ad4c=_0x43ec4c,_0x37b9c4=[_0x2d3daa[_0x10ad4c(0x367)]['id']];this[_0x10ad4c(0x2ab)](this[_0x10ad4c(0x340)][_0x10ad4c(0x192)](_0x3c1008=>{const _0x178fa0=_0x10ad4c;_0x37b9c4['includes'](_0x3c1008['id'])&&_0x3c1008[_0x178fa0(0x329)][_0x178fa0(0x374)]===this['_context'][_0x178fa0(0x374)]&&this['_refreshCollabCursors']();}));}[_0x43ec4c(0x320)](){const _0x4dd730=_0x43ec4c;this['disposeWithMe'](_0x50235c['fromEventSubject'](this[_0x4dd730(0x2d0)][_0x4dd730(0x1d8)][_0x4dd730(0x12d)])[_0x4dd730(0x31e)](_0x1611fd[_0x4dd730(0x172)](_0x3f851f=>_0x3f851f['type']===_0x1a4c38[_0x4dd730(0x384)][_0x4dd730(0x278)]),_0x1611fd[_0x4dd730(0xe1)](0x10))[_0x4dd730(0x1f4)](()=>{const _0x4e2721=_0x4dd730;this[_0x4e2721(0x1d6)]();}));}};_0x1444e1=_0x4b1bf4([_0xf3f428(0x1,_0x50235c[_0x43ec4c(0x25f)](_0x4a4656[_0x43ec4c(0x246)])),_0xf3f428(0x2,_0x50235c['Inject'](_0xa39003)),_0xf3f428(0x3,_0x50235c['ICommandService']),_0xf3f428(0x4,_0x50235c[_0x43ec4c(0x25f)](_0x50235c['ThemeService']))],_0x1444e1);const _0x416d1c=0x1,_0x3c4145=1.5;class _0x6396e6 extends _0x1a4c38[_0x43ec4c(0x3b5)]{constructor(_0x34a9e3,_0x5e8c2c){const _0x37e3bc=_0x43ec4c;super(_0x34a9e3,_0x5e8c2c),_0x4cf7ca(this,_0x37e3bc(0x26b)),_0x4cf7ca(this,'_hovered',!0x1),_0x4cf7ca(this,'_range'),_0x4cf7ca(this,_0x37e3bc(0x202),''),_0x4cf7ca(this,_0x37e3bc(0x337),'top'),_0x4cf7ca(this,_0x37e3bc(0x299)),(_0x5e8c2c&&this[_0x37e3bc(0x2e2)](_0x5e8c2c),this[_0x37e3bc(0x2b0)][_0x37e3bc(0x1c3)](()=>this[_0x37e3bc(0x2e2)]({'hovered':!0x0})),this[_0x37e3bc(0x19d)][_0x37e3bc(0x1c3)](()=>this[_0x37e3bc(0x2e2)]({'hovered':!0x1})));}[_0x43ec4c(0x2e2)](_0x3cdf9c){const _0x629ff2=_0x43ec4c;var _0x4caf80,_0x3d9853,_0x593c54,_0x19e832,_0x2cee09,_0x36a215;this[_0x629ff2(0x26b)]=(_0x4caf80=_0x3cdf9c[_0x629ff2(0x25c)])!=null?_0x4caf80:this['_color'],this[_0x629ff2(0x115)]=(_0x3d9853=_0x3cdf9c[_0x629ff2(0xe6)])!=null?_0x3d9853:this[_0x629ff2(0x115)],this[_0x629ff2(0x238)]=(_0x593c54=_0x3cdf9c[_0x629ff2(0x2d3)])!=null?_0x593c54:this['_range'],this[_0x629ff2(0x202)]=(_0x19e832=_0x3cdf9c[_0x629ff2(0x25d)])!=null?_0x19e832:this[_0x629ff2(0x202)],this[_0x629ff2(0x337)]=(_0x2cee09=_0x3cdf9c[_0x629ff2(0x277)])!=null?_0x2cee09:this['_labelPosition'],this[_0x629ff2(0x299)]=(_0x36a215=_0x3cdf9c[_0x629ff2(0x213)])!=null?_0x36a215:this[_0x629ff2(0x299)],this[_0x629ff2(0x263)]({'width':_0x3cdf9c[_0x629ff2(0x177)],'height':_0x3cdf9c[_0x629ff2(0x3a9)]});}[_0x43ec4c(0x2ad)](_0x4d30c8){const _0x9802=_0x43ec4c,{row:_0x1ab8f1,column:_0xdb7e49}=_0x4d30c8;if(_0x1ab8f1>=this[_0x9802(0x238)][_0x9802(0x164)]&&_0x1ab8f1<=this[_0x9802(0x238)][_0x9802(0x2d7)]&&_0xdb7e49>=this[_0x9802(0x238)][_0x9802(0x16e)]&&_0xdb7e49<=this[_0x9802(0x238)][_0x9802(0xe4)]){this[_0x9802(0x2e2)]({'hovered':!0x0});return;}this[_0x9802(0x2e2)]({'hovered':!0x1});}['triggerDblclick'](_0x2d6ba0){return!0x1;}[_0x43ec4c(0x295)](_0x38154f){const _0x272a68=_0x43ec4c;_0x1a4c38[_0x272a68(0x130)][_0x272a68(0xf4)](_0x38154f,{'width':this[_0x272a68(0x177)],'height':this[_0x272a68(0x3a9)],'strokeWidth':_0x3c4145,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x272a68(0x299)]}),this[_0x272a68(0x115)]&&(_0x38154f['save'](),_0x38154f['transform'](0x1,0x0,0x0,0x1,this[_0x272a68(0x177)],this['_labelPosition']==='bottom'?0x0:-_0x17490d),_0x343a97[_0x272a68(0xf4)](_0x38154f,{'text':this['_name'],'color':this['_color']}),_0x38154f[_0x272a68(0x360)]());}}var _0x14ea80=Object[_0x43ec4c(0x303)],_0x599a9b=(_0x3e27d3,_0x4cd5e4,_0x87da72,_0x335834)=>{const _0x44e943=_0x43ec4c;for(var _0x397c4b=_0x335834>0x1?void 0x0:_0x335834?_0x14ea80(_0x4cd5e4,_0x87da72):_0x4cd5e4,_0x443454=_0x3e27d3[_0x44e943(0x229)]-0x1,_0x91259c;_0x443454>=0x0;_0x443454--)(_0x91259c=_0x3e27d3[_0x443454])&&(_0x397c4b=_0x91259c(_0x397c4b)||_0x397c4b);return _0x397c4b;},_0x140ed8=(_0x3b0465,_0x123508)=>(_0x2ad377,_0x360e6f)=>_0x123508(_0x2ad377,_0x360e6f,_0x3b0465);const _0x2d521f=0x1389;let _0x2a140e=class extends _0x50235c['RxDisposable']{constructor(_0x40dd37,_0x48b8b2,_0xd84e67,_0x3d3d1a){const _0xc03e14=_0x43ec4c;super(),_0x4cf7ca(this,'_cursors',new Set()),_0x4cf7ca(this,_0xc03e14(0x38a),null),(this['_context']=_0x40dd37,this[_0xc03e14(0x105)]=_0x48b8b2,this['_collabCursorController']=_0xd84e67,this[_0xc03e14(0x134)]=_0x3d3d1a,this['_init']());}[_0x43ec4c(0x38d)](){const _0x1f037=_0x43ec4c;this['_sheetSkeletonManagerService']['currentSkeleton$']['pipe'](_0x1611fd['takeUntil'](this['dispose$']),_0x1611fd[_0x1f037(0x317)](_0x483dc5=>{const _0x5a776a=_0x1f037;if(_0x483dc5){const _0xb8ce61=_0x483dc5[_0x5a776a(0x38b)];return _0x4c6442[_0x5a776a(0x22c)](this[_0x5a776a(0xf6)][_0x5a776a(0x2ee)](this['_context'][_0x5a776a(0x374)]),this[_0x5a776a(0x134)][_0x5a776a(0x12b)])[_0x5a776a(0x31e)](_0x1611fd[_0x5a776a(0x23b)](([_0x26d2f2,_0x4c9b69])=>{const _0x2c5113=_0x5a776a,_0x18e92c=new Map();return _0x26d2f2[_0x2c5113(0x10d)]((_0x4b2b90,_0x4cea94)=>{const _0x4aa077=_0x2c5113;if(_0x4b2b90[_0x4aa077(0x34b)]===_0xb8ce61){const _0x1f4b3e={..._0x4b2b90};_0x1f4b3e[_0x4aa077(0x25c)]=this[_0x4aa077(0x134)][_0x4aa077(0x3b4)](_0x4b2b90[_0x4aa077(0x25c)]),_0x18e92c['set'](_0x4cea94,_0x1f4b3e);}}),{'skeleton':_0x483dc5,'cursors':_0x18e92c};}));}return _0x4c6442['of']({'skeleton':null,'cursors':new Map()});}))[_0x1f037(0x1f4)](({skeleton:_0x24ac02,cursors:_0x10eec6})=>{const _0xdb845b=_0x1f037;this[_0xdb845b(0x142)](),_0x24ac02&&this[_0xdb845b(0x102)](_0x24ac02,_0x10eec6);}),this[_0x1f037(0x105)]['currentSkeleton$'][_0x1f037(0x1f4)](_0xc4286b=>{const _0x5be213=_0x1f037;if(_0xc4286b==null)return;const {skeleton:_0x2143a4}=_0xc4286b,{scene:_0x4855c5}=this['_context'];_0x4855c5[_0x5be213(0x234)][_0x5be213(0x1c3)](_0x50235c[_0x5be213(0x39f)](_0x2cbd4d=>{const _0x50b743=_0x5be213;var _0x2f1fc0,_0x49ca31;const {offsetX:_0xb6f8a8,offsetY:_0x50677c}=_0x2cbd4d,{x:_0x1a8ca8,y:_0x2c1f1e}=_0x4855c5[_0x50b743(0x32e)](_0x1a4c38[_0x50b743(0x30c)][_0x50b743(0x2e0)]([_0xb6f8a8,_0x50677c])),{scaleX:_0x2a9bb4,scaleY:_0x102bdc}=_0x4855c5[_0x50b743(0x352)](),_0x320024=_0x4855c5[_0x50b743(0x29c)](_0x1a4c38[_0x50b743(0x1cc)][_0x50b743(0x1fc)]),_0x465041=_0x4855c5[_0x50b743(0x31f)](_0x1a4c38[_0x50b743(0x30c)][_0x50b743(0x2e0)]([_0x1a8ca8,_0x2c1f1e]),_0x320024),_0xc1ae31=_0x2143a4[_0x50b743(0x319)](_0xb6f8a8,_0x50677c,_0x2a9bb4,_0x102bdc,_0x465041);((_0x2f1fc0=this[_0x50b743(0x38a)])==null?void 0x0:_0x2f1fc0[_0x50b743(0x11e)])===_0xc1ae31[_0x50b743(0x11e)]&&((_0x49ca31=this[_0x50b743(0x38a)])==null?void 0x0:_0x49ca31[_0x50b743(0x363)])===_0xc1ae31[_0x50b743(0x363)]||this[_0x50b743(0xda)]['forEach'](_0xcf8233=>{const _0x4588ff=_0x50b743;_0xcf8233[_0x4588ff(0x2ad)](_0xc1ae31);});},0x64));});}[_0x43ec4c(0x102)](_0x1606df,_0x1784be){const _0x3351a6=_0x43ec4c;var _0x2097bc;const _0x3397f3=(_0x2097bc=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x2097bc[_0x3351a6(0x156)];if(!_0x3397f3)return;const _0x12b284=this['_getSheetObject']();if(!_0x12b284)return;this[_0x3351a6(0xda)][_0x3351a6(0x10d)](_0x2c0cba=>{const _0x1d46df=_0x3351a6;_0x2c0cba[_0x1d46df(0x14d)]();});const {scene:_0x242644}=_0x12b284,_0x336b87=_0x20eb28(Array[_0x3351a6(0x14c)](_0x1784be[_0x3351a6(0x2c4)]()))['map'](_0x5ddfee=>{const _0x5a2658=_0x3351a6,{color:_0x15a406,range:_0x566618,name:_0x2058f5,selection:_0x5a2f92,sheetID:_0x4dccf4}=_0x5ddfee,{startColumn:_0x91a452,startRow:_0x2c81c3,endColumn:_0x20f426,endRow:_0x224a3c}=_0x566618,_0x5291eb=_0x5a2d49['getCoordByCell'](_0x2c81c3,_0x91a452,_0x242644,_0x3397f3),_0x1ba44a=_0x5a2d49[_0x5a2658(0x2d1)](_0x224a3c,_0x20f426,_0x242644,_0x3397f3),{columnHeaderHeightAndMarginTop:_0x1767b2}=_0x3397f3,{startX:_0x24b883,startY:_0x4c4ba3}=_0x5291eb,{endX:_0x458ca2,endY:_0x498814}=_0x1ba44a,_0x3c8019=_0x458ca2-_0x24b883,_0x424e31=_0x498814-_0x4c4ba3,_0x39112a={'labelPosition':_0x4c4ba3-_0x1767b2>=_0x17490d?_0x5a2658(0x10e):_0x5a2658(0x302),'sheetID':_0x4dccf4,'range':_0x566618,'color':_0x15a406,'name':_0x2058f5,'selection':_0x5a2f92,'left':_0x24b883,'top':_0x4c4ba3,'width':_0x3c8019,'height':_0x424e31,'evented':!0x1,'zIndex':_0x2d521f};return new _0x6396e6(_0x2058f5,_0x39112a);});_0x242644[_0x3351a6(0x385)](_0x336b87,_0x416d1c),this[_0x3351a6(0xda)]=new Set(_0x336b87);}[_0x43ec4c(0x142)](){const _0x10d9dc=_0x43ec4c;var _0x13e8f6;(_0x13e8f6=this[_0x10d9dc(0xda)])==null||_0x13e8f6[_0x10d9dc(0x10d)](_0x32e535=>_0x32e535[_0x10d9dc(0x123)]());}[_0x43ec4c(0x15a)](){const _0xd8aee2=_0x43ec4c;return _0x5a2d49[_0xd8aee2(0x3a6)](this[_0xd8aee2(0x2d0)][_0xd8aee2(0x271)],this[_0xd8aee2(0x2d0)]);}};_0x2a140e=_0x599a9b([_0x140ed8(0x1,_0x50235c[_0x43ec4c(0x25f)](_0x5a2d49['SheetSkeletonManagerService'])),_0x140ed8(0x2,_0x50235c[_0x43ec4c(0x25f)](_0xa39003)),_0x140ed8(0x3,_0x50235c['Inject'](_0x50235c[_0x43ec4c(0x394)]))],_0x2a140e);function _0x20eb28(_0x259203){const _0xcaff6=_0x43ec4c,_0x5bc891=new Map();return _0x259203['forEach'](_0x48a05f=>{const _0x3c23fa=_0x3d56;if(_0x5bc891['has'](_0x48a05f[_0x3c23fa(0x221)])){const _0x54ce11=_0x5bc891[_0x3c23fa(0x268)](_0x48a05f[_0x3c23fa(0x221)]);_0x54ce11['name']+=',\x20'+_0x48a05f[_0x3c23fa(0x25d)];}else _0x5bc891[_0x3c23fa(0x392)](_0x48a05f[_0x3c23fa(0x221)],_0x48a05f);}),Array[_0xcaff6(0x14c)](_0x5bc891[_0xcaff6(0x2c4)]());}var _0x481b90=Object[_0x43ec4c(0x303)],_0x3e957=(_0x11ead0,_0x2857a9,_0x43a8ef,_0x204341)=>{for(var _0x408e46=_0x204341>0x1?void 0x0:_0x204341?_0x481b90(_0x2857a9,_0x43a8ef):_0x2857a9,_0x1b9470=_0x11ead0['length']-0x1,_0x311964;_0x1b9470>=0x0;_0x1b9470--)(_0x311964=_0x11ead0[_0x1b9470])&&(_0x408e46=_0x311964(_0x408e46)||_0x408e46);return _0x408e46;},_0x370170=(_0x18a341,_0x21a9f0)=>(_0x5ad412,_0x54c3fc)=>_0x21a9f0(_0x5ad412,_0x54c3fc,_0x18a341);let _0x1dab61=class extends _0x50235c[_0x43ec4c(0x1d0)]{constructor(_0x49a7a4,_0x6a0470,_0x2cf3c2,_0x27a6e5,_0x1a89e7,_0x294928){const _0xd60c31=_0x43ec4c;super(),this['_beforeCloseService']=_0x49a7a4,this[_0xd60c31(0x1e1)]=_0x6a0470,this['_collaborationUIEventService']=_0x2cf3c2,this[_0xd60c31(0x129)]=_0x27a6e5,this[_0xd60c31(0x355)]=_0x1a89e7,this['_localeService']=_0x294928,this[_0xd60c31(0x222)](),this[_0xd60c31(0xe9)]();}[_0x43ec4c(0x222)](){const _0x250cd2=_0x43ec4c;this[_0x250cd2(0x2ab)](this[_0x250cd2(0x2f8)]['registerBeforeClose'](()=>{const _0x39faf8=_0x250cd2;if(this[_0x39faf8(0x1e1)]['saveTaskMap'][_0x39faf8(0x37a)])return this['_localeService']['t'](_0x39faf8(0x1b5));}));}[_0x43ec4c(0xe9)](){const _0x2c5216=_0x43ec4c;this[_0x2c5216(0x2ab)](this['_collaborationUIEventService'][_0x2c5216(0xea)]['subscribe'](_0x1c0b10=>{const _0x5ca733=_0x2c5216;_0x1c0b10['id']===_0x59d2d1[_0x5ca733(0x23c)][_0x5ca733(0x260)]&&this[_0x5ca733(0x129)][_0x5ca733(0x170)]({'type':_0x775e7b[_0x5ca733(0x30d)][_0x5ca733(0x1c1)],'content':this['_localeService']['t'](_0x5ca733(0x39e))}),_0x1c0b10['id']===_0x59d2d1[_0x5ca733(0x23c)]['CLOSE_ROOM']&&this['_messageService'][_0x5ca733(0x170)]({'type':_0x775e7b['MessageType'][_0x5ca733(0x1c1)],'content':this['_localeService']['t'](_0x5ca733(0x1f6))}),_0x1c0b10['id']===_0x59d2d1[_0x5ca733(0x23c)][_0x5ca733(0x253)]&&this[_0x5ca733(0x355)][_0x5ca733(0x170)]({'title':this[_0x5ca733(0x312)]['t'](_0x5ca733(0x223)),'content':this['_localeService']['t']('permission.content'),'type':'error','duration':0x0}),_0x1c0b10['id']===_0x59d2d1[_0x5ca733(0x23c)][_0x5ca733(0x34f)]&&this[_0x5ca733(0x129)][_0x5ca733(0x170)]({'type':_0x775e7b[_0x5ca733(0x30d)]['Error'],'content':this[_0x5ca733(0x312)]['t'](_0x5ca733(0x1f6))+'('+_0x1c0b10[_0x5ca733(0x212)]+')'}),_0x1c0b10['id']===_0x59d2d1['CollaborationUIEventId']['JOIN_ROOM_FAILED']&&this[_0x5ca733(0x129)][_0x5ca733(0x170)]({'type':_0x775e7b['MessageType'][_0x5ca733(0x1c1)],'content':this['_localeService']['t'](_0x1c0b10[_0x5ca733(0x212)]||'')}),_0x1c0b10['id']===_0x59d2d1[_0x5ca733(0x23c)][_0x5ca733(0x338)]&&this[_0x5ca733(0x129)][_0x5ca733(0x170)]({'type':_0x775e7b[_0x5ca733(0x30d)]['Warning'],'content':this['_localeService']['t'](_0x5ca733(0x19b))}),_0x1c0b10['id']===_0x59d2d1['CollaborationUIEventId']['SOCKET_FAILED']&&this[_0x5ca733(0x129)][_0x5ca733(0x170)]({'type':_0x775e7b[_0x5ca733(0x30d)][_0x5ca733(0x106)],'content':this[_0x5ca733(0x312)]['t'](_0x5ca733(0x1d9))}),_0x1c0b10['id']===_0x59d2d1[_0x5ca733(0x23c)][_0x5ca733(0x14a)]&&this[_0x5ca733(0x129)]['show']({'type':_0x775e7b['MessageType'][_0x5ca733(0x106)],'content':this['_localeService']['t'](_0x5ca733(0x1a9))});}));}};_0x1dab61=_0x3e957([_0x370170(0x0,_0x9fcbd4[_0x43ec4c(0xe3)]),_0x370170(0x1,_0x59d2d1['ILocalCacheService']),_0x370170(0x2,_0x50235c[_0x43ec4c(0x25f)](_0x59d2d1[_0x43ec4c(0x224)])),_0x370170(0x3,_0x9fcbd4['IMessageService']),_0x370170(0x4,_0x9fcbd4['INotificationService']),_0x370170(0x5,_0x50235c[_0x43ec4c(0x25f)](_0x50235c[_0x43ec4c(0x29b)]))],_0x1dab61);var _0x37febe=Object[_0x43ec4c(0x303)],_0x3833f3=(_0x2e7c27,_0x31dc2e,_0x310aef,_0x44f58e)=>{const _0x10f994=_0x43ec4c;for(var _0x2062f3=_0x44f58e>0x1?void 0x0:_0x44f58e?_0x37febe(_0x31dc2e,_0x310aef):_0x31dc2e,_0x38f446=_0x2e7c27[_0x10f994(0x229)]-0x1,_0x2f1883;_0x38f446>=0x0;_0x38f446--)(_0x2f1883=_0x2e7c27[_0x38f446])&&(_0x2062f3=_0x2f1883(_0x2062f3)||_0x2062f3);return _0x2062f3;},_0xd28e16=(_0x1a011b,_0x320d2c)=>(_0x50caab,_0x427994)=>_0x320d2c(_0x50caab,_0x427994,_0x1a011b);let _0x4ef95c=class extends _0x50235c[_0x43ec4c(0x1d0)]{constructor(_0x4dd26e,_0x133126,_0x3605bb,_0x3c57c8){const _0x503fb5=_0x43ec4c;super(),_0x4cf7ca(this,_0x503fb5(0x1fa)),(this['_injector']=_0x4dd26e,this[_0x503fb5(0x236)]=_0x133126,this['_logService']=_0x3605bb,this[_0x503fb5(0x2ac)]=_0x3c57c8,this['_init']());}[_0x43ec4c(0x38d)](){const _0x2c6ca0=_0x43ec4c;this['_initWindowErrorListener'](),this[_0x2c6ca0(0x3a1)](),this['_monkeyPatchLogService'](),this['_initUserListener']();}[_0x43ec4c(0x1e9)](){const _0x15546a=_0x43ec4c;this[_0x15546a(0x2ab)](this['_collaborationSessionService'][_0x15546a(0x2c9)][_0x15546a(0x1f4)](_0x312760=>{const _0x162fdb=_0x15546a;this[_0x162fdb(0x1fa)]=_0x312760==null?void 0x0:_0x312760[_0x162fdb(0x1ff)];}));}[_0x43ec4c(0x2aa)](){const _0x44cb0b=_0x43ec4c,_0x19352c=_0x9b5ccd=>{const _0x2aeca4=_0x3d56;var _0x33b92d;this[_0x2aeca4(0x2eb)](_0x2aeca4(0x226),'[Window\x20Error]:\x20'+_0x9b5ccd[_0x2aeca4(0x31b)]+'\x20at\x20'+_0x9b5ccd[_0x2aeca4(0x1ae)]+':'+_0x9b5ccd['lineno']+':'+_0x9b5ccd['colno']+'\x0a'+(((_0x33b92d=_0x9b5ccd['error'])==null?void 0x0:_0x33b92d['stack'])||''));};window['addEventListener']('error',_0x19352c),this[_0x44cb0b(0x2ab)](()=>{const _0x1d01b3=_0x44cb0b;window[_0x1d01b3(0x2e7)](_0x1d01b3(0x226),_0x19352c);});}[_0x43ec4c(0x3a1)](){const _0x4e04fd=_0x43ec4c,_0x1aaa41=_0x2ffe07=>{const _0x530431=_0x3d56;this[_0x530431(0x2eb)](_0x530431(0x226),_0x530431(0x1ed)+_0x2ffe07[_0x530431(0x15d)]);};window[_0x4e04fd(0x1ad)](_0x4e04fd(0x275),_0x1aaa41),this['disposeWithMe'](()=>{const _0x2faf5b=_0x4e04fd;window[_0x2faf5b(0x2e7)](_0x2faf5b(0x275),_0x1aaa41);});}[_0x43ec4c(0x348)](){const _0x5babd4=_0x43ec4c,_0x5f2caa=this[_0x5babd4(0x1eb)]['error'][_0x5babd4(0x370)](this[_0x5babd4(0x1eb)]);this['_logService'][_0x5babd4(0x226)]=(..._0xb25035)=>{const _0x395317=_0x5babd4,_0x33972c=_0xb25035['map'](_0x4c871a=>_0x4c871a instanceof Error?_0x4c871a[_0x395317(0x31b)]+'\x0a'+_0x4c871a[_0x395317(0x359)]:String(_0x4c871a))[_0x395317(0x3c7)]('\x20');this[_0x395317(0x2eb)](_0x395317(0x226),_0x395317(0x14b)+_0x33972c),_0x5f2caa(..._0xb25035);},this[_0x5babd4(0x2ab)](()=>{const _0x220417=_0x5babd4;this[_0x220417(0x1eb)]['error']=_0x5f2caa;});}[_0x43ec4c(0x2eb)](_0x109eda,_0x411299){const _0x3dfc67=_0x43ec4c;try{const _0x2e7a4b={'userId':this[_0x3dfc67(0x1fa)],'logLabel':_0x109eda,'content':_0x411299};this[_0x3dfc67(0x236)][_0x3dfc67(0x1bb)]('/universer-api/frontend/logs',{'body':_0x2e7a4b})['catch'](()=>{});}catch{}}};_0x4ef95c=_0x3833f3([_0xd28e16(0x0,_0x50235c[_0x43ec4c(0x25f)](_0x50235c[_0x43ec4c(0x2ec)])),_0xd28e16(0x1,_0x50235c[_0x43ec4c(0x25f)](_0x5751e7[_0x43ec4c(0x2a1)])),_0xd28e16(0x2,_0x50235c[_0x43ec4c(0x2fe)]),_0xd28e16(0x3,_0x50235c[_0x43ec4c(0x25f)](_0x59d2d1['CollaborationSessionService']))],_0x4ef95c);const _0x3a8cce=_0x43ec4c(0x133),_0x2cade0={};var _0xf7018a=Object['getOwnPropertyDescriptor'],_0x115e45=(_0x1c56e0,_0x290204,_0x2c6953,_0x213dd7)=>{for(var _0x10d17e=_0x213dd7>0x1?void 0x0:_0x213dd7?_0xf7018a(_0x290204,_0x2c6953):_0x290204,_0x3a0d46=_0x1c56e0['length']-0x1,_0x5c3962;_0x3a0d46>=0x0;_0x3a0d46--)(_0x5c3962=_0x1c56e0[_0x3a0d46])&&(_0x10d17e=_0x5c3962(_0x10d17e)||_0x10d17e);return _0x10d17e;},_0x5c3c31=(_0x442456,_0x4ddec0)=>(_0x15a35c,_0x5c5572)=>_0x4ddec0(_0x15a35c,_0x5c5572,_0x442456);let _0x48c701=class{constructor(_0x3f9ec1,_0x21cfc6){const _0x54282c=_0x43ec4c;this[_0x54282c(0x307)]=_0x3f9ec1,this[_0x54282c(0x1e8)]=_0x21cfc6;}[_0x43ec4c(0x391)](_0x522178){const _0x1707ab=_0x43ec4c;this['_transformUndoRedoStack'](_0x522178),this[_0x1707ab(0x347)](_0x522178);}[_0x43ec4c(0x119)](_0x26a305){const _0x5e14d1=_0x43ec4c,{unitID:_0x277d48}=_0x26a305,_0xd5a124=this[_0x5e14d1(0x1e8)][_0x5e14d1(0x273)](_0x277d48)['with'](_0x2d3daa[_0x5e14d1(0x1ee)]),{redoCache:_0x12a9d1}=_0xd5a124[_0x5e14d1(0x1a6)]();if(_0x12a9d1[_0x5e14d1(0x229)]===0x0)return _0x26a305;let _0x35468d=_0x50235c[_0x5e14d1(0x399)][_0x5e14d1(0x2cc)](_0x26a305[_0x5e14d1(0x1b9)][0x0]);for(let _0x4e1ecb=0x0;_0x4e1ecb<_0x12a9d1[_0x5e14d1(0x229)];_0x4e1ecb++){const _0x21a461={'id':'doc.mutation.rich-text-editing','params':{..._0x12a9d1[_0x4e1ecb]}},_0x389b54=this[_0x5e14d1(0x307)][_0x5e14d1(0x2f1)](_0x35468d,_0x21a461,!0x1);if(_0x482dc8[_0x5e14d1(0x10f)](_0x389b54))throw _0x389b54[_0x5e14d1(0x226)];_0x35468d=_0x389b54[_0x5e14d1(0x395)];}return{..._0x50235c[_0x5e14d1(0x399)][_0x5e14d1(0x2cc)](_0x26a305),'mutations':[_0x35468d]};}['_transformUndoRedoStack'](_0x60819f){const _0x18a66c=_0x43ec4c,{unitID:_0x5be336}=_0x60819f,_0x23ce2e=this[_0x18a66c(0x1e8)][_0x18a66c(0x273)](_0x5be336)[_0x18a66c(0x24f)](_0x2d3daa['DocIMEInputManagerService']),{undoCache:_0x4a62fb,redoCache:_0x59f7da}=_0x23ce2e[_0x18a66c(0x1a6)]();if(_0x4a62fb[_0x18a66c(0x229)]===0x0||_0x59f7da[_0x18a66c(0x229)]===0x0)return;const _0x149045=[],_0x410b55=[];let _0x34395d=_0x50235c['Tools']['deepClone'](_0x60819f[_0x18a66c(0x1b9)][0x0]),_0x59ffab=_0x50235c[_0x18a66c(0x399)][_0x18a66c(0x2cc)](_0x60819f[_0x18a66c(0x1b9)][0x0]);for(let _0x5aa5c8=_0x4a62fb[_0x18a66c(0x229)]-0x1;_0x5aa5c8>=0x0;_0x5aa5c8--){const _0x5a61da={'id':_0x18a66c(0x140),'params':{..._0x4a62fb[_0x5aa5c8]}},_0x2391a4={'id':_0x18a66c(0x140),'params':{..._0x59f7da[_0x5aa5c8]}},_0x42d56d=this['_transformService'][_0x18a66c(0x2f1)](_0x34395d,_0x5a61da,!0x1),_0x173508=this['_transformService'][_0x18a66c(0x2f1)](_0x59ffab,_0x2391a4,!0x1);if(_0x482dc8[_0x18a66c(0x10f)](_0x42d56d))throw _0x42d56d['error'];if(_0x482dc8[_0x18a66c(0x10f)](_0x173508))throw _0x173508[_0x18a66c(0x226)];_0x149045['unshift'](_0x42d56d[_0x18a66c(0x101)][_0x18a66c(0x329)]),_0x410b55[_0x18a66c(0x240)](_0x173508[_0x18a66c(0x101)]['params']),_0x34395d=_0x42d56d['m1Prime'],_0x59ffab=_0x173508[_0x18a66c(0x395)];}_0x23ce2e[_0x18a66c(0x28f)]({'undoCache':_0x149045,'redoCache':_0x410b55});}['_transformPreviousActiveRange'](_0x138ec8){const _0x452441=_0x43ec4c,{unitID:_0xe9bda7}=_0x138ec8,_0x641d9c=this[_0x452441(0x1e8)][_0x452441(0x273)](_0xe9bda7)[_0x452441(0x24f)](_0x2d3daa[_0x452441(0x1ee)]),_0x584f52=_0x641d9c[_0x452441(0x258)]();if(_0x584f52==null)return;const _0x253345=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x138ec8[_0x452441(0xec)],'actions':null,'textRanges':[_0x584f52]}}],_0xb599ca=this[_0x452441(0x307)][_0x452441(0x269)](_0x138ec8,_0x253345);if(!_0x482dc8[_0x452441(0x1ec)](_0xb599ca))throw _0xb599ca['error'];const _0x156a14=_0xb599ca['m2Prime'][0x0]['params'][_0x452441(0x2f4)];Array[_0x452441(0x3b9)](_0x156a14)&&_0x156a14[_0x452441(0x229)]&&_0x641d9c[_0x452441(0x20c)](_0x156a14[0x0]);}};_0x48c701=_0x115e45([_0x5c3c31(0x0,_0x482dc8['ITransformService']),_0x5c3c31(0x1,_0x1a4c38[_0x43ec4c(0x146)])],_0x48c701);var _0x4737fd=Object[_0x43ec4c(0x303)],_0x454b6b=(_0x25f713,_0x4e5ed2,_0x571d98,_0x2de5d8)=>{const _0x17b1d5=_0x43ec4c;for(var _0x34f580=_0x2de5d8>0x1?void 0x0:_0x2de5d8?_0x4737fd(_0x4e5ed2,_0x571d98):_0x4e5ed2,_0x50c459=_0x25f713[_0x17b1d5(0x229)]-0x1,_0x381022;_0x50c459>=0x0;_0x50c459--)(_0x381022=_0x25f713[_0x50c459])&&(_0x34f580=_0x381022(_0x34f580)||_0x34f580);return _0x34f580;},_0x10aeb7=(_0x5e176c,_0xd95a18)=>(_0x2aabba,_0x2cf993)=>_0xd95a18(_0x2aabba,_0x2cf993,_0x5e176c);let _0x144f60=class{constructor(_0x379e61,_0x29eab5,_0x2c73d9){const _0xd17bcd=_0x43ec4c;this[_0xd17bcd(0x110)]=_0x379e61,this['_transformService']=_0x29eab5,this[_0xd17bcd(0x2a6)]=_0x2c73d9;}[_0x43ec4c(0x351)](_0x110ddb){const _0x244abb=_0x43ec4c;this[_0x244abb(0x137)](_0x110ddb);}[_0x43ec4c(0x119)](_0x9f995e){const _0x57bfc=_0x43ec4c,{unitID:_0x45c84b}=_0x9f995e,{collaboration:_0x1d56ff}=this[_0x57bfc(0x2a6)]['getStateCache'](_0x45c84b);if(_0x1d56ff[_0x57bfc(0x229)]===0x0)return _0x9f995e;let _0x4e18bd=_0x50235c[_0x57bfc(0x399)]['deepClone'](_0x9f995e[_0x57bfc(0x1b9)][0x0]);for(let _0x5b7284=0x0;_0x5b7284<_0x1d56ff[_0x57bfc(0x229)];_0x5b7284++){const _0x468971={'id':_0x57bfc(0x140),'params':{'unitId':_0x1d56ff[_0x5b7284][_0x57bfc(0x374)],..._0x1d56ff[_0x5b7284][_0x57bfc(0x286)]}},_0x265d0b=this[_0x57bfc(0x307)][_0x57bfc(0x2f1)](_0x4e18bd,_0x468971,!0x1);if(_0x482dc8[_0x57bfc(0x10f)](_0x265d0b))throw _0x265d0b[_0x57bfc(0x226)];_0x4e18bd=_0x265d0b['m1Prime'];}return{..._0x50235c[_0x57bfc(0x399)][_0x57bfc(0x2cc)](_0x9f995e),'mutations':[_0x4e18bd]};}[_0x43ec4c(0x137)](_0x5aad8f){const _0x50beef=_0x43ec4c,{unitID:_0x5e6730}=_0x5aad8f,{history:_0x55fd3d,collaboration:_0x2b2adf}=this[_0x50beef(0x2a6)][_0x50beef(0x1ea)](_0x5e6730);if(_0x55fd3d['length']===0x0&&_0x2b2adf[_0x50beef(0x229)]===0x0)return;const _0x21fa6e=[],_0x124638=[];let _0x50022c=_0x50235c[_0x50beef(0x399)][_0x50beef(0x2cc)](_0x5aad8f[_0x50beef(0x1b9)][0x0]),_0x51019b=_0x50235c[_0x50beef(0x399)][_0x50beef(0x2cc)](_0x5aad8f[_0x50beef(0x1b9)][0x0]);for(let _0x224ec6=_0x55fd3d['length']-0x1;_0x224ec6>=0x0;_0x224ec6--){const _0x15bd7f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x55fd3d[_0x224ec6][_0x50beef(0x374)],..._0x55fd3d[_0x224ec6][_0x50beef(0x33c)]}},_0x347d26={'id':_0x50beef(0x140),'params':{'unitId':_0x55fd3d[_0x224ec6][_0x50beef(0x374)],..._0x55fd3d[_0x224ec6][_0x50beef(0x286)]}},_0x256498=this[_0x50beef(0x307)]['transformMutation'](_0x50022c,_0x15bd7f,!0x1),_0x1be096=this[_0x50beef(0x307)][_0x50beef(0x2f1)](_0x51019b,_0x347d26,!0x1);if(_0x482dc8[_0x50beef(0x10f)](_0x256498))throw _0x256498[_0x50beef(0x226)];if(_0x482dc8[_0x50beef(0x10f)](_0x1be096))throw _0x1be096[_0x50beef(0x226)];_0x21fa6e['unshift']({..._0x55fd3d[_0x224ec6],'undoState':_0x256498[_0x50beef(0x101)]['params'],'redoState':_0x1be096['m2Prime'][_0x50beef(0x329)]}),_0x50022c=_0x256498[_0x50beef(0x395)],_0x51019b=_0x1be096[_0x50beef(0x395)];}_0x50022c=_0x50235c[_0x50beef(0x399)][_0x50beef(0x2cc)](_0x5aad8f['mutations'][0x0]),_0x51019b=_0x50235c[_0x50beef(0x399)][_0x50beef(0x2cc)](_0x5aad8f[_0x50beef(0x1b9)][0x0]);for(let _0x2ae243=_0x2b2adf[_0x50beef(0x229)]-0x1;_0x2ae243>=0x0;_0x2ae243--){const _0x4e5f72={'id':_0x50beef(0x140),'params':{'unitId':_0x2b2adf[_0x2ae243][_0x50beef(0x374)],..._0x2b2adf[_0x2ae243][_0x50beef(0x33c)]}},_0x4bfe0d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2b2adf[_0x2ae243][_0x50beef(0x374)],..._0x2b2adf[_0x2ae243]['redoState']}},_0x56c8e8=this[_0x50beef(0x307)][_0x50beef(0x2f1)](_0x50022c,_0x4e5f72,!0x1),_0x142f49=this[_0x50beef(0x307)][_0x50beef(0x2f1)](_0x51019b,_0x4bfe0d,!0x1);if(_0x482dc8[_0x50beef(0x10f)](_0x56c8e8))throw _0x56c8e8[_0x50beef(0x226)];if(_0x482dc8[_0x50beef(0x10f)](_0x142f49))throw _0x142f49[_0x50beef(0x226)];_0x124638[_0x50beef(0x240)]({..._0x2b2adf[_0x2ae243],'undoState':_0x56c8e8[_0x50beef(0x101)][_0x50beef(0x329)],'redoState':_0x142f49['m2Prime'][_0x50beef(0x329)]}),_0x50022c=_0x56c8e8[_0x50beef(0x395)],_0x51019b=_0x142f49['m1Prime'];}this[_0x50beef(0x2a6)]['setStateCache'](_0x5e6730,{'history':_0x21fa6e,'collaboration':_0x124638});}};_0x144f60=_0x454b6b([_0x10aeb7(0x0,_0x50235c[_0x43ec4c(0x25f)](_0x50235c[_0x43ec4c(0x2ec)])),_0x10aeb7(0x1,_0x482dc8[_0x43ec4c(0x165)]),_0x10aeb7(0x2,_0x50235c[_0x43ec4c(0x25f)](_0x2d3daa[_0x43ec4c(0xf5)]))],_0x144f60);var _0x1ec2df=Object[_0x43ec4c(0x303)],_0xe09af1=(_0x926b94,_0x48244d,_0x35a4ca,_0x3db5ed)=>{const _0x126e73=_0x43ec4c;for(var _0x2aa659=_0x3db5ed>0x1?void 0x0:_0x3db5ed?_0x1ec2df(_0x48244d,_0x35a4ca):_0x48244d,_0x1cc1c6=_0x926b94[_0x126e73(0x229)]-0x1,_0xfbba4a;_0x1cc1c6>=0x0;_0x1cc1c6--)(_0xfbba4a=_0x926b94[_0x1cc1c6])&&(_0x2aa659=_0xfbba4a(_0x2aa659)||_0x2aa659);return _0x2aa659;},_0x3867c8=(_0x2a6d2d,_0xee1154)=>(_0x1b2a23,_0x563ea8)=>_0xee1154(_0x1b2a23,_0x563ea8,_0x2a6d2d);let _0x532911=class{constructor(_0x799d47,_0x8fde4b){const _0x17238b=_0x43ec4c;this[_0x17238b(0x110)]=_0x799d47,this[_0x17238b(0x307)]=_0x8fde4b;}[_0x43ec4c(0x1bc)](_0x2f4a02){const _0xa6ecaf=_0x43ec4c;var _0x3ae116;const _0xfaafa1=this['_injector'][_0xa6ecaf(0x268)](_0x4a4656[_0xa6ecaf(0x389)]),_0x131bf6=(_0x3ae116=_0xfaafa1[_0xa6ecaf(0x2b3)]())!=null?_0x3ae116:[];if(_0x131bf6['length']===0x0)return;const _0x13c6f5=_0x2f4a02[_0xa6ecaf(0xec)],_0x489f61=[{'id':_0xa6ecaf(0x140),'params':{'unitId':_0x13c6f5,'actions':null,'textRanges':_0x131bf6}}],_0xd13c9=this[_0xa6ecaf(0x307)][_0xa6ecaf(0x269)](_0x2f4a02,_0x489f61);if(!_0x482dc8[_0xa6ecaf(0x1ec)](_0xd13c9))throw _0xd13c9['error'];const _0xd1d9fa=_0xd13c9['m2Prime'][0x0][_0xa6ecaf(0x329)][_0xa6ecaf(0x2f4)];Array[_0xa6ecaf(0x3b9)](_0xd1d9fa)&&_0xd1d9fa[_0xa6ecaf(0x229)]&&_0xfaafa1[_0xa6ecaf(0x175)](_0xd1d9fa,{'unitId':_0x13c6f5,'subUnitId':_0x13c6f5},!0x1);}};_0x532911=_0xe09af1([_0x3867c8(0x0,_0x50235c[_0x43ec4c(0x25f)](_0x50235c['Injector'])),_0x3867c8(0x1,_0x482dc8[_0x43ec4c(0x165)])],_0x532911);var _0xfb79bc=Object['getOwnPropertyDescriptor'],_0x5b9fe6=(_0x4a6bbc,_0x5c5081,_0x270d61,_0x200a40)=>{const _0xe998e0=_0x43ec4c;for(var _0x35ff3f=_0x200a40>0x1?void 0x0:_0x200a40?_0xfb79bc(_0x5c5081,_0x270d61):_0x5c5081,_0x433fd0=_0x4a6bbc[_0xe998e0(0x229)]-0x1,_0x54e06d;_0x433fd0>=0x0;_0x433fd0--)(_0x54e06d=_0x4a6bbc[_0x433fd0])&&(_0x35ff3f=_0x54e06d(_0x35ff3f)||_0x35ff3f);return _0x35ff3f;},_0x11b381=(_0x35f184,_0x965411)=>(_0x4eb67b,_0x491e26)=>_0x965411(_0x4eb67b,_0x491e26,_0x35f184);let _0x1dc989=class extends _0x50235c[_0x43ec4c(0x1d0)]{constructor(_0x51e37c,_0x357f8b,_0x371f47,_0x41925f,_0xebda08,_0xa8cdf6,_0x33fba8,_0x2f4b68){const _0x2d8ff8=_0x43ec4c;super(),_0x4cf7ca(this,_0x2d8ff8(0x132),new _0x4c6442['BehaviorSubject'](_0x59d2d1[_0x2d8ff8(0x13b)][_0x2d8ff8(0x342)])),(this[_0x2d8ff8(0x2a6)]=_0x51e37c,this[_0x2d8ff8(0x25a)]=_0x357f8b,this['_docTransformIMECacheService']=_0x371f47,this[_0x2d8ff8(0x10a)]=_0x41925f,this['_docTransformSelectionsService']=_0xebda08,this['_docSyncEditingCollabCursorService']=_0xa8cdf6,this[_0x2d8ff8(0x129)]=_0x33fba8,this['_localeService']=_0x2f4b68,this['_initEntityListener']());}[_0x43ec4c(0x21f)](){const _0x2a5f4f=_0x43ec4c;this[_0x2a5f4f(0x2ab)](this['_collaborationController'][_0x2a5f4f(0x19e)]['subscribe'](_0x158a76=>{const _0x562382=_0x2a5f4f,_0x3bf466=this[_0x562382(0x2a6)]['docStateChange$'][_0x562382(0x1f4)](_0x2f7abd=>{const _0x182f45=_0x562382;if(_0x2f7abd==null)return;const {unitId:_0x4c0351,redoState:_0x30dfa6,commandId:_0x405c91}=_0x2f7abd;if(_0x4c0351!==_0x158a76[_0x182f45(0xec)])return;const _0x5e902a={'id':_0x405c91,'type':_0x50235c['CommandType'][_0x182f45(0x326)],'params':{'unitId':_0x4c0351,'actions':_0x30dfa6[_0x182f45(0x344)],'textRanges':null}};_0x158a76['onLocalMutation'](_0x5e902a);});if(_0x158a76[_0x562382(0x2ab)](_0x3bf466),_0x158a76 instanceof _0x59d2d1[_0x562382(0x27c)]){const _0x28bb05={'onTransformIME':_0xe047e1=>this['_docTransformIMECacheService'][_0x562382(0x391)](_0xe047e1),'onTransformState':_0x468c40=>this[_0x562382(0x10a)][_0x562382(0x351)](_0x468c40),'onTransformSelections':_0x57c809=>this[_0x562382(0x108)][_0x562382(0x1bc)](_0x57c809),'onSyncEditingCollabCursor':_0x28b0f0=>this[_0x562382(0x17e)][_0x562382(0x166)](_0x28b0f0),'onTransformRemoteChangesetByIMECache':_0xecd392=>this[_0x562382(0x1d4)][_0x562382(0x119)](_0xecd392),'onTransformRemoteChangesetByStateCache':_0x5337c7=>this[_0x562382(0x10a)][_0x562382(0x119)](_0x5337c7)};_0x158a76['addHandlerCallback'](_0x28bb05);}}));}};_0x1dc989=_0x5b9fe6([_0x11b381(0x0,_0x50235c[_0x43ec4c(0x25f)](_0x2d3daa[_0x43ec4c(0xf5)])),_0x11b381(0x1,_0x50235c[_0x43ec4c(0x25f)](_0x59d2d1['CollaborationController'])),_0x11b381(0x2,_0x50235c[_0x43ec4c(0x25f)](_0x48c701)),_0x11b381(0x3,_0x50235c['Inject'](_0x144f60)),_0x11b381(0x4,_0x50235c[_0x43ec4c(0x25f)](_0x532911)),_0x11b381(0x5,_0x50235c[_0x43ec4c(0x25f)](_0x154e78)),_0x11b381(0x6,_0x9fcbd4[_0x43ec4c(0x285)]),_0x11b381(0x7,_0x50235c[_0x43ec4c(0x25f)](_0x50235c[_0x43ec4c(0x29b)]))],_0x1dc989);var _0x3da773=(_0xb1589e=>(_0xb1589e[_0xb1589e[_0x43ec4c(0x1df)]=0x0]=_0x43ec4c(0x1df),_0xb1589e[_0xb1589e['OK']=0x1]='OK',_0xb1589e[_0xb1589e[_0x43ec4c(0x313)]=0x2]=_0x43ec4c(0x313),_0xb1589e[_0xb1589e[_0x43ec4c(0x253)]=0x3]='PERMISSION_DENIED',_0xb1589e[_0xb1589e[_0x43ec4c(0x10b)]=0x4]='NOT_FOUND',_0xb1589e[_0xb1589e[_0x43ec4c(0x100)]=0x5]=_0x43ec4c(0x100),_0xb1589e[_0xb1589e[_0x43ec4c(0x18b)]=0x6]=_0x43ec4c(0x18b),_0xb1589e[_0xb1589e[_0x43ec4c(0x339)]=0x7]=_0x43ec4c(0x339),_0xb1589e[_0xb1589e[_0x43ec4c(0x3a8)]=0x8]='TOO_MANY_REQUESTS',_0xb1589e[_0xb1589e[_0x43ec4c(0x35d)]=0x9]=_0x43ec4c(0x35d),_0xb1589e[_0xb1589e[_0x43ec4c(0x254)]=0xa]=_0x43ec4c(0x254),_0xb1589e[_0xb1589e[_0x43ec4c(0x306)]=0xb]=_0x43ec4c(0x306),_0xb1589e[_0xb1589e['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x43ec4c(0x27b),_0xb1589e[_0xb1589e[_0x43ec4c(0x388)]=0xd]=_0x43ec4c(0x388),_0xb1589e[_0xb1589e[_0x43ec4c(0x26f)]=0xe]=_0x43ec4c(0x26f),_0xb1589e[_0xb1589e['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x43ec4c(0x2be),_0xb1589e[_0xb1589e[_0x43ec4c(0x3ad)]=0x10]=_0x43ec4c(0x3ad),_0xb1589e[_0xb1589e[_0x43ec4c(0x22f)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0xb1589e[_0xb1589e[_0x43ec4c(0x38c)]=0x65]=_0x43ec4c(0x38c),_0xb1589e[_0xb1589e[_0x43ec4c(0x125)]=0xc9]='USER_NOT_FOUND',_0xb1589e[_0xb1589e[_0x43ec4c(0x33e)]=0xca]=_0x43ec4c(0x33e),_0xb1589e[_0xb1589e['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x43ec4c(0x1cb),_0xb1589e[_0xb1589e[_0x43ec4c(0x21d)]=0x1771]=_0x43ec4c(0x21d),_0xb1589e[_0xb1589e[_0x43ec4c(0x2dd)]=0x1772]=_0x43ec4c(0x2dd),_0xb1589e[_0xb1589e[_0x43ec4c(0x1cf)]=0x1773]=_0x43ec4c(0x1cf),_0xb1589e[_0xb1589e['APPLY_REJECT']=0x1b59]=_0x43ec4c(0x26c),_0xb1589e[_0xb1589e[_0x43ec4c(0x20d)]=0x1b5a]=_0x43ec4c(0x20d),_0xb1589e[_0xb1589e[_0x43ec4c(0x214)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0xb1589e[_0xb1589e[_0x43ec4c(0x2b1)]=0x1b5c]=_0x43ec4c(0x2b1),_0xb1589e[_0xb1589e[_0x43ec4c(0x25e)]=0x1b5d]=_0x43ec4c(0x25e),_0xb1589e[_0xb1589e[_0x43ec4c(0x311)]=0x1f41]=_0x43ec4c(0x311),_0xb1589e[_0xb1589e[_0x43ec4c(0x27f)]=0x2329]=_0x43ec4c(0x27f),_0xb1589e[_0xb1589e[_0x43ec4c(0x35c)]=0x232a]=_0x43ec4c(0x35c),_0xb1589e[_0xb1589e[_0x43ec4c(0x282)]=0x232b]=_0x43ec4c(0x282),_0xb1589e[_0xb1589e['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x43ec4c(0x296),_0xb1589e[_0xb1589e[_0x43ec4c(0x353)]=0x232d]=_0x43ec4c(0x353),_0xb1589e[_0xb1589e[_0x43ec4c(0xf2)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0xb1589e[_0xb1589e['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x43ec4c(0x3c0),_0xb1589e[_0xb1589e[_0x43ec4c(0x3ab)]=0x2713]=_0x43ec4c(0x3ab),_0xb1589e[_0xb1589e[_0x43ec4c(0x2a2)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0xb1589e[_0xb1589e[_0x43ec4c(0x18a)]=0x271a]=_0x43ec4c(0x18a),_0xb1589e[_0xb1589e[_0x43ec4c(0x2e4)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0xb1589e[_0xb1589e[_0x43ec4c(0x3b2)]=0x271c]=_0x43ec4c(0x3b2),_0xb1589e[_0xb1589e[_0x43ec4c(0x11f)]=0x271d]=_0x43ec4c(0x11f),_0xb1589e[_0xb1589e[_0x43ec4c(0x2b7)]=0x271e]=_0x43ec4c(0x2b7),_0xb1589e[_0xb1589e[_0x43ec4c(0x1c2)]=0x271f]=_0x43ec4c(0x1c2),_0xb1589e[_0xb1589e[_0x43ec4c(0x397)]=0x2720]=_0x43ec4c(0x397),_0xb1589e[_0xb1589e[_0x43ec4c(0x2a8)]=0x2af9]=_0x43ec4c(0x2a8),_0xb1589e[_0xb1589e[_0x43ec4c(0x28d)]=0x2ee1]=_0x43ec4c(0x28d),_0xb1589e[_0xb1589e[_0x43ec4c(0xfb)]=0x2ee2]=_0x43ec4c(0xfb),_0xb1589e[_0xb1589e[_0x43ec4c(0xdf)]=0x2ee3]=_0x43ec4c(0xdf),_0xb1589e[_0xb1589e['USER_NOT_INVITED_CODE']=0x2ee4]=_0x43ec4c(0x217),_0xb1589e[_0xb1589e[_0x43ec4c(0x136)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0xb1589e[_0xb1589e[_0x43ec4c(0x2a3)]=0x32c9]=_0x43ec4c(0x2a3),_0xb1589e[_0xb1589e['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x43ec4c(0x16b),_0xb1589e[_0xb1589e[_0x43ec4c(0x315)]=0x32cb]=_0x43ec4c(0x315),_0xb1589e[_0xb1589e[_0x43ec4c(0x383)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0xb1589e[_0xb1589e[_0x43ec4c(0x27a)]=0x36b2]=_0x43ec4c(0x27a),_0xb1589e[_0xb1589e[_0x43ec4c(0xf1)]=0x36b3]=_0x43ec4c(0xf1),_0xb1589e[_0xb1589e[_0x43ec4c(0x11d)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0xb1589e[_0xb1589e['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0xb1589e[_0xb1589e['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0xb1589e[_0xb1589e[_0x43ec4c(0x228)]=0x3717]=_0x43ec4c(0x228),_0xb1589e[_0xb1589e[_0x43ec4c(0x2ba)]=0x37dd]=_0x43ec4c(0x2ba),_0xb1589e[_0xb1589e[_0x43ec4c(0x154)]=0x3a99]=_0x43ec4c(0x154),_0xb1589e[_0xb1589e[_0x43ec4c(0x1b2)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0xb1589e[_0xb1589e[_0x43ec4c(0x1b1)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0xb1589e[_0xb1589e[_0x43ec4c(0xf7)]=0x3a9c]=_0x43ec4c(0xf7),_0xb1589e[_0xb1589e[_0x43ec4c(0xf9)]=0x3a9d]=_0x43ec4c(0xf9),_0xb1589e[_0xb1589e[_0x43ec4c(0x32b)]=0x3a9e]=_0x43ec4c(0x32b),_0xb1589e[_0xb1589e[_0x43ec4c(0x398)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0xb1589e[_0xb1589e['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x43ec4c(0x2cd),_0xb1589e[_0xb1589e['UNRECOGNIZED']=-0x1]=_0x43ec4c(0x2f6),_0xb1589e))(_0x3da773||{});function _0x2740d6(_0x8aa4ce){const _0x17bfa3=_0x43ec4c;var _0x126a7d,_0xc33f17;const _0x5c838=(_0x126a7d=_0x8aa4ce[_0x17bfa3(0xde)])==null?void 0x0:_0x126a7d[_0x17bfa3(0x267)],_0x37a17d=((_0xc33f17=_0x8aa4ce[_0x17bfa3(0xde)])==null?void 0x0:_0xc33f17[_0x17bfa3(0x118)])||0x0;return _0x5c838===_0x5554c2[_0x17bfa3(0x335)][_0x17bfa3(0x193)]&&_0x37a17d>0x0;}function _0x4ca642(_0x2540f5){const _0x532f74=_0x43ec4c;return _0x2540f5[_0x532f74(0x241)]===_0x5554c2[_0x532f74(0x2c0)][_0x532f74(0xdb)];}var _0x3de459=Object[_0x43ec4c(0x303)],_0x16ff50=(_0x4ce86c,_0x411085,_0x12bc3a,_0x1fe4dc)=>{for(var _0x564893=_0x1fe4dc>0x1?void 0x0:_0x1fe4dc?_0x3de459(_0x411085,_0x12bc3a):_0x411085,_0x14606e=_0x4ce86c['length']-0x1,_0x2b7f4e;_0x14606e>=0x0;_0x14606e--)(_0x2b7f4e=_0x4ce86c[_0x14606e])&&(_0x564893=_0x2b7f4e(_0x564893)||_0x564893);return _0x564893;},_0x4c1e80=(_0xde2e84,_0x30a527)=>(_0x2e9f04,_0x1545a7)=>_0x30a527(_0x2e9f04,_0x1545a7,_0xde2e84);const _0x5131bf='/universer-api/license/formula/limit/status',_0x17f4e5=_0x43ec4c(0x141),_0x5f1cad='/universer-api/license/formula/limit/done';let _0x46a0da=class extends _0x50235c[_0x43ec4c(0x1d0)]{constructor(_0x244f53,_0x356488,_0x1dc51e,_0x1c4efc,_0x42db85,_0x1ed917,_0x5c2a99){const _0x4b08b8=_0x43ec4c;super(),_0x4cf7ca(this,_0x4b08b8(0x1f8),null),_0x4cf7ca(this,_0x4b08b8(0x2e9),0x0),_0x4cf7ca(this,_0x4b08b8(0x233),0x0),_0x4cf7ca(this,_0x4b08b8(0x2d5),[]),_0x4cf7ca(this,_0x4b08b8(0x3be),0x0),(this['_messageService']=_0x244f53,this[_0x4b08b8(0x340)]=_0x356488,this[_0x4b08b8(0x20f)]=_0x1dc51e,this[_0x4b08b8(0x236)]=_0x1c4efc,this['_univerInstanceService']=_0x42db85,this[_0x4b08b8(0x1eb)]=_0x1ed917,this[_0x4b08b8(0x312)]=_0x5c2a99,this[_0x4b08b8(0x2ce)]());}[_0x43ec4c(0x2ce)](){const _0x545f56=_0x43ec4c;this['disposeWithMe'](this['_commandService']['beforeCommandExecuted']((_0x42848f,_0x245edc)=>{const _0x412569=_0x3d56;var _0x29084b;if(_0x42848f['id']!==_0x5554c2['SetFormulaCalculationStartMutation']['id'])return;const _0x205b46=_0x42848f[_0x412569(0x329)];if(!this[_0x412569(0x36d)]((_0x29084b=_0x205b46[_0x412569(0x1c7)])!=null?_0x29084b:[]))return;if(!this[_0x412569(0x23d)]())throw this[_0x412569(0x300)](_0x42848f,_0x245edc),this['_showGuardMessage'](),new _0x50235c[(_0x412569(0x1a3))]();})),this[_0x545f56(0x2ab)](this['_commandService'][_0x545f56(0x192)]((_0x3ec6e5,_0x99ef80)=>{const _0x35b8dd=_0x545f56;if(_0x3ec6e5['id']!==_0x5554c2[_0x35b8dd(0x377)]['id'])return;const _0x2a8bf3=_0x3ec6e5[_0x35b8dd(0x329)];if(_0x2740d6(_0x2a8bf3)){const _0x26264c=_0x50235c['generateRandomId']();this[_0x35b8dd(0x2d5)][_0x35b8dd(0x2f0)](_0x26264c),this[_0x35b8dd(0x349)](_0x26264c);}else{if(_0x4ca642(_0x2a8bf3)&&this[_0x35b8dd(0x2d5)][_0x35b8dd(0x229)]>0x0){const _0x255cb2=this[_0x35b8dd(0x2d5)][_0x35b8dd(0x200)]();this[_0x35b8dd(0x30b)](_0x255cb2);}}}));}[_0x43ec4c(0x123)](){const _0x43b4c6=_0x43ec4c;super[_0x43b4c6(0x123)](),this['_clearPolling'](),this[_0x43b4c6(0x2d5)]=[],this[_0x43b4c6(0x233)]=0x0,this[_0x43b4c6(0x2e9)]=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x43ec4c(0x300)](_0x30d0e7,_0x20c92e){const _0x3c80c4=_0x43ec4c;for(let _0x4e51e4=0x0;_0x4e51e4<0x1e;_0x4e51e4++)try{if(await this[_0x3c80c4(0x1be)](),this[_0x3c80c4(0x23d)]()){this[_0x3c80c4(0x38f)](_0x30d0e7,_0x20c92e),this[_0x3c80c4(0x129)][_0x3c80c4(0x170)]({'content':this[_0x3c80c4(0x312)]['t']('formula.calculation.started'),'type':_0x775e7b[_0x3c80c4(0x30d)]['Success']});return;}await new Promise(_0x406145=>{const _0x8311e8=_0x3c80c4;this[_0x8311e8(0x1f8)]=window[_0x8311e8(0x331)](_0x406145,0x3e8);});}catch(_0x3d7070){this[_0x3c80c4(0x1eb)][_0x3c80c4(0x226)](_0x3d7070);}this[_0x3c80c4(0x129)][_0x3c80c4(0x170)]({'content':this[_0x3c80c4(0x312)]['t']('formula.calculation.unable'),'type':_0x775e7b[_0x3c80c4(0x30d)]['Error']});}[_0x43ec4c(0x38f)](_0x56d1f5,_0x2a8d93){const _0x206217=_0x43ec4c;try{this['_commandService'][_0x206217(0x1e4)](_0x56d1f5['id'],_0x56d1f5['params'],_0x2a8d93);}catch(_0x48f8b4){this['_logService'][_0x206217(0x226)](_0x48f8b4);}}[_0x43ec4c(0x2fa)](_0x358c9a,_0x3b20fe){const _0x48483a=_0x43ec4c;_0x3b20fe<this[_0x48483a(0x3be)]||(this[_0x48483a(0x3be)]=_0x3b20fe,this[_0x48483a(0x2e9)]=Number[_0x48483a(0x330)](_0x358c9a[_0x48483a(0x250)]),this['_currentUsage']=Number[_0x48483a(0x330)](_0x358c9a['currentUsage']));}async[_0x43ec4c(0x349)](_0x3f7dea){const _0x3680d0=_0x43ec4c;var _0x2ec2c4,_0x2dac3a;const _0x26c023=Date[_0x3680d0(0x196)]();try{const _0x11bb3a=((_0x2ec2c4=this[_0x3680d0(0x20f)]['getConfig'](_0x59d2d1[_0x3680d0(0x2d6)]))==null?void 0x0:_0x2ec2c4['startFormulaLimitUrl'])||_0x17f4e5,_0x1fca49=(await this[_0x3680d0(0x236)][_0x3680d0(0x1bb)](_0x11bb3a,{'body':JSON[_0x3680d0(0x145)]({'taskId':_0x3f7dea})}))[_0x3680d0(0x206)];if(((_0x2dac3a=_0x1fca49[_0x3680d0(0x226)])==null?void 0x0:_0x2dac3a[_0x3680d0(0x1ac)])!==_0x3da773['OK'])return;this[_0x3680d0(0x2fa)](_0x1fca49[_0x3680d0(0x366)],_0x26c023);}catch(_0x24f645){this[_0x3680d0(0x1eb)][_0x3680d0(0x226)](_0x24f645);}}async[_0x43ec4c(0x1be)](_0x47d8cd){const _0x4f9bf1=_0x43ec4c;var _0x9277d3,_0x44f290;const _0x271b59=Date[_0x4f9bf1(0x196)]();try{const _0x55bb55=((_0x9277d3=this[_0x4f9bf1(0x20f)][_0x4f9bf1(0x116)](_0x59d2d1['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x9277d3[_0x4f9bf1(0x24d)])||_0x5131bf,_0x15a309=_0x47d8cd?_0x55bb55+_0x4f9bf1(0x211)+encodeURIComponent(_0x47d8cd):_0x55bb55,_0xdcd830=(await this['_httpService'][_0x4f9bf1(0x268)](_0x15a309))[_0x4f9bf1(0x206)];if(((_0x44f290=_0xdcd830[_0x4f9bf1(0x226)])==null?void 0x0:_0x44f290['code'])!==_0x3da773['OK'])return;this[_0x4f9bf1(0x2fa)](_0xdcd830[_0x4f9bf1(0x366)],_0x271b59);}catch(_0x20ede6){this[_0x4f9bf1(0x1eb)][_0x4f9bf1(0x226)](_0x20ede6);}}async['_releaseCalculationLimit'](_0x17680e){const _0x44f482=_0x43ec4c;var _0x2c52d3,_0x5c2ffa;const _0x5570e8=Date[_0x44f482(0x196)]();try{const _0x4dfc40=((_0x2c52d3=this[_0x44f482(0x20f)][_0x44f482(0x116)](_0x59d2d1[_0x44f482(0x2d6)]))==null?void 0x0:_0x2c52d3[_0x44f482(0x163)])||_0x5f1cad,_0x953522=(await this['_httpService'][_0x44f482(0x1bb)](_0x4dfc40,{'body':JSON[_0x44f482(0x145)]({'taskId':_0x17680e})}))[_0x44f482(0x206)];if(((_0x5c2ffa=_0x953522[_0x44f482(0x226)])==null?void 0x0:_0x5c2ffa['code'])!==_0x3da773['OK'])return;this[_0x44f482(0x2fa)](_0x953522[_0x44f482(0x366)],_0x5570e8);}catch(_0x55d1e2){this[_0x44f482(0x1eb)][_0x44f482(0x226)](_0x55d1e2);}}[_0x43ec4c(0x23d)](){const _0x5621cc=_0x43ec4c;return this[_0x5621cc(0x2e9)]===0x0?!0x0:this[_0x5621cc(0x2e9)]-this[_0x5621cc(0x233)]>0x0;}[_0x43ec4c(0x2dc)](){const _0x2db60b=_0x43ec4c;this[_0x2db60b(0x1f8)]&&(clearTimeout(this[_0x2db60b(0x1f8)]),this[_0x2db60b(0x1f8)]=null);}[_0x43ec4c(0x2ca)](){const _0x4d5ced=_0x43ec4c;this[_0x4d5ced(0x129)]['show']({'content':this['_localeService']['t'](_0x4d5ced(0x22d)),'type':_0x775e7b[_0x4d5ced(0x30d)][_0x4d5ced(0x2bf)]});}[_0x43ec4c(0x36d)](_0x3bdd32){const _0x36e1a5=_0x43ec4c;for(const _0x2a6be3 of _0x3bdd32){const {unitId:_0x2feaad,sheetId:_0x448a3a,range:_0x20736}=_0x2a6be3,_0x1c4ded=this[_0x36e1a5(0x3c9)][_0x36e1a5(0x184)](_0x2feaad);if(!_0x1c4ded)continue;const _0xfb8445=_0x1c4ded[_0x36e1a5(0x358)](_0x448a3a);if(!_0xfb8445)continue;const _0x51a13d=_0xfb8445[_0x36e1a5(0x390)]();for(let _0x148535=_0x20736[_0x36e1a5(0x164)];_0x148535<=_0x20736[_0x36e1a5(0x2d7)];_0x148535++)for(let _0x12a187=_0x20736[_0x36e1a5(0x16e)];_0x12a187<=_0x20736[_0x36e1a5(0xe4)];_0x12a187++){const _0x3789af=_0x51a13d[_0x36e1a5(0x2da)](_0x148535,_0x12a187);if(_0x3789af&&(_0x50235c[_0x36e1a5(0x17d)](_0x3789af['f'])||_0x50235c['isFormulaId'](_0x3789af['si'])))return!0x0;}}return!0x1;}};_0x46a0da=_0x16ff50([_0x4c1e80(0x0,_0x50235c['Inject'](_0x9fcbd4[_0x43ec4c(0x285)])),_0x4c1e80(0x1,_0x50235c[_0x43ec4c(0x1a0)]),_0x4c1e80(0x2,_0x50235c[_0x43ec4c(0x1e0)]),_0x4c1e80(0x3,_0x50235c[_0x43ec4c(0x25f)](_0x5751e7[_0x43ec4c(0x2a1)])),_0x4c1e80(0x4,_0x50235c[_0x43ec4c(0x281)]),_0x4c1e80(0x5,_0x50235c['ILogService']),_0x4c1e80(0x6,_0x50235c['Inject'](_0x50235c[_0x43ec4c(0x29b)]))],_0x46a0da);var _0x5053c5=Object[_0x43ec4c(0x303)],_0x3ff5d7=(_0x1b95fa,_0x3651bf,_0x5c29c2,_0x158321)=>{const _0x312674=_0x43ec4c;for(var _0x5625e9=_0x158321>0x1?void 0x0:_0x158321?_0x5053c5(_0x3651bf,_0x5c29c2):_0x3651bf,_0x56dce2=_0x1b95fa[_0x312674(0x229)]-0x1,_0x31c6d3;_0x56dce2>=0x0;_0x56dce2--)(_0x31c6d3=_0x1b95fa[_0x56dce2])&&(_0x5625e9=_0x31c6d3(_0x5625e9)||_0x5625e9);return _0x5625e9;},_0x2f7997=(_0x1e17df,_0x4edbd8)=>(_0x495383,_0x21e479)=>_0x4edbd8(_0x495383,_0x21e479,_0x1e17df);let _0x1af3a9=class extends _0x50235c[_0x43ec4c(0x1d0)]{constructor(_0x1c3a95,_0x49218e,_0x5f4a10){const _0x344c5a=_0x43ec4c;super(),_0x4cf7ca(this,_0x344c5a(0x280),new Map()),_0x4cf7ca(this,_0x344c5a(0x209),new Map()),_0x4cf7ca(this,_0x344c5a(0x3b0),!0x1),(this[_0x344c5a(0x20f)]=_0x1c3a95,this[_0x344c5a(0x218)]=_0x49218e,this[_0x344c5a(0x2c6)]=_0x5f4a10);}[_0x43ec4c(0x29e)](){const _0x46a5b3=_0x43ec4c;this[_0x46a5b3(0x3b0)]=!0x0;}[_0x43ec4c(0x237)](){const _0x369ecb=_0x43ec4c;this[_0x369ecb(0x3b0)]=!0x1;}get[_0x43ec4c(0x378)](){const _0x54ffdc=_0x43ec4c;return this[_0x54ffdc(0x209)];}[_0x43ec4c(0x123)](){const _0x5bb854=_0x43ec4c;this['exhaustSavingTask']()[_0x5bb854(0x3ae)](()=>super[_0x5bb854(0x123)]());}async[_0x43ec4c(0x1bd)](_0x420d02){const _0x4f77a4=_0x43ec4c;return this['_disabled']?null:this[_0x4f77a4(0x218)][_0x4f77a4(0x2b6)](_0x59d2d1['getLocalCacheKey'](_0x420d02));}async[_0x43ec4c(0x135)](_0x56c89a,_0x2a6956){const _0x2e8256=_0x43ec4c;return!!this[_0x2e8256(0x218)][_0x2e8256(0x30a)](_0x56c89a,_0x2a6956);}[_0x43ec4c(0x2fb)](_0xf96423,_0x4376ac,_0x1fcd6a,_0x3658d5){const _0x5740a8=_0x43ec4c,_0x476cd8=this[_0x5740a8(0x2c6)][_0x5740a8(0x2db)](_0xf96423);this['_cachedData'][_0x5740a8(0x392)](_0xf96423,{'unitID':_0xf96423,'type':_0x4376ac,'awaitingChangeset':_0x1fcd6a,'mutations':_0x3658d5,'rev':_0x476cd8}),this['_saveTaskMap'][_0x5740a8(0x1d2)](_0xf96423)||this[_0x5740a8(0x248)](_0xf96423);}[_0x43ec4c(0x248)](_0x47a0b6){const _0x5659ba=_0x43ec4c,_0x2b4fb4=this[_0x5659ba(0x376)]();_0x2b4fb4===0x0?this['_saveCache'](_0x47a0b6):this[_0x5659ba(0x209)][_0x5659ba(0x392)](_0x47a0b6,setTimeout(()=>this['_saveCache'](_0x47a0b6),_0x2b4fb4));}[_0x43ec4c(0x376)](){const _0x473ed6=_0x43ec4c;var _0x5d252d;return(_0x5d252d=this['_configService'][_0x473ed6(0x116)](_0x59d2d1['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x5d252d:_0x59d2d1[_0x473ed6(0x3a3)];}['_saveCache'](_0x42ec2f){const _0x210698=_0x43ec4c,_0x533689=this['_saveTaskMap'][_0x210698(0x268)](_0x42ec2f);return _0x533689!==void 0x0&&window[_0x210698(0x23e)](_0x533689),this[_0x210698(0x218)][_0x210698(0x30a)](_0x59d2d1['getLocalCacheKey'](_0x42ec2f),this[_0x210698(0x280)]['get'](_0x42ec2f))['then'](()=>this[_0x210698(0x209)][_0x210698(0x37b)](_0x42ec2f));}async[_0x43ec4c(0x195)](){const _0x34288b=_0x43ec4c,_0xc23011=[];this[_0x34288b(0x209)][_0x34288b(0x10d)]((_0xb5cae5,_0x4e3460)=>{const _0x1dab9a=_0x34288b;window[_0x1dab9a(0x23e)](_0xb5cae5),_0xc23011[_0x1dab9a(0x2f0)](this[_0x1dab9a(0x12e)](_0x4e3460)['then'](()=>{const _0x280407=_0x1dab9a;this[_0x280407(0x209)][_0x280407(0x37b)](_0x4e3460);}));}),await Promise['all'](_0xc23011);}};_0x1af3a9=_0x3ff5d7([_0x2f7997(0x0,_0x50235c[_0x43ec4c(0x1e0)]),_0x2f7997(0x1,_0x50235c['ILocalStorageService']),_0x2f7997(0x2,_0x50235c[_0x43ec4c(0x25f)](_0x482dc8[_0x43ec4c(0xfe)]))],_0x1af3a9);class _0x3bf73a extends _0x50235c['RxDisposable']{constructor(){const _0x1e99ca=_0x43ec4c;super(),_0x4cf7ca(this,_0x1e99ca(0x2ae)),this[_0x1e99ca(0x2ae)]=_0x4c6442[_0x1e99ca(0x396)](window,'popstate')[_0x1e99ca(0x31e)](_0x4c6442['takeUntil'](this[_0x1e99ca(0x3b8)]),_0x4c6442[_0x1e99ca(0x2bd)](0x1),_0x4c6442['mapTo'](void 0x0));}[_0x43ec4c(0x16a)](_0x5b448d,_0x4c41e7,_0x348d42=!0x1){const _0x588113=_0x43ec4c,_0xa1117f=new URL(window[_0x588113(0x316)]['href']);_0xa1117f[_0x588113(0x284)]['set'](_0x5b448d,_0x4c41e7),_0x348d42?window[_0x588113(0x1ba)][_0x588113(0x357)]('','',_0xa1117f[_0x588113(0x17c)]()):window[_0x588113(0x1ba)][_0x588113(0x191)]('','',_0xa1117f[_0x588113(0x17c)]());}[_0x43ec4c(0x3c8)](_0x2dd1a5,_0x21b10b=!0x1){const _0x3f6e75=_0x43ec4c,_0x4a11cf=new URL(window[_0x3f6e75(0x316)][_0x3f6e75(0x350)]);_0x4a11cf[_0x3f6e75(0x284)][_0x3f6e75(0x37b)](_0x2dd1a5),_0x21b10b?window[_0x3f6e75(0x1ba)][_0x3f6e75(0x357)]('','',_0x4a11cf['toString']()):window[_0x3f6e75(0x1ba)][_0x3f6e75(0x191)]('','',_0x4a11cf[_0x3f6e75(0x17c)]());}[_0x43ec4c(0x17a)](_0x19410d){const _0x1ba633=_0x43ec4c;var _0x9ddffb;return(_0x9ddffb=new URL(window['location'][_0x1ba633(0x350)])[_0x1ba633(0x284)]['get'](_0x19410d))!=null?_0x9ddffb:void 0x0;}}var _0x393bcb=Object['defineProperty'],_0x3249d2=Object['getOwnPropertyDescriptor'],_0x44b449=(_0x11de27,_0xe21855,_0xd46afa)=>_0xe21855 in _0x11de27?_0x393bcb(_0x11de27,_0xe21855,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xd46afa}):_0x11de27[_0xe21855]=_0xd46afa,_0x1f5977=(_0x4801aa,_0x1a27d9,_0x1cff0b,_0x2821a3)=>{const _0x3c6d3b=_0x43ec4c;for(var _0x31f2e4=_0x2821a3>0x1?void 0x0:_0x2821a3?_0x3249d2(_0x1a27d9,_0x1cff0b):_0x1a27d9,_0xd2b198=_0x4801aa[_0x3c6d3b(0x229)]-0x1,_0x50d875;_0xd2b198>=0x0;_0xd2b198--)(_0x50d875=_0x4801aa[_0xd2b198])&&(_0x31f2e4=_0x50d875(_0x31f2e4)||_0x31f2e4);return _0x31f2e4;},_0x31c6cc=(_0x55439b,_0x48cb9b)=>(_0x175dcb,_0x582698)=>_0x48cb9b(_0x175dcb,_0x582698,_0x55439b),_0x98a2a3=(_0x5c5dc5,_0x353ee8,_0x32c366)=>_0x44b449(_0x5c5dc5,_0x353ee8+'',_0x32c366);const _0xf1593a='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x42c0de[_0x43ec4c(0xeb)]=class extends _0x50235c[_0x43ec4c(0x131)]{constructor(_0x348a9b=_0x2cade0,_0x29b45d,_0x1eb72c,_0x57b6a3){const _0x48f35c=_0x43ec4c;super(),this['_config']=_0x348a9b,this['_renderManagerService']=_0x29b45d,this[_0x48f35c(0x110)]=_0x1eb72c,this[_0x48f35c(0x20f)]=_0x57b6a3;const {..._0x2df034}=_0x50235c[_0x48f35c(0x15f)]({},_0x2cade0,this[_0x48f35c(0x272)]);this[_0x48f35c(0x20f)][_0x48f35c(0x111)](_0x3a8cce,_0x2df034);}[_0x43ec4c(0x3ac)](){const _0x3b8096=_0x43ec4c;this[_0x3b8096(0x256)](),this[_0x3b8096(0x158)]();}[_0x43ec4c(0x18f)](){const _0x1b7daa=_0x43ec4c;this[_0x1b7daa(0x159)]();}[_0x43ec4c(0x256)](){const _0x583a01=_0x43ec4c;var _0x3d8e35;const _0x53616f=[[_0x3be8cc],[_0x46a0da],[_0x532911],[_0x48c701],[_0x144f60],[_0x154e78],[_0x24c3fe,{'useClass':_0x3bf73a}],[_0x5751e7[_0x583a01(0x1b6)],{'useClass':_0x5751e7[_0x583a01(0x30f)]}],[_0x59d2d1['ILocalCacheService'],{'useClass':_0x1af3a9}],[_0x42c0de[_0x583a01(0x150)]],[_0x1dc989],[_0x1dab61],[_0xa39003],[_0x31f559],[_0x42c0de[_0x583a01(0x373)]]];this[_0x583a01(0x272)][_0x583a01(0x3c2)]&&_0x53616f[_0x583a01(0x2f0)]([_0x4ef95c]),_0x50235c[_0x583a01(0x2e1)](this[_0x583a01(0x110)],_0x50235c['mergeOverrideWithDependencies'](_0x53616f,(_0x3d8e35=this[_0x583a01(0x272)])==null?void 0x0:_0x3d8e35[_0x583a01(0x198)]));}[_0x43ec4c(0x159)](){const _0x50d428=_0x43ec4c;this[_0x50d428(0x2ab)](this[_0x50d428(0x1e8)][_0x50d428(0x361)](_0x50235c[_0x50d428(0x328)]['UNIVER_DOC'],[_0x1444e1])),this[_0x50d428(0x2ab)](this[_0x50d428(0x1e8)][_0x50d428(0x361)](_0x50235c[_0x50d428(0x328)][_0x50d428(0x31a)],[_0x2a140e]));}[_0x43ec4c(0x158)](){const _0x47aa4c=_0x43ec4c;_0x50235c[_0x47aa4c(0x2c5)](this['_injector'],[[_0xa39003],[_0x42c0de[_0x47aa4c(0x150)]],[_0x1dc989],[_0x1dab61],[_0x42c0de[_0x47aa4c(0x373)]],[_0x46a0da]]),this[_0x47aa4c(0x272)]['enableFrontendLog']&&_0x50235c[_0x47aa4c(0x2c5)](this[_0x47aa4c(0x110)],[[_0x4ef95c]]);}},_0x98a2a3(_0x42c0de[_0x43ec4c(0xeb)],_0x43ec4c(0x173),_0xf1593a),_0x42c0de[_0x43ec4c(0xeb)]=_0x1f5977([_0x50235c['DependentOn'](_0x59d2d1['UniverCollaborationClientPlugin']),_0x31c6cc(0x1,_0x1a4c38[_0x43ec4c(0x146)]),_0x31c6cc(0x2,_0x50235c[_0x43ec4c(0x25f)](_0x50235c[_0x43ec4c(0x2ec)])),_0x31c6cc(0x3,_0x50235c['IConfigService'])],_0x42c0de['UniverCollaborationClientUIPlugin']);var _0xe84a9a=Object['getOwnPropertyDescriptor'],_0x11c15a=(_0x3d732c,_0x1fdff4,_0x1a589d,_0x2ccc2f)=>{const _0x6fd91c=_0x43ec4c;for(var _0x1a00a6=_0x2ccc2f>0x1?void 0x0:_0x2ccc2f?_0xe84a9a(_0x1fdff4,_0x1a589d):_0x1fdff4,_0x166b61=_0x3d732c[_0x6fd91c(0x229)]-0x1,_0x249412;_0x166b61>=0x0;_0x166b61--)(_0x249412=_0x3d732c[_0x166b61])&&(_0x1a00a6=_0x249412(_0x1a00a6)||_0x1a00a6);return _0x1a00a6;},_0x48e8ff=(_0x21c041,_0x22f167)=>(_0x1b381c,_0xa8e698)=>_0x22f167(_0x1b381c,_0xa8e698,_0x21c041);_0x42c0de[_0x43ec4c(0x34e)]=class extends _0x59d2d1[_0x43ec4c(0x368)]{constructor(_0x38a4b0,_0x56b8dc,_0x4b7793,_0x2036fa,_0x4338f1){super(_0x38a4b0,_0x56b8dc,_0x4b7793,_0x2036fa,_0x4338f1);}async[_0x43ec4c(0x160)](_0x26459d){const _0x5acc2e=_0x43ec4c,_0x5891af=await this[_0x5acc2e(0x147)](),_0x4e6999=this[_0x5acc2e(0x3a2)](_0x26459d,_0x5891af);return this['_doCreateSocket'](_0x4e6999);}['_createSocketURL'](_0x56f1af,_0x3e49e1){const _0x11f734=_0x43ec4c,_0x3310f2=typeof window>'u'?new URL(_0x56f1af):new URL(_0x56f1af,window[_0x11f734(0x316)][_0x11f734(0x288)]);_0x3310f2['searchParams']['set'](_0x11f734(0x186),_0x3e49e1);const _0xed2d61=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x11f734(0x1f0)]);return _0xed2d61['get'](_0x11f734(0x168))&&_0x3310f2[_0x11f734(0x284)][_0x11f734(0x392)](_0x11f734(0x168),_0xed2d61['get'](_0x11f734(0x168))),_0x3310f2[_0x11f734(0x17c)]();}async[_0x43ec4c(0x147)](){const _0xd30224=_0x43ec4c;var _0x3d1179,_0x41d55a,_0x1993c7;const _0x1a827a=this['_configService'][_0xd30224(0x116)](_0x59d2d1[_0xd30224(0x2d6)]),_0x308c21=(_0x3d1179=_0x1a827a==null?void 0x0:_0x1a827a['wsSessionTicketUrl'])!=null?_0x3d1179:_0x59d2d1[_0xd30224(0x2b8)];return(_0x1993c7=(_0x41d55a=(await this['_httpService'][_0xd30224(0x268)](_0x308c21,{'headers':{'Content-Type':_0xd30224(0x210)}}))[_0xd30224(0x206)])==null?void 0x0:_0x41d55a['ticket'])!=null?_0x1993c7:'';}},_0x42c0de['BrowserCollaborationSocketService']=_0x11c15a([_0x48e8ff(0x0,_0x50235c[_0x43ec4c(0x25f)](_0x50235c[_0x43ec4c(0x2ec)])),_0x48e8ff(0x1,_0x50235c[_0x43ec4c(0x25f)](_0x5751e7[_0x43ec4c(0x2a1)])),_0x48e8ff(0x2,_0x50235c[_0x43ec4c(0x1e0)]),_0x48e8ff(0x3,_0x50235c[_0x43ec4c(0x2fe)]),_0x48e8ff(0x4,_0x482dc8[_0x43ec4c(0x39c)])],_0x42c0de[_0x43ec4c(0x34e)]);var _0x3931a9=Object[_0x43ec4c(0x303)],_0x559b1e=(_0x566070,_0x501dae,_0x154838,_0x5e30cc)=>{const _0x1b8eab=_0x43ec4c;for(var _0x1aafa5=_0x5e30cc>0x1?void 0x0:_0x5e30cc?_0x3931a9(_0x501dae,_0x154838):_0x501dae,_0x5745b6=_0x566070[_0x1b8eab(0x229)]-0x1,_0x5d86bd;_0x5745b6>=0x0;_0x5745b6--)(_0x5d86bd=_0x566070[_0x5745b6])&&(_0x1aafa5=_0x5d86bd(_0x1aafa5)||_0x1aafa5);return _0x1aafa5;},_0x36e29e=(_0x5d9eac,_0x5ac6e6)=>(_0x320f7d,_0x8827a7)=>_0x5ac6e6(_0x320f7d,_0x8827a7,_0x5d9eac);_0x42c0de[_0x43ec4c(0x12c)]=class extends _0x50235c['Disposable']{constructor(_0x2d3f0c,_0x493cad,_0xf785c1){const _0x2283a5=_0x43ec4c;super(),this[_0x2283a5(0x13e)]=_0x2d3f0c,this[_0x2283a5(0x236)]=_0x493cad,this[_0x2283a5(0x20f)]=_0xf785c1;}async[_0x43ec4c(0x3b7)](_0x4614a4,_0x3be287,_0xf4912,..._0x39e77a){const _0x4427f2=_0x43ec4c;var _0x454c37,_0x442d61,_0x5d3cf4,_0x2ee37b;const _0x3626fb=this[_0x4427f2(0x13e)]['getFocusedUnit']();if(!_0x3626fb)throw new Error(_0x4427f2(0x322));const _0x648d3f=((_0x454c37=this['_configService'][_0x4427f2(0x116)](_0x59d2d1[_0x4427f2(0x2bc)]))!=null?_0x454c37:_0x59d2d1['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x4614a4+_0x4427f2(0x242)+_0x3be287,_0x211d0b=new URL(window[_0x4427f2(0x316)][_0x4427f2(0x350)]),_0x456e9a={'scriptId':_0x4614a4,'runId':(_0x442d61=_0x211d0b[_0x4427f2(0x284)][_0x4427f2(0x268)]('runId'))!=null?_0x442d61:'','function':_0x3be287,'unitId':_0x3626fb['getUnitId'](),'argsOfFunction':JSON[_0x4427f2(0x145)](_0x39e77a),'invokeId':(_0x5d3cf4=_0xf4912[_0x4427f2(0x3b3)])!=null?_0x5d3cf4:'','executionId':(_0x2ee37b=_0xf4912[_0x4427f2(0x318)])!=null?_0x2ee37b:''};try{const _0x106ba4=await this[_0x4427f2(0x236)]['post'](_0x648d3f,{'body':_0x456e9a});return _0x106ba4[_0x4427f2(0x206)]['error']&&_0x106ba4[_0x4427f2(0x206)][_0x4427f2(0x226)][_0x4427f2(0x1ac)]!==_0x3da773['OK']?'Failed':_0x106ba4['body'][_0x4427f2(0x3b1)];}catch{return _0x4427f2(0x230);}}},_0x42c0de[_0x43ec4c(0x12c)]=_0x559b1e([_0x36e29e(0x0,_0x50235c[_0x43ec4c(0x281)]),_0x36e29e(0x1,_0x50235c['Inject'](_0x5751e7[_0x43ec4c(0x2a1)])),_0x36e29e(0x2,_0x50235c['IConfigService'])],_0x42c0de[_0x43ec4c(0x12c)]);const _0xf24e95=0x7530,_0x3a1470='ACTIVE_UNIT_EVENT_CHANNEL';class _0x588e6f extends _0x50235c[_0x43ec4c(0x1d0)]{constructor(){const _0xd63a3d=_0x43ec4c;super(),_0x4cf7ca(this,'_id',_0x50235c[_0xd63a3d(0x16d)]()),_0x4cf7ca(this,_0xd63a3d(0x144),new Set()),_0x4cf7ca(this,_0xd63a3d(0x341),new Map()),_0x4cf7ca(this,'_heartbeatTimer',null),_0x4cf7ca(this,'_clearOtherTimers',new Map()),_0x4cf7ca(this,_0xd63a3d(0x128),new Map()),this[_0xd63a3d(0x38d)]();}[_0x43ec4c(0x123)](){const _0x10a513=_0x43ec4c;super[_0x10a513(0x123)](),this[_0x10a513(0x386)][_0x10a513(0x10d)]((_0x12f0b7,_0x271087)=>this[_0x10a513(0x21b)](_0x271087)),this[_0x10a513(0x1c8)]&&window['clearInterval'](this[_0x10a513(0x1c8)]);}['getUnitStatus$'](_0x545164){const _0x52143c=_0x43ec4c;return this[_0x52143c(0x314)](_0x545164)[_0x52143c(0x31e)](_0x4c6442[_0x52143c(0x354)]());}['editingUnit'](_0x1d53eb){const _0x292b9f=_0x43ec4c;this[_0x292b9f(0x144)][_0x292b9f(0x37a)]===0x0&&this[_0x292b9f(0x148)](),this['_selfUnitIDs']['add'](_0x1d53eb),this[_0x292b9f(0x109)]({'type':0x0,'memberID':this[_0x292b9f(0x266)],'unitIDs':[_0x1d53eb],'isForwarded':!0x1});}[_0x43ec4c(0x381)](_0x4518af){const _0x3827e8=_0x43ec4c;this['_selfUnitIDs'][_0x3827e8(0x37b)](_0x4518af),this[_0x3827e8(0x144)][_0x3827e8(0x37a)]===0x0&&this[_0x3827e8(0x1c8)]&&window[_0x3827e8(0x31d)](this[_0x3827e8(0x1c8)]);}[_0x43ec4c(0x38d)](){const _0x13bed5=_0x43ec4c;this[_0x13bed5(0x2ab)](_0x50235c[_0x13bed5(0x2ff)](_0x4c6442[_0x13bed5(0x396)](window,_0x13bed5(0x27d))[_0x13bed5(0x1f4)](_0x169134=>{const _0x1a629e=_0x13bed5;if(_0x169134[_0x1a629e(0x356)]!==_0x3a1470||!_0x169134[_0x1a629e(0x15e)])return;const _0x5cf8a2=JSON['parse'](_0x169134[_0x1a629e(0x15e)]);this[_0x1a629e(0x22a)](_0x5cf8a2);}))),window['addEventListener']('unload',()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x13bed5(0x144)])}));}[_0x43ec4c(0x22a)](_0x55eb32){const _0xacfbf7=_0x43ec4c;switch(_0x55eb32[_0xacfbf7(0x2e6)]){case 0x0:this[_0xacfbf7(0x3c4)](_0x55eb32);break;case 0x1:this[_0xacfbf7(0x1ef)](_0x55eb32);break;case 0x2:this[_0xacfbf7(0x364)](_0x55eb32);break;}}[_0x43ec4c(0x3c4)](_0x97e4f3){const _0x525505=_0x43ec4c,{unitIDs:_0x3c5f8d,memberID:_0x1bac88,isForwarded:_0x5b6edd}=_0x97e4f3;_0x3c5f8d[_0x525505(0x10d)](_0x45c61d=>{const _0x4c7ed9=_0x525505;if(!_0x5b6edd&&this[_0x4c7ed9(0x341)]['has'](_0x45c61d)&&this[_0x4c7ed9(0x314)](_0x45c61d)[_0x4c7ed9(0x127)](_0x59d2d1[_0x4c7ed9(0x244)][_0x4c7ed9(0x149)]),!this[_0x4c7ed9(0x341)][_0x4c7ed9(0x1d2)](_0x45c61d)||!this[_0x4c7ed9(0x341)]['get'](_0x45c61d)[_0x4c7ed9(0x1d2)](_0x1bac88)){const _0x9d00ea=this[_0x4c7ed9(0x341)][_0x4c7ed9(0x268)](_0x45c61d)||new Set();_0x9d00ea[_0x4c7ed9(0x3bf)](_0x1bac88),this[_0x4c7ed9(0x341)][_0x4c7ed9(0x392)](_0x45c61d,_0x9d00ea),this[_0x4c7ed9(0x1fd)](_0x1bac88);}}),_0x5b6edd||this['_send']({'type':0x0,'memberID':this[_0x525505(0x266)],'unitIDs':[...this[_0x525505(0x144)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x382eb4){const _0x1c5b17=_0x43ec4c;this[_0x1c5b17(0x21b)](_0x382eb4);const _0x4f3996=window['setTimeout'](()=>{const _0x43e012=_0x1c5b17;this[_0x43e012(0x341)]['forEach'](_0x1f946a=>{const _0x5e3b2e=_0x43e012;_0x1f946a[_0x5e3b2e(0x37b)](_0x382eb4);});},_0xf24e95*0x2);this[_0x1c5b17(0x386)][_0x1c5b17(0x392)](_0x382eb4,_0x4f3996);}[_0x43ec4c(0x21b)](_0x18c12f){const _0x3e0f08=_0x43ec4c;if(this[_0x3e0f08(0x386)][_0x3e0f08(0x1d2)](_0x18c12f)){const _0x2ff8ca=this[_0x3e0f08(0x386)][_0x3e0f08(0x268)](_0x18c12f);_0x2ff8ca&&window['clearTimeout'](_0x2ff8ca),this[_0x3e0f08(0x386)][_0x3e0f08(0x392)](_0x18c12f,null);}}['_handleLeaveEvent'](_0x1521b7){const {memberID:_0x22f75f,unitIDs:_0x5bdc96}=_0x1521b7;_0x5bdc96['forEach'](_0x547d12=>{const _0x53843b=_0x3d56;var _0x57e095;const _0x2ce6f3=this['_unitOnClients']['get'](_0x547d12);_0x2ce6f3&&(_0x2ce6f3[_0x53843b(0x37b)](_0x22f75f),(_0x57e095=this[_0x53843b(0x314)](_0x547d12))==null||_0x57e095['next'](_0x2ce6f3['size']===0x0?_0x59d2d1[_0x53843b(0x244)]['NO_OTHER_CLIENTS_EDITING']:_0x59d2d1[_0x53843b(0x244)][_0x53843b(0x149)]));}),this['_removeClearOtherTimer'](_0x22f75f);}[_0x43ec4c(0x364)](_0x546e7a){const _0x52c21d=_0x43ec4c;this[_0x52c21d(0x1fd)](_0x546e7a['memberID']);}[_0x43ec4c(0x109)](_0x41d103){const _0x37bf80=_0x43ec4c;localStorage[_0x37bf80(0x30a)](_0x3a1470,JSON[_0x37bf80(0x145)](_0x41d103));}[_0x43ec4c(0x148)](){const _0x11ded6=_0x43ec4c;this[_0x11ded6(0x1c8)]=window[_0x11ded6(0x1ca)](()=>{const _0x2ef16e=_0x11ded6;this[_0x2ef16e(0x109)]({'type':0x2,'memberID':this['_id']});},_0xf24e95);}[_0x43ec4c(0x314)](_0x3156d3){const _0x46f5bb=_0x43ec4c;return this[_0x46f5bb(0x128)][_0x46f5bb(0x1d2)](_0x3156d3)||this[_0x46f5bb(0x128)][_0x46f5bb(0x392)](_0x3156d3,new _0x4c6442['BehaviorSubject'](_0x59d2d1[_0x46f5bb(0x244)][_0x46f5bb(0x171)])),this[_0x46f5bb(0x128)][_0x46f5bb(0x268)](_0x3156d3);}}_0x42c0de[_0x43ec4c(0x11b)]=_0x24c3fe,_0x42c0de[_0x43ec4c(0x247)]=_0x6396e6,_0x42c0de[_0x43ec4c(0x121)]=_0x588e6f,_0x42c0de[_0x43ec4c(0x35f)]=_0x3bf73a,Object['defineProperty'](_0x42c0de,Symbol[_0x43ec4c(0x32d)],{'value':_0x43ec4c(0x19a)});}));