@univerjs-pro/collaboration-client-ui 0.8.0-nightly.202506051607 → 0.8.0-nightly.202506071606

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 _0x3569(_0x1ade6e,_0x1f0fdb){const _0x3b84c8=_0x3b84();return _0x3569=function(_0x3569a6,_0x133bec){_0x3569a6=_0x3569a6-0x193;let _0x6694c6=_0x3b84c8[_0x3569a6];return _0x6694c6;},_0x3569(_0x1ade6e,_0x1f0fdb);}function _0x3b84(){const _0xd8cb28=['0\x200\x2017\x2016','OffLineIcon','beginPath','setShapeProps','debounceTime','transformIMECache','NOT_COLLAB','defs','ACTIVE_UNIT_EVENT_CHANNEL','DocSelectionManagerService','@univerjs/engine-formula','removeParam','0\x200\x2016\x2016','setInterval','MOBILE_HAS_BEEN_BOUND','on-line-icon_clip0_910_349','runRefRangeMutations','_refreshCollabCursors','enableLocalCache','IUIPartsService','_anchorDot','getOffsetConfig','toString','_hover','find','_name','_colorIndex','ALREADY_EXISTS','_saveCache','url(#$1','UniverSheets','SetTextSelectionsOperation','transformByState','error','APPLY_REVISION_CONFILICT','editingUnit','_initEntityListener','has','div','isTransformMutationFailure','getSheetObject','CollaborationSocketService','_localeService','USERS_LEAVE','4webhtq','RevisionService','IMessageService','HEADER_MENU','_onCursorUpdate','replaceDocRanges','WebSocketService','EffectRefRangId','closePath','CollaborationEvent','current','rxjs','_removeClearOtherTimer','setAlpha','Rectangle','touchDependencies','UniverCollaborationClientUIPlugin','collabStatus.notCollab','getStateCache','setUndoRedoMutationParamsCache','getCurrentSelections','getCurrentUnitForType','_localStorageService','collabStatus.offline','_createSocketURL','getSheetBySheetId','unit','_unitStatus','getCurrent','Failed','setActiveRange','findNodePositionByCharIndex','dispose','_session','name','saveOfflineData','clearInterval','requireSession','ranges','_labelPosition','_selfUnitIDs','_draw','jiqing.500','AWAITING','_textBubble','white','_updateSubUnitFromURLParams','M0\x200H16V16H0z','_entities','YUUMI_ASYNCIO_CANCELLED','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getLocalCacheKey','56162Swyyvm','UniverNetwork','_setupBeforeClosingHandler','row','unitId','getActiveSheet','lineTo','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','length','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','collab-text-anchor-','registerRenderModule','INVITE_CODE_REQUIRED','xlink:href','operators','clipPath','Error','RefRangeService','_localCacheService','all','translate(.97)','_drawRectRange','8291466dpCzlT','backgroundColor','_status$','getDocRanges','@univerjs/network','_getSaveTimeout','getRangePointData','_collaborationController','_univerInstanceService','fillRule','drawWith','DocStateChangeManagerService','subscribeEvent','handleIRemoveCol','_onRefRangeChange','CollaborationSessionService','permission.title','Optional','SetWorksheetActivateCommand','createSocket','wsSessionTicketUrl','entityInit$','top','_cursor','_roomMembers$','_transformUndoRedoStack','tag','clsx','APPLY_PERMISSION_DENIED','createElement','source','DataLoaderService','INVALID_INVITE_CODE','collabCursorState$','getUnhiddenWorksheets','off-line-icon','SNAPSHOT_HAS_BEEN_REMOVED','defIds','_revisionService','currentTheme$','PERMISSION_DENIED','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','assignAColorForMemberID','RECT','send','_ensureSubject','_clearOtherTimers','extend','3800322WrPVql','session.will-retry','RemoveColCommandId','cursorInfo$','font','CollaborationUIEventId','8511224mYlwfw','OFFLINE','combineLatest','TEXT_RANGE_LAYER_INDEX','getRelativeToViewportCoord','concat','handleIRemoveRow','moveTo','HTTPService','apply','WebBrowserSingleActiveUnitService','_backgroundColor','endColumn','connectInjector','onStarting','_onCursorDelete','@univerjs/sheets','blue.400','unitID','registerDependencies','subUnitId','_docSkeleton','getParam','debug','getCoordByCell','transformRemoteChangeset','delete','@univerjs/engine-render','handleDeleteRangeMoveUp','Unknown\x20user','@univerjs/docs','_transformHistoryAndStateStack','function','#FFF','restore','evenodd','makeDirty','RemoteUniscriptService','fillText','InsertRangeMoveRightCommandId','currentSkeleton$','activeSheet$','INVITE_CODE_HAS_BEEN_UES','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_scheduleSaving','DocIMEInputManagerService','entries','_sheetSkeletonManagerService','ColorKit','_cursorInfo$','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_heartbeatTimer','Plugin','LICENSE_MAX_UNITS_EXCEEDED','OnLineIcon','MessageType','UniverDesign','path','BehaviorSubject','m2Prime','SheetSkeletonManagerService','UniverDocsUi','indexOf','_saveTaskMap','object','runId','createIdentifier','svg','round','MemberService','newValue','post','disposeUnit','defineProperty','getTypeOfUnitDisposed$','1313244sChWLn','DOC_RANGE_TYPE','CollaborationUIEventService','DesktopCollaborationStatusDisplayController','redoState','onRendered','switchMap','IURLService','getMergeData','...','startColumn','searchParams','generateRandomId','_instanceService','endRow','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','1em','DeleteRangeMoveLeftCommandId','min','UniverProCollaborationClient','YUUMI_NO_CUBOID_FOR_QUESTION','UPDATE_CURSOR','_initDependencies','type','bottom','createInstance','TOO_MANY_REQUESTS','getTypeOfUnitAdded$','_removeCollabCursors','CommandType','MoveRangeCommandId','[CollaborationDataLoaderController]','eventID','onMouseMove','VIEW_MAIN','sessionStatus$','INVALID_ARGUMENT','CONFLICT','history','UniverRpc','SessionStatus','CollaborationStatus','Rect','executeCommand','registerBeforeClose','http://www.w3.org/2000/svg','width','_getScale','_id','_drawAnchor','params','off-line-icon_clip0_910_343','LOGIN_FAILED','_transformService','getItem','contains','dispose$','isArray','YUUMI_UNABLE_LOAD_URL','INotificationService','collaboration-client-ui.config','from','APPLY_REJECT','call','_scheduleHeartbeat','transform','getSkeleton','LICENSE_EXPORT_SIZE_EXCEEDED','addObject','WebURLService','4616435onpeKe','rgba(255,\x20255,\x20255,\x200.01)','UniverProCollaborationClientUi','assign','_docStateChangeManagerService','text','roomMembers','@univerjs/design','_httpService','@univerjs/core','_getSheetObject','event$','EMAIL_HAS_BEEN_BOUND','_colorAssignService','CONNECTOR_DATA_TOO_LARGE','ISocketService','_docSkeletonManagerService','USER_NOT_INVITED_CODE','some','ThemeService','UNIVER_SHEET','DEFAULT_WS_SESSION_TICKET_URL','_refRangeService','@univerjs-pro/collaboration','UniverCore','disposeWithMe','Tools','OTHER_CLIENTS_EDITING','textRanges','SNAPSHOT_INVALID_SNAPSHOT','application/json','DocSkeletonManagerService','search','on-line-icon','Shape','unsubscribe','setItem','addEventListener','collaboration.single-unit.warning','getCellPositionByOffset','getCollabCursors$','_injector','actions','_imageIoService','_anchor','LocaleService','jsx','_configService','collaboration.closeRoom','UNIVER_DOC','pluginName','serializeRangeWithSheet','urlChange$','engine','code','color','ENSURE_SNAPSHOT_EXECUTION','_initCommandExecutedListener','getFocusedUnit','CollaborationDataLoaderController','asObservable','status$','hide','LOCAL_CACHE_INTERVAL_KEY','none','transformMutationsWithChangeset','result','UNAUTHENTICATED','href','_renderManagerService','onPointerLeave$','_getSessionTicket','deepClone','_cursorShapes','_unitOnClients','set','_notificationService','NOT_FOUND','subunit','/run/','PY_RUNTIME_SCRIPT_ERROR','then','yellow.400','YUUMI_ALL_TABLES_IS_INVALID','getCollabEntity$','@univerjs-pro/collaboration-client','getAncestorScale','_setupSubUnitSync','_eventUnsubscribe','NO_OTHER_CLIENTS_EDITING','handleDeleteRangeMoveLeft','isActive','univer-flex\x20univer-items-center','SetSelectionsOperation','_assignedColors','executionId','red.300','17930600uWCOvn','UniverDrawing','url(#on-line-icon_clip0_910_349)','_context','getColor','_docSyncEditingCollabCursorService','_memberService','imageSourceType','values','collab-rect-range-','SOCKET_FAILED','@univerjs/drawing','_updateCollabCursors','pipe','_doCreateSocket','column','getUndoRedoMutationParamsCache','Injector','random','collabStatus.syncing','ONLINE','runOnServer','InsertRangeMoveDownCommandId','InsertRowCommandId','_handleJoinEvent','@univerjs/sheets-ui','disableLocalCache','_collaborationUIEventService','onPointerEnter$','storage','UniverInstanceType','replaceState','children','react','resize','isTransformMutationsWithChangesetSuccess','CollaborationController','IConfigService','url(#off-line-icon_clip0_910_343)','getSheetId','UnitStatus','with','black','next','_collabCursorState$','getConfig','m1Prime','Inject','_init','19QkRARY','_commandService','split','whenReady','_docClipboardService','transformStateCache','onCommandExecuted','useDependency','deserializeRangeWithSheet','getUnitId','ICommandService','icon','react/jsx-runtime','get','LICENSE_IMPORT_SIZE_EXCEEDED','getRenderById','IRemoteInstanceService','React','_handleHover','_scheduleClearOtherTimer','@univerjs/docs-ui','handleInsertRangeMoveRight','_online','unshift','_hovered','onLocalMutation','FromArray','getOwnPropertyDescriptor','_range','_initResize','hovered','APPLY_NON_SEQUENTIAL_REVISION','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','rxjs/operators','SOCKET_FAILED_RETRY','useCallback','_themeService','_registerDependencies','IUniverInstanceService','UniverUi','_hideTimer','session.connection-failed','fromEventSubject','_cachedData','UNRECOGNIZED','init','_registerRenderDependencies','Module','setConfig','filter','colorChannel1','purple.300','TEXT','addHandlerCallback','_entityInit$','getOwnPropertySymbols','Tooltip','add','MUTATION','INTERNAL_ERROR','toDisposable','labelPosition','collab-text-range-','ILocalCacheService','_drawTextRange','hasOwnProperty','push','_logService','transformMutation','_urlService','uni.network.url-service','_syncEditingCollabCursorService','Subject','ITransformService','SYNCED','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','key','flatMap','Disposable','@univerjs/rpc','forwardRef','getMember','range','_beforeCloseService','_color','clearTimeout','COMPLETION_FINISHED','BrowserCollaborationSocketService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','useRef','_docTransformSelectionsService','COLORS','roomMembers$','getMemberID','_send','location','fill','permission.content','sessionTicket','trim','startsWith','7EesFrx','RxDisposable','_scene','_docTransformIMECacheService','_disabled','handleInsertRangeMoveDown','mutations','measureText','fillStyle','CollaborationStatusDisplay','handleInsertCol','displayName','takeUntil','distinctUntilChanged','UniverDocs','YUUMI_RATE_OVER_LIMIT','cursorInfo','LOCAL_CACHE_INTERVAL','_toggleOnline','subscribe','memberID','AWAITING_WITH_PENDING','attrs','saveTaskMap','_updateURLWithCurrentState','_document','BuiltInUIPart','_messageService','selection','sheetId','UniverEngineFormula','setStateCache','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','Warning','_shapes','_toggleOffline','WECHAT_HAS_BEEN_BOUND','UniverProCollaboration','_render','undoState','popstate','_handleLeaveEvent','string','_cursors','exports','height','syncEditingCollabCursor','_handleHeartbeatEvent','setParam','_updateLocalCursor','_initEvent','univer-flex\x20univer-mr-2\x20univer-text-xl','exhaustSavingTask','DisposableCollection','reconnect','_getAnchorBounding','data','body','INVITE_CODE_ALREADY_BOUND','transformSelections','_collabSessionService','currentColor','mergeOverrideWithDependencies','map','getColorFromTheme','fromEvent','loadUnit','YUUMI_URL_COL_OUT_OF_RANGE','prototype','merge','_startDocCollabCursor','_handleEvent','arc','setTimeout','doc.mutation.rich-text-editing','updateOfflineData','IBeforeCloseService','session.collaboration-timeout','_docTransformStateCacheService','forEach','_lastPointer','handleMoveRange','debounce','save','show','origin','_uiPartsService','getValue','JOIN_ROOM_FAILED','ILogService','Workbook','FETCH_MISS','size','LICENSE_DISTRO_REJECTED','_collabCursorController','IRenderManagerService','_config','toRgbString','stringify','idSuffix','_transformPreviousActiveRange','complete','onTransformChange$','UNDEFINED','_initStatusListener'];_0x3b84=function(){return _0xd8cb28;};return _0x3b84();}(function(_0x291354,_0x33da5c){const _0x331de8=_0x3569,_0x28962f=_0x291354();while(!![]){try{const _0x42c71a=-parseInt(_0x331de8(0x202))/0x1*(-parseInt(_0x331de8(0x330))/0x2)+-parseInt(_0x331de8(0x376))/0x3+parseInt(_0x331de8(0x2fc))/0x4*(parseInt(_0x331de8(0x40d))/0x5)+parseInt(_0x331de8(0x346))/0x6*(parseInt(_0x331de8(0x267))/0x7)+parseInt(_0x331de8(0x37c))/0x8+-parseInt(_0x331de8(0x3c7))/0x9+-parseInt(_0x331de8(0x1d1))/0xa;if(_0x42c71a===_0x33da5c)break;else _0x28962f['push'](_0x28962f['shift']());}catch(_0x1335c3){_0x28962f['push'](_0x28962f['shift']());}}}(_0x3b84,0xaa23a),function(_0xd0b894,_0x1812f4){const _0x23f731=_0x3569;typeof exports==_0x23f731(0x3bc)&&typeof module<'u'?_0x1812f4(exports,require(_0x23f731(0x1c5)),require(_0x23f731(0x416)),require(_0x23f731(0x397)),require(_0x23f731(0x34a)),require('@univerjs/docs-ui'),require(_0x23f731(0x1dc)),require('rxjs'),require(_0x23f731(0x39a)),require(_0x23f731(0x424)),require(_0x23f731(0x2da)),require(_0x23f731(0x38c)),require(_0x23f731(0x223)),require(_0x23f731(0x1ea)),require(_0x23f731(0x20e)),require('@univerjs/ui'),require(_0x23f731(0x414)),require(_0x23f731(0x1f2)),require(_0x23f731(0x251))):typeof define==_0x23f731(0x39c)&&define['amd']?define([_0x23f731(0x293),_0x23f731(0x1c5),_0x23f731(0x416),_0x23f731(0x397),_0x23f731(0x34a),_0x23f731(0x216),_0x23f731(0x1dc),_0x23f731(0x307),'@univerjs/docs',_0x23f731(0x424),_0x23f731(0x2da),_0x23f731(0x38c),_0x23f731(0x223),'@univerjs/sheets-ui','react/jsx-runtime','@univerjs/ui','@univerjs/design','react','@univerjs/rpc'],_0x1812f4):(_0xd0b894=typeof globalThis<'u'?globalThis:_0xd0b894||self,_0x1812f4(_0xd0b894[_0x23f731(0x40f)]={},_0xd0b894[_0x23f731(0x3da)],_0xd0b894[_0x23f731(0x425)],_0xd0b894['UniverEngineRender'],_0xd0b894[_0x23f731(0x331)],_0xd0b894[_0x23f731(0x3b9)],_0xd0b894[_0x23f731(0x1d2)],_0xd0b894[_0x23f731(0x307)],_0xd0b894[_0x23f731(0x275)],_0xd0b894[_0x23f731(0x28c)],_0xd0b894[_0x23f731(0x285)],_0xd0b894[_0x23f731(0x2ee)],_0xd0b894['rxjs'][_0x23f731(0x33e)],_0xd0b894['UniverSheetsUi'],_0xd0b894[_0x23f731(0x213)],_0xd0b894[_0x23f731(0x229)],_0xd0b894[_0x23f731(0x3b4)],_0xd0b894['React'],_0xd0b894[_0x23f731(0x3ee)]));}(this,function(_0xcf7480,_0x2912f8,_0x2d86c8,_0x115e2b,_0x1f504c,_0x2d547f,_0x46455d,_0x20e3e2,_0x4d5ad2,_0xd7140e,_0x508bc2,_0x21498e,_0x371e95,_0x451db8,_0x485257,_0x8c906d,_0x2173df,_0x4faaa2,_0x4c38e7){'use strict';const _0xc63213=_0x3569;var _0x3ebb31=Object[_0xc63213(0x3c5)],_0x1eb531=(_0xa27d1,_0x111f22,_0x54ca22)=>_0x111f22 in _0xa27d1?_0x3ebb31(_0xa27d1,_0x111f22,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x54ca22}):_0xa27d1[_0x111f22]=_0x54ca22,_0x3955ad=(_0x1a4612,_0x32c67e,_0x2a7ab7)=>_0x1eb531(_0x1a4612,typeof _0x32c67e!='symbol'?_0x32c67e+'':_0x32c67e,_0x2a7ab7),_0x4a6221=Object['getOwnPropertyDescriptor'],_0x29f769=(_0x26bf58,_0xa4bf9c,_0x5c1f5c,_0x5a1b38)=>{const _0x3f8dcb=_0xc63213;for(var _0x3f5faf=_0x5a1b38>0x1?void 0x0:_0x5a1b38?_0x4a6221(_0xa4bf9c,_0x5c1f5c):_0xa4bf9c,_0x24709f=_0x26bf58[_0x3f8dcb(0x338)]-0x1,_0x440683;_0x24709f>=0x0;_0x24709f--)(_0x440683=_0x26bf58[_0x24709f])&&(_0x3f5faf=_0x440683(_0x3f5faf)||_0x3f5faf);return _0x3f5faf;},_0x287a6a=(_0x33e3bc,_0x4a4a8e)=>(_0x2fa97a,_0x2eebae)=>_0x4a4a8e(_0x2fa97a,_0x2eebae,_0x33e3bc);let _0x50a3c9=class extends _0x2d86c8['RxDisposable']{constructor(_0x44cb25,_0x58f6b5){const _0x274aab=_0xc63213;super(),this[_0x274aab(0x206)]=_0x44cb25,this['_imageIoService']=_0x58f6b5,this[_0x274aab(0x201)]();}['_init'](){const _0x4054bc=_0xc63213,_0x2e3422=this;this[_0x4054bc(0x426)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x2cca53=>{const _0x3f646a=_0x4054bc,_0x551303=await _0x2e3422[_0x3f646a(0x19b)]['saveImage'](_0x2cca53);return _0x551303?{'source':_0x551303[_0x3f646a(0x364)],'imageSourceType':_0x551303[_0x3f646a(0x1d8)]}:null;}}));}};_0x50a3c9=_0x29f769([_0x287a6a(0x0,_0x2d547f['IDocClipboardService']),_0x287a6a(0x1,_0x46455d['IImageIoService'])],_0x50a3c9);const _0x29b7aa=[_0xc63213(0x235),_0xc63213(0x326),'green.600',_0xc63213(0x1d0),_0xc63213(0x38d),_0xc63213(0x1c2)];class _0x8d7fee extends _0x2d86c8['Disposable']{constructor(){const _0x2e2309=_0xc63213;super(...arguments),_0x3955ad(this,_0x2e2309(0x1ce),new Map()),_0x3955ad(this,'_colorIndex',0x0);}[_0xc63213(0x370)](_0x4aba73){const _0x2a5424=_0xc63213;if(this['_assignedColors'][_0x2a5424(0x2f5)](_0x4aba73))return this[_0x2a5424(0x1ce)][_0x2a5424(0x20f)](_0x4aba73);const _0x810de=_0x29b7aa[this[_0x2a5424(0x2ea)]];return this[_0x2a5424(0x2ea)]=(this[_0x2a5424(0x2ea)]+0x1)%_0x29b7aa[_0x2a5424(0x338)],this[_0x2a5424(0x1ce)][_0x2a5424(0x1bb)](_0x4aba73,_0x810de),_0x810de;}}function _0x22b493(_0x19a668){const _0x4b15cd=_0xc63213;let _0x3757b8='';for(const _0xdb692f of _0x19a668){const {startOffset:_0x5116ac,endOffset:_0x2c9825,isActive:_0xaa7201,rangeType:_0x21c6f7,segmentId:_0x2f680f,segmentPage:_0x4f4378}=_0xdb692f;_0x3757b8[_0x4b15cd(0x338)]&&(_0x3757b8+=','),_0x3757b8+=_0x5116ac+':'+_0x2c9825+':'+(_0xaa7201?'1':'0')+':'+_0x21c6f7+':'+_0x2f680f+':'+_0x4f4378;}return _0x3757b8;}function _0x3bdb8d(_0x538b27){const _0x498783=_0xc63213,_0x14e335=_0x538b27[_0x498783(0x204)](','),_0x113c48=[];for(const _0x56b7c8 of _0x14e335){const [_0x22d70c,_0x518ae8,_0x48c6f9,_0x37a714,_0x1158f9,_0x24dca5]=_0x56b7c8['split'](':');_0x113c48[_0x498783(0x244)]({'startOffset':Number(_0x22d70c),'endOffset':Number(_0x518ae8),'collapsed':_0x22d70c===_0x518ae8,'isActive':_0x48c6f9==='1','rangeType':_0x37a714===_0x2d86c8[_0x498783(0x3c8)][_0x498783(0x236)]?_0x2d86c8[_0x498783(0x3c8)][_0x498783(0x236)]:_0x2d86c8[_0x498783(0x3c8)]['RECT'],'segmentId':typeof _0x1158f9==_0x498783(0x291)?String(_0x1158f9):'','segmentPage':Number(_0x24dca5!=null?_0x24dca5:-0x1)});}return _0x113c48[_0x498783(0x41f)](_0x35de40=>_0x35de40['isActive'])||(_0x113c48[0x0][_0x498783(0x1cb)]=!0x0),_0x113c48;}class _0x1832d6 extends _0x2d86c8[_0xc63213(0x268)]{constructor(){const _0x439c62=_0xc63213;super(...arguments),_0x3955ad(this,_0x439c62(0x1fd),new _0x20e3e2['BehaviorSubject'](null)),_0x3955ad(this,_0x439c62(0x367),this['_collabCursorState$'][_0x439c62(0x1ac)]());}[_0xc63213(0x295)](_0x3fb80b){const _0x1d3a41=_0xc63213,{unitID:_0x5271bc,memberID:_0x1b5571,textRanges:_0x3196f5}=_0x3fb80b,_0x8d403=_0x22b493(_0x3196f5);if(_0x8d403==='')return;const _0x3f01ed={'unitID':_0x5271bc,'memberID':_0x1b5571,'selection':_0x8d403};this[_0x1d3a41(0x1fd)]['next'](_0x3f01ed);}}var _0x79b14d=Object[_0xc63213(0x21d)],_0x4acfea=(_0x148760,_0x5bd259,_0x26cbe2,_0x28ba44)=>{const _0x50336a=_0xc63213;for(var _0x1339cd=_0x28ba44>0x1?void 0x0:_0x28ba44?_0x79b14d(_0x5bd259,_0x26cbe2):_0x5bd259,_0x2fabbc=_0x148760[_0x50336a(0x338)]-0x1,_0x48008d;_0x2fabbc>=0x0;_0x2fabbc--)(_0x48008d=_0x148760[_0x2fabbc])&&(_0x1339cd=_0x48008d(_0x1339cd)||_0x1339cd);return _0x1339cd;},_0x25fc3a=(_0x10cf54,_0x6decbd)=>(_0x439eae,_0x94ef73)=>_0x6decbd(_0x439eae,_0x94ef73,_0x10cf54);const _0x3fbc53=0x12c,_0x2dc3da=0x64;let _0x219c44=class extends _0x2d86c8[_0xc63213(0x268)]{constructor(_0x4114f3,_0x4b02fa,_0xb7f46,_0x477d29,_0x383641,_0x2c5935,_0x2030c0,_0x2d41ae,_0xef1b49){const _0x34adc3=_0xc63213;super(),_0x3955ad(this,'_online',!0x1),_0x3955ad(this,_0x34adc3(0x201),!0x1),_0x3955ad(this,_0x34adc3(0x3ad),new _0x20e3e2['BehaviorSubject'](new Map())),_0x3955ad(this,_0x34adc3(0x379),this['_cursorInfo$'][_0x34adc3(0x1ac)]()),_0x3955ad(this,_0x34adc3(0x35e),new _0x20e3e2[(_0x34adc3(0x3b6))]([])),_0x3955ad(this,_0x34adc3(0x25e),this['_roomMembers$'][_0x34adc3(0x1de)](_0x20e3e2[_0x34adc3(0x2d4)](_0x3fbc53))),_0x3955ad(this,_0x34adc3(0x298),_0x2d86c8[_0x34adc3(0x2b9)](_0x355253=>{const _0x4029f0=_0x34adc3,_0x4f3b96={'eventID':_0xd7140e[_0x4029f0(0x305)][_0x4029f0(0x3dc)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x4029f0(0x25f)](),'selection':_0x22b493(_0x355253)}};this[_0x4029f0(0x31d)][_0x4029f0(0x372)](_0x4f3b96,this[_0x4029f0(0x38e)]);},_0x2dc3da)),(this[_0x34adc3(0x38e)]=_0x4114f3,this[_0x34adc3(0x31d)]=_0x4b02fa,this[_0x34adc3(0x199)]=_0xb7f46,this[_0x34adc3(0x41a)]=_0x477d29,this[_0x34adc3(0x1d7)]=_0x383641,this['_syncEditingCollabCursorService']=_0x2c5935,this[_0x34adc3(0x3fc)]=_0x2030c0,this['_univerInstanceService']=_0x2d41ae,this[_0x34adc3(0x203)]=_0xef1b49);}get[_0xc63213(0x277)](){const _0x13b179=_0xc63213;return this[_0x13b179(0x3ad)][_0x13b179(0x2be)]();}get[_0xc63213(0x413)](){const _0xc5de65=_0xc63213;return this['_roomMembers$'][_0xc5de65(0x2be)]();}['dispose'](){const _0x17abce=_0xc63213;super[_0x17abce(0x31c)](),this[_0x17abce(0x3ad)][_0x17abce(0x1fc)](new Map()),this['_cursorInfo$'][_0x17abce(0x2cc)](),this[_0x17abce(0x35e)][_0x17abce(0x1fc)]([]),this[_0x17abce(0x35e)][_0x17abce(0x2cc)]();}[_0xc63213(0x22f)](){const _0x5d196c=_0xc63213;this[_0x5d196c(0x201)]||(this[_0x5d196c(0x201)]=!0x0,this[_0x5d196c(0x31d)][_0x5d196c(0x3ea)][_0x5d196c(0x1de)](_0x20e3e2['takeUntil'](this[_0x5d196c(0x3ff)]))[_0x5d196c(0x27a)](_0xaec25f=>{const _0x4f2ee4=_0x5d196c;_0xaec25f===_0x2912f8[_0x4f2ee4(0x3ef)][_0x4f2ee4(0x1e5)]?this[_0x4f2ee4(0x279)]():this['_toggleOffline']();}),this[_0x5d196c(0x31d)][_0x5d196c(0x418)]['pipe'](_0x20e3e2['takeUntil'](this[_0x5d196c(0x3ff)]))[_0x5d196c(0x27a)](_0x485213=>{const _0x50cd16=_0x5d196c,_0x530095=_0x485213['eventID'];_0x530095===_0xd7140e[_0x50cd16(0x305)]['UPDATE_CURSOR']&&this[_0x50cd16(0x300)](_0x485213),_0x530095===_0xd7140e[_0x50cd16(0x305)][_0x50cd16(0x2fb)]&&this[_0x50cd16(0x38b)](_0x485213);}),this[_0x5d196c(0x426)](this[_0x5d196c(0x203)][_0x5d196c(0x208)](_0x19d79b=>{const _0x10ee4f=_0x5d196c,_0x3eb160=_0x19d79b[_0x10ee4f(0x3f9)];_0x3eb160!=null&&this[_0x10ee4f(0x218)]&&_0x19d79b['id']===_0x4d5ad2[_0x10ee4f(0x2ef)]['id']&&_0x3eb160[_0x10ee4f(0x334)]===this[_0x10ee4f(0x38e)]&&_0x3eb160['isEditing']===!0x1&&_0x3eb160[_0x10ee4f(0x322)][_0x10ee4f(0x338)]>0x0&&this[_0x10ee4f(0x298)](_0x3eb160[_0x10ee4f(0x322)]);})),this[_0x5d196c(0x249)][_0x5d196c(0x367)][_0x5d196c(0x1de)](_0x20e3e2[_0x5d196c(0x273)](this[_0x5d196c(0x3ff)]))['subscribe'](_0x10daba=>{const _0x44591a=_0x5d196c;if((_0x10daba==null?void 0x0:_0x10daba[_0x44591a(0x38e)])!==this['unitID'])return;const _0x2a47d5={'eventID':_0xd7140e[_0x44591a(0x305)][_0x44591a(0x3dc)],'data':_0x10daba};this['_onCursorUpdate'](_0x2a47d5);}),this[_0x5d196c(0x426)](this[_0x5d196c(0x203)][_0x5d196c(0x208)](_0x168d0d=>{const _0x40ed7e=_0x5d196c;if(_0x168d0d['params']==null)return;const _0x548f89=_0x168d0d['params'];if(_0x168d0d['id']!==_0x4d5ad2['RichTextEditingMutation']['id']||_0x548f89[_0x40ed7e(0x334)]!==this[_0x40ed7e(0x38e)])return;const _0x4e4b58={'id':_0x40ed7e(0x2b1),'params':_0x548f89},_0x2afdb1=this[_0x40ed7e(0x277)];for(const [_0x421364,_0x356ff4]of _0x2afdb1){const _0x23fb48={'id':_0x40ed7e(0x2b1),'params':{'unitId':this[_0x40ed7e(0x38e)],'actions':null,'textRanges':_0x356ff4[_0x40ed7e(0x322)]}},_0x49c011=this[_0x40ed7e(0x3fc)][_0x40ed7e(0x246)](_0x4e4b58,_0x23fb48,!0x1);if(_0xd7140e['isTransformMutationFailure'](_0x49c011))throw _0x49c011[_0x40ed7e(0x2f1)];_0x2afdb1[_0x40ed7e(0x1bb)](_0x421364,{..._0x356ff4,'ranges':_0x49c011[_0x40ed7e(0x3b7)][_0x40ed7e(0x3f9)][_0x40ed7e(0x429)]});}queueMicrotask(()=>{const _0xc99f4f=_0x40ed7e;this[_0xc99f4f(0x3ad)][_0xc99f4f(0x1fc)](_0x2afdb1);});})));}[_0xc63213(0x300)](_0x4b128b){const _0x2c2ad1=_0xc63213;var _0x9064a1,_0x187e8a;const {memberID:_0x2ddd51,selection:_0x200cbd}=_0x4b128b[_0x2c2ad1(0x29f)],_0x485325=_0x3bdb8d(_0x200cbd),_0x439e20=(_0x187e8a=(_0x9064a1=this[_0x2c2ad1(0x1d7)][_0x2c2ad1(0x253)](this[_0x2c2ad1(0x38e)],_0x2ddd51))==null?void 0x0:_0x9064a1[_0x2c2ad1(0x31e)])!=null?_0x187e8a:_0x2c2ad1(0x399),_0x2b1dcd={'color':this['_colorAssignService'][_0x2c2ad1(0x370)](_0x2ddd51),'name':_0x439e20,'ranges':_0x485325},_0x38affb=this[_0x2c2ad1(0x277)];_0x38affb['set'](_0x2ddd51,_0x2b1dcd),this[_0x2c2ad1(0x3ad)][_0x2c2ad1(0x1fc)](_0x38affb);}['_onCursorDelete'](_0x2e1733){const _0x25083e=_0xc63213,{memberID:_0x51bee8}=_0x2e1733[_0x25083e(0x29f)],_0x4c9960=this[_0x25083e(0x277)];_0x4c9960['delete'](_0x51bee8),this[_0x25083e(0x3ad)][_0x25083e(0x1fc)](_0x4c9960);}[_0xc63213(0x279)](){const _0x14a86e=_0xc63213;var _0x75caa6;if(this[_0x14a86e(0x218)]=!0x0,((_0x75caa6=this[_0x14a86e(0x34e)][_0x14a86e(0x1aa)]())==null?void 0x0:_0x75caa6['getUnitId']())!==this[_0x14a86e(0x38e)])return;const _0x360a3f=this[_0x14a86e(0x199)]['get'](_0x4d5ad2[_0x14a86e(0x2d9)])[_0x14a86e(0x349)]();Array['isArray'](_0x360a3f)&&_0x360a3f['length']>0x0&&this[_0x14a86e(0x298)](_0x360a3f);}[_0xc63213(0x28a)](){this['_online']=!0x1;}};_0x219c44=_0x4acfea([_0x25fc3a(0x2,_0x2d86c8[_0xc63213(0x200)](_0x2d86c8[_0xc63213(0x1e2)])),_0x25fc3a(0x3,_0x2d86c8[_0xc63213(0x200)](_0x8d7fee)),_0x25fc3a(0x4,_0x2d86c8['Inject'](_0x2912f8[_0xc63213(0x3c1)])),_0x25fc3a(0x5,_0x2d86c8['Inject'](_0x1832d6)),_0x25fc3a(0x6,_0xd7140e[_0xc63213(0x24b)]),_0x25fc3a(0x7,_0x2d86c8[_0xc63213(0x228)]),_0x25fc3a(0x8,_0x2d86c8[_0xc63213(0x20c)])],_0x219c44);var _0x1de4f8=Object[_0xc63213(0x21d)],_0x9ae941=(_0x8674b5,_0x2e59af,_0xa685b0,_0x2b5016)=>{for(var _0x1feb6c=_0x2b5016>0x1?void 0x0:_0x2b5016?_0x1de4f8(_0x2e59af,_0xa685b0):_0x2e59af,_0x1793f8=_0x8674b5['length']-0x1,_0x359cc4;_0x1793f8>=0x0;_0x1793f8--)(_0x359cc4=_0x8674b5[_0x1793f8])&&(_0x1feb6c=_0x359cc4(_0x1feb6c)||_0x1feb6c);return _0x1feb6c;},_0x208329=(_0x34e540,_0x16c3cf)=>(_0x144399,_0x566db0)=>_0x16c3cf(_0x144399,_0x566db0,_0x34e540);const _0x30e252=0x12c,_0xdc4f18=0x64,_0x924355=()=>{let _0x576288=[],_0x16167c=!0x1;return _0x3807e4=>{const _0x4665ca=_0x3569;_0x576288[_0x4665ca(0x244)](_0x3807e4),_0x16167c||(_0x16167c=!0x0,setTimeout(()=>{const _0xd9d70b=_0x4665ca;_0x576288[_0xd9d70b(0x2b6)](_0x369697=>_0x369697()),_0x576288=[],_0x16167c=!0x1;}));};};let _0x2951d3=class extends _0x2d86c8['RxDisposable']{constructor(_0x2868b2,_0x2e92d4,_0x267b00,_0x1dc579,_0x130238,_0x4eb035,_0x2c622d,_0x133e97){const _0x11f6ba=_0xc63213;super(),_0x3955ad(this,_0x11f6ba(0x218),!0x1),_0x3955ad(this,'_init',!0x1),_0x3955ad(this,_0x11f6ba(0x3ad),new _0x20e3e2[(_0x11f6ba(0x3b6))](new Map())),_0x3955ad(this,'cursorInfo$',this[_0x11f6ba(0x3ad)]['asObservable']()),_0x3955ad(this,_0x11f6ba(0x35e),new _0x20e3e2[(_0x11f6ba(0x3b6))]([])),_0x3955ad(this,_0x11f6ba(0x25e),this['_roomMembers$'][_0x11f6ba(0x1de)](_0x20e3e2[_0x11f6ba(0x2d4)](_0x30e252))),_0x3955ad(this,'_updateLocalCursor',_0x2d86c8[_0x11f6ba(0x2b9)]((_0x3c6cf3,_0x35348d)=>{const _0x2a64c5=_0x11f6ba,_0x6224f3={'eventID':_0xd7140e[_0x2a64c5(0x305)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x2a64c5(0x38e)],'memberID':this[_0x2a64c5(0x31d)][_0x2a64c5(0x25f)](),'selection':_0x508bc2[_0x2a64c5(0x1a3)](_0x3c6cf3,_0x35348d[_0x2a64c5(0x254)])}};this[_0x2a64c5(0x31d)][_0x2a64c5(0x372)](_0x6224f3,this['unitID']);},_0xdc4f18)),(this[_0x11f6ba(0x38e)]=_0x2868b2,this[_0x11f6ba(0x31d)]=_0x2e92d4,this[_0x11f6ba(0x199)]=_0x267b00,this[_0x11f6ba(0x41a)]=_0x1dc579,this[_0x11f6ba(0x1d7)]=_0x130238,this['_univerInstanceService']=_0x4eb035,this['_commandService']=_0x2c622d,this[_0x11f6ba(0x423)]=_0x133e97);}get['cursorInfo'](){const _0x3e9253=_0xc63213;return this[_0x3e9253(0x3ad)][_0x3e9253(0x2be)]();}get[_0xc63213(0x413)](){const _0x1fe1aa=_0xc63213;return this[_0x1fe1aa(0x35e)][_0x1fe1aa(0x2be)]();}[_0xc63213(0x31c)](){const _0x591a9d=_0xc63213;super[_0x591a9d(0x31c)](),this[_0x591a9d(0x3ad)][_0x591a9d(0x1fc)](new Map()),this[_0x591a9d(0x3ad)]['complete'](),this[_0x591a9d(0x35e)][_0x591a9d(0x1fc)]([]),this[_0x591a9d(0x35e)][_0x591a9d(0x2cc)]();}[_0xc63213(0x22f)](){const _0x14bcd1=_0xc63213;this['_init']||(this[_0x14bcd1(0x201)]=!0x0,this['_session']['sessionStatus$'][_0x14bcd1(0x1de)](_0x20e3e2[_0x14bcd1(0x273)](this[_0x14bcd1(0x3ff)]))[_0x14bcd1(0x27a)](_0x4f4546=>{const _0x2f7b7b=_0x14bcd1;_0x4f4546===_0x2912f8[_0x2f7b7b(0x3ef)][_0x2f7b7b(0x1e5)]?this[_0x2f7b7b(0x279)]():this[_0x2f7b7b(0x28a)]();}),this[_0x14bcd1(0x31d)]['event$'][_0x14bcd1(0x1de)](_0x20e3e2['takeUntil'](this[_0x14bcd1(0x3ff)]))[_0x14bcd1(0x27a)](_0xc4d436=>{const _0x34435e=_0x14bcd1,_0x529ca3=_0xc4d436[_0x34435e(0x3e7)];_0x529ca3===_0xd7140e[_0x34435e(0x305)][_0x34435e(0x3dc)]&&this[_0x34435e(0x300)](_0xc4d436),_0x529ca3===_0xd7140e[_0x34435e(0x305)]['USERS_LEAVE']&&this['_onCursorDelete'](_0xc4d436);}),this[_0x14bcd1(0x354)](),this[_0x14bcd1(0x426)](this[_0x14bcd1(0x203)][_0x14bcd1(0x208)](_0x496983=>{const _0x4b181f=_0x14bcd1;if(this[_0x4b181f(0x218)]&&_0x496983['id']===_0x21498e[_0x4b181f(0x1cd)]['id']&&_0x496983[_0x4b181f(0x3f9)][_0x4b181f(0x334)]===this[_0x4b181f(0x38e)]){const _0x1611ca=_0x496983[_0x4b181f(0x3f9)];this[_0x4b181f(0x298)](_0x1611ca[_0x4b181f(0x390)],_0x1611ca['selections'][0x0]);}})));}[_0xc63213(0x300)](_0x236306){const _0x293949=_0xc63213;var _0x394ae7,_0x4d67ee;const {memberID:_0x18c95b,selection:_0x238cad}=_0x236306['data'],{sheetName:_0x195692,range:_0x20ee3b}=_0x508bc2[_0x293949(0x20a)](_0x238cad),_0x417349={'name':(_0x4d67ee=(_0x394ae7=this[_0x293949(0x1d7)][_0x293949(0x253)](this[_0x293949(0x38e)],_0x18c95b))==null?void 0x0:_0x394ae7[_0x293949(0x31e)])!=null?_0x4d67ee:_0x293949(0x399),'range':this['_getMergeRange'](_0x195692,_0x20ee3b),'sheetID':_0x195692,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x18c95b),'selection':_0x238cad},_0x23a256=this[_0x293949(0x277)];_0x23a256['set'](_0x18c95b,_0x417349),this['_cursorInfo$'][_0x293949(0x1fc)](_0x23a256);}[_0xc63213(0x38b)](_0x41247e){const _0x4c73e7=_0xc63213,{memberID:_0x3b9fb3}=_0x41247e['data'],_0x518138=this[_0x4c73e7(0x277)];_0x518138[_0x4c73e7(0x396)](_0x3b9fb3),this[_0x4c73e7(0x3ad)][_0x4c73e7(0x1fc)](_0x518138);}['_getMergeRange'](_0x292049,_0x751e52){const _0x2fb0d4=_0xc63213;var _0x2397df,_0x26b5ff;const _0x57b3fd=(_0x26b5ff=(_0x2397df=this['_univerInstanceService']['getUniverSheetInstance'](this[_0x2fb0d4(0x38e)]))==null?void 0x0:_0x2397df[_0x2fb0d4(0x315)](_0x292049))==null?void 0x0:_0x26b5ff[_0x2fb0d4(0x3cf)]();return(_0x57b3fd==null?void 0x0:_0x57b3fd[_0x2fb0d4(0x2e8)](_0x14af52=>_0x2d86c8[_0x2fb0d4(0x30a)][_0x2fb0d4(0x3fe)](_0x14af52,_0x751e52)))||_0x751e52;}[_0xc63213(0x354)](){const _0x5492dc=_0xc63213,_0x2189a9=new _0x2d86c8[(_0x5492dc(0x29c))](),_0x113179=_0x924355(),_0x5acfd9=()=>{const _0x1f1c9a=_0x5492dc;_0x2189a9[_0x1f1c9a(0x31c)]();const _0x162bcb=(_0x422057,_0x2d145b,_0x5ed06b,_0x27729f)=>{const _0x59c708=_0x1f1c9a;let _0x36056c=[];switch(_0x422057['id']){case _0x21498e[_0x59c708(0x303)][_0x59c708(0x3d8)]:{_0x36056c=_0x21498e[_0x59c708(0x1ca)](_0x422057,_0x27729f);break;}case _0x21498e[_0x59c708(0x303)]['DeleteRangeMoveUpCommandId']:{_0x36056c=_0x21498e[_0x59c708(0x398)](_0x422057,_0x27729f);break;}case _0x21498e[_0x59c708(0x303)]['InsertColCommandId']:{_0x36056c=_0x21498e[_0x59c708(0x271)](_0x422057,_0x27729f);break;}case _0x21498e[_0x59c708(0x303)][_0x59c708(0x1e7)]:{_0x36056c=_0x21498e[_0x59c708(0x26c)](_0x422057,_0x27729f);break;}case _0x21498e[_0x59c708(0x303)][_0x59c708(0x3a3)]:{_0x36056c=_0x21498e[_0x59c708(0x217)](_0x422057,_0x27729f);break;}case _0x21498e[_0x59c708(0x303)][_0x59c708(0x1e8)]:{_0x36056c=_0x21498e['handleInsertRow'](_0x422057,_0x27729f);break;}case _0x21498e[_0x59c708(0x303)][_0x59c708(0x3e5)]:{_0x36056c=_0x21498e[_0x59c708(0x2b8)](_0x422057,_0x27729f);break;}case _0x21498e[_0x59c708(0x303)][_0x59c708(0x378)]:{_0x36056c=_0x21498e[_0x59c708(0x353)](_0x422057,_0x27729f);break;}case _0x21498e[_0x59c708(0x303)]['RemoveRowCommandId']:{_0x36056c=_0x21498e[_0x59c708(0x382)](_0x422057,_0x27729f);break;}}const _0xf56f78=_0x21498e[_0x59c708(0x2e0)](_0x36056c,_0x27729f),_0x1dcf54=this[_0x59c708(0x277)]['get'](_0x2d145b);if(_0x1dcf54&&_0xf56f78){const _0x3aebec={..._0x1dcf54,'range':_0xf56f78};this[_0x59c708(0x277)][_0x59c708(0x1bb)](_0x2d145b,_0x3aebec),_0x113179(()=>{const _0x5ab0cc=_0x59c708,_0x536aca=this[_0x5ab0cc(0x423)]['registerRefRange'](_0xf56f78,_0x4df66e=>(_0x536aca[_0x5ab0cc(0x31c)](),_0x162bcb(_0x4df66e,_0x2d145b,_0x5ed06b,_0xf56f78)));_0x2189a9[_0x5ab0cc(0x23b)](_0x536aca);});}return{'redos':[],'undos':[]};};this[_0x1f1c9a(0x277)][_0x1f1c9a(0x2b6)]((_0x35476c,_0x36adff)=>{const _0x1cafef=_0x1f1c9a,{range:_0x1a5c71,sheetID:_0x56f7d2}=_0x35476c,_0x222519=this[_0x1cafef(0x423)]['registerRefRange'](_0x1a5c71,_0x4a53bc=>(_0x222519['dispose'](),_0x162bcb(_0x4a53bc,_0x36adff,_0x56f7d2,_0x1a5c71)));_0x2189a9[_0x1cafef(0x23b)](_0x222519);});};this[_0x5492dc(0x426)](_0x2d86c8[_0x5492dc(0x23e)](this['_cursorInfo$'][_0x5492dc(0x27a)](()=>{_0x5acfd9();})));}[_0xc63213(0x279)](){const _0x1ee1e2=_0xc63213;var _0x40c2e3,_0x2a9298;if(this[_0x1ee1e2(0x218)]=!0x0,((_0x40c2e3=this[_0x1ee1e2(0x34e)][_0x1ee1e2(0x1aa)]())==null?void 0x0:_0x40c2e3['getUnitId']())!==this[_0x1ee1e2(0x38e)])return;const _0x3919a5=(_0x2a9298=this[_0x1ee1e2(0x199)][_0x1ee1e2(0x20f)](_0x21498e['SheetsSelectionsService'])[_0x1ee1e2(0x310)]())==null?void 0x0:_0x2a9298[0x0],_0x50b59a=this['_univerInstanceService'][_0x1ee1e2(0x311)](_0x2d86c8['UniverInstanceType'][_0x1ee1e2(0x421)])[_0x1ee1e2(0x335)]();_0x3919a5&&_0x50b59a&&this[_0x1ee1e2(0x298)](_0x50b59a[_0x1ee1e2(0x1f8)](),_0x3919a5);}[_0xc63213(0x28a)](){const _0x1c0b8c=_0xc63213;this[_0x1c0b8c(0x218)]=!0x1;}};_0x2951d3=_0x9ae941([_0x208329(0x2,_0x2d86c8[_0xc63213(0x200)](_0x2d86c8[_0xc63213(0x1e2)])),_0x208329(0x3,_0x2d86c8['Inject'](_0x8d7fee)),_0x208329(0x4,_0x2d86c8[_0xc63213(0x200)](_0x2912f8[_0xc63213(0x3c1)])),_0x208329(0x5,_0x2d86c8[_0xc63213(0x228)]),_0x208329(0x6,_0x2d86c8[_0xc63213(0x20c)]),_0x208329(0x7,_0x2d86c8['Inject'](_0x21498e[_0xc63213(0x341)]))],_0x2951d3);var _0x42d12a=Object['getOwnPropertyDescriptor'],_0x4c8580=(_0x5d0f44,_0x5ebe39,_0x2c3bda,_0x7b401a)=>{const _0x5877b6=_0xc63213;for(var _0x411302=_0x7b401a>0x1?void 0x0:_0x7b401a?_0x42d12a(_0x5ebe39,_0x2c3bda):_0x5ebe39,_0x28440f=_0x5d0f44[_0x5877b6(0x338)]-0x1,_0x2ed377;_0x28440f>=0x0;_0x28440f--)(_0x2ed377=_0x5d0f44[_0x28440f])&&(_0x411302=_0x2ed377(_0x411302)||_0x411302);return _0x411302;},_0x35dac0=(_0x41eed2,_0x5a54e1)=>(_0x20422d,_0x525097)=>_0x5a54e1(_0x20422d,_0x525097,_0x41eed2);let _0x5b7e3e=class extends _0x2d86c8[_0xc63213(0x268)]{constructor(_0x1c9f7e,_0x125eb1,_0x5938fb){const _0x4b3cbf=_0xc63213;super(),_0x3955ad(this,_0x4b3cbf(0x32c),new Map()),_0x3955ad(this,'_entityInit$',new _0x20e3e2[(_0x4b3cbf(0x24a))]()),(this[_0x4b3cbf(0x34e)]=_0x1c9f7e,this[_0x4b3cbf(0x199)]=_0x125eb1,this['_collabSessionService']=_0x5938fb,this[_0x4b3cbf(0x201)]());}[_0xc63213(0x31c)](){const _0x3be194=_0xc63213;super[_0x3be194(0x31c)](),this[_0x3be194(0x238)][_0x3be194(0x2cc)](),this['_entities'][_0x3be194(0x2b6)](_0x41491a=>_0x41491a[_0x3be194(0x31c)]());}[_0xc63213(0x198)](_0x390d0a){const _0x5af48a=_0xc63213;return this[_0x5af48a(0x32c)][_0x5af48a(0x2f5)](_0x390d0a)?this[_0x5af48a(0x32c)]['get'](_0x390d0a)['cursorInfo$']:this[_0x5af48a(0x238)]['pipe'](_0x20e3e2[_0x5af48a(0x233)](_0x116e1b=>_0x116e1b[_0x5af48a(0x38e)]===_0x390d0a),_0x20e3e2[_0x5af48a(0x3cd)](_0x192b4d=>_0x192b4d[_0x5af48a(0x379)]));}['_init'](){const _0x217249=_0xc63213;this[_0x217249(0x34e)]['getTypeOfUnitAdded$'](_0x2d86c8[_0x217249(0x1ef)][_0x217249(0x421)])[_0x217249(0x1de)](_0x20e3e2[_0x217249(0x273)](this[_0x217249(0x3ff)]))['subscribe'](async _0x5d66e1=>{const _0x88626c=_0x217249,_0x56e016=_0x5d66e1[_0x88626c(0x20b)](),_0x5782ec=await this['_startSheetCollabCursor'](_0x56e016);this[_0x88626c(0x238)][_0x88626c(0x1fc)](_0x5782ec),this[_0x88626c(0x32c)]['set'](_0x56e016,_0x5782ec);}),this[_0x217249(0x34e)][_0x217249(0x3e2)](_0x2d86c8[_0x217249(0x1ef)][_0x217249(0x1a1)])[_0x217249(0x1de)](_0x20e3e2['takeUntil'](this[_0x217249(0x3ff)]))[_0x217249(0x1de)](_0x20e3e2[_0x217249(0x233)](_0x12aeed=>!_0x12aeed['getUnitId']()[_0x217249(0x266)]('__')))['subscribe'](async _0x1b43b4=>{const _0x293d41=_0x217249,_0x36c874=_0x1b43b4['getUnitId'](),_0xaa711f=await this[_0x293d41(0x2ad)](_0x36c874);this[_0x293d41(0x238)][_0x293d41(0x1fc)](_0xaa711f),this[_0x293d41(0x32c)]['set'](_0x36c874,_0xaa711f);}),_0x20e3e2[_0x217249(0x2ac)](this['_univerInstanceService'][_0x217249(0x3c6)](_0x2d86c8[_0x217249(0x1ef)][_0x217249(0x1a1)]),this[_0x217249(0x34e)][_0x217249(0x3c6)](_0x2d86c8[_0x217249(0x1ef)][_0x217249(0x421)]))[_0x217249(0x1de)](_0x20e3e2[_0x217249(0x273)](this[_0x217249(0x3ff)]))[_0x217249(0x27a)](_0x4ea064=>{const _0x1b75bf=_0x217249,_0x55096b=_0x4ea064[_0x1b75bf(0x20b)](),_0x49ff0b=this[_0x1b75bf(0x32c)][_0x1b75bf(0x20f)](_0x55096b);_0x49ff0b&&(_0x49ff0b[_0x1b75bf(0x31c)](),this[_0x1b75bf(0x32c)][_0x1b75bf(0x396)](_0x55096b));});}async['_startSheetCollabCursor'](_0x9c6a3c){const _0x466e31=_0xc63213,_0x2bbf5a=await this[_0x466e31(0x2a3)]['requireSession'](_0x9c6a3c),_0xd92dca=this[_0x466e31(0x199)][_0x466e31(0x3e0)](_0x2951d3,_0x9c6a3c,_0x2bbf5a);return _0xd92dca['init'](),_0xd92dca;}async[_0xc63213(0x2ad)](_0x3ae3d7){const _0x825485=_0xc63213,_0x44a382=await this[_0x825485(0x2a3)][_0x825485(0x321)](_0x3ae3d7),_0x44deae=this['_injector']['createInstance'](_0x219c44,_0x3ae3d7,_0x44a382);return _0x44deae[_0x825485(0x22f)](),_0x44deae;}};_0x5b7e3e=_0x4c8580([_0x35dac0(0x0,_0x2d86c8[_0xc63213(0x228)]),_0x35dac0(0x1,_0x2d86c8['Inject'](_0x2d86c8['Injector'])),_0x35dac0(0x2,_0x2d86c8['Inject'](_0x2912f8[_0xc63213(0x355)]))],_0x5b7e3e);const _0xec0906=0x14,_0x1bc14b=0xc8,_0x20b186=0x4,_0x39ba6f=0x5;function _0x3adaa3(_0x5a1667,_0xbb9bf3){const _0x59afc7=_0xc63213;let {radius:_0xe424a3,width:_0x36e9cb,height:_0x397f91}=_0xbb9bf3;_0xe424a3=_0xe424a3!=null?_0xe424a3:0x0,_0x36e9cb=_0x36e9cb!=null?_0x36e9cb:0x1e,_0x397f91=_0x397f91!=null?_0x397f91:0x1e;let _0x3a0d7e=0x0,_0x4a49a6=0x0,_0x3864eb=0x0;_0x3a0d7e=_0x4a49a6=_0x3864eb=Math[_0x59afc7(0x3d9)](_0xe424a3,_0x36e9cb/0x2,_0x397f91/0x2),_0x5a1667[_0x59afc7(0x2d2)](),_0x5a1667[_0x59afc7(0x383)](_0x3a0d7e,0x0),_0x5a1667[_0x59afc7(0x336)](_0x36e9cb-_0x4a49a6,0x0),_0x5a1667[_0x59afc7(0x2af)](_0x36e9cb-_0x4a49a6,_0x4a49a6,_0x4a49a6,Math['PI']*0x3/0x2,0x0,!0x1),_0x5a1667[_0x59afc7(0x336)](_0x36e9cb,_0x397f91-_0x3864eb),_0x5a1667[_0x59afc7(0x2af)](_0x36e9cb-_0x3864eb,_0x397f91-_0x3864eb,_0x3864eb,0x0,Math['PI']/0x2,!0x1),_0x5a1667[_0x59afc7(0x336)](0x0,_0x397f91),_0x5a1667['lineTo'](0x0,_0x3a0d7e),_0x5a1667[_0x59afc7(0x2af)](_0x3a0d7e,_0x3a0d7e,_0x3a0d7e,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5a1667[_0x59afc7(0x304)](),_0xbb9bf3[_0x59afc7(0x262)]&&(_0x5a1667['save'](),_0x5a1667[_0x59afc7(0x26f)]=_0xbb9bf3['fill'],_0xbb9bf3[_0x59afc7(0x34f)]===_0x59afc7(0x39f)?_0x5a1667[_0x59afc7(0x262)](_0x59afc7(0x39f)):_0x5a1667['fill'](),_0x5a1667[_0x59afc7(0x39e)]());}class _0x5c9ee8 extends _0x115e2b[_0xc63213(0x42f)]{constructor(_0x217e03,_0x341b0e){const _0x590e69=_0xc63213;super(_0x217e03,_0x341b0e),_0x3955ad(this,_0x590e69(0x1a7)),_0x3955ad(this,'text'),(this[_0x590e69(0x1a7)]=_0x341b0e==null?void 0x0:_0x341b0e['color'],this['text']=_0x341b0e==null?void 0x0:_0x341b0e[_0x590e69(0x412)]);}static['drawWith'](_0x5c91b3,_0x349449){const _0x4018fa=_0xc63213,{text:_0x5a447e,color:_0x1399d1}=_0x349449;_0x5c91b3['save'](),_0x5c91b3[_0x4018fa(0x37a)]=_0x4018fa(0x25a);const _0x3e4695=_0x5c91b3[_0x4018fa(0x26e)](_0x5a447e)[_0x4018fa(0x3f5)],_0x19bb92=Math['min'](_0x3e4695+0x2*_0x20b186,_0x1bc14b);_0x3adaa3(_0x5c91b3,{'height':_0xec0906,'radius':0x4,'width':_0x19bb92,'fill':_0x1399d1}),_0x5c91b3[_0x4018fa(0x26f)]=_0x4018fa(0x39d);const _0x5618ae=_0x20b186,_0xa959fe=_0xec0906-_0x39ba6f,_0x53c16f=_0x1bc14b-0x2*_0x20b186;if(_0x3e4695>_0x53c16f){let _0x2aab3b='',_0x1839c5=0x0;for(const _0x1d4a8a of _0x5a447e){const _0x2f66b8=_0x5c91b3[_0x4018fa(0x26e)](_0x1d4a8a)['width'];if(_0x1839c5+_0x2f66b8<=_0x53c16f-_0x5c91b3[_0x4018fa(0x26e)](_0x4018fa(0x3d0))[_0x4018fa(0x3f5)])_0x2aab3b+=_0x1d4a8a,_0x1839c5+=_0x2f66b8;else{_0x2aab3b+=_0x4018fa(0x3d0);break;}}_0x5c91b3[_0x4018fa(0x3a2)](_0x2aab3b,_0x5618ae,_0xa959fe);}else _0x5c91b3[_0x4018fa(0x3a2)](_0x5a447e,_0x5618ae,_0xa959fe);_0x5c91b3[_0x4018fa(0x39e)]();}[_0xc63213(0x325)](_0x137967){const _0x56d73d=_0xc63213;_0x5c9ee8[_0x56d73d(0x350)](_0x137967,this);}}const _0x68e1aa=_0xc63213(0x33a),_0x35631b=_0xc63213(0x240),_0x5c985a=_0xc63213(0x1da),_0x2e6efd=0x6,_0x2d2881=1.5,_0x3f31ac=0x4,_0x2b7162=1.5,_0x54d8fd=_0xc63213(0x40e);class _0x2d33a1{constructor(_0x33dd2b,_0x38ae42,_0x222472,_0x334e38){const _0x2345c7=_0xc63213;_0x3955ad(this,_0x2345c7(0x289),[]),_0x3955ad(this,_0x2345c7(0x19c),null),_0x3955ad(this,_0x2345c7(0x328),null),_0x3955ad(this,_0x2345c7(0x2e4),null),_0x3955ad(this,_0x2345c7(0x22a),null),_0x3955ad(this,_0x2345c7(0x1c8),null),(this[_0x2345c7(0x35d)]=_0x33dd2b,this['_scene']=_0x38ae42,this[_0x2345c7(0x391)]=_0x222472,this[_0x2345c7(0x280)]=_0x334e38,this['_render']());}set[_0xc63213(0x2e7)](_0x483688){const _0x11e283=_0xc63213;_0x483688?(this[_0x11e283(0x2e4)]&&this[_0x11e283(0x2e4)][_0x11e283(0x1ae)](),this[_0x11e283(0x328)]&&this[_0x11e283(0x328)][_0x11e283(0x2bb)]()):(this[_0x11e283(0x2e4)]&&this[_0x11e283(0x2e4)][_0x11e283(0x2bb)](),this['_textBubble']&&this[_0x11e283(0x328)]['hide']());}[_0xc63213(0x31c)](){const _0x1326ac=_0xc63213;for(const _0x54b9be of this[_0x1326ac(0x289)])_0x54b9be[_0x1326ac(0x31c)]();this[_0x1326ac(0x328)]&&this[_0x1326ac(0x328)][_0x1326ac(0x31c)](),this['_anchorDot']&&this['_anchorDot']['dispose'](),this[_0x1326ac(0x19c)]&&this[_0x1326ac(0x19c)][_0x1326ac(0x31c)](),this[_0x1326ac(0x1c8)]&&this[_0x1326ac(0x1c8)]();}[_0xc63213(0x28d)](){const _0x507a03=_0xc63213;var _0x198c57;const {_docSkeleton:_0x425f4f,_document:_0x3e3650}=this,{color:_0x23b2b0,name:_0x262459,ranges:_0x2ca98b}=this[_0x507a03(0x35d)],_0x426597=_0x3e3650[_0x507a03(0x2e5)](),{docsLeft:_0x1c3c34,docsTop:_0x8efb3e}=_0x426597,_0x2d755e=new _0x2d547f['NodePositionConvertToCursor'](_0x426597,_0x425f4f);for(const {startOffset:_0x94ec54,endOffset:_0x3f557a,rangeType:_0x47e0ae,segmentId:_0x2bbf10,segmentPage:_0x194cc0,collapsed:_0x577c7a,isActive:_0x36bef7}of _0x2ca98b){const _0x4fa3e8=_0x425f4f[_0x507a03(0x31b)](_0x94ec54,!0x0,_0x2bbf10,_0x194cc0);let _0x37a288=_0x425f4f[_0x507a03(0x31b)](_0x3f557a,!0x0,_0x2bbf10,_0x194cc0);if(_0x37a288==null&&(_0x37a288=_0x425f4f[_0x507a03(0x31b)](_0x3f557a-0x1,!0x1,_0x2bbf10,_0x194cc0)),_0x36bef7){const {contentBoxPointGroup:_0x2ed83b}=_0x2d755e[_0x507a03(0x34c)](_0x37a288,_0x37a288);if(_0x2ed83b['length']===0x0)continue;this['_drawAnchor'](_0x23b2b0,_0x2ed83b,_0x1c3c34,_0x8efb3e,_0x262459),this[_0x507a03(0x1c8)]=this[_0x507a03(0x214)]();}if(_0x4fa3e8&&_0x37a288){if(_0x47e0ae===_0x2d86c8['DOC_RANGE_TYPE'][_0x507a03(0x371)]){const _0x4741fe=new _0x2d547f['NodePositionConvertToRectRange'](_0x426597,_0x425f4f),{pointGroup:_0x136d14}=(_0x198c57=_0x4741fe[_0x507a03(0x34c)](_0x4fa3e8,_0x37a288))!=null?_0x198c57:{};if(_0x136d14==null||_0x136d14[_0x507a03(0x338)]===0x0)continue;this[_0x507a03(0x345)](_0x23b2b0,_0x136d14,_0x1c3c34,_0x8efb3e);}else{if(!_0x577c7a){const {borderBoxPointGroup:_0x58e62d}=_0x2d755e[_0x507a03(0x34c)](_0x4fa3e8,_0x37a288);if(_0x58e62d[_0x507a03(0x338)]===0x0)continue;this[_0x507a03(0x242)](_0x23b2b0,_0x58e62d,_0x1c3c34,_0x8efb3e);}}}}}[_0xc63213(0x3f8)](_0x5a877c,_0x553298,_0x45600c,_0x3960d3,_0x5cc3d8){const _0x17562d=_0xc63213,_0x278333=this[_0x17562d(0x29e)](_0x553298),{left:_0x1e7e4f,top:_0x2a7189,height:_0xe99a70}=_0x278333,_0x29b118=this[_0x17562d(0x3f6)](),_0x57ad18=_0x2b7162/_0x29b118,_0x19cf18=new _0x115e2b['Rect'](_0x68e1aa+_0x2d86c8['Tools'][_0x17562d(0x3d3)](_0x2e6efd),{'left':_0x1e7e4f+_0x45600c-_0x57ad18,'top':_0x2a7189+_0x3960d3,'height':_0xe99a70,'width':_0x2d2881,'fill':_0x5a877c||_0x115e2b[_0x17562d(0x1d5)](_0x2d86c8[_0x17562d(0x25d)][_0x17562d(0x1fb)],0x0),'strokeWidth':_0x57ad18,'stroke':_0x54d8fd,'evented':!0x0});this[_0x17562d(0x19c)]=_0x19cf18,this[_0x17562d(0x269)][_0x17562d(0x40b)](_0x19cf18,_0x2d547f['TEXT_RANGE_LAYER_INDEX']);const _0x114449=new _0x115e2b['Rect'](_0x68e1aa+_0x2d86c8[_0x17562d(0x427)][_0x17562d(0x3d3)](_0x2e6efd),{'left':_0x1e7e4f+_0x45600c-_0x57ad18,'top':_0x2a7189+_0x3960d3-_0x3f31ac/0x2,'height':_0x3f31ac,'width':_0x3f31ac,'fill':_0x5a877c||_0x115e2b[_0x17562d(0x1d5)](_0x2d86c8[_0x17562d(0x25d)][_0x17562d(0x1fb)],0x0),'strokeWidth':0x0,'stroke':_0x5a877c||_0x115e2b['getColor'](_0x2d86c8[_0x17562d(0x25d)][_0x17562d(0x1fb)],0x0),'evented':!0x1});this[_0x17562d(0x2e4)]=_0x114449,this['_scene']['addObject'](_0x114449,_0x2d547f['TEXT_RANGE_LAYER_INDEX']);const _0x1bc41a=new _0x5c9ee8(_0x68e1aa+_0x2d86c8[_0x17562d(0x427)][_0x17562d(0x3d3)](_0x2e6efd),{'left':_0x1e7e4f+_0x45600c-_0x57ad18,'top':_0x2a7189+_0x3960d3-_0xec0906,'text':_0x5cc3d8,'color':_0x5a877c});this[_0x17562d(0x328)]=_0x1bc41a,this[_0x17562d(0x269)][_0x17562d(0x40b)](_0x1bc41a,_0x2d547f[_0x17562d(0x37f)]),this[_0x17562d(0x2e7)]=!0x1;}['_handleHover'](){const _0x2b2887=_0xc63213,_0x29c7f7=this['_anchor'][_0x2b2887(0x1ed)][_0x2b2887(0x352)](()=>{const _0x2309f4=_0x2b2887;this[_0x2309f4(0x2e7)]=!0x0;}),_0x2c79ae=this[_0x2b2887(0x19c)][_0x2b2887(0x1b6)][_0x2b2887(0x352)](()=>{const _0x156d02=_0x2b2887;this[_0x156d02(0x22a)]&&clearTimeout(this[_0x156d02(0x22a)]),this[_0x156d02(0x22a)]=setTimeout(()=>{const _0x47b29d=_0x156d02;this[_0x47b29d(0x2e7)]=!0x1;},0x7d0);});return()=>{const _0x2754ac=_0x2b2887;_0x29c7f7[_0x2754ac(0x193)](),_0x2c79ae[_0x2754ac(0x193)]();};}[_0xc63213(0x242)](_0x594288,_0x27c356,_0x4225be,_0x25cd41){const _0x3bab0c=_0xc63213,_0x1f147d=new _0x2d86c8[(_0x3bab0c(0x3ac))](_0x594288)['setAlpha'](0.2)['toRgbString'](),_0x388780=new _0x115e2b['RegularPolygon'](_0x35631b+_0x2d86c8['Tools'][_0x3bab0c(0x3d3)](_0x2e6efd),{'pointsGroup':_0x27c356,'fill':_0x1f147d||_0x115e2b[_0x3bab0c(0x1d5)](_0x2d86c8[_0x3bab0c(0x25d)][_0x3bab0c(0x1fb)],0.2),'left':_0x4225be,'top':_0x25cd41,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3bab0c(0x289)]['push'](_0x388780),this[_0x3bab0c(0x269)]['addObject'](_0x388780,_0x2d547f[_0x3bab0c(0x37f)]);}[_0xc63213(0x345)](_0x184f80,_0x53aaa4,_0x9196e0,_0x4cedf9){const _0xa074dc=_0xc63213,_0x47aab4=new _0x2d86c8[(_0xa074dc(0x3ac))](_0x184f80)[_0xa074dc(0x309)](0.2)[_0xa074dc(0x2c8)](),_0x2f12d5=new _0x115e2b['RegularPolygon'](_0x5c985a+_0x2d86c8[_0xa074dc(0x427)][_0xa074dc(0x3d3)](_0x2e6efd),{'pointsGroup':_0x53aaa4,'fill':_0x47aab4||_0x115e2b[_0xa074dc(0x1d5)](_0x2d86c8[_0xa074dc(0x25d)]['black'],0.2),'left':_0x9196e0,'top':_0x4cedf9,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xa074dc(0x289)][_0xa074dc(0x244)](_0x2f12d5),this[_0xa074dc(0x269)][_0xa074dc(0x40b)](_0x2f12d5,_0x2d547f[_0xa074dc(0x37f)]);}[_0xc63213(0x29e)](_0x1a8691){const _0x2d9e70=_0x1a8691[0x0],_0x53d8e7=_0x2d9e70[0x0],_0x383284=_0x2d9e70[0x2],{x:_0x4d32d7,y:_0x16c773}=_0x53d8e7,{x:_0x14f328,y:_0x35145d}=_0x383284;return{'left':_0x4d32d7,'top':_0x16c773,'width':_0x14f328-_0x4d32d7,'height':_0x35145d-_0x16c773};}[_0xc63213(0x3f6)](){const _0x16f4f4=_0xc63213,{scaleX:_0x4c7c6b,scaleY:_0x387fad}=this[_0x16f4f4(0x269)][_0x16f4f4(0x1c6)]();return Math['max'](_0x4c7c6b,_0x387fad);}}var _0x1ec81f=Object[_0xc63213(0x21d)],_0xe8a1ce=(_0x1d7e0d,_0x57bb16,_0xdad5bd,_0x8bc085)=>{const _0x50ab38=_0xc63213;for(var _0x4cff72=_0x8bc085>0x1?void 0x0:_0x8bc085?_0x1ec81f(_0x57bb16,_0xdad5bd):_0x57bb16,_0x4b34e6=_0x1d7e0d[_0x50ab38(0x338)]-0x1,_0x3c0125;_0x4b34e6>=0x0;_0x4b34e6--)(_0x3c0125=_0x1d7e0d[_0x4b34e6])&&(_0x4cff72=_0x3c0125(_0x4cff72)||_0x4cff72);return _0x4cff72;},_0x5af759=(_0x1768a2,_0x33d004)=>(_0x19ae0a,_0xddfbb9)=>_0x33d004(_0x19ae0a,_0xddfbb9,_0x1768a2);let _0x708f09=class extends _0x2d86c8[_0xc63213(0x268)]{constructor(_0x1beb16,_0x587fbc,_0x369c06,_0x472fc6,_0x15a3fe){const _0x3e9813=_0xc63213;super(),_0x3955ad(this,_0x3e9813(0x1b9),[]),_0x3955ad(this,_0x3e9813(0x292),[]),(this[_0x3e9813(0x1d4)]=_0x1beb16,this[_0x3e9813(0x41d)]=_0x587fbc,this[_0x3e9813(0x2c5)]=_0x369c06,this['_commandService']=_0x472fc6,this[_0x3e9813(0x226)]=_0x15a3fe,this[_0x3e9813(0x201)]());}['_init'](){const _0x4d7d34=_0xc63213,_0x251a17=this[_0x4d7d34(0x1d4)][_0x4d7d34(0x334)],_0x3fb26d=this[_0x4d7d34(0x41d)];this[_0x4d7d34(0x426)](_0x20e3e2[_0x4d7d34(0x37e)]([this[_0x4d7d34(0x2c5)]['getCollabCursors$'](_0x251a17),this[_0x4d7d34(0x226)][_0x4d7d34(0x36d)]])[_0x4d7d34(0x1de)](_0x371e95['map'](([_0x219ea1,_0x2f3b63])=>({'skeleton':_0x3fb26d[_0x4d7d34(0x409)](),'cursors':[..._0x219ea1['values']()][_0x4d7d34(0x24f)](_0x5beef2=>({..._0x5beef2,'color':this[_0x4d7d34(0x226)][_0x4d7d34(0x2a7)](_0x5beef2[_0x4d7d34(0x1a7)])}))})))[_0x4d7d34(0x27a)](_0x382e6f=>{const _0x4c7acd=_0x4d7d34;if(this[_0x4c7acd(0x3e3)](),_0x382e6f){const {skeleton:_0xdecc37,cursors:_0x15e27d}=_0x382e6f;this[_0x4c7acd(0x1dd)](_0xdecc37,_0x15e27d);}})),this[_0x4d7d34(0x21f)](),this['_initCommandExecutedListener']();}[_0xc63213(0x1dd)](_0x4a26d2,_0x2a1307){const _0xc24913=_0xc63213,{scene:_0xe1f7ea,mainComponent:_0xb8e17b}=this[_0xc24913(0x1d4)],_0x18fcc3=_0x2a1307[_0xc24913(0x2a6)](_0x4adf00=>new _0x2d33a1(_0x4adf00,_0xe1f7ea,_0x4a26d2,_0xb8e17b));this[_0xc24913(0x1b9)]=_0x18fcc3,this[_0xc24913(0x292)]=_0x2a1307;}[_0xc63213(0x2e1)](){const _0x3111f5=_0xc63213;this[_0x3111f5(0x3e3)]();const {scene:_0xb75cb6,mainComponent:_0x2ac992}=this[_0x3111f5(0x1d4)],_0x4ca8ba=this[_0x3111f5(0x41d)][_0x3111f5(0x409)](),_0x506db5=this[_0x3111f5(0x292)][_0x3111f5(0x2a6)](_0x10bef6=>new _0x2d33a1(_0x10bef6,_0xb75cb6,_0x4ca8ba,_0x2ac992));this[_0x3111f5(0x1b9)]=_0x506db5;}['_removeCollabCursors'](){const _0x56ff49=_0xc63213;this[_0x56ff49(0x1b9)][_0x56ff49(0x2b6)](_0x100171=>_0x100171[_0x56ff49(0x31c)]()),this[_0x56ff49(0x1b9)]=[];}[_0xc63213(0x1a9)](){const _0x286abe=_0xc63213,_0x3f3add=[_0x2d547f['SetDocZoomRatioOperation']['id']];this[_0x286abe(0x426)](this[_0x286abe(0x203)][_0x286abe(0x208)](_0x8f28ef=>{const _0x49a208=_0x286abe;_0x3f3add['includes'](_0x8f28ef['id'])&&_0x8f28ef[_0x49a208(0x3f9)]['unitId']===this[_0x49a208(0x1d4)][_0x49a208(0x334)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x322feb=_0xc63213;this[_0x322feb(0x426)](_0x2d86c8[_0x322feb(0x22c)](this[_0x322feb(0x1d4)][_0x322feb(0x1a5)][_0x322feb(0x2cd)])[_0x322feb(0x1de)](_0x371e95[_0x322feb(0x233)](_0x1d9520=>_0x1d9520[_0x322feb(0x3de)]===_0x115e2b[_0x322feb(0x3ae)][_0x322feb(0x1f3)]),_0x371e95['throttleTime'](0x10))[_0x322feb(0x27a)](()=>{const _0x3992c9=_0x322feb;this[_0x3992c9(0x2e1)]();}));}};_0x708f09=_0xe8a1ce([_0x5af759(0x1,_0x2d86c8['Inject'](_0x4d5ad2[_0xc63213(0x42c)])),_0x5af759(0x2,_0x2d86c8['Inject'](_0x5b7e3e)),_0x5af759(0x3,_0x2d86c8[_0xc63213(0x20c)]),_0x5af759(0x4,_0x2d86c8[_0xc63213(0x200)](_0x2d86c8[_0xc63213(0x420)]))],_0x708f09);const _0x1e2fd1=0x1,_0x1dc6e2=1.5;class _0x34c4d7 extends _0x115e2b[_0xc63213(0x42f)]{constructor(_0x314f9c,_0xdc77e1){const _0x3527e8=_0xc63213;super(_0x314f9c,_0xdc77e1),_0x3955ad(this,_0x3527e8(0x256)),_0x3955ad(this,_0x3527e8(0x21a),!0x1),_0x3955ad(this,_0x3527e8(0x21e)),_0x3955ad(this,'_name',''),_0x3955ad(this,_0x3527e8(0x323),_0x3527e8(0x35c)),_0x3955ad(this,_0x3527e8(0x387)),(_0xdc77e1&&this[_0x3527e8(0x2d3)](_0xdc77e1),this[_0x3527e8(0x1ed)]['subscribeEvent'](()=>this[_0x3527e8(0x2d3)]({'hovered':!0x0})),this[_0x3527e8(0x1b6)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}[_0xc63213(0x2d3)](_0x2f8b94){const _0x57675b=_0xc63213;var _0xadca98,_0x408447,_0xd60a90,_0x3fbe09,_0x10d61a,_0x2dae53;this[_0x57675b(0x256)]=(_0xadca98=_0x2f8b94['color'])!=null?_0xadca98:this[_0x57675b(0x256)],this[_0x57675b(0x21a)]=(_0x408447=_0x2f8b94[_0x57675b(0x220)])!=null?_0x408447:this['_hovered'],this[_0x57675b(0x21e)]=(_0xd60a90=_0x2f8b94['range'])!=null?_0xd60a90:this['_range'],this[_0x57675b(0x2e9)]=(_0x3fbe09=_0x2f8b94[_0x57675b(0x31e)])!=null?_0x3fbe09:this[_0x57675b(0x2e9)],this[_0x57675b(0x323)]=(_0x10d61a=_0x2f8b94[_0x57675b(0x23f)])!=null?_0x10d61a:this['_labelPosition'],this[_0x57675b(0x387)]=(_0x2dae53=_0x2f8b94[_0x57675b(0x347)])!=null?_0x2dae53:this[_0x57675b(0x387)],this[_0x57675b(0x2f0)]({'width':_0x2f8b94[_0x57675b(0x3f5)],'height':_0x2f8b94[_0x57675b(0x294)]});}[_0xc63213(0x3e8)](_0x396c2a){const _0x504136=_0xc63213,{row:_0x2ecb4b,column:_0x921ae3}=_0x396c2a;if(_0x2ecb4b>=this[_0x504136(0x21e)]['startRow']&&_0x2ecb4b<=this['_range'][_0x504136(0x3d5)]&&_0x921ae3>=this[_0x504136(0x21e)][_0x504136(0x3d1)]&&_0x921ae3<=this[_0x504136(0x21e)][_0x504136(0x388)]){this[_0x504136(0x2d3)]({'hovered':!0x0});return;}this[_0x504136(0x2d3)]({'hovered':!0x1});}['triggerDblclick'](_0x3f6b95){return!0x1;}[_0xc63213(0x325)](_0x92d614){const _0x4a6460=_0xc63213;_0x115e2b[_0x4a6460(0x3f1)][_0x4a6460(0x350)](_0x92d614,{'width':this[_0x4a6460(0x3f5)],'height':this[_0x4a6460(0x294)],'strokeWidth':_0x1dc6e2,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x4a6460(0x387)]}),this[_0x4a6460(0x21a)]&&(_0x92d614[_0x4a6460(0x2ba)](),_0x92d614[_0x4a6460(0x408)](0x1,0x0,0x0,0x1,this['width'],this[_0x4a6460(0x323)]===_0x4a6460(0x3df)?0x0:-0x14),_0x5c9ee8[_0x4a6460(0x350)](_0x92d614,{'text':this['_name'],'color':this[_0x4a6460(0x256)]}),_0x92d614['restore']());}}var _0x1da8aa=Object[_0xc63213(0x21d)],_0x406130=(_0x10b38a,_0x27e964,_0x17d179,_0x2afc01)=>{const _0x1ce938=_0xc63213;for(var _0x4220f0=_0x2afc01>0x1?void 0x0:_0x2afc01?_0x1da8aa(_0x27e964,_0x17d179):_0x27e964,_0x4e7ec9=_0x10b38a[_0x1ce938(0x338)]-0x1,_0x3aeeb5;_0x4e7ec9>=0x0;_0x4e7ec9--)(_0x3aeeb5=_0x10b38a[_0x4e7ec9])&&(_0x4220f0=_0x3aeeb5(_0x4220f0)||_0x4220f0);return _0x4220f0;},_0x117172=(_0x7e05fc,_0x61acb9)=>(_0x597a5a,_0x56772b)=>_0x61acb9(_0x597a5a,_0x56772b,_0x7e05fc);const _0x396de3=0x1389;let _0xc95914=class extends _0x2d86c8[_0xc63213(0x268)]{constructor(_0x5b0b58,_0x109f05,_0x3661ce,_0x2a61fe){const _0x3bdf62=_0xc63213;super(),_0x3955ad(this,_0x3bdf62(0x292),new Set()),_0x3955ad(this,_0x3bdf62(0x2b7),null),(this[_0x3bdf62(0x1d4)]=_0x5b0b58,this['_sheetSkeletonManagerService']=_0x109f05,this[_0x3bdf62(0x2c5)]=_0x3661ce,this[_0x3bdf62(0x226)]=_0x2a61fe,this[_0x3bdf62(0x201)]());}[_0xc63213(0x201)](){const _0x507438=_0xc63213;this[_0x507438(0x3ab)][_0x507438(0x3a4)][_0x507438(0x1de)](_0x371e95[_0x507438(0x273)](this['dispose$']),_0x371e95[_0x507438(0x3cd)](_0x6f639a=>{const _0x1554a4=_0x507438;if(_0x6f639a){const _0x23aeb2=_0x6f639a[_0x1554a4(0x284)];return _0x20e3e2[_0x1554a4(0x37e)](this[_0x1554a4(0x2c5)][_0x1554a4(0x198)](this[_0x1554a4(0x1d4)][_0x1554a4(0x334)]),this[_0x1554a4(0x226)][_0x1554a4(0x36d)])[_0x1554a4(0x1de)](_0x371e95[_0x1554a4(0x2a6)](([_0x114e09,_0x3a9b80])=>{const _0xccaddb=_0x1554a4,_0x1852e4=new Map();return _0x114e09[_0xccaddb(0x2b6)]((_0x5be358,_0x23db59)=>{const _0x54da83=_0xccaddb;if(_0x5be358['sheetID']===_0x23aeb2){const _0x1a4012={..._0x5be358};_0x1a4012[_0x54da83(0x1a7)]=this[_0x54da83(0x226)]['getColorFromTheme'](_0x5be358[_0x54da83(0x1a7)]),_0x1852e4[_0x54da83(0x1bb)](_0x23db59,_0x1a4012);}}),{'skeleton':_0x6f639a,'cursors':_0x1852e4};}));}return _0x20e3e2['of']({'skeleton':null,'cursors':new Map()});}))[_0x507438(0x27a)](({skeleton:_0x32224b,cursors:_0x258250})=>{const _0x3f0904=_0x507438;this[_0x3f0904(0x3e3)](),_0x32224b&&this[_0x3f0904(0x1dd)](_0x32224b,_0x258250);}),this[_0x507438(0x3ab)][_0x507438(0x3a4)][_0x507438(0x27a)](_0x2cf3e1=>{const _0x4b601=_0x507438;if(_0x2cf3e1==null)return;const {skeleton:_0x559232}=_0x2cf3e1,{scene:_0x2d3a3c}=this[_0x4b601(0x1d4)];_0x2d3a3c['onPointerMove$'][_0x4b601(0x352)](_0x2d86c8[_0x4b601(0x2b9)](_0x52e4b0=>{const _0x3ab4d0=_0x4b601;var _0xd6cb2,_0x1073fb;const {offsetX:_0x459e55,offsetY:_0x5cef1a}=_0x52e4b0,{x:_0x170b83,y:_0x1d5216}=_0x2d3a3c[_0x3ab4d0(0x380)](_0x115e2b['Vector2'][_0x3ab4d0(0x21c)]([_0x459e55,_0x5cef1a])),{scaleX:_0x48fad4,scaleY:_0x5a2df1}=_0x2d3a3c['getAncestorScale'](),_0x47931f=_0x2d3a3c['getViewport'](_0x115e2b['SHEET_VIEWPORT_KEY'][_0x3ab4d0(0x3e9)]),_0x10c880=_0x2d3a3c['getVpScrollXYInfoByPosToVp'](_0x115e2b['Vector2']['FromArray']([_0x170b83,_0x1d5216]),_0x47931f),_0x162195=_0x559232[_0x3ab4d0(0x197)](_0x459e55,_0x5cef1a,_0x48fad4,_0x5a2df1,_0x10c880);((_0xd6cb2=this['_lastPointer'])==null?void 0x0:_0xd6cb2[_0x3ab4d0(0x1e0)])===_0x162195[_0x3ab4d0(0x1e0)]&&((_0x1073fb=this[_0x3ab4d0(0x2b7)])==null?void 0x0:_0x1073fb[_0x3ab4d0(0x333)])===_0x162195['row']||this[_0x3ab4d0(0x292)][_0x3ab4d0(0x2b6)](_0x510eff=>{const _0x17b17c=_0x3ab4d0;_0x510eff[_0x17b17c(0x3e8)](_0x162195);});},0x64));});}['_updateCollabCursors'](_0x514cf4,_0xffc020){const _0x2cd9cb=_0xc63213;var _0x5cae54;const _0x33fa58=(_0x5cae54=this['_sheetSkeletonManagerService'][_0x2cd9cb(0x318)]())==null?void 0x0:_0x5cae54['skeleton'];if(!_0x33fa58)return;const _0x59ac5e=this[_0x2cd9cb(0x417)]();if(!_0x59ac5e)return;this[_0x2cd9cb(0x292)][_0x2cd9cb(0x2b6)](_0x16ebdb=>{const _0x245455=_0x2cd9cb;_0x16ebdb[_0x245455(0x3a0)]();});const {scene:_0x568e3c}=_0x59ac5e,_0x5372f2=_0x2588fd(Array[_0x2cd9cb(0x404)](_0xffc020[_0x2cd9cb(0x1d9)]()))[_0x2cd9cb(0x2a6)](_0x317050=>{const _0x3297d8=_0x2cd9cb,{color:_0x383838,range:_0x4eecca,name:_0x16a86a,selection:_0x3470e9,sheetID:_0x33476a}=_0x317050,{startColumn:_0x27bed7,startRow:_0x55bca2,endColumn:_0x536a2f,endRow:_0x5d02b5}=_0x4eecca,_0x29fc03=_0x451db8[_0x3297d8(0x394)](_0x55bca2,_0x27bed7,_0x568e3c,_0x33fa58),_0x88e1be=_0x451db8[_0x3297d8(0x394)](_0x5d02b5,_0x536a2f,_0x568e3c,_0x33fa58),{columnHeaderHeightAndMarginTop:_0x10df1e}=_0x33fa58,{startX:_0x17d177,startY:_0x368cdc}=_0x29fc03,{endX:_0x5b6595,endY:_0x508ae5}=_0x88e1be,_0x59bb84=_0x5b6595-_0x17d177,_0xaf91a5=_0x508ae5-_0x368cdc,_0x4a0c27={'labelPosition':_0x368cdc-_0x10df1e>=_0xec0906?_0x3297d8(0x35c):'bottom','sheetID':_0x33476a,'range':_0x4eecca,'color':_0x383838,'name':_0x16a86a,'selection':_0x3470e9,'left':_0x17d177,'top':_0x368cdc,'width':_0x59bb84,'height':_0xaf91a5,'evented':!0x1,'zIndex':_0x396de3};return new _0x34c4d7(_0x16a86a,_0x4a0c27);});_0x568e3c['addObjects'](_0x5372f2,_0x1e2fd1),this[_0x2cd9cb(0x292)]=new Set(_0x5372f2);}[_0xc63213(0x3e3)](){const _0x3d2db3=_0xc63213;var _0x37ec64;(_0x37ec64=this[_0x3d2db3(0x292)])==null||_0x37ec64[_0x3d2db3(0x2b6)](_0x380c61=>_0x380c61[_0x3d2db3(0x31c)]());}['_getSheetObject'](){const _0x4bfda1=_0xc63213;return _0x451db8[_0x4bfda1(0x2f8)](this['_context'][_0x4bfda1(0x316)],this[_0x4bfda1(0x1d4)]);}};_0xc95914=_0x406130([_0x117172(0x1,_0x2d86c8[_0xc63213(0x200)](_0x451db8[_0xc63213(0x3b8)])),_0x117172(0x2,_0x2d86c8[_0xc63213(0x200)](_0x5b7e3e)),_0x117172(0x3,_0x2d86c8[_0xc63213(0x200)](_0x2d86c8[_0xc63213(0x420)]))],_0xc95914);function _0x2588fd(_0x10d3b3){const _0x20c6bf=_0xc63213,_0x3a5a4e=new Map();return _0x10d3b3[_0x20c6bf(0x2b6)](_0x22c467=>{const _0x180be3=_0x20c6bf;if(_0x3a5a4e['has'](_0x22c467['selection'])){const _0x29c467=_0x3a5a4e[_0x180be3(0x20f)](_0x22c467['selection']);_0x29c467['name']+=',\x20'+_0x22c467[_0x180be3(0x31e)];}else _0x3a5a4e[_0x180be3(0x1bb)](_0x22c467[_0x180be3(0x283)],_0x22c467);}),Array['from'](_0x3a5a4e[_0x20c6bf(0x1d9)]());}var _0x29d1e5=function(){const _0x5f5c15=_0xc63213;return _0x29d1e5=Object[_0x5f5c15(0x410)]||function(_0x3b2d4c){const _0x4cfa0b=_0x5f5c15;for(var _0x5a365c,_0x20b467=0x1,_0x24444b=arguments['length'];_0x20b467<_0x24444b;_0x20b467++){_0x5a365c=arguments[_0x20b467];for(var _0x47661f in _0x5a365c)Object['prototype'][_0x4cfa0b(0x243)]['call'](_0x5a365c,_0x47661f)&&(_0x3b2d4c[_0x47661f]=_0x5a365c[_0x47661f]);}return _0x3b2d4c;},_0x29d1e5[_0x5f5c15(0x385)](this,arguments);},_0x2f051c=function(_0x393162,_0x31e3ae){const _0x1339bf=_0xc63213;var _0x2dae7a={};for(var _0xabb2ad in _0x393162)Object[_0x1339bf(0x2ab)][_0x1339bf(0x243)][_0x1339bf(0x406)](_0x393162,_0xabb2ad)&&_0x31e3ae['indexOf'](_0xabb2ad)<0x0&&(_0x2dae7a[_0xabb2ad]=_0x393162[_0xabb2ad]);if(_0x393162!=null&&typeof Object[_0x1339bf(0x239)]==_0x1339bf(0x39c)){for(var _0x3b5853=0x0,_0xabb2ad=Object[_0x1339bf(0x239)](_0x393162);_0x3b5853<_0xabb2ad['length'];_0x3b5853++)_0x31e3ae[_0x1339bf(0x3ba)](_0xabb2ad[_0x3b5853])<0x0&&Object[_0x1339bf(0x2ab)]['propertyIsEnumerable'][_0x1339bf(0x406)](_0x393162,_0xabb2ad[_0x3b5853])&&(_0x2dae7a[_0xabb2ad[_0x3b5853]]=_0x393162[_0xabb2ad[_0x3b5853]]);}return _0x2dae7a;},_0x14d2ac=_0x4faaa2[_0xc63213(0x252)](function(_0x79e41e,_0xffff26){const _0x54f47a=_0xc63213;var _0x1723b0=_0x79e41e[_0x54f47a(0x20d)],_0x26ca94=_0x79e41e['id'],_0x405dda=_0x79e41e['className'],_0x126afa=_0x79e41e[_0x54f47a(0x375)],_0x5532b8=_0x2f051c(_0x79e41e,[_0x54f47a(0x20d),'id','className',_0x54f47a(0x375)]),_0x33cef1='univerjs-icon\x20univerjs-icon-'['concat'](_0x26ca94,'\x20')[_0x54f47a(0x381)](_0x405dda||'')[_0x54f47a(0x265)](),_0x3f1572=_0x4faaa2[_0x54f47a(0x25b)]('_'[_0x54f47a(0x381)](_0x2df6a2()));return _0x22ee99(_0x1723b0,''[_0x54f47a(0x381)](_0x26ca94),{'defIds':_0x1723b0[_0x54f47a(0x36b)],'idSuffix':_0x3f1572[_0x54f47a(0x306)]},_0x29d1e5({'ref':_0xffff26,'className':_0x33cef1},_0x5532b8),_0x126afa);});function _0x22ee99(_0x18caf9,_0x13e91f,_0x39f5e9,_0x55640f,_0x5b44b3){const _0xc53215=_0xc63213;return _0x4faaa2[_0xc53215(0x363)](_0x18caf9['tag'],_0x29d1e5(_0x29d1e5({'key':_0x13e91f},_0x35c955(_0x18caf9,_0x39f5e9,_0x5b44b3)),_0x55640f),(_0x3d67df(_0x18caf9,_0x39f5e9)[_0xc53215(0x1f1)]||[])['map'](function(_0x545d92,_0x2dfb88){const _0xf41ba5=_0xc53215;return _0x22ee99(_0x545d92,''[_0xf41ba5(0x381)](_0x13e91f,'-')['concat'](_0x18caf9[_0xf41ba5(0x360)],'-')[_0xf41ba5(0x381)](_0x2dfb88),_0x39f5e9,void 0x0,_0x5b44b3);}));}function _0x35c955(_0x1d6b73,_0x28eb06,_0xf6f654){const _0x1488be=_0xc63213;var _0x52736f=_0x29d1e5({},_0x1d6b73[_0x1488be(0x27d)]);_0xf6f654!=null&&_0xf6f654[_0x1488be(0x234)]&&_0x52736f[_0x1488be(0x262)]===_0x1488be(0x234)&&(_0x52736f['fill']=_0xf6f654[_0x1488be(0x234)]),_0x1d6b73[_0x1488be(0x360)]==='mask'&&_0x52736f['id']&&(_0x52736f['id']=_0x52736f['id']+_0x28eb06[_0x1488be(0x2ca)]),Object[_0x1488be(0x3aa)](_0x52736f)[_0x1488be(0x2b6)](function(_0xe01bc2){const _0x165dc0=_0x1488be;var _0x3eebb5=_0xe01bc2[0x0],_0x59c556=_0xe01bc2[0x1];_0x3eebb5==='mask'&&typeof _0x59c556==_0x165dc0(0x291)&&(_0x52736f[_0x3eebb5]=_0x59c556['replace'](/url\(#(.*)\)/,_0x165dc0(0x2ed)[_0x165dc0(0x381)](_0x28eb06[_0x165dc0(0x2ca)],')')));});var _0xd0c25a=_0x28eb06[_0x1488be(0x36b)];return!_0xd0c25a||_0xd0c25a[_0x1488be(0x338)]===0x0||(_0x1d6b73['tag']==='use'&&_0x52736f[_0x1488be(0x33d)]&&(_0x52736f[_0x1488be(0x33d)]=_0x52736f[_0x1488be(0x33d)]+_0x28eb06[_0x1488be(0x2ca)]),Object[_0x1488be(0x3aa)](_0x52736f)[_0x1488be(0x2b6)](function(_0x43f37b){const _0x2a0575=_0x1488be;var _0x1c48eb=_0x43f37b[0x0],_0x17a549=_0x43f37b[0x1];typeof _0x17a549==_0x2a0575(0x291)&&(_0x52736f[_0x1c48eb]=_0x17a549['replace'](/url\(#(.*)\)/,'url(#$1'[_0x2a0575(0x381)](_0x28eb06[_0x2a0575(0x2ca)],')')));})),_0x52736f;}function _0x3d67df(_0x51dafe,_0x3032da){const _0x15103c=_0xc63213;var _0x3469b8,_0x4ea537=_0x3032da['defIds'];return!_0x4ea537||_0x4ea537['length']===0x0?_0x51dafe:_0x51dafe[_0x15103c(0x360)]==='defs'&&(!((_0x3469b8=_0x51dafe[_0x15103c(0x1f1)])===null||_0x3469b8===void 0x0)&&_0x3469b8[_0x15103c(0x338)])?_0x29d1e5(_0x29d1e5({},_0x51dafe),{'children':_0x51dafe[_0x15103c(0x1f1)]['map'](function(_0x25c90e){const _0x5d7dd7=_0x15103c;return typeof _0x25c90e['attrs']['id']==_0x5d7dd7(0x291)&&_0x4ea537&&_0x4ea537['includes'](_0x25c90e[_0x5d7dd7(0x27d)]['id'])?_0x29d1e5(_0x29d1e5({},_0x25c90e),{'attrs':_0x29d1e5(_0x29d1e5({},_0x25c90e[_0x5d7dd7(0x27d)]),{'id':_0x25c90e['attrs']['id']+_0x3032da[_0x5d7dd7(0x2ca)]})}):_0x25c90e;})}):_0x51dafe;}function _0x2df6a2(){const _0x422d24=_0xc63213;return Math[_0x422d24(0x1e3)]()['toString'](0x24)['substring'](0x2,0x8);}_0x14d2ac[_0xc63213(0x272)]='UniverIcon';var _0xbc5551={'tag':_0xc63213(0x3bf),'attrs':{'xmlns':_0xc63213(0x3f4),'fill':_0xc63213(0x1b0),'viewBox':_0xc63213(0x2dc),'width':'1em','height':_0xc63213(0x3d7)},'children':[{'tag':'g','attrs':{'clipPath':_0xc63213(0x1f7)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','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':_0xc63213(0x3c0),'strokeLinejoin':_0xc63213(0x3c0),'strokeWidth':1.2}}]},{'tag':_0xc63213(0x2d7),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0xc63213(0x3fa)},'children':[{'tag':_0xc63213(0x3b5),'attrs':{'fill':_0xc63213(0x329),'d':_0xc63213(0x32b)}}]}]}],'defIds':[_0xc63213(0x3fa)]},_0xd634fb=_0x4faaa2[_0xc63213(0x252)](function(_0x2c842a,_0x364c80){const _0x220691=_0xc63213;return _0x4faaa2[_0x220691(0x363)](_0x14d2ac,Object[_0x220691(0x410)]({},_0x2c842a,{'id':_0x220691(0x369),'ref':_0x364c80,'icon':_0xbc5551}));});_0xd634fb[_0xc63213(0x272)]=_0xc63213(0x2d1);var _0x3f9f10={'tag':_0xc63213(0x3bf),'attrs':{'xmlns':_0xc63213(0x3f4),'fill':'none','viewBox':_0xc63213(0x2d0),'width':_0xc63213(0x3d7),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0xc63213(0x1d3)},'children':[{'tag':'path','attrs':{'stroke':_0xc63213(0x2a4),'d':_0xc63213(0x3d6),'strokeLinecap':_0xc63213(0x3c0),'strokeLinejoin':_0xc63213(0x3c0),'strokeWidth':1.2}}]},{'tag':_0xc63213(0x2d7),'attrs':{},'children':[{'tag':_0xc63213(0x33f),'attrs':{'id':_0xc63213(0x2df)},'children':[{'tag':_0xc63213(0x3b5),'attrs':{'fill':_0xc63213(0x329),'d':'M0\x200H16V16H0z','transform':_0xc63213(0x344)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x3caa17=_0x4faaa2[_0xc63213(0x252)](function(_0x1c9b69,_0x4054da){const _0x227724=_0xc63213;return _0x4faaa2['createElement'](_0x14d2ac,Object['assign']({},_0x1c9b69,{'id':_0x227724(0x42e),'ref':_0x4054da,'icon':_0x3f9f10}));});_0x3caa17['displayName']=_0xc63213(0x3b2);function _0x41a2a1(_0x563cf6){const _0x8d92bd=_0xc63213;switch(_0x563cf6){case _0x2912f8[_0x8d92bd(0x3f0)][_0x8d92bd(0x37d)]:return _0x8d92bd(0x313);case _0x2912f8[_0x8d92bd(0x3f0)][_0x8d92bd(0x3ec)]:return'collabStatus.conflict';case _0x2912f8[_0x8d92bd(0x3f0)][_0x8d92bd(0x2c2)]:return'collabStatus.fetchMiss';case _0x2912f8[_0x8d92bd(0x3f0)][_0x8d92bd(0x2d6)]:return _0x8d92bd(0x30d);case _0x2912f8[_0x8d92bd(0x3f0)][_0x8d92bd(0x327)]:case _0x2912f8[_0x8d92bd(0x3f0)][_0x8d92bd(0x27c)]:return _0x8d92bd(0x1e4);case _0x2912f8[_0x8d92bd(0x3f0)][_0x8d92bd(0x24c)]:case _0x2912f8[_0x8d92bd(0x3f0)]['PENDING']:return'collabStatus.synced';}}function _0x4160a2(_0x9fa72f){const _0x272d5e=_0xc63213,{status$:_0x19f1f4}=_0x9fa72f,_0x5d9c73=_0x8c906d['useObservable'](_0x19f1f4,_0x2912f8[_0x272d5e(0x3f0)]['NOT_COLLAB']),_0x59322c=_0x8c906d[_0x272d5e(0x209)](_0x2d86c8[_0x272d5e(0x19d)]),_0x10678c=_0x8c906d['useDependency'](_0x2912f8['CollaborationSessionService']),_0x403073=_0x5d9c73!==_0x2912f8['CollaborationStatus'][_0x272d5e(0x37d)],_0x30e48e=_0x59322c['t'](_0x41a2a1(_0x5d9c73)),_0x1f54da=_0x403073?_0x485257[_0x272d5e(0x19e)](_0x3caa17,{}):_0x485257[_0x272d5e(0x19e)](_0xd634fb,{}),_0x2da34f=_0x4faaa2[_0x272d5e(0x225)](()=>{const _0xcff3a=_0x272d5e;_0x403073||_0x10678c[_0xcff3a(0x29d)]();},[_0x403073,_0x10678c]);function _0x11907d(){const _0x11e7a7=_0x272d5e;return _0x485257['jsxs'](_0x11e7a7(0x2f6),{'className':_0x11e7a7(0x1cc),'onClick':_0x2da34f,'children':[_0x485257[_0x11e7a7(0x19e)](_0x11e7a7(0x2f6),{'className':_0x2173df[_0x11e7a7(0x361)](_0x11e7a7(0x29a),{'univer-text-green-500':_0x403073,'univer-text-red-500':!_0x403073}),'children':_0x1f54da}),_0x485257['jsx'](_0x11e7a7(0x2f6),{'className':_0x11e7a7(0x36f),'children':_0x30e48e})]});}return _0x403073?_0x11907d():_0x485257['jsx'](_0x2173df[_0x272d5e(0x23a)],{'title':_0x59322c['t']('collab-client.tooltip.reconnect'),'children':_0x11907d()});}var _0x255d24=Object[_0xc63213(0x21d)],_0x4d6026=(_0x914ff5,_0x3f7d5c,_0x5b042d,_0x280de2)=>{const _0x33b838=_0xc63213;for(var _0x3e78e2=_0x280de2>0x1?void 0x0:_0x280de2?_0x255d24(_0x3f7d5c,_0x5b042d):_0x3f7d5c,_0x1ff143=_0x914ff5[_0x33b838(0x338)]-0x1,_0x3af15c;_0x1ff143>=0x0;_0x1ff143--)(_0x3af15c=_0x914ff5[_0x1ff143])&&(_0x3e78e2=_0x3af15c(_0x3e78e2)||_0x3e78e2);return _0x3e78e2;},_0x3d826c=(_0x122884,_0x359d1d)=>(_0x1c838f,_0x3204f7)=>_0x359d1d(_0x1c838f,_0x3204f7,_0x122884);_0xcf7480['DesktopCollaborationStatusDisplayController']=class extends _0x2d86c8[_0xc63213(0x250)]{constructor(_0xc40054,_0x5b1e5f,_0x291d33,_0x29f760){const _0x43bafc=_0xc63213;super(),_0x3955ad(this,_0x43bafc(0x348),new _0x20e3e2[(_0x43bafc(0x3b6))](_0x2912f8[_0x43bafc(0x3f0)][_0x43bafc(0x2d6)])),(this[_0x43bafc(0x34e)]=_0xc40054,this[_0x43bafc(0x199)]=_0x5b1e5f,this['_collaborationController']=_0x291d33,this['_uiPartsService']=_0x29f760,this['_initStatusComponent'](),this['_initStatusListener']());}[_0xc63213(0x2cf)](){const _0xb5b537=_0xc63213;this['disposeWithMe'](this[_0xb5b537(0x34e)]['focused$'][_0xb5b537(0x1de)](_0x20e3e2[_0xb5b537(0x3cd)](()=>{const _0x19564d=_0xb5b537,_0x551384=this[_0x19564d(0x34e)][_0x19564d(0x1aa)]();return _0x551384?this[_0x19564d(0x34d)][_0x19564d(0x1c4)](_0x551384[_0x19564d(0x20b)]()):_0x20e3e2['of'](null);}),_0x20e3e2[_0xb5b537(0x3cd)](_0x2b77c7=>_0x2b77c7?_0x2b77c7[_0xb5b537(0x1ad)]:_0x20e3e2['of'](_0x2912f8[_0xb5b537(0x3f0)][_0xb5b537(0x2d6)])))[_0xb5b537(0x27a)](_0x356118=>{const _0x4eacba=_0xb5b537;this[_0x4eacba(0x348)]['next'](_0x356118);}));}['_initStatusComponent'](){const _0x3c3936=_0xc63213;this[_0x3c3936(0x426)](this[_0x3c3936(0x2bd)]['registerComponent'](_0x8c906d[_0x3c3936(0x281)][_0x3c3936(0x2ff)],()=>_0x8c906d[_0x3c3936(0x389)](_0x361979({'status$':this[_0x3c3936(0x348)]['asObservable']()}),this[_0x3c3936(0x199)])));}},_0xcf7480[_0xc63213(0x3ca)]=_0x4d6026([_0x3d826c(0x0,_0x2d86c8['IUniverInstanceService']),_0x3d826c(0x1,_0x2d86c8[_0xc63213(0x200)](_0x2d86c8[_0xc63213(0x1e2)])),_0x3d826c(0x2,_0x2d86c8[_0xc63213(0x200)](_0x2912f8[_0xc63213(0x1f5)])),_0x3d826c(0x3,_0x8c906d[_0xc63213(0x2e3)])],_0xcf7480[_0xc63213(0x3ca)]);function _0x361979(_0x5c4ec3){const {status$:_0xf90785}=_0x5c4ec3;return function(){const _0x51c3f8=_0x3569;return _0x485257[_0x51c3f8(0x19e)](_0x4160a2,{'status$':_0xf90785});};}var _0x1a316d=Object['getOwnPropertyDescriptor'],_0x31bb2d=(_0xbbd2f6,_0x1c9b0f,_0x503dff,_0x180d83)=>{const _0x5bbe3a=_0xc63213;for(var _0x486d27=_0x180d83>0x1?void 0x0:_0x180d83?_0x1a316d(_0x1c9b0f,_0x503dff):_0x1c9b0f,_0x4691e8=_0xbbd2f6[_0x5bbe3a(0x338)]-0x1,_0x453dd5;_0x4691e8>=0x0;_0x4691e8--)(_0x453dd5=_0xbbd2f6[_0x4691e8])&&(_0x486d27=_0x453dd5(_0x486d27)||_0x486d27);return _0x486d27;},_0x43fe7a=(_0xee2376,_0x4f3f2b)=>(_0x2d49bd,_0x4c44c4)=>_0x4f3f2b(_0x2d49bd,_0x4c44c4,_0xee2376);let _0x4d6985=class extends _0x2d86c8['Disposable']{constructor(_0x2c3850,_0x20a5c7,_0x522207,_0x4e9990,_0x893cb,_0x36f2cf){const _0x54fa1d=_0xc63213;super(),this['_beforeCloseService']=_0x2c3850,this['_localCacheService']=_0x20a5c7,this['_collaborationUIEventService']=_0x522207,this[_0x54fa1d(0x282)]=_0x4e9990,this[_0x54fa1d(0x1bc)]=_0x893cb,this[_0x54fa1d(0x2fa)]=_0x36f2cf,this[_0x54fa1d(0x332)](),this[_0x54fa1d(0x299)]();}[_0xc63213(0x332)](){const _0x42c5a0=_0xc63213;this[_0x42c5a0(0x426)](this[_0x42c5a0(0x255)][_0x42c5a0(0x3f3)](()=>{const _0x3b69ce=_0x42c5a0;if(this[_0x3b69ce(0x342)][_0x3b69ce(0x27e)][_0x3b69ce(0x2c3)])return this[_0x3b69ce(0x2fa)]['t']('collaboration-client.offline-data-not-saved');}));}['_initEvent'](){const _0x412c27=_0xc63213;this['disposeWithMe'](this[_0x412c27(0x1ec)][_0x412c27(0x418)]['subscribe'](_0x40886a=>{const _0x2f189c=_0x412c27;_0x40886a['id']===_0x2912f8['CollaborationUIEventId']['OTHER_CLIENT_EDITING']&&this[_0x2f189c(0x282)]['show']({'type':_0x2173df['MessageType'][_0x2f189c(0x288)],'content':this[_0x2f189c(0x2fa)]['t'](_0x2f189c(0x196))}),_0x40886a['id']===_0x2912f8[_0x2f189c(0x37b)]['CLOSE_ROOM']&&this[_0x2f189c(0x282)][_0x2f189c(0x2bb)]({'type':_0x2173df[_0x2f189c(0x3b3)][_0x2f189c(0x288)],'content':this[_0x2f189c(0x2fa)]['t'](_0x2f189c(0x1a0))}),_0x40886a['id']===_0x2912f8['CollaborationUIEventId'][_0x2f189c(0x36e)]&&this[_0x2f189c(0x1bc)][_0x2f189c(0x2bb)]({'title':this[_0x2f189c(0x2fa)]['t'](_0x2f189c(0x356)),'content':this[_0x2f189c(0x2fa)]['t'](_0x2f189c(0x263)),'type':_0x2f189c(0x2f1),'duration':0x0}),_0x40886a['id']===_0x2912f8[_0x2f189c(0x37b)][_0x2f189c(0x3ec)]&&this[_0x2f189c(0x282)][_0x2f189c(0x2bb)]({'type':_0x2173df[_0x2f189c(0x3b3)][_0x2f189c(0x340)],'content':this['_localeService']['t'](_0x2f189c(0x1a0))+'('+_0x40886a[_0x2f189c(0x29f)]+')'}),_0x40886a['id']===_0x2912f8[_0x2f189c(0x37b)][_0x2f189c(0x2bf)]&&this[_0x2f189c(0x282)][_0x2f189c(0x2bb)]({'type':_0x2173df[_0x2f189c(0x3b3)][_0x2f189c(0x288)],'content':this[_0x2f189c(0x2fa)]['t'](_0x40886a[_0x2f189c(0x29f)]||'')}),_0x40886a['id']===_0x2912f8['CollaborationUIEventId'][_0x2f189c(0x224)]&&this[_0x2f189c(0x282)]['show']({'type':_0x2173df[_0x2f189c(0x3b3)][_0x2f189c(0x288)],'content':this[_0x2f189c(0x2fa)]['t'](_0x2f189c(0x377))}),_0x40886a['id']===_0x2912f8['CollaborationUIEventId'][_0x2f189c(0x1db)]&&this[_0x2f189c(0x282)]['show']({'type':_0x2173df['MessageType'][_0x2f189c(0x340)],'content':this[_0x2f189c(0x2fa)]['t'](_0x2f189c(0x22b))}),_0x40886a['id']===_0x2912f8[_0x2f189c(0x37b)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x2f189c(0x282)][_0x2f189c(0x2bb)]({'type':_0x2173df['MessageType'][_0x2f189c(0x340)],'content':this[_0x2f189c(0x2fa)]['t'](_0x2f189c(0x2b4))});}));}};_0x4d6985=_0x31bb2d([_0x43fe7a(0x0,_0x8c906d[_0xc63213(0x2b3)]),_0x43fe7a(0x1,_0x2912f8[_0xc63213(0x241)]),_0x43fe7a(0x2,_0x2d86c8[_0xc63213(0x200)](_0x2912f8[_0xc63213(0x3c9)])),_0x43fe7a(0x3,_0x8c906d['IMessageService']),_0x43fe7a(0x4,_0x8c906d[_0xc63213(0x402)]),_0x43fe7a(0x5,_0x2d86c8['Inject'](_0x2d86c8['LocaleService']))],_0x4d6985);const _0x54c93b=_0xc63213(0x403),_0x78f69f={},_0x28fdea=_0x2d86c8[_0xc63213(0x3be)](_0xc63213(0x248));var _0x417546=Object[_0xc63213(0x21d)],_0x4985d1=(_0x3e3f05,_0x1b1818,_0x5ec388,_0x196953)=>{const _0x5c812e=_0xc63213;for(var _0x22c151=_0x196953>0x1?void 0x0:_0x196953?_0x417546(_0x1b1818,_0x5ec388):_0x1b1818,_0x5133d0=_0x3e3f05[_0x5c812e(0x338)]-0x1,_0x88b755;_0x5133d0>=0x0;_0x5133d0--)(_0x88b755=_0x3e3f05[_0x5133d0])&&(_0x22c151=_0x88b755(_0x22c151)||_0x22c151);return _0x22c151;},_0x4404c=(_0x575d50,_0x4bf5fc)=>(_0x1c7852,_0x17166b)=>_0x4bf5fc(_0x1c7852,_0x17166b,_0x575d50);_0xcf7480['CollaborationDataLoaderController']=class extends _0x2d86c8['RxDisposable']{constructor(_0x206528,_0x39d42b,_0x30e7e4,_0x54ee49,_0x1f4049){const _0x22877c=_0xc63213;super(),this[_0x22877c(0x247)]=_0x206528,this[_0x22877c(0x245)]=_0x39d42b,this[_0x22877c(0x203)]=_0x30e7e4,this['_dataLoaderService']=_0x54ee49,_0x1f4049?_0x1f4049==null||_0x1f4049[_0x22877c(0x205)]()[_0x22877c(0x1c1)](()=>this[_0x22877c(0x201)]()):(this[_0x22877c(0x245)][_0x22877c(0x393)](_0x22877c(0x3e6),_0x22877c(0x222)),this['_init']());}async[_0xc63213(0x201)](){const _0x1f7671=_0xc63213,_0x21bed6=this['_urlService'][_0x1f7671(0x392)]('unit'),_0x2d4d1e=this['_urlService'][_0x1f7671(0x392)]('type'),_0x500d95=this['_urlService'][_0x1f7671(0x392)]('subunit');if(!_0x21bed6||!_0x2d4d1e){this[_0x1f7671(0x245)][_0x1f7671(0x393)](_0x1f7671(0x3e6),_0x1f7671(0x3a7));return;}const _0x1742b5=await this['_dataLoaderService'][_0x1f7671(0x2a9)](_0x21bed6,Number(_0x2d4d1e),_0x500d95);_0x1742b5&&_0x1742b5 instanceof _0x2d86c8[_0x1f7671(0x2c1)]&&this[_0x1f7671(0x1c7)](_0x1742b5);}async[_0xc63213(0x1c7)](_0x268a8f){const _0x5c58b1=_0xc63213;await this[_0x5c58b1(0x32a)](_0x268a8f),_0x268a8f[_0x5c58b1(0x3a5)][_0x5c58b1(0x1de)](_0x20e3e2[_0x5c58b1(0x273)](this['dispose$']))[_0x5c58b1(0x27a)](_0x2629e0=>{const _0xbe2064=_0x5c58b1;_0x2629e0&&this[_0xbe2064(0x27f)](_0x2629e0);}),this['_urlService']['urlChange$'][_0x5c58b1(0x1de)](_0x20e3e2[_0x5c58b1(0x273)](this[_0x5c58b1(0x3ff)]))[_0x5c58b1(0x27a)](()=>this[_0x5c58b1(0x32a)](_0x268a8f));}['_updateURLWithCurrentState'](_0x5a24b9,_0x2db9df=!0x1){const _0x24b59d=_0xc63213,_0x1219db=this[_0x24b59d(0x247)][_0x24b59d(0x392)]('subunit');_0x5a24b9[_0x24b59d(0x1f8)]()!==_0x1219db&&this['_urlService'][_0x24b59d(0x297)](_0x24b59d(0x1be),_0x5a24b9[_0x24b59d(0x1f8)](),_0x2db9df);}async[_0xc63213(0x32a)](_0x17af40){const _0x29a181=_0xc63213;var _0x4beacc;const _0x186299=this['_urlService'][_0x29a181(0x392)](_0x29a181(0x1be));if(!_0x186299||!_0x17af40[_0x29a181(0x315)](_0x186299)){const _0x31e138=_0x17af40[_0x29a181(0x368)]()[0x0],_0x4622c0=_0x17af40[_0x29a181(0x315)](_0x31e138);if(!_0x4622c0)return;this['_updateURLWithCurrentState'](_0x4622c0,!0x0),await this['_commandService'][_0x29a181(0x3f2)](_0x21498e['SetWorksheetActivateCommand']['id'],{'unitId':_0x17af40[_0x29a181(0x20b)](),'subUnitId':_0x31e138});return;}((_0x4beacc=_0x17af40['getActiveSheet']())==null?void 0x0:_0x4beacc[_0x29a181(0x1f8)]())!==_0x186299&&await this[_0x29a181(0x203)][_0x29a181(0x3f2)](_0x21498e[_0x29a181(0x358)]['id'],{'unitId':_0x17af40['getUnitId'](),'subUnitId':_0x186299});}},_0xcf7480[_0xc63213(0x1ab)]=_0x4985d1([_0x4404c(0x0,_0x28fdea),_0x4404c(0x1,_0x2d86c8[_0xc63213(0x2c0)]),_0x4404c(0x2,_0x2d86c8[_0xc63213(0x20c)]),_0x4404c(0x3,_0x2d86c8[_0xc63213(0x200)](_0x2912f8[_0xc63213(0x365)])),_0x4404c(0x4,_0x2d86c8[_0xc63213(0x357)](_0x4c38e7[_0xc63213(0x212)]))],_0xcf7480[_0xc63213(0x1ab)]);var _0x5a66dc=Object[_0xc63213(0x21d)],_0x164e0b=(_0x2ae2e2,_0x23d243,_0x388a82,_0x5547be)=>{const _0x10911b=_0xc63213;for(var _0x5532b6=_0x5547be>0x1?void 0x0:_0x5547be?_0x5a66dc(_0x23d243,_0x388a82):_0x23d243,_0x1073ca=_0x2ae2e2[_0x10911b(0x338)]-0x1,_0x22fa1e;_0x1073ca>=0x0;_0x1073ca--)(_0x22fa1e=_0x2ae2e2[_0x1073ca])&&(_0x5532b6=_0x22fa1e(_0x5532b6)||_0x5532b6);return _0x5532b6;},_0x343a6d=(_0x2698ba,_0x1e59ef)=>(_0xd9899b,_0x466c34)=>_0x1e59ef(_0xd9899b,_0x466c34,_0x2698ba);let _0x44db6f=class{constructor(_0x30e819,_0x276b53,_0x237608){const _0x181627=_0xc63213;this[_0x181627(0x199)]=_0x30e819,this['_transformService']=_0x276b53,this[_0x181627(0x1b5)]=_0x237608;}[_0xc63213(0x2d5)](_0x960640){const _0x464069=_0xc63213;this[_0x464069(0x35f)](_0x960640),this[_0x464069(0x2cb)](_0x960640);}[_0xc63213(0x395)](_0x86faee){const _0x3f73fb=_0xc63213,{unitID:_0x276f9f}=_0x86faee,_0x251965=this[_0x3f73fb(0x1b5)][_0x3f73fb(0x211)](_0x276f9f)[_0x3f73fb(0x1fa)](_0x2d547f[_0x3f73fb(0x3a9)]),{redoCache:_0x4e8d19}=_0x251965[_0x3f73fb(0x1e1)]();if(_0x4e8d19['length']===0x0)return _0x86faee;let _0xa2c61e=_0x2d86c8['Tools'][_0x3f73fb(0x1b8)](_0x86faee['mutations'][0x0]);for(let _0x291191=0x0;_0x291191<_0x4e8d19[_0x3f73fb(0x338)];_0x291191++){const _0x26de70={'id':_0x3f73fb(0x2b1),'params':{..._0x4e8d19[_0x291191]}},_0x8070bc=this[_0x3f73fb(0x3fc)][_0x3f73fb(0x246)](_0xa2c61e,_0x26de70,!0x1);if(_0xd7140e['isTransformMutationFailure'](_0x8070bc))throw _0x8070bc['error'];_0xa2c61e=_0x8070bc[_0x3f73fb(0x1ff)];}return{..._0x2d86c8[_0x3f73fb(0x427)][_0x3f73fb(0x1b8)](_0x86faee),'mutations':[_0xa2c61e]};}[_0xc63213(0x35f)](_0x3da01c){const _0x40b0f9=_0xc63213,{unitID:_0x31eb60}=_0x3da01c,_0xfaed5b=this[_0x40b0f9(0x1b5)]['getRenderById'](_0x31eb60)[_0x40b0f9(0x1fa)](_0x2d547f[_0x40b0f9(0x3a9)]),{undoCache:_0x339088,redoCache:_0x29a197}=_0xfaed5b[_0x40b0f9(0x1e1)]();if(_0x339088[_0x40b0f9(0x338)]===0x0||_0x29a197[_0x40b0f9(0x338)]===0x0)return;const _0x1ece3e=[],_0x48ea3b=[];let _0x166eba=_0x2d86c8['Tools'][_0x40b0f9(0x1b8)](_0x3da01c[_0x40b0f9(0x26d)][0x0]),_0x28bdf1=_0x2d86c8[_0x40b0f9(0x427)][_0x40b0f9(0x1b8)](_0x3da01c['mutations'][0x0]);for(let _0x4b77a2=_0x339088['length']-0x1;_0x4b77a2>=0x0;_0x4b77a2--){const _0x1417fc={'id':_0x40b0f9(0x2b1),'params':{..._0x339088[_0x4b77a2]}},_0x25a182={'id':_0x40b0f9(0x2b1),'params':{..._0x29a197[_0x4b77a2]}},_0x25af3c=this['_transformService'][_0x40b0f9(0x246)](_0x166eba,_0x1417fc,!0x1),_0x491c7b=this['_transformService'][_0x40b0f9(0x246)](_0x28bdf1,_0x25a182,!0x1);if(_0xd7140e[_0x40b0f9(0x2f7)](_0x25af3c))throw _0x25af3c[_0x40b0f9(0x2f1)];if(_0xd7140e[_0x40b0f9(0x2f7)](_0x491c7b))throw _0x491c7b[_0x40b0f9(0x2f1)];_0x1ece3e[_0x40b0f9(0x219)](_0x25af3c[_0x40b0f9(0x3b7)]['params']),_0x48ea3b[_0x40b0f9(0x219)](_0x491c7b['m2Prime'][_0x40b0f9(0x3f9)]),_0x166eba=_0x25af3c[_0x40b0f9(0x1ff)],_0x28bdf1=_0x491c7b[_0x40b0f9(0x1ff)];}_0xfaed5b[_0x40b0f9(0x30f)]({'undoCache':_0x1ece3e,'redoCache':_0x48ea3b});}['_transformPreviousActiveRange'](_0x36babf){const _0x107cca=_0xc63213,{unitID:_0x5c789a}=_0x36babf,_0x5e3169=this[_0x107cca(0x1b5)]['getRenderById'](_0x5c789a)[_0x107cca(0x1fa)](_0x2d547f['DocIMEInputManagerService']),_0x3c77df=_0x5e3169['getActiveRange']();if(_0x3c77df==null)return;const _0x1c6c75=[{'id':_0x107cca(0x2b1),'params':{'unitId':_0x36babf[_0x107cca(0x38e)],'actions':null,'textRanges':[_0x3c77df]}}],_0x36073c=this[_0x107cca(0x3fc)][_0x107cca(0x1b1)](_0x36babf,_0x1c6c75);if(!_0xd7140e[_0x107cca(0x1f4)](_0x36073c))throw _0x36073c[_0x107cca(0x2f1)];const _0x27e136=_0x36073c['m2Prime'][0x0]['params'][_0x107cca(0x429)];Array[_0x107cca(0x400)](_0x27e136)&&_0x27e136[_0x107cca(0x338)]&&_0x5e3169[_0x107cca(0x31a)](_0x27e136[0x0]);}};_0x44db6f=_0x164e0b([_0x343a6d(0x0,_0x2d86c8[_0xc63213(0x200)](_0x2d86c8[_0xc63213(0x1e2)])),_0x343a6d(0x1,_0xd7140e['ITransformService']),_0x343a6d(0x2,_0x115e2b[_0xc63213(0x2c6)])],_0x44db6f);var _0x49bbdf=Object[_0xc63213(0x21d)],_0x3d2daf=(_0x3ea6f7,_0x5a4086,_0xbe69bb,_0x5ac877)=>{const _0x5528ff=_0xc63213;for(var _0x59c6be=_0x5ac877>0x1?void 0x0:_0x5ac877?_0x49bbdf(_0x5a4086,_0xbe69bb):_0x5a4086,_0x3ba4ac=_0x3ea6f7[_0x5528ff(0x338)]-0x1,_0x16e830;_0x3ba4ac>=0x0;_0x3ba4ac--)(_0x16e830=_0x3ea6f7[_0x3ba4ac])&&(_0x59c6be=_0x16e830(_0x59c6be)||_0x59c6be);return _0x59c6be;},_0x23a4e9=(_0x57cba5,_0x3ce68c)=>(_0x12b2bc,_0x1d4233)=>_0x3ce68c(_0x12b2bc,_0x1d4233,_0x57cba5);let _0x3c58e1=class{constructor(_0x3b8156,_0x1367d1,_0x2b604d){const _0x1d0302=_0xc63213;this['_injector']=_0x3b8156,this[_0x1d0302(0x3fc)]=_0x1367d1,this['_docStateChangeManagerService']=_0x2b604d;}[_0xc63213(0x207)](_0x287475){const _0x54f7b1=_0xc63213;this[_0x54f7b1(0x39b)](_0x287475);}['transformRemoteChangeset'](_0x19801b){const _0x5322a=_0xc63213,{unitID:_0x541ec6}=_0x19801b,{collaboration:_0x2a9783}=this[_0x5322a(0x411)][_0x5322a(0x30e)](_0x541ec6);if(_0x2a9783[_0x5322a(0x338)]===0x0)return _0x19801b;let _0x272339=_0x2d86c8[_0x5322a(0x427)][_0x5322a(0x1b8)](_0x19801b['mutations'][0x0]);for(let _0x45ec7f=0x0;_0x45ec7f<_0x2a9783[_0x5322a(0x338)];_0x45ec7f++){const _0x28593e={'id':_0x5322a(0x2b1),'params':{'unitId':_0x2a9783[_0x45ec7f][_0x5322a(0x334)],..._0x2a9783[_0x45ec7f][_0x5322a(0x3cb)]}},_0x543016=this[_0x5322a(0x3fc)][_0x5322a(0x246)](_0x272339,_0x28593e,!0x1);if(_0xd7140e[_0x5322a(0x2f7)](_0x543016))throw _0x543016['error'];_0x272339=_0x543016[_0x5322a(0x1ff)];}return{..._0x2d86c8[_0x5322a(0x427)][_0x5322a(0x1b8)](_0x19801b),'mutations':[_0x272339]};}[_0xc63213(0x39b)](_0x226013){const _0x139fdb=_0xc63213,{unitID:_0x25e88e}=_0x226013,{history:_0x3ab585,collaboration:_0x36e554}=this['_docStateChangeManagerService']['getStateCache'](_0x25e88e);if(_0x3ab585[_0x139fdb(0x338)]===0x0&&_0x36e554[_0x139fdb(0x338)]===0x0)return;const _0x4ad0f2=[],_0x3e2311=[];let _0x543325=_0x2d86c8[_0x139fdb(0x427)]['deepClone'](_0x226013['mutations'][0x0]),_0x35ad68=_0x2d86c8[_0x139fdb(0x427)][_0x139fdb(0x1b8)](_0x226013[_0x139fdb(0x26d)][0x0]);for(let _0x23b101=_0x3ab585['length']-0x1;_0x23b101>=0x0;_0x23b101--){const _0x594c02={'id':_0x139fdb(0x2b1),'params':{'unitId':_0x3ab585[_0x23b101][_0x139fdb(0x334)],..._0x3ab585[_0x23b101][_0x139fdb(0x28e)]}},_0x2d42f8={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3ab585[_0x23b101][_0x139fdb(0x334)],..._0x3ab585[_0x23b101][_0x139fdb(0x3cb)]}},_0x303715=this[_0x139fdb(0x3fc)]['transformMutation'](_0x543325,_0x594c02,!0x1),_0x462da0=this[_0x139fdb(0x3fc)][_0x139fdb(0x246)](_0x35ad68,_0x2d42f8,!0x1);if(_0xd7140e[_0x139fdb(0x2f7)](_0x303715))throw _0x303715[_0x139fdb(0x2f1)];if(_0xd7140e[_0x139fdb(0x2f7)](_0x462da0))throw _0x462da0['error'];_0x4ad0f2['unshift']({..._0x3ab585[_0x23b101],'undoState':_0x303715[_0x139fdb(0x3b7)][_0x139fdb(0x3f9)],'redoState':_0x462da0[_0x139fdb(0x3b7)]['params']}),_0x543325=_0x303715[_0x139fdb(0x1ff)],_0x35ad68=_0x462da0[_0x139fdb(0x1ff)];}_0x543325=_0x2d86c8['Tools']['deepClone'](_0x226013[_0x139fdb(0x26d)][0x0]),_0x35ad68=_0x2d86c8[_0x139fdb(0x427)]['deepClone'](_0x226013[_0x139fdb(0x26d)][0x0]);for(let _0xcf1a58=_0x36e554[_0x139fdb(0x338)]-0x1;_0xcf1a58>=0x0;_0xcf1a58--){const _0x3c095b={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x36e554[_0xcf1a58][_0x139fdb(0x334)],..._0x36e554[_0xcf1a58][_0x139fdb(0x28e)]}},_0x8cb240={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x36e554[_0xcf1a58][_0x139fdb(0x334)],..._0x36e554[_0xcf1a58][_0x139fdb(0x3cb)]}},_0x45fded=this[_0x139fdb(0x3fc)][_0x139fdb(0x246)](_0x543325,_0x3c095b,!0x1),_0x18a29e=this[_0x139fdb(0x3fc)][_0x139fdb(0x246)](_0x35ad68,_0x8cb240,!0x1);if(_0xd7140e[_0x139fdb(0x2f7)](_0x45fded))throw _0x45fded['error'];if(_0xd7140e['isTransformMutationFailure'](_0x18a29e))throw _0x18a29e[_0x139fdb(0x2f1)];_0x3e2311[_0x139fdb(0x219)]({..._0x36e554[_0xcf1a58],'undoState':_0x45fded[_0x139fdb(0x3b7)]['params'],'redoState':_0x18a29e[_0x139fdb(0x3b7)][_0x139fdb(0x3f9)]}),_0x543325=_0x45fded[_0x139fdb(0x1ff)],_0x35ad68=_0x18a29e[_0x139fdb(0x1ff)];}this[_0x139fdb(0x411)][_0x139fdb(0x286)](_0x25e88e,{'history':_0x4ad0f2,'collaboration':_0x3e2311});}};_0x3c58e1=_0x3d2daf([_0x23a4e9(0x0,_0x2d86c8[_0xc63213(0x200)](_0x2d86c8[_0xc63213(0x1e2)])),_0x23a4e9(0x1,_0xd7140e[_0xc63213(0x24b)]),_0x23a4e9(0x2,_0x2d86c8[_0xc63213(0x200)](_0x2d547f[_0xc63213(0x351)]))],_0x3c58e1);var _0x2ef81d=Object[_0xc63213(0x21d)],_0x983378=(_0x2596a1,_0x263c19,_0x50ccee,_0x369f20)=>{for(var _0x15ebee=_0x369f20>0x1?void 0x0:_0x369f20?_0x2ef81d(_0x263c19,_0x50ccee):_0x263c19,_0x36a82d=_0x2596a1['length']-0x1,_0x3da683;_0x36a82d>=0x0;_0x36a82d--)(_0x3da683=_0x2596a1[_0x36a82d])&&(_0x15ebee=_0x3da683(_0x15ebee)||_0x15ebee);return _0x15ebee;},_0x2eedc4=(_0x24a17b,_0x25eaa3)=>(_0x3e734f,_0x1e5b36)=>_0x25eaa3(_0x3e734f,_0x1e5b36,_0x24a17b);let _0x3cf60b=class{constructor(_0x5f19dc,_0x19fc33){const _0x5a1053=_0xc63213;this[_0x5a1053(0x199)]=_0x5f19dc,this[_0x5a1053(0x3fc)]=_0x19fc33;}[_0xc63213(0x2a2)](_0x5df497){const _0x41439b=_0xc63213;var _0x1d1002;const _0x5d5263=this[_0x41439b(0x199)][_0x41439b(0x20f)](_0x4d5ad2[_0x41439b(0x2d9)]),_0x317e81=(_0x1d1002=_0x5d5263[_0x41439b(0x349)]())!=null?_0x1d1002:[];if(_0x317e81['length']===0x0)return;const _0x38420c=_0x5df497['unitID'],_0x42f072=[{'id':_0x41439b(0x2b1),'params':{'unitId':_0x38420c,'actions':null,'textRanges':_0x317e81}}],_0x282a0a=this[_0x41439b(0x3fc)][_0x41439b(0x1b1)](_0x5df497,_0x42f072);if(!_0xd7140e[_0x41439b(0x1f4)](_0x282a0a))throw _0x282a0a['error'];const _0x2261ba=_0x282a0a[_0x41439b(0x3b7)][0x0]['params']['textRanges'];Array[_0x41439b(0x400)](_0x2261ba)&&_0x2261ba[_0x41439b(0x338)]&&_0x5d5263[_0x41439b(0x301)](_0x2261ba,{'unitId':_0x38420c,'subUnitId':_0x38420c},!0x1);}};_0x3cf60b=_0x983378([_0x2eedc4(0x0,_0x2d86c8['Inject'](_0x2d86c8[_0xc63213(0x1e2)])),_0x2eedc4(0x1,_0xd7140e[_0xc63213(0x24b)])],_0x3cf60b);var _0x5df9f2=Object[_0xc63213(0x21d)],_0x36c9c5=(_0xe31820,_0x37a2e9,_0x114e21,_0x219b49)=>{for(var _0x21fc0d=_0x219b49>0x1?void 0x0:_0x219b49?_0x5df9f2(_0x37a2e9,_0x114e21):_0x37a2e9,_0x1ff0a5=_0xe31820['length']-0x1,_0x58ce43;_0x1ff0a5>=0x0;_0x1ff0a5--)(_0x58ce43=_0xe31820[_0x1ff0a5])&&(_0x21fc0d=_0x58ce43(_0x21fc0d)||_0x21fc0d);return _0x21fc0d;},_0x4293bc=(_0x40346f,_0x4ca758)=>(_0x34aa2f,_0x12175b)=>_0x4ca758(_0x34aa2f,_0x12175b,_0x40346f);let _0x14a84c=class extends _0x2d86c8[_0xc63213(0x250)]{constructor(_0x352656,_0x3bd923,_0x790506,_0x5979d4,_0xa47d5c,_0x138f04,_0x42d940,_0x4f7903){const _0x169376=_0xc63213;super(),_0x3955ad(this,_0x169376(0x348),new _0x20e3e2['BehaviorSubject'](_0x2912f8[_0x169376(0x3f0)][_0x169376(0x2d6)])),(this[_0x169376(0x411)]=_0x352656,this['_collaborationController']=_0x3bd923,this[_0x169376(0x26a)]=_0x790506,this['_docTransformStateCacheService']=_0x5979d4,this[_0x169376(0x25c)]=_0xa47d5c,this[_0x169376(0x1d6)]=_0x138f04,this[_0x169376(0x282)]=_0x42d940,this[_0x169376(0x2fa)]=_0x4f7903,this[_0x169376(0x2f4)]());}[_0xc63213(0x2f4)](){const _0x4b18d3=_0xc63213;this[_0x4b18d3(0x426)](this[_0x4b18d3(0x34d)][_0x4b18d3(0x35b)][_0x4b18d3(0x27a)](_0x4ca908=>{const _0x1c105f=_0x4b18d3,_0x1fd636=this['_docStateChangeManagerService']['docStateChange$']['subscribe'](_0x25a018=>{const _0x35b604=_0x3569;if(_0x25a018==null)return;const {unitId:_0x3afab3,redoState:_0x2154ef,commandId:_0x14f198}=_0x25a018;if(_0x3afab3!==_0x4ca908[_0x35b604(0x38e)])return;const _0x3637e5={'id':_0x14f198,'type':_0x2d86c8[_0x35b604(0x3e4)][_0x35b604(0x23c)],'params':{'unitId':_0x3afab3,'actions':_0x2154ef[_0x35b604(0x19a)],'textRanges':null}};_0x4ca908[_0x35b604(0x21b)](_0x3637e5);});if(_0x4ca908[_0x1c105f(0x426)](_0x1fd636),_0x4ca908 instanceof _0x2912f8['DocCollaborationEntity']){const _0xdcaa50={'onTransformIME':_0x31c9b5=>this[_0x1c105f(0x26a)][_0x1c105f(0x2d5)](_0x31c9b5),'onTransformState':_0xc3bb34=>this[_0x1c105f(0x2b5)][_0x1c105f(0x207)](_0xc3bb34),'onTransformSelections':_0x375f27=>this[_0x1c105f(0x25c)]['transformSelections'](_0x375f27),'onSyncEditingCollabCursor':_0x15f9ce=>this[_0x1c105f(0x1d6)][_0x1c105f(0x295)](_0x15f9ce),'onTransformRemoteChangesetByIMECache':_0x5ed0be=>this[_0x1c105f(0x26a)][_0x1c105f(0x395)](_0x5ed0be),'onTransformRemoteChangesetByStateCache':_0x76ef1c=>this[_0x1c105f(0x2b5)][_0x1c105f(0x395)](_0x76ef1c)};_0x4ca908[_0x1c105f(0x237)](_0xdcaa50);}}));}};_0x14a84c=_0x36c9c5([_0x4293bc(0x0,_0x2d86c8[_0xc63213(0x200)](_0x2d547f[_0xc63213(0x351)])),_0x4293bc(0x1,_0x2d86c8[_0xc63213(0x200)](_0x2912f8['CollaborationController'])),_0x4293bc(0x2,_0x2d86c8[_0xc63213(0x200)](_0x44db6f)),_0x4293bc(0x3,_0x2d86c8['Inject'](_0x3c58e1)),_0x4293bc(0x4,_0x2d86c8[_0xc63213(0x200)](_0x3cf60b)),_0x4293bc(0x5,_0x2d86c8[_0xc63213(0x200)](_0x1832d6)),_0x4293bc(0x6,_0x8c906d[_0xc63213(0x2fe)]),_0x4293bc(0x7,_0x2d86c8[_0xc63213(0x200)](_0x2d86c8[_0xc63213(0x19d)]))],_0x14a84c);var _0x116046=Object['getOwnPropertyDescriptor'],_0x19ff3c=(_0xf204be,_0x3296fb,_0x4f3b84,_0x30ba5b)=>{const _0x1a419d=_0xc63213;for(var _0x5eb1cc=_0x30ba5b>0x1?void 0x0:_0x30ba5b?_0x116046(_0x3296fb,_0x4f3b84):_0x3296fb,_0x2d3cbd=_0xf204be[_0x1a419d(0x338)]-0x1,_0xe936c5;_0x2d3cbd>=0x0;_0x2d3cbd--)(_0xe936c5=_0xf204be[_0x2d3cbd])&&(_0x5eb1cc=_0xe936c5(_0x5eb1cc)||_0x5eb1cc);return _0x5eb1cc;},_0x1be1cb=(_0x30fc37,_0x2e0ec9)=>(_0x3eef67,_0x4e807a)=>_0x2e0ec9(_0x3eef67,_0x4e807a,_0x30fc37);let _0x65b89b=class extends _0x2d86c8[_0xc63213(0x250)]{constructor(_0x4ae8fb,_0x49042e,_0x261fc7){const _0x73896d=_0xc63213;super(),_0x3955ad(this,_0x73896d(0x22d),new Map()),_0x3955ad(this,'_saveTaskMap',new Map()),_0x3955ad(this,_0x73896d(0x26b),!0x1),(this[_0x73896d(0x19f)]=_0x4ae8fb,this[_0x73896d(0x312)]=_0x49042e,this[_0x73896d(0x36c)]=_0x261fc7);}[_0xc63213(0x1eb)](){const _0x11ff07=_0xc63213;this[_0x11ff07(0x26b)]=!0x0;}[_0xc63213(0x2e2)](){const _0x19956e=_0xc63213;this[_0x19956e(0x26b)]=!0x1;}get['saveTaskMap'](){const _0x5861db=_0xc63213;return this[_0x5861db(0x3bb)];}[_0xc63213(0x31c)](){const _0x5da1b7=_0xc63213;this[_0x5da1b7(0x29b)]()[_0x5da1b7(0x1c1)](()=>super[_0x5da1b7(0x31c)]());}async['loadOfflineData'](_0x21de83){const _0x5c3652=_0xc63213;return this[_0x5c3652(0x26b)]?null:this[_0x5c3652(0x312)][_0x5c3652(0x3fd)](_0x2912f8[_0x5c3652(0x32f)](_0x21de83));}async[_0xc63213(0x31f)](_0x50eaf1,_0x17b012){const _0x24f2c9=_0xc63213;return!!this['_localStorageService'][_0x24f2c9(0x194)](_0x50eaf1,_0x17b012);}[_0xc63213(0x2b2)](_0x581d36,_0x5c19c6,_0x19e572,_0x1bc4b3){const _0x90435d=_0xc63213,_0x3f29e9=this[_0x90435d(0x36c)]['getCurrentRevOfUnit'](_0x581d36);this[_0x90435d(0x22d)][_0x90435d(0x1bb)](_0x581d36,{'unitID':_0x581d36,'type':_0x5c19c6,'awaitingChangeset':_0x19e572,'mutations':_0x1bc4b3,'rev':_0x3f29e9}),this[_0x90435d(0x3bb)][_0x90435d(0x2f5)](_0x581d36)||this[_0x90435d(0x3a8)](_0x581d36);}[_0xc63213(0x3a8)](_0x5e17ba){const _0x2b006b=_0xc63213,_0x5e9b7e=this[_0x2b006b(0x34b)]();_0x5e9b7e===0x0?this[_0x2b006b(0x2ec)](_0x5e17ba):this[_0x2b006b(0x3bb)]['set'](_0x5e17ba,setTimeout(()=>this[_0x2b006b(0x2ec)](_0x5e17ba),_0x5e9b7e));}[_0xc63213(0x34b)](){const _0x25af6e=_0xc63213;var _0xf192f5;return(_0xf192f5=this[_0x25af6e(0x19f)][_0x25af6e(0x1fe)](_0x2912f8[_0x25af6e(0x1af)]))!=null?_0xf192f5:_0x2912f8[_0x25af6e(0x278)];}[_0xc63213(0x2ec)](_0x40ecb8){const _0x1b7188=_0xc63213,_0x1cacca=this[_0x1b7188(0x3bb)][_0x1b7188(0x20f)](_0x40ecb8);return _0x1cacca!==void 0x0&&window['clearTimeout'](_0x1cacca),this[_0x1b7188(0x312)]['setItem'](_0x2912f8[_0x1b7188(0x32f)](_0x40ecb8),this[_0x1b7188(0x22d)][_0x1b7188(0x20f)](_0x40ecb8))[_0x1b7188(0x1c1)](()=>this[_0x1b7188(0x3bb)][_0x1b7188(0x396)](_0x40ecb8));}async['exhaustSavingTask'](){const _0x15731a=_0xc63213,_0x434560=[];this['_saveTaskMap'][_0x15731a(0x2b6)]((_0x39f0c7,_0x1feb38)=>{const _0x574543=_0x15731a;window[_0x574543(0x257)](_0x39f0c7),_0x434560['push'](this[_0x574543(0x2ec)](_0x1feb38)[_0x574543(0x1c1)](()=>{const _0x4ea76b=_0x574543;this[_0x4ea76b(0x3bb)][_0x4ea76b(0x396)](_0x1feb38);}));}),await Promise[_0x15731a(0x343)](_0x434560);}};_0x65b89b=_0x19ff3c([_0x1be1cb(0x0,_0x2d86c8[_0xc63213(0x1f6)]),_0x1be1cb(0x1,_0x2d86c8['ILocalStorageService']),_0x1be1cb(0x2,_0x2d86c8['Inject'](_0xd7140e[_0xc63213(0x2fd)]))],_0x65b89b);class _0xfdfb6c extends _0x2d86c8[_0xc63213(0x268)]{constructor(){const _0x5dd300=_0xc63213;super(),_0x3955ad(this,_0x5dd300(0x1a4)),this[_0x5dd300(0x1a4)]=_0x20e3e2[_0x5dd300(0x2a8)](window,_0x5dd300(0x28f))[_0x5dd300(0x1de)](_0x20e3e2[_0x5dd300(0x273)](this[_0x5dd300(0x3ff)]),_0x20e3e2['shareReplay'](0x1),_0x20e3e2['mapTo'](void 0x0));}[_0xc63213(0x297)](_0x598c56,_0x130a93,_0x4d5c86=!0x1){const _0x54f56f=_0xc63213,_0x58dd01=new URL(window[_0x54f56f(0x261)][_0x54f56f(0x1b4)]);_0x58dd01[_0x54f56f(0x3d2)][_0x54f56f(0x1bb)](_0x598c56,_0x130a93),_0x4d5c86?window[_0x54f56f(0x3ed)][_0x54f56f(0x1f0)]('','',_0x58dd01[_0x54f56f(0x2e6)]()):window['history']['pushState']('','',_0x58dd01[_0x54f56f(0x2e6)]());}[_0xc63213(0x2db)](_0x1a3261,_0x531754=!0x1){const _0x4fff1b=_0xc63213,_0x3aae5a=new URL(window[_0x4fff1b(0x261)][_0x4fff1b(0x1b4)]);_0x3aae5a['searchParams'][_0x4fff1b(0x396)](_0x1a3261),_0x531754?window[_0x4fff1b(0x3ed)][_0x4fff1b(0x1f0)]('','',_0x3aae5a[_0x4fff1b(0x2e6)]()):window['history']['pushState']('','',_0x3aae5a['toString']());}['getParam'](_0x2b81ce){const _0x23b1a6=_0xc63213;var _0x52c9b9;return(_0x52c9b9=new URL(window['location'][_0x23b1a6(0x1b4)])['searchParams'][_0x23b1a6(0x20f)](_0x2b81ce))!=null?_0x52c9b9:void 0x0;}}var _0x51c461=Object['defineProperty'],_0x310d54=Object[_0xc63213(0x21d)],_0x5ef766=(_0x2dfd87,_0x594c95,_0x12f951)=>_0x594c95 in _0x2dfd87?_0x51c461(_0x2dfd87,_0x594c95,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x12f951}):_0x2dfd87[_0x594c95]=_0x12f951,_0x27fad6=(_0x1fbe0f,_0x3f0d45,_0x5cd7b9,_0x4c008b)=>{const _0x366d41=_0xc63213;for(var _0x2190be=_0x4c008b>0x1?void 0x0:_0x4c008b?_0x310d54(_0x3f0d45,_0x5cd7b9):_0x3f0d45,_0x5a637c=_0x1fbe0f[_0x366d41(0x338)]-0x1,_0x33c396;_0x5a637c>=0x0;_0x5a637c--)(_0x33c396=_0x1fbe0f[_0x5a637c])&&(_0x2190be=_0x33c396(_0x2190be)||_0x2190be);return _0x2190be;},_0x1c73e3=(_0x5806cf,_0x573df0)=>(_0x1630ff,_0x2add01)=>_0x573df0(_0x1630ff,_0x2add01,_0x5806cf),_0x2a8ff0=(_0x1039c4,_0x395de5,_0x2c030e)=>_0x5ef766(_0x1039c4,_0x395de5+'',_0x2c030e);const _0x4f0be6=_0xc63213(0x337);_0xcf7480['UniverCollaborationClientUIPlugin']=class extends _0x2d86c8[_0xc63213(0x3b0)]{constructor(_0x114a2d=_0x78f69f,_0x4406e3,_0x4b8ce8,_0x53db6b){const _0x5cc9cf=_0xc63213;super(),this[_0x5cc9cf(0x2c7)]=_0x114a2d,this[_0x5cc9cf(0x1b5)]=_0x4406e3,this[_0x5cc9cf(0x199)]=_0x4b8ce8,this['_configService']=_0x53db6b;const {..._0x427b0c}=_0x2d86c8[_0x5cc9cf(0x2ac)]({},_0x78f69f,this['_config']);this[_0x5cc9cf(0x19f)][_0x5cc9cf(0x232)](_0x54c93b,_0x427b0c);}[_0xc63213(0x38a)](){const _0x4aa3e2=_0xc63213;this[_0x4aa3e2(0x227)](),this[_0x4aa3e2(0x3dd)]();}[_0xc63213(0x3cc)](){const _0xa77d1b=_0xc63213;this[_0xa77d1b(0x230)]();}[_0xc63213(0x227)](){const _0x1bf7a9=_0xc63213;var _0x3b2b57;const _0x240bab=[[_0x8d7fee],[_0x3cf60b],[_0x44db6f],[_0x3c58e1],[_0x1832d6],[_0x28fdea,{'useClass':_0xfdfb6c}],[_0x1f504c[_0x1bf7a9(0x41c)],{'useClass':_0x1f504c[_0x1bf7a9(0x302)]}],[_0x2912f8[_0x1bf7a9(0x241)],{'useClass':_0x65b89b}],[_0xcf7480['DesktopCollaborationStatusDisplayController']],[_0x14a84c],[_0x4d6985],[_0x5b7e3e],[_0x50a3c9],[_0xcf7480[_0x1bf7a9(0x1ab)]]];_0x2d86c8[_0x1bf7a9(0x38f)](this[_0x1bf7a9(0x199)],_0x2d86c8[_0x1bf7a9(0x2a5)](_0x240bab,(_0x3b2b57=this[_0x1bf7a9(0x2c7)])==null?void 0x0:_0x3b2b57['override']));}[_0xc63213(0x230)](){const _0x57e4c6=_0xc63213;this[_0x57e4c6(0x426)](this[_0x57e4c6(0x1b5)][_0x57e4c6(0x33b)](_0x2d86c8['UniverInstanceType'][_0x57e4c6(0x1a1)],[_0x708f09])),this['disposeWithMe'](this['_renderManagerService'][_0x57e4c6(0x33b)](_0x2d86c8[_0x57e4c6(0x1ef)]['UNIVER_SHEET'],[_0xc95914]));}[_0xc63213(0x3dd)](){const _0x1d8b12=_0xc63213;_0x2d86c8[_0x1d8b12(0x30b)](this[_0x1d8b12(0x199)],[[_0x5b7e3e],[_0xcf7480['DesktopCollaborationStatusDisplayController']],[_0x14a84c],[_0x4d6985],[_0xcf7480['CollaborationDataLoaderController']]]);}},_0x2a8ff0(_0xcf7480[_0xc63213(0x30c)],_0xc63213(0x1a2),_0x4f0be6),_0xcf7480[_0xc63213(0x30c)]=_0x27fad6([_0x2d86c8['DependentOn'](_0x2912f8['UniverCollaborationClientPlugin']),_0x1c73e3(0x1,_0x115e2b['IRenderManagerService']),_0x1c73e3(0x2,_0x2d86c8['Inject'](_0x2d86c8[_0xc63213(0x1e2)])),_0x1c73e3(0x3,_0x2d86c8[_0xc63213(0x1f6)])],_0xcf7480[_0xc63213(0x30c)]);var _0x2dc783=Object[_0xc63213(0x21d)],_0x531412=(_0x1e37de,_0x5c7fed,_0x2b6c80,_0xeb0596)=>{const _0x380225=_0xc63213;for(var _0x5d5515=_0xeb0596>0x1?void 0x0:_0xeb0596?_0x2dc783(_0x5c7fed,_0x2b6c80):_0x5c7fed,_0x39ebce=_0x1e37de[_0x380225(0x338)]-0x1,_0x197c73;_0x39ebce>=0x0;_0x39ebce--)(_0x197c73=_0x1e37de[_0x39ebce])&&(_0x5d5515=_0x197c73(_0x5d5515)||_0x5d5515);return _0x5d5515;},_0x42b971=(_0x399485,_0x31e57c)=>(_0x58711b,_0x2bb1cb)=>_0x31e57c(_0x58711b,_0x2bb1cb,_0x399485);_0xcf7480[_0xc63213(0x259)]=class extends _0x2912f8[_0xc63213(0x2f9)]{constructor(_0xef1eb9,_0x3c4b23,_0x58959d,_0x1ad3fa,_0x22ec53){super(_0xef1eb9,_0x3c4b23,_0x58959d,_0x1ad3fa,_0x22ec53);}async[_0xc63213(0x359)](_0x6eae2f){const _0x35f7a7=_0xc63213,_0x24e729=await this[_0x35f7a7(0x1b7)](),_0x17f2e9=this[_0x35f7a7(0x314)](_0x6eae2f,_0x24e729);return this[_0x35f7a7(0x1df)](_0x17f2e9);}[_0xc63213(0x314)](_0x1db3f4,_0x244d94){const _0x1cac12=_0xc63213,_0x2a2ef4=typeof window>'u'?new URL(_0x1db3f4):new URL(_0x1db3f4,window['location'][_0x1cac12(0x2bc)]);_0x2a2ef4[_0x1cac12(0x3d2)][_0x1cac12(0x1bb)](_0x1cac12(0x264),_0x244d94);const _0x34f525=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x1cac12(0x261)][_0x1cac12(0x42d)]);return _0x34f525[_0x1cac12(0x20f)](_0x1cac12(0x3bd))&&_0x2a2ef4[_0x1cac12(0x3d2)][_0x1cac12(0x1bb)](_0x1cac12(0x3bd),_0x34f525['get'](_0x1cac12(0x3bd))),_0x2a2ef4[_0x1cac12(0x2e6)]();}async[_0xc63213(0x1b7)](){const _0x5319f2=_0xc63213;var _0x3374b2,_0x21f47e,_0x10510b;const _0xac048a=this[_0x5319f2(0x19f)][_0x5319f2(0x1fe)](_0x2912f8[_0x5319f2(0x24d)]),_0x1cb43e=(_0x3374b2=_0xac048a==null?void 0x0:_0xac048a[_0x5319f2(0x35a)])!=null?_0x3374b2:_0x2912f8[_0x5319f2(0x422)];return(_0x10510b=(_0x21f47e=(await this[_0x5319f2(0x415)][_0x5319f2(0x20f)](_0x1cb43e,{'headers':{'Content-Type':_0x5319f2(0x42b)}}))[_0x5319f2(0x2a0)])==null?void 0x0:_0x21f47e['ticket'])!=null?_0x10510b:'';}},_0xcf7480[_0xc63213(0x259)]=_0x531412([_0x42b971(0x0,_0x2d86c8[_0xc63213(0x200)](_0x2d86c8[_0xc63213(0x1e2)])),_0x42b971(0x1,_0x2d86c8[_0xc63213(0x200)](_0x1f504c['HTTPService'])),_0x42b971(0x2,_0x2d86c8['IConfigService']),_0x42b971(0x3,_0x2d86c8[_0xc63213(0x2c0)]),_0x42b971(0x4,_0xd7140e['ISnapshotServerService'])],_0xcf7480[_0xc63213(0x259)]);const _0x34c3c8=0x7530,_0x650cf=_0xc63213(0x2d8);class _0x54e021 extends _0x2d86c8[_0xc63213(0x250)]{constructor(){const _0x43db3f=_0xc63213;super(),_0x3955ad(this,_0x43db3f(0x3f7),_0x2d86c8['generateRandomId']()),_0x3955ad(this,_0x43db3f(0x324),new Set()),_0x3955ad(this,_0x43db3f(0x1ba),new Map()),_0x3955ad(this,_0x43db3f(0x3af),null),_0x3955ad(this,_0x43db3f(0x374),new Map()),_0x3955ad(this,_0x43db3f(0x317),new Map()),this[_0x43db3f(0x201)]();}['dispose'](){const _0x29a00d=_0xc63213;super[_0x29a00d(0x31c)](),this['_clearOtherTimers'][_0x29a00d(0x2b6)]((_0x5c6eec,_0x2ad9c2)=>this[_0x29a00d(0x308)](_0x2ad9c2)),this[_0x29a00d(0x3af)]&&window['clearInterval'](this[_0x29a00d(0x3af)]);}['getUnitStatus$'](_0x5934b0){const _0xc4ac2f=_0xc63213;return this[_0xc4ac2f(0x373)](_0x5934b0)[_0xc4ac2f(0x1de)](_0x20e3e2[_0xc4ac2f(0x274)]());}[_0xc63213(0x2f3)](_0x43551c){const _0x5874ec=_0xc63213;this[_0x5874ec(0x324)][_0x5874ec(0x2c3)]===0x0&&this['_scheduleHeartbeat'](),this[_0x5874ec(0x324)][_0x5874ec(0x23b)](_0x43551c),this[_0x5874ec(0x260)]({'type':0x0,'memberID':this[_0x5874ec(0x3f7)],'unitIDs':[_0x43551c],'isForwarded':!0x1});}[_0xc63213(0x3c4)](_0x17c43f){const _0x3de82e=_0xc63213;this['_selfUnitIDs'][_0x3de82e(0x396)](_0x17c43f),this[_0x3de82e(0x324)][_0x3de82e(0x2c3)]===0x0&&this[_0x3de82e(0x3af)]&&window[_0x3de82e(0x320)](this['_heartbeatTimer']);}[_0xc63213(0x201)](){const _0x48a712=_0xc63213;this['disposeWithMe'](_0x2d86c8[_0x48a712(0x23e)](_0x20e3e2[_0x48a712(0x2a8)](window,_0x48a712(0x1ee))[_0x48a712(0x27a)](_0x3e57e3=>{const _0x287a69=_0x48a712;if(_0x3e57e3[_0x287a69(0x24e)]!==_0x650cf||!_0x3e57e3['newValue'])return;const _0x4b9753=JSON['parse'](_0x3e57e3[_0x287a69(0x3c2)]);this[_0x287a69(0x2ae)](_0x4b9753);}))),window[_0x48a712(0x195)]('unload',()=>this[_0x48a712(0x260)]({'type':0x1,'memberID':this[_0x48a712(0x3f7)],'unitIDs':Array[_0x48a712(0x404)](this[_0x48a712(0x324)])}));}['_handleEvent'](_0x1c3d91){const _0x256994=_0xc63213;switch(_0x1c3d91[_0x256994(0x3de)]){case 0x0:this[_0x256994(0x1e9)](_0x1c3d91);break;case 0x1:this[_0x256994(0x290)](_0x1c3d91);break;case 0x2:this[_0x256994(0x296)](_0x1c3d91);break;}}[_0xc63213(0x1e9)](_0x1c829a){const _0x148f92=_0xc63213,{unitIDs:_0x4ae990,memberID:_0x57dce7,isForwarded:_0x2c377a}=_0x1c829a;_0x4ae990['forEach'](_0x21a4ef=>{const _0x19f4ea=_0x3569;if(!_0x2c377a&&this['_unitOnClients'][_0x19f4ea(0x2f5)](_0x21a4ef)&&this[_0x19f4ea(0x373)](_0x21a4ef)[_0x19f4ea(0x1fc)](_0x2912f8['UnitStatus']['OTHER_CLIENTS_EDITING']),!this[_0x19f4ea(0x1ba)]['has'](_0x21a4ef)||!this[_0x19f4ea(0x1ba)][_0x19f4ea(0x20f)](_0x21a4ef)['has'](_0x57dce7)){const _0x31063a=this[_0x19f4ea(0x1ba)][_0x19f4ea(0x20f)](_0x21a4ef)||new Set();_0x31063a[_0x19f4ea(0x23b)](_0x57dce7),this[_0x19f4ea(0x1ba)][_0x19f4ea(0x1bb)](_0x21a4ef,_0x31063a),this[_0x19f4ea(0x215)](_0x57dce7);}}),_0x2c377a||this['_send']({'type':0x0,'memberID':this[_0x148f92(0x3f7)],'unitIDs':[...this[_0x148f92(0x324)]],'isForwarded':!0x0});}[_0xc63213(0x215)](_0x244ddf){const _0x55a735=_0xc63213;this[_0x55a735(0x308)](_0x244ddf);const _0xbbd9f5=window[_0x55a735(0x2b0)](()=>{const _0x7be52=_0x55a735;this[_0x7be52(0x1ba)][_0x7be52(0x2b6)](_0x1cc9ae=>{const _0x3fda42=_0x7be52;_0x1cc9ae[_0x3fda42(0x396)](_0x244ddf);});},_0x34c3c8*0x2);this[_0x55a735(0x374)][_0x55a735(0x1bb)](_0x244ddf,_0xbbd9f5);}[_0xc63213(0x308)](_0x6fab6c){const _0x30f3b4=_0xc63213;if(this[_0x30f3b4(0x374)][_0x30f3b4(0x2f5)](_0x6fab6c)){const _0x4d079f=this['_clearOtherTimers'][_0x30f3b4(0x20f)](_0x6fab6c);_0x4d079f&&window[_0x30f3b4(0x257)](_0x4d079f),this['_clearOtherTimers'][_0x30f3b4(0x1bb)](_0x6fab6c,null);}}[_0xc63213(0x290)](_0x15ca9a){const {memberID:_0x3363e4,unitIDs:_0x5b9181}=_0x15ca9a;_0x5b9181['forEach'](_0x4d16a9=>{const _0x3879c3=_0x3569;var _0x4cdca5;const _0x397b04=this['_unitOnClients'][_0x3879c3(0x20f)](_0x4d16a9);_0x397b04&&(_0x397b04[_0x3879c3(0x396)](_0x3363e4),(_0x4cdca5=this[_0x3879c3(0x373)](_0x4d16a9))==null||_0x4cdca5[_0x3879c3(0x1fc)](_0x397b04[_0x3879c3(0x2c3)]===0x0?_0x2912f8[_0x3879c3(0x1f9)][_0x3879c3(0x1c9)]:_0x2912f8[_0x3879c3(0x1f9)][_0x3879c3(0x428)]));}),this['_removeClearOtherTimer'](_0x3363e4);}['_handleHeartbeatEvent'](_0x1d2b24){const _0x30969d=_0xc63213;this[_0x30969d(0x215)](_0x1d2b24[_0x30969d(0x27b)]);}[_0xc63213(0x260)](_0x209c1b){const _0x22521f=_0xc63213;localStorage[_0x22521f(0x194)](_0x650cf,JSON[_0x22521f(0x2c9)](_0x209c1b));}[_0xc63213(0x407)](){const _0x5d7982=_0xc63213;this[_0x5d7982(0x3af)]=window[_0x5d7982(0x2dd)](()=>{const _0x106e1a=_0x5d7982;this[_0x106e1a(0x260)]({'type':0x2,'memberID':this[_0x106e1a(0x3f7)]});},_0x34c3c8);}[_0xc63213(0x373)](_0x1e1f2){const _0x3c4d4a=_0xc63213;return this['_unitStatus'][_0x3c4d4a(0x2f5)](_0x1e1f2)||this['_unitStatus'][_0x3c4d4a(0x1bb)](_0x1e1f2,new _0x20e3e2[(_0x3c4d4a(0x3b6))](_0x2912f8['UnitStatus'][_0x3c4d4a(0x1c9)])),this[_0x3c4d4a(0x317)][_0x3c4d4a(0x20f)](_0x1e1f2);}}var _0x2e20f2=(_0x5be6e5=>(_0x5be6e5[_0x5be6e5[_0xc63213(0x2ce)]=0x0]=_0xc63213(0x2ce),_0x5be6e5[_0x5be6e5['OK']=0x1]='OK',_0x5be6e5[_0x5be6e5[_0xc63213(0x23d)]=0x2]=_0xc63213(0x23d),_0x5be6e5[_0x5be6e5[_0xc63213(0x36e)]=0x3]=_0xc63213(0x36e),_0x5be6e5[_0x5be6e5[_0xc63213(0x1bd)]=0x4]='NOT_FOUND',_0x5be6e5[_0x5be6e5[_0xc63213(0x1b3)]=0x5]='UNAUTHENTICATED',_0x5be6e5[_0x5be6e5['ALREADY_EXISTS']=0x6]=_0xc63213(0x2eb),_0x5be6e5[_0x5be6e5[_0xc63213(0x3eb)]=0x7]=_0xc63213(0x3eb),_0x5be6e5[_0x5be6e5[_0xc63213(0x3e1)]=0x8]='TOO_MANY_REQUESTS',_0x5be6e5[_0x5be6e5[_0xc63213(0x258)]=0x9]=_0xc63213(0x258),_0x5be6e5[_0x5be6e5[_0xc63213(0x3fb)]=0xa]=_0xc63213(0x3fb),_0x5be6e5[_0x5be6e5['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5be6e5[_0x5be6e5[_0xc63213(0x42a)]=0x1771]=_0xc63213(0x42a),_0x5be6e5[_0x5be6e5[_0xc63213(0x36a)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x5be6e5[_0x5be6e5[_0xc63213(0x1a8)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x5be6e5[_0x5be6e5['APPLY_REJECT']=0x1b59]=_0xc63213(0x405),_0x5be6e5[_0x5be6e5['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0xc63213(0x221),_0x5be6e5[_0x5be6e5['APPLY_REVISION_CONFILICT']=0x1b5b]=_0xc63213(0x2f2),_0x5be6e5[_0x5be6e5['APPLY_PERMISSION_DENIED']=0x1b5c]=_0xc63213(0x362),_0x5be6e5[_0x5be6e5['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x5be6e5[_0x5be6e5['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0xc63213(0x41b),_0x5be6e5[_0x5be6e5[_0xc63213(0x3b1)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5be6e5[_0x5be6e5[_0xc63213(0x339)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x5be6e5[_0x5be6e5[_0xc63213(0x210)]=0x232b]=_0xc63213(0x210),_0x5be6e5[_0x5be6e5[_0xc63213(0x40a)]=0x232c]=_0xc63213(0x40a),_0x5be6e5[_0x5be6e5[_0xc63213(0x2c4)]=0x232d]=_0xc63213(0x2c4),_0x5be6e5[_0x5be6e5[_0xc63213(0x401)]=0x2711]=_0xc63213(0x401),_0x5be6e5[_0x5be6e5[_0xc63213(0x2aa)]=0x2712]=_0xc63213(0x2aa),_0x5be6e5[_0x5be6e5[_0xc63213(0x276)]=0x2713]=_0xc63213(0x276),_0x5be6e5[_0x5be6e5['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5be6e5[_0x5be6e5[_0xc63213(0x3db)]=0x271a]=_0xc63213(0x3db),_0x5be6e5[_0x5be6e5[_0xc63213(0x32d)]=0x271b]=_0xc63213(0x32d),_0x5be6e5[_0x5be6e5[_0xc63213(0x32e)]=0x271c]=_0xc63213(0x32e),_0x5be6e5[_0x5be6e5[_0xc63213(0x1c3)]=0x271d]=_0xc63213(0x1c3),_0x5be6e5[_0x5be6e5[_0xc63213(0x287)]=0x271e]=_0xc63213(0x287),_0x5be6e5[_0x5be6e5['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x5be6e5[_0x5be6e5[_0xc63213(0x1c0)]=0x2af9]=_0xc63213(0x1c0),_0x5be6e5[_0x5be6e5[_0xc63213(0x3a6)]=0x2ee1]=_0xc63213(0x3a6),_0x5be6e5[_0x5be6e5[_0xc63213(0x366)]=0x2ee2]=_0xc63213(0x366),_0x5be6e5[_0x5be6e5['INVITE_CODE_REQUIRED']=0x2ee3]=_0xc63213(0x33c),_0x5be6e5[_0x5be6e5['USER_NOT_INVITED_CODE']=0x2ee4]=_0xc63213(0x41e),_0x5be6e5[_0x5be6e5[_0xc63213(0x2a1)]=0x2ee5]=_0xc63213(0x2a1),_0x5be6e5[_0x5be6e5[_0xc63213(0x28b)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x5be6e5[_0x5be6e5[_0xc63213(0x2de)]=0x32ca]=_0xc63213(0x2de),_0x5be6e5[_0x5be6e5[_0xc63213(0x419)]=0x32cb]=_0xc63213(0x419),_0x5be6e5[_0x5be6e5['UNRECOGNIZED']=-0x1]=_0xc63213(0x22e),_0x5be6e5))(_0x2e20f2||{}),_0x4e6336=Object[_0xc63213(0x21d)],_0xa7b25a=(_0xea6f91,_0x2d76a1,_0x26be36,_0x580792)=>{const _0x51a132=_0xc63213;for(var _0xd4b3b7=_0x580792>0x1?void 0x0:_0x580792?_0x4e6336(_0x2d76a1,_0x26be36):_0x2d76a1,_0x1d4321=_0xea6f91[_0x51a132(0x338)]-0x1,_0x2ed10e;_0x1d4321>=0x0;_0x1d4321--)(_0x2ed10e=_0xea6f91[_0x1d4321])&&(_0xd4b3b7=_0x2ed10e(_0xd4b3b7)||_0xd4b3b7);return _0xd4b3b7;},_0x5c4973=(_0x9aba76,_0x5ee155)=>(_0x20835b,_0x17cb2b)=>_0x5ee155(_0x20835b,_0x17cb2b,_0x9aba76);_0xcf7480[_0xc63213(0x3a1)]=class extends _0x2d86c8['Disposable']{constructor(_0x161c7b,_0x44e6cd,_0x160a7c){const _0x436622=_0xc63213;super(),this[_0x436622(0x3d4)]=_0x161c7b,this[_0x436622(0x415)]=_0x44e6cd,this[_0x436622(0x19f)]=_0x160a7c;}async[_0xc63213(0x1e6)](_0x1561aa,_0x55ff39,_0x4de1fa,..._0x399bbe){const _0x243481=_0xc63213;var _0x23c74a,_0x2a9244,_0x3738cc,_0x24f9eb;const _0x4426a5=this['_instanceService'][_0x243481(0x1aa)]();if(!_0x4426a5)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x3c1eb8=((_0x23c74a=this[_0x243481(0x19f)]['getConfig'](_0x2912f8['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x23c74a:_0x2912f8['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x1561aa+_0x243481(0x1bf)+_0x55ff39,_0x1651a0=new URL(window[_0x243481(0x261)][_0x243481(0x1b4)]),_0x10995f={'scriptId':_0x1561aa,'runId':(_0x2a9244=_0x1651a0[_0x243481(0x3d2)]['get'](_0x243481(0x3bd)))!=null?_0x2a9244:'','function':_0x55ff39,'unitId':_0x4426a5[_0x243481(0x20b)](),'argsOfFunction':JSON[_0x243481(0x2c9)](_0x399bbe),'invokeId':(_0x3738cc=_0x4de1fa['invokeId'])!=null?_0x3738cc:'','executionId':(_0x24f9eb=_0x4de1fa[_0x243481(0x1cf)])!=null?_0x24f9eb:''};try{const _0x3bf1f3=await this[_0x243481(0x415)][_0x243481(0x3c3)](_0x3c1eb8,{'body':_0x10995f});return _0x3bf1f3[_0x243481(0x2a0)][_0x243481(0x2f1)]&&_0x3bf1f3['body'][_0x243481(0x2f1)][_0x243481(0x1a6)]!==_0x2e20f2['OK']?'Failed':_0x3bf1f3[_0x243481(0x2a0)][_0x243481(0x1b2)];}catch{return _0x243481(0x319);}}},_0xcf7480['RemoteUniscriptService']=_0xa7b25a([_0x5c4973(0x0,_0x2d86c8[_0xc63213(0x228)]),_0x5c4973(0x1,_0x2d86c8['Inject'](_0x1f504c[_0xc63213(0x384)])),_0x5c4973(0x2,_0x2d86c8[_0xc63213(0x1f6)])],_0xcf7480[_0xc63213(0x3a1)]),_0xcf7480[_0xc63213(0x270)]=_0x4160a2,_0xcf7480[_0xc63213(0x3ce)]=_0x28fdea,_0xcf7480['SheetCollabCursorShape']=_0x34c4d7,_0xcf7480[_0xc63213(0x386)]=_0x54e021,_0xcf7480[_0xc63213(0x40c)]=_0xfdfb6c,Object[_0xc63213(0x3c5)](_0xcf7480,Symbol['toStringTag'],{'value':_0xc63213(0x231)});}));
1
+ (function(_0xb8e093,_0x1ac179){const _0x4d18d8=_0x12c4,_0x1a10e5=_0xb8e093();while(!![]){try{const _0x4bec65=parseInt(_0x4d18d8(0x2b4))/0x1+-parseInt(_0x4d18d8(0x283))/0x2+parseInt(_0x4d18d8(0x1ee))/0x3*(parseInt(_0x4d18d8(0x3ad))/0x4)+-parseInt(_0x4d18d8(0x177))/0x5+-parseInt(_0x4d18d8(0x27e))/0x6*(parseInt(_0x4d18d8(0x343))/0x7)+parseInt(_0x4d18d8(0x361))/0x8*(-parseInt(_0x4d18d8(0x1d5))/0x9)+parseInt(_0x4d18d8(0x27c))/0xa;if(_0x4bec65===_0x1ac179)break;else _0x1a10e5['push'](_0x1a10e5['shift']());}catch(_0x3c5fa3){_0x1a10e5['push'](_0x1a10e5['shift']());}}}(_0x2d57,0x88975),function(_0x5dfa0d,_0x2d5181){const _0x3b2396=_0x12c4;typeof exports==_0x3b2396(0x1da)&&typeof module<'u'?_0x2d5181(exports,require(_0x3b2396(0x321)),require(_0x3b2396(0x2f7)),require(_0x3b2396(0x3f6)),require('@univerjs/network'),require(_0x3b2396(0x1c5)),require('@univerjs/drawing'),require(_0x3b2396(0x1f7)),require(_0x3b2396(0x257)),require(_0x3b2396(0x390)),require('@univerjs/engine-formula'),require(_0x3b2396(0x198)),require(_0x3b2396(0x20d)),require('@univerjs/sheets-ui'),require(_0x3b2396(0x1e1)),require('@univerjs/ui'),require(_0x3b2396(0x286)),require(_0x3b2396(0x379)),require('@univerjs/rpc')):typeof define==_0x3b2396(0x270)&&define[_0x3b2396(0x2b5)]?define([_0x3b2396(0x289),'@univerjs-pro/collaboration-client',_0x3b2396(0x2f7),_0x3b2396(0x3f6),_0x3b2396(0x300),_0x3b2396(0x1c5),_0x3b2396(0x332),'rxjs','@univerjs/docs','@univerjs-pro/collaboration',_0x3b2396(0x247),_0x3b2396(0x198),_0x3b2396(0x20d),_0x3b2396(0x1c6),_0x3b2396(0x1e1),_0x3b2396(0x1bd),'@univerjs/design',_0x3b2396(0x379),'@univerjs/rpc'],_0x2d5181):(_0x5dfa0d=typeof globalThis<'u'?globalThis:_0x5dfa0d||self,_0x2d5181(_0x5dfa0d['UniverProCollaborationClientUi']={},_0x5dfa0d['UniverProCollaborationClient'],_0x5dfa0d[_0x3b2396(0x334)],_0x5dfa0d[_0x3b2396(0x337)],_0x5dfa0d[_0x3b2396(0x1c2)],_0x5dfa0d[_0x3b2396(0x3d8)],_0x5dfa0d[_0x3b2396(0x255)],_0x5dfa0d[_0x3b2396(0x1f7)],_0x5dfa0d[_0x3b2396(0x340)],_0x5dfa0d[_0x3b2396(0x3c1)],_0x5dfa0d[_0x3b2396(0x16e)],_0x5dfa0d['UniverSheets'],_0x5dfa0d[_0x3b2396(0x1f7)][_0x3b2396(0x193)],_0x5dfa0d['UniverSheetsUi'],_0x5dfa0d['React'],_0x5dfa0d[_0x3b2396(0x27d)],_0x5dfa0d['UniverDesign'],_0x5dfa0d[_0x3b2396(0x2fc)],_0x5dfa0d['UniverRpc']));}(this,function(_0x3fac21,_0x1fb374,_0x17a0d6,_0x4826e7,_0x5600f6,_0x21bec9,_0x284679,_0xa893e5,_0x566265,_0x2226d4,_0x2899a3,_0x1ce549,_0x3fdb29,_0x3a9c80,_0x1c574a,_0x5aad63,_0x20461d,_0x115905,_0x1f9553){'use strict';const _0x964c6d=_0x12c4;var _0x43a9f9=Object[_0x964c6d(0x376)],_0x279b52=(_0x2f9131,_0x54cf66,_0x207fd5)=>_0x54cf66 in _0x2f9131?_0x43a9f9(_0x2f9131,_0x54cf66,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x207fd5}):_0x2f9131[_0x54cf66]=_0x207fd5,_0x2e1f76=(_0x4d2afa,_0x102bc2,_0x226fc2)=>_0x279b52(_0x4d2afa,typeof _0x102bc2!=_0x964c6d(0x2df)?_0x102bc2+'':_0x102bc2,_0x226fc2),_0x185f5b=Object[_0x964c6d(0x236)],_0x4056e0=(_0x215099,_0x43f1ba,_0x732de9,_0x22e9eb)=>{const _0x48975c=_0x964c6d;for(var _0x617f94=_0x22e9eb>0x1?void 0x0:_0x22e9eb?_0x185f5b(_0x43f1ba,_0x732de9):_0x43f1ba,_0x5c550d=_0x215099[_0x48975c(0x3b0)]-0x1,_0x1b646b;_0x5c550d>=0x0;_0x5c550d--)(_0x1b646b=_0x215099[_0x5c550d])&&(_0x617f94=_0x1b646b(_0x617f94)||_0x617f94);return _0x617f94;},_0x1c51b7=(_0x27525d,_0x1ec8fc)=>(_0x3a5ef0,_0x426a40)=>_0x1ec8fc(_0x3a5ef0,_0x426a40,_0x27525d);let _0x566e8b=class extends _0x17a0d6[_0x964c6d(0x3b5)]{constructor(_0x1da5d4,_0x2c6721){const _0x125c16=_0x964c6d;super(),this[_0x125c16(0x2b6)]=_0x1da5d4,this[_0x125c16(0x1ef)]=_0x2c6721,this[_0x125c16(0x272)]();}[_0x964c6d(0x272)](){const _0x4eb1bf=_0x964c6d,_0x243895=this;this[_0x4eb1bf(0x2ba)](this[_0x4eb1bf(0x2b6)][_0x4eb1bf(0x282)]({'onBeforePasteImage':async _0x3bc014=>{const _0x526301=_0x4eb1bf,_0x5694fe=await _0x243895['_imageIoService'][_0x526301(0x2c9)](_0x3bc014);return _0x5694fe?{'source':_0x5694fe[_0x526301(0x32f)],'imageSourceType':_0x5694fe[_0x526301(0x303)]}:null;}}));}};_0x566e8b=_0x4056e0([_0x1c51b7(0x0,_0x21bec9[_0x964c6d(0x377)]),_0x1c51b7(0x1,_0x284679[_0x964c6d(0x176)])],_0x566e8b);const _0x28aec0=[_0x964c6d(0x2a2),_0x964c6d(0x2c7),_0x964c6d(0x161),'red.300',_0x964c6d(0x29e),'yellow.400'];class _0x41db9a extends _0x17a0d6[_0x964c6d(0x299)]{constructor(){const _0x5e23b3=_0x964c6d;super(...arguments),_0x2e1f76(this,_0x5e23b3(0x380),new Map()),_0x2e1f76(this,_0x5e23b3(0x263),0x0);}[_0x964c6d(0x280)](_0x17b30a){const _0x40d608=_0x964c6d;if(this[_0x40d608(0x380)][_0x40d608(0x218)](_0x17b30a))return this[_0x40d608(0x380)][_0x40d608(0x17d)](_0x17b30a);const _0x4e30b9=_0x28aec0[this['_colorIndex']];return this['_colorIndex']=(this[_0x40d608(0x263)]+0x1)%_0x28aec0[_0x40d608(0x3b0)],this[_0x40d608(0x380)][_0x40d608(0x26d)](_0x17b30a,_0x4e30b9),_0x4e30b9;}}function _0x36ad89(_0x486bb7){const _0x42ca90=_0x964c6d;let _0x5c617e='';for(const _0x59abdc of _0x486bb7){const {startOffset:_0x58ebaa,endOffset:_0x49533f,isActive:_0x53db8d,rangeType:_0x5e5176,segmentId:_0x2f46e5,segmentPage:_0x524fd5}=_0x59abdc;_0x5c617e[_0x42ca90(0x3b0)]&&(_0x5c617e+=','),_0x5c617e+=_0x58ebaa+':'+_0x49533f+':'+(_0x53db8d?'1':'0')+':'+_0x5e5176+':'+_0x2f46e5+':'+_0x524fd5;}return _0x5c617e;}function _0x33a435(_0x4de7ed){const _0x2feed5=_0x964c6d,_0x8c2de5=_0x4de7ed[_0x2feed5(0x324)](','),_0xc8497a=[];for(const _0x512ef9 of _0x8c2de5){const [_0x3e3072,_0x1c8c8f,_0xc534b0,_0x2d8ca2,_0x42e94e,_0x337042]=_0x512ef9['split'](':');_0xc8497a[_0x2feed5(0x28c)]({'startOffset':Number(_0x3e3072),'endOffset':Number(_0x1c8c8f),'collapsed':_0x3e3072===_0x1c8c8f,'isActive':_0xc534b0==='1','rangeType':_0x2d8ca2===_0x17a0d6[_0x2feed5(0x3a0)][_0x2feed5(0x368)]?_0x17a0d6[_0x2feed5(0x3a0)][_0x2feed5(0x368)]:_0x17a0d6[_0x2feed5(0x3a0)][_0x2feed5(0x3e6)],'segmentId':typeof _0x42e94e==_0x2feed5(0x194)?String(_0x42e94e):'','segmentPage':Number(_0x337042!=null?_0x337042:-0x1)});}return _0xc8497a[_0x2feed5(0x29a)](_0x20c6ea=>_0x20c6ea[_0x2feed5(0x1a2)])||(_0xc8497a[0x0][_0x2feed5(0x1a2)]=!0x0),_0xc8497a;}class _0x6e5760 extends _0x17a0d6['RxDisposable']{constructor(){const _0x350a44=_0x964c6d;super(...arguments),_0x2e1f76(this,_0x350a44(0x1fa),new _0xa893e5[(_0x350a44(0x1e7))](null)),_0x2e1f76(this,_0x350a44(0x256),this[_0x350a44(0x1fa)][_0x350a44(0x2b1)]());}['syncEditingCollabCursor'](_0x2b3b9a){const _0x389309=_0x964c6d,{unitID:_0x4b50b6,memberID:_0x53e7e2,textRanges:_0x171ca3}=_0x2b3b9a,_0x49656c=_0x36ad89(_0x171ca3);if(_0x49656c==='')return;const _0x2ac93f={'unitID':_0x4b50b6,'memberID':_0x53e7e2,'selection':_0x49656c};this['_collabCursorState$'][_0x389309(0x3ae)](_0x2ac93f);}}var _0x543f04=Object['getOwnPropertyDescriptor'],_0x6ba688=(_0xaec62b,_0x1e3639,_0x53b464,_0x180d4a)=>{const _0x50fb87=_0x964c6d;for(var _0x348326=_0x180d4a>0x1?void 0x0:_0x180d4a?_0x543f04(_0x1e3639,_0x53b464):_0x1e3639,_0x2943a0=_0xaec62b[_0x50fb87(0x3b0)]-0x1,_0x3befcb;_0x2943a0>=0x0;_0x2943a0--)(_0x3befcb=_0xaec62b[_0x2943a0])&&(_0x348326=_0x3befcb(_0x348326)||_0x348326);return _0x348326;},_0xc426b8=(_0x5913d4,_0x5a291e)=>(_0x831cba,_0x2f4a47)=>_0x5a291e(_0x831cba,_0x2f4a47,_0x5913d4);const _0x5e2a60=0x12c,_0x2b1042=0x64;let _0xdb8bd5=class extends _0x17a0d6['RxDisposable']{constructor(_0x5e2b3a,_0x3a5473,_0x3ee21f,_0x1fa7ea,_0x1028a1,_0x29a811,_0x5e4c6c,_0x4263f7,_0x293341){const _0x2ee42e=_0x964c6d;super(),_0x2e1f76(this,'_online',!0x1),_0x2e1f76(this,_0x2ee42e(0x272),!0x1),_0x2e1f76(this,_0x2ee42e(0x338),new _0xa893e5[(_0x2ee42e(0x1e7))](new Map())),_0x2e1f76(this,_0x2ee42e(0x28f),this['_cursorInfo$']['asObservable']()),_0x2e1f76(this,_0x2ee42e(0x38d),new _0xa893e5[(_0x2ee42e(0x1e7))]([])),_0x2e1f76(this,'roomMembers$',this['_roomMembers$'][_0x2ee42e(0x3e0)](_0xa893e5[_0x2ee42e(0x363)](_0x5e2a60))),_0x2e1f76(this,_0x2ee42e(0x1a3),_0x17a0d6[_0x2ee42e(0x35a)](_0x52c8bb=>{const _0x1aaa43=_0x2ee42e,_0x53b67d={'eventID':_0x2226d4[_0x1aaa43(0x1cf)][_0x1aaa43(0x3a7)],'data':{'unitID':this[_0x1aaa43(0x241)],'memberID':this[_0x1aaa43(0x33e)][_0x1aaa43(0x330)](),'selection':_0x36ad89(_0x52c8bb)}};this['_session'][_0x1aaa43(0x353)](_0x53b67d,this[_0x1aaa43(0x241)]);},_0x2b1042)),(this[_0x2ee42e(0x241)]=_0x5e2b3a,this[_0x2ee42e(0x33e)]=_0x3a5473,this[_0x2ee42e(0x222)]=_0x3ee21f,this[_0x2ee42e(0x279)]=_0x1fa7ea,this[_0x2ee42e(0x252)]=_0x1028a1,this['_syncEditingCollabCursorService']=_0x29a811,this[_0x2ee42e(0x354)]=_0x5e4c6c,this[_0x2ee42e(0x2ec)]=_0x4263f7,this[_0x2ee42e(0x1bf)]=_0x293341);}get['cursorInfo'](){const _0x587d35=_0x964c6d;return this[_0x587d35(0x338)][_0x587d35(0x204)]();}get[_0x964c6d(0x202)](){const _0xb4d50f=_0x964c6d;return this['_roomMembers$'][_0xb4d50f(0x204)]();}[_0x964c6d(0x2bd)](){const _0x5ea2d3=_0x964c6d;super[_0x5ea2d3(0x2bd)](),this[_0x5ea2d3(0x338)][_0x5ea2d3(0x3ae)](new Map()),this[_0x5ea2d3(0x338)][_0x5ea2d3(0x3a6)](),this['_roomMembers$'][_0x5ea2d3(0x3ae)]([]),this[_0x5ea2d3(0x38d)][_0x5ea2d3(0x3a6)]();}[_0x964c6d(0x365)](){const _0x424552=_0x964c6d;this[_0x424552(0x272)]||(this[_0x424552(0x272)]=!0x0,this[_0x424552(0x33e)][_0x424552(0x366)][_0x424552(0x3e0)](_0xa893e5[_0x424552(0x345)](this[_0x424552(0x1d7)]))[_0x424552(0x3ec)](_0x50d31f=>{const _0x914117=_0x424552;_0x50d31f===_0x1fb374['SessionStatus'][_0x914117(0x33f)]?this[_0x914117(0x2a0)]():this[_0x914117(0x302)]();}),this[_0x424552(0x33e)][_0x424552(0x1e3)][_0x424552(0x3e0)](_0xa893e5[_0x424552(0x345)](this[_0x424552(0x1d7)]))[_0x424552(0x3ec)](_0x5e715e=>{const _0x3a7349=_0x424552,_0x344952=_0x5e715e['eventID'];_0x344952===_0x2226d4[_0x3a7349(0x1cf)][_0x3a7349(0x3a7)]&&this['_onCursorUpdate'](_0x5e715e),_0x344952===_0x2226d4['CollaborationEvent'][_0x3a7349(0x2e4)]&&this['_onCursorDelete'](_0x5e715e);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x105319=>{const _0xaa5b3e=_0x424552,_0x20129f=_0x105319[_0xaa5b3e(0x290)];_0x20129f!=null&&this[_0xaa5b3e(0x2b7)]&&_0x105319['id']===_0x566265['SetTextSelectionsOperation']['id']&&_0x20129f[_0xaa5b3e(0x314)]===this[_0xaa5b3e(0x241)]&&_0x20129f[_0xaa5b3e(0x3e7)]===!0x1&&_0x20129f[_0xaa5b3e(0x244)][_0xaa5b3e(0x3b0)]>0x0&&this[_0xaa5b3e(0x1a3)](_0x20129f[_0xaa5b3e(0x244)]);})),this[_0x424552(0x3b4)][_0x424552(0x256)][_0x424552(0x3e0)](_0xa893e5['takeUntil'](this[_0x424552(0x1d7)]))[_0x424552(0x3ec)](_0x531b4c=>{const _0x1d8474=_0x424552;if((_0x531b4c==null?void 0x0:_0x531b4c[_0x1d8474(0x241)])!==this[_0x1d8474(0x241)])return;const _0x37e3d5={'eventID':_0x2226d4['CollaborationEvent']['UPDATE_CURSOR'],'data':_0x531b4c};this[_0x1d8474(0x3ab)](_0x37e3d5);}),this['disposeWithMe'](this[_0x424552(0x1bf)][_0x424552(0x203)](_0x3f94d0=>{const _0x22cb7b=_0x424552;if(_0x3f94d0['params']==null)return;const _0x23ab1f=_0x3f94d0[_0x22cb7b(0x290)];if(_0x3f94d0['id']!==_0x566265['RichTextEditingMutation']['id']||_0x23ab1f[_0x22cb7b(0x314)]!==this[_0x22cb7b(0x241)])return;const _0x2681fb={'id':_0x22cb7b(0x26a),'params':_0x23ab1f},_0x30b61a=this[_0x22cb7b(0x1fe)];for(const [_0x2e23ad,_0xf5a38]of _0x30b61a){const _0x1f2d4e={'id':_0x22cb7b(0x26a),'params':{'unitId':this[_0x22cb7b(0x241)],'actions':null,'textRanges':_0xf5a38[_0x22cb7b(0x244)]}},_0x30c44d=this[_0x22cb7b(0x354)][_0x22cb7b(0x28d)](_0x2681fb,_0x1f2d4e,!0x1);if(_0x2226d4[_0x22cb7b(0x398)](_0x30c44d))throw _0x30c44d[_0x22cb7b(0x232)];_0x30b61a[_0x22cb7b(0x26d)](_0x2e23ad,{..._0xf5a38,'ranges':_0x30c44d['m2Prime'][_0x22cb7b(0x290)][_0x22cb7b(0x39a)]});}queueMicrotask(()=>{const _0x66d643=_0x22cb7b;this['_cursorInfo$'][_0x66d643(0x3ae)](_0x30b61a);});})));}['_onCursorUpdate'](_0x3e7338){const _0xa1cc09=_0x964c6d;var _0x1c1f45,_0x5afcb3;const {memberID:_0x19ac97,selection:_0x1c2a8e}=_0x3e7338[_0xa1cc09(0x169)],_0x5378f8=_0x33a435(_0x1c2a8e),_0x58c99a=(_0x5afcb3=(_0x1c1f45=this['_memberService'][_0xa1cc09(0x391)](this['unitID'],_0x19ac97))==null?void 0x0:_0x1c1f45[_0xa1cc09(0x2ed)])!=null?_0x5afcb3:_0xa1cc09(0x371),_0x4003d2={'color':this['_colorAssignService'][_0xa1cc09(0x280)](_0x19ac97),'name':_0x58c99a,'ranges':_0x5378f8},_0x5b1652=this['cursorInfo'];_0x5b1652[_0xa1cc09(0x26d)](_0x19ac97,_0x4003d2),this[_0xa1cc09(0x338)][_0xa1cc09(0x3ae)](_0x5b1652);}['_onCursorDelete'](_0x35bb88){const _0x2cf398=_0x964c6d,{memberID:_0x2d382c}=_0x35bb88[_0x2cf398(0x169)],_0x24b597=this[_0x2cf398(0x1fe)];_0x24b597[_0x2cf398(0x31e)](_0x2d382c),this['_cursorInfo$'][_0x2cf398(0x3ae)](_0x24b597);}[_0x964c6d(0x2a0)](){const _0x2bca88=_0x964c6d;var _0x1486a8;if(this[_0x2bca88(0x2b7)]=!0x0,((_0x1486a8=this['_univerInstanceService'][_0x2bca88(0x172)]())==null?void 0x0:_0x1486a8[_0x2bca88(0x2fa)]())!==this['unitID'])return;const _0xde4d0c=this[_0x2bca88(0x222)][_0x2bca88(0x17d)](_0x566265[_0x2bca88(0x17e)])[_0x2bca88(0x264)]();Array[_0x2bca88(0x288)](_0xde4d0c)&&_0xde4d0c[_0x2bca88(0x3b0)]>0x0&&this['_updateLocalCursor'](_0xde4d0c);}[_0x964c6d(0x302)](){const _0x1611f0=_0x964c6d;this[_0x1611f0(0x2b7)]=!0x1;}};_0xdb8bd5=_0x6ba688([_0xc426b8(0x2,_0x17a0d6[_0x964c6d(0x1ad)](_0x17a0d6[_0x964c6d(0x3d0)])),_0xc426b8(0x3,_0x17a0d6[_0x964c6d(0x1ad)](_0x41db9a)),_0xc426b8(0x4,_0x17a0d6[_0x964c6d(0x1ad)](_0x1fb374[_0x964c6d(0x370)])),_0xc426b8(0x5,_0x17a0d6[_0x964c6d(0x1ad)](_0x6e5760)),_0xc426b8(0x6,_0x2226d4[_0x964c6d(0x181)]),_0xc426b8(0x7,_0x17a0d6[_0x964c6d(0x22d)]),_0xc426b8(0x8,_0x17a0d6[_0x964c6d(0x351)])],_0xdb8bd5);var _0x3e1688=Object[_0x964c6d(0x236)],_0x54c9ef=(_0x54d0af,_0x18f138,_0x3c0e3b,_0x387aab)=>{const _0x127a95=_0x964c6d;for(var _0x168abc=_0x387aab>0x1?void 0x0:_0x387aab?_0x3e1688(_0x18f138,_0x3c0e3b):_0x18f138,_0x3cea17=_0x54d0af[_0x127a95(0x3b0)]-0x1,_0x4b8438;_0x3cea17>=0x0;_0x3cea17--)(_0x4b8438=_0x54d0af[_0x3cea17])&&(_0x168abc=_0x4b8438(_0x168abc)||_0x168abc);return _0x168abc;},_0x54b63a=(_0x347137,_0x4851d2)=>(_0x3d2d93,_0xd8dce1)=>_0x4851d2(_0x3d2d93,_0xd8dce1,_0x347137);const _0x2335cd=0x12c,_0x2cd483=0x64,_0x53301b=()=>{let _0xe6e85=[],_0x181a3a=!0x1;return _0x562a6a=>{const _0x23de79=_0x12c4;_0xe6e85[_0x23de79(0x28c)](_0x562a6a),_0x181a3a||(_0x181a3a=!0x0,setTimeout(()=>{const _0x1397e6=_0x23de79;_0xe6e85[_0x1397e6(0x2ad)](_0x5bfa9e=>_0x5bfa9e()),_0xe6e85=[],_0x181a3a=!0x1;}));};};let _0x52679c=class extends _0x17a0d6[_0x964c6d(0x3b5)]{constructor(_0x1d9803,_0x3d3cb0,_0x25bb98,_0x4a70d1,_0x53a381,_0x577aa6,_0x3ae900,_0x337967){const _0x5e8636=_0x964c6d;super(),_0x2e1f76(this,_0x5e8636(0x2b7),!0x1),_0x2e1f76(this,_0x5e8636(0x272),!0x1),_0x2e1f76(this,'_cursorInfo$',new _0xa893e5['BehaviorSubject'](new Map())),_0x2e1f76(this,_0x5e8636(0x28f),this[_0x5e8636(0x338)][_0x5e8636(0x2b1)]()),_0x2e1f76(this,_0x5e8636(0x38d),new _0xa893e5[(_0x5e8636(0x1e7))]([])),_0x2e1f76(this,_0x5e8636(0x1a4),this[_0x5e8636(0x38d)][_0x5e8636(0x3e0)](_0xa893e5[_0x5e8636(0x363)](_0x2335cd))),_0x2e1f76(this,_0x5e8636(0x1a3),_0x17a0d6[_0x5e8636(0x35a)]((_0x1607b8,_0x5982cf)=>{const _0x51bed0=_0x5e8636,_0xfb9db7={'eventID':_0x2226d4[_0x51bed0(0x1cf)][_0x51bed0(0x3a7)],'data':{'unitID':this[_0x51bed0(0x241)],'memberID':this['_session'][_0x51bed0(0x330)](),'selection':_0x2899a3[_0x51bed0(0x165)](_0x1607b8,_0x5982cf['range'])}};this[_0x51bed0(0x33e)][_0x51bed0(0x353)](_0xfb9db7,this[_0x51bed0(0x241)]);},_0x2cd483)),(this[_0x5e8636(0x241)]=_0x1d9803,this[_0x5e8636(0x33e)]=_0x3d3cb0,this[_0x5e8636(0x222)]=_0x25bb98,this[_0x5e8636(0x279)]=_0x4a70d1,this['_memberService']=_0x53a381,this[_0x5e8636(0x2ec)]=_0x577aa6,this[_0x5e8636(0x1bf)]=_0x3ae900,this[_0x5e8636(0x317)]=_0x337967);}get[_0x964c6d(0x1fe)](){const _0x3d5b1b=_0x964c6d;return this[_0x3d5b1b(0x338)]['getValue']();}get[_0x964c6d(0x202)](){const _0x24cc2e=_0x964c6d;return this['_roomMembers$'][_0x24cc2e(0x204)]();}[_0x964c6d(0x2bd)](){const _0x33fbeb=_0x964c6d;super[_0x33fbeb(0x2bd)](),this[_0x33fbeb(0x338)][_0x33fbeb(0x3ae)](new Map()),this[_0x33fbeb(0x338)][_0x33fbeb(0x3a6)](),this[_0x33fbeb(0x38d)]['next']([]),this[_0x33fbeb(0x38d)][_0x33fbeb(0x3a6)]();}[_0x964c6d(0x365)](){const _0x820824=_0x964c6d;this[_0x820824(0x272)]||(this[_0x820824(0x272)]=!0x0,this[_0x820824(0x33e)]['sessionStatus$'][_0x820824(0x3e0)](_0xa893e5['takeUntil'](this[_0x820824(0x1d7)]))[_0x820824(0x3ec)](_0x4c5e63=>{const _0x12aa33=_0x820824;_0x4c5e63===_0x1fb374[_0x12aa33(0x235)][_0x12aa33(0x33f)]?this['_toggleOnline']():this[_0x12aa33(0x302)]();}),this['_session'][_0x820824(0x1e3)]['pipe'](_0xa893e5[_0x820824(0x345)](this[_0x820824(0x1d7)]))[_0x820824(0x3ec)](_0x1d1e83=>{const _0x3a47d4=_0x820824,_0x4e018e=_0x1d1e83[_0x3a47d4(0x22b)];_0x4e018e===_0x2226d4[_0x3a47d4(0x1cf)][_0x3a47d4(0x3a7)]&&this[_0x3a47d4(0x3ab)](_0x1d1e83),_0x4e018e===_0x2226d4[_0x3a47d4(0x1cf)]['USERS_LEAVE']&&this[_0x3a47d4(0x23e)](_0x1d1e83);}),this[_0x820824(0x2d8)](),this[_0x820824(0x2ba)](this[_0x820824(0x1bf)][_0x820824(0x203)](_0x133840=>{const _0x59da91=_0x820824;if(this[_0x59da91(0x2b7)]&&_0x133840['id']===_0x1ce549[_0x59da91(0x2d3)]['id']&&_0x133840[_0x59da91(0x290)][_0x59da91(0x314)]===this[_0x59da91(0x241)]){const _0x5595b2=_0x133840[_0x59da91(0x290)];this[_0x59da91(0x1a3)](_0x5595b2[_0x59da91(0x174)],_0x5595b2[_0x59da91(0x2f3)][0x0]);}})));}[_0x964c6d(0x3ab)](_0x502795){const _0x1de82c=_0x964c6d;var _0x55a9e4,_0x57c129;const {memberID:_0x4d3f41,selection:_0x37a466}=_0x502795[_0x1de82c(0x169)],{sheetName:_0x422c31,range:_0x515a77}=_0x2899a3['deserializeRangeWithSheet'](_0x37a466),_0x168e46={'name':(_0x57c129=(_0x55a9e4=this[_0x1de82c(0x252)][_0x1de82c(0x391)](this[_0x1de82c(0x241)],_0x4d3f41))==null?void 0x0:_0x55a9e4[_0x1de82c(0x2ed)])!=null?_0x57c129:_0x1de82c(0x371),'range':this[_0x1de82c(0x373)](_0x422c31,_0x515a77),'sheetID':_0x422c31,'color':this['_colorAssignService'][_0x1de82c(0x280)](_0x4d3f41),'selection':_0x37a466},_0x5ecb1c=this[_0x1de82c(0x1fe)];_0x5ecb1c['set'](_0x4d3f41,_0x168e46),this[_0x1de82c(0x338)][_0x1de82c(0x3ae)](_0x5ecb1c);}[_0x964c6d(0x23e)](_0x28fe3f){const _0x144a9e=_0x964c6d,{memberID:_0xe5997b}=_0x28fe3f[_0x144a9e(0x169)],_0x3d5489=this[_0x144a9e(0x1fe)];_0x3d5489['delete'](_0xe5997b),this[_0x144a9e(0x338)][_0x144a9e(0x3ae)](_0x3d5489);}[_0x964c6d(0x373)](_0x460dc4,_0x4a3a28){const _0x33c15f=_0x964c6d;var _0x8f32cb,_0x2ce64a;const _0x426d4e=(_0x2ce64a=(_0x8f32cb=this[_0x33c15f(0x2ec)][_0x33c15f(0x34c)](this[_0x33c15f(0x241)]))==null?void 0x0:_0x8f32cb[_0x33c15f(0x216)](_0x460dc4))==null?void 0x0:_0x2ce64a[_0x33c15f(0x3d9)]();return(_0x426d4e==null?void 0x0:_0x426d4e[_0x33c15f(0x2d4)](_0x3e50d1=>_0x17a0d6['Rectangle'][_0x33c15f(0x2c8)](_0x3e50d1,_0x4a3a28)))||_0x4a3a28;}[_0x964c6d(0x2d8)](){const _0x2c6b56=_0x964c6d,_0x200345=new _0x17a0d6['DisposableCollection'](),_0x51387c=_0x53301b(),_0x310ce6=()=>{const _0x1305da=_0x12c4;_0x200345['dispose']();const _0x2165f0=(_0x4b69c4,_0x4a8a4c,_0x585404,_0x64e67c)=>{const _0x3a134a=_0x12c4;let _0x2558b4=[];switch(_0x4b69c4['id']){case _0x1ce549[_0x3a134a(0x18e)][_0x3a134a(0x3af)]:{_0x2558b4=_0x1ce549[_0x3a134a(0x39f)](_0x4b69c4,_0x64e67c);break;}case _0x1ce549[_0x3a134a(0x18e)][_0x3a134a(0x1d9)]:{_0x2558b4=_0x1ce549[_0x3a134a(0x34b)](_0x4b69c4,_0x64e67c);break;}case _0x1ce549[_0x3a134a(0x18e)][_0x3a134a(0x2bf)]:{_0x2558b4=_0x1ce549[_0x3a134a(0x1db)](_0x4b69c4,_0x64e67c);break;}case _0x1ce549[_0x3a134a(0x18e)][_0x3a134a(0x305)]:{_0x2558b4=_0x1ce549[_0x3a134a(0x386)](_0x4b69c4,_0x64e67c);break;}case _0x1ce549[_0x3a134a(0x18e)][_0x3a134a(0x1f5)]:{_0x2558b4=_0x1ce549[_0x3a134a(0x2a7)](_0x4b69c4,_0x64e67c);break;}case _0x1ce549[_0x3a134a(0x18e)][_0x3a134a(0x3da)]:{_0x2558b4=_0x1ce549[_0x3a134a(0x1e0)](_0x4b69c4,_0x64e67c);break;}case _0x1ce549[_0x3a134a(0x18e)]['MoveRangeCommandId']:{_0x2558b4=_0x1ce549[_0x3a134a(0x17b)](_0x4b69c4,_0x64e67c);break;}case _0x1ce549[_0x3a134a(0x18e)][_0x3a134a(0x1f8)]:{_0x2558b4=_0x1ce549[_0x3a134a(0x17f)](_0x4b69c4,_0x64e67c);break;}case _0x1ce549[_0x3a134a(0x18e)][_0x3a134a(0x3e1)]:{_0x2558b4=_0x1ce549[_0x3a134a(0x24c)](_0x4b69c4,_0x64e67c);break;}}const _0x3c5e0c=_0x1ce549[_0x3a134a(0x24d)](_0x2558b4,_0x64e67c),_0x1373ef=this[_0x3a134a(0x1fe)][_0x3a134a(0x17d)](_0x4a8a4c);if(_0x1373ef&&_0x3c5e0c){const _0x5c7029={..._0x1373ef,'range':_0x3c5e0c};this[_0x3a134a(0x1fe)]['set'](_0x4a8a4c,_0x5c7029),_0x51387c(()=>{const _0x448e66=_0x3a134a,_0x5358ce=this[_0x448e66(0x317)]['registerRefRange'](_0x3c5e0c,_0x42a4e7=>(_0x5358ce['dispose'](),_0x2165f0(_0x42a4e7,_0x4a8a4c,_0x585404,_0x3c5e0c)));_0x200345[_0x448e66(0x16b)](_0x5358ce);});}return{'redos':[],'undos':[]};};this[_0x1305da(0x1fe)][_0x1305da(0x2ad)]((_0x574e38,_0x319ffd)=>{const _0x2bb741=_0x1305da,{range:_0x5ea373,sheetID:_0x57ee9f}=_0x574e38,_0x4efd11=this[_0x2bb741(0x317)]['registerRefRange'](_0x5ea373,_0x45dd5a=>(_0x4efd11['dispose'](),_0x2165f0(_0x45dd5a,_0x319ffd,_0x57ee9f,_0x5ea373)));_0x200345[_0x2bb741(0x16b)](_0x4efd11);});};this['disposeWithMe'](_0x17a0d6['toDisposable'](this[_0x2c6b56(0x338)][_0x2c6b56(0x3ec)](()=>{_0x310ce6();})));}[_0x964c6d(0x2a0)](){const _0x26d654=_0x964c6d;var _0x436d26,_0x304ba5;if(this['_online']=!0x0,((_0x436d26=this[_0x26d654(0x2ec)][_0x26d654(0x172)]())==null?void 0x0:_0x436d26[_0x26d654(0x2fa)]())!==this[_0x26d654(0x241)])return;const _0x25f320=(_0x304ba5=this[_0x26d654(0x222)]['get'](_0x1ce549[_0x26d654(0x3de)])[_0x26d654(0x212)]())==null?void 0x0:_0x304ba5[0x0],_0x134cbc=this[_0x26d654(0x2ec)][_0x26d654(0x166)](_0x17a0d6[_0x26d654(0x217)]['UNIVER_SHEET'])[_0x26d654(0x260)]();_0x25f320&&_0x134cbc&&this[_0x26d654(0x1a3)](_0x134cbc[_0x26d654(0x315)](),_0x25f320);}['_toggleOffline'](){const _0x355ea1=_0x964c6d;this[_0x355ea1(0x2b7)]=!0x1;}};_0x52679c=_0x54c9ef([_0x54b63a(0x2,_0x17a0d6[_0x964c6d(0x1ad)](_0x17a0d6['Injector'])),_0x54b63a(0x3,_0x17a0d6[_0x964c6d(0x1ad)](_0x41db9a)),_0x54b63a(0x4,_0x17a0d6['Inject'](_0x1fb374[_0x964c6d(0x370)])),_0x54b63a(0x5,_0x17a0d6[_0x964c6d(0x22d)]),_0x54b63a(0x6,_0x17a0d6[_0x964c6d(0x351)]),_0x54b63a(0x7,_0x17a0d6[_0x964c6d(0x1ad)](_0x1ce549[_0x964c6d(0x3e4)]))],_0x52679c);var _0x2e9409=Object[_0x964c6d(0x236)],_0x573a31=(_0x48439b,_0xdd23a7,_0x211626,_0x4135ed)=>{const _0x325fc1=_0x964c6d;for(var _0x6f0f9=_0x4135ed>0x1?void 0x0:_0x4135ed?_0x2e9409(_0xdd23a7,_0x211626):_0xdd23a7,_0x348c1b=_0x48439b[_0x325fc1(0x3b0)]-0x1,_0x3ffcd1;_0x348c1b>=0x0;_0x348c1b--)(_0x3ffcd1=_0x48439b[_0x348c1b])&&(_0x6f0f9=_0x3ffcd1(_0x6f0f9)||_0x6f0f9);return _0x6f0f9;},_0x24ed41=(_0x3b5401,_0x4fdaf6)=>(_0x3ca0dc,_0x3e11c6)=>_0x4fdaf6(_0x3ca0dc,_0x3e11c6,_0x3b5401);let _0x1fcbad=class extends _0x17a0d6['RxDisposable']{constructor(_0x30f353,_0x578aa1,_0x31a927){const _0xa3e32a=_0x964c6d;super(),_0x2e1f76(this,_0xa3e32a(0x2dd),new Map()),_0x2e1f76(this,_0xa3e32a(0x3c7),new _0xa893e5[(_0xa3e32a(0x3ca))]()),(this[_0xa3e32a(0x2ec)]=_0x30f353,this[_0xa3e32a(0x222)]=_0x578aa1,this[_0xa3e32a(0x25e)]=_0x31a927,this[_0xa3e32a(0x272)]());}['dispose'](){const _0x535e36=_0x964c6d;super[_0x535e36(0x2bd)](),this[_0x535e36(0x3c7)][_0x535e36(0x3a6)](),this['_entities'][_0x535e36(0x2ad)](_0x420348=>_0x420348[_0x535e36(0x2bd)]());}['getCollabCursors$'](_0x320b13){const _0x4fe064=_0x964c6d;return this[_0x4fe064(0x2dd)][_0x4fe064(0x218)](_0x320b13)?this[_0x4fe064(0x2dd)][_0x4fe064(0x17d)](_0x320b13)[_0x4fe064(0x28f)]:this[_0x4fe064(0x3c7)][_0x4fe064(0x3e0)](_0xa893e5[_0x4fe064(0x2f2)](_0x2ec49e=>_0x2ec49e[_0x4fe064(0x241)]===_0x320b13),_0xa893e5[_0x4fe064(0x253)](_0x2a0d9f=>_0x2a0d9f[_0x4fe064(0x28f)]));}[_0x964c6d(0x272)](){const _0x51e6b5=_0x964c6d;this[_0x51e6b5(0x2ec)]['getTypeOfUnitAdded$'](_0x17a0d6[_0x51e6b5(0x217)][_0x51e6b5(0x254)])[_0x51e6b5(0x3e0)](_0xa893e5[_0x51e6b5(0x345)](this['dispose$']))[_0x51e6b5(0x3ec)](async _0x21db54=>{const _0x5e7cda=_0x51e6b5,_0x103eaa=_0x21db54[_0x5e7cda(0x2fa)](),_0x37d256=await this['_startSheetCollabCursor'](_0x103eaa);this[_0x5e7cda(0x3c7)]['next'](_0x37d256),this[_0x5e7cda(0x2dd)][_0x5e7cda(0x26d)](_0x103eaa,_0x37d256);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x17a0d6[_0x51e6b5(0x217)][_0x51e6b5(0x206)])['pipe'](_0xa893e5['takeUntil'](this['dispose$']))[_0x51e6b5(0x3e0)](_0xa893e5[_0x51e6b5(0x2f2)](_0x2ab89f=>!_0x2ab89f['getUnitId']()[_0x51e6b5(0x16c)]('__')))[_0x51e6b5(0x3ec)](async _0x39ac2a=>{const _0x2db971=_0x51e6b5,_0x463ea8=_0x39ac2a['getUnitId'](),_0x4b2fa6=await this[_0x2db971(0x352)](_0x463ea8);this[_0x2db971(0x3c7)][_0x2db971(0x3ae)](_0x4b2fa6),this[_0x2db971(0x2dd)]['set'](_0x463ea8,_0x4b2fa6);}),_0xa893e5[_0x51e6b5(0x325)](this[_0x51e6b5(0x2ec)][_0x51e6b5(0x2fb)](_0x17a0d6['UniverInstanceType'][_0x51e6b5(0x206)]),this[_0x51e6b5(0x2ec)]['getTypeOfUnitDisposed$'](_0x17a0d6['UniverInstanceType']['UNIVER_SHEET']))[_0x51e6b5(0x3e0)](_0xa893e5['takeUntil'](this[_0x51e6b5(0x1d7)]))[_0x51e6b5(0x3ec)](_0x19d906=>{const _0x5efbd7=_0x51e6b5,_0x649000=_0x19d906[_0x5efbd7(0x2fa)](),_0x24dd0a=this[_0x5efbd7(0x2dd)][_0x5efbd7(0x17d)](_0x649000);_0x24dd0a&&(_0x24dd0a[_0x5efbd7(0x2bd)](),this[_0x5efbd7(0x2dd)]['delete'](_0x649000));});}async['_startSheetCollabCursor'](_0xef7b36){const _0x4240c2=_0x964c6d,_0x392a9e=await this['_collabSessionService']['requireSession'](_0xef7b36),_0x37d287=this['_injector']['createInstance'](_0x52679c,_0xef7b36,_0x392a9e);return _0x37d287[_0x4240c2(0x365)](),_0x37d287;}async[_0x964c6d(0x352)](_0x1f3e26){const _0x7fbd00=_0x964c6d,_0x56310c=await this[_0x7fbd00(0x25e)][_0x7fbd00(0x175)](_0x1f3e26),_0x4d7aea=this[_0x7fbd00(0x222)]['createInstance'](_0xdb8bd5,_0x1f3e26,_0x56310c);return _0x4d7aea['init'](),_0x4d7aea;}};_0x1fcbad=_0x573a31([_0x24ed41(0x0,_0x17a0d6['IUniverInstanceService']),_0x24ed41(0x1,_0x17a0d6[_0x964c6d(0x1ad)](_0x17a0d6[_0x964c6d(0x3d0)])),_0x24ed41(0x2,_0x17a0d6['Inject'](_0x1fb374[_0x964c6d(0x25f)]))],_0x1fcbad);const _0x87e5e0=0x14,_0x35d25f=0xc8,_0x367f69=0x4,_0x35c3cf=0x5;function _0x410f3d(_0x59fe37,_0x5a4c95){const _0x34e30d=_0x964c6d;let {radius:_0x49aeae,width:_0xe22c01,height:_0x3a913b}=_0x5a4c95;_0x49aeae=_0x49aeae!=null?_0x49aeae:0x0,_0xe22c01=_0xe22c01!=null?_0xe22c01:0x1e,_0x3a913b=_0x3a913b!=null?_0x3a913b:0x1e;let _0x4226b6=0x0,_0x70e29d=0x0,_0x29263f=0x0;_0x4226b6=_0x70e29d=_0x29263f=Math['min'](_0x49aeae,_0xe22c01/0x2,_0x3a913b/0x2),_0x59fe37[_0x34e30d(0x387)](),_0x59fe37[_0x34e30d(0x1e8)](_0x4226b6,0x0),_0x59fe37[_0x34e30d(0x3f4)](_0xe22c01-_0x70e29d,0x0),_0x59fe37[_0x34e30d(0x259)](_0xe22c01-_0x70e29d,_0x70e29d,_0x70e29d,Math['PI']*0x3/0x2,0x0,!0x1),_0x59fe37[_0x34e30d(0x3f4)](_0xe22c01,_0x3a913b-_0x29263f),_0x59fe37['arc'](_0xe22c01-_0x29263f,_0x3a913b-_0x29263f,_0x29263f,0x0,Math['PI']/0x2,!0x1),_0x59fe37[_0x34e30d(0x3f4)](0x0,_0x3a913b),_0x59fe37[_0x34e30d(0x3f4)](0x0,_0x4226b6),_0x59fe37[_0x34e30d(0x259)](_0x4226b6,_0x4226b6,_0x4226b6,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x59fe37[_0x34e30d(0x3ba)](),_0x5a4c95[_0x34e30d(0x36a)]&&(_0x59fe37[_0x34e30d(0x2ef)](),_0x59fe37['fillStyle']=_0x5a4c95[_0x34e30d(0x36a)],_0x5a4c95[_0x34e30d(0x281)]==='evenodd'?_0x59fe37[_0x34e30d(0x36a)]('evenodd'):_0x59fe37['fill'](),_0x59fe37['restore']());}class _0x3f38d3 extends _0x4826e7[_0x964c6d(0x3f3)]{constructor(_0x4093e1,_0x3af56a){const _0x7b0707=_0x964c6d;super(_0x4093e1,_0x3af56a),_0x2e1f76(this,_0x7b0707(0x246)),_0x2e1f76(this,'text'),(this['color']=_0x3af56a==null?void 0x0:_0x3af56a[_0x7b0707(0x246)],this[_0x7b0707(0x168)]=_0x3af56a==null?void 0x0:_0x3af56a['text']);}static[_0x964c6d(0x201)](_0x149752,_0x23395f){const _0x4d14cc=_0x964c6d,{text:_0x3900b0,color:_0x178f27}=_0x23395f;_0x149752[_0x4d14cc(0x2ef)](),_0x149752[_0x4d14cc(0x1aa)]=_0x4d14cc(0x1b1);const _0x59fb75=_0x149752[_0x4d14cc(0x1b6)](_0x3900b0)[_0x4d14cc(0x3ac)],_0x445384=Math[_0x4d14cc(0x178)](_0x59fb75+0x2*_0x367f69,_0x35d25f);_0x410f3d(_0x149752,{'height':_0x87e5e0,'radius':0x4,'width':_0x445384,'fill':_0x178f27}),_0x149752['fillStyle']='#FFF';const _0x4fbce3=_0x367f69,_0x156fd2=_0x87e5e0-_0x35c3cf,_0x1826b7=_0x35d25f-0x2*_0x367f69;if(_0x59fb75>_0x1826b7){let _0x32c65='',_0x426689=0x0;for(const _0x441eea of _0x3900b0){const _0x1a614d=_0x149752['measureText'](_0x441eea)[_0x4d14cc(0x3ac)];if(_0x426689+_0x1a614d<=_0x1826b7-_0x149752['measureText']('...')[_0x4d14cc(0x3ac)])_0x32c65+=_0x441eea,_0x426689+=_0x1a614d;else{_0x32c65+=_0x4d14cc(0x1d0);break;}}_0x149752['fillText'](_0x32c65,_0x4fbce3,_0x156fd2);}else _0x149752[_0x4d14cc(0x20e)](_0x3900b0,_0x4fbce3,_0x156fd2);_0x149752[_0x4d14cc(0x29d)]();}[_0x964c6d(0x20b)](_0xd0ac2f){const _0xaa35e1=_0x964c6d;_0x3f38d3[_0xaa35e1(0x201)](_0xd0ac2f,this);}}const _0xcda025='collab-text-anchor-',_0x56ee60='collab-text-range-',_0x298bbe=_0x964c6d(0x39c),_0x289c33=0x6,_0x5828f2=1.5,_0x3282d2=0x4,_0x278032=1.5,_0x445c62='rgba(255,\x20255,\x20255,\x200.01)';class _0x4aadd1{constructor(_0x85cb5,_0x1a4abc,_0x41894e,_0x17af87){const _0x3dcf26=_0x964c6d;_0x2e1f76(this,_0x3dcf26(0x2ce),[]),_0x2e1f76(this,_0x3dcf26(0x199),null),_0x2e1f76(this,_0x3dcf26(0x35b),null),_0x2e1f76(this,_0x3dcf26(0x3cd),null),_0x2e1f76(this,_0x3dcf26(0x3c8),null),_0x2e1f76(this,'_eventUnsubscribe',null),(this['_cursor']=_0x85cb5,this[_0x3dcf26(0x3d2)]=_0x1a4abc,this[_0x3dcf26(0x29b)]=_0x41894e,this[_0x3dcf26(0x2db)]=_0x17af87,this[_0x3dcf26(0x1b4)]());}set['_hover'](_0x3ce576){const _0x2aab4a=_0x964c6d;_0x3ce576?(this[_0x2aab4a(0x3cd)]&&this[_0x2aab4a(0x3cd)][_0x2aab4a(0x372)](),this[_0x2aab4a(0x35b)]&&this[_0x2aab4a(0x35b)]['show']()):(this[_0x2aab4a(0x3cd)]&&this['_anchorDot']['show'](),this[_0x2aab4a(0x35b)]&&this['_textBubble'][_0x2aab4a(0x372)]());}[_0x964c6d(0x2bd)](){const _0x344525=_0x964c6d;for(const _0x3bf72a of this[_0x344525(0x2ce)])_0x3bf72a['dispose']();this['_textBubble']&&this['_textBubble'][_0x344525(0x2bd)](),this['_anchorDot']&&this[_0x344525(0x3cd)][_0x344525(0x2bd)](),this[_0x344525(0x199)]&&this[_0x344525(0x199)][_0x344525(0x2bd)](),this[_0x344525(0x294)]&&this[_0x344525(0x294)]();}[_0x964c6d(0x1b4)](){const _0x529094=_0x964c6d;var _0x384fd0;const {_docSkeleton:_0x2a60ea,_document:_0x2a6697}=this,{color:_0x7c2155,name:_0x46925d,ranges:_0x37480a}=this[_0x529094(0x1e9)],_0x3e036d=_0x2a6697[_0x529094(0x3b2)](),{docsLeft:_0x33628c,docsTop:_0x1b3277}=_0x3e036d,_0x13b13c=new _0x21bec9[(_0x529094(0x306))](_0x3e036d,_0x2a60ea);for(const {startOffset:_0x1e2261,endOffset:_0x348829,rangeType:_0x4db35f,segmentId:_0x41c48d,segmentPage:_0x58f2a1,collapsed:_0x9308e5,isActive:_0x57320d}of _0x37480a){const _0x462082=_0x2a60ea['findNodePositionByCharIndex'](_0x1e2261,!0x0,_0x41c48d,_0x58f2a1);let _0x3b5978=_0x2a60ea['findNodePositionByCharIndex'](_0x348829,!0x0,_0x41c48d,_0x58f2a1);if(_0x3b5978==null&&(_0x3b5978=_0x2a60ea[_0x529094(0x3f2)](_0x348829-0x1,!0x1,_0x41c48d,_0x58f2a1)),_0x57320d){const {contentBoxPointGroup:_0x49591b}=_0x13b13c['getRangePointData'](_0x3b5978,_0x3b5978);if(_0x49591b[_0x529094(0x3b0)]===0x0)continue;this[_0x529094(0x3b6)](_0x7c2155,_0x49591b,_0x33628c,_0x1b3277,_0x46925d),this[_0x529094(0x294)]=this[_0x529094(0x27f)]();}if(_0x462082&&_0x3b5978){if(_0x4db35f===_0x17a0d6['DOC_RANGE_TYPE'][_0x529094(0x3e6)]){const _0x5bc3b6=new _0x21bec9[(_0x529094(0x16f))](_0x3e036d,_0x2a60ea),{pointGroup:_0x32f1e7}=(_0x384fd0=_0x5bc3b6[_0x529094(0x243)](_0x462082,_0x3b5978))!=null?_0x384fd0:{};if(_0x32f1e7==null||_0x32f1e7['length']===0x0)continue;this[_0x529094(0x32a)](_0x7c2155,_0x32f1e7,_0x33628c,_0x1b3277);}else{if(!_0x9308e5){const {borderBoxPointGroup:_0x311c6e}=_0x13b13c[_0x529094(0x243)](_0x462082,_0x3b5978);if(_0x311c6e[_0x529094(0x3b0)]===0x0)continue;this[_0x529094(0x284)](_0x7c2155,_0x311c6e,_0x33628c,_0x1b3277);}}}}}['_drawAnchor'](_0x238667,_0x119548,_0x449f7b,_0x48dd29,_0x2554e3){const _0x578ca0=_0x964c6d,_0x14bbb6=this[_0x578ca0(0x316)](_0x119548),{left:_0x480bcc,top:_0x51e2c9,height:_0x5908b8}=_0x14bbb6,_0x533ee3=this[_0x578ca0(0x226)](),_0x4893b7=_0x278032/_0x533ee3,_0x250f40=new _0x4826e7['Rect'](_0xcda025+_0x17a0d6[_0x578ca0(0x37b)][_0x578ca0(0x347)](_0x289c33),{'left':_0x480bcc+_0x449f7b-_0x4893b7,'top':_0x51e2c9+_0x48dd29,'height':_0x5908b8,'width':_0x5828f2,'fill':_0x238667||_0x4826e7['getColor'](_0x17a0d6['COLORS'][_0x578ca0(0x26e)],0x0),'strokeWidth':_0x4893b7,'stroke':_0x445c62,'evented':!0x0});this[_0x578ca0(0x199)]=_0x250f40,this[_0x578ca0(0x3d2)][_0x578ca0(0x348)](_0x250f40,_0x21bec9[_0x578ca0(0x329)]);const _0x20442c=new _0x4826e7[(_0x578ca0(0x21e))](_0xcda025+_0x17a0d6[_0x578ca0(0x37b)]['generateRandomId'](_0x289c33),{'left':_0x480bcc+_0x449f7b-_0x4893b7,'top':_0x51e2c9+_0x48dd29-_0x3282d2/0x2,'height':_0x3282d2,'width':_0x3282d2,'fill':_0x238667||_0x4826e7['getColor'](_0x17a0d6[_0x578ca0(0x37e)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x238667||_0x4826e7['getColor'](_0x17a0d6[_0x578ca0(0x37e)][_0x578ca0(0x26e)],0x0),'evented':!0x1});this[_0x578ca0(0x3cd)]=_0x20442c,this[_0x578ca0(0x3d2)][_0x578ca0(0x348)](_0x20442c,_0x21bec9[_0x578ca0(0x329)]);const _0x30da9f=new _0x3f38d3(_0xcda025+_0x17a0d6['Tools'][_0x578ca0(0x347)](_0x289c33),{'left':_0x480bcc+_0x449f7b-_0x4893b7,'top':_0x51e2c9+_0x48dd29-_0x87e5e0,'text':_0x2554e3,'color':_0x238667});this[_0x578ca0(0x35b)]=_0x30da9f,this[_0x578ca0(0x3d2)][_0x578ca0(0x348)](_0x30da9f,_0x21bec9[_0x578ca0(0x329)]),this['_hover']=!0x1;}[_0x964c6d(0x27f)](){const _0x4e364b=_0x964c6d,_0x3346ae=this[_0x4e364b(0x199)][_0x4e364b(0x295)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x64450b=this['_anchor'][_0x4e364b(0x1de)][_0x4e364b(0x1e2)](()=>{const _0x57f57e=_0x4e364b;this['_hideTimer']&&clearTimeout(this[_0x57f57e(0x3c8)]),this[_0x57f57e(0x3c8)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x3018bc=_0x4e364b;_0x3346ae[_0x3018bc(0x239)](),_0x64450b[_0x3018bc(0x239)]();};}[_0x964c6d(0x284)](_0x4b0563,_0x2e6769,_0xe8a767,_0x55543d){const _0xb5afc=_0x964c6d,_0x4534a5=new _0x17a0d6[(_0xb5afc(0x31f))](_0x4b0563)[_0xb5afc(0x1f2)](0.2)[_0xb5afc(0x2ab)](),_0x3fad9f=new _0x4826e7[(_0xb5afc(0x2b8))](_0x56ee60+_0x17a0d6[_0xb5afc(0x37b)]['generateRandomId'](_0x289c33),{'pointsGroup':_0x2e6769,'fill':_0x4534a5||_0x4826e7['getColor'](_0x17a0d6['COLORS']['black'],0.2),'left':_0xe8a767,'top':_0x55543d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xb5afc(0x2ce)][_0xb5afc(0x28c)](_0x3fad9f),this['_scene'][_0xb5afc(0x348)](_0x3fad9f,_0x21bec9[_0xb5afc(0x329)]);}['_drawRectRange'](_0x2e4dcf,_0x1228dd,_0x5e4adb,_0x31ddb4){const _0x5061dd=_0x964c6d,_0xa8164d=new _0x17a0d6[(_0x5061dd(0x31f))](_0x2e4dcf)[_0x5061dd(0x1f2)](0.2)[_0x5061dd(0x2ab)](),_0xffaf60=new _0x4826e7['RegularPolygon'](_0x298bbe+_0x17a0d6['Tools'][_0x5061dd(0x347)](_0x289c33),{'pointsGroup':_0x1228dd,'fill':_0xa8164d||_0x4826e7[_0x5061dd(0x1b0)](_0x17a0d6[_0x5061dd(0x37e)][_0x5061dd(0x26e)],0.2),'left':_0x5e4adb,'top':_0x31ddb4,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5061dd(0x2ce)][_0x5061dd(0x28c)](_0xffaf60),this['_scene'][_0x5061dd(0x348)](_0xffaf60,_0x21bec9[_0x5061dd(0x329)]);}[_0x964c6d(0x316)](_0x2205f8){const _0x1cba35=_0x2205f8[0x0],_0x5f1528=_0x1cba35[0x0],_0x20fe87=_0x1cba35[0x2],{x:_0x2e69d6,y:_0x328635}=_0x5f1528,{x:_0x5cae41,y:_0x188ef4}=_0x20fe87;return{'left':_0x2e69d6,'top':_0x328635,'width':_0x5cae41-_0x2e69d6,'height':_0x188ef4-_0x328635};}[_0x964c6d(0x226)](){const _0x2cc579=_0x964c6d,{scaleX:_0x411155,scaleY:_0x35de5b}=this[_0x2cc579(0x3d2)][_0x2cc579(0x3dd)]();return Math[_0x2cc579(0x242)](_0x411155,_0x35de5b);}}var _0x5dddb6=Object['getOwnPropertyDescriptor'],_0x11c862=(_0x347093,_0x5179d9,_0x36daed,_0xbd2bf6)=>{for(var _0x1e9934=_0xbd2bf6>0x1?void 0x0:_0xbd2bf6?_0x5dddb6(_0x5179d9,_0x36daed):_0x5179d9,_0x144398=_0x347093['length']-0x1,_0x163133;_0x144398>=0x0;_0x144398--)(_0x163133=_0x347093[_0x144398])&&(_0x1e9934=_0x163133(_0x1e9934)||_0x1e9934);return _0x1e9934;},_0x8ec635=(_0x3c3803,_0x3ed040)=>(_0x29a939,_0x150188)=>_0x3ed040(_0x29a939,_0x150188,_0x3c3803);let _0x3036df=class extends _0x17a0d6['RxDisposable']{constructor(_0x317b82,_0x134ca1,_0x4bacd1,_0x46f982,_0x1e81c8){const _0x43ea64=_0x964c6d;super(),_0x2e1f76(this,_0x43ea64(0x25a),[]),_0x2e1f76(this,_0x43ea64(0x3a1),[]),(this['_context']=_0x317b82,this[_0x43ea64(0x3d5)]=_0x134ca1,this[_0x43ea64(0x189)]=_0x4bacd1,this[_0x43ea64(0x1bf)]=_0x46f982,this[_0x43ea64(0x3df)]=_0x1e81c8,this[_0x43ea64(0x272)]());}['_init'](){const _0x515c5d=_0x964c6d,_0x1625db=this[_0x515c5d(0x224)][_0x515c5d(0x314)],_0x26c87d=this[_0x515c5d(0x3d5)];this['disposeWithMe'](_0xa893e5[_0x515c5d(0x1ce)]([this[_0x515c5d(0x189)]['getCollabCursors$'](_0x1625db),this['_themeService'][_0x515c5d(0x2ee)]])[_0x515c5d(0x3e0)](_0x3fdb29['map'](([_0x15550d,_0x18ec7f])=>({'skeleton':_0x26c87d['getSkeleton'](),'cursors':[..._0x15550d[_0x515c5d(0x187)]()]['flatMap'](_0x1a81d0=>({..._0x1a81d0,'color':this[_0x515c5d(0x3df)]['getColorFromTheme'](_0x1a81d0['color'])}))})))[_0x515c5d(0x3ec)](_0x3c851e=>{const _0x5d32ef=_0x515c5d;if(this[_0x5d32ef(0x341)](),_0x3c851e){const {skeleton:_0x33440b,cursors:_0x5f3f2d}=_0x3c851e;this[_0x5d32ef(0x38a)](_0x33440b,_0x5f3f2d);}})),this[_0x515c5d(0x29f)](),this['_initCommandExecutedListener']();}[_0x964c6d(0x38a)](_0x34caa3,_0x8b5777){const {scene:_0x31c03f,mainComponent:_0x5b83c3}=this['_context'],_0x211658=_0x8b5777['map'](_0x3a2bd4=>new _0x4aadd1(_0x3a2bd4,_0x31c03f,_0x34caa3,_0x5b83c3));this['_cursorShapes']=_0x211658,this['_cursors']=_0x8b5777;}[_0x964c6d(0x33c)](){const _0x111651=_0x964c6d;this[_0x111651(0x341)]();const {scene:_0x2859fc,mainComponent:_0x58e27d}=this['_context'],_0x32409c=this[_0x111651(0x3d5)][_0x111651(0x205)](),_0x1b0943=this[_0x111651(0x3a1)]['map'](_0x25a05b=>new _0x4aadd1(_0x25a05b,_0x2859fc,_0x32409c,_0x58e27d));this[_0x111651(0x25a)]=_0x1b0943;}[_0x964c6d(0x341)](){const _0xd281ef=_0x964c6d;this[_0xd281ef(0x25a)]['forEach'](_0x5461a5=>_0x5461a5[_0xd281ef(0x2bd)]()),this[_0xd281ef(0x25a)]=[];}[_0x964c6d(0x274)](){const _0x54aa08=_0x964c6d,_0xe9e0aa=[_0x21bec9['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this[_0x54aa08(0x1bf)]['onCommandExecuted'](_0x35c534=>{const _0x7f7edb=_0x54aa08;_0xe9e0aa['includes'](_0x35c534['id'])&&_0x35c534['params'][_0x7f7edb(0x314)]===this[_0x7f7edb(0x224)][_0x7f7edb(0x314)]&&this['_refreshCollabCursors']();}));}[_0x964c6d(0x29f)](){const _0x5598d5=_0x964c6d;this['disposeWithMe'](_0x17a0d6[_0x5598d5(0x20c)](this['_context'][_0x5598d5(0x1ed)]['onTransformChange$'])['pipe'](_0x3fdb29[_0x5598d5(0x2f2)](_0x1cdd73=>_0x1cdd73[_0x5598d5(0x36f)]===_0x4826e7[_0x5598d5(0x1ab)]['resize']),_0x3fdb29[_0x5598d5(0x297)](0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};_0x3036df=_0x11c862([_0x8ec635(0x1,_0x17a0d6[_0x964c6d(0x1ad)](_0x566265[_0x964c6d(0x200)])),_0x8ec635(0x2,_0x17a0d6[_0x964c6d(0x1ad)](_0x1fcbad)),_0x8ec635(0x3,_0x17a0d6[_0x964c6d(0x351)]),_0x8ec635(0x4,_0x17a0d6[_0x964c6d(0x1ad)](_0x17a0d6['ThemeService']))],_0x3036df);const _0x31250e=0x1,_0x252ad8=1.5;class _0x58253f extends _0x4826e7[_0x964c6d(0x3f3)]{constructor(_0x2aa8f7,_0x20f5e4){const _0x1b884b=_0x964c6d;super(_0x2aa8f7,_0x20f5e4),_0x2e1f76(this,'_color'),_0x2e1f76(this,_0x1b884b(0x2c2),!0x1),_0x2e1f76(this,_0x1b884b(0x34f)),_0x2e1f76(this,_0x1b884b(0x344),''),_0x2e1f76(this,_0x1b884b(0x18c),_0x1b884b(0x2c6)),_0x2e1f76(this,_0x1b884b(0x1ca)),(_0x20f5e4&&this['setShapeProps'](_0x20f5e4),this[_0x1b884b(0x295)][_0x1b884b(0x1e2)](()=>this[_0x1b884b(0x323)]({'hovered':!0x0})),this['onPointerLeave$'][_0x1b884b(0x1e2)](()=>this[_0x1b884b(0x323)]({'hovered':!0x1})));}[_0x964c6d(0x323)](_0x318d26){const _0x1b4a2d=_0x964c6d;var _0x4a4f14,_0x543bb3,_0x49f539,_0xf693c6,_0x4066bb,_0x2e0619;this[_0x1b4a2d(0x1af)]=(_0x4a4f14=_0x318d26['color'])!=null?_0x4a4f14:this['_color'],this[_0x1b4a2d(0x2c2)]=(_0x543bb3=_0x318d26['hovered'])!=null?_0x543bb3:this[_0x1b4a2d(0x2c2)],this[_0x1b4a2d(0x34f)]=(_0x49f539=_0x318d26['range'])!=null?_0x49f539:this[_0x1b4a2d(0x34f)],this[_0x1b4a2d(0x344)]=(_0xf693c6=_0x318d26[_0x1b4a2d(0x2ed)])!=null?_0xf693c6:this['_name'],this[_0x1b4a2d(0x18c)]=(_0x4066bb=_0x318d26['labelPosition'])!=null?_0x4066bb:this[_0x1b4a2d(0x18c)],this[_0x1b4a2d(0x1ca)]=(_0x2e0619=_0x318d26[_0x1b4a2d(0x326)])!=null?_0x2e0619:this[_0x1b4a2d(0x1ca)],this[_0x1b4a2d(0x350)]({'width':_0x318d26['width'],'height':_0x318d26[_0x1b4a2d(0x1f0)]});}[_0x964c6d(0x21c)](_0x26a929){const _0x1e109f=_0x964c6d,{row:_0x6e064,column:_0xda4999}=_0x26a929;if(_0x6e064>=this[_0x1e109f(0x34f)][_0x1e109f(0x3cb)]&&_0x6e064<=this[_0x1e109f(0x34f)][_0x1e109f(0x19e)]&&_0xda4999>=this[_0x1e109f(0x34f)][_0x1e109f(0x1dd)]&&_0xda4999<=this[_0x1e109f(0x34f)][_0x1e109f(0x3be)]){this[_0x1e109f(0x323)]({'hovered':!0x0});return;}this[_0x1e109f(0x323)]({'hovered':!0x1});}['triggerDblclick'](_0x453ba1){return!0x1;}['_draw'](_0x5375cd){const _0x262d14=_0x964c6d;_0x4826e7['Rect'][_0x262d14(0x201)](_0x5375cd,{'width':this[_0x262d14(0x3ac)],'height':this[_0x262d14(0x1f0)],'strokeWidth':_0x252ad8,'stroke':this[_0x262d14(0x1af)],'evented':!0x1,'fill':this[_0x262d14(0x1ca)]}),this[_0x262d14(0x2c2)]&&(_0x5375cd[_0x262d14(0x2ef)](),_0x5375cd['transform'](0x1,0x0,0x0,0x1,this[_0x262d14(0x3ac)],this[_0x262d14(0x18c)]===_0x262d14(0x179)?0x0:-0x14),_0x3f38d3[_0x262d14(0x201)](_0x5375cd,{'text':this[_0x262d14(0x344)],'color':this[_0x262d14(0x1af)]}),_0x5375cd[_0x262d14(0x29d)]());}}var _0x35928f=Object['getOwnPropertyDescriptor'],_0x1cb1dc=(_0x2b218d,_0x104602,_0x2fe69f,_0x3f6e63)=>{const _0x205c9c=_0x964c6d;for(var _0x2b7cfa=_0x3f6e63>0x1?void 0x0:_0x3f6e63?_0x35928f(_0x104602,_0x2fe69f):_0x104602,_0x16ecee=_0x2b218d[_0x205c9c(0x3b0)]-0x1,_0x7cb510;_0x16ecee>=0x0;_0x16ecee--)(_0x7cb510=_0x2b218d[_0x16ecee])&&(_0x2b7cfa=_0x7cb510(_0x2b7cfa)||_0x2b7cfa);return _0x2b7cfa;},_0x512de9=(_0xeab218,_0x3f791c)=>(_0x11ff02,_0x32ef09)=>_0x3f791c(_0x11ff02,_0x32ef09,_0xeab218);const _0xc7f38e=0x1389;let _0x260fea=class extends _0x17a0d6[_0x964c6d(0x3b5)]{constructor(_0xb68d33,_0x41102a,_0x4dcbb3,_0x5211fe){const _0x5bde6d=_0x964c6d;super(),_0x2e1f76(this,'_cursors',new Set()),_0x2e1f76(this,_0x5bde6d(0x1dc),null),(this[_0x5bde6d(0x224)]=_0xb68d33,this['_sheetSkeletonManagerService']=_0x41102a,this[_0x5bde6d(0x189)]=_0x4dcbb3,this[_0x5bde6d(0x3df)]=_0x5211fe,this['_init']());}['_init'](){const _0x355e41=_0x964c6d;this[_0x355e41(0x2e9)][_0x355e41(0x2cd)][_0x355e41(0x3e0)](_0x3fdb29[_0x355e41(0x345)](this['dispose$']),_0x3fdb29[_0x355e41(0x253)](_0x31d927=>{const _0x6c2707=_0x355e41;if(_0x31d927){const _0x4b3385=_0x31d927[_0x6c2707(0x249)];return _0xa893e5['combineLatest'](this[_0x6c2707(0x189)]['getCollabCursors$'](this[_0x6c2707(0x224)][_0x6c2707(0x314)]),this[_0x6c2707(0x3df)][_0x6c2707(0x2ee)])[_0x6c2707(0x3e0)](_0x3fdb29[_0x6c2707(0x240)](([_0x522f0a,_0x3d3854])=>{const _0x4989db=_0x6c2707,_0x7d7238=new Map();return _0x522f0a[_0x4989db(0x2ad)]((_0x240c2d,_0x378292)=>{const _0x1dd3b6=_0x4989db;if(_0x240c2d[_0x1dd3b6(0x3e2)]===_0x4b3385){const _0x1541a1={..._0x240c2d};_0x1541a1['color']=this[_0x1dd3b6(0x3df)][_0x1dd3b6(0x227)](_0x240c2d['color']),_0x7d7238[_0x1dd3b6(0x26d)](_0x378292,_0x1541a1);}}),{'skeleton':_0x31d927,'cursors':_0x7d7238};}));}return _0xa893e5['of']({'skeleton':null,'cursors':new Map()});}))[_0x355e41(0x3ec)](({skeleton:_0x1ad968,cursors:_0x1d40e6})=>{const _0x5828c1=_0x355e41;this[_0x5828c1(0x341)](),_0x1ad968&&this['_updateCollabCursors'](_0x1ad968,_0x1d40e6);}),this[_0x355e41(0x2e9)][_0x355e41(0x2cd)][_0x355e41(0x3ec)](_0x3a4c20=>{const _0x4513e4=_0x355e41;if(_0x3a4c20==null)return;const {skeleton:_0x23a920}=_0x3a4c20,{scene:_0x4d28e6}=this[_0x4513e4(0x224)];_0x4d28e6[_0x4513e4(0x1bc)][_0x4513e4(0x1e2)](_0x17a0d6[_0x4513e4(0x35a)](_0x4fa9a7=>{const _0x9fa0e5=_0x4513e4;var _0x18d961,_0x1454ee;const {offsetX:_0x1cc81f,offsetY:_0x138b85}=_0x4fa9a7,{x:_0x5454c6,y:_0x48c9b2}=_0x4d28e6[_0x9fa0e5(0x220)](_0x4826e7['Vector2']['FromArray']([_0x1cc81f,_0x138b85])),{scaleX:_0x4ab946,scaleY:_0x2fb023}=_0x4d28e6[_0x9fa0e5(0x3dd)](),_0x2c740f=_0x4d28e6['getViewport'](_0x4826e7['SHEET_VIEWPORT_KEY'][_0x9fa0e5(0x39d)]),_0x58dfa5=_0x4d28e6[_0x9fa0e5(0x30e)](_0x4826e7['Vector2']['FromArray']([_0x5454c6,_0x48c9b2]),_0x2c740f),_0x33bf03=_0x23a920['getCellPositionByOffset'](_0x1cc81f,_0x138b85,_0x4ab946,_0x2fb023,_0x58dfa5);((_0x18d961=this['_lastPointer'])==null?void 0x0:_0x18d961['column'])===_0x33bf03['column']&&((_0x1454ee=this[_0x9fa0e5(0x1dc)])==null?void 0x0:_0x1454ee[_0x9fa0e5(0x1f9)])===_0x33bf03[_0x9fa0e5(0x1f9)]||this[_0x9fa0e5(0x3a1)][_0x9fa0e5(0x2ad)](_0x4a7ba2=>{const _0x2c0b1d=_0x9fa0e5;_0x4a7ba2[_0x2c0b1d(0x21c)](_0x33bf03);});},0x64));});}['_updateCollabCursors'](_0x4f2afc,_0x1ba8f1){const _0x8948c7=_0x964c6d;var _0x330db2;const _0x22808a=(_0x330db2=this[_0x8948c7(0x2e9)]['getCurrent']())==null?void 0x0:_0x330db2['skeleton'];if(!_0x22808a)return;const _0x4f7747=this[_0x8948c7(0x163)]();if(!_0x4f7747)return;this[_0x8948c7(0x3a1)]['forEach'](_0xa79013=>{_0xa79013['makeDirty']();});const {scene:_0x3bfb04}=_0x4f7747,_0x59f089=_0x14396(Array[_0x8948c7(0x1bb)](_0x1ba8f1['values']()))[_0x8948c7(0x240)](_0x2b8c56=>{const _0x4477e9=_0x8948c7,{color:_0x4dac49,range:_0x13900d,name:_0x4f9cf0,selection:_0x3f9cb5,sheetID:_0x4cc45f}=_0x2b8c56,{startColumn:_0x595312,startRow:_0x5d52d0,endColumn:_0x2762ec,endRow:_0x33277e}=_0x13900d,_0x40f787=_0x3a9c80['getCoordByCell'](_0x5d52d0,_0x595312,_0x3bfb04,_0x22808a),_0x3b54a2=_0x3a9c80[_0x4477e9(0x2e1)](_0x33277e,_0x2762ec,_0x3bfb04,_0x22808a),{columnHeaderHeightAndMarginTop:_0x38fa0c}=_0x22808a,{startX:_0x2ef93b,startY:_0x4a8a9f}=_0x40f787,{endX:_0x1777d0,endY:_0x15c741}=_0x3b54a2,_0x191bc5=_0x1777d0-_0x2ef93b,_0x437dac=_0x15c741-_0x4a8a9f,_0xdc9860={'labelPosition':_0x4a8a9f-_0x38fa0c>=_0x87e5e0?_0x4477e9(0x2c6):'bottom','sheetID':_0x4cc45f,'range':_0x13900d,'color':_0x4dac49,'name':_0x4f9cf0,'selection':_0x3f9cb5,'left':_0x2ef93b,'top':_0x4a8a9f,'width':_0x191bc5,'height':_0x437dac,'evented':!0x1,'zIndex':_0xc7f38e};return new _0x58253f(_0x4f9cf0,_0xdc9860);});_0x3bfb04[_0x8948c7(0x22e)](_0x59f089,_0x31250e),this[_0x8948c7(0x3a1)]=new Set(_0x59f089);}['_removeCollabCursors'](){const _0x16f358=_0x964c6d;var _0x1776ff;(_0x1776ff=this[_0x16f358(0x3a1)])==null||_0x1776ff[_0x16f358(0x2ad)](_0x292283=>_0x292283[_0x16f358(0x2bd)]());}[_0x964c6d(0x163)](){const _0x559dfd=_0x964c6d;return _0x3a9c80['getSheetObject'](this[_0x559dfd(0x224)][_0x559dfd(0x164)],this[_0x559dfd(0x224)]);}};_0x260fea=_0x1cb1dc([_0x512de9(0x1,_0x17a0d6[_0x964c6d(0x1ad)](_0x3a9c80['SheetSkeletonManagerService'])),_0x512de9(0x2,_0x17a0d6[_0x964c6d(0x1ad)](_0x1fcbad)),_0x512de9(0x3,_0x17a0d6['Inject'](_0x17a0d6[_0x964c6d(0x30a)]))],_0x260fea);function _0x14396(_0x2bd845){const _0x3353dc=_0x964c6d,_0x275963=new Map();return _0x2bd845[_0x3353dc(0x2ad)](_0xf019b1=>{const _0x272a4b=_0x3353dc;if(_0x275963['has'](_0xf019b1[_0x272a4b(0x207)])){const _0x2caae1=_0x275963[_0x272a4b(0x17d)](_0xf019b1[_0x272a4b(0x207)]);_0x2caae1[_0x272a4b(0x2ed)]+=',\x20'+_0xf019b1['name'];}else _0x275963[_0x272a4b(0x26d)](_0xf019b1[_0x272a4b(0x207)],_0xf019b1);}),Array[_0x3353dc(0x1bb)](_0x275963[_0x3353dc(0x187)]());}var _0x532151=function(){const _0x34a26f=_0x964c6d;return _0x532151=Object['assign']||function(_0x4fde56){const _0x3aa72b=_0x12c4;for(var _0x521c9a,_0x13c1f6=0x1,_0x55c369=arguments[_0x3aa72b(0x3b0)];_0x13c1f6<_0x55c369;_0x13c1f6++){_0x521c9a=arguments[_0x13c1f6];for(var _0x26fbbb in _0x521c9a)Object['prototype'][_0x3aa72b(0x24a)][_0x3aa72b(0x2a6)](_0x521c9a,_0x26fbbb)&&(_0x4fde56[_0x26fbbb]=_0x521c9a[_0x26fbbb]);}return _0x4fde56;},_0x532151[_0x34a26f(0x331)](this,arguments);},_0x208050=function(_0x5965d7,_0x381c69){const _0x2f9f92=_0x964c6d;var _0x5238c0={};for(var _0x38bb3a in _0x5965d7)Object[_0x2f9f92(0x1b3)][_0x2f9f92(0x24a)]['call'](_0x5965d7,_0x38bb3a)&&_0x381c69['indexOf'](_0x38bb3a)<0x0&&(_0x5238c0[_0x38bb3a]=_0x5965d7[_0x38bb3a]);if(_0x5965d7!=null&&typeof Object[_0x2f9f92(0x273)]==_0x2f9f92(0x270)){for(var _0x444f12=0x0,_0x38bb3a=Object[_0x2f9f92(0x273)](_0x5965d7);_0x444f12<_0x38bb3a[_0x2f9f92(0x3b0)];_0x444f12++)_0x381c69[_0x2f9f92(0x21a)](_0x38bb3a[_0x444f12])<0x0&&Object[_0x2f9f92(0x1b3)][_0x2f9f92(0x3bf)][_0x2f9f92(0x2a6)](_0x5965d7,_0x38bb3a[_0x444f12])&&(_0x5238c0[_0x38bb3a[_0x444f12]]=_0x5965d7[_0x38bb3a[_0x444f12]]);}return _0x5238c0;},_0x17429f=_0x115905[_0x964c6d(0x22a)](function(_0x5f73ec,_0x3de7c7){const _0x52fa0d=_0x964c6d;var _0x124fbd=_0x5f73ec[_0x52fa0d(0x191)],_0x53dc33=_0x5f73ec['id'],_0x5c6bd4=_0x5f73ec[_0x52fa0d(0x388)],_0x175056=_0x5f73ec[_0x52fa0d(0x2e6)],_0x30b25d=_0x208050(_0x5f73ec,[_0x52fa0d(0x191),'id','className',_0x52fa0d(0x2e6)]),_0x4087b7=_0x52fa0d(0x28a)[_0x52fa0d(0x19c)](_0x53dc33,'\x20')['concat'](_0x5c6bd4||'')['trim'](),_0x494b04=_0x115905[_0x52fa0d(0x266)]('_'[_0x52fa0d(0x19c)](_0xeb2324()));return _0x217db5(_0x124fbd,''[_0x52fa0d(0x19c)](_0x53dc33),{'defIds':_0x124fbd['defIds'],'idSuffix':_0x494b04['current']},_0x532151({'ref':_0x3de7c7,'className':_0x4087b7},_0x30b25d),_0x175056);});function _0x217db5(_0x2b26dc,_0x1d37ff,_0x3b7f39,_0x6bf916,_0x409be3){const _0x5a1c89=_0x964c6d;return _0x115905[_0x5a1c89(0x374)](_0x2b26dc[_0x5a1c89(0x2ae)],_0x532151(_0x532151({'key':_0x1d37ff},_0x121086(_0x2b26dc,_0x3b7f39,_0x409be3)),_0x6bf916),(_0x51fea9(_0x2b26dc,_0x3b7f39)['children']||[])[_0x5a1c89(0x240)](function(_0x1675ef,_0xb3b7f3){const _0x309f9b=_0x5a1c89;return _0x217db5(_0x1675ef,''[_0x309f9b(0x19c)](_0x1d37ff,'-')[_0x309f9b(0x19c)](_0x2b26dc[_0x309f9b(0x2ae)],'-')[_0x309f9b(0x19c)](_0xb3b7f3),_0x3b7f39,void 0x0,_0x409be3);}));}function _0x121086(_0x812acb,_0x570f58,_0x157eaa){const _0x515520=_0x964c6d;var _0x259e8b=_0x532151({},_0x812acb['attrs']);_0x157eaa!=null&&_0x157eaa[_0x515520(0x170)]&&_0x259e8b[_0x515520(0x36a)]===_0x515520(0x170)&&(_0x259e8b[_0x515520(0x36a)]=_0x157eaa[_0x515520(0x170)]),_0x812acb['tag']===_0x515520(0x233)&&_0x259e8b['id']&&(_0x259e8b['id']=_0x259e8b['id']+_0x570f58[_0x515520(0x17a)]),Object[_0x515520(0x2ac)](_0x259e8b)['forEach'](function(_0x264f67){const _0x438d3e=_0x515520;var _0x305b8d=_0x264f67[0x0],_0x3f7a52=_0x264f67[0x1];_0x305b8d===_0x438d3e(0x233)&&typeof _0x3f7a52==_0x438d3e(0x194)&&(_0x259e8b[_0x305b8d]=_0x3f7a52[_0x438d3e(0x327)](/url\(#(.*)\)/,_0x438d3e(0x29c)[_0x438d3e(0x19c)](_0x570f58[_0x438d3e(0x17a)],')')));});var _0x1beaae=_0x570f58[_0x515520(0x1c0)];return!_0x1beaae||_0x1beaae['length']===0x0||(_0x812acb['tag']===_0x515520(0x24f)&&_0x259e8b[_0x515520(0x271)]&&(_0x259e8b['xlink:href']=_0x259e8b[_0x515520(0x271)]+_0x570f58[_0x515520(0x17a)]),Object['entries'](_0x259e8b)['forEach'](function(_0x5a3227){const _0x19b5ae=_0x515520;var _0x29dd3d=_0x5a3227[0x0],_0x4ffbd6=_0x5a3227[0x1];typeof _0x4ffbd6==_0x19b5ae(0x194)&&(_0x259e8b[_0x29dd3d]=_0x4ffbd6[_0x19b5ae(0x327)](/url\(#(.*)\)/,_0x19b5ae(0x29c)[_0x19b5ae(0x19c)](_0x570f58[_0x19b5ae(0x17a)],')')));})),_0x259e8b;}function _0x51fea9(_0x10f179,_0x38a547){const _0x388310=_0x964c6d;var _0xd4e198,_0x2af11a=_0x38a547['defIds'];return!_0x2af11a||_0x2af11a['length']===0x0?_0x10f179:_0x10f179[_0x388310(0x2ae)]===_0x388310(0x2f9)&&(!((_0xd4e198=_0x10f179[_0x388310(0x360)])===null||_0xd4e198===void 0x0)&&_0xd4e198[_0x388310(0x3b0)])?_0x532151(_0x532151({},_0x10f179),{'children':_0x10f179[_0x388310(0x360)][_0x388310(0x240)](function(_0x6fe52){const _0x408476=_0x388310;return typeof _0x6fe52[_0x408476(0x1b5)]['id']==_0x408476(0x194)&&_0x2af11a&&_0x2af11a['includes'](_0x6fe52[_0x408476(0x1b5)]['id'])?_0x532151(_0x532151({},_0x6fe52),{'attrs':_0x532151(_0x532151({},_0x6fe52[_0x408476(0x1b5)]),{'id':_0x6fe52[_0x408476(0x1b5)]['id']+_0x38a547[_0x408476(0x17a)]})}):_0x6fe52;})}):_0x10f179;}function _0xeb2324(){const _0x242565=_0x964c6d;return Math[_0x242565(0x378)]()[_0x242565(0x192)](0x24)['substring'](0x2,0x8);}_0x17429f[_0x964c6d(0x3e8)]=_0x964c6d(0x23d);var _0x27d349={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x964c6d(0x1eb),'viewBox':_0x964c6d(0x223),'width':_0x964c6d(0x357),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x964c6d(0x2af)},'children':[{'tag':_0x964c6d(0x237),'attrs':{'stroke':_0x964c6d(0x3c9),'d':_0x964c6d(0x31d),'strokeLinecap':_0x964c6d(0x1fc),'strokeLinejoin':_0x964c6d(0x1fc),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x964c6d(0x356),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x964c6d(0x237),'attrs':{'fill':_0x964c6d(0x37c),'d':_0x964c6d(0x298)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x4052c2=_0x115905[_0x964c6d(0x22a)](function(_0x45e885,_0x29c375){const _0x435bc6=_0x964c6d;return _0x115905[_0x435bc6(0x374)](_0x17429f,Object['assign']({},_0x45e885,{'id':_0x435bc6(0x2fd),'ref':_0x29c375,'icon':_0x27d349}));});_0x4052c2[_0x964c6d(0x3e8)]=_0x964c6d(0x2cb);var _0x3c8387={'tag':_0x964c6d(0x3d1),'attrs':{'xmlns':_0x964c6d(0x209),'fill':_0x964c6d(0x1eb),'viewBox':_0x964c6d(0x1b9),'width':_0x964c6d(0x357),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x964c6d(0x237),'attrs':{'stroke':_0x964c6d(0x3c9),'d':_0x964c6d(0x1a7),'strokeLinecap':_0x964c6d(0x1fc),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x964c6d(0x2f9),'attrs':{},'children':[{'tag':_0x964c6d(0x356),'attrs':{'id':_0x964c6d(0x17c)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x964c6d(0x298),'transform':_0x964c6d(0x358)}}]}]}],'defIds':[_0x964c6d(0x17c)]},_0x31d449=_0x115905['forwardRef'](function(_0x5f18c7,_0x50be08){const _0x412588=_0x964c6d;return _0x115905[_0x412588(0x374)](_0x17429f,Object['assign']({},_0x5f18c7,{'id':_0x412588(0x2c1),'ref':_0x50be08,'icon':_0x3c8387}));});_0x31d449[_0x964c6d(0x3e8)]=_0x964c6d(0x309);function _0x2cbdb2(_0x225234){const _0x287300=_0x964c6d;switch(_0x225234){case _0x1fb374['CollaborationStatus'][_0x287300(0x375)]:return'collabStatus.offline';case _0x1fb374[_0x287300(0x37f)][_0x287300(0x35f)]:return _0x287300(0x1fb);case _0x1fb374[_0x287300(0x37f)][_0x287300(0x278)]:return _0x287300(0x2d5);case _0x1fb374[_0x287300(0x37f)][_0x287300(0x2a8)]:return _0x287300(0x229);case _0x1fb374['CollaborationStatus']['AWAITING']:case _0x1fb374[_0x287300(0x37f)][_0x287300(0x2a5)]:return _0x287300(0x3b8);case _0x1fb374[_0x287300(0x37f)][_0x287300(0x3d6)]:case _0x1fb374[_0x287300(0x37f)][_0x287300(0x3dc)]:return _0x287300(0x1d2);}}function _0x531a04(_0x73ccc){const _0xb73c7b=_0x964c6d,{status$:_0x23fb17}=_0x73ccc,_0x278e43=_0x5aad63[_0xb73c7b(0x2de)](_0x23fb17,_0x1fb374[_0xb73c7b(0x37f)]['NOT_COLLAB']),_0x31b3d7=_0x5aad63[_0xb73c7b(0x1a5)](_0x17a0d6[_0xb73c7b(0x383)]),_0x2a89d1=_0x5aad63['useDependency'](_0x1fb374[_0xb73c7b(0x25f)]),_0x12b384=_0x278e43!==_0x1fb374['CollaborationStatus'][_0xb73c7b(0x375)],_0x347b0a=_0x31b3d7['t'](_0x2cbdb2(_0x278e43)),_0x2229d2=_0x12b384?_0x1c574a[_0xb73c7b(0x1a8)](_0x31d449,{}):_0x1c574a[_0xb73c7b(0x1a8)](_0x4052c2,{}),_0x28e887=_0x115905[_0xb73c7b(0x3c4)](()=>{_0x12b384||_0x2a89d1['reconnect']();},[_0x12b384,_0x2a89d1]);function _0x3e4d75(){const _0x291ccf=_0xb73c7b;return _0x1c574a[_0x291ccf(0x34d)](_0x291ccf(0x359),{'className':_0x291ccf(0x25b),'onClick':_0x28e887,'children':[_0x1c574a[_0x291ccf(0x1a8)](_0x291ccf(0x359),{'className':_0x20461d[_0x291ccf(0x3b7)](_0x291ccf(0x3aa),{'univer-text-green-500':_0x12b384,'univer-text-red-500':!_0x12b384}),'children':_0x2229d2}),_0x1c574a[_0x291ccf(0x1a8)]('div',{'className':_0x291ccf(0x2d9),'children':_0x347b0a})]});}return _0x12b384?_0x3e4d75():_0x1c574a[_0xb73c7b(0x1a8)](_0x20461d[_0xb73c7b(0x31a)],{'title':_0x31b3d7['t']('collab-client.tooltip.reconnect'),'children':_0x3e4d75()});}var _0x3ba78c=Object[_0x964c6d(0x236)],_0x15f736=(_0x3d3cf9,_0x55448a,_0x234104,_0x4a0087)=>{const _0x556ac8=_0x964c6d;for(var _0x5738a0=_0x4a0087>0x1?void 0x0:_0x4a0087?_0x3ba78c(_0x55448a,_0x234104):_0x55448a,_0x430ac3=_0x3d3cf9[_0x556ac8(0x3b0)]-0x1,_0x33697a;_0x430ac3>=0x0;_0x430ac3--)(_0x33697a=_0x3d3cf9[_0x430ac3])&&(_0x5738a0=_0x33697a(_0x5738a0)||_0x5738a0);return _0x5738a0;},_0x4056ad=(_0xcd5b1c,_0x3d4358)=>(_0x4fd1d4,_0x29729a)=>_0x3d4358(_0x4fd1d4,_0x29729a,_0xcd5b1c);_0x3fac21[_0x964c6d(0x38f)]=class extends _0x17a0d6[_0x964c6d(0x299)]{constructor(_0x167374,_0x11e48f,_0xcd592d,_0x558d2c){const _0x54d09b=_0x964c6d;super(),_0x2e1f76(this,_0x54d09b(0x2b3),new _0xa893e5[(_0x54d09b(0x1e7))](_0x1fb374[_0x54d09b(0x37f)][_0x54d09b(0x2a8)])),(this[_0x54d09b(0x2ec)]=_0x167374,this[_0x54d09b(0x222)]=_0x11e48f,this[_0x54d09b(0x2f5)]=_0xcd592d,this[_0x54d09b(0x2e0)]=_0x558d2c,this['_initStatusComponent'](),this[_0x54d09b(0x1c9)]());}[_0x964c6d(0x1c9)](){const _0x3de371=_0x964c6d;this[_0x3de371(0x2ba)](this['_univerInstanceService'][_0x3de371(0x3e3)][_0x3de371(0x3e0)](_0xa893e5[_0x3de371(0x253)](()=>{const _0xef2f92=_0x3de371,_0x2fe44a=this[_0xef2f92(0x2ec)]['getFocusedUnit']();return _0x2fe44a?this['_collaborationController'][_0xef2f92(0x318)](_0x2fe44a[_0xef2f92(0x2fa)]()):_0xa893e5['of'](null);}),_0xa893e5['switchMap'](_0x2f81ee=>_0x2f81ee?_0x2f81ee[_0x3de371(0x30c)]:_0xa893e5['of'](_0x1fb374[_0x3de371(0x37f)]['NOT_COLLAB'])))[_0x3de371(0x3ec)](_0x15af0d=>{const _0x35dc5a=_0x3de371;this[_0x35dc5a(0x2b3)]['next'](_0x15af0d);}));}['_initStatusComponent'](){const _0x20ddef=_0x964c6d;this['disposeWithMe'](this['_uiPartsService'][_0x20ddef(0x2aa)](_0x5aad63[_0x20ddef(0x292)][_0x20ddef(0x335)],()=>_0x5aad63[_0x20ddef(0x31b)](_0x454310({'status$':this[_0x20ddef(0x2b3)][_0x20ddef(0x2b1)]()}),this[_0x20ddef(0x222)])));}},_0x3fac21['DesktopCollaborationStatusDisplayController']=_0x15f736([_0x4056ad(0x0,_0x17a0d6[_0x964c6d(0x22d)]),_0x4056ad(0x1,_0x17a0d6[_0x964c6d(0x1ad)](_0x17a0d6[_0x964c6d(0x3d0)])),_0x4056ad(0x2,_0x17a0d6['Inject'](_0x1fb374['CollaborationController'])),_0x4056ad(0x3,_0x5aad63[_0x964c6d(0x225)])],_0x3fac21[_0x964c6d(0x38f)]);function _0x454310(_0x182d2a){const {status$:_0x4728de}=_0x182d2a;return function(){const _0x98ac36=_0x12c4;return _0x1c574a[_0x98ac36(0x1a8)](_0x531a04,{'status$':_0x4728de});};}var _0x55750b=Object[_0x964c6d(0x236)],_0xbb3464=(_0xb88d67,_0x4adfdd,_0x162f45,_0x54d16a)=>{const _0x4a3f10=_0x964c6d;for(var _0x2ce604=_0x54d16a>0x1?void 0x0:_0x54d16a?_0x55750b(_0x4adfdd,_0x162f45):_0x4adfdd,_0x2e226f=_0xb88d67[_0x4a3f10(0x3b0)]-0x1,_0x385df4;_0x2e226f>=0x0;_0x2e226f--)(_0x385df4=_0xb88d67[_0x2e226f])&&(_0x2ce604=_0x385df4(_0x2ce604)||_0x2ce604);return _0x2ce604;},_0x589aef=(_0x5af74f,_0x57fa70)=>(_0x17c1e0,_0x109e20)=>_0x57fa70(_0x17c1e0,_0x109e20,_0x5af74f);let _0x517629=class extends _0x17a0d6['Disposable']{constructor(_0x2ee52d,_0x54d548,_0x10743f,_0x1409fe,_0x207e81,_0x3ceee2){const _0x50c238=_0x964c6d;super(),this['_beforeCloseService']=_0x2ee52d,this[_0x50c238(0x171)]=_0x54d548,this[_0x50c238(0x1c4)]=_0x10743f,this[_0x50c238(0x1be)]=_0x1409fe,this['_notificationService']=_0x207e81,this['_localeService']=_0x3ceee2,this[_0x50c238(0x36b)](),this[_0x50c238(0x2d0)]();}['_setupBeforeClosingHandler'](){const _0x408bab=_0x964c6d;this[_0x408bab(0x2ba)](this[_0x408bab(0x364)][_0x408bab(0x22c)](()=>{const _0x4b8760=_0x408bab;if(this[_0x4b8760(0x171)]['saveTaskMap'][_0x4b8760(0x3eb)])return this[_0x4b8760(0x2b9)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x964c6d(0x2d0)](){const _0x30dd9e=_0x964c6d;this[_0x30dd9e(0x2ba)](this[_0x30dd9e(0x1c4)][_0x30dd9e(0x1e3)][_0x30dd9e(0x3ec)](_0x2a1ad8=>{const _0x395f18=_0x30dd9e;_0x2a1ad8['id']===_0x1fb374[_0x395f18(0x2f8)]['OTHER_CLIENT_EDITING']&&this['_messageService'][_0x395f18(0x3c3)]({'type':_0x20461d[_0x395f18(0x2d1)]['Warning'],'content':this['_localeService']['t'](_0x395f18(0x2e5))}),_0x2a1ad8['id']===_0x1fb374[_0x395f18(0x2f8)][_0x395f18(0x389)]&&this[_0x395f18(0x1be)][_0x395f18(0x3c3)]({'type':_0x20461d[_0x395f18(0x2d1)][_0x395f18(0x1cd)],'content':this[_0x395f18(0x2b9)]['t'](_0x395f18(0x268))}),_0x2a1ad8['id']===_0x1fb374[_0x395f18(0x2f8)]['PERMISSION_DENIED']&&this[_0x395f18(0x1e4)][_0x395f18(0x3c3)]({'title':this[_0x395f18(0x2b9)]['t']('permission.title'),'content':this[_0x395f18(0x2b9)]['t'](_0x395f18(0x2a1)),'type':_0x395f18(0x232),'duration':0x0}),_0x2a1ad8['id']===_0x1fb374[_0x395f18(0x2f8)]['CONFLICT']&&this['_messageService']['show']({'type':_0x20461d[_0x395f18(0x2d1)][_0x395f18(0x1d6)],'content':this[_0x395f18(0x2b9)]['t'](_0x395f18(0x268))+'('+_0x2a1ad8[_0x395f18(0x169)]+')'}),_0x2a1ad8['id']===_0x1fb374[_0x395f18(0x2f8)]['JOIN_ROOM_FAILED']&&this[_0x395f18(0x1be)][_0x395f18(0x3c3)]({'type':_0x20461d[_0x395f18(0x2d1)][_0x395f18(0x1cd)],'content':this[_0x395f18(0x2b9)]['t'](_0x2a1ad8['data']||'')}),_0x2a1ad8['id']===_0x1fb374[_0x395f18(0x2f8)][_0x395f18(0x262)]&&this[_0x395f18(0x1be)][_0x395f18(0x3c3)]({'type':_0x20461d[_0x395f18(0x2d1)]['Warning'],'content':this[_0x395f18(0x2b9)]['t'](_0x395f18(0x392))}),_0x2a1ad8['id']===_0x1fb374[_0x395f18(0x2f8)][_0x395f18(0x1c1)]&&this[_0x395f18(0x1be)][_0x395f18(0x3c3)]({'type':_0x20461d['MessageType'][_0x395f18(0x1d6)],'content':this[_0x395f18(0x2b9)]['t']('session.connection-failed')}),_0x2a1ad8['id']===_0x1fb374[_0x395f18(0x2f8)][_0x395f18(0x21f)]&&this[_0x395f18(0x1be)][_0x395f18(0x3c3)]({'type':_0x20461d[_0x395f18(0x2d1)][_0x395f18(0x1d6)],'content':this[_0x395f18(0x2b9)]['t'](_0x395f18(0x214))});}));}};_0x517629=_0xbb3464([_0x589aef(0x0,_0x5aad63['IBeforeCloseService']),_0x589aef(0x1,_0x1fb374[_0x964c6d(0x183)]),_0x589aef(0x2,_0x17a0d6['Inject'](_0x1fb374[_0x964c6d(0x3f5)])),_0x589aef(0x3,_0x5aad63[_0x964c6d(0x34a)]),_0x589aef(0x4,_0x5aad63[_0x964c6d(0x33d)]),_0x589aef(0x5,_0x17a0d6[_0x964c6d(0x1ad)](_0x17a0d6[_0x964c6d(0x383)]))],_0x517629);const _0x326b37=_0x964c6d(0x394),_0x41abbc={},_0x58f6e4=_0x17a0d6[_0x964c6d(0x308)](_0x964c6d(0x1c7));var _0x1d1445=Object[_0x964c6d(0x236)],_0x443404=(_0x453b68,_0x5a80cd,_0x5bd929,_0x394d86)=>{const _0x48916c=_0x964c6d;for(var _0x6b2c81=_0x394d86>0x1?void 0x0:_0x394d86?_0x1d1445(_0x5a80cd,_0x5bd929):_0x5a80cd,_0x26cecc=_0x453b68[_0x48916c(0x3b0)]-0x1,_0x25b7c6;_0x26cecc>=0x0;_0x26cecc--)(_0x25b7c6=_0x453b68[_0x26cecc])&&(_0x6b2c81=_0x25b7c6(_0x6b2c81)||_0x6b2c81);return _0x6b2c81;},_0x42e3ef=(_0x8cf68a,_0x1ac9b6)=>(_0x515884,_0x4f4727)=>_0x1ac9b6(_0x515884,_0x4f4727,_0x8cf68a);_0x3fac21[_0x964c6d(0x328)]=class extends _0x17a0d6[_0x964c6d(0x3b5)]{constructor(_0x9c6b55,_0x80eba,_0x42512f,_0x1024a5,_0xe6d049){const _0x127c19=_0x964c6d;super(),this[_0x127c19(0x3bd)]=_0x9c6b55,this[_0x127c19(0x3f1)]=_0x80eba,this[_0x127c19(0x1bf)]=_0x42512f,this['_dataLoaderService']=_0x1024a5,_0xe6d049?_0xe6d049==null||_0xe6d049[_0x127c19(0x20f)]()[_0x127c19(0x1c8)](()=>this[_0x127c19(0x272)]()):(this[_0x127c19(0x3f1)]['debug'](_0x127c19(0x188),_0x127c19(0x2cc)),this[_0x127c19(0x272)]());}async[_0x964c6d(0x272)](){const _0x140d12=_0x964c6d,_0x46593b=this[_0x140d12(0x3bd)]['getParam']('unit'),_0x1fb84b=this[_0x140d12(0x3bd)][_0x140d12(0x2e7)](_0x140d12(0x36f)),_0x35eb5c=this['_urlService'][_0x140d12(0x2e7)](_0x140d12(0x2d6));if(!_0x46593b||!_0x1fb84b){this['_logService']['debug'](_0x140d12(0x188),_0x140d12(0x275));return;}const _0x443c8f=await this[_0x140d12(0x2d2)]['loadUnit'](_0x46593b,Number(_0x1fb84b),_0x35eb5c);_0x443c8f&&_0x443c8f instanceof _0x17a0d6[_0x140d12(0x1a6)]&&this['_setupSubUnitSync'](_0x443c8f);}async[_0x964c6d(0x248)](_0x2702ee){const _0x4cda32=_0x964c6d;await this[_0x4cda32(0x35e)](_0x2702ee),_0x2702ee[_0x4cda32(0x2da)][_0x4cda32(0x3e0)](_0xa893e5[_0x4cda32(0x345)](this[_0x4cda32(0x1d7)]))[_0x4cda32(0x3ec)](_0x363fbb=>{const _0x435314=_0x4cda32;_0x363fbb&&this[_0x435314(0x1c3)](_0x363fbb);}),this[_0x4cda32(0x3bd)]['urlChange$'][_0x4cda32(0x3e0)](_0xa893e5[_0x4cda32(0x345)](this[_0x4cda32(0x1d7)]))[_0x4cda32(0x3ec)](()=>this[_0x4cda32(0x35e)](_0x2702ee));}[_0x964c6d(0x1c3)](_0x847895,_0x1c91de=!0x1){const _0x4eb8be=_0x964c6d,_0x571004=this[_0x4eb8be(0x3bd)][_0x4eb8be(0x2e7)](_0x4eb8be(0x2d6));_0x847895[_0x4eb8be(0x315)]()!==_0x571004&&this[_0x4eb8be(0x3bd)][_0x4eb8be(0x312)](_0x4eb8be(0x2d6),_0x847895[_0x4eb8be(0x315)](),_0x1c91de);}async[_0x964c6d(0x35e)](_0x5b4fba){const _0x235b00=_0x964c6d;var _0x27b87b;const _0x2c46aa=this[_0x235b00(0x3bd)][_0x235b00(0x2e7)](_0x235b00(0x2d6));if(!_0x2c46aa||!_0x5b4fba[_0x235b00(0x216)](_0x2c46aa)){const _0xfc2290=_0x5b4fba[_0x235b00(0x2d7)]()[0x0],_0x3237d8=_0x5b4fba['getSheetBySheetId'](_0xfc2290);if(!_0x3237d8)return;this[_0x235b00(0x1c3)](_0x3237d8,!0x0),await this[_0x235b00(0x1bf)][_0x235b00(0x28e)](_0x1ce549[_0x235b00(0x301)]['id'],{'unitId':_0x5b4fba[_0x235b00(0x2fa)](),'subUnitId':_0xfc2290});return;}((_0x27b87b=_0x5b4fba[_0x235b00(0x260)]())==null?void 0x0:_0x27b87b[_0x235b00(0x315)]())!==_0x2c46aa&&await this['_commandService'][_0x235b00(0x28e)](_0x1ce549[_0x235b00(0x301)]['id'],{'unitId':_0x5b4fba['getUnitId'](),'subUnitId':_0x2c46aa});}},_0x3fac21[_0x964c6d(0x328)]=_0x443404([_0x42e3ef(0x0,_0x58f6e4),_0x42e3ef(0x1,_0x17a0d6[_0x964c6d(0x25c)]),_0x42e3ef(0x2,_0x17a0d6[_0x964c6d(0x351)]),_0x42e3ef(0x3,_0x17a0d6['Inject'](_0x1fb374['DataLoaderService'])),_0x42e3ef(0x4,_0x17a0d6[_0x964c6d(0x1b7)](_0x1f9553['IRemoteInstanceService']))],_0x3fac21['CollaborationDataLoaderController']);var _0x1c3156=Object[_0x964c6d(0x236)],_0x496fed=(_0x5ddf14,_0x556adf,_0x35ec2c,_0x540d71)=>{for(var _0x2e57fe=_0x540d71>0x1?void 0x0:_0x540d71?_0x1c3156(_0x556adf,_0x35ec2c):_0x556adf,_0x276d88=_0x5ddf14['length']-0x1,_0x10972a;_0x276d88>=0x0;_0x276d88--)(_0x10972a=_0x5ddf14[_0x276d88])&&(_0x2e57fe=_0x10972a(_0x2e57fe)||_0x2e57fe);return _0x2e57fe;},_0x16bf98=(_0x2212b1,_0xfd878d)=>(_0x4845d8,_0x2f107b)=>_0xfd878d(_0x4845d8,_0x2f107b,_0x2212b1);let _0x24de38=class{constructor(_0x170620,_0x17f19b,_0x79f47f){const _0x5eed28=_0x964c6d;this[_0x5eed28(0x222)]=_0x170620,this[_0x5eed28(0x354)]=_0x17f19b,this[_0x5eed28(0x339)]=_0x79f47f;}['transformIMECache'](_0x27e7f0){const _0x7d2110=_0x964c6d;this[_0x7d2110(0x211)](_0x27e7f0),this[_0x7d2110(0x1ba)](_0x27e7f0);}[_0x964c6d(0x277)](_0x511c7f){const _0xe15503=_0x964c6d,{unitID:_0x34310b}=_0x511c7f,_0x38e1e3=this['_renderManagerService'][_0xe15503(0x3e5)](_0x34310b)['with'](_0x21bec9[_0xe15503(0x1d3)]),{redoCache:_0x4a94f1}=_0x38e1e3[_0xe15503(0x2f6)]();if(_0x4a94f1[_0xe15503(0x3b0)]===0x0)return _0x511c7f;let _0x5e1599=_0x17a0d6[_0xe15503(0x37b)]['deepClone'](_0x511c7f[_0xe15503(0x251)][0x0]);for(let _0x20ddde=0x0;_0x20ddde<_0x4a94f1[_0xe15503(0x3b0)];_0x20ddde++){const _0x27bb70={'id':'doc.mutation.rich-text-editing','params':{..._0x4a94f1[_0x20ddde]}},_0x50b62b=this['_transformService'][_0xe15503(0x28d)](_0x5e1599,_0x27bb70,!0x1);if(_0x2226d4[_0xe15503(0x398)](_0x50b62b))throw _0x50b62b[_0xe15503(0x232)];_0x5e1599=_0x50b62b[_0xe15503(0x18b)];}return{..._0x17a0d6[_0xe15503(0x37b)]['deepClone'](_0x511c7f),'mutations':[_0x5e1599]};}['_transformUndoRedoStack'](_0x3a258d){const _0x3d4579=_0x964c6d,{unitID:_0xf07b0e}=_0x3a258d,_0x2f2d00=this['_renderManagerService'][_0x3d4579(0x3e5)](_0xf07b0e)['with'](_0x21bec9['DocIMEInputManagerService']),{undoCache:_0x52bdd6,redoCache:_0x179e6d}=_0x2f2d00[_0x3d4579(0x2f6)]();if(_0x52bdd6['length']===0x0||_0x179e6d[_0x3d4579(0x3b0)]===0x0)return;const _0x20bd12=[],_0x328b58=[];let _0x14473f=_0x17a0d6['Tools'][_0x3d4579(0x2ea)](_0x3a258d[_0x3d4579(0x251)][0x0]),_0x26194a=_0x17a0d6['Tools'][_0x3d4579(0x2ea)](_0x3a258d['mutations'][0x0]);for(let _0x4d29a0=_0x52bdd6[_0x3d4579(0x3b0)]-0x1;_0x4d29a0>=0x0;_0x4d29a0--){const _0x5d75ce={'id':_0x3d4579(0x26a),'params':{..._0x52bdd6[_0x4d29a0]}},_0x49fc85={'id':'doc.mutation.rich-text-editing','params':{..._0x179e6d[_0x4d29a0]}},_0x40edb8=this['_transformService'][_0x3d4579(0x28d)](_0x14473f,_0x5d75ce,!0x1),_0x2ccbfd=this['_transformService'][_0x3d4579(0x28d)](_0x26194a,_0x49fc85,!0x1);if(_0x2226d4[_0x3d4579(0x398)](_0x40edb8))throw _0x40edb8[_0x3d4579(0x232)];if(_0x2226d4[_0x3d4579(0x398)](_0x2ccbfd))throw _0x2ccbfd[_0x3d4579(0x232)];_0x20bd12[_0x3d4579(0x342)](_0x40edb8[_0x3d4579(0x1ac)][_0x3d4579(0x290)]),_0x328b58['unshift'](_0x2ccbfd[_0x3d4579(0x1ac)][_0x3d4579(0x290)]),_0x14473f=_0x40edb8[_0x3d4579(0x18b)],_0x26194a=_0x2ccbfd[_0x3d4579(0x18b)];}_0x2f2d00[_0x3d4579(0x381)]({'undoCache':_0x20bd12,'redoCache':_0x328b58});}[_0x964c6d(0x1ba)](_0x119cd9){const _0x22f502=_0x964c6d,{unitID:_0x147a3a}=_0x119cd9,_0x59418a=this[_0x22f502(0x339)][_0x22f502(0x3e5)](_0x147a3a)[_0x22f502(0x296)](_0x21bec9[_0x22f502(0x1d3)]),_0x2bdbf4=_0x59418a[_0x22f502(0x3ed)]();if(_0x2bdbf4==null)return;const _0x349763=[{'id':_0x22f502(0x26a),'params':{'unitId':_0x119cd9[_0x22f502(0x241)],'actions':null,'textRanges':[_0x2bdbf4]}}],_0x41ded2=this[_0x22f502(0x354)]['transformMutationsWithChangeset'](_0x119cd9,_0x349763);if(!_0x2226d4[_0x22f502(0x3ef)](_0x41ded2))throw _0x41ded2[_0x22f502(0x232)];const _0x393de2=_0x41ded2[_0x22f502(0x1ac)][0x0][_0x22f502(0x290)][_0x22f502(0x39a)];Array[_0x22f502(0x288)](_0x393de2)&&_0x393de2['length']&&_0x59418a[_0x22f502(0x396)](_0x393de2[0x0]);}};_0x24de38=_0x496fed([_0x16bf98(0x0,_0x17a0d6[_0x964c6d(0x1ad)](_0x17a0d6[_0x964c6d(0x3d0)])),_0x16bf98(0x1,_0x2226d4[_0x964c6d(0x181)]),_0x16bf98(0x2,_0x4826e7[_0x964c6d(0x311)])],_0x24de38);var _0x2f1edf=Object[_0x964c6d(0x236)],_0x42f7ab=(_0x43d517,_0x5abe99,_0x7e80b6,_0xd0935b)=>{const _0x3ebbb5=_0x964c6d;for(var _0x3e179c=_0xd0935b>0x1?void 0x0:_0xd0935b?_0x2f1edf(_0x5abe99,_0x7e80b6):_0x5abe99,_0x96a6f3=_0x43d517[_0x3ebbb5(0x3b0)]-0x1,_0x556d26;_0x96a6f3>=0x0;_0x96a6f3--)(_0x556d26=_0x43d517[_0x96a6f3])&&(_0x3e179c=_0x556d26(_0x3e179c)||_0x3e179c);return _0x3e179c;},_0x2bcc80=(_0xce0a0e,_0x424032)=>(_0x6ed88d,_0x167566)=>_0x424032(_0x6ed88d,_0x167566,_0xce0a0e);let _0x152fd8=class{constructor(_0x4c58f4,_0x4b1ad0,_0x44a0e0){const _0x8bd05c=_0x964c6d;this['_injector']=_0x4c58f4,this[_0x8bd05c(0x354)]=_0x4b1ad0,this['_docStateChangeManagerService']=_0x44a0e0;}['transformStateCache'](_0x1df406){const _0x59d81c=_0x964c6d;this[_0x59d81c(0x16d)](_0x1df406);}[_0x964c6d(0x277)](_0x6dbb0a){const _0x4b2a4f=_0x964c6d,{unitID:_0x272e6b}=_0x6dbb0a,{collaboration:_0x27eee7}=this[_0x4b2a4f(0x39e)][_0x4b2a4f(0x27b)](_0x272e6b);if(_0x27eee7[_0x4b2a4f(0x3b0)]===0x0)return _0x6dbb0a;let _0x32a1b3=_0x17a0d6[_0x4b2a4f(0x37b)][_0x4b2a4f(0x2ea)](_0x6dbb0a[_0x4b2a4f(0x251)][0x0]);for(let _0x1f5c40=0x0;_0x1f5c40<_0x27eee7[_0x4b2a4f(0x3b0)];_0x1f5c40++){const _0x2fead8={'id':_0x4b2a4f(0x26a),'params':{'unitId':_0x27eee7[_0x1f5c40][_0x4b2a4f(0x314)],..._0x27eee7[_0x1f5c40]['redoState']}},_0x5cce72=this['_transformService'][_0x4b2a4f(0x28d)](_0x32a1b3,_0x2fead8,!0x1);if(_0x2226d4[_0x4b2a4f(0x398)](_0x5cce72))throw _0x5cce72[_0x4b2a4f(0x232)];_0x32a1b3=_0x5cce72[_0x4b2a4f(0x18b)];}return{..._0x17a0d6['Tools'][_0x4b2a4f(0x2ea)](_0x6dbb0a),'mutations':[_0x32a1b3]};}[_0x964c6d(0x16d)](_0x353952){const _0x286182=_0x964c6d,{unitID:_0x540c2a}=_0x353952,{history:_0x331781,collaboration:_0x383c53}=this[_0x286182(0x39e)][_0x286182(0x27b)](_0x540c2a);if(_0x331781[_0x286182(0x3b0)]===0x0&&_0x383c53[_0x286182(0x3b0)]===0x0)return;const _0xf5d545=[],_0x2864a4=[];let _0x3ddb88=_0x17a0d6['Tools']['deepClone'](_0x353952['mutations'][0x0]),_0x5290d4=_0x17a0d6[_0x286182(0x37b)][_0x286182(0x2ea)](_0x353952[_0x286182(0x251)][0x0]);for(let _0x3dc52d=_0x331781[_0x286182(0x3b0)]-0x1;_0x3dc52d>=0x0;_0x3dc52d--){const _0x5040b6={'id':_0x286182(0x26a),'params':{'unitId':_0x331781[_0x3dc52d][_0x286182(0x314)],..._0x331781[_0x3dc52d][_0x286182(0x2ff)]}},_0xf50dd5={'id':_0x286182(0x26a),'params':{'unitId':_0x331781[_0x3dc52d]['unitId'],..._0x331781[_0x3dc52d][_0x286182(0x23f)]}},_0x1d6aca=this[_0x286182(0x354)]['transformMutation'](_0x3ddb88,_0x5040b6,!0x1),_0x4af5db=this['_transformService'][_0x286182(0x28d)](_0x5290d4,_0xf50dd5,!0x1);if(_0x2226d4[_0x286182(0x398)](_0x1d6aca))throw _0x1d6aca[_0x286182(0x232)];if(_0x2226d4[_0x286182(0x398)](_0x4af5db))throw _0x4af5db['error'];_0xf5d545[_0x286182(0x342)]({..._0x331781[_0x3dc52d],'undoState':_0x1d6aca[_0x286182(0x1ac)][_0x286182(0x290)],'redoState':_0x4af5db[_0x286182(0x1ac)][_0x286182(0x290)]}),_0x3ddb88=_0x1d6aca[_0x286182(0x18b)],_0x5290d4=_0x4af5db[_0x286182(0x18b)];}_0x3ddb88=_0x17a0d6['Tools'][_0x286182(0x2ea)](_0x353952['mutations'][0x0]),_0x5290d4=_0x17a0d6[_0x286182(0x37b)]['deepClone'](_0x353952[_0x286182(0x251)][0x0]);for(let _0x9e4314=_0x383c53[_0x286182(0x3b0)]-0x1;_0x9e4314>=0x0;_0x9e4314--){const _0x27c5a5={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x383c53[_0x9e4314]['unitId'],..._0x383c53[_0x9e4314][_0x286182(0x2ff)]}},_0x1f4b45={'id':_0x286182(0x26a),'params':{'unitId':_0x383c53[_0x9e4314][_0x286182(0x314)],..._0x383c53[_0x9e4314]['redoState']}},_0x405036=this['_transformService'][_0x286182(0x28d)](_0x3ddb88,_0x27c5a5,!0x1),_0x1d4d69=this[_0x286182(0x354)]['transformMutation'](_0x5290d4,_0x1f4b45,!0x1);if(_0x2226d4[_0x286182(0x398)](_0x405036))throw _0x405036[_0x286182(0x232)];if(_0x2226d4[_0x286182(0x398)](_0x1d4d69))throw _0x1d4d69['error'];_0x2864a4[_0x286182(0x342)]({..._0x383c53[_0x9e4314],'undoState':_0x405036[_0x286182(0x1ac)]['params'],'redoState':_0x1d4d69['m2Prime']['params']}),_0x3ddb88=_0x405036[_0x286182(0x18b)],_0x5290d4=_0x1d4d69[_0x286182(0x18b)];}this[_0x286182(0x39e)][_0x286182(0x2e8)](_0x540c2a,{'history':_0xf5d545,'collaboration':_0x2864a4});}};_0x152fd8=_0x42f7ab([_0x2bcc80(0x0,_0x17a0d6[_0x964c6d(0x1ad)](_0x17a0d6[_0x964c6d(0x3d0)])),_0x2bcc80(0x1,_0x2226d4[_0x964c6d(0x181)]),_0x2bcc80(0x2,_0x17a0d6[_0x964c6d(0x1ad)](_0x21bec9[_0x964c6d(0x186)]))],_0x152fd8);var _0x2b308b=Object[_0x964c6d(0x236)],_0x8d3d9b=(_0x348f9c,_0xd40b0d,_0x47e7ca,_0x2b2f80)=>{const _0x363b61=_0x964c6d;for(var _0x468b49=_0x2b2f80>0x1?void 0x0:_0x2b2f80?_0x2b308b(_0xd40b0d,_0x47e7ca):_0xd40b0d,_0x5a2c80=_0x348f9c[_0x363b61(0x3b0)]-0x1,_0x12faed;_0x5a2c80>=0x0;_0x5a2c80--)(_0x12faed=_0x348f9c[_0x5a2c80])&&(_0x468b49=_0x12faed(_0x468b49)||_0x468b49);return _0x468b49;},_0x2603ea=(_0x149837,_0x19f7fd)=>(_0x38fb2d,_0x451d8b)=>_0x19f7fd(_0x38fb2d,_0x451d8b,_0x149837);let _0x597690=class{constructor(_0x19805b,_0x3828d3){const _0x5e6cda=_0x964c6d;this[_0x5e6cda(0x222)]=_0x19805b,this[_0x5e6cda(0x354)]=_0x3828d3;}[_0x964c6d(0x333)](_0x8b73de){const _0x6f332b=_0x964c6d;var _0x46814e;const _0xd8e862=this['_injector'][_0x6f332b(0x17d)](_0x566265['DocSelectionManagerService']),_0x5256b9=(_0x46814e=_0xd8e862['getDocRanges']())!=null?_0x46814e:[];if(_0x5256b9[_0x6f332b(0x3b0)]===0x0)return;const _0x483d84=_0x8b73de[_0x6f332b(0x241)],_0x1579db=[{'id':_0x6f332b(0x26a),'params':{'unitId':_0x483d84,'actions':null,'textRanges':_0x5256b9}}],_0x17ec4d=this[_0x6f332b(0x354)][_0x6f332b(0x319)](_0x8b73de,_0x1579db);if(!_0x2226d4[_0x6f332b(0x3ef)](_0x17ec4d))throw _0x17ec4d['error'];const _0x33eaf4=_0x17ec4d[_0x6f332b(0x1ac)][0x0][_0x6f332b(0x290)][_0x6f332b(0x39a)];Array[_0x6f332b(0x288)](_0x33eaf4)&&_0x33eaf4[_0x6f332b(0x3b0)]&&_0xd8e862['replaceDocRanges'](_0x33eaf4,{'unitId':_0x483d84,'subUnitId':_0x483d84},!0x1);}};_0x597690=_0x8d3d9b([_0x2603ea(0x0,_0x17a0d6[_0x964c6d(0x1ad)](_0x17a0d6[_0x964c6d(0x3d0)])),_0x2603ea(0x1,_0x2226d4[_0x964c6d(0x181)])],_0x597690);var _0x1f3bd5=Object['getOwnPropertyDescriptor'],_0x551aae=(_0x13d260,_0x303970,_0x562bb1,_0x2cf388)=>{for(var _0x39ca5d=_0x2cf388>0x1?void 0x0:_0x2cf388?_0x1f3bd5(_0x303970,_0x562bb1):_0x303970,_0x1d8576=_0x13d260['length']-0x1,_0x4adf12;_0x1d8576>=0x0;_0x1d8576--)(_0x4adf12=_0x13d260[_0x1d8576])&&(_0x39ca5d=_0x4adf12(_0x39ca5d)||_0x39ca5d);return _0x39ca5d;},_0x55b251=(_0x33a463,_0x45e0b0)=>(_0x5abce4,_0xf4396)=>_0x45e0b0(_0x5abce4,_0xf4396,_0x33a463);let _0x438c91=class extends _0x17a0d6['Disposable']{constructor(_0x7ac236,_0x46cbac,_0xd74259,_0x23a15b,_0x5eed90,_0x4264d1,_0x35014c,_0x41f450){const _0x415681=_0x964c6d;super(),_0x2e1f76(this,_0x415681(0x2b3),new _0xa893e5[(_0x415681(0x1e7))](_0x1fb374[_0x415681(0x37f)][_0x415681(0x2a8)])),(this[_0x415681(0x39e)]=_0x7ac236,this[_0x415681(0x2f5)]=_0x46cbac,this[_0x415681(0x3ea)]=_0xd74259,this[_0x415681(0x2c3)]=_0x23a15b,this[_0x415681(0x313)]=_0x5eed90,this['_docSyncEditingCollabCursorService']=_0x4264d1,this[_0x415681(0x1be)]=_0x35014c,this[_0x415681(0x2b9)]=_0x41f450,this[_0x415681(0x1a9)]());}['_initEntityListener'](){const _0x933169=_0x964c6d;this[_0x933169(0x2ba)](this['_collaborationController']['entityInit$'][_0x933169(0x3ec)](_0x5520c3=>{const _0x3683b7=_0x933169,_0x5a52fb=this[_0x3683b7(0x39e)][_0x3683b7(0x39b)][_0x3683b7(0x3ec)](_0x3b254b=>{const _0x4d794e=_0x3683b7;if(_0x3b254b==null)return;const {unitId:_0x48e519,redoState:_0x441373,commandId:_0x38183d}=_0x3b254b;if(_0x48e519!==_0x5520c3[_0x4d794e(0x241)])return;const _0x5a5dd8={'id':_0x38183d,'type':_0x17a0d6[_0x4d794e(0x269)]['MUTATION'],'params':{'unitId':_0x48e519,'actions':_0x441373[_0x4d794e(0x18f)],'textRanges':null}};_0x5520c3[_0x4d794e(0x30f)](_0x5a5dd8);});if(_0x5520c3[_0x3683b7(0x2ba)](_0x5a52fb),_0x5520c3 instanceof _0x1fb374[_0x3683b7(0x213)]){const _0xd08443={'onTransformIME':_0x106660=>this['_docTransformIMECacheService'][_0x3683b7(0x173)](_0x106660),'onTransformState':_0x3d6ee0=>this[_0x3683b7(0x2c3)][_0x3683b7(0x367)](_0x3d6ee0),'onTransformSelections':_0x273612=>this[_0x3683b7(0x313)][_0x3683b7(0x333)](_0x273612),'onSyncEditingCollabCursor':_0x4ec569=>this[_0x3683b7(0x231)][_0x3683b7(0x19d)](_0x4ec569),'onTransformRemoteChangesetByIMECache':_0x1d9546=>this[_0x3683b7(0x3ea)][_0x3683b7(0x277)](_0x1d9546),'onTransformRemoteChangesetByStateCache':_0x2ab8ee=>this[_0x3683b7(0x2c3)]['transformRemoteChangeset'](_0x2ab8ee)};_0x5520c3[_0x3683b7(0x265)](_0xd08443);}}));}};_0x438c91=_0x551aae([_0x55b251(0x0,_0x17a0d6[_0x964c6d(0x1ad)](_0x21bec9['DocStateChangeManagerService'])),_0x55b251(0x1,_0x17a0d6[_0x964c6d(0x1ad)](_0x1fb374[_0x964c6d(0x3d4)])),_0x55b251(0x2,_0x17a0d6[_0x964c6d(0x1ad)](_0x24de38)),_0x55b251(0x3,_0x17a0d6['Inject'](_0x152fd8)),_0x55b251(0x4,_0x17a0d6[_0x964c6d(0x1ad)](_0x597690)),_0x55b251(0x5,_0x17a0d6['Inject'](_0x6e5760)),_0x55b251(0x6,_0x5aad63[_0x964c6d(0x34a)]),_0x55b251(0x7,_0x17a0d6[_0x964c6d(0x1ad)](_0x17a0d6[_0x964c6d(0x383)]))],_0x438c91);var _0x5e206e=Object[_0x964c6d(0x236)],_0x366df5=(_0x15c1ac,_0x4378d5,_0x39adef,_0x38bf7d)=>{const _0x577339=_0x964c6d;for(var _0x1807ed=_0x38bf7d>0x1?void 0x0:_0x38bf7d?_0x5e206e(_0x4378d5,_0x39adef):_0x4378d5,_0x1f9a41=_0x15c1ac[_0x577339(0x3b0)]-0x1,_0xfa1a89;_0x1f9a41>=0x0;_0x1f9a41--)(_0xfa1a89=_0x15c1ac[_0x1f9a41])&&(_0x1807ed=_0xfa1a89(_0x1807ed)||_0x1807ed);return _0x1807ed;},_0x46ddda=(_0x27f8c9,_0x83d7f9)=>(_0x32f03e,_0x450d16)=>_0x83d7f9(_0x32f03e,_0x450d16,_0x27f8c9);let _0x41fdb=class extends _0x17a0d6['Disposable']{constructor(_0x39b03b,_0x182f89,_0x4731f8){const _0x22d082=_0x964c6d;super(),_0x2e1f76(this,_0x22d082(0x2dc),new Map()),_0x2e1f76(this,_0x22d082(0x26f),new Map()),_0x2e1f76(this,'_disabled',!0x1),(this[_0x22d082(0x322)]=_0x39b03b,this[_0x22d082(0x1d1)]=_0x182f89,this[_0x22d082(0x355)]=_0x4731f8);}['disableLocalCache'](){const _0x5647e1=_0x964c6d;this[_0x5647e1(0x230)]=!0x0;}[_0x964c6d(0x3b9)](){this['_disabled']=!0x1;}get[_0x964c6d(0x3db)](){const _0x47c0e2=_0x964c6d;return this[_0x47c0e2(0x26f)];}[_0x964c6d(0x2bd)](){const _0x4ba2a8=_0x964c6d;this[_0x4ba2a8(0x30d)]()['then'](()=>super[_0x4ba2a8(0x2bd)]());}async[_0x964c6d(0x382)](_0x3b9432){const _0x35f5a1=_0x964c6d;return this['_disabled']?null:this[_0x35f5a1(0x1d1)]['getItem'](_0x1fb374[_0x35f5a1(0x38c)](_0x3b9432));}async[_0x964c6d(0x1ec)](_0x59739d,_0x3d5900){return!!this['_localStorageService']['setItem'](_0x59739d,_0x3d5900);}['updateOfflineData'](_0x211e2d,_0x20bace,_0x551727,_0x3a14bb){const _0x5f4e40=_0x964c6d,_0x53cf98=this[_0x5f4e40(0x355)]['getCurrentRevOfUnit'](_0x211e2d);this['_cachedData'][_0x5f4e40(0x26d)](_0x211e2d,{'unitID':_0x211e2d,'type':_0x20bace,'awaitingChangeset':_0x551727,'mutations':_0x3a14bb,'rev':_0x53cf98}),this['_saveTaskMap']['has'](_0x211e2d)||this[_0x5f4e40(0x19b)](_0x211e2d);}[_0x964c6d(0x19b)](_0x457ef1){const _0x2f1ce4=_0x964c6d,_0x59bf17=this[_0x2f1ce4(0x287)]();_0x59bf17===0x0?this['_saveCache'](_0x457ef1):this['_saveTaskMap'][_0x2f1ce4(0x26d)](_0x457ef1,setTimeout(()=>this[_0x2f1ce4(0x195)](_0x457ef1),_0x59bf17));}['_getSaveTimeout'](){const _0x40e1db=_0x964c6d;var _0x33ab3f;return(_0x33ab3f=this[_0x40e1db(0x322)][_0x40e1db(0x32c)](_0x1fb374[_0x40e1db(0x1d8)]))!=null?_0x33ab3f:_0x1fb374['LOCAL_CACHE_INTERVAL'];}[_0x964c6d(0x195)](_0x1fe1b6){const _0x5e2a80=_0x964c6d,_0x2fb7ea=this[_0x5e2a80(0x26f)]['get'](_0x1fe1b6);return _0x2fb7ea!==void 0x0&&window['clearTimeout'](_0x2fb7ea),this[_0x5e2a80(0x1d1)]['setItem'](_0x1fb374[_0x5e2a80(0x38c)](_0x1fe1b6),this[_0x5e2a80(0x2dc)][_0x5e2a80(0x17d)](_0x1fe1b6))[_0x5e2a80(0x1c8)](()=>this[_0x5e2a80(0x26f)][_0x5e2a80(0x31e)](_0x1fe1b6));}async[_0x964c6d(0x30d)](){const _0x5a141b=_0x964c6d,_0x59c4f6=[];this[_0x5a141b(0x26f)]['forEach']((_0x16aa8f,_0x24a9c1)=>{const _0x12056b=_0x5a141b;window[_0x12056b(0x36e)](_0x16aa8f),_0x59c4f6[_0x12056b(0x28c)](this[_0x12056b(0x195)](_0x24a9c1)[_0x12056b(0x1c8)](()=>{const _0x178c7e=_0x12056b;this[_0x178c7e(0x26f)][_0x178c7e(0x31e)](_0x24a9c1);}));}),await Promise[_0x5a141b(0x35c)](_0x59c4f6);}};_0x41fdb=_0x366df5([_0x46ddda(0x0,_0x17a0d6[_0x964c6d(0x23b)]),_0x46ddda(0x1,_0x17a0d6[_0x964c6d(0x320)]),_0x46ddda(0x2,_0x17a0d6['Inject'](_0x2226d4[_0x964c6d(0x397)]))],_0x41fdb);class _0x1daf05 extends _0x17a0d6['RxDisposable']{constructor(){const _0x5eaef7=_0x964c6d;super(),_0x2e1f76(this,_0x5eaef7(0x362)),this[_0x5eaef7(0x362)]=_0xa893e5[_0x5eaef7(0x293)](window,_0x5eaef7(0x2be))[_0x5eaef7(0x3e0)](_0xa893e5[_0x5eaef7(0x345)](this[_0x5eaef7(0x1d7)]),_0xa893e5['shareReplay'](0x1),_0xa893e5[_0x5eaef7(0x3d3)](void 0x0));}['setParam'](_0xbbcd65,_0x23402a,_0x3dcb9d=!0x1){const _0x2aa91f=_0x964c6d,_0x23511b=new URL(window[_0x2aa91f(0x35d)][_0x2aa91f(0x2b0)]);_0x23511b[_0x2aa91f(0x3bb)]['set'](_0xbbcd65,_0x23402a),_0x3dcb9d?window[_0x2aa91f(0x395)][_0x2aa91f(0x167)]('','',_0x23511b[_0x2aa91f(0x192)]()):window[_0x2aa91f(0x395)][_0x2aa91f(0x2bc)]('','',_0x23511b[_0x2aa91f(0x192)]());}[_0x964c6d(0x307)](_0x373485,_0x3247a1=!0x1){const _0x3f649a=_0x964c6d,_0x487205=new URL(window[_0x3f649a(0x35d)]['href']);_0x487205[_0x3f649a(0x3bb)][_0x3f649a(0x31e)](_0x373485),_0x3247a1?window[_0x3f649a(0x395)][_0x3f649a(0x167)]('','',_0x487205['toString']()):window[_0x3f649a(0x395)][_0x3f649a(0x2bc)]('','',_0x487205[_0x3f649a(0x192)]());}[_0x964c6d(0x2e7)](_0x36f757){const _0x3c118d=_0x964c6d;var _0x262408;return(_0x262408=new URL(window[_0x3c118d(0x35d)][_0x3c118d(0x2b0)])['searchParams'][_0x3c118d(0x17d)](_0x36f757))!=null?_0x262408:void 0x0;}}var _0x21a90e=Object['defineProperty'],_0x3b1954=Object[_0x964c6d(0x236)],_0x2e51dd=(_0x3da38e,_0x50f153,_0xfc2c9d)=>_0x50f153 in _0x3da38e?_0x21a90e(_0x3da38e,_0x50f153,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xfc2c9d}):_0x3da38e[_0x50f153]=_0xfc2c9d,_0x184f95=(_0x2915b1,_0x3c51c8,_0x2ba877,_0x3d0688)=>{const _0x5beee1=_0x964c6d;for(var _0x101abe=_0x3d0688>0x1?void 0x0:_0x3d0688?_0x3b1954(_0x3c51c8,_0x2ba877):_0x3c51c8,_0x3c3c42=_0x2915b1[_0x5beee1(0x3b0)]-0x1,_0x5790e6;_0x3c3c42>=0x0;_0x3c3c42--)(_0x5790e6=_0x2915b1[_0x3c3c42])&&(_0x101abe=_0x5790e6(_0x101abe)||_0x101abe);return _0x101abe;},_0x5dfd44=(_0x22de15,_0x3ad9dc)=>(_0x2dc91f,_0x4cd4ca)=>_0x3ad9dc(_0x2dc91f,_0x4cd4ca,_0x22de15),_0x10f37e=(_0x10eb6c,_0x166ad6,_0xfcf559)=>_0x2e51dd(_0x10eb6c,_0x166ad6+'',_0xfcf559);const _0xeb19d='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x3fac21[_0x964c6d(0x3c5)]=class extends _0x17a0d6[_0x964c6d(0x2f1)]{constructor(_0x131aa1=_0x41abbc,_0x7ed9ab,_0x410646,_0x5b9c33){const _0x34d468=_0x964c6d;super(),this[_0x34d468(0x3e9)]=_0x131aa1,this[_0x34d468(0x339)]=_0x7ed9ab,this[_0x34d468(0x222)]=_0x410646,this[_0x34d468(0x322)]=_0x5b9c33;const {..._0x5a5175}=_0x17a0d6[_0x34d468(0x325)]({},_0x41abbc,this[_0x34d468(0x3e9)]);this['_configService']['setConfig'](_0x326b37,_0x5a5175);}[_0x964c6d(0x197)](){const _0x2fb921=_0x964c6d;this[_0x2fb921(0x1e6)](),this['_initDependencies']();}[_0x964c6d(0x1fd)](){const _0x4a54c7=_0x964c6d;this[_0x4a54c7(0x3ce)]();}['_registerDependencies'](){const _0x596a20=_0x964c6d;var _0x4f7cd5;const _0x4e22c8=[[_0x41db9a],[_0x597690],[_0x24de38],[_0x152fd8],[_0x6e5760],[_0x58f6e4,{'useClass':_0x1daf05}],[_0x5600f6[_0x596a20(0x31c)],{'useClass':_0x5600f6[_0x596a20(0x3a9)]}],[_0x1fb374[_0x596a20(0x183)],{'useClass':_0x41fdb}],[_0x3fac21[_0x596a20(0x38f)]],[_0x438c91],[_0x517629],[_0x1fcbad],[_0x566e8b],[_0x3fac21['CollaborationDataLoaderController']]];_0x17a0d6['registerDependencies'](this[_0x596a20(0x222)],_0x17a0d6[_0x596a20(0x2e3)](_0x4e22c8,(_0x4f7cd5=this[_0x596a20(0x3e9)])==null?void 0x0:_0x4f7cd5['override']));}[_0x964c6d(0x3ce)](){const _0x364752=_0x964c6d;this[_0x364752(0x2ba)](this[_0x364752(0x339)]['registerRenderModule'](_0x17a0d6[_0x364752(0x217)][_0x364752(0x206)],[_0x3036df])),this['disposeWithMe'](this[_0x364752(0x339)][_0x364752(0x32e)](_0x17a0d6['UniverInstanceType'][_0x364752(0x254)],[_0x260fea]));}['_initDependencies'](){const _0x4661e2=_0x964c6d;_0x17a0d6[_0x4661e2(0x2f0)](this['_injector'],[[_0x1fcbad],[_0x3fac21['DesktopCollaborationStatusDisplayController']],[_0x438c91],[_0x517629],[_0x3fac21[_0x4661e2(0x328)]]]);}},_0x10f37e(_0x3fac21[_0x964c6d(0x3c5)],_0x964c6d(0x182),_0xeb19d),_0x3fac21[_0x964c6d(0x3c5)]=_0x184f95([_0x17a0d6[_0x964c6d(0x3c0)](_0x1fb374[_0x964c6d(0x291)]),_0x5dfd44(0x1,_0x4826e7['IRenderManagerService']),_0x5dfd44(0x2,_0x17a0d6[_0x964c6d(0x1ad)](_0x17a0d6['Injector'])),_0x5dfd44(0x3,_0x17a0d6['IConfigService'])],_0x3fac21['UniverCollaborationClientUIPlugin']);var _0xb6dc1=Object['getOwnPropertyDescriptor'],_0x3c809c=(_0x5b033a,_0xb22e1a,_0x1267f2,_0xba9e5)=>{const _0x61477c=_0x964c6d;for(var _0x3b9291=_0xba9e5>0x1?void 0x0:_0xba9e5?_0xb6dc1(_0xb22e1a,_0x1267f2):_0xb22e1a,_0x4bab0e=_0x5b033a[_0x61477c(0x3b0)]-0x1,_0x3f84d0;_0x4bab0e>=0x0;_0x4bab0e--)(_0x3f84d0=_0x5b033a[_0x4bab0e])&&(_0x3b9291=_0x3f84d0(_0x3b9291)||_0x3b9291);return _0x3b9291;},_0x294a9b=(_0x40b382,_0x446c65)=>(_0x19a501,_0x1e77e4)=>_0x446c65(_0x19a501,_0x1e77e4,_0x40b382);_0x3fac21['BrowserCollaborationSocketService']=class extends _0x1fb374['CollaborationSocketService']{constructor(_0x5541c1,_0x2f193,_0x4622ba,_0x1450b7,_0x2da197){super(_0x5541c1,_0x2f193,_0x4622ba,_0x1450b7,_0x2da197);}async[_0x964c6d(0x2c5)](_0x5337e5){const _0x45a389=_0x964c6d,_0x192c8f=await this[_0x45a389(0x1a0)](),_0x1da8e8=this[_0x45a389(0x180)](_0x5337e5,_0x192c8f);return this[_0x45a389(0x21d)](_0x1da8e8);}[_0x964c6d(0x180)](_0x3eab3d,_0x4c9296){const _0x200a60=_0x964c6d,_0x2e2342=typeof window>'u'?new URL(_0x3eab3d):new URL(_0x3eab3d,window[_0x200a60(0x35d)][_0x200a60(0x1a1)]);_0x2e2342[_0x200a60(0x3bb)][_0x200a60(0x26d)](_0x200a60(0x21b),_0x4c9296);const _0x52dc34=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x200a60(0x35d)][_0x200a60(0x36d)]);return _0x52dc34[_0x200a60(0x17d)](_0x200a60(0x3cc))&&_0x2e2342['searchParams'][_0x200a60(0x26d)](_0x200a60(0x3cc),_0x52dc34[_0x200a60(0x17d)]('runId')),_0x2e2342[_0x200a60(0x192)]();}async[_0x964c6d(0x1a0)](){const _0x560159=_0x964c6d;var _0x21d4d9,_0x5ca3a3,_0x58b480;const _0x1f25bc=this[_0x560159(0x322)]['getConfig'](_0x1fb374[_0x560159(0x2e2)]),_0x18f7c6=(_0x21d4d9=_0x1f25bc==null?void 0x0:_0x1f25bc[_0x560159(0x185)])!=null?_0x21d4d9:_0x1fb374[_0x560159(0x3c2)];return(_0x58b480=(_0x5ca3a3=(await this[_0x560159(0x384)][_0x560159(0x17d)](_0x18f7c6,{'headers':{'Content-Type':'application/json'}}))[_0x560159(0x310)])==null?void 0x0:_0x5ca3a3[_0x560159(0x385)])!=null?_0x58b480:'';}},_0x3fac21[_0x964c6d(0x38b)]=_0x3c809c([_0x294a9b(0x0,_0x17a0d6[_0x964c6d(0x1ad)](_0x17a0d6[_0x964c6d(0x3d0)])),_0x294a9b(0x1,_0x17a0d6[_0x964c6d(0x1ad)](_0x5600f6[_0x964c6d(0x2c0)])),_0x294a9b(0x2,_0x17a0d6[_0x964c6d(0x23b)]),_0x294a9b(0x3,_0x17a0d6[_0x964c6d(0x25c)]),_0x294a9b(0x4,_0x2226d4['ISnapshotServerService'])],_0x3fac21[_0x964c6d(0x38b)]);const _0x187591=0x7530,_0x5af4ae=_0x964c6d(0x1ea);class _0x3594d5 extends _0x17a0d6[_0x964c6d(0x299)]{constructor(){const _0x1daa23=_0x964c6d;super(),_0x2e1f76(this,_0x1daa23(0x190),_0x17a0d6[_0x1daa23(0x347)]()),_0x2e1f76(this,'_selfUnitIDs',new Set()),_0x2e1f76(this,_0x1daa23(0x3a4),new Map()),_0x2e1f76(this,_0x1daa23(0x2cf),null),_0x2e1f76(this,_0x1daa23(0x3f0),new Map()),_0x2e1f76(this,_0x1daa23(0x16a),new Map()),this[_0x1daa23(0x272)]();}[_0x964c6d(0x2bd)](){const _0x3f7f3d=_0x964c6d;super['dispose'](),this[_0x3f7f3d(0x3f0)]['forEach']((_0x84ea5e,_0xcd82c3)=>this['_removeClearOtherTimer'](_0xcd82c3)),this[_0x3f7f3d(0x2cf)]&&window[_0x3f7f3d(0x37a)](this[_0x3f7f3d(0x2cf)]);}['getUnitStatus$'](_0x52e1fa){const _0x4f6959=_0x964c6d;return this[_0x4f6959(0x219)](_0x52e1fa)[_0x4f6959(0x3e0)](_0xa893e5[_0x4f6959(0x184)]());}[_0x964c6d(0x3b1)](_0x1dd900){const _0x297713=_0x964c6d;this[_0x297713(0x3a2)][_0x297713(0x3eb)]===0x0&&this[_0x297713(0x1f1)](),this[_0x297713(0x3a2)][_0x297713(0x16b)](_0x1dd900),this[_0x297713(0x267)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x1dd900],'isForwarded':!0x1});}['disposeUnit'](_0x1df5ae){const _0x15bb1b=_0x964c6d;this[_0x15bb1b(0x3a2)][_0x15bb1b(0x31e)](_0x1df5ae),this[_0x15bb1b(0x3a2)][_0x15bb1b(0x3eb)]===0x0&&this['_heartbeatTimer']&&window[_0x15bb1b(0x37a)](this['_heartbeatTimer']);}['_init'](){const _0x55e7b9=_0x964c6d;this[_0x55e7b9(0x2ba)](_0x17a0d6['toDisposable'](_0xa893e5[_0x55e7b9(0x293)](window,_0x55e7b9(0x28b))[_0x55e7b9(0x3ec)](_0x332011=>{const _0x3f0360=_0x55e7b9;if(_0x332011[_0x3f0360(0x258)]!==_0x5af4ae||!_0x332011[_0x3f0360(0x37d)])return;const _0x3b6563=JSON[_0x3f0360(0x3d7)](_0x332011[_0x3f0360(0x37d)]);this[_0x3f0360(0x20a)](_0x3b6563);}))),window['addEventListener'](_0x55e7b9(0x162),()=>this[_0x55e7b9(0x267)]({'type':0x1,'memberID':this[_0x55e7b9(0x190)],'unitIDs':Array['from'](this[_0x55e7b9(0x3a2)])}));}[_0x964c6d(0x20a)](_0x4805fd){const _0x43c56c=_0x964c6d;switch(_0x4805fd['type']){case 0x0:this[_0x43c56c(0x2eb)](_0x4805fd);break;case 0x1:this[_0x43c56c(0x26b)](_0x4805fd);break;case 0x2:this[_0x43c56c(0x3ee)](_0x4805fd);break;}}[_0x964c6d(0x2eb)](_0x5093bf){const _0xff54ae=_0x964c6d,{unitIDs:_0xcd7665,memberID:_0x1b92d7,isForwarded:_0x4afb87}=_0x5093bf;_0xcd7665[_0xff54ae(0x2ad)](_0x51f980=>{const _0x2706ab=_0xff54ae;if(!_0x4afb87&&this[_0x2706ab(0x3a4)]['has'](_0x51f980)&&this[_0x2706ab(0x219)](_0x51f980)['next'](_0x1fb374['UnitStatus'][_0x2706ab(0x23a)]),!this[_0x2706ab(0x3a4)][_0x2706ab(0x218)](_0x51f980)||!this['_unitOnClients'][_0x2706ab(0x17d)](_0x51f980)[_0x2706ab(0x218)](_0x1b92d7)){const _0x1f26af=this[_0x2706ab(0x3a4)][_0x2706ab(0x17d)](_0x51f980)||new Set();_0x1f26af[_0x2706ab(0x16b)](_0x1b92d7),this[_0x2706ab(0x3a4)][_0x2706ab(0x26d)](_0x51f980,_0x1f26af),this[_0x2706ab(0x210)](_0x1b92d7);}}),_0x4afb87||this['_send']({'type':0x0,'memberID':this[_0xff54ae(0x190)],'unitIDs':[...this[_0xff54ae(0x3a2)]],'isForwarded':!0x0});}[_0x964c6d(0x210)](_0x1e843f){const _0x18d8f9=_0x964c6d;this[_0x18d8f9(0x1ff)](_0x1e843f);const _0x54b3bb=window['setTimeout'](()=>{const _0x5ba734=_0x18d8f9;this[_0x5ba734(0x3a4)][_0x5ba734(0x2ad)](_0x27fce7=>{const _0x206168=_0x5ba734;_0x27fce7[_0x206168(0x31e)](_0x1e843f);});},_0x187591*0x2);this[_0x18d8f9(0x3f0)][_0x18d8f9(0x26d)](_0x1e843f,_0x54b3bb);}[_0x964c6d(0x1ff)](_0x42c82e){const _0x2c3540=_0x964c6d;if(this[_0x2c3540(0x3f0)][_0x2c3540(0x218)](_0x42c82e)){const _0x28a5e8=this[_0x2c3540(0x3f0)][_0x2c3540(0x17d)](_0x42c82e);_0x28a5e8&&window[_0x2c3540(0x36e)](_0x28a5e8),this[_0x2c3540(0x3f0)]['set'](_0x42c82e,null);}}[_0x964c6d(0x26b)](_0x35f7c9){const _0xe85a4f=_0x964c6d,{memberID:_0x4090fd,unitIDs:_0x37d19f}=_0x35f7c9;_0x37d19f[_0xe85a4f(0x2ad)](_0x2f60a9=>{const _0x45bef7=_0xe85a4f;var _0x34b122;const _0x445a91=this[_0x45bef7(0x3a4)][_0x45bef7(0x17d)](_0x2f60a9);_0x445a91&&(_0x445a91['delete'](_0x4090fd),(_0x34b122=this[_0x45bef7(0x219)](_0x2f60a9))==null||_0x34b122[_0x45bef7(0x3ae)](_0x445a91[_0x45bef7(0x3eb)]===0x0?_0x1fb374[_0x45bef7(0x2bb)][_0x45bef7(0x24b)]:_0x1fb374[_0x45bef7(0x2bb)][_0x45bef7(0x23a)]));}),this[_0xe85a4f(0x1ff)](_0x4090fd);}[_0x964c6d(0x3ee)](_0x403f03){const _0x1b9b6e=_0x964c6d;this['_scheduleClearOtherTimer'](_0x403f03[_0x1b9b6e(0x3cf)]);}[_0x964c6d(0x267)](_0xec686a){const _0x997743=_0x964c6d;localStorage[_0x997743(0x33b)](_0x5af4ae,JSON[_0x997743(0x2ca)](_0xec686a));}[_0x964c6d(0x1f1)](){const _0x17a904=_0x964c6d;this['_heartbeatTimer']=window[_0x17a904(0x393)](()=>{const _0x3769a1=_0x17a904;this[_0x3769a1(0x267)]({'type':0x2,'memberID':this[_0x3769a1(0x190)]});},_0x187591);}['_ensureSubject'](_0x40c1b9){const _0x4b332e=_0x964c6d;return this[_0x4b332e(0x16a)][_0x4b332e(0x218)](_0x40c1b9)||this[_0x4b332e(0x16a)][_0x4b332e(0x26d)](_0x40c1b9,new _0xa893e5[(_0x4b332e(0x1e7))](_0x1fb374[_0x4b332e(0x2bb)][_0x4b332e(0x24b)])),this[_0x4b332e(0x16a)][_0x4b332e(0x17d)](_0x40c1b9);}}var _0x48ac89=(_0x15656c=>(_0x15656c[_0x15656c[_0x964c6d(0x23c)]=0x0]=_0x964c6d(0x23c),_0x15656c[_0x15656c['OK']=0x1]='OK',_0x15656c[_0x15656c['INTERNAL_ERROR']=0x2]=_0x964c6d(0x228),_0x15656c[_0x15656c[_0x964c6d(0x34e)]=0x3]=_0x964c6d(0x34e),_0x15656c[_0x15656c[_0x964c6d(0x1b2)]=0x4]=_0x964c6d(0x1b2),_0x15656c[_0x15656c[_0x964c6d(0x238)]=0x5]=_0x964c6d(0x238),_0x15656c[_0x15656c[_0x964c6d(0x276)]=0x6]=_0x964c6d(0x276),_0x15656c[_0x15656c['INVALID_ARGUMENT']=0x7]=_0x964c6d(0x33a),_0x15656c[_0x15656c[_0x964c6d(0x30b)]=0x8]=_0x964c6d(0x30b),_0x15656c[_0x15656c[_0x964c6d(0x369)]=0x9]=_0x964c6d(0x369),_0x15656c[_0x15656c['LOGIN_FAILED']=0xa]=_0x964c6d(0x19a),_0x15656c[_0x15656c['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x964c6d(0x1f4),_0x15656c[_0x15656c[_0x964c6d(0x1b8)]=0x1771]=_0x964c6d(0x1b8),_0x15656c[_0x15656c['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x964c6d(0x3a8),_0x15656c[_0x15656c[_0x964c6d(0x399)]=0x1773]=_0x964c6d(0x399),_0x15656c[_0x15656c[_0x964c6d(0x304)]=0x1b59]=_0x964c6d(0x304),_0x15656c[_0x15656c[_0x964c6d(0x2f4)]=0x1b5a]=_0x964c6d(0x2f4),_0x15656c[_0x15656c[_0x964c6d(0x36c)]=0x1b5b]=_0x964c6d(0x36c),_0x15656c[_0x15656c[_0x964c6d(0x2a4)]=0x1b5c]=_0x964c6d(0x2a4),_0x15656c[_0x15656c['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x15656c[_0x15656c['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x964c6d(0x3c6),_0x15656c[_0x15656c['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x964c6d(0x285),_0x15656c[_0x15656c[_0x964c6d(0x1ae)]=0x232a]=_0x964c6d(0x1ae),_0x15656c[_0x15656c[_0x964c6d(0x32b)]=0x232b]=_0x964c6d(0x32b),_0x15656c[_0x15656c[_0x964c6d(0x215)]=0x232c]=_0x964c6d(0x215),_0x15656c[_0x15656c[_0x964c6d(0x18d)]=0x232d]=_0x964c6d(0x18d),_0x15656c[_0x15656c[_0x964c6d(0x1cc)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x15656c[_0x15656c['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x15656c[_0x15656c['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x15656c[_0x15656c[_0x964c6d(0x26c)]=0x2714]=_0x964c6d(0x26c),_0x15656c[_0x15656c[_0x964c6d(0x25d)]=0x271a]=_0x964c6d(0x25d),_0x15656c[_0x15656c[_0x964c6d(0x1f6)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x15656c[_0x15656c[_0x964c6d(0x2a9)]=0x271c]=_0x964c6d(0x2a9),_0x15656c[_0x15656c['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x964c6d(0x349),_0x15656c[_0x15656c[_0x964c6d(0x250)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x15656c[_0x15656c['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x15656c[_0x15656c[_0x964c6d(0x3b3)]=0x2af9]=_0x964c6d(0x3b3),_0x15656c[_0x15656c[_0x964c6d(0x196)]=0x2ee1]=_0x964c6d(0x196),_0x15656c[_0x15656c['INVALID_INVITE_CODE']=0x2ee2]=_0x964c6d(0x1e5),_0x15656c[_0x15656c[_0x964c6d(0x3a5)]=0x2ee3]=_0x964c6d(0x3a5),_0x15656c[_0x15656c[_0x964c6d(0x1d4)]=0x2ee4]=_0x964c6d(0x1d4),_0x15656c[_0x15656c[_0x964c6d(0x336)]=0x2ee5]=_0x964c6d(0x336),_0x15656c[_0x15656c['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x964c6d(0x261),_0x15656c[_0x15656c[_0x964c6d(0x1df)]=0x32ca]=_0x964c6d(0x1df),_0x15656c[_0x15656c[_0x964c6d(0x2c4)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x15656c[_0x15656c['UNRECOGNIZED']=-0x1]=_0x964c6d(0x27a),_0x15656c))(_0x48ac89||{}),_0x73cde7=Object[_0x964c6d(0x236)],_0x5b7a91=(_0x46c71e,_0x32f399,_0x20ea84,_0xebbb75)=>{const _0x5c10b2=_0x964c6d;for(var _0x1bd230=_0xebbb75>0x1?void 0x0:_0xebbb75?_0x73cde7(_0x32f399,_0x20ea84):_0x32f399,_0x30cbb3=_0x46c71e[_0x5c10b2(0x3b0)]-0x1,_0x117c5a;_0x30cbb3>=0x0;_0x30cbb3--)(_0x117c5a=_0x46c71e[_0x30cbb3])&&(_0x1bd230=_0x117c5a(_0x1bd230)||_0x1bd230);return _0x1bd230;},_0x5968b3=(_0x315276,_0x531c87)=>(_0x27ff51,_0x51f9b9)=>_0x531c87(_0x27ff51,_0x51f9b9,_0x315276);_0x3fac21[_0x964c6d(0x32d)]=class extends _0x17a0d6[_0x964c6d(0x299)]{constructor(_0x229a5c,_0x1c1617,_0x2a285d){const _0x12d026=_0x964c6d;super(),this[_0x12d026(0x18a)]=_0x229a5c,this[_0x12d026(0x384)]=_0x1c1617,this[_0x12d026(0x322)]=_0x2a285d;}async[_0x964c6d(0x2a3)](_0x408ea2,_0x5f3f81,_0x1c9a85,..._0x37395d){const _0x48c4e8=_0x964c6d;var _0x3baa0f,_0x48a7b9,_0x5225f3,_0x1edc64;const _0x250fc1=this['_instanceService'][_0x48c4e8(0x172)]();if(!_0x250fc1)throw new Error(_0x48c4e8(0x38e));const _0x268c98=((_0x3baa0f=this[_0x48c4e8(0x322)]['getConfig'](_0x1fb374[_0x48c4e8(0x2fe)]))!=null?_0x3baa0f:_0x1fb374[_0x48c4e8(0x234)])+'/'+_0x408ea2+_0x48c4e8(0x3bc)+_0x5f3f81,_0x237fab=new URL(window[_0x48c4e8(0x35d)]['href']),_0x12c44b={'scriptId':_0x408ea2,'runId':(_0x48a7b9=_0x237fab['searchParams'][_0x48c4e8(0x17d)](_0x48c4e8(0x3cc)))!=null?_0x48a7b9:'','function':_0x5f3f81,'unitId':_0x250fc1['getUnitId'](),'argsOfFunction':JSON[_0x48c4e8(0x2ca)](_0x37395d),'invokeId':(_0x5225f3=_0x1c9a85[_0x48c4e8(0x2b2)])!=null?_0x5225f3:'','executionId':(_0x1edc64=_0x1c9a85[_0x48c4e8(0x19f)])!=null?_0x1edc64:''};try{const _0x259bb7=await this[_0x48c4e8(0x384)][_0x48c4e8(0x1cb)](_0x268c98,{'body':_0x12c44b});return _0x259bb7[_0x48c4e8(0x310)][_0x48c4e8(0x232)]&&_0x259bb7[_0x48c4e8(0x310)]['error']['code']!==_0x48ac89['OK']?_0x48c4e8(0x22f):_0x259bb7['body'][_0x48c4e8(0x245)];}catch{return'Failed';}}},_0x3fac21[_0x964c6d(0x32d)]=_0x5b7a91([_0x5968b3(0x0,_0x17a0d6[_0x964c6d(0x22d)]),_0x5968b3(0x1,_0x17a0d6[_0x964c6d(0x1ad)](_0x5600f6[_0x964c6d(0x2c0)])),_0x5968b3(0x2,_0x17a0d6['IConfigService'])],_0x3fac21['RemoteUniscriptService']),_0x3fac21['CollaborationStatusDisplay']=_0x531a04,_0x3fac21[_0x964c6d(0x346)]=_0x58f6e4,_0x3fac21[_0x964c6d(0x208)]=_0x58253f,_0x3fac21[_0x964c6d(0x221)]=_0x3594d5,_0x3fac21[_0x964c6d(0x1f3)]=_0x1daf05,Object[_0x964c6d(0x376)](_0x3fac21,Symbol[_0x964c6d(0x24e)],{'value':_0x964c6d(0x3a3)});}));function _0x12c4(_0x4fef79,_0x3801bd){const _0x2d577d=_0x2d57();return _0x12c4=function(_0x12c409,_0x75f895){_0x12c409=_0x12c409-0x161;let _0x579d06=_0x2d577d[_0x12c409];return _0x579d06;},_0x12c4(_0x4fef79,_0x3801bd);}function _0x2d57(){const _0x4cea9c=['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','mergeOverrideWithDependencies','USERS_LEAVE','collaboration.single-unit.warning','extend','getParam','setStateCache','_sheetSkeletonManagerService','deepClone','_handleJoinEvent','_univerInstanceService','name','currentTheme$','save','touchDependencies','Plugin','filter','selections','APPLY_NON_SEQUENTIAL_REVISION','_collaborationController','getUndoRedoMutationParamsCache','@univerjs/core','CollaborationUIEventId','defs','getUnitId','getTypeOfUnitDisposed$','React','off-line-icon','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','undoState','@univerjs/network','SetWorksheetActivateCommand','_toggleOffline','imageSourceType','APPLY_REJECT','InsertRangeMoveDownCommandId','NodePositionConvertToCursor','removeParam','createIdentifier','OnLineIcon','ThemeService','TOO_MANY_REQUESTS','status$','exhaustSavingTask','getVpScrollXYInfoByPosToVp','onLocalMutation','body','IRenderManagerService','setParam','_docTransformSelectionsService','unitId','getSheetId','_getAnchorBounding','_refRangeService','getCollabEntity$','transformMutationsWithChangeset','Tooltip','connectInjector','ISocketService','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','delete','ColorKit','ILocalStorageService','@univerjs-pro/collaboration-client','_configService','setShapeProps','split','merge','backgroundColor','replace','CollaborationDataLoaderController','TEXT_RANGE_LAYER_INDEX','_drawRectRange','LICENSE_IMPORT_SIZE_EXCEEDED','getConfig','RemoteUniscriptService','registerRenderModule','source','getMemberID','apply','@univerjs/drawing','transformSelections','UniverCore','HEADER_MENU','INVITE_CODE_ALREADY_BOUND','UniverEngineRender','_cursorInfo$','_renderManagerService','INVALID_ARGUMENT','setItem','_refreshCollabCursors','INotificationService','_session','ONLINE','UniverDocs','_removeCollabCursors','unshift','7mnaDic','_name','takeUntil','IURLService','generateRandomId','addObject','YUUMI_ALL_TABLES_IS_INVALID','IMessageService','handleDeleteRangeMoveUp','getUniverSheetInstance','jsxs','PERMISSION_DENIED','_range','transformByState','ICommandService','_startDocCollabCursor','send','_transformService','_revisionService','clipPath','1em','translate(.97)','div','debounce','_textBubble','all','location','_updateSubUnitFromURLParams','CONFLICT','children','2379288DmQRrX','urlChange$','debounceTime','_beforeCloseService','init','sessionStatus$','transformStateCache','TEXT','COMPLETION_FINISHED','fill','_setupBeforeClosingHandler','APPLY_REVISION_CONFILICT','search','clearTimeout','type','MemberService','Unknown\x20user','hide','_getMergeRange','createElement','OFFLINE','defineProperty','IDocClipboardService','random','react','clearInterval','Tools','white','newValue','COLORS','CollaborationStatus','_assignedColors','setUndoRedoMutationParamsCache','loadOfflineData','LocaleService','_httpService','ticket','handleInsertRangeMoveDown','beginPath','className','CLOSE_ROOM','_updateCollabCursors','BrowserCollaborationSocketService','getLocalCacheKey','_roomMembers$','[RemoteUniscriptService]:\x20no\x20focused\x20unit','DesktopCollaborationStatusDisplayController','@univerjs-pro/collaboration','getMember','session.will-retry','setInterval','collaboration-client-ui.config','history','setActiveRange','RevisionService','isTransformMutationFailure','ENSURE_SNAPSHOT_EXECUTION','textRanges','docStateChange$','collab-rect-range-','VIEW_MAIN','_docStateChangeManagerService','handleDeleteRangeMoveLeft','DOC_RANGE_TYPE','_cursors','_selfUnitIDs','Module','_unitOnClients','INVITE_CODE_REQUIRED','complete','UPDATE_CURSOR','SNAPSHOT_HAS_BEEN_REMOVED','WebSocketService','univer-flex\x20univer-mr-2\x20univer-text-xl','_onCursorUpdate','width','3119544bKxzWn','next','DeleteRangeMoveLeftCommandId','length','editingUnit','getOffsetConfig','PY_RUNTIME_SCRIPT_ERROR','_syncEditingCollabCursorService','RxDisposable','_drawAnchor','clsx','collabStatus.syncing','enableLocalCache','closePath','searchParams','/run/','_urlService','endColumn','propertyIsEnumerable','DependentOn','UniverProCollaboration','DEFAULT_WS_SESSION_TICKET_URL','show','useCallback','UniverCollaborationClientUIPlugin','CONNECTOR_DATA_TOO_LARGE','_entityInit$','_hideTimer','currentColor','Subject','startRow','runId','_anchorDot','_registerRenderDependencies','memberID','Injector','svg','_scene','mapTo','CollaborationController','_docSkeletonManagerService','SYNCED','parse','UniverDocsUi','getMergeData','InsertRowCommandId','saveTaskMap','PENDING','getAncestorScale','SheetsSelectionsService','_themeService','pipe','RemoveRowCommandId','sheetID','focused$','RefRangeService','getRenderById','RECT','isEditing','displayName','_config','_docTransformIMECacheService','size','subscribe','getActiveRange','_handleHeartbeatEvent','isTransformMutationsWithChangesetSuccess','_clearOtherTimers','_logService','findNodePositionByCharIndex','Shape','lineTo','CollaborationUIEventService','@univerjs/engine-render','green.600','unload','_getSheetObject','unit','serializeRangeWithSheet','getCurrentUnitForType','replaceState','text','data','_unitStatus','add','startsWith','_transformHistoryAndStateStack','UniverEngineFormula','NodePositionConvertToRectRange','colorChannel1','_localCacheService','getFocusedUnit','transformIMECache','subUnitId','requireSession','IImageIoService','688985SVZNXZ','min','bottom','idSuffix','handleMoveRange','on-line-icon_clip0_910_349','get','DocSelectionManagerService','handleIRemoveCol','_createSocketURL','ITransformService','pluginName','ILocalCacheService','distinctUntilChanged','wsSessionTicketUrl','DocStateChangeManagerService','values','[CollaborationDataLoaderController]','_collabCursorController','_instanceService','m1Prime','_labelPosition','LICENSE_DISTRO_REJECTED','EffectRefRangId','actions','_id','icon','toString','operators','string','_saveCache','INVITE_CODE_HAS_BEEN_UES','onStarting','@univerjs/sheets','_anchor','LOGIN_FAILED','_scheduleSaving','concat','syncEditingCollabCursor','endRow','executionId','_getSessionTicket','origin','isActive','_updateLocalCursor','roomMembers$','useDependency','Workbook','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','jsx','_initEntityListener','font','TRANSFORM_CHANGE_OBSERVABLE_TYPE','m2Prime','Inject','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_color','getColor','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','NOT_FOUND','prototype','_render','attrs','measureText','Optional','SNAPSHOT_INVALID_SNAPSHOT','0\x200\x2017\x2016','_transformPreviousActiveRange','from','onPointerMove$','@univerjs/ui','_messageService','_commandService','defIds','SOCKET_FAILED','UniverNetwork','_updateURLWithCurrentState','_collaborationUIEventService','@univerjs/docs-ui','@univerjs/sheets-ui','uni.network.url-service','then','_initStatusListener','_backgroundColor','post','YUUMI_UNABLE_LOAD_URL','Warning','combineLatest','CollaborationEvent','...','_localStorageService','collabStatus.synced','DocIMEInputManagerService','USER_NOT_INVITED_CODE','27ivoUAy','Error','dispose$','LOCAL_CACHE_INTERVAL_KEY','DeleteRangeMoveUpCommandId','object','handleInsertCol','_lastPointer','startColumn','onPointerLeave$','MOBILE_HAS_BEEN_BOUND','handleInsertRow','react/jsx-runtime','subscribeEvent','event$','_notificationService','INVALID_INVITE_CODE','_registerDependencies','BehaviorSubject','moveTo','_cursor','ACTIVE_UNIT_EVENT_CHANNEL','none','saveOfflineData','engine','3mfxEaM','_imageIoService','height','_scheduleHeartbeat','setAlpha','WebURLService','CHANGESET_REVISION_CONFILICT','InsertRangeMoveRightCommandId','YUUMI_ASYNCIO_CANCELLED','rxjs','RemoveColCommandId','row','_collabCursorState$','collabStatus.conflict','round','onRendered','cursorInfo','_removeClearOtherTimer','DocSkeletonManagerService','drawWith','roomMembers','onCommandExecuted','getValue','getSkeleton','UNIVER_DOC','selection','SheetCollabCursorShape','http://www.w3.org/2000/svg','_handleEvent','_draw','fromEventSubject','rxjs/operators','fillText','whenReady','_scheduleClearOtherTimer','_transformUndoRedoStack','getCurrentSelections','DocCollaborationEntity','session.collaboration-timeout','LICENSE_EXPORT_SIZE_EXCEEDED','getSheetBySheetId','UniverInstanceType','has','_ensureSubject','indexOf','sessionTicket','onMouseMove','_doCreateSocket','Rect','SUBMIT_CHANGESET_TIMEOUT','getRelativeToViewportCoord','WebBrowserSingleActiveUnitService','_injector','0\x200\x2016\x2016','_context','IUIPartsService','_getScale','getColorFromTheme','INTERNAL_ERROR','collabStatus.notCollab','forwardRef','eventID','registerBeforeClose','IUniverInstanceService','addObjects','Failed','_disabled','_docSyncEditingCollabCursorService','error','mask','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','SessionStatus','getOwnPropertyDescriptor','path','UNAUTHENTICATED','unsubscribe','OTHER_CLIENTS_EDITING','IConfigService','UNDEFINED','UniverIcon','_onCursorDelete','redoState','map','unitID','max','getRangePointData','ranges','result','color','@univerjs/engine-formula','_setupSubUnitSync','sheetId','hasOwnProperty','NO_OTHER_CLIENTS_EDITING','handleIRemoveRow','runRefRangeMutations','toStringTag','use','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','mutations','_memberService','switchMap','UNIVER_SHEET','UniverDrawing','collabCursorState$','@univerjs/docs','key','arc','_cursorShapes','univer-flex\x20univer-items-center','ILogService','YUUMI_NO_CUBOID_FOR_QUESTION','_collabSessionService','CollaborationSessionService','getActiveSheet','WECHAT_HAS_BEEN_BOUND','SOCKET_FAILED_RETRY','_colorIndex','getDocRanges','addHandlerCallback','useRef','_send','collaboration.closeRoom','CommandType','doc.mutation.rich-text-editing','_handleLeaveEvent','YUUMI_SUBSCRIPTION_NOT_FOUND','set','black','_saveTaskMap','function','xlink:href','_init','getOwnPropertySymbols','_initCommandExecutedListener','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','ALREADY_EXISTS','transformRemoteChangeset','FETCH_MISS','_colorAssignService','UNRECOGNIZED','getStateCache','13273140QsTekc','UniverUi','3571542XHgpBC','_handleHover','assignAColorForMemberID','fillRule','addClipboardHook','847944Mxbsfp','_drawTextRange','LICENSE_MAX_UNITS_EXCEEDED','@univerjs/design','_getSaveTimeout','isArray','exports','univerjs-icon\x20univerjs-icon-','storage','push','transformMutation','executeCommand','cursorInfo$','params','UniverCollaborationClientPlugin','BuiltInUIPart','fromEvent','_eventUnsubscribe','onPointerEnter$','with','throttleTime','M0\x200H16V16H0z','Disposable','some','_docSkeleton','url(#$1','restore','blue.400','_initResize','_toggleOnline','permission.content','purple.300','runOnServer','APPLY_PERMISSION_DENIED','AWAITING_WITH_PENDING','call','handleInsertRangeMoveRight','NOT_COLLAB','YUUMI_TABLE_NOT_FOUND_IN_UNIT','registerComponent','toRgbString','entries','forEach','tag','url(#off-line-icon_clip0_910_343)','href','asObservable','invokeId','_status$','501536XNiAWt','amd','_docClipboardService','_online','RegularPolygon','_localeService','disposeWithMe','UnitStatus','pushState','dispose','popstate','InsertColCommandId','HTTPService','on-line-icon','_hovered','_docTransformStateCacheService','EMAIL_HAS_BEEN_BOUND','createSocket','top','jiqing.500','contains','saveImage','stringify','OffLineIcon','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','currentSkeleton$','_shapes','_heartbeatTimer','_initEvent','MessageType','_dataLoaderService','SetSelectionsOperation','find','collabStatus.fetchMiss','subunit','getUnhiddenWorksheets','_onRefRangeChange','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','activeSheet$','_document','_cachedData','_entities','useObservable','symbol','_uiPartsService','getCoordByCell'];_0x2d57=function(){return _0x4cea9c;};return _0x2d57();}