@univerjs-pro/collaboration-client-ui 0.12.3 → 0.12.4-experimental.20251208-c4b8a44

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 (54) 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/types/locale/en-US.d.ts +1 -0
  41. package/lib/umd/facade.js +1 -1
  42. package/lib/umd/index.js +1 -1
  43. package/lib/umd/locale/ca-ES.js +1 -1
  44. package/lib/umd/locale/en-US.js +1 -1
  45. package/lib/umd/locale/es-ES.js +1 -1
  46. package/lib/umd/locale/fa-IR.js +1 -1
  47. package/lib/umd/locale/fr-FR.js +1 -1
  48. package/lib/umd/locale/ja-JP.js +1 -1
  49. package/lib/umd/locale/ko-KR.js +1 -1
  50. package/lib/umd/locale/ru-RU.js +1 -1
  51. package/lib/umd/locale/vi-VN.js +1 -1
  52. package/lib/umd/locale/zh-CN.js +1 -1
  53. package/lib/umd/locale/zh-TW.js +1 -1
  54. package/package.json +18 -18
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x4915(){const _0x2515b2=['session.connection-failed','getCurrentSelections','includes','functionsExecutedState','triggerDblclick','_memberService','_commandService','APPLY_PERMISSION_DENIED','formula.calculation.unable','_onCursorUpdate','evenodd','touchDependencies','getSheetId','ACTIVE_UNIT_EVENT_CHANNEL','UniverInstanceType','_cursor','unitID','INotificationService','_memberID','reason','handleIRemoveCol','_updateSubUnitFromURLParams','url(#off-line-icon_clip0_910_343)','bind','CollaborationSocketService','ONLINE','[RemoteUniscriptService]:\x20no\x20focused\x20unit','collabStatus.fetchMiss','_hasFormulaInDirtyRanges','ISocketService','collabStatus.synced','Rectangle','code','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_syncEditingCollabCursorService','UniverSheetsUi','_roomMembers$','_scheduleSaving','Error','YUUMI_CONNECTOR_URL_NOT_FOUND','ranges','USER_NOT_FOUND','handleInsertRangeMoveRight','M0\x200H16V16H0z','_disabled','collaboration.single-unit.warning','runOnServer','transformIMECache','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','SheetsSelectionsService','_uiPartsService','_univerInstanceService','storage','_colorAssignService','removeEventListener','Rect','fillText','_themeService','TEXT_RANGE_LAYER_INDEX','rxjs','setAlpha','REDEMPTION_USER_NOT_ELIGIBLE','useObservable','_entities','ILogService','collabStatus.syncing','YUUMI_URL_COL_OUT_OF_RANGE','_docTransformIMECacheService','override','range','top','Injector','startRow','_configService','UniverCore','none','ColorKit','getCellMatrix','@univerjs/network','getCurrent','_config','_backgroundColor','LOCAL_CACHE_INTERVAL_KEY','deepClone','_online','unit','defs','_beforeCloseService','IUniverInstanceService','RichTextEditingMutation','getRenderById','217255BjcNwj','saveTaskMap','href','imageSourceType','disableLocalCache','object','_setFormulaLimitStatus','function','getUnitStatus$','textRanges','trim','LOGIN_TOKEN_PROCESSING_FAILED','MOBILE_HAS_BEEN_BOUND','REDEMPTION_CODE_INACTIVE','7532343bKFSqi','1em','forEach','_imageIoService','univerjs-icon\x20univerjs-icon-','from','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','/universer-api/license/formula/limit/start','getVpScrollXYInfoByPosToVp','restore','RxDisposable','_createSocketURL','...','_initDependencies','CONNECTOR_DATA_TOO_LARGE','COLORS','roomMembers','permission.content','registerRenderModule','collaboration-client-ui.config','YUUMI_ALL_TABLES_IS_INVALID','getSkeleton','off-line-icon_clip0_910_343','CollaborationSessionService','WECHAT_HAS_BEEN_BOUND','MOBILE_VERIFY_CODE_MISMATCH','UniverRpc','UPDATE_CURSOR','limitInfo','OTHER_CLIENT_EDITING','_dataLoaderService','CONFLICT','_color','UniverIcon','FormulaExecutedStateType','source','SUCCESS','IMessageService','post','transform','_httpService','replace','_messageService','_lastResponseTimestamp','Failed','_getMergeRange','resize','collaboration-client.offline-data-not-saved','formula.calculation.waiting','init','VIEW_MAIN','_collaborationUIEventService','bottom','translate(.97)','getMemberID','HTTPService','createSocket','_clearOtherTimers','_getScale','assignAColorForMemberID','InsertRowCommandId','ENSURE_SNAPSHOT_EXECUTION','connectInjector','operators','mutations','getUndoRedoMutationParamsCache','_lastPointer','getAncestorScale','serializeRangeWithSheet','[LogService\x20Error]:\x20','Optional','onMouseMove','_heartbeatTimer','Inject','subscribe','jsx','DocStateChangeManagerService','setParam','_removeCollabCursors','INVITE_CODE_HAS_BEEN_UES','displayName','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','children','CollaborationUIEventService','replaceState','unitId','Shape','currentColor','getFocusedUnit','totalFormulasToCalculate','_injector','BehaviorSubject','hovered','ILocalCacheService','DisposableCollection','size','collabStatus.conflict','_collabCursorController','UniverNetwork','REDEMPTION_CODE_NOT_STARTED','UniverUi','_shapes','CollaborationController','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','HEADER_MENU','takeUntil','transformMutation','START_CALCULATION','addObjects','[Window\x20Error]:\x20','event$','_handleEvent','_assignedColors','ENTITLE_REPORT_LIMIT_EXCEED','react/jsx-runtime','MUTATION','now','http://www.w3.org/2000/svg','getMember','_saveCache','4OwGOzr','_initUserListener','_checkAndWaitForCalculationPermission','getUnitId','redoState','DocSkeletonManagerService','findNodePositionByCharIndex','asObservable','YUUMI_SUBSCRIPTION_NOT_FOUND','AUTHORIZE_CODE_ILLEGAL','OnLineIcon','getCollabCursors$','IConfigService','@univerjs/design','isTransformMutationFailure','_docTransformStateCacheService','defineProperty','currentUsage','REDEMPTION_CODE_HAS_BEEN_CREATED','SetWorksheetActivateCommand','_initWindowErrorListener','_scheduleClearOtherTimer','_entityInit$','getActiveSheet','DependentOn','Tools','onStarting','substring','origin','isArray','updateOfflineData','BuiltInUIPart','width','_registerDependencies','IRenderManagerService','DesktopCollaborationStatusDisplayController','4540316FEvePy','shareReplay','UniverSheets','off-line-icon','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','REDEMPTION_INVALID_CODE','history','svg','_initCommandInterceptor','sessionStatus$','executionId','searchParams','max','_getSessionTicket','m1Prime','_textBubble','getCollabEntity$','drawWith','row','collaboration.closeRoom','disposeWithMe','getColor','parseInt','currentSkeleton$','_updateURLWithCurrentState','onPointerLeave$','text','OFFLINE','useDependency','_cursors','WebSocketService','INVALID_ARGUMENT','getRelativeToViewportCoord','formula.calculation.started','SNAPSHOT_HAS_BEEN_REMOVED','beginPath','stage','beforeCommandExecuted','toRgbString','_transformUndoRedoStack','YUUMI_RATE_OVER_LIMIT','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','/universer-api/frontend/logs','unshift','_collabCursorState$','isFormulaString','CommandType','createInstance','FETCH_MISS','SHEET_VIEWPORT_KEY','roomMembers$','_eventUnsubscribe','_init','registerRefRange','colno','TEXT','contains','SetSelectionsOperation','use','RemoveColCommandId','CHANGESET_REVISION_CONFILICT','send','getTypeOfUnitDisposed$','focused$','_collaborationSessionService','map','5456320dylzjd','_ensureSubject','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','subunit','handleDeleteRangeMoveUp','747936XgwjBh','_refreshCollabCursors','_uploadLog','subscribeEvent','DocSelectionManagerService','_getAnchorBounding','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_anchorDot','_urlService','fillStyle','saveOfflineData','registerBeforeClose','IRemoteInstanceService','on-line-icon_clip0_910_349','onPointerEnter$','_initStatusListener','handleInsertRangeMoveDown','SNAPSHOT_INVALID_SNAPSHOT','0\x200\x2017\x2016','_hovered','unhandledrejection','with','_labelPosition','collab-client.tooltip.reconnect','path','_saveTaskMap','_getFormulaLimitStatus','entries','YUUMI_ASYNCIO_CANCELLED','filter','data','YUUMI_NO_CUBOID_FOR_QUESTION','_name','_collaborationController','sessionTicket','PERMISSION_DENIED','FromArray','onLocalMutation','INVALID_INVITE_CODE','_localStorageService','UniverProCollaborationClientUi','SUBMIT_CHANGESET_TIMEOUT','actions','split','combineLatest','EMAIL_VERIFY_CODE_MISMATCH','UNDEFINED','_initEvent','dispose$','clearTimeout','_registerRenderDependencies','DATA_SOURCE_TOO_LARGE','some','ENTITLE_NEED_BILLING_ADDRESS','toString','stageInfo','UnitStatus','generateRandomId','startColumn','socket$','useRef','_id','_toggleOnline','deserializeRangeWithSheet','ITransformService','UNAUTHENTICATED','_updateLocalCursor','_notificationService','enableFrontendLog','ticket','handleMoveRange','PY_RUNTIME_SCRIPT_ERROR','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getRangePointData','APPLY_DUPLICATED','_revisionService','_docTransformSelectionsService','onPointerMove$','LOGIN_FAILED','session.will-retry','_maxFormulaLimit','type','LocaleService','1160667Bhszou','colorChannel1','url(#$1','_setupBeforeClosingHandler','transformRemoteChangeset','defIds','_hover','clsx','_initEntityListener','color','EffectRefRangId','UniverDrawing','_cursorShapes','fromEventSubject','LICENSE_EXPORT_SIZE_EXCEEDED','[Unhandled\x20Rejection]:\x20','getParam','isFormulaId','SOCKET_FAILED','releaseFormulaLimitUrl','InsertRangeMoveRightCommandId','_refRangeService','Subject','NOT_FOUND','_sheetSkeletonManagerService','@univerjs-pro/collaboration-client','ALREADY_EXISTS','getCurrentRevOfUnit','RECT','Module','DocIMEInputManagerService','values','YUUMI_UNABLE_LOAD_URL','_transformPreviousActiveRange','univer-mr-2\x20univer-flex\x20univer-text-xl','get','getUnit','setStateCache','measureText','black','runId','Warning','_unitOnClients','m2Prime','getformulaLimitStatusUrl','reconnect','FormulaExecuteStageType','IURLService','@univerjs/docs-ui','whenReady','setShapeProps','_removeClearOtherTimer','syncEditingCollabCursor','cursorInfo','_startCalculationLimit','rxjs/operators','YUUMI_AI_RUN_FAILED','@univerjs/sheets-ui','getConfig','_checkCalculationAvailable','DOC_RANGE_TYPE','_handleHover','APPLY_NON_SEQUENTIAL_REVISION','_docClipboardService','COMPLETION_FINISHED','key','_localCacheService','entityInit$','_context','parse','_docSkeletonManagerService','CollaborationEvent','_transformHistoryAndStateStack','cursorInfo$','LICENSE_DISTRO_REJECTED','_drawRectRange','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','backgroundColor','CURRENT_STATUS_CANNOT_OPERATE','show','setUndoRedoMutationParamsCache','undoState','54skcZHl','_initCommandExecutedListener','complete','endRow','onTransformChange$','_initStatusComponent','INTERNAL_ERROR','PENDING','USER_IS_ANONYMOUS','SetFormulaCalculationStartMutation','_docSyncEditingCollabCursorService','attrs','getStateCache','isTransformMutationsWithChangesetSuccess','exhaustSavingTask','_setupSubUnitSync','delete','eventID','UNIVER_SHEET','NOT_COLLAB','@univerjs/ui','requireSession','handleInsertRow','_collabSessionService','switchMap','[CollaborationDataLoaderController]','_logService','red.300','application/json','_cachedData','getValue','_doCreateSocket','fillRule','Success','subUnitId','MemberService','selection','getOwnPropertyDescriptor','getViewport','mergeOverrideWithDependencies','_unitStatus','body','removeParam','jsxs','LOCAL_CACHE_INTERVAL','JOIN_ROOM_FAILED','CollaborationStatus','_drawAnchor','xlink:href','SYNCED','RemoteUniscriptService','endColumn','getItem','@univerjs/engine-render','CollaborationUIEventId','message','_handleLeaveEvent','result','_currentUsage','docStateChange$','onCommandExecuted','selections','_onCursorDelete','CLOSE_ROOM','error','APPLY_REVISION_CONFILICT','_transformService','Vector2','handleInsertCol','ENTITLE_CHAT_LIMIT_EXCEED','INVITE_CODE_REQUIRED','white','/universer-api/license/formula/limit/status','BrowserCollaborationSocketService','stack','WebURLService','getTypeOfUnitAdded$','getUniverSheetInstance','newValue','collabStatus.offline','SetDocZoomRatioOperation','_releaseCalculationLimit','USER_NOT_INVITED_CODE','dispose','_startDocCollabCursor','flatMap','_pollingInterval','UNIVER_DOC','MessageType','NO_OTHER_CLIENTS_EDITING','idSuffix','next','getActiveRange','getColorFromTheme','collabCursorState$','startFormulaLimitUrl','LICENSE_MAX_UNITS_EXCEEDED','hide','1775736DzsqWW','setActiveRange','editingUnit','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_status$','RegularPolygon','_scene','isActive','arc','setConfig','react','addObject','stringify','transformSelections','params','createIdentifier','useCallback','CollaborationDataLoaderController','APPLY_REJECT','OTHER_CLIENTS_EDITING','lineno','setInterval','createElement','then','distinctUntilChanged','purple.300','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','add','_onRefRangeChange','EMAIL_HAS_BEEN_BOUND','_taskIds','IImageIoService','symbol','_initResize','has','tag','_range','ENTITLE_CAN_NOT_BUY_LOWER_OTP','unload','MoveRangeCommandId','ENTITLE_DUP_SUBSCRIPTION','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','React','UniverEngineFormula','_monkeyPatchLogService','SheetCollabCursorShape','_docStateChangeManagerService','addEventListener','_document','_toggleOffline','UniverDocsUi','fromEvent','setTimeout','string','getCoordByCell','push','moveTo','getMergeData','LICENSE_IMPORT_SIZE_EXCEEDED','UniverDocs','set','_session','debounce','debounceTime','catch','REDEMPTION_CODE_FULLY_REDEEMED','UniverCollaborationClientUIPlugin','round','ICommandService','executeCommand','makeDirty','getUnhiddenWorksheets','assign','blue.400','SessionStatus','TOO_MANY_REQUESTS','min','mapTo','green.600','UNRECOGNIZED','addHandlerCallback','div','_handleJoinEvent','forwardRef','_cursorInfo$','merge','unsubscribe','getDocRanges','session.collaboration-timeout','NodePositionConvertToRectRange','clipPath','_hideTimer','@univerjs/drawing','memberID','clearInterval','Tooltip','maxFormulaLimit','_updateCollabCursors','getSheetBySheetId','_renderManagerService','_scheduleHeartbeat','_anchor','_render','mask','urlChange$','IUIPartsService','_getSaveTimeout','toDisposable','_selfUnitIDs','UniverEngineRender','INVITE_CODE_ALREADY_BOUND','replaceDocRanges','RefRangeService','height','currentTheme$','setItem','@univerjs/sheets','InsertColCommandId','_localeService','pipe','save','_draw','\x20at\x20','_colorIndex','column','length','_initUnhandledRejectionListener','SOCKET_FAILED_RETRY','_drawTextRange','popstate','DeleteRangeMoveLeftCommandId','lineTo','location','pushState','doc.mutation.rich-text-editing','name','Disposable','fill','getLocalCacheKey','_send'];_0x4915=function(){return _0x2515b2;};return _0x4915();}function _0x1ae4(_0x1036b1,_0xdb132a){const _0x4915b4=_0x4915();return _0x1ae4=function(_0x1ae484,_0x48d759){_0x1ae484=_0x1ae484-0x90;let _0x3d303e=_0x4915b4[_0x1ae484];return _0x3d303e;},_0x1ae4(_0x1036b1,_0xdb132a);}(function(_0x4b9f7a,_0x4e7b1f){const _0x5c03cf=_0x1ae4,_0xc4520d=_0x4b9f7a();while(!![]){try{const _0x3956d0=parseInt(_0x5c03cf(0x118))/0x1+-parseInt(_0x5c03cf(0xad))/0x2*(-parseInt(_0x5c03cf(0x16b))/0x3)+-parseInt(_0x5c03cf(0xd1))/0x4+-parseInt(_0x5c03cf(0x306))/0x5*(-parseInt(_0x5c03cf(0x1bd))/0x6)+-parseInt(_0x5c03cf(0x314))/0x7+parseInt(_0x5c03cf(0x113))/0x8+parseInt(_0x5c03cf(0x21f))/0x9;if(_0x3956d0===_0x4e7b1f)break;else _0xc4520d['push'](_0xc4520d['shift']());}catch(_0x2a3fdd){_0xc4520d['push'](_0xc4520d['shift']());}}}(_0x4915,0x8dd7d),function(_0x3b2618,_0x2efe3d){const _0x1f3a5b=_0x1ae4;typeof exports==_0x1f3a5b(0x30b)&&typeof module<'u'?_0x2efe3d(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==_0x1f3a5b(0x30d)&&define['amd']?define(['exports',_0x1f3a5b(0xa7),_0x1f3a5b(0x184),'@univerjs/core',_0x1f3a5b(0x1d1),_0x1f3a5b(0x2e6),_0x1f3a5b(0xba),_0x1f3a5b(0x229),'@univerjs/rpc',_0x1f3a5b(0x293),_0x1f3a5b(0x1f2),_0x1f3a5b(0x2f9),_0x1f3a5b(0x19b),_0x1f3a5b(0x27b),'@univerjs-pro/collaboration','@univerjs/docs','@univerjs/engine-formula',_0x1f3a5b(0x1a2),_0x1f3a5b(0x1a4)],_0x2efe3d):(_0x3b2618=typeof globalThis<'u'?globalThis:_0x3b2618||self,_0x2efe3d(_0x3b2618[_0x1f3a5b(0x140)]={},_0x3b2618['React'],_0x3b2618['UniverProCollaborationClient'],_0x3b2618[_0x1f3a5b(0x2f5)],_0x3b2618[_0x1f3a5b(0x99)],_0x3b2618[_0x1f3a5b(0x2e6)],_0x3b2618['UniverDesign'],_0x3b2618[_0x1f3a5b(0x249)],_0x3b2618[_0x1f3a5b(0x32e)],_0x3b2618[_0x1f3a5b(0xd3)],_0x3b2618[_0x1f3a5b(0x28c)],_0x3b2618[_0x1f3a5b(0x97)],_0x3b2618[_0x1f3a5b(0x251)],_0x3b2618[_0x1f3a5b(0x176)],_0x3b2618['UniverProCollaboration'],_0x3b2618[_0x1f3a5b(0x25a)],_0x3b2618[_0x1f3a5b(0x24a)],_0x3b2618[_0x1f3a5b(0x2e6)][_0x1f3a5b(0x353)],_0x3b2618[_0x1f3a5b(0x2ce)]));}(this,function(_0x440074,_0x54094d,_0x29cbea,_0x4a5a1c,_0x270495,_0x8d94e0,_0x67c92c,_0x3728a4,_0xa7700f,_0x48c182,_0x5d2f68,_0xbeb642,_0x22126e,_0x1954a8,_0x4a6bb0,_0x5afd4e,_0x419491,_0x5d0515,_0x14ceff){'use strict';const _0x22d19e=_0x1ae4;var _0x23d957=Object[_0x22d19e(0xbd)],_0x1330f8=(_0x11b2ec,_0x320e19,_0x5b03dc)=>_0x320e19 in _0x11b2ec?_0x23d957(_0x11b2ec,_0x320e19,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5b03dc}):_0x11b2ec[_0x320e19]=_0x5b03dc,_0xa63e61=(_0x3a2d11,_0x3be269,_0x20baab)=>_0x1330f8(_0x3a2d11,typeof _0x3be269!=_0x22d19e(0x23f)?_0x3be269+'':_0x3be269,_0x20baab);function _0x318455({ref:_0x573b24,..._0x5edf2d}){const _0x5a6d2a=_0x22d19e,{icon:_0x21b538,id:_0x20721a,className:_0x9f022a,extend:_0x255331,..._0x5d9e3f}=_0x5edf2d,_0x2203d9=(_0x5a6d2a(0x318)+_0x20721a+'\x20'+(_0x9f022a||''))[_0x5a6d2a(0x310)](),_0x289d=_0x3728a4[_0x5a6d2a(0x154)]('_'+_0x27e521());return _0x1e0ea2(_0x21b538,''+_0x20721a,{'defIds':_0x21b538[_0x5a6d2a(0x170)],'idSuffix':_0x289d['current']},{'ref':_0x573b24,'className':_0x2203d9,..._0x5d9e3f},_0x255331);}function _0x1e0ea2(_0x4bd170,_0x3f8811,_0x14644f,_0x563df1,_0x34bd43){const _0x3b38e3=_0x22d19e;return _0x3728a4[_0x3b38e3(0x235)](_0x4bd170['tag'],{'key':_0x3f8811,..._0x50e694(_0x4bd170,_0x14644f,_0x34bd43),..._0x563df1},(_0x30bd2f(_0x4bd170,_0x14644f)[_0x3b38e3(0x366)]||[])[_0x3b38e3(0x112)]((_0x4e6657,_0x36a2ba)=>_0x1e0ea2(_0x4e6657,_0x3f8811+'-'+_0x4bd170['tag']+'-'+_0x36a2ba,_0x14644f,void 0x0,_0x34bd43)));}function _0x50e694(_0x2f22d9,_0x41e017,_0x4c37b4){const _0x444033=_0x22d19e,_0x5e56d0={..._0x2f22d9[_0x444033(0x1c8)]};_0x4c37b4!=null&&_0x4c37b4[_0x444033(0x16c)]&&_0x5e56d0['fill']==='colorChannel1'&&(_0x5e56d0[_0x444033(0x2a8)]=_0x4c37b4['colorChannel1']),_0x2f22d9['tag']===_0x444033(0x286)&&_0x5e56d0['id']&&(_0x5e56d0['id']=_0x5e56d0['id']+_0x41e017[_0x444033(0x217)]),Object['entries'](_0x5e56d0)[_0x444033(0x316)](([_0x5d0914,_0x262066])=>{const _0x4d48b5=_0x444033;_0x5d0914===_0x4d48b5(0x286)&&typeof _0x262066==_0x4d48b5(0x254)&&(_0x5e56d0[_0x5d0914]=_0x262066[_0x4d48b5(0x33d)](/url\(#(.*)\)/,_0x4d48b5(0x16d)+_0x41e017['idSuffix']+')'));});const {defIds:_0x243c85}=_0x41e017;return!_0x243c85||_0x243c85['length']===0x0||(_0x2f22d9[_0x444033(0x242)]===_0x444033(0x10b)&&_0x5e56d0['xlink:href']&&(_0x5e56d0[_0x444033(0x1ed)]=_0x5e56d0['xlink:href']+_0x41e017[_0x444033(0x217)]),Object[_0x444033(0x133)](_0x5e56d0)[_0x444033(0x316)](([_0x29b0db,_0x1cdaa5])=>{const _0x16eb09=_0x444033;typeof _0x1cdaa5==_0x16eb09(0x254)&&(_0x5e56d0[_0x29b0db]=_0x1cdaa5['replace'](/url\(#(.*)\)/,_0x16eb09(0x16d)+_0x41e017['idSuffix']+')'));})),_0x5e56d0;}function _0x30bd2f(_0x16114f,_0x1862ec){const _0x4c2278=_0x22d19e;var _0xa1ad79;const {defIds:_0x1a890a}=_0x1862ec;return!_0x1a890a||_0x1a890a[_0x4c2278(0x29c)]===0x0?_0x16114f:_0x16114f[_0x4c2278(0x242)]===_0x4c2278(0x301)&&((_0xa1ad79=_0x16114f[_0x4c2278(0x366)])!=null&&_0xa1ad79[_0x4c2278(0x29c)])?{..._0x16114f,'children':_0x16114f[_0x4c2278(0x366)]['map'](_0x2ca2da=>typeof _0x2ca2da[_0x4c2278(0x1c8)]['id']==_0x4c2278(0x254)&&_0x1a890a&&_0x1a890a[_0x4c2278(0x2ad)](_0x2ca2da[_0x4c2278(0x1c8)]['id'])?{..._0x2ca2da,'attrs':{..._0x2ca2da['attrs'],'id':_0x2ca2da[_0x4c2278(0x1c8)]['id']+_0x1862ec['idSuffix']}}:_0x2ca2da)}:_0x16114f;}function _0x27e521(){const _0x2688af=_0x22d19e;return Math['random']()[_0x2688af(0x14e)](0x24)[_0x2688af(0xc8)](0x2,0x8);}_0x318455[_0x22d19e(0x364)]=_0x22d19e(0x335);const _0x2184c1={'tag':'svg','attrs':{'xmlns':_0x22d19e(0xaa),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x22d19e(0x315),'height':_0x22d19e(0x315)},'children':[{'tag':'g','attrs':{'clipPath':_0x22d19e(0x2c1)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x22d19e(0x9c),'strokeLinecap':'round','strokeLinejoin':_0x22d19e(0x262),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x22d19e(0x279),'attrs':{'id':_0x22d19e(0x32a)},'children':[{'tag':_0x22d19e(0x130),'attrs':{'fill':_0x22d19e(0x204),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x22d19e(0x32a)]},_0x81dcf2=_0x3728a4[_0x22d19e(0x272)](function(_0x3143c2,_0x56887c){const _0x599dcf=_0x22d19e;return _0x3728a4['createElement'](_0x318455,Object['assign']({},_0x3143c2,{'id':_0x599dcf(0xd4),'ref':_0x56887c,'icon':_0x2184c1}));});_0x81dcf2['displayName']='OffLineIcon';const _0x1b6a09={'tag':_0x22d19e(0xd8),'attrs':{'xmlns':_0x22d19e(0xaa),'fill':_0x22d19e(0x2f6),'viewBox':_0x22d19e(0x12a),'width':_0x22d19e(0x315),'height':_0x22d19e(0x315)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x22d19e(0x130),'attrs':{'stroke':_0x22d19e(0x36b),'d':_0x22d19e(0x1b7),'strokeLinecap':_0x22d19e(0x262),'strokeLinejoin':_0x22d19e(0x262),'strokeWidth':1.2}}]},{'tag':_0x22d19e(0x301),'attrs':{},'children':[{'tag':_0x22d19e(0x279),'attrs':{'id':_0x22d19e(0x125)},'children':[{'tag':'path','attrs':{'fill':_0x22d19e(0x204),'d':_0x22d19e(0x2d6),'transform':_0x22d19e(0x349)}}]}]}],'defIds':[_0x22d19e(0x125)]},_0x34b6b5=_0x3728a4['forwardRef'](function(_0x1b8960,_0x26ab7d){const _0x383d42=_0x22d19e;return _0x3728a4['createElement'](_0x318455,Object[_0x383d42(0x267)]({},_0x1b8960,{'id':'on-line-icon','ref':_0x26ab7d,'icon':_0x1b6a09}));});_0x34b6b5[_0x22d19e(0x364)]=_0x22d19e(0xb7);function _0x2ec0b1(_0x3b13b5){const _0x423fee=_0x22d19e;switch(_0x3b13b5){case _0x29cbea['CollaborationStatus'][_0x423fee(0xec)]:return _0x423fee(0x20c);case _0x29cbea[_0x423fee(0x1eb)][_0x423fee(0x333)]:return _0x423fee(0x95);case _0x29cbea[_0x423fee(0x1eb)][_0x423fee(0x101)]:return _0x423fee(0x2c6);case _0x29cbea['CollaborationStatus'][_0x423fee(0x1d0)]:return'collabStatus.notCollab';case _0x29cbea[_0x423fee(0x1eb)]['AWAITING']:case _0x29cbea['CollaborationStatus']['AWAITING_WITH_PENDING']:return _0x423fee(0x2ec);case _0x29cbea[_0x423fee(0x1eb)][_0x423fee(0x1ee)]:case _0x29cbea[_0x423fee(0x1eb)][_0x423fee(0x1c4)]:return _0x423fee(0x2c9);}}function _0x1117e8(_0x4adb36){const _0x1bd57b=_0x22d19e,{status$:_0x30c60f}=_0x4adb36,_0x2954c3=_0x270495[_0x1bd57b(0x2e9)](_0x30c60f,_0x29cbea[_0x1bd57b(0x1eb)][_0x1bd57b(0x1d0)]),_0x220e44=_0x270495[_0x1bd57b(0xed)](_0x4a5a1c['LocaleService']),_0x2de525=_0x270495[_0x1bd57b(0xed)](_0x29cbea[_0x1bd57b(0x32b)]),_0x52723e=_0x2954c3!==_0x29cbea[_0x1bd57b(0x1eb)][_0x1bd57b(0xec)],_0x298913=_0x220e44['t'](_0x2ec0b1(_0x2954c3)),_0xc417c4=_0x52723e?_0x54094d[_0x1bd57b(0x35f)](_0x34b6b5,{}):_0x54094d['jsx'](_0x81dcf2,{}),_0x2d274f=_0x3728a4[_0x1bd57b(0x22f)](()=>{const _0x5aa915=_0x1bd57b;_0x52723e||_0x2de525[_0x5aa915(0x198)]();},[_0x52723e,_0x2de525]);function _0x1097cb(){const _0x35bc59=_0x1bd57b;return _0x54094d[_0x35bc59(0x1e8)]('div',{'className':'univer-flex\x20univer-items-center','onClick':_0x2d274f,'children':[_0x54094d['jsx'](_0x35bc59(0x270),{'className':_0x67c92c[_0x35bc59(0x172)](_0x35bc59(0x18d),{'univer-text-green-500':_0x52723e,'univer-text-red-500':!_0x52723e}),'children':_0xc417c4}),_0x54094d[_0x35bc59(0x35f)](_0x35bc59(0x270),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x298913})]});}return _0x52723e?_0x1097cb():_0x54094d[_0x1bd57b(0x35f)](_0x67c92c[_0x1bd57b(0x27e)],{'title':_0x220e44['t'](_0x1bd57b(0x12f)),'children':_0x1097cb()});}var _0x1f95d9=Object[_0x22d19e(0x1e2)],_0x3de216=(_0x6eadce,_0x2738a2,_0x1d4c75,_0x5c5b2)=>{const _0x37168f=_0x22d19e;for(var _0xc73206=_0x5c5b2>0x1?void 0x0:_0x5c5b2?_0x1f95d9(_0x2738a2,_0x1d4c75):_0x2738a2,_0x5c0bd9=_0x6eadce[_0x37168f(0x29c)]-0x1,_0xfaff54;_0x5c0bd9>=0x0;_0x5c0bd9--)(_0xfaff54=_0x6eadce[_0x5c0bd9])&&(_0xc73206=_0xfaff54(_0xc73206)||_0xc73206);return _0xc73206;},_0x424a95=(_0xa05b8d,_0x4d579e)=>(_0x48e415,_0xcaf905)=>_0x4d579e(_0x48e415,_0xcaf905,_0xa05b8d);_0x440074[_0x22d19e(0xd0)]=class extends _0x4a5a1c[_0x22d19e(0x2a7)]{constructor(_0x3404a7,_0x3b1535,_0x33605e,_0x32930b){const _0x5c1c2f=_0x22d19e;super(),_0xa63e61(this,'_status$',new _0x8d94e0[(_0x5c1c2f(0x90))](_0x29cbea['CollaborationStatus'][_0x5c1c2f(0x1d0)])),(this[_0x5c1c2f(0x2de)]=_0x3404a7,this[_0x5c1c2f(0x36e)]=_0x3b1535,this[_0x5c1c2f(0x139)]=_0x33605e,this[_0x5c1c2f(0x2dd)]=_0x32930b,this[_0x5c1c2f(0x1c2)](),this[_0x5c1c2f(0x127)]());}['_initStatusListener'](){const _0x5a9163=_0x22d19e;this[_0x5a9163(0xe5)](this['_univerInstanceService'][_0x5a9163(0x110)][_0x5a9163(0x296)](_0x8d94e0['switchMap'](()=>{const _0x3dccd8=_0x5a9163,_0x24be5a=this[_0x3dccd8(0x2de)][_0x3dccd8(0x36c)]();return _0x24be5a?this[_0x3dccd8(0x139)][_0x3dccd8(0xe1)](_0x24be5a['getUnitId']()):_0x8d94e0['of'](null);}),_0x8d94e0[_0x5a9163(0x1d5)](_0x543ee5=>_0x543ee5?_0x543ee5['status$']:_0x8d94e0['of'](_0x29cbea[_0x5a9163(0x1eb)][_0x5a9163(0x1d0)])))[_0x5a9163(0x35e)](_0x2bcc0f=>{this['_status$']['next'](_0x2bcc0f);}));}[_0x22d19e(0x1c2)](){const _0x5b6566=_0x22d19e;this[_0x5b6566(0xe5)](this[_0x5b6566(0x2dd)]['registerComponent'](_0x270495[_0x5b6566(0xcc)][_0x5b6566(0x9d)],()=>_0x270495[_0x5b6566(0x352)](_0x55feb5({'status$':this[_0x5b6566(0x223)][_0x5b6566(0xb4)]()}),this[_0x5b6566(0x36e)])));}},_0x440074[_0x22d19e(0xd0)]=_0x3de216([_0x424a95(0x0,_0x4a5a1c[_0x22d19e(0x303)]),_0x424a95(0x1,_0x4a5a1c[_0x22d19e(0x35d)](_0x4a5a1c['Injector'])),_0x424a95(0x2,_0x4a5a1c['Inject'](_0x29cbea[_0x22d19e(0x9b)])),_0x424a95(0x3,_0x270495[_0x22d19e(0x288)])],_0x440074['DesktopCollaborationStatusDisplayController']);function _0x55feb5(_0x4b30eb){const {status$:_0x40a8d5}=_0x4b30eb;return function(){return _0x54094d['jsx'](_0x1117e8,{'status$':_0x40a8d5});};}const _0x1a7106=_0x4a5a1c[_0x22d19e(0x22e)]('uni.network.url-service');var _0x2d8cb6=Object['getOwnPropertyDescriptor'],_0xbe8d43=(_0x2d6fc6,_0x29c0da,_0x532493,_0x234ce1)=>{const _0x241568=_0x22d19e;for(var _0x6c2526=_0x234ce1>0x1?void 0x0:_0x234ce1?_0x2d8cb6(_0x29c0da,_0x532493):_0x29c0da,_0x2f79a3=_0x2d6fc6[_0x241568(0x29c)]-0x1,_0x4c4eb0;_0x2f79a3>=0x0;_0x2f79a3--)(_0x4c4eb0=_0x2d6fc6[_0x2f79a3])&&(_0x6c2526=_0x4c4eb0(_0x6c2526)||_0x6c2526);return _0x6c2526;},_0x5dbae3=(_0x119d9e,_0x1fe68c)=>(_0x178431,_0x40df59)=>_0x1fe68c(_0x178431,_0x40df59,_0x119d9e);_0x440074[_0x22d19e(0x230)]=class extends _0x4a5a1c['RxDisposable']{constructor(_0x27a6c0,_0x14c1db,_0x393447,_0x1df618,_0x1358d9){const _0x5bf668=_0x22d19e;super(),this['_urlService']=_0x27a6c0,this[_0x5bf668(0x1d7)]=_0x14c1db,this[_0x5bf668(0x2b1)]=_0x393447,this[_0x5bf668(0x332)]=_0x1df618,_0x1358d9?_0x1358d9==null||_0x1358d9[_0x5bf668(0x19c)]()[_0x5bf668(0x236)](()=>this[_0x5bf668(0x105)]()):(this[_0x5bf668(0x1d7)]['debug'](_0x5bf668(0x1d6),_0x5bf668(0x2cc)),this['_init']());}async[_0x22d19e(0x105)](){const _0x3c86d5=_0x22d19e,_0x293a75=this[_0x3c86d5(0x120)][_0x3c86d5(0x17b)](_0x3c86d5(0x300)),_0x32416b=this[_0x3c86d5(0x120)][_0x3c86d5(0x17b)]('type'),_0x3bf553=this['_urlService'][_0x3c86d5(0x17b)](_0x3c86d5(0x116));if(!_0x293a75||!_0x32416b){this['_logService']['debug'](_0x3c86d5(0x1d6),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x34975e=await this[_0x3c86d5(0x332)]['loadUnit'](_0x293a75,Number(_0x32416b),_0x3bf553);_0x34975e&&_0x34975e instanceof _0x4a5a1c['Workbook']&&this['_setupSubUnitSync'](_0x34975e);}async[_0x22d19e(0x1cc)](_0x2db9eb){const _0x22f3ce=_0x22d19e;await this[_0x22f3ce(0x2c0)](_0x2db9eb),_0x2db9eb['activeSheet$']['pipe'](_0x8d94e0['takeUntil'](this['dispose$']))['subscribe'](_0x2dfc38=>{_0x2dfc38&&this['_updateURLWithCurrentState'](_0x2dfc38);}),this[_0x22f3ce(0x120)][_0x22f3ce(0x287)][_0x22f3ce(0x296)](_0x8d94e0[_0x22f3ce(0x9e)](this[_0x22f3ce(0x148)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x2db9eb));}[_0x22d19e(0xe9)](_0x3d7f83,_0x14d469=!0x1){const _0x5dc393=_0x22d19e,_0x122890=this[_0x5dc393(0x120)]['getParam'](_0x5dc393(0x116));_0x3d7f83[_0x5dc393(0x2b7)]()!==_0x122890&&this[_0x5dc393(0x120)][_0x5dc393(0x361)](_0x5dc393(0x116),_0x3d7f83['getSheetId'](),_0x14d469);}async['_updateSubUnitFromURLParams'](_0x413b49){const _0x56fc63=_0x22d19e;var _0x50e521;const _0xf63ecf=this[_0x56fc63(0x120)][_0x56fc63(0x17b)](_0x56fc63(0x116));if(!_0xf63ecf||!_0x413b49[_0x56fc63(0x281)](_0xf63ecf)){const _0x477fa9=_0x413b49[_0x56fc63(0x266)]()[0x0],_0x454fbb=_0x413b49[_0x56fc63(0x281)](_0x477fa9);if(!_0x454fbb)return;this[_0x56fc63(0xe9)](_0x454fbb,!0x0),await this['_commandService'][_0x56fc63(0x264)](_0x48c182[_0x56fc63(0xc0)]['id'],{'unitId':_0x413b49[_0x56fc63(0xb0)](),'subUnitId':_0x477fa9});return;}((_0x50e521=_0x413b49[_0x56fc63(0xc4)]())==null?void 0x0:_0x50e521[_0x56fc63(0x2b7)]())!==_0xf63ecf&&await this[_0x56fc63(0x2b1)][_0x56fc63(0x264)](_0x48c182['SetWorksheetActivateCommand']['id'],{'unitId':_0x413b49[_0x56fc63(0xb0)](),'subUnitId':_0xf63ecf});}},_0x440074[_0x22d19e(0x230)]=_0xbe8d43([_0x5dbae3(0x0,_0x1a7106),_0x5dbae3(0x1,_0x4a5a1c[_0x22d19e(0x2eb)]),_0x5dbae3(0x2,_0x4a5a1c['ICommandService']),_0x5dbae3(0x3,_0x4a5a1c[_0x22d19e(0x35d)](_0x29cbea['DataLoaderService'])),_0x5dbae3(0x4,_0x4a5a1c[_0x22d19e(0x35a)](_0xa7700f[_0x22d19e(0x124)]))],_0x440074[_0x22d19e(0x230)]);var _0x2c66f9=Object[_0x22d19e(0x1e2)],_0x1bb1bc=(_0x4d337c,_0x34adb4,_0x248d98,_0x2432f0)=>{const _0x15c306=_0x22d19e;for(var _0x32cfda=_0x2432f0>0x1?void 0x0:_0x2432f0?_0x2c66f9(_0x34adb4,_0x248d98):_0x34adb4,_0x5ac6c2=_0x4d337c[_0x15c306(0x29c)]-0x1,_0x4937cc;_0x5ac6c2>=0x0;_0x5ac6c2--)(_0x4937cc=_0x4d337c[_0x5ac6c2])&&(_0x32cfda=_0x4937cc(_0x32cfda)||_0x32cfda);return _0x32cfda;},_0x3160a6=(_0x175297,_0x546bff)=>(_0x12f702,_0x192ba8)=>_0x546bff(_0x12f702,_0x192ba8,_0x175297);let _0x3b2848=class extends _0x4a5a1c[_0x22d19e(0x31e)]{constructor(_0x1cd3a0,_0x2d1bbc){const _0x3e696c=_0x22d19e;super(),this[_0x3e696c(0x1aa)]=_0x1cd3a0,this['_imageIoService']=_0x2d1bbc,this[_0x3e696c(0x105)]();}[_0x22d19e(0x105)](){const _0x32d9c5=_0x22d19e,_0x1dd156=this;this[_0x32d9c5(0xe5)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x20676c=>{const _0x3635a1=_0x32d9c5,_0x93f367=await _0x1dd156[_0x3635a1(0x317)]['saveImage'](_0x20676c);return _0x93f367?{'source':_0x93f367[_0x3635a1(0x337)],'imageSourceType':_0x93f367[_0x3635a1(0x309)]}:null;}}));}};_0x3b2848=_0x1bb1bc([_0x3160a6(0x0,_0x22126e['IDocClipboardService']),_0x3160a6(0x1,_0x1954a8[_0x22d19e(0x23e)])],_0x3b2848);const _0x158c52=[_0x22d19e(0x238),'jiqing.500',_0x22d19e(0x26d),_0x22d19e(0x1d8),_0x22d19e(0x268),'yellow.400'];class _0x54052c extends _0x4a5a1c[_0x22d19e(0x2a7)]{constructor(){const _0x1c78c4=_0x22d19e;super(...arguments),_0xa63e61(this,_0x1c78c4(0xa5),new Map()),_0xa63e61(this,_0x1c78c4(0x29a),0x0);}[_0x22d19e(0x34f)](_0x5690c3){const _0x34df30=_0x22d19e;if(this[_0x34df30(0xa5)]['has'](_0x5690c3))return this[_0x34df30(0xa5)][_0x34df30(0x18e)](_0x5690c3);const _0x816f2c=_0x158c52[this[_0x34df30(0x29a)]];return this[_0x34df30(0x29a)]=(this[_0x34df30(0x29a)]+0x1)%_0x158c52[_0x34df30(0x29c)],this[_0x34df30(0xa5)][_0x34df30(0x25b)](_0x5690c3,_0x816f2c),_0x816f2c;}}function _0x4fb987(_0xe93690){const _0xf8420d=_0x22d19e;let _0x1030cd='';for(const _0x11477e of _0xe93690){const {startOffset:_0x5922b9,endOffset:_0x33e75c,isActive:_0x239d45,rangeType:_0x4b0ba4,segmentId:_0x1581a0,segmentPage:_0x257805}=_0x11477e;_0x1030cd[_0xf8420d(0x29c)]&&(_0x1030cd+=','),_0x1030cd+=_0x5922b9+':'+_0x33e75c+':'+(_0x239d45?'1':'0')+':'+_0x4b0ba4+':'+_0x1581a0+':'+_0x257805;}return _0x1030cd;}function _0x1d4227(_0x3cd51b){const _0x1bb39a=_0x22d19e,_0x1d4422=_0x3cd51b[_0x1bb39a(0x143)](','),_0x4d2a21=[];for(const _0x190de4 of _0x1d4422){const [_0x7b613b,_0x205174,_0x2ea7d0,_0x50f178,_0x18a1c1,_0x8e7aa1]=_0x190de4[_0x1bb39a(0x143)](':');_0x4d2a21[_0x1bb39a(0x256)]({'startOffset':Number(_0x7b613b),'endOffset':Number(_0x205174),'collapsed':_0x7b613b===_0x205174,'isActive':_0x2ea7d0==='1','rangeType':_0x50f178===_0x4a5a1c[_0x1bb39a(0x1a7)][_0x1bb39a(0x108)]?_0x4a5a1c['DOC_RANGE_TYPE'][_0x1bb39a(0x108)]:_0x4a5a1c['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0x18a1c1==_0x1bb39a(0x254)?String(_0x18a1c1):'','segmentPage':Number(_0x8e7aa1!=null?_0x8e7aa1:-0x1)});}return _0x4d2a21[_0x1bb39a(0x14c)](_0x4247e2=>_0x4247e2[_0x1bb39a(0x226)])||(_0x4d2a21[0x0]['isActive']=!0x0),_0x4d2a21;}class _0x5e2c98 extends _0x4a5a1c[_0x22d19e(0x31e)]{constructor(){const _0x58af81=_0x22d19e;super(...arguments),_0xa63e61(this,_0x58af81(0xfd),new _0x8d94e0[(_0x58af81(0x90))](null)),_0xa63e61(this,_0x58af81(0x21b),this[_0x58af81(0xfd)][_0x58af81(0xb4)]());}[_0x22d19e(0x19f)](_0x479c55){const _0x21340f=_0x22d19e,{unitID:_0x4d5051,memberID:_0x55b16c,textRanges:_0x1ac17e}=_0x479c55,_0x46fef3=_0x4fb987(_0x1ac17e);if(_0x46fef3==='')return;const _0x2c61fc={'unitID':_0x4d5051,'memberID':_0x55b16c,'selection':_0x46fef3};this[_0x21340f(0xfd)][_0x21340f(0x218)](_0x2c61fc);}}var _0xc6f851=Object['getOwnPropertyDescriptor'],_0x4c204a=(_0x55c449,_0xde6fec,_0x1228e2,_0x3a16f6)=>{const _0x4bcd02=_0x22d19e;for(var _0x241933=_0x3a16f6>0x1?void 0x0:_0x3a16f6?_0xc6f851(_0xde6fec,_0x1228e2):_0xde6fec,_0x41cbb9=_0x55c449[_0x4bcd02(0x29c)]-0x1,_0x8dd86c;_0x41cbb9>=0x0;_0x41cbb9--)(_0x8dd86c=_0x55c449[_0x41cbb9])&&(_0x241933=_0x8dd86c(_0x241933)||_0x241933);return _0x241933;},_0x758b0d=(_0xc2ac20,_0x4cf66e)=>(_0x3c8a59,_0x1b8e9c)=>_0x4cf66e(_0x3c8a59,_0x1b8e9c,_0xc2ac20);const _0x2b9030=0x12c,_0x5ccb76=0x64;let _0x5d83b2=class extends _0x4a5a1c[_0x22d19e(0x31e)]{constructor(_0x553855,_0x138b41,_0x1cbaee,_0x1aa6fc,_0xcf3f78,_0x682c1a,_0x5b98a7,_0x4981c3,_0x5a3f81){const _0x3d33e6=_0x22d19e;super(),_0xa63e61(this,_0x3d33e6(0x2ff),!0x1),_0xa63e61(this,'_init',!0x1),_0xa63e61(this,_0x3d33e6(0x273),new _0x8d94e0[(_0x3d33e6(0x90))](new Map())),_0xa63e61(this,_0x3d33e6(0x1b4),this[_0x3d33e6(0x273)][_0x3d33e6(0xb4)]()),_0xa63e61(this,'_roomMembers$',new _0x8d94e0['BehaviorSubject']([])),_0xa63e61(this,_0x3d33e6(0x103),this['_roomMembers$']['pipe'](_0x8d94e0[_0x3d33e6(0x25e)](_0x2b9030))),_0xa63e61(this,_0x3d33e6(0x15a),_0x4a5a1c[_0x3d33e6(0x25d)](_0x106917=>{const _0xf1c192=_0x3d33e6,_0x4e4976={'eventID':_0x4a6bb0[_0xf1c192(0x1b2)][_0xf1c192(0x32f)],'data':{'unitID':this[_0xf1c192(0x2bb)],'memberID':this[_0xf1c192(0x25c)][_0xf1c192(0x34a)](),'selection':_0x4fb987(_0x106917)}};this[_0xf1c192(0x25c)]['send'](_0x4e4976,this[_0xf1c192(0x2bb)]);},_0x5ccb76)),(this[_0x3d33e6(0x2bb)]=_0x553855,this[_0x3d33e6(0x25c)]=_0x138b41,this[_0x3d33e6(0x36e)]=_0x1cbaee,this['_colorAssignService']=_0x1aa6fc,this[_0x3d33e6(0x2b0)]=_0xcf3f78,this[_0x3d33e6(0x2cd)]=_0x682c1a,this['_transformService']=_0x5b98a7,this[_0x3d33e6(0x2de)]=_0x4981c3,this['_commandService']=_0x5a3f81);}get[_0x22d19e(0x1a0)](){const _0x529f77=_0x22d19e;return this[_0x529f77(0x273)]['getValue']();}get[_0x22d19e(0x324)](){const _0x22960d=_0x22d19e;return this[_0x22960d(0x2cf)][_0x22960d(0x1db)]();}['dispose'](){const _0x21b3c5=_0x22d19e;super['dispose'](),this[_0x21b3c5(0x273)][_0x21b3c5(0x218)](new Map()),this['_cursorInfo$'][_0x21b3c5(0x1bf)](),this[_0x21b3c5(0x2cf)][_0x21b3c5(0x218)]([]),this[_0x21b3c5(0x2cf)][_0x21b3c5(0x1bf)]();}['init'](){const _0x3bb919=_0x22d19e;this[_0x3bb919(0x105)]||(this[_0x3bb919(0x105)]=!0x0,this['_session'][_0x3bb919(0xda)][_0x3bb919(0x296)](_0x8d94e0['takeUntil'](this[_0x3bb919(0x148)]))[_0x3bb919(0x35e)](_0x356a06=>{const _0x449cd3=_0x3bb919;_0x356a06===_0x29cbea[_0x449cd3(0x269)][_0x449cd3(0x2c4)]?this['_toggleOnline']():this[_0x449cd3(0x250)]();}),this['_session'][_0x3bb919(0xa3)][_0x3bb919(0x296)](_0x8d94e0['takeUntil'](this['dispose$']))[_0x3bb919(0x35e)](_0x3eb262=>{const _0x17aa51=_0x3bb919,_0x35b360=_0x3eb262[_0x17aa51(0x1ce)];_0x35b360===_0x4a6bb0[_0x17aa51(0x1b2)][_0x17aa51(0x32f)]&&this[_0x17aa51(0x2b4)](_0x3eb262),_0x35b360===_0x4a6bb0[_0x17aa51(0x1b2)]['USERS_LEAVE']&&this[_0x17aa51(0x1fb)](_0x3eb262);}),this['disposeWithMe'](this[_0x3bb919(0x2b1)][_0x3bb919(0x1f9)](_0x4ca2fc=>{const _0x59584c=_0x3bb919,_0x3e779d=_0x4ca2fc[_0x59584c(0x22d)];_0x3e779d!=null&&this[_0x59584c(0x2ff)]&&_0x4ca2fc['id']===_0x5afd4e['SetTextSelectionsOperation']['id']&&_0x3e779d[_0x59584c(0x369)]===this['unitID']&&_0x3e779d['isEditing']===!0x1&&_0x3e779d[_0x59584c(0x2d3)]['length']>0x0&&this['_updateLocalCursor'](_0x3e779d[_0x59584c(0x2d3)]);})),this['_syncEditingCollabCursorService'][_0x3bb919(0x21b)][_0x3bb919(0x296)](_0x8d94e0[_0x3bb919(0x9e)](this['dispose$']))[_0x3bb919(0x35e)](_0x5d9413=>{const _0x4521eb=_0x3bb919;if((_0x5d9413==null?void 0x0:_0x5d9413[_0x4521eb(0x2bb)])!==this[_0x4521eb(0x2bb)])return;const _0x4af0b4={'eventID':_0x4a6bb0[_0x4521eb(0x1b2)][_0x4521eb(0x32f)],'data':_0x5d9413};this[_0x4521eb(0x2b4)](_0x4af0b4);}),this[_0x3bb919(0xe5)](this[_0x3bb919(0x2b1)][_0x3bb919(0x1f9)](_0x362ac4=>{const _0x29d2ac=_0x3bb919;if(_0x362ac4[_0x29d2ac(0x22d)]==null)return;const _0x1912bc=_0x362ac4['params'];if(_0x362ac4['id']!==_0x5afd4e[_0x29d2ac(0x304)]['id']||_0x1912bc[_0x29d2ac(0x369)]!==this['unitID'])return;const _0x1044a9={'id':_0x29d2ac(0x2a5),'params':_0x1912bc},_0x1c2ea5=this['cursorInfo'];for(const [_0xf2cfa2,_0x315412]of _0x1c2ea5){const _0x46053b={'id':_0x29d2ac(0x2a5),'params':{'unitId':this[_0x29d2ac(0x2bb)],'actions':null,'textRanges':_0x315412[_0x29d2ac(0x2d3)]}},_0x2cac1d=this['_transformService'][_0x29d2ac(0x9f)](_0x1044a9,_0x46053b,!0x1);if(_0x4a6bb0['isTransformMutationFailure'](_0x2cac1d))throw _0x2cac1d['error'];_0x1c2ea5[_0x29d2ac(0x25b)](_0xf2cfa2,{..._0x315412,'ranges':_0x2cac1d['m2Prime']['params'][_0x29d2ac(0x30f)]});}queueMicrotask(()=>{const _0x1b850a=_0x29d2ac;this[_0x1b850a(0x273)][_0x1b850a(0x218)](_0x1c2ea5);});})));}['_onCursorUpdate'](_0x5895a1){const _0x5b36e4=_0x22d19e;var _0x38aa6b,_0x2f2eaa;const {memberID:_0x5200f1,selection:_0x26f9c5}=_0x5895a1[_0x5b36e4(0x136)],_0x2affd8=_0x1d4227(_0x26f9c5),_0x29f551=(_0x2f2eaa=(_0x38aa6b=this[_0x5b36e4(0x2b0)][_0x5b36e4(0xab)](this['unitID'],_0x5200f1))==null?void 0x0:_0x38aa6b['name'])!=null?_0x2f2eaa:'Unknown\x20user',_0x1bb3b1={'color':this[_0x5b36e4(0x2e0)]['assignAColorForMemberID'](_0x5200f1),'name':_0x29f551,'ranges':_0x2affd8},_0x54e1e6=this[_0x5b36e4(0x1a0)];_0x54e1e6['set'](_0x5200f1,_0x1bb3b1),this['_cursorInfo$'][_0x5b36e4(0x218)](_0x54e1e6);}[_0x22d19e(0x1fb)](_0x51a360){const _0x1feb13=_0x22d19e,{memberID:_0x1ab4b2}=_0x51a360[_0x1feb13(0x136)],_0x46635e=this[_0x1feb13(0x1a0)];_0x46635e['delete'](_0x1ab4b2),this['_cursorInfo$'][_0x1feb13(0x218)](_0x46635e);}[_0x22d19e(0x156)](){const _0x10d4c2=_0x22d19e;var _0x2bad50;if(this['_online']=!0x0,((_0x2bad50=this[_0x10d4c2(0x2de)]['getFocusedUnit']())==null?void 0x0:_0x2bad50[_0x10d4c2(0xb0)]())!==this[_0x10d4c2(0x2bb)])return;const _0x2e3d14=this[_0x10d4c2(0x36e)][_0x10d4c2(0x18e)](_0x5afd4e['DocSelectionManagerService'])[_0x10d4c2(0x276)]();Array[_0x10d4c2(0xca)](_0x2e3d14)&&_0x2e3d14[_0x10d4c2(0x29c)]>0x0&&this[_0x10d4c2(0x15a)](_0x2e3d14);}[_0x22d19e(0x250)](){const _0x330e1b=_0x22d19e;this[_0x330e1b(0x2ff)]=!0x1;}};_0x5d83b2=_0x4c204a([_0x758b0d(0x2,_0x4a5a1c[_0x22d19e(0x35d)](_0x4a5a1c[_0x22d19e(0x2f2)])),_0x758b0d(0x3,_0x4a5a1c[_0x22d19e(0x35d)](_0x54052c)),_0x758b0d(0x4,_0x4a5a1c[_0x22d19e(0x35d)](_0x29cbea[_0x22d19e(0x1e0)])),_0x758b0d(0x5,_0x4a5a1c[_0x22d19e(0x35d)](_0x5e2c98)),_0x758b0d(0x6,_0x4a6bb0['ITransformService']),_0x758b0d(0x7,_0x4a5a1c[_0x22d19e(0x303)]),_0x758b0d(0x8,_0x4a5a1c['ICommandService'])],_0x5d83b2);var _0x3fd83d=Object[_0x22d19e(0x1e2)],_0x117c72=(_0x3e7396,_0x4f889d,_0x52d4dd,_0x3aa87a)=>{const _0x263dd2=_0x22d19e;for(var _0x4dc25a=_0x3aa87a>0x1?void 0x0:_0x3aa87a?_0x3fd83d(_0x4f889d,_0x52d4dd):_0x4f889d,_0x312453=_0x3e7396[_0x263dd2(0x29c)]-0x1,_0x267aa3;_0x312453>=0x0;_0x312453--)(_0x267aa3=_0x3e7396[_0x312453])&&(_0x4dc25a=_0x267aa3(_0x4dc25a)||_0x4dc25a);return _0x4dc25a;},_0x3dc9f7=(_0x5879e1,_0x4082e9)=>(_0x56860d,_0x34dd26)=>_0x4082e9(_0x56860d,_0x34dd26,_0x5879e1);const _0x57f142=0x12c,_0x6b3f66=0x64,_0x6ec09=()=>{let _0x51a0d6=[],_0x5f083f=!0x1;return _0x2772c1=>{_0x51a0d6['push'](_0x2772c1),_0x5f083f||(_0x5f083f=!0x0,setTimeout(()=>{_0x51a0d6['forEach'](_0x53bd59=>_0x53bd59()),_0x51a0d6=[],_0x5f083f=!0x1;}));};};let _0xd019b3=class extends _0x4a5a1c[_0x22d19e(0x31e)]{constructor(_0x1ef9a3,_0x237b5f,_0x47e80e,_0xfb1ad4,_0x220aaf,_0x53d56c,_0x449064,_0x2b9d95){const _0x52ddfb=_0x22d19e;super(),_0xa63e61(this,'_online',!0x1),_0xa63e61(this,_0x52ddfb(0x105),!0x1),_0xa63e61(this,'_cursorInfo$',new _0x8d94e0[(_0x52ddfb(0x90))](new Map())),_0xa63e61(this,_0x52ddfb(0x1b4),this[_0x52ddfb(0x273)][_0x52ddfb(0xb4)]()),_0xa63e61(this,_0x52ddfb(0x2cf),new _0x8d94e0[(_0x52ddfb(0x90))]([])),_0xa63e61(this,_0x52ddfb(0x103),this[_0x52ddfb(0x2cf)][_0x52ddfb(0x296)](_0x8d94e0[_0x52ddfb(0x25e)](_0x57f142))),_0xa63e61(this,_0x52ddfb(0x15a),_0x4a5a1c['debounce']((_0xf43d5,_0x4df24c)=>{const _0x3413d4=_0x52ddfb,_0x55923d={'eventID':_0x4a6bb0[_0x3413d4(0x1b2)][_0x3413d4(0x32f)],'data':{'unitID':this[_0x3413d4(0x2bb)],'memberID':this[_0x3413d4(0x25c)]['getMemberID'](),'selection':_0x419491[_0x3413d4(0x358)](_0xf43d5,_0x4df24c[_0x3413d4(0x2f0)])}};this[_0x3413d4(0x25c)][_0x3413d4(0x10e)](_0x55923d,this[_0x3413d4(0x2bb)]);},_0x6b3f66)),(this[_0x52ddfb(0x2bb)]=_0x1ef9a3,this[_0x52ddfb(0x25c)]=_0x237b5f,this[_0x52ddfb(0x36e)]=_0x47e80e,this[_0x52ddfb(0x2e0)]=_0xfb1ad4,this[_0x52ddfb(0x2b0)]=_0x220aaf,this[_0x52ddfb(0x2de)]=_0x53d56c,this[_0x52ddfb(0x2b1)]=_0x449064,this[_0x52ddfb(0x180)]=_0x2b9d95);}get['cursorInfo'](){const _0x2a9977=_0x22d19e;return this['_cursorInfo$'][_0x2a9977(0x1db)]();}get['roomMembers'](){const _0x355003=_0x22d19e;return this['_roomMembers$'][_0x355003(0x1db)]();}[_0x22d19e(0x210)](){const _0x714c78=_0x22d19e;super['dispose'](),this[_0x714c78(0x273)][_0x714c78(0x218)](new Map()),this[_0x714c78(0x273)][_0x714c78(0x1bf)](),this[_0x714c78(0x2cf)]['next']([]),this[_0x714c78(0x2cf)][_0x714c78(0x1bf)]();}['init'](){const _0x489218=_0x22d19e;this[_0x489218(0x105)]||(this[_0x489218(0x105)]=!0x0,this[_0x489218(0x25c)][_0x489218(0xda)]['pipe'](_0x8d94e0[_0x489218(0x9e)](this[_0x489218(0x148)]))['subscribe'](_0x363af4=>{const _0x27c6eb=_0x489218;_0x363af4===_0x29cbea['SessionStatus']['ONLINE']?this[_0x27c6eb(0x156)]():this['_toggleOffline']();}),this['_session'][_0x489218(0xa3)][_0x489218(0x296)](_0x8d94e0[_0x489218(0x9e)](this[_0x489218(0x148)]))['subscribe'](_0x103229=>{const _0x1b1504=_0x489218,_0x477f3e=_0x103229[_0x1b1504(0x1ce)];_0x477f3e===_0x4a6bb0[_0x1b1504(0x1b2)][_0x1b1504(0x32f)]&&this[_0x1b1504(0x2b4)](_0x103229),_0x477f3e===_0x4a6bb0[_0x1b1504(0x1b2)]['USERS_LEAVE']&&this[_0x1b1504(0x1fb)](_0x103229);}),this[_0x489218(0x23b)](),this[_0x489218(0xe5)](this[_0x489218(0x2b1)]['onCommandExecuted'](_0x133883=>{const _0x28f40c=_0x489218;if(this[_0x28f40c(0x2ff)]&&_0x133883['id']===_0x48c182[_0x28f40c(0x10a)]['id']&&_0x133883[_0x28f40c(0x22d)][_0x28f40c(0x369)]===this[_0x28f40c(0x2bb)]){const _0x48a9da=_0x133883['params'];this['_updateLocalCursor'](_0x48a9da[_0x28f40c(0x1df)],_0x48a9da[_0x28f40c(0x1fa)][0x0]);}})));}[_0x22d19e(0x2b4)](_0x3f8585){const _0x36108e=_0x22d19e;var _0x431eef,_0x411d9f;const {memberID:_0x4402e9,selection:_0x2c9f77}=_0x3f8585[_0x36108e(0x136)],{sheetName:_0x37a1a1,range:_0x341c04}=_0x419491[_0x36108e(0x157)](_0x2c9f77),_0x2c6f4b={'name':(_0x411d9f=(_0x431eef=this[_0x36108e(0x2b0)][_0x36108e(0xab)](this['unitID'],_0x4402e9))==null?void 0x0:_0x431eef[_0x36108e(0x2a6)])!=null?_0x411d9f:'Unknown\x20user','range':this[_0x36108e(0x341)](_0x37a1a1,_0x341c04),'sheetID':_0x37a1a1,'color':this[_0x36108e(0x2e0)]['assignAColorForMemberID'](_0x4402e9),'selection':_0x2c9f77},_0x10133a=this[_0x36108e(0x1a0)];_0x10133a[_0x36108e(0x25b)](_0x4402e9,_0x2c6f4b),this[_0x36108e(0x273)][_0x36108e(0x218)](_0x10133a);}[_0x22d19e(0x1fb)](_0x368942){const _0x18d6af=_0x22d19e,{memberID:_0x75a975}=_0x368942['data'],_0x345796=this['cursorInfo'];_0x345796['delete'](_0x75a975),this[_0x18d6af(0x273)][_0x18d6af(0x218)](_0x345796);}['_getMergeRange'](_0x34611d,_0xe6b6b9){const _0x43cec7=_0x22d19e;var _0x43079a,_0x369962;const _0x5d7f48=(_0x369962=(_0x43079a=this['_univerInstanceService'][_0x43cec7(0x20a)](this[_0x43cec7(0x2bb)]))==null?void 0x0:_0x43079a[_0x43cec7(0x281)](_0x34611d))==null?void 0x0:_0x369962[_0x43cec7(0x258)]();return(_0x5d7f48==null?void 0x0:_0x5d7f48['find'](_0x3a70f8=>_0x4a5a1c[_0x43cec7(0x2ca)][_0x43cec7(0x109)](_0x3a70f8,_0xe6b6b9)))||_0xe6b6b9;}[_0x22d19e(0x23b)](){const _0x5e2102=_0x22d19e,_0x2b4899=new _0x4a5a1c[(_0x5e2102(0x93))](),_0x14a752=_0x6ec09(),_0x1c3141=()=>{const _0x44fd84=_0x5e2102;_0x2b4899[_0x44fd84(0x210)]();const _0x228112=(_0x4ce6de,_0x224e37,_0x1029a4,_0x127bf0)=>{const _0x55d8c1=_0x44fd84;let _0x4a5942=[];switch(_0x4ce6de['id']){case _0x48c182['EffectRefRangId'][_0x55d8c1(0x2a1)]:{_0x4a5942=_0x48c182['handleDeleteRangeMoveLeft'](_0x4ce6de,_0x127bf0);break;}case _0x48c182[_0x55d8c1(0x175)]['DeleteRangeMoveUpCommandId']:{_0x4a5942=_0x48c182[_0x55d8c1(0x117)](_0x4ce6de,_0x127bf0);break;}case _0x48c182[_0x55d8c1(0x175)][_0x55d8c1(0x294)]:{_0x4a5942=_0x48c182[_0x55d8c1(0x201)](_0x4ce6de,_0x127bf0);break;}case _0x48c182[_0x55d8c1(0x175)]['InsertRangeMoveDownCommandId']:{_0x4a5942=_0x48c182[_0x55d8c1(0x128)](_0x4ce6de,_0x127bf0);break;}case _0x48c182[_0x55d8c1(0x175)][_0x55d8c1(0x17f)]:{_0x4a5942=_0x48c182[_0x55d8c1(0x2d5)](_0x4ce6de,_0x127bf0);break;}case _0x48c182[_0x55d8c1(0x175)][_0x55d8c1(0x350)]:{_0x4a5942=_0x48c182[_0x55d8c1(0x1d3)](_0x4ce6de,_0x127bf0);break;}case _0x48c182[_0x55d8c1(0x175)][_0x55d8c1(0x246)]:{_0x4a5942=_0x48c182[_0x55d8c1(0x15e)](_0x4ce6de,_0x127bf0);break;}case _0x48c182[_0x55d8c1(0x175)][_0x55d8c1(0x10c)]:{_0x4a5942=_0x48c182[_0x55d8c1(0x2bf)](_0x4ce6de,_0x127bf0);break;}case _0x48c182['EffectRefRangId']['RemoveRowCommandId']:{_0x4a5942=_0x48c182['handleIRemoveRow'](_0x4ce6de,_0x127bf0);break;}}const _0x496dfd=_0x48c182['runRefRangeMutations'](_0x4a5942,_0x127bf0),_0x260f33=this['cursorInfo']['get'](_0x224e37);if(_0x260f33&&_0x496dfd){const _0x128656={..._0x260f33,'range':_0x496dfd};this['cursorInfo'][_0x55d8c1(0x25b)](_0x224e37,_0x128656),_0x14a752(()=>{const _0x4a48dc=_0x55d8c1,_0x34768e=this[_0x4a48dc(0x180)][_0x4a48dc(0x106)](_0x496dfd,_0x17deac=>(_0x34768e[_0x4a48dc(0x210)](),_0x228112(_0x17deac,_0x224e37,_0x1029a4,_0x496dfd)));_0x2b4899['add'](_0x34768e);});}return{'redos':[],'undos':[]};};this[_0x44fd84(0x1a0)][_0x44fd84(0x316)]((_0x1c5a1c,_0x198a3f)=>{const _0x531827=_0x44fd84,{range:_0x13e629,sheetID:_0x55e11b}=_0x1c5a1c,_0x197fbd=this[_0x531827(0x180)][_0x531827(0x106)](_0x13e629,_0x56ba51=>(_0x197fbd[_0x531827(0x210)](),_0x228112(_0x56ba51,_0x198a3f,_0x55e11b,_0x13e629)));_0x2b4899[_0x531827(0x23a)](_0x197fbd);});};this['disposeWithMe'](_0x4a5a1c[_0x5e2102(0x28a)](this[_0x5e2102(0x273)][_0x5e2102(0x35e)](()=>{_0x1c3141();})));}[_0x22d19e(0x156)](){const _0x5e192e=_0x22d19e;var _0x3a4b46,_0x11ec8e;if(this[_0x5e192e(0x2ff)]=!0x0,((_0x3a4b46=this[_0x5e192e(0x2de)][_0x5e192e(0x36c)]())==null?void 0x0:_0x3a4b46[_0x5e192e(0xb0)]())!==this['unitID'])return;const _0x4e8271=(_0x11ec8e=this[_0x5e192e(0x36e)][_0x5e192e(0x18e)](_0x48c182[_0x5e192e(0x2dc)])[_0x5e192e(0x2ac)]())==null?void 0x0:_0x11ec8e[0x0],_0x3cf02e=this['_univerInstanceService']['getCurrentUnitForType'](_0x4a5a1c[_0x5e192e(0x2b9)][_0x5e192e(0x1cf)])['getActiveSheet']();_0x4e8271&&_0x3cf02e&&this['_updateLocalCursor'](_0x3cf02e[_0x5e192e(0x2b7)](),_0x4e8271);}['_toggleOffline'](){this['_online']=!0x1;}};_0xd019b3=_0x117c72([_0x3dc9f7(0x2,_0x4a5a1c[_0x22d19e(0x35d)](_0x4a5a1c[_0x22d19e(0x2f2)])),_0x3dc9f7(0x3,_0x4a5a1c[_0x22d19e(0x35d)](_0x54052c)),_0x3dc9f7(0x4,_0x4a5a1c[_0x22d19e(0x35d)](_0x29cbea[_0x22d19e(0x1e0)])),_0x3dc9f7(0x5,_0x4a5a1c[_0x22d19e(0x303)]),_0x3dc9f7(0x6,_0x4a5a1c[_0x22d19e(0x263)]),_0x3dc9f7(0x7,_0x4a5a1c[_0x22d19e(0x35d)](_0x48c182[_0x22d19e(0x28f)]))],_0xd019b3);var _0x5b765c=Object[_0x22d19e(0x1e2)],_0x1ec8f3=(_0x59d57e,_0x3c478e,_0x1a96e5,_0x457e59)=>{const _0x191fe8=_0x22d19e;for(var _0x1b37dd=_0x457e59>0x1?void 0x0:_0x457e59?_0x5b765c(_0x3c478e,_0x1a96e5):_0x3c478e,_0x586945=_0x59d57e[_0x191fe8(0x29c)]-0x1,_0x421264;_0x586945>=0x0;_0x586945--)(_0x421264=_0x59d57e[_0x586945])&&(_0x1b37dd=_0x421264(_0x1b37dd)||_0x1b37dd);return _0x1b37dd;},_0x18a1f3=(_0x1a705e,_0x567169)=>(_0x2f3a03,_0x213894)=>_0x567169(_0x2f3a03,_0x213894,_0x1a705e);let _0x8689c=class extends _0x4a5a1c[_0x22d19e(0x31e)]{constructor(_0x31edf2,_0x49d082,_0x582c51){const _0xab9d06=_0x22d19e;super(),_0xa63e61(this,_0xab9d06(0x2ea),new Map()),_0xa63e61(this,'_entityInit$',new _0x8d94e0[(_0xab9d06(0x181))]()),(this[_0xab9d06(0x2de)]=_0x31edf2,this[_0xab9d06(0x36e)]=_0x49d082,this[_0xab9d06(0x1d4)]=_0x582c51,this[_0xab9d06(0x105)]());}[_0x22d19e(0x210)](){const _0x42d4cc=_0x22d19e;super[_0x42d4cc(0x210)](),this['_entityInit$'][_0x42d4cc(0x1bf)](),this[_0x42d4cc(0x2ea)][_0x42d4cc(0x316)](_0x2fa1b6=>_0x2fa1b6[_0x42d4cc(0x210)]());}[_0x22d19e(0xb8)](_0x5111af){const _0x2a74d2=_0x22d19e;return this['_entities'][_0x2a74d2(0x241)](_0x5111af)?this['_entities']['get'](_0x5111af)['cursorInfo$']:this['_entityInit$']['pipe'](_0x8d94e0['filter'](_0x18c20b=>_0x18c20b['unitID']===_0x5111af),_0x8d94e0[_0x2a74d2(0x1d5)](_0x288c16=>_0x288c16[_0x2a74d2(0x1b4)]));}[_0x22d19e(0x105)](){const _0x550f57=_0x22d19e;this['_univerInstanceService'][_0x550f57(0x209)](_0x4a5a1c['UniverInstanceType'][_0x550f57(0x1cf)])[_0x550f57(0x296)](_0x8d94e0[_0x550f57(0x9e)](this[_0x550f57(0x148)]))[_0x550f57(0x35e)](async _0x1c31d8=>{const _0x22cdfd=_0x550f57,_0x138e08=_0x1c31d8[_0x22cdfd(0xb0)](),_0x2fb11f=await this['_startSheetCollabCursor'](_0x138e08);this[_0x22cdfd(0xc3)][_0x22cdfd(0x218)](_0x2fb11f),this['_entities']['set'](_0x138e08,_0x2fb11f);}),this[_0x550f57(0x2de)][_0x550f57(0x209)](_0x4a5a1c['UniverInstanceType'][_0x550f57(0x214)])[_0x550f57(0x296)](_0x8d94e0[_0x550f57(0x9e)](this['dispose$']))[_0x550f57(0x296)](_0x8d94e0[_0x550f57(0x135)](_0x37060d=>!_0x37060d[_0x550f57(0xb0)]()['startsWith']('__')))[_0x550f57(0x35e)](async _0x44f11b=>{const _0x5cd1b5=_0x550f57,_0xe90904=_0x44f11b[_0x5cd1b5(0xb0)](),_0x4da763=await this[_0x5cd1b5(0x211)](_0xe90904);this['_entityInit$']['next'](_0x4da763),this[_0x5cd1b5(0x2ea)][_0x5cd1b5(0x25b)](_0xe90904,_0x4da763);}),_0x8d94e0['merge'](this['_univerInstanceService'][_0x550f57(0x10f)](_0x4a5a1c['UniverInstanceType'][_0x550f57(0x214)]),this[_0x550f57(0x2de)][_0x550f57(0x10f)](_0x4a5a1c[_0x550f57(0x2b9)][_0x550f57(0x1cf)]))[_0x550f57(0x296)](_0x8d94e0[_0x550f57(0x9e)](this[_0x550f57(0x148)]))[_0x550f57(0x35e)](_0x3a3f77=>{const _0x2ea3df=_0x550f57,_0x433317=_0x3a3f77['getUnitId'](),_0x162fe9=this['_entities'][_0x2ea3df(0x18e)](_0x433317);_0x162fe9&&(_0x162fe9[_0x2ea3df(0x210)](),this['_entities']['delete'](_0x433317));});}async['_startSheetCollabCursor'](_0x3353d5){const _0x555608=_0x22d19e,_0x2e7ac3=await this[_0x555608(0x1d4)][_0x555608(0x1d2)](_0x3353d5),_0x325149=this[_0x555608(0x36e)][_0x555608(0x100)](_0xd019b3,_0x3353d5,_0x2e7ac3);return _0x325149[_0x555608(0x345)](),_0x325149;}async['_startDocCollabCursor'](_0xf2f7b){const _0x1303a9=_0x22d19e,_0x2ed682=await this[_0x1303a9(0x1d4)][_0x1303a9(0x1d2)](_0xf2f7b),_0xac6878=this['_injector'][_0x1303a9(0x100)](_0x5d83b2,_0xf2f7b,_0x2ed682);return _0xac6878['init'](),_0xac6878;}};_0x8689c=_0x1ec8f3([_0x18a1f3(0x0,_0x4a5a1c[_0x22d19e(0x303)]),_0x18a1f3(0x1,_0x4a5a1c['Inject'](_0x4a5a1c[_0x22d19e(0x2f2)])),_0x18a1f3(0x2,_0x4a5a1c['Inject'](_0x29cbea[_0x22d19e(0x32b)]))],_0x8689c);const _0x3f556f=0x14,_0x4f017f=0xc8,_0x51b87a=0x4,_0x2d721b=0x5;function _0x1ed5be(_0x335bda,_0x2777a5){const _0x6f0338=_0x22d19e;let {radius:_0x151c66,width:_0x4f50eb,height:_0x127916}=_0x2777a5;_0x151c66=_0x151c66!=null?_0x151c66:0x0,_0x4f50eb=_0x4f50eb!=null?_0x4f50eb:0x1e,_0x127916=_0x127916!=null?_0x127916:0x1e;let _0x34ebdf=0x0,_0x21c8e8=0x0,_0x304ab6=0x0;_0x34ebdf=_0x21c8e8=_0x304ab6=Math[_0x6f0338(0x26b)](_0x151c66,_0x4f50eb/0x2,_0x127916/0x2),_0x335bda[_0x6f0338(0xf4)](),_0x335bda[_0x6f0338(0x257)](_0x34ebdf,0x0),_0x335bda['lineTo'](_0x4f50eb-_0x21c8e8,0x0),_0x335bda[_0x6f0338(0x227)](_0x4f50eb-_0x21c8e8,_0x21c8e8,_0x21c8e8,Math['PI']*0x3/0x2,0x0,!0x1),_0x335bda[_0x6f0338(0x2a2)](_0x4f50eb,_0x127916-_0x304ab6),_0x335bda[_0x6f0338(0x227)](_0x4f50eb-_0x304ab6,_0x127916-_0x304ab6,_0x304ab6,0x0,Math['PI']/0x2,!0x1),_0x335bda['lineTo'](0x0,_0x127916),_0x335bda['lineTo'](0x0,_0x34ebdf),_0x335bda[_0x6f0338(0x227)](_0x34ebdf,_0x34ebdf,_0x34ebdf,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x335bda['closePath'](),_0x2777a5[_0x6f0338(0x2a8)]&&(_0x335bda['save'](),_0x335bda[_0x6f0338(0x121)]=_0x2777a5[_0x6f0338(0x2a8)],_0x2777a5[_0x6f0338(0x1dd)]==='evenodd'?_0x335bda[_0x6f0338(0x2a8)](_0x6f0338(0x2b5)):_0x335bda[_0x6f0338(0x2a8)](),_0x335bda['restore']());}class _0x132457 extends _0x5d2f68[_0x22d19e(0x36a)]{constructor(_0xc46710,_0x574458){const _0xf2eb44=_0x22d19e;super(_0xc46710,_0x574458),_0xa63e61(this,_0xf2eb44(0x174)),_0xa63e61(this,_0xf2eb44(0xeb)),(this['color']=_0x574458==null?void 0x0:_0x574458[_0xf2eb44(0x174)],this[_0xf2eb44(0xeb)]=_0x574458==null?void 0x0:_0x574458[_0xf2eb44(0xeb)]);}static[_0x22d19e(0xe2)](_0x1092cd,_0x27d2bc){const _0x12c3c2=_0x22d19e,{text:_0x43b5af,color:_0x4accbb}=_0x27d2bc;_0x1092cd['save'](),_0x1092cd['font']=_0x12c3c2(0x248);const _0x23139b=_0x1092cd[_0x12c3c2(0x191)](_0x43b5af)[_0x12c3c2(0xcd)],_0x46e3dd=Math[_0x12c3c2(0x26b)](_0x23139b+0x2*_0x51b87a,_0x4f017f);_0x1ed5be(_0x1092cd,{'height':_0x3f556f,'radius':0x4,'width':_0x46e3dd,'fill':_0x4accbb}),_0x1092cd['fillStyle']='#FFF';const _0x4f4e0d=_0x51b87a,_0x5464da=_0x3f556f-_0x2d721b,_0x371015=_0x4f017f-0x2*_0x51b87a;if(_0x23139b>_0x371015){let _0x4d7a8b='',_0x14a22a=0x0;for(const _0x521d69 of _0x43b5af){const _0x2a96e6=_0x1092cd[_0x12c3c2(0x191)](_0x521d69)[_0x12c3c2(0xcd)];if(_0x14a22a+_0x2a96e6<=_0x371015-_0x1092cd['measureText']('...')[_0x12c3c2(0xcd)])_0x4d7a8b+=_0x521d69,_0x14a22a+=_0x2a96e6;else{_0x4d7a8b+=_0x12c3c2(0x320);break;}}_0x1092cd[_0x12c3c2(0x2e3)](_0x4d7a8b,_0x4f4e0d,_0x5464da);}else _0x1092cd[_0x12c3c2(0x2e3)](_0x43b5af,_0x4f4e0d,_0x5464da);_0x1092cd[_0x12c3c2(0x31d)]();}[_0x22d19e(0x298)](_0x2b824a){const _0x1db956=_0x22d19e;_0x132457[_0x1db956(0xe2)](_0x2b824a,this);}}const _0x21ac9c='collab-text-anchor-',_0x449f34='collab-text-range-',_0x5726e9='collab-rect-range-',_0x35fbcb=0x6,_0x299333=1.5,_0x4c03e8=0x4,_0x741edc=1.5,_0x41b58e='rgba(255,\x20255,\x20255,\x200.01)';class _0x36a29c{constructor(_0x265d4f,_0x25aa93,_0x2652da,_0x5979db){const _0x2a3dba=_0x22d19e;_0xa63e61(this,_0x2a3dba(0x9a),[]),_0xa63e61(this,_0x2a3dba(0x284),null),_0xa63e61(this,_0x2a3dba(0xe0),null),_0xa63e61(this,_0x2a3dba(0x11f),null),_0xa63e61(this,'_hideTimer',null),_0xa63e61(this,_0x2a3dba(0x104),null),(this[_0x2a3dba(0x2ba)]=_0x265d4f,this[_0x2a3dba(0x225)]=_0x25aa93,this['_docSkeleton']=_0x2652da,this[_0x2a3dba(0x24f)]=_0x5979db,this['_render']());}set[_0x22d19e(0x171)](_0x403153){const _0x5a59ad=_0x22d19e;_0x403153?(this[_0x5a59ad(0x11f)]&&this[_0x5a59ad(0x11f)][_0x5a59ad(0x21e)](),this[_0x5a59ad(0xe0)]&&this['_textBubble'][_0x5a59ad(0x1ba)]()):(this[_0x5a59ad(0x11f)]&&this['_anchorDot'][_0x5a59ad(0x1ba)](),this['_textBubble']&&this[_0x5a59ad(0xe0)][_0x5a59ad(0x21e)]());}[_0x22d19e(0x210)](){const _0x6a6379=_0x22d19e;for(const _0x951cb9 of this['_shapes'])_0x951cb9[_0x6a6379(0x210)]();this[_0x6a6379(0xe0)]&&this[_0x6a6379(0xe0)][_0x6a6379(0x210)](),this[_0x6a6379(0x11f)]&&this['_anchorDot'][_0x6a6379(0x210)](),this[_0x6a6379(0x284)]&&this[_0x6a6379(0x284)][_0x6a6379(0x210)](),this[_0x6a6379(0x104)]&&this[_0x6a6379(0x104)]();}[_0x22d19e(0x285)](){const _0x22cdd8=_0x22d19e;var _0x41f901;const {_docSkeleton:_0x19013c,_document:_0x2cd9a1}=this,{color:_0x345a9a,name:_0x590c5c,ranges:_0x7a3c26}=this['_cursor'],_0x5e1351=_0x2cd9a1['getOffsetConfig'](),{docsLeft:_0x1c2933,docsTop:_0x54a833}=_0x5e1351,_0xd6ba62=new _0x22126e['NodePositionConvertToCursor'](_0x5e1351,_0x19013c);for(const {startOffset:_0x185d8e,endOffset:_0x32b07f,rangeType:_0x56f956,segmentId:_0x1135db,segmentPage:_0xa2ab01,collapsed:_0x4972d0,isActive:_0x5890be}of _0x7a3c26){const _0x33ad06=_0x19013c[_0x22cdd8(0xb3)](_0x185d8e,!0x0,_0x1135db,_0xa2ab01);let _0x46f309=_0x19013c[_0x22cdd8(0xb3)](_0x32b07f,!0x0,_0x1135db,_0xa2ab01);if(_0x46f309==null&&(_0x46f309=_0x19013c[_0x22cdd8(0xb3)](_0x32b07f-0x1,!0x1,_0x1135db,_0xa2ab01)),_0x5890be){const {contentBoxPointGroup:_0xcbe456}=_0xd6ba62['getRangePointData'](_0x46f309,_0x46f309);if(_0xcbe456[_0x22cdd8(0x29c)]===0x0)continue;this[_0x22cdd8(0x1ec)](_0x345a9a,_0xcbe456,_0x1c2933,_0x54a833,_0x590c5c),this['_eventUnsubscribe']=this[_0x22cdd8(0x1a8)]();}if(_0x33ad06&&_0x46f309){if(_0x56f956===_0x4a5a1c['DOC_RANGE_TYPE'][_0x22cdd8(0x187)]){const _0x5addac=new _0x22126e[(_0x22cdd8(0x278))](_0x5e1351,_0x19013c),{pointGroup:_0x2dcb9d}=(_0x41f901=_0x5addac[_0x22cdd8(0x161)](_0x33ad06,_0x46f309))!=null?_0x41f901:{};if(_0x2dcb9d==null||_0x2dcb9d[_0x22cdd8(0x29c)]===0x0)continue;this[_0x22cdd8(0x1b6)](_0x345a9a,_0x2dcb9d,_0x1c2933,_0x54a833);}else{if(!_0x4972d0){const {borderBoxPointGroup:_0x8f8e54}=_0xd6ba62[_0x22cdd8(0x161)](_0x33ad06,_0x46f309);if(_0x8f8e54[_0x22cdd8(0x29c)]===0x0)continue;this[_0x22cdd8(0x29f)](_0x345a9a,_0x8f8e54,_0x1c2933,_0x54a833);}}}}}[_0x22d19e(0x1ec)](_0x16bd38,_0x438e3a,_0x3f3060,_0x1d6237,_0x9dc24f){const _0x3ae99a=_0x22d19e,_0x13becf=this[_0x3ae99a(0x11d)](_0x438e3a),{left:_0xb68051,top:_0x170345,height:_0x5d7ec0}=_0x13becf,_0x5bb358=this['_getScale'](),_0xf659ce=_0x741edc/_0x5bb358,_0x57525b=new _0x5d2f68['Rect'](_0x21ac9c+_0x4a5a1c[_0x3ae99a(0x151)](_0x35fbcb),{'left':_0xb68051+_0x3f3060-_0xf659ce,'top':_0x170345+_0x1d6237,'height':_0x5d7ec0,'width':_0x299333,'fill':_0x16bd38||_0x5d2f68[_0x3ae99a(0xe6)](_0x4a5a1c[_0x3ae99a(0x323)][_0x3ae99a(0x192)],0x0),'strokeWidth':_0xf659ce,'stroke':_0x41b58e,'evented':!0x0});this[_0x3ae99a(0x284)]=_0x57525b,this[_0x3ae99a(0x225)]['addObject'](_0x57525b,_0x22126e[_0x3ae99a(0x2e5)]);const _0x5d9f82=new _0x5d2f68[(_0x3ae99a(0x2e2))](_0x21ac9c+_0x4a5a1c[_0x3ae99a(0x151)](_0x35fbcb),{'left':_0xb68051+_0x3f3060-_0xf659ce,'top':_0x170345+_0x1d6237-_0x4c03e8/0x2,'height':_0x4c03e8,'width':_0x4c03e8,'fill':_0x16bd38||_0x5d2f68[_0x3ae99a(0xe6)](_0x4a5a1c[_0x3ae99a(0x323)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x16bd38||_0x5d2f68[_0x3ae99a(0xe6)](_0x4a5a1c[_0x3ae99a(0x323)]['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x5d9f82,this[_0x3ae99a(0x225)][_0x3ae99a(0x22a)](_0x5d9f82,_0x22126e[_0x3ae99a(0x2e5)]);const _0xee7aae=new _0x132457(_0x21ac9c+_0x4a5a1c['generateRandomId'](_0x35fbcb),{'left':_0xb68051+_0x3f3060-_0xf659ce,'top':_0x170345+_0x1d6237-_0x3f556f,'text':_0x9dc24f,'color':_0x16bd38});this[_0x3ae99a(0xe0)]=_0xee7aae,this[_0x3ae99a(0x225)][_0x3ae99a(0x22a)](_0xee7aae,_0x22126e[_0x3ae99a(0x2e5)]),this[_0x3ae99a(0x171)]=!0x1;}[_0x22d19e(0x1a8)](){const _0x49ae3f=_0x22d19e,_0x2c2749=this[_0x49ae3f(0x284)][_0x49ae3f(0x126)][_0x49ae3f(0x11b)](()=>{this['_hover']=!0x0;}),_0x197b0d=this[_0x49ae3f(0x284)]['onPointerLeave$'][_0x49ae3f(0x11b)](()=>{const _0x17c82f=_0x49ae3f;this[_0x17c82f(0x27a)]&&clearTimeout(this[_0x17c82f(0x27a)]),this[_0x17c82f(0x27a)]=setTimeout(()=>{const _0x3f534a=_0x17c82f;this[_0x3f534a(0x171)]=!0x1;},0x7d0);});return()=>{const _0x8a982f=_0x49ae3f;_0x2c2749[_0x8a982f(0x275)](),_0x197b0d[_0x8a982f(0x275)]();};}[_0x22d19e(0x29f)](_0x197773,_0x2dcf01,_0x32629a,_0x2a657e){const _0x5779a2=_0x22d19e,_0x26bc99=new _0x4a5a1c[(_0x5779a2(0x2f7))](_0x197773)[_0x5779a2(0x2e7)](0.2)[_0x5779a2(0xf7)](),_0x42fe1d=new _0x5d2f68[(_0x5779a2(0x224))](_0x449f34+_0x4a5a1c['generateRandomId'](_0x35fbcb),{'pointsGroup':_0x2dcf01,'fill':_0x26bc99||_0x5d2f68[_0x5779a2(0xe6)](_0x4a5a1c['COLORS'][_0x5779a2(0x192)],0.2),'left':_0x32629a,'top':_0x2a657e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5779a2(0x9a)][_0x5779a2(0x256)](_0x42fe1d),this[_0x5779a2(0x225)][_0x5779a2(0x22a)](_0x42fe1d,_0x22126e[_0x5779a2(0x2e5)]);}[_0x22d19e(0x1b6)](_0x3aee8a,_0x5d7e61,_0x15f457,_0x153f1f){const _0x3e3bce=_0x22d19e,_0x4cf923=new _0x4a5a1c[(_0x3e3bce(0x2f7))](_0x3aee8a)['setAlpha'](0.2)[_0x3e3bce(0xf7)](),_0x44d672=new _0x5d2f68[(_0x3e3bce(0x224))](_0x5726e9+_0x4a5a1c[_0x3e3bce(0x151)](_0x35fbcb),{'pointsGroup':_0x5d7e61,'fill':_0x4cf923||_0x5d2f68[_0x3e3bce(0xe6)](_0x4a5a1c[_0x3e3bce(0x323)][_0x3e3bce(0x192)],0.2),'left':_0x15f457,'top':_0x153f1f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3e3bce(0x9a)][_0x3e3bce(0x256)](_0x44d672),this[_0x3e3bce(0x225)][_0x3e3bce(0x22a)](_0x44d672,_0x22126e[_0x3e3bce(0x2e5)]);}[_0x22d19e(0x11d)](_0x3982bb){const _0x4a9cb5=_0x3982bb[0x0],_0x442b86=_0x4a9cb5[0x0],_0x16082f=_0x4a9cb5[0x2],{x:_0x52f330,y:_0x19c558}=_0x442b86,{x:_0x519d10,y:_0x584da6}=_0x16082f;return{'left':_0x52f330,'top':_0x19c558,'width':_0x519d10-_0x52f330,'height':_0x584da6-_0x19c558};}[_0x22d19e(0x34e)](){const _0x43308c=_0x22d19e,{scaleX:_0x2f726a,scaleY:_0x3e9acf}=this[_0x43308c(0x225)][_0x43308c(0x357)]();return Math[_0x43308c(0xdd)](_0x2f726a,_0x3e9acf);}}var _0x45ab62=Object[_0x22d19e(0x1e2)],_0x551c44=(_0x5db718,_0x1b0572,_0x1cb2a8,_0x3beea3)=>{const _0x1e6927=_0x22d19e;for(var _0x50bfac=_0x3beea3>0x1?void 0x0:_0x3beea3?_0x45ab62(_0x1b0572,_0x1cb2a8):_0x1b0572,_0x47a980=_0x5db718[_0x1e6927(0x29c)]-0x1,_0x15cff2;_0x47a980>=0x0;_0x47a980--)(_0x15cff2=_0x5db718[_0x47a980])&&(_0x50bfac=_0x15cff2(_0x50bfac)||_0x50bfac);return _0x50bfac;},_0x306641=(_0x468980,_0x5e870d)=>(_0x242460,_0xb5c329)=>_0x5e870d(_0x242460,_0xb5c329,_0x468980);let _0x238ac3=class extends _0x4a5a1c[_0x22d19e(0x31e)]{constructor(_0x350d86,_0x2dd051,_0x2787f7,_0x17752e,_0x58a871){const _0x2e66f4=_0x22d19e;super(),_0xa63e61(this,_0x2e66f4(0x177),[]),_0xa63e61(this,'_cursors',[]),(this[_0x2e66f4(0x1af)]=_0x350d86,this[_0x2e66f4(0x1b1)]=_0x2dd051,this[_0x2e66f4(0x96)]=_0x2787f7,this[_0x2e66f4(0x2b1)]=_0x17752e,this['_themeService']=_0x58a871,this[_0x2e66f4(0x105)]());}['_init'](){const _0x5b7bc8=_0x22d19e,_0xdf54a2=this[_0x5b7bc8(0x1af)][_0x5b7bc8(0x369)],_0x3b8413=this[_0x5b7bc8(0x1b1)];this[_0x5b7bc8(0xe5)](_0x8d94e0[_0x5b7bc8(0x144)]([this[_0x5b7bc8(0x96)][_0x5b7bc8(0xb8)](_0xdf54a2),this[_0x5b7bc8(0x2e4)]['currentTheme$']])[_0x5b7bc8(0x296)](_0x5d0515[_0x5b7bc8(0x112)](([_0x86bcb8,_0x1b55d0])=>({'skeleton':_0x3b8413[_0x5b7bc8(0x329)](),'cursors':[..._0x86bcb8['values']()][_0x5b7bc8(0x212)](_0x33bdfe=>({..._0x33bdfe,'color':this[_0x5b7bc8(0x2e4)][_0x5b7bc8(0x21a)](_0x33bdfe[_0x5b7bc8(0x174)])}))})))[_0x5b7bc8(0x35e)](_0x2de330=>{const _0x401c18=_0x5b7bc8;if(this[_0x401c18(0x362)](),_0x2de330){const {skeleton:_0x1cfc7d,cursors:_0x3dd789}=_0x2de330;this['_updateCollabCursors'](_0x1cfc7d,_0x3dd789);}})),this['_initResize'](),this[_0x5b7bc8(0x1be)]();}[_0x22d19e(0x280)](_0x250719,_0x1dd58f){const _0x1a2829=_0x22d19e,{scene:_0x2728ef,mainComponent:_0x4e2da9}=this[_0x1a2829(0x1af)],_0x1fa1cf=_0x1dd58f['map'](_0x5ab4cd=>new _0x36a29c(_0x5ab4cd,_0x2728ef,_0x250719,_0x4e2da9));this[_0x1a2829(0x177)]=_0x1fa1cf,this['_cursors']=_0x1dd58f;}['_refreshCollabCursors'](){const _0x56426a=_0x22d19e;this[_0x56426a(0x362)]();const {scene:_0x214c20,mainComponent:_0x2d7fbe}=this[_0x56426a(0x1af)],_0x1b7442=this['_docSkeletonManagerService']['getSkeleton'](),_0x34e562=this[_0x56426a(0xee)]['map'](_0x84d40=>new _0x36a29c(_0x84d40,_0x214c20,_0x1b7442,_0x2d7fbe));this[_0x56426a(0x177)]=_0x34e562;}['_removeCollabCursors'](){const _0x4ca857=_0x22d19e;this[_0x4ca857(0x177)][_0x4ca857(0x316)](_0x52a65f=>_0x52a65f[_0x4ca857(0x210)]()),this[_0x4ca857(0x177)]=[];}[_0x22d19e(0x1be)](){const _0x4a353c=_0x22d19e,_0x2e8ef1=[_0x22126e[_0x4a353c(0x20d)]['id']];this['disposeWithMe'](this[_0x4a353c(0x2b1)][_0x4a353c(0x1f9)](_0x3cd6f0=>{const _0x2e5e25=_0x4a353c;_0x2e8ef1['includes'](_0x3cd6f0['id'])&&_0x3cd6f0[_0x2e5e25(0x22d)]['unitId']===this[_0x2e5e25(0x1af)]['unitId']&&this[_0x2e5e25(0x119)]();}));}[_0x22d19e(0x240)](){const _0x3b074b=_0x22d19e;this[_0x3b074b(0xe5)](_0x4a5a1c[_0x3b074b(0x178)](this[_0x3b074b(0x1af)]['engine'][_0x3b074b(0x1c1)])[_0x3b074b(0x296)](_0x5d0515['filter'](_0x51321a=>_0x51321a[_0x3b074b(0x169)]===_0x5d2f68[_0x3b074b(0x11e)][_0x3b074b(0x342)]),_0x5d0515['throttleTime'](0x10))[_0x3b074b(0x35e)](()=>{const _0x20d804=_0x3b074b;this[_0x20d804(0x119)]();}));}};_0x238ac3=_0x551c44([_0x306641(0x1,_0x4a5a1c[_0x22d19e(0x35d)](_0x5afd4e[_0x22d19e(0xb2)])),_0x306641(0x2,_0x4a5a1c['Inject'](_0x8689c)),_0x306641(0x3,_0x4a5a1c[_0x22d19e(0x263)]),_0x306641(0x4,_0x4a5a1c[_0x22d19e(0x35d)](_0x4a5a1c['ThemeService']))],_0x238ac3);const _0x37ebd9=0x1,_0x4b9220=1.5;class _0x3fc4ac extends _0x5d2f68[_0x22d19e(0x36a)]{constructor(_0x16f6f4,_0x20c375){const _0x1e16d0=_0x22d19e;super(_0x16f6f4,_0x20c375),_0xa63e61(this,_0x1e16d0(0x334)),_0xa63e61(this,'_hovered',!0x1),_0xa63e61(this,_0x1e16d0(0x243)),_0xa63e61(this,_0x1e16d0(0x138),''),_0xa63e61(this,_0x1e16d0(0x12e),_0x1e16d0(0x2f1)),_0xa63e61(this,_0x1e16d0(0x2fc)),(_0x20c375&&this[_0x1e16d0(0x19d)](_0x20c375),this[_0x1e16d0(0x126)][_0x1e16d0(0x11b)](()=>this[_0x1e16d0(0x19d)]({'hovered':!0x0})),this[_0x1e16d0(0xea)][_0x1e16d0(0x11b)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x22d19e(0x19d)](_0x40f190){const _0x3a3894=_0x22d19e;var _0x7c8d7e,_0x42f7ee,_0x5ab7aa,_0x1ba17a,_0x4fa998,_0x2c8534;this[_0x3a3894(0x334)]=(_0x7c8d7e=_0x40f190[_0x3a3894(0x174)])!=null?_0x7c8d7e:this[_0x3a3894(0x334)],this['_hovered']=(_0x42f7ee=_0x40f190[_0x3a3894(0x91)])!=null?_0x42f7ee:this[_0x3a3894(0x12b)],this['_range']=(_0x5ab7aa=_0x40f190[_0x3a3894(0x2f0)])!=null?_0x5ab7aa:this[_0x3a3894(0x243)],this[_0x3a3894(0x138)]=(_0x1ba17a=_0x40f190[_0x3a3894(0x2a6)])!=null?_0x1ba17a:this[_0x3a3894(0x138)],this[_0x3a3894(0x12e)]=(_0x4fa998=_0x40f190['labelPosition'])!=null?_0x4fa998:this[_0x3a3894(0x12e)],this[_0x3a3894(0x2fc)]=(_0x2c8534=_0x40f190[_0x3a3894(0x1b8)])!=null?_0x2c8534:this['_backgroundColor'],this['transformByState']({'width':_0x40f190[_0x3a3894(0xcd)],'height':_0x40f190[_0x3a3894(0x290)]});}[_0x22d19e(0x35b)](_0x481e27){const _0x1218da=_0x22d19e,{row:_0x5d8d41,column:_0x3d5f10}=_0x481e27;if(_0x5d8d41>=this['_range'][_0x1218da(0x2f3)]&&_0x5d8d41<=this[_0x1218da(0x243)]['endRow']&&_0x3d5f10>=this[_0x1218da(0x243)][_0x1218da(0x152)]&&_0x3d5f10<=this['_range']['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x1218da(0x19d)]({'hovered':!0x1});}[_0x22d19e(0x2af)](_0x1ecbad){return!0x1;}[_0x22d19e(0x298)](_0x3e7d5e){const _0x1398af=_0x22d19e;_0x5d2f68['Rect']['drawWith'](_0x3e7d5e,{'width':this[_0x1398af(0xcd)],'height':this[_0x1398af(0x290)],'strokeWidth':_0x4b9220,'stroke':this[_0x1398af(0x334)],'evented':!0x1,'fill':this[_0x1398af(0x2fc)]}),this['_hovered']&&(_0x3e7d5e[_0x1398af(0x297)](),_0x3e7d5e[_0x1398af(0x33b)](0x1,0x0,0x0,0x1,this[_0x1398af(0xcd)],this[_0x1398af(0x12e)]==='bottom'?0x0:-_0x3f556f),_0x132457[_0x1398af(0xe2)](_0x3e7d5e,{'text':this[_0x1398af(0x138)],'color':this[_0x1398af(0x334)]}),_0x3e7d5e[_0x1398af(0x31d)]());}}var _0x5b6e3a=Object[_0x22d19e(0x1e2)],_0x123afb=(_0x451458,_0x21391c,_0xb9a55c,_0x3069ae)=>{const _0x23fd42=_0x22d19e;for(var _0x3b1771=_0x3069ae>0x1?void 0x0:_0x3069ae?_0x5b6e3a(_0x21391c,_0xb9a55c):_0x21391c,_0x1d21e5=_0x451458[_0x23fd42(0x29c)]-0x1,_0x20fa1a;_0x1d21e5>=0x0;_0x1d21e5--)(_0x20fa1a=_0x451458[_0x1d21e5])&&(_0x3b1771=_0x20fa1a(_0x3b1771)||_0x3b1771);return _0x3b1771;},_0x2c8fdb=(_0x200e01,_0xb1552a)=>(_0x6221b2,_0x488829)=>_0xb1552a(_0x6221b2,_0x488829,_0x200e01);const _0x4981c6=0x1389;let _0x5e3b2e=class extends _0x4a5a1c[_0x22d19e(0x31e)]{constructor(_0xc0a7c0,_0x918cb4,_0x884162,_0x3c7e4a){const _0x7520f4=_0x22d19e;super(),_0xa63e61(this,_0x7520f4(0xee),new Set()),_0xa63e61(this,'_lastPointer',null),(this[_0x7520f4(0x1af)]=_0xc0a7c0,this['_sheetSkeletonManagerService']=_0x918cb4,this[_0x7520f4(0x96)]=_0x884162,this[_0x7520f4(0x2e4)]=_0x3c7e4a,this[_0x7520f4(0x105)]());}[_0x22d19e(0x105)](){const _0x37ae13=_0x22d19e;this['_sheetSkeletonManagerService'][_0x37ae13(0xe8)][_0x37ae13(0x296)](_0x5d0515[_0x37ae13(0x9e)](this[_0x37ae13(0x148)]),_0x5d0515[_0x37ae13(0x1d5)](_0x564d5d=>{const _0x17c9bc=_0x37ae13;if(_0x564d5d){const _0x21ac16=_0x564d5d['sheetId'];return _0x8d94e0['combineLatest'](this[_0x17c9bc(0x96)]['getCollabCursors$'](this[_0x17c9bc(0x1af)][_0x17c9bc(0x369)]),this[_0x17c9bc(0x2e4)][_0x17c9bc(0x291)])['pipe'](_0x5d0515['map'](([_0x38234a,_0x2b62b3])=>{const _0x403afc=_0x17c9bc,_0x8b1b0b=new Map();return _0x38234a[_0x403afc(0x316)]((_0x42ba82,_0x51e071)=>{const _0x3fe458=_0x403afc;if(_0x42ba82['sheetID']===_0x21ac16){const _0x2caeb5={..._0x42ba82};_0x2caeb5[_0x3fe458(0x174)]=this['_themeService']['getColorFromTheme'](_0x42ba82['color']),_0x8b1b0b[_0x3fe458(0x25b)](_0x51e071,_0x2caeb5);}}),{'skeleton':_0x564d5d,'cursors':_0x8b1b0b};}));}return _0x8d94e0['of']({'skeleton':null,'cursors':new Map()});}))[_0x37ae13(0x35e)](({skeleton:_0x387e9a,cursors:_0x4998d9})=>{const _0x33fdc9=_0x37ae13;this[_0x33fdc9(0x362)](),_0x387e9a&&this['_updateCollabCursors'](_0x387e9a,_0x4998d9);}),this[_0x37ae13(0x183)][_0x37ae13(0xe8)][_0x37ae13(0x35e)](_0xe98b6f=>{const _0x23f798=_0x37ae13;if(_0xe98b6f==null)return;const {skeleton:_0x395500}=_0xe98b6f,{scene:_0x176f8e}=this[_0x23f798(0x1af)];_0x176f8e[_0x23f798(0x165)][_0x23f798(0x11b)](_0x4a5a1c[_0x23f798(0x25d)](_0x1ceb7b=>{const _0x17cc75=_0x23f798;var _0x4d4985,_0x24fbb2;const {offsetX:_0x5210f5,offsetY:_0x3fe87a}=_0x1ceb7b,{x:_0x36451b,y:_0x1a8b29}=_0x176f8e[_0x17cc75(0xf1)](_0x5d2f68[_0x17cc75(0x200)]['FromArray']([_0x5210f5,_0x3fe87a])),{scaleX:_0x27b867,scaleY:_0x437aaa}=_0x176f8e[_0x17cc75(0x357)](),_0xdea498=_0x176f8e[_0x17cc75(0x1e3)](_0x5d2f68[_0x17cc75(0x102)][_0x17cc75(0x346)]),_0x41b152=_0x176f8e[_0x17cc75(0x31c)](_0x5d2f68[_0x17cc75(0x200)][_0x17cc75(0x13c)]([_0x36451b,_0x1a8b29]),_0xdea498),_0x70712f=_0x395500['getCellPositionByOffset'](_0x5210f5,_0x3fe87a,_0x27b867,_0x437aaa,_0x41b152);((_0x4d4985=this[_0x17cc75(0x356)])==null?void 0x0:_0x4d4985[_0x17cc75(0x29b)])===_0x70712f[_0x17cc75(0x29b)]&&((_0x24fbb2=this[_0x17cc75(0x356)])==null?void 0x0:_0x24fbb2[_0x17cc75(0xe3)])===_0x70712f[_0x17cc75(0xe3)]||this[_0x17cc75(0xee)][_0x17cc75(0x316)](_0x230724=>{const _0x284a41=_0x17cc75;_0x230724[_0x284a41(0x35b)](_0x70712f);});},0x64));});}[_0x22d19e(0x280)](_0x3b77cb,_0x3de7b2){const _0x45edd0=_0x22d19e;var _0x39c4bb;const _0x340c58=(_0x39c4bb=this[_0x45edd0(0x183)][_0x45edd0(0x2fa)]())==null?void 0x0:_0x39c4bb['skeleton'];if(!_0x340c58)return;const _0x3e4ee8=this['_getSheetObject']();if(!_0x3e4ee8)return;this[_0x45edd0(0xee)][_0x45edd0(0x316)](_0x59376d=>{const _0x1ccd5f=_0x45edd0;_0x59376d[_0x1ccd5f(0x265)]();});const {scene:_0xa5979b}=_0x3e4ee8,_0xaae2da=_0xe9c136(Array[_0x45edd0(0x319)](_0x3de7b2[_0x45edd0(0x18a)]()))[_0x45edd0(0x112)](_0x5b34d9=>{const _0x51903b=_0x45edd0,{color:_0x35dbe3,range:_0x2c9e92,name:_0x404b15,selection:_0x59b99c,sheetID:_0x1e21b7}=_0x5b34d9,{startColumn:_0x32e5d7,startRow:_0x133733,endColumn:_0x199882,endRow:_0x3766cf}=_0x2c9e92,_0x15d6dc=_0x14ceff[_0x51903b(0x255)](_0x133733,_0x32e5d7,_0xa5979b,_0x340c58),_0x1b4255=_0x14ceff[_0x51903b(0x255)](_0x3766cf,_0x199882,_0xa5979b,_0x340c58),{columnHeaderHeightAndMarginTop:_0x2aebd0}=_0x340c58,{startX:_0x48e206,startY:_0x2228b1}=_0x15d6dc,{endX:_0x3a76c6,endY:_0x2764b6}=_0x1b4255,_0x70de4=_0x3a76c6-_0x48e206,_0x25e41f=_0x2764b6-_0x2228b1,_0x200ef6={'labelPosition':_0x2228b1-_0x2aebd0>=_0x3f556f?'top':_0x51903b(0x348),'sheetID':_0x1e21b7,'range':_0x2c9e92,'color':_0x35dbe3,'name':_0x404b15,'selection':_0x59b99c,'left':_0x48e206,'top':_0x2228b1,'width':_0x70de4,'height':_0x25e41f,'evented':!0x1,'zIndex':_0x4981c6};return new _0x3fc4ac(_0x404b15,_0x200ef6);});_0xa5979b[_0x45edd0(0xa1)](_0xaae2da,_0x37ebd9),this[_0x45edd0(0xee)]=new Set(_0xaae2da);}[_0x22d19e(0x362)](){const _0x586d60=_0x22d19e;var _0x5ad3e0;(_0x5ad3e0=this[_0x586d60(0xee)])==null||_0x5ad3e0[_0x586d60(0x316)](_0x55f007=>_0x55f007[_0x586d60(0x210)]());}['_getSheetObject'](){const _0x1b1195=_0x22d19e;return _0x14ceff['getSheetObject'](this[_0x1b1195(0x1af)][_0x1b1195(0x300)],this[_0x1b1195(0x1af)]);}};_0x5e3b2e=_0x123afb([_0x2c8fdb(0x1,_0x4a5a1c[_0x22d19e(0x35d)](_0x14ceff['SheetSkeletonManagerService'])),_0x2c8fdb(0x2,_0x4a5a1c[_0x22d19e(0x35d)](_0x8689c)),_0x2c8fdb(0x3,_0x4a5a1c[_0x22d19e(0x35d)](_0x4a5a1c['ThemeService']))],_0x5e3b2e);function _0xe9c136(_0x412fd6){const _0x421b7d=_0x22d19e,_0x13e2f0=new Map();return _0x412fd6[_0x421b7d(0x316)](_0xc09a41=>{const _0x377a17=_0x421b7d;if(_0x13e2f0[_0x377a17(0x241)](_0xc09a41[_0x377a17(0x1e1)])){const _0x586cbc=_0x13e2f0[_0x377a17(0x18e)](_0xc09a41[_0x377a17(0x1e1)]);_0x586cbc['name']+=',\x20'+_0xc09a41[_0x377a17(0x2a6)];}else _0x13e2f0[_0x377a17(0x25b)](_0xc09a41[_0x377a17(0x1e1)],_0xc09a41);}),Array['from'](_0x13e2f0[_0x421b7d(0x18a)]());}var _0x56b286=Object[_0x22d19e(0x1e2)],_0x32f795=(_0x4b7e86,_0x14988d,_0x52405a,_0x43eec5)=>{const _0x19349c=_0x22d19e;for(var _0x4fcd80=_0x43eec5>0x1?void 0x0:_0x43eec5?_0x56b286(_0x14988d,_0x52405a):_0x14988d,_0x34d161=_0x4b7e86[_0x19349c(0x29c)]-0x1,_0x579168;_0x34d161>=0x0;_0x34d161--)(_0x579168=_0x4b7e86[_0x34d161])&&(_0x4fcd80=_0x579168(_0x4fcd80)||_0x4fcd80);return _0x4fcd80;},_0x34c263=(_0x58d813,_0x30919d)=>(_0xf6d27,_0x90ff8c)=>_0x30919d(_0xf6d27,_0x90ff8c,_0x58d813);let _0x6027b0=class extends _0x4a5a1c[_0x22d19e(0x2a7)]{constructor(_0x1ff4ae,_0x2119a5,_0x2b4120,_0x5c61e7,_0x490c37,_0x17c927){const _0x4da78c=_0x22d19e;super(),this['_beforeCloseService']=_0x1ff4ae,this[_0x4da78c(0x1ad)]=_0x2119a5,this[_0x4da78c(0x347)]=_0x2b4120,this['_messageService']=_0x5c61e7,this[_0x4da78c(0x15b)]=_0x490c37,this[_0x4da78c(0x295)]=_0x17c927,this[_0x4da78c(0x16e)](),this['_initEvent']();}[_0x22d19e(0x16e)](){const _0x1c672f=_0x22d19e;this[_0x1c672f(0xe5)](this[_0x1c672f(0x302)][_0x1c672f(0x123)](()=>{const _0x534f57=_0x1c672f;if(this[_0x534f57(0x1ad)]['saveTaskMap']['size'])return this[_0x534f57(0x295)]['t'](_0x534f57(0x343));}));}[_0x22d19e(0x147)](){const _0x1b87bd=_0x22d19e;this[_0x1b87bd(0xe5)](this['_collaborationUIEventService'][_0x1b87bd(0xa3)][_0x1b87bd(0x35e)](_0x51de90=>{const _0x14ef05=_0x1b87bd;_0x51de90['id']===_0x29cbea[_0x14ef05(0x1f3)][_0x14ef05(0x331)]&&this['_messageService'][_0x14ef05(0x1ba)]({'type':_0x67c92c[_0x14ef05(0x215)][_0x14ef05(0x194)],'content':this[_0x14ef05(0x295)]['t'](_0x14ef05(0x2d8))}),_0x51de90['id']===_0x29cbea[_0x14ef05(0x1f3)][_0x14ef05(0x1fc)]&&this[_0x14ef05(0x33e)]['show']({'type':_0x67c92c['MessageType'][_0x14ef05(0x194)],'content':this[_0x14ef05(0x295)]['t'](_0x14ef05(0xe4))}),_0x51de90['id']===_0x29cbea[_0x14ef05(0x1f3)][_0x14ef05(0x13b)]&&this[_0x14ef05(0x15b)][_0x14ef05(0x1ba)]({'title':this[_0x14ef05(0x295)]['t']('permission.title'),'content':this['_localeService']['t'](_0x14ef05(0x325)),'type':_0x14ef05(0x1fd),'duration':0x0}),_0x51de90['id']===_0x29cbea['CollaborationUIEventId']['CONFLICT']&&this['_messageService']['show']({'type':_0x67c92c[_0x14ef05(0x215)]['Error'],'content':this[_0x14ef05(0x295)]['t'](_0x14ef05(0xe4))+'('+_0x51de90[_0x14ef05(0x136)]+')'}),_0x51de90['id']===_0x29cbea[_0x14ef05(0x1f3)][_0x14ef05(0x1ea)]&&this[_0x14ef05(0x33e)][_0x14ef05(0x1ba)]({'type':_0x67c92c[_0x14ef05(0x215)]['Warning'],'content':this['_localeService']['t'](_0x51de90[_0x14ef05(0x136)]||'')}),_0x51de90['id']===_0x29cbea['CollaborationUIEventId'][_0x14ef05(0x29e)]&&this[_0x14ef05(0x33e)][_0x14ef05(0x1ba)]({'type':_0x67c92c[_0x14ef05(0x215)][_0x14ef05(0x194)],'content':this[_0x14ef05(0x295)]['t'](_0x14ef05(0x167))}),_0x51de90['id']===_0x29cbea[_0x14ef05(0x1f3)][_0x14ef05(0x17d)]&&this[_0x14ef05(0x33e)][_0x14ef05(0x1ba)]({'type':_0x67c92c[_0x14ef05(0x215)]['Error'],'content':this[_0x14ef05(0x295)]['t'](_0x14ef05(0x2ab))}),_0x51de90['id']===_0x29cbea[_0x14ef05(0x1f3)][_0x14ef05(0x141)]&&this[_0x14ef05(0x33e)]['show']({'type':_0x67c92c['MessageType'][_0x14ef05(0x2d1)],'content':this[_0x14ef05(0x295)]['t'](_0x14ef05(0x277))});}));}};_0x6027b0=_0x32f795([_0x34c263(0x0,_0x270495['IBeforeCloseService']),_0x34c263(0x1,_0x29cbea[_0x22d19e(0x92)]),_0x34c263(0x2,_0x4a5a1c[_0x22d19e(0x35d)](_0x29cbea[_0x22d19e(0x367)])),_0x34c263(0x3,_0x270495[_0x22d19e(0x339)]),_0x34c263(0x4,_0x270495[_0x22d19e(0x2bc)]),_0x34c263(0x5,_0x4a5a1c[_0x22d19e(0x35d)](_0x4a5a1c[_0x22d19e(0x16a)]))],_0x6027b0);var _0x2534f6=Object[_0x22d19e(0x1e2)],_0x4779a7=(_0x436021,_0x5cfb48,_0x3ac2b3,_0x19d4c0)=>{const _0x5963c1=_0x22d19e;for(var _0x38fae8=_0x19d4c0>0x1?void 0x0:_0x19d4c0?_0x2534f6(_0x5cfb48,_0x3ac2b3):_0x5cfb48,_0xff783e=_0x436021[_0x5963c1(0x29c)]-0x1,_0x2b9992;_0xff783e>=0x0;_0xff783e--)(_0x2b9992=_0x436021[_0xff783e])&&(_0x38fae8=_0x2b9992(_0x38fae8)||_0x38fae8);return _0x38fae8;},_0x5d525a=(_0x337f15,_0x3e3ee1)=>(_0x3e44bc,_0x184ab9)=>_0x3e3ee1(_0x3e44bc,_0x184ab9,_0x337f15);let _0x44bd4f=class extends _0x4a5a1c[_0x22d19e(0x2a7)]{constructor(_0x3e0612,_0x4069f1,_0x42c12b,_0x4552d3){const _0x58f53c=_0x22d19e;super(),_0xa63e61(this,'_memberID'),(this[_0x58f53c(0x36e)]=_0x3e0612,this[_0x58f53c(0x33c)]=_0x4069f1,this[_0x58f53c(0x1d7)]=_0x42c12b,this['_collaborationSessionService']=_0x4552d3,this[_0x58f53c(0x105)]());}[_0x22d19e(0x105)](){const _0x3f609c=_0x22d19e;this[_0x3f609c(0xc1)](),this[_0x3f609c(0x29d)](),this[_0x3f609c(0x24b)](),this[_0x3f609c(0xae)]();}[_0x22d19e(0xae)](){const _0xc79f7=_0x22d19e;this[_0xc79f7(0xe5)](this[_0xc79f7(0x111)][_0xc79f7(0x153)][_0xc79f7(0x35e)](_0x8c48cd=>{const _0x19e9df=_0xc79f7;this[_0x19e9df(0x2bd)]=_0x8c48cd==null?void 0x0:_0x8c48cd[_0x19e9df(0x27c)];}));}[_0x22d19e(0xc1)](){const _0x54a556=_0x22d19e,_0x2d64e5=_0x1344c1=>{const _0x33e348=_0x1ae4;var _0x5e0c46;this['_uploadLog'](_0x33e348(0x1fd),_0x33e348(0xa2)+_0x1344c1[_0x33e348(0x1f4)]+_0x33e348(0x299)+_0x1344c1['filename']+':'+_0x1344c1[_0x33e348(0x233)]+':'+_0x1344c1[_0x33e348(0x107)]+'\x0a'+(((_0x5e0c46=_0x1344c1[_0x33e348(0x1fd)])==null?void 0x0:_0x5e0c46[_0x33e348(0x207)])||''));};window[_0x54a556(0x24e)](_0x54a556(0x1fd),_0x2d64e5),this['disposeWithMe'](()=>{const _0x2a81b9=_0x54a556;window['removeEventListener'](_0x2a81b9(0x1fd),_0x2d64e5);});}[_0x22d19e(0x29d)](){const _0x289a88=_0x22d19e,_0x13f475=_0x143ac2=>{const _0x964fd0=_0x1ae4;this[_0x964fd0(0x11a)](_0x964fd0(0x1fd),_0x964fd0(0x17a)+_0x143ac2[_0x964fd0(0x2be)]);};window['addEventListener'](_0x289a88(0x12c),_0x13f475),this['disposeWithMe'](()=>{const _0x1cdda1=_0x289a88;window[_0x1cdda1(0x2e1)](_0x1cdda1(0x12c),_0x13f475);});}[_0x22d19e(0x24b)](){const _0x282ed6=_0x22d19e,_0x148744=this[_0x282ed6(0x1d7)][_0x282ed6(0x1fd)][_0x282ed6(0x2c2)](this[_0x282ed6(0x1d7)]);this[_0x282ed6(0x1d7)][_0x282ed6(0x1fd)]=(..._0x1d281f)=>{const _0x2de588=_0x282ed6,_0x2a47da=_0x1d281f[_0x2de588(0x112)](_0x296722=>_0x296722 instanceof Error?_0x296722[_0x2de588(0x1f4)]+'\x0a'+_0x296722[_0x2de588(0x207)]:String(_0x296722))['join']('\x20');this[_0x2de588(0x11a)]('error',_0x2de588(0x359)+_0x2a47da),_0x148744(..._0x1d281f);},this[_0x282ed6(0xe5)](()=>{const _0x400769=_0x282ed6;this[_0x400769(0x1d7)]['error']=_0x148744;});}['_uploadLog'](_0x479b43,_0xb7f84a){const _0x3d215d=_0x22d19e;try{const _0x39efb4={'userId':this[_0x3d215d(0x2bd)],'logLabel':_0x479b43,'content':_0xb7f84a};this[_0x3d215d(0x33c)][_0x3d215d(0x33a)](_0x3d215d(0xfb),{'body':_0x39efb4})[_0x3d215d(0x25f)](()=>{});}catch{}}};_0x44bd4f=_0x4779a7([_0x5d525a(0x0,_0x4a5a1c[_0x22d19e(0x35d)](_0x4a5a1c[_0x22d19e(0x2f2)])),_0x5d525a(0x1,_0x4a5a1c['Inject'](_0xbeb642[_0x22d19e(0x34b)])),_0x5d525a(0x2,_0x4a5a1c[_0x22d19e(0x2eb)]),_0x5d525a(0x3,_0x4a5a1c[_0x22d19e(0x35d)](_0x29cbea['CollaborationSessionService']))],_0x44bd4f);const _0x48039f=_0x22d19e(0x327),_0x1eb4f8={};var _0x4021d8=Object[_0x22d19e(0x1e2)],_0xe85d6c=(_0x9502,_0xf0b3cc,_0x29f692,_0x257622)=>{const _0x1781cd=_0x22d19e;for(var _0x20c4d8=_0x257622>0x1?void 0x0:_0x257622?_0x4021d8(_0xf0b3cc,_0x29f692):_0xf0b3cc,_0x17b3e8=_0x9502[_0x1781cd(0x29c)]-0x1,_0x345359;_0x17b3e8>=0x0;_0x17b3e8--)(_0x345359=_0x9502[_0x17b3e8])&&(_0x20c4d8=_0x345359(_0x20c4d8)||_0x20c4d8);return _0x20c4d8;},_0x514d51=(_0x4c32b8,_0x5e59b8)=>(_0x4a4cd9,_0x12bb30)=>_0x5e59b8(_0x4a4cd9,_0x12bb30,_0x4c32b8);let _0xc53968=class{constructor(_0x1e9968,_0x30ee50){const _0x37bc0e=_0x22d19e;this['_transformService']=_0x1e9968,this[_0x37bc0e(0x282)]=_0x30ee50;}[_0x22d19e(0x2da)](_0x373217){const _0xc74015=_0x22d19e;this[_0xc74015(0xf8)](_0x373217),this[_0xc74015(0x18c)](_0x373217);}[_0x22d19e(0x16f)](_0x275c93){const _0x5f4cb2=_0x22d19e,{unitID:_0x4e18d7}=_0x275c93,_0x428d93=this[_0x5f4cb2(0x282)][_0x5f4cb2(0x305)](_0x4e18d7)['with'](_0x22126e['DocIMEInputManagerService']),{redoCache:_0x3f6c08}=_0x428d93[_0x5f4cb2(0x355)]();if(_0x3f6c08['length']===0x0)return _0x275c93;let _0x1d5905=_0x4a5a1c[_0x5f4cb2(0xc6)]['deepClone'](_0x275c93['mutations'][0x0]);for(let _0x6aa73=0x0;_0x6aa73<_0x3f6c08[_0x5f4cb2(0x29c)];_0x6aa73++){const _0x220387={'id':'doc.mutation.rich-text-editing','params':{..._0x3f6c08[_0x6aa73]}},_0x495384=this['_transformService'][_0x5f4cb2(0x9f)](_0x1d5905,_0x220387,!0x1);if(_0x4a6bb0[_0x5f4cb2(0xbb)](_0x495384))throw _0x495384['error'];_0x1d5905=_0x495384[_0x5f4cb2(0xdf)];}return{..._0x4a5a1c[_0x5f4cb2(0xc6)][_0x5f4cb2(0x2fe)](_0x275c93),'mutations':[_0x1d5905]};}[_0x22d19e(0xf8)](_0xc33245){const _0x467ff9=_0x22d19e,{unitID:_0xe9151a}=_0xc33245,_0x3f509c=this[_0x467ff9(0x282)]['getRenderById'](_0xe9151a)[_0x467ff9(0x12d)](_0x22126e[_0x467ff9(0x189)]),{undoCache:_0x5d84aa,redoCache:_0x11f967}=_0x3f509c[_0x467ff9(0x355)]();if(_0x5d84aa[_0x467ff9(0x29c)]===0x0||_0x11f967['length']===0x0)return;const _0x3c7979=[],_0x37d831=[];let _0x4b0dec=_0x4a5a1c[_0x467ff9(0xc6)][_0x467ff9(0x2fe)](_0xc33245[_0x467ff9(0x354)][0x0]),_0x2c8b50=_0x4a5a1c[_0x467ff9(0xc6)][_0x467ff9(0x2fe)](_0xc33245[_0x467ff9(0x354)][0x0]);for(let _0x2069b5=_0x5d84aa['length']-0x1;_0x2069b5>=0x0;_0x2069b5--){const _0x31b6de={'id':_0x467ff9(0x2a5),'params':{..._0x5d84aa[_0x2069b5]}},_0x64530b={'id':_0x467ff9(0x2a5),'params':{..._0x11f967[_0x2069b5]}},_0x26495b=this[_0x467ff9(0x1ff)][_0x467ff9(0x9f)](_0x4b0dec,_0x31b6de,!0x1),_0x34bd74=this['_transformService']['transformMutation'](_0x2c8b50,_0x64530b,!0x1);if(_0x4a6bb0[_0x467ff9(0xbb)](_0x26495b))throw _0x26495b[_0x467ff9(0x1fd)];if(_0x4a6bb0[_0x467ff9(0xbb)](_0x34bd74))throw _0x34bd74[_0x467ff9(0x1fd)];_0x3c7979[_0x467ff9(0xfc)](_0x26495b[_0x467ff9(0x196)][_0x467ff9(0x22d)]),_0x37d831[_0x467ff9(0xfc)](_0x34bd74[_0x467ff9(0x196)][_0x467ff9(0x22d)]),_0x4b0dec=_0x26495b['m1Prime'],_0x2c8b50=_0x34bd74[_0x467ff9(0xdf)];}_0x3f509c[_0x467ff9(0x1bb)]({'undoCache':_0x3c7979,'redoCache':_0x37d831});}[_0x22d19e(0x18c)](_0x1b58a7){const _0x27a007=_0x22d19e,{unitID:_0x146fda}=_0x1b58a7,_0x59c6c9=this[_0x27a007(0x282)][_0x27a007(0x305)](_0x146fda)[_0x27a007(0x12d)](_0x22126e[_0x27a007(0x189)]),_0x58a562=_0x59c6c9[_0x27a007(0x219)]();if(_0x58a562==null)return;const _0x22a906=[{'id':_0x27a007(0x2a5),'params':{'unitId':_0x1b58a7[_0x27a007(0x2bb)],'actions':null,'textRanges':[_0x58a562]}}],_0x1e49e0=this[_0x27a007(0x1ff)]['transformMutationsWithChangeset'](_0x1b58a7,_0x22a906);if(!_0x4a6bb0[_0x27a007(0x1ca)](_0x1e49e0))throw _0x1e49e0[_0x27a007(0x1fd)];const _0x54b2ec=_0x1e49e0[_0x27a007(0x196)][0x0][_0x27a007(0x22d)][_0x27a007(0x30f)];Array['isArray'](_0x54b2ec)&&_0x54b2ec[_0x27a007(0x29c)]&&_0x59c6c9[_0x27a007(0x220)](_0x54b2ec[0x0]);}};_0xc53968=_0xe85d6c([_0x514d51(0x0,_0x4a6bb0[_0x22d19e(0x158)]),_0x514d51(0x1,_0x5d2f68[_0x22d19e(0xcf)])],_0xc53968);var _0x509b22=Object[_0x22d19e(0x1e2)],_0x24bf3f=(_0x5db15b,_0x240ae3,_0x23a03f,_0x383737)=>{for(var _0x37cd0f=_0x383737>0x1?void 0x0:_0x383737?_0x509b22(_0x240ae3,_0x23a03f):_0x240ae3,_0x3903ab=_0x5db15b['length']-0x1,_0x21d0ad;_0x3903ab>=0x0;_0x3903ab--)(_0x21d0ad=_0x5db15b[_0x3903ab])&&(_0x37cd0f=_0x21d0ad(_0x37cd0f)||_0x37cd0f);return _0x37cd0f;},_0x1023f1=(_0x5f74e0,_0x1a47bf)=>(_0x2d55f9,_0x5bfbfd)=>_0x1a47bf(_0x2d55f9,_0x5bfbfd,_0x5f74e0);let _0x5cd1e2=class{constructor(_0xe7575,_0xb84641,_0x1e8e26){const _0x5659e8=_0x22d19e;this[_0x5659e8(0x36e)]=_0xe7575,this[_0x5659e8(0x1ff)]=_0xb84641,this[_0x5659e8(0x24d)]=_0x1e8e26;}['transformStateCache'](_0x698087){const _0x18dd99=_0x22d19e;this[_0x18dd99(0x1b3)](_0x698087);}['transformRemoteChangeset'](_0x3231a0){const _0x318d19=_0x22d19e,{unitID:_0x24be4d}=_0x3231a0,{collaboration:_0x530815}=this[_0x318d19(0x24d)][_0x318d19(0x1c9)](_0x24be4d);if(_0x530815[_0x318d19(0x29c)]===0x0)return _0x3231a0;let _0x132f93=_0x4a5a1c[_0x318d19(0xc6)][_0x318d19(0x2fe)](_0x3231a0['mutations'][0x0]);for(let _0x1b47c3=0x0;_0x1b47c3<_0x530815['length'];_0x1b47c3++){const _0x588c9a={'id':_0x318d19(0x2a5),'params':{'unitId':_0x530815[_0x1b47c3]['unitId'],..._0x530815[_0x1b47c3]['redoState']}},_0x1684f1=this[_0x318d19(0x1ff)][_0x318d19(0x9f)](_0x132f93,_0x588c9a,!0x1);if(_0x4a6bb0[_0x318d19(0xbb)](_0x1684f1))throw _0x1684f1[_0x318d19(0x1fd)];_0x132f93=_0x1684f1[_0x318d19(0xdf)];}return{..._0x4a5a1c[_0x318d19(0xc6)][_0x318d19(0x2fe)](_0x3231a0),'mutations':[_0x132f93]};}[_0x22d19e(0x1b3)](_0x547b56){const _0x4644d8=_0x22d19e,{unitID:_0x105ad4}=_0x547b56,{history:_0x46c4b9,collaboration:_0x345f88}=this[_0x4644d8(0x24d)]['getStateCache'](_0x105ad4);if(_0x46c4b9[_0x4644d8(0x29c)]===0x0&&_0x345f88[_0x4644d8(0x29c)]===0x0)return;const _0x23df02=[],_0x2cdae2=[];let _0x3eb7c7=_0x4a5a1c['Tools'][_0x4644d8(0x2fe)](_0x547b56[_0x4644d8(0x354)][0x0]),_0x391fd5=_0x4a5a1c[_0x4644d8(0xc6)]['deepClone'](_0x547b56[_0x4644d8(0x354)][0x0]);for(let _0xff0a95=_0x46c4b9[_0x4644d8(0x29c)]-0x1;_0xff0a95>=0x0;_0xff0a95--){const _0x23272f={'id':_0x4644d8(0x2a5),'params':{'unitId':_0x46c4b9[_0xff0a95][_0x4644d8(0x369)],..._0x46c4b9[_0xff0a95][_0x4644d8(0x1bc)]}},_0x4d48f5={'id':_0x4644d8(0x2a5),'params':{'unitId':_0x46c4b9[_0xff0a95][_0x4644d8(0x369)],..._0x46c4b9[_0xff0a95][_0x4644d8(0xb1)]}},_0x150d91=this[_0x4644d8(0x1ff)]['transformMutation'](_0x3eb7c7,_0x23272f,!0x1),_0x5d5ff1=this[_0x4644d8(0x1ff)][_0x4644d8(0x9f)](_0x391fd5,_0x4d48f5,!0x1);if(_0x4a6bb0[_0x4644d8(0xbb)](_0x150d91))throw _0x150d91[_0x4644d8(0x1fd)];if(_0x4a6bb0[_0x4644d8(0xbb)](_0x5d5ff1))throw _0x5d5ff1[_0x4644d8(0x1fd)];_0x23df02[_0x4644d8(0xfc)]({..._0x46c4b9[_0xff0a95],'undoState':_0x150d91[_0x4644d8(0x196)][_0x4644d8(0x22d)],'redoState':_0x5d5ff1[_0x4644d8(0x196)]['params']}),_0x3eb7c7=_0x150d91[_0x4644d8(0xdf)],_0x391fd5=_0x5d5ff1[_0x4644d8(0xdf)];}_0x3eb7c7=_0x4a5a1c[_0x4644d8(0xc6)]['deepClone'](_0x547b56[_0x4644d8(0x354)][0x0]),_0x391fd5=_0x4a5a1c[_0x4644d8(0xc6)]['deepClone'](_0x547b56[_0x4644d8(0x354)][0x0]);for(let _0x4d469b=_0x345f88[_0x4644d8(0x29c)]-0x1;_0x4d469b>=0x0;_0x4d469b--){const _0x382420={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x345f88[_0x4d469b]['unitId'],..._0x345f88[_0x4d469b]['undoState']}},_0xa4d5d9={'id':_0x4644d8(0x2a5),'params':{'unitId':_0x345f88[_0x4d469b][_0x4644d8(0x369)],..._0x345f88[_0x4d469b][_0x4644d8(0xb1)]}},_0x379087=this['_transformService'][_0x4644d8(0x9f)](_0x3eb7c7,_0x382420,!0x1),_0x16d48d=this[_0x4644d8(0x1ff)][_0x4644d8(0x9f)](_0x391fd5,_0xa4d5d9,!0x1);if(_0x4a6bb0[_0x4644d8(0xbb)](_0x379087))throw _0x379087[_0x4644d8(0x1fd)];if(_0x4a6bb0[_0x4644d8(0xbb)](_0x16d48d))throw _0x16d48d[_0x4644d8(0x1fd)];_0x2cdae2[_0x4644d8(0xfc)]({..._0x345f88[_0x4d469b],'undoState':_0x379087['m2Prime'][_0x4644d8(0x22d)],'redoState':_0x16d48d['m2Prime'][_0x4644d8(0x22d)]}),_0x3eb7c7=_0x379087['m1Prime'],_0x391fd5=_0x16d48d[_0x4644d8(0xdf)];}this[_0x4644d8(0x24d)][_0x4644d8(0x190)](_0x105ad4,{'history':_0x23df02,'collaboration':_0x2cdae2});}};_0x5cd1e2=_0x24bf3f([_0x1023f1(0x0,_0x4a5a1c[_0x22d19e(0x35d)](_0x4a5a1c[_0x22d19e(0x2f2)])),_0x1023f1(0x1,_0x4a6bb0[_0x22d19e(0x158)]),_0x1023f1(0x2,_0x4a5a1c[_0x22d19e(0x35d)](_0x22126e[_0x22d19e(0x360)]))],_0x5cd1e2);var _0x4c3448=Object[_0x22d19e(0x1e2)],_0x162572=(_0x3e0d2f,_0x56d2f6,_0x572248,_0x33ec11)=>{const _0x470657=_0x22d19e;for(var _0xfc2be5=_0x33ec11>0x1?void 0x0:_0x33ec11?_0x4c3448(_0x56d2f6,_0x572248):_0x56d2f6,_0x33087f=_0x3e0d2f[_0x470657(0x29c)]-0x1,_0x37002d;_0x33087f>=0x0;_0x33087f--)(_0x37002d=_0x3e0d2f[_0x33087f])&&(_0xfc2be5=_0x37002d(_0xfc2be5)||_0xfc2be5);return _0xfc2be5;},_0x222dbd=(_0x2a7f39,_0x14dace)=>(_0x34fd5a,_0x706f91)=>_0x14dace(_0x34fd5a,_0x706f91,_0x2a7f39);let _0x247291=class{constructor(_0x516aac,_0x1ef0e7){const _0x2ef52d=_0x22d19e;this[_0x2ef52d(0x36e)]=_0x516aac,this[_0x2ef52d(0x1ff)]=_0x1ef0e7;}[_0x22d19e(0x22c)](_0x86cb90){const _0x24b78e=_0x22d19e;var _0x32a1a0;const _0x1aa468=this[_0x24b78e(0x36e)][_0x24b78e(0x18e)](_0x5afd4e[_0x24b78e(0x11c)]),_0x2e2ea8=(_0x32a1a0=_0x1aa468['getDocRanges']())!=null?_0x32a1a0:[];if(_0x2e2ea8[_0x24b78e(0x29c)]===0x0)return;const _0x25c104=_0x86cb90['unitID'],_0x5681e9=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x25c104,'actions':null,'textRanges':_0x2e2ea8}}],_0x347f6a=this[_0x24b78e(0x1ff)]['transformMutationsWithChangeset'](_0x86cb90,_0x5681e9);if(!_0x4a6bb0[_0x24b78e(0x1ca)](_0x347f6a))throw _0x347f6a[_0x24b78e(0x1fd)];const _0x3ef64f=_0x347f6a[_0x24b78e(0x196)][0x0][_0x24b78e(0x22d)][_0x24b78e(0x30f)];Array[_0x24b78e(0xca)](_0x3ef64f)&&_0x3ef64f[_0x24b78e(0x29c)]&&_0x1aa468[_0x24b78e(0x28e)](_0x3ef64f,{'unitId':_0x25c104,'subUnitId':_0x25c104},!0x1);}};_0x247291=_0x162572([_0x222dbd(0x0,_0x4a5a1c['Inject'](_0x4a5a1c[_0x22d19e(0x2f2)])),_0x222dbd(0x1,_0x4a6bb0['ITransformService'])],_0x247291);var _0x125068=Object['getOwnPropertyDescriptor'],_0x4eb520=(_0x5e0214,_0x3914b2,_0xef1cc1,_0x181d3e)=>{for(var _0x4d5d95=_0x181d3e>0x1?void 0x0:_0x181d3e?_0x125068(_0x3914b2,_0xef1cc1):_0x3914b2,_0x1154ab=_0x5e0214['length']-0x1,_0x3e4bd1;_0x1154ab>=0x0;_0x1154ab--)(_0x3e4bd1=_0x5e0214[_0x1154ab])&&(_0x4d5d95=_0x3e4bd1(_0x4d5d95)||_0x4d5d95);return _0x4d5d95;},_0x503f53=(_0x12cc88,_0x294e1d)=>(_0x273e32,_0x4ff8c1)=>_0x294e1d(_0x273e32,_0x4ff8c1,_0x12cc88);let _0x29e630=class extends _0x4a5a1c[_0x22d19e(0x2a7)]{constructor(_0x558c08,_0x3cb307,_0x177f3d,_0x58ce66,_0x3b3621,_0x532204,_0x499879,_0x5880d8){const _0x220db8=_0x22d19e;super(),_0xa63e61(this,_0x220db8(0x223),new _0x8d94e0[(_0x220db8(0x90))](_0x29cbea[_0x220db8(0x1eb)][_0x220db8(0x1d0)])),(this[_0x220db8(0x24d)]=_0x558c08,this['_collaborationController']=_0x3cb307,this['_docTransformIMECacheService']=_0x177f3d,this[_0x220db8(0xbc)]=_0x58ce66,this[_0x220db8(0x164)]=_0x3b3621,this['_docSyncEditingCollabCursorService']=_0x532204,this['_messageService']=_0x499879,this[_0x220db8(0x295)]=_0x5880d8,this[_0x220db8(0x173)]());}[_0x22d19e(0x173)](){const _0x145901=_0x22d19e;this[_0x145901(0xe5)](this[_0x145901(0x139)][_0x145901(0x1ae)][_0x145901(0x35e)](_0x99f7b1=>{const _0x1d80b8=_0x145901,_0x3be00d=this['_docStateChangeManagerService'][_0x1d80b8(0x1f8)]['subscribe'](_0x10566a=>{const _0x1fda26=_0x1d80b8;if(_0x10566a==null)return;const {unitId:_0x308f06,redoState:_0x2b7b6a,commandId:_0x35a08c}=_0x10566a;if(_0x308f06!==_0x99f7b1['unitID'])return;const _0x46b6d3={'id':_0x35a08c,'type':_0x4a5a1c[_0x1fda26(0xff)][_0x1fda26(0xa8)],'params':{'unitId':_0x308f06,'actions':_0x2b7b6a[_0x1fda26(0x142)],'textRanges':null}};_0x99f7b1[_0x1fda26(0x13d)](_0x46b6d3);});if(_0x99f7b1['disposeWithMe'](_0x3be00d),_0x99f7b1 instanceof _0x29cbea['DocCollaborationEntity']){const _0x351b65={'onTransformIME':_0xea2754=>this[_0x1d80b8(0x2ee)][_0x1d80b8(0x2da)](_0xea2754),'onTransformState':_0x5b5301=>this[_0x1d80b8(0xbc)]['transformStateCache'](_0x5b5301),'onTransformSelections':_0x26cfa7=>this[_0x1d80b8(0x164)]['transformSelections'](_0x26cfa7),'onSyncEditingCollabCursor':_0x1ce5ee=>this[_0x1d80b8(0x1c7)]['syncEditingCollabCursor'](_0x1ce5ee),'onTransformRemoteChangesetByIMECache':_0xbed2cc=>this[_0x1d80b8(0x2ee)]['transformRemoteChangeset'](_0xbed2cc),'onTransformRemoteChangesetByStateCache':_0x2b75c3=>this[_0x1d80b8(0xbc)][_0x1d80b8(0x16f)](_0x2b75c3)};_0x99f7b1[_0x1d80b8(0x26f)](_0x351b65);}}));}};_0x29e630=_0x4eb520([_0x503f53(0x0,_0x4a5a1c[_0x22d19e(0x35d)](_0x22126e[_0x22d19e(0x360)])),_0x503f53(0x1,_0x4a5a1c[_0x22d19e(0x35d)](_0x29cbea[_0x22d19e(0x9b)])),_0x503f53(0x2,_0x4a5a1c[_0x22d19e(0x35d)](_0xc53968)),_0x503f53(0x3,_0x4a5a1c['Inject'](_0x5cd1e2)),_0x503f53(0x4,_0x4a5a1c[_0x22d19e(0x35d)](_0x247291)),_0x503f53(0x5,_0x4a5a1c['Inject'](_0x5e2c98)),_0x503f53(0x6,_0x270495[_0x22d19e(0x339)]),_0x503f53(0x7,_0x4a5a1c['Inject'](_0x4a5a1c[_0x22d19e(0x16a)]))],_0x29e630);var _0x4dfe1b=(_0x5a445a=>(_0x5a445a[_0x5a445a['UNDEFINED']=0x0]=_0x22d19e(0x146),_0x5a445a[_0x5a445a['OK']=0x1]='OK',_0x5a445a[_0x5a445a[_0x22d19e(0x1c3)]=0x2]=_0x22d19e(0x1c3),_0x5a445a[_0x5a445a[_0x22d19e(0x13b)]=0x3]=_0x22d19e(0x13b),_0x5a445a[_0x5a445a[_0x22d19e(0x182)]=0x4]=_0x22d19e(0x182),_0x5a445a[_0x5a445a[_0x22d19e(0x159)]=0x5]=_0x22d19e(0x159),_0x5a445a[_0x5a445a[_0x22d19e(0x185)]=0x6]=_0x22d19e(0x185),_0x5a445a[_0x5a445a[_0x22d19e(0xf0)]=0x7]=_0x22d19e(0xf0),_0x5a445a[_0x5a445a[_0x22d19e(0x26a)]=0x8]=_0x22d19e(0x26a),_0x5a445a[_0x5a445a[_0x22d19e(0x1ab)]=0x9]=_0x22d19e(0x1ab),_0x5a445a[_0x5a445a['LOGIN_FAILED']=0xa]=_0x22d19e(0x166),_0x5a445a[_0x5a445a[_0x22d19e(0x32d)]=0xb]=_0x22d19e(0x32d),_0x5a445a[_0x5a445a[_0x22d19e(0x2db)]=0xc]=_0x22d19e(0x2db),_0x5a445a[_0x5a445a[_0x22d19e(0x145)]=0xd]=_0x22d19e(0x145),_0x5a445a[_0x5a445a[_0x22d19e(0x31a)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x5a445a[_0x5a445a[_0x22d19e(0xb6)]=0xf]=_0x22d19e(0xb6),_0x5a445a[_0x5a445a[_0x22d19e(0x311)]=0x10]=_0x22d19e(0x311),_0x5a445a[_0x5a445a[_0x22d19e(0x1b9)]=0x64]=_0x22d19e(0x1b9),_0x5a445a[_0x5a445a['ERROR_AGAIN']=0x65]='ERROR_AGAIN',_0x5a445a[_0x5a445a[_0x22d19e(0x2d4)]=0xc9]=_0x22d19e(0x2d4),_0x5a445a[_0x5a445a[_0x22d19e(0x1c5)]=0xca]='USER_IS_ANONYMOUS',_0x5a445a[_0x5a445a['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x22d19e(0x10d),_0x5a445a[_0x5a445a[_0x22d19e(0x129)]=0x1771]=_0x22d19e(0x129),_0x5a445a[_0x5a445a[_0x22d19e(0xf3)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x5a445a[_0x5a445a[_0x22d19e(0x351)]=0x1773]=_0x22d19e(0x351),_0x5a445a[_0x5a445a[_0x22d19e(0x231)]=0x1b59]='APPLY_REJECT',_0x5a445a[_0x5a445a[_0x22d19e(0x1a9)]=0x1b5a]=_0x22d19e(0x1a9),_0x5a445a[_0x5a445a['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x22d19e(0x1fe),_0x5a445a[_0x5a445a['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x22d19e(0x2b2),_0x5a445a[_0x5a445a[_0x22d19e(0x162)]=0x1b5d]=_0x22d19e(0x162),_0x5a445a[_0x5a445a['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x22d19e(0x322),_0x5a445a[_0x5a445a[_0x22d19e(0x21d)]=0x2329]=_0x22d19e(0x21d),_0x5a445a[_0x5a445a[_0x22d19e(0xd5)]=0x232a]=_0x22d19e(0xd5),_0x5a445a[_0x5a445a[_0x22d19e(0x259)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x5a445a[_0x5a445a[_0x22d19e(0x179)]=0x232c]=_0x22d19e(0x179),_0x5a445a[_0x5a445a[_0x22d19e(0x1b5)]=0x232d]=_0x22d19e(0x1b5),_0x5a445a[_0x5a445a[_0x22d19e(0x18b)]=0x2711]=_0x22d19e(0x18b),_0x5a445a[_0x5a445a[_0x22d19e(0x2ed)]=0x2712]=_0x22d19e(0x2ed),_0x5a445a[_0x5a445a['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x22d19e(0xf9),_0x5a445a[_0x5a445a['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x22d19e(0xb5),_0x5a445a[_0x5a445a['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x22d19e(0x137),_0x5a445a[_0x5a445a[_0x22d19e(0x134)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x5a445a[_0x5a445a[_0x22d19e(0x160)]=0x271c]=_0x22d19e(0x160),_0x5a445a[_0x5a445a[_0x22d19e(0x328)]=0x271d]=_0x22d19e(0x328),_0x5a445a[_0x5a445a[_0x22d19e(0x239)]=0x271e]=_0x22d19e(0x239),_0x5a445a[_0x5a445a[_0x22d19e(0x1a3)]=0x271f]=_0x22d19e(0x1a3),_0x5a445a[_0x5a445a[_0x22d19e(0x2d2)]=0x2720]=_0x22d19e(0x2d2),_0x5a445a[_0x5a445a[_0x22d19e(0x15f)]=0x2af9]=_0x22d19e(0x15f),_0x5a445a[_0x5a445a[_0x22d19e(0x363)]=0x2ee1]=_0x22d19e(0x363),_0x5a445a[_0x5a445a['INVALID_INVITE_CODE']=0x2ee2]=_0x22d19e(0x13e),_0x5a445a[_0x5a445a[_0x22d19e(0x203)]=0x2ee3]=_0x22d19e(0x203),_0x5a445a[_0x5a445a[_0x22d19e(0x20f)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x5a445a[_0x5a445a[_0x22d19e(0x28d)]=0x2ee5]=_0x22d19e(0x28d),_0x5a445a[_0x5a445a[_0x22d19e(0x32c)]=0x32c9]=_0x22d19e(0x32c),_0x5a445a[_0x5a445a[_0x22d19e(0x312)]=0x32ca]=_0x22d19e(0x312),_0x5a445a[_0x5a445a[_0x22d19e(0x23c)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x5a445a[_0x5a445a[_0x22d19e(0x244)]=0x36b1]=_0x22d19e(0x244),_0x5a445a[_0x5a445a[_0x22d19e(0x365)]=0x36b2]=_0x22d19e(0x365),_0x5a445a[_0x5a445a[_0x22d19e(0x247)]=0x36b3]=_0x22d19e(0x247),_0x5a445a[_0x5a445a['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x5a445a[_0x5a445a[_0x22d19e(0x202)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x5a445a[_0x5a445a[_0x22d19e(0xa6)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x5a445a[_0x5a445a['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x5a445a[_0x5a445a['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x22d19e(0x14d),_0x5a445a[_0x5a445a[_0x22d19e(0xd6)]=0x3a99]=_0x22d19e(0xd6),_0x5a445a[_0x5a445a['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x22d19e(0x313),_0x5a445a[_0x5a445a[_0x22d19e(0x260)]=0x3a9b]=_0x22d19e(0x260),_0x5a445a[_0x5a445a[_0x22d19e(0x98)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x5a445a[_0x5a445a['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x22d19e(0x2e8),_0x5a445a[_0x5a445a['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x22d19e(0x222),_0x5a445a[_0x5a445a['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x22d19e(0xbf),_0x5a445a[_0x5a445a[_0x22d19e(0x14b)]=0x3e81]=_0x22d19e(0x14b),_0x5a445a[_0x5a445a[_0x22d19e(0x26e)]=-0x1]=_0x22d19e(0x26e),_0x5a445a))(_0x4dfe1b||{});function _0xb09571(_0x4b5af4){const _0x3fdd45=_0x22d19e;var _0xefe075,_0x122910;const _0x15dde3=(_0xefe075=_0x4b5af4['stageInfo'])==null?void 0x0:_0xefe075[_0x3fdd45(0xf5)],_0xcfd63=((_0x122910=_0x4b5af4[_0x3fdd45(0x14f)])==null?void 0x0:_0x122910[_0x3fdd45(0x36d)])||0x0;return _0x15dde3===_0x419491[_0x3fdd45(0x199)][_0x3fdd45(0xa0)]&&_0xcfd63>0x0;}function _0x1b97a4(_0x4cd6a6){const _0x5aa8b7=_0x22d19e;return _0x4cd6a6[_0x5aa8b7(0x2ae)]===_0x419491[_0x5aa8b7(0x336)][_0x5aa8b7(0x338)];}var _0x4a0f6f=Object[_0x22d19e(0x1e2)],_0x4bd536=(_0x2c7896,_0x2ba44c,_0x239d15,_0x3aa56c)=>{const _0x549fbc=_0x22d19e;for(var _0x3d24a4=_0x3aa56c>0x1?void 0x0:_0x3aa56c?_0x4a0f6f(_0x2ba44c,_0x239d15):_0x2ba44c,_0x305cb5=_0x2c7896[_0x549fbc(0x29c)]-0x1,_0x3beea4;_0x305cb5>=0x0;_0x305cb5--)(_0x3beea4=_0x2c7896[_0x305cb5])&&(_0x3d24a4=_0x3beea4(_0x3d24a4)||_0x3d24a4);return _0x3d24a4;},_0x595222=(_0x1dce99,_0x27e394)=>(_0x3200a2,_0x516c58)=>_0x27e394(_0x3200a2,_0x516c58,_0x1dce99);const _0x101a56=_0x22d19e(0x205),_0x2a05fd=_0x22d19e(0x31b),_0x290ec6='/universer-api/license/formula/limit/done';let _0x2c1a4e=class extends _0x4a5a1c['Disposable']{constructor(_0x5325d6,_0x53cf47,_0x7003a9,_0x2b1586,_0x3171c3,_0x52073f,_0x2dd6b9){const _0x4403a5=_0x22d19e;super(),_0xa63e61(this,_0x4403a5(0x213),null),_0xa63e61(this,_0x4403a5(0x168),0x0),_0xa63e61(this,'_currentUsage',0x0),_0xa63e61(this,_0x4403a5(0x23d),[]),_0xa63e61(this,_0x4403a5(0x33f),0x0),(this[_0x4403a5(0x33e)]=_0x5325d6,this[_0x4403a5(0x2b1)]=_0x53cf47,this[_0x4403a5(0x2f4)]=_0x7003a9,this['_httpService']=_0x2b1586,this[_0x4403a5(0x2de)]=_0x3171c3,this[_0x4403a5(0x1d7)]=_0x52073f,this[_0x4403a5(0x295)]=_0x2dd6b9,this[_0x4403a5(0xd9)]());}[_0x22d19e(0xd9)](){const _0x3811da=_0x22d19e;this['disposeWithMe'](this[_0x3811da(0x2b1)][_0x3811da(0xf6)]((_0x3cdbd9,_0x5bbbf5)=>{const _0x1e4978=_0x3811da;var _0x3dc4e5;if(_0x3cdbd9['id']!==_0x419491[_0x1e4978(0x1c6)]['id'])return;const _0x5217d3=_0x3cdbd9[_0x1e4978(0x22d)];if(!this[_0x1e4978(0x2c7)]((_0x3dc4e5=_0x5217d3['dirtyRanges'])!=null?_0x3dc4e5:[]))return;if(!this[_0x1e4978(0x1a6)]())throw this['_checkAndWaitForCalculationPermission'](_0x3cdbd9,_0x5bbbf5),this['_showGuardMessage'](),new _0x4a5a1c['CanceledError']();})),this['disposeWithMe'](this[_0x3811da(0x2b1)][_0x3811da(0x1f9)]((_0x2cf0d1,_0x2f4c9e)=>{const _0x377b7d=_0x3811da;if(_0x2cf0d1['id']!==_0x419491['SetFormulaCalculationNotificationMutation']['id'])return;const _0x55c898=_0x2cf0d1[_0x377b7d(0x22d)];if(_0xb09571(_0x55c898)){const _0x242882=_0x4a5a1c[_0x377b7d(0x151)]();this[_0x377b7d(0x23d)][_0x377b7d(0x256)](_0x242882),this[_0x377b7d(0x1a1)](_0x242882);}else{if(_0x1b97a4(_0x55c898)&&this[_0x377b7d(0x23d)][_0x377b7d(0x29c)]>0x0){const _0x46c3ee=this[_0x377b7d(0x23d)]['shift']();this[_0x377b7d(0x20e)](_0x46c3ee);}}}));}[_0x22d19e(0x210)](){const _0x4d8d23=_0x22d19e;super[_0x4d8d23(0x210)](),this['_clearPolling'](),this[_0x4d8d23(0x23d)]=[],this['_currentUsage']=0x0,this[_0x4d8d23(0x168)]=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x22d19e(0xaf)](_0x282746,_0x4a7ff1){const _0xffbd39=_0x22d19e;for(let _0x3bad9c=0x0;_0x3bad9c<0x1e;_0x3bad9c++)try{if(await this[_0xffbd39(0x132)](),this[_0xffbd39(0x1a6)]()){this['_applyCommand'](_0x282746,_0x4a7ff1),this[_0xffbd39(0x33e)]['show']({'content':this[_0xffbd39(0x295)]['t'](_0xffbd39(0xf2)),'type':_0x67c92c[_0xffbd39(0x215)][_0xffbd39(0x1de)]});return;}await new Promise(_0x562603=>{const _0x54fafd=_0xffbd39;this[_0x54fafd(0x213)]=window[_0x54fafd(0x253)](_0x562603,0x3e8);});}catch(_0x4bd4c3){this[_0xffbd39(0x1d7)]['error'](_0x4bd4c3);}this[_0xffbd39(0x33e)][_0xffbd39(0x1ba)]({'content':this['_localeService']['t'](_0xffbd39(0x2b3)),'type':_0x67c92c[_0xffbd39(0x215)][_0xffbd39(0x2d1)]});}['_applyCommand'](_0x5d27c9,_0x52d8e0){const _0x10792a=_0x22d19e;try{this[_0x10792a(0x2b1)][_0x10792a(0x264)](_0x5d27c9['id'],_0x5d27c9['params'],_0x52d8e0);}catch(_0x572cb0){this['_logService'][_0x10792a(0x1fd)](_0x572cb0);}}[_0x22d19e(0x30c)](_0x438d3b,_0x621548){const _0x367eff=_0x22d19e;_0x621548<this[_0x367eff(0x33f)]||(this[_0x367eff(0x33f)]=_0x621548,this['_maxFormulaLimit']=Number[_0x367eff(0xe7)](_0x438d3b[_0x367eff(0x27f)]),this['_currentUsage']=Number[_0x367eff(0xe7)](_0x438d3b[_0x367eff(0xbe)]));}async[_0x22d19e(0x1a1)](_0x52a0cd){const _0x4fcbd0=_0x22d19e;var _0x54b6e,_0x5bbcb3;const _0x44675c=Date['now']();try{const _0x24bbd5=((_0x54b6e=this[_0x4fcbd0(0x2f4)][_0x4fcbd0(0x1a5)](_0x29cbea[_0x4fcbd0(0x115)]))==null?void 0x0:_0x54b6e[_0x4fcbd0(0x21c)])||_0x2a05fd,_0x5ef78f=(await this[_0x4fcbd0(0x33c)][_0x4fcbd0(0x33a)](_0x24bbd5,{'body':JSON['stringify']({'taskId':_0x52a0cd})}))[_0x4fcbd0(0x1e6)];if(((_0x5bbcb3=_0x5ef78f[_0x4fcbd0(0x1fd)])==null?void 0x0:_0x5bbcb3['code'])!==_0x4dfe1b['OK'])return;this['_setFormulaLimitStatus'](_0x5ef78f[_0x4fcbd0(0x330)],_0x44675c);}catch(_0x3b9f6e){this[_0x4fcbd0(0x1d7)][_0x4fcbd0(0x1fd)](_0x3b9f6e);}}async['_getFormulaLimitStatus'](_0x357912){const _0x16ac17=_0x22d19e;var _0x20b4f5,_0x2a7aad;const _0x40d687=Date[_0x16ac17(0xa9)]();try{const _0x4f8a90=((_0x20b4f5=this['_configService'][_0x16ac17(0x1a5)](_0x29cbea[_0x16ac17(0x115)]))==null?void 0x0:_0x20b4f5[_0x16ac17(0x197)])||_0x101a56,_0x514985=_0x357912?_0x4f8a90+'?taskId='+encodeURIComponent(_0x357912):_0x4f8a90,_0x53fb94=(await this[_0x16ac17(0x33c)]['get'](_0x514985))[_0x16ac17(0x1e6)];if(((_0x2a7aad=_0x53fb94[_0x16ac17(0x1fd)])==null?void 0x0:_0x2a7aad[_0x16ac17(0x2cb)])!==_0x4dfe1b['OK'])return;this[_0x16ac17(0x30c)](_0x53fb94[_0x16ac17(0x330)],_0x40d687);}catch(_0x267521){this['_logService'][_0x16ac17(0x1fd)](_0x267521);}}async['_releaseCalculationLimit'](_0x20f6b1){const _0x504fd7=_0x22d19e;var _0x357435,_0x175a88;const _0x43beac=Date['now']();try{const _0x353859=((_0x357435=this[_0x504fd7(0x2f4)]['getConfig'](_0x29cbea[_0x504fd7(0x115)]))==null?void 0x0:_0x357435[_0x504fd7(0x17e)])||_0x290ec6,_0x29939d=(await this['_httpService']['post'](_0x353859,{'body':JSON[_0x504fd7(0x22b)]({'taskId':_0x20f6b1})}))['body'];if(((_0x175a88=_0x29939d[_0x504fd7(0x1fd)])==null?void 0x0:_0x175a88[_0x504fd7(0x2cb)])!==_0x4dfe1b['OK'])return;this[_0x504fd7(0x30c)](_0x29939d[_0x504fd7(0x330)],_0x43beac);}catch(_0x5da227){this['_logService'][_0x504fd7(0x1fd)](_0x5da227);}}[_0x22d19e(0x1a6)](){const _0x2f8b34=_0x22d19e;return this[_0x2f8b34(0x168)]===0x0?!0x0:this[_0x2f8b34(0x168)]-this[_0x2f8b34(0x1f7)]>0x0;}['_clearPolling'](){const _0x20b234=_0x22d19e;this[_0x20b234(0x213)]&&(clearTimeout(this[_0x20b234(0x213)]),this['_pollingInterval']=null);}['_showGuardMessage'](){const _0xcb3a78=_0x22d19e;this['_messageService'][_0xcb3a78(0x1ba)]({'content':this[_0xcb3a78(0x295)]['t'](_0xcb3a78(0x344)),'type':_0x67c92c[_0xcb3a78(0x215)]['Loading']});}[_0x22d19e(0x2c7)](_0x3bc72b){const _0x25f605=_0x22d19e;for(const _0x9fa63d of _0x3bc72b){const {unitId:_0x32033c,sheetId:_0x38db36,range:_0x5d9e39}=_0x9fa63d,_0x5a9de3=this[_0x25f605(0x2de)][_0x25f605(0x18f)](_0x32033c);if(!_0x5a9de3)continue;const _0x9aea85=_0x5a9de3[_0x25f605(0x281)](_0x38db36);if(!_0x9aea85)continue;const _0x2f5a77=_0x9aea85[_0x25f605(0x2f8)]();for(let _0x408eea=_0x5d9e39['startRow'];_0x408eea<=_0x5d9e39[_0x25f605(0x1c0)];_0x408eea++)for(let _0x28441c=_0x5d9e39[_0x25f605(0x152)];_0x28441c<=_0x5d9e39[_0x25f605(0x1f0)];_0x28441c++){const _0x570892=_0x2f5a77[_0x25f605(0x1db)](_0x408eea,_0x28441c);if(_0x570892&&(_0x4a5a1c[_0x25f605(0xfe)](_0x570892['f'])||_0x4a5a1c[_0x25f605(0x17c)](_0x570892['si'])))return!0x0;}}return!0x1;}};_0x2c1a4e=_0x4bd536([_0x595222(0x0,_0x4a5a1c['Inject'](_0x270495['IMessageService'])),_0x595222(0x1,_0x4a5a1c[_0x22d19e(0x263)]),_0x595222(0x2,_0x4a5a1c['IConfigService']),_0x595222(0x3,_0x4a5a1c[_0x22d19e(0x35d)](_0xbeb642['HTTPService'])),_0x595222(0x4,_0x4a5a1c['IUniverInstanceService']),_0x595222(0x5,_0x4a5a1c[_0x22d19e(0x2eb)]),_0x595222(0x6,_0x4a5a1c[_0x22d19e(0x35d)](_0x4a5a1c[_0x22d19e(0x16a)]))],_0x2c1a4e);var _0x14efc7=Object[_0x22d19e(0x1e2)],_0x469dc1=(_0x2d1aa4,_0x22c57a,_0x1d628,_0xd8babd)=>{const _0x279309=_0x22d19e;for(var _0x1883f6=_0xd8babd>0x1?void 0x0:_0xd8babd?_0x14efc7(_0x22c57a,_0x1d628):_0x22c57a,_0x5696bb=_0x2d1aa4[_0x279309(0x29c)]-0x1,_0x4e9040;_0x5696bb>=0x0;_0x5696bb--)(_0x4e9040=_0x2d1aa4[_0x5696bb])&&(_0x1883f6=_0x4e9040(_0x1883f6)||_0x1883f6);return _0x1883f6;},_0x14c1b8=(_0x4dd982,_0x1caced)=>(_0x41e088,_0x782287)=>_0x1caced(_0x41e088,_0x782287,_0x4dd982);let _0xc26255=class extends _0x4a5a1c['Disposable']{constructor(_0x57f0c0,_0x22941a,_0x428671){const _0x2795f0=_0x22d19e;super(),_0xa63e61(this,_0x2795f0(0x1da),new Map()),_0xa63e61(this,_0x2795f0(0x131),new Map()),_0xa63e61(this,'_disabled',!0x1),(this[_0x2795f0(0x2f4)]=_0x57f0c0,this['_localStorageService']=_0x22941a,this[_0x2795f0(0x163)]=_0x428671);}[_0x22d19e(0x30a)](){const _0x269231=_0x22d19e;this[_0x269231(0x2d7)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get[_0x22d19e(0x307)](){const _0x19590b=_0x22d19e;return this[_0x19590b(0x131)];}['dispose'](){const _0x38f0f9=_0x22d19e;this[_0x38f0f9(0x1cb)]()['then'](()=>super[_0x38f0f9(0x210)]());}async['loadOfflineData'](_0xf57006){const _0x3c8b9d=_0x22d19e;return this[_0x3c8b9d(0x2d7)]?null:this[_0x3c8b9d(0x13f)][_0x3c8b9d(0x1f1)](_0x29cbea[_0x3c8b9d(0x2a9)](_0xf57006));}async[_0x22d19e(0x122)](_0x101798,_0x4ff7bb){return!!this['_localStorageService']['setItem'](_0x101798,_0x4ff7bb);}[_0x22d19e(0xcb)](_0x3c0f1b,_0x15cb49,_0x44104a,_0x42872e){const _0x30203c=_0x22d19e,_0x529dee=this[_0x30203c(0x163)][_0x30203c(0x186)](_0x3c0f1b);this['_cachedData'][_0x30203c(0x25b)](_0x3c0f1b,{'unitID':_0x3c0f1b,'type':_0x15cb49,'awaitingChangeset':_0x44104a,'mutations':_0x42872e,'rev':_0x529dee}),this['_saveTaskMap'][_0x30203c(0x241)](_0x3c0f1b)||this[_0x30203c(0x2d0)](_0x3c0f1b);}[_0x22d19e(0x2d0)](_0x29d074){const _0x47260b=_0x22d19e,_0x5075c0=this['_getSaveTimeout']();_0x5075c0===0x0?this[_0x47260b(0xac)](_0x29d074):this[_0x47260b(0x131)]['set'](_0x29d074,setTimeout(()=>this[_0x47260b(0xac)](_0x29d074),_0x5075c0));}[_0x22d19e(0x289)](){const _0x26f7c9=_0x22d19e;var _0xf4f726;return(_0xf4f726=this[_0x26f7c9(0x2f4)]['getConfig'](_0x29cbea[_0x26f7c9(0x2fd)]))!=null?_0xf4f726:_0x29cbea[_0x26f7c9(0x1e9)];}[_0x22d19e(0xac)](_0x4f3ac4){const _0x12c131=_0x22d19e,_0x32ff45=this['_saveTaskMap'][_0x12c131(0x18e)](_0x4f3ac4);return _0x32ff45!==void 0x0&&window[_0x12c131(0x149)](_0x32ff45),this[_0x12c131(0x13f)][_0x12c131(0x292)](_0x29cbea[_0x12c131(0x2a9)](_0x4f3ac4),this[_0x12c131(0x1da)][_0x12c131(0x18e)](_0x4f3ac4))[_0x12c131(0x236)](()=>this[_0x12c131(0x131)][_0x12c131(0x1cd)](_0x4f3ac4));}async[_0x22d19e(0x1cb)](){const _0x434142=_0x22d19e,_0x2aa64c=[];this[_0x434142(0x131)][_0x434142(0x316)]((_0x2480cd,_0x5c702f)=>{const _0x13d2ca=_0x434142;window[_0x13d2ca(0x149)](_0x2480cd),_0x2aa64c[_0x13d2ca(0x256)](this[_0x13d2ca(0xac)](_0x5c702f)['then'](()=>{const _0x57ad79=_0x13d2ca;this[_0x57ad79(0x131)][_0x57ad79(0x1cd)](_0x5c702f);}));}),await Promise['all'](_0x2aa64c);}};_0xc26255=_0x469dc1([_0x14c1b8(0x0,_0x4a5a1c[_0x22d19e(0xb9)]),_0x14c1b8(0x1,_0x4a5a1c['ILocalStorageService']),_0x14c1b8(0x2,_0x4a5a1c[_0x22d19e(0x35d)](_0x4a6bb0['RevisionService']))],_0xc26255);class _0x1410ea extends _0x4a5a1c[_0x22d19e(0x31e)]{constructor(){const _0x2f76ac=_0x22d19e;super(),_0xa63e61(this,_0x2f76ac(0x287)),this[_0x2f76ac(0x287)]=_0x8d94e0[_0x2f76ac(0x252)](window,_0x2f76ac(0x2a0))[_0x2f76ac(0x296)](_0x8d94e0[_0x2f76ac(0x9e)](this['dispose$']),_0x8d94e0[_0x2f76ac(0xd2)](0x1),_0x8d94e0[_0x2f76ac(0x26c)](void 0x0));}[_0x22d19e(0x361)](_0x1be3bb,_0x18b920,_0x1337b3=!0x1){const _0x451d57=_0x22d19e,_0x1187bc=new URL(window['location']['href']);_0x1187bc[_0x451d57(0xdc)][_0x451d57(0x25b)](_0x1be3bb,_0x18b920),_0x1337b3?window[_0x451d57(0xd7)][_0x451d57(0x368)]('','',_0x1187bc[_0x451d57(0x14e)]()):window[_0x451d57(0xd7)][_0x451d57(0x2a4)]('','',_0x1187bc[_0x451d57(0x14e)]());}[_0x22d19e(0x1e7)](_0x45a872,_0x18c1b2=!0x1){const _0x565a63=_0x22d19e,_0x48986f=new URL(window[_0x565a63(0x2a3)][_0x565a63(0x308)]);_0x48986f[_0x565a63(0xdc)][_0x565a63(0x1cd)](_0x45a872),_0x18c1b2?window['history']['replaceState']('','',_0x48986f[_0x565a63(0x14e)]()):window['history']['pushState']('','',_0x48986f[_0x565a63(0x14e)]());}[_0x22d19e(0x17b)](_0x16a21c){const _0x560ad5=_0x22d19e;var _0x24356a;return(_0x24356a=new URL(window['location']['href'])[_0x560ad5(0xdc)][_0x560ad5(0x18e)](_0x16a21c))!=null?_0x24356a:void 0x0;}}var _0x539921=Object[_0x22d19e(0xbd)],_0x902516=Object[_0x22d19e(0x1e2)],_0x2abd71=(_0x3fc476,_0x2037cc,_0x41095e)=>_0x2037cc in _0x3fc476?_0x539921(_0x3fc476,_0x2037cc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x41095e}):_0x3fc476[_0x2037cc]=_0x41095e,_0x22f639=(_0x569df8,_0x27de03,_0x325609,_0x351c5f)=>{const _0x2d5ef7=_0x22d19e;for(var _0x45eb43=_0x351c5f>0x1?void 0x0:_0x351c5f?_0x902516(_0x27de03,_0x325609):_0x27de03,_0x1b7282=_0x569df8[_0x2d5ef7(0x29c)]-0x1,_0x25ee8b;_0x1b7282>=0x0;_0x1b7282--)(_0x25ee8b=_0x569df8[_0x1b7282])&&(_0x45eb43=_0x25ee8b(_0x45eb43)||_0x45eb43);return _0x45eb43;},_0x315a14=(_0x4fa3e1,_0x5ab00f)=>(_0x40a023,_0x57e82f)=>_0x5ab00f(_0x40a023,_0x57e82f,_0x4fa3e1),_0x2a3c91=(_0x50cf56,_0xf29d36,_0x6d7322)=>_0x2abd71(_0x50cf56,_0xf29d36+'',_0x6d7322);const _0x5de403='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x440074[_0x22d19e(0x261)]=class extends _0x4a5a1c['Plugin']{constructor(_0x2f6994=_0x1eb4f8,_0x4b6e65,_0x58ae61,_0x143b59){const _0xf84547=_0x22d19e;super(),this['_config']=_0x2f6994,this[_0xf84547(0x282)]=_0x4b6e65,this[_0xf84547(0x36e)]=_0x58ae61,this[_0xf84547(0x2f4)]=_0x143b59;const {..._0x281f22}=_0x4a5a1c[_0xf84547(0x274)]({},_0x1eb4f8,this[_0xf84547(0x2fb)]);this[_0xf84547(0x2f4)][_0xf84547(0x228)](_0x48039f,_0x281f22);}[_0x22d19e(0xc7)](){const _0xbeb719=_0x22d19e;this[_0xbeb719(0xce)](),this[_0xbeb719(0x321)]();}['onRendered'](){const _0x2df3c7=_0x22d19e;this[_0x2df3c7(0x14a)]();}[_0x22d19e(0xce)](){const _0x385e16=_0x22d19e;var _0x37ca00;const _0x427cfa=[[_0x54052c],[_0x2c1a4e],[_0x247291],[_0xc53968],[_0x5cd1e2],[_0x5e2c98],[_0x1a7106,{'useClass':_0x1410ea}],[_0xbeb642[_0x385e16(0x2c8)],{'useClass':_0xbeb642[_0x385e16(0xef)]}],[_0x29cbea[_0x385e16(0x92)],{'useClass':_0xc26255}],[_0x440074[_0x385e16(0xd0)]],[_0x29e630],[_0x6027b0],[_0x8689c],[_0x3b2848],[_0x440074['CollaborationDataLoaderController']]];this['_config'][_0x385e16(0x15c)]&&_0x427cfa[_0x385e16(0x256)]([_0x44bd4f]),_0x4a5a1c['registerDependencies'](this[_0x385e16(0x36e)],_0x4a5a1c[_0x385e16(0x1e4)](_0x427cfa,(_0x37ca00=this[_0x385e16(0x2fb)])==null?void 0x0:_0x37ca00[_0x385e16(0x2ef)]));}['_registerRenderDependencies'](){const _0x348140=_0x22d19e;this['disposeWithMe'](this[_0x348140(0x282)][_0x348140(0x326)](_0x4a5a1c[_0x348140(0x2b9)]['UNIVER_DOC'],[_0x238ac3])),this[_0x348140(0xe5)](this[_0x348140(0x282)]['registerRenderModule'](_0x4a5a1c[_0x348140(0x2b9)][_0x348140(0x1cf)],[_0x5e3b2e]));}[_0x22d19e(0x321)](){const _0x554682=_0x22d19e;_0x4a5a1c[_0x554682(0x2b6)](this['_injector'],[[_0x8689c],[_0x440074['DesktopCollaborationStatusDisplayController']],[_0x29e630],[_0x6027b0],[_0x440074[_0x554682(0x230)]],[_0x2c1a4e]]),this['_config'][_0x554682(0x15c)]&&_0x4a5a1c['touchDependencies'](this[_0x554682(0x36e)],[[_0x44bd4f]]);}},_0x2a3c91(_0x440074[_0x22d19e(0x261)],'pluginName',_0x5de403),_0x440074[_0x22d19e(0x261)]=_0x22f639([_0x4a5a1c[_0x22d19e(0xc5)](_0x29cbea['UniverCollaborationClientPlugin']),_0x315a14(0x1,_0x5d2f68[_0x22d19e(0xcf)]),_0x315a14(0x2,_0x4a5a1c[_0x22d19e(0x35d)](_0x4a5a1c[_0x22d19e(0x2f2)])),_0x315a14(0x3,_0x4a5a1c[_0x22d19e(0xb9)])],_0x440074[_0x22d19e(0x261)]);var _0x37bd06=Object['getOwnPropertyDescriptor'],_0x1f5987=(_0x1e9b91,_0x22b710,_0x293ae9,_0x5a131a)=>{const _0x5e0c94=_0x22d19e;for(var _0x3d268d=_0x5a131a>0x1?void 0x0:_0x5a131a?_0x37bd06(_0x22b710,_0x293ae9):_0x22b710,_0x3722b2=_0x1e9b91[_0x5e0c94(0x29c)]-0x1,_0x511877;_0x3722b2>=0x0;_0x3722b2--)(_0x511877=_0x1e9b91[_0x3722b2])&&(_0x3d268d=_0x511877(_0x3d268d)||_0x3d268d);return _0x3d268d;},_0x252204=(_0x35d3d0,_0x5dd376)=>(_0x2266c9,_0x1b49e5)=>_0x5dd376(_0x2266c9,_0x1b49e5,_0x35d3d0);_0x440074[_0x22d19e(0x206)]=class extends _0x29cbea[_0x22d19e(0x2c3)]{constructor(_0x9cbf42,_0x300b05,_0x25d74a,_0x3abfb0,_0x4851b4){super(_0x9cbf42,_0x300b05,_0x25d74a,_0x3abfb0,_0x4851b4);}async[_0x22d19e(0x34c)](_0x2ac4e1){const _0x5b552d=_0x22d19e,_0x54140a=await this[_0x5b552d(0xde)](),_0xcb64cf=this['_createSocketURL'](_0x2ac4e1,_0x54140a);return this[_0x5b552d(0x1dc)](_0xcb64cf);}[_0x22d19e(0x31f)](_0x18e95d,_0x293332){const _0x2d2a62=_0x22d19e,_0x16a08a=typeof window>'u'?new URL(_0x18e95d):new URL(_0x18e95d,window[_0x2d2a62(0x2a3)][_0x2d2a62(0xc9)]);_0x16a08a[_0x2d2a62(0xdc)][_0x2d2a62(0x25b)](_0x2d2a62(0x13a),_0x293332);const _0x7e3f7e=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2d2a62(0x2a3)]['search']);return _0x7e3f7e[_0x2d2a62(0x18e)](_0x2d2a62(0x193))&&_0x16a08a[_0x2d2a62(0xdc)][_0x2d2a62(0x25b)](_0x2d2a62(0x193),_0x7e3f7e['get'](_0x2d2a62(0x193))),_0x16a08a['toString']();}async[_0x22d19e(0xde)](){const _0x2abd49=_0x22d19e;var _0x3e7113,_0x39883f,_0x5b800c;const _0x453054=this[_0x2abd49(0x2f4)][_0x2abd49(0x1a5)](_0x29cbea[_0x2abd49(0x115)]),_0x184180=(_0x3e7113=_0x453054==null?void 0x0:_0x453054['wsSessionTicketUrl'])!=null?_0x3e7113:_0x29cbea['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x5b800c=(_0x39883f=(await this[_0x2abd49(0x33c)][_0x2abd49(0x18e)](_0x184180,{'headers':{'Content-Type':_0x2abd49(0x1d9)}}))['body'])==null?void 0x0:_0x39883f[_0x2abd49(0x15d)])!=null?_0x5b800c:'';}},_0x440074['BrowserCollaborationSocketService']=_0x1f5987([_0x252204(0x0,_0x4a5a1c['Inject'](_0x4a5a1c['Injector'])),_0x252204(0x1,_0x4a5a1c[_0x22d19e(0x35d)](_0xbeb642['HTTPService'])),_0x252204(0x2,_0x4a5a1c[_0x22d19e(0xb9)]),_0x252204(0x3,_0x4a5a1c[_0x22d19e(0x2eb)]),_0x252204(0x4,_0x4a6bb0['ISnapshotServerService'])],_0x440074[_0x22d19e(0x206)]);var _0x114027=Object[_0x22d19e(0x1e2)],_0xd87241=(_0x1656cc,_0x47eb8c,_0x416903,_0xc1f240)=>{const _0x13e513=_0x22d19e;for(var _0x3140e2=_0xc1f240>0x1?void 0x0:_0xc1f240?_0x114027(_0x47eb8c,_0x416903):_0x47eb8c,_0x2e13d5=_0x1656cc[_0x13e513(0x29c)]-0x1,_0x2654cb;_0x2e13d5>=0x0;_0x2e13d5--)(_0x2654cb=_0x1656cc[_0x2e13d5])&&(_0x3140e2=_0x2654cb(_0x3140e2)||_0x3140e2);return _0x3140e2;},_0x547ad9=(_0x39c96b,_0x4091ea)=>(_0xa02543,_0x56ff2e)=>_0x4091ea(_0xa02543,_0x56ff2e,_0x39c96b);_0x440074[_0x22d19e(0x1ef)]=class extends _0x4a5a1c[_0x22d19e(0x2a7)]{constructor(_0x5afd1e,_0x1f341b,_0x1c8206){const _0x154661=_0x22d19e;super(),this['_instanceService']=_0x5afd1e,this[_0x154661(0x33c)]=_0x1f341b,this[_0x154661(0x2f4)]=_0x1c8206;}async[_0x22d19e(0x2d9)](_0x1e68f9,_0x93e61e,_0x5e55d0,..._0x4d902c){const _0xa35e48=_0x22d19e;var _0x54c71c,_0x2fa3cf,_0x13745a,_0x25276b;const _0x76d44c=this['_instanceService'][_0xa35e48(0x36c)]();if(!_0x76d44c)throw new Error(_0xa35e48(0x2c5));const _0x2857cf=((_0x54c71c=this[_0xa35e48(0x2f4)][_0xa35e48(0x1a5)](_0x29cbea[_0xa35e48(0xfa)]))!=null?_0x54c71c:_0x29cbea['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x1e68f9+'/run/'+_0x93e61e,_0x86e036=new URL(window[_0xa35e48(0x2a3)][_0xa35e48(0x308)]),_0x410488={'scriptId':_0x1e68f9,'runId':(_0x2fa3cf=_0x86e036[_0xa35e48(0xdc)][_0xa35e48(0x18e)](_0xa35e48(0x193)))!=null?_0x2fa3cf:'','function':_0x93e61e,'unitId':_0x76d44c[_0xa35e48(0xb0)](),'argsOfFunction':JSON[_0xa35e48(0x22b)](_0x4d902c),'invokeId':(_0x13745a=_0x5e55d0['invokeId'])!=null?_0x13745a:'','executionId':(_0x25276b=_0x5e55d0[_0xa35e48(0xdb)])!=null?_0x25276b:''};try{const _0x1049a4=await this[_0xa35e48(0x33c)]['post'](_0x2857cf,{'body':_0x410488});return _0x1049a4['body'][_0xa35e48(0x1fd)]&&_0x1049a4['body'][_0xa35e48(0x1fd)][_0xa35e48(0x2cb)]!==_0x4dfe1b['OK']?_0xa35e48(0x340):_0x1049a4['body'][_0xa35e48(0x1f6)];}catch{return _0xa35e48(0x340);}}},_0x440074['RemoteUniscriptService']=_0xd87241([_0x547ad9(0x0,_0x4a5a1c[_0x22d19e(0x303)]),_0x547ad9(0x1,_0x4a5a1c[_0x22d19e(0x35d)](_0xbeb642[_0x22d19e(0x34b)])),_0x547ad9(0x2,_0x4a5a1c[_0x22d19e(0xb9)])],_0x440074[_0x22d19e(0x1ef)]);const _0x19436c=0x7530,_0x6a45f=_0x22d19e(0x2b8);class _0x16b802 extends _0x4a5a1c[_0x22d19e(0x2a7)]{constructor(){const _0x4f791c=_0x22d19e;super(),_0xa63e61(this,_0x4f791c(0x155),_0x4a5a1c[_0x4f791c(0x151)]()),_0xa63e61(this,_0x4f791c(0x28b),new Set()),_0xa63e61(this,_0x4f791c(0x195),new Map()),_0xa63e61(this,_0x4f791c(0x35c),null),_0xa63e61(this,_0x4f791c(0x34d),new Map()),_0xa63e61(this,_0x4f791c(0x1e5),new Map()),this['_init']();}[_0x22d19e(0x210)](){const _0x3a33b7=_0x22d19e;super['dispose'](),this[_0x3a33b7(0x34d)][_0x3a33b7(0x316)]((_0x957d8c,_0x602d83)=>this[_0x3a33b7(0x19e)](_0x602d83)),this[_0x3a33b7(0x35c)]&&window[_0x3a33b7(0x27d)](this['_heartbeatTimer']);}[_0x22d19e(0x30e)](_0x202ca5){const _0x37d96d=_0x22d19e;return this[_0x37d96d(0x114)](_0x202ca5)[_0x37d96d(0x296)](_0x8d94e0[_0x37d96d(0x237)]());}[_0x22d19e(0x221)](_0x378ff1){const _0x36c268=_0x22d19e;this[_0x36c268(0x28b)]['size']===0x0&&this[_0x36c268(0x283)](),this[_0x36c268(0x28b)][_0x36c268(0x23a)](_0x378ff1),this[_0x36c268(0x2aa)]({'type':0x0,'memberID':this[_0x36c268(0x155)],'unitIDs':[_0x378ff1],'isForwarded':!0x1});}['disposeUnit'](_0x48d90c){const _0x4c0920=_0x22d19e;this[_0x4c0920(0x28b)]['delete'](_0x48d90c),this[_0x4c0920(0x28b)][_0x4c0920(0x94)]===0x0&&this[_0x4c0920(0x35c)]&&window[_0x4c0920(0x27d)](this[_0x4c0920(0x35c)]);}['_init'](){const _0x3337f6=_0x22d19e;this[_0x3337f6(0xe5)](_0x4a5a1c['toDisposable'](_0x8d94e0['fromEvent'](window,_0x3337f6(0x2df))[_0x3337f6(0x35e)](_0x2713d6=>{const _0x4ad767=_0x3337f6;if(_0x2713d6[_0x4ad767(0x1ac)]!==_0x6a45f||!_0x2713d6[_0x4ad767(0x20b)])return;const _0x5cf9d9=JSON[_0x4ad767(0x1b0)](_0x2713d6[_0x4ad767(0x20b)]);this[_0x4ad767(0xa4)](_0x5cf9d9);}))),window[_0x3337f6(0x24e)](_0x3337f6(0x245),()=>this[_0x3337f6(0x2aa)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x3337f6(0x28b)])}));}[_0x22d19e(0xa4)](_0x5dd314){const _0x22506f=_0x22d19e;switch(_0x5dd314[_0x22506f(0x169)]){case 0x0:this[_0x22506f(0x271)](_0x5dd314);break;case 0x1:this['_handleLeaveEvent'](_0x5dd314);break;case 0x2:this['_handleHeartbeatEvent'](_0x5dd314);break;}}['_handleJoinEvent'](_0x38fbd2){const _0x467825=_0x22d19e,{unitIDs:_0x1ca779,memberID:_0x2c692f,isForwarded:_0x5c0861}=_0x38fbd2;_0x1ca779[_0x467825(0x316)](_0x52fac3=>{const _0x46cfb0=_0x467825;if(!_0x5c0861&&this[_0x46cfb0(0x195)][_0x46cfb0(0x241)](_0x52fac3)&&this['_ensureSubject'](_0x52fac3)[_0x46cfb0(0x218)](_0x29cbea[_0x46cfb0(0x150)][_0x46cfb0(0x232)]),!this[_0x46cfb0(0x195)][_0x46cfb0(0x241)](_0x52fac3)||!this[_0x46cfb0(0x195)][_0x46cfb0(0x18e)](_0x52fac3)[_0x46cfb0(0x241)](_0x2c692f)){const _0x925df5=this[_0x46cfb0(0x195)][_0x46cfb0(0x18e)](_0x52fac3)||new Set();_0x925df5[_0x46cfb0(0x23a)](_0x2c692f),this['_unitOnClients']['set'](_0x52fac3,_0x925df5),this[_0x46cfb0(0xc2)](_0x2c692f);}}),_0x5c0861||this[_0x467825(0x2aa)]({'type':0x0,'memberID':this[_0x467825(0x155)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x22d19e(0xc2)](_0x340477){const _0x5878bc=_0x22d19e;this[_0x5878bc(0x19e)](_0x340477);const _0x5a1feb=window[_0x5878bc(0x253)](()=>{const _0x37ecb7=_0x5878bc;this[_0x37ecb7(0x195)]['forEach'](_0x3915f1=>{_0x3915f1['delete'](_0x340477);});},_0x19436c*0x2);this[_0x5878bc(0x34d)][_0x5878bc(0x25b)](_0x340477,_0x5a1feb);}['_removeClearOtherTimer'](_0x282e48){const _0x4e68a0=_0x22d19e;if(this[_0x4e68a0(0x34d)][_0x4e68a0(0x241)](_0x282e48)){const _0x3c155b=this[_0x4e68a0(0x34d)][_0x4e68a0(0x18e)](_0x282e48);_0x3c155b&&window['clearTimeout'](_0x3c155b),this[_0x4e68a0(0x34d)][_0x4e68a0(0x25b)](_0x282e48,null);}}[_0x22d19e(0x1f5)](_0x1178c2){const {memberID:_0x1e811f,unitIDs:_0x2d1af2}=_0x1178c2;_0x2d1af2['forEach'](_0xd593a3=>{const _0x27013f=_0x1ae4;var _0x2c113a;const _0x38ca65=this[_0x27013f(0x195)][_0x27013f(0x18e)](_0xd593a3);_0x38ca65&&(_0x38ca65[_0x27013f(0x1cd)](_0x1e811f),(_0x2c113a=this[_0x27013f(0x114)](_0xd593a3))==null||_0x2c113a[_0x27013f(0x218)](_0x38ca65['size']===0x0?_0x29cbea[_0x27013f(0x150)][_0x27013f(0x216)]:_0x29cbea[_0x27013f(0x150)]['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x1e811f);}['_handleHeartbeatEvent'](_0xe4a1ea){const _0x5b3ccc=_0x22d19e;this[_0x5b3ccc(0xc2)](_0xe4a1ea[_0x5b3ccc(0x27c)]);}['_send'](_0x343eee){const _0x40b4c9=_0x22d19e;localStorage[_0x40b4c9(0x292)](_0x6a45f,JSON[_0x40b4c9(0x22b)](_0x343eee));}['_scheduleHeartbeat'](){const _0x328506=_0x22d19e;this['_heartbeatTimer']=window[_0x328506(0x234)](()=>{const _0x39b939=_0x328506;this[_0x39b939(0x2aa)]({'type':0x2,'memberID':this['_id']});},_0x19436c);}['_ensureSubject'](_0x23a024){const _0x3e8e54=_0x22d19e;return this[_0x3e8e54(0x1e5)][_0x3e8e54(0x241)](_0x23a024)||this[_0x3e8e54(0x1e5)][_0x3e8e54(0x25b)](_0x23a024,new _0x8d94e0[(_0x3e8e54(0x90))](_0x29cbea['UnitStatus'][_0x3e8e54(0x216)])),this[_0x3e8e54(0x1e5)][_0x3e8e54(0x18e)](_0x23a024);}}_0x440074[_0x22d19e(0x19a)]=_0x1a7106,_0x440074[_0x22d19e(0x24c)]=_0x3fc4ac,_0x440074['WebBrowserSingleActiveUnitService']=_0x16b802,_0x440074[_0x22d19e(0x208)]=_0x1410ea,Object['defineProperty'](_0x440074,Symbol['toStringTag'],{'value':_0x22d19e(0x188)});}));
1
+ function _0x533d(_0x4ec67e,_0x47615a){_0x4ec67e=_0x4ec67e-0x137;const _0x4307e5=_0x4307();let _0x533d60=_0x4307e5[_0x4ec67e];return _0x533d60;}(function(_0xd4c929,_0x4c3d3f){const _0x1cfcd5=_0x533d,_0x112dbf=_0xd4c929();while(!![]){try{const _0x48ea2a=-parseInt(_0x1cfcd5(0x363))/0x1*(-parseInt(_0x1cfcd5(0x199))/0x2)+parseInt(_0x1cfcd5(0x2fe))/0x3+parseInt(_0x1cfcd5(0x242))/0x4+-parseInt(_0x1cfcd5(0x27f))/0x5*(parseInt(_0x1cfcd5(0x17a))/0x6)+parseInt(_0x1cfcd5(0x3cf))/0x7*(parseInt(_0x1cfcd5(0x1f5))/0x8)+-parseInt(_0x1cfcd5(0x212))/0x9*(parseInt(_0x1cfcd5(0x32d))/0xa)+-parseInt(_0x1cfcd5(0x16c))/0xb;if(_0x48ea2a===_0x4c3d3f)break;else _0x112dbf['push'](_0x112dbf['shift']());}catch(_0x162cb6){_0x112dbf['push'](_0x112dbf['shift']());}}}(_0x4307,0x4e4df),function(_0x205670,_0xaa4a85){const _0x16aa22=_0x533d;typeof exports==_0x16aa22(0x2d8)&&typeof module<'u'?_0xaa4a85(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==_0x16aa22(0x327)&&define[_0x16aa22(0x3e8)]?define([_0x16aa22(0x2e9),'react/jsx-runtime',_0x16aa22(0x29c),'@univerjs/core',_0x16aa22(0x1af),_0x16aa22(0x2b0),_0x16aa22(0x344),'react',_0x16aa22(0x209),_0x16aa22(0x185),'@univerjs/engine-render','@univerjs/network',_0x16aa22(0x216),_0x16aa22(0x202),_0x16aa22(0x213),_0x16aa22(0x256),'@univerjs/engine-formula','rxjs/operators',_0x16aa22(0x2a6)],_0xaa4a85):(_0x205670=typeof globalThis<'u'?globalThis:_0x205670||self,_0xaa4a85(_0x205670[_0x16aa22(0x397)]={},_0x205670[_0x16aa22(0x3b4)],_0x205670['UniverProCollaborationClient'],_0x205670[_0x16aa22(0x18b)],_0x205670['UniverUi'],_0x205670[_0x16aa22(0x2b0)],_0x205670[_0x16aa22(0x25d)],_0x205670[_0x16aa22(0x3b4)],_0x205670[_0x16aa22(0x286)],_0x205670[_0x16aa22(0x28e)],_0x205670[_0x16aa22(0x3cd)],_0x205670[_0x16aa22(0x2f7)],_0x205670[_0x16aa22(0x201)],_0x205670[_0x16aa22(0x33f)],_0x205670[_0x16aa22(0x254)],_0x205670[_0x16aa22(0x183)],_0x205670['UniverEngineFormula'],_0x205670[_0x16aa22(0x2b0)][_0x16aa22(0x3fc)],_0x205670[_0x16aa22(0x384)]));}(this,function(_0x44f94a,_0xfb03a,_0x792235,_0x4b903d,_0x109597,_0xdde2a6,_0x486dbb,_0x238001,_0x33e45c,_0x1901d9,_0x36ac30,_0x58c3fa,_0x809b8,_0x23d66c,_0x3810d3,_0x4c8112,_0x511fa6,_0x3a14cb,_0x4362f1){'use strict';const _0x151804=_0x533d;var _0x50376d=Object[_0x151804(0x163)],_0x389527=(_0x244681,_0x1e533b,_0x510d94)=>_0x1e533b in _0x244681?_0x50376d(_0x244681,_0x1e533b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x510d94}):_0x244681[_0x1e533b]=_0x510d94,_0x198f8a=(_0x4f6ac4,_0x57443d,_0xdabf2a)=>_0x389527(_0x4f6ac4,typeof _0x57443d!='symbol'?_0x57443d+'':_0x57443d,_0xdabf2a);function _0x51c0cd({ref:_0x17269c,..._0x416f3a}){const _0x4d9b3e=_0x151804,{icon:_0x2bc38f,id:_0x57ba11,className:_0x3f9bda,extend:_0x2aff11,..._0x5eeb01}=_0x416f3a,_0x4d153b=(_0x4d9b3e(0x37e)+_0x57ba11+'\x20'+(_0x3f9bda||''))[_0x4d9b3e(0x317)](),_0x3b893d=_0x238001[_0x4d9b3e(0x309)]('_'+_0x3c3b11());return _0x1c62e5(_0x2bc38f,''+_0x57ba11,{'defIds':_0x2bc38f[_0x4d9b3e(0x332)],'idSuffix':_0x3b893d[_0x4d9b3e(0x1df)]},{'ref':_0x17269c,'className':_0x4d153b,..._0x5eeb01},_0x2aff11);}function _0x1c62e5(_0x550ff2,_0x47b52f,_0xe1e65a,_0x2ddaf9,_0x4ea87b){const _0x5bd99d=_0x151804;return _0x238001[_0x5bd99d(0x239)](_0x550ff2[_0x5bd99d(0x28a)],{'key':_0x47b52f,..._0x1775dc(_0x550ff2,_0xe1e65a,_0x4ea87b),..._0x2ddaf9},(_0x2184ea(_0x550ff2,_0xe1e65a)['children']||[])[_0x5bd99d(0x2a2)]((_0x6b88a1,_0x146254)=>_0x1c62e5(_0x6b88a1,_0x47b52f+'-'+_0x550ff2[_0x5bd99d(0x28a)]+'-'+_0x146254,_0xe1e65a,void 0x0,_0x4ea87b)));}function _0x1775dc(_0x1a5489,_0x4a3622,_0x1e727a){const _0x14c13c=_0x151804,_0x44a469={..._0x1a5489['attrs']};_0x1e727a!=null&&_0x1e727a[_0x14c13c(0x39c)]&&_0x44a469[_0x14c13c(0x385)]===_0x14c13c(0x39c)&&(_0x44a469[_0x14c13c(0x385)]=_0x1e727a[_0x14c13c(0x39c)]),_0x1a5489[_0x14c13c(0x28a)]===_0x14c13c(0x1ce)&&_0x44a469['id']&&(_0x44a469['id']=_0x44a469['id']+_0x4a3622[_0x14c13c(0x367)]),Object[_0x14c13c(0x3e3)](_0x44a469)[_0x14c13c(0x293)](([_0x4f132e,_0x1a74e0])=>{const _0x14f3f3=_0x14c13c;_0x4f132e===_0x14f3f3(0x1ce)&&typeof _0x1a74e0==_0x14f3f3(0x15a)&&(_0x44a469[_0x4f132e]=_0x1a74e0[_0x14f3f3(0x2dd)](/url\(#(.*)\)/,'url(#$1'+_0x4a3622['idSuffix']+')'));});const {defIds:_0x359fad}=_0x4a3622;return!_0x359fad||_0x359fad[_0x14c13c(0x3e7)]===0x0||(_0x1a5489[_0x14c13c(0x28a)]===_0x14c13c(0x302)&&_0x44a469[_0x14c13c(0x197)]&&(_0x44a469['xlink:href']=_0x44a469[_0x14c13c(0x197)]+_0x4a3622[_0x14c13c(0x367)]),Object['entries'](_0x44a469)[_0x14c13c(0x293)](([_0x71fcdf,_0x38fca2])=>{const _0x20fada=_0x14c13c;typeof _0x38fca2==_0x20fada(0x15a)&&(_0x44a469[_0x71fcdf]=_0x38fca2[_0x20fada(0x2dd)](/url\(#(.*)\)/,_0x20fada(0x40c)+_0x4a3622[_0x20fada(0x367)]+')'));})),_0x44a469;}function _0x2184ea(_0x3aedf0,_0x479a83){const _0x570908=_0x151804;var _0x2dad87;const {defIds:_0x432ea2}=_0x479a83;return!_0x432ea2||_0x432ea2['length']===0x0?_0x3aedf0:_0x3aedf0['tag']===_0x570908(0x365)&&((_0x2dad87=_0x3aedf0['children'])!=null&&_0x2dad87[_0x570908(0x3e7)])?{..._0x3aedf0,'children':_0x3aedf0[_0x570908(0x18e)]['map'](_0x34b3ca=>typeof _0x34b3ca[_0x570908(0x21b)]['id']==_0x570908(0x15a)&&_0x432ea2&&_0x432ea2[_0x570908(0x36d)](_0x34b3ca[_0x570908(0x21b)]['id'])?{..._0x34b3ca,'attrs':{..._0x34b3ca[_0x570908(0x21b)],'id':_0x34b3ca[_0x570908(0x21b)]['id']+_0x479a83['idSuffix']}}:_0x34b3ca)}:_0x3aedf0;}function _0x3c3b11(){const _0x164f8f=_0x151804;return Math[_0x164f8f(0x258)]()[_0x164f8f(0x41b)](0x24)[_0x164f8f(0x40b)](0x2,0x8);}_0x51c0cd['displayName']=_0x151804(0x29b);const _0x53eabb={'tag':_0x151804(0x32b),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x151804(0x287),'height':_0x151804(0x287)},'children':[{'tag':'g','attrs':{'clipPath':_0x151804(0x364)},'children':[{'tag':_0x151804(0x1fc),'attrs':{'stroke':_0x151804(0x26c),'d':_0x151804(0x2da),'strokeLinecap':_0x151804(0x1c8),'strokeLinejoin':_0x151804(0x1c8),'strokeWidth':1.2}}]},{'tag':_0x151804(0x365),'attrs':{},'children':[{'tag':_0x151804(0x23a),'attrs':{'id':_0x151804(0x16e)},'children':[{'tag':_0x151804(0x1fc),'attrs':{'fill':_0x151804(0x35e),'d':_0x151804(0x31e)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x431690=_0x238001[_0x151804(0x36e)](function(_0xb5645e,_0x597bfa){const _0x24ed04=_0x151804;return _0x238001[_0x24ed04(0x239)](_0x51c0cd,Object[_0x24ed04(0x3e6)]({},_0xb5645e,{'id':_0x24ed04(0x3ad),'ref':_0x597bfa,'icon':_0x53eabb}));});_0x431690[_0x151804(0x318)]='OffLineIcon';const _0x19b909={'tag':_0x151804(0x32b),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x151804(0x329),'width':_0x151804(0x287),'height':_0x151804(0x287)},'children':[{'tag':'g','attrs':{'clipPath':_0x151804(0x37d)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x151804(0x1be),'strokeLinecap':'round','strokeLinejoin':_0x151804(0x1c8),'strokeWidth':1.2}}]},{'tag':_0x151804(0x365),'attrs':{},'children':[{'tag':_0x151804(0x23a),'attrs':{'id':_0x151804(0x3e4)},'children':[{'tag':'path','attrs':{'fill':_0x151804(0x35e),'d':_0x151804(0x31e),'transform':_0x151804(0x260)}}]}]}],'defIds':[_0x151804(0x3e4)]},_0x301947=_0x238001[_0x151804(0x36e)](function(_0x3e7994,_0x4185fb){const _0x55d5dc=_0x151804;return _0x238001[_0x55d5dc(0x239)](_0x51c0cd,Object[_0x55d5dc(0x3e6)]({},_0x3e7994,{'id':'on-line-icon','ref':_0x4185fb,'icon':_0x19b909}));});_0x301947[_0x151804(0x318)]='OnLineIcon';function _0x48e103(_0x51ab06){const _0xad379a=_0x151804;switch(_0x51ab06){case _0x792235[_0xad379a(0x17c)][_0xad379a(0x1e9)]:return _0xad379a(0x161);case _0x792235[_0xad379a(0x17c)]['CONFLICT']:return _0xad379a(0x22f);case _0x792235[_0xad379a(0x17c)][_0xad379a(0x1f0)]:return'collabStatus.fetchMiss';case _0x792235['CollaborationStatus'][_0xad379a(0x283)]:return _0xad379a(0x259);case _0x792235['CollaborationStatus'][_0xad379a(0x23f)]:case _0x792235[_0xad379a(0x17c)]['AWAITING_WITH_PENDING']:return _0xad379a(0x30b);case _0x792235[_0xad379a(0x17c)]['SYNCED']:case _0x792235[_0xad379a(0x17c)][_0xad379a(0x2e1)]:return _0xad379a(0x1c0);}}function _0x5f1a43(_0x2c9324){const _0xf116d=_0x151804,{status$:_0x379821}=_0x2c9324,_0x2213ce=_0x109597[_0xf116d(0x1a6)](_0x379821,_0x792235[_0xf116d(0x17c)][_0xf116d(0x283)]),_0x4d661d=_0x109597['useDependency'](_0x4b903d['LocaleService']),_0x5d330a=_0x109597[_0xf116d(0x17b)](_0x792235[_0xf116d(0x167)]),_0x546260=_0x2213ce!==_0x792235['CollaborationStatus'][_0xf116d(0x1e9)],_0x159d06=_0x4d661d['t'](_0x48e103(_0x2213ce)),_0x5df6a2=_0x546260?_0xfb03a[_0xf116d(0x2e6)](_0x301947,{}):_0xfb03a[_0xf116d(0x2e6)](_0x431690,{}),_0x4e257b=_0x238001[_0xf116d(0x158)](()=>{const _0x572561=_0xf116d;_0x546260||_0x5d330a[_0x572561(0x1d5)]();},[_0x546260,_0x5d330a]);function _0x1f91bb(){const _0x4f2aa3=_0xf116d;return _0xfb03a['jsxs'](_0x4f2aa3(0x388),{'className':'univer-flex\x20univer-items-center','onClick':_0x4e257b,'children':[_0xfb03a['jsx'](_0x4f2aa3(0x388),{'className':_0x486dbb['clsx'](_0x4f2aa3(0x2cb),{'univer-text-green-500':_0x546260,'univer-text-red-500':!_0x546260}),'children':_0x5df6a2}),_0xfb03a[_0x4f2aa3(0x2e6)]('div',{'className':_0x4f2aa3(0x413),'children':_0x159d06})]});}return _0x546260?_0x1f91bb():_0xfb03a['jsx'](_0x486dbb[_0xf116d(0x164)],{'title':_0x4d661d['t']('collab-client.tooltip.reconnect'),'children':_0x1f91bb()});}var _0x5a7322=Object[_0x151804(0x277)],_0x517187=(_0x2d158d,_0x1709f3,_0x2ad856,_0x4a5294)=>{const _0x143fd4=_0x151804;for(var _0x48a7f2=_0x4a5294>0x1?void 0x0:_0x4a5294?_0x5a7322(_0x1709f3,_0x2ad856):_0x1709f3,_0x341914=_0x2d158d[_0x143fd4(0x3e7)]-0x1,_0x465370;_0x341914>=0x0;_0x341914--)(_0x465370=_0x2d158d[_0x341914])&&(_0x48a7f2=_0x465370(_0x48a7f2)||_0x48a7f2);return _0x48a7f2;},_0x1ac339=(_0x26024a,_0x2ac476)=>(_0xc5b000,_0x272d17)=>_0x2ac476(_0xc5b000,_0x272d17,_0x26024a);_0x44f94a[_0x151804(0x2ce)]=class extends _0x4b903d[_0x151804(0x176)]{constructor(_0x21f586,_0x43945e,_0x4b0bd3,_0x5be000){const _0x1790f0=_0x151804;super(),_0x198f8a(this,_0x1790f0(0x251),new _0xdde2a6[(_0x1790f0(0x2f9))](_0x792235[_0x1790f0(0x17c)][_0x1790f0(0x283)])),(this['_univerInstanceService']=_0x21f586,this[_0x1790f0(0x410)]=_0x43945e,this[_0x1790f0(0x268)]=_0x4b0bd3,this[_0x1790f0(0x252)]=_0x5be000,this['_initStatusComponent'](),this[_0x1790f0(0x1dd)]());}[_0x151804(0x1dd)](){const _0x3e948c=_0x151804;this[_0x3e948c(0x2f8)](this[_0x3e948c(0x224)][_0x3e948c(0x414)][_0x3e948c(0x2cc)](_0xdde2a6[_0x3e948c(0x214)](()=>{const _0x4cf0c9=_0x3e948c,_0x479c41=this['_univerInstanceService'][_0x4cf0c9(0x265)]();return _0x479c41?this[_0x4cf0c9(0x268)]['getCollabEntity$'](_0x479c41[_0x4cf0c9(0x192)]()):_0xdde2a6['of'](null);}),_0xdde2a6['switchMap'](_0x403631=>_0x403631?_0x403631[_0x3e948c(0x2a0)]:_0xdde2a6['of'](_0x792235['CollaborationStatus']['NOT_COLLAB'])))[_0x3e948c(0x24d)](_0x17a2a6=>{const _0x4227df=_0x3e948c;this[_0x4227df(0x251)][_0x4227df(0x3ef)](_0x17a2a6);}));}[_0x151804(0x1c1)](){const _0x2eabef=_0x151804;this[_0x2eabef(0x2f8)](this[_0x2eabef(0x252)][_0x2eabef(0x218)](_0x109597['BuiltInUIPart'][_0x2eabef(0x16f)],()=>_0x109597[_0x2eabef(0x3f5)](_0x422b57({'status$':this[_0x2eabef(0x251)]['asObservable']()}),this[_0x2eabef(0x410)])));}},_0x44f94a[_0x151804(0x2ce)]=_0x517187([_0x1ac339(0x0,_0x4b903d[_0x151804(0x342)]),_0x1ac339(0x1,_0x4b903d['Inject'](_0x4b903d['Injector'])),_0x1ac339(0x2,_0x4b903d[_0x151804(0x18d)](_0x792235['CollaborationController'])),_0x1ac339(0x3,_0x109597[_0x151804(0x15e)])],_0x44f94a[_0x151804(0x2ce)]);function _0x422b57(_0x1ea306){const {status$:_0xae0696}=_0x1ea306;return function(){const _0x170353=_0x533d;return _0xfb03a[_0x170353(0x2e6)](_0x5f1a43,{'status$':_0xae0696});};}const _0x1c59a7=_0x4b903d[_0x151804(0x412)]('uni.network.url-service');var _0x8c05f0=Object[_0x151804(0x277)],_0x4cebe7=(_0xa71761,_0x31b8a1,_0x1268d2,_0x373ec7)=>{const _0x2fc163=_0x151804;for(var _0x58bc65=_0x373ec7>0x1?void 0x0:_0x373ec7?_0x8c05f0(_0x31b8a1,_0x1268d2):_0x31b8a1,_0x3762a4=_0xa71761[_0x2fc163(0x3e7)]-0x1,_0x30b098;_0x3762a4>=0x0;_0x3762a4--)(_0x30b098=_0xa71761[_0x3762a4])&&(_0x58bc65=_0x30b098(_0x58bc65)||_0x58bc65);return _0x58bc65;},_0x3fa3f2=(_0x394b2e,_0x5205b1)=>(_0x18e66d,_0x1933c6)=>_0x5205b1(_0x18e66d,_0x1933c6,_0x394b2e);_0x44f94a[_0x151804(0x278)]=class extends _0x4b903d[_0x151804(0x35d)]{constructor(_0x4973db,_0x274b87,_0x5e6e84,_0x4d922d,_0x294509){const _0x473d10=_0x151804;super(),this[_0x473d10(0x1da)]=_0x4973db,this[_0x473d10(0x338)]=_0x274b87,this[_0x473d10(0x1c6)]=_0x5e6e84,this[_0x473d10(0x3d0)]=_0x4d922d,_0x294509?_0x294509==null||_0x294509[_0x473d10(0x20f)]()[_0x473d10(0x39b)](()=>this['_init']()):(this['_logService'][_0x473d10(0x274)](_0x473d10(0x407),_0x473d10(0x200)),this[_0x473d10(0x1b2)]());}async[_0x151804(0x1b2)](){const _0x229487=_0x151804,_0x6e6b9c=this[_0x229487(0x1da)]['getParam'](_0x229487(0x330)),_0x49749b=this['_urlService'][_0x229487(0x3e9)](_0x229487(0x276)),_0x5ccd14=this[_0x229487(0x1da)][_0x229487(0x3e9)]('subunit');if(!_0x6e6b9c||!_0x49749b){this[_0x229487(0x338)]['debug'](_0x229487(0x407),_0x229487(0x20b));return;}const _0x5213f2=await this[_0x229487(0x3d0)][_0x229487(0x34f)](_0x6e6b9c,Number(_0x49749b),_0x5ccd14);_0x5213f2&&_0x5213f2 instanceof _0x4b903d[_0x229487(0x229)]&&this[_0x229487(0x3b7)](_0x5213f2);}async[_0x151804(0x3b7)](_0x18a8ba){const _0x3f4019=_0x151804;await this[_0x3f4019(0x325)](_0x18a8ba),_0x18a8ba['activeSheet$'][_0x3f4019(0x2cc)](_0xdde2a6[_0x3f4019(0x23e)](this['dispose$']))[_0x3f4019(0x24d)](_0x27b09c=>{const _0x46a9d5=_0x3f4019;_0x27b09c&&this[_0x46a9d5(0x409)](_0x27b09c);}),this[_0x3f4019(0x1da)][_0x3f4019(0x39d)]['pipe'](_0xdde2a6[_0x3f4019(0x23e)](this['dispose$']))[_0x3f4019(0x24d)](()=>this[_0x3f4019(0x325)](_0x18a8ba));}[_0x151804(0x409)](_0x2e125e,_0x47725c=!0x1){const _0x2e950f=_0x151804,_0x2cf3bf=this[_0x2e950f(0x1da)]['getParam'](_0x2e950f(0x420));_0x2e125e[_0x2e950f(0x1ed)]()!==_0x2cf3bf&&this[_0x2e950f(0x1da)]['setParam'](_0x2e950f(0x420),_0x2e125e[_0x2e950f(0x1ed)](),_0x47725c);}async[_0x151804(0x325)](_0x3918d2){const _0x44b049=_0x151804;var _0x39b33e;const _0xe41756=this['_urlService'][_0x44b049(0x3e9)](_0x44b049(0x420));if(!_0xe41756||!_0x3918d2[_0x44b049(0x3cc)](_0xe41756)){const _0x5e47ef=_0x3918d2[_0x44b049(0x1b3)]()[0x0],_0x1e507c=_0x3918d2['getSheetBySheetId'](_0x5e47ef);if(!_0x1e507c)return;this['_updateURLWithCurrentState'](_0x1e507c,!0x0),await this[_0x44b049(0x1c6)][_0x44b049(0x3fd)](_0x1901d9[_0x44b049(0x150)]['id'],{'unitId':_0x3918d2['getUnitId'](),'subUnitId':_0x5e47ef});return;}((_0x39b33e=_0x3918d2[_0x44b049(0x169)]())==null?void 0x0:_0x39b33e[_0x44b049(0x1ed)]())!==_0xe41756&&await this['_commandService'][_0x44b049(0x3fd)](_0x1901d9['SetWorksheetActivateCommand']['id'],{'unitId':_0x3918d2['getUnitId'](),'subUnitId':_0xe41756});}},_0x44f94a[_0x151804(0x278)]=_0x4cebe7([_0x3fa3f2(0x0,_0x1c59a7),_0x3fa3f2(0x1,_0x4b903d[_0x151804(0x1d4)]),_0x3fa3f2(0x2,_0x4b903d['ICommandService']),_0x3fa3f2(0x3,_0x4b903d['Inject'](_0x792235['DataLoaderService'])),_0x3fa3f2(0x4,_0x4b903d[_0x151804(0x1c4)](_0x33e45c['IRemoteInstanceService']))],_0x44f94a[_0x151804(0x278)]);var _0x54ac13=Object[_0x151804(0x277)],_0xe4b5de=(_0x4c9d3c,_0x519b99,_0x4066c7,_0xda8735)=>{const _0xb6e167=_0x151804;for(var _0x2cea79=_0xda8735>0x1?void 0x0:_0xda8735?_0x54ac13(_0x519b99,_0x4066c7):_0x519b99,_0x2b2564=_0x4c9d3c[_0xb6e167(0x3e7)]-0x1,_0x51b13d;_0x2b2564>=0x0;_0x2b2564--)(_0x51b13d=_0x4c9d3c[_0x2b2564])&&(_0x2cea79=_0x51b13d(_0x2cea79)||_0x2cea79);return _0x2cea79;},_0x922270=(_0x133a70,_0x3ea5ed)=>(_0xc1134e,_0x4d8a47)=>_0x3ea5ed(_0xc1134e,_0x4d8a47,_0x133a70);let _0x479999=class extends _0x4b903d[_0x151804(0x35d)]{constructor(_0x1fe75e,_0x28f342){const _0x30b007=_0x151804;super(),this[_0x30b007(0x2bc)]=_0x1fe75e,this[_0x30b007(0x375)]=_0x28f342,this['_init']();}[_0x151804(0x1b2)](){const _0x523ce1=_0x151804,_0x1184f8=this;this[_0x523ce1(0x2f8)](this[_0x523ce1(0x2bc)][_0x523ce1(0x32f)]({'onBeforePasteImage':async _0x421807=>{const _0x5c7197=_0x523ce1,_0x231720=await _0x1184f8[_0x5c7197(0x375)][_0x5c7197(0x2c8)](_0x421807);return _0x231720?{'source':_0x231720[_0x5c7197(0x24e)],'imageSourceType':_0x231720[_0x5c7197(0x215)]}:null;}}));}};_0x479999=_0xe4b5de([_0x922270(0x0,_0x809b8[_0x151804(0x1b7)]),_0x922270(0x1,_0x23d66c['IImageIoService'])],_0x479999);const _0x3634fe=[_0x151804(0x18f),_0x151804(0x1db),_0x151804(0x40d),_0x151804(0x230),_0x151804(0x3f2),_0x151804(0x1a1)];class _0x2042e7 extends _0x4b903d[_0x151804(0x176)]{constructor(){const _0xd3cf12=_0x151804;super(...arguments),_0x198f8a(this,'_assignedColors',new Map()),_0x198f8a(this,_0xd3cf12(0x140),0x0);}['assignAColorForMemberID'](_0x16f472){const _0x405f42=_0x151804;if(this[_0x405f42(0x3c2)][_0x405f42(0x326)](_0x16f472))return this[_0x405f42(0x3c2)][_0x405f42(0x1a2)](_0x16f472);const _0x11b58d=_0x3634fe[this[_0x405f42(0x140)]];return this[_0x405f42(0x140)]=(this[_0x405f42(0x140)]+0x1)%_0x3634fe['length'],this[_0x405f42(0x3c2)][_0x405f42(0x2d7)](_0x16f472,_0x11b58d),_0x11b58d;}}function _0x3e3b6a(_0x520b66){const _0x454bf9=_0x151804;let _0x4b6b21='';for(const _0x297450 of _0x520b66){const {startOffset:_0x1a1dac,endOffset:_0x2b2fb0,isActive:_0x34f6e7,rangeType:_0xf61556,segmentId:_0x2f50df,segmentPage:_0x54f942}=_0x297450;_0x4b6b21[_0x454bf9(0x3e7)]&&(_0x4b6b21+=','),_0x4b6b21+=_0x1a1dac+':'+_0x2b2fb0+':'+(_0x34f6e7?'1':'0')+':'+_0xf61556+':'+_0x2f50df+':'+_0x54f942;}return _0x4b6b21;}function _0x524705(_0x52de8a){const _0x21ef59=_0x151804,_0x2245a8=_0x52de8a[_0x21ef59(0x3fe)](','),_0x4cecfc=[];for(const _0x573be5 of _0x2245a8){const [_0x4aaf5b,_0x2643a5,_0x33c38f,_0x38eae1,_0x5cdfd7,_0x1e3048]=_0x573be5[_0x21ef59(0x3fe)](':');_0x4cecfc[_0x21ef59(0x1eb)]({'startOffset':Number(_0x4aaf5b),'endOffset':Number(_0x2643a5),'collapsed':_0x4aaf5b===_0x2643a5,'isActive':_0x33c38f==='1','rangeType':_0x38eae1===_0x4b903d['DOC_RANGE_TYPE']['TEXT']?_0x4b903d[_0x21ef59(0x1f6)][_0x21ef59(0x190)]:_0x4b903d['DOC_RANGE_TYPE'][_0x21ef59(0x3dc)],'segmentId':typeof _0x5cdfd7==_0x21ef59(0x15a)?String(_0x5cdfd7):'','segmentPage':Number(_0x1e3048!=null?_0x1e3048:-0x1)});}return _0x4cecfc[_0x21ef59(0x1a3)](_0xaaf12f=>_0xaaf12f[_0x21ef59(0x1fd)])||(_0x4cecfc[0x0][_0x21ef59(0x1fd)]=!0x0),_0x4cecfc;}class _0x103d56 extends _0x4b903d[_0x151804(0x35d)]{constructor(){const _0x5da679=_0x151804;super(...arguments),_0x198f8a(this,_0x5da679(0x1a4),new _0xdde2a6[(_0x5da679(0x2f9))](null)),_0x198f8a(this,_0x5da679(0x2bb),this['_collabCursorState$'][_0x5da679(0x1a5)]());}[_0x151804(0x3d8)](_0x22e76a){const {unitID:_0x3c044d,memberID:_0x1ed431,textRanges:_0x48c0f1}=_0x22e76a,_0x4ebb7c=_0x3e3b6a(_0x48c0f1);if(_0x4ebb7c==='')return;const _0x22dc83={'unitID':_0x3c044d,'memberID':_0x1ed431,'selection':_0x4ebb7c};this['_collabCursorState$']['next'](_0x22dc83);}}var _0x126698=Object[_0x151804(0x277)],_0x537264=(_0x91b8b0,_0x67d8ca,_0x629d44,_0x39355e)=>{const _0x3e6720=_0x151804;for(var _0xe43cac=_0x39355e>0x1?void 0x0:_0x39355e?_0x126698(_0x67d8ca,_0x629d44):_0x67d8ca,_0xd468f0=_0x91b8b0[_0x3e6720(0x3e7)]-0x1,_0xee85e3;_0xd468f0>=0x0;_0xd468f0--)(_0xee85e3=_0x91b8b0[_0xd468f0])&&(_0xe43cac=_0xee85e3(_0xe43cac)||_0xe43cac);return _0xe43cac;},_0x4424dd=(_0x1527e4,_0x5ea11e)=>(_0x39602b,_0xea9f8)=>_0x5ea11e(_0x39602b,_0xea9f8,_0x1527e4);const _0x21deab=0x12c,_0xaed1ed=0x64;let _0xe1e1b0=class extends _0x4b903d[_0x151804(0x35d)]{constructor(_0x1ce692,_0x1c50f6,_0x22c829,_0x2afd99,_0x26a03d,_0x4c2a51,_0x382e52,_0x52dfb6,_0x371870){const _0x188104=_0x151804;super(),_0x198f8a(this,_0x188104(0x263),!0x1),_0x198f8a(this,'_init',!0x1),_0x198f8a(this,'_cursorInfo$',new _0xdde2a6['BehaviorSubject'](new Map())),_0x198f8a(this,_0x188104(0x29f),this[_0x188104(0x282)][_0x188104(0x1a5)]()),_0x198f8a(this,_0x188104(0x1fe),new _0xdde2a6[(_0x188104(0x2f9))]([])),_0x198f8a(this,_0x188104(0x15c),this['_roomMembers$'][_0x188104(0x2cc)](_0xdde2a6[_0x188104(0x1c7)](_0x21deab))),_0x198f8a(this,_0x188104(0x2df),_0x4b903d[_0x188104(0x2ac)](_0x541da9=>{const _0xbf9622=_0x188104,_0x30cce3={'eventID':_0x3810d3[_0xbf9622(0x219)][_0xbf9622(0x2b1)],'data':{'unitID':this[_0xbf9622(0x36b)],'memberID':this[_0xbf9622(0x38b)][_0xbf9622(0x248)](),'selection':_0x3e3b6a(_0x541da9)}};this[_0xbf9622(0x38b)][_0xbf9622(0x3bb)](_0x30cce3,this[_0xbf9622(0x36b)]);},_0xaed1ed)),(this[_0x188104(0x36b)]=_0x1ce692,this[_0x188104(0x38b)]=_0x1c50f6,this[_0x188104(0x410)]=_0x22c829,this['_colorAssignService']=_0x2afd99,this['_memberService']=_0x26a03d,this[_0x188104(0x383)]=_0x4c2a51,this[_0x188104(0x21a)]=_0x382e52,this[_0x188104(0x224)]=_0x52dfb6,this[_0x188104(0x1c6)]=_0x371870);}get[_0x151804(0x1bf)](){const _0x24e2e5=_0x151804;return this['_cursorInfo$'][_0x24e2e5(0x313)]();}get[_0x151804(0x22b)](){const _0x25be5e=_0x151804;return this['_roomMembers$'][_0x25be5e(0x313)]();}[_0x151804(0x2b9)](){const _0x27ede6=_0x151804;super[_0x27ede6(0x2b9)](),this[_0x27ede6(0x282)][_0x27ede6(0x3ef)](new Map()),this[_0x27ede6(0x282)]['complete'](),this[_0x27ede6(0x1fe)][_0x27ede6(0x3ef)]([]),this[_0x27ede6(0x1fe)]['complete']();}['init'](){const _0x39cc71=_0x151804;this[_0x39cc71(0x1b2)]||(this['_init']=!0x0,this['_session'][_0x39cc71(0x1f4)][_0x39cc71(0x2cc)](_0xdde2a6['takeUntil'](this['dispose$']))['subscribe'](_0x3c67c1=>{const _0xeac753=_0x39cc71;_0x3c67c1===_0x792235[_0xeac753(0x226)]['ONLINE']?this[_0xeac753(0x191)]():this['_toggleOffline']();}),this[_0x39cc71(0x38b)][_0x39cc71(0x15b)][_0x39cc71(0x2cc)](_0xdde2a6[_0x39cc71(0x23e)](this[_0x39cc71(0x2ef)]))['subscribe'](_0x3c7ed1=>{const _0x187987=_0x39cc71,_0x46f9c2=_0x3c7ed1[_0x187987(0x2b7)];_0x46f9c2===_0x3810d3[_0x187987(0x219)][_0x187987(0x2b1)]&&this[_0x187987(0x193)](_0x3c7ed1),_0x46f9c2===_0x3810d3[_0x187987(0x219)][_0x187987(0x211)]&&this[_0x187987(0x2fc)](_0x3c7ed1);}),this[_0x39cc71(0x2f8)](this[_0x39cc71(0x1c6)][_0x39cc71(0x280)](_0x2d0d40=>{const _0x5171be=_0x39cc71,_0x1cbfb4=_0x2d0d40[_0x5171be(0x1cb)];_0x1cbfb4!=null&&this['_online']&&_0x2d0d40['id']===_0x4c8112[_0x5171be(0x2bf)]['id']&&_0x1cbfb4['unitId']===this['unitID']&&_0x1cbfb4[_0x5171be(0x262)]===!0x1&&_0x1cbfb4[_0x5171be(0x307)][_0x5171be(0x3e7)]>0x0&&this[_0x5171be(0x2df)](_0x1cbfb4['ranges']);})),this[_0x39cc71(0x383)][_0x39cc71(0x2bb)][_0x39cc71(0x2cc)](_0xdde2a6[_0x39cc71(0x23e)](this[_0x39cc71(0x2ef)]))['subscribe'](_0x135585=>{const _0x343366=_0x39cc71;if((_0x135585==null?void 0x0:_0x135585[_0x343366(0x36b)])!==this['unitID'])return;const _0x1a6daa={'eventID':_0x3810d3[_0x343366(0x219)][_0x343366(0x2b1)],'data':_0x135585};this['_onCursorUpdate'](_0x1a6daa);}),this[_0x39cc71(0x2f8)](this[_0x39cc71(0x1c6)][_0x39cc71(0x280)](_0x234c48=>{const _0x152615=_0x39cc71;if(_0x234c48['params']==null)return;const _0x5043f0=_0x234c48['params'];if(_0x234c48['id']!==_0x4c8112[_0x152615(0x220)]['id']||_0x5043f0['unitId']!==this[_0x152615(0x36b)])return;const _0x1198a1={'id':_0x152615(0x362),'params':_0x5043f0},_0xa0af04=this[_0x152615(0x1bf)];for(const [_0xd6ee14,_0x53ae57]of _0xa0af04){const _0x3ee3e0={'id':_0x152615(0x362),'params':{'unitId':this[_0x152615(0x36b)],'actions':null,'textRanges':_0x53ae57[_0x152615(0x307)]}},_0x14ab31=this[_0x152615(0x21a)][_0x152615(0x244)](_0x1198a1,_0x3ee3e0,!0x1);if(_0x3810d3['isTransformMutationFailure'](_0x14ab31))throw _0x14ab31['error'];_0xa0af04[_0x152615(0x2d7)](_0xd6ee14,{..._0x53ae57,'ranges':_0x14ab31[_0x152615(0x25b)][_0x152615(0x1cb)][_0x152615(0x173)]});}queueMicrotask(()=>{const _0x194ab8=_0x152615;this[_0x194ab8(0x282)]['next'](_0xa0af04);});})));}[_0x151804(0x193)](_0x466ce0){const _0x3b61b7=_0x151804;var _0x409c83,_0x1372e7;const {memberID:_0x391d04,selection:_0x5be557}=_0x466ce0[_0x3b61b7(0x40f)],_0x3087dd=_0x524705(_0x5be557),_0x4d8033=(_0x1372e7=(_0x409c83=this[_0x3b61b7(0x398)][_0x3b61b7(0x2a3)](this[_0x3b61b7(0x36b)],_0x391d04))==null?void 0x0:_0x409c83[_0x3b61b7(0x2d6)])!=null?_0x1372e7:'Unknown\x20user',_0x538979={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x391d04),'name':_0x4d8033,'ranges':_0x3087dd},_0x3b8e55=this[_0x3b61b7(0x1bf)];_0x3b8e55['set'](_0x391d04,_0x538979),this[_0x3b61b7(0x282)][_0x3b61b7(0x3ef)](_0x3b8e55);}[_0x151804(0x2fc)](_0x3af8dc){const _0x4a4b2a=_0x151804,{memberID:_0x194970}=_0x3af8dc[_0x4a4b2a(0x40f)],_0x1135cf=this[_0x4a4b2a(0x1bf)];_0x1135cf[_0x4a4b2a(0x312)](_0x194970),this[_0x4a4b2a(0x282)][_0x4a4b2a(0x3ef)](_0x1135cf);}[_0x151804(0x191)](){const _0x51b21e=_0x151804;var _0x2c7b87;if(this[_0x51b21e(0x263)]=!0x0,((_0x2c7b87=this[_0x51b21e(0x224)][_0x51b21e(0x265)]())==null?void 0x0:_0x2c7b87['getUnitId']())!==this[_0x51b21e(0x36b)])return;const _0xea468=this[_0x51b21e(0x410)][_0x51b21e(0x1a2)](_0x4c8112[_0x51b21e(0x22e)])['getDocRanges']();Array[_0x51b21e(0x373)](_0xea468)&&_0xea468[_0x51b21e(0x3e7)]>0x0&&this[_0x51b21e(0x2df)](_0xea468);}['_toggleOffline'](){const _0x26ee0b=_0x151804;this[_0x26ee0b(0x263)]=!0x1;}};_0xe1e1b0=_0x537264([_0x4424dd(0x2,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x28d)])),_0x4424dd(0x3,_0x4b903d['Inject'](_0x2042e7)),_0x4424dd(0x4,_0x4b903d[_0x151804(0x18d)](_0x792235[_0x151804(0x189)])),_0x4424dd(0x5,_0x4b903d[_0x151804(0x18d)](_0x103d56)),_0x4424dd(0x6,_0x3810d3[_0x151804(0x3aa)]),_0x4424dd(0x7,_0x4b903d[_0x151804(0x342)]),_0x4424dd(0x8,_0x4b903d[_0x151804(0x32e)])],_0xe1e1b0);var _0x1339dd=Object['getOwnPropertyDescriptor'],_0x922f35=(_0x4c2b17,_0x5787eb,_0x33d949,_0x1cf412)=>{const _0x12961d=_0x151804;for(var _0xb78287=_0x1cf412>0x1?void 0x0:_0x1cf412?_0x1339dd(_0x5787eb,_0x33d949):_0x5787eb,_0x15276f=_0x4c2b17[_0x12961d(0x3e7)]-0x1,_0x39fde6;_0x15276f>=0x0;_0x15276f--)(_0x39fde6=_0x4c2b17[_0x15276f])&&(_0xb78287=_0x39fde6(_0xb78287)||_0xb78287);return _0xb78287;},_0x234d1d=(_0x388ca3,_0xedea8a)=>(_0x174d89,_0xb9a648)=>_0xedea8a(_0x174d89,_0xb9a648,_0x388ca3);const _0x128971=0x12c,_0x27048d=0x64,_0x381cd8=()=>{let _0x777464=[],_0x2d8944=!0x1;return _0x325f0c=>{const _0x2ab2d4=_0x533d;_0x777464[_0x2ab2d4(0x1eb)](_0x325f0c),_0x2d8944||(_0x2d8944=!0x0,setTimeout(()=>{const _0x30709f=_0x2ab2d4;_0x777464[_0x30709f(0x293)](_0x5ca36e=>_0x5ca36e()),_0x777464=[],_0x2d8944=!0x1;}));};};let _0x4b2b97=class extends _0x4b903d['RxDisposable']{constructor(_0x3f0d19,_0x4feca9,_0x5300e5,_0x2c6915,_0x166e07,_0x4766b1,_0x4c816b,_0x440a62){const _0x156a83=_0x151804;super(),_0x198f8a(this,_0x156a83(0x263),!0x1),_0x198f8a(this,_0x156a83(0x1b2),!0x1),_0x198f8a(this,'_cursorInfo$',new _0xdde2a6['BehaviorSubject'](new Map())),_0x198f8a(this,'cursorInfo$',this[_0x156a83(0x282)][_0x156a83(0x1a5)]()),_0x198f8a(this,_0x156a83(0x1fe),new _0xdde2a6[(_0x156a83(0x2f9))]([])),_0x198f8a(this,_0x156a83(0x15c),this[_0x156a83(0x1fe)]['pipe'](_0xdde2a6[_0x156a83(0x1c7)](_0x128971))),_0x198f8a(this,_0x156a83(0x2df),_0x4b903d[_0x156a83(0x2ac)]((_0x4dd231,_0x29053f)=>{const _0x856193=_0x156a83,_0x38ef9d={'eventID':_0x3810d3['CollaborationEvent'][_0x856193(0x2b1)],'data':{'unitID':this[_0x856193(0x36b)],'memberID':this[_0x856193(0x38b)][_0x856193(0x248)](),'selection':_0x511fa6['serializeRangeWithSheet'](_0x4dd231,_0x29053f[_0x856193(0x2dc)])}};this['_session'][_0x856193(0x3bb)](_0x38ef9d,this[_0x856193(0x36b)]);},_0x27048d)),(this[_0x156a83(0x36b)]=_0x3f0d19,this[_0x156a83(0x38b)]=_0x4feca9,this[_0x156a83(0x410)]=_0x5300e5,this['_colorAssignService']=_0x2c6915,this[_0x156a83(0x398)]=_0x166e07,this['_univerInstanceService']=_0x4766b1,this[_0x156a83(0x1c6)]=_0x4c816b,this[_0x156a83(0x36f)]=_0x440a62);}get[_0x151804(0x1bf)](){const _0x13bce4=_0x151804;return this[_0x13bce4(0x282)][_0x13bce4(0x313)]();}get[_0x151804(0x22b)](){const _0x4f89ff=_0x151804;return this[_0x4f89ff(0x1fe)]['getValue']();}['dispose'](){const _0x576611=_0x151804;super['dispose'](),this[_0x576611(0x282)][_0x576611(0x3ef)](new Map()),this[_0x576611(0x282)][_0x576611(0x138)](),this['_roomMembers$'][_0x576611(0x3ef)]([]),this['_roomMembers$'][_0x576611(0x138)]();}[_0x151804(0x3b2)](){const _0x5a4ca1=_0x151804;this[_0x5a4ca1(0x1b2)]||(this[_0x5a4ca1(0x1b2)]=!0x0,this[_0x5a4ca1(0x38b)][_0x5a4ca1(0x1f4)][_0x5a4ca1(0x2cc)](_0xdde2a6[_0x5a4ca1(0x23e)](this[_0x5a4ca1(0x2ef)]))[_0x5a4ca1(0x24d)](_0x403c3f=>{const _0x230ae3=_0x5a4ca1;_0x403c3f===_0x792235[_0x230ae3(0x226)]['ONLINE']?this[_0x230ae3(0x191)]():this['_toggleOffline']();}),this[_0x5a4ca1(0x38b)][_0x5a4ca1(0x15b)]['pipe'](_0xdde2a6[_0x5a4ca1(0x23e)](this['dispose$']))[_0x5a4ca1(0x24d)](_0x405056=>{const _0x34eafc=_0x5a4ca1,_0x4f7eb1=_0x405056[_0x34eafc(0x2b7)];_0x4f7eb1===_0x3810d3[_0x34eafc(0x219)][_0x34eafc(0x2b1)]&&this['_onCursorUpdate'](_0x405056),_0x4f7eb1===_0x3810d3[_0x34eafc(0x219)]['USERS_LEAVE']&&this[_0x34eafc(0x2fc)](_0x405056);}),this[_0x5a4ca1(0x21d)](),this[_0x5a4ca1(0x2f8)](this['_commandService'][_0x5a4ca1(0x280)](_0x2bbdbe=>{const _0x43c52b=_0x5a4ca1;if(this['_online']&&_0x2bbdbe['id']===_0x1901d9['SetSelectionsOperation']['id']&&_0x2bbdbe['params'][_0x43c52b(0x1a9)]===this[_0x43c52b(0x36b)]){const _0x28c91c=_0x2bbdbe[_0x43c52b(0x1cb)];this[_0x43c52b(0x2df)](_0x28c91c[_0x43c52b(0x41e)],_0x28c91c[_0x43c52b(0x2ad)][0x0]);}})));}['_onCursorUpdate'](_0x1e11b9){const _0x9daf96=_0x151804;var _0x167801,_0x472850;const {memberID:_0x49794b,selection:_0x315b14}=_0x1e11b9[_0x9daf96(0x40f)],{sheetName:_0x2a7d11,range:_0x4187ce}=_0x511fa6[_0x9daf96(0x30a)](_0x315b14),_0x25cf1d={'name':(_0x472850=(_0x167801=this[_0x9daf96(0x398)]['getMember'](this[_0x9daf96(0x36b)],_0x49794b))==null?void 0x0:_0x167801[_0x9daf96(0x2d6)])!=null?_0x472850:_0x9daf96(0x24c),'range':this[_0x9daf96(0x145)](_0x2a7d11,_0x4187ce),'sheetID':_0x2a7d11,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x49794b),'selection':_0x315b14},_0x11afd0=this[_0x9daf96(0x1bf)];_0x11afd0[_0x9daf96(0x2d7)](_0x49794b,_0x25cf1d),this[_0x9daf96(0x282)][_0x9daf96(0x3ef)](_0x11afd0);}[_0x151804(0x2fc)](_0x48b2d8){const _0x3757e3=_0x151804,{memberID:_0x16fdef}=_0x48b2d8[_0x3757e3(0x40f)],_0x30e545=this['cursorInfo'];_0x30e545[_0x3757e3(0x312)](_0x16fdef),this[_0x3757e3(0x282)][_0x3757e3(0x3ef)](_0x30e545);}['_getMergeRange'](_0xfe78d9,_0x3ecf){const _0x44f9eb=_0x151804;var _0x392b5a,_0x11a20e;const _0x35a07d=(_0x11a20e=(_0x392b5a=this[_0x44f9eb(0x224)][_0x44f9eb(0x196)](this[_0x44f9eb(0x36b)]))==null?void 0x0:_0x392b5a[_0x44f9eb(0x3cc)](_0xfe78d9))==null?void 0x0:_0x11a20e[_0x44f9eb(0x271)]();return(_0x35a07d==null?void 0x0:_0x35a07d[_0x44f9eb(0x394)](_0x41846f=>_0x4b903d[_0x44f9eb(0x401)][_0x44f9eb(0x39a)](_0x41846f,_0x3ecf)))||_0x3ecf;}[_0x151804(0x21d)](){const _0x57e0fa=_0x151804,_0x5d5409=new _0x4b903d[(_0x57e0fa(0x156))](),_0x1330bb=_0x381cd8(),_0x1bde8f=()=>{const _0x4c02bd=_0x57e0fa;_0x5d5409[_0x4c02bd(0x2b9)]();const _0x5eeb03=(_0x4b478e,_0x3dd49a,_0x44deb1,_0x469564)=>{const _0x4fdfe2=_0x4c02bd;let _0x1de7ff=[];switch(_0x4b478e['id']){case _0x1901d9[_0x4fdfe2(0x31b)][_0x4fdfe2(0x37a)]:{_0x1de7ff=_0x1901d9[_0x4fdfe2(0x2de)](_0x4b478e,_0x469564);break;}case _0x1901d9[_0x4fdfe2(0x31b)][_0x4fdfe2(0x38c)]:{_0x1de7ff=_0x1901d9[_0x4fdfe2(0x38e)](_0x4b478e,_0x469564);break;}case _0x1901d9[_0x4fdfe2(0x31b)][_0x4fdfe2(0x175)]:{_0x1de7ff=_0x1901d9[_0x4fdfe2(0x343)](_0x4b478e,_0x469564);break;}case _0x1901d9[_0x4fdfe2(0x31b)][_0x4fdfe2(0x25c)]:{_0x1de7ff=_0x1901d9[_0x4fdfe2(0x2f3)](_0x4b478e,_0x469564);break;}case _0x1901d9[_0x4fdfe2(0x31b)][_0x4fdfe2(0x421)]:{_0x1de7ff=_0x1901d9[_0x4fdfe2(0x1e5)](_0x4b478e,_0x469564);break;}case _0x1901d9[_0x4fdfe2(0x31b)]['InsertRowCommandId']:{_0x1de7ff=_0x1901d9[_0x4fdfe2(0x314)](_0x4b478e,_0x469564);break;}case _0x1901d9[_0x4fdfe2(0x31b)][_0x4fdfe2(0x2e0)]:{_0x1de7ff=_0x1901d9[_0x4fdfe2(0x208)](_0x4b478e,_0x469564);break;}case _0x1901d9[_0x4fdfe2(0x31b)][_0x4fdfe2(0x166)]:{_0x1de7ff=_0x1901d9['handleIRemoveCol'](_0x4b478e,_0x469564);break;}case _0x1901d9[_0x4fdfe2(0x31b)][_0x4fdfe2(0x3ae)]:{_0x1de7ff=_0x1901d9[_0x4fdfe2(0x331)](_0x4b478e,_0x469564);break;}}const _0x5e10fe=_0x1901d9['runRefRangeMutations'](_0x1de7ff,_0x469564),_0x39bebd=this[_0x4fdfe2(0x1bf)][_0x4fdfe2(0x1a2)](_0x3dd49a);if(_0x39bebd&&_0x5e10fe){const _0x2a34a1={..._0x39bebd,'range':_0x5e10fe};this[_0x4fdfe2(0x1bf)][_0x4fdfe2(0x2d7)](_0x3dd49a,_0x2a34a1),_0x1330bb(()=>{const _0x1e0d50=_0x4fdfe2,_0x30e76e=this[_0x1e0d50(0x36f)][_0x1e0d50(0x2ba)](_0x5e10fe,_0x2b78e8=>(_0x30e76e[_0x1e0d50(0x2b9)](),_0x5eeb03(_0x2b78e8,_0x3dd49a,_0x44deb1,_0x5e10fe)));_0x5d5409[_0x1e0d50(0x14a)](_0x30e76e);});}return{'redos':[],'undos':[]};};this[_0x4c02bd(0x1bf)]['forEach']((_0x45cc1b,_0x52eac3)=>{const _0x233b8f=_0x4c02bd,{range:_0x2d1bf8,sheetID:_0x5f116d}=_0x45cc1b,_0xe59f29=this[_0x233b8f(0x36f)][_0x233b8f(0x2ba)](_0x2d1bf8,_0x2f576a=>(_0xe59f29['dispose'](),_0x5eeb03(_0x2f576a,_0x52eac3,_0x5f116d,_0x2d1bf8)));_0x5d5409['add'](_0xe59f29);});};this[_0x57e0fa(0x2f8)](_0x4b903d[_0x57e0fa(0x402)](this[_0x57e0fa(0x282)]['subscribe'](()=>{_0x1bde8f();})));}[_0x151804(0x191)](){const _0x141527=_0x151804;var _0x1998b5,_0xe736ac;if(this[_0x141527(0x263)]=!0x0,((_0x1998b5=this[_0x141527(0x224)][_0x141527(0x265)]())==null?void 0x0:_0x1998b5[_0x141527(0x192)]())!==this[_0x141527(0x36b)])return;const _0x5c6426=(_0xe736ac=this[_0x141527(0x410)][_0x141527(0x1a2)](_0x1901d9['SheetsSelectionsService'])[_0x141527(0x2d5)]())==null?void 0x0:_0xe736ac[0x0],_0x215c70=this['_univerInstanceService'][_0x141527(0x360)](_0x4b903d[_0x141527(0x198)]['UNIVER_SHEET'])[_0x141527(0x169)]();_0x5c6426&&_0x215c70&&this[_0x141527(0x2df)](_0x215c70[_0x141527(0x1ed)](),_0x5c6426);}[_0x151804(0x292)](){this['_online']=!0x1;}};_0x4b2b97=_0x922f35([_0x234d1d(0x2,_0x4b903d['Inject'](_0x4b903d[_0x151804(0x28d)])),_0x234d1d(0x3,_0x4b903d[_0x151804(0x18d)](_0x2042e7)),_0x234d1d(0x4,_0x4b903d['Inject'](_0x792235['MemberService'])),_0x234d1d(0x5,_0x4b903d[_0x151804(0x342)]),_0x234d1d(0x6,_0x4b903d['ICommandService']),_0x234d1d(0x7,_0x4b903d[_0x151804(0x18d)](_0x1901d9[_0x151804(0x1ee)]))],_0x4b2b97);var _0x4ea7b0=Object[_0x151804(0x277)],_0x19ba5c=(_0x3fe9b2,_0x1617b4,_0x5ddb25,_0x40aad5)=>{const _0x2c6d2a=_0x151804;for(var _0x3721ab=_0x40aad5>0x1?void 0x0:_0x40aad5?_0x4ea7b0(_0x1617b4,_0x5ddb25):_0x1617b4,_0x4f3481=_0x3fe9b2[_0x2c6d2a(0x3e7)]-0x1,_0x473ecb;_0x4f3481>=0x0;_0x4f3481--)(_0x473ecb=_0x3fe9b2[_0x4f3481])&&(_0x3721ab=_0x473ecb(_0x3721ab)||_0x3721ab);return _0x3721ab;},_0x5b5a62=(_0x3acbd8,_0x483ca0)=>(_0x2d3554,_0x57f9fd)=>_0x483ca0(_0x2d3554,_0x57f9fd,_0x3acbd8);let _0x8fdf50=class extends _0x4b903d['RxDisposable']{constructor(_0x122faa,_0x31a3b6,_0x30991d){const _0x4aebbd=_0x151804;super(),_0x198f8a(this,_0x4aebbd(0x2ea),new Map()),_0x198f8a(this,'_entityInit$',new _0xdde2a6['Subject']()),(this[_0x4aebbd(0x224)]=_0x122faa,this[_0x4aebbd(0x410)]=_0x31a3b6,this['_collabSessionService']=_0x30991d,this['_init']());}['dispose'](){const _0x345322=_0x151804;super['dispose'](),this[_0x345322(0x142)][_0x345322(0x138)](),this['_entities']['forEach'](_0x5d8b32=>_0x5d8b32[_0x345322(0x2b9)]());}[_0x151804(0x28c)](_0x2c6173){const _0x59d842=_0x151804;return this[_0x59d842(0x2ea)][_0x59d842(0x326)](_0x2c6173)?this['_entities']['get'](_0x2c6173)[_0x59d842(0x29f)]:this[_0x59d842(0x142)]['pipe'](_0xdde2a6[_0x59d842(0x182)](_0x22f9aa=>_0x22f9aa[_0x59d842(0x36b)]===_0x2c6173),_0xdde2a6['switchMap'](_0x5ee953=>_0x5ee953[_0x59d842(0x29f)]));}[_0x151804(0x1b2)](){const _0x46753b=_0x151804;this['_univerInstanceService'][_0x46753b(0x408)](_0x4b903d[_0x46753b(0x198)][_0x46753b(0x21f)])[_0x46753b(0x2cc)](_0xdde2a6[_0x46753b(0x23e)](this[_0x46753b(0x2ef)]))[_0x46753b(0x24d)](async _0x4ca33e=>{const _0x10a97b=_0x46753b,_0x11e9fe=_0x4ca33e['getUnitId'](),_0x20c858=await this[_0x10a97b(0x415)](_0x11e9fe);this['_entityInit$'][_0x10a97b(0x3ef)](_0x20c858),this[_0x10a97b(0x2ea)]['set'](_0x11e9fe,_0x20c858);}),this[_0x46753b(0x224)][_0x46753b(0x408)](_0x4b903d[_0x46753b(0x198)][_0x46753b(0x1b9)])[_0x46753b(0x2cc)](_0xdde2a6[_0x46753b(0x23e)](this[_0x46753b(0x2ef)]))[_0x46753b(0x2cc)](_0xdde2a6[_0x46753b(0x182)](_0x16c882=>!_0x16c882['getUnitId']()['startsWith']('__')))[_0x46753b(0x24d)](async _0x3324f8=>{const _0x57db11=_0x46753b,_0x48b584=_0x3324f8[_0x57db11(0x192)](),_0x51363c=await this[_0x57db11(0x1bb)](_0x48b584);this['_entityInit$'][_0x57db11(0x3ef)](_0x51363c),this[_0x57db11(0x2ea)][_0x57db11(0x2d7)](_0x48b584,_0x51363c);}),_0xdde2a6[_0x46753b(0x30e)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x4b903d[_0x46753b(0x198)][_0x46753b(0x1b9)]),this[_0x46753b(0x224)][_0x46753b(0x2ca)](_0x4b903d[_0x46753b(0x198)][_0x46753b(0x21f)]))[_0x46753b(0x2cc)](_0xdde2a6['takeUntil'](this[_0x46753b(0x2ef)]))['subscribe'](_0x287c36=>{const _0x2bba80=_0x46753b,_0x3b811a=_0x287c36[_0x2bba80(0x192)](),_0x1906af=this[_0x2bba80(0x2ea)][_0x2bba80(0x1a2)](_0x3b811a);_0x1906af&&(_0x1906af['dispose'](),this['_entities'][_0x2bba80(0x312)](_0x3b811a));});}async[_0x151804(0x415)](_0x17ffbc){const _0x10cb83=_0x151804,_0x230928=await this[_0x10cb83(0x3e1)]['requireSession'](_0x17ffbc),_0x532afa=this[_0x10cb83(0x410)][_0x10cb83(0x37c)](_0x4b2b97,_0x17ffbc,_0x230928);return _0x532afa[_0x10cb83(0x3b2)](),_0x532afa;}async[_0x151804(0x1bb)](_0x3c80b0){const _0x319167=_0x151804,_0x1bce1d=await this[_0x319167(0x3e1)]['requireSession'](_0x3c80b0),_0xe0d034=this['_injector'][_0x319167(0x37c)](_0xe1e1b0,_0x3c80b0,_0x1bce1d);return _0xe0d034['init'](),_0xe0d034;}};_0x8fdf50=_0x19ba5c([_0x5b5a62(0x0,_0x4b903d['IUniverInstanceService']),_0x5b5a62(0x1,_0x4b903d['Inject'](_0x4b903d['Injector'])),_0x5b5a62(0x2,_0x4b903d[_0x151804(0x18d)](_0x792235[_0x151804(0x167)]))],_0x8fdf50);const _0x167404=0x14,_0x51a030=0xc8,_0x435d0b=0x4,_0x52f54a=0x5;function _0x4ddd1c(_0x1f6446,_0x51468c){const _0x6353e=_0x151804;let {radius:_0x4072f3,width:_0x35c7e8,height:_0x3bb318}=_0x51468c;_0x4072f3=_0x4072f3!=null?_0x4072f3:0x0,_0x35c7e8=_0x35c7e8!=null?_0x35c7e8:0x1e,_0x3bb318=_0x3bb318!=null?_0x3bb318:0x1e;let _0x2658a3=0x0,_0x160211=0x0,_0x3a5ec9=0x0;_0x2658a3=_0x160211=_0x3a5ec9=Math[_0x6353e(0x1cd)](_0x4072f3,_0x35c7e8/0x2,_0x3bb318/0x2),_0x1f6446['beginPath'](),_0x1f6446[_0x6353e(0x3cb)](_0x2658a3,0x0),_0x1f6446[_0x6353e(0x250)](_0x35c7e8-_0x160211,0x0),_0x1f6446['arc'](_0x35c7e8-_0x160211,_0x160211,_0x160211,Math['PI']*0x3/0x2,0x0,!0x1),_0x1f6446['lineTo'](_0x35c7e8,_0x3bb318-_0x3a5ec9),_0x1f6446['arc'](_0x35c7e8-_0x3a5ec9,_0x3bb318-_0x3a5ec9,_0x3a5ec9,0x0,Math['PI']/0x2,!0x1),_0x1f6446['lineTo'](0x0,_0x3bb318),_0x1f6446[_0x6353e(0x250)](0x0,_0x2658a3),_0x1f6446['arc'](_0x2658a3,_0x2658a3,_0x2658a3,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1f6446[_0x6353e(0x231)](),_0x51468c[_0x6353e(0x385)]&&(_0x1f6446[_0x6353e(0x1d2)](),_0x1f6446[_0x6353e(0x235)]=_0x51468c[_0x6353e(0x385)],_0x51468c[_0x6353e(0x2c9)]==='evenodd'?_0x1f6446[_0x6353e(0x385)](_0x6353e(0x253)):_0x1f6446['fill'](),_0x1f6446[_0x6353e(0x160)]());}class _0x15c6f5 extends _0x36ac30[_0x151804(0x162)]{constructor(_0x4cb956,_0xcf942){const _0x2c39f4=_0x151804;super(_0x4cb956,_0xcf942),_0x198f8a(this,'color'),_0x198f8a(this,_0x2c39f4(0x3ee)),(this['color']=_0xcf942==null?void 0x0:_0xcf942[_0x2c39f4(0x1cf)],this[_0x2c39f4(0x3ee)]=_0xcf942==null?void 0x0:_0xcf942[_0x2c39f4(0x3ee)]);}static[_0x151804(0x2a4)](_0x382d98,_0x355e45){const _0x31ec77=_0x151804,{text:_0x1985a3,color:_0x1ecbbb}=_0x355e45;_0x382d98['save'](),_0x382d98[_0x31ec77(0x26b)]=_0x31ec77(0x392);const _0x50f954=_0x382d98[_0x31ec77(0x3f4)](_0x1985a3)['width'],_0x12b761=Math[_0x31ec77(0x1cd)](_0x50f954+0x2*_0x435d0b,_0x51a030);_0x4ddd1c(_0x382d98,{'height':_0x167404,'radius':0x4,'width':_0x12b761,'fill':_0x1ecbbb}),_0x382d98[_0x31ec77(0x235)]=_0x31ec77(0x3a6);const _0x2289b7=_0x435d0b,_0x207c38=_0x167404-_0x52f54a,_0x4e993b=_0x51a030-0x2*_0x435d0b;if(_0x50f954>_0x4e993b){let _0x13ff58='',_0x3d38f2=0x0;for(const _0x271c41 of _0x1985a3){const _0x5d2dc6=_0x382d98['measureText'](_0x271c41)['width'];if(_0x3d38f2+_0x5d2dc6<=_0x4e993b-_0x382d98[_0x31ec77(0x3f4)](_0x31ec77(0x261))['width'])_0x13ff58+=_0x271c41,_0x3d38f2+=_0x5d2dc6;else{_0x13ff58+=_0x31ec77(0x261);break;}}_0x382d98[_0x31ec77(0x23b)](_0x13ff58,_0x2289b7,_0x207c38);}else _0x382d98[_0x31ec77(0x23b)](_0x1985a3,_0x2289b7,_0x207c38);_0x382d98['restore']();}[_0x151804(0x324)](_0x120217){const _0x9595e4=_0x151804;_0x15c6f5[_0x9595e4(0x2a4)](_0x120217,this);}}const _0x4713d0=_0x151804(0x154),_0xd887ec=_0x151804(0x34e),_0x3ed5c0='collab-rect-range-',_0x4676e9=0x6,_0x354497=1.5,_0x1b1ec9=0x4,_0x3be6aa=1.5,_0x16c755=_0x151804(0x1e7);class _0xc1fbc{constructor(_0x1845d1,_0x43662b,_0x14b8aa,_0x10c727){const _0x4cf6f3=_0x151804;_0x198f8a(this,'_shapes',[]),_0x198f8a(this,_0x4cf6f3(0x180),null),_0x198f8a(this,_0x4cf6f3(0x146),null),_0x198f8a(this,_0x4cf6f3(0x2c1),null),_0x198f8a(this,'_hideTimer',null),_0x198f8a(this,_0x4cf6f3(0x299),null),(this[_0x4cf6f3(0x1e8)]=_0x1845d1,this[_0x4cf6f3(0x13a)]=_0x43662b,this['_docSkeleton']=_0x14b8aa,this[_0x4cf6f3(0x27d)]=_0x10c727,this[_0x4cf6f3(0x319)]());}set[_0x151804(0x349)](_0x3a79e8){const _0x2cd21a=_0x151804;_0x3a79e8?(this[_0x2cd21a(0x2c1)]&&this[_0x2cd21a(0x2c1)]['hide'](),this[_0x2cd21a(0x146)]&&this['_textBubble'][_0x2cd21a(0x2d4)]()):(this[_0x2cd21a(0x2c1)]&&this[_0x2cd21a(0x2c1)][_0x2cd21a(0x2d4)](),this[_0x2cd21a(0x146)]&&this['_textBubble'][_0x2cd21a(0x17e)]());}[_0x151804(0x2b9)](){const _0x4a798c=_0x151804;for(const _0x398d4d of this['_shapes'])_0x398d4d[_0x4a798c(0x2b9)]();this[_0x4a798c(0x146)]&&this['_textBubble'][_0x4a798c(0x2b9)](),this[_0x4a798c(0x2c1)]&&this[_0x4a798c(0x2c1)][_0x4a798c(0x2b9)](),this['_anchor']&&this[_0x4a798c(0x180)]['dispose'](),this[_0x4a798c(0x299)]&&this[_0x4a798c(0x299)]();}[_0x151804(0x319)](){const _0x2b20fd=_0x151804;var _0x508f56;const {_docSkeleton:_0x115474,_document:_0x503544}=this,{color:_0x5c42ca,name:_0x3f9b06,ranges:_0x143411}=this[_0x2b20fd(0x1e8)],_0xc6f19b=_0x503544[_0x2b20fd(0x418)](),{docsLeft:_0xad75c4,docsTop:_0x30a8c0}=_0xc6f19b,_0x174016=new _0x809b8[(_0x2b20fd(0x350))](_0xc6f19b,_0x115474);for(const {startOffset:_0x2ccd77,endOffset:_0x3eaf2e,rangeType:_0x164cd3,segmentId:_0x325462,segmentPage:_0x1a0d0d,collapsed:_0x11ad65,isActive:_0x5d570f}of _0x143411){const _0x5c0345=_0x115474[_0x2b20fd(0x3a4)](_0x2ccd77,!0x0,_0x325462,_0x1a0d0d);let _0x25f4b0=_0x115474['findNodePositionByCharIndex'](_0x3eaf2e,!0x0,_0x325462,_0x1a0d0d);if(_0x25f4b0==null&&(_0x25f4b0=_0x115474[_0x2b20fd(0x3a4)](_0x3eaf2e-0x1,!0x1,_0x325462,_0x1a0d0d)),_0x5d570f){const {contentBoxPointGroup:_0x2b6dff}=_0x174016['getRangePointData'](_0x25f4b0,_0x25f4b0);if(_0x2b6dff[_0x2b20fd(0x3e7)]===0x0)continue;this[_0x2b20fd(0x31d)](_0x5c42ca,_0x2b6dff,_0xad75c4,_0x30a8c0,_0x3f9b06),this[_0x2b20fd(0x299)]=this[_0x2b20fd(0x17f)]();}if(_0x5c0345&&_0x25f4b0){if(_0x164cd3===_0x4b903d[_0x2b20fd(0x1f6)]['RECT']){const _0x6e7bd3=new _0x809b8[(_0x2b20fd(0x1de))](_0xc6f19b,_0x115474),{pointGroup:_0xf88919}=(_0x508f56=_0x6e7bd3[_0x2b20fd(0x37b)](_0x5c0345,_0x25f4b0))!=null?_0x508f56:{};if(_0xf88919==null||_0xf88919[_0x2b20fd(0x3e7)]===0x0)continue;this[_0x2b20fd(0x1ab)](_0x5c42ca,_0xf88919,_0xad75c4,_0x30a8c0);}else{if(!_0x11ad65){const {borderBoxPointGroup:_0x566b2c}=_0x174016[_0x2b20fd(0x37b)](_0x5c0345,_0x25f4b0);if(_0x566b2c[_0x2b20fd(0x3e7)]===0x0)continue;this[_0x2b20fd(0x1e0)](_0x5c42ca,_0x566b2c,_0xad75c4,_0x30a8c0);}}}}}['_drawAnchor'](_0x8f3274,_0xcad356,_0x17361c,_0x357361,_0xfb19c0){const _0x215c2c=_0x151804,_0x1f9a4b=this[_0x215c2c(0x345)](_0xcad356),{left:_0x3eea0a,top:_0x13b910,height:_0x3ffc}=_0x1f9a4b,_0x1fc936=this['_getScale'](),_0x48a2ad=_0x3be6aa/_0x1fc936,_0x5640aa=new _0x36ac30[(_0x215c2c(0x243))](_0x4713d0+_0x4b903d[_0x215c2c(0x24b)](_0x4676e9),{'left':_0x3eea0a+_0x17361c-_0x48a2ad,'top':_0x13b910+_0x357361,'height':_0x3ffc,'width':_0x354497,'fill':_0x8f3274||_0x36ac30[_0x215c2c(0x2aa)](_0x4b903d[_0x215c2c(0x291)][_0x215c2c(0x1ef)],0x0),'strokeWidth':_0x48a2ad,'stroke':_0x16c755,'evented':!0x0});this['_anchor']=_0x5640aa,this[_0x215c2c(0x13a)][_0x215c2c(0x289)](_0x5640aa,_0x809b8[_0x215c2c(0x2f4)]);const _0x4dd750=new _0x36ac30[(_0x215c2c(0x243))](_0x4713d0+_0x4b903d['generateRandomId'](_0x4676e9),{'left':_0x3eea0a+_0x17361c-_0x48a2ad,'top':_0x13b910+_0x357361-_0x1b1ec9/0x2,'height':_0x1b1ec9,'width':_0x1b1ec9,'fill':_0x8f3274||_0x36ac30[_0x215c2c(0x2aa)](_0x4b903d[_0x215c2c(0x291)][_0x215c2c(0x1ef)],0x0),'strokeWidth':0x0,'stroke':_0x8f3274||_0x36ac30['getColor'](_0x4b903d[_0x215c2c(0x291)][_0x215c2c(0x1ef)],0x0),'evented':!0x1});this[_0x215c2c(0x2c1)]=_0x4dd750,this[_0x215c2c(0x13a)]['addObject'](_0x4dd750,_0x809b8[_0x215c2c(0x2f4)]);const _0x3536b3=new _0x15c6f5(_0x4713d0+_0x4b903d[_0x215c2c(0x24b)](_0x4676e9),{'left':_0x3eea0a+_0x17361c-_0x48a2ad,'top':_0x13b910+_0x357361-_0x167404,'text':_0xfb19c0,'color':_0x8f3274});this[_0x215c2c(0x146)]=_0x3536b3,this[_0x215c2c(0x13a)]['addObject'](_0x3536b3,_0x809b8[_0x215c2c(0x2f4)]),this['_hover']=!0x1;}['_handleHover'](){const _0xf0b697=_0x151804,_0x3afdbd=this[_0xf0b697(0x180)][_0xf0b697(0x357)][_0xf0b697(0x20e)](()=>{const _0x291a5b=_0xf0b697;this[_0x291a5b(0x349)]=!0x0;}),_0x1038cb=this[_0xf0b697(0x180)][_0xf0b697(0x35a)][_0xf0b697(0x20e)](()=>{const _0x1afc3f=_0xf0b697;this['_hideTimer']&&clearTimeout(this[_0x1afc3f(0x3ba)]),this[_0x1afc3f(0x3ba)]=setTimeout(()=>{const _0x376335=_0x1afc3f;this[_0x376335(0x349)]=!0x1;},0x7d0);});return()=>{const _0x46c887=_0xf0b697;_0x3afdbd['unsubscribe'](),_0x1038cb[_0x46c887(0x1ca)]();};}[_0x151804(0x1e0)](_0x5b98ff,_0x50ffbe,_0x8c617a,_0x172c3a){const _0x17e589=_0x151804,_0x314c84=new _0x4b903d['ColorKit'](_0x5b98ff)[_0x17e589(0x3f7)](0.2)[_0x17e589(0x246)](),_0x4eb79d=new _0x36ac30['RegularPolygon'](_0xd887ec+_0x4b903d[_0x17e589(0x24b)](_0x4676e9),{'pointsGroup':_0x50ffbe,'fill':_0x314c84||_0x36ac30[_0x17e589(0x2aa)](_0x4b903d[_0x17e589(0x291)][_0x17e589(0x1ef)],0.2),'left':_0x8c617a,'top':_0x172c3a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x17e589(0x34a)][_0x17e589(0x1eb)](_0x4eb79d),this[_0x17e589(0x13a)][_0x17e589(0x289)](_0x4eb79d,_0x809b8[_0x17e589(0x2f4)]);}[_0x151804(0x1ab)](_0x349a00,_0x1b6681,_0x13f569,_0x3ebbdb){const _0x191759=_0x151804,_0x28b5e5=new _0x4b903d[(_0x191759(0x35f))](_0x349a00)[_0x191759(0x3f7)](0.2)[_0x191759(0x246)](),_0xddd236=new _0x36ac30[(_0x191759(0x23c))](_0x3ed5c0+_0x4b903d['generateRandomId'](_0x4676e9),{'pointsGroup':_0x1b6681,'fill':_0x28b5e5||_0x36ac30[_0x191759(0x2aa)](_0x4b903d[_0x191759(0x291)][_0x191759(0x1ef)],0.2),'left':_0x13f569,'top':_0x3ebbdb,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x191759(0x34a)]['push'](_0xddd236),this[_0x191759(0x13a)]['addObject'](_0xddd236,_0x809b8[_0x191759(0x2f4)]);}[_0x151804(0x345)](_0xbf6b6a){const _0x4e1103=_0xbf6b6a[0x0],_0x8c8899=_0x4e1103[0x0],_0x2bd041=_0x4e1103[0x2],{x:_0x307534,y:_0x144959}=_0x8c8899,{x:_0x545149,y:_0x46eead}=_0x2bd041;return{'left':_0x307534,'top':_0x144959,'width':_0x545149-_0x307534,'height':_0x46eead-_0x144959};}[_0x151804(0x341)](){const _0x2d8c78=_0x151804,{scaleX:_0x426088,scaleY:_0x2d71f3}=this['_scene'][_0x2d8c78(0x3f3)]();return Math[_0x2d8c78(0x386)](_0x426088,_0x2d71f3);}}var _0x1ca2fa=Object['getOwnPropertyDescriptor'],_0x394d3f=(_0x295841,_0x321067,_0x39b61a,_0x349131)=>{const _0x40b787=_0x151804;for(var _0x4b14dd=_0x349131>0x1?void 0x0:_0x349131?_0x1ca2fa(_0x321067,_0x39b61a):_0x321067,_0x1da662=_0x295841[_0x40b787(0x3e7)]-0x1,_0x34a29b;_0x1da662>=0x0;_0x1da662--)(_0x34a29b=_0x295841[_0x1da662])&&(_0x4b14dd=_0x34a29b(_0x4b14dd)||_0x4b14dd);return _0x4b14dd;},_0x1ccf69=(_0x5e271e,_0x3fa8e8)=>(_0xf01f6e,_0x175f29)=>_0x3fa8e8(_0xf01f6e,_0x175f29,_0x5e271e);let _0x3e9cd4=class extends _0x4b903d[_0x151804(0x35d)]{constructor(_0x252915,_0x1c8ea1,_0x5ba69a,_0x5a1e59,_0x1008f1){const _0x235a00=_0x151804;super(),_0x198f8a(this,_0x235a00(0x323),[]),_0x198f8a(this,_0x235a00(0x249),[]),(this[_0x235a00(0x13b)]=_0x252915,this[_0x235a00(0x34b)]=_0x1c8ea1,this[_0x235a00(0x2eb)]=_0x5ba69a,this[_0x235a00(0x1c6)]=_0x5a1e59,this['_themeService']=_0x1008f1,this[_0x235a00(0x1b2)]());}['_init'](){const _0x1d4242=_0x151804,_0x2b4c37=this[_0x1d4242(0x13b)]['unitId'],_0x2c0c41=this[_0x1d4242(0x34b)];this[_0x1d4242(0x2f8)](_0xdde2a6[_0x1d4242(0x1ad)]([this[_0x1d4242(0x2eb)][_0x1d4242(0x28c)](_0x2b4c37),this[_0x1d4242(0x3a2)][_0x1d4242(0x168)]])[_0x1d4242(0x2cc)](_0x3a14cb[_0x1d4242(0x2a2)](([_0x434d03,_0x47179f])=>({'skeleton':_0x2c0c41[_0x1d4242(0x39e)](),'cursors':[..._0x434d03[_0x1d4242(0x27b)]()][_0x1d4242(0x1c9)](_0x4b5c18=>({..._0x4b5c18,'color':this['_themeService']['getColorFromTheme'](_0x4b5c18['color'])}))})))[_0x1d4242(0x24d)](_0x27c74a=>{const _0x1e9114=_0x1d4242;if(this[_0x1e9114(0x266)](),_0x27c74a){const {skeleton:_0xe49e98,cursors:_0x29df90}=_0x27c74a;this[_0x1e9114(0x417)](_0xe49e98,_0x29df90);}})),this[_0x1d4242(0x41a)](),this[_0x1d4242(0x390)]();}[_0x151804(0x417)](_0x4f300f,_0x495c0c){const _0x4f2e3d=_0x151804,{scene:_0x2b14ec,mainComponent:_0x1c8431}=this[_0x4f2e3d(0x13b)],_0x2be250=_0x495c0c[_0x4f2e3d(0x2a2)](_0xf14b8d=>new _0xc1fbc(_0xf14b8d,_0x2b14ec,_0x4f300f,_0x1c8431));this['_cursorShapes']=_0x2be250,this['_cursors']=_0x495c0c;}[_0x151804(0x334)](){const _0x4298e6=_0x151804;this[_0x4298e6(0x266)]();const {scene:_0x66e33d,mainComponent:_0x3a6490}=this[_0x4298e6(0x13b)],_0x1a6966=this['_docSkeletonManagerService'][_0x4298e6(0x39e)](),_0x50672f=this[_0x4298e6(0x249)][_0x4298e6(0x2a2)](_0xfb0b1b=>new _0xc1fbc(_0xfb0b1b,_0x66e33d,_0x1a6966,_0x3a6490));this[_0x4298e6(0x323)]=_0x50672f;}[_0x151804(0x266)](){const _0x6b500=_0x151804;this['_cursorShapes'][_0x6b500(0x293)](_0x11f33c=>_0x11f33c['dispose']()),this[_0x6b500(0x323)]=[];}[_0x151804(0x390)](){const _0x457570=_0x151804,_0xb02e59=[_0x809b8[_0x457570(0x295)]['id']];this[_0x457570(0x2f8)](this[_0x457570(0x1c6)][_0x457570(0x280)](_0xe0c73a=>{const _0x30b61a=_0x457570;_0xb02e59[_0x30b61a(0x36d)](_0xe0c73a['id'])&&_0xe0c73a[_0x30b61a(0x1cb)]['unitId']===this[_0x30b61a(0x13b)][_0x30b61a(0x1a9)]&&this[_0x30b61a(0x334)]();}));}['_initResize'](){const _0xb22a53=_0x151804;this['disposeWithMe'](_0x4b903d[_0xb22a53(0x26d)](this[_0xb22a53(0x13b)]['engine'][_0xb22a53(0x3ec)])[_0xb22a53(0x2cc)](_0x3a14cb[_0xb22a53(0x182)](_0x19fd8d=>_0x19fd8d[_0xb22a53(0x276)]===_0x36ac30[_0xb22a53(0x31f)][_0xb22a53(0x2a7)]),_0x3a14cb[_0xb22a53(0x217)](0x10))[_0xb22a53(0x24d)](()=>{const _0x2cfea6=_0xb22a53;this[_0x2cfea6(0x334)]();}));}};_0x3e9cd4=_0x394d3f([_0x1ccf69(0x1,_0x4b903d['Inject'](_0x4c8112[_0x151804(0x3c3)])),_0x1ccf69(0x2,_0x4b903d[_0x151804(0x18d)](_0x8fdf50)),_0x1ccf69(0x3,_0x4b903d['ICommandService']),_0x1ccf69(0x4,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x3ce)]))],_0x3e9cd4);const _0x49c0d0=0x1,_0x27c342=1.5;class _0x105416 extends _0x36ac30[_0x151804(0x162)]{constructor(_0x2c97de,_0x3ce2e9){const _0x43dc38=_0x151804;super(_0x2c97de,_0x3ce2e9),_0x198f8a(this,'_color'),_0x198f8a(this,'_hovered',!0x1),_0x198f8a(this,_0x43dc38(0x3c1)),_0x198f8a(this,_0x43dc38(0x2cf),''),_0x198f8a(this,'_labelPosition','top'),_0x198f8a(this,'_backgroundColor'),(_0x3ce2e9&&this[_0x43dc38(0x2c2)](_0x3ce2e9),this[_0x43dc38(0x357)][_0x43dc38(0x20e)](()=>this[_0x43dc38(0x2c2)]({'hovered':!0x0})),this[_0x43dc38(0x35a)][_0x43dc38(0x20e)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x406739){const _0x1563e1=_0x151804;var _0x1c2612,_0x276ea2,_0x183984,_0x215ef1,_0xfa84f3,_0x2fb473;this[_0x1563e1(0x3c5)]=(_0x1c2612=_0x406739['color'])!=null?_0x1c2612:this[_0x1563e1(0x3c5)],this[_0x1563e1(0x1bd)]=(_0x276ea2=_0x406739[_0x1563e1(0x3d6)])!=null?_0x276ea2:this[_0x1563e1(0x1bd)],this[_0x1563e1(0x3c1)]=(_0x183984=_0x406739[_0x1563e1(0x2dc)])!=null?_0x183984:this['_range'],this['_name']=(_0x215ef1=_0x406739[_0x1563e1(0x2d6)])!=null?_0x215ef1:this['_name'],this[_0x1563e1(0x179)]=(_0xfa84f3=_0x406739[_0x1563e1(0x2e3)])!=null?_0xfa84f3:this[_0x1563e1(0x179)],this[_0x1563e1(0x3e0)]=(_0x2fb473=_0x406739[_0x1563e1(0x36a)])!=null?_0x2fb473:this['_backgroundColor'],this[_0x1563e1(0x3af)]({'width':_0x406739[_0x1563e1(0x355)],'height':_0x406739[_0x1563e1(0x247)]});}[_0x151804(0x353)](_0x12b3d5){const _0x47dfc8=_0x151804,{row:_0x51213a,column:_0x3321f0}=_0x12b3d5;if(_0x51213a>=this[_0x47dfc8(0x3c1)][_0x47dfc8(0x1d9)]&&_0x51213a<=this[_0x47dfc8(0x3c1)][_0x47dfc8(0x1f8)]&&_0x3321f0>=this[_0x47dfc8(0x3c1)][_0x47dfc8(0x15d)]&&_0x3321f0<=this[_0x47dfc8(0x3c1)][_0x47dfc8(0x294)]){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x151804(0x13e)](_0x2dd481){return!0x1;}[_0x151804(0x324)](_0x4689e6){const _0x13fa7a=_0x151804;_0x36ac30[_0x13fa7a(0x243)][_0x13fa7a(0x2a4)](_0x4689e6,{'width':this['width'],'height':this[_0x13fa7a(0x247)],'strokeWidth':_0x27c342,'stroke':this[_0x13fa7a(0x3c5)],'evented':!0x1,'fill':this[_0x13fa7a(0x3e0)]}),this[_0x13fa7a(0x1bd)]&&(_0x4689e6[_0x13fa7a(0x1d2)](),_0x4689e6[_0x13fa7a(0x3f6)](0x1,0x0,0x0,0x1,this[_0x13fa7a(0x355)],this[_0x13fa7a(0x179)]===_0x13fa7a(0x33d)?0x0:-_0x167404),_0x15c6f5[_0x13fa7a(0x2a4)](_0x4689e6,{'text':this[_0x13fa7a(0x2cf)],'color':this['_color']}),_0x4689e6[_0x13fa7a(0x160)]());}}var _0x2abc87=Object['getOwnPropertyDescriptor'],_0x4a5579=(_0x4b9b66,_0x23e776,_0x529207,_0x287adc)=>{for(var _0x151cf4=_0x287adc>0x1?void 0x0:_0x287adc?_0x2abc87(_0x23e776,_0x529207):_0x23e776,_0x2b61c0=_0x4b9b66['length']-0x1,_0x2a7aea;_0x2b61c0>=0x0;_0x2b61c0--)(_0x2a7aea=_0x4b9b66[_0x2b61c0])&&(_0x151cf4=_0x2a7aea(_0x151cf4)||_0x151cf4);return _0x151cf4;},_0x37de3b=(_0x23a192,_0x906d73)=>(_0x1eaa92,_0x268872)=>_0x906d73(_0x1eaa92,_0x268872,_0x23a192);const _0x340cbe=0x1389;let _0x3481bc=class extends _0x4b903d[_0x151804(0x35d)]{constructor(_0x950eb6,_0x2a7e12,_0x5bf512,_0x2d83c6){const _0x2cbf72=_0x151804;super(),_0x198f8a(this,_0x2cbf72(0x249),new Set()),_0x198f8a(this,_0x2cbf72(0x405),null),(this[_0x2cbf72(0x13b)]=_0x950eb6,this[_0x2cbf72(0x19c)]=_0x2a7e12,this[_0x2cbf72(0x2eb)]=_0x5bf512,this[_0x2cbf72(0x3a2)]=_0x2d83c6,this['_init']());}[_0x151804(0x1b2)](){const _0x40e611=_0x151804;this[_0x40e611(0x19c)][_0x40e611(0x1ea)][_0x40e611(0x2cc)](_0x3a14cb[_0x40e611(0x23e)](this[_0x40e611(0x2ef)]),_0x3a14cb['switchMap'](_0x127bf8=>{const _0x250c19=_0x40e611;if(_0x127bf8){const _0x2b63e7=_0x127bf8[_0x250c19(0x2b2)];return _0xdde2a6[_0x250c19(0x1ad)](this['_collabCursorController'][_0x250c19(0x28c)](this[_0x250c19(0x13b)][_0x250c19(0x1a9)]),this['_themeService'][_0x250c19(0x168)])[_0x250c19(0x2cc)](_0x3a14cb[_0x250c19(0x2a2)](([_0x4089c7,_0x6eba7c])=>{const _0x405613=_0x250c19,_0x1c82f4=new Map();return _0x4089c7[_0x405613(0x293)]((_0x441356,_0x4e3d13)=>{const _0x454bac=_0x405613;if(_0x441356[_0x454bac(0x3d3)]===_0x2b63e7){const _0x3351d0={..._0x441356};_0x3351d0[_0x454bac(0x1cf)]=this['_themeService'][_0x454bac(0x33e)](_0x441356[_0x454bac(0x1cf)]),_0x1c82f4[_0x454bac(0x2d7)](_0x4e3d13,_0x3351d0);}}),{'skeleton':_0x127bf8,'cursors':_0x1c82f4};}));}return _0xdde2a6['of']({'skeleton':null,'cursors':new Map()});}))[_0x40e611(0x24d)](({skeleton:_0x22ee56,cursors:_0x38d121})=>{const _0xe077e2=_0x40e611;this[_0xe077e2(0x266)](),_0x22ee56&&this[_0xe077e2(0x417)](_0x22ee56,_0x38d121);}),this[_0x40e611(0x19c)][_0x40e611(0x1ea)]['subscribe'](_0x4ff1ca=>{const _0x19ca23=_0x40e611;if(_0x4ff1ca==null)return;const {skeleton:_0x31c4dc}=_0x4ff1ca,{scene:_0x7a711d}=this['_context'];_0x7a711d['onPointerMove$']['subscribeEvent'](_0x4b903d[_0x19ca23(0x2ac)](_0x4ef36b=>{const _0x5bcd4f=_0x19ca23;var _0x5b07de,_0x53c19e;const {offsetX:_0x82c3ba,offsetY:_0x262db8}=_0x4ef36b,{x:_0x1ae050,y:_0x184f99}=_0x7a711d[_0x5bcd4f(0x300)](_0x36ac30['Vector2'][_0x5bcd4f(0x411)]([_0x82c3ba,_0x262db8])),{scaleX:_0x23801c,scaleY:_0x5a6196}=_0x7a711d[_0x5bcd4f(0x3f3)](),_0x30e215=_0x7a711d[_0x5bcd4f(0x1ba)](_0x36ac30[_0x5bcd4f(0x3a3)]['VIEW_MAIN']),_0x58ae44=_0x7a711d[_0x5bcd4f(0x369)](_0x36ac30['Vector2']['FromArray']([_0x1ae050,_0x184f99]),_0x30e215),_0x50da3d=_0x31c4dc[_0x5bcd4f(0x3e2)](_0x82c3ba,_0x262db8,_0x23801c,_0x5a6196,_0x58ae44);((_0x5b07de=this[_0x5bcd4f(0x405)])==null?void 0x0:_0x5b07de['column'])===_0x50da3d[_0x5bcd4f(0x206)]&&((_0x53c19e=this[_0x5bcd4f(0x405)])==null?void 0x0:_0x53c19e[_0x5bcd4f(0x2c4)])===_0x50da3d[_0x5bcd4f(0x2c4)]||this[_0x5bcd4f(0x249)][_0x5bcd4f(0x293)](_0x25ab19=>{const _0x340042=_0x5bcd4f;_0x25ab19[_0x340042(0x353)](_0x50da3d);});},0x64));});}[_0x151804(0x417)](_0x5b8d40,_0x4cb8b6){const _0xe8736c=_0x151804;var _0x54d14d;const _0x48b309=(_0x54d14d=this[_0xe8736c(0x19c)][_0xe8736c(0x3f0)]())==null?void 0x0:_0x54d14d[_0xe8736c(0x2d1)];if(!_0x48b309)return;const _0x2c4999=this[_0xe8736c(0x3be)]();if(!_0x2c4999)return;this[_0xe8736c(0x249)][_0xe8736c(0x293)](_0x275884=>{const _0x29441e=_0xe8736c;_0x275884[_0x29441e(0x315)]();});const {scene:_0x253dda}=_0x2c4999,_0x2bfaf3=_0x3df09c(Array['from'](_0x4cb8b6[_0xe8736c(0x27b)]()))[_0xe8736c(0x2a2)](_0x1c6bf6=>{const _0x45f969=_0xe8736c,{color:_0x9227ed,range:_0xb9a04b,name:_0x1ed242,selection:_0x196d86,sheetID:_0x23f9b8}=_0x1c6bf6,{startColumn:_0x5dcbbe,startRow:_0x7af52d,endColumn:_0x1dfd94,endRow:_0x48710c}=_0xb9a04b,_0x3b5e7a=_0x4362f1['getCoordByCell'](_0x7af52d,_0x5dcbbe,_0x253dda,_0x48b309),_0x547053=_0x4362f1[_0x45f969(0x1d6)](_0x48710c,_0x1dfd94,_0x253dda,_0x48b309),{columnHeaderHeightAndMarginTop:_0x334c5f}=_0x48b309,{startX:_0x4f0090,startY:_0x1d5539}=_0x3b5e7a,{endX:_0x17b657,endY:_0x1b0480}=_0x547053,_0x1576d7=_0x17b657-_0x4f0090,_0x332894=_0x1b0480-_0x1d5539,_0x5c70df={'labelPosition':_0x1d5539-_0x334c5f>=_0x167404?'top':_0x45f969(0x33d),'sheetID':_0x23f9b8,'range':_0xb9a04b,'color':_0x9227ed,'name':_0x1ed242,'selection':_0x196d86,'left':_0x4f0090,'top':_0x1d5539,'width':_0x1576d7,'height':_0x332894,'evented':!0x1,'zIndex':_0x340cbe};return new _0x105416(_0x1ed242,_0x5c70df);});_0x253dda[_0xe8736c(0x3d2)](_0x2bfaf3,_0x49c0d0),this[_0xe8736c(0x249)]=new Set(_0x2bfaf3);}[_0x151804(0x266)](){const _0x5802d9=_0x151804;var _0xfef0a7;(_0xfef0a7=this[_0x5802d9(0x249)])==null||_0xfef0a7[_0x5802d9(0x293)](_0x448285=>_0x448285['dispose']());}[_0x151804(0x3be)](){const _0x4099f7=_0x151804;return _0x4362f1[_0x4099f7(0x1e3)](this[_0x4099f7(0x13b)][_0x4099f7(0x330)],this[_0x4099f7(0x13b)]);}};_0x3481bc=_0x4a5579([_0x37de3b(0x1,_0x4b903d[_0x151804(0x18d)](_0x4362f1['SheetSkeletonManagerService'])),_0x37de3b(0x2,_0x4b903d[_0x151804(0x18d)](_0x8fdf50)),_0x37de3b(0x3,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x3ce)]))],_0x3481bc);function _0x3df09c(_0x164d7d){const _0x19430d=_0x151804,_0x56f620=new Map();return _0x164d7d[_0x19430d(0x293)](_0x1cdec8=>{const _0x4a0b46=_0x19430d;if(_0x56f620[_0x4a0b46(0x326)](_0x1cdec8[_0x4a0b46(0x2af)])){const _0x348488=_0x56f620[_0x4a0b46(0x1a2)](_0x1cdec8[_0x4a0b46(0x2af)]);_0x348488[_0x4a0b46(0x2d6)]+=',\x20'+_0x1cdec8[_0x4a0b46(0x2d6)];}else _0x56f620[_0x4a0b46(0x2d7)](_0x1cdec8[_0x4a0b46(0x2af)],_0x1cdec8);}),Array[_0x19430d(0x2bd)](_0x56f620[_0x19430d(0x27b)]());}var _0x1c45b9=Object[_0x151804(0x277)],_0x174f35=(_0x321099,_0x283f0a,_0x1a8fdb,_0x183133)=>{for(var _0x4b7541=_0x183133>0x1?void 0x0:_0x183133?_0x1c45b9(_0x283f0a,_0x1a8fdb):_0x283f0a,_0x186712=_0x321099['length']-0x1,_0x51621e;_0x186712>=0x0;_0x186712--)(_0x51621e=_0x321099[_0x186712])&&(_0x4b7541=_0x51621e(_0x4b7541)||_0x4b7541);return _0x4b7541;},_0x5c2120=(_0x1956e7,_0x281960)=>(_0x3a0349,_0x485c2b)=>_0x281960(_0x3a0349,_0x485c2b,_0x1956e7);let _0x492873=class extends _0x4b903d[_0x151804(0x176)]{constructor(_0x147ab3,_0x5e5e6b,_0x5af092,_0x4beaaf,_0x906691,_0x504ffe){const _0x27d472=_0x151804;super(),this[_0x27d472(0x3b9)]=_0x147ab3,this[_0x27d472(0x306)]=_0x5e5e6b,this[_0x27d472(0x225)]=_0x5af092,this['_messageService']=_0x4beaaf,this[_0x27d472(0x2e4)]=_0x906691,this[_0x27d472(0x304)]=_0x504ffe,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x151804(0x3f8)](){const _0x3e9026=_0x151804;this['disposeWithMe'](this[_0x3e9026(0x3b9)][_0x3e9026(0x1b8)](()=>{const _0x4352c8=_0x3e9026;if(this[_0x4352c8(0x306)][_0x4352c8(0x1fb)]['size'])return this['_localeService']['t'](_0x4352c8(0x3db));}));}[_0x151804(0x336)](){const _0x47c7a7=_0x151804;this['disposeWithMe'](this[_0x47c7a7(0x225)][_0x47c7a7(0x15b)]['subscribe'](_0x35afb6=>{const _0x429e5a=_0x47c7a7;_0x35afb6['id']===_0x792235[_0x429e5a(0x159)][_0x429e5a(0x393)]&&this['_messageService'][_0x429e5a(0x2d4)]({'type':_0x486dbb[_0x429e5a(0x3c4)][_0x429e5a(0x308)],'content':this[_0x429e5a(0x304)]['t']('collaboration.single-unit.warning')}),_0x35afb6['id']===_0x792235[_0x429e5a(0x159)]['CLOSE_ROOM']&&this[_0x429e5a(0x3a0)][_0x429e5a(0x2d4)]({'type':_0x486dbb[_0x429e5a(0x3c4)][_0x429e5a(0x308)],'content':this[_0x429e5a(0x304)]['t'](_0x429e5a(0x1f7))}),_0x35afb6['id']===_0x792235['CollaborationUIEventId'][_0x429e5a(0x328)]&&this[_0x429e5a(0x2e4)]['show']({'title':this[_0x429e5a(0x304)]['t']('permission.title'),'content':this[_0x429e5a(0x304)]['t'](_0x429e5a(0x207)),'type':_0x429e5a(0x2ff),'duration':0x0}),_0x35afb6['id']===_0x792235['CollaborationUIEventId'][_0x429e5a(0x41c)]&&this[_0x429e5a(0x3a0)][_0x429e5a(0x2d4)]({'type':_0x486dbb[_0x429e5a(0x3c4)][_0x429e5a(0x2a1)],'content':this['_localeService']['t'](_0x429e5a(0x1f7))+'('+_0x35afb6[_0x429e5a(0x40f)]+')'}),_0x35afb6['id']===_0x792235[_0x429e5a(0x159)][_0x429e5a(0x25f)]&&this['_messageService']['show']({'type':_0x486dbb[_0x429e5a(0x3c4)]['Warning'],'content':this[_0x429e5a(0x304)]['t'](_0x35afb6[_0x429e5a(0x40f)]||'')}),_0x35afb6['id']===_0x792235[_0x429e5a(0x159)][_0x429e5a(0x16d)]&&this['_messageService'][_0x429e5a(0x2d4)]({'type':_0x486dbb[_0x429e5a(0x3c4)][_0x429e5a(0x308)],'content':this[_0x429e5a(0x304)]['t'](_0x429e5a(0x27e))}),_0x35afb6['id']===_0x792235[_0x429e5a(0x159)][_0x429e5a(0x396)]&&this[_0x429e5a(0x3a0)][_0x429e5a(0x2d4)]({'type':_0x486dbb[_0x429e5a(0x3c4)]['Error'],'content':this['_localeService']['t'](_0x429e5a(0x14c))}),_0x35afb6['id']===_0x792235[_0x429e5a(0x159)]['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService']['show']({'type':_0x486dbb[_0x429e5a(0x3c4)]['Error'],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};_0x492873=_0x174f35([_0x5c2120(0x0,_0x109597['IBeforeCloseService']),_0x5c2120(0x1,_0x792235['ILocalCacheService']),_0x5c2120(0x2,_0x4b903d[_0x151804(0x18d)](_0x792235[_0x151804(0x34c)])),_0x5c2120(0x3,_0x109597[_0x151804(0x1e1)]),_0x5c2120(0x4,_0x109597[_0x151804(0x2f2)]),_0x5c2120(0x5,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x3de)]))],_0x492873);var _0x2a1ed3=Object[_0x151804(0x277)],_0x1d1b2c=(_0x4ef4e5,_0x4cf192,_0x211590,_0x5e1455)=>{const _0x21f337=_0x151804;for(var _0x59ba27=_0x5e1455>0x1?void 0x0:_0x5e1455?_0x2a1ed3(_0x4cf192,_0x211590):_0x4cf192,_0xa3275b=_0x4ef4e5[_0x21f337(0x3e7)]-0x1,_0x5e367e;_0xa3275b>=0x0;_0xa3275b--)(_0x5e367e=_0x4ef4e5[_0xa3275b])&&(_0x59ba27=_0x5e367e(_0x59ba27)||_0x59ba27);return _0x59ba27;},_0x503f65=(_0x3bf4f2,_0xdb85b9)=>(_0x45ef27,_0x26471b)=>_0xdb85b9(_0x45ef27,_0x26471b,_0x3bf4f2);let _0x48fc71=class extends _0x4b903d[_0x151804(0x176)]{constructor(_0x3b41eb,_0xd74649,_0xe3a714,_0x2cad09){const _0x118129=_0x151804;super(),_0x198f8a(this,_0x118129(0x391)),(this[_0x118129(0x410)]=_0x3b41eb,this[_0x118129(0x3b3)]=_0xd74649,this[_0x118129(0x338)]=_0xe3a714,this[_0x118129(0x16b)]=_0x2cad09,this[_0x118129(0x1b2)]());}['_init'](){const _0x2ee006=_0x151804;this['_initWindowErrorListener'](),this[_0x2ee006(0x399)](),this[_0x2ee006(0x404)](),this[_0x2ee006(0x269)]();}['_initUserListener'](){const _0x4cf586=_0x151804;this[_0x4cf586(0x2f8)](this['_collaborationSessionService']['socket$'][_0x4cf586(0x24d)](_0x3ce960=>{const _0x5d9fb1=_0x4cf586;this[_0x5d9fb1(0x391)]=_0x3ce960==null?void 0x0:_0x3ce960[_0x5d9fb1(0x19b)];}));}[_0x151804(0x19f)](){const _0x191ab9=_0x151804,_0x37e98f=_0x45d830=>{const _0xfda7d1=_0x533d;var _0x114485;this['_uploadLog'](_0xfda7d1(0x2ff),_0xfda7d1(0x1ec)+_0x45d830[_0xfda7d1(0x3d7)]+'\x20at\x20'+_0x45d830['filename']+':'+_0x45d830[_0xfda7d1(0x2b4)]+':'+_0x45d830[_0xfda7d1(0x370)]+'\x0a'+(((_0x114485=_0x45d830[_0xfda7d1(0x2ff)])==null?void 0x0:_0x114485[_0xfda7d1(0x3b5)])||''));};window[_0x191ab9(0x3bc)](_0x191ab9(0x2ff),_0x37e98f),this['disposeWithMe'](()=>{const _0x323870=_0x191ab9;window[_0x323870(0x2b3)](_0x323870(0x2ff),_0x37e98f);});}[_0x151804(0x399)](){const _0x3104b5=_0x151804,_0x3209a0=_0x35e05f=>{const _0x12fbd1=_0x533d;this['_uploadLog']('error',_0x12fbd1(0x172)+_0x35e05f[_0x12fbd1(0x1d8)]);};window[_0x3104b5(0x3bc)](_0x3104b5(0x371),_0x3209a0),this[_0x3104b5(0x2f8)](()=>{const _0x342b28=_0x3104b5;window[_0x342b28(0x2b3)]('unhandledrejection',_0x3209a0);});}[_0x151804(0x404)](){const _0x1e03b2=_0x151804,_0x2b433f=this['_logService'][_0x1e03b2(0x2ff)]['bind'](this[_0x1e03b2(0x338)]);this[_0x1e03b2(0x338)][_0x1e03b2(0x2ff)]=(..._0x389c7a)=>{const _0x15458d=_0x1e03b2,_0x304aa6=_0x389c7a[_0x15458d(0x2a2)](_0x4c3dc4=>_0x4c3dc4 instanceof Error?_0x4c3dc4[_0x15458d(0x3d7)]+'\x0a'+_0x4c3dc4[_0x15458d(0x3b5)]:String(_0x4c3dc4))[_0x15458d(0x3eb)]('\x20');this[_0x15458d(0x3bf)]('error',_0x15458d(0x3ab)+_0x304aa6),_0x2b433f(..._0x389c7a);},this[_0x1e03b2(0x2f8)](()=>{const _0x1df2ec=_0x1e03b2;this[_0x1df2ec(0x338)][_0x1df2ec(0x2ff)]=_0x2b433f;});}['_uploadLog'](_0x48597e,_0x4d9f50){const _0x11199a=_0x151804;try{const _0x5c70fa={'userId':this[_0x11199a(0x391)],'logLabel':_0x48597e,'content':_0x4d9f50};this[_0x11199a(0x3b3)][_0x11199a(0x257)]('/universer-api/frontend/logs',{'body':_0x5c70fa})[_0x11199a(0x255)](()=>{});}catch{}}};_0x48fc71=_0x1d1b2c([_0x503f65(0x0,_0x4b903d[_0x151804(0x18d)](_0x4b903d['Injector'])),_0x503f65(0x1,_0x4b903d[_0x151804(0x18d)](_0x58c3fa[_0x151804(0x3f1)])),_0x503f65(0x2,_0x4b903d[_0x151804(0x1d4)]),_0x503f65(0x3,_0x4b903d['Inject'](_0x792235[_0x151804(0x167)]))],_0x48fc71);const _0x58e469='collaboration-client-ui.config',_0x6daa16={};var _0x308a00=Object[_0x151804(0x277)],_0x2a40f0=(_0x5a1fb3,_0xaf07fb,_0xe90649,_0x2e5f0f)=>{const _0x4fcd69=_0x151804;for(var _0x140fbd=_0x2e5f0f>0x1?void 0x0:_0x2e5f0f?_0x308a00(_0xaf07fb,_0xe90649):_0xaf07fb,_0x3a6c1f=_0x5a1fb3[_0x4fcd69(0x3e7)]-0x1,_0x4e1cab;_0x3a6c1f>=0x0;_0x3a6c1f--)(_0x4e1cab=_0x5a1fb3[_0x3a6c1f])&&(_0x140fbd=_0x4e1cab(_0x140fbd)||_0x140fbd);return _0x140fbd;},_0x5c4100=(_0x5b6cb1,_0xc57ebf)=>(_0x46c9b8,_0xec1398)=>_0xc57ebf(_0x46c9b8,_0xec1398,_0x5b6cb1);let _0x37eb54=class{constructor(_0x59e9e2,_0x307412){const _0x42908b=_0x151804;this[_0x42908b(0x21a)]=_0x59e9e2,this[_0x42908b(0x3bd)]=_0x307412;}[_0x151804(0x419)](_0x55dc0){const _0x241947=_0x151804;this[_0x241947(0x22d)](_0x55dc0),this[_0x241947(0x240)](_0x55dc0);}[_0x151804(0x2f5)](_0x2d3cf9){const _0x2c3563=_0x151804,{unitID:_0x179b3b}=_0x2d3cf9,_0xe0cebc=this[_0x2c3563(0x3bd)][_0x2c3563(0x32a)](_0x179b3b)[_0x2c3563(0x1b6)](_0x809b8[_0x2c3563(0x204)]),{redoCache:_0x56dd4c}=_0xe0cebc[_0x2c3563(0x18a)]();if(_0x56dd4c['length']===0x0)return _0x2d3cf9;let _0x42dad4=_0x4b903d[_0x2c3563(0x395)]['deepClone'](_0x2d3cf9['mutations'][0x0]);for(let _0x5c14e4=0x0;_0x5c14e4<_0x56dd4c[_0x2c3563(0x3e7)];_0x5c14e4++){const _0x11ff6b={'id':_0x2c3563(0x362),'params':{..._0x56dd4c[_0x5c14e4]}},_0x2b41a8=this[_0x2c3563(0x21a)][_0x2c3563(0x244)](_0x42dad4,_0x11ff6b,!0x1);if(_0x3810d3[_0x2c3563(0x3c9)](_0x2b41a8))throw _0x2b41a8[_0x2c3563(0x2ff)];_0x42dad4=_0x2b41a8[_0x2c3563(0x1a8)];}return{..._0x4b903d[_0x2c3563(0x395)][_0x2c3563(0x3ed)](_0x2d3cf9),'mutations':[_0x42dad4]};}[_0x151804(0x22d)](_0x2c292f){const _0x345908=_0x151804,{unitID:_0x47f65f}=_0x2c292f,_0x4ae1c2=this['_renderManagerService'][_0x345908(0x32a)](_0x47f65f)[_0x345908(0x1b6)](_0x809b8[_0x345908(0x204)]),{undoCache:_0x4a6b37,redoCache:_0x3883db}=_0x4ae1c2[_0x345908(0x18a)]();if(_0x4a6b37[_0x345908(0x3e7)]===0x0||_0x3883db[_0x345908(0x3e7)]===0x0)return;const _0x5773c3=[],_0x53e579=[];let _0x418cb9=_0x4b903d[_0x345908(0x395)][_0x345908(0x3ed)](_0x2c292f[_0x345908(0x34d)][0x0]),_0x1a7cf1=_0x4b903d[_0x345908(0x395)][_0x345908(0x3ed)](_0x2c292f[_0x345908(0x34d)][0x0]);for(let _0x195115=_0x4a6b37[_0x345908(0x3e7)]-0x1;_0x195115>=0x0;_0x195115--){const _0x39f81d={'id':_0x345908(0x362),'params':{..._0x4a6b37[_0x195115]}},_0x185efc={'id':_0x345908(0x362),'params':{..._0x3883db[_0x195115]}},_0x35f143=this[_0x345908(0x21a)][_0x345908(0x244)](_0x418cb9,_0x39f81d,!0x1),_0x2750a8=this[_0x345908(0x21a)][_0x345908(0x244)](_0x1a7cf1,_0x185efc,!0x1);if(_0x3810d3['isTransformMutationFailure'](_0x35f143))throw _0x35f143[_0x345908(0x2ff)];if(_0x3810d3['isTransformMutationFailure'](_0x2750a8))throw _0x2750a8[_0x345908(0x2ff)];_0x5773c3[_0x345908(0x184)](_0x35f143[_0x345908(0x25b)][_0x345908(0x1cb)]),_0x53e579[_0x345908(0x184)](_0x2750a8['m2Prime'][_0x345908(0x1cb)]),_0x418cb9=_0x35f143['m1Prime'],_0x1a7cf1=_0x2750a8[_0x345908(0x1a8)];}_0x4ae1c2[_0x345908(0x382)]({'undoCache':_0x5773c3,'redoCache':_0x53e579});}[_0x151804(0x240)](_0x409fe4){const _0x53a731=_0x151804,{unitID:_0x14a2f8}=_0x409fe4,_0x56ac84=this[_0x53a731(0x3bd)][_0x53a731(0x32a)](_0x14a2f8)[_0x53a731(0x1b6)](_0x809b8['DocIMEInputManagerService']),_0x2a4993=_0x56ac84[_0x53a731(0x177)]();if(_0x2a4993==null)return;const _0x627a86=[{'id':_0x53a731(0x362),'params':{'unitId':_0x409fe4['unitID'],'actions':null,'textRanges':[_0x2a4993]}}],_0x1669e9=this[_0x53a731(0x21a)]['transformMutationsWithChangeset'](_0x409fe4,_0x627a86);if(!_0x3810d3[_0x53a731(0x1ff)](_0x1669e9))throw _0x1669e9[_0x53a731(0x2ff)];const _0x2d84a3=_0x1669e9[_0x53a731(0x25b)][0x0]['params'][_0x53a731(0x173)];Array['isArray'](_0x2d84a3)&&_0x2d84a3[_0x53a731(0x3e7)]&&_0x56ac84[_0x53a731(0x2d2)](_0x2d84a3[0x0]);}};_0x37eb54=_0x2a40f0([_0x5c4100(0x0,_0x3810d3[_0x151804(0x3aa)]),_0x5c4100(0x1,_0x36ac30['IRenderManagerService'])],_0x37eb54);var _0x4d87ad=Object['getOwnPropertyDescriptor'],_0x17dceb=(_0x420595,_0x5a4f0f,_0x4de47c,_0x186204)=>{const _0xa70dc=_0x151804;for(var _0x1c0750=_0x186204>0x1?void 0x0:_0x186204?_0x4d87ad(_0x5a4f0f,_0x4de47c):_0x5a4f0f,_0x438d39=_0x420595[_0xa70dc(0x3e7)]-0x1,_0x220c65;_0x438d39>=0x0;_0x438d39--)(_0x220c65=_0x420595[_0x438d39])&&(_0x1c0750=_0x220c65(_0x1c0750)||_0x1c0750);return _0x1c0750;},_0xd36a72=(_0x346644,_0x14d5a7)=>(_0x1c4f17,_0x147a54)=>_0x14d5a7(_0x1c4f17,_0x147a54,_0x346644);let _0x28eae8=class{constructor(_0x3c544d,_0x1096ef,_0x20a0b6){const _0x85c5d=_0x151804;this[_0x85c5d(0x410)]=_0x3c544d,this['_transformService']=_0x1096ef,this[_0x85c5d(0x22c)]=_0x20a0b6;}[_0x151804(0x358)](_0x32251e){const _0x4b0447=_0x151804;this[_0x4b0447(0x305)](_0x32251e);}[_0x151804(0x2f5)](_0x2aafcf){const _0x26aac7=_0x151804,{unitID:_0x47c506}=_0x2aafcf,{collaboration:_0x193000}=this['_docStateChangeManagerService']['getStateCache'](_0x47c506);if(_0x193000[_0x26aac7(0x3e7)]===0x0)return _0x2aafcf;let _0x56763c=_0x4b903d[_0x26aac7(0x395)]['deepClone'](_0x2aafcf['mutations'][0x0]);for(let _0x5b95c7=0x0;_0x5b95c7<_0x193000['length'];_0x5b95c7++){const _0x38d118={'id':_0x26aac7(0x362),'params':{'unitId':_0x193000[_0x5b95c7][_0x26aac7(0x1a9)],..._0x193000[_0x5b95c7][_0x26aac7(0x35c)]}},_0xc53519=this[_0x26aac7(0x21a)][_0x26aac7(0x244)](_0x56763c,_0x38d118,!0x1);if(_0x3810d3['isTransformMutationFailure'](_0xc53519))throw _0xc53519[_0x26aac7(0x2ff)];_0x56763c=_0xc53519[_0x26aac7(0x1a8)];}return{..._0x4b903d[_0x26aac7(0x395)]['deepClone'](_0x2aafcf),'mutations':[_0x56763c]};}[_0x151804(0x305)](_0x3bbcd6){const _0x238e58=_0x151804,{unitID:_0x537ea1}=_0x3bbcd6,{history:_0x56fb7e,collaboration:_0x3e2894}=this['_docStateChangeManagerService'][_0x238e58(0x236)](_0x537ea1);if(_0x56fb7e['length']===0x0&&_0x3e2894[_0x238e58(0x3e7)]===0x0)return;const _0x264ab0=[],_0x514a38=[];let _0x1ce5c6=_0x4b903d[_0x238e58(0x395)][_0x238e58(0x3ed)](_0x3bbcd6[_0x238e58(0x34d)][0x0]),_0x1dc0fa=_0x4b903d[_0x238e58(0x395)]['deepClone'](_0x3bbcd6['mutations'][0x0]);for(let _0x5b8f6f=_0x56fb7e[_0x238e58(0x3e7)]-0x1;_0x5b8f6f>=0x0;_0x5b8f6f--){const _0x303813={'id':_0x238e58(0x362),'params':{'unitId':_0x56fb7e[_0x5b8f6f][_0x238e58(0x1a9)],..._0x56fb7e[_0x5b8f6f]['undoState']}},_0x545604={'id':_0x238e58(0x362),'params':{'unitId':_0x56fb7e[_0x5b8f6f][_0x238e58(0x1a9)],..._0x56fb7e[_0x5b8f6f][_0x238e58(0x35c)]}},_0x29fb02=this[_0x238e58(0x21a)][_0x238e58(0x244)](_0x1ce5c6,_0x303813,!0x1),_0x50d4c3=this[_0x238e58(0x21a)][_0x238e58(0x244)](_0x1dc0fa,_0x545604,!0x1);if(_0x3810d3[_0x238e58(0x3c9)](_0x29fb02))throw _0x29fb02[_0x238e58(0x2ff)];if(_0x3810d3[_0x238e58(0x3c9)](_0x50d4c3))throw _0x50d4c3[_0x238e58(0x2ff)];_0x264ab0[_0x238e58(0x184)]({..._0x56fb7e[_0x5b8f6f],'undoState':_0x29fb02[_0x238e58(0x25b)][_0x238e58(0x1cb)],'redoState':_0x50d4c3[_0x238e58(0x25b)][_0x238e58(0x1cb)]}),_0x1ce5c6=_0x29fb02[_0x238e58(0x1a8)],_0x1dc0fa=_0x50d4c3[_0x238e58(0x1a8)];}_0x1ce5c6=_0x4b903d[_0x238e58(0x395)][_0x238e58(0x3ed)](_0x3bbcd6[_0x238e58(0x34d)][0x0]),_0x1dc0fa=_0x4b903d[_0x238e58(0x395)][_0x238e58(0x3ed)](_0x3bbcd6[_0x238e58(0x34d)][0x0]);for(let _0x3c3a83=_0x3e2894[_0x238e58(0x3e7)]-0x1;_0x3c3a83>=0x0;_0x3c3a83--){const _0x1874dd={'id':_0x238e58(0x362),'params':{'unitId':_0x3e2894[_0x3c3a83]['unitId'],..._0x3e2894[_0x3c3a83]['undoState']}},_0x12886a={'id':_0x238e58(0x362),'params':{'unitId':_0x3e2894[_0x3c3a83][_0x238e58(0x1a9)],..._0x3e2894[_0x3c3a83]['redoState']}},_0x48fc9b=this[_0x238e58(0x21a)][_0x238e58(0x244)](_0x1ce5c6,_0x1874dd,!0x1),_0x5148a1=this['_transformService']['transformMutation'](_0x1dc0fa,_0x12886a,!0x1);if(_0x3810d3['isTransformMutationFailure'](_0x48fc9b))throw _0x48fc9b[_0x238e58(0x2ff)];if(_0x3810d3['isTransformMutationFailure'](_0x5148a1))throw _0x5148a1['error'];_0x514a38[_0x238e58(0x184)]({..._0x3e2894[_0x3c3a83],'undoState':_0x48fc9b[_0x238e58(0x25b)]['params'],'redoState':_0x5148a1[_0x238e58(0x25b)]['params']}),_0x1ce5c6=_0x48fc9b['m1Prime'],_0x1dc0fa=_0x5148a1[_0x238e58(0x1a8)];}this['_docStateChangeManagerService'][_0x238e58(0x275)](_0x537ea1,{'history':_0x264ab0,'collaboration':_0x514a38});}};_0x28eae8=_0x17dceb([_0xd36a72(0x0,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x28d)])),_0xd36a72(0x1,_0x3810d3[_0x151804(0x3aa)]),_0xd36a72(0x2,_0x4b903d[_0x151804(0x18d)](_0x809b8[_0x151804(0x320)]))],_0x28eae8);var _0xb3bdd=Object[_0x151804(0x277)],_0x484c37=(_0x31b90f,_0x4d4405,_0x12b02c,_0x3e0ae6)=>{const _0x7e03b3=_0x151804;for(var _0x42b80f=_0x3e0ae6>0x1?void 0x0:_0x3e0ae6?_0xb3bdd(_0x4d4405,_0x12b02c):_0x4d4405,_0x140d09=_0x31b90f[_0x7e03b3(0x3e7)]-0x1,_0x113ce2;_0x140d09>=0x0;_0x140d09--)(_0x113ce2=_0x31b90f[_0x140d09])&&(_0x42b80f=_0x113ce2(_0x42b80f)||_0x42b80f);return _0x42b80f;},_0x1b81ef=(_0x34f45c,_0x164986)=>(_0x42c8f3,_0x2b62eb)=>_0x164986(_0x42c8f3,_0x2b62eb,_0x34f45c);let _0x37c8c3=class{constructor(_0x270515,_0x839625){const _0x2061a5=_0x151804;this['_injector']=_0x270515,this[_0x2061a5(0x21a)]=_0x839625;}[_0x151804(0x2b8)](_0x55631e){const _0x3cdb98=_0x151804;var _0x3ff802;const _0x3b4f2d=this[_0x3cdb98(0x410)][_0x3cdb98(0x1a2)](_0x4c8112[_0x3cdb98(0x22e)]),_0x41027e=(_0x3ff802=_0x3b4f2d['getDocRanges']())!=null?_0x3ff802:[];if(_0x41027e['length']===0x0)return;const _0xfb6904=_0x55631e[_0x3cdb98(0x36b)],_0x4c87b0=[{'id':_0x3cdb98(0x362),'params':{'unitId':_0xfb6904,'actions':null,'textRanges':_0x41027e}}],_0x3b6ac1=this['_transformService'][_0x3cdb98(0x273)](_0x55631e,_0x4c87b0);if(!_0x3810d3[_0x3cdb98(0x1ff)](_0x3b6ac1))throw _0x3b6ac1['error'];const _0x36c17a=_0x3b6ac1['m2Prime'][0x0]['params'][_0x3cdb98(0x173)];Array[_0x3cdb98(0x373)](_0x36c17a)&&_0x36c17a['length']&&_0x3b4f2d[_0x3cdb98(0x1fa)](_0x36c17a,{'unitId':_0xfb6904,'subUnitId':_0xfb6904},!0x1);}};_0x37c8c3=_0x484c37([_0x1b81ef(0x0,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x28d)])),_0x1b81ef(0x1,_0x3810d3[_0x151804(0x3aa)])],_0x37c8c3);var _0x354429=Object[_0x151804(0x277)],_0x469280=(_0x10f93c,_0x14630a,_0x3a99db,_0x517652)=>{const _0x45233c=_0x151804;for(var _0x25884e=_0x517652>0x1?void 0x0:_0x517652?_0x354429(_0x14630a,_0x3a99db):_0x14630a,_0x219ba0=_0x10f93c[_0x45233c(0x3e7)]-0x1,_0x3d7107;_0x219ba0>=0x0;_0x219ba0--)(_0x3d7107=_0x10f93c[_0x219ba0])&&(_0x25884e=_0x3d7107(_0x25884e)||_0x25884e);return _0x25884e;},_0x4c7540=(_0xdfbb88,_0x4aa08d)=>(_0xfe734f,_0x1cc31d)=>_0x4aa08d(_0xfe734f,_0x1cc31d,_0xdfbb88);let _0x337b06=class extends _0x4b903d[_0x151804(0x176)]{constructor(_0x2df077,_0x487325,_0x5c1295,_0x4015ca,_0x25535a,_0x1d7806,_0x48ed4a,_0x248218){const _0x1927d2=_0x151804;super(),_0x198f8a(this,'_status$',new _0xdde2a6[(_0x1927d2(0x2f9))](_0x792235[_0x1927d2(0x17c)]['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x2df077,this[_0x1927d2(0x268)]=_0x487325,this[_0x1927d2(0x356)]=_0x5c1295,this[_0x1927d2(0x40e)]=_0x4015ca,this[_0x1927d2(0x1ae)]=_0x25535a,this['_docSyncEditingCollabCursorService']=_0x1d7806,this['_messageService']=_0x48ed4a,this[_0x1927d2(0x304)]=_0x248218,this[_0x1927d2(0x221)]());}[_0x151804(0x221)](){const _0x26db84=_0x151804;this[_0x26db84(0x2f8)](this[_0x26db84(0x268)][_0x26db84(0x33a)][_0x26db84(0x24d)](_0x48f6b6=>{const _0x19c0f7=_0x26db84,_0x543b42=this[_0x19c0f7(0x22c)]['docStateChange$'][_0x19c0f7(0x24d)](_0x2fe264=>{const _0x26c864=_0x19c0f7;if(_0x2fe264==null)return;const {unitId:_0x245651,redoState:_0x209140,commandId:_0x351c25}=_0x2fe264;if(_0x245651!==_0x48f6b6[_0x26c864(0x36b)])return;const _0x235d68={'id':_0x351c25,'type':_0x4b903d['CommandType'][_0x26c864(0x3a9)],'params':{'unitId':_0x245651,'actions':_0x209140[_0x26c864(0x1bc)],'textRanges':null}};_0x48f6b6[_0x26c864(0x3c7)](_0x235d68);});if(_0x48f6b6['disposeWithMe'](_0x543b42),_0x48f6b6 instanceof _0x792235[_0x19c0f7(0x137)]){const _0x3b97b8={'onTransformIME':_0x502b7a=>this[_0x19c0f7(0x356)][_0x19c0f7(0x419)](_0x502b7a),'onTransformState':_0xbcad89=>this[_0x19c0f7(0x40e)][_0x19c0f7(0x358)](_0xbcad89),'onTransformSelections':_0x149231=>this[_0x19c0f7(0x1ae)]['transformSelections'](_0x149231),'onSyncEditingCollabCursor':_0x1082c9=>this[_0x19c0f7(0x41f)][_0x19c0f7(0x3d8)](_0x1082c9),'onTransformRemoteChangesetByIMECache':_0xfca5b=>this['_docTransformIMECacheService'][_0x19c0f7(0x2f5)](_0xfca5b),'onTransformRemoteChangesetByStateCache':_0x5e4110=>this[_0x19c0f7(0x40e)]['transformRemoteChangeset'](_0x5e4110)};_0x48f6b6[_0x19c0f7(0x223)](_0x3b97b8);}}));}};_0x337b06=_0x469280([_0x4c7540(0x0,_0x4b903d[_0x151804(0x18d)](_0x809b8[_0x151804(0x320)])),_0x4c7540(0x1,_0x4b903d['Inject'](_0x792235['CollaborationController'])),_0x4c7540(0x2,_0x4b903d['Inject'](_0x37eb54)),_0x4c7540(0x3,_0x4b903d['Inject'](_0x28eae8)),_0x4c7540(0x4,_0x4b903d['Inject'](_0x37c8c3)),_0x4c7540(0x5,_0x4b903d['Inject'](_0x103d56)),_0x4c7540(0x6,_0x109597[_0x151804(0x1e1)]),_0x4c7540(0x7,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x3de)]))],_0x337b06);var _0x36c5dc=(_0x221edf=>(_0x221edf[_0x221edf[_0x151804(0x284)]=0x0]=_0x151804(0x284),_0x221edf[_0x221edf['OK']=0x1]='OK',_0x221edf[_0x221edf[_0x151804(0x3fa)]=0x2]=_0x151804(0x3fa),_0x221edf[_0x221edf[_0x151804(0x328)]=0x3]='PERMISSION_DENIED',_0x221edf[_0x221edf[_0x151804(0x3df)]=0x4]=_0x151804(0x3df),_0x221edf[_0x221edf[_0x151804(0x348)]=0x5]=_0x151804(0x348),_0x221edf[_0x221edf[_0x151804(0x322)]=0x6]=_0x151804(0x322),_0x221edf[_0x221edf[_0x151804(0x321)]=0x7]=_0x151804(0x321),_0x221edf[_0x221edf[_0x151804(0x27a)]=0x8]='TOO_MANY_REQUESTS',_0x221edf[_0x221edf['COMPLETION_FINISHED']=0x9]=_0x151804(0x3c6),_0x221edf[_0x221edf[_0x151804(0x203)]=0xa]='LOGIN_FAILED',_0x221edf[_0x221edf[_0x151804(0x28f)]=0xb]=_0x151804(0x28f),_0x221edf[_0x221edf[_0x151804(0x1c2)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x221edf[_0x221edf['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x151804(0x301),_0x221edf[_0x221edf['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x151804(0x377),_0x221edf[_0x221edf['AUTHORIZE_CODE_ILLEGAL']=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x221edf[_0x221edf[_0x151804(0x346)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x221edf[_0x221edf['CURRENT_STATUS_CANNOT_OPERATE']=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x221edf[_0x221edf[_0x151804(0x298)]=0x65]='ERROR_AGAIN',_0x221edf[_0x221edf['USER_NOT_FOUND']=0xc9]=_0x151804(0x400),_0x221edf[_0x221edf[_0x151804(0x1cc)]=0xca]=_0x151804(0x1cc),_0x221edf[_0x221edf[_0x151804(0x25a)]=0x1389]=_0x151804(0x25a),_0x221edf[_0x221edf[_0x151804(0x19d)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x221edf[_0x221edf[_0x151804(0x210)]=0x1772]=_0x151804(0x210),_0x221edf[_0x221edf[_0x151804(0x2a8)]=0x1773]=_0x151804(0x2a8),_0x221edf[_0x221edf['APPLY_REJECT']=0x1b59]=_0x151804(0x39f),_0x221edf[_0x221edf['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x151804(0x1f1),_0x221edf[_0x221edf[_0x151804(0x148)]=0x1b5b]=_0x151804(0x148),_0x221edf[_0x221edf[_0x151804(0x2be)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x221edf[_0x221edf[_0x151804(0x38a)]=0x1b5d]=_0x151804(0x38a),_0x221edf[_0x221edf[_0x151804(0x181)]=0x1f41]=_0x151804(0x181),_0x221edf[_0x221edf[_0x151804(0x153)]=0x2329]=_0x151804(0x153),_0x221edf[_0x221edf[_0x151804(0x24a)]=0x232a]=_0x151804(0x24a),_0x221edf[_0x221edf[_0x151804(0x3b8)]=0x232b]=_0x151804(0x3b8),_0x221edf[_0x221edf[_0x151804(0x139)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x221edf[_0x221edf[_0x151804(0x2e5)]=0x232d]=_0x151804(0x2e5),_0x221edf[_0x221edf[_0x151804(0x165)]=0x2711]=_0x151804(0x165),_0x221edf[_0x221edf[_0x151804(0x3f9)]=0x2712]=_0x151804(0x3f9),_0x221edf[_0x221edf['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x151804(0x32c),_0x221edf[_0x221edf['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x151804(0x2f0),_0x221edf[_0x221edf[_0x151804(0x264)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x221edf[_0x221edf[_0x151804(0x23d)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x221edf[_0x221edf[_0x151804(0x296)]=0x271c]=_0x151804(0x296),_0x221edf[_0x221edf['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x221edf[_0x221edf['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x151804(0x31a),_0x221edf[_0x221edf['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x221edf[_0x221edf[_0x151804(0x3b6)]=0x2720]=_0x151804(0x3b6),_0x221edf[_0x221edf[_0x151804(0x3ff)]=0x2af9]=_0x151804(0x3ff),_0x221edf[_0x221edf[_0x151804(0x20a)]=0x2ee1]=_0x151804(0x20a),_0x221edf[_0x221edf[_0x151804(0x387)]=0x2ee2]=_0x151804(0x387),_0x221edf[_0x221edf[_0x151804(0x3dd)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x221edf[_0x221edf[_0x151804(0x21e)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x221edf[_0x221edf[_0x151804(0x2b5)]=0x2ee5]=_0x151804(0x2b5),_0x221edf[_0x221edf['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x151804(0x3ca),_0x221edf[_0x221edf['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x151804(0x303),_0x221edf[_0x221edf['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x151804(0x2ec),_0x221edf[_0x221edf['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x151804(0x30d),_0x221edf[_0x221edf[_0x151804(0x14b)]=0x36b2]=_0x151804(0x14b),_0x221edf[_0x221edf[_0x151804(0x1b1)]=0x36b3]=_0x151804(0x1b1),_0x221edf[_0x221edf[_0x151804(0x379)]=0x36b4]=_0x151804(0x379),_0x221edf[_0x221edf[_0x151804(0x2ee)]=0x36b5]=_0x151804(0x2ee),_0x221edf[_0x221edf[_0x151804(0x29a)]=0x36b6]=_0x151804(0x29a),_0x221edf[_0x221edf[_0x151804(0x1d3)]=0x36b7]=_0x151804(0x1d3),_0x221edf[_0x221edf[_0x151804(0x3c8)]=0x36b8]=_0x151804(0x3c8),_0x221edf[_0x221edf[_0x151804(0x26f)]=0x3715]=_0x151804(0x26f),_0x221edf[_0x221edf[_0x151804(0x1f9)]=0x3716]=_0x151804(0x1f9),_0x221edf[_0x221edf[_0x151804(0x21c)]=0x3717]=_0x151804(0x21c),_0x221edf[_0x221edf[_0x151804(0x354)]=0x37dd]=_0x151804(0x354),_0x221edf[_0x221edf[_0x151804(0x3d1)]=0x3a99]=_0x151804(0x3d1),_0x221edf[_0x221edf[_0x151804(0x149)]=0x3a9a]=_0x151804(0x149),_0x221edf[_0x221edf[_0x151804(0x13f)]=0x3a9b]=_0x151804(0x13f),_0x221edf[_0x221edf['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x151804(0x3ea),_0x221edf[_0x221edf[_0x151804(0x188)]=0x3a9d]=_0x151804(0x188),_0x221edf[_0x221edf[_0x151804(0x2f1)]=0x3a9e]=_0x151804(0x2f1),_0x221edf[_0x221edf[_0x151804(0x2ed)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x221edf[_0x221edf[_0x151804(0x13c)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x221edf[_0x221edf[_0x151804(0x1c5)]=-0x1]=_0x151804(0x1c5),_0x221edf))(_0x36c5dc||{});function _0xed846c(_0x275228){const _0x150c5c=_0x151804;var _0x419a9f,_0x53cea5;const _0x409ca8=(_0x419a9f=_0x275228['stageInfo'])==null?void 0x0:_0x419a9f[_0x150c5c(0x14f)],_0x59a5d7=((_0x53cea5=_0x275228[_0x150c5c(0x2e8)])==null?void 0x0:_0x53cea5[_0x150c5c(0x1b0)])||0x0;return _0x409ca8===_0x511fa6['FormulaExecuteStageType'][_0x150c5c(0x1f2)]&&_0x59a5d7>0x0;}function _0x1d571b(_0x1fcc2c){const _0x253705=_0x151804;return _0x1fcc2c[_0x253705(0x245)]===_0x511fa6[_0x253705(0x238)][_0x253705(0x272)];}var _0x206412=Object[_0x151804(0x277)],_0x4f8316=(_0x52f47b,_0xc7c620,_0x25f32e,_0x1470a3)=>{const _0x40146b=_0x151804;for(var _0x46f1d0=_0x1470a3>0x1?void 0x0:_0x1470a3?_0x206412(_0xc7c620,_0x25f32e):_0xc7c620,_0x3c1adb=_0x52f47b[_0x40146b(0x3e7)]-0x1,_0x341db9;_0x3c1adb>=0x0;_0x3c1adb--)(_0x341db9=_0x52f47b[_0x3c1adb])&&(_0x46f1d0=_0x341db9(_0x46f1d0)||_0x46f1d0);return _0x46f1d0;},_0x39e0af=(_0x58ccae,_0x3ba85d)=>(_0x5d02ad,_0x2f77de)=>_0x3ba85d(_0x5d02ad,_0x2f77de,_0x58ccae);const _0x2befbf='/universer-api/license/formula/limit/status',_0x3a8cd5='/universer-api/license/formula/limit/start',_0x43c983=_0x151804(0x279);let _0x27767e=class extends _0x4b903d['Disposable']{constructor(_0x1f13c7,_0x3ef86b,_0x48297b,_0x45ac14,_0x578c70,_0x2383cd,_0x1e8ca3){const _0x259f8a=_0x151804;super(),_0x198f8a(this,_0x259f8a(0x241),null),_0x198f8a(this,_0x259f8a(0x374),0x0),_0x198f8a(this,_0x259f8a(0x270),0x0),_0x198f8a(this,_0x259f8a(0x3a1),[]),_0x198f8a(this,_0x259f8a(0x28b),0x0),(this[_0x259f8a(0x3a0)]=_0x1f13c7,this[_0x259f8a(0x1c6)]=_0x3ef86b,this[_0x259f8a(0x316)]=_0x48297b,this[_0x259f8a(0x3b3)]=_0x45ac14,this['_univerInstanceService']=_0x578c70,this['_logService']=_0x2383cd,this['_localeService']=_0x1e8ca3,this[_0x259f8a(0x2d3)]());}[_0x151804(0x2d3)](){const _0x4243df=_0x151804;this[_0x4243df(0x2f8)](this[_0x4243df(0x1c6)][_0x4243df(0x3d5)]((_0x1ebb0b,_0x29c3e8)=>{const _0x4b411b=_0x4243df;var _0x199494;if(_0x1ebb0b['id']!==_0x511fa6[_0x4b411b(0x2ae)]['id'])return;const _0x3f8e27=_0x1ebb0b[_0x4b411b(0x1cb)];if(!this[_0x4b411b(0x2ab)]((_0x199494=_0x3f8e27[_0x4b411b(0x38d)])!=null?_0x199494:[]))return;if(!this[_0x4b411b(0x339)]())throw this['_checkAndWaitForCalculationPermission'](_0x1ebb0b,_0x29c3e8),this[_0x4b411b(0x232)](),new _0x4b903d[(_0x4b411b(0x195))]();})),this[_0x4243df(0x2f8)](this[_0x4243df(0x1c6)][_0x4243df(0x280)]((_0x486d4d,_0x328f42)=>{const _0x52b435=_0x4243df;if(_0x486d4d['id']!==_0x511fa6[_0x52b435(0x233)]['id'])return;const _0x218438=_0x486d4d[_0x52b435(0x1cb)];if(_0xed846c(_0x218438)){const _0x32318f=_0x4b903d[_0x52b435(0x24b)]();this[_0x52b435(0x3a1)][_0x52b435(0x1eb)](_0x32318f),this[_0x52b435(0x35b)](_0x32318f);}else{if(_0x1d571b(_0x218438)&&this[_0x52b435(0x3a1)]['length']>0x0){const _0x14ce88=this['_taskIds']['shift']();this['_releaseCalculationLimit'](_0x14ce88);}}}));}[_0x151804(0x2b9)](){const _0x263323=_0x151804;super['dispose'](),this[_0x263323(0x337)](),this[_0x263323(0x3a1)]=[],this[_0x263323(0x270)]=0x0,this[_0x263323(0x374)]=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x151804(0x2b6)](_0x26d79,_0x4269af){const _0x6f3c2c=_0x151804;for(let _0x1d9aa6=0x0;_0x1d9aa6<0x1e;_0x1d9aa6++)try{if(await this[_0x6f3c2c(0x1e4)](),this[_0x6f3c2c(0x339)]()){this['_applyCommand'](_0x26d79,_0x4269af),this[_0x6f3c2c(0x3a0)][_0x6f3c2c(0x2d4)]({'content':this[_0x6f3c2c(0x304)]['t'](_0x6f3c2c(0x22a)),'type':_0x486dbb[_0x6f3c2c(0x3c4)][_0x6f3c2c(0x297)]});return;}await new Promise(_0x312c5a=>{const _0x221c05=_0x6f3c2c;this[_0x221c05(0x241)]=window['setTimeout'](_0x312c5a,0x3e8);});}catch(_0x778bf5){this[_0x6f3c2c(0x338)]['error'](_0x778bf5);}this[_0x6f3c2c(0x3a0)]['show']({'content':this[_0x6f3c2c(0x304)]['t'](_0x6f3c2c(0x376)),'type':_0x486dbb['MessageType'][_0x6f3c2c(0x2a1)]});}[_0x151804(0x187)](_0x2cb789,_0x5a68b8){const _0xd9571c=_0x151804;try{this['_commandService'][_0xd9571c(0x3fd)](_0x2cb789['id'],_0x2cb789['params'],_0x5a68b8);}catch(_0x4c90c9){this[_0xd9571c(0x338)][_0xd9571c(0x2ff)](_0x4c90c9);}}['_setFormulaLimitStatus'](_0x3b660f,_0x446434){const _0x39f27a=_0x151804;_0x446434<this[_0x39f27a(0x28b)]||(this[_0x39f27a(0x28b)]=_0x446434,this[_0x39f27a(0x374)]=Number['parseInt'](_0x3b660f[_0x39f27a(0x228)]),this[_0x39f27a(0x270)]=Number['parseInt'](_0x3b660f[_0x39f27a(0x27c)]));}async['_startCalculationLimit'](_0x161389){const _0x4a0e5d=_0x151804;var _0x347d6d,_0x353bc5;const _0x535061=Date['now']();try{const _0x46ffa1=((_0x347d6d=this['_configService'][_0x4a0e5d(0x14e)](_0x792235[_0x4a0e5d(0x227)]))==null?void 0x0:_0x347d6d['startFormulaLimitUrl'])||_0x3a8cd5,_0x3a531d=(await this[_0x4a0e5d(0x3b3)]['post'](_0x46ffa1,{'body':JSON[_0x4a0e5d(0x1aa)]({'taskId':_0x161389})}))[_0x4a0e5d(0x1a0)];if(((_0x353bc5=_0x3a531d[_0x4a0e5d(0x2ff)])==null?void 0x0:_0x353bc5[_0x4a0e5d(0x378)])!==_0x36c5dc['OK'])return;this[_0x4a0e5d(0x3ac)](_0x3a531d['limitInfo'],_0x535061);}catch(_0x20ecda){this[_0x4a0e5d(0x338)][_0x4a0e5d(0x2ff)](_0x20ecda);}}async[_0x151804(0x1e4)](_0x495d76){const _0x17a212=_0x151804;var _0xdad023,_0x4c41ea;const _0x561f64=Date[_0x17a212(0x20d)]();try{const _0x12cf6a=((_0xdad023=this[_0x17a212(0x316)][_0x17a212(0x14e)](_0x792235[_0x17a212(0x227)]))==null?void 0x0:_0xdad023['getformulaLimitStatusUrl'])||_0x2befbf,_0x1906a2=_0x495d76?_0x12cf6a+_0x17a212(0x141)+encodeURIComponent(_0x495d76):_0x12cf6a,_0x447e3c=(await this[_0x17a212(0x3b3)][_0x17a212(0x1a2)](_0x1906a2))['body'];if(((_0x4c41ea=_0x447e3c[_0x17a212(0x2ff)])==null?void 0x0:_0x4c41ea[_0x17a212(0x378)])!==_0x36c5dc['OK'])return;this['_setFormulaLimitStatus'](_0x447e3c[_0x17a212(0x25e)],_0x561f64);}catch(_0x5d299b){this['_logService'][_0x17a212(0x2ff)](_0x5d299b);}}async[_0x151804(0x2e2)](_0x3c6040){const _0x239f94=_0x151804;var _0x4dfe60,_0x36540d;const _0xb753cb=Date[_0x239f94(0x20d)]();try{const _0x1e2e48=((_0x4dfe60=this[_0x239f94(0x316)][_0x239f94(0x14e)](_0x792235['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x4dfe60[_0x239f94(0x366)])||_0x43c983,_0x18d593=(await this[_0x239f94(0x3b3)][_0x239f94(0x257)](_0x1e2e48,{'body':JSON['stringify']({'taskId':_0x3c6040})}))[_0x239f94(0x1a0)];if(((_0x36540d=_0x18d593[_0x239f94(0x2ff)])==null?void 0x0:_0x36540d['code'])!==_0x36c5dc['OK'])return;this[_0x239f94(0x3ac)](_0x18d593[_0x239f94(0x25e)],_0xb753cb);}catch(_0x2c992f){this[_0x239f94(0x338)]['error'](_0x2c992f);}}[_0x151804(0x339)](){const _0x94f8c4=_0x151804;return this[_0x94f8c4(0x374)]===0x0?!0x0:this[_0x94f8c4(0x374)]-this[_0x94f8c4(0x270)]>0x0;}[_0x151804(0x337)](){const _0x4fc3f9=_0x151804;this[_0x4fc3f9(0x241)]&&(clearTimeout(this[_0x4fc3f9(0x241)]),this[_0x4fc3f9(0x241)]=null);}[_0x151804(0x232)](){const _0x31df76=_0x151804;this[_0x31df76(0x3a0)][_0x31df76(0x2d4)]({'content':this[_0x31df76(0x304)]['t'](_0x31df76(0x3a8)),'type':_0x486dbb['MessageType'][_0x31df76(0x2a9)]});}[_0x151804(0x2ab)](_0x5be480){const _0x3d7abd=_0x151804;for(const _0x412f02 of _0x5be480){const {unitId:_0x578865,sheetId:_0x1e6afa,range:_0x4487bf}=_0x412f02,_0x34406a=this['_univerInstanceService'][_0x3d7abd(0x333)](_0x578865);if(!_0x34406a)continue;const _0x10c898=_0x34406a[_0x3d7abd(0x3cc)](_0x1e6afa);if(!_0x10c898)continue;const _0x1c8bdc=_0x10c898[_0x3d7abd(0x170)]();for(let _0x3fa93c=_0x4487bf[_0x3d7abd(0x1d9)];_0x3fa93c<=_0x4487bf['endRow'];_0x3fa93c++)for(let _0x2e5238=_0x4487bf[_0x3d7abd(0x15d)];_0x2e5238<=_0x4487bf[_0x3d7abd(0x294)];_0x2e5238++){const _0x18d69b=_0x1c8bdc[_0x3d7abd(0x313)](_0x3fa93c,_0x2e5238);if(_0x18d69b&&(_0x4b903d[_0x3d7abd(0x1ac)](_0x18d69b['f'])||_0x4b903d[_0x3d7abd(0x30f)](_0x18d69b['si'])))return!0x0;}}return!0x1;}};_0x27767e=_0x4f8316([_0x39e0af(0x0,_0x4b903d[_0x151804(0x18d)](_0x109597[_0x151804(0x1e1)])),_0x39e0af(0x1,_0x4b903d['ICommandService']),_0x39e0af(0x2,_0x4b903d['IConfigService']),_0x39e0af(0x3,_0x4b903d[_0x151804(0x18d)](_0x58c3fa[_0x151804(0x3f1)])),_0x39e0af(0x4,_0x4b903d['IUniverInstanceService']),_0x39e0af(0x5,_0x4b903d['ILogService']),_0x39e0af(0x6,_0x4b903d['Inject'](_0x4b903d[_0x151804(0x3de)]))],_0x27767e);var _0x106516=Object['getOwnPropertyDescriptor'],_0x4c3645=(_0x24f99d,_0x15e2ad,_0x525292,_0x21e641)=>{for(var _0x45eba0=_0x21e641>0x1?void 0x0:_0x21e641?_0x106516(_0x15e2ad,_0x525292):_0x15e2ad,_0x180d01=_0x24f99d['length']-0x1,_0x4a05b5;_0x180d01>=0x0;_0x180d01--)(_0x4a05b5=_0x24f99d[_0x180d01])&&(_0x45eba0=_0x4a05b5(_0x45eba0)||_0x45eba0);return _0x45eba0;},_0x14d776=(_0x132494,_0x178296)=>(_0x420866,_0x6b338e)=>_0x178296(_0x420866,_0x6b338e,_0x132494);let _0x2ca6a3=class extends _0x4b903d[_0x151804(0x176)]{constructor(_0x51b720,_0x5f1c95,_0x536acd){const _0x4e0698=_0x151804;super(),_0x198f8a(this,_0x4e0698(0x381),new Map()),_0x198f8a(this,_0x4e0698(0x19a),new Map()),_0x198f8a(this,'_disabled',!0x1),(this[_0x4e0698(0x316)]=_0x51b720,this[_0x4e0698(0x352)]=_0x5f1c95,this[_0x4e0698(0x222)]=_0x536acd);}[_0x151804(0x2c5)](){this['_disabled']=!0x0;}[_0x151804(0x144)](){this['_disabled']=!0x1;}get[_0x151804(0x1fb)](){const _0x26e37f=_0x151804;return this[_0x26e37f(0x19a)];}[_0x151804(0x2b9)](){const _0x37d027=_0x151804;this[_0x37d027(0x1d1)]()[_0x37d027(0x39b)](()=>super['dispose']());}async[_0x151804(0x38f)](_0x54d320){const _0x4fcf8a=_0x151804;return this['_disabled']?null:this[_0x4fcf8a(0x352)]['getItem'](_0x792235[_0x4fcf8a(0x17d)](_0x54d320));}async['saveOfflineData'](_0x328549,_0x5b2d35){const _0x155c00=_0x151804;return!!this['_localStorageService'][_0x155c00(0x20c)](_0x328549,_0x5b2d35);}[_0x151804(0x26e)](_0x1b4d08,_0x174c69,_0x2d0c4a,_0x25399a){const _0xde1eb9=_0x151804,_0x204799=this[_0xde1eb9(0x222)][_0xde1eb9(0x29d)](_0x1b4d08);this['_cachedData'][_0xde1eb9(0x2d7)](_0x1b4d08,{'unitID':_0x1b4d08,'type':_0x174c69,'awaitingChangeset':_0x2d0c4a,'mutations':_0x25399a,'rev':_0x204799}),this[_0xde1eb9(0x19a)]['has'](_0x1b4d08)||this[_0xde1eb9(0x368)](_0x1b4d08);}[_0x151804(0x368)](_0x3b5a3c){const _0x1a5b78=_0x151804,_0x4d0175=this[_0x1a5b78(0x347)]();_0x4d0175===0x0?this[_0x1a5b78(0x267)](_0x3b5a3c):this[_0x1a5b78(0x19a)]['set'](_0x3b5a3c,setTimeout(()=>this[_0x1a5b78(0x267)](_0x3b5a3c),_0x4d0175));}['_getSaveTimeout'](){const _0x2b613b=_0x151804;var _0x355736;return(_0x355736=this[_0x2b613b(0x316)][_0x2b613b(0x14e)](_0x792235[_0x2b613b(0x2c6)]))!=null?_0x355736:_0x792235[_0x2b613b(0x1e6)];}[_0x151804(0x267)](_0x4a3fb7){const _0x11119d=_0x151804,_0xcf7bc7=this[_0x11119d(0x19a)][_0x11119d(0x1a2)](_0x4a3fb7);return _0xcf7bc7!==void 0x0&&window[_0x11119d(0x40a)](_0xcf7bc7),this[_0x11119d(0x352)][_0x11119d(0x20c)](_0x792235[_0x11119d(0x17d)](_0x4a3fb7),this[_0x11119d(0x381)]['get'](_0x4a3fb7))[_0x11119d(0x39b)](()=>this['_saveTaskMap'][_0x11119d(0x312)](_0x4a3fb7));}async[_0x151804(0x1d1)](){const _0xde3672=_0x151804,_0x5c9034=[];this['_saveTaskMap'][_0xde3672(0x293)]((_0xceeb21,_0x42831a)=>{const _0x566767=_0xde3672;window[_0x566767(0x40a)](_0xceeb21),_0x5c9034[_0x566767(0x1eb)](this[_0x566767(0x267)](_0x42831a)[_0x566767(0x39b)](()=>{const _0x10d743=_0x566767;this[_0x10d743(0x19a)][_0x10d743(0x312)](_0x42831a);}));}),await Promise[_0xde3672(0x389)](_0x5c9034);}};_0x2ca6a3=_0x4c3645([_0x14d776(0x0,_0x4b903d[_0x151804(0x281)]),_0x14d776(0x1,_0x4b903d['ILocalStorageService']),_0x14d776(0x2,_0x4b903d[_0x151804(0x18d)](_0x3810d3['RevisionService']))],_0x2ca6a3);class _0x551a25 extends _0x4b903d[_0x151804(0x35d)]{constructor(){const _0x4e73d4=_0x151804;super(),_0x198f8a(this,'urlChange$'),this[_0x4e73d4(0x39d)]=_0xdde2a6[_0x4e73d4(0x1d7)](window,'popstate')[_0x4e73d4(0x2cc)](_0xdde2a6['takeUntil'](this[_0x4e73d4(0x2ef)]),_0xdde2a6['shareReplay'](0x1),_0xdde2a6['mapTo'](void 0x0));}[_0x151804(0x174)](_0x36bee0,_0x2415ce,_0x4f516a=!0x1){const _0xb2bd22=_0x151804,_0x29387f=new URL(window[_0xb2bd22(0x416)][_0xb2bd22(0x186)]);_0x29387f[_0xb2bd22(0x171)][_0xb2bd22(0x2d7)](_0x36bee0,_0x2415ce),_0x4f516a?window['history'][_0xb2bd22(0x2fb)]('','',_0x29387f[_0xb2bd22(0x41b)]()):window[_0xb2bd22(0x3b0)][_0xb2bd22(0x152)]('','',_0x29387f['toString']());}['removeParam'](_0x5c574b,_0x359202=!0x1){const _0x518e65=_0x151804,_0xeba47=new URL(window[_0x518e65(0x416)][_0x518e65(0x186)]);_0xeba47[_0x518e65(0x171)][_0x518e65(0x312)](_0x5c574b),_0x359202?window[_0x518e65(0x3b0)][_0x518e65(0x2fb)]('','',_0xeba47['toString']()):window[_0x518e65(0x3b0)]['pushState']('','',_0xeba47[_0x518e65(0x41b)]());}[_0x151804(0x3e9)](_0x166c24){const _0x9c9527=_0x151804;var _0x2eb9fb;return(_0x2eb9fb=new URL(window[_0x9c9527(0x416)][_0x9c9527(0x186)])[_0x9c9527(0x171)][_0x9c9527(0x1a2)](_0x166c24))!=null?_0x2eb9fb:void 0x0;}}var _0x13d603=Object['defineProperty'],_0x504013=Object[_0x151804(0x277)],_0x4c4ed5=(_0x3aa0d2,_0x3d57ab,_0x3c72aa)=>_0x3d57ab in _0x3aa0d2?_0x13d603(_0x3aa0d2,_0x3d57ab,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3c72aa}):_0x3aa0d2[_0x3d57ab]=_0x3c72aa,_0x2852d3=(_0x2f04cd,_0x5c201c,_0x192ff4,_0x17e479)=>{const _0x370971=_0x151804;for(var _0x23e388=_0x17e479>0x1?void 0x0:_0x17e479?_0x504013(_0x5c201c,_0x192ff4):_0x5c201c,_0x18ddc6=_0x2f04cd[_0x370971(0x3e7)]-0x1,_0x42e0d6;_0x18ddc6>=0x0;_0x18ddc6--)(_0x42e0d6=_0x2f04cd[_0x18ddc6])&&(_0x23e388=_0x42e0d6(_0x23e388)||_0x23e388);return _0x23e388;},_0x7e47f4=(_0x13efec,_0x45faf8)=>(_0x225f24,_0x5e5bd2)=>_0x45faf8(_0x225f24,_0x5e5bd2,_0x13efec),_0xec3e5f=(_0x18155e,_0x4a5e98,_0x37bffe)=>_0x4c4ed5(_0x18155e,_0x4a5e98+'',_0x37bffe);const _0x5d213f=_0x151804(0x1dc);_0x44f94a[_0x151804(0x2c3)]=class extends _0x4b903d[_0x151804(0x335)]{constructor(_0x24078d=_0x6daa16,_0x5c3e0a,_0x536dc3,_0x1a4164){const _0x21037b=_0x151804;super(),this[_0x21037b(0x18c)]=_0x24078d,this[_0x21037b(0x3bd)]=_0x5c3e0a,this[_0x21037b(0x410)]=_0x536dc3,this[_0x21037b(0x316)]=_0x1a4164;const {..._0x32fa7b}=_0x4b903d[_0x21037b(0x30e)]({},_0x6daa16,this['_config']);this[_0x21037b(0x316)]['setConfig'](_0x58e469,_0x32fa7b);}[_0x151804(0x1a7)](){const _0xf821c2=_0x151804;this[_0xf821c2(0x237)](),this[_0xf821c2(0x2db)]();}[_0x151804(0x310)](){const _0x2ae45d=_0x151804;this[_0x2ae45d(0x31c)]();}[_0x151804(0x237)](){const _0x295dfb=_0x151804;var _0x2fda9d;const _0x10c36c=[[_0x2042e7],[_0x27767e],[_0x37c8c3],[_0x37eb54],[_0x28eae8],[_0x103d56],[_0x1c59a7,{'useClass':_0x551a25}],[_0x58c3fa['ISocketService'],{'useClass':_0x58c3fa[_0x295dfb(0x2a5)]}],[_0x792235['ILocalCacheService'],{'useClass':_0x2ca6a3}],[_0x44f94a[_0x295dfb(0x2ce)]],[_0x337b06],[_0x492873],[_0x8fdf50],[_0x479999],[_0x44f94a[_0x295dfb(0x278)]]];this['_config'][_0x295dfb(0x2c7)]&&_0x10c36c[_0x295dfb(0x1eb)]([_0x48fc71]),_0x4b903d['registerDependencies'](this[_0x295dfb(0x410)],_0x4b903d[_0x295dfb(0x30c)](_0x10c36c,(_0x2fda9d=this[_0x295dfb(0x18c)])==null?void 0x0:_0x2fda9d['override']));}[_0x151804(0x31c)](){const _0x2d8ef2=_0x151804;this[_0x2d8ef2(0x2f8)](this['_renderManagerService'][_0x2d8ef2(0x155)](_0x4b903d[_0x2d8ef2(0x198)][_0x2d8ef2(0x1b9)],[_0x3e9cd4])),this[_0x2d8ef2(0x2f8)](this[_0x2d8ef2(0x3bd)][_0x2d8ef2(0x155)](_0x4b903d[_0x2d8ef2(0x198)]['UNIVER_SHEET'],[_0x3481bc]));}['_initDependencies'](){const _0x4c0de0=_0x151804;_0x4b903d[_0x4c0de0(0x3da)](this[_0x4c0de0(0x410)],[[_0x8fdf50],[_0x44f94a[_0x4c0de0(0x2ce)]],[_0x337b06],[_0x492873],[_0x44f94a[_0x4c0de0(0x278)]],[_0x27767e]]),this[_0x4c0de0(0x18c)][_0x4c0de0(0x2c7)]&&_0x4b903d[_0x4c0de0(0x3da)](this[_0x4c0de0(0x410)],[[_0x48fc71]]);}},_0xec3e5f(_0x44f94a['UniverCollaborationClientUIPlugin'],'pluginName',_0x5d213f),_0x44f94a[_0x151804(0x2c3)]=_0x2852d3([_0x4b903d[_0x151804(0x15f)](_0x792235[_0x151804(0x178)]),_0x7e47f4(0x1,_0x36ac30[_0x151804(0x2fa)]),_0x7e47f4(0x2,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x28d)])),_0x7e47f4(0x3,_0x4b903d[_0x151804(0x281)])],_0x44f94a[_0x151804(0x2c3)]);var _0x156063=Object[_0x151804(0x277)],_0x3d47fc=(_0x200ba3,_0x1eb742,_0x4c4926,_0x1c505f)=>{for(var _0x55dea1=_0x1c505f>0x1?void 0x0:_0x1c505f?_0x156063(_0x1eb742,_0x4c4926):_0x1eb742,_0x416dd1=_0x200ba3['length']-0x1,_0x3721ae;_0x416dd1>=0x0;_0x416dd1--)(_0x3721ae=_0x200ba3[_0x416dd1])&&(_0x55dea1=_0x3721ae(_0x55dea1)||_0x55dea1);return _0x55dea1;},_0x388490=(_0xba35ac,_0x4c3f00)=>(_0x42351a,_0x164c67)=>_0x4c3f00(_0x42351a,_0x164c67,_0xba35ac);_0x44f94a['BrowserCollaborationSocketService']=class extends _0x792235[_0x151804(0x37f)]{constructor(_0x52a673,_0x4318ae,_0x27c055,_0x92d3a9,_0x46836b){super(_0x52a673,_0x4318ae,_0x27c055,_0x92d3a9,_0x46836b);}async[_0x151804(0x24f)](_0x2dfe33){const _0x417155=_0x151804,_0x1eff11=await this[_0x417155(0x340)](),_0x48407e=this['_createSocketURL'](_0x2dfe33,_0x1eff11);return this[_0x417155(0x143)](_0x48407e);}[_0x151804(0x2d9)](_0x541c27,_0x3cefd8){const _0x7a5eb8=_0x151804,_0x3624aa=typeof window>'u'?new URL(_0x541c27):new URL(_0x541c27,window[_0x7a5eb8(0x416)][_0x7a5eb8(0x3a5)]);_0x3624aa[_0x7a5eb8(0x171)]['set']('sessionTicket',_0x3cefd8);const _0x51f8c7=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x7a5eb8(0x416)]['search']);return _0x51f8c7['get'](_0x7a5eb8(0x1c3))&&_0x3624aa[_0x7a5eb8(0x171)][_0x7a5eb8(0x2d7)](_0x7a5eb8(0x1c3),_0x51f8c7[_0x7a5eb8(0x1a2)](_0x7a5eb8(0x1c3))),_0x3624aa[_0x7a5eb8(0x41b)]();}async[_0x151804(0x340)](){const _0x2da27e=_0x151804;var _0x21ed0c,_0x251664,_0x1b711e;const _0x93389d=this[_0x2da27e(0x316)][_0x2da27e(0x14e)](_0x792235['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x22ffe2=(_0x21ed0c=_0x93389d==null?void 0x0:_0x93389d['wsSessionTicketUrl'])!=null?_0x21ed0c:_0x792235['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x1b711e=(_0x251664=(await this[_0x2da27e(0x3b3)][_0x2da27e(0x1a2)](_0x22ffe2,{'headers':{'Content-Type':_0x2da27e(0x351)}}))[_0x2da27e(0x1a0)])==null?void 0x0:_0x251664[_0x2da27e(0x194)])!=null?_0x1b711e:'';}},_0x44f94a[_0x151804(0x288)]=_0x3d47fc([_0x388490(0x0,_0x4b903d[_0x151804(0x18d)](_0x4b903d[_0x151804(0x28d)])),_0x388490(0x1,_0x4b903d['Inject'](_0x58c3fa[_0x151804(0x3f1)])),_0x388490(0x2,_0x4b903d[_0x151804(0x281)]),_0x388490(0x3,_0x4b903d[_0x151804(0x1d4)]),_0x388490(0x4,_0x3810d3[_0x151804(0x1d0)])],_0x44f94a[_0x151804(0x288)]);var _0x2a2cc1=Object[_0x151804(0x277)],_0x218c89=(_0xb7d45f,_0x395535,_0x29b6d4,_0x2fc73b)=>{const _0x1ac305=_0x151804;for(var _0x198d14=_0x2fc73b>0x1?void 0x0:_0x2fc73b?_0x2a2cc1(_0x395535,_0x29b6d4):_0x395535,_0x56e45f=_0xb7d45f[_0x1ac305(0x3e7)]-0x1,_0x27d708;_0x56e45f>=0x0;_0x56e45f--)(_0x27d708=_0xb7d45f[_0x56e45f])&&(_0x198d14=_0x27d708(_0x198d14)||_0x198d14);return _0x198d14;},_0x1e0626=(_0x40f6b4,_0x4f08e9)=>(_0x1d6096,_0x400d47)=>_0x4f08e9(_0x1d6096,_0x400d47,_0x40f6b4);_0x44f94a['RemoteUniscriptService']=class extends _0x4b903d['Disposable']{constructor(_0x87d6d9,_0x5d0989,_0x3c744d){const _0x2de77a=_0x151804;super(),this[_0x2de77a(0x36c)]=_0x87d6d9,this[_0x2de77a(0x3b3)]=_0x5d0989,this[_0x2de77a(0x316)]=_0x3c744d;}async[_0x151804(0x14d)](_0x3f5fd0,_0x5aadaf,_0x5a32ca,..._0x5a3553){const _0xf6fe0e=_0x151804;var _0x3222f7,_0x5af4ce,_0x3fcd40,_0x492df4;const _0x2698e3=this[_0xf6fe0e(0x36c)][_0xf6fe0e(0x265)]();if(!_0x2698e3)throw new Error(_0xf6fe0e(0x147));const _0x155e1e=((_0x3222f7=this['_configService'][_0xf6fe0e(0x14e)](_0x792235[_0xf6fe0e(0x380)]))!=null?_0x3222f7:_0x792235['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x3f5fd0+_0xf6fe0e(0x3fb)+_0x5aadaf,_0x2b5d6a=new URL(window[_0xf6fe0e(0x416)]['href']),_0x4f46db={'scriptId':_0x3f5fd0,'runId':(_0x5af4ce=_0x2b5d6a[_0xf6fe0e(0x171)][_0xf6fe0e(0x1a2)]('runId'))!=null?_0x5af4ce:'','function':_0x5aadaf,'unitId':_0x2698e3[_0xf6fe0e(0x192)](),'argsOfFunction':JSON[_0xf6fe0e(0x1aa)](_0x5a3553),'invokeId':(_0x3fcd40=_0x5a32ca[_0xf6fe0e(0x311)])!=null?_0x3fcd40:'','executionId':(_0x492df4=_0x5a32ca[_0xf6fe0e(0x3d4)])!=null?_0x492df4:''};try{const _0x4984da=await this[_0xf6fe0e(0x3b3)][_0xf6fe0e(0x257)](_0x155e1e,{'body':_0x4f46db});return _0x4984da[_0xf6fe0e(0x1a0)][_0xf6fe0e(0x2ff)]&&_0x4984da[_0xf6fe0e(0x1a0)][_0xf6fe0e(0x2ff)][_0xf6fe0e(0x378)]!==_0x36c5dc['OK']?_0xf6fe0e(0x285):_0x4984da[_0xf6fe0e(0x1a0)]['result'];}catch{return'Failed';}}},_0x44f94a[_0x151804(0x2d0)]=_0x218c89([_0x1e0626(0x0,_0x4b903d[_0x151804(0x342)]),_0x1e0626(0x1,_0x4b903d['Inject'](_0x58c3fa[_0x151804(0x3f1)])),_0x1e0626(0x2,_0x4b903d['IConfigService'])],_0x44f94a[_0x151804(0x2d0)]);const _0x12fa25=0x7530,_0x29a1d4=_0x151804(0x13d);class _0x1e7a25 extends _0x4b903d[_0x151804(0x176)]{constructor(){const _0x39a6e6=_0x151804;super(),_0x198f8a(this,_0x39a6e6(0x359),_0x4b903d[_0x39a6e6(0x24b)]()),_0x198f8a(this,_0x39a6e6(0x33c),new Set()),_0x198f8a(this,_0x39a6e6(0x3b1),new Map()),_0x198f8a(this,_0x39a6e6(0x1b4),null),_0x198f8a(this,_0x39a6e6(0x1b5),new Map()),_0x198f8a(this,'_unitStatus',new Map()),this[_0x39a6e6(0x1b2)]();}[_0x151804(0x2b9)](){const _0x12e693=_0x151804;super[_0x12e693(0x2b9)](),this[_0x12e693(0x1b5)][_0x12e693(0x293)]((_0x5dfdfe,_0x70ea09)=>this['_removeClearOtherTimer'](_0x70ea09)),this[_0x12e693(0x1b4)]&&window[_0x12e693(0x19e)](this[_0x12e693(0x1b4)]);}[_0x151804(0x26a)](_0x36d58a){const _0x2039b1=_0x151804;return this[_0x2039b1(0x41d)](_0x36d58a)[_0x2039b1(0x2cc)](_0xdde2a6['distinctUntilChanged']());}[_0x151804(0x403)](_0x32c162){const _0x39e977=_0x151804;this['_selfUnitIDs'][_0x39e977(0x2fd)]===0x0&&this[_0x39e977(0x29e)](),this[_0x39e977(0x33c)][_0x39e977(0x14a)](_0x32c162),this[_0x39e977(0x16a)]({'type':0x0,'memberID':this[_0x39e977(0x359)],'unitIDs':[_0x32c162],'isForwarded':!0x1});}['disposeUnit'](_0x19dd41){const _0x360547=_0x151804;this[_0x360547(0x33c)]['delete'](_0x19dd41),this[_0x360547(0x33c)][_0x360547(0x2fd)]===0x0&&this[_0x360547(0x1b4)]&&window['clearInterval'](this[_0x360547(0x1b4)]);}[_0x151804(0x1b2)](){const _0x319969=_0x151804;this[_0x319969(0x2f8)](_0x4b903d[_0x319969(0x402)](_0xdde2a6['fromEvent'](window,'storage')[_0x319969(0x24d)](_0x5c8a6c=>{const _0x15dadd=_0x319969;if(_0x5c8a6c['key']!==_0x29a1d4||!_0x5c8a6c[_0x15dadd(0x2f6)])return;const _0x20ac6a=JSON['parse'](_0x5c8a6c[_0x15dadd(0x2f6)]);this[_0x15dadd(0x1e2)](_0x20ac6a);}))),window['addEventListener'](_0x319969(0x3c0),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x319969(0x2bd)](this['_selfUnitIDs'])}));}[_0x151804(0x1e2)](_0x424023){const _0x1883b0=_0x151804;switch(_0x424023[_0x1883b0(0x276)]){case 0x0:this[_0x1883b0(0x290)](_0x424023);break;case 0x1:this[_0x1883b0(0x33b)](_0x424023);break;case 0x2:this[_0x1883b0(0x205)](_0x424023);break;}}['_handleJoinEvent'](_0x5030e7){const _0x46e15e=_0x151804,{unitIDs:_0x53760f,memberID:_0x3e178a,isForwarded:_0x409445}=_0x5030e7;_0x53760f['forEach'](_0x121148=>{const _0x5f0bbe=_0x533d;if(!_0x409445&&this[_0x5f0bbe(0x3b1)][_0x5f0bbe(0x326)](_0x121148)&&this[_0x5f0bbe(0x41d)](_0x121148)[_0x5f0bbe(0x3ef)](_0x792235[_0x5f0bbe(0x3a7)][_0x5f0bbe(0x372)]),!this[_0x5f0bbe(0x3b1)][_0x5f0bbe(0x326)](_0x121148)||!this[_0x5f0bbe(0x3b1)][_0x5f0bbe(0x1a2)](_0x121148)['has'](_0x3e178a)){const _0x5845aa=this['_unitOnClients'][_0x5f0bbe(0x1a2)](_0x121148)||new Set();_0x5845aa['add'](_0x3e178a),this[_0x5f0bbe(0x3b1)][_0x5f0bbe(0x2d7)](_0x121148,_0x5845aa),this[_0x5f0bbe(0x234)](_0x3e178a);}}),_0x409445||this['_send']({'type':0x0,'memberID':this[_0x46e15e(0x359)],'unitIDs':[...this[_0x46e15e(0x33c)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x9f3efd){const _0x29fe78=_0x151804;this[_0x29fe78(0x2c0)](_0x9f3efd);const _0x1d6389=window[_0x29fe78(0x3e5)](()=>{const _0x239fc1=_0x29fe78;this['_unitOnClients'][_0x239fc1(0x293)](_0x5b958f=>{const _0x178594=_0x239fc1;_0x5b958f[_0x178594(0x312)](_0x9f3efd);});},_0x12fa25*0x2);this[_0x29fe78(0x1b5)][_0x29fe78(0x2d7)](_0x9f3efd,_0x1d6389);}[_0x151804(0x2c0)](_0x197021){const _0x635a=_0x151804;if(this[_0x635a(0x1b5)][_0x635a(0x326)](_0x197021)){const _0x3238ce=this['_clearOtherTimers']['get'](_0x197021);_0x3238ce&&window[_0x635a(0x40a)](_0x3238ce),this[_0x635a(0x1b5)]['set'](_0x197021,null);}}[_0x151804(0x33b)](_0x1b1de7){const _0x5c4acf=_0x151804,{memberID:_0x35d6b5,unitIDs:_0x1d4692}=_0x1b1de7;_0x1d4692[_0x5c4acf(0x293)](_0x58c00b=>{const _0x102ab3=_0x5c4acf;var _0x12d519;const _0x4325a3=this['_unitOnClients'][_0x102ab3(0x1a2)](_0x58c00b);_0x4325a3&&(_0x4325a3[_0x102ab3(0x312)](_0x35d6b5),(_0x12d519=this[_0x102ab3(0x41d)](_0x58c00b))==null||_0x12d519[_0x102ab3(0x3ef)](_0x4325a3[_0x102ab3(0x2fd)]===0x0?_0x792235[_0x102ab3(0x3a7)]['NO_OTHER_CLIENTS_EDITING']:_0x792235[_0x102ab3(0x3a7)][_0x102ab3(0x372)]));}),this[_0x5c4acf(0x2c0)](_0x35d6b5);}['_handleHeartbeatEvent'](_0x506b98){const _0x137de3=_0x151804;this[_0x137de3(0x234)](_0x506b98['memberID']);}[_0x151804(0x16a)](_0x45b5b1){const _0x4133da=_0x151804;localStorage['setItem'](_0x29a1d4,JSON[_0x4133da(0x1aa)](_0x45b5b1));}[_0x151804(0x29e)](){const _0x100bd9=_0x151804;this[_0x100bd9(0x1b4)]=window['setInterval'](()=>{const _0x18201b=_0x100bd9;this[_0x18201b(0x16a)]({'type':0x2,'memberID':this[_0x18201b(0x359)]});},_0x12fa25);}[_0x151804(0x41d)](_0x229923){const _0x16b3c4=_0x151804;return this[_0x16b3c4(0x406)][_0x16b3c4(0x326)](_0x229923)||this[_0x16b3c4(0x406)][_0x16b3c4(0x2d7)](_0x229923,new _0xdde2a6[(_0x16b3c4(0x2f9))](_0x792235[_0x16b3c4(0x3a7)][_0x16b3c4(0x2e7)])),this[_0x16b3c4(0x406)][_0x16b3c4(0x1a2)](_0x229923);}}_0x44f94a[_0x151804(0x3d9)]=_0x1c59a7,_0x44f94a[_0x151804(0x361)]=_0x105416,_0x44f94a[_0x151804(0x157)]=_0x1e7a25,_0x44f94a[_0x151804(0x2cd)]=_0x551a25,Object['defineProperty'](_0x44f94a,Symbol[_0x151804(0x1f3)],{'value':_0x151804(0x151)});}));function _0x4307(){const _0x1f45f1=['ALREADY_EXISTS','_cursorShapes','_draw','_updateSubUnitFromURLParams','has','function','PERMISSION_DENIED','0\x200\x2017\x2016','getRenderById','svg','YUUMI_RATE_OVER_LIMIT','990AFCeXy','ICommandService','addClipboardHook','unit','handleIRemoveRow','defIds','getUnit','_refreshCollabCursors','Plugin','_initEvent','_clearPolling','_logService','_checkCalculationAvailable','entityInit$','_handleLeaveEvent','_selfUnitIDs','bottom','getColorFromTheme','UniverDrawing','_getSessionTicket','_getScale','IUniverInstanceService','handleInsertCol','@univerjs/design','_getAnchorBounding','LOGIN_TOKEN_PROCESSING_FAILED','_getSaveTimeout','UNAUTHENTICATED','_hover','_shapes','_docSkeletonManagerService','CollaborationUIEventService','mutations','collab-text-range-','loadUnit','NodePositionConvertToCursor','application/json','_localStorageService','onMouseMove','ENTITLE_NEED_BILLING_ADDRESS','width','_docTransformIMECacheService','onPointerEnter$','transformStateCache','_id','onPointerLeave$','_startCalculationLimit','redoState','RxDisposable','white','ColorKit','getCurrentUnitForType','SheetCollabCursorShape','doc.mutation.rich-text-editing','1XPYPoh','url(#off-line-icon_clip0_910_343)','defs','releaseFormulaLimitUrl','idSuffix','_scheduleSaving','getVpScrollXYInfoByPosToVp','backgroundColor','unitID','_instanceService','includes','forwardRef','_refRangeService','colno','unhandledrejection','OTHER_CLIENTS_EDITING','isArray','_maxFormulaLimit','_imageIoService','formula.calculation.unable','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','code','PAYMENT_CHANNEL_NOT_SUPPORT','DeleteRangeMoveLeftCommandId','getRangePointData','createInstance','url(#on-line-icon_clip0_910_349)','univerjs-icon\x20univerjs-icon-','CollaborationSocketService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_cachedData','setUndoRedoMutationParamsCache','_syncEditingCollabCursorService','UniverSheetsUi','fill','max','INVALID_INVITE_CODE','div','all','APPLY_DUPLICATED','_session','DeleteRangeMoveUpCommandId','dirtyRanges','handleDeleteRangeMoveUp','loadOfflineData','_initCommandExecutedListener','_memberID','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','OTHER_CLIENT_EDITING','find','Tools','SOCKET_FAILED','UniverProCollaborationClientUi','_memberService','_initUnhandledRejectionListener','contains','then','colorChannel1','urlChange$','getSkeleton','APPLY_REJECT','_messageService','_taskIds','_themeService','SHEET_VIEWPORT_KEY','findNodePositionByCharIndex','origin','#FFF','UnitStatus','formula.calculation.waiting','MUTATION','ITransformService','[LogService\x20Error]:\x20','_setFormulaLimitStatus','off-line-icon','RemoveRowCommandId','transformByState','history','_unitOnClients','init','_httpService','React','stack','YUUMI_CONNECTOR_URL_NOT_FOUND','_setupSubUnitSync','LICENSE_IMPORT_SIZE_EXCEEDED','_beforeCloseService','_hideTimer','send','addEventListener','_renderManagerService','_getSheetObject','_uploadLog','unload','_range','_assignedColors','DocSkeletonManagerService','MessageType','_color','COMPLETION_FINISHED','onLocalMutation','ENTITLE_USE_COUPON_NOT_1ST_TRADE','isTransformMutationFailure','WECHAT_HAS_BEEN_BOUND','moveTo','getSheetBySheetId','UniverEngineRender','ThemeService','21AHKcII','_dataLoaderService','REDEMPTION_INVALID_CODE','addObjects','sheetID','executionId','beforeCommandExecuted','hovered','message','syncEditingCollabCursor','IURLService','touchDependencies','collaboration.offline-data-not-saved','RECT','INVITE_CODE_REQUIRED','LocaleService','NOT_FOUND','_backgroundColor','_collabSessionService','getCellPositionByOffset','entries','on-line-icon_clip0_910_349','setTimeout','assign','length','amd','getParam','REDEMPTION_CODE_NOT_STARTED','join','onTransformChange$','deepClone','text','next','getCurrent','HTTPService','blue.400','getAncestorScale','measureText','connectInjector','transform','setAlpha','_setupBeforeClosingHandler','YUUMI_URL_COL_OUT_OF_RANGE','INTERNAL_ERROR','/run/','operators','executeCommand','split','PY_RUNTIME_SCRIPT_ERROR','USER_NOT_FOUND','Rectangle','toDisposable','editingUnit','_monkeyPatchLogService','_lastPointer','_unitStatus','[CollaborationDataLoaderController]','getTypeOfUnitAdded$','_updateURLWithCurrentState','clearTimeout','substring','url(#$1','green.600','_docTransformStateCacheService','data','_injector','FromArray','createIdentifier','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','focused$','_startSheetCollabCursor','location','_updateCollabCursors','getOffsetConfig','transformIMECache','_initResize','toString','CONFLICT','_ensureSubject','subUnitId','_docSyncEditingCollabCursorService','subunit','InsertRangeMoveRightCommandId','DocCollaborationEntity','complete','LICENSE_EXPORT_SIZE_EXCEEDED','_scene','_context','DATA_SOURCE_TOO_LARGE','ACTIVE_UNIT_EVENT_CHANNEL','triggerDblclick','REDEMPTION_CODE_FULLY_REDEEMED','_colorIndex','?taskId=','_entityInit$','_doCreateSocket','enableLocalCache','_getMergeRange','_textBubble','[RemoteUniscriptService]:\x20no\x20focused\x20unit','APPLY_REVISION_CONFILICT','REDEMPTION_CODE_INACTIVE','add','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','session.connection-failed','runOnServer','getConfig','stage','SetWorksheetActivateCommand','Module','pushState','LICENSE_MAX_UNITS_EXCEEDED','collab-text-anchor-','registerRenderModule','DisposableCollection','WebBrowserSingleActiveUnitService','useCallback','CollaborationUIEventId','string','event$','roomMembers$','startColumn','IUIPartsService','DependentOn','restore','collabStatus.offline','Shape','defineProperty','Tooltip','YUUMI_UNABLE_LOAD_URL','RemoveColCommandId','CollaborationSessionService','currentTheme$','getActiveSheet','_send','_collaborationSessionService','2966337mySpKM','SOCKET_FAILED_RETRY','off-line-icon_clip0_910_343','HEADER_MENU','getCellMatrix','searchParams','[Unhandled\x20Rejection]:\x20','textRanges','setParam','InsertColCommandId','Disposable','getActiveRange','UniverCollaborationClientPlugin','_labelPosition','42lzcPDT','useDependency','CollaborationStatus','getLocalCacheKey','hide','_handleHover','_anchor','CONNECTOR_DATA_TOO_LARGE','filter','UniverDocs','unshift','@univerjs/sheets','href','_applyCommand','REDEMPTION_USER_NOT_ELIGIBLE','MemberService','getUndoRedoMutationParamsCache','UniverCore','_config','Inject','children','purple.300','TEXT','_toggleOnline','getUnitId','_onCursorUpdate','ticket','CanceledError','getUniverSheetInstance','xlink:href','UniverInstanceType','554706RqQdGQ','_saveTaskMap','memberID','_sheetSkeletonManagerService','SNAPSHOT_INVALID_SNAPSHOT','clearInterval','_initWindowErrorListener','body','yellow.400','get','some','_collabCursorState$','asObservable','useObservable','onStarting','m1Prime','unitId','stringify','_drawRectRange','isFormulaString','combineLatest','_docTransformSelectionsService','@univerjs/ui','totalFormulasToCalculate','ENTITLE_DUP_SUBSCRIPTION','_init','getUnhiddenWorksheets','_heartbeatTimer','_clearOtherTimers','with','IDocClipboardService','registerBeforeClose','UNIVER_DOC','getViewport','_startDocCollabCursor','actions','_hovered','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','cursorInfo','collabStatus.synced','_initStatusComponent','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','runId','Optional','UNRECOGNIZED','_commandService','debounceTime','round','flatMap','unsubscribe','params','USER_IS_ANONYMOUS','min','mask','color','ISnapshotServerService','exhaustSavingTask','save','ENTITLE_COUPON_USED_UP','ILogService','reconnect','getCoordByCell','fromEvent','reason','startRow','_urlService','jiqing.500','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_initStatusListener','NodePositionConvertToRectRange','current','_drawTextRange','IMessageService','_handleEvent','getSheetObject','_getFormulaLimitStatus','handleInsertRangeMoveRight','LOCAL_CACHE_INTERVAL','rgba(255,\x20255,\x20255,\x200.01)','_cursor','OFFLINE','currentSkeleton$','push','[Window\x20Error]:\x20','getSheetId','RefRangeService','black','FETCH_MISS','APPLY_NON_SEQUENTIAL_REVISION','START_CALCULATION','toStringTag','sessionStatus$','1481104SfAxqi','DOC_RANGE_TYPE','collaboration.closeRoom','endRow','ENTITLE_REPORT_LIMIT_EXCEED','replaceDocRanges','saveTaskMap','path','isActive','_roomMembers$','isTransformMutationsWithChangesetSuccess','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','UniverDocsUi','@univerjs/drawing','LOGIN_FAILED','DocIMEInputManagerService','_handleHeartbeatEvent','column','permission.content','handleMoveRange','@univerjs/rpc','INVITE_CODE_HAS_BEEN_UES','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','setItem','now','subscribeEvent','whenReady','SNAPSHOT_HAS_BEEN_REMOVED','USERS_LEAVE','57501dmabcy','@univerjs-pro/collaboration','switchMap','imageSourceType','@univerjs/docs-ui','throttleTime','registerComponent','CollaborationEvent','_transformService','attrs','ENTITLE_INSUFFICIENT_QUOTA','_onRefRangeChange','USER_NOT_INVITED_CODE','UNIVER_SHEET','RichTextEditingMutation','_initEntityListener','_revisionService','addHandlerCallback','_univerInstanceService','_collaborationUIEventService','SessionStatus','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','maxFormulaLimit','Workbook','formula.calculation.started','roomMembers','_docStateChangeManagerService','_transformUndoRedoStack','DocSelectionManagerService','collabStatus.conflict','red.300','closePath','_showGuardMessage','SetFormulaCalculationNotificationMutation','_scheduleClearOtherTimer','fillStyle','getStateCache','_registerDependencies','FormulaExecutedStateType','createElement','clipPath','fillText','RegularPolygon','YUUMI_ASYNCIO_CANCELLED','takeUntil','AWAITING','_transformPreviousActiveRange','_pollingInterval','1570540ABCoSF','Rect','transformMutation','functionsExecutedState','toRgbString','height','getMemberID','_cursors','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','generateRandomId','Unknown\x20user','subscribe','source','createSocket','lineTo','_status$','_uiPartsService','evenodd','UniverProCollaboration','catch','@univerjs/docs','post','random','collabStatus.notCollab','CHANGESET_REVISION_CONFILICT','m2Prime','InsertRangeMoveDownCommandId','UniverDesign','limitInfo','JOIN_ROOM_FAILED','translate(.97)','...','isEditing','_online','YUUMI_NO_CUBOID_FOR_QUESTION','getFocusedUnit','_removeCollabCursors','_saveCache','_collaborationController','_initUserListener','getUnitStatus$','font','currentColor','fromEventSubject','updateOfflineData','ENTITLE_CHAT_LIMIT_EXCEED','_currentUsage','getMergeData','SUCCESS','transformMutationsWithChangeset','debug','setStateCache','type','getOwnPropertyDescriptor','CollaborationDataLoaderController','/universer-api/license/formula/limit/done','TOO_MANY_REQUESTS','values','currentUsage','_document','session.will-retry','69670SfFGvj','onCommandExecuted','IConfigService','_cursorInfo$','NOT_COLLAB','UNDEFINED','Failed','UniverRpc','1em','BrowserCollaborationSocketService','addObject','tag','_lastResponseTimestamp','getCollabCursors$','Injector','UniverSheets','MOBILE_VERIFY_CODE_MISMATCH','_handleJoinEvent','COLORS','_toggleOffline','forEach','endColumn','SetDocZoomRatioOperation','YUUMI_TABLE_NOT_FOUND_IN_UNIT','Success','ERROR_AGAIN','_eventUnsubscribe','ENTITLE_COUPON_EXPIRED','UniverIcon','@univerjs-pro/collaboration-client','getCurrentRevOfUnit','_scheduleHeartbeat','cursorInfo$','status$','Error','map','getMember','drawWith','WebSocketService','@univerjs/sheets-ui','resize','ENSURE_SNAPSHOT_EXECUTION','Loading','getColor','_hasFormulaInDirtyRanges','debounce','selections','SetFormulaCalculationStartMutation','selection','rxjs','UPDATE_CURSOR','sheetId','removeEventListener','lineno','INVITE_CODE_ALREADY_BOUND','_checkAndWaitForCalculationPermission','eventID','transformSelections','dispose','registerRefRange','collabCursorState$','_docClipboardService','from','APPLY_PERMISSION_DENIED','SetTextSelectionsOperation','_removeClearOtherTimer','_anchorDot','setShapeProps','UniverCollaborationClientUIPlugin','row','disableLocalCache','LOCAL_CACHE_INTERVAL_KEY','enableFrontendLog','saveImage','fillRule','getTypeOfUnitDisposed$','univer-mr-2\x20univer-flex\x20univer-text-xl','pipe','WebURLService','DesktopCollaborationStatusDisplayController','_name','RemoteUniscriptService','skeleton','setActiveRange','_initCommandInterceptor','show','getCurrentSelections','name','set','object','_createSocketURL','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','_initDependencies','range','replace','handleDeleteRangeMoveLeft','_updateLocalCursor','MoveRangeCommandId','PENDING','_releaseCalculationLimit','labelPosition','_notificationService','LICENSE_DISTRO_REJECTED','jsx','NO_OTHER_CLIENTS_EDITING','stageInfo','exports','_entities','_collabCursorController','EMAIL_HAS_BEEN_BOUND','REDEMPTION_CODE_HAS_BEEN_CREATED','ENTITLE_INVALID_COUPON_CODE','dispose$','YUUMI_SUBSCRIPTION_NOT_FOUND','REDEMPTION_USER_REDEEM_TIMES_EXCEED','INotificationService','handleInsertRangeMoveDown','TEXT_RANGE_LAYER_INDEX','transformRemoteChangeset','newValue','UniverNetwork','disposeWithMe','BehaviorSubject','IRenderManagerService','replaceState','_onCursorDelete','size','285147NgoZnr','error','getRelativeToViewportCoord','EMAIL_VERIFY_CODE_MISMATCH','use','MOBILE_HAS_BEEN_BOUND','_localeService','_transformHistoryAndStateStack','_localCacheService','ranges','Warning','useRef','deserializeRangeWithSheet','collabStatus.syncing','mergeOverrideWithDependencies','ENTITLE_CAN_NOT_BUY_LOWER_OTP','merge','isFormulaId','onRendered','invokeId','delete','getValue','handleInsertRow','makeDirty','_configService','trim','displayName','_render','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','EffectRefRangId','_registerRenderDependencies','_drawAnchor','M0\x200H16V16H0z','TRANSFORM_CHANGE_OBSERVABLE_TYPE','DocStateChangeManagerService','INVALID_ARGUMENT'];_0x4307=function(){return _0x1f45f1;};return _0x4307();}