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

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 _0x1dc9(_0x521261,_0x1e7900){const _0x235282=_0x2352();return _0x1dc9=function(_0x1dc9c2,_0x512fda){_0x1dc9c2=_0x1dc9c2-0xfa;let _0x11abc5=_0x235282[_0x1dc9c2];return _0x11abc5;},_0x1dc9(_0x521261,_0x1e7900);}(function(_0x1b7a1a,_0x26c4f4){const _0x6ee3b3=_0x1dc9,_0x414f67=_0x1b7a1a();while(!![]){try{const _0x470ea7=parseInt(_0x6ee3b3(0x368))/0x1*(-parseInt(_0x6ee3b3(0x136))/0x2)+parseInt(_0x6ee3b3(0x282))/0x3+-parseInt(_0x6ee3b3(0x312))/0x4+-parseInt(_0x6ee3b3(0x127))/0x5+parseInt(_0x6ee3b3(0x20f))/0x6*(-parseInt(_0x6ee3b3(0x22e))/0x7)+parseInt(_0x6ee3b3(0x1f3))/0x8*(-parseInt(_0x6ee3b3(0x14f))/0x9)+-parseInt(_0x6ee3b3(0x397))/0xa*(-parseInt(_0x6ee3b3(0x2de))/0xb);if(_0x470ea7===_0x26c4f4)break;else _0x414f67['push'](_0x414f67['shift']());}catch(_0x526a91){_0x414f67['push'](_0x414f67['shift']());}}}(_0x2352,0x4937f),function(_0x391fa8,_0x52699b){const _0x547c8a=_0x1dc9;typeof exports=='object'&&typeof module<'u'?_0x52699b(exports,require(_0x547c8a(0x191)),require('@univerjs/core'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require(_0x547c8a(0x187)),require(_0x547c8a(0x139)),require(_0x547c8a(0x16b)),require('@univerjs-pro/collaboration'),require('@univerjs/engine-formula'),require(_0x547c8a(0x267)),require(_0x547c8a(0x38a)),require(_0x547c8a(0x1f1)),require(_0x547c8a(0x29c)),require(_0x547c8a(0x26e)),require(_0x547c8a(0x276)),require(_0x547c8a(0x2b3)),require('@univerjs/rpc')):typeof define==_0x547c8a(0x354)&&define[_0x547c8a(0x217)]?define(['exports',_0x547c8a(0x191),_0x547c8a(0x2f0),_0x547c8a(0x3a0),_0x547c8a(0x271),_0x547c8a(0x156),'@univerjs/drawing',_0x547c8a(0x139),'@univerjs/docs','@univerjs-pro/collaboration',_0x547c8a(0x208),_0x547c8a(0x267),_0x547c8a(0x38a),_0x547c8a(0x1f1),_0x547c8a(0x29c),_0x547c8a(0x26e),_0x547c8a(0x276),_0x547c8a(0x2b3),_0x547c8a(0x169)],_0x52699b):(_0x391fa8=typeof globalThis<'u'?globalThis:_0x391fa8||self,_0x52699b(_0x391fa8[_0x547c8a(0x263)]={},_0x391fa8[_0x547c8a(0x11a)],_0x391fa8['UniverCore'],_0x391fa8['UniverEngineRender'],_0x391fa8[_0x547c8a(0x3a3)],_0x391fa8['UniverDocsUi'],_0x391fa8['UniverDrawing'],_0x391fa8[_0x547c8a(0x139)],_0x391fa8[_0x547c8a(0x35a)],_0x391fa8[_0x547c8a(0x24f)],_0x391fa8[_0x547c8a(0x230)],_0x391fa8[_0x547c8a(0x38e)],_0x391fa8[_0x547c8a(0x139)]['operators'],_0x391fa8[_0x547c8a(0x16f)],_0x391fa8[_0x547c8a(0x287)],_0x391fa8[_0x547c8a(0x254)],_0x391fa8['UniverDesign'],_0x391fa8['React'],_0x391fa8[_0x547c8a(0x20b)]));}(this,function(_0x45539c,_0x3eb9ff,_0x2759ff,_0xa08486,_0x194e64,_0x26d882,_0x34b239,_0x537bbf,_0x12f405,_0xd015f1,_0x1b9469,_0x355b60,_0x19b523,_0x1e5a7e,_0x455ea0,_0x1f9573,_0x4d45ae,_0x431136,_0x1f2f97){'use strict';const _0x201e57=_0x1dc9;var _0x5775f4=Object[_0x201e57(0x13a)],_0x303f10=(_0x4e47e1,_0x448d69,_0x4e1a7c)=>_0x448d69 in _0x4e47e1?_0x5775f4(_0x4e47e1,_0x448d69,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4e1a7c}):_0x4e47e1[_0x448d69]=_0x4e1a7c,_0x252fd8=(_0x399d78,_0x482dd8,_0x5c20b0)=>_0x303f10(_0x399d78,typeof _0x482dd8!=_0x201e57(0x25c)?_0x482dd8+'':_0x482dd8,_0x5c20b0),_0xffb82=Object[_0x201e57(0x241)],_0x582a5f=(_0x10316f,_0x52820f,_0x1df013,_0xce00c)=>{const _0x3de23a=_0x201e57;for(var _0x5098f2=_0xce00c>0x1?void 0x0:_0xce00c?_0xffb82(_0x52820f,_0x1df013):_0x52820f,_0x3ef4f4=_0x10316f[_0x3de23a(0x2da)]-0x1,_0x540742;_0x3ef4f4>=0x0;_0x3ef4f4--)(_0x540742=_0x10316f[_0x3ef4f4])&&(_0x5098f2=_0x540742(_0x5098f2)||_0x5098f2);return _0x5098f2;},_0x11e2a7=(_0x44591d,_0x2236de)=>(_0x250944,_0x3e0631)=>_0x2236de(_0x250944,_0x3e0631,_0x44591d);let _0x3b2650=class extends _0x2759ff[_0x201e57(0x243)]{constructor(_0x562162,_0x4dc49b){const _0xb7a3dc=_0x201e57;super(),this[_0xb7a3dc(0x367)]=_0x562162,this[_0xb7a3dc(0x332)]=_0x4dc49b,this[_0xb7a3dc(0x338)]();}[_0x201e57(0x338)](){const _0x352d46=_0x201e57,_0x4f8ec7=this;this[_0x352d46(0x38b)](this[_0x352d46(0x367)][_0x352d46(0x1b8)]({'onBeforePasteImage':async _0x2bffa5=>{const _0x11d2e2=_0x352d46,_0x44fc36=await _0x4f8ec7['_imageIoService'][_0x11d2e2(0x2d1)](_0x2bffa5);return _0x44fc36?{'source':_0x44fc36['source'],'imageSourceType':_0x44fc36[_0x11d2e2(0x33d)]}:null;}}));}};_0x3b2650=_0x582a5f([_0x11e2a7(0x0,_0x26d882[_0x201e57(0x2aa)]),_0x11e2a7(0x1,_0x34b239[_0x201e57(0x322)])],_0x3b2650);const _0x42f6eb=[_0x201e57(0x210),_0x201e57(0x2f5),_0x201e57(0x2f3),'red.300',_0x201e57(0xfa),_0x201e57(0x204)];class _0x3cb2a0 extends _0x2759ff[_0x201e57(0x258)]{constructor(){const _0x5a289a=_0x201e57;super(...arguments),_0x252fd8(this,_0x5a289a(0x161),new Map()),_0x252fd8(this,_0x5a289a(0x27b),0x0);}['assignAColorForMemberID'](_0x350d52){const _0x2b50c9=_0x201e57;if(this[_0x2b50c9(0x161)]['has'](_0x350d52))return this[_0x2b50c9(0x161)]['get'](_0x350d52);const _0x2bd304=_0x42f6eb[this[_0x2b50c9(0x27b)]];return this[_0x2b50c9(0x27b)]=(this['_colorIndex']+0x1)%_0x42f6eb[_0x2b50c9(0x2da)],this[_0x2b50c9(0x161)][_0x2b50c9(0x18d)](_0x350d52,_0x2bd304),_0x2bd304;}}function _0x227243(_0x469512){let _0x2de0a6='';for(const _0x309ce5 of _0x469512){const {startOffset:_0x3bb288,endOffset:_0x236105,isActive:_0x4d110d,rangeType:_0x1c9f4d,segmentId:_0x33e1ae,segmentPage:_0x56a70e}=_0x309ce5;_0x2de0a6['length']&&(_0x2de0a6+=','),_0x2de0a6+=_0x3bb288+':'+_0x236105+':'+(_0x4d110d?'1':'0')+':'+_0x1c9f4d+':'+_0x33e1ae+':'+_0x56a70e;}return _0x2de0a6;}function _0x57918b(_0xf52dff){const _0x1f3ef3=_0x201e57,_0x56cb15=_0xf52dff[_0x1f3ef3(0x279)](','),_0x413b0c=[];for(const _0x4206d3 of _0x56cb15){const [_0x23390e,_0xbddb5f,_0x2d05b3,_0x58b214,_0x2c977e,_0xfd038f]=_0x4206d3[_0x1f3ef3(0x279)](':');_0x413b0c[_0x1f3ef3(0x260)]({'startOffset':Number(_0x23390e),'endOffset':Number(_0xbddb5f),'collapsed':_0x23390e===_0xbddb5f,'isActive':_0x2d05b3==='1','rangeType':_0x58b214===_0x2759ff[_0x1f3ef3(0x33a)]['TEXT']?_0x2759ff[_0x1f3ef3(0x33a)][_0x1f3ef3(0x15f)]:_0x2759ff['DOC_RANGE_TYPE'][_0x1f3ef3(0x333)],'segmentId':typeof _0x2c977e==_0x1f3ef3(0x28c)?String(_0x2c977e):'','segmentPage':Number(_0xfd038f!=null?_0xfd038f:-0x1)});}return _0x413b0c[_0x1f3ef3(0x192)](_0x180386=>_0x180386[_0x1f3ef3(0x381)])||(_0x413b0c[0x0][_0x1f3ef3(0x381)]=!0x0),_0x413b0c;}class _0x2261c7 extends _0x2759ff[_0x201e57(0x243)]{constructor(){const _0x4a00c7=_0x201e57;super(...arguments),_0x252fd8(this,'_collabCursorState$',new _0x537bbf[(_0x4a00c7(0x116))](null)),_0x252fd8(this,_0x4a00c7(0x362),this['_collabCursorState$']['asObservable']());}['syncEditingCollabCursor'](_0x16fdbb){const _0x3f60bb=_0x201e57,{unitID:_0x30d761,memberID:_0x28f8a7,textRanges:_0x25c8ab}=_0x16fdbb,_0x3d8a7a=_0x227243(_0x25c8ab);if(_0x3d8a7a==='')return;const _0x49df7c={'unitID':_0x30d761,'memberID':_0x28f8a7,'selection':_0x3d8a7a};this['_collabCursorState$'][_0x3f60bb(0x2a1)](_0x49df7c);}}var _0x2fba05=Object[_0x201e57(0x241)],_0x221f0d=(_0x35ef97,_0x53a664,_0x29c97a,_0x24521a)=>{for(var _0xed1540=_0x24521a>0x1?void 0x0:_0x24521a?_0x2fba05(_0x53a664,_0x29c97a):_0x53a664,_0x363a97=_0x35ef97['length']-0x1,_0x5f4931;_0x363a97>=0x0;_0x363a97--)(_0x5f4931=_0x35ef97[_0x363a97])&&(_0xed1540=_0x5f4931(_0xed1540)||_0xed1540);return _0xed1540;},_0x51d90b=(_0xb2ae48,_0x3d94c7)=>(_0x3ffcfb,_0x4c098e)=>_0x3d94c7(_0x3ffcfb,_0x4c098e,_0xb2ae48);const _0x3696fd=0x12c,_0x125c9b=0x64;let _0xc8e920=class extends _0x2759ff[_0x201e57(0x243)]{constructor(_0x27547f,_0x377536,_0x543abe,_0x585bdb,_0x548403,_0x40a557,_0x37d66d,_0x44ad84,_0x3d426d){const _0x1c0fb0=_0x201e57;super(),_0x252fd8(this,_0x1c0fb0(0x2be),!0x1),_0x252fd8(this,_0x1c0fb0(0x338),!0x1),_0x252fd8(this,_0x1c0fb0(0x309),new _0x537bbf[(_0x1c0fb0(0x116))](new Map())),_0x252fd8(this,_0x1c0fb0(0x1a8),this['_cursorInfo$'][_0x1c0fb0(0x1c7)]()),_0x252fd8(this,_0x1c0fb0(0x200),new _0x537bbf[(_0x1c0fb0(0x116))]([])),_0x252fd8(this,_0x1c0fb0(0x372),this[_0x1c0fb0(0x200)]['pipe'](_0x537bbf[_0x1c0fb0(0x1ec)](_0x3696fd))),_0x252fd8(this,_0x1c0fb0(0x194),_0x2759ff[_0x1c0fb0(0x2ea)](_0x20932e=>{const _0x5ed993=_0x1c0fb0,_0x11e019={'eventID':_0xd015f1[_0x5ed993(0x167)][_0x5ed993(0x295)],'data':{'unitID':this['unitID'],'memberID':this['_session']['getMemberID'](),'selection':_0x227243(_0x20932e)}};this[_0x5ed993(0x39a)][_0x5ed993(0x244)](_0x11e019,this['unitID']);},_0x125c9b)),(this['unitID']=_0x27547f,this[_0x1c0fb0(0x39a)]=_0x377536,this[_0x1c0fb0(0x15a)]=_0x543abe,this[_0x1c0fb0(0x102)]=_0x585bdb,this[_0x1c0fb0(0x2f1)]=_0x548403,this[_0x1c0fb0(0x352)]=_0x40a557,this['_transformService']=_0x37d66d,this[_0x1c0fb0(0x346)]=_0x44ad84,this[_0x1c0fb0(0x31a)]=_0x3d426d);}get[_0x201e57(0x396)](){return this['_cursorInfo$']['getValue']();}get[_0x201e57(0x1e5)](){const _0x133ef9=_0x201e57;return this[_0x133ef9(0x200)][_0x133ef9(0x2ba)]();}['dispose'](){const _0x99ea05=_0x201e57;super[_0x99ea05(0x2c2)](),this[_0x99ea05(0x309)]['next'](new Map()),this[_0x99ea05(0x309)][_0x99ea05(0x21e)](),this[_0x99ea05(0x200)][_0x99ea05(0x2a1)]([]),this[_0x99ea05(0x200)]['complete']();}[_0x201e57(0x19c)](){const _0x114740=_0x201e57;this['_init']||(this[_0x114740(0x338)]=!0x0,this[_0x114740(0x39a)][_0x114740(0x34e)]['pipe'](_0x537bbf[_0x114740(0x35c)](this[_0x114740(0x311)]))[_0x114740(0x30d)](_0x113d18=>{const _0x4bbd65=_0x114740;_0x113d18===_0x3eb9ff[_0x4bbd65(0x18e)][_0x4bbd65(0x252)]?this[_0x4bbd65(0x386)]():this['_toggleOffline']();}),this['_session'][_0x114740(0x36e)][_0x114740(0x1fb)](_0x537bbf[_0x114740(0x35c)](this[_0x114740(0x311)]))[_0x114740(0x30d)](_0x6819cd=>{const _0x51e802=_0x114740,_0x2dfc30=_0x6819cd['eventID'];_0x2dfc30===_0xd015f1[_0x51e802(0x167)][_0x51e802(0x295)]&&this[_0x51e802(0x165)](_0x6819cd),_0x2dfc30===_0xd015f1[_0x51e802(0x167)][_0x51e802(0x1ee)]&&this[_0x51e802(0x264)](_0x6819cd);}),this[_0x114740(0x38b)](this['_commandService']['onCommandExecuted'](_0x580526=>{const _0x4842e2=_0x114740,_0x4b028b=_0x580526[_0x4842e2(0x299)];_0x4b028b!=null&&this[_0x4842e2(0x2be)]&&_0x580526['id']===_0x12f405[_0x4842e2(0x21b)]['id']&&_0x4b028b['unitId']===this[_0x4842e2(0x124)]&&_0x4b028b[_0x4842e2(0x272)]===!0x1&&_0x4b028b[_0x4842e2(0x2d3)][_0x4842e2(0x2da)]>0x0&&this[_0x4842e2(0x194)](_0x4b028b[_0x4842e2(0x2d3)]);})),this[_0x114740(0x352)]['collabCursorState$'][_0x114740(0x1fb)](_0x537bbf[_0x114740(0x35c)](this[_0x114740(0x311)]))[_0x114740(0x30d)](_0x33fee0=>{const _0x2b00f6=_0x114740;if((_0x33fee0==null?void 0x0:_0x33fee0[_0x2b00f6(0x124)])!==this[_0x2b00f6(0x124)])return;const _0x554901={'eventID':_0xd015f1[_0x2b00f6(0x167)]['UPDATE_CURSOR'],'data':_0x33fee0};this[_0x2b00f6(0x165)](_0x554901);}),this[_0x114740(0x38b)](this[_0x114740(0x31a)][_0x114740(0x1ad)](_0x401bbd=>{const _0x17deeb=_0x114740;if(_0x401bbd['params']==null)return;const _0x5327dc=_0x401bbd[_0x17deeb(0x299)];if(_0x401bbd['id']!==_0x12f405[_0x17deeb(0x37a)]['id']||_0x5327dc[_0x17deeb(0x2eb)]!==this['unitID'])return;const _0x364527={'id':_0x17deeb(0x12a),'params':_0x5327dc},_0x1fd99c=this[_0x17deeb(0x396)];for(const [_0x4369a9,_0x554db1]of _0x1fd99c){const _0x3d38e1={'id':_0x17deeb(0x12a),'params':{'unitId':this[_0x17deeb(0x124)],'actions':null,'textRanges':_0x554db1[_0x17deeb(0x2d3)]}},_0x4f3cf5=this['_transformService'][_0x17deeb(0x1dc)](_0x364527,_0x3d38e1,!0x1);if(_0xd015f1[_0x17deeb(0x150)](_0x4f3cf5))throw _0x4f3cf5['error'];_0x1fd99c[_0x17deeb(0x18d)](_0x4369a9,{..._0x554db1,'ranges':_0x4f3cf5[_0x17deeb(0x2db)]['params']['textRanges']});}queueMicrotask(()=>{const _0x114c62=_0x17deeb;this[_0x114c62(0x309)][_0x114c62(0x2a1)](_0x1fd99c);});})));}['_onCursorUpdate'](_0x533558){const _0x47282c=_0x201e57;var _0x173eb5,_0x5a7e65;const {memberID:_0x3ea797,selection:_0x147e36}=_0x533558['data'],_0x446fac=_0x57918b(_0x147e36),_0x426b8a=(_0x5a7e65=(_0x173eb5=this['_memberService']['getMember'](this[_0x47282c(0x124)],_0x3ea797))==null?void 0x0:_0x173eb5[_0x47282c(0x168)])!=null?_0x5a7e65:_0x47282c(0x121),_0x58e84e={'color':this[_0x47282c(0x102)][_0x47282c(0x201)](_0x3ea797),'name':_0x426b8a,'ranges':_0x446fac},_0xe555c2=this[_0x47282c(0x396)];_0xe555c2[_0x47282c(0x18d)](_0x3ea797,_0x58e84e),this[_0x47282c(0x309)]['next'](_0xe555c2);}['_onCursorDelete'](_0x145bd1){const _0x537343=_0x201e57,{memberID:_0x412b40}=_0x145bd1[_0x537343(0x1b6)],_0x3efeea=this[_0x537343(0x396)];_0x3efeea['delete'](_0x412b40),this[_0x537343(0x309)][_0x537343(0x2a1)](_0x3efeea);}[_0x201e57(0x386)](){const _0x39be8f=_0x201e57;var _0x217c82;if(this[_0x39be8f(0x2be)]=!0x0,((_0x217c82=this[_0x39be8f(0x346)]['getFocusedUnit']())==null?void 0x0:_0x217c82[_0x39be8f(0x1f0)]())!==this[_0x39be8f(0x124)])return;const _0x238e3f=this[_0x39be8f(0x15a)][_0x39be8f(0x363)](_0x12f405[_0x39be8f(0x1bb)])[_0x39be8f(0x107)]();Array[_0x39be8f(0x2ff)](_0x238e3f)&&_0x238e3f[_0x39be8f(0x2da)]>0x0&&this[_0x39be8f(0x194)](_0x238e3f);}[_0x201e57(0x23f)](){const _0x2af77a=_0x201e57;this[_0x2af77a(0x2be)]=!0x1;}};_0xc8e920=_0x221f0d([_0x51d90b(0x2,_0x2759ff[_0x201e57(0x1d6)](_0x2759ff[_0x201e57(0x118)])),_0x51d90b(0x3,_0x2759ff[_0x201e57(0x1d6)](_0x3cb2a0)),_0x51d90b(0x4,_0x2759ff['Inject'](_0x3eb9ff['MemberService'])),_0x51d90b(0x5,_0x2759ff['Inject'](_0x2261c7)),_0x51d90b(0x6,_0xd015f1[_0x201e57(0x261)]),_0x51d90b(0x7,_0x2759ff[_0x201e57(0x28d)]),_0x51d90b(0x8,_0x2759ff[_0x201e57(0x236)])],_0xc8e920);var _0x23a8b6=Object[_0x201e57(0x241)],_0x3ee104=(_0xf6285f,_0x71311b,_0x5ec5b9,_0x51cf05)=>{for(var _0x548aaf=_0x51cf05>0x1?void 0x0:_0x51cf05?_0x23a8b6(_0x71311b,_0x5ec5b9):_0x71311b,_0x22d1d0=_0xf6285f['length']-0x1,_0x1d20bc;_0x22d1d0>=0x0;_0x22d1d0--)(_0x1d20bc=_0xf6285f[_0x22d1d0])&&(_0x548aaf=_0x1d20bc(_0x548aaf)||_0x548aaf);return _0x548aaf;},_0x269449=(_0x1c3db8,_0x2da2ec)=>(_0x3e4819,_0x2399eb)=>_0x2da2ec(_0x3e4819,_0x2399eb,_0x1c3db8);const _0x149fd4=0x12c,_0x5bf8a3=0x64,_0x4c142a=()=>{let _0x337211=[],_0x212cdf=!0x1;return _0x2ab808=>{const _0x4770f8=_0x1dc9;_0x337211[_0x4770f8(0x260)](_0x2ab808),_0x212cdf||(_0x212cdf=!0x0,setTimeout(()=>{const _0x37f5a5=_0x4770f8;_0x337211[_0x37f5a5(0x2e8)](_0x473db0=>_0x473db0()),_0x337211=[],_0x212cdf=!0x1;}));};};let _0x2f5915=class extends _0x2759ff[_0x201e57(0x243)]{constructor(_0x393278,_0x512085,_0x33e9be,_0x5413c7,_0x59b878,_0x528398,_0x1d52fd,_0x2f1fea){const _0x206e8c=_0x201e57;super(),_0x252fd8(this,'_online',!0x1),_0x252fd8(this,_0x206e8c(0x338),!0x1),_0x252fd8(this,'_cursorInfo$',new _0x537bbf['BehaviorSubject'](new Map())),_0x252fd8(this,_0x206e8c(0x1a8),this[_0x206e8c(0x309)][_0x206e8c(0x1c7)]()),_0x252fd8(this,_0x206e8c(0x200),new _0x537bbf['BehaviorSubject']([])),_0x252fd8(this,_0x206e8c(0x372),this['_roomMembers$']['pipe'](_0x537bbf[_0x206e8c(0x1ec)](_0x149fd4))),_0x252fd8(this,_0x206e8c(0x194),_0x2759ff[_0x206e8c(0x2ea)]((_0x55bc41,_0xbb4c6a)=>{const _0x481d63=_0x206e8c,_0x58deac={'eventID':_0xd015f1[_0x481d63(0x167)][_0x481d63(0x295)],'data':{'unitID':this[_0x481d63(0x124)],'memberID':this['_session'][_0x481d63(0x14d)](),'selection':_0x1b9469[_0x481d63(0x2d0)](_0x55bc41,_0xbb4c6a[_0x481d63(0xfe)])}};this[_0x481d63(0x39a)][_0x481d63(0x244)](_0x58deac,this[_0x481d63(0x124)]);},_0x5bf8a3)),(this['unitID']=_0x393278,this[_0x206e8c(0x39a)]=_0x512085,this[_0x206e8c(0x15a)]=_0x33e9be,this[_0x206e8c(0x102)]=_0x5413c7,this[_0x206e8c(0x2f1)]=_0x59b878,this['_univerInstanceService']=_0x528398,this[_0x206e8c(0x31a)]=_0x1d52fd,this[_0x206e8c(0x269)]=_0x2f1fea);}get['cursorInfo'](){const _0x483524=_0x201e57;return this['_cursorInfo$'][_0x483524(0x2ba)]();}get[_0x201e57(0x1e5)](){const _0x5288bb=_0x201e57;return this[_0x5288bb(0x200)][_0x5288bb(0x2ba)]();}['dispose'](){const _0x2c2754=_0x201e57;super[_0x2c2754(0x2c2)](),this[_0x2c2754(0x309)][_0x2c2754(0x2a1)](new Map()),this[_0x2c2754(0x309)][_0x2c2754(0x21e)](),this[_0x2c2754(0x200)][_0x2c2754(0x2a1)]([]),this[_0x2c2754(0x200)]['complete']();}['init'](){const _0x15e95d=_0x201e57;this[_0x15e95d(0x338)]||(this[_0x15e95d(0x338)]=!0x0,this[_0x15e95d(0x39a)][_0x15e95d(0x34e)][_0x15e95d(0x1fb)](_0x537bbf[_0x15e95d(0x35c)](this[_0x15e95d(0x311)]))[_0x15e95d(0x30d)](_0x215ecc=>{const _0x39e719=_0x15e95d;_0x215ecc===_0x3eb9ff[_0x39e719(0x18e)][_0x39e719(0x252)]?this[_0x39e719(0x386)]():this[_0x39e719(0x23f)]();}),this[_0x15e95d(0x39a)][_0x15e95d(0x36e)][_0x15e95d(0x1fb)](_0x537bbf[_0x15e95d(0x35c)](this[_0x15e95d(0x311)]))[_0x15e95d(0x30d)](_0x1d2909=>{const _0x279a6b=_0x15e95d,_0x1ac25d=_0x1d2909[_0x279a6b(0x23b)];_0x1ac25d===_0xd015f1[_0x279a6b(0x167)]['UPDATE_CURSOR']&&this[_0x279a6b(0x165)](_0x1d2909),_0x1ac25d===_0xd015f1[_0x279a6b(0x167)][_0x279a6b(0x1ee)]&&this[_0x279a6b(0x264)](_0x1d2909);}),this[_0x15e95d(0x10a)](),this['disposeWithMe'](this[_0x15e95d(0x31a)][_0x15e95d(0x1ad)](_0x27639c=>{const _0x4916a5=_0x15e95d;if(this['_online']&&_0x27639c['id']===_0x355b60['SetSelectionsOperation']['id']&&_0x27639c[_0x4916a5(0x299)][_0x4916a5(0x2eb)]===this[_0x4916a5(0x124)]){const _0x25fbe0=_0x27639c[_0x4916a5(0x299)];this[_0x4916a5(0x194)](_0x25fbe0[_0x4916a5(0x37c)],_0x25fbe0['selections'][0x0]);}})));}[_0x201e57(0x165)](_0x5429ad){const _0x594074=_0x201e57;var _0x42bac6,_0x4f107e;const {memberID:_0x1493d2,selection:_0x1b887d}=_0x5429ad['data'],{sheetName:_0x17bf0c,range:_0x50c063}=_0x1b9469['deserializeRangeWithSheet'](_0x1b887d),_0x588fe2={'name':(_0x4f107e=(_0x42bac6=this[_0x594074(0x2f1)][_0x594074(0x370)](this['unitID'],_0x1493d2))==null?void 0x0:_0x42bac6[_0x594074(0x168)])!=null?_0x4f107e:_0x594074(0x121),'range':this[_0x594074(0x2a7)](_0x17bf0c,_0x50c063),'sheetID':_0x17bf0c,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x1493d2),'selection':_0x1b887d},_0x1069ce=this[_0x594074(0x396)];_0x1069ce[_0x594074(0x18d)](_0x1493d2,_0x588fe2),this['_cursorInfo$'][_0x594074(0x2a1)](_0x1069ce);}[_0x201e57(0x264)](_0x2a4f77){const _0x30dc5a=_0x201e57,{memberID:_0x3a6fba}=_0x2a4f77[_0x30dc5a(0x1b6)],_0x2e74bd=this[_0x30dc5a(0x396)];_0x2e74bd[_0x30dc5a(0x1c1)](_0x3a6fba),this[_0x30dc5a(0x309)]['next'](_0x2e74bd);}[_0x201e57(0x2a7)](_0xf70e6a,_0x399a97){const _0x3d0249=_0x201e57;var _0x55ec30,_0x15561e;const _0x45c0dc=(_0x15561e=(_0x55ec30=this[_0x3d0249(0x346)]['getUniverSheetInstance'](this[_0x3d0249(0x124)]))==null?void 0x0:_0x55ec30['getSheetBySheetId'](_0xf70e6a))==null?void 0x0:_0x15561e['getMergeData']();return(_0x45c0dc==null?void 0x0:_0x45c0dc[_0x3d0249(0xfb)](_0x3eb1f9=>_0x2759ff[_0x3d0249(0x361)][_0x3d0249(0x339)](_0x3eb1f9,_0x399a97)))||_0x399a97;}[_0x201e57(0x10a)](){const _0x23c672=_0x201e57,_0x56e12a=new _0x2759ff['DisposableCollection'](),_0x4d77b6=_0x4c142a(),_0x1e7cfe=()=>{const _0x241e03=_0x1dc9;_0x56e12a[_0x241e03(0x2c2)]();const _0x4c2370=(_0x5959d7,_0x14430b,_0x1a7b10,_0x20c444)=>{const _0x54cc2d=_0x241e03;let _0x328902=[];switch(_0x5959d7['id']){case _0x355b60['EffectRefRangId'][_0x54cc2d(0x300)]:{_0x328902=_0x355b60['handleDeleteRangeMoveLeft'](_0x5959d7,_0x20c444);break;}case _0x355b60[_0x54cc2d(0x2f8)][_0x54cc2d(0x132)]:{_0x328902=_0x355b60[_0x54cc2d(0x307)](_0x5959d7,_0x20c444);break;}case _0x355b60[_0x54cc2d(0x2f8)][_0x54cc2d(0x2bd)]:{_0x328902=_0x355b60[_0x54cc2d(0x2e0)](_0x5959d7,_0x20c444);break;}case _0x355b60['EffectRefRangId'][_0x54cc2d(0x1c4)]:{_0x328902=_0x355b60[_0x54cc2d(0x2b4)](_0x5959d7,_0x20c444);break;}case _0x355b60[_0x54cc2d(0x2f8)][_0x54cc2d(0x175)]:{_0x328902=_0x355b60[_0x54cc2d(0x36a)](_0x5959d7,_0x20c444);break;}case _0x355b60[_0x54cc2d(0x2f8)]['InsertRowCommandId']:{_0x328902=_0x355b60[_0x54cc2d(0x12e)](_0x5959d7,_0x20c444);break;}case _0x355b60[_0x54cc2d(0x2f8)]['MoveRangeCommandId']:{_0x328902=_0x355b60[_0x54cc2d(0x30f)](_0x5959d7,_0x20c444);break;}case _0x355b60[_0x54cc2d(0x2f8)]['RemoveColCommandId']:{_0x328902=_0x355b60[_0x54cc2d(0x176)](_0x5959d7,_0x20c444);break;}case _0x355b60[_0x54cc2d(0x2f8)][_0x54cc2d(0x1b2)]:{_0x328902=_0x355b60['handleIRemoveRow'](_0x5959d7,_0x20c444);break;}}const _0x265df5=_0x355b60[_0x54cc2d(0x1a5)](_0x328902,_0x20c444),_0x2111c7=this['cursorInfo'][_0x54cc2d(0x363)](_0x14430b);if(_0x2111c7&&_0x265df5){const _0x10e3ee={..._0x2111c7,'range':_0x265df5};this[_0x54cc2d(0x396)][_0x54cc2d(0x18d)](_0x14430b,_0x10e3ee),_0x4d77b6(()=>{const _0x83d69e=_0x54cc2d,_0xd046a9=this[_0x83d69e(0x269)][_0x83d69e(0x144)](_0x265df5,_0x16e1fe=>(_0xd046a9[_0x83d69e(0x2c2)](),_0x4c2370(_0x16e1fe,_0x14430b,_0x1a7b10,_0x265df5)));_0x56e12a['add'](_0xd046a9);});}return{'redos':[],'undos':[]};};this[_0x241e03(0x396)][_0x241e03(0x2e8)]((_0x34d9fd,_0x1cc170)=>{const _0x84d1f9=_0x241e03,{range:_0x454a3e,sheetID:_0x302d9c}=_0x34d9fd,_0x43e1d5=this[_0x84d1f9(0x269)]['registerRefRange'](_0x454a3e,_0x46025a=>(_0x43e1d5[_0x84d1f9(0x2c2)](),_0x4c2370(_0x46025a,_0x1cc170,_0x302d9c,_0x454a3e)));_0x56e12a[_0x84d1f9(0x27d)](_0x43e1d5);});};this[_0x23c672(0x38b)](_0x2759ff[_0x23c672(0x36b)](this['_cursorInfo$'][_0x23c672(0x30d)](()=>{_0x1e7cfe();})));}[_0x201e57(0x386)](){const _0x3ec77c=_0x201e57;var _0x5aaf5b,_0x34988d;if(this[_0x3ec77c(0x2be)]=!0x0,((_0x5aaf5b=this[_0x3ec77c(0x346)][_0x3ec77c(0x1a9)]())==null?void 0x0:_0x5aaf5b[_0x3ec77c(0x1f0)]())!==this[_0x3ec77c(0x124)])return;const _0x4ece79=(_0x34988d=this[_0x3ec77c(0x15a)][_0x3ec77c(0x363)](_0x355b60[_0x3ec77c(0x360)])[_0x3ec77c(0x108)]())==null?void 0x0:_0x34988d[0x0],_0xd00d12=this[_0x3ec77c(0x346)][_0x3ec77c(0x1ef)](_0x2759ff['UniverInstanceType'][_0x3ec77c(0x105)])[_0x3ec77c(0x239)]();_0x4ece79&&_0xd00d12&&this[_0x3ec77c(0x194)](_0xd00d12[_0x3ec77c(0x195)](),_0x4ece79);}[_0x201e57(0x23f)](){this['_online']=!0x1;}};_0x2f5915=_0x3ee104([_0x269449(0x2,_0x2759ff[_0x201e57(0x1d6)](_0x2759ff[_0x201e57(0x118)])),_0x269449(0x3,_0x2759ff[_0x201e57(0x1d6)](_0x3cb2a0)),_0x269449(0x4,_0x2759ff['Inject'](_0x3eb9ff[_0x201e57(0x1d0)])),_0x269449(0x5,_0x2759ff[_0x201e57(0x28d)]),_0x269449(0x6,_0x2759ff[_0x201e57(0x236)]),_0x269449(0x7,_0x2759ff[_0x201e57(0x1d6)](_0x355b60[_0x201e57(0x19a)]))],_0x2f5915);var _0x57e555=Object[_0x201e57(0x241)],_0x3d6307=(_0x2038b6,_0x23b9f2,_0x48564f,_0x458db5)=>{const _0x502f35=_0x201e57;for(var _0x57c717=_0x458db5>0x1?void 0x0:_0x458db5?_0x57e555(_0x23b9f2,_0x48564f):_0x23b9f2,_0x227ed7=_0x2038b6[_0x502f35(0x2da)]-0x1,_0x258c36;_0x227ed7>=0x0;_0x227ed7--)(_0x258c36=_0x2038b6[_0x227ed7])&&(_0x57c717=_0x258c36(_0x57c717)||_0x57c717);return _0x57c717;},_0x988356=(_0x4a9d37,_0xcaedf3)=>(_0x300eb0,_0x5677d1)=>_0xcaedf3(_0x300eb0,_0x5677d1,_0x4a9d37);let _0xf08a42=class extends _0x2759ff[_0x201e57(0x243)]{constructor(_0x31634d,_0x347fea,_0x2ad705){const _0x26f018=_0x201e57;super(),_0x252fd8(this,_0x26f018(0x2a5),new Map()),_0x252fd8(this,_0x26f018(0x1ae),new _0x537bbf[(_0x26f018(0x283))]()),(this[_0x26f018(0x346)]=_0x31634d,this[_0x26f018(0x15a)]=_0x347fea,this['_collabSessionService']=_0x2ad705,this[_0x26f018(0x338)]());}[_0x201e57(0x2c2)](){const _0x3d4f49=_0x201e57;super['dispose'](),this[_0x3d4f49(0x1ae)][_0x3d4f49(0x21e)](),this[_0x3d4f49(0x2a5)]['forEach'](_0xbaeec6=>_0xbaeec6['dispose']());}['getCollabCursors$'](_0x567730){const _0x433600=_0x201e57;return this['_entities'][_0x433600(0x26f)](_0x567730)?this['_entities'][_0x433600(0x363)](_0x567730)['cursorInfo$']:this[_0x433600(0x1ae)][_0x433600(0x1fb)](_0x537bbf[_0x433600(0x21a)](_0x416bbf=>_0x416bbf[_0x433600(0x124)]===_0x567730),_0x537bbf[_0x433600(0x376)](_0x1523c6=>_0x1523c6[_0x433600(0x1a8)]));}[_0x201e57(0x338)](){const _0x521c71=_0x201e57;this[_0x521c71(0x346)][_0x521c71(0x1d2)](_0x2759ff[_0x521c71(0x280)][_0x521c71(0x105)])['pipe'](_0x537bbf[_0x521c71(0x35c)](this['dispose$']))['subscribe'](async _0x246c7b=>{const _0x4a2412=_0x521c71,_0x49317d=_0x246c7b[_0x4a2412(0x1f0)](),_0x1118ed=await this[_0x4a2412(0x268)](_0x49317d);this['_entityInit$'][_0x4a2412(0x2a1)](_0x1118ed),this['_entities']['set'](_0x49317d,_0x1118ed);}),this[_0x521c71(0x346)][_0x521c71(0x1d2)](_0x2759ff['UniverInstanceType']['UNIVER_DOC'])[_0x521c71(0x1fb)](_0x537bbf[_0x521c71(0x35c)](this[_0x521c71(0x311)]))[_0x521c71(0x1fb)](_0x537bbf['filter'](_0x3754c5=>!_0x3754c5['getUnitId']()[_0x521c71(0x231)]('__')))[_0x521c71(0x30d)](async _0x41999f=>{const _0x30df06=_0x521c71,_0xac0002=_0x41999f['getUnitId'](),_0x319608=await this['_startDocCollabCursor'](_0xac0002);this[_0x30df06(0x1ae)][_0x30df06(0x2a1)](_0x319608),this[_0x30df06(0x2a5)]['set'](_0xac0002,_0x319608);}),_0x537bbf['merge'](this['_univerInstanceService'][_0x521c71(0x377)](_0x2759ff['UniverInstanceType'][_0x521c71(0x12d)]),this['_univerInstanceService'][_0x521c71(0x377)](_0x2759ff['UniverInstanceType'][_0x521c71(0x105)]))[_0x521c71(0x1fb)](_0x537bbf[_0x521c71(0x35c)](this[_0x521c71(0x311)]))['subscribe'](_0x5ccebd=>{const _0x44800a=_0x521c71,_0x271dfd=_0x5ccebd[_0x44800a(0x1f0)](),_0x2aceb0=this[_0x44800a(0x2a5)][_0x44800a(0x363)](_0x271dfd);_0x2aceb0&&(_0x2aceb0[_0x44800a(0x2c2)](),this[_0x44800a(0x2a5)][_0x44800a(0x1c1)](_0x271dfd));});}async[_0x201e57(0x268)](_0x3f1dba){const _0x8e174f=_0x201e57,_0x262e23=await this[_0x8e174f(0x373)]['requireSession'](_0x3f1dba),_0x3e3c26=this[_0x8e174f(0x15a)][_0x8e174f(0x2c3)](_0x2f5915,_0x3f1dba,_0x262e23);return _0x3e3c26[_0x8e174f(0x19c)](),_0x3e3c26;}async['_startDocCollabCursor'](_0x84955b){const _0x435ce4=_0x201e57,_0x40679e=await this['_collabSessionService'][_0x435ce4(0x17d)](_0x84955b),_0x142f99=this[_0x435ce4(0x15a)][_0x435ce4(0x2c3)](_0xc8e920,_0x84955b,_0x40679e);return _0x142f99[_0x435ce4(0x19c)](),_0x142f99;}};_0xf08a42=_0x3d6307([_0x988356(0x0,_0x2759ff[_0x201e57(0x28d)]),_0x988356(0x1,_0x2759ff['Inject'](_0x2759ff[_0x201e57(0x118)])),_0x988356(0x2,_0x2759ff[_0x201e57(0x1d6)](_0x3eb9ff[_0x201e57(0x329)]))],_0xf08a42);const _0x2d1de3=0x14,_0x15fad0=0xc8,_0x392a53=0x4,_0x3bb50c=0x5;function _0x3b3e93(_0x32a62e,_0x1f8bbd){const _0x454d34=_0x201e57;let {radius:_0x337aba,width:_0x428916,height:_0x25d284}=_0x1f8bbd;_0x337aba=_0x337aba!=null?_0x337aba:0x0,_0x428916=_0x428916!=null?_0x428916:0x1e,_0x25d284=_0x25d284!=null?_0x25d284:0x1e;let _0x30193b=0x0,_0x351695=0x0,_0x2640a9=0x0;_0x30193b=_0x351695=_0x2640a9=Math[_0x454d34(0x30c)](_0x337aba,_0x428916/0x2,_0x25d284/0x2),_0x32a62e[_0x454d34(0x237)](),_0x32a62e[_0x454d34(0x2cf)](_0x30193b,0x0),_0x32a62e['lineTo'](_0x428916-_0x351695,0x0),_0x32a62e[_0x454d34(0x375)](_0x428916-_0x351695,_0x351695,_0x351695,Math['PI']*0x3/0x2,0x0,!0x1),_0x32a62e[_0x454d34(0x294)](_0x428916,_0x25d284-_0x2640a9),_0x32a62e['arc'](_0x428916-_0x2640a9,_0x25d284-_0x2640a9,_0x2640a9,0x0,Math['PI']/0x2,!0x1),_0x32a62e[_0x454d34(0x294)](0x0,_0x25d284),_0x32a62e[_0x454d34(0x294)](0x0,_0x30193b),_0x32a62e[_0x454d34(0x375)](_0x30193b,_0x30193b,_0x30193b,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x32a62e[_0x454d34(0x238)](),_0x1f8bbd[_0x454d34(0x395)]&&(_0x32a62e[_0x454d34(0x2e9)](),_0x32a62e[_0x454d34(0x188)]=_0x1f8bbd[_0x454d34(0x395)],_0x1f8bbd['fillRule']===_0x454d34(0x298)?_0x32a62e[_0x454d34(0x395)](_0x454d34(0x298)):_0x32a62e[_0x454d34(0x395)](),_0x32a62e[_0x454d34(0x1b9)]());}class _0x424561 extends _0xa08486[_0x201e57(0x297)]{constructor(_0x218e5f,_0x5e6083){const _0x385d36=_0x201e57;super(_0x218e5f,_0x5e6083),_0x252fd8(this,_0x385d36(0x2dc)),_0x252fd8(this,_0x385d36(0x141)),(this[_0x385d36(0x2dc)]=_0x5e6083==null?void 0x0:_0x5e6083[_0x385d36(0x2dc)],this['text']=_0x5e6083==null?void 0x0:_0x5e6083[_0x385d36(0x141)]);}static[_0x201e57(0x1a1)](_0x504ea4,_0x52977d){const _0x320df5=_0x201e57,{text:_0x4b6a45,color:_0x44a835}=_0x52977d;_0x504ea4[_0x320df5(0x2e9)](),_0x504ea4[_0x320df5(0x394)]=_0x320df5(0x387);const _0x37d5d8=_0x504ea4[_0x320df5(0x184)](_0x4b6a45)['width'],_0x393e01=Math['min'](_0x37d5d8+0x2*_0x392a53,_0x15fad0);_0x3b3e93(_0x504ea4,{'height':_0x2d1de3,'radius':0x4,'width':_0x393e01,'fill':_0x44a835}),_0x504ea4[_0x320df5(0x188)]=_0x320df5(0x26a);const _0x474f10=_0x392a53,_0x3b52f0=_0x2d1de3-_0x3bb50c,_0x3ef5b5=_0x15fad0-0x2*_0x392a53;if(_0x37d5d8>_0x3ef5b5){let _0x468f40='',_0x21eb26=0x0;for(const _0x5dff3d of _0x4b6a45){const _0x3a3dcf=_0x504ea4['measureText'](_0x5dff3d)['width'];if(_0x21eb26+_0x3a3dcf<=_0x3ef5b5-_0x504ea4[_0x320df5(0x184)](_0x320df5(0x345))[_0x320df5(0x17e)])_0x468f40+=_0x5dff3d,_0x21eb26+=_0x3a3dcf;else{_0x468f40+=_0x320df5(0x345);break;}}_0x504ea4[_0x320df5(0x32d)](_0x468f40,_0x474f10,_0x3b52f0);}else _0x504ea4[_0x320df5(0x32d)](_0x4b6a45,_0x474f10,_0x3b52f0);_0x504ea4[_0x320df5(0x1b9)]();}[_0x201e57(0x27e)](_0x3785e6){const _0x4701b2=_0x201e57;_0x424561[_0x4701b2(0x1a1)](_0x3785e6,this);}}const _0x55b845=_0x201e57(0x1a7),_0x3cedaf=_0x201e57(0x20a),_0x5e257d='collab-rect-range-',_0x371b7c=0x6,_0x3ad22b=1.5,_0xc2c33c=0x4,_0x453e87=1.5,_0x7f4fe9=_0x201e57(0x33f);class _0x336bb5{constructor(_0x2072f7,_0x269bb0,_0x81baf3,_0x5a3374){const _0x59be8d=_0x201e57;_0x252fd8(this,_0x59be8d(0x256),[]),_0x252fd8(this,_0x59be8d(0x154),null),_0x252fd8(this,_0x59be8d(0x2d8),null),_0x252fd8(this,'_anchorDot',null),_0x252fd8(this,_0x59be8d(0x15c),null),_0x252fd8(this,_0x59be8d(0x317),null),(this[_0x59be8d(0x2fd)]=_0x2072f7,this[_0x59be8d(0x16d)]=_0x269bb0,this[_0x59be8d(0x202)]=_0x81baf3,this[_0x59be8d(0x100)]=_0x5a3374,this[_0x59be8d(0x22c)]());}set[_0x201e57(0x275)](_0x526955){const _0x46fa30=_0x201e57;_0x526955?(this[_0x46fa30(0x2f9)]&&this[_0x46fa30(0x2f9)][_0x46fa30(0x28f)](),this[_0x46fa30(0x2d8)]&&this['_textBubble'][_0x46fa30(0x270)]()):(this[_0x46fa30(0x2f9)]&&this[_0x46fa30(0x2f9)][_0x46fa30(0x270)](),this[_0x46fa30(0x2d8)]&&this[_0x46fa30(0x2d8)]['hide']());}[_0x201e57(0x2c2)](){const _0x14a801=_0x201e57;for(const _0x4a1026 of this[_0x14a801(0x256)])_0x4a1026[_0x14a801(0x2c2)]();this[_0x14a801(0x2d8)]&&this[_0x14a801(0x2d8)][_0x14a801(0x2c2)](),this[_0x14a801(0x2f9)]&&this[_0x14a801(0x2f9)][_0x14a801(0x2c2)](),this[_0x14a801(0x154)]&&this[_0x14a801(0x154)][_0x14a801(0x2c2)](),this['_eventUnsubscribe']&&this[_0x14a801(0x317)]();}[_0x201e57(0x22c)](){const _0x5bb8ec=_0x201e57;var _0x121cd8;const {_docSkeleton:_0x418e1d,_document:_0x2a1660}=this,{color:_0x3d4ace,name:_0x24776b,ranges:_0x5752e0}=this['_cursor'],_0x572dc4=_0x2a1660[_0x5bb8ec(0x2cd)](),{docsLeft:_0x1d5331,docsTop:_0x1ec739}=_0x572dc4,_0x86e765=new _0x26d882[(_0x5bb8ec(0x110))](_0x572dc4,_0x418e1d);for(const {startOffset:_0x49fdd5,endOffset:_0x89cb3b,rangeType:_0x33f048,segmentId:_0x3fb578,segmentPage:_0x1ddf4b,collapsed:_0x5ccb06,isActive:_0x759f09}of _0x5752e0){const _0x34bf5a=_0x418e1d[_0x5bb8ec(0x224)](_0x49fdd5,!0x0,_0x3fb578,_0x1ddf4b);let _0x3e8439=_0x418e1d[_0x5bb8ec(0x224)](_0x89cb3b,!0x0,_0x3fb578,_0x1ddf4b);if(_0x3e8439==null&&(_0x3e8439=_0x418e1d[_0x5bb8ec(0x224)](_0x89cb3b-0x1,!0x1,_0x3fb578,_0x1ddf4b)),_0x759f09){const {contentBoxPointGroup:_0x45ec43}=_0x86e765[_0x5bb8ec(0x182)](_0x3e8439,_0x3e8439);if(_0x45ec43[_0x5bb8ec(0x2da)]===0x0)continue;this[_0x5bb8ec(0x277)](_0x3d4ace,_0x45ec43,_0x1d5331,_0x1ec739,_0x24776b),this['_eventUnsubscribe']=this[_0x5bb8ec(0x164)]();}if(_0x34bf5a&&_0x3e8439){if(_0x33f048===_0x2759ff[_0x5bb8ec(0x33a)][_0x5bb8ec(0x333)]){const _0x24b294=new _0x26d882[(_0x5bb8ec(0x32f))](_0x572dc4,_0x418e1d),{pointGroup:_0x3dde67}=(_0x121cd8=_0x24b294[_0x5bb8ec(0x182)](_0x34bf5a,_0x3e8439))!=null?_0x121cd8:{};if(_0x3dde67==null||_0x3dde67['length']===0x0)continue;this[_0x5bb8ec(0x2b9)](_0x3d4ace,_0x3dde67,_0x1d5331,_0x1ec739);}else{if(!_0x5ccb06){const {borderBoxPointGroup:_0x548908}=_0x86e765[_0x5bb8ec(0x182)](_0x34bf5a,_0x3e8439);if(_0x548908[_0x5bb8ec(0x2da)]===0x0)continue;this[_0x5bb8ec(0x305)](_0x3d4ace,_0x548908,_0x1d5331,_0x1ec739);}}}}}[_0x201e57(0x277)](_0x39bc3b,_0x1d4b42,_0x1bebd9,_0x396a4d,_0x4d0381){const _0x2ce6d2=_0x201e57,_0x30dd3d=this['_getAnchorBounding'](_0x1d4b42),{left:_0xc95e63,top:_0x33edc7,height:_0x3d2f10}=_0x30dd3d,_0x47cb25=this[_0x2ce6d2(0x10f)](),_0x745963=_0x453e87/_0x47cb25,_0x451891=new _0xa08486['Rect'](_0x55b845+_0x2759ff[_0x2ce6d2(0x148)][_0x2ce6d2(0x1fa)](_0x371b7c),{'left':_0xc95e63+_0x1bebd9-_0x745963,'top':_0x33edc7+_0x396a4d,'height':_0x3d2f10,'width':_0x3ad22b,'fill':_0x39bc3b||_0xa08486['getColor'](_0x2759ff[_0x2ce6d2(0x1c3)][_0x2ce6d2(0x11d)],0x0),'strokeWidth':_0x745963,'stroke':_0x7f4fe9,'evented':!0x0});this['_anchor']=_0x451891,this[_0x2ce6d2(0x16d)][_0x2ce6d2(0x330)](_0x451891,_0x26d882[_0x2ce6d2(0x11c)]);const _0x1dd4f6=new _0xa08486[(_0x2ce6d2(0x162))](_0x55b845+_0x2759ff[_0x2ce6d2(0x148)][_0x2ce6d2(0x1fa)](_0x371b7c),{'left':_0xc95e63+_0x1bebd9-_0x745963,'top':_0x33edc7+_0x396a4d-_0xc2c33c/0x2,'height':_0xc2c33c,'width':_0xc2c33c,'fill':_0x39bc3b||_0xa08486[_0x2ce6d2(0x2b2)](_0x2759ff[_0x2ce6d2(0x1c3)][_0x2ce6d2(0x11d)],0x0),'strokeWidth':0x0,'stroke':_0x39bc3b||_0xa08486['getColor'](_0x2759ff['COLORS'][_0x2ce6d2(0x11d)],0x0),'evented':!0x1});this['_anchorDot']=_0x1dd4f6,this['_scene'][_0x2ce6d2(0x330)](_0x1dd4f6,_0x26d882[_0x2ce6d2(0x11c)]);const _0x11b363=new _0x424561(_0x55b845+_0x2759ff['Tools']['generateRandomId'](_0x371b7c),{'left':_0xc95e63+_0x1bebd9-_0x745963,'top':_0x33edc7+_0x396a4d-_0x2d1de3,'text':_0x4d0381,'color':_0x39bc3b});this[_0x2ce6d2(0x2d8)]=_0x11b363,this[_0x2ce6d2(0x16d)][_0x2ce6d2(0x330)](_0x11b363,_0x26d882['TEXT_RANGE_LAYER_INDEX']),this['_hover']=!0x1;}['_handleHover'](){const _0xd5d9eb=_0x201e57,_0x4ea7f9=this[_0xd5d9eb(0x154)][_0xd5d9eb(0x151)]['subscribeEvent'](()=>{const _0x31dc34=_0xd5d9eb;this[_0x31dc34(0x275)]=!0x0;}),_0x15bcac=this[_0xd5d9eb(0x154)][_0xd5d9eb(0x308)][_0xd5d9eb(0x34a)](()=>{const _0x13052b=_0xd5d9eb;this[_0x13052b(0x15c)]&&clearTimeout(this[_0x13052b(0x15c)]),this[_0x13052b(0x15c)]=setTimeout(()=>{const _0x444964=_0x13052b;this[_0x444964(0x275)]=!0x1;},0x7d0);});return()=>{const _0x56e447=_0xd5d9eb;_0x4ea7f9[_0x56e447(0x285)](),_0x15bcac['unsubscribe']();};}['_drawTextRange'](_0x7d646a,_0x12054d,_0x15c044,_0x46f4ac){const _0xc02b39=_0x201e57,_0x5a8d37=new _0x2759ff['ColorKit'](_0x7d646a)['setAlpha'](0.2)[_0xc02b39(0x328)](),_0x58378e=new _0xa08486[(_0xc02b39(0x1e6))](_0x3cedaf+_0x2759ff[_0xc02b39(0x148)][_0xc02b39(0x1fa)](_0x371b7c),{'pointsGroup':_0x12054d,'fill':_0x5a8d37||_0xa08486['getColor'](_0x2759ff[_0xc02b39(0x1c3)][_0xc02b39(0x11d)],0.2),'left':_0x15c044,'top':_0x46f4ac,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xc02b39(0x256)][_0xc02b39(0x260)](_0x58378e),this[_0xc02b39(0x16d)]['addObject'](_0x58378e,_0x26d882[_0xc02b39(0x11c)]);}[_0x201e57(0x2b9)](_0x1551cb,_0x39e084,_0x47d78a,_0x90f40d){const _0x13c43b=_0x201e57,_0x49e979=new _0x2759ff[(_0x13c43b(0x31d))](_0x1551cb)[_0x13c43b(0x2b0)](0.2)['toRgbString'](),_0x53a5f5=new _0xa08486['RegularPolygon'](_0x5e257d+_0x2759ff[_0x13c43b(0x148)][_0x13c43b(0x1fa)](_0x371b7c),{'pointsGroup':_0x39e084,'fill':_0x49e979||_0xa08486[_0x13c43b(0x2b2)](_0x2759ff[_0x13c43b(0x1c3)][_0x13c43b(0x11d)],0.2),'left':_0x47d78a,'top':_0x90f40d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x13c43b(0x256)][_0x13c43b(0x260)](_0x53a5f5),this[_0x13c43b(0x16d)]['addObject'](_0x53a5f5,_0x26d882[_0x13c43b(0x11c)]);}[_0x201e57(0x2ae)](_0x54b363){const _0x41d198=_0x54b363[0x0],_0x5129c6=_0x41d198[0x0],_0x32f2b7=_0x41d198[0x2],{x:_0x58cceb,y:_0x8127e4}=_0x5129c6,{x:_0x42a24c,y:_0x28b33e}=_0x32f2b7;return{'left':_0x58cceb,'top':_0x8127e4,'width':_0x42a24c-_0x58cceb,'height':_0x28b33e-_0x8127e4};}[_0x201e57(0x10f)](){const _0x3d6978=_0x201e57,{scaleX:_0x44bd24,scaleY:_0x596f47}=this[_0x3d6978(0x16d)]['getAncestorScale']();return Math[_0x3d6978(0x213)](_0x44bd24,_0x596f47);}}var _0x3fb2ec=Object[_0x201e57(0x241)],_0x587fee=(_0x36864f,_0x463286,_0x5eea86,_0x4037ad)=>{const _0x3bf20c=_0x201e57;for(var _0x56f3af=_0x4037ad>0x1?void 0x0:_0x4037ad?_0x3fb2ec(_0x463286,_0x5eea86):_0x463286,_0x4a287e=_0x36864f[_0x3bf20c(0x2da)]-0x1,_0x3a38ed;_0x4a287e>=0x0;_0x4a287e--)(_0x3a38ed=_0x36864f[_0x4a287e])&&(_0x56f3af=_0x3a38ed(_0x56f3af)||_0x56f3af);return _0x56f3af;},_0x3617dc=(_0x4b76fc,_0x4a68d0)=>(_0x5b8439,_0x37f318)=>_0x4a68d0(_0x5b8439,_0x37f318,_0x4b76fc);let _0x185e83=class extends _0x2759ff['RxDisposable']{constructor(_0x3006a4,_0xab134f,_0x471a3c,_0x4ccd28,_0xb11084){const _0x484c48=_0x201e57;super(),_0x252fd8(this,_0x484c48(0xfd),[]),_0x252fd8(this,'_cursors',[]),(this[_0x484c48(0x2d9)]=_0x3006a4,this['_docSkeletonManagerService']=_0xab134f,this[_0x484c48(0x289)]=_0x471a3c,this[_0x484c48(0x31a)]=_0x4ccd28,this[_0x484c48(0x2e5)]=_0xb11084,this[_0x484c48(0x338)]());}[_0x201e57(0x338)](){const _0x1e39b5=_0x201e57,_0x4bd2b5=this[_0x1e39b5(0x2d9)][_0x1e39b5(0x2eb)],_0x2e3b51=this[_0x1e39b5(0x2f6)];this[_0x1e39b5(0x38b)](_0x537bbf['combineLatest']([this[_0x1e39b5(0x289)][_0x1e39b5(0x1b0)](_0x4bd2b5),this[_0x1e39b5(0x2e5)][_0x1e39b5(0x302)]])[_0x1e39b5(0x1fb)](_0x19b523[_0x1e39b5(0x262)](([_0x240ffd,_0x15dc33])=>({'skeleton':_0x2e3b51[_0x1e39b5(0x14a)](),'cursors':[..._0x240ffd['values']()][_0x1e39b5(0x286)](_0x3774d5=>({..._0x3774d5,'color':this['_themeService']['getColorFromTheme'](_0x3774d5[_0x1e39b5(0x2dc)])}))})))[_0x1e39b5(0x30d)](_0x5e3547=>{const _0x146675=_0x1e39b5;if(this[_0x146675(0x1ed)](),_0x5e3547){const {skeleton:_0x3ebb44,cursors:_0xc9c154}=_0x5e3547;this['_updateCollabCursors'](_0x3ebb44,_0xc9c154);}})),this[_0x1e39b5(0x11f)](),this['_initCommandExecutedListener']();}[_0x201e57(0x2a8)](_0x566dd7,_0x277fc5){const _0x4067a5=_0x201e57,{scene:_0x3ec80a,mainComponent:_0x298be7}=this[_0x4067a5(0x2d9)],_0x661e99=_0x277fc5[_0x4067a5(0x262)](_0x1b21ce=>new _0x336bb5(_0x1b21ce,_0x3ec80a,_0x566dd7,_0x298be7));this[_0x4067a5(0xfd)]=_0x661e99,this['_cursors']=_0x277fc5;}[_0x201e57(0x39d)](){const _0x172474=_0x201e57;this[_0x172474(0x1ed)]();const {scene:_0x2fc4a2,mainComponent:_0x285248}=this[_0x172474(0x2d9)],_0x150a30=this[_0x172474(0x2f6)]['getSkeleton'](),_0x50cbe7=this[_0x172474(0x128)][_0x172474(0x262)](_0x104ab2=>new _0x336bb5(_0x104ab2,_0x2fc4a2,_0x150a30,_0x285248));this[_0x172474(0xfd)]=_0x50cbe7;}[_0x201e57(0x1ed)](){const _0x36ea7d=_0x201e57;this['_cursorShapes'][_0x36ea7d(0x2e8)](_0x561219=>_0x561219[_0x36ea7d(0x2c2)]()),this[_0x36ea7d(0xfd)]=[];}[_0x201e57(0x190)](){const _0x13e42d=_0x201e57,_0xe26dd9=[_0x26d882[_0x13e42d(0x310)]['id']];this[_0x13e42d(0x38b)](this['_commandService'][_0x13e42d(0x1ad)](_0x2a37de=>{const _0x395044=_0x13e42d;_0xe26dd9['includes'](_0x2a37de['id'])&&_0x2a37de[_0x395044(0x299)]['unitId']===this['_context'][_0x395044(0x2eb)]&&this[_0x395044(0x39d)]();}));}[_0x201e57(0x11f)](){const _0x34f93b=_0x201e57;this[_0x34f93b(0x38b)](_0x2759ff[_0x34f93b(0x242)](this['_context'][_0x34f93b(0x219)][_0x34f93b(0x174)])[_0x34f93b(0x1fb)](_0x19b523[_0x34f93b(0x21a)](_0x13d615=>_0x13d615[_0x34f93b(0x10e)]===_0xa08486[_0x34f93b(0x2ab)][_0x34f93b(0x30b)]),_0x19b523[_0x34f93b(0x1a4)](0x10))[_0x34f93b(0x30d)](()=>{const _0xd25436=_0x34f93b;this[_0xd25436(0x39d)]();}));}};_0x185e83=_0x587fee([_0x3617dc(0x1,_0x2759ff['Inject'](_0x12f405[_0x201e57(0x39f)])),_0x3617dc(0x2,_0x2759ff[_0x201e57(0x1d6)](_0xf08a42)),_0x3617dc(0x3,_0x2759ff[_0x201e57(0x236)]),_0x3617dc(0x4,_0x2759ff[_0x201e57(0x1d6)](_0x2759ff[_0x201e57(0x235)]))],_0x185e83);const _0x4fd0d9=0x1,_0xc12b88=1.5;class _0x1e62e5 extends _0xa08486[_0x201e57(0x297)]{constructor(_0x30346d,_0x252758){const _0x113f36=_0x201e57;super(_0x30346d,_0x252758),_0x252fd8(this,'_color'),_0x252fd8(this,_0x113f36(0x209),!0x1),_0x252fd8(this,_0x113f36(0x334)),_0x252fd8(this,_0x113f36(0x2bb),''),_0x252fd8(this,_0x113f36(0x15e),_0x113f36(0x26d)),_0x252fd8(this,'_backgroundColor'),(_0x252758&&this[_0x113f36(0x1e8)](_0x252758),this[_0x113f36(0x151)]['subscribeEvent'](()=>this[_0x113f36(0x1e8)]({'hovered':!0x0})),this[_0x113f36(0x308)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x201e57(0x1e8)](_0x4fd751){const _0x757f66=_0x201e57;var _0x27e691,_0x32dc90,_0x55601b,_0x4e1c65,_0x34406b,_0x497df5;this[_0x757f66(0x2bc)]=(_0x27e691=_0x4fd751[_0x757f66(0x2dc)])!=null?_0x27e691:this['_color'],this[_0x757f66(0x209)]=(_0x32dc90=_0x4fd751[_0x757f66(0x226)])!=null?_0x32dc90:this['_hovered'],this[_0x757f66(0x334)]=(_0x55601b=_0x4fd751['range'])!=null?_0x55601b:this[_0x757f66(0x334)],this['_name']=(_0x4e1c65=_0x4fd751[_0x757f66(0x168)])!=null?_0x4e1c65:this[_0x757f66(0x2bb)],this[_0x757f66(0x15e)]=(_0x34406b=_0x4fd751[_0x757f66(0x259)])!=null?_0x34406b:this[_0x757f66(0x15e)],this[_0x757f66(0x21f)]=(_0x497df5=_0x4fd751[_0x757f66(0x172)])!=null?_0x497df5:this['_backgroundColor'],this[_0x757f66(0x19e)]({'width':_0x4fd751[_0x757f66(0x17e)],'height':_0x4fd751['height']});}[_0x201e57(0x229)](_0xcca6f4){const _0xfee12=_0x201e57,{row:_0x125734,column:_0x4aed1e}=_0xcca6f4;if(_0x125734>=this[_0xfee12(0x334)][_0xfee12(0x24b)]&&_0x125734<=this[_0xfee12(0x334)]['endRow']&&_0x4aed1e>=this[_0xfee12(0x334)][_0xfee12(0x113)]&&_0x4aed1e<=this[_0xfee12(0x334)][_0xfee12(0x2c0)]){this[_0xfee12(0x1e8)]({'hovered':!0x0});return;}this[_0xfee12(0x1e8)]({'hovered':!0x1});}[_0x201e57(0x2a2)](_0x48f332){return!0x1;}[_0x201e57(0x27e)](_0x531340){const _0xc7f24f=_0x201e57;_0xa08486[_0xc7f24f(0x162)][_0xc7f24f(0x1a1)](_0x531340,{'width':this[_0xc7f24f(0x17e)],'height':this['height'],'strokeWidth':_0xc12b88,'stroke':this['_color'],'evented':!0x1,'fill':this[_0xc7f24f(0x21f)]}),this[_0xc7f24f(0x209)]&&(_0x531340[_0xc7f24f(0x2e9)](),_0x531340[_0xc7f24f(0x11b)](0x1,0x0,0x0,0x1,this[_0xc7f24f(0x17e)],this[_0xc7f24f(0x15e)]===_0xc7f24f(0x29a)?0x0:-0x14),_0x424561[_0xc7f24f(0x1a1)](_0x531340,{'text':this[_0xc7f24f(0x2bb)],'color':this[_0xc7f24f(0x2bc)]}),_0x531340[_0xc7f24f(0x1b9)]());}}var _0x5d8470=Object['getOwnPropertyDescriptor'],_0x59de0a=(_0x3c9b10,_0x2f94f2,_0x4fdfd7,_0x82d79e)=>{const _0x1ad238=_0x201e57;for(var _0x5225a7=_0x82d79e>0x1?void 0x0:_0x82d79e?_0x5d8470(_0x2f94f2,_0x4fdfd7):_0x2f94f2,_0x255994=_0x3c9b10[_0x1ad238(0x2da)]-0x1,_0x37fdc2;_0x255994>=0x0;_0x255994--)(_0x37fdc2=_0x3c9b10[_0x255994])&&(_0x5225a7=_0x37fdc2(_0x5225a7)||_0x5225a7);return _0x5225a7;},_0x1436d7=(_0x16cdb6,_0x2ec6b6)=>(_0x380285,_0x2cf72b)=>_0x2ec6b6(_0x380285,_0x2cf72b,_0x16cdb6);const _0x23f96c=0x1389;let _0x57b6ea=class extends _0x2759ff[_0x201e57(0x243)]{constructor(_0x310c12,_0x38e0c2,_0x1c84da,_0x500dd4){const _0x143b79=_0x201e57;super(),_0x252fd8(this,_0x143b79(0x128),new Set()),_0x252fd8(this,_0x143b79(0x3a1),null),(this['_context']=_0x310c12,this[_0x143b79(0x2e6)]=_0x38e0c2,this['_collabCursorController']=_0x1c84da,this[_0x143b79(0x2e5)]=_0x500dd4,this[_0x143b79(0x338)]());}[_0x201e57(0x338)](){const _0x2f777a=_0x201e57;this[_0x2f777a(0x2e6)][_0x2f777a(0x206)][_0x2f777a(0x1fb)](_0x19b523['takeUntil'](this['dispose$']),_0x19b523[_0x2f777a(0x376)](_0x50817f=>{const _0x521925=_0x2f777a;if(_0x50817f){const _0x3aaac9=_0x50817f[_0x521925(0x14b)];return _0x537bbf[_0x521925(0x25b)](this['_collabCursorController']['getCollabCursors$'](this[_0x521925(0x2d9)]['unitId']),this[_0x521925(0x2e5)][_0x521925(0x302)])['pipe'](_0x19b523['map'](([_0x1d086d,_0x56d9cd])=>{const _0x3d464f=_0x521925,_0x5bdd35=new Map();return _0x1d086d[_0x3d464f(0x2e8)]((_0x899bb7,_0x544548)=>{const _0x405712=_0x3d464f;if(_0x899bb7[_0x405712(0x233)]===_0x3aaac9){const _0x119c98={..._0x899bb7};_0x119c98['color']=this[_0x405712(0x2e5)][_0x405712(0x1a0)](_0x899bb7[_0x405712(0x2dc)]),_0x5bdd35[_0x405712(0x18d)](_0x544548,_0x119c98);}}),{'skeleton':_0x50817f,'cursors':_0x5bdd35};}));}return _0x537bbf['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x59e75a,cursors:_0x129b86})=>{const _0x25ab46=_0x2f777a;this[_0x25ab46(0x1ed)](),_0x59e75a&&this[_0x25ab46(0x2a8)](_0x59e75a,_0x129b86);}),this[_0x2f777a(0x2e6)][_0x2f777a(0x206)][_0x2f777a(0x30d)](_0x3b142f=>{const _0x16e667=_0x2f777a;if(_0x3b142f==null)return;const {skeleton:_0x4cf067}=_0x3b142f,{scene:_0x10a8c6}=this['_context'];_0x10a8c6[_0x16e667(0x212)][_0x16e667(0x34a)](_0x2759ff['debounce'](_0x304f3c=>{const _0x514516=_0x16e667;var _0x425d43,_0x465f47;const {offsetX:_0x36c4f1,offsetY:_0x3d9989}=_0x304f3c,{x:_0x2aa12b,y:_0x13e1fd}=_0x10a8c6[_0x514516(0x31e)](_0xa08486[_0x514516(0x340)][_0x514516(0x26c)]([_0x36c4f1,_0x3d9989])),{scaleX:_0x59e947,scaleY:_0x18b2b8}=_0x10a8c6[_0x514516(0x357)](),_0x44c8a6=_0x10a8c6[_0x514516(0x2e7)](_0xa08486[_0x514516(0x12f)][_0x514516(0x29f)]),_0x25a1ef=_0x10a8c6['getVpScrollXYInfoByPosToVp'](_0xa08486[_0x514516(0x340)][_0x514516(0x26c)]([_0x2aa12b,_0x13e1fd]),_0x44c8a6),_0xae97b2=_0x4cf067[_0x514516(0x31b)](_0x36c4f1,_0x3d9989,_0x59e947,_0x18b2b8,_0x25a1ef);((_0x425d43=this[_0x514516(0x3a1)])==null?void 0x0:_0x425d43['column'])===_0xae97b2[_0x514516(0x13d)]&&((_0x465f47=this[_0x514516(0x3a1)])==null?void 0x0:_0x465f47['row'])===_0xae97b2[_0x514516(0x325)]||this[_0x514516(0x128)][_0x514516(0x2e8)](_0x276974=>{const _0xc89100=_0x514516;_0x276974[_0xc89100(0x229)](_0xae97b2);});},0x64));});}[_0x201e57(0x2a8)](_0x32d74a,_0x55f27a){const _0x146405=_0x201e57;var _0x4532c8;const _0x43b8e4=(_0x4532c8=this[_0x146405(0x2e6)][_0x146405(0x155)]())==null?void 0x0:_0x4532c8[_0x146405(0x1f4)];if(!_0x43b8e4)return;const _0x2a0346=this['_getSheetObject']();if(!_0x2a0346)return;this[_0x146405(0x128)][_0x146405(0x2e8)](_0x5cdbce=>{const _0xf7ee07=_0x146405;_0x5cdbce[_0xf7ee07(0x246)]();});const {scene:_0x39af03}=_0x2a0346,_0x5197e3=_0x1f586f(Array['from'](_0x55f27a['values']()))['map'](_0x188cc7=>{const _0x234b6f=_0x146405,{color:_0x28893d,range:_0x2e3113,name:_0x3181b9,selection:_0x1a6fde,sheetID:_0x4d025e}=_0x188cc7,{startColumn:_0x1940f6,startRow:_0x3c769e,endColumn:_0x2972be,endRow:_0x49060d}=_0x2e3113,_0x1636d7=_0x1e5a7e[_0x234b6f(0x12b)](_0x3c769e,_0x1940f6,_0x39af03,_0x43b8e4),_0x7faacf=_0x1e5a7e['getCoordByCell'](_0x49060d,_0x2972be,_0x39af03,_0x43b8e4),{columnHeaderHeightAndMarginTop:_0x399189}=_0x43b8e4,{startX:_0x11967a,startY:_0x3b9163}=_0x1636d7,{endX:_0x133975,endY:_0x2ce443}=_0x7faacf,_0x265a08=_0x133975-_0x11967a,_0x185fc2=_0x2ce443-_0x3b9163,_0x417278={'labelPosition':_0x3b9163-_0x399189>=_0x2d1de3?'top':'bottom','sheetID':_0x4d025e,'range':_0x2e3113,'color':_0x28893d,'name':_0x3181b9,'selection':_0x1a6fde,'left':_0x11967a,'top':_0x3b9163,'width':_0x265a08,'height':_0x185fc2,'evented':!0x1,'zIndex':_0x23f96c};return new _0x1e62e5(_0x3181b9,_0x417278);});_0x39af03[_0x146405(0x186)](_0x5197e3,_0x4fd0d9),this['_cursors']=new Set(_0x5197e3);}[_0x201e57(0x1ed)](){const _0x4ebad9=_0x201e57;var _0x2b3538;(_0x2b3538=this[_0x4ebad9(0x128)])==null||_0x2b3538['forEach'](_0xd93730=>_0xd93730['dispose']());}['_getSheetObject'](){const _0x57c29a=_0x201e57;return _0x1e5a7e[_0x57c29a(0x1dd)](this[_0x57c29a(0x2d9)][_0x57c29a(0x2d5)],this['_context']);}};_0x57b6ea=_0x59de0a([_0x1436d7(0x1,_0x2759ff[_0x201e57(0x1d6)](_0x1e5a7e[_0x201e57(0x2c6)])),_0x1436d7(0x2,_0x2759ff['Inject'](_0xf08a42)),_0x1436d7(0x3,_0x2759ff[_0x201e57(0x1d6)](_0x2759ff[_0x201e57(0x235)]))],_0x57b6ea);function _0x1f586f(_0x4326bf){const _0x2c344d=_0x201e57,_0x323409=new Map();return _0x4326bf['forEach'](_0x3fc0ab=>{const _0x48c216=_0x1dc9;if(_0x323409['has'](_0x3fc0ab[_0x48c216(0x303)])){const _0x4139a7=_0x323409[_0x48c216(0x363)](_0x3fc0ab[_0x48c216(0x303)]);_0x4139a7[_0x48c216(0x168)]+=',\x20'+_0x3fc0ab[_0x48c216(0x168)];}else _0x323409[_0x48c216(0x18d)](_0x3fc0ab['selection'],_0x3fc0ab);}),Array['from'](_0x323409[_0x2c344d(0x336)]());}var _0x3d79e6=function(){const _0x14739e=_0x201e57;return _0x3d79e6=Object['assign']||function(_0x492de4){const _0x5c49de=_0x1dc9;for(var _0x3723d9,_0x10ad4f=0x1,_0x206955=arguments['length'];_0x10ad4f<_0x206955;_0x10ad4f++){_0x3723d9=arguments[_0x10ad4f];for(var _0x306dad in _0x3723d9)Object[_0x5c49de(0x296)][_0x5c49de(0x2f2)][_0x5c49de(0x17f)](_0x3723d9,_0x306dad)&&(_0x492de4[_0x306dad]=_0x3723d9[_0x306dad]);}return _0x492de4;},_0x3d79e6[_0x14739e(0x196)](this,arguments);},_0x10cf56=function(_0x569a3b,_0x360e0f){const _0x25378b=_0x201e57;var _0xb6d299={};for(var _0x3728f0 in _0x569a3b)Object['prototype']['hasOwnProperty'][_0x25378b(0x17f)](_0x569a3b,_0x3728f0)&&_0x360e0f[_0x25378b(0x2c8)](_0x3728f0)<0x0&&(_0xb6d299[_0x3728f0]=_0x569a3b[_0x3728f0]);if(_0x569a3b!=null&&typeof Object['getOwnPropertySymbols']==_0x25378b(0x354)){for(var _0x52bbb0=0x0,_0x3728f0=Object[_0x25378b(0x19d)](_0x569a3b);_0x52bbb0<_0x3728f0['length'];_0x52bbb0++)_0x360e0f[_0x25378b(0x2c8)](_0x3728f0[_0x52bbb0])<0x0&&Object[_0x25378b(0x296)][_0x25378b(0x28e)][_0x25378b(0x17f)](_0x569a3b,_0x3728f0[_0x52bbb0])&&(_0xb6d299[_0x3728f0[_0x52bbb0]]=_0x569a3b[_0x3728f0[_0x52bbb0]]);}return _0xb6d299;},_0x320d52=_0x431136[_0x201e57(0x14e)](function(_0x184a36,_0x194deb){const _0xd26dee=_0x201e57;var _0x2141c1=_0x184a36[_0xd26dee(0x207)],_0x21f4ea=_0x184a36['id'],_0x509792=_0x184a36[_0xd26dee(0x1ea)],_0x29083c=_0x184a36[_0xd26dee(0x1bd)],_0x1037f3=_0x10cf56(_0x184a36,['icon','id',_0xd26dee(0x1ea),_0xd26dee(0x1bd)]),_0x5dae86=_0xd26dee(0x37b)['concat'](_0x21f4ea,'\x20')[_0xd26dee(0x130)](_0x509792||'')[_0xd26dee(0x222)](),_0x535208=_0x431136[_0xd26dee(0x2c4)]('_'[_0xd26dee(0x130)](_0x3fdf5a()));return _0x779853(_0x2141c1,''['concat'](_0x21f4ea),{'defIds':_0x2141c1[_0xd26dee(0x27f)],'idSuffix':_0x535208[_0xd26dee(0x24c)]},_0x3d79e6({'ref':_0x194deb,'className':_0x5dae86},_0x1037f3),_0x29083c);});function _0x779853(_0x1674ec,_0x32ae53,_0x3fcf7d,_0x4bb9d2,_0x110d5d){const _0x334a6b=_0x201e57;return _0x431136[_0x334a6b(0x1c8)](_0x1674ec[_0x334a6b(0x1be)],_0x3d79e6(_0x3d79e6({'key':_0x32ae53},_0x2aac6a(_0x1674ec,_0x3fcf7d,_0x110d5d)),_0x4bb9d2),(_0x47eb88(_0x1674ec,_0x3fcf7d)[_0x334a6b(0x1d7)]||[])[_0x334a6b(0x262)](function(_0x3da9f2,_0x29b9da){const _0x24088e=_0x334a6b;return _0x779853(_0x3da9f2,''[_0x24088e(0x130)](_0x32ae53,'-')[_0x24088e(0x130)](_0x1674ec[_0x24088e(0x1be)],'-')[_0x24088e(0x130)](_0x29b9da),_0x3fcf7d,void 0x0,_0x110d5d);}));}function _0x2aac6a(_0x601dca,_0x4483cf,_0x402c45){const _0x35bccc=_0x201e57;var _0x50955e=_0x3d79e6({},_0x601dca['attrs']);_0x402c45!=null&&_0x402c45[_0x35bccc(0x178)]&&_0x50955e[_0x35bccc(0x395)]===_0x35bccc(0x178)&&(_0x50955e[_0x35bccc(0x395)]=_0x402c45['colorChannel1']),_0x601dca[_0x35bccc(0x1be)]==='mask'&&_0x50955e['id']&&(_0x50955e['id']=_0x50955e['id']+_0x4483cf[_0x35bccc(0x131)]),Object[_0x35bccc(0x2cc)](_0x50955e)['forEach'](function(_0xd01f66){const _0x33b176=_0x35bccc;var _0x44a991=_0xd01f66[0x0],_0x1bfbaf=_0xd01f66[0x1];_0x44a991==='mask'&&typeof _0x1bfbaf==_0x33b176(0x28c)&&(_0x50955e[_0x44a991]=_0x1bfbaf[_0x33b176(0x137)](/url\(#(.*)\)/,_0x33b176(0x16a)[_0x33b176(0x130)](_0x4483cf[_0x33b176(0x131)],')')));});var _0x1c7de0=_0x4483cf[_0x35bccc(0x27f)];return!_0x1c7de0||_0x1c7de0[_0x35bccc(0x2da)]===0x0||(_0x601dca[_0x35bccc(0x1be)]===_0x35bccc(0x393)&&_0x50955e[_0x35bccc(0x1f6)]&&(_0x50955e[_0x35bccc(0x1f6)]=_0x50955e['xlink:href']+_0x4483cf[_0x35bccc(0x131)]),Object[_0x35bccc(0x2cc)](_0x50955e)[_0x35bccc(0x2e8)](function(_0xa0bcbc){const _0x459d4d=_0x35bccc;var _0x390623=_0xa0bcbc[0x0],_0x14f64c=_0xa0bcbc[0x1];typeof _0x14f64c==_0x459d4d(0x28c)&&(_0x50955e[_0x390623]=_0x14f64c['replace'](/url\(#(.*)\)/,_0x459d4d(0x16a)[_0x459d4d(0x130)](_0x4483cf[_0x459d4d(0x131)],')')));})),_0x50955e;}function _0x47eb88(_0x29298e,_0x55c281){const _0x4835f2=_0x201e57;var _0x1730de,_0xa2d74e=_0x55c281['defIds'];return!_0xa2d74e||_0xa2d74e[_0x4835f2(0x2da)]===0x0?_0x29298e:_0x29298e[_0x4835f2(0x1be)]===_0x4835f2(0x126)&&(!((_0x1730de=_0x29298e['children'])===null||_0x1730de===void 0x0)&&_0x1730de['length'])?_0x3d79e6(_0x3d79e6({},_0x29298e),{'children':_0x29298e[_0x4835f2(0x1d7)][_0x4835f2(0x262)](function(_0x2cca93){const _0x505a11=_0x4835f2;return typeof _0x2cca93[_0x505a11(0x138)]['id']=='string'&&_0xa2d74e&&_0xa2d74e['includes'](_0x2cca93[_0x505a11(0x138)]['id'])?_0x3d79e6(_0x3d79e6({},_0x2cca93),{'attrs':_0x3d79e6(_0x3d79e6({},_0x2cca93[_0x505a11(0x138)]),{'id':_0x2cca93[_0x505a11(0x138)]['id']+_0x55c281['idSuffix']})}):_0x2cca93;})}):_0x29298e;}function _0x3fdf5a(){const _0x2033b4=_0x201e57;return Math['random']()[_0x2033b4(0x15b)](0x24)[_0x2033b4(0x331)](0x2,0x8);}_0x320d52['displayName']='UniverIcon';var _0x28bdec={'tag':_0x201e57(0x2f7),'attrs':{'xmlns':_0x201e57(0x341),'fill':_0x201e57(0x25a),'viewBox':_0x201e57(0x163),'width':_0x201e57(0x197),'height':_0x201e57(0x197)},'children':[{'tag':'g','attrs':{'clipPath':_0x201e57(0x1c6)},'children':[{'tag':_0x201e57(0x205),'attrs':{'stroke':_0x201e57(0x1df),'d':_0x201e57(0x1e2),'strokeLinecap':'round','strokeLinejoin':_0x201e57(0x26b),'strokeWidth':1.2}}]},{'tag':_0x201e57(0x126),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x201e57(0x123)},'children':[{'tag':_0x201e57(0x205),'attrs':{'fill':_0x201e57(0x149),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x201e57(0x123)]},_0x1d3929=_0x431136[_0x201e57(0x14e)](function(_0x12e74f,_0xf54cfc){const _0x391bc9=_0x201e57;return _0x431136[_0x391bc9(0x1c8)](_0x320d52,Object[_0x391bc9(0x2a4)]({},_0x12e74f,{'id':_0x391bc9(0x274),'ref':_0xf54cfc,'icon':_0x28bdec}));});_0x1d3929[_0x201e57(0x245)]=_0x201e57(0x1ca);var _0x18ff9a={'tag':_0x201e57(0x2f7),'attrs':{'xmlns':_0x201e57(0x341),'fill':_0x201e57(0x25a),'viewBox':_0x201e57(0x28b),'width':_0x201e57(0x197),'height':_0x201e57(0x197)},'children':[{'tag':'g','attrs':{'clipPath':_0x201e57(0x10c)},'children':[{'tag':_0x201e57(0x205),'attrs':{'stroke':_0x201e57(0x1df),'d':_0x201e57(0x1fe),'strokeLinecap':_0x201e57(0x26b),'strokeLinejoin':_0x201e57(0x26b),'strokeWidth':1.2}}]},{'tag':_0x201e57(0x126),'attrs':{},'children':[{'tag':_0x201e57(0x383),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x201e57(0x205),'attrs':{'fill':_0x201e57(0x149),'d':_0x201e57(0x1e3),'transform':_0x201e57(0x1d5)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x4400a4=_0x431136[_0x201e57(0x14e)](function(_0x1829e1,_0x4626c5){const _0x5c8ee4=_0x201e57;return _0x431136['createElement'](_0x320d52,Object[_0x5c8ee4(0x2a4)]({},_0x1829e1,{'id':_0x5c8ee4(0x216),'ref':_0x4626c5,'icon':_0x18ff9a}));});_0x4400a4[_0x201e57(0x245)]=_0x201e57(0x177);function _0x5d938c(_0x1ab495){const _0x5f1864=_0x201e57;switch(_0x1ab495){case _0x3eb9ff[_0x5f1864(0x2ce)][_0x5f1864(0x119)]:return _0x5f1864(0x22d);case _0x3eb9ff[_0x5f1864(0x2ce)][_0x5f1864(0x2ac)]:return'collabStatus.conflict';case _0x3eb9ff[_0x5f1864(0x2ce)]['FETCH_MISS']:return _0x5f1864(0x25f);case _0x3eb9ff[_0x5f1864(0x2ce)]['NOT_COLLAB']:return _0x5f1864(0x17b);case _0x3eb9ff['CollaborationStatus'][_0x5f1864(0x2dd)]:case _0x3eb9ff[_0x5f1864(0x2ce)][_0x5f1864(0x10d)]:return'collabStatus.syncing';case _0x3eb9ff[_0x5f1864(0x2ce)][_0x5f1864(0x35e)]:case _0x3eb9ff[_0x5f1864(0x2ce)]['PENDING']:return _0x5f1864(0x34d);}}function _0x33acdc(_0xd59136){const _0x12ed81=_0x201e57,{status$:_0x122f5a}=_0xd59136,_0x54057c=_0x1f9573[_0x12ed81(0x1fd)](_0x122f5a,_0x3eb9ff[_0x12ed81(0x2ce)][_0x12ed81(0x347)]),_0x29804d=_0x1f9573[_0x12ed81(0x1bf)](_0x2759ff[_0x12ed81(0x218)]),_0x43d158=_0x1f9573[_0x12ed81(0x1bf)](_0x3eb9ff[_0x12ed81(0x329)]),_0x43b79d=_0x54057c!==_0x3eb9ff['CollaborationStatus'][_0x12ed81(0x119)],_0x2abe61=_0x29804d['t'](_0x5d938c(_0x54057c)),_0x327016=_0x43b79d?_0x455ea0['jsx'](_0x4400a4,{}):_0x455ea0[_0x12ed81(0x114)](_0x1d3929,{}),_0x1f65f3=_0x431136[_0x12ed81(0x1ba)](()=>{const _0xdd7bcf=_0x12ed81;_0x43b79d||_0x43d158[_0xdd7bcf(0x1b4)]();},[_0x43b79d,_0x43d158]);function _0xb2a3d3(){const _0x2a2ce2=_0x12ed81;return _0x455ea0[_0x2a2ce2(0x288)](_0x2a2ce2(0x1ff),{'className':_0x2a2ce2(0x2e3),'onClick':_0x1f65f3,'children':[_0x455ea0[_0x2a2ce2(0x114)]('div',{'className':_0x4d45ae['clsx'](_0x2a2ce2(0x326),{'univer-text-green-500':_0x43b79d,'univer-text-red-500':!_0x43b79d}),'children':_0x327016}),_0x455ea0['jsx'](_0x2a2ce2(0x1ff),{'className':_0x2a2ce2(0x1da),'children':_0x2abe61})]});}return _0x43b79d?_0xb2a3d3():_0x455ea0[_0x12ed81(0x114)](_0x4d45ae[_0x12ed81(0x378)],{'title':_0x29804d['t']('collab-client.tooltip.reconnect'),'children':_0xb2a3d3()});}var _0x3b0bec=Object[_0x201e57(0x241)],_0x102be9=(_0x540b33,_0x2fb9d8,_0x2a0a58,_0x43ea6a)=>{const _0x41a975=_0x201e57;for(var _0x256b5b=_0x43ea6a>0x1?void 0x0:_0x43ea6a?_0x3b0bec(_0x2fb9d8,_0x2a0a58):_0x2fb9d8,_0x5358ed=_0x540b33[_0x41a975(0x2da)]-0x1,_0x2c94ee;_0x5358ed>=0x0;_0x5358ed--)(_0x2c94ee=_0x540b33[_0x5358ed])&&(_0x256b5b=_0x2c94ee(_0x256b5b)||_0x256b5b);return _0x256b5b;},_0x519330=(_0x1901bb,_0x1b7e8a)=>(_0x5e7545,_0x239ba8)=>_0x1b7e8a(_0x5e7545,_0x239ba8,_0x1901bb);_0x45539c[_0x201e57(0x35d)]=class extends _0x2759ff['Disposable']{constructor(_0xb63fb4,_0x29d778,_0xd7ff6a,_0x826904){const _0x126432=_0x201e57;super(),_0x252fd8(this,_0x126432(0x1cd),new _0x537bbf[(_0x126432(0x116))](_0x3eb9ff[_0x126432(0x2ce)][_0x126432(0x347)])),(this[_0x126432(0x346)]=_0xb63fb4,this['_injector']=_0x29d778,this[_0x126432(0x10b)]=_0xd7ff6a,this['_uiPartsService']=_0x826904,this[_0x126432(0x320)](),this[_0x126432(0x234)]());}['_initStatusListener'](){const _0x2cae65=_0x201e57;this[_0x2cae65(0x38b)](this[_0x2cae65(0x346)]['focused$']['pipe'](_0x537bbf['switchMap'](()=>{const _0x3194a4=_0x2cae65,_0x34956c=this[_0x3194a4(0x346)][_0x3194a4(0x1a9)]();return _0x34956c?this[_0x3194a4(0x10b)][_0x3194a4(0x2c1)](_0x34956c['getUnitId']()):_0x537bbf['of'](null);}),_0x537bbf[_0x2cae65(0x376)](_0x1b876a=>_0x1b876a?_0x1b876a['status$']:_0x537bbf['of'](_0x3eb9ff['CollaborationStatus'][_0x2cae65(0x347)])))[_0x2cae65(0x30d)](_0x14190e=>{const _0x17cd09=_0x2cae65;this[_0x17cd09(0x1cd)][_0x17cd09(0x2a1)](_0x14190e);}));}[_0x201e57(0x320)](){const _0x3f6ef8=_0x201e57;this[_0x3f6ef8(0x38b)](this['_uiPartsService']['registerComponent'](_0x1f9573[_0x3f6ef8(0x2b6)][_0x3f6ef8(0x198)],()=>_0x1f9573[_0x3f6ef8(0x374)](_0x152bd4({'status$':this[_0x3f6ef8(0x1cd)][_0x3f6ef8(0x1c7)]()}),this[_0x3f6ef8(0x15a)])));}},_0x45539c[_0x201e57(0x35d)]=_0x102be9([_0x519330(0x0,_0x2759ff[_0x201e57(0x28d)]),_0x519330(0x1,_0x2759ff[_0x201e57(0x1d6)](_0x2759ff[_0x201e57(0x118)])),_0x519330(0x2,_0x2759ff[_0x201e57(0x1d6)](_0x3eb9ff[_0x201e57(0x359)])),_0x519330(0x3,_0x1f9573['IUIPartsService'])],_0x45539c['DesktopCollaborationStatusDisplayController']);function _0x152bd4(_0x1573a6){const {status$:_0x20b002}=_0x1573a6;return function(){const _0xf173bd=_0x1dc9;return _0x455ea0[_0xf173bd(0x114)](_0x33acdc,{'status$':_0x20b002});};}var _0x44be4c=Object[_0x201e57(0x241)],_0x3372a5=(_0x1dad55,_0x5c92e2,_0x24e254,_0x3bfd9f)=>{const _0x521529=_0x201e57;for(var _0x373aa2=_0x3bfd9f>0x1?void 0x0:_0x3bfd9f?_0x44be4c(_0x5c92e2,_0x24e254):_0x5c92e2,_0x334d75=_0x1dad55[_0x521529(0x2da)]-0x1,_0x34a89d;_0x334d75>=0x0;_0x334d75--)(_0x34a89d=_0x1dad55[_0x334d75])&&(_0x373aa2=_0x34a89d(_0x373aa2)||_0x373aa2);return _0x373aa2;},_0x48f308=(_0x81bd34,_0xbcf131)=>(_0x5cd17d,_0x2993d4)=>_0xbcf131(_0x5cd17d,_0x2993d4,_0x81bd34);let _0x49b9f8=class extends _0x2759ff['Disposable']{constructor(_0x63f148,_0x1b86ed,_0x2916b7,_0x13ed52,_0x1e46fc,_0x4e48ed){const _0x679fc5=_0x201e57;super(),this[_0x679fc5(0x2c5)]=_0x63f148,this[_0x679fc5(0x355)]=_0x1b86ed,this[_0x679fc5(0x1f7)]=_0x2916b7,this['_messageService']=_0x13ed52,this[_0x679fc5(0x1e9)]=_0x1e46fc,this[_0x679fc5(0x157)]=_0x4e48ed,this[_0x679fc5(0x1b7)](),this[_0x679fc5(0x391)]();}['_setupBeforeClosingHandler'](){const _0x3044b8=_0x201e57;this[_0x3044b8(0x38b)](this['_beforeCloseService'][_0x3044b8(0x38f)](()=>{const _0x1ee0f1=_0x3044b8;if(this[_0x1ee0f1(0x355)][_0x1ee0f1(0x134)][_0x1ee0f1(0x1b1)])return this['_localeService']['t'](_0x1ee0f1(0x2a0));}));}[_0x201e57(0x391)](){const _0x51506c=_0x201e57;this['disposeWithMe'](this[_0x51506c(0x1f7)][_0x51506c(0x36e)][_0x51506c(0x30d)](_0x119461=>{const _0x3170d7=_0x51506c;_0x119461['id']===_0x3eb9ff[_0x3170d7(0x304)][_0x3170d7(0x1c2)]&&this['_messageService'][_0x3170d7(0x270)]({'type':_0x4d45ae[_0x3170d7(0x2ad)][_0x3170d7(0x1cf)],'content':this[_0x3170d7(0x157)]['t'](_0x3170d7(0x220))}),_0x119461['id']===_0x3eb9ff[_0x3170d7(0x304)][_0x3170d7(0x399)]&&this[_0x3170d7(0x350)][_0x3170d7(0x270)]({'type':_0x4d45ae[_0x3170d7(0x2ad)][_0x3170d7(0x1cf)],'content':this['_localeService']['t'](_0x3170d7(0x316))}),_0x119461['id']===_0x3eb9ff[_0x3170d7(0x304)]['PERMISSION_DENIED']&&this[_0x3170d7(0x1e9)]['show']({'title':this['_localeService']['t']('permission.title'),'content':this[_0x3170d7(0x157)]['t'](_0x3170d7(0x33c)),'type':_0x3170d7(0x23d),'duration':0x0}),_0x119461['id']===_0x3eb9ff[_0x3170d7(0x304)][_0x3170d7(0x2ac)]&&this[_0x3170d7(0x350)][_0x3170d7(0x270)]({'type':_0x4d45ae[_0x3170d7(0x2ad)][_0x3170d7(0x2d6)],'content':this[_0x3170d7(0x157)]['t'](_0x3170d7(0x316))+'('+_0x119461['data']+')'}),_0x119461['id']===_0x3eb9ff['CollaborationUIEventId'][_0x3170d7(0x36f)]&&this[_0x3170d7(0x350)][_0x3170d7(0x270)]({'type':_0x4d45ae[_0x3170d7(0x2ad)][_0x3170d7(0x1cf)],'content':this[_0x3170d7(0x157)]['t'](_0x119461[_0x3170d7(0x1b6)]||'')}),_0x119461['id']===_0x3eb9ff['CollaborationUIEventId'][_0x3170d7(0x34f)]&&this['_messageService'][_0x3170d7(0x270)]({'type':_0x4d45ae[_0x3170d7(0x2ad)][_0x3170d7(0x1cf)],'content':this[_0x3170d7(0x157)]['t'](_0x3170d7(0x16e))}),_0x119461['id']===_0x3eb9ff['CollaborationUIEventId']['SOCKET_FAILED']&&this[_0x3170d7(0x350)][_0x3170d7(0x270)]({'type':_0x4d45ae[_0x3170d7(0x2ad)]['Error'],'content':this[_0x3170d7(0x157)]['t']('session.connection-failed')}),_0x119461['id']===_0x3eb9ff['CollaborationUIEventId'][_0x3170d7(0x31f)]&&this[_0x3170d7(0x350)]['show']({'type':_0x4d45ae[_0x3170d7(0x2ad)][_0x3170d7(0x2d6)],'content':this[_0x3170d7(0x157)]['t'](_0x3170d7(0x106))});}));}};_0x49b9f8=_0x3372a5([_0x48f308(0x0,_0x1f9573[_0x201e57(0x1f8)]),_0x48f308(0x1,_0x3eb9ff[_0x201e57(0x22f)]),_0x48f308(0x2,_0x2759ff[_0x201e57(0x1d6)](_0x3eb9ff[_0x201e57(0x315)])),_0x48f308(0x3,_0x1f9573['IMessageService']),_0x48f308(0x4,_0x1f9573[_0x201e57(0x306)]),_0x48f308(0x5,_0x2759ff[_0x201e57(0x1d6)](_0x2759ff[_0x201e57(0x218)]))],_0x49b9f8);const _0x37fdea=_0x201e57(0x109),_0x1f4474={},_0x32c919=_0x2759ff[_0x201e57(0x17c)]('uni.network.url-service');var _0x34e0fe=Object[_0x201e57(0x241)],_0x4f4fba=(_0x14075d,_0x439708,_0x254693,_0x3fd969)=>{const _0x2e533b=_0x201e57;for(var _0x3bd2af=_0x3fd969>0x1?void 0x0:_0x3fd969?_0x34e0fe(_0x439708,_0x254693):_0x439708,_0x116dca=_0x14075d[_0x2e533b(0x2da)]-0x1,_0x295dc0;_0x116dca>=0x0;_0x116dca--)(_0x295dc0=_0x14075d[_0x116dca])&&(_0x3bd2af=_0x295dc0(_0x3bd2af)||_0x3bd2af);return _0x3bd2af;},_0x1dccf5=(_0x455a56,_0x181c5a)=>(_0x428039,_0x5855c4)=>_0x181c5a(_0x428039,_0x5855c4,_0x455a56);_0x45539c[_0x201e57(0x153)]=class extends _0x2759ff['RxDisposable']{constructor(_0x2460dc,_0x12a1ba,_0x1610d0,_0x1f35f8,_0x5b1c2f){const _0x5ca5c0=_0x201e57;super(),this[_0x5ca5c0(0x1f2)]=_0x2460dc,this[_0x5ca5c0(0x380)]=_0x12a1ba,this[_0x5ca5c0(0x31a)]=_0x1610d0,this[_0x5ca5c0(0x1fc)]=_0x1f35f8,_0x5b1c2f?_0x5b1c2f==null||_0x5b1c2f[_0x5ca5c0(0x2e2)]()[_0x5ca5c0(0x301)](()=>this[_0x5ca5c0(0x338)]()):(this['_logService'][_0x5ca5c0(0x173)](_0x5ca5c0(0x2d2),_0x5ca5c0(0x181)),this[_0x5ca5c0(0x338)]());}async[_0x201e57(0x338)](){const _0x1d4bcc=_0x201e57,_0x4132df=this[_0x1d4bcc(0x1f2)]['getParam']('unit'),_0x64bdf3=this[_0x1d4bcc(0x1f2)]['getParam'](_0x1d4bcc(0x10e)),_0x218721=this[_0x1d4bcc(0x1f2)][_0x1d4bcc(0x2fe)](_0x1d4bcc(0x392));if(!_0x4132df||!_0x64bdf3){this['_logService']['debug'](_0x1d4bcc(0x2d2),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x398aa7=await this[_0x1d4bcc(0x1fc)][_0x1d4bcc(0x382)](_0x4132df,Number(_0x64bdf3),_0x218721);_0x398aa7&&_0x398aa7 instanceof _0x2759ff['Workbook']&&this['_setupSubUnitSync'](_0x398aa7);}async[_0x201e57(0x145)](_0xaea0cd){const _0x7d9c64=_0x201e57;await this[_0x7d9c64(0x232)](_0xaea0cd),_0xaea0cd[_0x7d9c64(0x35f)]['pipe'](_0x537bbf[_0x7d9c64(0x35c)](this[_0x7d9c64(0x311)]))[_0x7d9c64(0x30d)](_0x562552=>{const _0x3aeeac=_0x7d9c64;_0x562552&&this[_0x3aeeac(0x29b)](_0x562552);}),this[_0x7d9c64(0x1f2)][_0x7d9c64(0x158)][_0x7d9c64(0x1fb)](_0x537bbf[_0x7d9c64(0x35c)](this['dispose$']))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0xaea0cd));}[_0x201e57(0x29b)](_0x1d0301,_0x3d7171=!0x1){const _0x22cb70=_0x201e57,_0x34c930=this[_0x22cb70(0x1f2)][_0x22cb70(0x2fe)]('subunit');_0x1d0301[_0x22cb70(0x195)]()!==_0x34c930&&this[_0x22cb70(0x1f2)]['setParam']('subunit',_0x1d0301[_0x22cb70(0x195)](),_0x3d7171);}async[_0x201e57(0x232)](_0x482e33){const _0x4f08bf=_0x201e57;var _0x5e809c;const _0x1918af=this[_0x4f08bf(0x1f2)]['getParam'](_0x4f08bf(0x392));if(!_0x1918af||!_0x482e33[_0x4f08bf(0x2fc)](_0x1918af)){const _0x4b9f53=_0x482e33['getUnhiddenWorksheets']()[0x0],_0x553e5f=_0x482e33['getSheetBySheetId'](_0x4b9f53);if(!_0x553e5f)return;this[_0x4f08bf(0x29b)](_0x553e5f,!0x0),await this[_0x4f08bf(0x31a)]['executeCommand'](_0x355b60['SetWorksheetActivateCommand']['id'],{'unitId':_0x482e33['getUnitId'](),'subUnitId':_0x4b9f53});return;}((_0x5e809c=_0x482e33[_0x4f08bf(0x239)]())==null?void 0x0:_0x5e809c['getSheetId']())!==_0x1918af&&await this['_commandService'][_0x4f08bf(0x2bf)](_0x355b60['SetWorksheetActivateCommand']['id'],{'unitId':_0x482e33[_0x4f08bf(0x1f0)](),'subUnitId':_0x1918af});}},_0x45539c[_0x201e57(0x153)]=_0x4f4fba([_0x1dccf5(0x0,_0x32c919),_0x1dccf5(0x1,_0x2759ff[_0x201e57(0x33b)]),_0x1dccf5(0x2,_0x2759ff[_0x201e57(0x236)]),_0x1dccf5(0x3,_0x2759ff[_0x201e57(0x1d6)](_0x3eb9ff[_0x201e57(0x34c)])),_0x1dccf5(0x4,_0x2759ff[_0x201e57(0x2ca)](_0x1f2f97['IRemoteInstanceService']))],_0x45539c['CollaborationDataLoaderController']);var _0x1f0a69=Object[_0x201e57(0x241)],_0xf48e9d=(_0x3734eb,_0x281eb6,_0x2b831b,_0x228985)=>{for(var _0x100c79=_0x228985>0x1?void 0x0:_0x228985?_0x1f0a69(_0x281eb6,_0x2b831b):_0x281eb6,_0x18c898=_0x3734eb['length']-0x1,_0x2927f6;_0x18c898>=0x0;_0x18c898--)(_0x2927f6=_0x3734eb[_0x18c898])&&(_0x100c79=_0x2927f6(_0x100c79)||_0x100c79);return _0x100c79;},_0x17553b=(_0x3590bb,_0x36640e)=>(_0x101f33,_0x5a5199)=>_0x36640e(_0x101f33,_0x5a5199,_0x3590bb);let _0x4251c2=class{constructor(_0x772f75,_0x334db6,_0x14d6c0){const _0x2b1b30=_0x201e57;this[_0x2b1b30(0x15a)]=_0x772f75,this[_0x2b1b30(0x2b5)]=_0x334db6,this[_0x2b1b30(0x1c5)]=_0x14d6c0;}[_0x201e57(0x2a9)](_0x33f087){const _0x3e64cb=_0x201e57;this[_0x3e64cb(0x17a)](_0x33f087),this[_0x3e64cb(0x321)](_0x33f087);}[_0x201e57(0x1b3)](_0x3ff95f){const _0xfa4777=_0x201e57,{unitID:_0x345b28}=_0x3ff95f,_0x1a4245=this[_0xfa4777(0x1c5)][_0xfa4777(0x1d1)](_0x345b28)[_0xfa4777(0x293)](_0x26d882[_0xfa4777(0x266)]),{redoCache:_0x38693f}=_0x1a4245[_0xfa4777(0x2d4)]();if(_0x38693f[_0xfa4777(0x2da)]===0x0)return _0x3ff95f;let _0xaa52dd=_0x2759ff[_0xfa4777(0x148)][_0xfa4777(0x223)](_0x3ff95f[_0xfa4777(0x193)][0x0]);for(let _0x2d3913=0x0;_0x2d3913<_0x38693f[_0xfa4777(0x2da)];_0x2d3913++){const _0x2a8cd5={'id':_0xfa4777(0x12a),'params':{..._0x38693f[_0x2d3913]}},_0x14dbca=this[_0xfa4777(0x2b5)][_0xfa4777(0x1dc)](_0xaa52dd,_0x2a8cd5,!0x1);if(_0xd015f1[_0xfa4777(0x150)](_0x14dbca))throw _0x14dbca[_0xfa4777(0x23d)];_0xaa52dd=_0x14dbca[_0xfa4777(0x117)];}return{..._0x2759ff['Tools']['deepClone'](_0x3ff95f),'mutations':[_0xaa52dd]};}[_0x201e57(0x17a)](_0x46e032){const _0x62310a=_0x201e57,{unitID:_0x4ae4a8}=_0x46e032,_0x4dc989=this[_0x62310a(0x1c5)]['getRenderById'](_0x4ae4a8)[_0x62310a(0x293)](_0x26d882['DocIMEInputManagerService']),{undoCache:_0x1986be,redoCache:_0x9fdc1c}=_0x4dc989[_0x62310a(0x2d4)]();if(_0x1986be[_0x62310a(0x2da)]===0x0||_0x9fdc1c['length']===0x0)return;const _0x551535=[],_0xaefed3=[];let _0x28f1b3=_0x2759ff[_0x62310a(0x148)][_0x62310a(0x223)](_0x46e032[_0x62310a(0x193)][0x0]),_0x51d574=_0x2759ff[_0x62310a(0x148)][_0x62310a(0x223)](_0x46e032[_0x62310a(0x193)][0x0]);for(let _0x1e21bf=_0x1986be[_0x62310a(0x2da)]-0x1;_0x1e21bf>=0x0;_0x1e21bf--){const _0x1ccb13={'id':'doc.mutation.rich-text-editing','params':{..._0x1986be[_0x1e21bf]}},_0x30c979={'id':_0x62310a(0x12a),'params':{..._0x9fdc1c[_0x1e21bf]}},_0x1d8d50=this[_0x62310a(0x2b5)][_0x62310a(0x1dc)](_0x28f1b3,_0x1ccb13,!0x1),_0x54a3f4=this[_0x62310a(0x2b5)][_0x62310a(0x1dc)](_0x51d574,_0x30c979,!0x1);if(_0xd015f1['isTransformMutationFailure'](_0x1d8d50))throw _0x1d8d50['error'];if(_0xd015f1[_0x62310a(0x150)](_0x54a3f4))throw _0x54a3f4[_0x62310a(0x23d)];_0x551535[_0x62310a(0x1cb)](_0x1d8d50[_0x62310a(0x2db)][_0x62310a(0x299)]),_0xaefed3[_0x62310a(0x1cb)](_0x54a3f4['m2Prime'][_0x62310a(0x299)]),_0x28f1b3=_0x1d8d50[_0x62310a(0x117)],_0x51d574=_0x54a3f4['m1Prime'];}_0x4dc989[_0x62310a(0x251)]({'undoCache':_0x551535,'redoCache':_0xaefed3});}[_0x201e57(0x321)](_0x1f6d8b){const _0x2f9031=_0x201e57,{unitID:_0x512021}=_0x1f6d8b,_0x25e4f4=this['_renderManagerService'][_0x2f9031(0x1d1)](_0x512021)[_0x2f9031(0x293)](_0x26d882['DocIMEInputManagerService']),_0x4d76c9=_0x25e4f4[_0x2f9031(0x2cb)]();if(_0x4d76c9==null)return;const _0x36d931=[{'id':_0x2f9031(0x12a),'params':{'unitId':_0x1f6d8b[_0x2f9031(0x124)],'actions':null,'textRanges':[_0x4d76c9]}}],_0x5eef45=this[_0x2f9031(0x2b5)][_0x2f9031(0x140)](_0x1f6d8b,_0x36d931);if(!_0xd015f1[_0x2f9031(0x11e)](_0x5eef45))throw _0x5eef45['error'];const _0x43dfed=_0x5eef45[_0x2f9031(0x2db)][0x0]['params'][_0x2f9031(0x214)];Array[_0x2f9031(0x2ff)](_0x43dfed)&&_0x43dfed[_0x2f9031(0x2da)]&&_0x25e4f4[_0x2f9031(0xfc)](_0x43dfed[0x0]);}};_0x4251c2=_0xf48e9d([_0x17553b(0x0,_0x2759ff['Inject'](_0x2759ff[_0x201e57(0x118)])),_0x17553b(0x1,_0xd015f1[_0x201e57(0x261)]),_0x17553b(0x2,_0xa08486[_0x201e57(0x185)])],_0x4251c2);var _0x3ac42c=Object[_0x201e57(0x241)],_0x4b8d1d=(_0x46ef9a,_0x48f5c5,_0x6799f9,_0x212947)=>{const _0x1a3481=_0x201e57;for(var _0x1c577b=_0x212947>0x1?void 0x0:_0x212947?_0x3ac42c(_0x48f5c5,_0x6799f9):_0x48f5c5,_0x42f1c9=_0x46ef9a[_0x1a3481(0x2da)]-0x1,_0x374bf8;_0x42f1c9>=0x0;_0x42f1c9--)(_0x374bf8=_0x46ef9a[_0x42f1c9])&&(_0x1c577b=_0x374bf8(_0x1c577b)||_0x1c577b);return _0x1c577b;},_0xe59cc0=(_0x469852,_0x2bf2da)=>(_0x45c52a,_0x4d8b24)=>_0x2bf2da(_0x45c52a,_0x4d8b24,_0x469852);let _0x5c19d3=class{constructor(_0x2d72be,_0x27d48f,_0x4c4634){const _0x319299=_0x201e57;this[_0x319299(0x15a)]=_0x2d72be,this[_0x319299(0x2b5)]=_0x27d48f,this[_0x319299(0x14c)]=_0x4c4634;}[_0x201e57(0x23c)](_0x5a8975){this['_transformHistoryAndStateStack'](_0x5a8975);}[_0x201e57(0x1b3)](_0x427f50){const _0x21dbc7=_0x201e57,{unitID:_0x594759}=_0x427f50,{collaboration:_0x4a1b21}=this['_docStateChangeManagerService'][_0x21dbc7(0x1e0)](_0x594759);if(_0x4a1b21[_0x21dbc7(0x2da)]===0x0)return _0x427f50;let _0x4c72f3=_0x2759ff[_0x21dbc7(0x148)][_0x21dbc7(0x223)](_0x427f50[_0x21dbc7(0x193)][0x0]);for(let _0x27a100=0x0;_0x27a100<_0x4a1b21[_0x21dbc7(0x2da)];_0x27a100++){const _0xb02005={'id':_0x21dbc7(0x12a),'params':{'unitId':_0x4a1b21[_0x27a100][_0x21dbc7(0x2eb)],..._0x4a1b21[_0x27a100][_0x21dbc7(0x248)]}},_0x5eeb09=this['_transformService'][_0x21dbc7(0x1dc)](_0x4c72f3,_0xb02005,!0x1);if(_0xd015f1[_0x21dbc7(0x150)](_0x5eeb09))throw _0x5eeb09['error'];_0x4c72f3=_0x5eeb09[_0x21dbc7(0x117)];}return{..._0x2759ff[_0x21dbc7(0x148)]['deepClone'](_0x427f50),'mutations':[_0x4c72f3]};}[_0x201e57(0x38c)](_0x36ae7a){const _0x3096e7=_0x201e57,{unitID:_0x1859e6}=_0x36ae7a,{history:_0x57732e,collaboration:_0x434850}=this[_0x3096e7(0x14c)][_0x3096e7(0x1e0)](_0x1859e6);if(_0x57732e[_0x3096e7(0x2da)]===0x0&&_0x434850[_0x3096e7(0x2da)]===0x0)return;const _0x10be32=[],_0x2d86b2=[];let _0x330734=_0x2759ff[_0x3096e7(0x148)][_0x3096e7(0x223)](_0x36ae7a[_0x3096e7(0x193)][0x0]),_0x46f77e=_0x2759ff[_0x3096e7(0x148)][_0x3096e7(0x223)](_0x36ae7a[_0x3096e7(0x193)][0x0]);for(let _0x31b84a=_0x57732e['length']-0x1;_0x31b84a>=0x0;_0x31b84a--){const _0x291c47={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x57732e[_0x31b84a][_0x3096e7(0x2eb)],..._0x57732e[_0x31b84a][_0x3096e7(0x358)]}},_0x59576f={'id':_0x3096e7(0x12a),'params':{'unitId':_0x57732e[_0x31b84a]['unitId'],..._0x57732e[_0x31b84a][_0x3096e7(0x248)]}},_0xe56472=this[_0x3096e7(0x2b5)][_0x3096e7(0x1dc)](_0x330734,_0x291c47,!0x1),_0x40e4dc=this[_0x3096e7(0x2b5)][_0x3096e7(0x1dc)](_0x46f77e,_0x59576f,!0x1);if(_0xd015f1['isTransformMutationFailure'](_0xe56472))throw _0xe56472[_0x3096e7(0x23d)];if(_0xd015f1[_0x3096e7(0x150)](_0x40e4dc))throw _0x40e4dc['error'];_0x10be32['unshift']({..._0x57732e[_0x31b84a],'undoState':_0xe56472[_0x3096e7(0x2db)][_0x3096e7(0x299)],'redoState':_0x40e4dc[_0x3096e7(0x2db)][_0x3096e7(0x299)]}),_0x330734=_0xe56472[_0x3096e7(0x117)],_0x46f77e=_0x40e4dc['m1Prime'];}_0x330734=_0x2759ff['Tools'][_0x3096e7(0x223)](_0x36ae7a[_0x3096e7(0x193)][0x0]),_0x46f77e=_0x2759ff[_0x3096e7(0x148)][_0x3096e7(0x223)](_0x36ae7a[_0x3096e7(0x193)][0x0]);for(let _0x57b3eb=_0x434850[_0x3096e7(0x2da)]-0x1;_0x57b3eb>=0x0;_0x57b3eb--){const _0x162d27={'id':_0x3096e7(0x12a),'params':{'unitId':_0x434850[_0x57b3eb][_0x3096e7(0x2eb)],..._0x434850[_0x57b3eb]['undoState']}},_0x2fb1da={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x434850[_0x57b3eb]['unitId'],..._0x434850[_0x57b3eb][_0x3096e7(0x248)]}},_0x3499b9=this['_transformService']['transformMutation'](_0x330734,_0x162d27,!0x1),_0x377ef2=this[_0x3096e7(0x2b5)]['transformMutation'](_0x46f77e,_0x2fb1da,!0x1);if(_0xd015f1[_0x3096e7(0x150)](_0x3499b9))throw _0x3499b9[_0x3096e7(0x23d)];if(_0xd015f1[_0x3096e7(0x150)](_0x377ef2))throw _0x377ef2[_0x3096e7(0x23d)];_0x2d86b2[_0x3096e7(0x1cb)]({..._0x434850[_0x57b3eb],'undoState':_0x3499b9[_0x3096e7(0x2db)][_0x3096e7(0x299)],'redoState':_0x377ef2[_0x3096e7(0x2db)][_0x3096e7(0x299)]}),_0x330734=_0x3499b9[_0x3096e7(0x117)],_0x46f77e=_0x377ef2[_0x3096e7(0x117)];}this[_0x3096e7(0x14c)][_0x3096e7(0x1a6)](_0x1859e6,{'history':_0x10be32,'collaboration':_0x2d86b2});}};_0x5c19d3=_0x4b8d1d([_0xe59cc0(0x0,_0x2759ff['Inject'](_0x2759ff[_0x201e57(0x118)])),_0xe59cc0(0x1,_0xd015f1[_0x201e57(0x261)]),_0xe59cc0(0x2,_0x2759ff[_0x201e57(0x1d6)](_0x26d882[_0x201e57(0x351)]))],_0x5c19d3);var _0x2a7e9d=Object[_0x201e57(0x241)],_0x15a677=(_0x236bef,_0x115dc0,_0x2cf317,_0x164ec7)=>{const _0x141515=_0x201e57;for(var _0x285f87=_0x164ec7>0x1?void 0x0:_0x164ec7?_0x2a7e9d(_0x115dc0,_0x2cf317):_0x115dc0,_0x2f08f9=_0x236bef[_0x141515(0x2da)]-0x1,_0x3f2467;_0x2f08f9>=0x0;_0x2f08f9--)(_0x3f2467=_0x236bef[_0x2f08f9])&&(_0x285f87=_0x3f2467(_0x285f87)||_0x285f87);return _0x285f87;},_0x406c06=(_0x651062,_0x5a03a7)=>(_0x1a4e64,_0x1d1adc)=>_0x5a03a7(_0x1a4e64,_0x1d1adc,_0x651062);let _0x339e47=class{constructor(_0x4d4f42,_0x5dda0a){const _0x420922=_0x201e57;this[_0x420922(0x15a)]=_0x4d4f42,this[_0x420922(0x2b5)]=_0x5dda0a;}['transformSelections'](_0x4507c6){const _0x2293f3=_0x201e57;var _0x50f176;const _0xe2894a=this[_0x2293f3(0x15a)][_0x2293f3(0x363)](_0x12f405[_0x2293f3(0x1bb)]),_0xf8eef0=(_0x50f176=_0xe2894a['getDocRanges']())!=null?_0x50f176:[];if(_0xf8eef0[_0x2293f3(0x2da)]===0x0)return;const _0x555c82=_0x4507c6[_0x2293f3(0x124)],_0x2fd8f7=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x555c82,'actions':null,'textRanges':_0xf8eef0}}],_0x4f4a0d=this[_0x2293f3(0x2b5)][_0x2293f3(0x140)](_0x4507c6,_0x2fd8f7);if(!_0xd015f1[_0x2293f3(0x11e)](_0x4f4a0d))throw _0x4f4a0d[_0x2293f3(0x23d)];const _0x57c9d8=_0x4f4a0d['m2Prime'][0x0][_0x2293f3(0x299)][_0x2293f3(0x214)];Array[_0x2293f3(0x2ff)](_0x57c9d8)&&_0x57c9d8[_0x2293f3(0x2da)]&&_0xe2894a[_0x2293f3(0x1de)](_0x57c9d8,{'unitId':_0x555c82,'subUnitId':_0x555c82},!0x1);}};_0x339e47=_0x15a677([_0x406c06(0x0,_0x2759ff[_0x201e57(0x1d6)](_0x2759ff[_0x201e57(0x118)])),_0x406c06(0x1,_0xd015f1[_0x201e57(0x261)])],_0x339e47);var _0x221843=Object[_0x201e57(0x241)],_0x5d4887=(_0x2b6f29,_0x213e68,_0x1eb353,_0x140478)=>{const _0x391386=_0x201e57;for(var _0x1a2717=_0x140478>0x1?void 0x0:_0x140478?_0x221843(_0x213e68,_0x1eb353):_0x213e68,_0x4e7541=_0x2b6f29[_0x391386(0x2da)]-0x1,_0x19bbdb;_0x4e7541>=0x0;_0x4e7541--)(_0x19bbdb=_0x2b6f29[_0x4e7541])&&(_0x1a2717=_0x19bbdb(_0x1a2717)||_0x1a2717);return _0x1a2717;},_0x2d1036=(_0x50f585,_0x348d88)=>(_0x333988,_0x125351)=>_0x348d88(_0x333988,_0x125351,_0x50f585);let _0x555da5=class extends _0x2759ff['Disposable']{constructor(_0x3e0223,_0x911070,_0x3341a5,_0x6747b9,_0x35866c,_0x5e2b44,_0x3ef2a8,_0x39fab6){const _0x1366c9=_0x201e57;super(),_0x252fd8(this,_0x1366c9(0x1cd),new _0x537bbf[(_0x1366c9(0x116))](_0x3eb9ff[_0x1366c9(0x2ce)][_0x1366c9(0x347)])),(this[_0x1366c9(0x14c)]=_0x3e0223,this['_collaborationController']=_0x911070,this[_0x1366c9(0x349)]=_0x3341a5,this[_0x1366c9(0x291)]=_0x6747b9,this[_0x1366c9(0x22a)]=_0x35866c,this[_0x1366c9(0x38d)]=_0x5e2b44,this['_messageService']=_0x3ef2a8,this[_0x1366c9(0x157)]=_0x39fab6,this[_0x1366c9(0x3a4)]());}[_0x201e57(0x3a4)](){const _0x21ee70=_0x201e57;this[_0x21ee70(0x38b)](this[_0x21ee70(0x10b)][_0x21ee70(0x323)][_0x21ee70(0x30d)](_0x4a2c22=>{const _0x5336c3=_0x21ee70,_0x4e5de4=this[_0x5336c3(0x14c)][_0x5336c3(0x257)][_0x5336c3(0x30d)](_0x57bbcf=>{const _0xc309a5=_0x5336c3;if(_0x57bbcf==null)return;const {unitId:_0x2e8df3,redoState:_0xf967bf,commandId:_0xb018fe}=_0x57bbcf;if(_0x2e8df3!==_0x4a2c22[_0xc309a5(0x124)])return;const _0x3dfe4c={'id':_0xb018fe,'type':_0x2759ff[_0xc309a5(0x281)][_0xc309a5(0x166)],'params':{'unitId':_0x2e8df3,'actions':_0xf967bf[_0xc309a5(0x2fb)],'textRanges':null}};_0x4a2c22[_0xc309a5(0x13b)](_0x3dfe4c);});if(_0x4a2c22['disposeWithMe'](_0x4e5de4),_0x4a2c22 instanceof _0x3eb9ff[_0x5336c3(0x366)]){const _0x328d0b={'onTransformIME':_0x27307b=>this['_docTransformIMECacheService'][_0x5336c3(0x2a9)](_0x27307b),'onTransformState':_0x53d7d6=>this[_0x5336c3(0x291)]['transformStateCache'](_0x53d7d6),'onTransformSelections':_0xfd20ed=>this[_0x5336c3(0x22a)][_0x5336c3(0x34b)](_0xfd20ed),'onSyncEditingCollabCursor':_0x51145b=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x51145b),'onTransformRemoteChangesetByIMECache':_0x3cff2a=>this[_0x5336c3(0x349)][_0x5336c3(0x1b3)](_0x3cff2a),'onTransformRemoteChangesetByStateCache':_0x4521bf=>this[_0x5336c3(0x291)][_0x5336c3(0x1b3)](_0x4521bf)};_0x4a2c22[_0x5336c3(0x318)](_0x328d0b);}}));}};_0x555da5=_0x5d4887([_0x2d1036(0x0,_0x2759ff[_0x201e57(0x1d6)](_0x26d882[_0x201e57(0x351)])),_0x2d1036(0x1,_0x2759ff[_0x201e57(0x1d6)](_0x3eb9ff[_0x201e57(0x359)])),_0x2d1036(0x2,_0x2759ff[_0x201e57(0x1d6)](_0x4251c2)),_0x2d1036(0x3,_0x2759ff['Inject'](_0x5c19d3)),_0x2d1036(0x4,_0x2759ff[_0x201e57(0x1d6)](_0x339e47)),_0x2d1036(0x5,_0x2759ff[_0x201e57(0x1d6)](_0x2261c7)),_0x2d1036(0x6,_0x1f9573[_0x201e57(0x1d8)]),_0x2d1036(0x7,_0x2759ff[_0x201e57(0x1d6)](_0x2759ff[_0x201e57(0x218)]))],_0x555da5);var _0x2218a3=Object['getOwnPropertyDescriptor'],_0x2a3c29=(_0x2678ea,_0x55a9d4,_0x5d03dc,_0x160573)=>{const _0x51d012=_0x201e57;for(var _0x3f293b=_0x160573>0x1?void 0x0:_0x160573?_0x2218a3(_0x55a9d4,_0x5d03dc):_0x55a9d4,_0x4e9c12=_0x2678ea[_0x51d012(0x2da)]-0x1,_0x3bbd65;_0x4e9c12>=0x0;_0x4e9c12--)(_0x3bbd65=_0x2678ea[_0x4e9c12])&&(_0x3f293b=_0x3bbd65(_0x3f293b)||_0x3f293b);return _0x3f293b;},_0x4dbdc0=(_0x3f586c,_0x4a63cd)=>(_0x174e14,_0x34b157)=>_0x4a63cd(_0x174e14,_0x34b157,_0x3f586c);let _0xf81fe1=class extends _0x2759ff[_0x201e57(0x258)]{constructor(_0x53a764,_0x4e81ba,_0x1ba6f2){const _0x386f71=_0x201e57;super(),_0x252fd8(this,_0x386f71(0x221),new Map()),_0x252fd8(this,'_saveTaskMap',new Map()),_0x252fd8(this,_0x386f71(0x2df),!0x1),(this['_configService']=_0x53a764,this['_localStorageService']=_0x4e81ba,this[_0x386f71(0x228)]=_0x1ba6f2);}[_0x201e57(0x152)](){this['_disabled']=!0x0;}[_0x201e57(0x147)](){const _0x1ce4f0=_0x201e57;this[_0x1ce4f0(0x2df)]=!0x1;}get[_0x201e57(0x134)](){const _0x50792d=_0x201e57;return this[_0x50792d(0x398)];}[_0x201e57(0x2c2)](){const _0x32f58e=_0x201e57;this[_0x32f58e(0x33e)]()['then'](()=>super[_0x32f58e(0x2c2)]());}async[_0x201e57(0x348)](_0x5120c9){const _0x183990=_0x201e57;return this[_0x183990(0x2df)]?null:this['_localStorageService'][_0x183990(0x23e)](_0x3eb9ff[_0x183990(0x21d)](_0x5120c9));}async[_0x201e57(0x129)](_0x310ec3,_0x5c1258){const _0x1d8fc0=_0x201e57;return!!this[_0x1d8fc0(0x265)][_0x1d8fc0(0x2af)](_0x310ec3,_0x5c1258);}['updateOfflineData'](_0x4a63af,_0x5ad78f,_0x4e4f49,_0x2d45ab){const _0x318027=_0x201e57,_0x287a76=this[_0x318027(0x228)][_0x318027(0x2ec)](_0x4a63af);this['_cachedData']['set'](_0x4a63af,{'unitID':_0x4a63af,'type':_0x5ad78f,'awaitingChangeset':_0x4e4f49,'mutations':_0x2d45ab,'rev':_0x287a76}),this[_0x318027(0x398)][_0x318027(0x26f)](_0x4a63af)||this[_0x318027(0x36d)](_0x4a63af);}['_scheduleSaving'](_0xf7cf5c){const _0x17e40c=_0x201e57,_0x4f315f=this[_0x17e40c(0x180)]();_0x4f315f===0x0?this[_0x17e40c(0x24d)](_0xf7cf5c):this[_0x17e40c(0x398)]['set'](_0xf7cf5c,setTimeout(()=>this[_0x17e40c(0x24d)](_0xf7cf5c),_0x4f315f));}[_0x201e57(0x180)](){const _0x58b2e5=_0x201e57;var _0x4934cc;return(_0x4934cc=this[_0x58b2e5(0x125)][_0x58b2e5(0x327)](_0x3eb9ff[_0x58b2e5(0x255)]))!=null?_0x4934cc:_0x3eb9ff[_0x58b2e5(0x364)];}[_0x201e57(0x24d)](_0x54508d){const _0x2a4bfd=_0x201e57,_0xf6d6a3=this[_0x2a4bfd(0x398)][_0x2a4bfd(0x363)](_0x54508d);return _0xf6d6a3!==void 0x0&&window[_0x2a4bfd(0x1bc)](_0xf6d6a3),this[_0x2a4bfd(0x265)][_0x2a4bfd(0x2af)](_0x3eb9ff[_0x2a4bfd(0x21d)](_0x54508d),this[_0x2a4bfd(0x221)][_0x2a4bfd(0x363)](_0x54508d))[_0x2a4bfd(0x301)](()=>this['_saveTaskMap'][_0x2a4bfd(0x1c1)](_0x54508d));}async['exhaustSavingTask'](){const _0x54908f=_0x201e57,_0x351a3f=[];this[_0x54908f(0x398)][_0x54908f(0x2e8)]((_0x486149,_0x4dbdec)=>{const _0x4fec0e=_0x54908f;window['clearTimeout'](_0x486149),_0x351a3f[_0x4fec0e(0x260)](this[_0x4fec0e(0x24d)](_0x4dbdec)['then'](()=>{const _0x368059=_0x4fec0e;this[_0x368059(0x398)][_0x368059(0x1c1)](_0x4dbdec);}));}),await Promise[_0x54908f(0x278)](_0x351a3f);}};_0xf81fe1=_0x2a3c29([_0x4dbdc0(0x0,_0x2759ff[_0x201e57(0x122)]),_0x4dbdc0(0x1,_0x2759ff[_0x201e57(0x1a3)]),_0x4dbdc0(0x2,_0x2759ff['Inject'](_0xd015f1['RevisionService']))],_0xf81fe1);class _0x76fd58 extends _0x2759ff[_0x201e57(0x243)]{constructor(){const _0x2562aa=_0x201e57;super(),_0x252fd8(this,_0x2562aa(0x158)),this['urlChange$']=_0x537bbf[_0x2562aa(0x2a6)](window,_0x2562aa(0x120))[_0x2562aa(0x1fb)](_0x537bbf['takeUntil'](this[_0x2562aa(0x311)]),_0x537bbf[_0x2562aa(0x225)](0x1),_0x537bbf[_0x2562aa(0x365)](void 0x0));}[_0x201e57(0x29e)](_0x34268a,_0x249fce,_0x5be0fe=!0x1){const _0x3d240d=_0x201e57,_0x1b8312=new URL(window[_0x3d240d(0x227)]['href']);_0x1b8312['searchParams'][_0x3d240d(0x18d)](_0x34268a,_0x249fce),_0x5be0fe?window[_0x3d240d(0x2a3)]['replaceState']('','',_0x1b8312[_0x3d240d(0x15b)]()):window[_0x3d240d(0x2a3)]['pushState']('','',_0x1b8312[_0x3d240d(0x15b)]());}['removeParam'](_0x3929bb,_0x3291d5=!0x1){const _0x5d132f=_0x201e57,_0x26a8f3=new URL(window[_0x5d132f(0x227)][_0x5d132f(0x20e)]);_0x26a8f3[_0x5d132f(0x2b7)][_0x5d132f(0x1c1)](_0x3929bb),_0x3291d5?window[_0x5d132f(0x2a3)][_0x5d132f(0x344)]('','',_0x26a8f3[_0x5d132f(0x15b)]()):window[_0x5d132f(0x2a3)][_0x5d132f(0x104)]('','',_0x26a8f3[_0x5d132f(0x15b)]());}[_0x201e57(0x2fe)](_0x53036d){const _0x277ff1=_0x201e57;var _0x5d188c;return(_0x5d188c=new URL(window[_0x277ff1(0x227)][_0x277ff1(0x20e)])[_0x277ff1(0x2b7)]['get'](_0x53036d))!=null?_0x5d188c:void 0x0;}}var _0x1073d3=Object[_0x201e57(0x13a)],_0x4c678c=Object[_0x201e57(0x241)],_0x578ba1=(_0x4959ff,_0x30889b,_0x57dd8c)=>_0x30889b in _0x4959ff?_0x1073d3(_0x4959ff,_0x30889b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x57dd8c}):_0x4959ff[_0x30889b]=_0x57dd8c,_0x4b98da=(_0x5a7930,_0x431308,_0x20afb6,_0x222951)=>{const _0xa9e302=_0x201e57;for(var _0x1d0769=_0x222951>0x1?void 0x0:_0x222951?_0x4c678c(_0x431308,_0x20afb6):_0x431308,_0x37d5f4=_0x5a7930[_0xa9e302(0x2da)]-0x1,_0x580728;_0x37d5f4>=0x0;_0x37d5f4--)(_0x580728=_0x5a7930[_0x37d5f4])&&(_0x1d0769=_0x580728(_0x1d0769)||_0x1d0769);return _0x1d0769;},_0x5d6cab=(_0x5332c7,_0x2ac0b0)=>(_0x480941,_0x3c963c)=>_0x2ac0b0(_0x480941,_0x3c963c,_0x5332c7),_0x2d29ae=(_0xda5ca6,_0xfdeebb,_0x8fa340)=>_0x578ba1(_0xda5ca6,_0xfdeebb+'',_0x8fa340);const _0xb160ca='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x45539c[_0x201e57(0x171)]=class extends _0x2759ff[_0x201e57(0x18c)]{constructor(_0x14dac7=_0x1f4474,_0x4e3e60,_0x97d5c6,_0x489ca2){const _0x52db96=_0x201e57;super(),this[_0x52db96(0x31c)]=_0x14dac7,this[_0x52db96(0x1c5)]=_0x4e3e60,this[_0x52db96(0x15a)]=_0x97d5c6,this['_configService']=_0x489ca2;const {..._0x3a7210}=_0x2759ff[_0x52db96(0x37f)]({},_0x1f4474,this[_0x52db96(0x31c)]);this[_0x52db96(0x125)][_0x52db96(0x133)](_0x37fdea,_0x3a7210);}[_0x201e57(0x385)](){const _0x217c12=_0x201e57;this[_0x217c12(0x314)](),this['_initDependencies']();}[_0x201e57(0x142)](){const _0x2c7f91=_0x201e57;this[_0x2c7f91(0x247)]();}['_registerDependencies'](){const _0x2be483=_0x201e57;var _0x58e822;const _0x3e599f=[[_0x3cb2a0],[_0x339e47],[_0x4251c2],[_0x5c19d3],[_0x2261c7],[_0x32c919,{'useClass':_0x76fd58}],[_0x194e64[_0x2be483(0x32e)],{'useClass':_0x194e64[_0x2be483(0x20d)]}],[_0x3eb9ff[_0x2be483(0x22f)],{'useClass':_0xf81fe1}],[_0x45539c[_0x2be483(0x35d)]],[_0x555da5],[_0x49b9f8],[_0xf08a42],[_0x3b2650],[_0x45539c[_0x2be483(0x153)]]];_0x2759ff[_0x2be483(0x30e)](this[_0x2be483(0x15a)],_0x2759ff[_0x2be483(0x16c)](_0x3e599f,(_0x58e822=this[_0x2be483(0x31c)])==null?void 0x0:_0x58e822[_0x2be483(0x143)]));}[_0x201e57(0x247)](){const _0x2e62b8=_0x201e57;this[_0x2e62b8(0x38b)](this[_0x2e62b8(0x1c5)]['registerRenderModule'](_0x2759ff[_0x2e62b8(0x280)][_0x2e62b8(0x12d)],[_0x185e83])),this[_0x2e62b8(0x38b)](this[_0x2e62b8(0x1c5)][_0x2e62b8(0x356)](_0x2759ff[_0x2e62b8(0x280)][_0x2e62b8(0x105)],[_0x57b6ea]));}[_0x201e57(0x19b)](){const _0x24246f=_0x201e57;_0x2759ff['touchDependencies'](this[_0x24246f(0x15a)],[[_0xf08a42],[_0x45539c[_0x24246f(0x35d)]],[_0x555da5],[_0x49b9f8],[_0x45539c[_0x24246f(0x153)]]]);}},_0x2d29ae(_0x45539c['UniverCollaborationClientUIPlugin'],_0x201e57(0x111),_0xb160ca),_0x45539c[_0x201e57(0x171)]=_0x4b98da([_0x2759ff['DependentOn'](_0x3eb9ff[_0x201e57(0x32c)]),_0x5d6cab(0x1,_0xa08486[_0x201e57(0x185)]),_0x5d6cab(0x2,_0x2759ff['Inject'](_0x2759ff[_0x201e57(0x118)])),_0x5d6cab(0x3,_0x2759ff[_0x201e57(0x122)])],_0x45539c['UniverCollaborationClientUIPlugin']);var _0xb9ada1=Object[_0x201e57(0x241)],_0x1d7923=(_0x41d739,_0x47210f,_0xc341c5,_0x8ff131)=>{const _0x5e673f=_0x201e57;for(var _0x9e87d3=_0x8ff131>0x1?void 0x0:_0x8ff131?_0xb9ada1(_0x47210f,_0xc341c5):_0x47210f,_0x5daab6=_0x41d739[_0x5e673f(0x2da)]-0x1,_0x435f48;_0x5daab6>=0x0;_0x5daab6--)(_0x435f48=_0x41d739[_0x5daab6])&&(_0x9e87d3=_0x435f48(_0x9e87d3)||_0x9e87d3);return _0x9e87d3;},_0xb9c6e6=(_0x2a3cac,_0x3b1152)=>(_0x27363b,_0x23b494)=>_0x3b1152(_0x27363b,_0x23b494,_0x2a3cac);_0x45539c[_0x201e57(0x249)]=class extends _0x3eb9ff[_0x201e57(0x18b)]{constructor(_0x2e744d,_0x4c01df,_0x5b362d,_0x226cc1,_0x2c4531){super(_0x2e744d,_0x4c01df,_0x5b362d,_0x226cc1,_0x2c4531);}async[_0x201e57(0x388)](_0x2055af){const _0x24f442=_0x201e57,_0x3b463a=await this[_0x24f442(0x13c)](),_0x330c59=this['_createSocketURL'](_0x2055af,_0x3b463a);return this[_0x24f442(0x1c9)](_0x330c59);}[_0x201e57(0x32a)](_0x168e29,_0x443a8f){const _0x245ff9=_0x201e57,_0x2bdd17=typeof window>'u'?new URL(_0x168e29):new URL(_0x168e29,window[_0x245ff9(0x227)]['origin']);_0x2bdd17['searchParams'][_0x245ff9(0x18d)](_0x245ff9(0x337),_0x443a8f);const _0x31c4eb=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x245ff9(0x227)]['search']);return _0x31c4eb[_0x245ff9(0x363)](_0x245ff9(0x189))&&_0x2bdd17[_0x245ff9(0x2b7)][_0x245ff9(0x18d)](_0x245ff9(0x189),_0x31c4eb['get'](_0x245ff9(0x189))),_0x2bdd17[_0x245ff9(0x15b)]();}async[_0x201e57(0x13c)](){const _0x4f8c08=_0x201e57;var _0x531609,_0x173057,_0x242c70;const _0x22bb18=this[_0x4f8c08(0x125)][_0x4f8c08(0x327)](_0x3eb9ff[_0x4f8c08(0x1f9)]),_0x5a22eb=(_0x531609=_0x22bb18==null?void 0x0:_0x22bb18[_0x4f8c08(0x335)])!=null?_0x531609:_0x3eb9ff[_0x4f8c08(0x1c0)];return(_0x242c70=(_0x173057=(await this[_0x4f8c08(0x1af)][_0x4f8c08(0x363)](_0x5a22eb,{'headers':{'Content-Type':'application/json'}}))[_0x4f8c08(0x29d)])==null?void 0x0:_0x173057['ticket'])!=null?_0x242c70:'';}},_0x45539c[_0x201e57(0x249)]=_0x1d7923([_0xb9c6e6(0x0,_0x2759ff[_0x201e57(0x1d6)](_0x2759ff['Injector'])),_0xb9c6e6(0x1,_0x2759ff['Inject'](_0x194e64['HTTPService'])),_0xb9c6e6(0x2,_0x2759ff[_0x201e57(0x122)]),_0xb9c6e6(0x3,_0x2759ff['ILogService']),_0xb9c6e6(0x4,_0xd015f1[_0x201e57(0x39c)])],_0x45539c[_0x201e57(0x249)]);const _0x5b3d18=0x7530,_0x57dce8=_0x201e57(0x2ed);class _0x1d8df8 extends _0x2759ff[_0x201e57(0x258)]{constructor(){const _0x2bb4ee=_0x201e57;super(),_0x252fd8(this,'_id',_0x2759ff[_0x2bb4ee(0x1fa)]()),_0x252fd8(this,'_selfUnitIDs',new Set()),_0x252fd8(this,'_unitOnClients',new Map()),_0x252fd8(this,_0x2bb4ee(0x3a2),null),_0x252fd8(this,'_clearOtherTimers',new Map()),_0x252fd8(this,'_unitStatus',new Map()),this['_init']();}[_0x201e57(0x2c2)](){const _0x41ad41=_0x201e57;super[_0x41ad41(0x2c2)](),this['_clearOtherTimers']['forEach']((_0x1d0478,_0x315fad)=>this['_removeClearOtherTimer'](_0x315fad)),this['_heartbeatTimer']&&window[_0x41ad41(0x112)](this[_0x41ad41(0x3a2)]);}[_0x201e57(0x115)](_0x1fe2fb){const _0x31b7a9=_0x201e57;return this[_0x31b7a9(0x1a2)](_0x1fe2fb)[_0x31b7a9(0x1fb)](_0x537bbf[_0x31b7a9(0x18f)]());}['editingUnit'](_0x2bbb5b){const _0x25df81=_0x201e57;this[_0x25df81(0x313)][_0x25df81(0x1b1)]===0x0&&this['_scheduleHeartbeat'](),this[_0x25df81(0x313)][_0x25df81(0x27d)](_0x2bbb5b),this['_send']({'type':0x0,'memberID':this[_0x25df81(0x1f5)],'unitIDs':[_0x2bbb5b],'isForwarded':!0x1});}[_0x201e57(0x1e1)](_0x19bfac){const _0x4015f8=_0x201e57;this[_0x4015f8(0x313)][_0x4015f8(0x1c1)](_0x19bfac),this[_0x4015f8(0x313)][_0x4015f8(0x1b1)]===0x0&&this[_0x4015f8(0x3a2)]&&window[_0x4015f8(0x112)](this[_0x4015f8(0x3a2)]);}[_0x201e57(0x338)](){const _0xcd768c=_0x201e57;this[_0xcd768c(0x38b)](_0x2759ff[_0xcd768c(0x36b)](_0x537bbf['fromEvent'](window,_0xcd768c(0x1b5))[_0xcd768c(0x30d)](_0xdb15c=>{const _0x33761d=_0xcd768c;if(_0xdb15c['key']!==_0x57dce8||!_0xdb15c[_0x33761d(0x2ef)])return;const _0x3c2fca=JSON[_0x33761d(0x324)](_0xdb15c[_0x33761d(0x2ef)]);this[_0x33761d(0x384)](_0x3c2fca);}))),window[_0xcd768c(0x2c9)](_0xcd768c(0x240),()=>this[_0xcd768c(0x1ce)]({'type':0x1,'memberID':this[_0xcd768c(0x1f5)],'unitIDs':Array[_0xcd768c(0x203)](this[_0xcd768c(0x313)])}));}[_0x201e57(0x384)](_0x263abc){const _0x482953=_0x201e57;switch(_0x263abc['type']){case 0x0:this[_0x482953(0x30a)](_0x263abc);break;case 0x1:this[_0x482953(0x389)](_0x263abc);break;case 0x2:this['_handleHeartbeatEvent'](_0x263abc);break;}}['_handleJoinEvent'](_0xa22fcb){const _0x2745be=_0x201e57,{unitIDs:_0x33df64,memberID:_0x4287ff,isForwarded:_0x3c4926}=_0xa22fcb;_0x33df64['forEach'](_0x4ef992=>{const _0x31a556=_0x1dc9;if(!_0x3c4926&&this['_unitOnClients'][_0x31a556(0x26f)](_0x4ef992)&&this[_0x31a556(0x1a2)](_0x4ef992)['next'](_0x3eb9ff['UnitStatus'][_0x31a556(0x13e)]),!this[_0x31a556(0x292)][_0x31a556(0x26f)](_0x4ef992)||!this['_unitOnClients']['get'](_0x4ef992)[_0x31a556(0x26f)](_0x4287ff)){const _0xa22dbd=this[_0x31a556(0x292)]['get'](_0x4ef992)||new Set();_0xa22dbd[_0x31a556(0x27d)](_0x4287ff),this[_0x31a556(0x292)][_0x31a556(0x18d)](_0x4ef992,_0xa22dbd),this[_0x31a556(0x170)](_0x4287ff);}}),_0x3c4926||this['_send']({'type':0x0,'memberID':this[_0x2745be(0x1f5)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x1b988b){const _0x1cbefa=_0x201e57;this['_removeClearOtherTimer'](_0x1b988b);const _0x5293e0=window[_0x1cbefa(0x2b1)](()=>{const _0x2205c8=_0x1cbefa;this[_0x2205c8(0x292)][_0x2205c8(0x2e8)](_0x13568f=>{const _0x2cd140=_0x2205c8;_0x13568f[_0x2cd140(0x1c1)](_0x1b988b);});},_0x5b3d18*0x2);this[_0x1cbefa(0x379)][_0x1cbefa(0x18d)](_0x1b988b,_0x5293e0);}[_0x201e57(0x342)](_0x1387e7){const _0x439a64=_0x201e57;if(this['_clearOtherTimers']['has'](_0x1387e7)){const _0x5e19bb=this[_0x439a64(0x379)]['get'](_0x1387e7);_0x5e19bb&&window['clearTimeout'](_0x5e19bb),this[_0x439a64(0x379)]['set'](_0x1387e7,null);}}[_0x201e57(0x389)](_0x58189a){const _0x2716be=_0x201e57,{memberID:_0x5cd04d,unitIDs:_0x221f24}=_0x58189a;_0x221f24[_0x2716be(0x2e8)](_0x21765d=>{const _0xcdafa8=_0x2716be;var _0x55ba98;const _0x36cbce=this[_0xcdafa8(0x292)][_0xcdafa8(0x363)](_0x21765d);_0x36cbce&&(_0x36cbce['delete'](_0x5cd04d),(_0x55ba98=this[_0xcdafa8(0x1a2)](_0x21765d))==null||_0x55ba98[_0xcdafa8(0x2a1)](_0x36cbce[_0xcdafa8(0x1b1)]===0x0?_0x3eb9ff[_0xcdafa8(0x343)]['NO_OTHER_CLIENTS_EDITING']:_0x3eb9ff[_0xcdafa8(0x343)][_0xcdafa8(0x13e)]));}),this['_removeClearOtherTimer'](_0x5cd04d);}[_0x201e57(0x24e)](_0x2e4e0a){const _0x37076d=_0x201e57;this[_0x37076d(0x170)](_0x2e4e0a['memberID']);}['_send'](_0x3cf973){const _0x39658c=_0x201e57;localStorage[_0x39658c(0x2af)](_0x57dce8,JSON[_0x39658c(0x25d)](_0x3cf973));}[_0x201e57(0x37d)](){const _0x835b93=_0x201e57;this[_0x835b93(0x3a2)]=window[_0x835b93(0x1cc)](()=>{const _0x465d34=_0x835b93;this[_0x465d34(0x1ce)]({'type':0x2,'memberID':this[_0x465d34(0x1f5)]});},_0x5b3d18);}['_ensureSubject'](_0x49b99c){const _0x2b82d8=_0x201e57;return this[_0x2b82d8(0x19f)][_0x2b82d8(0x26f)](_0x49b99c)||this[_0x2b82d8(0x19f)][_0x2b82d8(0x18d)](_0x49b99c,new _0x537bbf[(_0x2b82d8(0x116))](_0x3eb9ff[_0x2b82d8(0x343)][_0x2b82d8(0x160)])),this[_0x2b82d8(0x19f)][_0x2b82d8(0x363)](_0x49b99c);}}var _0x5b561d=(_0x13045a=>(_0x13045a[_0x13045a[_0x201e57(0x390)]=0x0]='UNDEFINED',_0x13045a[_0x13045a['OK']=0x1]='OK',_0x13045a[_0x13045a[_0x201e57(0x211)]=0x2]=_0x201e57(0x211),_0x13045a[_0x13045a['PERMISSION_DENIED']=0x3]=_0x201e57(0x103),_0x13045a[_0x13045a['NOT_FOUND']=0x4]=_0x201e57(0x20c),_0x13045a[_0x13045a[_0x201e57(0x23a)]=0x5]='UNAUTHENTICATED',_0x13045a[_0x13045a['ALREADY_EXISTS']=0x6]=_0x201e57(0x36c),_0x13045a[_0x13045a[_0x201e57(0x179)]=0x7]='INVALID_ARGUMENT',_0x13045a[_0x13045a[_0x201e57(0x25e)]=0x8]=_0x201e57(0x25e),_0x13045a[_0x13045a[_0x201e57(0x215)]=0x9]=_0x201e57(0x215),_0x13045a[_0x13045a['LOGIN_FAILED']=0xa]=_0x201e57(0x2c7),_0x13045a[_0x13045a['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x201e57(0x1e7),_0x13045a[_0x13045a['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x201e57(0x319),_0x13045a[_0x13045a[_0x201e57(0x1d3)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x13045a[_0x13045a[_0x201e57(0x2f4)]=0x1773]=_0x201e57(0x2f4),_0x13045a[_0x13045a[_0x201e57(0x253)]=0x1b59]=_0x201e57(0x253),_0x13045a[_0x13045a['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x201e57(0x1ac),_0x13045a[_0x13045a[_0x201e57(0x199)]=0x1b5b]=_0x201e57(0x199),_0x13045a[_0x13045a['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x201e57(0x1d4),_0x13045a[_0x13045a[_0x201e57(0x18a)]=0x1b5d]='APPLY_DUPLICATED',_0x13045a[_0x13045a[_0x201e57(0x1eb)]=0x1f41]=_0x201e57(0x1eb),_0x13045a[_0x13045a[_0x201e57(0x101)]=0x2329]=_0x201e57(0x101),_0x13045a[_0x13045a[_0x201e57(0x273)]=0x232a]=_0x201e57(0x273),_0x13045a[_0x13045a[_0x201e57(0x183)]=0x232b]=_0x201e57(0x183),_0x13045a[_0x13045a[_0x201e57(0x21c)]=0x232c]=_0x201e57(0x21c),_0x13045a[_0x13045a['LICENSE_DISTRO_REJECTED']=0x232d]=_0x201e57(0x1e4),_0x13045a[_0x13045a[_0x201e57(0x284)]=0x2711]=_0x201e57(0x284),_0x13045a[_0x13045a[_0x201e57(0x28a)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x13045a[_0x13045a[_0x201e57(0x290)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x13045a[_0x13045a[_0x201e57(0x35b)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x13045a[_0x13045a[_0x201e57(0x13f)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x13045a[_0x13045a[_0x201e57(0x353)]=0x271b]=_0x201e57(0x353),_0x13045a[_0x13045a[_0x201e57(0x135)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x13045a[_0x13045a[_0x201e57(0x2d7)]=0x271d]=_0x201e57(0x2d7),_0x13045a[_0x13045a[_0x201e57(0x22b)]=0x271e]=_0x201e57(0x22b),_0x13045a[_0x13045a[_0x201e57(0x2b8)]=0x271f]=_0x201e57(0x2b8),_0x13045a[_0x13045a['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x201e57(0x1ab),_0x13045a[_0x13045a[_0x201e57(0x27a)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x13045a[_0x13045a[_0x201e57(0x2e4)]=0x2ee2]=_0x201e57(0x2e4),_0x13045a[_0x13045a['INVITE_CODE_REQUIRED']=0x2ee3]=_0x201e57(0x146),_0x13045a[_0x13045a[_0x201e57(0x12c)]=0x2ee4]=_0x201e57(0x12c),_0x13045a[_0x13045a[_0x201e57(0x32b)]=0x2ee5]=_0x201e57(0x32b),_0x13045a[_0x13045a[_0x201e57(0x1aa)]=0x32c9]=_0x201e57(0x1aa),_0x13045a[_0x13045a[_0x201e57(0x2fa)]=0x32ca]=_0x201e57(0x2fa),_0x13045a[_0x13045a[_0x201e57(0x2e1)]=0x32cb]=_0x201e57(0x2e1),_0x13045a[_0x13045a[_0x201e57(0x369)]=-0x1]=_0x201e57(0x369),_0x13045a))(_0x5b561d||{}),_0x535494=Object['getOwnPropertyDescriptor'],_0x30486c=(_0xd1ae1c,_0x62d88b,_0x47e7b6,_0x63ec8a)=>{const _0x2f098c=_0x201e57;for(var _0x465450=_0x63ec8a>0x1?void 0x0:_0x63ec8a?_0x535494(_0x62d88b,_0x47e7b6):_0x62d88b,_0x62c529=_0xd1ae1c[_0x2f098c(0x2da)]-0x1,_0x67e690;_0x62c529>=0x0;_0x62c529--)(_0x67e690=_0xd1ae1c[_0x62c529])&&(_0x465450=_0x67e690(_0x465450)||_0x465450);return _0x465450;},_0x4eafb5=(_0x58a370,_0x2a7499)=>(_0x3c1151,_0x3dc1cf)=>_0x2a7499(_0x3c1151,_0x3dc1cf,_0x58a370);_0x45539c[_0x201e57(0x1d9)]=class extends _0x2759ff[_0x201e57(0x258)]{constructor(_0x581599,_0x1e73b9,_0x2af47e){const _0x3da8cf=_0x201e57;super(),this[_0x3da8cf(0x37e)]=_0x581599,this[_0x3da8cf(0x1af)]=_0x1e73b9,this[_0x3da8cf(0x125)]=_0x2af47e;}async[_0x201e57(0x371)](_0x3eccc3,_0x599dc5,_0x18c2c8,..._0x1170b3){const _0xc3d382=_0x201e57;var _0x1ff634,_0x1676e9,_0x34fcf7,_0x2664d5;const _0x536a4f=this[_0xc3d382(0x37e)][_0xc3d382(0x1a9)]();if(!_0x536a4f)throw new Error(_0xc3d382(0x39e));const _0x595808=((_0x1ff634=this[_0xc3d382(0x125)][_0xc3d382(0x327)](_0x3eb9ff[_0xc3d382(0x15d)]))!=null?_0x1ff634:_0x3eb9ff[_0xc3d382(0x250)])+'/'+_0x3eccc3+_0xc3d382(0x159)+_0x599dc5,_0x183e99=new URL(window[_0xc3d382(0x227)][_0xc3d382(0x20e)]),_0x59a1e4={'scriptId':_0x3eccc3,'runId':(_0x1676e9=_0x183e99[_0xc3d382(0x2b7)][_0xc3d382(0x363)](_0xc3d382(0x189)))!=null?_0x1676e9:'','function':_0x599dc5,'unitId':_0x536a4f[_0xc3d382(0x1f0)](),'argsOfFunction':JSON[_0xc3d382(0x25d)](_0x1170b3),'invokeId':(_0x34fcf7=_0x18c2c8['invokeId'])!=null?_0x34fcf7:'','executionId':(_0x2664d5=_0x18c2c8[_0xc3d382(0x2ee)])!=null?_0x2664d5:''};try{const _0x397434=await this[_0xc3d382(0x1af)][_0xc3d382(0xff)](_0x595808,{'body':_0x59a1e4});return _0x397434[_0xc3d382(0x29d)][_0xc3d382(0x23d)]&&_0x397434['body']['error']['code']!==_0x5b561d['OK']?_0xc3d382(0x1db):_0x397434['body'][_0xc3d382(0x27c)];}catch{return _0xc3d382(0x1db);}}},_0x45539c[_0x201e57(0x1d9)]=_0x30486c([_0x4eafb5(0x0,_0x2759ff[_0x201e57(0x28d)]),_0x4eafb5(0x1,_0x2759ff[_0x201e57(0x1d6)](_0x194e64['HTTPService'])),_0x4eafb5(0x2,_0x2759ff['IConfigService'])],_0x45539c[_0x201e57(0x1d9)]),_0x45539c['CollaborationStatusDisplay']=_0x33acdc,_0x45539c['IURLService']=_0x32c919,_0x45539c[_0x201e57(0x39b)]=_0x1e62e5,_0x45539c['WebBrowserSingleActiveUnitService']=_0x1d8df8,_0x45539c[_0x201e57(0x24a)]=_0x76fd58,Object['defineProperty'](_0x45539c,Symbol['toStringTag'],{'value':'Module'});}));function _0x2352(){const _0x48fee8=['storage','data','_setupBeforeClosingHandler','addClipboardHook','restore','useCallback','DocSelectionManagerService','clearTimeout','extend','tag','useDependency','DEFAULT_WS_SESSION_TICKET_URL','delete','OTHER_CLIENT_EDITING','COLORS','InsertRangeMoveDownCommandId','_renderManagerService','url(#off-line-icon_clip0_910_343)','asObservable','createElement','_doCreateSocket','OffLineIcon','unshift','setInterval','_status$','_send','Warning','MemberService','getRenderById','getTypeOfUnitAdded$','SNAPSHOT_HAS_BEEN_REMOVED','APPLY_PERMISSION_DENIED','translate(.97)','Inject','children','IMessageService','RemoteUniscriptService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','Failed','transformMutation','getSheetObject','replaceDocRanges','currentColor','getStateCache','disposeUnit','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','M0\x200H16V16H0z','LICENSE_DISTRO_REJECTED','roomMembers','RegularPolygon','CHANGESET_REVISION_CONFILICT','setShapeProps','_notificationService','className','CONNECTOR_DATA_TOO_LARGE','debounceTime','_removeCollabCursors','USERS_LEAVE','getCurrentUnitForType','getUnitId','@univerjs/sheets-ui','_urlService','62176jLuipR','skeleton','_id','xlink:href','_collaborationUIEventService','IBeforeCloseService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','generateRandomId','pipe','_dataLoaderService','useObservable','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','div','_roomMembers$','assignAColorForMemberID','_docSkeleton','from','yellow.400','path','currentSkeleton$','icon','@univerjs/engine-formula','_hovered','collab-text-range-','UniverRpc','NOT_FOUND','WebSocketService','href','6PwCAjO','purple.300','INTERNAL_ERROR','onPointerMove$','max','textRanges','COMPLETION_FINISHED','on-line-icon','amd','LocaleService','engine','filter','SetTextSelectionsOperation','LICENSE_EXPORT_SIZE_EXCEEDED','getLocalCacheKey','complete','_backgroundColor','collaboration.single-unit.warning','_cachedData','trim','deepClone','findNodePositionByCharIndex','shareReplay','hovered','location','_revisionService','onMouseMove','_docTransformSelectionsService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_render','collabStatus.offline','3993892JXJhtC','ILocalCacheService','UniverEngineFormula','startsWith','_updateSubUnitFromURLParams','sheetID','_initStatusListener','ThemeService','ICommandService','beginPath','closePath','getActiveSheet','UNAUTHENTICATED','eventID','transformStateCache','error','getItem','_toggleOffline','unload','getOwnPropertyDescriptor','fromEventSubject','RxDisposable','send','displayName','makeDirty','_registerRenderDependencies','redoState','BrowserCollaborationSocketService','WebURLService','startRow','current','_saveCache','_handleHeartbeatEvent','UniverProCollaboration','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','setUndoRedoMutationParamsCache','ONLINE','APPLY_REJECT','UniverUi','LOCAL_CACHE_INTERVAL_KEY','_shapes','docStateChange$','Disposable','labelPosition','none','combineLatest','symbol','stringify','TOO_MANY_REQUESTS','collabStatus.fetchMiss','push','ITransformService','map','UniverProCollaborationClientUi','_onCursorDelete','_localStorageService','DocIMEInputManagerService','@univerjs/sheets','_startSheetCollabCursor','_refRangeService','#FFF','round','FromArray','top','@univerjs/ui','has','show','@univerjs/network','isEditing','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','off-line-icon','_hover','@univerjs/design','_drawAnchor','all','split','INVITE_CODE_HAS_BEEN_UES','_colorIndex','result','add','_draw','defIds','UniverInstanceType','CommandType','1666092rDwMRj','Subject','YUUMI_UNABLE_LOAD_URL','unsubscribe','flatMap','React','jsxs','_collabCursorController','YUUMI_URL_COL_OUT_OF_RANGE','0\x200\x2017\x2016','string','IUniverInstanceService','propertyIsEnumerable','hide','YUUMI_RATE_OVER_LIMIT','_docTransformStateCacheService','_unitOnClients','with','lineTo','UPDATE_CURSOR','prototype','Shape','evenodd','params','bottom','_updateURLWithCurrentState','react/jsx-runtime','body','setParam','VIEW_MAIN','collaboration-client.offline-data-not-saved','next','triggerDblclick','history','assign','_entities','fromEvent','_getMergeRange','_updateCollabCursors','transformIMECache','IDocClipboardService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','CONFLICT','MessageType','_getAnchorBounding','setItem','setAlpha','setTimeout','getColor','react','handleInsertRangeMoveDown','_transformService','BuiltInUIPart','searchParams','YUUMI_AI_RUN_FAILED','_drawRectRange','getValue','_name','_color','InsertColCommandId','_online','executeCommand','endColumn','getCollabEntity$','dispose','createInstance','useRef','_beforeCloseService','SheetSkeletonManagerService','LOGIN_FAILED','indexOf','addEventListener','Optional','getActiveRange','entries','getOffsetConfig','CollaborationStatus','moveTo','serializeRangeWithSheet','saveImage','[CollaborationDataLoaderController]','ranges','getUndoRedoMutationParamsCache','unit','Error','YUUMI_ALL_TABLES_IS_INVALID','_textBubble','_context','length','m2Prime','color','AWAITING','1507fwSiag','_disabled','handleInsertCol','EMAIL_HAS_BEEN_BOUND','whenReady','univer-flex\x20univer-items-center','INVALID_INVITE_CODE','_themeService','_sheetSkeletonManagerService','getViewport','forEach','save','debounce','unitId','getCurrentRevOfUnit','ACTIVE_UNIT_EVENT_CHANNEL','executionId','newValue','@univerjs/core','_memberService','hasOwnProperty','green.600','ENSURE_SNAPSHOT_EXECUTION','jiqing.500','_docSkeletonManagerService','svg','EffectRefRangId','_anchorDot','MOBILE_HAS_BEEN_BOUND','actions','getSheetBySheetId','_cursor','getParam','isArray','DeleteRangeMoveLeftCommandId','then','currentTheme$','selection','CollaborationUIEventId','_drawTextRange','INotificationService','handleDeleteRangeMoveUp','onPointerLeave$','_cursorInfo$','_handleJoinEvent','resize','min','subscribe','registerDependencies','handleMoveRange','SetDocZoomRatioOperation','dispose$','536984kOJYRw','_selfUnitIDs','_registerDependencies','CollaborationUIEventService','collaboration.closeRoom','_eventUnsubscribe','addHandlerCallback','SNAPSHOT_INVALID_SNAPSHOT','_commandService','getCellPositionByOffset','_config','ColorKit','getRelativeToViewportCoord','SUBMIT_CHANGESET_TIMEOUT','_initStatusComponent','_transformPreviousActiveRange','IImageIoService','entityInit$','parse','row','univer-flex\x20univer-mr-2\x20univer-text-xl','getConfig','toRgbString','CollaborationSessionService','_createSocketURL','INVITE_CODE_ALREADY_BOUND','UniverCollaborationClientPlugin','fillText','ISocketService','NodePositionConvertToRectRange','addObject','substring','_imageIoService','RECT','_range','wsSessionTicketUrl','values','sessionTicket','_init','contains','DOC_RANGE_TYPE','ILogService','permission.content','imageSourceType','exhaustSavingTask','rgba(255,\x20255,\x20255,\x200.01)','Vector2','http://www.w3.org/2000/svg','_removeClearOtherTimer','UnitStatus','replaceState','...','_univerInstanceService','NOT_COLLAB','loadOfflineData','_docTransformIMECacheService','subscribeEvent','transformSelections','DataLoaderService','collabStatus.synced','sessionStatus$','SOCKET_FAILED_RETRY','_messageService','DocStateChangeManagerService','_syncEditingCollabCursorService','YUUMI_ASYNCIO_CANCELLED','function','_localCacheService','registerRenderModule','getAncestorScale','undoState','CollaborationController','UniverDocs','YUUMI_SUBSCRIPTION_NOT_FOUND','takeUntil','DesktopCollaborationStatusDisplayController','SYNCED','activeSheet$','SheetsSelectionsService','Rectangle','collabCursorState$','get','LOCAL_CACHE_INTERVAL','mapTo','DocCollaborationEntity','_docClipboardService','501afsEFz','UNRECOGNIZED','handleInsertRangeMoveRight','toDisposable','ALREADY_EXISTS','_scheduleSaving','event$','JOIN_ROOM_FAILED','getMember','runOnServer','roomMembers$','_collabSessionService','connectInjector','arc','switchMap','getTypeOfUnitDisposed$','Tooltip','_clearOtherTimers','RichTextEditingMutation','univerjs-icon\x20univerjs-icon-','subUnitId','_scheduleHeartbeat','_instanceService','merge','_logService','isActive','loadUnit','clipPath','_handleEvent','onStarting','_toggleOnline','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','createSocket','_handleLeaveEvent','rxjs/operators','disposeWithMe','_transformHistoryAndStateStack','_docSyncEditingCollabCursorService','UniverSheets','registerBeforeClose','UNDEFINED','_initEvent','subunit','use','font','fill','cursorInfo','93870hmqBrz','_saveTaskMap','CLOSE_ROOM','_session','SheetCollabCursorShape','ISnapshotServerService','_refreshCollabCursors','[RemoteUniscriptService]:\x20no\x20focused\x20unit','DocSkeletonManagerService','@univerjs/engine-render','_lastPointer','_heartbeatTimer','UniverNetwork','_initEntityListener','blue.400','find','setActiveRange','_cursorShapes','range','post','_document','LICENSE_MAX_UNITS_EXCEEDED','_colorAssignService','PERMISSION_DENIED','pushState','UNIVER_SHEET','session.collaboration-timeout','getDocRanges','getCurrentSelections','collaboration-client-ui.config','_onRefRangeChange','_collaborationController','url(#on-line-icon_clip0_910_349)','AWAITING_WITH_PENDING','type','_getScale','NodePositionConvertToCursor','pluginName','clearInterval','startColumn','jsx','getUnitStatus$','BehaviorSubject','m1Prime','Injector','OFFLINE','UniverProCollaborationClient','transform','TEXT_RANGE_LAYER_INDEX','black','isTransformMutationsWithChangesetSuccess','_initResize','popstate','Unknown\x20user','IConfigService','off-line-icon_clip0_910_343','unitID','_configService','defs','1622615OTnxPV','_cursors','saveOfflineData','doc.mutation.rich-text-editing','getCoordByCell','USER_NOT_INVITED_CODE','UNIVER_DOC','handleInsertRow','SHEET_VIEWPORT_KEY','concat','idSuffix','DeleteRangeMoveUpCommandId','setConfig','saveTaskMap','YUUMI_TABLE_NOT_FOUND_IN_UNIT','214zVMosc','replace','attrs','rxjs','defineProperty','onLocalMutation','_getSessionTicket','column','OTHER_CLIENTS_EDITING','YUUMI_NO_CUBOID_FOR_QUESTION','transformMutationsWithChangeset','text','onRendered','override','registerRefRange','_setupSubUnitSync','INVITE_CODE_REQUIRED','enableLocalCache','Tools','white','getSkeleton','sheetId','_docStateChangeManagerService','getMemberID','forwardRef','531npHqBD','isTransformMutationFailure','onPointerEnter$','disableLocalCache','CollaborationDataLoaderController','_anchor','getCurrent','@univerjs/docs-ui','_localeService','urlChange$','/run/','_injector','toString','_hideTimer','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_labelPosition','TEXT','NO_OTHER_CLIENTS_EDITING','_assignedColors','Rect','0\x200\x2016\x2016','_handleHover','_onCursorUpdate','MUTATION','CollaborationEvent','name','@univerjs/rpc','url(#$1','@univerjs/docs','mergeOverrideWithDependencies','_scene','session.will-retry','UniverSheetsUi','_scheduleClearOtherTimer','UniverCollaborationClientUIPlugin','backgroundColor','debug','onTransformChange$','InsertRangeMoveRightCommandId','handleIRemoveCol','OnLineIcon','colorChannel1','INVALID_ARGUMENT','_transformUndoRedoStack','collabStatus.notCollab','createIdentifier','requireSession','width','call','_getSaveTimeout','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','getRangePointData','LICENSE_IMPORT_SIZE_EXCEEDED','measureText','IRenderManagerService','addObjects','@univerjs/drawing','fillStyle','runId','APPLY_DUPLICATED','CollaborationSocketService','Plugin','set','SessionStatus','distinctUntilChanged','_initCommandExecutedListener','@univerjs-pro/collaboration-client','some','mutations','_updateLocalCursor','getSheetId','apply','1em','HEADER_MENU','APPLY_REVISION_CONFILICT','RefRangeService','_initDependencies','init','getOwnPropertySymbols','transformByState','_unitStatus','getColorFromTheme','drawWith','_ensureSubject','ILocalStorageService','throttleTime','runRefRangeMutations','setStateCache','collab-text-anchor-','cursorInfo$','getFocusedUnit','WECHAT_HAS_BEEN_BOUND','PY_RUNTIME_SCRIPT_ERROR','APPLY_NON_SEQUENTIAL_REVISION','onCommandExecuted','_entityInit$','_httpService','getCollabCursors$','size','RemoveRowCommandId','transformRemoteChangeset','reconnect'];_0x2352=function(){return _0x48fee8;};return _0x2352();}