@univerjs-pro/collaboration-client-ui 0.10.5 → 0.10.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +16 -16
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x3b2a(_0x28bb09,_0x53d966){const _0x2b574b=_0x2b57();return _0x3b2a=function(_0x3b2ac3,_0x101b39){_0x3b2ac3=_0x3b2ac3-0x143;let _0x38889a=_0x2b574b[_0x3b2ac3];return _0x38889a;},_0x3b2a(_0x28bb09,_0x53d966);}function _0x2b57(){const _0x5c64ae=['_logService','application/json','extend','CollaborationUIEventService','collaboration.single-unit.warning','startsWith','_toggleOffline','UniverDocs','_lastPointer','Rect','collab-text-anchor-','getRangePointData','OTHER_CLIENTS_EDITING','...','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','getCollabEntity$','ICommandService','dispose','_docTransformSelectionsService','getSkeleton','_unitStatus','_uiPartsService','_cursor','wsSessionTicketUrl','m2Prime','_drawTextRange','USERS_LEAVE','_getMergeRange','_getScale','mergeOverrideWithDependencies','searchParams','handleInsertRangeMoveDown','_notificationService','call','triggerDblclick','APPLY_REVISION_CONFILICT','getColorFromTheme','CLOSE_ROOM','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_localStorageService','CollaborationSessionService','currentSkeleton$','Unknown\x20user','params','OTHER_CLIENT_EDITING','UniverIcon','attrs','ITransformService','react/jsx-runtime','YUUMI_ASYNCIO_CANCELLED','RemoteUniscriptService','getCurrent','object','InsertColCommandId','DOC_RANGE_TYPE','getCollabCursors$','useCallback','hovered','delete','toDisposable','onStarting','CollaborationStatus','_updateCollabCursors','_beforeCloseService','setShapeProps','Vector2','VIEW_MAIN','subunit','UniverEngineRender','endColumn','Injector','runRefRangeMutations','_heartbeatTimer','_docSkeletonManagerService','getOwnPropertySymbols','IBeforeCloseService','propertyIsEnumerable','replaceState','show','black','code','apply','_collabCursorController','_config','onLocalMutation','width','current','setUndoRedoMutationParamsCache','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','requireSession','selections','_instanceService','isArray','UPDATE_CURSOR','mutations','@univerjs-pro/collaboration','forEach','APPLY_PERMISSION_DENIED','selection','SOCKET_FAILED_RETRY','getParam','_handleJoinEvent','USER_NOT_INVITED_CODE','subUnitId','purple.300','getUniverSheetInstance','yellow.400','getItem','Rectangle','set','with','_cachedData','_registerRenderDependencies','collabStatus.notCollab','_updateLocalCursor','transformIMECache','_dataLoaderService','merge','permission.title','collaboration.closeRoom','setParam','_draw','IMessageService','_getSessionTicket','use','handleInsertCol','_transformPreviousActiveRange','UniverDesign','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','2607604nnJFLJ','red.300','NodePositionConvertToRectRange','moveTo','@univerjs/docs-ui','sessionStatus$','AWAITING','unit','IConfigService','INVITE_CODE_ALREADY_BOUND','location','_docTransformIMECacheService','symbol','createElement','beginPath','column','_context','addEventListener','getVpScrollXYInfoByPosToVp','indexOf','ILocalCacheService','updateOfflineData','rgba(255,\x20255,\x20255,\x200.01)','text','SHEET_VIEWPORT_KEY','loadUnit','isTransformMutationsWithChangesetSuccess','_onCursorDelete','createInstance','session.will-retry','replace','_scheduleSaving','getLocalCacheKey','forwardRef','unshift','_memberService','range','CollaborationController','getCoordByCell','hide','902375iYQEed','_getSheetObject','runId','_scheduleHeartbeat','APPLY_REJECT','getDocRanges','SYNCED','UniverInstanceType','getSheetObject','getColor','transform','Failed','url(#$1','_toggleOnline','toRgbString','_setupSubUnitSync','_renderManagerService','_eventUnsubscribe','UniverSheets','UniverCollaborationClientUIPlugin','assignAColorForMemberID','pipe','handleInsertRangeMoveRight','m1Prime','reconnect','_onCursorUpdate','type','RemoveColCommandId','Error','ENSURE_SNAPSHOT_EXECUTION','unitId','BrowserCollaborationSocketService','switchMap','currentTheme$','LICENSE_IMPORT_SIZE_EXCEEDED','SOCKET_FAILED','_entityInit$','UniverProCollaboration','jsxs','COLORS','getAncestorScale','subscribeEvent','RevisionService','includes','assign','_colorAssignService','unload','_render','fill','getFocusedUnit','_collabCursorState$','eventID','substring','@univerjs/drawing','WECHAT_HAS_BEEN_BOUND','329bNQrFr','@univerjs/engine-formula','_startDocCollabCursor','_registerDependencies','MOBILE_VERIFY_CODE_MISMATCH','distinctUntilChanged','_document','/run/','PENDING','Subject','_status$','removeParam','onCommandExecuted','rxjs/operators','focused$','getSheetId','_collabSessionService','_initStatusListener','DocSelectionManagerService','white','YUUMI_RATE_OVER_LIMIT','_clearOtherTimers','YUUMI_URL_COL_OUT_OF_RANGE','url(#off-line-icon_clip0_910_343)','UniverProCollaborationClient','drawWith','_disabled','useDependency','_configService','INVITE_CODE_REQUIRED','_docStateChangeManagerService','_send','collab-client.tooltip.reconnect','IDocClipboardService','ticket','urlChange$','_transformService','_hovered','fillText','ISocketService','RECT','pluginName','clearTimeout','has','LICENSE_EXPORT_SIZE_EXCEEDED','DocCollaborationEntity','getConfig','SheetCollabCursorShape','_unitOnClients','MemberService','IRenderManagerService','_localCacheService','makeDirty','addClipboardHook','8VNQPpq','_univerInstanceService','getActiveSheet','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','UniverEngineFormula','whenReady','_anchorDot','APPLY_NON_SEQUENTIAL_REVISION','textRanges','registerRenderModule','getOffsetConfig','getSheetBySheetId','fromEvent','_name','CollaborationSocketService','font','unsubscribe','_handleHeartbeatEvent','clsx','http://www.w3.org/2000/svg','backgroundColor','concat','toString','get','some','collabStatus.synced','sheetId','1em','override','invokeId','resize','stringify','exhaustSavingTask','complete','executionId','_removeCollabCursors','NOT_COLLAB','generateRandomId','1133372mWNzcO','values','connectInjector','dispose$','UNIVER_SHEET','ILogService','_id','Plugin','next','_createSocketURL','getUndoRedoMutationParamsCache','_getAnchorBounding','transformRemoteChangeset','data','setActiveRange','_refRangeService','registerComponent','_colorIndex','combineLatest','newValue','Tools','save','ThemeService','@univerjs/core','lineTo','debug','enableLocalCache','evenodd','JOIN_ROOM_FAILED','registerDependencies','MOBILE_HAS_BEEN_BOUND','InsertRowCommandId','EMAIL_VERIFY_CODE_MISMATCH','fillRule','random','_cursorShapes','entityInit$','_ensureSubject','permission.content','jiqing.500','measureText','OFFLINE','INVALID_ARGUMENT','getMergeData','setAlpha','SetWorksheetActivateCommand','mask','TEXT_RANGE_LAYER_INDEX','string','_onRefRangeChange','getRenderById','_init','contains','deserializeRangeWithSheet','_collaborationController','status$','_handleHover','getViewport','IURLService','_imageIoService','onPointerMove$','push','url(#on-line-icon_clip0_910_349)','fromEventSubject','EMAIL_HAS_BEEN_BOUND','rxjs','icon','getUnhiddenWorksheets','Inject','disposeUnit','saveImage','from','Module','createSocket','_range','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_getSaveTimeout','PERMISSION_DENIED','@univerjs/sheets-ui','_hideTimer','setStateCache','_labelPosition','roomMembers$','operators','#FFF','defs','_initEntityListener','deepClone','getActiveRange','SetDocZoomRatioOperation','_handleLeaveEvent','_transformUndoRedoStack','APPLY_DUPLICATED','children','ranges','setConfig','body','replaceDocRanges','univer-mr-2\x20univer-flex\x20univer-text-xl','_roomMembers$','RxDisposable','YUUMI_UNABLE_LOAD_URL','popstate','_session','collaboration-client.offline-data-not-saved','_sheetSkeletonManagerService','BehaviorSubject','DesktopCollaborationStatusDisplayController','_commandService','M0\x200H16V16H0z','UniverCollaborationClientPlugin','_localeService','_collaborationUIEventService','3gIhQvM','97768nnaPHH','_handleEvent','Warning','getOwnPropertyDescriptor','cursorInfo','registerRefRange','startRow','cursorInfo$','key','LOGIN_FAILED','getUnitStatus$','svg','CollaborationDataLoaderController','mapTo','ColorKit','_scene','_initDependencies','off-line-icon','ISnapshotServerService','unitID','arc','redoState','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','Workbook','displayName','useObservable','UNDEFINED','InsertRangeMoveRightCommandId','UNAUTHENTICATED','_selfUnitIDs','PY_RUNTIME_SCRIPT_ERROR','restore','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','CHANGESET_REVISION_CONFILICT','session.collaboration-timeout','_messageService','blue.400','colorChannel1','SetSelectionsOperation','transformMutation','entries','findNodePositionByCharIndex','href','onRendered','_cursorInfo$','row','1090CTntQt','send','transformByState','DocStateChangeManagerService','serializeRangeWithSheet','undoState','NO_OTHER_CLIENTS_EDITING','editingUnit','SheetSkeletonManagerService','_initStatusComponent','_updateURLWithCurrentState','syncEditingCollabCursor','addObject','origin','CONFLICT','debounceTime','CONNECTOR_DATA_TOO_LARGE','addObjects','_assignedColors','getCurrentRevOfUnit','ALREADY_EXISTS','closePath','useRef','error','onPointerEnter$','ONLINE','_httpService','setItem','amd','bottom','YUUMI_ALL_TABLES_IS_INVALID','_docTransformStateCacheService','HTTPService','_updateSubUnitFromURLParams','UNRECOGNIZED','_setupBeforeClosingHandler','EffectRefRangId','_revisionService','top','path','prototype','AWAITING_WITH_PENDING','COMPLETION_FINISHED','UNIVER_DOC','init','DEFAULT_WS_SESSION_TICKET_URL','YUUMI_AI_RUN_FAILED','@univerjs/engine-render','currentColor','doc.mutation.rich-text-editing','IUIPartsService','height','length','_shapes','LICENSE_DISTRO_REJECTED','getUnitId','UnitStatus','[RemoteUniscriptService]:\x20no\x20focused\x20unit','84264qTbzzi','endRow','RegularPolygon','round','tag','split','InsertRangeMoveDownCommandId','_injector','color','_initResize','DependentOn','debounce','_scheduleClearOtherTimer','fillStyle','jsx','_textBubble','div','on-line-icon_clip0_910_349','transformStateCache','defIds','Shape','Disposable','size','getValue','handleMoveRange','name','WebBrowserSingleActiveUnitService','executeCommand','_refreshCollabCursors','collabStatus.fetchMiss','DeleteRangeMoveLeftCommandId','collabStatus.conflict','roomMembers','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_removeClearOtherTimer','DataLoaderService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','onMouseMove','getMemberID','IUniverInstanceService','DocSkeletonManagerService','UniverRpc','hasOwnProperty','_docSyncEditingCollabCursorService','_transformHistoryAndStateStack','clearInterval','storage','asObservable','YUUMI_NO_CUBOID_FOR_QUESTION','subscribe','filter','TRANSFORM_CHANGE_OBSERVABLE_TYPE','LocaleService','function','5340933TTwIqH','CollaborationUIEventId','_drawAnchor','_initCommandExecutedListener','_entities','UniverDrawing','engine','on-line-icon','TOO_MANY_REQUESTS','_hover','collabStatus.syncing','CollaborationEvent','@univerjs/sheets','UniverDocsUi','_urlService','then','ACTIVE_UNIT_EVENT_CHANNEL','INVALID_INVITE_CODE','event$','LICENSE_MAX_UNITS_EXCEEDED','collab-text-range-','_cursors','onPointerLeave$','idSuffix','xlink:href','shareReplay','RefRangeService','INTERNAL_ERROR','getTypeOfUnitAdded$','registerBeforeClose','max','defineProperty','off-line-icon_clip0_910_343','_docClipboardService','translate(.97)','getStateCache','_online','_initEvent','handleDeleteRangeMoveLeft','OnLineIcon','pushState','isTransformMutationFailure','_color','disposeWithMe','setTimeout','MessageType','green.600','labelPosition','collabCursorState$','all','takeUntil','0\x200\x2016\x2016','16453dEwUvO','_syncEditingCollabCursorService','_startSheetCollabCursor','_saveCache','none','isActive','handleIRemoveCol','history','DocIMEInputManagerService','_saveTaskMap','_doCreateSocket','_backgroundColor','result','NOT_FOUND','_themeService','min','post','saveTaskMap','getMember','className','add','_anchor','transformSelections','map'];_0x2b57=function(){return _0x5c64ae;};return _0x2b57();}(function(_0x330ea5,_0x5d75af){const _0x2dfe2e=_0x3b2a,_0x44deb2=_0x330ea5();while(!![]){try{const _0x7badea=-parseInt(_0x2dfe2e(0x2e7))/0x1+parseInt(_0x2dfe2e(0x1a3))/0x2+-parseInt(_0x2dfe2e(0x214))/0x3*(parseInt(_0x2dfe2e(0x380))/0x4)+-parseInt(_0x2dfe2e(0x3a8))/0x5+-parseInt(_0x2dfe2e(0x27d))/0x6*(-parseInt(_0x2dfe2e(0x147))/0x7)+-parseInt(_0x2dfe2e(0x17d))/0x8*(parseInt(_0x2dfe2e(0x2b3))/0x9)+-parseInt(_0x2dfe2e(0x243))/0xa*(-parseInt(_0x2dfe2e(0x215))/0xb);if(_0x7badea===_0x5d75af)break;else _0x44deb2['push'](_0x44deb2['shift']());}catch(_0x2c4b25){_0x44deb2['push'](_0x44deb2['shift']());}}}(_0x2b57,0xb7e80),function(_0x434eb8,_0x4c0d31){const _0x158311=_0x3b2a;typeof exports==_0x158311(0x333)&&typeof module<'u'?_0x4c0d31(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define=='function'&&define[_0x158311(0x25f)]?define(['exports',_0x158311(0x32f),'@univerjs-pro/collaboration-client',_0x158311(0x1ba),'@univerjs/ui',_0x158311(0x1e4),'@univerjs/design','react','@univerjs/rpc',_0x158311(0x2bf),_0x158311(0x272),'@univerjs/network',_0x158311(0x384),_0x158311(0x145),_0x158311(0x35e),'@univerjs/docs',_0x158311(0x148),_0x158311(0x154),_0x158311(0x1f1)],_0x4c0d31):(_0x434eb8=typeof globalThis<'u'?globalThis:_0x434eb8||self,_0x4c0d31(_0x434eb8['UniverProCollaborationClientUi']={},_0x434eb8['React'],_0x434eb8[_0x158311(0x15f)],_0x434eb8['UniverCore'],_0x434eb8['UniverUi'],_0x434eb8[_0x158311(0x1e4)],_0x434eb8[_0x158311(0x37e)],_0x434eb8['React'],_0x434eb8[_0x158311(0x2a6)],_0x434eb8[_0x158311(0x3ba)],_0x434eb8[_0x158311(0x343)],_0x434eb8['UniverNetwork'],_0x434eb8[_0x158311(0x2c0)],_0x434eb8[_0x158311(0x2b8)],_0x434eb8[_0x158311(0x3cd)],_0x434eb8[_0x158311(0x306)],_0x434eb8[_0x158311(0x181)],_0x434eb8[_0x158311(0x1e4)][_0x158311(0x1f6)],_0x434eb8['UniverSheetsUi']));}(this,function(_0x309383,_0x4108a3,_0x45d92a,_0x51234e,_0x55a91c,_0x5bbaf2,_0x5ab59c,_0x2da17c,_0xbc201,_0x2cb7cc,_0x5cd4ea,_0x34b1e7,_0x31dfa4,_0x11775c,_0x2bb387,_0x5886b2,_0x2966d1,_0x653998,_0x1f6c03){'use strict';const _0xbc4bab=_0x3b2a;var _0x44b040=Object[_0xbc4bab(0x2d2)],_0x146781=(_0x5b79f1,_0x3ba0bc,_0x516adb)=>_0x3ba0bc in _0x5b79f1?_0x44b040(_0x5b79f1,_0x3ba0bc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x516adb}):_0x5b79f1[_0x3ba0bc]=_0x516adb,_0x1e1d43=(_0x3a95a0,_0x8d50f5,_0x23f4f1)=>_0x146781(_0x3a95a0,typeof _0x8d50f5!=_0xbc4bab(0x38c)?_0x8d50f5+'':_0x8d50f5,_0x23f4f1),_0x1a6fea=function(){const _0x245c46=_0xbc4bab;return _0x1a6fea=Object[_0x245c46(0x3d4)]||function(_0x126ccf){const _0x41c5b7=_0x245c46;for(var _0x3be70d,_0x2e6727=0x1,_0x15c128=arguments[_0x41c5b7(0x277)];_0x2e6727<_0x15c128;_0x2e6727++){_0x3be70d=arguments[_0x2e6727];for(var _0x552dba in _0x3be70d)Object['prototype'][_0x41c5b7(0x2a7)][_0x41c5b7(0x320)](_0x3be70d,_0x552dba)&&(_0x126ccf[_0x552dba]=_0x3be70d[_0x552dba]);}return _0x126ccf;},_0x1a6fea[_0x245c46(0x350)](this,arguments);},_0x79352=function(_0x34e20a,_0x1372cd){const _0x236dc0=_0xbc4bab;var _0x51fcab={};for(var _0x2a96b3 in _0x34e20a)Object[_0x236dc0(0x26b)]['hasOwnProperty'][_0x236dc0(0x320)](_0x34e20a,_0x2a96b3)&&_0x1372cd[_0x236dc0(0x393)](_0x2a96b3)<0x0&&(_0x51fcab[_0x2a96b3]=_0x34e20a[_0x2a96b3]);if(_0x34e20a!=null&&typeof Object[_0x236dc0(0x349)]==_0x236dc0(0x2b2)){for(var _0x3c83bd=0x0,_0x2a96b3=Object[_0x236dc0(0x349)](_0x34e20a);_0x3c83bd<_0x2a96b3[_0x236dc0(0x277)];_0x3c83bd++)_0x1372cd['indexOf'](_0x2a96b3[_0x3c83bd])<0x0&&Object['prototype'][_0x236dc0(0x34b)]['call'](_0x34e20a,_0x2a96b3[_0x3c83bd])&&(_0x51fcab[_0x2a96b3[_0x3c83bd]]=_0x34e20a[_0x2a96b3[_0x3c83bd]]);}return _0x51fcab;},_0x4b2c24=_0x2da17c[_0xbc4bab(0x3a1)](function(_0x4135c1,_0x57b871){const _0x38f007=_0xbc4bab;var _0x236544=_0x4135c1[_0x38f007(0x1e5)],_0x3eca13=_0x4135c1['id'],_0x4e9e6d=_0x4135c1[_0x38f007(0x2fa)],_0xc95e8e=_0x4135c1[_0x38f007(0x301)],_0x3071a8=_0x79352(_0x4135c1,['icon','id',_0x38f007(0x2fa),_0x38f007(0x301)]),_0x1382b4='univerjs-icon\x20univerjs-icon-'[_0x38f007(0x192)](_0x3eca13,'\x20')[_0x38f007(0x192)](_0x4e9e6d||'')['trim'](),_0x16999a=_0x2da17c[_0x38f007(0x259)]('_'[_0x38f007(0x192)](_0x24ba15()));return _0x349d8d(_0x236544,''['concat'](_0x3eca13),{'defIds':_0x236544[_0x38f007(0x290)],'idSuffix':_0x16999a[_0x38f007(0x355)]},_0x1a6fea({'ref':_0x57b871,'className':_0x1382b4},_0x3071a8),_0xc95e8e);});function _0x349d8d(_0x250cf5,_0x1e8d64,_0x1c962e,_0x54e093,_0x2e4faa){const _0x4284b9=_0xbc4bab;return _0x2da17c[_0x4284b9(0x38d)](_0x250cf5[_0x4284b9(0x281)],_0x1a6fea(_0x1a6fea({'key':_0x1e8d64},_0x35d463(_0x250cf5,_0x1c962e,_0x2e4faa)),_0x54e093),(_0x50888c(_0x250cf5,_0x1c962e)[_0x4284b9(0x200)]||[])['map'](function(_0x18c7eb,_0x3bc92d){const _0x6c6dbe=_0x4284b9;return _0x349d8d(_0x18c7eb,''[_0x6c6dbe(0x192)](_0x1e8d64,'-')[_0x6c6dbe(0x192)](_0x250cf5['tag'],'-')['concat'](_0x3bc92d),_0x1c962e,void 0x0,_0x2e4faa);}));}function _0x35d463(_0x584736,_0x17a28f,_0x1e8d13){const _0x13c087=_0xbc4bab;var _0x2cf621=_0x1a6fea({},_0x584736[_0x13c087(0x32d)]);_0x1e8d13!=null&&_0x1e8d13[_0x13c087(0x23a)]&&_0x2cf621['fill']===_0x13c087(0x23a)&&(_0x2cf621[_0x13c087(0x3d8)]=_0x1e8d13[_0x13c087(0x23a)]),_0x584736[_0x13c087(0x281)]==='mask'&&_0x2cf621['id']&&(_0x2cf621['id']=_0x2cf621['id']+_0x17a28f['idSuffix']),Object[_0x13c087(0x23d)](_0x2cf621)[_0x13c087(0x35f)](function(_0x2faf39){const _0x22997e=_0x13c087;var _0x5cff4c=_0x2faf39[0x0],_0x2f08ee=_0x2faf39[0x1];_0x5cff4c===_0x22997e(0x1d1)&&typeof _0x2f08ee==_0x22997e(0x1d3)&&(_0x2cf621[_0x5cff4c]=_0x2f08ee[_0x22997e(0x39e)](/url\(#(.*)\)/,_0x22997e(0x3b4)['concat'](_0x17a28f['idSuffix'],')')));});var _0x5f5b5c=_0x17a28f['defIds'];return!_0x5f5b5c||_0x5f5b5c[_0x13c087(0x277)]===0x0||(_0x584736[_0x13c087(0x281)]===_0x13c087(0x37b)&&_0x2cf621['xlink:href']&&(_0x2cf621[_0x13c087(0x2cb)]=_0x2cf621[_0x13c087(0x2cb)]+_0x17a28f[_0x13c087(0x2ca)]),Object[_0x13c087(0x23d)](_0x2cf621)[_0x13c087(0x35f)](function(_0x249237){const _0x4e7ae7=_0x13c087;var _0xba2451=_0x249237[0x0],_0x47b2c1=_0x249237[0x1];typeof _0x47b2c1==_0x4e7ae7(0x1d3)&&(_0x2cf621[_0xba2451]=_0x47b2c1[_0x4e7ae7(0x39e)](/url\(#(.*)\)/,_0x4e7ae7(0x3b4)[_0x4e7ae7(0x192)](_0x17a28f[_0x4e7ae7(0x2ca)],')')));})),_0x2cf621;}function _0x50888c(_0x2e8b48,_0x305cb0){const _0x299c0b=_0xbc4bab;var _0x4bddb5,_0x5118e2=_0x305cb0[_0x299c0b(0x290)];return!_0x5118e2||_0x5118e2[_0x299c0b(0x277)]===0x0?_0x2e8b48:_0x2e8b48[_0x299c0b(0x281)]===_0x299c0b(0x1f8)&&(!((_0x4bddb5=_0x2e8b48[_0x299c0b(0x200)])===null||_0x4bddb5===void 0x0)&&_0x4bddb5['length'])?_0x1a6fea(_0x1a6fea({},_0x2e8b48),{'children':_0x2e8b48[_0x299c0b(0x200)]['map'](function(_0x1cbebe){const _0x4ffa3b=_0x299c0b;return typeof _0x1cbebe[_0x4ffa3b(0x32d)]['id']==_0x4ffa3b(0x1d3)&&_0x5118e2&&_0x5118e2[_0x4ffa3b(0x3d3)](_0x1cbebe[_0x4ffa3b(0x32d)]['id'])?_0x1a6fea(_0x1a6fea({},_0x1cbebe),{'attrs':_0x1a6fea(_0x1a6fea({},_0x1cbebe[_0x4ffa3b(0x32d)]),{'id':_0x1cbebe[_0x4ffa3b(0x32d)]['id']+_0x305cb0[_0x4ffa3b(0x2ca)]})}):_0x1cbebe;})}):_0x2e8b48;}function _0x24ba15(){const _0x2a8087=_0xbc4bab;return Math[_0x2a8087(0x1c5)]()[_0x2a8087(0x193)](0x24)[_0x2a8087(0x144)](0x2,0x8);}_0x4b2c24[_0xbc4bab(0x22d)]=_0xbc4bab(0x32c);var _0x3d19b5={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0xbc4bab(0x2e6),'width':_0xbc4bab(0x198),'height':_0xbc4bab(0x198)},'children':[{'tag':'g','attrs':{'clipPath':_0xbc4bab(0x15e)},'children':[{'tag':_0xbc4bab(0x26a),'attrs':{'stroke':_0xbc4bab(0x273),'d':_0xbc4bab(0x357),'strokeLinecap':_0xbc4bab(0x280),'strokeLinejoin':_0xbc4bab(0x280),'strokeWidth':1.2}}]},{'tag':_0xbc4bab(0x1f8),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0xbc4bab(0x2d3)},'children':[{'tag':_0xbc4bab(0x26a),'attrs':{'fill':_0xbc4bab(0x15a),'d':_0xbc4bab(0x210)}}]}]}],'defIds':[_0xbc4bab(0x2d3)]},_0x297683=_0x2da17c[_0xbc4bab(0x3a1)](function(_0x20abad,_0x1a39d8){const _0x507261=_0xbc4bab;return _0x2da17c[_0x507261(0x38d)](_0x4b2c24,Object[_0x507261(0x3d4)]({},_0x20abad,{'id':_0x507261(0x226),'ref':_0x1a39d8,'icon':_0x3d19b5}));});_0x297683[_0xbc4bab(0x22d)]='OffLineIcon';var _0x1559e2={'tag':_0xbc4bab(0x220),'attrs':{'xmlns':_0xbc4bab(0x190),'fill':_0xbc4bab(0x2eb),'viewBox':'0\x200\x2017\x2016','width':'1em','height':_0xbc4bab(0x198)},'children':[{'tag':'g','attrs':{'clipPath':_0xbc4bab(0x1e1)},'children':[{'tag':'path','attrs':{'stroke':_0xbc4bab(0x273),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0xbc4bab(0x280),'strokeLinejoin':_0xbc4bab(0x280),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0xbc4bab(0x28e)},'children':[{'tag':_0xbc4bab(0x26a),'attrs':{'fill':_0xbc4bab(0x15a),'d':_0xbc4bab(0x210),'transform':_0xbc4bab(0x2d5)}}]}]}],'defIds':[_0xbc4bab(0x28e)]},_0x519618=_0x2da17c[_0xbc4bab(0x3a1)](function(_0x38efe6,_0x5cd4f2){const _0x3bca7d=_0xbc4bab;return _0x2da17c[_0x3bca7d(0x38d)](_0x4b2c24,Object[_0x3bca7d(0x3d4)]({},_0x38efe6,{'id':_0x3bca7d(0x2ba),'ref':_0x5cd4f2,'icon':_0x1559e2}));});_0x519618[_0xbc4bab(0x22d)]=_0xbc4bab(0x2da);function _0x3ca4e6(_0x1d3690){const _0x416400=_0xbc4bab;switch(_0x1d3690){case _0x45d92a[_0x416400(0x33c)][_0x416400(0x1cc)]:return'collabStatus.offline';case _0x45d92a[_0x416400(0x33c)][_0x416400(0x251)]:return _0x416400(0x29c);case _0x45d92a['CollaborationStatus']['FETCH_MISS']:return _0x416400(0x29a);case _0x45d92a[_0x416400(0x33c)][_0x416400(0x1a1)]:return _0x416400(0x370);case _0x45d92a[_0x416400(0x33c)][_0x416400(0x386)]:case _0x45d92a[_0x416400(0x33c)][_0x416400(0x26c)]:return _0x416400(0x2bd);case _0x45d92a[_0x416400(0x33c)][_0x416400(0x3ae)]:case _0x45d92a['CollaborationStatus'][_0x416400(0x14f)]:return _0x416400(0x196);}}function _0x70e1eb(_0x134c72){const _0x374e33=_0xbc4bab,{status$:_0x45d259}=_0x134c72,_0x5b37be=_0x55a91c[_0x374e33(0x22e)](_0x45d259,_0x45d92a[_0x374e33(0x33c)][_0x374e33(0x1a1)]),_0x204790=_0x55a91c[_0x374e33(0x162)](_0x51234e[_0x374e33(0x2b1)]),_0x2d482a=_0x55a91c[_0x374e33(0x162)](_0x45d92a[_0x374e33(0x327)]),_0x2895ae=_0x5b37be!==_0x45d92a[_0x374e33(0x33c)][_0x374e33(0x1cc)],_0x9b076d=_0x204790['t'](_0x3ca4e6(_0x5b37be)),_0x34a400=_0x2895ae?_0x4108a3['jsx'](_0x519618,{}):_0x4108a3[_0x374e33(0x28b)](_0x297683,{}),_0x16c008=_0x2da17c[_0x374e33(0x337)](()=>{const _0x130684=_0x374e33;_0x2895ae||_0x2d482a[_0x130684(0x3c0)]();},[_0x2895ae,_0x2d482a]);function _0x4c9ac6(){const _0x54fb7e=_0x374e33;return _0x4108a3[_0x54fb7e(0x3ce)]('div',{'className':'univer-flex\x20univer-items-center','onClick':_0x16c008,'children':[_0x4108a3[_0x54fb7e(0x28b)]('div',{'className':_0x5ab59c[_0x54fb7e(0x18f)](_0x54fb7e(0x205),{'univer-text-green-500':_0x2895ae,'univer-text-red-500':!_0x2895ae}),'children':_0x34a400}),_0x4108a3['jsx'](_0x54fb7e(0x28d),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x9b076d})]});}return _0x2895ae?_0x4c9ac6():_0x4108a3['jsx'](_0x5ab59c['Tooltip'],{'title':_0x204790['t'](_0x374e33(0x167)),'children':_0x4c9ac6()});}var _0x11a979=Object[_0xbc4bab(0x218)],_0x3fea47=(_0x187b77,_0x94055d,_0x4f8f86,_0x4b15b3)=>{const _0x5907dd=_0xbc4bab;for(var _0x5921f5=_0x4b15b3>0x1?void 0x0:_0x4b15b3?_0x11a979(_0x94055d,_0x4f8f86):_0x94055d,_0x2e84f8=_0x187b77[_0x5907dd(0x277)]-0x1,_0x48351e;_0x2e84f8>=0x0;_0x2e84f8--)(_0x48351e=_0x187b77[_0x2e84f8])&&(_0x5921f5=_0x48351e(_0x5921f5)||_0x5921f5);return _0x5921f5;},_0x5b8782=(_0x187dde,_0x4c4d44)=>(_0xfe6cae,_0x346f90)=>_0x4c4d44(_0xfe6cae,_0x346f90,_0x187dde);_0x309383[_0xbc4bab(0x20e)]=class extends _0x51234e['Disposable']{constructor(_0x1ea5fb,_0x12d938,_0x28757e,_0x77b3bb){const _0x39de58=_0xbc4bab;super(),_0x1e1d43(this,_0x39de58(0x151),new _0x5bbaf2['BehaviorSubject'](_0x45d92a[_0x39de58(0x33c)][_0x39de58(0x1a1)])),(this[_0x39de58(0x17e)]=_0x1ea5fb,this[_0x39de58(0x284)]=_0x12d938,this[_0x39de58(0x1d9)]=_0x28757e,this[_0x39de58(0x314)]=_0x77b3bb,this[_0x39de58(0x24c)](),this[_0x39de58(0x158)]());}[_0xbc4bab(0x158)](){const _0x3987c3=_0xbc4bab;this[_0x3987c3(0x2de)](this['_univerInstanceService'][_0x3987c3(0x155)]['pipe'](_0x5bbaf2[_0x3987c3(0x3c8)](()=>{const _0xff396d=_0x3987c3,_0x42dacf=this['_univerInstanceService'][_0xff396d(0x3d9)]();return _0x42dacf?this[_0xff396d(0x1d9)][_0xff396d(0x30e)](_0x42dacf[_0xff396d(0x27a)]()):_0x5bbaf2['of'](null);}),_0x5bbaf2[_0x3987c3(0x3c8)](_0x11dda3=>_0x11dda3?_0x11dda3[_0x3987c3(0x1da)]:_0x5bbaf2['of'](_0x45d92a[_0x3987c3(0x33c)]['NOT_COLLAB'])))[_0x3987c3(0x2ae)](_0x18d61a=>{const _0x2177ca=_0x3987c3;this[_0x2177ca(0x151)][_0x2177ca(0x1ab)](_0x18d61a);}));}[_0xbc4bab(0x24c)](){const _0x5eef0c=_0xbc4bab;this[_0x5eef0c(0x2de)](this[_0x5eef0c(0x314)][_0x5eef0c(0x1b3)](_0x55a91c['BuiltInUIPart']['HEADER_MENU'],()=>_0x55a91c[_0x5eef0c(0x1a5)](_0x566f53({'status$':this['_status$'][_0x5eef0c(0x2ac)]()}),this[_0x5eef0c(0x284)])));}},_0x309383[_0xbc4bab(0x20e)]=_0x3fea47([_0x5b8782(0x0,_0x51234e[_0xbc4bab(0x2a4)]),_0x5b8782(0x1,_0x51234e['Inject'](_0x51234e[_0xbc4bab(0x345)])),_0x5b8782(0x2,_0x51234e[_0xbc4bab(0x1e7)](_0x45d92a[_0xbc4bab(0x3a5)])),_0x5b8782(0x3,_0x55a91c[_0xbc4bab(0x275)])],_0x309383['DesktopCollaborationStatusDisplayController']);function _0x566f53(_0xc0a8ee){const {status$:_0x5c62c2}=_0xc0a8ee;return function(){const _0x410ee1=_0x3b2a;return _0x4108a3[_0x410ee1(0x28b)](_0x70e1eb,{'status$':_0x5c62c2});};}const _0x15568a=_0x51234e['createIdentifier']('uni.network.url-service');var _0x2cd2e4=Object['getOwnPropertyDescriptor'],_0x2b7d6c=(_0x250632,_0x5b9b48,_0x139cd1,_0x5c79d7)=>{const _0x182ab3=_0xbc4bab;for(var _0x51635e=_0x5c79d7>0x1?void 0x0:_0x5c79d7?_0x2cd2e4(_0x5b9b48,_0x139cd1):_0x5b9b48,_0x5a447a=_0x250632[_0x182ab3(0x277)]-0x1,_0x2306b2;_0x5a447a>=0x0;_0x5a447a--)(_0x2306b2=_0x250632[_0x5a447a])&&(_0x51635e=_0x2306b2(_0x51635e)||_0x51635e);return _0x51635e;},_0x451062=(_0x417f84,_0x427fcb)=>(_0x46bda2,_0x82900c)=>_0x427fcb(_0x46bda2,_0x82900c,_0x417f84);_0x309383[_0xbc4bab(0x221)]=class extends _0x51234e[_0xbc4bab(0x207)]{constructor(_0x50ae3d,_0x51062d,_0x2a166e,_0x1539f8,_0x11a4e9){const _0x1b50e9=_0xbc4bab;super(),this[_0x1b50e9(0x2c1)]=_0x50ae3d,this[_0x1b50e9(0x2ff)]=_0x51062d,this[_0x1b50e9(0x20f)]=_0x2a166e,this[_0x1b50e9(0x373)]=_0x1539f8,_0x11a4e9?_0x11a4e9==null||_0x11a4e9[_0x1b50e9(0x182)]()[_0x1b50e9(0x2c2)](()=>this[_0x1b50e9(0x1d6)]()):(this[_0x1b50e9(0x2ff)][_0x1b50e9(0x1bc)]('[CollaborationDataLoaderController]',_0x1b50e9(0x37f)),this[_0x1b50e9(0x1d6)]());}async['_init'](){const _0x3c5492=_0xbc4bab,_0x525a25=this[_0x3c5492(0x2c1)][_0x3c5492(0x363)](_0x3c5492(0x387)),_0x1820b5=this['_urlService'][_0x3c5492(0x363)](_0x3c5492(0x3c2)),_0x337732=this[_0x3c5492(0x2c1)][_0x3c5492(0x363)](_0x3c5492(0x342));if(!_0x525a25||!_0x1820b5){this[_0x3c5492(0x2ff)][_0x3c5492(0x1bc)]('[CollaborationDataLoaderController]',_0x3c5492(0x325));return;}const _0x1dcc36=await this[_0x3c5492(0x373)][_0x3c5492(0x399)](_0x525a25,Number(_0x1820b5),_0x337732);_0x1dcc36&&_0x1dcc36 instanceof _0x51234e[_0x3c5492(0x22c)]&&this[_0x3c5492(0x3b7)](_0x1dcc36);}async[_0xbc4bab(0x3b7)](_0x5e29fc){const _0x3ef7f3=_0xbc4bab;await this[_0x3ef7f3(0x264)](_0x5e29fc),_0x5e29fc['activeSheet$'][_0x3ef7f3(0x3bd)](_0x5bbaf2[_0x3ef7f3(0x2e5)](this['dispose$']))[_0x3ef7f3(0x2ae)](_0x5d7282=>{const _0x455540=_0x3ef7f3;_0x5d7282&&this[_0x455540(0x24d)](_0x5d7282);}),this[_0x3ef7f3(0x2c1)][_0x3ef7f3(0x16a)][_0x3ef7f3(0x3bd)](_0x5bbaf2['takeUntil'](this[_0x3ef7f3(0x1a6)]))['subscribe'](()=>this[_0x3ef7f3(0x264)](_0x5e29fc));}[_0xbc4bab(0x24d)](_0x29804c,_0x47ad90=!0x1){const _0x23c2b0=_0xbc4bab,_0x3aa05f=this['_urlService'][_0x23c2b0(0x363)](_0x23c2b0(0x342));_0x29804c['getSheetId']()!==_0x3aa05f&&this[_0x23c2b0(0x2c1)]['setParam'](_0x23c2b0(0x342),_0x29804c[_0x23c2b0(0x156)](),_0x47ad90);}async[_0xbc4bab(0x264)](_0x93fac){const _0x195cb5=_0xbc4bab;var _0x5eb42d;const _0x3dbdca=this[_0x195cb5(0x2c1)][_0x195cb5(0x363)](_0x195cb5(0x342));if(!_0x3dbdca||!_0x93fac['getSheetBySheetId'](_0x3dbdca)){const _0x4ff547=_0x93fac[_0x195cb5(0x1e6)]()[0x0],_0x5560e4=_0x93fac[_0x195cb5(0x188)](_0x4ff547);if(!_0x5560e4)return;this['_updateURLWithCurrentState'](_0x5560e4,!0x0),await this[_0x195cb5(0x20f)]['executeCommand'](_0x2cb7cc[_0x195cb5(0x1d0)]['id'],{'unitId':_0x93fac[_0x195cb5(0x27a)](),'subUnitId':_0x4ff547});return;}((_0x5eb42d=_0x93fac[_0x195cb5(0x17f)]())==null?void 0x0:_0x5eb42d[_0x195cb5(0x156)]())!==_0x3dbdca&&await this['_commandService'][_0x195cb5(0x298)](_0x2cb7cc[_0x195cb5(0x1d0)]['id'],{'unitId':_0x93fac[_0x195cb5(0x27a)](),'subUnitId':_0x3dbdca});}},_0x309383[_0xbc4bab(0x221)]=_0x2b7d6c([_0x451062(0x0,_0x15568a),_0x451062(0x1,_0x51234e[_0xbc4bab(0x1a8)]),_0x451062(0x2,_0x51234e[_0xbc4bab(0x30f)]),_0x451062(0x3,_0x51234e[_0xbc4bab(0x1e7)](_0x45d92a[_0xbc4bab(0x2a0)])),_0x451062(0x4,_0x51234e['Optional'](_0xbc201['IRemoteInstanceService']))],_0x309383[_0xbc4bab(0x221)]);var _0x9d09a8=Object[_0xbc4bab(0x218)],_0x25b248=(_0x27b364,_0x42e30b,_0x4a7dfe,_0x4b161c)=>{const _0x2ac653=_0xbc4bab;for(var _0x11a3bf=_0x4b161c>0x1?void 0x0:_0x4b161c?_0x9d09a8(_0x42e30b,_0x4a7dfe):_0x42e30b,_0x1066ea=_0x27b364[_0x2ac653(0x277)]-0x1,_0x4a1d67;_0x1066ea>=0x0;_0x1066ea--)(_0x4a1d67=_0x27b364[_0x1066ea])&&(_0x11a3bf=_0x4a1d67(_0x11a3bf)||_0x11a3bf);return _0x11a3bf;},_0x27abb4=(_0x2f643a,_0x41976c)=>(_0x256464,_0x5eb68d)=>_0x41976c(_0x256464,_0x5eb68d,_0x2f643a);let _0x25835a=class extends _0x51234e[_0xbc4bab(0x207)]{constructor(_0x463654,_0x50b6ce){const _0x5370b5=_0xbc4bab;super(),this[_0x5370b5(0x2d4)]=_0x463654,this['_imageIoService']=_0x50b6ce,this[_0x5370b5(0x1d6)]();}[_0xbc4bab(0x1d6)](){const _0x15806f=_0xbc4bab,_0x42ffea=this;this[_0x15806f(0x2de)](this['_docClipboardService'][_0x15806f(0x17c)]({'onBeforePasteImage':async _0x90bc36=>{const _0x912d63=_0x15806f,_0x4a78fb=await _0x42ffea[_0x912d63(0x1de)][_0x912d63(0x1e9)](_0x90bc36);return _0x4a78fb?{'source':_0x4a78fb['source'],'imageSourceType':_0x4a78fb['imageSourceType']}:null;}}));}};_0x25835a=_0x25b248([_0x27abb4(0x0,_0x31dfa4[_0xbc4bab(0x168)]),_0x27abb4(0x1,_0x11775c['IImageIoService'])],_0x25835a);const _0x5ad886=[_0xbc4bab(0x367),_0xbc4bab(0x1ca),_0xbc4bab(0x2e1),_0xbc4bab(0x381),_0xbc4bab(0x239),_0xbc4bab(0x369)];class _0x54275e extends _0x51234e[_0xbc4bab(0x292)]{constructor(){const _0x455ec1=_0xbc4bab;super(...arguments),_0x1e1d43(this,_0x455ec1(0x255),new Map()),_0x1e1d43(this,_0x455ec1(0x1b4),0x0);}[_0xbc4bab(0x3bc)](_0x46af17){const _0x13e90c=_0xbc4bab;if(this['_assignedColors'][_0x13e90c(0x172)](_0x46af17))return this[_0x13e90c(0x255)][_0x13e90c(0x194)](_0x46af17);const _0x520d08=_0x5ad886[this[_0x13e90c(0x1b4)]];return this['_colorIndex']=(this[_0x13e90c(0x1b4)]+0x1)%_0x5ad886[_0x13e90c(0x277)],this[_0x13e90c(0x255)][_0x13e90c(0x36c)](_0x46af17,_0x520d08),_0x520d08;}}function _0x2bc99b(_0x3cd7bf){const _0x22e063=_0xbc4bab;let _0x603c9a='';for(const _0x363e38 of _0x3cd7bf){const {startOffset:_0xc07942,endOffset:_0x4b63ef,isActive:_0x470177,rangeType:_0x386ab7,segmentId:_0x17b528,segmentPage:_0xee2c3d}=_0x363e38;_0x603c9a[_0x22e063(0x277)]&&(_0x603c9a+=','),_0x603c9a+=_0xc07942+':'+_0x4b63ef+':'+(_0x470177?'1':'0')+':'+_0x386ab7+':'+_0x17b528+':'+_0xee2c3d;}return _0x603c9a;}function _0x3ff9a8(_0x504898){const _0x883f7e=_0xbc4bab,_0x432775=_0x504898[_0x883f7e(0x282)](','),_0xc399c9=[];for(const _0xcba303 of _0x432775){const [_0x205308,_0xef0bb9,_0x453c1f,_0x3f09ba,_0x502af3,_0x220249]=_0xcba303['split'](':');_0xc399c9[_0x883f7e(0x1e0)]({'startOffset':Number(_0x205308),'endOffset':Number(_0xef0bb9),'collapsed':_0x205308===_0xef0bb9,'isActive':_0x453c1f==='1','rangeType':_0x3f09ba===_0x51234e['DOC_RANGE_TYPE']['TEXT']?_0x51234e[_0x883f7e(0x335)]['TEXT']:_0x51234e[_0x883f7e(0x335)][_0x883f7e(0x16f)],'segmentId':typeof _0x502af3=='string'?String(_0x502af3):'','segmentPage':Number(_0x220249!=null?_0x220249:-0x1)});}return _0xc399c9[_0x883f7e(0x195)](_0x12511c=>_0x12511c[_0x883f7e(0x2ec)])||(_0xc399c9[0x0][_0x883f7e(0x2ec)]=!0x0),_0xc399c9;}class _0x143609 extends _0x51234e['RxDisposable']{constructor(){const _0x3cc35a=_0xbc4bab;super(...arguments),_0x1e1d43(this,'_collabCursorState$',new _0x5bbaf2[(_0x3cc35a(0x20d))](null)),_0x1e1d43(this,'collabCursorState$',this[_0x3cc35a(0x3da)][_0x3cc35a(0x2ac)]());}['syncEditingCollabCursor'](_0x20dfbe){const _0x32af61=_0xbc4bab,{unitID:_0x5a8d5e,memberID:_0x355146,textRanges:_0x54905a}=_0x20dfbe,_0x178513=_0x2bc99b(_0x54905a);if(_0x178513==='')return;const _0x597797={'unitID':_0x5a8d5e,'memberID':_0x355146,'selection':_0x178513};this['_collabCursorState$'][_0x32af61(0x1ab)](_0x597797);}}var _0x135f85=Object[_0xbc4bab(0x218)],_0x5314dd=(_0x4de90a,_0xe90b94,_0x224ebd,_0x51d61a)=>{const _0x539d49=_0xbc4bab;for(var _0x3da79e=_0x51d61a>0x1?void 0x0:_0x51d61a?_0x135f85(_0xe90b94,_0x224ebd):_0xe90b94,_0x5ab6b4=_0x4de90a[_0x539d49(0x277)]-0x1,_0x11b576;_0x5ab6b4>=0x0;_0x5ab6b4--)(_0x11b576=_0x4de90a[_0x5ab6b4])&&(_0x3da79e=_0x11b576(_0x3da79e)||_0x3da79e);return _0x3da79e;},_0x4b1656=(_0x646629,_0x1aa36a)=>(_0x11c498,_0x30daeb)=>_0x1aa36a(_0x11c498,_0x30daeb,_0x646629);const _0x1d3b69=0x12c,_0x71aeba=0x64;let _0x411e32=class extends _0x51234e['RxDisposable']{constructor(_0x28f29b,_0x451e3b,_0x387355,_0x575ee3,_0x336e31,_0x45fac7,_0x3635ae,_0x5f1e46,_0x4ecde9){const _0xc4c1b5=_0xbc4bab;super(),_0x1e1d43(this,_0xc4c1b5(0x2d7),!0x1),_0x1e1d43(this,'_init',!0x1),_0x1e1d43(this,_0xc4c1b5(0x241),new _0x5bbaf2[(_0xc4c1b5(0x20d))](new Map())),_0x1e1d43(this,_0xc4c1b5(0x21c),this[_0xc4c1b5(0x241)][_0xc4c1b5(0x2ac)]()),_0x1e1d43(this,_0xc4c1b5(0x206),new _0x5bbaf2['BehaviorSubject']([])),_0x1e1d43(this,_0xc4c1b5(0x1f5),this[_0xc4c1b5(0x206)][_0xc4c1b5(0x3bd)](_0x5bbaf2[_0xc4c1b5(0x252)](_0x1d3b69))),_0x1e1d43(this,_0xc4c1b5(0x371),_0x51234e['debounce'](_0x4d3fd6=>{const _0x49852c=_0xc4c1b5,_0x2998a7={'eventID':_0x2bb387[_0x49852c(0x2be)][_0x49852c(0x35c)],'data':{'unitID':this['unitID'],'memberID':this[_0x49852c(0x20a)]['getMemberID'](),'selection':_0x2bc99b(_0x4d3fd6)}};this[_0x49852c(0x20a)]['send'](_0x2998a7,this[_0x49852c(0x228)]);},_0x71aeba)),(this['unitID']=_0x28f29b,this[_0xc4c1b5(0x20a)]=_0x451e3b,this[_0xc4c1b5(0x284)]=_0x387355,this['_colorAssignService']=_0x575ee3,this[_0xc4c1b5(0x3a3)]=_0x336e31,this['_syncEditingCollabCursorService']=_0x45fac7,this[_0xc4c1b5(0x16b)]=_0x3635ae,this[_0xc4c1b5(0x17e)]=_0x5f1e46,this['_commandService']=_0x4ecde9);}get['cursorInfo'](){const _0x1987bb=_0xbc4bab;return this[_0x1987bb(0x241)]['getValue']();}get['roomMembers'](){const _0xe163e=_0xbc4bab;return this['_roomMembers$'][_0xe163e(0x294)]();}[_0xbc4bab(0x310)](){const _0x1717bc=_0xbc4bab;super['dispose'](),this[_0x1717bc(0x241)][_0x1717bc(0x1ab)](new Map()),this[_0x1717bc(0x241)][_0x1717bc(0x19e)](),this['_roomMembers$'][_0x1717bc(0x1ab)]([]),this[_0x1717bc(0x206)][_0x1717bc(0x19e)]();}[_0xbc4bab(0x26f)](){const _0x28658e=_0xbc4bab;this[_0x28658e(0x1d6)]||(this[_0x28658e(0x1d6)]=!0x0,this['_session'][_0x28658e(0x385)][_0x28658e(0x3bd)](_0x5bbaf2['takeUntil'](this[_0x28658e(0x1a6)]))['subscribe'](_0x3f2ce0=>{const _0x38fb8f=_0x28658e;_0x3f2ce0===_0x45d92a['SessionStatus'][_0x38fb8f(0x25c)]?this[_0x38fb8f(0x3b5)]():this['_toggleOffline']();}),this[_0x28658e(0x20a)][_0x28658e(0x2c5)][_0x28658e(0x3bd)](_0x5bbaf2[_0x28658e(0x2e5)](this[_0x28658e(0x1a6)]))['subscribe'](_0xe0027b=>{const _0x501c36=_0x28658e,_0x3b85a0=_0xe0027b[_0x501c36(0x143)];_0x3b85a0===_0x2bb387[_0x501c36(0x2be)][_0x501c36(0x35c)]&&this[_0x501c36(0x3c1)](_0xe0027b),_0x3b85a0===_0x2bb387[_0x501c36(0x2be)]['USERS_LEAVE']&&this[_0x501c36(0x39b)](_0xe0027b);}),this[_0x28658e(0x2de)](this['_commandService'][_0x28658e(0x153)](_0x158ffb=>{const _0x5780d1=_0x28658e,_0x550c0f=_0x158ffb[_0x5780d1(0x32a)];_0x550c0f!=null&&this[_0x5780d1(0x2d7)]&&_0x158ffb['id']===_0x5886b2['SetTextSelectionsOperation']['id']&&_0x550c0f[_0x5780d1(0x3c6)]===this[_0x5780d1(0x228)]&&_0x550c0f['isEditing']===!0x1&&_0x550c0f[_0x5780d1(0x201)][_0x5780d1(0x277)]>0x0&&this[_0x5780d1(0x371)](_0x550c0f['ranges']);})),this[_0x28658e(0x2e8)][_0x28658e(0x2e3)][_0x28658e(0x3bd)](_0x5bbaf2[_0x28658e(0x2e5)](this['dispose$']))['subscribe'](_0x3c6004=>{const _0x4b44c5=_0x28658e;if((_0x3c6004==null?void 0x0:_0x3c6004['unitID'])!==this[_0x4b44c5(0x228)])return;const _0x30367d={'eventID':_0x2bb387[_0x4b44c5(0x2be)][_0x4b44c5(0x35c)],'data':_0x3c6004};this[_0x4b44c5(0x3c1)](_0x30367d);}),this[_0x28658e(0x2de)](this[_0x28658e(0x20f)][_0x28658e(0x153)](_0x42cee8=>{const _0x53b32d=_0x28658e;if(_0x42cee8[_0x53b32d(0x32a)]==null)return;const _0x517648=_0x42cee8['params'];if(_0x42cee8['id']!==_0x5886b2['RichTextEditingMutation']['id']||_0x517648[_0x53b32d(0x3c6)]!==this[_0x53b32d(0x228)])return;const _0x33f36f={'id':_0x53b32d(0x274),'params':_0x517648},_0x25f471=this['cursorInfo'];for(const [_0x5cfb35,_0x2a857e]of _0x25f471){const _0x41c25b={'id':_0x53b32d(0x274),'params':{'unitId':this[_0x53b32d(0x228)],'actions':null,'textRanges':_0x2a857e['ranges']}},_0x3d39ba=this[_0x53b32d(0x16b)]['transformMutation'](_0x33f36f,_0x41c25b,!0x1);if(_0x2bb387[_0x53b32d(0x2dc)](_0x3d39ba))throw _0x3d39ba[_0x53b32d(0x25a)];_0x25f471[_0x53b32d(0x36c)](_0x5cfb35,{..._0x2a857e,'ranges':_0x3d39ba['m2Prime'][_0x53b32d(0x32a)][_0x53b32d(0x185)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x25f471);});})));}['_onCursorUpdate'](_0x633321){const _0x40cd48=_0xbc4bab;var _0x271e4c,_0x5ef6b9;const {memberID:_0xe1c9cd,selection:_0x1c5cf5}=_0x633321[_0x40cd48(0x1b0)],_0x26f810=_0x3ff9a8(_0x1c5cf5),_0x264b32=(_0x5ef6b9=(_0x271e4c=this[_0x40cd48(0x3a3)]['getMember'](this['unitID'],_0xe1c9cd))==null?void 0x0:_0x271e4c[_0x40cd48(0x296)])!=null?_0x5ef6b9:_0x40cd48(0x329),_0x460aac={'color':this[_0x40cd48(0x3d5)][_0x40cd48(0x3bc)](_0xe1c9cd),'name':_0x264b32,'ranges':_0x26f810},_0x4d64b5=this[_0x40cd48(0x219)];_0x4d64b5['set'](_0xe1c9cd,_0x460aac),this[_0x40cd48(0x241)]['next'](_0x4d64b5);}[_0xbc4bab(0x39b)](_0x2629f7){const _0x2abb6d=_0xbc4bab,{memberID:_0x562829}=_0x2629f7['data'],_0x396260=this[_0x2abb6d(0x219)];_0x396260[_0x2abb6d(0x339)](_0x562829),this[_0x2abb6d(0x241)][_0x2abb6d(0x1ab)](_0x396260);}[_0xbc4bab(0x3b5)](){const _0x4994d3=_0xbc4bab;var _0x538095;if(this['_online']=!0x0,((_0x538095=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x538095[_0x4994d3(0x27a)]())!==this[_0x4994d3(0x228)])return;const _0x329b87=this[_0x4994d3(0x284)][_0x4994d3(0x194)](_0x5886b2['DocSelectionManagerService'])[_0x4994d3(0x3ad)]();Array[_0x4994d3(0x35b)](_0x329b87)&&_0x329b87[_0x4994d3(0x277)]>0x0&&this[_0x4994d3(0x371)](_0x329b87);}[_0xbc4bab(0x305)](){const _0x1436d4=_0xbc4bab;this[_0x1436d4(0x2d7)]=!0x1;}};_0x411e32=_0x5314dd([_0x4b1656(0x2,_0x51234e['Inject'](_0x51234e[_0xbc4bab(0x345)])),_0x4b1656(0x3,_0x51234e[_0xbc4bab(0x1e7)](_0x54275e)),_0x4b1656(0x4,_0x51234e[_0xbc4bab(0x1e7)](_0x45d92a[_0xbc4bab(0x178)])),_0x4b1656(0x5,_0x51234e[_0xbc4bab(0x1e7)](_0x143609)),_0x4b1656(0x6,_0x2bb387[_0xbc4bab(0x32e)]),_0x4b1656(0x7,_0x51234e[_0xbc4bab(0x2a4)]),_0x4b1656(0x8,_0x51234e[_0xbc4bab(0x30f)])],_0x411e32);var _0x381fae=Object['getOwnPropertyDescriptor'],_0xbbac47=(_0x5bf41c,_0x38627d,_0x504201,_0x25bf5d)=>{const _0x2a4a04=_0xbc4bab;for(var _0x7b8b1d=_0x25bf5d>0x1?void 0x0:_0x25bf5d?_0x381fae(_0x38627d,_0x504201):_0x38627d,_0x506634=_0x5bf41c[_0x2a4a04(0x277)]-0x1,_0x22bd70;_0x506634>=0x0;_0x506634--)(_0x22bd70=_0x5bf41c[_0x506634])&&(_0x7b8b1d=_0x22bd70(_0x7b8b1d)||_0x7b8b1d);return _0x7b8b1d;},_0x30b00e=(_0x18321e,_0x52c545)=>(_0x49143f,_0x36496e)=>_0x52c545(_0x49143f,_0x36496e,_0x18321e);const _0x3fa754=0x12c,_0x3c0e6d=0x64,_0x308728=()=>{let _0x41afff=[],_0x486f08=!0x1;return _0x58011c=>{const _0x2fefe7=_0x3b2a;_0x41afff[_0x2fefe7(0x1e0)](_0x58011c),_0x486f08||(_0x486f08=!0x0,setTimeout(()=>{const _0x3a0fd2=_0x2fefe7;_0x41afff[_0x3a0fd2(0x35f)](_0x205765=>_0x205765()),_0x41afff=[],_0x486f08=!0x1;}));};};let _0x6710a4=class extends _0x51234e[_0xbc4bab(0x207)]{constructor(_0xd5de8d,_0x163a76,_0x4564ca,_0x577805,_0x25573a,_0x82e508,_0x42bf58,_0x3a471e){const _0x144185=_0xbc4bab;super(),_0x1e1d43(this,_0x144185(0x2d7),!0x1),_0x1e1d43(this,'_init',!0x1),_0x1e1d43(this,_0x144185(0x241),new _0x5bbaf2[(_0x144185(0x20d))](new Map())),_0x1e1d43(this,_0x144185(0x21c),this['_cursorInfo$'][_0x144185(0x2ac)]()),_0x1e1d43(this,_0x144185(0x206),new _0x5bbaf2[(_0x144185(0x20d))]([])),_0x1e1d43(this,_0x144185(0x1f5),this[_0x144185(0x206)][_0x144185(0x3bd)](_0x5bbaf2[_0x144185(0x252)](_0x3fa754))),_0x1e1d43(this,_0x144185(0x371),_0x51234e[_0x144185(0x288)]((_0x38bc5a,_0x553966)=>{const _0x2e4e38=_0x144185,_0x53d1f7={'eventID':_0x2bb387[_0x2e4e38(0x2be)][_0x2e4e38(0x35c)],'data':{'unitID':this[_0x2e4e38(0x228)],'memberID':this[_0x2e4e38(0x20a)][_0x2e4e38(0x2a3)](),'selection':_0x2966d1[_0x2e4e38(0x247)](_0x38bc5a,_0x553966[_0x2e4e38(0x3a4)])}};this[_0x2e4e38(0x20a)][_0x2e4e38(0x244)](_0x53d1f7,this['unitID']);},_0x3c0e6d)),(this[_0x144185(0x228)]=_0xd5de8d,this[_0x144185(0x20a)]=_0x163a76,this[_0x144185(0x284)]=_0x4564ca,this[_0x144185(0x3d5)]=_0x577805,this[_0x144185(0x3a3)]=_0x25573a,this[_0x144185(0x17e)]=_0x82e508,this[_0x144185(0x20f)]=_0x42bf58,this[_0x144185(0x1b2)]=_0x3a471e);}get[_0xbc4bab(0x219)](){const _0x548ca5=_0xbc4bab;return this[_0x548ca5(0x241)]['getValue']();}get[_0xbc4bab(0x29d)](){const _0x2ef32e=_0xbc4bab;return this[_0x2ef32e(0x206)]['getValue']();}['dispose'](){const _0x194801=_0xbc4bab;super[_0x194801(0x310)](),this[_0x194801(0x241)][_0x194801(0x1ab)](new Map()),this[_0x194801(0x241)][_0x194801(0x19e)](),this[_0x194801(0x206)][_0x194801(0x1ab)]([]),this[_0x194801(0x206)][_0x194801(0x19e)]();}[_0xbc4bab(0x26f)](){const _0x4b9e9f=_0xbc4bab;this[_0x4b9e9f(0x1d6)]||(this['_init']=!0x0,this[_0x4b9e9f(0x20a)][_0x4b9e9f(0x385)][_0x4b9e9f(0x3bd)](_0x5bbaf2['takeUntil'](this[_0x4b9e9f(0x1a6)]))[_0x4b9e9f(0x2ae)](_0x37727e=>{const _0x438bc6=_0x4b9e9f;_0x37727e===_0x45d92a['SessionStatus'][_0x438bc6(0x25c)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x4b9e9f(0x20a)][_0x4b9e9f(0x2c5)][_0x4b9e9f(0x3bd)](_0x5bbaf2[_0x4b9e9f(0x2e5)](this[_0x4b9e9f(0x1a6)]))[_0x4b9e9f(0x2ae)](_0x31a727=>{const _0x4dc27b=_0x4b9e9f,_0x4492e7=_0x31a727['eventID'];_0x4492e7===_0x2bb387[_0x4dc27b(0x2be)][_0x4dc27b(0x35c)]&&this[_0x4dc27b(0x3c1)](_0x31a727),_0x4492e7===_0x2bb387['CollaborationEvent'][_0x4dc27b(0x319)]&&this['_onCursorDelete'](_0x31a727);}),this[_0x4b9e9f(0x1d4)](),this['disposeWithMe'](this['_commandService'][_0x4b9e9f(0x153)](_0x4d96d3=>{const _0x2b076e=_0x4b9e9f;if(this[_0x2b076e(0x2d7)]&&_0x4d96d3['id']===_0x2cb7cc[_0x2b076e(0x23b)]['id']&&_0x4d96d3[_0x2b076e(0x32a)][_0x2b076e(0x3c6)]===this['unitID']){const _0x204603=_0x4d96d3[_0x2b076e(0x32a)];this[_0x2b076e(0x371)](_0x204603[_0x2b076e(0x366)],_0x204603[_0x2b076e(0x359)][0x0]);}})));}[_0xbc4bab(0x3c1)](_0xc13aa7){const _0x406f55=_0xbc4bab;var _0x20a56c,_0x28562a;const {memberID:_0x247ddc,selection:_0x5aa9df}=_0xc13aa7[_0x406f55(0x1b0)],{sheetName:_0xdf1b05,range:_0x19a23d}=_0x2966d1[_0x406f55(0x1d8)](_0x5aa9df),_0x59ad5b={'name':(_0x28562a=(_0x20a56c=this[_0x406f55(0x3a3)][_0x406f55(0x2f9)](this[_0x406f55(0x228)],_0x247ddc))==null?void 0x0:_0x20a56c[_0x406f55(0x296)])!=null?_0x28562a:_0x406f55(0x329),'range':this[_0x406f55(0x31a)](_0xdf1b05,_0x19a23d),'sheetID':_0xdf1b05,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x247ddc),'selection':_0x5aa9df},_0x56fb7b=this[_0x406f55(0x219)];_0x56fb7b[_0x406f55(0x36c)](_0x247ddc,_0x59ad5b),this[_0x406f55(0x241)]['next'](_0x56fb7b);}[_0xbc4bab(0x39b)](_0x4d1fc9){const _0xa81bf8=_0xbc4bab,{memberID:_0x6cea8d}=_0x4d1fc9[_0xa81bf8(0x1b0)],_0x1cfed0=this[_0xa81bf8(0x219)];_0x1cfed0[_0xa81bf8(0x339)](_0x6cea8d),this[_0xa81bf8(0x241)][_0xa81bf8(0x1ab)](_0x1cfed0);}[_0xbc4bab(0x31a)](_0x3ec00c,_0x4186e1){const _0x444ae6=_0xbc4bab;var _0x2411a3,_0x444126;const _0x2bef74=(_0x444126=(_0x2411a3=this[_0x444ae6(0x17e)][_0x444ae6(0x368)](this[_0x444ae6(0x228)]))==null?void 0x0:_0x2411a3['getSheetBySheetId'](_0x3ec00c))==null?void 0x0:_0x444126[_0x444ae6(0x1ce)]();return(_0x2bef74==null?void 0x0:_0x2bef74['find'](_0x3f85c6=>_0x51234e[_0x444ae6(0x36b)][_0x444ae6(0x1d7)](_0x3f85c6,_0x4186e1)))||_0x4186e1;}['_onRefRangeChange'](){const _0x98dbf9=_0xbc4bab,_0x6f6f3a=new _0x51234e['DisposableCollection'](),_0x198f00=_0x308728(),_0xc2a8bf=()=>{const _0x4f184d=_0x3b2a;_0x6f6f3a[_0x4f184d(0x310)]();const _0x154ed6=(_0xf14553,_0x41a040,_0x53b833,_0x46bac4)=>{const _0xb22c7d=_0x4f184d;let _0x34b1eb=[];switch(_0xf14553['id']){case _0x2cb7cc[_0xb22c7d(0x267)][_0xb22c7d(0x29b)]:{_0x34b1eb=_0x2cb7cc[_0xb22c7d(0x2d9)](_0xf14553,_0x46bac4);break;}case _0x2cb7cc[_0xb22c7d(0x267)]['DeleteRangeMoveUpCommandId']:{_0x34b1eb=_0x2cb7cc['handleDeleteRangeMoveUp'](_0xf14553,_0x46bac4);break;}case _0x2cb7cc[_0xb22c7d(0x267)][_0xb22c7d(0x334)]:{_0x34b1eb=_0x2cb7cc[_0xb22c7d(0x37c)](_0xf14553,_0x46bac4);break;}case _0x2cb7cc[_0xb22c7d(0x267)][_0xb22c7d(0x283)]:{_0x34b1eb=_0x2cb7cc[_0xb22c7d(0x31e)](_0xf14553,_0x46bac4);break;}case _0x2cb7cc['EffectRefRangId'][_0xb22c7d(0x230)]:{_0x34b1eb=_0x2cb7cc[_0xb22c7d(0x3be)](_0xf14553,_0x46bac4);break;}case _0x2cb7cc[_0xb22c7d(0x267)][_0xb22c7d(0x1c2)]:{_0x34b1eb=_0x2cb7cc['handleInsertRow'](_0xf14553,_0x46bac4);break;}case _0x2cb7cc[_0xb22c7d(0x267)]['MoveRangeCommandId']:{_0x34b1eb=_0x2cb7cc[_0xb22c7d(0x295)](_0xf14553,_0x46bac4);break;}case _0x2cb7cc[_0xb22c7d(0x267)][_0xb22c7d(0x3c3)]:{_0x34b1eb=_0x2cb7cc[_0xb22c7d(0x2ed)](_0xf14553,_0x46bac4);break;}case _0x2cb7cc[_0xb22c7d(0x267)]['RemoveRowCommandId']:{_0x34b1eb=_0x2cb7cc['handleIRemoveRow'](_0xf14553,_0x46bac4);break;}}const _0x5d6fc6=_0x2cb7cc[_0xb22c7d(0x346)](_0x34b1eb,_0x46bac4),_0x629829=this['cursorInfo']['get'](_0x41a040);if(_0x629829&&_0x5d6fc6){const _0x62bb5a={..._0x629829,'range':_0x5d6fc6};this[_0xb22c7d(0x219)][_0xb22c7d(0x36c)](_0x41a040,_0x62bb5a),_0x198f00(()=>{const _0x38770e=_0xb22c7d,_0xe1b969=this[_0x38770e(0x1b2)]['registerRefRange'](_0x5d6fc6,_0x2c4b31=>(_0xe1b969['dispose'](),_0x154ed6(_0x2c4b31,_0x41a040,_0x53b833,_0x5d6fc6)));_0x6f6f3a[_0x38770e(0x2fb)](_0xe1b969);});}return{'redos':[],'undos':[]};};this[_0x4f184d(0x219)]['forEach']((_0x386b8c,_0x2fd282)=>{const _0x35d29f=_0x4f184d,{range:_0x33b3df,sheetID:_0xf8ba73}=_0x386b8c,_0x4bba6d=this['_refRangeService'][_0x35d29f(0x21a)](_0x33b3df,_0x8df1dc=>(_0x4bba6d[_0x35d29f(0x310)](),_0x154ed6(_0x8df1dc,_0x2fd282,_0xf8ba73,_0x33b3df)));_0x6f6f3a[_0x35d29f(0x2fb)](_0x4bba6d);});};this['disposeWithMe'](_0x51234e[_0x98dbf9(0x33a)](this[_0x98dbf9(0x241)]['subscribe'](()=>{_0xc2a8bf();})));}[_0xbc4bab(0x3b5)](){const _0x5a0583=_0xbc4bab;var _0x899b9d,_0x2cfc1e;if(this[_0x5a0583(0x2d7)]=!0x0,((_0x899b9d=this[_0x5a0583(0x17e)][_0x5a0583(0x3d9)]())==null?void 0x0:_0x899b9d[_0x5a0583(0x27a)]())!==this['unitID'])return;const _0x2317c8=(_0x2cfc1e=this[_0x5a0583(0x284)][_0x5a0583(0x194)](_0x2cb7cc['SheetsSelectionsService'])['getCurrentSelections']())==null?void 0x0:_0x2cfc1e[0x0],_0x3c3a27=this[_0x5a0583(0x17e)]['getCurrentUnitForType'](_0x51234e[_0x5a0583(0x3af)]['UNIVER_SHEET'])['getActiveSheet']();_0x2317c8&&_0x3c3a27&&this['_updateLocalCursor'](_0x3c3a27[_0x5a0583(0x156)](),_0x2317c8);}[_0xbc4bab(0x305)](){const _0x54873d=_0xbc4bab;this[_0x54873d(0x2d7)]=!0x1;}};_0x6710a4=_0xbbac47([_0x30b00e(0x2,_0x51234e['Inject'](_0x51234e[_0xbc4bab(0x345)])),_0x30b00e(0x3,_0x51234e['Inject'](_0x54275e)),_0x30b00e(0x4,_0x51234e[_0xbc4bab(0x1e7)](_0x45d92a['MemberService'])),_0x30b00e(0x5,_0x51234e[_0xbc4bab(0x2a4)]),_0x30b00e(0x6,_0x51234e['ICommandService']),_0x30b00e(0x7,_0x51234e[_0xbc4bab(0x1e7)](_0x2cb7cc[_0xbc4bab(0x2cd)]))],_0x6710a4);var _0x1d4b03=Object[_0xbc4bab(0x218)],_0x2ca213=(_0x3502fb,_0x19b652,_0x1d29af,_0x56b4e4)=>{const _0x38c923=_0xbc4bab;for(var _0x41ab5f=_0x56b4e4>0x1?void 0x0:_0x56b4e4?_0x1d4b03(_0x19b652,_0x1d29af):_0x19b652,_0x81a2ea=_0x3502fb[_0x38c923(0x277)]-0x1,_0x3ec4d3;_0x81a2ea>=0x0;_0x81a2ea--)(_0x3ec4d3=_0x3502fb[_0x81a2ea])&&(_0x41ab5f=_0x3ec4d3(_0x41ab5f)||_0x41ab5f);return _0x41ab5f;},_0x30c703=(_0x2c9e68,_0x2ed25d)=>(_0x577557,_0x539522)=>_0x2ed25d(_0x577557,_0x539522,_0x2c9e68);let _0x217dd7=class extends _0x51234e[_0xbc4bab(0x207)]{constructor(_0xd240db,_0x178801,_0x24ed35){const _0x448426=_0xbc4bab;super(),_0x1e1d43(this,_0x448426(0x2b7),new Map()),_0x1e1d43(this,_0x448426(0x3cc),new _0x5bbaf2[(_0x448426(0x150))]()),(this['_univerInstanceService']=_0xd240db,this[_0x448426(0x284)]=_0x178801,this[_0x448426(0x157)]=_0x24ed35,this[_0x448426(0x1d6)]());}[_0xbc4bab(0x310)](){const _0x5c5376=_0xbc4bab;super['dispose'](),this[_0x5c5376(0x3cc)][_0x5c5376(0x19e)](),this[_0x5c5376(0x2b7)]['forEach'](_0x3bece0=>_0x3bece0['dispose']());}[_0xbc4bab(0x336)](_0x1959fa){const _0x1b32b7=_0xbc4bab;return this[_0x1b32b7(0x2b7)][_0x1b32b7(0x172)](_0x1959fa)?this[_0x1b32b7(0x2b7)][_0x1b32b7(0x194)](_0x1959fa)[_0x1b32b7(0x21c)]:this['_entityInit$'][_0x1b32b7(0x3bd)](_0x5bbaf2[_0x1b32b7(0x2af)](_0x5336dc=>_0x5336dc[_0x1b32b7(0x228)]===_0x1959fa),_0x5bbaf2[_0x1b32b7(0x3c8)](_0x2613a3=>_0x2613a3[_0x1b32b7(0x21c)]));}[_0xbc4bab(0x1d6)](){const _0x132f0e=_0xbc4bab;this[_0x132f0e(0x17e)][_0x132f0e(0x2cf)](_0x51234e['UniverInstanceType'][_0x132f0e(0x1a7)])['pipe'](_0x5bbaf2['takeUntil'](this[_0x132f0e(0x1a6)]))['subscribe'](async _0x160503=>{const _0x581995=_0x132f0e,_0x3e7c42=_0x160503[_0x581995(0x27a)](),_0x1d1215=await this[_0x581995(0x2e9)](_0x3e7c42);this[_0x581995(0x3cc)][_0x581995(0x1ab)](_0x1d1215),this[_0x581995(0x2b7)][_0x581995(0x36c)](_0x3e7c42,_0x1d1215);}),this[_0x132f0e(0x17e)][_0x132f0e(0x2cf)](_0x51234e[_0x132f0e(0x3af)][_0x132f0e(0x26e)])[_0x132f0e(0x3bd)](_0x5bbaf2['takeUntil'](this[_0x132f0e(0x1a6)]))[_0x132f0e(0x3bd)](_0x5bbaf2[_0x132f0e(0x2af)](_0x19eac5=>!_0x19eac5[_0x132f0e(0x27a)]()[_0x132f0e(0x304)]('__')))[_0x132f0e(0x2ae)](async _0x8c4f76=>{const _0x4b0106=_0x132f0e,_0x5177ca=_0x8c4f76[_0x4b0106(0x27a)](),_0x31208d=await this[_0x4b0106(0x149)](_0x5177ca);this[_0x4b0106(0x3cc)][_0x4b0106(0x1ab)](_0x31208d),this['_entities'][_0x4b0106(0x36c)](_0x5177ca,_0x31208d);}),_0x5bbaf2[_0x132f0e(0x374)](this[_0x132f0e(0x17e)]['getTypeOfUnitDisposed$'](_0x51234e['UniverInstanceType'][_0x132f0e(0x26e)]),this[_0x132f0e(0x17e)]['getTypeOfUnitDisposed$'](_0x51234e[_0x132f0e(0x3af)][_0x132f0e(0x1a7)]))[_0x132f0e(0x3bd)](_0x5bbaf2['takeUntil'](this[_0x132f0e(0x1a6)]))['subscribe'](_0x251284=>{const _0x2de6cb=_0x132f0e,_0x8d42aa=_0x251284[_0x2de6cb(0x27a)](),_0x4e8ddc=this['_entities']['get'](_0x8d42aa);_0x4e8ddc&&(_0x4e8ddc[_0x2de6cb(0x310)](),this[_0x2de6cb(0x2b7)][_0x2de6cb(0x339)](_0x8d42aa));});}async[_0xbc4bab(0x2e9)](_0x3c5a35){const _0x3f42f5=_0xbc4bab,_0x43450f=await this['_collabSessionService']['requireSession'](_0x3c5a35),_0x11a6e9=this['_injector'][_0x3f42f5(0x39c)](_0x6710a4,_0x3c5a35,_0x43450f);return _0x11a6e9[_0x3f42f5(0x26f)](),_0x11a6e9;}async[_0xbc4bab(0x149)](_0x4517a3){const _0x1b92e9=_0xbc4bab,_0x49cd92=await this['_collabSessionService'][_0x1b92e9(0x358)](_0x4517a3),_0x4e9e82=this[_0x1b92e9(0x284)][_0x1b92e9(0x39c)](_0x411e32,_0x4517a3,_0x49cd92);return _0x4e9e82[_0x1b92e9(0x26f)](),_0x4e9e82;}};_0x217dd7=_0x2ca213([_0x30c703(0x0,_0x51234e['IUniverInstanceService']),_0x30c703(0x1,_0x51234e[_0xbc4bab(0x1e7)](_0x51234e['Injector'])),_0x30c703(0x2,_0x51234e['Inject'](_0x45d92a[_0xbc4bab(0x327)]))],_0x217dd7);const _0x1c6139=0x14,_0x21f322=0xc8,_0x39817f=0x4,_0x4ca3a9=0x5;function _0x53b84c(_0x55853d,_0x3fa353){const _0x984b3b=_0xbc4bab;let {radius:_0x340f48,width:_0x4c9dd2,height:_0x2fff1a}=_0x3fa353;_0x340f48=_0x340f48!=null?_0x340f48:0x0,_0x4c9dd2=_0x4c9dd2!=null?_0x4c9dd2:0x1e,_0x2fff1a=_0x2fff1a!=null?_0x2fff1a:0x1e;let _0x398d7d=0x0,_0x18892a=0x0,_0x10febd=0x0;_0x398d7d=_0x18892a=_0x10febd=Math[_0x984b3b(0x2f6)](_0x340f48,_0x4c9dd2/0x2,_0x2fff1a/0x2),_0x55853d[_0x984b3b(0x38e)](),_0x55853d[_0x984b3b(0x383)](_0x398d7d,0x0),_0x55853d[_0x984b3b(0x1bb)](_0x4c9dd2-_0x18892a,0x0),_0x55853d[_0x984b3b(0x229)](_0x4c9dd2-_0x18892a,_0x18892a,_0x18892a,Math['PI']*0x3/0x2,0x0,!0x1),_0x55853d[_0x984b3b(0x1bb)](_0x4c9dd2,_0x2fff1a-_0x10febd),_0x55853d[_0x984b3b(0x229)](_0x4c9dd2-_0x10febd,_0x2fff1a-_0x10febd,_0x10febd,0x0,Math['PI']/0x2,!0x1),_0x55853d[_0x984b3b(0x1bb)](0x0,_0x2fff1a),_0x55853d[_0x984b3b(0x1bb)](0x0,_0x398d7d),_0x55853d[_0x984b3b(0x229)](_0x398d7d,_0x398d7d,_0x398d7d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x55853d[_0x984b3b(0x258)](),_0x3fa353[_0x984b3b(0x3d8)]&&(_0x55853d['save'](),_0x55853d[_0x984b3b(0x28a)]=_0x3fa353['fill'],_0x3fa353[_0x984b3b(0x1c4)]===_0x984b3b(0x1be)?_0x55853d[_0x984b3b(0x3d8)]('evenodd'):_0x55853d['fill'](),_0x55853d['restore']());}class _0x51e8ff extends _0x5cd4ea[_0xbc4bab(0x291)]{constructor(_0x5babf4,_0x454cbb){const _0x9e8d98=_0xbc4bab;super(_0x5babf4,_0x454cbb),_0x1e1d43(this,_0x9e8d98(0x285)),_0x1e1d43(this,'text'),(this['color']=_0x454cbb==null?void 0x0:_0x454cbb[_0x9e8d98(0x285)],this[_0x9e8d98(0x397)]=_0x454cbb==null?void 0x0:_0x454cbb[_0x9e8d98(0x397)]);}static[_0xbc4bab(0x160)](_0x298d38,_0xfe5bf1){const _0x2bf444=_0xbc4bab,{text:_0xa3f01d,color:_0x415509}=_0xfe5bf1;_0x298d38[_0x2bf444(0x1b8)](),_0x298d38[_0x2bf444(0x18c)]=_0x2bf444(0x30d);const _0x43bf18=_0x298d38[_0x2bf444(0x1cb)](_0xa3f01d)[_0x2bf444(0x354)],_0x1fade9=Math['min'](_0x43bf18+0x2*_0x39817f,_0x21f322);_0x53b84c(_0x298d38,{'height':_0x1c6139,'radius':0x4,'width':_0x1fade9,'fill':_0x415509}),_0x298d38[_0x2bf444(0x28a)]=_0x2bf444(0x1f7);const _0x2d2811=_0x39817f,_0x4555ed=_0x1c6139-_0x4ca3a9,_0x5a1fb2=_0x21f322-0x2*_0x39817f;if(_0x43bf18>_0x5a1fb2){let _0x9f824='',_0x5b6913=0x0;for(const _0x398958 of _0xa3f01d){const _0x2cceda=_0x298d38['measureText'](_0x398958)[_0x2bf444(0x354)];if(_0x5b6913+_0x2cceda<=_0x5a1fb2-_0x298d38[_0x2bf444(0x1cb)](_0x2bf444(0x30c))[_0x2bf444(0x354)])_0x9f824+=_0x398958,_0x5b6913+=_0x2cceda;else{_0x9f824+=_0x2bf444(0x30c);break;}}_0x298d38['fillText'](_0x9f824,_0x2d2811,_0x4555ed);}else _0x298d38[_0x2bf444(0x16d)](_0xa3f01d,_0x2d2811,_0x4555ed);_0x298d38[_0x2bf444(0x234)]();}[_0xbc4bab(0x378)](_0x50473c){const _0x251b81=_0xbc4bab;_0x51e8ff[_0x251b81(0x160)](_0x50473c,this);}}const _0x587ace=_0xbc4bab(0x309),_0x20b92a=_0xbc4bab(0x2c7),_0x30a0b3='collab-rect-range-',_0x2a16a4=0x6,_0x207d7b=1.5,_0x106f16=0x4,_0x3a2edd=1.5,_0x144465=_0xbc4bab(0x396);class _0x55d337{constructor(_0x9c4387,_0x2a5647,_0x9fa03d,_0x52344f){const _0x582808=_0xbc4bab;_0x1e1d43(this,_0x582808(0x278),[]),_0x1e1d43(this,_0x582808(0x2fc),null),_0x1e1d43(this,_0x582808(0x28c),null),_0x1e1d43(this,'_anchorDot',null),_0x1e1d43(this,_0x582808(0x1f2),null),_0x1e1d43(this,_0x582808(0x3b9),null),(this[_0x582808(0x315)]=_0x9c4387,this[_0x582808(0x224)]=_0x2a5647,this['_docSkeleton']=_0x9fa03d,this[_0x582808(0x14d)]=_0x52344f,this['_render']());}set[_0xbc4bab(0x2bc)](_0x2e7b4f){const _0x3345d4=_0xbc4bab;_0x2e7b4f?(this['_anchorDot']&&this[_0x3345d4(0x183)]['hide'](),this[_0x3345d4(0x28c)]&&this['_textBubble']['show']()):(this[_0x3345d4(0x183)]&&this[_0x3345d4(0x183)][_0x3345d4(0x34d)](),this['_textBubble']&&this[_0x3345d4(0x28c)][_0x3345d4(0x3a7)]());}[_0xbc4bab(0x310)](){const _0x389043=_0xbc4bab;for(const _0xf98d37 of this[_0x389043(0x278)])_0xf98d37[_0x389043(0x310)]();this[_0x389043(0x28c)]&&this[_0x389043(0x28c)][_0x389043(0x310)](),this[_0x389043(0x183)]&&this[_0x389043(0x183)][_0x389043(0x310)](),this[_0x389043(0x2fc)]&&this[_0x389043(0x2fc)][_0x389043(0x310)](),this['_eventUnsubscribe']&&this[_0x389043(0x3b9)]();}[_0xbc4bab(0x3d7)](){const _0x73d84b=_0xbc4bab;var _0x1ffe73;const {_docSkeleton:_0x156a5e,_document:_0x1994c3}=this,{color:_0x96ca92,name:_0x266aa5,ranges:_0x5cc8a0}=this[_0x73d84b(0x315)],_0x9de8b=_0x1994c3[_0x73d84b(0x187)](),{docsLeft:_0xf10e8b,docsTop:_0x41282e}=_0x9de8b,_0x155554=new _0x31dfa4['NodePositionConvertToCursor'](_0x9de8b,_0x156a5e);for(const {startOffset:_0x2a0dd0,endOffset:_0x177b49,rangeType:_0x310564,segmentId:_0x4f5155,segmentPage:_0x1ac6db,collapsed:_0x18271a,isActive:_0x5864c8}of _0x5cc8a0){const _0x14ff5e=_0x156a5e[_0x73d84b(0x23e)](_0x2a0dd0,!0x0,_0x4f5155,_0x1ac6db);let _0x1c5493=_0x156a5e['findNodePositionByCharIndex'](_0x177b49,!0x0,_0x4f5155,_0x1ac6db);if(_0x1c5493==null&&(_0x1c5493=_0x156a5e[_0x73d84b(0x23e)](_0x177b49-0x1,!0x1,_0x4f5155,_0x1ac6db)),_0x5864c8){const {contentBoxPointGroup:_0x2d3845}=_0x155554[_0x73d84b(0x30a)](_0x1c5493,_0x1c5493);if(_0x2d3845['length']===0x0)continue;this[_0x73d84b(0x2b5)](_0x96ca92,_0x2d3845,_0xf10e8b,_0x41282e,_0x266aa5),this[_0x73d84b(0x3b9)]=this[_0x73d84b(0x1db)]();}if(_0x14ff5e&&_0x1c5493){if(_0x310564===_0x51234e[_0x73d84b(0x335)][_0x73d84b(0x16f)]){const _0x52c002=new _0x31dfa4[(_0x73d84b(0x382))](_0x9de8b,_0x156a5e),{pointGroup:_0x97a940}=(_0x1ffe73=_0x52c002[_0x73d84b(0x30a)](_0x14ff5e,_0x1c5493))!=null?_0x1ffe73:{};if(_0x97a940==null||_0x97a940[_0x73d84b(0x277)]===0x0)continue;this['_drawRectRange'](_0x96ca92,_0x97a940,_0xf10e8b,_0x41282e);}else{if(!_0x18271a){const {borderBoxPointGroup:_0x2d70ce}=_0x155554[_0x73d84b(0x30a)](_0x14ff5e,_0x1c5493);if(_0x2d70ce['length']===0x0)continue;this[_0x73d84b(0x318)](_0x96ca92,_0x2d70ce,_0xf10e8b,_0x41282e);}}}}}[_0xbc4bab(0x2b5)](_0x4661ae,_0x3f473f,_0x49f445,_0x4459a7,_0x5b458c){const _0x5e60a8=_0xbc4bab,_0x5365f2=this[_0x5e60a8(0x1ae)](_0x3f473f),{left:_0xcfce4c,top:_0x1ffa5d,height:_0x1fbea0}=_0x5365f2,_0x2a8333=this[_0x5e60a8(0x31b)](),_0xc71ca6=_0x3a2edd/_0x2a8333,_0x58757c=new _0x5cd4ea['Rect'](_0x587ace+_0x51234e[_0x5e60a8(0x1a2)](_0x2a16a4),{'left':_0xcfce4c+_0x49f445-_0xc71ca6,'top':_0x1ffa5d+_0x4459a7,'height':_0x1fbea0,'width':_0x207d7b,'fill':_0x4661ae||_0x5cd4ea[_0x5e60a8(0x3b1)](_0x51234e['COLORS'][_0x5e60a8(0x34e)],0x0),'strokeWidth':_0xc71ca6,'stroke':_0x144465,'evented':!0x0});this[_0x5e60a8(0x2fc)]=_0x58757c,this['_scene'][_0x5e60a8(0x24f)](_0x58757c,_0x31dfa4['TEXT_RANGE_LAYER_INDEX']);const _0x26996c=new _0x5cd4ea[(_0x5e60a8(0x308))](_0x587ace+_0x51234e[_0x5e60a8(0x1a2)](_0x2a16a4),{'left':_0xcfce4c+_0x49f445-_0xc71ca6,'top':_0x1ffa5d+_0x4459a7-_0x106f16/0x2,'height':_0x106f16,'width':_0x106f16,'fill':_0x4661ae||_0x5cd4ea[_0x5e60a8(0x3b1)](_0x51234e[_0x5e60a8(0x3cf)][_0x5e60a8(0x34e)],0x0),'strokeWidth':0x0,'stroke':_0x4661ae||_0x5cd4ea[_0x5e60a8(0x3b1)](_0x51234e[_0x5e60a8(0x3cf)][_0x5e60a8(0x34e)],0x0),'evented':!0x1});this[_0x5e60a8(0x183)]=_0x26996c,this[_0x5e60a8(0x224)]['addObject'](_0x26996c,_0x31dfa4['TEXT_RANGE_LAYER_INDEX']);const _0x5ead2d=new _0x51e8ff(_0x587ace+_0x51234e[_0x5e60a8(0x1a2)](_0x2a16a4),{'left':_0xcfce4c+_0x49f445-_0xc71ca6,'top':_0x1ffa5d+_0x4459a7-_0x1c6139,'text':_0x5b458c,'color':_0x4661ae});this[_0x5e60a8(0x28c)]=_0x5ead2d,this['_scene'][_0x5e60a8(0x24f)](_0x5ead2d,_0x31dfa4['TEXT_RANGE_LAYER_INDEX']),this[_0x5e60a8(0x2bc)]=!0x1;}['_handleHover'](){const _0x4229fd=_0xbc4bab,_0x21b228=this['_anchor'][_0x4229fd(0x25b)][_0x4229fd(0x3d1)](()=>{this['_hover']=!0x0;}),_0x1b0438=this[_0x4229fd(0x2fc)][_0x4229fd(0x2c9)][_0x4229fd(0x3d1)](()=>{const _0x5b6ae8=_0x4229fd;this['_hideTimer']&&clearTimeout(this[_0x5b6ae8(0x1f2)]),this[_0x5b6ae8(0x1f2)]=setTimeout(()=>{const _0x3fb513=_0x5b6ae8;this[_0x3fb513(0x2bc)]=!0x1;},0x7d0);});return()=>{const _0x3d1e1c=_0x4229fd;_0x21b228[_0x3d1e1c(0x18d)](),_0x1b0438[_0x3d1e1c(0x18d)]();};}[_0xbc4bab(0x318)](_0x1af0d0,_0x5b0636,_0x5a5f31,_0x507d16){const _0x4d0e81=_0xbc4bab,_0x25091e=new _0x51234e[(_0x4d0e81(0x223))](_0x1af0d0)[_0x4d0e81(0x1cf)](0.2)[_0x4d0e81(0x3b6)](),_0x12ae73=new _0x5cd4ea[(_0x4d0e81(0x27f))](_0x20b92a+_0x51234e[_0x4d0e81(0x1a2)](_0x2a16a4),{'pointsGroup':_0x5b0636,'fill':_0x25091e||_0x5cd4ea[_0x4d0e81(0x3b1)](_0x51234e[_0x4d0e81(0x3cf)]['black'],0.2),'left':_0x5a5f31,'top':_0x507d16,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x12ae73),this[_0x4d0e81(0x224)]['addObject'](_0x12ae73,_0x31dfa4[_0x4d0e81(0x1d2)]);}['_drawRectRange'](_0x33c0ec,_0x25c021,_0x425a2b,_0x360856){const _0x14a618=_0xbc4bab,_0x28e4dd=new _0x51234e[(_0x14a618(0x223))](_0x33c0ec)[_0x14a618(0x1cf)](0.2)['toRgbString'](),_0x52e620=new _0x5cd4ea[(_0x14a618(0x27f))](_0x30a0b3+_0x51234e['generateRandomId'](_0x2a16a4),{'pointsGroup':_0x25c021,'fill':_0x28e4dd||_0x5cd4ea['getColor'](_0x51234e['COLORS']['black'],0.2),'left':_0x425a2b,'top':_0x360856,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x14a618(0x278)][_0x14a618(0x1e0)](_0x52e620),this[_0x14a618(0x224)][_0x14a618(0x24f)](_0x52e620,_0x31dfa4[_0x14a618(0x1d2)]);}[_0xbc4bab(0x1ae)](_0x21a136){const _0x1bb7bc=_0x21a136[0x0],_0x504e3b=_0x1bb7bc[0x0],_0x1825ff=_0x1bb7bc[0x2],{x:_0xd2a459,y:_0x42aebf}=_0x504e3b,{x:_0x4ffcfa,y:_0x2178fe}=_0x1825ff;return{'left':_0xd2a459,'top':_0x42aebf,'width':_0x4ffcfa-_0xd2a459,'height':_0x2178fe-_0x42aebf};}[_0xbc4bab(0x31b)](){const _0x42c99b=_0xbc4bab,{scaleX:_0xff029d,scaleY:_0xc99d0b}=this[_0x42c99b(0x224)]['getAncestorScale']();return Math[_0x42c99b(0x2d1)](_0xff029d,_0xc99d0b);}}var _0xec9485=Object[_0xbc4bab(0x218)],_0x1948c3=(_0x2e6f10,_0x4f49cd,_0x4b603c,_0x25f47f)=>{const _0x16d329=_0xbc4bab;for(var _0x14fa95=_0x25f47f>0x1?void 0x0:_0x25f47f?_0xec9485(_0x4f49cd,_0x4b603c):_0x4f49cd,_0x30c339=_0x2e6f10[_0x16d329(0x277)]-0x1,_0xade550;_0x30c339>=0x0;_0x30c339--)(_0xade550=_0x2e6f10[_0x30c339])&&(_0x14fa95=_0xade550(_0x14fa95)||_0x14fa95);return _0x14fa95;},_0x2c4f01=(_0x38e3f0,_0x3659f3)=>(_0x44c019,_0x46343b)=>_0x3659f3(_0x44c019,_0x46343b,_0x38e3f0);let _0x2b471f=class extends _0x51234e[_0xbc4bab(0x207)]{constructor(_0x3ed30d,_0x3a83de,_0x465d74,_0xb17a8,_0x2dc27f){const _0x362bac=_0xbc4bab;super(),_0x1e1d43(this,_0x362bac(0x1c6),[]),_0x1e1d43(this,_0x362bac(0x2c8),[]),(this[_0x362bac(0x390)]=_0x3ed30d,this['_docSkeletonManagerService']=_0x3a83de,this['_collabCursorController']=_0x465d74,this[_0x362bac(0x20f)]=_0xb17a8,this[_0x362bac(0x2f5)]=_0x2dc27f,this[_0x362bac(0x1d6)]());}['_init'](){const _0x297abc=_0xbc4bab,_0x5352c4=this[_0x297abc(0x390)]['unitId'],_0x3c72ea=this[_0x297abc(0x348)];this[_0x297abc(0x2de)](_0x5bbaf2[_0x297abc(0x1b5)]([this['_collabCursorController'][_0x297abc(0x336)](_0x5352c4),this[_0x297abc(0x2f5)][_0x297abc(0x3c9)]])['pipe'](_0x653998[_0x297abc(0x2fe)](([_0x241807,_0x1e88fb])=>({'skeleton':_0x3c72ea[_0x297abc(0x312)](),'cursors':[..._0x241807[_0x297abc(0x1a4)]()]['flatMap'](_0x14d3b9=>({..._0x14d3b9,'color':this['_themeService']['getColorFromTheme'](_0x14d3b9['color'])}))})))[_0x297abc(0x2ae)](_0x113d00=>{const _0x3139fe=_0x297abc;if(this[_0x3139fe(0x1a0)](),_0x113d00){const {skeleton:_0x6054ec,cursors:_0xd459ac}=_0x113d00;this[_0x3139fe(0x33d)](_0x6054ec,_0xd459ac);}})),this[_0x297abc(0x286)](),this[_0x297abc(0x2b6)]();}[_0xbc4bab(0x33d)](_0x4a3c2c,_0x3774da){const _0x18fe3e=_0xbc4bab,{scene:_0x3d4c05,mainComponent:_0x35d431}=this[_0x18fe3e(0x390)],_0x15b3db=_0x3774da[_0x18fe3e(0x2fe)](_0x1727fc=>new _0x55d337(_0x1727fc,_0x3d4c05,_0x4a3c2c,_0x35d431));this[_0x18fe3e(0x1c6)]=_0x15b3db,this[_0x18fe3e(0x2c8)]=_0x3774da;}['_refreshCollabCursors'](){const _0x7b347b=_0xbc4bab;this[_0x7b347b(0x1a0)]();const {scene:_0x38444d,mainComponent:_0x2787e3}=this[_0x7b347b(0x390)],_0x1f80d2=this[_0x7b347b(0x348)]['getSkeleton'](),_0x28bf26=this[_0x7b347b(0x2c8)]['map'](_0x526e8b=>new _0x55d337(_0x526e8b,_0x38444d,_0x1f80d2,_0x2787e3));this[_0x7b347b(0x1c6)]=_0x28bf26;}[_0xbc4bab(0x1a0)](){const _0x52e1b7=_0xbc4bab;this['_cursorShapes'][_0x52e1b7(0x35f)](_0x2c395e=>_0x2c395e[_0x52e1b7(0x310)]()),this['_cursorShapes']=[];}[_0xbc4bab(0x2b6)](){const _0x4f0b93=_0xbc4bab,_0x3d9db2=[_0x31dfa4[_0x4f0b93(0x1fc)]['id']];this[_0x4f0b93(0x2de)](this[_0x4f0b93(0x20f)]['onCommandExecuted'](_0x3f4b55=>{const _0x527bbc=_0x4f0b93;_0x3d9db2['includes'](_0x3f4b55['id'])&&_0x3f4b55[_0x527bbc(0x32a)][_0x527bbc(0x3c6)]===this['_context'][_0x527bbc(0x3c6)]&&this['_refreshCollabCursors']();}));}[_0xbc4bab(0x286)](){const _0x11cc22=_0xbc4bab;this['disposeWithMe'](_0x51234e[_0x11cc22(0x1e2)](this[_0x11cc22(0x390)][_0x11cc22(0x2b9)]['onTransformChange$'])[_0x11cc22(0x3bd)](_0x653998[_0x11cc22(0x2af)](_0x1b5d11=>_0x1b5d11[_0x11cc22(0x3c2)]===_0x5cd4ea[_0x11cc22(0x2b0)][_0x11cc22(0x19b)]),_0x653998['throttleTime'](0x10))['subscribe'](()=>{const _0x3a0877=_0x11cc22;this[_0x3a0877(0x299)]();}));}};_0x2b471f=_0x1948c3([_0x2c4f01(0x1,_0x51234e[_0xbc4bab(0x1e7)](_0x5886b2[_0xbc4bab(0x2a5)])),_0x2c4f01(0x2,_0x51234e[_0xbc4bab(0x1e7)](_0x217dd7)),_0x2c4f01(0x3,_0x51234e[_0xbc4bab(0x30f)]),_0x2c4f01(0x4,_0x51234e[_0xbc4bab(0x1e7)](_0x51234e['ThemeService']))],_0x2b471f);const _0x3c9a7a=0x1,_0x4be5a8=1.5;class _0xd3b6c4 extends _0x5cd4ea['Shape']{constructor(_0x4a7d1a,_0x536a76){const _0x13cae2=_0xbc4bab;super(_0x4a7d1a,_0x536a76),_0x1e1d43(this,_0x13cae2(0x2dd)),_0x1e1d43(this,_0x13cae2(0x16c),!0x1),_0x1e1d43(this,_0x13cae2(0x1ed)),_0x1e1d43(this,'_name',''),_0x1e1d43(this,_0x13cae2(0x1f4),'top'),_0x1e1d43(this,'_backgroundColor'),(_0x536a76&&this['setShapeProps'](_0x536a76),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x13cae2(0x33f)]({'hovered':!0x0})),this[_0x13cae2(0x2c9)][_0x13cae2(0x3d1)](()=>this[_0x13cae2(0x33f)]({'hovered':!0x1})));}['setShapeProps'](_0x3e8b74){const _0x4337bd=_0xbc4bab;var _0x546719,_0x33b169,_0x4f4dad,_0x4035c7,_0xcd0536,_0x147667;this['_color']=(_0x546719=_0x3e8b74[_0x4337bd(0x285)])!=null?_0x546719:this[_0x4337bd(0x2dd)],this[_0x4337bd(0x16c)]=(_0x33b169=_0x3e8b74[_0x4337bd(0x338)])!=null?_0x33b169:this[_0x4337bd(0x16c)],this['_range']=(_0x4f4dad=_0x3e8b74['range'])!=null?_0x4f4dad:this[_0x4337bd(0x1ed)],this['_name']=(_0x4035c7=_0x3e8b74['name'])!=null?_0x4035c7:this[_0x4337bd(0x18a)],this['_labelPosition']=(_0xcd0536=_0x3e8b74[_0x4337bd(0x2e2)])!=null?_0xcd0536:this[_0x4337bd(0x1f4)],this[_0x4337bd(0x2f2)]=(_0x147667=_0x3e8b74[_0x4337bd(0x191)])!=null?_0x147667:this[_0x4337bd(0x2f2)],this[_0x4337bd(0x245)]({'width':_0x3e8b74[_0x4337bd(0x354)],'height':_0x3e8b74[_0x4337bd(0x276)]});}[_0xbc4bab(0x2a2)](_0x58246f){const _0x15fefd=_0xbc4bab,{row:_0x107e6f,column:_0x2af828}=_0x58246f;if(_0x107e6f>=this['_range'][_0x15fefd(0x21b)]&&_0x107e6f<=this[_0x15fefd(0x1ed)][_0x15fefd(0x27e)]&&_0x2af828>=this[_0x15fefd(0x1ed)]['startColumn']&&_0x2af828<=this[_0x15fefd(0x1ed)][_0x15fefd(0x344)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x15fefd(0x33f)]({'hovered':!0x1});}[_0xbc4bab(0x321)](_0x5db6cf){return!0x1;}[_0xbc4bab(0x378)](_0xc6345f){const _0x6f81ab=_0xbc4bab;_0x5cd4ea[_0x6f81ab(0x308)][_0x6f81ab(0x160)](_0xc6345f,{'width':this[_0x6f81ab(0x354)],'height':this[_0x6f81ab(0x276)],'strokeWidth':_0x4be5a8,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x6f81ab(0x2f2)]}),this['_hovered']&&(_0xc6345f[_0x6f81ab(0x1b8)](),_0xc6345f[_0x6f81ab(0x3b2)](0x1,0x0,0x0,0x1,this[_0x6f81ab(0x354)],this[_0x6f81ab(0x1f4)]===_0x6f81ab(0x260)?0x0:-_0x1c6139),_0x51e8ff[_0x6f81ab(0x160)](_0xc6345f,{'text':this[_0x6f81ab(0x18a)],'color':this[_0x6f81ab(0x2dd)]}),_0xc6345f[_0x6f81ab(0x234)]());}}var _0x5a769e=Object[_0xbc4bab(0x218)],_0x192ad6=(_0x57264f,_0x3b253b,_0x3b0967,_0x40accb)=>{for(var _0xdae388=_0x40accb>0x1?void 0x0:_0x40accb?_0x5a769e(_0x3b253b,_0x3b0967):_0x3b253b,_0x331088=_0x57264f['length']-0x1,_0x388b1c;_0x331088>=0x0;_0x331088--)(_0x388b1c=_0x57264f[_0x331088])&&(_0xdae388=_0x388b1c(_0xdae388)||_0xdae388);return _0xdae388;},_0x1a7769=(_0x1b7b8b,_0xbcaa36)=>(_0x1cd72a,_0x51d30a)=>_0xbcaa36(_0x1cd72a,_0x51d30a,_0x1b7b8b);const _0x1a569e=0x1389;let _0x18b05d=class extends _0x51234e[_0xbc4bab(0x207)]{constructor(_0x1ab286,_0xbc6e25,_0x504d9f,_0x415a85){const _0x7e24de=_0xbc4bab;super(),_0x1e1d43(this,'_cursors',new Set()),_0x1e1d43(this,_0x7e24de(0x307),null),(this[_0x7e24de(0x390)]=_0x1ab286,this[_0x7e24de(0x20c)]=_0xbc6e25,this[_0x7e24de(0x351)]=_0x504d9f,this[_0x7e24de(0x2f5)]=_0x415a85,this[_0x7e24de(0x1d6)]());}['_init'](){const _0x24788d=_0xbc4bab;this[_0x24788d(0x20c)][_0x24788d(0x328)][_0x24788d(0x3bd)](_0x653998[_0x24788d(0x2e5)](this['dispose$']),_0x653998[_0x24788d(0x3c8)](_0x2f6e11=>{const _0x30f0e9=_0x24788d;if(_0x2f6e11){const _0x4aa408=_0x2f6e11[_0x30f0e9(0x197)];return _0x5bbaf2['combineLatest'](this[_0x30f0e9(0x351)][_0x30f0e9(0x336)](this[_0x30f0e9(0x390)]['unitId']),this['_themeService']['currentTheme$'])[_0x30f0e9(0x3bd)](_0x653998['map'](([_0x4ff885,_0x561f50])=>{const _0x474e5f=new Map();return _0x4ff885['forEach']((_0x431e9d,_0x2ac3dd)=>{const _0x5ea1ce=_0x3b2a;if(_0x431e9d['sheetID']===_0x4aa408){const _0x2f902e={..._0x431e9d};_0x2f902e[_0x5ea1ce(0x285)]=this['_themeService'][_0x5ea1ce(0x323)](_0x431e9d[_0x5ea1ce(0x285)]),_0x474e5f[_0x5ea1ce(0x36c)](_0x2ac3dd,_0x2f902e);}}),{'skeleton':_0x2f6e11,'cursors':_0x474e5f};}));}return _0x5bbaf2['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x51c0fe,cursors:_0x24e574})=>{const _0x1de29a=_0x24788d;this[_0x1de29a(0x1a0)](),_0x51c0fe&&this[_0x1de29a(0x33d)](_0x51c0fe,_0x24e574);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x24788d(0x2ae)](_0x37d07c=>{const _0x5fb73e=_0x24788d;if(_0x37d07c==null)return;const {skeleton:_0x4ce6c4}=_0x37d07c,{scene:_0x1c36e9}=this[_0x5fb73e(0x390)];_0x1c36e9[_0x5fb73e(0x1df)][_0x5fb73e(0x3d1)](_0x51234e[_0x5fb73e(0x288)](_0x189a86=>{const _0x2c2d61=_0x5fb73e;var _0x5d62e7,_0x575020;const {offsetX:_0x267497,offsetY:_0x33d6c3}=_0x189a86,{x:_0x3a93d5,y:_0x44fb6a}=_0x1c36e9['getRelativeToViewportCoord'](_0x5cd4ea['Vector2']['FromArray']([_0x267497,_0x33d6c3])),{scaleX:_0x57cc89,scaleY:_0x2e05dd}=_0x1c36e9[_0x2c2d61(0x3d0)](),_0x36bb73=_0x1c36e9[_0x2c2d61(0x1dc)](_0x5cd4ea[_0x2c2d61(0x398)][_0x2c2d61(0x341)]),_0x19b320=_0x1c36e9[_0x2c2d61(0x392)](_0x5cd4ea[_0x2c2d61(0x340)]['FromArray']([_0x3a93d5,_0x44fb6a]),_0x36bb73),_0x3128a9=_0x4ce6c4['getCellPositionByOffset'](_0x267497,_0x33d6c3,_0x57cc89,_0x2e05dd,_0x19b320);((_0x5d62e7=this[_0x2c2d61(0x307)])==null?void 0x0:_0x5d62e7[_0x2c2d61(0x38f)])===_0x3128a9[_0x2c2d61(0x38f)]&&((_0x575020=this[_0x2c2d61(0x307)])==null?void 0x0:_0x575020[_0x2c2d61(0x242)])===_0x3128a9[_0x2c2d61(0x242)]||this[_0x2c2d61(0x2c8)][_0x2c2d61(0x35f)](_0x47b9c3=>{const _0x2d9ea7=_0x2c2d61;_0x47b9c3[_0x2d9ea7(0x2a2)](_0x3128a9);});},0x64));});}[_0xbc4bab(0x33d)](_0x3111b8,_0x3e9b3b){const _0x4a1896=_0xbc4bab;var _0x2b2568;const _0x9c4f2e=(_0x2b2568=this[_0x4a1896(0x20c)][_0x4a1896(0x332)]())==null?void 0x0:_0x2b2568['skeleton'];if(!_0x9c4f2e)return;const _0x5d633a=this[_0x4a1896(0x3a9)]();if(!_0x5d633a)return;this[_0x4a1896(0x2c8)]['forEach'](_0x4cd7bc=>{const _0x21940e=_0x4a1896;_0x4cd7bc[_0x21940e(0x17b)]();});const {scene:_0x20b1a9}=_0x5d633a,_0x3d73f1=_0x473ebb(Array[_0x4a1896(0x1ea)](_0x3e9b3b['values']()))[_0x4a1896(0x2fe)](_0x37051c=>{const _0x525f05=_0x4a1896,{color:_0x2091e0,range:_0x5ebec5,name:_0x51ce23,selection:_0x2034d5,sheetID:_0x3f46d8}=_0x37051c,{startColumn:_0x4d67c6,startRow:_0x10ccdd,endColumn:_0x399398,endRow:_0x46fa96}=_0x5ebec5,_0x12823b=_0x1f6c03[_0x525f05(0x3a6)](_0x10ccdd,_0x4d67c6,_0x20b1a9,_0x9c4f2e),_0x28665f=_0x1f6c03[_0x525f05(0x3a6)](_0x46fa96,_0x399398,_0x20b1a9,_0x9c4f2e),{columnHeaderHeightAndMarginTop:_0x4d83ef}=_0x9c4f2e,{startX:_0x307936,startY:_0x5975e8}=_0x12823b,{endX:_0x38be68,endY:_0x2867bf}=_0x28665f,_0x39ea66=_0x38be68-_0x307936,_0x489c18=_0x2867bf-_0x5975e8,_0x2111b={'labelPosition':_0x5975e8-_0x4d83ef>=_0x1c6139?_0x525f05(0x269):'bottom','sheetID':_0x3f46d8,'range':_0x5ebec5,'color':_0x2091e0,'name':_0x51ce23,'selection':_0x2034d5,'left':_0x307936,'top':_0x5975e8,'width':_0x39ea66,'height':_0x489c18,'evented':!0x1,'zIndex':_0x1a569e};return new _0xd3b6c4(_0x51ce23,_0x2111b);});_0x20b1a9[_0x4a1896(0x254)](_0x3d73f1,_0x3c9a7a),this[_0x4a1896(0x2c8)]=new Set(_0x3d73f1);}[_0xbc4bab(0x1a0)](){const _0x33adc9=_0xbc4bab;var _0x104d3b;(_0x104d3b=this['_cursors'])==null||_0x104d3b[_0x33adc9(0x35f)](_0x559210=>_0x559210[_0x33adc9(0x310)]());}[_0xbc4bab(0x3a9)](){const _0x416fcc=_0xbc4bab;return _0x1f6c03[_0x416fcc(0x3b0)](this['_context'][_0x416fcc(0x387)],this[_0x416fcc(0x390)]);}};_0x18b05d=_0x192ad6([_0x1a7769(0x1,_0x51234e['Inject'](_0x1f6c03[_0xbc4bab(0x24b)])),_0x1a7769(0x2,_0x51234e[_0xbc4bab(0x1e7)](_0x217dd7)),_0x1a7769(0x3,_0x51234e[_0xbc4bab(0x1e7)](_0x51234e[_0xbc4bab(0x1b9)]))],_0x18b05d);function _0x473ebb(_0x39c392){const _0x55c837=_0xbc4bab,_0x1f9fcf=new Map();return _0x39c392['forEach'](_0x331575=>{const _0x46029e=_0x3b2a;if(_0x1f9fcf['has'](_0x331575['selection'])){const _0x41087d=_0x1f9fcf[_0x46029e(0x194)](_0x331575[_0x46029e(0x361)]);_0x41087d['name']+=',\x20'+_0x331575['name'];}else _0x1f9fcf[_0x46029e(0x36c)](_0x331575[_0x46029e(0x361)],_0x331575);}),Array[_0x55c837(0x1ea)](_0x1f9fcf[_0x55c837(0x1a4)]());}var _0x4a35c8=Object[_0xbc4bab(0x218)],_0x5ae2e9=(_0x1bd111,_0xfa9fce,_0x6e7509,_0x74cf7a)=>{for(var _0x4cb41d=_0x74cf7a>0x1?void 0x0:_0x74cf7a?_0x4a35c8(_0xfa9fce,_0x6e7509):_0xfa9fce,_0x383d09=_0x1bd111['length']-0x1,_0x107ca3;_0x383d09>=0x0;_0x383d09--)(_0x107ca3=_0x1bd111[_0x383d09])&&(_0x4cb41d=_0x107ca3(_0x4cb41d)||_0x4cb41d);return _0x4cb41d;},_0x724ccf=(_0x4e8cf9,_0x113bed)=>(_0x4aaa01,_0x2a81a8)=>_0x113bed(_0x4aaa01,_0x2a81a8,_0x4e8cf9);let _0x18e095=class extends _0x51234e['Disposable']{constructor(_0x39144d,_0x28c449,_0x253553,_0x349cf0,_0xf8a4aa,_0x26d54c){const _0x210c42=_0xbc4bab;super(),this[_0x210c42(0x33e)]=_0x39144d,this[_0x210c42(0x17a)]=_0x28c449,this[_0x210c42(0x213)]=_0x253553,this[_0x210c42(0x238)]=_0x349cf0,this[_0x210c42(0x31f)]=_0xf8a4aa,this['_localeService']=_0x26d54c,this[_0x210c42(0x266)](),this[_0x210c42(0x2d8)]();}['_setupBeforeClosingHandler'](){const _0x496c62=_0xbc4bab;this[_0x496c62(0x2de)](this[_0x496c62(0x33e)][_0x496c62(0x2d0)](()=>{const _0xa9cf35=_0x496c62;if(this[_0xa9cf35(0x17a)][_0xa9cf35(0x2f8)][_0xa9cf35(0x293)])return this['_localeService']['t'](_0xa9cf35(0x20b));}));}[_0xbc4bab(0x2d8)](){const _0x32950f=_0xbc4bab;this['disposeWithMe'](this[_0x32950f(0x213)][_0x32950f(0x2c5)][_0x32950f(0x2ae)](_0x48f6ad=>{const _0x5de20d=_0x32950f;_0x48f6ad['id']===_0x45d92a['CollaborationUIEventId'][_0x5de20d(0x32b)]&&this[_0x5de20d(0x238)]['show']({'type':_0x5ab59c[_0x5de20d(0x2e0)][_0x5de20d(0x217)],'content':this[_0x5de20d(0x212)]['t'](_0x5de20d(0x303))}),_0x48f6ad['id']===_0x45d92a[_0x5de20d(0x2b4)][_0x5de20d(0x324)]&&this[_0x5de20d(0x238)]['show']({'type':_0x5ab59c[_0x5de20d(0x2e0)][_0x5de20d(0x217)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x48f6ad['id']===_0x45d92a[_0x5de20d(0x2b4)][_0x5de20d(0x1f0)]&&this[_0x5de20d(0x31f)][_0x5de20d(0x34d)]({'title':this['_localeService']['t'](_0x5de20d(0x375)),'content':this[_0x5de20d(0x212)]['t'](_0x5de20d(0x1c9)),'type':_0x5de20d(0x25a),'duration':0x0}),_0x48f6ad['id']===_0x45d92a['CollaborationUIEventId'][_0x5de20d(0x251)]&&this[_0x5de20d(0x238)]['show']({'type':_0x5ab59c[_0x5de20d(0x2e0)]['Error'],'content':this['_localeService']['t'](_0x5de20d(0x376))+'('+_0x48f6ad[_0x5de20d(0x1b0)]+')'}),_0x48f6ad['id']===_0x45d92a[_0x5de20d(0x2b4)][_0x5de20d(0x1bf)]&&this['_messageService'][_0x5de20d(0x34d)]({'type':_0x5ab59c[_0x5de20d(0x2e0)][_0x5de20d(0x217)],'content':this[_0x5de20d(0x212)]['t'](_0x48f6ad[_0x5de20d(0x1b0)]||'')}),_0x48f6ad['id']===_0x45d92a[_0x5de20d(0x2b4)][_0x5de20d(0x362)]&&this['_messageService'][_0x5de20d(0x34d)]({'type':_0x5ab59c[_0x5de20d(0x2e0)][_0x5de20d(0x217)],'content':this[_0x5de20d(0x212)]['t'](_0x5de20d(0x39d))}),_0x48f6ad['id']===_0x45d92a[_0x5de20d(0x2b4)][_0x5de20d(0x3cb)]&&this[_0x5de20d(0x238)][_0x5de20d(0x34d)]({'type':_0x5ab59c[_0x5de20d(0x2e0)][_0x5de20d(0x3c4)],'content':this[_0x5de20d(0x212)]['t']('session.connection-failed')}),_0x48f6ad['id']===_0x45d92a[_0x5de20d(0x2b4)]['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService'][_0x5de20d(0x34d)]({'type':_0x5ab59c[_0x5de20d(0x2e0)][_0x5de20d(0x3c4)],'content':this[_0x5de20d(0x212)]['t'](_0x5de20d(0x237))});}));}};_0x18e095=_0x5ae2e9([_0x724ccf(0x0,_0x55a91c[_0xbc4bab(0x34a)]),_0x724ccf(0x1,_0x45d92a[_0xbc4bab(0x394)]),_0x724ccf(0x2,_0x51234e[_0xbc4bab(0x1e7)](_0x45d92a[_0xbc4bab(0x302)])),_0x724ccf(0x3,_0x55a91c[_0xbc4bab(0x379)]),_0x724ccf(0x4,_0x55a91c['INotificationService']),_0x724ccf(0x5,_0x51234e['Inject'](_0x51234e['LocaleService']))],_0x18e095);const _0x1cdf09='collaboration-client-ui.config',_0x50011c={};var _0x3c8c1f=Object[_0xbc4bab(0x218)],_0xbff0ef=(_0x5bd451,_0x4ffb72,_0x4ab1b8,_0x1a2dbc)=>{const _0x58e558=_0xbc4bab;for(var _0x391bcc=_0x1a2dbc>0x1?void 0x0:_0x1a2dbc?_0x3c8c1f(_0x4ffb72,_0x4ab1b8):_0x4ffb72,_0x477fba=_0x5bd451[_0x58e558(0x277)]-0x1,_0x4d8c06;_0x477fba>=0x0;_0x477fba--)(_0x4d8c06=_0x5bd451[_0x477fba])&&(_0x391bcc=_0x4d8c06(_0x391bcc)||_0x391bcc);return _0x391bcc;},_0x201c8b=(_0xc54310,_0x5bb752)=>(_0x25221f,_0x5ace66)=>_0x5bb752(_0x25221f,_0x5ace66,_0xc54310);let _0x100d73=class{constructor(_0xdb9bd4,_0x3791e9){const _0xabda9a=_0xbc4bab;this[_0xabda9a(0x16b)]=_0xdb9bd4,this[_0xabda9a(0x3b8)]=_0x3791e9;}['transformIMECache'](_0x46aad6){const _0x5ce009=_0xbc4bab;this[_0x5ce009(0x1fe)](_0x46aad6),this[_0x5ce009(0x37d)](_0x46aad6);}[_0xbc4bab(0x1af)](_0x2563d5){const _0x56d52a=_0xbc4bab,{unitID:_0x42a2a3}=_0x2563d5,_0x2c000e=this[_0x56d52a(0x3b8)][_0x56d52a(0x1d5)](_0x42a2a3)[_0x56d52a(0x36d)](_0x31dfa4[_0x56d52a(0x2ef)]),{redoCache:_0x41e601}=_0x2c000e[_0x56d52a(0x1ad)]();if(_0x41e601[_0x56d52a(0x277)]===0x0)return _0x2563d5;let _0x9859bc=_0x51234e['Tools'][_0x56d52a(0x1fa)](_0x2563d5['mutations'][0x0]);for(let _0x20d12e=0x0;_0x20d12e<_0x41e601[_0x56d52a(0x277)];_0x20d12e++){const _0x1e0819={'id':'doc.mutation.rich-text-editing','params':{..._0x41e601[_0x20d12e]}},_0x3df2b0=this[_0x56d52a(0x16b)]['transformMutation'](_0x9859bc,_0x1e0819,!0x1);if(_0x2bb387['isTransformMutationFailure'](_0x3df2b0))throw _0x3df2b0['error'];_0x9859bc=_0x3df2b0[_0x56d52a(0x3bf)];}return{..._0x51234e[_0x56d52a(0x1b7)][_0x56d52a(0x1fa)](_0x2563d5),'mutations':[_0x9859bc]};}[_0xbc4bab(0x1fe)](_0x2c4620){const _0x1e8c01=_0xbc4bab,{unitID:_0xf6ce9c}=_0x2c4620,_0x16da49=this['_renderManagerService'][_0x1e8c01(0x1d5)](_0xf6ce9c)[_0x1e8c01(0x36d)](_0x31dfa4['DocIMEInputManagerService']),{undoCache:_0x4785c2,redoCache:_0xc704c}=_0x16da49['getUndoRedoMutationParamsCache']();if(_0x4785c2[_0x1e8c01(0x277)]===0x0||_0xc704c[_0x1e8c01(0x277)]===0x0)return;const _0x2d5e59=[],_0x222743=[];let _0x4dc5a6=_0x51234e[_0x1e8c01(0x1b7)]['deepClone'](_0x2c4620['mutations'][0x0]),_0x93aaf0=_0x51234e[_0x1e8c01(0x1b7)][_0x1e8c01(0x1fa)](_0x2c4620['mutations'][0x0]);for(let _0x18f864=_0x4785c2['length']-0x1;_0x18f864>=0x0;_0x18f864--){const _0x21f444={'id':_0x1e8c01(0x274),'params':{..._0x4785c2[_0x18f864]}},_0x3fed0f={'id':_0x1e8c01(0x274),'params':{..._0xc704c[_0x18f864]}},_0x5529b2=this[_0x1e8c01(0x16b)][_0x1e8c01(0x23c)](_0x4dc5a6,_0x21f444,!0x1),_0x524911=this[_0x1e8c01(0x16b)]['transformMutation'](_0x93aaf0,_0x3fed0f,!0x1);if(_0x2bb387[_0x1e8c01(0x2dc)](_0x5529b2))throw _0x5529b2[_0x1e8c01(0x25a)];if(_0x2bb387['isTransformMutationFailure'](_0x524911))throw _0x524911[_0x1e8c01(0x25a)];_0x2d5e59['unshift'](_0x5529b2['m2Prime'][_0x1e8c01(0x32a)]),_0x222743[_0x1e8c01(0x3a2)](_0x524911[_0x1e8c01(0x317)]['params']),_0x4dc5a6=_0x5529b2[_0x1e8c01(0x3bf)],_0x93aaf0=_0x524911['m1Prime'];}_0x16da49[_0x1e8c01(0x356)]({'undoCache':_0x2d5e59,'redoCache':_0x222743});}[_0xbc4bab(0x37d)](_0x5781db){const _0x37aee9=_0xbc4bab,{unitID:_0x48e880}=_0x5781db,_0x2cde33=this[_0x37aee9(0x3b8)][_0x37aee9(0x1d5)](_0x48e880)[_0x37aee9(0x36d)](_0x31dfa4['DocIMEInputManagerService']),_0x5bdf7d=_0x2cde33[_0x37aee9(0x1fb)]();if(_0x5bdf7d==null)return;const _0x33eb6b=[{'id':_0x37aee9(0x274),'params':{'unitId':_0x5781db[_0x37aee9(0x228)],'actions':null,'textRanges':[_0x5bdf7d]}}],_0x18a266=this['_transformService']['transformMutationsWithChangeset'](_0x5781db,_0x33eb6b);if(!_0x2bb387['isTransformMutationsWithChangesetSuccess'](_0x18a266))throw _0x18a266[_0x37aee9(0x25a)];const _0x50518a=_0x18a266['m2Prime'][0x0]['params'][_0x37aee9(0x185)];Array[_0x37aee9(0x35b)](_0x50518a)&&_0x50518a[_0x37aee9(0x277)]&&_0x2cde33[_0x37aee9(0x1b1)](_0x50518a[0x0]);}};_0x100d73=_0xbff0ef([_0x201c8b(0x0,_0x2bb387[_0xbc4bab(0x32e)]),_0x201c8b(0x1,_0x5cd4ea[_0xbc4bab(0x179)])],_0x100d73);var _0x5d2aef=Object['getOwnPropertyDescriptor'],_0x4bba7a=(_0x5c66f9,_0x978b8f,_0x132707,_0x1f53df)=>{const _0x2fbf29=_0xbc4bab;for(var _0x232f14=_0x1f53df>0x1?void 0x0:_0x1f53df?_0x5d2aef(_0x978b8f,_0x132707):_0x978b8f,_0x325f0a=_0x5c66f9[_0x2fbf29(0x277)]-0x1,_0x27cb28;_0x325f0a>=0x0;_0x325f0a--)(_0x27cb28=_0x5c66f9[_0x325f0a])&&(_0x232f14=_0x27cb28(_0x232f14)||_0x232f14);return _0x232f14;},_0x296d0b=(_0x4c72ea,_0x488919)=>(_0x229f97,_0x56061b)=>_0x488919(_0x229f97,_0x56061b,_0x4c72ea);let _0x50e4fe=class{constructor(_0x44d28e,_0x4fbb72,_0x2edb5f){const _0x197de0=_0xbc4bab;this['_injector']=_0x44d28e,this['_transformService']=_0x4fbb72,this[_0x197de0(0x165)]=_0x2edb5f;}[_0xbc4bab(0x28f)](_0x197f75){const _0x54c8da=_0xbc4bab;this[_0x54c8da(0x2a9)](_0x197f75);}[_0xbc4bab(0x1af)](_0x2e89d4){const _0x20e9f7=_0xbc4bab,{unitID:_0x4700cd}=_0x2e89d4,{collaboration:_0x5b3b5b}=this['_docStateChangeManagerService']['getStateCache'](_0x4700cd);if(_0x5b3b5b[_0x20e9f7(0x277)]===0x0)return _0x2e89d4;let _0x4fe1df=_0x51234e[_0x20e9f7(0x1b7)][_0x20e9f7(0x1fa)](_0x2e89d4[_0x20e9f7(0x35d)][0x0]);for(let _0x4794c3=0x0;_0x4794c3<_0x5b3b5b['length'];_0x4794c3++){const _0x40dd66={'id':_0x20e9f7(0x274),'params':{'unitId':_0x5b3b5b[_0x4794c3][_0x20e9f7(0x3c6)],..._0x5b3b5b[_0x4794c3][_0x20e9f7(0x22a)]}},_0xb5f428=this[_0x20e9f7(0x16b)][_0x20e9f7(0x23c)](_0x4fe1df,_0x40dd66,!0x1);if(_0x2bb387[_0x20e9f7(0x2dc)](_0xb5f428))throw _0xb5f428[_0x20e9f7(0x25a)];_0x4fe1df=_0xb5f428['m1Prime'];}return{..._0x51234e[_0x20e9f7(0x1b7)][_0x20e9f7(0x1fa)](_0x2e89d4),'mutations':[_0x4fe1df]};}[_0xbc4bab(0x2a9)](_0x5d230d){const _0x274a07=_0xbc4bab,{unitID:_0x27d7db}=_0x5d230d,{history:_0x54803c,collaboration:_0x3f681b}=this[_0x274a07(0x165)][_0x274a07(0x2d6)](_0x27d7db);if(_0x54803c['length']===0x0&&_0x3f681b[_0x274a07(0x277)]===0x0)return;const _0x266a16=[],_0x396747=[];let _0x196d7f=_0x51234e['Tools'][_0x274a07(0x1fa)](_0x5d230d[_0x274a07(0x35d)][0x0]),_0x576291=_0x51234e['Tools'][_0x274a07(0x1fa)](_0x5d230d['mutations'][0x0]);for(let _0x52cf7a=_0x54803c[_0x274a07(0x277)]-0x1;_0x52cf7a>=0x0;_0x52cf7a--){const _0x2c5d61={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x54803c[_0x52cf7a]['unitId'],..._0x54803c[_0x52cf7a][_0x274a07(0x248)]}},_0x28ef87={'id':_0x274a07(0x274),'params':{'unitId':_0x54803c[_0x52cf7a][_0x274a07(0x3c6)],..._0x54803c[_0x52cf7a][_0x274a07(0x22a)]}},_0x155d5f=this[_0x274a07(0x16b)]['transformMutation'](_0x196d7f,_0x2c5d61,!0x1),_0x25fa24=this['_transformService'][_0x274a07(0x23c)](_0x576291,_0x28ef87,!0x1);if(_0x2bb387['isTransformMutationFailure'](_0x155d5f))throw _0x155d5f[_0x274a07(0x25a)];if(_0x2bb387[_0x274a07(0x2dc)](_0x25fa24))throw _0x25fa24['error'];_0x266a16['unshift']({..._0x54803c[_0x52cf7a],'undoState':_0x155d5f[_0x274a07(0x317)]['params'],'redoState':_0x25fa24[_0x274a07(0x317)]['params']}),_0x196d7f=_0x155d5f['m1Prime'],_0x576291=_0x25fa24[_0x274a07(0x3bf)];}_0x196d7f=_0x51234e[_0x274a07(0x1b7)]['deepClone'](_0x5d230d['mutations'][0x0]),_0x576291=_0x51234e['Tools'][_0x274a07(0x1fa)](_0x5d230d[_0x274a07(0x35d)][0x0]);for(let _0xcd9f33=_0x3f681b['length']-0x1;_0xcd9f33>=0x0;_0xcd9f33--){const _0x1139bf={'id':_0x274a07(0x274),'params':{'unitId':_0x3f681b[_0xcd9f33][_0x274a07(0x3c6)],..._0x3f681b[_0xcd9f33][_0x274a07(0x248)]}},_0x45a335={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3f681b[_0xcd9f33]['unitId'],..._0x3f681b[_0xcd9f33][_0x274a07(0x22a)]}},_0x13bba6=this['_transformService'][_0x274a07(0x23c)](_0x196d7f,_0x1139bf,!0x1),_0x45a035=this['_transformService'][_0x274a07(0x23c)](_0x576291,_0x45a335,!0x1);if(_0x2bb387[_0x274a07(0x2dc)](_0x13bba6))throw _0x13bba6[_0x274a07(0x25a)];if(_0x2bb387[_0x274a07(0x2dc)](_0x45a035))throw _0x45a035[_0x274a07(0x25a)];_0x396747[_0x274a07(0x3a2)]({..._0x3f681b[_0xcd9f33],'undoState':_0x13bba6[_0x274a07(0x317)]['params'],'redoState':_0x45a035['m2Prime'][_0x274a07(0x32a)]}),_0x196d7f=_0x13bba6[_0x274a07(0x3bf)],_0x576291=_0x45a035[_0x274a07(0x3bf)];}this[_0x274a07(0x165)][_0x274a07(0x1f3)](_0x27d7db,{'history':_0x266a16,'collaboration':_0x396747});}};_0x50e4fe=_0x4bba7a([_0x296d0b(0x0,_0x51234e[_0xbc4bab(0x1e7)](_0x51234e[_0xbc4bab(0x345)])),_0x296d0b(0x1,_0x2bb387[_0xbc4bab(0x32e)]),_0x296d0b(0x2,_0x51234e['Inject'](_0x31dfa4[_0xbc4bab(0x246)]))],_0x50e4fe);var _0x5c483c=Object[_0xbc4bab(0x218)],_0x41b374=(_0x476903,_0x2a9e5a,_0x3d6261,_0x502bea)=>{const _0x42e749=_0xbc4bab;for(var _0x2d238f=_0x502bea>0x1?void 0x0:_0x502bea?_0x5c483c(_0x2a9e5a,_0x3d6261):_0x2a9e5a,_0x3ab61e=_0x476903[_0x42e749(0x277)]-0x1,_0x3a9e4a;_0x3ab61e>=0x0;_0x3ab61e--)(_0x3a9e4a=_0x476903[_0x3ab61e])&&(_0x2d238f=_0x3a9e4a(_0x2d238f)||_0x2d238f);return _0x2d238f;},_0x43dd00=(_0xd2132,_0x1aef7b)=>(_0x2e553c,_0x4a76a1)=>_0x1aef7b(_0x2e553c,_0x4a76a1,_0xd2132);let _0x4f6202=class{constructor(_0x4db58a,_0x307b26){const _0x445d03=_0xbc4bab;this[_0x445d03(0x284)]=_0x4db58a,this[_0x445d03(0x16b)]=_0x307b26;}[_0xbc4bab(0x2fd)](_0x923464){const _0x17590e=_0xbc4bab;var _0x55e80b;const _0x106b65=this[_0x17590e(0x284)][_0x17590e(0x194)](_0x5886b2[_0x17590e(0x159)]),_0x277be1=(_0x55e80b=_0x106b65['getDocRanges']())!=null?_0x55e80b:[];if(_0x277be1[_0x17590e(0x277)]===0x0)return;const _0x15d9c6=_0x923464[_0x17590e(0x228)],_0x680c30=[{'id':_0x17590e(0x274),'params':{'unitId':_0x15d9c6,'actions':null,'textRanges':_0x277be1}}],_0x2fbb36=this['_transformService']['transformMutationsWithChangeset'](_0x923464,_0x680c30);if(!_0x2bb387[_0x17590e(0x39a)](_0x2fbb36))throw _0x2fbb36[_0x17590e(0x25a)];const _0x218e8a=_0x2fbb36[_0x17590e(0x317)][0x0]['params'][_0x17590e(0x185)];Array[_0x17590e(0x35b)](_0x218e8a)&&_0x218e8a['length']&&_0x106b65[_0x17590e(0x204)](_0x218e8a,{'unitId':_0x15d9c6,'subUnitId':_0x15d9c6},!0x1);}};_0x4f6202=_0x41b374([_0x43dd00(0x0,_0x51234e[_0xbc4bab(0x1e7)](_0x51234e[_0xbc4bab(0x345)])),_0x43dd00(0x1,_0x2bb387[_0xbc4bab(0x32e)])],_0x4f6202);var _0x16fa30=Object['getOwnPropertyDescriptor'],_0x1f1ca4=(_0x7b4ec4,_0x28cd1d,_0x45cdba,_0x10ef1f)=>{const _0x3b1cc4=_0xbc4bab;for(var _0x542933=_0x10ef1f>0x1?void 0x0:_0x10ef1f?_0x16fa30(_0x28cd1d,_0x45cdba):_0x28cd1d,_0x1225c3=_0x7b4ec4[_0x3b1cc4(0x277)]-0x1,_0x1c56e6;_0x1225c3>=0x0;_0x1225c3--)(_0x1c56e6=_0x7b4ec4[_0x1225c3])&&(_0x542933=_0x1c56e6(_0x542933)||_0x542933);return _0x542933;},_0x134264=(_0x2b6980,_0x5dfc51)=>(_0x1f8565,_0x31cd2e)=>_0x5dfc51(_0x1f8565,_0x31cd2e,_0x2b6980);let _0x32a49e=class extends _0x51234e[_0xbc4bab(0x292)]{constructor(_0x21922e,_0x4d7deb,_0x367d5a,_0x5ed105,_0x1096d9,_0x44f1cf,_0x1b5973,_0x113542){const _0x5d0a39=_0xbc4bab;super(),_0x1e1d43(this,_0x5d0a39(0x151),new _0x5bbaf2['BehaviorSubject'](_0x45d92a[_0x5d0a39(0x33c)]['NOT_COLLAB'])),(this[_0x5d0a39(0x165)]=_0x21922e,this[_0x5d0a39(0x1d9)]=_0x4d7deb,this['_docTransformIMECacheService']=_0x367d5a,this['_docTransformStateCacheService']=_0x5ed105,this[_0x5d0a39(0x311)]=_0x1096d9,this[_0x5d0a39(0x2a8)]=_0x44f1cf,this[_0x5d0a39(0x238)]=_0x1b5973,this[_0x5d0a39(0x212)]=_0x113542,this[_0x5d0a39(0x1f9)]());}[_0xbc4bab(0x1f9)](){const _0x510075=_0xbc4bab;this[_0x510075(0x2de)](this[_0x510075(0x1d9)][_0x510075(0x1c7)][_0x510075(0x2ae)](_0x39a332=>{const _0x486912=_0x510075,_0x1dcba2=this[_0x486912(0x165)]['docStateChange$']['subscribe'](_0xae32ca=>{const _0x3bd0eb=_0x486912;if(_0xae32ca==null)return;const {unitId:_0x31dc63,redoState:_0x13ba57,commandId:_0x439e3d}=_0xae32ca;if(_0x31dc63!==_0x39a332['unitID'])return;const _0xe92d4b={'id':_0x439e3d,'type':_0x51234e['CommandType']['MUTATION'],'params':{'unitId':_0x31dc63,'actions':_0x13ba57['actions'],'textRanges':null}};_0x39a332[_0x3bd0eb(0x353)](_0xe92d4b);});if(_0x39a332[_0x486912(0x2de)](_0x1dcba2),_0x39a332 instanceof _0x45d92a[_0x486912(0x174)]){const _0x283c1c={'onTransformIME':_0x20db89=>this[_0x486912(0x38b)][_0x486912(0x372)](_0x20db89),'onTransformState':_0x480139=>this[_0x486912(0x262)][_0x486912(0x28f)](_0x480139),'onTransformSelections':_0x273818=>this[_0x486912(0x311)][_0x486912(0x2fd)](_0x273818),'onSyncEditingCollabCursor':_0x4805db=>this[_0x486912(0x2a8)][_0x486912(0x24e)](_0x4805db),'onTransformRemoteChangesetByIMECache':_0x1b3575=>this[_0x486912(0x38b)][_0x486912(0x1af)](_0x1b3575),'onTransformRemoteChangesetByStateCache':_0x17e0d6=>this[_0x486912(0x262)][_0x486912(0x1af)](_0x17e0d6)};_0x39a332['addHandlerCallback'](_0x283c1c);}}));}};_0x32a49e=_0x1f1ca4([_0x134264(0x0,_0x51234e['Inject'](_0x31dfa4[_0xbc4bab(0x246)])),_0x134264(0x1,_0x51234e[_0xbc4bab(0x1e7)](_0x45d92a[_0xbc4bab(0x3a5)])),_0x134264(0x2,_0x51234e[_0xbc4bab(0x1e7)](_0x100d73)),_0x134264(0x3,_0x51234e[_0xbc4bab(0x1e7)](_0x50e4fe)),_0x134264(0x4,_0x51234e[_0xbc4bab(0x1e7)](_0x4f6202)),_0x134264(0x5,_0x51234e[_0xbc4bab(0x1e7)](_0x143609)),_0x134264(0x6,_0x55a91c[_0xbc4bab(0x379)]),_0x134264(0x7,_0x51234e[_0xbc4bab(0x1e7)](_0x51234e[_0xbc4bab(0x2b1)]))],_0x32a49e);var _0x1ec460=Object[_0xbc4bab(0x218)],_0x9f8d86=(_0x1969d0,_0x41f126,_0x3a38f5,_0x54d541)=>{const _0x3ace21=_0xbc4bab;for(var _0x1d95ef=_0x54d541>0x1?void 0x0:_0x54d541?_0x1ec460(_0x41f126,_0x3a38f5):_0x41f126,_0x44349e=_0x1969d0[_0x3ace21(0x277)]-0x1,_0x19abc1;_0x44349e>=0x0;_0x44349e--)(_0x19abc1=_0x1969d0[_0x44349e])&&(_0x1d95ef=_0x19abc1(_0x1d95ef)||_0x1d95ef);return _0x1d95ef;},_0xc32f19=(_0xc32547,_0x544e7c)=>(_0x8fc481,_0x40cbd5)=>_0x544e7c(_0x8fc481,_0x40cbd5,_0xc32547);let _0x451cc3=class extends _0x51234e[_0xbc4bab(0x292)]{constructor(_0x2c05c2,_0x43f389,_0x186541){const _0x17b884=_0xbc4bab;super(),_0x1e1d43(this,'_cachedData',new Map()),_0x1e1d43(this,_0x17b884(0x2f0),new Map()),_0x1e1d43(this,'_disabled',!0x1),(this[_0x17b884(0x163)]=_0x2c05c2,this[_0x17b884(0x326)]=_0x43f389,this[_0x17b884(0x268)]=_0x186541);}['disableLocalCache'](){const _0x1dc3ac=_0xbc4bab;this[_0x1dc3ac(0x161)]=!0x0;}[_0xbc4bab(0x1bd)](){this['_disabled']=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0xbc4bab(0x310)](){const _0x39cacc=_0xbc4bab;this[_0x39cacc(0x19d)]()[_0x39cacc(0x2c2)](()=>super[_0x39cacc(0x310)]());}async['loadOfflineData'](_0x3fc453){const _0x544961=_0xbc4bab;return this['_disabled']?null:this['_localStorageService'][_0x544961(0x36a)](_0x45d92a['getLocalCacheKey'](_0x3fc453));}async['saveOfflineData'](_0x2c168e,_0x3cca0d){const _0x30b0d4=_0xbc4bab;return!!this[_0x30b0d4(0x326)][_0x30b0d4(0x25e)](_0x2c168e,_0x3cca0d);}[_0xbc4bab(0x395)](_0x2d7fc3,_0x2606f7,_0x540d7d,_0x1b6ee9){const _0x296c53=_0xbc4bab,_0xa701e1=this[_0x296c53(0x268)][_0x296c53(0x256)](_0x2d7fc3);this['_cachedData'][_0x296c53(0x36c)](_0x2d7fc3,{'unitID':_0x2d7fc3,'type':_0x2606f7,'awaitingChangeset':_0x540d7d,'mutations':_0x1b6ee9,'rev':_0xa701e1}),this[_0x296c53(0x2f0)][_0x296c53(0x172)](_0x2d7fc3)||this[_0x296c53(0x39f)](_0x2d7fc3);}['_scheduleSaving'](_0x4a2235){const _0xae9d29=_0xbc4bab,_0x45b7b0=this[_0xae9d29(0x1ef)]();_0x45b7b0===0x0?this[_0xae9d29(0x2ea)](_0x4a2235):this[_0xae9d29(0x2f0)][_0xae9d29(0x36c)](_0x4a2235,setTimeout(()=>this['_saveCache'](_0x4a2235),_0x45b7b0));}[_0xbc4bab(0x1ef)](){const _0x41c2ce=_0xbc4bab;var _0x2433dc;return(_0x2433dc=this[_0x41c2ce(0x163)]['getConfig'](_0x45d92a['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x2433dc:_0x45d92a['LOCAL_CACHE_INTERVAL'];}[_0xbc4bab(0x2ea)](_0x2f8016){const _0x49f073=_0xbc4bab,_0x326cd5=this['_saveTaskMap']['get'](_0x2f8016);return _0x326cd5!==void 0x0&&window[_0x49f073(0x171)](_0x326cd5),this[_0x49f073(0x326)]['setItem'](_0x45d92a[_0x49f073(0x3a0)](_0x2f8016),this[_0x49f073(0x36e)]['get'](_0x2f8016))[_0x49f073(0x2c2)](()=>this[_0x49f073(0x2f0)]['delete'](_0x2f8016));}async[_0xbc4bab(0x19d)](){const _0x580716=_0xbc4bab,_0x3da8be=[];this[_0x580716(0x2f0)][_0x580716(0x35f)]((_0x55de4d,_0xe91bad)=>{const _0xd8a44c=_0x580716;window[_0xd8a44c(0x171)](_0x55de4d),_0x3da8be[_0xd8a44c(0x1e0)](this[_0xd8a44c(0x2ea)](_0xe91bad)['then'](()=>{const _0x5c501a=_0xd8a44c;this[_0x5c501a(0x2f0)][_0x5c501a(0x339)](_0xe91bad);}));}),await Promise[_0x580716(0x2e4)](_0x3da8be);}};_0x451cc3=_0x9f8d86([_0xc32f19(0x0,_0x51234e[_0xbc4bab(0x388)]),_0xc32f19(0x1,_0x51234e['ILocalStorageService']),_0xc32f19(0x2,_0x51234e[_0xbc4bab(0x1e7)](_0x2bb387[_0xbc4bab(0x3d2)]))],_0x451cc3);class _0x196ee5 extends _0x51234e[_0xbc4bab(0x207)]{constructor(){const _0x3f9c29=_0xbc4bab;super(),_0x1e1d43(this,_0x3f9c29(0x16a)),this[_0x3f9c29(0x16a)]=_0x5bbaf2[_0x3f9c29(0x189)](window,_0x3f9c29(0x209))[_0x3f9c29(0x3bd)](_0x5bbaf2['takeUntil'](this[_0x3f9c29(0x1a6)]),_0x5bbaf2[_0x3f9c29(0x2cc)](0x1),_0x5bbaf2[_0x3f9c29(0x222)](void 0x0));}[_0xbc4bab(0x377)](_0x225682,_0x49410b,_0x4e6c5c=!0x1){const _0x2d2dec=_0xbc4bab,_0x272449=new URL(window['location'][_0x2d2dec(0x23f)]);_0x272449[_0x2d2dec(0x31d)][_0x2d2dec(0x36c)](_0x225682,_0x49410b),_0x4e6c5c?window[_0x2d2dec(0x2ee)][_0x2d2dec(0x34c)]('','',_0x272449[_0x2d2dec(0x193)]()):window[_0x2d2dec(0x2ee)][_0x2d2dec(0x2db)]('','',_0x272449[_0x2d2dec(0x193)]());}[_0xbc4bab(0x152)](_0x5a4a85,_0x5c6bef=!0x1){const _0x564b89=_0xbc4bab,_0x47e7f1=new URL(window['location'][_0x564b89(0x23f)]);_0x47e7f1[_0x564b89(0x31d)][_0x564b89(0x339)](_0x5a4a85),_0x5c6bef?window['history']['replaceState']('','',_0x47e7f1[_0x564b89(0x193)]()):window['history'][_0x564b89(0x2db)]('','',_0x47e7f1[_0x564b89(0x193)]());}['getParam'](_0x13d196){const _0x536445=_0xbc4bab;var _0x2f8855;return(_0x2f8855=new URL(window['location']['href'])[_0x536445(0x31d)][_0x536445(0x194)](_0x13d196))!=null?_0x2f8855:void 0x0;}}var _0x3a7a76=Object[_0xbc4bab(0x2d2)],_0x4a6166=Object[_0xbc4bab(0x218)],_0x313367=(_0x59fb4a,_0x7385f5,_0x4fe831)=>_0x7385f5 in _0x59fb4a?_0x3a7a76(_0x59fb4a,_0x7385f5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4fe831}):_0x59fb4a[_0x7385f5]=_0x4fe831,_0xceb087=(_0xea70a3,_0x567f62,_0x274fc7,_0x33ae52)=>{const _0x44e3fb=_0xbc4bab;for(var _0x3fa41b=_0x33ae52>0x1?void 0x0:_0x33ae52?_0x4a6166(_0x567f62,_0x274fc7):_0x567f62,_0x9aa966=_0xea70a3[_0x44e3fb(0x277)]-0x1,_0x48d93b;_0x9aa966>=0x0;_0x9aa966--)(_0x48d93b=_0xea70a3[_0x9aa966])&&(_0x3fa41b=_0x48d93b(_0x3fa41b)||_0x3fa41b);return _0x3fa41b;},_0x1674eb=(_0x5932eb,_0x4f0bb6)=>(_0x2aa614,_0x53ef8c)=>_0x4f0bb6(_0x2aa614,_0x53ef8c,_0x5932eb),_0x1d8e0c=(_0x1cb369,_0x351b0b,_0x2a227f)=>_0x313367(_0x1cb369,_0x351b0b+'',_0x2a227f);const _0x447e69='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x309383['UniverCollaborationClientUIPlugin']=class extends _0x51234e[_0xbc4bab(0x1aa)]{constructor(_0x3a0701=_0x50011c,_0x5bfd91,_0x542526,_0x3a0061){const _0x4e1f5a=_0xbc4bab;super(),this[_0x4e1f5a(0x352)]=_0x3a0701,this[_0x4e1f5a(0x3b8)]=_0x5bfd91,this[_0x4e1f5a(0x284)]=_0x542526,this[_0x4e1f5a(0x163)]=_0x3a0061;const {..._0x47ac67}=_0x51234e[_0x4e1f5a(0x374)]({},_0x50011c,this['_config']);this['_configService'][_0x4e1f5a(0x202)](_0x1cdf09,_0x47ac67);}[_0xbc4bab(0x33b)](){const _0x1e52f0=_0xbc4bab;this[_0x1e52f0(0x14a)](),this[_0x1e52f0(0x225)]();}[_0xbc4bab(0x240)](){const _0x14ca72=_0xbc4bab;this[_0x14ca72(0x36f)]();}[_0xbc4bab(0x14a)](){const _0x1904e3=_0xbc4bab;var _0x56fdac;const _0x11063e=[[_0x54275e],[_0x4f6202],[_0x100d73],[_0x50e4fe],[_0x143609],[_0x15568a,{'useClass':_0x196ee5}],[_0x34b1e7[_0x1904e3(0x16e)],{'useClass':_0x34b1e7['WebSocketService']}],[_0x45d92a[_0x1904e3(0x394)],{'useClass':_0x451cc3}],[_0x309383[_0x1904e3(0x20e)]],[_0x32a49e],[_0x18e095],[_0x217dd7],[_0x25835a],[_0x309383['CollaborationDataLoaderController']]];_0x51234e[_0x1904e3(0x1c0)](this[_0x1904e3(0x284)],_0x51234e[_0x1904e3(0x31c)](_0x11063e,(_0x56fdac=this['_config'])==null?void 0x0:_0x56fdac[_0x1904e3(0x199)]));}[_0xbc4bab(0x36f)](){const _0x519d9b=_0xbc4bab;this['disposeWithMe'](this['_renderManagerService'][_0x519d9b(0x186)](_0x51234e['UniverInstanceType'][_0x519d9b(0x26e)],[_0x2b471f])),this['disposeWithMe'](this[_0x519d9b(0x3b8)][_0x519d9b(0x186)](_0x51234e['UniverInstanceType']['UNIVER_SHEET'],[_0x18b05d]));}[_0xbc4bab(0x225)](){const _0x267b1a=_0xbc4bab;_0x51234e['touchDependencies'](this[_0x267b1a(0x284)],[[_0x217dd7],[_0x309383['DesktopCollaborationStatusDisplayController']],[_0x32a49e],[_0x18e095],[_0x309383[_0x267b1a(0x221)]]]);}},_0x1d8e0c(_0x309383['UniverCollaborationClientUIPlugin'],_0xbc4bab(0x170),_0x447e69),_0x309383[_0xbc4bab(0x3bb)]=_0xceb087([_0x51234e[_0xbc4bab(0x287)](_0x45d92a[_0xbc4bab(0x211)]),_0x1674eb(0x1,_0x5cd4ea[_0xbc4bab(0x179)]),_0x1674eb(0x2,_0x51234e['Inject'](_0x51234e['Injector'])),_0x1674eb(0x3,_0x51234e[_0xbc4bab(0x388)])],_0x309383[_0xbc4bab(0x3bb)]);var _0x4fd73c=Object[_0xbc4bab(0x218)],_0xcf4bd5=(_0xc1f51a,_0x23d1f0,_0x1134e4,_0x2e1853)=>{const _0x311d6c=_0xbc4bab;for(var _0x22132a=_0x2e1853>0x1?void 0x0:_0x2e1853?_0x4fd73c(_0x23d1f0,_0x1134e4):_0x23d1f0,_0x4a42a6=_0xc1f51a[_0x311d6c(0x277)]-0x1,_0x38b0d3;_0x4a42a6>=0x0;_0x4a42a6--)(_0x38b0d3=_0xc1f51a[_0x4a42a6])&&(_0x22132a=_0x38b0d3(_0x22132a)||_0x22132a);return _0x22132a;},_0x4f0922=(_0x19689e,_0x17b53b)=>(_0x539f1e,_0x2ae070)=>_0x17b53b(_0x539f1e,_0x2ae070,_0x19689e);_0x309383[_0xbc4bab(0x3c7)]=class extends _0x45d92a[_0xbc4bab(0x18b)]{constructor(_0x10dd97,_0x1e59f8,_0x3da4ca,_0x5ae85d,_0x1a1601){super(_0x10dd97,_0x1e59f8,_0x3da4ca,_0x5ae85d,_0x1a1601);}async[_0xbc4bab(0x1ec)](_0x5999bb){const _0x4864c6=_0xbc4bab,_0x218ae4=await this[_0x4864c6(0x37a)](),_0xcc23ec=this[_0x4864c6(0x1ac)](_0x5999bb,_0x218ae4);return this[_0x4864c6(0x2f1)](_0xcc23ec);}[_0xbc4bab(0x1ac)](_0x4804a7,_0x2069fd){const _0x56442f=_0xbc4bab,_0xd33b30=typeof window>'u'?new URL(_0x4804a7):new URL(_0x4804a7,window[_0x56442f(0x38a)][_0x56442f(0x250)]);_0xd33b30[_0x56442f(0x31d)][_0x56442f(0x36c)]('sessionTicket',_0x2069fd);const _0x58bcbe=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x58bcbe['get'](_0x56442f(0x3aa))&&_0xd33b30[_0x56442f(0x31d)][_0x56442f(0x36c)](_0x56442f(0x3aa),_0x58bcbe[_0x56442f(0x194)](_0x56442f(0x3aa))),_0xd33b30[_0x56442f(0x193)]();}async['_getSessionTicket'](){const _0x33fb15=_0xbc4bab;var _0x216d70,_0x55efac,_0x2e1564;const _0x4dc396=this[_0x33fb15(0x163)][_0x33fb15(0x175)](_0x45d92a[_0x33fb15(0x180)]),_0x2f1188=(_0x216d70=_0x4dc396==null?void 0x0:_0x4dc396[_0x33fb15(0x316)])!=null?_0x216d70:_0x45d92a[_0x33fb15(0x270)];return(_0x2e1564=(_0x55efac=(await this[_0x33fb15(0x25d)][_0x33fb15(0x194)](_0x2f1188,{'headers':{'Content-Type':_0x33fb15(0x300)}}))[_0x33fb15(0x203)])==null?void 0x0:_0x55efac[_0x33fb15(0x169)])!=null?_0x2e1564:'';}},_0x309383[_0xbc4bab(0x3c7)]=_0xcf4bd5([_0x4f0922(0x0,_0x51234e[_0xbc4bab(0x1e7)](_0x51234e[_0xbc4bab(0x345)])),_0x4f0922(0x1,_0x51234e[_0xbc4bab(0x1e7)](_0x34b1e7[_0xbc4bab(0x263)])),_0x4f0922(0x2,_0x51234e['IConfigService']),_0x4f0922(0x3,_0x51234e['ILogService']),_0x4f0922(0x4,_0x2bb387[_0xbc4bab(0x227)])],_0x309383[_0xbc4bab(0x3c7)]);var _0x55b5e5=(_0x51659c=>(_0x51659c[_0x51659c[_0xbc4bab(0x22f)]=0x0]=_0xbc4bab(0x22f),_0x51659c[_0x51659c['OK']=0x1]='OK',_0x51659c[_0x51659c[_0xbc4bab(0x2ce)]=0x2]='INTERNAL_ERROR',_0x51659c[_0x51659c[_0xbc4bab(0x1f0)]=0x3]=_0xbc4bab(0x1f0),_0x51659c[_0x51659c[_0xbc4bab(0x2f4)]=0x4]=_0xbc4bab(0x2f4),_0x51659c[_0x51659c[_0xbc4bab(0x231)]=0x5]='UNAUTHENTICATED',_0x51659c[_0x51659c[_0xbc4bab(0x257)]=0x6]=_0xbc4bab(0x257),_0x51659c[_0x51659c['INVALID_ARGUMENT']=0x7]=_0xbc4bab(0x1cd),_0x51659c[_0x51659c[_0xbc4bab(0x2bb)]=0x8]=_0xbc4bab(0x2bb),_0x51659c[_0x51659c['COMPLETION_FINISHED']=0x9]=_0xbc4bab(0x26d),_0x51659c[_0x51659c[_0xbc4bab(0x21e)]=0xa]='LOGIN_FAILED',_0x51659c[_0x51659c[_0xbc4bab(0x14b)]=0xb]=_0xbc4bab(0x14b),_0x51659c[_0x51659c[_0xbc4bab(0x22b)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x51659c[_0x51659c[_0xbc4bab(0x1c3)]=0xd]=_0xbc4bab(0x1c3),_0x51659c[_0x51659c[_0xbc4bab(0x2a1)]=0xe]=_0xbc4bab(0x2a1),_0x51659c[_0x51659c['CHANGESET_REVISION_CONFILICT']=0x1389]=_0xbc4bab(0x236),_0x51659c[_0x51659c['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x51659c[_0x51659c['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x51659c[_0x51659c['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0xbc4bab(0x3c5),_0x51659c[_0x51659c[_0xbc4bab(0x3ac)]=0x1b59]=_0xbc4bab(0x3ac),_0x51659c[_0x51659c[_0xbc4bab(0x184)]=0x1b5a]=_0xbc4bab(0x184),_0x51659c[_0x51659c[_0xbc4bab(0x322)]=0x1b5b]=_0xbc4bab(0x322),_0x51659c[_0x51659c['APPLY_PERMISSION_DENIED']=0x1b5c]=_0xbc4bab(0x360),_0x51659c[_0x51659c['APPLY_DUPLICATED']=0x1b5d]=_0xbc4bab(0x1ff),_0x51659c[_0x51659c[_0xbc4bab(0x253)]=0x1f41]=_0xbc4bab(0x253),_0x51659c[_0x51659c[_0xbc4bab(0x2c6)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x51659c[_0x51659c['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0xbc4bab(0x29e),_0x51659c[_0x51659c[_0xbc4bab(0x3ca)]=0x232b]=_0xbc4bab(0x3ca),_0x51659c[_0x51659c['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0xbc4bab(0x173),_0x51659c[_0x51659c['LICENSE_DISTRO_REJECTED']=0x232d]=_0xbc4bab(0x279),_0x51659c[_0x51659c['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0xbc4bab(0x208),_0x51659c[_0x51659c[_0xbc4bab(0x15d)]=0x2712]=_0xbc4bab(0x15d),_0x51659c[_0x51659c[_0xbc4bab(0x15b)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x51659c[_0x51659c['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x51659c[_0x51659c[_0xbc4bab(0x2ad)]=0x271a]=_0xbc4bab(0x2ad),_0x51659c[_0x51659c[_0xbc4bab(0x330)]=0x271b]=_0xbc4bab(0x330),_0x51659c[_0x51659c['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x51659c[_0x51659c[_0xbc4bab(0x261)]=0x271d]=_0xbc4bab(0x261),_0x51659c[_0x51659c[_0xbc4bab(0x235)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x51659c[_0x51659c['YUUMI_AI_RUN_FAILED']=0x271f]=_0xbc4bab(0x271),_0x51659c[_0x51659c['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x51659c[_0x51659c[_0xbc4bab(0x233)]=0x2af9]=_0xbc4bab(0x233),_0x51659c[_0x51659c['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x51659c[_0x51659c['INVALID_INVITE_CODE']=0x2ee2]=_0xbc4bab(0x2c4),_0x51659c[_0x51659c[_0xbc4bab(0x164)]=0x2ee3]=_0xbc4bab(0x164),_0x51659c[_0x51659c[_0xbc4bab(0x365)]=0x2ee4]=_0xbc4bab(0x365),_0x51659c[_0x51659c['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0xbc4bab(0x389),_0x51659c[_0x51659c[_0xbc4bab(0x146)]=0x32c9]=_0xbc4bab(0x146),_0x51659c[_0x51659c['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0xbc4bab(0x1c1),_0x51659c[_0x51659c['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0xbc4bab(0x1e3),_0x51659c[_0x51659c['UNRECOGNIZED']=-0x1]=_0xbc4bab(0x265),_0x51659c))(_0x55b5e5||{}),_0x3c4a51=Object[_0xbc4bab(0x218)],_0x4734ba=(_0x102cdc,_0x14dc55,_0x1dd656,_0x81b107)=>{const _0x10442e=_0xbc4bab;for(var _0x55dc2f=_0x81b107>0x1?void 0x0:_0x81b107?_0x3c4a51(_0x14dc55,_0x1dd656):_0x14dc55,_0x249e69=_0x102cdc[_0x10442e(0x277)]-0x1,_0x1b3693;_0x249e69>=0x0;_0x249e69--)(_0x1b3693=_0x102cdc[_0x249e69])&&(_0x55dc2f=_0x1b3693(_0x55dc2f)||_0x55dc2f);return _0x55dc2f;},_0x494e48=(_0x2e701f,_0x3472f5)=>(_0x130f34,_0x5165ec)=>_0x3472f5(_0x130f34,_0x5165ec,_0x2e701f);_0x309383[_0xbc4bab(0x331)]=class extends _0x51234e[_0xbc4bab(0x292)]{constructor(_0x42778f,_0x2a9552,_0x38bedc){const _0xcb7e63=_0xbc4bab;super(),this[_0xcb7e63(0x35a)]=_0x42778f,this[_0xcb7e63(0x25d)]=_0x2a9552,this['_configService']=_0x38bedc;}async['runOnServer'](_0x323d0f,_0x5d73d7,_0xe5b761,..._0xcbc21f){const _0xd6f326=_0xbc4bab;var _0x212872,_0x4ac424,_0x27a0e9,_0xa558f0;const _0x39a6cc=this['_instanceService'][_0xd6f326(0x3d9)]();if(!_0x39a6cc)throw new Error(_0xd6f326(0x27c));const _0x51fb99=((_0x212872=this[_0xd6f326(0x163)][_0xd6f326(0x175)](_0x45d92a[_0xd6f326(0x1ee)]))!=null?_0x212872:_0x45d92a['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x323d0f+_0xd6f326(0x14e)+_0x5d73d7,_0x4c3bcb=new URL(window[_0xd6f326(0x38a)][_0xd6f326(0x23f)]),_0x3a4af9={'scriptId':_0x323d0f,'runId':(_0x4ac424=_0x4c3bcb[_0xd6f326(0x31d)][_0xd6f326(0x194)](_0xd6f326(0x3aa)))!=null?_0x4ac424:'','function':_0x5d73d7,'unitId':_0x39a6cc[_0xd6f326(0x27a)](),'argsOfFunction':JSON['stringify'](_0xcbc21f),'invokeId':(_0x27a0e9=_0xe5b761[_0xd6f326(0x19a)])!=null?_0x27a0e9:'','executionId':(_0xa558f0=_0xe5b761[_0xd6f326(0x19f)])!=null?_0xa558f0:''};try{const _0x323f74=await this[_0xd6f326(0x25d)][_0xd6f326(0x2f7)](_0x51fb99,{'body':_0x3a4af9});return _0x323f74['body'][_0xd6f326(0x25a)]&&_0x323f74[_0xd6f326(0x203)]['error'][_0xd6f326(0x34f)]!==_0x55b5e5['OK']?_0xd6f326(0x3b3):_0x323f74[_0xd6f326(0x203)][_0xd6f326(0x2f3)];}catch{return _0xd6f326(0x3b3);}}},_0x309383['RemoteUniscriptService']=_0x4734ba([_0x494e48(0x0,_0x51234e[_0xbc4bab(0x2a4)]),_0x494e48(0x1,_0x51234e[_0xbc4bab(0x1e7)](_0x34b1e7[_0xbc4bab(0x263)])),_0x494e48(0x2,_0x51234e[_0xbc4bab(0x388)])],_0x309383['RemoteUniscriptService']);const _0x95d128=0x7530,_0x1669bd=_0xbc4bab(0x2c3);class _0x164101 extends _0x51234e[_0xbc4bab(0x292)]{constructor(){const _0x4adf21=_0xbc4bab;super(),_0x1e1d43(this,_0x4adf21(0x1a9),_0x51234e[_0x4adf21(0x1a2)]()),_0x1e1d43(this,_0x4adf21(0x232),new Set()),_0x1e1d43(this,_0x4adf21(0x177),new Map()),_0x1e1d43(this,_0x4adf21(0x347),null),_0x1e1d43(this,_0x4adf21(0x15c),new Map()),_0x1e1d43(this,'_unitStatus',new Map()),this[_0x4adf21(0x1d6)]();}[_0xbc4bab(0x310)](){const _0x3ad269=_0xbc4bab;super[_0x3ad269(0x310)](),this['_clearOtherTimers'][_0x3ad269(0x35f)]((_0x33083a,_0x44e2e7)=>this[_0x3ad269(0x29f)](_0x44e2e7)),this[_0x3ad269(0x347)]&&window[_0x3ad269(0x2aa)](this['_heartbeatTimer']);}[_0xbc4bab(0x21f)](_0x19d19e){const _0x54e7a7=_0xbc4bab;return this[_0x54e7a7(0x1c8)](_0x19d19e)[_0x54e7a7(0x3bd)](_0x5bbaf2[_0x54e7a7(0x14c)]());}[_0xbc4bab(0x24a)](_0x5f0f4b){const _0x4e065c=_0xbc4bab;this[_0x4e065c(0x232)][_0x4e065c(0x293)]===0x0&&this[_0x4e065c(0x3ab)](),this[_0x4e065c(0x232)][_0x4e065c(0x2fb)](_0x5f0f4b),this[_0x4e065c(0x166)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x5f0f4b],'isForwarded':!0x1});}[_0xbc4bab(0x1e8)](_0x410ce9){const _0x2a6494=_0xbc4bab;this[_0x2a6494(0x232)][_0x2a6494(0x339)](_0x410ce9),this['_selfUnitIDs']['size']===0x0&&this[_0x2a6494(0x347)]&&window[_0x2a6494(0x2aa)](this[_0x2a6494(0x347)]);}[_0xbc4bab(0x1d6)](){const _0x52b0ec=_0xbc4bab;this[_0x52b0ec(0x2de)](_0x51234e[_0x52b0ec(0x33a)](_0x5bbaf2[_0x52b0ec(0x189)](window,_0x52b0ec(0x2ab))[_0x52b0ec(0x2ae)](_0x48a0c6=>{const _0x2581c1=_0x52b0ec;if(_0x48a0c6[_0x2581c1(0x21d)]!==_0x1669bd||!_0x48a0c6[_0x2581c1(0x1b6)])return;const _0xc49fe2=JSON['parse'](_0x48a0c6['newValue']);this['_handleEvent'](_0xc49fe2);}))),window[_0x52b0ec(0x391)](_0x52b0ec(0x3d6),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x52b0ec(0x1ea)](this[_0x52b0ec(0x232)])}));}[_0xbc4bab(0x216)](_0x15445c){const _0x1d8a1a=_0xbc4bab;switch(_0x15445c[_0x1d8a1a(0x3c2)]){case 0x0:this[_0x1d8a1a(0x364)](_0x15445c);break;case 0x1:this[_0x1d8a1a(0x1fd)](_0x15445c);break;case 0x2:this[_0x1d8a1a(0x18e)](_0x15445c);break;}}[_0xbc4bab(0x364)](_0x7d3614){const _0x2e64bb=_0xbc4bab,{unitIDs:_0xd8c7f9,memberID:_0x447bcb,isForwarded:_0x273034}=_0x7d3614;_0xd8c7f9[_0x2e64bb(0x35f)](_0x3898ec=>{const _0x23daea=_0x2e64bb;if(!_0x273034&&this[_0x23daea(0x177)][_0x23daea(0x172)](_0x3898ec)&&this[_0x23daea(0x1c8)](_0x3898ec)[_0x23daea(0x1ab)](_0x45d92a[_0x23daea(0x27b)]['OTHER_CLIENTS_EDITING']),!this[_0x23daea(0x177)][_0x23daea(0x172)](_0x3898ec)||!this[_0x23daea(0x177)]['get'](_0x3898ec)[_0x23daea(0x172)](_0x447bcb)){const _0x42bfa7=this[_0x23daea(0x177)][_0x23daea(0x194)](_0x3898ec)||new Set();_0x42bfa7[_0x23daea(0x2fb)](_0x447bcb),this[_0x23daea(0x177)][_0x23daea(0x36c)](_0x3898ec,_0x42bfa7),this[_0x23daea(0x289)](_0x447bcb);}}),_0x273034||this[_0x2e64bb(0x166)]({'type':0x0,'memberID':this[_0x2e64bb(0x1a9)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0xbc4bab(0x289)](_0x27111e){const _0x438109=_0xbc4bab;this[_0x438109(0x29f)](_0x27111e);const _0x59d149=window[_0x438109(0x2df)](()=>{const _0xaec0e2=_0x438109;this[_0xaec0e2(0x177)]['forEach'](_0x3f98c6=>{const _0x29d79e=_0xaec0e2;_0x3f98c6[_0x29d79e(0x339)](_0x27111e);});},_0x95d128*0x2);this['_clearOtherTimers']['set'](_0x27111e,_0x59d149);}['_removeClearOtherTimer'](_0xff8389){const _0x3c1828=_0xbc4bab;if(this[_0x3c1828(0x15c)][_0x3c1828(0x172)](_0xff8389)){const _0x2ac0d7=this['_clearOtherTimers'][_0x3c1828(0x194)](_0xff8389);_0x2ac0d7&&window[_0x3c1828(0x171)](_0x2ac0d7),this['_clearOtherTimers'][_0x3c1828(0x36c)](_0xff8389,null);}}['_handleLeaveEvent'](_0x18059e){const _0x19ea34=_0xbc4bab,{memberID:_0x2e4def,unitIDs:_0x4e19f9}=_0x18059e;_0x4e19f9[_0x19ea34(0x35f)](_0x1a5ba5=>{const _0x55b234=_0x19ea34;var _0x28bd0e;const _0x8b98b7=this[_0x55b234(0x177)][_0x55b234(0x194)](_0x1a5ba5);_0x8b98b7&&(_0x8b98b7[_0x55b234(0x339)](_0x2e4def),(_0x28bd0e=this[_0x55b234(0x1c8)](_0x1a5ba5))==null||_0x28bd0e[_0x55b234(0x1ab)](_0x8b98b7[_0x55b234(0x293)]===0x0?_0x45d92a['UnitStatus']['NO_OTHER_CLIENTS_EDITING']:_0x45d92a[_0x55b234(0x27b)][_0x55b234(0x30b)]));}),this[_0x19ea34(0x29f)](_0x2e4def);}[_0xbc4bab(0x18e)](_0x53b142){const _0x27c58f=_0xbc4bab;this[_0x27c58f(0x289)](_0x53b142['memberID']);}[_0xbc4bab(0x166)](_0x52e9b0){const _0x5582c1=_0xbc4bab;localStorage['setItem'](_0x1669bd,JSON[_0x5582c1(0x19c)](_0x52e9b0));}[_0xbc4bab(0x3ab)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x131f0a=_0x3b2a;this[_0x131f0a(0x166)]({'type':0x2,'memberID':this[_0x131f0a(0x1a9)]});},_0x95d128);}['_ensureSubject'](_0xb7f8f7){const _0x4a340f=_0xbc4bab;return this[_0x4a340f(0x313)]['has'](_0xb7f8f7)||this[_0x4a340f(0x313)][_0x4a340f(0x36c)](_0xb7f8f7,new _0x5bbaf2[(_0x4a340f(0x20d))](_0x45d92a[_0x4a340f(0x27b)][_0x4a340f(0x249)])),this[_0x4a340f(0x313)][_0x4a340f(0x194)](_0xb7f8f7);}}_0x309383[_0xbc4bab(0x1dd)]=_0x15568a,_0x309383[_0xbc4bab(0x176)]=_0xd3b6c4,_0x309383[_0xbc4bab(0x297)]=_0x164101,_0x309383['WebURLService']=_0x196ee5,Object['defineProperty'](_0x309383,Symbol['toStringTag'],{'value':_0xbc4bab(0x1eb)});}));
1
+ function _0x1288(_0x13a4d0,_0x4ab7a1){const _0x782057=_0x7820();return _0x1288=function(_0x128846,_0x33a3a6){_0x128846=_0x128846-0x1a7;let _0x151db0=_0x782057[_0x128846];return _0x151db0;},_0x1288(_0x13a4d0,_0x4ab7a1);}(function(_0x1382e4,_0x8a40d4){const _0xc95b48=_0x1288,_0x5c6b29=_0x1382e4();while(!![]){try{const _0x31aa8f=-parseInt(_0xc95b48(0x380))/0x1+parseInt(_0xc95b48(0x3c2))/0x2+-parseInt(_0xc95b48(0x3ac))/0x3*(-parseInt(_0xc95b48(0x334))/0x4)+-parseInt(_0xc95b48(0x28d))/0x5+-parseInt(_0xc95b48(0x3f5))/0x6*(-parseInt(_0xc95b48(0x238))/0x7)+-parseInt(_0xc95b48(0x38d))/0x8*(-parseInt(_0xc95b48(0x3be))/0x9)+-parseInt(_0xc95b48(0x2f3))/0xa;if(_0x31aa8f===_0x8a40d4)break;else _0x5c6b29['push'](_0x5c6b29['shift']());}catch(_0x1efaaa){_0x5c6b29['push'](_0x5c6b29['shift']());}}}(_0x7820,0xaad5b),function(_0x3b49df,_0x420b71){const _0x59abca=_0x1288;typeof exports=='object'&&typeof module<'u'?_0x420b71(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==_0x59abca(0x41a)&&define[_0x59abca(0x3bf)]?define([_0x59abca(0x409),_0x59abca(0x220),_0x59abca(0x417),_0x59abca(0x22f),'@univerjs/ui',_0x59abca(0x349),_0x59abca(0x3ab),_0x59abca(0x350),_0x59abca(0x31d),_0x59abca(0x1a9),_0x59abca(0x221),_0x59abca(0x222),_0x59abca(0x21f),_0x59abca(0x2dc),_0x59abca(0x39e),_0x59abca(0x3d9),_0x59abca(0x424),'rxjs/operators',_0x59abca(0x2c8)],_0x420b71):(_0x3b49df=typeof globalThis<'u'?globalThis:_0x3b49df||self,_0x420b71(_0x3b49df['UniverProCollaborationClientUi']={},_0x3b49df[_0x59abca(0x343)],_0x3b49df[_0x59abca(0x42e)],_0x3b49df['UniverCore'],_0x3b49df['UniverUi'],_0x3b49df['rxjs'],_0x3b49df[_0x59abca(0x28c)],_0x3b49df[_0x59abca(0x343)],_0x3b49df['UniverRpc'],_0x3b49df[_0x59abca(0x244)],_0x3b49df[_0x59abca(0x321)],_0x3b49df[_0x59abca(0x414)],_0x3b49df['UniverDocsUi'],_0x3b49df[_0x59abca(0x429)],_0x3b49df[_0x59abca(0x368)],_0x3b49df[_0x59abca(0x2a5)],_0x3b49df['UniverEngineFormula'],_0x3b49df[_0x59abca(0x349)][_0x59abca(0x3a2)],_0x3b49df['UniverSheetsUi']));}(this,function(_0x53f44c,_0x1889d3,_0x1efc97,_0x165790,_0x46a2f6,_0x278be1,_0x3cf048,_0xb812c9,_0x29fc21,_0x63078f,_0x1e15c8,_0x3f48c5,_0x20f7f1,_0x5c4bf6,_0x2b1f6e,_0x20f8e5,_0x437b2a,_0x228a58,_0x476ef1){'use strict';const _0x529647=_0x1288;var _0x32bf36=Object[_0x529647(0x22a)],_0xd475a2=(_0x284b81,_0x492249,_0x3dde71)=>_0x492249 in _0x284b81?_0x32bf36(_0x284b81,_0x492249,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3dde71}):_0x284b81[_0x492249]=_0x3dde71,_0x1bb758=(_0x498672,_0x5da9c0,_0xb153d6)=>_0xd475a2(_0x498672,typeof _0x5da9c0!=_0x529647(0x33b)?_0x5da9c0+'':_0x5da9c0,_0xb153d6),_0x1aa7f8=function(){const _0x23a69b=_0x529647;return _0x1aa7f8=Object[_0x23a69b(0x438)]||function(_0x5580a2){const _0x11c1a7=_0x23a69b;for(var _0x569701,_0x26da96=0x1,_0x22973a=arguments[_0x11c1a7(0x3c3)];_0x26da96<_0x22973a;_0x26da96++){_0x569701=arguments[_0x26da96];for(var _0xf29ece in _0x569701)Object[_0x11c1a7(0x3d3)]['hasOwnProperty'][_0x11c1a7(0x219)](_0x569701,_0xf29ece)&&(_0x5580a2[_0xf29ece]=_0x569701[_0xf29ece]);}return _0x5580a2;},_0x1aa7f8[_0x23a69b(0x353)](this,arguments);},_0x194738=function(_0x61bed0,_0x3e8505){const _0x314f7f=_0x529647;var _0x2170bf={};for(var _0x50a41c in _0x61bed0)Object['prototype']['hasOwnProperty'][_0x314f7f(0x219)](_0x61bed0,_0x50a41c)&&_0x3e8505['indexOf'](_0x50a41c)<0x0&&(_0x2170bf[_0x50a41c]=_0x61bed0[_0x50a41c]);if(_0x61bed0!=null&&typeof Object[_0x314f7f(0x1ab)]=='function'){for(var _0x4cd8d6=0x0,_0x50a41c=Object['getOwnPropertySymbols'](_0x61bed0);_0x4cd8d6<_0x50a41c[_0x314f7f(0x3c3)];_0x4cd8d6++)_0x3e8505[_0x314f7f(0x332)](_0x50a41c[_0x4cd8d6])<0x0&&Object['prototype'][_0x314f7f(0x2b9)][_0x314f7f(0x219)](_0x61bed0,_0x50a41c[_0x4cd8d6])&&(_0x2170bf[_0x50a41c[_0x4cd8d6]]=_0x61bed0[_0x50a41c[_0x4cd8d6]]);}return _0x2170bf;},_0x1668a3=_0xb812c9[_0x529647(0x38a)](function(_0x4afd63,_0x2d63ba){const _0x52e45c=_0x529647;var _0x91c12e=_0x4afd63[_0x52e45c(0x23b)],_0x1c021f=_0x4afd63['id'],_0x3ae765=_0x4afd63[_0x52e45c(0x277)],_0x54ecd6=_0x4afd63[_0x52e45c(0x3f7)],_0xea494f=_0x194738(_0x4afd63,[_0x52e45c(0x23b),'id',_0x52e45c(0x277),_0x52e45c(0x3f7)]),_0x2d137f=_0x52e45c(0x439)[_0x52e45c(0x2ef)](_0x1c021f,'\x20')[_0x52e45c(0x2ef)](_0x3ae765||'')[_0x52e45c(0x2fa)](),_0x2e71f2=_0xb812c9[_0x52e45c(0x3a3)]('_'[_0x52e45c(0x2ef)](_0x3122a0()));return _0x40caf8(_0x91c12e,''['concat'](_0x1c021f),{'defIds':_0x91c12e[_0x52e45c(0x3f6)],'idSuffix':_0x2e71f2[_0x52e45c(0x2c4)]},_0x1aa7f8({'ref':_0x2d63ba,'className':_0x2d137f},_0xea494f),_0x54ecd6);});function _0x40caf8(_0x4ef484,_0x5b7f4f,_0x3a1114,_0x226624,_0x56eeb9){const _0x5c5418=_0x529647;return _0xb812c9[_0x5c5418(0x30d)](_0x4ef484[_0x5c5418(0x3fe)],_0x1aa7f8(_0x1aa7f8({'key':_0x5b7f4f},_0x228dc1(_0x4ef484,_0x3a1114,_0x56eeb9)),_0x226624),(_0x1f0beb(_0x4ef484,_0x3a1114)[_0x5c5418(0x1e5)]||[])[_0x5c5418(0x2e3)](function(_0x315229,_0x240c1a){const _0x3287b1=_0x5c5418;return _0x40caf8(_0x315229,''[_0x3287b1(0x2ef)](_0x5b7f4f,'-')['concat'](_0x4ef484[_0x3287b1(0x3fe)],'-')[_0x3287b1(0x2ef)](_0x240c1a),_0x3a1114,void 0x0,_0x56eeb9);}));}function _0x228dc1(_0xd871a2,_0xf58536,_0x52d5aa){const _0x215e4c=_0x529647;var _0xc72c9b=_0x1aa7f8({},_0xd871a2['attrs']);_0x52d5aa!=null&&_0x52d5aa[_0x215e4c(0x3a7)]&&_0xc72c9b['fill']===_0x215e4c(0x3a7)&&(_0xc72c9b['fill']=_0x52d5aa['colorChannel1']),_0xd871a2[_0x215e4c(0x3fe)]===_0x215e4c(0x338)&&_0xc72c9b['id']&&(_0xc72c9b['id']=_0xc72c9b['id']+_0xf58536[_0x215e4c(0x3c8)]),Object[_0x215e4c(0x3bd)](_0xc72c9b)['forEach'](function(_0x47d76e){const _0x5b3adb=_0x215e4c;var _0x565048=_0x47d76e[0x0],_0x2ec3a5=_0x47d76e[0x1];_0x565048===_0x5b3adb(0x338)&&typeof _0x2ec3a5==_0x5b3adb(0x3e4)&&(_0xc72c9b[_0x565048]=_0x2ec3a5[_0x5b3adb(0x206)](/url\(#(.*)\)/,_0x5b3adb(0x272)[_0x5b3adb(0x2ef)](_0xf58536[_0x5b3adb(0x3c8)],')')));});var _0x242b6d=_0xf58536[_0x215e4c(0x3f6)];return!_0x242b6d||_0x242b6d['length']===0x0||(_0xd871a2[_0x215e4c(0x3fe)]==='use'&&_0xc72c9b[_0x215e4c(0x2d0)]&&(_0xc72c9b[_0x215e4c(0x2d0)]=_0xc72c9b[_0x215e4c(0x2d0)]+_0xf58536[_0x215e4c(0x3c8)]),Object['entries'](_0xc72c9b)[_0x215e4c(0x311)](function(_0x11d4b2){const _0x4f72a1=_0x215e4c;var _0x28768e=_0x11d4b2[0x0],_0x22fed7=_0x11d4b2[0x1];typeof _0x22fed7==_0x4f72a1(0x3e4)&&(_0xc72c9b[_0x28768e]=_0x22fed7[_0x4f72a1(0x206)](/url\(#(.*)\)/,_0x4f72a1(0x272)['concat'](_0xf58536[_0x4f72a1(0x3c8)],')')));})),_0xc72c9b;}function _0x1f0beb(_0x17c010,_0xaeacf5){const _0x32e42b=_0x529647;var _0x5727f0,_0x3a7f33=_0xaeacf5[_0x32e42b(0x3f6)];return!_0x3a7f33||_0x3a7f33[_0x32e42b(0x3c3)]===0x0?_0x17c010:_0x17c010[_0x32e42b(0x3fe)]==='defs'&&(!((_0x5727f0=_0x17c010['children'])===null||_0x5727f0===void 0x0)&&_0x5727f0[_0x32e42b(0x3c3)])?_0x1aa7f8(_0x1aa7f8({},_0x17c010),{'children':_0x17c010[_0x32e42b(0x1e5)][_0x32e42b(0x2e3)](function(_0x1278ae){const _0x5d4886=_0x32e42b;return typeof _0x1278ae[_0x5d4886(0x426)]['id']==_0x5d4886(0x3e4)&&_0x3a7f33&&_0x3a7f33[_0x5d4886(0x33f)](_0x1278ae[_0x5d4886(0x426)]['id'])?_0x1aa7f8(_0x1aa7f8({},_0x1278ae),{'attrs':_0x1aa7f8(_0x1aa7f8({},_0x1278ae['attrs']),{'id':_0x1278ae[_0x5d4886(0x426)]['id']+_0xaeacf5[_0x5d4886(0x3c8)]})}):_0x1278ae;})}):_0x17c010;}function _0x3122a0(){const _0x48e1ce=_0x529647;return Math[_0x48e1ce(0x234)]()[_0x48e1ce(0x1db)](0x24)[_0x48e1ce(0x1b8)](0x2,0x8);}_0x1668a3[_0x529647(0x3c5)]='UniverIcon';var _0x176a38={'tag':'svg','attrs':{'xmlns':_0x529647(0x352),'fill':'none','viewBox':_0x529647(0x36d),'width':_0x529647(0x411),'height':_0x529647(0x411)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x529647(0x1ae),'attrs':{'stroke':_0x529647(0x36a),'d':_0x529647(0x43b),'strokeLinecap':_0x529647(0x2ab),'strokeLinejoin':_0x529647(0x2ab),'strokeWidth':1.2}}]},{'tag':_0x529647(0x233),'attrs':{},'children':[{'tag':_0x529647(0x20a),'attrs':{'id':_0x529647(0x216)},'children':[{'tag':'path','attrs':{'fill':_0x529647(0x1bf),'d':_0x529647(0x1f1)}}]}]}],'defIds':[_0x529647(0x216)]},_0x42f822=_0xb812c9['forwardRef'](function(_0x5eedb7,_0x2a37e9){const _0x52a3b5=_0x529647;return _0xb812c9[_0x52a3b5(0x30d)](_0x1668a3,Object[_0x52a3b5(0x438)]({},_0x5eedb7,{'id':_0x52a3b5(0x26c),'ref':_0x2a37e9,'icon':_0x176a38}));});_0x42f822[_0x529647(0x3c5)]=_0x529647(0x37e);var _0x3981c4={'tag':_0x529647(0x1f2),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x529647(0x37d),'viewBox':_0x529647(0x2e0),'width':'1em','height':_0x529647(0x411)},'children':[{'tag':'g','attrs':{'clipPath':_0x529647(0x1a7)},'children':[{'tag':_0x529647(0x1ae),'attrs':{'stroke':_0x529647(0x36a),'d':_0x529647(0x39b),'strokeLinecap':'round','strokeLinejoin':_0x529647(0x2ab),'strokeWidth':1.2}}]},{'tag':_0x529647(0x233),'attrs':{},'children':[{'tag':_0x529647(0x20a),'attrs':{'id':_0x529647(0x25e)},'children':[{'tag':_0x529647(0x1ae),'attrs':{'fill':_0x529647(0x1bf),'d':_0x529647(0x1f1),'transform':_0x529647(0x3bb)}}]}]}],'defIds':[_0x529647(0x25e)]},_0x39f041=_0xb812c9[_0x529647(0x38a)](function(_0xd8a1df,_0xaace01){const _0x5782e0=_0x529647;return _0xb812c9['createElement'](_0x1668a3,Object[_0x5782e0(0x438)]({},_0xd8a1df,{'id':'on-line-icon','ref':_0xaace01,'icon':_0x3981c4}));});_0x39f041[_0x529647(0x3c5)]=_0x529647(0x288);function _0x2d330d(_0x5e15b0){const _0x281dcb=_0x529647;switch(_0x5e15b0){case _0x1efc97[_0x281dcb(0x3e8)][_0x281dcb(0x27d)]:return _0x281dcb(0x298);case _0x1efc97[_0x281dcb(0x3e8)][_0x281dcb(0x3fc)]:return'collabStatus.conflict';case _0x1efc97[_0x281dcb(0x3e8)][_0x281dcb(0x35f)]:return'collabStatus.fetchMiss';case _0x1efc97[_0x281dcb(0x3e8)][_0x281dcb(0x255)]:return _0x281dcb(0x22c);case _0x1efc97[_0x281dcb(0x3e8)][_0x281dcb(0x1ea)]:case _0x1efc97['CollaborationStatus'][_0x281dcb(0x402)]:return _0x281dcb(0x430);case _0x1efc97[_0x281dcb(0x3e8)][_0x281dcb(0x36e)]:case _0x1efc97[_0x281dcb(0x3e8)]['PENDING']:return _0x281dcb(0x26e);}}function _0x1f2209(_0x19fee8){const _0x513443=_0x529647,{status$:_0x5615b4}=_0x19fee8,_0x59ddf2=_0x46a2f6[_0x513443(0x1d5)](_0x5615b4,_0x1efc97['CollaborationStatus'][_0x513443(0x255)]),_0x1a34db=_0x46a2f6[_0x513443(0x406)](_0x165790[_0x513443(0x1a8)]),_0x5469d8=_0x46a2f6['useDependency'](_0x1efc97[_0x513443(0x329)]),_0x89fcfd=_0x59ddf2!==_0x1efc97[_0x513443(0x3e8)][_0x513443(0x27d)],_0x3e052e=_0x1a34db['t'](_0x2d330d(_0x59ddf2)),_0x2b1de0=_0x89fcfd?_0x1889d3[_0x513443(0x2be)](_0x39f041,{}):_0x1889d3[_0x513443(0x2be)](_0x42f822,{}),_0x1bf07d=_0xb812c9[_0x513443(0x201)](()=>{_0x89fcfd||_0x5469d8['reconnect']();},[_0x89fcfd,_0x5469d8]);function _0x228a96(){const _0x87b921=_0x513443;return _0x1889d3[_0x87b921(0x40c)](_0x87b921(0x3c4),{'className':_0x87b921(0x34c),'onClick':_0x1bf07d,'children':[_0x1889d3[_0x87b921(0x2be)](_0x87b921(0x3c4),{'className':_0x3cf048['clsx']('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x89fcfd,'univer-text-red-500':!_0x89fcfd}),'children':_0x2b1de0}),_0x1889d3[_0x87b921(0x2be)](_0x87b921(0x3c4),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x3e052e})]});}return _0x89fcfd?_0x228a96():_0x1889d3[_0x513443(0x2be)](_0x3cf048[_0x513443(0x3f4)],{'title':_0x1a34db['t']('collab-client.tooltip.reconnect'),'children':_0x228a96()});}var _0x56d9bb=Object['getOwnPropertyDescriptor'],_0x4323aa=(_0x4e6991,_0xdd84a,_0x170d0d,_0x5da013)=>{for(var _0x2b53c2=_0x5da013>0x1?void 0x0:_0x5da013?_0x56d9bb(_0xdd84a,_0x170d0d):_0xdd84a,_0xf73680=_0x4e6991['length']-0x1,_0x2a6e05;_0xf73680>=0x0;_0xf73680--)(_0x2a6e05=_0x4e6991[_0xf73680])&&(_0x2b53c2=_0x2a6e05(_0x2b53c2)||_0x2b53c2);return _0x2b53c2;},_0x1bf362=(_0x345705,_0xb98c6a)=>(_0x3375df,_0x42e50c)=>_0xb98c6a(_0x3375df,_0x42e50c,_0x345705);_0x53f44c[_0x529647(0x3ea)]=class extends _0x165790[_0x529647(0x225)]{constructor(_0xd2c090,_0x144ffb,_0x3307c4,_0xc3ab23){const _0x472bab=_0x529647;super(),_0x1bb758(this,'_status$',new _0x278be1['BehaviorSubject'](_0x1efc97[_0x472bab(0x3e8)][_0x472bab(0x255)])),(this[_0x472bab(0x27f)]=_0xd2c090,this['_injector']=_0x144ffb,this[_0x472bab(0x35a)]=_0x3307c4,this[_0x472bab(0x42f)]=_0xc3ab23,this[_0x472bab(0x3cd)](),this[_0x472bab(0x396)]());}['_initStatusListener'](){const _0xba667c=_0x529647;this['disposeWithMe'](this[_0xba667c(0x27f)][_0xba667c(0x2f7)]['pipe'](_0x278be1[_0xba667c(0x2a3)](()=>{const _0x5825c3=_0xba667c,_0x4d9abb=this[_0x5825c3(0x27f)][_0x5825c3(0x355)]();return _0x4d9abb?this[_0x5825c3(0x35a)][_0x5825c3(0x29c)](_0x4d9abb['getUnitId']()):_0x278be1['of'](null);}),_0x278be1['switchMap'](_0x24b6f0=>_0x24b6f0?_0x24b6f0[_0xba667c(0x1fc)]:_0x278be1['of'](_0x1efc97[_0xba667c(0x3e8)]['NOT_COLLAB'])))['subscribe'](_0x52f806=>{const _0xbb73da=_0xba667c;this[_0xbb73da(0x328)][_0xbb73da(0x1ed)](_0x52f806);}));}[_0x529647(0x3cd)](){const _0x660496=_0x529647;this[_0x660496(0x203)](this[_0x660496(0x42f)][_0x660496(0x23f)](_0x46a2f6[_0x660496(0x3fd)]['HEADER_MENU'],()=>_0x46a2f6[_0x660496(0x41f)](_0xca30b6({'status$':this['_status$'][_0x660496(0x304)]()}),this[_0x660496(0x3c1)])));}},_0x53f44c['DesktopCollaborationStatusDisplayController']=_0x4323aa([_0x1bf362(0x0,_0x165790[_0x529647(0x307)]),_0x1bf362(0x1,_0x165790[_0x529647(0x337)](_0x165790[_0x529647(0x213)])),_0x1bf362(0x2,_0x165790[_0x529647(0x337)](_0x1efc97[_0x529647(0x315)])),_0x1bf362(0x3,_0x46a2f6[_0x529647(0x415)])],_0x53f44c['DesktopCollaborationStatusDisplayController']);function _0xca30b6(_0x57bd12){const {status$:_0x570a1b}=_0x57bd12;return function(){return _0x1889d3['jsx'](_0x1f2209,{'status$':_0x570a1b});};}const _0x3fd2ab=_0x165790[_0x529647(0x344)]('uni.network.url-service');var _0x4d76bb=Object[_0x529647(0x21c)],_0x2d52c5=(_0x5cc700,_0x353471,_0x335b43,_0x26c8be)=>{const _0x4a56a6=_0x529647;for(var _0x47bf30=_0x26c8be>0x1?void 0x0:_0x26c8be?_0x4d76bb(_0x353471,_0x335b43):_0x353471,_0x37bec2=_0x5cc700[_0x4a56a6(0x3c3)]-0x1,_0x38a8e;_0x37bec2>=0x0;_0x37bec2--)(_0x38a8e=_0x5cc700[_0x37bec2])&&(_0x47bf30=_0x38a8e(_0x47bf30)||_0x47bf30);return _0x47bf30;},_0x4cc324=(_0x44dfe2,_0x4ff786)=>(_0xbf2333,_0x5453d3)=>_0x4ff786(_0xbf2333,_0x5453d3,_0x44dfe2);_0x53f44c[_0x529647(0x230)]=class extends _0x165790['RxDisposable']{constructor(_0x4bc174,_0x4ea75a,_0x5f4509,_0x2e6570,_0x455068){const _0x1bc2fb=_0x529647;super(),this[_0x1bc2fb(0x413)]=_0x4bc174,this['_logService']=_0x4ea75a,this[_0x1bc2fb(0x2fc)]=_0x5f4509,this['_dataLoaderService']=_0x2e6570,_0x455068?_0x455068==null||_0x455068[_0x1bc2fb(0x1fa)]()['then'](()=>this['_init']()):(this['_logService'][_0x1bc2fb(0x1eb)](_0x1bc2fb(0x33d),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x1bc2fb(0x2b7)]());}async['_init'](){const _0x13e255=_0x529647,_0x591154=this['_urlService'][_0x13e255(0x26a)](_0x13e255(0x30a)),_0x3a3c5b=this[_0x13e255(0x413)][_0x13e255(0x26a)](_0x13e255(0x1f0)),_0x4b9f88=this[_0x13e255(0x413)]['getParam']('subunit');if(!_0x591154||!_0x3a3c5b){this[_0x13e255(0x210)][_0x13e255(0x1eb)](_0x13e255(0x33d),_0x13e255(0x20c));return;}const _0x30fafa=await this[_0x13e255(0x258)]['loadUnit'](_0x591154,Number(_0x3a3c5b),_0x4b9f88);_0x30fafa&&_0x30fafa instanceof _0x165790[_0x13e255(0x1dd)]&&this[_0x13e255(0x1b9)](_0x30fafa);}async[_0x529647(0x1b9)](_0x5cfd7d){const _0x550d85=_0x529647;await this[_0x550d85(0x393)](_0x5cfd7d),_0x5cfd7d[_0x550d85(0x40e)][_0x550d85(0x1f3)](_0x278be1[_0x550d85(0x202)](this[_0x550d85(0x2d3)]))[_0x550d85(0x35c)](_0x56b63f=>{const _0x1df8d1=_0x550d85;_0x56b63f&&this[_0x1df8d1(0x226)](_0x56b63f);}),this['_urlService'][_0x550d85(0x3e3)][_0x550d85(0x1f3)](_0x278be1['takeUntil'](this[_0x550d85(0x2d3)]))[_0x550d85(0x35c)](()=>this[_0x550d85(0x393)](_0x5cfd7d));}[_0x529647(0x226)](_0x1f4368,_0x3933f4=!0x1){const _0x4af5e5=_0x529647,_0x461f9f=this['_urlService']['getParam'](_0x4af5e5(0x1f6));_0x1f4368['getSheetId']()!==_0x461f9f&&this[_0x4af5e5(0x413)]['setParam'](_0x4af5e5(0x1f6),_0x1f4368[_0x4af5e5(0x1de)](),_0x3933f4);}async['_updateSubUnitFromURLParams'](_0x300cf0){const _0x32a18f=_0x529647;var _0x2099b3;const _0x2c430d=this[_0x32a18f(0x413)][_0x32a18f(0x26a)](_0x32a18f(0x1f6));if(!_0x2c430d||!_0x300cf0[_0x32a18f(0x22b)](_0x2c430d)){const _0x3d903e=_0x300cf0['getUnhiddenWorksheets']()[0x0],_0x553c3d=_0x300cf0[_0x32a18f(0x22b)](_0x3d903e);if(!_0x553c3d)return;this[_0x32a18f(0x226)](_0x553c3d,!0x0),await this[_0x32a18f(0x2fc)][_0x32a18f(0x297)](_0x63078f[_0x32a18f(0x2f9)]['id'],{'unitId':_0x300cf0[_0x32a18f(0x2a0)](),'subUnitId':_0x3d903e});return;}((_0x2099b3=_0x300cf0[_0x32a18f(0x21a)]())==null?void 0x0:_0x2099b3[_0x32a18f(0x1de)]())!==_0x2c430d&&await this['_commandService'][_0x32a18f(0x297)](_0x63078f[_0x32a18f(0x2f9)]['id'],{'unitId':_0x300cf0[_0x32a18f(0x2a0)](),'subUnitId':_0x2c430d});}},_0x53f44c[_0x529647(0x230)]=_0x2d52c5([_0x4cc324(0x0,_0x3fd2ab),_0x4cc324(0x1,_0x165790['ILogService']),_0x4cc324(0x2,_0x165790[_0x529647(0x282)]),_0x4cc324(0x3,_0x165790[_0x529647(0x337)](_0x1efc97['DataLoaderService'])),_0x4cc324(0x4,_0x165790[_0x529647(0x305)](_0x29fc21[_0x529647(0x347)]))],_0x53f44c['CollaborationDataLoaderController']);var _0x56a7c9=Object['getOwnPropertyDescriptor'],_0x5e2846=(_0x781348,_0x1c516a,_0x120822,_0x460e21)=>{for(var _0x422c87=_0x460e21>0x1?void 0x0:_0x460e21?_0x56a7c9(_0x1c516a,_0x120822):_0x1c516a,_0x1ebe0d=_0x781348['length']-0x1,_0x575668;_0x1ebe0d>=0x0;_0x1ebe0d--)(_0x575668=_0x781348[_0x1ebe0d])&&(_0x422c87=_0x575668(_0x422c87)||_0x422c87);return _0x422c87;},_0x1f3c5e=(_0x5e399e,_0x27e0d5)=>(_0x2f5ee5,_0x14fe46)=>_0x27e0d5(_0x2f5ee5,_0x14fe46,_0x5e399e);let _0x684b41=class extends _0x165790[_0x529647(0x270)]{constructor(_0xc5a14b,_0x5b61a7){const _0xa21e17=_0x529647;super(),this[_0xa21e17(0x3e9)]=_0xc5a14b,this[_0xa21e17(0x308)]=_0x5b61a7,this[_0xa21e17(0x2b7)]();}['_init'](){const _0xa5c3b0=_0x529647,_0x2bc570=this;this['disposeWithMe'](this['_docClipboardService'][_0xa5c3b0(0x1ce)]({'onBeforePasteImage':async _0x211fe0=>{const _0x21be15=_0xa5c3b0,_0x3ec4c5=await _0x2bc570[_0x21be15(0x308)][_0x21be15(0x1cf)](_0x211fe0);return _0x3ec4c5?{'source':_0x3ec4c5[_0x21be15(0x3b5)],'imageSourceType':_0x3ec4c5[_0x21be15(0x418)]}:null;}}));}};_0x684b41=_0x5e2846([_0x1f3c5e(0x0,_0x20f7f1[_0x529647(0x21e)]),_0x1f3c5e(0x1,_0x5c4bf6['IImageIoService'])],_0x684b41);const _0x48268a=[_0x529647(0x2a8),_0x529647(0x3ca),_0x529647(0x273),_0x529647(0x360),'blue.400','yellow.400'];class _0x4f197f extends _0x165790['Disposable']{constructor(){const _0x29ac76=_0x529647;super(...arguments),_0x1bb758(this,_0x29ac76(0x374),new Map()),_0x1bb758(this,_0x29ac76(0x3d8),0x0);}[_0x529647(0x1aa)](_0x38ba57){const _0x6b7732=_0x529647;if(this['_assignedColors']['has'](_0x38ba57))return this['_assignedColors'][_0x6b7732(0x1b5)](_0x38ba57);const _0x189073=_0x48268a[this[_0x6b7732(0x3d8)]];return this[_0x6b7732(0x3d8)]=(this[_0x6b7732(0x3d8)]+0x1)%_0x48268a[_0x6b7732(0x3c3)],this[_0x6b7732(0x374)][_0x6b7732(0x41c)](_0x38ba57,_0x189073),_0x189073;}}function _0x425d10(_0x388d1b){const _0x2c898e=_0x529647;let _0x105265='';for(const _0x1dc38c of _0x388d1b){const {startOffset:_0x560aca,endOffset:_0x32b891,isActive:_0x5bdbb6,rangeType:_0x44c94b,segmentId:_0x109911,segmentPage:_0x397f7b}=_0x1dc38c;_0x105265[_0x2c898e(0x3c3)]&&(_0x105265+=','),_0x105265+=_0x560aca+':'+_0x32b891+':'+(_0x5bdbb6?'1':'0')+':'+_0x44c94b+':'+_0x109911+':'+_0x397f7b;}return _0x105265;}function _0x39acae(_0x3b17cb){const _0x511e05=_0x529647,_0x24fa26=_0x3b17cb[_0x511e05(0x1bb)](','),_0x2db6ae=[];for(const _0x2d75ee of _0x24fa26){const [_0x187e9d,_0x14b3e7,_0x1b275f,_0x41768d,_0x2356d3,_0x51ed93]=_0x2d75ee[_0x511e05(0x1bb)](':');_0x2db6ae[_0x511e05(0x1c7)]({'startOffset':Number(_0x187e9d),'endOffset':Number(_0x14b3e7),'collapsed':_0x187e9d===_0x14b3e7,'isActive':_0x1b275f==='1','rangeType':_0x41768d===_0x165790[_0x511e05(0x217)][_0x511e05(0x31c)]?_0x165790[_0x511e05(0x217)][_0x511e05(0x31c)]:_0x165790[_0x511e05(0x217)][_0x511e05(0x3e1)],'segmentId':typeof _0x2356d3==_0x511e05(0x3e4)?String(_0x2356d3):'','segmentPage':Number(_0x51ed93!=null?_0x51ed93:-0x1)});}return _0x2db6ae['some'](_0x204cc6=>_0x204cc6[_0x511e05(0x37c)])||(_0x2db6ae[0x0][_0x511e05(0x37c)]=!0x0),_0x2db6ae;}class _0x58216b extends _0x165790[_0x529647(0x270)]{constructor(){const _0x211888=_0x529647;super(...arguments),_0x1bb758(this,_0x211888(0x2b5),new _0x278be1[(_0x211888(0x39a))](null)),_0x1bb758(this,'collabCursorState$',this['_collabCursorState$'][_0x211888(0x304)]());}[_0x529647(0x38c)](_0x260693){const _0x383aaa=_0x529647,{unitID:_0x357ff2,memberID:_0x23fcb4,textRanges:_0x2deaef}=_0x260693,_0x3ec519=_0x425d10(_0x2deaef);if(_0x3ec519==='')return;const _0x2c19ae={'unitID':_0x357ff2,'memberID':_0x23fcb4,'selection':_0x3ec519};this['_collabCursorState$'][_0x383aaa(0x1ed)](_0x2c19ae);}}var _0x2ab906=Object[_0x529647(0x21c)],_0x2724bd=(_0x749eaf,_0x36975e,_0x37298e,_0x3e82ce)=>{const _0x5aed7b=_0x529647;for(var _0x1c18d0=_0x3e82ce>0x1?void 0x0:_0x3e82ce?_0x2ab906(_0x36975e,_0x37298e):_0x36975e,_0x3f3def=_0x749eaf[_0x5aed7b(0x3c3)]-0x1,_0x681b84;_0x3f3def>=0x0;_0x3f3def--)(_0x681b84=_0x749eaf[_0x3f3def])&&(_0x1c18d0=_0x681b84(_0x1c18d0)||_0x1c18d0);return _0x1c18d0;},_0x188bb5=(_0xfaed47,_0x70374f)=>(_0x16af4f,_0x27ec2e)=>_0x70374f(_0x16af4f,_0x27ec2e,_0xfaed47);const _0x5e3d22=0x12c,_0x11036f=0x64;let _0x42f3b2=class extends _0x165790[_0x529647(0x270)]{constructor(_0x8e5ae8,_0x2334d1,_0x2bb08e,_0x52ea61,_0xdad13d,_0x418f70,_0x23c88e,_0x4c522c,_0x117cd7){const _0x1895c1=_0x529647;super(),_0x1bb758(this,_0x1895c1(0x1cb),!0x1),_0x1bb758(this,_0x1895c1(0x2b7),!0x1),_0x1bb758(this,'_cursorInfo$',new _0x278be1[(_0x1895c1(0x39a))](new Map())),_0x1bb758(this,_0x1895c1(0x3da),this[_0x1895c1(0x22e)][_0x1895c1(0x304)]()),_0x1bb758(this,_0x1895c1(0x257),new _0x278be1[(_0x1895c1(0x39a))]([])),_0x1bb758(this,_0x1895c1(0x2c9),this[_0x1895c1(0x257)][_0x1895c1(0x1f3)](_0x278be1[_0x1895c1(0x2e7)](_0x5e3d22))),_0x1bb758(this,'_updateLocalCursor',_0x165790[_0x1895c1(0x251)](_0x4c8c2c=>{const _0x46f877=_0x1895c1,_0x196a1d={'eventID':_0x2b1f6e[_0x46f877(0x351)][_0x46f877(0x356)],'data':{'unitID':this[_0x46f877(0x27e)],'memberID':this[_0x46f877(0x3df)]['getMemberID'](),'selection':_0x425d10(_0x4c8c2c)}};this[_0x46f877(0x3df)]['send'](_0x196a1d,this['unitID']);},_0x11036f)),(this[_0x1895c1(0x27e)]=_0x8e5ae8,this[_0x1895c1(0x3df)]=_0x2334d1,this[_0x1895c1(0x3c1)]=_0x2bb08e,this[_0x1895c1(0x260)]=_0x52ea61,this[_0x1895c1(0x421)]=_0xdad13d,this['_syncEditingCollabCursorService']=_0x418f70,this['_transformService']=_0x23c88e,this[_0x1895c1(0x27f)]=_0x4c522c,this['_commandService']=_0x117cd7);}get[_0x529647(0x2cb)](){return this['_cursorInfo$']['getValue']();}get['roomMembers'](){const _0x5d9f70=_0x529647;return this[_0x5d9f70(0x257)][_0x5d9f70(0x1f9)]();}[_0x529647(0x23c)](){const _0x5320eb=_0x529647;super[_0x5320eb(0x23c)](),this[_0x5320eb(0x22e)][_0x5320eb(0x1ed)](new Map()),this[_0x5320eb(0x22e)][_0x5320eb(0x301)](),this[_0x5320eb(0x257)][_0x5320eb(0x1ed)]([]),this['_roomMembers$'][_0x5320eb(0x301)]();}[_0x529647(0x3a4)](){const _0x4989cf=_0x529647;this[_0x4989cf(0x2b7)]||(this['_init']=!0x0,this[_0x4989cf(0x3df)]['sessionStatus$'][_0x4989cf(0x1f3)](_0x278be1[_0x4989cf(0x202)](this['dispose$']))[_0x4989cf(0x35c)](_0x73d129=>{const _0x398cd9=_0x4989cf;_0x73d129===_0x1efc97[_0x398cd9(0x1f8)][_0x398cd9(0x3f3)]?this[_0x398cd9(0x2e8)]():this[_0x398cd9(0x369)]();}),this[_0x4989cf(0x3df)]['event$'][_0x4989cf(0x1f3)](_0x278be1[_0x4989cf(0x202)](this[_0x4989cf(0x2d3)]))[_0x4989cf(0x35c)](_0x373751=>{const _0x4350c0=_0x4989cf,_0x3c19b3=_0x373751[_0x4350c0(0x324)];_0x3c19b3===_0x2b1f6e[_0x4350c0(0x351)]['UPDATE_CURSOR']&&this[_0x4350c0(0x31e)](_0x373751),_0x3c19b3===_0x2b1f6e[_0x4350c0(0x351)][_0x4350c0(0x401)]&&this['_onCursorDelete'](_0x373751);}),this[_0x4989cf(0x203)](this['_commandService']['onCommandExecuted'](_0x537dd4=>{const _0xe71452=_0x4989cf,_0x33a448=_0x537dd4[_0xe71452(0x1ef)];_0x33a448!=null&&this[_0xe71452(0x1cb)]&&_0x537dd4['id']===_0x20f8e5[_0xe71452(0x2d5)]['id']&&_0x33a448[_0xe71452(0x408)]===this['unitID']&&_0x33a448[_0xe71452(0x2c1)]===!0x1&&_0x33a448[_0xe71452(0x3f9)][_0xe71452(0x3c3)]>0x0&&this[_0xe71452(0x26f)](_0x33a448[_0xe71452(0x3f9)]);})),this[_0x4989cf(0x20d)][_0x4989cf(0x1fb)]['pipe'](_0x278be1[_0x4989cf(0x202)](this[_0x4989cf(0x2d3)]))[_0x4989cf(0x35c)](_0x3d768b=>{const _0x250624=_0x4989cf;if((_0x3d768b==null?void 0x0:_0x3d768b[_0x250624(0x27e)])!==this[_0x250624(0x27e)])return;const _0xfeb7d4={'eventID':_0x2b1f6e[_0x250624(0x351)][_0x250624(0x356)],'data':_0x3d768b};this['_onCursorUpdate'](_0xfeb7d4);}),this[_0x4989cf(0x203)](this[_0x4989cf(0x2fc)][_0x4989cf(0x2ea)](_0x55f692=>{const _0x1e909c=_0x4989cf;if(_0x55f692['params']==null)return;const _0x3389cf=_0x55f692[_0x1e909c(0x1ef)];if(_0x55f692['id']!==_0x20f8e5[_0x1e909c(0x316)]['id']||_0x3389cf[_0x1e909c(0x408)]!==this[_0x1e909c(0x27e)])return;const _0x1e97b5={'id':_0x1e909c(0x3e7),'params':_0x3389cf},_0x1e9e7f=this[_0x1e909c(0x2cb)];for(const [_0x597086,_0x5df1e5]of _0x1e9e7f){const _0x495db2={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x1e909c(0x27e)],'actions':null,'textRanges':_0x5df1e5[_0x1e909c(0x3f9)]}},_0x3de631=this[_0x1e909c(0x292)][_0x1e909c(0x218)](_0x1e97b5,_0x495db2,!0x1);if(_0x2b1f6e[_0x1e909c(0x250)](_0x3de631))throw _0x3de631[_0x1e909c(0x3d5)];_0x1e9e7f[_0x1e909c(0x41c)](_0x597086,{..._0x5df1e5,'ranges':_0x3de631[_0x1e909c(0x2fe)][_0x1e909c(0x1ef)][_0x1e909c(0x21d)]});}queueMicrotask(()=>{const _0x33248d=_0x1e909c;this[_0x33248d(0x22e)][_0x33248d(0x1ed)](_0x1e9e7f);});})));}[_0x529647(0x31e)](_0x2470ce){const _0x16d19d=_0x529647;var _0x32d4aa,_0x17b50c;const {memberID:_0x8aac27,selection:_0x3cd34e}=_0x2470ce['data'],_0x3f0a35=_0x39acae(_0x3cd34e),_0x40ef94=(_0x17b50c=(_0x32d4aa=this[_0x16d19d(0x421)][_0x16d19d(0x322)](this[_0x16d19d(0x27e)],_0x8aac27))==null?void 0x0:_0x32d4aa[_0x16d19d(0x268)])!=null?_0x17b50c:_0x16d19d(0x42b),_0x1f35bd={'color':this['_colorAssignService'][_0x16d19d(0x1aa)](_0x8aac27),'name':_0x40ef94,'ranges':_0x3f0a35},_0x446c2a=this['cursorInfo'];_0x446c2a['set'](_0x8aac27,_0x1f35bd),this[_0x16d19d(0x22e)][_0x16d19d(0x1ed)](_0x446c2a);}['_onCursorDelete'](_0x1586c9){const _0x1661cd=_0x529647,{memberID:_0x117bcb}=_0x1586c9[_0x1661cd(0x310)],_0x3dbc83=this[_0x1661cd(0x2cb)];_0x3dbc83['delete'](_0x117bcb),this[_0x1661cd(0x22e)][_0x1661cd(0x1ed)](_0x3dbc83);}['_toggleOnline'](){const _0x4af30e=_0x529647;var _0x50d519;if(this['_online']=!0x0,((_0x50d519=this[_0x4af30e(0x27f)][_0x4af30e(0x355)]())==null?void 0x0:_0x50d519[_0x4af30e(0x2a0)]())!==this['unitID'])return;const _0x5cafc8=this['_injector'][_0x4af30e(0x1b5)](_0x20f8e5[_0x4af30e(0x327)])[_0x4af30e(0x34b)]();Array['isArray'](_0x5cafc8)&&_0x5cafc8['length']>0x0&&this['_updateLocalCursor'](_0x5cafc8);}['_toggleOffline'](){const _0x23fc4e=_0x529647;this[_0x23fc4e(0x1cb)]=!0x1;}};_0x42f3b2=_0x2724bd([_0x188bb5(0x2,_0x165790[_0x529647(0x337)](_0x165790[_0x529647(0x213)])),_0x188bb5(0x3,_0x165790[_0x529647(0x337)](_0x4f197f)),_0x188bb5(0x4,_0x165790[_0x529647(0x337)](_0x1efc97['MemberService'])),_0x188bb5(0x5,_0x165790['Inject'](_0x58216b)),_0x188bb5(0x6,_0x2b1f6e[_0x529647(0x412)]),_0x188bb5(0x7,_0x165790[_0x529647(0x307)]),_0x188bb5(0x8,_0x165790['ICommandService'])],_0x42f3b2);var _0x2d546c=Object[_0x529647(0x21c)],_0x146781=(_0x22462c,_0x15a46f,_0x4c2854,_0x5c41e9)=>{const _0x5ebb65=_0x529647;for(var _0x182f48=_0x5c41e9>0x1?void 0x0:_0x5c41e9?_0x2d546c(_0x15a46f,_0x4c2854):_0x15a46f,_0xfde7d6=_0x22462c[_0x5ebb65(0x3c3)]-0x1,_0x2bd026;_0xfde7d6>=0x0;_0xfde7d6--)(_0x2bd026=_0x22462c[_0xfde7d6])&&(_0x182f48=_0x2bd026(_0x182f48)||_0x182f48);return _0x182f48;},_0x53c2a7=(_0x1fd7e2,_0x3ee7da)=>(_0x26ee64,_0x4d1cd6)=>_0x3ee7da(_0x26ee64,_0x4d1cd6,_0x1fd7e2);const _0x43acf1=0x12c,_0x40c444=0x64,_0x28decf=()=>{let _0x3be4d2=[],_0x2f404c=!0x1;return _0x24b4da=>{const _0x5852fb=_0x1288;_0x3be4d2[_0x5852fb(0x1c7)](_0x24b4da),_0x2f404c||(_0x2f404c=!0x0,setTimeout(()=>{const _0x4472bd=_0x5852fb;_0x3be4d2[_0x4472bd(0x311)](_0x50b8b9=>_0x50b8b9()),_0x3be4d2=[],_0x2f404c=!0x1;}));};};let _0x15de91=class extends _0x165790[_0x529647(0x270)]{constructor(_0x3cb956,_0x3c2233,_0xf0395,_0x177816,_0x3a820a,_0x5f1293,_0x2a1246,_0x5b39cc){const _0x475b45=_0x529647;super(),_0x1bb758(this,'_online',!0x1),_0x1bb758(this,'_init',!0x1),_0x1bb758(this,_0x475b45(0x22e),new _0x278be1[(_0x475b45(0x39a))](new Map())),_0x1bb758(this,_0x475b45(0x3da),this[_0x475b45(0x22e)]['asObservable']()),_0x1bb758(this,_0x475b45(0x257),new _0x278be1['BehaviorSubject']([])),_0x1bb758(this,_0x475b45(0x2c9),this[_0x475b45(0x257)][_0x475b45(0x1f3)](_0x278be1['debounceTime'](_0x43acf1))),_0x1bb758(this,'_updateLocalCursor',_0x165790['debounce']((_0x4e48c5,_0x4f502f)=>{const _0x56733d=_0x475b45,_0x2506cd={'eventID':_0x2b1f6e[_0x56733d(0x351)][_0x56733d(0x356)],'data':{'unitID':this[_0x56733d(0x27e)],'memberID':this[_0x56733d(0x3df)]['getMemberID'](),'selection':_0x437b2a[_0x56733d(0x389)](_0x4e48c5,_0x4f502f[_0x56733d(0x428)])}};this['_session'][_0x56733d(0x410)](_0x2506cd,this[_0x56733d(0x27e)]);},_0x40c444)),(this[_0x475b45(0x27e)]=_0x3cb956,this[_0x475b45(0x3df)]=_0x3c2233,this[_0x475b45(0x3c1)]=_0xf0395,this[_0x475b45(0x260)]=_0x177816,this['_memberService']=_0x3a820a,this[_0x475b45(0x27f)]=_0x5f1293,this[_0x475b45(0x2fc)]=_0x2a1246,this[_0x475b45(0x390)]=_0x5b39cc);}get[_0x529647(0x2cb)](){const _0x32c79d=_0x529647;return this[_0x32c79d(0x22e)]['getValue']();}get['roomMembers'](){const _0x3de6fb=_0x529647;return this['_roomMembers$'][_0x3de6fb(0x1f9)]();}['dispose'](){const _0x1ddd94=_0x529647;super[_0x1ddd94(0x23c)](),this['_cursorInfo$'][_0x1ddd94(0x1ed)](new Map()),this[_0x1ddd94(0x22e)][_0x1ddd94(0x301)](),this['_roomMembers$'][_0x1ddd94(0x1ed)]([]),this[_0x1ddd94(0x257)][_0x1ddd94(0x301)]();}[_0x529647(0x3a4)](){const _0x474b4d=_0x529647;this[_0x474b4d(0x2b7)]||(this[_0x474b4d(0x2b7)]=!0x0,this[_0x474b4d(0x3df)][_0x474b4d(0x1ee)]['pipe'](_0x278be1[_0x474b4d(0x202)](this[_0x474b4d(0x2d3)]))[_0x474b4d(0x35c)](_0x251e2a=>{const _0xd1f739=_0x474b4d;_0x251e2a===_0x1efc97[_0xd1f739(0x1f8)]['ONLINE']?this[_0xd1f739(0x2e8)]():this[_0xd1f739(0x369)]();}),this[_0x474b4d(0x3df)][_0x474b4d(0x3c9)][_0x474b4d(0x1f3)](_0x278be1[_0x474b4d(0x202)](this[_0x474b4d(0x2d3)]))[_0x474b4d(0x35c)](_0x344796=>{const _0x40ab59=_0x474b4d,_0x37b86b=_0x344796[_0x40ab59(0x324)];_0x37b86b===_0x2b1f6e['CollaborationEvent'][_0x40ab59(0x356)]&&this[_0x40ab59(0x31e)](_0x344796),_0x37b86b===_0x2b1f6e['CollaborationEvent'][_0x40ab59(0x401)]&&this[_0x40ab59(0x243)](_0x344796);}),this['_onRefRangeChange'](),this[_0x474b4d(0x203)](this[_0x474b4d(0x2fc)][_0x474b4d(0x2ea)](_0x27935b=>{const _0x2da116=_0x474b4d;if(this[_0x2da116(0x1cb)]&&_0x27935b['id']===_0x63078f['SetSelectionsOperation']['id']&&_0x27935b['params']['unitId']===this[_0x2da116(0x27e)]){const _0xfa33fe=_0x27935b['params'];this[_0x2da116(0x26f)](_0xfa33fe['subUnitId'],_0xfa33fe[_0x2da116(0x295)][0x0]);}})));}[_0x529647(0x31e)](_0x3756db){const _0x17eadb=_0x529647;var _0x2bc581,_0x5c11c0;const {memberID:_0x14a89e,selection:_0x336cfb}=_0x3756db[_0x17eadb(0x310)],{sheetName:_0x4b0fbb,range:_0x2ede9f}=_0x437b2a[_0x17eadb(0x1be)](_0x336cfb),_0x45c9ca={'name':(_0x5c11c0=(_0x2bc581=this[_0x17eadb(0x421)][_0x17eadb(0x322)](this[_0x17eadb(0x27e)],_0x14a89e))==null?void 0x0:_0x2bc581[_0x17eadb(0x268)])!=null?_0x5c11c0:_0x17eadb(0x42b),'range':this['_getMergeRange'](_0x4b0fbb,_0x2ede9f),'sheetID':_0x4b0fbb,'color':this[_0x17eadb(0x260)][_0x17eadb(0x1aa)](_0x14a89e),'selection':_0x336cfb},_0x63f985=this['cursorInfo'];_0x63f985['set'](_0x14a89e,_0x45c9ca),this['_cursorInfo$'][_0x17eadb(0x1ed)](_0x63f985);}[_0x529647(0x243)](_0x14865b){const _0xe0cb21=_0x529647,{memberID:_0x4f56dc}=_0x14865b[_0xe0cb21(0x310)],_0x210ea1=this[_0xe0cb21(0x2cb)];_0x210ea1['delete'](_0x4f56dc),this[_0xe0cb21(0x22e)][_0xe0cb21(0x1ed)](_0x210ea1);}[_0x529647(0x223)](_0x756888,_0xa77afb){const _0x21244f=_0x529647;var _0x22a532,_0x98618d;const _0x4fd902=(_0x98618d=(_0x22a532=this[_0x21244f(0x27f)][_0x21244f(0x3fa)](this[_0x21244f(0x27e)]))==null?void 0x0:_0x22a532[_0x21244f(0x22b)](_0x756888))==null?void 0x0:_0x98618d[_0x21244f(0x1e1)]();return(_0x4fd902==null?void 0x0:_0x4fd902['find'](_0x3b270b=>_0x165790[_0x21244f(0x303)][_0x21244f(0x1b3)](_0x3b270b,_0xa77afb)))||_0xa77afb;}[_0x529647(0x20f)](){const _0x2850c4=_0x529647,_0xe8a33c=new _0x165790['DisposableCollection'](),_0x3b7393=_0x28decf(),_0x14d67b=()=>{const _0x235ab2=_0x1288;_0xe8a33c[_0x235ab2(0x23c)]();const _0x41826a=(_0x155aa0,_0x109eac,_0x3c6e76,_0x28ec79)=>{const _0x945730=_0x235ab2;let _0x372ccb=[];switch(_0x155aa0['id']){case _0x63078f[_0x945730(0x41e)][_0x945730(0x254)]:{_0x372ccb=_0x63078f[_0x945730(0x3af)](_0x155aa0,_0x28ec79);break;}case _0x63078f[_0x945730(0x41e)]['DeleteRangeMoveUpCommandId']:{_0x372ccb=_0x63078f[_0x945730(0x3c7)](_0x155aa0,_0x28ec79);break;}case _0x63078f[_0x945730(0x41e)][_0x945730(0x3b9)]:{_0x372ccb=_0x63078f[_0x945730(0x259)](_0x155aa0,_0x28ec79);break;}case _0x63078f[_0x945730(0x41e)][_0x945730(0x3b3)]:{_0x372ccb=_0x63078f[_0x945730(0x20e)](_0x155aa0,_0x28ec79);break;}case _0x63078f['EffectRefRangId'][_0x945730(0x287)]:{_0x372ccb=_0x63078f['handleInsertRangeMoveRight'](_0x155aa0,_0x28ec79);break;}case _0x63078f[_0x945730(0x41e)][_0x945730(0x1ba)]:{_0x372ccb=_0x63078f[_0x945730(0x3d7)](_0x155aa0,_0x28ec79);break;}case _0x63078f[_0x945730(0x41e)][_0x945730(0x2eb)]:{_0x372ccb=_0x63078f[_0x945730(0x1b1)](_0x155aa0,_0x28ec79);break;}case _0x63078f[_0x945730(0x41e)]['RemoveColCommandId']:{_0x372ccb=_0x63078f['handleIRemoveCol'](_0x155aa0,_0x28ec79);break;}case _0x63078f[_0x945730(0x41e)]['RemoveRowCommandId']:{_0x372ccb=_0x63078f[_0x945730(0x379)](_0x155aa0,_0x28ec79);break;}}const _0x64b827=_0x63078f['runRefRangeMutations'](_0x372ccb,_0x28ec79),_0x1ce722=this[_0x945730(0x2cb)]['get'](_0x109eac);if(_0x1ce722&&_0x64b827){const _0x4486ee={..._0x1ce722,'range':_0x64b827};this['cursorInfo'][_0x945730(0x41c)](_0x109eac,_0x4486ee),_0x3b7393(()=>{const _0xf6fa79=_0x945730,_0x237c94=this[_0xf6fa79(0x390)][_0xf6fa79(0x330)](_0x64b827,_0x2be93e=>(_0x237c94[_0xf6fa79(0x23c)](),_0x41826a(_0x2be93e,_0x109eac,_0x3c6e76,_0x64b827)));_0xe8a33c[_0xf6fa79(0x2f4)](_0x237c94);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x4ec1ef,_0x2bb27e)=>{const _0x324073=_0x235ab2,{range:_0x5cec1d,sheetID:_0x465611}=_0x4ec1ef,_0x5c5ba4=this['_refRangeService'][_0x324073(0x330)](_0x5cec1d,_0x203ccb=>(_0x5c5ba4[_0x324073(0x23c)](),_0x41826a(_0x203ccb,_0x2bb27e,_0x465611,_0x5cec1d)));_0xe8a33c[_0x324073(0x2f4)](_0x5c5ba4);});};this[_0x2850c4(0x203)](_0x165790[_0x2850c4(0x422)](this[_0x2850c4(0x22e)][_0x2850c4(0x35c)](()=>{_0x14d67b();})));}['_toggleOnline'](){const _0x195680=_0x529647;var _0x16691c,_0x1366eb;if(this[_0x195680(0x1cb)]=!0x0,((_0x16691c=this[_0x195680(0x27f)]['getFocusedUnit']())==null?void 0x0:_0x16691c['getUnitId']())!==this['unitID'])return;const _0xc6539=(_0x1366eb=this['_injector'][_0x195680(0x1b5)](_0x63078f[_0x195680(0x2e9)])[_0x195680(0x3f1)]())==null?void 0x0:_0x1366eb[0x0],_0x4da467=this[_0x195680(0x27f)][_0x195680(0x375)](_0x165790[_0x195680(0x2c0)][_0x195680(0x2d1)])[_0x195680(0x21a)]();_0xc6539&&_0x4da467&&this[_0x195680(0x26f)](_0x4da467[_0x195680(0x1de)](),_0xc6539);}['_toggleOffline'](){const _0x1c07c2=_0x529647;this[_0x1c07c2(0x1cb)]=!0x1;}};_0x15de91=_0x146781([_0x53c2a7(0x2,_0x165790[_0x529647(0x337)](_0x165790[_0x529647(0x213)])),_0x53c2a7(0x3,_0x165790[_0x529647(0x337)](_0x4f197f)),_0x53c2a7(0x4,_0x165790[_0x529647(0x337)](_0x1efc97['MemberService'])),_0x53c2a7(0x5,_0x165790[_0x529647(0x307)]),_0x53c2a7(0x6,_0x165790['ICommandService']),_0x53c2a7(0x7,_0x165790[_0x529647(0x337)](_0x63078f[_0x529647(0x1ec)]))],_0x15de91);var _0x4db8bc=Object[_0x529647(0x21c)],_0xc3135d=(_0x3a8d4a,_0xd4ef3d,_0x425916,_0x406401)=>{const _0x1a0a64=_0x529647;for(var _0xe008=_0x406401>0x1?void 0x0:_0x406401?_0x4db8bc(_0xd4ef3d,_0x425916):_0xd4ef3d,_0x4b48b1=_0x3a8d4a[_0x1a0a64(0x3c3)]-0x1,_0x3c3312;_0x4b48b1>=0x0;_0x4b48b1--)(_0x3c3312=_0x3a8d4a[_0x4b48b1])&&(_0xe008=_0x3c3312(_0xe008)||_0xe008);return _0xe008;},_0x3c0565=(_0x5eb295,_0x50e53c)=>(_0x1c0946,_0x445211)=>_0x50e53c(_0x1c0946,_0x445211,_0x5eb295);let _0x117536=class extends _0x165790['RxDisposable']{constructor(_0x402db1,_0x3dda61,_0x1662ca){const _0x350ae8=_0x529647;super(),_0x1bb758(this,_0x350ae8(0x1b7),new Map()),_0x1bb758(this,'_entityInit$',new _0x278be1['Subject']()),(this[_0x350ae8(0x27f)]=_0x402db1,this[_0x350ae8(0x3c1)]=_0x3dda61,this[_0x350ae8(0x2b3)]=_0x1662ca,this[_0x350ae8(0x2b7)]());}[_0x529647(0x23c)](){const _0x37e98b=_0x529647;super['dispose'](),this[_0x37e98b(0x1c2)]['complete'](),this[_0x37e98b(0x1b7)][_0x37e98b(0x311)](_0x3b4b52=>_0x3b4b52['dispose']());}[_0x529647(0x36f)](_0x7098cd){const _0x48609e=_0x529647;return this[_0x48609e(0x1b7)][_0x48609e(0x317)](_0x7098cd)?this['_entities'][_0x48609e(0x1b5)](_0x7098cd)[_0x48609e(0x3da)]:this[_0x48609e(0x1c2)]['pipe'](_0x278be1['filter'](_0xe17b8b=>_0xe17b8b[_0x48609e(0x27e)]===_0x7098cd),_0x278be1['switchMap'](_0x40d248=>_0x40d248['cursorInfo$']));}[_0x529647(0x2b7)](){const _0x4f6f86=_0x529647;this[_0x4f6f86(0x27f)][_0x4f6f86(0x400)](_0x165790[_0x4f6f86(0x2c0)][_0x4f6f86(0x2d1)])[_0x4f6f86(0x1f3)](_0x278be1[_0x4f6f86(0x202)](this[_0x4f6f86(0x2d3)]))['subscribe'](async _0x1fac22=>{const _0x4f6616=_0x4f6f86,_0x277b37=_0x1fac22[_0x4f6616(0x2a0)](),_0x23eb78=await this[_0x4f6616(0x2bc)](_0x277b37);this['_entityInit$'][_0x4f6616(0x1ed)](_0x23eb78),this[_0x4f6616(0x1b7)][_0x4f6616(0x41c)](_0x277b37,_0x23eb78);}),this['_univerInstanceService'][_0x4f6f86(0x400)](_0x165790[_0x4f6f86(0x2c0)][_0x4f6f86(0x300)])['pipe'](_0x278be1[_0x4f6f86(0x202)](this[_0x4f6f86(0x2d3)]))[_0x4f6f86(0x1f3)](_0x278be1[_0x4f6f86(0x2e2)](_0x5b9782=>!_0x5b9782[_0x4f6f86(0x2a0)]()[_0x4f6f86(0x215)]('__')))[_0x4f6f86(0x35c)](async _0xc8533d=>{const _0x210be1=_0x4f6f86,_0xf66bd3=_0xc8533d[_0x210be1(0x2a0)](),_0x59a7b7=await this[_0x210be1(0x367)](_0xf66bd3);this[_0x210be1(0x1c2)]['next'](_0x59a7b7),this['_entities'][_0x210be1(0x41c)](_0xf66bd3,_0x59a7b7);}),_0x278be1[_0x4f6f86(0x35b)](this[_0x4f6f86(0x27f)][_0x4f6f86(0x3e0)](_0x165790['UniverInstanceType'][_0x4f6f86(0x300)]),this[_0x4f6f86(0x27f)][_0x4f6f86(0x3e0)](_0x165790[_0x4f6f86(0x2c0)]['UNIVER_SHEET']))[_0x4f6f86(0x1f3)](_0x278be1[_0x4f6f86(0x202)](this[_0x4f6f86(0x2d3)]))['subscribe'](_0x2fe0a1=>{const _0x5eee71=_0x4f6f86,_0x38cf68=_0x2fe0a1[_0x5eee71(0x2a0)](),_0x2beab7=this[_0x5eee71(0x1b7)][_0x5eee71(0x1b5)](_0x38cf68);_0x2beab7&&(_0x2beab7[_0x5eee71(0x23c)](),this[_0x5eee71(0x1b7)][_0x5eee71(0x371)](_0x38cf68));});}async[_0x529647(0x2bc)](_0x30214a){const _0x3ce622=_0x529647,_0x470bfc=await this[_0x3ce622(0x2b3)][_0x3ce622(0x2a2)](_0x30214a),_0x25a2e5=this['_injector'][_0x3ce622(0x2d4)](_0x15de91,_0x30214a,_0x470bfc);return _0x25a2e5['init'](),_0x25a2e5;}async[_0x529647(0x367)](_0x39466d){const _0x3911ed=_0x529647,_0x4bda86=await this['_collabSessionService'][_0x3911ed(0x2a2)](_0x39466d),_0x542c42=this[_0x3911ed(0x3c1)][_0x3911ed(0x2d4)](_0x42f3b2,_0x39466d,_0x4bda86);return _0x542c42['init'](),_0x542c42;}};_0x117536=_0xc3135d([_0x3c0565(0x0,_0x165790[_0x529647(0x307)]),_0x3c0565(0x1,_0x165790[_0x529647(0x337)](_0x165790['Injector'])),_0x3c0565(0x2,_0x165790[_0x529647(0x337)](_0x1efc97[_0x529647(0x329)]))],_0x117536);const _0xb0017e=0x14,_0x17d765=0xc8,_0x1154c3=0x4,_0x248eb7=0x5;function _0x3ef284(_0x58aa7d,_0x45c64b){const _0xa09e81=_0x529647;let {radius:_0x43dbd8,width:_0x37a608,height:_0xe99d75}=_0x45c64b;_0x43dbd8=_0x43dbd8!=null?_0x43dbd8:0x0,_0x37a608=_0x37a608!=null?_0x37a608:0x1e,_0xe99d75=_0xe99d75!=null?_0xe99d75:0x1e;let _0x2b314d=0x0,_0x3a3ca9=0x0,_0x3387e0=0x0;_0x2b314d=_0x3a3ca9=_0x3387e0=Math['min'](_0x43dbd8,_0x37a608/0x2,_0xe99d75/0x2),_0x58aa7d['beginPath'](),_0x58aa7d[_0xa09e81(0x289)](_0x2b314d,0x0),_0x58aa7d[_0xa09e81(0x24e)](_0x37a608-_0x3a3ca9,0x0),_0x58aa7d[_0xa09e81(0x427)](_0x37a608-_0x3a3ca9,_0x3a3ca9,_0x3a3ca9,Math['PI']*0x3/0x2,0x0,!0x1),_0x58aa7d[_0xa09e81(0x24e)](_0x37a608,_0xe99d75-_0x3387e0),_0x58aa7d[_0xa09e81(0x427)](_0x37a608-_0x3387e0,_0xe99d75-_0x3387e0,_0x3387e0,0x0,Math['PI']/0x2,!0x1),_0x58aa7d[_0xa09e81(0x24e)](0x0,_0xe99d75),_0x58aa7d['lineTo'](0x0,_0x2b314d),_0x58aa7d[_0xa09e81(0x427)](_0x2b314d,_0x2b314d,_0x2b314d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x58aa7d[_0xa09e81(0x336)](),_0x45c64b[_0xa09e81(0x416)]&&(_0x58aa7d[_0xa09e81(0x407)](),_0x58aa7d[_0xa09e81(0x345)]=_0x45c64b[_0xa09e81(0x416)],_0x45c64b['fillRule']===_0xa09e81(0x1ca)?_0x58aa7d[_0xa09e81(0x416)](_0xa09e81(0x1ca)):_0x58aa7d[_0xa09e81(0x416)](),_0x58aa7d[_0xa09e81(0x434)]());}class _0x5ed182 extends _0x1e15c8[_0x529647(0x3a1)]{constructor(_0x2688ee,_0x2ff3a6){const _0x5cac62=_0x529647;super(_0x2688ee,_0x2ff3a6),_0x1bb758(this,_0x5cac62(0x1e0)),_0x1bb758(this,_0x5cac62(0x2df)),(this[_0x5cac62(0x1e0)]=_0x2ff3a6==null?void 0x0:_0x2ff3a6[_0x5cac62(0x1e0)],this['text']=_0x2ff3a6==null?void 0x0:_0x2ff3a6[_0x5cac62(0x2df)]);}static['drawWith'](_0xaee900,_0x4998bd){const _0x3ee2ae=_0x529647,{text:_0x46c4f5,color:_0xd58439}=_0x4998bd;_0xaee900[_0x3ee2ae(0x407)](),_0xaee900['font']=_0x3ee2ae(0x419);const _0x5d111d=_0xaee900[_0x3ee2ae(0x404)](_0x46c4f5)[_0x3ee2ae(0x27b)],_0x58297e=Math[_0x3ee2ae(0x325)](_0x5d111d+0x2*_0x1154c3,_0x17d765);_0x3ef284(_0xaee900,{'height':_0xb0017e,'radius':0x4,'width':_0x58297e,'fill':_0xd58439}),_0xaee900['fillStyle']='#FFF';const _0x2b63df=_0x1154c3,_0x5aa2fc=_0xb0017e-_0x248eb7,_0xa0b01=_0x17d765-0x2*_0x1154c3;if(_0x5d111d>_0xa0b01){let _0x22b263='',_0x1d36fb=0x0;for(const _0x297fd2 of _0x46c4f5){const _0x50c3d1=_0xaee900[_0x3ee2ae(0x404)](_0x297fd2)[_0x3ee2ae(0x27b)];if(_0x1d36fb+_0x50c3d1<=_0xa0b01-_0xaee900['measureText']('...')[_0x3ee2ae(0x27b)])_0x22b263+=_0x297fd2,_0x1d36fb+=_0x50c3d1;else{_0x22b263+=_0x3ee2ae(0x1fd);break;}}_0xaee900['fillText'](_0x22b263,_0x2b63df,_0x5aa2fc);}else _0xaee900[_0x3ee2ae(0x32b)](_0x46c4f5,_0x2b63df,_0x5aa2fc);_0xaee900[_0x3ee2ae(0x434)]();}[_0x529647(0x42a)](_0x3dda7a){const _0x459ee3=_0x529647;_0x5ed182[_0x459ee3(0x372)](_0x3dda7a,this);}}const _0x5799a1=_0x529647(0x3b0),_0x13946e=_0x529647(0x1d2),_0x3e0c03=_0x529647(0x3b2),_0x3e8ab8=0x6,_0xd53566=1.5,_0x4e847e=0x4,_0x14b7c=1.5,_0x42e84d='rgba(255,\x20255,\x20255,\x200.01)';class _0x228ffa{constructor(_0x170a02,_0x1eb82e,_0x5d4ee5,_0x3b5e6b){const _0x2a20ae=_0x529647;_0x1bb758(this,_0x2a20ae(0x3f0),[]),_0x1bb758(this,'_anchor',null),_0x1bb758(this,_0x2a20ae(0x28b),null),_0x1bb758(this,_0x2a20ae(0x2de),null),_0x1bb758(this,_0x2a20ae(0x36b),null),_0x1bb758(this,_0x2a20ae(0x253),null),(this[_0x2a20ae(0x34f)]=_0x170a02,this['_scene']=_0x1eb82e,this[_0x2a20ae(0x3ed)]=_0x5d4ee5,this[_0x2a20ae(0x2cf)]=_0x3b5e6b,this[_0x2a20ae(0x2cd)]());}set[_0x529647(0x1af)](_0x2923cb){const _0x5d581d=_0x529647;_0x2923cb?(this[_0x5d581d(0x2de)]&&this[_0x5d581d(0x2de)]['hide'](),this['_textBubble']&&this[_0x5d581d(0x28b)][_0x5d581d(0x29a)]()):(this[_0x5d581d(0x2de)]&&this[_0x5d581d(0x2de)][_0x5d581d(0x29a)](),this[_0x5d581d(0x28b)]&&this[_0x5d581d(0x28b)]['hide']());}[_0x529647(0x23c)](){const _0x495bbc=_0x529647;for(const _0x167baa of this[_0x495bbc(0x3f0)])_0x167baa[_0x495bbc(0x23c)]();this[_0x495bbc(0x28b)]&&this[_0x495bbc(0x28b)][_0x495bbc(0x23c)](),this[_0x495bbc(0x2de)]&&this['_anchorDot'][_0x495bbc(0x23c)](),this['_anchor']&&this[_0x495bbc(0x1c5)]['dispose'](),this[_0x495bbc(0x253)]&&this[_0x495bbc(0x253)]();}[_0x529647(0x2cd)](){const _0x217db0=_0x529647;var _0x9b76b1;const {_docSkeleton:_0x18318b,_document:_0x42f116}=this,{color:_0x104459,name:_0x2ee86c,ranges:_0x29770f}=this[_0x217db0(0x34f)],_0x412fc8=_0x42f116[_0x217db0(0x236)](),{docsLeft:_0x14f5d6,docsTop:_0x52d903}=_0x412fc8,_0x2ec691=new _0x20f7f1[(_0x217db0(0x39d))](_0x412fc8,_0x18318b);for(const {startOffset:_0x18b9e5,endOffset:_0x4d1cf7,rangeType:_0x4a4a34,segmentId:_0x24513f,segmentPage:_0x3b4f26,collapsed:_0x55ab21,isActive:_0x22685a}of _0x29770f){const _0x2bd510=_0x18318b[_0x217db0(0x1c3)](_0x18b9e5,!0x0,_0x24513f,_0x3b4f26);let _0x87fce8=_0x18318b[_0x217db0(0x1c3)](_0x4d1cf7,!0x0,_0x24513f,_0x3b4f26);if(_0x87fce8==null&&(_0x87fce8=_0x18318b[_0x217db0(0x1c3)](_0x4d1cf7-0x1,!0x1,_0x24513f,_0x3b4f26)),_0x22685a){const {contentBoxPointGroup:_0x3e294d}=_0x2ec691[_0x217db0(0x423)](_0x87fce8,_0x87fce8);if(_0x3e294d[_0x217db0(0x3c3)]===0x0)continue;this[_0x217db0(0x3ce)](_0x104459,_0x3e294d,_0x14f5d6,_0x52d903,_0x2ee86c),this[_0x217db0(0x253)]=this[_0x217db0(0x1cd)]();}if(_0x2bd510&&_0x87fce8){if(_0x4a4a34===_0x165790[_0x217db0(0x217)]['RECT']){const _0x34ffe5=new _0x20f7f1[(_0x217db0(0x231))](_0x412fc8,_0x18318b),{pointGroup:_0x999cb3}=(_0x9b76b1=_0x34ffe5[_0x217db0(0x423)](_0x2bd510,_0x87fce8))!=null?_0x9b76b1:{};if(_0x999cb3==null||_0x999cb3['length']===0x0)continue;this[_0x217db0(0x246)](_0x104459,_0x999cb3,_0x14f5d6,_0x52d903);}else{if(!_0x55ab21){const {borderBoxPointGroup:_0x401515}=_0x2ec691[_0x217db0(0x423)](_0x2bd510,_0x87fce8);if(_0x401515[_0x217db0(0x3c3)]===0x0)continue;this['_drawTextRange'](_0x104459,_0x401515,_0x14f5d6,_0x52d903);}}}}}[_0x529647(0x3ce)](_0x480b67,_0x241c9a,_0x24175d,_0x1bb66e,_0x3a9079){const _0x1f73d3=_0x529647,_0x49766e=this['_getAnchorBounding'](_0x241c9a),{left:_0x860ccb,top:_0x3bd497,height:_0x49b548}=_0x49766e,_0x15f8ca=this['_getScale'](),_0x9d3b19=_0x14b7c/_0x15f8ca,_0x2f167c=new _0x1e15c8['Rect'](_0x5799a1+_0x165790[_0x1f73d3(0x2db)](_0x3e8ab8),{'left':_0x860ccb+_0x24175d-_0x9d3b19,'top':_0x3bd497+_0x1bb66e,'height':_0x49b548,'width':_0xd53566,'fill':_0x480b67||_0x1e15c8[_0x1f73d3(0x2ce)](_0x165790['COLORS'][_0x1f73d3(0x3d0)],0x0),'strokeWidth':_0x9d3b19,'stroke':_0x42e84d,'evented':!0x0});this[_0x1f73d3(0x1c5)]=_0x2f167c,this['_scene']['addObject'](_0x2f167c,_0x20f7f1[_0x1f73d3(0x1b2)]);const _0x431bac=new _0x1e15c8[(_0x1f73d3(0x2c5))](_0x5799a1+_0x165790[_0x1f73d3(0x2db)](_0x3e8ab8),{'left':_0x860ccb+_0x24175d-_0x9d3b19,'top':_0x3bd497+_0x1bb66e-_0x4e847e/0x2,'height':_0x4e847e,'width':_0x4e847e,'fill':_0x480b67||_0x1e15c8[_0x1f73d3(0x2ce)](_0x165790[_0x1f73d3(0x2c3)][_0x1f73d3(0x3d0)],0x0),'strokeWidth':0x0,'stroke':_0x480b67||_0x1e15c8[_0x1f73d3(0x2ce)](_0x165790[_0x1f73d3(0x2c3)][_0x1f73d3(0x3d0)],0x0),'evented':!0x1});this[_0x1f73d3(0x2de)]=_0x431bac,this[_0x1f73d3(0x33a)][_0x1f73d3(0x2e5)](_0x431bac,_0x20f7f1[_0x1f73d3(0x1b2)]);const _0x557721=new _0x5ed182(_0x5799a1+_0x165790[_0x1f73d3(0x2db)](_0x3e8ab8),{'left':_0x860ccb+_0x24175d-_0x9d3b19,'top':_0x3bd497+_0x1bb66e-_0xb0017e,'text':_0x3a9079,'color':_0x480b67});this[_0x1f73d3(0x28b)]=_0x557721,this[_0x1f73d3(0x33a)][_0x1f73d3(0x2e5)](_0x557721,_0x20f7f1[_0x1f73d3(0x1b2)]),this[_0x1f73d3(0x1af)]=!0x1;}[_0x529647(0x1cd)](){const _0x32b4bf=_0x529647,_0x4c8c34=this[_0x32b4bf(0x1c5)][_0x32b4bf(0x280)]['subscribeEvent'](()=>{const _0x1e7fb0=_0x32b4bf;this[_0x1e7fb0(0x1af)]=!0x0;}),_0x2d2a3c=this[_0x32b4bf(0x1c5)][_0x32b4bf(0x37f)][_0x32b4bf(0x2ee)](()=>{const _0x2bba29=_0x32b4bf;this[_0x2bba29(0x36b)]&&clearTimeout(this[_0x2bba29(0x36b)]),this[_0x2bba29(0x36b)]=setTimeout(()=>{const _0x129d7c=_0x2bba29;this[_0x129d7c(0x1af)]=!0x1;},0x7d0);});return()=>{const _0x39b54d=_0x32b4bf;_0x4c8c34[_0x39b54d(0x388)](),_0x2d2a3c[_0x39b54d(0x388)]();};}['_drawTextRange'](_0x4969cd,_0x50a06b,_0x1c106b,_0x5b98d1){const _0x28988f=_0x529647,_0x1618a9=new _0x165790[(_0x28988f(0x212))](_0x4969cd)['setAlpha'](0.2)['toRgbString'](),_0x10741f=new _0x1e15c8[(_0x28988f(0x2a4))](_0x13946e+_0x165790['generateRandomId'](_0x3e8ab8),{'pointsGroup':_0x50a06b,'fill':_0x1618a9||_0x1e15c8[_0x28988f(0x2ce)](_0x165790[_0x28988f(0x2c3)][_0x28988f(0x3d0)],0.2),'left':_0x1c106b,'top':_0x5b98d1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x28988f(0x3f0)]['push'](_0x10741f),this['_scene'][_0x28988f(0x2e5)](_0x10741f,_0x20f7f1[_0x28988f(0x1b2)]);}['_drawRectRange'](_0x306780,_0x6564f7,_0x21bd94,_0x16fd74){const _0x34ff20=_0x529647,_0x5bf304=new _0x165790['ColorKit'](_0x306780)[_0x34ff20(0x377)](0.2)['toRgbString'](),_0x2867e2=new _0x1e15c8[(_0x34ff20(0x2a4))](_0x3e0c03+_0x165790[_0x34ff20(0x2db)](_0x3e8ab8),{'pointsGroup':_0x6564f7,'fill':_0x5bf304||_0x1e15c8[_0x34ff20(0x2ce)](_0x165790['COLORS'][_0x34ff20(0x3d0)],0.2),'left':_0x21bd94,'top':_0x16fd74,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x34ff20(0x3f0)]['push'](_0x2867e2),this[_0x34ff20(0x33a)][_0x34ff20(0x2e5)](_0x2867e2,_0x20f7f1[_0x34ff20(0x1b2)]);}[_0x529647(0x41b)](_0x12ae18){const _0x42ffd8=_0x12ae18[0x0],_0x223a4f=_0x42ffd8[0x0],_0x2e8f5e=_0x42ffd8[0x2],{x:_0x2ffc81,y:_0x359120}=_0x223a4f,{x:_0x296ab1,y:_0x257fac}=_0x2e8f5e;return{'left':_0x2ffc81,'top':_0x359120,'width':_0x296ab1-_0x2ffc81,'height':_0x257fac-_0x359120};}[_0x529647(0x29e)](){const {scaleX:_0x1517c8,scaleY:_0x2609fb}=this['_scene']['getAncestorScale']();return Math['max'](_0x1517c8,_0x2609fb);}}var _0x3a14e4=Object[_0x529647(0x21c)],_0x5f11c5=(_0x3c6d2d,_0x12f5b8,_0x5a8b1c,_0x19ce10)=>{const _0x1271be=_0x529647;for(var _0x30b3f7=_0x19ce10>0x1?void 0x0:_0x19ce10?_0x3a14e4(_0x12f5b8,_0x5a8b1c):_0x12f5b8,_0x4d4385=_0x3c6d2d[_0x1271be(0x3c3)]-0x1,_0x3d097a;_0x4d4385>=0x0;_0x4d4385--)(_0x3d097a=_0x3c6d2d[_0x4d4385])&&(_0x30b3f7=_0x3d097a(_0x30b3f7)||_0x30b3f7);return _0x30b3f7;},_0x91b4b7=(_0x29463f,_0x195726)=>(_0x385912,_0xcfd54e)=>_0x195726(_0x385912,_0xcfd54e,_0x29463f);let _0x152775=class extends _0x165790[_0x529647(0x270)]{constructor(_0x301425,_0x2a719b,_0x439c18,_0x24012e,_0xbcf457){const _0xa84fe7=_0x529647;super(),_0x1bb758(this,_0xa84fe7(0x342),[]),_0x1bb758(this,_0xa84fe7(0x247),[]),(this[_0xa84fe7(0x40a)]=_0x301425,this[_0xa84fe7(0x30f)]=_0x2a719b,this[_0xa84fe7(0x3a5)]=_0x439c18,this[_0xa84fe7(0x2fc)]=_0x24012e,this[_0xa84fe7(0x200)]=_0xbcf457,this[_0xa84fe7(0x2b7)]());}[_0x529647(0x2b7)](){const _0x39ff72=_0x529647,_0x34a754=this['_context'][_0x39ff72(0x408)],_0x245556=this['_docSkeletonManagerService'];this[_0x39ff72(0x203)](_0x278be1['combineLatest']([this[_0x39ff72(0x3a5)][_0x39ff72(0x36f)](_0x34a754),this['_themeService']['currentTheme$']])[_0x39ff72(0x1f3)](_0x228a58[_0x39ff72(0x2e3)](([_0x31612b,_0x31a978])=>({'skeleton':_0x245556[_0x39ff72(0x33e)](),'cursors':[..._0x31612b[_0x39ff72(0x2ad)]()][_0x39ff72(0x2c7)](_0x575315=>({..._0x575315,'color':this[_0x39ff72(0x200)]['getColorFromTheme'](_0x575315[_0x39ff72(0x1e0)])}))})))[_0x39ff72(0x35c)](_0x122d52=>{if(this['_removeCollabCursors'](),_0x122d52){const {skeleton:_0x44f931,cursors:_0x5a639b}=_0x122d52;this['_updateCollabCursors'](_0x44f931,_0x5a639b);}})),this[_0x39ff72(0x241)](),this[_0x39ff72(0x284)]();}[_0x529647(0x3aa)](_0x1c78e7,_0xd767e6){const _0xba6141=_0x529647,{scene:_0x375c62,mainComponent:_0x2f00f5}=this[_0xba6141(0x40a)],_0x45d038=_0xd767e6[_0xba6141(0x2e3)](_0x5ededb=>new _0x228ffa(_0x5ededb,_0x375c62,_0x1c78e7,_0x2f00f5));this[_0xba6141(0x342)]=_0x45d038,this['_cursors']=_0xd767e6;}[_0x529647(0x2bd)](){const _0xabf2f9=_0x529647;this[_0xabf2f9(0x266)]();const {scene:_0x557621,mainComponent:_0x1c811a}=this['_context'],_0x78d518=this[_0xabf2f9(0x30f)]['getSkeleton'](),_0x302812=this[_0xabf2f9(0x247)][_0xabf2f9(0x2e3)](_0x1ce40b=>new _0x228ffa(_0x1ce40b,_0x557621,_0x78d518,_0x1c811a));this[_0xabf2f9(0x342)]=_0x302812;}[_0x529647(0x266)](){const _0x355ea3=_0x529647;this[_0x355ea3(0x342)]['forEach'](_0x5497e4=>_0x5497e4[_0x355ea3(0x23c)]()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x48c1d2=_0x529647,_0x5316dd=[_0x20f7f1[_0x48c1d2(0x34e)]['id']];this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x1a486b=>{const _0x50b949=_0x48c1d2;_0x5316dd[_0x50b949(0x33f)](_0x1a486b['id'])&&_0x1a486b[_0x50b949(0x1ef)][_0x50b949(0x408)]===this[_0x50b949(0x40a)][_0x50b949(0x408)]&&this[_0x50b949(0x2bd)]();}));}[_0x529647(0x241)](){const _0x42553b=_0x529647;this['disposeWithMe'](_0x165790[_0x42553b(0x3ef)](this[_0x42553b(0x40a)][_0x42553b(0x3f2)][_0x42553b(0x252)])[_0x42553b(0x1f3)](_0x228a58['filter'](_0x175496=>_0x175496[_0x42553b(0x1f0)]===_0x1e15c8['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),_0x228a58[_0x42553b(0x381)](0x10))[_0x42553b(0x35c)](()=>{const _0x1c09a2=_0x42553b;this[_0x1c09a2(0x2bd)]();}));}};_0x152775=_0x5f11c5([_0x91b4b7(0x1,_0x165790[_0x529647(0x337)](_0x20f8e5[_0x529647(0x1e4)])),_0x91b4b7(0x2,_0x165790[_0x529647(0x337)](_0x117536)),_0x91b4b7(0x3,_0x165790[_0x529647(0x282)]),_0x91b4b7(0x4,_0x165790[_0x529647(0x337)](_0x165790[_0x529647(0x3c0)]))],_0x152775);const _0xf2452d=0x1,_0x2862ca=1.5;class _0x65c813 extends _0x1e15c8[_0x529647(0x3a1)]{constructor(_0x1172c9,_0x19e361){const _0x4e6d19=_0x529647;super(_0x1172c9,_0x19e361),_0x1bb758(this,_0x4e6d19(0x263)),_0x1bb758(this,_0x4e6d19(0x3d6),!0x1),_0x1bb758(this,_0x4e6d19(0x33c)),_0x1bb758(this,_0x4e6d19(0x3a9),''),_0x1bb758(this,_0x4e6d19(0x2f1),'top'),_0x1bb758(this,'_backgroundColor'),(_0x19e361&&this[_0x4e6d19(0x331)](_0x19e361),this[_0x4e6d19(0x280)]['subscribeEvent'](()=>this[_0x4e6d19(0x331)]({'hovered':!0x0})),this[_0x4e6d19(0x37f)]['subscribeEvent'](()=>this[_0x4e6d19(0x331)]({'hovered':!0x1})));}[_0x529647(0x331)](_0x216a46){const _0xe705c2=_0x529647;var _0x43cfab,_0x2d8adc,_0x1032e3,_0x55b0a0,_0x1b778f,_0x561af2;this[_0xe705c2(0x263)]=(_0x43cfab=_0x216a46[_0xe705c2(0x1e0)])!=null?_0x43cfab:this[_0xe705c2(0x263)],this['_hovered']=(_0x2d8adc=_0x216a46[_0xe705c2(0x348)])!=null?_0x2d8adc:this[_0xe705c2(0x3d6)],this[_0xe705c2(0x33c)]=(_0x1032e3=_0x216a46[_0xe705c2(0x428)])!=null?_0x1032e3:this[_0xe705c2(0x33c)],this[_0xe705c2(0x3a9)]=(_0x55b0a0=_0x216a46[_0xe705c2(0x268)])!=null?_0x55b0a0:this['_name'],this['_labelPosition']=(_0x1b778f=_0x216a46[_0xe705c2(0x340)])!=null?_0x1b778f:this[_0xe705c2(0x2f1)],this[_0xe705c2(0x1d4)]=(_0x561af2=_0x216a46['backgroundColor'])!=null?_0x561af2:this['_backgroundColor'],this[_0xe705c2(0x436)]({'width':_0x216a46[_0xe705c2(0x27b)],'height':_0x216a46[_0xe705c2(0x1f4)]});}['onMouseMove'](_0x5c5e06){const _0x5d0594=_0x529647,{row:_0x13f5d8,column:_0x28ff89}=_0x5c5e06;if(_0x13f5d8>=this['_range'][_0x5d0594(0x2bb)]&&_0x13f5d8<=this['_range']['endRow']&&_0x28ff89>=this['_range'][_0x5d0594(0x1b6)]&&_0x28ff89<=this[_0x5d0594(0x33c)][_0x5d0594(0x2a6)]){this[_0x5d0594(0x331)]({'hovered':!0x0});return;}this[_0x5d0594(0x331)]({'hovered':!0x1});}['triggerDblclick'](_0x332622){return!0x1;}[_0x529647(0x42a)](_0x453b6f){const _0x4a4a37=_0x529647;_0x1e15c8[_0x4a4a37(0x2c5)][_0x4a4a37(0x372)](_0x453b6f,{'width':this[_0x4a4a37(0x27b)],'height':this[_0x4a4a37(0x1f4)],'strokeWidth':_0x2862ca,'stroke':this[_0x4a4a37(0x263)],'evented':!0x1,'fill':this[_0x4a4a37(0x1d4)]}),this['_hovered']&&(_0x453b6f['save'](),_0x453b6f[_0x4a4a37(0x392)](0x1,0x0,0x0,0x1,this[_0x4a4a37(0x27b)],this[_0x4a4a37(0x2f1)]==='bottom'?0x0:-_0xb0017e),_0x5ed182['drawWith'](_0x453b6f,{'text':this['_name'],'color':this[_0x4a4a37(0x263)]}),_0x453b6f[_0x4a4a37(0x434)]());}}var _0x34e209=Object['getOwnPropertyDescriptor'],_0x525f2f=(_0x2a1de2,_0x12f2b3,_0x34eb31,_0x48c4b7)=>{for(var _0x3a8b30=_0x48c4b7>0x1?void 0x0:_0x48c4b7?_0x34e209(_0x12f2b3,_0x34eb31):_0x12f2b3,_0xc2bb70=_0x2a1de2['length']-0x1,_0xf10009;_0xc2bb70>=0x0;_0xc2bb70--)(_0xf10009=_0x2a1de2[_0xc2bb70])&&(_0x3a8b30=_0xf10009(_0x3a8b30)||_0x3a8b30);return _0x3a8b30;},_0x41c8a5=(_0x176654,_0x58cbbd)=>(_0x4f4d3d,_0x4b9bbb)=>_0x58cbbd(_0x4f4d3d,_0x4b9bbb,_0x176654);const _0x22e299=0x1389;let _0x254369=class extends _0x165790['RxDisposable']{constructor(_0x4d7fb2,_0x162715,_0x53360b,_0x5cac35){const _0x565ed4=_0x529647;super(),_0x1bb758(this,_0x565ed4(0x247),new Set()),_0x1bb758(this,_0x565ed4(0x318),null),(this['_context']=_0x4d7fb2,this[_0x565ed4(0x3eb)]=_0x162715,this['_collabCursorController']=_0x53360b,this[_0x565ed4(0x200)]=_0x5cac35,this[_0x565ed4(0x2b7)]());}['_init'](){const _0x5c4cc6=_0x529647;this[_0x5c4cc6(0x3eb)][_0x5c4cc6(0x3cc)][_0x5c4cc6(0x1f3)](_0x228a58[_0x5c4cc6(0x202)](this[_0x5c4cc6(0x2d3)]),_0x228a58[_0x5c4cc6(0x2a3)](_0x28339b=>{const _0x3baca8=_0x5c4cc6;if(_0x28339b){const _0x5a672b=_0x28339b[_0x3baca8(0x42d)];return _0x278be1['combineLatest'](this[_0x3baca8(0x3a5)][_0x3baca8(0x36f)](this[_0x3baca8(0x40a)][_0x3baca8(0x408)]),this[_0x3baca8(0x200)][_0x3baca8(0x366)])[_0x3baca8(0x1f3)](_0x228a58[_0x3baca8(0x2e3)](([_0x4dd387,_0x37e730])=>{const _0xe2898d=_0x3baca8,_0x5b26f6=new Map();return _0x4dd387[_0xe2898d(0x311)]((_0x18df71,_0xc778d9)=>{const _0x39c551=_0xe2898d;if(_0x18df71[_0x39c551(0x420)]===_0x5a672b){const _0x25493c={..._0x18df71};_0x25493c['color']=this[_0x39c551(0x200)][_0x39c551(0x2d7)](_0x18df71['color']),_0x5b26f6[_0x39c551(0x41c)](_0xc778d9,_0x25493c);}}),{'skeleton':_0x28339b,'cursors':_0x5b26f6};}));}return _0x278be1['of']({'skeleton':null,'cursors':new Map()});}))[_0x5c4cc6(0x35c)](({skeleton:_0x4c6c98,cursors:_0x2fe6f4})=>{const _0x4cf095=_0x5c4cc6;this[_0x4cf095(0x266)](),_0x4c6c98&&this[_0x4cf095(0x3aa)](_0x4c6c98,_0x2fe6f4);}),this[_0x5c4cc6(0x3eb)]['currentSkeleton$'][_0x5c4cc6(0x35c)](_0x234f32=>{const _0x4f5bc3=_0x5c4cc6;if(_0x234f32==null)return;const {skeleton:_0x13410c}=_0x234f32,{scene:_0x3e8346}=this[_0x4f5bc3(0x40a)];_0x3e8346[_0x4f5bc3(0x341)][_0x4f5bc3(0x2ee)](_0x165790[_0x4f5bc3(0x251)](_0x274356=>{const _0x52a7f0=_0x4f5bc3;var _0x373c73,_0x3f1bf6;const {offsetX:_0x213f93,offsetY:_0xd26913}=_0x274356,{x:_0xb8d123,y:_0x5245db}=_0x3e8346[_0x52a7f0(0x346)](_0x1e15c8[_0x52a7f0(0x42c)]['FromArray']([_0x213f93,_0xd26913])),{scaleX:_0x192dee,scaleY:_0x425f19}=_0x3e8346[_0x52a7f0(0x2ca)](),_0x1d411c=_0x3e8346[_0x52a7f0(0x1ac)](_0x1e15c8['SHEET_VIEWPORT_KEY']['VIEW_MAIN']),_0x5ccda0=_0x3e8346[_0x52a7f0(0x1c6)](_0x1e15c8[_0x52a7f0(0x42c)][_0x52a7f0(0x21b)]([_0xb8d123,_0x5245db]),_0x1d411c),_0x1ac57c=_0x13410c[_0x52a7f0(0x3b6)](_0x213f93,_0xd26913,_0x192dee,_0x425f19,_0x5ccda0);((_0x373c73=this['_lastPointer'])==null?void 0x0:_0x373c73[_0x52a7f0(0x1f5)])===_0x1ac57c[_0x52a7f0(0x1f5)]&&((_0x3f1bf6=this['_lastPointer'])==null?void 0x0:_0x3f1bf6[_0x52a7f0(0x3a0)])===_0x1ac57c['row']||this[_0x52a7f0(0x247)][_0x52a7f0(0x311)](_0x44d572=>{_0x44d572['onMouseMove'](_0x1ac57c);});},0x64));});}[_0x529647(0x3aa)](_0x4b09d7,_0x590ab6){const _0x2a6eda=_0x529647;var _0x5b9aca;const _0x1181f7=(_0x5b9aca=this[_0x2a6eda(0x3eb)][_0x2a6eda(0x261)]())==null?void 0x0:_0x5b9aca[_0x2a6eda(0x359)];if(!_0x1181f7)return;const _0x28c9f7=this[_0x2a6eda(0x227)]();if(!_0x28c9f7)return;this['_cursors'][_0x2a6eda(0x311)](_0x5c2251=>{const _0x2ef1b3=_0x2a6eda;_0x5c2251[_0x2ef1b3(0x34d)]();});const {scene:_0x4ce47d}=_0x28c9f7,_0x364021=_0x4e8dea(Array[_0x2a6eda(0x387)](_0x590ab6[_0x2a6eda(0x2ad)]()))[_0x2a6eda(0x2e3)](_0x314f97=>{const _0x4e2429=_0x2a6eda,{color:_0x32e5df,range:_0x3a8d06,name:_0x3f8689,selection:_0x177444,sheetID:_0xc3c149}=_0x314f97,{startColumn:_0x4c49c6,startRow:_0x55070d,endColumn:_0x525596,endRow:_0x2e170c}=_0x3a8d06,_0x2175bd=_0x476ef1[_0x4e2429(0x378)](_0x55070d,_0x4c49c6,_0x4ce47d,_0x1181f7),_0x2ea7bc=_0x476ef1[_0x4e2429(0x378)](_0x2e170c,_0x525596,_0x4ce47d,_0x1181f7),{columnHeaderHeightAndMarginTop:_0xa0cca}=_0x1181f7,{startX:_0x4d1e2e,startY:_0x38f591}=_0x2175bd,{endX:_0x3aa9ae,endY:_0x29547c}=_0x2ea7bc,_0x4f8fe5=_0x3aa9ae-_0x4d1e2e,_0x4032df=_0x29547c-_0x38f591,_0x323170={'labelPosition':_0x38f591-_0xa0cca>=_0xb0017e?'top':'bottom','sheetID':_0xc3c149,'range':_0x3a8d06,'color':_0x32e5df,'name':_0x3f8689,'selection':_0x177444,'left':_0x4d1e2e,'top':_0x38f591,'width':_0x4f8fe5,'height':_0x4032df,'evented':!0x1,'zIndex':_0x22e299};return new _0x65c813(_0x3f8689,_0x323170);});_0x4ce47d[_0x2a6eda(0x25b)](_0x364021,_0xf2452d),this[_0x2a6eda(0x247)]=new Set(_0x364021);}['_removeCollabCursors'](){const _0x44e1c2=_0x529647;var _0x1674cb;(_0x1674cb=this['_cursors'])==null||_0x1674cb[_0x44e1c2(0x311)](_0x532964=>_0x532964['dispose']());}[_0x529647(0x227)](){const _0x502189=_0x529647;return _0x476ef1['getSheetObject'](this[_0x502189(0x40a)][_0x502189(0x30a)],this['_context']);}};_0x254369=_0x525f2f([_0x41c8a5(0x1,_0x165790[_0x529647(0x337)](_0x476ef1[_0x529647(0x40b)])),_0x41c8a5(0x2,_0x165790['Inject'](_0x117536)),_0x41c8a5(0x3,_0x165790['Inject'](_0x165790[_0x529647(0x3c0)]))],_0x254369);function _0x4e8dea(_0x4bb1f2){const _0x206bd5=_0x529647,_0x5c650f=new Map();return _0x4bb1f2[_0x206bd5(0x311)](_0x13cd45=>{const _0x2162dd=_0x206bd5;if(_0x5c650f[_0x2162dd(0x317)](_0x13cd45[_0x2162dd(0x364)])){const _0x5ad52f=_0x5c650f[_0x2162dd(0x1b5)](_0x13cd45[_0x2162dd(0x364)]);_0x5ad52f[_0x2162dd(0x268)]+=',\x20'+_0x13cd45[_0x2162dd(0x268)];}else _0x5c650f[_0x2162dd(0x41c)](_0x13cd45[_0x2162dd(0x364)],_0x13cd45);}),Array[_0x206bd5(0x387)](_0x5c650f[_0x206bd5(0x2ad)]());}var _0x3fcd3e=Object[_0x529647(0x21c)],_0x15923a=(_0x39e690,_0x3ddaac,_0x349870,_0xd2117f)=>{for(var _0x2c13fa=_0xd2117f>0x1?void 0x0:_0xd2117f?_0x3fcd3e(_0x3ddaac,_0x349870):_0x3ddaac,_0x58a54e=_0x39e690['length']-0x1,_0x516c05;_0x58a54e>=0x0;_0x58a54e--)(_0x516c05=_0x39e690[_0x58a54e])&&(_0x2c13fa=_0x516c05(_0x2c13fa)||_0x2c13fa);return _0x2c13fa;},_0x3ea046=(_0xbdc261,_0x297ad3)=>(_0x1e4597,_0x7a86)=>_0x297ad3(_0x1e4597,_0x7a86,_0xbdc261);let _0x279a7d=class extends _0x165790[_0x529647(0x225)]{constructor(_0x52308b,_0x6804b2,_0x4ae444,_0x1a7b03,_0x4ff48c,_0x1b2e98){const _0x4af8c5=_0x529647;super(),this[_0x4af8c5(0x386)]=_0x52308b,this[_0x4af8c5(0x384)]=_0x6804b2,this['_collaborationUIEventService']=_0x4ae444,this[_0x4af8c5(0x3b7)]=_0x1a7b03,this[_0x4af8c5(0x313)]=_0x4ff48c,this['_localeService']=_0x1b2e98,this['_setupBeforeClosingHandler'](),this[_0x4af8c5(0x1c0)]();}[_0x529647(0x285)](){const _0x58779f=_0x529647;this[_0x58779f(0x203)](this[_0x58779f(0x386)]['registerBeforeClose'](()=>{const _0x1e4581=_0x58779f;if(this[_0x1e4581(0x384)]['saveTaskMap']['size'])return this[_0x1e4581(0x3b8)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x529647(0x1c0)](){const _0x2ac282=_0x529647;this[_0x2ac282(0x203)](this[_0x2ac282(0x276)]['event$'][_0x2ac282(0x35c)](_0x401839=>{const _0xbbd6b0=_0x2ac282;_0x401839['id']===_0x1efc97[_0xbbd6b0(0x1d9)]['OTHER_CLIENT_EDITING']&&this[_0xbbd6b0(0x3b7)][_0xbbd6b0(0x29a)]({'type':_0x3cf048[_0xbbd6b0(0x2d2)]['Warning'],'content':this[_0xbbd6b0(0x3b8)]['t'](_0xbbd6b0(0x1d0))}),_0x401839['id']===_0x1efc97[_0xbbd6b0(0x1d9)][_0xbbd6b0(0x239)]&&this[_0xbbd6b0(0x3b7)][_0xbbd6b0(0x29a)]({'type':_0x3cf048[_0xbbd6b0(0x2d2)][_0xbbd6b0(0x1e9)],'content':this[_0xbbd6b0(0x3b8)]['t'](_0xbbd6b0(0x237))}),_0x401839['id']===_0x1efc97[_0xbbd6b0(0x1d9)][_0xbbd6b0(0x3c6)]&&this[_0xbbd6b0(0x313)][_0xbbd6b0(0x29a)]({'title':this[_0xbbd6b0(0x3b8)]['t']('permission.title'),'content':this[_0xbbd6b0(0x3b8)]['t'](_0xbbd6b0(0x274)),'type':_0xbbd6b0(0x3d5),'duration':0x0}),_0x401839['id']===_0x1efc97[_0xbbd6b0(0x1d9)][_0xbbd6b0(0x3fc)]&&this[_0xbbd6b0(0x3b7)][_0xbbd6b0(0x29a)]({'type':_0x3cf048[_0xbbd6b0(0x2d2)][_0xbbd6b0(0x229)],'content':this[_0xbbd6b0(0x3b8)]['t']('collaboration.closeRoom')+'('+_0x401839[_0xbbd6b0(0x310)]+')'}),_0x401839['id']===_0x1efc97[_0xbbd6b0(0x1d9)]['JOIN_ROOM_FAILED']&&this[_0xbbd6b0(0x3b7)][_0xbbd6b0(0x29a)]({'type':_0x3cf048[_0xbbd6b0(0x2d2)][_0xbbd6b0(0x1e9)],'content':this[_0xbbd6b0(0x3b8)]['t'](_0x401839[_0xbbd6b0(0x310)]||'')}),_0x401839['id']===_0x1efc97['CollaborationUIEventId'][_0xbbd6b0(0x23e)]&&this[_0xbbd6b0(0x3b7)][_0xbbd6b0(0x29a)]({'type':_0x3cf048[_0xbbd6b0(0x2d2)][_0xbbd6b0(0x1e9)],'content':this[_0xbbd6b0(0x3b8)]['t'](_0xbbd6b0(0x3dc))}),_0x401839['id']===_0x1efc97['CollaborationUIEventId']['SOCKET_FAILED']&&this[_0xbbd6b0(0x3b7)][_0xbbd6b0(0x29a)]({'type':_0x3cf048[_0xbbd6b0(0x2d2)][_0xbbd6b0(0x229)],'content':this[_0xbbd6b0(0x3b8)]['t']('session.connection-failed')}),_0x401839['id']===_0x1efc97[_0xbbd6b0(0x1d9)][_0xbbd6b0(0x405)]&&this[_0xbbd6b0(0x3b7)]['show']({'type':_0x3cf048[_0xbbd6b0(0x2d2)][_0xbbd6b0(0x229)],'content':this[_0xbbd6b0(0x3b8)]['t'](_0xbbd6b0(0x38e))});}));}};_0x279a7d=_0x15923a([_0x3ea046(0x0,_0x46a2f6['IBeforeCloseService']),_0x3ea046(0x1,_0x1efc97[_0x529647(0x37a)]),_0x3ea046(0x2,_0x165790[_0x529647(0x337)](_0x1efc97['CollaborationUIEventService'])),_0x3ea046(0x3,_0x46a2f6[_0x529647(0x27a)]),_0x3ea046(0x4,_0x46a2f6[_0x529647(0x2f5)]),_0x3ea046(0x5,_0x165790[_0x529647(0x337)](_0x165790[_0x529647(0x1a8)]))],_0x279a7d);const _0x1cc92a=_0x529647(0x376),_0x482b11={};var _0x4cf142=Object[_0x529647(0x21c)],_0x367ec2=(_0x5ad513,_0x1e4d62,_0x2fbc37,_0x121906)=>{for(var _0x20e04f=_0x121906>0x1?void 0x0:_0x121906?_0x4cf142(_0x1e4d62,_0x2fbc37):_0x1e4d62,_0x3b6b37=_0x5ad513['length']-0x1,_0x4246a9;_0x3b6b37>=0x0;_0x3b6b37--)(_0x4246a9=_0x5ad513[_0x3b6b37])&&(_0x20e04f=_0x4246a9(_0x20e04f)||_0x20e04f);return _0x20e04f;},_0x55fc9e=(_0x7666da,_0x55f054)=>(_0x26e533,_0x195585)=>_0x55f054(_0x26e533,_0x195585,_0x7666da);let _0x488d59=class{constructor(_0x124a05,_0x3fdffb){this['_transformService']=_0x124a05,this['_renderManagerService']=_0x3fdffb;}['transformIMECache'](_0x1f4b21){const _0x58967c=_0x529647;this['_transformUndoRedoStack'](_0x1f4b21),this[_0x58967c(0x2af)](_0x1f4b21);}[_0x529647(0x27c)](_0x46f032){const _0x31facb=_0x529647,{unitID:_0x260e76}=_0x46f032,_0x2378ab=this[_0x31facb(0x1ff)]['getRenderById'](_0x260e76)[_0x31facb(0x29b)](_0x20f7f1[_0x31facb(0x25d)]),{redoCache:_0x400332}=_0x2378ab[_0x31facb(0x3b1)]();if(_0x400332[_0x31facb(0x3c3)]===0x0)return _0x46f032;let _0x3d43ae=_0x165790['Tools'][_0x31facb(0x242)](_0x46f032[_0x31facb(0x32d)][0x0]);for(let _0x37b4be=0x0;_0x37b4be<_0x400332[_0x31facb(0x3c3)];_0x37b4be++){const _0x29d456={'id':_0x31facb(0x3e7),'params':{..._0x400332[_0x37b4be]}},_0x57c23c=this[_0x31facb(0x292)]['transformMutation'](_0x3d43ae,_0x29d456,!0x1);if(_0x2b1f6e[_0x31facb(0x250)](_0x57c23c))throw _0x57c23c[_0x31facb(0x3d5)];_0x3d43ae=_0x57c23c[_0x31facb(0x431)];}return{..._0x165790[_0x31facb(0x2b0)][_0x31facb(0x242)](_0x46f032),'mutations':[_0x3d43ae]};}['_transformUndoRedoStack'](_0x409dd9){const _0x3ef0e8=_0x529647,{unitID:_0x1e49f1}=_0x409dd9,_0x10ce97=this['_renderManagerService']['getRenderById'](_0x1e49f1)[_0x3ef0e8(0x29b)](_0x20f7f1[_0x3ef0e8(0x25d)]),{undoCache:_0x23dfd4,redoCache:_0x378f79}=_0x10ce97['getUndoRedoMutationParamsCache']();if(_0x23dfd4[_0x3ef0e8(0x3c3)]===0x0||_0x378f79[_0x3ef0e8(0x3c3)]===0x0)return;const _0x2f69ac=[],_0x1788c0=[];let _0x53c85c=_0x165790[_0x3ef0e8(0x2b0)]['deepClone'](_0x409dd9[_0x3ef0e8(0x32d)][0x0]),_0x229cb2=_0x165790['Tools'][_0x3ef0e8(0x242)](_0x409dd9[_0x3ef0e8(0x32d)][0x0]);for(let _0xc786ce=_0x23dfd4[_0x3ef0e8(0x3c3)]-0x1;_0xc786ce>=0x0;_0xc786ce--){const _0x53edc7={'id':'doc.mutation.rich-text-editing','params':{..._0x23dfd4[_0xc786ce]}},_0x17e643={'id':_0x3ef0e8(0x3e7),'params':{..._0x378f79[_0xc786ce]}},_0x4f6b02=this[_0x3ef0e8(0x292)]['transformMutation'](_0x53c85c,_0x53edc7,!0x1),_0x27b7a4=this[_0x3ef0e8(0x292)][_0x3ef0e8(0x218)](_0x229cb2,_0x17e643,!0x1);if(_0x2b1f6e[_0x3ef0e8(0x250)](_0x4f6b02))throw _0x4f6b02[_0x3ef0e8(0x3d5)];if(_0x2b1f6e[_0x3ef0e8(0x250)](_0x27b7a4))throw _0x27b7a4[_0x3ef0e8(0x3d5)];_0x2f69ac['unshift'](_0x4f6b02['m2Prime']['params']),_0x1788c0[_0x3ef0e8(0x2dd)](_0x27b7a4[_0x3ef0e8(0x2fe)]['params']),_0x53c85c=_0x4f6b02['m1Prime'],_0x229cb2=_0x27b7a4[_0x3ef0e8(0x431)];}_0x10ce97['setUndoRedoMutationParamsCache']({'undoCache':_0x2f69ac,'redoCache':_0x1788c0});}['_transformPreviousActiveRange'](_0x158c3a){const _0x1ca598=_0x529647,{unitID:_0x33bf29}=_0x158c3a,_0x3dff61=this['_renderManagerService'][_0x1ca598(0x2ae)](_0x33bf29)[_0x1ca598(0x29b)](_0x20f7f1[_0x1ca598(0x25d)]),_0x3f6aad=_0x3dff61[_0x1ca598(0x34a)]();if(_0x3f6aad==null)return;const _0x248a4e=[{'id':_0x1ca598(0x3e7),'params':{'unitId':_0x158c3a[_0x1ca598(0x27e)],'actions':null,'textRanges':[_0x3f6aad]}}],_0x46c2f4=this[_0x1ca598(0x292)][_0x1ca598(0x290)](_0x158c3a,_0x248a4e);if(!_0x2b1f6e[_0x1ca598(0x302)](_0x46c2f4))throw _0x46c2f4['error'];const _0x5c4946=_0x46c2f4['m2Prime'][0x0]['params'][_0x1ca598(0x21d)];Array[_0x1ca598(0x333)](_0x5c4946)&&_0x5c4946[_0x1ca598(0x3c3)]&&_0x3dff61['setActiveRange'](_0x5c4946[0x0]);}};_0x488d59=_0x367ec2([_0x55fc9e(0x0,_0x2b1f6e[_0x529647(0x412)]),_0x55fc9e(0x1,_0x1e15c8[_0x529647(0x40f)])],_0x488d59);var _0x2196b6=Object['getOwnPropertyDescriptor'],_0x2b6d51=(_0x2b0e6b,_0x1450eb,_0x3b40bf,_0x2d9ef7)=>{const _0x4dd10b=_0x529647;for(var _0x365253=_0x2d9ef7>0x1?void 0x0:_0x2d9ef7?_0x2196b6(_0x1450eb,_0x3b40bf):_0x1450eb,_0x3f3a9f=_0x2b0e6b[_0x4dd10b(0x3c3)]-0x1,_0xac4efe;_0x3f3a9f>=0x0;_0x3f3a9f--)(_0xac4efe=_0x2b0e6b[_0x3f3a9f])&&(_0x365253=_0xac4efe(_0x365253)||_0x365253);return _0x365253;},_0x2100de=(_0x24dac5,_0x4eabfb)=>(_0x3ce3bc,_0x5c1cc5)=>_0x4eabfb(_0x3ce3bc,_0x5c1cc5,_0x24dac5);let _0x2d4b4e=class{constructor(_0x389597,_0x129703,_0x2f0687){const _0x504466=_0x529647;this[_0x504466(0x3c1)]=_0x389597,this[_0x504466(0x292)]=_0x129703,this[_0x504466(0x267)]=_0x2f0687;}[_0x529647(0x22d)](_0x48475e){this['_transformHistoryAndStateStack'](_0x48475e);}[_0x529647(0x27c)](_0x1b1734){const _0x5c21de=_0x529647,{unitID:_0x176fe1}=_0x1b1734,{collaboration:_0x10246d}=this[_0x5c21de(0x267)]['getStateCache'](_0x176fe1);if(_0x10246d['length']===0x0)return _0x1b1734;let _0x1bc73c=_0x165790[_0x5c21de(0x2b0)]['deepClone'](_0x1b1734[_0x5c21de(0x32d)][0x0]);for(let _0x151af9=0x0;_0x151af9<_0x10246d[_0x5c21de(0x3c3)];_0x151af9++){const _0x3e4ac3={'id':_0x5c21de(0x3e7),'params':{'unitId':_0x10246d[_0x151af9][_0x5c21de(0x408)],..._0x10246d[_0x151af9][_0x5c21de(0x32a)]}},_0x34493f=this[_0x5c21de(0x292)]['transformMutation'](_0x1bc73c,_0x3e4ac3,!0x1);if(_0x2b1f6e['isTransformMutationFailure'](_0x34493f))throw _0x34493f[_0x5c21de(0x3d5)];_0x1bc73c=_0x34493f[_0x5c21de(0x431)];}return{..._0x165790[_0x5c21de(0x2b0)]['deepClone'](_0x1b1734),'mutations':[_0x1bc73c]};}[_0x529647(0x3ad)](_0xd07072){const _0xb237=_0x529647,{unitID:_0x4b40fa}=_0xd07072,{history:_0xa35b6d,collaboration:_0x26fc81}=this[_0xb237(0x267)]['getStateCache'](_0x4b40fa);if(_0xa35b6d[_0xb237(0x3c3)]===0x0&&_0x26fc81[_0xb237(0x3c3)]===0x0)return;const _0x4389a5=[],_0x14d61d=[];let _0x2aa356=_0x165790['Tools']['deepClone'](_0xd07072[_0xb237(0x32d)][0x0]),_0x30ca85=_0x165790[_0xb237(0x2b0)][_0xb237(0x242)](_0xd07072[_0xb237(0x32d)][0x0]);for(let _0x3f94c4=_0xa35b6d[_0xb237(0x3c3)]-0x1;_0x3f94c4>=0x0;_0x3f94c4--){const _0x1990b4={'id':_0xb237(0x3e7),'params':{'unitId':_0xa35b6d[_0x3f94c4]['unitId'],..._0xa35b6d[_0x3f94c4][_0xb237(0x1fe)]}},_0x2e5aa1={'id':_0xb237(0x3e7),'params':{'unitId':_0xa35b6d[_0x3f94c4][_0xb237(0x408)],..._0xa35b6d[_0x3f94c4][_0xb237(0x32a)]}},_0x5069a0=this['_transformService'][_0xb237(0x218)](_0x2aa356,_0x1990b4,!0x1),_0x396246=this[_0xb237(0x292)][_0xb237(0x218)](_0x30ca85,_0x2e5aa1,!0x1);if(_0x2b1f6e['isTransformMutationFailure'](_0x5069a0))throw _0x5069a0[_0xb237(0x3d5)];if(_0x2b1f6e[_0xb237(0x250)](_0x396246))throw _0x396246['error'];_0x4389a5[_0xb237(0x2dd)]({..._0xa35b6d[_0x3f94c4],'undoState':_0x5069a0[_0xb237(0x2fe)][_0xb237(0x1ef)],'redoState':_0x396246[_0xb237(0x2fe)]['params']}),_0x2aa356=_0x5069a0[_0xb237(0x431)],_0x30ca85=_0x396246['m1Prime'];}_0x2aa356=_0x165790['Tools'][_0xb237(0x242)](_0xd07072['mutations'][0x0]),_0x30ca85=_0x165790[_0xb237(0x2b0)][_0xb237(0x242)](_0xd07072['mutations'][0x0]);for(let _0x577c9d=_0x26fc81[_0xb237(0x3c3)]-0x1;_0x577c9d>=0x0;_0x577c9d--){const _0x4ca52a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x26fc81[_0x577c9d]['unitId'],..._0x26fc81[_0x577c9d][_0xb237(0x1fe)]}},_0x1fc290={'id':_0xb237(0x3e7),'params':{'unitId':_0x26fc81[_0x577c9d][_0xb237(0x408)],..._0x26fc81[_0x577c9d][_0xb237(0x32a)]}},_0x518c46=this[_0xb237(0x292)][_0xb237(0x218)](_0x2aa356,_0x4ca52a,!0x1),_0x1fc7f6=this['_transformService'][_0xb237(0x218)](_0x30ca85,_0x1fc290,!0x1);if(_0x2b1f6e[_0xb237(0x250)](_0x518c46))throw _0x518c46[_0xb237(0x3d5)];if(_0x2b1f6e['isTransformMutationFailure'](_0x1fc7f6))throw _0x1fc7f6[_0xb237(0x3d5)];_0x14d61d[_0xb237(0x2dd)]({..._0x26fc81[_0x577c9d],'undoState':_0x518c46[_0xb237(0x2fe)][_0xb237(0x1ef)],'redoState':_0x1fc7f6[_0xb237(0x2fe)][_0xb237(0x1ef)]}),_0x2aa356=_0x518c46[_0xb237(0x431)],_0x30ca85=_0x1fc7f6[_0xb237(0x431)];}this['_docStateChangeManagerService']['setStateCache'](_0x4b40fa,{'history':_0x4389a5,'collaboration':_0x14d61d});}};_0x2d4b4e=_0x2b6d51([_0x2100de(0x0,_0x165790['Inject'](_0x165790[_0x529647(0x213)])),_0x2100de(0x1,_0x2b1f6e[_0x529647(0x412)]),_0x2100de(0x2,_0x165790['Inject'](_0x20f7f1['DocStateChangeManagerService']))],_0x2d4b4e);var _0x1538b5=Object[_0x529647(0x21c)],_0x185d2a=(_0x474e4b,_0x398538,_0x3c8dd4,_0x2d78ab)=>{for(var _0x107607=_0x2d78ab>0x1?void 0x0:_0x2d78ab?_0x1538b5(_0x398538,_0x3c8dd4):_0x398538,_0x12657f=_0x474e4b['length']-0x1,_0x1775c2;_0x12657f>=0x0;_0x12657f--)(_0x1775c2=_0x474e4b[_0x12657f])&&(_0x107607=_0x1775c2(_0x107607)||_0x107607);return _0x107607;},_0x6887ea=(_0x59a609,_0x354710)=>(_0xb58229,_0x9a8dca)=>_0x354710(_0xb58229,_0x9a8dca,_0x59a609);let _0x452f6b=class{constructor(_0x4ec178,_0x174d40){const _0x11e7bb=_0x529647;this['_injector']=_0x4ec178,this[_0x11e7bb(0x292)]=_0x174d40;}[_0x529647(0x214)](_0xaacf6){const _0x4303a4=_0x529647;var _0x4a7625;const _0xff89f6=this[_0x4303a4(0x3c1)]['get'](_0x20f8e5[_0x4303a4(0x327)]),_0x2ccf32=(_0x4a7625=_0xff89f6['getDocRanges']())!=null?_0x4a7625:[];if(_0x2ccf32[_0x4303a4(0x3c3)]===0x0)return;const _0x310274=_0xaacf6[_0x4303a4(0x27e)],_0x34e4a5=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x310274,'actions':null,'textRanges':_0x2ccf32}}],_0x177140=this[_0x4303a4(0x292)][_0x4303a4(0x290)](_0xaacf6,_0x34e4a5);if(!_0x2b1f6e[_0x4303a4(0x302)](_0x177140))throw _0x177140[_0x4303a4(0x3d5)];const _0x8b0a2a=_0x177140['m2Prime'][0x0][_0x4303a4(0x1ef)][_0x4303a4(0x21d)];Array[_0x4303a4(0x333)](_0x8b0a2a)&&_0x8b0a2a[_0x4303a4(0x3c3)]&&_0xff89f6[_0x4303a4(0x2aa)](_0x8b0a2a,{'unitId':_0x310274,'subUnitId':_0x310274},!0x1);}};_0x452f6b=_0x185d2a([_0x6887ea(0x0,_0x165790['Inject'](_0x165790[_0x529647(0x213)])),_0x6887ea(0x1,_0x2b1f6e[_0x529647(0x412)])],_0x452f6b);var _0x2c8485=Object[_0x529647(0x21c)],_0x4b2689=(_0x34954a,_0x351c42,_0x24eb1f,_0x3ac7dd)=>{const _0x21ce2e=_0x529647;for(var _0x2a0971=_0x3ac7dd>0x1?void 0x0:_0x3ac7dd?_0x2c8485(_0x351c42,_0x24eb1f):_0x351c42,_0x4d4f99=_0x34954a[_0x21ce2e(0x3c3)]-0x1,_0x4e21a2;_0x4d4f99>=0x0;_0x4d4f99--)(_0x4e21a2=_0x34954a[_0x4d4f99])&&(_0x2a0971=_0x4e21a2(_0x2a0971)||_0x2a0971);return _0x2a0971;},_0x5ef263=(_0x1cb837,_0x3b8bbb)=>(_0x5c93ee,_0x145449)=>_0x3b8bbb(_0x5c93ee,_0x145449,_0x1cb837);let _0x5f15a4=class extends _0x165790['Disposable']{constructor(_0x4939af,_0x29f768,_0x576c38,_0x36a29e,_0x59e1b1,_0x35225f,_0x10c884,_0x55468b){const _0x59869b=_0x529647;super(),_0x1bb758(this,_0x59869b(0x328),new _0x278be1['BehaviorSubject'](_0x1efc97['CollaborationStatus'][_0x59869b(0x255)])),(this[_0x59869b(0x267)]=_0x4939af,this[_0x59869b(0x35a)]=_0x29f768,this[_0x59869b(0x432)]=_0x576c38,this['_docTransformStateCacheService']=_0x36a29e,this[_0x59869b(0x3de)]=_0x59e1b1,this[_0x59869b(0x40d)]=_0x35225f,this[_0x59869b(0x3b7)]=_0x10c884,this[_0x59869b(0x3b8)]=_0x55468b,this['_initEntityListener']());}[_0x529647(0x32c)](){const _0x46e7fc=_0x529647;this[_0x46e7fc(0x203)](this[_0x46e7fc(0x35a)][_0x46e7fc(0x1d7)][_0x46e7fc(0x35c)](_0x5ea88b=>{const _0x37e895=_0x46e7fc,_0xef5c31=this[_0x37e895(0x267)][_0x37e895(0x208)][_0x37e895(0x35c)](_0x125453=>{const _0x199188=_0x37e895;if(_0x125453==null)return;const {unitId:_0x2d3997,redoState:_0x3839ad,commandId:_0x1b8a8c}=_0x125453;if(_0x2d3997!==_0x5ea88b[_0x199188(0x27e)])return;const _0x292d4b={'id':_0x1b8a8c,'type':_0x165790[_0x199188(0x30c)][_0x199188(0x2f2)],'params':{'unitId':_0x2d3997,'actions':_0x3839ad[_0x199188(0x362)],'textRanges':null}};_0x5ea88b[_0x199188(0x1dc)](_0x292d4b);});if(_0x5ea88b[_0x37e895(0x203)](_0xef5c31),_0x5ea88b instanceof _0x1efc97[_0x37e895(0x320)]){const _0x18a35a={'onTransformIME':_0x30c7ec=>this['_docTransformIMECacheService']['transformIMECache'](_0x30c7ec),'onTransformState':_0x11b7d1=>this[_0x37e895(0x24d)][_0x37e895(0x22d)](_0x11b7d1),'onTransformSelections':_0x35959d=>this[_0x37e895(0x3de)][_0x37e895(0x214)](_0x35959d),'onSyncEditingCollabCursor':_0x17d626=>this['_docSyncEditingCollabCursorService'][_0x37e895(0x38c)](_0x17d626),'onTransformRemoteChangesetByIMECache':_0x370c21=>this[_0x37e895(0x432)]['transformRemoteChangeset'](_0x370c21),'onTransformRemoteChangesetByStateCache':_0x33d1f0=>this[_0x37e895(0x24d)][_0x37e895(0x27c)](_0x33d1f0)};_0x5ea88b[_0x37e895(0x1d8)](_0x18a35a);}}));}};_0x5f15a4=_0x4b2689([_0x5ef263(0x0,_0x165790['Inject'](_0x20f7f1[_0x529647(0x31b)])),_0x5ef263(0x1,_0x165790[_0x529647(0x337)](_0x1efc97['CollaborationController'])),_0x5ef263(0x2,_0x165790[_0x529647(0x337)](_0x488d59)),_0x5ef263(0x3,_0x165790[_0x529647(0x337)](_0x2d4b4e)),_0x5ef263(0x4,_0x165790[_0x529647(0x337)](_0x452f6b)),_0x5ef263(0x5,_0x165790[_0x529647(0x337)](_0x58216b)),_0x5ef263(0x6,_0x46a2f6[_0x529647(0x27a)]),_0x5ef263(0x7,_0x165790['Inject'](_0x165790[_0x529647(0x1a8)]))],_0x5f15a4);var _0x65c73d=Object['getOwnPropertyDescriptor'],_0x4b5958=(_0x1496ef,_0x1437d8,_0x1db03b,_0x22a9bb)=>{const _0x2fd08a=_0x529647;for(var _0x59f2e6=_0x22a9bb>0x1?void 0x0:_0x22a9bb?_0x65c73d(_0x1437d8,_0x1db03b):_0x1437d8,_0x5aed3e=_0x1496ef[_0x2fd08a(0x3c3)]-0x1,_0xbade70;_0x5aed3e>=0x0;_0x5aed3e--)(_0xbade70=_0x1496ef[_0x5aed3e])&&(_0x59f2e6=_0xbade70(_0x59f2e6)||_0x59f2e6);return _0x59f2e6;},_0x4cb135=(_0x127b37,_0x3f92e8)=>(_0x38b366,_0x570c37)=>_0x3f92e8(_0x38b366,_0x570c37,_0x127b37);let _0xb7ed89=class extends _0x165790[_0x529647(0x225)]{constructor(_0x5476c2,_0x5f2b95,_0x587afe){const _0x30ede2=_0x529647;super(),_0x1bb758(this,'_cachedData',new Map()),_0x1bb758(this,_0x30ede2(0x3a8),new Map()),_0x1bb758(this,_0x30ede2(0x382),!0x1),(this[_0x30ede2(0x1c9)]=_0x5476c2,this[_0x30ede2(0x26d)]=_0x5f2b95,this[_0x30ede2(0x28e)]=_0x587afe);}[_0x529647(0x279)](){const _0x141f00=_0x529647;this[_0x141f00(0x382)]=!0x0;}[_0x529647(0x2f8)](){const _0x5e1fb5=_0x529647;this[_0x5e1fb5(0x382)]=!0x1;}get[_0x529647(0x398)](){return this['_saveTaskMap'];}[_0x529647(0x23c)](){const _0x214a02=_0x529647;this[_0x214a02(0x36c)]()[_0x214a02(0x306)](()=>super[_0x214a02(0x23c)]());}async['loadOfflineData'](_0x3a1bca){const _0x3317ce=_0x529647;return this[_0x3317ce(0x382)]?null:this[_0x3317ce(0x26d)][_0x3317ce(0x1d3)](_0x1efc97['getLocalCacheKey'](_0x3a1bca));}async[_0x529647(0x41d)](_0x1bdab7,_0x457b42){const _0x394097=_0x529647;return!!this[_0x394097(0x26d)]['setItem'](_0x1bdab7,_0x457b42);}['updateOfflineData'](_0x4ba7a7,_0x79f2d,_0x241693,_0x4af316){const _0x2e1300=_0x529647,_0x98f62=this['_revisionService'][_0x2e1300(0x2b6)](_0x4ba7a7);this[_0x2e1300(0x3e6)][_0x2e1300(0x41c)](_0x4ba7a7,{'unitID':_0x4ba7a7,'type':_0x79f2d,'awaitingChangeset':_0x241693,'mutations':_0x4af316,'rev':_0x98f62}),this[_0x2e1300(0x3a8)][_0x2e1300(0x317)](_0x4ba7a7)||this[_0x2e1300(0x3ff)](_0x4ba7a7);}[_0x529647(0x3ff)](_0x319a63){const _0x5376b6=_0x529647,_0x45fc9d=this[_0x5376b6(0x2e4)]();_0x45fc9d===0x0?this[_0x5376b6(0x1e8)](_0x319a63):this[_0x5376b6(0x3a8)][_0x5376b6(0x41c)](_0x319a63,setTimeout(()=>this[_0x5376b6(0x1e8)](_0x319a63),_0x45fc9d));}[_0x529647(0x2e4)](){const _0x529c22=_0x529647;var _0x3536c8;return(_0x3536c8=this[_0x529c22(0x1c9)][_0x529c22(0x235)](_0x1efc97[_0x529c22(0x2bf)]))!=null?_0x3536c8:_0x1efc97[_0x529c22(0x2fd)];}[_0x529647(0x1e8)](_0x42d53a){const _0x3be2d4=_0x529647,_0x2891dd=this[_0x3be2d4(0x3a8)]['get'](_0x42d53a);return _0x2891dd!==void 0x0&&window[_0x3be2d4(0x2d6)](_0x2891dd),this[_0x3be2d4(0x26d)][_0x3be2d4(0x296)](_0x1efc97[_0x3be2d4(0x3e5)](_0x42d53a),this[_0x3be2d4(0x3e6)]['get'](_0x42d53a))[_0x3be2d4(0x306)](()=>this[_0x3be2d4(0x3a8)]['delete'](_0x42d53a));}async[_0x529647(0x36c)](){const _0x19c1b0=_0x529647,_0x2f4c4c=[];this[_0x19c1b0(0x3a8)]['forEach']((_0x243f2c,_0x4dcf20)=>{const _0xc061a2=_0x19c1b0;window['clearTimeout'](_0x243f2c),_0x2f4c4c[_0xc061a2(0x1c7)](this['_saveCache'](_0x4dcf20)[_0xc061a2(0x306)](()=>{const _0x325cb5=_0xc061a2;this[_0x325cb5(0x3a8)][_0x325cb5(0x371)](_0x4dcf20);}));}),await Promise[_0x19c1b0(0x385)](_0x2f4c4c);}};_0xb7ed89=_0x4b5958([_0x4cb135(0x0,_0x165790[_0x529647(0x2ff)]),_0x4cb135(0x1,_0x165790[_0x529647(0x209)]),_0x4cb135(0x2,_0x165790['Inject'](_0x2b1f6e['RevisionService']))],_0xb7ed89);class _0x4670c6 extends _0x165790[_0x529647(0x270)]{constructor(){const _0x56fd1d=_0x529647;super(),_0x1bb758(this,_0x56fd1d(0x3e3)),this['urlChange$']=_0x278be1[_0x56fd1d(0x43a)](window,'popstate')[_0x56fd1d(0x1f3)](_0x278be1[_0x56fd1d(0x202)](this[_0x56fd1d(0x2d3)]),_0x278be1[_0x56fd1d(0x363)](0x1),_0x278be1['mapTo'](void 0x0));}[_0x529647(0x1ad)](_0x31b43c,_0x58a937,_0x56c663=!0x1){const _0x1fbcec=_0x529647,_0x32b651=new URL(window[_0x1fbcec(0x29f)][_0x1fbcec(0x2f0)]);_0x32b651[_0x1fbcec(0x3bc)][_0x1fbcec(0x41c)](_0x31b43c,_0x58a937),_0x56c663?window[_0x1fbcec(0x245)]['replaceState']('','',_0x32b651[_0x1fbcec(0x1db)]()):window[_0x1fbcec(0x245)][_0x1fbcec(0x25f)]('','',_0x32b651[_0x1fbcec(0x1db)]());}[_0x529647(0x1c1)](_0x35779e,_0x2d34e9=!0x1){const _0x513020=_0x529647,_0x5c4a9d=new URL(window['location'][_0x513020(0x2f0)]);_0x5c4a9d[_0x513020(0x3bc)][_0x513020(0x371)](_0x35779e),_0x2d34e9?window['history']['replaceState']('','',_0x5c4a9d[_0x513020(0x1db)]()):window['history'][_0x513020(0x25f)]('','',_0x5c4a9d[_0x513020(0x1db)]());}[_0x529647(0x26a)](_0x9d3f7f){const _0x46bbfb=_0x529647;var _0x43ddcb;return(_0x43ddcb=new URL(window[_0x46bbfb(0x29f)]['href'])[_0x46bbfb(0x3bc)][_0x46bbfb(0x1b5)](_0x9d3f7f))!=null?_0x43ddcb:void 0x0;}}var _0x764234=Object[_0x529647(0x22a)],_0x2f226d=Object['getOwnPropertyDescriptor'],_0x1d2ef9=(_0x2db2e4,_0x40632b,_0xb65a94)=>_0x40632b in _0x2db2e4?_0x764234(_0x2db2e4,_0x40632b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xb65a94}):_0x2db2e4[_0x40632b]=_0xb65a94,_0x5929db=(_0x38dcb0,_0x413246,_0x223e0e,_0x347ef1)=>{const _0x1eb5e8=_0x529647;for(var _0x1fc18d=_0x347ef1>0x1?void 0x0:_0x347ef1?_0x2f226d(_0x413246,_0x223e0e):_0x413246,_0x3a08e9=_0x38dcb0[_0x1eb5e8(0x3c3)]-0x1,_0x481e1b;_0x3a08e9>=0x0;_0x3a08e9--)(_0x481e1b=_0x38dcb0[_0x3a08e9])&&(_0x1fc18d=_0x481e1b(_0x1fc18d)||_0x1fc18d);return _0x1fc18d;},_0x31c56e=(_0x1bcdc4,_0x41b012)=>(_0x50c2b5,_0x5ed4bb)=>_0x41b012(_0x50c2b5,_0x5ed4bb,_0x1bcdc4),_0x47be9f=(_0x37e6b7,_0x50120d,_0x44a246)=>_0x1d2ef9(_0x37e6b7,_0x50120d+'',_0x44a246);const _0x21ac4a=_0x529647(0x28f);_0x53f44c[_0x529647(0x3d1)]=class extends _0x165790[_0x529647(0x1d1)]{constructor(_0x5a27f3=_0x482b11,_0x1ede6f,_0x3c7a0c,_0x43c3bb){const _0x568814=_0x529647;super(),this[_0x568814(0x24a)]=_0x5a27f3,this[_0x568814(0x1ff)]=_0x1ede6f,this[_0x568814(0x3c1)]=_0x3c7a0c,this['_configService']=_0x43c3bb;const {..._0x2c9e2c}=_0x165790[_0x568814(0x35b)]({},_0x482b11,this['_config']);this[_0x568814(0x1c9)][_0x568814(0x2ed)](_0x1cc92a,_0x2c9e2c);}['onStarting'](){const _0xdebf6d=_0x529647;this[_0xdebf6d(0x240)](),this[_0xdebf6d(0x335)]();}[_0x529647(0x20b)](){const _0x9833ae=_0x529647;this[_0x9833ae(0x39f)]();}[_0x529647(0x240)](){const _0x340d0f=_0x529647;var _0x5b8f4b;const _0x9cd990=[[_0x4f197f],[_0x452f6b],[_0x488d59],[_0x2d4b4e],[_0x58216b],[_0x3fd2ab,{'useClass':_0x4670c6}],[_0x3f48c5['ISocketService'],{'useClass':_0x3f48c5[_0x340d0f(0x35d)]}],[_0x1efc97[_0x340d0f(0x37a)],{'useClass':_0xb7ed89}],[_0x53f44c[_0x340d0f(0x3ea)]],[_0x5f15a4],[_0x279a7d],[_0x117536],[_0x684b41],[_0x53f44c[_0x340d0f(0x230)]]];_0x165790[_0x340d0f(0x3fb)](this['_injector'],_0x165790[_0x340d0f(0x31a)](_0x9cd990,(_0x5b8f4b=this[_0x340d0f(0x24a)])==null?void 0x0:_0x5b8f4b[_0x340d0f(0x2da)]));}[_0x529647(0x39f)](){const _0x2d018e=_0x529647;this[_0x2d018e(0x203)](this[_0x2d018e(0x1ff)][_0x2d018e(0x1d6)](_0x165790[_0x2d018e(0x2c0)][_0x2d018e(0x300)],[_0x152775])),this[_0x2d018e(0x203)](this['_renderManagerService']['registerRenderModule'](_0x165790[_0x2d018e(0x2c0)][_0x2d018e(0x2d1)],[_0x254369]));}[_0x529647(0x335)](){const _0x113720=_0x529647;_0x165790[_0x113720(0x28a)](this[_0x113720(0x3c1)],[[_0x117536],[_0x53f44c['DesktopCollaborationStatusDisplayController']],[_0x5f15a4],[_0x279a7d],[_0x53f44c['CollaborationDataLoaderController']]]);}},_0x47be9f(_0x53f44c[_0x529647(0x3d1)],_0x529647(0x383),_0x21ac4a),_0x53f44c[_0x529647(0x3d1)]=_0x5929db([_0x165790[_0x529647(0x433)](_0x1efc97[_0x529647(0x1cc)]),_0x31c56e(0x1,_0x1e15c8['IRenderManagerService']),_0x31c56e(0x2,_0x165790[_0x529647(0x337)](_0x165790['Injector'])),_0x31c56e(0x3,_0x165790[_0x529647(0x2ff)])],_0x53f44c['UniverCollaborationClientUIPlugin']);var _0x1428c2=Object[_0x529647(0x21c)],_0x34d424=(_0x433911,_0x190ef3,_0x27c57e,_0x4595e3)=>{const _0x4c0f17=_0x529647;for(var _0x1b622a=_0x4595e3>0x1?void 0x0:_0x4595e3?_0x1428c2(_0x190ef3,_0x27c57e):_0x190ef3,_0x5ebef0=_0x433911[_0x4c0f17(0x3c3)]-0x1,_0x6ba218;_0x5ebef0>=0x0;_0x5ebef0--)(_0x6ba218=_0x433911[_0x5ebef0])&&(_0x1b622a=_0x6ba218(_0x1b622a)||_0x1b622a);return _0x1b622a;},_0x515d12=(_0x4773e6,_0x1ac92e)=>(_0x1dfa5f,_0x1583d8)=>_0x1ac92e(_0x1dfa5f,_0x1583d8,_0x4773e6);_0x53f44c[_0x529647(0x23d)]=class extends _0x1efc97[_0x529647(0x2fb)]{constructor(_0x5149e1,_0x359777,_0x2aeddb,_0x522ca9,_0x1d20b4){super(_0x5149e1,_0x359777,_0x2aeddb,_0x522ca9,_0x1d20b4);}async[_0x529647(0x204)](_0x4c47fe){const _0x39ed49=_0x529647,_0x4840c1=await this[_0x39ed49(0x262)](),_0x24b630=this[_0x39ed49(0x35e)](_0x4c47fe,_0x4840c1);return this[_0x39ed49(0x3e2)](_0x24b630);}[_0x529647(0x35e)](_0x53c833,_0x5f0936){const _0x3e1984=_0x529647,_0x2a97d1=typeof window>'u'?new URL(_0x53c833):new URL(_0x53c833,window['location'][_0x3e1984(0x437)]);_0x2a97d1['searchParams'][_0x3e1984(0x41c)](_0x3e1984(0x395),_0x5f0936);const _0x27bd19=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x3e1984(0x30e)]);return _0x27bd19[_0x3e1984(0x1b5)]('runId')&&_0x2a97d1['searchParams'][_0x3e1984(0x41c)]('runId',_0x27bd19[_0x3e1984(0x1b5)](_0x3e1984(0x23a))),_0x2a97d1['toString']();}async['_getSessionTicket'](){const _0x585887=_0x529647;var _0x1e6656,_0x370e97,_0x1725b0;const _0xa0c345=this[_0x585887(0x1c9)]['getConfig'](_0x1efc97[_0x585887(0x256)]),_0xfd6760=(_0x1e6656=_0xa0c345==null?void 0x0:_0xa0c345['wsSessionTicketUrl'])!=null?_0x1e6656:_0x1efc97[_0x585887(0x435)];return(_0x1725b0=(_0x370e97=(await this['_httpService'][_0x585887(0x1b5)](_0xfd6760,{'headers':{'Content-Type':_0x585887(0x207)}}))[_0x585887(0x357)])==null?void 0x0:_0x370e97['ticket'])!=null?_0x1725b0:'';}},_0x53f44c[_0x529647(0x23d)]=_0x34d424([_0x515d12(0x0,_0x165790[_0x529647(0x337)](_0x165790[_0x529647(0x213)])),_0x515d12(0x1,_0x165790[_0x529647(0x337)](_0x3f48c5[_0x529647(0x24c)])),_0x515d12(0x2,_0x165790[_0x529647(0x2ff)]),_0x515d12(0x3,_0x165790[_0x529647(0x25c)]),_0x515d12(0x4,_0x2b1f6e[_0x529647(0x312)])],_0x53f44c[_0x529647(0x23d)]);var _0x2cbf62=(_0x5568bd=>(_0x5568bd[_0x5568bd[_0x529647(0x24f)]=0x0]=_0x529647(0x24f),_0x5568bd[_0x5568bd['OK']=0x1]='OK',_0x5568bd[_0x5568bd[_0x529647(0x293)]=0x2]=_0x529647(0x293),_0x5568bd[_0x5568bd[_0x529647(0x3c6)]=0x3]=_0x529647(0x3c6),_0x5568bd[_0x5568bd[_0x529647(0x2b8)]=0x4]='NOT_FOUND',_0x5568bd[_0x5568bd[_0x529647(0x2d8)]=0x5]=_0x529647(0x2d8),_0x5568bd[_0x5568bd[_0x529647(0x3ae)]=0x6]='ALREADY_EXISTS',_0x5568bd[_0x5568bd[_0x529647(0x249)]=0x7]=_0x529647(0x249),_0x5568bd[_0x5568bd[_0x529647(0x1e7)]=0x8]='TOO_MANY_REQUESTS',_0x5568bd[_0x5568bd[_0x529647(0x2cc)]=0x9]=_0x529647(0x2cc),_0x5568bd[_0x5568bd[_0x529647(0x271)]=0xa]='LOGIN_FAILED',_0x5568bd[_0x5568bd['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x529647(0x326),_0x5568bd[_0x5568bd['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x529647(0x373),_0x5568bd[_0x5568bd['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x5568bd[_0x5568bd['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x529647(0x339),_0x5568bd[_0x5568bd['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x529647(0x286),_0x5568bd[_0x5568bd[_0x529647(0x3d4)]=0x1771]=_0x529647(0x3d4),_0x5568bd[_0x5568bd[_0x529647(0x1e2)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x5568bd[_0x5568bd[_0x529647(0x264)]=0x1773]=_0x529647(0x264),_0x5568bd[_0x5568bd[_0x529647(0x26b)]=0x1b59]=_0x529647(0x26b),_0x5568bd[_0x5568bd[_0x529647(0x275)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x5568bd[_0x5568bd[_0x529647(0x281)]=0x1b5b]=_0x529647(0x281),_0x5568bd[_0x5568bd[_0x529647(0x1b4)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x5568bd[_0x5568bd['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x5568bd[_0x5568bd[_0x529647(0x1bd)]=0x1f41]=_0x529647(0x1bd),_0x5568bd[_0x5568bd['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5568bd[_0x5568bd[_0x529647(0x1e3)]=0x232a]=_0x529647(0x1e3),_0x5568bd[_0x5568bd[_0x529647(0x30b)]=0x232b]=_0x529647(0x30b),_0x5568bd[_0x5568bd[_0x529647(0x2e1)]=0x232c]=_0x529647(0x2e1),_0x5568bd[_0x5568bd[_0x529647(0x2b2)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x5568bd[_0x5568bd[_0x529647(0x425)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x5568bd[_0x5568bd[_0x529647(0x391)]=0x2712]=_0x529647(0x391),_0x5568bd[_0x5568bd[_0x529647(0x2c2)]=0x2713]=_0x529647(0x2c2),_0x5568bd[_0x5568bd[_0x529647(0x232)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5568bd[_0x5568bd[_0x529647(0x32e)]=0x271a]=_0x529647(0x32e),_0x5568bd[_0x5568bd[_0x529647(0x29d)]=0x271b]=_0x529647(0x29d),_0x5568bd[_0x5568bd[_0x529647(0x3ee)]=0x271c]=_0x529647(0x3ee),_0x5568bd[_0x5568bd[_0x529647(0x358)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x5568bd[_0x5568bd[_0x529647(0x370)]=0x271e]=_0x529647(0x370),_0x5568bd[_0x5568bd[_0x529647(0x3ec)]=0x271f]=_0x529647(0x3ec),_0x5568bd[_0x5568bd[_0x529647(0x354)]=0x2720]=_0x529647(0x354),_0x5568bd[_0x5568bd[_0x529647(0x278)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x5568bd[_0x5568bd['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x529647(0x2ba),_0x5568bd[_0x5568bd[_0x529647(0x3cb)]=0x2ee2]=_0x529647(0x3cb),_0x5568bd[_0x5568bd[_0x529647(0x2a1)]=0x2ee3]=_0x529647(0x2a1),_0x5568bd[_0x5568bd[_0x529647(0x38f)]=0x2ee4]=_0x529647(0x38f),_0x5568bd[_0x5568bd[_0x529647(0x319)]=0x2ee5]=_0x529647(0x319),_0x5568bd[_0x5568bd[_0x529647(0x1b0)]=0x32c9]=_0x529647(0x1b0),_0x5568bd[_0x5568bd[_0x529647(0x32f)]=0x32ca]=_0x529647(0x32f),_0x5568bd[_0x5568bd[_0x529647(0x3db)]=0x32cb]=_0x529647(0x3db),_0x5568bd[_0x5568bd[_0x529647(0x1f7)]=-0x1]=_0x529647(0x1f7),_0x5568bd))(_0x2cbf62||{}),_0x3e93f7=Object[_0x529647(0x21c)],_0x43320a=(_0x3bedf1,_0x24b3f8,_0x137275,_0x2251d0)=>{for(var _0x427ce7=_0x2251d0>0x1?void 0x0:_0x2251d0?_0x3e93f7(_0x24b3f8,_0x137275):_0x24b3f8,_0x2d44e2=_0x3bedf1['length']-0x1,_0x42dc24;_0x2d44e2>=0x0;_0x2d44e2--)(_0x42dc24=_0x3bedf1[_0x2d44e2])&&(_0x427ce7=_0x42dc24(_0x427ce7)||_0x427ce7);return _0x427ce7;},_0x24917b=(_0x55cdae,_0x430661)=>(_0x2a3ec2,_0x5b92b3)=>_0x430661(_0x2a3ec2,_0x5b92b3,_0x55cdae);_0x53f44c['RemoteUniscriptService']=class extends _0x165790[_0x529647(0x225)]{constructor(_0x585fd0,_0x2a7fa0,_0x243a5a){const _0xaf1cd6=_0x529647;super(),this[_0xaf1cd6(0x1da)]=_0x585fd0,this[_0xaf1cd6(0x2d9)]=_0x2a7fa0,this[_0xaf1cd6(0x1c9)]=_0x243a5a;}async[_0x529647(0x403)](_0x29e47b,_0x3fc5c8,_0x1cf89c,..._0x3c95e1){const _0xb25937=_0x529647;var _0x561497,_0x1147a5,_0x4067ab,_0x13384e;const _0x27f952=this['_instanceService']['getFocusedUnit']();if(!_0x27f952)throw new Error(_0xb25937(0x365));const _0x4beb33=((_0x561497=this[_0xb25937(0x1c9)][_0xb25937(0x235)](_0x1efc97['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x561497:_0x1efc97[_0xb25937(0x265)])+'/'+_0x29e47b+_0xb25937(0x309)+_0x3fc5c8,_0x5b2da9=new URL(window[_0xb25937(0x29f)][_0xb25937(0x2f0)]),_0x670acb={'scriptId':_0x29e47b,'runId':(_0x1147a5=_0x5b2da9[_0xb25937(0x3bc)][_0xb25937(0x1b5)](_0xb25937(0x23a)))!=null?_0x1147a5:'','function':_0x3fc5c8,'unitId':_0x27f952[_0xb25937(0x2a0)](),'argsOfFunction':JSON[_0xb25937(0x2f6)](_0x3c95e1),'invokeId':(_0x4067ab=_0x1cf89c[_0xb25937(0x3cf)])!=null?_0x4067ab:'','executionId':(_0x13384e=_0x1cf89c[_0xb25937(0x394)])!=null?_0x13384e:''};try{const _0xf9bd91=await this[_0xb25937(0x2d9)][_0xb25937(0x3d2)](_0x4beb33,{'body':_0x670acb});return _0xf9bd91[_0xb25937(0x357)][_0xb25937(0x3d5)]&&_0xf9bd91[_0xb25937(0x357)][_0xb25937(0x3d5)][_0xb25937(0x31f)]!==_0x2cbf62['OK']?_0xb25937(0x323):_0xf9bd91[_0xb25937(0x357)][_0xb25937(0x2b4)];}catch{return _0xb25937(0x323);}}},_0x53f44c[_0x529647(0x269)]=_0x43320a([_0x24917b(0x0,_0x165790['IUniverInstanceService']),_0x24917b(0x1,_0x165790[_0x529647(0x337)](_0x3f48c5['HTTPService'])),_0x24917b(0x2,_0x165790[_0x529647(0x2ff)])],_0x53f44c[_0x529647(0x269)]);const _0x3eef8a=0x7530,_0x39e72='ACTIVE_UNIT_EVENT_CHANNEL';class _0x58364f extends _0x165790[_0x529647(0x225)]{constructor(){const _0x1d263b=_0x529647;super(),_0x1bb758(this,_0x1d263b(0x399),_0x165790[_0x1d263b(0x2db)]()),_0x1bb758(this,'_selfUnitIDs',new Set()),_0x1bb758(this,_0x1d263b(0x2c6),new Map()),_0x1bb758(this,_0x1d263b(0x211),null),_0x1bb758(this,_0x1d263b(0x283),new Map()),_0x1bb758(this,_0x1d263b(0x39c),new Map()),this[_0x1d263b(0x2b7)]();}[_0x529647(0x23c)](){const _0x298950=_0x529647;super[_0x298950(0x23c)](),this[_0x298950(0x283)][_0x298950(0x311)]((_0x18c34d,_0xfc3593)=>this[_0x298950(0x3a6)](_0xfc3593)),this[_0x298950(0x211)]&&window[_0x298950(0x1e6)](this[_0x298950(0x211)]);}[_0x529647(0x3dd)](_0x34bcbc){const _0x1cb737=_0x529647;return this['_ensureSubject'](_0x34bcbc)['pipe'](_0x278be1[_0x1cb737(0x2a7)]());}[_0x529647(0x2b1)](_0x2d84ee){const _0xe8c0e1=_0x529647;this['_selfUnitIDs'][_0xe8c0e1(0x361)]===0x0&&this[_0xe8c0e1(0x2e6)](),this[_0xe8c0e1(0x2ec)][_0xe8c0e1(0x2f4)](_0x2d84ee),this['_send']({'type':0x0,'memberID':this[_0xe8c0e1(0x399)],'unitIDs':[_0x2d84ee],'isForwarded':!0x1});}['disposeUnit'](_0x13e0ca){const _0x438be2=_0x529647;this[_0x438be2(0x2ec)][_0x438be2(0x371)](_0x13e0ca),this['_selfUnitIDs'][_0x438be2(0x361)]===0x0&&this[_0x438be2(0x211)]&&window['clearInterval'](this[_0x438be2(0x211)]);}[_0x529647(0x2b7)](){const _0x305ebc=_0x529647;this[_0x305ebc(0x203)](_0x165790[_0x305ebc(0x422)](_0x278be1[_0x305ebc(0x43a)](window,_0x305ebc(0x24b))[_0x305ebc(0x35c)](_0x3b80b9=>{const _0x5e4be2=_0x305ebc;if(_0x3b80b9[_0x5e4be2(0x3ba)]!==_0x39e72||!_0x3b80b9[_0x5e4be2(0x38b)])return;const _0x1d0d6e=JSON[_0x5e4be2(0x1df)](_0x3b80b9['newValue']);this[_0x5e4be2(0x294)](_0x1d0d6e);}))),window[_0x305ebc(0x299)](_0x305ebc(0x2ac),()=>this['_send']({'type':0x1,'memberID':this[_0x305ebc(0x399)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0x529647(0x294)](_0x1534a4){const _0x503161=_0x529647;switch(_0x1534a4['type']){case 0x0:this[_0x503161(0x248)](_0x1534a4);break;case 0x1:this[_0x503161(0x37b)](_0x1534a4);break;case 0x2:this[_0x503161(0x3f8)](_0x1534a4);break;}}[_0x529647(0x248)](_0x56d8ce){const _0x5899be=_0x529647,{unitIDs:_0x3d8ac7,memberID:_0x2e4ff7,isForwarded:_0x24eada}=_0x56d8ce;_0x3d8ac7['forEach'](_0x5f3408=>{const _0x29b4ee=_0x1288;if(!_0x24eada&&this['_unitOnClients'][_0x29b4ee(0x317)](_0x5f3408)&&this[_0x29b4ee(0x25a)](_0x5f3408)['next'](_0x1efc97[_0x29b4ee(0x224)]['OTHER_CLIENTS_EDITING']),!this[_0x29b4ee(0x2c6)]['has'](_0x5f3408)||!this['_unitOnClients']['get'](_0x5f3408)['has'](_0x2e4ff7)){const _0x28fbe1=this[_0x29b4ee(0x2c6)][_0x29b4ee(0x1b5)](_0x5f3408)||new Set();_0x28fbe1[_0x29b4ee(0x2f4)](_0x2e4ff7),this[_0x29b4ee(0x2c6)][_0x29b4ee(0x41c)](_0x5f3408,_0x28fbe1),this['_scheduleClearOtherTimer'](_0x2e4ff7);}}),_0x24eada||this['_send']({'type':0x0,'memberID':this[_0x5899be(0x399)],'unitIDs':[...this[_0x5899be(0x2ec)]],'isForwarded':!0x0});}[_0x529647(0x228)](_0x36d570){const _0x30c573=_0x529647;this[_0x30c573(0x3a6)](_0x36d570);const _0xe47c65=window[_0x30c573(0x397)](()=>{const _0x4c73f4=_0x30c573;this[_0x4c73f4(0x2c6)]['forEach'](_0x45a05d=>{const _0x3c0532=_0x4c73f4;_0x45a05d[_0x3c0532(0x371)](_0x36d570);});},_0x3eef8a*0x2);this[_0x30c573(0x283)][_0x30c573(0x41c)](_0x36d570,_0xe47c65);}[_0x529647(0x3a6)](_0xd01bc){const _0x32437a=_0x529647;if(this[_0x32437a(0x283)][_0x32437a(0x317)](_0xd01bc)){const _0x3f847a=this[_0x32437a(0x283)][_0x32437a(0x1b5)](_0xd01bc);_0x3f847a&&window['clearTimeout'](_0x3f847a),this[_0x32437a(0x283)][_0x32437a(0x41c)](_0xd01bc,null);}}[_0x529647(0x37b)](_0x3a3211){const {memberID:_0x136aea,unitIDs:_0x669585}=_0x3a3211;_0x669585['forEach'](_0x223790=>{const _0xcc2967=_0x1288;var _0x31fc9b;const _0x47e332=this['_unitOnClients'][_0xcc2967(0x1b5)](_0x223790);_0x47e332&&(_0x47e332[_0xcc2967(0x371)](_0x136aea),(_0x31fc9b=this['_ensureSubject'](_0x223790))==null||_0x31fc9b[_0xcc2967(0x1ed)](_0x47e332['size']===0x0?_0x1efc97[_0xcc2967(0x224)][_0xcc2967(0x291)]:_0x1efc97[_0xcc2967(0x224)][_0xcc2967(0x1c8)]));}),this['_removeClearOtherTimer'](_0x136aea);}[_0x529647(0x3f8)](_0x202182){const _0x1d3448=_0x529647;this[_0x1d3448(0x228)](_0x202182['memberID']);}[_0x529647(0x1c4)](_0x593086){const _0x4ac264=_0x529647;localStorage[_0x4ac264(0x296)](_0x39e72,JSON['stringify'](_0x593086));}[_0x529647(0x2e6)](){const _0x259f87=_0x529647;this[_0x259f87(0x211)]=window['setInterval'](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x3eef8a);}[_0x529647(0x25a)](_0x23ccf0){const _0x37e300=_0x529647;return this[_0x37e300(0x39c)][_0x37e300(0x317)](_0x23ccf0)||this[_0x37e300(0x39c)][_0x37e300(0x41c)](_0x23ccf0,new _0x278be1['BehaviorSubject'](_0x1efc97[_0x37e300(0x224)][_0x37e300(0x291)])),this[_0x37e300(0x39c)][_0x37e300(0x1b5)](_0x23ccf0);}}_0x53f44c[_0x529647(0x1bc)]=_0x3fd2ab,_0x53f44c[_0x529647(0x205)]=_0x65c813,_0x53f44c[_0x529647(0x2a9)]=_0x58364f,_0x53f44c['WebURLService']=_0x4670c6,Object[_0x529647(0x22a)](_0x53f44c,Symbol[_0x529647(0x3b4)],{'value':_0x529647(0x314)});}));function _0x7820(){const _0x25dd31=['unshift','_anchorDot','text','0\x200\x2017\x2016','LICENSE_EXPORT_SIZE_EXCEEDED','filter','map','_getSaveTimeout','addObject','_scheduleHeartbeat','debounceTime','_toggleOnline','SheetsSelectionsService','onCommandExecuted','MoveRangeCommandId','_selfUnitIDs','setConfig','subscribeEvent','concat','href','_labelPosition','MUTATION','4157400EjzDsE','add','INotificationService','stringify','focused$','enableLocalCache','SetWorksheetActivateCommand','trim','CollaborationSocketService','_commandService','LOCAL_CACHE_INTERVAL','m2Prime','IConfigService','UNIVER_DOC','complete','isTransformMutationsWithChangesetSuccess','Rectangle','asObservable','Optional','then','IUniverInstanceService','_imageIoService','/run/','unit','LICENSE_IMPORT_SIZE_EXCEEDED','CommandType','createElement','search','_docSkeletonManagerService','data','forEach','ISnapshotServerService','_notificationService','Module','CollaborationController','RichTextEditingMutation','has','_lastPointer','INVITE_CODE_ALREADY_BOUND','mergeOverrideWithDependencies','DocStateChangeManagerService','TEXT','@univerjs/rpc','_onCursorUpdate','code','DocCollaborationEntity','UniverEngineRender','getMember','Failed','eventID','min','MOBILE_VERIFY_CODE_MISMATCH','DocSelectionManagerService','_status$','CollaborationSessionService','redoState','fillText','_initEntityListener','mutations','YUUMI_NO_CUBOID_FOR_QUESTION','MOBILE_HAS_BEEN_BOUND','registerRefRange','setShapeProps','indexOf','isArray','1158364iPdsGi','_initDependencies','closePath','Inject','mask','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_scene','symbol','_range','[CollaborationDataLoaderController]','getSkeleton','includes','labelPosition','onPointerMove$','_cursorShapes','React','createIdentifier','fillStyle','getRelativeToViewportCoord','IRemoteInstanceService','hovered','rxjs','getActiveRange','getDocRanges','univer-flex\x20univer-items-center','makeDirty','SetDocZoomRatioOperation','_cursor','react','CollaborationEvent','http://www.w3.org/2000/svg','apply','YUUMI_CONNECTOR_URL_NOT_FOUND','getFocusedUnit','UPDATE_CURSOR','body','YUUMI_ALL_TABLES_IS_INVALID','skeleton','_collaborationController','merge','subscribe','WebSocketService','_createSocketURL','FETCH_MISS','red.300','size','actions','shareReplay','selection','[RemoteUniscriptService]:\x20no\x20focused\x20unit','currentTheme$','_startDocCollabCursor','UniverProCollaboration','_toggleOffline','currentColor','_hideTimer','exhaustSavingTask','0\x200\x2016\x2016','SYNCED','getCollabCursors$','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','delete','drawWith','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_assignedColors','getCurrentUnitForType','collaboration-client-ui.config','setAlpha','getCoordByCell','handleIRemoveRow','ILocalCacheService','_handleLeaveEvent','isActive','none','OffLineIcon','onPointerLeave$','964574XoRKDj','throttleTime','_disabled','pluginName','_localCacheService','all','_beforeCloseService','from','unsubscribe','serializeRangeWithSheet','forwardRef','newValue','syncEditingCollabCursor','8BvpiNd','session.collaboration-timeout','USER_NOT_INVITED_CODE','_refRangeService','YUUMI_URL_COL_OUT_OF_RANGE','transform','_updateSubUnitFromURLParams','executionId','sessionTicket','_initStatusListener','setTimeout','saveTaskMap','_id','BehaviorSubject','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','_unitStatus','NodePositionConvertToCursor','@univerjs-pro/collaboration','_registerRenderDependencies','row','Shape','operators','useRef','init','_collabCursorController','_removeClearOtherTimer','colorChannel1','_saveTaskMap','_name','_updateCollabCursors','@univerjs/design','3VYfnqo','_transformHistoryAndStateStack','ALREADY_EXISTS','handleDeleteRangeMoveLeft','collab-text-anchor-','getUndoRedoMutationParamsCache','collab-rect-range-','InsertRangeMoveDownCommandId','toStringTag','source','getCellPositionByOffset','_messageService','_localeService','InsertColCommandId','key','translate(.97)','searchParams','entries','6112539rSaRTD','amd','ThemeService','_injector','1986580SqLYIk','length','div','displayName','PERMISSION_DENIED','handleDeleteRangeMoveUp','idSuffix','event$','jiqing.500','INVALID_INVITE_CODE','currentSkeleton$','_initStatusComponent','_drawAnchor','invokeId','black','UniverCollaborationClientUIPlugin','post','prototype','SNAPSHOT_INVALID_SNAPSHOT','error','_hovered','handleInsertRow','_colorIndex','@univerjs/docs','cursorInfo$','EMAIL_HAS_BEEN_BOUND','session.will-retry','getUnitStatus$','_docTransformSelectionsService','_session','getTypeOfUnitDisposed$','RECT','_doCreateSocket','urlChange$','string','getLocalCacheKey','_cachedData','doc.mutation.rich-text-editing','CollaborationStatus','_docClipboardService','DesktopCollaborationStatusDisplayController','_sheetSkeletonManagerService','YUUMI_AI_RUN_FAILED','_docSkeleton','YUUMI_TABLE_NOT_FOUND_IN_UNIT','fromEventSubject','_shapes','getCurrentSelections','engine','ONLINE','Tooltip','36LvNWtz','defIds','extend','_handleHeartbeatEvent','ranges','getUniverSheetInstance','registerDependencies','CONFLICT','BuiltInUIPart','tag','_scheduleSaving','getTypeOfUnitAdded$','USERS_LEAVE','AWAITING_WITH_PENDING','runOnServer','measureText','SUBMIT_CHANGESET_TIMEOUT','useDependency','save','unitId','exports','_context','SheetSkeletonManagerService','jsxs','_docSyncEditingCollabCursorService','activeSheet$','IRenderManagerService','send','1em','ITransformService','_urlService','UniverNetwork','IUIPartsService','fill','@univerjs-pro/collaboration-client','imageSourceType','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','function','_getAnchorBounding','set','saveOfflineData','EffectRefRangId','connectInjector','sheetID','_memberService','toDisposable','getRangePointData','@univerjs/engine-formula','YUUMI_UNABLE_LOAD_URL','attrs','arc','range','UniverDrawing','_draw','Unknown\x20user','Vector2','sheetId','UniverProCollaborationClient','_uiPartsService','collabStatus.syncing','m1Prime','_docTransformIMECacheService','DependentOn','restore','DEFAULT_WS_SESSION_TICKET_URL','transformByState','origin','assign','univerjs-icon\x20univerjs-icon-','fromEvent','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','url(#on-line-icon_clip0_910_349)','LocaleService','@univerjs/sheets','assignAColorForMemberID','getOwnPropertySymbols','getViewport','setParam','path','_hover','WECHAT_HAS_BEEN_BOUND','handleMoveRange','TEXT_RANGE_LAYER_INDEX','contains','APPLY_PERMISSION_DENIED','get','startColumn','_entities','substring','_setupSubUnitSync','InsertRowCommandId','split','IURLService','CONNECTOR_DATA_TOO_LARGE','deserializeRangeWithSheet','white','_initEvent','removeParam','_entityInit$','findNodePositionByCharIndex','_send','_anchor','getVpScrollXYInfoByPosToVp','push','OTHER_CLIENTS_EDITING','_configService','evenodd','_online','UniverCollaborationClientPlugin','_handleHover','addClipboardHook','saveImage','collaboration.single-unit.warning','Plugin','collab-text-range-','getItem','_backgroundColor','useObservable','registerRenderModule','entityInit$','addHandlerCallback','CollaborationUIEventId','_instanceService','toString','onLocalMutation','Workbook','getSheetId','parse','color','getMergeData','SNAPSHOT_HAS_BEEN_REMOVED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','DocSkeletonManagerService','children','clearInterval','TOO_MANY_REQUESTS','_saveCache','Warning','AWAITING','debug','RefRangeService','next','sessionStatus$','params','type','M0\x200H16V16H0z','svg','pipe','height','column','subunit','UNRECOGNIZED','SessionStatus','getValue','whenReady','collabCursorState$','status$','...','undoState','_renderManagerService','_themeService','useCallback','takeUntil','disposeWithMe','createSocket','SheetCollabCursorShape','replace','application/json','docStateChange$','ILocalStorageService','clipPath','onRendered','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_syncEditingCollabCursorService','handleInsertRangeMoveDown','_onRefRangeChange','_logService','_heartbeatTimer','ColorKit','Injector','transformSelections','startsWith','off-line-icon_clip0_910_343','DOC_RANGE_TYPE','transformMutation','call','getActiveSheet','FromArray','getOwnPropertyDescriptor','textRanges','IDocClipboardService','@univerjs/docs-ui','react/jsx-runtime','@univerjs/engine-render','@univerjs/network','_getMergeRange','UnitStatus','Disposable','_updateURLWithCurrentState','_getSheetObject','_scheduleClearOtherTimer','Error','defineProperty','getSheetBySheetId','collabStatus.notCollab','transformStateCache','_cursorInfo$','@univerjs/core','CollaborationDataLoaderController','NodePositionConvertToRectRange','YUUMI_SUBSCRIPTION_NOT_FOUND','defs','random','getConfig','getOffsetConfig','collaboration.closeRoom','1291766ZfHeSS','CLOSE_ROOM','runId','icon','dispose','BrowserCollaborationSocketService','SOCKET_FAILED_RETRY','registerComponent','_registerDependencies','_initResize','deepClone','_onCursorDelete','UniverSheets','history','_drawRectRange','_cursors','_handleJoinEvent','INVALID_ARGUMENT','_config','storage','HTTPService','_docTransformStateCacheService','lineTo','UNDEFINED','isTransformMutationFailure','debounce','onTransformChange$','_eventUnsubscribe','DeleteRangeMoveLeftCommandId','NOT_COLLAB','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_roomMembers$','_dataLoaderService','handleInsertCol','_ensureSubject','addObjects','ILogService','DocIMEInputManagerService','on-line-icon_clip0_910_349','pushState','_colorAssignService','getCurrent','_getSessionTicket','_color','ENSURE_SNAPSHOT_EXECUTION','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_removeCollabCursors','_docStateChangeManagerService','name','RemoteUniscriptService','getParam','APPLY_REJECT','off-line-icon','_localStorageService','collabStatus.synced','_updateLocalCursor','RxDisposable','LOGIN_FAILED','url(#$1','green.600','permission.content','APPLY_NON_SEQUENTIAL_REVISION','_collaborationUIEventService','className','PY_RUNTIME_SCRIPT_ERROR','disableLocalCache','IMessageService','width','transformRemoteChangeset','OFFLINE','unitID','_univerInstanceService','onPointerEnter$','APPLY_REVISION_CONFILICT','ICommandService','_clearOtherTimers','_initCommandExecutedListener','_setupBeforeClosingHandler','CHANGESET_REVISION_CONFILICT','InsertRangeMoveRightCommandId','OnLineIcon','moveTo','touchDependencies','_textBubble','UniverDesign','4946135VzWred','_revisionService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','transformMutationsWithChangeset','NO_OTHER_CLIENTS_EDITING','_transformService','INTERNAL_ERROR','_handleEvent','selections','setItem','executeCommand','collabStatus.offline','addEventListener','show','with','getCollabEntity$','YUUMI_ASYNCIO_CANCELLED','_getScale','location','getUnitId','INVITE_CODE_REQUIRED','requireSession','switchMap','RegularPolygon','UniverDocs','endColumn','distinctUntilChanged','purple.300','WebBrowserSingleActiveUnitService','replaceDocRanges','round','unload','values','getRenderById','_transformPreviousActiveRange','Tools','editingUnit','LICENSE_DISTRO_REJECTED','_collabSessionService','result','_collabCursorState$','getCurrentRevOfUnit','_init','NOT_FOUND','propertyIsEnumerable','INVITE_CODE_HAS_BEEN_UES','startRow','_startSheetCollabCursor','_refreshCollabCursors','jsx','LOCAL_CACHE_INTERVAL_KEY','UniverInstanceType','isEditing','YUUMI_RATE_OVER_LIMIT','COLORS','current','Rect','_unitOnClients','flatMap','@univerjs/sheets-ui','roomMembers$','getAncestorScale','cursorInfo','COMPLETION_FINISHED','_render','getColor','_document','xlink:href','UNIVER_SHEET','MessageType','dispose$','createInstance','SetTextSelectionsOperation','clearTimeout','getColorFromTheme','UNAUTHENTICATED','_httpService','override','generateRandomId','@univerjs/drawing'];_0x7820=function(){return _0x25dd31;};return _0x7820();}