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

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 _0x1517(){const _0x26cc9d=['mergeOverrideWithDependencies','startColumn','getValue','_univerInstanceService','getRelativeToViewportCoord','UniverEngineRender','DocCollaborationEntity','unsubscribe','UniverSheetsUi','ENSURE_SNAPSHOT_EXECUTION','_cursorInfo$','LICENSE_MAX_UNITS_EXCEEDED','_saveTaskMap','collaboration-client-ui.config','onCommandExecuted','1024621JhEGLe','_registerRenderDependencies','jsx','@univerjs/rpc','_entities','@univerjs/drawing','pipe','assignAColorForMemberID','RefRangeService','_scene','UniverDocs','RichTextEditingMutation','_cursorShapes','subunit','_getScale','UNIVER_DOC','CollaborationUIEventService','getUnhiddenWorksheets','TEXT_RANGE_LAYER_INDEX','then','cursorInfo$','body','Optional','CollaborationController','PY_RUNTIME_SCRIPT_ERROR','COLORS','_imageIoService','enableLocalCache','switchMap','transformSelections','getRangePointData','handleIRemoveCol','collab-rect-range-','activeSheet$','INVITE_CODE_HAS_BEEN_UES','handleDeleteRangeMoveUp','_commandService','getCoordByCell','onPointerLeave$','entityInit$','ThemeService','blue.400','USERS_LEAVE','_id','runOnServer','RevisionService','collabStatus.synced','_selfUnitIDs','removeParam','toDisposable','EffectRefRangId','isTransformMutationFailure','UniverProCollaboration','_updateURLWithCurrentState','history','indexOf','column','takeUntil','_uiPartsService','_localeService','DocIMEInputManagerService','transformMutationsWithChangeset','_onCursorUpdate','UniverDocsUi','PENDING','UniverEngineFormula','Error','OFFLINE','height','handleInsertRow','UniverProCollaborationClient','text','session.connection-failed','_beforeCloseService','MessageType','Rectangle','_backgroundColor','send','memberID','event$','_doCreateSocket','collab-text-range-','actions','getOwnPropertySymbols','DisposableCollection','yellow.400','_configService','_saveCache','_assignedColors','LOGIN_FAILED','DocSelectionManagerService','roomMembers','ACTIVE_UNIT_EVENT_CHANNEL','collabStatus.notCollab','SheetsSelectionsService','UniverDesign','isTransformMutationsWithChangesetSuccess','urlChange$','session.will-retry','_toggleOnline','APPLY_REJECT','_colorIndex','none','_docSyncEditingCollabCursorService','_status$','redoState','IURLService','_collaborationUIEventService','HTTPService','SetWorksheetActivateCommand','red.300','status$','useDependency','_disabled','icon','ILogService','concat','saveTaskMap','RxDisposable','UniverRpc','storage','parse','DataLoaderService','getActiveSheet','EMAIL_HAS_BEEN_BOUND','forEach','1839lQyXDc','_handleEvent','ITransformService','_dataLoaderService','split','push','@univerjs/engine-formula','WebSocketService','clipPath','override','trim','BuiltInUIPart','prototype','transformStateCache','selections','DeleteRangeMoveUpCommandId','univer-flex\x20univer-items-center','SHEET_VIEWPORT_KEY','tag','SheetSkeletonManagerService','debug','saveImage','disposeWithMe','ONLINE','off-line-icon_clip0_910_343','21ikaIWs','Workbook','UnitStatus','textRanges','from','DEFAULT_WS_SESSION_TICKET_URL','syncEditingCollabCursor','registerDependencies','INVITE_CODE_REQUIRED','loadOfflineData','Tooltip','_refreshCollabCursors','use','entries','defs','YUUMI_RATE_OVER_LIMIT','evenodd','collabCursorState$','init','_updateCollabCursors','_sheetSkeletonManagerService','Plugin','fillRule','unshift','Rect','_collabCursorController','_httpService','on-line-icon_clip0_910_349','moveTo','collabStatus.offline','restore','forwardRef','CollaborationStatus','UniverCollaborationClientPlugin','NOT_COLLAB','getOwnPropertyDescriptor','_syncEditingCollabCursorService','executeCommand','_unitOnClients','mask','UniverSheets','getFocusedUnit','_injector','setShapeProps','dispose','_cursors','_eventUnsubscribe','has','getOffsetConfig','_onRefRangeChange','_init','color','Disposable','permission.title','react','_hover','pluginName','TEXT','UniverProCollaborationClientUi','debounceTime','0\x200\x2016\x2016','Injector','_revisionService','ICommandService','collab-text-anchor-','url(#on-line-icon_clip0_910_349)','_drawTextRange','UniverUi','symbol','UniverIcon','IUniverInstanceService','params','_collaborationController','getAncestorScale','1625910kGpTCi','Unknown\x20user','IImageIoService','YUUMI_UNABLE_LOAD_URL','pushState','createIdentifier','getViewport','xlink:href','subscribe','_setupSubUnitSync','function','APPLY_REVISION_CONFILICT','getItem','getStateCache','focused$','on-line-icon','_themeService','useCallback','WebURLService','lineTo','resize','defIds','max','undoState','_createSocketURL','RegularPolygon','addObjects','SheetCollabCursorShape','getMember','ISocketService','collabStatus.conflict','@univerjs/docs-ui','_range','PERMISSION_DENIED','location','UniverNetwork','handleInsertRangeMoveDown','@univerjs-pro/collaboration','next','BrowserCollaborationSocketService','_colorAssignService','_hideTimer','range','@univerjs/design','search','font','YUUMI_NO_CUBOID_FOR_QUESTION','cursorInfo','isEditing','fill','name','LICENSE_DISTRO_REJECTED','getCurrentSelections','rxjs','_cursor','Subject','map','requireSession','_scheduleSaving','LICENSE_EXPORT_SIZE_EXCEEDED','url(#$1','#FFF','hasOwnProperty','_textBubble','CollaborationSessionService','getCellPositionByOffset','_refRangeService','serializeRangeWithSheet','IRemoteInstanceService','sheetId','_handleJoinEvent','setTimeout','endRow','clearInterval','AWAITING','skeleton','length','contains','isActive','runRefRangeMutations','_collabSessionService','CommandType','_context','operators','APPLY_PERMISSION_DENIED','_initEntityListener','SOCKET_FAILED_RETRY','error','Warning','_initStatusListener','getActiveRange','USER_NOT_INVITED_CODE','_docTransformIMECacheService','combineLatest','set','INVITE_CODE_ALREADY_BOUND','delete','1em','translate(.97)','@univerjs/network','arc','_logService','onPointerEnter$','sessionStatus$','data','_updateSubUnitFromURLParams','attrs','1581984VSImAL','useObservable','CollaborationStatusDisplay','string','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','addObject','eventID','_notificationService','react/jsx-runtime','session.collaboration-timeout','_onCursorDelete','_drawAnchor','NO_OTHER_CLIENTS_EDITING','_labelPosition','onMouseMove','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','getCurrentUnitForType','setParam','APPLY_NON_SEQUENTIAL_REVISION','http://www.w3.org/2000/svg','onTransformChange$','extend','APPLY_DUPLICATED','idSuffix','random','YUUMI_TABLE_NOT_FOUND_IN_UNIT','onRendered','currentSkeleton$','addHandlerCallback','INotificationService','@univerjs/sheets','width','_color','@univerjs-pro/collaboration-client','Tools','popstate','displayName','SetDocZoomRatioOperation','IDocClipboardService','registerRenderModule','SetSelectionsOperation','UNAUTHENTICATED','mapTo','apply','_getMergeRange','findNodePositionByCharIndex','_toggleOffline','show','black','selection','closePath','MUTATION','_urlService','M0\x200H16V16H0z','140dBQGWQ','top','CollaborationEvent','size','toRgbString','fillText','getVpScrollXYInfoByPosToVp','DeleteRangeMoveLeftCommandId','_localCacheService','post','YUUMI_ASYNCIO_CANCELLED','transformIMECache','_getSessionTicket','INVALID_INVITE_CODE','Inject','YUUMI_ALL_TABLES_IS_INVALID','_initEvent','BehaviorSubject','_shapes','RemoteUniscriptService','_anchorDot','ILocalStorageService','getSkeleton','_docStateChangeManagerService','uni.network.url-service','currentColor','connectInjector','url(#off-line-icon_clip0_910_343)','toString','getColorFromTheme','getSheetId','_roomMembers$','startsWith','_docTransformStateCacheService','Failed','InsertRowCommandId','off-line-icon','_drawRectRange','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','m1Prime','unitId','handleDeleteRangeMoveLeft','href','YUUMI_SUBSCRIPTION_NOT_FOUND','_heartbeatTimer','_transformService','_name','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','className','_renderManagerService','NOT_FOUND','INVALID_ARGUMENT','_session','OTHER_CLIENT_EDITING','_unitStatus','_removeClearOtherTimer','clearTimeout','jiqing.500','getConfig','_hovered','getDocRanges','Vector2','_setupBeforeClosingHandler','_scheduleClearOtherTimer','toStringTag','0\x200\x2017\x2016','assign','@univerjs/docs','SNAPSHOT_INVALID_SNAPSHOT','1385271XeDPBh','exhaustSavingTask','unit','_scheduleHeartbeat','searchParams','mutations','generateRandomId','exports','SNAPSHOT_HAS_BEEN_REMOVED','filter','UniverCollaborationClientUIPlugin','replace','_getSheetObject','TRANSFORM_CHANGE_OBSERVABLE_TYPE','fromEventSubject','UNIVER_SHEET','_startSheetCollabCursor','some','application/json','setActiveRange','handleInsertCol','_send','_anchor','getUnitId','_instanceService','OTHER_CLIENTS_EDITING','distinctUntilChanged','DesktopCollaborationStatusDisplayController','_messageService','UniverCore','fromEvent','IUIPartsService','Shape','save','backgroundColor','WebBrowserSingleActiveUnitService','invokeId','[RemoteUniscriptService]:\x20no\x20focused\x20unit','getMemberID','INTERNAL_ERROR','touchDependencies','@univerjs/core','subUnitId','_updateLocalCursor','svg','_document','getParam','UPDATE_CURSOR','YUUMI_AI_RUN_FAILED','hovered','reconnect','UniverInstanceType','m2Prime','SessionStatus','DocStateChangeManagerService','children','bottom','getUndoRedoMutationParamsCache','HEADER_MENU','rxjs/operators','IConfigService','ranges','measureText','ticket','_online','substring','CONFLICT','_docClipboardService','collabStatus.syncing','23515820bmztJC','updateOfflineData','unload','setUndoRedoMutationParamsCache','_docSkeletonManagerService','getColor','get','InsertRangeMoveDownCommandId','transform','ISnapshotServerService','whenReady','replaceState','path','propertyIsEnumerable','_config','_getAnchorBounding','...','onLocalMutation','_handleHeartbeatEvent','transformMutation','_collabCursorState$','type','runId','CONNECTOR_DATA_TOO_LARGE','add','getCollabCursors$','_docSkeleton','_memberService','setConfig','_transformHistoryAndStateStack','_handleHover','WECHAT_HAS_BEEN_BOUND','fillStyle','clsx','div','_lastPointer','transformRemoteChangeset','116124ACmZml','ColorKit','ILocalCacheService','getTypeOfUnitDisposed$','object','shareReplay','getRenderById','createElement','includes','DocSkeletonManagerService','RemoveColCommandId','_cachedData','drawWith','doc.mutation.rich-text-editing','isArray','_initCommandExecutedListener','CollaborationDataLoaderController','deepClone','COMPLETION_FINISHED','registerRefRange','row','debounce','CLOSE_ROOM','getUniverSheetInstance','call','disposeUnit','6876RyZEmU','amd','MemberService','beginPath','@univerjs/engine-render','with','_entityInit$','_initDependencies','YUUMI_URL_COL_OUT_OF_RANGE','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','RECT','_getSaveTimeout','getLocalCacheKey','_draw','InsertRangeMoveRightCommandId','getSheetBySheetId','newValue','LICENSE_IMPORT_SIZE_EXCEEDED','IMessageService','React','getTypeOfUnitAdded$','DOC_RANGE_TYPE','[CollaborationDataLoaderController]','subscribeEvent','values','getSheetObject','asObservable','getUnitStatus$','ALREADY_EXISTS','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','collaboration-client.offline-data-not-saved','AWAITING_WITH_PENDING','code','permission.content','unitID','round','OffLineIcon','_docTransformSelectionsService','CollaborationUIEventId','LOCAL_CACHE_INTERVAL','dispose$','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','replaceDocRanges','MOBILE_HAS_BEEN_BOUND','merge','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','result','white','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','setAlpha','CHANGESET_REVISION_CONFILICT','_ensureSubject','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','SetTextSelectionsOperation','min','startRow','_initResize','createSocket','FromArray','TOO_MANY_REQUESTS','rgba(255,\x20255,\x20255,\x200.01)','labelPosition','complete','_clearOtherTimers','defineProperty','_removeCollabCursors','loadUnit','LocaleService'];_0x1517=function(){return _0x26cc9d;};return _0x1517();}function _0x2b52(_0x1d72eb,_0x2fab8d){const _0x1517ce=_0x1517();return _0x2b52=function(_0x2b5264,_0x2b2973){_0x2b5264=_0x2b5264-0xf9;let _0x39ce2a=_0x1517ce[_0x2b5264];return _0x39ce2a;},_0x2b52(_0x1d72eb,_0x2fab8d);}(function(_0x4c5937,_0x472904){const _0x1a2bcb=_0x2b52,_0x4cf56e=_0x4c5937();while(!![]){try{const _0x5d741a=parseInt(_0x1a2bcb(0x33c))/0x1+-parseInt(_0x1a2bcb(0x17f))/0x2+-parseInt(_0x1a2bcb(0x11c))/0x3*(parseInt(_0x1a2bcb(0x2e9))/0x4)+-parseInt(_0x1a2bcb(0x220))/0x5*(parseInt(_0x1a2bcb(0x2cf))/0x6)+parseInt(_0x1a2bcb(0x135))/0x7*(-parseInt(_0x1a2bcb(0x1ea))/0x8)+parseInt(_0x1a2bcb(0x265))/0x9+parseInt(_0x1a2bcb(0x2aa))/0xa;if(_0x5d741a===_0x472904)break;else _0x4cf56e['push'](_0x4cf56e['shift']());}catch(_0x15cab8){_0x4cf56e['push'](_0x4cf56e['shift']());}}}(_0x1517,0x80f88),function(_0x1d956c,_0x2158de){const _0x2f33be=_0x2b52;typeof exports==_0x2f33be(0x2d3)&&typeof module<'u'?_0x2158de(exports,require(_0x2f33be(0x20b)),require('@univerjs/core'),require(_0x2f33be(0x2ed)),require(_0x2f33be(0x1e2)),require(_0x2f33be(0x19e)),require(_0x2f33be(0x341)),require('rxjs'),require('@univerjs/docs'),require(_0x2f33be(0x1a4)),require(_0x2f33be(0x122)),require(_0x2f33be(0x208)),require(_0x2f33be(0x2a0)),require('@univerjs/sheets-ui'),require(_0x2f33be(0x1f2)),require('@univerjs/ui'),require(_0x2f33be(0x1aa)),require('react'),require('@univerjs/rpc')):typeof define==_0x2f33be(0x189)&&define[_0x2f33be(0x2ea)]?define([_0x2f33be(0x26c),_0x2f33be(0x20b),_0x2f33be(0x28e),_0x2f33be(0x2ed),_0x2f33be(0x1e2),_0x2f33be(0x19e),'@univerjs/drawing','rxjs',_0x2f33be(0x263),'@univerjs-pro/collaboration',_0x2f33be(0x122),_0x2f33be(0x208),_0x2f33be(0x2a0),'@univerjs/sheets-ui',_0x2f33be(0x1f2),'@univerjs/ui',_0x2f33be(0x1aa),_0x2f33be(0x16b),_0x2f33be(0x33f)],_0x2158de):(_0x1d956c=typeof globalThis<'u'?globalThis:_0x1d956c||self,_0x2158de(_0x1d956c[_0x2f33be(0x16f)]={},_0x1d956c[_0x2f33be(0x382)],_0x1d956c[_0x2f33be(0x282)],_0x1d956c[_0x2f33be(0x332)],_0x1d956c[_0x2f33be(0x1a2)],_0x1d956c[_0x2f33be(0x37b)],_0x1d956c['UniverDrawing'],_0x1d956c[_0x2f33be(0x1b4)],_0x1d956c[_0x2f33be(0x346)],_0x1d956c[_0x2f33be(0x370)],_0x1d956c[_0x2f33be(0x37d)],_0x1d956c[_0x2f33be(0x15d)],_0x1d956c[_0x2f33be(0x1b4)][_0x2f33be(0x1d2)],_0x1d956c[_0x2f33be(0x335)],_0x1d956c[_0x2f33be(0x2fc)],_0x1d956c[_0x2f33be(0x178)],_0x1d956c[_0x2f33be(0xfd)],_0x1d956c[_0x2f33be(0x2fc)],_0x1d956c[_0x2f33be(0x115)]));}(this,function(_0x2a7733,_0x353bdb,_0x4f4b1a,_0x4be59a,_0x504bfb,_0x2a96f2,_0x3df68c,_0x4c8fcf,_0x49ed44,_0x4afe31,_0x2f57c5,_0x54d6f1,_0x1feca5,_0xad51e4,_0x5d3531,_0x124131,_0x532a93,_0x471115,_0x14ce2b){'use strict';const _0x6b9591=_0x2b52;var _0x356591=Object['defineProperty'],_0x291006=(_0x42a6a4,_0x111377,_0x1f8c7e)=>_0x111377 in _0x42a6a4?_0x356591(_0x42a6a4,_0x111377,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1f8c7e}):_0x42a6a4[_0x111377]=_0x1f8c7e,_0x54ef86=(_0x4939b8,_0x12d063,_0x13e644)=>_0x291006(_0x4939b8,typeof _0x12d063!=_0x6b9591(0x179)?_0x12d063+'':_0x12d063,_0x13e644),_0x41dac4=Object[_0x6b9591(0x158)],_0xf00f2=(_0x569afb,_0x4daab1,_0x207f80,_0x2f1c54)=>{const _0x33443f=_0x6b9591;for(var _0x3367b9=_0x2f1c54>0x1?void 0x0:_0x2f1c54?_0x41dac4(_0x4daab1,_0x207f80):_0x4daab1,_0x4ad745=_0x569afb[_0x33443f(0x1cb)]-0x1,_0x3ea471;_0x4ad745>=0x0;_0x4ad745--)(_0x3ea471=_0x569afb[_0x4ad745])&&(_0x3367b9=_0x3ea471(_0x3367b9)||_0x3367b9);return _0x3367b9;},_0x55cf5e=(_0x2e7956,_0x109438)=>(_0x1b88b8,_0x13146d)=>_0x109438(_0x1b88b8,_0x13146d,_0x2e7956);let _0x2c4cde=class extends _0x4f4b1a[_0x6b9591(0x114)]{constructor(_0x3044b5,_0x2d305d){const _0x54ccee=_0x6b9591;super(),this[_0x54ccee(0x2a8)]=_0x3044b5,this[_0x54ccee(0x356)]=_0x2d305d,this['_init']();}[_0x6b9591(0x167)](){const _0x5bb9cd=_0x6b9591,_0x682d45=this;this[_0x5bb9cd(0x132)](this[_0x5bb9cd(0x2a8)]['addClipboardHook']({'onBeforePasteImage':async _0x124969=>{const _0x3eeaff=_0x5bb9cd,_0x5a2074=await _0x682d45[_0x3eeaff(0x356)][_0x3eeaff(0x131)](_0x124969);return _0x5a2074?{'source':_0x5a2074['source'],'imageSourceType':_0x5a2074['imageSourceType']}:null;}}));}};_0x2c4cde=_0xf00f2([_0x55cf5e(0x0,_0x2a96f2[_0x6b9591(0x210)]),_0x55cf5e(0x1,_0x3df68c[_0x6b9591(0x181)])],_0x2c4cde);const _0x42d944=['purple.300',_0x6b9591(0x259),'green.600',_0x6b9591(0x10c),_0x6b9591(0x365),_0x6b9591(0x391)];class _0x3e1aeb extends _0x4f4b1a[_0x6b9591(0x169)]{constructor(){const _0x433d73=_0x6b9591;super(...arguments),_0x54ef86(this,_0x433d73(0x394),new Map()),_0x54ef86(this,_0x433d73(0x103),0x0);}[_0x6b9591(0x343)](_0x942b0b){const _0x32d618=_0x6b9591;if(this['_assignedColors']['has'](_0x942b0b))return this['_assignedColors'][_0x32d618(0x2b0)](_0x942b0b);const _0x18ecea=_0x42d944[this[_0x32d618(0x103)]];return this[_0x32d618(0x103)]=(this[_0x32d618(0x103)]+0x1)%_0x42d944[_0x32d618(0x1cb)],this[_0x32d618(0x394)][_0x32d618(0x1dd)](_0x942b0b,_0x18ecea),_0x18ecea;}}function _0x4e4824(_0x1258e8){const _0x1a2c56=_0x6b9591;let _0x32762f='';for(const _0x351423 of _0x1258e8){const {startOffset:_0x51b00b,endOffset:_0x5ad156,isActive:_0x252bce,rangeType:_0x39024b,segmentId:_0x51b018,segmentPage:_0xf44b37}=_0x351423;_0x32762f[_0x1a2c56(0x1cb)]&&(_0x32762f+=','),_0x32762f+=_0x51b00b+':'+_0x5ad156+':'+(_0x252bce?'1':'0')+':'+_0x39024b+':'+_0x51b018+':'+_0xf44b37;}return _0x32762f;}function _0x6ee52d(_0x3776b8){const _0x212201=_0x6b9591,_0x54e9dc=_0x3776b8[_0x212201(0x120)](','),_0x259d63=[];for(const _0x222bdb of _0x54e9dc){const [_0x2892b2,_0x1e5166,_0x16641d,_0x25d60d,_0x8251f4,_0x309175]=_0x222bdb[_0x212201(0x120)](':');_0x259d63[_0x212201(0x121)]({'startOffset':Number(_0x2892b2),'endOffset':Number(_0x1e5166),'collapsed':_0x2892b2===_0x1e5166,'isActive':_0x16641d==='1','rangeType':_0x25d60d===_0x4f4b1a[_0x212201(0x2fe)][_0x212201(0x16e)]?_0x4f4b1a[_0x212201(0x2fe)][_0x212201(0x16e)]:_0x4f4b1a[_0x212201(0x2fe)][_0x212201(0x2f3)],'segmentId':typeof _0x8251f4=='string'?String(_0x8251f4):'','segmentPage':Number(_0x309175!=null?_0x309175:-0x1)});}return _0x259d63[_0x212201(0x276)](_0x1788e2=>_0x1788e2[_0x212201(0x1cd)])||(_0x259d63[0x0][_0x212201(0x1cd)]=!0x0),_0x259d63;}class _0x35f7e0 extends _0x4f4b1a[_0x6b9591(0x114)]{constructor(){const _0x44cc0c=_0x6b9591;super(...arguments),_0x54ef86(this,'_collabCursorState$',new _0x4c8fcf['BehaviorSubject'](null)),_0x54ef86(this,_0x44cc0c(0x146),this['_collabCursorState$'][_0x44cc0c(0x303)]());}[_0x6b9591(0x13b)](_0x2e8b5a){const _0x259447=_0x6b9591,{unitID:_0x3704c0,memberID:_0x2a1223,textRanges:_0x32bb46}=_0x2e8b5a,_0xbf0dca=_0x4e4824(_0x32bb46);if(_0xbf0dca==='')return;const _0x386cb7={'unitID':_0x3704c0,'memberID':_0x2a1223,'selection':_0xbf0dca};this[_0x259447(0x2be)]['next'](_0x386cb7);}}var _0x344a64=Object[_0x6b9591(0x158)],_0x3d0c35=(_0x453828,_0x192575,_0xdf6d5a,_0x13fbdb)=>{const _0x1ba267=_0x6b9591;for(var _0x4df5ce=_0x13fbdb>0x1?void 0x0:_0x13fbdb?_0x344a64(_0x192575,_0xdf6d5a):_0x192575,_0x2e20c9=_0x453828[_0x1ba267(0x1cb)]-0x1,_0x916c16;_0x2e20c9>=0x0;_0x2e20c9--)(_0x916c16=_0x453828[_0x2e20c9])&&(_0x4df5ce=_0x916c16(_0x4df5ce)||_0x4df5ce);return _0x4df5ce;},_0x31bc66=(_0x2aef6d,_0xc1b0a2)=>(_0x3ba72a,_0x504824)=>_0xc1b0a2(_0x3ba72a,_0x504824,_0x2aef6d);const _0x122e2f=0x12c,_0x46b299=0x64;let _0x3ed204=class extends _0x4f4b1a[_0x6b9591(0x114)]{constructor(_0x158d89,_0x17c40a,_0x13f8c9,_0x195746,_0x28e90f,_0x234d87,_0xa06e21,_0x2f29cc,_0x2261f6){const _0xf4cddb=_0x6b9591;super(),_0x54ef86(this,_0xf4cddb(0x2a5),!0x1),_0x54ef86(this,'_init',!0x1),_0x54ef86(this,'_cursorInfo$',new _0x4c8fcf[(_0xf4cddb(0x231))](new Map())),_0x54ef86(this,_0xf4cddb(0x350),this[_0xf4cddb(0x337)][_0xf4cddb(0x303)]()),_0x54ef86(this,_0xf4cddb(0x23f),new _0x4c8fcf[(_0xf4cddb(0x231))]([])),_0x54ef86(this,'roomMembers$',this[_0xf4cddb(0x23f)][_0xf4cddb(0x342)](_0x4c8fcf[_0xf4cddb(0x170)](_0x122e2f))),_0x54ef86(this,_0xf4cddb(0x290),_0x4f4b1a[_0xf4cddb(0x2e4)](_0x566ec7=>{const _0x1d4ffd=_0xf4cddb,_0x3f1b37={'eventID':_0x4afe31['CollaborationEvent'][_0x1d4ffd(0x294)],'data':{'unitID':this[_0x1d4ffd(0x30b)],'memberID':this['_session'][_0x1d4ffd(0x28b)](),'selection':_0x4e4824(_0x566ec7)}};this['_session'][_0x1d4ffd(0x389)](_0x3f1b37,this[_0x1d4ffd(0x30b)]);},_0x46b299)),(this['unitID']=_0x158d89,this[_0xf4cddb(0x254)]=_0x17c40a,this['_injector']=_0x13f8c9,this['_colorAssignService']=_0x195746,this[_0xf4cddb(0x2c5)]=_0x28e90f,this['_syncEditingCollabCursorService']=_0x234d87,this[_0xf4cddb(0x24d)]=_0xa06e21,this[_0xf4cddb(0x330)]=_0x2f29cc,this[_0xf4cddb(0x360)]=_0x2261f6);}get[_0x6b9591(0x1ae)](){const _0x22f07b=_0x6b9591;return this[_0x22f07b(0x337)][_0x22f07b(0x32f)]();}get[_0x6b9591(0xf9)](){const _0x133520=_0x6b9591;return this[_0x133520(0x23f)][_0x133520(0x32f)]();}[_0x6b9591(0x161)](){const _0x2e5d4c=_0x6b9591;super[_0x2e5d4c(0x161)](),this[_0x2e5d4c(0x337)]['next'](new Map()),this[_0x2e5d4c(0x337)][_0x2e5d4c(0x327)](),this['_roomMembers$'][_0x2e5d4c(0x1a5)]([]),this[_0x2e5d4c(0x23f)][_0x2e5d4c(0x327)]();}[_0x6b9591(0x147)](){const _0x274cc9=_0x6b9591;this[_0x274cc9(0x167)]||(this[_0x274cc9(0x167)]=!0x0,this['_session'][_0x274cc9(0x1e6)][_0x274cc9(0x342)](_0x4c8fcf[_0x274cc9(0x375)](this['dispose$']))[_0x274cc9(0x187)](_0x368ee0=>{const _0x30e992=_0x274cc9;_0x368ee0===_0x353bdb[_0x30e992(0x29a)][_0x30e992(0x133)]?this[_0x30e992(0x101)]():this[_0x30e992(0x218)]();}),this[_0x274cc9(0x254)]['event$'][_0x274cc9(0x342)](_0x4c8fcf['takeUntil'](this[_0x274cc9(0x311)]))[_0x274cc9(0x187)](_0x271ffd=>{const _0x1b911a=_0x274cc9,_0x2b6cbf=_0x271ffd[_0x1b911a(0x1f0)];_0x2b6cbf===_0x4afe31['CollaborationEvent'][_0x1b911a(0x294)]&&this['_onCursorUpdate'](_0x271ffd),_0x2b6cbf===_0x4afe31['CollaborationEvent'][_0x1b911a(0x366)]&&this[_0x1b911a(0x1f4)](_0x271ffd);}),this[_0x274cc9(0x132)](this['_commandService'][_0x274cc9(0x33b)](_0x35da38=>{const _0x3daebc=_0x274cc9,_0x3fbc0b=_0x35da38[_0x3daebc(0x17c)];_0x3fbc0b!=null&&this[_0x3daebc(0x2a5)]&&_0x35da38['id']===_0x49ed44[_0x3daebc(0x31e)]['id']&&_0x3fbc0b[_0x3daebc(0x248)]===this[_0x3daebc(0x30b)]&&_0x3fbc0b[_0x3daebc(0x1af)]===!0x1&&_0x3fbc0b[_0x3daebc(0x2a2)][_0x3daebc(0x1cb)]>0x0&&this[_0x3daebc(0x290)](_0x3fbc0b[_0x3daebc(0x2a2)]);})),this[_0x274cc9(0x159)]['collabCursorState$'][_0x274cc9(0x342)](_0x4c8fcf['takeUntil'](this[_0x274cc9(0x311)]))[_0x274cc9(0x187)](_0x62aba3=>{const _0x229a85=_0x274cc9;if((_0x62aba3==null?void 0x0:_0x62aba3[_0x229a85(0x30b)])!==this[_0x229a85(0x30b)])return;const _0x27fce9={'eventID':_0x4afe31[_0x229a85(0x222)][_0x229a85(0x294)],'data':_0x62aba3};this[_0x229a85(0x37a)](_0x27fce9);}),this[_0x274cc9(0x132)](this[_0x274cc9(0x360)][_0x274cc9(0x33b)](_0x4cd476=>{const _0x268d2d=_0x274cc9;if(_0x4cd476[_0x268d2d(0x17c)]==null)return;const _0x32bd8f=_0x4cd476[_0x268d2d(0x17c)];if(_0x4cd476['id']!==_0x49ed44[_0x268d2d(0x347)]['id']||_0x32bd8f[_0x268d2d(0x248)]!==this['unitID'])return;const _0x54d224={'id':_0x268d2d(0x2dc),'params':_0x32bd8f},_0x54e616=this['cursorInfo'];for(const [_0x47e262,_0x4f8ae3]of _0x54e616){const _0x133b7f={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x268d2d(0x30b)],'actions':null,'textRanges':_0x4f8ae3[_0x268d2d(0x2a2)]}},_0x194796=this[_0x268d2d(0x24d)][_0x268d2d(0x2bd)](_0x54d224,_0x133b7f,!0x1);if(_0x4afe31[_0x268d2d(0x36f)](_0x194796))throw _0x194796[_0x268d2d(0x1d6)];_0x54e616['set'](_0x47e262,{..._0x4f8ae3,'ranges':_0x194796['m2Prime'][_0x268d2d(0x17c)][_0x268d2d(0x138)]});}queueMicrotask(()=>{const _0x5a77ad=_0x268d2d;this['_cursorInfo$'][_0x5a77ad(0x1a5)](_0x54e616);});})));}[_0x6b9591(0x37a)](_0x1ae0b0){const _0x4d46cd=_0x6b9591;var _0x33a7bc,_0x5511b3;const {memberID:_0x1928f0,selection:_0x5b56c9}=_0x1ae0b0[_0x4d46cd(0x1e7)],_0x1b921a=_0x6ee52d(_0x5b56c9),_0x49be69=(_0x5511b3=(_0x33a7bc=this['_memberService'][_0x4d46cd(0x19b)](this[_0x4d46cd(0x30b)],_0x1928f0))==null?void 0x0:_0x33a7bc[_0x4d46cd(0x1b1)])!=null?_0x5511b3:_0x4d46cd(0x180),_0x221fc8={'color':this[_0x4d46cd(0x1a7)][_0x4d46cd(0x343)](_0x1928f0),'name':_0x49be69,'ranges':_0x1b921a},_0x147d5b=this[_0x4d46cd(0x1ae)];_0x147d5b[_0x4d46cd(0x1dd)](_0x1928f0,_0x221fc8),this[_0x4d46cd(0x337)][_0x4d46cd(0x1a5)](_0x147d5b);}[_0x6b9591(0x1f4)](_0x2bbb34){const _0x20f269=_0x6b9591,{memberID:_0x23505e}=_0x2bbb34[_0x20f269(0x1e7)],_0x374251=this['cursorInfo'];_0x374251[_0x20f269(0x1df)](_0x23505e),this[_0x20f269(0x337)][_0x20f269(0x1a5)](_0x374251);}['_toggleOnline'](){const _0x2aac6f=_0x6b9591;var _0x46a297;if(this[_0x2aac6f(0x2a5)]=!0x0,((_0x46a297=this[_0x2aac6f(0x330)][_0x2aac6f(0x15e)]())==null?void 0x0:_0x46a297[_0x2aac6f(0x27c)]())!==this['unitID'])return;const _0x23177c=this[_0x2aac6f(0x15f)][_0x2aac6f(0x2b0)](_0x49ed44[_0x2aac6f(0x396)])[_0x2aac6f(0x25c)]();Array[_0x2aac6f(0x2dd)](_0x23177c)&&_0x23177c[_0x2aac6f(0x1cb)]>0x0&&this['_updateLocalCursor'](_0x23177c);}[_0x6b9591(0x218)](){const _0x131175=_0x6b9591;this[_0x131175(0x2a5)]=!0x1;}};_0x3ed204=_0x3d0c35([_0x31bc66(0x2,_0x4f4b1a[_0x6b9591(0x22e)](_0x4f4b1a[_0x6b9591(0x172)])),_0x31bc66(0x3,_0x4f4b1a[_0x6b9591(0x22e)](_0x3e1aeb)),_0x31bc66(0x4,_0x4f4b1a[_0x6b9591(0x22e)](_0x353bdb[_0x6b9591(0x2eb)])),_0x31bc66(0x5,_0x4f4b1a[_0x6b9591(0x22e)](_0x35f7e0)),_0x31bc66(0x6,_0x4afe31[_0x6b9591(0x11e)]),_0x31bc66(0x7,_0x4f4b1a['IUniverInstanceService']),_0x31bc66(0x8,_0x4f4b1a['ICommandService'])],_0x3ed204);var _0x2609cd=Object['getOwnPropertyDescriptor'],_0x4c1fed=(_0x58d858,_0x500cd4,_0x4f8608,_0x5b7480)=>{for(var _0x131b23=_0x5b7480>0x1?void 0x0:_0x5b7480?_0x2609cd(_0x500cd4,_0x4f8608):_0x500cd4,_0x46aeaa=_0x58d858['length']-0x1,_0x1f2dd;_0x46aeaa>=0x0;_0x46aeaa--)(_0x1f2dd=_0x58d858[_0x46aeaa])&&(_0x131b23=_0x1f2dd(_0x131b23)||_0x131b23);return _0x131b23;},_0x197414=(_0x3e8f16,_0x4ab167)=>(_0x1df664,_0x359e0d)=>_0x4ab167(_0x1df664,_0x359e0d,_0x3e8f16);const _0x132f15=0x12c,_0x288a2e=0x64,_0x1b9b44=()=>{let _0x512d0a=[],_0x5ae27f=!0x1;return _0x47d84e=>{_0x512d0a['push'](_0x47d84e),_0x5ae27f||(_0x5ae27f=!0x0,setTimeout(()=>{const _0x39678b=_0x2b52;_0x512d0a[_0x39678b(0x11b)](_0x2b84bc=>_0x2b84bc()),_0x512d0a=[],_0x5ae27f=!0x1;}));};};let _0x4b3037=class extends _0x4f4b1a[_0x6b9591(0x114)]{constructor(_0x338164,_0x343e08,_0x51b33c,_0xf9924a,_0x47e2bf,_0x583932,_0x457252,_0x597d26){const _0x3d6ce=_0x6b9591;super(),_0x54ef86(this,_0x3d6ce(0x2a5),!0x1),_0x54ef86(this,_0x3d6ce(0x167),!0x1),_0x54ef86(this,'_cursorInfo$',new _0x4c8fcf[(_0x3d6ce(0x231))](new Map())),_0x54ef86(this,_0x3d6ce(0x350),this[_0x3d6ce(0x337)][_0x3d6ce(0x303)]()),_0x54ef86(this,_0x3d6ce(0x23f),new _0x4c8fcf[(_0x3d6ce(0x231))]([])),_0x54ef86(this,'roomMembers$',this[_0x3d6ce(0x23f)][_0x3d6ce(0x342)](_0x4c8fcf[_0x3d6ce(0x170)](_0x132f15))),_0x54ef86(this,_0x3d6ce(0x290),_0x4f4b1a['debounce']((_0x211e61,_0x27a913)=>{const _0x39886a=_0x3d6ce,_0x255309={'eventID':_0x4afe31[_0x39886a(0x222)][_0x39886a(0x294)],'data':{'unitID':this['unitID'],'memberID':this[_0x39886a(0x254)]['getMemberID'](),'selection':_0x2f57c5[_0x39886a(0x1c2)](_0x211e61,_0x27a913[_0x39886a(0x1a9)])}};this['_session'][_0x39886a(0x389)](_0x255309,this[_0x39886a(0x30b)]);},_0x288a2e)),(this['unitID']=_0x338164,this[_0x3d6ce(0x254)]=_0x343e08,this[_0x3d6ce(0x15f)]=_0x51b33c,this[_0x3d6ce(0x1a7)]=_0xf9924a,this[_0x3d6ce(0x2c5)]=_0x47e2bf,this[_0x3d6ce(0x330)]=_0x583932,this[_0x3d6ce(0x360)]=_0x457252,this['_refRangeService']=_0x597d26);}get['cursorInfo'](){const _0x23472a=_0x6b9591;return this[_0x23472a(0x337)]['getValue']();}get[_0x6b9591(0xf9)](){const _0x557e84=_0x6b9591;return this[_0x557e84(0x23f)][_0x557e84(0x32f)]();}[_0x6b9591(0x161)](){const _0x20c0d6=_0x6b9591;super[_0x20c0d6(0x161)](),this[_0x20c0d6(0x337)][_0x20c0d6(0x1a5)](new Map()),this[_0x20c0d6(0x337)]['complete'](),this[_0x20c0d6(0x23f)]['next']([]),this[_0x20c0d6(0x23f)][_0x20c0d6(0x327)]();}[_0x6b9591(0x147)](){const _0x25c894=_0x6b9591;this[_0x25c894(0x167)]||(this[_0x25c894(0x167)]=!0x0,this[_0x25c894(0x254)]['sessionStatus$']['pipe'](_0x4c8fcf[_0x25c894(0x375)](this['dispose$']))[_0x25c894(0x187)](_0x5db2ea=>{const _0x3ab8de=_0x25c894;_0x5db2ea===_0x353bdb[_0x3ab8de(0x29a)][_0x3ab8de(0x133)]?this[_0x3ab8de(0x101)]():this[_0x3ab8de(0x218)]();}),this[_0x25c894(0x254)][_0x25c894(0x38b)][_0x25c894(0x342)](_0x4c8fcf[_0x25c894(0x375)](this[_0x25c894(0x311)]))[_0x25c894(0x187)](_0x4b2511=>{const _0x3bcb0a=_0x25c894,_0x52621c=_0x4b2511['eventID'];_0x52621c===_0x4afe31[_0x3bcb0a(0x222)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x4b2511),_0x52621c===_0x4afe31[_0x3bcb0a(0x222)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x4b2511);}),this[_0x25c894(0x166)](),this[_0x25c894(0x132)](this[_0x25c894(0x360)]['onCommandExecuted'](_0x5d0e1d=>{const _0x304b75=_0x25c894;if(this[_0x304b75(0x2a5)]&&_0x5d0e1d['id']===_0x54d6f1[_0x304b75(0x212)]['id']&&_0x5d0e1d[_0x304b75(0x17c)]['unitId']===this[_0x304b75(0x30b)]){const _0x4ca0cb=_0x5d0e1d[_0x304b75(0x17c)];this[_0x304b75(0x290)](_0x4ca0cb[_0x304b75(0x28f)],_0x4ca0cb[_0x304b75(0x12a)][0x0]);}})));}[_0x6b9591(0x37a)](_0x21c1e9){const _0xdb4a88=_0x6b9591;var _0xb7e74f,_0x58ff26;const {memberID:_0x494d47,selection:_0x5ef4f7}=_0x21c1e9[_0xdb4a88(0x1e7)],{sheetName:_0x4d3eaf,range:_0x4780fc}=_0x2f57c5['deserializeRangeWithSheet'](_0x5ef4f7),_0x1d1a0f={'name':(_0x58ff26=(_0xb7e74f=this[_0xdb4a88(0x2c5)]['getMember'](this['unitID'],_0x494d47))==null?void 0x0:_0xb7e74f[_0xdb4a88(0x1b1)])!=null?_0x58ff26:_0xdb4a88(0x180),'range':this['_getMergeRange'](_0x4d3eaf,_0x4780fc),'sheetID':_0x4d3eaf,'color':this[_0xdb4a88(0x1a7)][_0xdb4a88(0x343)](_0x494d47),'selection':_0x5ef4f7},_0x5b2bf9=this[_0xdb4a88(0x1ae)];_0x5b2bf9[_0xdb4a88(0x1dd)](_0x494d47,_0x1d1a0f),this[_0xdb4a88(0x337)][_0xdb4a88(0x1a5)](_0x5b2bf9);}[_0x6b9591(0x1f4)](_0x531d88){const _0x2428f8=_0x6b9591,{memberID:_0x47ee04}=_0x531d88['data'],_0x38743c=this[_0x2428f8(0x1ae)];_0x38743c['delete'](_0x47ee04),this[_0x2428f8(0x337)][_0x2428f8(0x1a5)](_0x38743c);}[_0x6b9591(0x216)](_0x3eea87,_0x331aa1){const _0x4bd698=_0x6b9591;var _0x446dc5,_0xbe54c7;const _0x5a7139=(_0xbe54c7=(_0x446dc5=this['_univerInstanceService'][_0x4bd698(0x2e6)](this[_0x4bd698(0x30b)]))==null?void 0x0:_0x446dc5['getSheetBySheetId'](_0x3eea87))==null?void 0x0:_0xbe54c7['getMergeData']();return(_0x5a7139==null?void 0x0:_0x5a7139['find'](_0x3c7d79=>_0x4f4b1a[_0x4bd698(0x387)][_0x4bd698(0x1cc)](_0x3c7d79,_0x331aa1)))||_0x331aa1;}[_0x6b9591(0x166)](){const _0x50c34a=_0x6b9591,_0x71ec8f=new _0x4f4b1a[(_0x50c34a(0x390))](),_0x4aee41=_0x1b9b44(),_0x3cfd52=()=>{const _0x13b607=_0x50c34a;_0x71ec8f[_0x13b607(0x161)]();const _0x3a1450=(_0x3260b2,_0x5ad05f,_0x44170c,_0x17e8bb)=>{const _0x26e3a9=_0x13b607;let _0x59f30b=[];switch(_0x3260b2['id']){case _0x54d6f1[_0x26e3a9(0x36e)][_0x26e3a9(0x227)]:{_0x59f30b=_0x54d6f1[_0x26e3a9(0x249)](_0x3260b2,_0x17e8bb);break;}case _0x54d6f1[_0x26e3a9(0x36e)][_0x26e3a9(0x12b)]:{_0x59f30b=_0x54d6f1[_0x26e3a9(0x35f)](_0x3260b2,_0x17e8bb);break;}case _0x54d6f1[_0x26e3a9(0x36e)]['InsertColCommandId']:{_0x59f30b=_0x54d6f1[_0x26e3a9(0x279)](_0x3260b2,_0x17e8bb);break;}case _0x54d6f1[_0x26e3a9(0x36e)][_0x26e3a9(0x2b1)]:{_0x59f30b=_0x54d6f1[_0x26e3a9(0x1a3)](_0x3260b2,_0x17e8bb);break;}case _0x54d6f1['EffectRefRangId'][_0x26e3a9(0x2f7)]:{_0x59f30b=_0x54d6f1['handleInsertRangeMoveRight'](_0x3260b2,_0x17e8bb);break;}case _0x54d6f1[_0x26e3a9(0x36e)][_0x26e3a9(0x243)]:{_0x59f30b=_0x54d6f1[_0x26e3a9(0x381)](_0x3260b2,_0x17e8bb);break;}case _0x54d6f1['EffectRefRangId']['MoveRangeCommandId']:{_0x59f30b=_0x54d6f1['handleMoveRange'](_0x3260b2,_0x17e8bb);break;}case _0x54d6f1['EffectRefRangId'][_0x26e3a9(0x2d9)]:{_0x59f30b=_0x54d6f1[_0x26e3a9(0x35b)](_0x3260b2,_0x17e8bb);break;}case _0x54d6f1[_0x26e3a9(0x36e)]['RemoveRowCommandId']:{_0x59f30b=_0x54d6f1['handleIRemoveRow'](_0x3260b2,_0x17e8bb);break;}}const _0x9403a=_0x54d6f1[_0x26e3a9(0x1ce)](_0x59f30b,_0x17e8bb),_0x544f30=this[_0x26e3a9(0x1ae)][_0x26e3a9(0x2b0)](_0x5ad05f);if(_0x544f30&&_0x9403a){const _0x484832={..._0x544f30,'range':_0x9403a};this[_0x26e3a9(0x1ae)][_0x26e3a9(0x1dd)](_0x5ad05f,_0x484832),_0x4aee41(()=>{const _0x484221=_0x26e3a9,_0x16f4e5=this['_refRangeService']['registerRefRange'](_0x9403a,_0x375f92=>(_0x16f4e5['dispose'](),_0x3a1450(_0x375f92,_0x5ad05f,_0x44170c,_0x9403a)));_0x71ec8f[_0x484221(0x2c2)](_0x16f4e5);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x13b607(0x11b)]((_0x48cfa6,_0x426125)=>{const _0x3c8085=_0x13b607,{range:_0x956db2,sheetID:_0x54b64a}=_0x48cfa6,_0x8f1669=this[_0x3c8085(0x1c1)][_0x3c8085(0x2e2)](_0x956db2,_0x186e60=>(_0x8f1669[_0x3c8085(0x161)](),_0x3a1450(_0x186e60,_0x426125,_0x54b64a,_0x956db2)));_0x71ec8f['add'](_0x8f1669);});};this[_0x50c34a(0x132)](_0x4f4b1a['toDisposable'](this['_cursorInfo$'][_0x50c34a(0x187)](()=>{_0x3cfd52();})));}[_0x6b9591(0x101)](){const _0x16a1f7=_0x6b9591;var _0xbc8d7a,_0x4bbc05;if(this[_0x16a1f7(0x2a5)]=!0x0,((_0xbc8d7a=this['_univerInstanceService'][_0x16a1f7(0x15e)]())==null?void 0x0:_0xbc8d7a[_0x16a1f7(0x27c)]())!==this[_0x16a1f7(0x30b)])return;const _0x357fe4=(_0x4bbc05=this[_0x16a1f7(0x15f)][_0x16a1f7(0x2b0)](_0x54d6f1[_0x16a1f7(0xfc)])[_0x16a1f7(0x1b3)]())==null?void 0x0:_0x4bbc05[0x0],_0x323530=this[_0x16a1f7(0x330)][_0x16a1f7(0x1fa)](_0x4f4b1a[_0x16a1f7(0x298)][_0x16a1f7(0x274)])['getActiveSheet']();_0x357fe4&&_0x323530&&this['_updateLocalCursor'](_0x323530['getSheetId'](),_0x357fe4);}[_0x6b9591(0x218)](){const _0x4dd53f=_0x6b9591;this[_0x4dd53f(0x2a5)]=!0x1;}};_0x4b3037=_0x4c1fed([_0x197414(0x2,_0x4f4b1a[_0x6b9591(0x22e)](_0x4f4b1a[_0x6b9591(0x172)])),_0x197414(0x3,_0x4f4b1a[_0x6b9591(0x22e)](_0x3e1aeb)),_0x197414(0x4,_0x4f4b1a[_0x6b9591(0x22e)](_0x353bdb['MemberService'])),_0x197414(0x5,_0x4f4b1a[_0x6b9591(0x17b)]),_0x197414(0x6,_0x4f4b1a[_0x6b9591(0x174)]),_0x197414(0x7,_0x4f4b1a[_0x6b9591(0x22e)](_0x54d6f1[_0x6b9591(0x344)]))],_0x4b3037);var _0x33eae3=Object[_0x6b9591(0x158)],_0x33c320=(_0xfbbc0d,_0x13fbfd,_0x557b15,_0x1b472f)=>{const _0x572223=_0x6b9591;for(var _0x49e52e=_0x1b472f>0x1?void 0x0:_0x1b472f?_0x33eae3(_0x13fbfd,_0x557b15):_0x13fbfd,_0xed82a1=_0xfbbc0d[_0x572223(0x1cb)]-0x1,_0x293bd4;_0xed82a1>=0x0;_0xed82a1--)(_0x293bd4=_0xfbbc0d[_0xed82a1])&&(_0x49e52e=_0x293bd4(_0x49e52e)||_0x49e52e);return _0x49e52e;},_0x581db0=(_0x4b19a9,_0x159514)=>(_0x50b36d,_0x433c23)=>_0x159514(_0x50b36d,_0x433c23,_0x4b19a9);let _0x24a51e=class extends _0x4f4b1a['RxDisposable']{constructor(_0x2283e6,_0x1a3350,_0x439411){const _0x4f30ae=_0x6b9591;super(),_0x54ef86(this,'_entities',new Map()),_0x54ef86(this,_0x4f30ae(0x2ef),new _0x4c8fcf[(_0x4f30ae(0x1b6))]()),(this['_univerInstanceService']=_0x2283e6,this[_0x4f30ae(0x15f)]=_0x1a3350,this[_0x4f30ae(0x1cf)]=_0x439411,this['_init']());}[_0x6b9591(0x161)](){const _0x11932d=_0x6b9591;super['dispose'](),this['_entityInit$'][_0x11932d(0x327)](),this[_0x11932d(0x340)][_0x11932d(0x11b)](_0x2b2feb=>_0x2b2feb['dispose']());}[_0x6b9591(0x2c3)](_0x93028){const _0x17d9f7=_0x6b9591;return this[_0x17d9f7(0x340)][_0x17d9f7(0x164)](_0x93028)?this[_0x17d9f7(0x340)]['get'](_0x93028)[_0x17d9f7(0x350)]:this[_0x17d9f7(0x2ef)][_0x17d9f7(0x342)](_0x4c8fcf[_0x17d9f7(0x26e)](_0x2779c9=>_0x2779c9[_0x17d9f7(0x30b)]===_0x93028),_0x4c8fcf[_0x17d9f7(0x358)](_0x216597=>_0x216597['cursorInfo$']));}[_0x6b9591(0x167)](){const _0x327626=_0x6b9591;this[_0x327626(0x330)][_0x327626(0x2fd)](_0x4f4b1a[_0x327626(0x298)][_0x327626(0x274)])[_0x327626(0x342)](_0x4c8fcf['takeUntil'](this[_0x327626(0x311)]))[_0x327626(0x187)](async _0x454feb=>{const _0x2b82b2=_0x327626,_0x933012=_0x454feb[_0x2b82b2(0x27c)](),_0x2c9a4c=await this[_0x2b82b2(0x275)](_0x933012);this[_0x2b82b2(0x2ef)][_0x2b82b2(0x1a5)](_0x2c9a4c),this[_0x2b82b2(0x340)][_0x2b82b2(0x1dd)](_0x933012,_0x2c9a4c);}),this[_0x327626(0x330)]['getTypeOfUnitAdded$'](_0x4f4b1a['UniverInstanceType']['UNIVER_DOC'])[_0x327626(0x342)](_0x4c8fcf[_0x327626(0x375)](this[_0x327626(0x311)]))[_0x327626(0x342)](_0x4c8fcf['filter'](_0xf8473d=>!_0xf8473d[_0x327626(0x27c)]()[_0x327626(0x240)]('__')))['subscribe'](async _0x162933=>{const _0x1349fb=_0x327626,_0x5d4002=_0x162933[_0x1349fb(0x27c)](),_0x27e24b=await this['_startDocCollabCursor'](_0x5d4002);this[_0x1349fb(0x2ef)]['next'](_0x27e24b),this[_0x1349fb(0x340)]['set'](_0x5d4002,_0x27e24b);}),_0x4c8fcf[_0x327626(0x315)](this[_0x327626(0x330)][_0x327626(0x2d2)](_0x4f4b1a[_0x327626(0x298)][_0x327626(0x34b)]),this[_0x327626(0x330)][_0x327626(0x2d2)](_0x4f4b1a['UniverInstanceType'][_0x327626(0x274)]))[_0x327626(0x342)](_0x4c8fcf['takeUntil'](this['dispose$']))[_0x327626(0x187)](_0x25d1e1=>{const _0x1b1003=_0x327626,_0x1ed0be=_0x25d1e1[_0x1b1003(0x27c)](),_0x43c6fc=this[_0x1b1003(0x340)][_0x1b1003(0x2b0)](_0x1ed0be);_0x43c6fc&&(_0x43c6fc[_0x1b1003(0x161)](),this['_entities'][_0x1b1003(0x1df)](_0x1ed0be));});}async[_0x6b9591(0x275)](_0x28750d){const _0x5844e7=_0x6b9591,_0x36d588=await this[_0x5844e7(0x1cf)][_0x5844e7(0x1b8)](_0x28750d),_0x1036bd=this[_0x5844e7(0x15f)]['createInstance'](_0x4b3037,_0x28750d,_0x36d588);return _0x1036bd['init'](),_0x1036bd;}async['_startDocCollabCursor'](_0x42c578){const _0x54216d=_0x6b9591,_0xd7f787=await this[_0x54216d(0x1cf)][_0x54216d(0x1b8)](_0x42c578),_0x20c21e=this[_0x54216d(0x15f)]['createInstance'](_0x3ed204,_0x42c578,_0xd7f787);return _0x20c21e[_0x54216d(0x147)](),_0x20c21e;}};_0x24a51e=_0x33c320([_0x581db0(0x0,_0x4f4b1a[_0x6b9591(0x17b)]),_0x581db0(0x1,_0x4f4b1a[_0x6b9591(0x22e)](_0x4f4b1a['Injector'])),_0x581db0(0x2,_0x4f4b1a[_0x6b9591(0x22e)](_0x353bdb[_0x6b9591(0x1bf)]))],_0x24a51e);const _0x108714=0x14,_0x599f09=0xc8,_0x15e021=0x4,_0x27c390=0x5;function _0x20e116(_0x40092b,_0x548bd5){const _0x89bbb0=_0x6b9591;let {radius:_0x914e9a,width:_0x19db86,height:_0x19c307}=_0x548bd5;_0x914e9a=_0x914e9a!=null?_0x914e9a:0x0,_0x19db86=_0x19db86!=null?_0x19db86:0x1e,_0x19c307=_0x19c307!=null?_0x19c307:0x1e;let _0x2b3fea=0x0,_0x1bbfc9=0x0,_0x164ec9=0x0;_0x2b3fea=_0x1bbfc9=_0x164ec9=Math[_0x89bbb0(0x31f)](_0x914e9a,_0x19db86/0x2,_0x19c307/0x2),_0x40092b[_0x89bbb0(0x2ec)](),_0x40092b[_0x89bbb0(0x151)](_0x2b3fea,0x0),_0x40092b[_0x89bbb0(0x192)](_0x19db86-_0x1bbfc9,0x0),_0x40092b[_0x89bbb0(0x1e3)](_0x19db86-_0x1bbfc9,_0x1bbfc9,_0x1bbfc9,Math['PI']*0x3/0x2,0x0,!0x1),_0x40092b['lineTo'](_0x19db86,_0x19c307-_0x164ec9),_0x40092b[_0x89bbb0(0x1e3)](_0x19db86-_0x164ec9,_0x19c307-_0x164ec9,_0x164ec9,0x0,Math['PI']/0x2,!0x1),_0x40092b[_0x89bbb0(0x192)](0x0,_0x19c307),_0x40092b[_0x89bbb0(0x192)](0x0,_0x2b3fea),_0x40092b[_0x89bbb0(0x1e3)](_0x2b3fea,_0x2b3fea,_0x2b3fea,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x40092b[_0x89bbb0(0x21c)](),_0x548bd5[_0x89bbb0(0x1b0)]&&(_0x40092b[_0x89bbb0(0x286)](),_0x40092b['fillStyle']=_0x548bd5[_0x89bbb0(0x1b0)],_0x548bd5[_0x89bbb0(0x14b)]===_0x89bbb0(0x145)?_0x40092b[_0x89bbb0(0x1b0)](_0x89bbb0(0x145)):_0x40092b[_0x89bbb0(0x1b0)](),_0x40092b[_0x89bbb0(0x153)]());}class _0x4d674a extends _0x4be59a['Shape']{constructor(_0x32d246,_0x2d7d22){const _0x15b8c8=_0x6b9591;super(_0x32d246,_0x2d7d22),_0x54ef86(this,_0x15b8c8(0x168)),_0x54ef86(this,_0x15b8c8(0x383)),(this[_0x15b8c8(0x168)]=_0x2d7d22==null?void 0x0:_0x2d7d22[_0x15b8c8(0x168)],this[_0x15b8c8(0x383)]=_0x2d7d22==null?void 0x0:_0x2d7d22[_0x15b8c8(0x383)]);}static[_0x6b9591(0x2db)](_0x3d1f2f,_0x454a7f){const _0x4f0a52=_0x6b9591,{text:_0x13bdff,color:_0x5a33c8}=_0x454a7f;_0x3d1f2f[_0x4f0a52(0x286)](),_0x3d1f2f[_0x4f0a52(0x1ac)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x40e08c=_0x3d1f2f[_0x4f0a52(0x2a3)](_0x13bdff)[_0x4f0a52(0x209)],_0x4fecd4=Math[_0x4f0a52(0x31f)](_0x40e08c+0x2*_0x15e021,_0x599f09);_0x20e116(_0x3d1f2f,{'height':_0x108714,'radius':0x4,'width':_0x4fecd4,'fill':_0x5a33c8}),_0x3d1f2f[_0x4f0a52(0x2ca)]=_0x4f0a52(0x1bc);const _0xf9e1f6=_0x15e021,_0x44a98d=_0x108714-_0x27c390,_0x5ca4de=_0x599f09-0x2*_0x15e021;if(_0x40e08c>_0x5ca4de){let _0xf881e3='',_0x580c32=0x0;for(const _0x3e825e of _0x13bdff){const _0x58edd8=_0x3d1f2f[_0x4f0a52(0x2a3)](_0x3e825e)[_0x4f0a52(0x209)];if(_0x580c32+_0x58edd8<=_0x5ca4de-_0x3d1f2f['measureText'](_0x4f0a52(0x2ba))[_0x4f0a52(0x209)])_0xf881e3+=_0x3e825e,_0x580c32+=_0x58edd8;else{_0xf881e3+='...';break;}}_0x3d1f2f[_0x4f0a52(0x225)](_0xf881e3,_0xf9e1f6,_0x44a98d);}else _0x3d1f2f[_0x4f0a52(0x225)](_0x13bdff,_0xf9e1f6,_0x44a98d);_0x3d1f2f[_0x4f0a52(0x153)]();}[_0x6b9591(0x2f6)](_0x3d87e6){const _0x35f3cc=_0x6b9591;_0x4d674a[_0x35f3cc(0x2db)](_0x3d87e6,this);}}const _0x5c9aa8=_0x6b9591(0x175),_0xcc4423=_0x6b9591(0x38d),_0x1410e6=_0x6b9591(0x35c),_0xd9205f=0x6,_0x4f2b5f=1.5,_0xe02463=0x4,_0x17d7f4=1.5,_0xc18c49=_0x6b9591(0x325);class _0x5d20a1{constructor(_0x117924,_0x1448c0,_0x358c9f,_0x57257d){const _0x1bbcd9=_0x6b9591;_0x54ef86(this,_0x1bbcd9(0x232),[]),_0x54ef86(this,_0x1bbcd9(0x27b),null),_0x54ef86(this,_0x1bbcd9(0x1be),null),_0x54ef86(this,_0x1bbcd9(0x234),null),_0x54ef86(this,_0x1bbcd9(0x1a8),null),_0x54ef86(this,_0x1bbcd9(0x163),null),(this[_0x1bbcd9(0x1b5)]=_0x117924,this[_0x1bbcd9(0x345)]=_0x1448c0,this[_0x1bbcd9(0x2c4)]=_0x358c9f,this[_0x1bbcd9(0x292)]=_0x57257d,this['_render']());}set['_hover'](_0x41b296){const _0x4ac4df=_0x6b9591;_0x41b296?(this[_0x4ac4df(0x234)]&&this[_0x4ac4df(0x234)]['hide'](),this['_textBubble']&&this['_textBubble'][_0x4ac4df(0x219)]()):(this[_0x4ac4df(0x234)]&&this[_0x4ac4df(0x234)][_0x4ac4df(0x219)](),this[_0x4ac4df(0x1be)]&&this['_textBubble']['hide']());}[_0x6b9591(0x161)](){const _0x4bc362=_0x6b9591;for(const _0x96a93c of this[_0x4bc362(0x232)])_0x96a93c[_0x4bc362(0x161)]();this[_0x4bc362(0x1be)]&&this[_0x4bc362(0x1be)]['dispose'](),this['_anchorDot']&&this[_0x4bc362(0x234)][_0x4bc362(0x161)](),this[_0x4bc362(0x27b)]&&this[_0x4bc362(0x27b)]['dispose'](),this[_0x4bc362(0x163)]&&this[_0x4bc362(0x163)]();}['_render'](){const _0x1718d1=_0x6b9591;var _0x33fdda;const {_docSkeleton:_0x17377e,_document:_0x412123}=this,{color:_0x44fd87,name:_0x47bde8,ranges:_0x2782a6}=this['_cursor'],_0x3a1812=_0x412123[_0x1718d1(0x165)](),{docsLeft:_0x1e640d,docsTop:_0x90a5b3}=_0x3a1812,_0x35abbc=new _0x2a96f2['NodePositionConvertToCursor'](_0x3a1812,_0x17377e);for(const {startOffset:_0xcded61,endOffset:_0x48bf36,rangeType:_0x5599f0,segmentId:_0xaf4ddb,segmentPage:_0x2d1a45,collapsed:_0x14bbc9,isActive:_0x382214}of _0x2782a6){const _0x82a926=_0x17377e[_0x1718d1(0x217)](_0xcded61,!0x0,_0xaf4ddb,_0x2d1a45);let _0x49f37e=_0x17377e[_0x1718d1(0x217)](_0x48bf36,!0x0,_0xaf4ddb,_0x2d1a45);if(_0x49f37e==null&&(_0x49f37e=_0x17377e[_0x1718d1(0x217)](_0x48bf36-0x1,!0x1,_0xaf4ddb,_0x2d1a45)),_0x382214){const {contentBoxPointGroup:_0x2ab2c1}=_0x35abbc[_0x1718d1(0x35a)](_0x49f37e,_0x49f37e);if(_0x2ab2c1['length']===0x0)continue;this[_0x1718d1(0x1f5)](_0x44fd87,_0x2ab2c1,_0x1e640d,_0x90a5b3,_0x47bde8),this[_0x1718d1(0x163)]=this[_0x1718d1(0x2c8)]();}if(_0x82a926&&_0x49f37e){if(_0x5599f0===_0x4f4b1a[_0x1718d1(0x2fe)]['RECT']){const _0x1dc841=new _0x2a96f2['NodePositionConvertToRectRange'](_0x3a1812,_0x17377e),{pointGroup:_0x5e06fa}=(_0x33fdda=_0x1dc841[_0x1718d1(0x35a)](_0x82a926,_0x49f37e))!=null?_0x33fdda:{};if(_0x5e06fa==null||_0x5e06fa['length']===0x0)continue;this[_0x1718d1(0x245)](_0x44fd87,_0x5e06fa,_0x1e640d,_0x90a5b3);}else{if(!_0x14bbc9){const {borderBoxPointGroup:_0x54848f}=_0x35abbc[_0x1718d1(0x35a)](_0x82a926,_0x49f37e);if(_0x54848f[_0x1718d1(0x1cb)]===0x0)continue;this[_0x1718d1(0x177)](_0x44fd87,_0x54848f,_0x1e640d,_0x90a5b3);}}}}}[_0x6b9591(0x1f5)](_0x2629f5,_0x11ed6d,_0x3fba6e,_0x1342ac,_0xe48dbf){const _0x36e43e=_0x6b9591,_0x372682=this[_0x36e43e(0x2b9)](_0x11ed6d),{left:_0x39a8b7,top:_0xc4b58d,height:_0x4dcdc7}=_0x372682,_0x29fe24=this[_0x36e43e(0x34a)](),_0x1457f4=_0x17d7f4/_0x29fe24,_0x40e619=new _0x4be59a[(_0x36e43e(0x14d))](_0x5c9aa8+_0x4f4b1a[_0x36e43e(0x20c)][_0x36e43e(0x26b)](_0xd9205f),{'left':_0x39a8b7+_0x3fba6e-_0x1457f4,'top':_0xc4b58d+_0x1342ac,'height':_0x4dcdc7,'width':_0x4f2b5f,'fill':_0x2629f5||_0x4be59a['getColor'](_0x4f4b1a[_0x36e43e(0x355)][_0x36e43e(0x21a)],0x0),'strokeWidth':_0x1457f4,'stroke':_0xc18c49,'evented':!0x0});this[_0x36e43e(0x27b)]=_0x40e619,this['_scene']['addObject'](_0x40e619,_0x2a96f2[_0x36e43e(0x34e)]);const _0x4e7c62=new _0x4be59a[(_0x36e43e(0x14d))](_0x5c9aa8+_0x4f4b1a[_0x36e43e(0x20c)][_0x36e43e(0x26b)](_0xd9205f),{'left':_0x39a8b7+_0x3fba6e-_0x1457f4,'top':_0xc4b58d+_0x1342ac-_0xe02463/0x2,'height':_0xe02463,'width':_0xe02463,'fill':_0x2629f5||_0x4be59a[_0x36e43e(0x2af)](_0x4f4b1a['COLORS'][_0x36e43e(0x21a)],0x0),'strokeWidth':0x0,'stroke':_0x2629f5||_0x4be59a[_0x36e43e(0x2af)](_0x4f4b1a[_0x36e43e(0x355)][_0x36e43e(0x21a)],0x0),'evented':!0x1});this[_0x36e43e(0x234)]=_0x4e7c62,this[_0x36e43e(0x345)][_0x36e43e(0x1ef)](_0x4e7c62,_0x2a96f2['TEXT_RANGE_LAYER_INDEX']);const _0x437cf8=new _0x4d674a(_0x5c9aa8+_0x4f4b1a['Tools'][_0x36e43e(0x26b)](_0xd9205f),{'left':_0x39a8b7+_0x3fba6e-_0x1457f4,'top':_0xc4b58d+_0x1342ac-_0x108714,'text':_0xe48dbf,'color':_0x2629f5});this['_textBubble']=_0x437cf8,this[_0x36e43e(0x345)][_0x36e43e(0x1ef)](_0x437cf8,_0x2a96f2[_0x36e43e(0x34e)]),this[_0x36e43e(0x16c)]=!0x1;}[_0x6b9591(0x2c8)](){const _0xfc21db=_0x6b9591,_0x5c7d25=this[_0xfc21db(0x27b)][_0xfc21db(0x1e5)]['subscribeEvent'](()=>{const _0x49e2f0=_0xfc21db;this[_0x49e2f0(0x16c)]=!0x0;}),_0x32e75b=this[_0xfc21db(0x27b)][_0xfc21db(0x362)][_0xfc21db(0x300)](()=>{const _0x30ea4f=_0xfc21db;this[_0x30ea4f(0x1a8)]&&clearTimeout(this[_0x30ea4f(0x1a8)]),this[_0x30ea4f(0x1a8)]=setTimeout(()=>{const _0x2f5175=_0x30ea4f;this[_0x2f5175(0x16c)]=!0x1;},0x7d0);});return()=>{const _0x39651b=_0xfc21db;_0x5c7d25[_0x39651b(0x334)](),_0x32e75b['unsubscribe']();};}[_0x6b9591(0x177)](_0xf86021,_0x36432f,_0x117ae6,_0x3318ef){const _0x2620a5=_0x6b9591,_0x24a4ee=new _0x4f4b1a[(_0x2620a5(0x2d0))](_0xf86021)[_0x2620a5(0x31a)](0.2)[_0x2620a5(0x224)](),_0x57415c=new _0x4be59a[(_0x2620a5(0x198))](_0xcc4423+_0x4f4b1a[_0x2620a5(0x20c)][_0x2620a5(0x26b)](_0xd9205f),{'pointsGroup':_0x36432f,'fill':_0x24a4ee||_0x4be59a[_0x2620a5(0x2af)](_0x4f4b1a[_0x2620a5(0x355)]['black'],0.2),'left':_0x117ae6,'top':_0x3318ef,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2620a5(0x232)][_0x2620a5(0x121)](_0x57415c),this[_0x2620a5(0x345)]['addObject'](_0x57415c,_0x2a96f2[_0x2620a5(0x34e)]);}[_0x6b9591(0x245)](_0x3d2650,_0x18f276,_0x5a2dc8,_0x384340){const _0x15b83f=_0x6b9591,_0x3d7b09=new _0x4f4b1a[(_0x15b83f(0x2d0))](_0x3d2650)[_0x15b83f(0x31a)](0.2)[_0x15b83f(0x224)](),_0x59dc2e=new _0x4be59a['RegularPolygon'](_0x1410e6+_0x4f4b1a['Tools'][_0x15b83f(0x26b)](_0xd9205f),{'pointsGroup':_0x18f276,'fill':_0x3d7b09||_0x4be59a[_0x15b83f(0x2af)](_0x4f4b1a[_0x15b83f(0x355)]['black'],0.2),'left':_0x5a2dc8,'top':_0x384340,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x15b83f(0x232)][_0x15b83f(0x121)](_0x59dc2e),this[_0x15b83f(0x345)][_0x15b83f(0x1ef)](_0x59dc2e,_0x2a96f2[_0x15b83f(0x34e)]);}['_getAnchorBounding'](_0x529766){const _0x26d2f9=_0x529766[0x0],_0x4e8701=_0x26d2f9[0x0],_0x2723f8=_0x26d2f9[0x2],{x:_0x182da2,y:_0x358beb}=_0x4e8701,{x:_0x5e898d,y:_0x49ddfc}=_0x2723f8;return{'left':_0x182da2,'top':_0x358beb,'width':_0x5e898d-_0x182da2,'height':_0x49ddfc-_0x358beb};}[_0x6b9591(0x34a)](){const _0x2af7d3=_0x6b9591,{scaleX:_0x77e229,scaleY:_0x4f071a}=this['_scene'][_0x2af7d3(0x17e)]();return Math[_0x2af7d3(0x195)](_0x77e229,_0x4f071a);}}var _0x5d1ccf=Object[_0x6b9591(0x158)],_0xf17665=(_0x42d274,_0x2ef2fa,_0x3b9e1e,_0x2ed186)=>{const _0x48ad4a=_0x6b9591;for(var _0x3ae2ce=_0x2ed186>0x1?void 0x0:_0x2ed186?_0x5d1ccf(_0x2ef2fa,_0x3b9e1e):_0x2ef2fa,_0x49003a=_0x42d274[_0x48ad4a(0x1cb)]-0x1,_0x7ff7ce;_0x49003a>=0x0;_0x49003a--)(_0x7ff7ce=_0x42d274[_0x49003a])&&(_0x3ae2ce=_0x7ff7ce(_0x3ae2ce)||_0x3ae2ce);return _0x3ae2ce;},_0xcbd8d4=(_0x165bb8,_0x382252)=>(_0x2f36c5,_0x175309)=>_0x382252(_0x2f36c5,_0x175309,_0x165bb8);let _0x3717cb=class extends _0x4f4b1a[_0x6b9591(0x114)]{constructor(_0x5c6596,_0x1e5f87,_0x2f3e88,_0x329721,_0xc9df18){const _0x29d6f5=_0x6b9591;super(),_0x54ef86(this,_0x29d6f5(0x348),[]),_0x54ef86(this,'_cursors',[]),(this[_0x29d6f5(0x1d1)]=_0x5c6596,this['_docSkeletonManagerService']=_0x1e5f87,this['_collabCursorController']=_0x2f3e88,this[_0x29d6f5(0x360)]=_0x329721,this[_0x29d6f5(0x18f)]=_0xc9df18,this[_0x29d6f5(0x167)]());}['_init'](){const _0xb19820=_0x6b9591,_0x183a39=this[_0xb19820(0x1d1)][_0xb19820(0x248)],_0x4fccfe=this[_0xb19820(0x2ae)];this[_0xb19820(0x132)](_0x4c8fcf[_0xb19820(0x1dc)]([this[_0xb19820(0x14e)]['getCollabCursors$'](_0x183a39),this[_0xb19820(0x18f)]['currentTheme$']])[_0xb19820(0x342)](_0x1feca5[_0xb19820(0x1b7)](([_0x57d745,_0x3724ab])=>({'skeleton':_0x4fccfe['getSkeleton'](),'cursors':[..._0x57d745[_0xb19820(0x301)]()]['flatMap'](_0xdb093=>({..._0xdb093,'color':this[_0xb19820(0x18f)][_0xb19820(0x23d)](_0xdb093[_0xb19820(0x168)])}))})))[_0xb19820(0x187)](_0x23982b=>{const _0x19ad8b=_0xb19820;if(this[_0x19ad8b(0x32a)](),_0x23982b){const {skeleton:_0x5df966,cursors:_0x56e3d5}=_0x23982b;this['_updateCollabCursors'](_0x5df966,_0x56e3d5);}})),this[_0xb19820(0x321)](),this[_0xb19820(0x2de)]();}[_0x6b9591(0x148)](_0x534b64,_0x104cc3){const _0x412ca6=_0x6b9591,{scene:_0x53860c,mainComponent:_0x6a2b07}=this[_0x412ca6(0x1d1)],_0x514578=_0x104cc3['map'](_0x536e84=>new _0x5d20a1(_0x536e84,_0x53860c,_0x534b64,_0x6a2b07));this['_cursorShapes']=_0x514578,this[_0x412ca6(0x162)]=_0x104cc3;}[_0x6b9591(0x140)](){const _0x361547=_0x6b9591;this[_0x361547(0x32a)]();const {scene:_0x5cd5a8,mainComponent:_0x3a7621}=this[_0x361547(0x1d1)],_0x2ea0dd=this[_0x361547(0x2ae)][_0x361547(0x236)](),_0x3d142f=this[_0x361547(0x162)][_0x361547(0x1b7)](_0x25002c=>new _0x5d20a1(_0x25002c,_0x5cd5a8,_0x2ea0dd,_0x3a7621));this['_cursorShapes']=_0x3d142f;}[_0x6b9591(0x32a)](){const _0xec654=_0x6b9591;this[_0xec654(0x348)][_0xec654(0x11b)](_0x111604=>_0x111604['dispose']()),this['_cursorShapes']=[];}[_0x6b9591(0x2de)](){const _0x30d725=_0x6b9591,_0x5a13b5=[_0x2a96f2[_0x30d725(0x20f)]['id']];this[_0x30d725(0x132)](this[_0x30d725(0x360)][_0x30d725(0x33b)](_0x7e8ecc=>{const _0x13018b=_0x30d725;_0x5a13b5[_0x13018b(0x2d7)](_0x7e8ecc['id'])&&_0x7e8ecc[_0x13018b(0x17c)][_0x13018b(0x248)]===this[_0x13018b(0x1d1)]['unitId']&&this[_0x13018b(0x140)]();}));}[_0x6b9591(0x321)](){const _0x1c3599=_0x6b9591;this[_0x1c3599(0x132)](_0x4f4b1a[_0x1c3599(0x273)](this[_0x1c3599(0x1d1)]['engine'][_0x1c3599(0x1fe)])['pipe'](_0x1feca5['filter'](_0x5057f6=>_0x5057f6['type']===_0x4be59a[_0x1c3599(0x272)][_0x1c3599(0x193)]),_0x1feca5['throttleTime'](0x10))[_0x1c3599(0x187)](()=>{const _0x3dc11c=_0x1c3599;this[_0x3dc11c(0x140)]();}));}};_0x3717cb=_0xf17665([_0xcbd8d4(0x1,_0x4f4b1a[_0x6b9591(0x22e)](_0x49ed44[_0x6b9591(0x2d8)])),_0xcbd8d4(0x2,_0x4f4b1a[_0x6b9591(0x22e)](_0x24a51e)),_0xcbd8d4(0x3,_0x4f4b1a['ICommandService']),_0xcbd8d4(0x4,_0x4f4b1a[_0x6b9591(0x22e)](_0x4f4b1a['ThemeService']))],_0x3717cb);const _0xb4151f=0x1,_0x14c18f=1.5;class _0x20e8ad extends _0x4be59a[_0x6b9591(0x285)]{constructor(_0x4d5122,_0x5dc9a9){const _0x5a459c=_0x6b9591;super(_0x4d5122,_0x5dc9a9),_0x54ef86(this,'_color'),_0x54ef86(this,_0x5a459c(0x25b),!0x1),_0x54ef86(this,'_range'),_0x54ef86(this,'_name',''),_0x54ef86(this,_0x5a459c(0x1f7),_0x5a459c(0x221)),_0x54ef86(this,_0x5a459c(0x388)),(_0x5dc9a9&&this[_0x5a459c(0x160)](_0x5dc9a9),this['onPointerEnter$'][_0x5a459c(0x300)](()=>this[_0x5a459c(0x160)]({'hovered':!0x0})),this[_0x5a459c(0x362)][_0x5a459c(0x300)](()=>this[_0x5a459c(0x160)]({'hovered':!0x1})));}['setShapeProps'](_0x1e1d93){const _0x494d1f=_0x6b9591;var _0x5ea64e,_0x2d8946,_0x515adb,_0x2ceff5,_0x2b7647,_0xdf8f7a;this[_0x494d1f(0x20a)]=(_0x5ea64e=_0x1e1d93['color'])!=null?_0x5ea64e:this[_0x494d1f(0x20a)],this[_0x494d1f(0x25b)]=(_0x2d8946=_0x1e1d93[_0x494d1f(0x296)])!=null?_0x2d8946:this[_0x494d1f(0x25b)],this['_range']=(_0x515adb=_0x1e1d93[_0x494d1f(0x1a9)])!=null?_0x515adb:this[_0x494d1f(0x19f)],this[_0x494d1f(0x24e)]=(_0x2ceff5=_0x1e1d93[_0x494d1f(0x1b1)])!=null?_0x2ceff5:this[_0x494d1f(0x24e)],this['_labelPosition']=(_0x2b7647=_0x1e1d93[_0x494d1f(0x326)])!=null?_0x2b7647:this['_labelPosition'],this['_backgroundColor']=(_0xdf8f7a=_0x1e1d93[_0x494d1f(0x287)])!=null?_0xdf8f7a:this['_backgroundColor'],this['transformByState']({'width':_0x1e1d93[_0x494d1f(0x209)],'height':_0x1e1d93[_0x494d1f(0x380)]});}[_0x6b9591(0x1f8)](_0x4cb03a){const _0x1c8c15=_0x6b9591,{row:_0x5b5a34,column:_0x120566}=_0x4cb03a;if(_0x5b5a34>=this[_0x1c8c15(0x19f)][_0x1c8c15(0x320)]&&_0x5b5a34<=this[_0x1c8c15(0x19f)][_0x1c8c15(0x1c7)]&&_0x120566>=this[_0x1c8c15(0x19f)][_0x1c8c15(0x32e)]&&_0x120566<=this[_0x1c8c15(0x19f)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x1c8c15(0x160)]({'hovered':!0x1});}['triggerDblclick'](_0x5a5802){return!0x1;}['_draw'](_0x33b9b9){const _0x13e167=_0x6b9591;_0x4be59a[_0x13e167(0x14d)][_0x13e167(0x2db)](_0x33b9b9,{'width':this[_0x13e167(0x209)],'height':this[_0x13e167(0x380)],'strokeWidth':_0x14c18f,'stroke':this[_0x13e167(0x20a)],'evented':!0x1,'fill':this[_0x13e167(0x388)]}),this[_0x13e167(0x25b)]&&(_0x33b9b9[_0x13e167(0x286)](),_0x33b9b9[_0x13e167(0x2b2)](0x1,0x0,0x0,0x1,this[_0x13e167(0x209)],this[_0x13e167(0x1f7)]===_0x13e167(0x29d)?0x0:-0x14),_0x4d674a['drawWith'](_0x33b9b9,{'text':this[_0x13e167(0x24e)],'color':this[_0x13e167(0x20a)]}),_0x33b9b9[_0x13e167(0x153)]());}}var _0x4623cd=Object[_0x6b9591(0x158)],_0x59a4f6=(_0x3d5068,_0x2b9901,_0x4cf77e,_0x454586)=>{const _0x5b3fc4=_0x6b9591;for(var _0x5b8099=_0x454586>0x1?void 0x0:_0x454586?_0x4623cd(_0x2b9901,_0x4cf77e):_0x2b9901,_0x2b5452=_0x3d5068[_0x5b3fc4(0x1cb)]-0x1,_0x3c9ca4;_0x2b5452>=0x0;_0x2b5452--)(_0x3c9ca4=_0x3d5068[_0x2b5452])&&(_0x5b8099=_0x3c9ca4(_0x5b8099)||_0x5b8099);return _0x5b8099;},_0x4a5277=(_0xbe880f,_0x17ea0a)=>(_0x171a3e,_0x7c096e)=>_0x17ea0a(_0x171a3e,_0x7c096e,_0xbe880f);const _0x3a9653=0x1389;let _0x46a92e=class extends _0x4f4b1a['RxDisposable']{constructor(_0x18e0e3,_0x232e15,_0x175f8c,_0x841115){const _0x2eb8cd=_0x6b9591;super(),_0x54ef86(this,_0x2eb8cd(0x162),new Set()),_0x54ef86(this,'_lastPointer',null),(this[_0x2eb8cd(0x1d1)]=_0x18e0e3,this[_0x2eb8cd(0x149)]=_0x232e15,this[_0x2eb8cd(0x14e)]=_0x175f8c,this[_0x2eb8cd(0x18f)]=_0x841115,this[_0x2eb8cd(0x167)]());}[_0x6b9591(0x167)](){const _0x43b2b8=_0x6b9591;this[_0x43b2b8(0x149)][_0x43b2b8(0x205)][_0x43b2b8(0x342)](_0x1feca5['takeUntil'](this[_0x43b2b8(0x311)]),_0x1feca5[_0x43b2b8(0x358)](_0x28fe51=>{const _0x40c0af=_0x43b2b8;if(_0x28fe51){const _0x4e3109=_0x28fe51[_0x40c0af(0x1c4)];return _0x4c8fcf[_0x40c0af(0x1dc)](this[_0x40c0af(0x14e)][_0x40c0af(0x2c3)](this[_0x40c0af(0x1d1)][_0x40c0af(0x248)]),this['_themeService']['currentTheme$'])['pipe'](_0x1feca5['map'](([_0x5f4a54,_0x2b6c59])=>{const _0x256000=_0x40c0af,_0x26a66=new Map();return _0x5f4a54[_0x256000(0x11b)]((_0x3bd230,_0x409070)=>{const _0x3da7ed=_0x256000;if(_0x3bd230['sheetID']===_0x4e3109){const _0x5263e8={..._0x3bd230};_0x5263e8[_0x3da7ed(0x168)]=this[_0x3da7ed(0x18f)][_0x3da7ed(0x23d)](_0x3bd230[_0x3da7ed(0x168)]),_0x26a66[_0x3da7ed(0x1dd)](_0x409070,_0x5263e8);}}),{'skeleton':_0x28fe51,'cursors':_0x26a66};}));}return _0x4c8fcf['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x375098,cursors:_0x2929d9})=>{const _0x48a796=_0x43b2b8;this[_0x48a796(0x32a)](),_0x375098&&this['_updateCollabCursors'](_0x375098,_0x2929d9);}),this[_0x43b2b8(0x149)]['currentSkeleton$']['subscribe'](_0x4c0b01=>{const _0x5d9d43=_0x43b2b8;if(_0x4c0b01==null)return;const {skeleton:_0x5adaa6}=_0x4c0b01,{scene:_0x4fce5f}=this[_0x5d9d43(0x1d1)];_0x4fce5f['onPointerMove$'][_0x5d9d43(0x300)](_0x4f4b1a[_0x5d9d43(0x2e4)](_0x359726=>{const _0x551085=_0x5d9d43;var _0x49d132,_0x581f8e;const {offsetX:_0x383a2e,offsetY:_0x34d651}=_0x359726,{x:_0x4c5c38,y:_0x116cdb}=_0x4fce5f[_0x551085(0x331)](_0x4be59a[_0x551085(0x25d)][_0x551085(0x323)]([_0x383a2e,_0x34d651])),{scaleX:_0x5226d7,scaleY:_0x1a94b0}=_0x4fce5f[_0x551085(0x17e)](),_0x5729bf=_0x4fce5f[_0x551085(0x185)](_0x4be59a[_0x551085(0x12d)]['VIEW_MAIN']),_0xcdfea0=_0x4fce5f[_0x551085(0x226)](_0x4be59a[_0x551085(0x25d)][_0x551085(0x323)]([_0x4c5c38,_0x116cdb]),_0x5729bf),_0x2d4dec=_0x5adaa6[_0x551085(0x1c0)](_0x383a2e,_0x34d651,_0x5226d7,_0x1a94b0,_0xcdfea0);((_0x49d132=this[_0x551085(0x2cd)])==null?void 0x0:_0x49d132[_0x551085(0x374)])===_0x2d4dec[_0x551085(0x374)]&&((_0x581f8e=this[_0x551085(0x2cd)])==null?void 0x0:_0x581f8e[_0x551085(0x2e3)])===_0x2d4dec[_0x551085(0x2e3)]||this[_0x551085(0x162)]['forEach'](_0x3ee4e6=>{const _0x441c14=_0x551085;_0x3ee4e6[_0x441c14(0x1f8)](_0x2d4dec);});},0x64));});}['_updateCollabCursors'](_0x442fbd,_0xa39912){const _0x7ecdfa=_0x6b9591;var _0x578885;const _0x2fd607=(_0x578885=this[_0x7ecdfa(0x149)]['getCurrent']())==null?void 0x0:_0x578885[_0x7ecdfa(0x1ca)];if(!_0x2fd607)return;const _0x45fda6=this[_0x7ecdfa(0x271)]();if(!_0x45fda6)return;this[_0x7ecdfa(0x162)]['forEach'](_0x436d14=>{_0x436d14['makeDirty']();});const {scene:_0x16d91a}=_0x45fda6,_0x16699=_0x43319f(Array[_0x7ecdfa(0x139)](_0xa39912['values']()))[_0x7ecdfa(0x1b7)](_0x43ed69=>{const _0x59ad20=_0x7ecdfa,{color:_0x2cd489,range:_0x1ed2e9,name:_0x3b4d92,selection:_0xe76999,sheetID:_0x5614ea}=_0x43ed69,{startColumn:_0x3e9eaf,startRow:_0x5f2832,endColumn:_0x15b92,endRow:_0x38338d}=_0x1ed2e9,_0x21824=_0xad51e4[_0x59ad20(0x361)](_0x5f2832,_0x3e9eaf,_0x16d91a,_0x2fd607),_0x4e93e3=_0xad51e4['getCoordByCell'](_0x38338d,_0x15b92,_0x16d91a,_0x2fd607),{columnHeaderHeightAndMarginTop:_0x23c6b5}=_0x2fd607,{startX:_0x3b7dda,startY:_0x4a9765}=_0x21824,{endX:_0x4a085b,endY:_0x5b2394}=_0x4e93e3,_0x5a247e=_0x4a085b-_0x3b7dda,_0x11c281=_0x5b2394-_0x4a9765,_0x40dfe7={'labelPosition':_0x4a9765-_0x23c6b5>=_0x108714?_0x59ad20(0x221):_0x59ad20(0x29d),'sheetID':_0x5614ea,'range':_0x1ed2e9,'color':_0x2cd489,'name':_0x3b4d92,'selection':_0xe76999,'left':_0x3b7dda,'top':_0x4a9765,'width':_0x5a247e,'height':_0x11c281,'evented':!0x1,'zIndex':_0x3a9653};return new _0x20e8ad(_0x3b4d92,_0x40dfe7);});_0x16d91a[_0x7ecdfa(0x199)](_0x16699,_0xb4151f),this[_0x7ecdfa(0x162)]=new Set(_0x16699);}[_0x6b9591(0x32a)](){const _0x5a9084=_0x6b9591;var _0x22e98a;(_0x22e98a=this[_0x5a9084(0x162)])==null||_0x22e98a[_0x5a9084(0x11b)](_0x328b94=>_0x328b94[_0x5a9084(0x161)]());}[_0x6b9591(0x271)](){const _0x2035ef=_0x6b9591;return _0xad51e4[_0x2035ef(0x302)](this[_0x2035ef(0x1d1)][_0x2035ef(0x267)],this[_0x2035ef(0x1d1)]);}};_0x46a92e=_0x59a4f6([_0x4a5277(0x1,_0x4f4b1a[_0x6b9591(0x22e)](_0xad51e4[_0x6b9591(0x12f)])),_0x4a5277(0x2,_0x4f4b1a[_0x6b9591(0x22e)](_0x24a51e)),_0x4a5277(0x3,_0x4f4b1a[_0x6b9591(0x22e)](_0x4f4b1a[_0x6b9591(0x364)]))],_0x46a92e);function _0x43319f(_0x58645a){const _0x280edb=_0x6b9591,_0x28de9a=new Map();return _0x58645a[_0x280edb(0x11b)](_0x3ff6ab=>{const _0x44986c=_0x280edb;if(_0x28de9a[_0x44986c(0x164)](_0x3ff6ab[_0x44986c(0x21b)])){const _0x50cc41=_0x28de9a['get'](_0x3ff6ab['selection']);_0x50cc41['name']+=',\x20'+_0x3ff6ab['name'];}else _0x28de9a[_0x44986c(0x1dd)](_0x3ff6ab[_0x44986c(0x21b)],_0x3ff6ab);}),Array['from'](_0x28de9a['values']());}var _0x36454d=function(){const _0x147ce0=_0x6b9591;return _0x36454d=Object['assign']||function(_0x4371e0){const _0x5bcbdf=_0x2b52;for(var _0x4bdd4f,_0x6836fd=0x1,_0x122bc5=arguments[_0x5bcbdf(0x1cb)];_0x6836fd<_0x122bc5;_0x6836fd++){_0x4bdd4f=arguments[_0x6836fd];for(var _0x306f4 in _0x4bdd4f)Object[_0x5bcbdf(0x128)][_0x5bcbdf(0x1bd)]['call'](_0x4bdd4f,_0x306f4)&&(_0x4371e0[_0x306f4]=_0x4bdd4f[_0x306f4]);}return _0x4371e0;},_0x36454d[_0x147ce0(0x215)](this,arguments);},_0x200f08=function(_0x21a47b,_0x2e0ebe){const _0x5e1997=_0x6b9591;var _0x8b60bd={};for(var _0x20ec7c in _0x21a47b)Object[_0x5e1997(0x128)]['hasOwnProperty'][_0x5e1997(0x2e7)](_0x21a47b,_0x20ec7c)&&_0x2e0ebe[_0x5e1997(0x373)](_0x20ec7c)<0x0&&(_0x8b60bd[_0x20ec7c]=_0x21a47b[_0x20ec7c]);if(_0x21a47b!=null&&typeof Object[_0x5e1997(0x38f)]==_0x5e1997(0x189)){for(var _0x46c0d9=0x0,_0x20ec7c=Object[_0x5e1997(0x38f)](_0x21a47b);_0x46c0d9<_0x20ec7c[_0x5e1997(0x1cb)];_0x46c0d9++)_0x2e0ebe[_0x5e1997(0x373)](_0x20ec7c[_0x46c0d9])<0x0&&Object[_0x5e1997(0x128)][_0x5e1997(0x2b7)][_0x5e1997(0x2e7)](_0x21a47b,_0x20ec7c[_0x46c0d9])&&(_0x8b60bd[_0x20ec7c[_0x46c0d9]]=_0x21a47b[_0x20ec7c[_0x46c0d9]]);}return _0x8b60bd;},_0x578a4e=_0x471115[_0x6b9591(0x154)](function(_0x390612,_0x260ed4){const _0x57e8a5=_0x6b9591;var _0x1c8b4b=_0x390612[_0x57e8a5(0x110)],_0x3dbe6d=_0x390612['id'],_0x5cfa46=_0x390612[_0x57e8a5(0x250)],_0x19a0d9=_0x390612['extend'],_0x3c0330=_0x200f08(_0x390612,[_0x57e8a5(0x110),'id','className',_0x57e8a5(0x1ff)]),_0x12828a='univerjs-icon\x20univerjs-icon-'[_0x57e8a5(0x112)](_0x3dbe6d,'\x20')[_0x57e8a5(0x112)](_0x5cfa46||'')[_0x57e8a5(0x126)](),_0x33e183=_0x471115['useRef']('_'[_0x57e8a5(0x112)](_0x25d6bb()));return _0x40e89d(_0x1c8b4b,''[_0x57e8a5(0x112)](_0x3dbe6d),{'defIds':_0x1c8b4b[_0x57e8a5(0x194)],'idSuffix':_0x33e183['current']},_0x36454d({'ref':_0x260ed4,'className':_0x12828a},_0x3c0330),_0x19a0d9);});function _0x40e89d(_0x59ac7a,_0x27882d,_0x59b3ed,_0x1e0583,_0x117c6e){const _0x214770=_0x6b9591;return _0x471115['createElement'](_0x59ac7a[_0x214770(0x12e)],_0x36454d(_0x36454d({'key':_0x27882d},_0x6bc538(_0x59ac7a,_0x59b3ed,_0x117c6e)),_0x1e0583),(_0xdc2f4f(_0x59ac7a,_0x59b3ed)[_0x214770(0x29c)]||[])['map'](function(_0x515a0e,_0x2ec783){const _0x4f3c3d=_0x214770;return _0x40e89d(_0x515a0e,''[_0x4f3c3d(0x112)](_0x27882d,'-')['concat'](_0x59ac7a['tag'],'-')[_0x4f3c3d(0x112)](_0x2ec783),_0x59b3ed,void 0x0,_0x117c6e);}));}function _0x6bc538(_0x38912d,_0x5810d9,_0x49ea87){const _0xb90be7=_0x6b9591;var _0x284a76=_0x36454d({},_0x38912d[_0xb90be7(0x1e9)]);_0x49ea87!=null&&_0x49ea87['colorChannel1']&&_0x284a76['fill']==='colorChannel1'&&(_0x284a76[_0xb90be7(0x1b0)]=_0x49ea87['colorChannel1']),_0x38912d[_0xb90be7(0x12e)]==='mask'&&_0x284a76['id']&&(_0x284a76['id']=_0x284a76['id']+_0x5810d9[_0xb90be7(0x201)]),Object[_0xb90be7(0x142)](_0x284a76)['forEach'](function(_0x41b573){const _0x68f33b=_0xb90be7;var _0x1bd03a=_0x41b573[0x0],_0xabcd26=_0x41b573[0x1];_0x1bd03a===_0x68f33b(0x15c)&&typeof _0xabcd26==_0x68f33b(0x1ed)&&(_0x284a76[_0x1bd03a]=_0xabcd26[_0x68f33b(0x270)](/url\(#(.*)\)/,_0x68f33b(0x1bb)[_0x68f33b(0x112)](_0x5810d9[_0x68f33b(0x201)],')')));});var _0x3f903d=_0x5810d9['defIds'];return!_0x3f903d||_0x3f903d['length']===0x0||(_0x38912d[_0xb90be7(0x12e)]===_0xb90be7(0x141)&&_0x284a76[_0xb90be7(0x186)]&&(_0x284a76[_0xb90be7(0x186)]=_0x284a76[_0xb90be7(0x186)]+_0x5810d9[_0xb90be7(0x201)]),Object['entries'](_0x284a76)[_0xb90be7(0x11b)](function(_0x40c73c){const _0x374d99=_0xb90be7;var _0x24a708=_0x40c73c[0x0],_0xe4fccc=_0x40c73c[0x1];typeof _0xe4fccc==_0x374d99(0x1ed)&&(_0x284a76[_0x24a708]=_0xe4fccc[_0x374d99(0x270)](/url\(#(.*)\)/,_0x374d99(0x1bb)[_0x374d99(0x112)](_0x5810d9['idSuffix'],')')));})),_0x284a76;}function _0xdc2f4f(_0x4ec035,_0x28b509){const _0x207a80=_0x6b9591;var _0x4522e2,_0x145232=_0x28b509['defIds'];return!_0x145232||_0x145232[_0x207a80(0x1cb)]===0x0?_0x4ec035:_0x4ec035['tag']===_0x207a80(0x143)&&(!((_0x4522e2=_0x4ec035[_0x207a80(0x29c)])===null||_0x4522e2===void 0x0)&&_0x4522e2['length'])?_0x36454d(_0x36454d({},_0x4ec035),{'children':_0x4ec035[_0x207a80(0x29c)][_0x207a80(0x1b7)](function(_0x3a64d){const _0x5c1db7=_0x207a80;return typeof _0x3a64d['attrs']['id']==_0x5c1db7(0x1ed)&&_0x145232&&_0x145232['includes'](_0x3a64d[_0x5c1db7(0x1e9)]['id'])?_0x36454d(_0x36454d({},_0x3a64d),{'attrs':_0x36454d(_0x36454d({},_0x3a64d[_0x5c1db7(0x1e9)]),{'id':_0x3a64d[_0x5c1db7(0x1e9)]['id']+_0x28b509[_0x5c1db7(0x201)]})}):_0x3a64d;})}):_0x4ec035;}function _0x25d6bb(){const _0x2b032b=_0x6b9591;return Math[_0x2b032b(0x202)]()[_0x2b032b(0x23c)](0x24)[_0x2b032b(0x2a6)](0x2,0x8);}_0x578a4e[_0x6b9591(0x20e)]=_0x6b9591(0x17a);var _0x3e7c7d={'tag':'svg','attrs':{'xmlns':_0x6b9591(0x1fd),'fill':'none','viewBox':_0x6b9591(0x171),'width':_0x6b9591(0x1e0),'height':_0x6b9591(0x1e0)},'children':[{'tag':'g','attrs':{'clipPath':_0x6b9591(0x23b)},'children':[{'tag':_0x6b9591(0x2b6),'attrs':{'stroke':_0x6b9591(0x239),'d':_0x6b9591(0x1f9),'strokeLinecap':'round','strokeLinejoin':_0x6b9591(0x30c),'strokeWidth':1.2}}]},{'tag':_0x6b9591(0x143),'attrs':{},'children':[{'tag':_0x6b9591(0x124),'attrs':{'id':_0x6b9591(0x134)},'children':[{'tag':_0x6b9591(0x2b6),'attrs':{'fill':_0x6b9591(0x318),'d':_0x6b9591(0x21f)}}]}]}],'defIds':[_0x6b9591(0x134)]},_0x1e2717=_0x471115['forwardRef'](function(_0x49c504,_0x2bc21a){const _0x1f5bfd=_0x6b9591;return _0x471115[_0x1f5bfd(0x2d6)](_0x578a4e,Object['assign']({},_0x49c504,{'id':_0x1f5bfd(0x244),'ref':_0x2bc21a,'icon':_0x3e7c7d}));});_0x1e2717['displayName']=_0x6b9591(0x30d);var _0x5f588c={'tag':_0x6b9591(0x291),'attrs':{'xmlns':_0x6b9591(0x1fd),'fill':_0x6b9591(0x104),'viewBox':_0x6b9591(0x261),'width':_0x6b9591(0x1e0),'height':_0x6b9591(0x1e0)},'children':[{'tag':'g','attrs':{'clipPath':_0x6b9591(0x176)},'children':[{'tag':_0x6b9591(0x2b6),'attrs':{'stroke':_0x6b9591(0x239),'d':_0x6b9591(0x31d),'strokeLinecap':_0x6b9591(0x30c),'strokeLinejoin':_0x6b9591(0x30c),'strokeWidth':1.2}}]},{'tag':_0x6b9591(0x143),'attrs':{},'children':[{'tag':_0x6b9591(0x124),'attrs':{'id':_0x6b9591(0x150)},'children':[{'tag':_0x6b9591(0x2b6),'attrs':{'fill':_0x6b9591(0x318),'d':_0x6b9591(0x21f),'transform':_0x6b9591(0x1e1)}}]}]}],'defIds':[_0x6b9591(0x150)]},_0x1f0acc=_0x471115[_0x6b9591(0x154)](function(_0x38bcc8,_0x56f62b){const _0x30c445=_0x6b9591;return _0x471115[_0x30c445(0x2d6)](_0x578a4e,Object[_0x30c445(0x262)]({},_0x38bcc8,{'id':_0x30c445(0x18e),'ref':_0x56f62b,'icon':_0x5f588c}));});_0x1f0acc['displayName']='OnLineIcon';function _0x44d6fe(_0x5ab572){const _0x3c23f4=_0x6b9591;switch(_0x5ab572){case _0x353bdb['CollaborationStatus']['OFFLINE']:return _0x3c23f4(0x152);case _0x353bdb[_0x3c23f4(0x155)][_0x3c23f4(0x2a7)]:return _0x3c23f4(0x19d);case _0x353bdb[_0x3c23f4(0x155)]['FETCH_MISS']:return'collabStatus.fetchMiss';case _0x353bdb[_0x3c23f4(0x155)][_0x3c23f4(0x157)]:return _0x3c23f4(0xfb);case _0x353bdb[_0x3c23f4(0x155)][_0x3c23f4(0x1c9)]:case _0x353bdb[_0x3c23f4(0x155)][_0x3c23f4(0x308)]:return _0x3c23f4(0x2a9);case _0x353bdb['CollaborationStatus']['SYNCED']:case _0x353bdb[_0x3c23f4(0x155)][_0x3c23f4(0x37c)]:return _0x3c23f4(0x36a);}}function _0x52b7e7(_0x32e1b9){const _0x476524=_0x6b9591,{status$:_0x203013}=_0x32e1b9,_0x5b3301=_0x124131[_0x476524(0x1eb)](_0x203013,_0x353bdb[_0x476524(0x155)]['NOT_COLLAB']),_0x4a4c81=_0x124131['useDependency'](_0x4f4b1a[_0x476524(0x32c)]),_0x1c495c=_0x124131[_0x476524(0x10e)](_0x353bdb[_0x476524(0x1bf)]),_0x3eca46=_0x5b3301!==_0x353bdb[_0x476524(0x155)][_0x476524(0x37f)],_0xd178f9=_0x4a4c81['t'](_0x44d6fe(_0x5b3301)),_0x1f177f=_0x3eca46?_0x5d3531[_0x476524(0x33e)](_0x1f0acc,{}):_0x5d3531[_0x476524(0x33e)](_0x1e2717,{}),_0x310806=_0x471115[_0x476524(0x190)](()=>{const _0x41ae09=_0x476524;_0x3eca46||_0x1c495c[_0x41ae09(0x297)]();},[_0x3eca46,_0x1c495c]);function _0x37972a(){const _0x3b8a10=_0x476524;return _0x5d3531['jsxs'](_0x3b8a10(0x2cc),{'className':_0x3b8a10(0x12c),'onClick':_0x310806,'children':[_0x5d3531[_0x3b8a10(0x33e)](_0x3b8a10(0x2cc),{'className':_0x532a93[_0x3b8a10(0x2cb)]('univer-flex\x20univer-mr-2\x20univer-text-xl',{'univer-text-green-500':_0x3eca46,'univer-text-red-500':!_0x3eca46}),'children':_0x1f177f}),_0x5d3531[_0x3b8a10(0x33e)]('div',{'className':_0x3b8a10(0x306),'children':_0xd178f9})]});}return _0x3eca46?_0x37972a():_0x5d3531[_0x476524(0x33e)](_0x532a93[_0x476524(0x13f)],{'title':_0x4a4c81['t']('collab-client.tooltip.reconnect'),'children':_0x37972a()});}var _0x46fbfc=Object[_0x6b9591(0x158)],_0x1d527b=(_0xca967e,_0x151e78,_0x3ea691,_0x2f02a8)=>{const _0x6114b=_0x6b9591;for(var _0x40d46a=_0x2f02a8>0x1?void 0x0:_0x2f02a8?_0x46fbfc(_0x151e78,_0x3ea691):_0x151e78,_0x22703e=_0xca967e[_0x6114b(0x1cb)]-0x1,_0x3601c6;_0x22703e>=0x0;_0x22703e--)(_0x3601c6=_0xca967e[_0x22703e])&&(_0x40d46a=_0x3601c6(_0x40d46a)||_0x40d46a);return _0x40d46a;},_0x471327=(_0x4f55ac,_0x3ad069)=>(_0x463cd1,_0x3c0f0b)=>_0x3ad069(_0x463cd1,_0x3c0f0b,_0x4f55ac);_0x2a7733['DesktopCollaborationStatusDisplayController']=class extends _0x4f4b1a[_0x6b9591(0x169)]{constructor(_0x202f6a,_0x437b96,_0x51b189,_0x45282e){const _0x453976=_0x6b9591;super(),_0x54ef86(this,_0x453976(0x106),new _0x4c8fcf[(_0x453976(0x231))](_0x353bdb['CollaborationStatus'][_0x453976(0x157)])),(this['_univerInstanceService']=_0x202f6a,this[_0x453976(0x15f)]=_0x437b96,this[_0x453976(0x17d)]=_0x51b189,this[_0x453976(0x376)]=_0x45282e,this['_initStatusComponent'](),this[_0x453976(0x1d8)]());}[_0x6b9591(0x1d8)](){const _0x2f3c3e=_0x6b9591;this[_0x2f3c3e(0x132)](this[_0x2f3c3e(0x330)][_0x2f3c3e(0x18d)]['pipe'](_0x4c8fcf[_0x2f3c3e(0x358)](()=>{const _0x45ca61=_0x2f3c3e,_0x5c03ae=this['_univerInstanceService'][_0x45ca61(0x15e)]();return _0x5c03ae?this['_collaborationController']['getCollabEntity$'](_0x5c03ae[_0x45ca61(0x27c)]()):_0x4c8fcf['of'](null);}),_0x4c8fcf[_0x2f3c3e(0x358)](_0xfdaf2d=>_0xfdaf2d?_0xfdaf2d[_0x2f3c3e(0x10d)]:_0x4c8fcf['of'](_0x353bdb['CollaborationStatus'][_0x2f3c3e(0x157)])))[_0x2f3c3e(0x187)](_0x484d1a=>{const _0x4fd2fe=_0x2f3c3e;this[_0x4fd2fe(0x106)][_0x4fd2fe(0x1a5)](_0x484d1a);}));}['_initStatusComponent'](){const _0x145f12=_0x6b9591;this[_0x145f12(0x132)](this['_uiPartsService']['registerComponent'](_0x124131[_0x145f12(0x127)][_0x145f12(0x29f)],()=>_0x124131[_0x145f12(0x23a)](_0x4e2278({'status$':this['_status$'][_0x145f12(0x303)]()}),this[_0x145f12(0x15f)])));}},_0x2a7733[_0x6b9591(0x280)]=_0x1d527b([_0x471327(0x0,_0x4f4b1a[_0x6b9591(0x17b)]),_0x471327(0x1,_0x4f4b1a[_0x6b9591(0x22e)](_0x4f4b1a['Injector'])),_0x471327(0x2,_0x4f4b1a[_0x6b9591(0x22e)](_0x353bdb[_0x6b9591(0x353)])),_0x471327(0x3,_0x124131[_0x6b9591(0x284)])],_0x2a7733[_0x6b9591(0x280)]);function _0x4e2278(_0x467f31){const {status$:_0xd4ba30}=_0x467f31;return function(){const _0x41e9ee=_0x2b52;return _0x5d3531[_0x41e9ee(0x33e)](_0x52b7e7,{'status$':_0xd4ba30});};}var _0x27ee5e=Object[_0x6b9591(0x158)],_0x20a0ed=(_0x5d7c37,_0x13fcf4,_0x1827cb,_0x278337)=>{const _0x56d5ae=_0x6b9591;for(var _0x1396ea=_0x278337>0x1?void 0x0:_0x278337?_0x27ee5e(_0x13fcf4,_0x1827cb):_0x13fcf4,_0x5c2a20=_0x5d7c37[_0x56d5ae(0x1cb)]-0x1,_0x3dd82c;_0x5c2a20>=0x0;_0x5c2a20--)(_0x3dd82c=_0x5d7c37[_0x5c2a20])&&(_0x1396ea=_0x3dd82c(_0x1396ea)||_0x1396ea);return _0x1396ea;},_0x3c11ee=(_0x5b5350,_0x273b23)=>(_0x2b1232,_0x494f76)=>_0x273b23(_0x2b1232,_0x494f76,_0x5b5350);let _0x1ea07d=class extends _0x4f4b1a[_0x6b9591(0x169)]{constructor(_0x317379,_0x1cc8e8,_0x199acc,_0x96f466,_0x41cf3b,_0x3c6a6d){const _0x1d38ff=_0x6b9591;super(),this[_0x1d38ff(0x385)]=_0x317379,this[_0x1d38ff(0x228)]=_0x1cc8e8,this['_collaborationUIEventService']=_0x199acc,this[_0x1d38ff(0x281)]=_0x96f466,this['_notificationService']=_0x41cf3b,this[_0x1d38ff(0x377)]=_0x3c6a6d,this[_0x1d38ff(0x25e)](),this[_0x1d38ff(0x230)]();}['_setupBeforeClosingHandler'](){this['disposeWithMe'](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x39bbb7=_0x2b52;if(this[_0x39bbb7(0x228)][_0x39bbb7(0x113)]['size'])return this['_localeService']['t'](_0x39bbb7(0x307));}));}[_0x6b9591(0x230)](){const _0x53ba2d=_0x6b9591;this[_0x53ba2d(0x132)](this[_0x53ba2d(0x109)][_0x53ba2d(0x38b)]['subscribe'](_0x60b41e=>{const _0x37c3d5=_0x53ba2d;_0x60b41e['id']===_0x353bdb[_0x37c3d5(0x30f)][_0x37c3d5(0x255)]&&this[_0x37c3d5(0x281)][_0x37c3d5(0x219)]({'type':_0x532a93['MessageType'][_0x37c3d5(0x1d7)],'content':this[_0x37c3d5(0x377)]['t']('collaboration.single-unit.warning')}),_0x60b41e['id']===_0x353bdb['CollaborationUIEventId'][_0x37c3d5(0x2e5)]&&this[_0x37c3d5(0x281)][_0x37c3d5(0x219)]({'type':_0x532a93['MessageType'][_0x37c3d5(0x1d7)],'content':this[_0x37c3d5(0x377)]['t']('collaboration.closeRoom')}),_0x60b41e['id']===_0x353bdb[_0x37c3d5(0x30f)][_0x37c3d5(0x1a0)]&&this[_0x37c3d5(0x1f1)]['show']({'title':this['_localeService']['t'](_0x37c3d5(0x16a)),'content':this['_localeService']['t'](_0x37c3d5(0x30a)),'type':'error','duration':0x0}),_0x60b41e['id']===_0x353bdb[_0x37c3d5(0x30f)]['CONFLICT']&&this['_messageService'][_0x37c3d5(0x219)]({'type':_0x532a93['MessageType']['Error'],'content':this[_0x37c3d5(0x377)]['t']('collaboration.closeRoom')+'('+_0x60b41e[_0x37c3d5(0x1e7)]+')'}),_0x60b41e['id']===_0x353bdb[_0x37c3d5(0x30f)]['JOIN_ROOM_FAILED']&&this[_0x37c3d5(0x281)]['show']({'type':_0x532a93[_0x37c3d5(0x386)][_0x37c3d5(0x1d7)],'content':this[_0x37c3d5(0x377)]['t'](_0x60b41e['data']||'')}),_0x60b41e['id']===_0x353bdb[_0x37c3d5(0x30f)][_0x37c3d5(0x1d5)]&&this[_0x37c3d5(0x281)][_0x37c3d5(0x219)]({'type':_0x532a93['MessageType'][_0x37c3d5(0x1d7)],'content':this['_localeService']['t'](_0x37c3d5(0x100))}),_0x60b41e['id']===_0x353bdb[_0x37c3d5(0x30f)]['SOCKET_FAILED']&&this[_0x37c3d5(0x281)][_0x37c3d5(0x219)]({'type':_0x532a93[_0x37c3d5(0x386)][_0x37c3d5(0x37e)],'content':this[_0x37c3d5(0x377)]['t'](_0x37c3d5(0x384))}),_0x60b41e['id']===_0x353bdb[_0x37c3d5(0x30f)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x37c3d5(0x281)][_0x37c3d5(0x219)]({'type':_0x532a93[_0x37c3d5(0x386)]['Error'],'content':this[_0x37c3d5(0x377)]['t'](_0x37c3d5(0x1f3))});}));}};_0x1ea07d=_0x20a0ed([_0x3c11ee(0x0,_0x124131['IBeforeCloseService']),_0x3c11ee(0x1,_0x353bdb[_0x6b9591(0x2d1)]),_0x3c11ee(0x2,_0x4f4b1a['Inject'](_0x353bdb[_0x6b9591(0x34c)])),_0x3c11ee(0x3,_0x124131[_0x6b9591(0x2fb)]),_0x3c11ee(0x4,_0x124131[_0x6b9591(0x207)]),_0x3c11ee(0x5,_0x4f4b1a[_0x6b9591(0x22e)](_0x4f4b1a[_0x6b9591(0x32c)]))],_0x1ea07d);const _0x2208a6=_0x6b9591(0x33a),_0xbc1202={},_0x4b3148=_0x4f4b1a[_0x6b9591(0x184)](_0x6b9591(0x238));var _0xe67ad9=Object[_0x6b9591(0x158)],_0xa19887=(_0x4ac041,_0x170cce,_0x4a6eeb,_0x2d57d7)=>{for(var _0x5af5bf=_0x2d57d7>0x1?void 0x0:_0x2d57d7?_0xe67ad9(_0x170cce,_0x4a6eeb):_0x170cce,_0x2f5a1c=_0x4ac041['length']-0x1,_0x38d4e6;_0x2f5a1c>=0x0;_0x2f5a1c--)(_0x38d4e6=_0x4ac041[_0x2f5a1c])&&(_0x5af5bf=_0x38d4e6(_0x5af5bf)||_0x5af5bf);return _0x5af5bf;},_0x39c86b=(_0x7236b,_0x1d1f20)=>(_0xc43cb,_0x216661)=>_0x1d1f20(_0xc43cb,_0x216661,_0x7236b);_0x2a7733[_0x6b9591(0x2df)]=class extends _0x4f4b1a[_0x6b9591(0x114)]{constructor(_0x331973,_0x304745,_0x1327a3,_0x34d808,_0x324f89){const _0x39b747=_0x6b9591;super(),this['_urlService']=_0x331973,this[_0x39b747(0x1e4)]=_0x304745,this['_commandService']=_0x1327a3,this['_dataLoaderService']=_0x34d808,_0x324f89?_0x324f89==null||_0x324f89[_0x39b747(0x2b4)]()[_0x39b747(0x34f)](()=>this[_0x39b747(0x167)]()):(this[_0x39b747(0x1e4)][_0x39b747(0x130)](_0x39b747(0x2ff),_0x39b747(0x312)),this[_0x39b747(0x167)]());}async[_0x6b9591(0x167)](){const _0x24d66d=_0x6b9591,_0x592291=this[_0x24d66d(0x21e)][_0x24d66d(0x293)](_0x24d66d(0x267)),_0x29785c=this[_0x24d66d(0x21e)]['getParam'](_0x24d66d(0x2bf)),_0x22c120=this[_0x24d66d(0x21e)][_0x24d66d(0x293)](_0x24d66d(0x349));if(!_0x592291||!_0x29785c){this[_0x24d66d(0x1e4)][_0x24d66d(0x130)]('[CollaborationDataLoaderController]',_0x24d66d(0x319));return;}const _0x230247=await this[_0x24d66d(0x11f)][_0x24d66d(0x32b)](_0x592291,Number(_0x29785c),_0x22c120);_0x230247&&_0x230247 instanceof _0x4f4b1a[_0x24d66d(0x136)]&&this[_0x24d66d(0x188)](_0x230247);}async[_0x6b9591(0x188)](_0x5dd7d0){const _0x35767a=_0x6b9591;await this[_0x35767a(0x1e8)](_0x5dd7d0),_0x5dd7d0[_0x35767a(0x35d)][_0x35767a(0x342)](_0x4c8fcf[_0x35767a(0x375)](this[_0x35767a(0x311)]))[_0x35767a(0x187)](_0x3d5b35=>{const _0x4d44d5=_0x35767a;_0x3d5b35&&this[_0x4d44d5(0x371)](_0x3d5b35);}),this['_urlService']['urlChange$'][_0x35767a(0x342)](_0x4c8fcf['takeUntil'](this[_0x35767a(0x311)]))[_0x35767a(0x187)](()=>this['_updateSubUnitFromURLParams'](_0x5dd7d0));}['_updateURLWithCurrentState'](_0x3611b6,_0x2f5026=!0x1){const _0xc8965c=_0x6b9591,_0x11ee53=this['_urlService'][_0xc8965c(0x293)]('subunit');_0x3611b6[_0xc8965c(0x23e)]()!==_0x11ee53&&this[_0xc8965c(0x21e)][_0xc8965c(0x1fb)](_0xc8965c(0x349),_0x3611b6['getSheetId'](),_0x2f5026);}async[_0x6b9591(0x1e8)](_0x37aee2){const _0xe44994=_0x6b9591;var _0x15779e;const _0x5666d1=this[_0xe44994(0x21e)][_0xe44994(0x293)](_0xe44994(0x349));if(!_0x5666d1||!_0x37aee2[_0xe44994(0x2f8)](_0x5666d1)){const _0x23594e=_0x37aee2[_0xe44994(0x34d)]()[0x0],_0xca76bb=_0x37aee2['getSheetBySheetId'](_0x23594e);if(!_0xca76bb)return;this['_updateURLWithCurrentState'](_0xca76bb,!0x0),await this[_0xe44994(0x360)]['executeCommand'](_0x54d6f1['SetWorksheetActivateCommand']['id'],{'unitId':_0x37aee2[_0xe44994(0x27c)](),'subUnitId':_0x23594e});return;}((_0x15779e=_0x37aee2[_0xe44994(0x119)]())==null?void 0x0:_0x15779e[_0xe44994(0x23e)]())!==_0x5666d1&&await this['_commandService'][_0xe44994(0x15a)](_0x54d6f1[_0xe44994(0x10b)]['id'],{'unitId':_0x37aee2[_0xe44994(0x27c)](),'subUnitId':_0x5666d1});}},_0x2a7733[_0x6b9591(0x2df)]=_0xa19887([_0x39c86b(0x0,_0x4b3148),_0x39c86b(0x1,_0x4f4b1a[_0x6b9591(0x111)]),_0x39c86b(0x2,_0x4f4b1a[_0x6b9591(0x174)]),_0x39c86b(0x3,_0x4f4b1a[_0x6b9591(0x22e)](_0x353bdb[_0x6b9591(0x118)])),_0x39c86b(0x4,_0x4f4b1a[_0x6b9591(0x352)](_0x14ce2b[_0x6b9591(0x1c3)]))],_0x2a7733[_0x6b9591(0x2df)]);var _0x450642=Object[_0x6b9591(0x158)],_0x44f397=(_0x6d4dac,_0x476248,_0x332c39,_0x3a6993)=>{const _0x3b9c03=_0x6b9591;for(var _0xbdcc83=_0x3a6993>0x1?void 0x0:_0x3a6993?_0x450642(_0x476248,_0x332c39):_0x476248,_0x13dedb=_0x6d4dac[_0x3b9c03(0x1cb)]-0x1,_0x46a8c9;_0x13dedb>=0x0;_0x13dedb--)(_0x46a8c9=_0x6d4dac[_0x13dedb])&&(_0xbdcc83=_0x46a8c9(_0xbdcc83)||_0xbdcc83);return _0xbdcc83;},_0x3a9542=(_0x19b672,_0x105f8c)=>(_0x2e9a2e,_0x5eb344)=>_0x105f8c(_0x2e9a2e,_0x5eb344,_0x19b672);let _0x1583db=class{constructor(_0x3adc3e,_0x182586,_0xff4194){const _0x23ea69=_0x6b9591;this[_0x23ea69(0x15f)]=_0x3adc3e,this['_transformService']=_0x182586,this[_0x23ea69(0x251)]=_0xff4194;}[_0x6b9591(0x22b)](_0x315695){this['_transformUndoRedoStack'](_0x315695),this['_transformPreviousActiveRange'](_0x315695);}[_0x6b9591(0x2ce)](_0x17dc79){const _0x4a31b5=_0x6b9591,{unitID:_0x436109}=_0x17dc79,_0x1764cc=this['_renderManagerService'][_0x4a31b5(0x2d5)](_0x436109)[_0x4a31b5(0x2ee)](_0x2a96f2['DocIMEInputManagerService']),{redoCache:_0x27b8d3}=_0x1764cc[_0x4a31b5(0x29e)]();if(_0x27b8d3[_0x4a31b5(0x1cb)]===0x0)return _0x17dc79;let _0x3c94c7=_0x4f4b1a[_0x4a31b5(0x20c)][_0x4a31b5(0x2e0)](_0x17dc79['mutations'][0x0]);for(let _0x5e02f7=0x0;_0x5e02f7<_0x27b8d3[_0x4a31b5(0x1cb)];_0x5e02f7++){const _0x3a9c54={'id':_0x4a31b5(0x2dc),'params':{..._0x27b8d3[_0x5e02f7]}},_0x353526=this['_transformService'][_0x4a31b5(0x2bd)](_0x3c94c7,_0x3a9c54,!0x1);if(_0x4afe31[_0x4a31b5(0x36f)](_0x353526))throw _0x353526[_0x4a31b5(0x1d6)];_0x3c94c7=_0x353526['m1Prime'];}return{..._0x4f4b1a[_0x4a31b5(0x20c)][_0x4a31b5(0x2e0)](_0x17dc79),'mutations':[_0x3c94c7]};}['_transformUndoRedoStack'](_0x548467){const _0x4f2619=_0x6b9591,{unitID:_0x1edb04}=_0x548467,_0x54de44=this['_renderManagerService'][_0x4f2619(0x2d5)](_0x1edb04)[_0x4f2619(0x2ee)](_0x2a96f2[_0x4f2619(0x378)]),{undoCache:_0x1cccf9,redoCache:_0x2b88b7}=_0x54de44[_0x4f2619(0x29e)]();if(_0x1cccf9[_0x4f2619(0x1cb)]===0x0||_0x2b88b7[_0x4f2619(0x1cb)]===0x0)return;const _0x288c59=[],_0x37ee8f=[];let _0x37dd2c=_0x4f4b1a[_0x4f2619(0x20c)][_0x4f2619(0x2e0)](_0x548467[_0x4f2619(0x26a)][0x0]),_0x5dde5e=_0x4f4b1a[_0x4f2619(0x20c)]['deepClone'](_0x548467[_0x4f2619(0x26a)][0x0]);for(let _0x37628e=_0x1cccf9['length']-0x1;_0x37628e>=0x0;_0x37628e--){const _0x41a588={'id':_0x4f2619(0x2dc),'params':{..._0x1cccf9[_0x37628e]}},_0x24468e={'id':_0x4f2619(0x2dc),'params':{..._0x2b88b7[_0x37628e]}},_0x4aeadd=this['_transformService'][_0x4f2619(0x2bd)](_0x37dd2c,_0x41a588,!0x1),_0x29818e=this['_transformService']['transformMutation'](_0x5dde5e,_0x24468e,!0x1);if(_0x4afe31[_0x4f2619(0x36f)](_0x4aeadd))throw _0x4aeadd['error'];if(_0x4afe31[_0x4f2619(0x36f)](_0x29818e))throw _0x29818e['error'];_0x288c59[_0x4f2619(0x14c)](_0x4aeadd[_0x4f2619(0x299)][_0x4f2619(0x17c)]),_0x37ee8f[_0x4f2619(0x14c)](_0x29818e['m2Prime']['params']),_0x37dd2c=_0x4aeadd[_0x4f2619(0x247)],_0x5dde5e=_0x29818e['m1Prime'];}_0x54de44[_0x4f2619(0x2ad)]({'undoCache':_0x288c59,'redoCache':_0x37ee8f});}['_transformPreviousActiveRange'](_0x178a04){const _0x55e9fe=_0x6b9591,{unitID:_0x238f04}=_0x178a04,_0xe68814=this[_0x55e9fe(0x251)][_0x55e9fe(0x2d5)](_0x238f04)[_0x55e9fe(0x2ee)](_0x2a96f2[_0x55e9fe(0x378)]),_0x540b47=_0xe68814[_0x55e9fe(0x1d9)]();if(_0x540b47==null)return;const _0x5dc4ab=[{'id':_0x55e9fe(0x2dc),'params':{'unitId':_0x178a04['unitID'],'actions':null,'textRanges':[_0x540b47]}}],_0x33a7b2=this[_0x55e9fe(0x24d)][_0x55e9fe(0x379)](_0x178a04,_0x5dc4ab);if(!_0x4afe31[_0x55e9fe(0xfe)](_0x33a7b2))throw _0x33a7b2[_0x55e9fe(0x1d6)];const _0x52edcc=_0x33a7b2[_0x55e9fe(0x299)][0x0][_0x55e9fe(0x17c)][_0x55e9fe(0x138)];Array[_0x55e9fe(0x2dd)](_0x52edcc)&&_0x52edcc[_0x55e9fe(0x1cb)]&&_0xe68814[_0x55e9fe(0x278)](_0x52edcc[0x0]);}};_0x1583db=_0x44f397([_0x3a9542(0x0,_0x4f4b1a['Inject'](_0x4f4b1a['Injector'])),_0x3a9542(0x1,_0x4afe31['ITransformService']),_0x3a9542(0x2,_0x4be59a['IRenderManagerService'])],_0x1583db);var _0x401651=Object[_0x6b9591(0x158)],_0xc002bf=(_0x3711bc,_0x17916e,_0x5b7de6,_0x2e088a)=>{const _0x4f06ea=_0x6b9591;for(var _0x2674c5=_0x2e088a>0x1?void 0x0:_0x2e088a?_0x401651(_0x17916e,_0x5b7de6):_0x17916e,_0x34541b=_0x3711bc[_0x4f06ea(0x1cb)]-0x1,_0x39e133;_0x34541b>=0x0;_0x34541b--)(_0x39e133=_0x3711bc[_0x34541b])&&(_0x2674c5=_0x39e133(_0x2674c5)||_0x2674c5);return _0x2674c5;},_0x5ace98=(_0x152c2c,_0x126e86)=>(_0xe596e8,_0x3aed16)=>_0x126e86(_0xe596e8,_0x3aed16,_0x152c2c);let _0x429a44=class{constructor(_0x20707d,_0x9bf776,_0x4c6969){const _0xcde17b=_0x6b9591;this[_0xcde17b(0x15f)]=_0x20707d,this[_0xcde17b(0x24d)]=_0x9bf776,this['_docStateChangeManagerService']=_0x4c6969;}[_0x6b9591(0x129)](_0x2d8e81){const _0x19b81d=_0x6b9591;this[_0x19b81d(0x2c7)](_0x2d8e81);}[_0x6b9591(0x2ce)](_0x3bf8dc){const _0x4e61d6=_0x6b9591,{unitID:_0x2d3a11}=_0x3bf8dc,{collaboration:_0x36a677}=this[_0x4e61d6(0x237)][_0x4e61d6(0x18c)](_0x2d3a11);if(_0x36a677[_0x4e61d6(0x1cb)]===0x0)return _0x3bf8dc;let _0x47613c=_0x4f4b1a[_0x4e61d6(0x20c)][_0x4e61d6(0x2e0)](_0x3bf8dc[_0x4e61d6(0x26a)][0x0]);for(let _0x50b12a=0x0;_0x50b12a<_0x36a677['length'];_0x50b12a++){const _0x55a111={'id':_0x4e61d6(0x2dc),'params':{'unitId':_0x36a677[_0x50b12a][_0x4e61d6(0x248)],..._0x36a677[_0x50b12a][_0x4e61d6(0x107)]}},_0x1dfd9f=this[_0x4e61d6(0x24d)][_0x4e61d6(0x2bd)](_0x47613c,_0x55a111,!0x1);if(_0x4afe31['isTransformMutationFailure'](_0x1dfd9f))throw _0x1dfd9f[_0x4e61d6(0x1d6)];_0x47613c=_0x1dfd9f[_0x4e61d6(0x247)];}return{..._0x4f4b1a['Tools'][_0x4e61d6(0x2e0)](_0x3bf8dc),'mutations':[_0x47613c]};}[_0x6b9591(0x2c7)](_0x301e36){const _0x260735=_0x6b9591,{unitID:_0x34091c}=_0x301e36,{history:_0x6606b2,collaboration:_0x4e3830}=this['_docStateChangeManagerService'][_0x260735(0x18c)](_0x34091c);if(_0x6606b2[_0x260735(0x1cb)]===0x0&&_0x4e3830[_0x260735(0x1cb)]===0x0)return;const _0x55e27=[],_0x14b861=[];let _0x4052cf=_0x4f4b1a[_0x260735(0x20c)]['deepClone'](_0x301e36[_0x260735(0x26a)][0x0]),_0x46d45e=_0x4f4b1a[_0x260735(0x20c)][_0x260735(0x2e0)](_0x301e36[_0x260735(0x26a)][0x0]);for(let _0x23882c=_0x6606b2[_0x260735(0x1cb)]-0x1;_0x23882c>=0x0;_0x23882c--){const _0x22d89b={'id':_0x260735(0x2dc),'params':{'unitId':_0x6606b2[_0x23882c][_0x260735(0x248)],..._0x6606b2[_0x23882c][_0x260735(0x196)]}},_0x19bf37={'id':_0x260735(0x2dc),'params':{'unitId':_0x6606b2[_0x23882c][_0x260735(0x248)],..._0x6606b2[_0x23882c]['redoState']}},_0x3c11f3=this[_0x260735(0x24d)]['transformMutation'](_0x4052cf,_0x22d89b,!0x1),_0x317250=this[_0x260735(0x24d)]['transformMutation'](_0x46d45e,_0x19bf37,!0x1);if(_0x4afe31[_0x260735(0x36f)](_0x3c11f3))throw _0x3c11f3[_0x260735(0x1d6)];if(_0x4afe31[_0x260735(0x36f)](_0x317250))throw _0x317250[_0x260735(0x1d6)];_0x55e27[_0x260735(0x14c)]({..._0x6606b2[_0x23882c],'undoState':_0x3c11f3['m2Prime'][_0x260735(0x17c)],'redoState':_0x317250['m2Prime'][_0x260735(0x17c)]}),_0x4052cf=_0x3c11f3[_0x260735(0x247)],_0x46d45e=_0x317250[_0x260735(0x247)];}_0x4052cf=_0x4f4b1a['Tools'][_0x260735(0x2e0)](_0x301e36[_0x260735(0x26a)][0x0]),_0x46d45e=_0x4f4b1a[_0x260735(0x20c)][_0x260735(0x2e0)](_0x301e36[_0x260735(0x26a)][0x0]);for(let _0x385d68=_0x4e3830[_0x260735(0x1cb)]-0x1;_0x385d68>=0x0;_0x385d68--){const _0x82bdd7={'id':_0x260735(0x2dc),'params':{'unitId':_0x4e3830[_0x385d68]['unitId'],..._0x4e3830[_0x385d68]['undoState']}},_0x5ca8ce={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4e3830[_0x385d68]['unitId'],..._0x4e3830[_0x385d68][_0x260735(0x107)]}},_0x3efdb8=this[_0x260735(0x24d)]['transformMutation'](_0x4052cf,_0x82bdd7,!0x1),_0xc27c60=this[_0x260735(0x24d)][_0x260735(0x2bd)](_0x46d45e,_0x5ca8ce,!0x1);if(_0x4afe31[_0x260735(0x36f)](_0x3efdb8))throw _0x3efdb8[_0x260735(0x1d6)];if(_0x4afe31[_0x260735(0x36f)](_0xc27c60))throw _0xc27c60[_0x260735(0x1d6)];_0x14b861[_0x260735(0x14c)]({..._0x4e3830[_0x385d68],'undoState':_0x3efdb8['m2Prime'][_0x260735(0x17c)],'redoState':_0xc27c60[_0x260735(0x299)][_0x260735(0x17c)]}),_0x4052cf=_0x3efdb8[_0x260735(0x247)],_0x46d45e=_0xc27c60['m1Prime'];}this[_0x260735(0x237)]['setStateCache'](_0x34091c,{'history':_0x55e27,'collaboration':_0x14b861});}};_0x429a44=_0xc002bf([_0x5ace98(0x0,_0x4f4b1a['Inject'](_0x4f4b1a[_0x6b9591(0x172)])),_0x5ace98(0x1,_0x4afe31['ITransformService']),_0x5ace98(0x2,_0x4f4b1a[_0x6b9591(0x22e)](_0x2a96f2['DocStateChangeManagerService']))],_0x429a44);var _0x5d95b2=Object['getOwnPropertyDescriptor'],_0x371e8f=(_0xa2e2d1,_0x3493ef,_0x5b3287,_0x51d356)=>{const _0x23e844=_0x6b9591;for(var _0x56fb8e=_0x51d356>0x1?void 0x0:_0x51d356?_0x5d95b2(_0x3493ef,_0x5b3287):_0x3493ef,_0x58aa0a=_0xa2e2d1[_0x23e844(0x1cb)]-0x1,_0x3844c9;_0x58aa0a>=0x0;_0x58aa0a--)(_0x3844c9=_0xa2e2d1[_0x58aa0a])&&(_0x56fb8e=_0x3844c9(_0x56fb8e)||_0x56fb8e);return _0x56fb8e;},_0x227109=(_0xe790ec,_0x47f9fd)=>(_0x20e463,_0x35330d)=>_0x47f9fd(_0x20e463,_0x35330d,_0xe790ec);let _0x3fa842=class{constructor(_0x3cb2f0,_0x4bbd69){const _0x4ef079=_0x6b9591;this[_0x4ef079(0x15f)]=_0x3cb2f0,this[_0x4ef079(0x24d)]=_0x4bbd69;}['transformSelections'](_0x3f651f){const _0x244b87=_0x6b9591;var _0x492bb7;const _0x1293c3=this['_injector'][_0x244b87(0x2b0)](_0x49ed44[_0x244b87(0x396)]),_0x3d3fa4=(_0x492bb7=_0x1293c3[_0x244b87(0x25c)]())!=null?_0x492bb7:[];if(_0x3d3fa4['length']===0x0)return;const _0x5469a5=_0x3f651f['unitID'],_0x123076=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5469a5,'actions':null,'textRanges':_0x3d3fa4}}],_0x5807c5=this[_0x244b87(0x24d)][_0x244b87(0x379)](_0x3f651f,_0x123076);if(!_0x4afe31[_0x244b87(0xfe)](_0x5807c5))throw _0x5807c5[_0x244b87(0x1d6)];const _0x5cfbaf=_0x5807c5[_0x244b87(0x299)][0x0][_0x244b87(0x17c)][_0x244b87(0x138)];Array[_0x244b87(0x2dd)](_0x5cfbaf)&&_0x5cfbaf[_0x244b87(0x1cb)]&&_0x1293c3[_0x244b87(0x313)](_0x5cfbaf,{'unitId':_0x5469a5,'subUnitId':_0x5469a5},!0x1);}};_0x3fa842=_0x371e8f([_0x227109(0x0,_0x4f4b1a['Inject'](_0x4f4b1a[_0x6b9591(0x172)])),_0x227109(0x1,_0x4afe31[_0x6b9591(0x11e)])],_0x3fa842);var _0x2b922d=Object[_0x6b9591(0x158)],_0x337f3e=(_0x1a7132,_0x2ad878,_0x3dc723,_0x41f374)=>{const _0x23b063=_0x6b9591;for(var _0x15ca54=_0x41f374>0x1?void 0x0:_0x41f374?_0x2b922d(_0x2ad878,_0x3dc723):_0x2ad878,_0x362292=_0x1a7132[_0x23b063(0x1cb)]-0x1,_0x51faad;_0x362292>=0x0;_0x362292--)(_0x51faad=_0x1a7132[_0x362292])&&(_0x15ca54=_0x51faad(_0x15ca54)||_0x15ca54);return _0x15ca54;},_0x2c7adc=(_0x4d560d,_0x151221)=>(_0x26ba3b,_0x98835e)=>_0x151221(_0x26ba3b,_0x98835e,_0x4d560d);let _0x4f247d=class extends _0x4f4b1a[_0x6b9591(0x169)]{constructor(_0x2b5f9f,_0x155d3b,_0x16516e,_0x4543ed,_0x1095b8,_0x32d79b,_0x1bc546,_0x2c8e18){const _0x507e30=_0x6b9591;super(),_0x54ef86(this,_0x507e30(0x106),new _0x4c8fcf[(_0x507e30(0x231))](_0x353bdb[_0x507e30(0x155)][_0x507e30(0x157)])),(this[_0x507e30(0x237)]=_0x2b5f9f,this[_0x507e30(0x17d)]=_0x155d3b,this[_0x507e30(0x1db)]=_0x16516e,this[_0x507e30(0x241)]=_0x4543ed,this[_0x507e30(0x30e)]=_0x1095b8,this[_0x507e30(0x105)]=_0x32d79b,this[_0x507e30(0x281)]=_0x1bc546,this['_localeService']=_0x2c8e18,this[_0x507e30(0x1d4)]());}[_0x6b9591(0x1d4)](){const _0x4e4a51=_0x6b9591;this['disposeWithMe'](this['_collaborationController'][_0x4e4a51(0x363)][_0x4e4a51(0x187)](_0x43c05f=>{const _0x2b8029=_0x4e4a51,_0x337301=this[_0x2b8029(0x237)]['docStateChange$'][_0x2b8029(0x187)](_0x5a0b16=>{const _0x5cf038=_0x2b8029;if(_0x5a0b16==null)return;const {unitId:_0x5ce1d2,redoState:_0x22fe1a,commandId:_0x5e19fb}=_0x5a0b16;if(_0x5ce1d2!==_0x43c05f[_0x5cf038(0x30b)])return;const _0x1e4793={'id':_0x5e19fb,'type':_0x4f4b1a[_0x5cf038(0x1d0)][_0x5cf038(0x21d)],'params':{'unitId':_0x5ce1d2,'actions':_0x22fe1a[_0x5cf038(0x38e)],'textRanges':null}};_0x43c05f[_0x5cf038(0x2bb)](_0x1e4793);});if(_0x43c05f['disposeWithMe'](_0x337301),_0x43c05f instanceof _0x353bdb[_0x2b8029(0x333)]){const _0x4f2c86={'onTransformIME':_0x1ba45a=>this[_0x2b8029(0x1db)][_0x2b8029(0x22b)](_0x1ba45a),'onTransformState':_0x136393=>this[_0x2b8029(0x241)][_0x2b8029(0x129)](_0x136393),'onTransformSelections':_0x17f7bd=>this['_docTransformSelectionsService'][_0x2b8029(0x359)](_0x17f7bd),'onSyncEditingCollabCursor':_0x405022=>this['_docSyncEditingCollabCursorService'][_0x2b8029(0x13b)](_0x405022),'onTransformRemoteChangesetByIMECache':_0x147da9=>this[_0x2b8029(0x1db)][_0x2b8029(0x2ce)](_0x147da9),'onTransformRemoteChangesetByStateCache':_0x52cc21=>this[_0x2b8029(0x241)]['transformRemoteChangeset'](_0x52cc21)};_0x43c05f[_0x2b8029(0x206)](_0x4f2c86);}}));}};_0x4f247d=_0x337f3e([_0x2c7adc(0x0,_0x4f4b1a[_0x6b9591(0x22e)](_0x2a96f2[_0x6b9591(0x29b)])),_0x2c7adc(0x1,_0x4f4b1a[_0x6b9591(0x22e)](_0x353bdb[_0x6b9591(0x353)])),_0x2c7adc(0x2,_0x4f4b1a[_0x6b9591(0x22e)](_0x1583db)),_0x2c7adc(0x3,_0x4f4b1a['Inject'](_0x429a44)),_0x2c7adc(0x4,_0x4f4b1a[_0x6b9591(0x22e)](_0x3fa842)),_0x2c7adc(0x5,_0x4f4b1a['Inject'](_0x35f7e0)),_0x2c7adc(0x6,_0x124131[_0x6b9591(0x2fb)]),_0x2c7adc(0x7,_0x4f4b1a[_0x6b9591(0x22e)](_0x4f4b1a['LocaleService']))],_0x4f247d);var _0x4cc03a=Object[_0x6b9591(0x158)],_0x454128=(_0x59a24c,_0x7d19f,_0x5bd65d,_0xac4544)=>{const _0x43a17b=_0x6b9591;for(var _0x316a9a=_0xac4544>0x1?void 0x0:_0xac4544?_0x4cc03a(_0x7d19f,_0x5bd65d):_0x7d19f,_0x5b4268=_0x59a24c[_0x43a17b(0x1cb)]-0x1,_0x33130d;_0x5b4268>=0x0;_0x5b4268--)(_0x33130d=_0x59a24c[_0x5b4268])&&(_0x316a9a=_0x33130d(_0x316a9a)||_0x316a9a);return _0x316a9a;},_0x66f667=(_0x549b40,_0x243b5e)=>(_0x4aecab,_0x124ef3)=>_0x243b5e(_0x4aecab,_0x124ef3,_0x549b40);let _0x5535a3=class extends _0x4f4b1a[_0x6b9591(0x169)]{constructor(_0x15c300,_0x34b2ba,_0xd7d968){const _0x2fec29=_0x6b9591;super(),_0x54ef86(this,_0x2fec29(0x2da),new Map()),_0x54ef86(this,_0x2fec29(0x339),new Map()),_0x54ef86(this,'_disabled',!0x1),(this['_configService']=_0x15c300,this['_localStorageService']=_0x34b2ba,this[_0x2fec29(0x173)]=_0xd7d968);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x6b9591(0x357)](){const _0x17baf4=_0x6b9591;this[_0x17baf4(0x10f)]=!0x1;}get[_0x6b9591(0x113)](){const _0x3dc8=_0x6b9591;return this[_0x3dc8(0x339)];}[_0x6b9591(0x161)](){const _0x4c0664=_0x6b9591;this[_0x4c0664(0x266)]()[_0x4c0664(0x34f)](()=>super[_0x4c0664(0x161)]());}async[_0x6b9591(0x13e)](_0x20a9a6){const _0x555ce3=_0x6b9591;return this['_disabled']?null:this['_localStorageService'][_0x555ce3(0x18b)](_0x353bdb[_0x555ce3(0x2f5)](_0x20a9a6));}async['saveOfflineData'](_0x2d7de5,_0x4662be){return!!this['_localStorageService']['setItem'](_0x2d7de5,_0x4662be);}[_0x6b9591(0x2ab)](_0x5b8613,_0x5d0597,_0x3ce286,_0x3274d8){const _0x244530=_0x6b9591,_0x40f878=this[_0x244530(0x173)]['getCurrentRevOfUnit'](_0x5b8613);this['_cachedData'][_0x244530(0x1dd)](_0x5b8613,{'unitID':_0x5b8613,'type':_0x5d0597,'awaitingChangeset':_0x3ce286,'mutations':_0x3274d8,'rev':_0x40f878}),this[_0x244530(0x339)][_0x244530(0x164)](_0x5b8613)||this[_0x244530(0x1b9)](_0x5b8613);}[_0x6b9591(0x1b9)](_0x50635c){const _0x27fb07=_0x6b9591,_0x3e1604=this[_0x27fb07(0x2f4)]();_0x3e1604===0x0?this['_saveCache'](_0x50635c):this[_0x27fb07(0x339)]['set'](_0x50635c,setTimeout(()=>this[_0x27fb07(0x393)](_0x50635c),_0x3e1604));}[_0x6b9591(0x2f4)](){const _0x318173=_0x6b9591;var _0x36ea90;return(_0x36ea90=this['_configService'][_0x318173(0x25a)](_0x353bdb['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x36ea90:_0x353bdb[_0x318173(0x310)];}[_0x6b9591(0x393)](_0x393bfa){const _0x211fea=_0x6b9591,_0x4219e4=this[_0x211fea(0x339)]['get'](_0x393bfa);return _0x4219e4!==void 0x0&&window[_0x211fea(0x258)](_0x4219e4),this['_localStorageService']['setItem'](_0x353bdb[_0x211fea(0x2f5)](_0x393bfa),this[_0x211fea(0x2da)][_0x211fea(0x2b0)](_0x393bfa))[_0x211fea(0x34f)](()=>this['_saveTaskMap'][_0x211fea(0x1df)](_0x393bfa));}async[_0x6b9591(0x266)](){const _0x20ac6e=_0x6b9591,_0x1363ea=[];this['_saveTaskMap'][_0x20ac6e(0x11b)]((_0x2d1a53,_0x1ece34)=>{const _0x5bf7ba=_0x20ac6e;window[_0x5bf7ba(0x258)](_0x2d1a53),_0x1363ea[_0x5bf7ba(0x121)](this[_0x5bf7ba(0x393)](_0x1ece34)[_0x5bf7ba(0x34f)](()=>{const _0x4a4200=_0x5bf7ba;this[_0x4a4200(0x339)][_0x4a4200(0x1df)](_0x1ece34);}));}),await Promise['all'](_0x1363ea);}};_0x5535a3=_0x454128([_0x66f667(0x0,_0x4f4b1a[_0x6b9591(0x2a1)]),_0x66f667(0x1,_0x4f4b1a[_0x6b9591(0x235)]),_0x66f667(0x2,_0x4f4b1a[_0x6b9591(0x22e)](_0x4afe31[_0x6b9591(0x369)]))],_0x5535a3);class _0x3cd49d extends _0x4f4b1a['RxDisposable']{constructor(){const _0x154d78=_0x6b9591;super(),_0x54ef86(this,_0x154d78(0xff)),this['urlChange$']=_0x4c8fcf[_0x154d78(0x283)](window,_0x154d78(0x20d))[_0x154d78(0x342)](_0x4c8fcf[_0x154d78(0x375)](this[_0x154d78(0x311)]),_0x4c8fcf[_0x154d78(0x2d4)](0x1),_0x4c8fcf[_0x154d78(0x214)](void 0x0));}[_0x6b9591(0x1fb)](_0x2b0488,_0xc2af85,_0x34bec1=!0x1){const _0x149238=_0x6b9591,_0x4521a2=new URL(window['location'][_0x149238(0x24a)]);_0x4521a2['searchParams'][_0x149238(0x1dd)](_0x2b0488,_0xc2af85),_0x34bec1?window[_0x149238(0x372)]['replaceState']('','',_0x4521a2['toString']()):window[_0x149238(0x372)][_0x149238(0x183)]('','',_0x4521a2[_0x149238(0x23c)]());}[_0x6b9591(0x36c)](_0x2c111b,_0x282a4e=!0x1){const _0x274de3=_0x6b9591,_0x468de9=new URL(window['location'][_0x274de3(0x24a)]);_0x468de9[_0x274de3(0x269)][_0x274de3(0x1df)](_0x2c111b),_0x282a4e?window[_0x274de3(0x372)][_0x274de3(0x2b5)]('','',_0x468de9[_0x274de3(0x23c)]()):window['history'][_0x274de3(0x183)]('','',_0x468de9['toString']());}['getParam'](_0x5c30b3){const _0x5d5ca1=_0x6b9591;var _0x173e49;return(_0x173e49=new URL(window[_0x5d5ca1(0x1a1)][_0x5d5ca1(0x24a)])[_0x5d5ca1(0x269)][_0x5d5ca1(0x2b0)](_0x5c30b3))!=null?_0x173e49:void 0x0;}}var _0x43e26a=Object[_0x6b9591(0x329)],_0xba8734=Object[_0x6b9591(0x158)],_0x22fb79=(_0x41ee65,_0x4d3c42,_0x193770)=>_0x4d3c42 in _0x41ee65?_0x43e26a(_0x41ee65,_0x4d3c42,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x193770}):_0x41ee65[_0x4d3c42]=_0x193770,_0x3fa0cc=(_0x1fd013,_0x5b2365,_0x1863e1,_0x450ce3)=>{const _0x24e75e=_0x6b9591;for(var _0x1f8994=_0x450ce3>0x1?void 0x0:_0x450ce3?_0xba8734(_0x5b2365,_0x1863e1):_0x5b2365,_0x38b387=_0x1fd013[_0x24e75e(0x1cb)]-0x1,_0x521b11;_0x38b387>=0x0;_0x38b387--)(_0x521b11=_0x1fd013[_0x38b387])&&(_0x1f8994=_0x521b11(_0x1f8994)||_0x1f8994);return _0x1f8994;},_0x519955=(_0x3e8b60,_0x1fe9be)=>(_0x1ef89d,_0x19a565)=>_0x1fe9be(_0x1ef89d,_0x19a565,_0x3e8b60),_0xe66951=(_0x256594,_0x12b11a,_0x201039)=>_0x22fb79(_0x256594,_0x12b11a+'',_0x201039);const _0x2fa5d2=_0x6b9591(0x316);_0x2a7733[_0x6b9591(0x26f)]=class extends _0x4f4b1a[_0x6b9591(0x14a)]{constructor(_0x161ad5=_0xbc1202,_0x229988,_0x1a9c88,_0x1338c4){const _0x3ab7c3=_0x6b9591;super(),this[_0x3ab7c3(0x2b8)]=_0x161ad5,this[_0x3ab7c3(0x251)]=_0x229988,this['_injector']=_0x1a9c88,this[_0x3ab7c3(0x392)]=_0x1338c4;const {..._0x38ceaa}=_0x4f4b1a[_0x3ab7c3(0x315)]({},_0xbc1202,this[_0x3ab7c3(0x2b8)]);this[_0x3ab7c3(0x392)][_0x3ab7c3(0x2c6)](_0x2208a6,_0x38ceaa);}['onStarting'](){const _0xf6e32e=_0x6b9591;this['_registerDependencies'](),this[_0xf6e32e(0x2f0)]();}[_0x6b9591(0x204)](){const _0x17c177=_0x6b9591;this[_0x17c177(0x33d)]();}['_registerDependencies'](){const _0x39be3d=_0x6b9591;var _0x4bc6da;const _0x38e70f=[[_0x3e1aeb],[_0x3fa842],[_0x1583db],[_0x429a44],[_0x35f7e0],[_0x4b3148,{'useClass':_0x3cd49d}],[_0x504bfb[_0x39be3d(0x19c)],{'useClass':_0x504bfb[_0x39be3d(0x123)]}],[_0x353bdb['ILocalCacheService'],{'useClass':_0x5535a3}],[_0x2a7733[_0x39be3d(0x280)]],[_0x4f247d],[_0x1ea07d],[_0x24a51e],[_0x2c4cde],[_0x2a7733['CollaborationDataLoaderController']]];_0x4f4b1a[_0x39be3d(0x13c)](this[_0x39be3d(0x15f)],_0x4f4b1a[_0x39be3d(0x32d)](_0x38e70f,(_0x4bc6da=this['_config'])==null?void 0x0:_0x4bc6da[_0x39be3d(0x125)]));}[_0x6b9591(0x33d)](){const _0x30760b=_0x6b9591;this[_0x30760b(0x132)](this[_0x30760b(0x251)]['registerRenderModule'](_0x4f4b1a[_0x30760b(0x298)][_0x30760b(0x34b)],[_0x3717cb])),this[_0x30760b(0x132)](this[_0x30760b(0x251)][_0x30760b(0x211)](_0x4f4b1a[_0x30760b(0x298)][_0x30760b(0x274)],[_0x46a92e]));}[_0x6b9591(0x2f0)](){const _0x35e7c3=_0x6b9591;_0x4f4b1a[_0x35e7c3(0x28d)](this[_0x35e7c3(0x15f)],[[_0x24a51e],[_0x2a7733[_0x35e7c3(0x280)]],[_0x4f247d],[_0x1ea07d],[_0x2a7733[_0x35e7c3(0x2df)]]]);}},_0xe66951(_0x2a7733[_0x6b9591(0x26f)],_0x6b9591(0x16d),_0x2fa5d2),_0x2a7733['UniverCollaborationClientUIPlugin']=_0x3fa0cc([_0x4f4b1a['DependentOn'](_0x353bdb[_0x6b9591(0x156)]),_0x519955(0x1,_0x4be59a['IRenderManagerService']),_0x519955(0x2,_0x4f4b1a[_0x6b9591(0x22e)](_0x4f4b1a[_0x6b9591(0x172)])),_0x519955(0x3,_0x4f4b1a[_0x6b9591(0x2a1)])],_0x2a7733['UniverCollaborationClientUIPlugin']);var _0x485ea3=Object[_0x6b9591(0x158)],_0x52d1fe=(_0x2f331e,_0x4a6af2,_0x321902,_0x3ec975)=>{const _0x1aec85=_0x6b9591;for(var _0xb4be52=_0x3ec975>0x1?void 0x0:_0x3ec975?_0x485ea3(_0x4a6af2,_0x321902):_0x4a6af2,_0x23bf75=_0x2f331e[_0x1aec85(0x1cb)]-0x1,_0x7eb395;_0x23bf75>=0x0;_0x23bf75--)(_0x7eb395=_0x2f331e[_0x23bf75])&&(_0xb4be52=_0x7eb395(_0xb4be52)||_0xb4be52);return _0xb4be52;},_0x5914fa=(_0x539435,_0x22d72f)=>(_0x234d99,_0x351382)=>_0x22d72f(_0x234d99,_0x351382,_0x539435);_0x2a7733[_0x6b9591(0x1a6)]=class extends _0x353bdb['CollaborationSocketService']{constructor(_0x5bc58b,_0x15fe31,_0xe0257c,_0x16016f,_0x4a7dab){super(_0x5bc58b,_0x15fe31,_0xe0257c,_0x16016f,_0x4a7dab);}async[_0x6b9591(0x322)](_0x3e79ff){const _0x2a0dc4=_0x6b9591,_0x180453=await this[_0x2a0dc4(0x22c)](),_0x469462=this['_createSocketURL'](_0x3e79ff,_0x180453);return this[_0x2a0dc4(0x38c)](_0x469462);}[_0x6b9591(0x197)](_0x56b9f5,_0x42f66b){const _0x4da61d=_0x6b9591,_0x393f14=typeof window>'u'?new URL(_0x56b9f5):new URL(_0x56b9f5,window['location']['origin']);_0x393f14[_0x4da61d(0x269)][_0x4da61d(0x1dd)]('sessionTicket',_0x42f66b);const _0x4e6398=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4da61d(0x1a1)][_0x4da61d(0x1ab)]);return _0x4e6398[_0x4da61d(0x2b0)](_0x4da61d(0x2c0))&&_0x393f14[_0x4da61d(0x269)]['set']('runId',_0x4e6398[_0x4da61d(0x2b0)](_0x4da61d(0x2c0))),_0x393f14['toString']();}async[_0x6b9591(0x22c)](){const _0x299e6c=_0x6b9591;var _0x510188,_0x1d6360,_0x1c11e9;const _0x52fff9=this[_0x299e6c(0x392)][_0x299e6c(0x25a)](_0x353bdb[_0x299e6c(0x24f)]),_0x40deca=(_0x510188=_0x52fff9==null?void 0x0:_0x52fff9['wsSessionTicketUrl'])!=null?_0x510188:_0x353bdb[_0x299e6c(0x13a)];return(_0x1c11e9=(_0x1d6360=(await this[_0x299e6c(0x14f)][_0x299e6c(0x2b0)](_0x40deca,{'headers':{'Content-Type':_0x299e6c(0x277)}}))[_0x299e6c(0x351)])==null?void 0x0:_0x1d6360[_0x299e6c(0x2a4)])!=null?_0x1c11e9:'';}},_0x2a7733[_0x6b9591(0x1a6)]=_0x52d1fe([_0x5914fa(0x0,_0x4f4b1a[_0x6b9591(0x22e)](_0x4f4b1a[_0x6b9591(0x172)])),_0x5914fa(0x1,_0x4f4b1a['Inject'](_0x504bfb['HTTPService'])),_0x5914fa(0x2,_0x4f4b1a['IConfigService']),_0x5914fa(0x3,_0x4f4b1a[_0x6b9591(0x111)]),_0x5914fa(0x4,_0x4afe31[_0x6b9591(0x2b3)])],_0x2a7733[_0x6b9591(0x1a6)]);const _0x2e2d4d=0x7530,_0x45cdd7=_0x6b9591(0xfa);class _0x619342 extends _0x4f4b1a[_0x6b9591(0x169)]{constructor(){const _0x6dd940=_0x6b9591;super(),_0x54ef86(this,_0x6dd940(0x367),_0x4f4b1a[_0x6dd940(0x26b)]()),_0x54ef86(this,_0x6dd940(0x36b),new Set()),_0x54ef86(this,_0x6dd940(0x15b),new Map()),_0x54ef86(this,'_heartbeatTimer',null),_0x54ef86(this,_0x6dd940(0x328),new Map()),_0x54ef86(this,'_unitStatus',new Map()),this[_0x6dd940(0x167)]();}[_0x6b9591(0x161)](){const _0x4e816d=_0x6b9591;super[_0x4e816d(0x161)](),this[_0x4e816d(0x328)][_0x4e816d(0x11b)]((_0x149d03,_0xcc92f0)=>this[_0x4e816d(0x257)](_0xcc92f0)),this[_0x4e816d(0x24c)]&&window[_0x4e816d(0x1c8)](this[_0x4e816d(0x24c)]);}[_0x6b9591(0x304)](_0x4ef0b9){const _0x3cd969=_0x6b9591;return this[_0x3cd969(0x31c)](_0x4ef0b9)['pipe'](_0x4c8fcf[_0x3cd969(0x27f)]());}['editingUnit'](_0x5b0bdd){const _0x3c6772=_0x6b9591;this[_0x3c6772(0x36b)][_0x3c6772(0x223)]===0x0&&this[_0x3c6772(0x268)](),this[_0x3c6772(0x36b)][_0x3c6772(0x2c2)](_0x5b0bdd),this[_0x3c6772(0x27a)]({'type':0x0,'memberID':this[_0x3c6772(0x367)],'unitIDs':[_0x5b0bdd],'isForwarded':!0x1});}[_0x6b9591(0x2e8)](_0x14c2a9){const _0x21271a=_0x6b9591;this[_0x21271a(0x36b)][_0x21271a(0x1df)](_0x14c2a9),this['_selfUnitIDs'][_0x21271a(0x223)]===0x0&&this[_0x21271a(0x24c)]&&window[_0x21271a(0x1c8)](this[_0x21271a(0x24c)]);}[_0x6b9591(0x167)](){const _0x27d8f6=_0x6b9591;this[_0x27d8f6(0x132)](_0x4f4b1a[_0x27d8f6(0x36d)](_0x4c8fcf[_0x27d8f6(0x283)](window,_0x27d8f6(0x116))[_0x27d8f6(0x187)](_0x10b819=>{const _0x4aa856=_0x27d8f6;if(_0x10b819['key']!==_0x45cdd7||!_0x10b819['newValue'])return;const _0x5e2541=JSON[_0x4aa856(0x117)](_0x10b819[_0x4aa856(0x2f9)]);this[_0x4aa856(0x11d)](_0x5e2541);}))),window['addEventListener'](_0x27d8f6(0x2ac),()=>this[_0x27d8f6(0x27a)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}['_handleEvent'](_0x3e612e){const _0x108105=_0x6b9591;switch(_0x3e612e[_0x108105(0x2bf)]){case 0x0:this[_0x108105(0x1c5)](_0x3e612e);break;case 0x1:this['_handleLeaveEvent'](_0x3e612e);break;case 0x2:this[_0x108105(0x2bc)](_0x3e612e);break;}}[_0x6b9591(0x1c5)](_0x3de3a6){const _0x3bb4e=_0x6b9591,{unitIDs:_0x53a888,memberID:_0x1f87de,isForwarded:_0x1a54d8}=_0x3de3a6;_0x53a888[_0x3bb4e(0x11b)](_0x4b745b=>{const _0x2ebc9c=_0x3bb4e;if(!_0x1a54d8&&this[_0x2ebc9c(0x15b)][_0x2ebc9c(0x164)](_0x4b745b)&&this[_0x2ebc9c(0x31c)](_0x4b745b)['next'](_0x353bdb[_0x2ebc9c(0x137)][_0x2ebc9c(0x27e)]),!this[_0x2ebc9c(0x15b)][_0x2ebc9c(0x164)](_0x4b745b)||!this[_0x2ebc9c(0x15b)][_0x2ebc9c(0x2b0)](_0x4b745b)[_0x2ebc9c(0x164)](_0x1f87de)){const _0x3bf84f=this[_0x2ebc9c(0x15b)][_0x2ebc9c(0x2b0)](_0x4b745b)||new Set();_0x3bf84f[_0x2ebc9c(0x2c2)](_0x1f87de),this[_0x2ebc9c(0x15b)][_0x2ebc9c(0x1dd)](_0x4b745b,_0x3bf84f),this[_0x2ebc9c(0x25f)](_0x1f87de);}}),_0x1a54d8||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x3bb4e(0x36b)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x82ae89){const _0x5347d2=_0x6b9591;this['_removeClearOtherTimer'](_0x82ae89);const _0x118a7e=window[_0x5347d2(0x1c6)](()=>{const _0x170f22=_0x5347d2;this[_0x170f22(0x15b)][_0x170f22(0x11b)](_0x332581=>{const _0x4e5389=_0x170f22;_0x332581[_0x4e5389(0x1df)](_0x82ae89);});},_0x2e2d4d*0x2);this[_0x5347d2(0x328)][_0x5347d2(0x1dd)](_0x82ae89,_0x118a7e);}['_removeClearOtherTimer'](_0x5daf68){const _0x32f630=_0x6b9591;if(this[_0x32f630(0x328)][_0x32f630(0x164)](_0x5daf68)){const _0x5ee47e=this[_0x32f630(0x328)][_0x32f630(0x2b0)](_0x5daf68);_0x5ee47e&&window[_0x32f630(0x258)](_0x5ee47e),this[_0x32f630(0x328)][_0x32f630(0x1dd)](_0x5daf68,null);}}['_handleLeaveEvent'](_0x216f22){const _0x475217=_0x6b9591,{memberID:_0x4be71d,unitIDs:_0x5c04fa}=_0x216f22;_0x5c04fa[_0x475217(0x11b)](_0x2c0575=>{const _0x32a4d2=_0x475217;var _0x4bb15c;const _0xf754e7=this[_0x32a4d2(0x15b)]['get'](_0x2c0575);_0xf754e7&&(_0xf754e7[_0x32a4d2(0x1df)](_0x4be71d),(_0x4bb15c=this[_0x32a4d2(0x31c)](_0x2c0575))==null||_0x4bb15c[_0x32a4d2(0x1a5)](_0xf754e7['size']===0x0?_0x353bdb[_0x32a4d2(0x137)]['NO_OTHER_CLIENTS_EDITING']:_0x353bdb[_0x32a4d2(0x137)][_0x32a4d2(0x27e)]));}),this[_0x475217(0x257)](_0x4be71d);}[_0x6b9591(0x2bc)](_0xe34db9){const _0x2e5f42=_0x6b9591;this[_0x2e5f42(0x25f)](_0xe34db9[_0x2e5f42(0x38a)]);}[_0x6b9591(0x27a)](_0x163e2c){localStorage['setItem'](_0x45cdd7,JSON['stringify'](_0x163e2c));}[_0x6b9591(0x268)](){const _0x116f8c=_0x6b9591;this[_0x116f8c(0x24c)]=window['setInterval'](()=>{const _0x43595b=_0x116f8c;this['_send']({'type':0x2,'memberID':this[_0x43595b(0x367)]});},_0x2e2d4d);}[_0x6b9591(0x31c)](_0x191827){const _0x22f958=_0x6b9591;return this[_0x22f958(0x256)][_0x22f958(0x164)](_0x191827)||this[_0x22f958(0x256)]['set'](_0x191827,new _0x4c8fcf['BehaviorSubject'](_0x353bdb[_0x22f958(0x137)][_0x22f958(0x1f6)])),this['_unitStatus'][_0x22f958(0x2b0)](_0x191827);}}var _0x2a49c0=(_0x43b18c=>(_0x43b18c[_0x43b18c['UNDEFINED']=0x0]='UNDEFINED',_0x43b18c[_0x43b18c['OK']=0x1]='OK',_0x43b18c[_0x43b18c[_0x6b9591(0x28c)]=0x2]=_0x6b9591(0x28c),_0x43b18c[_0x43b18c[_0x6b9591(0x1a0)]=0x3]=_0x6b9591(0x1a0),_0x43b18c[_0x43b18c['NOT_FOUND']=0x4]=_0x6b9591(0x252),_0x43b18c[_0x43b18c[_0x6b9591(0x213)]=0x5]=_0x6b9591(0x213),_0x43b18c[_0x43b18c[_0x6b9591(0x305)]=0x6]=_0x6b9591(0x305),_0x43b18c[_0x43b18c[_0x6b9591(0x253)]=0x7]=_0x6b9591(0x253),_0x43b18c[_0x43b18c['TOO_MANY_REQUESTS']=0x8]=_0x6b9591(0x324),_0x43b18c[_0x43b18c['COMPLETION_FINISHED']=0x9]=_0x6b9591(0x2e1),_0x43b18c[_0x43b18c[_0x6b9591(0x395)]=0xa]=_0x6b9591(0x395),_0x43b18c[_0x43b18c['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x6b9591(0x31b),_0x43b18c[_0x43b18c[_0x6b9591(0x264)]=0x1771]=_0x6b9591(0x264),_0x43b18c[_0x43b18c['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x6b9591(0x26d),_0x43b18c[_0x43b18c[_0x6b9591(0x336)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x43b18c[_0x43b18c[_0x6b9591(0x102)]=0x1b59]='APPLY_REJECT',_0x43b18c[_0x43b18c[_0x6b9591(0x1fc)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x43b18c[_0x43b18c[_0x6b9591(0x18a)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x43b18c[_0x43b18c['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x6b9591(0x1d3),_0x43b18c[_0x43b18c[_0x6b9591(0x200)]=0x1b5d]=_0x6b9591(0x200),_0x43b18c[_0x43b18c[_0x6b9591(0x2c1)]=0x1f41]=_0x6b9591(0x2c1),_0x43b18c[_0x43b18c[_0x6b9591(0x338)]=0x2329]=_0x6b9591(0x338),_0x43b18c[_0x43b18c[_0x6b9591(0x246)]=0x232a]=_0x6b9591(0x246),_0x43b18c[_0x43b18c[_0x6b9591(0x2fa)]=0x232b]=_0x6b9591(0x2fa),_0x43b18c[_0x43b18c['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x6b9591(0x1ba),_0x43b18c[_0x43b18c[_0x6b9591(0x1b2)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x43b18c[_0x43b18c[_0x6b9591(0x182)]=0x2711]=_0x6b9591(0x182),_0x43b18c[_0x43b18c[_0x6b9591(0x2f1)]=0x2712]=_0x6b9591(0x2f1),_0x43b18c[_0x43b18c['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x6b9591(0x144),_0x43b18c[_0x43b18c[_0x6b9591(0x24b)]=0x2714]=_0x6b9591(0x24b),_0x43b18c[_0x43b18c[_0x6b9591(0x1ad)]=0x271a]=_0x6b9591(0x1ad),_0x43b18c[_0x43b18c[_0x6b9591(0x22a)]=0x271b]=_0x6b9591(0x22a),_0x43b18c[_0x43b18c[_0x6b9591(0x203)]=0x271c]=_0x6b9591(0x203),_0x43b18c[_0x43b18c[_0x6b9591(0x22f)]=0x271d]=_0x6b9591(0x22f),_0x43b18c[_0x43b18c['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x6b9591(0x1ee),_0x43b18c[_0x43b18c[_0x6b9591(0x295)]=0x271f]=_0x6b9591(0x295),_0x43b18c[_0x43b18c[_0x6b9591(0x354)]=0x2af9]=_0x6b9591(0x354),_0x43b18c[_0x43b18c['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x6b9591(0x35e),_0x43b18c[_0x43b18c[_0x6b9591(0x22d)]=0x2ee2]='INVALID_INVITE_CODE',_0x43b18c[_0x43b18c[_0x6b9591(0x13d)]=0x2ee3]=_0x6b9591(0x13d),_0x43b18c[_0x43b18c[_0x6b9591(0x1da)]=0x2ee4]=_0x6b9591(0x1da),_0x43b18c[_0x43b18c[_0x6b9591(0x1de)]=0x2ee5]=_0x6b9591(0x1de),_0x43b18c[_0x43b18c[_0x6b9591(0x2c9)]=0x32c9]=_0x6b9591(0x2c9),_0x43b18c[_0x43b18c[_0x6b9591(0x314)]=0x32ca]=_0x6b9591(0x314),_0x43b18c[_0x43b18c[_0x6b9591(0x11a)]=0x32cb]=_0x6b9591(0x11a),_0x43b18c[_0x43b18c['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x43b18c))(_0x2a49c0||{}),_0x4fbf59=Object[_0x6b9591(0x158)],_0x3630d3=(_0x4242fe,_0xc9fd4a,_0x7f26bf,_0x1ab8af)=>{const _0x48f2e7=_0x6b9591;for(var _0xfb3778=_0x1ab8af>0x1?void 0x0:_0x1ab8af?_0x4fbf59(_0xc9fd4a,_0x7f26bf):_0xc9fd4a,_0x4617bf=_0x4242fe[_0x48f2e7(0x1cb)]-0x1,_0x564a09;_0x4617bf>=0x0;_0x4617bf--)(_0x564a09=_0x4242fe[_0x4617bf])&&(_0xfb3778=_0x564a09(_0xfb3778)||_0xfb3778);return _0xfb3778;},_0x109e10=(_0xeaaecb,_0x287de6)=>(_0x4e0d23,_0x16f48e)=>_0x287de6(_0x4e0d23,_0x16f48e,_0xeaaecb);_0x2a7733[_0x6b9591(0x233)]=class extends _0x4f4b1a[_0x6b9591(0x169)]{constructor(_0x5bee84,_0x596888,_0x5e31c7){const _0x2cf79a=_0x6b9591;super(),this[_0x2cf79a(0x27d)]=_0x5bee84,this['_httpService']=_0x596888,this['_configService']=_0x5e31c7;}async[_0x6b9591(0x368)](_0x584418,_0x258467,_0x1f4062,..._0x4d6377){const _0x4eb75d=_0x6b9591;var _0x54390f,_0x1baa46,_0x4ec60b,_0x1222f5;const _0x123add=this[_0x4eb75d(0x27d)]['getFocusedUnit']();if(!_0x123add)throw new Error(_0x4eb75d(0x28a));const _0xbab313=((_0x54390f=this[_0x4eb75d(0x392)][_0x4eb75d(0x25a)](_0x353bdb[_0x4eb75d(0x2f2)]))!=null?_0x54390f:_0x353bdb['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x584418+'/run/'+_0x258467,_0x4b6cc8=new URL(window[_0x4eb75d(0x1a1)]['href']),_0x250c7b={'scriptId':_0x584418,'runId':(_0x1baa46=_0x4b6cc8[_0x4eb75d(0x269)][_0x4eb75d(0x2b0)](_0x4eb75d(0x2c0)))!=null?_0x1baa46:'','function':_0x258467,'unitId':_0x123add[_0x4eb75d(0x27c)](),'argsOfFunction':JSON['stringify'](_0x4d6377),'invokeId':(_0x4ec60b=_0x1f4062[_0x4eb75d(0x289)])!=null?_0x4ec60b:'','executionId':(_0x1222f5=_0x1f4062['executionId'])!=null?_0x1222f5:''};try{const _0x5546a2=await this[_0x4eb75d(0x14f)][_0x4eb75d(0x229)](_0xbab313,{'body':_0x250c7b});return _0x5546a2[_0x4eb75d(0x351)][_0x4eb75d(0x1d6)]&&_0x5546a2['body'][_0x4eb75d(0x1d6)][_0x4eb75d(0x309)]!==_0x2a49c0['OK']?_0x4eb75d(0x242):_0x5546a2['body'][_0x4eb75d(0x317)];}catch{return _0x4eb75d(0x242);}}},_0x2a7733['RemoteUniscriptService']=_0x3630d3([_0x109e10(0x0,_0x4f4b1a[_0x6b9591(0x17b)]),_0x109e10(0x1,_0x4f4b1a[_0x6b9591(0x22e)](_0x504bfb[_0x6b9591(0x10a)])),_0x109e10(0x2,_0x4f4b1a[_0x6b9591(0x2a1)])],_0x2a7733['RemoteUniscriptService']),_0x2a7733[_0x6b9591(0x1ec)]=_0x52b7e7,_0x2a7733[_0x6b9591(0x108)]=_0x4b3148,_0x2a7733[_0x6b9591(0x19a)]=_0x20e8ad,_0x2a7733[_0x6b9591(0x288)]=_0x619342,_0x2a7733[_0x6b9591(0x191)]=_0x3cd49d,Object['defineProperty'](_0x2a7733,Symbol[_0x6b9591(0x260)],{'value':'Module'});}));