@univerjs-pro/collaboration-client-ui 0.6.10 → 0.7.0-nightly.202504291607

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/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x5876(){const _0x24d471=['key','@univerjs/sheets-ui','string','CollaborationSocketService','then','#fff','tag','offline','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','storage','1435332dHFWkP','transformIMECache','href','Shape','getItem','_handleLeaveEvent','requireSession','xlink:href','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_drawRectRange','ticket','_onCursorUpdate','transformMutation','_eventUnsubscribe','InsertColCommandId','CollaborationUIEventId','_renderManagerService','current','propertyIsEnumerable','CollaborationDataLoaderController','SetDocZoomRatioOperation','WECHAT_HAS_BEEN_BOUND','assign','IRemoteInstanceService','Unknown\x20user','_transformUndoRedoStack','collab-client.tooltip.reconnect','unitID','DocCollaborationEntity','getRenderById','getVpScrollXYInfoByPosToVp','UniverProCollaborationClientUi','map','SHEET_VIEWPORT_KEY','event$','cursorInfo','transformRemoteChangeset','_themeService','1798188RknfuA','_docSkeletonManagerService','send','195251wIsyIV','_getSessionTicket','_collabCursorState$','collab-text-range-','OnLineSingle','dispose$','getOwnPropertyDescriptor','ILocalStorageService','InsertRowCommandId','dispose','resize','@univerjs/core','Tools','toRgbString','_injector','max','params','black','_startSheetCollabCursor','1278489bbBdYZ','LocaleService','CollaborationEvent','CONFLICT','collabStatus.offline','off-line-single','_uiPartsService','_handleHover','_drawAnchor','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','ENSURE_SNAPSHOT_EXECUTION','SessionStatus','UPDATE_CURSOR','_name','getMember','_commandService','_onCursorDelete','bottom','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','react','5HMOQaK','DocStateChangeManagerService','univer-flex\x20univer-items-center','handleDeleteRangeMoveUp','_transformHistoryAndStateStack','fillRule','getStateCache','ranges','createIdentifier','FromArray','m2Prime','DEFAULT_WS_SESSION_TICKET_URL','#FFF','m1Prime','WebSocketService','_initDependencies','serializeRangeWithSheet','currentSkeleton$','saveOfflineData','getDocRanges','UniverSheetsUi','type','next','cursorInfo$','setConfig','DocIMEInputManagerService','_collaborationController','className','trim','unload','clearInterval','_config','LOCAL_CACHE_INTERVAL','_onRefRangeChange','RemoteUniscriptService','LICENSE_DISTRO_REJECTED','_labelPosition','0\x200\x2017\x2016','on-line-single_clip0_910_349','forEach','setActiveRange','none','_entities','COLORS','imageSourceType','56nYhxBY','_entityInit$','onStarting','_selfUnitIDs','toString','getUniverSheetInstance','UniverEngineRender','font','isEditing','NOT_FOUND','_saveCache','focused$','unshift','_roomMembers$','_registerDependencies','@univerjs/docs','_initStatusListener','collabCursorState$','merge','YUUMI_RATE_OVER_LIMIT','_collabCursorController','_sheetSkeletonManagerService','endRow','getTypeOfUnitDisposed$','complete','USER_NOT_INVITED_CODE','_send','unit','isTransformMutationFailure','SOCKET_FAILED_RETRY','mask','operators','YUUMI_UNABLE_LOAD_URL','location','transformStateCache','YUUMI_ASYNCIO_CANCELLED','getParam','connectInjector','purple300','getSkeleton','UniverProCollaborationClient','reconnect','_initStatusComponent','useRef','onLocalMutation','pushState','defs','MOBILE_HAS_BEEN_BOUND','USERS_LEAVE','6982053QfFSWj','CollaborationStatus','_syncEditingCollabCursorService','startRow','getValue','DesktopCollaborationStatusDisplayController','PY_RUNTIME_SCRIPT_ERROR','removeParam','subUnitId','body','startsWith','_configService','UniverInstanceType','ITransformService','path','permission.content','distinctUntilChanged','_ensureSubject','delete','UnitStatus','getSheetId','InsertRangeMoveRightCommandId','disposeWithMe','INVALID_ARGUMENT','url(#on-line-single_clip0_910_349)','TEXT','univer-online-status-title','from','call','values','startColumn','engine','LOGIN_FAILED','_hover','_scene','Subject','onPointerMove$','attrs','init','top','defineProperty','RECT','ALREADY_EXISTS','VIEW_MAIN','getActiveRange','_startDocCollabCursor','replaceDocRanges','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_getAnchorBounding','Inject','@univerjs-pro/collaboration-client','runOnServer','getAncestorScale','addClipboardHook','_disabled','_docClipboardService','@univerjs/drawing','@univerjs/docs-ui','NOT_COLLAB','registerRenderModule','CommandType','beginPath','_cursors','UniverRpc','HTTPService','IUniverInstanceService','RefRangeService','exhaustSavingTask','Vector2','_assignedColors','runRefRangeMutations','stringify','PENDING','ONLINE','mutations','transformSelections','override','UniverUi','TOO_MANY_REQUESTS','_updateCollabCursors','/run/','_imageIoService','textRanges','INVITE_CODE_REQUIRED','@univerjs/ui','session.collaboration-timeout','getFocusedUnit','forwardRef','ThemeService','lineTo','SNAPSHOT_HAS_BEEN_REMOVED','split','MUTATION','toStringTag','_heartbeatTimer','SetSelectionsOperation','SheetSkeletonManagerService','debounce','4TSoHfc','_initCommandExecutedListener','_getSheetObject','SUBMIT_CHANGESET_TIMEOUT','_toggleOnline','SheetCollabCursorShape','_anchor','createElement','_lastPointer','RemoveRowCommandId','rxjs','filter','redoState','fromEventSubject','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_univerInstanceService','LICENSE_MAX_UNITS_EXCEEDED','data','RxDisposable','_getScale','UNRECOGNIZED','ISocketService','_handleJoinEvent','_removeClearOtherTimer','UniverIcon','_status$','gold400','touchDependencies','UNIVER_SHEET','onCommandExecuted','_docStateChangeManagerService','_draw','flatMap','show','INVALID_INVITE_CODE','executeCommand','IConfigService','...','saveTaskMap','@univerjs-pro/collaboration','SheetsSelectionsService','eventID','addObject','deepClone','_range','getCoordByCell','length','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','triggerDblclick','DOC_RANGE_TYPE','onlineStatusTitle','urlChange$','_cursor','getCurrent','_collabSessionService','extend','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_init','onRendered','round','CollaborationStatusDisplay','_localeService','set','registerRefRange','CollaborationUIEventService','_render','SNAPSHOT_INVALID_SNAPSHOT','_cursorInfo$','univer-offline','collab-rect-range-','onPointerEnter$','_colorAssignService','evenodd','_document','_urlService','Injector','colorChannel1','includes','UniverNetwork','getCurrentUnitForType','url(#off-line-single_clip0_910_343)','IRenderManagerService','_id','color','executionId','getMemberID','BrowserCollaborationSocketService','Disposable','collabStatus.notCollab','roomMembers','ICommandService','CONNECTOR_DATA_TOO_LARGE','UniverSheets','11Pozdwg','_localCacheService','@univerjs/engine-render','100822bbOVKE','all','restore','fromEvent','APPLY_REJECT','UniverDocs','_getSaveTimeout','[RemoteUniscriptService]:\x20no\x20focused\x20unit','drawWith','IBeforeCloseService','univerjs-icon\x20univerjs-icon-','DisposableCollection','_clearOtherTimers','_updateLocalCursor','doc.mutation.rich-text-editing','online','takeUntil','_initEvent','idSuffix','result','getOwnPropertySymbols','BehaviorSubject','_scheduleClearOtherTimer','isTransformMutationsWithChangesetSuccess','BuiltInUIPart','DocSkeletonManagerService','rxjs/operators','OFFLINE','sessionTicket','generateRandomId','CollaborationController','ILocalCacheService','toDisposable','name','setItem','_logService','PERMISSION_DENIED','loadUnit','handleInsertRangeMoveRight','_refreshCollabCursors','text','UniverProCollaboration','setStateCache','IURLService','0\x200\x2016\x2016','setTimeout','@univerjs/design','arc','addEventListener','_color','_cursorShapes','hasOwnProperty','selection','searchParams','random','collabStatus.synced','_refRangeService','setParam','icon','OTHER_CLIENTS_EDITING','univer-online-status-icon','APPLY_REVISION_CONFILICT','skeleton','div','UniverDrawing','1449MXQSJj','_cachedData','wsSessionTicketUrl','handleDeleteRangeMoveLeft','width','getUnitId','getViewport','_setupSubUnitSync','moveTo','history','_dataLoaderService','_colorIndex','collabStatus.conflict','LICENSE_EXPORT_SIZE_EXCEEDED','YUUMI_NO_CUBOID_FOR_QUESTION','getUndoRedoMutationParamsCache','_transformService','getSheetObject','CHANGESET_REVISION_CONFILICT','CollaborationSessionService','InsertRangeMoveDownCommandId','setShapeProps','exports','CLOSE_ROOM','_toggleOffline','prototype','_createSocketURL','getColor','currentTheme$','pluginName','OffLineSingle','getCurrentRevOfUnit','getLocalCacheKey','NodePositionConvertToCursor','handleInsertRangeMoveDown','DataLoaderService','UniverDesign','clearTimeout','WebBrowserSingleActiveUnitService','collabStatus.syncing','_textBubble','_anchorDot','DependentOn','unitId','push','debounceTime','TEXT_RANGE_LAYER_INDEX','get','subscribe','_collaborationUIEventService','off-line-single_clip0_910_343','jsx','EMAIL_HAS_BEEN_BOUND','disposeUnit','collaboration.closeRoom','getMergeData','isArray','indexOf','collab-text-anchor-','defIds','sessionStatus$','_hideTimer','YUUMI_SUBSCRIPTION_NOT_FOUND','getCollabCursors$','post','react/jsx-runtime','Workbook','svg','editingUnit','getRelativeToViewportCoord','handleMoveRange','syncEditingCollabCursor','setUndoRedoMutationParamsCache','1beTbLz','displayName','roomMembers$','UNAUTHENTICATED','debug','collaboration-client.offline-data-not-saved','_shapes','useDependency','measureText','MemberService','actions','INVITE_CODE_ALREADY_BOUND','range','registerBeforeClose','concat','_messageService','add','EffectRefRangId','asObservable','_unitOnClients','UniverCollaborationClientUIPlugin','unsubscribe','pipe','min','_docTransformSelectionsService','_initEntityListener','symbol','RegularPolygon','error','_docTransformIMECacheService','MessageType','OTHER_CLIENT_EDITING','Error','Warning','createInstance','_online','_handleEvent','_scheduleHeartbeat','HEADER_MENU','updateOfflineData','_doCreateSocket','amd','with','hide','SetTextSelectionsOperation','status$','has','getRangePointData','url(#$1','_localStorageService','backgroundColor','_docTransformStateCacheService','runId','_hovered','@univerjs/sheets','findNodePositionByCharIndex','UniverDocsUi','getConfig','_handleHeartbeatEvent','children','_notificationService','undoState','_updateURLWithCurrentState','getCollabEntity$','fill','deserializeRangeWithSheet','14180PnxDUb','INVITE_CODE_HAS_BEEN_UES','COMPLETION_FINISHED','Plugin','_backgroundColor','permission.title','height','APPLY_PERMISSION_DENIED','onPointerLeave$','DocSelectionManagerService','JOIN_ROOM_FAILED','[CollaborationDataLoaderController]','_getMergeRange','1em','replaceState','column','UniverCore','_updateSubUnitFromURLParams','contains','fillText','NO_OTHER_CLIENTS_EDITING','_revisionService','_session','clsx','row','INTERNAL_ERROR','onMouseMove','switchMap','use','getCellPositionByOffset','_initResize','subscribeEvent','assignAColorForMemberID','subunit','_saveTaskMap','collaboration-client-ui.config','_transformPreviousActiveRange','Rectangle','_beforeCloseService','_docSyncEditingCollabCursorService','loadOfflineData','replace','M0\x200H16V16H0z','ColorKit','_registerRenderDependencies','_httpService','_drawTextRange','_scheduleSaving','APPLY_NON_SEQUENTIAL_REVISION','LICENSE_IMPORT_SIZE_EXCEEDED','onlineStatusIcon','APPLY_DUPLICATED','getTypeOfUnitAdded$','_removeCollabCursors','YUUMI_URL_COL_OUT_OF_RANGE','newValue','sheetID','getActiveSheet','_unitStatus','_setupBeforeClosingHandler','setAlpha','_context','ACTIVE_UNIT_EVENT_CHANNEL','save','ILogService','SetWorksheetActivateCommand','@univerjs/engine-formula','mergeOverrideWithDependencies','function','getSheetBySheetId','popstate','jsxs','UNIVER_DOC','fillStyle','size','saveImage','UniverEngineFormula','SOCKET_FAILED','onlineStatus'];_0x5876=function(){return _0x24d471;};return _0x5876();}function _0x5997(_0x5a6515,_0x2dfe97){const _0x587603=_0x5876();return _0x5997=function(_0x599793,_0x50ef26){_0x599793=_0x599793-0xcd;let _0x443645=_0x587603[_0x599793];return _0x443645;},_0x5997(_0x5a6515,_0x2dfe97);}(function(_0x5be4e5,_0x282309){const _0x24a837=_0x5997,_0xc0151=_0x5be4e5();while(!![]){try{const _0x529c1e=-parseInt(_0x24a837(0x269))/0x1*(parseInt(_0x24a837(0x1df))/0x2)+parseInt(_0x24a837(0x340))/0x3*(-parseInt(_0x24a837(0x17f))/0x4)+-parseInt(_0x24a837(0x354))/0x5*(parseInt(_0x24a837(0x304))/0x6)+-parseInt(_0x24a837(0x32d))/0x7*(-parseInt(_0x24a837(0xec))/0x8)+parseInt(_0x24a837(0x220))/0x9*(parseInt(_0x24a837(0x2ab))/0xa)+-parseInt(_0x24a837(0x1dc))/0xb*(-parseInt(_0x24a837(0x32a))/0xc)+parseInt(_0x24a837(0x11d))/0xd;if(_0x529c1e===_0x282309)break;else _0xc0151['push'](_0xc0151['shift']());}catch(_0x3d295a){_0xc0151['push'](_0xc0151['shift']());}}}(_0x5876,0x605bb),function(_0xef4856,_0x19705d){const _0x2e583d=_0x5997;typeof exports=='object'&&typeof module<'u'?_0x19705d(exports,require(_0x2e583d(0x14f)),require(_0x2e583d(0x338)),require(_0x2e583d(0x1de)),require('@univerjs/network'),require('@univerjs/docs-ui'),require(_0x2e583d(0x155)),require(_0x2e583d(0x189)),require(_0x2e583d(0xfb)),require(_0x2e583d(0x1a6)),require('@univerjs/engine-formula'),require(_0x2e583d(0x29f)),require(_0x2e583d(0x1f9)),require('@univerjs/sheets-ui'),require(_0x2e583d(0x261)),require(_0x2e583d(0x171)),require(_0x2e583d(0x20d)),require(_0x2e583d(0x353)),require('@univerjs/rpc')):typeof define==_0x2e583d(0x2ef)&&define[_0x2e583d(0x292)]?define([_0x2e583d(0x236),_0x2e583d(0x14f),_0x2e583d(0x338),'@univerjs/engine-render','@univerjs/network',_0x2e583d(0x156),'@univerjs/drawing','rxjs',_0x2e583d(0xfb),_0x2e583d(0x1a6),_0x2e583d(0x2ed),_0x2e583d(0x29f),_0x2e583d(0x1f9),_0x2e583d(0x2fb),_0x2e583d(0x261),_0x2e583d(0x171),_0x2e583d(0x20d),'react','@univerjs/rpc'],_0x19705d):(_0xef4856=typeof globalThis<'u'?globalThis:_0xef4856||self,_0x19705d(_0xef4856[_0x2e583d(0x323)]={},_0xef4856[_0x2e583d(0x114)],_0xef4856[_0x2e583d(0x2bb)],_0xef4856[_0x2e583d(0xf2)],_0xef4856[_0x2e583d(0x1cd)],_0xef4856[_0x2e583d(0x2a1)],_0xef4856[_0x2e583d(0x21f)],_0xef4856['rxjs'],_0xef4856[_0x2e583d(0x1e4)],_0xef4856[_0x2e583d(0x208)],_0xef4856[_0x2e583d(0x2f7)],_0xef4856[_0x2e583d(0x1db)],_0xef4856[_0x2e583d(0x189)][_0x2e583d(0x10b)],_0xef4856[_0x2e583d(0xd3)],_0xef4856['React'],_0xef4856[_0x2e583d(0x16a)],_0xef4856[_0x2e583d(0x244)],_0xef4856['React'],_0xef4856[_0x2e583d(0x15c)]));}(this,function(_0x57b4ed,_0x3a040d,_0x42e0e7,_0x5af10f,_0x3ba47d,_0x116ef8,_0x13d693,_0x599c52,_0x5c07ea,_0x12caed,_0x2ce579,_0x51eb6e,_0xaa0c1c,_0x572da5,_0x5098f5,_0x5549db,_0x59cf3e,_0x45b8be,_0x85bd9c){'use strict';const _0x2a6bec=_0x5997;var _0x2517a3=Object['defineProperty'],_0x4a84d4=(_0xfde701,_0x819d0a,_0x3faccd)=>_0x819d0a in _0xfde701?_0x2517a3(_0xfde701,_0x819d0a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3faccd}):_0xfde701[_0x819d0a]=_0x3faccd,_0x7f0de7=(_0x297523,_0x4d6807,_0x2b0d8f)=>_0x4a84d4(_0x297523,typeof _0x4d6807!=_0x2a6bec(0x283)?_0x4d6807+'':_0x4d6807,_0x2b0d8f),_0xc6f44c=Object['getOwnPropertyDescriptor'],_0x348a4a=(_0xceb8a6,_0x2335c6,_0x49779d,_0x4de6b9)=>{const _0x21cea7=_0x2a6bec;for(var _0x5bd3d4=_0x4de6b9>0x1?void 0x0:_0x4de6b9?_0xc6f44c(_0x2335c6,_0x49779d):_0x2335c6,_0x33cc92=_0xceb8a6[_0x21cea7(0x1ad)]-0x1,_0x5b8625;_0x33cc92>=0x0;_0x33cc92--)(_0x5b8625=_0xceb8a6[_0x33cc92])&&(_0x5bd3d4=_0x5b8625(_0x5bd3d4)||_0x5bd3d4);return _0x5bd3d4;},_0x25521f=(_0x4318a1,_0x5a3ce6)=>(_0x4fde0f,_0x561b1f)=>_0x5a3ce6(_0x4fde0f,_0x561b1f,_0x4318a1);let _0x2da604=class extends _0x42e0e7[_0x2a6bec(0x191)]{constructor(_0xa09b33,_0x2ff171){const _0x34e898=_0x2a6bec;super(),this[_0x34e898(0x154)]=_0xa09b33,this[_0x34e898(0x16e)]=_0x2ff171,this[_0x34e898(0x1b8)]();}['_init'](){const _0x3e4974=_0x2a6bec,_0x41636e=this;this[_0x3e4974(0x133)](this[_0x3e4974(0x154)][_0x3e4974(0x152)]({'onBeforePasteImage':async _0x447c1a=>{const _0x4b085b=_0x3e4974,_0x250513=await _0x41636e[_0x4b085b(0x16e)][_0x4b085b(0x2f6)](_0x447c1a);return _0x250513?{'source':_0x250513['source'],'imageSourceType':_0x250513[_0x4b085b(0xeb)]}:null;}}));}};_0x2da604=_0x348a4a([_0x25521f(0x0,_0x116ef8['IDocClipboardService']),_0x25521f(0x1,_0x13d693['IImageIoService'])],_0x2da604);const _0x5cf470=[_0x2a6bec(0x112),'jiqing500','verdancy600','red300','blue400',_0x2a6bec(0x199)];class _0x1ee3e1 extends _0x42e0e7[_0x2a6bec(0x1d6)]{constructor(){const _0x363e39=_0x2a6bec;super(...arguments),_0x7f0de7(this,_0x363e39(0x162),new Map()),_0x7f0de7(this,_0x363e39(0x22b),0x0);}['assignAColorForMemberID'](_0x1b0fbe){const _0x5a75e3=_0x2a6bec;if(this[_0x5a75e3(0x162)][_0x5a75e3(0x297)](_0x1b0fbe))return this[_0x5a75e3(0x162)][_0x5a75e3(0x24f)](_0x1b0fbe);const _0x2f84d7=_0x5cf470[this[_0x5a75e3(0x22b)]];return this['_colorIndex']=(this[_0x5a75e3(0x22b)]+0x1)%_0x5cf470[_0x5a75e3(0x1ad)],this['_assignedColors']['set'](_0x1b0fbe,_0x2f84d7),_0x2f84d7;}}function _0x101c21(_0x59cfe5){const _0x39146d=_0x2a6bec;let _0x13b4c2='';for(const _0x234608 of _0x59cfe5){const {startOffset:_0xf3b9c5,endOffset:_0x33b8c1,isActive:_0x4bac4b,rangeType:_0x6e1168,segmentId:_0x45b693,segmentPage:_0x29e547}=_0x234608;_0x13b4c2[_0x39146d(0x1ad)]&&(_0x13b4c2+=','),_0x13b4c2+=_0xf3b9c5+':'+_0x33b8c1+':'+(_0x4bac4b?'1':'0')+':'+_0x6e1168+':'+_0x45b693+':'+_0x29e547;}return _0x13b4c2;}function _0x46ce7e(_0x47dffd){const _0x891458=_0x2a6bec,_0x12b1e0=_0x47dffd[_0x891458(0x178)](','),_0x1b216a=[];for(const _0x6501d2 of _0x12b1e0){const [_0x556c76,_0x13f1a2,_0x5cf714,_0x33f5f9,_0x2b5fd7,_0x5e78ee]=_0x6501d2['split'](':');_0x1b216a[_0x891458(0x24c)]({'startOffset':Number(_0x556c76),'endOffset':Number(_0x13f1a2),'collapsed':_0x556c76===_0x13f1a2,'isActive':_0x5cf714==='1','rangeType':_0x33f5f9===_0x42e0e7[_0x891458(0x1b0)]['TEXT']?_0x42e0e7[_0x891458(0x1b0)][_0x891458(0x136)]:_0x42e0e7[_0x891458(0x1b0)]['RECT'],'segmentId':typeof _0x2b5fd7==_0x891458(0x2fc)?String(_0x2b5fd7):'','segmentPage':Number(_0x5e78ee!=null?_0x5e78ee:-0x1)});}return _0x1b216a['some'](_0x5135fe=>_0x5135fe['isActive'])||(_0x1b216a[0x0]['isActive']=!0x0),_0x1b216a;}class _0x7228ba extends _0x42e0e7[_0x2a6bec(0x191)]{constructor(){const _0x1fdd24=_0x2a6bec;super(...arguments),_0x7f0de7(this,_0x1fdd24(0x32f),new _0x599c52[(_0x1fdd24(0x1f4))](null)),_0x7f0de7(this,_0x1fdd24(0xfd),this[_0x1fdd24(0x32f)]['asObservable']());}[_0x2a6bec(0x267)](_0x372dca){const _0x1ee886=_0x2a6bec,{unitID:_0x5cb4eb,memberID:_0x3b4e63,textRanges:_0x564573}=_0x372dca,_0x459775=_0x101c21(_0x564573);if(_0x459775==='')return;const _0x2a2b6d={'unitID':_0x5cb4eb,'memberID':_0x3b4e63,'selection':_0x459775};this[_0x1ee886(0x32f)]['next'](_0x2a2b6d);}}var _0x123f55=Object[_0x2a6bec(0x333)],_0x57139d=(_0x407d3c,_0x3d3ad3,_0x3ed899,_0x29c427)=>{const _0xdcef13=_0x2a6bec;for(var _0x42ef1c=_0x29c427>0x1?void 0x0:_0x29c427?_0x123f55(_0x3d3ad3,_0x3ed899):_0x3d3ad3,_0x5e2c3b=_0x407d3c[_0xdcef13(0x1ad)]-0x1,_0x1cd80c;_0x5e2c3b>=0x0;_0x5e2c3b--)(_0x1cd80c=_0x407d3c[_0x5e2c3b])&&(_0x42ef1c=_0x1cd80c(_0x42ef1c)||_0x42ef1c);return _0x42ef1c;},_0x72dc17=(_0x3d3afd,_0x2fe7a6)=>(_0x5ee009,_0x223a23)=>_0x2fe7a6(_0x5ee009,_0x223a23,_0x3d3afd);const _0x584271=0x12c,_0x1f94f3=0x64;let _0x41a8eb=class extends _0x42e0e7[_0x2a6bec(0x191)]{constructor(_0x39c9f4,_0x1a007b,_0x42a047,_0x29137a,_0x5475d2,_0x3b3017,_0x1cb755,_0x1803a1,_0x4343b8){const _0x535309=_0x2a6bec;super(),_0x7f0de7(this,_0x535309(0x28c),!0x1),_0x7f0de7(this,_0x535309(0x1b8),!0x1),_0x7f0de7(this,_0x535309(0x1c2),new _0x599c52[(_0x535309(0x1f4))](new Map())),_0x7f0de7(this,_0x535309(0xd6),this[_0x535309(0x1c2)][_0x535309(0x27b)]()),_0x7f0de7(this,'_roomMembers$',new _0x599c52[(_0x535309(0x1f4))]([])),_0x7f0de7(this,_0x535309(0x26b),this[_0x535309(0xf9)][_0x535309(0x27f)](_0x599c52[_0x535309(0x24d)](_0x584271))),_0x7f0de7(this,'_updateLocalCursor',_0x42e0e7['debounce'](_0x426662=>{const _0x4d79ce=_0x535309,_0x8f9443={'eventID':_0x12caed[_0x4d79ce(0x342)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x4d79ce(0x31f)],'memberID':this[_0x4d79ce(0x2c1)]['getMemberID'](),'selection':_0x101c21(_0x426662)}};this['_session'][_0x4d79ce(0x32c)](_0x8f9443,this['unitID']);},_0x1f94f3)),(this['unitID']=_0x39c9f4,this[_0x535309(0x2c1)]=_0x1a007b,this['_injector']=_0x42a047,this[_0x535309(0x1c6)]=_0x29137a,this['_memberService']=_0x5475d2,this[_0x535309(0x11f)]=_0x3b3017,this[_0x535309(0x230)]=_0x1cb755,this[_0x535309(0x18e)]=_0x1803a1,this[_0x535309(0x34f)]=_0x4343b8);}get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get[_0x2a6bec(0x1d8)](){const _0x1bf62f=_0x2a6bec;return this[_0x1bf62f(0xf9)]['getValue']();}[_0x2a6bec(0x336)](){const _0x27d668=_0x2a6bec;super[_0x27d668(0x336)](),this[_0x27d668(0x1c2)]['next'](new Map()),this[_0x27d668(0x1c2)]['complete'](),this[_0x27d668(0xf9)][_0x27d668(0xd5)]([]),this[_0x27d668(0xf9)][_0x27d668(0x104)]();}[_0x2a6bec(0x143)](){const _0x3a7fb7=_0x2a6bec;this[_0x3a7fb7(0x1b8)]||(this[_0x3a7fb7(0x1b8)]=!0x0,this['_session'][_0x3a7fb7(0x25c)][_0x3a7fb7(0x27f)](_0x599c52[_0x3a7fb7(0x1ef)](this[_0x3a7fb7(0x332)]))[_0x3a7fb7(0x250)](_0x5059d0=>{const _0x52b276=_0x3a7fb7;_0x5059d0===_0x3a040d[_0x52b276(0x34b)][_0x52b276(0x166)]?this['_toggleOnline']():this[_0x52b276(0x238)]();}),this[_0x3a7fb7(0x2c1)][_0x3a7fb7(0x326)][_0x3a7fb7(0x27f)](_0x599c52[_0x3a7fb7(0x1ef)](this['dispose$']))[_0x3a7fb7(0x250)](_0x4b936e=>{const _0x508c9f=_0x3a7fb7,_0x84a2d0=_0x4b936e[_0x508c9f(0x1a8)];_0x84a2d0===_0x12caed[_0x508c9f(0x342)]['UPDATE_CURSOR']&&this[_0x508c9f(0x30f)](_0x4b936e),_0x84a2d0===_0x12caed[_0x508c9f(0x342)][_0x508c9f(0x11c)]&&this[_0x508c9f(0x350)](_0x4b936e);}),this['disposeWithMe'](this[_0x3a7fb7(0x34f)][_0x3a7fb7(0x19c)](_0xffced4=>{const _0x41ef95=_0x3a7fb7,_0x466fd6=_0xffced4[_0x41ef95(0x33d)];_0x466fd6!=null&&this[_0x41ef95(0x28c)]&&_0xffced4['id']===_0x5c07ea[_0x41ef95(0x295)]['id']&&_0x466fd6[_0x41ef95(0x24b)]===this[_0x41ef95(0x31f)]&&_0x466fd6[_0x41ef95(0xf4)]===!0x1&&_0x466fd6[_0x41ef95(0x35b)][_0x41ef95(0x1ad)]>0x0&&this[_0x41ef95(0x1ec)](_0x466fd6[_0x41ef95(0x35b)]);})),this[_0x3a7fb7(0x11f)]['collabCursorState$'][_0x3a7fb7(0x27f)](_0x599c52[_0x3a7fb7(0x1ef)](this['dispose$']))[_0x3a7fb7(0x250)](_0x28dbfa=>{const _0x3bd11d=_0x3a7fb7;if((_0x28dbfa==null?void 0x0:_0x28dbfa[_0x3bd11d(0x31f)])!==this[_0x3bd11d(0x31f)])return;const _0x4a95b2={'eventID':_0x12caed[_0x3bd11d(0x342)][_0x3bd11d(0x34c)],'data':_0x28dbfa};this[_0x3bd11d(0x30f)](_0x4a95b2);}),this[_0x3a7fb7(0x133)](this[_0x3a7fb7(0x34f)]['onCommandExecuted'](_0x52958c=>{const _0x11dd16=_0x3a7fb7;if(_0x52958c[_0x11dd16(0x33d)]==null)return;const _0xe77d34=_0x52958c['params'];if(_0x52958c['id']!==_0x5c07ea['RichTextEditingMutation']['id']||_0xe77d34[_0x11dd16(0x24b)]!==this['unitID'])return;const _0x5116bd={'id':_0x11dd16(0x1ed),'params':_0xe77d34},_0xdac64=this[_0x11dd16(0x327)];for(const [_0x1162b0,_0x40a3ca]of _0xdac64){const _0x2da003={'id':_0x11dd16(0x1ed),'params':{'unitId':this[_0x11dd16(0x31f)],'actions':null,'textRanges':_0x40a3ca[_0x11dd16(0x35b)]}},_0x3bf625=this[_0x11dd16(0x230)][_0x11dd16(0x310)](_0x5116bd,_0x2da003,!0x1);if(_0x12caed[_0x11dd16(0x108)](_0x3bf625))throw _0x3bf625[_0x11dd16(0x285)];_0xdac64[_0x11dd16(0x1bd)](_0x1162b0,{..._0x40a3ca,'ranges':_0x3bf625[_0x11dd16(0x35e)][_0x11dd16(0x33d)]['textRanges']});}queueMicrotask(()=>{const _0x323681=_0x11dd16;this[_0x323681(0x1c2)][_0x323681(0xd5)](_0xdac64);});})));}['_onCursorUpdate'](_0x53c970){const _0x4a37ec=_0x2a6bec;var _0x5c70bc,_0x84886f;const {memberID:_0x102bf3,selection:_0x495127}=_0x53c970[_0x4a37ec(0x190)],_0x36d87a=_0x46ce7e(_0x495127),_0x1b4075=(_0x84886f=(_0x5c70bc=this['_memberService']['getMember'](this[_0x4a37ec(0x31f)],_0x102bf3))==null?void 0x0:_0x5c70bc[_0x4a37ec(0x200)])!=null?_0x84886f:'Unknown\x20user',_0x345346={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x102bf3),'name':_0x1b4075,'ranges':_0x36d87a},_0x55ef56=this['cursorInfo'];_0x55ef56[_0x4a37ec(0x1bd)](_0x102bf3,_0x345346),this[_0x4a37ec(0x1c2)][_0x4a37ec(0xd5)](_0x55ef56);}[_0x2a6bec(0x350)](_0x382cbc){const _0xbe78b7=_0x2a6bec,{memberID:_0x2f8042}=_0x382cbc[_0xbe78b7(0x190)],_0x194038=this[_0xbe78b7(0x327)];_0x194038['delete'](_0x2f8042),this['_cursorInfo$'][_0xbe78b7(0xd5)](_0x194038);}[_0x2a6bec(0x183)](){const _0x4cc217=_0x2a6bec;var _0xa7164b;if(this[_0x4cc217(0x28c)]=!0x0,((_0xa7164b=this['_univerInstanceService'][_0x4cc217(0x173)]())==null?void 0x0:_0xa7164b[_0x4cc217(0x225)]())!==this[_0x4cc217(0x31f)])return;const _0x5ef78b=this[_0x4cc217(0x33b)][_0x4cc217(0x24f)](_0x5c07ea['DocSelectionManagerService'])[_0x4cc217(0xd2)]();Array['isArray'](_0x5ef78b)&&_0x5ef78b[_0x4cc217(0x1ad)]>0x0&&this[_0x4cc217(0x1ec)](_0x5ef78b);}[_0x2a6bec(0x238)](){const _0x4e4f3b=_0x2a6bec;this[_0x4e4f3b(0x28c)]=!0x1;}};_0x41a8eb=_0x57139d([_0x72dc17(0x2,_0x42e0e7[_0x2a6bec(0x14e)](_0x42e0e7[_0x2a6bec(0x1ca)])),_0x72dc17(0x3,_0x42e0e7[_0x2a6bec(0x14e)](_0x1ee3e1)),_0x72dc17(0x4,_0x42e0e7[_0x2a6bec(0x14e)](_0x3a040d[_0x2a6bec(0x272)])),_0x72dc17(0x5,_0x42e0e7['Inject'](_0x7228ba)),_0x72dc17(0x6,_0x12caed['ITransformService']),_0x72dc17(0x7,_0x42e0e7[_0x2a6bec(0x15e)]),_0x72dc17(0x8,_0x42e0e7[_0x2a6bec(0x1d9)])],_0x41a8eb);var _0x2a8aaa=Object[_0x2a6bec(0x333)],_0x3e0a11=(_0x5e75cf,_0x5c036c,_0xb5dedc,_0x161244)=>{const _0x56da6c=_0x2a6bec;for(var _0x22e930=_0x161244>0x1?void 0x0:_0x161244?_0x2a8aaa(_0x5c036c,_0xb5dedc):_0x5c036c,_0x31e269=_0x5e75cf[_0x56da6c(0x1ad)]-0x1,_0x4f6245;_0x31e269>=0x0;_0x31e269--)(_0x4f6245=_0x5e75cf[_0x31e269])&&(_0x22e930=_0x4f6245(_0x22e930)||_0x22e930);return _0x22e930;},_0x27539a=(_0x1582fa,_0x559ab2)=>(_0x149ba1,_0xcd42d)=>_0x559ab2(_0x149ba1,_0xcd42d,_0x1582fa);const _0xf54287=0x12c,_0x1489f5=0x64,_0x8d84e=()=>{let _0x5658aa=[],_0x2623aa=!0x1;return _0x139cad=>{_0x5658aa['push'](_0x139cad),_0x2623aa||(_0x2623aa=!0x0,setTimeout(()=>{const _0x1326b6=_0x5997;_0x5658aa[_0x1326b6(0xe6)](_0x31c335=>_0x31c335()),_0x5658aa=[],_0x2623aa=!0x1;}));};};let _0x12fece=class extends _0x42e0e7['RxDisposable']{constructor(_0x18789a,_0xf58fe2,_0x233a5c,_0x517f89,_0x350a70,_0x3e85b3,_0x3cf543,_0x569475){const _0xf78b95=_0x2a6bec;super(),_0x7f0de7(this,_0xf78b95(0x28c),!0x1),_0x7f0de7(this,_0xf78b95(0x1b8),!0x1),_0x7f0de7(this,'_cursorInfo$',new _0x599c52[(_0xf78b95(0x1f4))](new Map())),_0x7f0de7(this,_0xf78b95(0xd6),this[_0xf78b95(0x1c2)][_0xf78b95(0x27b)]()),_0x7f0de7(this,_0xf78b95(0xf9),new _0x599c52[(_0xf78b95(0x1f4))]([])),_0x7f0de7(this,'roomMembers$',this[_0xf78b95(0xf9)][_0xf78b95(0x27f)](_0x599c52['debounceTime'](_0xf54287))),_0x7f0de7(this,_0xf78b95(0x1ec),_0x42e0e7[_0xf78b95(0x17e)]((_0x4cbc25,_0x3955c2)=>{const _0xb949cb=_0xf78b95,_0x2df023={'eventID':_0x12caed[_0xb949cb(0x342)]['UPDATE_CURSOR'],'data':{'unitID':this[_0xb949cb(0x31f)],'memberID':this[_0xb949cb(0x2c1)][_0xb949cb(0x1d4)](),'selection':_0x2ce579[_0xb949cb(0xcf)](_0x4cbc25,_0x3955c2[_0xb949cb(0x275)])}};this['_session'][_0xb949cb(0x32c)](_0x2df023,this['unitID']);},_0x1489f5)),(this[_0xf78b95(0x31f)]=_0x18789a,this[_0xf78b95(0x2c1)]=_0xf58fe2,this['_injector']=_0x233a5c,this[_0xf78b95(0x1c6)]=_0x517f89,this['_memberService']=_0x350a70,this[_0xf78b95(0x18e)]=_0x3e85b3,this[_0xf78b95(0x34f)]=_0x3cf543,this[_0xf78b95(0x217)]=_0x569475);}get[_0x2a6bec(0x327)](){const _0x292c96=_0x2a6bec;return this[_0x292c96(0x1c2)]['getValue']();}get[_0x2a6bec(0x1d8)](){const _0x23ae20=_0x2a6bec;return this[_0x23ae20(0xf9)][_0x23ae20(0x121)]();}[_0x2a6bec(0x336)](){const _0x142f06=_0x2a6bec;super[_0x142f06(0x336)](),this[_0x142f06(0x1c2)][_0x142f06(0xd5)](new Map()),this[_0x142f06(0x1c2)]['complete'](),this[_0x142f06(0xf9)]['next']([]),this[_0x142f06(0xf9)]['complete']();}[_0x2a6bec(0x143)](){const _0x4c88b6=_0x2a6bec;this[_0x4c88b6(0x1b8)]||(this[_0x4c88b6(0x1b8)]=!0x0,this[_0x4c88b6(0x2c1)]['sessionStatus$']['pipe'](_0x599c52[_0x4c88b6(0x1ef)](this[_0x4c88b6(0x332)]))['subscribe'](_0x532b58=>{const _0x3e5577=_0x4c88b6;_0x532b58===_0x3a040d[_0x3e5577(0x34b)][_0x3e5577(0x166)]?this[_0x3e5577(0x183)]():this['_toggleOffline']();}),this[_0x4c88b6(0x2c1)]['event$']['pipe'](_0x599c52[_0x4c88b6(0x1ef)](this[_0x4c88b6(0x332)]))[_0x4c88b6(0x250)](_0x954df5=>{const _0x3cba5e=_0x4c88b6,_0x138100=_0x954df5['eventID'];_0x138100===_0x12caed['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x3cba5e(0x30f)](_0x954df5),_0x138100===_0x12caed[_0x3cba5e(0x342)][_0x3cba5e(0x11c)]&&this[_0x3cba5e(0x350)](_0x954df5);}),this[_0x4c88b6(0xe0)](),this[_0x4c88b6(0x133)](this['_commandService'][_0x4c88b6(0x19c)](_0x7a3c70=>{const _0xbaddc2=_0x4c88b6;if(this[_0xbaddc2(0x28c)]&&_0x7a3c70['id']===_0x51eb6e[_0xbaddc2(0x17c)]['id']&&_0x7a3c70['params'][_0xbaddc2(0x24b)]===this['unitID']){const _0x17151a=_0x7a3c70[_0xbaddc2(0x33d)];this[_0xbaddc2(0x1ec)](_0x17151a[_0xbaddc2(0x125)],_0x17151a['selections'][0x0]);}})));}[_0x2a6bec(0x30f)](_0x285b35){const _0x5b711=_0x2a6bec;var _0x17157d,_0x327aeb;const {memberID:_0x1141d1,selection:_0x110d4e}=_0x285b35['data'],{sheetName:_0x56720e,range:_0xec3c53}=_0x2ce579[_0x5b711(0x2aa)](_0x110d4e),_0x2ffada={'name':(_0x327aeb=(_0x17157d=this['_memberService'][_0x5b711(0x34e)](this[_0x5b711(0x31f)],_0x1141d1))==null?void 0x0:_0x17157d[_0x5b711(0x200)])!=null?_0x327aeb:_0x5b711(0x31c),'range':this['_getMergeRange'](_0x56720e,_0xec3c53),'sheetID':_0x56720e,'color':this[_0x5b711(0x1c6)][_0x5b711(0x2cb)](_0x1141d1),'selection':_0x110d4e},_0x41217a=this[_0x5b711(0x327)];_0x41217a[_0x5b711(0x1bd)](_0x1141d1,_0x2ffada),this[_0x5b711(0x1c2)][_0x5b711(0xd5)](_0x41217a);}['_onCursorDelete'](_0x1fa035){const _0x289b2c=_0x2a6bec,{memberID:_0x10fce7}=_0x1fa035[_0x289b2c(0x190)],_0x38c344=this['cursorInfo'];_0x38c344['delete'](_0x10fce7),this['_cursorInfo$']['next'](_0x38c344);}[_0x2a6bec(0x2b7)](_0x55e6d1,_0x5b2c8b){const _0x199793=_0x2a6bec;var _0x8cd400,_0x223f9c;const _0x5423c7=(_0x223f9c=(_0x8cd400=this[_0x199793(0x18e)][_0x199793(0xf1)](this[_0x199793(0x31f)]))==null?void 0x0:_0x8cd400[_0x199793(0x2f0)](_0x55e6d1))==null?void 0x0:_0x223f9c[_0x199793(0x257)]();return(_0x5423c7==null?void 0x0:_0x5423c7['find'](_0x2aab29=>_0x42e0e7[_0x199793(0x2d0)][_0x199793(0x2bd)](_0x2aab29,_0x5b2c8b)))||_0x5b2c8b;}[_0x2a6bec(0xe0)](){const _0x5c0a01=_0x2a6bec,_0x44f131=new _0x42e0e7[(_0x5c0a01(0x1ea))](),_0x4a07bf=_0x8d84e(),_0x379c86=()=>{const _0xbf89f0=_0x5c0a01;_0x44f131['dispose']();const _0xc246f6=(_0x5b45e4,_0x258134,_0x4cbd36,_0x56aa84)=>{const _0x53201a=_0x5997;let _0xb2cd07=[];switch(_0x5b45e4['id']){case _0x51eb6e[_0x53201a(0x27a)]['DeleteRangeMoveLeftCommandId']:{_0xb2cd07=_0x51eb6e[_0x53201a(0x223)](_0x5b45e4,_0x56aa84);break;}case _0x51eb6e['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0xb2cd07=_0x51eb6e[_0x53201a(0x357)](_0x5b45e4,_0x56aa84);break;}case _0x51eb6e[_0x53201a(0x27a)][_0x53201a(0x312)]:{_0xb2cd07=_0x51eb6e['handleInsertCol'](_0x5b45e4,_0x56aa84);break;}case _0x51eb6e[_0x53201a(0x27a)][_0x53201a(0x234)]:{_0xb2cd07=_0x51eb6e[_0x53201a(0x242)](_0x5b45e4,_0x56aa84);break;}case _0x51eb6e[_0x53201a(0x27a)][_0x53201a(0x132)]:{_0xb2cd07=_0x51eb6e[_0x53201a(0x205)](_0x5b45e4,_0x56aa84);break;}case _0x51eb6e[_0x53201a(0x27a)][_0x53201a(0x335)]:{_0xb2cd07=_0x51eb6e['handleInsertRow'](_0x5b45e4,_0x56aa84);break;}case _0x51eb6e[_0x53201a(0x27a)]['MoveRangeCommandId']:{_0xb2cd07=_0x51eb6e[_0x53201a(0x266)](_0x5b45e4,_0x56aa84);break;}case _0x51eb6e[_0x53201a(0x27a)]['RemoveColCommandId']:{_0xb2cd07=_0x51eb6e['handleIRemoveCol'](_0x5b45e4,_0x56aa84);break;}case _0x51eb6e['EffectRefRangId'][_0x53201a(0x188)]:{_0xb2cd07=_0x51eb6e['handleIRemoveRow'](_0x5b45e4,_0x56aa84);break;}}const _0x100b71=_0x51eb6e[_0x53201a(0x163)](_0xb2cd07,_0x56aa84),_0x4b74d3=this[_0x53201a(0x327)][_0x53201a(0x24f)](_0x258134);if(_0x4b74d3&&_0x100b71){const _0x311077={..._0x4b74d3,'range':_0x100b71};this[_0x53201a(0x327)][_0x53201a(0x1bd)](_0x258134,_0x311077),_0x4a07bf(()=>{const _0x103007=_0x53201a,_0x1f1752=this[_0x103007(0x217)][_0x103007(0x1be)](_0x100b71,_0x3f9629=>(_0x1f1752['dispose'](),_0xc246f6(_0x3f9629,_0x258134,_0x4cbd36,_0x100b71)));_0x44f131[_0x103007(0x279)](_0x1f1752);});}return{'redos':[],'undos':[]};};this[_0xbf89f0(0x327)][_0xbf89f0(0xe6)]((_0x2749ee,_0x5c022f)=>{const _0x118fc5=_0xbf89f0,{range:_0x5dd791,sheetID:_0x2d3ae3}=_0x2749ee,_0x3657dc=this[_0x118fc5(0x217)][_0x118fc5(0x1be)](_0x5dd791,_0x4778d4=>(_0x3657dc['dispose'](),_0xc246f6(_0x4778d4,_0x5c022f,_0x2d3ae3,_0x5dd791)));_0x44f131['add'](_0x3657dc);});};this[_0x5c0a01(0x133)](_0x42e0e7['toDisposable'](this[_0x5c0a01(0x1c2)][_0x5c0a01(0x250)](()=>{_0x379c86();})));}[_0x2a6bec(0x183)](){const _0x11584e=_0x2a6bec;var _0x2aa901,_0x1c5fb9;if(this[_0x11584e(0x28c)]=!0x0,((_0x2aa901=this[_0x11584e(0x18e)][_0x11584e(0x173)]())==null?void 0x0:_0x2aa901[_0x11584e(0x225)]())!==this[_0x11584e(0x31f)])return;const _0x55d6c4=(_0x1c5fb9=this['_injector'][_0x11584e(0x24f)](_0x51eb6e[_0x11584e(0x1a7)])['getCurrentSelections']())==null?void 0x0:_0x1c5fb9[0x0],_0x288af6=this[_0x11584e(0x18e)][_0x11584e(0x1ce)](_0x42e0e7[_0x11584e(0x129)][_0x11584e(0x19b)])[_0x11584e(0x2e4)]();_0x55d6c4&&_0x288af6&&this[_0x11584e(0x1ec)](_0x288af6['getSheetId'](),_0x55d6c4);}[_0x2a6bec(0x238)](){const _0x1afc8b=_0x2a6bec;this[_0x1afc8b(0x28c)]=!0x1;}};_0x12fece=_0x3e0a11([_0x27539a(0x2,_0x42e0e7[_0x2a6bec(0x14e)](_0x42e0e7[_0x2a6bec(0x1ca)])),_0x27539a(0x3,_0x42e0e7[_0x2a6bec(0x14e)](_0x1ee3e1)),_0x27539a(0x4,_0x42e0e7[_0x2a6bec(0x14e)](_0x3a040d[_0x2a6bec(0x272)])),_0x27539a(0x5,_0x42e0e7[_0x2a6bec(0x15e)]),_0x27539a(0x6,_0x42e0e7[_0x2a6bec(0x1d9)]),_0x27539a(0x7,_0x42e0e7[_0x2a6bec(0x14e)](_0x51eb6e[_0x2a6bec(0x15f)]))],_0x12fece);var _0x5e30df=Object[_0x2a6bec(0x333)],_0x2d4482=(_0xc43a3c,_0x3e533d,_0x354262,_0x5dc329)=>{const _0xf5b810=_0x2a6bec;for(var _0x3d610e=_0x5dc329>0x1?void 0x0:_0x5dc329?_0x5e30df(_0x3e533d,_0x354262):_0x3e533d,_0x466bb7=_0xc43a3c[_0xf5b810(0x1ad)]-0x1,_0x5534cb;_0x466bb7>=0x0;_0x466bb7--)(_0x5534cb=_0xc43a3c[_0x466bb7])&&(_0x3d610e=_0x5534cb(_0x3d610e)||_0x3d610e);return _0x3d610e;},_0x4d9ec5=(_0x1551ef,_0x722063)=>(_0xa37c0f,_0x5e52cd)=>_0x722063(_0xa37c0f,_0x5e52cd,_0x1551ef);let _0x465ed4=class extends _0x42e0e7[_0x2a6bec(0x191)]{constructor(_0x571329,_0x1c1e1d,_0x291520){const _0x4daf1f=_0x2a6bec;super(),_0x7f0de7(this,_0x4daf1f(0xe9),new Map()),_0x7f0de7(this,'_entityInit$',new _0x599c52[(_0x4daf1f(0x140))]()),(this['_univerInstanceService']=_0x571329,this['_injector']=_0x1c1e1d,this[_0x4daf1f(0x1b5)]=_0x291520,this['_init']());}[_0x2a6bec(0x336)](){const _0x2d1a6b=_0x2a6bec;super[_0x2d1a6b(0x336)](),this[_0x2d1a6b(0xed)][_0x2d1a6b(0x104)](),this['_entities'][_0x2d1a6b(0xe6)](_0x33ad80=>_0x33ad80[_0x2d1a6b(0x336)]());}[_0x2a6bec(0x25f)](_0x4fdd5e){const _0x11623a=_0x2a6bec;return this[_0x11623a(0xe9)][_0x11623a(0x297)](_0x4fdd5e)?this[_0x11623a(0xe9)][_0x11623a(0x24f)](_0x4fdd5e)[_0x11623a(0xd6)]:this['_entityInit$'][_0x11623a(0x27f)](_0x599c52[_0x11623a(0x18a)](_0x44bd3b=>_0x44bd3b[_0x11623a(0x31f)]===_0x4fdd5e),_0x599c52[_0x11623a(0x2c6)](_0x53c7ba=>_0x53c7ba['cursorInfo$']));}['_init'](){const _0x480399=_0x2a6bec;this[_0x480399(0x18e)][_0x480399(0x2df)](_0x42e0e7[_0x480399(0x129)][_0x480399(0x19b)])['pipe'](_0x599c52['takeUntil'](this['dispose$']))['subscribe'](async _0x4eca2a=>{const _0x449a6a=_0x480399,_0x24c6ea=_0x4eca2a['getUnitId'](),_0x58153d=await this[_0x449a6a(0x33f)](_0x24c6ea);this[_0x449a6a(0xed)]['next'](_0x58153d),this[_0x449a6a(0xe9)][_0x449a6a(0x1bd)](_0x24c6ea,_0x58153d);}),this[_0x480399(0x18e)][_0x480399(0x2df)](_0x42e0e7['UniverInstanceType'][_0x480399(0x2f3)])[_0x480399(0x27f)](_0x599c52[_0x480399(0x1ef)](this[_0x480399(0x332)]))['pipe'](_0x599c52[_0x480399(0x18a)](_0x464161=>!_0x464161[_0x480399(0x225)]()[_0x480399(0x127)]('__')))[_0x480399(0x250)](async _0x25e66d=>{const _0x1f116c=_0x480399,_0x1f9c71=_0x25e66d[_0x1f116c(0x225)](),_0x3e0daa=await this[_0x1f116c(0x14a)](_0x1f9c71);this[_0x1f116c(0xed)]['next'](_0x3e0daa),this[_0x1f116c(0xe9)][_0x1f116c(0x1bd)](_0x1f9c71,_0x3e0daa);}),_0x599c52[_0x480399(0xfe)](this[_0x480399(0x18e)]['getTypeOfUnitDisposed$'](_0x42e0e7['UniverInstanceType'][_0x480399(0x2f3)]),this[_0x480399(0x18e)][_0x480399(0x103)](_0x42e0e7[_0x480399(0x129)][_0x480399(0x19b)]))['pipe'](_0x599c52[_0x480399(0x1ef)](this[_0x480399(0x332)]))['subscribe'](_0x5d4bb9=>{const _0x53f266=_0x480399,_0x3aab42=_0x5d4bb9['getUnitId'](),_0x57661e=this['_entities']['get'](_0x3aab42);_0x57661e&&(_0x57661e[_0x53f266(0x336)](),this[_0x53f266(0xe9)][_0x53f266(0x12f)](_0x3aab42));});}async[_0x2a6bec(0x33f)](_0xee3547){const _0x39157d=_0x2a6bec,_0x3f2760=await this[_0x39157d(0x1b5)][_0x39157d(0x30a)](_0xee3547),_0x49a8da=this[_0x39157d(0x33b)]['createInstance'](_0x12fece,_0xee3547,_0x3f2760);return _0x49a8da[_0x39157d(0x143)](),_0x49a8da;}async[_0x2a6bec(0x14a)](_0x18626f){const _0x55b295=_0x2a6bec,_0x538ef0=await this['_collabSessionService'][_0x55b295(0x30a)](_0x18626f),_0x222dc1=this[_0x55b295(0x33b)][_0x55b295(0x28b)](_0x41a8eb,_0x18626f,_0x538ef0);return _0x222dc1[_0x55b295(0x143)](),_0x222dc1;}};_0x465ed4=_0x2d4482([_0x4d9ec5(0x0,_0x42e0e7[_0x2a6bec(0x15e)]),_0x4d9ec5(0x1,_0x42e0e7['Inject'](_0x42e0e7[_0x2a6bec(0x1ca)])),_0x4d9ec5(0x2,_0x42e0e7[_0x2a6bec(0x14e)](_0x3a040d[_0x2a6bec(0x233)]))],_0x465ed4);const _0x5a55c0=0x14,_0x1d5609=0xc8,_0x1bd5dc=0x4,_0x216d78=0x5;function _0x3d420f(_0x12f019,_0x1620e4){const _0x50e0ee=_0x2a6bec;let {radius:_0x4c3c83,width:_0x2d1ab6,height:_0x549e07}=_0x1620e4;_0x4c3c83=_0x4c3c83!=null?_0x4c3c83:0x0,_0x2d1ab6=_0x2d1ab6!=null?_0x2d1ab6:0x1e,_0x549e07=_0x549e07!=null?_0x549e07:0x1e;let _0x59a7ce=0x0,_0x480064=0x0,_0x688c00=0x0;_0x59a7ce=_0x480064=_0x688c00=Math['min'](_0x4c3c83,_0x2d1ab6/0x2,_0x549e07/0x2),_0x12f019[_0x50e0ee(0x15a)](),_0x12f019[_0x50e0ee(0x228)](_0x59a7ce,0x0),_0x12f019[_0x50e0ee(0x176)](_0x2d1ab6-_0x480064,0x0),_0x12f019[_0x50e0ee(0x20e)](_0x2d1ab6-_0x480064,_0x480064,_0x480064,Math['PI']*0x3/0x2,0x0,!0x1),_0x12f019['lineTo'](_0x2d1ab6,_0x549e07-_0x688c00),_0x12f019[_0x50e0ee(0x20e)](_0x2d1ab6-_0x688c00,_0x549e07-_0x688c00,_0x688c00,0x0,Math['PI']/0x2,!0x1),_0x12f019[_0x50e0ee(0x176)](0x0,_0x549e07),_0x12f019[_0x50e0ee(0x176)](0x0,_0x59a7ce),_0x12f019['arc'](_0x59a7ce,_0x59a7ce,_0x59a7ce,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x12f019['closePath'](),_0x1620e4['fill']&&(_0x12f019[_0x50e0ee(0x2ea)](),_0x12f019['fillStyle']=_0x1620e4[_0x50e0ee(0x2a9)],_0x1620e4[_0x50e0ee(0x359)]===_0x50e0ee(0x1c7)?_0x12f019[_0x50e0ee(0x2a9)](_0x50e0ee(0x1c7)):_0x12f019[_0x50e0ee(0x2a9)](),_0x12f019[_0x50e0ee(0x1e1)]());}class _0x5b4809 extends _0x5af10f[_0x2a6bec(0x307)]{constructor(_0xf05d93,_0x1508df){const _0x21c98e=_0x2a6bec;super(_0xf05d93,_0x1508df),_0x7f0de7(this,_0x21c98e(0x1d2)),_0x7f0de7(this,_0x21c98e(0x207)),(this['color']=_0x1508df==null?void 0x0:_0x1508df['color'],this[_0x21c98e(0x207)]=_0x1508df==null?void 0x0:_0x1508df[_0x21c98e(0x207)]);}static['drawWith'](_0x5d696c,_0x3da725){const _0x44589c=_0x2a6bec,{text:_0x555631,color:_0x4b55e2}=_0x3da725;_0x5d696c[_0x44589c(0x2ea)](),_0x5d696c[_0x44589c(0xf3)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x1ff16d=_0x5d696c[_0x44589c(0x271)](_0x555631)[_0x44589c(0x224)],_0x16a760=Math[_0x44589c(0x280)](_0x1ff16d+0x2*_0x1bd5dc,_0x1d5609);_0x3d420f(_0x5d696c,{'height':_0x5a55c0,'radius':0x4,'width':_0x16a760,'fill':_0x4b55e2}),_0x5d696c[_0x44589c(0x2f4)]=_0x44589c(0x360);const _0x138cc9=_0x1bd5dc,_0x331309=_0x5a55c0-_0x216d78,_0xf66de7=_0x1d5609-0x2*_0x1bd5dc;if(_0x1ff16d>_0xf66de7){let _0x2996a0='',_0x43e76f=0x0;for(const _0x42df2d of _0x555631){const _0x3dd5d1=_0x5d696c[_0x44589c(0x271)](_0x42df2d)['width'];if(_0x43e76f+_0x3dd5d1<=_0xf66de7-_0x5d696c['measureText'](_0x44589c(0x1a4))['width'])_0x2996a0+=_0x42df2d,_0x43e76f+=_0x3dd5d1;else{_0x2996a0+='...';break;}}_0x5d696c[_0x44589c(0x2be)](_0x2996a0,_0x138cc9,_0x331309);}else _0x5d696c[_0x44589c(0x2be)](_0x555631,_0x138cc9,_0x331309);_0x5d696c[_0x44589c(0x1e1)]();}[_0x2a6bec(0x19e)](_0x591569){const _0x53fd2a=_0x2a6bec;_0x5b4809[_0x53fd2a(0x1e7)](_0x591569,this);}}const _0x1a07b6=_0x2a6bec(0x25a),_0x2f4035=_0x2a6bec(0x330),_0x4b7160=_0x2a6bec(0x1c4),_0xc935d6=0x6,_0x6caf17=1.5,_0x16b61b=0x4,_0x5d45b7=1.5,_0xe711db='rgba(255,\x20255,\x20255,\x200.01)';class _0x20276e{constructor(_0x4cfb61,_0x157bae,_0x4ba749,_0x5ce1c9){const _0x4168d0=_0x2a6bec;_0x7f0de7(this,'_shapes',[]),_0x7f0de7(this,'_anchor',null),_0x7f0de7(this,_0x4168d0(0x248),null),_0x7f0de7(this,_0x4168d0(0x249),null),_0x7f0de7(this,'_hideTimer',null),_0x7f0de7(this,'_eventUnsubscribe',null),(this[_0x4168d0(0x1b3)]=_0x4cfb61,this[_0x4168d0(0x13f)]=_0x157bae,this['_docSkeleton']=_0x4ba749,this[_0x4168d0(0x1c8)]=_0x5ce1c9,this['_render']());}set[_0x2a6bec(0x13e)](_0x33b654){const _0x59aa43=_0x2a6bec;_0x33b654?(this[_0x59aa43(0x249)]&&this['_anchorDot'][_0x59aa43(0x294)](),this[_0x59aa43(0x248)]&&this[_0x59aa43(0x248)][_0x59aa43(0x1a0)]()):(this[_0x59aa43(0x249)]&&this['_anchorDot'][_0x59aa43(0x1a0)](),this[_0x59aa43(0x248)]&&this['_textBubble'][_0x59aa43(0x294)]());}[_0x2a6bec(0x336)](){const _0x372c6a=_0x2a6bec;for(const _0x583a3d of this['_shapes'])_0x583a3d[_0x372c6a(0x336)]();this[_0x372c6a(0x248)]&&this[_0x372c6a(0x248)][_0x372c6a(0x336)](),this[_0x372c6a(0x249)]&&this[_0x372c6a(0x249)][_0x372c6a(0x336)](),this[_0x372c6a(0x185)]&&this[_0x372c6a(0x185)][_0x372c6a(0x336)](),this['_eventUnsubscribe']&&this[_0x372c6a(0x311)]();}[_0x2a6bec(0x1c0)](){const _0x460d5a=_0x2a6bec;var _0x5d7e1f;const {_docSkeleton:_0x542502,_document:_0x23a268}=this,{color:_0x253cab,name:_0x1821f1,ranges:_0x343c93}=this['_cursor'],_0x3b2581=_0x23a268['getOffsetConfig'](),{docsLeft:_0x278e06,docsTop:_0x36d583}=_0x3b2581,_0x2ca91c=new _0x116ef8[(_0x460d5a(0x241))](_0x3b2581,_0x542502);for(const {startOffset:_0x127208,endOffset:_0x388e68,rangeType:_0x3c27bd,segmentId:_0xde17d2,segmentPage:_0x471da7,collapsed:_0x3b4858,isActive:_0xf766b0}of _0x343c93){const _0x14252f=_0x542502[_0x460d5a(0x2a0)](_0x127208,!0x0,_0xde17d2,_0x471da7);let _0x2931c8=_0x542502[_0x460d5a(0x2a0)](_0x388e68,!0x0,_0xde17d2,_0x471da7);if(_0x2931c8==null&&(_0x2931c8=_0x542502['findNodePositionByCharIndex'](_0x388e68-0x1,!0x1,_0xde17d2,_0x471da7)),_0xf766b0){const {contentBoxPointGroup:_0x4e764c}=_0x2ca91c[_0x460d5a(0x298)](_0x2931c8,_0x2931c8);if(_0x4e764c[_0x460d5a(0x1ad)]===0x0)continue;this['_drawAnchor'](_0x253cab,_0x4e764c,_0x278e06,_0x36d583,_0x1821f1),this[_0x460d5a(0x311)]=this[_0x460d5a(0x347)]();}if(_0x14252f&&_0x2931c8){if(_0x3c27bd===_0x42e0e7[_0x460d5a(0x1b0)][_0x460d5a(0x146)]){const _0x2f9690=new _0x116ef8['NodePositionConvertToRectRange'](_0x3b2581,_0x542502),{pointGroup:_0x3065a3}=(_0x5d7e1f=_0x2f9690['getRangePointData'](_0x14252f,_0x2931c8))!=null?_0x5d7e1f:{};if(_0x3065a3==null||_0x3065a3[_0x460d5a(0x1ad)]===0x0)continue;this[_0x460d5a(0x30d)](_0x253cab,_0x3065a3,_0x278e06,_0x36d583);}else{if(!_0x3b4858){const {borderBoxPointGroup:_0x444152}=_0x2ca91c[_0x460d5a(0x298)](_0x14252f,_0x2931c8);if(_0x444152[_0x460d5a(0x1ad)]===0x0)continue;this[_0x460d5a(0x2d9)](_0x253cab,_0x444152,_0x278e06,_0x36d583);}}}}}[_0x2a6bec(0x348)](_0x2511a0,_0x5a864c,_0x2d77e9,_0x30b06f,_0x3011c1){const _0xb991c2=_0x2a6bec,_0x1a1d40=this['_getAnchorBounding'](_0x5a864c),{left:_0x386b64,top:_0x2a840b,height:_0x42ad32}=_0x1a1d40,_0x875652=this[_0xb991c2(0x192)](),_0x38cb72=_0x5d45b7/_0x875652,_0x30205e=new _0x5af10f['Rect'](_0x1a07b6+_0x42e0e7[_0xb991c2(0x339)][_0xb991c2(0x1fc)](_0xc935d6),{'left':_0x386b64+_0x2d77e9-_0x38cb72,'top':_0x2a840b+_0x30b06f,'height':_0x42ad32,'width':_0x6caf17,'fill':_0x2511a0||_0x5af10f[_0xb991c2(0x23b)](_0x42e0e7[_0xb991c2(0xea)]['black'],0x0),'strokeWidth':_0x38cb72,'stroke':_0xe711db,'evented':!0x0});this['_anchor']=_0x30205e,this[_0xb991c2(0x13f)][_0xb991c2(0x1a9)](_0x30205e,_0x116ef8[_0xb991c2(0x24e)]);const _0x56a71d=new _0x5af10f['Rect'](_0x1a07b6+_0x42e0e7[_0xb991c2(0x339)][_0xb991c2(0x1fc)](_0xc935d6),{'left':_0x386b64+_0x2d77e9-_0x38cb72,'top':_0x2a840b+_0x30b06f-_0x16b61b/0x2,'height':_0x16b61b,'width':_0x16b61b,'fill':_0x2511a0||_0x5af10f[_0xb991c2(0x23b)](_0x42e0e7[_0xb991c2(0xea)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x2511a0||_0x5af10f[_0xb991c2(0x23b)](_0x42e0e7['COLORS'][_0xb991c2(0x33e)],0x0),'evented':!0x1});this[_0xb991c2(0x249)]=_0x56a71d,this[_0xb991c2(0x13f)]['addObject'](_0x56a71d,_0x116ef8[_0xb991c2(0x24e)]);const _0x20556d=new _0x5b4809(_0x1a07b6+_0x42e0e7[_0xb991c2(0x339)][_0xb991c2(0x1fc)](_0xc935d6),{'left':_0x386b64+_0x2d77e9-_0x38cb72,'top':_0x2a840b+_0x30b06f-_0x5a55c0,'text':_0x3011c1,'color':_0x2511a0});this[_0xb991c2(0x248)]=_0x20556d,this[_0xb991c2(0x13f)][_0xb991c2(0x1a9)](_0x20556d,_0x116ef8[_0xb991c2(0x24e)]),this['_hover']=!0x1;}[_0x2a6bec(0x347)](){const _0x40bc7d=_0x2a6bec,_0x41502d=this['_anchor'][_0x40bc7d(0x1c5)][_0x40bc7d(0x2ca)](()=>{const _0x382857=_0x40bc7d;this[_0x382857(0x13e)]=!0x0;}),_0x48ab25=this[_0x40bc7d(0x185)][_0x40bc7d(0x2b3)][_0x40bc7d(0x2ca)](()=>{const _0x2a24d6=_0x40bc7d;this[_0x2a24d6(0x25d)]&&clearTimeout(this[_0x2a24d6(0x25d)]),this['_hideTimer']=setTimeout(()=>{const _0x157dd5=_0x2a24d6;this[_0x157dd5(0x13e)]=!0x1;},0x7d0);});return()=>{const _0x2dfcf8=_0x40bc7d;_0x41502d[_0x2dfcf8(0x27e)](),_0x48ab25[_0x2dfcf8(0x27e)]();};}[_0x2a6bec(0x2d9)](_0x21078b,_0x5e81b5,_0x226b88,_0x4220a9){const _0x4631cd=_0x2a6bec,_0xed9339=new _0x42e0e7[(_0x4631cd(0x2d6))](_0x21078b)[_0x4631cd(0x2e7)](0.2)[_0x4631cd(0x33a)](),_0x45b8ef=new _0x5af10f[(_0x4631cd(0x284))](_0x2f4035+_0x42e0e7[_0x4631cd(0x339)][_0x4631cd(0x1fc)](_0xc935d6),{'pointsGroup':_0x5e81b5,'fill':_0xed9339||_0x5af10f[_0x4631cd(0x23b)](_0x42e0e7[_0x4631cd(0xea)][_0x4631cd(0x33e)],0.2),'left':_0x226b88,'top':_0x4220a9,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4631cd(0x26f)][_0x4631cd(0x24c)](_0x45b8ef),this[_0x4631cd(0x13f)][_0x4631cd(0x1a9)](_0x45b8ef,_0x116ef8[_0x4631cd(0x24e)]);}[_0x2a6bec(0x30d)](_0x23584a,_0x42d7d2,_0x70e0,_0x43f137){const _0x3b8453=_0x2a6bec,_0x1fa58b=new _0x42e0e7[(_0x3b8453(0x2d6))](_0x23584a)[_0x3b8453(0x2e7)](0.2)[_0x3b8453(0x33a)](),_0x5038d9=new _0x5af10f['RegularPolygon'](_0x4b7160+_0x42e0e7[_0x3b8453(0x339)][_0x3b8453(0x1fc)](_0xc935d6),{'pointsGroup':_0x42d7d2,'fill':_0x1fa58b||_0x5af10f[_0x3b8453(0x23b)](_0x42e0e7[_0x3b8453(0xea)][_0x3b8453(0x33e)],0.2),'left':_0x70e0,'top':_0x43f137,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3b8453(0x26f)][_0x3b8453(0x24c)](_0x5038d9),this[_0x3b8453(0x13f)][_0x3b8453(0x1a9)](_0x5038d9,_0x116ef8[_0x3b8453(0x24e)]);}[_0x2a6bec(0x14d)](_0x66e7c3){const _0x5ec795=_0x66e7c3[0x0],_0x32af6d=_0x5ec795[0x0],_0x2811d4=_0x5ec795[0x2],{x:_0x369038,y:_0x2e132c}=_0x32af6d,{x:_0x2883c9,y:_0x4d0480}=_0x2811d4;return{'left':_0x369038,'top':_0x2e132c,'width':_0x2883c9-_0x369038,'height':_0x4d0480-_0x2e132c};}[_0x2a6bec(0x192)](){const _0x2b80eb=_0x2a6bec,{scaleX:_0x3df64d,scaleY:_0x314881}=this['_scene'][_0x2b80eb(0x151)]();return Math[_0x2b80eb(0x33c)](_0x3df64d,_0x314881);}}var _0x1811e7=Object[_0x2a6bec(0x333)],_0x1daf4e=(_0x363f8c,_0x437238,_0x332f6e,_0x1f24c1)=>{const _0x4af95c=_0x2a6bec;for(var _0xfbfd=_0x1f24c1>0x1?void 0x0:_0x1f24c1?_0x1811e7(_0x437238,_0x332f6e):_0x437238,_0x481e08=_0x363f8c[_0x4af95c(0x1ad)]-0x1,_0x445d39;_0x481e08>=0x0;_0x481e08--)(_0x445d39=_0x363f8c[_0x481e08])&&(_0xfbfd=_0x445d39(_0xfbfd)||_0xfbfd);return _0xfbfd;},_0x3f122b=(_0x507322,_0x58df63)=>(_0x432b44,_0x3c0751)=>_0x58df63(_0x432b44,_0x3c0751,_0x507322);let _0x28e886=class extends _0x42e0e7[_0x2a6bec(0x191)]{constructor(_0x385987,_0x6bbd95,_0x3037ed,_0x3f2657,_0x225119){const _0x23d3b6=_0x2a6bec;super(),_0x7f0de7(this,'_cursorShapes',[]),_0x7f0de7(this,_0x23d3b6(0x15b),[]),(this[_0x23d3b6(0x2e8)]=_0x385987,this[_0x23d3b6(0x32b)]=_0x6bbd95,this[_0x23d3b6(0x100)]=_0x3037ed,this['_commandService']=_0x3f2657,this[_0x23d3b6(0x329)]=_0x225119,this[_0x23d3b6(0x1b8)]());}[_0x2a6bec(0x1b8)](){const _0x493e90=_0x2a6bec,_0x45ba51=this[_0x493e90(0x2e8)][_0x493e90(0x24b)],_0x444eb3=this[_0x493e90(0x32b)];this[_0x493e90(0x133)](_0x599c52['combineLatest']([this['_collabCursorController'][_0x493e90(0x25f)](_0x45ba51),this[_0x493e90(0x329)][_0x493e90(0x23c)]])[_0x493e90(0x27f)](_0xaa0c1c[_0x493e90(0x324)](([_0x6b0ec9,_0x4df7be])=>({'skeleton':_0x444eb3[_0x493e90(0x113)](),'cursors':[..._0x6b0ec9[_0x493e90(0x13a)]()][_0x493e90(0x19f)](_0x5be41e=>({..._0x5be41e,'color':_0x4df7be[_0x5be41e[_0x493e90(0x1d2)]]}))})))[_0x493e90(0x250)](_0xef2793=>{const _0x5b7d9a=_0x493e90;if(this[_0x5b7d9a(0x2e0)](),_0xef2793){const {skeleton:_0x5dc9ee,cursors:_0x26da6a}=_0xef2793;this['_updateCollabCursors'](_0x5dc9ee,_0x26da6a);}})),this['_initResize'](),this[_0x493e90(0x180)]();}['_updateCollabCursors'](_0x5b49ed,_0x3e370f){const _0x3d1560=_0x2a6bec,{scene:_0x95d7ff,mainComponent:_0x1eb00b}=this[_0x3d1560(0x2e8)],_0x95d2f1=_0x3e370f['map'](_0x2fbb72=>new _0x20276e(_0x2fbb72,_0x95d7ff,_0x5b49ed,_0x1eb00b));this['_cursorShapes']=_0x95d2f1,this[_0x3d1560(0x15b)]=_0x3e370f;}[_0x2a6bec(0x206)](){const _0x7cb380=_0x2a6bec;this['_removeCollabCursors']();const {scene:_0x28eac0,mainComponent:_0x170733}=this[_0x7cb380(0x2e8)],_0xe6b6c6=this[_0x7cb380(0x32b)][_0x7cb380(0x113)](),_0x320652=this[_0x7cb380(0x15b)][_0x7cb380(0x324)](_0x368e34=>new _0x20276e(_0x368e34,_0x28eac0,_0xe6b6c6,_0x170733));this[_0x7cb380(0x211)]=_0x320652;}[_0x2a6bec(0x2e0)](){const _0x213991=_0x2a6bec;this[_0x213991(0x211)][_0x213991(0xe6)](_0x2c60af=>_0x2c60af['dispose']()),this[_0x213991(0x211)]=[];}[_0x2a6bec(0x180)](){const _0x11f879=_0x2a6bec,_0x40b3a1=[_0x116ef8[_0x11f879(0x318)]['id']];this['disposeWithMe'](this[_0x11f879(0x34f)]['onCommandExecuted'](_0x283219=>{const _0x40f4a0=_0x11f879;_0x40b3a1[_0x40f4a0(0x1cc)](_0x283219['id'])&&_0x283219[_0x40f4a0(0x33d)][_0x40f4a0(0x24b)]===this[_0x40f4a0(0x2e8)][_0x40f4a0(0x24b)]&&this['_refreshCollabCursors']();}));}[_0x2a6bec(0x2c9)](){const _0x388a76=_0x2a6bec;this[_0x388a76(0x133)](_0x42e0e7[_0x388a76(0x18c)](this['_context'][_0x388a76(0x13c)]['onTransformChange$'])[_0x388a76(0x27f)](_0xaa0c1c[_0x388a76(0x18a)](_0x44a8e8=>_0x44a8e8[_0x388a76(0xd4)]===_0x5af10f['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x388a76(0x337)]),_0xaa0c1c['throttleTime'](0x10))[_0x388a76(0x250)](()=>{const _0x35b49a=_0x388a76;this[_0x35b49a(0x206)]();}));}};_0x28e886=_0x1daf4e([_0x3f122b(0x1,_0x42e0e7['Inject'](_0x5c07ea[_0x2a6bec(0x1f8)])),_0x3f122b(0x2,_0x42e0e7[_0x2a6bec(0x14e)](_0x465ed4)),_0x3f122b(0x3,_0x42e0e7['ICommandService']),_0x3f122b(0x4,_0x42e0e7[_0x2a6bec(0x14e)](_0x42e0e7[_0x2a6bec(0x175)]))],_0x28e886);const _0x17a968=0x1,_0x4ccfc7=1.5;class _0x2bc6e2 extends _0x5af10f[_0x2a6bec(0x307)]{constructor(_0x5ec987,_0xb3161f){const _0x274bde=_0x2a6bec;super(_0x5ec987,_0xb3161f),_0x7f0de7(this,_0x274bde(0x210)),_0x7f0de7(this,'_hovered',!0x1),_0x7f0de7(this,_0x274bde(0x1ab)),_0x7f0de7(this,_0x274bde(0x34d),''),_0x7f0de7(this,_0x274bde(0xe3),_0x274bde(0x144)),_0x7f0de7(this,_0x274bde(0x2af)),(_0xb3161f&&this[_0x274bde(0x235)](_0xb3161f),this[_0x274bde(0x1c5)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x274bde(0x2b3)]['subscribeEvent'](()=>this[_0x274bde(0x235)]({'hovered':!0x1})));}[_0x2a6bec(0x235)](_0x55eb27){const _0x77b1a=_0x2a6bec;var _0x27cd46,_0x4ceb92,_0x5b3693,_0x513f2d,_0x51b957,_0x2ae714;this[_0x77b1a(0x210)]=(_0x27cd46=_0x55eb27[_0x77b1a(0x1d2)])!=null?_0x27cd46:this['_color'],this['_hovered']=(_0x4ceb92=_0x55eb27['hovered'])!=null?_0x4ceb92:this[_0x77b1a(0x29e)],this[_0x77b1a(0x1ab)]=(_0x5b3693=_0x55eb27[_0x77b1a(0x275)])!=null?_0x5b3693:this[_0x77b1a(0x1ab)],this['_name']=(_0x513f2d=_0x55eb27[_0x77b1a(0x200)])!=null?_0x513f2d:this[_0x77b1a(0x34d)],this[_0x77b1a(0xe3)]=(_0x51b957=_0x55eb27['labelPosition'])!=null?_0x51b957:this[_0x77b1a(0xe3)],this[_0x77b1a(0x2af)]=(_0x2ae714=_0x55eb27[_0x77b1a(0x29b)])!=null?_0x2ae714:this[_0x77b1a(0x2af)],this['transformByState']({'width':_0x55eb27[_0x77b1a(0x224)],'height':_0x55eb27[_0x77b1a(0x2b1)]});}[_0x2a6bec(0x2c5)](_0x2dceae){const _0xe69310=_0x2a6bec,{row:_0x1595aa,column:_0x5e943e}=_0x2dceae;if(_0x1595aa>=this[_0xe69310(0x1ab)][_0xe69310(0x120)]&&_0x1595aa<=this['_range'][_0xe69310(0x102)]&&_0x5e943e>=this[_0xe69310(0x1ab)][_0xe69310(0x13b)]&&_0x5e943e<=this['_range']['endColumn']){this[_0xe69310(0x235)]({'hovered':!0x0});return;}this[_0xe69310(0x235)]({'hovered':!0x1});}[_0x2a6bec(0x1af)](_0x4d67df){return!0x1;}[_0x2a6bec(0x19e)](_0x3d8658){const _0x85728f=_0x2a6bec;_0x5af10f['Rect']['drawWith'](_0x3d8658,{'width':this['width'],'height':this[_0x85728f(0x2b1)],'strokeWidth':_0x4ccfc7,'stroke':this[_0x85728f(0x210)],'evented':!0x1,'fill':this[_0x85728f(0x2af)]}),this[_0x85728f(0x29e)]&&(_0x3d8658[_0x85728f(0x2ea)](),_0x3d8658['transform'](0x1,0x0,0x0,0x1,this[_0x85728f(0x224)],this[_0x85728f(0xe3)]===_0x85728f(0x351)?0x0:-0x14),_0x5b4809[_0x85728f(0x1e7)](_0x3d8658,{'text':this['_name'],'color':this[_0x85728f(0x210)]}),_0x3d8658[_0x85728f(0x1e1)]());}}var _0x26fb2d=Object['getOwnPropertyDescriptor'],_0x40e29b=(_0x237562,_0x2dadec,_0x14b87b,_0x51a30d)=>{for(var _0x529d88=_0x51a30d>0x1?void 0x0:_0x51a30d?_0x26fb2d(_0x2dadec,_0x14b87b):_0x2dadec,_0x131ad5=_0x237562['length']-0x1,_0x4ddf3b;_0x131ad5>=0x0;_0x131ad5--)(_0x4ddf3b=_0x237562[_0x131ad5])&&(_0x529d88=_0x4ddf3b(_0x529d88)||_0x529d88);return _0x529d88;},_0x27ab4d=(_0x3c8aa7,_0x2a9689)=>(_0x5e8085,_0x4b5c02)=>_0x2a9689(_0x5e8085,_0x4b5c02,_0x3c8aa7);const _0x289d1f=0x1389;let _0x21a66f=class extends _0x42e0e7[_0x2a6bec(0x191)]{constructor(_0xb05f,_0x270bbb,_0x46e53d,_0x21f7eb){const _0x29580b=_0x2a6bec;super(),_0x7f0de7(this,'_cursors',new Set()),_0x7f0de7(this,_0x29580b(0x187),null),(this[_0x29580b(0x2e8)]=_0xb05f,this[_0x29580b(0x101)]=_0x270bbb,this[_0x29580b(0x100)]=_0x46e53d,this[_0x29580b(0x329)]=_0x21f7eb,this[_0x29580b(0x1b8)]());}[_0x2a6bec(0x1b8)](){const _0x169ae5=_0x2a6bec;this['_sheetSkeletonManagerService'][_0x169ae5(0xd0)]['pipe'](_0xaa0c1c[_0x169ae5(0x1ef)](this[_0x169ae5(0x332)]),_0xaa0c1c[_0x169ae5(0x2c6)](_0x2ac7fe=>{const _0x1e81c0=_0x169ae5;if(_0x2ac7fe){const _0x3ab2f1=_0x2ac7fe['sheetId'];return _0x599c52['combineLatest'](this[_0x1e81c0(0x100)][_0x1e81c0(0x25f)](this[_0x1e81c0(0x2e8)][_0x1e81c0(0x24b)]),this[_0x1e81c0(0x329)][_0x1e81c0(0x23c)])['pipe'](_0xaa0c1c['map'](([_0x25f386,_0x865abb])=>{const _0xd6c220=new Map();return _0x25f386['forEach']((_0x35b022,_0x3405ec)=>{const _0x1bc746=_0x5997;if(_0x35b022[_0x1bc746(0x2e3)]===_0x3ab2f1){const _0x6d7730={..._0x35b022};_0x6d7730[_0x1bc746(0x1d2)]=_0x865abb[_0x35b022['color']],_0xd6c220[_0x1bc746(0x1bd)](_0x3405ec,_0x6d7730);}}),{'skeleton':_0x2ac7fe,'cursors':_0xd6c220};}));}return _0x599c52['of']({'skeleton':null,'cursors':new Map()});}))[_0x169ae5(0x250)](({skeleton:_0x39b540,cursors:_0x52702e})=>{const _0x2e8077=_0x169ae5;this[_0x2e8077(0x2e0)](),_0x39b540&&this[_0x2e8077(0x16c)](_0x39b540,_0x52702e);}),this['_sheetSkeletonManagerService'][_0x169ae5(0xd0)][_0x169ae5(0x250)](_0x25ea38=>{const _0x1ac924=_0x169ae5;if(_0x25ea38==null)return;const {skeleton:_0xb79169}=_0x25ea38,{scene:_0x42fbc6}=this[_0x1ac924(0x2e8)];_0x42fbc6[_0x1ac924(0x141)]['subscribeEvent'](_0x42e0e7['debounce'](_0x108880=>{const _0x3c1433=_0x1ac924;var _0x38020c,_0x464942;const {offsetX:_0x2dcb5b,offsetY:_0x4fadd1}=_0x108880,{x:_0x1f3b36,y:_0x107061}=_0x42fbc6[_0x3c1433(0x265)](_0x5af10f[_0x3c1433(0x161)]['FromArray']([_0x2dcb5b,_0x4fadd1])),{scaleX:_0x370203,scaleY:_0x20aeec}=_0x42fbc6['getAncestorScale'](),_0x318096=_0x42fbc6[_0x3c1433(0x226)](_0x5af10f[_0x3c1433(0x325)][_0x3c1433(0x148)]),_0xd6e4ca=_0x42fbc6[_0x3c1433(0x322)](_0x5af10f['Vector2'][_0x3c1433(0x35d)]([_0x1f3b36,_0x107061]),_0x318096),_0x5390de=_0xb79169[_0x3c1433(0x2c8)](_0x2dcb5b,_0x4fadd1,_0x370203,_0x20aeec,_0xd6e4ca);((_0x38020c=this[_0x3c1433(0x187)])==null?void 0x0:_0x38020c[_0x3c1433(0x2ba)])===_0x5390de[_0x3c1433(0x2ba)]&&((_0x464942=this['_lastPointer'])==null?void 0x0:_0x464942[_0x3c1433(0x2c3)])===_0x5390de['row']||this[_0x3c1433(0x15b)][_0x3c1433(0xe6)](_0x212089=>{_0x212089['onMouseMove'](_0x5390de);});},0x64));});}[_0x2a6bec(0x16c)](_0x5f3deb,_0x2b79a9){const _0x539a59=_0x2a6bec;var _0x10d5a0;const _0x16cd41=(_0x10d5a0=this['_sheetSkeletonManagerService'][_0x539a59(0x1b4)]())==null?void 0x0:_0x10d5a0[_0x539a59(0x21d)];if(!_0x16cd41)return;const _0x30f698=this[_0x539a59(0x181)]();if(!_0x30f698)return;this['_cursors'][_0x539a59(0xe6)](_0x3c3aa8=>{_0x3c3aa8['makeDirty']();});const {scene:_0x26e531}=_0x30f698,_0x25c960=_0x475956(Array[_0x539a59(0x138)](_0x2b79a9['values']()))[_0x539a59(0x324)](_0x64d65c=>{const _0x2b98f4=_0x539a59,{color:_0x4a9700,range:_0x58aab9,name:_0xe95815,selection:_0x501a87,sheetID:_0x3ef228}=_0x64d65c,{startColumn:_0x2e2721,startRow:_0x1ff994,endColumn:_0x9256d1,endRow:_0x2d6af7}=_0x58aab9,_0x374370=_0x572da5[_0x2b98f4(0x1ac)](_0x1ff994,_0x2e2721,_0x26e531,_0x16cd41),_0x148837=_0x572da5[_0x2b98f4(0x1ac)](_0x2d6af7,_0x9256d1,_0x26e531,_0x16cd41),{columnHeaderHeightAndMarginTop:_0x43fd80}=_0x16cd41,{startX:_0x59c737,startY:_0xe98468}=_0x374370,{endX:_0x199a7f,endY:_0x3e46c6}=_0x148837,_0x53209a=_0x199a7f-_0x59c737,_0x393cef=_0x3e46c6-_0xe98468,_0x3ef806={'labelPosition':_0xe98468-_0x43fd80>=_0x5a55c0?_0x2b98f4(0x144):'bottom','sheetID':_0x3ef228,'range':_0x58aab9,'color':_0x4a9700,'name':_0xe95815,'selection':_0x501a87,'left':_0x59c737,'top':_0xe98468,'width':_0x53209a,'height':_0x393cef,'evented':!0x1,'zIndex':_0x289d1f};return new _0x2bc6e2(_0xe95815,_0x3ef806);});_0x26e531['addObjects'](_0x25c960,_0x17a968),this[_0x539a59(0x15b)]=new Set(_0x25c960);}[_0x2a6bec(0x2e0)](){const _0x57d1f0=_0x2a6bec;var _0x8c6bdc;(_0x8c6bdc=this[_0x57d1f0(0x15b)])==null||_0x8c6bdc['forEach'](_0x3715ed=>_0x3715ed[_0x57d1f0(0x336)]());}[_0x2a6bec(0x181)](){const _0xca2973=_0x2a6bec;return _0x572da5[_0xca2973(0x231)](this['_context'][_0xca2973(0x107)],this[_0xca2973(0x2e8)]);}};_0x21a66f=_0x40e29b([_0x27ab4d(0x1,_0x42e0e7[_0x2a6bec(0x14e)](_0x572da5[_0x2a6bec(0x17d)])),_0x27ab4d(0x2,_0x42e0e7[_0x2a6bec(0x14e)](_0x465ed4)),_0x27ab4d(0x3,_0x42e0e7[_0x2a6bec(0x14e)](_0x42e0e7[_0x2a6bec(0x175)]))],_0x21a66f);function _0x475956(_0x40c58d){const _0xee02f5=_0x2a6bec,_0x4a7eb4=new Map();return _0x40c58d[_0xee02f5(0xe6)](_0x17a48c=>{const _0x482d89=_0xee02f5;if(_0x4a7eb4['has'](_0x17a48c[_0x482d89(0x213)])){const _0x5481e0=_0x4a7eb4[_0x482d89(0x24f)](_0x17a48c[_0x482d89(0x213)]);_0x5481e0[_0x482d89(0x200)]+=',\x20'+_0x17a48c['name'];}else _0x4a7eb4[_0x482d89(0x1bd)](_0x17a48c[_0x482d89(0x213)],_0x17a48c);}),Array[_0xee02f5(0x138)](_0x4a7eb4[_0xee02f5(0x13a)]());}var _0x29696b=function(){const _0x329c56=_0x2a6bec;return _0x29696b=Object[_0x329c56(0x31a)]||function(_0x144af4){const _0x54ca59=_0x329c56;for(var _0x7b72cb,_0x53fee1=0x1,_0x24886a=arguments[_0x54ca59(0x1ad)];_0x53fee1<_0x24886a;_0x53fee1++){_0x7b72cb=arguments[_0x53fee1];for(var _0x5aa45e in _0x7b72cb)Object[_0x54ca59(0x239)][_0x54ca59(0x212)][_0x54ca59(0x139)](_0x7b72cb,_0x5aa45e)&&(_0x144af4[_0x5aa45e]=_0x7b72cb[_0x5aa45e]);}return _0x144af4;},_0x29696b['apply'](this,arguments);},_0x11b57d=function(_0x260fe3,_0x445cb8){const _0x5cdcae=_0x2a6bec;var _0x2fd2c4={};for(var _0x4707e8 in _0x260fe3)Object[_0x5cdcae(0x239)][_0x5cdcae(0x212)][_0x5cdcae(0x139)](_0x260fe3,_0x4707e8)&&_0x445cb8[_0x5cdcae(0x259)](_0x4707e8)<0x0&&(_0x2fd2c4[_0x4707e8]=_0x260fe3[_0x4707e8]);if(_0x260fe3!=null&&typeof Object[_0x5cdcae(0x1f3)]==_0x5cdcae(0x2ef)){for(var _0x21fafe=0x0,_0x4707e8=Object[_0x5cdcae(0x1f3)](_0x260fe3);_0x21fafe<_0x4707e8[_0x5cdcae(0x1ad)];_0x21fafe++)_0x445cb8['indexOf'](_0x4707e8[_0x21fafe])<0x0&&Object['prototype'][_0x5cdcae(0x316)][_0x5cdcae(0x139)](_0x260fe3,_0x4707e8[_0x21fafe])&&(_0x2fd2c4[_0x4707e8[_0x21fafe]]=_0x260fe3[_0x4707e8[_0x21fafe]]);}return _0x2fd2c4;},_0x85ab83=_0x45b8be[_0x2a6bec(0x174)](function(_0x3d1a09,_0x354483){const _0xcb37e7=_0x2a6bec;var _0x129144=_0x3d1a09[_0xcb37e7(0x219)],_0x449f57=_0x3d1a09['id'],_0x440f75=_0x3d1a09[_0xcb37e7(0xda)],_0x25f123=_0x3d1a09['extend'],_0xba791c=_0x11b57d(_0x3d1a09,['icon','id',_0xcb37e7(0xda),_0xcb37e7(0x1b6)]),_0x561cfa=_0xcb37e7(0x1e9)[_0xcb37e7(0x277)](_0x449f57,'\x20')[_0xcb37e7(0x277)](_0x440f75||'')[_0xcb37e7(0xdb)](),_0x55adee=_0x45b8be[_0xcb37e7(0x117)]('_'[_0xcb37e7(0x277)](_0xda1888()));return _0x587f88(_0x129144,''[_0xcb37e7(0x277)](_0x449f57),{'defIds':_0x129144[_0xcb37e7(0x25b)],'idSuffix':_0x55adee[_0xcb37e7(0x315)]},_0x29696b({'ref':_0x354483,'className':_0x561cfa},_0xba791c),_0x25f123);});function _0x587f88(_0x39ae74,_0x30cb71,_0x1c3d89,_0xf206f3,_0x24c3dd){const _0x32f749=_0x2a6bec;return _0x45b8be[_0x32f749(0x186)](_0x39ae74[_0x32f749(0x300)],_0x29696b(_0x29696b({'key':_0x30cb71},_0x3f1684(_0x39ae74,_0x1c3d89,_0x24c3dd)),_0xf206f3),(_0x414b17(_0x39ae74,_0x1c3d89)[_0x32f749(0x2a4)]||[])['map'](function(_0x184fda,_0x23d4d4){const _0x9b5555=_0x32f749;return _0x587f88(_0x184fda,''['concat'](_0x30cb71,'-')[_0x9b5555(0x277)](_0x39ae74['tag'],'-')[_0x9b5555(0x277)](_0x23d4d4),_0x1c3d89,void 0x0,_0x24c3dd);}));}function _0x3f1684(_0x2c27b9,_0x324228,_0x4fd6e5){const _0xd6f132=_0x2a6bec;var _0x33e46c=_0x29696b({},_0x2c27b9[_0xd6f132(0x142)]);_0x4fd6e5!=null&&_0x4fd6e5[_0xd6f132(0x1cb)]&&_0x33e46c[_0xd6f132(0x2a9)]==='colorChannel1'&&(_0x33e46c[_0xd6f132(0x2a9)]=_0x4fd6e5[_0xd6f132(0x1cb)]),_0x2c27b9[_0xd6f132(0x300)]===_0xd6f132(0x10a)&&_0x33e46c['id']&&(_0x33e46c['id']=_0x33e46c['id']+_0x324228[_0xd6f132(0x1f1)]),Object['entries'](_0x33e46c)[_0xd6f132(0xe6)](function(_0x23d71e){const _0x14d0b8=_0xd6f132;var _0x37614b=_0x23d71e[0x0],_0x1c1e8f=_0x23d71e[0x1];_0x37614b==='mask'&&typeof _0x1c1e8f==_0x14d0b8(0x2fc)&&(_0x33e46c[_0x37614b]=_0x1c1e8f[_0x14d0b8(0x2d4)](/url\(#(.*)\)/,_0x14d0b8(0x299)['concat'](_0x324228[_0x14d0b8(0x1f1)],')')));});var _0x9c96e8=_0x324228[_0xd6f132(0x25b)];return!_0x9c96e8||_0x9c96e8[_0xd6f132(0x1ad)]===0x0||(_0x2c27b9['tag']===_0xd6f132(0x2c7)&&_0x33e46c[_0xd6f132(0x30b)]&&(_0x33e46c[_0xd6f132(0x30b)]=_0x33e46c['xlink:href']+_0x324228[_0xd6f132(0x1f1)]),Object['entries'](_0x33e46c)[_0xd6f132(0xe6)](function(_0xf950ac){const _0x19d826=_0xd6f132;var _0x1bba39=_0xf950ac[0x0],_0x51ddc0=_0xf950ac[0x1];typeof _0x51ddc0=='string'&&(_0x33e46c[_0x1bba39]=_0x51ddc0[_0x19d826(0x2d4)](/url\(#(.*)\)/,_0x19d826(0x299)[_0x19d826(0x277)](_0x324228['idSuffix'],')')));})),_0x33e46c;}function _0x414b17(_0x5330d7,_0x42a980){const _0x3293fc=_0x2a6bec;var _0xb19eaa,_0x1eb7c7=_0x42a980[_0x3293fc(0x25b)];return!_0x1eb7c7||_0x1eb7c7['length']===0x0?_0x5330d7:_0x5330d7[_0x3293fc(0x300)]===_0x3293fc(0x11a)&&(!((_0xb19eaa=_0x5330d7['children'])===null||_0xb19eaa===void 0x0)&&_0xb19eaa[_0x3293fc(0x1ad)])?_0x29696b(_0x29696b({},_0x5330d7),{'children':_0x5330d7['children'][_0x3293fc(0x324)](function(_0xba4e53){const _0x5f3dd4=_0x3293fc;return typeof _0xba4e53['attrs']['id']==_0x5f3dd4(0x2fc)&&_0x1eb7c7&&_0x1eb7c7[_0x5f3dd4(0x259)](_0xba4e53[_0x5f3dd4(0x142)]['id'])>-0x1?_0x29696b(_0x29696b({},_0xba4e53),{'attrs':_0x29696b(_0x29696b({},_0xba4e53[_0x5f3dd4(0x142)]),{'id':_0xba4e53[_0x5f3dd4(0x142)]['id']+_0x42a980['idSuffix']})}):_0xba4e53;})}):_0x5330d7;}function _0xda1888(){const _0x18e88c=_0x2a6bec;return Math[_0x18e88c(0x215)]()[_0x18e88c(0xf0)](0x24)['substring'](0x2,0x8);}_0x85ab83[_0x2a6bec(0x26a)]=_0x2a6bec(0x197);var _0xd7e2e9={'tag':'svg','attrs':{'fill':_0x2a6bec(0xe8),'viewBox':_0x2a6bec(0x20b),'width':_0x2a6bec(0x2b8),'height':_0x2a6bec(0x2b8)},'children':[{'tag':'g','attrs':{'clipPath':_0x2a6bec(0x1cf)},'children':[{'tag':_0x2a6bec(0x12b),'attrs':{'stroke':'currentColor','d':_0x2a6bec(0x1ae),'strokeLinecap':_0x2a6bec(0x1ba),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x2a6bec(0x11a),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x2a6bec(0x252)},'children':[{'tag':_0x2a6bec(0x12b),'attrs':{'fill':_0x2a6bec(0x2ff),'d':_0x2a6bec(0x2d5)}}]}]}],'defIds':[_0x2a6bec(0x252)]},_0x175dd5=_0x45b8be[_0x2a6bec(0x174)](function(_0x466de2,_0x3820ec){const _0xa97973=_0x2a6bec;return _0x45b8be[_0xa97973(0x186)](_0x85ab83,Object[_0xa97973(0x31a)]({},_0x466de2,{'id':_0xa97973(0x345),'ref':_0x3820ec,'icon':_0xd7e2e9}));});_0x175dd5[_0x2a6bec(0x26a)]=_0x2a6bec(0x23e);var _0x1771df={'tag':_0x2a6bec(0x263),'attrs':{'fill':_0x2a6bec(0xe8),'viewBox':_0x2a6bec(0xe4),'width':'1em','height':_0x2a6bec(0x2b8)},'children':[{'tag':'g','attrs':{'clipPath':_0x2a6bec(0x135)},'children':[{'tag':_0x2a6bec(0x12b),'attrs':{'stroke':'currentColor','d':_0x2a6bec(0x349),'strokeLinecap':_0x2a6bec(0x1ba),'strokeLinejoin':_0x2a6bec(0x1ba),'strokeWidth':1.2}}]},{'tag':_0x2a6bec(0x11a),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x2a6bec(0x2ff),'d':_0x2a6bec(0x2d5),'transform':'translate(.97)'}}]}]}],'defIds':[_0x2a6bec(0xe5)]},_0x491eda=_0x45b8be[_0x2a6bec(0x174)](function(_0x1356d7,_0xf90d09){const _0x5041f7=_0x2a6bec;return _0x45b8be[_0x5041f7(0x186)](_0x85ab83,Object[_0x5041f7(0x31a)]({},_0x1356d7,{'id':'on-line-single','ref':_0xf90d09,'icon':_0x1771df}));});_0x491eda[_0x2a6bec(0x26a)]=_0x2a6bec(0x331);const _0x3774ef={'onlineStatusIcon':_0x2a6bec(0x21b),'onlineStatusTitle':_0x2a6bec(0x137),'onlineStatus':'univer-online-status','online':'univer-online','offline':_0x2a6bec(0x1c3)};function _0x431e64(_0xf414fc){const _0x1a01e2=_0x2a6bec;switch(_0xf414fc){case _0x3a040d['CollaborationStatus'][_0x1a01e2(0x1fa)]:return _0x1a01e2(0x344);case _0x3a040d[_0x1a01e2(0x11e)][_0x1a01e2(0x343)]:return _0x1a01e2(0x22c);case _0x3a040d[_0x1a01e2(0x11e)]['FETCH_MISS']:return'collabStatus.fetchMiss';case _0x3a040d[_0x1a01e2(0x11e)][_0x1a01e2(0x157)]:return _0x1a01e2(0x1d7);case _0x3a040d[_0x1a01e2(0x11e)]['AWAITING']:case _0x3a040d[_0x1a01e2(0x11e)]['AWAITING_WITH_PENDING']:return _0x1a01e2(0x247);case _0x3a040d[_0x1a01e2(0x11e)]['SYNCED']:case _0x3a040d[_0x1a01e2(0x11e)][_0x1a01e2(0x165)]:return _0x1a01e2(0x216);}}function _0x17cef4(_0x11c27f){const _0x130ded=_0x2a6bec,{status$:_0x1be642}=_0x11c27f,_0x5a474c=_0x5549db['useObservable'](_0x1be642,_0x3a040d[_0x130ded(0x11e)][_0x130ded(0x157)]),_0x527d9f=_0x5549db[_0x130ded(0x270)](_0x42e0e7[_0x130ded(0x341)]),_0x285d43=_0x5549db[_0x130ded(0x270)](_0x3a040d[_0x130ded(0x233)]),_0x1254e4=_0x5a474c!==_0x3a040d['CollaborationStatus'][_0x130ded(0x1fa)],_0xcd9183=_0x527d9f['t'](_0x431e64(_0x5a474c)),_0x539bb4=_0x59cf3e[_0x130ded(0x2c2)](_0x3774ef[_0x130ded(0x2f9)],{[_0x3774ef[_0x130ded(0x1ee)]]:_0x1254e4,[_0x3774ef[_0x130ded(0x301)]]:!_0x1254e4}),_0x5857ca=_0x1254e4?_0x5098f5[_0x130ded(0x253)](_0x491eda,{}):_0x5098f5[_0x130ded(0x253)](_0x175dd5,{}),_0x2c2faa=_0x45b8be['useCallback'](()=>{const _0x48e238=_0x130ded;_0x1254e4||_0x285d43[_0x48e238(0x115)]();},[_0x1254e4,_0x285d43]);function _0x38b8e0(){const _0x524e36=_0x130ded;return _0x5098f5[_0x524e36(0x2f2)](_0x524e36(0x21e),{'className':_0x59cf3e[_0x524e36(0x2c2)](_0x539bb4,_0x524e36(0x356)),'onClick':_0x2c2faa,'children':[_0x5098f5['jsx']('div',{'className':_0x3774ef[_0x524e36(0x2dd)],'children':_0x5857ca}),_0x5098f5[_0x524e36(0x253)](_0x524e36(0x21e),{'className':_0x3774ef[_0x524e36(0x1b1)],'children':_0xcd9183})]});}return _0x1254e4?_0x38b8e0():_0x5098f5[_0x130ded(0x253)](_0x59cf3e['Tooltip'],{'title':_0x527d9f['t'](_0x130ded(0x31e)),'children':_0x38b8e0()});}var _0x2b3210=Object[_0x2a6bec(0x333)],_0x38baa6=(_0x2e666b,_0x156d7a,_0x43e2ec,_0x553627)=>{for(var _0x342fb9=_0x553627>0x1?void 0x0:_0x553627?_0x2b3210(_0x156d7a,_0x43e2ec):_0x156d7a,_0x4b9ff9=_0x2e666b['length']-0x1,_0x362773;_0x4b9ff9>=0x0;_0x4b9ff9--)(_0x362773=_0x2e666b[_0x4b9ff9])&&(_0x342fb9=_0x362773(_0x342fb9)||_0x342fb9);return _0x342fb9;},_0x179e1e=(_0x5f4408,_0x2d5a63)=>(_0x3b62f2,_0x33966e)=>_0x2d5a63(_0x3b62f2,_0x33966e,_0x5f4408);_0x57b4ed['DesktopCollaborationStatusDisplayController']=class extends _0x42e0e7['Disposable']{constructor(_0x125aae,_0xcb2141,_0x189250,_0x1c90f0){const _0x854e21=_0x2a6bec;super(),_0x7f0de7(this,'_status$',new _0x599c52['BehaviorSubject'](_0x3a040d[_0x854e21(0x11e)][_0x854e21(0x157)])),(this['_univerInstanceService']=_0x125aae,this['_injector']=_0xcb2141,this[_0x854e21(0xd9)]=_0x189250,this[_0x854e21(0x346)]=_0x1c90f0,this['_initStatusComponent'](),this[_0x854e21(0xfc)]());}[_0x2a6bec(0xfc)](){const _0x660c11=_0x2a6bec;this[_0x660c11(0x133)](this[_0x660c11(0x18e)][_0x660c11(0xf7)]['pipe'](_0x599c52[_0x660c11(0x2c6)](()=>{const _0x1ebb50=_0x660c11,_0x36936b=this['_univerInstanceService'][_0x1ebb50(0x173)]();return _0x36936b?this[_0x1ebb50(0xd9)][_0x1ebb50(0x2a8)](_0x36936b[_0x1ebb50(0x225)]()):_0x599c52['of'](null);}),_0x599c52['switchMap'](_0x5e8f4c=>_0x5e8f4c?_0x5e8f4c[_0x660c11(0x296)]:_0x599c52['of'](_0x3a040d['CollaborationStatus'][_0x660c11(0x157)])))[_0x660c11(0x250)](_0x9c0910=>{const _0x1f749f=_0x660c11;this['_status$'][_0x1f749f(0xd5)](_0x9c0910);}));}[_0x2a6bec(0x116)](){const _0x1ac0ce=_0x2a6bec;this[_0x1ac0ce(0x133)](this[_0x1ac0ce(0x346)]['registerComponent'](_0x5549db[_0x1ac0ce(0x1f7)][_0x1ac0ce(0x28f)],()=>_0x5549db[_0x1ac0ce(0x111)](_0x181457({'status$':this[_0x1ac0ce(0x198)][_0x1ac0ce(0x27b)]()}),this[_0x1ac0ce(0x33b)])));}},_0x57b4ed[_0x2a6bec(0x122)]=_0x38baa6([_0x179e1e(0x0,_0x42e0e7['IUniverInstanceService']),_0x179e1e(0x1,_0x42e0e7['Inject'](_0x42e0e7['Injector'])),_0x179e1e(0x2,_0x42e0e7[_0x2a6bec(0x14e)](_0x3a040d[_0x2a6bec(0x1fd)])),_0x179e1e(0x3,_0x5549db['IUIPartsService'])],_0x57b4ed['DesktopCollaborationStatusDisplayController']);function _0x181457(_0x4f6c05){const {status$:_0x14085e}=_0x4f6c05;return function(){const _0x224f21=_0x5997;return _0x5098f5[_0x224f21(0x253)](_0x17cef4,{'status$':_0x14085e});};}var _0x2bf0fb=Object[_0x2a6bec(0x333)],_0x22d3c0=(_0x15d27f,_0x1176fd,_0x32b60c,_0x1f5e9a)=>{const _0xd1e6b0=_0x2a6bec;for(var _0x12f0cb=_0x1f5e9a>0x1?void 0x0:_0x1f5e9a?_0x2bf0fb(_0x1176fd,_0x32b60c):_0x1176fd,_0x70b9b=_0x15d27f[_0xd1e6b0(0x1ad)]-0x1,_0xc8146a;_0x70b9b>=0x0;_0x70b9b--)(_0xc8146a=_0x15d27f[_0x70b9b])&&(_0x12f0cb=_0xc8146a(_0x12f0cb)||_0x12f0cb);return _0x12f0cb;},_0xa778a7=(_0x1e624f,_0x267f92)=>(_0xab7183,_0x1281c5)=>_0x267f92(_0xab7183,_0x1281c5,_0x1e624f);let _0x2a8026=class extends _0x42e0e7['Disposable']{constructor(_0x10a495,_0x297c5a,_0x55ce33,_0x504149,_0x2b05f7,_0x52900b){const _0x2b9f30=_0x2a6bec;super(),this['_beforeCloseService']=_0x10a495,this[_0x2b9f30(0x1dd)]=_0x297c5a,this[_0x2b9f30(0x251)]=_0x55ce33,this[_0x2b9f30(0x278)]=_0x504149,this[_0x2b9f30(0x2a5)]=_0x2b05f7,this[_0x2b9f30(0x1bc)]=_0x52900b,this['_setupBeforeClosingHandler'](),this[_0x2b9f30(0x1f0)]();}[_0x2a6bec(0x2e6)](){const _0x4beae8=_0x2a6bec;this[_0x4beae8(0x133)](this[_0x4beae8(0x2d1)][_0x4beae8(0x276)](()=>{const _0x98d4a4=_0x4beae8;if(this[_0x98d4a4(0x1dd)]['saveTaskMap'][_0x98d4a4(0x2f5)])return this[_0x98d4a4(0x1bc)]['t'](_0x98d4a4(0x26e));}));}[_0x2a6bec(0x1f0)](){const _0x407a9b=_0x2a6bec;this[_0x407a9b(0x133)](this[_0x407a9b(0x251)]['event$'][_0x407a9b(0x250)](_0x24e482=>{const _0x4d891d=_0x407a9b;_0x24e482['id']===_0x3a040d[_0x4d891d(0x313)][_0x4d891d(0x288)]&&this[_0x4d891d(0x278)][_0x4d891d(0x1a0)]({'type':_0x59cf3e['MessageType']['Warning'],'content':this['_localeService']['t']('collaboration.single-unit.warning')}),_0x24e482['id']===_0x3a040d['CollaborationUIEventId'][_0x4d891d(0x237)]&&this[_0x4d891d(0x278)][_0x4d891d(0x1a0)]({'type':_0x59cf3e['MessageType'][_0x4d891d(0x28a)],'content':this[_0x4d891d(0x1bc)]['t'](_0x4d891d(0x256))}),_0x24e482['id']===_0x3a040d[_0x4d891d(0x313)][_0x4d891d(0x203)]&&this[_0x4d891d(0x2a5)][_0x4d891d(0x1a0)]({'title':this[_0x4d891d(0x1bc)]['t'](_0x4d891d(0x2b0)),'content':this['_localeService']['t'](_0x4d891d(0x12c)),'type':_0x4d891d(0x285),'duration':0x0}),_0x24e482['id']===_0x3a040d[_0x4d891d(0x313)][_0x4d891d(0x343)]&&this[_0x4d891d(0x278)][_0x4d891d(0x1a0)]({'type':_0x59cf3e[_0x4d891d(0x287)][_0x4d891d(0x289)],'content':this[_0x4d891d(0x1bc)]['t'](_0x4d891d(0x256))+'('+_0x24e482[_0x4d891d(0x190)]+')'}),_0x24e482['id']===_0x3a040d[_0x4d891d(0x313)][_0x4d891d(0x2b5)]&&this[_0x4d891d(0x278)]['show']({'type':_0x59cf3e[_0x4d891d(0x287)]['Warning'],'content':this[_0x4d891d(0x1bc)]['t'](_0x24e482[_0x4d891d(0x190)]||'')}),_0x24e482['id']===_0x3a040d[_0x4d891d(0x313)][_0x4d891d(0x109)]&&this[_0x4d891d(0x278)][_0x4d891d(0x1a0)]({'type':_0x59cf3e[_0x4d891d(0x287)][_0x4d891d(0x28a)],'content':this['_localeService']['t']('session.will-retry')}),_0x24e482['id']===_0x3a040d[_0x4d891d(0x313)][_0x4d891d(0x2f8)]&&this[_0x4d891d(0x278)][_0x4d891d(0x1a0)]({'type':_0x59cf3e['MessageType'][_0x4d891d(0x289)],'content':this['_localeService']['t']('session.connection-failed')}),_0x24e482['id']===_0x3a040d['CollaborationUIEventId'][_0x4d891d(0x182)]&&this[_0x4d891d(0x278)][_0x4d891d(0x1a0)]({'type':_0x59cf3e[_0x4d891d(0x287)][_0x4d891d(0x289)],'content':this[_0x4d891d(0x1bc)]['t'](_0x4d891d(0x172))});}));}};_0x2a8026=_0x22d3c0([_0xa778a7(0x0,_0x5549db[_0x2a6bec(0x1e8)]),_0xa778a7(0x1,_0x3a040d[_0x2a6bec(0x1fe)]),_0xa778a7(0x2,_0x42e0e7[_0x2a6bec(0x14e)](_0x3a040d[_0x2a6bec(0x1bf)])),_0xa778a7(0x3,_0x5549db['IMessageService']),_0xa778a7(0x4,_0x5549db['INotificationService']),_0xa778a7(0x5,_0x42e0e7[_0x2a6bec(0x14e)](_0x42e0e7[_0x2a6bec(0x341)]))],_0x2a8026);const _0x38c58e=_0x2a6bec(0x2ce),_0x15020a={},_0x5254f2=_0x42e0e7[_0x2a6bec(0x35c)]('uni.network.url-service');var _0x269437=Object['getOwnPropertyDescriptor'],_0x49388d=(_0x267e1b,_0x18b922,_0x436eac,_0x819e2a)=>{for(var _0x419cc4=_0x819e2a>0x1?void 0x0:_0x819e2a?_0x269437(_0x18b922,_0x436eac):_0x18b922,_0x489745=_0x267e1b['length']-0x1,_0x4512e1;_0x489745>=0x0;_0x489745--)(_0x4512e1=_0x267e1b[_0x489745])&&(_0x419cc4=_0x4512e1(_0x419cc4)||_0x419cc4);return _0x419cc4;},_0x52a5c0=(_0x553731,_0x1eca85)=>(_0x118a27,_0x1a333d)=>_0x1eca85(_0x118a27,_0x1a333d,_0x553731);_0x57b4ed[_0x2a6bec(0x317)]=class extends _0x42e0e7['RxDisposable']{constructor(_0x5b584d,_0x47b68b,_0x17bad0,_0x36a3da,_0x2e396e){const _0x3ef207=_0x2a6bec;super(),this[_0x3ef207(0x1c9)]=_0x5b584d,this[_0x3ef207(0x202)]=_0x47b68b,this[_0x3ef207(0x34f)]=_0x17bad0,this[_0x3ef207(0x22a)]=_0x36a3da,_0x2e396e?_0x2e396e==null||_0x2e396e['whenReady']()['then'](()=>this[_0x3ef207(0x1b8)]()):(this['_logService']['debug'](_0x3ef207(0x2b6),_0x3ef207(0x30c)),this['_init']());}async[_0x2a6bec(0x1b8)](){const _0x2e687c=_0x2a6bec,_0x3396e5=this[_0x2e687c(0x1c9)][_0x2e687c(0x110)](_0x2e687c(0x107)),_0x5a0adb=this['_urlService'][_0x2e687c(0x110)]('type'),_0x1fc1ef=this[_0x2e687c(0x1c9)][_0x2e687c(0x110)]('subunit');if(!_0x3396e5||!_0x5a0adb){this[_0x2e687c(0x202)][_0x2e687c(0x26d)]('[CollaborationDataLoaderController]',_0x2e687c(0x352));return;}const _0x3d0f2a=await this['_dataLoaderService'][_0x2e687c(0x204)](_0x3396e5,Number(_0x5a0adb),_0x1fc1ef);_0x3d0f2a&&_0x3d0f2a instanceof _0x42e0e7[_0x2e687c(0x262)]&&this[_0x2e687c(0x227)](_0x3d0f2a);}async[_0x2a6bec(0x227)](_0x1a44c5){const _0x521881=_0x2a6bec;await this[_0x521881(0x2bc)](_0x1a44c5),_0x1a44c5['activeSheet$'][_0x521881(0x27f)](_0x599c52[_0x521881(0x1ef)](this['dispose$']))[_0x521881(0x250)](_0x590cfd=>{const _0x358776=_0x521881;_0x590cfd&&this[_0x358776(0x2a7)](_0x590cfd);}),this['_urlService']['urlChange$'][_0x521881(0x27f)](_0x599c52[_0x521881(0x1ef)](this[_0x521881(0x332)]))[_0x521881(0x250)](()=>this[_0x521881(0x2bc)](_0x1a44c5));}[_0x2a6bec(0x2a7)](_0x45da17,_0x74dd60=!0x1){const _0x469ec1=_0x2a6bec,_0x297703=this['_urlService'][_0x469ec1(0x110)]('subunit');_0x45da17[_0x469ec1(0x131)]()!==_0x297703&&this['_urlService'][_0x469ec1(0x218)](_0x469ec1(0x2cc),_0x45da17['getSheetId'](),_0x74dd60);}async[_0x2a6bec(0x2bc)](_0x4b858d){const _0xf3346b=_0x2a6bec;var _0x284fd9;const _0x1c7eb9=this['_urlService'][_0xf3346b(0x110)](_0xf3346b(0x2cc));if(!_0x1c7eb9||!_0x4b858d[_0xf3346b(0x2f0)](_0x1c7eb9)){const _0x22f7dd=_0x4b858d['getUnhiddenWorksheets']()[0x0],_0x25a6f9=_0x4b858d[_0xf3346b(0x2f0)](_0x22f7dd);if(!_0x25a6f9)return;this[_0xf3346b(0x2a7)](_0x25a6f9,!0x0),await this[_0xf3346b(0x34f)][_0xf3346b(0x1a2)](_0x51eb6e[_0xf3346b(0x2ec)]['id'],{'unitId':_0x4b858d['getUnitId'](),'subUnitId':_0x22f7dd});return;}((_0x284fd9=_0x4b858d['getActiveSheet']())==null?void 0x0:_0x284fd9[_0xf3346b(0x131)]())!==_0x1c7eb9&&await this[_0xf3346b(0x34f)][_0xf3346b(0x1a2)](_0x51eb6e['SetWorksheetActivateCommand']['id'],{'unitId':_0x4b858d['getUnitId'](),'subUnitId':_0x1c7eb9});}},_0x57b4ed['CollaborationDataLoaderController']=_0x49388d([_0x52a5c0(0x0,_0x5254f2),_0x52a5c0(0x1,_0x42e0e7['ILogService']),_0x52a5c0(0x2,_0x42e0e7['ICommandService']),_0x52a5c0(0x3,_0x42e0e7['Inject'](_0x3a040d[_0x2a6bec(0x243)])),_0x52a5c0(0x4,_0x42e0e7['Optional'](_0x85bd9c[_0x2a6bec(0x31b)]))],_0x57b4ed[_0x2a6bec(0x317)]);var _0xc8978=Object[_0x2a6bec(0x333)],_0x46c8ef=(_0x2c19e7,_0x36bcc1,_0x35e81e,_0x1fe8d7)=>{const _0x5d598e=_0x2a6bec;for(var _0x25e47e=_0x1fe8d7>0x1?void 0x0:_0x1fe8d7?_0xc8978(_0x36bcc1,_0x35e81e):_0x36bcc1,_0x20b88e=_0x2c19e7[_0x5d598e(0x1ad)]-0x1,_0x2757ca;_0x20b88e>=0x0;_0x20b88e--)(_0x2757ca=_0x2c19e7[_0x20b88e])&&(_0x25e47e=_0x2757ca(_0x25e47e)||_0x25e47e);return _0x25e47e;},_0x3b59de=(_0x3a3d66,_0x4f1908)=>(_0xc3ce52,_0x4924bc)=>_0x4f1908(_0xc3ce52,_0x4924bc,_0x3a3d66);let _0x3a8030=class{constructor(_0x84b844,_0x704a94,_0x35ea6f){const _0x469321=_0x2a6bec;this[_0x469321(0x33b)]=_0x84b844,this[_0x469321(0x230)]=_0x704a94,this[_0x469321(0x314)]=_0x35ea6f;}[_0x2a6bec(0x305)](_0x5d7364){const _0x1616ef=_0x2a6bec;this[_0x1616ef(0x31d)](_0x5d7364),this[_0x1616ef(0x2cf)](_0x5d7364);}[_0x2a6bec(0x328)](_0x2ef968){const _0x146e51=_0x2a6bec,{unitID:_0x4b3ec7}=_0x2ef968,_0x385748=this['_renderManagerService'][_0x146e51(0x321)](_0x4b3ec7)['with'](_0x116ef8[_0x146e51(0xd8)]),{redoCache:_0x4488b5}=_0x385748[_0x146e51(0x22f)]();if(_0x4488b5[_0x146e51(0x1ad)]===0x0)return _0x2ef968;let _0x1d1344=_0x42e0e7[_0x146e51(0x339)]['deepClone'](_0x2ef968['mutations'][0x0]);for(let _0x1dc2fc=0x0;_0x1dc2fc<_0x4488b5[_0x146e51(0x1ad)];_0x1dc2fc++){const _0x40bbed={'id':_0x146e51(0x1ed),'params':{..._0x4488b5[_0x1dc2fc]}},_0x5c9663=this[_0x146e51(0x230)][_0x146e51(0x310)](_0x1d1344,_0x40bbed,!0x1);if(_0x12caed['isTransformMutationFailure'](_0x5c9663))throw _0x5c9663['error'];_0x1d1344=_0x5c9663[_0x146e51(0x361)];}return{..._0x42e0e7[_0x146e51(0x339)][_0x146e51(0x1aa)](_0x2ef968),'mutations':[_0x1d1344]};}[_0x2a6bec(0x31d)](_0x38911b){const _0x143eab=_0x2a6bec,{unitID:_0x18d43f}=_0x38911b,_0x6e0982=this[_0x143eab(0x314)][_0x143eab(0x321)](_0x18d43f)[_0x143eab(0x293)](_0x116ef8[_0x143eab(0xd8)]),{undoCache:_0x40b2f9,redoCache:_0x51144d}=_0x6e0982[_0x143eab(0x22f)]();if(_0x40b2f9[_0x143eab(0x1ad)]===0x0||_0x51144d[_0x143eab(0x1ad)]===0x0)return;const _0x5b9d9f=[],_0xb5e3cc=[];let _0x14e6fe=_0x42e0e7[_0x143eab(0x339)]['deepClone'](_0x38911b['mutations'][0x0]),_0x72fb68=_0x42e0e7['Tools']['deepClone'](_0x38911b[_0x143eab(0x167)][0x0]);for(let _0x4eca01=_0x40b2f9[_0x143eab(0x1ad)]-0x1;_0x4eca01>=0x0;_0x4eca01--){const _0x9cca89={'id':'doc.mutation.rich-text-editing','params':{..._0x40b2f9[_0x4eca01]}},_0x24d7e9={'id':_0x143eab(0x1ed),'params':{..._0x51144d[_0x4eca01]}},_0x222842=this[_0x143eab(0x230)][_0x143eab(0x310)](_0x14e6fe,_0x9cca89,!0x1),_0x5c8e50=this['_transformService'][_0x143eab(0x310)](_0x72fb68,_0x24d7e9,!0x1);if(_0x12caed[_0x143eab(0x108)](_0x222842))throw _0x222842[_0x143eab(0x285)];if(_0x12caed['isTransformMutationFailure'](_0x5c8e50))throw _0x5c8e50[_0x143eab(0x285)];_0x5b9d9f['unshift'](_0x222842[_0x143eab(0x35e)][_0x143eab(0x33d)]),_0xb5e3cc[_0x143eab(0xf8)](_0x5c8e50[_0x143eab(0x35e)][_0x143eab(0x33d)]),_0x14e6fe=_0x222842[_0x143eab(0x361)],_0x72fb68=_0x5c8e50['m1Prime'];}_0x6e0982[_0x143eab(0x268)]({'undoCache':_0x5b9d9f,'redoCache':_0xb5e3cc});}[_0x2a6bec(0x2cf)](_0x3c4da9){const _0x4b3647=_0x2a6bec,{unitID:_0x5e8135}=_0x3c4da9,_0x220a44=this[_0x4b3647(0x314)][_0x4b3647(0x321)](_0x5e8135)[_0x4b3647(0x293)](_0x116ef8[_0x4b3647(0xd8)]),_0x708763=_0x220a44[_0x4b3647(0x149)]();if(_0x708763==null)return;const _0x3944fe=[{'id':_0x4b3647(0x1ed),'params':{'unitId':_0x3c4da9['unitID'],'actions':null,'textRanges':[_0x708763]}}],_0x2bd771=this['_transformService']['transformMutationsWithChangeset'](_0x3c4da9,_0x3944fe);if(!_0x12caed[_0x4b3647(0x1f6)](_0x2bd771))throw _0x2bd771['error'];const _0x397d82=_0x2bd771[_0x4b3647(0x35e)][0x0][_0x4b3647(0x33d)][_0x4b3647(0x16f)];Array[_0x4b3647(0x258)](_0x397d82)&&_0x397d82['length']&&_0x220a44[_0x4b3647(0xe7)](_0x397d82[0x0]);}};_0x3a8030=_0x46c8ef([_0x3b59de(0x0,_0x42e0e7[_0x2a6bec(0x14e)](_0x42e0e7['Injector'])),_0x3b59de(0x1,_0x12caed[_0x2a6bec(0x12a)]),_0x3b59de(0x2,_0x5af10f['IRenderManagerService'])],_0x3a8030);var _0x52abdb=Object[_0x2a6bec(0x333)],_0x3aab43=(_0x4b27e8,_0xe7f1aa,_0x3e1112,_0x54d0ac)=>{const _0x12eeea=_0x2a6bec;for(var _0x2397c3=_0x54d0ac>0x1?void 0x0:_0x54d0ac?_0x52abdb(_0xe7f1aa,_0x3e1112):_0xe7f1aa,_0x23ada0=_0x4b27e8[_0x12eeea(0x1ad)]-0x1,_0x4cdb20;_0x23ada0>=0x0;_0x23ada0--)(_0x4cdb20=_0x4b27e8[_0x23ada0])&&(_0x2397c3=_0x4cdb20(_0x2397c3)||_0x2397c3);return _0x2397c3;},_0x4ccfe1=(_0x5f049c,_0x5829e5)=>(_0x160452,_0x14aea2)=>_0x5829e5(_0x160452,_0x14aea2,_0x5f049c);let _0xfd3415=class{constructor(_0x4a57c7,_0x21b792,_0x5c9058){const _0x220295=_0x2a6bec;this[_0x220295(0x33b)]=_0x4a57c7,this[_0x220295(0x230)]=_0x21b792,this[_0x220295(0x19d)]=_0x5c9058;}[_0x2a6bec(0x10e)](_0x51b57c){this['_transformHistoryAndStateStack'](_0x51b57c);}[_0x2a6bec(0x328)](_0x54102c){const _0x17274f=_0x2a6bec,{unitID:_0x5c8f52}=_0x54102c,{collaboration:_0x1d3328}=this[_0x17274f(0x19d)][_0x17274f(0x35a)](_0x5c8f52);if(_0x1d3328['length']===0x0)return _0x54102c;let _0x22ab13=_0x42e0e7[_0x17274f(0x339)]['deepClone'](_0x54102c[_0x17274f(0x167)][0x0]);for(let _0x2a9499=0x0;_0x2a9499<_0x1d3328[_0x17274f(0x1ad)];_0x2a9499++){const _0x1eef2c={'id':_0x17274f(0x1ed),'params':{'unitId':_0x1d3328[_0x2a9499][_0x17274f(0x24b)],..._0x1d3328[_0x2a9499][_0x17274f(0x18b)]}},_0x4fab03=this[_0x17274f(0x230)]['transformMutation'](_0x22ab13,_0x1eef2c,!0x1);if(_0x12caed[_0x17274f(0x108)](_0x4fab03))throw _0x4fab03['error'];_0x22ab13=_0x4fab03[_0x17274f(0x361)];}return{..._0x42e0e7[_0x17274f(0x339)]['deepClone'](_0x54102c),'mutations':[_0x22ab13]};}[_0x2a6bec(0x358)](_0x54d856){const _0x9302e9=_0x2a6bec,{unitID:_0x6e8ad7}=_0x54d856,{history:_0x3eee4d,collaboration:_0xa51fe5}=this[_0x9302e9(0x19d)]['getStateCache'](_0x6e8ad7);if(_0x3eee4d[_0x9302e9(0x1ad)]===0x0&&_0xa51fe5['length']===0x0)return;const _0x654de7=[],_0x23b849=[];let _0x3c6844=_0x42e0e7['Tools'][_0x9302e9(0x1aa)](_0x54d856[_0x9302e9(0x167)][0x0]),_0x4f0eb2=_0x42e0e7[_0x9302e9(0x339)][_0x9302e9(0x1aa)](_0x54d856[_0x9302e9(0x167)][0x0]);for(let _0x173b5f=_0x3eee4d['length']-0x1;_0x173b5f>=0x0;_0x173b5f--){const _0x12d371={'id':_0x9302e9(0x1ed),'params':{'unitId':_0x3eee4d[_0x173b5f][_0x9302e9(0x24b)],..._0x3eee4d[_0x173b5f][_0x9302e9(0x2a6)]}},_0x576a05={'id':_0x9302e9(0x1ed),'params':{'unitId':_0x3eee4d[_0x173b5f][_0x9302e9(0x24b)],..._0x3eee4d[_0x173b5f][_0x9302e9(0x18b)]}},_0x30706a=this[_0x9302e9(0x230)][_0x9302e9(0x310)](_0x3c6844,_0x12d371,!0x1),_0x560ce2=this[_0x9302e9(0x230)][_0x9302e9(0x310)](_0x4f0eb2,_0x576a05,!0x1);if(_0x12caed['isTransformMutationFailure'](_0x30706a))throw _0x30706a[_0x9302e9(0x285)];if(_0x12caed[_0x9302e9(0x108)](_0x560ce2))throw _0x560ce2['error'];_0x654de7['unshift']({..._0x3eee4d[_0x173b5f],'undoState':_0x30706a[_0x9302e9(0x35e)][_0x9302e9(0x33d)],'redoState':_0x560ce2[_0x9302e9(0x35e)]['params']}),_0x3c6844=_0x30706a[_0x9302e9(0x361)],_0x4f0eb2=_0x560ce2[_0x9302e9(0x361)];}_0x3c6844=_0x42e0e7[_0x9302e9(0x339)][_0x9302e9(0x1aa)](_0x54d856[_0x9302e9(0x167)][0x0]),_0x4f0eb2=_0x42e0e7[_0x9302e9(0x339)][_0x9302e9(0x1aa)](_0x54d856[_0x9302e9(0x167)][0x0]);for(let _0x2596c8=_0xa51fe5[_0x9302e9(0x1ad)]-0x1;_0x2596c8>=0x0;_0x2596c8--){const _0x3b07f3={'id':_0x9302e9(0x1ed),'params':{'unitId':_0xa51fe5[_0x2596c8]['unitId'],..._0xa51fe5[_0x2596c8][_0x9302e9(0x2a6)]}},_0xe0bc47={'id':_0x9302e9(0x1ed),'params':{'unitId':_0xa51fe5[_0x2596c8]['unitId'],..._0xa51fe5[_0x2596c8][_0x9302e9(0x18b)]}},_0x237458=this[_0x9302e9(0x230)]['transformMutation'](_0x3c6844,_0x3b07f3,!0x1),_0x1e5310=this[_0x9302e9(0x230)][_0x9302e9(0x310)](_0x4f0eb2,_0xe0bc47,!0x1);if(_0x12caed['isTransformMutationFailure'](_0x237458))throw _0x237458[_0x9302e9(0x285)];if(_0x12caed[_0x9302e9(0x108)](_0x1e5310))throw _0x1e5310[_0x9302e9(0x285)];_0x23b849[_0x9302e9(0xf8)]({..._0xa51fe5[_0x2596c8],'undoState':_0x237458[_0x9302e9(0x35e)][_0x9302e9(0x33d)],'redoState':_0x1e5310['m2Prime']['params']}),_0x3c6844=_0x237458[_0x9302e9(0x361)],_0x4f0eb2=_0x1e5310['m1Prime'];}this[_0x9302e9(0x19d)][_0x9302e9(0x209)](_0x6e8ad7,{'history':_0x654de7,'collaboration':_0x23b849});}};_0xfd3415=_0x3aab43([_0x4ccfe1(0x0,_0x42e0e7[_0x2a6bec(0x14e)](_0x42e0e7[_0x2a6bec(0x1ca)])),_0x4ccfe1(0x1,_0x12caed[_0x2a6bec(0x12a)]),_0x4ccfe1(0x2,_0x42e0e7[_0x2a6bec(0x14e)](_0x116ef8[_0x2a6bec(0x355)]))],_0xfd3415);var _0x2a1d8e=Object['getOwnPropertyDescriptor'],_0x541089=(_0x44da24,_0x19e48b,_0x1fe3fe,_0x3cc559)=>{const _0x43b39b=_0x2a6bec;for(var _0x5a7105=_0x3cc559>0x1?void 0x0:_0x3cc559?_0x2a1d8e(_0x19e48b,_0x1fe3fe):_0x19e48b,_0x4420e3=_0x44da24[_0x43b39b(0x1ad)]-0x1,_0x5c1fba;_0x4420e3>=0x0;_0x4420e3--)(_0x5c1fba=_0x44da24[_0x4420e3])&&(_0x5a7105=_0x5c1fba(_0x5a7105)||_0x5a7105);return _0x5a7105;},_0xdce4e1=(_0x22361a,_0x3d4432)=>(_0x1438bb,_0x3b4ee2)=>_0x3d4432(_0x1438bb,_0x3b4ee2,_0x22361a);let _0x2dbec8=class{constructor(_0xf61dd2,_0x25028b){const _0x819814=_0x2a6bec;this[_0x819814(0x33b)]=_0xf61dd2,this[_0x819814(0x230)]=_0x25028b;}[_0x2a6bec(0x168)](_0x42040c){const _0x16ff1c=_0x2a6bec;var _0x423266;const _0x24d6d3=this[_0x16ff1c(0x33b)][_0x16ff1c(0x24f)](_0x5c07ea[_0x16ff1c(0x2b4)]),_0x330768=(_0x423266=_0x24d6d3[_0x16ff1c(0xd2)]())!=null?_0x423266:[];if(_0x330768[_0x16ff1c(0x1ad)]===0x0)return;const _0x50a261=_0x42040c[_0x16ff1c(0x31f)],_0x115f4c=[{'id':_0x16ff1c(0x1ed),'params':{'unitId':_0x50a261,'actions':null,'textRanges':_0x330768}}],_0x4bb5b3=this[_0x16ff1c(0x230)]['transformMutationsWithChangeset'](_0x42040c,_0x115f4c);if(!_0x12caed[_0x16ff1c(0x1f6)](_0x4bb5b3))throw _0x4bb5b3['error'];const _0x537bdb=_0x4bb5b3[_0x16ff1c(0x35e)][0x0][_0x16ff1c(0x33d)][_0x16ff1c(0x16f)];Array[_0x16ff1c(0x258)](_0x537bdb)&&_0x537bdb[_0x16ff1c(0x1ad)]&&_0x24d6d3[_0x16ff1c(0x14b)](_0x537bdb,{'unitId':_0x50a261,'subUnitId':_0x50a261},!0x1);}};_0x2dbec8=_0x541089([_0xdce4e1(0x0,_0x42e0e7[_0x2a6bec(0x14e)](_0x42e0e7['Injector'])),_0xdce4e1(0x1,_0x12caed[_0x2a6bec(0x12a)])],_0x2dbec8);var _0x460893=Object[_0x2a6bec(0x333)],_0x220eed=(_0x4fd6ec,_0x2cd812,_0x99121d,_0x237401)=>{const _0x1ca1e5=_0x2a6bec;for(var _0x4926fd=_0x237401>0x1?void 0x0:_0x237401?_0x460893(_0x2cd812,_0x99121d):_0x2cd812,_0x1b7b72=_0x4fd6ec[_0x1ca1e5(0x1ad)]-0x1,_0x2d9ea9;_0x1b7b72>=0x0;_0x1b7b72--)(_0x2d9ea9=_0x4fd6ec[_0x1b7b72])&&(_0x4926fd=_0x2d9ea9(_0x4926fd)||_0x4926fd);return _0x4926fd;},_0x2be40b=(_0x5d927c,_0x3b400c)=>(_0x1a2b30,_0x4ca5a2)=>_0x3b400c(_0x1a2b30,_0x4ca5a2,_0x5d927c);let _0x49cb73=class extends _0x42e0e7['Disposable']{constructor(_0x315f59,_0x3f6e39,_0x24a1df,_0x3f0479,_0x189c35,_0x3fe609,_0x404190,_0x1e9efb){const _0xec08c9=_0x2a6bec;super(),_0x7f0de7(this,_0xec08c9(0x198),new _0x599c52['BehaviorSubject'](_0x3a040d[_0xec08c9(0x11e)]['NOT_COLLAB'])),(this[_0xec08c9(0x19d)]=_0x315f59,this['_collaborationController']=_0x3f6e39,this[_0xec08c9(0x286)]=_0x24a1df,this['_docTransformStateCacheService']=_0x3f0479,this[_0xec08c9(0x281)]=_0x189c35,this['_docSyncEditingCollabCursorService']=_0x3fe609,this['_messageService']=_0x404190,this[_0xec08c9(0x1bc)]=_0x1e9efb,this[_0xec08c9(0x282)]());}['_initEntityListener'](){const _0x4e12ea=_0x2a6bec;this[_0x4e12ea(0x133)](this[_0x4e12ea(0xd9)]['entityInit$'][_0x4e12ea(0x250)](_0x286b57=>{const _0x2f86c1=_0x4e12ea,_0xddc268=this[_0x2f86c1(0x19d)]['docStateChange$'][_0x2f86c1(0x250)](_0x354d3d=>{const _0x2e3ee2=_0x2f86c1;if(_0x354d3d==null)return;const {unitId:_0x1b77d2,redoState:_0x519baf,commandId:_0xd7d20a}=_0x354d3d;if(_0x1b77d2!==_0x286b57[_0x2e3ee2(0x31f)])return;const _0x1e9a4f={'id':_0xd7d20a,'type':_0x42e0e7[_0x2e3ee2(0x159)][_0x2e3ee2(0x179)],'params':{'unitId':_0x1b77d2,'actions':_0x519baf[_0x2e3ee2(0x273)],'textRanges':null}};_0x286b57[_0x2e3ee2(0x118)](_0x1e9a4f);});if(_0x286b57[_0x2f86c1(0x133)](_0xddc268),_0x286b57 instanceof _0x3a040d[_0x2f86c1(0x320)]){const _0x375db1={'onTransformIME':_0x281186=>this['_docTransformIMECacheService'][_0x2f86c1(0x305)](_0x281186),'onTransformState':_0x5a8d0b=>this[_0x2f86c1(0x29c)][_0x2f86c1(0x10e)](_0x5a8d0b),'onTransformSelections':_0x2cc42d=>this[_0x2f86c1(0x281)][_0x2f86c1(0x168)](_0x2cc42d),'onSyncEditingCollabCursor':_0x4d6e4e=>this[_0x2f86c1(0x2d2)]['syncEditingCollabCursor'](_0x4d6e4e),'onTransformRemoteChangesetByIMECache':_0x2665eb=>this[_0x2f86c1(0x286)][_0x2f86c1(0x328)](_0x2665eb),'onTransformRemoteChangesetByStateCache':_0x2635d9=>this[_0x2f86c1(0x29c)][_0x2f86c1(0x328)](_0x2635d9)};_0x286b57['addHandlerCallback'](_0x375db1);}}));}};_0x49cb73=_0x220eed([_0x2be40b(0x0,_0x42e0e7['Inject'](_0x116ef8[_0x2a6bec(0x355)])),_0x2be40b(0x1,_0x42e0e7[_0x2a6bec(0x14e)](_0x3a040d[_0x2a6bec(0x1fd)])),_0x2be40b(0x2,_0x42e0e7[_0x2a6bec(0x14e)](_0x3a8030)),_0x2be40b(0x3,_0x42e0e7[_0x2a6bec(0x14e)](_0xfd3415)),_0x2be40b(0x4,_0x42e0e7['Inject'](_0x2dbec8)),_0x2be40b(0x5,_0x42e0e7[_0x2a6bec(0x14e)](_0x7228ba)),_0x2be40b(0x6,_0x5549db['IMessageService']),_0x2be40b(0x7,_0x42e0e7[_0x2a6bec(0x14e)](_0x42e0e7[_0x2a6bec(0x341)]))],_0x49cb73);var _0xa22d8a=Object[_0x2a6bec(0x333)],_0x525491=(_0x67b75,_0xffd2b1,_0x4a3381,_0x2fe4e9)=>{const _0x209246=_0x2a6bec;for(var _0x55f7e3=_0x2fe4e9>0x1?void 0x0:_0x2fe4e9?_0xa22d8a(_0xffd2b1,_0x4a3381):_0xffd2b1,_0x4a2e4f=_0x67b75[_0x209246(0x1ad)]-0x1,_0x9ad065;_0x4a2e4f>=0x0;_0x4a2e4f--)(_0x9ad065=_0x67b75[_0x4a2e4f])&&(_0x55f7e3=_0x9ad065(_0x55f7e3)||_0x55f7e3);return _0x55f7e3;},_0xf7372e=(_0x3f7f35,_0x432508)=>(_0x391779,_0x51810f)=>_0x432508(_0x391779,_0x51810f,_0x3f7f35);let _0x22372e=class extends _0x42e0e7[_0x2a6bec(0x1d6)]{constructor(_0x4375a5,_0x4e0d0f,_0x29ca90){const _0xde1e75=_0x2a6bec;super(),_0x7f0de7(this,_0xde1e75(0x221),new Map()),_0x7f0de7(this,'_saveTaskMap',new Map()),_0x7f0de7(this,_0xde1e75(0x153),!0x1),(this[_0xde1e75(0x128)]=_0x4375a5,this[_0xde1e75(0x29a)]=_0x4e0d0f,this['_revisionService']=_0x29ca90);}['disableLocalCache'](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x2c6efe=_0x2a6bec;this[_0x2c6efe(0x153)]=!0x1;}get[_0x2a6bec(0x1a5)](){const _0x4b313d=_0x2a6bec;return this[_0x4b313d(0x2cd)];}['dispose'](){const _0x2cd182=_0x2a6bec;this[_0x2cd182(0x160)]()[_0x2cd182(0x2fe)](()=>super['dispose']());}async[_0x2a6bec(0x2d3)](_0x2f29ab){const _0x515715=_0x2a6bec;return this['_disabled']?null:this['_localStorageService'][_0x515715(0x308)](_0x3a040d[_0x515715(0x240)](_0x2f29ab));}async[_0x2a6bec(0xd1)](_0x4bd7ad,_0x3b11ec){const _0x281d75=_0x2a6bec;return!!this[_0x281d75(0x29a)][_0x281d75(0x201)](_0x4bd7ad,_0x3b11ec);}[_0x2a6bec(0x290)](_0x519945,_0x521614,_0x9d0af5,_0x553472){const _0x5d7876=_0x2a6bec,_0x41dd23=this[_0x5d7876(0x2c0)][_0x5d7876(0x23f)](_0x519945);this[_0x5d7876(0x221)][_0x5d7876(0x1bd)](_0x519945,{'unitID':_0x519945,'type':_0x521614,'awaitingChangeset':_0x9d0af5,'mutations':_0x553472,'rev':_0x41dd23}),this[_0x5d7876(0x2cd)]['has'](_0x519945)||this['_scheduleSaving'](_0x519945);}[_0x2a6bec(0x2da)](_0x2fc835){const _0x2372fc=_0x2a6bec,_0x9d32ce=this[_0x2372fc(0x1e5)]();_0x9d32ce===0x0?this[_0x2372fc(0xf6)](_0x2fc835):this['_saveTaskMap'][_0x2372fc(0x1bd)](_0x2fc835,setTimeout(()=>this[_0x2372fc(0xf6)](_0x2fc835),_0x9d32ce));}[_0x2a6bec(0x1e5)](){const _0x209fba=_0x2a6bec;var _0x174621;return(_0x174621=this[_0x209fba(0x128)][_0x209fba(0x2a2)](_0x3a040d['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x174621:_0x3a040d[_0x209fba(0xdf)];}[_0x2a6bec(0xf6)](_0x46510f){const _0x174152=_0x2a6bec,_0x5c7780=this[_0x174152(0x2cd)][_0x174152(0x24f)](_0x46510f);return _0x5c7780!==void 0x0&&window['clearTimeout'](_0x5c7780),this[_0x174152(0x29a)][_0x174152(0x201)](_0x3a040d[_0x174152(0x240)](_0x46510f),this[_0x174152(0x221)][_0x174152(0x24f)](_0x46510f))[_0x174152(0x2fe)](()=>this['_saveTaskMap'][_0x174152(0x12f)](_0x46510f));}async[_0x2a6bec(0x160)](){const _0x104ad8=_0x2a6bec,_0x19c7cb=[];this[_0x104ad8(0x2cd)]['forEach']((_0x2217cd,_0x311365)=>{const _0x16f6f7=_0x104ad8;window['clearTimeout'](_0x2217cd),_0x19c7cb[_0x16f6f7(0x24c)](this[_0x16f6f7(0xf6)](_0x311365)[_0x16f6f7(0x2fe)](()=>{const _0x3b0c09=_0x16f6f7;this[_0x3b0c09(0x2cd)][_0x3b0c09(0x12f)](_0x311365);}));}),await Promise[_0x104ad8(0x1e0)](_0x19c7cb);}};_0x22372e=_0x525491([_0xf7372e(0x0,_0x42e0e7['IConfigService']),_0xf7372e(0x1,_0x42e0e7[_0x2a6bec(0x334)]),_0xf7372e(0x2,_0x42e0e7[_0x2a6bec(0x14e)](_0x12caed['RevisionService']))],_0x22372e);class _0x1048ec extends _0x42e0e7['RxDisposable']{constructor(){const _0x290507=_0x2a6bec;super(),_0x7f0de7(this,'urlChange$'),this[_0x290507(0x1b2)]=_0x599c52[_0x290507(0x1e2)](window,_0x290507(0x2f1))['pipe'](_0x599c52[_0x290507(0x1ef)](this[_0x290507(0x332)]),_0x599c52['shareReplay'](0x1),_0x599c52['mapTo'](void 0x0));}[_0x2a6bec(0x218)](_0x3838df,_0x16fb29,_0x5b46d2=!0x1){const _0x11648f=_0x2a6bec,_0x303cb8=new URL(window[_0x11648f(0x10d)][_0x11648f(0x306)]);_0x303cb8[_0x11648f(0x214)][_0x11648f(0x1bd)](_0x3838df,_0x16fb29),_0x5b46d2?window['history'][_0x11648f(0x2b9)]('','',_0x303cb8['toString']()):window['history'][_0x11648f(0x119)]('','',_0x303cb8[_0x11648f(0xf0)]());}[_0x2a6bec(0x124)](_0x74fa2c,_0xb853a4=!0x1){const _0x243f2a=_0x2a6bec,_0x29f122=new URL(window[_0x243f2a(0x10d)]['href']);_0x29f122[_0x243f2a(0x214)]['delete'](_0x74fa2c),_0xb853a4?window['history'][_0x243f2a(0x2b9)]('','',_0x29f122[_0x243f2a(0xf0)]()):window[_0x243f2a(0x229)][_0x243f2a(0x119)]('','',_0x29f122['toString']());}[_0x2a6bec(0x110)](_0x332e55){const _0x19f9c3=_0x2a6bec;var _0x159e82;return(_0x159e82=new URL(window['location'][_0x19f9c3(0x306)])[_0x19f9c3(0x214)][_0x19f9c3(0x24f)](_0x332e55))!=null?_0x159e82:void 0x0;}}var _0x108d4e=Object[_0x2a6bec(0x145)],_0x5532a4=Object[_0x2a6bec(0x333)],_0x23c339=(_0x187d48,_0x1c28b6,_0x33556c)=>_0x1c28b6 in _0x187d48?_0x108d4e(_0x187d48,_0x1c28b6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x33556c}):_0x187d48[_0x1c28b6]=_0x33556c,_0x181bf7=(_0x1c97a9,_0x7189ec,_0x554eee,_0x4e46ad)=>{const _0x19302a=_0x2a6bec;for(var _0x5f2eb9=_0x4e46ad>0x1?void 0x0:_0x4e46ad?_0x5532a4(_0x7189ec,_0x554eee):_0x7189ec,_0x33d59b=_0x1c97a9[_0x19302a(0x1ad)]-0x1,_0x35aa41;_0x33d59b>=0x0;_0x33d59b--)(_0x35aa41=_0x1c97a9[_0x33d59b])&&(_0x5f2eb9=_0x35aa41(_0x5f2eb9)||_0x5f2eb9);return _0x5f2eb9;},_0x27c863=(_0x198c73,_0x2704ca)=>(_0xfce024,_0x1c96b0)=>_0x2704ca(_0xfce024,_0x1c96b0,_0x198c73),_0x4e4902=(_0x47e6e4,_0x531d1d,_0x555182)=>_0x23c339(_0x47e6e4,_0x531d1d+'',_0x555182);const _0x3ebee7=_0x2a6bec(0x1b7);_0x57b4ed['UniverCollaborationClientUIPlugin']=class extends _0x42e0e7[_0x2a6bec(0x2ae)]{constructor(_0x2dbb61=_0x15020a,_0x2e4532,_0x2a4a79,_0x57ac88){const _0x53b11f=_0x2a6bec;super(),this['_config']=_0x2dbb61,this[_0x53b11f(0x314)]=_0x2e4532,this[_0x53b11f(0x33b)]=_0x2a4a79,this['_configService']=_0x57ac88;const {..._0x4df8c7}=_0x42e0e7['merge']({},_0x15020a,this[_0x53b11f(0xde)]);this[_0x53b11f(0x128)][_0x53b11f(0xd7)](_0x38c58e,_0x4df8c7);}[_0x2a6bec(0xee)](){const _0x4773e7=_0x2a6bec;this[_0x4773e7(0xfa)](),this[_0x4773e7(0xce)]();}[_0x2a6bec(0x1b9)](){const _0x6d6569=_0x2a6bec;this[_0x6d6569(0x2d7)]();}[_0x2a6bec(0xfa)](){const _0x5694b2=_0x2a6bec;var _0x43de76;const _0x22e0f9=[[_0x1ee3e1],[_0x2dbec8],[_0x3a8030],[_0xfd3415],[_0x7228ba],[_0x5254f2,{'useClass':_0x1048ec}],[_0x3ba47d[_0x5694b2(0x194)],{'useClass':_0x3ba47d[_0x5694b2(0xcd)]}],[_0x3a040d[_0x5694b2(0x1fe)],{'useClass':_0x22372e}],[_0x57b4ed['DesktopCollaborationStatusDisplayController']],[_0x49cb73],[_0x2a8026],[_0x465ed4],[_0x2da604],[_0x57b4ed[_0x5694b2(0x317)]]];_0x42e0e7['registerDependencies'](this[_0x5694b2(0x33b)],_0x42e0e7[_0x5694b2(0x2ee)](_0x22e0f9,(_0x43de76=this[_0x5694b2(0xde)])==null?void 0x0:_0x43de76[_0x5694b2(0x169)]));}[_0x2a6bec(0x2d7)](){const _0x4bbe00=_0x2a6bec;this['disposeWithMe'](this['_renderManagerService'][_0x4bbe00(0x158)](_0x42e0e7['UniverInstanceType'][_0x4bbe00(0x2f3)],[_0x28e886])),this[_0x4bbe00(0x133)](this[_0x4bbe00(0x314)][_0x4bbe00(0x158)](_0x42e0e7[_0x4bbe00(0x129)][_0x4bbe00(0x19b)],[_0x21a66f]));}[_0x2a6bec(0xce)](){const _0x2fd144=_0x2a6bec;_0x42e0e7[_0x2fd144(0x19a)](this['_injector'],[[_0x465ed4],[_0x57b4ed[_0x2fd144(0x122)]],[_0x49cb73],[_0x2a8026],[_0x57b4ed[_0x2fd144(0x317)]]]);}},_0x4e4902(_0x57b4ed[_0x2a6bec(0x27d)],_0x2a6bec(0x23d),_0x3ebee7),_0x57b4ed['UniverCollaborationClientUIPlugin']=_0x181bf7([_0x42e0e7[_0x2a6bec(0x24a)](_0x3a040d['UniverCollaborationClientPlugin']),_0x27c863(0x1,_0x5af10f[_0x2a6bec(0x1d0)]),_0x27c863(0x2,_0x42e0e7['Inject'](_0x42e0e7[_0x2a6bec(0x1ca)])),_0x27c863(0x3,_0x42e0e7['IConfigService'])],_0x57b4ed[_0x2a6bec(0x27d)]);var _0x36daf0=Object[_0x2a6bec(0x333)],_0x70e211=(_0x20e945,_0x1c9494,_0x103351,_0x289e8c)=>{const _0x2d1bcb=_0x2a6bec;for(var _0x29a94a=_0x289e8c>0x1?void 0x0:_0x289e8c?_0x36daf0(_0x1c9494,_0x103351):_0x1c9494,_0xadf316=_0x20e945[_0x2d1bcb(0x1ad)]-0x1,_0x3a3535;_0xadf316>=0x0;_0xadf316--)(_0x3a3535=_0x20e945[_0xadf316])&&(_0x29a94a=_0x3a3535(_0x29a94a)||_0x29a94a);return _0x29a94a;},_0xf88d6b=(_0x3ba83c,_0x632e35)=>(_0x49be40,_0x44cd25)=>_0x632e35(_0x49be40,_0x44cd25,_0x3ba83c);_0x57b4ed[_0x2a6bec(0x1d5)]=class extends _0x3a040d[_0x2a6bec(0x2fd)]{constructor(_0x2d4cfb,_0x4c1a95,_0x5c8a7e,_0x459b38,_0x26fc66){super(_0x2d4cfb,_0x4c1a95,_0x5c8a7e,_0x459b38,_0x26fc66);}async['createSocket'](_0x28be68){const _0x48a938=_0x2a6bec,_0x1ab640=await this[_0x48a938(0x32e)](),_0x5d94d0=this[_0x48a938(0x23a)](_0x28be68,_0x1ab640);return this[_0x48a938(0x291)](_0x5d94d0);}[_0x2a6bec(0x23a)](_0x5be3e7,_0x5a136d){const _0x226bfe=_0x2a6bec,_0x332b0d=typeof window>'u'?new URL(_0x5be3e7):new URL(_0x5be3e7,window['location']['origin']);_0x332b0d['searchParams'][_0x226bfe(0x1bd)](_0x226bfe(0x1fb),_0x5a136d);const _0x554454=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x226bfe(0x10d)]['search']);return _0x554454['get'](_0x226bfe(0x29d))&&_0x332b0d['searchParams'][_0x226bfe(0x1bd)]('runId',_0x554454[_0x226bfe(0x24f)](_0x226bfe(0x29d))),_0x332b0d['toString']();}async[_0x2a6bec(0x32e)](){const _0xb18672=_0x2a6bec;var _0xd5f9f1,_0x539ca9,_0xd0de21;const _0x836e3b=this['_configService'][_0xb18672(0x2a2)](_0x3a040d['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x165430=(_0xd5f9f1=_0x836e3b==null?void 0x0:_0x836e3b[_0xb18672(0x222)])!=null?_0xd5f9f1:_0x3a040d[_0xb18672(0x35f)];return(_0xd0de21=(_0x539ca9=(await this[_0xb18672(0x2d8)][_0xb18672(0x24f)](_0x165430,{'headers':{'Content-Type':'application/json'}}))[_0xb18672(0x126)])==null?void 0x0:_0x539ca9[_0xb18672(0x30e)])!=null?_0xd0de21:'';}},_0x57b4ed[_0x2a6bec(0x1d5)]=_0x70e211([_0xf88d6b(0x0,_0x42e0e7[_0x2a6bec(0x14e)](_0x42e0e7['Injector'])),_0xf88d6b(0x1,_0x42e0e7[_0x2a6bec(0x14e)](_0x3ba47d['HTTPService'])),_0xf88d6b(0x2,_0x42e0e7[_0x2a6bec(0x1a3)]),_0xf88d6b(0x3,_0x42e0e7[_0x2a6bec(0x2eb)]),_0xf88d6b(0x4,_0x12caed['ISnapshotServerService'])],_0x57b4ed[_0x2a6bec(0x1d5)]);const _0x385a23=0x7530,_0x173d9c=_0x2a6bec(0x2e9);class _0x1f5ae1 extends _0x42e0e7[_0x2a6bec(0x1d6)]{constructor(){const _0x32d6a9=_0x2a6bec;super(),_0x7f0de7(this,_0x32d6a9(0x1d1),_0x42e0e7[_0x32d6a9(0x1fc)]()),_0x7f0de7(this,'_selfUnitIDs',new Set()),_0x7f0de7(this,_0x32d6a9(0x27c),new Map()),_0x7f0de7(this,_0x32d6a9(0x17b),null),_0x7f0de7(this,_0x32d6a9(0x1eb),new Map()),_0x7f0de7(this,_0x32d6a9(0x2e5),new Map()),this[_0x32d6a9(0x1b8)]();}[_0x2a6bec(0x336)](){const _0x2d595c=_0x2a6bec;super['dispose'](),this[_0x2d595c(0x1eb)][_0x2d595c(0xe6)]((_0x52ed58,_0x4be009)=>this[_0x2d595c(0x196)](_0x4be009)),this[_0x2d595c(0x17b)]&&window['clearInterval'](this[_0x2d595c(0x17b)]);}['getUnitStatus$'](_0x13ceab){const _0x4ef7da=_0x2a6bec;return this[_0x4ef7da(0x12e)](_0x13ceab)[_0x4ef7da(0x27f)](_0x599c52[_0x4ef7da(0x12d)]());}[_0x2a6bec(0x264)](_0xddb055){const _0x48abf3=_0x2a6bec;this[_0x48abf3(0xef)][_0x48abf3(0x2f5)]===0x0&&this[_0x48abf3(0x28e)](),this['_selfUnitIDs'][_0x48abf3(0x279)](_0xddb055),this[_0x48abf3(0x106)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0xddb055],'isForwarded':!0x1});}[_0x2a6bec(0x255)](_0x36dfff){const _0x534133=_0x2a6bec;this[_0x534133(0xef)][_0x534133(0x12f)](_0x36dfff),this['_selfUnitIDs'][_0x534133(0x2f5)]===0x0&&this[_0x534133(0x17b)]&&window[_0x534133(0xdd)](this['_heartbeatTimer']);}[_0x2a6bec(0x1b8)](){const _0x25eb12=_0x2a6bec;this[_0x25eb12(0x133)](_0x42e0e7[_0x25eb12(0x1ff)](_0x599c52[_0x25eb12(0x1e2)](window,_0x25eb12(0x303))[_0x25eb12(0x250)](_0x52e68d=>{const _0x4d9beb=_0x25eb12;if(_0x52e68d[_0x4d9beb(0x2fa)]!==_0x173d9c||!_0x52e68d[_0x4d9beb(0x2e2)])return;const _0x5e1799=JSON['parse'](_0x52e68d[_0x4d9beb(0x2e2)]);this[_0x4d9beb(0x28d)](_0x5e1799);}))),window[_0x25eb12(0x20f)](_0x25eb12(0xdc),()=>this[_0x25eb12(0x106)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x25eb12(0x138)](this[_0x25eb12(0xef)])}));}['_handleEvent'](_0x39a702){const _0x2f6672=_0x2a6bec;switch(_0x39a702[_0x2f6672(0xd4)]){case 0x0:this[_0x2f6672(0x195)](_0x39a702);break;case 0x1:this[_0x2f6672(0x309)](_0x39a702);break;case 0x2:this[_0x2f6672(0x2a3)](_0x39a702);break;}}[_0x2a6bec(0x195)](_0x3e790e){const _0x4645d8=_0x2a6bec,{unitIDs:_0x39f769,memberID:_0xd5788e,isForwarded:_0xfac1b3}=_0x3e790e;_0x39f769[_0x4645d8(0xe6)](_0x28582e=>{const _0xd6e7ed=_0x4645d8;if(!_0xfac1b3&&this['_unitOnClients']['has'](_0x28582e)&&this['_ensureSubject'](_0x28582e)['next'](_0x3a040d[_0xd6e7ed(0x130)][_0xd6e7ed(0x21a)]),!this['_unitOnClients'][_0xd6e7ed(0x297)](_0x28582e)||!this[_0xd6e7ed(0x27c)][_0xd6e7ed(0x24f)](_0x28582e)[_0xd6e7ed(0x297)](_0xd5788e)){const _0x398fd4=this['_unitOnClients'][_0xd6e7ed(0x24f)](_0x28582e)||new Set();_0x398fd4['add'](_0xd5788e),this[_0xd6e7ed(0x27c)][_0xd6e7ed(0x1bd)](_0x28582e,_0x398fd4),this[_0xd6e7ed(0x1f5)](_0xd5788e);}}),_0xfac1b3||this[_0x4645d8(0x106)]({'type':0x0,'memberID':this[_0x4645d8(0x1d1)],'unitIDs':[...this[_0x4645d8(0xef)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x3cbfa0){const _0x36ddb6=_0x2a6bec;this[_0x36ddb6(0x196)](_0x3cbfa0);const _0x548a48=window[_0x36ddb6(0x20c)](()=>{const _0x3fc8d5=_0x36ddb6;this[_0x3fc8d5(0x27c)][_0x3fc8d5(0xe6)](_0x360632=>{const _0x586ba0=_0x3fc8d5;_0x360632[_0x586ba0(0x12f)](_0x3cbfa0);});},_0x385a23*0x2);this[_0x36ddb6(0x1eb)][_0x36ddb6(0x1bd)](_0x3cbfa0,_0x548a48);}['_removeClearOtherTimer'](_0x9a995b){const _0x3bfa2a=_0x2a6bec;if(this[_0x3bfa2a(0x1eb)][_0x3bfa2a(0x297)](_0x9a995b)){const _0x172a22=this[_0x3bfa2a(0x1eb)][_0x3bfa2a(0x24f)](_0x9a995b);_0x172a22&&window[_0x3bfa2a(0x245)](_0x172a22),this['_clearOtherTimers'][_0x3bfa2a(0x1bd)](_0x9a995b,null);}}[_0x2a6bec(0x309)](_0x4a7684){const _0x31d929=_0x2a6bec,{memberID:_0x536e5f,unitIDs:_0x3feceb}=_0x4a7684;_0x3feceb[_0x31d929(0xe6)](_0x37b17f=>{const _0x56a8e2=_0x31d929;var _0x4ceed5;const _0x48518c=this[_0x56a8e2(0x27c)][_0x56a8e2(0x24f)](_0x37b17f);_0x48518c&&(_0x48518c[_0x56a8e2(0x12f)](_0x536e5f),(_0x4ceed5=this[_0x56a8e2(0x12e)](_0x37b17f))==null||_0x4ceed5['next'](_0x48518c[_0x56a8e2(0x2f5)]===0x0?_0x3a040d['UnitStatus'][_0x56a8e2(0x2bf)]:_0x3a040d[_0x56a8e2(0x130)][_0x56a8e2(0x21a)]));}),this[_0x31d929(0x196)](_0x536e5f);}[_0x2a6bec(0x2a3)](_0x7d9c97){const _0x33ce84=_0x2a6bec;this[_0x33ce84(0x1f5)](_0x7d9c97['memberID']);}['_send'](_0x315b0b){const _0x168363=_0x2a6bec;localStorage[_0x168363(0x201)](_0x173d9c,JSON[_0x168363(0x164)](_0x315b0b));}[_0x2a6bec(0x28e)](){const _0x4eceff=_0x2a6bec;this[_0x4eceff(0x17b)]=window['setInterval'](()=>{const _0x37b163=_0x4eceff;this[_0x37b163(0x106)]({'type':0x2,'memberID':this['_id']});},_0x385a23);}[_0x2a6bec(0x12e)](_0x5c12c5){const _0x59e005=_0x2a6bec;return this['_unitStatus'][_0x59e005(0x297)](_0x5c12c5)||this['_unitStatus']['set'](_0x5c12c5,new _0x599c52[(_0x59e005(0x1f4))](_0x3a040d[_0x59e005(0x130)][_0x59e005(0x2bf)])),this['_unitStatus'][_0x59e005(0x24f)](_0x5c12c5);}}var _0x420b1a=(_0x17ff91=>(_0x17ff91[_0x17ff91['UNDEFINED']=0x0]='UNDEFINED',_0x17ff91[_0x17ff91['OK']=0x1]='OK',_0x17ff91[_0x17ff91[_0x2a6bec(0x2c4)]=0x2]=_0x2a6bec(0x2c4),_0x17ff91[_0x17ff91[_0x2a6bec(0x203)]=0x3]=_0x2a6bec(0x203),_0x17ff91[_0x17ff91[_0x2a6bec(0xf5)]=0x4]=_0x2a6bec(0xf5),_0x17ff91[_0x17ff91['UNAUTHENTICATED']=0x5]=_0x2a6bec(0x26c),_0x17ff91[_0x17ff91['ALREADY_EXISTS']=0x6]=_0x2a6bec(0x147),_0x17ff91[_0x17ff91[_0x2a6bec(0x134)]=0x7]=_0x2a6bec(0x134),_0x17ff91[_0x17ff91[_0x2a6bec(0x16b)]=0x8]='TOO_MANY_REQUESTS',_0x17ff91[_0x17ff91[_0x2a6bec(0x2ad)]=0x9]='COMPLETION_FINISHED',_0x17ff91[_0x17ff91[_0x2a6bec(0x13d)]=0xa]=_0x2a6bec(0x13d),_0x17ff91[_0x17ff91[_0x2a6bec(0x232)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x17ff91[_0x17ff91['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x2a6bec(0x1c1),_0x17ff91[_0x17ff91['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x2a6bec(0x177),_0x17ff91[_0x17ff91[_0x2a6bec(0x34a)]=0x1773]=_0x2a6bec(0x34a),_0x17ff91[_0x17ff91[_0x2a6bec(0x1e3)]=0x1b59]=_0x2a6bec(0x1e3),_0x17ff91[_0x17ff91[_0x2a6bec(0x2db)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x17ff91[_0x17ff91['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x2a6bec(0x21c),_0x17ff91[_0x17ff91['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x2a6bec(0x2b2),_0x17ff91[_0x17ff91[_0x2a6bec(0x2de)]=0x1b5d]=_0x2a6bec(0x2de),_0x17ff91[_0x17ff91[_0x2a6bec(0x1da)]=0x1f41]=_0x2a6bec(0x1da),_0x17ff91[_0x17ff91[_0x2a6bec(0x18f)]=0x2329]=_0x2a6bec(0x18f),_0x17ff91[_0x17ff91[_0x2a6bec(0x302)]=0x232a]=_0x2a6bec(0x302),_0x17ff91[_0x17ff91[_0x2a6bec(0x2dc)]=0x232b]=_0x2a6bec(0x2dc),_0x17ff91[_0x17ff91[_0x2a6bec(0x22d)]=0x232c]=_0x2a6bec(0x22d),_0x17ff91[_0x17ff91[_0x2a6bec(0xe2)]=0x232d]=_0x2a6bec(0xe2),_0x17ff91[_0x17ff91[_0x2a6bec(0x10c)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x17ff91[_0x17ff91[_0x2a6bec(0x2e1)]=0x2712]=_0x2a6bec(0x2e1),_0x17ff91[_0x17ff91['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x2a6bec(0xff),_0x17ff91[_0x17ff91[_0x2a6bec(0x25e)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x17ff91[_0x17ff91[_0x2a6bec(0x22e)]=0x271a]=_0x2a6bec(0x22e),_0x17ff91[_0x17ff91[_0x2a6bec(0x10f)]=0x271b]=_0x2a6bec(0x10f),_0x17ff91[_0x17ff91[_0x2a6bec(0x123)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x17ff91[_0x17ff91[_0x2a6bec(0x2ac)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x17ff91[_0x17ff91[_0x2a6bec(0x1a1)]=0x2ee2]=_0x2a6bec(0x1a1),_0x17ff91[_0x17ff91[_0x2a6bec(0x170)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x17ff91[_0x17ff91[_0x2a6bec(0x105)]=0x2ee4]=_0x2a6bec(0x105),_0x17ff91[_0x17ff91[_0x2a6bec(0x274)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x17ff91[_0x17ff91[_0x2a6bec(0x319)]=0x32c9]=_0x2a6bec(0x319),_0x17ff91[_0x17ff91[_0x2a6bec(0x11b)]=0x32ca]=_0x2a6bec(0x11b),_0x17ff91[_0x17ff91[_0x2a6bec(0x254)]=0x32cb]=_0x2a6bec(0x254),_0x17ff91[_0x17ff91[_0x2a6bec(0x193)]=-0x1]='UNRECOGNIZED',_0x17ff91))(_0x420b1a||{}),_0x46ce48=Object[_0x2a6bec(0x333)],_0x4d033c=(_0x19b7da,_0x88a15c,_0x33aad5,_0x458683)=>{const _0x1e9191=_0x2a6bec;for(var _0x3005f6=_0x458683>0x1?void 0x0:_0x458683?_0x46ce48(_0x88a15c,_0x33aad5):_0x88a15c,_0x27a0e=_0x19b7da[_0x1e9191(0x1ad)]-0x1,_0x26862c;_0x27a0e>=0x0;_0x27a0e--)(_0x26862c=_0x19b7da[_0x27a0e])&&(_0x3005f6=_0x26862c(_0x3005f6)||_0x3005f6);return _0x3005f6;},_0x513028=(_0x25d951,_0x10fb49)=>(_0x32f036,_0x266e92)=>_0x10fb49(_0x32f036,_0x266e92,_0x25d951);_0x57b4ed[_0x2a6bec(0xe1)]=class extends _0x42e0e7[_0x2a6bec(0x1d6)]{constructor(_0x57cbc4,_0x9a08de,_0x11499b){const _0x171c3e=_0x2a6bec;super(),this['_instanceService']=_0x57cbc4,this[_0x171c3e(0x2d8)]=_0x9a08de,this[_0x171c3e(0x128)]=_0x11499b;}async[_0x2a6bec(0x150)](_0x2e1a66,_0x194726,_0x1f6c6a,..._0x1b59bc){const _0x4b8309=_0x2a6bec;var _0x569ab2,_0xf41449,_0x4f342b,_0x22b4b1;const _0x54294d=this['_instanceService'][_0x4b8309(0x173)]();if(!_0x54294d)throw new Error(_0x4b8309(0x1e6));const _0x6c5117=((_0x569ab2=this['_configService'][_0x4b8309(0x2a2)](_0x3a040d[_0x4b8309(0x18d)]))!=null?_0x569ab2:_0x3a040d[_0x4b8309(0x14c)])+'/'+_0x2e1a66+_0x4b8309(0x16d)+_0x194726,_0x4bf9dd=new URL(window[_0x4b8309(0x10d)][_0x4b8309(0x306)]),_0xab06b6={'scriptId':_0x2e1a66,'runId':(_0xf41449=_0x4bf9dd[_0x4b8309(0x214)]['get'](_0x4b8309(0x29d)))!=null?_0xf41449:'','function':_0x194726,'unitId':_0x54294d[_0x4b8309(0x225)](),'argsOfFunction':JSON[_0x4b8309(0x164)](_0x1b59bc),'invokeId':(_0x4f342b=_0x1f6c6a['invokeId'])!=null?_0x4f342b:'','executionId':(_0x22b4b1=_0x1f6c6a[_0x4b8309(0x1d3)])!=null?_0x22b4b1:''};try{const _0x1a52d4=await this[_0x4b8309(0x2d8)][_0x4b8309(0x260)](_0x6c5117,{'body':_0xab06b6});return _0x1a52d4[_0x4b8309(0x126)][_0x4b8309(0x285)]&&_0x1a52d4[_0x4b8309(0x126)]['error']['code']!==_0x420b1a['OK']?'Failed':_0x1a52d4[_0x4b8309(0x126)][_0x4b8309(0x1f2)];}catch{return'Failed';}}},_0x57b4ed[_0x2a6bec(0xe1)]=_0x4d033c([_0x513028(0x0,_0x42e0e7['IUniverInstanceService']),_0x513028(0x1,_0x42e0e7[_0x2a6bec(0x14e)](_0x3ba47d[_0x2a6bec(0x15d)])),_0x513028(0x2,_0x42e0e7[_0x2a6bec(0x1a3)])],_0x57b4ed['RemoteUniscriptService']),_0x57b4ed[_0x2a6bec(0x1bb)]=_0x17cef4,_0x57b4ed[_0x2a6bec(0x20a)]=_0x5254f2,_0x57b4ed[_0x2a6bec(0x184)]=_0x2bc6e2,_0x57b4ed[_0x2a6bec(0x246)]=_0x1f5ae1,_0x57b4ed['WebURLService']=_0x1048ec,Object[_0x2a6bec(0x145)](_0x57b4ed,Symbol[_0x2a6bec(0x17a)],{'value':'Module'});}));
1
+ function _0x44a6(_0x4478dd,_0x3fed41){const _0x3abd59=_0x3abd();return _0x44a6=function(_0x44a67b,_0x4aee14){_0x44a67b=_0x44a67b-0xea;let _0x3ef1fa=_0x3abd59[_0x44a67b];return _0x3ef1fa;},_0x44a6(_0x4478dd,_0x3fed41);}(function(_0xace6bb,_0x36bb4c){const _0x594f8b=_0x44a6,_0x1b05b5=_0xace6bb();while(!![]){try{const _0x5da8c9=parseInt(_0x594f8b(0x162))/0x1*(-parseInt(_0x594f8b(0x1d3))/0x2)+parseInt(_0x594f8b(0x1ec))/0x3*(-parseInt(_0x594f8b(0x10b))/0x4)+parseInt(_0x594f8b(0x19e))/0x5+parseInt(_0x594f8b(0x190))/0x6+-parseInt(_0x594f8b(0x338))/0x7+-parseInt(_0x594f8b(0x1e5))/0x8*(parseInt(_0x594f8b(0x1d5))/0x9)+parseInt(_0x594f8b(0x29e))/0xa;if(_0x5da8c9===_0x36bb4c)break;else _0x1b05b5['push'](_0x1b05b5['shift']());}catch(_0x3eee91){_0x1b05b5['push'](_0x1b05b5['shift']());}}}(_0x3abd,0xa19c6),function(_0x44a210,_0x5205b3){const _0x18e2cd=_0x44a6;typeof exports=='object'&&typeof module<'u'?_0x5205b3(exports,require(_0x18e2cd(0x266)),require(_0x18e2cd(0x36e)),require('@univerjs/engine-render'),require(_0x18e2cd(0x17d)),require(_0x18e2cd(0x18b)),require(_0x18e2cd(0x2e4)),require(_0x18e2cd(0xef)),require(_0x18e2cd(0x315)),require(_0x18e2cd(0x2d0)),require(_0x18e2cd(0x1d9)),require('@univerjs/sheets'),require(_0x18e2cd(0x15a)),require(_0x18e2cd(0x385)),require('react/jsx-runtime'),require(_0x18e2cd(0x179)),require(_0x18e2cd(0x347)),require(_0x18e2cd(0x104)),require('@univerjs/rpc')):typeof define==_0x18e2cd(0x1f0)&&define[_0x18e2cd(0x1d2)]?define([_0x18e2cd(0x109),_0x18e2cd(0x266),'@univerjs/core',_0x18e2cd(0x302),_0x18e2cd(0x17d),_0x18e2cd(0x18b),'@univerjs/drawing',_0x18e2cd(0xef),_0x18e2cd(0x315),_0x18e2cd(0x2d0),_0x18e2cd(0x1d9),_0x18e2cd(0x1a1),_0x18e2cd(0x15a),'@univerjs/sheets-ui',_0x18e2cd(0x17c),'@univerjs/ui','@univerjs/design',_0x18e2cd(0x104),_0x18e2cd(0x365)],_0x5205b3):(_0x44a210=typeof globalThis<'u'?globalThis:_0x44a210||self,_0x5205b3(_0x44a210['UniverProCollaborationClientUi']={},_0x44a210[_0x18e2cd(0x22e)],_0x44a210[_0x18e2cd(0x1c5)],_0x44a210['UniverEngineRender'],_0x44a210[_0x18e2cd(0x135)],_0x44a210[_0x18e2cd(0x17e)],_0x44a210['UniverDrawing'],_0x44a210[_0x18e2cd(0xef)],_0x44a210[_0x18e2cd(0x13b)],_0x44a210['UniverProCollaboration'],_0x44a210[_0x18e2cd(0x24f)],_0x44a210['UniverSheets'],_0x44a210['rxjs'][_0x18e2cd(0x195)],_0x44a210[_0x18e2cd(0x309)],_0x44a210['React'],_0x44a210[_0x18e2cd(0x233)],_0x44a210[_0x18e2cd(0xf5)],_0x44a210[_0x18e2cd(0x1fc)],_0x44a210[_0x18e2cd(0x30e)]));}(this,function(_0x23fa2d,_0x423a8c,_0x435b21,_0x4af3d8,_0x4e6983,_0x4b4959,_0x3001d4,_0x2cd233,_0xf499cd,_0x1e007a,_0x54ae3a,_0x4e65b0,_0x4ce2ac,_0x487df1,_0x242235,_0x58ede6,_0x3971cd,_0x37c89d,_0x47f244){'use strict';const _0x2c927c=_0x44a6;var _0x77b400=Object[_0x2c927c(0x386)],_0x5ef43f=(_0x4e481e,_0x2478d8,_0x417c80)=>_0x2478d8 in _0x4e481e?_0x77b400(_0x4e481e,_0x2478d8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x417c80}):_0x4e481e[_0x2478d8]=_0x417c80,_0x38f83b=(_0x1f0ee0,_0x161b08,_0x399874)=>_0x5ef43f(_0x1f0ee0,typeof _0x161b08!=_0x2c927c(0x1ac)?_0x161b08+'':_0x161b08,_0x399874),_0x51e326=Object['getOwnPropertyDescriptor'],_0xa50cb6=(_0x29b947,_0x1ca5e6,_0x35dbce,_0xfa32a1)=>{const _0x3d4fa1=_0x2c927c;for(var _0x134a26=_0xfa32a1>0x1?void 0x0:_0xfa32a1?_0x51e326(_0x1ca5e6,_0x35dbce):_0x1ca5e6,_0x208b58=_0x29b947[_0x3d4fa1(0x1cb)]-0x1,_0x59fa0;_0x208b58>=0x0;_0x208b58--)(_0x59fa0=_0x29b947[_0x208b58])&&(_0x134a26=_0x59fa0(_0x134a26)||_0x134a26);return _0x134a26;},_0x2d972f=(_0x5e09cb,_0x38dc46)=>(_0x3072db,_0x4ebb6b)=>_0x38dc46(_0x3072db,_0x4ebb6b,_0x5e09cb);let _0x49f868=class extends _0x435b21[_0x2c927c(0x30a)]{constructor(_0x94d13c,_0x361929){const _0x515856=_0x2c927c;super(),this[_0x515856(0x364)]=_0x94d13c,this['_imageIoService']=_0x361929,this[_0x515856(0x170)]();}[_0x2c927c(0x170)](){const _0x33073a=_0x2c927c,_0x301856=this;this[_0x33073a(0x2db)](this[_0x33073a(0x364)][_0x33073a(0x2f2)]({'onBeforePasteImage':async _0x222af6=>{const _0x41e648=_0x33073a,_0x5e64d5=await _0x301856[_0x41e648(0x289)]['saveImage'](_0x222af6);return _0x5e64d5?{'source':_0x5e64d5[_0x41e648(0x226)],'imageSourceType':_0x5e64d5['imageSourceType']}:null;}}));}};_0x49f868=_0xa50cb6([_0x2d972f(0x0,_0x4b4959['IDocClipboardService']),_0x2d972f(0x1,_0x3001d4[_0x2c927c(0x366)])],_0x49f868);const _0x5b4aad=['purple300','jiqing500',_0x2c927c(0x1ae),_0x2c927c(0x21f),_0x2c927c(0x224),_0x2c927c(0x34d)];class _0x90e5a9 extends _0x435b21[_0x2c927c(0x241)]{constructor(){const _0x556c1a=_0x2c927c;super(...arguments),_0x38f83b(this,_0x556c1a(0x2ba),new Map()),_0x38f83b(this,_0x556c1a(0x36f),0x0);}[_0x2c927c(0x15e)](_0x23adca){const _0x36ca9c=_0x2c927c;if(this[_0x36ca9c(0x2ba)][_0x36ca9c(0x133)](_0x23adca))return this[_0x36ca9c(0x2ba)]['get'](_0x23adca);const _0x493d8e=_0x5b4aad[this['_colorIndex']];return this[_0x36ca9c(0x36f)]=(this[_0x36ca9c(0x36f)]+0x1)%_0x5b4aad[_0x36ca9c(0x1cb)],this[_0x36ca9c(0x2ba)][_0x36ca9c(0x1e0)](_0x23adca,_0x493d8e),_0x493d8e;}}function _0x7b06ce(_0x5cfd37){const _0x89278d=_0x2c927c;let _0x3ca989='';for(const _0x5e0ead of _0x5cfd37){const {startOffset:_0x5312d7,endOffset:_0x403b41,isActive:_0x5dfdd3,rangeType:_0x5f0c3b,segmentId:_0x1beed9,segmentPage:_0x50ccee}=_0x5e0ead;_0x3ca989[_0x89278d(0x1cb)]&&(_0x3ca989+=','),_0x3ca989+=_0x5312d7+':'+_0x403b41+':'+(_0x5dfdd3?'1':'0')+':'+_0x5f0c3b+':'+_0x1beed9+':'+_0x50ccee;}return _0x3ca989;}function _0x2d7ed1(_0x5a988a){const _0x5861a8=_0x2c927c,_0x2dcdb9=_0x5a988a[_0x5861a8(0x152)](','),_0xf96efa=[];for(const _0x30262c of _0x2dcdb9){const [_0x369be6,_0x4c9df3,_0x28449b,_0x2e5c4c,_0x2ff804,_0x353851]=_0x30262c['split'](':');_0xf96efa[_0x5861a8(0x2fb)]({'startOffset':Number(_0x369be6),'endOffset':Number(_0x4c9df3),'collapsed':_0x369be6===_0x4c9df3,'isActive':_0x28449b==='1','rangeType':_0x2e5c4c===_0x435b21[_0x5861a8(0x23d)][_0x5861a8(0x277)]?_0x435b21[_0x5861a8(0x23d)][_0x5861a8(0x277)]:_0x435b21[_0x5861a8(0x23d)][_0x5861a8(0x188)],'segmentId':typeof _0x2ff804==_0x5861a8(0x250)?String(_0x2ff804):'','segmentPage':Number(_0x353851!=null?_0x353851:-0x1)});}return _0xf96efa[_0x5861a8(0x2a7)](_0x70c67=>_0x70c67['isActive'])||(_0xf96efa[0x0][_0x5861a8(0x2d6)]=!0x0),_0xf96efa;}class _0x4a01ed extends _0x435b21['RxDisposable']{constructor(){const _0x1d1189=_0x2c927c;super(...arguments),_0x38f83b(this,'_collabCursorState$',new _0x2cd233[(_0x1d1189(0x11a))](null)),_0x38f83b(this,_0x1d1189(0x1f2),this[_0x1d1189(0x147)][_0x1d1189(0x27a)]());}[_0x2c927c(0x1fb)](_0x3f290a){const _0x126dd9=_0x2c927c,{unitID:_0x47fb24,memberID:_0x11f55f,textRanges:_0x5ca09b}=_0x3f290a,_0x3991a4=_0x7b06ce(_0x5ca09b);if(_0x3991a4==='')return;const _0x22068c={'unitID':_0x47fb24,'memberID':_0x11f55f,'selection':_0x3991a4};this['_collabCursorState$'][_0x126dd9(0x1ab)](_0x22068c);}}var _0x2c1eca=Object[_0x2c927c(0x23e)],_0x3cf3d6=(_0x5cd87a,_0x4944df,_0x8aa157,_0x13199e)=>{for(var _0x192f5c=_0x13199e>0x1?void 0x0:_0x13199e?_0x2c1eca(_0x4944df,_0x8aa157):_0x4944df,_0x1808c9=_0x5cd87a['length']-0x1,_0x1fa1bd;_0x1808c9>=0x0;_0x1808c9--)(_0x1fa1bd=_0x5cd87a[_0x1808c9])&&(_0x192f5c=_0x1fa1bd(_0x192f5c)||_0x192f5c);return _0x192f5c;},_0x4f9a15=(_0x22e071,_0x409b4f)=>(_0x28e803,_0x1e2d3a)=>_0x409b4f(_0x28e803,_0x1e2d3a,_0x22e071);const _0x575a13=0x12c,_0x3ba972=0x64;let _0x232c48=class extends _0x435b21['RxDisposable']{constructor(_0x405454,_0x2188a0,_0x5c8ac0,_0xcf80b3,_0x2aaf31,_0x2e8ad4,_0x53fb47,_0x2e9b68,_0x589ed2){const _0x150869=_0x2c927c;super(),_0x38f83b(this,_0x150869(0x258),!0x1),_0x38f83b(this,_0x150869(0x170),!0x1),_0x38f83b(this,_0x150869(0x12f),new _0x2cd233[(_0x150869(0x11a))](new Map())),_0x38f83b(this,_0x150869(0x16a),this[_0x150869(0x12f)]['asObservable']()),_0x38f83b(this,_0x150869(0x149),new _0x2cd233['BehaviorSubject']([])),_0x38f83b(this,_0x150869(0x2bf),this[_0x150869(0x149)]['pipe'](_0x2cd233[_0x150869(0x32d)](_0x575a13))),_0x38f83b(this,_0x150869(0x20d),_0x435b21[_0x150869(0x156)](_0x4f5434=>{const _0xa6b291=_0x150869,_0x253bd9={'eventID':_0x1e007a[_0xa6b291(0x337)][_0xa6b291(0x1f9)],'data':{'unitID':this['unitID'],'memberID':this['_session']['getMemberID'](),'selection':_0x7b06ce(_0x4f5434)}};this[_0xa6b291(0x138)][_0xa6b291(0x150)](_0x253bd9,this[_0xa6b291(0x24c)]);},_0x3ba972)),(this['unitID']=_0x405454,this['_session']=_0x2188a0,this[_0x150869(0x234)]=_0x5c8ac0,this['_colorAssignService']=_0xcf80b3,this[_0x150869(0x31a)]=_0x2aaf31,this[_0x150869(0x2ab)]=_0x2e8ad4,this[_0x150869(0x185)]=_0x53fb47,this[_0x150869(0x2cc)]=_0x2e9b68,this[_0x150869(0x36c)]=_0x589ed2);}get[_0x2c927c(0x22b)](){const _0x566f7b=_0x2c927c;return this[_0x566f7b(0x12f)][_0x566f7b(0x2c8)]();}get['roomMembers'](){const _0x4a56d4=_0x2c927c;return this['_roomMembers$'][_0x4a56d4(0x2c8)]();}[_0x2c927c(0x355)](){const _0x53e859=_0x2c927c;super[_0x53e859(0x355)](),this[_0x53e859(0x12f)][_0x53e859(0x1ab)](new Map()),this[_0x53e859(0x12f)]['complete'](),this['_roomMembers$'][_0x53e859(0x1ab)]([]),this[_0x53e859(0x149)][_0x53e859(0x24e)]();}['init'](){const _0xee1457=_0x2c927c;this[_0xee1457(0x170)]||(this['_init']=!0x0,this[_0xee1457(0x138)]['sessionStatus$'][_0xee1457(0x27e)](_0x2cd233[_0xee1457(0x308)](this[_0xee1457(0x1db)]))[_0xee1457(0x33d)](_0x29c1ce=>{const _0x3c8684=_0xee1457;_0x29c1ce===_0x423a8c[_0x3c8684(0x1b9)][_0x3c8684(0x120)]?this['_toggleOnline']():this['_toggleOffline']();}),this['_session'][_0xee1457(0x303)][_0xee1457(0x27e)](_0x2cd233['takeUntil'](this[_0xee1457(0x1db)]))[_0xee1457(0x33d)](_0x34fcfa=>{const _0x48fb7e=_0xee1457,_0x17fe4d=_0x34fcfa[_0x48fb7e(0x2ca)];_0x17fe4d===_0x1e007a[_0x48fb7e(0x337)][_0x48fb7e(0x1f9)]&&this['_onCursorUpdate'](_0x34fcfa),_0x17fe4d===_0x1e007a[_0x48fb7e(0x337)][_0x48fb7e(0x332)]&&this[_0x48fb7e(0x352)](_0x34fcfa);}),this[_0xee1457(0x2db)](this[_0xee1457(0x36c)][_0xee1457(0x37f)](_0x39597f=>{const _0x17aa91=_0xee1457,_0x3592df=_0x39597f[_0x17aa91(0x318)];_0x3592df!=null&&this['_online']&&_0x39597f['id']===_0xf499cd[_0x17aa91(0x183)]['id']&&_0x3592df[_0x17aa91(0x31c)]===this['unitID']&&_0x3592df['isEditing']===!0x1&&_0x3592df[_0x17aa91(0x2c4)]['length']>0x0&&this[_0x17aa91(0x20d)](_0x3592df[_0x17aa91(0x2c4)]);})),this[_0xee1457(0x2ab)][_0xee1457(0x1f2)][_0xee1457(0x27e)](_0x2cd233[_0xee1457(0x308)](this['dispose$']))[_0xee1457(0x33d)](_0x1ce77e=>{const _0x3acec5=_0xee1457;if((_0x1ce77e==null?void 0x0:_0x1ce77e[_0x3acec5(0x24c)])!==this[_0x3acec5(0x24c)])return;const _0x4a52bd={'eventID':_0x1e007a[_0x3acec5(0x337)][_0x3acec5(0x1f9)],'data':_0x1ce77e};this[_0x3acec5(0x320)](_0x4a52bd);}),this['disposeWithMe'](this[_0xee1457(0x36c)][_0xee1457(0x37f)](_0x2b63fc=>{const _0x5b152a=_0xee1457;if(_0x2b63fc[_0x5b152a(0x318)]==null)return;const _0x50ab5b=_0x2b63fc[_0x5b152a(0x318)];if(_0x2b63fc['id']!==_0xf499cd['RichTextEditingMutation']['id']||_0x50ab5b[_0x5b152a(0x31c)]!==this[_0x5b152a(0x24c)])return;const _0x1cd0c2={'id':_0x5b152a(0x142),'params':_0x50ab5b},_0x5cff2a=this['cursorInfo'];for(const [_0x235c6b,_0x5984a1]of _0x5cff2a){const _0x2458bc={'id':_0x5b152a(0x142),'params':{'unitId':this[_0x5b152a(0x24c)],'actions':null,'textRanges':_0x5984a1[_0x5b152a(0x2c4)]}},_0x24434d=this[_0x5b152a(0x185)]['transformMutation'](_0x1cd0c2,_0x2458bc,!0x1);if(_0x1e007a[_0x5b152a(0x160)](_0x24434d))throw _0x24434d[_0x5b152a(0x12d)];_0x5cff2a[_0x5b152a(0x1e0)](_0x235c6b,{..._0x5984a1,'ranges':_0x24434d[_0x5b152a(0x1d7)][_0x5b152a(0x318)][_0x5b152a(0xf2)]});}queueMicrotask(()=>{const _0x3c0198=_0x5b152a;this[_0x3c0198(0x12f)][_0x3c0198(0x1ab)](_0x5cff2a);});})));}[_0x2c927c(0x320)](_0x585457){const _0x29df22=_0x2c927c;var _0x3837a2,_0x363054;const {memberID:_0x4c7304,selection:_0x254f28}=_0x585457[_0x29df22(0x1dc)],_0x251e46=_0x2d7ed1(_0x254f28),_0x2959ec=(_0x363054=(_0x3837a2=this[_0x29df22(0x31a)][_0x29df22(0x264)](this['unitID'],_0x4c7304))==null?void 0x0:_0x3837a2['name'])!=null?_0x363054:_0x29df22(0x300),_0x11b527={'color':this[_0x29df22(0x2a2)][_0x29df22(0x15e)](_0x4c7304),'name':_0x2959ec,'ranges':_0x251e46},_0x12f581=this[_0x29df22(0x22b)];_0x12f581[_0x29df22(0x1e0)](_0x4c7304,_0x11b527),this[_0x29df22(0x12f)][_0x29df22(0x1ab)](_0x12f581);}[_0x2c927c(0x352)](_0x599ea4){const _0x194e46=_0x2c927c,{memberID:_0xe88a2}=_0x599ea4[_0x194e46(0x1dc)],_0x392498=this[_0x194e46(0x22b)];_0x392498[_0x194e46(0x191)](_0xe88a2),this[_0x194e46(0x12f)]['next'](_0x392498);}[_0x2c927c(0x232)](){const _0x587631=_0x2c927c;var _0x151122;if(this[_0x587631(0x258)]=!0x0,((_0x151122=this[_0x587631(0x2cc)]['getFocusedUnit']())==null?void 0x0:_0x151122[_0x587631(0x349)]())!==this[_0x587631(0x24c)])return;const _0x5d112a=this['_injector'][_0x587631(0x373)](_0xf499cd[_0x587631(0x143)])['getDocRanges']();Array[_0x587631(0x2b2)](_0x5d112a)&&_0x5d112a[_0x587631(0x1cb)]>0x0&&this['_updateLocalCursor'](_0x5d112a);}[_0x2c927c(0x1d1)](){const _0xcd32b9=_0x2c927c;this[_0xcd32b9(0x258)]=!0x1;}};_0x232c48=_0x3cf3d6([_0x4f9a15(0x2,_0x435b21['Inject'](_0x435b21[_0x2c927c(0x11c)])),_0x4f9a15(0x3,_0x435b21['Inject'](_0x90e5a9)),_0x4f9a15(0x4,_0x435b21[_0x2c927c(0x10f)](_0x423a8c['MemberService'])),_0x4f9a15(0x5,_0x435b21[_0x2c927c(0x10f)](_0x4a01ed)),_0x4f9a15(0x6,_0x1e007a[_0x2c927c(0x1be)]),_0x4f9a15(0x7,_0x435b21['IUniverInstanceService']),_0x4f9a15(0x8,_0x435b21[_0x2c927c(0x310)])],_0x232c48);var _0x1eb027=Object['getOwnPropertyDescriptor'],_0x478352=(_0x1d0f0b,_0xda490c,_0x2a1979,_0x4a7d43)=>{const _0x20a0c6=_0x2c927c;for(var _0x48e3ba=_0x4a7d43>0x1?void 0x0:_0x4a7d43?_0x1eb027(_0xda490c,_0x2a1979):_0xda490c,_0x2b42ab=_0x1d0f0b[_0x20a0c6(0x1cb)]-0x1,_0x3b948e;_0x2b42ab>=0x0;_0x2b42ab--)(_0x3b948e=_0x1d0f0b[_0x2b42ab])&&(_0x48e3ba=_0x3b948e(_0x48e3ba)||_0x48e3ba);return _0x48e3ba;},_0x4bfaeb=(_0x521cab,_0x5bee56)=>(_0x4ab914,_0x4f6b77)=>_0x5bee56(_0x4ab914,_0x4f6b77,_0x521cab);const _0x58dd89=0x12c,_0x463f57=0x64,_0x13680a=()=>{let _0x1f47a3=[],_0x4469e3=!0x1;return _0x2769f2=>{const _0x54c323=_0x44a6;_0x1f47a3[_0x54c323(0x2fb)](_0x2769f2),_0x4469e3||(_0x4469e3=!0x0,setTimeout(()=>{_0x1f47a3['forEach'](_0x1e9d7d=>_0x1e9d7d()),_0x1f47a3=[],_0x4469e3=!0x1;}));};};let _0x30ea1a=class extends _0x435b21['RxDisposable']{constructor(_0x4fe11f,_0x48d262,_0x598364,_0x365ff6,_0x16bc64,_0x27b903,_0x32c100,_0x37c634){const _0x5a5d64=_0x2c927c;super(),_0x38f83b(this,_0x5a5d64(0x258),!0x1),_0x38f83b(this,_0x5a5d64(0x170),!0x1),_0x38f83b(this,_0x5a5d64(0x12f),new _0x2cd233['BehaviorSubject'](new Map())),_0x38f83b(this,_0x5a5d64(0x16a),this['_cursorInfo$'][_0x5a5d64(0x27a)]()),_0x38f83b(this,_0x5a5d64(0x149),new _0x2cd233[(_0x5a5d64(0x11a))]([])),_0x38f83b(this,_0x5a5d64(0x2bf),this[_0x5a5d64(0x149)][_0x5a5d64(0x27e)](_0x2cd233[_0x5a5d64(0x32d)](_0x58dd89))),_0x38f83b(this,_0x5a5d64(0x20d),_0x435b21[_0x5a5d64(0x156)]((_0x96d3f2,_0xa9d505)=>{const _0xb9ba14=_0x5a5d64,_0x368d8d={'eventID':_0x1e007a[_0xb9ba14(0x337)][_0xb9ba14(0x1f9)],'data':{'unitID':this['unitID'],'memberID':this[_0xb9ba14(0x138)]['getMemberID'](),'selection':_0x54ae3a[_0xb9ba14(0x360)](_0x96d3f2,_0xa9d505[_0xb9ba14(0x1af)])}};this['_session'][_0xb9ba14(0x150)](_0x368d8d,this[_0xb9ba14(0x24c)]);},_0x463f57)),(this[_0x5a5d64(0x24c)]=_0x4fe11f,this[_0x5a5d64(0x138)]=_0x48d262,this['_injector']=_0x598364,this[_0x5a5d64(0x2a2)]=_0x365ff6,this[_0x5a5d64(0x31a)]=_0x16bc64,this[_0x5a5d64(0x2cc)]=_0x27b903,this[_0x5a5d64(0x36c)]=_0x32c100,this[_0x5a5d64(0x33b)]=_0x37c634);}get['cursorInfo'](){const _0x28d895=_0x2c927c;return this[_0x28d895(0x12f)][_0x28d895(0x2c8)]();}get[_0x2c927c(0x25f)](){const _0x3a748d=_0x2c927c;return this[_0x3a748d(0x149)][_0x3a748d(0x2c8)]();}[_0x2c927c(0x355)](){const _0x2b85e5=_0x2c927c;super['dispose'](),this['_cursorInfo$'][_0x2b85e5(0x1ab)](new Map()),this[_0x2b85e5(0x12f)][_0x2b85e5(0x24e)](),this[_0x2b85e5(0x149)][_0x2b85e5(0x1ab)]([]),this[_0x2b85e5(0x149)][_0x2b85e5(0x24e)]();}[_0x2c927c(0x124)](){const _0x454403=_0x2c927c;this[_0x454403(0x170)]||(this[_0x454403(0x170)]=!0x0,this[_0x454403(0x138)][_0x454403(0x2c2)][_0x454403(0x27e)](_0x2cd233[_0x454403(0x308)](this['dispose$']))[_0x454403(0x33d)](_0x37cec1=>{const _0x309c62=_0x454403;_0x37cec1===_0x423a8c[_0x309c62(0x1b9)][_0x309c62(0x120)]?this[_0x309c62(0x232)]():this[_0x309c62(0x1d1)]();}),this[_0x454403(0x138)]['event$']['pipe'](_0x2cd233[_0x454403(0x308)](this[_0x454403(0x1db)]))[_0x454403(0x33d)](_0xa54e38=>{const _0x39e27e=_0x454403,_0x1944d0=_0xa54e38[_0x39e27e(0x2ca)];_0x1944d0===_0x1e007a[_0x39e27e(0x337)]['UPDATE_CURSOR']&&this[_0x39e27e(0x320)](_0xa54e38),_0x1944d0===_0x1e007a[_0x39e27e(0x337)][_0x39e27e(0x332)]&&this[_0x39e27e(0x352)](_0xa54e38);}),this[_0x454403(0x328)](),this[_0x454403(0x2db)](this[_0x454403(0x36c)][_0x454403(0x37f)](_0x1dccbb=>{const _0x2a8aef=_0x454403;if(this['_online']&&_0x1dccbb['id']===_0x4e65b0['SetSelectionsOperation']['id']&&_0x1dccbb['params']['unitId']===this['unitID']){const _0x3a9cec=_0x1dccbb[_0x2a8aef(0x318)];this[_0x2a8aef(0x20d)](_0x3a9cec[_0x2a8aef(0x21e)],_0x3a9cec['selections'][0x0]);}})));}[_0x2c927c(0x320)](_0x566d5a){const _0x5eb266=_0x2c927c;var _0x4e8797,_0x4b0c8a;const {memberID:_0x1949da,selection:_0x1e1d81}=_0x566d5a[_0x5eb266(0x1dc)],{sheetName:_0x4c068f,range:_0x1d5de1}=_0x54ae3a[_0x5eb266(0x123)](_0x1e1d81),_0x3a53a8={'name':(_0x4b0c8a=(_0x4e8797=this['_memberService'][_0x5eb266(0x264)](this['unitID'],_0x1949da))==null?void 0x0:_0x4e8797[_0x5eb266(0x2f0)])!=null?_0x4b0c8a:_0x5eb266(0x300),'range':this[_0x5eb266(0x274)](_0x4c068f,_0x1d5de1),'sheetID':_0x4c068f,'color':this[_0x5eb266(0x2a2)][_0x5eb266(0x15e)](_0x1949da),'selection':_0x1e1d81},_0x284ab4=this[_0x5eb266(0x22b)];_0x284ab4[_0x5eb266(0x1e0)](_0x1949da,_0x3a53a8),this[_0x5eb266(0x12f)][_0x5eb266(0x1ab)](_0x284ab4);}[_0x2c927c(0x352)](_0x257578){const _0x149035=_0x2c927c,{memberID:_0x526d2c}=_0x257578[_0x149035(0x1dc)],_0x507b5a=this[_0x149035(0x22b)];_0x507b5a[_0x149035(0x191)](_0x526d2c),this[_0x149035(0x12f)]['next'](_0x507b5a);}['_getMergeRange'](_0x25b31c,_0x5511ba){const _0x3a8e0a=_0x2c927c;var _0x1a77d6,_0x1a5a8a;const _0x2ba1cb=(_0x1a5a8a=(_0x1a77d6=this[_0x3a8e0a(0x2cc)][_0x3a8e0a(0x27b)](this[_0x3a8e0a(0x24c)]))==null?void 0x0:_0x1a77d6['getSheetBySheetId'](_0x25b31c))==null?void 0x0:_0x1a5a8a['getMergeData']();return(_0x2ba1cb==null?void 0x0:_0x2ba1cb[_0x3a8e0a(0x19d)](_0x5a6bb1=>_0x435b21[_0x3a8e0a(0x242)][_0x3a8e0a(0x2f1)](_0x5a6bb1,_0x5511ba)))||_0x5511ba;}[_0x2c927c(0x328)](){const _0x3986fc=_0x2c927c,_0x19d525=new _0x435b21[(_0x3986fc(0x240))](),_0x2733c0=_0x13680a(),_0x4e5c77=()=>{const _0x328a60=_0x3986fc;_0x19d525[_0x328a60(0x355)]();const _0xbd0f9d=(_0x55b7e5,_0x3453e2,_0x496121,_0x10e5e3)=>{const _0x495e6b=_0x328a60;let _0x2243d1=[];switch(_0x55b7e5['id']){case _0x4e65b0[_0x495e6b(0x2ff)]['DeleteRangeMoveLeftCommandId']:{_0x2243d1=_0x4e65b0[_0x495e6b(0x110)](_0x55b7e5,_0x10e5e3);break;}case _0x4e65b0[_0x495e6b(0x2ff)][_0x495e6b(0x144)]:{_0x2243d1=_0x4e65b0[_0x495e6b(0x227)](_0x55b7e5,_0x10e5e3);break;}case _0x4e65b0[_0x495e6b(0x2ff)]['InsertColCommandId']:{_0x2243d1=_0x4e65b0['handleInsertCol'](_0x55b7e5,_0x10e5e3);break;}case _0x4e65b0[_0x495e6b(0x2ff)][_0x495e6b(0x361)]:{_0x2243d1=_0x4e65b0[_0x495e6b(0x1fd)](_0x55b7e5,_0x10e5e3);break;}case _0x4e65b0['EffectRefRangId'][_0x495e6b(0x2a6)]:{_0x2243d1=_0x4e65b0[_0x495e6b(0x321)](_0x55b7e5,_0x10e5e3);break;}case _0x4e65b0['EffectRefRangId'][_0x495e6b(0x141)]:{_0x2243d1=_0x4e65b0[_0x495e6b(0x37c)](_0x55b7e5,_0x10e5e3);break;}case _0x4e65b0[_0x495e6b(0x2ff)][_0x495e6b(0x10e)]:{_0x2243d1=_0x4e65b0[_0x495e6b(0x346)](_0x55b7e5,_0x10e5e3);break;}case _0x4e65b0[_0x495e6b(0x2ff)][_0x495e6b(0x368)]:{_0x2243d1=_0x4e65b0[_0x495e6b(0x119)](_0x55b7e5,_0x10e5e3);break;}case _0x4e65b0['EffectRefRangId'][_0x495e6b(0x363)]:{_0x2243d1=_0x4e65b0[_0x495e6b(0xf9)](_0x55b7e5,_0x10e5e3);break;}}const _0x550bfd=_0x4e65b0['runRefRangeMutations'](_0x2243d1,_0x10e5e3),_0x3a6e32=this[_0x495e6b(0x22b)][_0x495e6b(0x373)](_0x3453e2);if(_0x3a6e32&&_0x550bfd){const _0x3867be={..._0x3a6e32,'range':_0x550bfd};this[_0x495e6b(0x22b)]['set'](_0x3453e2,_0x3867be),_0x2733c0(()=>{const _0x275c83=_0x495e6b,_0x36b301=this[_0x275c83(0x33b)]['registerRefRange'](_0x550bfd,_0x11d690=>(_0x36b301[_0x275c83(0x355)](),_0xbd0f9d(_0x11d690,_0x3453e2,_0x496121,_0x550bfd)));_0x19d525[_0x275c83(0x35f)](_0x36b301);});}return{'redos':[],'undos':[]};};this[_0x328a60(0x22b)][_0x328a60(0x186)]((_0x8e3984,_0x34969c)=>{const _0x4a9163=_0x328a60,{range:_0x252826,sheetID:_0x362150}=_0x8e3984,_0x2c4cab=this[_0x4a9163(0x33b)][_0x4a9163(0x176)](_0x252826,_0x1ab2b9=>(_0x2c4cab[_0x4a9163(0x355)](),_0xbd0f9d(_0x1ab2b9,_0x34969c,_0x362150,_0x252826)));_0x19d525[_0x4a9163(0x35f)](_0x2c4cab);});};this[_0x3986fc(0x2db)](_0x435b21['toDisposable'](this['_cursorInfo$']['subscribe'](()=>{_0x4e5c77();})));}[_0x2c927c(0x232)](){const _0x10c9ca=_0x2c927c;var _0xf8de89,_0x54781d;if(this[_0x10c9ca(0x258)]=!0x0,((_0xf8de89=this[_0x10c9ca(0x2cc)]['getFocusedUnit']())==null?void 0x0:_0xf8de89[_0x10c9ca(0x349)]())!==this[_0x10c9ca(0x24c)])return;const _0x4a4319=(_0x54781d=this[_0x10c9ca(0x234)]['get'](_0x4e65b0[_0x10c9ca(0x27f)])[_0x10c9ca(0x137)]())==null?void 0x0:_0x54781d[0x0],_0x1f6808=this['_univerInstanceService'][_0x10c9ca(0x154)](_0x435b21[_0x10c9ca(0x2c3)]['UNIVER_SHEET'])[_0x10c9ca(0x248)]();_0x4a4319&&_0x1f6808&&this['_updateLocalCursor'](_0x1f6808['getSheetId'](),_0x4a4319);}[_0x2c927c(0x1d1)](){this['_online']=!0x1;}};_0x30ea1a=_0x478352([_0x4bfaeb(0x2,_0x435b21[_0x2c927c(0x10f)](_0x435b21[_0x2c927c(0x11c)])),_0x4bfaeb(0x3,_0x435b21['Inject'](_0x90e5a9)),_0x4bfaeb(0x4,_0x435b21['Inject'](_0x423a8c[_0x2c927c(0x2b4)])),_0x4bfaeb(0x5,_0x435b21[_0x2c927c(0x374)]),_0x4bfaeb(0x6,_0x435b21['ICommandService']),_0x4bfaeb(0x7,_0x435b21[_0x2c927c(0x10f)](_0x4e65b0[_0x2c927c(0x281)]))],_0x30ea1a);var _0x1ce026=Object[_0x2c927c(0x23e)],_0x2e20e6=(_0x466d90,_0x265f00,_0x1c6f9a,_0x453b28)=>{const _0x2ef351=_0x2c927c;for(var _0x27e7e0=_0x453b28>0x1?void 0x0:_0x453b28?_0x1ce026(_0x265f00,_0x1c6f9a):_0x265f00,_0x1f97ec=_0x466d90[_0x2ef351(0x1cb)]-0x1,_0x164248;_0x1f97ec>=0x0;_0x1f97ec--)(_0x164248=_0x466d90[_0x1f97ec])&&(_0x27e7e0=_0x164248(_0x27e7e0)||_0x27e7e0);return _0x27e7e0;},_0x54b4bc=(_0x446774,_0x49dff5)=>(_0x5ed49d,_0x247292)=>_0x49dff5(_0x5ed49d,_0x247292,_0x446774);let _0x5433ad=class extends _0x435b21[_0x2c927c(0x30a)]{constructor(_0x409977,_0x361cdc,_0x33e785){const _0xe4a47a=_0x2c927c;super(),_0x38f83b(this,'_entities',new Map()),_0x38f83b(this,_0xe4a47a(0x383),new _0x2cd233[(_0xe4a47a(0x112))]()),(this[_0xe4a47a(0x2cc)]=_0x409977,this['_injector']=_0x361cdc,this[_0xe4a47a(0x210)]=_0x33e785,this[_0xe4a47a(0x170)]());}[_0x2c927c(0x355)](){const _0xe4fd24=_0x2c927c;super[_0xe4fd24(0x355)](),this['_entityInit$']['complete'](),this[_0xe4fd24(0x172)][_0xe4fd24(0x186)](_0x59eaea=>_0x59eaea['dispose']());}[_0x2c927c(0x26e)](_0x43ce8b){const _0x45f3c2=_0x2c927c;return this[_0x45f3c2(0x172)][_0x45f3c2(0x133)](_0x43ce8b)?this[_0x45f3c2(0x172)][_0x45f3c2(0x373)](_0x43ce8b)[_0x45f3c2(0x16a)]:this[_0x45f3c2(0x383)]['pipe'](_0x2cd233[_0x45f3c2(0x25b)](_0x1da02a=>_0x1da02a['unitID']===_0x43ce8b),_0x2cd233['switchMap'](_0x3dd833=>_0x3dd833[_0x45f3c2(0x16a)]));}['_init'](){const _0x4fb043=_0x2c927c;this['_univerInstanceService'][_0x4fb043(0x2e5)](_0x435b21[_0x4fb043(0x2c3)][_0x4fb043(0x29d)])['pipe'](_0x2cd233[_0x4fb043(0x308)](this['dispose$']))[_0x4fb043(0x33d)](async _0x2341a6=>{const _0x4ac36e=_0x4fb043,_0x43e0bf=_0x2341a6['getUnitId'](),_0x3ae7fd=await this[_0x4ac36e(0x153)](_0x43e0bf);this[_0x4ac36e(0x383)][_0x4ac36e(0x1ab)](_0x3ae7fd),this['_entities'][_0x4ac36e(0x1e0)](_0x43e0bf,_0x3ae7fd);}),this[_0x4fb043(0x2cc)]['getTypeOfUnitAdded$'](_0x435b21['UniverInstanceType'][_0x4fb043(0x1c6)])[_0x4fb043(0x27e)](_0x2cd233[_0x4fb043(0x308)](this[_0x4fb043(0x1db)]))[_0x4fb043(0x27e)](_0x2cd233['filter'](_0x51d13c=>!_0x51d13c[_0x4fb043(0x349)]()[_0x4fb043(0x21a)]('__')))[_0x4fb043(0x33d)](async _0x177719=>{const _0x1c539d=_0x4fb043,_0x1f14bc=_0x177719['getUnitId'](),_0x5056a9=await this[_0x1c539d(0x335)](_0x1f14bc);this[_0x1c539d(0x383)][_0x1c539d(0x1ab)](_0x5056a9),this[_0x1c539d(0x172)][_0x1c539d(0x1e0)](_0x1f14bc,_0x5056a9);}),_0x2cd233[_0x4fb043(0x16c)](this[_0x4fb043(0x2cc)][_0x4fb043(0x202)](_0x435b21[_0x4fb043(0x2c3)][_0x4fb043(0x1c6)]),this[_0x4fb043(0x2cc)]['getTypeOfUnitDisposed$'](_0x435b21[_0x4fb043(0x2c3)][_0x4fb043(0x29d)]))[_0x4fb043(0x27e)](_0x2cd233['takeUntil'](this[_0x4fb043(0x1db)]))[_0x4fb043(0x33d)](_0x5e7655=>{const _0x260eeb=_0x4fb043,_0x478868=_0x5e7655[_0x260eeb(0x349)](),_0x218312=this[_0x260eeb(0x172)][_0x260eeb(0x373)](_0x478868);_0x218312&&(_0x218312[_0x260eeb(0x355)](),this[_0x260eeb(0x172)][_0x260eeb(0x191)](_0x478868));});}async[_0x2c927c(0x153)](_0x552877){const _0x131e87=_0x2c927c,_0x4bdcdc=await this['_collabSessionService']['requireSession'](_0x552877),_0xe712d9=this[_0x131e87(0x234)]['createInstance'](_0x30ea1a,_0x552877,_0x4bdcdc);return _0xe712d9[_0x131e87(0x124)](),_0xe712d9;}async['_startDocCollabCursor'](_0x541156){const _0x327d96=_0x2c927c,_0x4a00b7=await this[_0x327d96(0x210)][_0x327d96(0x1c8)](_0x541156),_0x149414=this[_0x327d96(0x234)][_0x327d96(0x2d8)](_0x232c48,_0x541156,_0x4a00b7);return _0x149414[_0x327d96(0x124)](),_0x149414;}};_0x5433ad=_0x2e20e6([_0x54b4bc(0x0,_0x435b21[_0x2c927c(0x374)]),_0x54b4bc(0x1,_0x435b21[_0x2c927c(0x10f)](_0x435b21[_0x2c927c(0x11c)])),_0x54b4bc(0x2,_0x435b21[_0x2c927c(0x10f)](_0x423a8c[_0x2c927c(0x2b9)]))],_0x5433ad);const _0x3d1e90=0x14,_0x3047c1=0xc8,_0x4680e7=0x4,_0x1c95f2=0x5;function _0x379399(_0x259a2d,_0x5512e8){const _0x57bcc5=_0x2c927c;let {radius:_0x55954a,width:_0x3da89a,height:_0x54c38f}=_0x5512e8;_0x55954a=_0x55954a!=null?_0x55954a:0x0,_0x3da89a=_0x3da89a!=null?_0x3da89a:0x1e,_0x54c38f=_0x54c38f!=null?_0x54c38f:0x1e;let _0x5835f4=0x0,_0x5873bc=0x0,_0x4a46d6=0x0;_0x5835f4=_0x5873bc=_0x4a46d6=Math[_0x57bcc5(0x253)](_0x55954a,_0x3da89a/0x2,_0x54c38f/0x2),_0x259a2d[_0x57bcc5(0x34c)](),_0x259a2d[_0x57bcc5(0x2a9)](_0x5835f4,0x0),_0x259a2d[_0x57bcc5(0x168)](_0x3da89a-_0x5873bc,0x0),_0x259a2d[_0x57bcc5(0x194)](_0x3da89a-_0x5873bc,_0x5873bc,_0x5873bc,Math['PI']*0x3/0x2,0x0,!0x1),_0x259a2d['lineTo'](_0x3da89a,_0x54c38f-_0x4a46d6),_0x259a2d[_0x57bcc5(0x194)](_0x3da89a-_0x4a46d6,_0x54c38f-_0x4a46d6,_0x4a46d6,0x0,Math['PI']/0x2,!0x1),_0x259a2d[_0x57bcc5(0x168)](0x0,_0x54c38f),_0x259a2d[_0x57bcc5(0x168)](0x0,_0x5835f4),_0x259a2d[_0x57bcc5(0x194)](_0x5835f4,_0x5835f4,_0x5835f4,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x259a2d[_0x57bcc5(0x262)](),_0x5512e8['fill']&&(_0x259a2d[_0x57bcc5(0x31f)](),_0x259a2d[_0x57bcc5(0x146)]=_0x5512e8[_0x57bcc5(0x2e9)],_0x5512e8[_0x57bcc5(0x370)]==='evenodd'?_0x259a2d[_0x57bcc5(0x2e9)](_0x57bcc5(0x252)):_0x259a2d[_0x57bcc5(0x2e9)](),_0x259a2d['restore']());}class _0x11a841 extends _0x4af3d8[_0x2c927c(0x348)]{constructor(_0x40ca8b,_0x1f2359){const _0x551174=_0x2c927c;super(_0x40ca8b,_0x1f2359),_0x38f83b(this,_0x551174(0x18a)),_0x38f83b(this,'text'),(this[_0x551174(0x18a)]=_0x1f2359==null?void 0x0:_0x1f2359[_0x551174(0x18a)],this[_0x551174(0x1f8)]=_0x1f2359==null?void 0x0:_0x1f2359['text']);}static[_0x2c927c(0x1a8)](_0xda381,_0x25459b){const _0x13c076=_0x2c927c,{text:_0x93e585,color:_0x42bd11}=_0x25459b;_0xda381[_0x13c076(0x31f)](),_0xda381[_0x13c076(0x36a)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x1bdced=_0xda381[_0x13c076(0x249)](_0x93e585)[_0x13c076(0x2e3)],_0x125946=Math['min'](_0x1bdced+0x2*_0x4680e7,_0x3047c1);_0x379399(_0xda381,{'height':_0x3d1e90,'radius':0x4,'width':_0x125946,'fill':_0x42bd11}),_0xda381[_0x13c076(0x146)]=_0x13c076(0x275);const _0x253fdf=_0x4680e7,_0x43f492=_0x3d1e90-_0x1c95f2,_0x1cfdde=_0x3047c1-0x2*_0x4680e7;if(_0x1bdced>_0x1cfdde){let _0xc0975='',_0x3f7008=0x0;for(const _0x233d07 of _0x93e585){const _0x3b3652=_0xda381['measureText'](_0x233d07)[_0x13c076(0x2e3)];if(_0x3f7008+_0x3b3652<=_0x1cfdde-_0xda381[_0x13c076(0x249)](_0x13c076(0x334))['width'])_0xc0975+=_0x233d07,_0x3f7008+=_0x3b3652;else{_0xc0975+=_0x13c076(0x334);break;}}_0xda381[_0x13c076(0x345)](_0xc0975,_0x253fdf,_0x43f492);}else _0xda381[_0x13c076(0x345)](_0x93e585,_0x253fdf,_0x43f492);_0xda381[_0x13c076(0x272)]();}[_0x2c927c(0x344)](_0x1ae0d9){_0x11a841['drawWith'](_0x1ae0d9,this);}}const _0x31ccb0=_0x2c927c(0x29c),_0x22232e='collab-text-range-',_0x4ca4d9=_0x2c927c(0x2c0),_0x1d44a7=0x6,_0x17bd38=1.5,_0x151bf3=0x4,_0x3bf253=1.5,_0x42b86b='rgba(255,\x20255,\x20255,\x200.01)';class _0x1f1040{constructor(_0x541729,_0x3a3d6,_0x4d9d77,_0x3f065e){const _0x354f7d=_0x2c927c;_0x38f83b(this,'_shapes',[]),_0x38f83b(this,_0x354f7d(0x235),null),_0x38f83b(this,_0x354f7d(0x2fa),null),_0x38f83b(this,'_anchorDot',null),_0x38f83b(this,_0x354f7d(0x294),null),_0x38f83b(this,'_eventUnsubscribe',null),(this[_0x354f7d(0x12c)]=_0x541729,this[_0x354f7d(0x157)]=_0x3a3d6,this['_docSkeleton']=_0x4d9d77,this['_document']=_0x3f065e,this[_0x354f7d(0x239)]());}set[_0x2c927c(0x1cc)](_0x2eaa25){const _0x477c1e=_0x2c927c;_0x2eaa25?(this['_anchorDot']&&this[_0x477c1e(0x11b)][_0x477c1e(0x2dc)](),this['_textBubble']&&this[_0x477c1e(0x2fa)][_0x477c1e(0x1a7)]()):(this['_anchorDot']&&this[_0x477c1e(0x11b)]['show'](),this[_0x477c1e(0x2fa)]&&this[_0x477c1e(0x2fa)]['hide']());}['dispose'](){const _0x21ea04=_0x2c927c;for(const _0xea0f35 of this[_0x21ea04(0x1cd)])_0xea0f35[_0x21ea04(0x355)]();this['_textBubble']&&this[_0x21ea04(0x2fa)]['dispose'](),this[_0x21ea04(0x11b)]&&this[_0x21ea04(0x11b)][_0x21ea04(0x355)](),this['_anchor']&&this[_0x21ea04(0x235)][_0x21ea04(0x355)](),this[_0x21ea04(0x380)]&&this[_0x21ea04(0x380)]();}[_0x2c927c(0x239)](){const _0x18e503=_0x2c927c;var _0x2be97f;const {_docSkeleton:_0x3dbc57,_document:_0x2ef2a3}=this,{color:_0x35a38d,name:_0x239dc5,ranges:_0x25d72d}=this[_0x18e503(0x12c)],_0x16ce1b=_0x2ef2a3[_0x18e503(0x107)](),{docsLeft:_0x18638f,docsTop:_0x34e5b2}=_0x16ce1b,_0x1c6fa4=new _0x4b4959['NodePositionConvertToCursor'](_0x16ce1b,_0x3dbc57);for(const {startOffset:_0x1a8e0c,endOffset:_0x145a34,rangeType:_0x31518a,segmentId:_0x3dba6c,segmentPage:_0x3d0c5a,collapsed:_0x1b046f,isActive:_0x189884}of _0x25d72d){const _0x456896=_0x3dbc57['findNodePositionByCharIndex'](_0x1a8e0c,!0x0,_0x3dba6c,_0x3d0c5a);let _0x4ab612=_0x3dbc57[_0x18e503(0x2e6)](_0x145a34,!0x0,_0x3dba6c,_0x3d0c5a);if(_0x4ab612==null&&(_0x4ab612=_0x3dbc57[_0x18e503(0x2e6)](_0x145a34-0x1,!0x1,_0x3dba6c,_0x3d0c5a)),_0x189884){const {contentBoxPointGroup:_0x51cea9}=_0x1c6fa4[_0x18e503(0x343)](_0x4ab612,_0x4ab612);if(_0x51cea9[_0x18e503(0x1cb)]===0x0)continue;this[_0x18e503(0x1dd)](_0x35a38d,_0x51cea9,_0x18638f,_0x34e5b2,_0x239dc5),this[_0x18e503(0x380)]=this['_handleHover']();}if(_0x456896&&_0x4ab612){if(_0x31518a===_0x435b21[_0x18e503(0x23d)][_0x18e503(0x188)]){const _0x129a6e=new _0x4b4959[(_0x18e503(0x15b))](_0x16ce1b,_0x3dbc57),{pointGroup:_0xd3bc40}=(_0x2be97f=_0x129a6e[_0x18e503(0x343)](_0x456896,_0x4ab612))!=null?_0x2be97f:{};if(_0xd3bc40==null||_0xd3bc40[_0x18e503(0x1cb)]===0x0)continue;this[_0x18e503(0x1b2)](_0x35a38d,_0xd3bc40,_0x18638f,_0x34e5b2);}else{if(!_0x1b046f){const {borderBoxPointGroup:_0x4f1978}=_0x1c6fa4[_0x18e503(0x343)](_0x456896,_0x4ab612);if(_0x4f1978['length']===0x0)continue;this[_0x18e503(0x1a3)](_0x35a38d,_0x4f1978,_0x18638f,_0x34e5b2);}}}}}['_drawAnchor'](_0x38f2ec,_0x41dd76,_0x5b2f7c,_0x57a94e,_0x52d7fd){const _0x2317ce=_0x2c927c,_0x4b69a6=this['_getAnchorBounding'](_0x41dd76),{left:_0x66ce52,top:_0x13367c,height:_0x1ad4cc}=_0x4b69a6,_0x53b7db=this[_0x2317ce(0x247)](),_0x4bfa5c=_0x3bf253/_0x53b7db,_0x585a4a=new _0x4af3d8[(_0x2317ce(0xf6))](_0x31ccb0+_0x435b21[_0x2317ce(0x331)][_0x2317ce(0x30d)](_0x1d44a7),{'left':_0x66ce52+_0x5b2f7c-_0x4bfa5c,'top':_0x13367c+_0x57a94e,'height':_0x1ad4cc,'width':_0x17bd38,'fill':_0x38f2ec||_0x4af3d8['getColor'](_0x435b21[_0x2317ce(0x145)]['black'],0x0),'strokeWidth':_0x4bfa5c,'stroke':_0x42b86b,'evented':!0x0});this[_0x2317ce(0x235)]=_0x585a4a,this[_0x2317ce(0x157)][_0x2317ce(0x2ea)](_0x585a4a,_0x4b4959[_0x2317ce(0x29a)]);const _0x98cf55=new _0x4af3d8['Rect'](_0x31ccb0+_0x435b21[_0x2317ce(0x331)][_0x2317ce(0x30d)](_0x1d44a7),{'left':_0x66ce52+_0x5b2f7c-_0x4bfa5c,'top':_0x13367c+_0x57a94e-_0x151bf3/0x2,'height':_0x151bf3,'width':_0x151bf3,'fill':_0x38f2ec||_0x4af3d8['getColor'](_0x435b21[_0x2317ce(0x145)][_0x2317ce(0x306)],0x0),'strokeWidth':0x0,'stroke':_0x38f2ec||_0x4af3d8[_0x2317ce(0x256)](_0x435b21['COLORS'][_0x2317ce(0x306)],0x0),'evented':!0x1});this['_anchorDot']=_0x98cf55,this[_0x2317ce(0x157)][_0x2317ce(0x2ea)](_0x98cf55,_0x4b4959[_0x2317ce(0x29a)]);const _0x601888=new _0x11a841(_0x31ccb0+_0x435b21[_0x2317ce(0x331)][_0x2317ce(0x30d)](_0x1d44a7),{'left':_0x66ce52+_0x5b2f7c-_0x4bfa5c,'top':_0x13367c+_0x57a94e-_0x3d1e90,'text':_0x52d7fd,'color':_0x38f2ec});this[_0x2317ce(0x2fa)]=_0x601888,this[_0x2317ce(0x157)][_0x2317ce(0x2ea)](_0x601888,_0x4b4959[_0x2317ce(0x29a)]),this[_0x2317ce(0x1cc)]=!0x1;}[_0x2c927c(0x13a)](){const _0x43ed28=_0x2c927c,_0x59b20a=this[_0x43ed28(0x235)][_0x43ed28(0x225)][_0x43ed28(0x231)](()=>{const _0x4aa7ab=_0x43ed28;this[_0x4aa7ab(0x1cc)]=!0x0;}),_0x56ecc6=this[_0x43ed28(0x235)][_0x43ed28(0x106)][_0x43ed28(0x231)](()=>{const _0x14f797=_0x43ed28;this['_hideTimer']&&clearTimeout(this[_0x14f797(0x294)]),this[_0x14f797(0x294)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x22b942=_0x43ed28;_0x59b20a[_0x22b942(0x342)](),_0x56ecc6['unsubscribe']();};}[_0x2c927c(0x1a3)](_0x23dc08,_0x33b0e2,_0x4467fa,_0x149e4b){const _0x26ef09=_0x2c927c,_0x3ee453=new _0x435b21[(_0x26ef09(0x182))](_0x23dc08)[_0x26ef09(0x2c1)](0.2)[_0x26ef09(0x127)](),_0x4c6ee5=new _0x4af3d8[(_0x26ef09(0x13f))](_0x22232e+_0x435b21['Tools'][_0x26ef09(0x30d)](_0x1d44a7),{'pointsGroup':_0x33b0e2,'fill':_0x3ee453||_0x4af3d8[_0x26ef09(0x256)](_0x435b21[_0x26ef09(0x145)]['black'],0.2),'left':_0x4467fa,'top':_0x149e4b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x26ef09(0x1cd)][_0x26ef09(0x2fb)](_0x4c6ee5),this[_0x26ef09(0x157)]['addObject'](_0x4c6ee5,_0x4b4959[_0x26ef09(0x29a)]);}[_0x2c927c(0x1b2)](_0x2dbca1,_0x55a521,_0x5cacac,_0x46a567){const _0x198650=_0x2c927c,_0x383ba8=new _0x435b21['ColorKit'](_0x2dbca1)['setAlpha'](0.2)['toRgbString'](),_0x2e36bf=new _0x4af3d8[(_0x198650(0x13f))](_0x4ca4d9+_0x435b21[_0x198650(0x331)][_0x198650(0x30d)](_0x1d44a7),{'pointsGroup':_0x55a521,'fill':_0x383ba8||_0x4af3d8[_0x198650(0x256)](_0x435b21['COLORS'][_0x198650(0x306)],0.2),'left':_0x5cacac,'top':_0x46a567,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x198650(0x1cd)][_0x198650(0x2fb)](_0x2e36bf),this[_0x198650(0x157)][_0x198650(0x2ea)](_0x2e36bf,_0x4b4959[_0x198650(0x29a)]);}[_0x2c927c(0x2b5)](_0x36c1c0){const _0x3143ab=_0x36c1c0[0x0],_0x395adc=_0x3143ab[0x0],_0x18633a=_0x3143ab[0x2],{x:_0x2e82aa,y:_0x189023}=_0x395adc,{x:_0x756e08,y:_0x469d84}=_0x18633a;return{'left':_0x2e82aa,'top':_0x189023,'width':_0x756e08-_0x2e82aa,'height':_0x469d84-_0x189023};}[_0x2c927c(0x247)](){const _0xc2ef74=_0x2c927c,{scaleX:_0xbf6335,scaleY:_0x244673}=this[_0xc2ef74(0x157)][_0xc2ef74(0x1ce)]();return Math[_0xc2ef74(0x2a1)](_0xbf6335,_0x244673);}}var _0x13079e=Object['getOwnPropertyDescriptor'],_0x3cdc12=(_0x13fc31,_0x219356,_0x5eca85,_0x50ed3d)=>{const _0xad2802=_0x2c927c;for(var _0x4d73d6=_0x50ed3d>0x1?void 0x0:_0x50ed3d?_0x13079e(_0x219356,_0x5eca85):_0x219356,_0x2e4d3c=_0x13fc31[_0xad2802(0x1cb)]-0x1,_0x4ea2a5;_0x2e4d3c>=0x0;_0x2e4d3c--)(_0x4ea2a5=_0x13fc31[_0x2e4d3c])&&(_0x4d73d6=_0x4ea2a5(_0x4d73d6)||_0x4d73d6);return _0x4d73d6;},_0x9acea1=(_0x1786d8,_0x1d2f88)=>(_0x43a39c,_0x3fc17f)=>_0x1d2f88(_0x43a39c,_0x3fc17f,_0x1786d8);let _0x3317c9=class extends _0x435b21[_0x2c927c(0x30a)]{constructor(_0x13da8c,_0x587460,_0x1422aa,_0x354a19,_0x336e48){const _0x5c9be2=_0x2c927c;super(),_0x38f83b(this,_0x5c9be2(0x228),[]),_0x38f83b(this,_0x5c9be2(0x2f8),[]),(this['_context']=_0x13da8c,this[_0x5c9be2(0x2d4)]=_0x587460,this[_0x5c9be2(0x261)]=_0x1422aa,this['_commandService']=_0x354a19,this[_0x5c9be2(0x278)]=_0x336e48,this[_0x5c9be2(0x170)]());}['_init'](){const _0x3e104f=_0x2c927c,_0x54c8e0=this['_context'][_0x3e104f(0x31c)],_0x57373d=this['_docSkeletonManagerService'];this['disposeWithMe'](_0x2cd233[_0x3e104f(0x29b)]([this[_0x3e104f(0x261)]['getCollabCursors$'](_0x54c8e0),this['_themeService'][_0x3e104f(0x18e)]])['pipe'](_0x4ce2ac[_0x3e104f(0x1fe)](([_0x175b6c,_0x465522])=>({'skeleton':_0x57373d[_0x3e104f(0x371)](),'cursors':[..._0x175b6c[_0x3e104f(0x290)]()][_0x3e104f(0x167)](_0x4a2be9=>({..._0x4a2be9,'color':_0x465522[_0x4a2be9[_0x3e104f(0x18a)]]}))})))[_0x3e104f(0x33d)](_0x553bd4=>{const _0x268f5f=_0x3e104f;if(this['_removeCollabCursors'](),_0x553bd4){const {skeleton:_0xaf3e28,cursors:_0x5e6982}=_0x553bd4;this[_0x268f5f(0xf1)](_0xaf3e28,_0x5e6982);}})),this[_0x3e104f(0x35e)](),this[_0x3e104f(0x10a)]();}[_0x2c927c(0xf1)](_0x4ecae2,_0x2a20c1){const _0x448446=_0x2c927c,{scene:_0x5bb015,mainComponent:_0x36aa87}=this[_0x448446(0xee)],_0x175916=_0x2a20c1[_0x448446(0x1fe)](_0x3bd88d=>new _0x1f1040(_0x3bd88d,_0x5bb015,_0x4ecae2,_0x36aa87));this[_0x448446(0x228)]=_0x175916,this[_0x448446(0x2f8)]=_0x2a20c1;}[_0x2c927c(0x260)](){const _0x3a248c=_0x2c927c;this[_0x3a248c(0x189)]();const {scene:_0x708ffd,mainComponent:_0x5eb619}=this['_context'],_0x1d15ef=this[_0x3a248c(0x2d4)]['getSkeleton'](),_0x4e88eb=this[_0x3a248c(0x2f8)][_0x3a248c(0x1fe)](_0x973ca8=>new _0x1f1040(_0x973ca8,_0x708ffd,_0x1d15ef,_0x5eb619));this[_0x3a248c(0x228)]=_0x4e88eb;}['_removeCollabCursors'](){const _0x2242ec=_0x2c927c;this[_0x2242ec(0x228)][_0x2242ec(0x186)](_0x312363=>_0x312363[_0x2242ec(0x355)]()),this['_cursorShapes']=[];}[_0x2c927c(0x10a)](){const _0x16ffa7=_0x2c927c,_0x38565f=[_0x4b4959[_0x16ffa7(0x32a)]['id']];this[_0x16ffa7(0x2db)](this[_0x16ffa7(0x36c)][_0x16ffa7(0x37f)](_0x3cb780=>{const _0x9f4e7f=_0x16ffa7;_0x38565f[_0x9f4e7f(0x10c)](_0x3cb780['id'])&&_0x3cb780[_0x9f4e7f(0x318)]['unitId']===this[_0x9f4e7f(0xee)][_0x9f4e7f(0x31c)]&&this[_0x9f4e7f(0x260)]();}));}['_initResize'](){const _0x3e1558=_0x2c927c;this[_0x3e1558(0x2db)](_0x435b21['fromEventSubject'](this[_0x3e1558(0xee)][_0x3e1558(0x330)][_0x3e1558(0x1d4)])[_0x3e1558(0x27e)](_0x4ce2ac[_0x3e1558(0x25b)](_0xa59644=>_0xa59644[_0x3e1558(0x17b)]===_0x4af3d8[_0x3e1558(0x22f)][_0x3e1558(0x1c7)]),_0x4ce2ac[_0x3e1558(0x31d)](0x10))[_0x3e1558(0x33d)](()=>{const _0x49d006=_0x3e1558;this[_0x49d006(0x260)]();}));}};_0x3317c9=_0x3cdc12([_0x9acea1(0x1,_0x435b21[_0x2c927c(0x10f)](_0xf499cd[_0x2c927c(0xec)])),_0x9acea1(0x2,_0x435b21[_0x2c927c(0x10f)](_0x5433ad)),_0x9acea1(0x3,_0x435b21[_0x2c927c(0x310)]),_0x9acea1(0x4,_0x435b21['Inject'](_0x435b21[_0x2c927c(0x27d)]))],_0x3317c9);const _0xb6e3b4=0x1,_0x415d59=1.5;class _0x3997f5 extends _0x4af3d8[_0x2c927c(0x348)]{constructor(_0x2901fe,_0xf4666d){const _0x6fc4c2=_0x2c927c;super(_0x2901fe,_0xf4666d),_0x38f83b(this,_0x6fc4c2(0xf3)),_0x38f83b(this,_0x6fc4c2(0x2d5),!0x1),_0x38f83b(this,_0x6fc4c2(0x2fe)),_0x38f83b(this,'_name',''),_0x38f83b(this,_0x6fc4c2(0x25a),'top'),_0x38f83b(this,'_backgroundColor'),(_0xf4666d&&this[_0x6fc4c2(0x379)](_0xf4666d),this[_0x6fc4c2(0x225)][_0x6fc4c2(0x231)](()=>this[_0x6fc4c2(0x379)]({'hovered':!0x0})),this[_0x6fc4c2(0x106)]['subscribeEvent'](()=>this[_0x6fc4c2(0x379)]({'hovered':!0x1})));}[_0x2c927c(0x379)](_0x5a0b29){const _0x7d67dc=_0x2c927c;var _0x3cc700,_0x1266a9,_0x3933d0,_0x5a59b1,_0x4c67f3,_0x16574a;this[_0x7d67dc(0xf3)]=(_0x3cc700=_0x5a0b29['color'])!=null?_0x3cc700:this[_0x7d67dc(0xf3)],this['_hovered']=(_0x1266a9=_0x5a0b29[_0x7d67dc(0x351)])!=null?_0x1266a9:this[_0x7d67dc(0x2d5)],this[_0x7d67dc(0x2fe)]=(_0x3933d0=_0x5a0b29[_0x7d67dc(0x1af)])!=null?_0x3933d0:this[_0x7d67dc(0x2fe)],this[_0x7d67dc(0x270)]=(_0x5a59b1=_0x5a0b29[_0x7d67dc(0x2f0)])!=null?_0x5a59b1:this[_0x7d67dc(0x270)],this['_labelPosition']=(_0x4c67f3=_0x5a0b29[_0x7d67dc(0x37a)])!=null?_0x4c67f3:this[_0x7d67dc(0x25a)],this[_0x7d67dc(0x28a)]=(_0x16574a=_0x5a0b29[_0x7d67dc(0x305)])!=null?_0x16574a:this[_0x7d67dc(0x28a)],this[_0x7d67dc(0x324)]({'width':_0x5a0b29['width'],'height':_0x5a0b29[_0x7d67dc(0x296)]});}['onMouseMove'](_0x2cfa13){const _0x569f74=_0x2c927c,{row:_0x45d9e6,column:_0x8764dc}=_0x2cfa13;if(_0x45d9e6>=this[_0x569f74(0x2fe)]['startRow']&&_0x45d9e6<=this[_0x569f74(0x2fe)][_0x569f74(0x216)]&&_0x8764dc>=this[_0x569f74(0x2fe)][_0x569f74(0x199)]&&_0x8764dc<=this['_range'][_0x569f74(0x201)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x569f74(0x379)]({'hovered':!0x1});}[_0x2c927c(0x2aa)](_0x3209d5){return!0x1;}[_0x2c927c(0x344)](_0x24415c){const _0x16f267=_0x2c927c;_0x4af3d8['Rect'][_0x16f267(0x1a8)](_0x24415c,{'width':this[_0x16f267(0x2e3)],'height':this[_0x16f267(0x296)],'strokeWidth':_0x415d59,'stroke':this[_0x16f267(0xf3)],'evented':!0x1,'fill':this[_0x16f267(0x28a)]}),this[_0x16f267(0x2d5)]&&(_0x24415c[_0x16f267(0x31f)](),_0x24415c[_0x16f267(0x382)](0x1,0x0,0x0,0x1,this['width'],this[_0x16f267(0x25a)]===_0x16f267(0x1f5)?0x0:-0x14),_0x11a841['drawWith'](_0x24415c,{'text':this[_0x16f267(0x270)],'color':this[_0x16f267(0xf3)]}),_0x24415c[_0x16f267(0x272)]());}}var _0x539f43=Object[_0x2c927c(0x23e)],_0x2232f2=(_0x14c490,_0x15ec54,_0x224b66,_0x4ae812)=>{const _0x54e99b=_0x2c927c;for(var _0x3fc33d=_0x4ae812>0x1?void 0x0:_0x4ae812?_0x539f43(_0x15ec54,_0x224b66):_0x15ec54,_0x98cf53=_0x14c490[_0x54e99b(0x1cb)]-0x1,_0x31de69;_0x98cf53>=0x0;_0x98cf53--)(_0x31de69=_0x14c490[_0x98cf53])&&(_0x3fc33d=_0x31de69(_0x3fc33d)||_0x3fc33d);return _0x3fc33d;},_0x450bac=(_0x3c2e67,_0xaa407b)=>(_0x5b1e55,_0x3dddb9)=>_0xaa407b(_0x5b1e55,_0x3dddb9,_0x3c2e67);const _0x19461b=0x1389;let _0x3bd592=class extends _0x435b21['RxDisposable']{constructor(_0x23bc17,_0x3f4ff3,_0x4e057e,_0x420fc4){const _0x512d62=_0x2c927c;super(),_0x38f83b(this,_0x512d62(0x2f8),new Set()),_0x38f83b(this,_0x512d62(0x1b4),null),(this[_0x512d62(0xee)]=_0x23bc17,this[_0x512d62(0x140)]=_0x3f4ff3,this['_collabCursorController']=_0x4e057e,this[_0x512d62(0x278)]=_0x420fc4,this[_0x512d62(0x170)]());}['_init'](){const _0x641e3d=_0x2c927c;this[_0x641e3d(0x140)][_0x641e3d(0x1ea)][_0x641e3d(0x27e)](_0x4ce2ac[_0x641e3d(0x308)](this['dispose$']),_0x4ce2ac[_0x641e3d(0x1e8)](_0x399d10=>{const _0x593567=_0x641e3d;if(_0x399d10){const _0x5e0b84=_0x399d10[_0x593567(0x288)];return _0x2cd233[_0x593567(0x29b)](this[_0x593567(0x261)][_0x593567(0x26e)](this[_0x593567(0xee)][_0x593567(0x31c)]),this['_themeService']['currentTheme$'])[_0x593567(0x27e)](_0x4ce2ac['map'](([_0x49252b,_0x3b1699])=>{const _0x5f0979=_0x593567,_0x5041de=new Map();return _0x49252b[_0x5f0979(0x186)]((_0x397a61,_0x43482b)=>{const _0x38c4f3=_0x5f0979;if(_0x397a61[_0x38c4f3(0x304)]===_0x5e0b84){const _0x4870f6={..._0x397a61};_0x4870f6[_0x38c4f3(0x18a)]=_0x3b1699[_0x397a61[_0x38c4f3(0x18a)]],_0x5041de[_0x38c4f3(0x1e0)](_0x43482b,_0x4870f6);}}),{'skeleton':_0x399d10,'cursors':_0x5041de};}));}return _0x2cd233['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0xcecf23,cursors:_0x23f02d})=>{const _0x125e90=_0x641e3d;this[_0x125e90(0x189)](),_0xcecf23&&this['_updateCollabCursors'](_0xcecf23,_0x23f02d);}),this[_0x641e3d(0x140)][_0x641e3d(0x1ea)][_0x641e3d(0x33d)](_0x18bf6c=>{const _0x346f68=_0x641e3d;if(_0x18bf6c==null)return;const {skeleton:_0x457056}=_0x18bf6c,{scene:_0x4e5cb0}=this[_0x346f68(0xee)];_0x4e5cb0[_0x346f68(0x340)][_0x346f68(0x231)](_0x435b21[_0x346f68(0x156)](_0x126b68=>{const _0x4f5671=_0x346f68;var _0x35e121,_0x1507b2;const {offsetX:_0x549ebd,offsetY:_0xba421a}=_0x126b68,{x:_0x2ef1c9,y:_0x4aee6b}=_0x4e5cb0[_0x4f5671(0x378)](_0x4af3d8[_0x4f5671(0x118)][_0x4f5671(0x1f3)]([_0x549ebd,_0xba421a])),{scaleX:_0x4fa6e3,scaleY:_0x15d1e8}=_0x4e5cb0[_0x4f5671(0x1ce)](),_0x3eba95=_0x4e5cb0[_0x4f5671(0x1cf)](_0x4af3d8[_0x4f5671(0x257)]['VIEW_MAIN']),_0x14d508=_0x4e5cb0[_0x4f5671(0x301)](_0x4af3d8[_0x4f5671(0x118)][_0x4f5671(0x1f3)]([_0x2ef1c9,_0x4aee6b]),_0x3eba95),_0x110fd8=_0x457056[_0x4f5671(0x1f7)](_0x549ebd,_0xba421a,_0x4fa6e3,_0x15d1e8,_0x14d508);((_0x35e121=this[_0x4f5671(0x1b4)])==null?void 0x0:_0x35e121[_0x4f5671(0x265)])===_0x110fd8[_0x4f5671(0x265)]&&((_0x1507b2=this[_0x4f5671(0x1b4)])==null?void 0x0:_0x1507b2[_0x4f5671(0x163)])===_0x110fd8[_0x4f5671(0x163)]||this[_0x4f5671(0x2f8)][_0x4f5671(0x186)](_0x268994=>{_0x268994['onMouseMove'](_0x110fd8);});},0x64));});}[_0x2c927c(0xf1)](_0x4ee4bf,_0x302516){const _0x55c4a9=_0x2c927c;var _0x429266;const _0x1a8bab=(_0x429266=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x429266[_0x55c4a9(0x177)];if(!_0x1a8bab)return;const _0x2dc196=this[_0x55c4a9(0x28b)]();if(!_0x2dc196)return;this[_0x55c4a9(0x2f8)]['forEach'](_0x4e7118=>{const _0x5c41a6=_0x55c4a9;_0x4e7118[_0x5c41a6(0x276)]();});const {scene:_0x3d820e}=_0x2dc196,_0x3f6270=_0x572de0(Array[_0x55c4a9(0x30f)](_0x302516['values']()))[_0x55c4a9(0x1fe)](_0x29fb4f=>{const _0x24c058=_0x55c4a9,{color:_0x40b477,range:_0x27abfa,name:_0x194a9b,selection:_0x32b124,sheetID:_0x2446cd}=_0x29fb4f,{startColumn:_0x56803b,startRow:_0x3fed3e,endColumn:_0x2ff1b4,endRow:_0x531a8c}=_0x27abfa,_0x1377cf=_0x487df1['getCoordByCell'](_0x3fed3e,_0x56803b,_0x3d820e,_0x1a8bab),_0x5ab59=_0x487df1[_0x24c058(0x243)](_0x531a8c,_0x2ff1b4,_0x3d820e,_0x1a8bab),{columnHeaderHeightAndMarginTop:_0x59574b}=_0x1a8bab,{startX:_0x40e5a1,startY:_0x12f225}=_0x1377cf,{endX:_0x45e436,endY:_0x35202a}=_0x5ab59,_0x37374f=_0x45e436-_0x40e5a1,_0x3efab4=_0x35202a-_0x12f225,_0xdc3b76={'labelPosition':_0x12f225-_0x59574b>=_0x3d1e90?_0x24c058(0x111):_0x24c058(0x1f5),'sheetID':_0x2446cd,'range':_0x27abfa,'color':_0x40b477,'name':_0x194a9b,'selection':_0x32b124,'left':_0x40e5a1,'top':_0x12f225,'width':_0x37374f,'height':_0x3efab4,'evented':!0x1,'zIndex':_0x19461b};return new _0x3997f5(_0x194a9b,_0xdc3b76);});_0x3d820e[_0x55c4a9(0x271)](_0x3f6270,_0xb6e3b4),this['_cursors']=new Set(_0x3f6270);}['_removeCollabCursors'](){const _0x1f2e26=_0x2c927c;var _0x35cc45;(_0x35cc45=this[_0x1f2e26(0x2f8)])==null||_0x35cc45[_0x1f2e26(0x186)](_0x57743a=>_0x57743a[_0x1f2e26(0x355)]());}['_getSheetObject'](){const _0x2aaf93=_0x2c927c;return _0x487df1[_0x2aaf93(0x108)](this[_0x2aaf93(0xee)][_0x2aaf93(0x311)],this['_context']);}};_0x3bd592=_0x2232f2([_0x450bac(0x1,_0x435b21[_0x2c927c(0x10f)](_0x487df1[_0x2c927c(0x2cd)])),_0x450bac(0x2,_0x435b21[_0x2c927c(0x10f)](_0x5433ad)),_0x450bac(0x3,_0x435b21['Inject'](_0x435b21[_0x2c927c(0x27d)]))],_0x3bd592);function _0x572de0(_0x1e6edc){const _0xf32245=_0x2c927c,_0x56f826=new Map();return _0x1e6edc['forEach'](_0x124d20=>{const _0x1b91cb=_0x44a6;if(_0x56f826[_0x1b91cb(0x133)](_0x124d20[_0x1b91cb(0x35d)])){const _0x5b9cb9=_0x56f826[_0x1b91cb(0x373)](_0x124d20[_0x1b91cb(0x35d)]);_0x5b9cb9[_0x1b91cb(0x2f0)]+=',\x20'+_0x124d20[_0x1b91cb(0x2f0)];}else _0x56f826[_0x1b91cb(0x1e0)](_0x124d20['selection'],_0x124d20);}),Array[_0xf32245(0x30f)](_0x56f826[_0xf32245(0x290)]());}var _0x1e9d52=function(){const _0x313591=_0x2c927c;return _0x1e9d52=Object[_0x313591(0x282)]||function(_0x2aef1a){const _0x81f0b2=_0x313591;for(var _0x103298,_0x30a314=0x1,_0x4215b1=arguments[_0x81f0b2(0x1cb)];_0x30a314<_0x4215b1;_0x30a314++){_0x103298=arguments[_0x30a314];for(var _0x213e5c in _0x103298)Object['prototype'][_0x81f0b2(0x2a5)][_0x81f0b2(0x359)](_0x103298,_0x213e5c)&&(_0x2aef1a[_0x213e5c]=_0x103298[_0x213e5c]);}return _0x2aef1a;},_0x1e9d52['apply'](this,arguments);},_0x4f8897=function(_0x403a5a,_0x55936b){const _0x50436d=_0x2c927c;var _0x3ab9e6={};for(var _0x3e1b58 in _0x403a5a)Object[_0x50436d(0x174)]['hasOwnProperty'][_0x50436d(0x359)](_0x403a5a,_0x3e1b58)&&_0x55936b[_0x50436d(0x26f)](_0x3e1b58)<0x0&&(_0x3ab9e6[_0x3e1b58]=_0x403a5a[_0x3e1b58]);if(_0x403a5a!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x35801e=0x0,_0x3e1b58=Object['getOwnPropertySymbols'](_0x403a5a);_0x35801e<_0x3e1b58[_0x50436d(0x1cb)];_0x35801e++)_0x55936b[_0x50436d(0x26f)](_0x3e1b58[_0x35801e])<0x0&&Object[_0x50436d(0x174)]['propertyIsEnumerable'][_0x50436d(0x359)](_0x403a5a,_0x3e1b58[_0x35801e])&&(_0x3ab9e6[_0x3e1b58[_0x35801e]]=_0x403a5a[_0x3e1b58[_0x35801e]]);}return _0x3ab9e6;},_0x4a39de=_0x37c89d['forwardRef'](function(_0x36e386,_0xf7a9c6){const _0x5f24c4=_0x2c927c;var _0x4a2744=_0x36e386[_0x5f24c4(0x297)],_0x54eb56=_0x36e386['id'],_0xa6295c=_0x36e386[_0x5f24c4(0x12b)],_0x23bb6c=_0x36e386[_0x5f24c4(0x1de)],_0x456e1f=_0x4f8897(_0x36e386,[_0x5f24c4(0x297),'id',_0x5f24c4(0x12b),_0x5f24c4(0x1de)]),_0x3505f9=_0x5f24c4(0x220)[_0x5f24c4(0x178)](_0x54eb56,'\x20')[_0x5f24c4(0x178)](_0xa6295c||'')[_0x5f24c4(0x325)](),_0x3e43fc=_0x37c89d['useRef']('_'['concat'](_0x2a3aa3()));return _0x29bb0a(_0x4a2744,''[_0x5f24c4(0x178)](_0x54eb56),{'defIds':_0x4a2744[_0x5f24c4(0x2f5)],'idSuffix':_0x3e43fc[_0x5f24c4(0x221)]},_0x1e9d52({'ref':_0xf7a9c6,'className':_0x3505f9},_0x456e1f),_0x23bb6c);});function _0x29bb0a(_0x91943,_0x4a9038,_0x269f2d,_0x2eb765,_0x54774e){const _0x1058e7=_0x2c927c;return _0x37c89d[_0x1058e7(0x357)](_0x91943['tag'],_0x1e9d52(_0x1e9d52({'key':_0x4a9038},_0x1f28c1(_0x91943,_0x269f2d,_0x54774e)),_0x2eb765),(_0x59d417(_0x91943,_0x269f2d)[_0x1058e7(0x173)]||[])[_0x1058e7(0x1fe)](function(_0x22cd5e,_0x225f5a){const _0x5ce1d5=_0x1058e7;return _0x29bb0a(_0x22cd5e,''[_0x5ce1d5(0x178)](_0x4a9038,'-')[_0x5ce1d5(0x178)](_0x91943['tag'],'-')[_0x5ce1d5(0x178)](_0x225f5a),_0x269f2d,void 0x0,_0x54774e);}));}function _0x1f28c1(_0xbe5117,_0x20dfb7,_0xafd092){const _0x4979c3=_0x2c927c;var _0x33153c=_0x1e9d52({},_0xbe5117[_0x4979c3(0x223)]);_0xafd092!=null&&_0xafd092['colorChannel1']&&_0x33153c[_0x4979c3(0x2e9)]==='colorChannel1'&&(_0x33153c[_0x4979c3(0x2e9)]=_0xafd092['colorChannel1']),_0xbe5117['tag']===_0x4979c3(0x31e)&&_0x33153c['id']&&(_0x33153c['id']=_0x33153c['id']+_0x20dfb7[_0x4979c3(0x11d)]),Object[_0x4979c3(0x24a)](_0x33153c)[_0x4979c3(0x186)](function(_0x142f3e){const _0x5327a1=_0x4979c3;var _0x535aa1=_0x142f3e[0x0],_0x3ede27=_0x142f3e[0x1];_0x535aa1===_0x5327a1(0x31e)&&typeof _0x3ede27==_0x5327a1(0x250)&&(_0x33153c[_0x535aa1]=_0x3ede27[_0x5327a1(0x2d9)](/url\(#(.*)\)/,_0x5327a1(0x358)[_0x5327a1(0x178)](_0x20dfb7[_0x5327a1(0x11d)],')')));});var _0x2d5c67=_0x20dfb7['defIds'];return!_0x2d5c67||_0x2d5c67[_0x4979c3(0x1cb)]===0x0||(_0xbe5117[_0x4979c3(0x148)]===_0x4979c3(0x37b)&&_0x33153c[_0x4979c3(0x285)]&&(_0x33153c[_0x4979c3(0x285)]=_0x33153c[_0x4979c3(0x285)]+_0x20dfb7[_0x4979c3(0x11d)]),Object['entries'](_0x33153c)[_0x4979c3(0x186)](function(_0x4461f1){const _0x4f3d8c=_0x4979c3;var _0x4454ab=_0x4461f1[0x0],_0x5e8c3c=_0x4461f1[0x1];typeof _0x5e8c3c=='string'&&(_0x33153c[_0x4454ab]=_0x5e8c3c['replace'](/url\(#(.*)\)/,_0x4f3d8c(0x358)[_0x4f3d8c(0x178)](_0x20dfb7['idSuffix'],')')));})),_0x33153c;}function _0x59d417(_0xde3011,_0x30cb14){const _0xf255c4=_0x2c927c;var _0x2d373a,_0x53526a=_0x30cb14['defIds'];return!_0x53526a||_0x53526a[_0xf255c4(0x1cb)]===0x0?_0xde3011:_0xde3011[_0xf255c4(0x148)]===_0xf255c4(0x236)&&(!((_0x2d373a=_0xde3011[_0xf255c4(0x173)])===null||_0x2d373a===void 0x0)&&_0x2d373a[_0xf255c4(0x1cb)])?_0x1e9d52(_0x1e9d52({},_0xde3011),{'children':_0xde3011[_0xf255c4(0x173)][_0xf255c4(0x1fe)](function(_0x57859d){const _0xe0141b=_0xf255c4;return typeof _0x57859d[_0xe0141b(0x223)]['id']==_0xe0141b(0x250)&&_0x53526a&&_0x53526a[_0xe0141b(0x26f)](_0x57859d[_0xe0141b(0x223)]['id'])>-0x1?_0x1e9d52(_0x1e9d52({},_0x57859d),{'attrs':_0x1e9d52(_0x1e9d52({},_0x57859d[_0xe0141b(0x223)]),{'id':_0x57859d[_0xe0141b(0x223)]['id']+_0x30cb14[_0xe0141b(0x11d)]})}):_0x57859d;})}):_0xde3011;}function _0x2a3aa3(){const _0x243190=_0x2c927c;return Math[_0x243190(0x298)]()[_0x243190(0x28e)](0x24)[_0x243190(0x28f)](0x2,0x8);}_0x4a39de[_0x2c927c(0x15c)]=_0x2c927c(0x14b);var _0x42ca44={'tag':'svg','attrs':{'fill':'none','viewBox':_0x2c927c(0x34f),'width':_0x2c927c(0x25d),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x2c927c(0x2a8)},'children':[{'tag':_0x2c927c(0x377),'attrs':{'stroke':_0x2c927c(0x2bb),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x2c927c(0x354),'strokeLinejoin':_0x2c927c(0x354),'strokeWidth':1.2}}]},{'tag':_0x2c927c(0x236),'attrs':{},'children':[{'tag':_0x2c927c(0x134),'attrs':{'id':_0x2c927c(0x1a6)},'children':[{'tag':'path','attrs':{'fill':_0x2c927c(0x161),'d':_0x2c927c(0x1e7)}}]}]}],'defIds':[_0x2c927c(0x1a6)]},_0x56e7ed=_0x37c89d[_0x2c927c(0x193)](function(_0x1c66ba,_0x13e946){const _0x308fe0=_0x2c927c;return _0x37c89d[_0x308fe0(0x357)](_0x4a39de,Object['assign']({},_0x1c66ba,{'id':_0x308fe0(0x20e),'ref':_0x13e946,'icon':_0x42ca44}));});_0x56e7ed[_0x2c927c(0x15c)]=_0x2c927c(0xfe);var _0x3f0b1a={'tag':_0x2c927c(0x22c),'attrs':{'fill':_0x2c927c(0x2b1),'viewBox':_0x2c927c(0x254),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x2c927c(0x377),'attrs':{'stroke':_0x2c927c(0x2bb),'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':'round','strokeWidth':1.2}}]},{'tag':_0x2c927c(0x236),'attrs':{},'children':[{'tag':_0x2c927c(0x134),'attrs':{'id':_0x2c927c(0x1bb)},'children':[{'tag':_0x2c927c(0x377),'attrs':{'fill':_0x2c927c(0x161),'d':_0x2c927c(0x1e7),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0x1e3bf6=_0x37c89d[_0x2c927c(0x193)](function(_0xb24327,_0x988fd){const _0xaafeca=_0x2c927c;return _0x37c89d[_0xaafeca(0x357)](_0x4a39de,Object[_0xaafeca(0x282)]({},_0xb24327,{'id':_0xaafeca(0x1ff),'ref':_0x988fd,'icon':_0x3f0b1a}));});_0x1e3bf6[_0x2c927c(0x15c)]='OnLineSingle';function _0x3afb1b(_0x138211){const _0x41ec28=_0x2c927c;switch(_0x138211){case _0x423a8c[_0x41ec28(0xf7)]['OFFLINE']:return'collabStatus.offline';case _0x423a8c['CollaborationStatus'][_0x41ec28(0x299)]:return _0x41ec28(0x2cf);case _0x423a8c[_0x41ec28(0xf7)][_0x41ec28(0x2ee)]:return _0x41ec28(0x2b7);case _0x423a8c[_0x41ec28(0xf7)]['NOT_COLLAB']:return _0x41ec28(0x2fc);case _0x423a8c[_0x41ec28(0xf7)][_0x41ec28(0x1ca)]:case _0x423a8c[_0x41ec28(0xf7)][_0x41ec28(0xfd)]:return _0x41ec28(0x151);case _0x423a8c[_0x41ec28(0xf7)][_0x41ec28(0x329)]:case _0x423a8c['CollaborationStatus'][_0x41ec28(0x2e0)]:return'collabStatus.synced';}}function _0x402c00(_0x26071f){const _0x47914f=_0x2c927c,{status$:_0x16f24f}=_0x26071f,_0x3359ac=_0x58ede6['useObservable'](_0x16f24f,_0x423a8c[_0x47914f(0xf7)]['NOT_COLLAB']),_0x4b0524=_0x58ede6[_0x47914f(0x2ed)](_0x435b21[_0x47914f(0x2f3)]),_0x4c8bc5=_0x58ede6[_0x47914f(0x2ed)](_0x423a8c[_0x47914f(0x2b9)]),_0x1df079=_0x3359ac!==_0x423a8c['CollaborationStatus'][_0x47914f(0x1c3)],_0x5edcee=_0x4b0524['t'](_0x3afb1b(_0x3359ac)),_0x398070=_0x1df079?_0x242235[_0x47914f(0x184)](_0x1e3bf6,{}):_0x242235[_0x47914f(0x184)](_0x56e7ed,{}),_0x37742c=_0x37c89d[_0x47914f(0x2ef)](()=>{const _0x1023d9=_0x47914f;_0x1df079||_0x4c8bc5[_0x1023d9(0x229)]();},[_0x1df079,_0x4c8bc5]);function _0x4b58f3(){const _0x20fcf0=_0x47914f;return _0x242235['jsxs'](_0x20fcf0(0x1ed),{'className':'univer-flex\x20univer-items-center','onClick':_0x37742c,'children':[_0x242235[_0x20fcf0(0x184)](_0x20fcf0(0x1ed),{'className':_0x3971cd[_0x20fcf0(0x218)]('univer-flex\x20univer-mr-2\x20univer-text-[20px]',_0x1df079?_0x20fcf0(0x2e2):_0x20fcf0(0x24b)),'children':_0x398070}),_0x242235['jsx']('div',{'className':'univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','children':_0x5edcee})]});}return _0x1df079?_0x4b58f3():_0x242235['jsx'](_0x3971cd[_0x47914f(0x1c9)],{'title':_0x4b0524['t']('collab-client.tooltip.reconnect'),'children':_0x4b58f3()});}var _0x474163=Object[_0x2c927c(0x23e)],_0x3d3d7b=(_0x454436,_0xeda91c,_0x28c611,_0x4db243)=>{for(var _0x279d6c=_0x4db243>0x1?void 0x0:_0x4db243?_0x474163(_0xeda91c,_0x28c611):_0xeda91c,_0x45b850=_0x454436['length']-0x1,_0x4266d0;_0x45b850>=0x0;_0x45b850--)(_0x4266d0=_0x454436[_0x45b850])&&(_0x279d6c=_0x4266d0(_0x279d6c)||_0x279d6c);return _0x279d6c;},_0x537464=(_0x22c3a0,_0x31d2f0)=>(_0xf71acf,_0x279449)=>_0x31d2f0(_0xf71acf,_0x279449,_0x22c3a0);_0x23fa2d[_0x2c927c(0x214)]=class extends _0x435b21[_0x2c927c(0x241)]{constructor(_0x414b75,_0x3f6da5,_0x50faa1,_0x52f793){const _0x2bb663=_0x2c927c;super(),_0x38f83b(this,'_status$',new _0x2cd233[(_0x2bb663(0x11a))](_0x423a8c[_0x2bb663(0xf7)][_0x2bb663(0x244)])),(this[_0x2bb663(0x2cc)]=_0x414b75,this[_0x2bb663(0x234)]=_0x3f6da5,this[_0x2bb663(0x12e)]=_0x50faa1,this[_0x2bb663(0x187)]=_0x52f793,this[_0x2bb663(0x1fa)](),this['_initStatusListener']());}[_0x2c927c(0x1c4)](){const _0x10573b=_0x2c927c;this['disposeWithMe'](this[_0x10573b(0x2cc)][_0x10573b(0x336)]['pipe'](_0x2cd233['switchMap'](()=>{const _0x3f0982=_0x10573b,_0x58a6d0=this[_0x3f0982(0x2cc)]['getFocusedUnit']();return _0x58a6d0?this[_0x3f0982(0x12e)]['getCollabEntity$'](_0x58a6d0[_0x3f0982(0x349)]()):_0x2cd233['of'](null);}),_0x2cd233[_0x10573b(0x1e8)](_0x1616d0=>_0x1616d0?_0x1616d0[_0x10573b(0x2d7)]:_0x2cd233['of'](_0x423a8c[_0x10573b(0xf7)][_0x10573b(0x244)])))['subscribe'](_0x31e596=>{const _0x243d37=_0x10573b;this[_0x243d37(0xed)][_0x243d37(0x1ab)](_0x31e596);}));}[_0x2c927c(0x1fa)](){const _0x47c802=_0x2c927c;this['disposeWithMe'](this['_uiPartsService']['registerComponent'](_0x58ede6['BuiltInUIPart'][_0x47c802(0x204)],()=>_0x58ede6[_0x47c802(0x1e2)](_0x4e0b7a({'status$':this['_status$'][_0x47c802(0x27a)]()}),this[_0x47c802(0x234)])));}},_0x23fa2d[_0x2c927c(0x214)]=_0x3d3d7b([_0x537464(0x0,_0x435b21[_0x2c927c(0x374)]),_0x537464(0x1,_0x435b21[_0x2c927c(0x10f)](_0x435b21[_0x2c927c(0x11c)])),_0x537464(0x2,_0x435b21['Inject'](_0x423a8c[_0x2c927c(0xf0)])),_0x537464(0x3,_0x58ede6['IUIPartsService'])],_0x23fa2d[_0x2c927c(0x214)]);function _0x4e0b7a(_0x24de51){const {status$:_0x3d90cc}=_0x24de51;return function(){return _0x242235['jsx'](_0x402c00,{'status$':_0x3d90cc});};}var _0x4c3144=Object[_0x2c927c(0x23e)],_0x48467c=(_0x393936,_0x490569,_0x27bae8,_0x3d9dc0)=>{const _0xfb1e38=_0x2c927c;for(var _0x406be8=_0x3d9dc0>0x1?void 0x0:_0x3d9dc0?_0x4c3144(_0x490569,_0x27bae8):_0x490569,_0x31d3d5=_0x393936[_0xfb1e38(0x1cb)]-0x1,_0x5725f6;_0x31d3d5>=0x0;_0x31d3d5--)(_0x5725f6=_0x393936[_0x31d3d5])&&(_0x406be8=_0x5725f6(_0x406be8)||_0x406be8);return _0x406be8;},_0x129794=(_0x54664e,_0xc69d00)=>(_0x401315,_0x3ba10a)=>_0xc69d00(_0x401315,_0x3ba10a,_0x54664e);let _0x35bcbb=class extends _0x435b21[_0x2c927c(0x241)]{constructor(_0x58b118,_0x377b95,_0x16314e,_0x13ff99,_0x23346e,_0x307ef4){const _0x3d56dd=_0x2c927c;super(),this[_0x3d56dd(0x341)]=_0x58b118,this['_localCacheService']=_0x377b95,this[_0x3d56dd(0x165)]=_0x16314e,this[_0x3d56dd(0x1b1)]=_0x13ff99,this['_notificationService']=_0x23346e,this[_0x3d56dd(0x1aa)]=_0x307ef4,this['_setupBeforeClosingHandler'](),this[_0x3d56dd(0x384)]();}['_setupBeforeClosingHandler'](){const _0x4bc6ff=_0x2c927c;this[_0x4bc6ff(0x2db)](this[_0x4bc6ff(0x341)][_0x4bc6ff(0x19b)](()=>{const _0x2a3062=_0x4bc6ff;if(this['_localCacheService'][_0x2a3062(0x13c)]['size'])return this['_localeService']['t'](_0x2a3062(0x1ad));}));}[_0x2c927c(0x384)](){const _0x34817b=_0x2c927c;this['disposeWithMe'](this[_0x34817b(0x165)][_0x34817b(0x303)][_0x34817b(0x33d)](_0x3ff8ee=>{const _0x30ae17=_0x34817b;_0x3ff8ee['id']===_0x423a8c['CollaborationUIEventId']['OTHER_CLIENT_EDITING']&&this[_0x30ae17(0x1b1)]['show']({'type':_0x3971cd['MessageType'][_0x30ae17(0x230)],'content':this[_0x30ae17(0x1aa)]['t'](_0x30ae17(0x14e))}),_0x3ff8ee['id']===_0x423a8c[_0x30ae17(0x26a)][_0x30ae17(0x2b8)]&&this[_0x30ae17(0x1b1)][_0x30ae17(0x1a7)]({'type':_0x3971cd['MessageType'][_0x30ae17(0x230)],'content':this[_0x30ae17(0x1aa)]['t'](_0x30ae17(0xea))}),_0x3ff8ee['id']===_0x423a8c['CollaborationUIEventId']['PERMISSION_DENIED']&&this[_0x30ae17(0x175)][_0x30ae17(0x1a7)]({'title':this[_0x30ae17(0x1aa)]['t'](_0x30ae17(0x12a)),'content':this[_0x30ae17(0x1aa)]['t']('permission.content'),'type':_0x30ae17(0x12d),'duration':0x0}),_0x3ff8ee['id']===_0x423a8c[_0x30ae17(0x26a)]['CONFLICT']&&this[_0x30ae17(0x1b1)][_0x30ae17(0x1a7)]({'type':_0x3971cd[_0x30ae17(0x169)][_0x30ae17(0x2c7)],'content':this['_localeService']['t'](_0x30ae17(0xea))+'('+_0x3ff8ee[_0x30ae17(0x1dc)]+')'}),_0x3ff8ee['id']===_0x423a8c[_0x30ae17(0x26a)][_0x30ae17(0x122)]&&this['_messageService'][_0x30ae17(0x1a7)]({'type':_0x3971cd[_0x30ae17(0x169)][_0x30ae17(0x230)],'content':this['_localeService']['t'](_0x3ff8ee['data']||'')}),_0x3ff8ee['id']===_0x423a8c[_0x30ae17(0x26a)][_0x30ae17(0x375)]&&this[_0x30ae17(0x1b1)]['show']({'type':_0x3971cd[_0x30ae17(0x169)]['Warning'],'content':this[_0x30ae17(0x1aa)]['t'](_0x30ae17(0x197))}),_0x3ff8ee['id']===_0x423a8c[_0x30ae17(0x26a)][_0x30ae17(0x2ae)]&&this[_0x30ae17(0x1b1)][_0x30ae17(0x1a7)]({'type':_0x3971cd[_0x30ae17(0x169)][_0x30ae17(0x2c7)],'content':this[_0x30ae17(0x1aa)]['t'](_0x30ae17(0x105))}),_0x3ff8ee['id']===_0x423a8c[_0x30ae17(0x26a)][_0x30ae17(0x1a0)]&&this[_0x30ae17(0x1b1)][_0x30ae17(0x1a7)]({'type':_0x3971cd[_0x30ae17(0x169)][_0x30ae17(0x2c7)],'content':this[_0x30ae17(0x1aa)]['t'](_0x30ae17(0x1ef))});}));}};_0x35bcbb=_0x48467c([_0x129794(0x0,_0x58ede6[_0x2c927c(0x23b)]),_0x129794(0x1,_0x423a8c['ILocalCacheService']),_0x129794(0x2,_0x435b21[_0x2c927c(0x10f)](_0x423a8c[_0x2c927c(0x2af)])),_0x129794(0x3,_0x58ede6[_0x2c927c(0x33c)]),_0x129794(0x4,_0x58ede6[_0x2c927c(0x126)]),_0x129794(0x5,_0x435b21[_0x2c927c(0x10f)](_0x435b21[_0x2c927c(0x2f3)]))],_0x35bcbb);const _0x382e8b=_0x2c927c(0x2c9),_0x4aa346={},_0x4a2486=_0x435b21[_0x2c927c(0x333)](_0x2c927c(0x102));var _0x2a35eb=Object['getOwnPropertyDescriptor'],_0x34070b=(_0x1ad12e,_0x4f333f,_0x42dc0f,_0xda0e13)=>{const _0x244acc=_0x2c927c;for(var _0x1e0458=_0xda0e13>0x1?void 0x0:_0xda0e13?_0x2a35eb(_0x4f333f,_0x42dc0f):_0x4f333f,_0x340a34=_0x1ad12e[_0x244acc(0x1cb)]-0x1,_0x54e6b9;_0x340a34>=0x0;_0x340a34--)(_0x54e6b9=_0x1ad12e[_0x340a34])&&(_0x1e0458=_0x54e6b9(_0x1e0458)||_0x1e0458);return _0x1e0458;},_0x44a35d=(_0x22c99b,_0x454876)=>(_0x5efa6,_0x258351)=>_0x454876(_0x5efa6,_0x258351,_0x22c99b);_0x23fa2d[_0x2c927c(0x20f)]=class extends _0x435b21[_0x2c927c(0x30a)]{constructor(_0x49a651,_0x43f024,_0x14858c,_0x36de66,_0x505632){const _0xf87680=_0x2c927c;super(),this[_0xf87680(0x362)]=_0x49a651,this[_0xf87680(0x19a)]=_0x43f024,this['_commandService']=_0x14858c,this[_0xf87680(0x1c2)]=_0x36de66,_0x505632?_0x505632==null||_0x505632[_0xf87680(0x2b3)]()[_0xf87680(0x2bd)](()=>this[_0xf87680(0x170)]()):(this[_0xf87680(0x19a)][_0xf87680(0x1da)](_0xf87680(0x2b0),_0xf87680(0x33e)),this[_0xf87680(0x170)]());}async['_init'](){const _0xd8a4fb=_0x2c927c,_0x1f17de=this['_urlService']['getParam']('unit'),_0x31e8d1=this[_0xd8a4fb(0x362)][_0xd8a4fb(0x16b)](_0xd8a4fb(0x17b)),_0x377abd=this[_0xd8a4fb(0x362)]['getParam'](_0xd8a4fb(0x1e3));if(!_0x1f17de||!_0x31e8d1){this['_logService'][_0xd8a4fb(0x1da)]('[CollaborationDataLoaderController]',_0xd8a4fb(0x30c));return;}const _0x195499=await this[_0xd8a4fb(0x1c2)]['loadUnit'](_0x1f17de,Number(_0x31e8d1),_0x377abd);_0x195499&&_0x195499 instanceof _0x435b21['Workbook']&&this['_setupSubUnitSync'](_0x195499);}async['_setupSubUnitSync'](_0x2ed50e){const _0xbd3823=_0x2c927c;await this['_updateSubUnitFromURLParams'](_0x2ed50e),_0x2ed50e[_0xbd3823(0x2dd)][_0xbd3823(0x27e)](_0x2cd233[_0xbd3823(0x308)](this['dispose$']))[_0xbd3823(0x33d)](_0x6f314e=>{const _0x6d95e8=_0xbd3823;_0x6f314e&&this[_0x6d95e8(0x207)](_0x6f314e);}),this[_0xbd3823(0x362)][_0xbd3823(0xf4)][_0xbd3823(0x27e)](_0x2cd233['takeUntil'](this['dispose$']))[_0xbd3823(0x33d)](()=>this[_0xbd3823(0x25e)](_0x2ed50e));}[_0x2c927c(0x207)](_0x1bc5ef,_0x22518f=!0x1){const _0x16e40d=_0x2c927c,_0x3b527d=this[_0x16e40d(0x362)][_0x16e40d(0x16b)]('subunit');_0x1bc5ef[_0x16e40d(0x11e)]()!==_0x3b527d&&this[_0x16e40d(0x362)][_0x16e40d(0x2be)](_0x16e40d(0x1e3),_0x1bc5ef[_0x16e40d(0x11e)](),_0x22518f);}async[_0x2c927c(0x25e)](_0x3761d5){const _0x5d3b15=_0x2c927c;var _0x53f815;const _0x24114b=this[_0x5d3b15(0x362)][_0x5d3b15(0x16b)](_0x5d3b15(0x1e3));if(!_0x24114b||!_0x3761d5['getSheetBySheetId'](_0x24114b)){const _0x93debe=_0x3761d5[_0x5d3b15(0x15d)]()[0x0],_0x47b3eb=_0x3761d5[_0x5d3b15(0x263)](_0x93debe);if(!_0x47b3eb)return;this[_0x5d3b15(0x207)](_0x47b3eb,!0x0),await this[_0x5d3b15(0x36c)][_0x5d3b15(0x2d3)](_0x4e65b0['SetWorksheetActivateCommand']['id'],{'unitId':_0x3761d5[_0x5d3b15(0x349)](),'subUnitId':_0x93debe});return;}((_0x53f815=_0x3761d5[_0x5d3b15(0x248)]())==null?void 0x0:_0x53f815[_0x5d3b15(0x11e)]())!==_0x24114b&&await this['_commandService'][_0x5d3b15(0x2d3)](_0x4e65b0[_0x5d3b15(0x18d)]['id'],{'unitId':_0x3761d5[_0x5d3b15(0x349)](),'subUnitId':_0x24114b});}},_0x23fa2d[_0x2c927c(0x20f)]=_0x34070b([_0x44a35d(0x0,_0x4a2486),_0x44a35d(0x1,_0x435b21[_0x2c927c(0x2ac)]),_0x44a35d(0x2,_0x435b21[_0x2c927c(0x310)]),_0x44a35d(0x3,_0x435b21[_0x2c927c(0x10f)](_0x423a8c[_0x2c927c(0x100)])),_0x44a35d(0x4,_0x435b21[_0x2c927c(0x139)](_0x47f244[_0x2c927c(0x33f)]))],_0x23fa2d[_0x2c927c(0x20f)]);var _0xd7ce1d=Object['getOwnPropertyDescriptor'],_0x48b05e=(_0x42a6d6,_0x24e678,_0x291b70,_0x3e2be1)=>{const _0x4a5e17=_0x2c927c;for(var _0x4a1c2b=_0x3e2be1>0x1?void 0x0:_0x3e2be1?_0xd7ce1d(_0x24e678,_0x291b70):_0x24e678,_0x4204f3=_0x42a6d6[_0x4a5e17(0x1cb)]-0x1,_0x25596a;_0x4204f3>=0x0;_0x4204f3--)(_0x25596a=_0x42a6d6[_0x4204f3])&&(_0x4a1c2b=_0x25596a(_0x4a1c2b)||_0x4a1c2b);return _0x4a1c2b;},_0x2fe2f9=(_0x1679da,_0x4cff27)=>(_0x2b6bb6,_0x4b5294)=>_0x4cff27(_0x2b6bb6,_0x4b5294,_0x1679da);let _0x326ff9=class{constructor(_0xbd2fd2,_0x386c50,_0x35329a){const _0x137930=_0x2c927c;this[_0x137930(0x234)]=_0xbd2fd2,this['_transformService']=_0x386c50,this['_renderManagerService']=_0x35329a;}[_0x2c927c(0x2e8)](_0x3abe42){const _0x429e53=_0x2c927c;this[_0x429e53(0x323)](_0x3abe42),this[_0x429e53(0x1d6)](_0x3abe42);}[_0x2c927c(0x1e4)](_0x5d67ec){const _0x367974=_0x2c927c,{unitID:_0x5ae819}=_0x5d67ec,_0x23a182=this['_renderManagerService'][_0x367974(0x21c)](_0x5ae819)[_0x367974(0x1ee)](_0x4b4959[_0x367974(0x2ad)]),{redoCache:_0x7294a8}=_0x23a182[_0x367974(0x20a)]();if(_0x7294a8[_0x367974(0x1cb)]===0x0)return _0x5d67ec;let _0x36c65=_0x435b21[_0x367974(0x331)]['deepClone'](_0x5d67ec[_0x367974(0x35c)][0x0]);for(let _0x470fc7=0x0;_0x470fc7<_0x7294a8[_0x367974(0x1cb)];_0x470fc7++){const _0x36f13a={'id':'doc.mutation.rich-text-editing','params':{..._0x7294a8[_0x470fc7]}},_0x292043=this['_transformService'][_0x367974(0x26b)](_0x36c65,_0x36f13a,!0x1);if(_0x1e007a[_0x367974(0x160)](_0x292043))throw _0x292043['error'];_0x36c65=_0x292043['m1Prime'];}return{..._0x435b21[_0x367974(0x331)][_0x367974(0x2c6)](_0x5d67ec),'mutations':[_0x36c65]};}[_0x2c927c(0x323)](_0x39fc52){const _0xa47112=_0x2c927c,{unitID:_0x4b0473}=_0x39fc52,_0x5a4057=this[_0xa47112(0x1e9)][_0xa47112(0x21c)](_0x4b0473)['with'](_0x4b4959[_0xa47112(0x2ad)]),{undoCache:_0x3351b3,redoCache:_0x2db180}=_0x5a4057[_0xa47112(0x20a)]();if(_0x3351b3['length']===0x0||_0x2db180[_0xa47112(0x1cb)]===0x0)return;const _0x1a10b9=[],_0x4d3a57=[];let _0x3e2ba1=_0x435b21[_0xa47112(0x331)][_0xa47112(0x2c6)](_0x39fc52[_0xa47112(0x35c)][0x0]),_0x3bcef8=_0x435b21[_0xa47112(0x331)]['deepClone'](_0x39fc52['mutations'][0x0]);for(let _0x5ec299=_0x3351b3[_0xa47112(0x1cb)]-0x1;_0x5ec299>=0x0;_0x5ec299--){const _0x5e6041={'id':_0xa47112(0x142),'params':{..._0x3351b3[_0x5ec299]}},_0x3cff01={'id':_0xa47112(0x142),'params':{..._0x2db180[_0x5ec299]}},_0x58f014=this['_transformService'][_0xa47112(0x26b)](_0x3e2ba1,_0x5e6041,!0x1),_0x5efecc=this[_0xa47112(0x185)]['transformMutation'](_0x3bcef8,_0x3cff01,!0x1);if(_0x1e007a[_0xa47112(0x160)](_0x58f014))throw _0x58f014['error'];if(_0x1e007a[_0xa47112(0x160)](_0x5efecc))throw _0x5efecc[_0xa47112(0x12d)];_0x1a10b9['unshift'](_0x58f014[_0xa47112(0x1d7)][_0xa47112(0x318)]),_0x4d3a57[_0xa47112(0x1c1)](_0x5efecc['m2Prime'][_0xa47112(0x318)]),_0x3e2ba1=_0x58f014[_0xa47112(0x372)],_0x3bcef8=_0x5efecc['m1Prime'];}_0x5a4057[_0xa47112(0x116)]({'undoCache':_0x1a10b9,'redoCache':_0x4d3a57});}[_0x2c927c(0x1d6)](_0x320399){const _0x2533c8=_0x2c927c,{unitID:_0x246e0d}=_0x320399,_0x37be87=this['_renderManagerService'][_0x2533c8(0x21c)](_0x246e0d)['with'](_0x4b4959[_0x2533c8(0x2ad)]),_0x4ee2d4=_0x37be87[_0x2533c8(0x350)]();if(_0x4ee2d4==null)return;const _0x2cdead=[{'id':_0x2533c8(0x142),'params':{'unitId':_0x320399[_0x2533c8(0x24c)],'actions':null,'textRanges':[_0x4ee2d4]}}],_0x21dcb0=this[_0x2533c8(0x185)]['transformMutationsWithChangeset'](_0x320399,_0x2cdead);if(!_0x1e007a[_0x2533c8(0x26c)](_0x21dcb0))throw _0x21dcb0[_0x2533c8(0x12d)];const _0x2a52c7=_0x21dcb0[_0x2533c8(0x1d7)][0x0]['params'][_0x2533c8(0xf2)];Array['isArray'](_0x2a52c7)&&_0x2a52c7[_0x2533c8(0x1cb)]&&_0x37be87[_0x2533c8(0x238)](_0x2a52c7[0x0]);}};_0x326ff9=_0x48b05e([_0x2fe2f9(0x0,_0x435b21[_0x2c927c(0x10f)](_0x435b21[_0x2c927c(0x11c)])),_0x2fe2f9(0x1,_0x1e007a[_0x2c927c(0x1be)]),_0x2fe2f9(0x2,_0x4af3d8[_0x2c927c(0x2ce)])],_0x326ff9);var _0x188008=Object[_0x2c927c(0x23e)],_0x5482e6=(_0x556871,_0x258a22,_0x2c468d,_0x522efd)=>{const _0x46d2e8=_0x2c927c;for(var _0xdad588=_0x522efd>0x1?void 0x0:_0x522efd?_0x188008(_0x258a22,_0x2c468d):_0x258a22,_0x21256e=_0x556871[_0x46d2e8(0x1cb)]-0x1,_0x1c2754;_0x21256e>=0x0;_0x21256e--)(_0x1c2754=_0x556871[_0x21256e])&&(_0xdad588=_0x1c2754(_0xdad588)||_0xdad588);return _0xdad588;},_0x27ce56=(_0x303ebe,_0x4e3925)=>(_0x358010,_0x10dc7e)=>_0x4e3925(_0x358010,_0x10dc7e,_0x303ebe);let _0x28e786=class{constructor(_0x1c7e58,_0x153b87,_0x404ad2){const _0x4f67aa=_0x2c927c;this[_0x4f67aa(0x234)]=_0x1c7e58,this[_0x4f67aa(0x185)]=_0x153b87,this[_0x4f67aa(0x367)]=_0x404ad2;}[_0x2c927c(0x16d)](_0x38cef1){this['_transformHistoryAndStateStack'](_0x38cef1);}[_0x2c927c(0x1e4)](_0x1f820f){const _0x4ee88d=_0x2c927c,{unitID:_0x53994e}=_0x1f820f,{collaboration:_0xe02502}=this[_0x4ee88d(0x367)][_0x4ee88d(0x2bc)](_0x53994e);if(_0xe02502[_0x4ee88d(0x1cb)]===0x0)return _0x1f820f;let _0x5e1fce=_0x435b21[_0x4ee88d(0x331)][_0x4ee88d(0x2c6)](_0x1f820f[_0x4ee88d(0x35c)][0x0]);for(let _0x56c453=0x0;_0x56c453<_0xe02502[_0x4ee88d(0x1cb)];_0x56c453++){const _0x5e68f2={'id':_0x4ee88d(0x142),'params':{'unitId':_0xe02502[_0x56c453][_0x4ee88d(0x31c)],..._0xe02502[_0x56c453][_0x4ee88d(0x327)]}},_0x448a87=this[_0x4ee88d(0x185)][_0x4ee88d(0x26b)](_0x5e1fce,_0x5e68f2,!0x1);if(_0x1e007a['isTransformMutationFailure'](_0x448a87))throw _0x448a87['error'];_0x5e1fce=_0x448a87['m1Prime'];}return{..._0x435b21[_0x4ee88d(0x331)][_0x4ee88d(0x2c6)](_0x1f820f),'mutations':[_0x5e1fce]};}[_0x2c927c(0x284)](_0xee6ce4){const _0x556d36=_0x2c927c,{unitID:_0x4000ed}=_0xee6ce4,{history:_0x5c1c9f,collaboration:_0x113287}=this[_0x556d36(0x367)][_0x556d36(0x2bc)](_0x4000ed);if(_0x5c1c9f[_0x556d36(0x1cb)]===0x0&&_0x113287['length']===0x0)return;const _0xb3667f=[],_0x39d1dd=[];let _0x54acbd=_0x435b21[_0x556d36(0x331)][_0x556d36(0x2c6)](_0xee6ce4['mutations'][0x0]),_0xfcec45=_0x435b21[_0x556d36(0x331)]['deepClone'](_0xee6ce4[_0x556d36(0x35c)][0x0]);for(let _0x283593=_0x5c1c9f[_0x556d36(0x1cb)]-0x1;_0x283593>=0x0;_0x283593--){const _0x2b2b87={'id':_0x556d36(0x142),'params':{'unitId':_0x5c1c9f[_0x283593]['unitId'],..._0x5c1c9f[_0x283593][_0x556d36(0x209)]}},_0x12f538={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5c1c9f[_0x283593][_0x556d36(0x31c)],..._0x5c1c9f[_0x283593][_0x556d36(0x327)]}},_0xa1b6a4=this[_0x556d36(0x185)][_0x556d36(0x26b)](_0x54acbd,_0x2b2b87,!0x1),_0x4a581a=this[_0x556d36(0x185)][_0x556d36(0x26b)](_0xfcec45,_0x12f538,!0x1);if(_0x1e007a['isTransformMutationFailure'](_0xa1b6a4))throw _0xa1b6a4[_0x556d36(0x12d)];if(_0x1e007a[_0x556d36(0x160)](_0x4a581a))throw _0x4a581a[_0x556d36(0x12d)];_0xb3667f[_0x556d36(0x1c1)]({..._0x5c1c9f[_0x283593],'undoState':_0xa1b6a4[_0x556d36(0x1d7)][_0x556d36(0x318)],'redoState':_0x4a581a['m2Prime'][_0x556d36(0x318)]}),_0x54acbd=_0xa1b6a4[_0x556d36(0x372)],_0xfcec45=_0x4a581a['m1Prime'];}_0x54acbd=_0x435b21[_0x556d36(0x331)][_0x556d36(0x2c6)](_0xee6ce4[_0x556d36(0x35c)][0x0]),_0xfcec45=_0x435b21['Tools'][_0x556d36(0x2c6)](_0xee6ce4[_0x556d36(0x35c)][0x0]);for(let _0x3aaae4=_0x113287['length']-0x1;_0x3aaae4>=0x0;_0x3aaae4--){const _0x5d84f1={'id':_0x556d36(0x142),'params':{'unitId':_0x113287[_0x3aaae4]['unitId'],..._0x113287[_0x3aaae4][_0x556d36(0x209)]}},_0x2940ac={'id':_0x556d36(0x142),'params':{'unitId':_0x113287[_0x3aaae4][_0x556d36(0x31c)],..._0x113287[_0x3aaae4][_0x556d36(0x327)]}},_0x3cf22b=this['_transformService'][_0x556d36(0x26b)](_0x54acbd,_0x5d84f1,!0x1),_0x2334fc=this[_0x556d36(0x185)][_0x556d36(0x26b)](_0xfcec45,_0x2940ac,!0x1);if(_0x1e007a[_0x556d36(0x160)](_0x3cf22b))throw _0x3cf22b['error'];if(_0x1e007a[_0x556d36(0x160)](_0x2334fc))throw _0x2334fc[_0x556d36(0x12d)];_0x39d1dd['unshift']({..._0x113287[_0x3aaae4],'undoState':_0x3cf22b[_0x556d36(0x1d7)][_0x556d36(0x318)],'redoState':_0x2334fc[_0x556d36(0x1d7)][_0x556d36(0x318)]}),_0x54acbd=_0x3cf22b[_0x556d36(0x372)],_0xfcec45=_0x2334fc[_0x556d36(0x372)];}this['_docStateChangeManagerService'][_0x556d36(0xfb)](_0x4000ed,{'history':_0xb3667f,'collaboration':_0x39d1dd});}};_0x28e786=_0x5482e6([_0x27ce56(0x0,_0x435b21[_0x2c927c(0x10f)](_0x435b21[_0x2c927c(0x11c)])),_0x27ce56(0x1,_0x1e007a['ITransformService']),_0x27ce56(0x2,_0x435b21[_0x2c927c(0x10f)](_0x4b4959[_0x2c927c(0x2c5)]))],_0x28e786);var _0x5dda59=Object[_0x2c927c(0x23e)],_0x428088=(_0x2bfe11,_0x54c190,_0x425d74,_0xbf7896)=>{const _0x1a759d=_0x2c927c;for(var _0x4ada2c=_0xbf7896>0x1?void 0x0:_0xbf7896?_0x5dda59(_0x54c190,_0x425d74):_0x54c190,_0x32b4a8=_0x2bfe11[_0x1a759d(0x1cb)]-0x1,_0x24748f;_0x32b4a8>=0x0;_0x32b4a8--)(_0x24748f=_0x2bfe11[_0x32b4a8])&&(_0x4ada2c=_0x24748f(_0x4ada2c)||_0x4ada2c);return _0x4ada2c;},_0x1d0287=(_0x1eae47,_0x55cac4)=>(_0x3eb722,_0x412b2a)=>_0x55cac4(_0x3eb722,_0x412b2a,_0x1eae47);let _0x279da1=class{constructor(_0x569b80,_0x5678e3){const _0x49993b=_0x2c927c;this[_0x49993b(0x234)]=_0x569b80,this[_0x49993b(0x185)]=_0x5678e3;}[_0x2c927c(0x1bc)](_0x441665){const _0x5376a0=_0x2c927c;var _0x27dca5;const _0x5e3d7f=this[_0x5376a0(0x234)][_0x5376a0(0x373)](_0xf499cd[_0x5376a0(0x143)]),_0x283383=(_0x27dca5=_0x5e3d7f[_0x5376a0(0x14a)]())!=null?_0x27dca5:[];if(_0x283383[_0x5376a0(0x1cb)]===0x0)return;const _0x14b98f=_0x441665['unitID'],_0x639107=[{'id':_0x5376a0(0x142),'params':{'unitId':_0x14b98f,'actions':null,'textRanges':_0x283383}}],_0x1c4711=this[_0x5376a0(0x185)][_0x5376a0(0x280)](_0x441665,_0x639107);if(!_0x1e007a[_0x5376a0(0x26c)](_0x1c4711))throw _0x1c4711[_0x5376a0(0x12d)];const _0x522af3=_0x1c4711[_0x5376a0(0x1d7)][0x0]['params']['textRanges'];Array[_0x5376a0(0x2b2)](_0x522af3)&&_0x522af3[_0x5376a0(0x1cb)]&&_0x5e3d7f[_0x5376a0(0x200)](_0x522af3,{'unitId':_0x14b98f,'subUnitId':_0x14b98f},!0x1);}};_0x279da1=_0x428088([_0x1d0287(0x0,_0x435b21[_0x2c927c(0x10f)](_0x435b21[_0x2c927c(0x11c)])),_0x1d0287(0x1,_0x1e007a[_0x2c927c(0x1be)])],_0x279da1);var _0xc16dba=Object['getOwnPropertyDescriptor'],_0x3bf040=(_0x4be736,_0x3fc766,_0xb120eb,_0x97ff2c)=>{const _0x57e80d=_0x2c927c;for(var _0x54bac9=_0x97ff2c>0x1?void 0x0:_0x97ff2c?_0xc16dba(_0x3fc766,_0xb120eb):_0x3fc766,_0x13cb33=_0x4be736[_0x57e80d(0x1cb)]-0x1,_0x211c14;_0x13cb33>=0x0;_0x13cb33--)(_0x211c14=_0x4be736[_0x13cb33])&&(_0x54bac9=_0x211c14(_0x54bac9)||_0x54bac9);return _0x54bac9;},_0x296cf4=(_0x3858a9,_0x376e58)=>(_0x2818a8,_0x4b235e)=>_0x376e58(_0x2818a8,_0x4b235e,_0x3858a9);let _0x5465fc=class extends _0x435b21[_0x2c927c(0x241)]{constructor(_0x35c829,_0x198445,_0x15790e,_0x3934d1,_0x516276,_0x3a2cc4,_0x11a588,_0x25ee72){const _0x120079=_0x2c927c;super(),_0x38f83b(this,_0x120079(0xed),new _0x2cd233[(_0x120079(0x11a))](_0x423a8c['CollaborationStatus'][_0x120079(0x244)])),(this[_0x120079(0x367)]=_0x35c829,this['_collaborationController']=_0x198445,this[_0x120079(0x101)]=_0x15790e,this[_0x120079(0x295)]=_0x3934d1,this[_0x120079(0x128)]=_0x516276,this[_0x120079(0x2eb)]=_0x3a2cc4,this[_0x120079(0x1b1)]=_0x11a588,this[_0x120079(0x1aa)]=_0x25ee72,this[_0x120079(0x37e)]());}[_0x2c927c(0x37e)](){const _0x1002ee=_0x2c927c;this[_0x1002ee(0x2db)](this[_0x1002ee(0x12e)]['entityInit$']['subscribe'](_0x3b2e70=>{const _0x3e8960=_0x1002ee,_0x586575=this[_0x3e8960(0x367)]['docStateChange$'][_0x3e8960(0x33d)](_0x553146=>{const _0x5456ac=_0x3e8960;if(_0x553146==null)return;const {unitId:_0x2b91eb,redoState:_0x210d81,commandId:_0x5c556f}=_0x553146;if(_0x2b91eb!==_0x3b2e70[_0x5456ac(0x24c)])return;const _0x376a88={'id':_0x5c556f,'type':_0x435b21['CommandType'][_0x5456ac(0x251)],'params':{'unitId':_0x2b91eb,'actions':_0x210d81['actions'],'textRanges':null}};_0x3b2e70['onLocalMutation'](_0x376a88);});if(_0x3b2e70['disposeWithMe'](_0x586575),_0x3b2e70 instanceof _0x423a8c[_0x3e8960(0x387)]){const _0x48c127={'onTransformIME':_0x3df51a=>this['_docTransformIMECacheService'][_0x3e8960(0x2e8)](_0x3df51a),'onTransformState':_0x38c7b2=>this[_0x3e8960(0x295)][_0x3e8960(0x16d)](_0x38c7b2),'onTransformSelections':_0x5c8129=>this[_0x3e8960(0x128)][_0x3e8960(0x1bc)](_0x5c8129),'onSyncEditingCollabCursor':_0xe0b1a2=>this[_0x3e8960(0x2eb)][_0x3e8960(0x1fb)](_0xe0b1a2),'onTransformRemoteChangesetByIMECache':_0x329b8b=>this['_docTransformIMECacheService'][_0x3e8960(0x1e4)](_0x329b8b),'onTransformRemoteChangesetByStateCache':_0x621cac=>this[_0x3e8960(0x295)][_0x3e8960(0x1e4)](_0x621cac)};_0x3b2e70[_0x3e8960(0x215)](_0x48c127);}}));}};_0x5465fc=_0x3bf040([_0x296cf4(0x0,_0x435b21[_0x2c927c(0x10f)](_0x4b4959[_0x2c927c(0x2c5)])),_0x296cf4(0x1,_0x435b21[_0x2c927c(0x10f)](_0x423a8c[_0x2c927c(0xf0)])),_0x296cf4(0x2,_0x435b21[_0x2c927c(0x10f)](_0x326ff9)),_0x296cf4(0x3,_0x435b21['Inject'](_0x28e786)),_0x296cf4(0x4,_0x435b21['Inject'](_0x279da1)),_0x296cf4(0x5,_0x435b21['Inject'](_0x4a01ed)),_0x296cf4(0x6,_0x58ede6[_0x2c927c(0x33c)]),_0x296cf4(0x7,_0x435b21[_0x2c927c(0x10f)](_0x435b21[_0x2c927c(0x2f3)]))],_0x5465fc);var _0x5b0a99=Object[_0x2c927c(0x23e)],_0x2e26de=(_0x5252a7,_0x43497a,_0x3f66f9,_0x253ac5)=>{const _0x28cc2f=_0x2c927c;for(var _0x4ed662=_0x253ac5>0x1?void 0x0:_0x253ac5?_0x5b0a99(_0x43497a,_0x3f66f9):_0x43497a,_0x160743=_0x5252a7[_0x28cc2f(0x1cb)]-0x1,_0xa2901c;_0x160743>=0x0;_0x160743--)(_0xa2901c=_0x5252a7[_0x160743])&&(_0x4ed662=_0xa2901c(_0x4ed662)||_0x4ed662);return _0x4ed662;},_0x1b1842=(_0x41cd93,_0x272539)=>(_0x2a95ff,_0x4eab5e)=>_0x272539(_0x2a95ff,_0x4eab5e,_0x41cd93);let _0x19bc91=class extends _0x435b21[_0x2c927c(0x241)]{constructor(_0x369cc1,_0x3409c1,_0x5dc17d){const _0x34c1da=_0x2c927c;super(),_0x38f83b(this,_0x34c1da(0x1b0),new Map()),_0x38f83b(this,_0x34c1da(0x2ec),new Map()),_0x38f83b(this,_0x34c1da(0x35b),!0x1),(this[_0x34c1da(0x2f6)]=_0x369cc1,this[_0x34c1da(0x206)]=_0x3409c1,this[_0x34c1da(0xff)]=_0x5dc17d);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x2c927c(0xeb)](){const _0x4bc5aa=_0x2c927c;this[_0x4bc5aa(0x35b)]=!0x1;}get[_0x2c927c(0x13c)](){return this['_saveTaskMap'];}[_0x2c927c(0x355)](){const _0x57e783=_0x2c927c;this[_0x57e783(0x1b8)]()[_0x57e783(0x2bd)](()=>super['dispose']());}async[_0x2c927c(0x2df)](_0x54558b){const _0x5710d9=_0x2c927c;return this[_0x5710d9(0x35b)]?null:this[_0x5710d9(0x206)][_0x5710d9(0xfc)](_0x423a8c['getLocalCacheKey'](_0x54558b));}async[_0x2c927c(0x19f)](_0x389435,_0x22b2d5){const _0x5d43b3=_0x2c927c;return!!this[_0x5d43b3(0x206)]['setItem'](_0x389435,_0x22b2d5);}['updateOfflineData'](_0x52d48d,_0x32f7b7,_0x1ca534,_0x2dc8aa){const _0x1cd4eb=_0x2c927c,_0x29b3d5=this[_0x1cd4eb(0xff)][_0x1cd4eb(0x155)](_0x52d48d);this[_0x1cd4eb(0x1b0)]['set'](_0x52d48d,{'unitID':_0x52d48d,'type':_0x32f7b7,'awaitingChangeset':_0x1ca534,'mutations':_0x2dc8aa,'rev':_0x29b3d5}),this[_0x1cd4eb(0x2ec)][_0x1cd4eb(0x133)](_0x52d48d)||this['_scheduleSaving'](_0x52d48d);}[_0x2c927c(0x158)](_0x38cf0e){const _0x56cd3b=_0x2c927c,_0x202876=this[_0x56cd3b(0xf8)]();_0x202876===0x0?this[_0x56cd3b(0x27c)](_0x38cf0e):this[_0x56cd3b(0x2ec)]['set'](_0x38cf0e,setTimeout(()=>this[_0x56cd3b(0x27c)](_0x38cf0e),_0x202876));}[_0x2c927c(0xf8)](){const _0x4adb3e=_0x2c927c;var _0x2b8cc0;return(_0x2b8cc0=this[_0x4adb3e(0x2f6)][_0x4adb3e(0x1bf)](_0x423a8c[_0x4adb3e(0x196)]))!=null?_0x2b8cc0:_0x423a8c[_0x4adb3e(0x34e)];}[_0x2c927c(0x27c)](_0xbdb619){const _0x32ad56=_0x2c927c,_0xd0d3b1=this[_0x32ad56(0x2ec)][_0x32ad56(0x373)](_0xbdb619);return _0xd0d3b1!==void 0x0&&window[_0x32ad56(0x2a0)](_0xd0d3b1),this[_0x32ad56(0x206)][_0x32ad56(0x32f)](_0x423a8c[_0x32ad56(0x322)](_0xbdb619),this['_cachedData'][_0x32ad56(0x373)](_0xbdb619))[_0x32ad56(0x2bd)](()=>this[_0x32ad56(0x2ec)][_0x32ad56(0x191)](_0xbdb619));}async['exhaustSavingTask'](){const _0x52ad64=_0x2c927c,_0x31ea0d=[];this[_0x52ad64(0x2ec)][_0x52ad64(0x186)]((_0x5bbad3,_0x4ce6a8)=>{const _0x188cf9=_0x52ad64;window[_0x188cf9(0x2a0)](_0x5bbad3),_0x31ea0d['push'](this[_0x188cf9(0x27c)](_0x4ce6a8)[_0x188cf9(0x2bd)](()=>{const _0x5e01fb=_0x188cf9;this[_0x5e01fb(0x2ec)][_0x5e01fb(0x191)](_0x4ce6a8);}));}),await Promise[_0x52ad64(0x17a)](_0x31ea0d);}};_0x19bc91=_0x2e26de([_0x1b1842(0x0,_0x435b21['IConfigService']),_0x1b1842(0x1,_0x435b21[_0x2c927c(0x2e1)]),_0x1b1842(0x2,_0x435b21[_0x2c927c(0x10f)](_0x1e007a[_0x2c927c(0x32b)]))],_0x19bc91);class _0x1b1813 extends _0x435b21[_0x2c927c(0x30a)]{constructor(){const _0x5adce2=_0x2c927c;super(),_0x38f83b(this,_0x5adce2(0xf4)),this['urlChange$']=_0x2cd233[_0x5adce2(0x376)](window,_0x5adce2(0x267))['pipe'](_0x2cd233['takeUntil'](this['dispose$']),_0x2cd233['shareReplay'](0x1),_0x2cd233[_0x5adce2(0x164)](void 0x0));}[_0x2c927c(0x2be)](_0xd8ab56,_0x345779,_0x4f28f3=!0x1){const _0x5f54d2=_0x2c927c,_0x40e64e=new URL(window[_0x5f54d2(0x1e6)]['href']);_0x40e64e[_0x5f54d2(0x180)][_0x5f54d2(0x1e0)](_0xd8ab56,_0x345779),_0x4f28f3?window[_0x5f54d2(0x29f)][_0x5f54d2(0x369)]('','',_0x40e64e[_0x5f54d2(0x28e)]()):window[_0x5f54d2(0x29f)]['pushState']('','',_0x40e64e[_0x5f54d2(0x28e)]());}[_0x2c927c(0x1df)](_0x4414e4,_0x40af2f=!0x1){const _0x43ce70=_0x2c927c,_0x53c6ba=new URL(window[_0x43ce70(0x1e6)]['href']);_0x53c6ba[_0x43ce70(0x180)][_0x43ce70(0x191)](_0x4414e4),_0x40af2f?window[_0x43ce70(0x29f)][_0x43ce70(0x369)]('','',_0x53c6ba[_0x43ce70(0x28e)]()):window[_0x43ce70(0x29f)][_0x43ce70(0x132)]('','',_0x53c6ba[_0x43ce70(0x28e)]());}['getParam'](_0x256e16){const _0x1ee5b5=_0x2c927c;var _0xe24949;return(_0xe24949=new URL(window['location'][_0x1ee5b5(0x136)])['searchParams'][_0x1ee5b5(0x373)](_0x256e16))!=null?_0xe24949:void 0x0;}}var _0x24d0f8=Object[_0x2c927c(0x386)],_0x3194c6=Object[_0x2c927c(0x23e)],_0x62dcd1=(_0x5dfee5,_0x4aa9c1,_0x19ee5f)=>_0x4aa9c1 in _0x5dfee5?_0x24d0f8(_0x5dfee5,_0x4aa9c1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x19ee5f}):_0x5dfee5[_0x4aa9c1]=_0x19ee5f,_0x339f24=(_0x1d5ebf,_0x2fe0c2,_0x2002ce,_0x160cad)=>{const _0x121754=_0x2c927c;for(var _0x2e4a60=_0x160cad>0x1?void 0x0:_0x160cad?_0x3194c6(_0x2fe0c2,_0x2002ce):_0x2fe0c2,_0x2150be=_0x1d5ebf[_0x121754(0x1cb)]-0x1,_0x377473;_0x2150be>=0x0;_0x2150be--)(_0x377473=_0x1d5ebf[_0x2150be])&&(_0x2e4a60=_0x377473(_0x2e4a60)||_0x2e4a60);return _0x2e4a60;},_0x5a588f=(_0x4f0c1f,_0xa33e18)=>(_0x4cb694,_0x3cd11d)=>_0xa33e18(_0x4cb694,_0x3cd11d,_0x4f0c1f),_0xa00b8b=(_0x2d87c5,_0xa24b17,_0x87d022)=>_0x62dcd1(_0x2d87c5,_0xa24b17+'',_0x87d022);const _0x2e533c=_0x2c927c(0x21b);_0x23fa2d[_0x2c927c(0x198)]=class extends _0x435b21[_0x2c927c(0x28c)]{constructor(_0x1f56b5=_0x4aa346,_0x5f0d45,_0x119a91,_0x4d49c0){const _0x4697bc=_0x2c927c;super(),this[_0x4697bc(0x103)]=_0x1f56b5,this[_0x4697bc(0x1e9)]=_0x5f0d45,this[_0x4697bc(0x234)]=_0x119a91,this[_0x4697bc(0x2f6)]=_0x4d49c0;const {..._0x8ea465}=_0x435b21[_0x4697bc(0x16c)]({},_0x4aa346,this['_config']);this['_configService'][_0x4697bc(0x34a)](_0x382e8b,_0x8ea465);}[_0x2c927c(0x1d0)](){const _0x3c5074=_0x2c927c;this[_0x3c5074(0x11f)](),this[_0x3c5074(0x18f)]();}[_0x2c927c(0x2f4)](){const _0x515834=_0x2c927c;this[_0x515834(0x273)]();}[_0x2c927c(0x11f)](){const _0x5ac44a=_0x2c927c;var _0x5983e6;const _0x455a82=[[_0x90e5a9],[_0x279da1],[_0x326ff9],[_0x28e786],[_0x4a01ed],[_0x4a2486,{'useClass':_0x1b1813}],[_0x4e6983[_0x5ac44a(0x2da)],{'useClass':_0x4e6983[_0x5ac44a(0x14d)]}],[_0x423a8c[_0x5ac44a(0x339)],{'useClass':_0x19bc91}],[_0x23fa2d[_0x5ac44a(0x214)]],[_0x5465fc],[_0x35bcbb],[_0x5433ad],[_0x49f868],[_0x23fa2d['CollaborationDataLoaderController']]];_0x435b21['registerDependencies'](this['_injector'],_0x435b21[_0x5ac44a(0x1b6)](_0x455a82,(_0x5983e6=this[_0x5ac44a(0x103)])==null?void 0x0:_0x5983e6['override']));}[_0x2c927c(0x273)](){const _0x4cae3b=_0x2c927c;this[_0x4cae3b(0x2db)](this['_renderManagerService'][_0x4cae3b(0x211)](_0x435b21[_0x4cae3b(0x2c3)][_0x4cae3b(0x1c6)],[_0x3317c9])),this[_0x4cae3b(0x2db)](this[_0x4cae3b(0x1e9)]['registerRenderModule'](_0x435b21[_0x4cae3b(0x2c3)][_0x4cae3b(0x29d)],[_0x3bd592]));}[_0x2c927c(0x18f)](){const _0x39fccc=_0x2c927c;_0x435b21[_0x39fccc(0x23f)](this['_injector'],[[_0x5433ad],[_0x23fa2d[_0x39fccc(0x214)]],[_0x5465fc],[_0x35bcbb],[_0x23fa2d[_0x39fccc(0x20f)]]]);}},_0xa00b8b(_0x23fa2d[_0x2c927c(0x198)],_0x2c927c(0x307),_0x2e533c),_0x23fa2d[_0x2c927c(0x198)]=_0x339f24([_0x435b21[_0x2c927c(0x25c)](_0x423a8c[_0x2c927c(0x14f)]),_0x5a588f(0x1,_0x4af3d8[_0x2c927c(0x2ce)]),_0x5a588f(0x2,_0x435b21[_0x2c927c(0x10f)](_0x435b21[_0x2c927c(0x11c)])),_0x5a588f(0x3,_0x435b21['IConfigService'])],_0x23fa2d[_0x2c927c(0x198)]);var _0x471f6a=Object[_0x2c927c(0x23e)],_0x5684d4=(_0x34db63,_0x487fa7,_0x4fe490,_0x2e2a58)=>{const _0x50e963=_0x2c927c;for(var _0x264bfd=_0x2e2a58>0x1?void 0x0:_0x2e2a58?_0x471f6a(_0x487fa7,_0x4fe490):_0x487fa7,_0x128fdf=_0x34db63[_0x50e963(0x1cb)]-0x1,_0x183641;_0x128fdf>=0x0;_0x128fdf--)(_0x183641=_0x34db63[_0x128fdf])&&(_0x264bfd=_0x183641(_0x264bfd)||_0x264bfd);return _0x264bfd;},_0x13cf62=(_0x5e2415,_0x1e28fa)=>(_0x41934d,_0x59e750)=>_0x1e28fa(_0x41934d,_0x59e750,_0x5e2415);_0x23fa2d['BrowserCollaborationSocketService']=class extends _0x423a8c[_0x2c927c(0x269)]{constructor(_0x12445f,_0x118534,_0x28c15c,_0x4dc10e,_0x4d953c){super(_0x12445f,_0x118534,_0x28c15c,_0x4dc10e,_0x4d953c);}async[_0x2c927c(0x353)](_0x57f1ef){const _0x464ed5=_0x2c927c,_0x1f287c=await this['_getSessionTicket'](),_0x2cbc06=this[_0x464ed5(0x2d2)](_0x57f1ef,_0x1f287c);return this['_doCreateSocket'](_0x2cbc06);}[_0x2c927c(0x2d2)](_0xacfddb,_0x4b5575){const _0xdd59f1=_0x2c927c,_0x3131d2=typeof window>'u'?new URL(_0xacfddb):new URL(_0xacfddb,window[_0xdd59f1(0x1e6)][_0xdd59f1(0x381)]);_0x3131d2[_0xdd59f1(0x180)][_0xdd59f1(0x1e0)]('sessionTicket',_0x4b5575);const _0x3de3cc=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xdd59f1(0x1e6)][_0xdd59f1(0x34b)]);return _0x3de3cc['get'](_0xdd59f1(0x192))&&_0x3131d2[_0xdd59f1(0x180)]['set'](_0xdd59f1(0x192),_0x3de3cc['get']('runId')),_0x3131d2[_0xdd59f1(0x28e)]();}async['_getSessionTicket'](){const _0x17b2e0=_0x2c927c;var _0x2a54d6,_0xd8742d,_0x30eda4;const _0x9e96f4=this[_0x17b2e0(0x2f6)][_0x17b2e0(0x1bf)](_0x423a8c[_0x17b2e0(0x31b)]),_0xec1739=(_0x2a54d6=_0x9e96f4==null?void 0x0:_0x9e96f4[_0x17b2e0(0x166)])!=null?_0x2a54d6:_0x423a8c['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x30eda4=(_0xd8742d=(await this['_httpService'][_0x17b2e0(0x373)](_0xec1739,{'headers':{'Content-Type':_0x17b2e0(0x115)}}))[_0x17b2e0(0x16e)])==null?void 0x0:_0xd8742d[_0x17b2e0(0x293)])!=null?_0x30eda4:'';}},_0x23fa2d[_0x2c927c(0x1a5)]=_0x5684d4([_0x13cf62(0x0,_0x435b21[_0x2c927c(0x10f)](_0x435b21['Injector'])),_0x13cf62(0x1,_0x435b21['Inject'](_0x4e6983[_0x2c927c(0x21d)])),_0x13cf62(0x2,_0x435b21['IConfigService']),_0x13cf62(0x3,_0x435b21[_0x2c927c(0x2ac)]),_0x13cf62(0x4,_0x1e007a['ISnapshotServerService'])],_0x23fa2d[_0x2c927c(0x1a5)]);const _0x23191a=0x7530,_0x34881a='ACTIVE_UNIT_EVENT_CHANNEL';class _0xf8cc21 extends _0x435b21['Disposable']{constructor(){const _0x4c4801=_0x2c927c;super(),_0x38f83b(this,'_id',_0x435b21[_0x4c4801(0x30d)]()),_0x38f83b(this,'_selfUnitIDs',new Set()),_0x38f83b(this,_0x4c4801(0x13e),new Map()),_0x38f83b(this,_0x4c4801(0x22a),null),_0x38f83b(this,_0x4c4801(0x24d),new Map()),_0x38f83b(this,_0x4c4801(0x10d),new Map()),this[_0x4c4801(0x170)]();}['dispose'](){const _0x24d706=_0x2c927c;super[_0x24d706(0x355)](),this[_0x24d706(0x24d)][_0x24d706(0x186)]((_0x29091d,_0x1277d3)=>this[_0x24d706(0x26d)](_0x1277d3)),this[_0x24d706(0x22a)]&&window[_0x24d706(0x222)](this[_0x24d706(0x22a)]);}[_0x2c927c(0x2cb)](_0x5c09fa){const _0x18c122=_0x2c927c;return this[_0x18c122(0x287)](_0x5c09fa)['pipe'](_0x2cd233[_0x18c122(0x2e7)]());}[_0x2c927c(0x17f)](_0x165a07){const _0xcad183=_0x2c927c;this[_0xcad183(0x356)][_0xcad183(0x1b7)]===0x0&&this[_0xcad183(0x1b3)](),this['_selfUnitIDs']['add'](_0x165a07),this['_send']({'type':0x0,'memberID':this[_0xcad183(0x37d)],'unitIDs':[_0x165a07],'isForwarded':!0x1});}['disposeUnit'](_0x3e5607){const _0x431f1d=_0x2c927c;this[_0x431f1d(0x356)][_0x431f1d(0x191)](_0x3e5607),this[_0x431f1d(0x356)][_0x431f1d(0x1b7)]===0x0&&this[_0x431f1d(0x22a)]&&window[_0x431f1d(0x222)](this[_0x431f1d(0x22a)]);}[_0x2c927c(0x170)](){const _0x195f83=_0x2c927c;this[_0x195f83(0x2db)](_0x435b21[_0x195f83(0x1bd)](_0x2cd233['fromEvent'](window,_0x195f83(0x268))[_0x195f83(0x33d)](_0x399eaa=>{const _0x308b68=_0x195f83;if(_0x399eaa[_0x308b68(0x130)]!==_0x34881a||!_0x399eaa[_0x308b68(0x317)])return;const _0x153ed0=JSON['parse'](_0x399eaa[_0x308b68(0x317)]);this[_0x308b68(0x1f4)](_0x153ed0);}))),window[_0x195f83(0x1b5)](_0x195f83(0x18c),()=>this[_0x195f83(0x312)]({'type':0x1,'memberID':this[_0x195f83(0x37d)],'unitIDs':Array[_0x195f83(0x30f)](this[_0x195f83(0x356)])}));}['_handleEvent'](_0x2af9b0){const _0x597da4=_0x2c927c;switch(_0x2af9b0[_0x597da4(0x17b)]){case 0x0:this[_0x597da4(0x2a4)](_0x2af9b0);break;case 0x1:this[_0x597da4(0x129)](_0x2af9b0);break;case 0x2:this[_0x597da4(0x1ba)](_0x2af9b0);break;}}['_handleJoinEvent'](_0x519806){const _0x6a5930=_0x2c927c,{unitIDs:_0x1e357c,memberID:_0x197c4d,isForwarded:_0xd46e88}=_0x519806;_0x1e357c[_0x6a5930(0x186)](_0x47bb5a=>{const _0x2a7454=_0x6a5930;if(!_0xd46e88&&this[_0x2a7454(0x13e)][_0x2a7454(0x133)](_0x47bb5a)&&this['_ensureSubject'](_0x47bb5a)['next'](_0x423a8c[_0x2a7454(0x203)]['OTHER_CLIENTS_EDITING']),!this[_0x2a7454(0x13e)][_0x2a7454(0x133)](_0x47bb5a)||!this[_0x2a7454(0x13e)][_0x2a7454(0x373)](_0x47bb5a)['has'](_0x197c4d)){const _0x1793e4=this[_0x2a7454(0x13e)][_0x2a7454(0x373)](_0x47bb5a)||new Set();_0x1793e4[_0x2a7454(0x35f)](_0x197c4d),this[_0x2a7454(0x13e)]['set'](_0x47bb5a,_0x1793e4),this['_scheduleClearOtherTimer'](_0x197c4d);}}),_0xd46e88||this[_0x6a5930(0x312)]({'type':0x0,'memberID':this[_0x6a5930(0x37d)],'unitIDs':[...this[_0x6a5930(0x356)]],'isForwarded':!0x0});}[_0x2c927c(0x291)](_0x2a78ed){const _0x1a541c=_0x2c927c;this[_0x1a541c(0x26d)](_0x2a78ed);const _0x26a9e4=window[_0x1a541c(0x1d8)](()=>{const _0x407115=_0x1a541c;this[_0x407115(0x13e)][_0x407115(0x186)](_0x189ef9=>{const _0x4b5d0d=_0x407115;_0x189ef9[_0x4b5d0d(0x191)](_0x2a78ed);});},_0x23191a*0x2);this[_0x1a541c(0x24d)][_0x1a541c(0x1e0)](_0x2a78ed,_0x26a9e4);}[_0x2c927c(0x26d)](_0x5c481b){const _0x50bd94=_0x2c927c;if(this[_0x50bd94(0x24d)][_0x50bd94(0x133)](_0x5c481b)){const _0x580047=this['_clearOtherTimers'][_0x50bd94(0x373)](_0x5c481b);_0x580047&&window[_0x50bd94(0x2a0)](_0x580047),this[_0x50bd94(0x24d)][_0x50bd94(0x1e0)](_0x5c481b,null);}}[_0x2c927c(0x129)](_0x365c1d){const _0x3e4cb4=_0x2c927c,{memberID:_0x414d53,unitIDs:_0x538a69}=_0x365c1d;_0x538a69[_0x3e4cb4(0x186)](_0x15243d=>{const _0x397bf2=_0x3e4cb4;var _0x1c85cb;const _0x3b897f=this[_0x397bf2(0x13e)][_0x397bf2(0x373)](_0x15243d);_0x3b897f&&(_0x3b897f[_0x397bf2(0x191)](_0x414d53),(_0x1c85cb=this[_0x397bf2(0x287)](_0x15243d))==null||_0x1c85cb[_0x397bf2(0x1ab)](_0x3b897f['size']===0x0?_0x423a8c[_0x397bf2(0x203)][_0x397bf2(0xfa)]:_0x423a8c[_0x397bf2(0x203)][_0x397bf2(0x292)]));}),this['_removeClearOtherTimer'](_0x414d53);}[_0x2c927c(0x1ba)](_0x40e97b){this['_scheduleClearOtherTimer'](_0x40e97b['memberID']);}[_0x2c927c(0x312)](_0x2bcb33){const _0x181bae=_0x2c927c;localStorage[_0x181bae(0x32f)](_0x34881a,JSON[_0x181bae(0x255)](_0x2bcb33));}['_scheduleHeartbeat'](){const _0x3cdf7e=_0x2c927c;this[_0x3cdf7e(0x22a)]=window[_0x3cdf7e(0x30b)](()=>{const _0x52f1c1=_0x3cdf7e;this[_0x52f1c1(0x312)]({'type':0x2,'memberID':this['_id']});},_0x23191a);}[_0x2c927c(0x287)](_0xe342b3){const _0x3e5ba5=_0x2c927c;return this[_0x3e5ba5(0x10d)][_0x3e5ba5(0x133)](_0xe342b3)||this['_unitStatus'][_0x3e5ba5(0x1e0)](_0xe342b3,new _0x2cd233[(_0x3e5ba5(0x11a))](_0x423a8c[_0x3e5ba5(0x203)][_0x3e5ba5(0xfa)])),this[_0x3e5ba5(0x10d)][_0x3e5ba5(0x373)](_0xe342b3);}}var _0x2268df=(_0x40d8fa=>(_0x40d8fa[_0x40d8fa['UNDEFINED']=0x0]=_0x2c927c(0x1a9),_0x40d8fa[_0x40d8fa['OK']=0x1]='OK',_0x40d8fa[_0x40d8fa[_0x2c927c(0x2d1)]=0x2]=_0x2c927c(0x2d1),_0x40d8fa[_0x40d8fa[_0x2c927c(0x23c)]=0x3]='PERMISSION_DENIED',_0x40d8fa[_0x40d8fa['NOT_FOUND']=0x4]='NOT_FOUND',_0x40d8fa[_0x40d8fa[_0x2c927c(0x208)]=0x5]=_0x2c927c(0x208),_0x40d8fa[_0x40d8fa['ALREADY_EXISTS']=0x6]=_0x2c927c(0x259),_0x40d8fa[_0x40d8fa[_0x2c927c(0x20b)]=0x7]=_0x2c927c(0x20b),_0x40d8fa[_0x40d8fa[_0x2c927c(0x28d)]=0x8]='TOO_MANY_REQUESTS',_0x40d8fa[_0x40d8fa[_0x2c927c(0x245)]=0x9]=_0x2c927c(0x245),_0x40d8fa[_0x40d8fa[_0x2c927c(0x2fd)]=0xa]='LOGIN_FAILED',_0x40d8fa[_0x40d8fa[_0x2c927c(0x326)]=0x1389]=_0x2c927c(0x326),_0x40d8fa[_0x40d8fa[_0x2c927c(0x15f)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x40d8fa[_0x40d8fa[_0x2c927c(0x36d)]=0x1772]=_0x2c927c(0x36d),_0x40d8fa[_0x40d8fa[_0x2c927c(0x2de)]=0x1773]=_0x2c927c(0x2de),_0x40d8fa[_0x40d8fa['APPLY_REJECT']=0x1b59]=_0x2c927c(0x113),_0x40d8fa[_0x40d8fa['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x2c927c(0x313),_0x40d8fa[_0x40d8fa[_0x2c927c(0x246)]=0x1b5b]=_0x2c927c(0x246),_0x40d8fa[_0x40d8fa[_0x2c927c(0x279)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x40d8fa[_0x40d8fa[_0x2c927c(0x2b6)]=0x1b5d]=_0x2c927c(0x2b6),_0x40d8fa[_0x40d8fa[_0x2c927c(0x1e1)]=0x1f41]=_0x2c927c(0x1e1),_0x40d8fa[_0x40d8fa[_0x2c927c(0x32c)]=0x2329]=_0x2c927c(0x32c),_0x40d8fa[_0x40d8fa[_0x2c927c(0x33a)]=0x232a]=_0x2c927c(0x33a),_0x40d8fa[_0x40d8fa[_0x2c927c(0x121)]=0x232b]=_0x2c927c(0x121),_0x40d8fa[_0x40d8fa[_0x2c927c(0x32e)]=0x232c]=_0x2c927c(0x32e),_0x40d8fa[_0x40d8fa[_0x2c927c(0x14c)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x40d8fa[_0x40d8fa[_0x2c927c(0x1f1)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x40d8fa[_0x40d8fa[_0x2c927c(0x2f9)]=0x2712]=_0x2c927c(0x2f9),_0x40d8fa[_0x40d8fa['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x2c927c(0x219),_0x40d8fa[_0x40d8fa[_0x2c927c(0x205)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x40d8fa[_0x40d8fa[_0x2c927c(0x1a4)]=0x271a]=_0x2c927c(0x1a4),_0x40d8fa[_0x40d8fa[_0x2c927c(0x22d)]=0x271b]=_0x2c927c(0x22d),_0x40d8fa[_0x40d8fa[_0x2c927c(0x125)]=0x2af9]=_0x2c927c(0x125),_0x40d8fa[_0x40d8fa[_0x2c927c(0x181)]=0x2ee1]=_0x2c927c(0x181),_0x40d8fa[_0x40d8fa[_0x2c927c(0x1eb)]=0x2ee2]='INVALID_INVITE_CODE',_0x40d8fa[_0x40d8fa[_0x2c927c(0x286)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x40d8fa[_0x40d8fa[_0x2c927c(0x237)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x40d8fa[_0x40d8fa[_0x2c927c(0x212)]=0x2ee5]=_0x2c927c(0x212),_0x40d8fa[_0x40d8fa[_0x2c927c(0x35a)]=0x32c9]=_0x2c927c(0x35a),_0x40d8fa[_0x40d8fa['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x2c927c(0x16f),_0x40d8fa[_0x40d8fa[_0x2c927c(0x314)]=0x32cb]=_0x2c927c(0x314),_0x40d8fa[_0x40d8fa[_0x2c927c(0x316)]=-0x1]=_0x2c927c(0x316),_0x40d8fa))(_0x2268df||{}),_0x3b4c30=Object[_0x2c927c(0x23e)],_0x34da06=(_0x5f5d2f,_0x3474d9,_0x217b1a,_0x273f74)=>{for(var _0x5270b8=_0x273f74>0x1?void 0x0:_0x273f74?_0x3b4c30(_0x3474d9,_0x217b1a):_0x3474d9,_0x3aa3ae=_0x5f5d2f['length']-0x1,_0x4d8a11;_0x3aa3ae>=0x0;_0x3aa3ae--)(_0x4d8a11=_0x5f5d2f[_0x3aa3ae])&&(_0x5270b8=_0x4d8a11(_0x5270b8)||_0x5270b8);return _0x5270b8;},_0x18882a=(_0x66e05e,_0x5ed2fd)=>(_0x13f857,_0x148960)=>_0x5ed2fd(_0x13f857,_0x148960,_0x66e05e);_0x23fa2d[_0x2c927c(0x23a)]=class extends _0x435b21[_0x2c927c(0x241)]{constructor(_0x5e4c93,_0x54f720,_0x2edb78){const _0x1d1be7=_0x2c927c;super(),this[_0x1d1be7(0x319)]=_0x5e4c93,this[_0x1d1be7(0x1c0)]=_0x54f720,this[_0x1d1be7(0x2f6)]=_0x2edb78;}async[_0x2c927c(0x283)](_0x307225,_0x587c8e,_0x35eae8,..._0xfca96f){const _0x138320=_0x2c927c;var _0x5d46da,_0x36107a,_0x32c6bf,_0x594bc5;const _0x1a84e7=this[_0x138320(0x319)][_0x138320(0x1a2)]();if(!_0x1a84e7)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x1f961c=((_0x5d46da=this[_0x138320(0x2f6)][_0x138320(0x1bf)](_0x423a8c['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x5d46da:_0x423a8c[_0x138320(0x1f6)])+'/'+_0x307225+_0x138320(0x131)+_0x587c8e,_0xa31397=new URL(window[_0x138320(0x1e6)][_0x138320(0x136)]),_0x84cb={'scriptId':_0x307225,'runId':(_0x36107a=_0xa31397[_0x138320(0x180)][_0x138320(0x373)](_0x138320(0x192)))!=null?_0x36107a:'','function':_0x587c8e,'unitId':_0x1a84e7[_0x138320(0x349)](),'argsOfFunction':JSON[_0x138320(0x255)](_0xfca96f),'invokeId':(_0x32c6bf=_0x35eae8[_0x138320(0x114)])!=null?_0x32c6bf:'','executionId':(_0x594bc5=_0x35eae8['executionId'])!=null?_0x594bc5:''};try{const _0x17efc0=await this[_0x138320(0x1c0)]['post'](_0x1f961c,{'body':_0x84cb});return _0x17efc0['body'][_0x138320(0x12d)]&&_0x17efc0['body'][_0x138320(0x12d)][_0x138320(0x19c)]!==_0x2268df['OK']?_0x138320(0x36b):_0x17efc0[_0x138320(0x16e)][_0x138320(0x13d)];}catch{return _0x138320(0x36b);}}},_0x23fa2d[_0x2c927c(0x23a)]=_0x34da06([_0x18882a(0x0,_0x435b21[_0x2c927c(0x374)]),_0x18882a(0x1,_0x435b21[_0x2c927c(0x10f)](_0x4e6983[_0x2c927c(0x21d)])),_0x18882a(0x2,_0x435b21[_0x2c927c(0x217)])],_0x23fa2d[_0x2c927c(0x23a)]),_0x23fa2d[_0x2c927c(0x171)]=_0x402c00,_0x23fa2d[_0x2c927c(0x20c)]=_0x4a2486,_0x23fa2d[_0x2c927c(0x2f7)]=_0x3997f5,_0x23fa2d[_0x2c927c(0x213)]=_0xf8cc21,_0x23fa2d[_0x2c927c(0x117)]=_0x1b1813,Object[_0x2c927c(0x386)](_0x23fa2d,Symbol[_0x2c927c(0x159)],{'value':_0x2c927c(0x2a3)});}));function _0x3abd(){const _0x5b85cb=['UnitStatus','HEADER_MENU','YUUMI_SUBSCRIPTION_NOT_FOUND','_localStorageService','_updateURLWithCurrentState','UNAUTHENTICATED','undoState','getUndoRedoMutationParamsCache','INVALID_ARGUMENT','IURLService','_updateLocalCursor','off-line-single','CollaborationDataLoaderController','_collabSessionService','registerRenderModule','INVITE_CODE_ALREADY_BOUND','WebBrowserSingleActiveUnitService','DesktopCollaborationStatusDisplayController','addHandlerCallback','endRow','IConfigService','clsx','YUUMI_RATE_OVER_LIMIT','startsWith','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','getRenderById','HTTPService','subUnitId','red300','univerjs-icon\x20univerjs-icon-','current','clearInterval','attrs','blue400','onPointerEnter$','source','handleDeleteRangeMoveUp','_cursorShapes','reconnect','_heartbeatTimer','cursorInfo','svg','YUUMI_ASYNCIO_CANCELLED','UniverProCollaborationClient','TRANSFORM_CHANGE_OBSERVABLE_TYPE','Warning','subscribeEvent','_toggleOnline','UniverUi','_injector','_anchor','defs','USER_NOT_INVITED_CODE','setActiveRange','_render','RemoteUniscriptService','IBeforeCloseService','PERMISSION_DENIED','DOC_RANGE_TYPE','getOwnPropertyDescriptor','touchDependencies','DisposableCollection','Disposable','Rectangle','getCoordByCell','NOT_COLLAB','COMPLETION_FINISHED','APPLY_REVISION_CONFILICT','_getScale','getActiveSheet','measureText','entries','univer-text-red-500','unitID','_clearOtherTimers','complete','UniverEngineFormula','string','MUTATION','evenodd','min','0\x200\x2017\x2016','stringify','getColor','SHEET_VIEWPORT_KEY','_online','ALREADY_EXISTS','_labelPosition','filter','DependentOn','1em','_updateSubUnitFromURLParams','roomMembers','_refreshCollabCursors','_collabCursorController','closePath','getSheetBySheetId','getMember','column','@univerjs-pro/collaboration-client','popstate','storage','CollaborationSocketService','CollaborationUIEventId','transformMutation','isTransformMutationsWithChangesetSuccess','_removeClearOtherTimer','getCollabCursors$','indexOf','_name','addObjects','restore','_registerRenderDependencies','_getMergeRange','#FFF','makeDirty','TEXT','_themeService','APPLY_PERMISSION_DENIED','asObservable','getUniverSheetInstance','_saveCache','ThemeService','pipe','SheetsSelectionsService','transformMutationsWithChangeset','RefRangeService','assign','runOnServer','_transformHistoryAndStateStack','xlink:href','INVITE_CODE_REQUIRED','_ensureSubject','sheetId','_imageIoService','_backgroundColor','_getSheetObject','Plugin','TOO_MANY_REQUESTS','toString','substring','values','_scheduleClearOtherTimer','OTHER_CLIENTS_EDITING','ticket','_hideTimer','_docTransformStateCacheService','height','icon','random','CONFLICT','TEXT_RANGE_LAYER_INDEX','combineLatest','collab-text-anchor-','UNIVER_SHEET','27169760cDZdUN','history','clearTimeout','max','_colorAssignService','Module','_handleJoinEvent','hasOwnProperty','InsertRangeMoveRightCommandId','some','url(#off-line-single_clip0_910_343)','moveTo','triggerDblclick','_syncEditingCollabCursorService','ILogService','DocIMEInputManagerService','SOCKET_FAILED','CollaborationUIEventService','[CollaborationDataLoaderController]','none','isArray','whenReady','MemberService','_getAnchorBounding','APPLY_DUPLICATED','collabStatus.fetchMiss','CLOSE_ROOM','CollaborationSessionService','_assignedColors','currentColor','getStateCache','then','setParam','roomMembers$','collab-rect-range-','setAlpha','sessionStatus$','UniverInstanceType','ranges','DocStateChangeManagerService','deepClone','Error','getValue','collaboration-client-ui.config','eventID','getUnitStatus$','_univerInstanceService','SheetSkeletonManagerService','IRenderManagerService','collabStatus.conflict','@univerjs-pro/collaboration','INTERNAL_ERROR','_createSocketURL','executeCommand','_docSkeletonManagerService','_hovered','isActive','status$','createInstance','replace','ISocketService','disposeWithMe','hide','activeSheet$','ENSURE_SNAPSHOT_EXECUTION','loadOfflineData','PENDING','ILocalStorageService','univer-text-green-500','width','@univerjs/drawing','getTypeOfUnitAdded$','findNodePositionByCharIndex','distinctUntilChanged','transformIMECache','fill','addObject','_docSyncEditingCollabCursorService','_saveTaskMap','useDependency','FETCH_MISS','useCallback','name','contains','addClipboardHook','LocaleService','onRendered','defIds','_configService','SheetCollabCursorShape','_cursors','YUUMI_URL_COL_OUT_OF_RANGE','_textBubble','push','collabStatus.notCollab','LOGIN_FAILED','_range','EffectRefRangId','Unknown\x20user','getVpScrollXYInfoByPosToVp','@univerjs/engine-render','event$','sheetID','backgroundColor','black','pluginName','takeUntil','UniverSheetsUi','RxDisposable','setInterval','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','generateRandomId','UniverRpc','from','ICommandService','unit','_send','APPLY_NON_SEQUENTIAL_REVISION','EMAIL_HAS_BEEN_BOUND','@univerjs/docs','UNRECOGNIZED','newValue','params','_instanceService','_memberService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','unitId','throttleTime','mask','save','_onCursorUpdate','handleInsertRangeMoveRight','getLocalCacheKey','_transformUndoRedoStack','transformByState','trim','CHANGESET_REVISION_CONFILICT','redoState','_onRefRangeChange','SYNCED','SetDocZoomRatioOperation','RevisionService','LICENSE_MAX_UNITS_EXCEEDED','debounceTime','LICENSE_EXPORT_SIZE_EXCEEDED','setItem','engine','Tools','USERS_LEAVE','createIdentifier','...','_startDocCollabCursor','focused$','CollaborationEvent','5426904mhIEhQ','ILocalCacheService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_refRangeService','IMessageService','subscribe','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','IRemoteInstanceService','onPointerMove$','_beforeCloseService','unsubscribe','getRangePointData','_draw','fillText','handleMoveRange','@univerjs/design','Shape','getUnitId','setConfig','search','beginPath','gold400','LOCAL_CACHE_INTERVAL','0\x200\x2016\x2016','getActiveRange','hovered','_onCursorDelete','createSocket','round','dispose','_selfUnitIDs','createElement','url(#$1','call','WECHAT_HAS_BEEN_BOUND','_disabled','mutations','selection','_initResize','add','serializeRangeWithSheet','InsertRangeMoveDownCommandId','_urlService','RemoveRowCommandId','_docClipboardService','@univerjs/rpc','IImageIoService','_docStateChangeManagerService','RemoveColCommandId','replaceState','font','Failed','_commandService','SNAPSHOT_HAS_BEEN_REMOVED','@univerjs/core','_colorIndex','fillRule','getSkeleton','m1Prime','get','IUniverInstanceService','SOCKET_FAILED_RETRY','fromEvent','path','getRelativeToViewportCoord','setShapeProps','labelPosition','use','handleInsertRow','_id','_initEntityListener','onCommandExecuted','_eventUnsubscribe','origin','transform','_entityInit$','_initEvent','@univerjs/sheets-ui','defineProperty','DocCollaborationEntity','collaboration.closeRoom','enableLocalCache','DocSkeletonManagerService','_status$','_context','rxjs','CollaborationController','_updateCollabCursors','textRanges','_color','urlChange$','UniverDesign','Rect','CollaborationStatus','_getSaveTimeout','handleIRemoveRow','NO_OTHER_CLIENTS_EDITING','setStateCache','getItem','AWAITING_WITH_PENDING','OffLineSingle','_revisionService','DataLoaderService','_docTransformIMECacheService','uni.network.url-service','_config','react','session.connection-failed','onPointerLeave$','getOffsetConfig','getSheetObject','exports','_initCommandExecutedListener','104928JZJpTO','includes','_unitStatus','MoveRangeCommandId','Inject','handleDeleteRangeMoveLeft','top','Subject','APPLY_REJECT','invokeId','application/json','setUndoRedoMutationParamsCache','WebURLService','Vector2','handleIRemoveCol','BehaviorSubject','_anchorDot','Injector','idSuffix','getSheetId','_registerDependencies','ONLINE','LICENSE_IMPORT_SIZE_EXCEEDED','JOIN_ROOM_FAILED','deserializeRangeWithSheet','init','PY_RUNTIME_SCRIPT_ERROR','INotificationService','toRgbString','_docTransformSelectionsService','_handleLeaveEvent','permission.title','className','_cursor','error','_collaborationController','_cursorInfo$','key','/run/','pushState','has','clipPath','UniverNetwork','href','getCurrentSelections','_session','Optional','_handleHover','UniverDocs','saveTaskMap','result','_unitOnClients','RegularPolygon','_sheetSkeletonManagerService','InsertRowCommandId','doc.mutation.rich-text-editing','DocSelectionManagerService','DeleteRangeMoveUpCommandId','COLORS','fillStyle','_collabCursorState$','tag','_roomMembers$','getDocRanges','UniverIcon','LICENSE_DISTRO_REJECTED','WebSocketService','collaboration.single-unit.warning','UniverCollaborationClientPlugin','send','collabStatus.syncing','split','_startSheetCollabCursor','getCurrentUnitForType','getCurrentRevOfUnit','debounce','_scene','_scheduleSaving','toStringTag','rxjs/operators','NodePositionConvertToRectRange','displayName','getUnhiddenWorksheets','assignAColorForMemberID','SNAPSHOT_INVALID_SNAPSHOT','isTransformMutationFailure','#fff','857IJyFjT','row','mapTo','_collaborationUIEventService','wsSessionTicketUrl','flatMap','lineTo','MessageType','cursorInfo$','getParam','merge','transformStateCache','body','MOBILE_HAS_BEEN_BOUND','_init','CollaborationStatusDisplay','_entities','children','prototype','_notificationService','registerRefRange','skeleton','concat','@univerjs/ui','all','type','react/jsx-runtime','@univerjs/network','UniverDocsUi','editingUnit','searchParams','INVITE_CODE_HAS_BEEN_UES','ColorKit','SetTextSelectionsOperation','jsx','_transformService','forEach','_uiPartsService','RECT','_removeCollabCursors','color','@univerjs/docs-ui','unload','SetWorksheetActivateCommand','currentTheme$','_initDependencies','5209236unBPOv','delete','runId','forwardRef','arc','operators','LOCAL_CACHE_INTERVAL_KEY','session.will-retry','UniverCollaborationClientUIPlugin','startColumn','_logService','registerBeforeClose','code','find','1517065IcssDC','saveOfflineData','SUBMIT_CHANGESET_TIMEOUT','@univerjs/sheets','getFocusedUnit','_drawTextRange','YUUMI_NO_CUBOID_FOR_QUESTION','BrowserCollaborationSocketService','off-line-single_clip0_910_343','show','drawWith','UNDEFINED','_localeService','next','symbol','collaboration-client.offline-data-not-saved','verdancy600','range','_cachedData','_messageService','_drawRectRange','_scheduleHeartbeat','_lastPointer','addEventListener','mergeOverrideWithDependencies','size','exhaustSavingTask','SessionStatus','_handleHeartbeatEvent','on-line-single_clip0_910_349','transformSelections','toDisposable','ITransformService','getConfig','_httpService','unshift','_dataLoaderService','OFFLINE','_initStatusListener','UniverCore','UNIVER_DOC','resize','requireSession','Tooltip','AWAITING','length','_hover','_shapes','getAncestorScale','getViewport','onStarting','_toggleOffline','amd','1006KbADCa','onTransformChange$','15786dDRiri','_transformPreviousActiveRange','m2Prime','setTimeout','@univerjs/engine-formula','debug','dispose$','data','_drawAnchor','extend','removeParam','set','CONNECTOR_DATA_TOO_LARGE','connectInjector','subunit','transformRemoteChangeset','3352VQFucl','location','M0\x200H16V16H0z','switchMap','_renderManagerService','currentSkeleton$','INVALID_INVITE_CODE','147rfNPNK','div','with','session.collaboration-timeout','function','YUUMI_UNABLE_LOAD_URL','collabCursorState$','FromArray','_handleEvent','bottom','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getCellPositionByOffset','text','UPDATE_CURSOR','_initStatusComponent','syncEditingCollabCursor','React','handleInsertRangeMoveDown','map','on-line-single','replaceDocRanges','endColumn','getTypeOfUnitDisposed$'];_0x3abd=function(){return _0x5b85cb;};return _0x3abd();}