@univerjs-pro/collaboration-client-ui 0.7.0-nightly.202505071607 → 0.7.0-nightly.202505101606

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 _0x242a(_0x18f55b,_0x344c94){const _0x30e7fc=_0x30e7();return _0x242a=function(_0x242a25,_0x3d9951){_0x242a25=_0x242a25-0x77;let _0xbb7cf8=_0x30e7fc[_0x242a25];return _0xbb7cf8;},_0x242a(_0x18f55b,_0x344c94);}function _0x30e7(){const _0x335fe9=['YUUMI_NO_CUBOID_FOR_QUESTION','post','_handleHover','_transformPreviousActiveRange','_lastPointer','YUUMI_ALL_TABLES_IS_INVALID','SNAPSHOT_HAS_BEEN_REMOVED','useRef','OTHER_CLIENT_EDITING','UniverRpc','ISocketService','textRanges','unshift','UniverIcon','DocIMEInputManagerService','UniverUi','LICENSE_IMPORT_SIZE_EXCEEDED','_assignedColors','syncEditingCollabCursor','setConfig','runRefRangeMutations','collabStatus.fetchMiss','Tools','_updateCollabCursors','toStringTag','_textBubble','React','collaboration-client-ui.config','_unitOnClients','IRenderManagerService','_collabSessionService','docStateChange$','_handleJoinEvent','min','UniverCollaborationClientUIPlugin','CollaborationStatus','_localeService','rgba(255,\x20255,\x20255,\x200.01)','_name','_imageIoService','clsx','flatMap','connectInjector','_scheduleClearOtherTimer','_toggleOnline','WebSocketService','removeParam','getCollabEntity$','asObservable','_docTransformStateCacheService','length','distinctUntilChanged','OffLineSingle','TEXT_RANGE_LAYER_INDEX','set','addObject','BehaviorSubject','getTypeOfUnitDisposed$','UnitStatus','font','hasOwnProperty','session.will-retry','handleInsertRow','complete','_scene','getOwnPropertyDescriptor','_anchor','CollaborationStatusDisplay','addEventListener','YUUMI_SUBSCRIPTION_NOT_FOUND','UniverInstanceType','@univerjs/engine-formula','49986HXfTQY','override','params','size','_docClipboardService','_color','clearInterval','CollaborationUIEventService','DesktopCollaborationStatusDisplayController','assign','backgroundColor','_entityInit$','getAncestorScale','_setupBeforeClosingHandler','onTransformChange$','updateOfflineData','getRangePointData','_httpService','UniverProCollaboration','div','_getAnchorBounding','selection','_beforeCloseService','entityInit$','triggerDblclick','CHANGESET_REVISION_CONFILICT','debug','selections','createIdentifier','@univerjs/sheets','INVITE_CODE_REQUIRED','RegularPolygon','PENDING','_updateLocalCursor','find','Vector2','extend','/run/','runId','@univerjs/design','_logService','addClipboardHook','body','getUnitId','YUUMI_TABLE_NOT_FOUND_IN_UNIT','merge','entries','1em','transformStateCache','...','UNDEFINED','_urlService','disposeWithMe','_hideTimer','LOCAL_CACHE_INTERVAL_KEY','TOO_MANY_REQUESTS','Rect','LICENSE_MAX_UNITS_EXCEEDED','DisposableCollection','SOCKET_FAILED','height','MessageType','UNAUTHENTICATED','_cursors','jsxs','_onRefRangeChange','m2Prime','HTTPService','startsWith','UniverNetwork','TRANSFORM_CHANGE_OBSERVABLE_TYPE','INVITE_CODE_HAS_BEEN_UES','INotificationService','isActive','arc','_docStateChangeManagerService','_scheduleHeartbeat','measureText','toRgbString','LICENSE_EXPORT_SIZE_EXCEEDED','MemberService','defIds','collab-text-range-','DocSelectionManagerService','mask','_getScale','_onCursorDelete','deepClone','_status$','@univerjs/sheets-ui','handleInsertCol','cursorInfo','UniverSheets','registerBeforeClose','addObjects','lineTo','m1Prime','jsx','transformSelections','NodePositionConvertToRectRange','doc.mutation.rich-text-editing','UniverSheetsUi','onRendered','_id','getUniverSheetInstance','xlink:href','@univerjs-pro/collaboration','max','DEFAULT_WS_SESSION_TICKET_URL','YUUMI_AI_RUN_FAILED','values','currentTheme$','FETCH_MISS','getUnhiddenWorksheets','getLocalCacheKey','setShapeProps','_shapes','@univerjs/rpc','APPLY_NON_SEQUENTIAL_REVISION','_transformHistoryAndStateStack','SUBMIT_CHANGESET_TIMEOUT','0\x200\x2016\x2016','_localCacheService','map','UniverProCollaborationClientUi','@univerjs/network','url(#$1','Error','UNRECOGNIZED','_initCommandExecutedListener','registerComponent','_syncEditingCollabCursorService','throttleTime','toString','handleMoveRange','has','_scheduleSaving','getActiveSheet','COMPLETION_FINISHED','_initDependencies','AWAITING_WITH_PENDING','CollaborationEvent','fillStyle','engine','getTypeOfUnitAdded$','SetWorksheetActivateCommand','getMemberID','assignAColorForMemberID','location','_cachedData','getVpScrollXYInfoByPosToVp','SheetCollabCursorShape','DocSkeletonManagerService','fromEvent','popstate','saveTaskMap','green.600','handleInsertRangeMoveRight','setAlpha','_saveTaskMap','_eventUnsubscribe','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_notificationService','_cursor','takeUntil','Inject','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','WebBrowserSingleActiveUnitService','_docSyncEditingCollabCursorService','_drawTextRange','replaceDocRanges','getConfig','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','split','LOGIN_FAILED','prototype','transformMutationsWithChangeset','TEXT','forEach','1035503FTLPUn','DocCollaborationEntity','resize','row','_startSheetCollabCursor','getDocRanges','history','getCollabCursors$','_instanceService','_send','cursorInfo$','_handleLeaveEvent','_transformService','redoState','getMember','1621932mUTtXJ','SHEET_VIEWPORT_KEY','createSocket','name','_saveCache','_getMergeRange','substring','_updateURLWithCurrentState','error','CollaborationUIEventId','OFFLINE','function','YUUMI_UNABLE_LOAD_URL','isTransformMutationsWithChangesetSuccess','collab-text-anchor-','svg','getCurrentUnitForType','_initResize','href','_entities','indexOf','disposeUnit','origin','moveTo','@univerjs-pro/collaboration-client','Workbook','debounceTime','UniverDesign','key','UniverProCollaborationClient','univer-flex\x20univer-items-center','_removeCollabCursors','#FFF','debounce','256tmNeIt','getColorFromTheme','generateRandomId','icon','current','top','USER_NOT_INVITED_CODE','labelPosition','collabStatus.syncing','[RemoteUniscriptService]:\x20no\x20focused\x20unit','reconnect','hovered','skeleton','onPointerLeave$','trim','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','registerRenderModule','setItem','getCurrentRevOfUnit','UniverCollaborationClientPlugin','_clearOtherTimers','_getSaveTimeout','fill','currentSkeleton$','NOT_COLLAB','clipPath','url(#off-line-single_clip0_910_343)','text','UPDATE_CURSOR','ILocalStorageService','_context','executeCommand','_online','sessionStatus$','none','INVALID_ARGUMENT','_themeService','UniverEngineRender','shareReplay','INVITE_CODE_ALREADY_BOUND','parse','on-line-single_clip0_910_349','InsertColCommandId','_injector','_init','getRenderById','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','APPLY_REJECT','subunit','PY_RUNTIME_SCRIPT_ERROR','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_revisionService','CollaborationDataLoaderController','getOffsetConfig','filter','_handleHeartbeatEvent','MoveRangeCommandId','event$','next','getFocusedUnit','UniverCore','findNodePositionByCharIndex','YUUMI_RATE_OVER_LIMIT','LICENSE_DISTRO_REJECTED','Shape','eventID','BuiltInUIPart','send','_renderManagerService','show','Tooltip','black','type','whenReady','loadOfflineData','_disabled','@univerjs/drawing','newValue','isEditing','toDisposable','ILocalCacheService','delete','bottom','Failed','SetTextSelectionsOperation','purple.300','useCallback','RichTextEditingMutation','_removeClearOtherTimer','drawWith','@univerjs/engine-render','editingUnit','SetSelectionsOperation','_collabCursorState$','onMouseMove','899960jOjoRR','RemoveRowCommandId','_collaborationController','_createSocketURL','getSheetId','ILogService','Rectangle','width','[CollaborationDataLoaderController]','clearTimeout','CollaborationSocketService','uni.network.url-service','replace','IMessageService','_hover','IUniverInstanceService','@univerjs/ui','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','replaceState','wsSessionTicketUrl','unitID','_transformUndoRedoStack','result','_dataLoaderService','NodePositionConvertToCursor','RemoveColCommandId','hide','_toggleOffline','_initStatusListener','unit','setUndoRedoMutationParamsCache','WECHAT_HAS_BEEN_BOUND','COLORS','memberID','round','init','0\x200\x2017\x2016','DataLoaderService','_getSessionTicket','CommandType','EffectRefRangId','onCommandExecuted','getParam','getCurrent','subscribeEvent','includes','_collabCursorController','HEADER_MENU','onStarting','react/jsx-runtime','IBeforeCloseService','off-line-single','useObservable','_draw','IConfigService','executionId','2KhPyzN','beginPath','setInterval','operators','currentColor','_docTransformIMECacheService','mergeOverrideWithDependencies','pipe','_localStorageService','Disposable','UNIVER_DOC','_docSkeletonManagerService','range','setActiveRange','M0\x200H16V16H0z','handleDeleteRangeMoveLeft','_cursorInfo$','_initEntityListener','apply','_initEvent','color','@univerjs/docs','InsertRangeMoveDownCommandId','2467374rRNpbQ','search','UNIVER_SHEET','EMAIL_HAS_BEEN_BOUND','ENSURE_SNAPSHOT_EXECUTION','_initStatusComponent','isTransformMutationFailure','touchDependencies','evenodd','_docSkeleton','_backgroundColor','pushState','dispose$','ACTIVE_UNIT_EVENT_CHANNEL','ThemeService','ColorKit','startRow','off-line-single_clip0_910_343','rxjs','object','add','UniverDocs','all','_colorAssignService','undoState','Module','_docTransformSelectionsService','Injector','unitId','saveImage','SetDocZoomRatioOperation','unsubscribe','YUUMI_ASYNCIO_CANCELLED','combineLatest','getSkeleton','some','with','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_ensureSubject','Warning','_refRangeService','YUUMI_URL_COL_OUT_OF_RANGE','transformRemoteChangeset','registerRefRange','url(#on-line-single_clip0_910_349)','data','_session','MUTATION','DOC_RANGE_TYPE','children','getValue','searchParams','getColor','mutations','setParam','3sHnMIx','_sheetSkeletonManagerService','INTERNAL_ERROR','@univerjs/docs-ui','ALREADY_EXISTS','_setupSubUnitSync','OnLineSingle','_commandService','136700mhQNSH','_heartbeatTimer','transformIMECache','random','displayName','getOwnPropertySymbols','session.collaboration-timeout','_handleEvent','SYNCED','_range','ranges','get','onPointerMove$','exhaustSavingTask','PERMISSION_DENIED','_registerRenderDependencies','handleDeleteRangeMoveUp','INVALID_INVITE_CODE','_cursorShapes','collabCursorState$','getMergeData','NO_OTHER_CLIENTS_EDITING','transformByState','getStateCache','invokeId','ITransformService','collabStatus.offline','red.300','collaboration.closeRoom','createInstance','application/json','APPLY_DUPLICATED','RxDisposable','CONNECTOR_DATA_TOO_LARGE','dispose','RemoteUniscriptService','onPointerEnter$','handleInsertRangeMoveDown','_unitStatus','FromArray','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600','APPLY_REVISION_CONFILICT','_config','startColumn','ICommandService','SheetsSelectionsService','transformMutation','Unknown\x20user','_uiPartsService','save','_roomMembers$','_memberService','subscribe','then','_startDocCollabCursor','_getSheetObject','path','CollaborationController','disableLocalCache','SNAPSHOT_INVALID_SNAPSHOT','APPLY_PERMISSION_DENIED','_anchorDot','univer-text-green-500','status$','useDependency','BrowserCollaborationSocketService','_render','RECT','push','248858FQildU','endRow','DependentOn','_registerDependencies','focused$','_drawRectRange','attrs','_univerInstanceService','call','_configService','getCoordByCell','_hovered','jiqing.500','idSuffix','tag','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_labelPosition','collaboration.single-unit.warning','colorChannel1','IURLService','CollaborationSessionService','from','contains','pluginName','getSheetBySheetId','createElement','_selfUnitIDs','concat','_onCursorUpdate','_refreshCollabCursors','defs','string','restore','CLOSE_ROOM','_updateSubUnitFromURLParams','collabStatus.notCollab','mapTo','DocStateChangeManagerService','forwardRef','Plugin','collaboration-client.offline-data-not-saved','ONLINE','roomMembers','requireSession','InsertRowCommandId','defineProperty','getItem','univer-flex\x20univer-mr-2\x20univer-text-xl','_messageService','urlChange$','collabStatus.conflict','isArray','fillRule','_colorIndex','switchMap','MOBILE_HAS_BEEN_BOUND','_collaborationUIEventService','sessionTicket','saveOfflineData','#fff','react','OTHER_CLIENTS_EDITING','getSheetObject','session.connection-failed','InsertRangeMoveRightCommandId','LocaleService'];_0x30e7=function(){return _0x335fe9;};return _0x30e7();}(function(_0x4b5b1f,_0x2a3176){const _0x86299c=_0x242a,_0x3f0daf=_0x4b5b1f();while(!![]){try{const _0x52849d=-parseInt(_0x86299c(0x1b6))/0x1*(-parseInt(_0x86299c(0x11b))/0x2)+parseInt(_0x86299c(0x169))/0x3*(parseInt(_0x86299c(0x302))/0x4)+-parseInt(_0x86299c(0xe3))/0x5+-parseInt(_0x86299c(0x132))/0x6+parseInt(_0x86299c(0x2f3))/0x7+parseInt(_0x86299c(0x84))/0x8*(parseInt(_0x86299c(0x240))/0x9)+-parseInt(_0x86299c(0x171))/0xa;if(_0x52849d===_0x2a3176)break;else _0x3f0daf['push'](_0x3f0daf['shift']());}catch(_0x5ea9c6){_0x3f0daf['push'](_0x3f0daf['shift']());}}}(_0x30e7,0x5b943),function(_0x2a620a,_0x5d1c34){const _0x49655e=_0x242a;typeof exports==_0x49655e(0x145)&&typeof module<'u'?_0x5d1c34(exports,require(_0x49655e(0x7a)),require('@univerjs/core'),require(_0x49655e(0xde)),require(_0x49655e(0x2bd)),require(_0x49655e(0x16c)),require(_0x49655e(0xd0)),require(_0x49655e(0x144)),require(_0x49655e(0x130)),require(_0x49655e(0x2aa)),require(_0x49655e(0x23f)),require(_0x49655e(0x25d)),require('rxjs/operators'),require(_0x49655e(0x299)),require(_0x49655e(0x114)),require(_0x49655e(0xf3)),require(_0x49655e(0x267)),require('react'),require(_0x49655e(0x2b5))):typeof define==_0x49655e(0x30d)&&define['amd']?define(['exports','@univerjs-pro/collaboration-client','@univerjs/core',_0x49655e(0xde),_0x49655e(0x2bd),_0x49655e(0x16c),_0x49655e(0xd0),_0x49655e(0x144),_0x49655e(0x130),_0x49655e(0x2aa),_0x49655e(0x23f),_0x49655e(0x25d),'rxjs/operators','@univerjs/sheets-ui',_0x49655e(0x114),_0x49655e(0xf3),_0x49655e(0x267),_0x49655e(0x1f2),_0x49655e(0x2b5)],_0x5d1c34):(_0x2a620a=typeof globalThis<'u'?globalThis:_0x2a620a||self,_0x5d1c34(_0x2a620a[_0x49655e(0x2bc)]={},_0x2a620a[_0x49655e(0x7f)],_0x2a620a[_0x49655e(0xc0)],_0x2a620a[_0x49655e(0xa9)],_0x2a620a[_0x49655e(0x285)],_0x2a620a['UniverDocsUi'],_0x2a620a['UniverDrawing'],_0x2a620a['rxjs'],_0x2a620a[_0x49655e(0x147)],_0x2a620a[_0x49655e(0x252)],_0x2a620a['UniverEngineFormula'],_0x2a620a[_0x49655e(0x29c)],_0x2a620a[_0x49655e(0x144)][_0x49655e(0x11e)],_0x2a620a[_0x49655e(0x2a5)],_0x2a620a['React'],_0x2a620a[_0x49655e(0x207)],_0x2a620a[_0x49655e(0x7d)],_0x2a620a[_0x49655e(0x212)],_0x2a620a[_0x49655e(0x201)]));}(this,function(_0x285d46,_0x479769,_0x1def49,_0x451005,_0x5196ad,_0x38c4f6,_0x5c8edc,_0x1bc390,_0x5ec733,_0x529ed4,_0x506429,_0x218759,_0x4ab621,_0x25374d,_0x287e60,_0x13fd76,_0xe78f23,_0x532356,_0x2dbfe8){'use strict';const _0x3f93a3=_0x242a;var _0xbd2d8b=Object['defineProperty'],_0x35ab38=(_0x3d6e60,_0x15fcba,_0x2eac01)=>_0x15fcba in _0x3d6e60?_0xbd2d8b(_0x3d6e60,_0x15fcba,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2eac01}):_0x3d6e60[_0x15fcba]=_0x2eac01,_0x2d103a=(_0x55c71f,_0x28751b,_0x5c248a)=>_0x35ab38(_0x55c71f,typeof _0x28751b!='symbol'?_0x28751b+'':_0x28751b,_0x5c248a),_0x16cb55=Object['getOwnPropertyDescriptor'],_0x191aaa=(_0x18d522,_0x4979cb,_0x36f1c9,_0x1a306c)=>{const _0x3ab849=_0x242a;for(var _0x38aabe=_0x1a306c>0x1?void 0x0:_0x1a306c?_0x16cb55(_0x4979cb,_0x36f1c9):_0x4979cb,_0x5d2fed=_0x18d522[_0x3ab849(0x22a)]-0x1,_0x20d3fc;_0x5d2fed>=0x0;_0x5d2fed--)(_0x20d3fc=_0x18d522[_0x5d2fed])&&(_0x38aabe=_0x20d3fc(_0x38aabe)||_0x38aabe);return _0x38aabe;},_0x10cee3=(_0x5c999d,_0x4f4ddb)=>(_0x32ab7b,_0x306eab)=>_0x4f4ddb(_0x32ab7b,_0x306eab,_0x5c999d);let _0x351e0a=class extends _0x1def49[_0x3f93a3(0x191)]{constructor(_0x5133fd,_0x446070){const _0x40d4b3=_0x3f93a3;super(),this['_docClipboardService']=_0x5133fd,this[_0x40d4b3(0x21f)]=_0x446070,this[_0x40d4b3(0xb0)]();}[_0x3f93a3(0xb0)](){const _0x108da1=_0x3f93a3,_0x3a73cf=this;this[_0x108da1(0x274)](this[_0x108da1(0x244)][_0x108da1(0x269)]({'onBeforePasteImage':async _0xc8db0d=>{const _0x2fd6cd=_0x108da1,_0x479ae4=await _0x3a73cf[_0x2fd6cd(0x21f)][_0x2fd6cd(0x14f)](_0xc8db0d);return _0x479ae4?{'source':_0x479ae4['source'],'imageSourceType':_0x479ae4['imageSourceType']}:null;}}));}};_0x351e0a=_0x191aaa([_0x10cee3(0x0,_0x38c4f6['IDocClipboardService']),_0x10cee3(0x1,_0x5c8edc['IImageIoService'])],_0x351e0a);const _0x1a429d=[_0x3f93a3(0xd9),_0x3f93a3(0x1c2),_0x3f93a3(0x2dc),_0x3f93a3(0x18c),'blue.400','yellow.400'];class _0xc01724 extends _0x1def49['Disposable']{constructor(){const _0x881a92=_0x3f93a3;super(...arguments),_0x2d103a(this,_0x881a92(0x209),new Map()),_0x2d103a(this,'_colorIndex',0x0);}[_0x3f93a3(0x2d3)](_0x2dc617){const _0x31d698=_0x3f93a3;if(this[_0x31d698(0x209)][_0x31d698(0x2c7)](_0x2dc617))return this[_0x31d698(0x209)][_0x31d698(0x17c)](_0x2dc617);const _0x12189d=_0x1a429d[this[_0x31d698(0x1eb)]];return this[_0x31d698(0x1eb)]=(this[_0x31d698(0x1eb)]+0x1)%_0x1a429d[_0x31d698(0x22a)],this[_0x31d698(0x209)]['set'](_0x2dc617,_0x12189d),_0x12189d;}}function _0x30f1a3(_0x2670c0){const _0x25aa6f=_0x3f93a3;let _0x30f9f0='';for(const _0xcad034 of _0x2670c0){const {startOffset:_0xb86737,endOffset:_0x45780d,isActive:_0x4f188a,rangeType:_0x43791f,segmentId:_0x2962a3,segmentPage:_0x568fb3}=_0xcad034;_0x30f9f0[_0x25aa6f(0x22a)]&&(_0x30f9f0+=','),_0x30f9f0+=_0xb86737+':'+_0x45780d+':'+(_0x4f188a?'1':'0')+':'+_0x43791f+':'+_0x2962a3+':'+_0x568fb3;}return _0x30f9f0;}function _0x3b2e1b(_0x53d576){const _0x584d5d=_0x3f93a3,_0x52c03a=_0x53d576[_0x584d5d(0x2ed)](','),_0x3dfeda=[];for(const _0x1a28c7 of _0x52c03a){const [_0xa44373,_0x40210f,_0x39323d,_0x39e97c,_0x47085e,_0xa7429]=_0x1a28c7[_0x584d5d(0x2ed)](':');_0x3dfeda[_0x584d5d(0x1b5)]({'startOffset':Number(_0xa44373),'endOffset':Number(_0x40210f),'collapsed':_0xa44373===_0x40210f,'isActive':_0x39323d==='1','rangeType':_0x39e97c===_0x1def49[_0x584d5d(0x162)][_0x584d5d(0x2f1)]?_0x1def49[_0x584d5d(0x162)][_0x584d5d(0x2f1)]:_0x1def49[_0x584d5d(0x162)][_0x584d5d(0x1b4)],'segmentId':typeof _0x47085e==_0x584d5d(0x1d5)?String(_0x47085e):'','segmentPage':Number(_0xa7429!=null?_0xa7429:-0x1)});}return _0x3dfeda[_0x584d5d(0x155)](_0x104450=>_0x104450['isActive'])||(_0x3dfeda[0x0][_0x584d5d(0x289)]=!0x0),_0x3dfeda;}class _0x3a08fe extends _0x1def49[_0x3f93a3(0x191)]{constructor(){const _0x1f08c=_0x3f93a3;super(...arguments),_0x2d103a(this,'_collabCursorState$',new _0x1bc390[(_0x1f08c(0x230))](null)),_0x2d103a(this,_0x1f08c(0x184),this[_0x1f08c(0xe1)][_0x1f08c(0x228)]());}['syncEditingCollabCursor'](_0x2470d5){const {unitID:_0x954cbe,memberID:_0xca26f2,textRanges:_0x587f25}=_0x2470d5,_0x4e1215=_0x30f1a3(_0x587f25);if(_0x4e1215==='')return;const _0x46c79c={'unitID':_0x954cbe,'memberID':_0xca26f2,'selection':_0x4e1215};this['_collabCursorState$']['next'](_0x46c79c);}}var _0xa54a48=Object[_0x3f93a3(0x239)],_0x268c6a=(_0x651ede,_0x27ce6b,_0x131936,_0xe2d0)=>{for(var _0x118a00=_0xe2d0>0x1?void 0x0:_0xe2d0?_0xa54a48(_0x27ce6b,_0x131936):_0x27ce6b,_0x187a68=_0x651ede['length']-0x1,_0x28093c;_0x187a68>=0x0;_0x187a68--)(_0x28093c=_0x651ede[_0x187a68])&&(_0x118a00=_0x28093c(_0x118a00)||_0x118a00);return _0x118a00;},_0x2c7489=(_0x55a367,_0x3774c8)=>(_0x2204d6,_0x589bc7)=>_0x3774c8(_0x2204d6,_0x589bc7,_0x55a367);const _0x4e8f7a=0x12c,_0x492642=0x64;let _0x1ee7ee=class extends _0x1def49[_0x3f93a3(0x191)]{constructor(_0xacc29e,_0x5f1f53,_0x3168cd,_0x2ae840,_0x1daa6c,_0x3763f9,_0x462f8a,_0x58fb0f,_0x204a20){const _0x5e06b9=_0x3f93a3;super(),_0x2d103a(this,_0x5e06b9(0xa4),!0x1),_0x2d103a(this,_0x5e06b9(0xb0),!0x1),_0x2d103a(this,_0x5e06b9(0x12b),new _0x1bc390['BehaviorSubject'](new Map())),_0x2d103a(this,_0x5e06b9(0x2fd),this['_cursorInfo$'][_0x5e06b9(0x228)]()),_0x2d103a(this,_0x5e06b9(0x1a3),new _0x1bc390[(_0x5e06b9(0x230))]([])),_0x2d103a(this,'roomMembers$',this['_roomMembers$'][_0x5e06b9(0x122)](_0x1bc390[_0x5e06b9(0x7c)](_0x4e8f7a))),_0x2d103a(this,'_updateLocalCursor',_0x1def49[_0x5e06b9(0x83)](_0x1ee5d9=>{const _0x10073=_0x5e06b9,_0x1bc387={'eventID':_0x529ed4[_0x10073(0x2cd)][_0x10073(0xa0)],'data':{'unitID':this[_0x10073(0xf7)],'memberID':this[_0x10073(0x160)]['getMemberID'](),'selection':_0x30f1a3(_0x1ee5d9)}};this[_0x10073(0x160)][_0x10073(0xc7)](_0x1bc387,this['unitID']);},_0x492642)),(this[_0x5e06b9(0xf7)]=_0xacc29e,this[_0x5e06b9(0x160)]=_0x5f1f53,this[_0x5e06b9(0xaf)]=_0x3168cd,this[_0x5e06b9(0x149)]=_0x2ae840,this[_0x5e06b9(0x1a4)]=_0x1daa6c,this[_0x5e06b9(0x2c3)]=_0x3763f9,this[_0x5e06b9(0x2ff)]=_0x462f8a,this[_0x5e06b9(0x1bd)]=_0x58fb0f,this[_0x5e06b9(0x170)]=_0x204a20);}get['cursorInfo'](){const _0x55919e=_0x3f93a3;return this[_0x55919e(0x12b)][_0x55919e(0x164)]();}get[_0x3f93a3(0x1e0)](){const _0x54970d=_0x3f93a3;return this[_0x54970d(0x1a3)][_0x54970d(0x164)]();}[_0x3f93a3(0x193)](){const _0x291644=_0x3f93a3;super[_0x291644(0x193)](),this[_0x291644(0x12b)][_0x291644(0xbe)](new Map()),this[_0x291644(0x12b)][_0x291644(0x237)](),this['_roomMembers$'][_0x291644(0xbe)]([]),this['_roomMembers$'][_0x291644(0x237)]();}[_0x3f93a3(0x106)](){const _0x17a232=_0x3f93a3;this[_0x17a232(0xb0)]||(this[_0x17a232(0xb0)]=!0x0,this['_session'][_0x17a232(0xa5)][_0x17a232(0x122)](_0x1bc390[_0x17a232(0x2e4)](this[_0x17a232(0x13e)]))['subscribe'](_0x6f5c6f=>{const _0x46cb7f=_0x17a232;_0x6f5c6f===_0x479769['SessionStatus'][_0x46cb7f(0x1df)]?this[_0x46cb7f(0x224)]():this['_toggleOffline']();}),this[_0x17a232(0x160)]['event$'][_0x17a232(0x122)](_0x1bc390[_0x17a232(0x2e4)](this[_0x17a232(0x13e)]))[_0x17a232(0x1a5)](_0x30f540=>{const _0x5f5768=_0x17a232,_0x38f560=_0x30f540['eventID'];_0x38f560===_0x529ed4['CollaborationEvent'][_0x5f5768(0xa0)]&&this[_0x5f5768(0x1d2)](_0x30f540),_0x38f560===_0x529ed4[_0x5f5768(0x2cd)]['USERS_LEAVE']&&this[_0x5f5768(0x296)](_0x30f540);}),this[_0x17a232(0x274)](this[_0x17a232(0x170)][_0x17a232(0x10c)](_0x53fbb0=>{const _0x223129=_0x17a232,_0x5ab70e=_0x53fbb0[_0x223129(0x242)];_0x5ab70e!=null&&this[_0x223129(0xa4)]&&_0x53fbb0['id']===_0x5ec733[_0x223129(0xd8)]['id']&&_0x5ab70e[_0x223129(0x14e)]===this[_0x223129(0xf7)]&&_0x5ab70e[_0x223129(0xd2)]===!0x1&&_0x5ab70e[_0x223129(0x17b)][_0x223129(0x22a)]>0x0&&this['_updateLocalCursor'](_0x5ab70e[_0x223129(0x17b)]);})),this[_0x17a232(0x2c3)][_0x17a232(0x184)][_0x17a232(0x122)](_0x1bc390['takeUntil'](this[_0x17a232(0x13e)]))[_0x17a232(0x1a5)](_0x702a66=>{const _0x4bc186=_0x17a232;if((_0x702a66==null?void 0x0:_0x702a66[_0x4bc186(0xf7)])!==this[_0x4bc186(0xf7)])return;const _0x219ee7={'eventID':_0x529ed4['CollaborationEvent'][_0x4bc186(0xa0)],'data':_0x702a66};this[_0x4bc186(0x1d2)](_0x219ee7);}),this['disposeWithMe'](this[_0x17a232(0x170)][_0x17a232(0x10c)](_0x1c9762=>{const _0x5d886c=_0x17a232;if(_0x1c9762['params']==null)return;const _0x2908a5=_0x1c9762[_0x5d886c(0x242)];if(_0x1c9762['id']!==_0x5ec733[_0x5d886c(0xdb)]['id']||_0x2908a5['unitId']!==this[_0x5d886c(0xf7)])return;const _0x30deb0={'id':_0x5d886c(0x2a4),'params':_0x2908a5},_0x1ade33=this['cursorInfo'];for(const [_0x2fc41f,_0xaf01d2]of _0x1ade33){const _0x158a29={'id':_0x5d886c(0x2a4),'params':{'unitId':this[_0x5d886c(0xf7)],'actions':null,'textRanges':_0xaf01d2[_0x5d886c(0x17b)]}},_0x22fb90=this[_0x5d886c(0x2ff)][_0x5d886c(0x19f)](_0x30deb0,_0x158a29,!0x1);if(_0x529ed4['isTransformMutationFailure'](_0x22fb90))throw _0x22fb90[_0x5d886c(0x30a)];_0x1ade33[_0x5d886c(0x22e)](_0x2fc41f,{..._0xaf01d2,'ranges':_0x22fb90[_0x5d886c(0x282)][_0x5d886c(0x242)][_0x5d886c(0x203)]});}queueMicrotask(()=>{const _0x4f676a=_0x5d886c;this['_cursorInfo$'][_0x4f676a(0xbe)](_0x1ade33);});})));}[_0x3f93a3(0x1d2)](_0x5d1daf){const _0x999651=_0x3f93a3;var _0x57aafd,_0xd4fa81;const {memberID:_0x48ab82,selection:_0x1d536c}=_0x5d1daf['data'],_0x26f332=_0x3b2e1b(_0x1d536c),_0x61b41a=(_0xd4fa81=(_0x57aafd=this[_0x999651(0x1a4)][_0x999651(0x301)](this['unitID'],_0x48ab82))==null?void 0x0:_0x57aafd[_0x999651(0x305)])!=null?_0xd4fa81:_0x999651(0x1a0),_0x26dd6d={'color':this[_0x999651(0x149)][_0x999651(0x2d3)](_0x48ab82),'name':_0x61b41a,'ranges':_0x26f332},_0x495b08=this[_0x999651(0x29b)];_0x495b08[_0x999651(0x22e)](_0x48ab82,_0x26dd6d),this['_cursorInfo$'][_0x999651(0xbe)](_0x495b08);}[_0x3f93a3(0x296)](_0x178866){const _0x553b4d=_0x3f93a3,{memberID:_0x3e588b}=_0x178866['data'],_0x5dd59b=this[_0x553b4d(0x29b)];_0x5dd59b['delete'](_0x3e588b),this['_cursorInfo$'][_0x553b4d(0xbe)](_0x5dd59b);}['_toggleOnline'](){const _0x246321=_0x3f93a3;var _0x554661;if(this[_0x246321(0xa4)]=!0x0,((_0x554661=this[_0x246321(0x1bd)][_0x246321(0xbf)]())==null?void 0x0:_0x554661[_0x246321(0x26b)]())!==this['unitID'])return;const _0x1761ec=this[_0x246321(0xaf)]['get'](_0x5ec733[_0x246321(0x293)])[_0x246321(0x2f8)]();Array[_0x246321(0x1e9)](_0x1761ec)&&_0x1761ec[_0x246321(0x22a)]>0x0&&this[_0x246321(0x261)](_0x1761ec);}[_0x3f93a3(0xfe)](){const _0x3b5f5f=_0x3f93a3;this[_0x3b5f5f(0xa4)]=!0x1;}};_0x1ee7ee=_0x268c6a([_0x2c7489(0x2,_0x1def49[_0x3f93a3(0x2e5)](_0x1def49[_0x3f93a3(0x14d)])),_0x2c7489(0x3,_0x1def49['Inject'](_0xc01724)),_0x2c7489(0x4,_0x1def49['Inject'](_0x479769['MemberService'])),_0x2c7489(0x5,_0x1def49[_0x3f93a3(0x2e5)](_0x3a08fe)),_0x2c7489(0x6,_0x529ed4[_0x3f93a3(0x18a)]),_0x2c7489(0x7,_0x1def49[_0x3f93a3(0xf2)]),_0x2c7489(0x8,_0x1def49['ICommandService'])],_0x1ee7ee);var _0x116097=Object[_0x3f93a3(0x239)],_0x597e1c=(_0x32b941,_0x34d167,_0x11d8b0,_0x1cbe6c)=>{const _0x598398=_0x3f93a3;for(var _0x16a168=_0x1cbe6c>0x1?void 0x0:_0x1cbe6c?_0x116097(_0x34d167,_0x11d8b0):_0x34d167,_0x2cfa00=_0x32b941[_0x598398(0x22a)]-0x1,_0x9f12d8;_0x2cfa00>=0x0;_0x2cfa00--)(_0x9f12d8=_0x32b941[_0x2cfa00])&&(_0x16a168=_0x9f12d8(_0x16a168)||_0x16a168);return _0x16a168;},_0x34183f=(_0x4e8673,_0x5a4ed6)=>(_0x3ad1fd,_0x2034b7)=>_0x5a4ed6(_0x3ad1fd,_0x2034b7,_0x4e8673);const _0x4236b8=0x12c,_0x5a3852=0x64,_0x2b218d=()=>{let _0x283df6=[],_0x3fb795=!0x1;return _0x4066e0=>{const _0x2108a4=_0x242a;_0x283df6[_0x2108a4(0x1b5)](_0x4066e0),_0x3fb795||(_0x3fb795=!0x0,setTimeout(()=>{const _0x139ca9=_0x2108a4;_0x283df6[_0x139ca9(0x2f2)](_0x193f50=>_0x193f50()),_0x283df6=[],_0x3fb795=!0x1;}));};};let _0x3fe2ff=class extends _0x1def49['RxDisposable']{constructor(_0x941db9,_0x2759fb,_0x4f55fd,_0x107f4d,_0x544e54,_0x3c4153,_0x51ad67,_0x402bc7){const _0x2857b1=_0x3f93a3;super(),_0x2d103a(this,_0x2857b1(0xa4),!0x1),_0x2d103a(this,'_init',!0x1),_0x2d103a(this,_0x2857b1(0x12b),new _0x1bc390[(_0x2857b1(0x230))](new Map())),_0x2d103a(this,_0x2857b1(0x2fd),this[_0x2857b1(0x12b)][_0x2857b1(0x228)]()),_0x2d103a(this,'_roomMembers$',new _0x1bc390[(_0x2857b1(0x230))]([])),_0x2d103a(this,'roomMembers$',this[_0x2857b1(0x1a3)]['pipe'](_0x1bc390[_0x2857b1(0x7c)](_0x4236b8))),_0x2d103a(this,_0x2857b1(0x261),_0x1def49[_0x2857b1(0x83)]((_0x503ce3,_0x1acbf6)=>{const _0x250c39=_0x2857b1,_0x25f8b1={'eventID':_0x529ed4[_0x250c39(0x2cd)][_0x250c39(0xa0)],'data':{'unitID':this[_0x250c39(0xf7)],'memberID':this[_0x250c39(0x160)][_0x250c39(0x2d2)](),'selection':_0x506429['serializeRangeWithSheet'](_0x503ce3,_0x1acbf6[_0x250c39(0x127)])}};this[_0x250c39(0x160)]['send'](_0x25f8b1,this['unitID']);},_0x5a3852)),(this[_0x2857b1(0xf7)]=_0x941db9,this[_0x2857b1(0x160)]=_0x2759fb,this[_0x2857b1(0xaf)]=_0x4f55fd,this[_0x2857b1(0x149)]=_0x107f4d,this['_memberService']=_0x544e54,this[_0x2857b1(0x1bd)]=_0x3c4153,this[_0x2857b1(0x170)]=_0x51ad67,this[_0x2857b1(0x15a)]=_0x402bc7);}get['cursorInfo'](){const _0x263f43=_0x3f93a3;return this['_cursorInfo$'][_0x263f43(0x164)]();}get['roomMembers'](){return this['_roomMembers$']['getValue']();}['dispose'](){const _0x44cc8f=_0x3f93a3;super[_0x44cc8f(0x193)](),this[_0x44cc8f(0x12b)]['next'](new Map()),this['_cursorInfo$'][_0x44cc8f(0x237)](),this[_0x44cc8f(0x1a3)][_0x44cc8f(0xbe)]([]),this['_roomMembers$'][_0x44cc8f(0x237)]();}[_0x3f93a3(0x106)](){const _0x35247a=_0x3f93a3;this['_init']||(this['_init']=!0x0,this[_0x35247a(0x160)][_0x35247a(0xa5)][_0x35247a(0x122)](_0x1bc390['takeUntil'](this[_0x35247a(0x13e)]))[_0x35247a(0x1a5)](_0x463d6f=>{const _0x313abb=_0x35247a;_0x463d6f===_0x479769['SessionStatus'][_0x313abb(0x1df)]?this['_toggleOnline']():this[_0x313abb(0xfe)]();}),this[_0x35247a(0x160)][_0x35247a(0xbd)][_0x35247a(0x122)](_0x1bc390[_0x35247a(0x2e4)](this[_0x35247a(0x13e)]))['subscribe'](_0x1a6954=>{const _0x4e3679=_0x35247a,_0x5e55b7=_0x1a6954[_0x4e3679(0xc5)];_0x5e55b7===_0x529ed4[_0x4e3679(0x2cd)]['UPDATE_CURSOR']&&this[_0x4e3679(0x1d2)](_0x1a6954),_0x5e55b7===_0x529ed4[_0x4e3679(0x2cd)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x1a6954);}),this[_0x35247a(0x281)](),this['disposeWithMe'](this['_commandService'][_0x35247a(0x10c)](_0x19f9b2=>{const _0x572088=_0x35247a;if(this['_online']&&_0x19f9b2['id']===_0x218759[_0x572088(0xe0)]['id']&&_0x19f9b2[_0x572088(0x242)][_0x572088(0x14e)]===this[_0x572088(0xf7)]){const _0x565e97=_0x19f9b2[_0x572088(0x242)];this['_updateLocalCursor'](_0x565e97['subUnitId'],_0x565e97[_0x572088(0x25b)][0x0]);}})));}[_0x3f93a3(0x1d2)](_0x2385fb){const _0x3aa0da=_0x3f93a3;var _0x2cf0fc,_0x19d5a9;const {memberID:_0x2bccc8,selection:_0x2933d0}=_0x2385fb['data'],{sheetName:_0x4e4c72,range:_0xc28510}=_0x506429['deserializeRangeWithSheet'](_0x2933d0),_0x4e35df={'name':(_0x19d5a9=(_0x2cf0fc=this[_0x3aa0da(0x1a4)][_0x3aa0da(0x301)](this[_0x3aa0da(0xf7)],_0x2bccc8))==null?void 0x0:_0x2cf0fc[_0x3aa0da(0x305)])!=null?_0x19d5a9:_0x3aa0da(0x1a0),'range':this[_0x3aa0da(0x307)](_0x4e4c72,_0xc28510),'sheetID':_0x4e4c72,'color':this[_0x3aa0da(0x149)]['assignAColorForMemberID'](_0x2bccc8),'selection':_0x2933d0},_0x1b43c5=this['cursorInfo'];_0x1b43c5[_0x3aa0da(0x22e)](_0x2bccc8,_0x4e35df),this[_0x3aa0da(0x12b)]['next'](_0x1b43c5);}[_0x3f93a3(0x296)](_0x56d818){const _0x2ac788=_0x3f93a3,{memberID:_0x416d25}=_0x56d818[_0x2ac788(0x15f)],_0x417956=this[_0x2ac788(0x29b)];_0x417956['delete'](_0x416d25),this[_0x2ac788(0x12b)][_0x2ac788(0xbe)](_0x417956);}[_0x3f93a3(0x307)](_0x3a975c,_0x1f74c2){const _0x1fc80b=_0x3f93a3;var _0x43d59c,_0x14c18c;const _0x10de12=(_0x14c18c=(_0x43d59c=this[_0x1fc80b(0x1bd)][_0x1fc80b(0x2a8)](this[_0x1fc80b(0xf7)]))==null?void 0x0:_0x43d59c['getSheetBySheetId'](_0x3a975c))==null?void 0x0:_0x14c18c[_0x1fc80b(0x185)]();return(_0x10de12==null?void 0x0:_0x10de12[_0x1fc80b(0x262)](_0x4c4eb0=>_0x1def49[_0x1fc80b(0xe9)][_0x1fc80b(0x1cc)](_0x4c4eb0,_0x1f74c2)))||_0x1f74c2;}[_0x3f93a3(0x281)](){const _0x316142=_0x3f93a3,_0x2935e7=new _0x1def49[(_0x316142(0x27a))](),_0x57a957=_0x2b218d(),_0x500cf0=()=>{const _0x3df310=_0x316142;_0x2935e7[_0x3df310(0x193)]();const _0x2731ae=(_0x307ce6,_0x499b50,_0x1bd7aa,_0x43766a)=>{const _0x4c819a=_0x3df310;let _0x24896b=[];switch(_0x307ce6['id']){case _0x218759[_0x4c819a(0x10b)]['DeleteRangeMoveLeftCommandId']:{_0x24896b=_0x218759[_0x4c819a(0x12a)](_0x307ce6,_0x43766a);break;}case _0x218759['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x24896b=_0x218759[_0x4c819a(0x181)](_0x307ce6,_0x43766a);break;}case _0x218759[_0x4c819a(0x10b)][_0x4c819a(0xae)]:{_0x24896b=_0x218759[_0x4c819a(0x29a)](_0x307ce6,_0x43766a);break;}case _0x218759[_0x4c819a(0x10b)][_0x4c819a(0x131)]:{_0x24896b=_0x218759[_0x4c819a(0x196)](_0x307ce6,_0x43766a);break;}case _0x218759[_0x4c819a(0x10b)][_0x4c819a(0x1f6)]:{_0x24896b=_0x218759[_0x4c819a(0x2dd)](_0x307ce6,_0x43766a);break;}case _0x218759[_0x4c819a(0x10b)][_0x4c819a(0x1e2)]:{_0x24896b=_0x218759[_0x4c819a(0x236)](_0x307ce6,_0x43766a);break;}case _0x218759[_0x4c819a(0x10b)][_0x4c819a(0xbc)]:{_0x24896b=_0x218759[_0x4c819a(0x2c6)](_0x307ce6,_0x43766a);break;}case _0x218759[_0x4c819a(0x10b)][_0x4c819a(0xfc)]:{_0x24896b=_0x218759['handleIRemoveCol'](_0x307ce6,_0x43766a);break;}case _0x218759[_0x4c819a(0x10b)][_0x4c819a(0xe4)]:{_0x24896b=_0x218759['handleIRemoveRow'](_0x307ce6,_0x43766a);break;}}const _0x4310ef=_0x218759[_0x4c819a(0x20c)](_0x24896b,_0x43766a),_0x238b0e=this[_0x4c819a(0x29b)][_0x4c819a(0x17c)](_0x499b50);if(_0x238b0e&&_0x4310ef){const _0x3b0a27={..._0x238b0e,'range':_0x4310ef};this[_0x4c819a(0x29b)]['set'](_0x499b50,_0x3b0a27),_0x57a957(()=>{const _0x24a576=_0x4c819a,_0x272033=this[_0x24a576(0x15a)][_0x24a576(0x15d)](_0x4310ef,_0x59d298=>(_0x272033[_0x24a576(0x193)](),_0x2731ae(_0x59d298,_0x499b50,_0x1bd7aa,_0x4310ef)));_0x2935e7[_0x24a576(0x146)](_0x272033);});}return{'redos':[],'undos':[]};};this[_0x3df310(0x29b)][_0x3df310(0x2f2)]((_0xc25ffa,_0x32db29)=>{const _0x338179=_0x3df310,{range:_0x3beb81,sheetID:_0x2aadf5}=_0xc25ffa,_0x465c8d=this[_0x338179(0x15a)][_0x338179(0x15d)](_0x3beb81,_0x5b83b1=>(_0x465c8d[_0x338179(0x193)](),_0x2731ae(_0x5b83b1,_0x32db29,_0x2aadf5,_0x3beb81)));_0x2935e7[_0x338179(0x146)](_0x465c8d);});};this[_0x316142(0x274)](_0x1def49['toDisposable'](this['_cursorInfo$'][_0x316142(0x1a5)](()=>{_0x500cf0();})));}[_0x3f93a3(0x224)](){const _0x4caeec=_0x3f93a3;var _0x4f94f9,_0x3d44a0;if(this[_0x4caeec(0xa4)]=!0x0,((_0x4f94f9=this[_0x4caeec(0x1bd)][_0x4caeec(0xbf)]())==null?void 0x0:_0x4f94f9['getUnitId']())!==this['unitID'])return;const _0x30f7c6=(_0x3d44a0=this[_0x4caeec(0xaf)][_0x4caeec(0x17c)](_0x218759[_0x4caeec(0x19e)])['getCurrentSelections']())==null?void 0x0:_0x3d44a0[0x0],_0x18083b=this[_0x4caeec(0x1bd)][_0x4caeec(0x312)](_0x1def49['UniverInstanceType'][_0x4caeec(0x134)])[_0x4caeec(0x2c9)]();_0x30f7c6&&_0x18083b&&this[_0x4caeec(0x261)](_0x18083b[_0x4caeec(0xe7)](),_0x30f7c6);}[_0x3f93a3(0xfe)](){const _0x290b6d=_0x3f93a3;this[_0x290b6d(0xa4)]=!0x1;}};_0x3fe2ff=_0x597e1c([_0x34183f(0x2,_0x1def49[_0x3f93a3(0x2e5)](_0x1def49['Injector'])),_0x34183f(0x3,_0x1def49[_0x3f93a3(0x2e5)](_0xc01724)),_0x34183f(0x4,_0x1def49[_0x3f93a3(0x2e5)](_0x479769[_0x3f93a3(0x290)])),_0x34183f(0x5,_0x1def49['IUniverInstanceService']),_0x34183f(0x6,_0x1def49[_0x3f93a3(0x19d)]),_0x34183f(0x7,_0x1def49[_0x3f93a3(0x2e5)](_0x218759['RefRangeService']))],_0x3fe2ff);var _0x592692=Object[_0x3f93a3(0x239)],_0x87c699=(_0x3a9f8d,_0xf2ae2a,_0x3a84e5,_0x41a50e)=>{const _0x20514f=_0x3f93a3;for(var _0x3cd75c=_0x41a50e>0x1?void 0x0:_0x41a50e?_0x592692(_0xf2ae2a,_0x3a84e5):_0xf2ae2a,_0x1f8906=_0x3a9f8d[_0x20514f(0x22a)]-0x1,_0x554ca9;_0x1f8906>=0x0;_0x1f8906--)(_0x554ca9=_0x3a9f8d[_0x1f8906])&&(_0x3cd75c=_0x554ca9(_0x3cd75c)||_0x3cd75c);return _0x3cd75c;},_0x3fcfbb=(_0x58642e,_0x2ededc)=>(_0x2c90c3,_0x57837c)=>_0x2ededc(_0x2c90c3,_0x57837c,_0x58642e);let _0x44815e=class extends _0x1def49[_0x3f93a3(0x191)]{constructor(_0xf3ef92,_0x2b1d67,_0x50a07b){const _0x88b0df=_0x3f93a3;super(),_0x2d103a(this,_0x88b0df(0x315),new Map()),_0x2d103a(this,_0x88b0df(0x24b),new _0x1bc390['Subject']()),(this[_0x88b0df(0x1bd)]=_0xf3ef92,this[_0x88b0df(0xaf)]=_0x2b1d67,this[_0x88b0df(0x216)]=_0x50a07b,this[_0x88b0df(0xb0)]());}[_0x3f93a3(0x193)](){const _0x268ba7=_0x3f93a3;super['dispose'](),this['_entityInit$']['complete'](),this[_0x268ba7(0x315)]['forEach'](_0x2365b0=>_0x2365b0[_0x268ba7(0x193)]());}[_0x3f93a3(0x2fa)](_0x5b287f){const _0x421909=_0x3f93a3;return this[_0x421909(0x315)][_0x421909(0x2c7)](_0x5b287f)?this[_0x421909(0x315)][_0x421909(0x17c)](_0x5b287f)[_0x421909(0x2fd)]:this[_0x421909(0x24b)][_0x421909(0x122)](_0x1bc390['filter'](_0x146d4a=>_0x146d4a[_0x421909(0xf7)]===_0x5b287f),_0x1bc390['switchMap'](_0x39b3cd=>_0x39b3cd[_0x421909(0x2fd)]));}['_init'](){const _0x30b6df=_0x3f93a3;this[_0x30b6df(0x1bd)][_0x30b6df(0x2d0)](_0x1def49[_0x30b6df(0x23e)]['UNIVER_SHEET'])[_0x30b6df(0x122)](_0x1bc390['takeUntil'](this[_0x30b6df(0x13e)]))['subscribe'](async _0x249b7b=>{const _0x4e404e=_0x30b6df,_0x249e02=_0x249b7b[_0x4e404e(0x26b)](),_0x4e1045=await this[_0x4e404e(0x2f7)](_0x249e02);this[_0x4e404e(0x24b)]['next'](_0x4e1045),this[_0x4e404e(0x315)]['set'](_0x249e02,_0x4e1045);}),this[_0x30b6df(0x1bd)][_0x30b6df(0x2d0)](_0x1def49[_0x30b6df(0x23e)][_0x30b6df(0x125)])['pipe'](_0x1bc390[_0x30b6df(0x2e4)](this[_0x30b6df(0x13e)]))[_0x30b6df(0x122)](_0x1bc390[_0x30b6df(0xba)](_0x5a9a47=>!_0x5a9a47[_0x30b6df(0x26b)]()[_0x30b6df(0x284)]('__')))[_0x30b6df(0x1a5)](async _0x1667e9=>{const _0x4fa3f7=_0x30b6df,_0xd6da=_0x1667e9['getUnitId'](),_0x3e3898=await this[_0x4fa3f7(0x1a7)](_0xd6da);this[_0x4fa3f7(0x24b)][_0x4fa3f7(0xbe)](_0x3e3898),this[_0x4fa3f7(0x315)]['set'](_0xd6da,_0x3e3898);}),_0x1bc390[_0x30b6df(0x26d)](this['_univerInstanceService'][_0x30b6df(0x231)](_0x1def49['UniverInstanceType'][_0x30b6df(0x125)]),this[_0x30b6df(0x1bd)]['getTypeOfUnitDisposed$'](_0x1def49['UniverInstanceType'][_0x30b6df(0x134)]))[_0x30b6df(0x122)](_0x1bc390['takeUntil'](this[_0x30b6df(0x13e)]))['subscribe'](_0x588d95=>{const _0x44c96d=_0x30b6df,_0x2bbc0f=_0x588d95[_0x44c96d(0x26b)](),_0x273ad3=this['_entities'][_0x44c96d(0x17c)](_0x2bbc0f);_0x273ad3&&(_0x273ad3[_0x44c96d(0x193)](),this['_entities'][_0x44c96d(0xd5)](_0x2bbc0f));});}async[_0x3f93a3(0x2f7)](_0x3111b2){const _0x14fddd=_0x3f93a3,_0x16dffb=await this[_0x14fddd(0x216)][_0x14fddd(0x1e1)](_0x3111b2),_0x147618=this[_0x14fddd(0xaf)][_0x14fddd(0x18e)](_0x3fe2ff,_0x3111b2,_0x16dffb);return _0x147618['init'](),_0x147618;}async[_0x3f93a3(0x1a7)](_0x45321a){const _0x4c0dfe=_0x3f93a3,_0x505c57=await this[_0x4c0dfe(0x216)]['requireSession'](_0x45321a),_0x25f2b3=this[_0x4c0dfe(0xaf)]['createInstance'](_0x1ee7ee,_0x45321a,_0x505c57);return _0x25f2b3[_0x4c0dfe(0x106)](),_0x25f2b3;}};_0x44815e=_0x87c699([_0x3fcfbb(0x0,_0x1def49[_0x3f93a3(0xf2)]),_0x3fcfbb(0x1,_0x1def49[_0x3f93a3(0x2e5)](_0x1def49[_0x3f93a3(0x14d)])),_0x3fcfbb(0x2,_0x1def49['Inject'](_0x479769[_0x3f93a3(0x1ca)]))],_0x44815e);const _0x564637=0x14,_0x31c080=0xc8,_0x5eac8d=0x4,_0x175f1f=0x5;function _0x135051(_0x39e5ee,_0x3318b8){const _0x1e51b5=_0x3f93a3;let {radius:_0x128eb4,width:_0x80a8,height:_0x84c4a5}=_0x3318b8;_0x128eb4=_0x128eb4!=null?_0x128eb4:0x0,_0x80a8=_0x80a8!=null?_0x80a8:0x1e,_0x84c4a5=_0x84c4a5!=null?_0x84c4a5:0x1e;let _0x330c48=0x0,_0xc8955a=0x0,_0x4ce58f=0x0;_0x330c48=_0xc8955a=_0x4ce58f=Math['min'](_0x128eb4,_0x80a8/0x2,_0x84c4a5/0x2),_0x39e5ee[_0x1e51b5(0x11c)](),_0x39e5ee[_0x1e51b5(0x79)](_0x330c48,0x0),_0x39e5ee[_0x1e51b5(0x29f)](_0x80a8-_0xc8955a,0x0),_0x39e5ee[_0x1e51b5(0x28a)](_0x80a8-_0xc8955a,_0xc8955a,_0xc8955a,Math['PI']*0x3/0x2,0x0,!0x1),_0x39e5ee[_0x1e51b5(0x29f)](_0x80a8,_0x84c4a5-_0x4ce58f),_0x39e5ee[_0x1e51b5(0x28a)](_0x80a8-_0x4ce58f,_0x84c4a5-_0x4ce58f,_0x4ce58f,0x0,Math['PI']/0x2,!0x1),_0x39e5ee[_0x1e51b5(0x29f)](0x0,_0x84c4a5),_0x39e5ee[_0x1e51b5(0x29f)](0x0,_0x330c48),_0x39e5ee[_0x1e51b5(0x28a)](_0x330c48,_0x330c48,_0x330c48,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x39e5ee['closePath'](),_0x3318b8[_0x1e51b5(0x9a)]&&(_0x39e5ee[_0x1e51b5(0x1a2)](),_0x39e5ee[_0x1e51b5(0x2ce)]=_0x3318b8['fill'],_0x3318b8[_0x1e51b5(0x1ea)]==='evenodd'?_0x39e5ee[_0x1e51b5(0x9a)](_0x1e51b5(0x13a)):_0x39e5ee['fill'](),_0x39e5ee['restore']());}class _0x1995c7 extends _0x451005[_0x3f93a3(0xc4)]{constructor(_0x5612d0,_0xafca90){const _0x5c2368=_0x3f93a3;super(_0x5612d0,_0xafca90),_0x2d103a(this,_0x5c2368(0x12f)),_0x2d103a(this,_0x5c2368(0x9f)),(this['color']=_0xafca90==null?void 0x0:_0xafca90[_0x5c2368(0x12f)],this[_0x5c2368(0x9f)]=_0xafca90==null?void 0x0:_0xafca90[_0x5c2368(0x9f)]);}static[_0x3f93a3(0xdd)](_0x1077a5,_0x4a74df){const _0x184405=_0x3f93a3,{text:_0x5c6353,color:_0x407730}=_0x4a74df;_0x1077a5[_0x184405(0x1a2)](),_0x1077a5[_0x184405(0x233)]=_0x184405(0x2e1);const _0x9c1125=_0x1077a5[_0x184405(0x28d)](_0x5c6353)[_0x184405(0xea)],_0x439e7b=Math[_0x184405(0x219)](_0x9c1125+0x2*_0x5eac8d,_0x31c080);_0x135051(_0x1077a5,{'height':_0x564637,'radius':0x4,'width':_0x439e7b,'fill':_0x407730}),_0x1077a5[_0x184405(0x2ce)]=_0x184405(0x82);const _0xaaf016=_0x5eac8d,_0x27d83d=_0x564637-_0x175f1f,_0x58d736=_0x31c080-0x2*_0x5eac8d;if(_0x9c1125>_0x58d736){let _0x5e913c='',_0x5de62c=0x0;for(const _0x5e51f1 of _0x5c6353){const _0x46ed1d=_0x1077a5['measureText'](_0x5e51f1)[_0x184405(0xea)];if(_0x5de62c+_0x46ed1d<=_0x58d736-_0x1077a5[_0x184405(0x28d)](_0x184405(0x271))[_0x184405(0xea)])_0x5e913c+=_0x5e51f1,_0x5de62c+=_0x46ed1d;else{_0x5e913c+='...';break;}}_0x1077a5['fillText'](_0x5e913c,_0xaaf016,_0x27d83d);}else _0x1077a5['fillText'](_0x5c6353,_0xaaf016,_0x27d83d);_0x1077a5[_0x184405(0x1d6)]();}[_0x3f93a3(0x118)](_0x228885){_0x1995c7['drawWith'](_0x228885,this);}}const _0x22cea3=_0x3f93a3(0x310),_0x3510f7=_0x3f93a3(0x292),_0x4c3574='collab-rect-range-',_0x215561=0x6,_0x325cea=1.5,_0x1992f9=0x4,_0x168893=1.5,_0x3c7d18=_0x3f93a3(0x21d);class _0x6e6bc{constructor(_0x2a548e,_0x214890,_0x4e04da,_0x3f5974){const _0x166719=_0x3f93a3;_0x2d103a(this,_0x166719(0x2b4),[]),_0x2d103a(this,_0x166719(0x23a),null),_0x2d103a(this,_0x166719(0x211),null),_0x2d103a(this,_0x166719(0x1ae),null),_0x2d103a(this,'_hideTimer',null),_0x2d103a(this,_0x166719(0x2e0),null),(this[_0x166719(0x2e3)]=_0x2a548e,this['_scene']=_0x214890,this[_0x166719(0x13b)]=_0x4e04da,this['_document']=_0x3f5974,this[_0x166719(0x1b3)]());}set['_hover'](_0x18c4d6){const _0x45c8ab=_0x3f93a3;_0x18c4d6?(this[_0x45c8ab(0x1ae)]&&this[_0x45c8ab(0x1ae)]['hide'](),this['_textBubble']&&this[_0x45c8ab(0x211)][_0x45c8ab(0xc9)]()):(this[_0x45c8ab(0x1ae)]&&this['_anchorDot'][_0x45c8ab(0xc9)](),this['_textBubble']&&this[_0x45c8ab(0x211)][_0x45c8ab(0xfd)]());}['dispose'](){const _0xd4936b=_0x3f93a3;for(const _0x28ef9f of this[_0xd4936b(0x2b4)])_0x28ef9f[_0xd4936b(0x193)]();this[_0xd4936b(0x211)]&&this[_0xd4936b(0x211)]['dispose'](),this[_0xd4936b(0x1ae)]&&this[_0xd4936b(0x1ae)]['dispose'](),this[_0xd4936b(0x23a)]&&this['_anchor'][_0xd4936b(0x193)](),this[_0xd4936b(0x2e0)]&&this[_0xd4936b(0x2e0)]();}[_0x3f93a3(0x1b3)](){const _0x97a4f1=_0x3f93a3;var _0x329928;const {_docSkeleton:_0x5e019e,_document:_0x2d3703}=this,{color:_0x3aa1b1,name:_0x1c2814,ranges:_0x41aa40}=this['_cursor'],_0x11b7c1=_0x2d3703[_0x97a4f1(0xb9)](),{docsLeft:_0x1f4fd7,docsTop:_0x1903eb}=_0x11b7c1,_0x49e837=new _0x38c4f6[(_0x97a4f1(0xfb))](_0x11b7c1,_0x5e019e);for(const {startOffset:_0x7c2ed3,endOffset:_0x35086b,rangeType:_0x1666e0,segmentId:_0x4570ae,segmentPage:_0x3e8700,collapsed:_0xa0f6ed,isActive:_0x366bdf}of _0x41aa40){const _0x21194d=_0x5e019e[_0x97a4f1(0xc1)](_0x7c2ed3,!0x0,_0x4570ae,_0x3e8700);let _0x36642a=_0x5e019e['findNodePositionByCharIndex'](_0x35086b,!0x0,_0x4570ae,_0x3e8700);if(_0x36642a==null&&(_0x36642a=_0x5e019e[_0x97a4f1(0xc1)](_0x35086b-0x1,!0x1,_0x4570ae,_0x3e8700)),_0x366bdf){const {contentBoxPointGroup:_0x27ceba}=_0x49e837[_0x97a4f1(0x250)](_0x36642a,_0x36642a);if(_0x27ceba['length']===0x0)continue;this['_drawAnchor'](_0x3aa1b1,_0x27ceba,_0x1f4fd7,_0x1903eb,_0x1c2814),this[_0x97a4f1(0x2e0)]=this[_0x97a4f1(0x1fa)]();}if(_0x21194d&&_0x36642a){if(_0x1666e0===_0x1def49[_0x97a4f1(0x162)][_0x97a4f1(0x1b4)]){const _0x48ccde=new _0x38c4f6[(_0x97a4f1(0x2a3))](_0x11b7c1,_0x5e019e),{pointGroup:_0x28509b}=(_0x329928=_0x48ccde['getRangePointData'](_0x21194d,_0x36642a))!=null?_0x329928:{};if(_0x28509b==null||_0x28509b['length']===0x0)continue;this[_0x97a4f1(0x1bb)](_0x3aa1b1,_0x28509b,_0x1f4fd7,_0x1903eb);}else{if(!_0xa0f6ed){const {borderBoxPointGroup:_0x4e4359}=_0x49e837[_0x97a4f1(0x250)](_0x21194d,_0x36642a);if(_0x4e4359[_0x97a4f1(0x22a)]===0x0)continue;this[_0x97a4f1(0x2e9)](_0x3aa1b1,_0x4e4359,_0x1f4fd7,_0x1903eb);}}}}}['_drawAnchor'](_0x3a4553,_0x193004,_0x3c0162,_0x5c278e,_0x7fb4eb){const _0xd3cd6f=_0x3f93a3,_0x2fbc35=this[_0xd3cd6f(0x254)](_0x193004),{left:_0x2d9ad8,top:_0xb2ea11,height:_0x57d114}=_0x2fbc35,_0x349e6c=this['_getScale'](),_0x5e4e87=_0x168893/_0x349e6c,_0x51219f=new _0x451005[(_0xd3cd6f(0x278))](_0x22cea3+_0x1def49[_0xd3cd6f(0x20e)]['generateRandomId'](_0x215561),{'left':_0x2d9ad8+_0x3c0162-_0x5e4e87,'top':_0xb2ea11+_0x5c278e,'height':_0x57d114,'width':_0x325cea,'fill':_0x3a4553||_0x451005[_0xd3cd6f(0x166)](_0x1def49['COLORS']['black'],0x0),'strokeWidth':_0x5e4e87,'stroke':_0x3c7d18,'evented':!0x0});this[_0xd3cd6f(0x23a)]=_0x51219f,this[_0xd3cd6f(0x238)]['addObject'](_0x51219f,_0x38c4f6['TEXT_RANGE_LAYER_INDEX']);const _0x4637fe=new _0x451005[(_0xd3cd6f(0x278))](_0x22cea3+_0x1def49[_0xd3cd6f(0x20e)][_0xd3cd6f(0x86)](_0x215561),{'left':_0x2d9ad8+_0x3c0162-_0x5e4e87,'top':_0xb2ea11+_0x5c278e-_0x1992f9/0x2,'height':_0x1992f9,'width':_0x1992f9,'fill':_0x3a4553||_0x451005[_0xd3cd6f(0x166)](_0x1def49[_0xd3cd6f(0x103)][_0xd3cd6f(0xcb)],0x0),'strokeWidth':0x0,'stroke':_0x3a4553||_0x451005[_0xd3cd6f(0x166)](_0x1def49['COLORS'][_0xd3cd6f(0xcb)],0x0),'evented':!0x1});this[_0xd3cd6f(0x1ae)]=_0x4637fe,this[_0xd3cd6f(0x238)][_0xd3cd6f(0x22f)](_0x4637fe,_0x38c4f6['TEXT_RANGE_LAYER_INDEX']);const _0x4c80b5=new _0x1995c7(_0x22cea3+_0x1def49[_0xd3cd6f(0x20e)][_0xd3cd6f(0x86)](_0x215561),{'left':_0x2d9ad8+_0x3c0162-_0x5e4e87,'top':_0xb2ea11+_0x5c278e-_0x564637,'text':_0x7fb4eb,'color':_0x3a4553});this[_0xd3cd6f(0x211)]=_0x4c80b5,this[_0xd3cd6f(0x238)][_0xd3cd6f(0x22f)](_0x4c80b5,_0x38c4f6[_0xd3cd6f(0x22d)]),this[_0xd3cd6f(0xf1)]=!0x1;}['_handleHover'](){const _0x36e9e7=_0x3f93a3,_0x2cfa81=this['_anchor'][_0x36e9e7(0x195)][_0x36e9e7(0x10f)](()=>{const _0x365f30=_0x36e9e7;this[_0x365f30(0xf1)]=!0x0;}),_0x427bac=this[_0x36e9e7(0x23a)][_0x36e9e7(0x91)][_0x36e9e7(0x10f)](()=>{const _0x3ac82d=_0x36e9e7;this[_0x3ac82d(0x275)]&&clearTimeout(this[_0x3ac82d(0x275)]),this[_0x3ac82d(0x275)]=setTimeout(()=>{const _0x3b7dc3=_0x3ac82d;this[_0x3b7dc3(0xf1)]=!0x1;},0x7d0);});return()=>{const _0x9071ff=_0x36e9e7;_0x2cfa81[_0x9071ff(0x151)](),_0x427bac[_0x9071ff(0x151)]();};}['_drawTextRange'](_0x430fa5,_0x56cccd,_0x11e203,_0x2dff2c){const _0x23f797=_0x3f93a3,_0x587a54=new _0x1def49[(_0x23f797(0x141))](_0x430fa5)[_0x23f797(0x2de)](0.2)[_0x23f797(0x28e)](),_0x4bb3ae=new _0x451005[(_0x23f797(0x25f))](_0x3510f7+_0x1def49[_0x23f797(0x20e)][_0x23f797(0x86)](_0x215561),{'pointsGroup':_0x56cccd,'fill':_0x587a54||_0x451005[_0x23f797(0x166)](_0x1def49[_0x23f797(0x103)][_0x23f797(0xcb)],0.2),'left':_0x11e203,'top':_0x2dff2c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x23f797(0x2b4)][_0x23f797(0x1b5)](_0x4bb3ae),this[_0x23f797(0x238)][_0x23f797(0x22f)](_0x4bb3ae,_0x38c4f6[_0x23f797(0x22d)]);}['_drawRectRange'](_0x58f7f7,_0x22903c,_0x5e8cc7,_0x35f2f0){const _0x5d1c86=_0x3f93a3,_0x16abcc=new _0x1def49[(_0x5d1c86(0x141))](_0x58f7f7)['setAlpha'](0.2)[_0x5d1c86(0x28e)](),_0x390af6=new _0x451005[(_0x5d1c86(0x25f))](_0x4c3574+_0x1def49[_0x5d1c86(0x20e)]['generateRandomId'](_0x215561),{'pointsGroup':_0x22903c,'fill':_0x16abcc||_0x451005[_0x5d1c86(0x166)](_0x1def49[_0x5d1c86(0x103)]['black'],0.2),'left':_0x5e8cc7,'top':_0x35f2f0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5d1c86(0x2b4)][_0x5d1c86(0x1b5)](_0x390af6),this[_0x5d1c86(0x238)]['addObject'](_0x390af6,_0x38c4f6[_0x5d1c86(0x22d)]);}[_0x3f93a3(0x254)](_0x1002d9){const _0x554eda=_0x1002d9[0x0],_0x29e119=_0x554eda[0x0],_0x469161=_0x554eda[0x2],{x:_0x4517e6,y:_0x436647}=_0x29e119,{x:_0x2c4a37,y:_0x116c80}=_0x469161;return{'left':_0x4517e6,'top':_0x436647,'width':_0x2c4a37-_0x4517e6,'height':_0x116c80-_0x436647};}[_0x3f93a3(0x295)](){const _0x16cb47=_0x3f93a3,{scaleX:_0x78722c,scaleY:_0xfb43e}=this[_0x16cb47(0x238)][_0x16cb47(0x24c)]();return Math[_0x16cb47(0x2ab)](_0x78722c,_0xfb43e);}}var _0x38f3f2=Object[_0x3f93a3(0x239)],_0x53afb=(_0x72c903,_0x3dc9c8,_0x55dc46,_0x360103)=>{for(var _0x4796f0=_0x360103>0x1?void 0x0:_0x360103?_0x38f3f2(_0x3dc9c8,_0x55dc46):_0x3dc9c8,_0x456fd3=_0x72c903['length']-0x1,_0x4a29af;_0x456fd3>=0x0;_0x456fd3--)(_0x4a29af=_0x72c903[_0x456fd3])&&(_0x4796f0=_0x4a29af(_0x4796f0)||_0x4796f0);return _0x4796f0;},_0xc56790=(_0x1f23ab,_0x4cafcd)=>(_0x4ad8fe,_0x1d226c)=>_0x4cafcd(_0x4ad8fe,_0x1d226c,_0x1f23ab);let _0x12384c=class extends _0x1def49[_0x3f93a3(0x191)]{constructor(_0xae3d92,_0x3447c7,_0x5144eb,_0x5447cb,_0x5249c8){const _0x2e04fe=_0x3f93a3;super(),_0x2d103a(this,_0x2e04fe(0x183),[]),_0x2d103a(this,'_cursors',[]),(this['_context']=_0xae3d92,this[_0x2e04fe(0x126)]=_0x3447c7,this[_0x2e04fe(0x111)]=_0x5144eb,this['_commandService']=_0x5447cb,this[_0x2e04fe(0xa8)]=_0x5249c8,this[_0x2e04fe(0xb0)]());}[_0x3f93a3(0xb0)](){const _0x31cc9b=_0x3f93a3,_0x56c7cd=this['_context'][_0x31cc9b(0x14e)],_0x28b415=this['_docSkeletonManagerService'];this[_0x31cc9b(0x274)](_0x1bc390[_0x31cc9b(0x153)]([this[_0x31cc9b(0x111)]['getCollabCursors$'](_0x56c7cd),this[_0x31cc9b(0xa8)][_0x31cc9b(0x2af)]])['pipe'](_0x4ab621[_0x31cc9b(0x2bb)](([_0x5d828c,_0x151d29])=>({'skeleton':_0x28b415[_0x31cc9b(0x154)](),'cursors':[..._0x5d828c[_0x31cc9b(0x2ae)]()][_0x31cc9b(0x221)](_0x5c0a49=>({..._0x5c0a49,'color':this[_0x31cc9b(0xa8)][_0x31cc9b(0x85)](_0x5c0a49[_0x31cc9b(0x12f)])}))})))['subscribe'](_0x13d4cc=>{const _0x32f836=_0x31cc9b;if(this[_0x32f836(0x81)](),_0x13d4cc){const {skeleton:_0x498174,cursors:_0x612fdc}=_0x13d4cc;this['_updateCollabCursors'](_0x498174,_0x612fdc);}})),this[_0x31cc9b(0x313)](),this[_0x31cc9b(0x2c1)]();}[_0x3f93a3(0x20f)](_0x10d1b1,_0x22a39f){const _0x4dd193=_0x3f93a3,{scene:_0x21702e,mainComponent:_0x2be3ee}=this['_context'],_0x3b9f63=_0x22a39f['map'](_0x162d19=>new _0x6e6bc(_0x162d19,_0x21702e,_0x10d1b1,_0x2be3ee));this[_0x4dd193(0x183)]=_0x3b9f63,this['_cursors']=_0x22a39f;}[_0x3f93a3(0x1d3)](){const _0x28a1c8=_0x3f93a3;this['_removeCollabCursors']();const {scene:_0xfe7c6f,mainComponent:_0x3c272c}=this[_0x28a1c8(0xa2)],_0x19f031=this[_0x28a1c8(0x126)][_0x28a1c8(0x154)](),_0x1ae8d3=this[_0x28a1c8(0x27f)]['map'](_0x2bd131=>new _0x6e6bc(_0x2bd131,_0xfe7c6f,_0x19f031,_0x3c272c));this['_cursorShapes']=_0x1ae8d3;}[_0x3f93a3(0x81)](){const _0x37e282=_0x3f93a3;this[_0x37e282(0x183)][_0x37e282(0x2f2)](_0x3faae4=>_0x3faae4[_0x37e282(0x193)]()),this[_0x37e282(0x183)]=[];}[_0x3f93a3(0x2c1)](){const _0x4b2e49=_0x3f93a3,_0x48c707=[_0x38c4f6[_0x4b2e49(0x150)]['id']];this['disposeWithMe'](this[_0x4b2e49(0x170)]['onCommandExecuted'](_0x3408bd=>{const _0x51a6e6=_0x4b2e49;_0x48c707[_0x51a6e6(0x110)](_0x3408bd['id'])&&_0x3408bd[_0x51a6e6(0x242)]['unitId']===this[_0x51a6e6(0xa2)][_0x51a6e6(0x14e)]&&this[_0x51a6e6(0x1d3)]();}));}[_0x3f93a3(0x313)](){const _0x3d5576=_0x3f93a3;this['disposeWithMe'](_0x1def49['fromEventSubject'](this[_0x3d5576(0xa2)][_0x3d5576(0x2cf)][_0x3d5576(0x24e)])[_0x3d5576(0x122)](_0x4ab621[_0x3d5576(0xba)](_0x50054a=>_0x50054a['type']===_0x451005[_0x3d5576(0x286)][_0x3d5576(0x2f5)]),_0x4ab621[_0x3d5576(0x2c4)](0x10))[_0x3d5576(0x1a5)](()=>{const _0x857096=_0x3d5576;this[_0x857096(0x1d3)]();}));}};_0x12384c=_0x53afb([_0xc56790(0x1,_0x1def49[_0x3f93a3(0x2e5)](_0x5ec733[_0x3f93a3(0x2d8)])),_0xc56790(0x2,_0x1def49[_0x3f93a3(0x2e5)](_0x44815e)),_0xc56790(0x3,_0x1def49[_0x3f93a3(0x19d)]),_0xc56790(0x4,_0x1def49[_0x3f93a3(0x2e5)](_0x1def49[_0x3f93a3(0x140)]))],_0x12384c);const _0x5d5f6c=0x1,_0x57dca7=1.5;class _0x57f453 extends _0x451005[_0x3f93a3(0xc4)]{constructor(_0x970509,_0xbebc3b){const _0x30cba2=_0x3f93a3;super(_0x970509,_0xbebc3b),_0x2d103a(this,_0x30cba2(0x245)),_0x2d103a(this,_0x30cba2(0x1c1),!0x1),_0x2d103a(this,_0x30cba2(0x17a)),_0x2d103a(this,_0x30cba2(0x21e),''),_0x2d103a(this,_0x30cba2(0x1c6),_0x30cba2(0x89)),_0x2d103a(this,_0x30cba2(0x13c)),(_0xbebc3b&&this[_0x30cba2(0x2b3)](_0xbebc3b),this[_0x30cba2(0x195)][_0x30cba2(0x10f)](()=>this[_0x30cba2(0x2b3)]({'hovered':!0x0})),this['onPointerLeave$'][_0x30cba2(0x10f)](()=>this[_0x30cba2(0x2b3)]({'hovered':!0x1})));}[_0x3f93a3(0x2b3)](_0x4478bc){const _0x1f0321=_0x3f93a3;var _0x4da905,_0x465af9,_0x5b59f2,_0x57f0b6,_0x40d6cf,_0x57545e;this[_0x1f0321(0x245)]=(_0x4da905=_0x4478bc['color'])!=null?_0x4da905:this[_0x1f0321(0x245)],this[_0x1f0321(0x1c1)]=(_0x465af9=_0x4478bc[_0x1f0321(0x8f)])!=null?_0x465af9:this[_0x1f0321(0x1c1)],this[_0x1f0321(0x17a)]=(_0x5b59f2=_0x4478bc[_0x1f0321(0x127)])!=null?_0x5b59f2:this['_range'],this['_name']=(_0x57f0b6=_0x4478bc['name'])!=null?_0x57f0b6:this['_name'],this[_0x1f0321(0x1c6)]=(_0x40d6cf=_0x4478bc[_0x1f0321(0x8b)])!=null?_0x40d6cf:this[_0x1f0321(0x1c6)],this[_0x1f0321(0x13c)]=(_0x57545e=_0x4478bc[_0x1f0321(0x24a)])!=null?_0x57545e:this[_0x1f0321(0x13c)],this[_0x1f0321(0x187)]({'width':_0x4478bc['width'],'height':_0x4478bc[_0x1f0321(0x27c)]});}[_0x3f93a3(0xe2)](_0x496894){const _0x1bf54b=_0x3f93a3,{row:_0x18a6cf,column:_0x3f018f}=_0x496894;if(_0x18a6cf>=this['_range'][_0x1bf54b(0x142)]&&_0x18a6cf<=this[_0x1bf54b(0x17a)][_0x1bf54b(0x1b7)]&&_0x3f018f>=this['_range'][_0x1bf54b(0x19c)]&&_0x3f018f<=this[_0x1bf54b(0x17a)]['endColumn']){this[_0x1bf54b(0x2b3)]({'hovered':!0x0});return;}this[_0x1bf54b(0x2b3)]({'hovered':!0x1});}[_0x3f93a3(0x258)](_0x556b3e){return!0x1;}[_0x3f93a3(0x118)](_0x530cc3){const _0x40789d=_0x3f93a3;_0x451005[_0x40789d(0x278)][_0x40789d(0xdd)](_0x530cc3,{'width':this[_0x40789d(0xea)],'height':this['height'],'strokeWidth':_0x57dca7,'stroke':this[_0x40789d(0x245)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x40789d(0x1c1)]&&(_0x530cc3[_0x40789d(0x1a2)](),_0x530cc3['transform'](0x1,0x0,0x0,0x1,this[_0x40789d(0xea)],this[_0x40789d(0x1c6)]===_0x40789d(0xd6)?0x0:-0x14),_0x1995c7[_0x40789d(0xdd)](_0x530cc3,{'text':this['_name'],'color':this[_0x40789d(0x245)]}),_0x530cc3[_0x40789d(0x1d6)]());}}var _0x12c4b3=Object[_0x3f93a3(0x239)],_0x5dfd55=(_0x58d13d,_0x371b60,_0x4eafb7,_0x5a7e12)=>{const _0x13842a=_0x3f93a3;for(var _0x33414c=_0x5a7e12>0x1?void 0x0:_0x5a7e12?_0x12c4b3(_0x371b60,_0x4eafb7):_0x371b60,_0x1cfa57=_0x58d13d[_0x13842a(0x22a)]-0x1,_0x288d85;_0x1cfa57>=0x0;_0x1cfa57--)(_0x288d85=_0x58d13d[_0x1cfa57])&&(_0x33414c=_0x288d85(_0x33414c)||_0x33414c);return _0x33414c;},_0x4bc728=(_0x30cab0,_0x298a05)=>(_0x154179,_0x301bc3)=>_0x298a05(_0x154179,_0x301bc3,_0x30cab0);const _0x200e3f=0x1389;let _0xde1d68=class extends _0x1def49[_0x3f93a3(0x191)]{constructor(_0x2bc52e,_0x2d283f,_0x471d88,_0x5dbde6){const _0x41896c=_0x3f93a3;super(),_0x2d103a(this,_0x41896c(0x27f),new Set()),_0x2d103a(this,_0x41896c(0x1fc),null),(this[_0x41896c(0xa2)]=_0x2bc52e,this['_sheetSkeletonManagerService']=_0x2d283f,this[_0x41896c(0x111)]=_0x471d88,this[_0x41896c(0xa8)]=_0x5dbde6,this[_0x41896c(0xb0)]());}[_0x3f93a3(0xb0)](){const _0x43cb1d=_0x3f93a3;this[_0x43cb1d(0x16a)][_0x43cb1d(0x9b)][_0x43cb1d(0x122)](_0x4ab621[_0x43cb1d(0x2e4)](this[_0x43cb1d(0x13e)]),_0x4ab621[_0x43cb1d(0x1ec)](_0x2309c4=>{const _0x5569bd=_0x43cb1d;if(_0x2309c4){const _0x4a043c=_0x2309c4['sheetId'];return _0x1bc390[_0x5569bd(0x153)](this[_0x5569bd(0x111)][_0x5569bd(0x2fa)](this[_0x5569bd(0xa2)][_0x5569bd(0x14e)]),this[_0x5569bd(0xa8)][_0x5569bd(0x2af)])[_0x5569bd(0x122)](_0x4ab621[_0x5569bd(0x2bb)](([_0x2b15be,_0x248f28])=>{const _0x50b782=_0x5569bd,_0x185022=new Map();return _0x2b15be[_0x50b782(0x2f2)]((_0x10cfc6,_0x27cc99)=>{const _0x191e98=_0x50b782;if(_0x10cfc6['sheetID']===_0x4a043c){const _0xcf0041={..._0x10cfc6};_0xcf0041[_0x191e98(0x12f)]=this['_themeService'][_0x191e98(0x85)](_0x10cfc6[_0x191e98(0x12f)]),_0x185022[_0x191e98(0x22e)](_0x27cc99,_0xcf0041);}}),{'skeleton':_0x2309c4,'cursors':_0x185022};}));}return _0x1bc390['of']({'skeleton':null,'cursors':new Map()});}))[_0x43cb1d(0x1a5)](({skeleton:_0x2fecbf,cursors:_0xd64df8})=>{const _0x393706=_0x43cb1d;this[_0x393706(0x81)](),_0x2fecbf&&this[_0x393706(0x20f)](_0x2fecbf,_0xd64df8);}),this[_0x43cb1d(0x16a)][_0x43cb1d(0x9b)]['subscribe'](_0x5b4c84=>{const _0xc99c7f=_0x43cb1d;if(_0x5b4c84==null)return;const {skeleton:_0x355044}=_0x5b4c84,{scene:_0x5d4504}=this[_0xc99c7f(0xa2)];_0x5d4504[_0xc99c7f(0x17d)][_0xc99c7f(0x10f)](_0x1def49['debounce'](_0x42b5ce=>{const _0xf47ffe=_0xc99c7f;var _0x48567a,_0x4bb55a;const {offsetX:_0x33bf09,offsetY:_0x30dfd9}=_0x42b5ce,{x:_0x123d96,y:_0x4102be}=_0x5d4504['getRelativeToViewportCoord'](_0x451005[_0xf47ffe(0x263)][_0xf47ffe(0x198)]([_0x33bf09,_0x30dfd9])),{scaleX:_0x17e14d,scaleY:_0x461072}=_0x5d4504[_0xf47ffe(0x24c)](),_0x2de0cc=_0x5d4504['getViewport'](_0x451005[_0xf47ffe(0x303)]['VIEW_MAIN']),_0xbf051a=_0x5d4504[_0xf47ffe(0x2d6)](_0x451005[_0xf47ffe(0x263)][_0xf47ffe(0x198)]([_0x123d96,_0x4102be]),_0x2de0cc),_0x41df05=_0x355044['getCellPositionByOffset'](_0x33bf09,_0x30dfd9,_0x17e14d,_0x461072,_0xbf051a);((_0x48567a=this['_lastPointer'])==null?void 0x0:_0x48567a['column'])===_0x41df05['column']&&((_0x4bb55a=this[_0xf47ffe(0x1fc)])==null?void 0x0:_0x4bb55a[_0xf47ffe(0x2f6)])===_0x41df05['row']||this[_0xf47ffe(0x27f)][_0xf47ffe(0x2f2)](_0x5c5ec1=>{_0x5c5ec1['onMouseMove'](_0x41df05);});},0x64));});}[_0x3f93a3(0x20f)](_0xe42419,_0x15c810){const _0x4ab313=_0x3f93a3;var _0x59b66b;const _0x8114c3=(_0x59b66b=this[_0x4ab313(0x16a)][_0x4ab313(0x10e)]())==null?void 0x0:_0x59b66b[_0x4ab313(0x90)];if(!_0x8114c3)return;const _0x47b446=this[_0x4ab313(0x1a8)]();if(!_0x47b446)return;this[_0x4ab313(0x27f)][_0x4ab313(0x2f2)](_0x21bfe0=>{_0x21bfe0['makeDirty']();});const {scene:_0x4537a8}=_0x47b446,_0x14695f=_0x1e8e35(Array[_0x4ab313(0x1cb)](_0x15c810[_0x4ab313(0x2ae)]()))[_0x4ab313(0x2bb)](_0x40b8f5=>{const _0x735c82=_0x4ab313,{color:_0x405e06,range:_0x34a93c,name:_0x4e6a93,selection:_0x12758d,sheetID:_0x1baf73}=_0x40b8f5,{startColumn:_0x390d53,startRow:_0xe9af84,endColumn:_0xc26f2b,endRow:_0x2e6421}=_0x34a93c,_0x791476=_0x25374d[_0x735c82(0x1c0)](_0xe9af84,_0x390d53,_0x4537a8,_0x8114c3),_0x208961=_0x25374d[_0x735c82(0x1c0)](_0x2e6421,_0xc26f2b,_0x4537a8,_0x8114c3),{columnHeaderHeightAndMarginTop:_0x467c8a}=_0x8114c3,{startX:_0x4573de,startY:_0x42b712}=_0x791476,{endX:_0x23428e,endY:_0x3b1021}=_0x208961,_0x5968a8=_0x23428e-_0x4573de,_0x669e8=_0x3b1021-_0x42b712,_0x56df40={'labelPosition':_0x42b712-_0x467c8a>=_0x564637?_0x735c82(0x89):_0x735c82(0xd6),'sheetID':_0x1baf73,'range':_0x34a93c,'color':_0x405e06,'name':_0x4e6a93,'selection':_0x12758d,'left':_0x4573de,'top':_0x42b712,'width':_0x5968a8,'height':_0x669e8,'evented':!0x1,'zIndex':_0x200e3f};return new _0x57f453(_0x4e6a93,_0x56df40);});_0x4537a8[_0x4ab313(0x29e)](_0x14695f,_0x5d5f6c),this[_0x4ab313(0x27f)]=new Set(_0x14695f);}[_0x3f93a3(0x81)](){const _0x39af69=_0x3f93a3;var _0x5cd7d1;(_0x5cd7d1=this[_0x39af69(0x27f)])==null||_0x5cd7d1[_0x39af69(0x2f2)](_0x2de5c4=>_0x2de5c4[_0x39af69(0x193)]());}['_getSheetObject'](){const _0x57bed5=_0x3f93a3;return _0x25374d[_0x57bed5(0x1f4)](this[_0x57bed5(0xa2)][_0x57bed5(0x100)],this[_0x57bed5(0xa2)]);}};_0xde1d68=_0x5dfd55([_0x4bc728(0x1,_0x1def49['Inject'](_0x25374d['SheetSkeletonManagerService'])),_0x4bc728(0x2,_0x1def49[_0x3f93a3(0x2e5)](_0x44815e)),_0x4bc728(0x3,_0x1def49[_0x3f93a3(0x2e5)](_0x1def49[_0x3f93a3(0x140)]))],_0xde1d68);function _0x1e8e35(_0x5aece9){const _0x3c1d5d=_0x3f93a3,_0x4badbe=new Map();return _0x5aece9['forEach'](_0x16ab5b=>{const _0x46304b=_0x242a;if(_0x4badbe[_0x46304b(0x2c7)](_0x16ab5b['selection'])){const _0x33c80c=_0x4badbe[_0x46304b(0x17c)](_0x16ab5b[_0x46304b(0x255)]);_0x33c80c[_0x46304b(0x305)]+=',\x20'+_0x16ab5b['name'];}else _0x4badbe[_0x46304b(0x22e)](_0x16ab5b[_0x46304b(0x255)],_0x16ab5b);}),Array[_0x3c1d5d(0x1cb)](_0x4badbe[_0x3c1d5d(0x2ae)]());}var _0x500060=function(){const _0x3a5410=_0x3f93a3;return _0x500060=Object['assign']||function(_0x82c740){const _0x4da2a6=_0x242a;for(var _0x79fec3,_0x24578d=0x1,_0x43372d=arguments[_0x4da2a6(0x22a)];_0x24578d<_0x43372d;_0x24578d++){_0x79fec3=arguments[_0x24578d];for(var _0x47bd0f in _0x79fec3)Object[_0x4da2a6(0x2ef)][_0x4da2a6(0x234)][_0x4da2a6(0x1be)](_0x79fec3,_0x47bd0f)&&(_0x82c740[_0x47bd0f]=_0x79fec3[_0x47bd0f]);}return _0x82c740;},_0x500060[_0x3a5410(0x12d)](this,arguments);},_0xf25fe8=function(_0x3b5211,_0x581efb){const _0x572a4e=_0x3f93a3;var _0x1a73a0={};for(var _0x13e721 in _0x3b5211)Object[_0x572a4e(0x2ef)][_0x572a4e(0x234)][_0x572a4e(0x1be)](_0x3b5211,_0x13e721)&&_0x581efb[_0x572a4e(0x316)](_0x13e721)<0x0&&(_0x1a73a0[_0x13e721]=_0x3b5211[_0x13e721]);if(_0x3b5211!=null&&typeof Object[_0x572a4e(0x176)]==_0x572a4e(0x30d)){for(var _0x1eb673=0x0,_0x13e721=Object['getOwnPropertySymbols'](_0x3b5211);_0x1eb673<_0x13e721[_0x572a4e(0x22a)];_0x1eb673++)_0x581efb[_0x572a4e(0x316)](_0x13e721[_0x1eb673])<0x0&&Object[_0x572a4e(0x2ef)]['propertyIsEnumerable']['call'](_0x3b5211,_0x13e721[_0x1eb673])&&(_0x1a73a0[_0x13e721[_0x1eb673]]=_0x3b5211[_0x13e721[_0x1eb673]]);}return _0x1a73a0;},_0x12d2db=_0x532356['forwardRef'](function(_0x6307db,_0x56968e){const _0x2a6eb5=_0x3f93a3;var _0x633efa=_0x6307db['icon'],_0x41ffbf=_0x6307db['id'],_0xa6ce46=_0x6307db['className'],_0x693a0b=_0x6307db['extend'],_0x2b145=_0xf25fe8(_0x6307db,[_0x2a6eb5(0x87),'id','className',_0x2a6eb5(0x264)]),_0x28abdf='univerjs-icon\x20univerjs-icon-'[_0x2a6eb5(0x1d1)](_0x41ffbf,'\x20')[_0x2a6eb5(0x1d1)](_0xa6ce46||'')[_0x2a6eb5(0x92)](),_0x359e87=_0x532356[_0x2a6eb5(0x1ff)]('_'[_0x2a6eb5(0x1d1)](_0x1fefa2()));return _0x355dd3(_0x633efa,''[_0x2a6eb5(0x1d1)](_0x41ffbf),{'defIds':_0x633efa[_0x2a6eb5(0x291)],'idSuffix':_0x359e87[_0x2a6eb5(0x88)]},_0x500060({'ref':_0x56968e,'className':_0x28abdf},_0x2b145),_0x693a0b);});function _0x355dd3(_0x570ef8,_0x3ce71e,_0x542692,_0x2de266,_0x3e8269){const _0x762c=_0x3f93a3;return _0x532356['createElement'](_0x570ef8['tag'],_0x500060(_0x500060({'key':_0x3ce71e},_0x1a09d0(_0x570ef8,_0x542692,_0x3e8269)),_0x2de266),(_0x5ecd95(_0x570ef8,_0x542692)[_0x762c(0x163)]||[])[_0x762c(0x2bb)](function(_0x5a9984,_0x494917){const _0x5e7bee=_0x762c;return _0x355dd3(_0x5a9984,''[_0x5e7bee(0x1d1)](_0x3ce71e,'-')[_0x5e7bee(0x1d1)](_0x570ef8[_0x5e7bee(0x1c4)],'-')[_0x5e7bee(0x1d1)](_0x494917),_0x542692,void 0x0,_0x3e8269);}));}function _0x1a09d0(_0x1ecfc7,_0x5f3b47,_0x5a0e29){const _0x761bce=_0x3f93a3;var _0x279fcf=_0x500060({},_0x1ecfc7['attrs']);_0x5a0e29!=null&&_0x5a0e29['colorChannel1']&&_0x279fcf[_0x761bce(0x9a)]===_0x761bce(0x1c8)&&(_0x279fcf['fill']=_0x5a0e29['colorChannel1']),_0x1ecfc7[_0x761bce(0x1c4)]===_0x761bce(0x294)&&_0x279fcf['id']&&(_0x279fcf['id']=_0x279fcf['id']+_0x5f3b47[_0x761bce(0x1c3)]),Object[_0x761bce(0x26e)](_0x279fcf)[_0x761bce(0x2f2)](function(_0x4b23da){const _0x302009=_0x761bce;var _0xddb856=_0x4b23da[0x0],_0x376d92=_0x4b23da[0x1];_0xddb856===_0x302009(0x294)&&typeof _0x376d92==_0x302009(0x1d5)&&(_0x279fcf[_0xddb856]=_0x376d92['replace'](/url\(#(.*)\)/,'url(#$1'[_0x302009(0x1d1)](_0x5f3b47[_0x302009(0x1c3)],')')));});var _0x4982b3=_0x5f3b47['defIds'];return!_0x4982b3||_0x4982b3['length']===0x0||(_0x1ecfc7[_0x761bce(0x1c4)]==='use'&&_0x279fcf[_0x761bce(0x2a9)]&&(_0x279fcf[_0x761bce(0x2a9)]=_0x279fcf[_0x761bce(0x2a9)]+_0x5f3b47[_0x761bce(0x1c3)]),Object[_0x761bce(0x26e)](_0x279fcf)[_0x761bce(0x2f2)](function(_0x390e3d){const _0x2039cb=_0x761bce;var _0x88b79e=_0x390e3d[0x0],_0x75bfcc=_0x390e3d[0x1];typeof _0x75bfcc==_0x2039cb(0x1d5)&&(_0x279fcf[_0x88b79e]=_0x75bfcc[_0x2039cb(0xef)](/url\(#(.*)\)/,_0x2039cb(0x2be)[_0x2039cb(0x1d1)](_0x5f3b47[_0x2039cb(0x1c3)],')')));})),_0x279fcf;}function _0x5ecd95(_0x4223b0,_0x11ddb1){const _0x425545=_0x3f93a3;var _0x654ee0,_0x1c89bf=_0x11ddb1[_0x425545(0x291)];return!_0x1c89bf||_0x1c89bf[_0x425545(0x22a)]===0x0?_0x4223b0:_0x4223b0[_0x425545(0x1c4)]==='defs'&&(!((_0x654ee0=_0x4223b0['children'])===null||_0x654ee0===void 0x0)&&_0x654ee0[_0x425545(0x22a)])?_0x500060(_0x500060({},_0x4223b0),{'children':_0x4223b0[_0x425545(0x163)][_0x425545(0x2bb)](function(_0x26c339){const _0x491b72=_0x425545;return typeof _0x26c339[_0x491b72(0x1bc)]['id']=='string'&&_0x1c89bf&&_0x1c89bf[_0x491b72(0x316)](_0x26c339[_0x491b72(0x1bc)]['id'])>-0x1?_0x500060(_0x500060({},_0x26c339),{'attrs':_0x500060(_0x500060({},_0x26c339[_0x491b72(0x1bc)]),{'id':_0x26c339[_0x491b72(0x1bc)]['id']+_0x11ddb1[_0x491b72(0x1c3)]})}):_0x26c339;})}):_0x4223b0;}function _0x1fefa2(){const _0x51b210=_0x3f93a3;return Math[_0x51b210(0x174)]()[_0x51b210(0x2c5)](0x24)[_0x51b210(0x308)](0x2,0x8);}_0x12d2db['displayName']=_0x3f93a3(0x205);var _0x44f830={'tag':_0x3f93a3(0x311),'attrs':{'fill':_0x3f93a3(0xa6),'viewBox':_0x3f93a3(0x2b9),'width':_0x3f93a3(0x26f),'height':_0x3f93a3(0x26f)},'children':[{'tag':'g','attrs':{'clipPath':_0x3f93a3(0x9e)},'children':[{'tag':_0x3f93a3(0x1a9),'attrs':{'stroke':_0x3f93a3(0x11f),'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':'round','strokeLinejoin':_0x3f93a3(0x105),'strokeWidth':1.2}}]},{'tag':_0x3f93a3(0x1d4),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3f93a3(0x143)},'children':[{'tag':'path','attrs':{'fill':_0x3f93a3(0x1f1),'d':_0x3f93a3(0x129)}}]}]}],'defIds':['off-line-single_clip0_910_343']},_0x4764e9=_0x532356[_0x3f93a3(0x1dc)](function(_0x547780,_0x294f2a){const _0x42db64=_0x3f93a3;return _0x532356['createElement'](_0x12d2db,Object[_0x42db64(0x249)]({},_0x547780,{'id':_0x42db64(0x116),'ref':_0x294f2a,'icon':_0x44f830}));});_0x4764e9[_0x3f93a3(0x175)]=_0x3f93a3(0x22c);var _0x18cd50={'tag':_0x3f93a3(0x311),'attrs':{'fill':_0x3f93a3(0xa6),'viewBox':_0x3f93a3(0x107),'width':'1em','height':_0x3f93a3(0x26f)},'children':[{'tag':'g','attrs':{'clipPath':_0x3f93a3(0x15e)},'children':[{'tag':_0x3f93a3(0x1a9),'attrs':{'stroke':_0x3f93a3(0x11f),'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':_0x3f93a3(0x105),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x3f93a3(0x1d4),'attrs':{},'children':[{'tag':_0x3f93a3(0x9d),'attrs':{'id':_0x3f93a3(0xad)},'children':[{'tag':_0x3f93a3(0x1a9),'attrs':{'fill':_0x3f93a3(0x1f1),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x3f93a3(0xad)]},_0x49ebdd=_0x532356[_0x3f93a3(0x1dc)](function(_0x2d42dd,_0x1620d0){const _0x112db7=_0x3f93a3;return _0x532356[_0x112db7(0x1cf)](_0x12d2db,Object[_0x112db7(0x249)]({},_0x2d42dd,{'id':'on-line-single','ref':_0x1620d0,'icon':_0x18cd50}));});_0x49ebdd[_0x3f93a3(0x175)]=_0x3f93a3(0x16f);function _0x1079bc(_0x59cf31){const _0x1a43b7=_0x3f93a3;switch(_0x59cf31){case _0x479769[_0x1a43b7(0x21b)][_0x1a43b7(0x30c)]:return _0x1a43b7(0x18b);case _0x479769[_0x1a43b7(0x21b)]['CONFLICT']:return _0x1a43b7(0x1e8);case _0x479769['CollaborationStatus'][_0x1a43b7(0x2b0)]:return _0x1a43b7(0x20d);case _0x479769[_0x1a43b7(0x21b)][_0x1a43b7(0x9c)]:return _0x1a43b7(0x1d9);case _0x479769[_0x1a43b7(0x21b)]['AWAITING']:case _0x479769[_0x1a43b7(0x21b)][_0x1a43b7(0x2cc)]:return _0x1a43b7(0x8c);case _0x479769[_0x1a43b7(0x21b)][_0x1a43b7(0x179)]:case _0x479769['CollaborationStatus'][_0x1a43b7(0x260)]:return'collabStatus.synced';}}function _0x185b6e(_0x2007e7){const _0xa9b427=_0x3f93a3,{status$:_0x4c6251}=_0x2007e7,_0x49ff36=_0x13fd76[_0xa9b427(0x117)](_0x4c6251,_0x479769[_0xa9b427(0x21b)]['NOT_COLLAB']),_0x5a2f7f=_0x13fd76[_0xa9b427(0x1b1)](_0x1def49[_0xa9b427(0x1f7)]),_0x30fad3=_0x13fd76[_0xa9b427(0x1b1)](_0x479769[_0xa9b427(0x1ca)]),_0x47e165=_0x49ff36!==_0x479769[_0xa9b427(0x21b)][_0xa9b427(0x30c)],_0xac0cf0=_0x5a2f7f['t'](_0x1079bc(_0x49ff36)),_0xb21830=_0x47e165?_0x287e60[_0xa9b427(0x2a1)](_0x49ebdd,{}):_0x287e60[_0xa9b427(0x2a1)](_0x4764e9,{}),_0x55bf88=_0x532356[_0xa9b427(0xda)](()=>{const _0x2c0f2e=_0xa9b427;_0x47e165||_0x30fad3[_0x2c0f2e(0x8e)]();},[_0x47e165,_0x30fad3]);function _0xe9818e(){const _0x440fba=_0xa9b427;return _0x287e60[_0x440fba(0x280)](_0x440fba(0x253),{'className':_0x440fba(0x80),'onClick':_0x55bf88,'children':[_0x287e60['jsx'](_0x440fba(0x253),{'className':_0xe78f23[_0x440fba(0x220)](_0x440fba(0x1e5),_0x47e165?_0x440fba(0x1af):'univer-text-red-500'),'children':_0xb21830}),_0x287e60[_0x440fba(0x2a1)]('div',{'className':_0x440fba(0x199),'children':_0xac0cf0})]});}return _0x47e165?_0xe9818e():_0x287e60['jsx'](_0xe78f23[_0xa9b427(0xca)],{'title':_0x5a2f7f['t']('collab-client.tooltip.reconnect'),'children':_0xe9818e()});}var _0x2ab1f8=Object[_0x3f93a3(0x239)],_0x390678=(_0x5258e1,_0x1ad1d4,_0x45191e,_0x7ded9a)=>{for(var _0x38fe33=_0x7ded9a>0x1?void 0x0:_0x7ded9a?_0x2ab1f8(_0x1ad1d4,_0x45191e):_0x1ad1d4,_0x5c5dae=_0x5258e1['length']-0x1,_0x529e29;_0x5c5dae>=0x0;_0x5c5dae--)(_0x529e29=_0x5258e1[_0x5c5dae])&&(_0x38fe33=_0x529e29(_0x38fe33)||_0x38fe33);return _0x38fe33;},_0x42c1fa=(_0x549839,_0xdbe593)=>(_0x39c101,_0x56f8d7)=>_0xdbe593(_0x39c101,_0x56f8d7,_0x549839);_0x285d46[_0x3f93a3(0x248)]=class extends _0x1def49[_0x3f93a3(0x124)]{constructor(_0x437753,_0x22aa36,_0x3382aa,_0x4db621){const _0x21cc4f=_0x3f93a3;super(),_0x2d103a(this,'_status$',new _0x1bc390[(_0x21cc4f(0x230))](_0x479769[_0x21cc4f(0x21b)][_0x21cc4f(0x9c)])),(this[_0x21cc4f(0x1bd)]=_0x437753,this[_0x21cc4f(0xaf)]=_0x22aa36,this[_0x21cc4f(0xe5)]=_0x3382aa,this[_0x21cc4f(0x1a1)]=_0x4db621,this[_0x21cc4f(0x137)](),this[_0x21cc4f(0xff)]());}[_0x3f93a3(0xff)](){const _0x59d476=_0x3f93a3;this[_0x59d476(0x274)](this['_univerInstanceService'][_0x59d476(0x1ba)][_0x59d476(0x122)](_0x1bc390[_0x59d476(0x1ec)](()=>{const _0x1ebc43=_0x59d476,_0x50af33=this['_univerInstanceService'][_0x1ebc43(0xbf)]();return _0x50af33?this[_0x1ebc43(0xe5)][_0x1ebc43(0x227)](_0x50af33[_0x1ebc43(0x26b)]()):_0x1bc390['of'](null);}),_0x1bc390[_0x59d476(0x1ec)](_0x3e019b=>_0x3e019b?_0x3e019b[_0x59d476(0x1b0)]:_0x1bc390['of'](_0x479769['CollaborationStatus'][_0x59d476(0x9c)])))['subscribe'](_0x14daec=>{const _0x1b71a9=_0x59d476;this[_0x1b71a9(0x298)]['next'](_0x14daec);}));}[_0x3f93a3(0x137)](){const _0x305872=_0x3f93a3;this['disposeWithMe'](this[_0x305872(0x1a1)][_0x305872(0x2c2)](_0x13fd76[_0x305872(0xc6)][_0x305872(0x112)],()=>_0x13fd76[_0x305872(0x222)](_0x1ca794({'status$':this['_status$'][_0x305872(0x228)]()}),this[_0x305872(0xaf)])));}},_0x285d46[_0x3f93a3(0x248)]=_0x390678([_0x42c1fa(0x0,_0x1def49[_0x3f93a3(0xf2)]),_0x42c1fa(0x1,_0x1def49['Inject'](_0x1def49['Injector'])),_0x42c1fa(0x2,_0x1def49[_0x3f93a3(0x2e5)](_0x479769[_0x3f93a3(0x1aa)])),_0x42c1fa(0x3,_0x13fd76['IUIPartsService'])],_0x285d46['DesktopCollaborationStatusDisplayController']);function _0x1ca794(_0x59dc6b){const {status$:_0x437faf}=_0x59dc6b;return function(){const _0x54f8eb=_0x242a;return _0x287e60[_0x54f8eb(0x2a1)](_0x185b6e,{'status$':_0x437faf});};}var _0x535dab=Object['getOwnPropertyDescriptor'],_0x472674=(_0x586a80,_0x8522b6,_0x55ca01,_0x102b13)=>{const _0x711d2e=_0x3f93a3;for(var _0x275255=_0x102b13>0x1?void 0x0:_0x102b13?_0x535dab(_0x8522b6,_0x55ca01):_0x8522b6,_0x2c765c=_0x586a80[_0x711d2e(0x22a)]-0x1,_0x3b5776;_0x2c765c>=0x0;_0x2c765c--)(_0x3b5776=_0x586a80[_0x2c765c])&&(_0x275255=_0x3b5776(_0x275255)||_0x275255);return _0x275255;},_0xe3de41=(_0x582c24,_0x14e512)=>(_0x3cbb24,_0x5e2b81)=>_0x14e512(_0x3cbb24,_0x5e2b81,_0x582c24);let _0x3d4f9d=class extends _0x1def49[_0x3f93a3(0x124)]{constructor(_0x2745d7,_0x5990f7,_0x5dbddd,_0x3b9d96,_0x9b82f6,_0x1f653a){const _0x3ea6a7=_0x3f93a3;super(),this[_0x3ea6a7(0x256)]=_0x2745d7,this[_0x3ea6a7(0x2ba)]=_0x5990f7,this[_0x3ea6a7(0x1ee)]=_0x5dbddd,this[_0x3ea6a7(0x1e6)]=_0x3b9d96,this[_0x3ea6a7(0x2e2)]=_0x9b82f6,this[_0x3ea6a7(0x21c)]=_0x1f653a,this[_0x3ea6a7(0x24d)](),this[_0x3ea6a7(0x12e)]();}['_setupBeforeClosingHandler'](){const _0x4b6bb8=_0x3f93a3;this[_0x4b6bb8(0x274)](this['_beforeCloseService'][_0x4b6bb8(0x29d)](()=>{const _0x4c39d0=_0x4b6bb8;if(this[_0x4c39d0(0x2ba)]['saveTaskMap'][_0x4c39d0(0x243)])return this[_0x4c39d0(0x21c)]['t'](_0x4c39d0(0x1de));}));}['_initEvent'](){this['disposeWithMe'](this['_collaborationUIEventService']['event$']['subscribe'](_0x32e6d7=>{const _0x1e35a3=_0x242a;_0x32e6d7['id']===_0x479769[_0x1e35a3(0x30b)][_0x1e35a3(0x200)]&&this[_0x1e35a3(0x1e6)][_0x1e35a3(0xc9)]({'type':_0xe78f23[_0x1e35a3(0x27d)][_0x1e35a3(0x159)],'content':this[_0x1e35a3(0x21c)]['t'](_0x1e35a3(0x1c7))}),_0x32e6d7['id']===_0x479769[_0x1e35a3(0x30b)][_0x1e35a3(0x1d7)]&&this[_0x1e35a3(0x1e6)]['show']({'type':_0xe78f23[_0x1e35a3(0x27d)][_0x1e35a3(0x159)],'content':this[_0x1e35a3(0x21c)]['t'](_0x1e35a3(0x18d))}),_0x32e6d7['id']===_0x479769['CollaborationUIEventId'][_0x1e35a3(0x17f)]&&this['_notificationService']['show']({'title':this['_localeService']['t']('permission.title'),'content':this['_localeService']['t']('permission.content'),'type':_0x1e35a3(0x30a),'duration':0x0}),_0x32e6d7['id']===_0x479769[_0x1e35a3(0x30b)]['CONFLICT']&&this['_messageService'][_0x1e35a3(0xc9)]({'type':_0xe78f23[_0x1e35a3(0x27d)][_0x1e35a3(0x2bf)],'content':this[_0x1e35a3(0x21c)]['t'](_0x1e35a3(0x18d))+'('+_0x32e6d7[_0x1e35a3(0x15f)]+')'}),_0x32e6d7['id']===_0x479769[_0x1e35a3(0x30b)]['JOIN_ROOM_FAILED']&&this[_0x1e35a3(0x1e6)][_0x1e35a3(0xc9)]({'type':_0xe78f23['MessageType'][_0x1e35a3(0x159)],'content':this[_0x1e35a3(0x21c)]['t'](_0x32e6d7[_0x1e35a3(0x15f)]||'')}),_0x32e6d7['id']===_0x479769[_0x1e35a3(0x30b)]['SOCKET_FAILED_RETRY']&&this[_0x1e35a3(0x1e6)][_0x1e35a3(0xc9)]({'type':_0xe78f23[_0x1e35a3(0x27d)][_0x1e35a3(0x159)],'content':this['_localeService']['t'](_0x1e35a3(0x235))}),_0x32e6d7['id']===_0x479769[_0x1e35a3(0x30b)][_0x1e35a3(0x27b)]&&this[_0x1e35a3(0x1e6)][_0x1e35a3(0xc9)]({'type':_0xe78f23[_0x1e35a3(0x27d)][_0x1e35a3(0x2bf)],'content':this[_0x1e35a3(0x21c)]['t'](_0x1e35a3(0x1f5))}),_0x32e6d7['id']===_0x479769[_0x1e35a3(0x30b)][_0x1e35a3(0x2b8)]&&this[_0x1e35a3(0x1e6)][_0x1e35a3(0xc9)]({'type':_0xe78f23['MessageType'][_0x1e35a3(0x2bf)],'content':this['_localeService']['t'](_0x1e35a3(0x177))});}));}};_0x3d4f9d=_0x472674([_0xe3de41(0x0,_0x13fd76[_0x3f93a3(0x115)]),_0xe3de41(0x1,_0x479769[_0x3f93a3(0xd4)]),_0xe3de41(0x2,_0x1def49[_0x3f93a3(0x2e5)](_0x479769[_0x3f93a3(0x247)])),_0xe3de41(0x3,_0x13fd76[_0x3f93a3(0xf0)]),_0xe3de41(0x4,_0x13fd76[_0x3f93a3(0x288)]),_0xe3de41(0x5,_0x1def49[_0x3f93a3(0x2e5)](_0x1def49[_0x3f93a3(0x1f7)]))],_0x3d4f9d);const _0x5d7a68=_0x3f93a3(0x213),_0x4b091e={},_0x1375cb=_0x1def49[_0x3f93a3(0x25c)](_0x3f93a3(0xee));var _0x766687=Object[_0x3f93a3(0x239)],_0x1533f9=(_0x2d5680,_0x13d20a,_0x4d43c3,_0x40ce9e)=>{const _0x4f890e=_0x3f93a3;for(var _0x4619ea=_0x40ce9e>0x1?void 0x0:_0x40ce9e?_0x766687(_0x13d20a,_0x4d43c3):_0x13d20a,_0x4228a2=_0x2d5680[_0x4f890e(0x22a)]-0x1,_0x58e7ee;_0x4228a2>=0x0;_0x4228a2--)(_0x58e7ee=_0x2d5680[_0x4228a2])&&(_0x4619ea=_0x58e7ee(_0x4619ea)||_0x4619ea);return _0x4619ea;},_0x306d70=(_0x71d8aa,_0xf58f36)=>(_0x4f69ea,_0x3f9e63)=>_0xf58f36(_0x4f69ea,_0x3f9e63,_0x71d8aa);_0x285d46[_0x3f93a3(0xb8)]=class extends _0x1def49[_0x3f93a3(0x191)]{constructor(_0x368ea8,_0x1685b8,_0x522e6f,_0x2cf965,_0x3ffd0c){const _0xc193c9=_0x3f93a3;super(),this['_urlService']=_0x368ea8,this['_logService']=_0x1685b8,this[_0xc193c9(0x170)]=_0x522e6f,this[_0xc193c9(0xfa)]=_0x2cf965,_0x3ffd0c?_0x3ffd0c==null||_0x3ffd0c[_0xc193c9(0xcd)]()['then'](()=>this['_init']()):(this[_0xc193c9(0x268)][_0xc193c9(0x25a)](_0xc193c9(0xeb),_0xc193c9(0x1c5)),this[_0xc193c9(0xb0)]());}async[_0x3f93a3(0xb0)](){const _0x27520c=_0x3f93a3,_0x23e754=this[_0x27520c(0x273)][_0x27520c(0x10d)](_0x27520c(0x100)),_0x4edb0a=this[_0x27520c(0x273)]['getParam'](_0x27520c(0xcc)),_0x40f7b5=this['_urlService'][_0x27520c(0x10d)]('subunit');if(!_0x23e754||!_0x4edb0a){this[_0x27520c(0x268)][_0x27520c(0x25a)](_0x27520c(0xeb),_0x27520c(0x2ec));return;}const _0x324e6e=await this[_0x27520c(0xfa)]['loadUnit'](_0x23e754,Number(_0x4edb0a),_0x40f7b5);_0x324e6e&&_0x324e6e instanceof _0x1def49[_0x27520c(0x7b)]&&this['_setupSubUnitSync'](_0x324e6e);}async[_0x3f93a3(0x16e)](_0x39ad3b){const _0x2f46d1=_0x3f93a3;await this[_0x2f46d1(0x1d8)](_0x39ad3b),_0x39ad3b['activeSheet$'][_0x2f46d1(0x122)](_0x1bc390[_0x2f46d1(0x2e4)](this[_0x2f46d1(0x13e)]))[_0x2f46d1(0x1a5)](_0x447d8f=>{const _0x5643af=_0x2f46d1;_0x447d8f&&this[_0x5643af(0x309)](_0x447d8f);}),this['_urlService']['urlChange$'][_0x2f46d1(0x122)](_0x1bc390[_0x2f46d1(0x2e4)](this[_0x2f46d1(0x13e)]))[_0x2f46d1(0x1a5)](()=>this['_updateSubUnitFromURLParams'](_0x39ad3b));}[_0x3f93a3(0x309)](_0x3a2abe,_0x5f18d8=!0x1){const _0x5273f2=_0x3f93a3,_0x2dae06=this[_0x5273f2(0x273)][_0x5273f2(0x10d)](_0x5273f2(0xb4));_0x3a2abe['getSheetId']()!==_0x2dae06&&this[_0x5273f2(0x273)][_0x5273f2(0x168)](_0x5273f2(0xb4),_0x3a2abe[_0x5273f2(0xe7)](),_0x5f18d8);}async[_0x3f93a3(0x1d8)](_0x9a1996){const _0x2d3538=_0x3f93a3;var _0x5a086f;const _0x29f510=this['_urlService'][_0x2d3538(0x10d)](_0x2d3538(0xb4));if(!_0x29f510||!_0x9a1996[_0x2d3538(0x1ce)](_0x29f510)){const _0x2edfb7=_0x9a1996[_0x2d3538(0x2b1)]()[0x0],_0x5b9961=_0x9a1996[_0x2d3538(0x1ce)](_0x2edfb7);if(!_0x5b9961)return;this[_0x2d3538(0x309)](_0x5b9961,!0x0),await this[_0x2d3538(0x170)][_0x2d3538(0xa3)](_0x218759[_0x2d3538(0x2d1)]['id'],{'unitId':_0x9a1996['getUnitId'](),'subUnitId':_0x2edfb7});return;}((_0x5a086f=_0x9a1996[_0x2d3538(0x2c9)]())==null?void 0x0:_0x5a086f[_0x2d3538(0xe7)]())!==_0x29f510&&await this[_0x2d3538(0x170)][_0x2d3538(0xa3)](_0x218759[_0x2d3538(0x2d1)]['id'],{'unitId':_0x9a1996[_0x2d3538(0x26b)](),'subUnitId':_0x29f510});}},_0x285d46[_0x3f93a3(0xb8)]=_0x1533f9([_0x306d70(0x0,_0x1375cb),_0x306d70(0x1,_0x1def49[_0x3f93a3(0xe8)]),_0x306d70(0x2,_0x1def49[_0x3f93a3(0x19d)]),_0x306d70(0x3,_0x1def49[_0x3f93a3(0x2e5)](_0x479769[_0x3f93a3(0x108)])),_0x306d70(0x4,_0x1def49['Optional'](_0x2dbfe8['IRemoteInstanceService']))],_0x285d46[_0x3f93a3(0xb8)]);var _0x23e129=Object[_0x3f93a3(0x239)],_0x38f922=(_0x584dab,_0x27361b,_0x44500d,_0x396c23)=>{const _0x5629c6=_0x3f93a3;for(var _0x497657=_0x396c23>0x1?void 0x0:_0x396c23?_0x23e129(_0x27361b,_0x44500d):_0x27361b,_0x37eaaf=_0x584dab[_0x5629c6(0x22a)]-0x1,_0x288fa2;_0x37eaaf>=0x0;_0x37eaaf--)(_0x288fa2=_0x584dab[_0x37eaaf])&&(_0x497657=_0x288fa2(_0x497657)||_0x497657);return _0x497657;},_0x165904=(_0x2a5678,_0x4ea3ee)=>(_0x1774c1,_0x57e65c)=>_0x4ea3ee(_0x1774c1,_0x57e65c,_0x2a5678);let _0xa3a1d7=class{constructor(_0x53860c,_0x4d524f,_0x3164f8){const _0x1355d3=_0x3f93a3;this[_0x1355d3(0xaf)]=_0x53860c,this[_0x1355d3(0x2ff)]=_0x4d524f,this[_0x1355d3(0xc8)]=_0x3164f8;}[_0x3f93a3(0x173)](_0x35b7a9){const _0x5e5da3=_0x3f93a3;this[_0x5e5da3(0xf8)](_0x35b7a9),this['_transformPreviousActiveRange'](_0x35b7a9);}[_0x3f93a3(0x15c)](_0x30c24d){const _0x4fbb36=_0x3f93a3,{unitID:_0x55b1d2}=_0x30c24d,_0x43b94a=this[_0x4fbb36(0xc8)][_0x4fbb36(0xb1)](_0x55b1d2)[_0x4fbb36(0x156)](_0x38c4f6[_0x4fbb36(0x206)]),{redoCache:_0x2b35b9}=_0x43b94a['getUndoRedoMutationParamsCache']();if(_0x2b35b9[_0x4fbb36(0x22a)]===0x0)return _0x30c24d;let _0x48861=_0x1def49['Tools'][_0x4fbb36(0x297)](_0x30c24d['mutations'][0x0]);for(let _0x3ea881=0x0;_0x3ea881<_0x2b35b9['length'];_0x3ea881++){const _0x3dd304={'id':_0x4fbb36(0x2a4),'params':{..._0x2b35b9[_0x3ea881]}},_0x43b862=this[_0x4fbb36(0x2ff)][_0x4fbb36(0x19f)](_0x48861,_0x3dd304,!0x1);if(_0x529ed4[_0x4fbb36(0x138)](_0x43b862))throw _0x43b862[_0x4fbb36(0x30a)];_0x48861=_0x43b862[_0x4fbb36(0x2a0)];}return{..._0x1def49[_0x4fbb36(0x20e)]['deepClone'](_0x30c24d),'mutations':[_0x48861]};}[_0x3f93a3(0xf8)](_0x115e32){const _0x49f2e4=_0x3f93a3,{unitID:_0x3dbdae}=_0x115e32,_0x114154=this[_0x49f2e4(0xc8)][_0x49f2e4(0xb1)](_0x3dbdae)[_0x49f2e4(0x156)](_0x38c4f6[_0x49f2e4(0x206)]),{undoCache:_0x511f75,redoCache:_0x3c71cb}=_0x114154['getUndoRedoMutationParamsCache']();if(_0x511f75[_0x49f2e4(0x22a)]===0x0||_0x3c71cb[_0x49f2e4(0x22a)]===0x0)return;const _0x243c0a=[],_0x192fcf=[];let _0x1d4a36=_0x1def49[_0x49f2e4(0x20e)][_0x49f2e4(0x297)](_0x115e32[_0x49f2e4(0x167)][0x0]),_0x1de717=_0x1def49['Tools']['deepClone'](_0x115e32[_0x49f2e4(0x167)][0x0]);for(let _0x473355=_0x511f75[_0x49f2e4(0x22a)]-0x1;_0x473355>=0x0;_0x473355--){const _0x2500b7={'id':'doc.mutation.rich-text-editing','params':{..._0x511f75[_0x473355]}},_0x101ed8={'id':_0x49f2e4(0x2a4),'params':{..._0x3c71cb[_0x473355]}},_0x3bedf6=this['_transformService']['transformMutation'](_0x1d4a36,_0x2500b7,!0x1),_0x533444=this[_0x49f2e4(0x2ff)]['transformMutation'](_0x1de717,_0x101ed8,!0x1);if(_0x529ed4[_0x49f2e4(0x138)](_0x3bedf6))throw _0x3bedf6[_0x49f2e4(0x30a)];if(_0x529ed4['isTransformMutationFailure'](_0x533444))throw _0x533444[_0x49f2e4(0x30a)];_0x243c0a[_0x49f2e4(0x204)](_0x3bedf6[_0x49f2e4(0x282)][_0x49f2e4(0x242)]),_0x192fcf[_0x49f2e4(0x204)](_0x533444[_0x49f2e4(0x282)][_0x49f2e4(0x242)]),_0x1d4a36=_0x3bedf6['m1Prime'],_0x1de717=_0x533444['m1Prime'];}_0x114154[_0x49f2e4(0x101)]({'undoCache':_0x243c0a,'redoCache':_0x192fcf});}[_0x3f93a3(0x1fb)](_0xe1f4a3){const _0x2d6015=_0x3f93a3,{unitID:_0x2b4d6b}=_0xe1f4a3,_0x497b8a=this['_renderManagerService'][_0x2d6015(0xb1)](_0x2b4d6b)['with'](_0x38c4f6['DocIMEInputManagerService']),_0xe4c3ce=_0x497b8a['getActiveRange']();if(_0xe4c3ce==null)return;const _0x549398=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xe1f4a3[_0x2d6015(0xf7)],'actions':null,'textRanges':[_0xe4c3ce]}}],_0x5cb95b=this[_0x2d6015(0x2ff)][_0x2d6015(0x2f0)](_0xe1f4a3,_0x549398);if(!_0x529ed4[_0x2d6015(0x30f)](_0x5cb95b))throw _0x5cb95b['error'];const _0x43649b=_0x5cb95b[_0x2d6015(0x282)][0x0][_0x2d6015(0x242)][_0x2d6015(0x203)];Array[_0x2d6015(0x1e9)](_0x43649b)&&_0x43649b[_0x2d6015(0x22a)]&&_0x497b8a[_0x2d6015(0x128)](_0x43649b[0x0]);}};_0xa3a1d7=_0x38f922([_0x165904(0x0,_0x1def49[_0x3f93a3(0x2e5)](_0x1def49[_0x3f93a3(0x14d)])),_0x165904(0x1,_0x529ed4[_0x3f93a3(0x18a)]),_0x165904(0x2,_0x451005['IRenderManagerService'])],_0xa3a1d7);var _0xe5e80f=Object[_0x3f93a3(0x239)],_0x3b3df1=(_0x2705bf,_0x51b7b1,_0x1d7b68,_0x2e1482)=>{for(var _0x17d9c2=_0x2e1482>0x1?void 0x0:_0x2e1482?_0xe5e80f(_0x51b7b1,_0x1d7b68):_0x51b7b1,_0x9dcd1a=_0x2705bf['length']-0x1,_0xae6188;_0x9dcd1a>=0x0;_0x9dcd1a--)(_0xae6188=_0x2705bf[_0x9dcd1a])&&(_0x17d9c2=_0xae6188(_0x17d9c2)||_0x17d9c2);return _0x17d9c2;},_0x1ee455=(_0x1833a3,_0x2ac52f)=>(_0x4e498b,_0x35ca1e)=>_0x2ac52f(_0x4e498b,_0x35ca1e,_0x1833a3);let _0xa7f002=class{constructor(_0x3dd196,_0x286522,_0x4a913b){const _0x2f7ac4=_0x3f93a3;this[_0x2f7ac4(0xaf)]=_0x3dd196,this[_0x2f7ac4(0x2ff)]=_0x286522,this['_docStateChangeManagerService']=_0x4a913b;}[_0x3f93a3(0x270)](_0x1ee31a){const _0x48e56c=_0x3f93a3;this[_0x48e56c(0x2b7)](_0x1ee31a);}['transformRemoteChangeset'](_0x45abe9){const _0x1df3e7=_0x3f93a3,{unitID:_0x2b84a4}=_0x45abe9,{collaboration:_0x36b2fb}=this[_0x1df3e7(0x28b)][_0x1df3e7(0x188)](_0x2b84a4);if(_0x36b2fb['length']===0x0)return _0x45abe9;let _0x16e6e9=_0x1def49[_0x1df3e7(0x20e)][_0x1df3e7(0x297)](_0x45abe9[_0x1df3e7(0x167)][0x0]);for(let _0x2d804b=0x0;_0x2d804b<_0x36b2fb[_0x1df3e7(0x22a)];_0x2d804b++){const _0x565f7a={'id':_0x1df3e7(0x2a4),'params':{'unitId':_0x36b2fb[_0x2d804b]['unitId'],..._0x36b2fb[_0x2d804b][_0x1df3e7(0x300)]}},_0x5058ea=this[_0x1df3e7(0x2ff)][_0x1df3e7(0x19f)](_0x16e6e9,_0x565f7a,!0x1);if(_0x529ed4[_0x1df3e7(0x138)](_0x5058ea))throw _0x5058ea['error'];_0x16e6e9=_0x5058ea[_0x1df3e7(0x2a0)];}return{..._0x1def49['Tools']['deepClone'](_0x45abe9),'mutations':[_0x16e6e9]};}[_0x3f93a3(0x2b7)](_0x543d89){const _0x46de79=_0x3f93a3,{unitID:_0x541884}=_0x543d89,{history:_0x2ccd68,collaboration:_0x52b3f2}=this['_docStateChangeManagerService'][_0x46de79(0x188)](_0x541884);if(_0x2ccd68[_0x46de79(0x22a)]===0x0&&_0x52b3f2['length']===0x0)return;const _0x4b1127=[],_0x683246=[];let _0x29e6dc=_0x1def49['Tools']['deepClone'](_0x543d89[_0x46de79(0x167)][0x0]),_0x47994c=_0x1def49[_0x46de79(0x20e)]['deepClone'](_0x543d89[_0x46de79(0x167)][0x0]);for(let _0x35bee2=_0x2ccd68[_0x46de79(0x22a)]-0x1;_0x35bee2>=0x0;_0x35bee2--){const _0x507091={'id':_0x46de79(0x2a4),'params':{'unitId':_0x2ccd68[_0x35bee2][_0x46de79(0x14e)],..._0x2ccd68[_0x35bee2][_0x46de79(0x14a)]}},_0x141bd9={'id':_0x46de79(0x2a4),'params':{'unitId':_0x2ccd68[_0x35bee2][_0x46de79(0x14e)],..._0x2ccd68[_0x35bee2][_0x46de79(0x300)]}},_0x16a586=this[_0x46de79(0x2ff)][_0x46de79(0x19f)](_0x29e6dc,_0x507091,!0x1),_0x5917ed=this[_0x46de79(0x2ff)][_0x46de79(0x19f)](_0x47994c,_0x141bd9,!0x1);if(_0x529ed4['isTransformMutationFailure'](_0x16a586))throw _0x16a586[_0x46de79(0x30a)];if(_0x529ed4[_0x46de79(0x138)](_0x5917ed))throw _0x5917ed[_0x46de79(0x30a)];_0x4b1127['unshift']({..._0x2ccd68[_0x35bee2],'undoState':_0x16a586['m2Prime'][_0x46de79(0x242)],'redoState':_0x5917ed[_0x46de79(0x282)][_0x46de79(0x242)]}),_0x29e6dc=_0x16a586[_0x46de79(0x2a0)],_0x47994c=_0x5917ed[_0x46de79(0x2a0)];}_0x29e6dc=_0x1def49[_0x46de79(0x20e)]['deepClone'](_0x543d89[_0x46de79(0x167)][0x0]),_0x47994c=_0x1def49[_0x46de79(0x20e)][_0x46de79(0x297)](_0x543d89[_0x46de79(0x167)][0x0]);for(let _0x21fa60=_0x52b3f2[_0x46de79(0x22a)]-0x1;_0x21fa60>=0x0;_0x21fa60--){const _0x3864a7={'id':_0x46de79(0x2a4),'params':{'unitId':_0x52b3f2[_0x21fa60]['unitId'],..._0x52b3f2[_0x21fa60]['undoState']}},_0x3e0464={'id':_0x46de79(0x2a4),'params':{'unitId':_0x52b3f2[_0x21fa60][_0x46de79(0x14e)],..._0x52b3f2[_0x21fa60][_0x46de79(0x300)]}},_0x1e08e1=this['_transformService']['transformMutation'](_0x29e6dc,_0x3864a7,!0x1),_0x475166=this['_transformService'][_0x46de79(0x19f)](_0x47994c,_0x3e0464,!0x1);if(_0x529ed4['isTransformMutationFailure'](_0x1e08e1))throw _0x1e08e1['error'];if(_0x529ed4[_0x46de79(0x138)](_0x475166))throw _0x475166[_0x46de79(0x30a)];_0x683246[_0x46de79(0x204)]({..._0x52b3f2[_0x21fa60],'undoState':_0x1e08e1[_0x46de79(0x282)]['params'],'redoState':_0x475166[_0x46de79(0x282)][_0x46de79(0x242)]}),_0x29e6dc=_0x1e08e1['m1Prime'],_0x47994c=_0x475166['m1Prime'];}this['_docStateChangeManagerService']['setStateCache'](_0x541884,{'history':_0x4b1127,'collaboration':_0x683246});}};_0xa7f002=_0x3b3df1([_0x1ee455(0x0,_0x1def49['Inject'](_0x1def49[_0x3f93a3(0x14d)])),_0x1ee455(0x1,_0x529ed4[_0x3f93a3(0x18a)]),_0x1ee455(0x2,_0x1def49[_0x3f93a3(0x2e5)](_0x38c4f6['DocStateChangeManagerService']))],_0xa7f002);var _0x193b6f=Object[_0x3f93a3(0x239)],_0x38e442=(_0x145d99,_0x40a168,_0xcd2532,_0x366187)=>{for(var _0x54eb7f=_0x366187>0x1?void 0x0:_0x366187?_0x193b6f(_0x40a168,_0xcd2532):_0x40a168,_0x558c7f=_0x145d99['length']-0x1,_0x1b3aed;_0x558c7f>=0x0;_0x558c7f--)(_0x1b3aed=_0x145d99[_0x558c7f])&&(_0x54eb7f=_0x1b3aed(_0x54eb7f)||_0x54eb7f);return _0x54eb7f;},_0x41b4f4=(_0x4aaa4b,_0x13f91e)=>(_0x1a0376,_0x3a9017)=>_0x13f91e(_0x1a0376,_0x3a9017,_0x4aaa4b);let _0x2f2eed=class{constructor(_0x1d5f7d,_0x913f8a){const _0x28644a=_0x3f93a3;this[_0x28644a(0xaf)]=_0x1d5f7d,this[_0x28644a(0x2ff)]=_0x913f8a;}[_0x3f93a3(0x2a2)](_0xb8625e){const _0xef8583=_0x3f93a3;var _0x3a28b2;const _0x51e48e=this[_0xef8583(0xaf)][_0xef8583(0x17c)](_0x5ec733['DocSelectionManagerService']),_0x46eab9=(_0x3a28b2=_0x51e48e[_0xef8583(0x2f8)]())!=null?_0x3a28b2:[];if(_0x46eab9['length']===0x0)return;const _0x3ee85d=_0xb8625e[_0xef8583(0xf7)],_0xfb6bc5=[{'id':_0xef8583(0x2a4),'params':{'unitId':_0x3ee85d,'actions':null,'textRanges':_0x46eab9}}],_0x5431aa=this['_transformService']['transformMutationsWithChangeset'](_0xb8625e,_0xfb6bc5);if(!_0x529ed4[_0xef8583(0x30f)](_0x5431aa))throw _0x5431aa['error'];const _0x5c4e9b=_0x5431aa[_0xef8583(0x282)][0x0][_0xef8583(0x242)][_0xef8583(0x203)];Array[_0xef8583(0x1e9)](_0x5c4e9b)&&_0x5c4e9b[_0xef8583(0x22a)]&&_0x51e48e[_0xef8583(0x2ea)](_0x5c4e9b,{'unitId':_0x3ee85d,'subUnitId':_0x3ee85d},!0x1);}};_0x2f2eed=_0x38e442([_0x41b4f4(0x0,_0x1def49[_0x3f93a3(0x2e5)](_0x1def49[_0x3f93a3(0x14d)])),_0x41b4f4(0x1,_0x529ed4['ITransformService'])],_0x2f2eed);var _0x4f2941=Object['getOwnPropertyDescriptor'],_0x52653b=(_0x2152e4,_0x17d33b,_0x5a2725,_0x506028)=>{const _0xd26221=_0x3f93a3;for(var _0x3369db=_0x506028>0x1?void 0x0:_0x506028?_0x4f2941(_0x17d33b,_0x5a2725):_0x17d33b,_0x1aea4a=_0x2152e4[_0xd26221(0x22a)]-0x1,_0x358fda;_0x1aea4a>=0x0;_0x1aea4a--)(_0x358fda=_0x2152e4[_0x1aea4a])&&(_0x3369db=_0x358fda(_0x3369db)||_0x3369db);return _0x3369db;},_0x274f86=(_0x32130d,_0x1751b3)=>(_0x37e27c,_0x3b0f45)=>_0x1751b3(_0x37e27c,_0x3b0f45,_0x32130d);let _0x4220f4=class extends _0x1def49[_0x3f93a3(0x124)]{constructor(_0x7bd3ab,_0x1a1945,_0x319ca1,_0x770c95,_0x5d8ad7,_0x505201,_0x57d4c5,_0xed248a){const _0x32db4f=_0x3f93a3;super(),_0x2d103a(this,_0x32db4f(0x298),new _0x1bc390[(_0x32db4f(0x230))](_0x479769[_0x32db4f(0x21b)][_0x32db4f(0x9c)])),(this[_0x32db4f(0x28b)]=_0x7bd3ab,this[_0x32db4f(0xe5)]=_0x1a1945,this[_0x32db4f(0x120)]=_0x319ca1,this[_0x32db4f(0x229)]=_0x770c95,this[_0x32db4f(0x14c)]=_0x5d8ad7,this[_0x32db4f(0x2e8)]=_0x505201,this[_0x32db4f(0x1e6)]=_0x57d4c5,this['_localeService']=_0xed248a,this['_initEntityListener']());}[_0x3f93a3(0x12c)](){const _0x6bf66e=_0x3f93a3;this[_0x6bf66e(0x274)](this[_0x6bf66e(0xe5)][_0x6bf66e(0x257)][_0x6bf66e(0x1a5)](_0x1eb319=>{const _0x40dee9=_0x6bf66e,_0xe5e7d=this[_0x40dee9(0x28b)][_0x40dee9(0x217)]['subscribe'](_0x18f5a8=>{const _0x14207e=_0x40dee9;if(_0x18f5a8==null)return;const {unitId:_0x4a1795,redoState:_0x308b1e,commandId:_0x3738b4}=_0x18f5a8;if(_0x4a1795!==_0x1eb319[_0x14207e(0xf7)])return;const _0x50d59d={'id':_0x3738b4,'type':_0x1def49[_0x14207e(0x10a)][_0x14207e(0x161)],'params':{'unitId':_0x4a1795,'actions':_0x308b1e['actions'],'textRanges':null}};_0x1eb319['onLocalMutation'](_0x50d59d);});if(_0x1eb319['disposeWithMe'](_0xe5e7d),_0x1eb319 instanceof _0x479769[_0x40dee9(0x2f4)]){const _0x13dc4e={'onTransformIME':_0x10af28=>this[_0x40dee9(0x120)][_0x40dee9(0x173)](_0x10af28),'onTransformState':_0x126e9f=>this[_0x40dee9(0x229)][_0x40dee9(0x270)](_0x126e9f),'onTransformSelections':_0x1e0b7b=>this[_0x40dee9(0x14c)]['transformSelections'](_0x1e0b7b),'onSyncEditingCollabCursor':_0x1c99a0=>this[_0x40dee9(0x2e8)][_0x40dee9(0x20a)](_0x1c99a0),'onTransformRemoteChangesetByIMECache':_0x3e35d5=>this[_0x40dee9(0x120)]['transformRemoteChangeset'](_0x3e35d5),'onTransformRemoteChangesetByStateCache':_0x111d1c=>this['_docTransformStateCacheService'][_0x40dee9(0x15c)](_0x111d1c)};_0x1eb319['addHandlerCallback'](_0x13dc4e);}}));}};_0x4220f4=_0x52653b([_0x274f86(0x0,_0x1def49[_0x3f93a3(0x2e5)](_0x38c4f6[_0x3f93a3(0x1db)])),_0x274f86(0x1,_0x1def49['Inject'](_0x479769[_0x3f93a3(0x1aa)])),_0x274f86(0x2,_0x1def49[_0x3f93a3(0x2e5)](_0xa3a1d7)),_0x274f86(0x3,_0x1def49[_0x3f93a3(0x2e5)](_0xa7f002)),_0x274f86(0x4,_0x1def49[_0x3f93a3(0x2e5)](_0x2f2eed)),_0x274f86(0x5,_0x1def49['Inject'](_0x3a08fe)),_0x274f86(0x6,_0x13fd76[_0x3f93a3(0xf0)]),_0x274f86(0x7,_0x1def49[_0x3f93a3(0x2e5)](_0x1def49[_0x3f93a3(0x1f7)]))],_0x4220f4);var _0x48a9e9=Object[_0x3f93a3(0x239)],_0x2e142f=(_0x4b2bc9,_0xd3526a,_0x4adee6,_0x4ff041)=>{const _0x41b588=_0x3f93a3;for(var _0x39c6b3=_0x4ff041>0x1?void 0x0:_0x4ff041?_0x48a9e9(_0xd3526a,_0x4adee6):_0xd3526a,_0x27a095=_0x4b2bc9[_0x41b588(0x22a)]-0x1,_0x22d21b;_0x27a095>=0x0;_0x27a095--)(_0x22d21b=_0x4b2bc9[_0x27a095])&&(_0x39c6b3=_0x22d21b(_0x39c6b3)||_0x39c6b3);return _0x39c6b3;},_0x2d8d0a=(_0x3fa91b,_0x4ba0f4)=>(_0x5b1af1,_0x7ba6bf)=>_0x4ba0f4(_0x5b1af1,_0x7ba6bf,_0x3fa91b);let _0x2dd66f=class extends _0x1def49['Disposable']{constructor(_0x12a8a6,_0x501bd4,_0x5c8505){const _0x549b25=_0x3f93a3;super(),_0x2d103a(this,_0x549b25(0x2d5),new Map()),_0x2d103a(this,_0x549b25(0x2df),new Map()),_0x2d103a(this,_0x549b25(0xcf),!0x1),(this['_configService']=_0x12a8a6,this[_0x549b25(0x123)]=_0x501bd4,this[_0x549b25(0xb7)]=_0x5c8505);}[_0x3f93a3(0x1ab)](){const _0xfe051f=_0x3f93a3;this[_0xfe051f(0xcf)]=!0x0;}['enableLocalCache'](){const _0x39493b=_0x3f93a3;this[_0x39493b(0xcf)]=!0x1;}get[_0x3f93a3(0x2db)](){const _0x1d4faf=_0x3f93a3;return this[_0x1d4faf(0x2df)];}[_0x3f93a3(0x193)](){const _0x3e8525=_0x3f93a3;this[_0x3e8525(0x17e)]()[_0x3e8525(0x1a6)](()=>super['dispose']());}async[_0x3f93a3(0xce)](_0x51eeb0){const _0x37ee0e=_0x3f93a3;return this[_0x37ee0e(0xcf)]?null:this[_0x37ee0e(0x123)][_0x37ee0e(0x1e4)](_0x479769[_0x37ee0e(0x2b2)](_0x51eeb0));}async[_0x3f93a3(0x1f0)](_0x138507,_0x448c27){const _0x11ca9c=_0x3f93a3;return!!this[_0x11ca9c(0x123)][_0x11ca9c(0x95)](_0x138507,_0x448c27);}[_0x3f93a3(0x24f)](_0x236ad2,_0x122d4b,_0x545fba,_0x542c3b){const _0x320913=_0x3f93a3,_0x3fcebd=this[_0x320913(0xb7)][_0x320913(0x96)](_0x236ad2);this[_0x320913(0x2d5)][_0x320913(0x22e)](_0x236ad2,{'unitID':_0x236ad2,'type':_0x122d4b,'awaitingChangeset':_0x545fba,'mutations':_0x542c3b,'rev':_0x3fcebd}),this[_0x320913(0x2df)][_0x320913(0x2c7)](_0x236ad2)||this[_0x320913(0x2c8)](_0x236ad2);}[_0x3f93a3(0x2c8)](_0x2e13c9){const _0x4498f9=_0x3f93a3,_0x1867ee=this[_0x4498f9(0x99)]();_0x1867ee===0x0?this[_0x4498f9(0x306)](_0x2e13c9):this['_saveTaskMap'][_0x4498f9(0x22e)](_0x2e13c9,setTimeout(()=>this[_0x4498f9(0x306)](_0x2e13c9),_0x1867ee));}['_getSaveTimeout'](){const _0x119093=_0x3f93a3;var _0x3e2303;return(_0x3e2303=this['_configService'][_0x119093(0x2eb)](_0x479769[_0x119093(0x276)]))!=null?_0x3e2303:_0x479769['LOCAL_CACHE_INTERVAL'];}['_saveCache'](_0x54894c){const _0x566e00=_0x3f93a3,_0x168da4=this['_saveTaskMap'][_0x566e00(0x17c)](_0x54894c);return _0x168da4!==void 0x0&&window['clearTimeout'](_0x168da4),this['_localStorageService'][_0x566e00(0x95)](_0x479769[_0x566e00(0x2b2)](_0x54894c),this['_cachedData'][_0x566e00(0x17c)](_0x54894c))['then'](()=>this[_0x566e00(0x2df)][_0x566e00(0xd5)](_0x54894c));}async[_0x3f93a3(0x17e)](){const _0x3d8505=_0x3f93a3,_0x194e1e=[];this[_0x3d8505(0x2df)][_0x3d8505(0x2f2)]((_0x52ca42,_0x5e8d2d)=>{const _0x836091=_0x3d8505;window[_0x836091(0xec)](_0x52ca42),_0x194e1e[_0x836091(0x1b5)](this[_0x836091(0x306)](_0x5e8d2d)[_0x836091(0x1a6)](()=>{const _0x4953d8=_0x836091;this[_0x4953d8(0x2df)][_0x4953d8(0xd5)](_0x5e8d2d);}));}),await Promise[_0x3d8505(0x148)](_0x194e1e);}};_0x2dd66f=_0x2e142f([_0x2d8d0a(0x0,_0x1def49['IConfigService']),_0x2d8d0a(0x1,_0x1def49[_0x3f93a3(0xa1)]),_0x2d8d0a(0x2,_0x1def49[_0x3f93a3(0x2e5)](_0x529ed4['RevisionService']))],_0x2dd66f);class _0x23e6ac extends _0x1def49[_0x3f93a3(0x191)]{constructor(){const _0x3a3e38=_0x3f93a3;super(),_0x2d103a(this,_0x3a3e38(0x1e7)),this['urlChange$']=_0x1bc390[_0x3a3e38(0x2d9)](window,_0x3a3e38(0x2da))[_0x3a3e38(0x122)](_0x1bc390['takeUntil'](this['dispose$']),_0x1bc390[_0x3a3e38(0xaa)](0x1),_0x1bc390[_0x3a3e38(0x1da)](void 0x0));}[_0x3f93a3(0x168)](_0x537062,_0x3caadf,_0x595494=!0x1){const _0xa4f2dc=_0x3f93a3,_0x3aad11=new URL(window[_0xa4f2dc(0x2d4)][_0xa4f2dc(0x314)]);_0x3aad11[_0xa4f2dc(0x165)][_0xa4f2dc(0x22e)](_0x537062,_0x3caadf),_0x595494?window['history'][_0xa4f2dc(0xf5)]('','',_0x3aad11[_0xa4f2dc(0x2c5)]()):window[_0xa4f2dc(0x2f9)][_0xa4f2dc(0x13d)]('','',_0x3aad11['toString']());}[_0x3f93a3(0x226)](_0x17a0c7,_0x18dcdd=!0x1){const _0x5a85a9=_0x3f93a3,_0x492386=new URL(window['location'][_0x5a85a9(0x314)]);_0x492386['searchParams'][_0x5a85a9(0xd5)](_0x17a0c7),_0x18dcdd?window[_0x5a85a9(0x2f9)][_0x5a85a9(0xf5)]('','',_0x492386[_0x5a85a9(0x2c5)]()):window[_0x5a85a9(0x2f9)][_0x5a85a9(0x13d)]('','',_0x492386[_0x5a85a9(0x2c5)]());}[_0x3f93a3(0x10d)](_0x2e1695){const _0x58054f=_0x3f93a3;var _0x20548a;return(_0x20548a=new URL(window[_0x58054f(0x2d4)][_0x58054f(0x314)])['searchParams']['get'](_0x2e1695))!=null?_0x20548a:void 0x0;}}var _0x564bcc=Object[_0x3f93a3(0x1e3)],_0x194b4a=Object['getOwnPropertyDescriptor'],_0x2b2dd5=(_0x166418,_0x4a68ee,_0x37f98a)=>_0x4a68ee in _0x166418?_0x564bcc(_0x166418,_0x4a68ee,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x37f98a}):_0x166418[_0x4a68ee]=_0x37f98a,_0x560e24=(_0x12278c,_0x472897,_0x30db26,_0x4fa4a9)=>{const _0x5d1160=_0x3f93a3;for(var _0x5eb6e7=_0x4fa4a9>0x1?void 0x0:_0x4fa4a9?_0x194b4a(_0x472897,_0x30db26):_0x472897,_0x4eaa60=_0x12278c[_0x5d1160(0x22a)]-0x1,_0x5a5fa6;_0x4eaa60>=0x0;_0x4eaa60--)(_0x5a5fa6=_0x12278c[_0x4eaa60])&&(_0x5eb6e7=_0x5a5fa6(_0x5eb6e7)||_0x5eb6e7);return _0x5eb6e7;},_0x151495=(_0x5d80a5,_0x380c67)=>(_0x23ac6d,_0x2c8655)=>_0x380c67(_0x23ac6d,_0x2c8655,_0x5d80a5),_0x599521=(_0x2f535f,_0x243619,_0x3f4494)=>_0x2b2dd5(_0x2f535f,_0x243619+'',_0x3f4494);const _0x4cb91d=_0x3f93a3(0xf4);_0x285d46[_0x3f93a3(0x21a)]=class extends _0x1def49[_0x3f93a3(0x1dd)]{constructor(_0x2e2a32=_0x4b091e,_0x5b2fb7,_0x2c92c8,_0x5ba66f){const _0x4292f5=_0x3f93a3;super(),this[_0x4292f5(0x19b)]=_0x2e2a32,this[_0x4292f5(0xc8)]=_0x5b2fb7,this[_0x4292f5(0xaf)]=_0x2c92c8,this[_0x4292f5(0x1bf)]=_0x5ba66f;const {..._0x338499}=_0x1def49[_0x4292f5(0x26d)]({},_0x4b091e,this[_0x4292f5(0x19b)]);this['_configService'][_0x4292f5(0x20b)](_0x5d7a68,_0x338499);}[_0x3f93a3(0x113)](){const _0x4b26a5=_0x3f93a3;this[_0x4b26a5(0x1b9)](),this[_0x4b26a5(0x2cb)]();}[_0x3f93a3(0x2a6)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x377e5f=_0x3f93a3;var _0x545937;const _0x394d56=[[_0xc01724],[_0x2f2eed],[_0xa3a1d7],[_0xa7f002],[_0x3a08fe],[_0x1375cb,{'useClass':_0x23e6ac}],[_0x5196ad[_0x377e5f(0x202)],{'useClass':_0x5196ad[_0x377e5f(0x225)]}],[_0x479769[_0x377e5f(0xd4)],{'useClass':_0x2dd66f}],[_0x285d46[_0x377e5f(0x248)]],[_0x4220f4],[_0x3d4f9d],[_0x44815e],[_0x351e0a],[_0x285d46['CollaborationDataLoaderController']]];_0x1def49['registerDependencies'](this[_0x377e5f(0xaf)],_0x1def49[_0x377e5f(0x121)](_0x394d56,(_0x545937=this[_0x377e5f(0x19b)])==null?void 0x0:_0x545937[_0x377e5f(0x241)]));}[_0x3f93a3(0x180)](){const _0x5a34a1=_0x3f93a3;this['disposeWithMe'](this[_0x5a34a1(0xc8)][_0x5a34a1(0x94)](_0x1def49[_0x5a34a1(0x23e)]['UNIVER_DOC'],[_0x12384c])),this[_0x5a34a1(0x274)](this['_renderManagerService'][_0x5a34a1(0x94)](_0x1def49['UniverInstanceType'][_0x5a34a1(0x134)],[_0xde1d68]));}['_initDependencies'](){const _0x470c08=_0x3f93a3;_0x1def49[_0x470c08(0x139)](this[_0x470c08(0xaf)],[[_0x44815e],[_0x285d46[_0x470c08(0x248)]],[_0x4220f4],[_0x3d4f9d],[_0x285d46[_0x470c08(0xb8)]]]);}},_0x599521(_0x285d46['UniverCollaborationClientUIPlugin'],_0x3f93a3(0x1cd),_0x4cb91d),_0x285d46[_0x3f93a3(0x21a)]=_0x560e24([_0x1def49[_0x3f93a3(0x1b8)](_0x479769[_0x3f93a3(0x97)]),_0x151495(0x1,_0x451005[_0x3f93a3(0x215)]),_0x151495(0x2,_0x1def49['Inject'](_0x1def49[_0x3f93a3(0x14d)])),_0x151495(0x3,_0x1def49[_0x3f93a3(0x119)])],_0x285d46[_0x3f93a3(0x21a)]);var _0x3a851a=Object[_0x3f93a3(0x239)],_0x3b5380=(_0x7669e0,_0x1acf97,_0x3b8375,_0x1825cb)=>{const _0x1282a3=_0x3f93a3;for(var _0x426e25=_0x1825cb>0x1?void 0x0:_0x1825cb?_0x3a851a(_0x1acf97,_0x3b8375):_0x1acf97,_0x2fdbab=_0x7669e0[_0x1282a3(0x22a)]-0x1,_0x1108d4;_0x2fdbab>=0x0;_0x2fdbab--)(_0x1108d4=_0x7669e0[_0x2fdbab])&&(_0x426e25=_0x1108d4(_0x426e25)||_0x426e25);return _0x426e25;},_0x4a25ec=(_0x4eacf1,_0x5a8487)=>(_0x58537e,_0x4b99ee)=>_0x5a8487(_0x58537e,_0x4b99ee,_0x4eacf1);_0x285d46['BrowserCollaborationSocketService']=class extends _0x479769[_0x3f93a3(0xed)]{constructor(_0x2798b8,_0x20fee2,_0x161b34,_0x380e1d,_0x497ede){super(_0x2798b8,_0x20fee2,_0x161b34,_0x380e1d,_0x497ede);}async[_0x3f93a3(0x304)](_0x918476){const _0x2045a0=_0x3f93a3,_0x312410=await this[_0x2045a0(0x109)](),_0x3d1f41=this[_0x2045a0(0xe6)](_0x918476,_0x312410);return this['_doCreateSocket'](_0x3d1f41);}[_0x3f93a3(0xe6)](_0x4c3135,_0x627004){const _0x38cfd8=_0x3f93a3,_0x303b75=typeof window>'u'?new URL(_0x4c3135):new URL(_0x4c3135,window[_0x38cfd8(0x2d4)][_0x38cfd8(0x78)]);_0x303b75[_0x38cfd8(0x165)][_0x38cfd8(0x22e)](_0x38cfd8(0x1ef),_0x627004);const _0x14ce88=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x38cfd8(0x133)]);return _0x14ce88[_0x38cfd8(0x17c)]('runId')&&_0x303b75['searchParams'][_0x38cfd8(0x22e)](_0x38cfd8(0x266),_0x14ce88[_0x38cfd8(0x17c)](_0x38cfd8(0x266))),_0x303b75[_0x38cfd8(0x2c5)]();}async['_getSessionTicket'](){const _0x215b8b=_0x3f93a3;var _0x42d12c,_0xfd440a,_0xdfb5ca;const _0xbf2450=this[_0x215b8b(0x1bf)][_0x215b8b(0x2eb)](_0x479769[_0x215b8b(0xb6)]),_0x48cac8=(_0x42d12c=_0xbf2450==null?void 0x0:_0xbf2450[_0x215b8b(0xf6)])!=null?_0x42d12c:_0x479769[_0x215b8b(0x2ac)];return(_0xdfb5ca=(_0xfd440a=(await this[_0x215b8b(0x251)][_0x215b8b(0x17c)](_0x48cac8,{'headers':{'Content-Type':_0x215b8b(0x18f)}}))[_0x215b8b(0x26a)])==null?void 0x0:_0xfd440a['ticket'])!=null?_0xdfb5ca:'';}},_0x285d46[_0x3f93a3(0x1b2)]=_0x3b5380([_0x4a25ec(0x0,_0x1def49[_0x3f93a3(0x2e5)](_0x1def49['Injector'])),_0x4a25ec(0x1,_0x1def49[_0x3f93a3(0x2e5)](_0x5196ad[_0x3f93a3(0x283)])),_0x4a25ec(0x2,_0x1def49[_0x3f93a3(0x119)]),_0x4a25ec(0x3,_0x1def49['ILogService']),_0x4a25ec(0x4,_0x529ed4['ISnapshotServerService'])],_0x285d46[_0x3f93a3(0x1b2)]);const _0x130879=0x7530,_0x1b0f6a=_0x3f93a3(0x13f);class _0x525196 extends _0x1def49[_0x3f93a3(0x124)]{constructor(){const _0x5a7c84=_0x3f93a3;super(),_0x2d103a(this,'_id',_0x1def49['generateRandomId']()),_0x2d103a(this,_0x5a7c84(0x1d0),new Set()),_0x2d103a(this,_0x5a7c84(0x214),new Map()),_0x2d103a(this,_0x5a7c84(0x172),null),_0x2d103a(this,_0x5a7c84(0x98),new Map()),_0x2d103a(this,_0x5a7c84(0x197),new Map()),this['_init']();}['dispose'](){const _0x181fb2=_0x3f93a3;super[_0x181fb2(0x193)](),this[_0x181fb2(0x98)][_0x181fb2(0x2f2)]((_0x1439fc,_0x5473f1)=>this[_0x181fb2(0xdc)](_0x5473f1)),this['_heartbeatTimer']&&window[_0x181fb2(0x246)](this[_0x181fb2(0x172)]);}['getUnitStatus$'](_0x187ee6){const _0x434235=_0x3f93a3;return this[_0x434235(0x158)](_0x187ee6)[_0x434235(0x122)](_0x1bc390[_0x434235(0x22b)]());}[_0x3f93a3(0xdf)](_0x1d1f5c){const _0x45f33c=_0x3f93a3;this[_0x45f33c(0x1d0)][_0x45f33c(0x243)]===0x0&&this['_scheduleHeartbeat'](),this[_0x45f33c(0x1d0)][_0x45f33c(0x146)](_0x1d1f5c),this[_0x45f33c(0x2fc)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x1d1f5c],'isForwarded':!0x1});}[_0x3f93a3(0x77)](_0x5994f2){const _0x4eadd4=_0x3f93a3;this[_0x4eadd4(0x1d0)][_0x4eadd4(0xd5)](_0x5994f2),this[_0x4eadd4(0x1d0)][_0x4eadd4(0x243)]===0x0&&this[_0x4eadd4(0x172)]&&window[_0x4eadd4(0x246)](this[_0x4eadd4(0x172)]);}[_0x3f93a3(0xb0)](){const _0x59e945=_0x3f93a3;this[_0x59e945(0x274)](_0x1def49[_0x59e945(0xd3)](_0x1bc390[_0x59e945(0x2d9)](window,'storage')[_0x59e945(0x1a5)](_0x112384=>{const _0x26ad4a=_0x59e945;if(_0x112384[_0x26ad4a(0x7e)]!==_0x1b0f6a||!_0x112384['newValue'])return;const _0x4e1321=JSON[_0x26ad4a(0xac)](_0x112384[_0x26ad4a(0xd1)]);this[_0x26ad4a(0x178)](_0x4e1321);}))),window[_0x59e945(0x23c)]('unload',()=>this[_0x59e945(0x2fc)]({'type':0x1,'memberID':this[_0x59e945(0x2a7)],'unitIDs':Array[_0x59e945(0x1cb)](this[_0x59e945(0x1d0)])}));}[_0x3f93a3(0x178)](_0x460698){const _0x238d51=_0x3f93a3;switch(_0x460698['type']){case 0x0:this[_0x238d51(0x218)](_0x460698);break;case 0x1:this[_0x238d51(0x2fe)](_0x460698);break;case 0x2:this[_0x238d51(0xbb)](_0x460698);break;}}[_0x3f93a3(0x218)](_0xc8e388){const _0x20f4a5=_0x3f93a3,{unitIDs:_0x56b7aa,memberID:_0x1277a9,isForwarded:_0x33fb84}=_0xc8e388;_0x56b7aa[_0x20f4a5(0x2f2)](_0x31718c=>{const _0x5bc386=_0x20f4a5;if(!_0x33fb84&&this[_0x5bc386(0x214)][_0x5bc386(0x2c7)](_0x31718c)&&this[_0x5bc386(0x158)](_0x31718c)['next'](_0x479769['UnitStatus'][_0x5bc386(0x1f3)]),!this['_unitOnClients']['has'](_0x31718c)||!this['_unitOnClients']['get'](_0x31718c)[_0x5bc386(0x2c7)](_0x1277a9)){const _0x30cb48=this['_unitOnClients'][_0x5bc386(0x17c)](_0x31718c)||new Set();_0x30cb48[_0x5bc386(0x146)](_0x1277a9),this[_0x5bc386(0x214)]['set'](_0x31718c,_0x30cb48),this[_0x5bc386(0x223)](_0x1277a9);}}),_0x33fb84||this[_0x20f4a5(0x2fc)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x20f4a5(0x1d0)]],'isForwarded':!0x0});}[_0x3f93a3(0x223)](_0x267388){const _0x567dbc=_0x3f93a3;this[_0x567dbc(0xdc)](_0x267388);const _0x22cee9=window['setTimeout'](()=>{const _0x86f476=_0x567dbc;this[_0x86f476(0x214)][_0x86f476(0x2f2)](_0x3abebf=>{const _0x39807a=_0x86f476;_0x3abebf[_0x39807a(0xd5)](_0x267388);});},_0x130879*0x2);this[_0x567dbc(0x98)]['set'](_0x267388,_0x22cee9);}[_0x3f93a3(0xdc)](_0x30d463){const _0x585f50=_0x3f93a3;if(this['_clearOtherTimers'][_0x585f50(0x2c7)](_0x30d463)){const _0x2b0422=this[_0x585f50(0x98)]['get'](_0x30d463);_0x2b0422&&window[_0x585f50(0xec)](_0x2b0422),this[_0x585f50(0x98)]['set'](_0x30d463,null);}}[_0x3f93a3(0x2fe)](_0x12d93a){const _0x2c244f=_0x3f93a3,{memberID:_0x1cb1e1,unitIDs:_0x18b2be}=_0x12d93a;_0x18b2be[_0x2c244f(0x2f2)](_0x4f672e=>{const _0xf8b7a5=_0x2c244f;var _0x31b492;const _0x515bf4=this[_0xf8b7a5(0x214)]['get'](_0x4f672e);_0x515bf4&&(_0x515bf4[_0xf8b7a5(0xd5)](_0x1cb1e1),(_0x31b492=this['_ensureSubject'](_0x4f672e))==null||_0x31b492[_0xf8b7a5(0xbe)](_0x515bf4[_0xf8b7a5(0x243)]===0x0?_0x479769['UnitStatus'][_0xf8b7a5(0x186)]:_0x479769[_0xf8b7a5(0x232)]['OTHER_CLIENTS_EDITING']));}),this[_0x2c244f(0xdc)](_0x1cb1e1);}[_0x3f93a3(0xbb)](_0x39b1e1){const _0x48afa9=_0x3f93a3;this[_0x48afa9(0x223)](_0x39b1e1[_0x48afa9(0x104)]);}[_0x3f93a3(0x2fc)](_0x5763aa){const _0xa1aab4=_0x3f93a3;localStorage[_0xa1aab4(0x95)](_0x1b0f6a,JSON['stringify'](_0x5763aa));}[_0x3f93a3(0x28c)](){const _0x36e8ca=_0x3f93a3;this[_0x36e8ca(0x172)]=window[_0x36e8ca(0x11d)](()=>{const _0x19a006=_0x36e8ca;this[_0x19a006(0x2fc)]({'type':0x2,'memberID':this['_id']});},_0x130879);}[_0x3f93a3(0x158)](_0x23a4df){const _0x1fd1da=_0x3f93a3;return this[_0x1fd1da(0x197)][_0x1fd1da(0x2c7)](_0x23a4df)||this['_unitStatus'][_0x1fd1da(0x22e)](_0x23a4df,new _0x1bc390[(_0x1fd1da(0x230))](_0x479769[_0x1fd1da(0x232)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x1fd1da(0x197)][_0x1fd1da(0x17c)](_0x23a4df);}}var _0x43d076=(_0x511b13=>(_0x511b13[_0x511b13[_0x3f93a3(0x272)]=0x0]=_0x3f93a3(0x272),_0x511b13[_0x511b13['OK']=0x1]='OK',_0x511b13[_0x511b13[_0x3f93a3(0x16b)]=0x2]=_0x3f93a3(0x16b),_0x511b13[_0x511b13[_0x3f93a3(0x17f)]=0x3]=_0x3f93a3(0x17f),_0x511b13[_0x511b13['NOT_FOUND']=0x4]='NOT_FOUND',_0x511b13[_0x511b13[_0x3f93a3(0x27e)]=0x5]=_0x3f93a3(0x27e),_0x511b13[_0x511b13[_0x3f93a3(0x16d)]=0x6]=_0x3f93a3(0x16d),_0x511b13[_0x511b13[_0x3f93a3(0xa7)]=0x7]=_0x3f93a3(0xa7),_0x511b13[_0x511b13[_0x3f93a3(0x277)]=0x8]=_0x3f93a3(0x277),_0x511b13[_0x511b13[_0x3f93a3(0x2ca)]=0x9]=_0x3f93a3(0x2ca),_0x511b13[_0x511b13['LOGIN_FAILED']=0xa]=_0x3f93a3(0x2ee),_0x511b13[_0x511b13[_0x3f93a3(0x259)]=0x1389]=_0x3f93a3(0x259),_0x511b13[_0x511b13[_0x3f93a3(0x1ac)]=0x1771]=_0x3f93a3(0x1ac),_0x511b13[_0x511b13[_0x3f93a3(0x1fe)]=0x1772]=_0x3f93a3(0x1fe),_0x511b13[_0x511b13[_0x3f93a3(0x136)]=0x1773]=_0x3f93a3(0x136),_0x511b13[_0x511b13[_0x3f93a3(0xb3)]=0x1b59]=_0x3f93a3(0xb3),_0x511b13[_0x511b13[_0x3f93a3(0x2b6)]=0x1b5a]=_0x3f93a3(0x2b6),_0x511b13[_0x511b13['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x3f93a3(0x19a),_0x511b13[_0x511b13['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x3f93a3(0x1ad),_0x511b13[_0x511b13[_0x3f93a3(0x190)]=0x1b5d]='APPLY_DUPLICATED',_0x511b13[_0x511b13[_0x3f93a3(0x192)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x511b13[_0x511b13[_0x3f93a3(0x279)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x511b13[_0x511b13[_0x3f93a3(0x2e6)]=0x232a]=_0x3f93a3(0x2e6),_0x511b13[_0x511b13['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x3f93a3(0x208),_0x511b13[_0x511b13[_0x3f93a3(0x28f)]=0x232c]=_0x3f93a3(0x28f),_0x511b13[_0x511b13[_0x3f93a3(0xc3)]=0x232d]=_0x3f93a3(0xc3),_0x511b13[_0x511b13[_0x3f93a3(0x30e)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x511b13[_0x511b13[_0x3f93a3(0x15b)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x511b13[_0x511b13[_0x3f93a3(0xc2)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x511b13[_0x511b13[_0x3f93a3(0x23d)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x511b13[_0x511b13[_0x3f93a3(0x1f8)]=0x271a]=_0x3f93a3(0x1f8),_0x511b13[_0x511b13[_0x3f93a3(0x152)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x511b13[_0x511b13[_0x3f93a3(0x26c)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x511b13[_0x511b13[_0x3f93a3(0x1fd)]=0x271d]=_0x3f93a3(0x1fd),_0x511b13[_0x511b13[_0x3f93a3(0x93)]=0x271e]=_0x3f93a3(0x93),_0x511b13[_0x511b13['YUUMI_AI_RUN_FAILED']=0x271f]=_0x3f93a3(0x2ad),_0x511b13[_0x511b13[_0x3f93a3(0xb5)]=0x2af9]=_0x3f93a3(0xb5),_0x511b13[_0x511b13['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x3f93a3(0x287),_0x511b13[_0x511b13[_0x3f93a3(0x182)]=0x2ee2]=_0x3f93a3(0x182),_0x511b13[_0x511b13[_0x3f93a3(0x25e)]=0x2ee3]=_0x3f93a3(0x25e),_0x511b13[_0x511b13[_0x3f93a3(0x8a)]=0x2ee4]=_0x3f93a3(0x8a),_0x511b13[_0x511b13[_0x3f93a3(0xab)]=0x2ee5]=_0x3f93a3(0xab),_0x511b13[_0x511b13['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x3f93a3(0x102),_0x511b13[_0x511b13[_0x3f93a3(0x1ed)]=0x32ca]=_0x3f93a3(0x1ed),_0x511b13[_0x511b13[_0x3f93a3(0x135)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x511b13[_0x511b13['UNRECOGNIZED']=-0x1]=_0x3f93a3(0x2c0),_0x511b13))(_0x43d076||{}),_0x5ab996=Object[_0x3f93a3(0x239)],_0x2e4f66=(_0x1a3262,_0x4505dd,_0x2b8800,_0x282cae)=>{for(var _0x5d3359=_0x282cae>0x1?void 0x0:_0x282cae?_0x5ab996(_0x4505dd,_0x2b8800):_0x4505dd,_0xf56ead=_0x1a3262['length']-0x1,_0x122b3c;_0xf56ead>=0x0;_0xf56ead--)(_0x122b3c=_0x1a3262[_0xf56ead])&&(_0x5d3359=_0x122b3c(_0x5d3359)||_0x5d3359);return _0x5d3359;},_0x50643f=(_0x14606e,_0x30cfe6)=>(_0x67774e,_0x3c0ace)=>_0x30cfe6(_0x67774e,_0x3c0ace,_0x14606e);_0x285d46[_0x3f93a3(0x194)]=class extends _0x1def49[_0x3f93a3(0x124)]{constructor(_0x265025,_0x3acf81,_0x20ee03){const _0x4360fa=_0x3f93a3;super(),this[_0x4360fa(0x2fb)]=_0x265025,this[_0x4360fa(0x251)]=_0x3acf81,this[_0x4360fa(0x1bf)]=_0x20ee03;}async['runOnServer'](_0x3f67ca,_0x296c3a,_0x31da6d,..._0x299a60){const _0x131bdc=_0x3f93a3;var _0x3b534c,_0x3c09eb,_0x4c9ea4,_0x54b20d;const _0x316a63=this['_instanceService']['getFocusedUnit']();if(!_0x316a63)throw new Error(_0x131bdc(0x8d));const _0x41039a=((_0x3b534c=this['_configService']['getConfig'](_0x479769[_0x131bdc(0xb2)]))!=null?_0x3b534c:_0x479769[_0x131bdc(0x157)])+'/'+_0x3f67ca+_0x131bdc(0x265)+_0x296c3a,_0x378052=new URL(window[_0x131bdc(0x2d4)]['href']),_0x5f1591={'scriptId':_0x3f67ca,'runId':(_0x3c09eb=_0x378052['searchParams'][_0x131bdc(0x17c)](_0x131bdc(0x266)))!=null?_0x3c09eb:'','function':_0x296c3a,'unitId':_0x316a63['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x299a60),'invokeId':(_0x4c9ea4=_0x31da6d[_0x131bdc(0x189)])!=null?_0x4c9ea4:'','executionId':(_0x54b20d=_0x31da6d[_0x131bdc(0x11a)])!=null?_0x54b20d:''};try{const _0x1ed88a=await this['_httpService'][_0x131bdc(0x1f9)](_0x41039a,{'body':_0x5f1591});return _0x1ed88a[_0x131bdc(0x26a)]['error']&&_0x1ed88a[_0x131bdc(0x26a)][_0x131bdc(0x30a)]['code']!==_0x43d076['OK']?'Failed':_0x1ed88a[_0x131bdc(0x26a)][_0x131bdc(0xf9)];}catch{return _0x131bdc(0xd7);}}},_0x285d46['RemoteUniscriptService']=_0x2e4f66([_0x50643f(0x0,_0x1def49[_0x3f93a3(0xf2)]),_0x50643f(0x1,_0x1def49[_0x3f93a3(0x2e5)](_0x5196ad['HTTPService'])),_0x50643f(0x2,_0x1def49[_0x3f93a3(0x119)])],_0x285d46[_0x3f93a3(0x194)]),_0x285d46[_0x3f93a3(0x23b)]=_0x185b6e,_0x285d46[_0x3f93a3(0x1c9)]=_0x1375cb,_0x285d46[_0x3f93a3(0x2d7)]=_0x57f453,_0x285d46[_0x3f93a3(0x2e7)]=_0x525196,_0x285d46['WebURLService']=_0x23e6ac,Object['defineProperty'](_0x285d46,Symbol[_0x3f93a3(0x210)],{'value':_0x3f93a3(0x14b)});}));
1
+ (function(_0x5d9716,_0x204ca1){const _0x3a3535=_0x4087,_0x3849ea=_0x5d9716();while(!![]){try{const _0x3c88f0=parseInt(_0x3a3535(0x278))/0x1+-parseInt(_0x3a3535(0x183))/0x2+-parseInt(_0x3a3535(0x1ac))/0x3*(parseInt(_0x3a3535(0xef))/0x4)+parseInt(_0x3a3535(0x1d8))/0x5*(-parseInt(_0x3a3535(0x202))/0x6)+parseInt(_0x3a3535(0x260))/0x7*(parseInt(_0x3a3535(0x2cb))/0x8)+parseInt(_0x3a3535(0xbb))/0x9+parseInt(_0x3a3535(0x1d1))/0xa*(-parseInt(_0x3a3535(0x13c))/0xb);if(_0x3c88f0===_0x204ca1)break;else _0x3849ea['push'](_0x3849ea['shift']());}catch(_0x45fa91){_0x3849ea['push'](_0x3849ea['shift']());}}}(_0x37b6,0x90d65),function(_0x51d8e9,_0x1f6336){const _0x3f59b3=_0x4087;typeof exports==_0x3f59b3(0x1a6)&&typeof module<'u'?_0x1f6336(exports,require(_0x3f59b3(0x253)),require(_0x3f59b3(0x236)),require(_0x3f59b3(0x16a)),require(_0x3f59b3(0x1ed)),require(_0x3f59b3(0x292)),require('@univerjs/drawing'),require(_0x3f59b3(0xb5)),require('@univerjs/docs'),require('@univerjs-pro/collaboration'),require('@univerjs/engine-formula'),require(_0x3f59b3(0x2d3)),require('rxjs/operators'),require(_0x3f59b3(0x248)),require(_0x3f59b3(0x14e)),require(_0x3f59b3(0x239)),require(_0x3f59b3(0x2b8)),require(_0x3f59b3(0x185)),require(_0x3f59b3(0xad))):typeof define==_0x3f59b3(0x123)&&define['amd']?define([_0x3f59b3(0x181),_0x3f59b3(0x253),_0x3f59b3(0x236),_0x3f59b3(0x16a),'@univerjs/network',_0x3f59b3(0x292),_0x3f59b3(0xe3),'rxjs',_0x3f59b3(0x303),_0x3f59b3(0x255),_0x3f59b3(0x2ff),_0x3f59b3(0x2d3),'rxjs/operators',_0x3f59b3(0x248),_0x3f59b3(0x14e),_0x3f59b3(0x239),_0x3f59b3(0x2b8),_0x3f59b3(0x185),_0x3f59b3(0xad)],_0x1f6336):(_0x51d8e9=typeof globalThis<'u'?globalThis:_0x51d8e9||self,_0x1f6336(_0x51d8e9[_0x3f59b3(0xcd)]={},_0x51d8e9[_0x3f59b3(0x218)],_0x51d8e9[_0x3f59b3(0x2c3)],_0x51d8e9[_0x3f59b3(0x177)],_0x51d8e9[_0x3f59b3(0xac)],_0x51d8e9[_0x3f59b3(0x172)],_0x51d8e9['UniverDrawing'],_0x51d8e9[_0x3f59b3(0xb5)],_0x51d8e9[_0x3f59b3(0x145)],_0x51d8e9[_0x3f59b3(0x1b5)],_0x51d8e9[_0x3f59b3(0x203)],_0x51d8e9[_0x3f59b3(0x23b)],_0x51d8e9[_0x3f59b3(0xb5)]['operators'],_0x51d8e9['UniverSheetsUi'],_0x51d8e9[_0x3f59b3(0x2b3)],_0x51d8e9[_0x3f59b3(0x325)],_0x51d8e9[_0x3f59b3(0x1a0)],_0x51d8e9[_0x3f59b3(0x2b3)],_0x51d8e9[_0x3f59b3(0x18b)]));}(this,function(_0x44eef8,_0x2aa44c,_0x1a23cd,_0x5e65d8,_0x3033d9,_0xbf3303,_0x53aa05,_0x289a68,_0x40d000,_0x645262,_0x2dd659,_0x41a04b,_0x3ffaea,_0x32a1d7,_0xb49986,_0x2cc018,_0x14adf2,_0x5fca6e,_0x3e9542){'use strict';const _0x57a27c=_0x4087;var _0x30e567=Object[_0x57a27c(0x139)],_0x5416a7=(_0x544c62,_0x38b86f,_0x2ced7c)=>_0x38b86f in _0x544c62?_0x30e567(_0x544c62,_0x38b86f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2ced7c}):_0x544c62[_0x38b86f]=_0x2ced7c,_0x201443=(_0x5ea0a1,_0x1ddcda,_0x10cb54)=>_0x5416a7(_0x5ea0a1,typeof _0x1ddcda!=_0x57a27c(0x27e)?_0x1ddcda+'':_0x1ddcda,_0x10cb54),_0x4907e2=Object['getOwnPropertyDescriptor'],_0x218b78=(_0x1cd907,_0x41135b,_0x31117a,_0x23f090)=>{const _0x2dc9f5=_0x57a27c;for(var _0xb67c6f=_0x23f090>0x1?void 0x0:_0x23f090?_0x4907e2(_0x41135b,_0x31117a):_0x41135b,_0x50f98a=_0x1cd907[_0x2dc9f5(0x25b)]-0x1,_0x10ff62;_0x50f98a>=0x0;_0x50f98a--)(_0x10ff62=_0x1cd907[_0x50f98a])&&(_0xb67c6f=_0x10ff62(_0xb67c6f)||_0xb67c6f);return _0xb67c6f;},_0x1df558=(_0x44b155,_0x3b0f47)=>(_0x511c20,_0x993d43)=>_0x3b0f47(_0x511c20,_0x993d43,_0x44b155);let _0x4e359b=class extends _0x1a23cd[_0x57a27c(0x249)]{constructor(_0x1d31de,_0x2c88ae){const _0x51feb5=_0x57a27c;super(),this[_0x51feb5(0x316)]=_0x1d31de,this[_0x51feb5(0x1d4)]=_0x2c88ae,this[_0x51feb5(0x15a)]();}['_init'](){const _0x3950f6=_0x57a27c,_0x209c5b=this;this[_0x3950f6(0x138)](this['_docClipboardService'][_0x3950f6(0x276)]({'onBeforePasteImage':async _0x1f60e6=>{const _0x25e4fe=_0x3950f6,_0x45951d=await _0x209c5b[_0x25e4fe(0x1d4)]['saveImage'](_0x1f60e6);return _0x45951d?{'source':_0x45951d[_0x25e4fe(0x307)],'imageSourceType':_0x45951d['imageSourceType']}:null;}}));}};_0x4e359b=_0x218b78([_0x1df558(0x0,_0xbf3303[_0x57a27c(0x319)]),_0x1df558(0x1,_0x53aa05[_0x57a27c(0xe0)])],_0x4e359b);const _0x2d117d=[_0x57a27c(0xc1),_0x57a27c(0x314),_0x57a27c(0x313),'red.300',_0x57a27c(0x133),_0x57a27c(0x1bf)];class _0x416df7 extends _0x1a23cd[_0x57a27c(0x1dd)]{constructor(){const _0x2fff04=_0x57a27c;super(...arguments),_0x201443(this,'_assignedColors',new Map()),_0x201443(this,_0x2fff04(0x110),0x0);}['assignAColorForMemberID'](_0x5a3d58){const _0x5a774b=_0x57a27c;if(this[_0x5a774b(0x175)][_0x5a774b(0x1d3)](_0x5a3d58))return this[_0x5a774b(0x175)][_0x5a774b(0x18f)](_0x5a3d58);const _0x1003e9=_0x2d117d[this[_0x5a774b(0x110)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%_0x2d117d['length'],this['_assignedColors'][_0x5a774b(0x15c)](_0x5a3d58,_0x1003e9),_0x1003e9;}}function _0x27935c(_0x5c67de){const _0x1d657e=_0x57a27c;let _0x2f8ee4='';for(const _0x48f17c of _0x5c67de){const {startOffset:_0x309fb7,endOffset:_0x3987a9,isActive:_0x432318,rangeType:_0x16e5f6,segmentId:_0x53cd1c,segmentPage:_0x50ef5a}=_0x48f17c;_0x2f8ee4[_0x1d657e(0x25b)]&&(_0x2f8ee4+=','),_0x2f8ee4+=_0x309fb7+':'+_0x3987a9+':'+(_0x432318?'1':'0')+':'+_0x16e5f6+':'+_0x53cd1c+':'+_0x50ef5a;}return _0x2f8ee4;}function _0xbaccfb(_0x56a3a4){const _0x4b7fae=_0x57a27c,_0x498b3f=_0x56a3a4[_0x4b7fae(0x2a8)](','),_0x51c2e8=[];for(const _0x1aa889 of _0x498b3f){const [_0x18e327,_0x5e2fc4,_0x3e8b31,_0x264ccc,_0x2417c1,_0xabde19]=_0x1aa889['split'](':');_0x51c2e8[_0x4b7fae(0x97)]({'startOffset':Number(_0x18e327),'endOffset':Number(_0x5e2fc4),'collapsed':_0x18e327===_0x5e2fc4,'isActive':_0x3e8b31==='1','rangeType':_0x264ccc===_0x1a23cd['DOC_RANGE_TYPE'][_0x4b7fae(0x1ec)]?_0x1a23cd[_0x4b7fae(0x290)][_0x4b7fae(0x1ec)]:_0x1a23cd[_0x4b7fae(0x290)][_0x4b7fae(0x2f5)],'segmentId':typeof _0x2417c1=='string'?String(_0x2417c1):'','segmentPage':Number(_0xabde19!=null?_0xabde19:-0x1)});}return _0x51c2e8[_0x4b7fae(0xa4)](_0x46b9a1=>_0x46b9a1[_0x4b7fae(0x1b4)])||(_0x51c2e8[0x0][_0x4b7fae(0x1b4)]=!0x0),_0x51c2e8;}class _0x5ed781 extends _0x1a23cd[_0x57a27c(0x249)]{constructor(){const _0x23ca33=_0x57a27c;super(...arguments),_0x201443(this,_0x23ca33(0x21b),new _0x289a68[(_0x23ca33(0x12d))](null)),_0x201443(this,_0x23ca33(0x2c8),this[_0x23ca33(0x21b)][_0x23ca33(0xcf)]());}[_0x57a27c(0x274)](_0x2ba2bb){const _0x4f5cdd=_0x57a27c,{unitID:_0x50d369,memberID:_0x103df3,textRanges:_0x1e2c3c}=_0x2ba2bb,_0x157fa5=_0x27935c(_0x1e2c3c);if(_0x157fa5==='')return;const _0x2e3c0b={'unitID':_0x50d369,'memberID':_0x103df3,'selection':_0x157fa5};this[_0x4f5cdd(0x21b)]['next'](_0x2e3c0b);}}var _0x52cf0a=Object['getOwnPropertyDescriptor'],_0x1c5779=(_0x2d21f9,_0x16f46a,_0x2d4ab0,_0x3d9218)=>{const _0x11540e=_0x57a27c;for(var _0x50a030=_0x3d9218>0x1?void 0x0:_0x3d9218?_0x52cf0a(_0x16f46a,_0x2d4ab0):_0x16f46a,_0x106fb1=_0x2d21f9[_0x11540e(0x25b)]-0x1,_0x45ca14;_0x106fb1>=0x0;_0x106fb1--)(_0x45ca14=_0x2d21f9[_0x106fb1])&&(_0x50a030=_0x45ca14(_0x50a030)||_0x50a030);return _0x50a030;},_0x3a7078=(_0x453798,_0x5f19b6)=>(_0x151454,_0x362903)=>_0x5f19b6(_0x151454,_0x362903,_0x453798);const _0x2cceea=0x12c,_0x1daa10=0x64;let _0x15efd5=class extends _0x1a23cd[_0x57a27c(0x249)]{constructor(_0xf96904,_0x7eee9d,_0xe6c2d3,_0x2d7ae6,_0xc2e142,_0x1f5e69,_0x5f0ab5,_0x50f02c,_0x339f47){const _0x58f21b=_0x57a27c;super(),_0x201443(this,'_online',!0x1),_0x201443(this,_0x58f21b(0x15a),!0x1),_0x201443(this,'_cursorInfo$',new _0x289a68['BehaviorSubject'](new Map())),_0x201443(this,_0x58f21b(0x291),this[_0x58f21b(0x182)][_0x58f21b(0xcf)]()),_0x201443(this,_0x58f21b(0x240),new _0x289a68[(_0x58f21b(0x12d))]([])),_0x201443(this,_0x58f21b(0x208),this[_0x58f21b(0x240)][_0x58f21b(0x11b)](_0x289a68[_0x58f21b(0x212)](_0x2cceea))),_0x201443(this,_0x58f21b(0x29c),_0x1a23cd[_0x58f21b(0xa7)](_0x7cf192=>{const _0x4a1d95=_0x58f21b,_0x5030c3={'eventID':_0x645262['CollaborationEvent'][_0x4a1d95(0x190)],'data':{'unitID':this['unitID'],'memberID':this[_0x4a1d95(0x136)][_0x4a1d95(0x26b)](),'selection':_0x27935c(_0x7cf192)}};this[_0x4a1d95(0x136)][_0x4a1d95(0x2e4)](_0x5030c3,this[_0x4a1d95(0xe5)]);},_0x1daa10)),(this[_0x58f21b(0xe5)]=_0xf96904,this[_0x58f21b(0x136)]=_0x7eee9d,this[_0x58f21b(0x31f)]=_0xe6c2d3,this[_0x58f21b(0xa8)]=_0x2d7ae6,this[_0x58f21b(0x23e)]=_0xc2e142,this[_0x58f21b(0x92)]=_0x1f5e69,this[_0x58f21b(0x30f)]=_0x5f0ab5,this[_0x58f21b(0x127)]=_0x50f02c,this[_0x58f21b(0x1c7)]=_0x339f47);}get['cursorInfo'](){const _0x2ed123=_0x57a27c;return this[_0x2ed123(0x182)][_0x2ed123(0x28e)]();}get[_0x57a27c(0x131)](){const _0x126d8f=_0x57a27c;return this[_0x126d8f(0x240)]['getValue']();}[_0x57a27c(0x16b)](){const _0x58a321=_0x57a27c;super[_0x58a321(0x16b)](),this[_0x58a321(0x182)][_0x58a321(0x263)](new Map()),this[_0x58a321(0x182)][_0x58a321(0x23f)](),this['_roomMembers$'][_0x58a321(0x263)]([]),this[_0x58a321(0x240)][_0x58a321(0x23f)]();}['init'](){const _0x330d6c=_0x57a27c;this[_0x330d6c(0x15a)]||(this[_0x330d6c(0x15a)]=!0x0,this['_session']['sessionStatus$'][_0x330d6c(0x11b)](_0x289a68[_0x330d6c(0x8d)](this[_0x330d6c(0x204)]))[_0x330d6c(0x137)](_0x1c93aa=>{const _0x4d538a=_0x330d6c;_0x1c93aa===_0x2aa44c[_0x4d538a(0x2c2)][_0x4d538a(0x111)]?this[_0x4d538a(0xee)]():this[_0x4d538a(0x228)]();}),this[_0x330d6c(0x136)][_0x330d6c(0x153)]['pipe'](_0x289a68[_0x330d6c(0x8d)](this[_0x330d6c(0x204)]))[_0x330d6c(0x137)](_0x8b9b84=>{const _0x2e1769=_0x330d6c,_0x4e52d6=_0x8b9b84[_0x2e1769(0x262)];_0x4e52d6===_0x645262[_0x2e1769(0x12e)][_0x2e1769(0x190)]&&this[_0x2e1769(0xe1)](_0x8b9b84),_0x4e52d6===_0x645262['CollaborationEvent'][_0x2e1769(0x2a2)]&&this[_0x2e1769(0x1bc)](_0x8b9b84);}),this[_0x330d6c(0x138)](this[_0x330d6c(0x1c7)][_0x330d6c(0x2b2)](_0x19f920=>{const _0xb558a8=_0x330d6c,_0x439c63=_0x19f920['params'];_0x439c63!=null&&this[_0xb558a8(0xf1)]&&_0x19f920['id']===_0x40d000[_0xb558a8(0xf9)]['id']&&_0x439c63[_0xb558a8(0x311)]===this[_0xb558a8(0xe5)]&&_0x439c63['isEditing']===!0x1&&_0x439c63[_0xb558a8(0x20f)][_0xb558a8(0x25b)]>0x0&&this[_0xb558a8(0x29c)](_0x439c63[_0xb558a8(0x20f)]);})),this[_0x330d6c(0x92)]['collabCursorState$'][_0x330d6c(0x11b)](_0x289a68[_0x330d6c(0x8d)](this[_0x330d6c(0x204)]))['subscribe'](_0x38d79f=>{const _0x3da9f8=_0x330d6c;if((_0x38d79f==null?void 0x0:_0x38d79f[_0x3da9f8(0xe5)])!==this[_0x3da9f8(0xe5)])return;const _0x47162f={'eventID':_0x645262[_0x3da9f8(0x12e)][_0x3da9f8(0x190)],'data':_0x38d79f};this[_0x3da9f8(0xe1)](_0x47162f);}),this['disposeWithMe'](this[_0x330d6c(0x1c7)]['onCommandExecuted'](_0x27472e=>{const _0x4fb20d=_0x330d6c;if(_0x27472e[_0x4fb20d(0x2c0)]==null)return;const _0xaf0400=_0x27472e[_0x4fb20d(0x2c0)];if(_0x27472e['id']!==_0x40d000['RichTextEditingMutation']['id']||_0xaf0400[_0x4fb20d(0x311)]!==this[_0x4fb20d(0xe5)])return;const _0x23f6af={'id':_0x4fb20d(0x10f),'params':_0xaf0400},_0x4a21c7=this['cursorInfo'];for(const [_0x12ddbe,_0x51070d]of _0x4a21c7){const _0x3e5267={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x4fb20d(0xe5)],'actions':null,'textRanges':_0x51070d[_0x4fb20d(0x20f)]}},_0x288b67=this[_0x4fb20d(0x30f)][_0x4fb20d(0x149)](_0x23f6af,_0x3e5267,!0x1);if(_0x645262[_0x4fb20d(0x1fc)](_0x288b67))throw _0x288b67['error'];_0x4a21c7['set'](_0x12ddbe,{..._0x51070d,'ranges':_0x288b67[_0x4fb20d(0x100)][_0x4fb20d(0x2c0)][_0x4fb20d(0x11c)]});}queueMicrotask(()=>{const _0x3cde12=_0x4fb20d;this[_0x3cde12(0x182)][_0x3cde12(0x263)](_0x4a21c7);});})));}[_0x57a27c(0xe1)](_0x4abfce){const _0x359e8c=_0x57a27c;var _0x2e2453,_0xf4eb6f;const {memberID:_0x3df0a9,selection:_0x1560e8}=_0x4abfce[_0x359e8c(0x114)],_0x27e8e1=_0xbaccfb(_0x1560e8),_0x1731f7=(_0xf4eb6f=(_0x2e2453=this[_0x359e8c(0x23e)]['getMember'](this[_0x359e8c(0xe5)],_0x3df0a9))==null?void 0x0:_0x2e2453[_0x359e8c(0xb6)])!=null?_0xf4eb6f:_0x359e8c(0x1f3),_0x5c301f={'color':this[_0x359e8c(0xa8)][_0x359e8c(0x144)](_0x3df0a9),'name':_0x1731f7,'ranges':_0x27e8e1},_0x5e04c6=this['cursorInfo'];_0x5e04c6[_0x359e8c(0x15c)](_0x3df0a9,_0x5c301f),this['_cursorInfo$'][_0x359e8c(0x263)](_0x5e04c6);}[_0x57a27c(0x1bc)](_0x4073ce){const _0x2ba182=_0x57a27c,{memberID:_0x2a9092}=_0x4073ce['data'],_0x43ecb2=this[_0x2ba182(0xc8)];_0x43ecb2[_0x2ba182(0x198)](_0x2a9092),this['_cursorInfo$'][_0x2ba182(0x263)](_0x43ecb2);}[_0x57a27c(0xee)](){const _0x3c68e6=_0x57a27c;var _0x4481e2;if(this[_0x3c68e6(0xf1)]=!0x0,((_0x4481e2=this[_0x3c68e6(0x127)][_0x3c68e6(0x273)]())==null?void 0x0:_0x4481e2[_0x3c68e6(0x1ba)]())!==this[_0x3c68e6(0xe5)])return;const _0x4232c2=this[_0x3c68e6(0x31f)]['get'](_0x40d000[_0x3c68e6(0x247)])[_0x3c68e6(0xc3)]();Array[_0x3c68e6(0x279)](_0x4232c2)&&_0x4232c2[_0x3c68e6(0x25b)]>0x0&&this[_0x3c68e6(0x29c)](_0x4232c2);}[_0x57a27c(0x228)](){const _0x4216ee=_0x57a27c;this[_0x4216ee(0xf1)]=!0x1;}};_0x15efd5=_0x1c5779([_0x3a7078(0x2,_0x1a23cd[_0x57a27c(0x222)](_0x1a23cd[_0x57a27c(0x1a8)])),_0x3a7078(0x3,_0x1a23cd[_0x57a27c(0x222)](_0x416df7)),_0x3a7078(0x4,_0x1a23cd[_0x57a27c(0x222)](_0x2aa44c[_0x57a27c(0x1a2)])),_0x3a7078(0x5,_0x1a23cd[_0x57a27c(0x222)](_0x5ed781)),_0x3a7078(0x6,_0x645262[_0x57a27c(0x26d)]),_0x3a7078(0x7,_0x1a23cd[_0x57a27c(0x21c)]),_0x3a7078(0x8,_0x1a23cd['ICommandService'])],_0x15efd5);var _0x3aa084=Object[_0x57a27c(0x1f2)],_0x2de6dd=(_0x471914,_0xd53020,_0x38c6ce,_0x45bc50)=>{const _0x2b18bf=_0x57a27c;for(var _0x5b4c39=_0x45bc50>0x1?void 0x0:_0x45bc50?_0x3aa084(_0xd53020,_0x38c6ce):_0xd53020,_0x74bb0d=_0x471914[_0x2b18bf(0x25b)]-0x1,_0x268ce9;_0x74bb0d>=0x0;_0x74bb0d--)(_0x268ce9=_0x471914[_0x74bb0d])&&(_0x5b4c39=_0x268ce9(_0x5b4c39)||_0x5b4c39);return _0x5b4c39;},_0x1c60c2=(_0x5e8105,_0x1e62e8)=>(_0x372448,_0x245583)=>_0x1e62e8(_0x372448,_0x245583,_0x5e8105);const _0x435af4=0x12c,_0x5698d9=0x64,_0x428076=()=>{let _0xcecb84=[],_0x526340=!0x1;return _0x31e2f1=>{const _0x24d197=_0x4087;_0xcecb84[_0x24d197(0x97)](_0x31e2f1),_0x526340||(_0x526340=!0x0,setTimeout(()=>{_0xcecb84['forEach'](_0x46e24f=>_0x46e24f()),_0xcecb84=[],_0x526340=!0x1;}));};};let _0x5ade6f=class extends _0x1a23cd[_0x57a27c(0x249)]{constructor(_0xbac1e8,_0x36ccac,_0xd16c47,_0x598cbf,_0x3e7e71,_0x225acb,_0x5229ae,_0x33e9ca){const _0x14f9f3=_0x57a27c;super(),_0x201443(this,'_online',!0x1),_0x201443(this,'_init',!0x1),_0x201443(this,_0x14f9f3(0x182),new _0x289a68[(_0x14f9f3(0x12d))](new Map())),_0x201443(this,_0x14f9f3(0x291),this[_0x14f9f3(0x182)][_0x14f9f3(0xcf)]()),_0x201443(this,_0x14f9f3(0x240),new _0x289a68[(_0x14f9f3(0x12d))]([])),_0x201443(this,_0x14f9f3(0x208),this[_0x14f9f3(0x240)][_0x14f9f3(0x11b)](_0x289a68['debounceTime'](_0x435af4))),_0x201443(this,_0x14f9f3(0x29c),_0x1a23cd[_0x14f9f3(0xa7)]((_0xa692c5,_0x287744)=>{const _0x4e118c=_0x14f9f3,_0x1aaad3={'eventID':_0x645262[_0x4e118c(0x12e)][_0x4e118c(0x190)],'data':{'unitID':this[_0x4e118c(0xe5)],'memberID':this[_0x4e118c(0x136)]['getMemberID'](),'selection':_0x2dd659[_0x4e118c(0x299)](_0xa692c5,_0x287744[_0x4e118c(0x1df)])}};this[_0x4e118c(0x136)]['send'](_0x1aaad3,this['unitID']);},_0x5698d9)),(this[_0x14f9f3(0xe5)]=_0xbac1e8,this[_0x14f9f3(0x136)]=_0x36ccac,this[_0x14f9f3(0x31f)]=_0xd16c47,this['_colorAssignService']=_0x598cbf,this[_0x14f9f3(0x23e)]=_0x3e7e71,this[_0x14f9f3(0x127)]=_0x225acb,this['_commandService']=_0x5229ae,this[_0x14f9f3(0x26a)]=_0x33e9ca);}get[_0x57a27c(0xc8)](){const _0xf072c8=_0x57a27c;return this['_cursorInfo$'][_0xf072c8(0x28e)]();}get[_0x57a27c(0x131)](){const _0x441341=_0x57a27c;return this[_0x441341(0x240)][_0x441341(0x28e)]();}['dispose'](){const _0x3ef13c=_0x57a27c;super[_0x3ef13c(0x16b)](),this[_0x3ef13c(0x182)][_0x3ef13c(0x263)](new Map()),this[_0x3ef13c(0x182)][_0x3ef13c(0x23f)](),this[_0x3ef13c(0x240)][_0x3ef13c(0x263)]([]),this[_0x3ef13c(0x240)][_0x3ef13c(0x23f)]();}[_0x57a27c(0x10e)](){const _0x5c29b4=_0x57a27c;this[_0x5c29b4(0x15a)]||(this['_init']=!0x0,this[_0x5c29b4(0x136)][_0x5c29b4(0x243)]['pipe'](_0x289a68['takeUntil'](this[_0x5c29b4(0x204)]))[_0x5c29b4(0x137)](_0x20148e=>{const _0x4c721d=_0x5c29b4;_0x20148e===_0x2aa44c['SessionStatus']['ONLINE']?this[_0x4c721d(0xee)]():this[_0x4c721d(0x228)]();}),this[_0x5c29b4(0x136)]['event$'][_0x5c29b4(0x11b)](_0x289a68['takeUntil'](this['dispose$']))[_0x5c29b4(0x137)](_0x2415c5=>{const _0x2904a9=_0x5c29b4,_0x2f9590=_0x2415c5[_0x2904a9(0x262)];_0x2f9590===_0x645262['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x2904a9(0xe1)](_0x2415c5),_0x2f9590===_0x645262[_0x2904a9(0x12e)][_0x2904a9(0x2a2)]&&this[_0x2904a9(0x1bc)](_0x2415c5);}),this['_onRefRangeChange'](),this[_0x5c29b4(0x138)](this[_0x5c29b4(0x1c7)][_0x5c29b4(0x2b2)](_0x1259e7=>{const _0x4655e1=_0x5c29b4;if(this[_0x4655e1(0xf1)]&&_0x1259e7['id']===_0x41a04b[_0x4655e1(0xab)]['id']&&_0x1259e7[_0x4655e1(0x2c0)][_0x4655e1(0x311)]===this['unitID']){const _0x2f61e1=_0x1259e7['params'];this[_0x4655e1(0x29c)](_0x2f61e1['subUnitId'],_0x2f61e1[_0x4655e1(0x18d)][0x0]);}})));}[_0x57a27c(0xe1)](_0x48eceb){const _0x2fb5cb=_0x57a27c;var _0x4e7b97,_0x38f73e;const {memberID:_0x190ac9,selection:_0x473621}=_0x48eceb[_0x2fb5cb(0x114)],{sheetName:_0x20910c,range:_0x21297b}=_0x2dd659[_0x2fb5cb(0x11a)](_0x473621),_0x2a92fa={'name':(_0x38f73e=(_0x4e7b97=this[_0x2fb5cb(0x23e)][_0x2fb5cb(0x2cc)](this[_0x2fb5cb(0xe5)],_0x190ac9))==null?void 0x0:_0x4e7b97[_0x2fb5cb(0xb6)])!=null?_0x38f73e:'Unknown\x20user','range':this[_0x2fb5cb(0x261)](_0x20910c,_0x21297b),'sheetID':_0x20910c,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x190ac9),'selection':_0x473621},_0x577062=this[_0x2fb5cb(0xc8)];_0x577062['set'](_0x190ac9,_0x2a92fa),this[_0x2fb5cb(0x182)]['next'](_0x577062);}[_0x57a27c(0x1bc)](_0x571c97){const _0x1be2c1=_0x57a27c,{memberID:_0x23c87b}=_0x571c97['data'],_0x567ec6=this[_0x1be2c1(0xc8)];_0x567ec6['delete'](_0x23c87b),this[_0x1be2c1(0x182)][_0x1be2c1(0x263)](_0x567ec6);}[_0x57a27c(0x261)](_0x4548ab,_0x5c60f6){const _0x46cb77=_0x57a27c;var _0x58f042,_0x125338;const _0x29d866=(_0x125338=(_0x58f042=this['_univerInstanceService']['getUniverSheetInstance'](this[_0x46cb77(0xe5)]))==null?void 0x0:_0x58f042[_0x46cb77(0x2e2)](_0x4548ab))==null?void 0x0:_0x125338['getMergeData']();return(_0x29d866==null?void 0x0:_0x29d866[_0x46cb77(0x295)](_0x45bd22=>_0x1a23cd[_0x46cb77(0xb9)][_0x46cb77(0xfb)](_0x45bd22,_0x5c60f6)))||_0x5c60f6;}['_onRefRangeChange'](){const _0x51f608=_0x57a27c,_0x12df8f=new _0x1a23cd[(_0x51f608(0x1b9))](),_0x4e8094=_0x428076(),_0x1cb294=()=>{const _0x4bde80=_0x51f608;_0x12df8f['dispose']();const _0x53f651=(_0x2a7a8b,_0x5e1d97,_0x31db26,_0x27cf59)=>{const _0x1c17f3=_0x4087;let _0x1191fc=[];switch(_0x2a7a8b['id']){case _0x41a04b[_0x1c17f3(0x1ff)][_0x1c17f3(0xb1)]:{_0x1191fc=_0x41a04b[_0x1c17f3(0x27d)](_0x2a7a8b,_0x27cf59);break;}case _0x41a04b[_0x1c17f3(0x1ff)]['DeleteRangeMoveUpCommandId']:{_0x1191fc=_0x41a04b['handleDeleteRangeMoveUp'](_0x2a7a8b,_0x27cf59);break;}case _0x41a04b['EffectRefRangId']['InsertColCommandId']:{_0x1191fc=_0x41a04b['handleInsertCol'](_0x2a7a8b,_0x27cf59);break;}case _0x41a04b[_0x1c17f3(0x1ff)]['InsertRangeMoveDownCommandId']:{_0x1191fc=_0x41a04b['handleInsertRangeMoveDown'](_0x2a7a8b,_0x27cf59);break;}case _0x41a04b[_0x1c17f3(0x1ff)][_0x1c17f3(0x19a)]:{_0x1191fc=_0x41a04b[_0x1c17f3(0xea)](_0x2a7a8b,_0x27cf59);break;}case _0x41a04b[_0x1c17f3(0x1ff)][_0x1c17f3(0x160)]:{_0x1191fc=_0x41a04b['handleInsertRow'](_0x2a7a8b,_0x27cf59);break;}case _0x41a04b[_0x1c17f3(0x1ff)][_0x1c17f3(0xd8)]:{_0x1191fc=_0x41a04b['handleMoveRange'](_0x2a7a8b,_0x27cf59);break;}case _0x41a04b['EffectRefRangId'][_0x1c17f3(0xa2)]:{_0x1191fc=_0x41a04b['handleIRemoveCol'](_0x2a7a8b,_0x27cf59);break;}case _0x41a04b[_0x1c17f3(0x1ff)][_0x1c17f3(0xed)]:{_0x1191fc=_0x41a04b[_0x1c17f3(0x24b)](_0x2a7a8b,_0x27cf59);break;}}const _0x181ee9=_0x41a04b['runRefRangeMutations'](_0x1191fc,_0x27cf59),_0x540634=this['cursorInfo'][_0x1c17f3(0x18f)](_0x5e1d97);if(_0x540634&&_0x181ee9){const _0x518dde={..._0x540634,'range':_0x181ee9};this[_0x1c17f3(0xc8)]['set'](_0x5e1d97,_0x518dde),_0x4e8094(()=>{const _0x3accb2=_0x1c17f3,_0x3157f1=this[_0x3accb2(0x26a)][_0x3accb2(0x2bf)](_0x181ee9,_0xe4487f=>(_0x3157f1['dispose'](),_0x53f651(_0xe4487f,_0x5e1d97,_0x31db26,_0x181ee9)));_0x12df8f[_0x3accb2(0x19f)](_0x3157f1);});}return{'redos':[],'undos':[]};};this[_0x4bde80(0xc8)][_0x4bde80(0x2d8)]((_0x1f0ef0,_0x476146)=>{const _0x1124ef=_0x4bde80,{range:_0x561c9f,sheetID:_0x2c2465}=_0x1f0ef0,_0x3b350d=this[_0x1124ef(0x26a)][_0x1124ef(0x2bf)](_0x561c9f,_0x5bdab1=>(_0x3b350d[_0x1124ef(0x16b)](),_0x53f651(_0x5bdab1,_0x476146,_0x2c2465,_0x561c9f)));_0x12df8f[_0x1124ef(0x19f)](_0x3b350d);});};this['disposeWithMe'](_0x1a23cd[_0x51f608(0x121)](this['_cursorInfo$'][_0x51f608(0x137)](()=>{_0x1cb294();})));}[_0x57a27c(0xee)](){const _0x4adc6c=_0x57a27c;var _0x39b358,_0x476b6a;if(this[_0x4adc6c(0xf1)]=!0x0,((_0x39b358=this[_0x4adc6c(0x127)]['getFocusedUnit']())==null?void 0x0:_0x39b358[_0x4adc6c(0x1ba)]())!==this['unitID'])return;const _0x11e8fe=(_0x476b6a=this[_0x4adc6c(0x31f)]['get'](_0x41a04b[_0x4adc6c(0x2fa)])[_0x4adc6c(0x20a)]())==null?void 0x0:_0x476b6a[0x0],_0x2701ca=this[_0x4adc6c(0x127)][_0x4adc6c(0x13a)](_0x1a23cd[_0x4adc6c(0x1a3)][_0x4adc6c(0x2e5)])[_0x4adc6c(0x87)]();_0x11e8fe&&_0x2701ca&&this['_updateLocalCursor'](_0x2701ca[_0x4adc6c(0x242)](),_0x11e8fe);}[_0x57a27c(0x228)](){const _0x5996ee=_0x57a27c;this[_0x5996ee(0xf1)]=!0x1;}};_0x5ade6f=_0x2de6dd([_0x1c60c2(0x2,_0x1a23cd[_0x57a27c(0x222)](_0x1a23cd[_0x57a27c(0x1a8)])),_0x1c60c2(0x3,_0x1a23cd[_0x57a27c(0x222)](_0x416df7)),_0x1c60c2(0x4,_0x1a23cd[_0x57a27c(0x222)](_0x2aa44c[_0x57a27c(0x1a2)])),_0x1c60c2(0x5,_0x1a23cd[_0x57a27c(0x21c)]),_0x1c60c2(0x6,_0x1a23cd[_0x57a27c(0x28c)]),_0x1c60c2(0x7,_0x1a23cd[_0x57a27c(0x222)](_0x41a04b['RefRangeService']))],_0x5ade6f);var _0x66d713=Object[_0x57a27c(0x1f2)],_0x201d73=(_0x14cc05,_0x45d30e,_0x3d6d8d,_0x3b1e7e)=>{const _0x191a2c=_0x57a27c;for(var _0x3eda5b=_0x3b1e7e>0x1?void 0x0:_0x3b1e7e?_0x66d713(_0x45d30e,_0x3d6d8d):_0x45d30e,_0x468214=_0x14cc05[_0x191a2c(0x25b)]-0x1,_0x2ab9d7;_0x468214>=0x0;_0x468214--)(_0x2ab9d7=_0x14cc05[_0x468214])&&(_0x3eda5b=_0x2ab9d7(_0x3eda5b)||_0x3eda5b);return _0x3eda5b;},_0x1a1afa=(_0x142872,_0x5f31a3)=>(_0x3e4a5d,_0x14132d)=>_0x5f31a3(_0x3e4a5d,_0x14132d,_0x142872);let _0x503296=class extends _0x1a23cd[_0x57a27c(0x249)]{constructor(_0x59b4e4,_0x594f3c,_0x1a5c7d){const _0x59eb66=_0x57a27c;super(),_0x201443(this,_0x59eb66(0x27f),new Map()),_0x201443(this,_0x59eb66(0x1d9),new _0x289a68[(_0x59eb66(0x2bd))]()),(this['_univerInstanceService']=_0x59b4e4,this[_0x59eb66(0x31f)]=_0x594f3c,this[_0x59eb66(0x2f0)]=_0x1a5c7d,this[_0x59eb66(0x15a)]());}['dispose'](){const _0xf8aa3c=_0x57a27c;super[_0xf8aa3c(0x16b)](),this[_0xf8aa3c(0x1d9)]['complete'](),this[_0xf8aa3c(0x27f)]['forEach'](_0x324753=>_0x324753[_0xf8aa3c(0x16b)]());}[_0x57a27c(0x2a7)](_0x273718){const _0x4c3c73=_0x57a27c;return this['_entities'][_0x4c3c73(0x1d3)](_0x273718)?this[_0x4c3c73(0x27f)][_0x4c3c73(0x18f)](_0x273718)[_0x4c3c73(0x291)]:this[_0x4c3c73(0x1d9)][_0x4c3c73(0x11b)](_0x289a68['filter'](_0x493b3c=>_0x493b3c[_0x4c3c73(0xe5)]===_0x273718),_0x289a68[_0x4c3c73(0x125)](_0x5ed5d7=>_0x5ed5d7[_0x4c3c73(0x291)]));}[_0x57a27c(0x15a)](){const _0x21e2ca=_0x57a27c;this[_0x21e2ca(0x127)]['getTypeOfUnitAdded$'](_0x1a23cd[_0x21e2ca(0x1a3)][_0x21e2ca(0x2e5)])['pipe'](_0x289a68[_0x21e2ca(0x8d)](this[_0x21e2ca(0x204)]))['subscribe'](async _0x361aa9=>{const _0x16c03e=_0x21e2ca,_0x4fcb69=_0x361aa9[_0x16c03e(0x1ba)](),_0x256b07=await this[_0x16c03e(0x115)](_0x4fcb69);this['_entityInit$'][_0x16c03e(0x263)](_0x256b07),this[_0x16c03e(0x27f)][_0x16c03e(0x15c)](_0x4fcb69,_0x256b07);}),this[_0x21e2ca(0x127)][_0x21e2ca(0x2ae)](_0x1a23cd[_0x21e2ca(0x1a3)][_0x21e2ca(0x14c)])['pipe'](_0x289a68[_0x21e2ca(0x8d)](this[_0x21e2ca(0x204)]))[_0x21e2ca(0x11b)](_0x289a68['filter'](_0x128588=>!_0x128588[_0x21e2ca(0x1ba)]()[_0x21e2ca(0x1ea)]('__')))[_0x21e2ca(0x137)](async _0x25ecd5=>{const _0x4f5c35=_0x21e2ca,_0x2c6633=_0x25ecd5[_0x4f5c35(0x1ba)](),_0x2561ab=await this['_startDocCollabCursor'](_0x2c6633);this[_0x4f5c35(0x1d9)][_0x4f5c35(0x263)](_0x2561ab),this[_0x4f5c35(0x27f)][_0x4f5c35(0x15c)](_0x2c6633,_0x2561ab);}),_0x289a68[_0x21e2ca(0x213)](this[_0x21e2ca(0x127)][_0x21e2ca(0x324)](_0x1a23cd[_0x21e2ca(0x1a3)][_0x21e2ca(0x14c)]),this[_0x21e2ca(0x127)][_0x21e2ca(0x324)](_0x1a23cd['UniverInstanceType'][_0x21e2ca(0x2e5)]))['pipe'](_0x289a68['takeUntil'](this[_0x21e2ca(0x204)]))[_0x21e2ca(0x137)](_0x19f70a=>{const _0x4d2ad2=_0x21e2ca,_0x597744=_0x19f70a['getUnitId'](),_0xd52e48=this[_0x4d2ad2(0x27f)][_0x4d2ad2(0x18f)](_0x597744);_0xd52e48&&(_0xd52e48[_0x4d2ad2(0x16b)](),this[_0x4d2ad2(0x27f)][_0x4d2ad2(0x198)](_0x597744));});}async[_0x57a27c(0x115)](_0x23726c){const _0x524fa8=_0x57a27c,_0x52e8cc=await this[_0x524fa8(0x2f0)]['requireSession'](_0x23726c),_0x5db7d9=this[_0x524fa8(0x31f)][_0x524fa8(0x31e)](_0x5ade6f,_0x23726c,_0x52e8cc);return _0x5db7d9[_0x524fa8(0x10e)](),_0x5db7d9;}async['_startDocCollabCursor'](_0x1e5c75){const _0x1334ab=_0x57a27c,_0x3d7621=await this[_0x1334ab(0x2f0)][_0x1334ab(0x21d)](_0x1e5c75),_0x59987f=this[_0x1334ab(0x31f)][_0x1334ab(0x31e)](_0x15efd5,_0x1e5c75,_0x3d7621);return _0x59987f[_0x1334ab(0x10e)](),_0x59987f;}};_0x503296=_0x201d73([_0x1a1afa(0x0,_0x1a23cd[_0x57a27c(0x21c)]),_0x1a1afa(0x1,_0x1a23cd[_0x57a27c(0x222)](_0x1a23cd[_0x57a27c(0x1a8)])),_0x1a1afa(0x2,_0x1a23cd[_0x57a27c(0x222)](_0x2aa44c['CollaborationSessionService']))],_0x503296);const _0xf8646c=0x14,_0x416ee5=0xc8,_0x478f45=0x4,_0x2cb2f6=0x5;function _0x5515d4(_0x585625,_0x5cef0a){const _0x54e66c=_0x57a27c;let {radius:_0xf102fc,width:_0x393e9c,height:_0x502884}=_0x5cef0a;_0xf102fc=_0xf102fc!=null?_0xf102fc:0x0,_0x393e9c=_0x393e9c!=null?_0x393e9c:0x1e,_0x502884=_0x502884!=null?_0x502884:0x1e;let _0x9c7a55=0x0,_0x584ab4=0x0,_0x3d1f39=0x0;_0x9c7a55=_0x584ab4=_0x3d1f39=Math[_0x54e66c(0x157)](_0xf102fc,_0x393e9c/0x2,_0x502884/0x2),_0x585625[_0x54e66c(0x282)](),_0x585625[_0x54e66c(0x112)](_0x9c7a55,0x0),_0x585625[_0x54e66c(0x1ce)](_0x393e9c-_0x584ab4,0x0),_0x585625[_0x54e66c(0x272)](_0x393e9c-_0x584ab4,_0x584ab4,_0x584ab4,Math['PI']*0x3/0x2,0x0,!0x1),_0x585625[_0x54e66c(0x1ce)](_0x393e9c,_0x502884-_0x3d1f39),_0x585625[_0x54e66c(0x272)](_0x393e9c-_0x3d1f39,_0x502884-_0x3d1f39,_0x3d1f39,0x0,Math['PI']/0x2,!0x1),_0x585625['lineTo'](0x0,_0x502884),_0x585625[_0x54e66c(0x1ce)](0x0,_0x9c7a55),_0x585625[_0x54e66c(0x272)](_0x9c7a55,_0x9c7a55,_0x9c7a55,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x585625[_0x54e66c(0x28d)](),_0x5cef0a['fill']&&(_0x585625[_0x54e66c(0x221)](),_0x585625[_0x54e66c(0x21e)]=_0x5cef0a[_0x54e66c(0xc9)],_0x5cef0a[_0x54e66c(0x250)]==='evenodd'?_0x585625[_0x54e66c(0xc9)](_0x54e66c(0x2c7)):_0x585625['fill'](),_0x585625[_0x54e66c(0x1cc)]());}class _0x5c9bc9 extends _0x5e65d8[_0x57a27c(0xb7)]{constructor(_0x52a193,_0x5ab57b){const _0x3598e2=_0x57a27c;super(_0x52a193,_0x5ab57b),_0x201443(this,_0x3598e2(0x1f7)),_0x201443(this,_0x3598e2(0x1be)),(this[_0x3598e2(0x1f7)]=_0x5ab57b==null?void 0x0:_0x5ab57b[_0x3598e2(0x1f7)],this[_0x3598e2(0x1be)]=_0x5ab57b==null?void 0x0:_0x5ab57b[_0x3598e2(0x1be)]);}static[_0x57a27c(0xba)](_0x1feff7,_0x2f498d){const _0x5c44d9=_0x57a27c,{text:_0x229205,color:_0x4ef8a2}=_0x2f498d;_0x1feff7[_0x5c44d9(0x221)](),_0x1feff7['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x125b44=_0x1feff7[_0x5c44d9(0x219)](_0x229205)['width'],_0x2d2e25=Math['min'](_0x125b44+0x2*_0x478f45,_0x416ee5);_0x5515d4(_0x1feff7,{'height':_0xf8646c,'radius':0x4,'width':_0x2d2e25,'fill':_0x4ef8a2}),_0x1feff7[_0x5c44d9(0x21e)]=_0x5c44d9(0x2df);const _0x12f4fa=_0x478f45,_0x119264=_0xf8646c-_0x2cb2f6,_0x38f3e1=_0x416ee5-0x2*_0x478f45;if(_0x125b44>_0x38f3e1){let _0x5f28f3='',_0x61efd4=0x0;for(const _0x551170 of _0x229205){const _0x5a9ceb=_0x1feff7[_0x5c44d9(0x219)](_0x551170)[_0x5c44d9(0x210)];if(_0x61efd4+_0x5a9ceb<=_0x38f3e1-_0x1feff7['measureText'](_0x5c44d9(0x129))['width'])_0x5f28f3+=_0x551170,_0x61efd4+=_0x5a9ceb;else{_0x5f28f3+=_0x5c44d9(0x129);break;}}_0x1feff7['fillText'](_0x5f28f3,_0x12f4fa,_0x119264);}else _0x1feff7[_0x5c44d9(0x1ad)](_0x229205,_0x12f4fa,_0x119264);_0x1feff7[_0x5c44d9(0x1cc)]();}[_0x57a27c(0x323)](_0x518597){const _0x50bb2e=_0x57a27c;_0x5c9bc9[_0x50bb2e(0xba)](_0x518597,this);}}const _0x60250b=_0x57a27c(0x27c),_0x119cc0=_0x57a27c(0x1a1),_0x280bae=_0x57a27c(0x1e3),_0x2c6109=0x6,_0x399403=1.5,_0x49a49f=0x4,_0x2b1c61=1.5,_0x577088=_0x57a27c(0xcb);class _0x190fa8{constructor(_0x388cf5,_0x426d74,_0x5edbdd,_0x216262){const _0xc6ac71=_0x57a27c;_0x201443(this,_0xc6ac71(0x2c4),[]),_0x201443(this,'_anchor',null),_0x201443(this,'_textBubble',null),_0x201443(this,'_anchorDot',null),_0x201443(this,_0xc6ac71(0x148),null),_0x201443(this,'_eventUnsubscribe',null),(this[_0xc6ac71(0x1b8)]=_0x388cf5,this['_scene']=_0x426d74,this[_0xc6ac71(0x14f)]=_0x5edbdd,this[_0xc6ac71(0x2a4)]=_0x216262,this[_0xc6ac71(0xe4)]());}set[_0x57a27c(0x29a)](_0x4b7080){const _0x2b9b49=_0x57a27c;_0x4b7080?(this['_anchorDot']&&this[_0x2b9b49(0xf7)][_0x2b9b49(0x1b6)](),this['_textBubble']&&this['_textBubble'][_0x2b9b49(0x24e)]()):(this[_0x2b9b49(0xf7)]&&this[_0x2b9b49(0xf7)][_0x2b9b49(0x24e)](),this['_textBubble']&&this[_0x2b9b49(0x297)][_0x2b9b49(0x1b6)]());}[_0x57a27c(0x16b)](){const _0x282f36=_0x57a27c;for(const _0x1320f5 of this['_shapes'])_0x1320f5[_0x282f36(0x16b)]();this[_0x282f36(0x297)]&&this['_textBubble'][_0x282f36(0x16b)](),this['_anchorDot']&&this['_anchorDot']['dispose'](),this[_0x282f36(0x197)]&&this[_0x282f36(0x197)][_0x282f36(0x16b)](),this[_0x282f36(0x1cf)]&&this[_0x282f36(0x1cf)]();}[_0x57a27c(0xe4)](){const _0x13df25=_0x57a27c;var _0x1faafb;const {_docSkeleton:_0x344f4b,_document:_0x15418d}=this,{color:_0x15d9c4,name:_0x5cf211,ranges:_0x1469af}=this[_0x13df25(0x1b8)],_0x179545=_0x15418d[_0x13df25(0x2ef)](),{docsLeft:_0x1d43a2,docsTop:_0x5fc72b}=_0x179545,_0x24120c=new _0xbf3303['NodePositionConvertToCursor'](_0x179545,_0x344f4b);for(const {startOffset:_0x8564bd,endOffset:_0x24bb0a,rangeType:_0x3bfbcb,segmentId:_0x46c036,segmentPage:_0x142f0b,collapsed:_0x5f3e71,isActive:_0x2aa32a}of _0x1469af){const _0x3db1fb=_0x344f4b[_0x13df25(0x189)](_0x8564bd,!0x0,_0x46c036,_0x142f0b);let _0x3f615b=_0x344f4b['findNodePositionByCharIndex'](_0x24bb0a,!0x0,_0x46c036,_0x142f0b);if(_0x3f615b==null&&(_0x3f615b=_0x344f4b[_0x13df25(0x189)](_0x24bb0a-0x1,!0x1,_0x46c036,_0x142f0b)),_0x2aa32a){const {contentBoxPointGroup:_0x1a5b6a}=_0x24120c['getRangePointData'](_0x3f615b,_0x3f615b);if(_0x1a5b6a[_0x13df25(0x25b)]===0x0)continue;this[_0x13df25(0x9b)](_0x15d9c4,_0x1a5b6a,_0x1d43a2,_0x5fc72b,_0x5cf211),this[_0x13df25(0x1cf)]=this[_0x13df25(0x154)]();}if(_0x3db1fb&&_0x3f615b){if(_0x3bfbcb===_0x1a23cd['DOC_RANGE_TYPE'][_0x13df25(0x2f5)]){const _0x1cadd7=new _0xbf3303[(_0x13df25(0x1f5))](_0x179545,_0x344f4b),{pointGroup:_0x57a22b}=(_0x1faafb=_0x1cadd7[_0x13df25(0xca)](_0x3db1fb,_0x3f615b))!=null?_0x1faafb:{};if(_0x57a22b==null||_0x57a22b[_0x13df25(0x25b)]===0x0)continue;this['_drawRectRange'](_0x15d9c4,_0x57a22b,_0x1d43a2,_0x5fc72b);}else{if(!_0x5f3e71){const {borderBoxPointGroup:_0x27a61e}=_0x24120c[_0x13df25(0xca)](_0x3db1fb,_0x3f615b);if(_0x27a61e['length']===0x0)continue;this[_0x13df25(0x2a3)](_0x15d9c4,_0x27a61e,_0x1d43a2,_0x5fc72b);}}}}}[_0x57a27c(0x9b)](_0x194ae7,_0x463f43,_0x49d979,_0x1f6537,_0x39909d){const _0x49dad5=_0x57a27c,_0x3dea1f=this[_0x49dad5(0x170)](_0x463f43),{left:_0x244ca6,top:_0x142b8f,height:_0x36d11a}=_0x3dea1f,_0x3d6865=this[_0x49dad5(0x1ca)](),_0x38bb51=_0x2b1c61/_0x3d6865,_0xb13c2c=new _0x5e65d8[(_0x49dad5(0x251))](_0x60250b+_0x1a23cd['Tools'][_0x49dad5(0x1c9)](_0x2c6109),{'left':_0x244ca6+_0x49d979-_0x38bb51,'top':_0x142b8f+_0x1f6537,'height':_0x36d11a,'width':_0x399403,'fill':_0x194ae7||_0x5e65d8[_0x49dad5(0x199)](_0x1a23cd[_0x49dad5(0x169)][_0x49dad5(0x158)],0x0),'strokeWidth':_0x38bb51,'stroke':_0x577088,'evented':!0x0});this[_0x49dad5(0x197)]=_0xb13c2c,this[_0x49dad5(0x20e)][_0x49dad5(0xfc)](_0xb13c2c,_0xbf3303[_0x49dad5(0x21f)]);const _0x1f1d3e=new _0x5e65d8[(_0x49dad5(0x251))](_0x60250b+_0x1a23cd[_0x49dad5(0x31a)][_0x49dad5(0x1c9)](_0x2c6109),{'left':_0x244ca6+_0x49d979-_0x38bb51,'top':_0x142b8f+_0x1f6537-_0x49a49f/0x2,'height':_0x49a49f,'width':_0x49a49f,'fill':_0x194ae7||_0x5e65d8[_0x49dad5(0x199)](_0x1a23cd[_0x49dad5(0x169)][_0x49dad5(0x158)],0x0),'strokeWidth':0x0,'stroke':_0x194ae7||_0x5e65d8[_0x49dad5(0x199)](_0x1a23cd['COLORS'][_0x49dad5(0x158)],0x0),'evented':!0x1});this[_0x49dad5(0xf7)]=_0x1f1d3e,this[_0x49dad5(0x20e)][_0x49dad5(0xfc)](_0x1f1d3e,_0xbf3303[_0x49dad5(0x21f)]);const _0x655686=new _0x5c9bc9(_0x60250b+_0x1a23cd['Tools'][_0x49dad5(0x1c9)](_0x2c6109),{'left':_0x244ca6+_0x49d979-_0x38bb51,'top':_0x142b8f+_0x1f6537-_0xf8646c,'text':_0x39909d,'color':_0x194ae7});this['_textBubble']=_0x655686,this[_0x49dad5(0x20e)][_0x49dad5(0xfc)](_0x655686,_0xbf3303[_0x49dad5(0x21f)]),this[_0x49dad5(0x29a)]=!0x1;}['_handleHover'](){const _0x219c73=_0x57a27c,_0x2e31df=this[_0x219c73(0x197)][_0x219c73(0x30a)][_0x219c73(0x104)](()=>{const _0x136e54=_0x219c73;this[_0x136e54(0x29a)]=!0x0;}),_0x185765=this['_anchor'][_0x219c73(0x173)][_0x219c73(0x104)](()=>{const _0x225f0a=_0x219c73;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x225f0a(0x148)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x38d6c9=_0x219c73;_0x2e31df['unsubscribe'](),_0x185765[_0x38d6c9(0x9e)]();};}[_0x57a27c(0x2a3)](_0x53d0e9,_0x180c6f,_0x53f975,_0x1f92b3){const _0x396107=_0x57a27c,_0x61d0d0=new _0x1a23cd[(_0x396107(0x117))](_0x53d0e9)['setAlpha'](0.2)[_0x396107(0xce)](),_0xf16932=new _0x5e65d8[(_0x396107(0x2de))](_0x119cc0+_0x1a23cd[_0x396107(0x31a)][_0x396107(0x1c9)](_0x2c6109),{'pointsGroup':_0x180c6f,'fill':_0x61d0d0||_0x5e65d8[_0x396107(0x199)](_0x1a23cd[_0x396107(0x169)][_0x396107(0x158)],0.2),'left':_0x53f975,'top':_0x1f92b3,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x396107(0x97)](_0xf16932),this[_0x396107(0x20e)][_0x396107(0xfc)](_0xf16932,_0xbf3303[_0x396107(0x21f)]);}[_0x57a27c(0x13f)](_0x4c09df,_0x2028ba,_0xef3dca,_0x55a1c5){const _0x2df4e8=_0x57a27c,_0x5907b3=new _0x1a23cd[(_0x2df4e8(0x117))](_0x4c09df)[_0x2df4e8(0x2f6)](0.2)[_0x2df4e8(0xce)](),_0x251266=new _0x5e65d8[(_0x2df4e8(0x2de))](_0x280bae+_0x1a23cd[_0x2df4e8(0x31a)][_0x2df4e8(0x1c9)](_0x2c6109),{'pointsGroup':_0x2028ba,'fill':_0x5907b3||_0x5e65d8['getColor'](_0x1a23cd['COLORS'][_0x2df4e8(0x158)],0.2),'left':_0xef3dca,'top':_0x55a1c5,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2df4e8(0x2c4)][_0x2df4e8(0x97)](_0x251266),this['_scene'][_0x2df4e8(0xfc)](_0x251266,_0xbf3303[_0x2df4e8(0x21f)]);}[_0x57a27c(0x170)](_0x54981d){const _0xed93b4=_0x54981d[0x0],_0x158c66=_0xed93b4[0x0],_0x54ca9c=_0xed93b4[0x2],{x:_0x29d155,y:_0x34e169}=_0x158c66,{x:_0x61f735,y:_0x319d44}=_0x54ca9c;return{'left':_0x29d155,'top':_0x34e169,'width':_0x61f735-_0x29d155,'height':_0x319d44-_0x34e169};}[_0x57a27c(0x1ca)](){const _0x4f4149=_0x57a27c,{scaleX:_0x5bf850,scaleY:_0x485437}=this['_scene'][_0x4f4149(0x128)]();return Math[_0x4f4149(0x2d6)](_0x5bf850,_0x485437);}}var _0x134f86=Object[_0x57a27c(0x1f2)],_0x4e149a=(_0x2827c3,_0x44c4a4,_0x1eb812,_0x3e43e5)=>{for(var _0x54669f=_0x3e43e5>0x1?void 0x0:_0x3e43e5?_0x134f86(_0x44c4a4,_0x1eb812):_0x44c4a4,_0x20c642=_0x2827c3['length']-0x1,_0x351abf;_0x20c642>=0x0;_0x20c642--)(_0x351abf=_0x2827c3[_0x20c642])&&(_0x54669f=_0x351abf(_0x54669f)||_0x54669f);return _0x54669f;},_0x1a33b8=(_0x4b6e3c,_0x1c4508)=>(_0x487bce,_0x358c1f)=>_0x1c4508(_0x487bce,_0x358c1f,_0x4b6e3c);let _0x334652=class extends _0x1a23cd['RxDisposable']{constructor(_0x53c559,_0x256672,_0x38ba1e,_0x75e162,_0xa1bb6f){const _0x174a60=_0x57a27c;super(),_0x201443(this,_0x174a60(0xfa),[]),_0x201443(this,_0x174a60(0xc2),[]),(this[_0x174a60(0x12a)]=_0x53c559,this[_0x174a60(0x23a)]=_0x256672,this[_0x174a60(0x287)]=_0x38ba1e,this[_0x174a60(0x1c7)]=_0x75e162,this['_themeService']=_0xa1bb6f,this[_0x174a60(0x15a)]());}[_0x57a27c(0x15a)](){const _0x16e6b6=_0x57a27c,_0x2507ac=this[_0x16e6b6(0x12a)]['unitId'],_0x190be6=this[_0x16e6b6(0x23a)];this[_0x16e6b6(0x138)](_0x289a68[_0x16e6b6(0x8a)]([this['_collabCursorController'][_0x16e6b6(0x2a7)](_0x2507ac),this[_0x16e6b6(0xc0)][_0x16e6b6(0xc5)]])['pipe'](_0x3ffaea[_0x16e6b6(0x17c)](([_0x3ecb35,_0x5cdec4])=>({'skeleton':_0x190be6['getSkeleton'](),'cursors':[..._0x3ecb35['values']()][_0x16e6b6(0xde)](_0x47ef80=>({..._0x47ef80,'color':this['_themeService'][_0x16e6b6(0x220)](_0x47ef80[_0x16e6b6(0x1f7)])}))})))['subscribe'](_0x371068=>{const _0x510a8b=_0x16e6b6;if(this['_removeCollabCursors'](),_0x371068){const {skeleton:_0x579cc5,cursors:_0x20839c}=_0x371068;this[_0x510a8b(0x28f)](_0x579cc5,_0x20839c);}})),this[_0x16e6b6(0x1fa)](),this['_initCommandExecutedListener']();}[_0x57a27c(0x28f)](_0x4c55e9,_0x4f5da7){const _0x3752d6=_0x57a27c,{scene:_0x3f19df,mainComponent:_0x315415}=this[_0x3752d6(0x12a)],_0x2732e9=_0x4f5da7['map'](_0x37fa9c=>new _0x190fa8(_0x37fa9c,_0x3f19df,_0x4c55e9,_0x315415));this[_0x3752d6(0xfa)]=_0x2732e9,this[_0x3752d6(0xc2)]=_0x4f5da7;}['_refreshCollabCursors'](){const _0x18fb15=_0x57a27c;this[_0x18fb15(0x2b4)]();const {scene:_0x551b14,mainComponent:_0x207c19}=this[_0x18fb15(0x12a)],_0x38e3de=this[_0x18fb15(0x23a)][_0x18fb15(0x1eb)](),_0xf2e632=this[_0x18fb15(0xc2)][_0x18fb15(0x17c)](_0x242c6d=>new _0x190fa8(_0x242c6d,_0x551b14,_0x38e3de,_0x207c19));this[_0x18fb15(0xfa)]=_0xf2e632;}[_0x57a27c(0x2b4)](){const _0x8492d0=_0x57a27c;this[_0x8492d0(0xfa)][_0x8492d0(0x2d8)](_0x196221=>_0x196221['dispose']()),this[_0x8492d0(0xfa)]=[];}[_0x57a27c(0x167)](){const _0x18f8d6=_0x57a27c,_0x263b5e=[_0xbf3303[_0x18f8d6(0x14a)]['id']];this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x4a8b2a=>{const _0x28bdf3=_0x18f8d6;_0x263b5e[_0x28bdf3(0x214)](_0x4a8b2a['id'])&&_0x4a8b2a['params'][_0x28bdf3(0x311)]===this[_0x28bdf3(0x12a)][_0x28bdf3(0x311)]&&this['_refreshCollabCursors']();}));}[_0x57a27c(0x1fa)](){const _0x910f39=_0x57a27c;this[_0x910f39(0x138)](_0x1a23cd[_0x910f39(0x2d0)](this[_0x910f39(0x12a)][_0x910f39(0x178)][_0x910f39(0x146)])[_0x910f39(0x11b)](_0x3ffaea[_0x910f39(0x1bb)](_0xd2ee1c=>_0xd2ee1c['type']===_0x5e65d8[_0x910f39(0x30b)][_0x910f39(0x225)]),_0x3ffaea['throttleTime'](0x10))['subscribe'](()=>{const _0x4edbcf=_0x910f39;this[_0x4edbcf(0x1a5)]();}));}};_0x334652=_0x4e149a([_0x1a33b8(0x1,_0x1a23cd[_0x57a27c(0x222)](_0x40d000[_0x57a27c(0x2eb)])),_0x1a33b8(0x2,_0x1a23cd[_0x57a27c(0x222)](_0x503296)),_0x1a33b8(0x3,_0x1a23cd['ICommandService']),_0x1a33b8(0x4,_0x1a23cd[_0x57a27c(0x222)](_0x1a23cd[_0x57a27c(0x17e)]))],_0x334652);const _0x384c0f=0x1,_0x20caa8=1.5;class _0x8d5e3c extends _0x5e65d8[_0x57a27c(0xb7)]{constructor(_0x347cfd,_0x5c96ce){const _0x503e9e=_0x57a27c;super(_0x347cfd,_0x5c96ce),_0x201443(this,_0x503e9e(0x217)),_0x201443(this,'_hovered',!0x1),_0x201443(this,_0x503e9e(0x237)),_0x201443(this,_0x503e9e(0x21a),''),_0x201443(this,'_labelPosition','top'),_0x201443(this,'_backgroundColor'),(_0x5c96ce&&this['setShapeProps'](_0x5c96ce),this[_0x503e9e(0x30a)][_0x503e9e(0x104)](()=>this[_0x503e9e(0x2da)]({'hovered':!0x0})),this[_0x503e9e(0x173)][_0x503e9e(0x104)](()=>this[_0x503e9e(0x2da)]({'hovered':!0x1})));}[_0x57a27c(0x2da)](_0x2ad41e){const _0x9defcf=_0x57a27c;var _0x4fb514,_0x254ad8,_0x1cc044,_0x1d2760,_0xecac50,_0xd7e576;this[_0x9defcf(0x217)]=(_0x4fb514=_0x2ad41e['color'])!=null?_0x4fb514:this[_0x9defcf(0x217)],this['_hovered']=(_0x254ad8=_0x2ad41e[_0x9defcf(0x245)])!=null?_0x254ad8:this[_0x9defcf(0x1f6)],this[_0x9defcf(0x237)]=(_0x1cc044=_0x2ad41e[_0x9defcf(0x1df)])!=null?_0x1cc044:this[_0x9defcf(0x237)],this[_0x9defcf(0x21a)]=(_0x1d2760=_0x2ad41e[_0x9defcf(0xb6)])!=null?_0x1d2760:this['_name'],this[_0x9defcf(0x2e3)]=(_0xecac50=_0x2ad41e['labelPosition'])!=null?_0xecac50:this['_labelPosition'],this[_0x9defcf(0x12b)]=(_0xd7e576=_0x2ad41e[_0x9defcf(0x229)])!=null?_0xd7e576:this[_0x9defcf(0x12b)],this[_0x9defcf(0x294)]({'width':_0x2ad41e[_0x9defcf(0x210)],'height':_0x2ad41e[_0x9defcf(0x162)]});}[_0x57a27c(0x88)](_0x2229d8){const _0x463d52=_0x57a27c,{row:_0x53b538,column:_0x104036}=_0x2229d8;if(_0x53b538>=this[_0x463d52(0x237)][_0x463d52(0x10b)]&&_0x53b538<=this[_0x463d52(0x237)][_0x463d52(0x19d)]&&_0x104036>=this['_range'][_0x463d52(0x2a6)]&&_0x104036<=this['_range'][_0x463d52(0x147)]){this[_0x463d52(0x2da)]({'hovered':!0x0});return;}this[_0x463d52(0x2da)]({'hovered':!0x1});}[_0x57a27c(0xda)](_0x464e66){return!0x1;}['_draw'](_0x41dee5){const _0x211e86=_0x57a27c;_0x5e65d8[_0x211e86(0x251)][_0x211e86(0xba)](_0x41dee5,{'width':this[_0x211e86(0x210)],'height':this[_0x211e86(0x162)],'strokeWidth':_0x20caa8,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x211e86(0x12b)]}),this[_0x211e86(0x1f6)]&&(_0x41dee5['save'](),_0x41dee5[_0x211e86(0x179)](0x1,0x0,0x0,0x1,this[_0x211e86(0x210)],this[_0x211e86(0x2e3)]===_0x211e86(0x2f4)?0x0:-0x14),_0x5c9bc9[_0x211e86(0xba)](_0x41dee5,{'text':this[_0x211e86(0x21a)],'color':this['_color']}),_0x41dee5[_0x211e86(0x1cc)]());}}var _0x58a521=Object[_0x57a27c(0x1f2)],_0x59f5d0=(_0xb75aab,_0x23b364,_0x12aa06,_0x383299)=>{const _0x3669dc=_0x57a27c;for(var _0x42d74c=_0x383299>0x1?void 0x0:_0x383299?_0x58a521(_0x23b364,_0x12aa06):_0x23b364,_0x4bc5dd=_0xb75aab[_0x3669dc(0x25b)]-0x1,_0x31cbe7;_0x4bc5dd>=0x0;_0x4bc5dd--)(_0x31cbe7=_0xb75aab[_0x4bc5dd])&&(_0x42d74c=_0x31cbe7(_0x42d74c)||_0x42d74c);return _0x42d74c;},_0x5e0f5b=(_0x57b93b,_0xd306e2)=>(_0x1d42fa,_0x3ed59d)=>_0xd306e2(_0x1d42fa,_0x3ed59d,_0x57b93b);const _0x17f131=0x1389;let _0x2b14b8=class extends _0x1a23cd[_0x57a27c(0x249)]{constructor(_0x580486,_0x570140,_0x25ee10,_0x26dfab){const _0x493801=_0x57a27c;super(),_0x201443(this,_0x493801(0xc2),new Set()),_0x201443(this,_0x493801(0x2d7),null),(this[_0x493801(0x12a)]=_0x580486,this[_0x493801(0x22b)]=_0x570140,this[_0x493801(0x287)]=_0x25ee10,this[_0x493801(0xc0)]=_0x26dfab,this[_0x493801(0x15a)]());}[_0x57a27c(0x15a)](){const _0xba2486=_0x57a27c;this[_0xba2486(0x22b)][_0xba2486(0x11e)][_0xba2486(0x11b)](_0x3ffaea[_0xba2486(0x8d)](this[_0xba2486(0x204)]),_0x3ffaea[_0xba2486(0x125)](_0x28bdd1=>{const _0x2c9954=_0xba2486;if(_0x28bdd1){const _0x225ab1=_0x28bdd1[_0x2c9954(0x16d)];return _0x289a68[_0x2c9954(0x8a)](this[_0x2c9954(0x287)]['getCollabCursors$'](this[_0x2c9954(0x12a)][_0x2c9954(0x311)]),this['_themeService'][_0x2c9954(0xc5)])[_0x2c9954(0x11b)](_0x3ffaea[_0x2c9954(0x17c)](([_0xa00a3b,_0x5ee6b0])=>{const _0x501708=_0x2c9954,_0x696bd8=new Map();return _0xa00a3b[_0x501708(0x2d8)]((_0x8b7137,_0x5804f3)=>{const _0x316cd2=_0x501708;if(_0x8b7137['sheetID']===_0x225ab1){const _0xc7ad53={..._0x8b7137};_0xc7ad53['color']=this[_0x316cd2(0xc0)][_0x316cd2(0x220)](_0x8b7137['color']),_0x696bd8['set'](_0x5804f3,_0xc7ad53);}}),{'skeleton':_0x28bdd1,'cursors':_0x696bd8};}));}return _0x289a68['of']({'skeleton':null,'cursors':new Map()});}))[_0xba2486(0x137)](({skeleton:_0xbbe260,cursors:_0x4ec73c})=>{const _0x5b2803=_0xba2486;this[_0x5b2803(0x2b4)](),_0xbbe260&&this[_0x5b2803(0x28f)](_0xbbe260,_0x4ec73c);}),this[_0xba2486(0x22b)][_0xba2486(0x11e)][_0xba2486(0x137)](_0x4f021c=>{const _0x5770fa=_0xba2486;if(_0x4f021c==null)return;const {skeleton:_0x4559ff}=_0x4f021c,{scene:_0x5d3cd6}=this[_0x5770fa(0x12a)];_0x5d3cd6['onPointerMove$'][_0x5770fa(0x104)](_0x1a23cd[_0x5770fa(0xa7)](_0x1d4cb5=>{const _0x5154ef=_0x5770fa;var _0x335025,_0x5096d7;const {offsetX:_0x5e2a5c,offsetY:_0x1a8bb1}=_0x1d4cb5,{x:_0x40bf80,y:_0x2f6f6c}=_0x5d3cd6['getRelativeToViewportCoord'](_0x5e65d8[_0x5154ef(0x161)][_0x5154ef(0x132)]([_0x5e2a5c,_0x1a8bb1])),{scaleX:_0x53e3b2,scaleY:_0x4b1c74}=_0x5d3cd6['getAncestorScale'](),_0x5bbaed=_0x5d3cd6[_0x5154ef(0xb2)](_0x5e65d8[_0x5154ef(0x1ae)][_0x5154ef(0xd1)]),_0x298723=_0x5d3cd6['getVpScrollXYInfoByPosToVp'](_0x5e65d8[_0x5154ef(0x161)][_0x5154ef(0x132)]([_0x40bf80,_0x2f6f6c]),_0x5bbaed),_0x239ed3=_0x4559ff[_0x5154ef(0x30c)](_0x5e2a5c,_0x1a8bb1,_0x53e3b2,_0x4b1c74,_0x298723);((_0x335025=this[_0x5154ef(0x2d7)])==null?void 0x0:_0x335025['column'])===_0x239ed3[_0x5154ef(0x301)]&&((_0x5096d7=this[_0x5154ef(0x2d7)])==null?void 0x0:_0x5096d7[_0x5154ef(0x8c)])===_0x239ed3[_0x5154ef(0x8c)]||this[_0x5154ef(0xc2)]['forEach'](_0x1e1ae5=>{const _0x297efc=_0x5154ef;_0x1e1ae5[_0x297efc(0x88)](_0x239ed3);});},0x64));});}[_0x57a27c(0x28f)](_0x5dcbd8,_0x2f8e99){const _0x29a429=_0x57a27c;var _0x3e644b;const _0x31f55d=(_0x3e644b=this[_0x29a429(0x22b)]['getCurrent']())==null?void 0x0:_0x3e644b['skeleton'];if(!_0x31f55d)return;const _0x325068=this[_0x29a429(0x8b)]();if(!_0x325068)return;this[_0x29a429(0xc2)][_0x29a429(0x2d8)](_0x1eebcd=>{const _0x25925d=_0x29a429;_0x1eebcd[_0x25925d(0x2ab)]();});const {scene:_0x132401}=_0x325068,_0x56b120=_0x5b28aa(Array[_0x29a429(0x267)](_0x2f8e99[_0x29a429(0x24d)]()))[_0x29a429(0x17c)](_0x4c97d0=>{const _0xd4f63c=_0x29a429,{color:_0x4e26cb,range:_0x516489,name:_0x391228,selection:_0x5c105e,sheetID:_0x54a326}=_0x4c97d0,{startColumn:_0x43491e,startRow:_0x3ec86d,endColumn:_0x5bd60a,endRow:_0x5980c0}=_0x516489,_0x34fca0=_0x32a1d7[_0xd4f63c(0x2aa)](_0x3ec86d,_0x43491e,_0x132401,_0x31f55d),_0x4d9ec9=_0x32a1d7[_0xd4f63c(0x2aa)](_0x5980c0,_0x5bd60a,_0x132401,_0x31f55d),{columnHeaderHeightAndMarginTop:_0x4d90d8}=_0x31f55d,{startX:_0xad7d72,startY:_0x511016}=_0x34fca0,{endX:_0x3b3deb,endY:_0x359c54}=_0x4d9ec9,_0x5f4fc0=_0x3b3deb-_0xad7d72,_0x44e8fb=_0x359c54-_0x511016,_0x4916dd={'labelPosition':_0x511016-_0x4d90d8>=_0xf8646c?_0xd4f63c(0xae):'bottom','sheetID':_0x54a326,'range':_0x516489,'color':_0x4e26cb,'name':_0x391228,'selection':_0x5c105e,'left':_0xad7d72,'top':_0x511016,'width':_0x5f4fc0,'height':_0x44e8fb,'evented':!0x1,'zIndex':_0x17f131};return new _0x8d5e3c(_0x391228,_0x4916dd);});_0x132401[_0x29a429(0x310)](_0x56b120,_0x384c0f),this[_0x29a429(0xc2)]=new Set(_0x56b120);}[_0x57a27c(0x2b4)](){const _0x2273cd=_0x57a27c;var _0x237886;(_0x237886=this['_cursors'])==null||_0x237886[_0x2273cd(0x2d8)](_0x56960f=>_0x56960f['dispose']());}['_getSheetObject'](){const _0x3835f1=_0x57a27c;return _0x32a1d7[_0x3835f1(0x14b)](this[_0x3835f1(0x12a)]['unit'],this[_0x3835f1(0x12a)]);}};_0x2b14b8=_0x59f5d0([_0x5e0f5b(0x1,_0x1a23cd['Inject'](_0x32a1d7[_0x57a27c(0xcc)])),_0x5e0f5b(0x2,_0x1a23cd[_0x57a27c(0x222)](_0x503296)),_0x5e0f5b(0x3,_0x1a23cd['Inject'](_0x1a23cd[_0x57a27c(0x17e)]))],_0x2b14b8);function _0x5b28aa(_0x49bfee){const _0x2f2541=_0x57a27c,_0x1df9c5=new Map();return _0x49bfee['forEach'](_0x428ca4=>{const _0x2815b5=_0x4087;if(_0x1df9c5[_0x2815b5(0x1d3)](_0x428ca4[_0x2815b5(0x271)])){const _0x5f0ba4=_0x1df9c5[_0x2815b5(0x18f)](_0x428ca4[_0x2815b5(0x271)]);_0x5f0ba4[_0x2815b5(0xb6)]+=',\x20'+_0x428ca4[_0x2815b5(0xb6)];}else _0x1df9c5['set'](_0x428ca4['selection'],_0x428ca4);}),Array[_0x2f2541(0x267)](_0x1df9c5[_0x2f2541(0x24d)]());}var _0x599d31=function(){const _0x2d25ea=_0x57a27c;return _0x599d31=Object['assign']||function(_0x2c9f64){const _0x6e2ebf=_0x4087;for(var _0x35b4e8,_0x3979c2=0x1,_0x5e2eb3=arguments[_0x6e2ebf(0x25b)];_0x3979c2<_0x5e2eb3;_0x3979c2++){_0x35b4e8=arguments[_0x3979c2];for(var _0xfc6344 in _0x35b4e8)Object[_0x6e2ebf(0x1fe)][_0x6e2ebf(0x246)][_0x6e2ebf(0xc6)](_0x35b4e8,_0xfc6344)&&(_0x2c9f64[_0xfc6344]=_0x35b4e8[_0xfc6344]);}return _0x2c9f64;},_0x599d31[_0x2d25ea(0x232)](this,arguments);},_0x1853fb=function(_0x24763e,_0x125017){const _0x2d8ce3=_0x57a27c;var _0x15fe1d={};for(var _0x1cf451 in _0x24763e)Object['prototype'][_0x2d8ce3(0x246)][_0x2d8ce3(0xc6)](_0x24763e,_0x1cf451)&&_0x125017[_0x2d8ce3(0x30e)](_0x1cf451)<0x0&&(_0x15fe1d[_0x1cf451]=_0x24763e[_0x1cf451]);if(_0x24763e!=null&&typeof Object['getOwnPropertySymbols']==_0x2d8ce3(0x123)){for(var _0x11d624=0x0,_0x1cf451=Object['getOwnPropertySymbols'](_0x24763e);_0x11d624<_0x1cf451[_0x2d8ce3(0x25b)];_0x11d624++)_0x125017['indexOf'](_0x1cf451[_0x11d624])<0x0&&Object[_0x2d8ce3(0x1fe)][_0x2d8ce3(0x135)][_0x2d8ce3(0xc6)](_0x24763e,_0x1cf451[_0x11d624])&&(_0x15fe1d[_0x1cf451[_0x11d624]]=_0x24763e[_0x1cf451[_0x11d624]]);}return _0x15fe1d;},_0x363641=_0x5fca6e['forwardRef'](function(_0x1438ca,_0x4f6042){const _0x502ba3=_0x57a27c;var _0x2b990e=_0x1438ca[_0x502ba3(0x9d)],_0x3009da=_0x1438ca['id'],_0x3a8b9f=_0x1438ca[_0x502ba3(0x1e7)],_0x3f5fe2=_0x1438ca[_0x502ba3(0x166)],_0x4a9e78=_0x1853fb(_0x1438ca,[_0x502ba3(0x9d),'id','className',_0x502ba3(0x166)]),_0x320d58=_0x502ba3(0x194)[_0x502ba3(0x171)](_0x3009da,'\x20')[_0x502ba3(0x171)](_0x3a8b9f||'')['trim'](),_0x44a9e6=_0x5fca6e[_0x502ba3(0x233)]('_'[_0x502ba3(0x171)](_0x1646ec()));return _0x2e1a3d(_0x2b990e,''[_0x502ba3(0x171)](_0x3009da),{'defIds':_0x2b990e[_0x502ba3(0x2a5)],'idSuffix':_0x44a9e6[_0x502ba3(0x1e6)]},_0x599d31({'ref':_0x4f6042,'className':_0x320d58},_0x4a9e78),_0x3f5fe2);});function _0x2e1a3d(_0x460b1f,_0x585232,_0x1f82f3,_0x2f87ac,_0x1caab5){const _0x3b91de=_0x57a27c;return _0x5fca6e[_0x3b91de(0x22f)](_0x460b1f[_0x3b91de(0x258)],_0x599d31(_0x599d31({'key':_0x585232},_0x45e9a8(_0x460b1f,_0x1f82f3,_0x1caab5)),_0x2f87ac),(_0x213b0a(_0x460b1f,_0x1f82f3)[_0x3b91de(0x284)]||[])[_0x3b91de(0x17c)](function(_0x577ad8,_0x538c18){const _0x395569=_0x3b91de;return _0x2e1a3d(_0x577ad8,''[_0x395569(0x171)](_0x585232,'-')[_0x395569(0x171)](_0x460b1f[_0x395569(0x258)],'-')[_0x395569(0x171)](_0x538c18),_0x1f82f3,void 0x0,_0x1caab5);}));}function _0x45e9a8(_0x382fc7,_0x135e90,_0x3178d6){const _0xea2773=_0x57a27c;var _0x3642b8=_0x599d31({},_0x382fc7['attrs']);_0x3178d6!=null&&_0x3178d6[_0xea2773(0x19c)]&&_0x3642b8[_0xea2773(0xc9)]==='colorChannel1'&&(_0x3642b8[_0xea2773(0xc9)]=_0x3178d6[_0xea2773(0x19c)]),_0x382fc7[_0xea2773(0x258)]===_0xea2773(0x281)&&_0x3642b8['id']&&(_0x3642b8['id']=_0x3642b8['id']+_0x135e90[_0xea2773(0xc4)]),Object[_0xea2773(0x151)](_0x3642b8)['forEach'](function(_0x12aa50){const _0x125731=_0xea2773;var _0x76b4a0=_0x12aa50[0x0],_0x5ddb9e=_0x12aa50[0x1];_0x76b4a0===_0x125731(0x281)&&typeof _0x5ddb9e==_0x125731(0x1e5)&&(_0x3642b8[_0x76b4a0]=_0x5ddb9e[_0x125731(0x2fc)](/url\(#(.*)\)/,_0x125731(0x2af)[_0x125731(0x171)](_0x135e90[_0x125731(0xc4)],')')));});var _0x3b6f99=_0x135e90['defIds'];return!_0x3b6f99||_0x3b6f99[_0xea2773(0x25b)]===0x0||(_0x382fc7[_0xea2773(0x258)]===_0xea2773(0x2cd)&&_0x3642b8[_0xea2773(0x1e8)]&&(_0x3642b8[_0xea2773(0x1e8)]=_0x3642b8[_0xea2773(0x1e8)]+_0x135e90['idSuffix']),Object[_0xea2773(0x151)](_0x3642b8)[_0xea2773(0x2d8)](function(_0x2b323e){const _0x2b1251=_0xea2773;var _0xdbac58=_0x2b323e[0x0],_0x423001=_0x2b323e[0x1];typeof _0x423001=='string'&&(_0x3642b8[_0xdbac58]=_0x423001[_0x2b1251(0x2fc)](/url\(#(.*)\)/,_0x2b1251(0x2af)[_0x2b1251(0x171)](_0x135e90['idSuffix'],')')));})),_0x3642b8;}function _0x213b0a(_0x1bdf20,_0x538de8){const _0x14d3c6=_0x57a27c;var _0x5bda94,_0x587832=_0x538de8[_0x14d3c6(0x2a5)];return!_0x587832||_0x587832['length']===0x0?_0x1bdf20:_0x1bdf20[_0x14d3c6(0x258)]===_0x14d3c6(0x18c)&&(!((_0x5bda94=_0x1bdf20['children'])===null||_0x5bda94===void 0x0)&&_0x5bda94['length'])?_0x599d31(_0x599d31({},_0x1bdf20),{'children':_0x1bdf20['children'][_0x14d3c6(0x17c)](function(_0x28212d){const _0x3671c3=_0x14d3c6;return typeof _0x28212d['attrs']['id']==_0x3671c3(0x1e5)&&_0x587832&&_0x587832['indexOf'](_0x28212d[_0x3671c3(0x1d0)]['id'])>-0x1?_0x599d31(_0x599d31({},_0x28212d),{'attrs':_0x599d31(_0x599d31({},_0x28212d[_0x3671c3(0x1d0)]),{'id':_0x28212d['attrs']['id']+_0x538de8[_0x3671c3(0xc4)]})}):_0x28212d;})}):_0x1bdf20;}function _0x1646ec(){const _0x51eed3=_0x57a27c;return Math[_0x51eed3(0x238)]()[_0x51eed3(0x24a)](0x24)['substring'](0x2,0x8);}_0x363641['displayName']=_0x57a27c(0x9c);var _0x1cf0d6={'tag':_0x57a27c(0x2e0),'attrs':{'fill':_0x57a27c(0xd6),'viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x57a27c(0x143),'attrs':{'stroke':_0x57a27c(0x1ee),'d':_0x57a27c(0x293),'strokeLinecap':_0x57a27c(0x27b),'strokeLinejoin':_0x57a27c(0x27b),'strokeWidth':1.2}}]},{'tag':_0x57a27c(0x18c),'attrs':{},'children':[{'tag':_0x57a27c(0x25f),'attrs':{'id':_0x57a27c(0x211)},'children':[{'tag':_0x57a27c(0x143),'attrs':{'fill':_0x57a27c(0x192),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-single_clip0_910_343']},_0x150ab2=_0x5fca6e[_0x57a27c(0x2a1)](function(_0x50b23b,_0x1e7dd4){const _0xa33abf=_0x57a27c;return _0x5fca6e[_0xa33abf(0x22f)](_0x363641,Object['assign']({},_0x50b23b,{'id':'off-line-single','ref':_0x1e7dd4,'icon':_0x1cf0d6}));});_0x150ab2[_0x57a27c(0x17a)]=_0x57a27c(0x168);var _0x1a8149={'tag':'svg','attrs':{'fill':'none','viewBox':_0x57a27c(0x1d6),'width':_0x57a27c(0x10d),'height':_0x57a27c(0x10d)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x57a27c(0x143),'attrs':{'stroke':_0x57a27c(0x1ee),'d':_0x57a27c(0xdc),'strokeLinecap':_0x57a27c(0x27b),'strokeLinejoin':_0x57a27c(0x27b),'strokeWidth':1.2}}]},{'tag':_0x57a27c(0x18c),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x57a27c(0x223)},'children':[{'tag':_0x57a27c(0x143),'attrs':{'fill':'#fff','d':'M0\x200H16V16H0z','transform':_0x57a27c(0x2c5)}}]}]}],'defIds':[_0x57a27c(0x223)]},_0x333677=_0x5fca6e[_0x57a27c(0x2a1)](function(_0x497b7b,_0x2419c9){const _0x23d1f8=_0x57a27c;return _0x5fca6e[_0x23d1f8(0x22f)](_0x363641,Object[_0x23d1f8(0x102)]({},_0x497b7b,{'id':'on-line-single','ref':_0x2419c9,'icon':_0x1a8149}));});_0x333677['displayName']='OnLineSingle';function _0x6c33c2(_0x5d116d){const _0x371b35=_0x57a27c;switch(_0x5d116d){case _0x2aa44c[_0x371b35(0x224)][_0x371b35(0xbe)]:return _0x371b35(0x13e);case _0x2aa44c['CollaborationStatus'][_0x371b35(0x269)]:return _0x371b35(0x126);case _0x2aa44c[_0x371b35(0x224)][_0x371b35(0x201)]:return _0x371b35(0x29b);case _0x2aa44c[_0x371b35(0x224)][_0x371b35(0x188)]:return _0x371b35(0x16c);case _0x2aa44c[_0x371b35(0x224)][_0x371b35(0x2f2)]:case _0x2aa44c[_0x371b35(0x224)]['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case _0x2aa44c[_0x371b35(0x224)]['SYNCED']:case _0x2aa44c['CollaborationStatus'][_0x371b35(0xe2)]:return _0x371b35(0x26f);}}function _0x5566bb(_0x46c045){const _0xd1597=_0x57a27c,{status$:_0x47a9e4}=_0x46c045,_0x801506=_0x2cc018[_0xd1597(0x26c)](_0x47a9e4,_0x2aa44c[_0xd1597(0x224)]['NOT_COLLAB']),_0x378c27=_0x2cc018['useDependency'](_0x1a23cd['LocaleService']),_0x4d445d=_0x2cc018[_0xd1597(0x191)](_0x2aa44c[_0xd1597(0x17b)]),_0x983f27=_0x801506!==_0x2aa44c['CollaborationStatus']['OFFLINE'],_0x3f9134=_0x378c27['t'](_0x6c33c2(_0x801506)),_0x5d11f4=_0x983f27?_0xb49986[_0xd1597(0x18e)](_0x333677,{}):_0xb49986['jsx'](_0x150ab2,{}),_0x470917=_0x5fca6e[_0xd1597(0x315)](()=>{const _0x270a1c=_0xd1597;_0x983f27||_0x4d445d[_0x270a1c(0x1ab)]();},[_0x983f27,_0x4d445d]);function _0x47a6d8(){const _0x4d42bf=_0xd1597;return _0xb49986[_0x4d42bf(0xe9)](_0x4d42bf(0x141),{'className':_0x4d42bf(0x1aa),'onClick':_0x470917,'children':[_0xb49986[_0x4d42bf(0x18e)](_0x4d42bf(0x141),{'className':_0x14adf2[_0x4d42bf(0x1c5)](_0x4d42bf(0x1c2),_0x983f27?'univer-text-green-500':_0x4d42bf(0x2ee)),'children':_0x5d11f4}),_0xb49986[_0x4d42bf(0x18e)]('div',{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:univer-text-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':_0x3f9134})]});}return _0x983f27?_0x47a6d8():_0xb49986[_0xd1597(0x18e)](_0x14adf2['Tooltip'],{'title':_0x378c27['t'](_0xd1597(0x227)),'children':_0x47a6d8()});}var _0x470cbd=Object['getOwnPropertyDescriptor'],_0x6a859d=(_0x34c887,_0xebde91,_0x772699,_0x3a9b8f)=>{const _0x3973cf=_0x57a27c;for(var _0x25ee6c=_0x3a9b8f>0x1?void 0x0:_0x3a9b8f?_0x470cbd(_0xebde91,_0x772699):_0xebde91,_0x3fdefd=_0x34c887[_0x3973cf(0x25b)]-0x1,_0x45b895;_0x3fdefd>=0x0;_0x3fdefd--)(_0x45b895=_0x34c887[_0x3fdefd])&&(_0x25ee6c=_0x45b895(_0x25ee6c)||_0x25ee6c);return _0x25ee6c;},_0x3aaf0c=(_0x4b29bb,_0x641940)=>(_0x5529bd,_0x58c5a7)=>_0x641940(_0x5529bd,_0x58c5a7,_0x4b29bb);_0x44eef8['DesktopCollaborationStatusDisplayController']=class extends _0x1a23cd[_0x57a27c(0x1dd)]{constructor(_0x76b745,_0x38414a,_0x4d4bce,_0x53f91c){const _0x95328b=_0x57a27c;super(),_0x201443(this,_0x95328b(0x304),new _0x289a68['BehaviorSubject'](_0x2aa44c[_0x95328b(0x224)][_0x95328b(0x188)])),(this[_0x95328b(0x127)]=_0x76b745,this['_injector']=_0x38414a,this[_0x95328b(0x206)]=_0x4d4bce,this[_0x95328b(0x1e0)]=_0x53f91c,this[_0x95328b(0x9a)](),this[_0x95328b(0x99)]());}[_0x57a27c(0x99)](){const _0x42dda6=_0x57a27c;this[_0x42dda6(0x138)](this[_0x42dda6(0x127)][_0x42dda6(0x2a0)]['pipe'](_0x289a68[_0x42dda6(0x125)](()=>{const _0x3db263=_0x42dda6,_0x3f3e45=this[_0x3db263(0x127)][_0x3db263(0x273)]();return _0x3f3e45?this['_collaborationController'][_0x3db263(0x187)](_0x3f3e45['getUnitId']()):_0x289a68['of'](null);}),_0x289a68[_0x42dda6(0x125)](_0x4006e5=>_0x4006e5?_0x4006e5[_0x42dda6(0x96)]:_0x289a68['of'](_0x2aa44c[_0x42dda6(0x224)]['NOT_COLLAB'])))['subscribe'](_0x311411=>{const _0x1552b3=_0x42dda6;this['_status$'][_0x1552b3(0x263)](_0x311411);}));}[_0x57a27c(0x9a)](){const _0x4f08e2=_0x57a27c;this['disposeWithMe'](this['_uiPartsService'][_0x4f08e2(0xdd)](_0x2cc018[_0x4f08e2(0x20b)]['HEADER_MENU'],()=>_0x2cc018[_0x4f08e2(0x17d)](_0x25401e({'status$':this[_0x4f08e2(0x304)][_0x4f08e2(0xcf)]()}),this['_injector'])));}},_0x44eef8[_0x57a27c(0x31d)]=_0x6a859d([_0x3aaf0c(0x0,_0x1a23cd[_0x57a27c(0x21c)]),_0x3aaf0c(0x1,_0x1a23cd[_0x57a27c(0x222)](_0x1a23cd[_0x57a27c(0x1a8)])),_0x3aaf0c(0x2,_0x1a23cd[_0x57a27c(0x222)](_0x2aa44c[_0x57a27c(0x209)])),_0x3aaf0c(0x3,_0x2cc018['IUIPartsService'])],_0x44eef8['DesktopCollaborationStatusDisplayController']);function _0x25401e(_0x3146c6){const {status$:_0x16fb04}=_0x3146c6;return function(){return _0xb49986['jsx'](_0x5566bb,{'status$':_0x16fb04});};}var _0x45397d=Object[_0x57a27c(0x1f2)],_0x14e9e7=(_0x1af558,_0x125c45,_0x268c1a,_0x396ad7)=>{for(var _0x4fb98f=_0x396ad7>0x1?void 0x0:_0x396ad7?_0x45397d(_0x125c45,_0x268c1a):_0x125c45,_0x4f7816=_0x1af558['length']-0x1,_0x38d322;_0x4f7816>=0x0;_0x4f7816--)(_0x38d322=_0x1af558[_0x4f7816])&&(_0x4fb98f=_0x38d322(_0x4fb98f)||_0x4fb98f);return _0x4fb98f;},_0x41e22c=(_0x5f1b8e,_0x495e40)=>(_0xd898e,_0x247f3e)=>_0x495e40(_0xd898e,_0x247f3e,_0x5f1b8e);let _0x5d0ba5=class extends _0x1a23cd[_0x57a27c(0x1dd)]{constructor(_0x4f6f85,_0x5e7211,_0x15ba24,_0x251809,_0x3db170,_0x1ace42){const _0x2cadb4=_0x57a27c;super(),this[_0x2cadb4(0x23d)]=_0x4f6f85,this['_localCacheService']=_0x5e7211,this[_0x2cadb4(0x286)]=_0x15ba24,this[_0x2cadb4(0xf4)]=_0x251809,this[_0x2cadb4(0x10c)]=_0x3db170,this[_0x2cadb4(0xaf)]=_0x1ace42,this[_0x2cadb4(0x2bc)](),this[_0x2cadb4(0x93)]();}[_0x57a27c(0x2bc)](){const _0x473a85=_0x57a27c;this['disposeWithMe'](this[_0x473a85(0x23d)][_0x473a85(0x9f)](()=>{const _0x4547a1=_0x473a85;if(this[_0x4547a1(0x215)][_0x4547a1(0xf6)][_0x4547a1(0x2fd)])return this[_0x4547a1(0xaf)]['t'](_0x4547a1(0x142));}));}[_0x57a27c(0x93)](){const _0x18c8f1=_0x57a27c;this[_0x18c8f1(0x138)](this[_0x18c8f1(0x286)][_0x18c8f1(0x153)][_0x18c8f1(0x137)](_0x3ec99f=>{const _0x23f9ab=_0x18c8f1;_0x3ec99f['id']===_0x2aa44c[_0x23f9ab(0x226)][_0x23f9ab(0xd4)]&&this[_0x23f9ab(0xf4)][_0x23f9ab(0x24e)]({'type':_0x14adf2[_0x23f9ab(0xe8)][_0x23f9ab(0x12c)],'content':this[_0x23f9ab(0xaf)]['t'](_0x23f9ab(0x2c6))}),_0x3ec99f['id']===_0x2aa44c[_0x23f9ab(0x226)][_0x23f9ab(0x17f)]&&this['_messageService']['show']({'type':_0x14adf2[_0x23f9ab(0xe8)][_0x23f9ab(0x12c)],'content':this[_0x23f9ab(0xaf)]['t'](_0x23f9ab(0x25d))}),_0x3ec99f['id']===_0x2aa44c[_0x23f9ab(0x226)]['PERMISSION_DENIED']&&this['_notificationService'][_0x23f9ab(0x24e)]({'title':this['_localeService']['t'](_0x23f9ab(0x150)),'content':this[_0x23f9ab(0xaf)]['t'](_0x23f9ab(0x26e)),'type':_0x23f9ab(0x1e1),'duration':0x0}),_0x3ec99f['id']===_0x2aa44c['CollaborationUIEventId'][_0x23f9ab(0x269)]&&this[_0x23f9ab(0xf4)][_0x23f9ab(0x24e)]({'type':_0x14adf2['MessageType']['Error'],'content':this['_localeService']['t'](_0x23f9ab(0x25d))+'('+_0x3ec99f[_0x23f9ab(0x114)]+')'}),_0x3ec99f['id']===_0x2aa44c[_0x23f9ab(0x226)][_0x23f9ab(0x152)]&&this[_0x23f9ab(0xf4)]['show']({'type':_0x14adf2['MessageType'][_0x23f9ab(0x12c)],'content':this[_0x23f9ab(0xaf)]['t'](_0x3ec99f[_0x23f9ab(0x114)]||'')}),_0x3ec99f['id']===_0x2aa44c[_0x23f9ab(0x226)][_0x23f9ab(0x207)]&&this['_messageService'][_0x23f9ab(0x24e)]({'type':_0x14adf2[_0x23f9ab(0xe8)][_0x23f9ab(0x12c)],'content':this[_0x23f9ab(0xaf)]['t'](_0x23f9ab(0x24c))}),_0x3ec99f['id']===_0x2aa44c[_0x23f9ab(0x226)][_0x23f9ab(0xa3)]&&this[_0x23f9ab(0xf4)][_0x23f9ab(0x24e)]({'type':_0x14adf2[_0x23f9ab(0xe8)][_0x23f9ab(0x257)],'content':this[_0x23f9ab(0xaf)]['t'](_0x23f9ab(0x305))}),_0x3ec99f['id']===_0x2aa44c[_0x23f9ab(0x226)]['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService'][_0x23f9ab(0x24e)]({'type':_0x14adf2['MessageType'][_0x23f9ab(0x257)],'content':this['_localeService']['t'](_0x23f9ab(0x1c1))});}));}};_0x5d0ba5=_0x14e9e7([_0x41e22c(0x0,_0x2cc018[_0x57a27c(0x195)]),_0x41e22c(0x1,_0x2aa44c[_0x57a27c(0x200)]),_0x41e22c(0x2,_0x1a23cd[_0x57a27c(0x222)](_0x2aa44c[_0x57a27c(0xa6)])),_0x41e22c(0x3,_0x2cc018[_0x57a27c(0x159)]),_0x41e22c(0x4,_0x2cc018['INotificationService']),_0x41e22c(0x5,_0x1a23cd[_0x57a27c(0x222)](_0x1a23cd[_0x57a27c(0x186)]))],_0x5d0ba5);const _0x129ee8=_0x57a27c(0xf0),_0x280d21={},_0x2081f5=_0x1a23cd['createIdentifier'](_0x57a27c(0x27a));var _0x36ba0=Object[_0x57a27c(0x1f2)],_0x11ef85=(_0x1b54d3,_0x1cfd89,_0x65debc,_0x161fc0)=>{const _0x1ef302=_0x57a27c;for(var _0x1357ab=_0x161fc0>0x1?void 0x0:_0x161fc0?_0x36ba0(_0x1cfd89,_0x65debc):_0x1cfd89,_0x121a1a=_0x1b54d3[_0x1ef302(0x25b)]-0x1,_0x3769ca;_0x121a1a>=0x0;_0x121a1a--)(_0x3769ca=_0x1b54d3[_0x121a1a])&&(_0x1357ab=_0x3769ca(_0x1357ab)||_0x1357ab);return _0x1357ab;},_0x4e51d9=(_0xcae474,_0x3412bf)=>(_0x5b2b62,_0x3a0290)=>_0x3412bf(_0x5b2b62,_0x3a0290,_0xcae474);_0x44eef8['CollaborationDataLoaderController']=class extends _0x1a23cd['RxDisposable']{constructor(_0xc3dbc1,_0x4d9cac,_0x224b31,_0x2c4d0c,_0x3b4933){const _0x13a16f=_0x57a27c;super(),this['_urlService']=_0xc3dbc1,this[_0x13a16f(0x196)]=_0x4d9cac,this['_commandService']=_0x224b31,this['_dataLoaderService']=_0x2c4d0c,_0x3b4933?_0x3b4933==null||_0x3b4933[_0x13a16f(0x2c1)]()[_0x13a16f(0x113)](()=>this[_0x13a16f(0x15a)]()):(this[_0x13a16f(0x196)][_0x13a16f(0x2f7)](_0x13a16f(0x155),_0x13a16f(0x2e1)),this[_0x13a16f(0x15a)]());}async['_init'](){const _0x3e4858=_0x57a27c,_0x141886=this[_0x3e4858(0x321)][_0x3e4858(0x28a)]('unit'),_0x30790c=this[_0x3e4858(0x321)][_0x3e4858(0x28a)](_0x3e4858(0x288)),_0x588ecb=this[_0x3e4858(0x321)][_0x3e4858(0x28a)]('subunit');if(!_0x141886||!_0x30790c){this[_0x3e4858(0x196)][_0x3e4858(0x2f7)](_0x3e4858(0x155),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x21c9cd=await this[_0x3e4858(0x2ba)][_0x3e4858(0x1c3)](_0x141886,Number(_0x30790c),_0x588ecb);_0x21c9cd&&_0x21c9cd instanceof _0x1a23cd[_0x3e4858(0x122)]&&this[_0x3e4858(0x1f8)](_0x21c9cd);}async[_0x57a27c(0x1f8)](_0x339e63){const _0x50e928=_0x57a27c;await this['_updateSubUnitFromURLParams'](_0x339e63),_0x339e63[_0x50e928(0x134)]['pipe'](_0x289a68['takeUntil'](this[_0x50e928(0x204)]))[_0x50e928(0x137)](_0x367bfe=>{const _0x348deb=_0x50e928;_0x367bfe&&this[_0x348deb(0x312)](_0x367bfe);}),this[_0x50e928(0x321)][_0x50e928(0x285)][_0x50e928(0x11b)](_0x289a68[_0x50e928(0x8d)](this[_0x50e928(0x204)]))[_0x50e928(0x137)](()=>this[_0x50e928(0xdb)](_0x339e63));}[_0x57a27c(0x312)](_0xdd2b23,_0x5e8531=!0x1){const _0x321917=_0x57a27c,_0x48ef03=this[_0x321917(0x321)][_0x321917(0x28a)](_0x321917(0x105));_0xdd2b23[_0x321917(0x242)]()!==_0x48ef03&&this['_urlService'][_0x321917(0x2d2)](_0x321917(0x105),_0xdd2b23[_0x321917(0x242)](),_0x5e8531);}async[_0x57a27c(0xdb)](_0x16d00b){const _0x5292db=_0x57a27c;var _0x1cbde2;const _0x59c6b8=this['_urlService'][_0x5292db(0x28a)](_0x5292db(0x105));if(!_0x59c6b8||!_0x16d00b[_0x5292db(0x2e2)](_0x59c6b8)){const _0x36b1a1=_0x16d00b[_0x5292db(0x1dc)]()[0x0],_0x2f9daf=_0x16d00b[_0x5292db(0x2e2)](_0x36b1a1);if(!_0x2f9daf)return;this[_0x5292db(0x312)](_0x2f9daf,!0x0),await this['_commandService']['executeCommand'](_0x41a04b[_0x5292db(0x165)]['id'],{'unitId':_0x16d00b[_0x5292db(0x1ba)](),'subUnitId':_0x36b1a1});return;}((_0x1cbde2=_0x16d00b[_0x5292db(0x87)]())==null?void 0x0:_0x1cbde2['getSheetId']())!==_0x59c6b8&&await this[_0x5292db(0x1c7)][_0x5292db(0x1e2)](_0x41a04b['SetWorksheetActivateCommand']['id'],{'unitId':_0x16d00b[_0x5292db(0x1ba)](),'subUnitId':_0x59c6b8});}},_0x44eef8[_0x57a27c(0x1e9)]=_0x11ef85([_0x4e51d9(0x0,_0x2081f5),_0x4e51d9(0x1,_0x1a23cd[_0x57a27c(0x109)]),_0x4e51d9(0x2,_0x1a23cd[_0x57a27c(0x28c)]),_0x4e51d9(0x3,_0x1a23cd['Inject'](_0x2aa44c[_0x57a27c(0xa0)])),_0x4e51d9(0x4,_0x1a23cd[_0x57a27c(0x1b7)](_0x3e9542[_0x57a27c(0x156)]))],_0x44eef8[_0x57a27c(0x1e9)]);var _0x2be078=Object[_0x57a27c(0x1f2)],_0x3f11f3=(_0x7a782d,_0x35d428,_0x527093,_0x1e8d86)=>{const _0x19f17f=_0x57a27c;for(var _0x253b54=_0x1e8d86>0x1?void 0x0:_0x1e8d86?_0x2be078(_0x35d428,_0x527093):_0x35d428,_0xd4958=_0x7a782d[_0x19f17f(0x25b)]-0x1,_0x45d628;_0xd4958>=0x0;_0xd4958--)(_0x45d628=_0x7a782d[_0xd4958])&&(_0x253b54=_0x45d628(_0x253b54)||_0x253b54);return _0x253b54;},_0x520067=(_0x5bc2a8,_0x36b1e7)=>(_0x3143bd,_0x10f3cc)=>_0x36b1e7(_0x3143bd,_0x10f3cc,_0x5bc2a8);let _0x1cfb21=class{constructor(_0x1bdf84,_0x4440c9,_0x4c2507){const _0x5e0e36=_0x57a27c;this[_0x5e0e36(0x31f)]=_0x1bdf84,this[_0x5e0e36(0x30f)]=_0x4440c9,this[_0x5e0e36(0x193)]=_0x4c2507;}[_0x57a27c(0x289)](_0x40c459){const _0x20c3db=_0x57a27c;this[_0x20c3db(0x118)](_0x40c459),this[_0x20c3db(0x22d)](_0x40c459);}['transformRemoteChangeset'](_0x39c926){const _0x22d76c=_0x57a27c,{unitID:_0x481659}=_0x39c926,_0x16b672=this[_0x22d76c(0x193)]['getRenderById'](_0x481659)[_0x22d76c(0x164)](_0xbf3303[_0x22d76c(0x95)]),{redoCache:_0x569527}=_0x16b672['getUndoRedoMutationParamsCache']();if(_0x569527[_0x22d76c(0x25b)]===0x0)return _0x39c926;let _0x443f14=_0x1a23cd['Tools'][_0x22d76c(0xd2)](_0x39c926[_0x22d76c(0xb8)][0x0]);for(let _0x23048d=0x0;_0x23048d<_0x569527['length'];_0x23048d++){const _0x1557ff={'id':_0x22d76c(0x10f),'params':{..._0x569527[_0x23048d]}},_0xd2bc78=this[_0x22d76c(0x30f)][_0x22d76c(0x149)](_0x443f14,_0x1557ff,!0x1);if(_0x645262['isTransformMutationFailure'](_0xd2bc78))throw _0xd2bc78[_0x22d76c(0x1e1)];_0x443f14=_0xd2bc78[_0x22d76c(0x12f)];}return{..._0x1a23cd['Tools'][_0x22d76c(0xd2)](_0x39c926),'mutations':[_0x443f14]};}[_0x57a27c(0x118)](_0x195773){const _0xa3fd6f=_0x57a27c,{unitID:_0x358923}=_0x195773,_0x12188a=this['_renderManagerService'][_0xa3fd6f(0x2b6)](_0x358923)['with'](_0xbf3303[_0xa3fd6f(0x95)]),{undoCache:_0x43209b,redoCache:_0x4748e2}=_0x12188a[_0xa3fd6f(0x252)]();if(_0x43209b['length']===0x0||_0x4748e2[_0xa3fd6f(0x25b)]===0x0)return;const _0x419788=[],_0x2793c7=[];let _0x26c3d4=_0x1a23cd[_0xa3fd6f(0x31a)][_0xa3fd6f(0xd2)](_0x195773['mutations'][0x0]),_0x1a9179=_0x1a23cd[_0xa3fd6f(0x31a)][_0xa3fd6f(0xd2)](_0x195773[_0xa3fd6f(0xb8)][0x0]);for(let _0x37e24e=_0x43209b[_0xa3fd6f(0x25b)]-0x1;_0x37e24e>=0x0;_0x37e24e--){const _0x5d65d4={'id':_0xa3fd6f(0x10f),'params':{..._0x43209b[_0x37e24e]}},_0x4f470a={'id':_0xa3fd6f(0x10f),'params':{..._0x4748e2[_0x37e24e]}},_0x3db50f=this[_0xa3fd6f(0x30f)][_0xa3fd6f(0x149)](_0x26c3d4,_0x5d65d4,!0x1),_0x12a962=this[_0xa3fd6f(0x30f)][_0xa3fd6f(0x149)](_0x1a9179,_0x4f470a,!0x1);if(_0x645262['isTransformMutationFailure'](_0x3db50f))throw _0x3db50f['error'];if(_0x645262['isTransformMutationFailure'](_0x12a962))throw _0x12a962['error'];_0x419788[_0xa3fd6f(0x1c0)](_0x3db50f[_0xa3fd6f(0x100)][_0xa3fd6f(0x2c0)]),_0x2793c7[_0xa3fd6f(0x1c0)](_0x12a962[_0xa3fd6f(0x100)]['params']),_0x26c3d4=_0x3db50f[_0xa3fd6f(0x12f)],_0x1a9179=_0x12a962[_0xa3fd6f(0x12f)];}_0x12188a[_0xa3fd6f(0xf2)]({'undoCache':_0x419788,'redoCache':_0x2793c7});}[_0x57a27c(0x22d)](_0xce3fc4){const _0x3015d9=_0x57a27c,{unitID:_0x21a3b9}=_0xce3fc4,_0x400541=this[_0x3015d9(0x193)]['getRenderById'](_0x21a3b9)['with'](_0xbf3303[_0x3015d9(0x95)]),_0x1d24f=_0x400541['getActiveRange']();if(_0x1d24f==null)return;const _0x522738=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xce3fc4[_0x3015d9(0xe5)],'actions':null,'textRanges':[_0x1d24f]}}],_0x2d7f93=this['_transformService'][_0x3015d9(0x116)](_0xce3fc4,_0x522738);if(!_0x645262[_0x3015d9(0x120)](_0x2d7f93))throw _0x2d7f93[_0x3015d9(0x1e1)];const _0xa11f14=_0x2d7f93[_0x3015d9(0x100)][0x0]['params'][_0x3015d9(0x11c)];Array[_0x3015d9(0x279)](_0xa11f14)&&_0xa11f14[_0x3015d9(0x25b)]&&_0x400541[_0x3015d9(0x1d7)](_0xa11f14[0x0]);}};_0x1cfb21=_0x3f11f3([_0x520067(0x0,_0x1a23cd[_0x57a27c(0x222)](_0x1a23cd[_0x57a27c(0x1a8)])),_0x520067(0x1,_0x645262[_0x57a27c(0x26d)]),_0x520067(0x2,_0x5e65d8[_0x57a27c(0xeb)])],_0x1cfb21);var _0x5f0ec8=Object['getOwnPropertyDescriptor'],_0x24bde7=(_0x4e95d5,_0x1baa39,_0x4bbeaa,_0x500b47)=>{const _0xcb2348=_0x57a27c;for(var _0x31e427=_0x500b47>0x1?void 0x0:_0x500b47?_0x5f0ec8(_0x1baa39,_0x4bbeaa):_0x1baa39,_0x5b8449=_0x4e95d5[_0xcb2348(0x25b)]-0x1,_0x3949a4;_0x5b8449>=0x0;_0x5b8449--)(_0x3949a4=_0x4e95d5[_0x5b8449])&&(_0x31e427=_0x3949a4(_0x31e427)||_0x31e427);return _0x31e427;},_0x541057=(_0x1894f4,_0x4bca42)=>(_0x5ec7e9,_0x19d527)=>_0x4bca42(_0x5ec7e9,_0x19d527,_0x1894f4);let _0x2e8f1a=class{constructor(_0xfb06b3,_0xcd4b6,_0x27d1e1){const _0x3d45c1=_0x57a27c;this[_0x3d45c1(0x31f)]=_0xfb06b3,this[_0x3d45c1(0x30f)]=_0xcd4b6,this[_0x3d45c1(0x13d)]=_0x27d1e1;}['transformStateCache'](_0x2a61d9){const _0x236a23=_0x57a27c;this[_0x236a23(0x2c9)](_0x2a61d9);}[_0x57a27c(0x2ad)](_0x54d311){const _0x39dbde=_0x57a27c,{unitID:_0x11aee1}=_0x54d311,{collaboration:_0x4bb2c8}=this[_0x39dbde(0x13d)]['getStateCache'](_0x11aee1);if(_0x4bb2c8[_0x39dbde(0x25b)]===0x0)return _0x54d311;let _0x1cb53a=_0x1a23cd['Tools'][_0x39dbde(0xd2)](_0x54d311[_0x39dbde(0xb8)][0x0]);for(let _0x5a7151=0x0;_0x5a7151<_0x4bb2c8[_0x39dbde(0x25b)];_0x5a7151++){const _0x15f808={'id':_0x39dbde(0x10f),'params':{'unitId':_0x4bb2c8[_0x5a7151][_0x39dbde(0x311)],..._0x4bb2c8[_0x5a7151][_0x39dbde(0x1da)]}},_0x33fcad=this['_transformService'][_0x39dbde(0x149)](_0x1cb53a,_0x15f808,!0x1);if(_0x645262['isTransformMutationFailure'](_0x33fcad))throw _0x33fcad['error'];_0x1cb53a=_0x33fcad[_0x39dbde(0x12f)];}return{..._0x1a23cd[_0x39dbde(0x31a)][_0x39dbde(0xd2)](_0x54d311),'mutations':[_0x1cb53a]};}[_0x57a27c(0x2c9)](_0x550d37){const _0x18aba1=_0x57a27c,{unitID:_0x36dec3}=_0x550d37,{history:_0xf57cb,collaboration:_0x570e20}=this[_0x18aba1(0x13d)][_0x18aba1(0x1fb)](_0x36dec3);if(_0xf57cb[_0x18aba1(0x25b)]===0x0&&_0x570e20[_0x18aba1(0x25b)]===0x0)return;const _0x24443b=[],_0x233dcf=[];let _0x48a9e0=_0x1a23cd[_0x18aba1(0x31a)]['deepClone'](_0x550d37[_0x18aba1(0xb8)][0x0]),_0x1e8020=_0x1a23cd[_0x18aba1(0x31a)][_0x18aba1(0xd2)](_0x550d37[_0x18aba1(0xb8)][0x0]);for(let _0x343b9a=_0xf57cb['length']-0x1;_0x343b9a>=0x0;_0x343b9a--){const _0x2bec4e={'id':_0x18aba1(0x10f),'params':{'unitId':_0xf57cb[_0x343b9a]['unitId'],..._0xf57cb[_0x343b9a]['undoState']}},_0x14e129={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xf57cb[_0x343b9a]['unitId'],..._0xf57cb[_0x343b9a][_0x18aba1(0x1da)]}},_0x561b95=this[_0x18aba1(0x30f)][_0x18aba1(0x149)](_0x48a9e0,_0x2bec4e,!0x1),_0xbefca1=this[_0x18aba1(0x30f)][_0x18aba1(0x149)](_0x1e8020,_0x14e129,!0x1);if(_0x645262['isTransformMutationFailure'](_0x561b95))throw _0x561b95[_0x18aba1(0x1e1)];if(_0x645262[_0x18aba1(0x1fc)](_0xbefca1))throw _0xbefca1[_0x18aba1(0x1e1)];_0x24443b[_0x18aba1(0x1c0)]({..._0xf57cb[_0x343b9a],'undoState':_0x561b95[_0x18aba1(0x100)][_0x18aba1(0x2c0)],'redoState':_0xbefca1[_0x18aba1(0x100)][_0x18aba1(0x2c0)]}),_0x48a9e0=_0x561b95[_0x18aba1(0x12f)],_0x1e8020=_0xbefca1['m1Prime'];}_0x48a9e0=_0x1a23cd[_0x18aba1(0x31a)][_0x18aba1(0xd2)](_0x550d37[_0x18aba1(0xb8)][0x0]),_0x1e8020=_0x1a23cd[_0x18aba1(0x31a)][_0x18aba1(0xd2)](_0x550d37[_0x18aba1(0xb8)][0x0]);for(let _0x32edde=_0x570e20[_0x18aba1(0x25b)]-0x1;_0x32edde>=0x0;_0x32edde--){const _0xbc647f={'id':_0x18aba1(0x10f),'params':{'unitId':_0x570e20[_0x32edde][_0x18aba1(0x311)],..._0x570e20[_0x32edde][_0x18aba1(0x89)]}},_0x1db092={'id':_0x18aba1(0x10f),'params':{'unitId':_0x570e20[_0x32edde][_0x18aba1(0x311)],..._0x570e20[_0x32edde]['redoState']}},_0x1e6467=this[_0x18aba1(0x30f)][_0x18aba1(0x149)](_0x48a9e0,_0xbc647f,!0x1),_0x3c08cd=this[_0x18aba1(0x30f)][_0x18aba1(0x149)](_0x1e8020,_0x1db092,!0x1);if(_0x645262[_0x18aba1(0x1fc)](_0x1e6467))throw _0x1e6467[_0x18aba1(0x1e1)];if(_0x645262[_0x18aba1(0x1fc)](_0x3c08cd))throw _0x3c08cd[_0x18aba1(0x1e1)];_0x233dcf[_0x18aba1(0x1c0)]({..._0x570e20[_0x32edde],'undoState':_0x1e6467['m2Prime'][_0x18aba1(0x2c0)],'redoState':_0x3c08cd[_0x18aba1(0x100)]['params']}),_0x48a9e0=_0x1e6467[_0x18aba1(0x12f)],_0x1e8020=_0x3c08cd[_0x18aba1(0x12f)];}this['_docStateChangeManagerService'][_0x18aba1(0x1fd)](_0x36dec3,{'history':_0x24443b,'collaboration':_0x233dcf});}};_0x2e8f1a=_0x24bde7([_0x541057(0x0,_0x1a23cd[_0x57a27c(0x222)](_0x1a23cd[_0x57a27c(0x1a8)])),_0x541057(0x1,_0x645262[_0x57a27c(0x26d)]),_0x541057(0x2,_0x1a23cd[_0x57a27c(0x222)](_0xbf3303['DocStateChangeManagerService']))],_0x2e8f1a);var _0x8ca574=Object[_0x57a27c(0x1f2)],_0x1ff8b6=(_0x1d3702,_0x34ec79,_0x24f0c2,_0x5b7e28)=>{for(var _0x1d908e=_0x5b7e28>0x1?void 0x0:_0x5b7e28?_0x8ca574(_0x34ec79,_0x24f0c2):_0x34ec79,_0x394af4=_0x1d3702['length']-0x1,_0x332da9;_0x394af4>=0x0;_0x394af4--)(_0x332da9=_0x1d3702[_0x394af4])&&(_0x1d908e=_0x332da9(_0x1d908e)||_0x1d908e);return _0x1d908e;},_0x4a9f26=(_0x51821f,_0x3c9daf)=>(_0x3e9664,_0x30182e)=>_0x3c9daf(_0x3e9664,_0x30182e,_0x51821f);let _0x3e6511=class{constructor(_0xda1a93,_0x2ac2d5){const _0x5cee61=_0x57a27c;this[_0x5cee61(0x31f)]=_0xda1a93,this[_0x5cee61(0x30f)]=_0x2ac2d5;}[_0x57a27c(0xf5)](_0x186d0e){const _0x4d6777=_0x57a27c;var _0x597321;const _0x359d8d=this[_0x4d6777(0x31f)]['get'](_0x40d000[_0x4d6777(0x247)]),_0x48517a=(_0x597321=_0x359d8d[_0x4d6777(0xc3)]())!=null?_0x597321:[];if(_0x48517a[_0x4d6777(0x25b)]===0x0)return;const _0xdc3546=_0x186d0e[_0x4d6777(0xe5)],_0x473be7=[{'id':_0x4d6777(0x10f),'params':{'unitId':_0xdc3546,'actions':null,'textRanges':_0x48517a}}],_0x5adfaa=this[_0x4d6777(0x30f)][_0x4d6777(0x116)](_0x186d0e,_0x473be7);if(!_0x645262[_0x4d6777(0x120)](_0x5adfaa))throw _0x5adfaa[_0x4d6777(0x1e1)];const _0x18cf47=_0x5adfaa[_0x4d6777(0x100)][0x0][_0x4d6777(0x2c0)][_0x4d6777(0x11c)];Array[_0x4d6777(0x279)](_0x18cf47)&&_0x18cf47[_0x4d6777(0x25b)]&&_0x359d8d[_0x4d6777(0x1cd)](_0x18cf47,{'unitId':_0xdc3546,'subUnitId':_0xdc3546},!0x1);}};_0x3e6511=_0x1ff8b6([_0x4a9f26(0x0,_0x1a23cd[_0x57a27c(0x222)](_0x1a23cd[_0x57a27c(0x1a8)])),_0x4a9f26(0x1,_0x645262[_0x57a27c(0x26d)])],_0x3e6511);var _0x28d059=Object['getOwnPropertyDescriptor'],_0x588dee=(_0x439b60,_0x2bd780,_0x244c57,_0x332ee6)=>{for(var _0x2fe735=_0x332ee6>0x1?void 0x0:_0x332ee6?_0x28d059(_0x2bd780,_0x244c57):_0x2bd780,_0x28bd24=_0x439b60['length']-0x1,_0xb7f2a3;_0x28bd24>=0x0;_0x28bd24--)(_0xb7f2a3=_0x439b60[_0x28bd24])&&(_0x2fe735=_0xb7f2a3(_0x2fe735)||_0x2fe735);return _0x2fe735;},_0x59afa4=(_0x1f7096,_0x4565c8)=>(_0x1eac83,_0x10a56e)=>_0x4565c8(_0x1eac83,_0x10a56e,_0x1f7096);let _0x9b86ba=class extends _0x1a23cd[_0x57a27c(0x1dd)]{constructor(_0x5e356f,_0x34f55e,_0x2770b8,_0x124709,_0x24e5f2,_0x55d5ab,_0x142407,_0x434713){const _0x457489=_0x57a27c;super(),_0x201443(this,_0x457489(0x304),new _0x289a68[(_0x457489(0x12d))](_0x2aa44c['CollaborationStatus'][_0x457489(0x188)])),(this[_0x457489(0x13d)]=_0x5e356f,this[_0x457489(0x206)]=_0x34f55e,this[_0x457489(0x8e)]=_0x2770b8,this['_docTransformStateCacheService']=_0x124709,this['_docTransformSelectionsService']=_0x24e5f2,this['_docSyncEditingCollabCursorService']=_0x55d5ab,this[_0x457489(0xf4)]=_0x142407,this[_0x457489(0xaf)]=_0x434713,this[_0x457489(0xbd)]());}[_0x57a27c(0xbd)](){const _0x19b1a7=_0x57a27c;this['disposeWithMe'](this[_0x19b1a7(0x206)]['entityInit$'][_0x19b1a7(0x137)](_0x4e1a51=>{const _0x544879=_0x19b1a7,_0x169c87=this['_docStateChangeManagerService'][_0x544879(0x1f0)][_0x544879(0x137)](_0x28b314=>{const _0xd30db2=_0x544879;if(_0x28b314==null)return;const {unitId:_0x544b85,redoState:_0x109b6e,commandId:_0x433c73}=_0x28b314;if(_0x544b85!==_0x4e1a51[_0xd30db2(0xe5)])return;const _0x41ac0b={'id':_0x433c73,'type':_0x1a23cd[_0xd30db2(0x19b)][_0xd30db2(0xbf)],'params':{'unitId':_0x544b85,'actions':_0x109b6e['actions'],'textRanges':null}};_0x4e1a51[_0xd30db2(0x18a)](_0x41ac0b);});if(_0x4e1a51[_0x544879(0x138)](_0x169c87),_0x4e1a51 instanceof _0x2aa44c[_0x544879(0x11d)]){const _0x5e9fb4={'onTransformIME':_0x45c1dc=>this['_docTransformIMECacheService'][_0x544879(0x289)](_0x45c1dc),'onTransformState':_0x107dad=>this[_0x544879(0x31b)][_0x544879(0x300)](_0x107dad),'onTransformSelections':_0x5d212a=>this['_docTransformSelectionsService'][_0x544879(0xf5)](_0x5d212a),'onSyncEditingCollabCursor':_0x478335=>this['_docSyncEditingCollabCursorService'][_0x544879(0x274)](_0x478335),'onTransformRemoteChangesetByIMECache':_0x18e6f0=>this[_0x544879(0x8e)][_0x544879(0x2ad)](_0x18e6f0),'onTransformRemoteChangesetByStateCache':_0x21a1f9=>this[_0x544879(0x31b)][_0x544879(0x2ad)](_0x21a1f9)};_0x4e1a51[_0x544879(0x13b)](_0x5e9fb4);}}));}};_0x9b86ba=_0x588dee([_0x59afa4(0x0,_0x1a23cd[_0x57a27c(0x222)](_0xbf3303[_0x57a27c(0x140)])),_0x59afa4(0x1,_0x1a23cd[_0x57a27c(0x222)](_0x2aa44c['CollaborationController'])),_0x59afa4(0x2,_0x1a23cd[_0x57a27c(0x222)](_0x1cfb21)),_0x59afa4(0x3,_0x1a23cd[_0x57a27c(0x222)](_0x2e8f1a)),_0x59afa4(0x4,_0x1a23cd[_0x57a27c(0x222)](_0x3e6511)),_0x59afa4(0x5,_0x1a23cd[_0x57a27c(0x222)](_0x5ed781)),_0x59afa4(0x6,_0x2cc018[_0x57a27c(0x159)]),_0x59afa4(0x7,_0x1a23cd[_0x57a27c(0x222)](_0x1a23cd['LocaleService']))],_0x9b86ba);var _0xfa3f05=Object[_0x57a27c(0x1f2)],_0x3940df=(_0x4de456,_0x3e4e78,_0x31c93a,_0x141260)=>{const _0x47ec38=_0x57a27c;for(var _0x5bec90=_0x141260>0x1?void 0x0:_0x141260?_0xfa3f05(_0x3e4e78,_0x31c93a):_0x3e4e78,_0x4f3f15=_0x4de456[_0x47ec38(0x25b)]-0x1,_0x14b600;_0x4f3f15>=0x0;_0x4f3f15--)(_0x14b600=_0x4de456[_0x4f3f15])&&(_0x5bec90=_0x14b600(_0x5bec90)||_0x5bec90);return _0x5bec90;},_0x2fc5f9=(_0x5f3904,_0x4c87ab)=>(_0x2a3541,_0x23fc90)=>_0x4c87ab(_0x2a3541,_0x23fc90,_0x5f3904);let _0x254ef9=class extends _0x1a23cd[_0x57a27c(0x1dd)]{constructor(_0x16fa02,_0x5460dd,_0x547482){const _0x3acf70=_0x57a27c;super(),_0x201443(this,_0x3acf70(0x2f1),new Map()),_0x201443(this,_0x3acf70(0xd3),new Map()),_0x201443(this,'_disabled',!0x1),(this['_configService']=_0x16fa02,this[_0x3acf70(0x1b1)]=_0x5460dd,this['_revisionService']=_0x547482);}[_0x57a27c(0xfe)](){const _0x468cf1=_0x57a27c;this[_0x468cf1(0x268)]=!0x0;}[_0x57a27c(0x19e)](){const _0x241367=_0x57a27c;this[_0x241367(0x268)]=!0x1;}get[_0x57a27c(0xf6)](){const _0x475a95=_0x57a27c;return this[_0x475a95(0xd3)];}[_0x57a27c(0x16b)](){const _0x3642fa=_0x57a27c;this[_0x3642fa(0x2db)]()[_0x3642fa(0x113)](()=>super[_0x3642fa(0x16b)]());}async['loadOfflineData'](_0x2e5b0b){const _0x555c4c=_0x57a27c;return this['_disabled']?null:this[_0x555c4c(0x1b1)][_0x555c4c(0x174)](_0x2aa44c[_0x555c4c(0x318)](_0x2e5b0b));}async[_0x57a27c(0x2f9)](_0x189c1a,_0x430de7){const _0x5aebb5=_0x57a27c;return!!this[_0x5aebb5(0x1b1)][_0x5aebb5(0x1f1)](_0x189c1a,_0x430de7);}[_0x57a27c(0x85)](_0x45fcc8,_0x265ace,_0x2d958b,_0x254db8){const _0xeb0f75=_0x57a27c,_0x520695=this[_0xeb0f75(0xd0)][_0xeb0f75(0x16f)](_0x45fcc8);this['_cachedData'][_0xeb0f75(0x15c)](_0x45fcc8,{'unitID':_0x45fcc8,'type':_0x265ace,'awaitingChangeset':_0x2d958b,'mutations':_0x254db8,'rev':_0x520695}),this[_0xeb0f75(0xd3)][_0xeb0f75(0x1d3)](_0x45fcc8)||this['_scheduleSaving'](_0x45fcc8);}[_0x57a27c(0x2d9)](_0x308f6c){const _0xea2c55=_0x57a27c,_0x3a09fb=this[_0xea2c55(0x25c)]();_0x3a09fb===0x0?this[_0xea2c55(0x2b9)](_0x308f6c):this[_0xea2c55(0xd3)][_0xea2c55(0x15c)](_0x308f6c,setTimeout(()=>this['_saveCache'](_0x308f6c),_0x3a09fb));}[_0x57a27c(0x25c)](){const _0x44c822=_0x57a27c;var _0x167fac;return(_0x167fac=this[_0x44c822(0xbc)][_0x44c822(0x2ed)](_0x2aa44c[_0x44c822(0x1d2)]))!=null?_0x167fac:_0x2aa44c[_0x44c822(0x119)];}['_saveCache'](_0x2e3113){const _0x7d0b22=_0x57a27c,_0x3173ee=this[_0x7d0b22(0xd3)][_0x7d0b22(0x18f)](_0x2e3113);return _0x3173ee!==void 0x0&&window['clearTimeout'](_0x3173ee),this[_0x7d0b22(0x1b1)][_0x7d0b22(0x1f1)](_0x2aa44c[_0x7d0b22(0x318)](_0x2e3113),this[_0x7d0b22(0x2f1)][_0x7d0b22(0x18f)](_0x2e3113))[_0x7d0b22(0x113)](()=>this[_0x7d0b22(0xd3)][_0x7d0b22(0x198)](_0x2e3113));}async[_0x57a27c(0x2db)](){const _0x4c4e46=_0x57a27c,_0x44e479=[];this[_0x4c4e46(0xd3)][_0x4c4e46(0x2d8)]((_0x1df54d,_0x53261b)=>{const _0x320fad=_0x4c4e46;window[_0x320fad(0x29f)](_0x1df54d),_0x44e479[_0x320fad(0x97)](this['_saveCache'](_0x53261b)[_0x320fad(0x113)](()=>{const _0x226a8d=_0x320fad;this['_saveTaskMap'][_0x226a8d(0x198)](_0x53261b);}));}),await Promise[_0x4c4e46(0x2be)](_0x44e479);}};_0x254ef9=_0x3940df([_0x2fc5f9(0x0,_0x1a23cd['IConfigService']),_0x2fc5f9(0x1,_0x1a23cd[_0x57a27c(0xf8)]),_0x2fc5f9(0x2,_0x1a23cd[_0x57a27c(0x222)](_0x645262['RevisionService']))],_0x254ef9);class _0x28691b extends _0x1a23cd[_0x57a27c(0x249)]{constructor(){const _0x59cee2=_0x57a27c;super(),_0x201443(this,'urlChange$'),this[_0x59cee2(0x285)]=_0x289a68[_0x59cee2(0x1db)](window,_0x59cee2(0x1f9))[_0x59cee2(0x11b)](_0x289a68[_0x59cee2(0x8d)](this[_0x59cee2(0x204)]),_0x289a68[_0x59cee2(0xaa)](0x1),_0x289a68['mapTo'](void 0x0));}[_0x57a27c(0x2d2)](_0x5cd871,_0x1f5713,_0x55f7d2=!0x1){const _0x3e313b=_0x57a27c,_0x29189=new URL(window[_0x3e313b(0x2e8)][_0x3e313b(0x265)]);_0x29189['searchParams'][_0x3e313b(0x15c)](_0x5cd871,_0x1f5713),_0x55f7d2?window[_0x3e313b(0x1f4)][_0x3e313b(0x2f3)]('','',_0x29189['toString']()):window[_0x3e313b(0x1f4)][_0x3e313b(0x309)]('','',_0x29189[_0x3e313b(0x24a)]());}[_0x57a27c(0x234)](_0x23d6d0,_0x4c85fd=!0x1){const _0x23014c=_0x57a27c,_0x1f29bb=new URL(window[_0x23014c(0x2e8)]['href']);_0x1f29bb['searchParams'][_0x23014c(0x198)](_0x23d6d0),_0x4c85fd?window[_0x23014c(0x1f4)][_0x23014c(0x2f3)]('','',_0x1f29bb[_0x23014c(0x24a)]()):window['history'][_0x23014c(0x309)]('','',_0x1f29bb[_0x23014c(0x24a)]());}[_0x57a27c(0x28a)](_0x426d23){const _0x989b7e=_0x57a27c;var _0x580990;return(_0x580990=new URL(window['location'][_0x989b7e(0x265)])[_0x989b7e(0x22c)][_0x989b7e(0x18f)](_0x426d23))!=null?_0x580990:void 0x0;}}var _0x39b771=Object['defineProperty'],_0x468ea7=Object[_0x57a27c(0x1f2)],_0x24a792=(_0x44d0d9,_0xbc0bae,_0x18f260)=>_0xbc0bae in _0x44d0d9?_0x39b771(_0x44d0d9,_0xbc0bae,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x18f260}):_0x44d0d9[_0xbc0bae]=_0x18f260,_0x1e65df=(_0x5ef207,_0x4a3680,_0xe0a691,_0x3d5e45)=>{const _0x1b549a=_0x57a27c;for(var _0x22d013=_0x3d5e45>0x1?void 0x0:_0x3d5e45?_0x468ea7(_0x4a3680,_0xe0a691):_0x4a3680,_0x7f7ec6=_0x5ef207[_0x1b549a(0x25b)]-0x1,_0x2558ef;_0x7f7ec6>=0x0;_0x7f7ec6--)(_0x2558ef=_0x5ef207[_0x7f7ec6])&&(_0x22d013=_0x2558ef(_0x22d013)||_0x22d013);return _0x22d013;},_0x3b2242=(_0x1fa35a,_0x5421ee)=>(_0x1683bd,_0x78ba1b)=>_0x5421ee(_0x1683bd,_0x78ba1b,_0x1fa35a),_0x27e564=(_0x347647,_0x4b7a6f,_0x1afd2e)=>_0x24a792(_0x347647,_0x4b7a6f+'',_0x1afd2e);const _0x1b85b5='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x44eef8[_0x57a27c(0xf3)]=class extends _0x1a23cd[_0x57a27c(0x2d4)]{constructor(_0x15ab31=_0x280d21,_0x27059b,_0x4507df,_0x224a44){const _0x2d3d84=_0x57a27c;super(),this[_0x2d3d84(0x15f)]=_0x15ab31,this['_renderManagerService']=_0x27059b,this['_injector']=_0x4507df,this[_0x2d3d84(0xbc)]=_0x224a44;const {..._0x6375eb}=_0x1a23cd[_0x2d3d84(0x213)]({},_0x280d21,this[_0x2d3d84(0x15f)]);this['_configService'][_0x2d3d84(0x2bb)](_0x129ee8,_0x6375eb);}[_0x57a27c(0x25e)](){const _0x531822=_0x57a27c;this[_0x531822(0x2ac)](),this[_0x531822(0x264)]();}[_0x57a27c(0xb4)](){this['_registerRenderDependencies']();}[_0x57a27c(0x2ac)](){const _0x109ad2=_0x57a27c;var _0x1499c4;const _0x1c18ed=[[_0x416df7],[_0x3e6511],[_0x1cfb21],[_0x2e8f1a],[_0x5ed781],[_0x2081f5,{'useClass':_0x28691b}],[_0x3033d9[_0x109ad2(0x1de)],{'useClass':_0x3033d9['WebSocketService']}],[_0x2aa44c['ILocalCacheService'],{'useClass':_0x254ef9}],[_0x44eef8[_0x109ad2(0x31d)]],[_0x9b86ba],[_0x5d0ba5],[_0x503296],[_0x4e359b],[_0x44eef8[_0x109ad2(0x1e9)]]];_0x1a23cd['registerDependencies'](this[_0x109ad2(0x31f)],_0x1a23cd[_0x109ad2(0x2fe)](_0x1c18ed,(_0x1499c4=this[_0x109ad2(0x15f)])==null?void 0x0:_0x1499c4[_0x109ad2(0xb0)]));}[_0x57a27c(0x296)](){const _0x54aaab=_0x57a27c;this[_0x54aaab(0x138)](this[_0x54aaab(0x193)]['registerRenderModule'](_0x1a23cd[_0x54aaab(0x1a3)]['UNIVER_DOC'],[_0x334652])),this[_0x54aaab(0x138)](this['_renderManagerService']['registerRenderModule'](_0x1a23cd[_0x54aaab(0x1a3)][_0x54aaab(0x2e5)],[_0x2b14b8]));}[_0x57a27c(0x264)](){const _0x1ec01e=_0x57a27c;_0x1a23cd[_0x1ec01e(0x244)](this[_0x1ec01e(0x31f)],[[_0x503296],[_0x44eef8[_0x1ec01e(0x31d)]],[_0x9b86ba],[_0x5d0ba5],[_0x44eef8[_0x1ec01e(0x1e9)]]]);}},_0x27e564(_0x44eef8[_0x57a27c(0xf3)],_0x57a27c(0x275),_0x1b85b5),_0x44eef8[_0x57a27c(0xf3)]=_0x1e65df([_0x1a23cd[_0x57a27c(0x1c6)](_0x2aa44c[_0x57a27c(0xec)]),_0x3b2242(0x1,_0x5e65d8[_0x57a27c(0xeb)]),_0x3b2242(0x2,_0x1a23cd[_0x57a27c(0x222)](_0x1a23cd[_0x57a27c(0x1a8)])),_0x3b2242(0x3,_0x1a23cd[_0x57a27c(0x283)])],_0x44eef8[_0x57a27c(0xf3)]);var _0x4fde6e=Object[_0x57a27c(0x1f2)],_0x135f42=(_0x5d7238,_0x436801,_0x556618,_0x274ab2)=>{const _0x394be1=_0x57a27c;for(var _0x50d947=_0x274ab2>0x1?void 0x0:_0x274ab2?_0x4fde6e(_0x436801,_0x556618):_0x436801,_0x2bba3c=_0x5d7238[_0x394be1(0x25b)]-0x1,_0x18acfc;_0x2bba3c>=0x0;_0x2bba3c--)(_0x18acfc=_0x5d7238[_0x2bba3c])&&(_0x50d947=_0x18acfc(_0x50d947)||_0x50d947);return _0x50d947;},_0x1eec4d=(_0x398f98,_0x4b0c36)=>(_0x146955,_0x32b7ee)=>_0x4b0c36(_0x146955,_0x32b7ee,_0x398f98);_0x44eef8[_0x57a27c(0x1b2)]=class extends _0x2aa44c[_0x57a27c(0x2b1)]{constructor(_0x13c644,_0x29d93e,_0x123adc,_0x1558b0,_0x4a6649){super(_0x13c644,_0x29d93e,_0x123adc,_0x1558b0,_0x4a6649);}async['createSocket'](_0x36430c){const _0xe10aaf=_0x57a27c,_0x4b3888=await this['_getSessionTicket'](),_0x3ec5ad=this[_0xe10aaf(0x1c8)](_0x36430c,_0x4b3888);return this[_0xe10aaf(0xc7)](_0x3ec5ad);}['_createSocketURL'](_0x3ad3e0,_0xaac104){const _0x586040=_0x57a27c,_0x59653a=typeof window>'u'?new URL(_0x3ad3e0):new URL(_0x3ad3e0,window[_0x586040(0x2e8)]['origin']);_0x59653a[_0x586040(0x22c)][_0x586040(0x15c)](_0x586040(0x1bd),_0xaac104);const _0x9c419a=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x586040(0x2e8)][_0x586040(0x259)]);return _0x9c419a[_0x586040(0x18f)]('runId')&&_0x59653a[_0x586040(0x22c)][_0x586040(0x15c)](_0x586040(0x254),_0x9c419a['get'](_0x586040(0x254))),_0x59653a[_0x586040(0x24a)]();}async['_getSessionTicket'](){const _0x5dffe1=_0x57a27c;var _0x2ea3fd,_0x45260c,_0x513bac;const _0x3ba355=this[_0x5dffe1(0xbc)][_0x5dffe1(0x2ed)](_0x2aa44c[_0x5dffe1(0x2ec)]),_0x1df355=(_0x2ea3fd=_0x3ba355==null?void 0x0:_0x3ba355['wsSessionTicketUrl'])!=null?_0x2ea3fd:_0x2aa44c[_0x5dffe1(0x94)];return(_0x513bac=(_0x45260c=(await this['_httpService']['get'](_0x1df355,{'headers':{'Content-Type':_0x5dffe1(0x2e7)}}))[_0x5dffe1(0x2fb)])==null?void 0x0:_0x45260c[_0x5dffe1(0x16e)])!=null?_0x513bac:'';}},_0x44eef8[_0x57a27c(0x1b2)]=_0x135f42([_0x1eec4d(0x0,_0x1a23cd[_0x57a27c(0x222)](_0x1a23cd[_0x57a27c(0x1a8)])),_0x1eec4d(0x1,_0x1a23cd['Inject'](_0x3033d9[_0x57a27c(0x1af)])),_0x1eec4d(0x2,_0x1a23cd[_0x57a27c(0x283)]),_0x1eec4d(0x3,_0x1a23cd[_0x57a27c(0x109)]),_0x1eec4d(0x4,_0x645262[_0x57a27c(0x298)])],_0x44eef8[_0x57a27c(0x1b2)]);const _0x13454a=0x7530,_0xf108b2=_0x57a27c(0x1c4);class _0x42ce2f extends _0x1a23cd[_0x57a27c(0x1dd)]{constructor(){const _0x2c0f10=_0x57a27c;super(),_0x201443(this,_0x2c0f10(0x8f),_0x1a23cd[_0x2c0f10(0x1c9)]()),_0x201443(this,'_selfUnitIDs',new Set()),_0x201443(this,_0x2c0f10(0x2ea),new Map()),_0x201443(this,_0x2c0f10(0x31c),null),_0x201443(this,_0x2c0f10(0x15e),new Map()),_0x201443(this,_0x2c0f10(0xff),new Map()),this['_init']();}[_0x57a27c(0x16b)](){const _0xe26885=_0x57a27c;super[_0xe26885(0x16b)](),this[_0xe26885(0x15e)][_0xe26885(0x2d8)]((_0x33544f,_0x5dc857)=>this[_0xe26885(0x103)](_0x5dc857)),this[_0xe26885(0x31c)]&&window[_0xe26885(0x2dd)](this['_heartbeatTimer']);}[_0x57a27c(0x20c)](_0x37554a){const _0x31aab7=_0x57a27c;return this[_0x31aab7(0x29e)](_0x37554a)['pipe'](_0x289a68['distinctUntilChanged']());}['editingUnit'](_0x43d792){const _0x35919c=_0x57a27c;this[_0x35919c(0x2d1)][_0x35919c(0x2fd)]===0x0&&this[_0x35919c(0xb3)](),this[_0x35919c(0x2d1)][_0x35919c(0x19f)](_0x43d792),this[_0x35919c(0x176)]({'type':0x0,'memberID':this[_0x35919c(0x8f)],'unitIDs':[_0x43d792],'isForwarded':!0x1});}['disposeUnit'](_0x145c55){const _0x214ffa=_0x57a27c;this[_0x214ffa(0x2d1)][_0x214ffa(0x198)](_0x145c55),this['_selfUnitIDs'][_0x214ffa(0x2fd)]===0x0&&this[_0x214ffa(0x31c)]&&window['clearInterval'](this[_0x214ffa(0x31c)]);}[_0x57a27c(0x15a)](){const _0x4586af=_0x57a27c;this[_0x4586af(0x138)](_0x1a23cd['toDisposable'](_0x289a68[_0x4586af(0x1db)](window,_0x4586af(0x270))[_0x4586af(0x137)](_0x577692=>{const _0x142ca4=_0x4586af;if(_0x577692[_0x142ca4(0xd5)]!==_0xf108b2||!_0x577692[_0x142ca4(0xd9)])return;const _0x45952c=JSON['parse'](_0x577692[_0x142ca4(0xd9)]);this['_handleEvent'](_0x45952c);}))),window[_0x4586af(0x91)](_0x4586af(0x20d),()=>this['_send']({'type':0x1,'memberID':this[_0x4586af(0x8f)],'unitIDs':Array[_0x4586af(0x267)](this[_0x4586af(0x2d1)])}));}[_0x57a27c(0x241)](_0x889d18){const _0x474e72=_0x57a27c;switch(_0x889d18[_0x474e72(0x288)]){case 0x0:this[_0x474e72(0x23c)](_0x889d18);break;case 0x1:this[_0x474e72(0x2b7)](_0x889d18);break;case 0x2:this[_0x474e72(0x1e4)](_0x889d18);break;}}[_0x57a27c(0x23c)](_0x4275cf){const _0x5680c7=_0x57a27c,{unitIDs:_0x42bf0f,memberID:_0x435475,isForwarded:_0x1f46d7}=_0x4275cf;_0x42bf0f[_0x5680c7(0x2d8)](_0x3fe7c0=>{const _0x1eadf2=_0x5680c7;if(!_0x1f46d7&&this['_unitOnClients'][_0x1eadf2(0x1d3)](_0x3fe7c0)&&this[_0x1eadf2(0x29e)](_0x3fe7c0)[_0x1eadf2(0x263)](_0x2aa44c[_0x1eadf2(0x322)][_0x1eadf2(0x308)]),!this[_0x1eadf2(0x2ea)][_0x1eadf2(0x1d3)](_0x3fe7c0)||!this[_0x1eadf2(0x2ea)][_0x1eadf2(0x18f)](_0x3fe7c0)[_0x1eadf2(0x1d3)](_0x435475)){const _0x46f3cb=this[_0x1eadf2(0x2ea)]['get'](_0x3fe7c0)||new Set();_0x46f3cb[_0x1eadf2(0x19f)](_0x435475),this[_0x1eadf2(0x2ea)][_0x1eadf2(0x15c)](_0x3fe7c0,_0x46f3cb),this['_scheduleClearOtherTimer'](_0x435475);}}),_0x1f46d7||this['_send']({'type':0x0,'memberID':this[_0x5680c7(0x8f)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x57a27c(0x216)](_0x2aca4c){const _0x1025ef=_0x57a27c;this['_removeClearOtherTimer'](_0x2aca4c);const _0x3152d5=window[_0x1025ef(0x15d)](()=>{const _0x2b1ec3=_0x1025ef;this[_0x2b1ec3(0x2ea)][_0x2b1ec3(0x2d8)](_0x339c44=>{_0x339c44['delete'](_0x2aca4c);});},_0x13454a*0x2);this[_0x1025ef(0x15e)][_0x1025ef(0x15c)](_0x2aca4c,_0x3152d5);}[_0x57a27c(0x103)](_0x55acef){const _0x46650a=_0x57a27c;if(this[_0x46650a(0x15e)]['has'](_0x55acef)){const _0x253909=this['_clearOtherTimers'][_0x46650a(0x18f)](_0x55acef);_0x253909&&window['clearTimeout'](_0x253909),this[_0x46650a(0x15e)][_0x46650a(0x15c)](_0x55acef,null);}}[_0x57a27c(0x2b7)](_0x46fe88){const _0x348860=_0x57a27c,{memberID:_0x1f1079,unitIDs:_0xf158c0}=_0x46fe88;_0xf158c0[_0x348860(0x2d8)](_0x572b28=>{const _0x52e436=_0x348860;var _0x44e803;const _0x2804ef=this[_0x52e436(0x2ea)][_0x52e436(0x18f)](_0x572b28);_0x2804ef&&(_0x2804ef[_0x52e436(0x198)](_0x1f1079),(_0x44e803=this[_0x52e436(0x29e)](_0x572b28))==null||_0x44e803[_0x52e436(0x263)](_0x2804ef[_0x52e436(0x2fd)]===0x0?_0x2aa44c[_0x52e436(0x322)][_0x52e436(0xa9)]:_0x2aa44c[_0x52e436(0x322)][_0x52e436(0x308)]));}),this[_0x348860(0x103)](_0x1f1079);}[_0x57a27c(0x1e4)](_0x5e292a){const _0x50f294=_0x57a27c;this[_0x50f294(0x216)](_0x5e292a[_0x50f294(0xe7)]);}[_0x57a27c(0x176)](_0x8bdcd5){const _0x5a7aec=_0x57a27c;localStorage[_0x5a7aec(0x1f1)](_0xf108b2,JSON[_0x5a7aec(0x1b3)](_0x8bdcd5));}['_scheduleHeartbeat'](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x3c4947=_0x4087;this['_send']({'type':0x2,'memberID':this[_0x3c4947(0x8f)]});},_0x13454a);}[_0x57a27c(0x29e)](_0x501736){const _0x4eec5b=_0x57a27c;return this[_0x4eec5b(0xff)][_0x4eec5b(0x1d3)](_0x501736)||this['_unitStatus'][_0x4eec5b(0x15c)](_0x501736,new _0x289a68[(_0x4eec5b(0x12d))](_0x2aa44c[_0x4eec5b(0x322)][_0x4eec5b(0xa9)])),this[_0x4eec5b(0xff)]['get'](_0x501736);}}var _0x931db0=(_0x36ebea=>(_0x36ebea[_0x36ebea[_0x57a27c(0x302)]=0x0]=_0x57a27c(0x302),_0x36ebea[_0x36ebea['OK']=0x1]='OK',_0x36ebea[_0x36ebea['INTERNAL_ERROR']=0x2]=_0x57a27c(0x25a),_0x36ebea[_0x36ebea['PERMISSION_DENIED']=0x3]=_0x57a27c(0x1a4),_0x36ebea[_0x36ebea[_0x57a27c(0x2f8)]=0x4]=_0x57a27c(0x2f8),_0x36ebea[_0x36ebea[_0x57a27c(0x29d)]=0x5]='UNAUTHENTICATED',_0x36ebea[_0x36ebea[_0x57a27c(0x1ef)]=0x6]=_0x57a27c(0x1ef),_0x36ebea[_0x36ebea[_0x57a27c(0x124)]=0x7]=_0x57a27c(0x124),_0x36ebea[_0x36ebea[_0x57a27c(0x1a7)]=0x8]='TOO_MANY_REQUESTS',_0x36ebea[_0x36ebea[_0x57a27c(0x1b0)]=0x9]='COMPLETION_FINISHED',_0x36ebea[_0x36ebea[_0x57a27c(0x230)]=0xa]=_0x57a27c(0x230),_0x36ebea[_0x36ebea[_0x57a27c(0x1cb)]=0x1389]=_0x57a27c(0x1cb),_0x36ebea[_0x36ebea['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x57a27c(0x2e6),_0x36ebea[_0x36ebea['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x57a27c(0x86),_0x36ebea[_0x36ebea['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x57a27c(0x1a9),_0x36ebea[_0x36ebea[_0x57a27c(0x180)]=0x1b59]=_0x57a27c(0x180),_0x36ebea[_0x36ebea[_0x57a27c(0x256)]=0x1b5a]=_0x57a27c(0x256),_0x36ebea[_0x36ebea[_0x57a27c(0x2dc)]=0x1b5b]=_0x57a27c(0x2dc),_0x36ebea[_0x36ebea[_0x57a27c(0xe6)]=0x1b5c]=_0x57a27c(0xe6),_0x36ebea[_0x36ebea[_0x57a27c(0xa1)]=0x1b5d]=_0x57a27c(0xa1),_0x36ebea[_0x36ebea['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x57a27c(0xd7),_0x36ebea[_0x36ebea[_0x57a27c(0x108)]=0x2329]=_0x57a27c(0x108),_0x36ebea[_0x36ebea['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x57a27c(0x2d5),_0x36ebea[_0x36ebea[_0x57a27c(0x101)]=0x232b]=_0x57a27c(0x101),_0x36ebea[_0x36ebea[_0x57a27c(0x205)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x36ebea[_0x36ebea[_0x57a27c(0xa5)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x36ebea[_0x36ebea[_0x57a27c(0x1d5)]=0x2711]=_0x57a27c(0x1d5),_0x36ebea[_0x36ebea[_0x57a27c(0x10a)]=0x2712]=_0x57a27c(0x10a),_0x36ebea[_0x36ebea[_0x57a27c(0x28b)]=0x2713]=_0x57a27c(0x28b),_0x36ebea[_0x36ebea[_0x57a27c(0x2a9)]=0x2714]=_0x57a27c(0x2a9),_0x36ebea[_0x36ebea[_0x57a27c(0x2e9)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x36ebea[_0x36ebea[_0x57a27c(0x2ca)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x36ebea[_0x36ebea['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x57a27c(0x2b5),_0x36ebea[_0x36ebea[_0x57a27c(0x24f)]=0x271d]=_0x57a27c(0x24f),_0x36ebea[_0x36ebea[_0x57a27c(0x30d)]=0x271e]=_0x57a27c(0x30d),_0x36ebea[_0x36ebea[_0x57a27c(0x320)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x36ebea[_0x36ebea[_0x57a27c(0x317)]=0x2af9]=_0x57a27c(0x317),_0x36ebea[_0x36ebea['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x36ebea[_0x36ebea['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x36ebea[_0x36ebea[_0x57a27c(0x266)]=0x2ee3]=_0x57a27c(0x266),_0x36ebea[_0x36ebea[_0x57a27c(0x2b0)]=0x2ee4]=_0x57a27c(0x2b0),_0x36ebea[_0x36ebea[_0x57a27c(0x15b)]=0x2ee5]=_0x57a27c(0x15b),_0x36ebea[_0x36ebea[_0x57a27c(0x231)]=0x32c9]=_0x57a27c(0x231),_0x36ebea[_0x36ebea[_0x57a27c(0x235)]=0x32ca]=_0x57a27c(0x235),_0x36ebea[_0x36ebea[_0x57a27c(0x107)]=0x32cb]=_0x57a27c(0x107),_0x36ebea[_0x36ebea[_0x57a27c(0xfd)]=-0x1]=_0x57a27c(0xfd),_0x36ebea))(_0x931db0||{}),_0x40ff73=Object[_0x57a27c(0x1f2)],_0x3c2c25=(_0x376e35,_0x378c41,_0x2e23d9,_0x3dcfa8)=>{const _0x45f43e=_0x57a27c;for(var _0x447191=_0x3dcfa8>0x1?void 0x0:_0x3dcfa8?_0x40ff73(_0x378c41,_0x2e23d9):_0x378c41,_0x456149=_0x376e35[_0x45f43e(0x25b)]-0x1,_0x22f49d;_0x456149>=0x0;_0x456149--)(_0x22f49d=_0x376e35[_0x456149])&&(_0x447191=_0x22f49d(_0x447191)||_0x447191);return _0x447191;},_0xf77223=(_0x1c2db6,_0x5c082b)=>(_0x25d3eb,_0x31ce17)=>_0x5c082b(_0x25d3eb,_0x31ce17,_0x1c2db6);_0x44eef8[_0x57a27c(0x11f)]=class extends _0x1a23cd[_0x57a27c(0x1dd)]{constructor(_0x3e66f4,_0x6b0230,_0x2848fb){const _0x185de6=_0x57a27c;super(),this['_instanceService']=_0x3e66f4,this['_httpService']=_0x6b0230,this[_0x185de6(0xbc)]=_0x2848fb;}async['runOnServer'](_0x5644af,_0x576655,_0xd41b46,..._0x5bcfb8){const _0x503e6d=_0x57a27c;var _0x52e536,_0x4a9f9d,_0x903b1f,_0x467fc2;const _0x21c022=this[_0x503e6d(0x2cf)][_0x503e6d(0x273)]();if(!_0x21c022)throw new Error(_0x503e6d(0x130));const _0x26a856=((_0x52e536=this[_0x503e6d(0xbc)][_0x503e6d(0x2ed)](_0x2aa44c['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x52e536:_0x2aa44c[_0x503e6d(0x184)])+'/'+_0x5644af+'/run/'+_0x576655,_0x34d692=new URL(window['location']['href']),_0x2217e7={'scriptId':_0x5644af,'runId':(_0x4a9f9d=_0x34d692['searchParams'][_0x503e6d(0x18f)](_0x503e6d(0x254)))!=null?_0x4a9f9d:'','function':_0x576655,'unitId':_0x21c022[_0x503e6d(0x1ba)](),'argsOfFunction':JSON[_0x503e6d(0x1b3)](_0x5bcfb8),'invokeId':(_0x903b1f=_0xd41b46['invokeId'])!=null?_0x903b1f:'','executionId':(_0x467fc2=_0xd41b46[_0x503e6d(0x98)])!=null?_0x467fc2:''};try{const _0x4edea1=await this[_0x503e6d(0x2ce)][_0x503e6d(0x22a)](_0x26a856,{'body':_0x2217e7});return _0x4edea1[_0x503e6d(0x2fb)][_0x503e6d(0x1e1)]&&_0x4edea1[_0x503e6d(0x2fb)][_0x503e6d(0x1e1)][_0x503e6d(0xdf)]!==_0x931db0['OK']?_0x503e6d(0x14d):_0x4edea1[_0x503e6d(0x2fb)][_0x503e6d(0x163)];}catch{return'Failed';}}},_0x44eef8['RemoteUniscriptService']=_0x3c2c25([_0xf77223(0x0,_0x1a23cd[_0x57a27c(0x21c)]),_0xf77223(0x1,_0x1a23cd[_0x57a27c(0x222)](_0x3033d9[_0x57a27c(0x1af)])),_0xf77223(0x2,_0x1a23cd[_0x57a27c(0x283)])],_0x44eef8['RemoteUniscriptService']),_0x44eef8['CollaborationStatusDisplay']=_0x5566bb,_0x44eef8[_0x57a27c(0x277)]=_0x2081f5,_0x44eef8[_0x57a27c(0x106)]=_0x8d5e3c,_0x44eef8[_0x57a27c(0x22e)]=_0x42ce2f,_0x44eef8[_0x57a27c(0x280)]=_0x28691b,Object[_0x57a27c(0x139)](_0x44eef8,Symbol[_0x57a27c(0x306)],{'value':_0x57a27c(0x90)});}));function _0x4087(_0x49e8e2,_0x5eea04){const _0x37b6cc=_0x37b6();return _0x4087=function(_0x40877e,_0x1f9e84){_0x40877e=_0x40877e-0x85;let _0x3e194b=_0x37b6cc[_0x40877e];return _0x3e194b;},_0x4087(_0x49e8e2,_0x5eea04);}function _0x37b6(){const _0x3d79f3=['_docStateChangeManagerService','collabStatus.offline','_drawRectRange','DocStateChangeManagerService','div','collaboration-client.offline-data-not-saved','path','assignAColorForMemberID','UniverDocs','onTransformChange$','endColumn','_hideTimer','transformMutation','SetDocZoomRatioOperation','getSheetObject','UNIVER_DOC','Failed','react/jsx-runtime','_docSkeleton','permission.title','entries','JOIN_ROOM_FAILED','event$','_handleHover','[CollaborationDataLoaderController]','IRemoteInstanceService','min','black','IMessageService','_init','INVITE_CODE_ALREADY_BOUND','set','setTimeout','_clearOtherTimers','_config','InsertRowCommandId','Vector2','height','result','with','SetWorksheetActivateCommand','extend','_initCommandExecutedListener','OffLineSingle','COLORS','@univerjs/engine-render','dispose','collabStatus.notCollab','sheetId','ticket','getCurrentRevOfUnit','_getAnchorBounding','concat','UniverDocsUi','onPointerLeave$','getItem','_assignedColors','_send','UniverEngineRender','engine','transform','displayName','CollaborationSessionService','map','connectInjector','ThemeService','CLOSE_ROOM','APPLY_REJECT','exports','_cursorInfo$','1296478wnLAtY','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','react','LocaleService','getCollabEntity$','NOT_COLLAB','findNodePositionByCharIndex','onLocalMutation','UniverRpc','defs','selections','jsx','get','UPDATE_CURSOR','useDependency','#fff','_renderManagerService','univerjs-icon\x20univerjs-icon-','IBeforeCloseService','_logService','_anchor','delete','getColor','InsertRangeMoveRightCommandId','CommandType','colorChannel1','endRow','enableLocalCache','add','UniverDesign','collab-text-range-','MemberService','UniverInstanceType','PERMISSION_DENIED','_refreshCollabCursors','object','TOO_MANY_REQUESTS','Injector','ENSURE_SNAPSHOT_EXECUTION','univer-flex\x20univer-items-center','reconnect','7203ldDaMS','fillText','SHEET_VIEWPORT_KEY','HTTPService','COMPLETION_FINISHED','_localStorageService','BrowserCollaborationSocketService','stringify','isActive','UniverProCollaboration','hide','Optional','_cursor','DisposableCollection','getUnitId','filter','_onCursorDelete','sessionTicket','text','yellow.400','unshift','session.collaboration-timeout','univer-flex\x20univer-mr-2\x20univer-text-xl','loadUnit','ACTIVE_UNIT_EVENT_CHANNEL','clsx','DependentOn','_commandService','_createSocketURL','generateRandomId','_getScale','CHANGESET_REVISION_CONFILICT','restore','replaceDocRanges','lineTo','_eventUnsubscribe','attrs','20tqpmTU','LOCAL_CACHE_INTERVAL_KEY','has','_imageIoService','YUUMI_UNABLE_LOAD_URL','0\x200\x2017\x2016','setActiveRange','1388775KXsnNM','_entityInit$','redoState','fromEvent','getUnhiddenWorksheets','Disposable','ISocketService','range','_uiPartsService','error','executeCommand','collab-rect-range-','_handleHeartbeatEvent','string','current','className','xlink:href','CollaborationDataLoaderController','startsWith','getSkeleton','TEXT','@univerjs/network','currentColor','ALREADY_EXISTS','docStateChange$','setItem','getOwnPropertyDescriptor','Unknown\x20user','history','NodePositionConvertToRectRange','_hovered','color','_setupSubUnitSync','popstate','_initResize','getStateCache','isTransformMutationFailure','setStateCache','prototype','EffectRefRangId','ILocalCacheService','FETCH_MISS','6ZLAHgD','UniverEngineFormula','dispose$','LICENSE_EXPORT_SIZE_EXCEEDED','_collaborationController','SOCKET_FAILED_RETRY','roomMembers$','CollaborationController','getCurrentSelections','BuiltInUIPart','getUnitStatus$','unload','_scene','ranges','width','off-line-single_clip0_910_343','debounceTime','merge','includes','_localCacheService','_scheduleClearOtherTimer','_color','UniverProCollaborationClient','measureText','_name','_collabCursorState$','IUniverInstanceService','requireSession','fillStyle','TEXT_RANGE_LAYER_INDEX','getColorFromTheme','save','Inject','on-line-single_clip0_910_349','CollaborationStatus','resize','CollaborationUIEventId','collab-client.tooltip.reconnect','_toggleOffline','backgroundColor','post','_sheetSkeletonManagerService','searchParams','_transformPreviousActiveRange','WebBrowserSingleActiveUnitService','createElement','LOGIN_FAILED','WECHAT_HAS_BEEN_BOUND','apply','useRef','removeParam','MOBILE_HAS_BEEN_BOUND','@univerjs/core','_range','random','@univerjs/ui','_docSkeletonManagerService','UniverSheets','_handleJoinEvent','_beforeCloseService','_memberService','complete','_roomMembers$','_handleEvent','getSheetId','sessionStatus$','touchDependencies','hovered','hasOwnProperty','DocSelectionManagerService','@univerjs/sheets-ui','RxDisposable','toString','handleIRemoveRow','session.will-retry','values','show','YUUMI_ALL_TABLES_IS_INVALID','fillRule','Rect','getUndoRedoMutationParamsCache','@univerjs-pro/collaboration-client','runId','@univerjs-pro/collaboration','APPLY_NON_SEQUENTIAL_REVISION','Error','tag','search','INTERNAL_ERROR','length','_getSaveTimeout','collaboration.closeRoom','onStarting','clipPath','5609660MAeXtu','_getMergeRange','eventID','next','_initDependencies','href','INVITE_CODE_REQUIRED','from','_disabled','CONFLICT','_refRangeService','getMemberID','useObservable','ITransformService','permission.content','collabStatus.synced','storage','selection','arc','getFocusedUnit','syncEditingCollabCursor','pluginName','addClipboardHook','IURLService','929591toTcRn','isArray','uni.network.url-service','round','collab-text-anchor-','handleDeleteRangeMoveLeft','symbol','_entities','WebURLService','mask','beginPath','IConfigService','children','urlChange$','_collaborationUIEventService','_collabCursorController','type','transformIMECache','getParam','YUUMI_RATE_OVER_LIMIT','ICommandService','closePath','getValue','_updateCollabCursors','DOC_RANGE_TYPE','cursorInfo$','@univerjs/docs-ui','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','transformByState','find','_registerRenderDependencies','_textBubble','ISnapshotServerService','serializeRangeWithSheet','_hover','collabStatus.fetchMiss','_updateLocalCursor','UNAUTHENTICATED','_ensureSubject','clearTimeout','focused$','forwardRef','USERS_LEAVE','_drawTextRange','_document','defIds','startColumn','getCollabCursors$','split','YUUMI_SUBSCRIPTION_NOT_FOUND','getCoordByCell','makeDirty','_registerDependencies','transformRemoteChangeset','getTypeOfUnitAdded$','url(#$1','USER_NOT_INVITED_CODE','CollaborationSocketService','onCommandExecuted','React','_removeCollabCursors','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getRenderById','_handleLeaveEvent','@univerjs/design','_saveCache','_dataLoaderService','setConfig','_setupBeforeClosingHandler','Subject','all','registerRefRange','params','whenReady','SessionStatus','UniverCore','_shapes','translate(.97)','collaboration.single-unit.warning','evenodd','collabCursorState$','_transformHistoryAndStateStack','YUUMI_ASYNCIO_CANCELLED','8OIcedv','getMember','use','_httpService','_instanceService','fromEventSubject','_selfUnitIDs','setParam','@univerjs/sheets','Plugin','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','max','_lastPointer','forEach','_scheduleSaving','setShapeProps','exhaustSavingTask','APPLY_REVISION_CONFILICT','clearInterval','RegularPolygon','#FFF','svg','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','getSheetBySheetId','_labelPosition','send','UNIVER_SHEET','SNAPSHOT_INVALID_SNAPSHOT','application/json','location','YUUMI_NO_CUBOID_FOR_QUESTION','_unitOnClients','DocSkeletonManagerService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','getConfig','univer-text-red-500','getOffsetConfig','_collabSessionService','_cachedData','AWAITING','replaceState','bottom','RECT','setAlpha','debug','NOT_FOUND','saveOfflineData','SheetsSelectionsService','body','replace','size','mergeOverrideWithDependencies','@univerjs/engine-formula','transformStateCache','column','UNDEFINED','@univerjs/docs','_status$','session.connection-failed','toStringTag','source','OTHER_CLIENTS_EDITING','pushState','onPointerEnter$','TRANSFORM_CHANGE_OBSERVABLE_TYPE','getCellPositionByOffset','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','indexOf','_transformService','addObjects','unitId','_updateURLWithCurrentState','green.600','jiqing.500','useCallback','_docClipboardService','PY_RUNTIME_SCRIPT_ERROR','getLocalCacheKey','IDocClipboardService','Tools','_docTransformStateCacheService','_heartbeatTimer','DesktopCollaborationStatusDisplayController','createInstance','_injector','YUUMI_AI_RUN_FAILED','_urlService','UnitStatus','_draw','getTypeOfUnitDisposed$','UniverUi','updateOfflineData','SNAPSHOT_HAS_BEEN_REMOVED','getActiveSheet','onMouseMove','undoState','combineLatest','_getSheetObject','row','takeUntil','_docTransformIMECacheService','_id','Module','addEventListener','_syncEditingCollabCursorService','_initEvent','DEFAULT_WS_SESSION_TICKET_URL','DocIMEInputManagerService','status$','push','executionId','_initStatusListener','_initStatusComponent','_drawAnchor','UniverIcon','icon','unsubscribe','registerBeforeClose','DataLoaderService','APPLY_DUPLICATED','RemoveColCommandId','SOCKET_FAILED','some','LICENSE_DISTRO_REJECTED','CollaborationUIEventService','debounce','_colorAssignService','NO_OTHER_CLIENTS_EDITING','shareReplay','SetSelectionsOperation','UniverNetwork','@univerjs/rpc','top','_localeService','override','DeleteRangeMoveLeftCommandId','getViewport','_scheduleHeartbeat','onRendered','rxjs','name','Shape','mutations','Rectangle','drawWith','7989957XiUYMX','_configService','_initEntityListener','OFFLINE','MUTATION','_themeService','purple.300','_cursors','getDocRanges','idSuffix','currentTheme$','call','_doCreateSocket','cursorInfo','fill','getRangePointData','rgba(255,\x20255,\x20255,\x200.01)','SheetSkeletonManagerService','UniverProCollaborationClientUi','toRgbString','asObservable','_revisionService','VIEW_MAIN','deepClone','_saveTaskMap','OTHER_CLIENT_EDITING','key','none','CONNECTOR_DATA_TOO_LARGE','MoveRangeCommandId','newValue','triggerDblclick','_updateSubUnitFromURLParams','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','registerComponent','flatMap','code','IImageIoService','_onCursorUpdate','PENDING','@univerjs/drawing','_render','unitID','APPLY_PERMISSION_DENIED','memberID','MessageType','jsxs','handleInsertRangeMoveRight','IRenderManagerService','UniverCollaborationClientPlugin','RemoveRowCommandId','_toggleOnline','572NosWkZ','collaboration-client-ui.config','_online','setUndoRedoMutationParamsCache','UniverCollaborationClientUIPlugin','_messageService','transformSelections','saveTaskMap','_anchorDot','ILocalStorageService','SetTextSelectionsOperation','_cursorShapes','contains','addObject','UNRECOGNIZED','disableLocalCache','_unitStatus','m2Prime','LICENSE_IMPORT_SIZE_EXCEEDED','assign','_removeClearOtherTimer','subscribeEvent','subunit','SheetCollabCursorShape','EMAIL_HAS_BEEN_BOUND','LICENSE_MAX_UNITS_EXCEEDED','ILogService','YUUMI_URL_COL_OUT_OF_RANGE','startRow','_notificationService','1em','init','doc.mutation.rich-text-editing','_colorIndex','ONLINE','moveTo','then','data','_startSheetCollabCursor','transformMutationsWithChangeset','ColorKit','_transformUndoRedoStack','LOCAL_CACHE_INTERVAL','deserializeRangeWithSheet','pipe','textRanges','DocCollaborationEntity','currentSkeleton$','RemoteUniscriptService','isTransformMutationsWithChangesetSuccess','toDisposable','Workbook','function','INVALID_ARGUMENT','switchMap','collabStatus.conflict','_univerInstanceService','getAncestorScale','...','_context','_backgroundColor','Warning','BehaviorSubject','CollaborationEvent','m1Prime','[RemoteUniscriptService]:\x20no\x20focused\x20unit','roomMembers','FromArray','blue.400','activeSheet$','propertyIsEnumerable','_session','subscribe','disposeWithMe','defineProperty','getCurrentUnitForType','addHandlerCallback','4158847haCDQz'];_0x37b6=function(){return _0x3d79f3;};return _0x37b6();}