@univerjs-pro/collaboration-client-ui 0.8.0-beta.0 → 0.8.0-nightly.202505261607

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 _0x197b(){const _0x480979=['setAlpha','14894IsMkje','docStateChange$','PERMISSION_DENIED','pipe','subUnitId','Optional','BrowserCollaborationSocketService','_injector','_docSyncEditingCollabCursorService','_name','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','LocaleService','attrs','_updateURLWithCurrentState','_config','setInterval','getActiveSheet','_anchor','YUUMI_ASYNCIO_CANCELLED','_localStorageService','_collabSessionService','override','fillStyle','_hover','setShapeProps','IUIPartsService','/run/','onPointerLeave$','_onCursorDelete','exports','ALREADY_EXISTS','getCurrentUnitForType','DisposableCollection','_beforeCloseService','blue.400','collaboration-client-ui.config','trim','params','font','invokeId','selection','children','getCurrentSelections','UNRECOGNIZED','getUnitStatus$','_initStatusListener','ticket','registerDependencies','UniverEngineFormula','_unitOnClients','Rect','roomMembers','getStateCache','_initStatusComponent','NOT_COLLAB','_cursors','current','defIds','toRgbString','getSheetId','[RemoteUniscriptService]:\x20no\x20focused\x20unit','CollaborationUIEventId','getUnhiddenWorksheets','on-line-single_clip0_910_349','throttleTime','href','_notificationService','editingUnit','IUniverInstanceService','_startDocCollabCursor','WebBrowserSingleActiveUnitService','_entityInit$','_univerInstanceService','collabStatus.conflict','MoveRangeCommandId','contains','ENSURE_SNAPSHOT_EXECUTION','hovered','newValue','function','_refRangeService','univerjs-icon\x20univerjs-icon-','_toggleOnline','univer-flex\x20univer-mr-2\x20univer-text-xl','@univerjs/sheets','column','_docSkeleton','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','uni.network.url-service','[CollaborationDataLoaderController]','Unknown\x20user','has','saveTaskMap','_scheduleClearOtherTimer','_configService','makeDirty','JOIN_ROOM_FAILED','_context','extend','setUndoRedoMutationParamsCache','RxDisposable','RegularPolygon','getViewport','SYNCED','YUUMI_NO_CUBOID_FOR_QUESTION','session.collaboration-timeout','_updateCollabCursors','defs','React','PY_RUNTIME_SCRIPT_ERROR','univer-flex\x20univer-items-center','saveImage','_color','yellow.400','SUBMIT_CHANGESET_TIMEOUT','_eventUnsubscribe','save','_renderManagerService','then','transformByState','react/jsx-runtime','WebSocketService','event$','UniverRpc','filter','SheetCollabCursorShape','CONFLICT','NodePositionConvertToCursor','_docTransformStateCacheService','length','_initDependencies','triggerDblclick','_cursorInfo$','asObservable','DesktopCollaborationStatusDisplayController','range','_getSessionTicket','isActive','_transformService','stringify','getDocRanges','NOT_FOUND','_scene','fromEvent','getCoordByCell','_init','with','size','LICENSE_DISTRO_REJECTED','getCurrentRevOfUnit','ONLINE','RichTextEditingMutation','_unitStatus','_selfUnitIDs','_collaborationController','YUUMI_UNABLE_LOAD_URL','Plugin','string','OTHER_CLIENT_EDITING','_anchorDot','setItem','ISnapshotServerService','OTHER_CLIENTS_EDITING','_initEvent','Rectangle','currentSkeleton$','getColorFromTheme','location','COMPLETION_FINISHED','memberID','color','currentTheme$','registerRefRange','findNodePositionByCharIndex','DocIMEInputManagerService','ColorKit','UNAUTHENTICATED','createInstance','saveOfflineData','ILogService','_docStateChangeManagerService','onPointerEnter$','CollaborationSessionService','focused$','TOO_MANY_REQUESTS','history','INVITE_CODE_ALREADY_BOUND','_assignedColors','_updateSubUnitFromURLParams','LICENSE_EXPORT_SIZE_EXCEEDED','DocStateChangeManagerService','_drawTextRange','div','RemoteUniscriptService','getSheetObject','hide','Shape','_urlService','Disposable','transformSelections','MemberService','CONNECTOR_DATA_TOO_LARGE','toString','_textBubble','syncEditingCollabCursor','_logService','_session','unsubscribe','onMouseMove','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','LICENSE_IMPORT_SIZE_EXCEEDED','TEXT_RANGE_LAYER_INDEX','_colorIndex','getTypeOfUnitAdded$','_transformPreviousActiveRange','substring','moveTo','assign','getParam','text','forwardRef','INVITE_CODE_REQUIRED','UnitStatus','HTTPService','session.connection-failed','defineProperty','179070lbjNMM','bottom','url(#$1','Tools','svg','deserializeRangeWithSheet','handleIRemoveRow','_registerDependencies','_collaborationUIEventService','error','YUUMI_SUBSCRIPTION_NOT_FOUND','SetTextSelectionsOperation','rxjs','EffectRefRangId','IRemoteInstanceService','_scheduleSaving','none','1648760QGSjdK','getActiveRange','jiqing.500','fillText','touchDependencies','sheetID','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_cachedData','_httpService','SheetsSelectionsService','#fff','code','_range','Vector2','engine','_initCommandExecutedListener','addClipboardHook','mapTo','@univerjs/docs-ui','EMAIL_HAS_BEEN_BOUND','SNAPSHOT_HAS_BEEN_REMOVED','YUUMI_ALL_TABLES_IS_INVALID','sessionStatus$','round','forEach','_memberService','@univerjs/engine-formula','handleInsertCol','rxjs/operators','Error','serializeRangeWithSheet','CollaborationController','getCurrent','_doCreateSocket','jsx','APPLY_REVISION_CONFILICT','@univerjs/docs','UniverCollaborationClientPlugin','body','backgroundColor','subunit','IImageIoService','apply','Failed','executeCommand','UNIVER_DOC','_ensureSubject','_getSaveTimeout','getAncestorScale','@univerjs/ui','InsertRangeMoveRightCommandId','onCommandExecuted','DOC_RANGE_TYPE','collab-client.tooltip.reconnect','_hovered','BuiltInUIPart','off-line-single','clearTimeout','textRanges','merge','NO_OTHER_CLIENTS_EDITING','unshift','APPLY_DUPLICATED','TEXT','getVpScrollXYInfoByPosToVp','_roomMembers$','InsertRowCommandId','set','handleIRemoveCol','UniverNetwork','RECT','handleDeleteRangeMoveLeft','type','_shapes','AWAITING_WITH_PENDING','LICENSE_MAX_UNITS_EXCEEDED','map','IMessageService','deepClone','MOBILE_HAS_BEEN_BOUND','APPLY_REJECT','delete','runId','setStateCache','use','xlink:href','key','startRow','CommandType','ACTIVE_UNIT_EVENT_CHANNEL','random','indexOf','ICommandService','_colorAssignService','0\x200\x2017\x2016','collaboration.closeRoom','LOCAL_CACHE_INTERVAL_KEY','undoState','Subject','_handleJoinEvent','SetSelectionsOperation','max','UniverCollaborationClientUIPlugin','_getMergeRange','redoState','ILocalCacheService','INVALID_INVITE_CODE','_initEntityListener','_updateLocalCursor','debounceTime','INVITE_CODE_HAS_BEEN_UES','createElement','prototype','_createSocketURL','activeSheet$','onRendered','addHandlerCallback','_docTransformIMECacheService','@univerjs/rpc','fill','_heartbeatTimer','subscribe','@univerjs-pro/collaboration','url(#on-line-single_clip0_910_349)','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','collabStatus.synced','collabStatus.offline','_scheduleHeartbeat','@univerjs/design','@univerjs/sheets-ui','_removeCollabCursors','generateRandomId','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','get','RemoveColCommandId','disposeWithMe','@univerjs/network','DocSkeletonManagerService','transform','transformStateCache','IDocClipboardService','includes','_handleLeaveEvent','concat','#FFF','getOwnPropertyDescriptor','_onCursorUpdate','_send','_collabCursorState$','min','_getScale','getColor','SetWorksheetActivateCommand','MessageType','eventID','_drawAnchor','init','6785YlRKcE','RemoveRowCommandId','hasOwnProperty','getUniverSheetInstance','SessionStatus','removeParam','useDependency','M0\x200H16V16H0z','_commandService','useCallback','UNDEFINED','APPLY_PERMISSION_DENIED','getValue','WECHAT_HAS_BEEN_BOUND','UniverDocs','colorChannel1','dispose','getRangePointData','handleInsertRangeMoveRight','name','clsx','_document','beginPath','VIEW_MAIN','_syncEditingCollabCursorService','debounce','getOffsetConfig','InsertColCommandId','_sheetSkeletonManagerService','HEADER_MENU','380ikHyMP','purple.300','_clearOtherTimers','transformIMECache','collaboration-client.offline-data-not-saved','result','lineTo','_handleHeartbeatEvent','CollaborationStatus','CollaborationStatusDisplay','AWAITING','selections','964Euvazj','call','handleMoveRange','complete','black','requireSession','InsertRangeMoveDownCommandId','arc','off-line-single_clip0_910_343','assignAColorForMemberID','_labelPosition','USERS_LEAVE','drawWith','takeUntil','parse','_cursorShapes','jsxs','_drawRectRange','width','isEditing','isTransformMutationsWithChangesetSuccess','IRenderManagerService','m2Prime','_setupSubUnitSync','collaboration.single-unit.warning','_messageService','measureText','_docClipboardService','USER_NOT_INVITED_CODE','SOCKET_FAILED_RETRY','CHANGESET_REVISION_CONFILICT','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','collab-text-anchor-','SNAPSHOT_INVALID_SNAPSHOT','4737cfHNKE','_backgroundColor','UniverInstanceType','SetDocZoomRatioOperation','UniverProCollaboration','mergeOverrideWithDependencies','_saveTaskMap','LOGIN_FAILED','data','_instanceService','LOCAL_CACHE_INTERVAL','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','getUndoRedoMutationParamsCache','_refreshCollabCursors','getTypeOfUnitDisposed$','UniverDocsUi','addObjects','YUUMI_TABLE_NOT_FOUND_IN_UNIT','RefRangeService','registerComponent','_docTransformSelectionsService','send','Injector','on-line-single','next','getUnitId','handleInsertRangeMoveDown','_initResize','row','ILocalStorageService','getCollabCursors$','symbol','ThemeService','_disabled','@univerjs/engine-render','UPDATE_CURSOR','path','searchParams','getFocusedUnit','RevisionService','_lastPointer','restore','unitID','SOCKET_FAILED','UniverSheets','status$','idSuffix','YUUMI_RATE_OVER_LIMIT','tag','replaceDocRanges','getOwnPropertySymbols','INTERNAL_ERROR','_setupBeforeClosingHandler','flatMap','_transformUndoRedoStack','registerBeforeClose','_toggleOffline','collabStatus.syncing','transformMutation','subscribeEvent','add','_docSkeletonManagerService','UNIVER_SHEET','_transformHistoryAndStateStack','combineLatest','@univerjs-pro/collaboration-client','collabCursorState$','CollaborationUIEventService','mutations','1em','_id','getConfig','DocSelectionManagerService','dispose$','addEventListener','unit','_themeService','ranges','endRow','_entities','_cursor','INVALID_ARGUMENT','height','APPLY_NON_SEQUENTIAL_REVISION','entries','Inject','cursorInfo$','doc.mutation.rich-text-editing','7eSpDlb','CollaborationEvent','search','_online','all','toDisposable','_dataLoaderService','13072464kOaqmS','reconnect','UniverProCollaborationClient','whenReady','@univerjs/core','disableLocalCache','_revisionService','clipPath','m1Prime','getMergeData','className','switchMap','cursorInfo','_saveCache','transformRemoteChangeset','_handleHover','pluginName','getMember','YUUMI_AI_RUN_FAILED','MUTATION','_getAnchorBounding','SHEET_VIEWPORT_KEY','UniverDrawing','values','closePath','9dHZCcg','show','getRenderById','startColumn','source','@univerjs/drawing','_draw','IConfigService','_hideTimer','transformMutationsWithChangeset','IURLService','DeleteRangeMoveLeftCommandId','getItem','evenodd','setActiveRange','getCellPositionByOffset','react','getSheetBySheetId','CollaborationSocketService','Warning','actions','getLocalCacheKey','replace','runOnServer','_getSheetObject','distinctUntilChanged','onLocalMutation','exhaustSavingTask','origin','push','IBeforeCloseService','Module','from','unitId','COLORS','endColumn','icon','runRefRangeMutations','CollaborationDataLoaderController','_onRefRangeChange','_collabCursorController','_handleEvent','unload','permission.title','setConfig','displayName','getMemberID','clearInterval','BehaviorSubject','371097cGbzjX','ITransformService','collabStatus.notCollab','UniverProCollaborationClientUi','setParam','_status$','onStarting','PENDING','isTransformMutationFailure','900qoeWJV','DependentOn','_uiPartsService','roomMembers$','_localeService','loadOfflineData','mask','rgba(255,\x20255,\x20255,\x200.01)','addObject','replaceState','registerRenderModule','OnLineSingle','_removeClearOtherTimer'];_0x197b=function(){return _0x480979;};return _0x197b();}function _0x40f3(_0x2220ed,_0x38939e){const _0x197bb7=_0x197b();return _0x40f3=function(_0x40f3a7,_0x45443d){_0x40f3a7=_0x40f3a7-0xf4;let _0x36b1a5=_0x197bb7[_0x40f3a7];return _0x36b1a5;},_0x40f3(_0x2220ed,_0x38939e);}(function(_0x4d1750,_0x385c9b){const _0x58555d=_0x40f3,_0x295a82=_0x4d1750();while(!![]){try{const _0x181d5f=parseInt(_0x58555d(0x257))/0x1+parseInt(_0x58555d(0x18c))/0x2*(-parseInt(_0x58555d(0x1ae))/0x3)+-parseInt(_0x58555d(0x260))/0x4*(parseInt(_0x58555d(0x162))/0x5)+-parseInt(_0x58555d(0x350))/0x6*(-parseInt(_0x58555d(0x206))/0x7)+-parseInt(_0x58555d(0x361))/0x8*(-parseInt(_0x58555d(0x226))/0x9)+parseInt(_0x58555d(0x180))/0xa*(parseInt(_0x58555d(0x26e))/0xb)+parseInt(_0x58555d(0x20d))/0xc;if(_0x181d5f===_0x385c9b)break;else _0x295a82['push'](_0x295a82['shift']());}catch(_0x314ee0){_0x295a82['push'](_0x295a82['shift']());}}}(_0x197b,0xa65f2),function(_0x3363e6,_0x3bf143){const _0x49abd8=_0x40f3;typeof exports=='object'&&typeof module<'u'?_0x3bf143(exports,require(_0x49abd8(0x1ef)),require('@univerjs/core'),require('@univerjs/engine-render'),require(_0x49abd8(0x14d)),require(_0x49abd8(0x373)),require('@univerjs/drawing'),require(_0x49abd8(0x35c)),require(_0x49abd8(0x385)),require('@univerjs-pro/collaboration'),require(_0x49abd8(0x37b)),require('@univerjs/sheets'),require('rxjs/operators'),require(_0x49abd8(0x146)),require(_0x49abd8(0x2e6)),require(_0x49abd8(0xf6)),require(_0x49abd8(0x145)),require(_0x49abd8(0x236)),require('@univerjs/rpc')):typeof define==_0x49abd8(0x2bd)&&define['amd']?define([_0x49abd8(0x28b),_0x49abd8(0x1ef),_0x49abd8(0x211),_0x49abd8(0x1d0),_0x49abd8(0x14d),_0x49abd8(0x373),_0x49abd8(0x22b),_0x49abd8(0x35c),_0x49abd8(0x385),_0x49abd8(0x13f),'@univerjs/engine-formula',_0x49abd8(0x2c2),_0x49abd8(0x37d),_0x49abd8(0x146),'react/jsx-runtime',_0x49abd8(0xf6),'@univerjs/design',_0x49abd8(0x236),_0x49abd8(0x13b)],_0x3bf143):(_0x3363e6=typeof globalThis<'u'?globalThis:_0x3363e6||self,_0x3bf143(_0x3363e6[_0x49abd8(0x25a)]={},_0x3363e6[_0x49abd8(0x20f)],_0x3363e6['UniverCore'],_0x3363e6['UniverEngineRender'],_0x3363e6[_0x49abd8(0x10a)],_0x3363e6[_0x49abd8(0x1bd)],_0x3363e6[_0x49abd8(0x223)],_0x3363e6[_0x49abd8(0x35c)],_0x3363e6[_0x49abd8(0x170)],_0x3363e6[_0x49abd8(0x1b2)],_0x3363e6[_0x49abd8(0x29e)],_0x3363e6[_0x49abd8(0x1da)],_0x3363e6[_0x49abd8(0x35c)]['operators'],_0x3363e6['UniverSheetsUi'],_0x3363e6[_0x49abd8(0x2da)],_0x3363e6['UniverUi'],_0x3363e6['UniverDesign'],_0x3363e6['React'],_0x3363e6[_0x49abd8(0x2e9)]));}(this,function(_0x253d45,_0x27afe7,_0x5ab409,_0x54596e,_0x377897,_0x592e11,_0x975022,_0x5f1da7,_0x4edba9,_0x32a7bb,_0x386997,_0x5b080a,_0xe835bd,_0x2d41c7,_0x1dfb49,_0x2d2548,_0xe47b50,_0x55e8ff,_0x431570){'use strict';const _0x37eff8=_0x40f3;var _0x149e51=Object[_0x37eff8(0x34f)],_0x49436a=(_0x1fa1b2,_0x4f510f,_0x12f449)=>_0x4f510f in _0x1fa1b2?_0x149e51(_0x1fa1b2,_0x4f510f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x12f449}):_0x1fa1b2[_0x4f510f]=_0x12f449,_0xb0aba8=(_0x3b9e41,_0x4fdd9c,_0x1e0757)=>_0x49436a(_0x3b9e41,typeof _0x4fdd9c!=_0x37eff8(0x1cd)?_0x4fdd9c+'':_0x4fdd9c,_0x1e0757),_0xac4057=Object[_0x37eff8(0x156)],_0xa5fb59=(_0x4b3077,_0xb4a4b6,_0x355a4e,_0x335ffa)=>{const _0x34bdb8=_0x37eff8;for(var _0x3d2149=_0x335ffa>0x1?void 0x0:_0x335ffa?_0xac4057(_0xb4a4b6,_0x355a4e):_0xb4a4b6,_0x2d60c6=_0x4b3077[_0x34bdb8(0x2ef)]-0x1,_0x56e1ce;_0x2d60c6>=0x0;_0x2d60c6--)(_0x56e1ce=_0x4b3077[_0x2d60c6])&&(_0x3d2149=_0x56e1ce(_0x3d2149)||_0x3d2149);return _0x3d2149;},_0x24af60=(_0x3ebbae,_0x1a9067)=>(_0xb36b7,_0x1f742d)=>_0x1a9067(_0xb36b7,_0x1f742d,_0x3ebbae);let _0x581e65=class extends _0x5ab409[_0x37eff8(0x2d2)]{constructor(_0x3c1c99,_0x40f1ea){const _0x383f20=_0x37eff8;super(),this[_0x383f20(0x1a7)]=_0x3c1c99,this['_imageIoService']=_0x40f1ea,this[_0x383f20(0x2ff)]();}[_0x37eff8(0x2ff)](){const _0x175699=_0x37eff8,_0x753b7e=this;this['disposeWithMe'](this[_0x175699(0x1a7)][_0x175699(0x371)]({'onBeforePasteImage':async _0x8fb5e6=>{const _0x20bb80=_0x175699,_0x4711be=await _0x753b7e['_imageIoService'][_0x20bb80(0x2dd)](_0x8fb5e6);return _0x4711be?{'source':_0x4711be[_0x20bb80(0x22a)],'imageSourceType':_0x4711be['imageSourceType']}:null;}}));}};_0x581e65=_0xa5fb59([_0x24af60(0x0,_0x592e11[_0x37eff8(0x151)]),_0x24af60(0x1,_0x975022[_0x37eff8(0x38a)])],_0x581e65);const _0x262f20=[_0x37eff8(0x181),_0x37eff8(0x363),'green.600','red.300',_0x37eff8(0x290),_0x37eff8(0x2df)];class _0x7ad230 extends _0x5ab409[_0x37eff8(0x334)]{constructor(){const _0x18ffa7=_0x37eff8;super(...arguments),_0xb0aba8(this,'_assignedColors',new Map()),_0xb0aba8(this,_0x18ffa7(0x342),0x0);}['assignAColorForMemberID'](_0x417ed3){const _0x33350f=_0x37eff8;if(this[_0x33350f(0x329)][_0x33350f(0x2c9)](_0x417ed3))return this[_0x33350f(0x329)][_0x33350f(0x14a)](_0x417ed3);const _0x533d8e=_0x262f20[this[_0x33350f(0x342)]];return this[_0x33350f(0x342)]=(this[_0x33350f(0x342)]+0x1)%_0x262f20[_0x33350f(0x2ef)],this[_0x33350f(0x329)][_0x33350f(0x108)](_0x417ed3,_0x533d8e),_0x533d8e;}}function _0x38d09f(_0x198ac2){const _0x25ef8a=_0x37eff8;let _0x5bbc06='';for(const _0x37816a of _0x198ac2){const {startOffset:_0x4397a3,endOffset:_0x7a16eb,isActive:_0x4c1880,rangeType:_0x20f4a1,segmentId:_0x4b68e0,segmentPage:_0x574542}=_0x37816a;_0x5bbc06[_0x25ef8a(0x2ef)]&&(_0x5bbc06+=','),_0x5bbc06+=_0x4397a3+':'+_0x7a16eb+':'+(_0x4c1880?'1':'0')+':'+_0x20f4a1+':'+_0x4b68e0+':'+_0x574542;}return _0x5bbc06;}function _0x50f593(_0x5d1c70){const _0x521c1c=_0x37eff8,_0xde8e96=_0x5d1c70['split'](','),_0x142170=[];for(const _0x44d92a of _0xde8e96){const [_0x53ac4a,_0x335b99,_0x36514f,_0x5e94c4,_0x221b8d,_0x1a959f]=_0x44d92a['split'](':');_0x142170[_0x521c1c(0x243)]({'startOffset':Number(_0x53ac4a),'endOffset':Number(_0x335b99),'collapsed':_0x53ac4a===_0x335b99,'isActive':_0x36514f==='1','rangeType':_0x5e94c4===_0x5ab409[_0x521c1c(0xf9)][_0x521c1c(0x104)]?_0x5ab409[_0x521c1c(0xf9)][_0x521c1c(0x104)]:_0x5ab409[_0x521c1c(0xf9)][_0x521c1c(0x10b)],'segmentId':typeof _0x221b8d==_0x521c1c(0x30b)?String(_0x221b8d):'','segmentPage':Number(_0x1a959f!=null?_0x1a959f:-0x1)});}return _0x142170['some'](_0x3b7352=>_0x3b7352[_0x521c1c(0x2f7)])||(_0x142170[0x0][_0x521c1c(0x2f7)]=!0x0),_0x142170;}class _0x566268 extends _0x5ab409[_0x37eff8(0x2d2)]{constructor(){const _0x362603=_0x37eff8;super(...arguments),_0xb0aba8(this,_0x362603(0x159),new _0x5f1da7['BehaviorSubject'](null)),_0xb0aba8(this,_0x362603(0x1f0),this['_collabCursorState$'][_0x362603(0x2f3)]());}[_0x37eff8(0x33a)](_0x1c9661){const _0x57ed9c=_0x37eff8,{unitID:_0x224afd,memberID:_0x42c2a1,textRanges:_0x4c8db4}=_0x1c9661,_0x1adbf9=_0x38d09f(_0x4c8db4);if(_0x1adbf9==='')return;const _0x58df64={'unitID':_0x224afd,'memberID':_0x42c2a1,'selection':_0x1adbf9};this[_0x57ed9c(0x159)][_0x57ed9c(0x1c6)](_0x58df64);}}var _0xd1f7f9=Object[_0x37eff8(0x156)],_0x3d67bc=(_0x27d56c,_0x3b4ee2,_0x30df51,_0x115211)=>{const _0x2e3977=_0x37eff8;for(var _0x121ed1=_0x115211>0x1?void 0x0:_0x115211?_0xd1f7f9(_0x3b4ee2,_0x30df51):_0x3b4ee2,_0x3c42c4=_0x27d56c[_0x2e3977(0x2ef)]-0x1,_0x567e28;_0x3c42c4>=0x0;_0x3c42c4--)(_0x567e28=_0x27d56c[_0x3c42c4])&&(_0x121ed1=_0x567e28(_0x121ed1)||_0x121ed1);return _0x121ed1;},_0x59a222=(_0x1e1123,_0x5167f5)=>(_0x1a5494,_0x2bd437)=>_0x5167f5(_0x1a5494,_0x2bd437,_0x1e1123);const _0x52e10c=0x12c,_0x4cb399=0x64;let _0x51652a=class extends _0x5ab409[_0x37eff8(0x2d2)]{constructor(_0x39fd57,_0xb600ef,_0x1e91d5,_0x582743,_0x6ae0e0,_0x14044e,_0x81a427,_0xfe688,_0x322cb1){const _0x2663f7=_0x37eff8;super(),_0xb0aba8(this,_0x2663f7(0x209),!0x1),_0xb0aba8(this,'_init',!0x1),_0xb0aba8(this,_0x2663f7(0x2f2),new _0x5f1da7[(_0x2663f7(0x256))](new Map())),_0xb0aba8(this,_0x2663f7(0x204),this[_0x2663f7(0x2f2)]['asObservable']()),_0xb0aba8(this,_0x2663f7(0x106),new _0x5f1da7[(_0x2663f7(0x256))]([])),_0xb0aba8(this,'roomMembers$',this[_0x2663f7(0x106)][_0x2663f7(0x271)](_0x5f1da7['debounceTime'](_0x52e10c))),_0xb0aba8(this,_0x2663f7(0x131),_0x5ab409[_0x2663f7(0x17b)](_0x5a950b=>{const _0x1b8e9b=_0x2663f7,_0x3723ad={'eventID':_0x32a7bb[_0x1b8e9b(0x207)][_0x1b8e9b(0x1d1)],'data':{'unitID':this[_0x1b8e9b(0x1d8)],'memberID':this[_0x1b8e9b(0x33c)][_0x1b8e9b(0x254)](),'selection':_0x38d09f(_0x5a950b)}};this[_0x1b8e9b(0x33c)][_0x1b8e9b(0x1c3)](_0x3723ad,this[_0x1b8e9b(0x1d8)]);},_0x4cb399)),(this[_0x2663f7(0x1d8)]=_0x39fd57,this['_session']=_0xb600ef,this[_0x2663f7(0x275)]=_0x1e91d5,this['_colorAssignService']=_0x582743,this['_memberService']=_0x6ae0e0,this[_0x2663f7(0x17a)]=_0x14044e,this[_0x2663f7(0x2f8)]=_0x81a427,this['_univerInstanceService']=_0xfe688,this['_commandService']=_0x322cb1);}get[_0x37eff8(0x219)](){const _0x4c74ee=_0x37eff8;return this[_0x4c74ee(0x2f2)][_0x4c74ee(0x16e)]();}get[_0x37eff8(0x2a1)](){const _0x456528=_0x37eff8;return this[_0x456528(0x106)][_0x456528(0x16e)]();}[_0x37eff8(0x172)](){const _0x220b45=_0x37eff8;super[_0x220b45(0x172)](),this[_0x220b45(0x2f2)][_0x220b45(0x1c6)](new Map()),this[_0x220b45(0x2f2)]['complete'](),this[_0x220b45(0x106)][_0x220b45(0x1c6)]([]),this['_roomMembers$'][_0x220b45(0x18f)]();}[_0x37eff8(0x161)](){const _0x35baa1=_0x37eff8;this[_0x35baa1(0x2ff)]||(this[_0x35baa1(0x2ff)]=!0x0,this[_0x35baa1(0x33c)][_0x35baa1(0x377)][_0x35baa1(0x271)](_0x5f1da7['takeUntil'](this[_0x35baa1(0x1f7)]))[_0x35baa1(0x13e)](_0x33f19d=>{const _0x47843b=_0x35baa1;_0x33f19d===_0x27afe7[_0x47843b(0x166)][_0x47843b(0x304)]?this[_0x47843b(0x2c0)]():this[_0x47843b(0x1e6)]();}),this[_0x35baa1(0x33c)][_0x35baa1(0x2e8)][_0x35baa1(0x271)](_0x5f1da7[_0x35baa1(0x199)](this[_0x35baa1(0x1f7)]))['subscribe'](_0xa2b29b=>{const _0x27a327=_0x35baa1,_0x43fd9f=_0xa2b29b[_0x27a327(0x15f)];_0x43fd9f===_0x32a7bb[_0x27a327(0x207)][_0x27a327(0x1d1)]&&this[_0x27a327(0x157)](_0xa2b29b),_0x43fd9f===_0x32a7bb[_0x27a327(0x207)][_0x27a327(0x197)]&&this[_0x27a327(0x28a)](_0xa2b29b);}),this[_0x35baa1(0x14c)](this['_commandService']['onCommandExecuted'](_0x2b7d0c=>{const _0x2fab40=_0x35baa1,_0x53f223=_0x2b7d0c[_0x2fab40(0x293)];_0x53f223!=null&&this[_0x2fab40(0x209)]&&_0x2b7d0c['id']===_0x4edba9[_0x2fab40(0x35b)]['id']&&_0x53f223[_0x2fab40(0x247)]===this[_0x2fab40(0x1d8)]&&_0x53f223[_0x2fab40(0x19f)]===!0x1&&_0x53f223[_0x2fab40(0x1fb)]['length']>0x0&&this['_updateLocalCursor'](_0x53f223[_0x2fab40(0x1fb)]);})),this[_0x35baa1(0x17a)][_0x35baa1(0x1f0)][_0x35baa1(0x271)](_0x5f1da7[_0x35baa1(0x199)](this[_0x35baa1(0x1f7)]))['subscribe'](_0x36d8a5=>{const _0x456b1b=_0x35baa1;if((_0x36d8a5==null?void 0x0:_0x36d8a5[_0x456b1b(0x1d8)])!==this['unitID'])return;const _0x39794e={'eventID':_0x32a7bb['CollaborationEvent'][_0x456b1b(0x1d1)],'data':_0x36d8a5};this[_0x456b1b(0x157)](_0x39794e);}),this['disposeWithMe'](this[_0x35baa1(0x16a)][_0x35baa1(0xf8)](_0x11f681=>{const _0x4c02c9=_0x35baa1;if(_0x11f681[_0x4c02c9(0x293)]==null)return;const _0x29a936=_0x11f681[_0x4c02c9(0x293)];if(_0x11f681['id']!==_0x4edba9[_0x4c02c9(0x305)]['id']||_0x29a936[_0x4c02c9(0x247)]!==this[_0x4c02c9(0x1d8)])return;const _0x45a96c={'id':_0x4c02c9(0x205),'params':_0x29a936},_0x8281e4=this['cursorInfo'];for(const [_0x4d2451,_0x392b32]of _0x8281e4){const _0x4a8d16={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x4c02c9(0x1d8)],'actions':null,'textRanges':_0x392b32[_0x4c02c9(0x1fb)]}},_0x1da898=this[_0x4c02c9(0x2f8)][_0x4c02c9(0x1e8)](_0x45a96c,_0x4a8d16,!0x1);if(_0x32a7bb['isTransformMutationFailure'](_0x1da898))throw _0x1da898[_0x4c02c9(0x359)];_0x8281e4['set'](_0x4d2451,{..._0x392b32,'ranges':_0x1da898[_0x4c02c9(0x1a2)]['params'][_0x4c02c9(0xff)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x8281e4);});})));}['_onCursorUpdate'](_0x25a38e){const _0x5eac4c=_0x37eff8;var _0xc1b34a,_0x3b2567;const {memberID:_0x3a49cb,selection:_0x561b12}=_0x25a38e[_0x5eac4c(0x1b6)],_0x2da0ab=_0x50f593(_0x561b12),_0x39dbfb=(_0x3b2567=(_0xc1b34a=this['_memberService'][_0x5eac4c(0x21e)](this['unitID'],_0x3a49cb))==null?void 0x0:_0xc1b34a['name'])!=null?_0x3b2567:_0x5eac4c(0x2c8),_0x3a0af6={'color':this[_0x5eac4c(0x122)][_0x5eac4c(0x195)](_0x3a49cb),'name':_0x39dbfb,'ranges':_0x2da0ab},_0x26697f=this[_0x5eac4c(0x219)];_0x26697f[_0x5eac4c(0x108)](_0x3a49cb,_0x3a0af6),this[_0x5eac4c(0x2f2)][_0x5eac4c(0x1c6)](_0x26697f);}['_onCursorDelete'](_0x4ea230){const _0x401d0c=_0x37eff8,{memberID:_0x5b0b4d}=_0x4ea230[_0x401d0c(0x1b6)],_0x408f41=this[_0x401d0c(0x219)];_0x408f41[_0x401d0c(0x116)](_0x5b0b4d),this[_0x401d0c(0x2f2)]['next'](_0x408f41);}[_0x37eff8(0x2c0)](){const _0x545dfb=_0x37eff8;var _0x3d307c;if(this['_online']=!0x0,((_0x3d307c=this[_0x545dfb(0x2b6)][_0x545dfb(0x1d4)]())==null?void 0x0:_0x3d307c[_0x545dfb(0x1c7)]())!==this[_0x545dfb(0x1d8)])return;const _0xf33bd8=this[_0x545dfb(0x275)][_0x545dfb(0x14a)](_0x4edba9['DocSelectionManagerService'])[_0x545dfb(0x2fa)]();Array['isArray'](_0xf33bd8)&&_0xf33bd8[_0x545dfb(0x2ef)]>0x0&&this['_updateLocalCursor'](_0xf33bd8);}[_0x37eff8(0x1e6)](){const _0x1e3286=_0x37eff8;this[_0x1e3286(0x209)]=!0x1;}};_0x51652a=_0x3d67bc([_0x59a222(0x2,_0x5ab409[_0x37eff8(0x203)](_0x5ab409['Injector'])),_0x59a222(0x3,_0x5ab409[_0x37eff8(0x203)](_0x7ad230)),_0x59a222(0x4,_0x5ab409[_0x37eff8(0x203)](_0x27afe7[_0x37eff8(0x336)])),_0x59a222(0x5,_0x5ab409[_0x37eff8(0x203)](_0x566268)),_0x59a222(0x6,_0x32a7bb[_0x37eff8(0x258)]),_0x59a222(0x7,_0x5ab409[_0x37eff8(0x2b2)]),_0x59a222(0x8,_0x5ab409[_0x37eff8(0x121)])],_0x51652a);var _0x317a6a=Object['getOwnPropertyDescriptor'],_0x263058=(_0x1efc0c,_0x2ebf74,_0x16fbba,_0x1fd1b7)=>{const _0x2461e7=_0x37eff8;for(var _0x321806=_0x1fd1b7>0x1?void 0x0:_0x1fd1b7?_0x317a6a(_0x2ebf74,_0x16fbba):_0x2ebf74,_0x47272e=_0x1efc0c[_0x2461e7(0x2ef)]-0x1,_0x1838d3;_0x47272e>=0x0;_0x47272e--)(_0x1838d3=_0x1efc0c[_0x47272e])&&(_0x321806=_0x1838d3(_0x321806)||_0x321806);return _0x321806;},_0x56c3c9=(_0x1363eb,_0x1be252)=>(_0x473ad6,_0x29a270)=>_0x1be252(_0x473ad6,_0x29a270,_0x1363eb);const _0x1f2049=0x12c,_0x2dac5b=0x64,_0x42f84d=()=>{let _0x784ef6=[],_0x1465f3=!0x1;return _0x269af7=>{const _0x12c3fa=_0x40f3;_0x784ef6[_0x12c3fa(0x243)](_0x269af7),_0x1465f3||(_0x1465f3=!0x0,setTimeout(()=>{const _0x245872=_0x12c3fa;_0x784ef6[_0x245872(0x379)](_0x4957ef=>_0x4957ef()),_0x784ef6=[],_0x1465f3=!0x1;}));};};let _0xbe283=class extends _0x5ab409['RxDisposable']{constructor(_0x4dd2c5,_0x20c4d0,_0x40b72d,_0x82dfd8,_0x4a803e,_0x1f134d,_0x2e0e40,_0x161017){const _0x512298=_0x37eff8;super(),_0xb0aba8(this,_0x512298(0x209),!0x1),_0xb0aba8(this,'_init',!0x1),_0xb0aba8(this,_0x512298(0x2f2),new _0x5f1da7[(_0x512298(0x256))](new Map())),_0xb0aba8(this,_0x512298(0x204),this['_cursorInfo$'][_0x512298(0x2f3)]()),_0xb0aba8(this,_0x512298(0x106),new _0x5f1da7[(_0x512298(0x256))]([])),_0xb0aba8(this,_0x512298(0x263),this[_0x512298(0x106)][_0x512298(0x271)](_0x5f1da7[_0x512298(0x132)](_0x1f2049))),_0xb0aba8(this,_0x512298(0x131),_0x5ab409[_0x512298(0x17b)]((_0x34df7b,_0x363cbd)=>{const _0x1a4fec=_0x512298,_0x4eaeb7={'eventID':_0x32a7bb[_0x1a4fec(0x207)][_0x1a4fec(0x1d1)],'data':{'unitID':this[_0x1a4fec(0x1d8)],'memberID':this[_0x1a4fec(0x33c)][_0x1a4fec(0x254)](),'selection':_0x386997[_0x1a4fec(0x37f)](_0x34df7b,_0x363cbd[_0x1a4fec(0x2f5)])}};this['_session'][_0x1a4fec(0x1c3)](_0x4eaeb7,this[_0x1a4fec(0x1d8)]);},_0x2dac5b)),(this[_0x512298(0x1d8)]=_0x4dd2c5,this[_0x512298(0x33c)]=_0x20c4d0,this['_injector']=_0x40b72d,this[_0x512298(0x122)]=_0x82dfd8,this[_0x512298(0x37a)]=_0x4a803e,this['_univerInstanceService']=_0x1f134d,this['_commandService']=_0x2e0e40,this[_0x512298(0x2be)]=_0x161017);}get[_0x37eff8(0x219)](){return this['_cursorInfo$']['getValue']();}get[_0x37eff8(0x2a1)](){const _0x3cd45f=_0x37eff8;return this['_roomMembers$'][_0x3cd45f(0x16e)]();}['dispose'](){const _0xcd17d9=_0x37eff8;super[_0xcd17d9(0x172)](),this['_cursorInfo$'][_0xcd17d9(0x1c6)](new Map()),this[_0xcd17d9(0x2f2)][_0xcd17d9(0x18f)](),this[_0xcd17d9(0x106)]['next']([]),this['_roomMembers$']['complete']();}[_0x37eff8(0x161)](){const _0x494a44=_0x37eff8;this[_0x494a44(0x2ff)]||(this['_init']=!0x0,this[_0x494a44(0x33c)]['sessionStatus$'][_0x494a44(0x271)](_0x5f1da7[_0x494a44(0x199)](this[_0x494a44(0x1f7)]))[_0x494a44(0x13e)](_0x172312=>{const _0x71e75a=_0x494a44;_0x172312===_0x27afe7[_0x71e75a(0x166)][_0x71e75a(0x304)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x494a44(0x33c)][_0x494a44(0x2e8)][_0x494a44(0x271)](_0x5f1da7[_0x494a44(0x199)](this[_0x494a44(0x1f7)]))[_0x494a44(0x13e)](_0x324b33=>{const _0x3b9bb4=_0x494a44,_0x3af73f=_0x324b33[_0x3b9bb4(0x15f)];_0x3af73f===_0x32a7bb['CollaborationEvent'][_0x3b9bb4(0x1d1)]&&this[_0x3b9bb4(0x157)](_0x324b33),_0x3af73f===_0x32a7bb[_0x3b9bb4(0x207)]['USERS_LEAVE']&&this[_0x3b9bb4(0x28a)](_0x324b33);}),this['_onRefRangeChange'](),this[_0x494a44(0x14c)](this[_0x494a44(0x16a)][_0x494a44(0xf8)](_0x2db0db=>{const _0x3ca994=_0x494a44;if(this[_0x3ca994(0x209)]&&_0x2db0db['id']===_0x5b080a[_0x3ca994(0x129)]['id']&&_0x2db0db[_0x3ca994(0x293)][_0x3ca994(0x247)]===this['unitID']){const _0x4c5f02=_0x2db0db[_0x3ca994(0x293)];this[_0x3ca994(0x131)](_0x4c5f02[_0x3ca994(0x272)],_0x4c5f02[_0x3ca994(0x18b)][0x0]);}})));}['_onCursorUpdate'](_0x522012){const _0x3f200f=_0x37eff8;var _0x5a928c,_0x682783;const {memberID:_0xc5c4f9,selection:_0x93d835}=_0x522012[_0x3f200f(0x1b6)],{sheetName:_0x43d1fe,range:_0x438414}=_0x386997[_0x3f200f(0x355)](_0x93d835),_0x469522={'name':(_0x682783=(_0x5a928c=this[_0x3f200f(0x37a)][_0x3f200f(0x21e)](this[_0x3f200f(0x1d8)],_0xc5c4f9))==null?void 0x0:_0x5a928c[_0x3f200f(0x175)])!=null?_0x682783:_0x3f200f(0x2c8),'range':this[_0x3f200f(0x12c)](_0x43d1fe,_0x438414),'sheetID':_0x43d1fe,'color':this[_0x3f200f(0x122)][_0x3f200f(0x195)](_0xc5c4f9),'selection':_0x93d835},_0x21364f=this[_0x3f200f(0x219)];_0x21364f['set'](_0xc5c4f9,_0x469522),this[_0x3f200f(0x2f2)][_0x3f200f(0x1c6)](_0x21364f);}[_0x37eff8(0x28a)](_0x2e4fd9){const _0x27dff6=_0x37eff8,{memberID:_0x38ade7}=_0x2e4fd9[_0x27dff6(0x1b6)],_0x36d182=this[_0x27dff6(0x219)];_0x36d182[_0x27dff6(0x116)](_0x38ade7),this[_0x27dff6(0x2f2)][_0x27dff6(0x1c6)](_0x36d182);}[_0x37eff8(0x12c)](_0x3d76d0,_0x32b6a1){const _0x6dac2b=_0x37eff8;var _0x317f68,_0x2976a7;const _0x1a5aae=(_0x2976a7=(_0x317f68=this['_univerInstanceService'][_0x6dac2b(0x165)](this['unitID']))==null?void 0x0:_0x317f68[_0x6dac2b(0x237)](_0x3d76d0))==null?void 0x0:_0x2976a7[_0x6dac2b(0x216)]();return(_0x1a5aae==null?void 0x0:_0x1a5aae['find'](_0x337589=>_0x5ab409[_0x6dac2b(0x312)][_0x6dac2b(0x2b9)](_0x337589,_0x32b6a1)))||_0x32b6a1;}[_0x37eff8(0x24d)](){const _0x437078=_0x37eff8,_0x102ed2=new _0x5ab409[(_0x437078(0x28e))](),_0x79c056=_0x42f84d(),_0x339d59=()=>{const _0x46cfcc=_0x437078;_0x102ed2[_0x46cfcc(0x172)]();const _0x32475d=(_0x1ba85d,_0x35f908,_0x89c028,_0x5d2fcc)=>{const _0x541df7=_0x46cfcc;let _0x41c77a=[];switch(_0x1ba85d['id']){case _0x5b080a['EffectRefRangId'][_0x541df7(0x231)]:{_0x41c77a=_0x5b080a[_0x541df7(0x10c)](_0x1ba85d,_0x5d2fcc);break;}case _0x5b080a[_0x541df7(0x35d)]['DeleteRangeMoveUpCommandId']:{_0x41c77a=_0x5b080a['handleDeleteRangeMoveUp'](_0x1ba85d,_0x5d2fcc);break;}case _0x5b080a[_0x541df7(0x35d)][_0x541df7(0x17d)]:{_0x41c77a=_0x5b080a[_0x541df7(0x37c)](_0x1ba85d,_0x5d2fcc);break;}case _0x5b080a[_0x541df7(0x35d)][_0x541df7(0x192)]:{_0x41c77a=_0x5b080a[_0x541df7(0x1c8)](_0x1ba85d,_0x5d2fcc);break;}case _0x5b080a[_0x541df7(0x35d)][_0x541df7(0xf7)]:{_0x41c77a=_0x5b080a[_0x541df7(0x174)](_0x1ba85d,_0x5d2fcc);break;}case _0x5b080a['EffectRefRangId'][_0x541df7(0x107)]:{_0x41c77a=_0x5b080a['handleInsertRow'](_0x1ba85d,_0x5d2fcc);break;}case _0x5b080a[_0x541df7(0x35d)][_0x541df7(0x2b8)]:{_0x41c77a=_0x5b080a[_0x541df7(0x18e)](_0x1ba85d,_0x5d2fcc);break;}case _0x5b080a[_0x541df7(0x35d)][_0x541df7(0x14b)]:{_0x41c77a=_0x5b080a[_0x541df7(0x109)](_0x1ba85d,_0x5d2fcc);break;}case _0x5b080a[_0x541df7(0x35d)][_0x541df7(0x163)]:{_0x41c77a=_0x5b080a[_0x541df7(0x356)](_0x1ba85d,_0x5d2fcc);break;}}const _0x4dfd20=_0x5b080a[_0x541df7(0x24b)](_0x41c77a,_0x5d2fcc),_0x38121f=this['cursorInfo'][_0x541df7(0x14a)](_0x35f908);if(_0x38121f&&_0x4dfd20){const _0x2eb798={..._0x38121f,'range':_0x4dfd20};this[_0x541df7(0x219)][_0x541df7(0x108)](_0x35f908,_0x2eb798),_0x79c056(()=>{const _0x271810=_0x541df7,_0x7418a5=this[_0x271810(0x2be)]['registerRefRange'](_0x4dfd20,_0x408f62=>(_0x7418a5['dispose'](),_0x32475d(_0x408f62,_0x35f908,_0x89c028,_0x4dfd20)));_0x102ed2[_0x271810(0x1ea)](_0x7418a5);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x46cfcc(0x379)]((_0x3f3f33,_0x426b36)=>{const _0x57fe51=_0x46cfcc,{range:_0x49bf73,sheetID:_0x36e226}=_0x3f3f33,_0x337680=this['_refRangeService'][_0x57fe51(0x31a)](_0x49bf73,_0x189953=>(_0x337680['dispose'](),_0x32475d(_0x189953,_0x426b36,_0x36e226,_0x49bf73)));_0x102ed2['add'](_0x337680);});};this[_0x437078(0x14c)](_0x5ab409[_0x437078(0x20b)](this[_0x437078(0x2f2)][_0x437078(0x13e)](()=>{_0x339d59();})));}[_0x37eff8(0x2c0)](){const _0x5039d4=_0x37eff8;var _0x3cb2d5,_0x199473;if(this[_0x5039d4(0x209)]=!0x0,((_0x3cb2d5=this[_0x5039d4(0x2b6)]['getFocusedUnit']())==null?void 0x0:_0x3cb2d5[_0x5039d4(0x1c7)]())!==this['unitID'])return;const _0x45faad=(_0x199473=this['_injector']['get'](_0x5b080a[_0x5039d4(0x36a)])[_0x5039d4(0x298)]())==null?void 0x0:_0x199473[0x0],_0x4a5158=this[_0x5039d4(0x2b6)][_0x5039d4(0x28d)](_0x5ab409['UniverInstanceType'][_0x5039d4(0x1ec)])['getActiveSheet']();_0x45faad&&_0x4a5158&&this['_updateLocalCursor'](_0x4a5158['getSheetId'](),_0x45faad);}['_toggleOffline'](){const _0x34fb90=_0x37eff8;this[_0x34fb90(0x209)]=!0x1;}};_0xbe283=_0x263058([_0x56c3c9(0x2,_0x5ab409[_0x37eff8(0x203)](_0x5ab409[_0x37eff8(0x1c4)])),_0x56c3c9(0x3,_0x5ab409[_0x37eff8(0x203)](_0x7ad230)),_0x56c3c9(0x4,_0x5ab409[_0x37eff8(0x203)](_0x27afe7[_0x37eff8(0x336)])),_0x56c3c9(0x5,_0x5ab409[_0x37eff8(0x2b2)]),_0x56c3c9(0x6,_0x5ab409[_0x37eff8(0x121)]),_0x56c3c9(0x7,_0x5ab409[_0x37eff8(0x203)](_0x5b080a[_0x37eff8(0x1c0)]))],_0xbe283);var _0x62cba2=Object[_0x37eff8(0x156)],_0x350bc5=(_0x5acb3a,_0x53f3fe,_0x1106db,_0x24ac10)=>{const _0x4ffa04=_0x37eff8;for(var _0x2a447f=_0x24ac10>0x1?void 0x0:_0x24ac10?_0x62cba2(_0x53f3fe,_0x1106db):_0x53f3fe,_0x4b3bc1=_0x5acb3a[_0x4ffa04(0x2ef)]-0x1,_0x3a8389;_0x4b3bc1>=0x0;_0x4b3bc1--)(_0x3a8389=_0x5acb3a[_0x4b3bc1])&&(_0x2a447f=_0x3a8389(_0x2a447f)||_0x2a447f);return _0x2a447f;},_0x5788ec=(_0x18f2e2,_0x444530)=>(_0x256ecd,_0x2365cb)=>_0x444530(_0x256ecd,_0x2365cb,_0x18f2e2);let _0x5c727a=class extends _0x5ab409[_0x37eff8(0x2d2)]{constructor(_0x46b54d,_0x218aed,_0x578cef){const _0x4966cd=_0x37eff8;super(),_0xb0aba8(this,_0x4966cd(0x1fd),new Map()),_0xb0aba8(this,_0x4966cd(0x2b5),new _0x5f1da7[(_0x4966cd(0x127))]()),(this[_0x4966cd(0x2b6)]=_0x46b54d,this[_0x4966cd(0x275)]=_0x218aed,this[_0x4966cd(0x282)]=_0x578cef,this[_0x4966cd(0x2ff)]());}[_0x37eff8(0x172)](){const _0x509349=_0x37eff8;super[_0x509349(0x172)](),this['_entityInit$'][_0x509349(0x18f)](),this[_0x509349(0x1fd)][_0x509349(0x379)](_0x5cf163=>_0x5cf163[_0x509349(0x172)]());}[_0x37eff8(0x1cc)](_0x1b57ba){const _0x3c7346=_0x37eff8;return this[_0x3c7346(0x1fd)][_0x3c7346(0x2c9)](_0x1b57ba)?this[_0x3c7346(0x1fd)][_0x3c7346(0x14a)](_0x1b57ba)[_0x3c7346(0x204)]:this['_entityInit$'][_0x3c7346(0x271)](_0x5f1da7[_0x3c7346(0x2ea)](_0x54a9cc=>_0x54a9cc[_0x3c7346(0x1d8)]===_0x1b57ba),_0x5f1da7['switchMap'](_0x3b5935=>_0x3b5935[_0x3c7346(0x204)]));}[_0x37eff8(0x2ff)](){const _0xbd8ca5=_0x37eff8;this[_0xbd8ca5(0x2b6)][_0xbd8ca5(0x343)](_0x5ab409[_0xbd8ca5(0x1b0)]['UNIVER_SHEET'])[_0xbd8ca5(0x271)](_0x5f1da7['takeUntil'](this['dispose$']))[_0xbd8ca5(0x13e)](async _0x46d394=>{const _0x5dd7c3=_0xbd8ca5,_0x2765ff=_0x46d394[_0x5dd7c3(0x1c7)](),_0x2f912e=await this['_startSheetCollabCursor'](_0x2765ff);this[_0x5dd7c3(0x2b5)][_0x5dd7c3(0x1c6)](_0x2f912e),this[_0x5dd7c3(0x1fd)][_0x5dd7c3(0x108)](_0x2765ff,_0x2f912e);}),this[_0xbd8ca5(0x2b6)]['getTypeOfUnitAdded$'](_0x5ab409['UniverInstanceType'][_0xbd8ca5(0x38e)])[_0xbd8ca5(0x271)](_0x5f1da7[_0xbd8ca5(0x199)](this['dispose$']))[_0xbd8ca5(0x271)](_0x5f1da7[_0xbd8ca5(0x2ea)](_0x2ce54d=>!_0x2ce54d[_0xbd8ca5(0x1c7)]()['startsWith']('__')))[_0xbd8ca5(0x13e)](async _0x1d69c3=>{const _0x235220=_0xbd8ca5,_0x3fe071=_0x1d69c3[_0x235220(0x1c7)](),_0x1e51c6=await this['_startDocCollabCursor'](_0x3fe071);this[_0x235220(0x2b5)][_0x235220(0x1c6)](_0x1e51c6),this[_0x235220(0x1fd)][_0x235220(0x108)](_0x3fe071,_0x1e51c6);}),_0x5f1da7[_0xbd8ca5(0x100)](this[_0xbd8ca5(0x2b6)]['getTypeOfUnitDisposed$'](_0x5ab409[_0xbd8ca5(0x1b0)]['UNIVER_DOC']),this['_univerInstanceService'][_0xbd8ca5(0x1bc)](_0x5ab409[_0xbd8ca5(0x1b0)][_0xbd8ca5(0x1ec)]))[_0xbd8ca5(0x271)](_0x5f1da7[_0xbd8ca5(0x199)](this[_0xbd8ca5(0x1f7)]))['subscribe'](_0x1b278b=>{const _0x14ce60=_0xbd8ca5,_0x2303e6=_0x1b278b[_0x14ce60(0x1c7)](),_0x30f7bd=this['_entities'][_0x14ce60(0x14a)](_0x2303e6);_0x30f7bd&&(_0x30f7bd[_0x14ce60(0x172)](),this[_0x14ce60(0x1fd)]['delete'](_0x2303e6));});}async['_startSheetCollabCursor'](_0x5c7d6c){const _0x3cc12a=_0x37eff8,_0x38c157=await this[_0x3cc12a(0x282)][_0x3cc12a(0x191)](_0x5c7d6c),_0x5ad869=this[_0x3cc12a(0x275)][_0x3cc12a(0x31f)](_0xbe283,_0x5c7d6c,_0x38c157);return _0x5ad869['init'](),_0x5ad869;}async[_0x37eff8(0x2b3)](_0x7634d0){const _0x3e4a70=_0x37eff8,_0x5119d6=await this[_0x3e4a70(0x282)][_0x3e4a70(0x191)](_0x7634d0),_0x20e848=this[_0x3e4a70(0x275)][_0x3e4a70(0x31f)](_0x51652a,_0x7634d0,_0x5119d6);return _0x20e848[_0x3e4a70(0x161)](),_0x20e848;}};_0x5c727a=_0x350bc5([_0x5788ec(0x0,_0x5ab409[_0x37eff8(0x2b2)]),_0x5788ec(0x1,_0x5ab409[_0x37eff8(0x203)](_0x5ab409[_0x37eff8(0x1c4)])),_0x5788ec(0x2,_0x5ab409[_0x37eff8(0x203)](_0x27afe7[_0x37eff8(0x324)]))],_0x5c727a);const _0x3625e4=0x14,_0x247c8b=0xc8,_0x33e1d1=0x4,_0x44d297=0x5;function _0x58ab26(_0xa6c5b1,_0x5ae663){const _0x5a926a=_0x37eff8;let {radius:_0x5bda70,width:_0xf3225,height:_0x4a842b}=_0x5ae663;_0x5bda70=_0x5bda70!=null?_0x5bda70:0x0,_0xf3225=_0xf3225!=null?_0xf3225:0x1e,_0x4a842b=_0x4a842b!=null?_0x4a842b:0x1e;let _0x3a38d1=0x0,_0x59769f=0x0,_0x295471=0x0;_0x3a38d1=_0x59769f=_0x295471=Math['min'](_0x5bda70,_0xf3225/0x2,_0x4a842b/0x2),_0xa6c5b1[_0x5a926a(0x178)](),_0xa6c5b1[_0x5a926a(0x346)](_0x3a38d1,0x0),_0xa6c5b1['lineTo'](_0xf3225-_0x59769f,0x0),_0xa6c5b1[_0x5a926a(0x193)](_0xf3225-_0x59769f,_0x59769f,_0x59769f,Math['PI']*0x3/0x2,0x0,!0x1),_0xa6c5b1[_0x5a926a(0x186)](_0xf3225,_0x4a842b-_0x295471),_0xa6c5b1[_0x5a926a(0x193)](_0xf3225-_0x295471,_0x4a842b-_0x295471,_0x295471,0x0,Math['PI']/0x2,!0x1),_0xa6c5b1['lineTo'](0x0,_0x4a842b),_0xa6c5b1[_0x5a926a(0x186)](0x0,_0x3a38d1),_0xa6c5b1[_0x5a926a(0x193)](_0x3a38d1,_0x3a38d1,_0x3a38d1,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xa6c5b1[_0x5a926a(0x225)](),_0x5ae663[_0x5a926a(0x13c)]&&(_0xa6c5b1['save'](),_0xa6c5b1[_0x5a926a(0x284)]=_0x5ae663[_0x5a926a(0x13c)],_0x5ae663['fillRule']===_0x5a926a(0x233)?_0xa6c5b1[_0x5a926a(0x13c)]('evenodd'):_0xa6c5b1[_0x5a926a(0x13c)](),_0xa6c5b1[_0x5a926a(0x1d7)]());}class _0x614a0d extends _0x54596e[_0x37eff8(0x332)]{constructor(_0xa56b8f,_0x5aba80){const _0x3f7880=_0x37eff8;super(_0xa56b8f,_0x5aba80),_0xb0aba8(this,_0x3f7880(0x318)),_0xb0aba8(this,_0x3f7880(0x349)),(this[_0x3f7880(0x318)]=_0x5aba80==null?void 0x0:_0x5aba80['color'],this[_0x3f7880(0x349)]=_0x5aba80==null?void 0x0:_0x5aba80['text']);}static[_0x37eff8(0x198)](_0x22a957,_0x36a0de){const _0x5dd032=_0x37eff8,{text:_0x2679b3,color:_0x556df3}=_0x36a0de;_0x22a957[_0x5dd032(0x2e2)](),_0x22a957[_0x5dd032(0x294)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x35d6f4=_0x22a957['measureText'](_0x2679b3)[_0x5dd032(0x19e)],_0x1cc5c9=Math[_0x5dd032(0x15a)](_0x35d6f4+0x2*_0x33e1d1,_0x247c8b);_0x58ab26(_0x22a957,{'height':_0x3625e4,'radius':0x4,'width':_0x1cc5c9,'fill':_0x556df3}),_0x22a957[_0x5dd032(0x284)]=_0x5dd032(0x155);const _0x1c1a57=_0x33e1d1,_0x258ac9=_0x3625e4-_0x44d297,_0x3e9fe2=_0x247c8b-0x2*_0x33e1d1;if(_0x35d6f4>_0x3e9fe2){let _0x1e4423='',_0x2841e6=0x0;for(const _0x558961 of _0x2679b3){const _0x58ba1b=_0x22a957[_0x5dd032(0x1a6)](_0x558961)[_0x5dd032(0x19e)];if(_0x2841e6+_0x58ba1b<=_0x3e9fe2-_0x22a957[_0x5dd032(0x1a6)]('...')[_0x5dd032(0x19e)])_0x1e4423+=_0x558961,_0x2841e6+=_0x58ba1b;else{_0x1e4423+='...';break;}}_0x22a957[_0x5dd032(0x364)](_0x1e4423,_0x1c1a57,_0x258ac9);}else _0x22a957['fillText'](_0x2679b3,_0x1c1a57,_0x258ac9);_0x22a957[_0x5dd032(0x1d7)]();}['_draw'](_0x495938){const _0x1219e2=_0x37eff8;_0x614a0d[_0x1219e2(0x198)](_0x495938,this);}}const _0x55d981=_0x37eff8(0x1ac),_0x35916c='collab-text-range-',_0x3a53d0='collab-rect-range-',_0x5780ca=0x6,_0x35ff17=1.5,_0xcaa74f=0x4,_0x304f45=1.5,_0x27b7a7=_0x37eff8(0x267);class _0x3804dd{constructor(_0x2a5767,_0x3e7592,_0x7878ae,_0x160e16){const _0x2bba7d=_0x37eff8;_0xb0aba8(this,_0x2bba7d(0x10e),[]),_0xb0aba8(this,_0x2bba7d(0x27f),null),_0xb0aba8(this,_0x2bba7d(0x339),null),_0xb0aba8(this,'_anchorDot',null),_0xb0aba8(this,_0x2bba7d(0x22e),null),_0xb0aba8(this,_0x2bba7d(0x2e1),null),(this[_0x2bba7d(0x1fe)]=_0x2a5767,this['_scene']=_0x3e7592,this[_0x2bba7d(0x2c4)]=_0x7878ae,this[_0x2bba7d(0x177)]=_0x160e16,this['_render']());}set[_0x37eff8(0x285)](_0x25df9a){const _0x3efc41=_0x37eff8;_0x25df9a?(this['_anchorDot']&&this[_0x3efc41(0x30d)][_0x3efc41(0x331)](),this[_0x3efc41(0x339)]&&this[_0x3efc41(0x339)][_0x3efc41(0x227)]()):(this[_0x3efc41(0x30d)]&&this[_0x3efc41(0x30d)][_0x3efc41(0x227)](),this[_0x3efc41(0x339)]&&this['_textBubble'][_0x3efc41(0x331)]());}[_0x37eff8(0x172)](){const _0x50779c=_0x37eff8;for(const _0x99b01e of this[_0x50779c(0x10e)])_0x99b01e[_0x50779c(0x172)]();this[_0x50779c(0x339)]&&this[_0x50779c(0x339)][_0x50779c(0x172)](),this['_anchorDot']&&this[_0x50779c(0x30d)][_0x50779c(0x172)](),this[_0x50779c(0x27f)]&&this[_0x50779c(0x27f)][_0x50779c(0x172)](),this[_0x50779c(0x2e1)]&&this[_0x50779c(0x2e1)]();}['_render'](){const _0x4406a9=_0x37eff8;var _0x8af3a2;const {_docSkeleton:_0x2d30f5,_document:_0x59d1aa}=this,{color:_0x479aa4,name:_0x3ee5c1,ranges:_0x292a4d}=this[_0x4406a9(0x1fe)],_0x25eeea=_0x59d1aa[_0x4406a9(0x17c)](),{docsLeft:_0x2a7b7f,docsTop:_0x3fe4dc}=_0x25eeea,_0x3afc3b=new _0x592e11[(_0x4406a9(0x2ed))](_0x25eeea,_0x2d30f5);for(const {startOffset:_0xc080fd,endOffset:_0x570369,rangeType:_0x3519cf,segmentId:_0x433456,segmentPage:_0x446500,collapsed:_0x552ea4,isActive:_0x35678d}of _0x292a4d){const _0x2c8f78=_0x2d30f5[_0x4406a9(0x31b)](_0xc080fd,!0x0,_0x433456,_0x446500);let _0x19526e=_0x2d30f5[_0x4406a9(0x31b)](_0x570369,!0x0,_0x433456,_0x446500);if(_0x19526e==null&&(_0x19526e=_0x2d30f5[_0x4406a9(0x31b)](_0x570369-0x1,!0x1,_0x433456,_0x446500)),_0x35678d){const {contentBoxPointGroup:_0x4a5b57}=_0x3afc3b[_0x4406a9(0x173)](_0x19526e,_0x19526e);if(_0x4a5b57[_0x4406a9(0x2ef)]===0x0)continue;this[_0x4406a9(0x160)](_0x479aa4,_0x4a5b57,_0x2a7b7f,_0x3fe4dc,_0x3ee5c1),this['_eventUnsubscribe']=this[_0x4406a9(0x21c)]();}if(_0x2c8f78&&_0x19526e){if(_0x3519cf===_0x5ab409[_0x4406a9(0xf9)][_0x4406a9(0x10b)]){const _0x4d20ea=new _0x592e11['NodePositionConvertToRectRange'](_0x25eeea,_0x2d30f5),{pointGroup:_0x477f8c}=(_0x8af3a2=_0x4d20ea[_0x4406a9(0x173)](_0x2c8f78,_0x19526e))!=null?_0x8af3a2:{};if(_0x477f8c==null||_0x477f8c[_0x4406a9(0x2ef)]===0x0)continue;this[_0x4406a9(0x19d)](_0x479aa4,_0x477f8c,_0x2a7b7f,_0x3fe4dc);}else{if(!_0x552ea4){const {borderBoxPointGroup:_0x2c44e4}=_0x3afc3b[_0x4406a9(0x173)](_0x2c8f78,_0x19526e);if(_0x2c44e4['length']===0x0)continue;this[_0x4406a9(0x32d)](_0x479aa4,_0x2c44e4,_0x2a7b7f,_0x3fe4dc);}}}}}[_0x37eff8(0x160)](_0x3042fa,_0x4ee422,_0x2ade81,_0xbe90ad,_0x3cdf3e){const _0x3c1724=_0x37eff8,_0x25b8e1=this['_getAnchorBounding'](_0x4ee422),{left:_0xc42ffb,top:_0x3a1746,height:_0x5aed8b}=_0x25b8e1,_0x1177d7=this[_0x3c1724(0x15b)](),_0x1c167c=_0x304f45/_0x1177d7,_0x492c19=new _0x54596e[(_0x3c1724(0x2a0))](_0x55d981+_0x5ab409[_0x3c1724(0x353)][_0x3c1724(0x148)](_0x5780ca),{'left':_0xc42ffb+_0x2ade81-_0x1c167c,'top':_0x3a1746+_0xbe90ad,'height':_0x5aed8b,'width':_0x35ff17,'fill':_0x3042fa||_0x54596e[_0x3c1724(0x15c)](_0x5ab409[_0x3c1724(0x248)]['black'],0x0),'strokeWidth':_0x1c167c,'stroke':_0x27b7a7,'evented':!0x0});this[_0x3c1724(0x27f)]=_0x492c19,this['_scene'][_0x3c1724(0x268)](_0x492c19,_0x592e11[_0x3c1724(0x341)]);const _0x27dcbc=new _0x54596e[(_0x3c1724(0x2a0))](_0x55d981+_0x5ab409[_0x3c1724(0x353)][_0x3c1724(0x148)](_0x5780ca),{'left':_0xc42ffb+_0x2ade81-_0x1c167c,'top':_0x3a1746+_0xbe90ad-_0xcaa74f/0x2,'height':_0xcaa74f,'width':_0xcaa74f,'fill':_0x3042fa||_0x54596e[_0x3c1724(0x15c)](_0x5ab409[_0x3c1724(0x248)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x3042fa||_0x54596e[_0x3c1724(0x15c)](_0x5ab409[_0x3c1724(0x248)][_0x3c1724(0x190)],0x0),'evented':!0x1});this[_0x3c1724(0x30d)]=_0x27dcbc,this[_0x3c1724(0x2fc)][_0x3c1724(0x268)](_0x27dcbc,_0x592e11[_0x3c1724(0x341)]);const _0x4aa7fe=new _0x614a0d(_0x55d981+_0x5ab409[_0x3c1724(0x353)][_0x3c1724(0x148)](_0x5780ca),{'left':_0xc42ffb+_0x2ade81-_0x1c167c,'top':_0x3a1746+_0xbe90ad-_0x3625e4,'text':_0x3cdf3e,'color':_0x3042fa});this[_0x3c1724(0x339)]=_0x4aa7fe,this[_0x3c1724(0x2fc)]['addObject'](_0x4aa7fe,_0x592e11[_0x3c1724(0x341)]),this[_0x3c1724(0x285)]=!0x1;}[_0x37eff8(0x21c)](){const _0x544558=_0x37eff8,_0x2fa029=this[_0x544558(0x27f)]['onPointerEnter$'][_0x544558(0x1e9)](()=>{this['_hover']=!0x0;}),_0x2a03a0=this[_0x544558(0x27f)]['onPointerLeave$'][_0x544558(0x1e9)](()=>{const _0x487eed=_0x544558;this[_0x487eed(0x22e)]&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x4635e9=_0x487eed;this[_0x4635e9(0x285)]=!0x1;},0x7d0);});return()=>{const _0x395069=_0x544558;_0x2fa029['unsubscribe'](),_0x2a03a0[_0x395069(0x33d)]();};}[_0x37eff8(0x32d)](_0x171f9f,_0x327385,_0x5d25f3,_0x3c9381){const _0x9b369e=_0x37eff8,_0x373cbf=new _0x5ab409[(_0x9b369e(0x31d))](_0x171f9f)[_0x9b369e(0x26d)](0.2)[_0x9b369e(0x2a8)](),_0x17facd=new _0x54596e['RegularPolygon'](_0x35916c+_0x5ab409[_0x9b369e(0x353)]['generateRandomId'](_0x5780ca),{'pointsGroup':_0x327385,'fill':_0x373cbf||_0x54596e[_0x9b369e(0x15c)](_0x5ab409[_0x9b369e(0x248)][_0x9b369e(0x190)],0.2),'left':_0x5d25f3,'top':_0x3c9381,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x9b369e(0x243)](_0x17facd),this[_0x9b369e(0x2fc)]['addObject'](_0x17facd,_0x592e11['TEXT_RANGE_LAYER_INDEX']);}['_drawRectRange'](_0xa06cfb,_0x17709a,_0x3aec2d,_0x325590){const _0x209d13=_0x37eff8,_0x5baa19=new _0x5ab409['ColorKit'](_0xa06cfb)[_0x209d13(0x26d)](0.2)[_0x209d13(0x2a8)](),_0x2ba93b=new _0x54596e[(_0x209d13(0x2d3))](_0x3a53d0+_0x5ab409['Tools'][_0x209d13(0x148)](_0x5780ca),{'pointsGroup':_0x17709a,'fill':_0x5baa19||_0x54596e[_0x209d13(0x15c)](_0x5ab409[_0x209d13(0x248)][_0x209d13(0x190)],0.2),'left':_0x3aec2d,'top':_0x325590,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x209d13(0x10e)][_0x209d13(0x243)](_0x2ba93b),this[_0x209d13(0x2fc)][_0x209d13(0x268)](_0x2ba93b,_0x592e11[_0x209d13(0x341)]);}[_0x37eff8(0x221)](_0x16d22e){const _0x2e1440=_0x16d22e[0x0],_0x2d7a80=_0x2e1440[0x0],_0xc9cc64=_0x2e1440[0x2],{x:_0x3c871b,y:_0x1fe84c}=_0x2d7a80,{x:_0x1693ee,y:_0x10b4b6}=_0xc9cc64;return{'left':_0x3c871b,'top':_0x1fe84c,'width':_0x1693ee-_0x3c871b,'height':_0x10b4b6-_0x1fe84c};}['_getScale'](){const _0xc987e0=_0x37eff8,{scaleX:_0x2c5563,scaleY:_0x497c28}=this['_scene'][_0xc987e0(0xf5)]();return Math[_0xc987e0(0x12a)](_0x2c5563,_0x497c28);}}var _0x56f6c1=Object['getOwnPropertyDescriptor'],_0x1f9ce2=(_0xd74493,_0x2031f4,_0x48b2ff,_0xc9a957)=>{for(var _0x5a44ef=_0xc9a957>0x1?void 0x0:_0xc9a957?_0x56f6c1(_0x2031f4,_0x48b2ff):_0x2031f4,_0x31fdbd=_0xd74493['length']-0x1,_0x58108a;_0x31fdbd>=0x0;_0x31fdbd--)(_0x58108a=_0xd74493[_0x31fdbd])&&(_0x5a44ef=_0x58108a(_0x5a44ef)||_0x5a44ef);return _0x5a44ef;},_0x441947=(_0x372b82,_0x509ccb)=>(_0x476ffd,_0x26917f)=>_0x509ccb(_0x476ffd,_0x26917f,_0x372b82);let _0x5523a4=class extends _0x5ab409[_0x37eff8(0x2d2)]{constructor(_0x4af523,_0x45ef12,_0x3d3157,_0x2dbeb7,_0xbaa995){const _0x269fe1=_0x37eff8;super(),_0xb0aba8(this,'_cursorShapes',[]),_0xb0aba8(this,_0x269fe1(0x2a5),[]),(this['_context']=_0x4af523,this['_docSkeletonManagerService']=_0x45ef12,this[_0x269fe1(0x24e)]=_0x3d3157,this[_0x269fe1(0x16a)]=_0x2dbeb7,this['_themeService']=_0xbaa995,this[_0x269fe1(0x2ff)]());}[_0x37eff8(0x2ff)](){const _0x400fb5=_0x37eff8,_0x4f555a=this[_0x400fb5(0x2cf)][_0x400fb5(0x247)],_0x5a7a3c=this[_0x400fb5(0x1eb)];this[_0x400fb5(0x14c)](_0x5f1da7[_0x400fb5(0x1ee)]([this['_collabCursorController'][_0x400fb5(0x1cc)](_0x4f555a),this[_0x400fb5(0x1fa)][_0x400fb5(0x319)]])[_0x400fb5(0x271)](_0xe835bd['map'](([_0x4b1901,_0x164103])=>({'skeleton':_0x5a7a3c['getSkeleton'](),'cursors':[..._0x4b1901[_0x400fb5(0x224)]()][_0x400fb5(0x1e3)](_0x30cbd6=>({..._0x30cbd6,'color':this[_0x400fb5(0x1fa)][_0x400fb5(0x314)](_0x30cbd6[_0x400fb5(0x318)])}))})))['subscribe'](_0x45d5f6=>{const _0x18b90d=_0x400fb5;if(this[_0x18b90d(0x147)](),_0x45d5f6){const {skeleton:_0x2d6b44,cursors:_0x40e74f}=_0x45d5f6;this['_updateCollabCursors'](_0x2d6b44,_0x40e74f);}})),this[_0x400fb5(0x1c9)](),this[_0x400fb5(0x370)]();}[_0x37eff8(0x2d8)](_0x4d8392,_0x402fca){const _0x49b397=_0x37eff8,{scene:_0x264a36,mainComponent:_0x38a96d}=this[_0x49b397(0x2cf)],_0x6b4ece=_0x402fca['map'](_0x517eba=>new _0x3804dd(_0x517eba,_0x264a36,_0x4d8392,_0x38a96d));this[_0x49b397(0x19b)]=_0x6b4ece,this[_0x49b397(0x2a5)]=_0x402fca;}[_0x37eff8(0x1bb)](){const _0x4ba059=_0x37eff8;this[_0x4ba059(0x147)]();const {scene:_0x550029,mainComponent:_0x3ddd77}=this[_0x4ba059(0x2cf)],_0x2f5c7f=this[_0x4ba059(0x1eb)]['getSkeleton'](),_0x396787=this[_0x4ba059(0x2a5)][_0x4ba059(0x111)](_0x3bc2d2=>new _0x3804dd(_0x3bc2d2,_0x550029,_0x2f5c7f,_0x3ddd77));this[_0x4ba059(0x19b)]=_0x396787;}['_removeCollabCursors'](){const _0x23da23=_0x37eff8;this[_0x23da23(0x19b)]['forEach'](_0xff28b9=>_0xff28b9[_0x23da23(0x172)]()),this[_0x23da23(0x19b)]=[];}[_0x37eff8(0x370)](){const _0x56d024=_0x37eff8,_0x16d099=[_0x592e11[_0x56d024(0x1b1)]['id']];this['disposeWithMe'](this[_0x56d024(0x16a)][_0x56d024(0xf8)](_0x7decb7=>{const _0x2f721f=_0x56d024;_0x16d099[_0x2f721f(0x152)](_0x7decb7['id'])&&_0x7decb7[_0x2f721f(0x293)][_0x2f721f(0x247)]===this[_0x2f721f(0x2cf)][_0x2f721f(0x247)]&&this[_0x2f721f(0x1bb)]();}));}[_0x37eff8(0x1c9)](){const _0x2d725e=_0x37eff8;this[_0x2d725e(0x14c)](_0x5ab409['fromEventSubject'](this[_0x2d725e(0x2cf)][_0x2d725e(0x36f)]['onTransformChange$'])[_0x2d725e(0x271)](_0xe835bd[_0x2d725e(0x2ea)](_0x44bb3f=>_0x44bb3f[_0x2d725e(0x10d)]===_0x54596e[_0x2d725e(0x367)]['resize']),_0xe835bd[_0x2d725e(0x2ae)](0x10))[_0x2d725e(0x13e)](()=>{const _0x4dee19=_0x2d725e;this[_0x4dee19(0x1bb)]();}));}};_0x5523a4=_0x1f9ce2([_0x441947(0x1,_0x5ab409[_0x37eff8(0x203)](_0x4edba9[_0x37eff8(0x14e)])),_0x441947(0x2,_0x5ab409[_0x37eff8(0x203)](_0x5c727a)),_0x441947(0x3,_0x5ab409['ICommandService']),_0x441947(0x4,_0x5ab409[_0x37eff8(0x203)](_0x5ab409[_0x37eff8(0x1ce)]))],_0x5523a4);const _0x135064=0x1,_0x57abb1=1.5;class _0x4240a9 extends _0x54596e[_0x37eff8(0x332)]{constructor(_0x27edb6,_0x58ec54){const _0x3de9ad=_0x37eff8;super(_0x27edb6,_0x58ec54),_0xb0aba8(this,'_color'),_0xb0aba8(this,_0x3de9ad(0xfb),!0x1),_0xb0aba8(this,_0x3de9ad(0x36d)),_0xb0aba8(this,_0x3de9ad(0x277),''),_0xb0aba8(this,_0x3de9ad(0x196),'top'),_0xb0aba8(this,_0x3de9ad(0x1af)),(_0x58ec54&&this[_0x3de9ad(0x286)](_0x58ec54),this[_0x3de9ad(0x323)][_0x3de9ad(0x1e9)](()=>this[_0x3de9ad(0x286)]({'hovered':!0x0})),this[_0x3de9ad(0x289)]['subscribeEvent'](()=>this[_0x3de9ad(0x286)]({'hovered':!0x1})));}['setShapeProps'](_0x2f7008){const _0x297a6f=_0x37eff8;var _0x48d166,_0x173810,_0x9c1915,_0x90d455,_0x3a9993,_0x4b486d;this['_color']=(_0x48d166=_0x2f7008[_0x297a6f(0x318)])!=null?_0x48d166:this[_0x297a6f(0x2de)],this[_0x297a6f(0xfb)]=(_0x173810=_0x2f7008[_0x297a6f(0x2bb)])!=null?_0x173810:this[_0x297a6f(0xfb)],this[_0x297a6f(0x36d)]=(_0x9c1915=_0x2f7008[_0x297a6f(0x2f5)])!=null?_0x9c1915:this[_0x297a6f(0x36d)],this[_0x297a6f(0x277)]=(_0x90d455=_0x2f7008[_0x297a6f(0x175)])!=null?_0x90d455:this[_0x297a6f(0x277)],this[_0x297a6f(0x196)]=(_0x3a9993=_0x2f7008['labelPosition'])!=null?_0x3a9993:this['_labelPosition'],this['_backgroundColor']=(_0x4b486d=_0x2f7008[_0x297a6f(0x388)])!=null?_0x4b486d:this[_0x297a6f(0x1af)],this[_0x297a6f(0x2e5)]({'width':_0x2f7008['width'],'height':_0x2f7008[_0x297a6f(0x200)]});}[_0x37eff8(0x33e)](_0x271175){const _0x1cbb33=_0x37eff8,{row:_0x4ed7c3,column:_0x2f06b9}=_0x271175;if(_0x4ed7c3>=this['_range'][_0x1cbb33(0x11c)]&&_0x4ed7c3<=this[_0x1cbb33(0x36d)][_0x1cbb33(0x1fc)]&&_0x2f06b9>=this[_0x1cbb33(0x36d)][_0x1cbb33(0x229)]&&_0x2f06b9<=this[_0x1cbb33(0x36d)][_0x1cbb33(0x249)]){this[_0x1cbb33(0x286)]({'hovered':!0x0});return;}this[_0x1cbb33(0x286)]({'hovered':!0x1});}[_0x37eff8(0x2f1)](_0x21852e){return!0x1;}[_0x37eff8(0x22c)](_0x3363ef){const _0x54e186=_0x37eff8;_0x54596e[_0x54e186(0x2a0)][_0x54e186(0x198)](_0x3363ef,{'width':this[_0x54e186(0x19e)],'height':this[_0x54e186(0x200)],'strokeWidth':_0x57abb1,'stroke':this[_0x54e186(0x2de)],'evented':!0x1,'fill':this[_0x54e186(0x1af)]}),this['_hovered']&&(_0x3363ef['save'](),_0x3363ef[_0x54e186(0x14f)](0x1,0x0,0x0,0x1,this[_0x54e186(0x19e)],this[_0x54e186(0x196)]==='bottom'?0x0:-0x14),_0x614a0d['drawWith'](_0x3363ef,{'text':this['_name'],'color':this['_color']}),_0x3363ef[_0x54e186(0x1d7)]());}}var _0x28d173=Object[_0x37eff8(0x156)],_0x1630f4=(_0x3b1876,_0x38b412,_0x2cc868,_0x578639)=>{for(var _0x1b7122=_0x578639>0x1?void 0x0:_0x578639?_0x28d173(_0x38b412,_0x2cc868):_0x38b412,_0x2b2a71=_0x3b1876['length']-0x1,_0x16849f;_0x2b2a71>=0x0;_0x2b2a71--)(_0x16849f=_0x3b1876[_0x2b2a71])&&(_0x1b7122=_0x16849f(_0x1b7122)||_0x1b7122);return _0x1b7122;},_0x37bb37=(_0x109488,_0x2dc44f)=>(_0x424b34,_0x2f4d82)=>_0x2dc44f(_0x424b34,_0x2f4d82,_0x109488);const _0x4549b5=0x1389;let _0x1433cc=class extends _0x5ab409[_0x37eff8(0x2d2)]{constructor(_0x20843a,_0xb34caf,_0x22c00f,_0x4fd9e2){const _0x40ee68=_0x37eff8;super(),_0xb0aba8(this,'_cursors',new Set()),_0xb0aba8(this,_0x40ee68(0x1d6),null),(this[_0x40ee68(0x2cf)]=_0x20843a,this[_0x40ee68(0x17e)]=_0xb34caf,this['_collabCursorController']=_0x22c00f,this[_0x40ee68(0x1fa)]=_0x4fd9e2,this[_0x40ee68(0x2ff)]());}[_0x37eff8(0x2ff)](){const _0x139b95=_0x37eff8;this[_0x139b95(0x17e)][_0x139b95(0x313)][_0x139b95(0x271)](_0xe835bd[_0x139b95(0x199)](this[_0x139b95(0x1f7)]),_0xe835bd[_0x139b95(0x218)](_0x14d1d8=>{const _0x14d2c7=_0x139b95;if(_0x14d1d8){const _0x52e244=_0x14d1d8['sheetId'];return _0x5f1da7[_0x14d2c7(0x1ee)](this[_0x14d2c7(0x24e)][_0x14d2c7(0x1cc)](this[_0x14d2c7(0x2cf)]['unitId']),this[_0x14d2c7(0x1fa)][_0x14d2c7(0x319)])[_0x14d2c7(0x271)](_0xe835bd[_0x14d2c7(0x111)](([_0x5acd51,_0x4a9a64])=>{const _0x356a32=_0x14d2c7,_0x2f3ad2=new Map();return _0x5acd51[_0x356a32(0x379)]((_0x3224ed,_0x4eca40)=>{const _0x337aaf=_0x356a32;if(_0x3224ed[_0x337aaf(0x366)]===_0x52e244){const _0x50b263={..._0x3224ed};_0x50b263[_0x337aaf(0x318)]=this[_0x337aaf(0x1fa)][_0x337aaf(0x314)](_0x3224ed[_0x337aaf(0x318)]),_0x2f3ad2['set'](_0x4eca40,_0x50b263);}}),{'skeleton':_0x14d1d8,'cursors':_0x2f3ad2};}));}return _0x5f1da7['of']({'skeleton':null,'cursors':new Map()});}))[_0x139b95(0x13e)](({skeleton:_0x550832,cursors:_0x3c8c6f})=>{const _0x5e8e83=_0x139b95;this[_0x5e8e83(0x147)](),_0x550832&&this['_updateCollabCursors'](_0x550832,_0x3c8c6f);}),this[_0x139b95(0x17e)][_0x139b95(0x313)][_0x139b95(0x13e)](_0x381547=>{const _0x3a56a2=_0x139b95;if(_0x381547==null)return;const {skeleton:_0x5b1fb9}=_0x381547,{scene:_0x4b9da8}=this[_0x3a56a2(0x2cf)];_0x4b9da8['onPointerMove$'][_0x3a56a2(0x1e9)](_0x5ab409[_0x3a56a2(0x17b)](_0x1f63f0=>{const _0x1ae6c5=_0x3a56a2;var _0x341e6e,_0x3f998c;const {offsetX:_0x1d59c8,offsetY:_0x4eee70}=_0x1f63f0,{x:_0x1daeac,y:_0x2578b8}=_0x4b9da8['getRelativeToViewportCoord'](_0x54596e[_0x1ae6c5(0x36e)]['FromArray']([_0x1d59c8,_0x4eee70])),{scaleX:_0x2b72ad,scaleY:_0x22cb26}=_0x4b9da8[_0x1ae6c5(0xf5)](),_0xb4a2c1=_0x4b9da8[_0x1ae6c5(0x2d4)](_0x54596e[_0x1ae6c5(0x222)][_0x1ae6c5(0x179)]),_0x30f6bf=_0x4b9da8[_0x1ae6c5(0x105)](_0x54596e[_0x1ae6c5(0x36e)]['FromArray']([_0x1daeac,_0x2578b8]),_0xb4a2c1),_0x1f4792=_0x5b1fb9[_0x1ae6c5(0x235)](_0x1d59c8,_0x4eee70,_0x2b72ad,_0x22cb26,_0x30f6bf);((_0x341e6e=this[_0x1ae6c5(0x1d6)])==null?void 0x0:_0x341e6e['column'])===_0x1f4792[_0x1ae6c5(0x2c3)]&&((_0x3f998c=this[_0x1ae6c5(0x1d6)])==null?void 0x0:_0x3f998c[_0x1ae6c5(0x1ca)])===_0x1f4792[_0x1ae6c5(0x1ca)]||this[_0x1ae6c5(0x2a5)][_0x1ae6c5(0x379)](_0x12cbf5=>{const _0x3140cc=_0x1ae6c5;_0x12cbf5[_0x3140cc(0x33e)](_0x1f4792);});},0x64));});}[_0x37eff8(0x2d8)](_0xeb374f,_0x2bf82c){const _0x43654a=_0x37eff8;var _0x3942dc;const _0x1dddf6=(_0x3942dc=this['_sheetSkeletonManagerService'][_0x43654a(0x381)]())==null?void 0x0:_0x3942dc['skeleton'];if(!_0x1dddf6)return;const _0xaf57d8=this['_getSheetObject']();if(!_0xaf57d8)return;this['_cursors'][_0x43654a(0x379)](_0x125222=>{const _0x1fe375=_0x43654a;_0x125222[_0x1fe375(0x2cd)]();});const {scene:_0x313288}=_0xaf57d8,_0x5b51f6=_0x1be0a7(Array[_0x43654a(0x246)](_0x2bf82c[_0x43654a(0x224)]()))[_0x43654a(0x111)](_0x410772=>{const _0x3330d7=_0x43654a,{color:_0x50bf5f,range:_0x57780,name:_0xc48e69,selection:_0xd069a1,sheetID:_0x37b525}=_0x410772,{startColumn:_0x579b18,startRow:_0x360da9,endColumn:_0x4b0ad3,endRow:_0x27d3d7}=_0x57780,_0x54b40d=_0x2d41c7['getCoordByCell'](_0x360da9,_0x579b18,_0x313288,_0x1dddf6),_0x2be489=_0x2d41c7[_0x3330d7(0x2fe)](_0x27d3d7,_0x4b0ad3,_0x313288,_0x1dddf6),{columnHeaderHeightAndMarginTop:_0x37e3bb}=_0x1dddf6,{startX:_0x103cc6,startY:_0x1987e7}=_0x54b40d,{endX:_0x7a1f25,endY:_0x216edd}=_0x2be489,_0x15db98=_0x7a1f25-_0x103cc6,_0x1f734e=_0x216edd-_0x1987e7,_0x37bdfe={'labelPosition':_0x1987e7-_0x37e3bb>=_0x3625e4?'top':_0x3330d7(0x351),'sheetID':_0x37b525,'range':_0x57780,'color':_0x50bf5f,'name':_0xc48e69,'selection':_0xd069a1,'left':_0x103cc6,'top':_0x1987e7,'width':_0x15db98,'height':_0x1f734e,'evented':!0x1,'zIndex':_0x4549b5};return new _0x4240a9(_0xc48e69,_0x37bdfe);});_0x313288[_0x43654a(0x1be)](_0x5b51f6,_0x135064),this[_0x43654a(0x2a5)]=new Set(_0x5b51f6);}[_0x37eff8(0x147)](){const _0x5e7e94=_0x37eff8;var _0x56834d;(_0x56834d=this[_0x5e7e94(0x2a5)])==null||_0x56834d['forEach'](_0x2f1818=>_0x2f1818[_0x5e7e94(0x172)]());}[_0x37eff8(0x23e)](){const _0x20a289=_0x37eff8;return _0x2d41c7[_0x20a289(0x330)](this[_0x20a289(0x2cf)][_0x20a289(0x1f9)],this[_0x20a289(0x2cf)]);}};_0x1433cc=_0x1630f4([_0x37bb37(0x1,_0x5ab409[_0x37eff8(0x203)](_0x2d41c7['SheetSkeletonManagerService'])),_0x37bb37(0x2,_0x5ab409[_0x37eff8(0x203)](_0x5c727a)),_0x37bb37(0x3,_0x5ab409[_0x37eff8(0x203)](_0x5ab409['ThemeService']))],_0x1433cc);function _0x1be0a7(_0x55bce2){const _0x29b0f0=_0x37eff8,_0xd1efdd=new Map();return _0x55bce2[_0x29b0f0(0x379)](_0x18041c=>{const _0x5cca2b=_0x29b0f0;if(_0xd1efdd[_0x5cca2b(0x2c9)](_0x18041c['selection'])){const _0x2fbad7=_0xd1efdd['get'](_0x18041c[_0x5cca2b(0x296)]);_0x2fbad7['name']+=',\x20'+_0x18041c[_0x5cca2b(0x175)];}else _0xd1efdd['set'](_0x18041c['selection'],_0x18041c);}),Array[_0x29b0f0(0x246)](_0xd1efdd['values']());}var _0x3a504a=function(){const _0x176a11=_0x37eff8;return _0x3a504a=Object[_0x176a11(0x347)]||function(_0x5a6e06){const _0x306e70=_0x176a11;for(var _0x1cb8cd,_0x523add=0x1,_0x5023ea=arguments['length'];_0x523add<_0x5023ea;_0x523add++){_0x1cb8cd=arguments[_0x523add];for(var _0x438173 in _0x1cb8cd)Object[_0x306e70(0x135)]['hasOwnProperty'][_0x306e70(0x18d)](_0x1cb8cd,_0x438173)&&(_0x5a6e06[_0x438173]=_0x1cb8cd[_0x438173]);}return _0x5a6e06;},_0x3a504a[_0x176a11(0x38b)](this,arguments);},_0x1fc62e=function(_0x538d42,_0x200e1c){const _0x1324b9=_0x37eff8;var _0x64483c={};for(var _0x220e89 in _0x538d42)Object['prototype'][_0x1324b9(0x164)][_0x1324b9(0x18d)](_0x538d42,_0x220e89)&&_0x200e1c[_0x1324b9(0x120)](_0x220e89)<0x0&&(_0x64483c[_0x220e89]=_0x538d42[_0x220e89]);if(_0x538d42!=null&&typeof Object['getOwnPropertySymbols']==_0x1324b9(0x2bd)){for(var _0x886ca5=0x0,_0x220e89=Object[_0x1324b9(0x1e0)](_0x538d42);_0x886ca5<_0x220e89['length'];_0x886ca5++)_0x200e1c[_0x1324b9(0x120)](_0x220e89[_0x886ca5])<0x0&&Object[_0x1324b9(0x135)]['propertyIsEnumerable']['call'](_0x538d42,_0x220e89[_0x886ca5])&&(_0x64483c[_0x220e89[_0x886ca5]]=_0x538d42[_0x220e89[_0x886ca5]]);}return _0x64483c;},_0x26ab86=_0x55e8ff[_0x37eff8(0x34a)](function(_0x2e2095,_0x3b9f2b){const _0x2c2c11=_0x37eff8;var _0x2dee79=_0x2e2095[_0x2c2c11(0x24a)],_0x47366a=_0x2e2095['id'],_0x1eaef2=_0x2e2095[_0x2c2c11(0x217)],_0x160ab9=_0x2e2095[_0x2c2c11(0x2d0)],_0x41df0c=_0x1fc62e(_0x2e2095,[_0x2c2c11(0x24a),'id',_0x2c2c11(0x217),_0x2c2c11(0x2d0)]),_0x46e1d7=_0x2c2c11(0x2bf)[_0x2c2c11(0x154)](_0x47366a,'\x20')[_0x2c2c11(0x154)](_0x1eaef2||'')[_0x2c2c11(0x292)](),_0x1cd234=_0x55e8ff['useRef']('_'[_0x2c2c11(0x154)](_0x1ff692()));return _0x2699b8(_0x2dee79,''[_0x2c2c11(0x154)](_0x47366a),{'defIds':_0x2dee79[_0x2c2c11(0x2a7)],'idSuffix':_0x1cd234[_0x2c2c11(0x2a6)]},_0x3a504a({'ref':_0x3b9f2b,'className':_0x46e1d7},_0x41df0c),_0x160ab9);});function _0x2699b8(_0x2b8e1b,_0x5b1d99,_0x945042,_0x2d755a,_0x19ad60){const _0x130c43=_0x37eff8;return _0x55e8ff[_0x130c43(0x134)](_0x2b8e1b['tag'],_0x3a504a(_0x3a504a({'key':_0x5b1d99},_0xffb821(_0x2b8e1b,_0x945042,_0x19ad60)),_0x2d755a),(_0x40f227(_0x2b8e1b,_0x945042)['children']||[])[_0x130c43(0x111)](function(_0xc5129a,_0x43e073){const _0x3c03a2=_0x130c43;return _0x2699b8(_0xc5129a,''[_0x3c03a2(0x154)](_0x5b1d99,'-')['concat'](_0x2b8e1b[_0x3c03a2(0x1de)],'-')[_0x3c03a2(0x154)](_0x43e073),_0x945042,void 0x0,_0x19ad60);}));}function _0xffb821(_0x354321,_0x3a97b3,_0x34574a){const _0x31152d=_0x37eff8;var _0x5e18ce=_0x3a504a({},_0x354321[_0x31152d(0x27a)]);_0x34574a!=null&&_0x34574a['colorChannel1']&&_0x5e18ce['fill']==='colorChannel1'&&(_0x5e18ce[_0x31152d(0x13c)]=_0x34574a[_0x31152d(0x171)]),_0x354321[_0x31152d(0x1de)]==='mask'&&_0x5e18ce['id']&&(_0x5e18ce['id']=_0x5e18ce['id']+_0x3a97b3[_0x31152d(0x1dc)]),Object[_0x31152d(0x202)](_0x5e18ce)[_0x31152d(0x379)](function(_0x3ecd0a){const _0x57a71f=_0x31152d;var _0x2e902c=_0x3ecd0a[0x0],_0x33eb7e=_0x3ecd0a[0x1];_0x2e902c===_0x57a71f(0x266)&&typeof _0x33eb7e==_0x57a71f(0x30b)&&(_0x5e18ce[_0x2e902c]=_0x33eb7e['replace'](/url\(#(.*)\)/,_0x57a71f(0x352)[_0x57a71f(0x154)](_0x3a97b3[_0x57a71f(0x1dc)],')')));});var _0x590760=_0x3a97b3[_0x31152d(0x2a7)];return!_0x590760||_0x590760[_0x31152d(0x2ef)]===0x0||(_0x354321[_0x31152d(0x1de)]===_0x31152d(0x119)&&_0x5e18ce['xlink:href']&&(_0x5e18ce['xlink:href']=_0x5e18ce[_0x31152d(0x11a)]+_0x3a97b3[_0x31152d(0x1dc)]),Object[_0x31152d(0x202)](_0x5e18ce)['forEach'](function(_0x136789){const _0x2a0635=_0x31152d;var _0x2e4fcf=_0x136789[0x0],_0x51b3c4=_0x136789[0x1];typeof _0x51b3c4=='string'&&(_0x5e18ce[_0x2e4fcf]=_0x51b3c4[_0x2a0635(0x23c)](/url\(#(.*)\)/,'url(#$1'[_0x2a0635(0x154)](_0x3a97b3['idSuffix'],')')));})),_0x5e18ce;}function _0x40f227(_0x47c6ef,_0x251f6e){const _0x478606=_0x37eff8;var _0x3f8e9e,_0x28dd40=_0x251f6e[_0x478606(0x2a7)];return!_0x28dd40||_0x28dd40['length']===0x0?_0x47c6ef:_0x47c6ef[_0x478606(0x1de)]===_0x478606(0x2d9)&&(!((_0x3f8e9e=_0x47c6ef['children'])===null||_0x3f8e9e===void 0x0)&&_0x3f8e9e[_0x478606(0x2ef)])?_0x3a504a(_0x3a504a({},_0x47c6ef),{'children':_0x47c6ef[_0x478606(0x297)][_0x478606(0x111)](function(_0x4c3c7f){const _0x51ad65=_0x478606;return typeof _0x4c3c7f[_0x51ad65(0x27a)]['id']==_0x51ad65(0x30b)&&_0x28dd40&&_0x28dd40['indexOf'](_0x4c3c7f[_0x51ad65(0x27a)]['id'])>-0x1?_0x3a504a(_0x3a504a({},_0x4c3c7f),{'attrs':_0x3a504a(_0x3a504a({},_0x4c3c7f[_0x51ad65(0x27a)]),{'id':_0x4c3c7f[_0x51ad65(0x27a)]['id']+_0x251f6e[_0x51ad65(0x1dc)]})}):_0x4c3c7f;})}):_0x47c6ef;}function _0x1ff692(){const _0x4d1018=_0x37eff8;return Math[_0x4d1018(0x11f)]()[_0x4d1018(0x338)](0x24)[_0x4d1018(0x345)](0x2,0x8);}_0x26ab86[_0x37eff8(0x253)]='UniverIcon';var _0x2cc8d4={'tag':_0x37eff8(0x354),'attrs':{'fill':_0x37eff8(0x360),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x37eff8(0x1f3)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x37eff8(0x1d2),'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':'round','strokeLinejoin':_0x37eff8(0x378),'strokeWidth':1.2}}]},{'tag':_0x37eff8(0x2d9),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x37eff8(0x194)},'children':[{'tag':_0x37eff8(0x1d2),'attrs':{'fill':_0x37eff8(0x36b),'d':_0x37eff8(0x169)}}]}]}],'defIds':[_0x37eff8(0x194)]},_0x560603=_0x55e8ff[_0x37eff8(0x34a)](function(_0x38fe54,_0x3a4b02){const _0x9ecf92=_0x37eff8;return _0x55e8ff['createElement'](_0x26ab86,Object[_0x9ecf92(0x347)]({},_0x38fe54,{'id':_0x9ecf92(0xfd),'ref':_0x3a4b02,'icon':_0x2cc8d4}));});_0x560603[_0x37eff8(0x253)]='OffLineSingle';var _0x3b4ba5={'tag':_0x37eff8(0x354),'attrs':{'fill':'none','viewBox':_0x37eff8(0x123),'width':_0x37eff8(0x1f3),'height':_0x37eff8(0x1f3)},'children':[{'tag':'g','attrs':{'clipPath':_0x37eff8(0x140)},'children':[{'tag':_0x37eff8(0x1d2),'attrs':{'stroke':'currentColor','d':_0x37eff8(0x1b9),'strokeLinecap':_0x37eff8(0x378),'strokeLinejoin':_0x37eff8(0x378),'strokeWidth':1.2}}]},{'tag':_0x37eff8(0x2d9),'attrs':{},'children':[{'tag':_0x37eff8(0x214),'attrs':{'id':_0x37eff8(0x2ad)},'children':[{'tag':'path','attrs':{'fill':_0x37eff8(0x36b),'d':_0x37eff8(0x169),'transform':'translate(.97)'}}]}]}],'defIds':[_0x37eff8(0x2ad)]},_0x1ca66d=_0x55e8ff['forwardRef'](function(_0x5c5fa1,_0x33c3e1){const _0x333955=_0x37eff8;return _0x55e8ff[_0x333955(0x134)](_0x26ab86,Object[_0x333955(0x347)]({},_0x5c5fa1,{'id':_0x333955(0x1c5),'ref':_0x33c3e1,'icon':_0x3b4ba5}));});_0x1ca66d[_0x37eff8(0x253)]=_0x37eff8(0x26b);function _0x218a2d(_0x71739a){const _0x100d81=_0x37eff8;switch(_0x71739a){case _0x27afe7[_0x100d81(0x188)]['OFFLINE']:return _0x100d81(0x143);case _0x27afe7[_0x100d81(0x188)][_0x100d81(0x2ec)]:return _0x100d81(0x2b7);case _0x27afe7['CollaborationStatus']['FETCH_MISS']:return'collabStatus.fetchMiss';case _0x27afe7[_0x100d81(0x188)][_0x100d81(0x2a4)]:return _0x100d81(0x259);case _0x27afe7['CollaborationStatus'][_0x100d81(0x18a)]:case _0x27afe7[_0x100d81(0x188)][_0x100d81(0x10f)]:return _0x100d81(0x1e7);case _0x27afe7['CollaborationStatus'][_0x100d81(0x2d5)]:case _0x27afe7['CollaborationStatus'][_0x100d81(0x25e)]:return _0x100d81(0x142);}}function _0x62c960(_0x11ee59){const _0x472a8f=_0x37eff8,{status$:_0x3edb1f}=_0x11ee59,_0x24004c=_0x2d2548['useObservable'](_0x3edb1f,_0x27afe7[_0x472a8f(0x188)][_0x472a8f(0x2a4)]),_0x1a30fe=_0x2d2548['useDependency'](_0x5ab409[_0x472a8f(0x279)]),_0x23ed1e=_0x2d2548[_0x472a8f(0x168)](_0x27afe7['CollaborationSessionService']),_0x330e80=_0x24004c!==_0x27afe7['CollaborationStatus']['OFFLINE'],_0x27eb2f=_0x1a30fe['t'](_0x218a2d(_0x24004c)),_0xd2778f=_0x330e80?_0x1dfb49[_0x472a8f(0x383)](_0x1ca66d,{}):_0x1dfb49['jsx'](_0x560603,{}),_0x31eceb=_0x55e8ff[_0x472a8f(0x16b)](()=>{const _0xb53e07=_0x472a8f;_0x330e80||_0x23ed1e[_0xb53e07(0x20e)]();},[_0x330e80,_0x23ed1e]);function _0x34bf94(){const _0x459c68=_0x472a8f;return _0x1dfb49[_0x459c68(0x19c)](_0x459c68(0x32e),{'className':_0x459c68(0x2dc),'onClick':_0x31eceb,'children':[_0x1dfb49[_0x459c68(0x383)]('div',{'className':_0xe47b50[_0x459c68(0x176)](_0x459c68(0x2c1),{'univer-text-green-500':_0x330e80,'univer-text-red-500':!_0x330e80}),'children':_0xd2778f}),_0x1dfb49['jsx'](_0x459c68(0x32e),{'className':_0x459c68(0x149),'children':_0x27eb2f})]});}return _0x330e80?_0x34bf94():_0x1dfb49['jsx'](_0xe47b50['Tooltip'],{'title':_0x1a30fe['t'](_0x472a8f(0xfa)),'children':_0x34bf94()});}var _0x2beec1=Object[_0x37eff8(0x156)],_0x4fcfc7=(_0x192a36,_0x26f47d,_0x299dd6,_0x110686)=>{const _0x418ff9=_0x37eff8;for(var _0x7e6aed=_0x110686>0x1?void 0x0:_0x110686?_0x2beec1(_0x26f47d,_0x299dd6):_0x26f47d,_0x14bbca=_0x192a36[_0x418ff9(0x2ef)]-0x1,_0x4b10e8;_0x14bbca>=0x0;_0x14bbca--)(_0x4b10e8=_0x192a36[_0x14bbca])&&(_0x7e6aed=_0x4b10e8(_0x7e6aed)||_0x7e6aed);return _0x7e6aed;},_0x4b2de4=(_0x22c4f6,_0x1ffc8a)=>(_0x110926,_0x68731e)=>_0x1ffc8a(_0x110926,_0x68731e,_0x22c4f6);_0x253d45['DesktopCollaborationStatusDisplayController']=class extends _0x5ab409['Disposable']{constructor(_0x13dda3,_0x398244,_0x19bb9f,_0x4cbf17){const _0x49f2e3=_0x37eff8;super(),_0xb0aba8(this,_0x49f2e3(0x25c),new _0x5f1da7[(_0x49f2e3(0x256))](_0x27afe7[_0x49f2e3(0x188)][_0x49f2e3(0x2a4)])),(this['_univerInstanceService']=_0x13dda3,this[_0x49f2e3(0x275)]=_0x398244,this['_collaborationController']=_0x19bb9f,this[_0x49f2e3(0x262)]=_0x4cbf17,this[_0x49f2e3(0x2a3)](),this[_0x49f2e3(0x29b)]());}[_0x37eff8(0x29b)](){const _0x44a58a=_0x37eff8;this[_0x44a58a(0x14c)](this[_0x44a58a(0x2b6)][_0x44a58a(0x325)][_0x44a58a(0x271)](_0x5f1da7[_0x44a58a(0x218)](()=>{const _0x4d0684=_0x44a58a,_0x4df36b=this[_0x4d0684(0x2b6)]['getFocusedUnit']();return _0x4df36b?this['_collaborationController']['getCollabEntity$'](_0x4df36b[_0x4d0684(0x1c7)]()):_0x5f1da7['of'](null);}),_0x5f1da7[_0x44a58a(0x218)](_0x23cb97=>_0x23cb97?_0x23cb97[_0x44a58a(0x1db)]:_0x5f1da7['of'](_0x27afe7[_0x44a58a(0x188)][_0x44a58a(0x2a4)])))[_0x44a58a(0x13e)](_0x56a434=>{const _0x18a2a7=_0x44a58a;this['_status$'][_0x18a2a7(0x1c6)](_0x56a434);}));}['_initStatusComponent'](){const _0x2f73d9=_0x37eff8;this[_0x2f73d9(0x14c)](this[_0x2f73d9(0x262)][_0x2f73d9(0x1c1)](_0x2d2548[_0x2f73d9(0xfc)][_0x2f73d9(0x17f)],()=>_0x2d2548['connectInjector'](_0x54c170({'status$':this[_0x2f73d9(0x25c)]['asObservable']()}),this[_0x2f73d9(0x275)])));}},_0x253d45[_0x37eff8(0x2f4)]=_0x4fcfc7([_0x4b2de4(0x0,_0x5ab409[_0x37eff8(0x2b2)]),_0x4b2de4(0x1,_0x5ab409[_0x37eff8(0x203)](_0x5ab409[_0x37eff8(0x1c4)])),_0x4b2de4(0x2,_0x5ab409[_0x37eff8(0x203)](_0x27afe7[_0x37eff8(0x380)])),_0x4b2de4(0x3,_0x2d2548[_0x37eff8(0x287)])],_0x253d45['DesktopCollaborationStatusDisplayController']);function _0x54c170(_0x679ce1){const {status$:_0x5260e0}=_0x679ce1;return function(){return _0x1dfb49['jsx'](_0x62c960,{'status$':_0x5260e0});};}var _0x305740=Object['getOwnPropertyDescriptor'],_0x146707=(_0x330a5e,_0x20e3a0,_0x4cb751,_0x1a86bf)=>{const _0x57bced=_0x37eff8;for(var _0x3c260d=_0x1a86bf>0x1?void 0x0:_0x1a86bf?_0x305740(_0x20e3a0,_0x4cb751):_0x20e3a0,_0x13cde8=_0x330a5e[_0x57bced(0x2ef)]-0x1,_0xa603b5;_0x13cde8>=0x0;_0x13cde8--)(_0xa603b5=_0x330a5e[_0x13cde8])&&(_0x3c260d=_0xa603b5(_0x3c260d)||_0x3c260d);return _0x3c260d;},_0x1f83d1=(_0x1b7a8b,_0x57ea57)=>(_0x154527,_0x3ee028)=>_0x57ea57(_0x154527,_0x3ee028,_0x1b7a8b);let _0x1847b6=class extends _0x5ab409[_0x37eff8(0x334)]{constructor(_0x2fe05c,_0x142cea,_0x1ffd1d,_0x25c48c,_0x2b1464,_0x308680){const _0x1e3677=_0x37eff8;super(),this[_0x1e3677(0x28f)]=_0x2fe05c,this['_localCacheService']=_0x142cea,this[_0x1e3677(0x358)]=_0x1ffd1d,this[_0x1e3677(0x1a5)]=_0x25c48c,this[_0x1e3677(0x2b0)]=_0x2b1464,this[_0x1e3677(0x264)]=_0x308680,this[_0x1e3677(0x1e2)](),this[_0x1e3677(0x311)]();}[_0x37eff8(0x1e2)](){const _0x48ff0d=_0x37eff8;this['disposeWithMe'](this[_0x48ff0d(0x28f)][_0x48ff0d(0x1e5)](()=>{const _0x5cc298=_0x48ff0d;if(this['_localCacheService']['saveTaskMap'][_0x5cc298(0x301)])return this[_0x5cc298(0x264)]['t'](_0x5cc298(0x184));}));}['_initEvent'](){const _0x645413=_0x37eff8;this[_0x645413(0x14c)](this[_0x645413(0x358)]['event$'][_0x645413(0x13e)](_0x59013c=>{const _0x2035a1=_0x645413;_0x59013c['id']===_0x27afe7[_0x2035a1(0x2ab)][_0x2035a1(0x30c)]&&this['_messageService'][_0x2035a1(0x227)]({'type':_0xe47b50[_0x2035a1(0x15e)]['Warning'],'content':this[_0x2035a1(0x264)]['t'](_0x2035a1(0x1a4))}),_0x59013c['id']===_0x27afe7['CollaborationUIEventId']['CLOSE_ROOM']&&this[_0x2035a1(0x1a5)][_0x2035a1(0x227)]({'type':_0xe47b50[_0x2035a1(0x15e)][_0x2035a1(0x239)],'content':this['_localeService']['t'](_0x2035a1(0x124))}),_0x59013c['id']===_0x27afe7['CollaborationUIEventId'][_0x2035a1(0x270)]&&this[_0x2035a1(0x2b0)][_0x2035a1(0x227)]({'title':this[_0x2035a1(0x264)]['t'](_0x2035a1(0x251)),'content':this[_0x2035a1(0x264)]['t']('permission.content'),'type':'error','duration':0x0}),_0x59013c['id']===_0x27afe7[_0x2035a1(0x2ab)][_0x2035a1(0x2ec)]&&this[_0x2035a1(0x1a5)][_0x2035a1(0x227)]({'type':_0xe47b50[_0x2035a1(0x15e)]['Error'],'content':this[_0x2035a1(0x264)]['t'](_0x2035a1(0x124))+'('+_0x59013c[_0x2035a1(0x1b6)]+')'}),_0x59013c['id']===_0x27afe7[_0x2035a1(0x2ab)][_0x2035a1(0x2ce)]&&this[_0x2035a1(0x1a5)][_0x2035a1(0x227)]({'type':_0xe47b50[_0x2035a1(0x15e)]['Warning'],'content':this['_localeService']['t'](_0x59013c[_0x2035a1(0x1b6)]||'')}),_0x59013c['id']===_0x27afe7[_0x2035a1(0x2ab)][_0x2035a1(0x1a9)]&&this[_0x2035a1(0x1a5)][_0x2035a1(0x227)]({'type':_0xe47b50[_0x2035a1(0x15e)]['Warning'],'content':this['_localeService']['t']('session.will-retry')}),_0x59013c['id']===_0x27afe7[_0x2035a1(0x2ab)][_0x2035a1(0x1d9)]&&this['_messageService'][_0x2035a1(0x227)]({'type':_0xe47b50[_0x2035a1(0x15e)][_0x2035a1(0x37e)],'content':this[_0x2035a1(0x264)]['t'](_0x2035a1(0x34e))}),_0x59013c['id']===_0x27afe7['CollaborationUIEventId'][_0x2035a1(0x2e0)]&&this['_messageService'][_0x2035a1(0x227)]({'type':_0xe47b50['MessageType'][_0x2035a1(0x37e)],'content':this[_0x2035a1(0x264)]['t'](_0x2035a1(0x2d7))});}));}};_0x1847b6=_0x146707([_0x1f83d1(0x0,_0x2d2548[_0x37eff8(0x244)]),_0x1f83d1(0x1,_0x27afe7[_0x37eff8(0x12e)]),_0x1f83d1(0x2,_0x5ab409[_0x37eff8(0x203)](_0x27afe7[_0x37eff8(0x1f1)])),_0x1f83d1(0x3,_0x2d2548[_0x37eff8(0x112)]),_0x1f83d1(0x4,_0x2d2548['INotificationService']),_0x1f83d1(0x5,_0x5ab409['Inject'](_0x5ab409[_0x37eff8(0x279)]))],_0x1847b6);const _0x37a496=_0x37eff8(0x291),_0x2a48a3={},_0x2265c7=_0x5ab409['createIdentifier'](_0x37eff8(0x2c6));var _0x5e14d3=Object['getOwnPropertyDescriptor'],_0x24ee39=(_0x9dc348,_0x4acd37,_0x576463,_0x188718)=>{const _0x35e4e1=_0x37eff8;for(var _0x584ef2=_0x188718>0x1?void 0x0:_0x188718?_0x5e14d3(_0x4acd37,_0x576463):_0x4acd37,_0x536826=_0x9dc348[_0x35e4e1(0x2ef)]-0x1,_0x227bfe;_0x536826>=0x0;_0x536826--)(_0x227bfe=_0x9dc348[_0x536826])&&(_0x584ef2=_0x227bfe(_0x584ef2)||_0x584ef2);return _0x584ef2;},_0x239e52=(_0x3ff534,_0x5c3c79)=>(_0x35062a,_0x38452e)=>_0x5c3c79(_0x35062a,_0x38452e,_0x3ff534);_0x253d45[_0x37eff8(0x24c)]=class extends _0x5ab409[_0x37eff8(0x2d2)]{constructor(_0x23d3aa,_0x88d9ca,_0x2dece5,_0xaeb813,_0x44fe88){const _0x280409=_0x37eff8;super(),this[_0x280409(0x333)]=_0x23d3aa,this['_logService']=_0x88d9ca,this[_0x280409(0x16a)]=_0x2dece5,this[_0x280409(0x20c)]=_0xaeb813,_0x44fe88?_0x44fe88==null||_0x44fe88[_0x280409(0x210)]()[_0x280409(0x2e4)](()=>this[_0x280409(0x2ff)]()):(this[_0x280409(0x33b)]['debug'](_0x280409(0x2c7),_0x280409(0x33f)),this[_0x280409(0x2ff)]());}async[_0x37eff8(0x2ff)](){const _0x9a1161=_0x37eff8,_0x1ac211=this[_0x9a1161(0x333)][_0x9a1161(0x348)](_0x9a1161(0x1f9)),_0x13af50=this[_0x9a1161(0x333)][_0x9a1161(0x348)](_0x9a1161(0x10d)),_0x23f04f=this[_0x9a1161(0x333)]['getParam'](_0x9a1161(0x389));if(!_0x1ac211||!_0x13af50){this[_0x9a1161(0x33b)]['debug'](_0x9a1161(0x2c7),_0x9a1161(0x278));return;}const _0x6055b4=await this['_dataLoaderService']['loadUnit'](_0x1ac211,Number(_0x13af50),_0x23f04f);_0x6055b4&&_0x6055b4 instanceof _0x5ab409['Workbook']&&this['_setupSubUnitSync'](_0x6055b4);}async[_0x37eff8(0x1a3)](_0x40000a){const _0x487e52=_0x37eff8;await this[_0x487e52(0x32a)](_0x40000a),_0x40000a[_0x487e52(0x137)][_0x487e52(0x271)](_0x5f1da7[_0x487e52(0x199)](this[_0x487e52(0x1f7)]))[_0x487e52(0x13e)](_0x245040=>{const _0x150346=_0x487e52;_0x245040&&this[_0x150346(0x27b)](_0x245040);}),this[_0x487e52(0x333)]['urlChange$'][_0x487e52(0x271)](_0x5f1da7[_0x487e52(0x199)](this[_0x487e52(0x1f7)]))[_0x487e52(0x13e)](()=>this[_0x487e52(0x32a)](_0x40000a));}[_0x37eff8(0x27b)](_0x1af576,_0x44649b=!0x1){const _0x35b04a=_0x37eff8,_0x5a0889=this[_0x35b04a(0x333)][_0x35b04a(0x348)](_0x35b04a(0x389));_0x1af576[_0x35b04a(0x2a9)]()!==_0x5a0889&&this['_urlService'][_0x35b04a(0x25b)](_0x35b04a(0x389),_0x1af576['getSheetId'](),_0x44649b);}async[_0x37eff8(0x32a)](_0x18ed4f){const _0x24f7fb=_0x37eff8;var _0x27a06a;const _0x397aa7=this['_urlService'][_0x24f7fb(0x348)](_0x24f7fb(0x389));if(!_0x397aa7||!_0x18ed4f[_0x24f7fb(0x237)](_0x397aa7)){const _0x29aa4b=_0x18ed4f[_0x24f7fb(0x2ac)]()[0x0],_0x51a685=_0x18ed4f[_0x24f7fb(0x237)](_0x29aa4b);if(!_0x51a685)return;this[_0x24f7fb(0x27b)](_0x51a685,!0x0),await this[_0x24f7fb(0x16a)][_0x24f7fb(0x38d)](_0x5b080a[_0x24f7fb(0x15d)]['id'],{'unitId':_0x18ed4f['getUnitId'](),'subUnitId':_0x29aa4b});return;}((_0x27a06a=_0x18ed4f[_0x24f7fb(0x27e)]())==null?void 0x0:_0x27a06a[_0x24f7fb(0x2a9)]())!==_0x397aa7&&await this[_0x24f7fb(0x16a)][_0x24f7fb(0x38d)](_0x5b080a[_0x24f7fb(0x15d)]['id'],{'unitId':_0x18ed4f[_0x24f7fb(0x1c7)](),'subUnitId':_0x397aa7});}},_0x253d45[_0x37eff8(0x24c)]=_0x24ee39([_0x239e52(0x0,_0x2265c7),_0x239e52(0x1,_0x5ab409['ILogService']),_0x239e52(0x2,_0x5ab409[_0x37eff8(0x121)]),_0x239e52(0x3,_0x5ab409['Inject'](_0x27afe7['DataLoaderService'])),_0x239e52(0x4,_0x5ab409[_0x37eff8(0x273)](_0x431570[_0x37eff8(0x35e)]))],_0x253d45[_0x37eff8(0x24c)]);var _0x2a760c=Object[_0x37eff8(0x156)],_0xf4fe40=(_0x1b63dd,_0x22739d,_0x477081,_0x135fc8)=>{for(var _0x3e7bcc=_0x135fc8>0x1?void 0x0:_0x135fc8?_0x2a760c(_0x22739d,_0x477081):_0x22739d,_0x1e2566=_0x1b63dd['length']-0x1,_0x5046e0;_0x1e2566>=0x0;_0x1e2566--)(_0x5046e0=_0x1b63dd[_0x1e2566])&&(_0x3e7bcc=_0x5046e0(_0x3e7bcc)||_0x3e7bcc);return _0x3e7bcc;},_0x220c1d=(_0x24da25,_0x150134)=>(_0x56c7ee,_0x399af1)=>_0x150134(_0x56c7ee,_0x399af1,_0x24da25);let _0x445ce1=class{constructor(_0x3e45cd,_0x531fd7,_0x44b408){const _0x47a4fd=_0x37eff8;this[_0x47a4fd(0x275)]=_0x3e45cd,this[_0x47a4fd(0x2f8)]=_0x531fd7,this[_0x47a4fd(0x2e3)]=_0x44b408;}[_0x37eff8(0x183)](_0x54ec3c){const _0x24f2e3=_0x37eff8;this['_transformUndoRedoStack'](_0x54ec3c),this[_0x24f2e3(0x344)](_0x54ec3c);}[_0x37eff8(0x21b)](_0x5b3119){const _0x34a86a=_0x37eff8,{unitID:_0x4447b8}=_0x5b3119,_0x3720ab=this[_0x34a86a(0x2e3)][_0x34a86a(0x228)](_0x4447b8)['with'](_0x592e11[_0x34a86a(0x31c)]),{redoCache:_0x17317e}=_0x3720ab[_0x34a86a(0x1ba)]();if(_0x17317e[_0x34a86a(0x2ef)]===0x0)return _0x5b3119;let _0x2766d0=_0x5ab409[_0x34a86a(0x353)][_0x34a86a(0x113)](_0x5b3119['mutations'][0x0]);for(let _0x5dc57f=0x0;_0x5dc57f<_0x17317e['length'];_0x5dc57f++){const _0x201b90={'id':_0x34a86a(0x205),'params':{..._0x17317e[_0x5dc57f]}},_0x1c1576=this[_0x34a86a(0x2f8)][_0x34a86a(0x1e8)](_0x2766d0,_0x201b90,!0x1);if(_0x32a7bb[_0x34a86a(0x25f)](_0x1c1576))throw _0x1c1576[_0x34a86a(0x359)];_0x2766d0=_0x1c1576['m1Prime'];}return{..._0x5ab409[_0x34a86a(0x353)]['deepClone'](_0x5b3119),'mutations':[_0x2766d0]};}[_0x37eff8(0x1e4)](_0x1499ae){const _0x5d2de7=_0x37eff8,{unitID:_0xb74d84}=_0x1499ae,_0x273fd2=this[_0x5d2de7(0x2e3)][_0x5d2de7(0x228)](_0xb74d84)[_0x5d2de7(0x300)](_0x592e11[_0x5d2de7(0x31c)]),{undoCache:_0x5d0a49,redoCache:_0x33aa35}=_0x273fd2[_0x5d2de7(0x1ba)]();if(_0x5d0a49[_0x5d2de7(0x2ef)]===0x0||_0x33aa35[_0x5d2de7(0x2ef)]===0x0)return;const _0x2db20c=[],_0x23d518=[];let _0x428eab=_0x5ab409[_0x5d2de7(0x353)]['deepClone'](_0x1499ae['mutations'][0x0]),_0x289762=_0x5ab409['Tools'][_0x5d2de7(0x113)](_0x1499ae[_0x5d2de7(0x1f2)][0x0]);for(let _0x9bbdb=_0x5d0a49[_0x5d2de7(0x2ef)]-0x1;_0x9bbdb>=0x0;_0x9bbdb--){const _0x1c9830={'id':_0x5d2de7(0x205),'params':{..._0x5d0a49[_0x9bbdb]}},_0x218271={'id':_0x5d2de7(0x205),'params':{..._0x33aa35[_0x9bbdb]}},_0x3ad9e7=this[_0x5d2de7(0x2f8)][_0x5d2de7(0x1e8)](_0x428eab,_0x1c9830,!0x1),_0x2cc620=this['_transformService']['transformMutation'](_0x289762,_0x218271,!0x1);if(_0x32a7bb['isTransformMutationFailure'](_0x3ad9e7))throw _0x3ad9e7['error'];if(_0x32a7bb['isTransformMutationFailure'](_0x2cc620))throw _0x2cc620[_0x5d2de7(0x359)];_0x2db20c[_0x5d2de7(0x102)](_0x3ad9e7['m2Prime'][_0x5d2de7(0x293)]),_0x23d518['unshift'](_0x2cc620['m2Prime']['params']),_0x428eab=_0x3ad9e7['m1Prime'],_0x289762=_0x2cc620[_0x5d2de7(0x215)];}_0x273fd2[_0x5d2de7(0x2d1)]({'undoCache':_0x2db20c,'redoCache':_0x23d518});}[_0x37eff8(0x344)](_0x424f24){const _0x2c937c=_0x37eff8,{unitID:_0x58fe4e}=_0x424f24,_0x46dba1=this['_renderManagerService'][_0x2c937c(0x228)](_0x58fe4e)[_0x2c937c(0x300)](_0x592e11['DocIMEInputManagerService']),_0x1dba29=_0x46dba1[_0x2c937c(0x362)]();if(_0x1dba29==null)return;const _0x57737d=[{'id':_0x2c937c(0x205),'params':{'unitId':_0x424f24[_0x2c937c(0x1d8)],'actions':null,'textRanges':[_0x1dba29]}}],_0x738ce9=this['_transformService'][_0x2c937c(0x22f)](_0x424f24,_0x57737d);if(!_0x32a7bb['isTransformMutationsWithChangesetSuccess'](_0x738ce9))throw _0x738ce9[_0x2c937c(0x359)];const _0x13bcba=_0x738ce9['m2Prime'][0x0][_0x2c937c(0x293)][_0x2c937c(0xff)];Array['isArray'](_0x13bcba)&&_0x13bcba[_0x2c937c(0x2ef)]&&_0x46dba1[_0x2c937c(0x234)](_0x13bcba[0x0]);}};_0x445ce1=_0xf4fe40([_0x220c1d(0x0,_0x5ab409['Inject'](_0x5ab409[_0x37eff8(0x1c4)])),_0x220c1d(0x1,_0x32a7bb['ITransformService']),_0x220c1d(0x2,_0x54596e[_0x37eff8(0x1a1)])],_0x445ce1);var _0x585986=Object[_0x37eff8(0x156)],_0x5d4cdf=(_0x239f20,_0x37934d,_0x7f2c8f,_0x5a9d2c)=>{const _0x4b6245=_0x37eff8;for(var _0x1bfab2=_0x5a9d2c>0x1?void 0x0:_0x5a9d2c?_0x585986(_0x37934d,_0x7f2c8f):_0x37934d,_0x3339ba=_0x239f20[_0x4b6245(0x2ef)]-0x1,_0x3a963d;_0x3339ba>=0x0;_0x3339ba--)(_0x3a963d=_0x239f20[_0x3339ba])&&(_0x1bfab2=_0x3a963d(_0x1bfab2)||_0x1bfab2);return _0x1bfab2;},_0x2abbab=(_0x31399a,_0x6d676d)=>(_0x25ffb5,_0x2676aa)=>_0x6d676d(_0x25ffb5,_0x2676aa,_0x31399a);let _0x39b4c8=class{constructor(_0x3081b6,_0x5ea659,_0x1833f3){const _0x7e8f58=_0x37eff8;this[_0x7e8f58(0x275)]=_0x3081b6,this['_transformService']=_0x5ea659,this[_0x7e8f58(0x322)]=_0x1833f3;}[_0x37eff8(0x150)](_0x37b3a9){const _0x2f8246=_0x37eff8;this[_0x2f8246(0x1ed)](_0x37b3a9);}[_0x37eff8(0x21b)](_0x827f8c){const _0x13b47f=_0x37eff8,{unitID:_0x412a22}=_0x827f8c,{collaboration:_0x236b55}=this[_0x13b47f(0x322)][_0x13b47f(0x2a2)](_0x412a22);if(_0x236b55[_0x13b47f(0x2ef)]===0x0)return _0x827f8c;let _0x11d10f=_0x5ab409['Tools'][_0x13b47f(0x113)](_0x827f8c[_0x13b47f(0x1f2)][0x0]);for(let _0x227fcc=0x0;_0x227fcc<_0x236b55[_0x13b47f(0x2ef)];_0x227fcc++){const _0xa50087={'id':_0x13b47f(0x205),'params':{'unitId':_0x236b55[_0x227fcc][_0x13b47f(0x247)],..._0x236b55[_0x227fcc]['redoState']}},_0x425f77=this['_transformService'][_0x13b47f(0x1e8)](_0x11d10f,_0xa50087,!0x1);if(_0x32a7bb['isTransformMutationFailure'](_0x425f77))throw _0x425f77[_0x13b47f(0x359)];_0x11d10f=_0x425f77[_0x13b47f(0x215)];}return{..._0x5ab409[_0x13b47f(0x353)][_0x13b47f(0x113)](_0x827f8c),'mutations':[_0x11d10f]};}['_transformHistoryAndStateStack'](_0x4cd4b5){const _0x45ecb6=_0x37eff8,{unitID:_0x5015b6}=_0x4cd4b5,{history:_0x4efaf0,collaboration:_0x5685f2}=this['_docStateChangeManagerService']['getStateCache'](_0x5015b6);if(_0x4efaf0[_0x45ecb6(0x2ef)]===0x0&&_0x5685f2[_0x45ecb6(0x2ef)]===0x0)return;const _0x2d2850=[],_0x4974ab=[];let _0x374f02=_0x5ab409[_0x45ecb6(0x353)][_0x45ecb6(0x113)](_0x4cd4b5['mutations'][0x0]),_0x4503f6=_0x5ab409[_0x45ecb6(0x353)][_0x45ecb6(0x113)](_0x4cd4b5[_0x45ecb6(0x1f2)][0x0]);for(let _0x50ecb1=_0x4efaf0[_0x45ecb6(0x2ef)]-0x1;_0x50ecb1>=0x0;_0x50ecb1--){const _0x23a13d={'id':_0x45ecb6(0x205),'params':{'unitId':_0x4efaf0[_0x50ecb1][_0x45ecb6(0x247)],..._0x4efaf0[_0x50ecb1]['undoState']}},_0x1c272a={'id':_0x45ecb6(0x205),'params':{'unitId':_0x4efaf0[_0x50ecb1][_0x45ecb6(0x247)],..._0x4efaf0[_0x50ecb1][_0x45ecb6(0x12d)]}},_0x21b210=this[_0x45ecb6(0x2f8)]['transformMutation'](_0x374f02,_0x23a13d,!0x1),_0xc9323=this[_0x45ecb6(0x2f8)]['transformMutation'](_0x4503f6,_0x1c272a,!0x1);if(_0x32a7bb['isTransformMutationFailure'](_0x21b210))throw _0x21b210['error'];if(_0x32a7bb[_0x45ecb6(0x25f)](_0xc9323))throw _0xc9323[_0x45ecb6(0x359)];_0x2d2850[_0x45ecb6(0x102)]({..._0x4efaf0[_0x50ecb1],'undoState':_0x21b210[_0x45ecb6(0x1a2)][_0x45ecb6(0x293)],'redoState':_0xc9323[_0x45ecb6(0x1a2)][_0x45ecb6(0x293)]}),_0x374f02=_0x21b210[_0x45ecb6(0x215)],_0x4503f6=_0xc9323[_0x45ecb6(0x215)];}_0x374f02=_0x5ab409[_0x45ecb6(0x353)][_0x45ecb6(0x113)](_0x4cd4b5[_0x45ecb6(0x1f2)][0x0]),_0x4503f6=_0x5ab409[_0x45ecb6(0x353)][_0x45ecb6(0x113)](_0x4cd4b5['mutations'][0x0]);for(let _0x17d1c7=_0x5685f2[_0x45ecb6(0x2ef)]-0x1;_0x17d1c7>=0x0;_0x17d1c7--){const _0x17f30c={'id':_0x45ecb6(0x205),'params':{'unitId':_0x5685f2[_0x17d1c7]['unitId'],..._0x5685f2[_0x17d1c7][_0x45ecb6(0x126)]}},_0x507b3c={'id':_0x45ecb6(0x205),'params':{'unitId':_0x5685f2[_0x17d1c7]['unitId'],..._0x5685f2[_0x17d1c7][_0x45ecb6(0x12d)]}},_0x28096a=this['_transformService'][_0x45ecb6(0x1e8)](_0x374f02,_0x17f30c,!0x1),_0x14c72f=this[_0x45ecb6(0x2f8)][_0x45ecb6(0x1e8)](_0x4503f6,_0x507b3c,!0x1);if(_0x32a7bb[_0x45ecb6(0x25f)](_0x28096a))throw _0x28096a[_0x45ecb6(0x359)];if(_0x32a7bb[_0x45ecb6(0x25f)](_0x14c72f))throw _0x14c72f[_0x45ecb6(0x359)];_0x4974ab[_0x45ecb6(0x102)]({..._0x5685f2[_0x17d1c7],'undoState':_0x28096a[_0x45ecb6(0x1a2)][_0x45ecb6(0x293)],'redoState':_0x14c72f[_0x45ecb6(0x1a2)]['params']}),_0x374f02=_0x28096a['m1Prime'],_0x4503f6=_0x14c72f[_0x45ecb6(0x215)];}this['_docStateChangeManagerService'][_0x45ecb6(0x118)](_0x5015b6,{'history':_0x2d2850,'collaboration':_0x4974ab});}};_0x39b4c8=_0x5d4cdf([_0x2abbab(0x0,_0x5ab409[_0x37eff8(0x203)](_0x5ab409[_0x37eff8(0x1c4)])),_0x2abbab(0x1,_0x32a7bb[_0x37eff8(0x258)]),_0x2abbab(0x2,_0x5ab409[_0x37eff8(0x203)](_0x592e11[_0x37eff8(0x32c)]))],_0x39b4c8);var _0x4a47b9=Object['getOwnPropertyDescriptor'],_0x6a2713=(_0x4a8d9d,_0x5114fe,_0xb0974b,_0x5bb49f)=>{const _0x3135ef=_0x37eff8;for(var _0x10cad0=_0x5bb49f>0x1?void 0x0:_0x5bb49f?_0x4a47b9(_0x5114fe,_0xb0974b):_0x5114fe,_0xc14522=_0x4a8d9d[_0x3135ef(0x2ef)]-0x1,_0x4c642e;_0xc14522>=0x0;_0xc14522--)(_0x4c642e=_0x4a8d9d[_0xc14522])&&(_0x10cad0=_0x4c642e(_0x10cad0)||_0x10cad0);return _0x10cad0;},_0xd5b10d=(_0x32e897,_0x3628e0)=>(_0x3491bc,_0x7824fd)=>_0x3628e0(_0x3491bc,_0x7824fd,_0x32e897);let _0x1ecfe3=class{constructor(_0x987bce,_0x3a7cf5){const _0x17062c=_0x37eff8;this[_0x17062c(0x275)]=_0x987bce,this['_transformService']=_0x3a7cf5;}['transformSelections'](_0x21c5e1){const _0x24aff7=_0x37eff8;var _0x14ce11;const _0x330ff2=this[_0x24aff7(0x275)][_0x24aff7(0x14a)](_0x4edba9[_0x24aff7(0x1f6)]),_0x4b031d=(_0x14ce11=_0x330ff2[_0x24aff7(0x2fa)]())!=null?_0x14ce11:[];if(_0x4b031d[_0x24aff7(0x2ef)]===0x0)return;const _0x1f38df=_0x21c5e1[_0x24aff7(0x1d8)],_0x5d0bd4=[{'id':_0x24aff7(0x205),'params':{'unitId':_0x1f38df,'actions':null,'textRanges':_0x4b031d}}],_0x5f2665=this[_0x24aff7(0x2f8)][_0x24aff7(0x22f)](_0x21c5e1,_0x5d0bd4);if(!_0x32a7bb[_0x24aff7(0x1a0)](_0x5f2665))throw _0x5f2665[_0x24aff7(0x359)];const _0x4860a0=_0x5f2665['m2Prime'][0x0][_0x24aff7(0x293)][_0x24aff7(0xff)];Array['isArray'](_0x4860a0)&&_0x4860a0['length']&&_0x330ff2[_0x24aff7(0x1df)](_0x4860a0,{'unitId':_0x1f38df,'subUnitId':_0x1f38df},!0x1);}};_0x1ecfe3=_0x6a2713([_0xd5b10d(0x0,_0x5ab409[_0x37eff8(0x203)](_0x5ab409[_0x37eff8(0x1c4)])),_0xd5b10d(0x1,_0x32a7bb[_0x37eff8(0x258)])],_0x1ecfe3);var _0x53f675=Object[_0x37eff8(0x156)],_0x1814a8=(_0x22c896,_0x149029,_0x58d9e1,_0x148e3e)=>{const _0x311d94=_0x37eff8;for(var _0x31589c=_0x148e3e>0x1?void 0x0:_0x148e3e?_0x53f675(_0x149029,_0x58d9e1):_0x149029,_0x504c98=_0x22c896[_0x311d94(0x2ef)]-0x1,_0x2a2c92;_0x504c98>=0x0;_0x504c98--)(_0x2a2c92=_0x22c896[_0x504c98])&&(_0x31589c=_0x2a2c92(_0x31589c)||_0x31589c);return _0x31589c;},_0x80021=(_0x17b5b1,_0x48e365)=>(_0x18b048,_0x565706)=>_0x48e365(_0x18b048,_0x565706,_0x17b5b1);let _0x238cb6=class extends _0x5ab409[_0x37eff8(0x334)]{constructor(_0xd01a71,_0x4b3555,_0x1074af,_0x298c39,_0x5f4906,_0x480a57,_0x1aa397,_0x2f0822){const _0x4c0266=_0x37eff8;super(),_0xb0aba8(this,_0x4c0266(0x25c),new _0x5f1da7['BehaviorSubject'](_0x27afe7[_0x4c0266(0x188)][_0x4c0266(0x2a4)])),(this[_0x4c0266(0x322)]=_0xd01a71,this[_0x4c0266(0x308)]=_0x4b3555,this[_0x4c0266(0x13a)]=_0x1074af,this[_0x4c0266(0x2ee)]=_0x298c39,this[_0x4c0266(0x1c2)]=_0x5f4906,this[_0x4c0266(0x276)]=_0x480a57,this[_0x4c0266(0x1a5)]=_0x1aa397,this[_0x4c0266(0x264)]=_0x2f0822,this[_0x4c0266(0x130)]());}[_0x37eff8(0x130)](){const _0x4e2c21=_0x37eff8;this[_0x4e2c21(0x14c)](this[_0x4e2c21(0x308)]['entityInit$'][_0x4e2c21(0x13e)](_0x2d82fe=>{const _0x32b990=_0x4e2c21,_0x5ad48e=this['_docStateChangeManagerService'][_0x32b990(0x26f)][_0x32b990(0x13e)](_0x7b55db=>{const _0x4ce378=_0x32b990;if(_0x7b55db==null)return;const {unitId:_0xe3e065,redoState:_0x33fc05,commandId:_0x39562c}=_0x7b55db;if(_0xe3e065!==_0x2d82fe[_0x4ce378(0x1d8)])return;const _0x29e431={'id':_0x39562c,'type':_0x5ab409[_0x4ce378(0x11d)][_0x4ce378(0x220)],'params':{'unitId':_0xe3e065,'actions':_0x33fc05[_0x4ce378(0x23a)],'textRanges':null}};_0x2d82fe[_0x4ce378(0x240)](_0x29e431);});if(_0x2d82fe[_0x32b990(0x14c)](_0x5ad48e),_0x2d82fe instanceof _0x27afe7['DocCollaborationEntity']){const _0x244418={'onTransformIME':_0x216546=>this[_0x32b990(0x13a)][_0x32b990(0x183)](_0x216546),'onTransformState':_0x1ebeaf=>this[_0x32b990(0x2ee)][_0x32b990(0x150)](_0x1ebeaf),'onTransformSelections':_0x4cc8ee=>this['_docTransformSelectionsService'][_0x32b990(0x335)](_0x4cc8ee),'onSyncEditingCollabCursor':_0x29cc40=>this[_0x32b990(0x276)][_0x32b990(0x33a)](_0x29cc40),'onTransformRemoteChangesetByIMECache':_0x2e2e18=>this[_0x32b990(0x13a)][_0x32b990(0x21b)](_0x2e2e18),'onTransformRemoteChangesetByStateCache':_0xcdb75b=>this[_0x32b990(0x2ee)]['transformRemoteChangeset'](_0xcdb75b)};_0x2d82fe[_0x32b990(0x139)](_0x244418);}}));}};_0x238cb6=_0x1814a8([_0x80021(0x0,_0x5ab409[_0x37eff8(0x203)](_0x592e11[_0x37eff8(0x32c)])),_0x80021(0x1,_0x5ab409[_0x37eff8(0x203)](_0x27afe7[_0x37eff8(0x380)])),_0x80021(0x2,_0x5ab409[_0x37eff8(0x203)](_0x445ce1)),_0x80021(0x3,_0x5ab409[_0x37eff8(0x203)](_0x39b4c8)),_0x80021(0x4,_0x5ab409[_0x37eff8(0x203)](_0x1ecfe3)),_0x80021(0x5,_0x5ab409[_0x37eff8(0x203)](_0x566268)),_0x80021(0x6,_0x2d2548[_0x37eff8(0x112)]),_0x80021(0x7,_0x5ab409[_0x37eff8(0x203)](_0x5ab409['LocaleService']))],_0x238cb6);var _0x193105=Object[_0x37eff8(0x156)],_0x2509d1=(_0xe02675,_0x47fbf4,_0x1e20f8,_0x2b1c78)=>{const _0x2dc78e=_0x37eff8;for(var _0x5f3bfb=_0x2b1c78>0x1?void 0x0:_0x2b1c78?_0x193105(_0x47fbf4,_0x1e20f8):_0x47fbf4,_0x194d1e=_0xe02675[_0x2dc78e(0x2ef)]-0x1,_0xecd8ac;_0x194d1e>=0x0;_0x194d1e--)(_0xecd8ac=_0xe02675[_0x194d1e])&&(_0x5f3bfb=_0xecd8ac(_0x5f3bfb)||_0x5f3bfb);return _0x5f3bfb;},_0x285031=(_0x153e3a,_0x275a7e)=>(_0x5510dd,_0x498df0)=>_0x275a7e(_0x5510dd,_0x498df0,_0x153e3a);let _0x371cd8=class extends _0x5ab409[_0x37eff8(0x334)]{constructor(_0x44ee5f,_0x524f22,_0x1de17e){const _0x22dd9d=_0x37eff8;super(),_0xb0aba8(this,'_cachedData',new Map()),_0xb0aba8(this,_0x22dd9d(0x1b4),new Map()),_0xb0aba8(this,_0x22dd9d(0x1cf),!0x1),(this[_0x22dd9d(0x2cc)]=_0x44ee5f,this[_0x22dd9d(0x281)]=_0x524f22,this[_0x22dd9d(0x213)]=_0x1de17e);}[_0x37eff8(0x212)](){const _0x348414=_0x37eff8;this[_0x348414(0x1cf)]=!0x0;}['enableLocalCache'](){const _0x4e0c6d=_0x37eff8;this[_0x4e0c6d(0x1cf)]=!0x1;}get[_0x37eff8(0x2ca)](){const _0x1895ef=_0x37eff8;return this[_0x1895ef(0x1b4)];}[_0x37eff8(0x172)](){const _0x18ccd2=_0x37eff8;this['exhaustSavingTask']()[_0x18ccd2(0x2e4)](()=>super['dispose']());}async[_0x37eff8(0x265)](_0x1470e0){const _0x625812=_0x37eff8;return this[_0x625812(0x1cf)]?null:this[_0x625812(0x281)][_0x625812(0x232)](_0x27afe7[_0x625812(0x23b)](_0x1470e0));}async[_0x37eff8(0x320)](_0x42bde3,_0x45d76e){const _0x1d46ed=_0x37eff8;return!!this[_0x1d46ed(0x281)][_0x1d46ed(0x30e)](_0x42bde3,_0x45d76e);}['updateOfflineData'](_0x1105a6,_0x5edd20,_0x5347ea,_0x11bb84){const _0x79351e=_0x37eff8,_0x1dd6fc=this[_0x79351e(0x213)][_0x79351e(0x303)](_0x1105a6);this[_0x79351e(0x368)][_0x79351e(0x108)](_0x1105a6,{'unitID':_0x1105a6,'type':_0x5edd20,'awaitingChangeset':_0x5347ea,'mutations':_0x11bb84,'rev':_0x1dd6fc}),this[_0x79351e(0x1b4)]['has'](_0x1105a6)||this[_0x79351e(0x35f)](_0x1105a6);}[_0x37eff8(0x35f)](_0x309c9a){const _0x326b0c=_0x37eff8,_0x2de31d=this[_0x326b0c(0xf4)]();_0x2de31d===0x0?this[_0x326b0c(0x21a)](_0x309c9a):this[_0x326b0c(0x1b4)][_0x326b0c(0x108)](_0x309c9a,setTimeout(()=>this[_0x326b0c(0x21a)](_0x309c9a),_0x2de31d));}[_0x37eff8(0xf4)](){const _0x584b74=_0x37eff8;var _0x2df24f;return(_0x2df24f=this[_0x584b74(0x2cc)][_0x584b74(0x1f5)](_0x27afe7[_0x584b74(0x125)]))!=null?_0x2df24f:_0x27afe7[_0x584b74(0x1b8)];}[_0x37eff8(0x21a)](_0x4492f0){const _0x343ff5=_0x37eff8,_0x50cc8d=this['_saveTaskMap'][_0x343ff5(0x14a)](_0x4492f0);return _0x50cc8d!==void 0x0&&window[_0x343ff5(0xfe)](_0x50cc8d),this['_localStorageService'][_0x343ff5(0x30e)](_0x27afe7[_0x343ff5(0x23b)](_0x4492f0),this['_cachedData'][_0x343ff5(0x14a)](_0x4492f0))['then'](()=>this['_saveTaskMap'][_0x343ff5(0x116)](_0x4492f0));}async[_0x37eff8(0x241)](){const _0x586a05=_0x37eff8,_0x49545c=[];this[_0x586a05(0x1b4)][_0x586a05(0x379)]((_0x4fe3c3,_0x331ffe)=>{const _0x2e2c1e=_0x586a05;window[_0x2e2c1e(0xfe)](_0x4fe3c3),_0x49545c[_0x2e2c1e(0x243)](this[_0x2e2c1e(0x21a)](_0x331ffe)[_0x2e2c1e(0x2e4)](()=>{const _0x5365d0=_0x2e2c1e;this[_0x5365d0(0x1b4)][_0x5365d0(0x116)](_0x331ffe);}));}),await Promise[_0x586a05(0x20a)](_0x49545c);}};_0x371cd8=_0x2509d1([_0x285031(0x0,_0x5ab409[_0x37eff8(0x22d)]),_0x285031(0x1,_0x5ab409[_0x37eff8(0x1cb)]),_0x285031(0x2,_0x5ab409['Inject'](_0x32a7bb[_0x37eff8(0x1d5)]))],_0x371cd8);class _0x16ebd3 extends _0x5ab409['RxDisposable']{constructor(){const _0x45f656=_0x37eff8;super(),_0xb0aba8(this,'urlChange$'),this['urlChange$']=_0x5f1da7['fromEvent'](window,'popstate')[_0x45f656(0x271)](_0x5f1da7['takeUntil'](this[_0x45f656(0x1f7)]),_0x5f1da7['shareReplay'](0x1),_0x5f1da7[_0x45f656(0x372)](void 0x0));}[_0x37eff8(0x25b)](_0x5445bb,_0x27a56e,_0x51c9c2=!0x1){const _0x35916d=_0x37eff8,_0x292aaa=new URL(window[_0x35916d(0x315)][_0x35916d(0x2af)]);_0x292aaa['searchParams'][_0x35916d(0x108)](_0x5445bb,_0x27a56e),_0x51c9c2?window[_0x35916d(0x327)]['replaceState']('','',_0x292aaa[_0x35916d(0x338)]()):window[_0x35916d(0x327)]['pushState']('','',_0x292aaa[_0x35916d(0x338)]());}[_0x37eff8(0x167)](_0x2b2efb,_0x399db6=!0x1){const _0x59a9ea=_0x37eff8,_0x56c61e=new URL(window[_0x59a9ea(0x315)]['href']);_0x56c61e[_0x59a9ea(0x1d3)][_0x59a9ea(0x116)](_0x2b2efb),_0x399db6?window['history'][_0x59a9ea(0x269)]('','',_0x56c61e[_0x59a9ea(0x338)]()):window[_0x59a9ea(0x327)]['pushState']('','',_0x56c61e[_0x59a9ea(0x338)]());}[_0x37eff8(0x348)](_0x11a094){const _0x510561=_0x37eff8;var _0x56da8a;return(_0x56da8a=new URL(window[_0x510561(0x315)][_0x510561(0x2af)])[_0x510561(0x1d3)]['get'](_0x11a094))!=null?_0x56da8a:void 0x0;}}var _0x54d237=Object[_0x37eff8(0x34f)],_0x1a434d=Object[_0x37eff8(0x156)],_0x54964e=(_0x57363a,_0x2409cc,_0x53a702)=>_0x2409cc in _0x57363a?_0x54d237(_0x57363a,_0x2409cc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x53a702}):_0x57363a[_0x2409cc]=_0x53a702,_0x42f472=(_0x159693,_0x25d846,_0x2c11b2,_0x167bea)=>{for(var _0x3f72cd=_0x167bea>0x1?void 0x0:_0x167bea?_0x1a434d(_0x25d846,_0x2c11b2):_0x25d846,_0x2086ec=_0x159693['length']-0x1,_0x3334a7;_0x2086ec>=0x0;_0x2086ec--)(_0x3334a7=_0x159693[_0x2086ec])&&(_0x3f72cd=_0x3334a7(_0x3f72cd)||_0x3f72cd);return _0x3f72cd;},_0x1414ec=(_0x558d32,_0x16e083)=>(_0x3501d8,_0x280499)=>_0x16e083(_0x3501d8,_0x280499,_0x558d32),_0x953c10=(_0x5d3703,_0x329422,_0x483f31)=>_0x54964e(_0x5d3703,_0x329422+'',_0x483f31);const _0x39ff15='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x253d45[_0x37eff8(0x12b)]=class extends _0x5ab409[_0x37eff8(0x30a)]{constructor(_0x3566a2=_0x2a48a3,_0x4b9957,_0x17aff0,_0x5d7e75){const _0x28983b=_0x37eff8;super(),this[_0x28983b(0x27c)]=_0x3566a2,this[_0x28983b(0x2e3)]=_0x4b9957,this['_injector']=_0x17aff0,this[_0x28983b(0x2cc)]=_0x5d7e75;const {..._0x1accd3}=_0x5ab409[_0x28983b(0x100)]({},_0x2a48a3,this[_0x28983b(0x27c)]);this[_0x28983b(0x2cc)][_0x28983b(0x252)](_0x37a496,_0x1accd3);}[_0x37eff8(0x25d)](){const _0x2a8376=_0x37eff8;this[_0x2a8376(0x357)](),this[_0x2a8376(0x2f0)]();}[_0x37eff8(0x138)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x47a7a7=_0x37eff8;var _0x294e85;const _0x1b3844=[[_0x7ad230],[_0x1ecfe3],[_0x445ce1],[_0x39b4c8],[_0x566268],[_0x2265c7,{'useClass':_0x16ebd3}],[_0x377897['ISocketService'],{'useClass':_0x377897[_0x47a7a7(0x2e7)]}],[_0x27afe7[_0x47a7a7(0x12e)],{'useClass':_0x371cd8}],[_0x253d45[_0x47a7a7(0x2f4)]],[_0x238cb6],[_0x1847b6],[_0x5c727a],[_0x581e65],[_0x253d45[_0x47a7a7(0x24c)]]];_0x5ab409[_0x47a7a7(0x29d)](this[_0x47a7a7(0x275)],_0x5ab409[_0x47a7a7(0x1b3)](_0x1b3844,(_0x294e85=this['_config'])==null?void 0x0:_0x294e85[_0x47a7a7(0x283)]));}['_registerRenderDependencies'](){const _0xe2c5e8=_0x37eff8;this['disposeWithMe'](this[_0xe2c5e8(0x2e3)][_0xe2c5e8(0x26a)](_0x5ab409[_0xe2c5e8(0x1b0)][_0xe2c5e8(0x38e)],[_0x5523a4])),this[_0xe2c5e8(0x14c)](this[_0xe2c5e8(0x2e3)][_0xe2c5e8(0x26a)](_0x5ab409[_0xe2c5e8(0x1b0)][_0xe2c5e8(0x1ec)],[_0x1433cc]));}[_0x37eff8(0x2f0)](){const _0xa75846=_0x37eff8;_0x5ab409[_0xa75846(0x365)](this[_0xa75846(0x275)],[[_0x5c727a],[_0x253d45['DesktopCollaborationStatusDisplayController']],[_0x238cb6],[_0x1847b6],[_0x253d45['CollaborationDataLoaderController']]]);}},_0x953c10(_0x253d45[_0x37eff8(0x12b)],_0x37eff8(0x21d),_0x39ff15),_0x253d45[_0x37eff8(0x12b)]=_0x42f472([_0x5ab409[_0x37eff8(0x261)](_0x27afe7[_0x37eff8(0x386)]),_0x1414ec(0x1,_0x54596e[_0x37eff8(0x1a1)]),_0x1414ec(0x2,_0x5ab409[_0x37eff8(0x203)](_0x5ab409[_0x37eff8(0x1c4)])),_0x1414ec(0x3,_0x5ab409['IConfigService'])],_0x253d45['UniverCollaborationClientUIPlugin']);var _0x123086=Object[_0x37eff8(0x156)],_0x334d54=(_0x380fd1,_0x37a2b5,_0xd30770,_0x34f3fa)=>{const _0x108956=_0x37eff8;for(var _0x587fa7=_0x34f3fa>0x1?void 0x0:_0x34f3fa?_0x123086(_0x37a2b5,_0xd30770):_0x37a2b5,_0x23109e=_0x380fd1[_0x108956(0x2ef)]-0x1,_0x3eb12c;_0x23109e>=0x0;_0x23109e--)(_0x3eb12c=_0x380fd1[_0x23109e])&&(_0x587fa7=_0x3eb12c(_0x587fa7)||_0x587fa7);return _0x587fa7;},_0x2320b8=(_0x328a24,_0x4fb71a)=>(_0x5d9abb,_0x4fad71)=>_0x4fb71a(_0x5d9abb,_0x4fad71,_0x328a24);_0x253d45[_0x37eff8(0x274)]=class extends _0x27afe7[_0x37eff8(0x238)]{constructor(_0x1344a2,_0x4f1223,_0x53acf3,_0x2b6b18,_0x384011){super(_0x1344a2,_0x4f1223,_0x53acf3,_0x2b6b18,_0x384011);}async['createSocket'](_0x38003b){const _0x5440e7=_0x37eff8,_0x897a48=await this[_0x5440e7(0x2f6)](),_0x42b963=this['_createSocketURL'](_0x38003b,_0x897a48);return this[_0x5440e7(0x382)](_0x42b963);}[_0x37eff8(0x136)](_0x17e27d,_0x2bb527){const _0x499158=_0x37eff8,_0x4247da=typeof window>'u'?new URL(_0x17e27d):new URL(_0x17e27d,window[_0x499158(0x315)][_0x499158(0x242)]);_0x4247da[_0x499158(0x1d3)][_0x499158(0x108)]('sessionTicket',_0x2bb527);const _0xaa80cd=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x499158(0x208)]);return _0xaa80cd[_0x499158(0x14a)](_0x499158(0x117))&&_0x4247da[_0x499158(0x1d3)][_0x499158(0x108)]('runId',_0xaa80cd[_0x499158(0x14a)]('runId')),_0x4247da[_0x499158(0x338)]();}async['_getSessionTicket'](){const _0x2321b0=_0x37eff8;var _0x3a90dd,_0x123697,_0x971023;const _0x40f514=this['_configService']['getConfig'](_0x27afe7['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x1b3636=(_0x3a90dd=_0x40f514==null?void 0x0:_0x40f514['wsSessionTicketUrl'])!=null?_0x3a90dd:_0x27afe7['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x971023=(_0x123697=(await this[_0x2321b0(0x369)][_0x2321b0(0x14a)](_0x1b3636,{'headers':{'Content-Type':'application/json'}}))[_0x2321b0(0x387)])==null?void 0x0:_0x123697[_0x2321b0(0x29c)])!=null?_0x971023:'';}},_0x253d45[_0x37eff8(0x274)]=_0x334d54([_0x2320b8(0x0,_0x5ab409[_0x37eff8(0x203)](_0x5ab409[_0x37eff8(0x1c4)])),_0x2320b8(0x1,_0x5ab409[_0x37eff8(0x203)](_0x377897[_0x37eff8(0x34d)])),_0x2320b8(0x2,_0x5ab409[_0x37eff8(0x22d)]),_0x2320b8(0x3,_0x5ab409[_0x37eff8(0x321)]),_0x2320b8(0x4,_0x32a7bb[_0x37eff8(0x30f)])],_0x253d45[_0x37eff8(0x274)]);const _0x15ce18=0x7530,_0x4b501a=_0x37eff8(0x11e);class _0x33cc4e extends _0x5ab409[_0x37eff8(0x334)]{constructor(){const _0x3099f7=_0x37eff8;super(),_0xb0aba8(this,_0x3099f7(0x1f4),_0x5ab409[_0x3099f7(0x148)]()),_0xb0aba8(this,'_selfUnitIDs',new Set()),_0xb0aba8(this,_0x3099f7(0x29f),new Map()),_0xb0aba8(this,_0x3099f7(0x13d),null),_0xb0aba8(this,'_clearOtherTimers',new Map()),_0xb0aba8(this,_0x3099f7(0x306),new Map()),this['_init']();}[_0x37eff8(0x172)](){const _0x251f2d=_0x37eff8;super[_0x251f2d(0x172)](),this[_0x251f2d(0x182)]['forEach']((_0x28e551,_0x5715fe)=>this[_0x251f2d(0x26c)](_0x5715fe)),this[_0x251f2d(0x13d)]&&window[_0x251f2d(0x255)](this[_0x251f2d(0x13d)]);}[_0x37eff8(0x29a)](_0xa2814b){const _0x444bae=_0x37eff8;return this[_0x444bae(0x38f)](_0xa2814b)[_0x444bae(0x271)](_0x5f1da7[_0x444bae(0x23f)]());}[_0x37eff8(0x2b1)](_0x21ad60){const _0x56a589=_0x37eff8;this[_0x56a589(0x307)][_0x56a589(0x301)]===0x0&&this[_0x56a589(0x144)](),this[_0x56a589(0x307)]['add'](_0x21ad60),this[_0x56a589(0x158)]({'type':0x0,'memberID':this[_0x56a589(0x1f4)],'unitIDs':[_0x21ad60],'isForwarded':!0x1});}['disposeUnit'](_0x23664a){const _0x1c464f=_0x37eff8;this['_selfUnitIDs'][_0x1c464f(0x116)](_0x23664a),this[_0x1c464f(0x307)][_0x1c464f(0x301)]===0x0&&this[_0x1c464f(0x13d)]&&window['clearInterval'](this[_0x1c464f(0x13d)]);}[_0x37eff8(0x2ff)](){const _0x37c674=_0x37eff8;this[_0x37c674(0x14c)](_0x5ab409[_0x37c674(0x20b)](_0x5f1da7[_0x37c674(0x2fd)](window,'storage')[_0x37c674(0x13e)](_0x4560a0=>{const _0x5e1979=_0x37c674;if(_0x4560a0[_0x5e1979(0x11b)]!==_0x4b501a||!_0x4560a0[_0x5e1979(0x2bc)])return;const _0x32f18e=JSON[_0x5e1979(0x19a)](_0x4560a0['newValue']);this[_0x5e1979(0x24f)](_0x32f18e);}))),window[_0x37c674(0x1f8)](_0x37c674(0x250),()=>this[_0x37c674(0x158)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x37c674(0x246)](this[_0x37c674(0x307)])}));}[_0x37eff8(0x24f)](_0x112856){const _0x395ae9=_0x37eff8;switch(_0x112856[_0x395ae9(0x10d)]){case 0x0:this[_0x395ae9(0x128)](_0x112856);break;case 0x1:this[_0x395ae9(0x153)](_0x112856);break;case 0x2:this[_0x395ae9(0x187)](_0x112856);break;}}[_0x37eff8(0x128)](_0x396e69){const _0x23e849=_0x37eff8,{unitIDs:_0x34ee37,memberID:_0x54c014,isForwarded:_0x5e6d0e}=_0x396e69;_0x34ee37['forEach'](_0x3d110f=>{const _0x19e7e3=_0x40f3;if(!_0x5e6d0e&&this[_0x19e7e3(0x29f)]['has'](_0x3d110f)&&this[_0x19e7e3(0x38f)](_0x3d110f)[_0x19e7e3(0x1c6)](_0x27afe7[_0x19e7e3(0x34c)][_0x19e7e3(0x310)]),!this['_unitOnClients']['has'](_0x3d110f)||!this[_0x19e7e3(0x29f)]['get'](_0x3d110f)['has'](_0x54c014)){const _0x21a000=this['_unitOnClients'][_0x19e7e3(0x14a)](_0x3d110f)||new Set();_0x21a000[_0x19e7e3(0x1ea)](_0x54c014),this[_0x19e7e3(0x29f)][_0x19e7e3(0x108)](_0x3d110f,_0x21a000),this[_0x19e7e3(0x2cb)](_0x54c014);}}),_0x5e6d0e||this[_0x23e849(0x158)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x37eff8(0x2cb)](_0x26d31d){const _0x30f650=_0x37eff8;this[_0x30f650(0x26c)](_0x26d31d);const _0x1ef2dc=window['setTimeout'](()=>{const _0x405a98=_0x30f650;this[_0x405a98(0x29f)]['forEach'](_0x5544c5=>{const _0x59df01=_0x405a98;_0x5544c5[_0x59df01(0x116)](_0x26d31d);});},_0x15ce18*0x2);this[_0x30f650(0x182)][_0x30f650(0x108)](_0x26d31d,_0x1ef2dc);}[_0x37eff8(0x26c)](_0x3abc96){const _0x22e3fb=_0x37eff8;if(this['_clearOtherTimers'][_0x22e3fb(0x2c9)](_0x3abc96)){const _0x27517e=this[_0x22e3fb(0x182)]['get'](_0x3abc96);_0x27517e&&window['clearTimeout'](_0x27517e),this[_0x22e3fb(0x182)][_0x22e3fb(0x108)](_0x3abc96,null);}}['_handleLeaveEvent'](_0x1a68b9){const _0x10b3be=_0x37eff8,{memberID:_0x16231b,unitIDs:_0x40d811}=_0x1a68b9;_0x40d811[_0x10b3be(0x379)](_0x52af62=>{const _0xa4dca5=_0x10b3be;var _0xe5ec82;const _0x28a77d=this[_0xa4dca5(0x29f)][_0xa4dca5(0x14a)](_0x52af62);_0x28a77d&&(_0x28a77d[_0xa4dca5(0x116)](_0x16231b),(_0xe5ec82=this[_0xa4dca5(0x38f)](_0x52af62))==null||_0xe5ec82['next'](_0x28a77d[_0xa4dca5(0x301)]===0x0?_0x27afe7[_0xa4dca5(0x34c)]['NO_OTHER_CLIENTS_EDITING']:_0x27afe7[_0xa4dca5(0x34c)][_0xa4dca5(0x310)]));}),this[_0x10b3be(0x26c)](_0x16231b);}['_handleHeartbeatEvent'](_0xbfc713){const _0x24a16c=_0x37eff8;this['_scheduleClearOtherTimer'](_0xbfc713[_0x24a16c(0x317)]);}['_send'](_0x1c7046){const _0x58769c=_0x37eff8;localStorage[_0x58769c(0x30e)](_0x4b501a,JSON[_0x58769c(0x2f9)](_0x1c7046));}[_0x37eff8(0x144)](){const _0x1d6355=_0x37eff8;this[_0x1d6355(0x13d)]=window[_0x1d6355(0x27d)](()=>{const _0x262fbf=_0x1d6355;this[_0x262fbf(0x158)]({'type':0x2,'memberID':this[_0x262fbf(0x1f4)]});},_0x15ce18);}['_ensureSubject'](_0x1632dd){const _0x2ade69=_0x37eff8;return this['_unitStatus'][_0x2ade69(0x2c9)](_0x1632dd)||this[_0x2ade69(0x306)]['set'](_0x1632dd,new _0x5f1da7[(_0x2ade69(0x256))](_0x27afe7['UnitStatus'][_0x2ade69(0x101)])),this[_0x2ade69(0x306)]['get'](_0x1632dd);}}var _0x4b037d=(_0x5d39a2=>(_0x5d39a2[_0x5d39a2[_0x37eff8(0x16c)]=0x0]=_0x37eff8(0x16c),_0x5d39a2[_0x5d39a2['OK']=0x1]='OK',_0x5d39a2[_0x5d39a2[_0x37eff8(0x1e1)]=0x2]=_0x37eff8(0x1e1),_0x5d39a2[_0x5d39a2['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x5d39a2[_0x5d39a2[_0x37eff8(0x2fb)]=0x4]=_0x37eff8(0x2fb),_0x5d39a2[_0x5d39a2[_0x37eff8(0x31e)]=0x5]=_0x37eff8(0x31e),_0x5d39a2[_0x5d39a2['ALREADY_EXISTS']=0x6]=_0x37eff8(0x28c),_0x5d39a2[_0x5d39a2[_0x37eff8(0x1ff)]=0x7]=_0x37eff8(0x1ff),_0x5d39a2[_0x5d39a2[_0x37eff8(0x326)]=0x8]=_0x37eff8(0x326),_0x5d39a2[_0x5d39a2[_0x37eff8(0x316)]=0x9]=_0x37eff8(0x316),_0x5d39a2[_0x5d39a2[_0x37eff8(0x1b5)]=0xa]='LOGIN_FAILED',_0x5d39a2[_0x5d39a2[_0x37eff8(0x1aa)]=0x1389]=_0x37eff8(0x1aa),_0x5d39a2[_0x5d39a2[_0x37eff8(0x1ad)]=0x1771]=_0x37eff8(0x1ad),_0x5d39a2[_0x5d39a2[_0x37eff8(0x375)]=0x1772]=_0x37eff8(0x375),_0x5d39a2[_0x5d39a2[_0x37eff8(0x2ba)]=0x1773]=_0x37eff8(0x2ba),_0x5d39a2[_0x5d39a2[_0x37eff8(0x115)]=0x1b59]=_0x37eff8(0x115),_0x5d39a2[_0x5d39a2[_0x37eff8(0x201)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x5d39a2[_0x5d39a2[_0x37eff8(0x384)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x5d39a2[_0x5d39a2[_0x37eff8(0x16d)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x5d39a2[_0x5d39a2[_0x37eff8(0x103)]=0x1b5d]=_0x37eff8(0x103),_0x5d39a2[_0x5d39a2['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x37eff8(0x337),_0x5d39a2[_0x5d39a2[_0x37eff8(0x110)]=0x2329]=_0x37eff8(0x110),_0x5d39a2[_0x5d39a2[_0x37eff8(0x1ab)]=0x232a]=_0x37eff8(0x1ab),_0x5d39a2[_0x5d39a2[_0x37eff8(0x340)]=0x232b]=_0x37eff8(0x340),_0x5d39a2[_0x5d39a2[_0x37eff8(0x32b)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x5d39a2[_0x5d39a2[_0x37eff8(0x302)]=0x232d]=_0x37eff8(0x302),_0x5d39a2[_0x5d39a2['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x37eff8(0x309),_0x5d39a2[_0x5d39a2['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x5d39a2[_0x5d39a2[_0x37eff8(0x1dd)]=0x2713]=_0x37eff8(0x1dd),_0x5d39a2[_0x5d39a2[_0x37eff8(0x35a)]=0x2714]=_0x37eff8(0x35a),_0x5d39a2[_0x5d39a2[_0x37eff8(0x2d6)]=0x271a]=_0x37eff8(0x2d6),_0x5d39a2[_0x5d39a2[_0x37eff8(0x280)]=0x271b]=_0x37eff8(0x280),_0x5d39a2[_0x5d39a2[_0x37eff8(0x1bf)]=0x271c]=_0x37eff8(0x1bf),_0x5d39a2[_0x5d39a2['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x37eff8(0x376),_0x5d39a2[_0x5d39a2['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x37eff8(0x2c5),_0x5d39a2[_0x5d39a2[_0x37eff8(0x21f)]=0x271f]=_0x37eff8(0x21f),_0x5d39a2[_0x5d39a2[_0x37eff8(0x2db)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x5d39a2[_0x5d39a2[_0x37eff8(0x133)]=0x2ee1]=_0x37eff8(0x133),_0x5d39a2[_0x5d39a2[_0x37eff8(0x12f)]=0x2ee2]='INVALID_INVITE_CODE',_0x5d39a2[_0x5d39a2['INVITE_CODE_REQUIRED']=0x2ee3]=_0x37eff8(0x34b),_0x5d39a2[_0x5d39a2[_0x37eff8(0x1a8)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x5d39a2[_0x5d39a2['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x37eff8(0x328),_0x5d39a2[_0x5d39a2[_0x37eff8(0x16f)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x5d39a2[_0x5d39a2[_0x37eff8(0x114)]=0x32ca]=_0x37eff8(0x114),_0x5d39a2[_0x5d39a2[_0x37eff8(0x374)]=0x32cb]=_0x37eff8(0x374),_0x5d39a2[_0x5d39a2[_0x37eff8(0x299)]=-0x1]=_0x37eff8(0x299),_0x5d39a2))(_0x4b037d||{}),_0x6fcb0f=Object[_0x37eff8(0x156)],_0x2468f3=(_0x4bbdf2,_0x5c8ee8,_0x5c611a,_0x50eefb)=>{const _0x437d37=_0x37eff8;for(var _0x280f38=_0x50eefb>0x1?void 0x0:_0x50eefb?_0x6fcb0f(_0x5c8ee8,_0x5c611a):_0x5c8ee8,_0x4bb7bb=_0x4bbdf2[_0x437d37(0x2ef)]-0x1,_0x43af83;_0x4bb7bb>=0x0;_0x4bb7bb--)(_0x43af83=_0x4bbdf2[_0x4bb7bb])&&(_0x280f38=_0x43af83(_0x280f38)||_0x280f38);return _0x280f38;},_0x5851fd=(_0x34af75,_0x5c9818)=>(_0x23bd3f,_0x3cdee3)=>_0x5c9818(_0x23bd3f,_0x3cdee3,_0x34af75);_0x253d45[_0x37eff8(0x32f)]=class extends _0x5ab409[_0x37eff8(0x334)]{constructor(_0x123ef8,_0x1b47fd,_0x2acb2e){const _0x2e9bc0=_0x37eff8;super(),this['_instanceService']=_0x123ef8,this[_0x2e9bc0(0x369)]=_0x1b47fd,this['_configService']=_0x2acb2e;}async[_0x37eff8(0x23d)](_0x429fdc,_0x3b023b,_0x57cf92,..._0x187b50){const _0x1963e7=_0x37eff8;var _0x3fee27,_0x56982a,_0xeaca3a,_0x17509b;const _0x1c1f2e=this[_0x1963e7(0x1b7)][_0x1963e7(0x1d4)]();if(!_0x1c1f2e)throw new Error(_0x1963e7(0x2aa));const _0x2053ce=((_0x3fee27=this[_0x1963e7(0x2cc)][_0x1963e7(0x1f5)](_0x27afe7['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x3fee27:_0x27afe7[_0x1963e7(0x141)])+'/'+_0x429fdc+_0x1963e7(0x288)+_0x3b023b,_0x1c6e4d=new URL(window[_0x1963e7(0x315)][_0x1963e7(0x2af)]),_0x3c7f7b={'scriptId':_0x429fdc,'runId':(_0x56982a=_0x1c6e4d['searchParams'][_0x1963e7(0x14a)]('runId'))!=null?_0x56982a:'','function':_0x3b023b,'unitId':_0x1c1f2e[_0x1963e7(0x1c7)](),'argsOfFunction':JSON['stringify'](_0x187b50),'invokeId':(_0xeaca3a=_0x57cf92[_0x1963e7(0x295)])!=null?_0xeaca3a:'','executionId':(_0x17509b=_0x57cf92['executionId'])!=null?_0x17509b:''};try{const _0x490b1d=await this[_0x1963e7(0x369)]['post'](_0x2053ce,{'body':_0x3c7f7b});return _0x490b1d[_0x1963e7(0x387)][_0x1963e7(0x359)]&&_0x490b1d['body'][_0x1963e7(0x359)][_0x1963e7(0x36c)]!==_0x4b037d['OK']?'Failed':_0x490b1d['body'][_0x1963e7(0x185)];}catch{return _0x1963e7(0x38c);}}},_0x253d45[_0x37eff8(0x32f)]=_0x2468f3([_0x5851fd(0x0,_0x5ab409['IUniverInstanceService']),_0x5851fd(0x1,_0x5ab409[_0x37eff8(0x203)](_0x377897['HTTPService'])),_0x5851fd(0x2,_0x5ab409[_0x37eff8(0x22d)])],_0x253d45[_0x37eff8(0x32f)]),_0x253d45[_0x37eff8(0x189)]=_0x62c960,_0x253d45[_0x37eff8(0x230)]=_0x2265c7,_0x253d45[_0x37eff8(0x2eb)]=_0x4240a9,_0x253d45[_0x37eff8(0x2b4)]=_0x33cc4e,_0x253d45['WebURLService']=_0x16ebd3,Object[_0x37eff8(0x34f)](_0x253d45,Symbol['toStringTag'],{'value':_0x37eff8(0x245)});}));
1
+ function _0x4ca4(_0x366c08,_0x3eb4ab){const _0x5a91f0=_0x5a91();return _0x4ca4=function(_0x4ca4fe,_0x47bf14){_0x4ca4fe=_0x4ca4fe-0x71;let _0x531780=_0x5a91f0[_0x4ca4fe];return _0x531780;},_0x4ca4(_0x366c08,_0x3eb4ab);}(function(_0x5a7695,_0x59eb04){const _0x9eb1ca=_0x4ca4,_0x17bb8d=_0x5a7695();while(!![]){try{const _0x1fb620=-parseInt(_0x9eb1ca(0x27a))/0x1*(parseInt(_0x9eb1ca(0xf8))/0x2)+parseInt(_0x9eb1ca(0x1c3))/0x3+parseInt(_0x9eb1ca(0x218))/0x4*(parseInt(_0x9eb1ca(0xd6))/0x5)+-parseInt(_0x9eb1ca(0x27d))/0x6+parseInt(_0x9eb1ca(0xc0))/0x7+-parseInt(_0x9eb1ca(0x1b8))/0x8+parseInt(_0x9eb1ca(0x93))/0x9*(parseInt(_0x9eb1ca(0x251))/0xa);if(_0x1fb620===_0x59eb04)break;else _0x17bb8d['push'](_0x17bb8d['shift']());}catch(_0x59b60e){_0x17bb8d['push'](_0x17bb8d['shift']());}}}(_0x5a91,0x633ef),function(_0x4376e0,_0x2183e2){const _0x370eb7=_0x4ca4;typeof exports=='object'&&typeof module<'u'?_0x2183e2(exports,require(_0x370eb7(0x79)),require(_0x370eb7(0x8e)),require('@univerjs/engine-render'),require(_0x370eb7(0x29c)),require(_0x370eb7(0x2ec)),require(_0x370eb7(0x1a0)),require('rxjs'),require(_0x370eb7(0x2f6)),require('@univerjs-pro/collaboration'),require(_0x370eb7(0x9e)),require(_0x370eb7(0xd4)),require('rxjs/operators'),require(_0x370eb7(0xb1)),require(_0x370eb7(0x81)),require(_0x370eb7(0x1d3)),require('@univerjs/design'),require('react'),require(_0x370eb7(0x308))):typeof define==_0x370eb7(0x309)&&define[_0x370eb7(0x279)]?define([_0x370eb7(0x2bc),_0x370eb7(0x79),_0x370eb7(0x8e),'@univerjs/engine-render',_0x370eb7(0x29c),_0x370eb7(0x2ec),_0x370eb7(0x1a0),'rxjs',_0x370eb7(0x2f6),_0x370eb7(0x284),_0x370eb7(0x9e),_0x370eb7(0xd4),'rxjs/operators',_0x370eb7(0xb1),_0x370eb7(0x81),_0x370eb7(0x1d3),_0x370eb7(0x285),_0x370eb7(0x187),_0x370eb7(0x308)],_0x2183e2):(_0x4376e0=typeof globalThis<'u'?globalThis:_0x4376e0||self,_0x2183e2(_0x4376e0[_0x370eb7(0x2d2)]={},_0x4376e0['UniverProCollaborationClient'],_0x4376e0[_0x370eb7(0x1db)],_0x4376e0[_0x370eb7(0x9a)],_0x4376e0[_0x370eb7(0xe2)],_0x4376e0[_0x370eb7(0x2d5)],_0x4376e0[_0x370eb7(0x2d1)],_0x4376e0[_0x370eb7(0x182)],_0x4376e0[_0x370eb7(0x109)],_0x4376e0[_0x370eb7(0x111)],_0x4376e0['UniverEngineFormula'],_0x4376e0[_0x370eb7(0x7e)],_0x4376e0[_0x370eb7(0x182)][_0x370eb7(0x21f)],_0x4376e0[_0x370eb7(0xd9)],_0x4376e0[_0x370eb7(0x1cf)],_0x4376e0['UniverUi'],_0x4376e0[_0x370eb7(0x142)],_0x4376e0['React'],_0x4376e0['UniverRpc']));}(this,function(_0x17d51e,_0x4de101,_0x1ea30e,_0x51bd,_0x107c73,_0x3d290f,_0x48e4a0,_0x2fa692,_0x50f4df,_0x4846b4,_0x138154,_0x2a46f1,_0x54b237,_0x295ed8,_0x222161,_0x1055b6,_0x42d6da,_0x24e835,_0x29b637){'use strict';const _0x20c03e=_0x4ca4;var _0x543369=Object[_0x20c03e(0xff)],_0x1f482a=(_0x53ae40,_0x315ebc,_0x2e66aa)=>_0x315ebc in _0x53ae40?_0x543369(_0x53ae40,_0x315ebc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2e66aa}):_0x53ae40[_0x315ebc]=_0x2e66aa,_0x2bd54b=(_0xd9860c,_0x2f1076,_0x3cb5df)=>_0x1f482a(_0xd9860c,typeof _0x2f1076!=_0x20c03e(0x155)?_0x2f1076+'':_0x2f1076,_0x3cb5df),_0x4be8d4=Object['getOwnPropertyDescriptor'],_0x2f40f7=(_0x3accd1,_0x4cdf01,_0x588682,_0x1f8cb9)=>{const _0x5383d9=_0x20c03e;for(var _0x1a2fe2=_0x1f8cb9>0x1?void 0x0:_0x1f8cb9?_0x4be8d4(_0x4cdf01,_0x588682):_0x4cdf01,_0x27d276=_0x3accd1[_0x5383d9(0x265)]-0x1,_0xd36fba;_0x27d276>=0x0;_0x27d276--)(_0xd36fba=_0x3accd1[_0x27d276])&&(_0x1a2fe2=_0xd36fba(_0x1a2fe2)||_0x1a2fe2);return _0x1a2fe2;},_0x25d2ba=(_0x3ca797,_0x2b85b3)=>(_0x119b6a,_0x374e27)=>_0x2b85b3(_0x119b6a,_0x374e27,_0x3ca797);let _0x108035=class extends _0x1ea30e[_0x20c03e(0x1cd)]{constructor(_0x313b7a,_0x2c739d){const _0x25d822=_0x20c03e;super(),this[_0x25d822(0x19b)]=_0x313b7a,this[_0x25d822(0x1a8)]=_0x2c739d,this['_init']();}[_0x20c03e(0x18a)](){const _0x5d2505=_0x20c03e,_0x50a51e=this;this[_0x5d2505(0x16e)](this[_0x5d2505(0x19b)][_0x5d2505(0x297)]({'onBeforePasteImage':async _0x4928fa=>{const _0x2b3ff4=_0x5d2505,_0xc8404c=await _0x50a51e[_0x2b3ff4(0x1a8)]['saveImage'](_0x4928fa);return _0xc8404c?{'source':_0xc8404c[_0x2b3ff4(0x2ed)],'imageSourceType':_0xc8404c[_0x2b3ff4(0x1f7)]}:null;}}));}};_0x108035=_0x2f40f7([_0x25d2ba(0x0,_0x3d290f[_0x20c03e(0x1a1)]),_0x25d2ba(0x1,_0x48e4a0[_0x20c03e(0x236)])],_0x108035);const _0x14866c=[_0x20c03e(0xa6),_0x20c03e(0x2a8),'green.600',_0x20c03e(0x12e),'blue.400',_0x20c03e(0x224)];class _0x50e5b0 extends _0x1ea30e[_0x20c03e(0x186)]{constructor(){const _0x4498b1=_0x20c03e;super(...arguments),_0x2bd54b(this,_0x4498b1(0x253),new Map()),_0x2bd54b(this,_0x4498b1(0x1a7),0x0);}[_0x20c03e(0x304)](_0x4f20a5){const _0x384806=_0x20c03e;if(this[_0x384806(0x253)][_0x384806(0x21a)](_0x4f20a5))return this[_0x384806(0x253)]['get'](_0x4f20a5);const _0x56f8b0=_0x14866c[this['_colorIndex']];return this[_0x384806(0x1a7)]=(this[_0x384806(0x1a7)]+0x1)%_0x14866c['length'],this[_0x384806(0x253)][_0x384806(0x296)](_0x4f20a5,_0x56f8b0),_0x56f8b0;}}function _0x1002a5(_0x3ceee0){const _0x131a75=_0x20c03e;let _0x33f6c7='';for(const _0x43be8e of _0x3ceee0){const {startOffset:_0x304d3e,endOffset:_0xf42c1f,isActive:_0x14f116,rangeType:_0x5531b0,segmentId:_0x13e3cd,segmentPage:_0x13decd}=_0x43be8e;_0x33f6c7[_0x131a75(0x265)]&&(_0x33f6c7+=','),_0x33f6c7+=_0x304d3e+':'+_0xf42c1f+':'+(_0x14f116?'1':'0')+':'+_0x5531b0+':'+_0x13e3cd+':'+_0x13decd;}return _0x33f6c7;}function _0x48aad5(_0x4f8520){const _0x4e9f54=_0x20c03e,_0x4a85f5=_0x4f8520[_0x4e9f54(0x209)](','),_0x4bbd08=[];for(const _0x561ba6 of _0x4a85f5){const [_0x517718,_0x39e5d5,_0x3448a8,_0x3bf8bd,_0xe6d6b9,_0x4a6022]=_0x561ba6[_0x4e9f54(0x209)](':');_0x4bbd08[_0x4e9f54(0x2be)]({'startOffset':Number(_0x517718),'endOffset':Number(_0x39e5d5),'collapsed':_0x517718===_0x39e5d5,'isActive':_0x3448a8==='1','rangeType':_0x3bf8bd===_0x1ea30e[_0x4e9f54(0x140)][_0x4e9f54(0x11f)]?_0x1ea30e[_0x4e9f54(0x140)][_0x4e9f54(0x11f)]:_0x1ea30e[_0x4e9f54(0x140)]['RECT'],'segmentId':typeof _0xe6d6b9=='string'?String(_0xe6d6b9):'','segmentPage':Number(_0x4a6022!=null?_0x4a6022:-0x1)});}return _0x4bbd08[_0x4e9f54(0xea)](_0x223dfa=>_0x223dfa[_0x4e9f54(0xb6)])||(_0x4bbd08[0x0][_0x4e9f54(0xb6)]=!0x0),_0x4bbd08;}class _0x4f3239 extends _0x1ea30e[_0x20c03e(0x1cd)]{constructor(){const _0x2ae367=_0x20c03e;super(...arguments),_0x2bd54b(this,_0x2ae367(0x1e8),new _0x2fa692[(_0x2ae367(0x168))](null)),_0x2bd54b(this,'collabCursorState$',this[_0x2ae367(0x1e8)]['asObservable']());}[_0x20c03e(0x1be)](_0x133ee6){const _0x33557b=_0x20c03e,{unitID:_0x533d52,memberID:_0x46fde2,textRanges:_0x1ecae7}=_0x133ee6,_0x2c0c02=_0x1002a5(_0x1ecae7);if(_0x2c0c02==='')return;const _0x37f80b={'unitID':_0x533d52,'memberID':_0x46fde2,'selection':_0x2c0c02};this['_collabCursorState$'][_0x33557b(0x20a)](_0x37f80b);}}var _0x1f4d62=Object[_0x20c03e(0x1ec)],_0x5852e2=(_0x1ad251,_0x12ff3d,_0x32f9e0,_0x4b9b40)=>{for(var _0x1ab4de=_0x4b9b40>0x1?void 0x0:_0x4b9b40?_0x1f4d62(_0x12ff3d,_0x32f9e0):_0x12ff3d,_0x6ea55c=_0x1ad251['length']-0x1,_0x12ca3d;_0x6ea55c>=0x0;_0x6ea55c--)(_0x12ca3d=_0x1ad251[_0x6ea55c])&&(_0x1ab4de=_0x12ca3d(_0x1ab4de)||_0x1ab4de);return _0x1ab4de;},_0x51ce48=(_0x43b54f,_0x3f3207)=>(_0x46468f,_0x5b4174)=>_0x3f3207(_0x46468f,_0x5b4174,_0x43b54f);const _0xc0f6b8=0x12c,_0x5a41a3=0x64;let _0xa5a314=class extends _0x1ea30e[_0x20c03e(0x1cd)]{constructor(_0xd09176,_0xca7b8d,_0x1cd912,_0x310c7f,_0x5cea98,_0x1d15a7,_0x49c97b,_0x24f734,_0x27551b){const _0x277f2e=_0x20c03e;super(),_0x2bd54b(this,'_online',!0x1),_0x2bd54b(this,_0x277f2e(0x18a),!0x1),_0x2bd54b(this,_0x277f2e(0x258),new _0x2fa692[(_0x277f2e(0x168))](new Map())),_0x2bd54b(this,'cursorInfo$',this['_cursorInfo$'][_0x277f2e(0x2e8)]()),_0x2bd54b(this,_0x277f2e(0x190),new _0x2fa692[(_0x277f2e(0x168))]([])),_0x2bd54b(this,_0x277f2e(0xe0),this[_0x277f2e(0x190)][_0x277f2e(0x242)](_0x2fa692['debounceTime'](_0xc0f6b8))),_0x2bd54b(this,'_updateLocalCursor',_0x1ea30e[_0x277f2e(0x1d8)](_0x28412b=>{const _0x2d81ed=_0x277f2e,_0x2a857e={'eventID':_0x4846b4['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x2d81ed(0x131)],'memberID':this[_0x2d81ed(0x2a4)]['getMemberID'](),'selection':_0x1002a5(_0x28412b)}};this[_0x2d81ed(0x2a4)][_0x2d81ed(0xfe)](_0x2a857e,this['unitID']);},_0x5a41a3)),(this['unitID']=_0xd09176,this[_0x277f2e(0x2a4)]=_0xca7b8d,this[_0x277f2e(0x7a)]=_0x1cd912,this['_colorAssignService']=_0x310c7f,this[_0x277f2e(0x235)]=_0x5cea98,this['_syncEditingCollabCursorService']=_0x1d15a7,this[_0x277f2e(0x2fc)]=_0x49c97b,this[_0x277f2e(0x212)]=_0x24f734,this[_0x277f2e(0xe8)]=_0x27551b);}get[_0x20c03e(0x22c)](){const _0x42a195=_0x20c03e;return this[_0x42a195(0x258)]['getValue']();}get[_0x20c03e(0xaf)](){const _0x426a9e=_0x20c03e;return this[_0x426a9e(0x190)]['getValue']();}[_0x20c03e(0x204)](){const _0x3dff5e=_0x20c03e;super[_0x3dff5e(0x204)](),this[_0x3dff5e(0x258)]['next'](new Map()),this[_0x3dff5e(0x258)][_0x3dff5e(0x27c)](),this['_roomMembers$'][_0x3dff5e(0x20a)]([]),this[_0x3dff5e(0x190)]['complete']();}[_0x20c03e(0x13e)](){const _0x5e2f3a=_0x20c03e;this[_0x5e2f3a(0x18a)]||(this[_0x5e2f3a(0x18a)]=!0x0,this[_0x5e2f3a(0x2a4)][_0x5e2f3a(0x1aa)][_0x5e2f3a(0x242)](_0x2fa692[_0x5e2f3a(0x1e1)](this[_0x5e2f3a(0x98)]))[_0x5e2f3a(0xa2)](_0x279bb3=>{const _0x1e5146=_0x5e2f3a;_0x279bb3===_0x4de101['SessionStatus'][_0x1e5146(0x25a)]?this[_0x1e5146(0x128)]():this['_toggleOffline']();}),this[_0x5e2f3a(0x2a4)][_0x5e2f3a(0x264)][_0x5e2f3a(0x242)](_0x2fa692[_0x5e2f3a(0x1e1)](this['dispose$']))[_0x5e2f3a(0xa2)](_0x1e86cc=>{const _0x157232=_0x5e2f3a,_0x4edb51=_0x1e86cc[_0x157232(0x1b2)];_0x4edb51===_0x4846b4[_0x157232(0x1d1)][_0x157232(0x20b)]&&this[_0x157232(0xd3)](_0x1e86cc),_0x4edb51===_0x4846b4[_0x157232(0x1d1)][_0x157232(0x1bf)]&&this[_0x157232(0x1fe)](_0x1e86cc);}),this[_0x5e2f3a(0x16e)](this[_0x5e2f3a(0xe8)][_0x5e2f3a(0xfb)](_0x2f8171=>{const _0x29abfa=_0x5e2f3a,_0x2a1a59=_0x2f8171[_0x29abfa(0x231)];_0x2a1a59!=null&&this[_0x29abfa(0x2ba)]&&_0x2f8171['id']===_0x50f4df[_0x29abfa(0xf6)]['id']&&_0x2a1a59[_0x29abfa(0x1d9)]===this['unitID']&&_0x2a1a59[_0x29abfa(0x1d7)]===!0x1&&_0x2a1a59[_0x29abfa(0x18b)][_0x29abfa(0x265)]>0x0&&this['_updateLocalCursor'](_0x2a1a59[_0x29abfa(0x18b)]);})),this[_0x5e2f3a(0x2b5)][_0x5e2f3a(0x295)][_0x5e2f3a(0x242)](_0x2fa692[_0x5e2f3a(0x1e1)](this[_0x5e2f3a(0x98)]))['subscribe'](_0x409842=>{if((_0x409842==null?void 0x0:_0x409842['unitID'])!==this['unitID'])return;const _0x4b89d8={'eventID':_0x4846b4['CollaborationEvent']['UPDATE_CURSOR'],'data':_0x409842};this['_onCursorUpdate'](_0x4b89d8);}),this[_0x5e2f3a(0x16e)](this[_0x5e2f3a(0xe8)]['onCommandExecuted'](_0x687ec=>{const _0x5829ff=_0x5e2f3a;if(_0x687ec[_0x5829ff(0x231)]==null)return;const _0x191ca5=_0x687ec[_0x5829ff(0x231)];if(_0x687ec['id']!==_0x50f4df[_0x5829ff(0x108)]['id']||_0x191ca5[_0x5829ff(0x1d9)]!==this[_0x5829ff(0x131)])return;const _0x4b71b5={'id':'doc.mutation.rich-text-editing','params':_0x191ca5},_0x3790cc=this['cursorInfo'];for(const [_0x58d623,_0x4560c3]of _0x3790cc){const _0x1ff80c={'id':_0x5829ff(0x2a6),'params':{'unitId':this[_0x5829ff(0x131)],'actions':null,'textRanges':_0x4560c3[_0x5829ff(0x18b)]}},_0xebdfe8=this[_0x5829ff(0x2fc)][_0x5829ff(0x23a)](_0x4b71b5,_0x1ff80c,!0x1);if(_0x4846b4[_0x5829ff(0x239)](_0xebdfe8))throw _0xebdfe8['error'];_0x3790cc['set'](_0x58d623,{..._0x4560c3,'ranges':_0xebdfe8[_0x5829ff(0x1bc)][_0x5829ff(0x231)]['textRanges']});}queueMicrotask(()=>{const _0x1ec979=_0x5829ff;this[_0x1ec979(0x258)][_0x1ec979(0x20a)](_0x3790cc);});})));}['_onCursorUpdate'](_0x2dbb7c){const _0x37dbf3=_0x20c03e;var _0x474237,_0x3f8b7e;const {memberID:_0x2f886e,selection:_0x38ea66}=_0x2dbb7c[_0x37dbf3(0x1f6)],_0x52b7a7=_0x48aad5(_0x38ea66),_0x5bac34=(_0x3f8b7e=(_0x474237=this[_0x37dbf3(0x235)][_0x37dbf3(0x1d2)](this[_0x37dbf3(0x131)],_0x2f886e))==null?void 0x0:_0x474237[_0x37dbf3(0x1c6)])!=null?_0x3f8b7e:_0x37dbf3(0x171),_0x187e56={'color':this[_0x37dbf3(0x1e9)][_0x37dbf3(0x304)](_0x2f886e),'name':_0x5bac34,'ranges':_0x52b7a7},_0x42cffb=this[_0x37dbf3(0x22c)];_0x42cffb['set'](_0x2f886e,_0x187e56),this[_0x37dbf3(0x258)][_0x37dbf3(0x20a)](_0x42cffb);}['_onCursorDelete'](_0x23f86e){const _0x16a068=_0x20c03e,{memberID:_0x562afc}=_0x23f86e[_0x16a068(0x1f6)],_0xc238e9=this[_0x16a068(0x22c)];_0xc238e9[_0x16a068(0xaa)](_0x562afc),this[_0x16a068(0x258)][_0x16a068(0x20a)](_0xc238e9);}[_0x20c03e(0x128)](){const _0x1579fe=_0x20c03e;var _0x42dcf4;if(this[_0x1579fe(0x2ba)]=!0x0,((_0x42dcf4=this[_0x1579fe(0x212)]['getFocusedUnit']())==null?void 0x0:_0x42dcf4[_0x1579fe(0x17a)]())!==this[_0x1579fe(0x131)])return;const _0x519336=this[_0x1579fe(0x7a)]['get'](_0x50f4df['DocSelectionManagerService'])[_0x1579fe(0x2e7)]();Array[_0x1579fe(0x1fb)](_0x519336)&&_0x519336[_0x1579fe(0x265)]>0x0&&this[_0x1579fe(0x1a2)](_0x519336);}[_0x20c03e(0x153)](){const _0xdd2f7a=_0x20c03e;this[_0xdd2f7a(0x2ba)]=!0x1;}};_0xa5a314=_0x5852e2([_0x51ce48(0x2,_0x1ea30e[_0x20c03e(0x175)](_0x1ea30e[_0x20c03e(0x259)])),_0x51ce48(0x3,_0x1ea30e[_0x20c03e(0x175)](_0x50e5b0)),_0x51ce48(0x4,_0x1ea30e['Inject'](_0x4de101['MemberService'])),_0x51ce48(0x5,_0x1ea30e[_0x20c03e(0x175)](_0x4f3239)),_0x51ce48(0x6,_0x4846b4[_0x20c03e(0xab)]),_0x51ce48(0x7,_0x1ea30e[_0x20c03e(0x11c)]),_0x51ce48(0x8,_0x1ea30e[_0x20c03e(0x180)])],_0xa5a314);var _0x3ce54f=Object[_0x20c03e(0x1ec)],_0x2c8281=(_0x5b9b67,_0x43793c,_0xae9c66,_0x31ece9)=>{const _0xf9d1b=_0x20c03e;for(var _0x2b8532=_0x31ece9>0x1?void 0x0:_0x31ece9?_0x3ce54f(_0x43793c,_0xae9c66):_0x43793c,_0x5f319a=_0x5b9b67[_0xf9d1b(0x265)]-0x1,_0x4c4505;_0x5f319a>=0x0;_0x5f319a--)(_0x4c4505=_0x5b9b67[_0x5f319a])&&(_0x2b8532=_0x4c4505(_0x2b8532)||_0x2b8532);return _0x2b8532;},_0x324a5b=(_0x198ba0,_0x22db1f)=>(_0x316f6d,_0x48353d)=>_0x22db1f(_0x316f6d,_0x48353d,_0x198ba0);const _0x125072=0x12c,_0x2e346d=0x64,_0x2d2af6=()=>{let _0x165ca2=[],_0xa897ab=!0x1;return _0x9df164=>{const _0x2839b5=_0x4ca4;_0x165ca2[_0x2839b5(0x2be)](_0x9df164),_0xa897ab||(_0xa897ab=!0x0,setTimeout(()=>{_0x165ca2['forEach'](_0x3357ba=>_0x3357ba()),_0x165ca2=[],_0xa897ab=!0x1;}));};};let _0x17ce4c=class extends _0x1ea30e[_0x20c03e(0x1cd)]{constructor(_0x4ed365,_0x2f8178,_0x5cc1da,_0x385e51,_0x2414e7,_0x59ad4f,_0x4760b3,_0x2464da){const _0x3e3098=_0x20c03e;super(),_0x2bd54b(this,'_online',!0x1),_0x2bd54b(this,'_init',!0x1),_0x2bd54b(this,_0x3e3098(0x258),new _0x2fa692[(_0x3e3098(0x168))](new Map())),_0x2bd54b(this,_0x3e3098(0x232),this[_0x3e3098(0x258)]['asObservable']()),_0x2bd54b(this,_0x3e3098(0x190),new _0x2fa692[(_0x3e3098(0x168))]([])),_0x2bd54b(this,_0x3e3098(0xe0),this[_0x3e3098(0x190)][_0x3e3098(0x242)](_0x2fa692['debounceTime'](_0x125072))),_0x2bd54b(this,_0x3e3098(0x1a2),_0x1ea30e[_0x3e3098(0x1d8)]((_0x157f5f,_0x499bdc)=>{const _0x58667d=_0x3e3098,_0x517913={'eventID':_0x4846b4['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x58667d(0x131)],'memberID':this['_session'][_0x58667d(0x26d)](),'selection':_0x138154[_0x58667d(0x1e2)](_0x157f5f,_0x499bdc['range'])}};this[_0x58667d(0x2a4)][_0x58667d(0xfe)](_0x517913,this[_0x58667d(0x131)]);},_0x2e346d)),(this[_0x3e3098(0x131)]=_0x4ed365,this['_session']=_0x2f8178,this[_0x3e3098(0x7a)]=_0x5cc1da,this[_0x3e3098(0x1e9)]=_0x385e51,this[_0x3e3098(0x235)]=_0x2414e7,this[_0x3e3098(0x212)]=_0x59ad4f,this[_0x3e3098(0xe8)]=_0x4760b3,this[_0x3e3098(0xad)]=_0x2464da);}get[_0x20c03e(0x22c)](){return this['_cursorInfo$']['getValue']();}get[_0x20c03e(0xaf)](){const _0x134792=_0x20c03e;return this[_0x134792(0x190)][_0x134792(0x178)]();}[_0x20c03e(0x204)](){const _0x34e93f=_0x20c03e;super['dispose'](),this[_0x34e93f(0x258)]['next'](new Map()),this[_0x34e93f(0x258)][_0x34e93f(0x27c)](),this[_0x34e93f(0x190)][_0x34e93f(0x20a)]([]),this['_roomMembers$'][_0x34e93f(0x27c)]();}[_0x20c03e(0x13e)](){const _0x254632=_0x20c03e;this[_0x254632(0x18a)]||(this[_0x254632(0x18a)]=!0x0,this[_0x254632(0x2a4)][_0x254632(0x1aa)][_0x254632(0x242)](_0x2fa692['takeUntil'](this[_0x254632(0x98)]))['subscribe'](_0x341f77=>{const _0x5b554a=_0x254632;_0x341f77===_0x4de101[_0x5b554a(0x14e)][_0x5b554a(0x25a)]?this[_0x5b554a(0x128)]():this[_0x5b554a(0x153)]();}),this['_session'][_0x254632(0x264)][_0x254632(0x242)](_0x2fa692[_0x254632(0x1e1)](this[_0x254632(0x98)]))[_0x254632(0xa2)](_0x3b6304=>{const _0xf3711=_0x254632,_0x4ce3e7=_0x3b6304[_0xf3711(0x1b2)];_0x4ce3e7===_0x4846b4[_0xf3711(0x1d1)]['UPDATE_CURSOR']&&this[_0xf3711(0xd3)](_0x3b6304),_0x4ce3e7===_0x4846b4[_0xf3711(0x1d1)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x3b6304);}),this[_0x254632(0x106)](),this[_0x254632(0x16e)](this['_commandService'][_0x254632(0xfb)](_0x5527a4=>{const _0x376ee8=_0x254632;if(this[_0x376ee8(0x2ba)]&&_0x5527a4['id']===_0x2a46f1['SetSelectionsOperation']['id']&&_0x5527a4[_0x376ee8(0x231)][_0x376ee8(0x1d9)]===this[_0x376ee8(0x131)]){const _0x4b095d=_0x5527a4[_0x376ee8(0x231)];this['_updateLocalCursor'](_0x4b095d['subUnitId'],_0x4b095d['selections'][0x0]);}})));}['_onCursorUpdate'](_0x12c510){const _0x572810=_0x20c03e;var _0x4dd4a4,_0x257d9c;const {memberID:_0x5b9cb8,selection:_0x50e944}=_0x12c510[_0x572810(0x1f6)],{sheetName:_0x195b2b,range:_0x824d8f}=_0x138154['deserializeRangeWithSheet'](_0x50e944),_0x3824ff={'name':(_0x257d9c=(_0x4dd4a4=this['_memberService']['getMember'](this[_0x572810(0x131)],_0x5b9cb8))==null?void 0x0:_0x4dd4a4[_0x572810(0x1c6)])!=null?_0x257d9c:'Unknown\x20user','range':this[_0x572810(0x22e)](_0x195b2b,_0x824d8f),'sheetID':_0x195b2b,'color':this[_0x572810(0x1e9)][_0x572810(0x304)](_0x5b9cb8),'selection':_0x50e944},_0xdf8831=this[_0x572810(0x22c)];_0xdf8831[_0x572810(0x296)](_0x5b9cb8,_0x3824ff),this[_0x572810(0x258)]['next'](_0xdf8831);}[_0x20c03e(0x1fe)](_0x450738){const _0x4d5f1e=_0x20c03e,{memberID:_0x19cf8c}=_0x450738['data'],_0x127823=this[_0x4d5f1e(0x22c)];_0x127823['delete'](_0x19cf8c),this[_0x4d5f1e(0x258)][_0x4d5f1e(0x20a)](_0x127823);}[_0x20c03e(0x22e)](_0x33649f,_0x567bb3){const _0x588394=_0x20c03e;var _0x486ebd,_0x30b44b;const _0x14b811=(_0x30b44b=(_0x486ebd=this[_0x588394(0x212)]['getUniverSheetInstance'](this[_0x588394(0x131)]))==null?void 0x0:_0x486ebd[_0x588394(0x10c)](_0x33649f))==null?void 0x0:_0x30b44b[_0x588394(0x2f8)]();return(_0x14b811==null?void 0x0:_0x14b811[_0x588394(0xdd)](_0x5d22c9=>_0x1ea30e[_0x588394(0x269)][_0x588394(0x207)](_0x5d22c9,_0x567bb3)))||_0x567bb3;}[_0x20c03e(0x106)](){const _0x1c5470=_0x20c03e,_0x4a60d2=new _0x1ea30e[(_0x1c5470(0x129))](),_0x5c1a48=_0x2d2af6(),_0x194546=()=>{const _0x201e24=_0x1c5470;_0x4a60d2[_0x201e24(0x204)]();const _0xc83e7=(_0x5601f7,_0x4eaf6d,_0x330267,_0x30a6bb)=>{const _0x25d70f=_0x201e24;let _0x4079d0=[];switch(_0x5601f7['id']){case _0x2a46f1['EffectRefRangId'][_0x25d70f(0xb2)]:{_0x4079d0=_0x2a46f1['handleDeleteRangeMoveLeft'](_0x5601f7,_0x30a6bb);break;}case _0x2a46f1[_0x25d70f(0x275)][_0x25d70f(0x302)]:{_0x4079d0=_0x2a46f1['handleDeleteRangeMoveUp'](_0x5601f7,_0x30a6bb);break;}case _0x2a46f1[_0x25d70f(0x275)][_0x25d70f(0x163)]:{_0x4079d0=_0x2a46f1[_0x25d70f(0x20f)](_0x5601f7,_0x30a6bb);break;}case _0x2a46f1[_0x25d70f(0x275)][_0x25d70f(0x25c)]:{_0x4079d0=_0x2a46f1[_0x25d70f(0x221)](_0x5601f7,_0x30a6bb);break;}case _0x2a46f1[_0x25d70f(0x275)][_0x25d70f(0x170)]:{_0x4079d0=_0x2a46f1['handleInsertRangeMoveRight'](_0x5601f7,_0x30a6bb);break;}case _0x2a46f1[_0x25d70f(0x275)]['InsertRowCommandId']:{_0x4079d0=_0x2a46f1[_0x25d70f(0x92)](_0x5601f7,_0x30a6bb);break;}case _0x2a46f1['EffectRefRangId'][_0x25d70f(0x87)]:{_0x4079d0=_0x2a46f1[_0x25d70f(0x16d)](_0x5601f7,_0x30a6bb);break;}case _0x2a46f1[_0x25d70f(0x275)][_0x25d70f(0x25d)]:{_0x4079d0=_0x2a46f1[_0x25d70f(0x1a6)](_0x5601f7,_0x30a6bb);break;}case _0x2a46f1['EffectRefRangId'][_0x25d70f(0x183)]:{_0x4079d0=_0x2a46f1[_0x25d70f(0x19f)](_0x5601f7,_0x30a6bb);break;}}const _0x52f393=_0x2a46f1[_0x25d70f(0x15c)](_0x4079d0,_0x30a6bb),_0x4a4c07=this[_0x25d70f(0x22c)][_0x25d70f(0x2d9)](_0x4eaf6d);if(_0x4a4c07&&_0x52f393){const _0x136493={..._0x4a4c07,'range':_0x52f393};this[_0x25d70f(0x22c)][_0x25d70f(0x296)](_0x4eaf6d,_0x136493),_0x5c1a48(()=>{const _0xebb3f2=_0x25d70f,_0x56a657=this[_0xebb3f2(0xad)][_0xebb3f2(0x146)](_0x52f393,_0x149c61=>(_0x56a657[_0xebb3f2(0x204)](),_0xc83e7(_0x149c61,_0x4eaf6d,_0x330267,_0x52f393)));_0x4a60d2[_0xebb3f2(0x1ee)](_0x56a657);});}return{'redos':[],'undos':[]};};this[_0x201e24(0x22c)]['forEach']((_0x533aad,_0x16448d)=>{const _0x3936b0=_0x201e24,{range:_0x2591ed,sheetID:_0x1a5e4c}=_0x533aad,_0x2047be=this[_0x3936b0(0xad)][_0x3936b0(0x146)](_0x2591ed,_0x968ec8=>(_0x2047be['dispose'](),_0xc83e7(_0x968ec8,_0x16448d,_0x1a5e4c,_0x2591ed)));_0x4a60d2['add'](_0x2047be);});};this[_0x1c5470(0x16e)](_0x1ea30e[_0x1c5470(0x2a2)](this[_0x1c5470(0x258)][_0x1c5470(0xa2)](()=>{_0x194546();})));}[_0x20c03e(0x128)](){const _0x4cc68a=_0x20c03e;var _0x57d094,_0x2ddb3a;if(this[_0x4cc68a(0x2ba)]=!0x0,((_0x57d094=this[_0x4cc68a(0x212)][_0x4cc68a(0x1b3)]())==null?void 0x0:_0x57d094[_0x4cc68a(0x17a)]())!==this[_0x4cc68a(0x131)])return;const _0x52b3c3=(_0x2ddb3a=this['_injector'][_0x4cc68a(0x2d9)](_0x2a46f1[_0x4cc68a(0x16a)])[_0x4cc68a(0x17b)]())==null?void 0x0:_0x2ddb3a[0x0],_0x25791f=this['_univerInstanceService'][_0x4cc68a(0x165)](_0x1ea30e[_0x4cc68a(0x237)]['UNIVER_SHEET'])['getActiveSheet']();_0x52b3c3&&_0x25791f&&this['_updateLocalCursor'](_0x25791f[_0x4cc68a(0x1b6)](),_0x52b3c3);}[_0x20c03e(0x153)](){this['_online']=!0x1;}};_0x17ce4c=_0x2c8281([_0x324a5b(0x2,_0x1ea30e['Inject'](_0x1ea30e[_0x20c03e(0x259)])),_0x324a5b(0x3,_0x1ea30e[_0x20c03e(0x175)](_0x50e5b0)),_0x324a5b(0x4,_0x1ea30e['Inject'](_0x4de101[_0x20c03e(0x1f2)])),_0x324a5b(0x5,_0x1ea30e[_0x20c03e(0x11c)]),_0x324a5b(0x6,_0x1ea30e[_0x20c03e(0x180)]),_0x324a5b(0x7,_0x1ea30e['Inject'](_0x2a46f1[_0x20c03e(0x97)]))],_0x17ce4c);var _0x378e3f=Object[_0x20c03e(0x1ec)],_0x29edcc=(_0x317b14,_0x2551cf,_0x23235c,_0x4df98d)=>{const _0x405d0e=_0x20c03e;for(var _0x304764=_0x4df98d>0x1?void 0x0:_0x4df98d?_0x378e3f(_0x2551cf,_0x23235c):_0x2551cf,_0x3d9b3d=_0x317b14[_0x405d0e(0x265)]-0x1,_0x23306c;_0x3d9b3d>=0x0;_0x3d9b3d--)(_0x23306c=_0x317b14[_0x3d9b3d])&&(_0x304764=_0x23306c(_0x304764)||_0x304764);return _0x304764;},_0x1251ad=(_0x488f3f,_0x4ddeca)=>(_0x960875,_0xc18845)=>_0x4ddeca(_0x960875,_0xc18845,_0x488f3f);let _0xf10618=class extends _0x1ea30e[_0x20c03e(0x1cd)]{constructor(_0x454d30,_0x3985d7,_0x440ff9){const _0x585554=_0x20c03e;super(),_0x2bd54b(this,'_entities',new Map()),_0x2bd54b(this,_0x585554(0x188),new _0x2fa692[(_0x585554(0xca))]()),(this[_0x585554(0x212)]=_0x454d30,this[_0x585554(0x7a)]=_0x3985d7,this[_0x585554(0x1d6)]=_0x440ff9,this[_0x585554(0x18a)]());}['dispose'](){const _0x5a71bb=_0x20c03e;super[_0x5a71bb(0x204)](),this[_0x5a71bb(0x188)][_0x5a71bb(0x27c)](),this[_0x5a71bb(0x282)][_0x5a71bb(0x1ea)](_0x29e54f=>_0x29e54f['dispose']());}[_0x20c03e(0x1f0)](_0x156b48){const _0x31ae2d=_0x20c03e;return this[_0x31ae2d(0x282)][_0x31ae2d(0x21a)](_0x156b48)?this['_entities'][_0x31ae2d(0x2d9)](_0x156b48)[_0x31ae2d(0x232)]:this[_0x31ae2d(0x188)][_0x31ae2d(0x242)](_0x2fa692[_0x31ae2d(0x136)](_0x2a565c=>_0x2a565c[_0x31ae2d(0x131)]===_0x156b48),_0x2fa692[_0x31ae2d(0x132)](_0x5b5d9a=>_0x5b5d9a['cursorInfo$']));}[_0x20c03e(0x18a)](){const _0x3c329a=_0x20c03e;this['_univerInstanceService'][_0x3c329a(0x160)](_0x1ea30e[_0x3c329a(0x237)][_0x3c329a(0x115)])['pipe'](_0x2fa692[_0x3c329a(0x1e1)](this[_0x3c329a(0x98)]))[_0x3c329a(0xa2)](async _0x1a47b8=>{const _0x4d6953=_0x3c329a,_0x20624f=_0x1a47b8[_0x4d6953(0x17a)](),_0x25baa2=await this[_0x4d6953(0x2bf)](_0x20624f);this[_0x4d6953(0x188)][_0x4d6953(0x20a)](_0x25baa2),this[_0x4d6953(0x282)][_0x4d6953(0x296)](_0x20624f,_0x25baa2);}),this['_univerInstanceService'][_0x3c329a(0x160)](_0x1ea30e[_0x3c329a(0x237)][_0x3c329a(0xc9)])[_0x3c329a(0x242)](_0x2fa692[_0x3c329a(0x1e1)](this['dispose$']))[_0x3c329a(0x242)](_0x2fa692[_0x3c329a(0x136)](_0x4de418=>!_0x4de418['getUnitId']()[_0x3c329a(0x270)]('__')))[_0x3c329a(0xa2)](async _0x2dbc4d=>{const _0x20c7fb=_0x3c329a,_0x5027a4=_0x2dbc4d[_0x20c7fb(0x17a)](),_0x56ff97=await this[_0x20c7fb(0x230)](_0x5027a4);this[_0x20c7fb(0x188)][_0x20c7fb(0x20a)](_0x56ff97),this[_0x20c7fb(0x282)][_0x20c7fb(0x296)](_0x5027a4,_0x56ff97);}),_0x2fa692[_0x3c329a(0x1dc)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x1ea30e[_0x3c329a(0x237)]['UNIVER_DOC']),this[_0x3c329a(0x212)][_0x3c329a(0x2fd)](_0x1ea30e[_0x3c329a(0x237)][_0x3c329a(0x115)]))['pipe'](_0x2fa692['takeUntil'](this['dispose$']))[_0x3c329a(0xa2)](_0x20b6bd=>{const _0x36f20a=_0x3c329a,_0x570110=_0x20b6bd['getUnitId'](),_0x31b1d0=this[_0x36f20a(0x282)][_0x36f20a(0x2d9)](_0x570110);_0x31b1d0&&(_0x31b1d0['dispose'](),this['_entities'][_0x36f20a(0xaa)](_0x570110));});}async[_0x20c03e(0x2bf)](_0x1ebdb4){const _0x3b97e4=_0x20c03e,_0x5e7b41=await this[_0x3b97e4(0x1d6)][_0x3b97e4(0x1f1)](_0x1ebdb4),_0x96895=this[_0x3b97e4(0x7a)][_0x3b97e4(0x1d0)](_0x17ce4c,_0x1ebdb4,_0x5e7b41);return _0x96895[_0x3b97e4(0x13e)](),_0x96895;}async[_0x20c03e(0x230)](_0x16990){const _0x5bc58d=_0x20c03e,_0x2a197c=await this[_0x5bc58d(0x1d6)][_0x5bc58d(0x1f1)](_0x16990),_0x442c3a=this['_injector'][_0x5bc58d(0x1d0)](_0xa5a314,_0x16990,_0x2a197c);return _0x442c3a[_0x5bc58d(0x13e)](),_0x442c3a;}};_0xf10618=_0x29edcc([_0x1251ad(0x0,_0x1ea30e[_0x20c03e(0x11c)]),_0x1251ad(0x1,_0x1ea30e['Inject'](_0x1ea30e[_0x20c03e(0x259)])),_0x1251ad(0x2,_0x1ea30e[_0x20c03e(0x175)](_0x4de101['CollaborationSessionService']))],_0xf10618);const _0xcca96=0x14,_0x4dc4f7=0xc8,_0x1b7f10=0x4,_0x229c5d=0x5;function _0x81cfb1(_0x2db7cd,_0x50a496){const _0x32e66e=_0x20c03e;let {radius:_0x238cc6,width:_0x65d853,height:_0x5c10df}=_0x50a496;_0x238cc6=_0x238cc6!=null?_0x238cc6:0x0,_0x65d853=_0x65d853!=null?_0x65d853:0x1e,_0x5c10df=_0x5c10df!=null?_0x5c10df:0x1e;let _0x14e2b7=0x0,_0x51cc9b=0x0,_0x579da6=0x0;_0x14e2b7=_0x51cc9b=_0x579da6=Math['min'](_0x238cc6,_0x65d853/0x2,_0x5c10df/0x2),_0x2db7cd['beginPath'](),_0x2db7cd[_0x32e66e(0x29b)](_0x14e2b7,0x0),_0x2db7cd[_0x32e66e(0x2e2)](_0x65d853-_0x51cc9b,0x0),_0x2db7cd['arc'](_0x65d853-_0x51cc9b,_0x51cc9b,_0x51cc9b,Math['PI']*0x3/0x2,0x0,!0x1),_0x2db7cd[_0x32e66e(0x2e2)](_0x65d853,_0x5c10df-_0x579da6),_0x2db7cd['arc'](_0x65d853-_0x579da6,_0x5c10df-_0x579da6,_0x579da6,0x0,Math['PI']/0x2,!0x1),_0x2db7cd[_0x32e66e(0x2e2)](0x0,_0x5c10df),_0x2db7cd['lineTo'](0x0,_0x14e2b7),_0x2db7cd[_0x32e66e(0xc1)](_0x14e2b7,_0x14e2b7,_0x14e2b7,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2db7cd[_0x32e66e(0xe6)](),_0x50a496[_0x32e66e(0x158)]&&(_0x2db7cd[_0x32e66e(0x217)](),_0x2db7cd[_0x32e66e(0x2f0)]=_0x50a496[_0x32e66e(0x158)],_0x50a496[_0x32e66e(0x257)]===_0x32e66e(0x166)?_0x2db7cd[_0x32e66e(0x158)](_0x32e66e(0x166)):_0x2db7cd[_0x32e66e(0x158)](),_0x2db7cd[_0x32e66e(0x19a)]());}class _0x497aaf extends _0x51bd[_0x20c03e(0x2ac)]{constructor(_0x3c755a,_0x1f462b){const _0x284d22=_0x20c03e;super(_0x3c755a,_0x1f462b),_0x2bd54b(this,_0x284d22(0x179)),_0x2bd54b(this,_0x284d22(0x123)),(this['color']=_0x1f462b==null?void 0x0:_0x1f462b[_0x284d22(0x179)],this['text']=_0x1f462b==null?void 0x0:_0x1f462b[_0x284d22(0x123)]);}static[_0x20c03e(0x15f)](_0x36a966,_0x4ca740){const _0x52c7e9=_0x20c03e,{text:_0x13cadc,color:_0x1326f9}=_0x4ca740;_0x36a966['save'](),_0x36a966[_0x52c7e9(0xd1)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x2fb610=_0x36a966[_0x52c7e9(0x2b4)](_0x13cadc)[_0x52c7e9(0xbe)],_0x46d96f=Math[_0x52c7e9(0x2b2)](_0x2fb610+0x2*_0x1b7f10,_0x4dc4f7);_0x81cfb1(_0x36a966,{'height':_0xcca96,'radius':0x4,'width':_0x46d96f,'fill':_0x1326f9}),_0x36a966[_0x52c7e9(0x2f0)]=_0x52c7e9(0x8b);const _0x46ebc3=_0x1b7f10,_0xeb8ae=_0xcca96-_0x229c5d,_0xbcbba8=_0x4dc4f7-0x2*_0x1b7f10;if(_0x2fb610>_0xbcbba8){let _0x2e45ce='',_0x2f8bdd=0x0;for(const _0xb42868 of _0x13cadc){const _0x41678e=_0x36a966[_0x52c7e9(0x2b4)](_0xb42868)[_0x52c7e9(0xbe)];if(_0x2f8bdd+_0x41678e<=_0xbcbba8-_0x36a966[_0x52c7e9(0x2b4)](_0x52c7e9(0x1f5))[_0x52c7e9(0xbe)])_0x2e45ce+=_0xb42868,_0x2f8bdd+=_0x41678e;else{_0x2e45ce+=_0x52c7e9(0x1f5);break;}}_0x36a966[_0x52c7e9(0x151)](_0x2e45ce,_0x46ebc3,_0xeb8ae);}else _0x36a966['fillText'](_0x13cadc,_0x46ebc3,_0xeb8ae);_0x36a966[_0x52c7e9(0x19a)]();}[_0x20c03e(0x1af)](_0x59448e){_0x497aaf['drawWith'](_0x59448e,this);}}const _0x21fbcb=_0x20c03e(0x2ff),_0x45281c=_0x20c03e(0x24a),_0x73d941=_0x20c03e(0x2ce),_0x15ac69=0x6,_0x2e3c30=1.5,_0x137aba=0x4,_0x23173b=1.5,_0x32233a=_0x20c03e(0x83);class _0x11768f{constructor(_0x47e2d0,_0x115913,_0x5cee3e,_0x3376ab){const _0x466cd8=_0x20c03e;_0x2bd54b(this,_0x466cd8(0x143),[]),_0x2bd54b(this,_0x466cd8(0xe5),null),_0x2bd54b(this,'_textBubble',null),_0x2bd54b(this,_0x466cd8(0x95),null),_0x2bd54b(this,_0x466cd8(0x127),null),_0x2bd54b(this,_0x466cd8(0xf3),null),(this['_cursor']=_0x47e2d0,this['_scene']=_0x115913,this[_0x466cd8(0x1b5)]=_0x5cee3e,this[_0x466cd8(0x77)]=_0x3376ab,this[_0x466cd8(0xc8)]());}set[_0x20c03e(0x26c)](_0x205035){const _0x306579=_0x20c03e;_0x205035?(this['_anchorDot']&&this[_0x306579(0x95)][_0x306579(0xbb)](),this[_0x306579(0x2a3)]&&this[_0x306579(0x2a3)][_0x306579(0x2e5)]()):(this['_anchorDot']&&this['_anchorDot'][_0x306579(0x2e5)](),this[_0x306579(0x2a3)]&&this['_textBubble'][_0x306579(0xbb)]());}[_0x20c03e(0x204)](){const _0x565054=_0x20c03e;for(const _0x23b140 of this[_0x565054(0x143)])_0x23b140[_0x565054(0x204)]();this[_0x565054(0x2a3)]&&this[_0x565054(0x2a3)]['dispose'](),this[_0x565054(0x95)]&&this['_anchorDot'][_0x565054(0x204)](),this['_anchor']&&this[_0x565054(0xe5)][_0x565054(0x204)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}['_render'](){const _0x45aa1f=_0x20c03e;var _0x3dc498;const {_docSkeleton:_0x2e379a,_document:_0x1ff3d4}=this,{color:_0x2a866e,name:_0x2b4889,ranges:_0x3c1a5d}=this[_0x45aa1f(0x17f)],_0x307574=_0x1ff3d4[_0x45aa1f(0x2da)](),{docsLeft:_0x51020b,docsTop:_0x34d9fb}=_0x307574,_0x175c78=new _0x3d290f[(_0x45aa1f(0x29f))](_0x307574,_0x2e379a);for(const {startOffset:_0x4ec394,endOffset:_0x1a06b1,rangeType:_0x56c0c3,segmentId:_0x367fbe,segmentPage:_0x2643d3,collapsed:_0x552af8,isActive:_0x3af4de}of _0x3c1a5d){const _0x57f8e5=_0x2e379a[_0x45aa1f(0x2c7)](_0x4ec394,!0x0,_0x367fbe,_0x2643d3);let _0x379562=_0x2e379a['findNodePositionByCharIndex'](_0x1a06b1,!0x0,_0x367fbe,_0x2643d3);if(_0x379562==null&&(_0x379562=_0x2e379a[_0x45aa1f(0x2c7)](_0x1a06b1-0x1,!0x1,_0x367fbe,_0x2643d3)),_0x3af4de){const {contentBoxPointGroup:_0x458e59}=_0x175c78[_0x45aa1f(0x201)](_0x379562,_0x379562);if(_0x458e59['length']===0x0)continue;this['_drawAnchor'](_0x2a866e,_0x458e59,_0x51020b,_0x34d9fb,_0x2b4889),this[_0x45aa1f(0xf3)]=this[_0x45aa1f(0x104)]();}if(_0x57f8e5&&_0x379562){if(_0x56c0c3===_0x1ea30e[_0x45aa1f(0x140)][_0x45aa1f(0x169)]){const _0x5d511e=new _0x3d290f[(_0x45aa1f(0x13f))](_0x307574,_0x2e379a),{pointGroup:_0x5d5a82}=(_0x3dc498=_0x5d511e[_0x45aa1f(0x201)](_0x57f8e5,_0x379562))!=null?_0x3dc498:{};if(_0x5d5a82==null||_0x5d5a82['length']===0x0)continue;this['_drawRectRange'](_0x2a866e,_0x5d5a82,_0x51020b,_0x34d9fb);}else{if(!_0x552af8){const {borderBoxPointGroup:_0xa9f852}=_0x175c78[_0x45aa1f(0x201)](_0x57f8e5,_0x379562);if(_0xa9f852[_0x45aa1f(0x265)]===0x0)continue;this[_0x45aa1f(0x2f3)](_0x2a866e,_0xa9f852,_0x51020b,_0x34d9fb);}}}}}[_0x20c03e(0x255)](_0x3cbb27,_0x24132a,_0x27af73,_0x493305,_0x5eb0de){const _0xa3c2da=_0x20c03e,_0x46a1ad=this['_getAnchorBounding'](_0x24132a),{left:_0x2e0c8c,top:_0x8fe905,height:_0x280290}=_0x46a1ad,_0x4eea48=this[_0xa3c2da(0x99)](),_0x13777c=_0x23173b/_0x4eea48,_0x2da1f9=new _0x51bd['Rect'](_0x21fbcb+_0x1ea30e[_0xa3c2da(0x206)][_0xa3c2da(0xcd)](_0x15ac69),{'left':_0x2e0c8c+_0x27af73-_0x13777c,'top':_0x8fe905+_0x493305,'height':_0x280290,'width':_0x2e3c30,'fill':_0x3cbb27||_0x51bd[_0xa3c2da(0xf2)](_0x1ea30e[_0xa3c2da(0x249)][_0xa3c2da(0x24f)],0x0),'strokeWidth':_0x13777c,'stroke':_0x32233a,'evented':!0x0});this['_anchor']=_0x2da1f9,this[_0xa3c2da(0x24d)][_0xa3c2da(0x139)](_0x2da1f9,_0x3d290f[_0xa3c2da(0xe3)]);const _0x2ab874=new _0x51bd['Rect'](_0x21fbcb+_0x1ea30e[_0xa3c2da(0x206)][_0xa3c2da(0xcd)](_0x15ac69),{'left':_0x2e0c8c+_0x27af73-_0x13777c,'top':_0x8fe905+_0x493305-_0x137aba/0x2,'height':_0x137aba,'width':_0x137aba,'fill':_0x3cbb27||_0x51bd['getColor'](_0x1ea30e[_0xa3c2da(0x249)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x3cbb27||_0x51bd[_0xa3c2da(0xf2)](_0x1ea30e[_0xa3c2da(0x249)][_0xa3c2da(0x24f)],0x0),'evented':!0x1});this[_0xa3c2da(0x95)]=_0x2ab874,this[_0xa3c2da(0x24d)][_0xa3c2da(0x139)](_0x2ab874,_0x3d290f[_0xa3c2da(0xe3)]);const _0xa5bbee=new _0x497aaf(_0x21fbcb+_0x1ea30e[_0xa3c2da(0x206)][_0xa3c2da(0xcd)](_0x15ac69),{'left':_0x2e0c8c+_0x27af73-_0x13777c,'top':_0x8fe905+_0x493305-_0xcca96,'text':_0x5eb0de,'color':_0x3cbb27});this['_textBubble']=_0xa5bbee,this[_0xa3c2da(0x24d)][_0xa3c2da(0x139)](_0xa5bbee,_0x3d290f[_0xa3c2da(0xe3)]),this[_0xa3c2da(0x26c)]=!0x1;}['_handleHover'](){const _0x264dec=_0x20c03e,_0x45da0f=this[_0x264dec(0xe5)][_0x264dec(0x2e0)][_0x264dec(0x28a)](()=>{this['_hover']=!0x0;}),_0x19481c=this[_0x264dec(0xe5)]['onPointerLeave$'][_0x264dec(0x28a)](()=>{const _0x54702b=_0x264dec;this[_0x54702b(0x127)]&&clearTimeout(this[_0x54702b(0x127)]),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x3e8cef=_0x264dec;_0x45da0f[_0x3e8cef(0x1c7)](),_0x19481c[_0x3e8cef(0x1c7)]();};}[_0x20c03e(0x2f3)](_0x5ddd14,_0x348932,_0x3d416f,_0xd3099a){const _0x4c81d2=_0x20c03e,_0x3bfba1=new _0x1ea30e[(_0x4c81d2(0x23b))](_0x5ddd14)['setAlpha'](0.2)['toRgbString'](),_0x210717=new _0x51bd[(_0x4c81d2(0x205))](_0x45281c+_0x1ea30e['Tools'][_0x4c81d2(0xcd)](_0x15ac69),{'pointsGroup':_0x348932,'fill':_0x3bfba1||_0x51bd[_0x4c81d2(0xf2)](_0x1ea30e['COLORS'][_0x4c81d2(0x24f)],0.2),'left':_0x3d416f,'top':_0xd3099a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4c81d2(0x143)]['push'](_0x210717),this[_0x4c81d2(0x24d)][_0x4c81d2(0x139)](_0x210717,_0x3d290f[_0x4c81d2(0xe3)]);}[_0x20c03e(0x176)](_0x438d91,_0x580bf3,_0x172c66,_0x4bb8db){const _0x290d33=_0x20c03e,_0x10353e=new _0x1ea30e['ColorKit'](_0x438d91)[_0x290d33(0x2f1)](0.2)[_0x290d33(0x189)](),_0x4e9ba8=new _0x51bd[(_0x290d33(0x205))](_0x73d941+_0x1ea30e['Tools'][_0x290d33(0xcd)](_0x15ac69),{'pointsGroup':_0x580bf3,'fill':_0x10353e||_0x51bd['getColor'](_0x1ea30e['COLORS'][_0x290d33(0x24f)],0.2),'left':_0x172c66,'top':_0x4bb8db,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x290d33(0x2be)](_0x4e9ba8),this['_scene']['addObject'](_0x4e9ba8,_0x3d290f[_0x290d33(0xe3)]);}[_0x20c03e(0x299)](_0x548cb5){const _0xae56a6=_0x548cb5[0x0],_0xb6b5e9=_0xae56a6[0x0],_0x34164c=_0xae56a6[0x2],{x:_0x88dc3b,y:_0x2ec7e7}=_0xb6b5e9,{x:_0x20dfd0,y:_0x426dfa}=_0x34164c;return{'left':_0x88dc3b,'top':_0x2ec7e7,'width':_0x20dfd0-_0x88dc3b,'height':_0x426dfa-_0x2ec7e7};}['_getScale'](){const _0x517f5=_0x20c03e,{scaleX:_0x32cfeb,scaleY:_0x4cf9dc}=this[_0x517f5(0x24d)][_0x517f5(0xae)]();return Math[_0x517f5(0x28e)](_0x32cfeb,_0x4cf9dc);}}var _0x4a530c=Object[_0x20c03e(0x1ec)],_0xeb084e=(_0x73f26c,_0x1c04bf,_0x282f13,_0x489707)=>{const _0x46847c=_0x20c03e;for(var _0x311273=_0x489707>0x1?void 0x0:_0x489707?_0x4a530c(_0x1c04bf,_0x282f13):_0x1c04bf,_0xb6a465=_0x73f26c[_0x46847c(0x265)]-0x1,_0x172d11;_0xb6a465>=0x0;_0xb6a465--)(_0x172d11=_0x73f26c[_0xb6a465])&&(_0x311273=_0x172d11(_0x311273)||_0x311273);return _0x311273;},_0x4f14cf=(_0x332e2f,_0x10a7a7)=>(_0x273933,_0x3842b8)=>_0x10a7a7(_0x273933,_0x3842b8,_0x332e2f);let _0x3a6721=class extends _0x1ea30e[_0x20c03e(0x1cd)]{constructor(_0x36f36e,_0x551b99,_0x560f9f,_0x2f7380,_0x39e321){const _0x390c1d=_0x20c03e;super(),_0x2bd54b(this,'_cursorShapes',[]),_0x2bd54b(this,_0x390c1d(0xf1),[]),(this[_0x390c1d(0x102)]=_0x36f36e,this['_docSkeletonManagerService']=_0x551b99,this[_0x390c1d(0x288)]=_0x560f9f,this['_commandService']=_0x2f7380,this[_0x390c1d(0x116)]=_0x39e321,this[_0x390c1d(0x18a)]());}[_0x20c03e(0x18a)](){const _0x18d135=_0x20c03e,_0x54dda6=this[_0x18d135(0x102)][_0x18d135(0x1d9)],_0x3df902=this[_0x18d135(0x14f)];this[_0x18d135(0x16e)](_0x2fa692['combineLatest']([this[_0x18d135(0x288)][_0x18d135(0x1f0)](_0x54dda6),this[_0x18d135(0x116)][_0x18d135(0x149)]])['pipe'](_0x54b237[_0x18d135(0x2e6)](([_0x2ff53f,_0x4ff341])=>({'skeleton':_0x3df902[_0x18d135(0x121)](),'cursors':[..._0x2ff53f[_0x18d135(0x254)]()][_0x18d135(0x200)](_0x203069=>({..._0x203069,'color':this[_0x18d135(0x116)][_0x18d135(0x198)](_0x203069[_0x18d135(0x179)])}))})))[_0x18d135(0xa2)](_0x461b48=>{const _0x202442=_0x18d135;if(this['_removeCollabCursors'](),_0x461b48){const {skeleton:_0x3b2913,cursors:_0x3e3f0d}=_0x461b48;this[_0x202442(0x268)](_0x3b2913,_0x3e3f0d);}})),this[_0x18d135(0x164)](),this['_initCommandExecutedListener']();}[_0x20c03e(0x268)](_0x4594bd,_0x485eac){const _0x1a2833=_0x20c03e,{scene:_0x7e4b28,mainComponent:_0x5d749d}=this['_context'],_0xd921ef=_0x485eac['map'](_0xc32dd=>new _0x11768f(_0xc32dd,_0x7e4b28,_0x4594bd,_0x5d749d));this['_cursorShapes']=_0xd921ef,this[_0x1a2833(0xf1)]=_0x485eac;}[_0x20c03e(0x298)](){const _0x2b361b=_0x20c03e;this[_0x2b361b(0x8d)]();const {scene:_0x200ce8,mainComponent:_0x480b66}=this['_context'],_0x8d2c80=this[_0x2b361b(0x14f)][_0x2b361b(0x121)](),_0x2ac1c5=this[_0x2b361b(0xf1)]['map'](_0x468d14=>new _0x11768f(_0x468d14,_0x200ce8,_0x8d2c80,_0x480b66));this[_0x2b361b(0x21e)]=_0x2ac1c5;}['_removeCollabCursors'](){const _0x1248d6=_0x20c03e;this['_cursorShapes'][_0x1248d6(0x1ea)](_0x71bc8a=>_0x71bc8a[_0x1248d6(0x204)]()),this[_0x1248d6(0x21e)]=[];}[_0x20c03e(0x227)](){const _0x1811a5=_0x20c03e,_0x41b942=[_0x3d290f[_0x1811a5(0x1a4)]['id']];this[_0x1811a5(0x16e)](this[_0x1811a5(0xe8)][_0x1811a5(0xfb)](_0x2ea9d0=>{const _0x2714f8=_0x1811a5;_0x41b942[_0x2714f8(0x2ca)](_0x2ea9d0['id'])&&_0x2ea9d0[_0x2714f8(0x231)][_0x2714f8(0x1d9)]===this[_0x2714f8(0x102)]['unitId']&&this[_0x2714f8(0x298)]();}));}['_initResize'](){const _0x3e4e33=_0x20c03e;this[_0x3e4e33(0x16e)](_0x1ea30e['fromEventSubject'](this[_0x3e4e33(0x102)][_0x3e4e33(0xbd)]['onTransformChange$'])['pipe'](_0x54b237['filter'](_0x585854=>_0x585854['type']===_0x51bd[_0x3e4e33(0x184)][_0x3e4e33(0x147)]),_0x54b237[_0x3e4e33(0x172)](0x10))['subscribe'](()=>{const _0x202576=_0x3e4e33;this[_0x202576(0x298)]();}));}};_0x3a6721=_0xeb084e([_0x4f14cf(0x1,_0x1ea30e[_0x20c03e(0x175)](_0x50f4df['DocSkeletonManagerService'])),_0x4f14cf(0x2,_0x1ea30e[_0x20c03e(0x175)](_0xf10618)),_0x4f14cf(0x3,_0x1ea30e[_0x20c03e(0x180)]),_0x4f14cf(0x4,_0x1ea30e[_0x20c03e(0x175)](_0x1ea30e['ThemeService']))],_0x3a6721);const _0x4c6416=0x1,_0x1cdcfe=1.5;class _0x27a2e9 extends _0x51bd[_0x20c03e(0x2ac)]{constructor(_0x3c392c,_0x877555){const _0x1a6f31=_0x20c03e;super(_0x3c392c,_0x877555),_0x2bd54b(this,'_color'),_0x2bd54b(this,_0x1a6f31(0xdb),!0x1),_0x2bd54b(this,_0x1a6f31(0x2fa)),_0x2bd54b(this,'_name',''),_0x2bd54b(this,_0x1a6f31(0x2c5),_0x1a6f31(0x17e)),_0x2bd54b(this,'_backgroundColor'),(_0x877555&&this['setShapeProps'](_0x877555),this[_0x1a6f31(0x2e0)][_0x1a6f31(0x28a)](()=>this[_0x1a6f31(0x101)]({'hovered':!0x0})),this[_0x1a6f31(0x74)][_0x1a6f31(0x28a)](()=>this[_0x1a6f31(0x101)]({'hovered':!0x1})));}[_0x20c03e(0x101)](_0x522585){const _0x44fe4c=_0x20c03e;var _0x12db53,_0x502d32,_0x18e73b,_0x5831f8,_0x235f65,_0x11090f;this['_color']=(_0x12db53=_0x522585[_0x44fe4c(0x179)])!=null?_0x12db53:this[_0x44fe4c(0x228)],this[_0x44fe4c(0xdb)]=(_0x502d32=_0x522585['hovered'])!=null?_0x502d32:this[_0x44fe4c(0xdb)],this[_0x44fe4c(0x2fa)]=(_0x18e73b=_0x522585[_0x44fe4c(0x1e3)])!=null?_0x18e73b:this['_range'],this[_0x44fe4c(0x100)]=(_0x5831f8=_0x522585[_0x44fe4c(0x1c6)])!=null?_0x5831f8:this[_0x44fe4c(0x100)],this[_0x44fe4c(0x2c5)]=(_0x235f65=_0x522585[_0x44fe4c(0x1eb)])!=null?_0x235f65:this[_0x44fe4c(0x2c5)],this[_0x44fe4c(0x267)]=(_0x11090f=_0x522585[_0x44fe4c(0x271)])!=null?_0x11090f:this[_0x44fe4c(0x267)],this[_0x44fe4c(0x174)]({'width':_0x522585[_0x44fe4c(0xbe)],'height':_0x522585[_0x44fe4c(0x2ae)]});}[_0x20c03e(0x1bb)](_0x576091){const _0x1e79a2=_0x20c03e,{row:_0x1e0516,column:_0x451bdf}=_0x576091;if(_0x1e0516>=this[_0x1e79a2(0x2fa)][_0x1e79a2(0xf4)]&&_0x1e0516<=this[_0x1e79a2(0x2fa)][_0x1e79a2(0x75)]&&_0x451bdf>=this['_range']['startColumn']&&_0x451bdf<=this[_0x1e79a2(0x2fa)][_0x1e79a2(0x12c)]){this[_0x1e79a2(0x101)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x4730d1){return!0x1;}[_0x20c03e(0x1af)](_0x5a03c2){const _0x153058=_0x20c03e;_0x51bd[_0x153058(0x2b3)][_0x153058(0x15f)](_0x5a03c2,{'width':this['width'],'height':this[_0x153058(0x2ae)],'strokeWidth':_0x1cdcfe,'stroke':this[_0x153058(0x228)],'evented':!0x1,'fill':this[_0x153058(0x267)]}),this['_hovered']&&(_0x5a03c2[_0x153058(0x217)](),_0x5a03c2[_0x153058(0x2c4)](0x1,0x0,0x0,0x1,this[_0x153058(0xbe)],this[_0x153058(0x2c5)]==='bottom'?0x0:-0x14),_0x497aaf[_0x153058(0x15f)](_0x5a03c2,{'text':this['_name'],'color':this[_0x153058(0x228)]}),_0x5a03c2['restore']());}}var _0x32c6cb=Object[_0x20c03e(0x1ec)],_0x3514b4=(_0x2c4276,_0x184025,_0x344741,_0x2a6f1d)=>{const _0x4e224e=_0x20c03e;for(var _0x117fc8=_0x2a6f1d>0x1?void 0x0:_0x2a6f1d?_0x32c6cb(_0x184025,_0x344741):_0x184025,_0xb2c761=_0x2c4276[_0x4e224e(0x265)]-0x1,_0x4d6ea4;_0xb2c761>=0x0;_0xb2c761--)(_0x4d6ea4=_0x2c4276[_0xb2c761])&&(_0x117fc8=_0x4d6ea4(_0x117fc8)||_0x117fc8);return _0x117fc8;},_0x383516=(_0x33e971,_0x123454)=>(_0x4c7619,_0x48e14b)=>_0x123454(_0x4c7619,_0x48e14b,_0x33e971);const _0x8a8b78=0x1389;let _0x203172=class extends _0x1ea30e[_0x20c03e(0x1cd)]{constructor(_0x4bd3e4,_0x306888,_0x20b9da,_0x47380d){const _0x29277d=_0x20c03e;super(),_0x2bd54b(this,_0x29277d(0xf1),new Set()),_0x2bd54b(this,_0x29277d(0x8f),null),(this[_0x29277d(0x102)]=_0x4bd3e4,this[_0x29277d(0x29e)]=_0x306888,this[_0x29277d(0x288)]=_0x20b9da,this[_0x29277d(0x116)]=_0x47380d,this[_0x29277d(0x18a)]());}[_0x20c03e(0x18a)](){const _0x44b594=_0x20c03e;this['_sheetSkeletonManagerService'][_0x44b594(0x8c)]['pipe'](_0x54b237[_0x44b594(0x1e1)](this[_0x44b594(0x98)]),_0x54b237[_0x44b594(0x132)](_0x48efe3=>{const _0x4fba6d=_0x44b594;if(_0x48efe3){const _0x86d24=_0x48efe3[_0x4fba6d(0x11a)];return _0x2fa692['combineLatest'](this[_0x4fba6d(0x288)][_0x4fba6d(0x1f0)](this[_0x4fba6d(0x102)]['unitId']),this[_0x4fba6d(0x116)][_0x4fba6d(0x149)])['pipe'](_0x54b237['map'](([_0x496d6e,_0xa8c86c])=>{const _0x1f8a97=new Map();return _0x496d6e['forEach']((_0x3c9732,_0x5e06f5)=>{const _0xf68f1=_0x4ca4;if(_0x3c9732['sheetID']===_0x86d24){const _0x331e6f={..._0x3c9732};_0x331e6f[_0xf68f1(0x179)]=this[_0xf68f1(0x116)]['getColorFromTheme'](_0x3c9732['color']),_0x1f8a97[_0xf68f1(0x296)](_0x5e06f5,_0x331e6f);}}),{'skeleton':_0x48efe3,'cursors':_0x1f8a97};}));}return _0x2fa692['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x2b531f,cursors:_0x4fb165})=>{const _0x11d9b6=_0x44b594;this[_0x11d9b6(0x8d)](),_0x2b531f&&this[_0x11d9b6(0x268)](_0x2b531f,_0x4fb165);}),this[_0x44b594(0x29e)][_0x44b594(0x8c)][_0x44b594(0xa2)](_0x1c45af=>{const _0x3bdc3d=_0x44b594;if(_0x1c45af==null)return;const {skeleton:_0x1098d5}=_0x1c45af,{scene:_0xc73e30}=this['_context'];_0xc73e30[_0x3bdc3d(0xa0)][_0x3bdc3d(0x28a)](_0x1ea30e[_0x3bdc3d(0x1d8)](_0x1e3a4b=>{const _0x5cfbf6=_0x3bdc3d;var _0xfaff9f,_0x1a101f;const {offsetX:_0x2f1c6e,offsetY:_0x45f0e8}=_0x1e3a4b,{x:_0x2284ab,y:_0xf1306f}=_0xc73e30['getRelativeToViewportCoord'](_0x51bd[_0x5cfbf6(0x78)][_0x5cfbf6(0x2ab)]([_0x2f1c6e,_0x45f0e8])),{scaleX:_0x7a94e6,scaleY:_0x5bd9a9}=_0xc73e30['getAncestorScale'](),_0x492791=_0xc73e30['getViewport'](_0x51bd['SHEET_VIEWPORT_KEY'][_0x5cfbf6(0x15b)]),_0x4836ca=_0xc73e30[_0x5cfbf6(0x2b1)](_0x51bd[_0x5cfbf6(0x78)][_0x5cfbf6(0x2ab)]([_0x2284ab,_0xf1306f]),_0x492791),_0x226948=_0x1098d5[_0x5cfbf6(0x18d)](_0x2f1c6e,_0x45f0e8,_0x7a94e6,_0x5bd9a9,_0x4836ca);((_0xfaff9f=this[_0x5cfbf6(0x8f)])==null?void 0x0:_0xfaff9f[_0x5cfbf6(0x1ca)])===_0x226948[_0x5cfbf6(0x1ca)]&&((_0x1a101f=this[_0x5cfbf6(0x8f)])==null?void 0x0:_0x1a101f[_0x5cfbf6(0x210)])===_0x226948['row']||this[_0x5cfbf6(0xf1)]['forEach'](_0xe4aa21=>{_0xe4aa21['onMouseMove'](_0x226948);});},0x64));});}[_0x20c03e(0x268)](_0x122f7d,_0x7b85bf){const _0x26b46c=_0x20c03e;var _0x168f7b;const _0x59c069=(_0x168f7b=this['_sheetSkeletonManagerService'][_0x26b46c(0xed)]())==null?void 0x0:_0x168f7b[_0x26b46c(0x24e)];if(!_0x59c069)return;const _0x57ab06=this[_0x26b46c(0x120)]();if(!_0x57ab06)return;this[_0x26b46c(0xf1)][_0x26b46c(0x1ea)](_0x965e45=>{const _0x2e318c=_0x26b46c;_0x965e45[_0x2e318c(0x283)]();});const {scene:_0xd093aa}=_0x57ab06,_0x414297=_0x5daa3b(Array[_0x26b46c(0x1f9)](_0x7b85bf[_0x26b46c(0x254)]()))['map'](_0x12b1f9=>{const _0x2622b0=_0x26b46c,{color:_0x2503e7,range:_0x23461c,name:_0x5b9e7a,selection:_0x42f348,sheetID:_0x69e686}=_0x12b1f9,{startColumn:_0x1d2256,startRow:_0x1997cc,endColumn:_0x1e1e43,endRow:_0x19a677}=_0x23461c,_0x32f860=_0x295ed8['getCoordByCell'](_0x1997cc,_0x1d2256,_0xd093aa,_0x59c069),_0x47378b=_0x295ed8[_0x2622b0(0x29a)](_0x19a677,_0x1e1e43,_0xd093aa,_0x59c069),{columnHeaderHeightAndMarginTop:_0x14c809}=_0x59c069,{startX:_0x1a30f3,startY:_0x5ab828}=_0x32f860,{endX:_0x1705b1,endY:_0x498a82}=_0x47378b,_0x5f1e6f=_0x1705b1-_0x1a30f3,_0x3b718c=_0x498a82-_0x5ab828,_0x583029={'labelPosition':_0x5ab828-_0x14c809>=_0xcca96?_0x2622b0(0x17e):_0x2622b0(0x1c2),'sheetID':_0x69e686,'range':_0x23461c,'color':_0x2503e7,'name':_0x5b9e7a,'selection':_0x42f348,'left':_0x1a30f3,'top':_0x5ab828,'width':_0x5f1e6f,'height':_0x3b718c,'evented':!0x1,'zIndex':_0x8a8b78};return new _0x27a2e9(_0x5b9e7a,_0x583029);});_0xd093aa[_0x26b46c(0x280)](_0x414297,_0x4c6416),this[_0x26b46c(0xf1)]=new Set(_0x414297);}['_removeCollabCursors'](){const _0x1037f5=_0x20c03e;var _0x30f04c;(_0x30f04c=this[_0x1037f5(0xf1)])==null||_0x30f04c[_0x1037f5(0x1ea)](_0x28bb57=>_0x28bb57[_0x1037f5(0x204)]());}[_0x20c03e(0x120)](){const _0x2c591e=_0x20c03e;return _0x295ed8[_0x2c591e(0x18f)](this[_0x2c591e(0x102)][_0x2c591e(0x1a9)],this['_context']);}};_0x203172=_0x3514b4([_0x383516(0x1,_0x1ea30e[_0x20c03e(0x175)](_0x295ed8[_0x20c03e(0x1e4)])),_0x383516(0x2,_0x1ea30e['Inject'](_0xf10618)),_0x383516(0x3,_0x1ea30e[_0x20c03e(0x175)](_0x1ea30e['ThemeService']))],_0x203172);function _0x5daa3b(_0x35d052){const _0x37bba3=_0x20c03e,_0xe18408=new Map();return _0x35d052[_0x37bba3(0x1ea)](_0x5d9cb1=>{const _0x25e7c7=_0x37bba3;if(_0xe18408[_0x25e7c7(0x21a)](_0x5d9cb1[_0x25e7c7(0x30a)])){const _0x1fea1f=_0xe18408[_0x25e7c7(0x2d9)](_0x5d9cb1['selection']);_0x1fea1f[_0x25e7c7(0x1c6)]+=',\x20'+_0x5d9cb1[_0x25e7c7(0x1c6)];}else _0xe18408[_0x25e7c7(0x296)](_0x5d9cb1[_0x25e7c7(0x30a)],_0x5d9cb1);}),Array[_0x37bba3(0x1f9)](_0xe18408[_0x37bba3(0x254)]());}var _0x23354d=function(){const _0x353979=_0x20c03e;return _0x23354d=Object[_0x353979(0x281)]||function(_0x302738){const _0x462e6d=_0x353979;for(var _0x4c1430,_0x2d31b1=0x1,_0x49dcbe=arguments[_0x462e6d(0x265)];_0x2d31b1<_0x49dcbe;_0x2d31b1++){_0x4c1430=arguments[_0x2d31b1];for(var _0x1e38ea in _0x4c1430)Object['prototype'][_0x462e6d(0x28b)][_0x462e6d(0x1da)](_0x4c1430,_0x1e38ea)&&(_0x302738[_0x1e38ea]=_0x4c1430[_0x1e38ea]);}return _0x302738;},_0x23354d[_0x353979(0x154)](this,arguments);},_0x148798=function(_0x33d1d2,_0x49e502){const _0x3a9876=_0x20c03e;var _0x757a2a={};for(var _0x2c3372 in _0x33d1d2)Object['prototype'][_0x3a9876(0x28b)][_0x3a9876(0x1da)](_0x33d1d2,_0x2c3372)&&_0x49e502['indexOf'](_0x2c3372)<0x0&&(_0x757a2a[_0x2c3372]=_0x33d1d2[_0x2c3372]);if(_0x33d1d2!=null&&typeof Object['getOwnPropertySymbols']==_0x3a9876(0x309)){for(var _0x277739=0x0,_0x2c3372=Object[_0x3a9876(0x272)](_0x33d1d2);_0x277739<_0x2c3372[_0x3a9876(0x265)];_0x277739++)_0x49e502[_0x3a9876(0x2e3)](_0x2c3372[_0x277739])<0x0&&Object[_0x3a9876(0x82)][_0x3a9876(0x112)][_0x3a9876(0x1da)](_0x33d1d2,_0x2c3372[_0x277739])&&(_0x757a2a[_0x2c3372[_0x277739]]=_0x33d1d2[_0x2c3372[_0x277739]]);}return _0x757a2a;},_0x3cf2e7=_0x24e835['forwardRef'](function(_0x21eb64,_0x25dd6b){const _0x810fc=_0x20c03e;var _0x47a838=_0x21eb64[_0x810fc(0x7c)],_0x233060=_0x21eb64['id'],_0x5ebe26=_0x21eb64[_0x810fc(0x161)],_0x3ed1dd=_0x21eb64['extend'],_0x1858d1=_0x148798(_0x21eb64,[_0x810fc(0x7c),'id',_0x810fc(0x161),'extend']),_0x4e4914=_0x810fc(0x252)[_0x810fc(0x21d)](_0x233060,'\x20')['concat'](_0x5ebe26||'')['trim'](),_0x9194eb=_0x24e835['useRef']('_'[_0x810fc(0x21d)](_0x3b3b22()));return _0x2f999e(_0x47a838,''[_0x810fc(0x21d)](_0x233060),{'defIds':_0x47a838[_0x810fc(0x10a)],'idSuffix':_0x9194eb['current']},_0x23354d({'ref':_0x25dd6b,'className':_0x4e4914},_0x1858d1),_0x3ed1dd);});function _0x2f999e(_0x2a88c9,_0x271404,_0x193f29,_0x491cad,_0x148d07){const _0x2cc590=_0x20c03e;return _0x24e835['createElement'](_0x2a88c9[_0x2cc590(0x220)],_0x23354d(_0x23354d({'key':_0x271404},_0xef1df(_0x2a88c9,_0x193f29,_0x148d07)),_0x491cad),(_0x1b0b7(_0x2a88c9,_0x193f29)[_0x2cc590(0x1b9)]||[])[_0x2cc590(0x2e6)](function(_0x59b2ce,_0x3f871c){const _0x2bbe06=_0x2cc590;return _0x2f999e(_0x59b2ce,''[_0x2bbe06(0x21d)](_0x271404,'-')[_0x2bbe06(0x21d)](_0x2a88c9['tag'],'-')['concat'](_0x3f871c),_0x193f29,void 0x0,_0x148d07);}));}function _0xef1df(_0x36e5c7,_0x59f5c2,_0xf2311d){const _0x3510fd=_0x20c03e;var _0x35a795=_0x23354d({},_0x36e5c7[_0x3510fd(0x1e5)]);_0xf2311d!=null&&_0xf2311d[_0x3510fd(0xcc)]&&_0x35a795[_0x3510fd(0x158)]==='colorChannel1'&&(_0x35a795['fill']=_0xf2311d[_0x3510fd(0xcc)]),_0x36e5c7[_0x3510fd(0x220)]==='mask'&&_0x35a795['id']&&(_0x35a795['id']=_0x35a795['id']+_0x59f5c2['idSuffix']),Object['entries'](_0x35a795)['forEach'](function(_0x1e76b2){const _0xe25441=_0x3510fd;var _0x48460a=_0x1e76b2[0x0],_0x2d847e=_0x1e76b2[0x1];_0x48460a===_0xe25441(0x2d6)&&typeof _0x2d847e=='string'&&(_0x35a795[_0x48460a]=_0x2d847e[_0xe25441(0x223)](/url\(#(.*)\)/,'url(#$1'[_0xe25441(0x21d)](_0x59f5c2[_0xe25441(0x86)],')')));});var _0x76453c=_0x59f5c2['defIds'];return!_0x76453c||_0x76453c[_0x3510fd(0x265)]===0x0||(_0x36e5c7[_0x3510fd(0x220)]===_0x3510fd(0x1ba)&&_0x35a795[_0x3510fd(0x17d)]&&(_0x35a795[_0x3510fd(0x17d)]=_0x35a795[_0x3510fd(0x17d)]+_0x59f5c2[_0x3510fd(0x86)]),Object['entries'](_0x35a795)[_0x3510fd(0x1ea)](function(_0x294e96){const _0x54c9bc=_0x3510fd;var _0x23fb21=_0x294e96[0x0],_0x40f0ed=_0x294e96[0x1];typeof _0x40f0ed==_0x54c9bc(0x1ad)&&(_0x35a795[_0x23fb21]=_0x40f0ed[_0x54c9bc(0x223)](/url\(#(.*)\)/,'url(#$1'[_0x54c9bc(0x21d)](_0x59f5c2[_0x54c9bc(0x86)],')')));})),_0x35a795;}function _0x1b0b7(_0x15fc16,_0xa9f1cb){const _0x339c4a=_0x20c03e;var _0x3ca803,_0x2f7c48=_0xa9f1cb[_0x339c4a(0x10a)];return!_0x2f7c48||_0x2f7c48['length']===0x0?_0x15fc16:_0x15fc16[_0x339c4a(0x220)]===_0x339c4a(0x2cc)&&(!((_0x3ca803=_0x15fc16[_0x339c4a(0x1b9)])===null||_0x3ca803===void 0x0)&&_0x3ca803[_0x339c4a(0x265)])?_0x23354d(_0x23354d({},_0x15fc16),{'children':_0x15fc16[_0x339c4a(0x1b9)][_0x339c4a(0x2e6)](function(_0x266292){const _0x4e9dd0=_0x339c4a;return typeof _0x266292[_0x4e9dd0(0x1e5)]['id']==_0x4e9dd0(0x1ad)&&_0x2f7c48&&_0x2f7c48[_0x4e9dd0(0x2e3)](_0x266292['attrs']['id'])>-0x1?_0x23354d(_0x23354d({},_0x266292),{'attrs':_0x23354d(_0x23354d({},_0x266292[_0x4e9dd0(0x1e5)]),{'id':_0x266292['attrs']['id']+_0xa9f1cb[_0x4e9dd0(0x86)]})}):_0x266292;})}):_0x15fc16;}function _0x3b3b22(){const _0x3e5ce2=_0x20c03e;return Math[_0x3e5ce2(0x1dd)]()[_0x3e5ce2(0x196)](0x24)[_0x3e5ce2(0x141)](0x2,0x8);}_0x3cf2e7[_0x20c03e(0xcf)]=_0x20c03e(0xee);var _0x5bd74c={'tag':_0x20c03e(0x22d),'attrs':{'fill':_0x20c03e(0x289),'viewBox':_0x20c03e(0x11e),'width':_0x20c03e(0x28d),'height':_0x20c03e(0x28d)},'children':[{'tag':'g','attrs':{'clipPath':_0x20c03e(0x2a5)},'children':[{'tag':_0x20c03e(0x80),'attrs':{'stroke':_0x20c03e(0x292),'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':_0x20c03e(0x11d),'strokeLinejoin':_0x20c03e(0x11d),'strokeWidth':1.2}}]},{'tag':_0x20c03e(0x2cc),'attrs':{},'children':[{'tag':_0x20c03e(0x1c0),'attrs':{'id':_0x20c03e(0x23e)},'children':[{'tag':_0x20c03e(0x80),'attrs':{'fill':_0x20c03e(0x18e),'d':_0x20c03e(0x1f8)}}]}]}],'defIds':[_0x20c03e(0x23e)]},_0x320786=_0x24e835[_0x20c03e(0x14a)](function(_0x5e1a05,_0x30b538){const _0x3d5914=_0x20c03e;return _0x24e835['createElement'](_0x3cf2e7,Object[_0x3d5914(0x281)]({},_0x5e1a05,{'id':'off-line-single','ref':_0x30b538,'icon':_0x5bd74c}));});_0x320786[_0x20c03e(0xcf)]=_0x20c03e(0x225);var _0x17bc84={'tag':_0x20c03e(0x22d),'attrs':{'fill':_0x20c03e(0x289),'viewBox':_0x20c03e(0xa8),'width':_0x20c03e(0x28d),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x20c03e(0x241)},'children':[{'tag':_0x20c03e(0x80),'attrs':{'stroke':_0x20c03e(0x292),'d':_0x20c03e(0x2de),'strokeLinecap':_0x20c03e(0x11d),'strokeLinejoin':_0x20c03e(0x11d),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x20c03e(0x1c0),'attrs':{'id':_0x20c03e(0x213)},'children':[{'tag':'path','attrs':{'fill':_0x20c03e(0x18e),'d':_0x20c03e(0x1f8),'transform':_0x20c03e(0x9b)}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0x313554=_0x24e835[_0x20c03e(0x14a)](function(_0x2bf917,_0x43ef22){const _0x1f880c=_0x20c03e;return _0x24e835[_0x1f880c(0x103)](_0x3cf2e7,Object[_0x1f880c(0x281)]({},_0x2bf917,{'id':_0x1f880c(0x244),'ref':_0x43ef22,'icon':_0x17bc84}));});_0x313554[_0x20c03e(0xcf)]='OnLineSingle';function _0x54e6ae(_0x1bfea1){const _0x2ab844=_0x20c03e;switch(_0x1bfea1){case _0x4de101[_0x2ab844(0x124)]['OFFLINE']:return'collabStatus.offline';case _0x4de101[_0x2ab844(0x124)][_0x2ab844(0x222)]:return _0x2ab844(0xa9);case _0x4de101[_0x2ab844(0x124)][_0x2ab844(0xba)]:return _0x2ab844(0x19d);case _0x4de101['CollaborationStatus'][_0x2ab844(0x76)]:return _0x2ab844(0xe1);case _0x4de101[_0x2ab844(0x124)][_0x2ab844(0x2d3)]:case _0x4de101[_0x2ab844(0x124)][_0x2ab844(0xc5)]:return'collabStatus.syncing';case _0x4de101[_0x2ab844(0x124)][_0x2ab844(0x274)]:case _0x4de101[_0x2ab844(0x124)][_0x2ab844(0x1ab)]:return'collabStatus.synced';}}function _0x230ce0(_0x5379f1){const _0x483574=_0x20c03e,{status$:_0xe77af}=_0x5379f1,_0x3dd3c7=_0x1055b6[_0x483574(0x216)](_0xe77af,_0x4de101[_0x483574(0x124)]['NOT_COLLAB']),_0xb7340b=_0x1055b6[_0x483574(0x199)](_0x1ea30e[_0x483574(0xda)]),_0x1cbb9c=_0x1055b6[_0x483574(0x199)](_0x4de101[_0x483574(0xec)]),_0x443ed1=_0x3dd3c7!==_0x4de101[_0x483574(0x124)][_0x483574(0xfa)],_0x111173=_0xb7340b['t'](_0x54e6ae(_0x3dd3c7)),_0xf7d0e8=_0x443ed1?_0x222161[_0x483574(0x1b0)](_0x313554,{}):_0x222161['jsx'](_0x320786,{}),_0x18414e=_0x24e835[_0x483574(0xa1)](()=>{_0x443ed1||_0x1cbb9c['reconnect']();},[_0x443ed1,_0x1cbb9c]);function _0x4d0ef6(){const _0x43601e=_0x483574;return _0x222161[_0x43601e(0x195)](_0x43601e(0x1d5),{'className':'univer-flex\x20univer-items-center','onClick':_0x18414e,'children':[_0x222161[_0x43601e(0x1b0)](_0x43601e(0x1d5),{'className':_0x42d6da['clsx'](_0x43601e(0x159),{'univer-text-green-500':_0x443ed1,'univer-text-red-500':!_0x443ed1}),'children':_0xf7d0e8}),_0x222161[_0x43601e(0x1b0)](_0x43601e(0x1d5),{'className':_0x43601e(0x2f7),'children':_0x111173})]});}return _0x443ed1?_0x4d0ef6():_0x222161[_0x483574(0x1b0)](_0x42d6da['Tooltip'],{'title':_0xb7340b['t'](_0x483574(0x20e)),'children':_0x4d0ef6()});}var _0x47b299=Object[_0x20c03e(0x1ec)],_0x236c0b=(_0x397dbc,_0x1f2cfe,_0x1ec008,_0x15fec9)=>{for(var _0x518576=_0x15fec9>0x1?void 0x0:_0x15fec9?_0x47b299(_0x1f2cfe,_0x1ec008):_0x1f2cfe,_0x42bf03=_0x397dbc['length']-0x1,_0x44f6ae;_0x42bf03>=0x0;_0x42bf03--)(_0x44f6ae=_0x397dbc[_0x42bf03])&&(_0x518576=_0x44f6ae(_0x518576)||_0x518576);return _0x518576;},_0x58389a=(_0x15619a,_0x20fbe5)=>(_0x3f5d69,_0x245def)=>_0x20fbe5(_0x3f5d69,_0x245def,_0x15619a);_0x17d51e[_0x20c03e(0x2fe)]=class extends _0x1ea30e[_0x20c03e(0x186)]{constructor(_0x50d5ba,_0x301c9d,_0x2a33e4,_0xd3d1b0){const _0x582210=_0x20c03e;super(),_0x2bd54b(this,_0x582210(0x2c2),new _0x2fa692[(_0x582210(0x168))](_0x4de101[_0x582210(0x124)][_0x582210(0x76)])),(this[_0x582210(0x212)]=_0x50d5ba,this[_0x582210(0x7a)]=_0x301c9d,this[_0x582210(0x14d)]=_0x2a33e4,this[_0x582210(0x12b)]=_0xd3d1b0,this['_initStatusComponent'](),this[_0x582210(0x202)]());}[_0x20c03e(0x202)](){const _0xb58452=_0x20c03e;this[_0xb58452(0x16e)](this[_0xb58452(0x212)][_0xb58452(0x7b)][_0xb58452(0x242)](_0x2fa692[_0xb58452(0x132)](()=>{const _0x150377=_0xb58452,_0x237820=this[_0x150377(0x212)][_0x150377(0x1b3)]();return _0x237820?this[_0x150377(0x14d)][_0x150377(0x2c0)](_0x237820[_0x150377(0x17a)]()):_0x2fa692['of'](null);}),_0x2fa692['switchMap'](_0x3d201f=>_0x3d201f?_0x3d201f[_0xb58452(0x144)]:_0x2fa692['of'](_0x4de101[_0xb58452(0x124)][_0xb58452(0x76)])))[_0xb58452(0xa2)](_0x1fdcff=>{const _0x3505df=_0xb58452;this['_status$'][_0x3505df(0x20a)](_0x1fdcff);}));}['_initStatusComponent'](){const _0x5c302a=_0x20c03e;this['disposeWithMe'](this[_0x5c302a(0x12b)][_0x5c302a(0x14b)](_0x1055b6[_0x5c302a(0x15a)]['HEADER_MENU'],()=>_0x1055b6['connectInjector'](_0x385e2a({'status$':this[_0x5c302a(0x2c2)]['asObservable']()}),this[_0x5c302a(0x7a)])));}},_0x17d51e[_0x20c03e(0x2fe)]=_0x236c0b([_0x58389a(0x0,_0x1ea30e[_0x20c03e(0x11c)]),_0x58389a(0x1,_0x1ea30e[_0x20c03e(0x175)](_0x1ea30e['Injector'])),_0x58389a(0x2,_0x1ea30e[_0x20c03e(0x175)](_0x4de101['CollaborationController'])),_0x58389a(0x3,_0x1055b6[_0x20c03e(0x300)])],_0x17d51e[_0x20c03e(0x2fe)]);function _0x385e2a(_0x3cc18c){const {status$:_0x16f783}=_0x3cc18c;return function(){const _0x317e7c=_0x4ca4;return _0x222161[_0x317e7c(0x1b0)](_0x230ce0,{'status$':_0x16f783});};}var _0x1c2fbd=Object[_0x20c03e(0x1ec)],_0x46bf00=(_0x2ceefb,_0x3ead4b,_0x4d4bbb,_0x53d70c)=>{const _0x5352a7=_0x20c03e;for(var _0x282187=_0x53d70c>0x1?void 0x0:_0x53d70c?_0x1c2fbd(_0x3ead4b,_0x4d4bbb):_0x3ead4b,_0x196577=_0x2ceefb[_0x5352a7(0x265)]-0x1,_0x55bce6;_0x196577>=0x0;_0x196577--)(_0x55bce6=_0x2ceefb[_0x196577])&&(_0x282187=_0x55bce6(_0x282187)||_0x282187);return _0x282187;},_0x542a89=(_0x5ee9d4,_0x55dd6e)=>(_0x45744c,_0x4736d6)=>_0x55dd6e(_0x45744c,_0x4736d6,_0x5ee9d4);let _0x2672eb=class extends _0x1ea30e['Disposable']{constructor(_0x3bfe16,_0x475e2c,_0x317c53,_0x4539a7,_0x271117,_0x5d66b7){const _0x6b11fe=_0x20c03e;super(),this[_0x6b11fe(0x248)]=_0x3bfe16,this[_0x6b11fe(0x107)]=_0x475e2c,this[_0x6b11fe(0x2ee)]=_0x317c53,this[_0x6b11fe(0x21b)]=_0x4539a7,this[_0x6b11fe(0x26f)]=_0x271117,this['_localeService']=_0x5d66b7,this[_0x6b11fe(0x2a0)](),this['_initEvent']();}[_0x20c03e(0x2a0)](){const _0x5c92dd=_0x20c03e;this[_0x5c92dd(0x16e)](this[_0x5c92dd(0x248)][_0x5c92dd(0x1f3)](()=>{const _0x1a8e3d=_0x5c92dd;if(this[_0x1a8e3d(0x107)]['saveTaskMap'][_0x1a8e3d(0x19e)])return this[_0x1a8e3d(0x2bb)]['t'](_0x1a8e3d(0x294));}));}['_initEvent'](){const _0x12fbe5=_0x20c03e;this['disposeWithMe'](this[_0x12fbe5(0x2ee)]['event$'][_0x12fbe5(0xa2)](_0x4afc2d=>{const _0x139d2a=_0x12fbe5;_0x4afc2d['id']===_0x4de101[_0x139d2a(0x13b)][_0x139d2a(0xe4)]&&this[_0x139d2a(0x21b)][_0x139d2a(0x2e5)]({'type':_0x42d6da[_0x139d2a(0xb0)][_0x139d2a(0x26b)],'content':this[_0x139d2a(0x2bb)]['t'](_0x139d2a(0x2e9))}),_0x4afc2d['id']===_0x4de101[_0x139d2a(0x13b)][_0x139d2a(0x273)]&&this[_0x139d2a(0x21b)][_0x139d2a(0x2e5)]({'type':_0x42d6da[_0x139d2a(0xb0)]['Warning'],'content':this[_0x139d2a(0x2bb)]['t'](_0x139d2a(0x1c4))}),_0x4afc2d['id']===_0x4de101[_0x139d2a(0x13b)][_0x139d2a(0x148)]&&this['_notificationService']['show']({'title':this[_0x139d2a(0x2bb)]['t'](_0x139d2a(0x22b)),'content':this[_0x139d2a(0x2bb)]['t'](_0x139d2a(0x125)),'type':_0x139d2a(0x208),'duration':0x0}),_0x4afc2d['id']===_0x4de101[_0x139d2a(0x13b)][_0x139d2a(0x222)]&&this[_0x139d2a(0x21b)]['show']({'type':_0x42d6da['MessageType'][_0x139d2a(0xfd)],'content':this[_0x139d2a(0x2bb)]['t'](_0x139d2a(0x1c4))+'('+_0x4afc2d[_0x139d2a(0x1f6)]+')'}),_0x4afc2d['id']===_0x4de101['CollaborationUIEventId'][_0x139d2a(0x18c)]&&this[_0x139d2a(0x21b)][_0x139d2a(0x2e5)]({'type':_0x42d6da[_0x139d2a(0xb0)]['Warning'],'content':this[_0x139d2a(0x2bb)]['t'](_0x4afc2d['data']||'')}),_0x4afc2d['id']===_0x4de101[_0x139d2a(0x13b)][_0x139d2a(0x2db)]&&this[_0x139d2a(0x21b)][_0x139d2a(0x2e5)]({'type':_0x42d6da[_0x139d2a(0xb0)]['Warning'],'content':this[_0x139d2a(0x2bb)]['t'](_0x139d2a(0x229))}),_0x4afc2d['id']===_0x4de101[_0x139d2a(0x13b)][_0x139d2a(0x91)]&&this[_0x139d2a(0x21b)]['show']({'type':_0x42d6da[_0x139d2a(0xb0)][_0x139d2a(0xfd)],'content':this[_0x139d2a(0x2bb)]['t'](_0x139d2a(0x234))}),_0x4afc2d['id']===_0x4de101[_0x139d2a(0x13b)][_0x139d2a(0x85)]&&this['_messageService']['show']({'type':_0x42d6da[_0x139d2a(0xb0)][_0x139d2a(0xfd)],'content':this[_0x139d2a(0x2bb)]['t'](_0x139d2a(0x1fd))});}));}};_0x2672eb=_0x46bf00([_0x542a89(0x0,_0x1055b6[_0x20c03e(0xc7)]),_0x542a89(0x1,_0x4de101[_0x20c03e(0x27b)]),_0x542a89(0x2,_0x1ea30e[_0x20c03e(0x175)](_0x4de101['CollaborationUIEventService'])),_0x542a89(0x3,_0x1055b6['IMessageService']),_0x542a89(0x4,_0x1055b6[_0x20c03e(0x71)]),_0x542a89(0x5,_0x1ea30e[_0x20c03e(0x175)](_0x1ea30e[_0x20c03e(0xda)]))],_0x2672eb);const _0x11bb7e=_0x20c03e(0xc6),_0x2219de={},_0x217350=_0x1ea30e[_0x20c03e(0x291)](_0x20c03e(0x27f));var _0x3278b3=Object[_0x20c03e(0x1ec)],_0x4ddff6=(_0xaf932c,_0xe652e0,_0x18a59a,_0x24dc2e)=>{const _0x1b57aa=_0x20c03e;for(var _0x566ad3=_0x24dc2e>0x1?void 0x0:_0x24dc2e?_0x3278b3(_0xe652e0,_0x18a59a):_0xe652e0,_0x3dc352=_0xaf932c[_0x1b57aa(0x265)]-0x1,_0x460a38;_0x3dc352>=0x0;_0x3dc352--)(_0x460a38=_0xaf932c[_0x3dc352])&&(_0x566ad3=_0x460a38(_0x566ad3)||_0x566ad3);return _0x566ad3;},_0x1d501e=(_0x4e6c34,_0x559cab)=>(_0x18a441,_0xa6c374)=>_0x559cab(_0x18a441,_0xa6c374,_0x4e6c34);_0x17d51e[_0x20c03e(0x114)]=class extends _0x1ea30e['RxDisposable']{constructor(_0x3bfc7d,_0x556da3,_0x282ab6,_0x3a2a3c,_0x4a8c14){const _0x19fd96=_0x20c03e;super(),this[_0x19fd96(0xce)]=_0x3bfc7d,this[_0x19fd96(0x2cf)]=_0x556da3,this[_0x19fd96(0xe8)]=_0x282ab6,this[_0x19fd96(0xa7)]=_0x3a2a3c,_0x4a8c14?_0x4a8c14==null||_0x4a8c14[_0x19fd96(0xc4)]()[_0x19fd96(0x2df)](()=>this[_0x19fd96(0x18a)]()):(this[_0x19fd96(0x2cf)][_0x19fd96(0x29d)](_0x19fd96(0x219),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x19fd96(0x18a)]());}async['_init'](){const _0x248a5b=_0x20c03e,_0x486b67=this[_0x248a5b(0xce)][_0x248a5b(0x256)](_0x248a5b(0x1a9)),_0x3f5fc8=this[_0x248a5b(0xce)][_0x248a5b(0x256)]('type'),_0x374879=this[_0x248a5b(0xce)][_0x248a5b(0x256)]('subunit');if(!_0x486b67||!_0x3f5fc8){this[_0x248a5b(0x2cf)][_0x248a5b(0x29d)]('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x387dc2=await this['_dataLoaderService'][_0x248a5b(0x2fb)](_0x486b67,Number(_0x3f5fc8),_0x374879);_0x387dc2&&_0x387dc2 instanceof _0x1ea30e[_0x248a5b(0x2dd)]&&this[_0x248a5b(0x194)](_0x387dc2);}async[_0x20c03e(0x194)](_0x5c154e){const _0x2b24cf=_0x20c03e;await this[_0x2b24cf(0x290)](_0x5c154e),_0x5c154e['activeSheet$'][_0x2b24cf(0x242)](_0x2fa692['takeUntil'](this[_0x2b24cf(0x98)]))[_0x2b24cf(0xa2)](_0x37a179=>{const _0x4b06f9=_0x2b24cf;_0x37a179&&this[_0x4b06f9(0x138)](_0x37a179);}),this[_0x2b24cf(0xce)]['urlChange$'][_0x2b24cf(0x242)](_0x2fa692['takeUntil'](this[_0x2b24cf(0x98)]))[_0x2b24cf(0xa2)](()=>this[_0x2b24cf(0x290)](_0x5c154e));}[_0x20c03e(0x138)](_0x35f6d7,_0x171b31=!0x1){const _0x1f3957=_0x20c03e,_0x3ba714=this[_0x1f3957(0xce)][_0x1f3957(0x256)]('subunit');_0x35f6d7['getSheetId']()!==_0x3ba714&&this[_0x1f3957(0xce)][_0x1f3957(0x23f)](_0x1f3957(0x12a),_0x35f6d7[_0x1f3957(0x1b6)](),_0x171b31);}async[_0x20c03e(0x290)](_0x5079ff){const _0x548d0f=_0x20c03e;var _0x1a541b;const _0x21144b=this[_0x548d0f(0xce)][_0x548d0f(0x256)]('subunit');if(!_0x21144b||!_0x5079ff[_0x548d0f(0x10c)](_0x21144b)){const _0x8e46cf=_0x5079ff[_0x548d0f(0x1c8)]()[0x0],_0x2296ab=_0x5079ff['getSheetBySheetId'](_0x8e46cf);if(!_0x2296ab)return;this[_0x548d0f(0x138)](_0x2296ab,!0x0),await this[_0x548d0f(0xe8)][_0x548d0f(0x2d7)](_0x2a46f1[_0x548d0f(0xa5)]['id'],{'unitId':_0x5079ff['getUnitId'](),'subUnitId':_0x8e46cf});return;}((_0x1a541b=_0x5079ff['getActiveSheet']())==null?void 0x0:_0x1a541b[_0x548d0f(0x1b6)]())!==_0x21144b&&await this[_0x548d0f(0xe8)][_0x548d0f(0x2d7)](_0x2a46f1[_0x548d0f(0xa5)]['id'],{'unitId':_0x5079ff['getUnitId'](),'subUnitId':_0x21144b});}},_0x17d51e[_0x20c03e(0x114)]=_0x4ddff6([_0x1d501e(0x0,_0x217350),_0x1d501e(0x1,_0x1ea30e['ILogService']),_0x1d501e(0x2,_0x1ea30e[_0x20c03e(0x180)]),_0x1d501e(0x3,_0x1ea30e['Inject'](_0x4de101['DataLoaderService'])),_0x1d501e(0x4,_0x1ea30e[_0x20c03e(0x1e7)](_0x29b637['IRemoteInstanceService']))],_0x17d51e['CollaborationDataLoaderController']);var _0xb4d0aa=Object['getOwnPropertyDescriptor'],_0x528173=(_0x4a2b35,_0x2e5f4a,_0x34111a,_0x4b63bc)=>{const _0x20eec0=_0x20c03e;for(var _0x2b3f35=_0x4b63bc>0x1?void 0x0:_0x4b63bc?_0xb4d0aa(_0x2e5f4a,_0x34111a):_0x2e5f4a,_0x5a1f37=_0x4a2b35[_0x20eec0(0x265)]-0x1,_0x178e87;_0x5a1f37>=0x0;_0x5a1f37--)(_0x178e87=_0x4a2b35[_0x5a1f37])&&(_0x2b3f35=_0x178e87(_0x2b3f35)||_0x2b3f35);return _0x2b3f35;},_0x508e30=(_0x5cae02,_0x4da690)=>(_0x203610,_0x5f4ef2)=>_0x4da690(_0x203610,_0x5f4ef2,_0x5cae02);let _0x1aec30=class{constructor(_0x57221d,_0x8aac31,_0x7e9d14){const _0x215111=_0x20c03e;this[_0x215111(0x7a)]=_0x57221d,this[_0x215111(0x2fc)]=_0x8aac31,this['_renderManagerService']=_0x7e9d14;}['transformIMECache'](_0x56845a){const _0x18acb7=_0x20c03e;this[_0x18acb7(0x277)](_0x56845a),this[_0x18acb7(0x243)](_0x56845a);}[_0x20c03e(0xb3)](_0xa253a9){const _0x11f2e3=_0x20c03e,{unitID:_0x182b40}=_0xa253a9,_0x547a0d=this[_0x11f2e3(0x20c)][_0x11f2e3(0xac)](_0x182b40)[_0x11f2e3(0x181)](_0x3d290f[_0x11f2e3(0xa3)]),{redoCache:_0x300557}=_0x547a0d['getUndoRedoMutationParamsCache']();if(_0x300557[_0x11f2e3(0x265)]===0x0)return _0xa253a9;let _0x344fbd=_0x1ea30e[_0x11f2e3(0x206)]['deepClone'](_0xa253a9[_0x11f2e3(0x1c5)][0x0]);for(let _0x432e2f=0x0;_0x432e2f<_0x300557['length'];_0x432e2f++){const _0x434b39={'id':'doc.mutation.rich-text-editing','params':{..._0x300557[_0x432e2f]}},_0x45bcfd=this['_transformService'][_0x11f2e3(0x23a)](_0x344fbd,_0x434b39,!0x1);if(_0x4846b4[_0x11f2e3(0x239)](_0x45bcfd))throw _0x45bcfd['error'];_0x344fbd=_0x45bcfd['m1Prime'];}return{..._0x1ea30e[_0x11f2e3(0x206)][_0x11f2e3(0xb8)](_0xa253a9),'mutations':[_0x344fbd]};}['_transformUndoRedoStack'](_0x945c2){const _0x1c2dcc=_0x20c03e,{unitID:_0x281c08}=_0x945c2,_0x57b969=this[_0x1c2dcc(0x20c)][_0x1c2dcc(0xac)](_0x281c08)[_0x1c2dcc(0x181)](_0x3d290f['DocIMEInputManagerService']),{undoCache:_0x264e35,redoCache:_0x22ff33}=_0x57b969['getUndoRedoMutationParamsCache']();if(_0x264e35['length']===0x0||_0x22ff33[_0x1c2dcc(0x265)]===0x0)return;const _0x173c16=[],_0x250d57=[];let _0x3954ee=_0x1ea30e[_0x1c2dcc(0x206)][_0x1c2dcc(0xb8)](_0x945c2[_0x1c2dcc(0x1c5)][0x0]),_0x315a6b=_0x1ea30e[_0x1c2dcc(0x206)]['deepClone'](_0x945c2[_0x1c2dcc(0x1c5)][0x0]);for(let _0x86d440=_0x264e35[_0x1c2dcc(0x265)]-0x1;_0x86d440>=0x0;_0x86d440--){const _0x1f0ce7={'id':_0x1c2dcc(0x2a6),'params':{..._0x264e35[_0x86d440]}},_0x4fcccb={'id':'doc.mutation.rich-text-editing','params':{..._0x22ff33[_0x86d440]}},_0x435d14=this[_0x1c2dcc(0x2fc)]['transformMutation'](_0x3954ee,_0x1f0ce7,!0x1),_0xc43a0a=this[_0x1c2dcc(0x2fc)][_0x1c2dcc(0x23a)](_0x315a6b,_0x4fcccb,!0x1);if(_0x4846b4[_0x1c2dcc(0x239)](_0x435d14))throw _0x435d14[_0x1c2dcc(0x208)];if(_0x4846b4[_0x1c2dcc(0x239)](_0xc43a0a))throw _0xc43a0a[_0x1c2dcc(0x208)];_0x173c16['unshift'](_0x435d14[_0x1c2dcc(0x1bc)][_0x1c2dcc(0x231)]),_0x250d57['unshift'](_0xc43a0a[_0x1c2dcc(0x1bc)][_0x1c2dcc(0x231)]),_0x3954ee=_0x435d14[_0x1c2dcc(0x26e)],_0x315a6b=_0xc43a0a[_0x1c2dcc(0x26e)];}_0x57b969[_0x1c2dcc(0x197)]({'undoCache':_0x173c16,'redoCache':_0x250d57});}[_0x20c03e(0x243)](_0xad8674){const _0x18b411=_0x20c03e,{unitID:_0x5b8455}=_0xad8674,_0x4feaba=this['_renderManagerService'][_0x18b411(0xac)](_0x5b8455)[_0x18b411(0x181)](_0x3d290f[_0x18b411(0xa3)]),_0x499a9d=_0x4feaba['getActiveRange']();if(_0x499a9d==null)return;const _0x2f16ee=[{'id':_0x18b411(0x2a6),'params':{'unitId':_0xad8674[_0x18b411(0x131)],'actions':null,'textRanges':[_0x499a9d]}}],_0x4fda96=this[_0x18b411(0x2fc)][_0x18b411(0xd2)](_0xad8674,_0x2f16ee);if(!_0x4846b4['isTransformMutationsWithChangesetSuccess'](_0x4fda96))throw _0x4fda96['error'];const _0x2c036f=_0x4fda96[_0x18b411(0x1bc)][0x0]['params'][_0x18b411(0x233)];Array['isArray'](_0x2c036f)&&_0x2c036f[_0x18b411(0x265)]&&_0x4feaba[_0x18b411(0x1ef)](_0x2c036f[0x0]);}};_0x1aec30=_0x528173([_0x508e30(0x0,_0x1ea30e[_0x20c03e(0x175)](_0x1ea30e['Injector'])),_0x508e30(0x1,_0x4846b4[_0x20c03e(0xab)]),_0x508e30(0x2,_0x51bd['IRenderManagerService'])],_0x1aec30);var _0x3625da=Object[_0x20c03e(0x1ec)],_0x26900c=(_0x4d2d1d,_0x1f494e,_0x121d5d,_0x12ccc7)=>{for(var _0x13c212=_0x12ccc7>0x1?void 0x0:_0x12ccc7?_0x3625da(_0x1f494e,_0x121d5d):_0x1f494e,_0x33d91d=_0x4d2d1d['length']-0x1,_0x501305;_0x33d91d>=0x0;_0x33d91d--)(_0x501305=_0x4d2d1d[_0x33d91d])&&(_0x13c212=_0x501305(_0x13c212)||_0x13c212);return _0x13c212;},_0x4d5f3a=(_0x41a9d6,_0x2d6cc7)=>(_0x25fe21,_0x4a9a89)=>_0x2d6cc7(_0x25fe21,_0x4a9a89,_0x41a9d6);let _0x38b74e=class{constructor(_0x415829,_0x492587,_0x48bc1c){const _0x571bc9=_0x20c03e;this['_injector']=_0x415829,this[_0x571bc9(0x2fc)]=_0x492587,this[_0x571bc9(0x1f4)]=_0x48bc1c;}[_0x20c03e(0x1ac)](_0x59b516){const _0xe0ab3e=_0x20c03e;this[_0xe0ab3e(0xc3)](_0x59b516);}['transformRemoteChangeset'](_0x4f23d7){const _0x4dc5d1=_0x20c03e,{unitID:_0x500cbb}=_0x4f23d7,{collaboration:_0x31cc80}=this[_0x4dc5d1(0x1f4)][_0x4dc5d1(0x130)](_0x500cbb);if(_0x31cc80[_0x4dc5d1(0x265)]===0x0)return _0x4f23d7;let _0x416283=_0x1ea30e[_0x4dc5d1(0x206)][_0x4dc5d1(0xb8)](_0x4f23d7['mutations'][0x0]);for(let _0x1bb680=0x0;_0x1bb680<_0x31cc80[_0x4dc5d1(0x265)];_0x1bb680++){const _0x109ddc={'id':_0x4dc5d1(0x2a6),'params':{'unitId':_0x31cc80[_0x1bb680]['unitId'],..._0x31cc80[_0x1bb680][_0x4dc5d1(0x2f9)]}},_0x59f74b=this[_0x4dc5d1(0x2fc)]['transformMutation'](_0x416283,_0x109ddc,!0x1);if(_0x4846b4['isTransformMutationFailure'](_0x59f74b))throw _0x59f74b[_0x4dc5d1(0x208)];_0x416283=_0x59f74b[_0x4dc5d1(0x26e)];}return{..._0x1ea30e['Tools']['deepClone'](_0x4f23d7),'mutations':[_0x416283]};}[_0x20c03e(0xc3)](_0x1ea9b0){const _0x3ef347=_0x20c03e,{unitID:_0x384fa3}=_0x1ea9b0,{history:_0x4653dc,collaboration:_0x44ac13}=this[_0x3ef347(0x1f4)][_0x3ef347(0x130)](_0x384fa3);if(_0x4653dc['length']===0x0&&_0x44ac13['length']===0x0)return;const _0x3099c5=[],_0x287eab=[];let _0x297bde=_0x1ea30e[_0x3ef347(0x206)][_0x3ef347(0xb8)](_0x1ea9b0[_0x3ef347(0x1c5)][0x0]),_0x5208f2=_0x1ea30e[_0x3ef347(0x206)][_0x3ef347(0xb8)](_0x1ea9b0['mutations'][0x0]);for(let _0x1deb88=_0x4653dc[_0x3ef347(0x265)]-0x1;_0x1deb88>=0x0;_0x1deb88--){const _0x5e1bda={'id':_0x3ef347(0x2a6),'params':{'unitId':_0x4653dc[_0x1deb88][_0x3ef347(0x1d9)],..._0x4653dc[_0x1deb88][_0x3ef347(0x1e6)]}},_0x285a25={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4653dc[_0x1deb88][_0x3ef347(0x1d9)],..._0x4653dc[_0x1deb88]['redoState']}},_0x73b8ba=this['_transformService']['transformMutation'](_0x297bde,_0x5e1bda,!0x1),_0x1ef68c=this[_0x3ef347(0x2fc)][_0x3ef347(0x23a)](_0x5208f2,_0x285a25,!0x1);if(_0x4846b4[_0x3ef347(0x239)](_0x73b8ba))throw _0x73b8ba[_0x3ef347(0x208)];if(_0x4846b4['isTransformMutationFailure'](_0x1ef68c))throw _0x1ef68c[_0x3ef347(0x208)];_0x3099c5['unshift']({..._0x4653dc[_0x1deb88],'undoState':_0x73b8ba[_0x3ef347(0x1bc)]['params'],'redoState':_0x1ef68c[_0x3ef347(0x1bc)][_0x3ef347(0x231)]}),_0x297bde=_0x73b8ba[_0x3ef347(0x26e)],_0x5208f2=_0x1ef68c['m1Prime'];}_0x297bde=_0x1ea30e[_0x3ef347(0x206)][_0x3ef347(0xb8)](_0x1ea9b0[_0x3ef347(0x1c5)][0x0]),_0x5208f2=_0x1ea30e['Tools'][_0x3ef347(0xb8)](_0x1ea9b0['mutations'][0x0]);for(let _0x3bbd65=_0x44ac13[_0x3ef347(0x265)]-0x1;_0x3bbd65>=0x0;_0x3bbd65--){const _0x3fc35f={'id':_0x3ef347(0x2a6),'params':{'unitId':_0x44ac13[_0x3bbd65][_0x3ef347(0x1d9)],..._0x44ac13[_0x3bbd65]['undoState']}},_0x11c4ea={'id':_0x3ef347(0x2a6),'params':{'unitId':_0x44ac13[_0x3bbd65][_0x3ef347(0x1d9)],..._0x44ac13[_0x3bbd65][_0x3ef347(0x2f9)]}},_0x377e13=this[_0x3ef347(0x2fc)]['transformMutation'](_0x297bde,_0x3fc35f,!0x1),_0x3b1370=this[_0x3ef347(0x2fc)][_0x3ef347(0x23a)](_0x5208f2,_0x11c4ea,!0x1);if(_0x4846b4[_0x3ef347(0x239)](_0x377e13))throw _0x377e13['error'];if(_0x4846b4[_0x3ef347(0x239)](_0x3b1370))throw _0x3b1370[_0x3ef347(0x208)];_0x287eab[_0x3ef347(0x2b9)]({..._0x44ac13[_0x3bbd65],'undoState':_0x377e13['m2Prime'][_0x3ef347(0x231)],'redoState':_0x3b1370[_0x3ef347(0x1bc)]['params']}),_0x297bde=_0x377e13[_0x3ef347(0x26e)],_0x5208f2=_0x3b1370[_0x3ef347(0x26e)];}this[_0x3ef347(0x1f4)][_0x3ef347(0x1ce)](_0x384fa3,{'history':_0x3099c5,'collaboration':_0x287eab});}};_0x38b74e=_0x26900c([_0x4d5f3a(0x0,_0x1ea30e[_0x20c03e(0x175)](_0x1ea30e['Injector'])),_0x4d5f3a(0x1,_0x4846b4[_0x20c03e(0xab)]),_0x4d5f3a(0x2,_0x1ea30e[_0x20c03e(0x175)](_0x3d290f[_0x20c03e(0x10b)]))],_0x38b74e);var _0x3e02c0=Object['getOwnPropertyDescriptor'],_0x3b1ac4=(_0x3a518f,_0x5f4155,_0xbbcae3,_0x77bdb9)=>{const _0x5bab83=_0x20c03e;for(var _0x28998e=_0x77bdb9>0x1?void 0x0:_0x77bdb9?_0x3e02c0(_0x5f4155,_0xbbcae3):_0x5f4155,_0x7c3d29=_0x3a518f[_0x5bab83(0x265)]-0x1,_0x3ed7d3;_0x7c3d29>=0x0;_0x7c3d29--)(_0x3ed7d3=_0x3a518f[_0x7c3d29])&&(_0x28998e=_0x3ed7d3(_0x28998e)||_0x28998e);return _0x28998e;},_0x7249ab=(_0x327db3,_0x5d33f9)=>(_0x2f4274,_0x58dd95)=>_0x5d33f9(_0x2f4274,_0x58dd95,_0x327db3);let _0x1e11be=class{constructor(_0x502321,_0x575259){const _0xc96375=_0x20c03e;this['_injector']=_0x502321,this[_0xc96375(0x2fc)]=_0x575259;}['transformSelections'](_0x81f702){const _0x41ea7c=_0x20c03e;var _0x421ad8;const _0x25dae0=this[_0x41ea7c(0x7a)][_0x41ea7c(0x2d9)](_0x50f4df[_0x41ea7c(0x215)]),_0x2762bc=(_0x421ad8=_0x25dae0[_0x41ea7c(0x2e7)]())!=null?_0x421ad8:[];if(_0x2762bc[_0x41ea7c(0x265)]===0x0)return;const _0x1af85a=_0x81f702['unitID'],_0x514aef=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1af85a,'actions':null,'textRanges':_0x2762bc}}],_0x943984=this[_0x41ea7c(0x2fc)]['transformMutationsWithChangeset'](_0x81f702,_0x514aef);if(!_0x4846b4[_0x41ea7c(0x306)](_0x943984))throw _0x943984[_0x41ea7c(0x208)];const _0x4a6cc8=_0x943984[_0x41ea7c(0x1bc)][0x0][_0x41ea7c(0x231)][_0x41ea7c(0x233)];Array[_0x41ea7c(0x1fb)](_0x4a6cc8)&&_0x4a6cc8['length']&&_0x25dae0['replaceDocRanges'](_0x4a6cc8,{'unitId':_0x1af85a,'subUnitId':_0x1af85a},!0x1);}};_0x1e11be=_0x3b1ac4([_0x7249ab(0x0,_0x1ea30e['Inject'](_0x1ea30e[_0x20c03e(0x259)])),_0x7249ab(0x1,_0x4846b4[_0x20c03e(0xab)])],_0x1e11be);var _0x38500e=Object['getOwnPropertyDescriptor'],_0x2b39d9=(_0x2b735e,_0x315fbb,_0x530d16,_0x4efe00)=>{for(var _0x59c126=_0x4efe00>0x1?void 0x0:_0x4efe00?_0x38500e(_0x315fbb,_0x530d16):_0x315fbb,_0x221357=_0x2b735e['length']-0x1,_0x8cd80b;_0x221357>=0x0;_0x221357--)(_0x8cd80b=_0x2b735e[_0x221357])&&(_0x59c126=_0x8cd80b(_0x59c126)||_0x59c126);return _0x59c126;},_0xb8f2fd=(_0x5e1917,_0x523bd8)=>(_0x208020,_0x56fe5b)=>_0x523bd8(_0x208020,_0x56fe5b,_0x5e1917);let _0x160723=class extends _0x1ea30e[_0x20c03e(0x186)]{constructor(_0x5e2d9d,_0x5136a9,_0x11f11d,_0x543d1d,_0x32c541,_0x1b831b,_0x41e051,_0x3784b1){const _0x1ceb6e=_0x20c03e;super(),_0x2bd54b(this,_0x1ceb6e(0x2c2),new _0x2fa692[(_0x1ceb6e(0x168))](_0x4de101[_0x1ceb6e(0x124)][_0x1ceb6e(0x76)])),(this['_docStateChangeManagerService']=_0x5e2d9d,this[_0x1ceb6e(0x14d)]=_0x5136a9,this[_0x1ceb6e(0x2b0)]=_0x11f11d,this['_docTransformStateCacheService']=_0x543d1d,this[_0x1ceb6e(0x226)]=_0x32c541,this[_0x1ceb6e(0x262)]=_0x1b831b,this[_0x1ceb6e(0x21b)]=_0x41e051,this['_localeService']=_0x3784b1,this[_0x1ceb6e(0x203)]());}['_initEntityListener'](){const _0x79ae61=_0x20c03e;this[_0x79ae61(0x16e)](this['_collaborationController'][_0x79ae61(0x2c3)][_0x79ae61(0xa2)](_0x2e364b=>{const _0x213187=_0x79ae61,_0x398bc0=this['_docStateChangeManagerService']['docStateChange$']['subscribe'](_0x4565ce=>{const _0x386d6e=_0x4ca4;if(_0x4565ce==null)return;const {unitId:_0xc9b02a,redoState:_0x4fe7ee,commandId:_0x46741f}=_0x4565ce;if(_0xc9b02a!==_0x2e364b[_0x386d6e(0x131)])return;const _0x1a330a={'id':_0x46741f,'type':_0x1ea30e[_0x386d6e(0x145)]['MUTATION'],'params':{'unitId':_0xc9b02a,'actions':_0x4fe7ee['actions'],'textRanges':null}};_0x2e364b[_0x386d6e(0x1c1)](_0x1a330a);});if(_0x2e364b[_0x213187(0x16e)](_0x398bc0),_0x2e364b instanceof _0x4de101['DocCollaborationEntity']){const _0x29fca1={'onTransformIME':_0x4ae8d4=>this[_0x213187(0x2b0)][_0x213187(0xc2)](_0x4ae8d4),'onTransformState':_0x25b2eb=>this[_0x213187(0xcb)][_0x213187(0x1ac)](_0x25b2eb),'onTransformSelections':_0xfd05a2=>this['_docTransformSelectionsService']['transformSelections'](_0xfd05a2),'onSyncEditingCollabCursor':_0x24dcee=>this[_0x213187(0x262)]['syncEditingCollabCursor'](_0x24dcee),'onTransformRemoteChangesetByIMECache':_0x1844a6=>this[_0x213187(0x2b0)]['transformRemoteChangeset'](_0x1844a6),'onTransformRemoteChangesetByStateCache':_0x3e9c68=>this['_docTransformStateCacheService'][_0x213187(0xb3)](_0x3e9c68)};_0x2e364b[_0x213187(0x266)](_0x29fca1);}}));}};_0x160723=_0x2b39d9([_0xb8f2fd(0x0,_0x1ea30e[_0x20c03e(0x175)](_0x3d290f[_0x20c03e(0x10b)])),_0xb8f2fd(0x1,_0x1ea30e[_0x20c03e(0x175)](_0x4de101[_0x20c03e(0x23d)])),_0xb8f2fd(0x2,_0x1ea30e[_0x20c03e(0x175)](_0x1aec30)),_0xb8f2fd(0x3,_0x1ea30e['Inject'](_0x38b74e)),_0xb8f2fd(0x4,_0x1ea30e['Inject'](_0x1e11be)),_0xb8f2fd(0x5,_0x1ea30e[_0x20c03e(0x175)](_0x4f3239)),_0xb8f2fd(0x6,_0x1055b6[_0x20c03e(0x16b)]),_0xb8f2fd(0x7,_0x1ea30e[_0x20c03e(0x175)](_0x1ea30e['LocaleService']))],_0x160723);var _0x1e80db=Object['getOwnPropertyDescriptor'],_0x3afcad=(_0x34fc9f,_0x57af21,_0x48465f,_0x51f3ed)=>{for(var _0x4468dc=_0x51f3ed>0x1?void 0x0:_0x51f3ed?_0x1e80db(_0x57af21,_0x48465f):_0x57af21,_0x57b7bc=_0x34fc9f['length']-0x1,_0x2a8cc;_0x57b7bc>=0x0;_0x57b7bc--)(_0x2a8cc=_0x34fc9f[_0x57b7bc])&&(_0x4468dc=_0x2a8cc(_0x4468dc)||_0x4468dc);return _0x4468dc;},_0x2b4763=(_0x1ea641,_0x87982)=>(_0x2ec136,_0x3245db)=>_0x87982(_0x2ec136,_0x3245db,_0x1ea641);let _0x287eda=class extends _0x1ea30e[_0x20c03e(0x186)]{constructor(_0x1d9b23,_0x4f69f4,_0x2e0843){const _0x1232c8=_0x20c03e;super(),_0x2bd54b(this,_0x1232c8(0x96),new Map()),_0x2bd54b(this,'_saveTaskMap',new Map()),_0x2bd54b(this,'_disabled',!0x1),(this['_configService']=_0x1d9b23,this[_0x1232c8(0x134)]=_0x4f69f4,this[_0x1232c8(0x88)]=_0x2e0843);}[_0x20c03e(0xde)](){const _0x352ef1=_0x20c03e;this[_0x352ef1(0x263)]=!0x0;}[_0x20c03e(0xe9)](){const _0x4a4f78=_0x20c03e;this[_0x4a4f78(0x263)]=!0x1;}get[_0x20c03e(0x246)](){const _0x24734a=_0x20c03e;return this[_0x24734a(0x2ef)];}['dispose'](){const _0x3d2e7d=_0x20c03e;this[_0x3d2e7d(0x177)]()[_0x3d2e7d(0x2df)](()=>super[_0x3d2e7d(0x204)]());}async[_0x20c03e(0x21c)](_0x416a3d){const _0x757b67=_0x20c03e;return this['_disabled']?null:this['_localStorageService']['getItem'](_0x4de101[_0x757b67(0x13a)](_0x416a3d));}async[_0x20c03e(0xf0)](_0x465a89,_0x12a674){const _0x188b4e=_0x20c03e;return!!this['_localStorageService'][_0x188b4e(0x7f)](_0x465a89,_0x12a674);}[_0x20c03e(0x133)](_0x4f0e51,_0x321de8,_0x4c1c32,_0x4d7806){const _0x1ade25=_0x20c03e,_0x184115=this['_revisionService'][_0x1ade25(0x245)](_0x4f0e51);this[_0x1ade25(0x96)][_0x1ade25(0x296)](_0x4f0e51,{'unitID':_0x4f0e51,'type':_0x321de8,'awaitingChangeset':_0x4c1c32,'mutations':_0x4d7806,'rev':_0x184115}),this[_0x1ade25(0x2ef)]['has'](_0x4f0e51)||this[_0x1ade25(0x261)](_0x4f0e51);}[_0x20c03e(0x261)](_0x2e6f87){const _0x49a5a=_0x20c03e,_0x152d85=this[_0x49a5a(0x2a1)]();_0x152d85===0x0?this[_0x49a5a(0xfc)](_0x2e6f87):this[_0x49a5a(0x2ef)][_0x49a5a(0x296)](_0x2e6f87,setTimeout(()=>this['_saveCache'](_0x2e6f87),_0x152d85));}[_0x20c03e(0x2a1)](){const _0x53ff96=_0x20c03e;var _0x21b3e4;return(_0x21b3e4=this[_0x53ff96(0x20d)][_0x53ff96(0x1fc)](_0x4de101['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x21b3e4:_0x4de101[_0x53ff96(0x173)];}[_0x20c03e(0xfc)](_0x53e1b0){const _0x5b5fea=_0x20c03e,_0x41fe15=this[_0x5b5fea(0x2ef)][_0x5b5fea(0x2d9)](_0x53e1b0);return _0x41fe15!==void 0x0&&window[_0x5b5fea(0xef)](_0x41fe15),this['_localStorageService'][_0x5b5fea(0x7f)](_0x4de101[_0x5b5fea(0x13a)](_0x53e1b0),this['_cachedData'][_0x5b5fea(0x2d9)](_0x53e1b0))[_0x5b5fea(0x2df)](()=>this[_0x5b5fea(0x2ef)][_0x5b5fea(0xaa)](_0x53e1b0));}async[_0x20c03e(0x177)](){const _0x49cfef=_0x20c03e,_0x2a163e=[];this[_0x49cfef(0x2ef)]['forEach']((_0x4cf20a,_0x2019cf)=>{const _0xcd0ac5=_0x49cfef;window[_0xcd0ac5(0xef)](_0x4cf20a),_0x2a163e[_0xcd0ac5(0x2be)](this[_0xcd0ac5(0xfc)](_0x2019cf)[_0xcd0ac5(0x2df)](()=>{const _0x1ef1f3=_0xcd0ac5;this[_0x1ef1f3(0x2ef)][_0x1ef1f3(0xaa)](_0x2019cf);}));}),await Promise[_0x49cfef(0x10f)](_0x2a163e);}};_0x287eda=_0x3afcad([_0x2b4763(0x0,_0x1ea30e[_0x20c03e(0x9f)]),_0x2b4763(0x1,_0x1ea30e[_0x20c03e(0x2c1)]),_0x2b4763(0x2,_0x1ea30e[_0x20c03e(0x175)](_0x4846b4['RevisionService']))],_0x287eda);class _0x55761c extends _0x1ea30e['RxDisposable']{constructor(){const _0x39b261=_0x20c03e;super(),_0x2bd54b(this,_0x39b261(0x1ed)),this[_0x39b261(0x1ed)]=_0x2fa692[_0x39b261(0x2d8)](window,_0x39b261(0x25b))['pipe'](_0x2fa692['takeUntil'](this[_0x39b261(0x98)]),_0x2fa692['shareReplay'](0x1),_0x2fa692['mapTo'](void 0x0));}[_0x20c03e(0x23f)](_0x12868b,_0xa98a1a,_0x36b070=!0x1){const _0x357362=_0x20c03e,_0x24f205=new URL(window['location'][_0x357362(0x13c)]);_0x24f205[_0x357362(0x2dc)][_0x357362(0x296)](_0x12868b,_0xa98a1a),_0x36b070?window[_0x357362(0x13d)][_0x357362(0x2c9)]('','',_0x24f205['toString']()):window[_0x357362(0x13d)]['pushState']('','',_0x24f205[_0x357362(0x196)]());}[_0x20c03e(0xbf)](_0x260f9e,_0x163eb7=!0x1){const _0x297453=_0x20c03e,_0x26ca23=new URL(window[_0x297453(0x193)]['href']);_0x26ca23['searchParams'][_0x297453(0xaa)](_0x260f9e),_0x163eb7?window[_0x297453(0x13d)]['replaceState']('','',_0x26ca23[_0x297453(0x196)]()):window['history'][_0x297453(0x1de)]('','',_0x26ca23[_0x297453(0x196)]());}[_0x20c03e(0x256)](_0x498be0){const _0x4e393f=_0x20c03e;var _0x3da942;return(_0x3da942=new URL(window['location'][_0x4e393f(0x13c)])[_0x4e393f(0x2dc)][_0x4e393f(0x2d9)](_0x498be0))!=null?_0x3da942:void 0x0;}}var _0x1ca808=Object['defineProperty'],_0x5e0b25=Object[_0x20c03e(0x1ec)],_0x21aec8=(_0x245663,_0x14533c,_0x5570e2)=>_0x14533c in _0x245663?_0x1ca808(_0x245663,_0x14533c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5570e2}):_0x245663[_0x14533c]=_0x5570e2,_0x3473d6=(_0x2769d0,_0x4b942c,_0x5c0877,_0x1e25ff)=>{const _0x19fe0=_0x20c03e;for(var _0x3e3cd8=_0x1e25ff>0x1?void 0x0:_0x1e25ff?_0x5e0b25(_0x4b942c,_0x5c0877):_0x4b942c,_0x294659=_0x2769d0[_0x19fe0(0x265)]-0x1,_0x51d479;_0x294659>=0x0;_0x294659--)(_0x51d479=_0x2769d0[_0x294659])&&(_0x3e3cd8=_0x51d479(_0x3e3cd8)||_0x3e3cd8);return _0x3e3cd8;},_0x2cd2c=(_0xef14f1,_0x2d2973)=>(_0x437ed6,_0x13513a)=>_0x2d2973(_0x437ed6,_0x13513a,_0xef14f1),_0x2761b5=(_0x27f83b,_0x36ad3e,_0x392b34)=>_0x21aec8(_0x27f83b,_0x36ad3e+'',_0x392b34);const _0x449c5c=_0x20c03e(0x152);_0x17d51e[_0x20c03e(0x2d4)]=class extends _0x1ea30e[_0x20c03e(0xb9)]{constructor(_0x1e1c84=_0x2219de,_0x174688,_0x33e96b,_0x349472){const _0xbc38c8=_0x20c03e;super(),this[_0xbc38c8(0xd7)]=_0x1e1c84,this['_renderManagerService']=_0x174688,this[_0xbc38c8(0x7a)]=_0x33e96b,this[_0xbc38c8(0x20d)]=_0x349472;const {..._0x4d7a01}=_0x1ea30e['merge']({},_0x2219de,this['_config']);this[_0xbc38c8(0x20d)][_0xbc38c8(0x1c9)](_0x11bb7e,_0x4d7a01);}['onStarting'](){const _0x5bf50d=_0x20c03e;this[_0x5bf50d(0x157)](),this['_initDependencies']();}[_0x20c03e(0x1a5)](){const _0x3d3613=_0x20c03e;this[_0x3d3613(0x211)]();}[_0x20c03e(0x157)](){const _0x7164de=_0x20c03e;var _0x14e9f2;const _0x38ed1a=[[_0x50e5b0],[_0x1e11be],[_0x1aec30],[_0x38b74e],[_0x4f3239],[_0x217350,{'useClass':_0x55761c}],[_0x107c73[_0x7164de(0x286)],{'useClass':_0x107c73['WebSocketService']}],[_0x4de101[_0x7164de(0x27b)],{'useClass':_0x287eda}],[_0x17d51e[_0x7164de(0x2fe)]],[_0x160723],[_0x2672eb],[_0xf10618],[_0x108035],[_0x17d51e[_0x7164de(0x114)]]];_0x1ea30e['registerDependencies'](this[_0x7164de(0x7a)],_0x1ea30e[_0x7164de(0x126)](_0x38ed1a,(_0x14e9f2=this[_0x7164de(0xd7)])==null?void 0x0:_0x14e9f2[_0x7164de(0x14c)]));}[_0x20c03e(0x211)](){const _0x2235b5=_0x20c03e;this['disposeWithMe'](this[_0x2235b5(0x20c)][_0x2235b5(0x28c)](_0x1ea30e[_0x2235b5(0x237)][_0x2235b5(0xc9)],[_0x3a6721])),this[_0x2235b5(0x16e)](this[_0x2235b5(0x20c)][_0x2235b5(0x28c)](_0x1ea30e[_0x2235b5(0x237)][_0x2235b5(0x115)],[_0x203172]));}[_0x20c03e(0x26a)](){const _0x2cde9c=_0x20c03e;_0x1ea30e['touchDependencies'](this[_0x2cde9c(0x7a)],[[_0xf10618],[_0x17d51e[_0x2cde9c(0x2fe)]],[_0x160723],[_0x2672eb],[_0x17d51e[_0x2cde9c(0x114)]]]);}},_0x2761b5(_0x17d51e[_0x20c03e(0x2d4)],_0x20c03e(0x9d),_0x449c5c),_0x17d51e[_0x20c03e(0x2d4)]=_0x3473d6([_0x1ea30e[_0x20c03e(0x15e)](_0x4de101[_0x20c03e(0x110)]),_0x2cd2c(0x1,_0x51bd[_0x20c03e(0x240)]),_0x2cd2c(0x2,_0x1ea30e[_0x20c03e(0x175)](_0x1ea30e[_0x20c03e(0x259)])),_0x2cd2c(0x3,_0x1ea30e[_0x20c03e(0x9f)])],_0x17d51e[_0x20c03e(0x2d4)]);var _0x2ca1af=Object[_0x20c03e(0x1ec)],_0x200139=(_0x2562e3,_0x335ec9,_0xea8a3c,_0x3a0d9f)=>{const _0x5ee981=_0x20c03e;for(var _0x3989f6=_0x3a0d9f>0x1?void 0x0:_0x3a0d9f?_0x2ca1af(_0x335ec9,_0xea8a3c):_0x335ec9,_0x39e85d=_0x2562e3[_0x5ee981(0x265)]-0x1,_0x2aecaa;_0x39e85d>=0x0;_0x39e85d--)(_0x2aecaa=_0x2562e3[_0x39e85d])&&(_0x3989f6=_0x2aecaa(_0x3989f6)||_0x3989f6);return _0x3989f6;},_0x52b3d4=(_0x31be9e,_0x1244e6)=>(_0xe6b1a9,_0x1b1ce6)=>_0x1244e6(_0xe6b1a9,_0x1b1ce6,_0x31be9e);_0x17d51e[_0x20c03e(0x113)]=class extends _0x4de101[_0x20c03e(0x89)]{constructor(_0x491af5,_0x533954,_0x13d405,_0x267952,_0x519aef){super(_0x491af5,_0x533954,_0x13d405,_0x267952,_0x519aef);}async[_0x20c03e(0x238)](_0xc59b7e){const _0x408910=_0x20c03e,_0x56cb5d=await this[_0x408910(0x307)](),_0x4e264e=this['_createSocketURL'](_0xc59b7e,_0x56cb5d);return this[_0x408910(0x2c8)](_0x4e264e);}[_0x20c03e(0x119)](_0x3b0e10,_0x16447b){const _0x5730a6=_0x20c03e,_0x54a6e9=typeof window>'u'?new URL(_0x3b0e10):new URL(_0x3b0e10,window[_0x5730a6(0x193)][_0x5730a6(0x8a)]);_0x54a6e9[_0x5730a6(0x2dc)][_0x5730a6(0x296)]('sessionTicket',_0x16447b);const _0x8193a0=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x5730a6(0x28f)]);return _0x8193a0[_0x5730a6(0x2d9)](_0x5730a6(0xf9))&&_0x54a6e9['searchParams'][_0x5730a6(0x296)]('runId',_0x8193a0['get']('runId')),_0x54a6e9[_0x5730a6(0x196)]();}async[_0x20c03e(0x307)](){const _0x3389ad=_0x20c03e;var _0x22a962,_0x1ea734,_0x463553;const _0xbabff=this[_0x3389ad(0x20d)]['getConfig'](_0x4de101['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x1f0d2a=(_0x22a962=_0xbabff==null?void 0x0:_0xbabff[_0x3389ad(0x2c6)])!=null?_0x22a962:_0x4de101['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x463553=(_0x1ea734=(await this[_0x3389ad(0x305)]['get'](_0x1f0d2a,{'headers':{'Content-Type':_0x3389ad(0x2e1)}}))[_0x3389ad(0x10d)])==null?void 0x0:_0x1ea734[_0x3389ad(0x12f)])!=null?_0x463553:'';}},_0x17d51e[_0x20c03e(0x113)]=_0x200139([_0x52b3d4(0x0,_0x1ea30e[_0x20c03e(0x175)](_0x1ea30e['Injector'])),_0x52b3d4(0x1,_0x1ea30e[_0x20c03e(0x175)](_0x107c73[_0x20c03e(0x24c)])),_0x52b3d4(0x2,_0x1ea30e[_0x20c03e(0x9f)]),_0x52b3d4(0x3,_0x1ea30e['ILogService']),_0x52b3d4(0x4,_0x4846b4[_0x20c03e(0x23c)])],_0x17d51e[_0x20c03e(0x113)]);const _0x4b86eb=0x7530,_0x5dc121=_0x20c03e(0x2cb);class _0x153a74 extends _0x1ea30e['Disposable']{constructor(){const _0xe1071e=_0x20c03e;super(),_0x2bd54b(this,'_id',_0x1ea30e[_0xe1071e(0xcd)]()),_0x2bd54b(this,_0xe1071e(0x2eb),new Set()),_0x2bd54b(this,_0xe1071e(0x72),new Map()),_0x2bd54b(this,_0xe1071e(0xd0),null),_0x2bd54b(this,_0xe1071e(0x2ad),new Map()),_0x2bd54b(this,_0xe1071e(0x118),new Map()),this['_init']();}[_0x20c03e(0x204)](){const _0x5b7d40=_0x20c03e;super[_0x5b7d40(0x204)](),this[_0x5b7d40(0x2ad)][_0x5b7d40(0x1ea)]((_0x24ff27,_0x424d5a)=>this[_0x5b7d40(0x122)](_0x424d5a)),this[_0x5b7d40(0xd0)]&&window[_0x5b7d40(0x1b7)](this[_0x5b7d40(0xd0)]);}[_0x20c03e(0x191)](_0x64f0ef){const _0x49a0ca=_0x20c03e;return this[_0x49a0ca(0x10e)](_0x64f0ef)[_0x49a0ca(0x242)](_0x2fa692['distinctUntilChanged']());}[_0x20c03e(0x303)](_0x3c7f3f){const _0x595290=_0x20c03e;this[_0x595290(0x2eb)][_0x595290(0x19e)]===0x0&&this[_0x595290(0xd5)](),this[_0x595290(0x2eb)][_0x595290(0x1ee)](_0x3c7f3f),this['_send']({'type':0x0,'memberID':this[_0x595290(0x12d)],'unitIDs':[_0x3c7f3f],'isForwarded':!0x1});}[_0x20c03e(0x162)](_0x260c8c){const _0x8855c1=_0x20c03e;this[_0x8855c1(0x2eb)][_0x8855c1(0xaa)](_0x260c8c),this[_0x8855c1(0x2eb)][_0x8855c1(0x19e)]===0x0&&this[_0x8855c1(0xd0)]&&window[_0x8855c1(0x1b7)](this[_0x8855c1(0xd0)]);}[_0x20c03e(0x18a)](){const _0x58c402=_0x20c03e;this[_0x58c402(0x16e)](_0x1ea30e[_0x58c402(0x2a2)](_0x2fa692[_0x58c402(0x2d8)](window,_0x58c402(0x27e))['subscribe'](_0x291d04=>{const _0x3930ec=_0x58c402;if(_0x291d04[_0x3930ec(0x2aa)]!==_0x5dc121||!_0x291d04['newValue'])return;const _0x4c4beb=JSON[_0x3930ec(0xa4)](_0x291d04[_0x3930ec(0xdf)]);this[_0x3930ec(0x185)](_0x4c4beb);}))),window[_0x58c402(0x278)]('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x58c402(0x12d)],'unitIDs':Array[_0x58c402(0x1f9)](this[_0x58c402(0x2eb)])}));}[_0x20c03e(0x185)](_0x5d3e01){const _0x5104fd=_0x20c03e;switch(_0x5d3e01[_0x5104fd(0x1e0)]){case 0x0:this[_0x5104fd(0x1fa)](_0x5d3e01);break;case 0x1:this[_0x5104fd(0xf7)](_0x5d3e01);break;case 0x2:this[_0x5104fd(0x2e4)](_0x5d3e01);break;}}[_0x20c03e(0x1fa)](_0x3782d5){const _0x4ae85b=_0x20c03e,{unitIDs:_0xd3639,memberID:_0x2b1b76,isForwarded:_0x477452}=_0x3782d5;_0xd3639[_0x4ae85b(0x1ea)](_0x458075=>{const _0x52a80d=_0x4ae85b;if(!_0x477452&&this[_0x52a80d(0x72)][_0x52a80d(0x21a)](_0x458075)&&this[_0x52a80d(0x10e)](_0x458075)['next'](_0x4de101[_0x52a80d(0x105)][_0x52a80d(0x287)]),!this[_0x52a80d(0x72)][_0x52a80d(0x21a)](_0x458075)||!this['_unitOnClients'][_0x52a80d(0x2d9)](_0x458075)['has'](_0x2b1b76)){const _0x2e1ca1=this[_0x52a80d(0x72)][_0x52a80d(0x2d9)](_0x458075)||new Set();_0x2e1ca1[_0x52a80d(0x1ee)](_0x2b1b76),this['_unitOnClients'][_0x52a80d(0x296)](_0x458075,_0x2e1ca1),this[_0x52a80d(0x2b8)](_0x2b1b76);}}),_0x477452||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x4ae85b(0x2eb)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x1f62d8){const _0x4096ea=_0x20c03e;this[_0x4096ea(0x122)](_0x1f62d8);const _0x21b833=window[_0x4096ea(0x2b6)](()=>{const _0x45cf23=_0x4096ea;this[_0x45cf23(0x72)][_0x45cf23(0x1ea)](_0x559a64=>{const _0x555dd3=_0x45cf23;_0x559a64[_0x555dd3(0xaa)](_0x1f62d8);});},_0x4b86eb*0x2);this[_0x4096ea(0x2ad)][_0x4096ea(0x296)](_0x1f62d8,_0x21b833);}[_0x20c03e(0x122)](_0x920b16){const _0xeb7521=_0x20c03e;if(this[_0xeb7521(0x2ad)][_0xeb7521(0x21a)](_0x920b16)){const _0x32b6d0=this[_0xeb7521(0x2ad)][_0xeb7521(0x2d9)](_0x920b16);_0x32b6d0&&window[_0xeb7521(0xef)](_0x32b6d0),this[_0xeb7521(0x2ad)]['set'](_0x920b16,null);}}[_0x20c03e(0xf7)](_0x26b9c7){const _0x2d4c44=_0x20c03e,{memberID:_0x2f68f1,unitIDs:_0xd3567f}=_0x26b9c7;_0xd3567f['forEach'](_0x113c65=>{const _0xa66715=_0x4ca4;var _0x55756c;const _0xa06054=this[_0xa66715(0x72)][_0xa66715(0x2d9)](_0x113c65);_0xa06054&&(_0xa06054[_0xa66715(0xaa)](_0x2f68f1),(_0x55756c=this[_0xa66715(0x10e)](_0x113c65))==null||_0x55756c[_0xa66715(0x20a)](_0xa06054[_0xa66715(0x19e)]===0x0?_0x4de101['UnitStatus'][_0xa66715(0x2f4)]:_0x4de101['UnitStatus'][_0xa66715(0x287)]));}),this[_0x2d4c44(0x122)](_0x2f68f1);}[_0x20c03e(0x2e4)](_0x1791c6){const _0xa4bfca=_0x20c03e;this[_0xa4bfca(0x2b8)](_0x1791c6[_0xa4bfca(0x137)]);}['_send'](_0x18eec4){const _0x344713=_0x20c03e;localStorage[_0x344713(0x7f)](_0x5dc121,JSON[_0x344713(0xb5)](_0x18eec4));}[_0x20c03e(0xd5)](){const _0x422e4c=_0x20c03e;this['_heartbeatTimer']=window[_0x422e4c(0x1a3)](()=>{const _0xdf1abc=_0x422e4c;this[_0xdf1abc(0x16f)]({'type':0x2,'memberID':this[_0xdf1abc(0x12d)]});},_0x4b86eb);}[_0x20c03e(0x10e)](_0x539b9c){const _0x25e754=_0x20c03e;return this[_0x25e754(0x118)][_0x25e754(0x21a)](_0x539b9c)||this[_0x25e754(0x118)]['set'](_0x539b9c,new _0x2fa692[(_0x25e754(0x168))](_0x4de101[_0x25e754(0x105)][_0x25e754(0x2f4)])),this[_0x25e754(0x118)]['get'](_0x539b9c);}}var _0x595df4=(_0x50a18c=>(_0x50a18c[_0x50a18c['UNDEFINED']=0x0]=_0x20c03e(0x2a9),_0x50a18c[_0x50a18c['OK']=0x1]='OK',_0x50a18c[_0x50a18c[_0x20c03e(0x19c)]=0x2]='INTERNAL_ERROR',_0x50a18c[_0x50a18c[_0x20c03e(0x148)]=0x3]=_0x20c03e(0x148),_0x50a18c[_0x50a18c[_0x20c03e(0xf5)]=0x4]=_0x20c03e(0xf5),_0x50a18c[_0x50a18c[_0x20c03e(0x2b7)]=0x5]=_0x20c03e(0x2b7),_0x50a18c[_0x50a18c['ALREADY_EXISTS']=0x6]=_0x20c03e(0xb4),_0x50a18c[_0x50a18c['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x50a18c[_0x50a18c['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x50a18c[_0x50a18c[_0x20c03e(0x167)]=0x9]=_0x20c03e(0x167),_0x50a18c[_0x50a18c[_0x20c03e(0xd8)]=0xa]='LOGIN_FAILED',_0x50a18c[_0x50a18c[_0x20c03e(0x15d)]=0x1389]=_0x20c03e(0x15d),_0x50a18c[_0x50a18c[_0x20c03e(0x135)]=0x1771]=_0x20c03e(0x135),_0x50a18c[_0x50a18c['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x50a18c[_0x50a18c[_0x20c03e(0x117)]=0x1773]=_0x20c03e(0x117),_0x50a18c[_0x50a18c['APPLY_REJECT']=0x1b59]=_0x20c03e(0x2a7),_0x50a18c[_0x50a18c['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x20c03e(0x9c),_0x50a18c[_0x50a18c['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x20c03e(0xdc),_0x50a18c[_0x50a18c[_0x20c03e(0x22a)]=0x1b5c]=_0x20c03e(0x22a),_0x50a18c[_0x50a18c[_0x20c03e(0x260)]=0x1b5d]=_0x20c03e(0x260),_0x50a18c[_0x50a18c[_0x20c03e(0x94)]=0x1f41]=_0x20c03e(0x94),_0x50a18c[_0x50a18c[_0x20c03e(0x2f5)]=0x2329]=_0x20c03e(0x2f5),_0x50a18c[_0x50a18c[_0x20c03e(0xbc)]=0x232a]=_0x20c03e(0xbc),_0x50a18c[_0x50a18c[_0x20c03e(0x1b4)]=0x232b]=_0x20c03e(0x1b4),_0x50a18c[_0x50a18c[_0x20c03e(0x25e)]=0x232c]=_0x20c03e(0x25e),_0x50a18c[_0x50a18c[_0x20c03e(0x301)]=0x232d]=_0x20c03e(0x301),_0x50a18c[_0x50a18c[_0x20c03e(0x2d0)]=0x2711]=_0x20c03e(0x2d0),_0x50a18c[_0x50a18c[_0x20c03e(0x22f)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x50a18c[_0x50a18c[_0x20c03e(0x1ff)]=0x2713]=_0x20c03e(0x1ff),_0x50a18c[_0x50a18c[_0x20c03e(0x1bd)]=0x2714]=_0x20c03e(0x1bd),_0x50a18c[_0x50a18c[_0x20c03e(0x276)]=0x271a]=_0x20c03e(0x276),_0x50a18c[_0x50a18c[_0x20c03e(0x1ae)]=0x271b]=_0x20c03e(0x1ae),_0x50a18c[_0x50a18c[_0x20c03e(0x1b1)]=0x271c]=_0x20c03e(0x1b1),_0x50a18c[_0x50a18c[_0x20c03e(0x2f2)]=0x271d]=_0x20c03e(0x2f2),_0x50a18c[_0x50a18c['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x20c03e(0x293),_0x50a18c[_0x50a18c['YUUMI_AI_RUN_FAILED']=0x271f]=_0x20c03e(0x73),_0x50a18c[_0x50a18c[_0x20c03e(0x2cd)]=0x2af9]=_0x20c03e(0x2cd),_0x50a18c[_0x50a18c[_0x20c03e(0x2ea)]=0x2ee1]=_0x20c03e(0x2ea),_0x50a18c[_0x50a18c[_0x20c03e(0x247)]=0x2ee2]='INVALID_INVITE_CODE',_0x50a18c[_0x50a18c[_0x20c03e(0x17c)]=0x2ee3]=_0x20c03e(0x17c),_0x50a18c[_0x50a18c[_0x20c03e(0x1d4)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x50a18c[_0x50a18c['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x50a18c[_0x50a18c[_0x20c03e(0x1df)]=0x32c9]=_0x20c03e(0x1df),_0x50a18c[_0x50a18c[_0x20c03e(0x7d)]=0x32ca]=_0x20c03e(0x7d),_0x50a18c[_0x50a18c['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x20c03e(0x156),_0x50a18c[_0x50a18c[_0x20c03e(0xb7)]=-0x1]=_0x20c03e(0xb7),_0x50a18c))(_0x595df4||{}),_0x236b54=Object[_0x20c03e(0x1ec)],_0x5b32d1=(_0x38140c,_0xf8656c,_0x143a60,_0x293ebd)=>{const _0x322cb7=_0x20c03e;for(var _0x309cd6=_0x293ebd>0x1?void 0x0:_0x293ebd?_0x236b54(_0xf8656c,_0x143a60):_0xf8656c,_0x294bc4=_0x38140c[_0x322cb7(0x265)]-0x1,_0x5eff64;_0x294bc4>=0x0;_0x294bc4--)(_0x5eff64=_0x38140c[_0x294bc4])&&(_0x309cd6=_0x5eff64(_0x309cd6)||_0x309cd6);return _0x309cd6;},_0xdb7263=(_0x5c3e16,_0x47a699)=>(_0x38c903,_0x55def5)=>_0x47a699(_0x38c903,_0x55def5,_0x5c3e16);_0x17d51e[_0x20c03e(0xeb)]=class extends _0x1ea30e[_0x20c03e(0x186)]{constructor(_0x4e16d7,_0x4df1d6,_0x39fd51){const _0x2846dd=_0x20c03e;super(),this[_0x2846dd(0x11b)]=_0x4e16d7,this[_0x2846dd(0x305)]=_0x4df1d6,this[_0x2846dd(0x20d)]=_0x39fd51;}async[_0x20c03e(0x192)](_0x39e3aa,_0x44d1a1,_0x10f4f1,..._0x331b06){const _0x42664d=_0x20c03e;var _0x1ff765,_0x24af62,_0x35e789,_0x186003;const _0x365a64=this['_instanceService'][_0x42664d(0x1b3)]();if(!_0x365a64)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x728687=((_0x1ff765=this[_0x42664d(0x20d)][_0x42664d(0x1fc)](_0x4de101['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x1ff765:_0x4de101['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x39e3aa+_0x42664d(0x84)+_0x44d1a1,_0x414ebc=new URL(window['location'][_0x42664d(0x13c)]),_0x1b2731={'scriptId':_0x39e3aa,'runId':(_0x24af62=_0x414ebc['searchParams'][_0x42664d(0x2d9)](_0x42664d(0xf9)))!=null?_0x24af62:'','function':_0x44d1a1,'unitId':_0x365a64[_0x42664d(0x17a)](),'argsOfFunction':JSON[_0x42664d(0xb5)](_0x331b06),'invokeId':(_0x35e789=_0x10f4f1[_0x42664d(0x150)])!=null?_0x35e789:'','executionId':(_0x186003=_0x10f4f1[_0x42664d(0x90)])!=null?_0x186003:''};try{const _0x2c0a04=await this[_0x42664d(0x305)][_0x42664d(0x250)](_0x728687,{'body':_0x1b2731});return _0x2c0a04[_0x42664d(0x10d)]['error']&&_0x2c0a04[_0x42664d(0x10d)]['error'][_0x42664d(0x25f)]!==_0x595df4['OK']?_0x42664d(0x2bd):_0x2c0a04[_0x42664d(0x10d)]['result'];}catch{return _0x42664d(0x2bd);}}},_0x17d51e[_0x20c03e(0xeb)]=_0x5b32d1([_0xdb7263(0x0,_0x1ea30e['IUniverInstanceService']),_0xdb7263(0x1,_0x1ea30e[_0x20c03e(0x175)](_0x107c73[_0x20c03e(0x24c)])),_0xdb7263(0x2,_0x1ea30e[_0x20c03e(0x9f)])],_0x17d51e[_0x20c03e(0xeb)]),_0x17d51e[_0x20c03e(0x24b)]=_0x230ce0,_0x17d51e[_0x20c03e(0x1cb)]=_0x217350,_0x17d51e[_0x20c03e(0x16c)]=_0x27a2e9,_0x17d51e[_0x20c03e(0x2af)]=_0x153a74,_0x17d51e[_0x20c03e(0xe7)]=_0x55761c,Object[_0x20c03e(0xff)](_0x17d51e,Symbol[_0x20c03e(0x1cc)],{'value':_0x20c03e(0x214)});}));function _0x5a91(){const _0x222c8c=['collaboration-client.offline-data-not-saved','collabCursorState$','set','addClipboardHook','_refreshCollabCursors','_getAnchorBounding','getCoordByCell','moveTo','@univerjs/network','debug','_sheetSkeletonManagerService','NodePositionConvertToCursor','_setupBeforeClosingHandler','_getSaveTimeout','toDisposable','_textBubble','_session','url(#off-line-single_clip0_910_343)','doc.mutation.rich-text-editing','APPLY_REJECT','jiqing.500','UNDEFINED','key','FromArray','Shape','_clearOtherTimers','height','WebBrowserSingleActiveUnitService','_docTransformIMECacheService','getVpScrollXYInfoByPosToVp','min','Rect','measureText','_syncEditingCollabCursorService','setTimeout','UNAUTHENTICATED','_scheduleClearOtherTimer','unshift','_online','_localeService','exports','Failed','push','_startSheetCollabCursor','getCollabEntity$','ILocalStorageService','_status$','entityInit$','transform','_labelPosition','wsSessionTicketUrl','findNodePositionByCharIndex','_doCreateSocket','replaceState','includes','ACTIVE_UNIT_EVENT_CHANNEL','defs','PY_RUNTIME_SCRIPT_ERROR','collab-rect-range-','_logService','YUUMI_UNABLE_LOAD_URL','UniverDrawing','UniverProCollaborationClientUi','AWAITING','UniverCollaborationClientUIPlugin','UniverDocsUi','mask','executeCommand','fromEvent','get','getOffsetConfig','SOCKET_FAILED_RETRY','searchParams','Workbook','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','then','onPointerEnter$','application/json','lineTo','indexOf','_handleHeartbeatEvent','show','map','getDocRanges','asObservable','collaboration.single-unit.warning','INVITE_CODE_HAS_BEEN_UES','_selfUnitIDs','@univerjs/docs-ui','source','_collaborationUIEventService','_saveTaskMap','fillStyle','setAlpha','YUUMI_ALL_TABLES_IS_INVALID','_drawTextRange','NO_OTHER_CLIENTS_EDITING','LICENSE_MAX_UNITS_EXCEEDED','@univerjs/docs','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','getMergeData','redoState','_range','loadUnit','_transformService','getTypeOfUnitDisposed$','DesktopCollaborationStatusDisplayController','collab-text-anchor-','IUIPartsService','LICENSE_DISTRO_REJECTED','DeleteRangeMoveUpCommandId','editingUnit','assignAColorForMemberID','_httpService','isTransformMutationsWithChangesetSuccess','_getSessionTicket','@univerjs/rpc','function','selection','INotificationService','_unitOnClients','YUUMI_AI_RUN_FAILED','onPointerLeave$','endRow','NOT_COLLAB','_document','Vector2','@univerjs-pro/collaboration-client','_injector','focused$','icon','MOBILE_HAS_BEEN_BOUND','UniverSheets','setItem','path','react/jsx-runtime','prototype','rgba(255,\x20255,\x20255,\x200.01)','/run/','SUBMIT_CHANGESET_TIMEOUT','idSuffix','MoveRangeCommandId','_revisionService','CollaborationSocketService','origin','#FFF','currentSkeleton$','_removeCollabCursors','@univerjs/core','_lastPointer','executionId','SOCKET_FAILED','handleInsertRow','110907EDzCRy','CONNECTOR_DATA_TOO_LARGE','_anchorDot','_cachedData','RefRangeService','dispose$','_getScale','UniverEngineRender','translate(.97)','APPLY_NON_SEQUENTIAL_REVISION','pluginName','@univerjs/engine-formula','IConfigService','onPointerMove$','useCallback','subscribe','DocIMEInputManagerService','parse','SetWorksheetActivateCommand','purple.300','_dataLoaderService','0\x200\x2017\x2016','collabStatus.conflict','delete','ITransformService','getRenderById','_refRangeService','getAncestorScale','roomMembers','MessageType','@univerjs/sheets-ui','DeleteRangeMoveLeftCommandId','transformRemoteChangeset','ALREADY_EXISTS','stringify','isActive','UNRECOGNIZED','deepClone','Plugin','FETCH_MISS','hide','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','engine','width','removeParam','723576wjuMVa','arc','transformIMECache','_transformHistoryAndStateStack','whenReady','AWAITING_WITH_PENDING','collaboration-client-ui.config','IBeforeCloseService','_render','UNIVER_DOC','Subject','_docTransformStateCacheService','colorChannel1','generateRandomId','_urlService','displayName','_heartbeatTimer','font','transformMutationsWithChangeset','_onCursorUpdate','@univerjs/sheets','_scheduleHeartbeat','46490aVKOWp','_config','LOGIN_FAILED','UniverSheetsUi','LocaleService','_hovered','APPLY_REVISION_CONFILICT','find','disableLocalCache','newValue','roomMembers$','collabStatus.notCollab','UniverNetwork','TEXT_RANGE_LAYER_INDEX','OTHER_CLIENT_EDITING','_anchor','closePath','WebURLService','_commandService','enableLocalCache','some','RemoteUniscriptService','CollaborationSessionService','getCurrent','UniverIcon','clearTimeout','saveOfflineData','_cursors','getColor','_eventUnsubscribe','startRow','NOT_FOUND','SetTextSelectionsOperation','_handleLeaveEvent','65504eJtEsd','runId','OFFLINE','onCommandExecuted','_saveCache','Error','send','defineProperty','_name','setShapeProps','_context','createElement','_handleHover','UnitStatus','_onRefRangeChange','_localCacheService','RichTextEditingMutation','UniverDocs','defIds','DocStateChangeManagerService','getSheetBySheetId','body','_ensureSubject','all','UniverCollaborationClientPlugin','UniverProCollaboration','propertyIsEnumerable','BrowserCollaborationSocketService','CollaborationDataLoaderController','UNIVER_SHEET','_themeService','ENSURE_SNAPSHOT_EXECUTION','_unitStatus','_createSocketURL','sheetId','_instanceService','IUniverInstanceService','round','0\x200\x2016\x2016','TEXT','_getSheetObject','getSkeleton','_removeClearOtherTimer','text','CollaborationStatus','permission.content','mergeOverrideWithDependencies','_hideTimer','_toggleOnline','DisposableCollection','subunit','_uiPartsService','endColumn','_id','red.300','ticket','getStateCache','unitID','switchMap','updateOfflineData','_localStorageService','SNAPSHOT_INVALID_SNAPSHOT','filter','memberID','_updateURLWithCurrentState','addObject','getLocalCacheKey','CollaborationUIEventId','href','history','init','NodePositionConvertToRectRange','DOC_RANGE_TYPE','substring','UniverDesign','_shapes','status$','CommandType','registerRefRange','resize','PERMISSION_DENIED','currentTheme$','forwardRef','registerComponent','override','_collaborationController','SessionStatus','_docSkeletonManagerService','invokeId','fillText','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_toggleOffline','apply','symbol','EMAIL_HAS_BEEN_BOUND','_registerDependencies','fill','univer-flex\x20univer-mr-2\x20univer-text-xl','BuiltInUIPart','VIEW_MAIN','runRefRangeMutations','CHANGESET_REVISION_CONFILICT','DependentOn','drawWith','getTypeOfUnitAdded$','className','disposeUnit','InsertColCommandId','_initResize','getCurrentUnitForType','evenodd','COMPLETION_FINISHED','BehaviorSubject','RECT','SheetsSelectionsService','IMessageService','SheetCollabCursorShape','handleMoveRange','disposeWithMe','_send','InsertRangeMoveRightCommandId','Unknown\x20user','throttleTime','LOCAL_CACHE_INTERVAL','transformByState','Inject','_drawRectRange','exhaustSavingTask','getValue','color','getUnitId','getCurrentSelections','INVITE_CODE_REQUIRED','xlink:href','top','_cursor','ICommandService','with','rxjs','RemoveRowCommandId','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_handleEvent','Disposable','react','_entityInit$','toRgbString','_init','ranges','JOIN_ROOM_FAILED','getCellPositionByOffset','#fff','getSheetObject','_roomMembers$','getUnitStatus$','runOnServer','location','_setupSubUnitSync','jsxs','toString','setUndoRedoMutationParamsCache','getColorFromTheme','useDependency','restore','_docClipboardService','INTERNAL_ERROR','collabStatus.fetchMiss','size','handleIRemoveRow','@univerjs/drawing','IDocClipboardService','_updateLocalCursor','setInterval','SetDocZoomRatioOperation','onRendered','handleIRemoveCol','_colorIndex','_imageIoService','unit','sessionStatus$','PENDING','transformStateCache','string','YUUMI_ASYNCIO_CANCELLED','_draw','jsx','YUUMI_TABLE_NOT_FOUND_IN_UNIT','eventID','getFocusedUnit','LICENSE_IMPORT_SIZE_EXCEEDED','_docSkeleton','getSheetId','clearInterval','2602720bQhUoG','children','use','onMouseMove','m2Prime','YUUMI_SUBSCRIPTION_NOT_FOUND','syncEditingCollabCursor','USERS_LEAVE','clipPath','onLocalMutation','bottom','1751643iizKtH','collaboration.closeRoom','mutations','name','unsubscribe','getUnhiddenWorksheets','setConfig','column','IURLService','toStringTag','RxDisposable','setStateCache','React','createInstance','CollaborationEvent','getMember','@univerjs/ui','USER_NOT_INVITED_CODE','div','_collabSessionService','isEditing','debounce','unitId','call','UniverCore','merge','random','pushState','WECHAT_HAS_BEEN_BOUND','type','takeUntil','serializeRangeWithSheet','range','SheetSkeletonManagerService','attrs','undoState','Optional','_collabCursorState$','_colorAssignService','forEach','labelPosition','getOwnPropertyDescriptor','urlChange$','add','setActiveRange','getCollabCursors$','requireSession','MemberService','registerBeforeClose','_docStateChangeManagerService','...','data','imageSourceType','M0\x200H16V16H0z','from','_handleJoinEvent','isArray','getConfig','session.collaboration-timeout','_onCursorDelete','YUUMI_RATE_OVER_LIMIT','flatMap','getRangePointData','_initStatusListener','_initEntityListener','dispose','RegularPolygon','Tools','contains','error','split','next','UPDATE_CURSOR','_renderManagerService','_configService','collab-client.tooltip.reconnect','handleInsertCol','row','_registerRenderDependencies','_univerInstanceService','on-line-single_clip0_910_349','Module','DocSelectionManagerService','useObservable','save','92VehDXx','[CollaborationDataLoaderController]','has','_messageService','loadOfflineData','concat','_cursorShapes','operators','tag','handleInsertRangeMoveDown','CONFLICT','replace','yellow.400','OffLineSingle','_docTransformSelectionsService','_initCommandExecutedListener','_color','session.will-retry','APPLY_PERMISSION_DENIED','permission.title','cursorInfo','svg','_getMergeRange','YUUMI_URL_COL_OUT_OF_RANGE','_startDocCollabCursor','params','cursorInfo$','textRanges','session.connection-failed','_memberService','IImageIoService','UniverInstanceType','createSocket','isTransformMutationFailure','transformMutation','ColorKit','ISnapshotServerService','CollaborationController','off-line-single_clip0_910_343','setParam','IRenderManagerService','url(#on-line-single_clip0_910_349)','pipe','_transformPreviousActiveRange','on-line-single','getCurrentRevOfUnit','saveTaskMap','INVALID_INVITE_CODE','_beforeCloseService','COLORS','collab-text-range-','CollaborationStatusDisplay','HTTPService','_scene','skeleton','black','post','920ffjlLt','univerjs-icon\x20univerjs-icon-','_assignedColors','values','_drawAnchor','getParam','fillRule','_cursorInfo$','Injector','ONLINE','popstate','InsertRangeMoveDownCommandId','RemoveColCommandId','LICENSE_EXPORT_SIZE_EXCEEDED','code','APPLY_DUPLICATED','_scheduleSaving','_docSyncEditingCollabCursorService','_disabled','event$','length','addHandlerCallback','_backgroundColor','_updateCollabCursors','Rectangle','_initDependencies','Warning','_hover','getMemberID','m1Prime','_notificationService','startsWith','backgroundColor','getOwnPropertySymbols','CLOSE_ROOM','SYNCED','EffectRefRangId','YUUMI_NO_CUBOID_FOR_QUESTION','_transformUndoRedoStack','addEventListener','amd','21ZyJvzg','ILocalCacheService','complete','3691056QqJnZj','storage','uni.network.url-service','addObjects','assign','_entities','makeDirty','@univerjs-pro/collaboration','@univerjs/design','ISocketService','OTHER_CLIENTS_EDITING','_collabCursorController','none','subscribeEvent','hasOwnProperty','registerRenderModule','1em','max','search','_updateSubUnitFromURLParams','createIdentifier','currentColor','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED'];_0x5a91=function(){return _0x222c8c;};return _0x5a91();}