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

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 _0x28da(_0x31131f,_0x14bf2e){const _0x473969=_0x4739();return _0x28da=function(_0x28dabc,_0x5e313f){_0x28dabc=_0x28dabc-0x158;let _0xf57f84=_0x473969[_0x28dabc];return _0xf57f84;},_0x28da(_0x31131f,_0x14bf2e);}(function(_0x5c627f,_0xe1e54a){const _0x1f9ef1=_0x28da,_0x311092=_0x5c627f();while(!![]){try{const _0x58543c=parseInt(_0x1f9ef1(0x330))/0x1*(parseInt(_0x1f9ef1(0x276))/0x2)+parseInt(_0x1f9ef1(0x1be))/0x3*(parseInt(_0x1f9ef1(0x1e0))/0x4)+parseInt(_0x1f9ef1(0x319))/0x5*(-parseInt(_0x1f9ef1(0x26d))/0x6)+-parseInt(_0x1f9ef1(0x3e9))/0x7*(parseInt(_0x1f9ef1(0x29a))/0x8)+-parseInt(_0x1f9ef1(0x32d))/0x9+-parseInt(_0x1f9ef1(0x266))/0xa*(-parseInt(_0x1f9ef1(0x27e))/0xb)+-parseInt(_0x1f9ef1(0x2d1))/0xc;if(_0x58543c===_0xe1e54a)break;else _0x311092['push'](_0x311092['shift']());}catch(_0x3fd9d9){_0x311092['push'](_0x311092['shift']());}}}(_0x4739,0x467dd),function(_0x2d4b9f,_0x37db4f){const _0x2d8fc5=_0x28da;typeof exports=='object'&&typeof module<'u'?_0x37db4f(exports,require(_0x2d8fc5(0x188)),require(_0x2d8fc5(0x1ec)),require(_0x2d8fc5(0x3d7)),require(_0x2d8fc5(0x1c9)),require(_0x2d8fc5(0x377)),require(_0x2d8fc5(0x218)),require(_0x2d8fc5(0x1a4)),require(_0x2d8fc5(0x199)),require('@univerjs-pro/collaboration'),require(_0x2d8fc5(0x279)),require('@univerjs/sheets'),require('rxjs/operators'),require('@univerjs/sheets-ui'),require(_0x2d8fc5(0x1e2)),require('@univerjs/ui'),require(_0x2d8fc5(0x260)),require(_0x2d8fc5(0x2ae)),require('@univerjs/rpc')):typeof define==_0x2d8fc5(0x353)&&define[_0x2d8fc5(0x37b)]?define([_0x2d8fc5(0x274),_0x2d8fc5(0x188),_0x2d8fc5(0x1ec),_0x2d8fc5(0x3d7),_0x2d8fc5(0x1c9),_0x2d8fc5(0x377),_0x2d8fc5(0x218),_0x2d8fc5(0x1a4),_0x2d8fc5(0x199),_0x2d8fc5(0x219),_0x2d8fc5(0x279),_0x2d8fc5(0x1bd),'rxjs/operators',_0x2d8fc5(0x38a),_0x2d8fc5(0x1e2),'@univerjs/ui',_0x2d8fc5(0x260),'react','@univerjs/rpc'],_0x37db4f):(_0x2d4b9f=typeof globalThis<'u'?globalThis:_0x2d4b9f||self,_0x37db4f(_0x2d4b9f['UniverProCollaborationClientUi']={},_0x2d4b9f[_0x2d8fc5(0x226)],_0x2d4b9f[_0x2d8fc5(0x1ef)],_0x2d4b9f[_0x2d8fc5(0x34e)],_0x2d4b9f['UniverNetwork'],_0x2d4b9f['UniverDocsUi'],_0x2d4b9f['UniverDrawing'],_0x2d4b9f[_0x2d8fc5(0x1a4)],_0x2d4b9f[_0x2d8fc5(0x378)],_0x2d4b9f[_0x2d8fc5(0x1de)],_0x2d4b9f[_0x2d8fc5(0x383)],_0x2d4b9f[_0x2d8fc5(0x38e)],_0x2d4b9f[_0x2d8fc5(0x1a4)][_0x2d8fc5(0x31b)],_0x2d4b9f[_0x2d8fc5(0x2dd)],_0x2d4b9f['React'],_0x2d4b9f[_0x2d8fc5(0x3ae)],_0x2d4b9f['UniverDesign'],_0x2d4b9f[_0x2d8fc5(0x165)],_0x2d4b9f[_0x2d8fc5(0x3ad)]));}(this,function(_0x4d92ba,_0x55aa48,_0x403a48,_0x1380e3,_0x160af6,_0xf283a2,_0x4a423e,_0x15c792,_0x36b8d7,_0x261ba6,_0xf4f0b7,_0x46f729,_0x54a7c7,_0x2e664f,_0x56a115,_0x590bc9,_0x54ee32,_0xd420d5,_0xe4a6ff){'use strict';const _0x2b281a=_0x28da;var _0x292dcc=Object[_0x2b281a(0x1ad)],_0x1c9bd4=(_0x902161,_0x54ecc8,_0x3a9b6e)=>_0x54ecc8 in _0x902161?_0x292dcc(_0x902161,_0x54ecc8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3a9b6e}):_0x902161[_0x54ecc8]=_0x3a9b6e,_0x95fa0d=(_0x4f89fe,_0x3352f5,_0x3350f7)=>_0x1c9bd4(_0x4f89fe,typeof _0x3352f5!=_0x2b281a(0x227)?_0x3352f5+'':_0x3352f5,_0x3350f7),_0x357be0=Object[_0x2b281a(0x354)],_0x33b300=(_0x29d4dc,_0x76b3a4,_0xdf2ac1,_0x16ae1c)=>{const _0x5f14d3=_0x2b281a;for(var _0x4672d5=_0x16ae1c>0x1?void 0x0:_0x16ae1c?_0x357be0(_0x76b3a4,_0xdf2ac1):_0x76b3a4,_0x47b011=_0x29d4dc[_0x5f14d3(0x36f)]-0x1,_0x15fe03;_0x47b011>=0x0;_0x47b011--)(_0x15fe03=_0x29d4dc[_0x47b011])&&(_0x4672d5=_0x15fe03(_0x4672d5)||_0x4672d5);return _0x4672d5;},_0x25415d=(_0x2e700b,_0x3df852)=>(_0x198fab,_0x7c084c)=>_0x3df852(_0x198fab,_0x7c084c,_0x2e700b);let _0x5aa976=class extends _0x403a48[_0x2b281a(0x3e8)]{constructor(_0x3f0284,_0x44cbfb){const _0x34a106=_0x2b281a;super(),this['_docClipboardService']=_0x3f0284,this['_imageIoService']=_0x44cbfb,this[_0x34a106(0x223)]();}['_init'](){const _0x5e2708=_0x2b281a,_0x142cd9=this;this[_0x5e2708(0x3f2)](this[_0x5e2708(0x1fc)][_0x5e2708(0x16d)]({'onBeforePasteImage':async _0x3dce97=>{const _0x5daf27=_0x5e2708,_0x34a29a=await _0x142cd9['_imageIoService'][_0x5daf27(0x272)](_0x3dce97);return _0x34a29a?{'source':_0x34a29a[_0x5daf27(0x3d6)],'imageSourceType':_0x34a29a['imageSourceType']}:null;}}));}};_0x5aa976=_0x33b300([_0x25415d(0x0,_0xf283a2[_0x2b281a(0x2ea)]),_0x25415d(0x1,_0x4a423e['IImageIoService'])],_0x5aa976);const _0x1487a6=[_0x2b281a(0x1f1),_0x2b281a(0x1c8),_0x2b281a(0x243),_0x2b281a(0x33a),_0x2b281a(0x395),_0x2b281a(0x208)];class _0x39e635 extends _0x403a48[_0x2b281a(0x265)]{constructor(){const _0x2c90eb=_0x2b281a;super(...arguments),_0x95fa0d(this,_0x2c90eb(0x2c4),new Map()),_0x95fa0d(this,_0x2c90eb(0x347),0x0);}['assignAColorForMemberID'](_0xfc2e1a){const _0x119efe=_0x2b281a;if(this['_assignedColors'][_0x119efe(0x1c5)](_0xfc2e1a))return this[_0x119efe(0x2c4)][_0x119efe(0x3c2)](_0xfc2e1a);const _0x2f1741=_0x1487a6[this[_0x119efe(0x347)]];return this[_0x119efe(0x347)]=(this['_colorIndex']+0x1)%_0x1487a6[_0x119efe(0x36f)],this[_0x119efe(0x2c4)][_0x119efe(0x25e)](_0xfc2e1a,_0x2f1741),_0x2f1741;}}function _0x548fd6(_0x5b97f3){const _0x3b771a=_0x2b281a;let _0x2152f1='';for(const _0x59557b of _0x5b97f3){const {startOffset:_0x1f307b,endOffset:_0x2642cb,isActive:_0x28afdb,rangeType:_0x39ebac,segmentId:_0x440d15,segmentPage:_0x425906}=_0x59557b;_0x2152f1[_0x3b771a(0x36f)]&&(_0x2152f1+=','),_0x2152f1+=_0x1f307b+':'+_0x2642cb+':'+(_0x28afdb?'1':'0')+':'+_0x39ebac+':'+_0x440d15+':'+_0x425906;}return _0x2152f1;}function _0x27275c(_0x4e001e){const _0x15833e=_0x2b281a,_0x32638d=_0x4e001e['split'](','),_0x2bda1e=[];for(const _0x559fa9 of _0x32638d){const [_0x508245,_0xb52aa5,_0x4feed3,_0x35623d,_0x39ce8e,_0x1098aa]=_0x559fa9['split'](':');_0x2bda1e['push']({'startOffset':Number(_0x508245),'endOffset':Number(_0xb52aa5),'collapsed':_0x508245===_0xb52aa5,'isActive':_0x4feed3==='1','rangeType':_0x35623d===_0x403a48[_0x15833e(0x1a7)]['TEXT']?_0x403a48['DOC_RANGE_TYPE'][_0x15833e(0x2e3)]:_0x403a48[_0x15833e(0x1a7)][_0x15833e(0x24e)],'segmentId':typeof _0x39ce8e==_0x15833e(0x1df)?String(_0x39ce8e):'','segmentPage':Number(_0x1098aa!=null?_0x1098aa:-0x1)});}return _0x2bda1e[_0x15833e(0x182)](_0x229e2c=>_0x229e2c[_0x15833e(0x22f)])||(_0x2bda1e[0x0][_0x15833e(0x22f)]=!0x0),_0x2bda1e;}class _0x225ea0 extends _0x403a48['RxDisposable']{constructor(){const _0x270d8e=_0x2b281a;super(...arguments),_0x95fa0d(this,'_collabCursorState$',new _0x15c792[(_0x270d8e(0x37f))](null)),_0x95fa0d(this,'collabCursorState$',this['_collabCursorState$'][_0x270d8e(0x335)]());}['syncEditingCollabCursor'](_0x5ae415){const {unitID:_0x34cb0d,memberID:_0x4d5c8d,textRanges:_0x4e7232}=_0x5ae415,_0x405dd8=_0x548fd6(_0x4e7232);if(_0x405dd8==='')return;const _0xa3351={'unitID':_0x34cb0d,'memberID':_0x4d5c8d,'selection':_0x405dd8};this['_collabCursorState$']['next'](_0xa3351);}}var _0x48bdbe=Object[_0x2b281a(0x354)],_0x282ba7=(_0x238d94,_0x4a5e13,_0x1826f3,_0xb493dd)=>{const _0x15ebdf=_0x2b281a;for(var _0x2067dd=_0xb493dd>0x1?void 0x0:_0xb493dd?_0x48bdbe(_0x4a5e13,_0x1826f3):_0x4a5e13,_0x4d9c10=_0x238d94[_0x15ebdf(0x36f)]-0x1,_0x299637;_0x4d9c10>=0x0;_0x4d9c10--)(_0x299637=_0x238d94[_0x4d9c10])&&(_0x2067dd=_0x299637(_0x2067dd)||_0x2067dd);return _0x2067dd;},_0x3bf40e=(_0x1ab7f0,_0x270368)=>(_0xdeee02,_0x41bee8)=>_0x270368(_0xdeee02,_0x41bee8,_0x1ab7f0);const _0x4cbe43=0x12c,_0x412763=0x64;let _0x5a8dcc=class extends _0x403a48[_0x2b281a(0x3e8)]{constructor(_0x4c6aae,_0x770421,_0x2aaf45,_0x285da6,_0x34bb6c,_0x54def0,_0x2f7929,_0x1e9917,_0x2afb53){const _0x3abd63=_0x2b281a;super(),_0x95fa0d(this,_0x3abd63(0x343),!0x1),_0x95fa0d(this,'_init',!0x1),_0x95fa0d(this,'_cursorInfo$',new _0x15c792[(_0x3abd63(0x37f))](new Map())),_0x95fa0d(this,_0x3abd63(0x333),this[_0x3abd63(0x380)][_0x3abd63(0x335)]()),_0x95fa0d(this,_0x3abd63(0x355),new _0x15c792[(_0x3abd63(0x37f))]([])),_0x95fa0d(this,_0x3abd63(0x285),this[_0x3abd63(0x355)]['pipe'](_0x15c792[_0x3abd63(0x3f4)](_0x4cbe43))),_0x95fa0d(this,_0x3abd63(0x20f),_0x403a48[_0x3abd63(0x17b)](_0x2de118=>{const _0x4613b1=_0x3abd63,_0x4dd97a={'eventID':_0x261ba6[_0x4613b1(0x2ab)][_0x4613b1(0x34a)],'data':{'unitID':this[_0x4613b1(0x1ab)],'memberID':this[_0x4613b1(0x159)][_0x4613b1(0x190)](),'selection':_0x548fd6(_0x2de118)}};this['_session']['send'](_0x4dd97a,this[_0x4613b1(0x1ab)]);},_0x412763)),(this[_0x3abd63(0x1ab)]=_0x4c6aae,this[_0x3abd63(0x159)]=_0x770421,this[_0x3abd63(0x24a)]=_0x2aaf45,this[_0x3abd63(0x32e)]=_0x285da6,this[_0x3abd63(0x1b0)]=_0x34bb6c,this[_0x3abd63(0x3e3)]=_0x54def0,this[_0x3abd63(0x367)]=_0x2f7929,this[_0x3abd63(0x2c8)]=_0x1e9917,this[_0x3abd63(0x303)]=_0x2afb53);}get[_0x2b281a(0x2ce)](){const _0x359956=_0x2b281a;return this[_0x359956(0x380)][_0x359956(0x18e)]();}get[_0x2b281a(0x21f)](){const _0x1df61c=_0x2b281a;return this[_0x1df61c(0x355)][_0x1df61c(0x18e)]();}['dispose'](){const _0x158e28=_0x2b281a;super[_0x158e28(0x322)](),this[_0x158e28(0x380)][_0x158e28(0x1ac)](new Map()),this[_0x158e28(0x380)]['complete'](),this[_0x158e28(0x355)][_0x158e28(0x1ac)]([]),this[_0x158e28(0x355)][_0x158e28(0x2db)]();}[_0x2b281a(0x1ce)](){const _0x3c3a00=_0x2b281a;this['_init']||(this[_0x3c3a00(0x223)]=!0x0,this['_session'][_0x3c3a00(0x234)][_0x3c3a00(0x28a)](_0x15c792[_0x3c3a00(0x261)](this[_0x3c3a00(0x30b)]))[_0x3c3a00(0x308)](_0x40561d=>{const _0x45a700=_0x3c3a00;_0x40561d===_0x55aa48[_0x45a700(0x370)]['ONLINE']?this[_0x45a700(0x1e5)]():this['_toggleOffline']();}),this['_session'][_0x3c3a00(0x3ca)][_0x3c3a00(0x28a)](_0x15c792[_0x3c3a00(0x261)](this[_0x3c3a00(0x30b)]))['subscribe'](_0x360dec=>{const _0x3bd8b4=_0x3c3a00,_0x1c3012=_0x360dec[_0x3bd8b4(0x20c)];_0x1c3012===_0x261ba6[_0x3bd8b4(0x2ab)][_0x3bd8b4(0x34a)]&&this['_onCursorUpdate'](_0x360dec),_0x1c3012===_0x261ba6[_0x3bd8b4(0x2ab)]['USERS_LEAVE']&&this[_0x3bd8b4(0x2b6)](_0x360dec);}),this[_0x3c3a00(0x3f2)](this[_0x3c3a00(0x303)][_0x3c3a00(0x3c7)](_0x52bfb8=>{const _0xc0fe=_0x3c3a00,_0x1d94dd=_0x52bfb8[_0xc0fe(0x3ef)];_0x1d94dd!=null&&this[_0xc0fe(0x343)]&&_0x52bfb8['id']===_0x36b8d7[_0xc0fe(0x171)]['id']&&_0x1d94dd[_0xc0fe(0x3b0)]===this[_0xc0fe(0x1ab)]&&_0x1d94dd[_0xc0fe(0x1f6)]===!0x1&&_0x1d94dd['ranges'][_0xc0fe(0x36f)]>0x0&&this[_0xc0fe(0x20f)](_0x1d94dd[_0xc0fe(0x1f0)]);})),this[_0x3c3a00(0x3e3)][_0x3c3a00(0x1b1)][_0x3c3a00(0x28a)](_0x15c792[_0x3c3a00(0x261)](this[_0x3c3a00(0x30b)]))[_0x3c3a00(0x308)](_0x245909=>{const _0x23581f=_0x3c3a00;if((_0x245909==null?void 0x0:_0x245909[_0x23581f(0x1ab)])!==this[_0x23581f(0x1ab)])return;const _0x34fecd={'eventID':_0x261ba6[_0x23581f(0x2ab)][_0x23581f(0x34a)],'data':_0x245909};this['_onCursorUpdate'](_0x34fecd);}),this[_0x3c3a00(0x3f2)](this['_commandService'][_0x3c3a00(0x3c7)](_0x8bf966=>{const _0x468d80=_0x3c3a00;if(_0x8bf966[_0x468d80(0x3ef)]==null)return;const _0x760765=_0x8bf966[_0x468d80(0x3ef)];if(_0x8bf966['id']!==_0x36b8d7[_0x468d80(0x31c)]['id']||_0x760765[_0x468d80(0x3b0)]!==this[_0x468d80(0x1ab)])return;const _0x22165b={'id':_0x468d80(0x185),'params':_0x760765},_0x53e13f=this[_0x468d80(0x2ce)];for(const [_0x48c1c6,_0x19acfc]of _0x53e13f){const _0x166a00={'id':_0x468d80(0x185),'params':{'unitId':this[_0x468d80(0x1ab)],'actions':null,'textRanges':_0x19acfc[_0x468d80(0x1f0)]}},_0x145aa2=this['_transformService'][_0x468d80(0x3dd)](_0x22165b,_0x166a00,!0x1);if(_0x261ba6[_0x468d80(0x369)](_0x145aa2))throw _0x145aa2['error'];_0x53e13f[_0x468d80(0x25e)](_0x48c1c6,{..._0x19acfc,'ranges':_0x145aa2[_0x468d80(0x253)][_0x468d80(0x3ef)][_0x468d80(0x3cc)]});}queueMicrotask(()=>{const _0x3b48ac=_0x468d80;this[_0x3b48ac(0x380)]['next'](_0x53e13f);});})));}['_onCursorUpdate'](_0x58c8b3){const _0x426f22=_0x2b281a;var _0x5ebce8,_0x1240ad;const {memberID:_0x417057,selection:_0x4223cd}=_0x58c8b3[_0x426f22(0x1c6)],_0x31585b=_0x27275c(_0x4223cd),_0x4cc645=(_0x1240ad=(_0x5ebce8=this['_memberService'][_0x426f22(0x172)](this[_0x426f22(0x1ab)],_0x417057))==null?void 0x0:_0x5ebce8[_0x426f22(0x203)])!=null?_0x1240ad:'Unknown\x20user',_0x4f09ba={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x417057),'name':_0x4cc645,'ranges':_0x31585b},_0x642b3c=this[_0x426f22(0x2ce)];_0x642b3c['set'](_0x417057,_0x4f09ba),this[_0x426f22(0x380)][_0x426f22(0x1ac)](_0x642b3c);}[_0x2b281a(0x2b6)](_0x3da532){const _0x24892b=_0x2b281a,{memberID:_0x4d4903}=_0x3da532[_0x24892b(0x1c6)],_0x446fa5=this['cursorInfo'];_0x446fa5['delete'](_0x4d4903),this['_cursorInfo$'][_0x24892b(0x1ac)](_0x446fa5);}[_0x2b281a(0x1e5)](){const _0x5b0c0b=_0x2b281a;var _0x53d8ed;if(this[_0x5b0c0b(0x343)]=!0x0,((_0x53d8ed=this[_0x5b0c0b(0x2c8)][_0x5b0c0b(0x364)]())==null?void 0x0:_0x53d8ed[_0x5b0c0b(0x1b9)]())!==this[_0x5b0c0b(0x1ab)])return;const _0x354894=this[_0x5b0c0b(0x24a)][_0x5b0c0b(0x3c2)](_0x36b8d7[_0x5b0c0b(0x396)])['getDocRanges']();Array[_0x5b0c0b(0x3e5)](_0x354894)&&_0x354894['length']>0x0&&this[_0x5b0c0b(0x20f)](_0x354894);}[_0x2b281a(0x21c)](){const _0x226006=_0x2b281a;this[_0x226006(0x343)]=!0x1;}};_0x5a8dcc=_0x282ba7([_0x3bf40e(0x2,_0x403a48['Inject'](_0x403a48[_0x2b281a(0x267)])),_0x3bf40e(0x3,_0x403a48[_0x2b281a(0x19a)](_0x39e635)),_0x3bf40e(0x4,_0x403a48[_0x2b281a(0x19a)](_0x55aa48[_0x2b281a(0x160)])),_0x3bf40e(0x5,_0x403a48[_0x2b281a(0x19a)](_0x225ea0)),_0x3bf40e(0x6,_0x261ba6[_0x2b281a(0x36c)]),_0x3bf40e(0x7,_0x403a48[_0x2b281a(0x360)]),_0x3bf40e(0x8,_0x403a48[_0x2b281a(0x2f5)])],_0x5a8dcc);var _0x387ad3=Object[_0x2b281a(0x354)],_0x318172=(_0x135059,_0x3cc462,_0x17baa8,_0x2703e0)=>{const _0x46e39a=_0x2b281a;for(var _0x487367=_0x2703e0>0x1?void 0x0:_0x2703e0?_0x387ad3(_0x3cc462,_0x17baa8):_0x3cc462,_0x503ff2=_0x135059[_0x46e39a(0x36f)]-0x1,_0x3567f5;_0x503ff2>=0x0;_0x503ff2--)(_0x3567f5=_0x135059[_0x503ff2])&&(_0x487367=_0x3567f5(_0x487367)||_0x487367);return _0x487367;},_0x2f73dc=(_0x472cb3,_0x416ad5)=>(_0x16b16a,_0x1c515d)=>_0x416ad5(_0x16b16a,_0x1c515d,_0x472cb3);const _0x2b3988=0x12c,_0x5c847d=0x64,_0x23d783=()=>{let _0x37fd0e=[],_0x2dc12d=!0x1;return _0x81f4ab=>{const _0x3d184e=_0x28da;_0x37fd0e[_0x3d184e(0x381)](_0x81f4ab),_0x2dc12d||(_0x2dc12d=!0x0,setTimeout(()=>{_0x37fd0e['forEach'](_0xfc2af3=>_0xfc2af3()),_0x37fd0e=[],_0x2dc12d=!0x1;}));};};let _0x56b781=class extends _0x403a48['RxDisposable']{constructor(_0x3abfef,_0xf7eb5d,_0x12bd5f,_0x5b8f48,_0x234d17,_0x55e32e,_0x25b9a0,_0x38ead4){const _0x43033c=_0x2b281a;super(),_0x95fa0d(this,_0x43033c(0x343),!0x1),_0x95fa0d(this,_0x43033c(0x223),!0x1),_0x95fa0d(this,'_cursorInfo$',new _0x15c792['BehaviorSubject'](new Map())),_0x95fa0d(this,'cursorInfo$',this[_0x43033c(0x380)][_0x43033c(0x335)]()),_0x95fa0d(this,_0x43033c(0x355),new _0x15c792[(_0x43033c(0x37f))]([])),_0x95fa0d(this,_0x43033c(0x285),this[_0x43033c(0x355)][_0x43033c(0x28a)](_0x15c792[_0x43033c(0x3f4)](_0x2b3988))),_0x95fa0d(this,_0x43033c(0x20f),_0x403a48[_0x43033c(0x17b)]((_0x1b0f40,_0x53c8a5)=>{const _0x459316=_0x43033c,_0x2f5713={'eventID':_0x261ba6[_0x459316(0x2ab)][_0x459316(0x34a)],'data':{'unitID':this[_0x459316(0x1ab)],'memberID':this[_0x459316(0x159)][_0x459316(0x190)](),'selection':_0xf4f0b7[_0x459316(0x233)](_0x1b0f40,_0x53c8a5['range'])}};this[_0x459316(0x159)][_0x459316(0x1f5)](_0x2f5713,this['unitID']);},_0x5c847d)),(this[_0x43033c(0x1ab)]=_0x3abfef,this['_session']=_0xf7eb5d,this['_injector']=_0x12bd5f,this[_0x43033c(0x32e)]=_0x5b8f48,this[_0x43033c(0x1b0)]=_0x234d17,this[_0x43033c(0x2c8)]=_0x55e32e,this[_0x43033c(0x303)]=_0x25b9a0,this[_0x43033c(0x277)]=_0x38ead4);}get[_0x2b281a(0x2ce)](){const _0x47f873=_0x2b281a;return this[_0x47f873(0x380)][_0x47f873(0x18e)]();}get['roomMembers'](){const _0x25c6b7=_0x2b281a;return this[_0x25c6b7(0x355)]['getValue']();}[_0x2b281a(0x322)](){const _0x4656bc=_0x2b281a;super['dispose'](),this[_0x4656bc(0x380)]['next'](new Map()),this['_cursorInfo$'][_0x4656bc(0x2db)](),this[_0x4656bc(0x355)]['next']([]),this['_roomMembers$'][_0x4656bc(0x2db)]();}[_0x2b281a(0x1ce)](){const _0x1514d0=_0x2b281a;this[_0x1514d0(0x223)]||(this[_0x1514d0(0x223)]=!0x0,this['_session']['sessionStatus$'][_0x1514d0(0x28a)](_0x15c792[_0x1514d0(0x261)](this[_0x1514d0(0x30b)]))['subscribe'](_0x557691=>{const _0x37982b=_0x1514d0;_0x557691===_0x55aa48[_0x37982b(0x370)][_0x37982b(0x249)]?this['_toggleOnline']():this[_0x37982b(0x21c)]();}),this[_0x1514d0(0x159)][_0x1514d0(0x3ca)][_0x1514d0(0x28a)](_0x15c792['takeUntil'](this[_0x1514d0(0x30b)]))['subscribe'](_0x4e2830=>{const _0x8bbf6=_0x1514d0,_0x21f4f0=_0x4e2830[_0x8bbf6(0x20c)];_0x21f4f0===_0x261ba6[_0x8bbf6(0x2ab)][_0x8bbf6(0x34a)]&&this[_0x8bbf6(0x35b)](_0x4e2830),_0x21f4f0===_0x261ba6['CollaborationEvent'][_0x8bbf6(0x2bb)]&&this[_0x8bbf6(0x2b6)](_0x4e2830);}),this[_0x1514d0(0x1a2)](),this[_0x1514d0(0x3f2)](this[_0x1514d0(0x303)][_0x1514d0(0x3c7)](_0x3109f5=>{const _0x196f67=_0x1514d0;if(this[_0x196f67(0x343)]&&_0x3109f5['id']===_0x46f729[_0x196f67(0x200)]['id']&&_0x3109f5[_0x196f67(0x3ef)][_0x196f67(0x3b0)]===this[_0x196f67(0x1ab)]){const _0x4830be=_0x3109f5[_0x196f67(0x3ef)];this[_0x196f67(0x20f)](_0x4830be[_0x196f67(0x22d)],_0x4830be[_0x196f67(0x23a)][0x0]);}})));}[_0x2b281a(0x35b)](_0x3cc725){const _0xba5005=_0x2b281a;var _0x5a82c5,_0x23cf43;const {memberID:_0x26b435,selection:_0xbb765d}=_0x3cc725[_0xba5005(0x1c6)],{sheetName:_0x449a94,range:_0x4d1e32}=_0xf4f0b7[_0xba5005(0x284)](_0xbb765d),_0x38669f={'name':(_0x23cf43=(_0x5a82c5=this[_0xba5005(0x1b0)][_0xba5005(0x172)](this[_0xba5005(0x1ab)],_0x26b435))==null?void 0x0:_0x5a82c5['name'])!=null?_0x23cf43:_0xba5005(0x286),'range':this[_0xba5005(0x240)](_0x449a94,_0x4d1e32),'sheetID':_0x449a94,'color':this[_0xba5005(0x32e)]['assignAColorForMemberID'](_0x26b435),'selection':_0xbb765d},_0x2411d3=this['cursorInfo'];_0x2411d3['set'](_0x26b435,_0x38669f),this[_0xba5005(0x380)][_0xba5005(0x1ac)](_0x2411d3);}[_0x2b281a(0x2b6)](_0x2a1c21){const _0x5ad0bc=_0x2b281a,{memberID:_0x12f58c}=_0x2a1c21[_0x5ad0bc(0x1c6)],_0x52d982=this[_0x5ad0bc(0x2ce)];_0x52d982[_0x5ad0bc(0x3cb)](_0x12f58c),this[_0x5ad0bc(0x380)][_0x5ad0bc(0x1ac)](_0x52d982);}[_0x2b281a(0x240)](_0x33ac0c,_0x10c5b8){const _0x3a0bec=_0x2b281a;var _0xceffd2,_0x176490;const _0x44c67c=(_0x176490=(_0xceffd2=this[_0x3a0bec(0x2c8)][_0x3a0bec(0x20b)](this['unitID']))==null?void 0x0:_0xceffd2[_0x3a0bec(0x307)](_0x33ac0c))==null?void 0x0:_0x176490['getMergeData']();return(_0x44c67c==null?void 0x0:_0x44c67c[_0x3a0bec(0x161)](_0x629bf9=>_0x403a48[_0x3a0bec(0x181)]['contains'](_0x629bf9,_0x10c5b8)))||_0x10c5b8;}[_0x2b281a(0x1a2)](){const _0x10d299=_0x2b281a,_0x13b277=new _0x403a48[(_0x10d299(0x24b))](),_0x1c076b=_0x23d783(),_0x2228f3=()=>{const _0x4afa1c=_0x10d299;_0x13b277['dispose']();const _0x54ff18=(_0x41133f,_0x27e999,_0x2a978a,_0x190fd2)=>{const _0x44070a=_0x28da;let _0x4774a4=[];switch(_0x41133f['id']){case _0x46f729[_0x44070a(0x242)][_0x44070a(0x2d3)]:{_0x4774a4=_0x46f729[_0x44070a(0x1e6)](_0x41133f,_0x190fd2);break;}case _0x46f729['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x4774a4=_0x46f729[_0x44070a(0x30c)](_0x41133f,_0x190fd2);break;}case _0x46f729[_0x44070a(0x242)][_0x44070a(0x1aa)]:{_0x4774a4=_0x46f729[_0x44070a(0x186)](_0x41133f,_0x190fd2);break;}case _0x46f729['EffectRefRangId'][_0x44070a(0x341)]:{_0x4774a4=_0x46f729[_0x44070a(0x310)](_0x41133f,_0x190fd2);break;}case _0x46f729[_0x44070a(0x242)][_0x44070a(0x35f)]:{_0x4774a4=_0x46f729[_0x44070a(0x28c)](_0x41133f,_0x190fd2);break;}case _0x46f729[_0x44070a(0x242)]['InsertRowCommandId']:{_0x4774a4=_0x46f729[_0x44070a(0x2af)](_0x41133f,_0x190fd2);break;}case _0x46f729[_0x44070a(0x242)][_0x44070a(0x3df)]:{_0x4774a4=_0x46f729[_0x44070a(0x2b0)](_0x41133f,_0x190fd2);break;}case _0x46f729['EffectRefRangId']['RemoveColCommandId']:{_0x4774a4=_0x46f729['handleIRemoveCol'](_0x41133f,_0x190fd2);break;}case _0x46f729['EffectRefRangId']['RemoveRowCommandId']:{_0x4774a4=_0x46f729['handleIRemoveRow'](_0x41133f,_0x190fd2);break;}}const _0x4d58d2=_0x46f729[_0x44070a(0x3b4)](_0x4774a4,_0x190fd2),_0x1b9c23=this['cursorInfo'][_0x44070a(0x3c2)](_0x27e999);if(_0x1b9c23&&_0x4d58d2){const _0x295384={..._0x1b9c23,'range':_0x4d58d2};this[_0x44070a(0x2ce)]['set'](_0x27e999,_0x295384),_0x1c076b(()=>{const _0x963597=_0x44070a,_0x4fffb5=this[_0x963597(0x277)][_0x963597(0x2e2)](_0x4d58d2,_0x5dd118=>(_0x4fffb5['dispose'](),_0x54ff18(_0x5dd118,_0x27e999,_0x2a978a,_0x4d58d2)));_0x13b277['add'](_0x4fffb5);});}return{'redos':[],'undos':[]};};this[_0x4afa1c(0x2ce)][_0x4afa1c(0x2e1)]((_0x58101e,_0x4e4b7f)=>{const _0x3dee6f=_0x4afa1c,{range:_0xed9113,sheetID:_0x4f0620}=_0x58101e,_0x5a8dcf=this[_0x3dee6f(0x277)][_0x3dee6f(0x2e2)](_0xed9113,_0x174e5f=>(_0x5a8dcf[_0x3dee6f(0x322)](),_0x54ff18(_0x174e5f,_0x4e4b7f,_0x4f0620,_0xed9113)));_0x13b277[_0x3dee6f(0x1b3)](_0x5a8dcf);});};this[_0x10d299(0x3f2)](_0x403a48[_0x10d299(0x3a2)](this['_cursorInfo$']['subscribe'](()=>{_0x2228f3();})));}[_0x2b281a(0x1e5)](){const _0x97f716=_0x2b281a;var _0x415f68,_0x3573d2;if(this[_0x97f716(0x343)]=!0x0,((_0x415f68=this[_0x97f716(0x2c8)][_0x97f716(0x364)]())==null?void 0x0:_0x415f68[_0x97f716(0x1b9)]())!==this[_0x97f716(0x1ab)])return;const _0x4ceb60=(_0x3573d2=this['_injector']['get'](_0x46f729[_0x97f716(0x197)])[_0x97f716(0x391)]())==null?void 0x0:_0x3573d2[0x0],_0xe453b8=this[_0x97f716(0x2c8)][_0x97f716(0x1cb)](_0x403a48[_0x97f716(0x28f)][_0x97f716(0x169)])[_0x97f716(0x1f9)]();_0x4ceb60&&_0xe453b8&&this['_updateLocalCursor'](_0xe453b8[_0x97f716(0x313)](),_0x4ceb60);}[_0x2b281a(0x21c)](){const _0x4c935a=_0x2b281a;this[_0x4c935a(0x343)]=!0x1;}};_0x56b781=_0x318172([_0x2f73dc(0x2,_0x403a48[_0x2b281a(0x19a)](_0x403a48[_0x2b281a(0x267)])),_0x2f73dc(0x3,_0x403a48['Inject'](_0x39e635)),_0x2f73dc(0x4,_0x403a48['Inject'](_0x55aa48['MemberService'])),_0x2f73dc(0x5,_0x403a48[_0x2b281a(0x360)]),_0x2f73dc(0x6,_0x403a48['ICommandService']),_0x2f73dc(0x7,_0x403a48[_0x2b281a(0x19a)](_0x46f729[_0x2b281a(0x30f)]))],_0x56b781);var _0x353a94=Object[_0x2b281a(0x354)],_0x276b2b=(_0x335409,_0x30eb19,_0x2a44c1,_0x1abaa5)=>{const _0x21c838=_0x2b281a;for(var _0x5ad2d6=_0x1abaa5>0x1?void 0x0:_0x1abaa5?_0x353a94(_0x30eb19,_0x2a44c1):_0x30eb19,_0x4276db=_0x335409[_0x21c838(0x36f)]-0x1,_0x2a6a67;_0x4276db>=0x0;_0x4276db--)(_0x2a6a67=_0x335409[_0x4276db])&&(_0x5ad2d6=_0x2a6a67(_0x5ad2d6)||_0x5ad2d6);return _0x5ad2d6;},_0x2e543f=(_0x2014b0,_0xee0a21)=>(_0x3f4557,_0x1f4c21)=>_0xee0a21(_0x3f4557,_0x1f4c21,_0x2014b0);let _0x896780=class extends _0x403a48[_0x2b281a(0x3e8)]{constructor(_0x310617,_0x3ddd40,_0xd3e652){const _0x3bf6df=_0x2b281a;super(),_0x95fa0d(this,_0x3bf6df(0x2f7),new Map()),_0x95fa0d(this,_0x3bf6df(0x15c),new _0x15c792[(_0x3bf6df(0x372))]()),(this['_univerInstanceService']=_0x310617,this[_0x3bf6df(0x24a)]=_0x3ddd40,this[_0x3bf6df(0x287)]=_0xd3e652,this[_0x3bf6df(0x223)]());}[_0x2b281a(0x322)](){const _0x5b51cb=_0x2b281a;super['dispose'](),this['_entityInit$']['complete'](),this['_entities'][_0x5b51cb(0x2e1)](_0x233e89=>_0x233e89[_0x5b51cb(0x322)]());}[_0x2b281a(0x327)](_0x524b03){const _0x595fb5=_0x2b281a;return this[_0x595fb5(0x2f7)][_0x595fb5(0x1c5)](_0x524b03)?this['_entities'][_0x595fb5(0x3c2)](_0x524b03)[_0x595fb5(0x333)]:this['_entityInit$']['pipe'](_0x15c792[_0x595fb5(0x18d)](_0x1be437=>_0x1be437[_0x595fb5(0x1ab)]===_0x524b03),_0x15c792[_0x595fb5(0x293)](_0x103b81=>_0x103b81['cursorInfo$']));}[_0x2b281a(0x223)](){const _0x31f46a=_0x2b281a;this[_0x31f46a(0x2c8)][_0x31f46a(0x2e5)](_0x403a48[_0x31f46a(0x28f)][_0x31f46a(0x169)])[_0x31f46a(0x28a)](_0x15c792[_0x31f46a(0x261)](this['dispose$']))[_0x31f46a(0x308)](async _0x46024e=>{const _0x3a44cd=_0x31f46a,_0x36515e=_0x46024e[_0x3a44cd(0x1b9)](),_0x14f730=await this['_startSheetCollabCursor'](_0x36515e);this[_0x3a44cd(0x15c)][_0x3a44cd(0x1ac)](_0x14f730),this[_0x3a44cd(0x2f7)]['set'](_0x36515e,_0x14f730);}),this[_0x31f46a(0x2c8)][_0x31f46a(0x2e5)](_0x403a48[_0x31f46a(0x28f)]['UNIVER_DOC'])[_0x31f46a(0x28a)](_0x15c792['takeUntil'](this[_0x31f46a(0x30b)]))[_0x31f46a(0x28a)](_0x15c792[_0x31f46a(0x18d)](_0x1496e0=>!_0x1496e0[_0x31f46a(0x1b9)]()[_0x31f46a(0x23e)]('__')))[_0x31f46a(0x308)](async _0x38e8c5=>{const _0x4b12bc=_0x31f46a,_0xae0bea=_0x38e8c5['getUnitId'](),_0xe00eac=await this['_startDocCollabCursor'](_0xae0bea);this['_entityInit$'][_0x4b12bc(0x1ac)](_0xe00eac),this[_0x4b12bc(0x2f7)]['set'](_0xae0bea,_0xe00eac);}),_0x15c792[_0x31f46a(0x28b)](this[_0x31f46a(0x2c8)][_0x31f46a(0x3b3)](_0x403a48[_0x31f46a(0x28f)][_0x31f46a(0x2ee)]),this[_0x31f46a(0x2c8)][_0x31f46a(0x3b3)](_0x403a48[_0x31f46a(0x28f)]['UNIVER_SHEET']))[_0x31f46a(0x28a)](_0x15c792[_0x31f46a(0x261)](this[_0x31f46a(0x30b)]))[_0x31f46a(0x308)](_0x34a9d1=>{const _0x14011a=_0x31f46a,_0x4ef2ee=_0x34a9d1[_0x14011a(0x1b9)](),_0x44bb92=this[_0x14011a(0x2f7)][_0x14011a(0x3c2)](_0x4ef2ee);_0x44bb92&&(_0x44bb92[_0x14011a(0x322)](),this[_0x14011a(0x2f7)][_0x14011a(0x3cb)](_0x4ef2ee));});}async[_0x2b281a(0x36b)](_0xdca5d2){const _0x2a730d=_0x2b281a,_0x28cb59=await this['_collabSessionService'][_0x2a730d(0x3c9)](_0xdca5d2),_0x4bbea0=this[_0x2a730d(0x24a)]['createInstance'](_0x56b781,_0xdca5d2,_0x28cb59);return _0x4bbea0[_0x2a730d(0x1ce)](),_0x4bbea0;}async[_0x2b281a(0x2a7)](_0x5b1ea0){const _0x5258be=_0x2b281a,_0x1767a7=await this[_0x5258be(0x287)][_0x5258be(0x3c9)](_0x5b1ea0),_0x2d8b76=this['_injector'][_0x5258be(0x3f6)](_0x5a8dcc,_0x5b1ea0,_0x1767a7);return _0x2d8b76[_0x5258be(0x1ce)](),_0x2d8b76;}};_0x896780=_0x276b2b([_0x2e543f(0x0,_0x403a48[_0x2b281a(0x360)]),_0x2e543f(0x1,_0x403a48['Inject'](_0x403a48[_0x2b281a(0x267)])),_0x2e543f(0x2,_0x403a48[_0x2b281a(0x19a)](_0x55aa48[_0x2b281a(0x309)]))],_0x896780);const _0x1a5f6a=0x14,_0x8ab697=0xc8,_0x38e40c=0x4,_0x33642a=0x5;function _0x5ad198(_0x5cf4f3,_0x8a9f66){const _0x52bc59=_0x2b281a;let {radius:_0x37352a,width:_0x32c802,height:_0x1b6309}=_0x8a9f66;_0x37352a=_0x37352a!=null?_0x37352a:0x0,_0x32c802=_0x32c802!=null?_0x32c802:0x1e,_0x1b6309=_0x1b6309!=null?_0x1b6309:0x1e;let _0x2d2725=0x0,_0x5d2a82=0x0,_0x32e297=0x0;_0x2d2725=_0x5d2a82=_0x32e297=Math[_0x52bc59(0x382)](_0x37352a,_0x32c802/0x2,_0x1b6309/0x2),_0x5cf4f3[_0x52bc59(0x1d3)](),_0x5cf4f3[_0x52bc59(0x2b3)](_0x2d2725,0x0),_0x5cf4f3[_0x52bc59(0x189)](_0x32c802-_0x5d2a82,0x0),_0x5cf4f3[_0x52bc59(0x1c0)](_0x32c802-_0x5d2a82,_0x5d2a82,_0x5d2a82,Math['PI']*0x3/0x2,0x0,!0x1),_0x5cf4f3[_0x52bc59(0x189)](_0x32c802,_0x1b6309-_0x32e297),_0x5cf4f3[_0x52bc59(0x1c0)](_0x32c802-_0x32e297,_0x1b6309-_0x32e297,_0x32e297,0x0,Math['PI']/0x2,!0x1),_0x5cf4f3[_0x52bc59(0x189)](0x0,_0x1b6309),_0x5cf4f3[_0x52bc59(0x189)](0x0,_0x2d2725),_0x5cf4f3[_0x52bc59(0x1c0)](_0x2d2725,_0x2d2725,_0x2d2725,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5cf4f3[_0x52bc59(0x36e)](),_0x8a9f66[_0x52bc59(0x1c2)]&&(_0x5cf4f3['save'](),_0x5cf4f3[_0x52bc59(0x166)]=_0x8a9f66['fill'],_0x8a9f66[_0x52bc59(0x1ed)]==='evenodd'?_0x5cf4f3[_0x52bc59(0x1c2)](_0x52bc59(0x38d)):_0x5cf4f3[_0x52bc59(0x1c2)](),_0x5cf4f3[_0x52bc59(0x22c)]());}class _0x5c9d7c extends _0x1380e3[_0x2b281a(0x19d)]{constructor(_0x2723d6,_0x1cce33){const _0x31cc08=_0x2b281a;super(_0x2723d6,_0x1cce33),_0x95fa0d(this,_0x31cc08(0x2cd)),_0x95fa0d(this,_0x31cc08(0x2a9)),(this[_0x31cc08(0x2cd)]=_0x1cce33==null?void 0x0:_0x1cce33[_0x31cc08(0x2cd)],this[_0x31cc08(0x2a9)]=_0x1cce33==null?void 0x0:_0x1cce33[_0x31cc08(0x2a9)]);}static[_0x2b281a(0x262)](_0x30f346,_0x5f5b5e){const _0x1f6275=_0x2b281a,{text:_0xf6b321,color:_0x3bb0ee}=_0x5f5b5e;_0x30f346[_0x1f6275(0x2d8)](),_0x30f346[_0x1f6275(0x39e)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x16af11=_0x30f346[_0x1f6275(0x3b6)](_0xf6b321)[_0x1f6275(0x1ca)],_0x4d1656=Math[_0x1f6275(0x382)](_0x16af11+0x2*_0x38e40c,_0x8ab697);_0x5ad198(_0x30f346,{'height':_0x1a5f6a,'radius':0x4,'width':_0x4d1656,'fill':_0x3bb0ee}),_0x30f346[_0x1f6275(0x166)]=_0x1f6275(0x183);const _0x3cb8f5=_0x38e40c,_0x518f9e=_0x1a5f6a-_0x33642a,_0x4bf2d6=_0x8ab697-0x2*_0x38e40c;if(_0x16af11>_0x4bf2d6){let _0x2b1130='',_0x44e673=0x0;for(const _0x47d751 of _0xf6b321){const _0x58f769=_0x30f346[_0x1f6275(0x3b6)](_0x47d751)[_0x1f6275(0x1ca)];if(_0x44e673+_0x58f769<=_0x4bf2d6-_0x30f346[_0x1f6275(0x3b6)](_0x1f6275(0x28e))[_0x1f6275(0x1ca)])_0x2b1130+=_0x47d751,_0x44e673+=_0x58f769;else{_0x2b1130+=_0x1f6275(0x28e);break;}}_0x30f346[_0x1f6275(0x2c6)](_0x2b1130,_0x3cb8f5,_0x518f9e);}else _0x30f346[_0x1f6275(0x2c6)](_0xf6b321,_0x3cb8f5,_0x518f9e);_0x30f346[_0x1f6275(0x22c)]();}[_0x2b281a(0x191)](_0x241ebe){const _0x32cf79=_0x2b281a;_0x5c9d7c[_0x32cf79(0x262)](_0x241ebe,this);}}const _0x3c2cac=_0x2b281a(0x3be),_0x397287=_0x2b281a(0x1cd),_0x324541=_0x2b281a(0x302),_0x28ec24=0x6,_0x4d84c9=1.5,_0x4c1a50=0x4,_0x420bd5=1.5,_0x15d44a=_0x2b281a(0x212);class _0x15aa0f{constructor(_0x3aeb8d,_0x2610c6,_0x1835f7,_0x535c07){const _0x4a2d00=_0x2b281a;_0x95fa0d(this,'_shapes',[]),_0x95fa0d(this,_0x4a2d00(0x29b),null),_0x95fa0d(this,_0x4a2d00(0x3b7),null),_0x95fa0d(this,_0x4a2d00(0x1af),null),_0x95fa0d(this,_0x4a2d00(0x324),null),_0x95fa0d(this,'_eventUnsubscribe',null),(this[_0x4a2d00(0x2a3)]=_0x3aeb8d,this['_scene']=_0x2610c6,this[_0x4a2d00(0x311)]=_0x1835f7,this[_0x4a2d00(0x1b2)]=_0x535c07,this[_0x4a2d00(0x3a6)]());}set[_0x2b281a(0x28d)](_0x4b7b8e){const _0x2407f9=_0x2b281a;_0x4b7b8e?(this[_0x2407f9(0x1af)]&&this[_0x2407f9(0x1af)][_0x2407f9(0x1dd)](),this[_0x2407f9(0x3b7)]&&this[_0x2407f9(0x3b7)][_0x2407f9(0x259)]()):(this[_0x2407f9(0x1af)]&&this[_0x2407f9(0x1af)][_0x2407f9(0x259)](),this[_0x2407f9(0x3b7)]&&this[_0x2407f9(0x3b7)]['hide']());}['dispose'](){const _0x57d124=_0x2b281a;for(const _0x117271 of this['_shapes'])_0x117271[_0x57d124(0x322)]();this['_textBubble']&&this['_textBubble'][_0x57d124(0x322)](),this[_0x57d124(0x1af)]&&this[_0x57d124(0x1af)][_0x57d124(0x322)](),this['_anchor']&&this[_0x57d124(0x29b)][_0x57d124(0x322)](),this[_0x57d124(0x198)]&&this[_0x57d124(0x198)]();}[_0x2b281a(0x3a6)](){const _0x3eaff7=_0x2b281a;var _0x3e86cd;const {_docSkeleton:_0xd3f2af,_document:_0xb5bc8a}=this,{color:_0x299d68,name:_0x427cb0,ranges:_0x29ef6}=this[_0x3eaff7(0x2a3)],_0x12e61d=_0xb5bc8a['getOffsetConfig'](),{docsLeft:_0x21a04a,docsTop:_0x4ba29a}=_0x12e61d,_0x53af56=new _0xf283a2[(_0x3eaff7(0x2ed))](_0x12e61d,_0xd3f2af);for(const {startOffset:_0x395fec,endOffset:_0x491765,rangeType:_0x3539ac,segmentId:_0x51408a,segmentPage:_0x50ff5e,collapsed:_0x184eb2,isActive:_0x5aacd4}of _0x29ef6){const _0x40f6b5=_0xd3f2af[_0x3eaff7(0x239)](_0x395fec,!0x0,_0x51408a,_0x50ff5e);let _0x16d156=_0xd3f2af[_0x3eaff7(0x239)](_0x491765,!0x0,_0x51408a,_0x50ff5e);if(_0x16d156==null&&(_0x16d156=_0xd3f2af[_0x3eaff7(0x239)](_0x491765-0x1,!0x1,_0x51408a,_0x50ff5e)),_0x5aacd4){const {contentBoxPointGroup:_0x5e8dd1}=_0x53af56[_0x3eaff7(0x18a)](_0x16d156,_0x16d156);if(_0x5e8dd1[_0x3eaff7(0x36f)]===0x0)continue;this[_0x3eaff7(0x2b1)](_0x299d68,_0x5e8dd1,_0x21a04a,_0x4ba29a,_0x427cb0),this[_0x3eaff7(0x198)]=this[_0x3eaff7(0x37c)]();}if(_0x40f6b5&&_0x16d156){if(_0x3539ac===_0x403a48[_0x3eaff7(0x1a7)][_0x3eaff7(0x24e)]){const _0x4863e4=new _0xf283a2[(_0x3eaff7(0x2cc))](_0x12e61d,_0xd3f2af),{pointGroup:_0x5615ba}=(_0x3e86cd=_0x4863e4[_0x3eaff7(0x18a)](_0x40f6b5,_0x16d156))!=null?_0x3e86cd:{};if(_0x5615ba==null||_0x5615ba[_0x3eaff7(0x36f)]===0x0)continue;this['_drawRectRange'](_0x299d68,_0x5615ba,_0x21a04a,_0x4ba29a);}else{if(!_0x184eb2){const {borderBoxPointGroup:_0x1d73a0}=_0x53af56[_0x3eaff7(0x18a)](_0x40f6b5,_0x16d156);if(_0x1d73a0['length']===0x0)continue;this[_0x3eaff7(0x358)](_0x299d68,_0x1d73a0,_0x21a04a,_0x4ba29a);}}}}}['_drawAnchor'](_0x121c50,_0x4c9ed5,_0xd7879d,_0x4d4926,_0x4d5ac1){const _0x2f6cb3=_0x2b281a,_0x31b4f9=this['_getAnchorBounding'](_0x4c9ed5),{left:_0x2b3884,top:_0x597ff1,height:_0x23c260}=_0x31b4f9,_0x3fcf63=this[_0x2f6cb3(0x1a3)](),_0x433cb1=_0x420bd5/_0x3fcf63,_0x19f467=new _0x1380e3[(_0x2f6cb3(0x1dc))](_0x3c2cac+_0x403a48['Tools'][_0x2f6cb3(0x290)](_0x28ec24),{'left':_0x2b3884+_0xd7879d-_0x433cb1,'top':_0x597ff1+_0x4d4926,'height':_0x23c260,'width':_0x4d84c9,'fill':_0x121c50||_0x1380e3[_0x2f6cb3(0x39d)](_0x403a48[_0x2f6cb3(0x1fd)][_0x2f6cb3(0x2ec)],0x0),'strokeWidth':_0x433cb1,'stroke':_0x15d44a,'evented':!0x0});this[_0x2f6cb3(0x29b)]=_0x19f467,this[_0x2f6cb3(0x2f0)]['addObject'](_0x19f467,_0xf283a2[_0x2f6cb3(0x209)]);const _0x38ac6a=new _0x1380e3[(_0x2f6cb3(0x1dc))](_0x3c2cac+_0x403a48[_0x2f6cb3(0x39c)][_0x2f6cb3(0x290)](_0x28ec24),{'left':_0x2b3884+_0xd7879d-_0x433cb1,'top':_0x597ff1+_0x4d4926-_0x4c1a50/0x2,'height':_0x4c1a50,'width':_0x4c1a50,'fill':_0x121c50||_0x1380e3[_0x2f6cb3(0x39d)](_0x403a48[_0x2f6cb3(0x1fd)][_0x2f6cb3(0x2ec)],0x0),'strokeWidth':0x0,'stroke':_0x121c50||_0x1380e3[_0x2f6cb3(0x39d)](_0x403a48[_0x2f6cb3(0x1fd)][_0x2f6cb3(0x2ec)],0x0),'evented':!0x1});this['_anchorDot']=_0x38ac6a,this[_0x2f6cb3(0x2f0)][_0x2f6cb3(0x230)](_0x38ac6a,_0xf283a2[_0x2f6cb3(0x209)]);const _0x1741e8=new _0x5c9d7c(_0x3c2cac+_0x403a48['Tools'][_0x2f6cb3(0x290)](_0x28ec24),{'left':_0x2b3884+_0xd7879d-_0x433cb1,'top':_0x597ff1+_0x4d4926-_0x1a5f6a,'text':_0x4d5ac1,'color':_0x121c50});this['_textBubble']=_0x1741e8,this[_0x2f6cb3(0x2f0)]['addObject'](_0x1741e8,_0xf283a2[_0x2f6cb3(0x209)]),this[_0x2f6cb3(0x28d)]=!0x1;}[_0x2b281a(0x37c)](){const _0x159e54=_0x2b281a,_0xfc053c=this[_0x159e54(0x29b)][_0x159e54(0x3ab)][_0x159e54(0x282)](()=>{const _0x3b03b4=_0x159e54;this[_0x3b03b4(0x28d)]=!0x0;}),_0x28f39b=this[_0x159e54(0x29b)]['onPointerLeave$'][_0x159e54(0x282)](()=>{this['_hideTimer']&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x2e015b=_0x28da;this[_0x2e015b(0x28d)]=!0x1;},0x7d0);});return()=>{const _0x2ef759=_0x159e54;_0xfc053c[_0x2ef759(0x35d)](),_0x28f39b[_0x2ef759(0x35d)]();};}['_drawTextRange'](_0x21a10f,_0x5e76f4,_0x83faef,_0x41da93){const _0x9c590f=_0x2b281a,_0x88ee49=new _0x403a48['ColorKit'](_0x21a10f)[_0x9c590f(0x1fb)](0.2)['toRgbString'](),_0x203311=new _0x1380e3['RegularPolygon'](_0x397287+_0x403a48[_0x9c590f(0x39c)][_0x9c590f(0x290)](_0x28ec24),{'pointsGroup':_0x5e76f4,'fill':_0x88ee49||_0x1380e3[_0x9c590f(0x39d)](_0x403a48[_0x9c590f(0x1fd)][_0x9c590f(0x2ec)],0.2),'left':_0x83faef,'top':_0x41da93,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x9c590f(0x3bd)][_0x9c590f(0x381)](_0x203311),this[_0x9c590f(0x2f0)][_0x9c590f(0x230)](_0x203311,_0xf283a2[_0x9c590f(0x209)]);}[_0x2b281a(0x1f7)](_0x1af2cd,_0x420bf8,_0x49903d,_0x19b481){const _0x421893=_0x2b281a,_0x513b67=new _0x403a48[(_0x421893(0x193))](_0x1af2cd)['setAlpha'](0.2)['toRgbString'](),_0x37424b=new _0x1380e3[(_0x421893(0x325))](_0x324541+_0x403a48['Tools'][_0x421893(0x290)](_0x28ec24),{'pointsGroup':_0x420bf8,'fill':_0x513b67||_0x1380e3[_0x421893(0x39d)](_0x403a48[_0x421893(0x1fd)]['black'],0.2),'left':_0x49903d,'top':_0x19b481,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x421893(0x3bd)][_0x421893(0x381)](_0x37424b),this['_scene'][_0x421893(0x230)](_0x37424b,_0xf283a2[_0x421893(0x209)]);}[_0x2b281a(0x2ff)](_0x2eb266){const _0x2fd56f=_0x2eb266[0x0],_0x55d982=_0x2fd56f[0x0],_0x24cbaf=_0x2fd56f[0x2],{x:_0x576cbb,y:_0x4c7034}=_0x55d982,{x:_0x5dd026,y:_0x2dbd65}=_0x24cbaf;return{'left':_0x576cbb,'top':_0x4c7034,'width':_0x5dd026-_0x576cbb,'height':_0x2dbd65-_0x4c7034};}[_0x2b281a(0x1a3)](){const _0x23f4fa=_0x2b281a,{scaleX:_0x49b243,scaleY:_0x3d53a3}=this['_scene']['getAncestorScale']();return Math[_0x23f4fa(0x29c)](_0x49b243,_0x3d53a3);}}var _0x54188d=Object[_0x2b281a(0x354)],_0x224d2c=(_0xd94ebc,_0x4dc76d,_0x4740d8,_0x3e7d57)=>{const _0x5bb9e7=_0x2b281a;for(var _0x1c264b=_0x3e7d57>0x1?void 0x0:_0x3e7d57?_0x54188d(_0x4dc76d,_0x4740d8):_0x4dc76d,_0x445f05=_0xd94ebc[_0x5bb9e7(0x36f)]-0x1,_0xffe2a6;_0x445f05>=0x0;_0x445f05--)(_0xffe2a6=_0xd94ebc[_0x445f05])&&(_0x1c264b=_0xffe2a6(_0x1c264b)||_0x1c264b);return _0x1c264b;},_0x39f1d3=(_0x2f8c5b,_0x555ed3)=>(_0x48fef4,_0x189d7e)=>_0x555ed3(_0x48fef4,_0x189d7e,_0x2f8c5b);let _0x1c18e5=class extends _0x403a48[_0x2b281a(0x3e8)]{constructor(_0x3eea15,_0x5935fc,_0x6035d6,_0xd81a91,_0x100b7){const _0x5996ca=_0x2b281a;super(),_0x95fa0d(this,_0x5996ca(0x26f),[]),_0x95fa0d(this,_0x5996ca(0x229),[]),(this['_context']=_0x3eea15,this['_docSkeletonManagerService']=_0x5935fc,this[_0x5996ca(0x1b7)]=_0x6035d6,this[_0x5996ca(0x303)]=_0xd81a91,this[_0x5996ca(0x167)]=_0x100b7,this[_0x5996ca(0x223)]());}[_0x2b281a(0x223)](){const _0x30ffca=_0x2b281a,_0x2fd13f=this[_0x30ffca(0x3e6)][_0x30ffca(0x3b0)],_0x15afad=this[_0x30ffca(0x15b)];this[_0x30ffca(0x3f2)](_0x15c792[_0x30ffca(0x3af)]([this[_0x30ffca(0x1b7)]['getCollabCursors$'](_0x2fd13f),this[_0x30ffca(0x167)][_0x30ffca(0x39a)]])[_0x30ffca(0x28a)](_0x54a7c7[_0x30ffca(0x337)](([_0x2a1b71,_0x45bf4c])=>({'skeleton':_0x15afad[_0x30ffca(0x1c3)](),'cursors':[..._0x2a1b71[_0x30ffca(0x31a)]()][_0x30ffca(0x1f3)](_0x1a00f1=>({..._0x1a00f1,'color':this[_0x30ffca(0x167)]['getColorFromTheme'](_0x1a00f1[_0x30ffca(0x2cd)])}))})))[_0x30ffca(0x308)](_0x502413=>{const _0x10bb76=_0x30ffca;if(this['_removeCollabCursors'](),_0x502413){const {skeleton:_0x4cbff4,cursors:_0x9da2e6}=_0x502413;this[_0x10bb76(0x2c9)](_0x4cbff4,_0x9da2e6);}})),this[_0x30ffca(0x23b)](),this['_initCommandExecutedListener']();}[_0x2b281a(0x2c9)](_0x3eb980,_0x55e52f){const {scene:_0x3b67f0,mainComponent:_0x26c253}=this['_context'],_0x29861f=_0x55e52f['map'](_0x501b14=>new _0x15aa0f(_0x501b14,_0x3b67f0,_0x3eb980,_0x26c253));this['_cursorShapes']=_0x29861f,this['_cursors']=_0x55e52f;}[_0x2b281a(0x215)](){const _0x3eec2c=_0x2b281a;this[_0x3eec2c(0x1ff)]();const {scene:_0x2e3d01,mainComponent:_0x958fe1}=this[_0x3eec2c(0x3e6)],_0x17bb47=this[_0x3eec2c(0x15b)][_0x3eec2c(0x1c3)](),_0x1cae52=this[_0x3eec2c(0x229)]['map'](_0x33016c=>new _0x15aa0f(_0x33016c,_0x2e3d01,_0x17bb47,_0x958fe1));this[_0x3eec2c(0x26f)]=_0x1cae52;}['_removeCollabCursors'](){const _0x4eb137=_0x2b281a;this[_0x4eb137(0x26f)][_0x4eb137(0x2e1)](_0x58009e=>_0x58009e[_0x4eb137(0x322)]()),this[_0x4eb137(0x26f)]=[];}[_0x2b281a(0x374)](){const _0x39e879=_0x2b281a,_0x15f66b=[_0xf283a2[_0x39e879(0x39f)]['id']];this[_0x39e879(0x3f2)](this[_0x39e879(0x303)]['onCommandExecuted'](_0x88530a=>{const _0x20bd8a=_0x39e879;_0x15f66b[_0x20bd8a(0x345)](_0x88530a['id'])&&_0x88530a[_0x20bd8a(0x3ef)][_0x20bd8a(0x3b0)]===this['_context']['unitId']&&this[_0x20bd8a(0x215)]();}));}[_0x2b281a(0x23b)](){const _0x381a7b=_0x2b281a;this['disposeWithMe'](_0x403a48[_0x381a7b(0x224)](this['_context'][_0x381a7b(0x25a)][_0x381a7b(0x22e)])[_0x381a7b(0x28a)](_0x54a7c7['filter'](_0xe82f21=>_0xe82f21[_0x381a7b(0x1bb)]===_0x1380e3['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x381a7b(0x2b7)]),_0x54a7c7[_0x381a7b(0x2a4)](0x10))['subscribe'](()=>{const _0x47614f=_0x381a7b;this[_0x47614f(0x215)]();}));}};_0x1c18e5=_0x224d2c([_0x39f1d3(0x1,_0x403a48[_0x2b281a(0x19a)](_0x36b8d7[_0x2b281a(0x2de)])),_0x39f1d3(0x2,_0x403a48[_0x2b281a(0x19a)](_0x896780)),_0x39f1d3(0x3,_0x403a48[_0x2b281a(0x2f5)]),_0x39f1d3(0x4,_0x403a48[_0x2b281a(0x19a)](_0x403a48[_0x2b281a(0x29d)]))],_0x1c18e5);const _0x5b354d=0x1,_0x136334=1.5;class _0x41104e extends _0x1380e3[_0x2b281a(0x19d)]{constructor(_0xcf38a,_0x474f6e){const _0x2983c1=_0x2b281a;super(_0xcf38a,_0x474f6e),_0x95fa0d(this,'_color'),_0x95fa0d(this,'_hovered',!0x1),_0x95fa0d(this,_0x2983c1(0x206)),_0x95fa0d(this,_0x2983c1(0x299),''),_0x95fa0d(this,_0x2983c1(0x178),'top'),_0x95fa0d(this,_0x2983c1(0x3cd)),(_0x474f6e&&this[_0x2983c1(0x22a)](_0x474f6e),this[_0x2983c1(0x3ab)]['subscribeEvent'](()=>this[_0x2983c1(0x22a)]({'hovered':!0x0})),this[_0x2983c1(0x2ef)][_0x2983c1(0x282)](()=>this[_0x2983c1(0x22a)]({'hovered':!0x1})));}[_0x2b281a(0x22a)](_0x20db69){const _0x5530fa=_0x2b281a;var _0x211376,_0x4e0a68,_0x26f76d,_0x3f1875,_0x43ca7f,_0x4197a6;this[_0x5530fa(0x26c)]=(_0x211376=_0x20db69[_0x5530fa(0x2cd)])!=null?_0x211376:this['_color'],this['_hovered']=(_0x4e0a68=_0x20db69[_0x5530fa(0x1e4)])!=null?_0x4e0a68:this[_0x5530fa(0x37a)],this[_0x5530fa(0x206)]=(_0x26f76d=_0x20db69[_0x5530fa(0x2b5)])!=null?_0x26f76d:this['_range'],this[_0x5530fa(0x299)]=(_0x3f1875=_0x20db69[_0x5530fa(0x203)])!=null?_0x3f1875:this[_0x5530fa(0x299)],this[_0x5530fa(0x178)]=(_0x43ca7f=_0x20db69['labelPosition'])!=null?_0x43ca7f:this['_labelPosition'],this[_0x5530fa(0x3cd)]=(_0x4197a6=_0x20db69[_0x5530fa(0x338)])!=null?_0x4197a6:this[_0x5530fa(0x3cd)],this[_0x5530fa(0x1a5)]({'width':_0x20db69[_0x5530fa(0x1ca)],'height':_0x20db69[_0x5530fa(0x220)]});}[_0x2b281a(0x2e9)](_0x30b33f){const _0x25a1ef=_0x2b281a,{row:_0x553bb0,column:_0xa0c65f}=_0x30b33f;if(_0x553bb0>=this[_0x25a1ef(0x206)][_0x25a1ef(0x17a)]&&_0x553bb0<=this[_0x25a1ef(0x206)][_0x25a1ef(0x2aa)]&&_0xa0c65f>=this['_range']['startColumn']&&_0xa0c65f<=this[_0x25a1ef(0x206)]['endColumn']){this[_0x25a1ef(0x22a)]({'hovered':!0x0});return;}this[_0x25a1ef(0x22a)]({'hovered':!0x1});}[_0x2b281a(0x237)](_0x267e18){return!0x1;}[_0x2b281a(0x191)](_0xa10b21){const _0x3562aa=_0x2b281a;_0x1380e3[_0x3562aa(0x1dc)][_0x3562aa(0x262)](_0xa10b21,{'width':this[_0x3562aa(0x1ca)],'height':this['height'],'strokeWidth':_0x136334,'stroke':this[_0x3562aa(0x26c)],'evented':!0x1,'fill':this[_0x3562aa(0x3cd)]}),this[_0x3562aa(0x37a)]&&(_0xa10b21[_0x3562aa(0x2d8)](),_0xa10b21[_0x3562aa(0x3c8)](0x1,0x0,0x0,0x1,this[_0x3562aa(0x1ca)],this[_0x3562aa(0x178)]===_0x3562aa(0x248)?0x0:-0x14),_0x5c9d7c[_0x3562aa(0x262)](_0xa10b21,{'text':this[_0x3562aa(0x299)],'color':this[_0x3562aa(0x26c)]}),_0xa10b21[_0x3562aa(0x22c)]());}}var _0x7d6cc5=Object[_0x2b281a(0x354)],_0x4cbc21=(_0x544f33,_0x5f5397,_0x3dc7c6,_0x38abd1)=>{for(var _0x31f283=_0x38abd1>0x1?void 0x0:_0x38abd1?_0x7d6cc5(_0x5f5397,_0x3dc7c6):_0x5f5397,_0x17bd98=_0x544f33['length']-0x1,_0x45d05a;_0x17bd98>=0x0;_0x17bd98--)(_0x45d05a=_0x544f33[_0x17bd98])&&(_0x31f283=_0x45d05a(_0x31f283)||_0x31f283);return _0x31f283;},_0x6348eb=(_0x109180,_0x4bdc1a)=>(_0x15f8a5,_0x480c08)=>_0x4bdc1a(_0x15f8a5,_0x480c08,_0x109180);const _0x37cc53=0x1389;let _0x5c681f=class extends _0x403a48[_0x2b281a(0x3e8)]{constructor(_0x569442,_0x1f8700,_0x47d2ad,_0x22f5c6){const _0x50418e=_0x2b281a;super(),_0x95fa0d(this,'_cursors',new Set()),_0x95fa0d(this,_0x50418e(0x264),null),(this[_0x50418e(0x3e6)]=_0x569442,this[_0x50418e(0x3e2)]=_0x1f8700,this[_0x50418e(0x1b7)]=_0x47d2ad,this[_0x50418e(0x167)]=_0x22f5c6,this[_0x50418e(0x223)]());}[_0x2b281a(0x223)](){const _0x2c87b1=_0x2b281a;this['_sheetSkeletonManagerService'][_0x2c87b1(0x1c1)][_0x2c87b1(0x28a)](_0x54a7c7[_0x2c87b1(0x261)](this['dispose$']),_0x54a7c7[_0x2c87b1(0x293)](_0x4c7638=>{const _0x48517a=_0x2c87b1;if(_0x4c7638){const _0x391130=_0x4c7638['sheetId'];return _0x15c792[_0x48517a(0x3af)](this[_0x48517a(0x1b7)]['getCollabCursors$'](this[_0x48517a(0x3e6)][_0x48517a(0x3b0)]),this['_themeService'][_0x48517a(0x39a)])[_0x48517a(0x28a)](_0x54a7c7[_0x48517a(0x337)](([_0x2d6f59,_0x405b26])=>{const _0x168767=_0x48517a,_0x2c581c=new Map();return _0x2d6f59[_0x168767(0x2e1)]((_0x444892,_0x4cd19a)=>{const _0x1d3485=_0x168767;if(_0x444892[_0x1d3485(0x332)]===_0x391130){const _0x3b1f0e={..._0x444892};_0x3b1f0e[_0x1d3485(0x2cd)]=this['_themeService'][_0x1d3485(0x2d7)](_0x444892['color']),_0x2c581c[_0x1d3485(0x25e)](_0x4cd19a,_0x3b1f0e);}}),{'skeleton':_0x4c7638,'cursors':_0x2c581c};}));}return _0x15c792['of']({'skeleton':null,'cursors':new Map()});}))[_0x2c87b1(0x308)](({skeleton:_0x2a2d9d,cursors:_0x2e7db4})=>{const _0x4eb2b6=_0x2c87b1;this['_removeCollabCursors'](),_0x2a2d9d&&this[_0x4eb2b6(0x2c9)](_0x2a2d9d,_0x2e7db4);}),this[_0x2c87b1(0x3e2)][_0x2c87b1(0x1c1)][_0x2c87b1(0x308)](_0x3c1c8e=>{const _0x141942=_0x2c87b1;if(_0x3c1c8e==null)return;const {skeleton:_0x21faed}=_0x3c1c8e,{scene:_0x5759a2}=this[_0x141942(0x3e6)];_0x5759a2['onPointerMove$']['subscribeEvent'](_0x403a48['debounce'](_0x3960ac=>{const _0x3d0d2b=_0x141942;var _0x41b5ff,_0x40fafd;const {offsetX:_0x16d3f4,offsetY:_0xe0e640}=_0x3960ac,{x:_0x4159c2,y:_0x5b51a1}=_0x5759a2['getRelativeToViewportCoord'](_0x1380e3[_0x3d0d2b(0x163)][_0x3d0d2b(0x366)]([_0x16d3f4,_0xe0e640])),{scaleX:_0x590714,scaleY:_0x139623}=_0x5759a2[_0x3d0d2b(0x34d)](),_0x2d2661=_0x5759a2[_0x3d0d2b(0x3c4)](_0x1380e3['SHEET_VIEWPORT_KEY'][_0x3d0d2b(0x213)]),_0x2b4e1b=_0x5759a2[_0x3d0d2b(0x214)](_0x1380e3['Vector2'][_0x3d0d2b(0x366)]([_0x4159c2,_0x5b51a1]),_0x2d2661),_0x2639c0=_0x21faed['getCellPositionByOffset'](_0x16d3f4,_0xe0e640,_0x590714,_0x139623,_0x2b4e1b);((_0x41b5ff=this[_0x3d0d2b(0x264)])==null?void 0x0:_0x41b5ff[_0x3d0d2b(0x2f2)])===_0x2639c0[_0x3d0d2b(0x2f2)]&&((_0x40fafd=this['_lastPointer'])==null?void 0x0:_0x40fafd[_0x3d0d2b(0x37e)])===_0x2639c0[_0x3d0d2b(0x37e)]||this[_0x3d0d2b(0x229)][_0x3d0d2b(0x2e1)](_0x44f2b0=>{const _0x4ff54f=_0x3d0d2b;_0x44f2b0[_0x4ff54f(0x2e9)](_0x2639c0);});},0x64));});}[_0x2b281a(0x2c9)](_0x56bc3a,_0x3cf501){const _0x8aa28=_0x2b281a;var _0x405155;const _0xa2d21=(_0x405155=this[_0x8aa28(0x3e2)][_0x8aa28(0x283)]())==null?void 0x0:_0x405155[_0x8aa28(0x268)];if(!_0xa2d21)return;const _0x1ed2a1=this[_0x8aa28(0x304)]();if(!_0x1ed2a1)return;this[_0x8aa28(0x229)][_0x8aa28(0x2e1)](_0x4fed9f=>{const _0x1b3ecc=_0x8aa28;_0x4fed9f[_0x1b3ecc(0x331)]();});const {scene:_0xce0de6}=_0x1ed2a1,_0x2a72c0=_0xd881ea(Array[_0x8aa28(0x305)](_0x3cf501[_0x8aa28(0x31a)]()))[_0x8aa28(0x337)](_0x394190=>{const _0x4d3c0f=_0x8aa28,{color:_0x11d39a,range:_0x714e71,name:_0x510837,selection:_0x19ad64,sheetID:_0x2284a5}=_0x394190,{startColumn:_0xdb6dce,startRow:_0x193829,endColumn:_0x7ace7c,endRow:_0x545229}=_0x714e71,_0x9852e4=_0x2e664f['getCoordByCell'](_0x193829,_0xdb6dce,_0xce0de6,_0xa2d21),_0x33e51e=_0x2e664f[_0x4d3c0f(0x27a)](_0x545229,_0x7ace7c,_0xce0de6,_0xa2d21),{columnHeaderHeightAndMarginTop:_0x150605}=_0xa2d21,{startX:_0x53e44f,startY:_0x1afe82}=_0x9852e4,{endX:_0x33333b,endY:_0x3a62b8}=_0x33e51e,_0x68827f=_0x33333b-_0x53e44f,_0x365937=_0x3a62b8-_0x1afe82,_0x8335bc={'labelPosition':_0x1afe82-_0x150605>=_0x1a5f6a?'top':_0x4d3c0f(0x248),'sheetID':_0x2284a5,'range':_0x714e71,'color':_0x11d39a,'name':_0x510837,'selection':_0x19ad64,'left':_0x53e44f,'top':_0x1afe82,'width':_0x68827f,'height':_0x365937,'evented':!0x1,'zIndex':_0x37cc53};return new _0x41104e(_0x510837,_0x8335bc);});_0xce0de6[_0x8aa28(0x176)](_0x2a72c0,_0x5b354d),this[_0x8aa28(0x229)]=new Set(_0x2a72c0);}['_removeCollabCursors'](){const _0x570bd2=_0x2b281a;var _0x143134;(_0x143134=this[_0x570bd2(0x229)])==null||_0x143134[_0x570bd2(0x2e1)](_0x472e94=>_0x472e94[_0x570bd2(0x322)]());}['_getSheetObject'](){const _0x3f13f0=_0x2b281a;return _0x2e664f[_0x3f13f0(0x17d)](this[_0x3f13f0(0x3e6)][_0x3f13f0(0x177)],this[_0x3f13f0(0x3e6)]);}};_0x5c681f=_0x4cbc21([_0x6348eb(0x1,_0x403a48[_0x2b281a(0x19a)](_0x2e664f[_0x2b281a(0x2f9)])),_0x6348eb(0x2,_0x403a48['Inject'](_0x896780)),_0x6348eb(0x3,_0x403a48[_0x2b281a(0x19a)](_0x403a48[_0x2b281a(0x29d)]))],_0x5c681f);function _0xd881ea(_0x2e771a){const _0x271f94=_0x2b281a,_0x589bba=new Map();return _0x2e771a[_0x271f94(0x2e1)](_0x5ddd2d=>{const _0x39ffca=_0x271f94;if(_0x589bba[_0x39ffca(0x1c5)](_0x5ddd2d[_0x39ffca(0x24d)])){const _0x467ff6=_0x589bba['get'](_0x5ddd2d[_0x39ffca(0x24d)]);_0x467ff6['name']+=',\x20'+_0x5ddd2d['name'];}else _0x589bba['set'](_0x5ddd2d[_0x39ffca(0x24d)],_0x5ddd2d);}),Array[_0x271f94(0x305)](_0x589bba[_0x271f94(0x31a)]());}var _0x169158=function(){const _0x582c51=_0x2b281a;return _0x169158=Object['assign']||function(_0x367e13){const _0xf80c52=_0x28da;for(var _0x587ae4,_0x416c26=0x1,_0x2cca3d=arguments[_0xf80c52(0x36f)];_0x416c26<_0x2cca3d;_0x416c26++){_0x587ae4=arguments[_0x416c26];for(var _0x4f72a9 in _0x587ae4)Object['prototype'][_0xf80c52(0x2d6)]['call'](_0x587ae4,_0x4f72a9)&&(_0x367e13[_0x4f72a9]=_0x587ae4[_0x4f72a9]);}return _0x367e13;},_0x169158[_0x582c51(0x207)](this,arguments);},_0x5c872a=function(_0x983690,_0x48deda){const _0x518fb3=_0x2b281a;var _0x11fb45={};for(var _0x15d040 in _0x983690)Object[_0x518fb3(0x278)][_0x518fb3(0x2d6)][_0x518fb3(0x1d9)](_0x983690,_0x15d040)&&_0x48deda[_0x518fb3(0x1f8)](_0x15d040)<0x0&&(_0x11fb45[_0x15d040]=_0x983690[_0x15d040]);if(_0x983690!=null&&typeof Object[_0x518fb3(0x329)]==_0x518fb3(0x353)){for(var _0x34b415=0x0,_0x15d040=Object[_0x518fb3(0x329)](_0x983690);_0x34b415<_0x15d040[_0x518fb3(0x36f)];_0x34b415++)_0x48deda[_0x518fb3(0x1f8)](_0x15d040[_0x34b415])<0x0&&Object['prototype']['propertyIsEnumerable'][_0x518fb3(0x1d9)](_0x983690,_0x15d040[_0x34b415])&&(_0x11fb45[_0x15d040[_0x34b415]]=_0x983690[_0x15d040[_0x34b415]]);}return _0x11fb45;},_0x25a1b2=_0xd420d5[_0x2b281a(0x256)](function(_0x2df5a4,_0x1c7d7b){const _0x10b9c8=_0x2b281a;var _0x37a477=_0x2df5a4['icon'],_0x52d412=_0x2df5a4['id'],_0x184269=_0x2df5a4[_0x10b9c8(0x1d7)],_0x1f164e=_0x2df5a4[_0x10b9c8(0x258)],_0x515506=_0x5c872a(_0x2df5a4,[_0x10b9c8(0x326),'id','className','extend']),_0x310435='univerjs-icon\x20univerjs-icon-'['concat'](_0x52d412,'\x20')[_0x10b9c8(0x18b)](_0x184269||'')[_0x10b9c8(0x195)](),_0x15a52d=_0xd420d5[_0x10b9c8(0x3d2)]('_'[_0x10b9c8(0x18b)](_0x517ef2()));return _0xd4ce05(_0x37a477,''[_0x10b9c8(0x18b)](_0x52d412),{'defIds':_0x37a477['defIds'],'idSuffix':_0x15a52d['current']},_0x169158({'ref':_0x1c7d7b,'className':_0x310435},_0x515506),_0x1f164e);});function _0xd4ce05(_0x19722d,_0x4c6973,_0x1c914f,_0x78dc2f,_0x315df2){const _0xf057f9=_0x2b281a;return _0xd420d5['createElement'](_0x19722d['tag'],_0x169158(_0x169158({'key':_0x4c6973},_0x55cbc3(_0x19722d,_0x1c914f,_0x315df2)),_0x78dc2f),(_0x20dbe6(_0x19722d,_0x1c914f)[_0xf057f9(0x33c)]||[])[_0xf057f9(0x337)](function(_0x2a24a6,_0x5abe7d){const _0x502663=_0xf057f9;return _0xd4ce05(_0x2a24a6,''[_0x502663(0x18b)](_0x4c6973,'-')[_0x502663(0x18b)](_0x19722d[_0x502663(0x26a)],'-')[_0x502663(0x18b)](_0x5abe7d),_0x1c914f,void 0x0,_0x315df2);}));}function _0x55cbc3(_0xe242a7,_0x495c47,_0x421a08){const _0x495d3e=_0x2b281a;var _0x527a82=_0x169158({},_0xe242a7[_0x495d3e(0x379)]);_0x421a08!=null&&_0x421a08[_0x495d3e(0x18c)]&&_0x527a82['fill']===_0x495d3e(0x18c)&&(_0x527a82[_0x495d3e(0x1c2)]=_0x421a08[_0x495d3e(0x18c)]),_0xe242a7[_0x495d3e(0x26a)]===_0x495d3e(0x196)&&_0x527a82['id']&&(_0x527a82['id']=_0x527a82['id']+_0x495c47[_0x495d3e(0x2cf)]),Object[_0x495d3e(0x3d5)](_0x527a82)[_0x495d3e(0x2e1)](function(_0x4b0ca7){const _0xfec2a5=_0x495d3e;var _0x4ae65b=_0x4b0ca7[0x0],_0x199dbd=_0x4b0ca7[0x1];_0x4ae65b==='mask'&&typeof _0x199dbd=='string'&&(_0x527a82[_0x4ae65b]=_0x199dbd[_0xfec2a5(0x3aa)](/url\(#(.*)\)/,_0xfec2a5(0x3c1)[_0xfec2a5(0x18b)](_0x495c47[_0xfec2a5(0x2cf)],')')));});var _0x25a551=_0x495c47['defIds'];return!_0x25a551||_0x25a551[_0x495d3e(0x36f)]===0x0||(_0xe242a7['tag']===_0x495d3e(0x2be)&&_0x527a82[_0x495d3e(0x32b)]&&(_0x527a82[_0x495d3e(0x32b)]=_0x527a82[_0x495d3e(0x32b)]+_0x495c47['idSuffix']),Object[_0x495d3e(0x3d5)](_0x527a82)[_0x495d3e(0x2e1)](function(_0x4c8851){const _0x426647=_0x495d3e;var _0x172ef8=_0x4c8851[0x0],_0x39829c=_0x4c8851[0x1];typeof _0x39829c==_0x426647(0x1df)&&(_0x527a82[_0x172ef8]=_0x39829c[_0x426647(0x3aa)](/url\(#(.*)\)/,_0x426647(0x3c1)[_0x426647(0x18b)](_0x495c47[_0x426647(0x2cf)],')')));})),_0x527a82;}function _0x20dbe6(_0x38020e,_0xb8d6f2){const _0x59828c=_0x2b281a;var _0x314386,_0x4b9707=_0xb8d6f2[_0x59828c(0x38b)];return!_0x4b9707||_0x4b9707[_0x59828c(0x36f)]===0x0?_0x38020e:_0x38020e[_0x59828c(0x26a)]===_0x59828c(0x26e)&&(!((_0x314386=_0x38020e[_0x59828c(0x33c)])===null||_0x314386===void 0x0)&&_0x314386[_0x59828c(0x36f)])?_0x169158(_0x169158({},_0x38020e),{'children':_0x38020e['children'][_0x59828c(0x337)](function(_0x5c6ba2){const _0x1c1e89=_0x59828c;return typeof _0x5c6ba2[_0x1c1e89(0x379)]['id']==_0x1c1e89(0x1df)&&_0x4b9707&&_0x4b9707[_0x1c1e89(0x1f8)](_0x5c6ba2[_0x1c1e89(0x379)]['id'])>-0x1?_0x169158(_0x169158({},_0x5c6ba2),{'attrs':_0x169158(_0x169158({},_0x5c6ba2[_0x1c1e89(0x379)]),{'id':_0x5c6ba2[_0x1c1e89(0x379)]['id']+_0xb8d6f2[_0x1c1e89(0x2cf)]})}):_0x5c6ba2;})}):_0x38020e;}function _0x517ef2(){const _0x1a2399=_0x2b281a;return Math[_0x1a2399(0x257)]()[_0x1a2399(0x334)](0x24)[_0x1a2399(0x1ae)](0x2,0x8);}_0x25a1b2[_0x2b281a(0x3a8)]=_0x2b281a(0x173);var _0x315e17={'tag':_0x2b281a(0x20d),'attrs':{'xmlns':_0x2b281a(0x168),'fill':'none','viewBox':_0x2b281a(0x17e),'width':_0x2b281a(0x393),'height':_0x2b281a(0x393)},'children':[{'tag':'g','attrs':{'clipPath':_0x2b281a(0x2b4)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x2b281a(0x35c),'strokeLinecap':_0x2b281a(0x19e),'strokeLinejoin':_0x2b281a(0x19e),'strokeWidth':1.2}}]},{'tag':_0x2b281a(0x26e),'attrs':{},'children':[{'tag':_0x2b281a(0x23c),'attrs':{'id':_0x2b281a(0x210)},'children':[{'tag':_0x2b281a(0x205),'attrs':{'fill':_0x2b281a(0x180),'d':_0x2b281a(0x350)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x31c2b2=_0xd420d5[_0x2b281a(0x256)](function(_0x532338,_0x18cef3){const _0x13565b=_0x2b281a;return _0xd420d5['createElement'](_0x25a1b2,Object[_0x13565b(0x2ad)]({},_0x532338,{'id':_0x13565b(0x2fe),'ref':_0x18cef3,'icon':_0x315e17}));});_0x31c2b2[_0x2b281a(0x3a8)]=_0x2b281a(0x2bf);var _0x68c711={'tag':'svg','attrs':{'xmlns':_0x2b281a(0x168),'fill':_0x2b281a(0x289),'viewBox':_0x2b281a(0x16f),'width':_0x2b281a(0x393),'height':_0x2b281a(0x393)},'children':[{'tag':'g','attrs':{'clipPath':_0x2b281a(0x16a)},'children':[{'tag':'path','attrs':{'stroke':_0x2b281a(0x2a1),'d':_0x2b281a(0x2bd),'strokeLinecap':_0x2b281a(0x19e),'strokeLinejoin':_0x2b281a(0x19e),'strokeWidth':1.2}}]},{'tag':_0x2b281a(0x26e),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x2b281a(0x205),'attrs':{'fill':_0x2b281a(0x180),'d':_0x2b281a(0x350),'transform':_0x2b281a(0x3ba)}}]}]}],'defIds':[_0x2b281a(0x217)]},_0x3dc04b=_0xd420d5['forwardRef'](function(_0x459828,_0x93a5b1){const _0x44b67f=_0x2b281a;return _0xd420d5[_0x44b67f(0x1fe)](_0x25a1b2,Object[_0x44b67f(0x2ad)]({},_0x459828,{'id':_0x44b67f(0x1d0),'ref':_0x93a5b1,'icon':_0x68c711}));});_0x3dc04b['displayName']='OnLineIcon';function _0x2e1244(_0x5e7f36){const _0x5a8cec=_0x2b281a;switch(_0x5e7f36){case _0x55aa48[_0x5a8cec(0x175)][_0x5a8cec(0x351)]:return'collabStatus.offline';case _0x55aa48[_0x5a8cec(0x175)][_0x5a8cec(0x314)]:return _0x5a8cec(0x3bf);case _0x55aa48[_0x5a8cec(0x175)][_0x5a8cec(0x1a8)]:return _0x5a8cec(0x174);case _0x55aa48['CollaborationStatus'][_0x5a8cec(0x273)]:return'collabStatus.notCollab';case _0x55aa48[_0x5a8cec(0x175)]['AWAITING']:case _0x55aa48[_0x5a8cec(0x175)][_0x5a8cec(0x1f2)]:return _0x5a8cec(0x1cf);case _0x55aa48[_0x5a8cec(0x175)]['SYNCED']:case _0x55aa48[_0x5a8cec(0x175)][_0x5a8cec(0x1c7)]:return'collabStatus.synced';}}function _0x5a1bdc(_0x2d61a4){const _0x436bcb=_0x2b281a,{status$:_0x3330b1}=_0x2d61a4,_0x12be4a=_0x590bc9['useObservable'](_0x3330b1,_0x55aa48[_0x436bcb(0x175)][_0x436bcb(0x273)]),_0x1ac4ae=_0x590bc9['useDependency'](_0x403a48['LocaleService']),_0x345799=_0x590bc9[_0x436bcb(0x2e0)](_0x55aa48[_0x436bcb(0x309)]),_0xe3b3d7=_0x12be4a!==_0x55aa48[_0x436bcb(0x175)]['OFFLINE'],_0x5d09b7=_0x1ac4ae['t'](_0x2e1244(_0x12be4a)),_0x15c1d2=_0xe3b3d7?_0x56a115['jsx'](_0x3dc04b,{}):_0x56a115[_0x436bcb(0x2e4)](_0x31c2b2,{}),_0x124d18=_0xd420d5['useCallback'](()=>{_0xe3b3d7||_0x345799['reconnect']();},[_0xe3b3d7,_0x345799]);function _0x148493(){const _0x228448=_0x436bcb;return _0x56a115[_0x228448(0x2fa)]('div',{'className':'univer-flex\x20univer-items-center','onClick':_0x124d18,'children':[_0x56a115[_0x228448(0x2e4)]('div',{'className':_0x54ee32[_0x228448(0x390)](_0x228448(0x38f),{'univer-text-green-500':_0xe3b3d7,'univer-text-red-500':!_0xe3b3d7}),'children':_0x15c1d2}),_0x56a115[_0x228448(0x2e4)](_0x228448(0x194),{'className':_0x228448(0x336),'children':_0x5d09b7})]});}return _0xe3b3d7?_0x148493():_0x56a115['jsx'](_0x54ee32[_0x436bcb(0x2f4)],{'title':_0x1ac4ae['t'](_0x436bcb(0x3d9)),'children':_0x148493()});}var _0x3981f7=Object['getOwnPropertyDescriptor'],_0x10091f=(_0x4e5120,_0x4db79d,_0x8b9c3d,_0x1e720f)=>{for(var _0x45c6be=_0x1e720f>0x1?void 0x0:_0x1e720f?_0x3981f7(_0x4db79d,_0x8b9c3d):_0x4db79d,_0x226029=_0x4e5120['length']-0x1,_0x38367e;_0x226029>=0x0;_0x226029--)(_0x38367e=_0x4e5120[_0x226029])&&(_0x45c6be=_0x38367e(_0x45c6be)||_0x45c6be);return _0x45c6be;},_0x4d719d=(_0xc9106c,_0x99a4e2)=>(_0x5cca59,_0x36e838)=>_0x99a4e2(_0x5cca59,_0x36e838,_0xc9106c);_0x4d92ba[_0x2b281a(0x375)]=class extends _0x403a48['Disposable']{constructor(_0x297997,_0x594ee5,_0x537731,_0x2d36f1){const _0x35f95f=_0x2b281a;super(),_0x95fa0d(this,_0x35f95f(0x18f),new _0x15c792[(_0x35f95f(0x37f))](_0x55aa48[_0x35f95f(0x175)][_0x35f95f(0x273)])),(this[_0x35f95f(0x2c8)]=_0x297997,this[_0x35f95f(0x24a)]=_0x594ee5,this[_0x35f95f(0x3f7)]=_0x537731,this['_uiPartsService']=_0x2d36f1,this[_0x35f95f(0x3a3)](),this[_0x35f95f(0x386)]());}[_0x2b281a(0x386)](){const _0x4706af=_0x2b281a;this[_0x4706af(0x3f2)](this[_0x4706af(0x2c8)][_0x4706af(0x33b)][_0x4706af(0x28a)](_0x15c792['switchMap'](()=>{const _0x33f444=_0x4706af,_0x2ecbb9=this['_univerInstanceService']['getFocusedUnit']();return _0x2ecbb9?this[_0x33f444(0x3f7)][_0x33f444(0x221)](_0x2ecbb9['getUnitId']()):_0x15c792['of'](null);}),_0x15c792['switchMap'](_0x39c5fd=>_0x39c5fd?_0x39c5fd[_0x4706af(0x316)]:_0x15c792['of'](_0x55aa48['CollaborationStatus']['NOT_COLLAB'])))['subscribe'](_0x458235=>{this['_status$']['next'](_0x458235);}));}[_0x2b281a(0x3a3)](){const _0x1c30ce=_0x2b281a;this[_0x1c30ce(0x3f2)](this['_uiPartsService'][_0x1c30ce(0x394)](_0x590bc9[_0x1c30ce(0x3dc)]['HEADER_MENU'],()=>_0x590bc9[_0x1c30ce(0x2f3)](_0x5513d6({'status$':this['_status$']['asObservable']()}),this[_0x1c30ce(0x24a)])));}},_0x4d92ba[_0x2b281a(0x375)]=_0x10091f([_0x4d719d(0x0,_0x403a48[_0x2b281a(0x360)]),_0x4d719d(0x1,_0x403a48[_0x2b281a(0x19a)](_0x403a48['Injector'])),_0x4d719d(0x2,_0x403a48['Inject'](_0x55aa48[_0x2b281a(0x27d)])),_0x4d719d(0x3,_0x590bc9[_0x2b281a(0x2d0)])],_0x4d92ba[_0x2b281a(0x375)]);function _0x5513d6(_0x14248a){const {status$:_0x2b3b35}=_0x14248a;return function(){const _0x1a63a6=_0x28da;return _0x56a115[_0x1a63a6(0x2e4)](_0x5a1bdc,{'status$':_0x2b3b35});};}var _0x30020f=Object[_0x2b281a(0x354)],_0x3306e8=(_0x4423a2,_0x61ba94,_0x213c1c,_0x1c6736)=>{const _0xfa6742=_0x2b281a;for(var _0x2481b3=_0x1c6736>0x1?void 0x0:_0x1c6736?_0x30020f(_0x61ba94,_0x213c1c):_0x61ba94,_0x3b6f28=_0x4423a2[_0xfa6742(0x36f)]-0x1,_0x50ca75;_0x3b6f28>=0x0;_0x3b6f28--)(_0x50ca75=_0x4423a2[_0x3b6f28])&&(_0x2481b3=_0x50ca75(_0x2481b3)||_0x2481b3);return _0x2481b3;},_0x31b439=(_0x5e7fb9,_0x11b057)=>(_0xb8efd4,_0x55c65c)=>_0x11b057(_0xb8efd4,_0x55c65c,_0x5e7fb9);let _0x2b87af=class extends _0x403a48[_0x2b281a(0x265)]{constructor(_0x50fbc3,_0x394ac8,_0x4a1b5e,_0x183535,_0x2fa12c,_0x1968fa){const _0x5157e5=_0x2b281a;super(),this[_0x5157e5(0x3da)]=_0x50fbc3,this[_0x5157e5(0x216)]=_0x394ac8,this['_collaborationUIEventService']=_0x4a1b5e,this[_0x5157e5(0x280)]=_0x183535,this[_0x5157e5(0x29e)]=_0x2fa12c,this['_localeService']=_0x1968fa,this[_0x5157e5(0x33d)](),this['_initEvent']();}[_0x2b281a(0x33d)](){const _0xc393b3=_0x2b281a;this['disposeWithMe'](this[_0xc393b3(0x3da)][_0xc393b3(0x356)](()=>{const _0x301a83=_0xc393b3;if(this[_0x301a83(0x216)]['saveTaskMap'][_0x301a83(0x255)])return this[_0x301a83(0x238)]['t'](_0x301a83(0x295));}));}[_0x2b281a(0x2a0)](){const _0x2a5a90=_0x2b281a;this[_0x2a5a90(0x3f2)](this[_0x2a5a90(0x1db)][_0x2a5a90(0x3ca)][_0x2a5a90(0x308)](_0x14295d=>{const _0x5cd07d=_0x2a5a90;_0x14295d['id']===_0x55aa48['CollaborationUIEventId'][_0x5cd07d(0x16c)]&&this[_0x5cd07d(0x280)]['show']({'type':_0x54ee32[_0x5cd07d(0x2da)][_0x5cd07d(0x222)],'content':this[_0x5cd07d(0x238)]['t'](_0x5cd07d(0x25f))}),_0x14295d['id']===_0x55aa48['CollaborationUIEventId'][_0x5cd07d(0x271)]&&this[_0x5cd07d(0x280)][_0x5cd07d(0x259)]({'type':_0x54ee32['MessageType']['Warning'],'content':this[_0x5cd07d(0x238)]['t']('collaboration.closeRoom')}),_0x14295d['id']===_0x55aa48[_0x5cd07d(0x362)][_0x5cd07d(0x24c)]&&this[_0x5cd07d(0x29e)][_0x5cd07d(0x259)]({'title':this[_0x5cd07d(0x238)]['t'](_0x5cd07d(0x1e3)),'content':this[_0x5cd07d(0x238)]['t'](_0x5cd07d(0x3c3)),'type':_0x5cd07d(0x2f8),'duration':0x0}),_0x14295d['id']===_0x55aa48['CollaborationUIEventId']['CONFLICT']&&this[_0x5cd07d(0x280)]['show']({'type':_0x54ee32[_0x5cd07d(0x2da)][_0x5cd07d(0x323)],'content':this[_0x5cd07d(0x238)]['t'](_0x5cd07d(0x35e))+'('+_0x14295d[_0x5cd07d(0x1c6)]+')'}),_0x14295d['id']===_0x55aa48[_0x5cd07d(0x362)][_0x5cd07d(0x38c)]&&this[_0x5cd07d(0x280)][_0x5cd07d(0x259)]({'type':_0x54ee32[_0x5cd07d(0x2da)][_0x5cd07d(0x222)],'content':this[_0x5cd07d(0x238)]['t'](_0x14295d[_0x5cd07d(0x1c6)]||'')}),_0x14295d['id']===_0x55aa48[_0x5cd07d(0x362)][_0x5cd07d(0x3d0)]&&this[_0x5cd07d(0x280)][_0x5cd07d(0x259)]({'type':_0x54ee32[_0x5cd07d(0x2da)]['Warning'],'content':this[_0x5cd07d(0x238)]['t'](_0x5cd07d(0x3d1))}),_0x14295d['id']===_0x55aa48[_0x5cd07d(0x362)][_0x5cd07d(0x24f)]&&this[_0x5cd07d(0x280)][_0x5cd07d(0x259)]({'type':_0x54ee32['MessageType']['Error'],'content':this[_0x5cd07d(0x238)]['t'](_0x5cd07d(0x348))}),_0x14295d['id']===_0x55aa48[_0x5cd07d(0x362)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x5cd07d(0x280)][_0x5cd07d(0x259)]({'type':_0x54ee32[_0x5cd07d(0x2da)][_0x5cd07d(0x323)],'content':this[_0x5cd07d(0x238)]['t'](_0x5cd07d(0x231))});}));}};_0x2b87af=_0x3306e8([_0x31b439(0x0,_0x590bc9[_0x2b281a(0x3bb)]),_0x31b439(0x1,_0x55aa48[_0x2b281a(0x15e)]),_0x31b439(0x2,_0x403a48[_0x2b281a(0x19a)](_0x55aa48[_0x2b281a(0x3c5)])),_0x31b439(0x3,_0x590bc9[_0x2b281a(0x2d5)]),_0x31b439(0x4,_0x590bc9[_0x2b281a(0x2d2)]),_0x31b439(0x5,_0x403a48['Inject'](_0x403a48[_0x2b281a(0x3a5)]))],_0x2b87af);const _0x495f23=_0x2b281a(0x301),_0x2cf38b={},_0x117780=_0x403a48[_0x2b281a(0x27b)](_0x2b281a(0x1a6));var _0x1a2b14=Object[_0x2b281a(0x354)],_0x1264ab=(_0x592025,_0x4f3544,_0x21653c,_0x2bbf34)=>{const _0x1bc66f=_0x2b281a;for(var _0x2cd0e0=_0x2bbf34>0x1?void 0x0:_0x2bbf34?_0x1a2b14(_0x4f3544,_0x21653c):_0x4f3544,_0x157b29=_0x592025[_0x1bc66f(0x36f)]-0x1,_0x22c89a;_0x157b29>=0x0;_0x157b29--)(_0x22c89a=_0x592025[_0x157b29])&&(_0x2cd0e0=_0x22c89a(_0x2cd0e0)||_0x2cd0e0);return _0x2cd0e0;},_0x4b4128=(_0x18abe7,_0x485516)=>(_0x501d08,_0x651efd)=>_0x485516(_0x501d08,_0x651efd,_0x18abe7);_0x4d92ba[_0x2b281a(0x399)]=class extends _0x403a48[_0x2b281a(0x3e8)]{constructor(_0x935cb1,_0x2c2842,_0x5263d7,_0x2c31b5,_0xe7adda){const _0xea9ec6=_0x2b281a;super(),this[_0xea9ec6(0x320)]=_0x935cb1,this['_logService']=_0x2c2842,this[_0xea9ec6(0x303)]=_0x5263d7,this[_0xea9ec6(0x26b)]=_0x2c31b5,_0xe7adda?_0xe7adda==null||_0xe7adda[_0xea9ec6(0x296)]()[_0xea9ec6(0x300)](()=>this[_0xea9ec6(0x223)]()):(this[_0xea9ec6(0x187)][_0xea9ec6(0x241)]('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0xea9ec6(0x223)]());}async['_init'](){const _0x5c7f09=_0x2b281a,_0x55d827=this['_urlService']['getParam'](_0x5c7f09(0x177)),_0x27b4b0=this['_urlService']['getParam'](_0x5c7f09(0x1bb)),_0xc78e52=this[_0x5c7f09(0x320)]['getParam']('subunit');if(!_0x55d827||!_0x27b4b0){this[_0x5c7f09(0x187)][_0x5c7f09(0x241)]('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x1c0118=await this[_0x5c7f09(0x26b)][_0x5c7f09(0x2d4)](_0x55d827,Number(_0x27b4b0),_0xc78e52);_0x1c0118&&_0x1c0118 instanceof _0x403a48['Workbook']&&this[_0x5c7f09(0x33e)](_0x1c0118);}async[_0x2b281a(0x33e)](_0x3518ca){const _0x25ac65=_0x2b281a;await this[_0x25ac65(0x225)](_0x3518ca),_0x3518ca[_0x25ac65(0x1d8)][_0x25ac65(0x28a)](_0x15c792[_0x25ac65(0x261)](this[_0x25ac65(0x30b)]))[_0x25ac65(0x308)](_0x1e811f=>{_0x1e811f&&this['_updateURLWithCurrentState'](_0x1e811f);}),this['_urlService'][_0x25ac65(0x1ba)][_0x25ac65(0x28a)](_0x15c792[_0x25ac65(0x261)](this['dispose$']))[_0x25ac65(0x308)](()=>this[_0x25ac65(0x225)](_0x3518ca));}[_0x2b281a(0x342)](_0x2ba871,_0x506d22=!0x1){const _0x426cee=_0x2b281a,_0x2e9474=this[_0x426cee(0x320)]['getParam']('subunit');_0x2ba871[_0x426cee(0x313)]()!==_0x2e9474&&this[_0x426cee(0x320)][_0x426cee(0x232)]('subunit',_0x2ba871[_0x426cee(0x313)](),_0x506d22);}async[_0x2b281a(0x225)](_0x553c27){const _0x9ccf2e=_0x2b281a;var _0x49538e;const _0xb9bf87=this[_0x9ccf2e(0x320)][_0x9ccf2e(0x2a6)](_0x9ccf2e(0x30a));if(!_0xb9bf87||!_0x553c27['getSheetBySheetId'](_0xb9bf87)){const _0x2cd4b9=_0x553c27['getUnhiddenWorksheets']()[0x0],_0x564464=_0x553c27['getSheetBySheetId'](_0x2cd4b9);if(!_0x564464)return;this[_0x9ccf2e(0x342)](_0x564464,!0x0),await this[_0x9ccf2e(0x303)]['executeCommand'](_0x46f729['SetWorksheetActivateCommand']['id'],{'unitId':_0x553c27['getUnitId'](),'subUnitId':_0x2cd4b9});return;}((_0x49538e=_0x553c27[_0x9ccf2e(0x1f9)]())==null?void 0x0:_0x49538e[_0x9ccf2e(0x313)]())!==_0xb9bf87&&await this[_0x9ccf2e(0x303)][_0x9ccf2e(0x385)](_0x46f729[_0x9ccf2e(0x254)]['id'],{'unitId':_0x553c27['getUnitId'](),'subUnitId':_0xb9bf87});}},_0x4d92ba['CollaborationDataLoaderController']=_0x1264ab([_0x4b4128(0x0,_0x117780),_0x4b4128(0x1,_0x403a48['ILogService']),_0x4b4128(0x2,_0x403a48[_0x2b281a(0x2f5)]),_0x4b4128(0x3,_0x403a48['Inject'](_0x55aa48['DataLoaderService'])),_0x4b4128(0x4,_0x403a48[_0x2b281a(0x2fb)](_0xe4a6ff['IRemoteInstanceService']))],_0x4d92ba[_0x2b281a(0x399)]);var _0x10373f=Object[_0x2b281a(0x354)],_0x2badaf=(_0x3460fb,_0x33f137,_0x409541,_0x4edd75)=>{for(var _0x45226e=_0x4edd75>0x1?void 0x0:_0x4edd75?_0x10373f(_0x33f137,_0x409541):_0x33f137,_0x1d9bb9=_0x3460fb['length']-0x1,_0x5264c9;_0x1d9bb9>=0x0;_0x1d9bb9--)(_0x5264c9=_0x3460fb[_0x1d9bb9])&&(_0x45226e=_0x5264c9(_0x45226e)||_0x45226e);return _0x45226e;},_0x5991e4=(_0x45d45d,_0xc875ed)=>(_0x3be56b,_0xd0071d)=>_0xc875ed(_0x3be56b,_0xd0071d,_0x45d45d);let _0xe0048c=class{constructor(_0x20463e,_0x10343c,_0x1d61c1){const _0x330fc9=_0x2b281a;this[_0x330fc9(0x24a)]=_0x20463e,this[_0x330fc9(0x367)]=_0x10343c,this[_0x330fc9(0x1ee)]=_0x1d61c1;}[_0x2b281a(0x19b)](_0x557f0b){const _0x2863a3=_0x2b281a;this[_0x2863a3(0x2eb)](_0x557f0b),this[_0x2863a3(0x339)](_0x557f0b);}[_0x2b281a(0x3e4)](_0x342788){const _0x36bd16=_0x2b281a,{unitID:_0x2ea549}=_0x342788,_0x180099=this[_0x36bd16(0x1ee)]['getRenderById'](_0x2ea549)[_0x36bd16(0x17c)](_0xf283a2['DocIMEInputManagerService']),{redoCache:_0x4c2e89}=_0x180099[_0x36bd16(0x357)]();if(_0x4c2e89['length']===0x0)return _0x342788;let _0x2fc33b=_0x403a48['Tools'][_0x36bd16(0x25b)](_0x342788[_0x36bd16(0x235)][0x0]);for(let _0x478aab=0x0;_0x478aab<_0x4c2e89[_0x36bd16(0x36f)];_0x478aab++){const _0x27c88c={'id':_0x36bd16(0x185),'params':{..._0x4c2e89[_0x478aab]}},_0x3a6401=this[_0x36bd16(0x367)]['transformMutation'](_0x2fc33b,_0x27c88c,!0x1);if(_0x261ba6['isTransformMutationFailure'](_0x3a6401))throw _0x3a6401[_0x36bd16(0x2f8)];_0x2fc33b=_0x3a6401[_0x36bd16(0x2b2)];}return{..._0x403a48[_0x36bd16(0x39c)][_0x36bd16(0x25b)](_0x342788),'mutations':[_0x2fc33b]};}[_0x2b281a(0x2eb)](_0x2064b2){const _0xe3e2a3=_0x2b281a,{unitID:_0x3e05ac}=_0x2064b2,_0x8132ac=this[_0xe3e2a3(0x1ee)][_0xe3e2a3(0x20a)](_0x3e05ac)[_0xe3e2a3(0x17c)](_0xf283a2['DocIMEInputManagerService']),{undoCache:_0x520ebf,redoCache:_0x136c57}=_0x8132ac[_0xe3e2a3(0x357)]();if(_0x520ebf[_0xe3e2a3(0x36f)]===0x0||_0x136c57['length']===0x0)return;const _0x2c1058=[],_0x487671=[];let _0x52d3d6=_0x403a48[_0xe3e2a3(0x39c)][_0xe3e2a3(0x25b)](_0x2064b2[_0xe3e2a3(0x235)][0x0]),_0x2c1e36=_0x403a48[_0xe3e2a3(0x39c)][_0xe3e2a3(0x25b)](_0x2064b2[_0xe3e2a3(0x235)][0x0]);for(let _0x107a54=_0x520ebf[_0xe3e2a3(0x36f)]-0x1;_0x107a54>=0x0;_0x107a54--){const _0x8a6f83={'id':'doc.mutation.rich-text-editing','params':{..._0x520ebf[_0x107a54]}},_0x1b1e0f={'id':'doc.mutation.rich-text-editing','params':{..._0x136c57[_0x107a54]}},_0x2d70d8=this['_transformService'][_0xe3e2a3(0x3dd)](_0x52d3d6,_0x8a6f83,!0x1),_0x508df1=this[_0xe3e2a3(0x367)][_0xe3e2a3(0x3dd)](_0x2c1e36,_0x1b1e0f,!0x1);if(_0x261ba6[_0xe3e2a3(0x369)](_0x2d70d8))throw _0x2d70d8[_0xe3e2a3(0x2f8)];if(_0x261ba6[_0xe3e2a3(0x369)](_0x508df1))throw _0x508df1[_0xe3e2a3(0x2f8)];_0x2c1058['unshift'](_0x2d70d8[_0xe3e2a3(0x253)][_0xe3e2a3(0x3ef)]),_0x487671[_0xe3e2a3(0x3e1)](_0x508df1[_0xe3e2a3(0x253)]['params']),_0x52d3d6=_0x2d70d8['m1Prime'],_0x2c1e36=_0x508df1[_0xe3e2a3(0x2b2)];}_0x8132ac['setUndoRedoMutationParamsCache']({'undoCache':_0x2c1058,'redoCache':_0x487671});}['_transformPreviousActiveRange'](_0x52851e){const _0x3c3a8f=_0x2b281a,{unitID:_0x20df62}=_0x52851e,_0x32ab4d=this['_renderManagerService'][_0x3c3a8f(0x20a)](_0x20df62)[_0x3c3a8f(0x17c)](_0xf283a2[_0x3c3a8f(0x21a)]),_0x261e76=_0x32ab4d['getActiveRange']();if(_0x261e76==null)return;const _0x46ed48=[{'id':_0x3c3a8f(0x185),'params':{'unitId':_0x52851e[_0x3c3a8f(0x1ab)],'actions':null,'textRanges':[_0x261e76]}}],_0x25f3da=this[_0x3c3a8f(0x367)][_0x3c3a8f(0x288)](_0x52851e,_0x46ed48);if(!_0x261ba6['isTransformMutationsWithChangesetSuccess'](_0x25f3da))throw _0x25f3da[_0x3c3a8f(0x2f8)];const _0x2adb63=_0x25f3da[_0x3c3a8f(0x253)][0x0]['params'][_0x3c3a8f(0x3cc)];Array[_0x3c3a8f(0x3e5)](_0x2adb63)&&_0x2adb63[_0x3c3a8f(0x36f)]&&_0x32ab4d['setActiveRange'](_0x2adb63[0x0]);}};_0xe0048c=_0x2badaf([_0x5991e4(0x0,_0x403a48['Inject'](_0x403a48[_0x2b281a(0x267)])),_0x5991e4(0x1,_0x261ba6[_0x2b281a(0x36c)]),_0x5991e4(0x2,_0x1380e3['IRenderManagerService'])],_0xe0048c);var _0x3534b3=Object[_0x2b281a(0x354)],_0x4f1138=(_0x3c3dca,_0x4ccd27,_0x48142c,_0x157473)=>{const _0x3a26c6=_0x2b281a;for(var _0x2eff9a=_0x157473>0x1?void 0x0:_0x157473?_0x3534b3(_0x4ccd27,_0x48142c):_0x4ccd27,_0x468200=_0x3c3dca[_0x3a26c6(0x36f)]-0x1,_0x43671a;_0x468200>=0x0;_0x468200--)(_0x43671a=_0x3c3dca[_0x468200])&&(_0x2eff9a=_0x43671a(_0x2eff9a)||_0x2eff9a);return _0x2eff9a;},_0x3f43ca=(_0x212217,_0x5b98c0)=>(_0xbbb90a,_0xe04edc)=>_0x5b98c0(_0xbbb90a,_0xe04edc,_0x212217);let _0x1d67f9=class{constructor(_0x1fa967,_0x28c85a,_0xa153d9){const _0x4f14b3=_0x2b281a;this['_injector']=_0x1fa967,this[_0x4f14b3(0x367)]=_0x28c85a,this[_0x4f14b3(0x2df)]=_0xa153d9;}[_0x2b281a(0x2c0)](_0xaca491){const _0x2795b0=_0x2b281a;this[_0x2795b0(0x270)](_0xaca491);}['transformRemoteChangeset'](_0x39b026){const _0x362668=_0x2b281a,{unitID:_0x31d3f6}=_0x39b026,{collaboration:_0x2999ff}=this[_0x362668(0x2df)][_0x362668(0x170)](_0x31d3f6);if(_0x2999ff[_0x362668(0x36f)]===0x0)return _0x39b026;let _0x41a5f0=_0x403a48[_0x362668(0x39c)][_0x362668(0x25b)](_0x39b026[_0x362668(0x235)][0x0]);for(let _0x194251=0x0;_0x194251<_0x2999ff[_0x362668(0x36f)];_0x194251++){const _0x46fb5d={'id':_0x362668(0x185),'params':{'unitId':_0x2999ff[_0x194251][_0x362668(0x3b0)],..._0x2999ff[_0x194251][_0x362668(0x3d3)]}},_0x2b6dbe=this[_0x362668(0x367)][_0x362668(0x3dd)](_0x41a5f0,_0x46fb5d,!0x1);if(_0x261ba6[_0x362668(0x369)](_0x2b6dbe))throw _0x2b6dbe['error'];_0x41a5f0=_0x2b6dbe[_0x362668(0x2b2)];}return{..._0x403a48[_0x362668(0x39c)][_0x362668(0x25b)](_0x39b026),'mutations':[_0x41a5f0]};}[_0x2b281a(0x270)](_0xb7b218){const _0x49259b=_0x2b281a,{unitID:_0x46e9d4}=_0xb7b218,{history:_0x596ba1,collaboration:_0x59f12f}=this[_0x49259b(0x2df)][_0x49259b(0x170)](_0x46e9d4);if(_0x596ba1[_0x49259b(0x36f)]===0x0&&_0x59f12f['length']===0x0)return;const _0x3b69a9=[],_0x1205b3=[];let _0x4d4843=_0x403a48['Tools']['deepClone'](_0xb7b218[_0x49259b(0x235)][0x0]),_0x55cfa6=_0x403a48[_0x49259b(0x39c)][_0x49259b(0x25b)](_0xb7b218[_0x49259b(0x235)][0x0]);for(let _0x5b080d=_0x596ba1[_0x49259b(0x36f)]-0x1;_0x5b080d>=0x0;_0x5b080d--){const _0x3da95b={'id':_0x49259b(0x185),'params':{'unitId':_0x596ba1[_0x5b080d]['unitId'],..._0x596ba1[_0x5b080d][_0x49259b(0x2c1)]}},_0x1af263={'id':_0x49259b(0x185),'params':{'unitId':_0x596ba1[_0x5b080d][_0x49259b(0x3b0)],..._0x596ba1[_0x5b080d][_0x49259b(0x3d3)]}},_0x240910=this['_transformService'][_0x49259b(0x3dd)](_0x4d4843,_0x3da95b,!0x1),_0x244318=this[_0x49259b(0x367)][_0x49259b(0x3dd)](_0x55cfa6,_0x1af263,!0x1);if(_0x261ba6[_0x49259b(0x369)](_0x240910))throw _0x240910[_0x49259b(0x2f8)];if(_0x261ba6[_0x49259b(0x369)](_0x244318))throw _0x244318['error'];_0x3b69a9['unshift']({..._0x596ba1[_0x5b080d],'undoState':_0x240910[_0x49259b(0x253)][_0x49259b(0x3ef)],'redoState':_0x244318[_0x49259b(0x253)][_0x49259b(0x3ef)]}),_0x4d4843=_0x240910[_0x49259b(0x2b2)],_0x55cfa6=_0x244318[_0x49259b(0x2b2)];}_0x4d4843=_0x403a48[_0x49259b(0x39c)][_0x49259b(0x25b)](_0xb7b218['mutations'][0x0]),_0x55cfa6=_0x403a48[_0x49259b(0x39c)]['deepClone'](_0xb7b218[_0x49259b(0x235)][0x0]);for(let _0x2fa3ac=_0x59f12f['length']-0x1;_0x2fa3ac>=0x0;_0x2fa3ac--){const _0x308ce8={'id':_0x49259b(0x185),'params':{'unitId':_0x59f12f[_0x2fa3ac][_0x49259b(0x3b0)],..._0x59f12f[_0x2fa3ac][_0x49259b(0x2c1)]}},_0x5b0dbb={'id':_0x49259b(0x185),'params':{'unitId':_0x59f12f[_0x2fa3ac][_0x49259b(0x3b0)],..._0x59f12f[_0x2fa3ac][_0x49259b(0x3d3)]}},_0x5bab7f=this[_0x49259b(0x367)][_0x49259b(0x3dd)](_0x4d4843,_0x308ce8,!0x1),_0x517808=this['_transformService'][_0x49259b(0x3dd)](_0x55cfa6,_0x5b0dbb,!0x1);if(_0x261ba6[_0x49259b(0x369)](_0x5bab7f))throw _0x5bab7f[_0x49259b(0x2f8)];if(_0x261ba6['isTransformMutationFailure'](_0x517808))throw _0x517808[_0x49259b(0x2f8)];_0x1205b3[_0x49259b(0x3e1)]({..._0x59f12f[_0x2fa3ac],'undoState':_0x5bab7f['m2Prime'][_0x49259b(0x3ef)],'redoState':_0x517808['m2Prime'][_0x49259b(0x3ef)]}),_0x4d4843=_0x5bab7f[_0x49259b(0x2b2)],_0x55cfa6=_0x517808[_0x49259b(0x2b2)];}this['_docStateChangeManagerService'][_0x49259b(0x365)](_0x46e9d4,{'history':_0x3b69a9,'collaboration':_0x1205b3});}};_0x1d67f9=_0x4f1138([_0x3f43ca(0x0,_0x403a48['Inject'](_0x403a48[_0x2b281a(0x267)])),_0x3f43ca(0x1,_0x261ba6[_0x2b281a(0x36c)]),_0x3f43ca(0x2,_0x403a48[_0x2b281a(0x19a)](_0xf283a2[_0x2b281a(0x19c)]))],_0x1d67f9);var _0x49fa55=Object[_0x2b281a(0x354)],_0x4724ab=(_0x1c4f69,_0x364de9,_0xb13cc7,_0x7e93ee)=>{const _0x47d432=_0x2b281a;for(var _0x1bf43c=_0x7e93ee>0x1?void 0x0:_0x7e93ee?_0x49fa55(_0x364de9,_0xb13cc7):_0x364de9,_0x2450c6=_0x1c4f69[_0x47d432(0x36f)]-0x1,_0xb6861a;_0x2450c6>=0x0;_0x2450c6--)(_0xb6861a=_0x1c4f69[_0x2450c6])&&(_0x1bf43c=_0xb6861a(_0x1bf43c)||_0x1bf43c);return _0x1bf43c;},_0x272367=(_0x1d6b0b,_0xd8de6a)=>(_0x9fc5f4,_0x160053)=>_0xd8de6a(_0x9fc5f4,_0x160053,_0x1d6b0b);let _0x28437c=class{constructor(_0x4e2363,_0x3b5147){this['_injector']=_0x4e2363,this['_transformService']=_0x3b5147;}[_0x2b281a(0x1d5)](_0x2618ea){const _0x4a0ddc=_0x2b281a;var _0x968d26;const _0x4f21e6=this[_0x4a0ddc(0x24a)][_0x4a0ddc(0x3c2)](_0x36b8d7[_0x4a0ddc(0x396)]),_0x21316d=(_0x968d26=_0x4f21e6[_0x4a0ddc(0x352)]())!=null?_0x968d26:[];if(_0x21316d[_0x4a0ddc(0x36f)]===0x0)return;const _0x573a42=_0x2618ea[_0x4a0ddc(0x1ab)],_0x4d8ba5=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x573a42,'actions':null,'textRanges':_0x21316d}}],_0x161845=this[_0x4a0ddc(0x367)][_0x4a0ddc(0x288)](_0x2618ea,_0x4d8ba5);if(!_0x261ba6['isTransformMutationsWithChangesetSuccess'](_0x161845))throw _0x161845[_0x4a0ddc(0x2f8)];const _0x13a18e=_0x161845['m2Prime'][0x0][_0x4a0ddc(0x3ef)][_0x4a0ddc(0x3cc)];Array['isArray'](_0x13a18e)&&_0x13a18e[_0x4a0ddc(0x36f)]&&_0x4f21e6['replaceDocRanges'](_0x13a18e,{'unitId':_0x573a42,'subUnitId':_0x573a42},!0x1);}};_0x28437c=_0x4724ab([_0x272367(0x0,_0x403a48[_0x2b281a(0x19a)](_0x403a48[_0x2b281a(0x267)])),_0x272367(0x1,_0x261ba6[_0x2b281a(0x36c)])],_0x28437c);var _0x4b065b=Object[_0x2b281a(0x354)],_0x3d57ac=(_0x101146,_0x176291,_0x31eeea,_0x3008d5)=>{for(var _0x548b52=_0x3008d5>0x1?void 0x0:_0x3008d5?_0x4b065b(_0x176291,_0x31eeea):_0x176291,_0x114964=_0x101146['length']-0x1,_0x22c2dd;_0x114964>=0x0;_0x114964--)(_0x22c2dd=_0x101146[_0x114964])&&(_0x548b52=_0x22c2dd(_0x548b52)||_0x548b52);return _0x548b52;},_0x15d5d4=(_0x261b45,_0x3c155a)=>(_0x414037,_0x44a9ae)=>_0x3c155a(_0x414037,_0x44a9ae,_0x261b45);let _0x490472=class extends _0x403a48[_0x2b281a(0x265)]{constructor(_0x2dc69c,_0x2c1174,_0x4af384,_0x192c3c,_0x25a81e,_0x38b44c,_0x22ad81,_0xbfec44){const _0x1c18ca=_0x2b281a;super(),_0x95fa0d(this,_0x1c18ca(0x18f),new _0x15c792[(_0x1c18ca(0x37f))](_0x55aa48['CollaborationStatus']['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x2dc69c,this[_0x1c18ca(0x3f7)]=_0x2c1174,this[_0x1c18ca(0x321)]=_0x4af384,this['_docTransformStateCacheService']=_0x192c3c,this[_0x1c18ca(0x162)]=_0x25a81e,this[_0x1c18ca(0x344)]=_0x38b44c,this[_0x1c18ca(0x280)]=_0x22ad81,this[_0x1c18ca(0x238)]=_0xbfec44,this[_0x1c18ca(0x1d1)]());}[_0x2b281a(0x1d1)](){const _0x26168b=_0x2b281a;this[_0x26168b(0x3f2)](this[_0x26168b(0x3f7)][_0x26168b(0x368)][_0x26168b(0x308)](_0x113873=>{const _0x566900=_0x26168b,_0x7c0ab4=this['_docStateChangeManagerService'][_0x566900(0x211)][_0x566900(0x308)](_0xf71706=>{const _0x59159e=_0x566900;if(_0xf71706==null)return;const {unitId:_0x3bc8a6,redoState:_0x49d6bb,commandId:_0x52ca69}=_0xf71706;if(_0x3bc8a6!==_0x113873[_0x59159e(0x1ab)])return;const _0x480031={'id':_0x52ca69,'type':_0x403a48[_0x59159e(0x363)]['MUTATION'],'params':{'unitId':_0x3bc8a6,'actions':_0x49d6bb[_0x59159e(0x1e8)],'textRanges':null}};_0x113873['onLocalMutation'](_0x480031);});if(_0x113873[_0x566900(0x3f2)](_0x7c0ab4),_0x113873 instanceof _0x55aa48[_0x566900(0x398)]){const _0x532a14={'onTransformIME':_0xc5920=>this['_docTransformIMECacheService']['transformIMECache'](_0xc5920),'onTransformState':_0x1eef28=>this[_0x566900(0x3d8)]['transformStateCache'](_0x1eef28),'onTransformSelections':_0x56b8de=>this[_0x566900(0x162)]['transformSelections'](_0x56b8de),'onSyncEditingCollabCursor':_0x41cb29=>this[_0x566900(0x344)]['syncEditingCollabCursor'](_0x41cb29),'onTransformRemoteChangesetByIMECache':_0xdc49b1=>this['_docTransformIMECacheService'][_0x566900(0x3e4)](_0xdc49b1),'onTransformRemoteChangesetByStateCache':_0x3d09f8=>this[_0x566900(0x3d8)][_0x566900(0x3e4)](_0x3d09f8)};_0x113873[_0x566900(0x3eb)](_0x532a14);}}));}};_0x490472=_0x3d57ac([_0x15d5d4(0x0,_0x403a48[_0x2b281a(0x19a)](_0xf283a2[_0x2b281a(0x19c)])),_0x15d5d4(0x1,_0x403a48[_0x2b281a(0x19a)](_0x55aa48[_0x2b281a(0x27d)])),_0x15d5d4(0x2,_0x403a48[_0x2b281a(0x19a)](_0xe0048c)),_0x15d5d4(0x3,_0x403a48[_0x2b281a(0x19a)](_0x1d67f9)),_0x15d5d4(0x4,_0x403a48['Inject'](_0x28437c)),_0x15d5d4(0x5,_0x403a48[_0x2b281a(0x19a)](_0x225ea0)),_0x15d5d4(0x6,_0x590bc9[_0x2b281a(0x2d5)]),_0x15d5d4(0x7,_0x403a48['Inject'](_0x403a48[_0x2b281a(0x3a5)]))],_0x490472);var _0x207d41=Object[_0x2b281a(0x354)],_0x4081e7=(_0x46e72e,_0x575004,_0x3ba891,_0x1a7607)=>{for(var _0x4a8fe2=_0x1a7607>0x1?void 0x0:_0x1a7607?_0x207d41(_0x575004,_0x3ba891):_0x575004,_0x4293cf=_0x46e72e['length']-0x1,_0x29f545;_0x4293cf>=0x0;_0x4293cf--)(_0x29f545=_0x46e72e[_0x4293cf])&&(_0x4a8fe2=_0x29f545(_0x4a8fe2)||_0x4a8fe2);return _0x4a8fe2;},_0x2459f1=(_0x101007,_0x2efc2e)=>(_0x11f0a9,_0x6137ae)=>_0x2efc2e(_0x11f0a9,_0x6137ae,_0x101007);let _0x22c197=class extends _0x403a48['Disposable']{constructor(_0x4c8bb2,_0x59673f,_0x14e60c){const _0x32a34a=_0x2b281a;super(),_0x95fa0d(this,'_cachedData',new Map()),_0x95fa0d(this,'_saveTaskMap',new Map()),_0x95fa0d(this,_0x32a34a(0x1bc),!0x1),(this[_0x32a34a(0x30d)]=_0x4c8bb2,this[_0x32a34a(0x1d2)]=_0x59673f,this['_revisionService']=_0x14e60c);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x2b281a(0x1e9)](){this['_disabled']=!0x1;}get[_0x2b281a(0x3a7)](){const _0x194c12=_0x2b281a;return this[_0x194c12(0x3db)];}['dispose'](){const _0x12874a=_0x2b281a;this['exhaustSavingTask']()[_0x12874a(0x300)](()=>super[_0x12874a(0x322)]());}async['loadOfflineData'](_0x46071d){const _0x43b62e=_0x2b281a;return this['_disabled']?null:this['_localStorageService'][_0x43b62e(0x2f1)](_0x55aa48[_0x43b62e(0x3bc)](_0x46071d));}async[_0x2b281a(0x1cc)](_0x4e3345,_0x3bcad5){const _0x3b0f61=_0x2b281a;return!!this[_0x3b0f61(0x1d2)][_0x3b0f61(0x19f)](_0x4e3345,_0x3bcad5);}[_0x2b281a(0x291)](_0x404cc1,_0x12e45b,_0x171519,_0x72c76e){const _0x3bc368=_0x2b281a,_0x3c6e1e=this[_0x3bc368(0x361)]['getCurrentRevOfUnit'](_0x404cc1);this['_cachedData'][_0x3bc368(0x25e)](_0x404cc1,{'unitID':_0x404cc1,'type':_0x12e45b,'awaitingChangeset':_0x171519,'mutations':_0x72c76e,'rev':_0x3c6e1e}),this[_0x3bc368(0x3db)][_0x3bc368(0x1c5)](_0x404cc1)||this[_0x3bc368(0x318)](_0x404cc1);}[_0x2b281a(0x318)](_0xc01d3a){const _0x5f18cf=_0x2b281a,_0xe5750d=this['_getSaveTimeout']();_0xe5750d===0x0?this['_saveCache'](_0xc01d3a):this[_0x5f18cf(0x3db)][_0x5f18cf(0x25e)](_0xc01d3a,setTimeout(()=>this[_0x5f18cf(0x1d6)](_0xc01d3a),_0xe5750d));}['_getSaveTimeout'](){const _0x4ce37a=_0x2b281a;var _0xb8bb44;return(_0xb8bb44=this[_0x4ce37a(0x30d)][_0x4ce37a(0x389)](_0x55aa48[_0x4ce37a(0x17f)]))!=null?_0xb8bb44:_0x55aa48[_0x4ce37a(0x3b8)];}[_0x2b281a(0x1d6)](_0x523547){const _0x5c0ec3=_0x2b281a,_0x4a059c=this['_saveTaskMap'][_0x5c0ec3(0x3c2)](_0x523547);return _0x4a059c!==void 0x0&&window[_0x5c0ec3(0x3ea)](_0x4a059c),this['_localStorageService'][_0x5c0ec3(0x19f)](_0x55aa48[_0x5c0ec3(0x3bc)](_0x523547),this['_cachedData'][_0x5c0ec3(0x3c2)](_0x523547))[_0x5c0ec3(0x300)](()=>this[_0x5c0ec3(0x3db)][_0x5c0ec3(0x3cb)](_0x523547));}async[_0x2b281a(0x31e)](){const _0x19691b=_0x2b281a,_0x2e3ed6=[];this[_0x19691b(0x3db)][_0x19691b(0x2e1)]((_0x3aa7cb,_0x3e7911)=>{const _0x10e891=_0x19691b;window[_0x10e891(0x3ea)](_0x3aa7cb),_0x2e3ed6['push'](this['_saveCache'](_0x3e7911)[_0x10e891(0x300)](()=>{const _0x4c6c97=_0x10e891;this[_0x4c6c97(0x3db)][_0x4c6c97(0x3cb)](_0x3e7911);}));}),await Promise[_0x19691b(0x31f)](_0x2e3ed6);}};_0x22c197=_0x4081e7([_0x2459f1(0x0,_0x403a48[_0x2b281a(0x184)]),_0x2459f1(0x1,_0x403a48['ILocalStorageService']),_0x2459f1(0x2,_0x403a48[_0x2b281a(0x19a)](_0x261ba6[_0x2b281a(0x3a4)]))],_0x22c197);class _0x2c2c45 extends _0x403a48[_0x2b281a(0x3e8)]{constructor(){const _0x39a49d=_0x2b281a;super(),_0x95fa0d(this,_0x39a49d(0x1ba)),this[_0x39a49d(0x1ba)]=_0x15c792[_0x39a49d(0x297)](window,_0x39a49d(0x373))[_0x39a49d(0x28a)](_0x15c792[_0x39a49d(0x261)](this[_0x39a49d(0x30b)]),_0x15c792[_0x39a49d(0x3b5)](0x1),_0x15c792['mapTo'](void 0x0));}[_0x2b281a(0x232)](_0x1efd9e,_0x25aeee,_0x318ccf=!0x1){const _0x4f6b12=_0x2b281a,_0x4cb7d0=new URL(window[_0x4f6b12(0x2c5)]['href']);_0x4cb7d0[_0x4f6b12(0x2f6)][_0x4f6b12(0x25e)](_0x1efd9e,_0x25aeee),_0x318ccf?window[_0x4f6b12(0x392)]['replaceState']('','',_0x4cb7d0['toString']()):window[_0x4f6b12(0x392)]['pushState']('','',_0x4cb7d0['toString']());}[_0x2b281a(0x15a)](_0x47ac43,_0x5ace9a=!0x1){const _0x35b085=_0x2b281a,_0x36071d=new URL(window[_0x35b085(0x2c5)][_0x35b085(0x202)]);_0x36071d['searchParams'][_0x35b085(0x3cb)](_0x47ac43),_0x5ace9a?window[_0x35b085(0x392)]['replaceState']('','',_0x36071d[_0x35b085(0x334)]()):window[_0x35b085(0x392)][_0x35b085(0x2c7)]('','',_0x36071d[_0x35b085(0x334)]());}['getParam'](_0xedb1ee){const _0x3049b6=_0x2b281a;var _0x136660;return(_0x136660=new URL(window[_0x3049b6(0x2c5)][_0x3049b6(0x202)])['searchParams'][_0x3049b6(0x3c2)](_0xedb1ee))!=null?_0x136660:void 0x0;}}var _0x5e2001=Object[_0x2b281a(0x1ad)],_0x58e2bd=Object[_0x2b281a(0x354)],_0x2be675=(_0x494edc,_0x5c5ddc,_0x446e33)=>_0x5c5ddc in _0x494edc?_0x5e2001(_0x494edc,_0x5c5ddc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x446e33}):_0x494edc[_0x5c5ddc]=_0x446e33,_0x4759f5=(_0x5b7b52,_0x590efa,_0x3582da,_0x51f930)=>{const _0x47199a=_0x2b281a;for(var _0x3bfbdd=_0x51f930>0x1?void 0x0:_0x51f930?_0x58e2bd(_0x590efa,_0x3582da):_0x590efa,_0x3283f4=_0x5b7b52[_0x47199a(0x36f)]-0x1,_0x1ad245;_0x3283f4>=0x0;_0x3283f4--)(_0x1ad245=_0x5b7b52[_0x3283f4])&&(_0x3bfbdd=_0x1ad245(_0x3bfbdd)||_0x3bfbdd);return _0x3bfbdd;},_0x25b1dc=(_0x29bebc,_0x4e8071)=>(_0x38889b,_0x4c46ff)=>_0x4e8071(_0x38889b,_0x4c46ff,_0x29bebc),_0x3fa94d=(_0x152fa8,_0x475b42,_0x29300f)=>_0x2be675(_0x152fa8,_0x475b42+'',_0x29300f);const _0x42dcff=_0x2b281a(0x2c2);_0x4d92ba['UniverCollaborationClientUIPlugin']=class extends _0x403a48[_0x2b281a(0x37d)]{constructor(_0x3db9da=_0x2cf38b,_0x353636,_0x52b85e,_0x118538){const _0x1305c0=_0x2b281a;super(),this[_0x1305c0(0x1e1)]=_0x3db9da,this[_0x1305c0(0x1ee)]=_0x353636,this[_0x1305c0(0x24a)]=_0x52b85e,this[_0x1305c0(0x30d)]=_0x118538;const {..._0x1a69b1}=_0x403a48['merge']({},_0x2cf38b,this[_0x1305c0(0x1e1)]);this[_0x1305c0(0x30d)][_0x1305c0(0x3ce)](_0x495f23,_0x1a69b1);}[_0x2b281a(0x371)](){const _0x1ff7fe=_0x2b281a;this[_0x1ff7fe(0x39b)](),this[_0x1ff7fe(0x247)]();}[_0x2b281a(0x21b)](){const _0x2e39ef=_0x2b281a;this[_0x2e39ef(0x34c)]();}['_registerDependencies'](){const _0x26dc2f=_0x2b281a;var _0x4b2c61;const _0x352089=[[_0x39e635],[_0x28437c],[_0xe0048c],[_0x1d67f9],[_0x225ea0],[_0x117780,{'useClass':_0x2c2c45}],[_0x160af6[_0x26dc2f(0x1b6)],{'useClass':_0x160af6[_0x26dc2f(0x1f4)]}],[_0x55aa48['ILocalCacheService'],{'useClass':_0x22c197}],[_0x4d92ba[_0x26dc2f(0x375)]],[_0x490472],[_0x2b87af],[_0x896780],[_0x5aa976],[_0x4d92ba[_0x26dc2f(0x399)]]];_0x403a48['registerDependencies'](this[_0x26dc2f(0x24a)],_0x403a48[_0x26dc2f(0x3b1)](_0x352089,(_0x4b2c61=this['_config'])==null?void 0x0:_0x4b2c61[_0x26dc2f(0x1a9)]));}[_0x2b281a(0x34c)](){const _0x30d3d1=_0x2b281a;this[_0x30d3d1(0x3f2)](this[_0x30d3d1(0x1ee)][_0x30d3d1(0x3a9)](_0x403a48[_0x30d3d1(0x28f)]['UNIVER_DOC'],[_0x1c18e5])),this[_0x30d3d1(0x3f2)](this[_0x30d3d1(0x1ee)][_0x30d3d1(0x3a9)](_0x403a48['UniverInstanceType'][_0x30d3d1(0x169)],[_0x5c681f]));}[_0x2b281a(0x247)](){const _0x5537ba=_0x2b281a;_0x403a48['touchDependencies'](this[_0x5537ba(0x24a)],[[_0x896780],[_0x4d92ba['DesktopCollaborationStatusDisplayController']],[_0x490472],[_0x2b87af],[_0x4d92ba[_0x5537ba(0x399)]]]);}},_0x3fa94d(_0x4d92ba[_0x2b281a(0x1bf)],'pluginName',_0x42dcff),_0x4d92ba[_0x2b281a(0x1bf)]=_0x4759f5([_0x403a48[_0x2b281a(0x269)](_0x55aa48['UniverCollaborationClientPlugin']),_0x25b1dc(0x1,_0x1380e3['IRenderManagerService']),_0x25b1dc(0x2,_0x403a48['Inject'](_0x403a48['Injector'])),_0x25b1dc(0x3,_0x403a48[_0x2b281a(0x184)])],_0x4d92ba['UniverCollaborationClientUIPlugin']);var _0x1866d6=Object[_0x2b281a(0x354)],_0x28f053=(_0x4965e5,_0x376bbc,_0x29b2a2,_0x5be868)=>{const _0x59940c=_0x2b281a;for(var _0x504f30=_0x5be868>0x1?void 0x0:_0x5be868?_0x1866d6(_0x376bbc,_0x29b2a2):_0x376bbc,_0x4f4629=_0x4965e5[_0x59940c(0x36f)]-0x1,_0x3f6b6e;_0x4f4629>=0x0;_0x4f4629--)(_0x3f6b6e=_0x4965e5[_0x4f4629])&&(_0x504f30=_0x3f6b6e(_0x504f30)||_0x504f30);return _0x504f30;},_0x299072=(_0x219a8e,_0x5a70bd)=>(_0x1cd867,_0x183830)=>_0x5a70bd(_0x1cd867,_0x183830,_0x219a8e);_0x4d92ba[_0x2b281a(0x1d4)]=class extends _0x55aa48['CollaborationSocketService']{constructor(_0x13db94,_0xf67d00,_0x5be832,_0x366278,_0x5687ef){super(_0x13db94,_0xf67d00,_0x5be832,_0x366278,_0x5687ef);}async[_0x2b281a(0x376)](_0x42fdae){const _0x12bf32=_0x2b281a,_0x13bffe=await this[_0x12bf32(0x3d4)](),_0x47d218=this[_0x12bf32(0x2e6)](_0x42fdae,_0x13bffe);return this[_0x12bf32(0x3cf)](_0x47d218);}['_createSocketURL'](_0xc3b1ec,_0x529c1b){const _0x301fec=_0x2b281a,_0x483cd2=typeof window>'u'?new URL(_0xc3b1ec):new URL(_0xc3b1ec,window[_0x301fec(0x2c5)][_0x301fec(0x245)]);_0x483cd2[_0x301fec(0x2f6)][_0x301fec(0x25e)](_0x301fec(0x2b8),_0x529c1b);const _0x497c2d=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x301fec(0x2ba)]);return _0x497c2d['get']('runId')&&_0x483cd2[_0x301fec(0x2f6)]['set'](_0x301fec(0x15d),_0x497c2d[_0x301fec(0x3c2)](_0x301fec(0x15d))),_0x483cd2[_0x301fec(0x334)]();}async[_0x2b281a(0x3d4)](){const _0x1b23fb=_0x2b281a;var _0x23151f,_0x5a572f,_0x5b916f;const _0x14c403=this[_0x1b23fb(0x30d)][_0x1b23fb(0x389)](_0x55aa48[_0x1b23fb(0x1fa)]),_0x1a9f10=(_0x23151f=_0x14c403==null?void 0x0:_0x14c403[_0x1b23fb(0x27f)])!=null?_0x23151f:_0x55aa48[_0x1b23fb(0x315)];return(_0x5b916f=(_0x5a572f=(await this[_0x1b23fb(0x3a0)][_0x1b23fb(0x3c2)](_0x1a9f10,{'headers':{'Content-Type':_0x1b23fb(0x346)}}))[_0x1b23fb(0x2b9)])==null?void 0x0:_0x5a572f[_0x1b23fb(0x16e)])!=null?_0x5b916f:'';}},_0x4d92ba[_0x2b281a(0x1d4)]=_0x28f053([_0x299072(0x0,_0x403a48[_0x2b281a(0x19a)](_0x403a48['Injector'])),_0x299072(0x1,_0x403a48[_0x2b281a(0x19a)](_0x160af6[_0x2b281a(0x1b4)])),_0x299072(0x2,_0x403a48[_0x2b281a(0x184)]),_0x299072(0x3,_0x403a48[_0x2b281a(0x2cb)]),_0x299072(0x4,_0x261ba6[_0x2b281a(0x36d)])],_0x4d92ba[_0x2b281a(0x1d4)]);const _0x14fc36=0x7530,_0x41efc4=_0x2b281a(0x1c4);class _0x117f86 extends _0x403a48['Disposable']{constructor(){const _0x1235b3=_0x2b281a;super(),_0x95fa0d(this,_0x1235b3(0x21d),_0x403a48['generateRandomId']()),_0x95fa0d(this,_0x1235b3(0x3ed),new Set()),_0x95fa0d(this,_0x1235b3(0x2a8),new Map()),_0x95fa0d(this,_0x1235b3(0x2bc),null),_0x95fa0d(this,_0x1235b3(0x20e),new Map()),_0x95fa0d(this,_0x1235b3(0x2c3),new Map()),this[_0x1235b3(0x223)]();}['dispose'](){const _0x2e3c1f=_0x2b281a;super[_0x2e3c1f(0x322)](),this[_0x2e3c1f(0x20e)][_0x2e3c1f(0x2e1)]((_0x594fe0,_0x3d8bc0)=>this[_0x2e3c1f(0x3a1)](_0x3d8bc0)),this[_0x2e3c1f(0x2bc)]&&window[_0x2e3c1f(0x23f)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x104ec3){const _0x5703d5=_0x2b281a;return this[_0x5703d5(0x1e7)](_0x104ec3)[_0x5703d5(0x28a)](_0x15c792[_0x5703d5(0x21e)]());}[_0x2b281a(0x388)](_0x221719){const _0x234685=_0x2b281a;this[_0x234685(0x3ed)][_0x234685(0x255)]===0x0&&this[_0x234685(0x2dc)](),this[_0x234685(0x3ed)]['add'](_0x221719),this['_send']({'type':0x0,'memberID':this[_0x234685(0x21d)],'unitIDs':[_0x221719],'isForwarded':!0x1});}[_0x2b281a(0x292)](_0x102ed8){const _0x3b33da=_0x2b281a;this[_0x3b33da(0x3ed)][_0x3b33da(0x3cb)](_0x102ed8),this[_0x3b33da(0x3ed)][_0x3b33da(0x255)]===0x0&&this['_heartbeatTimer']&&window[_0x3b33da(0x23f)](this[_0x3b33da(0x2bc)]);}[_0x2b281a(0x223)](){const _0x5bd1ea=_0x2b281a;this[_0x5bd1ea(0x3f2)](_0x403a48[_0x5bd1ea(0x3a2)](_0x15c792[_0x5bd1ea(0x297)](window,_0x5bd1ea(0x30e))['subscribe'](_0x33ea0c=>{const _0x297be5=_0x5bd1ea;if(_0x33ea0c[_0x297be5(0x3e7)]!==_0x41efc4||!_0x33ea0c['newValue'])return;const _0x5141f0=JSON[_0x297be5(0x3b2)](_0x33ea0c[_0x297be5(0x2ac)]);this[_0x297be5(0x3f3)](_0x5141f0);}))),window[_0x5bd1ea(0x3f1)](_0x5bd1ea(0x3c6),()=>this['_send']({'type':0x1,'memberID':this[_0x5bd1ea(0x21d)],'unitIDs':Array['from'](this[_0x5bd1ea(0x3ed)])}));}['_handleEvent'](_0x1484e8){const _0x36d193=_0x2b281a;switch(_0x1484e8[_0x36d193(0x1bb)]){case 0x0:this[_0x36d193(0x3de)](_0x1484e8);break;case 0x1:this[_0x36d193(0x2e7)](_0x1484e8);break;case 0x2:this['_handleHeartbeatEvent'](_0x1484e8);break;}}[_0x2b281a(0x3de)](_0xe24f30){const _0x44cb26=_0x2b281a,{unitIDs:_0x5e33c8,memberID:_0x3ad1cd,isForwarded:_0x51e9d0}=_0xe24f30;_0x5e33c8['forEach'](_0x1d0909=>{const _0x39f3d2=_0x28da;if(!_0x51e9d0&&this[_0x39f3d2(0x2a8)][_0x39f3d2(0x1c5)](_0x1d0909)&&this[_0x39f3d2(0x1e7)](_0x1d0909)[_0x39f3d2(0x1ac)](_0x55aa48['UnitStatus'][_0x39f3d2(0x397)]),!this[_0x39f3d2(0x2a8)][_0x39f3d2(0x1c5)](_0x1d0909)||!this['_unitOnClients'][_0x39f3d2(0x3c2)](_0x1d0909)['has'](_0x3ad1cd)){const _0x4e9428=this[_0x39f3d2(0x2a8)][_0x39f3d2(0x3c2)](_0x1d0909)||new Set();_0x4e9428[_0x39f3d2(0x1b3)](_0x3ad1cd),this['_unitOnClients'][_0x39f3d2(0x25e)](_0x1d0909,_0x4e9428),this[_0x39f3d2(0x252)](_0x3ad1cd);}}),_0x51e9d0||this[_0x44cb26(0x34b)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x2b281a(0x252)](_0x38c070){const _0x5857d4=_0x2b281a;this[_0x5857d4(0x3a1)](_0x38c070);const _0x4a22ab=window[_0x5857d4(0x3ec)](()=>{const _0x204b44=_0x5857d4;this['_unitOnClients'][_0x204b44(0x2e1)](_0x2b52d1=>{_0x2b52d1['delete'](_0x38c070);});},_0x14fc36*0x2);this[_0x5857d4(0x20e)][_0x5857d4(0x25e)](_0x38c070,_0x4a22ab);}[_0x2b281a(0x3a1)](_0x6cafbe){const _0x3baa0b=_0x2b281a;if(this[_0x3baa0b(0x20e)][_0x3baa0b(0x1c5)](_0x6cafbe)){const _0x3b482a=this[_0x3baa0b(0x20e)][_0x3baa0b(0x3c2)](_0x6cafbe);_0x3b482a&&window[_0x3baa0b(0x3ea)](_0x3b482a),this[_0x3baa0b(0x20e)][_0x3baa0b(0x25e)](_0x6cafbe,null);}}[_0x2b281a(0x2e7)](_0x4b840f){const _0x2f52fd=_0x2b281a,{memberID:_0x1a9acd,unitIDs:_0x492c5e}=_0x4b840f;_0x492c5e[_0x2f52fd(0x2e1)](_0x4306d7=>{const _0x11a945=_0x2f52fd;var _0x22f00d;const _0x30ca3b=this[_0x11a945(0x2a8)][_0x11a945(0x3c2)](_0x4306d7);_0x30ca3b&&(_0x30ca3b[_0x11a945(0x3cb)](_0x1a9acd),(_0x22f00d=this[_0x11a945(0x1e7)](_0x4306d7))==null||_0x22f00d[_0x11a945(0x1ac)](_0x30ca3b[_0x11a945(0x255)]===0x0?_0x55aa48[_0x11a945(0x34f)][_0x11a945(0x1a1)]:_0x55aa48[_0x11a945(0x34f)][_0x11a945(0x397)]));}),this['_removeClearOtherTimer'](_0x1a9acd);}[_0x2b281a(0x246)](_0x5b0411){const _0xd3970d=_0x2b281a;this[_0xd3970d(0x252)](_0x5b0411[_0xd3970d(0x36a)]);}[_0x2b281a(0x34b)](_0x25d58c){localStorage['setItem'](_0x41efc4,JSON['stringify'](_0x25d58c));}[_0x2b281a(0x2dc)](){const _0x5825ad=_0x2b281a;this[_0x5825ad(0x2bc)]=window[_0x5825ad(0x204)](()=>{const _0x2589f8=_0x5825ad;this[_0x2589f8(0x34b)]({'type':0x2,'memberID':this[_0x2589f8(0x21d)]});},_0x14fc36);}[_0x2b281a(0x1e7)](_0xfd05aa){const _0x3d6a6a=_0x2b281a;return this[_0x3d6a6a(0x2c3)][_0x3d6a6a(0x1c5)](_0xfd05aa)||this[_0x3d6a6a(0x2c3)][_0x3d6a6a(0x25e)](_0xfd05aa,new _0x15c792[(_0x3d6a6a(0x37f))](_0x55aa48[_0x3d6a6a(0x34f)][_0x3d6a6a(0x1a1)])),this[_0x3d6a6a(0x2c3)][_0x3d6a6a(0x3c2)](_0xfd05aa);}}var _0x260a0c=(_0x51c6f2=>(_0x51c6f2[_0x51c6f2[_0x2b281a(0x228)]=0x0]=_0x2b281a(0x228),_0x51c6f2[_0x51c6f2['OK']=0x1]='OK',_0x51c6f2[_0x51c6f2[_0x2b281a(0x328)]=0x2]=_0x2b281a(0x328),_0x51c6f2[_0x51c6f2[_0x2b281a(0x24c)]=0x3]=_0x2b281a(0x24c),_0x51c6f2[_0x51c6f2['NOT_FOUND']=0x4]=_0x2b281a(0x2a2),_0x51c6f2[_0x51c6f2[_0x2b281a(0x3ee)]=0x5]=_0x2b281a(0x3ee),_0x51c6f2[_0x51c6f2['ALREADY_EXISTS']=0x6]=_0x2b281a(0x250),_0x51c6f2[_0x51c6f2[_0x2b281a(0x2ca)]=0x7]='INVALID_ARGUMENT',_0x51c6f2[_0x51c6f2[_0x2b281a(0x312)]=0x8]=_0x2b281a(0x312),_0x51c6f2[_0x51c6f2['COMPLETION_FINISHED']=0x9]=_0x2b281a(0x281),_0x51c6f2[_0x51c6f2[_0x2b281a(0x349)]=0xa]=_0x2b281a(0x349),_0x51c6f2[_0x51c6f2['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x51c6f2[_0x51c6f2[_0x2b281a(0x3ac)]=0x1771]=_0x2b281a(0x3ac),_0x51c6f2[_0x51c6f2[_0x2b281a(0x35a)]=0x1772]=_0x2b281a(0x35a),_0x51c6f2[_0x51c6f2[_0x2b281a(0x1a0)]=0x1773]=_0x2b281a(0x1a0),_0x51c6f2[_0x51c6f2[_0x2b281a(0x3c0)]=0x1b59]=_0x2b281a(0x3c0),_0x51c6f2[_0x51c6f2[_0x2b281a(0x1ea)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x51c6f2[_0x51c6f2[_0x2b281a(0x387)]=0x1b5b]=_0x2b281a(0x387),_0x51c6f2[_0x51c6f2[_0x2b281a(0x298)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x51c6f2[_0x51c6f2[_0x2b281a(0x16b)]=0x1b5d]='APPLY_DUPLICATED',_0x51c6f2[_0x51c6f2[_0x2b281a(0x32c)]=0x1f41]=_0x2b281a(0x32c),_0x51c6f2[_0x51c6f2[_0x2b281a(0x29f)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x51c6f2[_0x51c6f2['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x2b281a(0x236),_0x51c6f2[_0x51c6f2[_0x2b281a(0x23d)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x51c6f2[_0x51c6f2[_0x2b281a(0x25d)]=0x232c]=_0x2b281a(0x25d),_0x51c6f2[_0x51c6f2['LICENSE_DISTRO_REJECTED']=0x232d]=_0x2b281a(0x192),_0x51c6f2[_0x51c6f2['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x2b281a(0x33f),_0x51c6f2[_0x51c6f2['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x2b281a(0x158),_0x51c6f2[_0x51c6f2[_0x2b281a(0x25c)]=0x2713]=_0x2b281a(0x25c),_0x51c6f2[_0x51c6f2[_0x2b281a(0x2fd)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x51c6f2[_0x51c6f2[_0x2b281a(0x1da)]=0x271a]=_0x2b281a(0x1da),_0x51c6f2[_0x51c6f2[_0x2b281a(0x3f0)]=0x271b]=_0x2b281a(0x3f0),_0x51c6f2[_0x51c6f2[_0x2b281a(0x340)]=0x271c]=_0x2b281a(0x340),_0x51c6f2[_0x51c6f2[_0x2b281a(0x201)]=0x271d]=_0x2b281a(0x201),_0x51c6f2[_0x51c6f2[_0x2b281a(0x27c)]=0x271e]=_0x2b281a(0x27c),_0x51c6f2[_0x51c6f2['YUUMI_AI_RUN_FAILED']=0x271f]=_0x2b281a(0x1b5),_0x51c6f2[_0x51c6f2[_0x2b281a(0x179)]=0x2af9]=_0x2b281a(0x179),_0x51c6f2[_0x51c6f2[_0x2b281a(0x275)]=0x2ee1]=_0x2b281a(0x275),_0x51c6f2[_0x51c6f2[_0x2b281a(0x15f)]=0x2ee2]=_0x2b281a(0x15f),_0x51c6f2[_0x51c6f2['INVITE_CODE_REQUIRED']=0x2ee3]=_0x2b281a(0x384),_0x51c6f2[_0x51c6f2[_0x2b281a(0x3f5)]=0x2ee4]=_0x2b281a(0x3f5),_0x51c6f2[_0x51c6f2[_0x2b281a(0x1eb)]=0x2ee5]=_0x2b281a(0x1eb),_0x51c6f2[_0x51c6f2[_0x2b281a(0x2a5)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x51c6f2[_0x51c6f2['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x2b281a(0x2fc),_0x51c6f2[_0x51c6f2['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x51c6f2[_0x51c6f2['UNRECOGNIZED']=-0x1]=_0x2b281a(0x2d9),_0x51c6f2))(_0x260a0c||{}),_0x3277c5=Object[_0x2b281a(0x354)],_0x4f58ba=(_0x4a6166,_0x1a3cb3,_0x38ca9f,_0x3a646e)=>{const _0x581459=_0x2b281a;for(var _0x38d632=_0x3a646e>0x1?void 0x0:_0x3a646e?_0x3277c5(_0x1a3cb3,_0x38ca9f):_0x1a3cb3,_0x29c9ee=_0x4a6166[_0x581459(0x36f)]-0x1,_0x153e6b;_0x29c9ee>=0x0;_0x29c9ee--)(_0x153e6b=_0x4a6166[_0x29c9ee])&&(_0x38d632=_0x153e6b(_0x38d632)||_0x38d632);return _0x38d632;},_0x31ff36=(_0x54de1a,_0x469e82)=>(_0x36aefd,_0x4d4000)=>_0x469e82(_0x36aefd,_0x4d4000,_0x54de1a);_0x4d92ba[_0x2b281a(0x2e8)]=class extends _0x403a48[_0x2b281a(0x265)]{constructor(_0x3bd68f,_0x3fd9fa,_0x59a5e1){const _0x1a07da=_0x2b281a;super(),this[_0x1a07da(0x3b9)]=_0x3bd68f,this['_httpService']=_0x3fd9fa,this['_configService']=_0x59a5e1;}async['runOnServer'](_0x2f146c,_0x3dac5d,_0x117ee7,..._0x4e3e0f){const _0x51be9e=_0x2b281a;var _0x53e8a1,_0x37def0,_0x1bfa3e,_0x576a40;const _0x2161c9=this['_instanceService']['getFocusedUnit']();if(!_0x2161c9)throw new Error(_0x51be9e(0x32a));const _0x4a8d50=((_0x53e8a1=this[_0x51be9e(0x30d)][_0x51be9e(0x389)](_0x55aa48[_0x51be9e(0x317)]))!=null?_0x53e8a1:_0x55aa48[_0x51be9e(0x164)])+'/'+_0x2f146c+_0x51be9e(0x22b)+_0x3dac5d,_0x3dcd0c=new URL(window[_0x51be9e(0x2c5)][_0x51be9e(0x202)]),_0x312e9a={'scriptId':_0x2f146c,'runId':(_0x37def0=_0x3dcd0c['searchParams'][_0x51be9e(0x3c2)](_0x51be9e(0x15d)))!=null?_0x37def0:'','function':_0x3dac5d,'unitId':_0x2161c9['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x4e3e0f),'invokeId':(_0x1bfa3e=_0x117ee7['invokeId'])!=null?_0x1bfa3e:'','executionId':(_0x576a40=_0x117ee7[_0x51be9e(0x244)])!=null?_0x576a40:''};try{const _0x86b988=await this[_0x51be9e(0x3a0)][_0x51be9e(0x31d)](_0x4a8d50,{'body':_0x312e9a});return _0x86b988[_0x51be9e(0x2b9)][_0x51be9e(0x2f8)]&&_0x86b988[_0x51be9e(0x2b9)]['error'][_0x51be9e(0x32f)]!==_0x260a0c['OK']?_0x51be9e(0x3e0):_0x86b988['body']['result'];}catch{return _0x51be9e(0x3e0);}}},_0x4d92ba[_0x2b281a(0x2e8)]=_0x4f58ba([_0x31ff36(0x0,_0x403a48[_0x2b281a(0x360)]),_0x31ff36(0x1,_0x403a48[_0x2b281a(0x19a)](_0x160af6['HTTPService'])),_0x31ff36(0x2,_0x403a48[_0x2b281a(0x184)])],_0x4d92ba[_0x2b281a(0x2e8)]),_0x4d92ba[_0x2b281a(0x263)]=_0x5a1bdc,_0x4d92ba[_0x2b281a(0x1b8)]=_0x117780,_0x4d92ba[_0x2b281a(0x294)]=_0x41104e,_0x4d92ba['WebBrowserSingleActiveUnitService']=_0x117f86,_0x4d92ba[_0x2b281a(0x359)]=_0x2c2c45,Object[_0x2b281a(0x1ad)](_0x4d92ba,Symbol[_0x2b281a(0x251)],{'value':_0x2b281a(0x306)});}));function _0x4739(){const _0x4657cd=['_lastPointer','Disposable','190FCsEVo','Injector','skeleton','DependentOn','tag','_dataLoaderService','_color','1230sgmQIu','defs','_cursorShapes','_transformHistoryAndStateStack','CLOSE_ROOM','saveImage','NOT_COLLAB','exports','INVITE_CODE_HAS_BEEN_UES','1006cercDW','_refRangeService','prototype','@univerjs/engine-formula','getCoordByCell','createIdentifier','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','CollaborationController','125587HHfEdB','wsSessionTicketUrl','_messageService','COMPLETION_FINISHED','subscribeEvent','getCurrent','deserializeRangeWithSheet','roomMembers$','Unknown\x20user','_collabSessionService','transformMutationsWithChangeset','none','pipe','merge','handleInsertRangeMoveRight','_hover','...','UniverInstanceType','generateRandomId','updateOfflineData','disposeUnit','switchMap','SheetCollabCursorShape','collaboration-client.offline-data-not-saved','whenReady','fromEvent','APPLY_PERMISSION_DENIED','_name','168KLcwYV','_anchor','max','ThemeService','_notificationService','LICENSE_MAX_UNITS_EXCEEDED','_initEvent','currentColor','NOT_FOUND','_cursor','throttleTime','WECHAT_HAS_BEEN_BOUND','getParam','_startDocCollabCursor','_unitOnClients','text','endRow','CollaborationEvent','newValue','assign','react','handleInsertRow','handleMoveRange','_drawAnchor','m1Prime','moveTo','url(#off-line-icon_clip0_910_343)','range','_onCursorDelete','resize','sessionTicket','body','search','USERS_LEAVE','_heartbeatTimer','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','use','OffLineIcon','transformStateCache','undoState','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_unitStatus','_assignedColors','location','fillText','pushState','_univerInstanceService','_updateCollabCursors','INVALID_ARGUMENT','ILogService','NodePositionConvertToRectRange','color','cursorInfo','idSuffix','IUIPartsService','1185192ZruoJl','INotificationService','DeleteRangeMoveLeftCommandId','loadUnit','IMessageService','hasOwnProperty','getColorFromTheme','save','UNRECOGNIZED','MessageType','complete','_scheduleHeartbeat','UniverSheetsUi','DocSkeletonManagerService','_docStateChangeManagerService','useDependency','forEach','registerRefRange','TEXT','jsx','getTypeOfUnitAdded$','_createSocketURL','_handleLeaveEvent','RemoteUniscriptService','onMouseMove','IDocClipboardService','_transformUndoRedoStack','black','NodePositionConvertToCursor','UNIVER_DOC','onPointerLeave$','_scene','getItem','column','connectInjector','Tooltip','ICommandService','searchParams','_entities','error','SheetSkeletonManagerService','jsxs','Optional','MOBILE_HAS_BEEN_BOUND','YUUMI_SUBSCRIPTION_NOT_FOUND','off-line-icon','_getAnchorBounding','then','collaboration-client-ui.config','collab-rect-range-','_commandService','_getSheetObject','from','Module','getSheetBySheetId','subscribe','CollaborationSessionService','subunit','dispose$','handleDeleteRangeMoveUp','_configService','storage','RefRangeService','handleInsertRangeMoveDown','_docSkeleton','TOO_MANY_REQUESTS','getSheetId','CONFLICT','DEFAULT_WS_SESSION_TICKET_URL','status$','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_scheduleSaving','10505ZDBKPZ','values','operators','RichTextEditingMutation','post','exhaustSavingTask','all','_urlService','_docTransformIMECacheService','dispose','Error','_hideTimer','RegularPolygon','icon','getCollabCursors$','INTERNAL_ERROR','getOwnPropertySymbols','[RemoteUniscriptService]:\x20no\x20focused\x20unit','xlink:href','CONNECTOR_DATA_TOO_LARGE','1145646QuqqMY','_colorAssignService','code','1057kFoCAc','makeDirty','sheetID','cursorInfo$','toString','asObservable','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','map','backgroundColor','_transformPreviousActiveRange','red.300','focused$','children','_setupBeforeClosingHandler','_setupSubUnitSync','YUUMI_UNABLE_LOAD_URL','YUUMI_TABLE_NOT_FOUND_IN_UNIT','InsertRangeMoveDownCommandId','_updateURLWithCurrentState','_online','_docSyncEditingCollabCursorService','includes','application/json','_colorIndex','session.connection-failed','LOGIN_FAILED','UPDATE_CURSOR','_send','_registerRenderDependencies','getAncestorScale','UniverEngineRender','UnitStatus','M0\x200H16V16H0z','OFFLINE','getDocRanges','function','getOwnPropertyDescriptor','_roomMembers$','registerBeforeClose','getUndoRedoMutationParamsCache','_drawTextRange','WebURLService','SNAPSHOT_HAS_BEEN_REMOVED','_onCursorUpdate','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','unsubscribe','collaboration.closeRoom','InsertRangeMoveRightCommandId','IUniverInstanceService','_revisionService','CollaborationUIEventId','CommandType','getFocusedUnit','setStateCache','FromArray','_transformService','entityInit$','isTransformMutationFailure','memberID','_startSheetCollabCursor','ITransformService','ISnapshotServerService','closePath','length','SessionStatus','onStarting','Subject','popstate','_initCommandExecutedListener','DesktopCollaborationStatusDisplayController','createSocket','@univerjs/docs-ui','UniverDocs','attrs','_hovered','amd','_handleHover','Plugin','row','BehaviorSubject','_cursorInfo$','push','min','UniverEngineFormula','INVITE_CODE_REQUIRED','executeCommand','_initStatusListener','APPLY_REVISION_CONFILICT','editingUnit','getConfig','@univerjs/sheets-ui','defIds','JOIN_ROOM_FAILED','evenodd','UniverSheets','univer-flex\x20univer-mr-2\x20univer-text-xl','clsx','getCurrentSelections','history','1em','registerComponent','blue.400','DocSelectionManagerService','OTHER_CLIENTS_EDITING','DocCollaborationEntity','CollaborationDataLoaderController','currentTheme$','_registerDependencies','Tools','getColor','font','SetDocZoomRatioOperation','_httpService','_removeClearOtherTimer','toDisposable','_initStatusComponent','RevisionService','LocaleService','_render','saveTaskMap','displayName','registerRenderModule','replace','onPointerEnter$','SNAPSHOT_INVALID_SNAPSHOT','UniverRpc','UniverUi','combineLatest','unitId','mergeOverrideWithDependencies','parse','getTypeOfUnitDisposed$','runRefRangeMutations','shareReplay','measureText','_textBubble','LOCAL_CACHE_INTERVAL','_instanceService','translate(.97)','IBeforeCloseService','getLocalCacheKey','_shapes','collab-text-anchor-','collabStatus.conflict','APPLY_REJECT','url(#$1','get','permission.content','getViewport','CollaborationUIEventService','unload','onCommandExecuted','transform','requireSession','event$','delete','textRanges','_backgroundColor','setConfig','_doCreateSocket','SOCKET_FAILED_RETRY','session.will-retry','useRef','redoState','_getSessionTicket','entries','source','@univerjs/engine-render','_docTransformStateCacheService','collab-client.tooltip.reconnect','_beforeCloseService','_saveTaskMap','BuiltInUIPart','transformMutation','_handleJoinEvent','MoveRangeCommandId','Failed','unshift','_sheetSkeletonManagerService','_syncEditingCollabCursorService','transformRemoteChangeset','isArray','_context','key','RxDisposable','36155uVmxge','clearTimeout','addHandlerCallback','setTimeout','_selfUnitIDs','UNAUTHENTICATED','params','YUUMI_ASYNCIO_CANCELLED','addEventListener','disposeWithMe','_handleEvent','debounceTime','USER_NOT_INVITED_CODE','createInstance','_collaborationController','YUUMI_URL_COL_OUT_OF_RANGE','_session','removeParam','_docSkeletonManagerService','_entityInit$','runId','ILocalCacheService','INVALID_INVITE_CODE','MemberService','find','_docTransformSelectionsService','Vector2','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','React','fillStyle','_themeService','http://www.w3.org/2000/svg','UNIVER_SHEET','url(#on-line-icon_clip0_910_349)','APPLY_DUPLICATED','OTHER_CLIENT_EDITING','addClipboardHook','ticket','0\x200\x2017\x2016','getStateCache','SetTextSelectionsOperation','getMember','UniverIcon','collabStatus.fetchMiss','CollaborationStatus','addObjects','unit','_labelPosition','PY_RUNTIME_SCRIPT_ERROR','startRow','debounce','with','getSheetObject','0\x200\x2016\x2016','LOCAL_CACHE_INTERVAL_KEY','white','Rectangle','some','#FFF','IConfigService','doc.mutation.rich-text-editing','handleInsertCol','_logService','@univerjs-pro/collaboration-client','lineTo','getRangePointData','concat','colorChannel1','filter','getValue','_status$','getMemberID','_draw','LICENSE_DISTRO_REJECTED','ColorKit','div','trim','mask','SheetsSelectionsService','_eventUnsubscribe','@univerjs/docs','Inject','transformIMECache','DocStateChangeManagerService','Shape','round','setItem','ENSURE_SNAPSHOT_EXECUTION','NO_OTHER_CLIENTS_EDITING','_onRefRangeChange','_getScale','rxjs','transformByState','uni.network.url-service','DOC_RANGE_TYPE','FETCH_MISS','override','InsertColCommandId','unitID','next','defineProperty','substring','_anchorDot','_memberService','collabCursorState$','_document','add','HTTPService','YUUMI_AI_RUN_FAILED','ISocketService','_collabCursorController','IURLService','getUnitId','urlChange$','type','_disabled','@univerjs/sheets','3enRkzX','UniverCollaborationClientUIPlugin','arc','currentSkeleton$','fill','getSkeleton','ACTIVE_UNIT_EVENT_CHANNEL','has','data','PENDING','jiqing.500','@univerjs/network','width','getCurrentUnitForType','saveOfflineData','collab-text-range-','init','collabStatus.syncing','on-line-icon','_initEntityListener','_localStorageService','beginPath','BrowserCollaborationSocketService','transformSelections','_saveCache','className','activeSheet$','call','YUUMI_NO_CUBOID_FOR_QUESTION','_collaborationUIEventService','Rect','hide','UniverProCollaboration','string','1221476JUxJKr','_config','react/jsx-runtime','permission.title','hovered','_toggleOnline','handleDeleteRangeMoveLeft','_ensureSubject','actions','enableLocalCache','APPLY_NON_SEQUENTIAL_REVISION','INVITE_CODE_ALREADY_BOUND','@univerjs/core','fillRule','_renderManagerService','UniverCore','ranges','purple.300','AWAITING_WITH_PENDING','flatMap','WebSocketService','send','isEditing','_drawRectRange','indexOf','getActiveSheet','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','setAlpha','_docClipboardService','COLORS','createElement','_removeCollabCursors','SetSelectionsOperation','YUUMI_ALL_TABLES_IS_INVALID','href','name','setInterval','path','_range','apply','yellow.400','TEXT_RANGE_LAYER_INDEX','getRenderById','getUniverSheetInstance','eventID','svg','_clearOtherTimers','_updateLocalCursor','off-line-icon_clip0_910_343','docStateChange$','rgba(255,\x20255,\x20255,\x200.01)','VIEW_MAIN','getVpScrollXYInfoByPosToVp','_refreshCollabCursors','_localCacheService','on-line-icon_clip0_910_349','@univerjs/drawing','@univerjs-pro/collaboration','DocIMEInputManagerService','onRendered','_toggleOffline','_id','distinctUntilChanged','roomMembers','height','getCollabEntity$','Warning','_init','fromEventSubject','_updateSubUnitFromURLParams','UniverProCollaborationClient','symbol','UNDEFINED','_cursors','setShapeProps','/run/','restore','subUnitId','onTransformChange$','isActive','addObject','session.collaboration-timeout','setParam','serializeRangeWithSheet','sessionStatus$','mutations','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','triggerDblclick','_localeService','findNodePositionByCharIndex','selections','_initResize','clipPath','LICENSE_IMPORT_SIZE_EXCEEDED','startsWith','clearInterval','_getMergeRange','debug','EffectRefRangId','green.600','executionId','origin','_handleHeartbeatEvent','_initDependencies','bottom','ONLINE','_injector','DisposableCollection','PERMISSION_DENIED','selection','RECT','SOCKET_FAILED','ALREADY_EXISTS','toStringTag','_scheduleClearOtherTimer','m2Prime','SetWorksheetActivateCommand','size','forwardRef','random','extend','show','engine','deepClone','YUUMI_RATE_OVER_LIMIT','LICENSE_EXPORT_SIZE_EXCEEDED','set','collaboration.single-unit.warning','@univerjs/design','takeUntil','drawWith','CollaborationStatusDisplay'];_0x4739=function(){return _0x4657cd;};return _0x4739();}