@univerjs-pro/collaboration-client-ui 0.7.0 → 0.8.0-beta.1
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.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.css +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/locale/en-US.d.ts +38 -2
- package/lib/types/locale/fa-IR.d.ts +2 -2
- package/lib/types/locale/fr-FR.d.ts +2 -2
- package/lib/types/locale/ru-RU.d.ts +2 -2
- package/lib/types/locale/vi-VN.d.ts +2 -2
- package/lib/types/locale/zh-CN.d.ts +3 -39
- package/lib/types/locale/zh-TW.d.ts +2 -2
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +19 -19
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x304c(_0xa0ad06,_0x398bfa){const _0x499442=_0x4994();return _0x304c=function(_0x304ccc,_0x3a9c07){_0x304ccc=_0x304ccc-0xec;let _0x35c766=_0x499442[_0x304ccc];return _0x35c766;},_0x304c(_0xa0ad06,_0x398bfa);}function _0x4994(){const _0x74e38c=['runOnServer','YUUMI_URL_COL_OUT_OF_RANGE','OnLineSingle','react','_entities','RemoteUniscriptService','url(#off-line-single_clip0_910_343)','round','selections','LICENSE_MAX_UNITS_EXCEEDED','CLOSE_ROOM','toDisposable','_instanceService','RxDisposable','syncEditingCollabCursor','getMemberID','LICENSE_DISTRO_REJECTED','CollaborationDataLoaderController','_updateLocalCursor','FromArray','_clearOtherTimers','off-line-single','roomMembers$','getAncestorScale','purple.300','collabStatus.notCollab','_getSheetObject','sessionTicket','Module','CollaborationStatus','collabStatus.offline','_config','mask','UNRECOGNIZED','JOIN_ROOM_FAILED','_handleEvent','@univerjs-pro/collaboration-client','displayName','collaboration.closeRoom','YUUMI_ASYNCIO_CANCELLED','takeUntil','closePath','setActiveRange','_cursorInfo$','setAlpha','type','replace','searchParams','UnitStatus','stringify','isArray','clearInterval','on-line-single_clip0_910_349','Disposable','merge','defineProperty','_configService','distinctUntilChanged','status$','Inject','APPLY_PERMISSION_DENIED','LICENSE_IMPORT_SIZE_EXCEEDED','clsx','...','@univerjs/network','_initStatusListener','exhaustSavingTask','_docTransformSelectionsService','unsubscribe','_handleLeaveEvent','save','WebSocketService','_localStorageService','SessionStatus','_setupSubUnitSync','object','@univerjs/rpc','switchMap','engine','6409424JBzAEG','useCallback','RichTextEditingMutation','getMergeData','getSheetId','YUUMI_SUBSCRIPTION_NOT_FOUND','MemberService','_hovered','registerComponent','getTypeOfUnitAdded$','DocIMEInputManagerService','getRelativeToViewportCoord','defIds','WebBrowserSingleActiveUnitService','href','collaboration-client.offline-data-not-saved','APPLY_NON_SEQUENTIAL_REVISION','loadOfflineData','then','_scheduleHeartbeat','BuiltInUIPart','getCurrent','send','UPDATE_CURSOR','_collabSessionService','docStateChange$','2289280wTLdiV','1em','_injector','_init','UNDEFINED','YUUMI_ALL_TABLES_IS_INVALID','UNIVER_DOC','sessionStatus$','_handleHover','session.collaboration-timeout','addObjects','rxjs/operators','eventID','ILogService','addObject','_updateURLWithCurrentState','_logService','with','urlChange$','_syncEditingCollabCursorService','makeDirty','currentSkeleton$','UniverEngineFormula','roomMembers','className','toStringTag','_createSocketURL','/run/','UniverProCollaboration','_commandService','IImageIoService','_getSessionTicket','DOC_RANGE_TYPE','from','UNAUTHENTICATED','_drawTextRange','_assignedColors','sheetId','amd','doc.mutation.rich-text-editing','fillText','7386237FOsnRL','IUIPartsService','cursorInfo','_unitOnClients','redoState','session.connection-failed','trim','react/jsx-runtime','has','UniverCollaborationClientUIPlugin','history','getDocRanges','Tools','whenReady','transformSelections','serializeRangeWithSheet','disposeUnit','_localCacheService','onStarting','generateRandomId','set','subUnitId','symbol','APPLY_REVISION_CONFILICT','_themeService','_send','_refRangeService','_entityInit$','NodePositionConvertToCursor','@univerjs/engine-formula','ITransformService','getCurrentRevOfUnit','push','MessageType','_memberService','currentColor','73010wBVaPE','_startDocCollabCursor','attrs','entityInit$','source','getSheetBySheetId','DesktopCollaborationStatusDisplayController','rxjs','setInterval','handleIRemoveCol','DocStateChangeManagerService','length','runRefRangeMutations','Vector2','SYNCED','useObservable','transform','_updateSubUnitFromURLParams','dispose','_render','NOT_COLLAB','_roomMembers$','getStateCache','ranges','icon','UniverProCollaborationClientUi','_collabCursorState$','getOwnPropertyDescriptor','208rWGguo','all','_onCursorDelete','SheetCollabCursorShape','top','extend','_session','UniverCore','_color','InsertRowCommandId','CollaborationUIEventService','prototype','LocaleService','CONFLICT','RemoveRowCommandId','flatMap','IConfigService','triggerDblclick','[RemoteUniscriptService]:\x20no\x20focused\x20unit','TRANSFORM_CHANGE_OBSERVABLE_TYPE','RevisionService','tag','getFocusedUnit','_transformPreviousActiveRange','executeCommand','getCurrentSelections','CollaborationStatusDisplay','BrowserCollaborationSocketService','actions','includes','DocSkeletonManagerService','_hideTimer','_handleHeartbeatEvent','subscribe','pipe','#fff','InsertRangeMoveRightCommandId','HTTPService','setItem','_id','_getScale','onLocalMutation','measureText','DisposableCollection','origin','runId','_ensureSubject','MUTATION','unitId','_localeService','registerRefRange','popstate','YUUMI_RATE_OVER_LIMIT','_cursorShapes','SetTextSelectionsOperation','event$','deserializeRangeWithSheet','UNIVER_SHEET','getVpScrollXYInfoByPosToVp','font','SetDocZoomRatioOperation','Rect','_drawAnchor','@univerjs/sheets','assignAColorForMemberID','getOffsetConfig','ILocalCacheService','_anchorDot','_removeClearOtherTimer','_onCursorUpdate','ACTIVE_UNIT_EVENT_CHANNEL','TEXT_RANGE_LAYER_INDEX','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_docTransformStateCacheService','hide','_backgroundColor','memberID','forwardRef','function','getParam','_urlService','mutations','subunit','combineLatest','current','init','isTransformMutationsWithChangesetSuccess','pushState','permission.content','_disabled','getOwnPropertySymbols','cursorInfo$','resize','clipPath','deepClone','connectInjector','_getMergeRange','substring','show','INVITE_CODE_REQUIRED','assign','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','CollaborationUIEventId','wsSessionTicketUrl','updateOfflineData','jsx','none','@univerjs/drawing','NodePositionConvertToRectRange','removeParam','_collaborationController','CollaborationController','data','getRenderById','bottom','isActive','max','fillRule','debug','_toggleOnline','_cachedData','#FFF','getCollabCursors$','_docSkeletonManagerService','toRgbString','transformMutationsWithChangeset','USERS_LEAVE','map','COMPLETION_FINISHED','getCurrentUnitForType','ColorKit','search','APPLY_DUPLICATED','INVALID_INVITE_CODE','_status$','_anchor','replaceState','RegularPolygon','UniverDrawing','complete','VIEW_MAIN','_setupBeforeClosingHandler','registerBeforeClose','_online','concat','newValue','_initStatusComponent','toString','ILocalStorageService','getColorFromTheme','undoState','INTERNAL_ERROR','UniverInstanceType','DependentOn','getSheetObject','SetSelectionsOperation','_transformService','location','INVITE_CODE_ALREADY_BOUND','_unitStatus','EffectRefRangId','_dataLoaderService','values','colorChannel1','SheetSkeletonManagerService','operators','@univerjs/docs','getActiveSheet','createInstance','CommandType','pluginName','LICENSE_EXPORT_SIZE_EXCEEDED','row','getConfig','_labelPosition','permission.title','collaboration.single-unit.warning','path','EMAIL_HAS_BEEN_BOUND','_docStateChangeManagerService','transformMutation','Warning','handleDeleteRangeMoveLeft','_context','name','min','_hover','_initDependencies','saveTaskMap','handleMoveRange','fromEventSubject','_initEvent','INVITE_CODE_HAS_BEEN_UES','IRemoteInstanceService','_docTransformIMECacheService','restore','override','textRanges','ICommandService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','asObservable','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_registerRenderDependencies','OFFLINE','useRef','forEach','reconnect','touchDependencies','UniverDocs','storage','_draw','DocSelectionManagerService','useDependency','activeSheet$','_cursors','xlink:href','Failed','Unknown\x20user','width','Error','collab-text-anchor-','invokeId','ALREADY_EXISTS','_sheetSkeletonManagerService','UniverDesign','univerjs-icon\x20univerjs-icon-','height','url(#on-line-single_clip0_910_349)','onPointerLeave$','UniverIcon','fill','delete','React','transformStateCache','_range','@univerjs/ui','Subject','[CollaborationDataLoaderController]','onPointerEnter$','shareReplay','_initEntityListener','DataLoaderService','error','jiqing.500','710dKnqXI','_imageIoService','on-line-single','indexOf','CHANGESET_REVISION_CONFILICT','_drawRectRange','CollaborationSessionService','setConfig','_cursor','BehaviorSubject','_heartbeatTimer','_univerInstanceService','getMember','loadUnit','@univerjs/engine-render','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','handleInsertRangeMoveDown','subscribeEvent','OffLineSingle','uni.network.url-service','COLORS','createElement','INVALID_ARGUMENT','_saveTaskMap','_toggleOffline','Rectangle','focused$','_getAnchorBounding','IURLService','startColumn','registerRenderModule','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','hasOwnProperty','_transformUndoRedoStack','m1Prime','arc','range','hovered','PERMISSION_DENIED','_updateCollabCursors','_messageService','_scheduleClearOtherTimer','string','YUUMI_NO_CUBOID_FOR_QUESTION','ThemeService','_document','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','getLocalCacheKey','size','setUndoRedoMutationParamsCache','unitID','defs','USER_NOT_INVITED_CODE','_docClipboardService','RemoveColCommandId','YUUMI_AI_RUN_FAILED','ONLINE','ENSURE_SNAPSHOT_EXECUTION','@univerjs/design','findNodePositionByCharIndex','handleInsertRangeMoveRight','exports','collabStatus.syncing','filter','column','params','390kYuKWG','requireSession','getValue','next','_initCommandExecutedListener','_revisionService','code','PENDING','5gPWlBm','use','_notificationService','_scene','startsWith','unshift','clearTimeout','univer-flex\x20univer-items-center','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:univer-text-gray-200','sheetID','collabCursorState$','_registerDependencies','replaceDocRanges','transformIMECache','endRow','yellow.400','red.300','_collabCursorController','entries','SNAPSHOT_INVALID_SNAPSHOT','currentTheme$','color','drawWith','getCoordByCell','_handleJoinEvent','getUnitId','308544PaUWkN','setShapeProps','PY_RUNTIME_SCRIPT_ERROR','onMouseMove','endColumn','@univerjs/docs-ui','ISnapshotServerService','LOGIN_FAILED','Workbook','_textBubble','parse','YUUMI_TABLE_NOT_FOUND_IN_UNIT','IMessageService','YUUMI_UNABLE_LOAD_URL','startRow','disposeWithMe','_colorIndex','call','labelPosition','_refreshCollabCursors','SUBMIT_CHANGESET_TIMEOUT','blue.400','jsxs','_removeCollabCursors','_onRefRangeChange','unit','debounceTime','_transformHistoryAndStateStack','IUniverInstanceService','WebURLService','isTransformMutationFailure','OTHER_CLIENTS_EDITING','_shapes','transformRemoteChangeset','UniverRpc','_eventUnsubscribe','@univerjs/sheets-ui','black','_collaborationUIEventService','fromEvent','SNAPSHOT_HAS_BEEN_REMOVED','Shape','text','post','_colorAssignService','m2Prime','_selfUnitIDs','getColor','moveTo','executionId','WECHAT_HAS_BEEN_BOUND','LOCAL_CACHE_INTERVAL','ticket','onTransformChange$','children','translate(.97)','_initResize','SOCKET_FAILED_RETRY','onCommandExecuted','Injector','CollaborationEvent','SHEET_VIEWPORT_KEY','InsertColCommandId','CollaborationSocketService','_beforeCloseService','_renderManagerService','contains','selection','UniverNetwork','getUnitStatus$','IRenderManagerService','LOCAL_CACHE_INTERVAL_KEY','_httpService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_docSkeleton','AWAITING_WITH_PENDING','211387gEBCSo','body','evenodd','@univerjs/core','UniverDocsUi','debounce','getRangePointData','OTHER_CLIENT_EDITING','collab-client.tooltip.reconnect','add','disableLocalCache','SetWorksheetActivateCommand','div','idSuffix','_docSyncEditingCollabCursorService','off-line-single_clip0_910_343','mergeOverrideWithDependencies','M0\x200H16V16H0z','dispose$','MOBILE_HAS_BEEN_BOUND','_getSaveTimeout','univer-flex\x20univer-mr-2\x20univer-text-xl','getSkeleton','50739aRhmgh','@univerjs-pro/collaboration','_name','NOT_FOUND','get','collab-rect-range-','Plugin','_uiPartsService','rgba(255,\x20255,\x20255,\x200.01)','TOO_MANY_REQUESTS','RECT','mapTo','getUndoRedoMutationParamsCache','_lastPointer','_saveCache'];_0x4994=function(){return _0x74e38c;};return _0x4994();}(function(_0xb675d,_0x3ca3eb){const _0x30065e=_0x304c,_0x1499e6=_0xb675d();while(!![]){try{const _0x1bc253=-parseInt(_0x30065e(0x26c))/0x1*(-parseInt(_0x30065e(0x286))/0x2)+parseInt(_0x30065e(0x2e9))/0x3*(-parseInt(_0x30065e(0x12e))/0x4)+-parseInt(_0x30065e(0x112))/0x5*(parseInt(_0x30065e(0x264))/0x6)+parseInt(_0x30065e(0x361))/0x7+parseInt(_0x30065e(0x347))/0x8+-parseInt(_0x30065e(0xee))/0x9+-parseInt(_0x30065e(0x222))/0xa*(-parseInt(_0x30065e(0x2d2))/0xb);if(_0x1bc253===_0x3ca3eb)break;else _0x1499e6['push'](_0x1499e6['shift']());}catch(_0x50142c){_0x1499e6['push'](_0x1499e6['shift']());}}}(_0x4994,0x9611e),function(_0x439ed8,_0x3da644){const _0x1f944b=_0x304c;typeof exports==_0x1f944b(0x343)&&typeof module<'u'?_0x3da644(exports,require('@univerjs-pro/collaboration-client'),require(_0x1f944b(0x2d5)),require(_0x1f944b(0x230)),require(_0x1f944b(0x338)),require(_0x1f944b(0x28b)),require(_0x1f944b(0x199)),require(_0x1f944b(0x119)),require(_0x1f944b(0x1d4)),require(_0x1f944b(0x2ea)),require(_0x1f944b(0x10b)),require(_0x1f944b(0x16d)),require('rxjs/operators'),require(_0x1f944b(0x2aa)),require(_0x1f944b(0xf5)),require(_0x1f944b(0x219)),require(_0x1f944b(0x25c)),require('react'),require(_0x1f944b(0x344))):typeof define==_0x1f944b(0x17c)&&define[_0x1f944b(0x387)]?define([_0x1f944b(0x25f),_0x1f944b(0x31c),_0x1f944b(0x2d5),'@univerjs/engine-render',_0x1f944b(0x338),'@univerjs/docs-ui',_0x1f944b(0x199),'rxjs',_0x1f944b(0x1d4),_0x1f944b(0x2ea),'@univerjs/engine-formula',_0x1f944b(0x16d),_0x1f944b(0x36c),_0x1f944b(0x2aa),'react/jsx-runtime',_0x1f944b(0x219),_0x1f944b(0x25c),_0x1f944b(0x2fb),_0x1f944b(0x344)],_0x3da644):(_0x439ed8=typeof globalThis<'u'?globalThis:_0x439ed8||self,_0x3da644(_0x439ed8[_0x1f944b(0x12b)]={},_0x439ed8['UniverProCollaborationClient'],_0x439ed8[_0x1f944b(0x135)],_0x439ed8['UniverEngineRender'],_0x439ed8[_0x1f944b(0x2ca)],_0x439ed8[_0x1f944b(0x2d6)],_0x439ed8[_0x1f944b(0x1b8)],_0x439ed8[_0x1f944b(0x119)],_0x439ed8[_0x1f944b(0x1fe)],_0x439ed8[_0x1f944b(0x37d)],_0x439ed8[_0x1f944b(0x377)],_0x439ed8['UniverSheets'],_0x439ed8[_0x1f944b(0x119)][_0x1f944b(0x1d3)],_0x439ed8['UniverSheetsUi'],_0x439ed8[_0x1f944b(0x216)],_0x439ed8['UniverUi'],_0x439ed8[_0x1f944b(0x20e)],_0x439ed8[_0x1f944b(0x216)],_0x439ed8[_0x1f944b(0x2a8)]));}(this,function(_0x51bd02,_0x2df1a4,_0x325bbf,_0x1baa4a,_0x16ff3c,_0x3aa08e,_0x987a33,_0x4aa5c5,_0x30a0a7,_0x20753e,_0x1f127e,_0x3327a2,_0x107600,_0x5f8c57,_0x4fa0e0,_0x3c81ed,_0x4629c9,_0x2df17b,_0x3d4470){'use strict';const _0x5f57e0=_0x304c;var _0x7a1c04=Object[_0x5f57e0(0x32f)],_0x23e3c0=(_0x55dd67,_0x231d75,_0x2e87f)=>_0x231d75 in _0x55dd67?_0x7a1c04(_0x55dd67,_0x231d75,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2e87f}):_0x55dd67[_0x231d75]=_0x2e87f,_0x30fb67=(_0x134a0a,_0x17f9d6,_0x3d0954)=>_0x23e3c0(_0x134a0a,typeof _0x17f9d6!=_0x5f57e0(0x104)?_0x17f9d6+'':_0x17f9d6,_0x3d0954),_0xf6a37f=Object[_0x5f57e0(0x12d)],_0xd3368c=(_0xcfda8c,_0x56fe85,_0xc64576,_0x42ec5b)=>{const _0x3becba=_0x5f57e0;for(var _0x2fc7fb=_0x42ec5b>0x1?void 0x0:_0x42ec5b?_0xf6a37f(_0x56fe85,_0xc64576):_0x56fe85,_0x24093e=_0xcfda8c[_0x3becba(0x11d)]-0x1,_0x537032;_0x24093e>=0x0;_0x24093e--)(_0x537032=_0xcfda8c[_0x24093e])&&(_0x2fc7fb=_0x537032(_0x2fc7fb)||_0x2fc7fb);return _0x2fc7fb;},_0x2e6540=(_0x5b57ef,_0xd42050)=>(_0x446955,_0xbfd5de)=>_0xd42050(_0x446955,_0xbfd5de,_0x5b57ef);let _0x1808d0=class extends _0x325bbf[_0x5f57e0(0x305)]{constructor(_0x60c7d0,_0x3933ce){const _0x5b5616=_0x5f57e0;super(),this[_0x5b5616(0x257)]=_0x60c7d0,this[_0x5b5616(0x223)]=_0x3933ce,this[_0x5b5616(0x364)]();}[_0x5f57e0(0x364)](){const _0x11ae2c=_0x5f57e0,_0x3d5109=this;this[_0x11ae2c(0x295)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x5d231a=>{const _0x385c69=_0x11ae2c,_0x2c3851=await _0x3d5109[_0x385c69(0x223)]['saveImage'](_0x5d231a);return _0x2c3851?{'source':_0x2c3851[_0x385c69(0x116)],'imageSourceType':_0x2c3851['imageSourceType']}:null;}}));}};_0x1808d0=_0xd3368c([_0x2e6540(0x0,_0x3aa08e['IDocClipboardService']),_0x2e6540(0x1,_0x987a33[_0x5f57e0(0x37f)])],_0x1808d0);const _0x3f3a01=[_0x5f57e0(0x310),_0x5f57e0(0x221),'green.600',_0x5f57e0(0x27c),_0x5f57e0(0x29b),_0x5f57e0(0x27b)];class _0x59bb9d extends _0x325bbf['Disposable']{constructor(){const _0x482f19=_0x5f57e0;super(...arguments),_0x30fb67(this,'_assignedColors',new Map()),_0x30fb67(this,_0x482f19(0x296),0x0);}[_0x5f57e0(0x16e)](_0x3ca635){const _0x39fd2b=_0x5f57e0;if(this['_assignedColors'][_0x39fd2b(0xf6)](_0x3ca635))return this[_0x39fd2b(0x385)][_0x39fd2b(0x2ed)](_0x3ca635);const _0x1f292f=_0x3f3a01[this[_0x39fd2b(0x296)]];return this[_0x39fd2b(0x296)]=(this[_0x39fd2b(0x296)]+0x1)%_0x3f3a01[_0x39fd2b(0x11d)],this[_0x39fd2b(0x385)][_0x39fd2b(0x102)](_0x3ca635,_0x1f292f),_0x1f292f;}}function _0x2686b4(_0x354bd3){const _0x4d85ab=_0x5f57e0;let _0x235c72='';for(const _0x4b4f2c of _0x354bd3){const {startOffset:_0xbd720f,endOffset:_0x328cec,isActive:_0x2bd518,rangeType:_0x18d786,segmentId:_0x4f7b80,segmentPage:_0x457bb0}=_0x4b4f2c;_0x235c72[_0x4d85ab(0x11d)]&&(_0x235c72+=','),_0x235c72+=_0xbd720f+':'+_0x328cec+':'+(_0x2bd518?'1':'0')+':'+_0x18d786+':'+_0x4f7b80+':'+_0x457bb0;}return _0x235c72;}function _0x397dbf(_0xc03f80){const _0x2f4c9f=_0x5f57e0,_0x16e4a3=_0xc03f80['split'](','),_0xb51d71=[];for(const _0x5ef466 of _0x16e4a3){const [_0x4335b5,_0x3a34ea,_0x1574be,_0x519ae9,_0x46427f,_0x1ee80a]=_0x5ef466['split'](':');_0xb51d71[_0x2f4c9f(0x10e)]({'startOffset':Number(_0x4335b5),'endOffset':Number(_0x3a34ea),'collapsed':_0x4335b5===_0x3a34ea,'isActive':_0x1574be==='1','rangeType':_0x519ae9===_0x325bbf[_0x2f4c9f(0x381)]['TEXT']?_0x325bbf['DOC_RANGE_TYPE']['TEXT']:_0x325bbf['DOC_RANGE_TYPE'][_0x2f4c9f(0x2f3)],'segmentId':typeof _0x46427f==_0x2f4c9f(0x24c)?String(_0x46427f):'','segmentPage':Number(_0x1ee80a!=null?_0x1ee80a:-0x1)});}return _0xb51d71['some'](_0x3ac9d0=>_0x3ac9d0['isActive'])||(_0xb51d71[0x0][_0x2f4c9f(0x1a1)]=!0x0),_0xb51d71;}class _0x5526c9 extends _0x325bbf[_0x5f57e0(0x305)]{constructor(){const _0xfef7fd=_0x5f57e0;super(...arguments),_0x30fb67(this,_0xfef7fd(0x12c),new _0x4aa5c5[(_0xfef7fd(0x22b))](null)),_0x30fb67(this,_0xfef7fd(0x276),this['_collabCursorState$'][_0xfef7fd(0x1f6)]());}[_0x5f57e0(0x306)](_0xfaefe5){const _0x4b0db3=_0x5f57e0,{unitID:_0x215bd6,memberID:_0x169459,textRanges:_0x5037bc}=_0xfaefe5,_0xe64967=_0x2686b4(_0x5037bc);if(_0xe64967==='')return;const _0x5ec23a={'unitID':_0x215bd6,'memberID':_0x169459,'selection':_0xe64967};this['_collabCursorState$'][_0x4b0db3(0x267)](_0x5ec23a);}}var _0xa01c76=Object[_0x5f57e0(0x12d)],_0x4bdb40=(_0x16944d,_0x210ef4,_0x2c5f03,_0xfc5181)=>{const _0x21d110=_0x5f57e0;for(var _0x37556a=_0xfc5181>0x1?void 0x0:_0xfc5181?_0xa01c76(_0x210ef4,_0x2c5f03):_0x210ef4,_0x1e6154=_0x16944d[_0x21d110(0x11d)]-0x1,_0x55a571;_0x1e6154>=0x0;_0x1e6154--)(_0x55a571=_0x16944d[_0x1e6154])&&(_0x37556a=_0x55a571(_0x37556a)||_0x37556a);return _0x37556a;},_0x27e442=(_0x48230d,_0x368516)=>(_0xfc774f,_0x1c41ce)=>_0x368516(_0xfc774f,_0x1c41ce,_0x48230d);const _0x5e77ce=0x12c,_0x31a108=0x64;let _0x5c9e83=class extends _0x325bbf[_0x5f57e0(0x305)]{constructor(_0x51b38a,_0x5bab35,_0x6963e5,_0xf83e87,_0x4ec05b,_0x563948,_0x58c444,_0x4aed31,_0x2e4c25){const _0x3fb592=_0x5f57e0;super(),_0x30fb67(this,'_online',!0x1),_0x30fb67(this,_0x3fb592(0x364),!0x1),_0x30fb67(this,_0x3fb592(0x323),new _0x4aa5c5['BehaviorSubject'](new Map())),_0x30fb67(this,'cursorInfo$',this[_0x3fb592(0x323)][_0x3fb592(0x1f6)]()),_0x30fb67(this,_0x3fb592(0x127),new _0x4aa5c5[(_0x3fb592(0x22b))]([])),_0x30fb67(this,_0x3fb592(0x30e),this[_0x3fb592(0x127)]['pipe'](_0x4aa5c5[_0x3fb592(0x2a0)](_0x5e77ce))),_0x30fb67(this,_0x3fb592(0x30a),_0x325bbf[_0x3fb592(0x2d7)](_0x5e043b=>{const _0x37746d=_0x3fb592,_0x48d9f3={'eventID':_0x20753e[_0x37746d(0x2c2)][_0x37746d(0x35e)],'data':{'unitID':this['unitID'],'memberID':this[_0x37746d(0x134)][_0x37746d(0x307)](),'selection':_0x2686b4(_0x5e043b)}};this[_0x37746d(0x134)][_0x37746d(0x35d)](_0x48d9f3,this['unitID']);},_0x31a108)),(this[_0x3fb592(0x254)]=_0x51b38a,this['_session']=_0x5bab35,this['_injector']=_0x6963e5,this[_0x3fb592(0x2b2)]=_0xf83e87,this[_0x3fb592(0x110)]=_0x4ec05b,this['_syncEditingCollabCursorService']=_0x563948,this[_0x3fb592(0x1ca)]=_0x58c444,this[_0x3fb592(0x22d)]=_0x4aed31,this[_0x3fb592(0x37e)]=_0x2e4c25);}get[_0x5f57e0(0xf0)](){const _0x1fb2fe=_0x5f57e0;return this[_0x1fb2fe(0x323)][_0x1fb2fe(0x266)]();}get[_0x5f57e0(0x378)](){const _0x432b62=_0x5f57e0;return this[_0x432b62(0x127)]['getValue']();}[_0x5f57e0(0x124)](){const _0x676faf=_0x5f57e0;super[_0x676faf(0x124)](),this[_0x676faf(0x323)][_0x676faf(0x267)](new Map()),this[_0x676faf(0x323)][_0x676faf(0x1b9)](),this[_0x676faf(0x127)][_0x676faf(0x267)]([]),this[_0x676faf(0x127)][_0x676faf(0x1b9)]();}[_0x5f57e0(0x183)](){const _0x275996=_0x5f57e0;this[_0x275996(0x364)]||(this[_0x275996(0x364)]=!0x0,this[_0x275996(0x134)]['sessionStatus$'][_0x275996(0x150)](_0x4aa5c5[_0x275996(0x320)](this[_0x275996(0x2e4)]))[_0x275996(0x14f)](_0xf8422=>{const _0x4744f6=_0x275996;_0xf8422===_0x2df1a4[_0x4744f6(0x341)]['ONLINE']?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x275996(0x134)][_0x275996(0x165)][_0x275996(0x150)](_0x4aa5c5[_0x275996(0x320)](this['dispose$']))[_0x275996(0x14f)](_0x248b57=>{const _0x586580=_0x275996,_0x55d1c7=_0x248b57[_0x586580(0x36d)];_0x55d1c7===_0x20753e[_0x586580(0x2c2)]['UPDATE_CURSOR']&&this[_0x586580(0x173)](_0x248b57),_0x55d1c7===_0x20753e[_0x586580(0x2c2)][_0x586580(0x1ac)]&&this['_onCursorDelete'](_0x248b57);}),this['disposeWithMe'](this['_commandService'][_0x275996(0x2c0)](_0x136f68=>{const _0x1a3971=_0x275996,_0x539b73=_0x136f68[_0x1a3971(0x263)];_0x539b73!=null&&this[_0x1a3971(0x1bd)]&&_0x136f68['id']===_0x30a0a7[_0x1a3971(0x164)]['id']&&_0x539b73['unitId']===this[_0x1a3971(0x254)]&&_0x539b73['isEditing']===!0x1&&_0x539b73[_0x1a3971(0x129)][_0x1a3971(0x11d)]>0x0&&this[_0x1a3971(0x30a)](_0x539b73[_0x1a3971(0x129)]);})),this[_0x275996(0x374)][_0x275996(0x276)][_0x275996(0x150)](_0x4aa5c5[_0x275996(0x320)](this['dispose$']))[_0x275996(0x14f)](_0x3641b0=>{const _0x919cf4=_0x275996;if((_0x3641b0==null?void 0x0:_0x3641b0['unitID'])!==this[_0x919cf4(0x254)])return;const _0x301d28={'eventID':_0x20753e[_0x919cf4(0x2c2)][_0x919cf4(0x35e)],'data':_0x3641b0};this[_0x919cf4(0x173)](_0x301d28);}),this['disposeWithMe'](this[_0x275996(0x37e)]['onCommandExecuted'](_0x2d9a5a=>{const _0x2488fd=_0x275996;if(_0x2d9a5a[_0x2488fd(0x263)]==null)return;const _0x32e08c=_0x2d9a5a[_0x2488fd(0x263)];if(_0x2d9a5a['id']!==_0x30a0a7[_0x2488fd(0x349)]['id']||_0x32e08c[_0x2488fd(0x15e)]!==this['unitID'])return;const _0x430fa4={'id':'doc.mutation.rich-text-editing','params':_0x32e08c},_0x1786cd=this[_0x2488fd(0xf0)];for(const [_0xad9032,_0x1c1475]of _0x1786cd){const _0x44a66c={'id':_0x2488fd(0xec),'params':{'unitId':this[_0x2488fd(0x254)],'actions':null,'textRanges':_0x1c1475['ranges']}},_0xb5b8ef=this[_0x2488fd(0x1ca)][_0x2488fd(0x1e2)](_0x430fa4,_0x44a66c,!0x1);if(_0x20753e['isTransformMutationFailure'](_0xb5b8ef))throw _0xb5b8ef['error'];_0x1786cd['set'](_0xad9032,{..._0x1c1475,'ranges':_0xb5b8ef[_0x2488fd(0x2b3)][_0x2488fd(0x263)]['textRanges']});}queueMicrotask(()=>{const _0x17ef07=_0x2488fd;this[_0x17ef07(0x323)][_0x17ef07(0x267)](_0x1786cd);});})));}[_0x5f57e0(0x173)](_0x4613da){const _0x16ba39=_0x5f57e0;var _0x2bd393,_0x1e502b;const {memberID:_0x18081f,selection:_0x2a256d}=_0x4613da['data'],_0x54dad2=_0x397dbf(_0x2a256d),_0x3bf8a7=(_0x1e502b=(_0x2bd393=this[_0x16ba39(0x110)][_0x16ba39(0x22e)](this[_0x16ba39(0x254)],_0x18081f))==null?void 0x0:_0x2bd393[_0x16ba39(0x1e6)])!=null?_0x1e502b:_0x16ba39(0x207),_0x523be3={'color':this[_0x16ba39(0x2b2)][_0x16ba39(0x16e)](_0x18081f),'name':_0x3bf8a7,'ranges':_0x54dad2},_0x47f2a2=this['cursorInfo'];_0x47f2a2[_0x16ba39(0x102)](_0x18081f,_0x523be3),this[_0x16ba39(0x323)][_0x16ba39(0x267)](_0x47f2a2);}[_0x5f57e0(0x130)](_0x16f51a){const _0x3588eb=_0x5f57e0,{memberID:_0x59cead}=_0x16f51a[_0x3588eb(0x19e)],_0x5052e1=this[_0x3588eb(0xf0)];_0x5052e1['delete'](_0x59cead),this[_0x3588eb(0x323)]['next'](_0x5052e1);}[_0x5f57e0(0x1a5)](){const _0x3e877e=_0x5f57e0;var _0x5b9ede;if(this[_0x3e877e(0x1bd)]=!0x0,((_0x5b9ede=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x5b9ede[_0x3e877e(0x285)]())!==this[_0x3e877e(0x254)])return;const _0xc546b0=this[_0x3e877e(0x363)]['get'](_0x30a0a7[_0x3e877e(0x201)])[_0x3e877e(0xf9)]();Array[_0x3e877e(0x32a)](_0xc546b0)&&_0xc546b0['length']>0x0&&this[_0x3e877e(0x30a)](_0xc546b0);}[_0x5f57e0(0x23a)](){const _0x1011d1=_0x5f57e0;this[_0x1011d1(0x1bd)]=!0x1;}};_0x5c9e83=_0x4bdb40([_0x27e442(0x2,_0x325bbf[_0x5f57e0(0x333)](_0x325bbf[_0x5f57e0(0x2c1)])),_0x27e442(0x3,_0x325bbf[_0x5f57e0(0x333)](_0x59bb9d)),_0x27e442(0x4,_0x325bbf[_0x5f57e0(0x333)](_0x2df1a4['MemberService'])),_0x27e442(0x5,_0x325bbf[_0x5f57e0(0x333)](_0x5526c9)),_0x27e442(0x6,_0x20753e['ITransformService']),_0x27e442(0x7,_0x325bbf['IUniverInstanceService']),_0x27e442(0x8,_0x325bbf[_0x5f57e0(0x1f4)])],_0x5c9e83);var _0x3a4771=Object['getOwnPropertyDescriptor'],_0x4d582e=(_0x488bfb,_0xba69ac,_0x591951,_0x520198)=>{const _0x2a27ec=_0x5f57e0;for(var _0x12a6a2=_0x520198>0x1?void 0x0:_0x520198?_0x3a4771(_0xba69ac,_0x591951):_0xba69ac,_0x1ebbbe=_0x488bfb[_0x2a27ec(0x11d)]-0x1,_0x2258e9;_0x1ebbbe>=0x0;_0x1ebbbe--)(_0x2258e9=_0x488bfb[_0x1ebbbe])&&(_0x12a6a2=_0x2258e9(_0x12a6a2)||_0x12a6a2);return _0x12a6a2;},_0x8d86b9=(_0x4e5776,_0x3c0bf8)=>(_0x1a7eac,_0x54cf0a)=>_0x3c0bf8(_0x1a7eac,_0x54cf0a,_0x4e5776);const _0x205b27=0x12c,_0xee78b1=0x64,_0x424fbc=()=>{let _0xc525ae=[],_0x1d2b4b=!0x1;return _0x5d138e=>{_0xc525ae['push'](_0x5d138e),_0x1d2b4b||(_0x1d2b4b=!0x0,setTimeout(()=>{const _0x34cf29=_0x304c;_0xc525ae[_0x34cf29(0x1fb)](_0x597858=>_0x597858()),_0xc525ae=[],_0x1d2b4b=!0x1;}));};};let _0x107bc3=class extends _0x325bbf[_0x5f57e0(0x305)]{constructor(_0x240151,_0x41e5dc,_0x2b9aaf,_0x47bcf5,_0x559b1d,_0x4ee57c,_0x3b1d9b,_0x45399b){const _0xf9f655=_0x5f57e0;super(),_0x30fb67(this,_0xf9f655(0x1bd),!0x1),_0x30fb67(this,_0xf9f655(0x364),!0x1),_0x30fb67(this,_0xf9f655(0x323),new _0x4aa5c5['BehaviorSubject'](new Map())),_0x30fb67(this,_0xf9f655(0x189),this['_cursorInfo$'][_0xf9f655(0x1f6)]()),_0x30fb67(this,_0xf9f655(0x127),new _0x4aa5c5['BehaviorSubject']([])),_0x30fb67(this,_0xf9f655(0x30e),this[_0xf9f655(0x127)][_0xf9f655(0x150)](_0x4aa5c5[_0xf9f655(0x2a0)](_0x205b27))),_0x30fb67(this,_0xf9f655(0x30a),_0x325bbf[_0xf9f655(0x2d7)]((_0x359735,_0x2f3939)=>{const _0x52d64d=_0xf9f655,_0x21e8bf={'eventID':_0x20753e[_0x52d64d(0x2c2)][_0x52d64d(0x35e)],'data':{'unitID':this[_0x52d64d(0x254)],'memberID':this[_0x52d64d(0x134)][_0x52d64d(0x307)](),'selection':_0x1f127e[_0x52d64d(0xfd)](_0x359735,_0x2f3939[_0x52d64d(0x246)])}};this[_0x52d64d(0x134)]['send'](_0x21e8bf,this[_0x52d64d(0x254)]);},_0xee78b1)),(this[_0xf9f655(0x254)]=_0x240151,this[_0xf9f655(0x134)]=_0x41e5dc,this[_0xf9f655(0x363)]=_0x2b9aaf,this[_0xf9f655(0x2b2)]=_0x47bcf5,this[_0xf9f655(0x110)]=_0x559b1d,this[_0xf9f655(0x22d)]=_0x4ee57c,this[_0xf9f655(0x37e)]=_0x3b1d9b,this[_0xf9f655(0x108)]=_0x45399b);}get['cursorInfo'](){const _0xbde3bf=_0x5f57e0;return this['_cursorInfo$'][_0xbde3bf(0x266)]();}get[_0x5f57e0(0x378)](){const _0x1b0f69=_0x5f57e0;return this[_0x1b0f69(0x127)]['getValue']();}[_0x5f57e0(0x124)](){const _0x452fc3=_0x5f57e0;super['dispose'](),this[_0x452fc3(0x323)][_0x452fc3(0x267)](new Map()),this['_cursorInfo$'][_0x452fc3(0x1b9)](),this[_0x452fc3(0x127)][_0x452fc3(0x267)]([]),this[_0x452fc3(0x127)][_0x452fc3(0x1b9)]();}[_0x5f57e0(0x183)](){const _0x1a9ade=_0x5f57e0;this[_0x1a9ade(0x364)]||(this[_0x1a9ade(0x364)]=!0x0,this[_0x1a9ade(0x134)][_0x1a9ade(0x368)][_0x1a9ade(0x150)](_0x4aa5c5['takeUntil'](this[_0x1a9ade(0x2e4)]))[_0x1a9ade(0x14f)](_0x3400ee=>{const _0x313048=_0x1a9ade;_0x3400ee===_0x2df1a4['SessionStatus'][_0x313048(0x25a)]?this[_0x313048(0x1a5)]():this['_toggleOffline']();}),this['_session'][_0x1a9ade(0x165)][_0x1a9ade(0x150)](_0x4aa5c5['takeUntil'](this[_0x1a9ade(0x2e4)]))[_0x1a9ade(0x14f)](_0x43f1eb=>{const _0x50473d=_0x1a9ade,_0x5cd9f1=_0x43f1eb['eventID'];_0x5cd9f1===_0x20753e['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x50473d(0x173)](_0x43f1eb),_0x5cd9f1===_0x20753e['CollaborationEvent'][_0x50473d(0x1ac)]&&this[_0x50473d(0x130)](_0x43f1eb);}),this[_0x1a9ade(0x29e)](),this[_0x1a9ade(0x295)](this['_commandService'][_0x1a9ade(0x2c0)](_0x25e4de=>{const _0x2116f4=_0x1a9ade;if(this[_0x2116f4(0x1bd)]&&_0x25e4de['id']===_0x3327a2[_0x2116f4(0x1c9)]['id']&&_0x25e4de['params'][_0x2116f4(0x15e)]===this[_0x2116f4(0x254)]){const _0x6aea54=_0x25e4de[_0x2116f4(0x263)];this['_updateLocalCursor'](_0x6aea54[_0x2116f4(0x103)],_0x6aea54[_0x2116f4(0x300)][0x0]);}})));}['_onCursorUpdate'](_0x21b940){const _0x2cf7e5=_0x5f57e0;var _0x1d7dbe,_0x24ef1d;const {memberID:_0xa8287b,selection:_0x186c9d}=_0x21b940['data'],{sheetName:_0x1c3e50,range:_0xf4566f}=_0x1f127e[_0x2cf7e5(0x166)](_0x186c9d),_0xb9109={'name':(_0x24ef1d=(_0x1d7dbe=this['_memberService'][_0x2cf7e5(0x22e)](this[_0x2cf7e5(0x254)],_0xa8287b))==null?void 0x0:_0x1d7dbe[_0x2cf7e5(0x1e6)])!=null?_0x24ef1d:_0x2cf7e5(0x207),'range':this[_0x2cf7e5(0x18e)](_0x1c3e50,_0xf4566f),'sheetID':_0x1c3e50,'color':this[_0x2cf7e5(0x2b2)][_0x2cf7e5(0x16e)](_0xa8287b),'selection':_0x186c9d},_0x3e6e5f=this[_0x2cf7e5(0xf0)];_0x3e6e5f[_0x2cf7e5(0x102)](_0xa8287b,_0xb9109),this[_0x2cf7e5(0x323)][_0x2cf7e5(0x267)](_0x3e6e5f);}[_0x5f57e0(0x130)](_0x203651){const _0x3fbb11=_0x5f57e0,{memberID:_0x410ac5}=_0x203651[_0x3fbb11(0x19e)],_0x499222=this[_0x3fbb11(0xf0)];_0x499222[_0x3fbb11(0x215)](_0x410ac5),this[_0x3fbb11(0x323)][_0x3fbb11(0x267)](_0x499222);}[_0x5f57e0(0x18e)](_0x7da536,_0xa04bc6){const _0x266c9a=_0x5f57e0;var _0x23a8e0,_0x4b7058;const _0xa00ea3=(_0x4b7058=(_0x23a8e0=this['_univerInstanceService']['getUniverSheetInstance'](this[_0x266c9a(0x254)]))==null?void 0x0:_0x23a8e0[_0x266c9a(0x117)](_0x7da536))==null?void 0x0:_0x4b7058[_0x266c9a(0x34a)]();return(_0xa00ea3==null?void 0x0:_0xa00ea3['find'](_0x499b83=>_0x325bbf[_0x266c9a(0x23b)][_0x266c9a(0x2c8)](_0x499b83,_0xa04bc6)))||_0xa04bc6;}['_onRefRangeChange'](){const _0x51aeee=_0x5f57e0,_0x178b9c=new _0x325bbf[(_0x51aeee(0x159))](),_0x3998c9=_0x424fbc(),_0x1ad82f=()=>{const _0x1b08dc=_0x51aeee;_0x178b9c[_0x1b08dc(0x124)]();const _0x4d57d8=(_0xae7b97,_0x4c9c04,_0x2eb706,_0x1ef8dd)=>{const _0x22c907=_0x1b08dc;let _0x5b23c1=[];switch(_0xae7b97['id']){case _0x3327a2['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:{_0x5b23c1=_0x3327a2[_0x22c907(0x1e4)](_0xae7b97,_0x1ef8dd);break;}case _0x3327a2[_0x22c907(0x1ce)]['DeleteRangeMoveUpCommandId']:{_0x5b23c1=_0x3327a2['handleDeleteRangeMoveUp'](_0xae7b97,_0x1ef8dd);break;}case _0x3327a2[_0x22c907(0x1ce)][_0x22c907(0x2c4)]:{_0x5b23c1=_0x3327a2['handleInsertCol'](_0xae7b97,_0x1ef8dd);break;}case _0x3327a2[_0x22c907(0x1ce)]['InsertRangeMoveDownCommandId']:{_0x5b23c1=_0x3327a2[_0x22c907(0x232)](_0xae7b97,_0x1ef8dd);break;}case _0x3327a2['EffectRefRangId'][_0x22c907(0x152)]:{_0x5b23c1=_0x3327a2[_0x22c907(0x25e)](_0xae7b97,_0x1ef8dd);break;}case _0x3327a2[_0x22c907(0x1ce)][_0x22c907(0x137)]:{_0x5b23c1=_0x3327a2['handleInsertRow'](_0xae7b97,_0x1ef8dd);break;}case _0x3327a2[_0x22c907(0x1ce)]['MoveRangeCommandId']:{_0x5b23c1=_0x3327a2[_0x22c907(0x1eb)](_0xae7b97,_0x1ef8dd);break;}case _0x3327a2['EffectRefRangId'][_0x22c907(0x258)]:{_0x5b23c1=_0x3327a2[_0x22c907(0x11b)](_0xae7b97,_0x1ef8dd);break;}case _0x3327a2[_0x22c907(0x1ce)][_0x22c907(0x13c)]:{_0x5b23c1=_0x3327a2['handleIRemoveRow'](_0xae7b97,_0x1ef8dd);break;}}const _0xa9e6df=_0x3327a2[_0x22c907(0x11e)](_0x5b23c1,_0x1ef8dd),_0x5322a0=this[_0x22c907(0xf0)][_0x22c907(0x2ed)](_0x4c9c04);if(_0x5322a0&&_0xa9e6df){const _0x105f28={..._0x5322a0,'range':_0xa9e6df};this['cursorInfo'][_0x22c907(0x102)](_0x4c9c04,_0x105f28),_0x3998c9(()=>{const _0x3ca0e4=_0x22c907,_0x483b13=this[_0x3ca0e4(0x108)][_0x3ca0e4(0x160)](_0xa9e6df,_0x322bf1=>(_0x483b13[_0x3ca0e4(0x124)](),_0x4d57d8(_0x322bf1,_0x4c9c04,_0x2eb706,_0xa9e6df)));_0x178b9c[_0x3ca0e4(0x2db)](_0x483b13);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x1b08dc(0x1fb)]((_0xf19fe9,_0x4574ae)=>{const _0x3201c0=_0x1b08dc,{range:_0x479654,sheetID:_0x312536}=_0xf19fe9,_0x5b903c=this[_0x3201c0(0x108)]['registerRefRange'](_0x479654,_0x3eea01=>(_0x5b903c['dispose'](),_0x4d57d8(_0x3eea01,_0x4574ae,_0x312536,_0x479654)));_0x178b9c[_0x3201c0(0x2db)](_0x5b903c);});};this[_0x51aeee(0x295)](_0x325bbf['toDisposable'](this[_0x51aeee(0x323)]['subscribe'](()=>{_0x1ad82f();})));}[_0x5f57e0(0x1a5)](){const _0x1860cd=_0x5f57e0;var _0x363fdd,_0x1a9dcd;if(this[_0x1860cd(0x1bd)]=!0x0,((_0x363fdd=this[_0x1860cd(0x22d)][_0x1860cd(0x144)]())==null?void 0x0:_0x363fdd[_0x1860cd(0x285)]())!==this[_0x1860cd(0x254)])return;const _0x4294fc=(_0x1a9dcd=this[_0x1860cd(0x363)][_0x1860cd(0x2ed)](_0x3327a2['SheetsSelectionsService'])[_0x1860cd(0x147)]())==null?void 0x0:_0x1a9dcd[0x0],_0x2e1858=this['_univerInstanceService'][_0x1860cd(0x1af)](_0x325bbf['UniverInstanceType'][_0x1860cd(0x167)])[_0x1860cd(0x1d5)]();_0x4294fc&&_0x2e1858&&this['_updateLocalCursor'](_0x2e1858['getSheetId'](),_0x4294fc);}[_0x5f57e0(0x23a)](){this['_online']=!0x1;}};_0x107bc3=_0x4d582e([_0x8d86b9(0x2,_0x325bbf[_0x5f57e0(0x333)](_0x325bbf[_0x5f57e0(0x2c1)])),_0x8d86b9(0x3,_0x325bbf[_0x5f57e0(0x333)](_0x59bb9d)),_0x8d86b9(0x4,_0x325bbf[_0x5f57e0(0x333)](_0x2df1a4[_0x5f57e0(0x34d)])),_0x8d86b9(0x5,_0x325bbf[_0x5f57e0(0x2a2)]),_0x8d86b9(0x6,_0x325bbf[_0x5f57e0(0x1f4)]),_0x8d86b9(0x7,_0x325bbf[_0x5f57e0(0x333)](_0x3327a2['RefRangeService']))],_0x107bc3);var _0x22b96a=Object[_0x5f57e0(0x12d)],_0x3a9aad=(_0x392181,_0x294f74,_0x963a9c,_0x47d085)=>{for(var _0x373a73=_0x47d085>0x1?void 0x0:_0x47d085?_0x22b96a(_0x294f74,_0x963a9c):_0x294f74,_0x53de3f=_0x392181['length']-0x1,_0x4a1405;_0x53de3f>=0x0;_0x53de3f--)(_0x4a1405=_0x392181[_0x53de3f])&&(_0x373a73=_0x4a1405(_0x373a73)||_0x373a73);return _0x373a73;},_0x14ddce=(_0x3c3bc4,_0x3fb06f)=>(_0x5eb723,_0x8f52c7)=>_0x3fb06f(_0x5eb723,_0x8f52c7,_0x3c3bc4);let _0x2264e9=class extends _0x325bbf[_0x5f57e0(0x305)]{constructor(_0x20ed8e,_0x31fd6c,_0x152d52){const _0x28e508=_0x5f57e0;super(),_0x30fb67(this,_0x28e508(0x2fc),new Map()),_0x30fb67(this,_0x28e508(0x109),new _0x4aa5c5[(_0x28e508(0x21a))]()),(this[_0x28e508(0x22d)]=_0x20ed8e,this[_0x28e508(0x363)]=_0x31fd6c,this[_0x28e508(0x35f)]=_0x152d52,this[_0x28e508(0x364)]());}['dispose'](){const _0x126461=_0x5f57e0;super[_0x126461(0x124)](),this[_0x126461(0x109)]['complete'](),this[_0x126461(0x2fc)]['forEach'](_0x593525=>_0x593525[_0x126461(0x124)]());}['getCollabCursors$'](_0x47a041){const _0x2a11b1=_0x5f57e0;return this[_0x2a11b1(0x2fc)][_0x2a11b1(0xf6)](_0x47a041)?this[_0x2a11b1(0x2fc)][_0x2a11b1(0x2ed)](_0x47a041)['cursorInfo$']:this[_0x2a11b1(0x109)]['pipe'](_0x4aa5c5[_0x2a11b1(0x261)](_0x56ee66=>_0x56ee66[_0x2a11b1(0x254)]===_0x47a041),_0x4aa5c5[_0x2a11b1(0x345)](_0x84d276=>_0x84d276[_0x2a11b1(0x189)]));}[_0x5f57e0(0x364)](){const _0x307605=_0x5f57e0;this[_0x307605(0x22d)][_0x307605(0x350)](_0x325bbf[_0x307605(0x1c6)][_0x307605(0x167)])[_0x307605(0x150)](_0x4aa5c5[_0x307605(0x320)](this[_0x307605(0x2e4)]))[_0x307605(0x14f)](async _0x77ba99=>{const _0x250aa9=_0x307605,_0x54f7bf=_0x77ba99['getUnitId'](),_0x13fbd3=await this['_startSheetCollabCursor'](_0x54f7bf);this['_entityInit$']['next'](_0x13fbd3),this[_0x250aa9(0x2fc)][_0x250aa9(0x102)](_0x54f7bf,_0x13fbd3);}),this['_univerInstanceService'][_0x307605(0x350)](_0x325bbf[_0x307605(0x1c6)][_0x307605(0x367)])[_0x307605(0x150)](_0x4aa5c5[_0x307605(0x320)](this[_0x307605(0x2e4)]))[_0x307605(0x150)](_0x4aa5c5[_0x307605(0x261)](_0x74b99a=>!_0x74b99a[_0x307605(0x285)]()[_0x307605(0x270)]('__')))[_0x307605(0x14f)](async _0x469ff8=>{const _0x7ea9ca=_0x307605,_0x38da97=_0x469ff8['getUnitId'](),_0x56e7e7=await this[_0x7ea9ca(0x113)](_0x38da97);this[_0x7ea9ca(0x109)]['next'](_0x56e7e7),this[_0x7ea9ca(0x2fc)][_0x7ea9ca(0x102)](_0x38da97,_0x56e7e7);}),_0x4aa5c5[_0x307605(0x32e)](this[_0x307605(0x22d)]['getTypeOfUnitDisposed$'](_0x325bbf[_0x307605(0x1c6)][_0x307605(0x367)]),this[_0x307605(0x22d)]['getTypeOfUnitDisposed$'](_0x325bbf[_0x307605(0x1c6)][_0x307605(0x167)]))['pipe'](_0x4aa5c5[_0x307605(0x320)](this[_0x307605(0x2e4)]))['subscribe'](_0x35e4c2=>{const _0x16777f=_0x307605,_0x4ca9d1=_0x35e4c2[_0x16777f(0x285)](),_0x22a0c4=this[_0x16777f(0x2fc)][_0x16777f(0x2ed)](_0x4ca9d1);_0x22a0c4&&(_0x22a0c4[_0x16777f(0x124)](),this[_0x16777f(0x2fc)]['delete'](_0x4ca9d1));});}async['_startSheetCollabCursor'](_0x3cb10a){const _0x48ccdf=_0x5f57e0,_0x32da81=await this[_0x48ccdf(0x35f)][_0x48ccdf(0x265)](_0x3cb10a),_0x3b638a=this[_0x48ccdf(0x363)]['createInstance'](_0x107bc3,_0x3cb10a,_0x32da81);return _0x3b638a[_0x48ccdf(0x183)](),_0x3b638a;}async['_startDocCollabCursor'](_0x2623b0){const _0x320722=_0x5f57e0,_0x34b9ed=await this[_0x320722(0x35f)][_0x320722(0x265)](_0x2623b0),_0x5e99c7=this[_0x320722(0x363)][_0x320722(0x1d6)](_0x5c9e83,_0x2623b0,_0x34b9ed);return _0x5e99c7[_0x320722(0x183)](),_0x5e99c7;}};_0x2264e9=_0x3a9aad([_0x14ddce(0x0,_0x325bbf[_0x5f57e0(0x2a2)]),_0x14ddce(0x1,_0x325bbf['Inject'](_0x325bbf[_0x5f57e0(0x2c1)])),_0x14ddce(0x2,_0x325bbf[_0x5f57e0(0x333)](_0x2df1a4[_0x5f57e0(0x228)]))],_0x2264e9);const _0x21a275=0x14,_0x42be0b=0xc8,_0x1e962a=0x4,_0x128edf=0x5;function _0x14f747(_0x38b27a,_0x4b3b1e){const _0x2d738f=_0x5f57e0;let {radius:_0x1ef0e1,width:_0x2284d7,height:_0x1f763e}=_0x4b3b1e;_0x1ef0e1=_0x1ef0e1!=null?_0x1ef0e1:0x0,_0x2284d7=_0x2284d7!=null?_0x2284d7:0x1e,_0x1f763e=_0x1f763e!=null?_0x1f763e:0x1e;let _0x5db90f=0x0,_0x4a1d84=0x0,_0x82ce70=0x0;_0x5db90f=_0x4a1d84=_0x82ce70=Math[_0x2d738f(0x1e7)](_0x1ef0e1,_0x2284d7/0x2,_0x1f763e/0x2),_0x38b27a['beginPath'](),_0x38b27a[_0x2d738f(0x2b6)](_0x5db90f,0x0),_0x38b27a['lineTo'](_0x2284d7-_0x4a1d84,0x0),_0x38b27a[_0x2d738f(0x245)](_0x2284d7-_0x4a1d84,_0x4a1d84,_0x4a1d84,Math['PI']*0x3/0x2,0x0,!0x1),_0x38b27a['lineTo'](_0x2284d7,_0x1f763e-_0x82ce70),_0x38b27a[_0x2d738f(0x245)](_0x2284d7-_0x82ce70,_0x1f763e-_0x82ce70,_0x82ce70,0x0,Math['PI']/0x2,!0x1),_0x38b27a['lineTo'](0x0,_0x1f763e),_0x38b27a['lineTo'](0x0,_0x5db90f),_0x38b27a[_0x2d738f(0x245)](_0x5db90f,_0x5db90f,_0x5db90f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x38b27a[_0x2d738f(0x321)](),_0x4b3b1e['fill']&&(_0x38b27a[_0x2d738f(0x33e)](),_0x38b27a['fillStyle']=_0x4b3b1e[_0x2d738f(0x214)],_0x4b3b1e[_0x2d738f(0x1a3)]==='evenodd'?_0x38b27a['fill'](_0x2d738f(0x2d4)):_0x38b27a['fill'](),_0x38b27a[_0x2d738f(0x1f1)]());}class _0x57cba5 extends _0x1baa4a['Shape']{constructor(_0x2e420b,_0x419067){const _0x3b7a2c=_0x5f57e0;super(_0x2e420b,_0x419067),_0x30fb67(this,'color'),_0x30fb67(this,_0x3b7a2c(0x2b0)),(this[_0x3b7a2c(0x281)]=_0x419067==null?void 0x0:_0x419067[_0x3b7a2c(0x281)],this[_0x3b7a2c(0x2b0)]=_0x419067==null?void 0x0:_0x419067[_0x3b7a2c(0x2b0)]);}static[_0x5f57e0(0x282)](_0x2b48c9,_0x286ddb){const _0x1af342=_0x5f57e0,{text:_0x21086b,color:_0x5ab96d}=_0x286ddb;_0x2b48c9[_0x1af342(0x33e)](),_0x2b48c9[_0x1af342(0x169)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x2041f2=_0x2b48c9[_0x1af342(0x158)](_0x21086b)['width'],_0x5487b8=Math['min'](_0x2041f2+0x2*_0x1e962a,_0x42be0b);_0x14f747(_0x2b48c9,{'height':_0x21a275,'radius':0x4,'width':_0x5487b8,'fill':_0x5ab96d}),_0x2b48c9['fillStyle']=_0x1af342(0x1a7);const _0xbf5846=_0x1e962a,_0x2bd744=_0x21a275-_0x128edf,_0x1572e2=_0x42be0b-0x2*_0x1e962a;if(_0x2041f2>_0x1572e2){let _0xd65c9e='',_0x5aae31=0x0;for(const _0x327a42 of _0x21086b){const _0x107d75=_0x2b48c9['measureText'](_0x327a42)[_0x1af342(0x208)];if(_0x5aae31+_0x107d75<=_0x1572e2-_0x2b48c9[_0x1af342(0x158)](_0x1af342(0x337))[_0x1af342(0x208)])_0xd65c9e+=_0x327a42,_0x5aae31+=_0x107d75;else{_0xd65c9e+=_0x1af342(0x337);break;}}_0x2b48c9[_0x1af342(0xed)](_0xd65c9e,_0xbf5846,_0x2bd744);}else _0x2b48c9['fillText'](_0x21086b,_0xbf5846,_0x2bd744);_0x2b48c9[_0x1af342(0x1f1)]();}[_0x5f57e0(0x200)](_0x1d730e){const _0x2f962d=_0x5f57e0;_0x57cba5[_0x2f962d(0x282)](_0x1d730e,this);}}const _0x15ba17=_0x5f57e0(0x20a),_0x150ac0='collab-text-range-',_0xb061fa=_0x5f57e0(0x2ee),_0x3e4509=0x6,_0x300f39=1.5,_0x1f26f7=0x4,_0x467729=1.5,_0x4b08ba=_0x5f57e0(0x2f1);class _0x14a27d{constructor(_0x3cfa0e,_0x2df206,_0x46089f,_0x50bc2c){const _0x3272d7=_0x5f57e0;_0x30fb67(this,_0x3272d7(0x2a6),[]),_0x30fb67(this,_0x3272d7(0x1b5),null),_0x30fb67(this,_0x3272d7(0x28f),null),_0x30fb67(this,_0x3272d7(0x171),null),_0x30fb67(this,_0x3272d7(0x14d),null),_0x30fb67(this,_0x3272d7(0x2a9),null),(this[_0x3272d7(0x22a)]=_0x3cfa0e,this['_scene']=_0x2df206,this[_0x3272d7(0x2d0)]=_0x46089f,this[_0x3272d7(0x24f)]=_0x50bc2c,this[_0x3272d7(0x125)]());}set[_0x5f57e0(0x1e8)](_0x458dc7){const _0x1b0a5a=_0x5f57e0;_0x458dc7?(this[_0x1b0a5a(0x171)]&&this[_0x1b0a5a(0x171)][_0x1b0a5a(0x178)](),this[_0x1b0a5a(0x28f)]&&this['_textBubble'][_0x1b0a5a(0x190)]()):(this[_0x1b0a5a(0x171)]&&this[_0x1b0a5a(0x171)][_0x1b0a5a(0x190)](),this[_0x1b0a5a(0x28f)]&&this[_0x1b0a5a(0x28f)][_0x1b0a5a(0x178)]());}[_0x5f57e0(0x124)](){const _0x4dcd7c=_0x5f57e0;for(const _0x52d743 of this[_0x4dcd7c(0x2a6)])_0x52d743['dispose']();this[_0x4dcd7c(0x28f)]&&this[_0x4dcd7c(0x28f)][_0x4dcd7c(0x124)](),this[_0x4dcd7c(0x171)]&&this[_0x4dcd7c(0x171)]['dispose'](),this[_0x4dcd7c(0x1b5)]&&this[_0x4dcd7c(0x1b5)][_0x4dcd7c(0x124)](),this[_0x4dcd7c(0x2a9)]&&this[_0x4dcd7c(0x2a9)]();}[_0x5f57e0(0x125)](){const _0x33aa22=_0x5f57e0;var _0x34a785;const {_docSkeleton:_0x17fc20,_document:_0x61cad7}=this,{color:_0x4fb91d,name:_0xe44e1a,ranges:_0x1c08c0}=this[_0x33aa22(0x22a)],_0x3f1f23=_0x61cad7[_0x33aa22(0x16f)](),{docsLeft:_0x258186,docsTop:_0x136f27}=_0x3f1f23,_0x4b0c3e=new _0x3aa08e[(_0x33aa22(0x10a))](_0x3f1f23,_0x17fc20);for(const {startOffset:_0x5deeee,endOffset:_0x471073,rangeType:_0x2bd645,segmentId:_0xfe234e,segmentPage:_0x57cf9a,collapsed:_0x5538e2,isActive:_0x56bc4d}of _0x1c08c0){const _0x1ba8a8=_0x17fc20[_0x33aa22(0x25d)](_0x5deeee,!0x0,_0xfe234e,_0x57cf9a);let _0x14e117=_0x17fc20[_0x33aa22(0x25d)](_0x471073,!0x0,_0xfe234e,_0x57cf9a);if(_0x14e117==null&&(_0x14e117=_0x17fc20[_0x33aa22(0x25d)](_0x471073-0x1,!0x1,_0xfe234e,_0x57cf9a)),_0x56bc4d){const {contentBoxPointGroup:_0x2b1beb}=_0x4b0c3e[_0x33aa22(0x2d8)](_0x14e117,_0x14e117);if(_0x2b1beb[_0x33aa22(0x11d)]===0x0)continue;this[_0x33aa22(0x16c)](_0x4fb91d,_0x2b1beb,_0x258186,_0x136f27,_0xe44e1a),this[_0x33aa22(0x2a9)]=this['_handleHover']();}if(_0x1ba8a8&&_0x14e117){if(_0x2bd645===_0x325bbf[_0x33aa22(0x381)]['RECT']){const _0x3371d1=new _0x3aa08e[(_0x33aa22(0x19a))](_0x3f1f23,_0x17fc20),{pointGroup:_0x3b5f90}=(_0x34a785=_0x3371d1[_0x33aa22(0x2d8)](_0x1ba8a8,_0x14e117))!=null?_0x34a785:{};if(_0x3b5f90==null||_0x3b5f90[_0x33aa22(0x11d)]===0x0)continue;this[_0x33aa22(0x227)](_0x4fb91d,_0x3b5f90,_0x258186,_0x136f27);}else{if(!_0x5538e2){const {borderBoxPointGroup:_0x382d99}=_0x4b0c3e[_0x33aa22(0x2d8)](_0x1ba8a8,_0x14e117);if(_0x382d99[_0x33aa22(0x11d)]===0x0)continue;this['_drawTextRange'](_0x4fb91d,_0x382d99,_0x258186,_0x136f27);}}}}}[_0x5f57e0(0x16c)](_0x4eb27c,_0xb1e0a2,_0xd54960,_0x1d5a61,_0x56a62e){const _0x426291=_0x5f57e0,_0x2c4ad2=this[_0x426291(0x23d)](_0xb1e0a2),{left:_0x4bf03d,top:_0x5586f8,height:_0x116ad4}=_0x2c4ad2,_0x2b67fc=this[_0x426291(0x156)](),_0x243e65=_0x467729/_0x2b67fc,_0xaed58b=new _0x1baa4a[(_0x426291(0x16b))](_0x15ba17+_0x325bbf['Tools'][_0x426291(0x101)](_0x3e4509),{'left':_0x4bf03d+_0xd54960-_0x243e65,'top':_0x5586f8+_0x1d5a61,'height':_0x116ad4,'width':_0x300f39,'fill':_0x4eb27c||_0x1baa4a[_0x426291(0x2b5)](_0x325bbf[_0x426291(0x236)][_0x426291(0x2ab)],0x0),'strokeWidth':_0x243e65,'stroke':_0x4b08ba,'evented':!0x0});this[_0x426291(0x1b5)]=_0xaed58b,this[_0x426291(0x26f)][_0x426291(0x36f)](_0xaed58b,_0x3aa08e[_0x426291(0x175)]);const _0x556af3=new _0x1baa4a[(_0x426291(0x16b))](_0x15ba17+_0x325bbf[_0x426291(0xfa)][_0x426291(0x101)](_0x3e4509),{'left':_0x4bf03d+_0xd54960-_0x243e65,'top':_0x5586f8+_0x1d5a61-_0x1f26f7/0x2,'height':_0x1f26f7,'width':_0x1f26f7,'fill':_0x4eb27c||_0x1baa4a[_0x426291(0x2b5)](_0x325bbf[_0x426291(0x236)][_0x426291(0x2ab)],0x0),'strokeWidth':0x0,'stroke':_0x4eb27c||_0x1baa4a[_0x426291(0x2b5)](_0x325bbf[_0x426291(0x236)][_0x426291(0x2ab)],0x0),'evented':!0x1});this[_0x426291(0x171)]=_0x556af3,this[_0x426291(0x26f)]['addObject'](_0x556af3,_0x3aa08e[_0x426291(0x175)]);const _0x406efe=new _0x57cba5(_0x15ba17+_0x325bbf['Tools'][_0x426291(0x101)](_0x3e4509),{'left':_0x4bf03d+_0xd54960-_0x243e65,'top':_0x5586f8+_0x1d5a61-_0x21a275,'text':_0x56a62e,'color':_0x4eb27c});this[_0x426291(0x28f)]=_0x406efe,this[_0x426291(0x26f)][_0x426291(0x36f)](_0x406efe,_0x3aa08e[_0x426291(0x175)]),this[_0x426291(0x1e8)]=!0x1;}[_0x5f57e0(0x369)](){const _0x2250f1=_0x5f57e0,_0x172be6=this[_0x2250f1(0x1b5)][_0x2250f1(0x21c)][_0x2250f1(0x233)](()=>{this['_hover']=!0x0;}),_0x1f8c9a=this[_0x2250f1(0x1b5)][_0x2250f1(0x212)][_0x2250f1(0x233)](()=>{const _0x2666d9=_0x2250f1;this['_hideTimer']&&clearTimeout(this[_0x2666d9(0x14d)]),this[_0x2666d9(0x14d)]=setTimeout(()=>{const _0xae5c8b=_0x2666d9;this[_0xae5c8b(0x1e8)]=!0x1;},0x7d0);});return()=>{const _0x4125e1=_0x2250f1;_0x172be6[_0x4125e1(0x33c)](),_0x1f8c9a[_0x4125e1(0x33c)]();};}[_0x5f57e0(0x384)](_0x1e316d,_0x4ade58,_0x2b8194,_0x450f8b){const _0x1ab5f2=_0x5f57e0,_0x34fa10=new _0x325bbf[(_0x1ab5f2(0x1b0))](_0x1e316d)[_0x1ab5f2(0x324)](0.2)[_0x1ab5f2(0x1aa)](),_0x270a7b=new _0x1baa4a[(_0x1ab5f2(0x1b7))](_0x150ac0+_0x325bbf[_0x1ab5f2(0xfa)]['generateRandomId'](_0x3e4509),{'pointsGroup':_0x4ade58,'fill':_0x34fa10||_0x1baa4a[_0x1ab5f2(0x2b5)](_0x325bbf['COLORS'][_0x1ab5f2(0x2ab)],0.2),'left':_0x2b8194,'top':_0x450f8b,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x1ab5f2(0x10e)](_0x270a7b),this[_0x1ab5f2(0x26f)][_0x1ab5f2(0x36f)](_0x270a7b,_0x3aa08e[_0x1ab5f2(0x175)]);}[_0x5f57e0(0x227)](_0x4a9026,_0x12065f,_0x24f349,_0x51a458){const _0x2fef7c=_0x5f57e0,_0x5e3ada=new _0x325bbf[(_0x2fef7c(0x1b0))](_0x4a9026)[_0x2fef7c(0x324)](0.2)[_0x2fef7c(0x1aa)](),_0x1a77cc=new _0x1baa4a[(_0x2fef7c(0x1b7))](_0xb061fa+_0x325bbf[_0x2fef7c(0xfa)][_0x2fef7c(0x101)](_0x3e4509),{'pointsGroup':_0x12065f,'fill':_0x5e3ada||_0x1baa4a[_0x2fef7c(0x2b5)](_0x325bbf['COLORS']['black'],0.2),'left':_0x24f349,'top':_0x51a458,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2fef7c(0x2a6)][_0x2fef7c(0x10e)](_0x1a77cc),this[_0x2fef7c(0x26f)]['addObject'](_0x1a77cc,_0x3aa08e['TEXT_RANGE_LAYER_INDEX']);}[_0x5f57e0(0x23d)](_0xa23e3d){const _0x11ca1d=_0xa23e3d[0x0],_0xf7719c=_0x11ca1d[0x0],_0x30ef55=_0x11ca1d[0x2],{x:_0x44630e,y:_0x12ce16}=_0xf7719c,{x:_0x471540,y:_0xbb6d6a}=_0x30ef55;return{'left':_0x44630e,'top':_0x12ce16,'width':_0x471540-_0x44630e,'height':_0xbb6d6a-_0x12ce16};}[_0x5f57e0(0x156)](){const _0x1d23ae=_0x5f57e0,{scaleX:_0xcd2280,scaleY:_0x4e2893}=this[_0x1d23ae(0x26f)][_0x1d23ae(0x30f)]();return Math[_0x1d23ae(0x1a2)](_0xcd2280,_0x4e2893);}}var _0x36beb5=Object[_0x5f57e0(0x12d)],_0x17a02b=(_0x169c7d,_0x39b58c,_0x165099,_0x13ac3d)=>{for(var _0x3e477e=_0x13ac3d>0x1?void 0x0:_0x13ac3d?_0x36beb5(_0x39b58c,_0x165099):_0x39b58c,_0x3d555c=_0x169c7d['length']-0x1,_0x4dd554;_0x3d555c>=0x0;_0x3d555c--)(_0x4dd554=_0x169c7d[_0x3d555c])&&(_0x3e477e=_0x4dd554(_0x3e477e)||_0x3e477e);return _0x3e477e;},_0x2fe443=(_0x70a06d,_0xa6249c)=>(_0xec370d,_0x3bc6bf)=>_0xa6249c(_0xec370d,_0x3bc6bf,_0x70a06d);let _0x421646=class extends _0x325bbf[_0x5f57e0(0x305)]{constructor(_0x521121,_0x2c8a5d,_0x866d4a,_0x5a8910,_0x3656f3){const _0x465cfb=_0x5f57e0;super(),_0x30fb67(this,_0x465cfb(0x163),[]),_0x30fb67(this,_0x465cfb(0x204),[]),(this[_0x465cfb(0x1e5)]=_0x521121,this['_docSkeletonManagerService']=_0x2c8a5d,this['_collabCursorController']=_0x866d4a,this['_commandService']=_0x5a8910,this['_themeService']=_0x3656f3,this[_0x465cfb(0x364)]());}[_0x5f57e0(0x364)](){const _0x6b3e7b=_0x5f57e0,_0x15ae29=this[_0x6b3e7b(0x1e5)][_0x6b3e7b(0x15e)],_0x460f94=this[_0x6b3e7b(0x1a9)];this['disposeWithMe'](_0x4aa5c5[_0x6b3e7b(0x181)]([this[_0x6b3e7b(0x27d)]['getCollabCursors$'](_0x15ae29),this['_themeService']['currentTheme$']])[_0x6b3e7b(0x150)](_0x107600[_0x6b3e7b(0x1ad)](([_0x262735,_0x5b4b17])=>({'skeleton':_0x460f94[_0x6b3e7b(0x2e8)](),'cursors':[..._0x262735[_0x6b3e7b(0x1d0)]()][_0x6b3e7b(0x13d)](_0x1a0b93=>({..._0x1a0b93,'color':this[_0x6b3e7b(0x106)][_0x6b3e7b(0x1c3)](_0x1a0b93[_0x6b3e7b(0x281)])}))})))[_0x6b3e7b(0x14f)](_0x54c0fe=>{const _0x1b721f=_0x6b3e7b;if(this[_0x1b721f(0x29d)](),_0x54c0fe){const {skeleton:_0x331ab0,cursors:_0x1dcfcb}=_0x54c0fe;this[_0x1b721f(0x249)](_0x331ab0,_0x1dcfcb);}})),this[_0x6b3e7b(0x2be)](),this['_initCommandExecutedListener']();}[_0x5f57e0(0x249)](_0x5c4d53,_0x25bf24){const _0x1fd06f=_0x5f57e0,{scene:_0x3338da,mainComponent:_0x52d6b0}=this[_0x1fd06f(0x1e5)],_0x5633fc=_0x25bf24[_0x1fd06f(0x1ad)](_0x1780b8=>new _0x14a27d(_0x1780b8,_0x3338da,_0x5c4d53,_0x52d6b0));this[_0x1fd06f(0x163)]=_0x5633fc,this[_0x1fd06f(0x204)]=_0x25bf24;}['_refreshCollabCursors'](){const _0x44a82a=_0x5f57e0;this['_removeCollabCursors']();const {scene:_0x33815b,mainComponent:_0x275cb2}=this['_context'],_0x2a8cf0=this[_0x44a82a(0x1a9)]['getSkeleton'](),_0x20bbfd=this[_0x44a82a(0x204)][_0x44a82a(0x1ad)](_0x5cb104=>new _0x14a27d(_0x5cb104,_0x33815b,_0x2a8cf0,_0x275cb2));this[_0x44a82a(0x163)]=_0x20bbfd;}['_removeCollabCursors'](){const _0x312b6f=_0x5f57e0;this[_0x312b6f(0x163)][_0x312b6f(0x1fb)](_0x581b7e=>_0x581b7e['dispose']()),this[_0x312b6f(0x163)]=[];}[_0x5f57e0(0x268)](){const _0x54483a=_0x5f57e0,_0x1a6025=[_0x3aa08e[_0x54483a(0x16a)]['id']];this[_0x54483a(0x295)](this[_0x54483a(0x37e)][_0x54483a(0x2c0)](_0x5dd362=>{const _0x453ad1=_0x54483a;_0x1a6025[_0x453ad1(0x14b)](_0x5dd362['id'])&&_0x5dd362[_0x453ad1(0x263)]['unitId']===this[_0x453ad1(0x1e5)][_0x453ad1(0x15e)]&&this[_0x453ad1(0x299)]();}));}[_0x5f57e0(0x2be)](){const _0x5747f7=_0x5f57e0;this[_0x5747f7(0x295)](_0x325bbf[_0x5747f7(0x1ec)](this['_context'][_0x5747f7(0x346)][_0x5747f7(0x2bb)])[_0x5747f7(0x150)](_0x107600[_0x5747f7(0x261)](_0x11be3c=>_0x11be3c[_0x5747f7(0x325)]===_0x1baa4a[_0x5747f7(0x141)][_0x5747f7(0x18a)]),_0x107600['throttleTime'](0x10))[_0x5747f7(0x14f)](()=>{const _0x470e3b=_0x5747f7;this[_0x470e3b(0x299)]();}));}};_0x421646=_0x17a02b([_0x2fe443(0x1,_0x325bbf[_0x5f57e0(0x333)](_0x30a0a7[_0x5f57e0(0x14c)])),_0x2fe443(0x2,_0x325bbf[_0x5f57e0(0x333)](_0x2264e9)),_0x2fe443(0x3,_0x325bbf[_0x5f57e0(0x1f4)]),_0x2fe443(0x4,_0x325bbf['Inject'](_0x325bbf[_0x5f57e0(0x24e)]))],_0x421646);const _0x45d79c=0x1,_0x49d638=1.5;class _0x3ac4f0 extends _0x1baa4a[_0x5f57e0(0x2af)]{constructor(_0x4e78c8,_0x2ffdfc){const _0x4d9b7f=_0x5f57e0;super(_0x4e78c8,_0x2ffdfc),_0x30fb67(this,_0x4d9b7f(0x136)),_0x30fb67(this,_0x4d9b7f(0x34e),!0x1),_0x30fb67(this,_0x4d9b7f(0x218)),_0x30fb67(this,_0x4d9b7f(0x2eb),''),_0x30fb67(this,_0x4d9b7f(0x1dc),_0x4d9b7f(0x132)),_0x30fb67(this,_0x4d9b7f(0x179)),(_0x2ffdfc&&this[_0x4d9b7f(0x287)](_0x2ffdfc),this[_0x4d9b7f(0x21c)][_0x4d9b7f(0x233)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x4d9b7f(0x212)][_0x4d9b7f(0x233)](()=>this[_0x4d9b7f(0x287)]({'hovered':!0x1})));}[_0x5f57e0(0x287)](_0x1d3b45){const _0x44e818=_0x5f57e0;var _0x5cb40a,_0x1af184,_0x547d0a,_0x306f0f,_0x49ae13,_0xca4d25;this['_color']=(_0x5cb40a=_0x1d3b45[_0x44e818(0x281)])!=null?_0x5cb40a:this[_0x44e818(0x136)],this[_0x44e818(0x34e)]=(_0x1af184=_0x1d3b45[_0x44e818(0x247)])!=null?_0x1af184:this[_0x44e818(0x34e)],this[_0x44e818(0x218)]=(_0x547d0a=_0x1d3b45[_0x44e818(0x246)])!=null?_0x547d0a:this[_0x44e818(0x218)],this['_name']=(_0x306f0f=_0x1d3b45[_0x44e818(0x1e6)])!=null?_0x306f0f:this['_name'],this[_0x44e818(0x1dc)]=(_0x49ae13=_0x1d3b45[_0x44e818(0x298)])!=null?_0x49ae13:this['_labelPosition'],this[_0x44e818(0x179)]=(_0xca4d25=_0x1d3b45['backgroundColor'])!=null?_0xca4d25:this['_backgroundColor'],this['transformByState']({'width':_0x1d3b45[_0x44e818(0x208)],'height':_0x1d3b45[_0x44e818(0x210)]});}[_0x5f57e0(0x289)](_0x32efa8){const _0x23b843=_0x5f57e0,{row:_0x2af859,column:_0x98031a}=_0x32efa8;if(_0x2af859>=this[_0x23b843(0x218)][_0x23b843(0x294)]&&_0x2af859<=this[_0x23b843(0x218)][_0x23b843(0x27a)]&&_0x98031a>=this[_0x23b843(0x218)][_0x23b843(0x23f)]&&_0x98031a<=this[_0x23b843(0x218)][_0x23b843(0x28a)]){this[_0x23b843(0x287)]({'hovered':!0x0});return;}this[_0x23b843(0x287)]({'hovered':!0x1});}[_0x5f57e0(0x13f)](_0x25ba32){return!0x1;}[_0x5f57e0(0x200)](_0x51c160){const _0xa73e3f=_0x5f57e0;_0x1baa4a['Rect'][_0xa73e3f(0x282)](_0x51c160,{'width':this[_0xa73e3f(0x208)],'height':this[_0xa73e3f(0x210)],'strokeWidth':_0x49d638,'stroke':this[_0xa73e3f(0x136)],'evented':!0x1,'fill':this[_0xa73e3f(0x179)]}),this[_0xa73e3f(0x34e)]&&(_0x51c160[_0xa73e3f(0x33e)](),_0x51c160[_0xa73e3f(0x122)](0x1,0x0,0x0,0x1,this[_0xa73e3f(0x208)],this[_0xa73e3f(0x1dc)]==='bottom'?0x0:-0x14),_0x57cba5[_0xa73e3f(0x282)](_0x51c160,{'text':this[_0xa73e3f(0x2eb)],'color':this[_0xa73e3f(0x136)]}),_0x51c160[_0xa73e3f(0x1f1)]());}}var _0x284c8b=Object[_0x5f57e0(0x12d)],_0x146d92=(_0x296868,_0x4f8f32,_0x303c3c,_0x5c3ee5)=>{for(var _0x43349f=_0x5c3ee5>0x1?void 0x0:_0x5c3ee5?_0x284c8b(_0x4f8f32,_0x303c3c):_0x4f8f32,_0x5af25c=_0x296868['length']-0x1,_0x378c72;_0x5af25c>=0x0;_0x5af25c--)(_0x378c72=_0x296868[_0x5af25c])&&(_0x43349f=_0x378c72(_0x43349f)||_0x43349f);return _0x43349f;},_0x1f0aeb=(_0x1eef08,_0xa23986)=>(_0x37b9f3,_0x19f415)=>_0xa23986(_0x37b9f3,_0x19f415,_0x1eef08);const _0xde031a=0x1389;let _0x567d02=class extends _0x325bbf['RxDisposable']{constructor(_0x6feb8,_0x293b87,_0x1f25e7,_0x3e261d){const _0x3c9ff9=_0x5f57e0;super(),_0x30fb67(this,_0x3c9ff9(0x204),new Set()),_0x30fb67(this,'_lastPointer',null),(this[_0x3c9ff9(0x1e5)]=_0x6feb8,this[_0x3c9ff9(0x20d)]=_0x293b87,this['_collabCursorController']=_0x1f25e7,this['_themeService']=_0x3e261d,this['_init']());}['_init'](){const _0x590dd2=_0x5f57e0;this[_0x590dd2(0x20d)][_0x590dd2(0x376)][_0x590dd2(0x150)](_0x107600['takeUntil'](this[_0x590dd2(0x2e4)]),_0x107600[_0x590dd2(0x345)](_0x22ab2e=>{const _0x43da89=_0x590dd2;if(_0x22ab2e){const _0x2490b8=_0x22ab2e[_0x43da89(0x386)];return _0x4aa5c5[_0x43da89(0x181)](this['_collabCursorController'][_0x43da89(0x1a8)](this['_context']['unitId']),this[_0x43da89(0x106)][_0x43da89(0x280)])[_0x43da89(0x150)](_0x107600[_0x43da89(0x1ad)](([_0x7ebe90,_0x1e376e])=>{const _0x25cecd=_0x43da89,_0x33c45b=new Map();return _0x7ebe90[_0x25cecd(0x1fb)]((_0x26ea7a,_0x3d2fed)=>{const _0x3e0577=_0x25cecd;if(_0x26ea7a[_0x3e0577(0x275)]===_0x2490b8){const _0x368396={..._0x26ea7a};_0x368396[_0x3e0577(0x281)]=this[_0x3e0577(0x106)][_0x3e0577(0x1c3)](_0x26ea7a[_0x3e0577(0x281)]),_0x33c45b['set'](_0x3d2fed,_0x368396);}}),{'skeleton':_0x22ab2e,'cursors':_0x33c45b};}));}return _0x4aa5c5['of']({'skeleton':null,'cursors':new Map()});}))[_0x590dd2(0x14f)](({skeleton:_0x3e9283,cursors:_0x513386})=>{const _0x52e369=_0x590dd2;this[_0x52e369(0x29d)](),_0x3e9283&&this[_0x52e369(0x249)](_0x3e9283,_0x513386);}),this[_0x590dd2(0x20d)][_0x590dd2(0x376)][_0x590dd2(0x14f)](_0x49da09=>{const _0x33b89b=_0x590dd2;if(_0x49da09==null)return;const {skeleton:_0x1d571e}=_0x49da09,{scene:_0x34d276}=this[_0x33b89b(0x1e5)];_0x34d276['onPointerMove$'][_0x33b89b(0x233)](_0x325bbf[_0x33b89b(0x2d7)](_0x4a6f2f=>{const _0x1bd35e=_0x33b89b;var _0x6cfb14,_0x2ec44c;const {offsetX:_0x3c75f6,offsetY:_0x3f2a4d}=_0x4a6f2f,{x:_0x3ff138,y:_0x359e52}=_0x34d276[_0x1bd35e(0x352)](_0x1baa4a[_0x1bd35e(0x11f)][_0x1bd35e(0x30b)]([_0x3c75f6,_0x3f2a4d])),{scaleX:_0x94a688,scaleY:_0x1318e8}=_0x34d276[_0x1bd35e(0x30f)](),_0x3901d2=_0x34d276['getViewport'](_0x1baa4a[_0x1bd35e(0x2c3)][_0x1bd35e(0x1ba)]),_0x585913=_0x34d276[_0x1bd35e(0x168)](_0x1baa4a[_0x1bd35e(0x11f)][_0x1bd35e(0x30b)]([_0x3ff138,_0x359e52]),_0x3901d2),_0x5134b5=_0x1d571e['getCellPositionByOffset'](_0x3c75f6,_0x3f2a4d,_0x94a688,_0x1318e8,_0x585913);((_0x6cfb14=this[_0x1bd35e(0x2f6)])==null?void 0x0:_0x6cfb14['column'])===_0x5134b5[_0x1bd35e(0x262)]&&((_0x2ec44c=this['_lastPointer'])==null?void 0x0:_0x2ec44c[_0x1bd35e(0x1da)])===_0x5134b5[_0x1bd35e(0x1da)]||this[_0x1bd35e(0x204)]['forEach'](_0x59418b=>{const _0x315be7=_0x1bd35e;_0x59418b[_0x315be7(0x289)](_0x5134b5);});},0x64));});}['_updateCollabCursors'](_0x314af3,_0x119de1){const _0x542949=_0x5f57e0;var _0xa30e34;const _0x3f04f3=(_0xa30e34=this[_0x542949(0x20d)][_0x542949(0x35c)]())==null?void 0x0:_0xa30e34['skeleton'];if(!_0x3f04f3)return;const _0xeed79c=this['_getSheetObject']();if(!_0xeed79c)return;this['_cursors'][_0x542949(0x1fb)](_0x2d33c1=>{const _0x3c5190=_0x542949;_0x2d33c1[_0x3c5190(0x375)]();});const {scene:_0x3a96d5}=_0xeed79c,_0x423fbb=_0x14f58c(Array[_0x542949(0x382)](_0x119de1['values']()))[_0x542949(0x1ad)](_0x54bf10=>{const _0x3945a6=_0x542949,{color:_0x3e8451,range:_0x21d7c1,name:_0x572f6f,selection:_0x1f74ee,sheetID:_0x4844a0}=_0x54bf10,{startColumn:_0x536315,startRow:_0x4cc218,endColumn:_0x39d9c8,endRow:_0x5ff149}=_0x21d7c1,_0x39bd90=_0x5f8c57[_0x3945a6(0x283)](_0x4cc218,_0x536315,_0x3a96d5,_0x3f04f3),_0x5dccef=_0x5f8c57[_0x3945a6(0x283)](_0x5ff149,_0x39d9c8,_0x3a96d5,_0x3f04f3),{columnHeaderHeightAndMarginTop:_0x1bdfa2}=_0x3f04f3,{startX:_0x5a41e4,startY:_0x5a2e08}=_0x39bd90,{endX:_0x56f48f,endY:_0xb4fc26}=_0x5dccef,_0x51622f=_0x56f48f-_0x5a41e4,_0x3470ad=_0xb4fc26-_0x5a2e08,_0x490231={'labelPosition':_0x5a2e08-_0x1bdfa2>=_0x21a275?'top':_0x3945a6(0x1a0),'sheetID':_0x4844a0,'range':_0x21d7c1,'color':_0x3e8451,'name':_0x572f6f,'selection':_0x1f74ee,'left':_0x5a41e4,'top':_0x5a2e08,'width':_0x51622f,'height':_0x3470ad,'evented':!0x1,'zIndex':_0xde031a};return new _0x3ac4f0(_0x572f6f,_0x490231);});_0x3a96d5[_0x542949(0x36b)](_0x423fbb,_0x45d79c),this[_0x542949(0x204)]=new Set(_0x423fbb);}[_0x5f57e0(0x29d)](){const _0x18303d=_0x5f57e0;var _0x2ef423;(_0x2ef423=this[_0x18303d(0x204)])==null||_0x2ef423[_0x18303d(0x1fb)](_0x2e6523=>_0x2e6523['dispose']());}[_0x5f57e0(0x312)](){const _0x141746=_0x5f57e0;return _0x5f8c57[_0x141746(0x1c8)](this['_context'][_0x141746(0x29f)],this[_0x141746(0x1e5)]);}};_0x567d02=_0x146d92([_0x1f0aeb(0x1,_0x325bbf[_0x5f57e0(0x333)](_0x5f8c57[_0x5f57e0(0x1d2)])),_0x1f0aeb(0x2,_0x325bbf[_0x5f57e0(0x333)](_0x2264e9)),_0x1f0aeb(0x3,_0x325bbf['Inject'](_0x325bbf['ThemeService']))],_0x567d02);function _0x14f58c(_0x2db3cb){const _0x4b4e9f=_0x5f57e0,_0xbffb28=new Map();return _0x2db3cb[_0x4b4e9f(0x1fb)](_0xbb70c7=>{const _0x2f2277=_0x4b4e9f;if(_0xbffb28[_0x2f2277(0xf6)](_0xbb70c7[_0x2f2277(0x2c9)])){const _0x13c311=_0xbffb28[_0x2f2277(0x2ed)](_0xbb70c7[_0x2f2277(0x2c9)]);_0x13c311['name']+=',\x20'+_0xbb70c7[_0x2f2277(0x1e6)];}else _0xbffb28[_0x2f2277(0x102)](_0xbb70c7['selection'],_0xbb70c7);}),Array[_0x4b4e9f(0x382)](_0xbffb28[_0x4b4e9f(0x1d0)]());}var _0xfa79b9=function(){const _0x1e9b30=_0x5f57e0;return _0xfa79b9=Object[_0x1e9b30(0x192)]||function(_0x4bc706){const _0x400fe4=_0x1e9b30;for(var _0x2b5066,_0x238205=0x1,_0x5aecf0=arguments[_0x400fe4(0x11d)];_0x238205<_0x5aecf0;_0x238205++){_0x2b5066=arguments[_0x238205];for(var _0x21a511 in _0x2b5066)Object[_0x400fe4(0x139)][_0x400fe4(0x242)][_0x400fe4(0x297)](_0x2b5066,_0x21a511)&&(_0x4bc706[_0x21a511]=_0x2b5066[_0x21a511]);}return _0x4bc706;},_0xfa79b9['apply'](this,arguments);},_0x47affb=function(_0x4e1bdf,_0x529866){const _0x9bb0c6=_0x5f57e0;var _0x20f1c1={};for(var _0x4b6347 in _0x4e1bdf)Object[_0x9bb0c6(0x139)][_0x9bb0c6(0x242)][_0x9bb0c6(0x297)](_0x4e1bdf,_0x4b6347)&&_0x529866[_0x9bb0c6(0x225)](_0x4b6347)<0x0&&(_0x20f1c1[_0x4b6347]=_0x4e1bdf[_0x4b6347]);if(_0x4e1bdf!=null&&typeof Object[_0x9bb0c6(0x188)]==_0x9bb0c6(0x17c)){for(var _0x476585=0x0,_0x4b6347=Object[_0x9bb0c6(0x188)](_0x4e1bdf);_0x476585<_0x4b6347[_0x9bb0c6(0x11d)];_0x476585++)_0x529866[_0x9bb0c6(0x225)](_0x4b6347[_0x476585])<0x0&&Object['prototype']['propertyIsEnumerable'][_0x9bb0c6(0x297)](_0x4e1bdf,_0x4b6347[_0x476585])&&(_0x20f1c1[_0x4b6347[_0x476585]]=_0x4e1bdf[_0x4b6347[_0x476585]]);}return _0x20f1c1;},_0x5cea82=_0x2df17b[_0x5f57e0(0x17b)](function(_0x31421e,_0x2d5148){const _0x747578=_0x5f57e0;var _0x518d04=_0x31421e[_0x747578(0x12a)],_0x473976=_0x31421e['id'],_0x5add27=_0x31421e['className'],_0x46918e=_0x31421e[_0x747578(0x133)],_0x20e1b7=_0x47affb(_0x31421e,[_0x747578(0x12a),'id',_0x747578(0x379),_0x747578(0x133)]),_0x401c3b=_0x747578(0x20f)[_0x747578(0x1be)](_0x473976,'\x20')[_0x747578(0x1be)](_0x5add27||'')[_0x747578(0xf4)](),_0x479624=_0x2df17b[_0x747578(0x1fa)]('_'[_0x747578(0x1be)](_0x8dee41()));return _0x24ad4f(_0x518d04,''[_0x747578(0x1be)](_0x473976),{'defIds':_0x518d04[_0x747578(0x353)],'idSuffix':_0x479624[_0x747578(0x182)]},_0xfa79b9({'ref':_0x2d5148,'className':_0x401c3b},_0x20e1b7),_0x46918e);});function _0x24ad4f(_0x2a01f3,_0x3de655,_0x2eebde,_0x172c23,_0x197278){const _0x2aef85=_0x5f57e0;return _0x2df17b[_0x2aef85(0x237)](_0x2a01f3[_0x2aef85(0x143)],_0xfa79b9(_0xfa79b9({'key':_0x3de655},_0xe1b5da(_0x2a01f3,_0x2eebde,_0x197278)),_0x172c23),(_0x535b32(_0x2a01f3,_0x2eebde)[_0x2aef85(0x2bc)]||[])['map'](function(_0x36b237,_0xe6fd71){const _0x2b54ac=_0x2aef85;return _0x24ad4f(_0x36b237,''[_0x2b54ac(0x1be)](_0x3de655,'-')[_0x2b54ac(0x1be)](_0x2a01f3[_0x2b54ac(0x143)],'-')['concat'](_0xe6fd71),_0x2eebde,void 0x0,_0x197278);}));}function _0xe1b5da(_0x4d3487,_0x884b48,_0x5ee0be){const _0x1bea45=_0x5f57e0;var _0x12105c=_0xfa79b9({},_0x4d3487[_0x1bea45(0x114)]);_0x5ee0be!=null&&_0x5ee0be['colorChannel1']&&_0x12105c['fill']===_0x1bea45(0x1d1)&&(_0x12105c[_0x1bea45(0x214)]=_0x5ee0be[_0x1bea45(0x1d1)]),_0x4d3487['tag']===_0x1bea45(0x318)&&_0x12105c['id']&&(_0x12105c['id']=_0x12105c['id']+_0x884b48[_0x1bea45(0x2df)]),Object[_0x1bea45(0x27e)](_0x12105c)['forEach'](function(_0x55ce0e){const _0x1a5dab=_0x1bea45;var _0x186e47=_0x55ce0e[0x0],_0x502312=_0x55ce0e[0x1];_0x186e47===_0x1a5dab(0x318)&&typeof _0x502312=='string'&&(_0x12105c[_0x186e47]=_0x502312['replace'](/url\(#(.*)\)/,'url(#$1'[_0x1a5dab(0x1be)](_0x884b48['idSuffix'],')')));});var _0x5ed4ad=_0x884b48[_0x1bea45(0x353)];return!_0x5ed4ad||_0x5ed4ad['length']===0x0||(_0x4d3487['tag']===_0x1bea45(0x26d)&&_0x12105c[_0x1bea45(0x205)]&&(_0x12105c[_0x1bea45(0x205)]=_0x12105c[_0x1bea45(0x205)]+_0x884b48[_0x1bea45(0x2df)]),Object['entries'](_0x12105c)['forEach'](function(_0x4f3437){const _0x2c3a15=_0x1bea45;var _0x3ca91a=_0x4f3437[0x0],_0x1c528b=_0x4f3437[0x1];typeof _0x1c528b==_0x2c3a15(0x24c)&&(_0x12105c[_0x3ca91a]=_0x1c528b[_0x2c3a15(0x326)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x884b48['idSuffix'],')')));})),_0x12105c;}function _0x535b32(_0xb8a9ed,_0x3a5ca4){const _0x421ae4=_0x5f57e0;var _0x5665ae,_0x3297b9=_0x3a5ca4['defIds'];return!_0x3297b9||_0x3297b9['length']===0x0?_0xb8a9ed:_0xb8a9ed[_0x421ae4(0x143)]==='defs'&&(!((_0x5665ae=_0xb8a9ed[_0x421ae4(0x2bc)])===null||_0x5665ae===void 0x0)&&_0x5665ae['length'])?_0xfa79b9(_0xfa79b9({},_0xb8a9ed),{'children':_0xb8a9ed[_0x421ae4(0x2bc)]['map'](function(_0x11d914){const _0x38ce50=_0x421ae4;return typeof _0x11d914[_0x38ce50(0x114)]['id']==_0x38ce50(0x24c)&&_0x3297b9&&_0x3297b9[_0x38ce50(0x225)](_0x11d914[_0x38ce50(0x114)]['id'])>-0x1?_0xfa79b9(_0xfa79b9({},_0x11d914),{'attrs':_0xfa79b9(_0xfa79b9({},_0x11d914[_0x38ce50(0x114)]),{'id':_0x11d914['attrs']['id']+_0x3a5ca4[_0x38ce50(0x2df)]})}):_0x11d914;})}):_0xb8a9ed;}function _0x8dee41(){const _0x524fd8=_0x5f57e0;return Math['random']()[_0x524fd8(0x1c1)](0x24)[_0x524fd8(0x18f)](0x2,0x8);}_0x5cea82['displayName']=_0x5f57e0(0x213);var _0x548740={'tag':'svg','attrs':{'fill':_0x5f57e0(0x198),'viewBox':'0\x200\x2016\x2016','width':_0x5f57e0(0x362),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x5f57e0(0x2fe)},'children':[{'tag':_0x5f57e0(0x1df),'attrs':{'stroke':_0x5f57e0(0x111),'d':_0x5f57e0(0x193),'strokeLinecap':_0x5f57e0(0x2ff),'strokeLinejoin':_0x5f57e0(0x2ff),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x5f57e0(0x18b),'attrs':{'id':_0x5f57e0(0x2e1)},'children':[{'tag':_0x5f57e0(0x1df),'attrs':{'fill':_0x5f57e0(0x151),'d':_0x5f57e0(0x2e3)}}]}]}],'defIds':[_0x5f57e0(0x2e1)]},_0x2442f5=_0x2df17b[_0x5f57e0(0x17b)](function(_0x51fbc9,_0x4e837b){const _0x3cdd23=_0x5f57e0;return _0x2df17b[_0x3cdd23(0x237)](_0x5cea82,Object[_0x3cdd23(0x192)]({},_0x51fbc9,{'id':_0x3cdd23(0x30d),'ref':_0x4e837b,'icon':_0x548740}));});_0x2442f5[_0x5f57e0(0x31d)]=_0x5f57e0(0x234);var _0x298cca={'tag':'svg','attrs':{'fill':_0x5f57e0(0x198),'viewBox':'0\x200\x2017\x2016','width':_0x5f57e0(0x362),'height':_0x5f57e0(0x362)},'children':[{'tag':'g','attrs':{'clipPath':_0x5f57e0(0x211)},'children':[{'tag':_0x5f57e0(0x1df),'attrs':{'stroke':_0x5f57e0(0x111),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':'round','strokeLinejoin':_0x5f57e0(0x2ff),'strokeWidth':1.2}}]},{'tag':_0x5f57e0(0x255),'attrs':{},'children':[{'tag':_0x5f57e0(0x18b),'attrs':{'id':_0x5f57e0(0x32c)},'children':[{'tag':_0x5f57e0(0x1df),'attrs':{'fill':'#fff','d':_0x5f57e0(0x2e3),'transform':_0x5f57e0(0x2bd)}}]}]}],'defIds':[_0x5f57e0(0x32c)]},_0x35ee92=_0x2df17b['forwardRef'](function(_0x36ce08,_0x4bdfaf){const _0x41533e=_0x5f57e0;return _0x2df17b[_0x41533e(0x237)](_0x5cea82,Object[_0x41533e(0x192)]({},_0x36ce08,{'id':_0x41533e(0x224),'ref':_0x4bdfaf,'icon':_0x298cca}));});_0x35ee92['displayName']=_0x5f57e0(0x2fa);function _0x1d8a9e(_0xb7bc1){const _0x1e6f78=_0x5f57e0;switch(_0xb7bc1){case _0x2df1a4[_0x1e6f78(0x315)]['OFFLINE']:return _0x1e6f78(0x316);case _0x2df1a4[_0x1e6f78(0x315)]['CONFLICT']:return'collabStatus.conflict';case _0x2df1a4['CollaborationStatus']['FETCH_MISS']:return'collabStatus.fetchMiss';case _0x2df1a4[_0x1e6f78(0x315)][_0x1e6f78(0x126)]:return _0x1e6f78(0x311);case _0x2df1a4[_0x1e6f78(0x315)]['AWAITING']:case _0x2df1a4[_0x1e6f78(0x315)][_0x1e6f78(0x2d1)]:return _0x1e6f78(0x260);case _0x2df1a4[_0x1e6f78(0x315)][_0x1e6f78(0x120)]:case _0x2df1a4[_0x1e6f78(0x315)][_0x1e6f78(0x26b)]:return'collabStatus.synced';}}function _0x231942(_0x559f59){const _0x2278af=_0x5f57e0,{status$:_0x313d4f}=_0x559f59,_0x29ca6a=_0x3c81ed[_0x2278af(0x121)](_0x313d4f,_0x2df1a4[_0x2278af(0x315)][_0x2278af(0x126)]),_0x41ab58=_0x3c81ed[_0x2278af(0x202)](_0x325bbf[_0x2278af(0x13a)]),_0x52a2d6=_0x3c81ed[_0x2278af(0x202)](_0x2df1a4['CollaborationSessionService']),_0x88ced7=_0x29ca6a!==_0x2df1a4[_0x2278af(0x315)][_0x2278af(0x1f9)],_0x24916a=_0x41ab58['t'](_0x1d8a9e(_0x29ca6a)),_0x4e1278=_0x88ced7?_0x4fa0e0[_0x2278af(0x197)](_0x35ee92,{}):_0x4fa0e0[_0x2278af(0x197)](_0x2442f5,{}),_0x20453a=_0x2df17b[_0x2278af(0x348)](()=>{const _0x1da2b8=_0x2278af;_0x88ced7||_0x52a2d6[_0x1da2b8(0x1fc)]();},[_0x88ced7,_0x52a2d6]);function _0x3057be(){const _0x1d3427=_0x2278af;return _0x4fa0e0[_0x1d3427(0x29c)](_0x1d3427(0x2de),{'className':_0x1d3427(0x273),'onClick':_0x20453a,'children':[_0x4fa0e0[_0x1d3427(0x197)](_0x1d3427(0x2de),{'className':_0x4629c9[_0x1d3427(0x336)](_0x1d3427(0x2e7),{'univer-text-green-500':_0x88ced7,'univer-text-red-500':!_0x88ced7}),'children':_0x4e1278}),_0x4fa0e0[_0x1d3427(0x197)](_0x1d3427(0x2de),{'className':_0x1d3427(0x274),'children':_0x24916a})]});}return _0x88ced7?_0x3057be():_0x4fa0e0[_0x2278af(0x197)](_0x4629c9['Tooltip'],{'title':_0x41ab58['t'](_0x2278af(0x2da)),'children':_0x3057be()});}var _0xddc11e=Object['getOwnPropertyDescriptor'],_0x29bbbc=(_0x54de1a,_0x57e4f4,_0x38223f,_0xe1b2f2)=>{for(var _0x20c6fe=_0xe1b2f2>0x1?void 0x0:_0xe1b2f2?_0xddc11e(_0x57e4f4,_0x38223f):_0x57e4f4,_0x487281=_0x54de1a['length']-0x1,_0x627bf4;_0x487281>=0x0;_0x487281--)(_0x627bf4=_0x54de1a[_0x487281])&&(_0x20c6fe=_0x627bf4(_0x20c6fe)||_0x20c6fe);return _0x20c6fe;},_0x40ae5a=(_0x3d342d,_0x52f2ac)=>(_0x21b80c,_0x437bc7)=>_0x52f2ac(_0x21b80c,_0x437bc7,_0x3d342d);_0x51bd02['DesktopCollaborationStatusDisplayController']=class extends _0x325bbf[_0x5f57e0(0x32d)]{constructor(_0x41c405,_0x1a695f,_0xc8b3f0,_0x40c924){const _0x5f0a36=_0x5f57e0;super(),_0x30fb67(this,'_status$',new _0x4aa5c5[(_0x5f0a36(0x22b))](_0x2df1a4[_0x5f0a36(0x315)][_0x5f0a36(0x126)])),(this[_0x5f0a36(0x22d)]=_0x41c405,this['_injector']=_0x1a695f,this[_0x5f0a36(0x19c)]=_0xc8b3f0,this[_0x5f0a36(0x2f0)]=_0x40c924,this[_0x5f0a36(0x1c0)](),this[_0x5f0a36(0x339)]());}[_0x5f57e0(0x339)](){const _0x4d6541=_0x5f57e0;this[_0x4d6541(0x295)](this['_univerInstanceService'][_0x4d6541(0x23c)][_0x4d6541(0x150)](_0x4aa5c5[_0x4d6541(0x345)](()=>{const _0x3b42ea=_0x4d6541,_0x136f74=this[_0x3b42ea(0x22d)]['getFocusedUnit']();return _0x136f74?this[_0x3b42ea(0x19c)]['getCollabEntity$'](_0x136f74[_0x3b42ea(0x285)]()):_0x4aa5c5['of'](null);}),_0x4aa5c5['switchMap'](_0x3c168a=>_0x3c168a?_0x3c168a[_0x4d6541(0x332)]:_0x4aa5c5['of'](_0x2df1a4[_0x4d6541(0x315)][_0x4d6541(0x126)])))['subscribe'](_0x37d087=>{const _0x4177f9=_0x4d6541;this[_0x4177f9(0x1b4)][_0x4177f9(0x267)](_0x37d087);}));}[_0x5f57e0(0x1c0)](){const _0x414abc=_0x5f57e0;this[_0x414abc(0x295)](this[_0x414abc(0x2f0)][_0x414abc(0x34f)](_0x3c81ed[_0x414abc(0x35b)]['HEADER_MENU'],()=>_0x3c81ed[_0x414abc(0x18d)](_0x1c6a41({'status$':this[_0x414abc(0x1b4)][_0x414abc(0x1f6)]()}),this[_0x414abc(0x363)])));}},_0x51bd02['DesktopCollaborationStatusDisplayController']=_0x29bbbc([_0x40ae5a(0x0,_0x325bbf['IUniverInstanceService']),_0x40ae5a(0x1,_0x325bbf[_0x5f57e0(0x333)](_0x325bbf[_0x5f57e0(0x2c1)])),_0x40ae5a(0x2,_0x325bbf[_0x5f57e0(0x333)](_0x2df1a4[_0x5f57e0(0x19d)])),_0x40ae5a(0x3,_0x3c81ed[_0x5f57e0(0xef)])],_0x51bd02[_0x5f57e0(0x118)]);function _0x1c6a41(_0x36d970){const {status$:_0x517f56}=_0x36d970;return function(){return _0x4fa0e0['jsx'](_0x231942,{'status$':_0x517f56});};}var _0x18da4e=Object[_0x5f57e0(0x12d)],_0x38b70c=(_0x55414a,_0xf8c9c8,_0xa2bfff,_0x26fcf0)=>{const _0x1a8a2a=_0x5f57e0;for(var _0x53c715=_0x26fcf0>0x1?void 0x0:_0x26fcf0?_0x18da4e(_0xf8c9c8,_0xa2bfff):_0xf8c9c8,_0x5f4bbc=_0x55414a[_0x1a8a2a(0x11d)]-0x1,_0x8a58ea;_0x5f4bbc>=0x0;_0x5f4bbc--)(_0x8a58ea=_0x55414a[_0x5f4bbc])&&(_0x53c715=_0x8a58ea(_0x53c715)||_0x53c715);return _0x53c715;},_0x5b9281=(_0x1e3851,_0x44981b)=>(_0x50e194,_0xe13c60)=>_0x44981b(_0x50e194,_0xe13c60,_0x1e3851);let _0x22e23a=class extends _0x325bbf[_0x5f57e0(0x32d)]{constructor(_0x36278e,_0x3b27d7,_0x826007,_0x2a3b8b,_0x70f2cc,_0x1551d9){const _0x443e32=_0x5f57e0;super(),this['_beforeCloseService']=_0x36278e,this[_0x443e32(0xff)]=_0x3b27d7,this[_0x443e32(0x2ac)]=_0x826007,this[_0x443e32(0x24a)]=_0x2a3b8b,this[_0x443e32(0x26e)]=_0x70f2cc,this['_localeService']=_0x1551d9,this[_0x443e32(0x1bb)](),this[_0x443e32(0x1ed)]();}['_setupBeforeClosingHandler'](){const _0x56ee0b=_0x5f57e0;this[_0x56ee0b(0x295)](this[_0x56ee0b(0x2c6)][_0x56ee0b(0x1bc)](()=>{const _0x245657=_0x56ee0b;if(this[_0x245657(0xff)]['saveTaskMap'][_0x245657(0x252)])return this[_0x245657(0x15f)]['t'](_0x245657(0x356));}));}[_0x5f57e0(0x1ed)](){const _0x2b044a=_0x5f57e0;this['disposeWithMe'](this[_0x2b044a(0x2ac)]['event$'][_0x2b044a(0x14f)](_0x1c14e1=>{const _0x377876=_0x2b044a;_0x1c14e1['id']===_0x2df1a4[_0x377876(0x194)][_0x377876(0x2d9)]&&this[_0x377876(0x24a)][_0x377876(0x190)]({'type':_0x4629c9['MessageType'][_0x377876(0x1e3)],'content':this['_localeService']['t'](_0x377876(0x1de))}),_0x1c14e1['id']===_0x2df1a4['CollaborationUIEventId'][_0x377876(0x302)]&&this[_0x377876(0x24a)][_0x377876(0x190)]({'type':_0x4629c9['MessageType'][_0x377876(0x1e3)],'content':this[_0x377876(0x15f)]['t'](_0x377876(0x31e))}),_0x1c14e1['id']===_0x2df1a4[_0x377876(0x194)][_0x377876(0x248)]&&this['_notificationService'][_0x377876(0x190)]({'title':this[_0x377876(0x15f)]['t'](_0x377876(0x1dd)),'content':this[_0x377876(0x15f)]['t'](_0x377876(0x186)),'type':'error','duration':0x0}),_0x1c14e1['id']===_0x2df1a4[_0x377876(0x194)][_0x377876(0x13b)]&&this[_0x377876(0x24a)]['show']({'type':_0x4629c9[_0x377876(0x10f)][_0x377876(0x209)],'content':this[_0x377876(0x15f)]['t']('collaboration.closeRoom')+'('+_0x1c14e1[_0x377876(0x19e)]+')'}),_0x1c14e1['id']===_0x2df1a4[_0x377876(0x194)][_0x377876(0x31a)]&&this[_0x377876(0x24a)][_0x377876(0x190)]({'type':_0x4629c9['MessageType'][_0x377876(0x1e3)],'content':this[_0x377876(0x15f)]['t'](_0x1c14e1[_0x377876(0x19e)]||'')}),_0x1c14e1['id']===_0x2df1a4[_0x377876(0x194)][_0x377876(0x2bf)]&&this[_0x377876(0x24a)][_0x377876(0x190)]({'type':_0x4629c9[_0x377876(0x10f)][_0x377876(0x1e3)],'content':this[_0x377876(0x15f)]['t']('session.will-retry')}),_0x1c14e1['id']===_0x2df1a4[_0x377876(0x194)]['SOCKET_FAILED']&&this[_0x377876(0x24a)][_0x377876(0x190)]({'type':_0x4629c9[_0x377876(0x10f)][_0x377876(0x209)],'content':this[_0x377876(0x15f)]['t'](_0x377876(0xf3))}),_0x1c14e1['id']===_0x2df1a4[_0x377876(0x194)][_0x377876(0x29a)]&&this[_0x377876(0x24a)]['show']({'type':_0x4629c9[_0x377876(0x10f)][_0x377876(0x209)],'content':this[_0x377876(0x15f)]['t'](_0x377876(0x36a))});}));}};_0x22e23a=_0x38b70c([_0x5b9281(0x0,_0x3c81ed['IBeforeCloseService']),_0x5b9281(0x1,_0x2df1a4[_0x5f57e0(0x170)]),_0x5b9281(0x2,_0x325bbf[_0x5f57e0(0x333)](_0x2df1a4[_0x5f57e0(0x138)])),_0x5b9281(0x3,_0x3c81ed[_0x5f57e0(0x292)]),_0x5b9281(0x4,_0x3c81ed['INotificationService']),_0x5b9281(0x5,_0x325bbf[_0x5f57e0(0x333)](_0x325bbf[_0x5f57e0(0x13a)]))],_0x22e23a);const _0x337665='collaboration-client-ui.config',_0x299f3a={},_0x12b429=_0x325bbf['createIdentifier'](_0x5f57e0(0x235));var _0x5c535a=Object['getOwnPropertyDescriptor'],_0x5cfb16=(_0x1d4e2d,_0x55d498,_0x14b40e,_0x2b7592)=>{const _0x251812=_0x5f57e0;for(var _0x4af0a3=_0x2b7592>0x1?void 0x0:_0x2b7592?_0x5c535a(_0x55d498,_0x14b40e):_0x55d498,_0x44dee5=_0x1d4e2d[_0x251812(0x11d)]-0x1,_0x421431;_0x44dee5>=0x0;_0x44dee5--)(_0x421431=_0x1d4e2d[_0x44dee5])&&(_0x4af0a3=_0x421431(_0x4af0a3)||_0x4af0a3);return _0x4af0a3;},_0x1e9565=(_0x26bdbc,_0x66d319)=>(_0x1cdf8d,_0x21e1f3)=>_0x66d319(_0x1cdf8d,_0x21e1f3,_0x26bdbc);_0x51bd02[_0x5f57e0(0x309)]=class extends _0x325bbf[_0x5f57e0(0x305)]{constructor(_0xb6e125,_0x525d50,_0x2816c0,_0x101b19,_0x5bc345){const _0x2dab6a=_0x5f57e0;super(),this[_0x2dab6a(0x17e)]=_0xb6e125,this[_0x2dab6a(0x371)]=_0x525d50,this[_0x2dab6a(0x37e)]=_0x2816c0,this[_0x2dab6a(0x1cf)]=_0x101b19,_0x5bc345?_0x5bc345==null||_0x5bc345[_0x2dab6a(0xfb)]()[_0x2dab6a(0x359)](()=>this['_init']()):(this[_0x2dab6a(0x371)][_0x2dab6a(0x1a4)](_0x2dab6a(0x21b),_0x2dab6a(0x250)),this['_init']());}async[_0x5f57e0(0x364)](){const _0x5329e6=_0x5f57e0,_0x3fff33=this['_urlService'][_0x5329e6(0x17d)](_0x5329e6(0x29f)),_0x2d396f=this[_0x5329e6(0x17e)]['getParam'](_0x5329e6(0x325)),_0x12cd89=this[_0x5329e6(0x17e)]['getParam'](_0x5329e6(0x180));if(!_0x3fff33||!_0x2d396f){this[_0x5329e6(0x371)][_0x5329e6(0x1a4)](_0x5329e6(0x21b),_0x5329e6(0x2cf));return;}const _0x3540c2=await this[_0x5329e6(0x1cf)][_0x5329e6(0x22f)](_0x3fff33,Number(_0x2d396f),_0x12cd89);_0x3540c2&&_0x3540c2 instanceof _0x325bbf[_0x5329e6(0x28e)]&&this[_0x5329e6(0x342)](_0x3540c2);}async[_0x5f57e0(0x342)](_0x4f6ab2){const _0x44b55a=_0x5f57e0;await this[_0x44b55a(0x123)](_0x4f6ab2),_0x4f6ab2[_0x44b55a(0x203)]['pipe'](_0x4aa5c5[_0x44b55a(0x320)](this[_0x44b55a(0x2e4)]))[_0x44b55a(0x14f)](_0x2d6bf4=>{const _0x5afc47=_0x44b55a;_0x2d6bf4&&this[_0x5afc47(0x370)](_0x2d6bf4);}),this[_0x44b55a(0x17e)][_0x44b55a(0x373)]['pipe'](_0x4aa5c5['takeUntil'](this[_0x44b55a(0x2e4)]))[_0x44b55a(0x14f)](()=>this[_0x44b55a(0x123)](_0x4f6ab2));}[_0x5f57e0(0x370)](_0x13f932,_0x3f538b=!0x1){const _0x13b6f8=_0x5f57e0,_0x56eeab=this[_0x13b6f8(0x17e)][_0x13b6f8(0x17d)](_0x13b6f8(0x180));_0x13f932[_0x13b6f8(0x34b)]()!==_0x56eeab&&this[_0x13b6f8(0x17e)]['setParam'](_0x13b6f8(0x180),_0x13f932[_0x13b6f8(0x34b)](),_0x3f538b);}async[_0x5f57e0(0x123)](_0x1191cd){const _0x90c987=_0x5f57e0;var _0xa64ab;const _0x1f8ec8=this[_0x90c987(0x17e)][_0x90c987(0x17d)]('subunit');if(!_0x1f8ec8||!_0x1191cd[_0x90c987(0x117)](_0x1f8ec8)){const _0x2a84f1=_0x1191cd['getUnhiddenWorksheets']()[0x0],_0x1ba7a3=_0x1191cd['getSheetBySheetId'](_0x2a84f1);if(!_0x1ba7a3)return;this[_0x90c987(0x370)](_0x1ba7a3,!0x0),await this[_0x90c987(0x37e)][_0x90c987(0x146)](_0x3327a2[_0x90c987(0x2dd)]['id'],{'unitId':_0x1191cd[_0x90c987(0x285)](),'subUnitId':_0x2a84f1});return;}((_0xa64ab=_0x1191cd['getActiveSheet']())==null?void 0x0:_0xa64ab[_0x90c987(0x34b)]())!==_0x1f8ec8&&await this[_0x90c987(0x37e)][_0x90c987(0x146)](_0x3327a2['SetWorksheetActivateCommand']['id'],{'unitId':_0x1191cd[_0x90c987(0x285)](),'subUnitId':_0x1f8ec8});}},_0x51bd02[_0x5f57e0(0x309)]=_0x5cfb16([_0x1e9565(0x0,_0x12b429),_0x1e9565(0x1,_0x325bbf[_0x5f57e0(0x36e)]),_0x1e9565(0x2,_0x325bbf['ICommandService']),_0x1e9565(0x3,_0x325bbf['Inject'](_0x2df1a4[_0x5f57e0(0x21f)])),_0x1e9565(0x4,_0x325bbf['Optional'](_0x3d4470[_0x5f57e0(0x1ef)]))],_0x51bd02[_0x5f57e0(0x309)]);var _0x457be5=Object[_0x5f57e0(0x12d)],_0x3c315e=(_0x129fc1,_0x299714,_0x4cf4e5,_0x532228)=>{const _0x476322=_0x5f57e0;for(var _0x274df2=_0x532228>0x1?void 0x0:_0x532228?_0x457be5(_0x299714,_0x4cf4e5):_0x299714,_0x55f4b2=_0x129fc1[_0x476322(0x11d)]-0x1,_0x1b139d;_0x55f4b2>=0x0;_0x55f4b2--)(_0x1b139d=_0x129fc1[_0x55f4b2])&&(_0x274df2=_0x1b139d(_0x274df2)||_0x274df2);return _0x274df2;},_0x29aeed=(_0x254379,_0x8e77c7)=>(_0x2cee68,_0x4dcea8)=>_0x8e77c7(_0x2cee68,_0x4dcea8,_0x254379);let _0x399d56=class{constructor(_0x16bd04,_0x5d0ff5,_0x352327){const _0x124f99=_0x5f57e0;this[_0x124f99(0x363)]=_0x16bd04,this['_transformService']=_0x5d0ff5,this['_renderManagerService']=_0x352327;}[_0x5f57e0(0x279)](_0x10666d){const _0x22c957=_0x5f57e0;this['_transformUndoRedoStack'](_0x10666d),this[_0x22c957(0x145)](_0x10666d);}[_0x5f57e0(0x2a7)](_0x30476e){const _0x60b690=_0x5f57e0,{unitID:_0x535632}=_0x30476e,_0x1d5a15=this[_0x60b690(0x2c7)][_0x60b690(0x19f)](_0x535632)[_0x60b690(0x372)](_0x3aa08e[_0x60b690(0x351)]),{redoCache:_0x513463}=_0x1d5a15[_0x60b690(0x2f5)]();if(_0x513463[_0x60b690(0x11d)]===0x0)return _0x30476e;let _0x570f1b=_0x325bbf[_0x60b690(0xfa)][_0x60b690(0x18c)](_0x30476e[_0x60b690(0x17f)][0x0]);for(let _0x4a1f8c=0x0;_0x4a1f8c<_0x513463['length'];_0x4a1f8c++){const _0x104688={'id':'doc.mutation.rich-text-editing','params':{..._0x513463[_0x4a1f8c]}},_0xed1ee5=this[_0x60b690(0x1ca)]['transformMutation'](_0x570f1b,_0x104688,!0x1);if(_0x20753e['isTransformMutationFailure'](_0xed1ee5))throw _0xed1ee5[_0x60b690(0x220)];_0x570f1b=_0xed1ee5[_0x60b690(0x244)];}return{..._0x325bbf[_0x60b690(0xfa)][_0x60b690(0x18c)](_0x30476e),'mutations':[_0x570f1b]};}[_0x5f57e0(0x243)](_0x3fcb42){const _0x13a6c0=_0x5f57e0,{unitID:_0x246750}=_0x3fcb42,_0x498562=this[_0x13a6c0(0x2c7)][_0x13a6c0(0x19f)](_0x246750)[_0x13a6c0(0x372)](_0x3aa08e['DocIMEInputManagerService']),{undoCache:_0x4c34b5,redoCache:_0x4ec217}=_0x498562[_0x13a6c0(0x2f5)]();if(_0x4c34b5['length']===0x0||_0x4ec217[_0x13a6c0(0x11d)]===0x0)return;const _0x56c3cd=[],_0xcfbb4d=[];let _0x13b94e=_0x325bbf['Tools'][_0x13a6c0(0x18c)](_0x3fcb42[_0x13a6c0(0x17f)][0x0]),_0x2c13b4=_0x325bbf[_0x13a6c0(0xfa)][_0x13a6c0(0x18c)](_0x3fcb42[_0x13a6c0(0x17f)][0x0]);for(let _0x3c803e=_0x4c34b5['length']-0x1;_0x3c803e>=0x0;_0x3c803e--){const _0x5ec111={'id':_0x13a6c0(0xec),'params':{..._0x4c34b5[_0x3c803e]}},_0x24d49a={'id':_0x13a6c0(0xec),'params':{..._0x4ec217[_0x3c803e]}},_0x1fd359=this[_0x13a6c0(0x1ca)][_0x13a6c0(0x1e2)](_0x13b94e,_0x5ec111,!0x1),_0x5a3716=this[_0x13a6c0(0x1ca)]['transformMutation'](_0x2c13b4,_0x24d49a,!0x1);if(_0x20753e[_0x13a6c0(0x2a4)](_0x1fd359))throw _0x1fd359[_0x13a6c0(0x220)];if(_0x20753e[_0x13a6c0(0x2a4)](_0x5a3716))throw _0x5a3716[_0x13a6c0(0x220)];_0x56c3cd[_0x13a6c0(0x271)](_0x1fd359[_0x13a6c0(0x2b3)][_0x13a6c0(0x263)]),_0xcfbb4d['unshift'](_0x5a3716[_0x13a6c0(0x2b3)][_0x13a6c0(0x263)]),_0x13b94e=_0x1fd359[_0x13a6c0(0x244)],_0x2c13b4=_0x5a3716['m1Prime'];}_0x498562[_0x13a6c0(0x253)]({'undoCache':_0x56c3cd,'redoCache':_0xcfbb4d});}[_0x5f57e0(0x145)](_0x333f07){const _0x33473a=_0x5f57e0,{unitID:_0x463326}=_0x333f07,_0x3a502b=this[_0x33473a(0x2c7)][_0x33473a(0x19f)](_0x463326)['with'](_0x3aa08e[_0x33473a(0x351)]),_0xdc7e5=_0x3a502b['getActiveRange']();if(_0xdc7e5==null)return;const _0x41c7a0=[{'id':_0x33473a(0xec),'params':{'unitId':_0x333f07[_0x33473a(0x254)],'actions':null,'textRanges':[_0xdc7e5]}}],_0x49be44=this['_transformService']['transformMutationsWithChangeset'](_0x333f07,_0x41c7a0);if(!_0x20753e[_0x33473a(0x184)](_0x49be44))throw _0x49be44[_0x33473a(0x220)];const _0x3e9015=_0x49be44[_0x33473a(0x2b3)][0x0][_0x33473a(0x263)][_0x33473a(0x1f3)];Array[_0x33473a(0x32a)](_0x3e9015)&&_0x3e9015[_0x33473a(0x11d)]&&_0x3a502b[_0x33473a(0x322)](_0x3e9015[0x0]);}};_0x399d56=_0x3c315e([_0x29aeed(0x0,_0x325bbf['Inject'](_0x325bbf[_0x5f57e0(0x2c1)])),_0x29aeed(0x1,_0x20753e['ITransformService']),_0x29aeed(0x2,_0x1baa4a[_0x5f57e0(0x2cc)])],_0x399d56);var _0x2365e2=Object[_0x5f57e0(0x12d)],_0x484b6d=(_0x2dcb3b,_0x457ed1,_0x97d9e2,_0x5a970a)=>{const _0x577fd9=_0x5f57e0;for(var _0x555aa8=_0x5a970a>0x1?void 0x0:_0x5a970a?_0x2365e2(_0x457ed1,_0x97d9e2):_0x457ed1,_0x4932b1=_0x2dcb3b[_0x577fd9(0x11d)]-0x1,_0x1fee56;_0x4932b1>=0x0;_0x4932b1--)(_0x1fee56=_0x2dcb3b[_0x4932b1])&&(_0x555aa8=_0x1fee56(_0x555aa8)||_0x555aa8);return _0x555aa8;},_0x89f46a=(_0x19b241,_0x340912)=>(_0x182616,_0x30c721)=>_0x340912(_0x182616,_0x30c721,_0x19b241);let _0x1abca0=class{constructor(_0x20cef8,_0x4517fc,_0x14757e){const _0x51bf3c=_0x5f57e0;this['_injector']=_0x20cef8,this['_transformService']=_0x4517fc,this[_0x51bf3c(0x1e1)]=_0x14757e;}[_0x5f57e0(0x217)](_0x4bc46f){const _0x126f5b=_0x5f57e0;this[_0x126f5b(0x2a1)](_0x4bc46f);}[_0x5f57e0(0x2a7)](_0x36f717){const _0x1b94ec=_0x5f57e0,{unitID:_0x59fc6d}=_0x36f717,{collaboration:_0x2230b1}=this['_docStateChangeManagerService']['getStateCache'](_0x59fc6d);if(_0x2230b1[_0x1b94ec(0x11d)]===0x0)return _0x36f717;let _0x5c2278=_0x325bbf[_0x1b94ec(0xfa)]['deepClone'](_0x36f717['mutations'][0x0]);for(let _0x30750d=0x0;_0x30750d<_0x2230b1[_0x1b94ec(0x11d)];_0x30750d++){const _0x4df5e5={'id':_0x1b94ec(0xec),'params':{'unitId':_0x2230b1[_0x30750d][_0x1b94ec(0x15e)],..._0x2230b1[_0x30750d][_0x1b94ec(0xf2)]}},_0x408835=this[_0x1b94ec(0x1ca)][_0x1b94ec(0x1e2)](_0x5c2278,_0x4df5e5,!0x1);if(_0x20753e[_0x1b94ec(0x2a4)](_0x408835))throw _0x408835[_0x1b94ec(0x220)];_0x5c2278=_0x408835['m1Prime'];}return{..._0x325bbf['Tools'][_0x1b94ec(0x18c)](_0x36f717),'mutations':[_0x5c2278]};}['_transformHistoryAndStateStack'](_0x2071c4){const _0x4939c0=_0x5f57e0,{unitID:_0x51b8ef}=_0x2071c4,{history:_0x41f875,collaboration:_0x51ad77}=this[_0x4939c0(0x1e1)][_0x4939c0(0x128)](_0x51b8ef);if(_0x41f875['length']===0x0&&_0x51ad77[_0x4939c0(0x11d)]===0x0)return;const _0x111beb=[],_0x48475a=[];let _0x3761f5=_0x325bbf['Tools'][_0x4939c0(0x18c)](_0x2071c4['mutations'][0x0]),_0x1d7c08=_0x325bbf[_0x4939c0(0xfa)][_0x4939c0(0x18c)](_0x2071c4[_0x4939c0(0x17f)][0x0]);for(let _0x11e6bc=_0x41f875[_0x4939c0(0x11d)]-0x1;_0x11e6bc>=0x0;_0x11e6bc--){const _0x60d6cb={'id':_0x4939c0(0xec),'params':{'unitId':_0x41f875[_0x11e6bc][_0x4939c0(0x15e)],..._0x41f875[_0x11e6bc]['undoState']}},_0x41e3e2={'id':_0x4939c0(0xec),'params':{'unitId':_0x41f875[_0x11e6bc][_0x4939c0(0x15e)],..._0x41f875[_0x11e6bc]['redoState']}},_0x2fc056=this[_0x4939c0(0x1ca)][_0x4939c0(0x1e2)](_0x3761f5,_0x60d6cb,!0x1),_0x1c1e18=this[_0x4939c0(0x1ca)][_0x4939c0(0x1e2)](_0x1d7c08,_0x41e3e2,!0x1);if(_0x20753e[_0x4939c0(0x2a4)](_0x2fc056))throw _0x2fc056[_0x4939c0(0x220)];if(_0x20753e['isTransformMutationFailure'](_0x1c1e18))throw _0x1c1e18['error'];_0x111beb[_0x4939c0(0x271)]({..._0x41f875[_0x11e6bc],'undoState':_0x2fc056['m2Prime'][_0x4939c0(0x263)],'redoState':_0x1c1e18[_0x4939c0(0x2b3)][_0x4939c0(0x263)]}),_0x3761f5=_0x2fc056[_0x4939c0(0x244)],_0x1d7c08=_0x1c1e18[_0x4939c0(0x244)];}_0x3761f5=_0x325bbf['Tools'][_0x4939c0(0x18c)](_0x2071c4['mutations'][0x0]),_0x1d7c08=_0x325bbf[_0x4939c0(0xfa)][_0x4939c0(0x18c)](_0x2071c4[_0x4939c0(0x17f)][0x0]);for(let _0x2f3b76=_0x51ad77['length']-0x1;_0x2f3b76>=0x0;_0x2f3b76--){const _0x5060ed={'id':_0x4939c0(0xec),'params':{'unitId':_0x51ad77[_0x2f3b76][_0x4939c0(0x15e)],..._0x51ad77[_0x2f3b76][_0x4939c0(0x1c4)]}},_0x552e41={'id':_0x4939c0(0xec),'params':{'unitId':_0x51ad77[_0x2f3b76][_0x4939c0(0x15e)],..._0x51ad77[_0x2f3b76]['redoState']}},_0x3c5b62=this[_0x4939c0(0x1ca)][_0x4939c0(0x1e2)](_0x3761f5,_0x5060ed,!0x1),_0x172ead=this[_0x4939c0(0x1ca)][_0x4939c0(0x1e2)](_0x1d7c08,_0x552e41,!0x1);if(_0x20753e[_0x4939c0(0x2a4)](_0x3c5b62))throw _0x3c5b62[_0x4939c0(0x220)];if(_0x20753e[_0x4939c0(0x2a4)](_0x172ead))throw _0x172ead[_0x4939c0(0x220)];_0x48475a[_0x4939c0(0x271)]({..._0x51ad77[_0x2f3b76],'undoState':_0x3c5b62['m2Prime']['params'],'redoState':_0x172ead[_0x4939c0(0x2b3)]['params']}),_0x3761f5=_0x3c5b62[_0x4939c0(0x244)],_0x1d7c08=_0x172ead[_0x4939c0(0x244)];}this[_0x4939c0(0x1e1)]['setStateCache'](_0x51b8ef,{'history':_0x111beb,'collaboration':_0x48475a});}};_0x1abca0=_0x484b6d([_0x89f46a(0x0,_0x325bbf[_0x5f57e0(0x333)](_0x325bbf[_0x5f57e0(0x2c1)])),_0x89f46a(0x1,_0x20753e[_0x5f57e0(0x10c)]),_0x89f46a(0x2,_0x325bbf[_0x5f57e0(0x333)](_0x3aa08e[_0x5f57e0(0x11c)]))],_0x1abca0);var _0x328097=Object['getOwnPropertyDescriptor'],_0x4f97bf=(_0x171b12,_0x3a8845,_0x164c58,_0x2059ad)=>{const _0x183634=_0x5f57e0;for(var _0x2b51f4=_0x2059ad>0x1?void 0x0:_0x2059ad?_0x328097(_0x3a8845,_0x164c58):_0x3a8845,_0x336593=_0x171b12[_0x183634(0x11d)]-0x1,_0x6b8d97;_0x336593>=0x0;_0x336593--)(_0x6b8d97=_0x171b12[_0x336593])&&(_0x2b51f4=_0x6b8d97(_0x2b51f4)||_0x2b51f4);return _0x2b51f4;},_0x42da40=(_0x2793d9,_0x4cdba2)=>(_0xc218af,_0x14ecc0)=>_0x4cdba2(_0xc218af,_0x14ecc0,_0x2793d9);let _0x1fc096=class{constructor(_0x43194b,_0x2977cf){const _0x47bcdf=_0x5f57e0;this[_0x47bcdf(0x363)]=_0x43194b,this[_0x47bcdf(0x1ca)]=_0x2977cf;}[_0x5f57e0(0xfc)](_0x50b94e){const _0x23b032=_0x5f57e0;var _0x2f5562;const _0x12a413=this[_0x23b032(0x363)]['get'](_0x30a0a7['DocSelectionManagerService']),_0x39aab9=(_0x2f5562=_0x12a413[_0x23b032(0xf9)]())!=null?_0x2f5562:[];if(_0x39aab9[_0x23b032(0x11d)]===0x0)return;const _0xb0db28=_0x50b94e[_0x23b032(0x254)],_0xe9a55=[{'id':_0x23b032(0xec),'params':{'unitId':_0xb0db28,'actions':null,'textRanges':_0x39aab9}}],_0x3bdfce=this[_0x23b032(0x1ca)][_0x23b032(0x1ab)](_0x50b94e,_0xe9a55);if(!_0x20753e[_0x23b032(0x184)](_0x3bdfce))throw _0x3bdfce[_0x23b032(0x220)];const _0x309060=_0x3bdfce[_0x23b032(0x2b3)][0x0][_0x23b032(0x263)][_0x23b032(0x1f3)];Array['isArray'](_0x309060)&&_0x309060['length']&&_0x12a413[_0x23b032(0x278)](_0x309060,{'unitId':_0xb0db28,'subUnitId':_0xb0db28},!0x1);}};_0x1fc096=_0x4f97bf([_0x42da40(0x0,_0x325bbf[_0x5f57e0(0x333)](_0x325bbf[_0x5f57e0(0x2c1)])),_0x42da40(0x1,_0x20753e['ITransformService'])],_0x1fc096);var _0x16df46=Object[_0x5f57e0(0x12d)],_0x295e3e=(_0x3e58b0,_0x1d9429,_0x49e8f2,_0x2ad8f2)=>{const _0x43cd16=_0x5f57e0;for(var _0x6ee6c8=_0x2ad8f2>0x1?void 0x0:_0x2ad8f2?_0x16df46(_0x1d9429,_0x49e8f2):_0x1d9429,_0x631086=_0x3e58b0[_0x43cd16(0x11d)]-0x1,_0x59c731;_0x631086>=0x0;_0x631086--)(_0x59c731=_0x3e58b0[_0x631086])&&(_0x6ee6c8=_0x59c731(_0x6ee6c8)||_0x6ee6c8);return _0x6ee6c8;},_0x3cd8a6=(_0x167932,_0x32dd73)=>(_0x487eb6,_0x3e06ea)=>_0x32dd73(_0x487eb6,_0x3e06ea,_0x167932);let _0x4e14f0=class extends _0x325bbf[_0x5f57e0(0x32d)]{constructor(_0x3004dd,_0x4f9ea1,_0x966f2c,_0x54e1f6,_0x48d905,_0x330832,_0x50b04e,_0x5c8440){const _0x4d3508=_0x5f57e0;super(),_0x30fb67(this,'_status$',new _0x4aa5c5['BehaviorSubject'](_0x2df1a4['CollaborationStatus'][_0x4d3508(0x126)])),(this[_0x4d3508(0x1e1)]=_0x3004dd,this[_0x4d3508(0x19c)]=_0x4f9ea1,this['_docTransformIMECacheService']=_0x966f2c,this[_0x4d3508(0x177)]=_0x54e1f6,this['_docTransformSelectionsService']=_0x48d905,this[_0x4d3508(0x2e0)]=_0x330832,this['_messageService']=_0x50b04e,this[_0x4d3508(0x15f)]=_0x5c8440,this[_0x4d3508(0x21e)]());}[_0x5f57e0(0x21e)](){const _0xd77bb2=_0x5f57e0;this[_0xd77bb2(0x295)](this[_0xd77bb2(0x19c)][_0xd77bb2(0x115)][_0xd77bb2(0x14f)](_0x266ad9=>{const _0x18b75c=_0xd77bb2,_0x303d09=this[_0x18b75c(0x1e1)][_0x18b75c(0x360)][_0x18b75c(0x14f)](_0x4031ef=>{const _0x35100e=_0x18b75c;if(_0x4031ef==null)return;const {unitId:_0x3b5710,redoState:_0x2918bd,commandId:_0x4ea190}=_0x4031ef;if(_0x3b5710!==_0x266ad9[_0x35100e(0x254)])return;const _0x580731={'id':_0x4ea190,'type':_0x325bbf[_0x35100e(0x1d7)][_0x35100e(0x15d)],'params':{'unitId':_0x3b5710,'actions':_0x2918bd[_0x35100e(0x14a)],'textRanges':null}};_0x266ad9[_0x35100e(0x157)](_0x580731);});if(_0x266ad9[_0x18b75c(0x295)](_0x303d09),_0x266ad9 instanceof _0x2df1a4['DocCollaborationEntity']){const _0x530c03={'onTransformIME':_0x4240e1=>this[_0x18b75c(0x1f0)]['transformIMECache'](_0x4240e1),'onTransformState':_0x143728=>this[_0x18b75c(0x177)][_0x18b75c(0x217)](_0x143728),'onTransformSelections':_0x1e165c=>this[_0x18b75c(0x33b)]['transformSelections'](_0x1e165c),'onSyncEditingCollabCursor':_0x164b08=>this[_0x18b75c(0x2e0)][_0x18b75c(0x306)](_0x164b08),'onTransformRemoteChangesetByIMECache':_0x2313e6=>this[_0x18b75c(0x1f0)][_0x18b75c(0x2a7)](_0x2313e6),'onTransformRemoteChangesetByStateCache':_0x1842db=>this[_0x18b75c(0x177)][_0x18b75c(0x2a7)](_0x1842db)};_0x266ad9['addHandlerCallback'](_0x530c03);}}));}};_0x4e14f0=_0x295e3e([_0x3cd8a6(0x0,_0x325bbf[_0x5f57e0(0x333)](_0x3aa08e['DocStateChangeManagerService'])),_0x3cd8a6(0x1,_0x325bbf[_0x5f57e0(0x333)](_0x2df1a4[_0x5f57e0(0x19d)])),_0x3cd8a6(0x2,_0x325bbf[_0x5f57e0(0x333)](_0x399d56)),_0x3cd8a6(0x3,_0x325bbf[_0x5f57e0(0x333)](_0x1abca0)),_0x3cd8a6(0x4,_0x325bbf[_0x5f57e0(0x333)](_0x1fc096)),_0x3cd8a6(0x5,_0x325bbf[_0x5f57e0(0x333)](_0x5526c9)),_0x3cd8a6(0x6,_0x3c81ed['IMessageService']),_0x3cd8a6(0x7,_0x325bbf['Inject'](_0x325bbf[_0x5f57e0(0x13a)]))],_0x4e14f0);var _0x5cb09e=Object[_0x5f57e0(0x12d)],_0x69802c=(_0x56be2d,_0x3bda86,_0x2af069,_0x465fac)=>{for(var _0x15bc2e=_0x465fac>0x1?void 0x0:_0x465fac?_0x5cb09e(_0x3bda86,_0x2af069):_0x3bda86,_0x325c27=_0x56be2d['length']-0x1,_0x3cd1a9;_0x325c27>=0x0;_0x325c27--)(_0x3cd1a9=_0x56be2d[_0x325c27])&&(_0x15bc2e=_0x3cd1a9(_0x15bc2e)||_0x15bc2e);return _0x15bc2e;},_0x5a728e=(_0x2478e2,_0x4f46dd)=>(_0x51e89b,_0x14333b)=>_0x4f46dd(_0x51e89b,_0x14333b,_0x2478e2);let _0x4128e5=class extends _0x325bbf['Disposable']{constructor(_0x33f838,_0x54f19a,_0x2378ce){const _0x341942=_0x5f57e0;super(),_0x30fb67(this,_0x341942(0x1a6),new Map()),_0x30fb67(this,_0x341942(0x239),new Map()),_0x30fb67(this,_0x341942(0x187),!0x1),(this['_configService']=_0x33f838,this[_0x341942(0x340)]=_0x54f19a,this[_0x341942(0x269)]=_0x2378ce);}[_0x5f57e0(0x2dc)](){const _0x511e21=_0x5f57e0;this[_0x511e21(0x187)]=!0x0;}['enableLocalCache'](){const _0x3db809=_0x5f57e0;this[_0x3db809(0x187)]=!0x1;}get[_0x5f57e0(0x1ea)](){return this['_saveTaskMap'];}[_0x5f57e0(0x124)](){const _0x21c1b6=_0x5f57e0;this[_0x21c1b6(0x33a)]()[_0x21c1b6(0x359)](()=>super[_0x21c1b6(0x124)]());}async[_0x5f57e0(0x358)](_0x22456a){const _0x4af270=_0x5f57e0;return this[_0x4af270(0x187)]?null:this['_localStorageService']['getItem'](_0x2df1a4[_0x4af270(0x251)](_0x22456a));}async['saveOfflineData'](_0x3ac895,_0x3ee5a5){const _0x5764e8=_0x5f57e0;return!!this[_0x5764e8(0x340)][_0x5764e8(0x154)](_0x3ac895,_0x3ee5a5);}[_0x5f57e0(0x196)](_0x2057ab,_0x191481,_0x1ed34e,_0xff30e2){const _0x259988=_0x5f57e0,_0x3801d2=this[_0x259988(0x269)][_0x259988(0x10d)](_0x2057ab);this[_0x259988(0x1a6)]['set'](_0x2057ab,{'unitID':_0x2057ab,'type':_0x191481,'awaitingChangeset':_0x1ed34e,'mutations':_0xff30e2,'rev':_0x3801d2}),this[_0x259988(0x239)]['has'](_0x2057ab)||this['_scheduleSaving'](_0x2057ab);}['_scheduleSaving'](_0x1a9cac){const _0x24c397=_0x5f57e0,_0x57ec8b=this['_getSaveTimeout']();_0x57ec8b===0x0?this[_0x24c397(0x2f7)](_0x1a9cac):this[_0x24c397(0x239)][_0x24c397(0x102)](_0x1a9cac,setTimeout(()=>this[_0x24c397(0x2f7)](_0x1a9cac),_0x57ec8b));}[_0x5f57e0(0x2e6)](){const _0x386de8=_0x5f57e0;var _0x3b0478;return(_0x3b0478=this[_0x386de8(0x330)][_0x386de8(0x1db)](_0x2df1a4[_0x386de8(0x2cd)]))!=null?_0x3b0478:_0x2df1a4[_0x386de8(0x2b9)];}[_0x5f57e0(0x2f7)](_0x20b68e){const _0x36233f=_0x5f57e0,_0x278b04=this['_saveTaskMap'][_0x36233f(0x2ed)](_0x20b68e);return _0x278b04!==void 0x0&&window[_0x36233f(0x272)](_0x278b04),this['_localStorageService'][_0x36233f(0x154)](_0x2df1a4['getLocalCacheKey'](_0x20b68e),this[_0x36233f(0x1a6)][_0x36233f(0x2ed)](_0x20b68e))[_0x36233f(0x359)](()=>this[_0x36233f(0x239)][_0x36233f(0x215)](_0x20b68e));}async[_0x5f57e0(0x33a)](){const _0x46f0bb=_0x5f57e0,_0x1e40b8=[];this['_saveTaskMap'][_0x46f0bb(0x1fb)]((_0xa22040,_0x3b7910)=>{const _0x15ce35=_0x46f0bb;window[_0x15ce35(0x272)](_0xa22040),_0x1e40b8['push'](this[_0x15ce35(0x2f7)](_0x3b7910)[_0x15ce35(0x359)](()=>{const _0x29a737=_0x15ce35;this['_saveTaskMap'][_0x29a737(0x215)](_0x3b7910);}));}),await Promise[_0x46f0bb(0x12f)](_0x1e40b8);}};_0x4128e5=_0x69802c([_0x5a728e(0x0,_0x325bbf[_0x5f57e0(0x13e)]),_0x5a728e(0x1,_0x325bbf[_0x5f57e0(0x1c2)]),_0x5a728e(0x2,_0x325bbf[_0x5f57e0(0x333)](_0x20753e[_0x5f57e0(0x142)]))],_0x4128e5);class _0x325020 extends _0x325bbf[_0x5f57e0(0x305)]{constructor(){const _0x3695ca=_0x5f57e0;super(),_0x30fb67(this,_0x3695ca(0x373)),this['urlChange$']=_0x4aa5c5[_0x3695ca(0x2ad)](window,_0x3695ca(0x161))['pipe'](_0x4aa5c5[_0x3695ca(0x320)](this['dispose$']),_0x4aa5c5[_0x3695ca(0x21d)](0x1),_0x4aa5c5[_0x3695ca(0x2f4)](void 0x0));}['setParam'](_0x58c071,_0x2c4b10,_0x4e13d0=!0x1){const _0x5bf15b=_0x5f57e0,_0x2c341b=new URL(window[_0x5bf15b(0x1cb)]['href']);_0x2c341b[_0x5bf15b(0x327)]['set'](_0x58c071,_0x2c4b10),_0x4e13d0?window[_0x5bf15b(0xf8)][_0x5bf15b(0x1b6)]('','',_0x2c341b['toString']()):window[_0x5bf15b(0xf8)]['pushState']('','',_0x2c341b[_0x5bf15b(0x1c1)]());}[_0x5f57e0(0x19b)](_0x2e6a04,_0x3d7d57=!0x1){const _0x48c354=_0x5f57e0,_0x18e2ed=new URL(window[_0x48c354(0x1cb)][_0x48c354(0x355)]);_0x18e2ed['searchParams']['delete'](_0x2e6a04),_0x3d7d57?window[_0x48c354(0xf8)][_0x48c354(0x1b6)]('','',_0x18e2ed[_0x48c354(0x1c1)]()):window[_0x48c354(0xf8)][_0x48c354(0x185)]('','',_0x18e2ed['toString']());}[_0x5f57e0(0x17d)](_0x420d8c){const _0x14f4df=_0x5f57e0;var _0x42ada0;return(_0x42ada0=new URL(window[_0x14f4df(0x1cb)][_0x14f4df(0x355)])[_0x14f4df(0x327)][_0x14f4df(0x2ed)](_0x420d8c))!=null?_0x42ada0:void 0x0;}}var _0x561114=Object[_0x5f57e0(0x32f)],_0x4517cf=Object['getOwnPropertyDescriptor'],_0x54209f=(_0x1c11f8,_0xfb6417,_0x21157a)=>_0xfb6417 in _0x1c11f8?_0x561114(_0x1c11f8,_0xfb6417,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x21157a}):_0x1c11f8[_0xfb6417]=_0x21157a,_0x3097af=(_0x1c7699,_0xb53de4,_0x133424,_0x3a9dcf)=>{for(var _0x371a64=_0x3a9dcf>0x1?void 0x0:_0x3a9dcf?_0x4517cf(_0xb53de4,_0x133424):_0xb53de4,_0x10a8ad=_0x1c7699['length']-0x1,_0x36cb91;_0x10a8ad>=0x0;_0x10a8ad--)(_0x36cb91=_0x1c7699[_0x10a8ad])&&(_0x371a64=_0x36cb91(_0x371a64)||_0x371a64);return _0x371a64;},_0x1d8121=(_0x12596d,_0x457619)=>(_0x309469,_0x17fabf)=>_0x457619(_0x309469,_0x17fabf,_0x12596d),_0x33e9d1=(_0x283b00,_0x40a5b8,_0x2fedbf)=>_0x54209f(_0x283b00,_0x40a5b8+'',_0x2fedbf);const _0x2dd8a9=_0x5f57e0(0x1f7);_0x51bd02['UniverCollaborationClientUIPlugin']=class extends _0x325bbf[_0x5f57e0(0x2ef)]{constructor(_0x477fca=_0x299f3a,_0x8dc383,_0x1c55f6,_0x2499a5){const _0x24f9d7=_0x5f57e0;super(),this[_0x24f9d7(0x317)]=_0x477fca,this[_0x24f9d7(0x2c7)]=_0x8dc383,this[_0x24f9d7(0x363)]=_0x1c55f6,this[_0x24f9d7(0x330)]=_0x2499a5;const {..._0x379cb5}=_0x325bbf[_0x24f9d7(0x32e)]({},_0x299f3a,this[_0x24f9d7(0x317)]);this[_0x24f9d7(0x330)][_0x24f9d7(0x229)](_0x337665,_0x379cb5);}[_0x5f57e0(0x100)](){const _0x2ed0ec=_0x5f57e0;this[_0x2ed0ec(0x277)](),this[_0x2ed0ec(0x1e9)]();}['onRendered'](){const _0x51f7f7=_0x5f57e0;this[_0x51f7f7(0x1f8)]();}[_0x5f57e0(0x277)](){const _0x5ac113=_0x5f57e0;var _0x4e765b;const _0x59d746=[[_0x59bb9d],[_0x1fc096],[_0x399d56],[_0x1abca0],[_0x5526c9],[_0x12b429,{'useClass':_0x325020}],[_0x16ff3c['ISocketService'],{'useClass':_0x16ff3c[_0x5ac113(0x33f)]}],[_0x2df1a4[_0x5ac113(0x170)],{'useClass':_0x4128e5}],[_0x51bd02[_0x5ac113(0x118)]],[_0x4e14f0],[_0x22e23a],[_0x2264e9],[_0x1808d0],[_0x51bd02[_0x5ac113(0x309)]]];_0x325bbf['registerDependencies'](this['_injector'],_0x325bbf[_0x5ac113(0x2e2)](_0x59d746,(_0x4e765b=this[_0x5ac113(0x317)])==null?void 0x0:_0x4e765b[_0x5ac113(0x1f2)]));}[_0x5f57e0(0x1f8)](){const _0x26e7ba=_0x5f57e0;this[_0x26e7ba(0x295)](this['_renderManagerService'][_0x26e7ba(0x240)](_0x325bbf[_0x26e7ba(0x1c6)][_0x26e7ba(0x367)],[_0x421646])),this[_0x26e7ba(0x295)](this[_0x26e7ba(0x2c7)]['registerRenderModule'](_0x325bbf[_0x26e7ba(0x1c6)]['UNIVER_SHEET'],[_0x567d02]));}[_0x5f57e0(0x1e9)](){const _0x3a6e47=_0x5f57e0;_0x325bbf[_0x3a6e47(0x1fd)](this[_0x3a6e47(0x363)],[[_0x2264e9],[_0x51bd02[_0x3a6e47(0x118)]],[_0x4e14f0],[_0x22e23a],[_0x51bd02[_0x3a6e47(0x309)]]]);}},_0x33e9d1(_0x51bd02[_0x5f57e0(0xf7)],_0x5f57e0(0x1d8),_0x2dd8a9),_0x51bd02['UniverCollaborationClientUIPlugin']=_0x3097af([_0x325bbf[_0x5f57e0(0x1c7)](_0x2df1a4['UniverCollaborationClientPlugin']),_0x1d8121(0x1,_0x1baa4a[_0x5f57e0(0x2cc)]),_0x1d8121(0x2,_0x325bbf[_0x5f57e0(0x333)](_0x325bbf[_0x5f57e0(0x2c1)])),_0x1d8121(0x3,_0x325bbf[_0x5f57e0(0x13e)])],_0x51bd02[_0x5f57e0(0xf7)]);var _0x234464=Object[_0x5f57e0(0x12d)],_0x31b5df=(_0x1b8f81,_0x2d1828,_0x34b773,_0x5962aa)=>{const _0x43352f=_0x5f57e0;for(var _0x1df90f=_0x5962aa>0x1?void 0x0:_0x5962aa?_0x234464(_0x2d1828,_0x34b773):_0x2d1828,_0x2d4725=_0x1b8f81[_0x43352f(0x11d)]-0x1,_0x5e87e8;_0x2d4725>=0x0;_0x2d4725--)(_0x5e87e8=_0x1b8f81[_0x2d4725])&&(_0x1df90f=_0x5e87e8(_0x1df90f)||_0x1df90f);return _0x1df90f;},_0x3c53f1=(_0x2e6366,_0xcbc26d)=>(_0x57e26a,_0x37667d)=>_0xcbc26d(_0x57e26a,_0x37667d,_0x2e6366);_0x51bd02[_0x5f57e0(0x149)]=class extends _0x2df1a4[_0x5f57e0(0x2c5)]{constructor(_0xcff5cb,_0x1f62a1,_0x26a028,_0x194669,_0x316782){super(_0xcff5cb,_0x1f62a1,_0x26a028,_0x194669,_0x316782);}async['createSocket'](_0x1474c9){const _0x2659a0=_0x5f57e0,_0x2161a2=await this[_0x2659a0(0x380)](),_0x3f0ab1=this[_0x2659a0(0x37b)](_0x1474c9,_0x2161a2);return this['_doCreateSocket'](_0x3f0ab1);}[_0x5f57e0(0x37b)](_0x36dff6,_0x342ad1){const _0x5b96e8=_0x5f57e0,_0x3aa693=typeof window>'u'?new URL(_0x36dff6):new URL(_0x36dff6,window[_0x5b96e8(0x1cb)][_0x5b96e8(0x15a)]);_0x3aa693[_0x5b96e8(0x327)][_0x5b96e8(0x102)](_0x5b96e8(0x313),_0x342ad1);const _0x43b6dc=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5b96e8(0x1cb)][_0x5b96e8(0x1b1)]);return _0x43b6dc[_0x5b96e8(0x2ed)]('runId')&&_0x3aa693['searchParams']['set'](_0x5b96e8(0x15b),_0x43b6dc['get'](_0x5b96e8(0x15b))),_0x3aa693[_0x5b96e8(0x1c1)]();}async[_0x5f57e0(0x380)](){const _0x58c548=_0x5f57e0;var _0x40ba00,_0x60bb4,_0x552a58;const _0x527ad4=this[_0x58c548(0x330)]['getConfig'](_0x2df1a4[_0x58c548(0x176)]),_0x713081=(_0x40ba00=_0x527ad4==null?void 0x0:_0x527ad4[_0x58c548(0x195)])!=null?_0x40ba00:_0x2df1a4['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x552a58=(_0x60bb4=(await this[_0x58c548(0x2ce)][_0x58c548(0x2ed)](_0x713081,{'headers':{'Content-Type':'application/json'}}))[_0x58c548(0x2d3)])==null?void 0x0:_0x60bb4[_0x58c548(0x2ba)])!=null?_0x552a58:'';}},_0x51bd02[_0x5f57e0(0x149)]=_0x31b5df([_0x3c53f1(0x0,_0x325bbf['Inject'](_0x325bbf[_0x5f57e0(0x2c1)])),_0x3c53f1(0x1,_0x325bbf['Inject'](_0x16ff3c[_0x5f57e0(0x153)])),_0x3c53f1(0x2,_0x325bbf['IConfigService']),_0x3c53f1(0x3,_0x325bbf[_0x5f57e0(0x36e)]),_0x3c53f1(0x4,_0x20753e[_0x5f57e0(0x28c)])],_0x51bd02['BrowserCollaborationSocketService']);const _0x25037a=0x7530,_0x4ec738=_0x5f57e0(0x174);class _0x2032ec extends _0x325bbf['Disposable']{constructor(){const _0x2c3163=_0x5f57e0;super(),_0x30fb67(this,'_id',_0x325bbf[_0x2c3163(0x101)]()),_0x30fb67(this,_0x2c3163(0x2b4),new Set()),_0x30fb67(this,_0x2c3163(0xf1),new Map()),_0x30fb67(this,_0x2c3163(0x22c),null),_0x30fb67(this,_0x2c3163(0x30c),new Map()),_0x30fb67(this,_0x2c3163(0x1cd),new Map()),this[_0x2c3163(0x364)]();}[_0x5f57e0(0x124)](){const _0x17ef0f=_0x5f57e0;super[_0x17ef0f(0x124)](),this[_0x17ef0f(0x30c)][_0x17ef0f(0x1fb)]((_0x3c9d47,_0x29cda1)=>this[_0x17ef0f(0x172)](_0x29cda1)),this['_heartbeatTimer']&&window[_0x17ef0f(0x32b)](this[_0x17ef0f(0x22c)]);}[_0x5f57e0(0x2cb)](_0x3c8571){const _0xcafa3d=_0x5f57e0;return this['_ensureSubject'](_0x3c8571)[_0xcafa3d(0x150)](_0x4aa5c5[_0xcafa3d(0x331)]());}['editingUnit'](_0x46a31e){const _0x24a5e3=_0x5f57e0;this[_0x24a5e3(0x2b4)]['size']===0x0&&this[_0x24a5e3(0x35a)](),this[_0x24a5e3(0x2b4)][_0x24a5e3(0x2db)](_0x46a31e),this[_0x24a5e3(0x107)]({'type':0x0,'memberID':this[_0x24a5e3(0x155)],'unitIDs':[_0x46a31e],'isForwarded':!0x1});}[_0x5f57e0(0xfe)](_0x583f59){const _0x21900e=_0x5f57e0;this[_0x21900e(0x2b4)]['delete'](_0x583f59),this[_0x21900e(0x2b4)][_0x21900e(0x252)]===0x0&&this['_heartbeatTimer']&&window[_0x21900e(0x32b)](this[_0x21900e(0x22c)]);}[_0x5f57e0(0x364)](){const _0x2ed7e1=_0x5f57e0;this['disposeWithMe'](_0x325bbf[_0x2ed7e1(0x303)](_0x4aa5c5[_0x2ed7e1(0x2ad)](window,_0x2ed7e1(0x1ff))[_0x2ed7e1(0x14f)](_0x2547a8=>{const _0x595c5c=_0x2ed7e1;if(_0x2547a8['key']!==_0x4ec738||!_0x2547a8[_0x595c5c(0x1bf)])return;const _0x578260=JSON[_0x595c5c(0x290)](_0x2547a8[_0x595c5c(0x1bf)]);this[_0x595c5c(0x31b)](_0x578260);}))),window['addEventListener']('unload',()=>this[_0x2ed7e1(0x107)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x2ed7e1(0x382)](this[_0x2ed7e1(0x2b4)])}));}[_0x5f57e0(0x31b)](_0x5605ad){const _0x4db477=_0x5f57e0;switch(_0x5605ad[_0x4db477(0x325)]){case 0x0:this[_0x4db477(0x284)](_0x5605ad);break;case 0x1:this[_0x4db477(0x33d)](_0x5605ad);break;case 0x2:this[_0x4db477(0x14e)](_0x5605ad);break;}}[_0x5f57e0(0x284)](_0x4d9fe8){const _0x83d66e=_0x5f57e0,{unitIDs:_0x3bd2df,memberID:_0x58f597,isForwarded:_0x13332f}=_0x4d9fe8;_0x3bd2df['forEach'](_0x63e4c8=>{const _0x3a1846=_0x304c;if(!_0x13332f&&this[_0x3a1846(0xf1)][_0x3a1846(0xf6)](_0x63e4c8)&&this[_0x3a1846(0x15c)](_0x63e4c8)[_0x3a1846(0x267)](_0x2df1a4[_0x3a1846(0x328)][_0x3a1846(0x2a5)]),!this[_0x3a1846(0xf1)][_0x3a1846(0xf6)](_0x63e4c8)||!this['_unitOnClients'][_0x3a1846(0x2ed)](_0x63e4c8)[_0x3a1846(0xf6)](_0x58f597)){const _0x4d539c=this['_unitOnClients']['get'](_0x63e4c8)||new Set();_0x4d539c[_0x3a1846(0x2db)](_0x58f597),this[_0x3a1846(0xf1)][_0x3a1846(0x102)](_0x63e4c8,_0x4d539c),this[_0x3a1846(0x24b)](_0x58f597);}}),_0x13332f||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x83d66e(0x2b4)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x42a18b){const _0x475e54=_0x5f57e0;this[_0x475e54(0x172)](_0x42a18b);const _0x176edf=window['setTimeout'](()=>{const _0x1cccd7=_0x475e54;this['_unitOnClients'][_0x1cccd7(0x1fb)](_0x390257=>{_0x390257['delete'](_0x42a18b);});},_0x25037a*0x2);this[_0x475e54(0x30c)]['set'](_0x42a18b,_0x176edf);}[_0x5f57e0(0x172)](_0xfcf5ed){const _0x53d9af=_0x5f57e0;if(this[_0x53d9af(0x30c)][_0x53d9af(0xf6)](_0xfcf5ed)){const _0x51d796=this['_clearOtherTimers']['get'](_0xfcf5ed);_0x51d796&&window[_0x53d9af(0x272)](_0x51d796),this['_clearOtherTimers']['set'](_0xfcf5ed,null);}}[_0x5f57e0(0x33d)](_0x447339){const _0x492ed2=_0x5f57e0,{memberID:_0x2fe381,unitIDs:_0xa72217}=_0x447339;_0xa72217[_0x492ed2(0x1fb)](_0x3c6a6a=>{const _0x575660=_0x492ed2;var _0xbd375e;const _0x41f9dd=this[_0x575660(0xf1)][_0x575660(0x2ed)](_0x3c6a6a);_0x41f9dd&&(_0x41f9dd[_0x575660(0x215)](_0x2fe381),(_0xbd375e=this[_0x575660(0x15c)](_0x3c6a6a))==null||_0xbd375e[_0x575660(0x267)](_0x41f9dd[_0x575660(0x252)]===0x0?_0x2df1a4['UnitStatus']['NO_OTHER_CLIENTS_EDITING']:_0x2df1a4[_0x575660(0x328)]['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x2fe381);}[_0x5f57e0(0x14e)](_0x46392e){const _0x1b8111=_0x5f57e0;this['_scheduleClearOtherTimer'](_0x46392e[_0x1b8111(0x17a)]);}[_0x5f57e0(0x107)](_0x3e952a){const _0x3344d3=_0x5f57e0;localStorage[_0x3344d3(0x154)](_0x4ec738,JSON[_0x3344d3(0x329)](_0x3e952a));}['_scheduleHeartbeat'](){const _0x55fd12=_0x5f57e0;this[_0x55fd12(0x22c)]=window[_0x55fd12(0x11a)](()=>{const _0x223f10=_0x55fd12;this[_0x223f10(0x107)]({'type':0x2,'memberID':this[_0x223f10(0x155)]});},_0x25037a);}[_0x5f57e0(0x15c)](_0x3f813a){const _0x1e3884=_0x5f57e0;return this['_unitStatus']['has'](_0x3f813a)||this[_0x1e3884(0x1cd)][_0x1e3884(0x102)](_0x3f813a,new _0x4aa5c5[(_0x1e3884(0x22b))](_0x2df1a4[_0x1e3884(0x328)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x1e3884(0x1cd)]['get'](_0x3f813a);}}var _0x126932=(_0x4db543=>(_0x4db543[_0x4db543[_0x5f57e0(0x365)]=0x0]=_0x5f57e0(0x365),_0x4db543[_0x4db543['OK']=0x1]='OK',_0x4db543[_0x4db543['INTERNAL_ERROR']=0x2]=_0x5f57e0(0x1c5),_0x4db543[_0x4db543['PERMISSION_DENIED']=0x3]=_0x5f57e0(0x248),_0x4db543[_0x4db543[_0x5f57e0(0x2ec)]=0x4]=_0x5f57e0(0x2ec),_0x4db543[_0x4db543[_0x5f57e0(0x383)]=0x5]='UNAUTHENTICATED',_0x4db543[_0x4db543[_0x5f57e0(0x20c)]=0x6]=_0x5f57e0(0x20c),_0x4db543[_0x4db543[_0x5f57e0(0x238)]=0x7]='INVALID_ARGUMENT',_0x4db543[_0x4db543[_0x5f57e0(0x2f2)]=0x8]='TOO_MANY_REQUESTS',_0x4db543[_0x4db543[_0x5f57e0(0x1ae)]=0x9]=_0x5f57e0(0x1ae),_0x4db543[_0x4db543[_0x5f57e0(0x28d)]=0xa]=_0x5f57e0(0x28d),_0x4db543[_0x4db543[_0x5f57e0(0x226)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x4db543[_0x4db543[_0x5f57e0(0x27f)]=0x1771]=_0x5f57e0(0x27f),_0x4db543[_0x4db543[_0x5f57e0(0x2ae)]=0x1772]=_0x5f57e0(0x2ae),_0x4db543[_0x4db543[_0x5f57e0(0x25b)]=0x1773]=_0x5f57e0(0x25b),_0x4db543[_0x4db543['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x4db543[_0x4db543[_0x5f57e0(0x357)]=0x1b5a]=_0x5f57e0(0x357),_0x4db543[_0x4db543[_0x5f57e0(0x105)]=0x1b5b]=_0x5f57e0(0x105),_0x4db543[_0x4db543['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x5f57e0(0x334),_0x4db543[_0x4db543[_0x5f57e0(0x1b2)]=0x1b5d]=_0x5f57e0(0x1b2),_0x4db543[_0x4db543['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x4db543[_0x4db543[_0x5f57e0(0x301)]=0x2329]=_0x5f57e0(0x301),_0x4db543[_0x4db543[_0x5f57e0(0x241)]=0x232a]=_0x5f57e0(0x241),_0x4db543[_0x4db543['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x5f57e0(0x335),_0x4db543[_0x4db543[_0x5f57e0(0x1d9)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x4db543[_0x4db543['LICENSE_DISTRO_REJECTED']=0x232d]=_0x5f57e0(0x308),_0x4db543[_0x4db543['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x5f57e0(0x293),_0x4db543[_0x4db543[_0x5f57e0(0x2f9)]=0x2712]=_0x5f57e0(0x2f9),_0x4db543[_0x4db543[_0x5f57e0(0x162)]=0x2713]=_0x5f57e0(0x162),_0x4db543[_0x4db543[_0x5f57e0(0x34c)]=0x2714]=_0x5f57e0(0x34c),_0x4db543[_0x4db543['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x5f57e0(0x24d),_0x4db543[_0x4db543[_0x5f57e0(0x31f)]=0x271b]=_0x5f57e0(0x31f),_0x4db543[_0x4db543[_0x5f57e0(0x291)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x4db543[_0x4db543[_0x5f57e0(0x366)]=0x271d]=_0x5f57e0(0x366),_0x4db543[_0x4db543['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x5f57e0(0x1f5),_0x4db543[_0x4db543[_0x5f57e0(0x259)]=0x271f]=_0x5f57e0(0x259),_0x4db543[_0x4db543[_0x5f57e0(0x288)]=0x2af9]=_0x5f57e0(0x288),_0x4db543[_0x4db543['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x5f57e0(0x1ee),_0x4db543[_0x4db543[_0x5f57e0(0x1b3)]=0x2ee2]=_0x5f57e0(0x1b3),_0x4db543[_0x4db543[_0x5f57e0(0x191)]=0x2ee3]=_0x5f57e0(0x191),_0x4db543[_0x4db543[_0x5f57e0(0x256)]=0x2ee4]=_0x5f57e0(0x256),_0x4db543[_0x4db543['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x5f57e0(0x1cc),_0x4db543[_0x4db543[_0x5f57e0(0x2b8)]=0x32c9]=_0x5f57e0(0x2b8),_0x4db543[_0x4db543[_0x5f57e0(0x2e5)]=0x32ca]=_0x5f57e0(0x2e5),_0x4db543[_0x4db543[_0x5f57e0(0x1e0)]=0x32cb]=_0x5f57e0(0x1e0),_0x4db543[_0x4db543['UNRECOGNIZED']=-0x1]=_0x5f57e0(0x319),_0x4db543))(_0x126932||{}),_0x25a807=Object[_0x5f57e0(0x12d)],_0x56ac91=(_0x3c17a3,_0x436d88,_0x573e69,_0x2e58f6)=>{const _0x9c9eea=_0x5f57e0;for(var _0x8a405d=_0x2e58f6>0x1?void 0x0:_0x2e58f6?_0x25a807(_0x436d88,_0x573e69):_0x436d88,_0x3f69dc=_0x3c17a3[_0x9c9eea(0x11d)]-0x1,_0x19eec9;_0x3f69dc>=0x0;_0x3f69dc--)(_0x19eec9=_0x3c17a3[_0x3f69dc])&&(_0x8a405d=_0x19eec9(_0x8a405d)||_0x8a405d);return _0x8a405d;},_0x159e8d=(_0x39f61c,_0x5a01d3)=>(_0x5a98e6,_0x265325)=>_0x5a01d3(_0x5a98e6,_0x265325,_0x39f61c);_0x51bd02[_0x5f57e0(0x2fd)]=class extends _0x325bbf[_0x5f57e0(0x32d)]{constructor(_0x84e8c1,_0x460df3,_0x9b8958){const _0x14d898=_0x5f57e0;super(),this[_0x14d898(0x304)]=_0x84e8c1,this[_0x14d898(0x2ce)]=_0x460df3,this[_0x14d898(0x330)]=_0x9b8958;}async[_0x5f57e0(0x2f8)](_0x598f5d,_0x5556dc,_0x5200a9,..._0x5faf52){const _0x3b5949=_0x5f57e0;var _0x613c55,_0x1d1995,_0x50a492,_0x36fce9;const _0x1c3058=this[_0x3b5949(0x304)][_0x3b5949(0x144)]();if(!_0x1c3058)throw new Error(_0x3b5949(0x140));const _0x257f89=((_0x613c55=this[_0x3b5949(0x330)][_0x3b5949(0x1db)](_0x2df1a4['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x613c55:_0x2df1a4[_0x3b5949(0x231)])+'/'+_0x598f5d+_0x3b5949(0x37c)+_0x5556dc,_0x486cdc=new URL(window[_0x3b5949(0x1cb)][_0x3b5949(0x355)]),_0x2d9b00={'scriptId':_0x598f5d,'runId':(_0x1d1995=_0x486cdc['searchParams']['get'](_0x3b5949(0x15b)))!=null?_0x1d1995:'','function':_0x5556dc,'unitId':_0x1c3058['getUnitId'](),'argsOfFunction':JSON[_0x3b5949(0x329)](_0x5faf52),'invokeId':(_0x50a492=_0x5200a9[_0x3b5949(0x20b)])!=null?_0x50a492:'','executionId':(_0x36fce9=_0x5200a9[_0x3b5949(0x2b7)])!=null?_0x36fce9:''};try{const _0x3e5eea=await this['_httpService'][_0x3b5949(0x2b1)](_0x257f89,{'body':_0x2d9b00});return _0x3e5eea['body'][_0x3b5949(0x220)]&&_0x3e5eea[_0x3b5949(0x2d3)][_0x3b5949(0x220)][_0x3b5949(0x26a)]!==_0x126932['OK']?_0x3b5949(0x206):_0x3e5eea[_0x3b5949(0x2d3)]['result'];}catch{return _0x3b5949(0x206);}}},_0x51bd02[_0x5f57e0(0x2fd)]=_0x56ac91([_0x159e8d(0x0,_0x325bbf['IUniverInstanceService']),_0x159e8d(0x1,_0x325bbf['Inject'](_0x16ff3c[_0x5f57e0(0x153)])),_0x159e8d(0x2,_0x325bbf[_0x5f57e0(0x13e)])],_0x51bd02[_0x5f57e0(0x2fd)]),_0x51bd02[_0x5f57e0(0x148)]=_0x231942,_0x51bd02[_0x5f57e0(0x23e)]=_0x12b429,_0x51bd02[_0x5f57e0(0x131)]=_0x3ac4f0,_0x51bd02[_0x5f57e0(0x354)]=_0x2032ec,_0x51bd02[_0x5f57e0(0x2a3)]=_0x325020,Object['defineProperty'](_0x51bd02,Symbol[_0x5f57e0(0x37a)],{'value':_0x5f57e0(0x314)});}));
|
|
1
|
+
function _0x1dc9(_0x521261,_0x1e7900){const _0x235282=_0x2352();return _0x1dc9=function(_0x1dc9c2,_0x512fda){_0x1dc9c2=_0x1dc9c2-0xfa;let _0x11abc5=_0x235282[_0x1dc9c2];return _0x11abc5;},_0x1dc9(_0x521261,_0x1e7900);}(function(_0x1b7a1a,_0x26c4f4){const _0x6ee3b3=_0x1dc9,_0x414f67=_0x1b7a1a();while(!![]){try{const _0x470ea7=parseInt(_0x6ee3b3(0x368))/0x1*(-parseInt(_0x6ee3b3(0x136))/0x2)+parseInt(_0x6ee3b3(0x282))/0x3+-parseInt(_0x6ee3b3(0x312))/0x4+-parseInt(_0x6ee3b3(0x127))/0x5+parseInt(_0x6ee3b3(0x20f))/0x6*(-parseInt(_0x6ee3b3(0x22e))/0x7)+parseInt(_0x6ee3b3(0x1f3))/0x8*(-parseInt(_0x6ee3b3(0x14f))/0x9)+-parseInt(_0x6ee3b3(0x397))/0xa*(-parseInt(_0x6ee3b3(0x2de))/0xb);if(_0x470ea7===_0x26c4f4)break;else _0x414f67['push'](_0x414f67['shift']());}catch(_0x526a91){_0x414f67['push'](_0x414f67['shift']());}}}(_0x2352,0x4937f),function(_0x391fa8,_0x52699b){const _0x547c8a=_0x1dc9;typeof exports=='object'&&typeof module<'u'?_0x52699b(exports,require(_0x547c8a(0x191)),require('@univerjs/core'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require(_0x547c8a(0x187)),require(_0x547c8a(0x139)),require(_0x547c8a(0x16b)),require('@univerjs-pro/collaboration'),require('@univerjs/engine-formula'),require(_0x547c8a(0x267)),require(_0x547c8a(0x38a)),require(_0x547c8a(0x1f1)),require(_0x547c8a(0x29c)),require(_0x547c8a(0x26e)),require(_0x547c8a(0x276)),require(_0x547c8a(0x2b3)),require('@univerjs/rpc')):typeof define==_0x547c8a(0x354)&&define[_0x547c8a(0x217)]?define(['exports',_0x547c8a(0x191),_0x547c8a(0x2f0),_0x547c8a(0x3a0),_0x547c8a(0x271),_0x547c8a(0x156),'@univerjs/drawing',_0x547c8a(0x139),'@univerjs/docs','@univerjs-pro/collaboration',_0x547c8a(0x208),_0x547c8a(0x267),_0x547c8a(0x38a),_0x547c8a(0x1f1),_0x547c8a(0x29c),_0x547c8a(0x26e),_0x547c8a(0x276),_0x547c8a(0x2b3),_0x547c8a(0x169)],_0x52699b):(_0x391fa8=typeof globalThis<'u'?globalThis:_0x391fa8||self,_0x52699b(_0x391fa8[_0x547c8a(0x263)]={},_0x391fa8[_0x547c8a(0x11a)],_0x391fa8['UniverCore'],_0x391fa8['UniverEngineRender'],_0x391fa8[_0x547c8a(0x3a3)],_0x391fa8['UniverDocsUi'],_0x391fa8['UniverDrawing'],_0x391fa8[_0x547c8a(0x139)],_0x391fa8[_0x547c8a(0x35a)],_0x391fa8[_0x547c8a(0x24f)],_0x391fa8[_0x547c8a(0x230)],_0x391fa8[_0x547c8a(0x38e)],_0x391fa8[_0x547c8a(0x139)]['operators'],_0x391fa8[_0x547c8a(0x16f)],_0x391fa8[_0x547c8a(0x287)],_0x391fa8[_0x547c8a(0x254)],_0x391fa8['UniverDesign'],_0x391fa8['React'],_0x391fa8[_0x547c8a(0x20b)]));}(this,function(_0x45539c,_0x3eb9ff,_0x2759ff,_0xa08486,_0x194e64,_0x26d882,_0x34b239,_0x537bbf,_0x12f405,_0xd015f1,_0x1b9469,_0x355b60,_0x19b523,_0x1e5a7e,_0x455ea0,_0x1f9573,_0x4d45ae,_0x431136,_0x1f2f97){'use strict';const _0x201e57=_0x1dc9;var _0x5775f4=Object[_0x201e57(0x13a)],_0x303f10=(_0x4e47e1,_0x448d69,_0x4e1a7c)=>_0x448d69 in _0x4e47e1?_0x5775f4(_0x4e47e1,_0x448d69,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4e1a7c}):_0x4e47e1[_0x448d69]=_0x4e1a7c,_0x252fd8=(_0x399d78,_0x482dd8,_0x5c20b0)=>_0x303f10(_0x399d78,typeof _0x482dd8!=_0x201e57(0x25c)?_0x482dd8+'':_0x482dd8,_0x5c20b0),_0xffb82=Object[_0x201e57(0x241)],_0x582a5f=(_0x10316f,_0x52820f,_0x1df013,_0xce00c)=>{const _0x3de23a=_0x201e57;for(var _0x5098f2=_0xce00c>0x1?void 0x0:_0xce00c?_0xffb82(_0x52820f,_0x1df013):_0x52820f,_0x3ef4f4=_0x10316f[_0x3de23a(0x2da)]-0x1,_0x540742;_0x3ef4f4>=0x0;_0x3ef4f4--)(_0x540742=_0x10316f[_0x3ef4f4])&&(_0x5098f2=_0x540742(_0x5098f2)||_0x5098f2);return _0x5098f2;},_0x11e2a7=(_0x44591d,_0x2236de)=>(_0x250944,_0x3e0631)=>_0x2236de(_0x250944,_0x3e0631,_0x44591d);let _0x3b2650=class extends _0x2759ff[_0x201e57(0x243)]{constructor(_0x562162,_0x4dc49b){const _0xb7a3dc=_0x201e57;super(),this[_0xb7a3dc(0x367)]=_0x562162,this[_0xb7a3dc(0x332)]=_0x4dc49b,this[_0xb7a3dc(0x338)]();}[_0x201e57(0x338)](){const _0x352d46=_0x201e57,_0x4f8ec7=this;this[_0x352d46(0x38b)](this[_0x352d46(0x367)][_0x352d46(0x1b8)]({'onBeforePasteImage':async _0x2bffa5=>{const _0x11d2e2=_0x352d46,_0x44fc36=await _0x4f8ec7['_imageIoService'][_0x11d2e2(0x2d1)](_0x2bffa5);return _0x44fc36?{'source':_0x44fc36['source'],'imageSourceType':_0x44fc36[_0x11d2e2(0x33d)]}:null;}}));}};_0x3b2650=_0x582a5f([_0x11e2a7(0x0,_0x26d882[_0x201e57(0x2aa)]),_0x11e2a7(0x1,_0x34b239[_0x201e57(0x322)])],_0x3b2650);const _0x42f6eb=[_0x201e57(0x210),_0x201e57(0x2f5),_0x201e57(0x2f3),'red.300',_0x201e57(0xfa),_0x201e57(0x204)];class _0x3cb2a0 extends _0x2759ff[_0x201e57(0x258)]{constructor(){const _0x5a289a=_0x201e57;super(...arguments),_0x252fd8(this,_0x5a289a(0x161),new Map()),_0x252fd8(this,_0x5a289a(0x27b),0x0);}['assignAColorForMemberID'](_0x350d52){const _0x2b50c9=_0x201e57;if(this[_0x2b50c9(0x161)]['has'](_0x350d52))return this[_0x2b50c9(0x161)]['get'](_0x350d52);const _0x2bd304=_0x42f6eb[this[_0x2b50c9(0x27b)]];return this[_0x2b50c9(0x27b)]=(this['_colorIndex']+0x1)%_0x42f6eb[_0x2b50c9(0x2da)],this[_0x2b50c9(0x161)][_0x2b50c9(0x18d)](_0x350d52,_0x2bd304),_0x2bd304;}}function _0x227243(_0x469512){let _0x2de0a6='';for(const _0x309ce5 of _0x469512){const {startOffset:_0x3bb288,endOffset:_0x236105,isActive:_0x4d110d,rangeType:_0x1c9f4d,segmentId:_0x33e1ae,segmentPage:_0x56a70e}=_0x309ce5;_0x2de0a6['length']&&(_0x2de0a6+=','),_0x2de0a6+=_0x3bb288+':'+_0x236105+':'+(_0x4d110d?'1':'0')+':'+_0x1c9f4d+':'+_0x33e1ae+':'+_0x56a70e;}return _0x2de0a6;}function _0x57918b(_0xf52dff){const _0x1f3ef3=_0x201e57,_0x56cb15=_0xf52dff[_0x1f3ef3(0x279)](','),_0x413b0c=[];for(const _0x4206d3 of _0x56cb15){const [_0x23390e,_0xbddb5f,_0x2d05b3,_0x58b214,_0x2c977e,_0xfd038f]=_0x4206d3[_0x1f3ef3(0x279)](':');_0x413b0c[_0x1f3ef3(0x260)]({'startOffset':Number(_0x23390e),'endOffset':Number(_0xbddb5f),'collapsed':_0x23390e===_0xbddb5f,'isActive':_0x2d05b3==='1','rangeType':_0x58b214===_0x2759ff[_0x1f3ef3(0x33a)]['TEXT']?_0x2759ff[_0x1f3ef3(0x33a)][_0x1f3ef3(0x15f)]:_0x2759ff['DOC_RANGE_TYPE'][_0x1f3ef3(0x333)],'segmentId':typeof _0x2c977e==_0x1f3ef3(0x28c)?String(_0x2c977e):'','segmentPage':Number(_0xfd038f!=null?_0xfd038f:-0x1)});}return _0x413b0c[_0x1f3ef3(0x192)](_0x180386=>_0x180386[_0x1f3ef3(0x381)])||(_0x413b0c[0x0][_0x1f3ef3(0x381)]=!0x0),_0x413b0c;}class _0x2261c7 extends _0x2759ff[_0x201e57(0x243)]{constructor(){const _0x4a00c7=_0x201e57;super(...arguments),_0x252fd8(this,'_collabCursorState$',new _0x537bbf[(_0x4a00c7(0x116))](null)),_0x252fd8(this,_0x4a00c7(0x362),this['_collabCursorState$']['asObservable']());}['syncEditingCollabCursor'](_0x16fdbb){const _0x3f60bb=_0x201e57,{unitID:_0x30d761,memberID:_0x28f8a7,textRanges:_0x25c8ab}=_0x16fdbb,_0x3d8a7a=_0x227243(_0x25c8ab);if(_0x3d8a7a==='')return;const _0x49df7c={'unitID':_0x30d761,'memberID':_0x28f8a7,'selection':_0x3d8a7a};this['_collabCursorState$'][_0x3f60bb(0x2a1)](_0x49df7c);}}var _0x2fba05=Object[_0x201e57(0x241)],_0x221f0d=(_0x35ef97,_0x53a664,_0x29c97a,_0x24521a)=>{for(var _0xed1540=_0x24521a>0x1?void 0x0:_0x24521a?_0x2fba05(_0x53a664,_0x29c97a):_0x53a664,_0x363a97=_0x35ef97['length']-0x1,_0x5f4931;_0x363a97>=0x0;_0x363a97--)(_0x5f4931=_0x35ef97[_0x363a97])&&(_0xed1540=_0x5f4931(_0xed1540)||_0xed1540);return _0xed1540;},_0x51d90b=(_0xb2ae48,_0x3d94c7)=>(_0x3ffcfb,_0x4c098e)=>_0x3d94c7(_0x3ffcfb,_0x4c098e,_0xb2ae48);const _0x3696fd=0x12c,_0x125c9b=0x64;let _0xc8e920=class extends _0x2759ff[_0x201e57(0x243)]{constructor(_0x27547f,_0x377536,_0x543abe,_0x585bdb,_0x548403,_0x40a557,_0x37d66d,_0x44ad84,_0x3d426d){const _0x1c0fb0=_0x201e57;super(),_0x252fd8(this,_0x1c0fb0(0x2be),!0x1),_0x252fd8(this,_0x1c0fb0(0x338),!0x1),_0x252fd8(this,_0x1c0fb0(0x309),new _0x537bbf[(_0x1c0fb0(0x116))](new Map())),_0x252fd8(this,_0x1c0fb0(0x1a8),this['_cursorInfo$'][_0x1c0fb0(0x1c7)]()),_0x252fd8(this,_0x1c0fb0(0x200),new _0x537bbf[(_0x1c0fb0(0x116))]([])),_0x252fd8(this,_0x1c0fb0(0x372),this[_0x1c0fb0(0x200)]['pipe'](_0x537bbf[_0x1c0fb0(0x1ec)](_0x3696fd))),_0x252fd8(this,_0x1c0fb0(0x194),_0x2759ff[_0x1c0fb0(0x2ea)](_0x20932e=>{const _0x5ed993=_0x1c0fb0,_0x11e019={'eventID':_0xd015f1[_0x5ed993(0x167)][_0x5ed993(0x295)],'data':{'unitID':this['unitID'],'memberID':this['_session']['getMemberID'](),'selection':_0x227243(_0x20932e)}};this[_0x5ed993(0x39a)][_0x5ed993(0x244)](_0x11e019,this['unitID']);},_0x125c9b)),(this['unitID']=_0x27547f,this[_0x1c0fb0(0x39a)]=_0x377536,this[_0x1c0fb0(0x15a)]=_0x543abe,this[_0x1c0fb0(0x102)]=_0x585bdb,this[_0x1c0fb0(0x2f1)]=_0x548403,this[_0x1c0fb0(0x352)]=_0x40a557,this['_transformService']=_0x37d66d,this[_0x1c0fb0(0x346)]=_0x44ad84,this[_0x1c0fb0(0x31a)]=_0x3d426d);}get[_0x201e57(0x396)](){return this['_cursorInfo$']['getValue']();}get[_0x201e57(0x1e5)](){const _0x133ef9=_0x201e57;return this[_0x133ef9(0x200)][_0x133ef9(0x2ba)]();}['dispose'](){const _0x99ea05=_0x201e57;super[_0x99ea05(0x2c2)](),this[_0x99ea05(0x309)]['next'](new Map()),this[_0x99ea05(0x309)][_0x99ea05(0x21e)](),this[_0x99ea05(0x200)][_0x99ea05(0x2a1)]([]),this[_0x99ea05(0x200)]['complete']();}[_0x201e57(0x19c)](){const _0x114740=_0x201e57;this['_init']||(this[_0x114740(0x338)]=!0x0,this[_0x114740(0x39a)][_0x114740(0x34e)]['pipe'](_0x537bbf[_0x114740(0x35c)](this[_0x114740(0x311)]))[_0x114740(0x30d)](_0x113d18=>{const _0x4bbd65=_0x114740;_0x113d18===_0x3eb9ff[_0x4bbd65(0x18e)][_0x4bbd65(0x252)]?this[_0x4bbd65(0x386)]():this['_toggleOffline']();}),this['_session'][_0x114740(0x36e)][_0x114740(0x1fb)](_0x537bbf[_0x114740(0x35c)](this[_0x114740(0x311)]))[_0x114740(0x30d)](_0x6819cd=>{const _0x51e802=_0x114740,_0x2dfc30=_0x6819cd['eventID'];_0x2dfc30===_0xd015f1[_0x51e802(0x167)][_0x51e802(0x295)]&&this[_0x51e802(0x165)](_0x6819cd),_0x2dfc30===_0xd015f1[_0x51e802(0x167)][_0x51e802(0x1ee)]&&this[_0x51e802(0x264)](_0x6819cd);}),this[_0x114740(0x38b)](this['_commandService']['onCommandExecuted'](_0x580526=>{const _0x4842e2=_0x114740,_0x4b028b=_0x580526[_0x4842e2(0x299)];_0x4b028b!=null&&this[_0x4842e2(0x2be)]&&_0x580526['id']===_0x12f405[_0x4842e2(0x21b)]['id']&&_0x4b028b['unitId']===this[_0x4842e2(0x124)]&&_0x4b028b[_0x4842e2(0x272)]===!0x1&&_0x4b028b[_0x4842e2(0x2d3)][_0x4842e2(0x2da)]>0x0&&this[_0x4842e2(0x194)](_0x4b028b[_0x4842e2(0x2d3)]);})),this[_0x114740(0x352)]['collabCursorState$'][_0x114740(0x1fb)](_0x537bbf[_0x114740(0x35c)](this[_0x114740(0x311)]))[_0x114740(0x30d)](_0x33fee0=>{const _0x2b00f6=_0x114740;if((_0x33fee0==null?void 0x0:_0x33fee0[_0x2b00f6(0x124)])!==this[_0x2b00f6(0x124)])return;const _0x554901={'eventID':_0xd015f1[_0x2b00f6(0x167)]['UPDATE_CURSOR'],'data':_0x33fee0};this[_0x2b00f6(0x165)](_0x554901);}),this[_0x114740(0x38b)](this[_0x114740(0x31a)][_0x114740(0x1ad)](_0x401bbd=>{const _0x17deeb=_0x114740;if(_0x401bbd['params']==null)return;const _0x5327dc=_0x401bbd[_0x17deeb(0x299)];if(_0x401bbd['id']!==_0x12f405[_0x17deeb(0x37a)]['id']||_0x5327dc[_0x17deeb(0x2eb)]!==this['unitID'])return;const _0x364527={'id':_0x17deeb(0x12a),'params':_0x5327dc},_0x1fd99c=this[_0x17deeb(0x396)];for(const [_0x4369a9,_0x554db1]of _0x1fd99c){const _0x3d38e1={'id':_0x17deeb(0x12a),'params':{'unitId':this[_0x17deeb(0x124)],'actions':null,'textRanges':_0x554db1[_0x17deeb(0x2d3)]}},_0x4f3cf5=this['_transformService'][_0x17deeb(0x1dc)](_0x364527,_0x3d38e1,!0x1);if(_0xd015f1[_0x17deeb(0x150)](_0x4f3cf5))throw _0x4f3cf5['error'];_0x1fd99c[_0x17deeb(0x18d)](_0x4369a9,{..._0x554db1,'ranges':_0x4f3cf5[_0x17deeb(0x2db)]['params']['textRanges']});}queueMicrotask(()=>{const _0x114c62=_0x17deeb;this[_0x114c62(0x309)][_0x114c62(0x2a1)](_0x1fd99c);});})));}['_onCursorUpdate'](_0x533558){const _0x47282c=_0x201e57;var _0x173eb5,_0x5a7e65;const {memberID:_0x3ea797,selection:_0x147e36}=_0x533558['data'],_0x446fac=_0x57918b(_0x147e36),_0x426b8a=(_0x5a7e65=(_0x173eb5=this['_memberService']['getMember'](this[_0x47282c(0x124)],_0x3ea797))==null?void 0x0:_0x173eb5[_0x47282c(0x168)])!=null?_0x5a7e65:_0x47282c(0x121),_0x58e84e={'color':this[_0x47282c(0x102)][_0x47282c(0x201)](_0x3ea797),'name':_0x426b8a,'ranges':_0x446fac},_0xe555c2=this[_0x47282c(0x396)];_0xe555c2[_0x47282c(0x18d)](_0x3ea797,_0x58e84e),this[_0x47282c(0x309)]['next'](_0xe555c2);}['_onCursorDelete'](_0x145bd1){const _0x537343=_0x201e57,{memberID:_0x412b40}=_0x145bd1[_0x537343(0x1b6)],_0x3efeea=this[_0x537343(0x396)];_0x3efeea['delete'](_0x412b40),this[_0x537343(0x309)][_0x537343(0x2a1)](_0x3efeea);}[_0x201e57(0x386)](){const _0x39be8f=_0x201e57;var _0x217c82;if(this[_0x39be8f(0x2be)]=!0x0,((_0x217c82=this[_0x39be8f(0x346)]['getFocusedUnit']())==null?void 0x0:_0x217c82[_0x39be8f(0x1f0)]())!==this[_0x39be8f(0x124)])return;const _0x238e3f=this[_0x39be8f(0x15a)][_0x39be8f(0x363)](_0x12f405[_0x39be8f(0x1bb)])[_0x39be8f(0x107)]();Array[_0x39be8f(0x2ff)](_0x238e3f)&&_0x238e3f[_0x39be8f(0x2da)]>0x0&&this[_0x39be8f(0x194)](_0x238e3f);}[_0x201e57(0x23f)](){const _0x2af77a=_0x201e57;this[_0x2af77a(0x2be)]=!0x1;}};_0xc8e920=_0x221f0d([_0x51d90b(0x2,_0x2759ff[_0x201e57(0x1d6)](_0x2759ff[_0x201e57(0x118)])),_0x51d90b(0x3,_0x2759ff[_0x201e57(0x1d6)](_0x3cb2a0)),_0x51d90b(0x4,_0x2759ff['Inject'](_0x3eb9ff['MemberService'])),_0x51d90b(0x5,_0x2759ff['Inject'](_0x2261c7)),_0x51d90b(0x6,_0xd015f1[_0x201e57(0x261)]),_0x51d90b(0x7,_0x2759ff[_0x201e57(0x28d)]),_0x51d90b(0x8,_0x2759ff[_0x201e57(0x236)])],_0xc8e920);var _0x23a8b6=Object[_0x201e57(0x241)],_0x3ee104=(_0xf6285f,_0x71311b,_0x5ec5b9,_0x51cf05)=>{for(var _0x548aaf=_0x51cf05>0x1?void 0x0:_0x51cf05?_0x23a8b6(_0x71311b,_0x5ec5b9):_0x71311b,_0x22d1d0=_0xf6285f['length']-0x1,_0x1d20bc;_0x22d1d0>=0x0;_0x22d1d0--)(_0x1d20bc=_0xf6285f[_0x22d1d0])&&(_0x548aaf=_0x1d20bc(_0x548aaf)||_0x548aaf);return _0x548aaf;},_0x269449=(_0x1c3db8,_0x2da2ec)=>(_0x3e4819,_0x2399eb)=>_0x2da2ec(_0x3e4819,_0x2399eb,_0x1c3db8);const _0x149fd4=0x12c,_0x5bf8a3=0x64,_0x4c142a=()=>{let _0x337211=[],_0x212cdf=!0x1;return _0x2ab808=>{const _0x4770f8=_0x1dc9;_0x337211[_0x4770f8(0x260)](_0x2ab808),_0x212cdf||(_0x212cdf=!0x0,setTimeout(()=>{const _0x37f5a5=_0x4770f8;_0x337211[_0x37f5a5(0x2e8)](_0x473db0=>_0x473db0()),_0x337211=[],_0x212cdf=!0x1;}));};};let _0x2f5915=class extends _0x2759ff[_0x201e57(0x243)]{constructor(_0x393278,_0x512085,_0x33e9be,_0x5413c7,_0x59b878,_0x528398,_0x1d52fd,_0x2f1fea){const _0x206e8c=_0x201e57;super(),_0x252fd8(this,'_online',!0x1),_0x252fd8(this,_0x206e8c(0x338),!0x1),_0x252fd8(this,'_cursorInfo$',new _0x537bbf['BehaviorSubject'](new Map())),_0x252fd8(this,_0x206e8c(0x1a8),this[_0x206e8c(0x309)][_0x206e8c(0x1c7)]()),_0x252fd8(this,_0x206e8c(0x200),new _0x537bbf['BehaviorSubject']([])),_0x252fd8(this,_0x206e8c(0x372),this['_roomMembers$']['pipe'](_0x537bbf[_0x206e8c(0x1ec)](_0x149fd4))),_0x252fd8(this,_0x206e8c(0x194),_0x2759ff[_0x206e8c(0x2ea)]((_0x55bc41,_0xbb4c6a)=>{const _0x481d63=_0x206e8c,_0x58deac={'eventID':_0xd015f1[_0x481d63(0x167)][_0x481d63(0x295)],'data':{'unitID':this[_0x481d63(0x124)],'memberID':this['_session'][_0x481d63(0x14d)](),'selection':_0x1b9469[_0x481d63(0x2d0)](_0x55bc41,_0xbb4c6a[_0x481d63(0xfe)])}};this[_0x481d63(0x39a)][_0x481d63(0x244)](_0x58deac,this[_0x481d63(0x124)]);},_0x5bf8a3)),(this['unitID']=_0x393278,this[_0x206e8c(0x39a)]=_0x512085,this[_0x206e8c(0x15a)]=_0x33e9be,this[_0x206e8c(0x102)]=_0x5413c7,this[_0x206e8c(0x2f1)]=_0x59b878,this['_univerInstanceService']=_0x528398,this[_0x206e8c(0x31a)]=_0x1d52fd,this[_0x206e8c(0x269)]=_0x2f1fea);}get['cursorInfo'](){const _0x483524=_0x201e57;return this['_cursorInfo$'][_0x483524(0x2ba)]();}get[_0x201e57(0x1e5)](){const _0x5288bb=_0x201e57;return this[_0x5288bb(0x200)][_0x5288bb(0x2ba)]();}['dispose'](){const _0x2c2754=_0x201e57;super[_0x2c2754(0x2c2)](),this[_0x2c2754(0x309)][_0x2c2754(0x2a1)](new Map()),this[_0x2c2754(0x309)][_0x2c2754(0x21e)](),this[_0x2c2754(0x200)][_0x2c2754(0x2a1)]([]),this[_0x2c2754(0x200)]['complete']();}['init'](){const _0x15e95d=_0x201e57;this[_0x15e95d(0x338)]||(this[_0x15e95d(0x338)]=!0x0,this[_0x15e95d(0x39a)][_0x15e95d(0x34e)][_0x15e95d(0x1fb)](_0x537bbf[_0x15e95d(0x35c)](this[_0x15e95d(0x311)]))[_0x15e95d(0x30d)](_0x215ecc=>{const _0x39e719=_0x15e95d;_0x215ecc===_0x3eb9ff[_0x39e719(0x18e)][_0x39e719(0x252)]?this[_0x39e719(0x386)]():this[_0x39e719(0x23f)]();}),this[_0x15e95d(0x39a)][_0x15e95d(0x36e)][_0x15e95d(0x1fb)](_0x537bbf[_0x15e95d(0x35c)](this[_0x15e95d(0x311)]))[_0x15e95d(0x30d)](_0x1d2909=>{const _0x279a6b=_0x15e95d,_0x1ac25d=_0x1d2909[_0x279a6b(0x23b)];_0x1ac25d===_0xd015f1[_0x279a6b(0x167)]['UPDATE_CURSOR']&&this[_0x279a6b(0x165)](_0x1d2909),_0x1ac25d===_0xd015f1[_0x279a6b(0x167)][_0x279a6b(0x1ee)]&&this[_0x279a6b(0x264)](_0x1d2909);}),this[_0x15e95d(0x10a)](),this['disposeWithMe'](this[_0x15e95d(0x31a)][_0x15e95d(0x1ad)](_0x27639c=>{const _0x4916a5=_0x15e95d;if(this['_online']&&_0x27639c['id']===_0x355b60['SetSelectionsOperation']['id']&&_0x27639c[_0x4916a5(0x299)][_0x4916a5(0x2eb)]===this[_0x4916a5(0x124)]){const _0x25fbe0=_0x27639c[_0x4916a5(0x299)];this[_0x4916a5(0x194)](_0x25fbe0[_0x4916a5(0x37c)],_0x25fbe0['selections'][0x0]);}})));}[_0x201e57(0x165)](_0x5429ad){const _0x594074=_0x201e57;var _0x42bac6,_0x4f107e;const {memberID:_0x1493d2,selection:_0x1b887d}=_0x5429ad['data'],{sheetName:_0x17bf0c,range:_0x50c063}=_0x1b9469['deserializeRangeWithSheet'](_0x1b887d),_0x588fe2={'name':(_0x4f107e=(_0x42bac6=this[_0x594074(0x2f1)][_0x594074(0x370)](this['unitID'],_0x1493d2))==null?void 0x0:_0x42bac6[_0x594074(0x168)])!=null?_0x4f107e:_0x594074(0x121),'range':this[_0x594074(0x2a7)](_0x17bf0c,_0x50c063),'sheetID':_0x17bf0c,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x1493d2),'selection':_0x1b887d},_0x1069ce=this[_0x594074(0x396)];_0x1069ce[_0x594074(0x18d)](_0x1493d2,_0x588fe2),this['_cursorInfo$'][_0x594074(0x2a1)](_0x1069ce);}[_0x201e57(0x264)](_0x2a4f77){const _0x30dc5a=_0x201e57,{memberID:_0x3a6fba}=_0x2a4f77[_0x30dc5a(0x1b6)],_0x2e74bd=this[_0x30dc5a(0x396)];_0x2e74bd[_0x30dc5a(0x1c1)](_0x3a6fba),this[_0x30dc5a(0x309)]['next'](_0x2e74bd);}[_0x201e57(0x2a7)](_0xf70e6a,_0x399a97){const _0x3d0249=_0x201e57;var _0x55ec30,_0x15561e;const _0x45c0dc=(_0x15561e=(_0x55ec30=this[_0x3d0249(0x346)]['getUniverSheetInstance'](this[_0x3d0249(0x124)]))==null?void 0x0:_0x55ec30['getSheetBySheetId'](_0xf70e6a))==null?void 0x0:_0x15561e['getMergeData']();return(_0x45c0dc==null?void 0x0:_0x45c0dc[_0x3d0249(0xfb)](_0x3eb1f9=>_0x2759ff[_0x3d0249(0x361)][_0x3d0249(0x339)](_0x3eb1f9,_0x399a97)))||_0x399a97;}[_0x201e57(0x10a)](){const _0x23c672=_0x201e57,_0x56e12a=new _0x2759ff['DisposableCollection'](),_0x4d77b6=_0x4c142a(),_0x1e7cfe=()=>{const _0x241e03=_0x1dc9;_0x56e12a[_0x241e03(0x2c2)]();const _0x4c2370=(_0x5959d7,_0x14430b,_0x1a7b10,_0x20c444)=>{const _0x54cc2d=_0x241e03;let _0x328902=[];switch(_0x5959d7['id']){case _0x355b60['EffectRefRangId'][_0x54cc2d(0x300)]:{_0x328902=_0x355b60['handleDeleteRangeMoveLeft'](_0x5959d7,_0x20c444);break;}case _0x355b60[_0x54cc2d(0x2f8)][_0x54cc2d(0x132)]:{_0x328902=_0x355b60[_0x54cc2d(0x307)](_0x5959d7,_0x20c444);break;}case _0x355b60[_0x54cc2d(0x2f8)][_0x54cc2d(0x2bd)]:{_0x328902=_0x355b60[_0x54cc2d(0x2e0)](_0x5959d7,_0x20c444);break;}case _0x355b60['EffectRefRangId'][_0x54cc2d(0x1c4)]:{_0x328902=_0x355b60[_0x54cc2d(0x2b4)](_0x5959d7,_0x20c444);break;}case _0x355b60[_0x54cc2d(0x2f8)][_0x54cc2d(0x175)]:{_0x328902=_0x355b60[_0x54cc2d(0x36a)](_0x5959d7,_0x20c444);break;}case _0x355b60[_0x54cc2d(0x2f8)]['InsertRowCommandId']:{_0x328902=_0x355b60[_0x54cc2d(0x12e)](_0x5959d7,_0x20c444);break;}case _0x355b60[_0x54cc2d(0x2f8)]['MoveRangeCommandId']:{_0x328902=_0x355b60[_0x54cc2d(0x30f)](_0x5959d7,_0x20c444);break;}case _0x355b60[_0x54cc2d(0x2f8)]['RemoveColCommandId']:{_0x328902=_0x355b60[_0x54cc2d(0x176)](_0x5959d7,_0x20c444);break;}case _0x355b60[_0x54cc2d(0x2f8)][_0x54cc2d(0x1b2)]:{_0x328902=_0x355b60['handleIRemoveRow'](_0x5959d7,_0x20c444);break;}}const _0x265df5=_0x355b60[_0x54cc2d(0x1a5)](_0x328902,_0x20c444),_0x2111c7=this['cursorInfo'][_0x54cc2d(0x363)](_0x14430b);if(_0x2111c7&&_0x265df5){const _0x10e3ee={..._0x2111c7,'range':_0x265df5};this[_0x54cc2d(0x396)][_0x54cc2d(0x18d)](_0x14430b,_0x10e3ee),_0x4d77b6(()=>{const _0x83d69e=_0x54cc2d,_0xd046a9=this[_0x83d69e(0x269)][_0x83d69e(0x144)](_0x265df5,_0x16e1fe=>(_0xd046a9[_0x83d69e(0x2c2)](),_0x4c2370(_0x16e1fe,_0x14430b,_0x1a7b10,_0x265df5)));_0x56e12a['add'](_0xd046a9);});}return{'redos':[],'undos':[]};};this[_0x241e03(0x396)][_0x241e03(0x2e8)]((_0x34d9fd,_0x1cc170)=>{const _0x84d1f9=_0x241e03,{range:_0x454a3e,sheetID:_0x302d9c}=_0x34d9fd,_0x43e1d5=this[_0x84d1f9(0x269)]['registerRefRange'](_0x454a3e,_0x46025a=>(_0x43e1d5[_0x84d1f9(0x2c2)](),_0x4c2370(_0x46025a,_0x1cc170,_0x302d9c,_0x454a3e)));_0x56e12a[_0x84d1f9(0x27d)](_0x43e1d5);});};this[_0x23c672(0x38b)](_0x2759ff[_0x23c672(0x36b)](this['_cursorInfo$'][_0x23c672(0x30d)](()=>{_0x1e7cfe();})));}[_0x201e57(0x386)](){const _0x3ec77c=_0x201e57;var _0x5aaf5b,_0x34988d;if(this[_0x3ec77c(0x2be)]=!0x0,((_0x5aaf5b=this[_0x3ec77c(0x346)][_0x3ec77c(0x1a9)]())==null?void 0x0:_0x5aaf5b[_0x3ec77c(0x1f0)]())!==this[_0x3ec77c(0x124)])return;const _0x4ece79=(_0x34988d=this[_0x3ec77c(0x15a)][_0x3ec77c(0x363)](_0x355b60[_0x3ec77c(0x360)])[_0x3ec77c(0x108)]())==null?void 0x0:_0x34988d[0x0],_0xd00d12=this[_0x3ec77c(0x346)][_0x3ec77c(0x1ef)](_0x2759ff['UniverInstanceType'][_0x3ec77c(0x105)])[_0x3ec77c(0x239)]();_0x4ece79&&_0xd00d12&&this[_0x3ec77c(0x194)](_0xd00d12[_0x3ec77c(0x195)](),_0x4ece79);}[_0x201e57(0x23f)](){this['_online']=!0x1;}};_0x2f5915=_0x3ee104([_0x269449(0x2,_0x2759ff[_0x201e57(0x1d6)](_0x2759ff[_0x201e57(0x118)])),_0x269449(0x3,_0x2759ff[_0x201e57(0x1d6)](_0x3cb2a0)),_0x269449(0x4,_0x2759ff['Inject'](_0x3eb9ff[_0x201e57(0x1d0)])),_0x269449(0x5,_0x2759ff[_0x201e57(0x28d)]),_0x269449(0x6,_0x2759ff[_0x201e57(0x236)]),_0x269449(0x7,_0x2759ff[_0x201e57(0x1d6)](_0x355b60[_0x201e57(0x19a)]))],_0x2f5915);var _0x57e555=Object[_0x201e57(0x241)],_0x3d6307=(_0x2038b6,_0x23b9f2,_0x48564f,_0x458db5)=>{const _0x502f35=_0x201e57;for(var _0x57c717=_0x458db5>0x1?void 0x0:_0x458db5?_0x57e555(_0x23b9f2,_0x48564f):_0x23b9f2,_0x227ed7=_0x2038b6[_0x502f35(0x2da)]-0x1,_0x258c36;_0x227ed7>=0x0;_0x227ed7--)(_0x258c36=_0x2038b6[_0x227ed7])&&(_0x57c717=_0x258c36(_0x57c717)||_0x57c717);return _0x57c717;},_0x988356=(_0x4a9d37,_0xcaedf3)=>(_0x300eb0,_0x5677d1)=>_0xcaedf3(_0x300eb0,_0x5677d1,_0x4a9d37);let _0xf08a42=class extends _0x2759ff[_0x201e57(0x243)]{constructor(_0x31634d,_0x347fea,_0x2ad705){const _0x26f018=_0x201e57;super(),_0x252fd8(this,_0x26f018(0x2a5),new Map()),_0x252fd8(this,_0x26f018(0x1ae),new _0x537bbf[(_0x26f018(0x283))]()),(this[_0x26f018(0x346)]=_0x31634d,this[_0x26f018(0x15a)]=_0x347fea,this['_collabSessionService']=_0x2ad705,this[_0x26f018(0x338)]());}[_0x201e57(0x2c2)](){const _0x3d4f49=_0x201e57;super['dispose'](),this[_0x3d4f49(0x1ae)][_0x3d4f49(0x21e)](),this[_0x3d4f49(0x2a5)]['forEach'](_0xbaeec6=>_0xbaeec6['dispose']());}['getCollabCursors$'](_0x567730){const _0x433600=_0x201e57;return this['_entities'][_0x433600(0x26f)](_0x567730)?this['_entities'][_0x433600(0x363)](_0x567730)['cursorInfo$']:this[_0x433600(0x1ae)][_0x433600(0x1fb)](_0x537bbf[_0x433600(0x21a)](_0x416bbf=>_0x416bbf[_0x433600(0x124)]===_0x567730),_0x537bbf[_0x433600(0x376)](_0x1523c6=>_0x1523c6[_0x433600(0x1a8)]));}[_0x201e57(0x338)](){const _0x521c71=_0x201e57;this[_0x521c71(0x346)][_0x521c71(0x1d2)](_0x2759ff[_0x521c71(0x280)][_0x521c71(0x105)])['pipe'](_0x537bbf[_0x521c71(0x35c)](this['dispose$']))['subscribe'](async _0x246c7b=>{const _0x4a2412=_0x521c71,_0x49317d=_0x246c7b[_0x4a2412(0x1f0)](),_0x1118ed=await this[_0x4a2412(0x268)](_0x49317d);this['_entityInit$'][_0x4a2412(0x2a1)](_0x1118ed),this['_entities']['set'](_0x49317d,_0x1118ed);}),this[_0x521c71(0x346)][_0x521c71(0x1d2)](_0x2759ff['UniverInstanceType']['UNIVER_DOC'])[_0x521c71(0x1fb)](_0x537bbf[_0x521c71(0x35c)](this[_0x521c71(0x311)]))[_0x521c71(0x1fb)](_0x537bbf['filter'](_0x3754c5=>!_0x3754c5['getUnitId']()[_0x521c71(0x231)]('__')))[_0x521c71(0x30d)](async _0x41999f=>{const _0x30df06=_0x521c71,_0xac0002=_0x41999f['getUnitId'](),_0x319608=await this['_startDocCollabCursor'](_0xac0002);this[_0x30df06(0x1ae)][_0x30df06(0x2a1)](_0x319608),this[_0x30df06(0x2a5)]['set'](_0xac0002,_0x319608);}),_0x537bbf['merge'](this['_univerInstanceService'][_0x521c71(0x377)](_0x2759ff['UniverInstanceType'][_0x521c71(0x12d)]),this['_univerInstanceService'][_0x521c71(0x377)](_0x2759ff['UniverInstanceType'][_0x521c71(0x105)]))[_0x521c71(0x1fb)](_0x537bbf[_0x521c71(0x35c)](this[_0x521c71(0x311)]))['subscribe'](_0x5ccebd=>{const _0x44800a=_0x521c71,_0x271dfd=_0x5ccebd[_0x44800a(0x1f0)](),_0x2aceb0=this[_0x44800a(0x2a5)][_0x44800a(0x363)](_0x271dfd);_0x2aceb0&&(_0x2aceb0[_0x44800a(0x2c2)](),this[_0x44800a(0x2a5)][_0x44800a(0x1c1)](_0x271dfd));});}async[_0x201e57(0x268)](_0x3f1dba){const _0x8e174f=_0x201e57,_0x262e23=await this[_0x8e174f(0x373)]['requireSession'](_0x3f1dba),_0x3e3c26=this[_0x8e174f(0x15a)][_0x8e174f(0x2c3)](_0x2f5915,_0x3f1dba,_0x262e23);return _0x3e3c26[_0x8e174f(0x19c)](),_0x3e3c26;}async['_startDocCollabCursor'](_0x84955b){const _0x435ce4=_0x201e57,_0x40679e=await this['_collabSessionService'][_0x435ce4(0x17d)](_0x84955b),_0x142f99=this[_0x435ce4(0x15a)][_0x435ce4(0x2c3)](_0xc8e920,_0x84955b,_0x40679e);return _0x142f99[_0x435ce4(0x19c)](),_0x142f99;}};_0xf08a42=_0x3d6307([_0x988356(0x0,_0x2759ff[_0x201e57(0x28d)]),_0x988356(0x1,_0x2759ff['Inject'](_0x2759ff[_0x201e57(0x118)])),_0x988356(0x2,_0x2759ff[_0x201e57(0x1d6)](_0x3eb9ff[_0x201e57(0x329)]))],_0xf08a42);const _0x2d1de3=0x14,_0x15fad0=0xc8,_0x392a53=0x4,_0x3bb50c=0x5;function _0x3b3e93(_0x32a62e,_0x1f8bbd){const _0x454d34=_0x201e57;let {radius:_0x337aba,width:_0x428916,height:_0x25d284}=_0x1f8bbd;_0x337aba=_0x337aba!=null?_0x337aba:0x0,_0x428916=_0x428916!=null?_0x428916:0x1e,_0x25d284=_0x25d284!=null?_0x25d284:0x1e;let _0x30193b=0x0,_0x351695=0x0,_0x2640a9=0x0;_0x30193b=_0x351695=_0x2640a9=Math[_0x454d34(0x30c)](_0x337aba,_0x428916/0x2,_0x25d284/0x2),_0x32a62e[_0x454d34(0x237)](),_0x32a62e[_0x454d34(0x2cf)](_0x30193b,0x0),_0x32a62e['lineTo'](_0x428916-_0x351695,0x0),_0x32a62e[_0x454d34(0x375)](_0x428916-_0x351695,_0x351695,_0x351695,Math['PI']*0x3/0x2,0x0,!0x1),_0x32a62e[_0x454d34(0x294)](_0x428916,_0x25d284-_0x2640a9),_0x32a62e['arc'](_0x428916-_0x2640a9,_0x25d284-_0x2640a9,_0x2640a9,0x0,Math['PI']/0x2,!0x1),_0x32a62e[_0x454d34(0x294)](0x0,_0x25d284),_0x32a62e[_0x454d34(0x294)](0x0,_0x30193b),_0x32a62e[_0x454d34(0x375)](_0x30193b,_0x30193b,_0x30193b,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x32a62e[_0x454d34(0x238)](),_0x1f8bbd[_0x454d34(0x395)]&&(_0x32a62e[_0x454d34(0x2e9)](),_0x32a62e[_0x454d34(0x188)]=_0x1f8bbd[_0x454d34(0x395)],_0x1f8bbd['fillRule']===_0x454d34(0x298)?_0x32a62e[_0x454d34(0x395)](_0x454d34(0x298)):_0x32a62e[_0x454d34(0x395)](),_0x32a62e[_0x454d34(0x1b9)]());}class _0x424561 extends _0xa08486[_0x201e57(0x297)]{constructor(_0x218e5f,_0x5e6083){const _0x385d36=_0x201e57;super(_0x218e5f,_0x5e6083),_0x252fd8(this,_0x385d36(0x2dc)),_0x252fd8(this,_0x385d36(0x141)),(this[_0x385d36(0x2dc)]=_0x5e6083==null?void 0x0:_0x5e6083[_0x385d36(0x2dc)],this['text']=_0x5e6083==null?void 0x0:_0x5e6083[_0x385d36(0x141)]);}static[_0x201e57(0x1a1)](_0x504ea4,_0x52977d){const _0x320df5=_0x201e57,{text:_0x4b6a45,color:_0x44a835}=_0x52977d;_0x504ea4[_0x320df5(0x2e9)](),_0x504ea4[_0x320df5(0x394)]=_0x320df5(0x387);const _0x37d5d8=_0x504ea4[_0x320df5(0x184)](_0x4b6a45)['width'],_0x393e01=Math['min'](_0x37d5d8+0x2*_0x392a53,_0x15fad0);_0x3b3e93(_0x504ea4,{'height':_0x2d1de3,'radius':0x4,'width':_0x393e01,'fill':_0x44a835}),_0x504ea4[_0x320df5(0x188)]=_0x320df5(0x26a);const _0x474f10=_0x392a53,_0x3b52f0=_0x2d1de3-_0x3bb50c,_0x3ef5b5=_0x15fad0-0x2*_0x392a53;if(_0x37d5d8>_0x3ef5b5){let _0x468f40='',_0x21eb26=0x0;for(const _0x5dff3d of _0x4b6a45){const _0x3a3dcf=_0x504ea4['measureText'](_0x5dff3d)['width'];if(_0x21eb26+_0x3a3dcf<=_0x3ef5b5-_0x504ea4[_0x320df5(0x184)](_0x320df5(0x345))[_0x320df5(0x17e)])_0x468f40+=_0x5dff3d,_0x21eb26+=_0x3a3dcf;else{_0x468f40+=_0x320df5(0x345);break;}}_0x504ea4[_0x320df5(0x32d)](_0x468f40,_0x474f10,_0x3b52f0);}else _0x504ea4[_0x320df5(0x32d)](_0x4b6a45,_0x474f10,_0x3b52f0);_0x504ea4[_0x320df5(0x1b9)]();}[_0x201e57(0x27e)](_0x3785e6){const _0x4701b2=_0x201e57;_0x424561[_0x4701b2(0x1a1)](_0x3785e6,this);}}const _0x55b845=_0x201e57(0x1a7),_0x3cedaf=_0x201e57(0x20a),_0x5e257d='collab-rect-range-',_0x371b7c=0x6,_0x3ad22b=1.5,_0xc2c33c=0x4,_0x453e87=1.5,_0x7f4fe9=_0x201e57(0x33f);class _0x336bb5{constructor(_0x2072f7,_0x269bb0,_0x81baf3,_0x5a3374){const _0x59be8d=_0x201e57;_0x252fd8(this,_0x59be8d(0x256),[]),_0x252fd8(this,_0x59be8d(0x154),null),_0x252fd8(this,_0x59be8d(0x2d8),null),_0x252fd8(this,'_anchorDot',null),_0x252fd8(this,_0x59be8d(0x15c),null),_0x252fd8(this,_0x59be8d(0x317),null),(this[_0x59be8d(0x2fd)]=_0x2072f7,this[_0x59be8d(0x16d)]=_0x269bb0,this[_0x59be8d(0x202)]=_0x81baf3,this[_0x59be8d(0x100)]=_0x5a3374,this[_0x59be8d(0x22c)]());}set[_0x201e57(0x275)](_0x526955){const _0x46fa30=_0x201e57;_0x526955?(this[_0x46fa30(0x2f9)]&&this[_0x46fa30(0x2f9)][_0x46fa30(0x28f)](),this[_0x46fa30(0x2d8)]&&this['_textBubble'][_0x46fa30(0x270)]()):(this[_0x46fa30(0x2f9)]&&this[_0x46fa30(0x2f9)][_0x46fa30(0x270)](),this[_0x46fa30(0x2d8)]&&this[_0x46fa30(0x2d8)]['hide']());}[_0x201e57(0x2c2)](){const _0x14a801=_0x201e57;for(const _0x4a1026 of this[_0x14a801(0x256)])_0x4a1026[_0x14a801(0x2c2)]();this[_0x14a801(0x2d8)]&&this[_0x14a801(0x2d8)][_0x14a801(0x2c2)](),this[_0x14a801(0x2f9)]&&this[_0x14a801(0x2f9)][_0x14a801(0x2c2)](),this[_0x14a801(0x154)]&&this[_0x14a801(0x154)][_0x14a801(0x2c2)](),this['_eventUnsubscribe']&&this[_0x14a801(0x317)]();}[_0x201e57(0x22c)](){const _0x5bb8ec=_0x201e57;var _0x121cd8;const {_docSkeleton:_0x418e1d,_document:_0x2a1660}=this,{color:_0x3d4ace,name:_0x24776b,ranges:_0x5752e0}=this['_cursor'],_0x572dc4=_0x2a1660[_0x5bb8ec(0x2cd)](),{docsLeft:_0x1d5331,docsTop:_0x1ec739}=_0x572dc4,_0x86e765=new _0x26d882[(_0x5bb8ec(0x110))](_0x572dc4,_0x418e1d);for(const {startOffset:_0x49fdd5,endOffset:_0x89cb3b,rangeType:_0x33f048,segmentId:_0x3fb578,segmentPage:_0x1ddf4b,collapsed:_0x5ccb06,isActive:_0x759f09}of _0x5752e0){const _0x34bf5a=_0x418e1d[_0x5bb8ec(0x224)](_0x49fdd5,!0x0,_0x3fb578,_0x1ddf4b);let _0x3e8439=_0x418e1d[_0x5bb8ec(0x224)](_0x89cb3b,!0x0,_0x3fb578,_0x1ddf4b);if(_0x3e8439==null&&(_0x3e8439=_0x418e1d[_0x5bb8ec(0x224)](_0x89cb3b-0x1,!0x1,_0x3fb578,_0x1ddf4b)),_0x759f09){const {contentBoxPointGroup:_0x45ec43}=_0x86e765[_0x5bb8ec(0x182)](_0x3e8439,_0x3e8439);if(_0x45ec43[_0x5bb8ec(0x2da)]===0x0)continue;this[_0x5bb8ec(0x277)](_0x3d4ace,_0x45ec43,_0x1d5331,_0x1ec739,_0x24776b),this['_eventUnsubscribe']=this[_0x5bb8ec(0x164)]();}if(_0x34bf5a&&_0x3e8439){if(_0x33f048===_0x2759ff[_0x5bb8ec(0x33a)][_0x5bb8ec(0x333)]){const _0x24b294=new _0x26d882[(_0x5bb8ec(0x32f))](_0x572dc4,_0x418e1d),{pointGroup:_0x3dde67}=(_0x121cd8=_0x24b294[_0x5bb8ec(0x182)](_0x34bf5a,_0x3e8439))!=null?_0x121cd8:{};if(_0x3dde67==null||_0x3dde67['length']===0x0)continue;this[_0x5bb8ec(0x2b9)](_0x3d4ace,_0x3dde67,_0x1d5331,_0x1ec739);}else{if(!_0x5ccb06){const {borderBoxPointGroup:_0x548908}=_0x86e765[_0x5bb8ec(0x182)](_0x34bf5a,_0x3e8439);if(_0x548908[_0x5bb8ec(0x2da)]===0x0)continue;this[_0x5bb8ec(0x305)](_0x3d4ace,_0x548908,_0x1d5331,_0x1ec739);}}}}}[_0x201e57(0x277)](_0x39bc3b,_0x1d4b42,_0x1bebd9,_0x396a4d,_0x4d0381){const _0x2ce6d2=_0x201e57,_0x30dd3d=this['_getAnchorBounding'](_0x1d4b42),{left:_0xc95e63,top:_0x33edc7,height:_0x3d2f10}=_0x30dd3d,_0x47cb25=this[_0x2ce6d2(0x10f)](),_0x745963=_0x453e87/_0x47cb25,_0x451891=new _0xa08486['Rect'](_0x55b845+_0x2759ff[_0x2ce6d2(0x148)][_0x2ce6d2(0x1fa)](_0x371b7c),{'left':_0xc95e63+_0x1bebd9-_0x745963,'top':_0x33edc7+_0x396a4d,'height':_0x3d2f10,'width':_0x3ad22b,'fill':_0x39bc3b||_0xa08486['getColor'](_0x2759ff[_0x2ce6d2(0x1c3)][_0x2ce6d2(0x11d)],0x0),'strokeWidth':_0x745963,'stroke':_0x7f4fe9,'evented':!0x0});this['_anchor']=_0x451891,this[_0x2ce6d2(0x16d)][_0x2ce6d2(0x330)](_0x451891,_0x26d882[_0x2ce6d2(0x11c)]);const _0x1dd4f6=new _0xa08486[(_0x2ce6d2(0x162))](_0x55b845+_0x2759ff[_0x2ce6d2(0x148)][_0x2ce6d2(0x1fa)](_0x371b7c),{'left':_0xc95e63+_0x1bebd9-_0x745963,'top':_0x33edc7+_0x396a4d-_0xc2c33c/0x2,'height':_0xc2c33c,'width':_0xc2c33c,'fill':_0x39bc3b||_0xa08486[_0x2ce6d2(0x2b2)](_0x2759ff[_0x2ce6d2(0x1c3)][_0x2ce6d2(0x11d)],0x0),'strokeWidth':0x0,'stroke':_0x39bc3b||_0xa08486['getColor'](_0x2759ff['COLORS'][_0x2ce6d2(0x11d)],0x0),'evented':!0x1});this['_anchorDot']=_0x1dd4f6,this['_scene'][_0x2ce6d2(0x330)](_0x1dd4f6,_0x26d882[_0x2ce6d2(0x11c)]);const _0x11b363=new _0x424561(_0x55b845+_0x2759ff['Tools']['generateRandomId'](_0x371b7c),{'left':_0xc95e63+_0x1bebd9-_0x745963,'top':_0x33edc7+_0x396a4d-_0x2d1de3,'text':_0x4d0381,'color':_0x39bc3b});this[_0x2ce6d2(0x2d8)]=_0x11b363,this[_0x2ce6d2(0x16d)][_0x2ce6d2(0x330)](_0x11b363,_0x26d882['TEXT_RANGE_LAYER_INDEX']),this['_hover']=!0x1;}['_handleHover'](){const _0xd5d9eb=_0x201e57,_0x4ea7f9=this[_0xd5d9eb(0x154)][_0xd5d9eb(0x151)]['subscribeEvent'](()=>{const _0x31dc34=_0xd5d9eb;this[_0x31dc34(0x275)]=!0x0;}),_0x15bcac=this[_0xd5d9eb(0x154)][_0xd5d9eb(0x308)][_0xd5d9eb(0x34a)](()=>{const _0x13052b=_0xd5d9eb;this[_0x13052b(0x15c)]&&clearTimeout(this[_0x13052b(0x15c)]),this[_0x13052b(0x15c)]=setTimeout(()=>{const _0x444964=_0x13052b;this[_0x444964(0x275)]=!0x1;},0x7d0);});return()=>{const _0x56e447=_0xd5d9eb;_0x4ea7f9[_0x56e447(0x285)](),_0x15bcac['unsubscribe']();};}['_drawTextRange'](_0x7d646a,_0x12054d,_0x15c044,_0x46f4ac){const _0xc02b39=_0x201e57,_0x5a8d37=new _0x2759ff['ColorKit'](_0x7d646a)['setAlpha'](0.2)[_0xc02b39(0x328)](),_0x58378e=new _0xa08486[(_0xc02b39(0x1e6))](_0x3cedaf+_0x2759ff[_0xc02b39(0x148)][_0xc02b39(0x1fa)](_0x371b7c),{'pointsGroup':_0x12054d,'fill':_0x5a8d37||_0xa08486['getColor'](_0x2759ff[_0xc02b39(0x1c3)][_0xc02b39(0x11d)],0.2),'left':_0x15c044,'top':_0x46f4ac,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xc02b39(0x256)][_0xc02b39(0x260)](_0x58378e),this[_0xc02b39(0x16d)]['addObject'](_0x58378e,_0x26d882[_0xc02b39(0x11c)]);}[_0x201e57(0x2b9)](_0x1551cb,_0x39e084,_0x47d78a,_0x90f40d){const _0x13c43b=_0x201e57,_0x49e979=new _0x2759ff[(_0x13c43b(0x31d))](_0x1551cb)[_0x13c43b(0x2b0)](0.2)['toRgbString'](),_0x53a5f5=new _0xa08486['RegularPolygon'](_0x5e257d+_0x2759ff[_0x13c43b(0x148)][_0x13c43b(0x1fa)](_0x371b7c),{'pointsGroup':_0x39e084,'fill':_0x49e979||_0xa08486[_0x13c43b(0x2b2)](_0x2759ff[_0x13c43b(0x1c3)][_0x13c43b(0x11d)],0.2),'left':_0x47d78a,'top':_0x90f40d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x13c43b(0x256)][_0x13c43b(0x260)](_0x53a5f5),this[_0x13c43b(0x16d)]['addObject'](_0x53a5f5,_0x26d882[_0x13c43b(0x11c)]);}[_0x201e57(0x2ae)](_0x54b363){const _0x41d198=_0x54b363[0x0],_0x5129c6=_0x41d198[0x0],_0x32f2b7=_0x41d198[0x2],{x:_0x58cceb,y:_0x8127e4}=_0x5129c6,{x:_0x42a24c,y:_0x28b33e}=_0x32f2b7;return{'left':_0x58cceb,'top':_0x8127e4,'width':_0x42a24c-_0x58cceb,'height':_0x28b33e-_0x8127e4};}[_0x201e57(0x10f)](){const _0x3d6978=_0x201e57,{scaleX:_0x44bd24,scaleY:_0x596f47}=this[_0x3d6978(0x16d)]['getAncestorScale']();return Math[_0x3d6978(0x213)](_0x44bd24,_0x596f47);}}var _0x3fb2ec=Object[_0x201e57(0x241)],_0x587fee=(_0x36864f,_0x463286,_0x5eea86,_0x4037ad)=>{const _0x3bf20c=_0x201e57;for(var _0x56f3af=_0x4037ad>0x1?void 0x0:_0x4037ad?_0x3fb2ec(_0x463286,_0x5eea86):_0x463286,_0x4a287e=_0x36864f[_0x3bf20c(0x2da)]-0x1,_0x3a38ed;_0x4a287e>=0x0;_0x4a287e--)(_0x3a38ed=_0x36864f[_0x4a287e])&&(_0x56f3af=_0x3a38ed(_0x56f3af)||_0x56f3af);return _0x56f3af;},_0x3617dc=(_0x4b76fc,_0x4a68d0)=>(_0x5b8439,_0x37f318)=>_0x4a68d0(_0x5b8439,_0x37f318,_0x4b76fc);let _0x185e83=class extends _0x2759ff['RxDisposable']{constructor(_0x3006a4,_0xab134f,_0x471a3c,_0x4ccd28,_0xb11084){const _0x484c48=_0x201e57;super(),_0x252fd8(this,_0x484c48(0xfd),[]),_0x252fd8(this,'_cursors',[]),(this[_0x484c48(0x2d9)]=_0x3006a4,this['_docSkeletonManagerService']=_0xab134f,this[_0x484c48(0x289)]=_0x471a3c,this[_0x484c48(0x31a)]=_0x4ccd28,this[_0x484c48(0x2e5)]=_0xb11084,this[_0x484c48(0x338)]());}[_0x201e57(0x338)](){const _0x1e39b5=_0x201e57,_0x4bd2b5=this[_0x1e39b5(0x2d9)][_0x1e39b5(0x2eb)],_0x2e3b51=this[_0x1e39b5(0x2f6)];this[_0x1e39b5(0x38b)](_0x537bbf['combineLatest']([this[_0x1e39b5(0x289)][_0x1e39b5(0x1b0)](_0x4bd2b5),this[_0x1e39b5(0x2e5)][_0x1e39b5(0x302)]])[_0x1e39b5(0x1fb)](_0x19b523[_0x1e39b5(0x262)](([_0x240ffd,_0x15dc33])=>({'skeleton':_0x2e3b51[_0x1e39b5(0x14a)](),'cursors':[..._0x240ffd['values']()][_0x1e39b5(0x286)](_0x3774d5=>({..._0x3774d5,'color':this['_themeService']['getColorFromTheme'](_0x3774d5[_0x1e39b5(0x2dc)])}))})))[_0x1e39b5(0x30d)](_0x5e3547=>{const _0x146675=_0x1e39b5;if(this[_0x146675(0x1ed)](),_0x5e3547){const {skeleton:_0x3ebb44,cursors:_0xc9c154}=_0x5e3547;this['_updateCollabCursors'](_0x3ebb44,_0xc9c154);}})),this[_0x1e39b5(0x11f)](),this['_initCommandExecutedListener']();}[_0x201e57(0x2a8)](_0x566dd7,_0x277fc5){const _0x4067a5=_0x201e57,{scene:_0x3ec80a,mainComponent:_0x298be7}=this[_0x4067a5(0x2d9)],_0x661e99=_0x277fc5[_0x4067a5(0x262)](_0x1b21ce=>new _0x336bb5(_0x1b21ce,_0x3ec80a,_0x566dd7,_0x298be7));this[_0x4067a5(0xfd)]=_0x661e99,this['_cursors']=_0x277fc5;}[_0x201e57(0x39d)](){const _0x172474=_0x201e57;this[_0x172474(0x1ed)]();const {scene:_0x2fc4a2,mainComponent:_0x285248}=this[_0x172474(0x2d9)],_0x150a30=this[_0x172474(0x2f6)]['getSkeleton'](),_0x50cbe7=this[_0x172474(0x128)][_0x172474(0x262)](_0x104ab2=>new _0x336bb5(_0x104ab2,_0x2fc4a2,_0x150a30,_0x285248));this[_0x172474(0xfd)]=_0x50cbe7;}[_0x201e57(0x1ed)](){const _0x36ea7d=_0x201e57;this['_cursorShapes'][_0x36ea7d(0x2e8)](_0x561219=>_0x561219[_0x36ea7d(0x2c2)]()),this[_0x36ea7d(0xfd)]=[];}[_0x201e57(0x190)](){const _0x13e42d=_0x201e57,_0xe26dd9=[_0x26d882[_0x13e42d(0x310)]['id']];this[_0x13e42d(0x38b)](this['_commandService'][_0x13e42d(0x1ad)](_0x2a37de=>{const _0x395044=_0x13e42d;_0xe26dd9['includes'](_0x2a37de['id'])&&_0x2a37de[_0x395044(0x299)]['unitId']===this['_context'][_0x395044(0x2eb)]&&this[_0x395044(0x39d)]();}));}[_0x201e57(0x11f)](){const _0x34f93b=_0x201e57;this[_0x34f93b(0x38b)](_0x2759ff[_0x34f93b(0x242)](this['_context'][_0x34f93b(0x219)][_0x34f93b(0x174)])[_0x34f93b(0x1fb)](_0x19b523[_0x34f93b(0x21a)](_0x13d615=>_0x13d615[_0x34f93b(0x10e)]===_0xa08486[_0x34f93b(0x2ab)][_0x34f93b(0x30b)]),_0x19b523[_0x34f93b(0x1a4)](0x10))[_0x34f93b(0x30d)](()=>{const _0xd25436=_0x34f93b;this[_0xd25436(0x39d)]();}));}};_0x185e83=_0x587fee([_0x3617dc(0x1,_0x2759ff['Inject'](_0x12f405[_0x201e57(0x39f)])),_0x3617dc(0x2,_0x2759ff[_0x201e57(0x1d6)](_0xf08a42)),_0x3617dc(0x3,_0x2759ff[_0x201e57(0x236)]),_0x3617dc(0x4,_0x2759ff[_0x201e57(0x1d6)](_0x2759ff[_0x201e57(0x235)]))],_0x185e83);const _0x4fd0d9=0x1,_0xc12b88=1.5;class _0x1e62e5 extends _0xa08486[_0x201e57(0x297)]{constructor(_0x30346d,_0x252758){const _0x113f36=_0x201e57;super(_0x30346d,_0x252758),_0x252fd8(this,'_color'),_0x252fd8(this,_0x113f36(0x209),!0x1),_0x252fd8(this,_0x113f36(0x334)),_0x252fd8(this,_0x113f36(0x2bb),''),_0x252fd8(this,_0x113f36(0x15e),_0x113f36(0x26d)),_0x252fd8(this,'_backgroundColor'),(_0x252758&&this[_0x113f36(0x1e8)](_0x252758),this[_0x113f36(0x151)]['subscribeEvent'](()=>this[_0x113f36(0x1e8)]({'hovered':!0x0})),this[_0x113f36(0x308)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x201e57(0x1e8)](_0x4fd751){const _0x757f66=_0x201e57;var _0x27e691,_0x32dc90,_0x55601b,_0x4e1c65,_0x34406b,_0x497df5;this[_0x757f66(0x2bc)]=(_0x27e691=_0x4fd751[_0x757f66(0x2dc)])!=null?_0x27e691:this['_color'],this[_0x757f66(0x209)]=(_0x32dc90=_0x4fd751[_0x757f66(0x226)])!=null?_0x32dc90:this['_hovered'],this[_0x757f66(0x334)]=(_0x55601b=_0x4fd751['range'])!=null?_0x55601b:this[_0x757f66(0x334)],this['_name']=(_0x4e1c65=_0x4fd751[_0x757f66(0x168)])!=null?_0x4e1c65:this[_0x757f66(0x2bb)],this[_0x757f66(0x15e)]=(_0x34406b=_0x4fd751[_0x757f66(0x259)])!=null?_0x34406b:this[_0x757f66(0x15e)],this[_0x757f66(0x21f)]=(_0x497df5=_0x4fd751[_0x757f66(0x172)])!=null?_0x497df5:this['_backgroundColor'],this[_0x757f66(0x19e)]({'width':_0x4fd751[_0x757f66(0x17e)],'height':_0x4fd751['height']});}[_0x201e57(0x229)](_0xcca6f4){const _0xfee12=_0x201e57,{row:_0x125734,column:_0x4aed1e}=_0xcca6f4;if(_0x125734>=this[_0xfee12(0x334)][_0xfee12(0x24b)]&&_0x125734<=this[_0xfee12(0x334)]['endRow']&&_0x4aed1e>=this[_0xfee12(0x334)][_0xfee12(0x113)]&&_0x4aed1e<=this[_0xfee12(0x334)][_0xfee12(0x2c0)]){this[_0xfee12(0x1e8)]({'hovered':!0x0});return;}this[_0xfee12(0x1e8)]({'hovered':!0x1});}[_0x201e57(0x2a2)](_0x48f332){return!0x1;}[_0x201e57(0x27e)](_0x531340){const _0xc7f24f=_0x201e57;_0xa08486[_0xc7f24f(0x162)][_0xc7f24f(0x1a1)](_0x531340,{'width':this[_0xc7f24f(0x17e)],'height':this['height'],'strokeWidth':_0xc12b88,'stroke':this['_color'],'evented':!0x1,'fill':this[_0xc7f24f(0x21f)]}),this[_0xc7f24f(0x209)]&&(_0x531340[_0xc7f24f(0x2e9)](),_0x531340[_0xc7f24f(0x11b)](0x1,0x0,0x0,0x1,this[_0xc7f24f(0x17e)],this[_0xc7f24f(0x15e)]===_0xc7f24f(0x29a)?0x0:-0x14),_0x424561[_0xc7f24f(0x1a1)](_0x531340,{'text':this[_0xc7f24f(0x2bb)],'color':this[_0xc7f24f(0x2bc)]}),_0x531340[_0xc7f24f(0x1b9)]());}}var _0x5d8470=Object['getOwnPropertyDescriptor'],_0x59de0a=(_0x3c9b10,_0x2f94f2,_0x4fdfd7,_0x82d79e)=>{const _0x1ad238=_0x201e57;for(var _0x5225a7=_0x82d79e>0x1?void 0x0:_0x82d79e?_0x5d8470(_0x2f94f2,_0x4fdfd7):_0x2f94f2,_0x255994=_0x3c9b10[_0x1ad238(0x2da)]-0x1,_0x37fdc2;_0x255994>=0x0;_0x255994--)(_0x37fdc2=_0x3c9b10[_0x255994])&&(_0x5225a7=_0x37fdc2(_0x5225a7)||_0x5225a7);return _0x5225a7;},_0x1436d7=(_0x16cdb6,_0x2ec6b6)=>(_0x380285,_0x2cf72b)=>_0x2ec6b6(_0x380285,_0x2cf72b,_0x16cdb6);const _0x23f96c=0x1389;let _0x57b6ea=class extends _0x2759ff[_0x201e57(0x243)]{constructor(_0x310c12,_0x38e0c2,_0x1c84da,_0x500dd4){const _0x143b79=_0x201e57;super(),_0x252fd8(this,_0x143b79(0x128),new Set()),_0x252fd8(this,_0x143b79(0x3a1),null),(this['_context']=_0x310c12,this[_0x143b79(0x2e6)]=_0x38e0c2,this['_collabCursorController']=_0x1c84da,this[_0x143b79(0x2e5)]=_0x500dd4,this[_0x143b79(0x338)]());}[_0x201e57(0x338)](){const _0x2f777a=_0x201e57;this[_0x2f777a(0x2e6)][_0x2f777a(0x206)][_0x2f777a(0x1fb)](_0x19b523['takeUntil'](this['dispose$']),_0x19b523[_0x2f777a(0x376)](_0x50817f=>{const _0x521925=_0x2f777a;if(_0x50817f){const _0x3aaac9=_0x50817f[_0x521925(0x14b)];return _0x537bbf[_0x521925(0x25b)](this['_collabCursorController']['getCollabCursors$'](this[_0x521925(0x2d9)]['unitId']),this[_0x521925(0x2e5)][_0x521925(0x302)])['pipe'](_0x19b523['map'](([_0x1d086d,_0x56d9cd])=>{const _0x3d464f=_0x521925,_0x5bdd35=new Map();return _0x1d086d[_0x3d464f(0x2e8)]((_0x899bb7,_0x544548)=>{const _0x405712=_0x3d464f;if(_0x899bb7[_0x405712(0x233)]===_0x3aaac9){const _0x119c98={..._0x899bb7};_0x119c98['color']=this[_0x405712(0x2e5)][_0x405712(0x1a0)](_0x899bb7[_0x405712(0x2dc)]),_0x5bdd35[_0x405712(0x18d)](_0x544548,_0x119c98);}}),{'skeleton':_0x50817f,'cursors':_0x5bdd35};}));}return _0x537bbf['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x59e75a,cursors:_0x129b86})=>{const _0x25ab46=_0x2f777a;this[_0x25ab46(0x1ed)](),_0x59e75a&&this[_0x25ab46(0x2a8)](_0x59e75a,_0x129b86);}),this[_0x2f777a(0x2e6)][_0x2f777a(0x206)][_0x2f777a(0x30d)](_0x3b142f=>{const _0x16e667=_0x2f777a;if(_0x3b142f==null)return;const {skeleton:_0x4cf067}=_0x3b142f,{scene:_0x10a8c6}=this['_context'];_0x10a8c6[_0x16e667(0x212)][_0x16e667(0x34a)](_0x2759ff['debounce'](_0x304f3c=>{const _0x514516=_0x16e667;var _0x425d43,_0x465f47;const {offsetX:_0x36c4f1,offsetY:_0x3d9989}=_0x304f3c,{x:_0x2aa12b,y:_0x13e1fd}=_0x10a8c6[_0x514516(0x31e)](_0xa08486[_0x514516(0x340)][_0x514516(0x26c)]([_0x36c4f1,_0x3d9989])),{scaleX:_0x59e947,scaleY:_0x18b2b8}=_0x10a8c6[_0x514516(0x357)](),_0x44c8a6=_0x10a8c6[_0x514516(0x2e7)](_0xa08486[_0x514516(0x12f)][_0x514516(0x29f)]),_0x25a1ef=_0x10a8c6['getVpScrollXYInfoByPosToVp'](_0xa08486[_0x514516(0x340)][_0x514516(0x26c)]([_0x2aa12b,_0x13e1fd]),_0x44c8a6),_0xae97b2=_0x4cf067[_0x514516(0x31b)](_0x36c4f1,_0x3d9989,_0x59e947,_0x18b2b8,_0x25a1ef);((_0x425d43=this[_0x514516(0x3a1)])==null?void 0x0:_0x425d43['column'])===_0xae97b2[_0x514516(0x13d)]&&((_0x465f47=this[_0x514516(0x3a1)])==null?void 0x0:_0x465f47['row'])===_0xae97b2[_0x514516(0x325)]||this[_0x514516(0x128)][_0x514516(0x2e8)](_0x276974=>{const _0xc89100=_0x514516;_0x276974[_0xc89100(0x229)](_0xae97b2);});},0x64));});}[_0x201e57(0x2a8)](_0x32d74a,_0x55f27a){const _0x146405=_0x201e57;var _0x4532c8;const _0x43b8e4=(_0x4532c8=this[_0x146405(0x2e6)][_0x146405(0x155)]())==null?void 0x0:_0x4532c8[_0x146405(0x1f4)];if(!_0x43b8e4)return;const _0x2a0346=this['_getSheetObject']();if(!_0x2a0346)return;this[_0x146405(0x128)][_0x146405(0x2e8)](_0x5cdbce=>{const _0xf7ee07=_0x146405;_0x5cdbce[_0xf7ee07(0x246)]();});const {scene:_0x39af03}=_0x2a0346,_0x5197e3=_0x1f586f(Array['from'](_0x55f27a['values']()))['map'](_0x188cc7=>{const _0x234b6f=_0x146405,{color:_0x28893d,range:_0x2e3113,name:_0x3181b9,selection:_0x1a6fde,sheetID:_0x4d025e}=_0x188cc7,{startColumn:_0x1940f6,startRow:_0x3c769e,endColumn:_0x2972be,endRow:_0x49060d}=_0x2e3113,_0x1636d7=_0x1e5a7e[_0x234b6f(0x12b)](_0x3c769e,_0x1940f6,_0x39af03,_0x43b8e4),_0x7faacf=_0x1e5a7e['getCoordByCell'](_0x49060d,_0x2972be,_0x39af03,_0x43b8e4),{columnHeaderHeightAndMarginTop:_0x399189}=_0x43b8e4,{startX:_0x11967a,startY:_0x3b9163}=_0x1636d7,{endX:_0x133975,endY:_0x2ce443}=_0x7faacf,_0x265a08=_0x133975-_0x11967a,_0x185fc2=_0x2ce443-_0x3b9163,_0x417278={'labelPosition':_0x3b9163-_0x399189>=_0x2d1de3?'top':'bottom','sheetID':_0x4d025e,'range':_0x2e3113,'color':_0x28893d,'name':_0x3181b9,'selection':_0x1a6fde,'left':_0x11967a,'top':_0x3b9163,'width':_0x265a08,'height':_0x185fc2,'evented':!0x1,'zIndex':_0x23f96c};return new _0x1e62e5(_0x3181b9,_0x417278);});_0x39af03[_0x146405(0x186)](_0x5197e3,_0x4fd0d9),this['_cursors']=new Set(_0x5197e3);}[_0x201e57(0x1ed)](){const _0x4ebad9=_0x201e57;var _0x2b3538;(_0x2b3538=this[_0x4ebad9(0x128)])==null||_0x2b3538['forEach'](_0xd93730=>_0xd93730['dispose']());}['_getSheetObject'](){const _0x57c29a=_0x201e57;return _0x1e5a7e[_0x57c29a(0x1dd)](this[_0x57c29a(0x2d9)][_0x57c29a(0x2d5)],this['_context']);}};_0x57b6ea=_0x59de0a([_0x1436d7(0x1,_0x2759ff[_0x201e57(0x1d6)](_0x1e5a7e[_0x201e57(0x2c6)])),_0x1436d7(0x2,_0x2759ff['Inject'](_0xf08a42)),_0x1436d7(0x3,_0x2759ff[_0x201e57(0x1d6)](_0x2759ff[_0x201e57(0x235)]))],_0x57b6ea);function _0x1f586f(_0x4326bf){const _0x2c344d=_0x201e57,_0x323409=new Map();return _0x4326bf['forEach'](_0x3fc0ab=>{const _0x48c216=_0x1dc9;if(_0x323409['has'](_0x3fc0ab[_0x48c216(0x303)])){const _0x4139a7=_0x323409[_0x48c216(0x363)](_0x3fc0ab[_0x48c216(0x303)]);_0x4139a7[_0x48c216(0x168)]+=',\x20'+_0x3fc0ab[_0x48c216(0x168)];}else _0x323409[_0x48c216(0x18d)](_0x3fc0ab['selection'],_0x3fc0ab);}),Array['from'](_0x323409[_0x2c344d(0x336)]());}var _0x3d79e6=function(){const _0x14739e=_0x201e57;return _0x3d79e6=Object['assign']||function(_0x492de4){const _0x5c49de=_0x1dc9;for(var _0x3723d9,_0x10ad4f=0x1,_0x206955=arguments['length'];_0x10ad4f<_0x206955;_0x10ad4f++){_0x3723d9=arguments[_0x10ad4f];for(var _0x306dad in _0x3723d9)Object[_0x5c49de(0x296)][_0x5c49de(0x2f2)][_0x5c49de(0x17f)](_0x3723d9,_0x306dad)&&(_0x492de4[_0x306dad]=_0x3723d9[_0x306dad]);}return _0x492de4;},_0x3d79e6[_0x14739e(0x196)](this,arguments);},_0x10cf56=function(_0x569a3b,_0x360e0f){const _0x25378b=_0x201e57;var _0xb6d299={};for(var _0x3728f0 in _0x569a3b)Object['prototype']['hasOwnProperty'][_0x25378b(0x17f)](_0x569a3b,_0x3728f0)&&_0x360e0f[_0x25378b(0x2c8)](_0x3728f0)<0x0&&(_0xb6d299[_0x3728f0]=_0x569a3b[_0x3728f0]);if(_0x569a3b!=null&&typeof Object['getOwnPropertySymbols']==_0x25378b(0x354)){for(var _0x52bbb0=0x0,_0x3728f0=Object[_0x25378b(0x19d)](_0x569a3b);_0x52bbb0<_0x3728f0['length'];_0x52bbb0++)_0x360e0f[_0x25378b(0x2c8)](_0x3728f0[_0x52bbb0])<0x0&&Object[_0x25378b(0x296)][_0x25378b(0x28e)][_0x25378b(0x17f)](_0x569a3b,_0x3728f0[_0x52bbb0])&&(_0xb6d299[_0x3728f0[_0x52bbb0]]=_0x569a3b[_0x3728f0[_0x52bbb0]]);}return _0xb6d299;},_0x320d52=_0x431136[_0x201e57(0x14e)](function(_0x184a36,_0x194deb){const _0xd26dee=_0x201e57;var _0x2141c1=_0x184a36[_0xd26dee(0x207)],_0x21f4ea=_0x184a36['id'],_0x509792=_0x184a36[_0xd26dee(0x1ea)],_0x29083c=_0x184a36[_0xd26dee(0x1bd)],_0x1037f3=_0x10cf56(_0x184a36,['icon','id',_0xd26dee(0x1ea),_0xd26dee(0x1bd)]),_0x5dae86=_0xd26dee(0x37b)['concat'](_0x21f4ea,'\x20')[_0xd26dee(0x130)](_0x509792||'')[_0xd26dee(0x222)](),_0x535208=_0x431136[_0xd26dee(0x2c4)]('_'[_0xd26dee(0x130)](_0x3fdf5a()));return _0x779853(_0x2141c1,''['concat'](_0x21f4ea),{'defIds':_0x2141c1[_0xd26dee(0x27f)],'idSuffix':_0x535208[_0xd26dee(0x24c)]},_0x3d79e6({'ref':_0x194deb,'className':_0x5dae86},_0x1037f3),_0x29083c);});function _0x779853(_0x1674ec,_0x32ae53,_0x3fcf7d,_0x4bb9d2,_0x110d5d){const _0x334a6b=_0x201e57;return _0x431136[_0x334a6b(0x1c8)](_0x1674ec[_0x334a6b(0x1be)],_0x3d79e6(_0x3d79e6({'key':_0x32ae53},_0x2aac6a(_0x1674ec,_0x3fcf7d,_0x110d5d)),_0x4bb9d2),(_0x47eb88(_0x1674ec,_0x3fcf7d)[_0x334a6b(0x1d7)]||[])[_0x334a6b(0x262)](function(_0x3da9f2,_0x29b9da){const _0x24088e=_0x334a6b;return _0x779853(_0x3da9f2,''[_0x24088e(0x130)](_0x32ae53,'-')[_0x24088e(0x130)](_0x1674ec[_0x24088e(0x1be)],'-')[_0x24088e(0x130)](_0x29b9da),_0x3fcf7d,void 0x0,_0x110d5d);}));}function _0x2aac6a(_0x601dca,_0x4483cf,_0x402c45){const _0x35bccc=_0x201e57;var _0x50955e=_0x3d79e6({},_0x601dca['attrs']);_0x402c45!=null&&_0x402c45[_0x35bccc(0x178)]&&_0x50955e[_0x35bccc(0x395)]===_0x35bccc(0x178)&&(_0x50955e[_0x35bccc(0x395)]=_0x402c45['colorChannel1']),_0x601dca[_0x35bccc(0x1be)]==='mask'&&_0x50955e['id']&&(_0x50955e['id']=_0x50955e['id']+_0x4483cf[_0x35bccc(0x131)]),Object[_0x35bccc(0x2cc)](_0x50955e)['forEach'](function(_0xd01f66){const _0x33b176=_0x35bccc;var _0x44a991=_0xd01f66[0x0],_0x1bfbaf=_0xd01f66[0x1];_0x44a991==='mask'&&typeof _0x1bfbaf==_0x33b176(0x28c)&&(_0x50955e[_0x44a991]=_0x1bfbaf[_0x33b176(0x137)](/url\(#(.*)\)/,_0x33b176(0x16a)[_0x33b176(0x130)](_0x4483cf[_0x33b176(0x131)],')')));});var _0x1c7de0=_0x4483cf[_0x35bccc(0x27f)];return!_0x1c7de0||_0x1c7de0[_0x35bccc(0x2da)]===0x0||(_0x601dca[_0x35bccc(0x1be)]===_0x35bccc(0x393)&&_0x50955e[_0x35bccc(0x1f6)]&&(_0x50955e[_0x35bccc(0x1f6)]=_0x50955e['xlink:href']+_0x4483cf[_0x35bccc(0x131)]),Object[_0x35bccc(0x2cc)](_0x50955e)[_0x35bccc(0x2e8)](function(_0xa0bcbc){const _0x459d4d=_0x35bccc;var _0x390623=_0xa0bcbc[0x0],_0x14f64c=_0xa0bcbc[0x1];typeof _0x14f64c==_0x459d4d(0x28c)&&(_0x50955e[_0x390623]=_0x14f64c['replace'](/url\(#(.*)\)/,_0x459d4d(0x16a)[_0x459d4d(0x130)](_0x4483cf[_0x459d4d(0x131)],')')));})),_0x50955e;}function _0x47eb88(_0x29298e,_0x55c281){const _0x4835f2=_0x201e57;var _0x1730de,_0xa2d74e=_0x55c281['defIds'];return!_0xa2d74e||_0xa2d74e[_0x4835f2(0x2da)]===0x0?_0x29298e:_0x29298e[_0x4835f2(0x1be)]===_0x4835f2(0x126)&&(!((_0x1730de=_0x29298e['children'])===null||_0x1730de===void 0x0)&&_0x1730de['length'])?_0x3d79e6(_0x3d79e6({},_0x29298e),{'children':_0x29298e[_0x4835f2(0x1d7)][_0x4835f2(0x262)](function(_0x2cca93){const _0x505a11=_0x4835f2;return typeof _0x2cca93[_0x505a11(0x138)]['id']=='string'&&_0xa2d74e&&_0xa2d74e['includes'](_0x2cca93[_0x505a11(0x138)]['id'])?_0x3d79e6(_0x3d79e6({},_0x2cca93),{'attrs':_0x3d79e6(_0x3d79e6({},_0x2cca93[_0x505a11(0x138)]),{'id':_0x2cca93[_0x505a11(0x138)]['id']+_0x55c281['idSuffix']})}):_0x2cca93;})}):_0x29298e;}function _0x3fdf5a(){const _0x2033b4=_0x201e57;return Math['random']()[_0x2033b4(0x15b)](0x24)[_0x2033b4(0x331)](0x2,0x8);}_0x320d52['displayName']='UniverIcon';var _0x28bdec={'tag':_0x201e57(0x2f7),'attrs':{'xmlns':_0x201e57(0x341),'fill':_0x201e57(0x25a),'viewBox':_0x201e57(0x163),'width':_0x201e57(0x197),'height':_0x201e57(0x197)},'children':[{'tag':'g','attrs':{'clipPath':_0x201e57(0x1c6)},'children':[{'tag':_0x201e57(0x205),'attrs':{'stroke':_0x201e57(0x1df),'d':_0x201e57(0x1e2),'strokeLinecap':'round','strokeLinejoin':_0x201e57(0x26b),'strokeWidth':1.2}}]},{'tag':_0x201e57(0x126),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x201e57(0x123)},'children':[{'tag':_0x201e57(0x205),'attrs':{'fill':_0x201e57(0x149),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x201e57(0x123)]},_0x1d3929=_0x431136[_0x201e57(0x14e)](function(_0x12e74f,_0xf54cfc){const _0x391bc9=_0x201e57;return _0x431136[_0x391bc9(0x1c8)](_0x320d52,Object[_0x391bc9(0x2a4)]({},_0x12e74f,{'id':_0x391bc9(0x274),'ref':_0xf54cfc,'icon':_0x28bdec}));});_0x1d3929[_0x201e57(0x245)]=_0x201e57(0x1ca);var _0x18ff9a={'tag':_0x201e57(0x2f7),'attrs':{'xmlns':_0x201e57(0x341),'fill':_0x201e57(0x25a),'viewBox':_0x201e57(0x28b),'width':_0x201e57(0x197),'height':_0x201e57(0x197)},'children':[{'tag':'g','attrs':{'clipPath':_0x201e57(0x10c)},'children':[{'tag':_0x201e57(0x205),'attrs':{'stroke':_0x201e57(0x1df),'d':_0x201e57(0x1fe),'strokeLinecap':_0x201e57(0x26b),'strokeLinejoin':_0x201e57(0x26b),'strokeWidth':1.2}}]},{'tag':_0x201e57(0x126),'attrs':{},'children':[{'tag':_0x201e57(0x383),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x201e57(0x205),'attrs':{'fill':_0x201e57(0x149),'d':_0x201e57(0x1e3),'transform':_0x201e57(0x1d5)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x4400a4=_0x431136[_0x201e57(0x14e)](function(_0x1829e1,_0x4626c5){const _0x5c8ee4=_0x201e57;return _0x431136['createElement'](_0x320d52,Object[_0x5c8ee4(0x2a4)]({},_0x1829e1,{'id':_0x5c8ee4(0x216),'ref':_0x4626c5,'icon':_0x18ff9a}));});_0x4400a4[_0x201e57(0x245)]=_0x201e57(0x177);function _0x5d938c(_0x1ab495){const _0x5f1864=_0x201e57;switch(_0x1ab495){case _0x3eb9ff[_0x5f1864(0x2ce)][_0x5f1864(0x119)]:return _0x5f1864(0x22d);case _0x3eb9ff[_0x5f1864(0x2ce)][_0x5f1864(0x2ac)]:return'collabStatus.conflict';case _0x3eb9ff[_0x5f1864(0x2ce)]['FETCH_MISS']:return _0x5f1864(0x25f);case _0x3eb9ff[_0x5f1864(0x2ce)]['NOT_COLLAB']:return _0x5f1864(0x17b);case _0x3eb9ff['CollaborationStatus'][_0x5f1864(0x2dd)]:case _0x3eb9ff[_0x5f1864(0x2ce)][_0x5f1864(0x10d)]:return'collabStatus.syncing';case _0x3eb9ff[_0x5f1864(0x2ce)][_0x5f1864(0x35e)]:case _0x3eb9ff[_0x5f1864(0x2ce)]['PENDING']:return _0x5f1864(0x34d);}}function _0x33acdc(_0xd59136){const _0x12ed81=_0x201e57,{status$:_0x122f5a}=_0xd59136,_0x54057c=_0x1f9573[_0x12ed81(0x1fd)](_0x122f5a,_0x3eb9ff[_0x12ed81(0x2ce)][_0x12ed81(0x347)]),_0x29804d=_0x1f9573[_0x12ed81(0x1bf)](_0x2759ff[_0x12ed81(0x218)]),_0x43d158=_0x1f9573[_0x12ed81(0x1bf)](_0x3eb9ff[_0x12ed81(0x329)]),_0x43b79d=_0x54057c!==_0x3eb9ff['CollaborationStatus'][_0x12ed81(0x119)],_0x2abe61=_0x29804d['t'](_0x5d938c(_0x54057c)),_0x327016=_0x43b79d?_0x455ea0['jsx'](_0x4400a4,{}):_0x455ea0[_0x12ed81(0x114)](_0x1d3929,{}),_0x1f65f3=_0x431136[_0x12ed81(0x1ba)](()=>{const _0xdd7bcf=_0x12ed81;_0x43b79d||_0x43d158[_0xdd7bcf(0x1b4)]();},[_0x43b79d,_0x43d158]);function _0xb2a3d3(){const _0x2a2ce2=_0x12ed81;return _0x455ea0[_0x2a2ce2(0x288)](_0x2a2ce2(0x1ff),{'className':_0x2a2ce2(0x2e3),'onClick':_0x1f65f3,'children':[_0x455ea0[_0x2a2ce2(0x114)]('div',{'className':_0x4d45ae['clsx'](_0x2a2ce2(0x326),{'univer-text-green-500':_0x43b79d,'univer-text-red-500':!_0x43b79d}),'children':_0x327016}),_0x455ea0['jsx'](_0x2a2ce2(0x1ff),{'className':_0x2a2ce2(0x1da),'children':_0x2abe61})]});}return _0x43b79d?_0xb2a3d3():_0x455ea0[_0x12ed81(0x114)](_0x4d45ae[_0x12ed81(0x378)],{'title':_0x29804d['t']('collab-client.tooltip.reconnect'),'children':_0xb2a3d3()});}var _0x3b0bec=Object[_0x201e57(0x241)],_0x102be9=(_0x540b33,_0x2fb9d8,_0x2a0a58,_0x43ea6a)=>{const _0x41a975=_0x201e57;for(var _0x256b5b=_0x43ea6a>0x1?void 0x0:_0x43ea6a?_0x3b0bec(_0x2fb9d8,_0x2a0a58):_0x2fb9d8,_0x5358ed=_0x540b33[_0x41a975(0x2da)]-0x1,_0x2c94ee;_0x5358ed>=0x0;_0x5358ed--)(_0x2c94ee=_0x540b33[_0x5358ed])&&(_0x256b5b=_0x2c94ee(_0x256b5b)||_0x256b5b);return _0x256b5b;},_0x519330=(_0x1901bb,_0x1b7e8a)=>(_0x5e7545,_0x239ba8)=>_0x1b7e8a(_0x5e7545,_0x239ba8,_0x1901bb);_0x45539c[_0x201e57(0x35d)]=class extends _0x2759ff['Disposable']{constructor(_0xb63fb4,_0x29d778,_0xd7ff6a,_0x826904){const _0x126432=_0x201e57;super(),_0x252fd8(this,_0x126432(0x1cd),new _0x537bbf[(_0x126432(0x116))](_0x3eb9ff[_0x126432(0x2ce)][_0x126432(0x347)])),(this[_0x126432(0x346)]=_0xb63fb4,this['_injector']=_0x29d778,this[_0x126432(0x10b)]=_0xd7ff6a,this['_uiPartsService']=_0x826904,this[_0x126432(0x320)](),this[_0x126432(0x234)]());}['_initStatusListener'](){const _0x2cae65=_0x201e57;this[_0x2cae65(0x38b)](this[_0x2cae65(0x346)]['focused$']['pipe'](_0x537bbf['switchMap'](()=>{const _0x3194a4=_0x2cae65,_0x34956c=this[_0x3194a4(0x346)][_0x3194a4(0x1a9)]();return _0x34956c?this[_0x3194a4(0x10b)][_0x3194a4(0x2c1)](_0x34956c['getUnitId']()):_0x537bbf['of'](null);}),_0x537bbf[_0x2cae65(0x376)](_0x1b876a=>_0x1b876a?_0x1b876a['status$']:_0x537bbf['of'](_0x3eb9ff['CollaborationStatus'][_0x2cae65(0x347)])))[_0x2cae65(0x30d)](_0x14190e=>{const _0x17cd09=_0x2cae65;this[_0x17cd09(0x1cd)][_0x17cd09(0x2a1)](_0x14190e);}));}[_0x201e57(0x320)](){const _0x3f6ef8=_0x201e57;this[_0x3f6ef8(0x38b)](this['_uiPartsService']['registerComponent'](_0x1f9573[_0x3f6ef8(0x2b6)][_0x3f6ef8(0x198)],()=>_0x1f9573[_0x3f6ef8(0x374)](_0x152bd4({'status$':this[_0x3f6ef8(0x1cd)][_0x3f6ef8(0x1c7)]()}),this[_0x3f6ef8(0x15a)])));}},_0x45539c[_0x201e57(0x35d)]=_0x102be9([_0x519330(0x0,_0x2759ff[_0x201e57(0x28d)]),_0x519330(0x1,_0x2759ff[_0x201e57(0x1d6)](_0x2759ff[_0x201e57(0x118)])),_0x519330(0x2,_0x2759ff[_0x201e57(0x1d6)](_0x3eb9ff[_0x201e57(0x359)])),_0x519330(0x3,_0x1f9573['IUIPartsService'])],_0x45539c['DesktopCollaborationStatusDisplayController']);function _0x152bd4(_0x1573a6){const {status$:_0x20b002}=_0x1573a6;return function(){const _0xf173bd=_0x1dc9;return _0x455ea0[_0xf173bd(0x114)](_0x33acdc,{'status$':_0x20b002});};}var _0x44be4c=Object[_0x201e57(0x241)],_0x3372a5=(_0x1dad55,_0x5c92e2,_0x24e254,_0x3bfd9f)=>{const _0x521529=_0x201e57;for(var _0x373aa2=_0x3bfd9f>0x1?void 0x0:_0x3bfd9f?_0x44be4c(_0x5c92e2,_0x24e254):_0x5c92e2,_0x334d75=_0x1dad55[_0x521529(0x2da)]-0x1,_0x34a89d;_0x334d75>=0x0;_0x334d75--)(_0x34a89d=_0x1dad55[_0x334d75])&&(_0x373aa2=_0x34a89d(_0x373aa2)||_0x373aa2);return _0x373aa2;},_0x48f308=(_0x81bd34,_0xbcf131)=>(_0x5cd17d,_0x2993d4)=>_0xbcf131(_0x5cd17d,_0x2993d4,_0x81bd34);let _0x49b9f8=class extends _0x2759ff['Disposable']{constructor(_0x63f148,_0x1b86ed,_0x2916b7,_0x13ed52,_0x1e46fc,_0x4e48ed){const _0x679fc5=_0x201e57;super(),this[_0x679fc5(0x2c5)]=_0x63f148,this[_0x679fc5(0x355)]=_0x1b86ed,this[_0x679fc5(0x1f7)]=_0x2916b7,this['_messageService']=_0x13ed52,this[_0x679fc5(0x1e9)]=_0x1e46fc,this[_0x679fc5(0x157)]=_0x4e48ed,this[_0x679fc5(0x1b7)](),this[_0x679fc5(0x391)]();}['_setupBeforeClosingHandler'](){const _0x3044b8=_0x201e57;this[_0x3044b8(0x38b)](this['_beforeCloseService'][_0x3044b8(0x38f)](()=>{const _0x1ee0f1=_0x3044b8;if(this[_0x1ee0f1(0x355)][_0x1ee0f1(0x134)][_0x1ee0f1(0x1b1)])return this['_localeService']['t'](_0x1ee0f1(0x2a0));}));}[_0x201e57(0x391)](){const _0x51506c=_0x201e57;this['disposeWithMe'](this[_0x51506c(0x1f7)][_0x51506c(0x36e)][_0x51506c(0x30d)](_0x119461=>{const _0x3170d7=_0x51506c;_0x119461['id']===_0x3eb9ff[_0x3170d7(0x304)][_0x3170d7(0x1c2)]&&this['_messageService'][_0x3170d7(0x270)]({'type':_0x4d45ae[_0x3170d7(0x2ad)][_0x3170d7(0x1cf)],'content':this[_0x3170d7(0x157)]['t'](_0x3170d7(0x220))}),_0x119461['id']===_0x3eb9ff[_0x3170d7(0x304)][_0x3170d7(0x399)]&&this[_0x3170d7(0x350)][_0x3170d7(0x270)]({'type':_0x4d45ae[_0x3170d7(0x2ad)][_0x3170d7(0x1cf)],'content':this['_localeService']['t'](_0x3170d7(0x316))}),_0x119461['id']===_0x3eb9ff[_0x3170d7(0x304)]['PERMISSION_DENIED']&&this[_0x3170d7(0x1e9)]['show']({'title':this['_localeService']['t']('permission.title'),'content':this[_0x3170d7(0x157)]['t'](_0x3170d7(0x33c)),'type':_0x3170d7(0x23d),'duration':0x0}),_0x119461['id']===_0x3eb9ff[_0x3170d7(0x304)][_0x3170d7(0x2ac)]&&this[_0x3170d7(0x350)][_0x3170d7(0x270)]({'type':_0x4d45ae[_0x3170d7(0x2ad)][_0x3170d7(0x2d6)],'content':this[_0x3170d7(0x157)]['t'](_0x3170d7(0x316))+'('+_0x119461['data']+')'}),_0x119461['id']===_0x3eb9ff['CollaborationUIEventId'][_0x3170d7(0x36f)]&&this[_0x3170d7(0x350)][_0x3170d7(0x270)]({'type':_0x4d45ae[_0x3170d7(0x2ad)][_0x3170d7(0x1cf)],'content':this[_0x3170d7(0x157)]['t'](_0x119461[_0x3170d7(0x1b6)]||'')}),_0x119461['id']===_0x3eb9ff['CollaborationUIEventId'][_0x3170d7(0x34f)]&&this['_messageService'][_0x3170d7(0x270)]({'type':_0x4d45ae[_0x3170d7(0x2ad)][_0x3170d7(0x1cf)],'content':this[_0x3170d7(0x157)]['t'](_0x3170d7(0x16e))}),_0x119461['id']===_0x3eb9ff['CollaborationUIEventId']['SOCKET_FAILED']&&this[_0x3170d7(0x350)][_0x3170d7(0x270)]({'type':_0x4d45ae[_0x3170d7(0x2ad)]['Error'],'content':this[_0x3170d7(0x157)]['t']('session.connection-failed')}),_0x119461['id']===_0x3eb9ff['CollaborationUIEventId'][_0x3170d7(0x31f)]&&this[_0x3170d7(0x350)]['show']({'type':_0x4d45ae[_0x3170d7(0x2ad)][_0x3170d7(0x2d6)],'content':this[_0x3170d7(0x157)]['t'](_0x3170d7(0x106))});}));}};_0x49b9f8=_0x3372a5([_0x48f308(0x0,_0x1f9573[_0x201e57(0x1f8)]),_0x48f308(0x1,_0x3eb9ff[_0x201e57(0x22f)]),_0x48f308(0x2,_0x2759ff[_0x201e57(0x1d6)](_0x3eb9ff[_0x201e57(0x315)])),_0x48f308(0x3,_0x1f9573['IMessageService']),_0x48f308(0x4,_0x1f9573[_0x201e57(0x306)]),_0x48f308(0x5,_0x2759ff[_0x201e57(0x1d6)](_0x2759ff[_0x201e57(0x218)]))],_0x49b9f8);const _0x37fdea=_0x201e57(0x109),_0x1f4474={},_0x32c919=_0x2759ff[_0x201e57(0x17c)]('uni.network.url-service');var _0x34e0fe=Object[_0x201e57(0x241)],_0x4f4fba=(_0x14075d,_0x439708,_0x254693,_0x3fd969)=>{const _0x2e533b=_0x201e57;for(var _0x3bd2af=_0x3fd969>0x1?void 0x0:_0x3fd969?_0x34e0fe(_0x439708,_0x254693):_0x439708,_0x116dca=_0x14075d[_0x2e533b(0x2da)]-0x1,_0x295dc0;_0x116dca>=0x0;_0x116dca--)(_0x295dc0=_0x14075d[_0x116dca])&&(_0x3bd2af=_0x295dc0(_0x3bd2af)||_0x3bd2af);return _0x3bd2af;},_0x1dccf5=(_0x455a56,_0x181c5a)=>(_0x428039,_0x5855c4)=>_0x181c5a(_0x428039,_0x5855c4,_0x455a56);_0x45539c[_0x201e57(0x153)]=class extends _0x2759ff['RxDisposable']{constructor(_0x2460dc,_0x12a1ba,_0x1610d0,_0x1f35f8,_0x5b1c2f){const _0x5ca5c0=_0x201e57;super(),this[_0x5ca5c0(0x1f2)]=_0x2460dc,this[_0x5ca5c0(0x380)]=_0x12a1ba,this[_0x5ca5c0(0x31a)]=_0x1610d0,this[_0x5ca5c0(0x1fc)]=_0x1f35f8,_0x5b1c2f?_0x5b1c2f==null||_0x5b1c2f[_0x5ca5c0(0x2e2)]()[_0x5ca5c0(0x301)](()=>this[_0x5ca5c0(0x338)]()):(this['_logService'][_0x5ca5c0(0x173)](_0x5ca5c0(0x2d2),_0x5ca5c0(0x181)),this[_0x5ca5c0(0x338)]());}async[_0x201e57(0x338)](){const _0x1d4bcc=_0x201e57,_0x4132df=this[_0x1d4bcc(0x1f2)]['getParam']('unit'),_0x64bdf3=this[_0x1d4bcc(0x1f2)]['getParam'](_0x1d4bcc(0x10e)),_0x218721=this[_0x1d4bcc(0x1f2)][_0x1d4bcc(0x2fe)](_0x1d4bcc(0x392));if(!_0x4132df||!_0x64bdf3){this['_logService']['debug'](_0x1d4bcc(0x2d2),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x398aa7=await this[_0x1d4bcc(0x1fc)][_0x1d4bcc(0x382)](_0x4132df,Number(_0x64bdf3),_0x218721);_0x398aa7&&_0x398aa7 instanceof _0x2759ff['Workbook']&&this['_setupSubUnitSync'](_0x398aa7);}async[_0x201e57(0x145)](_0xaea0cd){const _0x7d9c64=_0x201e57;await this[_0x7d9c64(0x232)](_0xaea0cd),_0xaea0cd[_0x7d9c64(0x35f)]['pipe'](_0x537bbf[_0x7d9c64(0x35c)](this[_0x7d9c64(0x311)]))[_0x7d9c64(0x30d)](_0x562552=>{const _0x3aeeac=_0x7d9c64;_0x562552&&this[_0x3aeeac(0x29b)](_0x562552);}),this[_0x7d9c64(0x1f2)][_0x7d9c64(0x158)][_0x7d9c64(0x1fb)](_0x537bbf[_0x7d9c64(0x35c)](this['dispose$']))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0xaea0cd));}[_0x201e57(0x29b)](_0x1d0301,_0x3d7171=!0x1){const _0x22cb70=_0x201e57,_0x34c930=this[_0x22cb70(0x1f2)][_0x22cb70(0x2fe)]('subunit');_0x1d0301[_0x22cb70(0x195)]()!==_0x34c930&&this[_0x22cb70(0x1f2)]['setParam']('subunit',_0x1d0301[_0x22cb70(0x195)](),_0x3d7171);}async[_0x201e57(0x232)](_0x482e33){const _0x4f08bf=_0x201e57;var _0x5e809c;const _0x1918af=this[_0x4f08bf(0x1f2)]['getParam'](_0x4f08bf(0x392));if(!_0x1918af||!_0x482e33[_0x4f08bf(0x2fc)](_0x1918af)){const _0x4b9f53=_0x482e33['getUnhiddenWorksheets']()[0x0],_0x553e5f=_0x482e33['getSheetBySheetId'](_0x4b9f53);if(!_0x553e5f)return;this[_0x4f08bf(0x29b)](_0x553e5f,!0x0),await this[_0x4f08bf(0x31a)]['executeCommand'](_0x355b60['SetWorksheetActivateCommand']['id'],{'unitId':_0x482e33['getUnitId'](),'subUnitId':_0x4b9f53});return;}((_0x5e809c=_0x482e33[_0x4f08bf(0x239)]())==null?void 0x0:_0x5e809c['getSheetId']())!==_0x1918af&&await this['_commandService'][_0x4f08bf(0x2bf)](_0x355b60['SetWorksheetActivateCommand']['id'],{'unitId':_0x482e33[_0x4f08bf(0x1f0)](),'subUnitId':_0x1918af});}},_0x45539c[_0x201e57(0x153)]=_0x4f4fba([_0x1dccf5(0x0,_0x32c919),_0x1dccf5(0x1,_0x2759ff[_0x201e57(0x33b)]),_0x1dccf5(0x2,_0x2759ff[_0x201e57(0x236)]),_0x1dccf5(0x3,_0x2759ff[_0x201e57(0x1d6)](_0x3eb9ff[_0x201e57(0x34c)])),_0x1dccf5(0x4,_0x2759ff[_0x201e57(0x2ca)](_0x1f2f97['IRemoteInstanceService']))],_0x45539c['CollaborationDataLoaderController']);var _0x1f0a69=Object[_0x201e57(0x241)],_0xf48e9d=(_0x3734eb,_0x281eb6,_0x2b831b,_0x228985)=>{for(var _0x100c79=_0x228985>0x1?void 0x0:_0x228985?_0x1f0a69(_0x281eb6,_0x2b831b):_0x281eb6,_0x18c898=_0x3734eb['length']-0x1,_0x2927f6;_0x18c898>=0x0;_0x18c898--)(_0x2927f6=_0x3734eb[_0x18c898])&&(_0x100c79=_0x2927f6(_0x100c79)||_0x100c79);return _0x100c79;},_0x17553b=(_0x3590bb,_0x36640e)=>(_0x101f33,_0x5a5199)=>_0x36640e(_0x101f33,_0x5a5199,_0x3590bb);let _0x4251c2=class{constructor(_0x772f75,_0x334db6,_0x14d6c0){const _0x2b1b30=_0x201e57;this[_0x2b1b30(0x15a)]=_0x772f75,this[_0x2b1b30(0x2b5)]=_0x334db6,this[_0x2b1b30(0x1c5)]=_0x14d6c0;}[_0x201e57(0x2a9)](_0x33f087){const _0x3e64cb=_0x201e57;this[_0x3e64cb(0x17a)](_0x33f087),this[_0x3e64cb(0x321)](_0x33f087);}[_0x201e57(0x1b3)](_0x3ff95f){const _0xfa4777=_0x201e57,{unitID:_0x345b28}=_0x3ff95f,_0x1a4245=this[_0xfa4777(0x1c5)][_0xfa4777(0x1d1)](_0x345b28)[_0xfa4777(0x293)](_0x26d882[_0xfa4777(0x266)]),{redoCache:_0x38693f}=_0x1a4245[_0xfa4777(0x2d4)]();if(_0x38693f[_0xfa4777(0x2da)]===0x0)return _0x3ff95f;let _0xaa52dd=_0x2759ff[_0xfa4777(0x148)][_0xfa4777(0x223)](_0x3ff95f[_0xfa4777(0x193)][0x0]);for(let _0x2d3913=0x0;_0x2d3913<_0x38693f[_0xfa4777(0x2da)];_0x2d3913++){const _0x2a8cd5={'id':_0xfa4777(0x12a),'params':{..._0x38693f[_0x2d3913]}},_0x14dbca=this[_0xfa4777(0x2b5)][_0xfa4777(0x1dc)](_0xaa52dd,_0x2a8cd5,!0x1);if(_0xd015f1[_0xfa4777(0x150)](_0x14dbca))throw _0x14dbca[_0xfa4777(0x23d)];_0xaa52dd=_0x14dbca[_0xfa4777(0x117)];}return{..._0x2759ff['Tools']['deepClone'](_0x3ff95f),'mutations':[_0xaa52dd]};}[_0x201e57(0x17a)](_0x46e032){const _0x62310a=_0x201e57,{unitID:_0x4ae4a8}=_0x46e032,_0x4dc989=this[_0x62310a(0x1c5)]['getRenderById'](_0x4ae4a8)[_0x62310a(0x293)](_0x26d882['DocIMEInputManagerService']),{undoCache:_0x1986be,redoCache:_0x9fdc1c}=_0x4dc989[_0x62310a(0x2d4)]();if(_0x1986be[_0x62310a(0x2da)]===0x0||_0x9fdc1c['length']===0x0)return;const _0x551535=[],_0xaefed3=[];let _0x28f1b3=_0x2759ff[_0x62310a(0x148)][_0x62310a(0x223)](_0x46e032[_0x62310a(0x193)][0x0]),_0x51d574=_0x2759ff[_0x62310a(0x148)][_0x62310a(0x223)](_0x46e032[_0x62310a(0x193)][0x0]);for(let _0x1e21bf=_0x1986be[_0x62310a(0x2da)]-0x1;_0x1e21bf>=0x0;_0x1e21bf--){const _0x1ccb13={'id':'doc.mutation.rich-text-editing','params':{..._0x1986be[_0x1e21bf]}},_0x30c979={'id':_0x62310a(0x12a),'params':{..._0x9fdc1c[_0x1e21bf]}},_0x1d8d50=this[_0x62310a(0x2b5)][_0x62310a(0x1dc)](_0x28f1b3,_0x1ccb13,!0x1),_0x54a3f4=this[_0x62310a(0x2b5)][_0x62310a(0x1dc)](_0x51d574,_0x30c979,!0x1);if(_0xd015f1['isTransformMutationFailure'](_0x1d8d50))throw _0x1d8d50['error'];if(_0xd015f1[_0x62310a(0x150)](_0x54a3f4))throw _0x54a3f4[_0x62310a(0x23d)];_0x551535[_0x62310a(0x1cb)](_0x1d8d50[_0x62310a(0x2db)][_0x62310a(0x299)]),_0xaefed3[_0x62310a(0x1cb)](_0x54a3f4['m2Prime'][_0x62310a(0x299)]),_0x28f1b3=_0x1d8d50[_0x62310a(0x117)],_0x51d574=_0x54a3f4['m1Prime'];}_0x4dc989[_0x62310a(0x251)]({'undoCache':_0x551535,'redoCache':_0xaefed3});}[_0x201e57(0x321)](_0x1f6d8b){const _0x2f9031=_0x201e57,{unitID:_0x512021}=_0x1f6d8b,_0x25e4f4=this['_renderManagerService'][_0x2f9031(0x1d1)](_0x512021)[_0x2f9031(0x293)](_0x26d882['DocIMEInputManagerService']),_0x4d76c9=_0x25e4f4[_0x2f9031(0x2cb)]();if(_0x4d76c9==null)return;const _0x36d931=[{'id':_0x2f9031(0x12a),'params':{'unitId':_0x1f6d8b[_0x2f9031(0x124)],'actions':null,'textRanges':[_0x4d76c9]}}],_0x5eef45=this[_0x2f9031(0x2b5)][_0x2f9031(0x140)](_0x1f6d8b,_0x36d931);if(!_0xd015f1[_0x2f9031(0x11e)](_0x5eef45))throw _0x5eef45['error'];const _0x43dfed=_0x5eef45[_0x2f9031(0x2db)][0x0]['params'][_0x2f9031(0x214)];Array[_0x2f9031(0x2ff)](_0x43dfed)&&_0x43dfed[_0x2f9031(0x2da)]&&_0x25e4f4[_0x2f9031(0xfc)](_0x43dfed[0x0]);}};_0x4251c2=_0xf48e9d([_0x17553b(0x0,_0x2759ff['Inject'](_0x2759ff[_0x201e57(0x118)])),_0x17553b(0x1,_0xd015f1[_0x201e57(0x261)]),_0x17553b(0x2,_0xa08486[_0x201e57(0x185)])],_0x4251c2);var _0x3ac42c=Object[_0x201e57(0x241)],_0x4b8d1d=(_0x46ef9a,_0x48f5c5,_0x6799f9,_0x212947)=>{const _0x1a3481=_0x201e57;for(var _0x1c577b=_0x212947>0x1?void 0x0:_0x212947?_0x3ac42c(_0x48f5c5,_0x6799f9):_0x48f5c5,_0x42f1c9=_0x46ef9a[_0x1a3481(0x2da)]-0x1,_0x374bf8;_0x42f1c9>=0x0;_0x42f1c9--)(_0x374bf8=_0x46ef9a[_0x42f1c9])&&(_0x1c577b=_0x374bf8(_0x1c577b)||_0x1c577b);return _0x1c577b;},_0xe59cc0=(_0x469852,_0x2bf2da)=>(_0x45c52a,_0x4d8b24)=>_0x2bf2da(_0x45c52a,_0x4d8b24,_0x469852);let _0x5c19d3=class{constructor(_0x2d72be,_0x27d48f,_0x4c4634){const _0x319299=_0x201e57;this[_0x319299(0x15a)]=_0x2d72be,this[_0x319299(0x2b5)]=_0x27d48f,this[_0x319299(0x14c)]=_0x4c4634;}[_0x201e57(0x23c)](_0x5a8975){this['_transformHistoryAndStateStack'](_0x5a8975);}[_0x201e57(0x1b3)](_0x427f50){const _0x21dbc7=_0x201e57,{unitID:_0x594759}=_0x427f50,{collaboration:_0x4a1b21}=this['_docStateChangeManagerService'][_0x21dbc7(0x1e0)](_0x594759);if(_0x4a1b21[_0x21dbc7(0x2da)]===0x0)return _0x427f50;let _0x4c72f3=_0x2759ff[_0x21dbc7(0x148)][_0x21dbc7(0x223)](_0x427f50[_0x21dbc7(0x193)][0x0]);for(let _0x27a100=0x0;_0x27a100<_0x4a1b21[_0x21dbc7(0x2da)];_0x27a100++){const _0xb02005={'id':_0x21dbc7(0x12a),'params':{'unitId':_0x4a1b21[_0x27a100][_0x21dbc7(0x2eb)],..._0x4a1b21[_0x27a100][_0x21dbc7(0x248)]}},_0x5eeb09=this['_transformService'][_0x21dbc7(0x1dc)](_0x4c72f3,_0xb02005,!0x1);if(_0xd015f1[_0x21dbc7(0x150)](_0x5eeb09))throw _0x5eeb09['error'];_0x4c72f3=_0x5eeb09[_0x21dbc7(0x117)];}return{..._0x2759ff[_0x21dbc7(0x148)]['deepClone'](_0x427f50),'mutations':[_0x4c72f3]};}[_0x201e57(0x38c)](_0x36ae7a){const _0x3096e7=_0x201e57,{unitID:_0x1859e6}=_0x36ae7a,{history:_0x57732e,collaboration:_0x434850}=this[_0x3096e7(0x14c)][_0x3096e7(0x1e0)](_0x1859e6);if(_0x57732e[_0x3096e7(0x2da)]===0x0&&_0x434850[_0x3096e7(0x2da)]===0x0)return;const _0x10be32=[],_0x2d86b2=[];let _0x330734=_0x2759ff[_0x3096e7(0x148)][_0x3096e7(0x223)](_0x36ae7a[_0x3096e7(0x193)][0x0]),_0x46f77e=_0x2759ff[_0x3096e7(0x148)][_0x3096e7(0x223)](_0x36ae7a[_0x3096e7(0x193)][0x0]);for(let _0x31b84a=_0x57732e['length']-0x1;_0x31b84a>=0x0;_0x31b84a--){const _0x291c47={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x57732e[_0x31b84a][_0x3096e7(0x2eb)],..._0x57732e[_0x31b84a][_0x3096e7(0x358)]}},_0x59576f={'id':_0x3096e7(0x12a),'params':{'unitId':_0x57732e[_0x31b84a]['unitId'],..._0x57732e[_0x31b84a][_0x3096e7(0x248)]}},_0xe56472=this[_0x3096e7(0x2b5)][_0x3096e7(0x1dc)](_0x330734,_0x291c47,!0x1),_0x40e4dc=this[_0x3096e7(0x2b5)][_0x3096e7(0x1dc)](_0x46f77e,_0x59576f,!0x1);if(_0xd015f1['isTransformMutationFailure'](_0xe56472))throw _0xe56472[_0x3096e7(0x23d)];if(_0xd015f1[_0x3096e7(0x150)](_0x40e4dc))throw _0x40e4dc['error'];_0x10be32['unshift']({..._0x57732e[_0x31b84a],'undoState':_0xe56472[_0x3096e7(0x2db)][_0x3096e7(0x299)],'redoState':_0x40e4dc[_0x3096e7(0x2db)][_0x3096e7(0x299)]}),_0x330734=_0xe56472[_0x3096e7(0x117)],_0x46f77e=_0x40e4dc['m1Prime'];}_0x330734=_0x2759ff['Tools'][_0x3096e7(0x223)](_0x36ae7a[_0x3096e7(0x193)][0x0]),_0x46f77e=_0x2759ff[_0x3096e7(0x148)][_0x3096e7(0x223)](_0x36ae7a[_0x3096e7(0x193)][0x0]);for(let _0x57b3eb=_0x434850[_0x3096e7(0x2da)]-0x1;_0x57b3eb>=0x0;_0x57b3eb--){const _0x162d27={'id':_0x3096e7(0x12a),'params':{'unitId':_0x434850[_0x57b3eb][_0x3096e7(0x2eb)],..._0x434850[_0x57b3eb]['undoState']}},_0x2fb1da={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x434850[_0x57b3eb]['unitId'],..._0x434850[_0x57b3eb][_0x3096e7(0x248)]}},_0x3499b9=this['_transformService']['transformMutation'](_0x330734,_0x162d27,!0x1),_0x377ef2=this[_0x3096e7(0x2b5)]['transformMutation'](_0x46f77e,_0x2fb1da,!0x1);if(_0xd015f1[_0x3096e7(0x150)](_0x3499b9))throw _0x3499b9[_0x3096e7(0x23d)];if(_0xd015f1[_0x3096e7(0x150)](_0x377ef2))throw _0x377ef2[_0x3096e7(0x23d)];_0x2d86b2[_0x3096e7(0x1cb)]({..._0x434850[_0x57b3eb],'undoState':_0x3499b9[_0x3096e7(0x2db)][_0x3096e7(0x299)],'redoState':_0x377ef2[_0x3096e7(0x2db)][_0x3096e7(0x299)]}),_0x330734=_0x3499b9[_0x3096e7(0x117)],_0x46f77e=_0x377ef2[_0x3096e7(0x117)];}this[_0x3096e7(0x14c)][_0x3096e7(0x1a6)](_0x1859e6,{'history':_0x10be32,'collaboration':_0x2d86b2});}};_0x5c19d3=_0x4b8d1d([_0xe59cc0(0x0,_0x2759ff['Inject'](_0x2759ff[_0x201e57(0x118)])),_0xe59cc0(0x1,_0xd015f1[_0x201e57(0x261)]),_0xe59cc0(0x2,_0x2759ff[_0x201e57(0x1d6)](_0x26d882[_0x201e57(0x351)]))],_0x5c19d3);var _0x2a7e9d=Object[_0x201e57(0x241)],_0x15a677=(_0x236bef,_0x115dc0,_0x2cf317,_0x164ec7)=>{const _0x141515=_0x201e57;for(var _0x285f87=_0x164ec7>0x1?void 0x0:_0x164ec7?_0x2a7e9d(_0x115dc0,_0x2cf317):_0x115dc0,_0x2f08f9=_0x236bef[_0x141515(0x2da)]-0x1,_0x3f2467;_0x2f08f9>=0x0;_0x2f08f9--)(_0x3f2467=_0x236bef[_0x2f08f9])&&(_0x285f87=_0x3f2467(_0x285f87)||_0x285f87);return _0x285f87;},_0x406c06=(_0x651062,_0x5a03a7)=>(_0x1a4e64,_0x1d1adc)=>_0x5a03a7(_0x1a4e64,_0x1d1adc,_0x651062);let _0x339e47=class{constructor(_0x4d4f42,_0x5dda0a){const _0x420922=_0x201e57;this[_0x420922(0x15a)]=_0x4d4f42,this[_0x420922(0x2b5)]=_0x5dda0a;}['transformSelections'](_0x4507c6){const _0x2293f3=_0x201e57;var _0x50f176;const _0xe2894a=this[_0x2293f3(0x15a)][_0x2293f3(0x363)](_0x12f405[_0x2293f3(0x1bb)]),_0xf8eef0=(_0x50f176=_0xe2894a['getDocRanges']())!=null?_0x50f176:[];if(_0xf8eef0[_0x2293f3(0x2da)]===0x0)return;const _0x555c82=_0x4507c6[_0x2293f3(0x124)],_0x2fd8f7=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x555c82,'actions':null,'textRanges':_0xf8eef0}}],_0x4f4a0d=this[_0x2293f3(0x2b5)][_0x2293f3(0x140)](_0x4507c6,_0x2fd8f7);if(!_0xd015f1[_0x2293f3(0x11e)](_0x4f4a0d))throw _0x4f4a0d[_0x2293f3(0x23d)];const _0x57c9d8=_0x4f4a0d['m2Prime'][0x0][_0x2293f3(0x299)][_0x2293f3(0x214)];Array[_0x2293f3(0x2ff)](_0x57c9d8)&&_0x57c9d8[_0x2293f3(0x2da)]&&_0xe2894a[_0x2293f3(0x1de)](_0x57c9d8,{'unitId':_0x555c82,'subUnitId':_0x555c82},!0x1);}};_0x339e47=_0x15a677([_0x406c06(0x0,_0x2759ff[_0x201e57(0x1d6)](_0x2759ff[_0x201e57(0x118)])),_0x406c06(0x1,_0xd015f1[_0x201e57(0x261)])],_0x339e47);var _0x221843=Object[_0x201e57(0x241)],_0x5d4887=(_0x2b6f29,_0x213e68,_0x1eb353,_0x140478)=>{const _0x391386=_0x201e57;for(var _0x1a2717=_0x140478>0x1?void 0x0:_0x140478?_0x221843(_0x213e68,_0x1eb353):_0x213e68,_0x4e7541=_0x2b6f29[_0x391386(0x2da)]-0x1,_0x19bbdb;_0x4e7541>=0x0;_0x4e7541--)(_0x19bbdb=_0x2b6f29[_0x4e7541])&&(_0x1a2717=_0x19bbdb(_0x1a2717)||_0x1a2717);return _0x1a2717;},_0x2d1036=(_0x50f585,_0x348d88)=>(_0x333988,_0x125351)=>_0x348d88(_0x333988,_0x125351,_0x50f585);let _0x555da5=class extends _0x2759ff['Disposable']{constructor(_0x3e0223,_0x911070,_0x3341a5,_0x6747b9,_0x35866c,_0x5e2b44,_0x3ef2a8,_0x39fab6){const _0x1366c9=_0x201e57;super(),_0x252fd8(this,_0x1366c9(0x1cd),new _0x537bbf[(_0x1366c9(0x116))](_0x3eb9ff[_0x1366c9(0x2ce)][_0x1366c9(0x347)])),(this[_0x1366c9(0x14c)]=_0x3e0223,this['_collaborationController']=_0x911070,this[_0x1366c9(0x349)]=_0x3341a5,this[_0x1366c9(0x291)]=_0x6747b9,this[_0x1366c9(0x22a)]=_0x35866c,this[_0x1366c9(0x38d)]=_0x5e2b44,this['_messageService']=_0x3ef2a8,this[_0x1366c9(0x157)]=_0x39fab6,this[_0x1366c9(0x3a4)]());}[_0x201e57(0x3a4)](){const _0x21ee70=_0x201e57;this[_0x21ee70(0x38b)](this[_0x21ee70(0x10b)][_0x21ee70(0x323)][_0x21ee70(0x30d)](_0x4a2c22=>{const _0x5336c3=_0x21ee70,_0x4e5de4=this[_0x5336c3(0x14c)][_0x5336c3(0x257)][_0x5336c3(0x30d)](_0x57bbcf=>{const _0xc309a5=_0x5336c3;if(_0x57bbcf==null)return;const {unitId:_0x2e8df3,redoState:_0xf967bf,commandId:_0xb018fe}=_0x57bbcf;if(_0x2e8df3!==_0x4a2c22[_0xc309a5(0x124)])return;const _0x3dfe4c={'id':_0xb018fe,'type':_0x2759ff[_0xc309a5(0x281)][_0xc309a5(0x166)],'params':{'unitId':_0x2e8df3,'actions':_0xf967bf[_0xc309a5(0x2fb)],'textRanges':null}};_0x4a2c22[_0xc309a5(0x13b)](_0x3dfe4c);});if(_0x4a2c22['disposeWithMe'](_0x4e5de4),_0x4a2c22 instanceof _0x3eb9ff[_0x5336c3(0x366)]){const _0x328d0b={'onTransformIME':_0x27307b=>this['_docTransformIMECacheService'][_0x5336c3(0x2a9)](_0x27307b),'onTransformState':_0x53d7d6=>this[_0x5336c3(0x291)]['transformStateCache'](_0x53d7d6),'onTransformSelections':_0xfd20ed=>this[_0x5336c3(0x22a)][_0x5336c3(0x34b)](_0xfd20ed),'onSyncEditingCollabCursor':_0x51145b=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x51145b),'onTransformRemoteChangesetByIMECache':_0x3cff2a=>this[_0x5336c3(0x349)][_0x5336c3(0x1b3)](_0x3cff2a),'onTransformRemoteChangesetByStateCache':_0x4521bf=>this[_0x5336c3(0x291)][_0x5336c3(0x1b3)](_0x4521bf)};_0x4a2c22[_0x5336c3(0x318)](_0x328d0b);}}));}};_0x555da5=_0x5d4887([_0x2d1036(0x0,_0x2759ff[_0x201e57(0x1d6)](_0x26d882[_0x201e57(0x351)])),_0x2d1036(0x1,_0x2759ff[_0x201e57(0x1d6)](_0x3eb9ff[_0x201e57(0x359)])),_0x2d1036(0x2,_0x2759ff[_0x201e57(0x1d6)](_0x4251c2)),_0x2d1036(0x3,_0x2759ff['Inject'](_0x5c19d3)),_0x2d1036(0x4,_0x2759ff[_0x201e57(0x1d6)](_0x339e47)),_0x2d1036(0x5,_0x2759ff[_0x201e57(0x1d6)](_0x2261c7)),_0x2d1036(0x6,_0x1f9573[_0x201e57(0x1d8)]),_0x2d1036(0x7,_0x2759ff[_0x201e57(0x1d6)](_0x2759ff[_0x201e57(0x218)]))],_0x555da5);var _0x2218a3=Object['getOwnPropertyDescriptor'],_0x2a3c29=(_0x2678ea,_0x55a9d4,_0x5d03dc,_0x160573)=>{const _0x51d012=_0x201e57;for(var _0x3f293b=_0x160573>0x1?void 0x0:_0x160573?_0x2218a3(_0x55a9d4,_0x5d03dc):_0x55a9d4,_0x4e9c12=_0x2678ea[_0x51d012(0x2da)]-0x1,_0x3bbd65;_0x4e9c12>=0x0;_0x4e9c12--)(_0x3bbd65=_0x2678ea[_0x4e9c12])&&(_0x3f293b=_0x3bbd65(_0x3f293b)||_0x3f293b);return _0x3f293b;},_0x4dbdc0=(_0x3f586c,_0x4a63cd)=>(_0x174e14,_0x34b157)=>_0x4a63cd(_0x174e14,_0x34b157,_0x3f586c);let _0xf81fe1=class extends _0x2759ff[_0x201e57(0x258)]{constructor(_0x53a764,_0x4e81ba,_0x1ba6f2){const _0x386f71=_0x201e57;super(),_0x252fd8(this,_0x386f71(0x221),new Map()),_0x252fd8(this,'_saveTaskMap',new Map()),_0x252fd8(this,_0x386f71(0x2df),!0x1),(this['_configService']=_0x53a764,this['_localStorageService']=_0x4e81ba,this[_0x386f71(0x228)]=_0x1ba6f2);}[_0x201e57(0x152)](){this['_disabled']=!0x0;}[_0x201e57(0x147)](){const _0x1ce4f0=_0x201e57;this[_0x1ce4f0(0x2df)]=!0x1;}get[_0x201e57(0x134)](){const _0x50792d=_0x201e57;return this[_0x50792d(0x398)];}[_0x201e57(0x2c2)](){const _0x32f58e=_0x201e57;this[_0x32f58e(0x33e)]()['then'](()=>super[_0x32f58e(0x2c2)]());}async[_0x201e57(0x348)](_0x5120c9){const _0x183990=_0x201e57;return this[_0x183990(0x2df)]?null:this['_localStorageService'][_0x183990(0x23e)](_0x3eb9ff[_0x183990(0x21d)](_0x5120c9));}async[_0x201e57(0x129)](_0x310ec3,_0x5c1258){const _0x1d8fc0=_0x201e57;return!!this[_0x1d8fc0(0x265)][_0x1d8fc0(0x2af)](_0x310ec3,_0x5c1258);}['updateOfflineData'](_0x4a63af,_0x5ad78f,_0x4e4f49,_0x2d45ab){const _0x318027=_0x201e57,_0x287a76=this[_0x318027(0x228)][_0x318027(0x2ec)](_0x4a63af);this['_cachedData']['set'](_0x4a63af,{'unitID':_0x4a63af,'type':_0x5ad78f,'awaitingChangeset':_0x4e4f49,'mutations':_0x2d45ab,'rev':_0x287a76}),this[_0x318027(0x398)][_0x318027(0x26f)](_0x4a63af)||this[_0x318027(0x36d)](_0x4a63af);}['_scheduleSaving'](_0xf7cf5c){const _0x17e40c=_0x201e57,_0x4f315f=this[_0x17e40c(0x180)]();_0x4f315f===0x0?this[_0x17e40c(0x24d)](_0xf7cf5c):this[_0x17e40c(0x398)]['set'](_0xf7cf5c,setTimeout(()=>this[_0x17e40c(0x24d)](_0xf7cf5c),_0x4f315f));}[_0x201e57(0x180)](){const _0x58b2e5=_0x201e57;var _0x4934cc;return(_0x4934cc=this[_0x58b2e5(0x125)][_0x58b2e5(0x327)](_0x3eb9ff[_0x58b2e5(0x255)]))!=null?_0x4934cc:_0x3eb9ff[_0x58b2e5(0x364)];}[_0x201e57(0x24d)](_0x54508d){const _0x2a4bfd=_0x201e57,_0xf6d6a3=this[_0x2a4bfd(0x398)][_0x2a4bfd(0x363)](_0x54508d);return _0xf6d6a3!==void 0x0&&window[_0x2a4bfd(0x1bc)](_0xf6d6a3),this[_0x2a4bfd(0x265)][_0x2a4bfd(0x2af)](_0x3eb9ff[_0x2a4bfd(0x21d)](_0x54508d),this[_0x2a4bfd(0x221)][_0x2a4bfd(0x363)](_0x54508d))[_0x2a4bfd(0x301)](()=>this['_saveTaskMap'][_0x2a4bfd(0x1c1)](_0x54508d));}async['exhaustSavingTask'](){const _0x54908f=_0x201e57,_0x351a3f=[];this[_0x54908f(0x398)][_0x54908f(0x2e8)]((_0x486149,_0x4dbdec)=>{const _0x4fec0e=_0x54908f;window['clearTimeout'](_0x486149),_0x351a3f[_0x4fec0e(0x260)](this[_0x4fec0e(0x24d)](_0x4dbdec)['then'](()=>{const _0x368059=_0x4fec0e;this[_0x368059(0x398)][_0x368059(0x1c1)](_0x4dbdec);}));}),await Promise[_0x54908f(0x278)](_0x351a3f);}};_0xf81fe1=_0x2a3c29([_0x4dbdc0(0x0,_0x2759ff[_0x201e57(0x122)]),_0x4dbdc0(0x1,_0x2759ff[_0x201e57(0x1a3)]),_0x4dbdc0(0x2,_0x2759ff['Inject'](_0xd015f1['RevisionService']))],_0xf81fe1);class _0x76fd58 extends _0x2759ff[_0x201e57(0x243)]{constructor(){const _0x2562aa=_0x201e57;super(),_0x252fd8(this,_0x2562aa(0x158)),this['urlChange$']=_0x537bbf[_0x2562aa(0x2a6)](window,_0x2562aa(0x120))[_0x2562aa(0x1fb)](_0x537bbf['takeUntil'](this[_0x2562aa(0x311)]),_0x537bbf[_0x2562aa(0x225)](0x1),_0x537bbf[_0x2562aa(0x365)](void 0x0));}[_0x201e57(0x29e)](_0x34268a,_0x249fce,_0x5be0fe=!0x1){const _0x3d240d=_0x201e57,_0x1b8312=new URL(window[_0x3d240d(0x227)]['href']);_0x1b8312['searchParams'][_0x3d240d(0x18d)](_0x34268a,_0x249fce),_0x5be0fe?window[_0x3d240d(0x2a3)]['replaceState']('','',_0x1b8312[_0x3d240d(0x15b)]()):window[_0x3d240d(0x2a3)]['pushState']('','',_0x1b8312[_0x3d240d(0x15b)]());}['removeParam'](_0x3929bb,_0x3291d5=!0x1){const _0x5d132f=_0x201e57,_0x26a8f3=new URL(window[_0x5d132f(0x227)][_0x5d132f(0x20e)]);_0x26a8f3[_0x5d132f(0x2b7)][_0x5d132f(0x1c1)](_0x3929bb),_0x3291d5?window[_0x5d132f(0x2a3)][_0x5d132f(0x344)]('','',_0x26a8f3[_0x5d132f(0x15b)]()):window[_0x5d132f(0x2a3)][_0x5d132f(0x104)]('','',_0x26a8f3[_0x5d132f(0x15b)]());}[_0x201e57(0x2fe)](_0x53036d){const _0x277ff1=_0x201e57;var _0x5d188c;return(_0x5d188c=new URL(window[_0x277ff1(0x227)][_0x277ff1(0x20e)])[_0x277ff1(0x2b7)]['get'](_0x53036d))!=null?_0x5d188c:void 0x0;}}var _0x1073d3=Object[_0x201e57(0x13a)],_0x4c678c=Object[_0x201e57(0x241)],_0x578ba1=(_0x4959ff,_0x30889b,_0x57dd8c)=>_0x30889b in _0x4959ff?_0x1073d3(_0x4959ff,_0x30889b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x57dd8c}):_0x4959ff[_0x30889b]=_0x57dd8c,_0x4b98da=(_0x5a7930,_0x431308,_0x20afb6,_0x222951)=>{const _0xa9e302=_0x201e57;for(var _0x1d0769=_0x222951>0x1?void 0x0:_0x222951?_0x4c678c(_0x431308,_0x20afb6):_0x431308,_0x37d5f4=_0x5a7930[_0xa9e302(0x2da)]-0x1,_0x580728;_0x37d5f4>=0x0;_0x37d5f4--)(_0x580728=_0x5a7930[_0x37d5f4])&&(_0x1d0769=_0x580728(_0x1d0769)||_0x1d0769);return _0x1d0769;},_0x5d6cab=(_0x5332c7,_0x2ac0b0)=>(_0x480941,_0x3c963c)=>_0x2ac0b0(_0x480941,_0x3c963c,_0x5332c7),_0x2d29ae=(_0xda5ca6,_0xfdeebb,_0x8fa340)=>_0x578ba1(_0xda5ca6,_0xfdeebb+'',_0x8fa340);const _0xb160ca='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x45539c[_0x201e57(0x171)]=class extends _0x2759ff[_0x201e57(0x18c)]{constructor(_0x14dac7=_0x1f4474,_0x4e3e60,_0x97d5c6,_0x489ca2){const _0x52db96=_0x201e57;super(),this[_0x52db96(0x31c)]=_0x14dac7,this[_0x52db96(0x1c5)]=_0x4e3e60,this[_0x52db96(0x15a)]=_0x97d5c6,this['_configService']=_0x489ca2;const {..._0x3a7210}=_0x2759ff[_0x52db96(0x37f)]({},_0x1f4474,this[_0x52db96(0x31c)]);this[_0x52db96(0x125)][_0x52db96(0x133)](_0x37fdea,_0x3a7210);}[_0x201e57(0x385)](){const _0x217c12=_0x201e57;this[_0x217c12(0x314)](),this['_initDependencies']();}[_0x201e57(0x142)](){const _0x2c7f91=_0x201e57;this[_0x2c7f91(0x247)]();}['_registerDependencies'](){const _0x2be483=_0x201e57;var _0x58e822;const _0x3e599f=[[_0x3cb2a0],[_0x339e47],[_0x4251c2],[_0x5c19d3],[_0x2261c7],[_0x32c919,{'useClass':_0x76fd58}],[_0x194e64[_0x2be483(0x32e)],{'useClass':_0x194e64[_0x2be483(0x20d)]}],[_0x3eb9ff[_0x2be483(0x22f)],{'useClass':_0xf81fe1}],[_0x45539c[_0x2be483(0x35d)]],[_0x555da5],[_0x49b9f8],[_0xf08a42],[_0x3b2650],[_0x45539c[_0x2be483(0x153)]]];_0x2759ff[_0x2be483(0x30e)](this[_0x2be483(0x15a)],_0x2759ff[_0x2be483(0x16c)](_0x3e599f,(_0x58e822=this[_0x2be483(0x31c)])==null?void 0x0:_0x58e822[_0x2be483(0x143)]));}[_0x201e57(0x247)](){const _0x2e62b8=_0x201e57;this[_0x2e62b8(0x38b)](this[_0x2e62b8(0x1c5)]['registerRenderModule'](_0x2759ff[_0x2e62b8(0x280)][_0x2e62b8(0x12d)],[_0x185e83])),this[_0x2e62b8(0x38b)](this[_0x2e62b8(0x1c5)][_0x2e62b8(0x356)](_0x2759ff[_0x2e62b8(0x280)][_0x2e62b8(0x105)],[_0x57b6ea]));}[_0x201e57(0x19b)](){const _0x24246f=_0x201e57;_0x2759ff['touchDependencies'](this[_0x24246f(0x15a)],[[_0xf08a42],[_0x45539c[_0x24246f(0x35d)]],[_0x555da5],[_0x49b9f8],[_0x45539c[_0x24246f(0x153)]]]);}},_0x2d29ae(_0x45539c['UniverCollaborationClientUIPlugin'],_0x201e57(0x111),_0xb160ca),_0x45539c[_0x201e57(0x171)]=_0x4b98da([_0x2759ff['DependentOn'](_0x3eb9ff[_0x201e57(0x32c)]),_0x5d6cab(0x1,_0xa08486[_0x201e57(0x185)]),_0x5d6cab(0x2,_0x2759ff['Inject'](_0x2759ff[_0x201e57(0x118)])),_0x5d6cab(0x3,_0x2759ff[_0x201e57(0x122)])],_0x45539c['UniverCollaborationClientUIPlugin']);var _0xb9ada1=Object[_0x201e57(0x241)],_0x1d7923=(_0x41d739,_0x47210f,_0xc341c5,_0x8ff131)=>{const _0x5e673f=_0x201e57;for(var _0x9e87d3=_0x8ff131>0x1?void 0x0:_0x8ff131?_0xb9ada1(_0x47210f,_0xc341c5):_0x47210f,_0x5daab6=_0x41d739[_0x5e673f(0x2da)]-0x1,_0x435f48;_0x5daab6>=0x0;_0x5daab6--)(_0x435f48=_0x41d739[_0x5daab6])&&(_0x9e87d3=_0x435f48(_0x9e87d3)||_0x9e87d3);return _0x9e87d3;},_0xb9c6e6=(_0x2a3cac,_0x3b1152)=>(_0x27363b,_0x23b494)=>_0x3b1152(_0x27363b,_0x23b494,_0x2a3cac);_0x45539c[_0x201e57(0x249)]=class extends _0x3eb9ff[_0x201e57(0x18b)]{constructor(_0x2e744d,_0x4c01df,_0x5b362d,_0x226cc1,_0x2c4531){super(_0x2e744d,_0x4c01df,_0x5b362d,_0x226cc1,_0x2c4531);}async[_0x201e57(0x388)](_0x2055af){const _0x24f442=_0x201e57,_0x3b463a=await this[_0x24f442(0x13c)](),_0x330c59=this['_createSocketURL'](_0x2055af,_0x3b463a);return this[_0x24f442(0x1c9)](_0x330c59);}[_0x201e57(0x32a)](_0x168e29,_0x443a8f){const _0x245ff9=_0x201e57,_0x2bdd17=typeof window>'u'?new URL(_0x168e29):new URL(_0x168e29,window[_0x245ff9(0x227)]['origin']);_0x2bdd17['searchParams'][_0x245ff9(0x18d)](_0x245ff9(0x337),_0x443a8f);const _0x31c4eb=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x245ff9(0x227)]['search']);return _0x31c4eb[_0x245ff9(0x363)](_0x245ff9(0x189))&&_0x2bdd17[_0x245ff9(0x2b7)][_0x245ff9(0x18d)](_0x245ff9(0x189),_0x31c4eb['get'](_0x245ff9(0x189))),_0x2bdd17[_0x245ff9(0x15b)]();}async[_0x201e57(0x13c)](){const _0x4f8c08=_0x201e57;var _0x531609,_0x173057,_0x242c70;const _0x22bb18=this[_0x4f8c08(0x125)][_0x4f8c08(0x327)](_0x3eb9ff[_0x4f8c08(0x1f9)]),_0x5a22eb=(_0x531609=_0x22bb18==null?void 0x0:_0x22bb18[_0x4f8c08(0x335)])!=null?_0x531609:_0x3eb9ff[_0x4f8c08(0x1c0)];return(_0x242c70=(_0x173057=(await this[_0x4f8c08(0x1af)][_0x4f8c08(0x363)](_0x5a22eb,{'headers':{'Content-Type':'application/json'}}))[_0x4f8c08(0x29d)])==null?void 0x0:_0x173057['ticket'])!=null?_0x242c70:'';}},_0x45539c[_0x201e57(0x249)]=_0x1d7923([_0xb9c6e6(0x0,_0x2759ff[_0x201e57(0x1d6)](_0x2759ff['Injector'])),_0xb9c6e6(0x1,_0x2759ff['Inject'](_0x194e64['HTTPService'])),_0xb9c6e6(0x2,_0x2759ff[_0x201e57(0x122)]),_0xb9c6e6(0x3,_0x2759ff['ILogService']),_0xb9c6e6(0x4,_0xd015f1[_0x201e57(0x39c)])],_0x45539c[_0x201e57(0x249)]);const _0x5b3d18=0x7530,_0x57dce8=_0x201e57(0x2ed);class _0x1d8df8 extends _0x2759ff[_0x201e57(0x258)]{constructor(){const _0x2bb4ee=_0x201e57;super(),_0x252fd8(this,'_id',_0x2759ff[_0x2bb4ee(0x1fa)]()),_0x252fd8(this,'_selfUnitIDs',new Set()),_0x252fd8(this,'_unitOnClients',new Map()),_0x252fd8(this,_0x2bb4ee(0x3a2),null),_0x252fd8(this,'_clearOtherTimers',new Map()),_0x252fd8(this,'_unitStatus',new Map()),this['_init']();}[_0x201e57(0x2c2)](){const _0x41ad41=_0x201e57;super[_0x41ad41(0x2c2)](),this['_clearOtherTimers']['forEach']((_0x1d0478,_0x315fad)=>this['_removeClearOtherTimer'](_0x315fad)),this['_heartbeatTimer']&&window[_0x41ad41(0x112)](this[_0x41ad41(0x3a2)]);}[_0x201e57(0x115)](_0x1fe2fb){const _0x31b7a9=_0x201e57;return this[_0x31b7a9(0x1a2)](_0x1fe2fb)[_0x31b7a9(0x1fb)](_0x537bbf[_0x31b7a9(0x18f)]());}['editingUnit'](_0x2bbb5b){const _0x25df81=_0x201e57;this[_0x25df81(0x313)][_0x25df81(0x1b1)]===0x0&&this['_scheduleHeartbeat'](),this[_0x25df81(0x313)][_0x25df81(0x27d)](_0x2bbb5b),this['_send']({'type':0x0,'memberID':this[_0x25df81(0x1f5)],'unitIDs':[_0x2bbb5b],'isForwarded':!0x1});}[_0x201e57(0x1e1)](_0x19bfac){const _0x4015f8=_0x201e57;this[_0x4015f8(0x313)][_0x4015f8(0x1c1)](_0x19bfac),this[_0x4015f8(0x313)][_0x4015f8(0x1b1)]===0x0&&this[_0x4015f8(0x3a2)]&&window[_0x4015f8(0x112)](this[_0x4015f8(0x3a2)]);}[_0x201e57(0x338)](){const _0xcd768c=_0x201e57;this[_0xcd768c(0x38b)](_0x2759ff[_0xcd768c(0x36b)](_0x537bbf['fromEvent'](window,_0xcd768c(0x1b5))[_0xcd768c(0x30d)](_0xdb15c=>{const _0x33761d=_0xcd768c;if(_0xdb15c['key']!==_0x57dce8||!_0xdb15c[_0x33761d(0x2ef)])return;const _0x3c2fca=JSON[_0x33761d(0x324)](_0xdb15c[_0x33761d(0x2ef)]);this[_0x33761d(0x384)](_0x3c2fca);}))),window[_0xcd768c(0x2c9)](_0xcd768c(0x240),()=>this[_0xcd768c(0x1ce)]({'type':0x1,'memberID':this[_0xcd768c(0x1f5)],'unitIDs':Array[_0xcd768c(0x203)](this[_0xcd768c(0x313)])}));}[_0x201e57(0x384)](_0x263abc){const _0x482953=_0x201e57;switch(_0x263abc['type']){case 0x0:this[_0x482953(0x30a)](_0x263abc);break;case 0x1:this[_0x482953(0x389)](_0x263abc);break;case 0x2:this['_handleHeartbeatEvent'](_0x263abc);break;}}['_handleJoinEvent'](_0xa22fcb){const _0x2745be=_0x201e57,{unitIDs:_0x33df64,memberID:_0x4287ff,isForwarded:_0x3c4926}=_0xa22fcb;_0x33df64['forEach'](_0x4ef992=>{const _0x31a556=_0x1dc9;if(!_0x3c4926&&this['_unitOnClients'][_0x31a556(0x26f)](_0x4ef992)&&this[_0x31a556(0x1a2)](_0x4ef992)['next'](_0x3eb9ff['UnitStatus'][_0x31a556(0x13e)]),!this[_0x31a556(0x292)][_0x31a556(0x26f)](_0x4ef992)||!this['_unitOnClients']['get'](_0x4ef992)[_0x31a556(0x26f)](_0x4287ff)){const _0xa22dbd=this[_0x31a556(0x292)]['get'](_0x4ef992)||new Set();_0xa22dbd[_0x31a556(0x27d)](_0x4287ff),this[_0x31a556(0x292)][_0x31a556(0x18d)](_0x4ef992,_0xa22dbd),this[_0x31a556(0x170)](_0x4287ff);}}),_0x3c4926||this['_send']({'type':0x0,'memberID':this[_0x2745be(0x1f5)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x1b988b){const _0x1cbefa=_0x201e57;this['_removeClearOtherTimer'](_0x1b988b);const _0x5293e0=window[_0x1cbefa(0x2b1)](()=>{const _0x2205c8=_0x1cbefa;this[_0x2205c8(0x292)][_0x2205c8(0x2e8)](_0x13568f=>{const _0x2cd140=_0x2205c8;_0x13568f[_0x2cd140(0x1c1)](_0x1b988b);});},_0x5b3d18*0x2);this[_0x1cbefa(0x379)][_0x1cbefa(0x18d)](_0x1b988b,_0x5293e0);}[_0x201e57(0x342)](_0x1387e7){const _0x439a64=_0x201e57;if(this['_clearOtherTimers']['has'](_0x1387e7)){const _0x5e19bb=this[_0x439a64(0x379)]['get'](_0x1387e7);_0x5e19bb&&window['clearTimeout'](_0x5e19bb),this[_0x439a64(0x379)]['set'](_0x1387e7,null);}}[_0x201e57(0x389)](_0x58189a){const _0x2716be=_0x201e57,{memberID:_0x5cd04d,unitIDs:_0x221f24}=_0x58189a;_0x221f24[_0x2716be(0x2e8)](_0x21765d=>{const _0xcdafa8=_0x2716be;var _0x55ba98;const _0x36cbce=this[_0xcdafa8(0x292)][_0xcdafa8(0x363)](_0x21765d);_0x36cbce&&(_0x36cbce['delete'](_0x5cd04d),(_0x55ba98=this[_0xcdafa8(0x1a2)](_0x21765d))==null||_0x55ba98[_0xcdafa8(0x2a1)](_0x36cbce[_0xcdafa8(0x1b1)]===0x0?_0x3eb9ff[_0xcdafa8(0x343)]['NO_OTHER_CLIENTS_EDITING']:_0x3eb9ff[_0xcdafa8(0x343)][_0xcdafa8(0x13e)]));}),this['_removeClearOtherTimer'](_0x5cd04d);}[_0x201e57(0x24e)](_0x2e4e0a){const _0x37076d=_0x201e57;this[_0x37076d(0x170)](_0x2e4e0a['memberID']);}['_send'](_0x3cf973){const _0x39658c=_0x201e57;localStorage[_0x39658c(0x2af)](_0x57dce8,JSON[_0x39658c(0x25d)](_0x3cf973));}[_0x201e57(0x37d)](){const _0x835b93=_0x201e57;this[_0x835b93(0x3a2)]=window[_0x835b93(0x1cc)](()=>{const _0x465d34=_0x835b93;this[_0x465d34(0x1ce)]({'type':0x2,'memberID':this[_0x465d34(0x1f5)]});},_0x5b3d18);}['_ensureSubject'](_0x49b99c){const _0x2b82d8=_0x201e57;return this[_0x2b82d8(0x19f)][_0x2b82d8(0x26f)](_0x49b99c)||this[_0x2b82d8(0x19f)][_0x2b82d8(0x18d)](_0x49b99c,new _0x537bbf[(_0x2b82d8(0x116))](_0x3eb9ff[_0x2b82d8(0x343)][_0x2b82d8(0x160)])),this[_0x2b82d8(0x19f)][_0x2b82d8(0x363)](_0x49b99c);}}var _0x5b561d=(_0x13045a=>(_0x13045a[_0x13045a[_0x201e57(0x390)]=0x0]='UNDEFINED',_0x13045a[_0x13045a['OK']=0x1]='OK',_0x13045a[_0x13045a[_0x201e57(0x211)]=0x2]=_0x201e57(0x211),_0x13045a[_0x13045a['PERMISSION_DENIED']=0x3]=_0x201e57(0x103),_0x13045a[_0x13045a['NOT_FOUND']=0x4]=_0x201e57(0x20c),_0x13045a[_0x13045a[_0x201e57(0x23a)]=0x5]='UNAUTHENTICATED',_0x13045a[_0x13045a['ALREADY_EXISTS']=0x6]=_0x201e57(0x36c),_0x13045a[_0x13045a[_0x201e57(0x179)]=0x7]='INVALID_ARGUMENT',_0x13045a[_0x13045a[_0x201e57(0x25e)]=0x8]=_0x201e57(0x25e),_0x13045a[_0x13045a[_0x201e57(0x215)]=0x9]=_0x201e57(0x215),_0x13045a[_0x13045a['LOGIN_FAILED']=0xa]=_0x201e57(0x2c7),_0x13045a[_0x13045a['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x201e57(0x1e7),_0x13045a[_0x13045a['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x201e57(0x319),_0x13045a[_0x13045a[_0x201e57(0x1d3)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x13045a[_0x13045a[_0x201e57(0x2f4)]=0x1773]=_0x201e57(0x2f4),_0x13045a[_0x13045a[_0x201e57(0x253)]=0x1b59]=_0x201e57(0x253),_0x13045a[_0x13045a['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x201e57(0x1ac),_0x13045a[_0x13045a[_0x201e57(0x199)]=0x1b5b]=_0x201e57(0x199),_0x13045a[_0x13045a['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x201e57(0x1d4),_0x13045a[_0x13045a[_0x201e57(0x18a)]=0x1b5d]='APPLY_DUPLICATED',_0x13045a[_0x13045a[_0x201e57(0x1eb)]=0x1f41]=_0x201e57(0x1eb),_0x13045a[_0x13045a[_0x201e57(0x101)]=0x2329]=_0x201e57(0x101),_0x13045a[_0x13045a[_0x201e57(0x273)]=0x232a]=_0x201e57(0x273),_0x13045a[_0x13045a[_0x201e57(0x183)]=0x232b]=_0x201e57(0x183),_0x13045a[_0x13045a[_0x201e57(0x21c)]=0x232c]=_0x201e57(0x21c),_0x13045a[_0x13045a['LICENSE_DISTRO_REJECTED']=0x232d]=_0x201e57(0x1e4),_0x13045a[_0x13045a[_0x201e57(0x284)]=0x2711]=_0x201e57(0x284),_0x13045a[_0x13045a[_0x201e57(0x28a)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x13045a[_0x13045a[_0x201e57(0x290)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x13045a[_0x13045a[_0x201e57(0x35b)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x13045a[_0x13045a[_0x201e57(0x13f)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x13045a[_0x13045a[_0x201e57(0x353)]=0x271b]=_0x201e57(0x353),_0x13045a[_0x13045a[_0x201e57(0x135)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x13045a[_0x13045a[_0x201e57(0x2d7)]=0x271d]=_0x201e57(0x2d7),_0x13045a[_0x13045a[_0x201e57(0x22b)]=0x271e]=_0x201e57(0x22b),_0x13045a[_0x13045a[_0x201e57(0x2b8)]=0x271f]=_0x201e57(0x2b8),_0x13045a[_0x13045a['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x201e57(0x1ab),_0x13045a[_0x13045a[_0x201e57(0x27a)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x13045a[_0x13045a[_0x201e57(0x2e4)]=0x2ee2]=_0x201e57(0x2e4),_0x13045a[_0x13045a['INVITE_CODE_REQUIRED']=0x2ee3]=_0x201e57(0x146),_0x13045a[_0x13045a[_0x201e57(0x12c)]=0x2ee4]=_0x201e57(0x12c),_0x13045a[_0x13045a[_0x201e57(0x32b)]=0x2ee5]=_0x201e57(0x32b),_0x13045a[_0x13045a[_0x201e57(0x1aa)]=0x32c9]=_0x201e57(0x1aa),_0x13045a[_0x13045a[_0x201e57(0x2fa)]=0x32ca]=_0x201e57(0x2fa),_0x13045a[_0x13045a[_0x201e57(0x2e1)]=0x32cb]=_0x201e57(0x2e1),_0x13045a[_0x13045a[_0x201e57(0x369)]=-0x1]=_0x201e57(0x369),_0x13045a))(_0x5b561d||{}),_0x535494=Object['getOwnPropertyDescriptor'],_0x30486c=(_0xd1ae1c,_0x62d88b,_0x47e7b6,_0x63ec8a)=>{const _0x2f098c=_0x201e57;for(var _0x465450=_0x63ec8a>0x1?void 0x0:_0x63ec8a?_0x535494(_0x62d88b,_0x47e7b6):_0x62d88b,_0x62c529=_0xd1ae1c[_0x2f098c(0x2da)]-0x1,_0x67e690;_0x62c529>=0x0;_0x62c529--)(_0x67e690=_0xd1ae1c[_0x62c529])&&(_0x465450=_0x67e690(_0x465450)||_0x465450);return _0x465450;},_0x4eafb5=(_0x58a370,_0x2a7499)=>(_0x3c1151,_0x3dc1cf)=>_0x2a7499(_0x3c1151,_0x3dc1cf,_0x58a370);_0x45539c[_0x201e57(0x1d9)]=class extends _0x2759ff[_0x201e57(0x258)]{constructor(_0x581599,_0x1e73b9,_0x2af47e){const _0x3da8cf=_0x201e57;super(),this[_0x3da8cf(0x37e)]=_0x581599,this[_0x3da8cf(0x1af)]=_0x1e73b9,this[_0x3da8cf(0x125)]=_0x2af47e;}async[_0x201e57(0x371)](_0x3eccc3,_0x599dc5,_0x18c2c8,..._0x1170b3){const _0xc3d382=_0x201e57;var _0x1ff634,_0x1676e9,_0x34fcf7,_0x2664d5;const _0x536a4f=this[_0xc3d382(0x37e)][_0xc3d382(0x1a9)]();if(!_0x536a4f)throw new Error(_0xc3d382(0x39e));const _0x595808=((_0x1ff634=this[_0xc3d382(0x125)][_0xc3d382(0x327)](_0x3eb9ff[_0xc3d382(0x15d)]))!=null?_0x1ff634:_0x3eb9ff[_0xc3d382(0x250)])+'/'+_0x3eccc3+_0xc3d382(0x159)+_0x599dc5,_0x183e99=new URL(window[_0xc3d382(0x227)][_0xc3d382(0x20e)]),_0x59a1e4={'scriptId':_0x3eccc3,'runId':(_0x1676e9=_0x183e99[_0xc3d382(0x2b7)][_0xc3d382(0x363)](_0xc3d382(0x189)))!=null?_0x1676e9:'','function':_0x599dc5,'unitId':_0x536a4f[_0xc3d382(0x1f0)](),'argsOfFunction':JSON[_0xc3d382(0x25d)](_0x1170b3),'invokeId':(_0x34fcf7=_0x18c2c8['invokeId'])!=null?_0x34fcf7:'','executionId':(_0x2664d5=_0x18c2c8[_0xc3d382(0x2ee)])!=null?_0x2664d5:''};try{const _0x397434=await this[_0xc3d382(0x1af)][_0xc3d382(0xff)](_0x595808,{'body':_0x59a1e4});return _0x397434[_0xc3d382(0x29d)][_0xc3d382(0x23d)]&&_0x397434['body']['error']['code']!==_0x5b561d['OK']?_0xc3d382(0x1db):_0x397434['body'][_0xc3d382(0x27c)];}catch{return _0xc3d382(0x1db);}}},_0x45539c[_0x201e57(0x1d9)]=_0x30486c([_0x4eafb5(0x0,_0x2759ff[_0x201e57(0x28d)]),_0x4eafb5(0x1,_0x2759ff[_0x201e57(0x1d6)](_0x194e64['HTTPService'])),_0x4eafb5(0x2,_0x2759ff['IConfigService'])],_0x45539c[_0x201e57(0x1d9)]),_0x45539c['CollaborationStatusDisplay']=_0x33acdc,_0x45539c['IURLService']=_0x32c919,_0x45539c[_0x201e57(0x39b)]=_0x1e62e5,_0x45539c['WebBrowserSingleActiveUnitService']=_0x1d8df8,_0x45539c[_0x201e57(0x24a)]=_0x76fd58,Object['defineProperty'](_0x45539c,Symbol['toStringTag'],{'value':'Module'});}));function _0x2352(){const _0x48fee8=['storage','data','_setupBeforeClosingHandler','addClipboardHook','restore','useCallback','DocSelectionManagerService','clearTimeout','extend','tag','useDependency','DEFAULT_WS_SESSION_TICKET_URL','delete','OTHER_CLIENT_EDITING','COLORS','InsertRangeMoveDownCommandId','_renderManagerService','url(#off-line-icon_clip0_910_343)','asObservable','createElement','_doCreateSocket','OffLineIcon','unshift','setInterval','_status$','_send','Warning','MemberService','getRenderById','getTypeOfUnitAdded$','SNAPSHOT_HAS_BEEN_REMOVED','APPLY_PERMISSION_DENIED','translate(.97)','Inject','children','IMessageService','RemoteUniscriptService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','Failed','transformMutation','getSheetObject','replaceDocRanges','currentColor','getStateCache','disposeUnit','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','M0\x200H16V16H0z','LICENSE_DISTRO_REJECTED','roomMembers','RegularPolygon','CHANGESET_REVISION_CONFILICT','setShapeProps','_notificationService','className','CONNECTOR_DATA_TOO_LARGE','debounceTime','_removeCollabCursors','USERS_LEAVE','getCurrentUnitForType','getUnitId','@univerjs/sheets-ui','_urlService','62176jLuipR','skeleton','_id','xlink:href','_collaborationUIEventService','IBeforeCloseService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','generateRandomId','pipe','_dataLoaderService','useObservable','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','div','_roomMembers$','assignAColorForMemberID','_docSkeleton','from','yellow.400','path','currentSkeleton$','icon','@univerjs/engine-formula','_hovered','collab-text-range-','UniverRpc','NOT_FOUND','WebSocketService','href','6PwCAjO','purple.300','INTERNAL_ERROR','onPointerMove$','max','textRanges','COMPLETION_FINISHED','on-line-icon','amd','LocaleService','engine','filter','SetTextSelectionsOperation','LICENSE_EXPORT_SIZE_EXCEEDED','getLocalCacheKey','complete','_backgroundColor','collaboration.single-unit.warning','_cachedData','trim','deepClone','findNodePositionByCharIndex','shareReplay','hovered','location','_revisionService','onMouseMove','_docTransformSelectionsService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_render','collabStatus.offline','3993892JXJhtC','ILocalCacheService','UniverEngineFormula','startsWith','_updateSubUnitFromURLParams','sheetID','_initStatusListener','ThemeService','ICommandService','beginPath','closePath','getActiveSheet','UNAUTHENTICATED','eventID','transformStateCache','error','getItem','_toggleOffline','unload','getOwnPropertyDescriptor','fromEventSubject','RxDisposable','send','displayName','makeDirty','_registerRenderDependencies','redoState','BrowserCollaborationSocketService','WebURLService','startRow','current','_saveCache','_handleHeartbeatEvent','UniverProCollaboration','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','setUndoRedoMutationParamsCache','ONLINE','APPLY_REJECT','UniverUi','LOCAL_CACHE_INTERVAL_KEY','_shapes','docStateChange$','Disposable','labelPosition','none','combineLatest','symbol','stringify','TOO_MANY_REQUESTS','collabStatus.fetchMiss','push','ITransformService','map','UniverProCollaborationClientUi','_onCursorDelete','_localStorageService','DocIMEInputManagerService','@univerjs/sheets','_startSheetCollabCursor','_refRangeService','#FFF','round','FromArray','top','@univerjs/ui','has','show','@univerjs/network','isEditing','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','off-line-icon','_hover','@univerjs/design','_drawAnchor','all','split','INVITE_CODE_HAS_BEEN_UES','_colorIndex','result','add','_draw','defIds','UniverInstanceType','CommandType','1666092rDwMRj','Subject','YUUMI_UNABLE_LOAD_URL','unsubscribe','flatMap','React','jsxs','_collabCursorController','YUUMI_URL_COL_OUT_OF_RANGE','0\x200\x2017\x2016','string','IUniverInstanceService','propertyIsEnumerable','hide','YUUMI_RATE_OVER_LIMIT','_docTransformStateCacheService','_unitOnClients','with','lineTo','UPDATE_CURSOR','prototype','Shape','evenodd','params','bottom','_updateURLWithCurrentState','react/jsx-runtime','body','setParam','VIEW_MAIN','collaboration-client.offline-data-not-saved','next','triggerDblclick','history','assign','_entities','fromEvent','_getMergeRange','_updateCollabCursors','transformIMECache','IDocClipboardService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','CONFLICT','MessageType','_getAnchorBounding','setItem','setAlpha','setTimeout','getColor','react','handleInsertRangeMoveDown','_transformService','BuiltInUIPart','searchParams','YUUMI_AI_RUN_FAILED','_drawRectRange','getValue','_name','_color','InsertColCommandId','_online','executeCommand','endColumn','getCollabEntity$','dispose','createInstance','useRef','_beforeCloseService','SheetSkeletonManagerService','LOGIN_FAILED','indexOf','addEventListener','Optional','getActiveRange','entries','getOffsetConfig','CollaborationStatus','moveTo','serializeRangeWithSheet','saveImage','[CollaborationDataLoaderController]','ranges','getUndoRedoMutationParamsCache','unit','Error','YUUMI_ALL_TABLES_IS_INVALID','_textBubble','_context','length','m2Prime','color','AWAITING','1507fwSiag','_disabled','handleInsertCol','EMAIL_HAS_BEEN_BOUND','whenReady','univer-flex\x20univer-items-center','INVALID_INVITE_CODE','_themeService','_sheetSkeletonManagerService','getViewport','forEach','save','debounce','unitId','getCurrentRevOfUnit','ACTIVE_UNIT_EVENT_CHANNEL','executionId','newValue','@univerjs/core','_memberService','hasOwnProperty','green.600','ENSURE_SNAPSHOT_EXECUTION','jiqing.500','_docSkeletonManagerService','svg','EffectRefRangId','_anchorDot','MOBILE_HAS_BEEN_BOUND','actions','getSheetBySheetId','_cursor','getParam','isArray','DeleteRangeMoveLeftCommandId','then','currentTheme$','selection','CollaborationUIEventId','_drawTextRange','INotificationService','handleDeleteRangeMoveUp','onPointerLeave$','_cursorInfo$','_handleJoinEvent','resize','min','subscribe','registerDependencies','handleMoveRange','SetDocZoomRatioOperation','dispose$','536984kOJYRw','_selfUnitIDs','_registerDependencies','CollaborationUIEventService','collaboration.closeRoom','_eventUnsubscribe','addHandlerCallback','SNAPSHOT_INVALID_SNAPSHOT','_commandService','getCellPositionByOffset','_config','ColorKit','getRelativeToViewportCoord','SUBMIT_CHANGESET_TIMEOUT','_initStatusComponent','_transformPreviousActiveRange','IImageIoService','entityInit$','parse','row','univer-flex\x20univer-mr-2\x20univer-text-xl','getConfig','toRgbString','CollaborationSessionService','_createSocketURL','INVITE_CODE_ALREADY_BOUND','UniverCollaborationClientPlugin','fillText','ISocketService','NodePositionConvertToRectRange','addObject','substring','_imageIoService','RECT','_range','wsSessionTicketUrl','values','sessionTicket','_init','contains','DOC_RANGE_TYPE','ILogService','permission.content','imageSourceType','exhaustSavingTask','rgba(255,\x20255,\x20255,\x200.01)','Vector2','http://www.w3.org/2000/svg','_removeClearOtherTimer','UnitStatus','replaceState','...','_univerInstanceService','NOT_COLLAB','loadOfflineData','_docTransformIMECacheService','subscribeEvent','transformSelections','DataLoaderService','collabStatus.synced','sessionStatus$','SOCKET_FAILED_RETRY','_messageService','DocStateChangeManagerService','_syncEditingCollabCursorService','YUUMI_ASYNCIO_CANCELLED','function','_localCacheService','registerRenderModule','getAncestorScale','undoState','CollaborationController','UniverDocs','YUUMI_SUBSCRIPTION_NOT_FOUND','takeUntil','DesktopCollaborationStatusDisplayController','SYNCED','activeSheet$','SheetsSelectionsService','Rectangle','collabCursorState$','get','LOCAL_CACHE_INTERVAL','mapTo','DocCollaborationEntity','_docClipboardService','501afsEFz','UNRECOGNIZED','handleInsertRangeMoveRight','toDisposable','ALREADY_EXISTS','_scheduleSaving','event$','JOIN_ROOM_FAILED','getMember','runOnServer','roomMembers$','_collabSessionService','connectInjector','arc','switchMap','getTypeOfUnitDisposed$','Tooltip','_clearOtherTimers','RichTextEditingMutation','univerjs-icon\x20univerjs-icon-','subUnitId','_scheduleHeartbeat','_instanceService','merge','_logService','isActive','loadUnit','clipPath','_handleEvent','onStarting','_toggleOnline','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','createSocket','_handleLeaveEvent','rxjs/operators','disposeWithMe','_transformHistoryAndStateStack','_docSyncEditingCollabCursorService','UniverSheets','registerBeforeClose','UNDEFINED','_initEvent','subunit','use','font','fill','cursorInfo','93870hmqBrz','_saveTaskMap','CLOSE_ROOM','_session','SheetCollabCursorShape','ISnapshotServerService','_refreshCollabCursors','[RemoteUniscriptService]:\x20no\x20focused\x20unit','DocSkeletonManagerService','@univerjs/engine-render','_lastPointer','_heartbeatTimer','UniverNetwork','_initEntityListener','blue.400','find','setActiveRange','_cursorShapes','range','post','_document','LICENSE_MAX_UNITS_EXCEEDED','_colorAssignService','PERMISSION_DENIED','pushState','UNIVER_SHEET','session.collaboration-timeout','getDocRanges','getCurrentSelections','collaboration-client-ui.config','_onRefRangeChange','_collaborationController','url(#on-line-icon_clip0_910_349)','AWAITING_WITH_PENDING','type','_getScale','NodePositionConvertToCursor','pluginName','clearInterval','startColumn','jsx','getUnitStatus$','BehaviorSubject','m1Prime','Injector','OFFLINE','UniverProCollaborationClient','transform','TEXT_RANGE_LAYER_INDEX','black','isTransformMutationsWithChangesetSuccess','_initResize','popstate','Unknown\x20user','IConfigService','off-line-icon_clip0_910_343','unitID','_configService','defs','1622615OTnxPV','_cursors','saveOfflineData','doc.mutation.rich-text-editing','getCoordByCell','USER_NOT_INVITED_CODE','UNIVER_DOC','handleInsertRow','SHEET_VIEWPORT_KEY','concat','idSuffix','DeleteRangeMoveUpCommandId','setConfig','saveTaskMap','YUUMI_TABLE_NOT_FOUND_IN_UNIT','214zVMosc','replace','attrs','rxjs','defineProperty','onLocalMutation','_getSessionTicket','column','OTHER_CLIENTS_EDITING','YUUMI_NO_CUBOID_FOR_QUESTION','transformMutationsWithChangeset','text','onRendered','override','registerRefRange','_setupSubUnitSync','INVITE_CODE_REQUIRED','enableLocalCache','Tools','white','getSkeleton','sheetId','_docStateChangeManagerService','getMemberID','forwardRef','531npHqBD','isTransformMutationFailure','onPointerEnter$','disableLocalCache','CollaborationDataLoaderController','_anchor','getCurrent','@univerjs/docs-ui','_localeService','urlChange$','/run/','_injector','toString','_hideTimer','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_labelPosition','TEXT','NO_OTHER_CLIENTS_EDITING','_assignedColors','Rect','0\x200\x2016\x2016','_handleHover','_onCursorUpdate','MUTATION','CollaborationEvent','name','@univerjs/rpc','url(#$1','@univerjs/docs','mergeOverrideWithDependencies','_scene','session.will-retry','UniverSheetsUi','_scheduleClearOtherTimer','UniverCollaborationClientUIPlugin','backgroundColor','debug','onTransformChange$','InsertRangeMoveRightCommandId','handleIRemoveCol','OnLineIcon','colorChannel1','INVALID_ARGUMENT','_transformUndoRedoStack','collabStatus.notCollab','createIdentifier','requireSession','width','call','_getSaveTimeout','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','getRangePointData','LICENSE_IMPORT_SIZE_EXCEEDED','measureText','IRenderManagerService','addObjects','@univerjs/drawing','fillStyle','runId','APPLY_DUPLICATED','CollaborationSocketService','Plugin','set','SessionStatus','distinctUntilChanged','_initCommandExecutedListener','@univerjs-pro/collaboration-client','some','mutations','_updateLocalCursor','getSheetId','apply','1em','HEADER_MENU','APPLY_REVISION_CONFILICT','RefRangeService','_initDependencies','init','getOwnPropertySymbols','transformByState','_unitStatus','getColorFromTheme','drawWith','_ensureSubject','ILocalStorageService','throttleTime','runRefRangeMutations','setStateCache','collab-text-anchor-','cursorInfo$','getFocusedUnit','WECHAT_HAS_BEEN_BOUND','PY_RUNTIME_SCRIPT_ERROR','APPLY_NON_SEQUENTIAL_REVISION','onCommandExecuted','_entityInit$','_httpService','getCollabCursors$','size','RemoveRowCommandId','transformRemoteChangeset','reconnect'];_0x2352=function(){return _0x48fee8;};return _0x2352();}
|