@univerjs-pro/collaboration-client-ui 0.7.0-nightly.202505071607 → 0.7.0-nightly.202505091607

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 _0x242a(_0x18f55b,_0x344c94){const _0x30e7fc=_0x30e7();return _0x242a=function(_0x242a25,_0x3d9951){_0x242a25=_0x242a25-0x77;let _0xbb7cf8=_0x30e7fc[_0x242a25];return _0xbb7cf8;},_0x242a(_0x18f55b,_0x344c94);}function _0x30e7(){const _0x335fe9=['YUUMI_NO_CUBOID_FOR_QUESTION','post','_handleHover','_transformPreviousActiveRange','_lastPointer','YUUMI_ALL_TABLES_IS_INVALID','SNAPSHOT_HAS_BEEN_REMOVED','useRef','OTHER_CLIENT_EDITING','UniverRpc','ISocketService','textRanges','unshift','UniverIcon','DocIMEInputManagerService','UniverUi','LICENSE_IMPORT_SIZE_EXCEEDED','_assignedColors','syncEditingCollabCursor','setConfig','runRefRangeMutations','collabStatus.fetchMiss','Tools','_updateCollabCursors','toStringTag','_textBubble','React','collaboration-client-ui.config','_unitOnClients','IRenderManagerService','_collabSessionService','docStateChange$','_handleJoinEvent','min','UniverCollaborationClientUIPlugin','CollaborationStatus','_localeService','rgba(255,\x20255,\x20255,\x200.01)','_name','_imageIoService','clsx','flatMap','connectInjector','_scheduleClearOtherTimer','_toggleOnline','WebSocketService','removeParam','getCollabEntity$','asObservable','_docTransformStateCacheService','length','distinctUntilChanged','OffLineSingle','TEXT_RANGE_LAYER_INDEX','set','addObject','BehaviorSubject','getTypeOfUnitDisposed$','UnitStatus','font','hasOwnProperty','session.will-retry','handleInsertRow','complete','_scene','getOwnPropertyDescriptor','_anchor','CollaborationStatusDisplay','addEventListener','YUUMI_SUBSCRIPTION_NOT_FOUND','UniverInstanceType','@univerjs/engine-formula','49986HXfTQY','override','params','size','_docClipboardService','_color','clearInterval','CollaborationUIEventService','DesktopCollaborationStatusDisplayController','assign','backgroundColor','_entityInit$','getAncestorScale','_setupBeforeClosingHandler','onTransformChange$','updateOfflineData','getRangePointData','_httpService','UniverProCollaboration','div','_getAnchorBounding','selection','_beforeCloseService','entityInit$','triggerDblclick','CHANGESET_REVISION_CONFILICT','debug','selections','createIdentifier','@univerjs/sheets','INVITE_CODE_REQUIRED','RegularPolygon','PENDING','_updateLocalCursor','find','Vector2','extend','/run/','runId','@univerjs/design','_logService','addClipboardHook','body','getUnitId','YUUMI_TABLE_NOT_FOUND_IN_UNIT','merge','entries','1em','transformStateCache','...','UNDEFINED','_urlService','disposeWithMe','_hideTimer','LOCAL_CACHE_INTERVAL_KEY','TOO_MANY_REQUESTS','Rect','LICENSE_MAX_UNITS_EXCEEDED','DisposableCollection','SOCKET_FAILED','height','MessageType','UNAUTHENTICATED','_cursors','jsxs','_onRefRangeChange','m2Prime','HTTPService','startsWith','UniverNetwork','TRANSFORM_CHANGE_OBSERVABLE_TYPE','INVITE_CODE_HAS_BEEN_UES','INotificationService','isActive','arc','_docStateChangeManagerService','_scheduleHeartbeat','measureText','toRgbString','LICENSE_EXPORT_SIZE_EXCEEDED','MemberService','defIds','collab-text-range-','DocSelectionManagerService','mask','_getScale','_onCursorDelete','deepClone','_status$','@univerjs/sheets-ui','handleInsertCol','cursorInfo','UniverSheets','registerBeforeClose','addObjects','lineTo','m1Prime','jsx','transformSelections','NodePositionConvertToRectRange','doc.mutation.rich-text-editing','UniverSheetsUi','onRendered','_id','getUniverSheetInstance','xlink:href','@univerjs-pro/collaboration','max','DEFAULT_WS_SESSION_TICKET_URL','YUUMI_AI_RUN_FAILED','values','currentTheme$','FETCH_MISS','getUnhiddenWorksheets','getLocalCacheKey','setShapeProps','_shapes','@univerjs/rpc','APPLY_NON_SEQUENTIAL_REVISION','_transformHistoryAndStateStack','SUBMIT_CHANGESET_TIMEOUT','0\x200\x2016\x2016','_localCacheService','map','UniverProCollaborationClientUi','@univerjs/network','url(#$1','Error','UNRECOGNIZED','_initCommandExecutedListener','registerComponent','_syncEditingCollabCursorService','throttleTime','toString','handleMoveRange','has','_scheduleSaving','getActiveSheet','COMPLETION_FINISHED','_initDependencies','AWAITING_WITH_PENDING','CollaborationEvent','fillStyle','engine','getTypeOfUnitAdded$','SetWorksheetActivateCommand','getMemberID','assignAColorForMemberID','location','_cachedData','getVpScrollXYInfoByPosToVp','SheetCollabCursorShape','DocSkeletonManagerService','fromEvent','popstate','saveTaskMap','green.600','handleInsertRangeMoveRight','setAlpha','_saveTaskMap','_eventUnsubscribe','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_notificationService','_cursor','takeUntil','Inject','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','WebBrowserSingleActiveUnitService','_docSyncEditingCollabCursorService','_drawTextRange','replaceDocRanges','getConfig','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','split','LOGIN_FAILED','prototype','transformMutationsWithChangeset','TEXT','forEach','1035503FTLPUn','DocCollaborationEntity','resize','row','_startSheetCollabCursor','getDocRanges','history','getCollabCursors$','_instanceService','_send','cursorInfo$','_handleLeaveEvent','_transformService','redoState','getMember','1621932mUTtXJ','SHEET_VIEWPORT_KEY','createSocket','name','_saveCache','_getMergeRange','substring','_updateURLWithCurrentState','error','CollaborationUIEventId','OFFLINE','function','YUUMI_UNABLE_LOAD_URL','isTransformMutationsWithChangesetSuccess','collab-text-anchor-','svg','getCurrentUnitForType','_initResize','href','_entities','indexOf','disposeUnit','origin','moveTo','@univerjs-pro/collaboration-client','Workbook','debounceTime','UniverDesign','key','UniverProCollaborationClient','univer-flex\x20univer-items-center','_removeCollabCursors','#FFF','debounce','256tmNeIt','getColorFromTheme','generateRandomId','icon','current','top','USER_NOT_INVITED_CODE','labelPosition','collabStatus.syncing','[RemoteUniscriptService]:\x20no\x20focused\x20unit','reconnect','hovered','skeleton','onPointerLeave$','trim','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','registerRenderModule','setItem','getCurrentRevOfUnit','UniverCollaborationClientPlugin','_clearOtherTimers','_getSaveTimeout','fill','currentSkeleton$','NOT_COLLAB','clipPath','url(#off-line-single_clip0_910_343)','text','UPDATE_CURSOR','ILocalStorageService','_context','executeCommand','_online','sessionStatus$','none','INVALID_ARGUMENT','_themeService','UniverEngineRender','shareReplay','INVITE_CODE_ALREADY_BOUND','parse','on-line-single_clip0_910_349','InsertColCommandId','_injector','_init','getRenderById','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','APPLY_REJECT','subunit','PY_RUNTIME_SCRIPT_ERROR','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_revisionService','CollaborationDataLoaderController','getOffsetConfig','filter','_handleHeartbeatEvent','MoveRangeCommandId','event$','next','getFocusedUnit','UniverCore','findNodePositionByCharIndex','YUUMI_RATE_OVER_LIMIT','LICENSE_DISTRO_REJECTED','Shape','eventID','BuiltInUIPart','send','_renderManagerService','show','Tooltip','black','type','whenReady','loadOfflineData','_disabled','@univerjs/drawing','newValue','isEditing','toDisposable','ILocalCacheService','delete','bottom','Failed','SetTextSelectionsOperation','purple.300','useCallback','RichTextEditingMutation','_removeClearOtherTimer','drawWith','@univerjs/engine-render','editingUnit','SetSelectionsOperation','_collabCursorState$','onMouseMove','899960jOjoRR','RemoveRowCommandId','_collaborationController','_createSocketURL','getSheetId','ILogService','Rectangle','width','[CollaborationDataLoaderController]','clearTimeout','CollaborationSocketService','uni.network.url-service','replace','IMessageService','_hover','IUniverInstanceService','@univerjs/ui','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','replaceState','wsSessionTicketUrl','unitID','_transformUndoRedoStack','result','_dataLoaderService','NodePositionConvertToCursor','RemoveColCommandId','hide','_toggleOffline','_initStatusListener','unit','setUndoRedoMutationParamsCache','WECHAT_HAS_BEEN_BOUND','COLORS','memberID','round','init','0\x200\x2017\x2016','DataLoaderService','_getSessionTicket','CommandType','EffectRefRangId','onCommandExecuted','getParam','getCurrent','subscribeEvent','includes','_collabCursorController','HEADER_MENU','onStarting','react/jsx-runtime','IBeforeCloseService','off-line-single','useObservable','_draw','IConfigService','executionId','2KhPyzN','beginPath','setInterval','operators','currentColor','_docTransformIMECacheService','mergeOverrideWithDependencies','pipe','_localStorageService','Disposable','UNIVER_DOC','_docSkeletonManagerService','range','setActiveRange','M0\x200H16V16H0z','handleDeleteRangeMoveLeft','_cursorInfo$','_initEntityListener','apply','_initEvent','color','@univerjs/docs','InsertRangeMoveDownCommandId','2467374rRNpbQ','search','UNIVER_SHEET','EMAIL_HAS_BEEN_BOUND','ENSURE_SNAPSHOT_EXECUTION','_initStatusComponent','isTransformMutationFailure','touchDependencies','evenodd','_docSkeleton','_backgroundColor','pushState','dispose$','ACTIVE_UNIT_EVENT_CHANNEL','ThemeService','ColorKit','startRow','off-line-single_clip0_910_343','rxjs','object','add','UniverDocs','all','_colorAssignService','undoState','Module','_docTransformSelectionsService','Injector','unitId','saveImage','SetDocZoomRatioOperation','unsubscribe','YUUMI_ASYNCIO_CANCELLED','combineLatest','getSkeleton','some','with','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_ensureSubject','Warning','_refRangeService','YUUMI_URL_COL_OUT_OF_RANGE','transformRemoteChangeset','registerRefRange','url(#on-line-single_clip0_910_349)','data','_session','MUTATION','DOC_RANGE_TYPE','children','getValue','searchParams','getColor','mutations','setParam','3sHnMIx','_sheetSkeletonManagerService','INTERNAL_ERROR','@univerjs/docs-ui','ALREADY_EXISTS','_setupSubUnitSync','OnLineSingle','_commandService','136700mhQNSH','_heartbeatTimer','transformIMECache','random','displayName','getOwnPropertySymbols','session.collaboration-timeout','_handleEvent','SYNCED','_range','ranges','get','onPointerMove$','exhaustSavingTask','PERMISSION_DENIED','_registerRenderDependencies','handleDeleteRangeMoveUp','INVALID_INVITE_CODE','_cursorShapes','collabCursorState$','getMergeData','NO_OTHER_CLIENTS_EDITING','transformByState','getStateCache','invokeId','ITransformService','collabStatus.offline','red.300','collaboration.closeRoom','createInstance','application/json','APPLY_DUPLICATED','RxDisposable','CONNECTOR_DATA_TOO_LARGE','dispose','RemoteUniscriptService','onPointerEnter$','handleInsertRangeMoveDown','_unitStatus','FromArray','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600','APPLY_REVISION_CONFILICT','_config','startColumn','ICommandService','SheetsSelectionsService','transformMutation','Unknown\x20user','_uiPartsService','save','_roomMembers$','_memberService','subscribe','then','_startDocCollabCursor','_getSheetObject','path','CollaborationController','disableLocalCache','SNAPSHOT_INVALID_SNAPSHOT','APPLY_PERMISSION_DENIED','_anchorDot','univer-text-green-500','status$','useDependency','BrowserCollaborationSocketService','_render','RECT','push','248858FQildU','endRow','DependentOn','_registerDependencies','focused$','_drawRectRange','attrs','_univerInstanceService','call','_configService','getCoordByCell','_hovered','jiqing.500','idSuffix','tag','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_labelPosition','collaboration.single-unit.warning','colorChannel1','IURLService','CollaborationSessionService','from','contains','pluginName','getSheetBySheetId','createElement','_selfUnitIDs','concat','_onCursorUpdate','_refreshCollabCursors','defs','string','restore','CLOSE_ROOM','_updateSubUnitFromURLParams','collabStatus.notCollab','mapTo','DocStateChangeManagerService','forwardRef','Plugin','collaboration-client.offline-data-not-saved','ONLINE','roomMembers','requireSession','InsertRowCommandId','defineProperty','getItem','univer-flex\x20univer-mr-2\x20univer-text-xl','_messageService','urlChange$','collabStatus.conflict','isArray','fillRule','_colorIndex','switchMap','MOBILE_HAS_BEEN_BOUND','_collaborationUIEventService','sessionTicket','saveOfflineData','#fff','react','OTHER_CLIENTS_EDITING','getSheetObject','session.connection-failed','InsertRangeMoveRightCommandId','LocaleService'];_0x30e7=function(){return _0x335fe9;};return _0x30e7();}(function(_0x4b5b1f,_0x2a3176){const _0x86299c=_0x242a,_0x3f0daf=_0x4b5b1f();while(!![]){try{const _0x52849d=-parseInt(_0x86299c(0x1b6))/0x1*(-parseInt(_0x86299c(0x11b))/0x2)+parseInt(_0x86299c(0x169))/0x3*(parseInt(_0x86299c(0x302))/0x4)+-parseInt(_0x86299c(0xe3))/0x5+-parseInt(_0x86299c(0x132))/0x6+parseInt(_0x86299c(0x2f3))/0x7+parseInt(_0x86299c(0x84))/0x8*(parseInt(_0x86299c(0x240))/0x9)+-parseInt(_0x86299c(0x171))/0xa;if(_0x52849d===_0x2a3176)break;else _0x3f0daf['push'](_0x3f0daf['shift']());}catch(_0x5ea9c6){_0x3f0daf['push'](_0x3f0daf['shift']());}}}(_0x30e7,0x5b943),function(_0x2a620a,_0x5d1c34){const _0x49655e=_0x242a;typeof exports==_0x49655e(0x145)&&typeof module<'u'?_0x5d1c34(exports,require(_0x49655e(0x7a)),require('@univerjs/core'),require(_0x49655e(0xde)),require(_0x49655e(0x2bd)),require(_0x49655e(0x16c)),require(_0x49655e(0xd0)),require(_0x49655e(0x144)),require(_0x49655e(0x130)),require(_0x49655e(0x2aa)),require(_0x49655e(0x23f)),require(_0x49655e(0x25d)),require('rxjs/operators'),require(_0x49655e(0x299)),require(_0x49655e(0x114)),require(_0x49655e(0xf3)),require(_0x49655e(0x267)),require('react'),require(_0x49655e(0x2b5))):typeof define==_0x49655e(0x30d)&&define['amd']?define(['exports','@univerjs-pro/collaboration-client','@univerjs/core',_0x49655e(0xde),_0x49655e(0x2bd),_0x49655e(0x16c),_0x49655e(0xd0),_0x49655e(0x144),_0x49655e(0x130),_0x49655e(0x2aa),_0x49655e(0x23f),_0x49655e(0x25d),'rxjs/operators','@univerjs/sheets-ui',_0x49655e(0x114),_0x49655e(0xf3),_0x49655e(0x267),_0x49655e(0x1f2),_0x49655e(0x2b5)],_0x5d1c34):(_0x2a620a=typeof globalThis<'u'?globalThis:_0x2a620a||self,_0x5d1c34(_0x2a620a[_0x49655e(0x2bc)]={},_0x2a620a[_0x49655e(0x7f)],_0x2a620a[_0x49655e(0xc0)],_0x2a620a[_0x49655e(0xa9)],_0x2a620a[_0x49655e(0x285)],_0x2a620a['UniverDocsUi'],_0x2a620a['UniverDrawing'],_0x2a620a['rxjs'],_0x2a620a[_0x49655e(0x147)],_0x2a620a[_0x49655e(0x252)],_0x2a620a['UniverEngineFormula'],_0x2a620a[_0x49655e(0x29c)],_0x2a620a[_0x49655e(0x144)][_0x49655e(0x11e)],_0x2a620a[_0x49655e(0x2a5)],_0x2a620a['React'],_0x2a620a[_0x49655e(0x207)],_0x2a620a[_0x49655e(0x7d)],_0x2a620a[_0x49655e(0x212)],_0x2a620a[_0x49655e(0x201)]));}(this,function(_0x285d46,_0x479769,_0x1def49,_0x451005,_0x5196ad,_0x38c4f6,_0x5c8edc,_0x1bc390,_0x5ec733,_0x529ed4,_0x506429,_0x218759,_0x4ab621,_0x25374d,_0x287e60,_0x13fd76,_0xe78f23,_0x532356,_0x2dbfe8){'use strict';const _0x3f93a3=_0x242a;var _0xbd2d8b=Object['defineProperty'],_0x35ab38=(_0x3d6e60,_0x15fcba,_0x2eac01)=>_0x15fcba in _0x3d6e60?_0xbd2d8b(_0x3d6e60,_0x15fcba,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2eac01}):_0x3d6e60[_0x15fcba]=_0x2eac01,_0x2d103a=(_0x55c71f,_0x28751b,_0x5c248a)=>_0x35ab38(_0x55c71f,typeof _0x28751b!='symbol'?_0x28751b+'':_0x28751b,_0x5c248a),_0x16cb55=Object['getOwnPropertyDescriptor'],_0x191aaa=(_0x18d522,_0x4979cb,_0x36f1c9,_0x1a306c)=>{const _0x3ab849=_0x242a;for(var _0x38aabe=_0x1a306c>0x1?void 0x0:_0x1a306c?_0x16cb55(_0x4979cb,_0x36f1c9):_0x4979cb,_0x5d2fed=_0x18d522[_0x3ab849(0x22a)]-0x1,_0x20d3fc;_0x5d2fed>=0x0;_0x5d2fed--)(_0x20d3fc=_0x18d522[_0x5d2fed])&&(_0x38aabe=_0x20d3fc(_0x38aabe)||_0x38aabe);return _0x38aabe;},_0x10cee3=(_0x5c999d,_0x4f4ddb)=>(_0x32ab7b,_0x306eab)=>_0x4f4ddb(_0x32ab7b,_0x306eab,_0x5c999d);let _0x351e0a=class extends _0x1def49[_0x3f93a3(0x191)]{constructor(_0x5133fd,_0x446070){const _0x40d4b3=_0x3f93a3;super(),this['_docClipboardService']=_0x5133fd,this[_0x40d4b3(0x21f)]=_0x446070,this[_0x40d4b3(0xb0)]();}[_0x3f93a3(0xb0)](){const _0x108da1=_0x3f93a3,_0x3a73cf=this;this[_0x108da1(0x274)](this[_0x108da1(0x244)][_0x108da1(0x269)]({'onBeforePasteImage':async _0xc8db0d=>{const _0x2fd6cd=_0x108da1,_0x479ae4=await _0x3a73cf[_0x2fd6cd(0x21f)][_0x2fd6cd(0x14f)](_0xc8db0d);return _0x479ae4?{'source':_0x479ae4['source'],'imageSourceType':_0x479ae4['imageSourceType']}:null;}}));}};_0x351e0a=_0x191aaa([_0x10cee3(0x0,_0x38c4f6['IDocClipboardService']),_0x10cee3(0x1,_0x5c8edc['IImageIoService'])],_0x351e0a);const _0x1a429d=[_0x3f93a3(0xd9),_0x3f93a3(0x1c2),_0x3f93a3(0x2dc),_0x3f93a3(0x18c),'blue.400','yellow.400'];class _0xc01724 extends _0x1def49['Disposable']{constructor(){const _0x881a92=_0x3f93a3;super(...arguments),_0x2d103a(this,_0x881a92(0x209),new Map()),_0x2d103a(this,'_colorIndex',0x0);}[_0x3f93a3(0x2d3)](_0x2dc617){const _0x31d698=_0x3f93a3;if(this[_0x31d698(0x209)][_0x31d698(0x2c7)](_0x2dc617))return this[_0x31d698(0x209)][_0x31d698(0x17c)](_0x2dc617);const _0x12189d=_0x1a429d[this[_0x31d698(0x1eb)]];return this[_0x31d698(0x1eb)]=(this[_0x31d698(0x1eb)]+0x1)%_0x1a429d[_0x31d698(0x22a)],this[_0x31d698(0x209)]['set'](_0x2dc617,_0x12189d),_0x12189d;}}function _0x30f1a3(_0x2670c0){const _0x25aa6f=_0x3f93a3;let _0x30f9f0='';for(const _0xcad034 of _0x2670c0){const {startOffset:_0xb86737,endOffset:_0x45780d,isActive:_0x4f188a,rangeType:_0x43791f,segmentId:_0x2962a3,segmentPage:_0x568fb3}=_0xcad034;_0x30f9f0[_0x25aa6f(0x22a)]&&(_0x30f9f0+=','),_0x30f9f0+=_0xb86737+':'+_0x45780d+':'+(_0x4f188a?'1':'0')+':'+_0x43791f+':'+_0x2962a3+':'+_0x568fb3;}return _0x30f9f0;}function _0x3b2e1b(_0x53d576){const _0x584d5d=_0x3f93a3,_0x52c03a=_0x53d576[_0x584d5d(0x2ed)](','),_0x3dfeda=[];for(const _0x1a28c7 of _0x52c03a){const [_0xa44373,_0x40210f,_0x39323d,_0x39e97c,_0x47085e,_0xa7429]=_0x1a28c7[_0x584d5d(0x2ed)](':');_0x3dfeda[_0x584d5d(0x1b5)]({'startOffset':Number(_0xa44373),'endOffset':Number(_0x40210f),'collapsed':_0xa44373===_0x40210f,'isActive':_0x39323d==='1','rangeType':_0x39e97c===_0x1def49[_0x584d5d(0x162)][_0x584d5d(0x2f1)]?_0x1def49[_0x584d5d(0x162)][_0x584d5d(0x2f1)]:_0x1def49[_0x584d5d(0x162)][_0x584d5d(0x1b4)],'segmentId':typeof _0x47085e==_0x584d5d(0x1d5)?String(_0x47085e):'','segmentPage':Number(_0xa7429!=null?_0xa7429:-0x1)});}return _0x3dfeda[_0x584d5d(0x155)](_0x104450=>_0x104450['isActive'])||(_0x3dfeda[0x0][_0x584d5d(0x289)]=!0x0),_0x3dfeda;}class _0x3a08fe extends _0x1def49[_0x3f93a3(0x191)]{constructor(){const _0x1f08c=_0x3f93a3;super(...arguments),_0x2d103a(this,'_collabCursorState$',new _0x1bc390[(_0x1f08c(0x230))](null)),_0x2d103a(this,_0x1f08c(0x184),this[_0x1f08c(0xe1)][_0x1f08c(0x228)]());}['syncEditingCollabCursor'](_0x2470d5){const {unitID:_0x954cbe,memberID:_0xca26f2,textRanges:_0x587f25}=_0x2470d5,_0x4e1215=_0x30f1a3(_0x587f25);if(_0x4e1215==='')return;const _0x46c79c={'unitID':_0x954cbe,'memberID':_0xca26f2,'selection':_0x4e1215};this['_collabCursorState$']['next'](_0x46c79c);}}var _0xa54a48=Object[_0x3f93a3(0x239)],_0x268c6a=(_0x651ede,_0x27ce6b,_0x131936,_0xe2d0)=>{for(var _0x118a00=_0xe2d0>0x1?void 0x0:_0xe2d0?_0xa54a48(_0x27ce6b,_0x131936):_0x27ce6b,_0x187a68=_0x651ede['length']-0x1,_0x28093c;_0x187a68>=0x0;_0x187a68--)(_0x28093c=_0x651ede[_0x187a68])&&(_0x118a00=_0x28093c(_0x118a00)||_0x118a00);return _0x118a00;},_0x2c7489=(_0x55a367,_0x3774c8)=>(_0x2204d6,_0x589bc7)=>_0x3774c8(_0x2204d6,_0x589bc7,_0x55a367);const _0x4e8f7a=0x12c,_0x492642=0x64;let _0x1ee7ee=class extends _0x1def49[_0x3f93a3(0x191)]{constructor(_0xacc29e,_0x5f1f53,_0x3168cd,_0x2ae840,_0x1daa6c,_0x3763f9,_0x462f8a,_0x58fb0f,_0x204a20){const _0x5e06b9=_0x3f93a3;super(),_0x2d103a(this,_0x5e06b9(0xa4),!0x1),_0x2d103a(this,_0x5e06b9(0xb0),!0x1),_0x2d103a(this,_0x5e06b9(0x12b),new _0x1bc390['BehaviorSubject'](new Map())),_0x2d103a(this,_0x5e06b9(0x2fd),this['_cursorInfo$'][_0x5e06b9(0x228)]()),_0x2d103a(this,_0x5e06b9(0x1a3),new _0x1bc390[(_0x5e06b9(0x230))]([])),_0x2d103a(this,'roomMembers$',this['_roomMembers$'][_0x5e06b9(0x122)](_0x1bc390[_0x5e06b9(0x7c)](_0x4e8f7a))),_0x2d103a(this,'_updateLocalCursor',_0x1def49[_0x5e06b9(0x83)](_0x1ee5d9=>{const _0x10073=_0x5e06b9,_0x1bc387={'eventID':_0x529ed4[_0x10073(0x2cd)][_0x10073(0xa0)],'data':{'unitID':this[_0x10073(0xf7)],'memberID':this[_0x10073(0x160)]['getMemberID'](),'selection':_0x30f1a3(_0x1ee5d9)}};this[_0x10073(0x160)][_0x10073(0xc7)](_0x1bc387,this['unitID']);},_0x492642)),(this[_0x5e06b9(0xf7)]=_0xacc29e,this[_0x5e06b9(0x160)]=_0x5f1f53,this[_0x5e06b9(0xaf)]=_0x3168cd,this[_0x5e06b9(0x149)]=_0x2ae840,this[_0x5e06b9(0x1a4)]=_0x1daa6c,this[_0x5e06b9(0x2c3)]=_0x3763f9,this[_0x5e06b9(0x2ff)]=_0x462f8a,this[_0x5e06b9(0x1bd)]=_0x58fb0f,this[_0x5e06b9(0x170)]=_0x204a20);}get['cursorInfo'](){const _0x55919e=_0x3f93a3;return this[_0x55919e(0x12b)][_0x55919e(0x164)]();}get[_0x3f93a3(0x1e0)](){const _0x54970d=_0x3f93a3;return this[_0x54970d(0x1a3)][_0x54970d(0x164)]();}[_0x3f93a3(0x193)](){const _0x291644=_0x3f93a3;super[_0x291644(0x193)](),this[_0x291644(0x12b)][_0x291644(0xbe)](new Map()),this[_0x291644(0x12b)][_0x291644(0x237)](),this['_roomMembers$'][_0x291644(0xbe)]([]),this['_roomMembers$'][_0x291644(0x237)]();}[_0x3f93a3(0x106)](){const _0x17a232=_0x3f93a3;this[_0x17a232(0xb0)]||(this[_0x17a232(0xb0)]=!0x0,this['_session'][_0x17a232(0xa5)][_0x17a232(0x122)](_0x1bc390[_0x17a232(0x2e4)](this[_0x17a232(0x13e)]))['subscribe'](_0x6f5c6f=>{const _0x46cb7f=_0x17a232;_0x6f5c6f===_0x479769['SessionStatus'][_0x46cb7f(0x1df)]?this[_0x46cb7f(0x224)]():this['_toggleOffline']();}),this[_0x17a232(0x160)]['event$'][_0x17a232(0x122)](_0x1bc390[_0x17a232(0x2e4)](this[_0x17a232(0x13e)]))[_0x17a232(0x1a5)](_0x30f540=>{const _0x5f5768=_0x17a232,_0x38f560=_0x30f540['eventID'];_0x38f560===_0x529ed4['CollaborationEvent'][_0x5f5768(0xa0)]&&this[_0x5f5768(0x1d2)](_0x30f540),_0x38f560===_0x529ed4[_0x5f5768(0x2cd)]['USERS_LEAVE']&&this[_0x5f5768(0x296)](_0x30f540);}),this[_0x17a232(0x274)](this[_0x17a232(0x170)][_0x17a232(0x10c)](_0x53fbb0=>{const _0x223129=_0x17a232,_0x5ab70e=_0x53fbb0[_0x223129(0x242)];_0x5ab70e!=null&&this[_0x223129(0xa4)]&&_0x53fbb0['id']===_0x5ec733[_0x223129(0xd8)]['id']&&_0x5ab70e[_0x223129(0x14e)]===this[_0x223129(0xf7)]&&_0x5ab70e[_0x223129(0xd2)]===!0x1&&_0x5ab70e[_0x223129(0x17b)][_0x223129(0x22a)]>0x0&&this['_updateLocalCursor'](_0x5ab70e[_0x223129(0x17b)]);})),this[_0x17a232(0x2c3)][_0x17a232(0x184)][_0x17a232(0x122)](_0x1bc390['takeUntil'](this[_0x17a232(0x13e)]))[_0x17a232(0x1a5)](_0x702a66=>{const _0x4bc186=_0x17a232;if((_0x702a66==null?void 0x0:_0x702a66[_0x4bc186(0xf7)])!==this[_0x4bc186(0xf7)])return;const _0x219ee7={'eventID':_0x529ed4['CollaborationEvent'][_0x4bc186(0xa0)],'data':_0x702a66};this[_0x4bc186(0x1d2)](_0x219ee7);}),this['disposeWithMe'](this[_0x17a232(0x170)][_0x17a232(0x10c)](_0x1c9762=>{const _0x5d886c=_0x17a232;if(_0x1c9762['params']==null)return;const _0x2908a5=_0x1c9762[_0x5d886c(0x242)];if(_0x1c9762['id']!==_0x5ec733[_0x5d886c(0xdb)]['id']||_0x2908a5['unitId']!==this[_0x5d886c(0xf7)])return;const _0x30deb0={'id':_0x5d886c(0x2a4),'params':_0x2908a5},_0x1ade33=this['cursorInfo'];for(const [_0x2fc41f,_0xaf01d2]of _0x1ade33){const _0x158a29={'id':_0x5d886c(0x2a4),'params':{'unitId':this[_0x5d886c(0xf7)],'actions':null,'textRanges':_0xaf01d2[_0x5d886c(0x17b)]}},_0x22fb90=this[_0x5d886c(0x2ff)][_0x5d886c(0x19f)](_0x30deb0,_0x158a29,!0x1);if(_0x529ed4['isTransformMutationFailure'](_0x22fb90))throw _0x22fb90[_0x5d886c(0x30a)];_0x1ade33[_0x5d886c(0x22e)](_0x2fc41f,{..._0xaf01d2,'ranges':_0x22fb90[_0x5d886c(0x282)][_0x5d886c(0x242)][_0x5d886c(0x203)]});}queueMicrotask(()=>{const _0x4f676a=_0x5d886c;this['_cursorInfo$'][_0x4f676a(0xbe)](_0x1ade33);});})));}[_0x3f93a3(0x1d2)](_0x5d1daf){const _0x999651=_0x3f93a3;var _0x57aafd,_0xd4fa81;const {memberID:_0x48ab82,selection:_0x1d536c}=_0x5d1daf['data'],_0x26f332=_0x3b2e1b(_0x1d536c),_0x61b41a=(_0xd4fa81=(_0x57aafd=this[_0x999651(0x1a4)][_0x999651(0x301)](this['unitID'],_0x48ab82))==null?void 0x0:_0x57aafd[_0x999651(0x305)])!=null?_0xd4fa81:_0x999651(0x1a0),_0x26dd6d={'color':this[_0x999651(0x149)][_0x999651(0x2d3)](_0x48ab82),'name':_0x61b41a,'ranges':_0x26f332},_0x495b08=this[_0x999651(0x29b)];_0x495b08[_0x999651(0x22e)](_0x48ab82,_0x26dd6d),this['_cursorInfo$'][_0x999651(0xbe)](_0x495b08);}[_0x3f93a3(0x296)](_0x178866){const _0x553b4d=_0x3f93a3,{memberID:_0x3e588b}=_0x178866['data'],_0x5dd59b=this[_0x553b4d(0x29b)];_0x5dd59b['delete'](_0x3e588b),this['_cursorInfo$'][_0x553b4d(0xbe)](_0x5dd59b);}['_toggleOnline'](){const _0x246321=_0x3f93a3;var _0x554661;if(this[_0x246321(0xa4)]=!0x0,((_0x554661=this[_0x246321(0x1bd)][_0x246321(0xbf)]())==null?void 0x0:_0x554661[_0x246321(0x26b)]())!==this['unitID'])return;const _0x1761ec=this[_0x246321(0xaf)]['get'](_0x5ec733[_0x246321(0x293)])[_0x246321(0x2f8)]();Array[_0x246321(0x1e9)](_0x1761ec)&&_0x1761ec[_0x246321(0x22a)]>0x0&&this[_0x246321(0x261)](_0x1761ec);}[_0x3f93a3(0xfe)](){const _0x3b5f5f=_0x3f93a3;this[_0x3b5f5f(0xa4)]=!0x1;}};_0x1ee7ee=_0x268c6a([_0x2c7489(0x2,_0x1def49[_0x3f93a3(0x2e5)](_0x1def49[_0x3f93a3(0x14d)])),_0x2c7489(0x3,_0x1def49['Inject'](_0xc01724)),_0x2c7489(0x4,_0x1def49['Inject'](_0x479769['MemberService'])),_0x2c7489(0x5,_0x1def49[_0x3f93a3(0x2e5)](_0x3a08fe)),_0x2c7489(0x6,_0x529ed4[_0x3f93a3(0x18a)]),_0x2c7489(0x7,_0x1def49[_0x3f93a3(0xf2)]),_0x2c7489(0x8,_0x1def49['ICommandService'])],_0x1ee7ee);var _0x116097=Object[_0x3f93a3(0x239)],_0x597e1c=(_0x32b941,_0x34d167,_0x11d8b0,_0x1cbe6c)=>{const _0x598398=_0x3f93a3;for(var _0x16a168=_0x1cbe6c>0x1?void 0x0:_0x1cbe6c?_0x116097(_0x34d167,_0x11d8b0):_0x34d167,_0x2cfa00=_0x32b941[_0x598398(0x22a)]-0x1,_0x9f12d8;_0x2cfa00>=0x0;_0x2cfa00--)(_0x9f12d8=_0x32b941[_0x2cfa00])&&(_0x16a168=_0x9f12d8(_0x16a168)||_0x16a168);return _0x16a168;},_0x34183f=(_0x4e8673,_0x5a4ed6)=>(_0x3ad1fd,_0x2034b7)=>_0x5a4ed6(_0x3ad1fd,_0x2034b7,_0x4e8673);const _0x4236b8=0x12c,_0x5a3852=0x64,_0x2b218d=()=>{let _0x283df6=[],_0x3fb795=!0x1;return _0x4066e0=>{const _0x2108a4=_0x242a;_0x283df6[_0x2108a4(0x1b5)](_0x4066e0),_0x3fb795||(_0x3fb795=!0x0,setTimeout(()=>{const _0x139ca9=_0x2108a4;_0x283df6[_0x139ca9(0x2f2)](_0x193f50=>_0x193f50()),_0x283df6=[],_0x3fb795=!0x1;}));};};let _0x3fe2ff=class extends _0x1def49['RxDisposable']{constructor(_0x941db9,_0x2759fb,_0x4f55fd,_0x107f4d,_0x544e54,_0x3c4153,_0x51ad67,_0x402bc7){const _0x2857b1=_0x3f93a3;super(),_0x2d103a(this,_0x2857b1(0xa4),!0x1),_0x2d103a(this,'_init',!0x1),_0x2d103a(this,_0x2857b1(0x12b),new _0x1bc390[(_0x2857b1(0x230))](new Map())),_0x2d103a(this,_0x2857b1(0x2fd),this[_0x2857b1(0x12b)][_0x2857b1(0x228)]()),_0x2d103a(this,'_roomMembers$',new _0x1bc390[(_0x2857b1(0x230))]([])),_0x2d103a(this,'roomMembers$',this[_0x2857b1(0x1a3)]['pipe'](_0x1bc390[_0x2857b1(0x7c)](_0x4236b8))),_0x2d103a(this,_0x2857b1(0x261),_0x1def49[_0x2857b1(0x83)]((_0x503ce3,_0x1acbf6)=>{const _0x250c39=_0x2857b1,_0x25f8b1={'eventID':_0x529ed4[_0x250c39(0x2cd)][_0x250c39(0xa0)],'data':{'unitID':this[_0x250c39(0xf7)],'memberID':this[_0x250c39(0x160)][_0x250c39(0x2d2)](),'selection':_0x506429['serializeRangeWithSheet'](_0x503ce3,_0x1acbf6[_0x250c39(0x127)])}};this[_0x250c39(0x160)]['send'](_0x25f8b1,this['unitID']);},_0x5a3852)),(this[_0x2857b1(0xf7)]=_0x941db9,this[_0x2857b1(0x160)]=_0x2759fb,this[_0x2857b1(0xaf)]=_0x4f55fd,this[_0x2857b1(0x149)]=_0x107f4d,this['_memberService']=_0x544e54,this[_0x2857b1(0x1bd)]=_0x3c4153,this[_0x2857b1(0x170)]=_0x51ad67,this[_0x2857b1(0x15a)]=_0x402bc7);}get['cursorInfo'](){const _0x263f43=_0x3f93a3;return this['_cursorInfo$'][_0x263f43(0x164)]();}get['roomMembers'](){return this['_roomMembers$']['getValue']();}['dispose'](){const _0x44cc8f=_0x3f93a3;super[_0x44cc8f(0x193)](),this[_0x44cc8f(0x12b)]['next'](new Map()),this['_cursorInfo$'][_0x44cc8f(0x237)](),this[_0x44cc8f(0x1a3)][_0x44cc8f(0xbe)]([]),this['_roomMembers$'][_0x44cc8f(0x237)]();}[_0x3f93a3(0x106)](){const _0x35247a=_0x3f93a3;this['_init']||(this['_init']=!0x0,this[_0x35247a(0x160)][_0x35247a(0xa5)][_0x35247a(0x122)](_0x1bc390['takeUntil'](this[_0x35247a(0x13e)]))[_0x35247a(0x1a5)](_0x463d6f=>{const _0x313abb=_0x35247a;_0x463d6f===_0x479769['SessionStatus'][_0x313abb(0x1df)]?this['_toggleOnline']():this[_0x313abb(0xfe)]();}),this[_0x35247a(0x160)][_0x35247a(0xbd)][_0x35247a(0x122)](_0x1bc390[_0x35247a(0x2e4)](this[_0x35247a(0x13e)]))['subscribe'](_0x1a6954=>{const _0x4e3679=_0x35247a,_0x5e55b7=_0x1a6954[_0x4e3679(0xc5)];_0x5e55b7===_0x529ed4[_0x4e3679(0x2cd)]['UPDATE_CURSOR']&&this[_0x4e3679(0x1d2)](_0x1a6954),_0x5e55b7===_0x529ed4[_0x4e3679(0x2cd)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x1a6954);}),this[_0x35247a(0x281)](),this['disposeWithMe'](this['_commandService'][_0x35247a(0x10c)](_0x19f9b2=>{const _0x572088=_0x35247a;if(this['_online']&&_0x19f9b2['id']===_0x218759[_0x572088(0xe0)]['id']&&_0x19f9b2[_0x572088(0x242)][_0x572088(0x14e)]===this[_0x572088(0xf7)]){const _0x565e97=_0x19f9b2[_0x572088(0x242)];this['_updateLocalCursor'](_0x565e97['subUnitId'],_0x565e97[_0x572088(0x25b)][0x0]);}})));}[_0x3f93a3(0x1d2)](_0x2385fb){const _0x3aa0da=_0x3f93a3;var _0x2cf0fc,_0x19d5a9;const {memberID:_0x2bccc8,selection:_0x2933d0}=_0x2385fb['data'],{sheetName:_0x4e4c72,range:_0xc28510}=_0x506429['deserializeRangeWithSheet'](_0x2933d0),_0x4e35df={'name':(_0x19d5a9=(_0x2cf0fc=this[_0x3aa0da(0x1a4)][_0x3aa0da(0x301)](this[_0x3aa0da(0xf7)],_0x2bccc8))==null?void 0x0:_0x2cf0fc[_0x3aa0da(0x305)])!=null?_0x19d5a9:_0x3aa0da(0x1a0),'range':this[_0x3aa0da(0x307)](_0x4e4c72,_0xc28510),'sheetID':_0x4e4c72,'color':this[_0x3aa0da(0x149)]['assignAColorForMemberID'](_0x2bccc8),'selection':_0x2933d0},_0x1b43c5=this['cursorInfo'];_0x1b43c5[_0x3aa0da(0x22e)](_0x2bccc8,_0x4e35df),this[_0x3aa0da(0x12b)]['next'](_0x1b43c5);}[_0x3f93a3(0x296)](_0x56d818){const _0x2ac788=_0x3f93a3,{memberID:_0x416d25}=_0x56d818[_0x2ac788(0x15f)],_0x417956=this[_0x2ac788(0x29b)];_0x417956['delete'](_0x416d25),this[_0x2ac788(0x12b)][_0x2ac788(0xbe)](_0x417956);}[_0x3f93a3(0x307)](_0x3a975c,_0x1f74c2){const _0x1fc80b=_0x3f93a3;var _0x43d59c,_0x14c18c;const _0x10de12=(_0x14c18c=(_0x43d59c=this[_0x1fc80b(0x1bd)][_0x1fc80b(0x2a8)](this[_0x1fc80b(0xf7)]))==null?void 0x0:_0x43d59c['getSheetBySheetId'](_0x3a975c))==null?void 0x0:_0x14c18c[_0x1fc80b(0x185)]();return(_0x10de12==null?void 0x0:_0x10de12[_0x1fc80b(0x262)](_0x4c4eb0=>_0x1def49[_0x1fc80b(0xe9)][_0x1fc80b(0x1cc)](_0x4c4eb0,_0x1f74c2)))||_0x1f74c2;}[_0x3f93a3(0x281)](){const _0x316142=_0x3f93a3,_0x2935e7=new _0x1def49[(_0x316142(0x27a))](),_0x57a957=_0x2b218d(),_0x500cf0=()=>{const _0x3df310=_0x316142;_0x2935e7[_0x3df310(0x193)]();const _0x2731ae=(_0x307ce6,_0x499b50,_0x1bd7aa,_0x43766a)=>{const _0x4c819a=_0x3df310;let _0x24896b=[];switch(_0x307ce6['id']){case _0x218759[_0x4c819a(0x10b)]['DeleteRangeMoveLeftCommandId']:{_0x24896b=_0x218759[_0x4c819a(0x12a)](_0x307ce6,_0x43766a);break;}case _0x218759['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x24896b=_0x218759[_0x4c819a(0x181)](_0x307ce6,_0x43766a);break;}case _0x218759[_0x4c819a(0x10b)][_0x4c819a(0xae)]:{_0x24896b=_0x218759[_0x4c819a(0x29a)](_0x307ce6,_0x43766a);break;}case _0x218759[_0x4c819a(0x10b)][_0x4c819a(0x131)]:{_0x24896b=_0x218759[_0x4c819a(0x196)](_0x307ce6,_0x43766a);break;}case _0x218759[_0x4c819a(0x10b)][_0x4c819a(0x1f6)]:{_0x24896b=_0x218759[_0x4c819a(0x2dd)](_0x307ce6,_0x43766a);break;}case _0x218759[_0x4c819a(0x10b)][_0x4c819a(0x1e2)]:{_0x24896b=_0x218759[_0x4c819a(0x236)](_0x307ce6,_0x43766a);break;}case _0x218759[_0x4c819a(0x10b)][_0x4c819a(0xbc)]:{_0x24896b=_0x218759[_0x4c819a(0x2c6)](_0x307ce6,_0x43766a);break;}case _0x218759[_0x4c819a(0x10b)][_0x4c819a(0xfc)]:{_0x24896b=_0x218759['handleIRemoveCol'](_0x307ce6,_0x43766a);break;}case _0x218759[_0x4c819a(0x10b)][_0x4c819a(0xe4)]:{_0x24896b=_0x218759['handleIRemoveRow'](_0x307ce6,_0x43766a);break;}}const _0x4310ef=_0x218759[_0x4c819a(0x20c)](_0x24896b,_0x43766a),_0x238b0e=this[_0x4c819a(0x29b)][_0x4c819a(0x17c)](_0x499b50);if(_0x238b0e&&_0x4310ef){const _0x3b0a27={..._0x238b0e,'range':_0x4310ef};this[_0x4c819a(0x29b)]['set'](_0x499b50,_0x3b0a27),_0x57a957(()=>{const _0x24a576=_0x4c819a,_0x272033=this[_0x24a576(0x15a)][_0x24a576(0x15d)](_0x4310ef,_0x59d298=>(_0x272033[_0x24a576(0x193)](),_0x2731ae(_0x59d298,_0x499b50,_0x1bd7aa,_0x4310ef)));_0x2935e7[_0x24a576(0x146)](_0x272033);});}return{'redos':[],'undos':[]};};this[_0x3df310(0x29b)][_0x3df310(0x2f2)]((_0xc25ffa,_0x32db29)=>{const _0x338179=_0x3df310,{range:_0x3beb81,sheetID:_0x2aadf5}=_0xc25ffa,_0x465c8d=this[_0x338179(0x15a)][_0x338179(0x15d)](_0x3beb81,_0x5b83b1=>(_0x465c8d[_0x338179(0x193)](),_0x2731ae(_0x5b83b1,_0x32db29,_0x2aadf5,_0x3beb81)));_0x2935e7[_0x338179(0x146)](_0x465c8d);});};this[_0x316142(0x274)](_0x1def49['toDisposable'](this['_cursorInfo$'][_0x316142(0x1a5)](()=>{_0x500cf0();})));}[_0x3f93a3(0x224)](){const _0x4caeec=_0x3f93a3;var _0x4f94f9,_0x3d44a0;if(this[_0x4caeec(0xa4)]=!0x0,((_0x4f94f9=this[_0x4caeec(0x1bd)][_0x4caeec(0xbf)]())==null?void 0x0:_0x4f94f9['getUnitId']())!==this['unitID'])return;const _0x30f7c6=(_0x3d44a0=this[_0x4caeec(0xaf)][_0x4caeec(0x17c)](_0x218759[_0x4caeec(0x19e)])['getCurrentSelections']())==null?void 0x0:_0x3d44a0[0x0],_0x18083b=this[_0x4caeec(0x1bd)][_0x4caeec(0x312)](_0x1def49['UniverInstanceType'][_0x4caeec(0x134)])[_0x4caeec(0x2c9)]();_0x30f7c6&&_0x18083b&&this[_0x4caeec(0x261)](_0x18083b[_0x4caeec(0xe7)](),_0x30f7c6);}[_0x3f93a3(0xfe)](){const _0x290b6d=_0x3f93a3;this[_0x290b6d(0xa4)]=!0x1;}};_0x3fe2ff=_0x597e1c([_0x34183f(0x2,_0x1def49[_0x3f93a3(0x2e5)](_0x1def49['Injector'])),_0x34183f(0x3,_0x1def49[_0x3f93a3(0x2e5)](_0xc01724)),_0x34183f(0x4,_0x1def49[_0x3f93a3(0x2e5)](_0x479769[_0x3f93a3(0x290)])),_0x34183f(0x5,_0x1def49['IUniverInstanceService']),_0x34183f(0x6,_0x1def49[_0x3f93a3(0x19d)]),_0x34183f(0x7,_0x1def49[_0x3f93a3(0x2e5)](_0x218759['RefRangeService']))],_0x3fe2ff);var _0x592692=Object[_0x3f93a3(0x239)],_0x87c699=(_0x3a9f8d,_0xf2ae2a,_0x3a84e5,_0x41a50e)=>{const _0x20514f=_0x3f93a3;for(var _0x3cd75c=_0x41a50e>0x1?void 0x0:_0x41a50e?_0x592692(_0xf2ae2a,_0x3a84e5):_0xf2ae2a,_0x1f8906=_0x3a9f8d[_0x20514f(0x22a)]-0x1,_0x554ca9;_0x1f8906>=0x0;_0x1f8906--)(_0x554ca9=_0x3a9f8d[_0x1f8906])&&(_0x3cd75c=_0x554ca9(_0x3cd75c)||_0x3cd75c);return _0x3cd75c;},_0x3fcfbb=(_0x58642e,_0x2ededc)=>(_0x2c90c3,_0x57837c)=>_0x2ededc(_0x2c90c3,_0x57837c,_0x58642e);let _0x44815e=class extends _0x1def49[_0x3f93a3(0x191)]{constructor(_0xf3ef92,_0x2b1d67,_0x50a07b){const _0x88b0df=_0x3f93a3;super(),_0x2d103a(this,_0x88b0df(0x315),new Map()),_0x2d103a(this,_0x88b0df(0x24b),new _0x1bc390['Subject']()),(this[_0x88b0df(0x1bd)]=_0xf3ef92,this[_0x88b0df(0xaf)]=_0x2b1d67,this[_0x88b0df(0x216)]=_0x50a07b,this[_0x88b0df(0xb0)]());}[_0x3f93a3(0x193)](){const _0x268ba7=_0x3f93a3;super['dispose'](),this['_entityInit$']['complete'](),this[_0x268ba7(0x315)]['forEach'](_0x2365b0=>_0x2365b0[_0x268ba7(0x193)]());}[_0x3f93a3(0x2fa)](_0x5b287f){const _0x421909=_0x3f93a3;return this[_0x421909(0x315)][_0x421909(0x2c7)](_0x5b287f)?this[_0x421909(0x315)][_0x421909(0x17c)](_0x5b287f)[_0x421909(0x2fd)]:this[_0x421909(0x24b)][_0x421909(0x122)](_0x1bc390['filter'](_0x146d4a=>_0x146d4a[_0x421909(0xf7)]===_0x5b287f),_0x1bc390['switchMap'](_0x39b3cd=>_0x39b3cd[_0x421909(0x2fd)]));}['_init'](){const _0x30b6df=_0x3f93a3;this[_0x30b6df(0x1bd)][_0x30b6df(0x2d0)](_0x1def49[_0x30b6df(0x23e)]['UNIVER_SHEET'])[_0x30b6df(0x122)](_0x1bc390['takeUntil'](this[_0x30b6df(0x13e)]))['subscribe'](async _0x249b7b=>{const _0x4e404e=_0x30b6df,_0x249e02=_0x249b7b[_0x4e404e(0x26b)](),_0x4e1045=await this[_0x4e404e(0x2f7)](_0x249e02);this[_0x4e404e(0x24b)]['next'](_0x4e1045),this[_0x4e404e(0x315)]['set'](_0x249e02,_0x4e1045);}),this[_0x30b6df(0x1bd)][_0x30b6df(0x2d0)](_0x1def49[_0x30b6df(0x23e)][_0x30b6df(0x125)])['pipe'](_0x1bc390[_0x30b6df(0x2e4)](this[_0x30b6df(0x13e)]))[_0x30b6df(0x122)](_0x1bc390[_0x30b6df(0xba)](_0x5a9a47=>!_0x5a9a47[_0x30b6df(0x26b)]()[_0x30b6df(0x284)]('__')))[_0x30b6df(0x1a5)](async _0x1667e9=>{const _0x4fa3f7=_0x30b6df,_0xd6da=_0x1667e9['getUnitId'](),_0x3e3898=await this[_0x4fa3f7(0x1a7)](_0xd6da);this[_0x4fa3f7(0x24b)][_0x4fa3f7(0xbe)](_0x3e3898),this[_0x4fa3f7(0x315)]['set'](_0xd6da,_0x3e3898);}),_0x1bc390[_0x30b6df(0x26d)](this['_univerInstanceService'][_0x30b6df(0x231)](_0x1def49['UniverInstanceType'][_0x30b6df(0x125)]),this[_0x30b6df(0x1bd)]['getTypeOfUnitDisposed$'](_0x1def49['UniverInstanceType'][_0x30b6df(0x134)]))[_0x30b6df(0x122)](_0x1bc390['takeUntil'](this[_0x30b6df(0x13e)]))['subscribe'](_0x588d95=>{const _0x44c96d=_0x30b6df,_0x2bbc0f=_0x588d95[_0x44c96d(0x26b)](),_0x273ad3=this['_entities'][_0x44c96d(0x17c)](_0x2bbc0f);_0x273ad3&&(_0x273ad3[_0x44c96d(0x193)](),this['_entities'][_0x44c96d(0xd5)](_0x2bbc0f));});}async[_0x3f93a3(0x2f7)](_0x3111b2){const _0x14fddd=_0x3f93a3,_0x16dffb=await this[_0x14fddd(0x216)][_0x14fddd(0x1e1)](_0x3111b2),_0x147618=this[_0x14fddd(0xaf)][_0x14fddd(0x18e)](_0x3fe2ff,_0x3111b2,_0x16dffb);return _0x147618['init'](),_0x147618;}async[_0x3f93a3(0x1a7)](_0x45321a){const _0x4c0dfe=_0x3f93a3,_0x505c57=await this[_0x4c0dfe(0x216)]['requireSession'](_0x45321a),_0x25f2b3=this[_0x4c0dfe(0xaf)]['createInstance'](_0x1ee7ee,_0x45321a,_0x505c57);return _0x25f2b3[_0x4c0dfe(0x106)](),_0x25f2b3;}};_0x44815e=_0x87c699([_0x3fcfbb(0x0,_0x1def49[_0x3f93a3(0xf2)]),_0x3fcfbb(0x1,_0x1def49[_0x3f93a3(0x2e5)](_0x1def49[_0x3f93a3(0x14d)])),_0x3fcfbb(0x2,_0x1def49['Inject'](_0x479769[_0x3f93a3(0x1ca)]))],_0x44815e);const _0x564637=0x14,_0x31c080=0xc8,_0x5eac8d=0x4,_0x175f1f=0x5;function _0x135051(_0x39e5ee,_0x3318b8){const _0x1e51b5=_0x3f93a3;let {radius:_0x128eb4,width:_0x80a8,height:_0x84c4a5}=_0x3318b8;_0x128eb4=_0x128eb4!=null?_0x128eb4:0x0,_0x80a8=_0x80a8!=null?_0x80a8:0x1e,_0x84c4a5=_0x84c4a5!=null?_0x84c4a5:0x1e;let _0x330c48=0x0,_0xc8955a=0x0,_0x4ce58f=0x0;_0x330c48=_0xc8955a=_0x4ce58f=Math['min'](_0x128eb4,_0x80a8/0x2,_0x84c4a5/0x2),_0x39e5ee[_0x1e51b5(0x11c)](),_0x39e5ee[_0x1e51b5(0x79)](_0x330c48,0x0),_0x39e5ee[_0x1e51b5(0x29f)](_0x80a8-_0xc8955a,0x0),_0x39e5ee[_0x1e51b5(0x28a)](_0x80a8-_0xc8955a,_0xc8955a,_0xc8955a,Math['PI']*0x3/0x2,0x0,!0x1),_0x39e5ee[_0x1e51b5(0x29f)](_0x80a8,_0x84c4a5-_0x4ce58f),_0x39e5ee[_0x1e51b5(0x28a)](_0x80a8-_0x4ce58f,_0x84c4a5-_0x4ce58f,_0x4ce58f,0x0,Math['PI']/0x2,!0x1),_0x39e5ee[_0x1e51b5(0x29f)](0x0,_0x84c4a5),_0x39e5ee[_0x1e51b5(0x29f)](0x0,_0x330c48),_0x39e5ee[_0x1e51b5(0x28a)](_0x330c48,_0x330c48,_0x330c48,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x39e5ee['closePath'](),_0x3318b8[_0x1e51b5(0x9a)]&&(_0x39e5ee[_0x1e51b5(0x1a2)](),_0x39e5ee[_0x1e51b5(0x2ce)]=_0x3318b8['fill'],_0x3318b8[_0x1e51b5(0x1ea)]==='evenodd'?_0x39e5ee[_0x1e51b5(0x9a)](_0x1e51b5(0x13a)):_0x39e5ee['fill'](),_0x39e5ee['restore']());}class _0x1995c7 extends _0x451005[_0x3f93a3(0xc4)]{constructor(_0x5612d0,_0xafca90){const _0x5c2368=_0x3f93a3;super(_0x5612d0,_0xafca90),_0x2d103a(this,_0x5c2368(0x12f)),_0x2d103a(this,_0x5c2368(0x9f)),(this['color']=_0xafca90==null?void 0x0:_0xafca90[_0x5c2368(0x12f)],this[_0x5c2368(0x9f)]=_0xafca90==null?void 0x0:_0xafca90[_0x5c2368(0x9f)]);}static[_0x3f93a3(0xdd)](_0x1077a5,_0x4a74df){const _0x184405=_0x3f93a3,{text:_0x5c6353,color:_0x407730}=_0x4a74df;_0x1077a5[_0x184405(0x1a2)](),_0x1077a5[_0x184405(0x233)]=_0x184405(0x2e1);const _0x9c1125=_0x1077a5[_0x184405(0x28d)](_0x5c6353)[_0x184405(0xea)],_0x439e7b=Math[_0x184405(0x219)](_0x9c1125+0x2*_0x5eac8d,_0x31c080);_0x135051(_0x1077a5,{'height':_0x564637,'radius':0x4,'width':_0x439e7b,'fill':_0x407730}),_0x1077a5[_0x184405(0x2ce)]=_0x184405(0x82);const _0xaaf016=_0x5eac8d,_0x27d83d=_0x564637-_0x175f1f,_0x58d736=_0x31c080-0x2*_0x5eac8d;if(_0x9c1125>_0x58d736){let _0x5e913c='',_0x5de62c=0x0;for(const _0x5e51f1 of _0x5c6353){const _0x46ed1d=_0x1077a5['measureText'](_0x5e51f1)[_0x184405(0xea)];if(_0x5de62c+_0x46ed1d<=_0x58d736-_0x1077a5[_0x184405(0x28d)](_0x184405(0x271))[_0x184405(0xea)])_0x5e913c+=_0x5e51f1,_0x5de62c+=_0x46ed1d;else{_0x5e913c+='...';break;}}_0x1077a5['fillText'](_0x5e913c,_0xaaf016,_0x27d83d);}else _0x1077a5['fillText'](_0x5c6353,_0xaaf016,_0x27d83d);_0x1077a5[_0x184405(0x1d6)]();}[_0x3f93a3(0x118)](_0x228885){_0x1995c7['drawWith'](_0x228885,this);}}const _0x22cea3=_0x3f93a3(0x310),_0x3510f7=_0x3f93a3(0x292),_0x4c3574='collab-rect-range-',_0x215561=0x6,_0x325cea=1.5,_0x1992f9=0x4,_0x168893=1.5,_0x3c7d18=_0x3f93a3(0x21d);class _0x6e6bc{constructor(_0x2a548e,_0x214890,_0x4e04da,_0x3f5974){const _0x166719=_0x3f93a3;_0x2d103a(this,_0x166719(0x2b4),[]),_0x2d103a(this,_0x166719(0x23a),null),_0x2d103a(this,_0x166719(0x211),null),_0x2d103a(this,_0x166719(0x1ae),null),_0x2d103a(this,'_hideTimer',null),_0x2d103a(this,_0x166719(0x2e0),null),(this[_0x166719(0x2e3)]=_0x2a548e,this['_scene']=_0x214890,this[_0x166719(0x13b)]=_0x4e04da,this['_document']=_0x3f5974,this[_0x166719(0x1b3)]());}set['_hover'](_0x18c4d6){const _0x45c8ab=_0x3f93a3;_0x18c4d6?(this[_0x45c8ab(0x1ae)]&&this[_0x45c8ab(0x1ae)]['hide'](),this['_textBubble']&&this[_0x45c8ab(0x211)][_0x45c8ab(0xc9)]()):(this[_0x45c8ab(0x1ae)]&&this['_anchorDot'][_0x45c8ab(0xc9)](),this['_textBubble']&&this[_0x45c8ab(0x211)][_0x45c8ab(0xfd)]());}['dispose'](){const _0xd4936b=_0x3f93a3;for(const _0x28ef9f of this[_0xd4936b(0x2b4)])_0x28ef9f[_0xd4936b(0x193)]();this[_0xd4936b(0x211)]&&this[_0xd4936b(0x211)]['dispose'](),this[_0xd4936b(0x1ae)]&&this[_0xd4936b(0x1ae)]['dispose'](),this[_0xd4936b(0x23a)]&&this['_anchor'][_0xd4936b(0x193)](),this[_0xd4936b(0x2e0)]&&this[_0xd4936b(0x2e0)]();}[_0x3f93a3(0x1b3)](){const _0x97a4f1=_0x3f93a3;var _0x329928;const {_docSkeleton:_0x5e019e,_document:_0x2d3703}=this,{color:_0x3aa1b1,name:_0x1c2814,ranges:_0x41aa40}=this['_cursor'],_0x11b7c1=_0x2d3703[_0x97a4f1(0xb9)](),{docsLeft:_0x1f4fd7,docsTop:_0x1903eb}=_0x11b7c1,_0x49e837=new _0x38c4f6[(_0x97a4f1(0xfb))](_0x11b7c1,_0x5e019e);for(const {startOffset:_0x7c2ed3,endOffset:_0x35086b,rangeType:_0x1666e0,segmentId:_0x4570ae,segmentPage:_0x3e8700,collapsed:_0xa0f6ed,isActive:_0x366bdf}of _0x41aa40){const _0x21194d=_0x5e019e[_0x97a4f1(0xc1)](_0x7c2ed3,!0x0,_0x4570ae,_0x3e8700);let _0x36642a=_0x5e019e['findNodePositionByCharIndex'](_0x35086b,!0x0,_0x4570ae,_0x3e8700);if(_0x36642a==null&&(_0x36642a=_0x5e019e[_0x97a4f1(0xc1)](_0x35086b-0x1,!0x1,_0x4570ae,_0x3e8700)),_0x366bdf){const {contentBoxPointGroup:_0x27ceba}=_0x49e837[_0x97a4f1(0x250)](_0x36642a,_0x36642a);if(_0x27ceba['length']===0x0)continue;this['_drawAnchor'](_0x3aa1b1,_0x27ceba,_0x1f4fd7,_0x1903eb,_0x1c2814),this[_0x97a4f1(0x2e0)]=this[_0x97a4f1(0x1fa)]();}if(_0x21194d&&_0x36642a){if(_0x1666e0===_0x1def49[_0x97a4f1(0x162)][_0x97a4f1(0x1b4)]){const _0x48ccde=new _0x38c4f6[(_0x97a4f1(0x2a3))](_0x11b7c1,_0x5e019e),{pointGroup:_0x28509b}=(_0x329928=_0x48ccde['getRangePointData'](_0x21194d,_0x36642a))!=null?_0x329928:{};if(_0x28509b==null||_0x28509b['length']===0x0)continue;this[_0x97a4f1(0x1bb)](_0x3aa1b1,_0x28509b,_0x1f4fd7,_0x1903eb);}else{if(!_0xa0f6ed){const {borderBoxPointGroup:_0x4e4359}=_0x49e837[_0x97a4f1(0x250)](_0x21194d,_0x36642a);if(_0x4e4359[_0x97a4f1(0x22a)]===0x0)continue;this[_0x97a4f1(0x2e9)](_0x3aa1b1,_0x4e4359,_0x1f4fd7,_0x1903eb);}}}}}['_drawAnchor'](_0x3a4553,_0x193004,_0x3c0162,_0x5c278e,_0x7fb4eb){const _0xd3cd6f=_0x3f93a3,_0x2fbc35=this[_0xd3cd6f(0x254)](_0x193004),{left:_0x2d9ad8,top:_0xb2ea11,height:_0x57d114}=_0x2fbc35,_0x349e6c=this['_getScale'](),_0x5e4e87=_0x168893/_0x349e6c,_0x51219f=new _0x451005[(_0xd3cd6f(0x278))](_0x22cea3+_0x1def49[_0xd3cd6f(0x20e)]['generateRandomId'](_0x215561),{'left':_0x2d9ad8+_0x3c0162-_0x5e4e87,'top':_0xb2ea11+_0x5c278e,'height':_0x57d114,'width':_0x325cea,'fill':_0x3a4553||_0x451005[_0xd3cd6f(0x166)](_0x1def49['COLORS']['black'],0x0),'strokeWidth':_0x5e4e87,'stroke':_0x3c7d18,'evented':!0x0});this[_0xd3cd6f(0x23a)]=_0x51219f,this[_0xd3cd6f(0x238)]['addObject'](_0x51219f,_0x38c4f6['TEXT_RANGE_LAYER_INDEX']);const _0x4637fe=new _0x451005[(_0xd3cd6f(0x278))](_0x22cea3+_0x1def49[_0xd3cd6f(0x20e)][_0xd3cd6f(0x86)](_0x215561),{'left':_0x2d9ad8+_0x3c0162-_0x5e4e87,'top':_0xb2ea11+_0x5c278e-_0x1992f9/0x2,'height':_0x1992f9,'width':_0x1992f9,'fill':_0x3a4553||_0x451005[_0xd3cd6f(0x166)](_0x1def49[_0xd3cd6f(0x103)][_0xd3cd6f(0xcb)],0x0),'strokeWidth':0x0,'stroke':_0x3a4553||_0x451005[_0xd3cd6f(0x166)](_0x1def49['COLORS'][_0xd3cd6f(0xcb)],0x0),'evented':!0x1});this[_0xd3cd6f(0x1ae)]=_0x4637fe,this[_0xd3cd6f(0x238)][_0xd3cd6f(0x22f)](_0x4637fe,_0x38c4f6['TEXT_RANGE_LAYER_INDEX']);const _0x4c80b5=new _0x1995c7(_0x22cea3+_0x1def49[_0xd3cd6f(0x20e)][_0xd3cd6f(0x86)](_0x215561),{'left':_0x2d9ad8+_0x3c0162-_0x5e4e87,'top':_0xb2ea11+_0x5c278e-_0x564637,'text':_0x7fb4eb,'color':_0x3a4553});this[_0xd3cd6f(0x211)]=_0x4c80b5,this[_0xd3cd6f(0x238)][_0xd3cd6f(0x22f)](_0x4c80b5,_0x38c4f6[_0xd3cd6f(0x22d)]),this[_0xd3cd6f(0xf1)]=!0x1;}['_handleHover'](){const _0x36e9e7=_0x3f93a3,_0x2cfa81=this['_anchor'][_0x36e9e7(0x195)][_0x36e9e7(0x10f)](()=>{const _0x365f30=_0x36e9e7;this[_0x365f30(0xf1)]=!0x0;}),_0x427bac=this[_0x36e9e7(0x23a)][_0x36e9e7(0x91)][_0x36e9e7(0x10f)](()=>{const _0x3ac82d=_0x36e9e7;this[_0x3ac82d(0x275)]&&clearTimeout(this[_0x3ac82d(0x275)]),this[_0x3ac82d(0x275)]=setTimeout(()=>{const _0x3b7dc3=_0x3ac82d;this[_0x3b7dc3(0xf1)]=!0x1;},0x7d0);});return()=>{const _0x9071ff=_0x36e9e7;_0x2cfa81[_0x9071ff(0x151)](),_0x427bac[_0x9071ff(0x151)]();};}['_drawTextRange'](_0x430fa5,_0x56cccd,_0x11e203,_0x2dff2c){const _0x23f797=_0x3f93a3,_0x587a54=new _0x1def49[(_0x23f797(0x141))](_0x430fa5)[_0x23f797(0x2de)](0.2)[_0x23f797(0x28e)](),_0x4bb3ae=new _0x451005[(_0x23f797(0x25f))](_0x3510f7+_0x1def49[_0x23f797(0x20e)][_0x23f797(0x86)](_0x215561),{'pointsGroup':_0x56cccd,'fill':_0x587a54||_0x451005[_0x23f797(0x166)](_0x1def49[_0x23f797(0x103)][_0x23f797(0xcb)],0.2),'left':_0x11e203,'top':_0x2dff2c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x23f797(0x2b4)][_0x23f797(0x1b5)](_0x4bb3ae),this[_0x23f797(0x238)][_0x23f797(0x22f)](_0x4bb3ae,_0x38c4f6[_0x23f797(0x22d)]);}['_drawRectRange'](_0x58f7f7,_0x22903c,_0x5e8cc7,_0x35f2f0){const _0x5d1c86=_0x3f93a3,_0x16abcc=new _0x1def49[(_0x5d1c86(0x141))](_0x58f7f7)['setAlpha'](0.2)[_0x5d1c86(0x28e)](),_0x390af6=new _0x451005[(_0x5d1c86(0x25f))](_0x4c3574+_0x1def49[_0x5d1c86(0x20e)]['generateRandomId'](_0x215561),{'pointsGroup':_0x22903c,'fill':_0x16abcc||_0x451005[_0x5d1c86(0x166)](_0x1def49[_0x5d1c86(0x103)]['black'],0.2),'left':_0x5e8cc7,'top':_0x35f2f0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5d1c86(0x2b4)][_0x5d1c86(0x1b5)](_0x390af6),this[_0x5d1c86(0x238)]['addObject'](_0x390af6,_0x38c4f6[_0x5d1c86(0x22d)]);}[_0x3f93a3(0x254)](_0x1002d9){const _0x554eda=_0x1002d9[0x0],_0x29e119=_0x554eda[0x0],_0x469161=_0x554eda[0x2],{x:_0x4517e6,y:_0x436647}=_0x29e119,{x:_0x2c4a37,y:_0x116c80}=_0x469161;return{'left':_0x4517e6,'top':_0x436647,'width':_0x2c4a37-_0x4517e6,'height':_0x116c80-_0x436647};}[_0x3f93a3(0x295)](){const _0x16cb47=_0x3f93a3,{scaleX:_0x78722c,scaleY:_0xfb43e}=this[_0x16cb47(0x238)][_0x16cb47(0x24c)]();return Math[_0x16cb47(0x2ab)](_0x78722c,_0xfb43e);}}var _0x38f3f2=Object[_0x3f93a3(0x239)],_0x53afb=(_0x72c903,_0x3dc9c8,_0x55dc46,_0x360103)=>{for(var _0x4796f0=_0x360103>0x1?void 0x0:_0x360103?_0x38f3f2(_0x3dc9c8,_0x55dc46):_0x3dc9c8,_0x456fd3=_0x72c903['length']-0x1,_0x4a29af;_0x456fd3>=0x0;_0x456fd3--)(_0x4a29af=_0x72c903[_0x456fd3])&&(_0x4796f0=_0x4a29af(_0x4796f0)||_0x4796f0);return _0x4796f0;},_0xc56790=(_0x1f23ab,_0x4cafcd)=>(_0x4ad8fe,_0x1d226c)=>_0x4cafcd(_0x4ad8fe,_0x1d226c,_0x1f23ab);let _0x12384c=class extends _0x1def49[_0x3f93a3(0x191)]{constructor(_0xae3d92,_0x3447c7,_0x5144eb,_0x5447cb,_0x5249c8){const _0x2e04fe=_0x3f93a3;super(),_0x2d103a(this,_0x2e04fe(0x183),[]),_0x2d103a(this,'_cursors',[]),(this['_context']=_0xae3d92,this[_0x2e04fe(0x126)]=_0x3447c7,this[_0x2e04fe(0x111)]=_0x5144eb,this['_commandService']=_0x5447cb,this[_0x2e04fe(0xa8)]=_0x5249c8,this[_0x2e04fe(0xb0)]());}[_0x3f93a3(0xb0)](){const _0x31cc9b=_0x3f93a3,_0x56c7cd=this['_context'][_0x31cc9b(0x14e)],_0x28b415=this['_docSkeletonManagerService'];this[_0x31cc9b(0x274)](_0x1bc390[_0x31cc9b(0x153)]([this[_0x31cc9b(0x111)]['getCollabCursors$'](_0x56c7cd),this[_0x31cc9b(0xa8)][_0x31cc9b(0x2af)]])['pipe'](_0x4ab621[_0x31cc9b(0x2bb)](([_0x5d828c,_0x151d29])=>({'skeleton':_0x28b415[_0x31cc9b(0x154)](),'cursors':[..._0x5d828c[_0x31cc9b(0x2ae)]()][_0x31cc9b(0x221)](_0x5c0a49=>({..._0x5c0a49,'color':this[_0x31cc9b(0xa8)][_0x31cc9b(0x85)](_0x5c0a49[_0x31cc9b(0x12f)])}))})))['subscribe'](_0x13d4cc=>{const _0x32f836=_0x31cc9b;if(this[_0x32f836(0x81)](),_0x13d4cc){const {skeleton:_0x498174,cursors:_0x612fdc}=_0x13d4cc;this['_updateCollabCursors'](_0x498174,_0x612fdc);}})),this[_0x31cc9b(0x313)](),this[_0x31cc9b(0x2c1)]();}[_0x3f93a3(0x20f)](_0x10d1b1,_0x22a39f){const _0x4dd193=_0x3f93a3,{scene:_0x21702e,mainComponent:_0x2be3ee}=this['_context'],_0x3b9f63=_0x22a39f['map'](_0x162d19=>new _0x6e6bc(_0x162d19,_0x21702e,_0x10d1b1,_0x2be3ee));this[_0x4dd193(0x183)]=_0x3b9f63,this['_cursors']=_0x22a39f;}[_0x3f93a3(0x1d3)](){const _0x28a1c8=_0x3f93a3;this['_removeCollabCursors']();const {scene:_0xfe7c6f,mainComponent:_0x3c272c}=this[_0x28a1c8(0xa2)],_0x19f031=this[_0x28a1c8(0x126)][_0x28a1c8(0x154)](),_0x1ae8d3=this[_0x28a1c8(0x27f)]['map'](_0x2bd131=>new _0x6e6bc(_0x2bd131,_0xfe7c6f,_0x19f031,_0x3c272c));this['_cursorShapes']=_0x1ae8d3;}[_0x3f93a3(0x81)](){const _0x37e282=_0x3f93a3;this[_0x37e282(0x183)][_0x37e282(0x2f2)](_0x3faae4=>_0x3faae4[_0x37e282(0x193)]()),this[_0x37e282(0x183)]=[];}[_0x3f93a3(0x2c1)](){const _0x4b2e49=_0x3f93a3,_0x48c707=[_0x38c4f6[_0x4b2e49(0x150)]['id']];this['disposeWithMe'](this[_0x4b2e49(0x170)]['onCommandExecuted'](_0x3408bd=>{const _0x51a6e6=_0x4b2e49;_0x48c707[_0x51a6e6(0x110)](_0x3408bd['id'])&&_0x3408bd[_0x51a6e6(0x242)]['unitId']===this[_0x51a6e6(0xa2)][_0x51a6e6(0x14e)]&&this[_0x51a6e6(0x1d3)]();}));}[_0x3f93a3(0x313)](){const _0x3d5576=_0x3f93a3;this['disposeWithMe'](_0x1def49['fromEventSubject'](this[_0x3d5576(0xa2)][_0x3d5576(0x2cf)][_0x3d5576(0x24e)])[_0x3d5576(0x122)](_0x4ab621[_0x3d5576(0xba)](_0x50054a=>_0x50054a['type']===_0x451005[_0x3d5576(0x286)][_0x3d5576(0x2f5)]),_0x4ab621[_0x3d5576(0x2c4)](0x10))[_0x3d5576(0x1a5)](()=>{const _0x857096=_0x3d5576;this[_0x857096(0x1d3)]();}));}};_0x12384c=_0x53afb([_0xc56790(0x1,_0x1def49[_0x3f93a3(0x2e5)](_0x5ec733[_0x3f93a3(0x2d8)])),_0xc56790(0x2,_0x1def49[_0x3f93a3(0x2e5)](_0x44815e)),_0xc56790(0x3,_0x1def49[_0x3f93a3(0x19d)]),_0xc56790(0x4,_0x1def49[_0x3f93a3(0x2e5)](_0x1def49[_0x3f93a3(0x140)]))],_0x12384c);const _0x5d5f6c=0x1,_0x57dca7=1.5;class _0x57f453 extends _0x451005[_0x3f93a3(0xc4)]{constructor(_0x970509,_0xbebc3b){const _0x30cba2=_0x3f93a3;super(_0x970509,_0xbebc3b),_0x2d103a(this,_0x30cba2(0x245)),_0x2d103a(this,_0x30cba2(0x1c1),!0x1),_0x2d103a(this,_0x30cba2(0x17a)),_0x2d103a(this,_0x30cba2(0x21e),''),_0x2d103a(this,_0x30cba2(0x1c6),_0x30cba2(0x89)),_0x2d103a(this,_0x30cba2(0x13c)),(_0xbebc3b&&this[_0x30cba2(0x2b3)](_0xbebc3b),this[_0x30cba2(0x195)][_0x30cba2(0x10f)](()=>this[_0x30cba2(0x2b3)]({'hovered':!0x0})),this['onPointerLeave$'][_0x30cba2(0x10f)](()=>this[_0x30cba2(0x2b3)]({'hovered':!0x1})));}[_0x3f93a3(0x2b3)](_0x4478bc){const _0x1f0321=_0x3f93a3;var _0x4da905,_0x465af9,_0x5b59f2,_0x57f0b6,_0x40d6cf,_0x57545e;this[_0x1f0321(0x245)]=(_0x4da905=_0x4478bc['color'])!=null?_0x4da905:this[_0x1f0321(0x245)],this[_0x1f0321(0x1c1)]=(_0x465af9=_0x4478bc[_0x1f0321(0x8f)])!=null?_0x465af9:this[_0x1f0321(0x1c1)],this[_0x1f0321(0x17a)]=(_0x5b59f2=_0x4478bc[_0x1f0321(0x127)])!=null?_0x5b59f2:this['_range'],this['_name']=(_0x57f0b6=_0x4478bc['name'])!=null?_0x57f0b6:this['_name'],this[_0x1f0321(0x1c6)]=(_0x40d6cf=_0x4478bc[_0x1f0321(0x8b)])!=null?_0x40d6cf:this[_0x1f0321(0x1c6)],this[_0x1f0321(0x13c)]=(_0x57545e=_0x4478bc[_0x1f0321(0x24a)])!=null?_0x57545e:this[_0x1f0321(0x13c)],this[_0x1f0321(0x187)]({'width':_0x4478bc['width'],'height':_0x4478bc[_0x1f0321(0x27c)]});}[_0x3f93a3(0xe2)](_0x496894){const _0x1bf54b=_0x3f93a3,{row:_0x18a6cf,column:_0x3f018f}=_0x496894;if(_0x18a6cf>=this['_range'][_0x1bf54b(0x142)]&&_0x18a6cf<=this[_0x1bf54b(0x17a)][_0x1bf54b(0x1b7)]&&_0x3f018f>=this['_range'][_0x1bf54b(0x19c)]&&_0x3f018f<=this[_0x1bf54b(0x17a)]['endColumn']){this[_0x1bf54b(0x2b3)]({'hovered':!0x0});return;}this[_0x1bf54b(0x2b3)]({'hovered':!0x1});}[_0x3f93a3(0x258)](_0x556b3e){return!0x1;}[_0x3f93a3(0x118)](_0x530cc3){const _0x40789d=_0x3f93a3;_0x451005[_0x40789d(0x278)][_0x40789d(0xdd)](_0x530cc3,{'width':this[_0x40789d(0xea)],'height':this['height'],'strokeWidth':_0x57dca7,'stroke':this[_0x40789d(0x245)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x40789d(0x1c1)]&&(_0x530cc3[_0x40789d(0x1a2)](),_0x530cc3['transform'](0x1,0x0,0x0,0x1,this[_0x40789d(0xea)],this[_0x40789d(0x1c6)]===_0x40789d(0xd6)?0x0:-0x14),_0x1995c7[_0x40789d(0xdd)](_0x530cc3,{'text':this['_name'],'color':this[_0x40789d(0x245)]}),_0x530cc3[_0x40789d(0x1d6)]());}}var _0x12c4b3=Object[_0x3f93a3(0x239)],_0x5dfd55=(_0x58d13d,_0x371b60,_0x4eafb7,_0x5a7e12)=>{const _0x13842a=_0x3f93a3;for(var _0x33414c=_0x5a7e12>0x1?void 0x0:_0x5a7e12?_0x12c4b3(_0x371b60,_0x4eafb7):_0x371b60,_0x1cfa57=_0x58d13d[_0x13842a(0x22a)]-0x1,_0x288d85;_0x1cfa57>=0x0;_0x1cfa57--)(_0x288d85=_0x58d13d[_0x1cfa57])&&(_0x33414c=_0x288d85(_0x33414c)||_0x33414c);return _0x33414c;},_0x4bc728=(_0x30cab0,_0x298a05)=>(_0x154179,_0x301bc3)=>_0x298a05(_0x154179,_0x301bc3,_0x30cab0);const _0x200e3f=0x1389;let _0xde1d68=class extends _0x1def49[_0x3f93a3(0x191)]{constructor(_0x2bc52e,_0x2d283f,_0x471d88,_0x5dbde6){const _0x41896c=_0x3f93a3;super(),_0x2d103a(this,_0x41896c(0x27f),new Set()),_0x2d103a(this,_0x41896c(0x1fc),null),(this[_0x41896c(0xa2)]=_0x2bc52e,this['_sheetSkeletonManagerService']=_0x2d283f,this[_0x41896c(0x111)]=_0x471d88,this[_0x41896c(0xa8)]=_0x5dbde6,this[_0x41896c(0xb0)]());}[_0x3f93a3(0xb0)](){const _0x43cb1d=_0x3f93a3;this[_0x43cb1d(0x16a)][_0x43cb1d(0x9b)][_0x43cb1d(0x122)](_0x4ab621[_0x43cb1d(0x2e4)](this[_0x43cb1d(0x13e)]),_0x4ab621[_0x43cb1d(0x1ec)](_0x2309c4=>{const _0x5569bd=_0x43cb1d;if(_0x2309c4){const _0x4a043c=_0x2309c4['sheetId'];return _0x1bc390[_0x5569bd(0x153)](this[_0x5569bd(0x111)][_0x5569bd(0x2fa)](this[_0x5569bd(0xa2)][_0x5569bd(0x14e)]),this[_0x5569bd(0xa8)][_0x5569bd(0x2af)])[_0x5569bd(0x122)](_0x4ab621[_0x5569bd(0x2bb)](([_0x2b15be,_0x248f28])=>{const _0x50b782=_0x5569bd,_0x185022=new Map();return _0x2b15be[_0x50b782(0x2f2)]((_0x10cfc6,_0x27cc99)=>{const _0x191e98=_0x50b782;if(_0x10cfc6['sheetID']===_0x4a043c){const _0xcf0041={..._0x10cfc6};_0xcf0041[_0x191e98(0x12f)]=this['_themeService'][_0x191e98(0x85)](_0x10cfc6[_0x191e98(0x12f)]),_0x185022[_0x191e98(0x22e)](_0x27cc99,_0xcf0041);}}),{'skeleton':_0x2309c4,'cursors':_0x185022};}));}return _0x1bc390['of']({'skeleton':null,'cursors':new Map()});}))[_0x43cb1d(0x1a5)](({skeleton:_0x2fecbf,cursors:_0xd64df8})=>{const _0x393706=_0x43cb1d;this[_0x393706(0x81)](),_0x2fecbf&&this[_0x393706(0x20f)](_0x2fecbf,_0xd64df8);}),this[_0x43cb1d(0x16a)][_0x43cb1d(0x9b)]['subscribe'](_0x5b4c84=>{const _0xc99c7f=_0x43cb1d;if(_0x5b4c84==null)return;const {skeleton:_0x355044}=_0x5b4c84,{scene:_0x5d4504}=this[_0xc99c7f(0xa2)];_0x5d4504[_0xc99c7f(0x17d)][_0xc99c7f(0x10f)](_0x1def49['debounce'](_0x42b5ce=>{const _0xf47ffe=_0xc99c7f;var _0x48567a,_0x4bb55a;const {offsetX:_0x33bf09,offsetY:_0x30dfd9}=_0x42b5ce,{x:_0x123d96,y:_0x4102be}=_0x5d4504['getRelativeToViewportCoord'](_0x451005[_0xf47ffe(0x263)][_0xf47ffe(0x198)]([_0x33bf09,_0x30dfd9])),{scaleX:_0x17e14d,scaleY:_0x461072}=_0x5d4504[_0xf47ffe(0x24c)](),_0x2de0cc=_0x5d4504['getViewport'](_0x451005[_0xf47ffe(0x303)]['VIEW_MAIN']),_0xbf051a=_0x5d4504[_0xf47ffe(0x2d6)](_0x451005[_0xf47ffe(0x263)][_0xf47ffe(0x198)]([_0x123d96,_0x4102be]),_0x2de0cc),_0x41df05=_0x355044['getCellPositionByOffset'](_0x33bf09,_0x30dfd9,_0x17e14d,_0x461072,_0xbf051a);((_0x48567a=this['_lastPointer'])==null?void 0x0:_0x48567a['column'])===_0x41df05['column']&&((_0x4bb55a=this[_0xf47ffe(0x1fc)])==null?void 0x0:_0x4bb55a[_0xf47ffe(0x2f6)])===_0x41df05['row']||this[_0xf47ffe(0x27f)][_0xf47ffe(0x2f2)](_0x5c5ec1=>{_0x5c5ec1['onMouseMove'](_0x41df05);});},0x64));});}[_0x3f93a3(0x20f)](_0xe42419,_0x15c810){const _0x4ab313=_0x3f93a3;var _0x59b66b;const _0x8114c3=(_0x59b66b=this[_0x4ab313(0x16a)][_0x4ab313(0x10e)]())==null?void 0x0:_0x59b66b[_0x4ab313(0x90)];if(!_0x8114c3)return;const _0x47b446=this[_0x4ab313(0x1a8)]();if(!_0x47b446)return;this[_0x4ab313(0x27f)][_0x4ab313(0x2f2)](_0x21bfe0=>{_0x21bfe0['makeDirty']();});const {scene:_0x4537a8}=_0x47b446,_0x14695f=_0x1e8e35(Array[_0x4ab313(0x1cb)](_0x15c810[_0x4ab313(0x2ae)]()))[_0x4ab313(0x2bb)](_0x40b8f5=>{const _0x735c82=_0x4ab313,{color:_0x405e06,range:_0x34a93c,name:_0x4e6a93,selection:_0x12758d,sheetID:_0x1baf73}=_0x40b8f5,{startColumn:_0x390d53,startRow:_0xe9af84,endColumn:_0xc26f2b,endRow:_0x2e6421}=_0x34a93c,_0x791476=_0x25374d[_0x735c82(0x1c0)](_0xe9af84,_0x390d53,_0x4537a8,_0x8114c3),_0x208961=_0x25374d[_0x735c82(0x1c0)](_0x2e6421,_0xc26f2b,_0x4537a8,_0x8114c3),{columnHeaderHeightAndMarginTop:_0x467c8a}=_0x8114c3,{startX:_0x4573de,startY:_0x42b712}=_0x791476,{endX:_0x23428e,endY:_0x3b1021}=_0x208961,_0x5968a8=_0x23428e-_0x4573de,_0x669e8=_0x3b1021-_0x42b712,_0x56df40={'labelPosition':_0x42b712-_0x467c8a>=_0x564637?_0x735c82(0x89):_0x735c82(0xd6),'sheetID':_0x1baf73,'range':_0x34a93c,'color':_0x405e06,'name':_0x4e6a93,'selection':_0x12758d,'left':_0x4573de,'top':_0x42b712,'width':_0x5968a8,'height':_0x669e8,'evented':!0x1,'zIndex':_0x200e3f};return new _0x57f453(_0x4e6a93,_0x56df40);});_0x4537a8[_0x4ab313(0x29e)](_0x14695f,_0x5d5f6c),this[_0x4ab313(0x27f)]=new Set(_0x14695f);}[_0x3f93a3(0x81)](){const _0x39af69=_0x3f93a3;var _0x5cd7d1;(_0x5cd7d1=this[_0x39af69(0x27f)])==null||_0x5cd7d1[_0x39af69(0x2f2)](_0x2de5c4=>_0x2de5c4[_0x39af69(0x193)]());}['_getSheetObject'](){const _0x57bed5=_0x3f93a3;return _0x25374d[_0x57bed5(0x1f4)](this[_0x57bed5(0xa2)][_0x57bed5(0x100)],this[_0x57bed5(0xa2)]);}};_0xde1d68=_0x5dfd55([_0x4bc728(0x1,_0x1def49['Inject'](_0x25374d['SheetSkeletonManagerService'])),_0x4bc728(0x2,_0x1def49[_0x3f93a3(0x2e5)](_0x44815e)),_0x4bc728(0x3,_0x1def49[_0x3f93a3(0x2e5)](_0x1def49[_0x3f93a3(0x140)]))],_0xde1d68);function _0x1e8e35(_0x5aece9){const _0x3c1d5d=_0x3f93a3,_0x4badbe=new Map();return _0x5aece9['forEach'](_0x16ab5b=>{const _0x46304b=_0x242a;if(_0x4badbe[_0x46304b(0x2c7)](_0x16ab5b['selection'])){const _0x33c80c=_0x4badbe[_0x46304b(0x17c)](_0x16ab5b[_0x46304b(0x255)]);_0x33c80c[_0x46304b(0x305)]+=',\x20'+_0x16ab5b['name'];}else _0x4badbe[_0x46304b(0x22e)](_0x16ab5b[_0x46304b(0x255)],_0x16ab5b);}),Array[_0x3c1d5d(0x1cb)](_0x4badbe[_0x3c1d5d(0x2ae)]());}var _0x500060=function(){const _0x3a5410=_0x3f93a3;return _0x500060=Object['assign']||function(_0x82c740){const _0x4da2a6=_0x242a;for(var _0x79fec3,_0x24578d=0x1,_0x43372d=arguments[_0x4da2a6(0x22a)];_0x24578d<_0x43372d;_0x24578d++){_0x79fec3=arguments[_0x24578d];for(var _0x47bd0f in _0x79fec3)Object[_0x4da2a6(0x2ef)][_0x4da2a6(0x234)][_0x4da2a6(0x1be)](_0x79fec3,_0x47bd0f)&&(_0x82c740[_0x47bd0f]=_0x79fec3[_0x47bd0f]);}return _0x82c740;},_0x500060[_0x3a5410(0x12d)](this,arguments);},_0xf25fe8=function(_0x3b5211,_0x581efb){const _0x572a4e=_0x3f93a3;var _0x1a73a0={};for(var _0x13e721 in _0x3b5211)Object[_0x572a4e(0x2ef)][_0x572a4e(0x234)][_0x572a4e(0x1be)](_0x3b5211,_0x13e721)&&_0x581efb[_0x572a4e(0x316)](_0x13e721)<0x0&&(_0x1a73a0[_0x13e721]=_0x3b5211[_0x13e721]);if(_0x3b5211!=null&&typeof Object[_0x572a4e(0x176)]==_0x572a4e(0x30d)){for(var _0x1eb673=0x0,_0x13e721=Object['getOwnPropertySymbols'](_0x3b5211);_0x1eb673<_0x13e721[_0x572a4e(0x22a)];_0x1eb673++)_0x581efb[_0x572a4e(0x316)](_0x13e721[_0x1eb673])<0x0&&Object[_0x572a4e(0x2ef)]['propertyIsEnumerable']['call'](_0x3b5211,_0x13e721[_0x1eb673])&&(_0x1a73a0[_0x13e721[_0x1eb673]]=_0x3b5211[_0x13e721[_0x1eb673]]);}return _0x1a73a0;},_0x12d2db=_0x532356['forwardRef'](function(_0x6307db,_0x56968e){const _0x2a6eb5=_0x3f93a3;var _0x633efa=_0x6307db['icon'],_0x41ffbf=_0x6307db['id'],_0xa6ce46=_0x6307db['className'],_0x693a0b=_0x6307db['extend'],_0x2b145=_0xf25fe8(_0x6307db,[_0x2a6eb5(0x87),'id','className',_0x2a6eb5(0x264)]),_0x28abdf='univerjs-icon\x20univerjs-icon-'[_0x2a6eb5(0x1d1)](_0x41ffbf,'\x20')[_0x2a6eb5(0x1d1)](_0xa6ce46||'')[_0x2a6eb5(0x92)](),_0x359e87=_0x532356[_0x2a6eb5(0x1ff)]('_'[_0x2a6eb5(0x1d1)](_0x1fefa2()));return _0x355dd3(_0x633efa,''[_0x2a6eb5(0x1d1)](_0x41ffbf),{'defIds':_0x633efa[_0x2a6eb5(0x291)],'idSuffix':_0x359e87[_0x2a6eb5(0x88)]},_0x500060({'ref':_0x56968e,'className':_0x28abdf},_0x2b145),_0x693a0b);});function _0x355dd3(_0x570ef8,_0x3ce71e,_0x542692,_0x2de266,_0x3e8269){const _0x762c=_0x3f93a3;return _0x532356['createElement'](_0x570ef8['tag'],_0x500060(_0x500060({'key':_0x3ce71e},_0x1a09d0(_0x570ef8,_0x542692,_0x3e8269)),_0x2de266),(_0x5ecd95(_0x570ef8,_0x542692)[_0x762c(0x163)]||[])[_0x762c(0x2bb)](function(_0x5a9984,_0x494917){const _0x5e7bee=_0x762c;return _0x355dd3(_0x5a9984,''[_0x5e7bee(0x1d1)](_0x3ce71e,'-')[_0x5e7bee(0x1d1)](_0x570ef8[_0x5e7bee(0x1c4)],'-')[_0x5e7bee(0x1d1)](_0x494917),_0x542692,void 0x0,_0x3e8269);}));}function _0x1a09d0(_0x1ecfc7,_0x5f3b47,_0x5a0e29){const _0x761bce=_0x3f93a3;var _0x279fcf=_0x500060({},_0x1ecfc7['attrs']);_0x5a0e29!=null&&_0x5a0e29['colorChannel1']&&_0x279fcf[_0x761bce(0x9a)]===_0x761bce(0x1c8)&&(_0x279fcf['fill']=_0x5a0e29['colorChannel1']),_0x1ecfc7[_0x761bce(0x1c4)]===_0x761bce(0x294)&&_0x279fcf['id']&&(_0x279fcf['id']=_0x279fcf['id']+_0x5f3b47[_0x761bce(0x1c3)]),Object[_0x761bce(0x26e)](_0x279fcf)[_0x761bce(0x2f2)](function(_0x4b23da){const _0x302009=_0x761bce;var _0xddb856=_0x4b23da[0x0],_0x376d92=_0x4b23da[0x1];_0xddb856===_0x302009(0x294)&&typeof _0x376d92==_0x302009(0x1d5)&&(_0x279fcf[_0xddb856]=_0x376d92['replace'](/url\(#(.*)\)/,'url(#$1'[_0x302009(0x1d1)](_0x5f3b47[_0x302009(0x1c3)],')')));});var _0x4982b3=_0x5f3b47['defIds'];return!_0x4982b3||_0x4982b3['length']===0x0||(_0x1ecfc7[_0x761bce(0x1c4)]==='use'&&_0x279fcf[_0x761bce(0x2a9)]&&(_0x279fcf[_0x761bce(0x2a9)]=_0x279fcf[_0x761bce(0x2a9)]+_0x5f3b47[_0x761bce(0x1c3)]),Object[_0x761bce(0x26e)](_0x279fcf)[_0x761bce(0x2f2)](function(_0x390e3d){const _0x2039cb=_0x761bce;var _0x88b79e=_0x390e3d[0x0],_0x75bfcc=_0x390e3d[0x1];typeof _0x75bfcc==_0x2039cb(0x1d5)&&(_0x279fcf[_0x88b79e]=_0x75bfcc[_0x2039cb(0xef)](/url\(#(.*)\)/,_0x2039cb(0x2be)[_0x2039cb(0x1d1)](_0x5f3b47[_0x2039cb(0x1c3)],')')));})),_0x279fcf;}function _0x5ecd95(_0x4223b0,_0x11ddb1){const _0x425545=_0x3f93a3;var _0x654ee0,_0x1c89bf=_0x11ddb1[_0x425545(0x291)];return!_0x1c89bf||_0x1c89bf[_0x425545(0x22a)]===0x0?_0x4223b0:_0x4223b0[_0x425545(0x1c4)]==='defs'&&(!((_0x654ee0=_0x4223b0['children'])===null||_0x654ee0===void 0x0)&&_0x654ee0[_0x425545(0x22a)])?_0x500060(_0x500060({},_0x4223b0),{'children':_0x4223b0[_0x425545(0x163)][_0x425545(0x2bb)](function(_0x26c339){const _0x491b72=_0x425545;return typeof _0x26c339[_0x491b72(0x1bc)]['id']=='string'&&_0x1c89bf&&_0x1c89bf[_0x491b72(0x316)](_0x26c339[_0x491b72(0x1bc)]['id'])>-0x1?_0x500060(_0x500060({},_0x26c339),{'attrs':_0x500060(_0x500060({},_0x26c339[_0x491b72(0x1bc)]),{'id':_0x26c339[_0x491b72(0x1bc)]['id']+_0x11ddb1[_0x491b72(0x1c3)]})}):_0x26c339;})}):_0x4223b0;}function _0x1fefa2(){const _0x51b210=_0x3f93a3;return Math[_0x51b210(0x174)]()[_0x51b210(0x2c5)](0x24)[_0x51b210(0x308)](0x2,0x8);}_0x12d2db['displayName']=_0x3f93a3(0x205);var _0x44f830={'tag':_0x3f93a3(0x311),'attrs':{'fill':_0x3f93a3(0xa6),'viewBox':_0x3f93a3(0x2b9),'width':_0x3f93a3(0x26f),'height':_0x3f93a3(0x26f)},'children':[{'tag':'g','attrs':{'clipPath':_0x3f93a3(0x9e)},'children':[{'tag':_0x3f93a3(0x1a9),'attrs':{'stroke':_0x3f93a3(0x11f),'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':_0x3f93a3(0x105),'strokeWidth':1.2}}]},{'tag':_0x3f93a3(0x1d4),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3f93a3(0x143)},'children':[{'tag':'path','attrs':{'fill':_0x3f93a3(0x1f1),'d':_0x3f93a3(0x129)}}]}]}],'defIds':['off-line-single_clip0_910_343']},_0x4764e9=_0x532356[_0x3f93a3(0x1dc)](function(_0x547780,_0x294f2a){const _0x42db64=_0x3f93a3;return _0x532356['createElement'](_0x12d2db,Object[_0x42db64(0x249)]({},_0x547780,{'id':_0x42db64(0x116),'ref':_0x294f2a,'icon':_0x44f830}));});_0x4764e9[_0x3f93a3(0x175)]=_0x3f93a3(0x22c);var _0x18cd50={'tag':_0x3f93a3(0x311),'attrs':{'fill':_0x3f93a3(0xa6),'viewBox':_0x3f93a3(0x107),'width':'1em','height':_0x3f93a3(0x26f)},'children':[{'tag':'g','attrs':{'clipPath':_0x3f93a3(0x15e)},'children':[{'tag':_0x3f93a3(0x1a9),'attrs':{'stroke':_0x3f93a3(0x11f),'d':'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','strokeLinecap':_0x3f93a3(0x105),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x3f93a3(0x1d4),'attrs':{},'children':[{'tag':_0x3f93a3(0x9d),'attrs':{'id':_0x3f93a3(0xad)},'children':[{'tag':_0x3f93a3(0x1a9),'attrs':{'fill':_0x3f93a3(0x1f1),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x3f93a3(0xad)]},_0x49ebdd=_0x532356[_0x3f93a3(0x1dc)](function(_0x2d42dd,_0x1620d0){const _0x112db7=_0x3f93a3;return _0x532356[_0x112db7(0x1cf)](_0x12d2db,Object[_0x112db7(0x249)]({},_0x2d42dd,{'id':'on-line-single','ref':_0x1620d0,'icon':_0x18cd50}));});_0x49ebdd[_0x3f93a3(0x175)]=_0x3f93a3(0x16f);function _0x1079bc(_0x59cf31){const _0x1a43b7=_0x3f93a3;switch(_0x59cf31){case _0x479769[_0x1a43b7(0x21b)][_0x1a43b7(0x30c)]:return _0x1a43b7(0x18b);case _0x479769[_0x1a43b7(0x21b)]['CONFLICT']:return _0x1a43b7(0x1e8);case _0x479769['CollaborationStatus'][_0x1a43b7(0x2b0)]:return _0x1a43b7(0x20d);case _0x479769[_0x1a43b7(0x21b)][_0x1a43b7(0x9c)]:return _0x1a43b7(0x1d9);case _0x479769[_0x1a43b7(0x21b)]['AWAITING']:case _0x479769[_0x1a43b7(0x21b)][_0x1a43b7(0x2cc)]:return _0x1a43b7(0x8c);case _0x479769[_0x1a43b7(0x21b)][_0x1a43b7(0x179)]:case _0x479769['CollaborationStatus'][_0x1a43b7(0x260)]:return'collabStatus.synced';}}function _0x185b6e(_0x2007e7){const _0xa9b427=_0x3f93a3,{status$:_0x4c6251}=_0x2007e7,_0x49ff36=_0x13fd76[_0xa9b427(0x117)](_0x4c6251,_0x479769[_0xa9b427(0x21b)]['NOT_COLLAB']),_0x5a2f7f=_0x13fd76[_0xa9b427(0x1b1)](_0x1def49[_0xa9b427(0x1f7)]),_0x30fad3=_0x13fd76[_0xa9b427(0x1b1)](_0x479769[_0xa9b427(0x1ca)]),_0x47e165=_0x49ff36!==_0x479769[_0xa9b427(0x21b)][_0xa9b427(0x30c)],_0xac0cf0=_0x5a2f7f['t'](_0x1079bc(_0x49ff36)),_0xb21830=_0x47e165?_0x287e60[_0xa9b427(0x2a1)](_0x49ebdd,{}):_0x287e60[_0xa9b427(0x2a1)](_0x4764e9,{}),_0x55bf88=_0x532356[_0xa9b427(0xda)](()=>{const _0x2c0f2e=_0xa9b427;_0x47e165||_0x30fad3[_0x2c0f2e(0x8e)]();},[_0x47e165,_0x30fad3]);function _0xe9818e(){const _0x440fba=_0xa9b427;return _0x287e60[_0x440fba(0x280)](_0x440fba(0x253),{'className':_0x440fba(0x80),'onClick':_0x55bf88,'children':[_0x287e60['jsx'](_0x440fba(0x253),{'className':_0xe78f23[_0x440fba(0x220)](_0x440fba(0x1e5),_0x47e165?_0x440fba(0x1af):'univer-text-red-500'),'children':_0xb21830}),_0x287e60[_0x440fba(0x2a1)]('div',{'className':_0x440fba(0x199),'children':_0xac0cf0})]});}return _0x47e165?_0xe9818e():_0x287e60['jsx'](_0xe78f23[_0xa9b427(0xca)],{'title':_0x5a2f7f['t']('collab-client.tooltip.reconnect'),'children':_0xe9818e()});}var _0x2ab1f8=Object[_0x3f93a3(0x239)],_0x390678=(_0x5258e1,_0x1ad1d4,_0x45191e,_0x7ded9a)=>{for(var _0x38fe33=_0x7ded9a>0x1?void 0x0:_0x7ded9a?_0x2ab1f8(_0x1ad1d4,_0x45191e):_0x1ad1d4,_0x5c5dae=_0x5258e1['length']-0x1,_0x529e29;_0x5c5dae>=0x0;_0x5c5dae--)(_0x529e29=_0x5258e1[_0x5c5dae])&&(_0x38fe33=_0x529e29(_0x38fe33)||_0x38fe33);return _0x38fe33;},_0x42c1fa=(_0x549839,_0xdbe593)=>(_0x39c101,_0x56f8d7)=>_0xdbe593(_0x39c101,_0x56f8d7,_0x549839);_0x285d46[_0x3f93a3(0x248)]=class extends _0x1def49[_0x3f93a3(0x124)]{constructor(_0x437753,_0x22aa36,_0x3382aa,_0x4db621){const _0x21cc4f=_0x3f93a3;super(),_0x2d103a(this,'_status$',new _0x1bc390[(_0x21cc4f(0x230))](_0x479769[_0x21cc4f(0x21b)][_0x21cc4f(0x9c)])),(this[_0x21cc4f(0x1bd)]=_0x437753,this[_0x21cc4f(0xaf)]=_0x22aa36,this[_0x21cc4f(0xe5)]=_0x3382aa,this[_0x21cc4f(0x1a1)]=_0x4db621,this[_0x21cc4f(0x137)](),this[_0x21cc4f(0xff)]());}[_0x3f93a3(0xff)](){const _0x59d476=_0x3f93a3;this[_0x59d476(0x274)](this['_univerInstanceService'][_0x59d476(0x1ba)][_0x59d476(0x122)](_0x1bc390[_0x59d476(0x1ec)](()=>{const _0x1ebc43=_0x59d476,_0x50af33=this['_univerInstanceService'][_0x1ebc43(0xbf)]();return _0x50af33?this[_0x1ebc43(0xe5)][_0x1ebc43(0x227)](_0x50af33[_0x1ebc43(0x26b)]()):_0x1bc390['of'](null);}),_0x1bc390[_0x59d476(0x1ec)](_0x3e019b=>_0x3e019b?_0x3e019b[_0x59d476(0x1b0)]:_0x1bc390['of'](_0x479769['CollaborationStatus'][_0x59d476(0x9c)])))['subscribe'](_0x14daec=>{const _0x1b71a9=_0x59d476;this[_0x1b71a9(0x298)]['next'](_0x14daec);}));}[_0x3f93a3(0x137)](){const _0x305872=_0x3f93a3;this['disposeWithMe'](this[_0x305872(0x1a1)][_0x305872(0x2c2)](_0x13fd76[_0x305872(0xc6)][_0x305872(0x112)],()=>_0x13fd76[_0x305872(0x222)](_0x1ca794({'status$':this['_status$'][_0x305872(0x228)]()}),this[_0x305872(0xaf)])));}},_0x285d46[_0x3f93a3(0x248)]=_0x390678([_0x42c1fa(0x0,_0x1def49[_0x3f93a3(0xf2)]),_0x42c1fa(0x1,_0x1def49['Inject'](_0x1def49['Injector'])),_0x42c1fa(0x2,_0x1def49[_0x3f93a3(0x2e5)](_0x479769[_0x3f93a3(0x1aa)])),_0x42c1fa(0x3,_0x13fd76['IUIPartsService'])],_0x285d46['DesktopCollaborationStatusDisplayController']);function _0x1ca794(_0x59dc6b){const {status$:_0x437faf}=_0x59dc6b;return function(){const _0x54f8eb=_0x242a;return _0x287e60[_0x54f8eb(0x2a1)](_0x185b6e,{'status$':_0x437faf});};}var _0x535dab=Object['getOwnPropertyDescriptor'],_0x472674=(_0x586a80,_0x8522b6,_0x55ca01,_0x102b13)=>{const _0x711d2e=_0x3f93a3;for(var _0x275255=_0x102b13>0x1?void 0x0:_0x102b13?_0x535dab(_0x8522b6,_0x55ca01):_0x8522b6,_0x2c765c=_0x586a80[_0x711d2e(0x22a)]-0x1,_0x3b5776;_0x2c765c>=0x0;_0x2c765c--)(_0x3b5776=_0x586a80[_0x2c765c])&&(_0x275255=_0x3b5776(_0x275255)||_0x275255);return _0x275255;},_0xe3de41=(_0x582c24,_0x14e512)=>(_0x3cbb24,_0x5e2b81)=>_0x14e512(_0x3cbb24,_0x5e2b81,_0x582c24);let _0x3d4f9d=class extends _0x1def49[_0x3f93a3(0x124)]{constructor(_0x2745d7,_0x5990f7,_0x5dbddd,_0x3b9d96,_0x9b82f6,_0x1f653a){const _0x3ea6a7=_0x3f93a3;super(),this[_0x3ea6a7(0x256)]=_0x2745d7,this[_0x3ea6a7(0x2ba)]=_0x5990f7,this[_0x3ea6a7(0x1ee)]=_0x5dbddd,this[_0x3ea6a7(0x1e6)]=_0x3b9d96,this[_0x3ea6a7(0x2e2)]=_0x9b82f6,this[_0x3ea6a7(0x21c)]=_0x1f653a,this[_0x3ea6a7(0x24d)](),this[_0x3ea6a7(0x12e)]();}['_setupBeforeClosingHandler'](){const _0x4b6bb8=_0x3f93a3;this[_0x4b6bb8(0x274)](this['_beforeCloseService'][_0x4b6bb8(0x29d)](()=>{const _0x4c39d0=_0x4b6bb8;if(this[_0x4c39d0(0x2ba)]['saveTaskMap'][_0x4c39d0(0x243)])return this[_0x4c39d0(0x21c)]['t'](_0x4c39d0(0x1de));}));}['_initEvent'](){this['disposeWithMe'](this['_collaborationUIEventService']['event$']['subscribe'](_0x32e6d7=>{const _0x1e35a3=_0x242a;_0x32e6d7['id']===_0x479769[_0x1e35a3(0x30b)][_0x1e35a3(0x200)]&&this[_0x1e35a3(0x1e6)][_0x1e35a3(0xc9)]({'type':_0xe78f23[_0x1e35a3(0x27d)][_0x1e35a3(0x159)],'content':this[_0x1e35a3(0x21c)]['t'](_0x1e35a3(0x1c7))}),_0x32e6d7['id']===_0x479769[_0x1e35a3(0x30b)][_0x1e35a3(0x1d7)]&&this[_0x1e35a3(0x1e6)]['show']({'type':_0xe78f23[_0x1e35a3(0x27d)][_0x1e35a3(0x159)],'content':this[_0x1e35a3(0x21c)]['t'](_0x1e35a3(0x18d))}),_0x32e6d7['id']===_0x479769['CollaborationUIEventId'][_0x1e35a3(0x17f)]&&this['_notificationService']['show']({'title':this['_localeService']['t']('permission.title'),'content':this['_localeService']['t']('permission.content'),'type':_0x1e35a3(0x30a),'duration':0x0}),_0x32e6d7['id']===_0x479769[_0x1e35a3(0x30b)]['CONFLICT']&&this['_messageService'][_0x1e35a3(0xc9)]({'type':_0xe78f23[_0x1e35a3(0x27d)][_0x1e35a3(0x2bf)],'content':this[_0x1e35a3(0x21c)]['t'](_0x1e35a3(0x18d))+'('+_0x32e6d7[_0x1e35a3(0x15f)]+')'}),_0x32e6d7['id']===_0x479769[_0x1e35a3(0x30b)]['JOIN_ROOM_FAILED']&&this[_0x1e35a3(0x1e6)][_0x1e35a3(0xc9)]({'type':_0xe78f23['MessageType'][_0x1e35a3(0x159)],'content':this[_0x1e35a3(0x21c)]['t'](_0x32e6d7[_0x1e35a3(0x15f)]||'')}),_0x32e6d7['id']===_0x479769[_0x1e35a3(0x30b)]['SOCKET_FAILED_RETRY']&&this[_0x1e35a3(0x1e6)][_0x1e35a3(0xc9)]({'type':_0xe78f23[_0x1e35a3(0x27d)][_0x1e35a3(0x159)],'content':this['_localeService']['t'](_0x1e35a3(0x235))}),_0x32e6d7['id']===_0x479769[_0x1e35a3(0x30b)][_0x1e35a3(0x27b)]&&this[_0x1e35a3(0x1e6)][_0x1e35a3(0xc9)]({'type':_0xe78f23[_0x1e35a3(0x27d)][_0x1e35a3(0x2bf)],'content':this[_0x1e35a3(0x21c)]['t'](_0x1e35a3(0x1f5))}),_0x32e6d7['id']===_0x479769[_0x1e35a3(0x30b)][_0x1e35a3(0x2b8)]&&this[_0x1e35a3(0x1e6)][_0x1e35a3(0xc9)]({'type':_0xe78f23['MessageType'][_0x1e35a3(0x2bf)],'content':this['_localeService']['t'](_0x1e35a3(0x177))});}));}};_0x3d4f9d=_0x472674([_0xe3de41(0x0,_0x13fd76[_0x3f93a3(0x115)]),_0xe3de41(0x1,_0x479769[_0x3f93a3(0xd4)]),_0xe3de41(0x2,_0x1def49[_0x3f93a3(0x2e5)](_0x479769[_0x3f93a3(0x247)])),_0xe3de41(0x3,_0x13fd76[_0x3f93a3(0xf0)]),_0xe3de41(0x4,_0x13fd76[_0x3f93a3(0x288)]),_0xe3de41(0x5,_0x1def49[_0x3f93a3(0x2e5)](_0x1def49[_0x3f93a3(0x1f7)]))],_0x3d4f9d);const _0x5d7a68=_0x3f93a3(0x213),_0x4b091e={},_0x1375cb=_0x1def49[_0x3f93a3(0x25c)](_0x3f93a3(0xee));var _0x766687=Object[_0x3f93a3(0x239)],_0x1533f9=(_0x2d5680,_0x13d20a,_0x4d43c3,_0x40ce9e)=>{const _0x4f890e=_0x3f93a3;for(var _0x4619ea=_0x40ce9e>0x1?void 0x0:_0x40ce9e?_0x766687(_0x13d20a,_0x4d43c3):_0x13d20a,_0x4228a2=_0x2d5680[_0x4f890e(0x22a)]-0x1,_0x58e7ee;_0x4228a2>=0x0;_0x4228a2--)(_0x58e7ee=_0x2d5680[_0x4228a2])&&(_0x4619ea=_0x58e7ee(_0x4619ea)||_0x4619ea);return _0x4619ea;},_0x306d70=(_0x71d8aa,_0xf58f36)=>(_0x4f69ea,_0x3f9e63)=>_0xf58f36(_0x4f69ea,_0x3f9e63,_0x71d8aa);_0x285d46[_0x3f93a3(0xb8)]=class extends _0x1def49[_0x3f93a3(0x191)]{constructor(_0x368ea8,_0x1685b8,_0x522e6f,_0x2cf965,_0x3ffd0c){const _0xc193c9=_0x3f93a3;super(),this['_urlService']=_0x368ea8,this['_logService']=_0x1685b8,this[_0xc193c9(0x170)]=_0x522e6f,this[_0xc193c9(0xfa)]=_0x2cf965,_0x3ffd0c?_0x3ffd0c==null||_0x3ffd0c[_0xc193c9(0xcd)]()['then'](()=>this['_init']()):(this[_0xc193c9(0x268)][_0xc193c9(0x25a)](_0xc193c9(0xeb),_0xc193c9(0x1c5)),this[_0xc193c9(0xb0)]());}async[_0x3f93a3(0xb0)](){const _0x27520c=_0x3f93a3,_0x23e754=this[_0x27520c(0x273)][_0x27520c(0x10d)](_0x27520c(0x100)),_0x4edb0a=this[_0x27520c(0x273)]['getParam'](_0x27520c(0xcc)),_0x40f7b5=this['_urlService'][_0x27520c(0x10d)]('subunit');if(!_0x23e754||!_0x4edb0a){this[_0x27520c(0x268)][_0x27520c(0x25a)](_0x27520c(0xeb),_0x27520c(0x2ec));return;}const _0x324e6e=await this[_0x27520c(0xfa)]['loadUnit'](_0x23e754,Number(_0x4edb0a),_0x40f7b5);_0x324e6e&&_0x324e6e instanceof _0x1def49[_0x27520c(0x7b)]&&this['_setupSubUnitSync'](_0x324e6e);}async[_0x3f93a3(0x16e)](_0x39ad3b){const _0x2f46d1=_0x3f93a3;await this[_0x2f46d1(0x1d8)](_0x39ad3b),_0x39ad3b['activeSheet$'][_0x2f46d1(0x122)](_0x1bc390[_0x2f46d1(0x2e4)](this[_0x2f46d1(0x13e)]))[_0x2f46d1(0x1a5)](_0x447d8f=>{const _0x5643af=_0x2f46d1;_0x447d8f&&this[_0x5643af(0x309)](_0x447d8f);}),this['_urlService']['urlChange$'][_0x2f46d1(0x122)](_0x1bc390[_0x2f46d1(0x2e4)](this[_0x2f46d1(0x13e)]))[_0x2f46d1(0x1a5)](()=>this['_updateSubUnitFromURLParams'](_0x39ad3b));}[_0x3f93a3(0x309)](_0x3a2abe,_0x5f18d8=!0x1){const _0x5273f2=_0x3f93a3,_0x2dae06=this[_0x5273f2(0x273)][_0x5273f2(0x10d)](_0x5273f2(0xb4));_0x3a2abe['getSheetId']()!==_0x2dae06&&this[_0x5273f2(0x273)][_0x5273f2(0x168)](_0x5273f2(0xb4),_0x3a2abe[_0x5273f2(0xe7)](),_0x5f18d8);}async[_0x3f93a3(0x1d8)](_0x9a1996){const _0x2d3538=_0x3f93a3;var _0x5a086f;const _0x29f510=this['_urlService'][_0x2d3538(0x10d)](_0x2d3538(0xb4));if(!_0x29f510||!_0x9a1996[_0x2d3538(0x1ce)](_0x29f510)){const _0x2edfb7=_0x9a1996[_0x2d3538(0x2b1)]()[0x0],_0x5b9961=_0x9a1996[_0x2d3538(0x1ce)](_0x2edfb7);if(!_0x5b9961)return;this[_0x2d3538(0x309)](_0x5b9961,!0x0),await this[_0x2d3538(0x170)][_0x2d3538(0xa3)](_0x218759[_0x2d3538(0x2d1)]['id'],{'unitId':_0x9a1996['getUnitId'](),'subUnitId':_0x2edfb7});return;}((_0x5a086f=_0x9a1996[_0x2d3538(0x2c9)]())==null?void 0x0:_0x5a086f[_0x2d3538(0xe7)]())!==_0x29f510&&await this[_0x2d3538(0x170)][_0x2d3538(0xa3)](_0x218759[_0x2d3538(0x2d1)]['id'],{'unitId':_0x9a1996[_0x2d3538(0x26b)](),'subUnitId':_0x29f510});}},_0x285d46[_0x3f93a3(0xb8)]=_0x1533f9([_0x306d70(0x0,_0x1375cb),_0x306d70(0x1,_0x1def49[_0x3f93a3(0xe8)]),_0x306d70(0x2,_0x1def49[_0x3f93a3(0x19d)]),_0x306d70(0x3,_0x1def49[_0x3f93a3(0x2e5)](_0x479769[_0x3f93a3(0x108)])),_0x306d70(0x4,_0x1def49['Optional'](_0x2dbfe8['IRemoteInstanceService']))],_0x285d46[_0x3f93a3(0xb8)]);var _0x23e129=Object[_0x3f93a3(0x239)],_0x38f922=(_0x584dab,_0x27361b,_0x44500d,_0x396c23)=>{const _0x5629c6=_0x3f93a3;for(var _0x497657=_0x396c23>0x1?void 0x0:_0x396c23?_0x23e129(_0x27361b,_0x44500d):_0x27361b,_0x37eaaf=_0x584dab[_0x5629c6(0x22a)]-0x1,_0x288fa2;_0x37eaaf>=0x0;_0x37eaaf--)(_0x288fa2=_0x584dab[_0x37eaaf])&&(_0x497657=_0x288fa2(_0x497657)||_0x497657);return _0x497657;},_0x165904=(_0x2a5678,_0x4ea3ee)=>(_0x1774c1,_0x57e65c)=>_0x4ea3ee(_0x1774c1,_0x57e65c,_0x2a5678);let _0xa3a1d7=class{constructor(_0x53860c,_0x4d524f,_0x3164f8){const _0x1355d3=_0x3f93a3;this[_0x1355d3(0xaf)]=_0x53860c,this[_0x1355d3(0x2ff)]=_0x4d524f,this[_0x1355d3(0xc8)]=_0x3164f8;}[_0x3f93a3(0x173)](_0x35b7a9){const _0x5e5da3=_0x3f93a3;this[_0x5e5da3(0xf8)](_0x35b7a9),this['_transformPreviousActiveRange'](_0x35b7a9);}[_0x3f93a3(0x15c)](_0x30c24d){const _0x4fbb36=_0x3f93a3,{unitID:_0x55b1d2}=_0x30c24d,_0x43b94a=this[_0x4fbb36(0xc8)][_0x4fbb36(0xb1)](_0x55b1d2)[_0x4fbb36(0x156)](_0x38c4f6[_0x4fbb36(0x206)]),{redoCache:_0x2b35b9}=_0x43b94a['getUndoRedoMutationParamsCache']();if(_0x2b35b9[_0x4fbb36(0x22a)]===0x0)return _0x30c24d;let _0x48861=_0x1def49['Tools'][_0x4fbb36(0x297)](_0x30c24d['mutations'][0x0]);for(let _0x3ea881=0x0;_0x3ea881<_0x2b35b9['length'];_0x3ea881++){const _0x3dd304={'id':_0x4fbb36(0x2a4),'params':{..._0x2b35b9[_0x3ea881]}},_0x43b862=this[_0x4fbb36(0x2ff)][_0x4fbb36(0x19f)](_0x48861,_0x3dd304,!0x1);if(_0x529ed4[_0x4fbb36(0x138)](_0x43b862))throw _0x43b862[_0x4fbb36(0x30a)];_0x48861=_0x43b862[_0x4fbb36(0x2a0)];}return{..._0x1def49[_0x4fbb36(0x20e)]['deepClone'](_0x30c24d),'mutations':[_0x48861]};}[_0x3f93a3(0xf8)](_0x115e32){const _0x49f2e4=_0x3f93a3,{unitID:_0x3dbdae}=_0x115e32,_0x114154=this[_0x49f2e4(0xc8)][_0x49f2e4(0xb1)](_0x3dbdae)[_0x49f2e4(0x156)](_0x38c4f6[_0x49f2e4(0x206)]),{undoCache:_0x511f75,redoCache:_0x3c71cb}=_0x114154['getUndoRedoMutationParamsCache']();if(_0x511f75[_0x49f2e4(0x22a)]===0x0||_0x3c71cb[_0x49f2e4(0x22a)]===0x0)return;const _0x243c0a=[],_0x192fcf=[];let _0x1d4a36=_0x1def49[_0x49f2e4(0x20e)][_0x49f2e4(0x297)](_0x115e32[_0x49f2e4(0x167)][0x0]),_0x1de717=_0x1def49['Tools']['deepClone'](_0x115e32[_0x49f2e4(0x167)][0x0]);for(let _0x473355=_0x511f75[_0x49f2e4(0x22a)]-0x1;_0x473355>=0x0;_0x473355--){const _0x2500b7={'id':'doc.mutation.rich-text-editing','params':{..._0x511f75[_0x473355]}},_0x101ed8={'id':_0x49f2e4(0x2a4),'params':{..._0x3c71cb[_0x473355]}},_0x3bedf6=this['_transformService']['transformMutation'](_0x1d4a36,_0x2500b7,!0x1),_0x533444=this[_0x49f2e4(0x2ff)]['transformMutation'](_0x1de717,_0x101ed8,!0x1);if(_0x529ed4[_0x49f2e4(0x138)](_0x3bedf6))throw _0x3bedf6[_0x49f2e4(0x30a)];if(_0x529ed4['isTransformMutationFailure'](_0x533444))throw _0x533444[_0x49f2e4(0x30a)];_0x243c0a[_0x49f2e4(0x204)](_0x3bedf6[_0x49f2e4(0x282)][_0x49f2e4(0x242)]),_0x192fcf[_0x49f2e4(0x204)](_0x533444[_0x49f2e4(0x282)][_0x49f2e4(0x242)]),_0x1d4a36=_0x3bedf6['m1Prime'],_0x1de717=_0x533444['m1Prime'];}_0x114154[_0x49f2e4(0x101)]({'undoCache':_0x243c0a,'redoCache':_0x192fcf});}[_0x3f93a3(0x1fb)](_0xe1f4a3){const _0x2d6015=_0x3f93a3,{unitID:_0x2b4d6b}=_0xe1f4a3,_0x497b8a=this['_renderManagerService'][_0x2d6015(0xb1)](_0x2b4d6b)['with'](_0x38c4f6['DocIMEInputManagerService']),_0xe4c3ce=_0x497b8a['getActiveRange']();if(_0xe4c3ce==null)return;const _0x549398=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xe1f4a3[_0x2d6015(0xf7)],'actions':null,'textRanges':[_0xe4c3ce]}}],_0x5cb95b=this[_0x2d6015(0x2ff)][_0x2d6015(0x2f0)](_0xe1f4a3,_0x549398);if(!_0x529ed4[_0x2d6015(0x30f)](_0x5cb95b))throw _0x5cb95b['error'];const _0x43649b=_0x5cb95b[_0x2d6015(0x282)][0x0][_0x2d6015(0x242)][_0x2d6015(0x203)];Array[_0x2d6015(0x1e9)](_0x43649b)&&_0x43649b[_0x2d6015(0x22a)]&&_0x497b8a[_0x2d6015(0x128)](_0x43649b[0x0]);}};_0xa3a1d7=_0x38f922([_0x165904(0x0,_0x1def49[_0x3f93a3(0x2e5)](_0x1def49[_0x3f93a3(0x14d)])),_0x165904(0x1,_0x529ed4[_0x3f93a3(0x18a)]),_0x165904(0x2,_0x451005['IRenderManagerService'])],_0xa3a1d7);var _0xe5e80f=Object[_0x3f93a3(0x239)],_0x3b3df1=(_0x2705bf,_0x51b7b1,_0x1d7b68,_0x2e1482)=>{for(var _0x17d9c2=_0x2e1482>0x1?void 0x0:_0x2e1482?_0xe5e80f(_0x51b7b1,_0x1d7b68):_0x51b7b1,_0x9dcd1a=_0x2705bf['length']-0x1,_0xae6188;_0x9dcd1a>=0x0;_0x9dcd1a--)(_0xae6188=_0x2705bf[_0x9dcd1a])&&(_0x17d9c2=_0xae6188(_0x17d9c2)||_0x17d9c2);return _0x17d9c2;},_0x1ee455=(_0x1833a3,_0x2ac52f)=>(_0x4e498b,_0x35ca1e)=>_0x2ac52f(_0x4e498b,_0x35ca1e,_0x1833a3);let _0xa7f002=class{constructor(_0x3dd196,_0x286522,_0x4a913b){const _0x2f7ac4=_0x3f93a3;this[_0x2f7ac4(0xaf)]=_0x3dd196,this[_0x2f7ac4(0x2ff)]=_0x286522,this['_docStateChangeManagerService']=_0x4a913b;}[_0x3f93a3(0x270)](_0x1ee31a){const _0x48e56c=_0x3f93a3;this[_0x48e56c(0x2b7)](_0x1ee31a);}['transformRemoteChangeset'](_0x45abe9){const _0x1df3e7=_0x3f93a3,{unitID:_0x2b84a4}=_0x45abe9,{collaboration:_0x36b2fb}=this[_0x1df3e7(0x28b)][_0x1df3e7(0x188)](_0x2b84a4);if(_0x36b2fb['length']===0x0)return _0x45abe9;let _0x16e6e9=_0x1def49[_0x1df3e7(0x20e)][_0x1df3e7(0x297)](_0x45abe9[_0x1df3e7(0x167)][0x0]);for(let _0x2d804b=0x0;_0x2d804b<_0x36b2fb[_0x1df3e7(0x22a)];_0x2d804b++){const _0x565f7a={'id':_0x1df3e7(0x2a4),'params':{'unitId':_0x36b2fb[_0x2d804b]['unitId'],..._0x36b2fb[_0x2d804b][_0x1df3e7(0x300)]}},_0x5058ea=this[_0x1df3e7(0x2ff)][_0x1df3e7(0x19f)](_0x16e6e9,_0x565f7a,!0x1);if(_0x529ed4[_0x1df3e7(0x138)](_0x5058ea))throw _0x5058ea['error'];_0x16e6e9=_0x5058ea[_0x1df3e7(0x2a0)];}return{..._0x1def49['Tools']['deepClone'](_0x45abe9),'mutations':[_0x16e6e9]};}[_0x3f93a3(0x2b7)](_0x543d89){const _0x46de79=_0x3f93a3,{unitID:_0x541884}=_0x543d89,{history:_0x2ccd68,collaboration:_0x52b3f2}=this['_docStateChangeManagerService'][_0x46de79(0x188)](_0x541884);if(_0x2ccd68[_0x46de79(0x22a)]===0x0&&_0x52b3f2['length']===0x0)return;const _0x4b1127=[],_0x683246=[];let _0x29e6dc=_0x1def49['Tools']['deepClone'](_0x543d89[_0x46de79(0x167)][0x0]),_0x47994c=_0x1def49[_0x46de79(0x20e)]['deepClone'](_0x543d89[_0x46de79(0x167)][0x0]);for(let _0x35bee2=_0x2ccd68[_0x46de79(0x22a)]-0x1;_0x35bee2>=0x0;_0x35bee2--){const _0x507091={'id':_0x46de79(0x2a4),'params':{'unitId':_0x2ccd68[_0x35bee2][_0x46de79(0x14e)],..._0x2ccd68[_0x35bee2][_0x46de79(0x14a)]}},_0x141bd9={'id':_0x46de79(0x2a4),'params':{'unitId':_0x2ccd68[_0x35bee2][_0x46de79(0x14e)],..._0x2ccd68[_0x35bee2][_0x46de79(0x300)]}},_0x16a586=this[_0x46de79(0x2ff)][_0x46de79(0x19f)](_0x29e6dc,_0x507091,!0x1),_0x5917ed=this[_0x46de79(0x2ff)][_0x46de79(0x19f)](_0x47994c,_0x141bd9,!0x1);if(_0x529ed4['isTransformMutationFailure'](_0x16a586))throw _0x16a586[_0x46de79(0x30a)];if(_0x529ed4[_0x46de79(0x138)](_0x5917ed))throw _0x5917ed[_0x46de79(0x30a)];_0x4b1127['unshift']({..._0x2ccd68[_0x35bee2],'undoState':_0x16a586['m2Prime'][_0x46de79(0x242)],'redoState':_0x5917ed[_0x46de79(0x282)][_0x46de79(0x242)]}),_0x29e6dc=_0x16a586[_0x46de79(0x2a0)],_0x47994c=_0x5917ed[_0x46de79(0x2a0)];}_0x29e6dc=_0x1def49[_0x46de79(0x20e)]['deepClone'](_0x543d89[_0x46de79(0x167)][0x0]),_0x47994c=_0x1def49[_0x46de79(0x20e)][_0x46de79(0x297)](_0x543d89[_0x46de79(0x167)][0x0]);for(let _0x21fa60=_0x52b3f2[_0x46de79(0x22a)]-0x1;_0x21fa60>=0x0;_0x21fa60--){const _0x3864a7={'id':_0x46de79(0x2a4),'params':{'unitId':_0x52b3f2[_0x21fa60]['unitId'],..._0x52b3f2[_0x21fa60]['undoState']}},_0x3e0464={'id':_0x46de79(0x2a4),'params':{'unitId':_0x52b3f2[_0x21fa60][_0x46de79(0x14e)],..._0x52b3f2[_0x21fa60][_0x46de79(0x300)]}},_0x1e08e1=this['_transformService']['transformMutation'](_0x29e6dc,_0x3864a7,!0x1),_0x475166=this['_transformService'][_0x46de79(0x19f)](_0x47994c,_0x3e0464,!0x1);if(_0x529ed4['isTransformMutationFailure'](_0x1e08e1))throw _0x1e08e1['error'];if(_0x529ed4[_0x46de79(0x138)](_0x475166))throw _0x475166[_0x46de79(0x30a)];_0x683246[_0x46de79(0x204)]({..._0x52b3f2[_0x21fa60],'undoState':_0x1e08e1[_0x46de79(0x282)]['params'],'redoState':_0x475166[_0x46de79(0x282)][_0x46de79(0x242)]}),_0x29e6dc=_0x1e08e1['m1Prime'],_0x47994c=_0x475166['m1Prime'];}this['_docStateChangeManagerService']['setStateCache'](_0x541884,{'history':_0x4b1127,'collaboration':_0x683246});}};_0xa7f002=_0x3b3df1([_0x1ee455(0x0,_0x1def49['Inject'](_0x1def49[_0x3f93a3(0x14d)])),_0x1ee455(0x1,_0x529ed4[_0x3f93a3(0x18a)]),_0x1ee455(0x2,_0x1def49[_0x3f93a3(0x2e5)](_0x38c4f6['DocStateChangeManagerService']))],_0xa7f002);var _0x193b6f=Object[_0x3f93a3(0x239)],_0x38e442=(_0x145d99,_0x40a168,_0xcd2532,_0x366187)=>{for(var _0x54eb7f=_0x366187>0x1?void 0x0:_0x366187?_0x193b6f(_0x40a168,_0xcd2532):_0x40a168,_0x558c7f=_0x145d99['length']-0x1,_0x1b3aed;_0x558c7f>=0x0;_0x558c7f--)(_0x1b3aed=_0x145d99[_0x558c7f])&&(_0x54eb7f=_0x1b3aed(_0x54eb7f)||_0x54eb7f);return _0x54eb7f;},_0x41b4f4=(_0x4aaa4b,_0x13f91e)=>(_0x1a0376,_0x3a9017)=>_0x13f91e(_0x1a0376,_0x3a9017,_0x4aaa4b);let _0x2f2eed=class{constructor(_0x1d5f7d,_0x913f8a){const _0x28644a=_0x3f93a3;this[_0x28644a(0xaf)]=_0x1d5f7d,this[_0x28644a(0x2ff)]=_0x913f8a;}[_0x3f93a3(0x2a2)](_0xb8625e){const _0xef8583=_0x3f93a3;var _0x3a28b2;const _0x51e48e=this[_0xef8583(0xaf)][_0xef8583(0x17c)](_0x5ec733['DocSelectionManagerService']),_0x46eab9=(_0x3a28b2=_0x51e48e[_0xef8583(0x2f8)]())!=null?_0x3a28b2:[];if(_0x46eab9['length']===0x0)return;const _0x3ee85d=_0xb8625e[_0xef8583(0xf7)],_0xfb6bc5=[{'id':_0xef8583(0x2a4),'params':{'unitId':_0x3ee85d,'actions':null,'textRanges':_0x46eab9}}],_0x5431aa=this['_transformService']['transformMutationsWithChangeset'](_0xb8625e,_0xfb6bc5);if(!_0x529ed4[_0xef8583(0x30f)](_0x5431aa))throw _0x5431aa['error'];const _0x5c4e9b=_0x5431aa[_0xef8583(0x282)][0x0][_0xef8583(0x242)][_0xef8583(0x203)];Array[_0xef8583(0x1e9)](_0x5c4e9b)&&_0x5c4e9b[_0xef8583(0x22a)]&&_0x51e48e[_0xef8583(0x2ea)](_0x5c4e9b,{'unitId':_0x3ee85d,'subUnitId':_0x3ee85d},!0x1);}};_0x2f2eed=_0x38e442([_0x41b4f4(0x0,_0x1def49[_0x3f93a3(0x2e5)](_0x1def49[_0x3f93a3(0x14d)])),_0x41b4f4(0x1,_0x529ed4['ITransformService'])],_0x2f2eed);var _0x4f2941=Object['getOwnPropertyDescriptor'],_0x52653b=(_0x2152e4,_0x17d33b,_0x5a2725,_0x506028)=>{const _0xd26221=_0x3f93a3;for(var _0x3369db=_0x506028>0x1?void 0x0:_0x506028?_0x4f2941(_0x17d33b,_0x5a2725):_0x17d33b,_0x1aea4a=_0x2152e4[_0xd26221(0x22a)]-0x1,_0x358fda;_0x1aea4a>=0x0;_0x1aea4a--)(_0x358fda=_0x2152e4[_0x1aea4a])&&(_0x3369db=_0x358fda(_0x3369db)||_0x3369db);return _0x3369db;},_0x274f86=(_0x32130d,_0x1751b3)=>(_0x37e27c,_0x3b0f45)=>_0x1751b3(_0x37e27c,_0x3b0f45,_0x32130d);let _0x4220f4=class extends _0x1def49[_0x3f93a3(0x124)]{constructor(_0x7bd3ab,_0x1a1945,_0x319ca1,_0x770c95,_0x5d8ad7,_0x505201,_0x57d4c5,_0xed248a){const _0x32db4f=_0x3f93a3;super(),_0x2d103a(this,_0x32db4f(0x298),new _0x1bc390[(_0x32db4f(0x230))](_0x479769[_0x32db4f(0x21b)][_0x32db4f(0x9c)])),(this[_0x32db4f(0x28b)]=_0x7bd3ab,this[_0x32db4f(0xe5)]=_0x1a1945,this[_0x32db4f(0x120)]=_0x319ca1,this[_0x32db4f(0x229)]=_0x770c95,this[_0x32db4f(0x14c)]=_0x5d8ad7,this[_0x32db4f(0x2e8)]=_0x505201,this[_0x32db4f(0x1e6)]=_0x57d4c5,this['_localeService']=_0xed248a,this['_initEntityListener']());}[_0x3f93a3(0x12c)](){const _0x6bf66e=_0x3f93a3;this[_0x6bf66e(0x274)](this[_0x6bf66e(0xe5)][_0x6bf66e(0x257)][_0x6bf66e(0x1a5)](_0x1eb319=>{const _0x40dee9=_0x6bf66e,_0xe5e7d=this[_0x40dee9(0x28b)][_0x40dee9(0x217)]['subscribe'](_0x18f5a8=>{const _0x14207e=_0x40dee9;if(_0x18f5a8==null)return;const {unitId:_0x4a1795,redoState:_0x308b1e,commandId:_0x3738b4}=_0x18f5a8;if(_0x4a1795!==_0x1eb319[_0x14207e(0xf7)])return;const _0x50d59d={'id':_0x3738b4,'type':_0x1def49[_0x14207e(0x10a)][_0x14207e(0x161)],'params':{'unitId':_0x4a1795,'actions':_0x308b1e['actions'],'textRanges':null}};_0x1eb319['onLocalMutation'](_0x50d59d);});if(_0x1eb319['disposeWithMe'](_0xe5e7d),_0x1eb319 instanceof _0x479769[_0x40dee9(0x2f4)]){const _0x13dc4e={'onTransformIME':_0x10af28=>this[_0x40dee9(0x120)][_0x40dee9(0x173)](_0x10af28),'onTransformState':_0x126e9f=>this[_0x40dee9(0x229)][_0x40dee9(0x270)](_0x126e9f),'onTransformSelections':_0x1e0b7b=>this[_0x40dee9(0x14c)]['transformSelections'](_0x1e0b7b),'onSyncEditingCollabCursor':_0x1c99a0=>this[_0x40dee9(0x2e8)][_0x40dee9(0x20a)](_0x1c99a0),'onTransformRemoteChangesetByIMECache':_0x3e35d5=>this[_0x40dee9(0x120)]['transformRemoteChangeset'](_0x3e35d5),'onTransformRemoteChangesetByStateCache':_0x111d1c=>this['_docTransformStateCacheService'][_0x40dee9(0x15c)](_0x111d1c)};_0x1eb319['addHandlerCallback'](_0x13dc4e);}}));}};_0x4220f4=_0x52653b([_0x274f86(0x0,_0x1def49[_0x3f93a3(0x2e5)](_0x38c4f6[_0x3f93a3(0x1db)])),_0x274f86(0x1,_0x1def49['Inject'](_0x479769[_0x3f93a3(0x1aa)])),_0x274f86(0x2,_0x1def49[_0x3f93a3(0x2e5)](_0xa3a1d7)),_0x274f86(0x3,_0x1def49[_0x3f93a3(0x2e5)](_0xa7f002)),_0x274f86(0x4,_0x1def49[_0x3f93a3(0x2e5)](_0x2f2eed)),_0x274f86(0x5,_0x1def49['Inject'](_0x3a08fe)),_0x274f86(0x6,_0x13fd76[_0x3f93a3(0xf0)]),_0x274f86(0x7,_0x1def49[_0x3f93a3(0x2e5)](_0x1def49[_0x3f93a3(0x1f7)]))],_0x4220f4);var _0x48a9e9=Object[_0x3f93a3(0x239)],_0x2e142f=(_0x4b2bc9,_0xd3526a,_0x4adee6,_0x4ff041)=>{const _0x41b588=_0x3f93a3;for(var _0x39c6b3=_0x4ff041>0x1?void 0x0:_0x4ff041?_0x48a9e9(_0xd3526a,_0x4adee6):_0xd3526a,_0x27a095=_0x4b2bc9[_0x41b588(0x22a)]-0x1,_0x22d21b;_0x27a095>=0x0;_0x27a095--)(_0x22d21b=_0x4b2bc9[_0x27a095])&&(_0x39c6b3=_0x22d21b(_0x39c6b3)||_0x39c6b3);return _0x39c6b3;},_0x2d8d0a=(_0x3fa91b,_0x4ba0f4)=>(_0x5b1af1,_0x7ba6bf)=>_0x4ba0f4(_0x5b1af1,_0x7ba6bf,_0x3fa91b);let _0x2dd66f=class extends _0x1def49['Disposable']{constructor(_0x12a8a6,_0x501bd4,_0x5c8505){const _0x549b25=_0x3f93a3;super(),_0x2d103a(this,_0x549b25(0x2d5),new Map()),_0x2d103a(this,_0x549b25(0x2df),new Map()),_0x2d103a(this,_0x549b25(0xcf),!0x1),(this['_configService']=_0x12a8a6,this[_0x549b25(0x123)]=_0x501bd4,this[_0x549b25(0xb7)]=_0x5c8505);}[_0x3f93a3(0x1ab)](){const _0xfe051f=_0x3f93a3;this[_0xfe051f(0xcf)]=!0x0;}['enableLocalCache'](){const _0x39493b=_0x3f93a3;this[_0x39493b(0xcf)]=!0x1;}get[_0x3f93a3(0x2db)](){const _0x1d4faf=_0x3f93a3;return this[_0x1d4faf(0x2df)];}[_0x3f93a3(0x193)](){const _0x3e8525=_0x3f93a3;this[_0x3e8525(0x17e)]()[_0x3e8525(0x1a6)](()=>super['dispose']());}async[_0x3f93a3(0xce)](_0x51eeb0){const _0x37ee0e=_0x3f93a3;return this[_0x37ee0e(0xcf)]?null:this[_0x37ee0e(0x123)][_0x37ee0e(0x1e4)](_0x479769[_0x37ee0e(0x2b2)](_0x51eeb0));}async[_0x3f93a3(0x1f0)](_0x138507,_0x448c27){const _0x11ca9c=_0x3f93a3;return!!this[_0x11ca9c(0x123)][_0x11ca9c(0x95)](_0x138507,_0x448c27);}[_0x3f93a3(0x24f)](_0x236ad2,_0x122d4b,_0x545fba,_0x542c3b){const _0x320913=_0x3f93a3,_0x3fcebd=this[_0x320913(0xb7)][_0x320913(0x96)](_0x236ad2);this[_0x320913(0x2d5)][_0x320913(0x22e)](_0x236ad2,{'unitID':_0x236ad2,'type':_0x122d4b,'awaitingChangeset':_0x545fba,'mutations':_0x542c3b,'rev':_0x3fcebd}),this[_0x320913(0x2df)][_0x320913(0x2c7)](_0x236ad2)||this[_0x320913(0x2c8)](_0x236ad2);}[_0x3f93a3(0x2c8)](_0x2e13c9){const _0x4498f9=_0x3f93a3,_0x1867ee=this[_0x4498f9(0x99)]();_0x1867ee===0x0?this[_0x4498f9(0x306)](_0x2e13c9):this['_saveTaskMap'][_0x4498f9(0x22e)](_0x2e13c9,setTimeout(()=>this[_0x4498f9(0x306)](_0x2e13c9),_0x1867ee));}['_getSaveTimeout'](){const _0x119093=_0x3f93a3;var _0x3e2303;return(_0x3e2303=this['_configService'][_0x119093(0x2eb)](_0x479769[_0x119093(0x276)]))!=null?_0x3e2303:_0x479769['LOCAL_CACHE_INTERVAL'];}['_saveCache'](_0x54894c){const _0x566e00=_0x3f93a3,_0x168da4=this['_saveTaskMap'][_0x566e00(0x17c)](_0x54894c);return _0x168da4!==void 0x0&&window['clearTimeout'](_0x168da4),this['_localStorageService'][_0x566e00(0x95)](_0x479769[_0x566e00(0x2b2)](_0x54894c),this['_cachedData'][_0x566e00(0x17c)](_0x54894c))['then'](()=>this[_0x566e00(0x2df)][_0x566e00(0xd5)](_0x54894c));}async[_0x3f93a3(0x17e)](){const _0x3d8505=_0x3f93a3,_0x194e1e=[];this[_0x3d8505(0x2df)][_0x3d8505(0x2f2)]((_0x52ca42,_0x5e8d2d)=>{const _0x836091=_0x3d8505;window[_0x836091(0xec)](_0x52ca42),_0x194e1e[_0x836091(0x1b5)](this[_0x836091(0x306)](_0x5e8d2d)[_0x836091(0x1a6)](()=>{const _0x4953d8=_0x836091;this[_0x4953d8(0x2df)][_0x4953d8(0xd5)](_0x5e8d2d);}));}),await Promise[_0x3d8505(0x148)](_0x194e1e);}};_0x2dd66f=_0x2e142f([_0x2d8d0a(0x0,_0x1def49['IConfigService']),_0x2d8d0a(0x1,_0x1def49[_0x3f93a3(0xa1)]),_0x2d8d0a(0x2,_0x1def49[_0x3f93a3(0x2e5)](_0x529ed4['RevisionService']))],_0x2dd66f);class _0x23e6ac extends _0x1def49[_0x3f93a3(0x191)]{constructor(){const _0x3a3e38=_0x3f93a3;super(),_0x2d103a(this,_0x3a3e38(0x1e7)),this['urlChange$']=_0x1bc390[_0x3a3e38(0x2d9)](window,_0x3a3e38(0x2da))[_0x3a3e38(0x122)](_0x1bc390['takeUntil'](this['dispose$']),_0x1bc390[_0x3a3e38(0xaa)](0x1),_0x1bc390[_0x3a3e38(0x1da)](void 0x0));}[_0x3f93a3(0x168)](_0x537062,_0x3caadf,_0x595494=!0x1){const _0xa4f2dc=_0x3f93a3,_0x3aad11=new URL(window[_0xa4f2dc(0x2d4)][_0xa4f2dc(0x314)]);_0x3aad11[_0xa4f2dc(0x165)][_0xa4f2dc(0x22e)](_0x537062,_0x3caadf),_0x595494?window['history'][_0xa4f2dc(0xf5)]('','',_0x3aad11[_0xa4f2dc(0x2c5)]()):window[_0xa4f2dc(0x2f9)][_0xa4f2dc(0x13d)]('','',_0x3aad11['toString']());}[_0x3f93a3(0x226)](_0x17a0c7,_0x18dcdd=!0x1){const _0x5a85a9=_0x3f93a3,_0x492386=new URL(window['location'][_0x5a85a9(0x314)]);_0x492386['searchParams'][_0x5a85a9(0xd5)](_0x17a0c7),_0x18dcdd?window[_0x5a85a9(0x2f9)][_0x5a85a9(0xf5)]('','',_0x492386[_0x5a85a9(0x2c5)]()):window[_0x5a85a9(0x2f9)][_0x5a85a9(0x13d)]('','',_0x492386[_0x5a85a9(0x2c5)]());}[_0x3f93a3(0x10d)](_0x2e1695){const _0x58054f=_0x3f93a3;var _0x20548a;return(_0x20548a=new URL(window[_0x58054f(0x2d4)][_0x58054f(0x314)])['searchParams']['get'](_0x2e1695))!=null?_0x20548a:void 0x0;}}var _0x564bcc=Object[_0x3f93a3(0x1e3)],_0x194b4a=Object['getOwnPropertyDescriptor'],_0x2b2dd5=(_0x166418,_0x4a68ee,_0x37f98a)=>_0x4a68ee in _0x166418?_0x564bcc(_0x166418,_0x4a68ee,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x37f98a}):_0x166418[_0x4a68ee]=_0x37f98a,_0x560e24=(_0x12278c,_0x472897,_0x30db26,_0x4fa4a9)=>{const _0x5d1160=_0x3f93a3;for(var _0x5eb6e7=_0x4fa4a9>0x1?void 0x0:_0x4fa4a9?_0x194b4a(_0x472897,_0x30db26):_0x472897,_0x4eaa60=_0x12278c[_0x5d1160(0x22a)]-0x1,_0x5a5fa6;_0x4eaa60>=0x0;_0x4eaa60--)(_0x5a5fa6=_0x12278c[_0x4eaa60])&&(_0x5eb6e7=_0x5a5fa6(_0x5eb6e7)||_0x5eb6e7);return _0x5eb6e7;},_0x151495=(_0x5d80a5,_0x380c67)=>(_0x23ac6d,_0x2c8655)=>_0x380c67(_0x23ac6d,_0x2c8655,_0x5d80a5),_0x599521=(_0x2f535f,_0x243619,_0x3f4494)=>_0x2b2dd5(_0x2f535f,_0x243619+'',_0x3f4494);const _0x4cb91d=_0x3f93a3(0xf4);_0x285d46[_0x3f93a3(0x21a)]=class extends _0x1def49[_0x3f93a3(0x1dd)]{constructor(_0x2e2a32=_0x4b091e,_0x5b2fb7,_0x2c92c8,_0x5ba66f){const _0x4292f5=_0x3f93a3;super(),this[_0x4292f5(0x19b)]=_0x2e2a32,this[_0x4292f5(0xc8)]=_0x5b2fb7,this[_0x4292f5(0xaf)]=_0x2c92c8,this[_0x4292f5(0x1bf)]=_0x5ba66f;const {..._0x338499}=_0x1def49[_0x4292f5(0x26d)]({},_0x4b091e,this[_0x4292f5(0x19b)]);this['_configService'][_0x4292f5(0x20b)](_0x5d7a68,_0x338499);}[_0x3f93a3(0x113)](){const _0x4b26a5=_0x3f93a3;this[_0x4b26a5(0x1b9)](),this[_0x4b26a5(0x2cb)]();}[_0x3f93a3(0x2a6)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x377e5f=_0x3f93a3;var _0x545937;const _0x394d56=[[_0xc01724],[_0x2f2eed],[_0xa3a1d7],[_0xa7f002],[_0x3a08fe],[_0x1375cb,{'useClass':_0x23e6ac}],[_0x5196ad[_0x377e5f(0x202)],{'useClass':_0x5196ad[_0x377e5f(0x225)]}],[_0x479769[_0x377e5f(0xd4)],{'useClass':_0x2dd66f}],[_0x285d46[_0x377e5f(0x248)]],[_0x4220f4],[_0x3d4f9d],[_0x44815e],[_0x351e0a],[_0x285d46['CollaborationDataLoaderController']]];_0x1def49['registerDependencies'](this[_0x377e5f(0xaf)],_0x1def49[_0x377e5f(0x121)](_0x394d56,(_0x545937=this[_0x377e5f(0x19b)])==null?void 0x0:_0x545937[_0x377e5f(0x241)]));}[_0x3f93a3(0x180)](){const _0x5a34a1=_0x3f93a3;this['disposeWithMe'](this[_0x5a34a1(0xc8)][_0x5a34a1(0x94)](_0x1def49[_0x5a34a1(0x23e)]['UNIVER_DOC'],[_0x12384c])),this[_0x5a34a1(0x274)](this['_renderManagerService'][_0x5a34a1(0x94)](_0x1def49['UniverInstanceType'][_0x5a34a1(0x134)],[_0xde1d68]));}['_initDependencies'](){const _0x470c08=_0x3f93a3;_0x1def49[_0x470c08(0x139)](this[_0x470c08(0xaf)],[[_0x44815e],[_0x285d46[_0x470c08(0x248)]],[_0x4220f4],[_0x3d4f9d],[_0x285d46[_0x470c08(0xb8)]]]);}},_0x599521(_0x285d46['UniverCollaborationClientUIPlugin'],_0x3f93a3(0x1cd),_0x4cb91d),_0x285d46[_0x3f93a3(0x21a)]=_0x560e24([_0x1def49[_0x3f93a3(0x1b8)](_0x479769[_0x3f93a3(0x97)]),_0x151495(0x1,_0x451005[_0x3f93a3(0x215)]),_0x151495(0x2,_0x1def49['Inject'](_0x1def49[_0x3f93a3(0x14d)])),_0x151495(0x3,_0x1def49[_0x3f93a3(0x119)])],_0x285d46[_0x3f93a3(0x21a)]);var _0x3a851a=Object[_0x3f93a3(0x239)],_0x3b5380=(_0x7669e0,_0x1acf97,_0x3b8375,_0x1825cb)=>{const _0x1282a3=_0x3f93a3;for(var _0x426e25=_0x1825cb>0x1?void 0x0:_0x1825cb?_0x3a851a(_0x1acf97,_0x3b8375):_0x1acf97,_0x2fdbab=_0x7669e0[_0x1282a3(0x22a)]-0x1,_0x1108d4;_0x2fdbab>=0x0;_0x2fdbab--)(_0x1108d4=_0x7669e0[_0x2fdbab])&&(_0x426e25=_0x1108d4(_0x426e25)||_0x426e25);return _0x426e25;},_0x4a25ec=(_0x4eacf1,_0x5a8487)=>(_0x58537e,_0x4b99ee)=>_0x5a8487(_0x58537e,_0x4b99ee,_0x4eacf1);_0x285d46['BrowserCollaborationSocketService']=class extends _0x479769[_0x3f93a3(0xed)]{constructor(_0x2798b8,_0x20fee2,_0x161b34,_0x380e1d,_0x497ede){super(_0x2798b8,_0x20fee2,_0x161b34,_0x380e1d,_0x497ede);}async[_0x3f93a3(0x304)](_0x918476){const _0x2045a0=_0x3f93a3,_0x312410=await this[_0x2045a0(0x109)](),_0x3d1f41=this[_0x2045a0(0xe6)](_0x918476,_0x312410);return this['_doCreateSocket'](_0x3d1f41);}[_0x3f93a3(0xe6)](_0x4c3135,_0x627004){const _0x38cfd8=_0x3f93a3,_0x303b75=typeof window>'u'?new URL(_0x4c3135):new URL(_0x4c3135,window[_0x38cfd8(0x2d4)][_0x38cfd8(0x78)]);_0x303b75[_0x38cfd8(0x165)][_0x38cfd8(0x22e)](_0x38cfd8(0x1ef),_0x627004);const _0x14ce88=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x38cfd8(0x133)]);return _0x14ce88[_0x38cfd8(0x17c)]('runId')&&_0x303b75['searchParams'][_0x38cfd8(0x22e)](_0x38cfd8(0x266),_0x14ce88[_0x38cfd8(0x17c)](_0x38cfd8(0x266))),_0x303b75[_0x38cfd8(0x2c5)]();}async['_getSessionTicket'](){const _0x215b8b=_0x3f93a3;var _0x42d12c,_0xfd440a,_0xdfb5ca;const _0xbf2450=this[_0x215b8b(0x1bf)][_0x215b8b(0x2eb)](_0x479769[_0x215b8b(0xb6)]),_0x48cac8=(_0x42d12c=_0xbf2450==null?void 0x0:_0xbf2450[_0x215b8b(0xf6)])!=null?_0x42d12c:_0x479769[_0x215b8b(0x2ac)];return(_0xdfb5ca=(_0xfd440a=(await this[_0x215b8b(0x251)][_0x215b8b(0x17c)](_0x48cac8,{'headers':{'Content-Type':_0x215b8b(0x18f)}}))[_0x215b8b(0x26a)])==null?void 0x0:_0xfd440a['ticket'])!=null?_0xdfb5ca:'';}},_0x285d46[_0x3f93a3(0x1b2)]=_0x3b5380([_0x4a25ec(0x0,_0x1def49[_0x3f93a3(0x2e5)](_0x1def49['Injector'])),_0x4a25ec(0x1,_0x1def49[_0x3f93a3(0x2e5)](_0x5196ad[_0x3f93a3(0x283)])),_0x4a25ec(0x2,_0x1def49[_0x3f93a3(0x119)]),_0x4a25ec(0x3,_0x1def49['ILogService']),_0x4a25ec(0x4,_0x529ed4['ISnapshotServerService'])],_0x285d46[_0x3f93a3(0x1b2)]);const _0x130879=0x7530,_0x1b0f6a=_0x3f93a3(0x13f);class _0x525196 extends _0x1def49[_0x3f93a3(0x124)]{constructor(){const _0x5a7c84=_0x3f93a3;super(),_0x2d103a(this,'_id',_0x1def49['generateRandomId']()),_0x2d103a(this,_0x5a7c84(0x1d0),new Set()),_0x2d103a(this,_0x5a7c84(0x214),new Map()),_0x2d103a(this,_0x5a7c84(0x172),null),_0x2d103a(this,_0x5a7c84(0x98),new Map()),_0x2d103a(this,_0x5a7c84(0x197),new Map()),this['_init']();}['dispose'](){const _0x181fb2=_0x3f93a3;super[_0x181fb2(0x193)](),this[_0x181fb2(0x98)][_0x181fb2(0x2f2)]((_0x1439fc,_0x5473f1)=>this[_0x181fb2(0xdc)](_0x5473f1)),this['_heartbeatTimer']&&window[_0x181fb2(0x246)](this[_0x181fb2(0x172)]);}['getUnitStatus$'](_0x187ee6){const _0x434235=_0x3f93a3;return this[_0x434235(0x158)](_0x187ee6)[_0x434235(0x122)](_0x1bc390[_0x434235(0x22b)]());}[_0x3f93a3(0xdf)](_0x1d1f5c){const _0x45f33c=_0x3f93a3;this[_0x45f33c(0x1d0)][_0x45f33c(0x243)]===0x0&&this['_scheduleHeartbeat'](),this[_0x45f33c(0x1d0)][_0x45f33c(0x146)](_0x1d1f5c),this[_0x45f33c(0x2fc)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x1d1f5c],'isForwarded':!0x1});}[_0x3f93a3(0x77)](_0x5994f2){const _0x4eadd4=_0x3f93a3;this[_0x4eadd4(0x1d0)][_0x4eadd4(0xd5)](_0x5994f2),this[_0x4eadd4(0x1d0)][_0x4eadd4(0x243)]===0x0&&this[_0x4eadd4(0x172)]&&window[_0x4eadd4(0x246)](this[_0x4eadd4(0x172)]);}[_0x3f93a3(0xb0)](){const _0x59e945=_0x3f93a3;this[_0x59e945(0x274)](_0x1def49[_0x59e945(0xd3)](_0x1bc390[_0x59e945(0x2d9)](window,'storage')[_0x59e945(0x1a5)](_0x112384=>{const _0x26ad4a=_0x59e945;if(_0x112384[_0x26ad4a(0x7e)]!==_0x1b0f6a||!_0x112384['newValue'])return;const _0x4e1321=JSON[_0x26ad4a(0xac)](_0x112384[_0x26ad4a(0xd1)]);this[_0x26ad4a(0x178)](_0x4e1321);}))),window[_0x59e945(0x23c)]('unload',()=>this[_0x59e945(0x2fc)]({'type':0x1,'memberID':this[_0x59e945(0x2a7)],'unitIDs':Array[_0x59e945(0x1cb)](this[_0x59e945(0x1d0)])}));}[_0x3f93a3(0x178)](_0x460698){const _0x238d51=_0x3f93a3;switch(_0x460698['type']){case 0x0:this[_0x238d51(0x218)](_0x460698);break;case 0x1:this[_0x238d51(0x2fe)](_0x460698);break;case 0x2:this[_0x238d51(0xbb)](_0x460698);break;}}[_0x3f93a3(0x218)](_0xc8e388){const _0x20f4a5=_0x3f93a3,{unitIDs:_0x56b7aa,memberID:_0x1277a9,isForwarded:_0x33fb84}=_0xc8e388;_0x56b7aa[_0x20f4a5(0x2f2)](_0x31718c=>{const _0x5bc386=_0x20f4a5;if(!_0x33fb84&&this[_0x5bc386(0x214)][_0x5bc386(0x2c7)](_0x31718c)&&this[_0x5bc386(0x158)](_0x31718c)['next'](_0x479769['UnitStatus'][_0x5bc386(0x1f3)]),!this['_unitOnClients']['has'](_0x31718c)||!this['_unitOnClients']['get'](_0x31718c)[_0x5bc386(0x2c7)](_0x1277a9)){const _0x30cb48=this['_unitOnClients'][_0x5bc386(0x17c)](_0x31718c)||new Set();_0x30cb48[_0x5bc386(0x146)](_0x1277a9),this[_0x5bc386(0x214)]['set'](_0x31718c,_0x30cb48),this[_0x5bc386(0x223)](_0x1277a9);}}),_0x33fb84||this[_0x20f4a5(0x2fc)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x20f4a5(0x1d0)]],'isForwarded':!0x0});}[_0x3f93a3(0x223)](_0x267388){const _0x567dbc=_0x3f93a3;this[_0x567dbc(0xdc)](_0x267388);const _0x22cee9=window['setTimeout'](()=>{const _0x86f476=_0x567dbc;this[_0x86f476(0x214)][_0x86f476(0x2f2)](_0x3abebf=>{const _0x39807a=_0x86f476;_0x3abebf[_0x39807a(0xd5)](_0x267388);});},_0x130879*0x2);this[_0x567dbc(0x98)]['set'](_0x267388,_0x22cee9);}[_0x3f93a3(0xdc)](_0x30d463){const _0x585f50=_0x3f93a3;if(this['_clearOtherTimers'][_0x585f50(0x2c7)](_0x30d463)){const _0x2b0422=this[_0x585f50(0x98)]['get'](_0x30d463);_0x2b0422&&window[_0x585f50(0xec)](_0x2b0422),this[_0x585f50(0x98)]['set'](_0x30d463,null);}}[_0x3f93a3(0x2fe)](_0x12d93a){const _0x2c244f=_0x3f93a3,{memberID:_0x1cb1e1,unitIDs:_0x18b2be}=_0x12d93a;_0x18b2be[_0x2c244f(0x2f2)](_0x4f672e=>{const _0xf8b7a5=_0x2c244f;var _0x31b492;const _0x515bf4=this[_0xf8b7a5(0x214)]['get'](_0x4f672e);_0x515bf4&&(_0x515bf4[_0xf8b7a5(0xd5)](_0x1cb1e1),(_0x31b492=this['_ensureSubject'](_0x4f672e))==null||_0x31b492[_0xf8b7a5(0xbe)](_0x515bf4[_0xf8b7a5(0x243)]===0x0?_0x479769['UnitStatus'][_0xf8b7a5(0x186)]:_0x479769[_0xf8b7a5(0x232)]['OTHER_CLIENTS_EDITING']));}),this[_0x2c244f(0xdc)](_0x1cb1e1);}[_0x3f93a3(0xbb)](_0x39b1e1){const _0x48afa9=_0x3f93a3;this[_0x48afa9(0x223)](_0x39b1e1[_0x48afa9(0x104)]);}[_0x3f93a3(0x2fc)](_0x5763aa){const _0xa1aab4=_0x3f93a3;localStorage[_0xa1aab4(0x95)](_0x1b0f6a,JSON['stringify'](_0x5763aa));}[_0x3f93a3(0x28c)](){const _0x36e8ca=_0x3f93a3;this[_0x36e8ca(0x172)]=window[_0x36e8ca(0x11d)](()=>{const _0x19a006=_0x36e8ca;this[_0x19a006(0x2fc)]({'type':0x2,'memberID':this['_id']});},_0x130879);}[_0x3f93a3(0x158)](_0x23a4df){const _0x1fd1da=_0x3f93a3;return this[_0x1fd1da(0x197)][_0x1fd1da(0x2c7)](_0x23a4df)||this['_unitStatus'][_0x1fd1da(0x22e)](_0x23a4df,new _0x1bc390[(_0x1fd1da(0x230))](_0x479769[_0x1fd1da(0x232)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x1fd1da(0x197)][_0x1fd1da(0x17c)](_0x23a4df);}}var _0x43d076=(_0x511b13=>(_0x511b13[_0x511b13[_0x3f93a3(0x272)]=0x0]=_0x3f93a3(0x272),_0x511b13[_0x511b13['OK']=0x1]='OK',_0x511b13[_0x511b13[_0x3f93a3(0x16b)]=0x2]=_0x3f93a3(0x16b),_0x511b13[_0x511b13[_0x3f93a3(0x17f)]=0x3]=_0x3f93a3(0x17f),_0x511b13[_0x511b13['NOT_FOUND']=0x4]='NOT_FOUND',_0x511b13[_0x511b13[_0x3f93a3(0x27e)]=0x5]=_0x3f93a3(0x27e),_0x511b13[_0x511b13[_0x3f93a3(0x16d)]=0x6]=_0x3f93a3(0x16d),_0x511b13[_0x511b13[_0x3f93a3(0xa7)]=0x7]=_0x3f93a3(0xa7),_0x511b13[_0x511b13[_0x3f93a3(0x277)]=0x8]=_0x3f93a3(0x277),_0x511b13[_0x511b13[_0x3f93a3(0x2ca)]=0x9]=_0x3f93a3(0x2ca),_0x511b13[_0x511b13['LOGIN_FAILED']=0xa]=_0x3f93a3(0x2ee),_0x511b13[_0x511b13[_0x3f93a3(0x259)]=0x1389]=_0x3f93a3(0x259),_0x511b13[_0x511b13[_0x3f93a3(0x1ac)]=0x1771]=_0x3f93a3(0x1ac),_0x511b13[_0x511b13[_0x3f93a3(0x1fe)]=0x1772]=_0x3f93a3(0x1fe),_0x511b13[_0x511b13[_0x3f93a3(0x136)]=0x1773]=_0x3f93a3(0x136),_0x511b13[_0x511b13[_0x3f93a3(0xb3)]=0x1b59]=_0x3f93a3(0xb3),_0x511b13[_0x511b13[_0x3f93a3(0x2b6)]=0x1b5a]=_0x3f93a3(0x2b6),_0x511b13[_0x511b13['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x3f93a3(0x19a),_0x511b13[_0x511b13['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x3f93a3(0x1ad),_0x511b13[_0x511b13[_0x3f93a3(0x190)]=0x1b5d]='APPLY_DUPLICATED',_0x511b13[_0x511b13[_0x3f93a3(0x192)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x511b13[_0x511b13[_0x3f93a3(0x279)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x511b13[_0x511b13[_0x3f93a3(0x2e6)]=0x232a]=_0x3f93a3(0x2e6),_0x511b13[_0x511b13['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x3f93a3(0x208),_0x511b13[_0x511b13[_0x3f93a3(0x28f)]=0x232c]=_0x3f93a3(0x28f),_0x511b13[_0x511b13[_0x3f93a3(0xc3)]=0x232d]=_0x3f93a3(0xc3),_0x511b13[_0x511b13[_0x3f93a3(0x30e)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x511b13[_0x511b13[_0x3f93a3(0x15b)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x511b13[_0x511b13[_0x3f93a3(0xc2)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x511b13[_0x511b13[_0x3f93a3(0x23d)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x511b13[_0x511b13[_0x3f93a3(0x1f8)]=0x271a]=_0x3f93a3(0x1f8),_0x511b13[_0x511b13[_0x3f93a3(0x152)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x511b13[_0x511b13[_0x3f93a3(0x26c)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x511b13[_0x511b13[_0x3f93a3(0x1fd)]=0x271d]=_0x3f93a3(0x1fd),_0x511b13[_0x511b13[_0x3f93a3(0x93)]=0x271e]=_0x3f93a3(0x93),_0x511b13[_0x511b13['YUUMI_AI_RUN_FAILED']=0x271f]=_0x3f93a3(0x2ad),_0x511b13[_0x511b13[_0x3f93a3(0xb5)]=0x2af9]=_0x3f93a3(0xb5),_0x511b13[_0x511b13['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x3f93a3(0x287),_0x511b13[_0x511b13[_0x3f93a3(0x182)]=0x2ee2]=_0x3f93a3(0x182),_0x511b13[_0x511b13[_0x3f93a3(0x25e)]=0x2ee3]=_0x3f93a3(0x25e),_0x511b13[_0x511b13[_0x3f93a3(0x8a)]=0x2ee4]=_0x3f93a3(0x8a),_0x511b13[_0x511b13[_0x3f93a3(0xab)]=0x2ee5]=_0x3f93a3(0xab),_0x511b13[_0x511b13['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x3f93a3(0x102),_0x511b13[_0x511b13[_0x3f93a3(0x1ed)]=0x32ca]=_0x3f93a3(0x1ed),_0x511b13[_0x511b13[_0x3f93a3(0x135)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x511b13[_0x511b13['UNRECOGNIZED']=-0x1]=_0x3f93a3(0x2c0),_0x511b13))(_0x43d076||{}),_0x5ab996=Object[_0x3f93a3(0x239)],_0x2e4f66=(_0x1a3262,_0x4505dd,_0x2b8800,_0x282cae)=>{for(var _0x5d3359=_0x282cae>0x1?void 0x0:_0x282cae?_0x5ab996(_0x4505dd,_0x2b8800):_0x4505dd,_0xf56ead=_0x1a3262['length']-0x1,_0x122b3c;_0xf56ead>=0x0;_0xf56ead--)(_0x122b3c=_0x1a3262[_0xf56ead])&&(_0x5d3359=_0x122b3c(_0x5d3359)||_0x5d3359);return _0x5d3359;},_0x50643f=(_0x14606e,_0x30cfe6)=>(_0x67774e,_0x3c0ace)=>_0x30cfe6(_0x67774e,_0x3c0ace,_0x14606e);_0x285d46[_0x3f93a3(0x194)]=class extends _0x1def49[_0x3f93a3(0x124)]{constructor(_0x265025,_0x3acf81,_0x20ee03){const _0x4360fa=_0x3f93a3;super(),this[_0x4360fa(0x2fb)]=_0x265025,this[_0x4360fa(0x251)]=_0x3acf81,this[_0x4360fa(0x1bf)]=_0x20ee03;}async['runOnServer'](_0x3f67ca,_0x296c3a,_0x31da6d,..._0x299a60){const _0x131bdc=_0x3f93a3;var _0x3b534c,_0x3c09eb,_0x4c9ea4,_0x54b20d;const _0x316a63=this['_instanceService']['getFocusedUnit']();if(!_0x316a63)throw new Error(_0x131bdc(0x8d));const _0x41039a=((_0x3b534c=this['_configService']['getConfig'](_0x479769[_0x131bdc(0xb2)]))!=null?_0x3b534c:_0x479769[_0x131bdc(0x157)])+'/'+_0x3f67ca+_0x131bdc(0x265)+_0x296c3a,_0x378052=new URL(window[_0x131bdc(0x2d4)]['href']),_0x5f1591={'scriptId':_0x3f67ca,'runId':(_0x3c09eb=_0x378052['searchParams'][_0x131bdc(0x17c)](_0x131bdc(0x266)))!=null?_0x3c09eb:'','function':_0x296c3a,'unitId':_0x316a63['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x299a60),'invokeId':(_0x4c9ea4=_0x31da6d[_0x131bdc(0x189)])!=null?_0x4c9ea4:'','executionId':(_0x54b20d=_0x31da6d[_0x131bdc(0x11a)])!=null?_0x54b20d:''};try{const _0x1ed88a=await this['_httpService'][_0x131bdc(0x1f9)](_0x41039a,{'body':_0x5f1591});return _0x1ed88a[_0x131bdc(0x26a)]['error']&&_0x1ed88a[_0x131bdc(0x26a)][_0x131bdc(0x30a)]['code']!==_0x43d076['OK']?'Failed':_0x1ed88a[_0x131bdc(0x26a)][_0x131bdc(0xf9)];}catch{return _0x131bdc(0xd7);}}},_0x285d46['RemoteUniscriptService']=_0x2e4f66([_0x50643f(0x0,_0x1def49[_0x3f93a3(0xf2)]),_0x50643f(0x1,_0x1def49[_0x3f93a3(0x2e5)](_0x5196ad['HTTPService'])),_0x50643f(0x2,_0x1def49[_0x3f93a3(0x119)])],_0x285d46[_0x3f93a3(0x194)]),_0x285d46[_0x3f93a3(0x23b)]=_0x185b6e,_0x285d46[_0x3f93a3(0x1c9)]=_0x1375cb,_0x285d46[_0x3f93a3(0x2d7)]=_0x57f453,_0x285d46[_0x3f93a3(0x2e7)]=_0x525196,_0x285d46['WebURLService']=_0x23e6ac,Object['defineProperty'](_0x285d46,Symbol[_0x3f93a3(0x210)],{'value':_0x3f93a3(0x14b)});}));
1
+ function _0x3b5c(_0x36009f,_0xb1c39d){const _0x4c038a=_0x4c03();return _0x3b5c=function(_0x3b5ca5,_0x15dbb0){_0x3b5ca5=_0x3b5ca5-0x1e7;let _0x35830f=_0x4c038a[_0x3b5ca5];return _0x35830f;},_0x3b5c(_0x36009f,_0xb1c39d);}function _0x4c03(){const _0xde841e=['_anchorDot','error','prototype','SUBMIT_CHANGESET_TIMEOUT','jiqing.500','eventID','_refRangeService','_updateURLWithCurrentState','WebSocketService','forEach','getSheetId','values','setItem','RECT','startRow','restore','YUUMI_ASYNCIO_CANCELLED','APPLY_REJECT','[RemoteUniscriptService]:\x20no\x20focused\x20unit','OFFLINE','_startSheetCollabCursor','toStringTag','_localCacheService','_scheduleHeartbeat','getCollabCursors$','CollaborationStatus','off-line-single_clip0_910_343','@univerjs/rpc','PERMISSION_DENIED','send','_docTransformSelectionsService','getSheetBySheetId','random','entries','onLocalMutation','whenReady','_init','ILogService','unitID','SessionStatus','INVITE_CODE_ALREADY_BOUND','currentTheme$','useCallback','collaboration.closeRoom','Rect','_lastPointer','_refreshCollabCursors','2210949MYSCVn','children','setShapeProps','search','getColorFromTheme','save','_draw','...','OffLineSingle','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','subUnitId','yellow.400','defs','getRangePointData','arc','fromEventSubject','RemoveRowCommandId','_startDocCollabCursor','executionId','on-line-single_clip0_910_349','IRenderManagerService','_shapes','lineTo','wsSessionTicketUrl','enableLocalCache','getAncestorScale','CommandType','_transformPreviousActiveRange','rxjs/operators','getCurrent','SetTextSelectionsOperation','@univerjs/core','status$','RxDisposable','SheetCollabCursorShape','application/json','collabStatus.syncing','_collaborationController','Disposable','min','_commandService','_initEntityListener','set','_initCommandExecutedListener','closePath','disposeUnit','combineLatest','mask','symbol','setAlpha','@univerjs/ui','registerComponent','_range','loadUnit','setUndoRedoMutationParamsCache','_onRefRangeChange','throttleTime','with','OnLineSingle','use','all','MUTATION','isEditing','handleInsertRow','_entities','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','editingUnit','collabStatus.fetchMiss','_scheduleSaving','extend','unit','searchParams','subunit','@univerjs/drawing','_labelPosition','setActiveRange','propertyIsEnumerable','onMouseMove','_colorAssignService','width','max','clearTimeout','DOC_RANGE_TYPE','_removeCollabCursors','stringify','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','getMember','_drawAnchor','setParam','subscribe','_httpService','UNIVER_DOC','Tools','1002802KusoTJ','translate(.97)','endRow','@univerjs/docs-ui','getStateCache','handleIRemoveCol','CollaborationStatusDisplay','1789752tERPij','Unknown\x20user','clearInterval','RemoteUniscriptService','activeSheet$','useRef','getRenderById','body','Inject','YUUMI_URL_COL_OUT_OF_RANGE','/run/','createSocket','roomMembers$','handleMoveRange','CONNECTOR_DATA_TOO_LARGE','evenodd','doc.mutation.rich-text-editing','_updateCollabCursors','YUUMI_UNABLE_LOAD_URL','svg','popstate','SetWorksheetActivateCommand','UniverCollaborationClientUIPlugin','assign','USER_NOT_INVITED_CODE','USERS_LEAVE','_uiPartsService','_removeClearOtherTimer','createIdentifier','YUUMI_TABLE_NOT_FOUND_IN_UNIT','find','getSkeleton','history','CollaborationController','map','onPointerLeave$','react','path','Shape','getTypeOfUnitDisposed$','@univerjs/sheets','engine','_backgroundColor','CollaborationEvent','_onCursorUpdate','permission.title','touchDependencies','apply','_transformUndoRedoStack','addEventListener','LICENSE_MAX_UNITS_EXCEEDED','YUUMI_RATE_OVER_LIMIT','delete','pushState','getActiveSheet','UNIVER_SHEET','mergeOverrideWithDependencies','call','CLOSE_ROOM','runId','_logService','requireSession','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600','operators','hide','SheetSkeletonManagerService','takeUntil','0\x200\x2016\x2016','4988300IWGLpE','_localeService','BrowserCollaborationSocketService','isTransformMutationsWithChangesetSuccess','IMessageService','className','TEXT_RANGE_LAYER_INDEX','addObject','getUnitId','DocStateChangeManagerService','fromEvent','UniverCollaborationClientPlugin','UniverDocsUi','forwardRef','exhaustSavingTask','name','useObservable','_configService','onCommandExecuted','memberID','_roomMembers$','docStateChange$','LICENSE_EXPORT_SIZE_EXCEEDED','from','current','IUIPartsService','_onCursorDelete','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','YUUMI_AI_RUN_FAILED','_collabCursorState$','replace','2364771kcVnea','LOCAL_CACHE_INTERVAL','entityInit$','rgba(255,\x20255,\x20255,\x200.01)','handleDeleteRangeMoveUp','red.300','params','EMAIL_HAS_BEEN_BOUND','getLocalCacheKey','newValue','icon','split','_collabSessionService','NOT_FOUND','makeDirty','registerBeforeClose','UniverDesign','@univerjs/network','addHandlerCallback','url(#$1','triggerDblclick','ranges','DEFAULT_WS_SESSION_TICKET_URL','exports','_imageIoService','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_session','saveTaskMap','SetDocZoomRatioOperation','CHANGESET_REVISION_CONFILICT','IRemoteInstanceService','Warning','_saveCache','CollaborationSessionService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','YUUMI_ALL_TABLES_IS_INVALID','NodePositionConvertToRectRange','_handleHover','_handleJoinEvent','key','deepClone','add','indexOf','getCurrentUnitForType','WebBrowserSingleActiveUnitService','_revisionService','_hovered','IImageIoService','PENDING','onPointerEnter$','CollaborationDataLoaderController','TOO_MANY_REQUESTS','tag','React','CollaborationSocketService','INVITE_CODE_REQUIRED','saveOfflineData','_getAnchorBounding','black','_updateLocalCursor','collab-text-anchor-','MOBILE_HAS_BEEN_BOUND','disableLocalCache','UniverSheetsUi','_scene','_cachedData','textRanges','IURLService','on-line-single','isActive','defIds','connectInjector','collabStatus.conflict','UniverProCollaborationClient','_transformService','YUUMI_SUBSCRIPTION_NOT_FOUND','toString','_docTransformIMECacheService','NOT_COLLAB','trim','collaboration-client-ui.config','CollaborationUIEventId','xlink:href','_initStatusListener','_registerDependencies','_docSkeletonManagerService','handleInsertRangeMoveRight','_beforeCloseService','SetSelectionsOperation','_getSheetObject','_docStateChangeManagerService','UniverCore','green.600','FETCH_MISS','_ensureSubject','session.connection-failed','collaboration-client.offline-data-not-saved','UniverProCollaboration','Optional','unshift','_sheetSkeletonManagerService','getActiveRange','fill','24311waMzEI','redoState','_setupBeforeClosingHandler','_cursorInfo$','DeleteRangeMoveUpCommandId','getUndoRedoMutationParamsCache','override','useDependency','univerjs-icon\x20univerjs-icon-','_unitStatus','ILocalStorageService','DataLoaderService','getSheetObject','getTypeOfUnitAdded$','getUniverSheetInstance','url(#on-line-single_clip0_910_349)','debug','APPLY_NON_SEQUENTIAL_REVISION','_entityInit$','collaboration.single-unit.warning','asObservable','code','off-line-single','collabCursorState$','IUniverInstanceService','complete','toDisposable','length','ITransformService','3056ejcOeg','_disabled','disposeWithMe','next','attrs','OTHER_CLIENT_EDITING','createInstance','_syncEditingCollabCursorService','displayName','Error','_collaborationUIEventService','EffectRefRangId','1em','Failed','BehaviorSubject','LICENSE_DISTRO_REJECTED','debounce','runRefRangeMutations','_send','VIEW_MAIN','_registerRenderDependencies','UnitStatus','react/jsx-runtime','has','_docTransformStateCacheService','COLORS','UniverInstanceType','InsertColCommandId','_getScale','switchMap','jsx','HEADER_MENU','dispose','loadOfflineData','getRelativeToViewportCoord','clipPath','m1Prime','sessionTicket','RevisionService','APPLY_PERMISSION_DENIED','font','_univerInstanceService','getCoordByCell','_cursors','UniverUi','_textBubble','_toggleOnline','then','fillStyle','getDocRanges','_drawRectRange','_memberService','_anchor','collabStatus.synced','onPointerMove$','getViewport','string','fillRule','currentColor','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_localStorageService','roomMembers','handleInsertRangeMoveDown','_saveTaskMap','UniverProCollaborationClientUi','@univerjs-pro/collaboration-client','Injector','location','InsertRangeMoveDownCommandId','DocSkeletonManagerService','size','assignAColorForMemberID','FromArray','m2Prime','univer-text-red-500','COMPLETION_FINISHED','bottom','_name','_instanceService','getCollabEntity$','_updateSubUnitFromURLParams','UniverRpc','_status$','INotificationService','data','UniverEngineFormula','transformIMECache','undoState','get','_initResize','UNRECOGNIZED','_initEvent','#fff','addClipboardHook','INTERNAL_ERROR','_cursor','isTransformMutationFailure','HTTPService','imageSourceType','currentSkeleton$','_urlService','IConfigService','backgroundColor','ONLINE','_online','MoveRangeCommandId','UniverDocs','transform','@univerjs/engine-render','color','UNDEFINED','row','cursorInfo','@univerjs/docs','_dataLoaderService','generateRandomId','ALREADY_EXISTS','JOIN_ROOM_FAILED','sessionStatus$','_context','measureText','_render','getOffsetConfig','collab-client.tooltip.reconnect','MessageType','collab-rect-range-','fillText','_heartbeatTimer','post','univer-flex\x20univer-mr-2\x20univer-text-xl','getColor','_id','range','DisposableCollection','INVITE_CODE_HAS_BEEN_UES','subscribeEvent','_notificationService','amd','origin','moveTo','transformStateCache','LocaleService','TEXT','registerRenderModule','ColorKit','_collabCursorController','collabStatus.notCollab','sheetId','none','CollaborationUIEventService','_injector','getConfig','_config','unitId','ILocalCacheService','dispose$','ISnapshotServerService','onStarting','getValue','_toggleOffline','@univerjs-pro/collaboration','startsWith','Tooltip','_handleLeaveEvent','blue.400','transformMutation','CONFLICT','syncEditingCollabCursor','_docSkeleton','UniverIcon','transformSelections','BuiltInUIPart','round','getMergeData','_themeService','Workbook','source','_selfUnitIDs','debounceTime','UniverNetwork','labelPosition','mapTo','UNAUTHENTICATED','cursorInfo$','replaceDocRanges','Vector2','getParam','handleIRemoveRow','type','getMemberID','push','transformMutationsWithChangeset','_scheduleClearOtherTimer','filter','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_initStatusComponent','IBeforeCloseService','onTransformChange$','concat','flatMap','includes','SOCKET_FAILED','UPDATE_CURSOR','APPLY_DUPLICATED','14775GpSafJ','init','pipe','urlChange$','height','_createSocketURL','APPLY_REVISION_CONFILICT','_unitOnClients','_getSaveTimeout','transformRemoteChangeset','_setupSubUnitSync','WebURLService','div','_handleEvent','executeCommand','_docSyncEditingCollabCursorService','_getSessionTicket','_hover','SHEET_VIEWPORT_KEY','href','findNodePositionByCharIndex','_transformHistoryAndStateStack','Rectangle','rxjs','@univerjs/sheets-ui','getOwnPropertyDescriptor','DocCollaborationEntity','hovered','addObjects','1338FkohML','show','LOGIN_FAILED','_docClipboardService','hasOwnProperty','_assignedColors','_color','_getMergeRange','_initDependencies','defineProperty','jsxs','drawWith','_clearOtherTimers','_colorIndex','DependentOn','InsertRowCommandId','Module','actions','_messageService','_renderManagerService','isArray','selections','getFocusedUnit','SNAPSHOT_HAS_BEEN_REMOVED','#FFF','event$','beginPath','_hideTimer','ENSURE_SNAPSHOT_EXECUTION','ICommandService','top','INVALID_INVITE_CODE','registerDependencies','M0\x200H16V16H0z','idSuffix','_cursorShapes','unsubscribe','RegularPolygon','WECHAT_HAS_BEEN_BOUND','DesktopCollaborationStatusDisplayController','_eventUnsubscribe','colorChannel1','getVpScrollXYInfoByPosToVp','column','replaceState','createElement','InsertRangeMoveRightCommandId','_handleHeartbeatEvent','mutations','getUnitStatus$','YUUMI_NO_CUBOID_FOR_QUESTION','startColumn','function','session.collaboration-timeout','DocIMEInputManagerService','toRgbString','UniverEngineRender','@univerjs/design','text','selection'];_0x4c03=function(){return _0xde841e;};return _0x4c03();}(function(_0xd0bb7a,_0x475503){const _0x4659a2=_0x3b5c,_0xc51df2=_0xd0bb7a();while(!![]){try{const _0x519333=-parseInt(_0x4659a2(0x3cf))/0x1+-parseInt(_0x4659a2(0x3d6))/0x2+-parseInt(_0x4659a2(0x43a))/0x3+parseInt(_0x4659a2(0x41b))/0x4+-parseInt(_0x4659a2(0x2ea))/0x5*(-parseInt(_0x4659a2(0x307))/0x6)+parseInt(_0x4659a2(0x201))/0x7*(parseInt(_0x4659a2(0x21e))/0x8)+parseInt(_0x4659a2(0x372))/0x9;if(_0x519333===_0x475503)break;else _0xc51df2['push'](_0xc51df2['shift']());}catch(_0x2fe9b4){_0xc51df2['push'](_0xc51df2['shift']());}}}(_0x4c03,0xc1784),function(_0xf9d9cb,_0x5b1b46){const _0x1e101a=_0x3b5c;typeof exports=='object'&&typeof module<'u'?_0x5b1b46(exports,require(_0x1e101a(0x25f)),require('@univerjs/core'),require('@univerjs/engine-render'),require(_0x1e101a(0x44b)),require(_0x1e101a(0x3d2)),require(_0x1e101a(0x3bb)),require(_0x1e101a(0x301)),require(_0x1e101a(0x28f)),require('@univerjs-pro/collaboration'),require('@univerjs/engine-formula'),require(_0x1e101a(0x3fe)),require(_0x1e101a(0x38e)),require('@univerjs/sheets-ui'),require(_0x1e101a(0x234)),require(_0x1e101a(0x3a4)),require(_0x1e101a(0x340)),require(_0x1e101a(0x3fa)),require(_0x1e101a(0x35e))):typeof define==_0x1e101a(0x33b)&&define[_0x1e101a(0x2a7)]?define([_0x1e101a(0x451),'@univerjs-pro/collaboration-client',_0x1e101a(0x391),_0x1e101a(0x28a),_0x1e101a(0x44b),_0x1e101a(0x3d2),_0x1e101a(0x3bb),'rxjs','@univerjs/docs',_0x1e101a(0x2be),'@univerjs/engine-formula',_0x1e101a(0x3fe),_0x1e101a(0x38e),_0x1e101a(0x302),_0x1e101a(0x234),_0x1e101a(0x3a4),'@univerjs/design',_0x1e101a(0x3fa),'@univerjs/rpc'],_0x5b1b46):(_0xf9d9cb=typeof globalThis<'u'?globalThis:_0xf9d9cb||self,_0x5b1b46(_0xf9d9cb[_0x1e101a(0x25e)]={},_0xf9d9cb[_0x1e101a(0x483)],_0xf9d9cb[_0x1e101a(0x1f5)],_0xf9d9cb[_0x1e101a(0x33f)],_0xf9d9cb[_0x1e101a(0x2d1)],_0xf9d9cb[_0x1e101a(0x427)],_0xf9d9cb['UniverDrawing'],_0xf9d9cb[_0x1e101a(0x301)],_0xf9d9cb[_0x1e101a(0x288)],_0xf9d9cb[_0x1e101a(0x1fb)],_0xf9d9cb[_0x1e101a(0x273)],_0xf9d9cb['UniverSheets'],_0xf9d9cb['rxjs'][_0x1e101a(0x416)],_0xf9d9cb[_0x1e101a(0x479)],_0xf9d9cb[_0x1e101a(0x46f)],_0xf9d9cb[_0x1e101a(0x24a)],_0xf9d9cb[_0x1e101a(0x44a)],_0xf9d9cb[_0x1e101a(0x46f)],_0xf9d9cb[_0x1e101a(0x26f)]));}(this,function(_0x4c1233,_0x3d65ed,_0x186e4b,_0x20d9d1,_0x3e3da1,_0x5a340d,_0x4556f0,_0x64f24f,_0x21327e,_0x22f723,_0x5c76e3,_0x4ca586,_0x327f52,_0x14d3ba,_0x49f4d7,_0xb2ffad,_0x53a319,_0x5e91ba,_0xeef08d){'use strict';const _0x58ba74=_0x3b5c;var _0xeb16f8=Object[_0x58ba74(0x310)],_0x33b0eb=(_0x5b7830,_0x12cc29,_0x1a300c)=>_0x12cc29 in _0x5b7830?_0xeb16f8(_0x5b7830,_0x12cc29,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1a300c}):_0x5b7830[_0x12cc29]=_0x1a300c,_0x46798f=(_0x4d564e,_0x203a9d,_0x1a9981)=>_0x33b0eb(_0x4d564e,typeof _0x203a9d!=_0x58ba74(0x3a2)?_0x203a9d+'':_0x203a9d,_0x1a9981),_0x2afa8e=Object[_0x58ba74(0x303)],_0x4f152f=(_0x4f0877,_0x37ca87,_0x3f05a5,_0x25d2d6)=>{const _0x1a3ac2=_0x58ba74;for(var _0x36aa37=_0x25d2d6>0x1?void 0x0:_0x25d2d6?_0x2afa8e(_0x37ca87,_0x3f05a5):_0x37ca87,_0x155ce4=_0x4f0877[_0x1a3ac2(0x21c)]-0x1,_0x31d960;_0x155ce4>=0x0;_0x155ce4--)(_0x31d960=_0x4f0877[_0x155ce4])&&(_0x36aa37=_0x31d960(_0x36aa37)||_0x36aa37);return _0x36aa37;},_0x592214=(_0x4a872b,_0x236bf8)=>(_0x4d7529,_0x4aa630)=>_0x236bf8(_0x4d7529,_0x4aa630,_0x4a872b);let _0x38a985=class extends _0x186e4b[_0x58ba74(0x393)]{constructor(_0xbc3b69,_0x3d8e74){const _0x398303=_0x58ba74;super(),this[_0x398303(0x30a)]=_0xbc3b69,this[_0x398303(0x452)]=_0x3d8e74,this[_0x398303(0x367)]();}['_init'](){const _0xe9161=_0x58ba74,_0x13c4c1=this;this[_0xe9161(0x220)](this[_0xe9161(0x30a)][_0xe9161(0x27b)]({'onBeforePasteImage':async _0x4f185f=>{const _0xc13eb3=_0xe9161,_0xae7873=await _0x13c4c1[_0xc13eb3(0x452)]['saveImage'](_0x4f185f);return _0xae7873?{'source':_0xae7873[_0xc13eb3(0x2ce)],'imageSourceType':_0xae7873[_0xc13eb3(0x280)]}:null;}}));}};_0x38a985=_0x4f152f([_0x592214(0x0,_0x5a340d['IDocClipboardService']),_0x592214(0x1,_0x4556f0[_0x58ba74(0x469)])],_0x38a985);const _0x843e28=['purple.300',_0x58ba74(0x347),_0x58ba74(0x1f6),_0x58ba74(0x43f),_0x58ba74(0x2c2),_0x58ba74(0x37d)];class _0x525d1f extends _0x186e4b[_0x58ba74(0x398)]{constructor(){const _0x1611d8=_0x58ba74;super(...arguments),_0x46798f(this,_0x1611d8(0x30c),new Map()),_0x46798f(this,'_colorIndex',0x0);}[_0x58ba74(0x265)](_0x1f041d){const _0x502ba4=_0x58ba74;if(this['_assignedColors'][_0x502ba4(0x235)](_0x1f041d))return this[_0x502ba4(0x30c)][_0x502ba4(0x276)](_0x1f041d);const _0x21c09b=_0x843e28[this[_0x502ba4(0x314)]];return this[_0x502ba4(0x314)]=(this[_0x502ba4(0x314)]+0x1)%_0x843e28[_0x502ba4(0x21c)],this['_assignedColors'][_0x502ba4(0x39c)](_0x1f041d,_0x21c09b),_0x21c09b;}}function _0x145267(_0x147435){const _0xf8cd84=_0x58ba74;let _0x75f1fb='';for(const _0x1c563d of _0x147435){const {startOffset:_0x29c86b,endOffset:_0x28601c,isActive:_0x39ceb6,rangeType:_0xaea7e5,segmentId:_0xbb3b51,segmentPage:_0x57b58a}=_0x1c563d;_0x75f1fb[_0xf8cd84(0x21c)]&&(_0x75f1fb+=','),_0x75f1fb+=_0x29c86b+':'+_0x28601c+':'+(_0x39ceb6?'1':'0')+':'+_0xaea7e5+':'+_0xbb3b51+':'+_0x57b58a;}return _0x75f1fb;}function _0x4bd806(_0x5ae68b){const _0x4f7c2f=_0x58ba74,_0x30b84f=_0x5ae68b[_0x4f7c2f(0x445)](','),_0x5d6727=[];for(const _0x4bc77d of _0x30b84f){const [_0xc4d9ae,_0x54ea0b,_0x807301,_0x1aadaa,_0x57c3fe,_0x361605]=_0x4bc77d[_0x4f7c2f(0x445)](':');_0x5d6727[_0x4f7c2f(0x2dc)]({'startOffset':Number(_0xc4d9ae),'endOffset':Number(_0x54ea0b),'collapsed':_0xc4d9ae===_0x54ea0b,'isActive':_0x807301==='1','rangeType':_0x1aadaa===_0x186e4b[_0x4f7c2f(0x3c4)][_0x4f7c2f(0x2ac)]?_0x186e4b[_0x4f7c2f(0x3c4)][_0x4f7c2f(0x2ac)]:_0x186e4b['DOC_RANGE_TYPE'][_0x4f7c2f(0x350)],'segmentId':typeof _0x57c3fe==_0x4f7c2f(0x256)?String(_0x57c3fe):'','segmentPage':Number(_0x361605!=null?_0x361605:-0x1)});}return _0x5d6727['some'](_0x396a51=>_0x396a51[_0x4f7c2f(0x47f)])||(_0x5d6727[0x0][_0x4f7c2f(0x47f)]=!0x0),_0x5d6727;}class _0x1e8681 extends _0x186e4b[_0x58ba74(0x393)]{constructor(){const _0x5bc184=_0x58ba74;super(...arguments),_0x46798f(this,_0x5bc184(0x438),new _0x64f24f[(_0x5bc184(0x22c))](null)),_0x46798f(this,'collabCursorState$',this[_0x5bc184(0x438)][_0x5bc184(0x215)]());}[_0x58ba74(0x2c5)](_0xb6f307){const _0x3bcb68=_0x58ba74,{unitID:_0x17c138,memberID:_0x1e3d63,textRanges:_0x3378c7}=_0xb6f307,_0x575aa6=_0x145267(_0x3378c7);if(_0x575aa6==='')return;const _0x499583={'unitID':_0x17c138,'memberID':_0x1e3d63,'selection':_0x575aa6};this[_0x3bcb68(0x438)][_0x3bcb68(0x221)](_0x499583);}}var _0x5591b2=Object['getOwnPropertyDescriptor'],_0x14ab72=(_0x3848f5,_0x155d72,_0x1ada16,_0x130291)=>{const _0x56891c=_0x58ba74;for(var _0x3b701f=_0x130291>0x1?void 0x0:_0x130291?_0x5591b2(_0x155d72,_0x1ada16):_0x155d72,_0x12dd22=_0x3848f5[_0x56891c(0x21c)]-0x1,_0x2dfa68;_0x12dd22>=0x0;_0x12dd22--)(_0x2dfa68=_0x3848f5[_0x12dd22])&&(_0x3b701f=_0x2dfa68(_0x3b701f)||_0x3b701f);return _0x3b701f;},_0x42b4c7=(_0x20fe2c,_0x36cf8f)=>(_0xae6a87,_0xd209d8)=>_0x36cf8f(_0xae6a87,_0xd209d8,_0x20fe2c);const _0x4815ae=0x12c,_0x446143=0x64;let _0x1e13b8=class extends _0x186e4b[_0x58ba74(0x393)]{constructor(_0x11c7f4,_0x3fed39,_0x50f941,_0x3d33ce,_0x43c54f,_0x300dbe,_0x60dbaf,_0x48ef08,_0x2e1318){const _0x5e67de=_0x58ba74;super(),_0x46798f(this,'_online',!0x1),_0x46798f(this,_0x5e67de(0x367),!0x1),_0x46798f(this,_0x5e67de(0x204),new _0x64f24f[(_0x5e67de(0x22c))](new Map())),_0x46798f(this,_0x5e67de(0x2d5),this[_0x5e67de(0x204)]['asObservable']()),_0x46798f(this,'_roomMembers$',new _0x64f24f[(_0x5e67de(0x22c))]([])),_0x46798f(this,_0x5e67de(0x3e2),this[_0x5e67de(0x42f)][_0x5e67de(0x2ec)](_0x64f24f[_0x5e67de(0x2d0)](_0x4815ae))),_0x46798f(this,_0x5e67de(0x475),_0x186e4b[_0x5e67de(0x22e)](_0xac34fb=>{const _0x216074=_0x5e67de,_0x131ef3={'eventID':_0x22f723['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x216074(0x369)],'memberID':this[_0x216074(0x454)][_0x216074(0x2db)](),'selection':_0x145267(_0xac34fb)}};this[_0x216074(0x454)][_0x216074(0x360)](_0x131ef3,this[_0x216074(0x369)]);},_0x446143)),(this['unitID']=_0x11c7f4,this[_0x5e67de(0x454)]=_0x3fed39,this[_0x5e67de(0x2b4)]=_0x50f941,this[_0x5e67de(0x3c0)]=_0x3d33ce,this['_memberService']=_0x43c54f,this[_0x5e67de(0x225)]=_0x300dbe,this['_transformService']=_0x60dbaf,this['_univerInstanceService']=_0x48ef08,this[_0x5e67de(0x39a)]=_0x2e1318);}get[_0x58ba74(0x28e)](){const _0x2ee065=_0x58ba74;return this[_0x2ee065(0x204)][_0x2ee065(0x2bc)]();}get[_0x58ba74(0x25b)](){return this['_roomMembers$']['getValue']();}['dispose'](){const _0x5220fc=_0x58ba74;super['dispose'](),this[_0x5220fc(0x204)][_0x5220fc(0x221)](new Map()),this['_cursorInfo$'][_0x5220fc(0x21a)](),this[_0x5220fc(0x42f)][_0x5220fc(0x221)]([]),this[_0x5220fc(0x42f)][_0x5220fc(0x21a)]();}['init'](){const _0x1b931d=_0x58ba74;this[_0x1b931d(0x367)]||(this[_0x1b931d(0x367)]=!0x0,this[_0x1b931d(0x454)][_0x1b931d(0x294)][_0x1b931d(0x2ec)](_0x64f24f['takeUntil'](this[_0x1b931d(0x2b9)]))[_0x1b931d(0x3cb)](_0x29c971=>{const _0x2760d9=_0x1b931d;_0x29c971===_0x3d65ed[_0x2760d9(0x36a)][_0x2760d9(0x285)]?this[_0x2760d9(0x24c)]():this[_0x2760d9(0x2bd)]();}),this[_0x1b931d(0x454)][_0x1b931d(0x320)][_0x1b931d(0x2ec)](_0x64f24f[_0x1b931d(0x419)](this[_0x1b931d(0x2b9)]))['subscribe'](_0x57557f=>{const _0x4dd57a=_0x1b931d,_0x57e66d=_0x57557f[_0x4dd57a(0x348)];_0x57e66d===_0x22f723[_0x4dd57a(0x401)][_0x4dd57a(0x2e8)]&&this[_0x4dd57a(0x402)](_0x57557f),_0x57e66d===_0x22f723['CollaborationEvent'][_0x4dd57a(0x3ef)]&&this['_onCursorDelete'](_0x57557f);}),this[_0x1b931d(0x220)](this[_0x1b931d(0x39a)][_0x1b931d(0x42d)](_0x31b8a9=>{const _0x4bb44b=_0x1b931d,_0xdaaa64=_0x31b8a9['params'];_0xdaaa64!=null&&this['_online']&&_0x31b8a9['id']===_0x21327e[_0x4bb44b(0x390)]['id']&&_0xdaaa64['unitId']===this['unitID']&&_0xdaaa64[_0x4bb44b(0x3b0)]===!0x1&&_0xdaaa64[_0x4bb44b(0x44f)][_0x4bb44b(0x21c)]>0x0&&this[_0x4bb44b(0x475)](_0xdaaa64['ranges']);})),this[_0x1b931d(0x225)][_0x1b931d(0x218)][_0x1b931d(0x2ec)](_0x64f24f[_0x1b931d(0x419)](this['dispose$']))[_0x1b931d(0x3cb)](_0x3bc018=>{const _0x50d91e=_0x1b931d;if((_0x3bc018==null?void 0x0:_0x3bc018[_0x50d91e(0x369)])!==this[_0x50d91e(0x369)])return;const _0x50b8c9={'eventID':_0x22f723[_0x50d91e(0x401)]['UPDATE_CURSOR'],'data':_0x3bc018};this[_0x50d91e(0x402)](_0x50b8c9);}),this[_0x1b931d(0x220)](this[_0x1b931d(0x39a)]['onCommandExecuted'](_0x1da818=>{const _0x2d720f=_0x1b931d;if(_0x1da818[_0x2d720f(0x440)]==null)return;const _0x5df9d2=_0x1da818[_0x2d720f(0x440)];if(_0x1da818['id']!==_0x21327e['RichTextEditingMutation']['id']||_0x5df9d2[_0x2d720f(0x2b7)]!==this[_0x2d720f(0x369)])return;const _0x2e21cc={'id':_0x2d720f(0x3e6),'params':_0x5df9d2},_0x4b1275=this[_0x2d720f(0x28e)];for(const [_0x8888ac,_0x1b4c8b]of _0x4b1275){const _0x3e7941={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x2d720f(0x369)],'actions':null,'textRanges':_0x1b4c8b[_0x2d720f(0x44f)]}},_0x3151ad=this[_0x2d720f(0x484)]['transformMutation'](_0x2e21cc,_0x3e7941,!0x1);if(_0x22f723[_0x2d720f(0x27e)](_0x3151ad))throw _0x3151ad[_0x2d720f(0x344)];_0x4b1275[_0x2d720f(0x39c)](_0x8888ac,{..._0x1b4c8b,'ranges':_0x3151ad[_0x2d720f(0x267)][_0x2d720f(0x440)][_0x2d720f(0x47c)]});}queueMicrotask(()=>{const _0x5970c7=_0x2d720f;this[_0x5970c7(0x204)]['next'](_0x4b1275);});})));}['_onCursorUpdate'](_0x54820c){const _0xaf918a=_0x58ba74;var _0x363c8c,_0x1a5304;const {memberID:_0x1c01a0,selection:_0x4afff1}=_0x54820c[_0xaf918a(0x272)],_0x532aaa=_0x4bd806(_0x4afff1),_0x34a6b7=(_0x1a5304=(_0x363c8c=this['_memberService']['getMember'](this[_0xaf918a(0x369)],_0x1c01a0))==null?void 0x0:_0x363c8c['name'])!=null?_0x1a5304:_0xaf918a(0x3d7),_0x2e9796={'color':this[_0xaf918a(0x3c0)]['assignAColorForMemberID'](_0x1c01a0),'name':_0x34a6b7,'ranges':_0x532aaa},_0x353cdd=this[_0xaf918a(0x28e)];_0x353cdd[_0xaf918a(0x39c)](_0x1c01a0,_0x2e9796),this[_0xaf918a(0x204)][_0xaf918a(0x221)](_0x353cdd);}[_0x58ba74(0x435)](_0x3637ec){const _0x50cfea=_0x58ba74,{memberID:_0x73f538}=_0x3637ec['data'],_0x48acbd=this['cursorInfo'];_0x48acbd['delete'](_0x73f538),this['_cursorInfo$'][_0x50cfea(0x221)](_0x48acbd);}[_0x58ba74(0x24c)](){const _0x3e5d7e=_0x58ba74;var _0x50bdc1;if(this['_online']=!0x0,((_0x50bdc1=this[_0x3e5d7e(0x247)]['getFocusedUnit']())==null?void 0x0:_0x50bdc1[_0x3e5d7e(0x423)]())!==this['unitID'])return;const _0x3fa4de=this[_0x3e5d7e(0x2b4)][_0x3e5d7e(0x276)](_0x21327e['DocSelectionManagerService'])['getDocRanges']();Array[_0x3e5d7e(0x31b)](_0x3fa4de)&&_0x3fa4de[_0x3e5d7e(0x21c)]>0x0&&this[_0x3e5d7e(0x475)](_0x3fa4de);}[_0x58ba74(0x2bd)](){const _0x10ced8=_0x58ba74;this[_0x10ced8(0x286)]=!0x1;}};_0x1e13b8=_0x14ab72([_0x42b4c7(0x2,_0x186e4b[_0x58ba74(0x3de)](_0x186e4b[_0x58ba74(0x260)])),_0x42b4c7(0x3,_0x186e4b['Inject'](_0x525d1f)),_0x42b4c7(0x4,_0x186e4b[_0x58ba74(0x3de)](_0x3d65ed['MemberService'])),_0x42b4c7(0x5,_0x186e4b[_0x58ba74(0x3de)](_0x1e8681)),_0x42b4c7(0x6,_0x22f723[_0x58ba74(0x21d)]),_0x42b4c7(0x7,_0x186e4b['IUniverInstanceService']),_0x42b4c7(0x8,_0x186e4b['ICommandService'])],_0x1e13b8);var _0x5262b1=Object[_0x58ba74(0x303)],_0x49fd66=(_0x303302,_0x581b5d,_0x3ead55,_0xd1bc1f)=>{const _0x53799e=_0x58ba74;for(var _0x3f7b8f=_0xd1bc1f>0x1?void 0x0:_0xd1bc1f?_0x5262b1(_0x581b5d,_0x3ead55):_0x581b5d,_0x1f5f39=_0x303302[_0x53799e(0x21c)]-0x1,_0x1cbccb;_0x1f5f39>=0x0;_0x1f5f39--)(_0x1cbccb=_0x303302[_0x1f5f39])&&(_0x3f7b8f=_0x1cbccb(_0x3f7b8f)||_0x3f7b8f);return _0x3f7b8f;},_0x271b75=(_0x59f138,_0x89bb3f)=>(_0x1a6f35,_0x3dda31)=>_0x89bb3f(_0x1a6f35,_0x3dda31,_0x59f138);const _0x29cff8=0x12c,_0xe82d3d=0x64,_0x1d1a79=()=>{let _0x49790e=[],_0x450b0b=!0x1;return _0x24d7ee=>{const _0x5d2c94=_0x3b5c;_0x49790e[_0x5d2c94(0x2dc)](_0x24d7ee),_0x450b0b||(_0x450b0b=!0x0,setTimeout(()=>{const _0x2d54a9=_0x5d2c94;_0x49790e[_0x2d54a9(0x34c)](_0x4512f9=>_0x4512f9()),_0x49790e=[],_0x450b0b=!0x1;}));};};let _0x41ff28=class extends _0x186e4b['RxDisposable']{constructor(_0x54dfef,_0x5d9ad7,_0x18285b,_0xe3567a,_0x59f84f,_0x128032,_0x49c20e,_0x26ba87){const _0x1f9551=_0x58ba74;super(),_0x46798f(this,'_online',!0x1),_0x46798f(this,'_init',!0x1),_0x46798f(this,_0x1f9551(0x204),new _0x64f24f[(_0x1f9551(0x22c))](new Map())),_0x46798f(this,'cursorInfo$',this[_0x1f9551(0x204)]['asObservable']()),_0x46798f(this,_0x1f9551(0x42f),new _0x64f24f['BehaviorSubject']([])),_0x46798f(this,_0x1f9551(0x3e2),this['_roomMembers$'][_0x1f9551(0x2ec)](_0x64f24f[_0x1f9551(0x2d0)](_0x29cff8))),_0x46798f(this,'_updateLocalCursor',_0x186e4b[_0x1f9551(0x22e)]((_0x30446d,_0x582a7e)=>{const _0x1d7e97=_0x1f9551,_0x21a0ca={'eventID':_0x22f723[_0x1d7e97(0x401)][_0x1d7e97(0x2e8)],'data':{'unitID':this['unitID'],'memberID':this[_0x1d7e97(0x454)][_0x1d7e97(0x2db)](),'selection':_0x5c76e3['serializeRangeWithSheet'](_0x30446d,_0x582a7e['range'])}};this[_0x1d7e97(0x454)][_0x1d7e97(0x360)](_0x21a0ca,this['unitID']);},_0xe82d3d)),(this[_0x1f9551(0x369)]=_0x54dfef,this['_session']=_0x5d9ad7,this['_injector']=_0x18285b,this[_0x1f9551(0x3c0)]=_0xe3567a,this['_memberService']=_0x59f84f,this[_0x1f9551(0x247)]=_0x128032,this[_0x1f9551(0x39a)]=_0x49c20e,this[_0x1f9551(0x349)]=_0x26ba87);}get[_0x58ba74(0x28e)](){const _0x165e7d=_0x58ba74;return this[_0x165e7d(0x204)]['getValue']();}get[_0x58ba74(0x25b)](){const _0x489be8=_0x58ba74;return this['_roomMembers$'][_0x489be8(0x2bc)]();}[_0x58ba74(0x23e)](){const _0x4ed234=_0x58ba74;super['dispose'](),this['_cursorInfo$'][_0x4ed234(0x221)](new Map()),this['_cursorInfo$'][_0x4ed234(0x21a)](),this[_0x4ed234(0x42f)][_0x4ed234(0x221)]([]),this[_0x4ed234(0x42f)][_0x4ed234(0x21a)]();}[_0x58ba74(0x2eb)](){const _0x3c89bf=_0x58ba74;this['_init']||(this[_0x3c89bf(0x367)]=!0x0,this[_0x3c89bf(0x454)]['sessionStatus$'][_0x3c89bf(0x2ec)](_0x64f24f[_0x3c89bf(0x419)](this['dispose$']))[_0x3c89bf(0x3cb)](_0x29e447=>{const _0x1fa3c1=_0x3c89bf;_0x29e447===_0x3d65ed[_0x1fa3c1(0x36a)]['ONLINE']?this[_0x1fa3c1(0x24c)]():this[_0x1fa3c1(0x2bd)]();}),this[_0x3c89bf(0x454)][_0x3c89bf(0x320)]['pipe'](_0x64f24f['takeUntil'](this[_0x3c89bf(0x2b9)]))[_0x3c89bf(0x3cb)](_0x19c2a8=>{const _0x4e02d2=_0x3c89bf,_0x121d52=_0x19c2a8['eventID'];_0x121d52===_0x22f723[_0x4e02d2(0x401)][_0x4e02d2(0x2e8)]&&this[_0x4e02d2(0x402)](_0x19c2a8),_0x121d52===_0x22f723[_0x4e02d2(0x401)][_0x4e02d2(0x3ef)]&&this[_0x4e02d2(0x435)](_0x19c2a8);}),this[_0x3c89bf(0x3a9)](),this[_0x3c89bf(0x220)](this[_0x3c89bf(0x39a)][_0x3c89bf(0x42d)](_0x54e22a=>{const _0x48ac22=_0x3c89bf;if(this[_0x48ac22(0x286)]&&_0x54e22a['id']===_0x4ca586[_0x48ac22(0x1f2)]['id']&&_0x54e22a['params'][_0x48ac22(0x2b7)]===this['unitID']){const _0x4550df=_0x54e22a[_0x48ac22(0x440)];this[_0x48ac22(0x475)](_0x4550df[_0x48ac22(0x37c)],_0x4550df[_0x48ac22(0x31c)][0x0]);}})));}[_0x58ba74(0x402)](_0x1953ef){const _0x4a1403=_0x58ba74;var _0x5dcc39,_0x58149f;const {memberID:_0xd25d54,selection:_0x5ab522}=_0x1953ef[_0x4a1403(0x272)],{sheetName:_0x14a69a,range:_0xbba897}=_0x5c76e3['deserializeRangeWithSheet'](_0x5ab522),_0x13f988={'name':(_0x58149f=(_0x5dcc39=this[_0x4a1403(0x251)][_0x4a1403(0x3c8)](this[_0x4a1403(0x369)],_0xd25d54))==null?void 0x0:_0x5dcc39['name'])!=null?_0x58149f:_0x4a1403(0x3d7),'range':this['_getMergeRange'](_0x14a69a,_0xbba897),'sheetID':_0x14a69a,'color':this['_colorAssignService']['assignAColorForMemberID'](_0xd25d54),'selection':_0x5ab522},_0x42253d=this['cursorInfo'];_0x42253d[_0x4a1403(0x39c)](_0xd25d54,_0x13f988),this[_0x4a1403(0x204)][_0x4a1403(0x221)](_0x42253d);}[_0x58ba74(0x435)](_0x2fc1bd){const _0x5de1ab=_0x58ba74,{memberID:_0x28692e}=_0x2fc1bd[_0x5de1ab(0x272)],_0x313a28=this[_0x5de1ab(0x28e)];_0x313a28[_0x5de1ab(0x40a)](_0x28692e),this[_0x5de1ab(0x204)][_0x5de1ab(0x221)](_0x313a28);}[_0x58ba74(0x30e)](_0x1c1263,_0x16fd4e){const _0x11b4a8=_0x58ba74;var _0x5cd7de,_0x29f407;const _0xac7eae=(_0x29f407=(_0x5cd7de=this[_0x11b4a8(0x247)][_0x11b4a8(0x20f)](this[_0x11b4a8(0x369)]))==null?void 0x0:_0x5cd7de[_0x11b4a8(0x362)](_0x1c1263))==null?void 0x0:_0x29f407[_0x11b4a8(0x2cb)]();return(_0xac7eae==null?void 0x0:_0xac7eae[_0x11b4a8(0x3f4)](_0x4ed74f=>_0x186e4b[_0x11b4a8(0x300)]['contains'](_0x4ed74f,_0x16fd4e)))||_0x16fd4e;}[_0x58ba74(0x3a9)](){const _0x47b1b2=_0x58ba74,_0x19f6cd=new _0x186e4b[(_0x47b1b2(0x2a3))](),_0x36d527=_0x1d1a79(),_0x3ab675=()=>{const _0x47e285=_0x47b1b2;_0x19f6cd[_0x47e285(0x23e)]();const _0x208f20=(_0x5aac7d,_0x1dffbd,_0x5a55dd,_0x4583ed)=>{const _0x13c6e6=_0x47e285;let _0x2fbdc8=[];switch(_0x5aac7d['id']){case _0x4ca586[_0x13c6e6(0x229)]['DeleteRangeMoveLeftCommandId']:{_0x2fbdc8=_0x4ca586['handleDeleteRangeMoveLeft'](_0x5aac7d,_0x4583ed);break;}case _0x4ca586[_0x13c6e6(0x229)][_0x13c6e6(0x205)]:{_0x2fbdc8=_0x4ca586[_0x13c6e6(0x43e)](_0x5aac7d,_0x4583ed);break;}case _0x4ca586[_0x13c6e6(0x229)][_0x13c6e6(0x239)]:{_0x2fbdc8=_0x4ca586['handleInsertCol'](_0x5aac7d,_0x4583ed);break;}case _0x4ca586[_0x13c6e6(0x229)][_0x13c6e6(0x262)]:{_0x2fbdc8=_0x4ca586[_0x13c6e6(0x25c)](_0x5aac7d,_0x4583ed);break;}case _0x4ca586['EffectRefRangId'][_0x13c6e6(0x335)]:{_0x2fbdc8=_0x4ca586[_0x13c6e6(0x1f0)](_0x5aac7d,_0x4583ed);break;}case _0x4ca586[_0x13c6e6(0x229)][_0x13c6e6(0x316)]:{_0x2fbdc8=_0x4ca586[_0x13c6e6(0x3b1)](_0x5aac7d,_0x4583ed);break;}case _0x4ca586[_0x13c6e6(0x229)][_0x13c6e6(0x287)]:{_0x2fbdc8=_0x4ca586[_0x13c6e6(0x3e3)](_0x5aac7d,_0x4583ed);break;}case _0x4ca586[_0x13c6e6(0x229)]['RemoveColCommandId']:{_0x2fbdc8=_0x4ca586[_0x13c6e6(0x3d4)](_0x5aac7d,_0x4583ed);break;}case _0x4ca586['EffectRefRangId'][_0x13c6e6(0x382)]:{_0x2fbdc8=_0x4ca586[_0x13c6e6(0x2d9)](_0x5aac7d,_0x4583ed);break;}}const _0x150346=_0x4ca586[_0x13c6e6(0x22f)](_0x2fbdc8,_0x4583ed),_0x161c95=this['cursorInfo']['get'](_0x1dffbd);if(_0x161c95&&_0x150346){const _0xf3160d={..._0x161c95,'range':_0x150346};this['cursorInfo']['set'](_0x1dffbd,_0xf3160d),_0x36d527(()=>{const _0x1e8368=_0x13c6e6,_0x4cd63e=this[_0x1e8368(0x349)]['registerRefRange'](_0x150346,_0x31255f=>(_0x4cd63e[_0x1e8368(0x23e)](),_0x208f20(_0x31255f,_0x1dffbd,_0x5a55dd,_0x150346)));_0x19f6cd[_0x1e8368(0x463)](_0x4cd63e);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x47e285(0x34c)]((_0x5623d0,_0x5efd69)=>{const _0x47d963=_0x47e285,{range:_0x4a40c7,sheetID:_0x194a64}=_0x5623d0,_0x2b8ef4=this['_refRangeService']['registerRefRange'](_0x4a40c7,_0x48b68a=>(_0x2b8ef4[_0x47d963(0x23e)](),_0x208f20(_0x48b68a,_0x5efd69,_0x194a64,_0x4a40c7)));_0x19f6cd[_0x47d963(0x463)](_0x2b8ef4);});};this[_0x47b1b2(0x220)](_0x186e4b[_0x47b1b2(0x21b)](this[_0x47b1b2(0x204)][_0x47b1b2(0x3cb)](()=>{_0x3ab675();})));}[_0x58ba74(0x24c)](){const _0x54ce94=_0x58ba74;var _0x9426c4,_0x30646c;if(this[_0x54ce94(0x286)]=!0x0,((_0x9426c4=this[_0x54ce94(0x247)][_0x54ce94(0x31d)]())==null?void 0x0:_0x9426c4[_0x54ce94(0x423)]())!==this[_0x54ce94(0x369)])return;const _0x4ec12a=(_0x30646c=this[_0x54ce94(0x2b4)][_0x54ce94(0x276)](_0x4ca586['SheetsSelectionsService'])['getCurrentSelections']())==null?void 0x0:_0x30646c[0x0],_0x5a60c9=this[_0x54ce94(0x247)][_0x54ce94(0x465)](_0x186e4b[_0x54ce94(0x238)][_0x54ce94(0x40d)])[_0x54ce94(0x40c)]();_0x4ec12a&&_0x5a60c9&&this[_0x54ce94(0x475)](_0x5a60c9[_0x54ce94(0x34d)](),_0x4ec12a);}[_0x58ba74(0x2bd)](){this['_online']=!0x1;}};_0x41ff28=_0x49fd66([_0x271b75(0x2,_0x186e4b[_0x58ba74(0x3de)](_0x186e4b[_0x58ba74(0x260)])),_0x271b75(0x3,_0x186e4b['Inject'](_0x525d1f)),_0x271b75(0x4,_0x186e4b[_0x58ba74(0x3de)](_0x3d65ed['MemberService'])),_0x271b75(0x5,_0x186e4b[_0x58ba74(0x219)]),_0x271b75(0x6,_0x186e4b['ICommandService']),_0x271b75(0x7,_0x186e4b[_0x58ba74(0x3de)](_0x4ca586['RefRangeService']))],_0x41ff28);var _0x2bbf0f=Object['getOwnPropertyDescriptor'],_0x4919cd=(_0x56e389,_0x1bb161,_0x35bf64,_0x529e85)=>{const _0x32a2ca=_0x58ba74;for(var _0x4e77e3=_0x529e85>0x1?void 0x0:_0x529e85?_0x2bbf0f(_0x1bb161,_0x35bf64):_0x1bb161,_0x1d93c6=_0x56e389[_0x32a2ca(0x21c)]-0x1,_0x5c6269;_0x1d93c6>=0x0;_0x1d93c6--)(_0x5c6269=_0x56e389[_0x1d93c6])&&(_0x4e77e3=_0x5c6269(_0x4e77e3)||_0x4e77e3);return _0x4e77e3;},_0x5238d4=(_0x5b6e69,_0x36039c)=>(_0x426458,_0x4f3690)=>_0x36039c(_0x426458,_0x4f3690,_0x5b6e69);let _0x4cafe6=class extends _0x186e4b[_0x58ba74(0x393)]{constructor(_0x31b295,_0x3a11ae,_0x28a735){const _0x127ede=_0x58ba74;super(),_0x46798f(this,'_entities',new Map()),_0x46798f(this,_0x127ede(0x213),new _0x64f24f['Subject']()),(this[_0x127ede(0x247)]=_0x31b295,this['_injector']=_0x3a11ae,this[_0x127ede(0x446)]=_0x28a735,this[_0x127ede(0x367)]());}[_0x58ba74(0x23e)](){const _0x26363c=_0x58ba74;super[_0x26363c(0x23e)](),this['_entityInit$'][_0x26363c(0x21a)](),this[_0x26363c(0x3b2)][_0x26363c(0x34c)](_0x14bdb6=>_0x14bdb6[_0x26363c(0x23e)]());}['getCollabCursors$'](_0x18f13b){const _0x6ebbfd=_0x58ba74;return this[_0x6ebbfd(0x3b2)][_0x6ebbfd(0x235)](_0x18f13b)?this['_entities']['get'](_0x18f13b)[_0x6ebbfd(0x2d5)]:this[_0x6ebbfd(0x213)]['pipe'](_0x64f24f[_0x6ebbfd(0x2df)](_0x40733e=>_0x40733e[_0x6ebbfd(0x369)]===_0x18f13b),_0x64f24f[_0x6ebbfd(0x23b)](_0x21834e=>_0x21834e[_0x6ebbfd(0x2d5)]));}[_0x58ba74(0x367)](){const _0x528ef1=_0x58ba74;this[_0x528ef1(0x247)][_0x528ef1(0x20e)](_0x186e4b[_0x528ef1(0x238)][_0x528ef1(0x40d)])[_0x528ef1(0x2ec)](_0x64f24f['takeUntil'](this[_0x528ef1(0x2b9)]))['subscribe'](async _0x10ff9a=>{const _0x2845a2=_0x528ef1,_0x2712b=_0x10ff9a['getUnitId'](),_0x575665=await this[_0x2845a2(0x357)](_0x2712b);this[_0x2845a2(0x213)][_0x2845a2(0x221)](_0x575665),this[_0x2845a2(0x3b2)]['set'](_0x2712b,_0x575665);}),this[_0x528ef1(0x247)][_0x528ef1(0x20e)](_0x186e4b[_0x528ef1(0x238)][_0x528ef1(0x3cd)])[_0x528ef1(0x2ec)](_0x64f24f[_0x528ef1(0x419)](this[_0x528ef1(0x2b9)]))[_0x528ef1(0x2ec)](_0x64f24f['filter'](_0x243636=>!_0x243636['getUnitId']()[_0x528ef1(0x2bf)]('__')))[_0x528ef1(0x3cb)](async _0x4a57a5=>{const _0x22e547=_0x528ef1,_0x5a41a5=_0x4a57a5[_0x22e547(0x423)](),_0x381a6b=await this[_0x22e547(0x383)](_0x5a41a5);this['_entityInit$'][_0x22e547(0x221)](_0x381a6b),this[_0x22e547(0x3b2)][_0x22e547(0x39c)](_0x5a41a5,_0x381a6b);}),_0x64f24f['merge'](this[_0x528ef1(0x247)][_0x528ef1(0x3fd)](_0x186e4b['UniverInstanceType'][_0x528ef1(0x3cd)]),this[_0x528ef1(0x247)][_0x528ef1(0x3fd)](_0x186e4b[_0x528ef1(0x238)][_0x528ef1(0x40d)]))['pipe'](_0x64f24f[_0x528ef1(0x419)](this[_0x528ef1(0x2b9)]))[_0x528ef1(0x3cb)](_0x32fab2=>{const _0x5bf820=_0x528ef1,_0x3e2fda=_0x32fab2[_0x5bf820(0x423)](),_0x51c7ba=this[_0x5bf820(0x3b2)][_0x5bf820(0x276)](_0x3e2fda);_0x51c7ba&&(_0x51c7ba['dispose'](),this[_0x5bf820(0x3b2)][_0x5bf820(0x40a)](_0x3e2fda));});}async[_0x58ba74(0x357)](_0x1703a7){const _0x438711=_0x58ba74,_0x1bd0a5=await this[_0x438711(0x446)][_0x438711(0x413)](_0x1703a7),_0xe7767f=this['_injector'][_0x438711(0x224)](_0x41ff28,_0x1703a7,_0x1bd0a5);return _0xe7767f[_0x438711(0x2eb)](),_0xe7767f;}async[_0x58ba74(0x383)](_0x1cf8d0){const _0x2c3102=_0x58ba74,_0x3a80c8=await this[_0x2c3102(0x446)][_0x2c3102(0x413)](_0x1cf8d0),_0x5d913d=this['_injector'][_0x2c3102(0x224)](_0x1e13b8,_0x1cf8d0,_0x3a80c8);return _0x5d913d[_0x2c3102(0x2eb)](),_0x5d913d;}};_0x4cafe6=_0x4919cd([_0x5238d4(0x0,_0x186e4b[_0x58ba74(0x219)]),_0x5238d4(0x1,_0x186e4b[_0x58ba74(0x3de)](_0x186e4b[_0x58ba74(0x260)])),_0x5238d4(0x2,_0x186e4b[_0x58ba74(0x3de)](_0x3d65ed[_0x58ba74(0x45b)]))],_0x4cafe6);const _0x2fae8d=0x14,_0x119bdb=0xc8,_0x4e5670=0x4,_0x110249=0x5;function _0x2826a4(_0x3e7486,_0x1d4212){const _0x5ae241=_0x58ba74;let {radius:_0x4a607b,width:_0x257c39,height:_0x36bd91}=_0x1d4212;_0x4a607b=_0x4a607b!=null?_0x4a607b:0x0,_0x257c39=_0x257c39!=null?_0x257c39:0x1e,_0x36bd91=_0x36bd91!=null?_0x36bd91:0x1e;let _0x233e41=0x0,_0x25716f=0x0,_0x34b901=0x0;_0x233e41=_0x25716f=_0x34b901=Math[_0x5ae241(0x399)](_0x4a607b,_0x257c39/0x2,_0x36bd91/0x2),_0x3e7486[_0x5ae241(0x321)](),_0x3e7486[_0x5ae241(0x2a9)](_0x233e41,0x0),_0x3e7486['lineTo'](_0x257c39-_0x25716f,0x0),_0x3e7486[_0x5ae241(0x380)](_0x257c39-_0x25716f,_0x25716f,_0x25716f,Math['PI']*0x3/0x2,0x0,!0x1),_0x3e7486['lineTo'](_0x257c39,_0x36bd91-_0x34b901),_0x3e7486[_0x5ae241(0x380)](_0x257c39-_0x34b901,_0x36bd91-_0x34b901,_0x34b901,0x0,Math['PI']/0x2,!0x1),_0x3e7486[_0x5ae241(0x388)](0x0,_0x36bd91),_0x3e7486['lineTo'](0x0,_0x233e41),_0x3e7486[_0x5ae241(0x380)](_0x233e41,_0x233e41,_0x233e41,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3e7486[_0x5ae241(0x39e)](),_0x1d4212[_0x5ae241(0x200)]&&(_0x3e7486['save'](),_0x3e7486[_0x5ae241(0x24e)]=_0x1d4212[_0x5ae241(0x200)],_0x1d4212[_0x5ae241(0x257)]===_0x5ae241(0x3e5)?_0x3e7486[_0x5ae241(0x200)](_0x5ae241(0x3e5)):_0x3e7486[_0x5ae241(0x200)](),_0x3e7486[_0x5ae241(0x352)]());}class _0x1f0771 extends _0x20d9d1[_0x58ba74(0x3fc)]{constructor(_0x22dd40,_0xaa2c08){const _0x547370=_0x58ba74;super(_0x22dd40,_0xaa2c08),_0x46798f(this,'color'),_0x46798f(this,'text'),(this['color']=_0xaa2c08==null?void 0x0:_0xaa2c08['color'],this[_0x547370(0x341)]=_0xaa2c08==null?void 0x0:_0xaa2c08[_0x547370(0x341)]);}static[_0x58ba74(0x312)](_0x55aa79,_0x518656){const _0x472768=_0x58ba74,{text:_0x7686d0,color:_0x2ab4b5}=_0x518656;_0x55aa79['save'](),_0x55aa79[_0x472768(0x246)]=_0x472768(0x37b);const _0x1245b8=_0x55aa79['measureText'](_0x7686d0)['width'],_0x392b45=Math[_0x472768(0x399)](_0x1245b8+0x2*_0x4e5670,_0x119bdb);_0x2826a4(_0x55aa79,{'height':_0x2fae8d,'radius':0x4,'width':_0x392b45,'fill':_0x2ab4b5}),_0x55aa79['fillStyle']=_0x472768(0x31f);const _0x2c199a=_0x4e5670,_0x3658ef=_0x2fae8d-_0x110249,_0x569a4c=_0x119bdb-0x2*_0x4e5670;if(_0x1245b8>_0x569a4c){let _0x32cda1='',_0x478a58=0x0;for(const _0x54529c of _0x7686d0){const _0x115d91=_0x55aa79[_0x472768(0x296)](_0x54529c)[_0x472768(0x3c1)];if(_0x478a58+_0x115d91<=_0x569a4c-_0x55aa79['measureText'](_0x472768(0x379))[_0x472768(0x3c1)])_0x32cda1+=_0x54529c,_0x478a58+=_0x115d91;else{_0x32cda1+='...';break;}}_0x55aa79[_0x472768(0x29c)](_0x32cda1,_0x2c199a,_0x3658ef);}else _0x55aa79[_0x472768(0x29c)](_0x7686d0,_0x2c199a,_0x3658ef);_0x55aa79['restore']();}[_0x58ba74(0x378)](_0x18ac63){const _0x421b97=_0x58ba74;_0x1f0771[_0x421b97(0x312)](_0x18ac63,this);}}const _0x44f0ab=_0x58ba74(0x476),_0x52e0d9='collab-text-range-',_0x9b8487=_0x58ba74(0x29b),_0x4faf61=0x6,_0x46622e=1.5,_0x330b15=0x4,_0xba0c6c=1.5,_0x1d6e8c=_0x58ba74(0x43d);class _0x1d02f8{constructor(_0x3e96dc,_0x2e58bf,_0x54eb41,_0x282d56){const _0x1cc84a=_0x58ba74;_0x46798f(this,_0x1cc84a(0x387),[]),_0x46798f(this,'_anchor',null),_0x46798f(this,'_textBubble',null),_0x46798f(this,_0x1cc84a(0x343),null),_0x46798f(this,'_hideTimer',null),_0x46798f(this,'_eventUnsubscribe',null),(this['_cursor']=_0x3e96dc,this['_scene']=_0x2e58bf,this[_0x1cc84a(0x2c6)]=_0x54eb41,this['_document']=_0x282d56,this[_0x1cc84a(0x297)]());}set[_0x58ba74(0x2fb)](_0x4669d7){const _0x4178e1=_0x58ba74;_0x4669d7?(this[_0x4178e1(0x343)]&&this[_0x4178e1(0x343)]['hide'](),this[_0x4178e1(0x24b)]&&this[_0x4178e1(0x24b)][_0x4178e1(0x308)]()):(this[_0x4178e1(0x343)]&&this['_anchorDot']['show'](),this['_textBubble']&&this['_textBubble'][_0x4178e1(0x417)]());}[_0x58ba74(0x23e)](){const _0x14843e=_0x58ba74;for(const _0x1f7cec of this[_0x14843e(0x387)])_0x1f7cec[_0x14843e(0x23e)]();this[_0x14843e(0x24b)]&&this[_0x14843e(0x24b)][_0x14843e(0x23e)](),this[_0x14843e(0x343)]&&this[_0x14843e(0x343)][_0x14843e(0x23e)](),this[_0x14843e(0x252)]&&this['_anchor'][_0x14843e(0x23e)](),this[_0x14843e(0x32f)]&&this[_0x14843e(0x32f)]();}[_0x58ba74(0x297)](){const _0x15b7ad=_0x58ba74;var _0x295467;const {_docSkeleton:_0x436a2a,_document:_0x65adb8}=this,{color:_0x5c8ac3,name:_0x514211,ranges:_0x19c834}=this[_0x15b7ad(0x27d)],_0x443a39=_0x65adb8[_0x15b7ad(0x298)](),{docsLeft:_0x370b26,docsTop:_0x163402}=_0x443a39,_0x443831=new _0x5a340d['NodePositionConvertToCursor'](_0x443a39,_0x436a2a);for(const {startOffset:_0x48d2fd,endOffset:_0x693dc2,rangeType:_0x177a86,segmentId:_0x1b43c1,segmentPage:_0x517dc1,collapsed:_0x584f08,isActive:_0x4c65a9}of _0x19c834){const _0x1e5c71=_0x436a2a['findNodePositionByCharIndex'](_0x48d2fd,!0x0,_0x1b43c1,_0x517dc1);let _0x24f36b=_0x436a2a[_0x15b7ad(0x2fe)](_0x693dc2,!0x0,_0x1b43c1,_0x517dc1);if(_0x24f36b==null&&(_0x24f36b=_0x436a2a[_0x15b7ad(0x2fe)](_0x693dc2-0x1,!0x1,_0x1b43c1,_0x517dc1)),_0x4c65a9){const {contentBoxPointGroup:_0x12a562}=_0x443831['getRangePointData'](_0x24f36b,_0x24f36b);if(_0x12a562[_0x15b7ad(0x21c)]===0x0)continue;this[_0x15b7ad(0x3c9)](_0x5c8ac3,_0x12a562,_0x370b26,_0x163402,_0x514211),this['_eventUnsubscribe']=this[_0x15b7ad(0x45f)]();}if(_0x1e5c71&&_0x24f36b){if(_0x177a86===_0x186e4b[_0x15b7ad(0x3c4)]['RECT']){const _0x33271c=new _0x5a340d[(_0x15b7ad(0x45e))](_0x443a39,_0x436a2a),{pointGroup:_0x77e53c}=(_0x295467=_0x33271c[_0x15b7ad(0x37f)](_0x1e5c71,_0x24f36b))!=null?_0x295467:{};if(_0x77e53c==null||_0x77e53c[_0x15b7ad(0x21c)]===0x0)continue;this[_0x15b7ad(0x250)](_0x5c8ac3,_0x77e53c,_0x370b26,_0x163402);}else{if(!_0x584f08){const {borderBoxPointGroup:_0x3a88ec}=_0x443831[_0x15b7ad(0x37f)](_0x1e5c71,_0x24f36b);if(_0x3a88ec[_0x15b7ad(0x21c)]===0x0)continue;this['_drawTextRange'](_0x5c8ac3,_0x3a88ec,_0x370b26,_0x163402);}}}}}[_0x58ba74(0x3c9)](_0x483d4a,_0x4e4e05,_0x311bfa,_0x23536a,_0x5d1867){const _0x1a2fff=_0x58ba74,_0x20a3a4=this[_0x1a2fff(0x473)](_0x4e4e05),{left:_0x3d171a,top:_0x3c1c2d,height:_0x2cd2c9}=_0x20a3a4,_0x45fae4=this[_0x1a2fff(0x23a)](),_0x4e4626=_0xba0c6c/_0x45fae4,_0x472746=new _0x20d9d1[(_0x1a2fff(0x36f))](_0x44f0ab+_0x186e4b[_0x1a2fff(0x3ce)][_0x1a2fff(0x291)](_0x4faf61),{'left':_0x3d171a+_0x311bfa-_0x4e4626,'top':_0x3c1c2d+_0x23536a,'height':_0x2cd2c9,'width':_0x46622e,'fill':_0x483d4a||_0x20d9d1['getColor'](_0x186e4b[_0x1a2fff(0x237)][_0x1a2fff(0x474)],0x0),'strokeWidth':_0x4e4626,'stroke':_0x1d6e8c,'evented':!0x0});this[_0x1a2fff(0x252)]=_0x472746,this[_0x1a2fff(0x47a)][_0x1a2fff(0x422)](_0x472746,_0x5a340d['TEXT_RANGE_LAYER_INDEX']);const _0x39e18f=new _0x20d9d1['Rect'](_0x44f0ab+_0x186e4b['Tools']['generateRandomId'](_0x4faf61),{'left':_0x3d171a+_0x311bfa-_0x4e4626,'top':_0x3c1c2d+_0x23536a-_0x330b15/0x2,'height':_0x330b15,'width':_0x330b15,'fill':_0x483d4a||_0x20d9d1[_0x1a2fff(0x2a0)](_0x186e4b['COLORS'][_0x1a2fff(0x474)],0x0),'strokeWidth':0x0,'stroke':_0x483d4a||_0x20d9d1['getColor'](_0x186e4b[_0x1a2fff(0x237)]['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x39e18f,this['_scene'][_0x1a2fff(0x422)](_0x39e18f,_0x5a340d[_0x1a2fff(0x421)]);const _0x392d11=new _0x1f0771(_0x44f0ab+_0x186e4b['Tools'][_0x1a2fff(0x291)](_0x4faf61),{'left':_0x3d171a+_0x311bfa-_0x4e4626,'top':_0x3c1c2d+_0x23536a-_0x2fae8d,'text':_0x5d1867,'color':_0x483d4a});this[_0x1a2fff(0x24b)]=_0x392d11,this[_0x1a2fff(0x47a)][_0x1a2fff(0x422)](_0x392d11,_0x5a340d[_0x1a2fff(0x421)]),this['_hover']=!0x1;}[_0x58ba74(0x45f)](){const _0x5080b0=_0x58ba74,_0x46e5c2=this[_0x5080b0(0x252)][_0x5080b0(0x46b)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x226f00=this[_0x5080b0(0x252)][_0x5080b0(0x3f9)]['subscribeEvent'](()=>{const _0x33048b=_0x5080b0;this[_0x33048b(0x322)]&&clearTimeout(this[_0x33048b(0x322)]),this[_0x33048b(0x322)]=setTimeout(()=>{const _0x33b2f6=_0x33048b;this[_0x33b2f6(0x2fb)]=!0x1;},0x7d0);});return()=>{const _0xed1cbe=_0x5080b0;_0x46e5c2[_0xed1cbe(0x32b)](),_0x226f00['unsubscribe']();};}['_drawTextRange'](_0x39cda3,_0x4a8f03,_0x51c285,_0x4ea8eb){const _0x42c43d=_0x58ba74,_0xf745ac=new _0x186e4b[(_0x42c43d(0x2ae))](_0x39cda3)[_0x42c43d(0x3a3)](0.2)[_0x42c43d(0x33e)](),_0x316f0e=new _0x20d9d1['RegularPolygon'](_0x52e0d9+_0x186e4b[_0x42c43d(0x3ce)][_0x42c43d(0x291)](_0x4faf61),{'pointsGroup':_0x4a8f03,'fill':_0xf745ac||_0x20d9d1[_0x42c43d(0x2a0)](_0x186e4b[_0x42c43d(0x237)]['black'],0.2),'left':_0x51c285,'top':_0x4ea8eb,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x42c43d(0x2dc)](_0x316f0e),this[_0x42c43d(0x47a)][_0x42c43d(0x422)](_0x316f0e,_0x5a340d[_0x42c43d(0x421)]);}[_0x58ba74(0x250)](_0x189728,_0x1a04f6,_0x32c059,_0x381f53){const _0x341884=_0x58ba74,_0x221996=new _0x186e4b[(_0x341884(0x2ae))](_0x189728)[_0x341884(0x3a3)](0.2)[_0x341884(0x33e)](),_0x399ad2=new _0x20d9d1[(_0x341884(0x32c))](_0x9b8487+_0x186e4b[_0x341884(0x3ce)]['generateRandomId'](_0x4faf61),{'pointsGroup':_0x1a04f6,'fill':_0x221996||_0x20d9d1[_0x341884(0x2a0)](_0x186e4b['COLORS'][_0x341884(0x474)],0.2),'left':_0x32c059,'top':_0x381f53,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x341884(0x387)][_0x341884(0x2dc)](_0x399ad2),this['_scene'][_0x341884(0x422)](_0x399ad2,_0x5a340d[_0x341884(0x421)]);}[_0x58ba74(0x473)](_0x3c5945){const _0x5eff92=_0x3c5945[0x0],_0xa70d5b=_0x5eff92[0x0],_0x454779=_0x5eff92[0x2],{x:_0x2df91e,y:_0x365684}=_0xa70d5b,{x:_0x411b5d,y:_0x167945}=_0x454779;return{'left':_0x2df91e,'top':_0x365684,'width':_0x411b5d-_0x2df91e,'height':_0x167945-_0x365684};}[_0x58ba74(0x23a)](){const _0x579432=_0x58ba74,{scaleX:_0x5a9806,scaleY:_0x1fea9e}=this[_0x579432(0x47a)][_0x579432(0x38b)]();return Math[_0x579432(0x3c2)](_0x5a9806,_0x1fea9e);}}var _0x22b13b=Object[_0x58ba74(0x303)],_0x31c9bc=(_0x44b3a4,_0x2b24bc,_0x44d63d,_0x445020)=>{const _0x44ad65=_0x58ba74;for(var _0x273a8f=_0x445020>0x1?void 0x0:_0x445020?_0x22b13b(_0x2b24bc,_0x44d63d):_0x2b24bc,_0x48b4f3=_0x44b3a4[_0x44ad65(0x21c)]-0x1,_0x1ebaf7;_0x48b4f3>=0x0;_0x48b4f3--)(_0x1ebaf7=_0x44b3a4[_0x48b4f3])&&(_0x273a8f=_0x1ebaf7(_0x273a8f)||_0x273a8f);return _0x273a8f;},_0xb982ab=(_0x3e9b06,_0x1a48dd)=>(_0x184d93,_0x5ff87a)=>_0x1a48dd(_0x184d93,_0x5ff87a,_0x3e9b06);let _0x1d1f8d=class extends _0x186e4b[_0x58ba74(0x393)]{constructor(_0x18f164,_0x592e52,_0x17db35,_0x11beee,_0x1b7db8){const _0x33551d=_0x58ba74;super(),_0x46798f(this,_0x33551d(0x32a),[]),_0x46798f(this,'_cursors',[]),(this[_0x33551d(0x295)]=_0x18f164,this[_0x33551d(0x1ef)]=_0x592e52,this[_0x33551d(0x2af)]=_0x17db35,this['_commandService']=_0x11beee,this['_themeService']=_0x1b7db8,this[_0x33551d(0x367)]());}[_0x58ba74(0x367)](){const _0x3f1b1b=_0x58ba74,_0x573708=this[_0x3f1b1b(0x295)]['unitId'],_0x37f9bd=this['_docSkeletonManagerService'];this[_0x3f1b1b(0x220)](_0x64f24f[_0x3f1b1b(0x3a0)]([this['_collabCursorController']['getCollabCursors$'](_0x573708),this[_0x3f1b1b(0x2cc)][_0x3f1b1b(0x36c)]])['pipe'](_0x327f52['map'](([_0x15a65c,_0x464ede])=>({'skeleton':_0x37f9bd[_0x3f1b1b(0x3f5)](),'cursors':[..._0x15a65c[_0x3f1b1b(0x34e)]()][_0x3f1b1b(0x2e5)](_0x3a2cca=>({..._0x3a2cca,'color':this[_0x3f1b1b(0x2cc)][_0x3f1b1b(0x376)](_0x3a2cca[_0x3f1b1b(0x28b)])}))})))[_0x3f1b1b(0x3cb)](_0x3ab040=>{const _0x3fbcb4=_0x3f1b1b;if(this[_0x3fbcb4(0x3c5)](),_0x3ab040){const {skeleton:_0x4b8f5f,cursors:_0xb4a3f3}=_0x3ab040;this[_0x3fbcb4(0x3e7)](_0x4b8f5f,_0xb4a3f3);}})),this[_0x3f1b1b(0x277)](),this[_0x3f1b1b(0x39d)]();}[_0x58ba74(0x3e7)](_0x1df64f,_0x725ca9){const _0x20371d=_0x58ba74,{scene:_0x20d396,mainComponent:_0x1ba493}=this[_0x20371d(0x295)],_0x5f4840=_0x725ca9['map'](_0x1f5c54=>new _0x1d02f8(_0x1f5c54,_0x20d396,_0x1df64f,_0x1ba493));this[_0x20371d(0x32a)]=_0x5f4840,this[_0x20371d(0x249)]=_0x725ca9;}[_0x58ba74(0x371)](){const _0x26ee45=_0x58ba74;this['_removeCollabCursors']();const {scene:_0x86f7bb,mainComponent:_0x46e1dc}=this[_0x26ee45(0x295)],_0x297c03=this[_0x26ee45(0x1ef)][_0x26ee45(0x3f5)](),_0x156b03=this[_0x26ee45(0x249)]['map'](_0x94d159=>new _0x1d02f8(_0x94d159,_0x86f7bb,_0x297c03,_0x46e1dc));this[_0x26ee45(0x32a)]=_0x156b03;}[_0x58ba74(0x3c5)](){const _0x790be1=_0x58ba74;this[_0x790be1(0x32a)][_0x790be1(0x34c)](_0x447d24=>_0x447d24[_0x790be1(0x23e)]()),this[_0x790be1(0x32a)]=[];}['_initCommandExecutedListener'](){const _0x4928ab=_0x58ba74,_0x322924=[_0x5a340d[_0x4928ab(0x456)]['id']];this[_0x4928ab(0x220)](this[_0x4928ab(0x39a)][_0x4928ab(0x42d)](_0x3449a5=>{const _0xc93bd6=_0x4928ab;_0x322924[_0xc93bd6(0x2e6)](_0x3449a5['id'])&&_0x3449a5[_0xc93bd6(0x440)]['unitId']===this[_0xc93bd6(0x295)][_0xc93bd6(0x2b7)]&&this[_0xc93bd6(0x371)]();}));}[_0x58ba74(0x277)](){const _0x818828=_0x58ba74;this[_0x818828(0x220)](_0x186e4b[_0x818828(0x381)](this[_0x818828(0x295)][_0x818828(0x3ff)][_0x818828(0x2e3)])[_0x818828(0x2ec)](_0x327f52[_0x818828(0x2df)](_0x47ce2a=>_0x47ce2a[_0x818828(0x2da)]===_0x20d9d1['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),_0x327f52[_0x818828(0x3aa)](0x10))[_0x818828(0x3cb)](()=>{this['_refreshCollabCursors']();}));}};_0x1d1f8d=_0x31c9bc([_0xb982ab(0x1,_0x186e4b[_0x58ba74(0x3de)](_0x21327e[_0x58ba74(0x263)])),_0xb982ab(0x2,_0x186e4b[_0x58ba74(0x3de)](_0x4cafe6)),_0xb982ab(0x3,_0x186e4b[_0x58ba74(0x324)]),_0xb982ab(0x4,_0x186e4b['Inject'](_0x186e4b['ThemeService']))],_0x1d1f8d);const _0x359dd0=0x1,_0xaf58ab=1.5;class _0x4de1c9 extends _0x20d9d1['Shape']{constructor(_0x1d6c87,_0x119885){const _0x81323d=_0x58ba74;super(_0x1d6c87,_0x119885),_0x46798f(this,_0x81323d(0x30d)),_0x46798f(this,_0x81323d(0x468),!0x1),_0x46798f(this,_0x81323d(0x3a6)),_0x46798f(this,_0x81323d(0x26b),''),_0x46798f(this,_0x81323d(0x3bc),_0x81323d(0x325)),_0x46798f(this,_0x81323d(0x400)),(_0x119885&&this['setShapeProps'](_0x119885),this[_0x81323d(0x46b)]['subscribeEvent'](()=>this[_0x81323d(0x374)]({'hovered':!0x0})),this['onPointerLeave$'][_0x81323d(0x2a5)](()=>this[_0x81323d(0x374)]({'hovered':!0x1})));}['setShapeProps'](_0x1a8248){const _0x5a1f93=_0x58ba74;var _0x1fda19,_0x321f69,_0x216811,_0x2a101d,_0x130aaf,_0x5e090e;this['_color']=(_0x1fda19=_0x1a8248['color'])!=null?_0x1fda19:this[_0x5a1f93(0x30d)],this[_0x5a1f93(0x468)]=(_0x321f69=_0x1a8248[_0x5a1f93(0x305)])!=null?_0x321f69:this[_0x5a1f93(0x468)],this['_range']=(_0x216811=_0x1a8248[_0x5a1f93(0x2a2)])!=null?_0x216811:this[_0x5a1f93(0x3a6)],this['_name']=(_0x2a101d=_0x1a8248[_0x5a1f93(0x42a)])!=null?_0x2a101d:this['_name'],this[_0x5a1f93(0x3bc)]=(_0x130aaf=_0x1a8248[_0x5a1f93(0x2d2)])!=null?_0x130aaf:this[_0x5a1f93(0x3bc)],this['_backgroundColor']=(_0x5e090e=_0x1a8248[_0x5a1f93(0x284)])!=null?_0x5e090e:this[_0x5a1f93(0x400)],this['transformByState']({'width':_0x1a8248[_0x5a1f93(0x3c1)],'height':_0x1a8248[_0x5a1f93(0x2ee)]});}[_0x58ba74(0x3bf)](_0x572f6e){const _0x59ce87=_0x58ba74,{row:_0x51997e,column:_0x418fb1}=_0x572f6e;if(_0x51997e>=this[_0x59ce87(0x3a6)][_0x59ce87(0x351)]&&_0x51997e<=this[_0x59ce87(0x3a6)][_0x59ce87(0x3d1)]&&_0x418fb1>=this[_0x59ce87(0x3a6)][_0x59ce87(0x33a)]&&_0x418fb1<=this[_0x59ce87(0x3a6)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x59ce87(0x374)]({'hovered':!0x1});}[_0x58ba74(0x44e)](_0x399134){return!0x1;}['_draw'](_0x3de1ea){const _0x277fca=_0x58ba74;_0x20d9d1[_0x277fca(0x36f)][_0x277fca(0x312)](_0x3de1ea,{'width':this[_0x277fca(0x3c1)],'height':this[_0x277fca(0x2ee)],'strokeWidth':_0xaf58ab,'stroke':this[_0x277fca(0x30d)],'evented':!0x1,'fill':this[_0x277fca(0x400)]}),this[_0x277fca(0x468)]&&(_0x3de1ea[_0x277fca(0x377)](),_0x3de1ea[_0x277fca(0x289)](0x1,0x0,0x0,0x1,this['width'],this[_0x277fca(0x3bc)]===_0x277fca(0x26a)?0x0:-0x14),_0x1f0771[_0x277fca(0x312)](_0x3de1ea,{'text':this[_0x277fca(0x26b)],'color':this[_0x277fca(0x30d)]}),_0x3de1ea[_0x277fca(0x352)]());}}var _0x1a6263=Object['getOwnPropertyDescriptor'],_0x5d031e=(_0x1f37c1,_0xcdb9a8,_0x5bf482,_0x3eadf8)=>{const _0x14ffb3=_0x58ba74;for(var _0x3513eb=_0x3eadf8>0x1?void 0x0:_0x3eadf8?_0x1a6263(_0xcdb9a8,_0x5bf482):_0xcdb9a8,_0x1f3c13=_0x1f37c1[_0x14ffb3(0x21c)]-0x1,_0x32f745;_0x1f3c13>=0x0;_0x1f3c13--)(_0x32f745=_0x1f37c1[_0x1f3c13])&&(_0x3513eb=_0x32f745(_0x3513eb)||_0x3513eb);return _0x3513eb;},_0x4105a6=(_0xb9ce45,_0x1524cf)=>(_0x43b31b,_0x1a97c2)=>_0x1524cf(_0x43b31b,_0x1a97c2,_0xb9ce45);const _0x37b67e=0x1389;let _0x5cd7c8=class extends _0x186e4b['RxDisposable']{constructor(_0x249f3c,_0x3413c6,_0x3c48a5,_0x4bea06){const _0x2359cf=_0x58ba74;super(),_0x46798f(this,_0x2359cf(0x249),new Set()),_0x46798f(this,_0x2359cf(0x370),null),(this[_0x2359cf(0x295)]=_0x249f3c,this[_0x2359cf(0x1fe)]=_0x3413c6,this[_0x2359cf(0x2af)]=_0x3c48a5,this[_0x2359cf(0x2cc)]=_0x4bea06,this['_init']());}[_0x58ba74(0x367)](){const _0x921630=_0x58ba74;this[_0x921630(0x1fe)][_0x921630(0x281)][_0x921630(0x2ec)](_0x327f52[_0x921630(0x419)](this[_0x921630(0x2b9)]),_0x327f52[_0x921630(0x23b)](_0x762cb6=>{const _0x23f1d7=_0x921630;if(_0x762cb6){const _0x1a4c1b=_0x762cb6[_0x23f1d7(0x2b1)];return _0x64f24f[_0x23f1d7(0x3a0)](this[_0x23f1d7(0x2af)][_0x23f1d7(0x35b)](this['_context'][_0x23f1d7(0x2b7)]),this['_themeService'][_0x23f1d7(0x36c)])['pipe'](_0x327f52[_0x23f1d7(0x3f8)](([_0x350568,_0x603cb8])=>{const _0x3771a0=new Map();return _0x350568['forEach']((_0x156737,_0x15d737)=>{const _0x3565e6=_0x3b5c;if(_0x156737['sheetID']===_0x1a4c1b){const _0x56fb92={..._0x156737};_0x56fb92['color']=this[_0x3565e6(0x2cc)][_0x3565e6(0x376)](_0x156737[_0x3565e6(0x28b)]),_0x3771a0[_0x3565e6(0x39c)](_0x15d737,_0x56fb92);}}),{'skeleton':_0x762cb6,'cursors':_0x3771a0};}));}return _0x64f24f['of']({'skeleton':null,'cursors':new Map()});}))[_0x921630(0x3cb)](({skeleton:_0x4d0ed5,cursors:_0x58fd49})=>{const _0xe24f53=_0x921630;this[_0xe24f53(0x3c5)](),_0x4d0ed5&&this['_updateCollabCursors'](_0x4d0ed5,_0x58fd49);}),this[_0x921630(0x1fe)][_0x921630(0x281)][_0x921630(0x3cb)](_0x551a07=>{const _0x381bb4=_0x921630;if(_0x551a07==null)return;const {skeleton:_0x4cdadb}=_0x551a07,{scene:_0x133c0f}=this[_0x381bb4(0x295)];_0x133c0f[_0x381bb4(0x254)][_0x381bb4(0x2a5)](_0x186e4b[_0x381bb4(0x22e)](_0x1e9db6=>{const _0x42ae3f=_0x381bb4;var _0x5864a0,_0x3fb34c;const {offsetX:_0x190f34,offsetY:_0xee39bb}=_0x1e9db6,{x:_0x530a00,y:_0x2dde8d}=_0x133c0f[_0x42ae3f(0x240)](_0x20d9d1[_0x42ae3f(0x2d7)]['FromArray']([_0x190f34,_0xee39bb])),{scaleX:_0x322889,scaleY:_0x1360d2}=_0x133c0f[_0x42ae3f(0x38b)](),_0x35330f=_0x133c0f[_0x42ae3f(0x255)](_0x20d9d1[_0x42ae3f(0x2fc)][_0x42ae3f(0x231)]),_0x1dc00b=_0x133c0f[_0x42ae3f(0x331)](_0x20d9d1[_0x42ae3f(0x2d7)][_0x42ae3f(0x266)]([_0x530a00,_0x2dde8d]),_0x35330f),_0x4e41c2=_0x4cdadb['getCellPositionByOffset'](_0x190f34,_0xee39bb,_0x322889,_0x1360d2,_0x1dc00b);((_0x5864a0=this[_0x42ae3f(0x370)])==null?void 0x0:_0x5864a0[_0x42ae3f(0x332)])===_0x4e41c2[_0x42ae3f(0x332)]&&((_0x3fb34c=this[_0x42ae3f(0x370)])==null?void 0x0:_0x3fb34c['row'])===_0x4e41c2[_0x42ae3f(0x28d)]||this['_cursors'][_0x42ae3f(0x34c)](_0x4d4e73=>{const _0x568a0c=_0x42ae3f;_0x4d4e73[_0x568a0c(0x3bf)](_0x4e41c2);});},0x64));});}[_0x58ba74(0x3e7)](_0x54d6db,_0x3e23ec){const _0x3bbe80=_0x58ba74;var _0xeee904;const _0x1751d6=(_0xeee904=this[_0x3bbe80(0x1fe)][_0x3bbe80(0x38f)]())==null?void 0x0:_0xeee904['skeleton'];if(!_0x1751d6)return;const _0x5e9f4b=this[_0x3bbe80(0x1f3)]();if(!_0x5e9f4b)return;this['_cursors']['forEach'](_0x275ec1=>{const _0x3385a6=_0x3bbe80;_0x275ec1[_0x3385a6(0x448)]();});const {scene:_0x3624aa}=_0x5e9f4b,_0x435dc7=_0x505d23(Array['from'](_0x3e23ec[_0x3bbe80(0x34e)]()))[_0x3bbe80(0x3f8)](_0x10f026=>{const _0xf976c6=_0x3bbe80,{color:_0x49ee65,range:_0x3281b2,name:_0x300303,selection:_0x52afef,sheetID:_0x3acbfa}=_0x10f026,{startColumn:_0x25c312,startRow:_0x1c3037,endColumn:_0x4541ef,endRow:_0x5769c8}=_0x3281b2,_0x2a5fe8=_0x14d3ba['getCoordByCell'](_0x1c3037,_0x25c312,_0x3624aa,_0x1751d6),_0x3a3bb4=_0x14d3ba[_0xf976c6(0x248)](_0x5769c8,_0x4541ef,_0x3624aa,_0x1751d6),{columnHeaderHeightAndMarginTop:_0x313ac4}=_0x1751d6,{startX:_0x196e21,startY:_0x10751b}=_0x2a5fe8,{endX:_0x1ba3ee,endY:_0x331289}=_0x3a3bb4,_0x4e03c6=_0x1ba3ee-_0x196e21,_0x1c2ef9=_0x331289-_0x10751b,_0x554236={'labelPosition':_0x10751b-_0x313ac4>=_0x2fae8d?_0xf976c6(0x325):_0xf976c6(0x26a),'sheetID':_0x3acbfa,'range':_0x3281b2,'color':_0x49ee65,'name':_0x300303,'selection':_0x52afef,'left':_0x196e21,'top':_0x10751b,'width':_0x4e03c6,'height':_0x1c2ef9,'evented':!0x1,'zIndex':_0x37b67e};return new _0x4de1c9(_0x300303,_0x554236);});_0x3624aa[_0x3bbe80(0x306)](_0x435dc7,_0x359dd0),this[_0x3bbe80(0x249)]=new Set(_0x435dc7);}[_0x58ba74(0x3c5)](){const _0x34520f=_0x58ba74;var _0x59bb43;(_0x59bb43=this[_0x34520f(0x249)])==null||_0x59bb43[_0x34520f(0x34c)](_0x147817=>_0x147817[_0x34520f(0x23e)]());}[_0x58ba74(0x1f3)](){const _0x288d51=_0x58ba74;return _0x14d3ba[_0x288d51(0x20d)](this[_0x288d51(0x295)][_0x288d51(0x3b8)],this[_0x288d51(0x295)]);}};_0x5cd7c8=_0x5d031e([_0x4105a6(0x1,_0x186e4b[_0x58ba74(0x3de)](_0x14d3ba[_0x58ba74(0x418)])),_0x4105a6(0x2,_0x186e4b[_0x58ba74(0x3de)](_0x4cafe6)),_0x4105a6(0x3,_0x186e4b[_0x58ba74(0x3de)](_0x186e4b['ThemeService']))],_0x5cd7c8);function _0x505d23(_0x19b0bd){const _0x317987=_0x58ba74,_0x239b13=new Map();return _0x19b0bd[_0x317987(0x34c)](_0x28d253=>{const _0xf63391=_0x317987;if(_0x239b13[_0xf63391(0x235)](_0x28d253[_0xf63391(0x342)])){const _0x32bcdb=_0x239b13[_0xf63391(0x276)](_0x28d253['selection']);_0x32bcdb[_0xf63391(0x42a)]+=',\x20'+_0x28d253['name'];}else _0x239b13[_0xf63391(0x39c)](_0x28d253[_0xf63391(0x342)],_0x28d253);}),Array[_0x317987(0x432)](_0x239b13['values']());}var _0x4b59a1=function(){const _0x1fe50d=_0x58ba74;return _0x4b59a1=Object['assign']||function(_0x1b1c78){const _0x5497af=_0x3b5c;for(var _0x296190,_0x1fcf20=0x1,_0x2a2eab=arguments[_0x5497af(0x21c)];_0x1fcf20<_0x2a2eab;_0x1fcf20++){_0x296190=arguments[_0x1fcf20];for(var _0x508e44 in _0x296190)Object[_0x5497af(0x345)][_0x5497af(0x30b)][_0x5497af(0x40f)](_0x296190,_0x508e44)&&(_0x1b1c78[_0x508e44]=_0x296190[_0x508e44]);}return _0x1b1c78;},_0x4b59a1[_0x1fe50d(0x405)](this,arguments);},_0x211909=function(_0x5e8423,_0x42cfc8){const _0x25983d=_0x58ba74;var _0x188ea8={};for(var _0x5e978d in _0x5e8423)Object[_0x25983d(0x345)][_0x25983d(0x30b)][_0x25983d(0x40f)](_0x5e8423,_0x5e978d)&&_0x42cfc8[_0x25983d(0x464)](_0x5e978d)<0x0&&(_0x188ea8[_0x5e978d]=_0x5e8423[_0x5e978d]);if(_0x5e8423!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x22cb46=0x0,_0x5e978d=Object['getOwnPropertySymbols'](_0x5e8423);_0x22cb46<_0x5e978d['length'];_0x22cb46++)_0x42cfc8[_0x25983d(0x464)](_0x5e978d[_0x22cb46])<0x0&&Object['prototype'][_0x25983d(0x3be)]['call'](_0x5e8423,_0x5e978d[_0x22cb46])&&(_0x188ea8[_0x5e978d[_0x22cb46]]=_0x5e8423[_0x5e978d[_0x22cb46]]);}return _0x188ea8;},_0x3638ba=_0x5e91ba['forwardRef'](function(_0x5e1e98,_0xb77918){const _0xc07254=_0x58ba74;var _0x4256d1=_0x5e1e98[_0xc07254(0x444)],_0x2c8cbe=_0x5e1e98['id'],_0x2cc152=_0x5e1e98['className'],_0x33f0db=_0x5e1e98[_0xc07254(0x3b7)],_0x4e177e=_0x211909(_0x5e1e98,[_0xc07254(0x444),'id',_0xc07254(0x420),_0xc07254(0x3b7)]),_0x16e487=_0xc07254(0x209)['concat'](_0x2c8cbe,'\x20')[_0xc07254(0x2e4)](_0x2cc152||'')[_0xc07254(0x1e9)](),_0x5e706e=_0x5e91ba[_0xc07254(0x3db)]('_'[_0xc07254(0x2e4)](_0x405112()));return _0x14aaa8(_0x4256d1,''[_0xc07254(0x2e4)](_0x2c8cbe),{'defIds':_0x4256d1['defIds'],'idSuffix':_0x5e706e[_0xc07254(0x433)]},_0x4b59a1({'ref':_0xb77918,'className':_0x16e487},_0x4e177e),_0x33f0db);});function _0x14aaa8(_0x5d3d18,_0x10dc19,_0x2bcd55,_0x35ad36,_0x359b2a){const _0xd36f80=_0x58ba74;return _0x5e91ba[_0xd36f80(0x334)](_0x5d3d18[_0xd36f80(0x46e)],_0x4b59a1(_0x4b59a1({'key':_0x10dc19},_0x32f61b(_0x5d3d18,_0x2bcd55,_0x359b2a)),_0x35ad36),(_0x1684a9(_0x5d3d18,_0x2bcd55)[_0xd36f80(0x373)]||[])['map'](function(_0x463473,_0x32d6ee){const _0xcca7f0=_0xd36f80;return _0x14aaa8(_0x463473,''[_0xcca7f0(0x2e4)](_0x10dc19,'-')[_0xcca7f0(0x2e4)](_0x5d3d18[_0xcca7f0(0x46e)],'-')[_0xcca7f0(0x2e4)](_0x32d6ee),_0x2bcd55,void 0x0,_0x359b2a);}));}function _0x32f61b(_0x56378c,_0x4638e0,_0x2637c6){const _0x1d8df9=_0x58ba74;var _0x455809=_0x4b59a1({},_0x56378c['attrs']);_0x2637c6!=null&&_0x2637c6['colorChannel1']&&_0x455809['fill']===_0x1d8df9(0x330)&&(_0x455809['fill']=_0x2637c6[_0x1d8df9(0x330)]),_0x56378c[_0x1d8df9(0x46e)]===_0x1d8df9(0x3a1)&&_0x455809['id']&&(_0x455809['id']=_0x455809['id']+_0x4638e0[_0x1d8df9(0x329)]),Object[_0x1d8df9(0x364)](_0x455809)[_0x1d8df9(0x34c)](function(_0x55d17c){const _0x1705e7=_0x1d8df9;var _0x27d4f0=_0x55d17c[0x0],_0x6c25b8=_0x55d17c[0x1];_0x27d4f0===_0x1705e7(0x3a1)&&typeof _0x6c25b8=='string'&&(_0x455809[_0x27d4f0]=_0x6c25b8[_0x1705e7(0x439)](/url\(#(.*)\)/,_0x1705e7(0x44d)[_0x1705e7(0x2e4)](_0x4638e0[_0x1705e7(0x329)],')')));});var _0x2b9e3d=_0x4638e0[_0x1d8df9(0x480)];return!_0x2b9e3d||_0x2b9e3d[_0x1d8df9(0x21c)]===0x0||(_0x56378c['tag']===_0x1d8df9(0x3ad)&&_0x455809['xlink:href']&&(_0x455809['xlink:href']=_0x455809[_0x1d8df9(0x1ec)]+_0x4638e0['idSuffix']),Object[_0x1d8df9(0x364)](_0x455809)['forEach'](function(_0x32e306){const _0x1efb35=_0x1d8df9;var _0x32362f=_0x32e306[0x0],_0x1d11d5=_0x32e306[0x1];typeof _0x1d11d5==_0x1efb35(0x256)&&(_0x455809[_0x32362f]=_0x1d11d5[_0x1efb35(0x439)](/url\(#(.*)\)/,_0x1efb35(0x44d)[_0x1efb35(0x2e4)](_0x4638e0[_0x1efb35(0x329)],')')));})),_0x455809;}function _0x1684a9(_0x5e531b,_0x51b872){const _0x3db14e=_0x58ba74;var _0x59a55c,_0x5a7b98=_0x51b872[_0x3db14e(0x480)];return!_0x5a7b98||_0x5a7b98['length']===0x0?_0x5e531b:_0x5e531b['tag']===_0x3db14e(0x37e)&&(!((_0x59a55c=_0x5e531b[_0x3db14e(0x373)])===null||_0x59a55c===void 0x0)&&_0x59a55c['length'])?_0x4b59a1(_0x4b59a1({},_0x5e531b),{'children':_0x5e531b[_0x3db14e(0x373)][_0x3db14e(0x3f8)](function(_0x3a46c2){const _0x599732=_0x3db14e;return typeof _0x3a46c2[_0x599732(0x222)]['id']=='string'&&_0x5a7b98&&_0x5a7b98[_0x599732(0x464)](_0x3a46c2[_0x599732(0x222)]['id'])>-0x1?_0x4b59a1(_0x4b59a1({},_0x3a46c2),{'attrs':_0x4b59a1(_0x4b59a1({},_0x3a46c2['attrs']),{'id':_0x3a46c2[_0x599732(0x222)]['id']+_0x51b872[_0x599732(0x329)]})}):_0x3a46c2;})}):_0x5e531b;}function _0x405112(){const _0x38f688=_0x58ba74;return Math[_0x38f688(0x363)]()[_0x38f688(0x486)](0x24)['substring'](0x2,0x8);}_0x3638ba['displayName']=_0x58ba74(0x2c7);var _0x56df8a={'tag':'svg','attrs':{'fill':'none','viewBox':_0x58ba74(0x41a),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x58ba74(0x258),'d':_0x58ba74(0x3c7),'strokeLinecap':'round','strokeLinejoin':_0x58ba74(0x2ca),'strokeWidth':1.2}}]},{'tag':_0x58ba74(0x37e),'attrs':{},'children':[{'tag':_0x58ba74(0x241),'attrs':{'id':_0x58ba74(0x35d)},'children':[{'tag':_0x58ba74(0x3fb),'attrs':{'fill':'#fff','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x58ba74(0x35d)]},_0x3f112b=_0x5e91ba[_0x58ba74(0x428)](function(_0x453c50,_0x2fa46e){const _0x117e00=_0x58ba74;return _0x5e91ba[_0x117e00(0x334)](_0x3638ba,Object[_0x117e00(0x3ed)]({},_0x453c50,{'id':_0x117e00(0x217),'ref':_0x2fa46e,'icon':_0x56df8a}));});_0x3f112b[_0x58ba74(0x226)]=_0x58ba74(0x37a);var _0x121060={'tag':_0x58ba74(0x3e9),'attrs':{'fill':_0x58ba74(0x2b2),'viewBox':'0\x200\x2017\x2016','width':_0x58ba74(0x22a),'height':_0x58ba74(0x22a)},'children':[{'tag':'g','attrs':{'clipPath':_0x58ba74(0x210)},'children':[{'tag':_0x58ba74(0x3fb),'attrs':{'stroke':_0x58ba74(0x258),'d':_0x58ba74(0x3b3),'strokeLinecap':_0x58ba74(0x2ca),'strokeLinejoin':_0x58ba74(0x2ca),'strokeWidth':1.2}}]},{'tag':_0x58ba74(0x37e),'attrs':{},'children':[{'tag':_0x58ba74(0x241),'attrs':{'id':_0x58ba74(0x385)},'children':[{'tag':_0x58ba74(0x3fb),'attrs':{'fill':_0x58ba74(0x27a),'d':_0x58ba74(0x328),'transform':_0x58ba74(0x3d0)}}]}]}],'defIds':[_0x58ba74(0x385)]},_0x5ebfff=_0x5e91ba[_0x58ba74(0x428)](function(_0x3764c5,_0x259fbf){const _0x5d20ff=_0x58ba74;return _0x5e91ba[_0x5d20ff(0x334)](_0x3638ba,Object[_0x5d20ff(0x3ed)]({},_0x3764c5,{'id':_0x5d20ff(0x47e),'ref':_0x259fbf,'icon':_0x121060}));});_0x5ebfff[_0x58ba74(0x226)]=_0x58ba74(0x3ac);function _0x3b6c84(_0x57f6e7){const _0x1b151f=_0x58ba74;switch(_0x57f6e7){case _0x3d65ed[_0x1b151f(0x35c)][_0x1b151f(0x356)]:return'collabStatus.offline';case _0x3d65ed['CollaborationStatus'][_0x1b151f(0x2c4)]:return _0x1b151f(0x482);case _0x3d65ed[_0x1b151f(0x35c)][_0x1b151f(0x1f7)]:return _0x1b151f(0x3b5);case _0x3d65ed[_0x1b151f(0x35c)][_0x1b151f(0x1e8)]:return _0x1b151f(0x2b0);case _0x3d65ed[_0x1b151f(0x35c)]['AWAITING']:case _0x3d65ed[_0x1b151f(0x35c)]['AWAITING_WITH_PENDING']:return _0x1b151f(0x396);case _0x3d65ed['CollaborationStatus']['SYNCED']:case _0x3d65ed[_0x1b151f(0x35c)][_0x1b151f(0x46a)]:return _0x1b151f(0x253);}}function _0x8ca93a(_0x23822d){const _0x2aeb82=_0x58ba74,{status$:_0x3568e2}=_0x23822d,_0x87150d=_0xb2ffad[_0x2aeb82(0x42b)](_0x3568e2,_0x3d65ed[_0x2aeb82(0x35c)][_0x2aeb82(0x1e8)]),_0x14c582=_0xb2ffad[_0x2aeb82(0x208)](_0x186e4b[_0x2aeb82(0x2ab)]),_0x342e61=_0xb2ffad[_0x2aeb82(0x208)](_0x3d65ed[_0x2aeb82(0x45b)]),_0x389e83=_0x87150d!==_0x3d65ed[_0x2aeb82(0x35c)]['OFFLINE'],_0x2b3d78=_0x14c582['t'](_0x3b6c84(_0x87150d)),_0x2fa733=_0x389e83?_0x49f4d7[_0x2aeb82(0x23c)](_0x5ebfff,{}):_0x49f4d7[_0x2aeb82(0x23c)](_0x3f112b,{}),_0x484f53=_0x5e91ba[_0x2aeb82(0x36d)](()=>{_0x389e83||_0x342e61['reconnect']();},[_0x389e83,_0x342e61]);function _0x544856(){const _0x3e8db1=_0x2aeb82;return _0x49f4d7[_0x3e8db1(0x311)](_0x3e8db1(0x2f6),{'className':'univer-flex\x20univer-items-center','onClick':_0x484f53,'children':[_0x49f4d7[_0x3e8db1(0x23c)]('div',{'className':_0x53a319['clsx'](_0x3e8db1(0x29f),_0x389e83?'univer-text-green-500':_0x3e8db1(0x268)),'children':_0x2fa733}),_0x49f4d7['jsx']('div',{'className':_0x3e8db1(0x415),'children':_0x2b3d78})]});}return _0x389e83?_0x544856():_0x49f4d7['jsx'](_0x53a319[_0x2aeb82(0x2c0)],{'title':_0x14c582['t'](_0x2aeb82(0x299)),'children':_0x544856()});}var _0x293c9c=Object[_0x58ba74(0x303)],_0x309984=(_0x3a396a,_0x254154,_0x2006bd,_0x5b24b8)=>{const _0x24bca1=_0x58ba74;for(var _0x545703=_0x5b24b8>0x1?void 0x0:_0x5b24b8?_0x293c9c(_0x254154,_0x2006bd):_0x254154,_0x274cb9=_0x3a396a[_0x24bca1(0x21c)]-0x1,_0x371eda;_0x274cb9>=0x0;_0x274cb9--)(_0x371eda=_0x3a396a[_0x274cb9])&&(_0x545703=_0x371eda(_0x545703)||_0x545703);return _0x545703;},_0x3fa4d9=(_0x29985d,_0x13267b)=>(_0x1fdd03,_0x509aeb)=>_0x13267b(_0x1fdd03,_0x509aeb,_0x29985d);_0x4c1233[_0x58ba74(0x32e)]=class extends _0x186e4b[_0x58ba74(0x398)]{constructor(_0x15252c,_0xe5e4c9,_0x56bc45,_0xeb77fe){const _0x4f271f=_0x58ba74;super(),_0x46798f(this,_0x4f271f(0x270),new _0x64f24f[(_0x4f271f(0x22c))](_0x3d65ed[_0x4f271f(0x35c)]['NOT_COLLAB'])),(this['_univerInstanceService']=_0x15252c,this[_0x4f271f(0x2b4)]=_0xe5e4c9,this[_0x4f271f(0x397)]=_0x56bc45,this[_0x4f271f(0x3f0)]=_0xeb77fe,this[_0x4f271f(0x2e1)](),this['_initStatusListener']());}[_0x58ba74(0x1ed)](){const _0x2f9176=_0x58ba74;this['disposeWithMe'](this[_0x2f9176(0x247)]['focused$'][_0x2f9176(0x2ec)](_0x64f24f[_0x2f9176(0x23b)](()=>{const _0x5763ef=_0x2f9176,_0x20ad52=this['_univerInstanceService']['getFocusedUnit']();return _0x20ad52?this[_0x5763ef(0x397)][_0x5763ef(0x26d)](_0x20ad52[_0x5763ef(0x423)]()):_0x64f24f['of'](null);}),_0x64f24f[_0x2f9176(0x23b)](_0x26b63a=>_0x26b63a?_0x26b63a[_0x2f9176(0x392)]:_0x64f24f['of'](_0x3d65ed['CollaborationStatus'][_0x2f9176(0x1e8)])))[_0x2f9176(0x3cb)](_0x4b42f0=>{const _0x215664=_0x2f9176;this[_0x215664(0x270)][_0x215664(0x221)](_0x4b42f0);}));}['_initStatusComponent'](){const _0x3dd89a=_0x58ba74;this['disposeWithMe'](this[_0x3dd89a(0x3f0)][_0x3dd89a(0x3a5)](_0xb2ffad[_0x3dd89a(0x2c9)][_0x3dd89a(0x23d)],()=>_0xb2ffad[_0x3dd89a(0x481)](_0x20dff0({'status$':this[_0x3dd89a(0x270)][_0x3dd89a(0x215)]()}),this[_0x3dd89a(0x2b4)])));}},_0x4c1233[_0x58ba74(0x32e)]=_0x309984([_0x3fa4d9(0x0,_0x186e4b[_0x58ba74(0x219)]),_0x3fa4d9(0x1,_0x186e4b[_0x58ba74(0x3de)](_0x186e4b['Injector'])),_0x3fa4d9(0x2,_0x186e4b['Inject'](_0x3d65ed[_0x58ba74(0x3f7)])),_0x3fa4d9(0x3,_0xb2ffad[_0x58ba74(0x434)])],_0x4c1233[_0x58ba74(0x32e)]);function _0x20dff0(_0x55722c){const {status$:_0x3329bc}=_0x55722c;return function(){const _0x359e05=_0x3b5c;return _0x49f4d7[_0x359e05(0x23c)](_0x8ca93a,{'status$':_0x3329bc});};}var _0x513c9a=Object[_0x58ba74(0x303)],_0x392bfc=(_0x2ad5e2,_0x18636b,_0x3bff68,_0xf9d40a)=>{for(var _0x40bbd5=_0xf9d40a>0x1?void 0x0:_0xf9d40a?_0x513c9a(_0x18636b,_0x3bff68):_0x18636b,_0x368f1b=_0x2ad5e2['length']-0x1,_0x50ec23;_0x368f1b>=0x0;_0x368f1b--)(_0x50ec23=_0x2ad5e2[_0x368f1b])&&(_0x40bbd5=_0x50ec23(_0x40bbd5)||_0x40bbd5);return _0x40bbd5;},_0x4bf3bc=(_0x505a4b,_0x4faf7c)=>(_0x31455a,_0x1b2286)=>_0x4faf7c(_0x31455a,_0x1b2286,_0x505a4b);let _0x5ac607=class extends _0x186e4b[_0x58ba74(0x398)]{constructor(_0x4a50c9,_0x5521f3,_0x12ba22,_0x56304d,_0x46819e,_0x1603a6){const _0x58dd22=_0x58ba74;super(),this[_0x58dd22(0x1f1)]=_0x4a50c9,this[_0x58dd22(0x359)]=_0x5521f3,this[_0x58dd22(0x228)]=_0x12ba22,this[_0x58dd22(0x319)]=_0x56304d,this[_0x58dd22(0x2a6)]=_0x46819e,this['_localeService']=_0x1603a6,this[_0x58dd22(0x203)](),this[_0x58dd22(0x279)]();}['_setupBeforeClosingHandler'](){const _0x2e7b1d=_0x58ba74;this[_0x2e7b1d(0x220)](this[_0x2e7b1d(0x1f1)][_0x2e7b1d(0x449)](()=>{const _0x5bd0e5=_0x2e7b1d;if(this[_0x5bd0e5(0x359)][_0x5bd0e5(0x455)][_0x5bd0e5(0x264)])return this['_localeService']['t'](_0x5bd0e5(0x1fa));}));}[_0x58ba74(0x279)](){const _0x515287=_0x58ba74;this[_0x515287(0x220)](this[_0x515287(0x228)]['event$'][_0x515287(0x3cb)](_0x2faca8=>{const _0x45f9d7=_0x515287;_0x2faca8['id']===_0x3d65ed[_0x45f9d7(0x1eb)][_0x45f9d7(0x223)]&&this[_0x45f9d7(0x319)][_0x45f9d7(0x308)]({'type':_0x53a319[_0x45f9d7(0x29a)][_0x45f9d7(0x459)],'content':this['_localeService']['t'](_0x45f9d7(0x214))}),_0x2faca8['id']===_0x3d65ed[_0x45f9d7(0x1eb)][_0x45f9d7(0x410)]&&this[_0x45f9d7(0x319)][_0x45f9d7(0x308)]({'type':_0x53a319[_0x45f9d7(0x29a)][_0x45f9d7(0x459)],'content':this[_0x45f9d7(0x41c)]['t'](_0x45f9d7(0x36e))}),_0x2faca8['id']===_0x3d65ed[_0x45f9d7(0x1eb)][_0x45f9d7(0x35f)]&&this[_0x45f9d7(0x2a6)]['show']({'title':this['_localeService']['t'](_0x45f9d7(0x403)),'content':this[_0x45f9d7(0x41c)]['t']('permission.content'),'type':'error','duration':0x0}),_0x2faca8['id']===_0x3d65ed['CollaborationUIEventId']['CONFLICT']&&this[_0x45f9d7(0x319)][_0x45f9d7(0x308)]({'type':_0x53a319[_0x45f9d7(0x29a)]['Error'],'content':this[_0x45f9d7(0x41c)]['t'](_0x45f9d7(0x36e))+'('+_0x2faca8['data']+')'}),_0x2faca8['id']===_0x3d65ed[_0x45f9d7(0x1eb)][_0x45f9d7(0x293)]&&this['_messageService']['show']({'type':_0x53a319[_0x45f9d7(0x29a)][_0x45f9d7(0x459)],'content':this[_0x45f9d7(0x41c)]['t'](_0x2faca8[_0x45f9d7(0x272)]||'')}),_0x2faca8['id']===_0x3d65ed[_0x45f9d7(0x1eb)]['SOCKET_FAILED_RETRY']&&this[_0x45f9d7(0x319)][_0x45f9d7(0x308)]({'type':_0x53a319[_0x45f9d7(0x29a)]['Warning'],'content':this['_localeService']['t']('session.will-retry')}),_0x2faca8['id']===_0x3d65ed['CollaborationUIEventId'][_0x45f9d7(0x2e7)]&&this[_0x45f9d7(0x319)]['show']({'type':_0x53a319[_0x45f9d7(0x29a)]['Error'],'content':this[_0x45f9d7(0x41c)]['t'](_0x45f9d7(0x1f9))}),_0x2faca8['id']===_0x3d65ed['CollaborationUIEventId'][_0x45f9d7(0x346)]&&this['_messageService']['show']({'type':_0x53a319[_0x45f9d7(0x29a)][_0x45f9d7(0x227)],'content':this[_0x45f9d7(0x41c)]['t'](_0x45f9d7(0x33c))});}));}};_0x5ac607=_0x392bfc([_0x4bf3bc(0x0,_0xb2ffad[_0x58ba74(0x2e2)]),_0x4bf3bc(0x1,_0x3d65ed['ILocalCacheService']),_0x4bf3bc(0x2,_0x186e4b[_0x58ba74(0x3de)](_0x3d65ed[_0x58ba74(0x2b3)])),_0x4bf3bc(0x3,_0xb2ffad['IMessageService']),_0x4bf3bc(0x4,_0xb2ffad[_0x58ba74(0x271)]),_0x4bf3bc(0x5,_0x186e4b[_0x58ba74(0x3de)](_0x186e4b['LocaleService']))],_0x5ac607);const _0x1f69c0=_0x58ba74(0x1ea),_0x157afd={},_0x485e28=_0x186e4b[_0x58ba74(0x3f2)]('uni.network.url-service');var _0x5661e6=Object['getOwnPropertyDescriptor'],_0x38282e=(_0x346ff5,_0x1d2f5b,_0x2412d6,_0x44a708)=>{const _0x32c639=_0x58ba74;for(var _0x3eb8bd=_0x44a708>0x1?void 0x0:_0x44a708?_0x5661e6(_0x1d2f5b,_0x2412d6):_0x1d2f5b,_0x17ad1e=_0x346ff5[_0x32c639(0x21c)]-0x1,_0x1fa132;_0x17ad1e>=0x0;_0x17ad1e--)(_0x1fa132=_0x346ff5[_0x17ad1e])&&(_0x3eb8bd=_0x1fa132(_0x3eb8bd)||_0x3eb8bd);return _0x3eb8bd;},_0x4d2c3a=(_0xd793cb,_0x39170e)=>(_0xb3af0d,_0x14d758)=>_0x39170e(_0xb3af0d,_0x14d758,_0xd793cb);_0x4c1233[_0x58ba74(0x46c)]=class extends _0x186e4b[_0x58ba74(0x393)]{constructor(_0x4f4f24,_0x92aa06,_0x114a92,_0x52f2ec,_0x1853e1){const _0x486ee3=_0x58ba74;super(),this[_0x486ee3(0x282)]=_0x4f4f24,this[_0x486ee3(0x412)]=_0x92aa06,this[_0x486ee3(0x39a)]=_0x114a92,this[_0x486ee3(0x290)]=_0x52f2ec,_0x1853e1?_0x1853e1==null||_0x1853e1[_0x486ee3(0x366)]()[_0x486ee3(0x24d)](()=>this[_0x486ee3(0x367)]()):(this[_0x486ee3(0x412)][_0x486ee3(0x211)]('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x486ee3(0x367)]());}async[_0x58ba74(0x367)](){const _0x5a01eb=_0x58ba74,_0x4ae062=this[_0x5a01eb(0x282)][_0x5a01eb(0x2d8)](_0x5a01eb(0x3b8)),_0x4238ce=this[_0x5a01eb(0x282)][_0x5a01eb(0x2d8)](_0x5a01eb(0x2da)),_0x202eeb=this[_0x5a01eb(0x282)][_0x5a01eb(0x2d8)](_0x5a01eb(0x3ba));if(!_0x4ae062||!_0x4238ce){this['_logService'][_0x5a01eb(0x211)]('[CollaborationDataLoaderController]',_0x5a01eb(0x414));return;}const _0xb10692=await this[_0x5a01eb(0x290)][_0x5a01eb(0x3a7)](_0x4ae062,Number(_0x4238ce),_0x202eeb);_0xb10692&&_0xb10692 instanceof _0x186e4b[_0x5a01eb(0x2cd)]&&this[_0x5a01eb(0x2f4)](_0xb10692);}async[_0x58ba74(0x2f4)](_0x32188f){const _0x3d80ed=_0x58ba74;await this['_updateSubUnitFromURLParams'](_0x32188f),_0x32188f[_0x3d80ed(0x3da)][_0x3d80ed(0x2ec)](_0x64f24f[_0x3d80ed(0x419)](this[_0x3d80ed(0x2b9)]))[_0x3d80ed(0x3cb)](_0x70626c=>{const _0x168c95=_0x3d80ed;_0x70626c&&this[_0x168c95(0x34a)](_0x70626c);}),this[_0x3d80ed(0x282)]['urlChange$'][_0x3d80ed(0x2ec)](_0x64f24f[_0x3d80ed(0x419)](this[_0x3d80ed(0x2b9)]))['subscribe'](()=>this[_0x3d80ed(0x26e)](_0x32188f));}[_0x58ba74(0x34a)](_0x5d52ff,_0x127a9e=!0x1){const _0x2d87d0=_0x58ba74,_0x5410b5=this[_0x2d87d0(0x282)]['getParam'](_0x2d87d0(0x3ba));_0x5d52ff[_0x2d87d0(0x34d)]()!==_0x5410b5&&this[_0x2d87d0(0x282)][_0x2d87d0(0x3ca)](_0x2d87d0(0x3ba),_0x5d52ff[_0x2d87d0(0x34d)](),_0x127a9e);}async[_0x58ba74(0x26e)](_0x3c0784){const _0x18e092=_0x58ba74;var _0x3d85e3;const _0x276772=this[_0x18e092(0x282)][_0x18e092(0x2d8)](_0x18e092(0x3ba));if(!_0x276772||!_0x3c0784[_0x18e092(0x362)](_0x276772)){const _0xe86446=_0x3c0784['getUnhiddenWorksheets']()[0x0],_0x4ce051=_0x3c0784['getSheetBySheetId'](_0xe86446);if(!_0x4ce051)return;this[_0x18e092(0x34a)](_0x4ce051,!0x0),await this[_0x18e092(0x39a)][_0x18e092(0x2f8)](_0x4ca586[_0x18e092(0x3eb)]['id'],{'unitId':_0x3c0784[_0x18e092(0x423)](),'subUnitId':_0xe86446});return;}((_0x3d85e3=_0x3c0784[_0x18e092(0x40c)]())==null?void 0x0:_0x3d85e3[_0x18e092(0x34d)]())!==_0x276772&&await this[_0x18e092(0x39a)]['executeCommand'](_0x4ca586[_0x18e092(0x3eb)]['id'],{'unitId':_0x3c0784[_0x18e092(0x423)](),'subUnitId':_0x276772});}},_0x4c1233[_0x58ba74(0x46c)]=_0x38282e([_0x4d2c3a(0x0,_0x485e28),_0x4d2c3a(0x1,_0x186e4b['ILogService']),_0x4d2c3a(0x2,_0x186e4b[_0x58ba74(0x324)]),_0x4d2c3a(0x3,_0x186e4b['Inject'](_0x3d65ed[_0x58ba74(0x20c)])),_0x4d2c3a(0x4,_0x186e4b[_0x58ba74(0x1fc)](_0xeef08d[_0x58ba74(0x458)]))],_0x4c1233[_0x58ba74(0x46c)]);var _0x48e379=Object[_0x58ba74(0x303)],_0x37c33d=(_0x5e4c0f,_0x50a18a,_0x29eeaf,_0x88f60a)=>{for(var _0x5203e9=_0x88f60a>0x1?void 0x0:_0x88f60a?_0x48e379(_0x50a18a,_0x29eeaf):_0x50a18a,_0x1f7038=_0x5e4c0f['length']-0x1,_0x36be8f;_0x1f7038>=0x0;_0x1f7038--)(_0x36be8f=_0x5e4c0f[_0x1f7038])&&(_0x5203e9=_0x36be8f(_0x5203e9)||_0x5203e9);return _0x5203e9;},_0x5a3687=(_0x5ce06b,_0x4e0302)=>(_0x2c6266,_0x4a6e1a)=>_0x4e0302(_0x2c6266,_0x4a6e1a,_0x5ce06b);let _0x3e4c6f=class{constructor(_0x209764,_0x36af1f,_0x2b8b2f){const _0x418da8=_0x58ba74;this[_0x418da8(0x2b4)]=_0x209764,this[_0x418da8(0x484)]=_0x36af1f,this[_0x418da8(0x31a)]=_0x2b8b2f;}[_0x58ba74(0x274)](_0x355ca7){const _0x38a294=_0x58ba74;this[_0x38a294(0x406)](_0x355ca7),this[_0x38a294(0x38d)](_0x355ca7);}[_0x58ba74(0x2f3)](_0xdd17c5){const _0x141404=_0x58ba74,{unitID:_0x24cc15}=_0xdd17c5,_0x558789=this['_renderManagerService'][_0x141404(0x3dc)](_0x24cc15)[_0x141404(0x3ab)](_0x5a340d[_0x141404(0x33d)]),{redoCache:_0x518578}=_0x558789[_0x141404(0x206)]();if(_0x518578['length']===0x0)return _0xdd17c5;let _0x219943=_0x186e4b[_0x141404(0x3ce)][_0x141404(0x462)](_0xdd17c5[_0x141404(0x337)][0x0]);for(let _0x3aafae=0x0;_0x3aafae<_0x518578[_0x141404(0x21c)];_0x3aafae++){const _0x239bb2={'id':_0x141404(0x3e6),'params':{..._0x518578[_0x3aafae]}},_0x390a77=this[_0x141404(0x484)][_0x141404(0x2c3)](_0x219943,_0x239bb2,!0x1);if(_0x22f723[_0x141404(0x27e)](_0x390a77))throw _0x390a77['error'];_0x219943=_0x390a77[_0x141404(0x242)];}return{..._0x186e4b[_0x141404(0x3ce)][_0x141404(0x462)](_0xdd17c5),'mutations':[_0x219943]};}[_0x58ba74(0x406)](_0x5979c6){const _0x56e9f4=_0x58ba74,{unitID:_0x1c91d9}=_0x5979c6,_0xa4a01c=this[_0x56e9f4(0x31a)][_0x56e9f4(0x3dc)](_0x1c91d9)[_0x56e9f4(0x3ab)](_0x5a340d[_0x56e9f4(0x33d)]),{undoCache:_0x50e27b,redoCache:_0x145716}=_0xa4a01c[_0x56e9f4(0x206)]();if(_0x50e27b[_0x56e9f4(0x21c)]===0x0||_0x145716[_0x56e9f4(0x21c)]===0x0)return;const _0x11e96d=[],_0x4d3819=[];let _0x31b0dc=_0x186e4b['Tools'][_0x56e9f4(0x462)](_0x5979c6[_0x56e9f4(0x337)][0x0]),_0x4f51fd=_0x186e4b[_0x56e9f4(0x3ce)]['deepClone'](_0x5979c6[_0x56e9f4(0x337)][0x0]);for(let _0xdf1be7=_0x50e27b[_0x56e9f4(0x21c)]-0x1;_0xdf1be7>=0x0;_0xdf1be7--){const _0x2b6bd={'id':'doc.mutation.rich-text-editing','params':{..._0x50e27b[_0xdf1be7]}},_0x4de509={'id':_0x56e9f4(0x3e6),'params':{..._0x145716[_0xdf1be7]}},_0x511741=this[_0x56e9f4(0x484)][_0x56e9f4(0x2c3)](_0x31b0dc,_0x2b6bd,!0x1),_0x2cb021=this[_0x56e9f4(0x484)][_0x56e9f4(0x2c3)](_0x4f51fd,_0x4de509,!0x1);if(_0x22f723[_0x56e9f4(0x27e)](_0x511741))throw _0x511741['error'];if(_0x22f723['isTransformMutationFailure'](_0x2cb021))throw _0x2cb021[_0x56e9f4(0x344)];_0x11e96d[_0x56e9f4(0x1fd)](_0x511741[_0x56e9f4(0x267)]['params']),_0x4d3819['unshift'](_0x2cb021[_0x56e9f4(0x267)][_0x56e9f4(0x440)]),_0x31b0dc=_0x511741[_0x56e9f4(0x242)],_0x4f51fd=_0x2cb021[_0x56e9f4(0x242)];}_0xa4a01c[_0x56e9f4(0x3a8)]({'undoCache':_0x11e96d,'redoCache':_0x4d3819});}[_0x58ba74(0x38d)](_0x28ed09){const _0x546bd3=_0x58ba74,{unitID:_0x4a7251}=_0x28ed09,_0x1b7cc2=this['_renderManagerService'][_0x546bd3(0x3dc)](_0x4a7251)['with'](_0x5a340d[_0x546bd3(0x33d)]),_0x5543df=_0x1b7cc2[_0x546bd3(0x1ff)]();if(_0x5543df==null)return;const _0x5665e1=[{'id':_0x546bd3(0x3e6),'params':{'unitId':_0x28ed09['unitID'],'actions':null,'textRanges':[_0x5543df]}}],_0x5c2a04=this['_transformService'][_0x546bd3(0x2dd)](_0x28ed09,_0x5665e1);if(!_0x22f723[_0x546bd3(0x41e)](_0x5c2a04))throw _0x5c2a04[_0x546bd3(0x344)];const _0x4ebcf0=_0x5c2a04[_0x546bd3(0x267)][0x0][_0x546bd3(0x440)]['textRanges'];Array[_0x546bd3(0x31b)](_0x4ebcf0)&&_0x4ebcf0['length']&&_0x1b7cc2[_0x546bd3(0x3bd)](_0x4ebcf0[0x0]);}};_0x3e4c6f=_0x37c33d([_0x5a3687(0x0,_0x186e4b[_0x58ba74(0x3de)](_0x186e4b[_0x58ba74(0x260)])),_0x5a3687(0x1,_0x22f723[_0x58ba74(0x21d)]),_0x5a3687(0x2,_0x20d9d1[_0x58ba74(0x386)])],_0x3e4c6f);var _0x45e685=Object[_0x58ba74(0x303)],_0x39a299=(_0x3822e6,_0x4cffb2,_0x516302,_0x9d2f50)=>{const _0x29cbb6=_0x58ba74;for(var _0x3478e2=_0x9d2f50>0x1?void 0x0:_0x9d2f50?_0x45e685(_0x4cffb2,_0x516302):_0x4cffb2,_0x4266bf=_0x3822e6[_0x29cbb6(0x21c)]-0x1,_0x1fed2d;_0x4266bf>=0x0;_0x4266bf--)(_0x1fed2d=_0x3822e6[_0x4266bf])&&(_0x3478e2=_0x1fed2d(_0x3478e2)||_0x3478e2);return _0x3478e2;},_0x42b92d=(_0x218332,_0x5d1ed7)=>(_0x252352,_0x31d3ea)=>_0x5d1ed7(_0x252352,_0x31d3ea,_0x218332);let _0x3623cd=class{constructor(_0x2b4f23,_0x116cd2,_0x4005f1){const _0x3e5e25=_0x58ba74;this[_0x3e5e25(0x2b4)]=_0x2b4f23,this[_0x3e5e25(0x484)]=_0x116cd2,this[_0x3e5e25(0x1f4)]=_0x4005f1;}[_0x58ba74(0x2aa)](_0x29fd41){const _0x5877d2=_0x58ba74;this[_0x5877d2(0x2ff)](_0x29fd41);}[_0x58ba74(0x2f3)](_0x422009){const _0x43398b=_0x58ba74,{unitID:_0x281bf9}=_0x422009,{collaboration:_0x11d3c0}=this[_0x43398b(0x1f4)][_0x43398b(0x3d3)](_0x281bf9);if(_0x11d3c0['length']===0x0)return _0x422009;let _0x1eef2e=_0x186e4b[_0x43398b(0x3ce)][_0x43398b(0x462)](_0x422009[_0x43398b(0x337)][0x0]);for(let _0x4571b6=0x0;_0x4571b6<_0x11d3c0['length'];_0x4571b6++){const _0x115b54={'id':_0x43398b(0x3e6),'params':{'unitId':_0x11d3c0[_0x4571b6][_0x43398b(0x2b7)],..._0x11d3c0[_0x4571b6]['redoState']}},_0x30f7b4=this[_0x43398b(0x484)][_0x43398b(0x2c3)](_0x1eef2e,_0x115b54,!0x1);if(_0x22f723[_0x43398b(0x27e)](_0x30f7b4))throw _0x30f7b4[_0x43398b(0x344)];_0x1eef2e=_0x30f7b4[_0x43398b(0x242)];}return{..._0x186e4b[_0x43398b(0x3ce)][_0x43398b(0x462)](_0x422009),'mutations':[_0x1eef2e]};}['_transformHistoryAndStateStack'](_0x57e265){const _0x2a73ce=_0x58ba74,{unitID:_0x3232b7}=_0x57e265,{history:_0x57d77a,collaboration:_0x517b41}=this['_docStateChangeManagerService'][_0x2a73ce(0x3d3)](_0x3232b7);if(_0x57d77a['length']===0x0&&_0x517b41[_0x2a73ce(0x21c)]===0x0)return;const _0x4fcca0=[],_0xd843bd=[];let _0x218e68=_0x186e4b[_0x2a73ce(0x3ce)]['deepClone'](_0x57e265[_0x2a73ce(0x337)][0x0]),_0x58d2fd=_0x186e4b['Tools'][_0x2a73ce(0x462)](_0x57e265['mutations'][0x0]);for(let _0x1a5497=_0x57d77a[_0x2a73ce(0x21c)]-0x1;_0x1a5497>=0x0;_0x1a5497--){const _0x241450={'id':_0x2a73ce(0x3e6),'params':{'unitId':_0x57d77a[_0x1a5497][_0x2a73ce(0x2b7)],..._0x57d77a[_0x1a5497][_0x2a73ce(0x275)]}},_0x388b2a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x57d77a[_0x1a5497][_0x2a73ce(0x2b7)],..._0x57d77a[_0x1a5497][_0x2a73ce(0x202)]}},_0x454c4f=this[_0x2a73ce(0x484)][_0x2a73ce(0x2c3)](_0x218e68,_0x241450,!0x1),_0x4b901f=this[_0x2a73ce(0x484)][_0x2a73ce(0x2c3)](_0x58d2fd,_0x388b2a,!0x1);if(_0x22f723['isTransformMutationFailure'](_0x454c4f))throw _0x454c4f[_0x2a73ce(0x344)];if(_0x22f723['isTransformMutationFailure'](_0x4b901f))throw _0x4b901f[_0x2a73ce(0x344)];_0x4fcca0['unshift']({..._0x57d77a[_0x1a5497],'undoState':_0x454c4f[_0x2a73ce(0x267)][_0x2a73ce(0x440)],'redoState':_0x4b901f[_0x2a73ce(0x267)]['params']}),_0x218e68=_0x454c4f['m1Prime'],_0x58d2fd=_0x4b901f[_0x2a73ce(0x242)];}_0x218e68=_0x186e4b[_0x2a73ce(0x3ce)][_0x2a73ce(0x462)](_0x57e265[_0x2a73ce(0x337)][0x0]),_0x58d2fd=_0x186e4b['Tools'][_0x2a73ce(0x462)](_0x57e265[_0x2a73ce(0x337)][0x0]);for(let _0x358d08=_0x517b41['length']-0x1;_0x358d08>=0x0;_0x358d08--){const _0x11b6e1={'id':_0x2a73ce(0x3e6),'params':{'unitId':_0x517b41[_0x358d08][_0x2a73ce(0x2b7)],..._0x517b41[_0x358d08][_0x2a73ce(0x275)]}},_0xc43214={'id':_0x2a73ce(0x3e6),'params':{'unitId':_0x517b41[_0x358d08][_0x2a73ce(0x2b7)],..._0x517b41[_0x358d08][_0x2a73ce(0x202)]}},_0x17aee3=this[_0x2a73ce(0x484)][_0x2a73ce(0x2c3)](_0x218e68,_0x11b6e1,!0x1),_0x30a659=this[_0x2a73ce(0x484)][_0x2a73ce(0x2c3)](_0x58d2fd,_0xc43214,!0x1);if(_0x22f723[_0x2a73ce(0x27e)](_0x17aee3))throw _0x17aee3['error'];if(_0x22f723[_0x2a73ce(0x27e)](_0x30a659))throw _0x30a659[_0x2a73ce(0x344)];_0xd843bd[_0x2a73ce(0x1fd)]({..._0x517b41[_0x358d08],'undoState':_0x17aee3[_0x2a73ce(0x267)][_0x2a73ce(0x440)],'redoState':_0x30a659[_0x2a73ce(0x267)][_0x2a73ce(0x440)]}),_0x218e68=_0x17aee3[_0x2a73ce(0x242)],_0x58d2fd=_0x30a659[_0x2a73ce(0x242)];}this[_0x2a73ce(0x1f4)]['setStateCache'](_0x3232b7,{'history':_0x4fcca0,'collaboration':_0xd843bd});}};_0x3623cd=_0x39a299([_0x42b92d(0x0,_0x186e4b['Inject'](_0x186e4b[_0x58ba74(0x260)])),_0x42b92d(0x1,_0x22f723[_0x58ba74(0x21d)]),_0x42b92d(0x2,_0x186e4b[_0x58ba74(0x3de)](_0x5a340d['DocStateChangeManagerService']))],_0x3623cd);var _0x5088c6=Object[_0x58ba74(0x303)],_0x4aee64=(_0x420ff9,_0x5ee16,_0x1f2298,_0x4ea60d)=>{const _0x9975bc=_0x58ba74;for(var _0x5e7520=_0x4ea60d>0x1?void 0x0:_0x4ea60d?_0x5088c6(_0x5ee16,_0x1f2298):_0x5ee16,_0x2e2097=_0x420ff9[_0x9975bc(0x21c)]-0x1,_0x2dd59c;_0x2e2097>=0x0;_0x2e2097--)(_0x2dd59c=_0x420ff9[_0x2e2097])&&(_0x5e7520=_0x2dd59c(_0x5e7520)||_0x5e7520);return _0x5e7520;},_0x3f72c9=(_0x3cfe12,_0x4e5933)=>(_0x7cff8,_0xdf0a7a)=>_0x4e5933(_0x7cff8,_0xdf0a7a,_0x3cfe12);let _0xa1d147=class{constructor(_0x2ce88e,_0x7b28cb){const _0x208c9f=_0x58ba74;this[_0x208c9f(0x2b4)]=_0x2ce88e,this['_transformService']=_0x7b28cb;}[_0x58ba74(0x2c8)](_0x1e62f5){const _0x37346b=_0x58ba74;var _0x337027;const _0x203e44=this[_0x37346b(0x2b4)][_0x37346b(0x276)](_0x21327e['DocSelectionManagerService']),_0x552e54=(_0x337027=_0x203e44[_0x37346b(0x24f)]())!=null?_0x337027:[];if(_0x552e54[_0x37346b(0x21c)]===0x0)return;const _0x4f7e58=_0x1e62f5['unitID'],_0x2caf30=[{'id':_0x37346b(0x3e6),'params':{'unitId':_0x4f7e58,'actions':null,'textRanges':_0x552e54}}],_0x6c2c61=this[_0x37346b(0x484)][_0x37346b(0x2dd)](_0x1e62f5,_0x2caf30);if(!_0x22f723[_0x37346b(0x41e)](_0x6c2c61))throw _0x6c2c61[_0x37346b(0x344)];const _0xba74b6=_0x6c2c61[_0x37346b(0x267)][0x0][_0x37346b(0x440)][_0x37346b(0x47c)];Array['isArray'](_0xba74b6)&&_0xba74b6[_0x37346b(0x21c)]&&_0x203e44[_0x37346b(0x2d6)](_0xba74b6,{'unitId':_0x4f7e58,'subUnitId':_0x4f7e58},!0x1);}};_0xa1d147=_0x4aee64([_0x3f72c9(0x0,_0x186e4b[_0x58ba74(0x3de)](_0x186e4b['Injector'])),_0x3f72c9(0x1,_0x22f723['ITransformService'])],_0xa1d147);var _0x4df474=Object[_0x58ba74(0x303)],_0x55b3ba=(_0x30b460,_0x3a13fb,_0x51ab20,_0x220b74)=>{const _0x161f05=_0x58ba74;for(var _0x5ea178=_0x220b74>0x1?void 0x0:_0x220b74?_0x4df474(_0x3a13fb,_0x51ab20):_0x3a13fb,_0x48bb9a=_0x30b460[_0x161f05(0x21c)]-0x1,_0x3b77cd;_0x48bb9a>=0x0;_0x48bb9a--)(_0x3b77cd=_0x30b460[_0x48bb9a])&&(_0x5ea178=_0x3b77cd(_0x5ea178)||_0x5ea178);return _0x5ea178;},_0x454a16=(_0x51d4fc,_0x4dc859)=>(_0x4eda0e,_0x33da15)=>_0x4dc859(_0x4eda0e,_0x33da15,_0x51d4fc);let _0xc80bf5=class extends _0x186e4b[_0x58ba74(0x398)]{constructor(_0xc9b2ce,_0x2ef1b9,_0x2d0125,_0x4abe70,_0x16bc00,_0x2f18cb,_0x5ae3e6,_0x38bd11){const _0x413ccf=_0x58ba74;super(),_0x46798f(this,_0x413ccf(0x270),new _0x64f24f['BehaviorSubject'](_0x3d65ed['CollaborationStatus'][_0x413ccf(0x1e8)])),(this['_docStateChangeManagerService']=_0xc9b2ce,this[_0x413ccf(0x397)]=_0x2ef1b9,this[_0x413ccf(0x1e7)]=_0x2d0125,this[_0x413ccf(0x236)]=_0x4abe70,this['_docTransformSelectionsService']=_0x16bc00,this[_0x413ccf(0x2f9)]=_0x2f18cb,this[_0x413ccf(0x319)]=_0x5ae3e6,this[_0x413ccf(0x41c)]=_0x38bd11,this['_initEntityListener']());}[_0x58ba74(0x39b)](){const _0x1366df=_0x58ba74;this['disposeWithMe'](this[_0x1366df(0x397)][_0x1366df(0x43c)][_0x1366df(0x3cb)](_0x169935=>{const _0x4d9f96=_0x1366df,_0x11649f=this[_0x4d9f96(0x1f4)][_0x4d9f96(0x430)][_0x4d9f96(0x3cb)](_0x234303=>{const _0x392e92=_0x4d9f96;if(_0x234303==null)return;const {unitId:_0x4e5148,redoState:_0x30837b,commandId:_0x35d84d}=_0x234303;if(_0x4e5148!==_0x169935[_0x392e92(0x369)])return;const _0x5d297d={'id':_0x35d84d,'type':_0x186e4b[_0x392e92(0x38c)][_0x392e92(0x3af)],'params':{'unitId':_0x4e5148,'actions':_0x30837b[_0x392e92(0x318)],'textRanges':null}};_0x169935[_0x392e92(0x365)](_0x5d297d);});if(_0x169935[_0x4d9f96(0x220)](_0x11649f),_0x169935 instanceof _0x3d65ed[_0x4d9f96(0x304)]){const _0x23deae={'onTransformIME':_0x41c140=>this['_docTransformIMECacheService'][_0x4d9f96(0x274)](_0x41c140),'onTransformState':_0x378c50=>this[_0x4d9f96(0x236)][_0x4d9f96(0x2aa)](_0x378c50),'onTransformSelections':_0x25181c=>this[_0x4d9f96(0x361)]['transformSelections'](_0x25181c),'onSyncEditingCollabCursor':_0xd88a98=>this[_0x4d9f96(0x2f9)]['syncEditingCollabCursor'](_0xd88a98),'onTransformRemoteChangesetByIMECache':_0x180981=>this[_0x4d9f96(0x1e7)][_0x4d9f96(0x2f3)](_0x180981),'onTransformRemoteChangesetByStateCache':_0x34a041=>this[_0x4d9f96(0x236)]['transformRemoteChangeset'](_0x34a041)};_0x169935[_0x4d9f96(0x44c)](_0x23deae);}}));}};_0xc80bf5=_0x55b3ba([_0x454a16(0x0,_0x186e4b[_0x58ba74(0x3de)](_0x5a340d[_0x58ba74(0x424)])),_0x454a16(0x1,_0x186e4b['Inject'](_0x3d65ed[_0x58ba74(0x3f7)])),_0x454a16(0x2,_0x186e4b[_0x58ba74(0x3de)](_0x3e4c6f)),_0x454a16(0x3,_0x186e4b[_0x58ba74(0x3de)](_0x3623cd)),_0x454a16(0x4,_0x186e4b[_0x58ba74(0x3de)](_0xa1d147)),_0x454a16(0x5,_0x186e4b[_0x58ba74(0x3de)](_0x1e8681)),_0x454a16(0x6,_0xb2ffad[_0x58ba74(0x41f)]),_0x454a16(0x7,_0x186e4b[_0x58ba74(0x3de)](_0x186e4b[_0x58ba74(0x2ab)]))],_0xc80bf5);var _0x10b2d8=Object[_0x58ba74(0x303)],_0x3def4e=(_0x1017b1,_0x27ea44,_0x461571,_0x42708c)=>{const _0x31478b=_0x58ba74;for(var _0x3f8ff6=_0x42708c>0x1?void 0x0:_0x42708c?_0x10b2d8(_0x27ea44,_0x461571):_0x27ea44,_0x83a93e=_0x1017b1[_0x31478b(0x21c)]-0x1,_0x2aa802;_0x83a93e>=0x0;_0x83a93e--)(_0x2aa802=_0x1017b1[_0x83a93e])&&(_0x3f8ff6=_0x2aa802(_0x3f8ff6)||_0x3f8ff6);return _0x3f8ff6;},_0x492770=(_0x3de087,_0x1f17e4)=>(_0x270707,_0x1343cf)=>_0x1f17e4(_0x270707,_0x1343cf,_0x3de087);let _0x266909=class extends _0x186e4b['Disposable']{constructor(_0x7b4342,_0x37658b,_0x48aa38){const _0x1b5a54=_0x58ba74;super(),_0x46798f(this,_0x1b5a54(0x47b),new Map()),_0x46798f(this,_0x1b5a54(0x25d),new Map()),_0x46798f(this,_0x1b5a54(0x21f),!0x1),(this['_configService']=_0x7b4342,this[_0x1b5a54(0x25a)]=_0x37658b,this[_0x1b5a54(0x467)]=_0x48aa38);}[_0x58ba74(0x478)](){this['_disabled']=!0x0;}[_0x58ba74(0x38a)](){const _0x37f27a=_0x58ba74;this[_0x37f27a(0x21f)]=!0x1;}get['saveTaskMap'](){const _0x529c65=_0x58ba74;return this[_0x529c65(0x25d)];}[_0x58ba74(0x23e)](){const _0x56cac4=_0x58ba74;this['exhaustSavingTask']()[_0x56cac4(0x24d)](()=>super[_0x56cac4(0x23e)]());}async[_0x58ba74(0x23f)](_0x19ec84){const _0x471f53=_0x58ba74;return this[_0x471f53(0x21f)]?null:this[_0x471f53(0x25a)]['getItem'](_0x3d65ed[_0x471f53(0x442)](_0x19ec84));}async[_0x58ba74(0x472)](_0x17c2b3,_0x2e4496){const _0x41e20a=_0x58ba74;return!!this['_localStorageService'][_0x41e20a(0x34f)](_0x17c2b3,_0x2e4496);}['updateOfflineData'](_0x253350,_0x8b8ae2,_0x357da0,_0x218435){const _0x327351=_0x58ba74,_0x58a5cb=this[_0x327351(0x467)]['getCurrentRevOfUnit'](_0x253350);this[_0x327351(0x47b)][_0x327351(0x39c)](_0x253350,{'unitID':_0x253350,'type':_0x8b8ae2,'awaitingChangeset':_0x357da0,'mutations':_0x218435,'rev':_0x58a5cb}),this[_0x327351(0x25d)][_0x327351(0x235)](_0x253350)||this['_scheduleSaving'](_0x253350);}[_0x58ba74(0x3b6)](_0x1cf598){const _0x3581e7=_0x58ba74,_0x373077=this[_0x3581e7(0x2f2)]();_0x373077===0x0?this[_0x3581e7(0x45a)](_0x1cf598):this['_saveTaskMap'][_0x3581e7(0x39c)](_0x1cf598,setTimeout(()=>this[_0x3581e7(0x45a)](_0x1cf598),_0x373077));}[_0x58ba74(0x2f2)](){const _0x525fd5=_0x58ba74;var _0x2a9635;return(_0x2a9635=this[_0x525fd5(0x42c)][_0x525fd5(0x2b5)](_0x3d65ed['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x2a9635:_0x3d65ed[_0x525fd5(0x43b)];}['_saveCache'](_0x1201cd){const _0x110d07=_0x58ba74,_0x1b32dc=this[_0x110d07(0x25d)][_0x110d07(0x276)](_0x1201cd);return _0x1b32dc!==void 0x0&&window['clearTimeout'](_0x1b32dc),this[_0x110d07(0x25a)][_0x110d07(0x34f)](_0x3d65ed[_0x110d07(0x442)](_0x1201cd),this[_0x110d07(0x47b)][_0x110d07(0x276)](_0x1201cd))[_0x110d07(0x24d)](()=>this[_0x110d07(0x25d)][_0x110d07(0x40a)](_0x1201cd));}async[_0x58ba74(0x429)](){const _0x2df181=_0x58ba74,_0xc825ca=[];this[_0x2df181(0x25d)][_0x2df181(0x34c)]((_0x2dbd58,_0x201c73)=>{const _0x1a9a0a=_0x2df181;window[_0x1a9a0a(0x3c3)](_0x2dbd58),_0xc825ca['push'](this[_0x1a9a0a(0x45a)](_0x201c73)[_0x1a9a0a(0x24d)](()=>{const _0x1a5d4e=_0x1a9a0a;this[_0x1a5d4e(0x25d)][_0x1a5d4e(0x40a)](_0x201c73);}));}),await Promise[_0x2df181(0x3ae)](_0xc825ca);}};_0x266909=_0x3def4e([_0x492770(0x0,_0x186e4b[_0x58ba74(0x283)]),_0x492770(0x1,_0x186e4b[_0x58ba74(0x20b)]),_0x492770(0x2,_0x186e4b[_0x58ba74(0x3de)](_0x22f723[_0x58ba74(0x244)]))],_0x266909);class _0x2b78d2 extends _0x186e4b[_0x58ba74(0x393)]{constructor(){const _0x212422=_0x58ba74;super(),_0x46798f(this,_0x212422(0x2ed)),this['urlChange$']=_0x64f24f[_0x212422(0x425)](window,_0x212422(0x3ea))['pipe'](_0x64f24f[_0x212422(0x419)](this[_0x212422(0x2b9)]),_0x64f24f['shareReplay'](0x1),_0x64f24f[_0x212422(0x2d3)](void 0x0));}[_0x58ba74(0x3ca)](_0x18c8c9,_0x38aee4,_0x11a0b7=!0x1){const _0x516b5b=_0x58ba74,_0x251b64=new URL(window[_0x516b5b(0x261)][_0x516b5b(0x2fd)]);_0x251b64['searchParams'][_0x516b5b(0x39c)](_0x18c8c9,_0x38aee4),_0x11a0b7?window[_0x516b5b(0x3f6)][_0x516b5b(0x333)]('','',_0x251b64[_0x516b5b(0x486)]()):window[_0x516b5b(0x3f6)][_0x516b5b(0x40b)]('','',_0x251b64[_0x516b5b(0x486)]());}['removeParam'](_0x1c8021,_0x5c466c=!0x1){const _0x29f7c1=_0x58ba74,_0x3013c9=new URL(window[_0x29f7c1(0x261)][_0x29f7c1(0x2fd)]);_0x3013c9[_0x29f7c1(0x3b9)][_0x29f7c1(0x40a)](_0x1c8021),_0x5c466c?window[_0x29f7c1(0x3f6)][_0x29f7c1(0x333)]('','',_0x3013c9['toString']()):window[_0x29f7c1(0x3f6)][_0x29f7c1(0x40b)]('','',_0x3013c9[_0x29f7c1(0x486)]());}[_0x58ba74(0x2d8)](_0x1b75da){const _0x3763fe=_0x58ba74;var _0x3182ce;return(_0x3182ce=new URL(window[_0x3763fe(0x261)][_0x3763fe(0x2fd)])[_0x3763fe(0x3b9)]['get'](_0x1b75da))!=null?_0x3182ce:void 0x0;}}var _0x44cd27=Object[_0x58ba74(0x310)],_0x4defda=Object[_0x58ba74(0x303)],_0xc15fe=(_0x1a6f60,_0x5de1ca,_0x2627f9)=>_0x5de1ca in _0x1a6f60?_0x44cd27(_0x1a6f60,_0x5de1ca,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2627f9}):_0x1a6f60[_0x5de1ca]=_0x2627f9,_0x1d5f3d=(_0x519a92,_0x49a1f2,_0x5acb00,_0x34ad85)=>{const _0x3943a7=_0x58ba74;for(var _0x16790c=_0x34ad85>0x1?void 0x0:_0x34ad85?_0x4defda(_0x49a1f2,_0x5acb00):_0x49a1f2,_0x2a9edf=_0x519a92[_0x3943a7(0x21c)]-0x1,_0x122ffa;_0x2a9edf>=0x0;_0x2a9edf--)(_0x122ffa=_0x519a92[_0x2a9edf])&&(_0x16790c=_0x122ffa(_0x16790c)||_0x16790c);return _0x16790c;},_0x2d75dd=(_0x1ac728,_0x52ddb2)=>(_0x5ce51d,_0x295bae)=>_0x52ddb2(_0x5ce51d,_0x295bae,_0x1ac728),_0x12c494=(_0x5f0832,_0x565c50,_0x37d20e)=>_0xc15fe(_0x5f0832,_0x565c50+'',_0x37d20e);const _0x15ad6f=_0x58ba74(0x45c);_0x4c1233[_0x58ba74(0x3ec)]=class extends _0x186e4b['Plugin']{constructor(_0x1c4bc8=_0x157afd,_0x3d23b2,_0x3bde5c,_0x41d5d3){const _0x47d1dd=_0x58ba74;super(),this[_0x47d1dd(0x2b6)]=_0x1c4bc8,this[_0x47d1dd(0x31a)]=_0x3d23b2,this[_0x47d1dd(0x2b4)]=_0x3bde5c,this[_0x47d1dd(0x42c)]=_0x41d5d3;const {..._0x486e38}=_0x186e4b['merge']({},_0x157afd,this['_config']);this[_0x47d1dd(0x42c)]['setConfig'](_0x1f69c0,_0x486e38);}[_0x58ba74(0x2bb)](){const _0x23df98=_0x58ba74;this[_0x23df98(0x1ee)](),this['_initDependencies']();}['onRendered'](){const _0x16846e=_0x58ba74;this[_0x16846e(0x232)]();}['_registerDependencies'](){const _0x1ebd8e=_0x58ba74;var _0x27b5ba;const _0x274803=[[_0x525d1f],[_0xa1d147],[_0x3e4c6f],[_0x3623cd],[_0x1e8681],[_0x485e28,{'useClass':_0x2b78d2}],[_0x3e3da1['ISocketService'],{'useClass':_0x3e3da1[_0x1ebd8e(0x34b)]}],[_0x3d65ed[_0x1ebd8e(0x2b8)],{'useClass':_0x266909}],[_0x4c1233['DesktopCollaborationStatusDisplayController']],[_0xc80bf5],[_0x5ac607],[_0x4cafe6],[_0x38a985],[_0x4c1233['CollaborationDataLoaderController']]];_0x186e4b[_0x1ebd8e(0x327)](this[_0x1ebd8e(0x2b4)],_0x186e4b[_0x1ebd8e(0x40e)](_0x274803,(_0x27b5ba=this[_0x1ebd8e(0x2b6)])==null?void 0x0:_0x27b5ba[_0x1ebd8e(0x207)]));}[_0x58ba74(0x232)](){const _0x1f77cb=_0x58ba74;this[_0x1f77cb(0x220)](this[_0x1f77cb(0x31a)][_0x1f77cb(0x2ad)](_0x186e4b[_0x1f77cb(0x238)][_0x1f77cb(0x3cd)],[_0x1d1f8d])),this[_0x1f77cb(0x220)](this[_0x1f77cb(0x31a)][_0x1f77cb(0x2ad)](_0x186e4b[_0x1f77cb(0x238)][_0x1f77cb(0x40d)],[_0x5cd7c8]));}[_0x58ba74(0x30f)](){const _0x226061=_0x58ba74;_0x186e4b[_0x226061(0x404)](this[_0x226061(0x2b4)],[[_0x4cafe6],[_0x4c1233[_0x226061(0x32e)]],[_0xc80bf5],[_0x5ac607],[_0x4c1233[_0x226061(0x46c)]]]);}},_0x12c494(_0x4c1233[_0x58ba74(0x3ec)],'pluginName',_0x15ad6f),_0x4c1233[_0x58ba74(0x3ec)]=_0x1d5f3d([_0x186e4b[_0x58ba74(0x315)](_0x3d65ed[_0x58ba74(0x426)]),_0x2d75dd(0x1,_0x20d9d1[_0x58ba74(0x386)]),_0x2d75dd(0x2,_0x186e4b[_0x58ba74(0x3de)](_0x186e4b[_0x58ba74(0x260)])),_0x2d75dd(0x3,_0x186e4b['IConfigService'])],_0x4c1233[_0x58ba74(0x3ec)]);var _0x39a554=Object[_0x58ba74(0x303)],_0x5ebc60=(_0x57531f,_0x20be32,_0x492b5d,_0x39618e)=>{const _0x2a7e45=_0x58ba74;for(var _0x118628=_0x39618e>0x1?void 0x0:_0x39618e?_0x39a554(_0x20be32,_0x492b5d):_0x20be32,_0x7a793e=_0x57531f[_0x2a7e45(0x21c)]-0x1,_0x51843a;_0x7a793e>=0x0;_0x7a793e--)(_0x51843a=_0x57531f[_0x7a793e])&&(_0x118628=_0x51843a(_0x118628)||_0x118628);return _0x118628;},_0x15920d=(_0x572c87,_0x33ea55)=>(_0x240b13,_0x21a2ef)=>_0x33ea55(_0x240b13,_0x21a2ef,_0x572c87);_0x4c1233[_0x58ba74(0x41d)]=class extends _0x3d65ed[_0x58ba74(0x470)]{constructor(_0x22fe15,_0x3940e2,_0x5c6ad2,_0x2bf144,_0x2c09ee){super(_0x22fe15,_0x3940e2,_0x5c6ad2,_0x2bf144,_0x2c09ee);}async[_0x58ba74(0x3e1)](_0xefbfd5){const _0x54d7f2=_0x58ba74,_0x4a487d=await this[_0x54d7f2(0x2fa)](),_0x18601b=this[_0x54d7f2(0x2ef)](_0xefbfd5,_0x4a487d);return this['_doCreateSocket'](_0x18601b);}[_0x58ba74(0x2ef)](_0x275c1f,_0x461770){const _0x2ecd2d=_0x58ba74,_0x492815=typeof window>'u'?new URL(_0x275c1f):new URL(_0x275c1f,window['location'][_0x2ecd2d(0x2a8)]);_0x492815[_0x2ecd2d(0x3b9)][_0x2ecd2d(0x39c)](_0x2ecd2d(0x243),_0x461770);const _0x28690d=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2ecd2d(0x261)][_0x2ecd2d(0x375)]);return _0x28690d[_0x2ecd2d(0x276)](_0x2ecd2d(0x411))&&_0x492815[_0x2ecd2d(0x3b9)]['set'](_0x2ecd2d(0x411),_0x28690d[_0x2ecd2d(0x276)]('runId')),_0x492815[_0x2ecd2d(0x486)]();}async[_0x58ba74(0x2fa)](){const _0x3aadd9=_0x58ba74;var _0x1369d0,_0x17bf45,_0x105f74;const _0x4e8689=this[_0x3aadd9(0x42c)][_0x3aadd9(0x2b5)](_0x3d65ed[_0x3aadd9(0x259)]),_0x5316b8=(_0x1369d0=_0x4e8689==null?void 0x0:_0x4e8689[_0x3aadd9(0x389)])!=null?_0x1369d0:_0x3d65ed[_0x3aadd9(0x450)];return(_0x105f74=(_0x17bf45=(await this['_httpService']['get'](_0x5316b8,{'headers':{'Content-Type':_0x3aadd9(0x395)}}))[_0x3aadd9(0x3dd)])==null?void 0x0:_0x17bf45['ticket'])!=null?_0x105f74:'';}},_0x4c1233[_0x58ba74(0x41d)]=_0x5ebc60([_0x15920d(0x0,_0x186e4b[_0x58ba74(0x3de)](_0x186e4b[_0x58ba74(0x260)])),_0x15920d(0x1,_0x186e4b[_0x58ba74(0x3de)](_0x3e3da1['HTTPService'])),_0x15920d(0x2,_0x186e4b['IConfigService']),_0x15920d(0x3,_0x186e4b[_0x58ba74(0x368)]),_0x15920d(0x4,_0x22f723[_0x58ba74(0x2ba)])],_0x4c1233[_0x58ba74(0x41d)]);const _0x48666d=0x7530,_0x5dd137='ACTIVE_UNIT_EVENT_CHANNEL';class _0x46c7fe extends _0x186e4b[_0x58ba74(0x398)]{constructor(){const _0x44acb0=_0x58ba74;super(),_0x46798f(this,_0x44acb0(0x2a1),_0x186e4b[_0x44acb0(0x291)]()),_0x46798f(this,_0x44acb0(0x2cf),new Set()),_0x46798f(this,_0x44acb0(0x2f1),new Map()),_0x46798f(this,_0x44acb0(0x29d),null),_0x46798f(this,_0x44acb0(0x313),new Map()),_0x46798f(this,_0x44acb0(0x20a),new Map()),this[_0x44acb0(0x367)]();}['dispose'](){const _0x2d2503=_0x58ba74;super[_0x2d2503(0x23e)](),this[_0x2d2503(0x313)][_0x2d2503(0x34c)]((_0x4d9807,_0x4c51fa)=>this['_removeClearOtherTimer'](_0x4c51fa)),this[_0x2d2503(0x29d)]&&window[_0x2d2503(0x3d8)](this[_0x2d2503(0x29d)]);}[_0x58ba74(0x338)](_0x4ae049){return this['_ensureSubject'](_0x4ae049)['pipe'](_0x64f24f['distinctUntilChanged']());}[_0x58ba74(0x3b4)](_0x4421c1){const _0x32a2de=_0x58ba74;this[_0x32a2de(0x2cf)][_0x32a2de(0x264)]===0x0&&this[_0x32a2de(0x35a)](),this[_0x32a2de(0x2cf)][_0x32a2de(0x463)](_0x4421c1),this['_send']({'type':0x0,'memberID':this[_0x32a2de(0x2a1)],'unitIDs':[_0x4421c1],'isForwarded':!0x1});}[_0x58ba74(0x39f)](_0x23ad70){const _0xe2db4=_0x58ba74;this[_0xe2db4(0x2cf)]['delete'](_0x23ad70),this[_0xe2db4(0x2cf)]['size']===0x0&&this['_heartbeatTimer']&&window[_0xe2db4(0x3d8)](this[_0xe2db4(0x29d)]);}[_0x58ba74(0x367)](){const _0x54d202=_0x58ba74;this[_0x54d202(0x220)](_0x186e4b[_0x54d202(0x21b)](_0x64f24f[_0x54d202(0x425)](window,'storage')['subscribe'](_0x4bd182=>{const _0x54e82c=_0x54d202;if(_0x4bd182[_0x54e82c(0x461)]!==_0x5dd137||!_0x4bd182[_0x54e82c(0x443)])return;const _0x44dee2=JSON['parse'](_0x4bd182[_0x54e82c(0x443)]);this['_handleEvent'](_0x44dee2);}))),window[_0x54d202(0x407)]('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x54d202(0x2a1)],'unitIDs':Array[_0x54d202(0x432)](this[_0x54d202(0x2cf)])}));}[_0x58ba74(0x2f7)](_0x54adca){const _0x1eaafc=_0x58ba74;switch(_0x54adca[_0x1eaafc(0x2da)]){case 0x0:this[_0x1eaafc(0x460)](_0x54adca);break;case 0x1:this[_0x1eaafc(0x2c1)](_0x54adca);break;case 0x2:this[_0x1eaafc(0x336)](_0x54adca);break;}}[_0x58ba74(0x460)](_0x12cddc){const _0x4aa1b5=_0x58ba74,{unitIDs:_0x2ddb67,memberID:_0x2d5d03,isForwarded:_0x5ba30d}=_0x12cddc;_0x2ddb67[_0x4aa1b5(0x34c)](_0x29bb40=>{const _0x4e5b73=_0x4aa1b5;if(!_0x5ba30d&&this['_unitOnClients'][_0x4e5b73(0x235)](_0x29bb40)&&this[_0x4e5b73(0x1f8)](_0x29bb40)[_0x4e5b73(0x221)](_0x3d65ed[_0x4e5b73(0x233)]['OTHER_CLIENTS_EDITING']),!this[_0x4e5b73(0x2f1)][_0x4e5b73(0x235)](_0x29bb40)||!this[_0x4e5b73(0x2f1)][_0x4e5b73(0x276)](_0x29bb40)[_0x4e5b73(0x235)](_0x2d5d03)){const _0x9ba4d8=this[_0x4e5b73(0x2f1)][_0x4e5b73(0x276)](_0x29bb40)||new Set();_0x9ba4d8[_0x4e5b73(0x463)](_0x2d5d03),this[_0x4e5b73(0x2f1)][_0x4e5b73(0x39c)](_0x29bb40,_0x9ba4d8),this['_scheduleClearOtherTimer'](_0x2d5d03);}}),_0x5ba30d||this[_0x4aa1b5(0x230)]({'type':0x0,'memberID':this[_0x4aa1b5(0x2a1)],'unitIDs':[...this[_0x4aa1b5(0x2cf)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x2c7c21){const _0x8de0dc=_0x58ba74;this[_0x8de0dc(0x3f1)](_0x2c7c21);const _0x29d656=window['setTimeout'](()=>{const _0x4e9f9c=_0x8de0dc;this[_0x4e9f9c(0x2f1)]['forEach'](_0x134ebb=>{const _0x177c90=_0x4e9f9c;_0x134ebb[_0x177c90(0x40a)](_0x2c7c21);});},_0x48666d*0x2);this[_0x8de0dc(0x313)][_0x8de0dc(0x39c)](_0x2c7c21,_0x29d656);}['_removeClearOtherTimer'](_0x136ef7){const _0x207458=_0x58ba74;if(this[_0x207458(0x313)][_0x207458(0x235)](_0x136ef7)){const _0x174e16=this[_0x207458(0x313)][_0x207458(0x276)](_0x136ef7);_0x174e16&&window['clearTimeout'](_0x174e16),this[_0x207458(0x313)]['set'](_0x136ef7,null);}}[_0x58ba74(0x2c1)](_0x312081){const _0xf395a4=_0x58ba74,{memberID:_0x2b8c70,unitIDs:_0x99010b}=_0x312081;_0x99010b[_0xf395a4(0x34c)](_0x79b2db=>{const _0x47f5af=_0xf395a4;var _0x3f309e;const _0x19454b=this[_0x47f5af(0x2f1)][_0x47f5af(0x276)](_0x79b2db);_0x19454b&&(_0x19454b['delete'](_0x2b8c70),(_0x3f309e=this[_0x47f5af(0x1f8)](_0x79b2db))==null||_0x3f309e[_0x47f5af(0x221)](_0x19454b[_0x47f5af(0x264)]===0x0?_0x3d65ed[_0x47f5af(0x233)]['NO_OTHER_CLIENTS_EDITING']:_0x3d65ed[_0x47f5af(0x233)]['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x2b8c70);}[_0x58ba74(0x336)](_0x58fd78){const _0x51c8a8=_0x58ba74;this[_0x51c8a8(0x2de)](_0x58fd78[_0x51c8a8(0x42e)]);}[_0x58ba74(0x230)](_0x1082f5){const _0x584989=_0x58ba74;localStorage[_0x584989(0x34f)](_0x5dd137,JSON[_0x584989(0x3c6)](_0x1082f5));}[_0x58ba74(0x35a)](){const _0x3a28f6=_0x58ba74;this[_0x3a28f6(0x29d)]=window['setInterval'](()=>{const _0x22d0be=_0x3a28f6;this['_send']({'type':0x2,'memberID':this[_0x22d0be(0x2a1)]});},_0x48666d);}['_ensureSubject'](_0x3d6459){const _0x3ca89f=_0x58ba74;return this['_unitStatus'][_0x3ca89f(0x235)](_0x3d6459)||this['_unitStatus']['set'](_0x3d6459,new _0x64f24f[(_0x3ca89f(0x22c))](_0x3d65ed['UnitStatus']['NO_OTHER_CLIENTS_EDITING'])),this[_0x3ca89f(0x20a)][_0x3ca89f(0x276)](_0x3d6459);}}var _0x37c593=(_0x3ccf85=>(_0x3ccf85[_0x3ccf85['UNDEFINED']=0x0]=_0x58ba74(0x28c),_0x3ccf85[_0x3ccf85['OK']=0x1]='OK',_0x3ccf85[_0x3ccf85['INTERNAL_ERROR']=0x2]=_0x58ba74(0x27c),_0x3ccf85[_0x3ccf85[_0x58ba74(0x35f)]=0x3]=_0x58ba74(0x35f),_0x3ccf85[_0x3ccf85[_0x58ba74(0x447)]=0x4]='NOT_FOUND',_0x3ccf85[_0x3ccf85[_0x58ba74(0x2d4)]=0x5]=_0x58ba74(0x2d4),_0x3ccf85[_0x3ccf85[_0x58ba74(0x292)]=0x6]='ALREADY_EXISTS',_0x3ccf85[_0x3ccf85['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x3ccf85[_0x3ccf85[_0x58ba74(0x46d)]=0x8]=_0x58ba74(0x46d),_0x3ccf85[_0x3ccf85[_0x58ba74(0x269)]=0x9]='COMPLETION_FINISHED',_0x3ccf85[_0x3ccf85['LOGIN_FAILED']=0xa]=_0x58ba74(0x309),_0x3ccf85[_0x3ccf85['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x58ba74(0x457),_0x3ccf85[_0x3ccf85['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x3ccf85[_0x3ccf85[_0x58ba74(0x31e)]=0x1772]=_0x58ba74(0x31e),_0x3ccf85[_0x3ccf85['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x58ba74(0x323),_0x3ccf85[_0x3ccf85[_0x58ba74(0x354)]=0x1b59]='APPLY_REJECT',_0x3ccf85[_0x3ccf85[_0x58ba74(0x212)]=0x1b5a]=_0x58ba74(0x212),_0x3ccf85[_0x3ccf85['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x58ba74(0x2f0),_0x3ccf85[_0x3ccf85[_0x58ba74(0x245)]=0x1b5c]=_0x58ba74(0x245),_0x3ccf85[_0x3ccf85[_0x58ba74(0x2e9)]=0x1b5d]=_0x58ba74(0x2e9),_0x3ccf85[_0x3ccf85['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x58ba74(0x3e4),_0x3ccf85[_0x3ccf85[_0x58ba74(0x408)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x3ccf85[_0x3ccf85['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x3ccf85[_0x3ccf85['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x3ccf85[_0x3ccf85['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x58ba74(0x431),_0x3ccf85[_0x3ccf85[_0x58ba74(0x22d)]=0x232d]=_0x58ba74(0x22d),_0x3ccf85[_0x3ccf85[_0x58ba74(0x3e8)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x3ccf85[_0x3ccf85[_0x58ba74(0x3df)]=0x2712]=_0x58ba74(0x3df),_0x3ccf85[_0x3ccf85['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x58ba74(0x409),_0x3ccf85[_0x3ccf85[_0x58ba74(0x485)]=0x2714]=_0x58ba74(0x485),_0x3ccf85[_0x3ccf85[_0x58ba74(0x339)]=0x271a]=_0x58ba74(0x339),_0x3ccf85[_0x3ccf85[_0x58ba74(0x353)]=0x271b]=_0x58ba74(0x353),_0x3ccf85[_0x3ccf85[_0x58ba74(0x3f3)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x3ccf85[_0x3ccf85[_0x58ba74(0x45d)]=0x271d]=_0x58ba74(0x45d),_0x3ccf85[_0x3ccf85[_0x58ba74(0x436)]=0x271e]=_0x58ba74(0x436),_0x3ccf85[_0x3ccf85[_0x58ba74(0x437)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x3ccf85[_0x3ccf85['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x3ccf85[_0x3ccf85[_0x58ba74(0x2a4)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x3ccf85[_0x3ccf85[_0x58ba74(0x326)]=0x2ee2]=_0x58ba74(0x326),_0x3ccf85[_0x3ccf85[_0x58ba74(0x471)]=0x2ee3]=_0x58ba74(0x471),_0x3ccf85[_0x3ccf85[_0x58ba74(0x3ee)]=0x2ee4]=_0x58ba74(0x3ee),_0x3ccf85[_0x3ccf85[_0x58ba74(0x36b)]=0x2ee5]=_0x58ba74(0x36b),_0x3ccf85[_0x3ccf85[_0x58ba74(0x32d)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x3ccf85[_0x3ccf85[_0x58ba74(0x477)]=0x32ca]=_0x58ba74(0x477),_0x3ccf85[_0x3ccf85['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x58ba74(0x441),_0x3ccf85[_0x3ccf85[_0x58ba74(0x278)]=-0x1]='UNRECOGNIZED',_0x3ccf85))(_0x37c593||{}),_0x32fc20=Object[_0x58ba74(0x303)],_0xdf234a=(_0x5ebb4a,_0x226114,_0x4b0dcc,_0x1f2239)=>{const _0x27d763=_0x58ba74;for(var _0xf1ca97=_0x1f2239>0x1?void 0x0:_0x1f2239?_0x32fc20(_0x226114,_0x4b0dcc):_0x226114,_0x2f9985=_0x5ebb4a[_0x27d763(0x21c)]-0x1,_0xb90675;_0x2f9985>=0x0;_0x2f9985--)(_0xb90675=_0x5ebb4a[_0x2f9985])&&(_0xf1ca97=_0xb90675(_0xf1ca97)||_0xf1ca97);return _0xf1ca97;},_0x350260=(_0x7cd909,_0x4b1e4f)=>(_0x5149ac,_0x2b9ffe)=>_0x4b1e4f(_0x5149ac,_0x2b9ffe,_0x7cd909);_0x4c1233[_0x58ba74(0x3d9)]=class extends _0x186e4b['Disposable']{constructor(_0xd9bb06,_0x4f68e0,_0x586286){const _0x3b7a1a=_0x58ba74;super(),this[_0x3b7a1a(0x26c)]=_0xd9bb06,this[_0x3b7a1a(0x3cc)]=_0x4f68e0,this[_0x3b7a1a(0x42c)]=_0x586286;}async['runOnServer'](_0x2c701b,_0x58626d,_0x1bc5cd,..._0x33d008){const _0x4b108d=_0x58ba74;var _0x5092b9,_0x1d3fd5,_0x5de893,_0x169137;const _0x491b02=this[_0x4b108d(0x26c)][_0x4b108d(0x31d)]();if(!_0x491b02)throw new Error(_0x4b108d(0x355));const _0x33867d=((_0x5092b9=this['_configService'][_0x4b108d(0x2b5)](_0x3d65ed[_0x4b108d(0x2e0)]))!=null?_0x5092b9:_0x3d65ed[_0x4b108d(0x453)])+'/'+_0x2c701b+_0x4b108d(0x3e0)+_0x58626d,_0x108ac9=new URL(window[_0x4b108d(0x261)][_0x4b108d(0x2fd)]),_0x125bbe={'scriptId':_0x2c701b,'runId':(_0x1d3fd5=_0x108ac9[_0x4b108d(0x3b9)][_0x4b108d(0x276)](_0x4b108d(0x411)))!=null?_0x1d3fd5:'','function':_0x58626d,'unitId':_0x491b02['getUnitId'](),'argsOfFunction':JSON[_0x4b108d(0x3c6)](_0x33d008),'invokeId':(_0x5de893=_0x1bc5cd['invokeId'])!=null?_0x5de893:'','executionId':(_0x169137=_0x1bc5cd[_0x4b108d(0x384)])!=null?_0x169137:''};try{const _0x597b73=await this[_0x4b108d(0x3cc)][_0x4b108d(0x29e)](_0x33867d,{'body':_0x125bbe});return _0x597b73['body']['error']&&_0x597b73['body'][_0x4b108d(0x344)][_0x4b108d(0x216)]!==_0x37c593['OK']?_0x4b108d(0x22b):_0x597b73[_0x4b108d(0x3dd)]['result'];}catch{return _0x4b108d(0x22b);}}},_0x4c1233[_0x58ba74(0x3d9)]=_0xdf234a([_0x350260(0x0,_0x186e4b[_0x58ba74(0x219)]),_0x350260(0x1,_0x186e4b[_0x58ba74(0x3de)](_0x3e3da1[_0x58ba74(0x27f)])),_0x350260(0x2,_0x186e4b[_0x58ba74(0x283)])],_0x4c1233[_0x58ba74(0x3d9)]),_0x4c1233[_0x58ba74(0x3d5)]=_0x8ca93a,_0x4c1233[_0x58ba74(0x47d)]=_0x485e28,_0x4c1233[_0x58ba74(0x394)]=_0x4de1c9,_0x4c1233[_0x58ba74(0x466)]=_0x46c7fe,_0x4c1233[_0x58ba74(0x2f5)]=_0x2b78d2,Object[_0x58ba74(0x310)](_0x4c1233,Symbol[_0x58ba74(0x358)],{'value':_0x58ba74(0x317)});}));