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

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 _0x1517(){const _0x26cc9d=['mergeOverrideWithDependencies','startColumn','getValue','_univerInstanceService','getRelativeToViewportCoord','UniverEngineRender','DocCollaborationEntity','unsubscribe','UniverSheetsUi','ENSURE_SNAPSHOT_EXECUTION','_cursorInfo$','LICENSE_MAX_UNITS_EXCEEDED','_saveTaskMap','collaboration-client-ui.config','onCommandExecuted','1024621JhEGLe','_registerRenderDependencies','jsx','@univerjs/rpc','_entities','@univerjs/drawing','pipe','assignAColorForMemberID','RefRangeService','_scene','UniverDocs','RichTextEditingMutation','_cursorShapes','subunit','_getScale','UNIVER_DOC','CollaborationUIEventService','getUnhiddenWorksheets','TEXT_RANGE_LAYER_INDEX','then','cursorInfo$','body','Optional','CollaborationController','PY_RUNTIME_SCRIPT_ERROR','COLORS','_imageIoService','enableLocalCache','switchMap','transformSelections','getRangePointData','handleIRemoveCol','collab-rect-range-','activeSheet$','INVITE_CODE_HAS_BEEN_UES','handleDeleteRangeMoveUp','_commandService','getCoordByCell','onPointerLeave$','entityInit$','ThemeService','blue.400','USERS_LEAVE','_id','runOnServer','RevisionService','collabStatus.synced','_selfUnitIDs','removeParam','toDisposable','EffectRefRangId','isTransformMutationFailure','UniverProCollaboration','_updateURLWithCurrentState','history','indexOf','column','takeUntil','_uiPartsService','_localeService','DocIMEInputManagerService','transformMutationsWithChangeset','_onCursorUpdate','UniverDocsUi','PENDING','UniverEngineFormula','Error','OFFLINE','height','handleInsertRow','UniverProCollaborationClient','text','session.connection-failed','_beforeCloseService','MessageType','Rectangle','_backgroundColor','send','memberID','event$','_doCreateSocket','collab-text-range-','actions','getOwnPropertySymbols','DisposableCollection','yellow.400','_configService','_saveCache','_assignedColors','LOGIN_FAILED','DocSelectionManagerService','roomMembers','ACTIVE_UNIT_EVENT_CHANNEL','collabStatus.notCollab','SheetsSelectionsService','UniverDesign','isTransformMutationsWithChangesetSuccess','urlChange$','session.will-retry','_toggleOnline','APPLY_REJECT','_colorIndex','none','_docSyncEditingCollabCursorService','_status$','redoState','IURLService','_collaborationUIEventService','HTTPService','SetWorksheetActivateCommand','red.300','status$','useDependency','_disabled','icon','ILogService','concat','saveTaskMap','RxDisposable','UniverRpc','storage','parse','DataLoaderService','getActiveSheet','EMAIL_HAS_BEEN_BOUND','forEach','1839lQyXDc','_handleEvent','ITransformService','_dataLoaderService','split','push','@univerjs/engine-formula','WebSocketService','clipPath','override','trim','BuiltInUIPart','prototype','transformStateCache','selections','DeleteRangeMoveUpCommandId','univer-flex\x20univer-items-center','SHEET_VIEWPORT_KEY','tag','SheetSkeletonManagerService','debug','saveImage','disposeWithMe','ONLINE','off-line-icon_clip0_910_343','21ikaIWs','Workbook','UnitStatus','textRanges','from','DEFAULT_WS_SESSION_TICKET_URL','syncEditingCollabCursor','registerDependencies','INVITE_CODE_REQUIRED','loadOfflineData','Tooltip','_refreshCollabCursors','use','entries','defs','YUUMI_RATE_OVER_LIMIT','evenodd','collabCursorState$','init','_updateCollabCursors','_sheetSkeletonManagerService','Plugin','fillRule','unshift','Rect','_collabCursorController','_httpService','on-line-icon_clip0_910_349','moveTo','collabStatus.offline','restore','forwardRef','CollaborationStatus','UniverCollaborationClientPlugin','NOT_COLLAB','getOwnPropertyDescriptor','_syncEditingCollabCursorService','executeCommand','_unitOnClients','mask','UniverSheets','getFocusedUnit','_injector','setShapeProps','dispose','_cursors','_eventUnsubscribe','has','getOffsetConfig','_onRefRangeChange','_init','color','Disposable','permission.title','react','_hover','pluginName','TEXT','UniverProCollaborationClientUi','debounceTime','0\x200\x2016\x2016','Injector','_revisionService','ICommandService','collab-text-anchor-','url(#on-line-icon_clip0_910_349)','_drawTextRange','UniverUi','symbol','UniverIcon','IUniverInstanceService','params','_collaborationController','getAncestorScale','1625910kGpTCi','Unknown\x20user','IImageIoService','YUUMI_UNABLE_LOAD_URL','pushState','createIdentifier','getViewport','xlink:href','subscribe','_setupSubUnitSync','function','APPLY_REVISION_CONFILICT','getItem','getStateCache','focused$','on-line-icon','_themeService','useCallback','WebURLService','lineTo','resize','defIds','max','undoState','_createSocketURL','RegularPolygon','addObjects','SheetCollabCursorShape','getMember','ISocketService','collabStatus.conflict','@univerjs/docs-ui','_range','PERMISSION_DENIED','location','UniverNetwork','handleInsertRangeMoveDown','@univerjs-pro/collaboration','next','BrowserCollaborationSocketService','_colorAssignService','_hideTimer','range','@univerjs/design','search','font','YUUMI_NO_CUBOID_FOR_QUESTION','cursorInfo','isEditing','fill','name','LICENSE_DISTRO_REJECTED','getCurrentSelections','rxjs','_cursor','Subject','map','requireSession','_scheduleSaving','LICENSE_EXPORT_SIZE_EXCEEDED','url(#$1','#FFF','hasOwnProperty','_textBubble','CollaborationSessionService','getCellPositionByOffset','_refRangeService','serializeRangeWithSheet','IRemoteInstanceService','sheetId','_handleJoinEvent','setTimeout','endRow','clearInterval','AWAITING','skeleton','length','contains','isActive','runRefRangeMutations','_collabSessionService','CommandType','_context','operators','APPLY_PERMISSION_DENIED','_initEntityListener','SOCKET_FAILED_RETRY','error','Warning','_initStatusListener','getActiveRange','USER_NOT_INVITED_CODE','_docTransformIMECacheService','combineLatest','set','INVITE_CODE_ALREADY_BOUND','delete','1em','translate(.97)','@univerjs/network','arc','_logService','onPointerEnter$','sessionStatus$','data','_updateSubUnitFromURLParams','attrs','1581984VSImAL','useObservable','CollaborationStatusDisplay','string','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','addObject','eventID','_notificationService','react/jsx-runtime','session.collaboration-timeout','_onCursorDelete','_drawAnchor','NO_OTHER_CLIENTS_EDITING','_labelPosition','onMouseMove','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','getCurrentUnitForType','setParam','APPLY_NON_SEQUENTIAL_REVISION','http://www.w3.org/2000/svg','onTransformChange$','extend','APPLY_DUPLICATED','idSuffix','random','YUUMI_TABLE_NOT_FOUND_IN_UNIT','onRendered','currentSkeleton$','addHandlerCallback','INotificationService','@univerjs/sheets','width','_color','@univerjs-pro/collaboration-client','Tools','popstate','displayName','SetDocZoomRatioOperation','IDocClipboardService','registerRenderModule','SetSelectionsOperation','UNAUTHENTICATED','mapTo','apply','_getMergeRange','findNodePositionByCharIndex','_toggleOffline','show','black','selection','closePath','MUTATION','_urlService','M0\x200H16V16H0z','140dBQGWQ','top','CollaborationEvent','size','toRgbString','fillText','getVpScrollXYInfoByPosToVp','DeleteRangeMoveLeftCommandId','_localCacheService','post','YUUMI_ASYNCIO_CANCELLED','transformIMECache','_getSessionTicket','INVALID_INVITE_CODE','Inject','YUUMI_ALL_TABLES_IS_INVALID','_initEvent','BehaviorSubject','_shapes','RemoteUniscriptService','_anchorDot','ILocalStorageService','getSkeleton','_docStateChangeManagerService','uni.network.url-service','currentColor','connectInjector','url(#off-line-icon_clip0_910_343)','toString','getColorFromTheme','getSheetId','_roomMembers$','startsWith','_docTransformStateCacheService','Failed','InsertRowCommandId','off-line-icon','_drawRectRange','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','m1Prime','unitId','handleDeleteRangeMoveLeft','href','YUUMI_SUBSCRIPTION_NOT_FOUND','_heartbeatTimer','_transformService','_name','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','className','_renderManagerService','NOT_FOUND','INVALID_ARGUMENT','_session','OTHER_CLIENT_EDITING','_unitStatus','_removeClearOtherTimer','clearTimeout','jiqing.500','getConfig','_hovered','getDocRanges','Vector2','_setupBeforeClosingHandler','_scheduleClearOtherTimer','toStringTag','0\x200\x2017\x2016','assign','@univerjs/docs','SNAPSHOT_INVALID_SNAPSHOT','1385271XeDPBh','exhaustSavingTask','unit','_scheduleHeartbeat','searchParams','mutations','generateRandomId','exports','SNAPSHOT_HAS_BEEN_REMOVED','filter','UniverCollaborationClientUIPlugin','replace','_getSheetObject','TRANSFORM_CHANGE_OBSERVABLE_TYPE','fromEventSubject','UNIVER_SHEET','_startSheetCollabCursor','some','application/json','setActiveRange','handleInsertCol','_send','_anchor','getUnitId','_instanceService','OTHER_CLIENTS_EDITING','distinctUntilChanged','DesktopCollaborationStatusDisplayController','_messageService','UniverCore','fromEvent','IUIPartsService','Shape','save','backgroundColor','WebBrowserSingleActiveUnitService','invokeId','[RemoteUniscriptService]:\x20no\x20focused\x20unit','getMemberID','INTERNAL_ERROR','touchDependencies','@univerjs/core','subUnitId','_updateLocalCursor','svg','_document','getParam','UPDATE_CURSOR','YUUMI_AI_RUN_FAILED','hovered','reconnect','UniverInstanceType','m2Prime','SessionStatus','DocStateChangeManagerService','children','bottom','getUndoRedoMutationParamsCache','HEADER_MENU','rxjs/operators','IConfigService','ranges','measureText','ticket','_online','substring','CONFLICT','_docClipboardService','collabStatus.syncing','23515820bmztJC','updateOfflineData','unload','setUndoRedoMutationParamsCache','_docSkeletonManagerService','getColor','get','InsertRangeMoveDownCommandId','transform','ISnapshotServerService','whenReady','replaceState','path','propertyIsEnumerable','_config','_getAnchorBounding','...','onLocalMutation','_handleHeartbeatEvent','transformMutation','_collabCursorState$','type','runId','CONNECTOR_DATA_TOO_LARGE','add','getCollabCursors$','_docSkeleton','_memberService','setConfig','_transformHistoryAndStateStack','_handleHover','WECHAT_HAS_BEEN_BOUND','fillStyle','clsx','div','_lastPointer','transformRemoteChangeset','116124ACmZml','ColorKit','ILocalCacheService','getTypeOfUnitDisposed$','object','shareReplay','getRenderById','createElement','includes','DocSkeletonManagerService','RemoveColCommandId','_cachedData','drawWith','doc.mutation.rich-text-editing','isArray','_initCommandExecutedListener','CollaborationDataLoaderController','deepClone','COMPLETION_FINISHED','registerRefRange','row','debounce','CLOSE_ROOM','getUniverSheetInstance','call','disposeUnit','6876RyZEmU','amd','MemberService','beginPath','@univerjs/engine-render','with','_entityInit$','_initDependencies','YUUMI_URL_COL_OUT_OF_RANGE','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','RECT','_getSaveTimeout','getLocalCacheKey','_draw','InsertRangeMoveRightCommandId','getSheetBySheetId','newValue','LICENSE_IMPORT_SIZE_EXCEEDED','IMessageService','React','getTypeOfUnitAdded$','DOC_RANGE_TYPE','[CollaborationDataLoaderController]','subscribeEvent','values','getSheetObject','asObservable','getUnitStatus$','ALREADY_EXISTS','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','collaboration-client.offline-data-not-saved','AWAITING_WITH_PENDING','code','permission.content','unitID','round','OffLineIcon','_docTransformSelectionsService','CollaborationUIEventId','LOCAL_CACHE_INTERVAL','dispose$','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','replaceDocRanges','MOBILE_HAS_BEEN_BOUND','merge','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','result','white','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','setAlpha','CHANGESET_REVISION_CONFILICT','_ensureSubject','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','SetTextSelectionsOperation','min','startRow','_initResize','createSocket','FromArray','TOO_MANY_REQUESTS','rgba(255,\x20255,\x20255,\x200.01)','labelPosition','complete','_clearOtherTimers','defineProperty','_removeCollabCursors','loadUnit','LocaleService'];_0x1517=function(){return _0x26cc9d;};return _0x1517();}function _0x2b52(_0x1d72eb,_0x2fab8d){const _0x1517ce=_0x1517();return _0x2b52=function(_0x2b5264,_0x2b2973){_0x2b5264=_0x2b5264-0xf9;let _0x39ce2a=_0x1517ce[_0x2b5264];return _0x39ce2a;},_0x2b52(_0x1d72eb,_0x2fab8d);}(function(_0x4c5937,_0x472904){const _0x1a2bcb=_0x2b52,_0x4cf56e=_0x4c5937();while(!![]){try{const _0x5d741a=parseInt(_0x1a2bcb(0x33c))/0x1+-parseInt(_0x1a2bcb(0x17f))/0x2+-parseInt(_0x1a2bcb(0x11c))/0x3*(parseInt(_0x1a2bcb(0x2e9))/0x4)+-parseInt(_0x1a2bcb(0x220))/0x5*(parseInt(_0x1a2bcb(0x2cf))/0x6)+parseInt(_0x1a2bcb(0x135))/0x7*(-parseInt(_0x1a2bcb(0x1ea))/0x8)+parseInt(_0x1a2bcb(0x265))/0x9+parseInt(_0x1a2bcb(0x2aa))/0xa;if(_0x5d741a===_0x472904)break;else _0x4cf56e['push'](_0x4cf56e['shift']());}catch(_0x15cab8){_0x4cf56e['push'](_0x4cf56e['shift']());}}}(_0x1517,0x80f88),function(_0x1d956c,_0x2158de){const _0x2f33be=_0x2b52;typeof exports==_0x2f33be(0x2d3)&&typeof module<'u'?_0x2158de(exports,require(_0x2f33be(0x20b)),require('@univerjs/core'),require(_0x2f33be(0x2ed)),require(_0x2f33be(0x1e2)),require(_0x2f33be(0x19e)),require(_0x2f33be(0x341)),require('rxjs'),require('@univerjs/docs'),require(_0x2f33be(0x1a4)),require(_0x2f33be(0x122)),require(_0x2f33be(0x208)),require(_0x2f33be(0x2a0)),require('@univerjs/sheets-ui'),require(_0x2f33be(0x1f2)),require('@univerjs/ui'),require(_0x2f33be(0x1aa)),require('react'),require('@univerjs/rpc')):typeof define==_0x2f33be(0x189)&&define[_0x2f33be(0x2ea)]?define([_0x2f33be(0x26c),_0x2f33be(0x20b),_0x2f33be(0x28e),_0x2f33be(0x2ed),_0x2f33be(0x1e2),_0x2f33be(0x19e),'@univerjs/drawing','rxjs',_0x2f33be(0x263),'@univerjs-pro/collaboration',_0x2f33be(0x122),_0x2f33be(0x208),_0x2f33be(0x2a0),'@univerjs/sheets-ui',_0x2f33be(0x1f2),'@univerjs/ui',_0x2f33be(0x1aa),_0x2f33be(0x16b),_0x2f33be(0x33f)],_0x2158de):(_0x1d956c=typeof globalThis<'u'?globalThis:_0x1d956c||self,_0x2158de(_0x1d956c[_0x2f33be(0x16f)]={},_0x1d956c[_0x2f33be(0x382)],_0x1d956c[_0x2f33be(0x282)],_0x1d956c[_0x2f33be(0x332)],_0x1d956c[_0x2f33be(0x1a2)],_0x1d956c[_0x2f33be(0x37b)],_0x1d956c['UniverDrawing'],_0x1d956c[_0x2f33be(0x1b4)],_0x1d956c[_0x2f33be(0x346)],_0x1d956c[_0x2f33be(0x370)],_0x1d956c[_0x2f33be(0x37d)],_0x1d956c[_0x2f33be(0x15d)],_0x1d956c[_0x2f33be(0x1b4)][_0x2f33be(0x1d2)],_0x1d956c[_0x2f33be(0x335)],_0x1d956c[_0x2f33be(0x2fc)],_0x1d956c[_0x2f33be(0x178)],_0x1d956c[_0x2f33be(0xfd)],_0x1d956c[_0x2f33be(0x2fc)],_0x1d956c[_0x2f33be(0x115)]));}(this,function(_0x2a7733,_0x353bdb,_0x4f4b1a,_0x4be59a,_0x504bfb,_0x2a96f2,_0x3df68c,_0x4c8fcf,_0x49ed44,_0x4afe31,_0x2f57c5,_0x54d6f1,_0x1feca5,_0xad51e4,_0x5d3531,_0x124131,_0x532a93,_0x471115,_0x14ce2b){'use strict';const _0x6b9591=_0x2b52;var _0x356591=Object['defineProperty'],_0x291006=(_0x42a6a4,_0x111377,_0x1f8c7e)=>_0x111377 in _0x42a6a4?_0x356591(_0x42a6a4,_0x111377,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1f8c7e}):_0x42a6a4[_0x111377]=_0x1f8c7e,_0x54ef86=(_0x4939b8,_0x12d063,_0x13e644)=>_0x291006(_0x4939b8,typeof _0x12d063!=_0x6b9591(0x179)?_0x12d063+'':_0x12d063,_0x13e644),_0x41dac4=Object[_0x6b9591(0x158)],_0xf00f2=(_0x569afb,_0x4daab1,_0x207f80,_0x2f1c54)=>{const _0x33443f=_0x6b9591;for(var _0x3367b9=_0x2f1c54>0x1?void 0x0:_0x2f1c54?_0x41dac4(_0x4daab1,_0x207f80):_0x4daab1,_0x4ad745=_0x569afb[_0x33443f(0x1cb)]-0x1,_0x3ea471;_0x4ad745>=0x0;_0x4ad745--)(_0x3ea471=_0x569afb[_0x4ad745])&&(_0x3367b9=_0x3ea471(_0x3367b9)||_0x3367b9);return _0x3367b9;},_0x55cf5e=(_0x2e7956,_0x109438)=>(_0x1b88b8,_0x13146d)=>_0x109438(_0x1b88b8,_0x13146d,_0x2e7956);let _0x2c4cde=class extends _0x4f4b1a[_0x6b9591(0x114)]{constructor(_0x3044b5,_0x2d305d){const _0x54ccee=_0x6b9591;super(),this[_0x54ccee(0x2a8)]=_0x3044b5,this[_0x54ccee(0x356)]=_0x2d305d,this['_init']();}[_0x6b9591(0x167)](){const _0x5bb9cd=_0x6b9591,_0x682d45=this;this[_0x5bb9cd(0x132)](this[_0x5bb9cd(0x2a8)]['addClipboardHook']({'onBeforePasteImage':async _0x124969=>{const _0x3eeaff=_0x5bb9cd,_0x5a2074=await _0x682d45[_0x3eeaff(0x356)][_0x3eeaff(0x131)](_0x124969);return _0x5a2074?{'source':_0x5a2074['source'],'imageSourceType':_0x5a2074['imageSourceType']}:null;}}));}};_0x2c4cde=_0xf00f2([_0x55cf5e(0x0,_0x2a96f2[_0x6b9591(0x210)]),_0x55cf5e(0x1,_0x3df68c[_0x6b9591(0x181)])],_0x2c4cde);const _0x42d944=['purple.300',_0x6b9591(0x259),'green.600',_0x6b9591(0x10c),_0x6b9591(0x365),_0x6b9591(0x391)];class _0x3e1aeb extends _0x4f4b1a[_0x6b9591(0x169)]{constructor(){const _0x433d73=_0x6b9591;super(...arguments),_0x54ef86(this,_0x433d73(0x394),new Map()),_0x54ef86(this,_0x433d73(0x103),0x0);}[_0x6b9591(0x343)](_0x942b0b){const _0x32d618=_0x6b9591;if(this['_assignedColors']['has'](_0x942b0b))return this['_assignedColors'][_0x32d618(0x2b0)](_0x942b0b);const _0x18ecea=_0x42d944[this[_0x32d618(0x103)]];return this[_0x32d618(0x103)]=(this[_0x32d618(0x103)]+0x1)%_0x42d944[_0x32d618(0x1cb)],this[_0x32d618(0x394)][_0x32d618(0x1dd)](_0x942b0b,_0x18ecea),_0x18ecea;}}function _0x4e4824(_0x1258e8){const _0x1a2c56=_0x6b9591;let _0x32762f='';for(const _0x351423 of _0x1258e8){const {startOffset:_0x51b00b,endOffset:_0x5ad156,isActive:_0x252bce,rangeType:_0x39024b,segmentId:_0x51b018,segmentPage:_0xf44b37}=_0x351423;_0x32762f[_0x1a2c56(0x1cb)]&&(_0x32762f+=','),_0x32762f+=_0x51b00b+':'+_0x5ad156+':'+(_0x252bce?'1':'0')+':'+_0x39024b+':'+_0x51b018+':'+_0xf44b37;}return _0x32762f;}function _0x6ee52d(_0x3776b8){const _0x212201=_0x6b9591,_0x54e9dc=_0x3776b8[_0x212201(0x120)](','),_0x259d63=[];for(const _0x222bdb of _0x54e9dc){const [_0x2892b2,_0x1e5166,_0x16641d,_0x25d60d,_0x8251f4,_0x309175]=_0x222bdb[_0x212201(0x120)](':');_0x259d63[_0x212201(0x121)]({'startOffset':Number(_0x2892b2),'endOffset':Number(_0x1e5166),'collapsed':_0x2892b2===_0x1e5166,'isActive':_0x16641d==='1','rangeType':_0x25d60d===_0x4f4b1a[_0x212201(0x2fe)][_0x212201(0x16e)]?_0x4f4b1a[_0x212201(0x2fe)][_0x212201(0x16e)]:_0x4f4b1a[_0x212201(0x2fe)][_0x212201(0x2f3)],'segmentId':typeof _0x8251f4=='string'?String(_0x8251f4):'','segmentPage':Number(_0x309175!=null?_0x309175:-0x1)});}return _0x259d63[_0x212201(0x276)](_0x1788e2=>_0x1788e2[_0x212201(0x1cd)])||(_0x259d63[0x0][_0x212201(0x1cd)]=!0x0),_0x259d63;}class _0x35f7e0 extends _0x4f4b1a[_0x6b9591(0x114)]{constructor(){const _0x44cc0c=_0x6b9591;super(...arguments),_0x54ef86(this,'_collabCursorState$',new _0x4c8fcf['BehaviorSubject'](null)),_0x54ef86(this,_0x44cc0c(0x146),this['_collabCursorState$'][_0x44cc0c(0x303)]());}[_0x6b9591(0x13b)](_0x2e8b5a){const _0x259447=_0x6b9591,{unitID:_0x3704c0,memberID:_0x2a1223,textRanges:_0x32bb46}=_0x2e8b5a,_0xbf0dca=_0x4e4824(_0x32bb46);if(_0xbf0dca==='')return;const _0x386cb7={'unitID':_0x3704c0,'memberID':_0x2a1223,'selection':_0xbf0dca};this[_0x259447(0x2be)]['next'](_0x386cb7);}}var _0x344a64=Object[_0x6b9591(0x158)],_0x3d0c35=(_0x453828,_0x192575,_0xdf6d5a,_0x13fbdb)=>{const _0x1ba267=_0x6b9591;for(var _0x4df5ce=_0x13fbdb>0x1?void 0x0:_0x13fbdb?_0x344a64(_0x192575,_0xdf6d5a):_0x192575,_0x2e20c9=_0x453828[_0x1ba267(0x1cb)]-0x1,_0x916c16;_0x2e20c9>=0x0;_0x2e20c9--)(_0x916c16=_0x453828[_0x2e20c9])&&(_0x4df5ce=_0x916c16(_0x4df5ce)||_0x4df5ce);return _0x4df5ce;},_0x31bc66=(_0x2aef6d,_0xc1b0a2)=>(_0x3ba72a,_0x504824)=>_0xc1b0a2(_0x3ba72a,_0x504824,_0x2aef6d);const _0x122e2f=0x12c,_0x46b299=0x64;let _0x3ed204=class extends _0x4f4b1a[_0x6b9591(0x114)]{constructor(_0x158d89,_0x17c40a,_0x13f8c9,_0x195746,_0x28e90f,_0x234d87,_0xa06e21,_0x2f29cc,_0x2261f6){const _0xf4cddb=_0x6b9591;super(),_0x54ef86(this,_0xf4cddb(0x2a5),!0x1),_0x54ef86(this,'_init',!0x1),_0x54ef86(this,'_cursorInfo$',new _0x4c8fcf[(_0xf4cddb(0x231))](new Map())),_0x54ef86(this,_0xf4cddb(0x350),this[_0xf4cddb(0x337)][_0xf4cddb(0x303)]()),_0x54ef86(this,_0xf4cddb(0x23f),new _0x4c8fcf[(_0xf4cddb(0x231))]([])),_0x54ef86(this,'roomMembers$',this[_0xf4cddb(0x23f)][_0xf4cddb(0x342)](_0x4c8fcf[_0xf4cddb(0x170)](_0x122e2f))),_0x54ef86(this,_0xf4cddb(0x290),_0x4f4b1a[_0xf4cddb(0x2e4)](_0x566ec7=>{const _0x1d4ffd=_0xf4cddb,_0x3f1b37={'eventID':_0x4afe31['CollaborationEvent'][_0x1d4ffd(0x294)],'data':{'unitID':this[_0x1d4ffd(0x30b)],'memberID':this['_session'][_0x1d4ffd(0x28b)](),'selection':_0x4e4824(_0x566ec7)}};this['_session'][_0x1d4ffd(0x389)](_0x3f1b37,this[_0x1d4ffd(0x30b)]);},_0x46b299)),(this['unitID']=_0x158d89,this[_0xf4cddb(0x254)]=_0x17c40a,this['_injector']=_0x13f8c9,this['_colorAssignService']=_0x195746,this[_0xf4cddb(0x2c5)]=_0x28e90f,this['_syncEditingCollabCursorService']=_0x234d87,this[_0xf4cddb(0x24d)]=_0xa06e21,this[_0xf4cddb(0x330)]=_0x2f29cc,this[_0xf4cddb(0x360)]=_0x2261f6);}get[_0x6b9591(0x1ae)](){const _0x22f07b=_0x6b9591;return this[_0x22f07b(0x337)][_0x22f07b(0x32f)]();}get[_0x6b9591(0xf9)](){const _0x133520=_0x6b9591;return this[_0x133520(0x23f)][_0x133520(0x32f)]();}[_0x6b9591(0x161)](){const _0x2e5d4c=_0x6b9591;super[_0x2e5d4c(0x161)](),this[_0x2e5d4c(0x337)]['next'](new Map()),this[_0x2e5d4c(0x337)][_0x2e5d4c(0x327)](),this['_roomMembers$'][_0x2e5d4c(0x1a5)]([]),this[_0x2e5d4c(0x23f)][_0x2e5d4c(0x327)]();}[_0x6b9591(0x147)](){const _0x274cc9=_0x6b9591;this[_0x274cc9(0x167)]||(this[_0x274cc9(0x167)]=!0x0,this['_session'][_0x274cc9(0x1e6)][_0x274cc9(0x342)](_0x4c8fcf[_0x274cc9(0x375)](this['dispose$']))[_0x274cc9(0x187)](_0x368ee0=>{const _0x30e992=_0x274cc9;_0x368ee0===_0x353bdb[_0x30e992(0x29a)][_0x30e992(0x133)]?this[_0x30e992(0x101)]():this[_0x30e992(0x218)]();}),this[_0x274cc9(0x254)]['event$'][_0x274cc9(0x342)](_0x4c8fcf['takeUntil'](this[_0x274cc9(0x311)]))[_0x274cc9(0x187)](_0x271ffd=>{const _0x1b911a=_0x274cc9,_0x2b6cbf=_0x271ffd[_0x1b911a(0x1f0)];_0x2b6cbf===_0x4afe31['CollaborationEvent'][_0x1b911a(0x294)]&&this['_onCursorUpdate'](_0x271ffd),_0x2b6cbf===_0x4afe31['CollaborationEvent'][_0x1b911a(0x366)]&&this[_0x1b911a(0x1f4)](_0x271ffd);}),this[_0x274cc9(0x132)](this['_commandService'][_0x274cc9(0x33b)](_0x35da38=>{const _0x3daebc=_0x274cc9,_0x3fbc0b=_0x35da38[_0x3daebc(0x17c)];_0x3fbc0b!=null&&this[_0x3daebc(0x2a5)]&&_0x35da38['id']===_0x49ed44[_0x3daebc(0x31e)]['id']&&_0x3fbc0b[_0x3daebc(0x248)]===this[_0x3daebc(0x30b)]&&_0x3fbc0b[_0x3daebc(0x1af)]===!0x1&&_0x3fbc0b[_0x3daebc(0x2a2)][_0x3daebc(0x1cb)]>0x0&&this[_0x3daebc(0x290)](_0x3fbc0b[_0x3daebc(0x2a2)]);})),this[_0x274cc9(0x159)]['collabCursorState$'][_0x274cc9(0x342)](_0x4c8fcf['takeUntil'](this[_0x274cc9(0x311)]))[_0x274cc9(0x187)](_0x62aba3=>{const _0x229a85=_0x274cc9;if((_0x62aba3==null?void 0x0:_0x62aba3[_0x229a85(0x30b)])!==this[_0x229a85(0x30b)])return;const _0x27fce9={'eventID':_0x4afe31[_0x229a85(0x222)][_0x229a85(0x294)],'data':_0x62aba3};this[_0x229a85(0x37a)](_0x27fce9);}),this[_0x274cc9(0x132)](this[_0x274cc9(0x360)][_0x274cc9(0x33b)](_0x4cd476=>{const _0x268d2d=_0x274cc9;if(_0x4cd476[_0x268d2d(0x17c)]==null)return;const _0x32bd8f=_0x4cd476[_0x268d2d(0x17c)];if(_0x4cd476['id']!==_0x49ed44[_0x268d2d(0x347)]['id']||_0x32bd8f[_0x268d2d(0x248)]!==this['unitID'])return;const _0x54d224={'id':_0x268d2d(0x2dc),'params':_0x32bd8f},_0x54e616=this['cursorInfo'];for(const [_0x47e262,_0x4f8ae3]of _0x54e616){const _0x133b7f={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x268d2d(0x30b)],'actions':null,'textRanges':_0x4f8ae3[_0x268d2d(0x2a2)]}},_0x194796=this[_0x268d2d(0x24d)][_0x268d2d(0x2bd)](_0x54d224,_0x133b7f,!0x1);if(_0x4afe31[_0x268d2d(0x36f)](_0x194796))throw _0x194796[_0x268d2d(0x1d6)];_0x54e616['set'](_0x47e262,{..._0x4f8ae3,'ranges':_0x194796['m2Prime'][_0x268d2d(0x17c)][_0x268d2d(0x138)]});}queueMicrotask(()=>{const _0x5a77ad=_0x268d2d;this['_cursorInfo$'][_0x5a77ad(0x1a5)](_0x54e616);});})));}[_0x6b9591(0x37a)](_0x1ae0b0){const _0x4d46cd=_0x6b9591;var _0x33a7bc,_0x5511b3;const {memberID:_0x1928f0,selection:_0x5b56c9}=_0x1ae0b0[_0x4d46cd(0x1e7)],_0x1b921a=_0x6ee52d(_0x5b56c9),_0x49be69=(_0x5511b3=(_0x33a7bc=this['_memberService'][_0x4d46cd(0x19b)](this[_0x4d46cd(0x30b)],_0x1928f0))==null?void 0x0:_0x33a7bc[_0x4d46cd(0x1b1)])!=null?_0x5511b3:_0x4d46cd(0x180),_0x221fc8={'color':this[_0x4d46cd(0x1a7)][_0x4d46cd(0x343)](_0x1928f0),'name':_0x49be69,'ranges':_0x1b921a},_0x147d5b=this[_0x4d46cd(0x1ae)];_0x147d5b[_0x4d46cd(0x1dd)](_0x1928f0,_0x221fc8),this[_0x4d46cd(0x337)][_0x4d46cd(0x1a5)](_0x147d5b);}[_0x6b9591(0x1f4)](_0x2bbb34){const _0x20f269=_0x6b9591,{memberID:_0x23505e}=_0x2bbb34[_0x20f269(0x1e7)],_0x374251=this['cursorInfo'];_0x374251[_0x20f269(0x1df)](_0x23505e),this[_0x20f269(0x337)][_0x20f269(0x1a5)](_0x374251);}['_toggleOnline'](){const _0x2aac6f=_0x6b9591;var _0x46a297;if(this[_0x2aac6f(0x2a5)]=!0x0,((_0x46a297=this[_0x2aac6f(0x330)][_0x2aac6f(0x15e)]())==null?void 0x0:_0x46a297[_0x2aac6f(0x27c)]())!==this['unitID'])return;const _0x23177c=this[_0x2aac6f(0x15f)][_0x2aac6f(0x2b0)](_0x49ed44[_0x2aac6f(0x396)])[_0x2aac6f(0x25c)]();Array[_0x2aac6f(0x2dd)](_0x23177c)&&_0x23177c[_0x2aac6f(0x1cb)]>0x0&&this['_updateLocalCursor'](_0x23177c);}[_0x6b9591(0x218)](){const _0x131175=_0x6b9591;this[_0x131175(0x2a5)]=!0x1;}};_0x3ed204=_0x3d0c35([_0x31bc66(0x2,_0x4f4b1a[_0x6b9591(0x22e)](_0x4f4b1a[_0x6b9591(0x172)])),_0x31bc66(0x3,_0x4f4b1a[_0x6b9591(0x22e)](_0x3e1aeb)),_0x31bc66(0x4,_0x4f4b1a[_0x6b9591(0x22e)](_0x353bdb[_0x6b9591(0x2eb)])),_0x31bc66(0x5,_0x4f4b1a[_0x6b9591(0x22e)](_0x35f7e0)),_0x31bc66(0x6,_0x4afe31[_0x6b9591(0x11e)]),_0x31bc66(0x7,_0x4f4b1a['IUniverInstanceService']),_0x31bc66(0x8,_0x4f4b1a['ICommandService'])],_0x3ed204);var _0x2609cd=Object['getOwnPropertyDescriptor'],_0x4c1fed=(_0x58d858,_0x500cd4,_0x4f8608,_0x5b7480)=>{for(var _0x131b23=_0x5b7480>0x1?void 0x0:_0x5b7480?_0x2609cd(_0x500cd4,_0x4f8608):_0x500cd4,_0x46aeaa=_0x58d858['length']-0x1,_0x1f2dd;_0x46aeaa>=0x0;_0x46aeaa--)(_0x1f2dd=_0x58d858[_0x46aeaa])&&(_0x131b23=_0x1f2dd(_0x131b23)||_0x131b23);return _0x131b23;},_0x197414=(_0x3e8f16,_0x4ab167)=>(_0x1df664,_0x359e0d)=>_0x4ab167(_0x1df664,_0x359e0d,_0x3e8f16);const _0x132f15=0x12c,_0x288a2e=0x64,_0x1b9b44=()=>{let _0x512d0a=[],_0x5ae27f=!0x1;return _0x47d84e=>{_0x512d0a['push'](_0x47d84e),_0x5ae27f||(_0x5ae27f=!0x0,setTimeout(()=>{const _0x39678b=_0x2b52;_0x512d0a[_0x39678b(0x11b)](_0x2b84bc=>_0x2b84bc()),_0x512d0a=[],_0x5ae27f=!0x1;}));};};let _0x4b3037=class extends _0x4f4b1a[_0x6b9591(0x114)]{constructor(_0x338164,_0x343e08,_0x51b33c,_0xf9924a,_0x47e2bf,_0x583932,_0x457252,_0x597d26){const _0x3d6ce=_0x6b9591;super(),_0x54ef86(this,_0x3d6ce(0x2a5),!0x1),_0x54ef86(this,_0x3d6ce(0x167),!0x1),_0x54ef86(this,'_cursorInfo$',new _0x4c8fcf[(_0x3d6ce(0x231))](new Map())),_0x54ef86(this,_0x3d6ce(0x350),this[_0x3d6ce(0x337)][_0x3d6ce(0x303)]()),_0x54ef86(this,_0x3d6ce(0x23f),new _0x4c8fcf[(_0x3d6ce(0x231))]([])),_0x54ef86(this,'roomMembers$',this[_0x3d6ce(0x23f)][_0x3d6ce(0x342)](_0x4c8fcf[_0x3d6ce(0x170)](_0x132f15))),_0x54ef86(this,_0x3d6ce(0x290),_0x4f4b1a['debounce']((_0x211e61,_0x27a913)=>{const _0x39886a=_0x3d6ce,_0x255309={'eventID':_0x4afe31[_0x39886a(0x222)][_0x39886a(0x294)],'data':{'unitID':this['unitID'],'memberID':this[_0x39886a(0x254)]['getMemberID'](),'selection':_0x2f57c5[_0x39886a(0x1c2)](_0x211e61,_0x27a913[_0x39886a(0x1a9)])}};this['_session'][_0x39886a(0x389)](_0x255309,this[_0x39886a(0x30b)]);},_0x288a2e)),(this['unitID']=_0x338164,this[_0x3d6ce(0x254)]=_0x343e08,this[_0x3d6ce(0x15f)]=_0x51b33c,this[_0x3d6ce(0x1a7)]=_0xf9924a,this[_0x3d6ce(0x2c5)]=_0x47e2bf,this[_0x3d6ce(0x330)]=_0x583932,this[_0x3d6ce(0x360)]=_0x457252,this['_refRangeService']=_0x597d26);}get['cursorInfo'](){const _0x23472a=_0x6b9591;return this[_0x23472a(0x337)]['getValue']();}get[_0x6b9591(0xf9)](){const _0x557e84=_0x6b9591;return this[_0x557e84(0x23f)][_0x557e84(0x32f)]();}[_0x6b9591(0x161)](){const _0x20c0d6=_0x6b9591;super[_0x20c0d6(0x161)](),this[_0x20c0d6(0x337)][_0x20c0d6(0x1a5)](new Map()),this[_0x20c0d6(0x337)]['complete'](),this[_0x20c0d6(0x23f)]['next']([]),this[_0x20c0d6(0x23f)][_0x20c0d6(0x327)]();}[_0x6b9591(0x147)](){const _0x25c894=_0x6b9591;this[_0x25c894(0x167)]||(this[_0x25c894(0x167)]=!0x0,this[_0x25c894(0x254)]['sessionStatus$']['pipe'](_0x4c8fcf[_0x25c894(0x375)](this['dispose$']))[_0x25c894(0x187)](_0x5db2ea=>{const _0x3ab8de=_0x25c894;_0x5db2ea===_0x353bdb[_0x3ab8de(0x29a)][_0x3ab8de(0x133)]?this[_0x3ab8de(0x101)]():this[_0x3ab8de(0x218)]();}),this[_0x25c894(0x254)][_0x25c894(0x38b)][_0x25c894(0x342)](_0x4c8fcf[_0x25c894(0x375)](this[_0x25c894(0x311)]))[_0x25c894(0x187)](_0x4b2511=>{const _0x3bcb0a=_0x25c894,_0x52621c=_0x4b2511['eventID'];_0x52621c===_0x4afe31[_0x3bcb0a(0x222)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x4b2511),_0x52621c===_0x4afe31[_0x3bcb0a(0x222)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x4b2511);}),this[_0x25c894(0x166)](),this[_0x25c894(0x132)](this[_0x25c894(0x360)]['onCommandExecuted'](_0x5d0e1d=>{const _0x304b75=_0x25c894;if(this[_0x304b75(0x2a5)]&&_0x5d0e1d['id']===_0x54d6f1[_0x304b75(0x212)]['id']&&_0x5d0e1d[_0x304b75(0x17c)]['unitId']===this[_0x304b75(0x30b)]){const _0x4ca0cb=_0x5d0e1d[_0x304b75(0x17c)];this[_0x304b75(0x290)](_0x4ca0cb[_0x304b75(0x28f)],_0x4ca0cb[_0x304b75(0x12a)][0x0]);}})));}[_0x6b9591(0x37a)](_0x21c1e9){const _0xdb4a88=_0x6b9591;var _0xb7e74f,_0x58ff26;const {memberID:_0x494d47,selection:_0x5ef4f7}=_0x21c1e9[_0xdb4a88(0x1e7)],{sheetName:_0x4d3eaf,range:_0x4780fc}=_0x2f57c5['deserializeRangeWithSheet'](_0x5ef4f7),_0x1d1a0f={'name':(_0x58ff26=(_0xb7e74f=this[_0xdb4a88(0x2c5)]['getMember'](this['unitID'],_0x494d47))==null?void 0x0:_0xb7e74f[_0xdb4a88(0x1b1)])!=null?_0x58ff26:_0xdb4a88(0x180),'range':this['_getMergeRange'](_0x4d3eaf,_0x4780fc),'sheetID':_0x4d3eaf,'color':this[_0xdb4a88(0x1a7)][_0xdb4a88(0x343)](_0x494d47),'selection':_0x5ef4f7},_0x5b2bf9=this[_0xdb4a88(0x1ae)];_0x5b2bf9[_0xdb4a88(0x1dd)](_0x494d47,_0x1d1a0f),this[_0xdb4a88(0x337)][_0xdb4a88(0x1a5)](_0x5b2bf9);}[_0x6b9591(0x1f4)](_0x531d88){const _0x2428f8=_0x6b9591,{memberID:_0x47ee04}=_0x531d88['data'],_0x38743c=this[_0x2428f8(0x1ae)];_0x38743c['delete'](_0x47ee04),this[_0x2428f8(0x337)][_0x2428f8(0x1a5)](_0x38743c);}[_0x6b9591(0x216)](_0x3eea87,_0x331aa1){const _0x4bd698=_0x6b9591;var _0x446dc5,_0xbe54c7;const _0x5a7139=(_0xbe54c7=(_0x446dc5=this['_univerInstanceService'][_0x4bd698(0x2e6)](this[_0x4bd698(0x30b)]))==null?void 0x0:_0x446dc5['getSheetBySheetId'](_0x3eea87))==null?void 0x0:_0xbe54c7['getMergeData']();return(_0x5a7139==null?void 0x0:_0x5a7139['find'](_0x3c7d79=>_0x4f4b1a[_0x4bd698(0x387)][_0x4bd698(0x1cc)](_0x3c7d79,_0x331aa1)))||_0x331aa1;}[_0x6b9591(0x166)](){const _0x50c34a=_0x6b9591,_0x71ec8f=new _0x4f4b1a[(_0x50c34a(0x390))](),_0x4aee41=_0x1b9b44(),_0x3cfd52=()=>{const _0x13b607=_0x50c34a;_0x71ec8f[_0x13b607(0x161)]();const _0x3a1450=(_0x3260b2,_0x5ad05f,_0x44170c,_0x17e8bb)=>{const _0x26e3a9=_0x13b607;let _0x59f30b=[];switch(_0x3260b2['id']){case _0x54d6f1[_0x26e3a9(0x36e)][_0x26e3a9(0x227)]:{_0x59f30b=_0x54d6f1[_0x26e3a9(0x249)](_0x3260b2,_0x17e8bb);break;}case _0x54d6f1[_0x26e3a9(0x36e)][_0x26e3a9(0x12b)]:{_0x59f30b=_0x54d6f1[_0x26e3a9(0x35f)](_0x3260b2,_0x17e8bb);break;}case _0x54d6f1[_0x26e3a9(0x36e)]['InsertColCommandId']:{_0x59f30b=_0x54d6f1[_0x26e3a9(0x279)](_0x3260b2,_0x17e8bb);break;}case _0x54d6f1[_0x26e3a9(0x36e)][_0x26e3a9(0x2b1)]:{_0x59f30b=_0x54d6f1[_0x26e3a9(0x1a3)](_0x3260b2,_0x17e8bb);break;}case _0x54d6f1['EffectRefRangId'][_0x26e3a9(0x2f7)]:{_0x59f30b=_0x54d6f1['handleInsertRangeMoveRight'](_0x3260b2,_0x17e8bb);break;}case _0x54d6f1[_0x26e3a9(0x36e)][_0x26e3a9(0x243)]:{_0x59f30b=_0x54d6f1[_0x26e3a9(0x381)](_0x3260b2,_0x17e8bb);break;}case _0x54d6f1['EffectRefRangId']['MoveRangeCommandId']:{_0x59f30b=_0x54d6f1['handleMoveRange'](_0x3260b2,_0x17e8bb);break;}case _0x54d6f1['EffectRefRangId'][_0x26e3a9(0x2d9)]:{_0x59f30b=_0x54d6f1[_0x26e3a9(0x35b)](_0x3260b2,_0x17e8bb);break;}case _0x54d6f1[_0x26e3a9(0x36e)]['RemoveRowCommandId']:{_0x59f30b=_0x54d6f1['handleIRemoveRow'](_0x3260b2,_0x17e8bb);break;}}const _0x9403a=_0x54d6f1[_0x26e3a9(0x1ce)](_0x59f30b,_0x17e8bb),_0x544f30=this[_0x26e3a9(0x1ae)][_0x26e3a9(0x2b0)](_0x5ad05f);if(_0x544f30&&_0x9403a){const _0x484832={..._0x544f30,'range':_0x9403a};this[_0x26e3a9(0x1ae)][_0x26e3a9(0x1dd)](_0x5ad05f,_0x484832),_0x4aee41(()=>{const _0x484221=_0x26e3a9,_0x16f4e5=this['_refRangeService']['registerRefRange'](_0x9403a,_0x375f92=>(_0x16f4e5['dispose'](),_0x3a1450(_0x375f92,_0x5ad05f,_0x44170c,_0x9403a)));_0x71ec8f[_0x484221(0x2c2)](_0x16f4e5);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x13b607(0x11b)]((_0x48cfa6,_0x426125)=>{const _0x3c8085=_0x13b607,{range:_0x956db2,sheetID:_0x54b64a}=_0x48cfa6,_0x8f1669=this[_0x3c8085(0x1c1)][_0x3c8085(0x2e2)](_0x956db2,_0x186e60=>(_0x8f1669[_0x3c8085(0x161)](),_0x3a1450(_0x186e60,_0x426125,_0x54b64a,_0x956db2)));_0x71ec8f['add'](_0x8f1669);});};this[_0x50c34a(0x132)](_0x4f4b1a['toDisposable'](this['_cursorInfo$'][_0x50c34a(0x187)](()=>{_0x3cfd52();})));}[_0x6b9591(0x101)](){const _0x16a1f7=_0x6b9591;var _0xbc8d7a,_0x4bbc05;if(this[_0x16a1f7(0x2a5)]=!0x0,((_0xbc8d7a=this['_univerInstanceService'][_0x16a1f7(0x15e)]())==null?void 0x0:_0xbc8d7a[_0x16a1f7(0x27c)]())!==this[_0x16a1f7(0x30b)])return;const _0x357fe4=(_0x4bbc05=this[_0x16a1f7(0x15f)][_0x16a1f7(0x2b0)](_0x54d6f1[_0x16a1f7(0xfc)])[_0x16a1f7(0x1b3)]())==null?void 0x0:_0x4bbc05[0x0],_0x323530=this[_0x16a1f7(0x330)][_0x16a1f7(0x1fa)](_0x4f4b1a[_0x16a1f7(0x298)][_0x16a1f7(0x274)])['getActiveSheet']();_0x357fe4&&_0x323530&&this['_updateLocalCursor'](_0x323530['getSheetId'](),_0x357fe4);}[_0x6b9591(0x218)](){const _0x4dd53f=_0x6b9591;this[_0x4dd53f(0x2a5)]=!0x1;}};_0x4b3037=_0x4c1fed([_0x197414(0x2,_0x4f4b1a[_0x6b9591(0x22e)](_0x4f4b1a[_0x6b9591(0x172)])),_0x197414(0x3,_0x4f4b1a[_0x6b9591(0x22e)](_0x3e1aeb)),_0x197414(0x4,_0x4f4b1a[_0x6b9591(0x22e)](_0x353bdb['MemberService'])),_0x197414(0x5,_0x4f4b1a[_0x6b9591(0x17b)]),_0x197414(0x6,_0x4f4b1a[_0x6b9591(0x174)]),_0x197414(0x7,_0x4f4b1a[_0x6b9591(0x22e)](_0x54d6f1[_0x6b9591(0x344)]))],_0x4b3037);var _0x33eae3=Object[_0x6b9591(0x158)],_0x33c320=(_0xfbbc0d,_0x13fbfd,_0x557b15,_0x1b472f)=>{const _0x572223=_0x6b9591;for(var _0x49e52e=_0x1b472f>0x1?void 0x0:_0x1b472f?_0x33eae3(_0x13fbfd,_0x557b15):_0x13fbfd,_0xed82a1=_0xfbbc0d[_0x572223(0x1cb)]-0x1,_0x293bd4;_0xed82a1>=0x0;_0xed82a1--)(_0x293bd4=_0xfbbc0d[_0xed82a1])&&(_0x49e52e=_0x293bd4(_0x49e52e)||_0x49e52e);return _0x49e52e;},_0x581db0=(_0x4b19a9,_0x159514)=>(_0x50b36d,_0x433c23)=>_0x159514(_0x50b36d,_0x433c23,_0x4b19a9);let _0x24a51e=class extends _0x4f4b1a['RxDisposable']{constructor(_0x2283e6,_0x1a3350,_0x439411){const _0x4f30ae=_0x6b9591;super(),_0x54ef86(this,'_entities',new Map()),_0x54ef86(this,_0x4f30ae(0x2ef),new _0x4c8fcf[(_0x4f30ae(0x1b6))]()),(this['_univerInstanceService']=_0x2283e6,this[_0x4f30ae(0x15f)]=_0x1a3350,this[_0x4f30ae(0x1cf)]=_0x439411,this['_init']());}[_0x6b9591(0x161)](){const _0x11932d=_0x6b9591;super['dispose'](),this['_entityInit$'][_0x11932d(0x327)](),this[_0x11932d(0x340)][_0x11932d(0x11b)](_0x2b2feb=>_0x2b2feb['dispose']());}[_0x6b9591(0x2c3)](_0x93028){const _0x17d9f7=_0x6b9591;return this[_0x17d9f7(0x340)][_0x17d9f7(0x164)](_0x93028)?this[_0x17d9f7(0x340)]['get'](_0x93028)[_0x17d9f7(0x350)]:this[_0x17d9f7(0x2ef)][_0x17d9f7(0x342)](_0x4c8fcf[_0x17d9f7(0x26e)](_0x2779c9=>_0x2779c9[_0x17d9f7(0x30b)]===_0x93028),_0x4c8fcf[_0x17d9f7(0x358)](_0x216597=>_0x216597['cursorInfo$']));}[_0x6b9591(0x167)](){const _0x327626=_0x6b9591;this[_0x327626(0x330)][_0x327626(0x2fd)](_0x4f4b1a[_0x327626(0x298)][_0x327626(0x274)])[_0x327626(0x342)](_0x4c8fcf['takeUntil'](this[_0x327626(0x311)]))[_0x327626(0x187)](async _0x454feb=>{const _0x2b82b2=_0x327626,_0x933012=_0x454feb[_0x2b82b2(0x27c)](),_0x2c9a4c=await this[_0x2b82b2(0x275)](_0x933012);this[_0x2b82b2(0x2ef)][_0x2b82b2(0x1a5)](_0x2c9a4c),this[_0x2b82b2(0x340)][_0x2b82b2(0x1dd)](_0x933012,_0x2c9a4c);}),this[_0x327626(0x330)]['getTypeOfUnitAdded$'](_0x4f4b1a['UniverInstanceType']['UNIVER_DOC'])[_0x327626(0x342)](_0x4c8fcf[_0x327626(0x375)](this[_0x327626(0x311)]))[_0x327626(0x342)](_0x4c8fcf['filter'](_0xf8473d=>!_0xf8473d[_0x327626(0x27c)]()[_0x327626(0x240)]('__')))['subscribe'](async _0x162933=>{const _0x1349fb=_0x327626,_0x5d4002=_0x162933[_0x1349fb(0x27c)](),_0x27e24b=await this['_startDocCollabCursor'](_0x5d4002);this[_0x1349fb(0x2ef)]['next'](_0x27e24b),this[_0x1349fb(0x340)]['set'](_0x5d4002,_0x27e24b);}),_0x4c8fcf[_0x327626(0x315)](this[_0x327626(0x330)][_0x327626(0x2d2)](_0x4f4b1a[_0x327626(0x298)][_0x327626(0x34b)]),this[_0x327626(0x330)][_0x327626(0x2d2)](_0x4f4b1a['UniverInstanceType'][_0x327626(0x274)]))[_0x327626(0x342)](_0x4c8fcf['takeUntil'](this['dispose$']))[_0x327626(0x187)](_0x25d1e1=>{const _0x1b1003=_0x327626,_0x1ed0be=_0x25d1e1[_0x1b1003(0x27c)](),_0x43c6fc=this[_0x1b1003(0x340)][_0x1b1003(0x2b0)](_0x1ed0be);_0x43c6fc&&(_0x43c6fc[_0x1b1003(0x161)](),this['_entities'][_0x1b1003(0x1df)](_0x1ed0be));});}async[_0x6b9591(0x275)](_0x28750d){const _0x5844e7=_0x6b9591,_0x36d588=await this[_0x5844e7(0x1cf)][_0x5844e7(0x1b8)](_0x28750d),_0x1036bd=this[_0x5844e7(0x15f)]['createInstance'](_0x4b3037,_0x28750d,_0x36d588);return _0x1036bd['init'](),_0x1036bd;}async['_startDocCollabCursor'](_0x42c578){const _0x54216d=_0x6b9591,_0xd7f787=await this[_0x54216d(0x1cf)][_0x54216d(0x1b8)](_0x42c578),_0x20c21e=this[_0x54216d(0x15f)]['createInstance'](_0x3ed204,_0x42c578,_0xd7f787);return _0x20c21e[_0x54216d(0x147)](),_0x20c21e;}};_0x24a51e=_0x33c320([_0x581db0(0x0,_0x4f4b1a[_0x6b9591(0x17b)]),_0x581db0(0x1,_0x4f4b1a[_0x6b9591(0x22e)](_0x4f4b1a['Injector'])),_0x581db0(0x2,_0x4f4b1a[_0x6b9591(0x22e)](_0x353bdb[_0x6b9591(0x1bf)]))],_0x24a51e);const _0x108714=0x14,_0x599f09=0xc8,_0x15e021=0x4,_0x27c390=0x5;function _0x20e116(_0x40092b,_0x548bd5){const _0x89bbb0=_0x6b9591;let {radius:_0x914e9a,width:_0x19db86,height:_0x19c307}=_0x548bd5;_0x914e9a=_0x914e9a!=null?_0x914e9a:0x0,_0x19db86=_0x19db86!=null?_0x19db86:0x1e,_0x19c307=_0x19c307!=null?_0x19c307:0x1e;let _0x2b3fea=0x0,_0x1bbfc9=0x0,_0x164ec9=0x0;_0x2b3fea=_0x1bbfc9=_0x164ec9=Math[_0x89bbb0(0x31f)](_0x914e9a,_0x19db86/0x2,_0x19c307/0x2),_0x40092b[_0x89bbb0(0x2ec)](),_0x40092b[_0x89bbb0(0x151)](_0x2b3fea,0x0),_0x40092b[_0x89bbb0(0x192)](_0x19db86-_0x1bbfc9,0x0),_0x40092b[_0x89bbb0(0x1e3)](_0x19db86-_0x1bbfc9,_0x1bbfc9,_0x1bbfc9,Math['PI']*0x3/0x2,0x0,!0x1),_0x40092b['lineTo'](_0x19db86,_0x19c307-_0x164ec9),_0x40092b[_0x89bbb0(0x1e3)](_0x19db86-_0x164ec9,_0x19c307-_0x164ec9,_0x164ec9,0x0,Math['PI']/0x2,!0x1),_0x40092b[_0x89bbb0(0x192)](0x0,_0x19c307),_0x40092b[_0x89bbb0(0x192)](0x0,_0x2b3fea),_0x40092b[_0x89bbb0(0x1e3)](_0x2b3fea,_0x2b3fea,_0x2b3fea,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x40092b[_0x89bbb0(0x21c)](),_0x548bd5[_0x89bbb0(0x1b0)]&&(_0x40092b[_0x89bbb0(0x286)](),_0x40092b['fillStyle']=_0x548bd5[_0x89bbb0(0x1b0)],_0x548bd5[_0x89bbb0(0x14b)]===_0x89bbb0(0x145)?_0x40092b[_0x89bbb0(0x1b0)](_0x89bbb0(0x145)):_0x40092b[_0x89bbb0(0x1b0)](),_0x40092b[_0x89bbb0(0x153)]());}class _0x4d674a extends _0x4be59a['Shape']{constructor(_0x32d246,_0x2d7d22){const _0x15b8c8=_0x6b9591;super(_0x32d246,_0x2d7d22),_0x54ef86(this,_0x15b8c8(0x168)),_0x54ef86(this,_0x15b8c8(0x383)),(this[_0x15b8c8(0x168)]=_0x2d7d22==null?void 0x0:_0x2d7d22[_0x15b8c8(0x168)],this[_0x15b8c8(0x383)]=_0x2d7d22==null?void 0x0:_0x2d7d22[_0x15b8c8(0x383)]);}static[_0x6b9591(0x2db)](_0x3d1f2f,_0x454a7f){const _0x4f0a52=_0x6b9591,{text:_0x13bdff,color:_0x5a33c8}=_0x454a7f;_0x3d1f2f[_0x4f0a52(0x286)](),_0x3d1f2f[_0x4f0a52(0x1ac)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x40e08c=_0x3d1f2f[_0x4f0a52(0x2a3)](_0x13bdff)[_0x4f0a52(0x209)],_0x4fecd4=Math[_0x4f0a52(0x31f)](_0x40e08c+0x2*_0x15e021,_0x599f09);_0x20e116(_0x3d1f2f,{'height':_0x108714,'radius':0x4,'width':_0x4fecd4,'fill':_0x5a33c8}),_0x3d1f2f[_0x4f0a52(0x2ca)]=_0x4f0a52(0x1bc);const _0xf9e1f6=_0x15e021,_0x44a98d=_0x108714-_0x27c390,_0x5ca4de=_0x599f09-0x2*_0x15e021;if(_0x40e08c>_0x5ca4de){let _0xf881e3='',_0x580c32=0x0;for(const _0x3e825e of _0x13bdff){const _0x58edd8=_0x3d1f2f[_0x4f0a52(0x2a3)](_0x3e825e)[_0x4f0a52(0x209)];if(_0x580c32+_0x58edd8<=_0x5ca4de-_0x3d1f2f['measureText'](_0x4f0a52(0x2ba))[_0x4f0a52(0x209)])_0xf881e3+=_0x3e825e,_0x580c32+=_0x58edd8;else{_0xf881e3+='...';break;}}_0x3d1f2f[_0x4f0a52(0x225)](_0xf881e3,_0xf9e1f6,_0x44a98d);}else _0x3d1f2f[_0x4f0a52(0x225)](_0x13bdff,_0xf9e1f6,_0x44a98d);_0x3d1f2f[_0x4f0a52(0x153)]();}[_0x6b9591(0x2f6)](_0x3d87e6){const _0x35f3cc=_0x6b9591;_0x4d674a[_0x35f3cc(0x2db)](_0x3d87e6,this);}}const _0x5c9aa8=_0x6b9591(0x175),_0xcc4423=_0x6b9591(0x38d),_0x1410e6=_0x6b9591(0x35c),_0xd9205f=0x6,_0x4f2b5f=1.5,_0xe02463=0x4,_0x17d7f4=1.5,_0xc18c49=_0x6b9591(0x325);class _0x5d20a1{constructor(_0x117924,_0x1448c0,_0x358c9f,_0x57257d){const _0x1bbcd9=_0x6b9591;_0x54ef86(this,_0x1bbcd9(0x232),[]),_0x54ef86(this,_0x1bbcd9(0x27b),null),_0x54ef86(this,_0x1bbcd9(0x1be),null),_0x54ef86(this,_0x1bbcd9(0x234),null),_0x54ef86(this,_0x1bbcd9(0x1a8),null),_0x54ef86(this,_0x1bbcd9(0x163),null),(this[_0x1bbcd9(0x1b5)]=_0x117924,this[_0x1bbcd9(0x345)]=_0x1448c0,this[_0x1bbcd9(0x2c4)]=_0x358c9f,this[_0x1bbcd9(0x292)]=_0x57257d,this['_render']());}set['_hover'](_0x41b296){const _0x4ac4df=_0x6b9591;_0x41b296?(this[_0x4ac4df(0x234)]&&this[_0x4ac4df(0x234)]['hide'](),this['_textBubble']&&this['_textBubble'][_0x4ac4df(0x219)]()):(this[_0x4ac4df(0x234)]&&this[_0x4ac4df(0x234)][_0x4ac4df(0x219)](),this[_0x4ac4df(0x1be)]&&this['_textBubble']['hide']());}[_0x6b9591(0x161)](){const _0x4bc362=_0x6b9591;for(const _0x96a93c of this[_0x4bc362(0x232)])_0x96a93c[_0x4bc362(0x161)]();this[_0x4bc362(0x1be)]&&this[_0x4bc362(0x1be)]['dispose'](),this['_anchorDot']&&this[_0x4bc362(0x234)][_0x4bc362(0x161)](),this[_0x4bc362(0x27b)]&&this[_0x4bc362(0x27b)]['dispose'](),this[_0x4bc362(0x163)]&&this[_0x4bc362(0x163)]();}['_render'](){const _0x1718d1=_0x6b9591;var _0x33fdda;const {_docSkeleton:_0x17377e,_document:_0x412123}=this,{color:_0x44fd87,name:_0x47bde8,ranges:_0x2782a6}=this['_cursor'],_0x3a1812=_0x412123[_0x1718d1(0x165)](),{docsLeft:_0x1e640d,docsTop:_0x90a5b3}=_0x3a1812,_0x35abbc=new _0x2a96f2['NodePositionConvertToCursor'](_0x3a1812,_0x17377e);for(const {startOffset:_0xcded61,endOffset:_0x48bf36,rangeType:_0x5599f0,segmentId:_0xaf4ddb,segmentPage:_0x2d1a45,collapsed:_0x14bbc9,isActive:_0x382214}of _0x2782a6){const _0x82a926=_0x17377e[_0x1718d1(0x217)](_0xcded61,!0x0,_0xaf4ddb,_0x2d1a45);let _0x49f37e=_0x17377e[_0x1718d1(0x217)](_0x48bf36,!0x0,_0xaf4ddb,_0x2d1a45);if(_0x49f37e==null&&(_0x49f37e=_0x17377e[_0x1718d1(0x217)](_0x48bf36-0x1,!0x1,_0xaf4ddb,_0x2d1a45)),_0x382214){const {contentBoxPointGroup:_0x2ab2c1}=_0x35abbc[_0x1718d1(0x35a)](_0x49f37e,_0x49f37e);if(_0x2ab2c1['length']===0x0)continue;this[_0x1718d1(0x1f5)](_0x44fd87,_0x2ab2c1,_0x1e640d,_0x90a5b3,_0x47bde8),this[_0x1718d1(0x163)]=this[_0x1718d1(0x2c8)]();}if(_0x82a926&&_0x49f37e){if(_0x5599f0===_0x4f4b1a[_0x1718d1(0x2fe)]['RECT']){const _0x1dc841=new _0x2a96f2['NodePositionConvertToRectRange'](_0x3a1812,_0x17377e),{pointGroup:_0x5e06fa}=(_0x33fdda=_0x1dc841[_0x1718d1(0x35a)](_0x82a926,_0x49f37e))!=null?_0x33fdda:{};if(_0x5e06fa==null||_0x5e06fa['length']===0x0)continue;this[_0x1718d1(0x245)](_0x44fd87,_0x5e06fa,_0x1e640d,_0x90a5b3);}else{if(!_0x14bbc9){const {borderBoxPointGroup:_0x54848f}=_0x35abbc[_0x1718d1(0x35a)](_0x82a926,_0x49f37e);if(_0x54848f[_0x1718d1(0x1cb)]===0x0)continue;this[_0x1718d1(0x177)](_0x44fd87,_0x54848f,_0x1e640d,_0x90a5b3);}}}}}[_0x6b9591(0x1f5)](_0x2629f5,_0x11ed6d,_0x3fba6e,_0x1342ac,_0xe48dbf){const _0x36e43e=_0x6b9591,_0x372682=this[_0x36e43e(0x2b9)](_0x11ed6d),{left:_0x39a8b7,top:_0xc4b58d,height:_0x4dcdc7}=_0x372682,_0x29fe24=this[_0x36e43e(0x34a)](),_0x1457f4=_0x17d7f4/_0x29fe24,_0x40e619=new _0x4be59a[(_0x36e43e(0x14d))](_0x5c9aa8+_0x4f4b1a[_0x36e43e(0x20c)][_0x36e43e(0x26b)](_0xd9205f),{'left':_0x39a8b7+_0x3fba6e-_0x1457f4,'top':_0xc4b58d+_0x1342ac,'height':_0x4dcdc7,'width':_0x4f2b5f,'fill':_0x2629f5||_0x4be59a['getColor'](_0x4f4b1a[_0x36e43e(0x355)][_0x36e43e(0x21a)],0x0),'strokeWidth':_0x1457f4,'stroke':_0xc18c49,'evented':!0x0});this[_0x36e43e(0x27b)]=_0x40e619,this['_scene']['addObject'](_0x40e619,_0x2a96f2[_0x36e43e(0x34e)]);const _0x4e7c62=new _0x4be59a[(_0x36e43e(0x14d))](_0x5c9aa8+_0x4f4b1a[_0x36e43e(0x20c)][_0x36e43e(0x26b)](_0xd9205f),{'left':_0x39a8b7+_0x3fba6e-_0x1457f4,'top':_0xc4b58d+_0x1342ac-_0xe02463/0x2,'height':_0xe02463,'width':_0xe02463,'fill':_0x2629f5||_0x4be59a[_0x36e43e(0x2af)](_0x4f4b1a['COLORS'][_0x36e43e(0x21a)],0x0),'strokeWidth':0x0,'stroke':_0x2629f5||_0x4be59a[_0x36e43e(0x2af)](_0x4f4b1a[_0x36e43e(0x355)][_0x36e43e(0x21a)],0x0),'evented':!0x1});this[_0x36e43e(0x234)]=_0x4e7c62,this[_0x36e43e(0x345)][_0x36e43e(0x1ef)](_0x4e7c62,_0x2a96f2['TEXT_RANGE_LAYER_INDEX']);const _0x437cf8=new _0x4d674a(_0x5c9aa8+_0x4f4b1a['Tools'][_0x36e43e(0x26b)](_0xd9205f),{'left':_0x39a8b7+_0x3fba6e-_0x1457f4,'top':_0xc4b58d+_0x1342ac-_0x108714,'text':_0xe48dbf,'color':_0x2629f5});this['_textBubble']=_0x437cf8,this[_0x36e43e(0x345)][_0x36e43e(0x1ef)](_0x437cf8,_0x2a96f2[_0x36e43e(0x34e)]),this[_0x36e43e(0x16c)]=!0x1;}[_0x6b9591(0x2c8)](){const _0xfc21db=_0x6b9591,_0x5c7d25=this[_0xfc21db(0x27b)][_0xfc21db(0x1e5)]['subscribeEvent'](()=>{const _0x49e2f0=_0xfc21db;this[_0x49e2f0(0x16c)]=!0x0;}),_0x32e75b=this[_0xfc21db(0x27b)][_0xfc21db(0x362)][_0xfc21db(0x300)](()=>{const _0x30ea4f=_0xfc21db;this[_0x30ea4f(0x1a8)]&&clearTimeout(this[_0x30ea4f(0x1a8)]),this[_0x30ea4f(0x1a8)]=setTimeout(()=>{const _0x2f5175=_0x30ea4f;this[_0x2f5175(0x16c)]=!0x1;},0x7d0);});return()=>{const _0x39651b=_0xfc21db;_0x5c7d25[_0x39651b(0x334)](),_0x32e75b['unsubscribe']();};}[_0x6b9591(0x177)](_0xf86021,_0x36432f,_0x117ae6,_0x3318ef){const _0x2620a5=_0x6b9591,_0x24a4ee=new _0x4f4b1a[(_0x2620a5(0x2d0))](_0xf86021)[_0x2620a5(0x31a)](0.2)[_0x2620a5(0x224)](),_0x57415c=new _0x4be59a[(_0x2620a5(0x198))](_0xcc4423+_0x4f4b1a[_0x2620a5(0x20c)][_0x2620a5(0x26b)](_0xd9205f),{'pointsGroup':_0x36432f,'fill':_0x24a4ee||_0x4be59a[_0x2620a5(0x2af)](_0x4f4b1a[_0x2620a5(0x355)]['black'],0.2),'left':_0x117ae6,'top':_0x3318ef,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2620a5(0x232)][_0x2620a5(0x121)](_0x57415c),this[_0x2620a5(0x345)]['addObject'](_0x57415c,_0x2a96f2[_0x2620a5(0x34e)]);}[_0x6b9591(0x245)](_0x3d2650,_0x18f276,_0x5a2dc8,_0x384340){const _0x15b83f=_0x6b9591,_0x3d7b09=new _0x4f4b1a[(_0x15b83f(0x2d0))](_0x3d2650)[_0x15b83f(0x31a)](0.2)[_0x15b83f(0x224)](),_0x59dc2e=new _0x4be59a['RegularPolygon'](_0x1410e6+_0x4f4b1a['Tools'][_0x15b83f(0x26b)](_0xd9205f),{'pointsGroup':_0x18f276,'fill':_0x3d7b09||_0x4be59a[_0x15b83f(0x2af)](_0x4f4b1a[_0x15b83f(0x355)]['black'],0.2),'left':_0x5a2dc8,'top':_0x384340,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x15b83f(0x232)][_0x15b83f(0x121)](_0x59dc2e),this[_0x15b83f(0x345)][_0x15b83f(0x1ef)](_0x59dc2e,_0x2a96f2[_0x15b83f(0x34e)]);}['_getAnchorBounding'](_0x529766){const _0x26d2f9=_0x529766[0x0],_0x4e8701=_0x26d2f9[0x0],_0x2723f8=_0x26d2f9[0x2],{x:_0x182da2,y:_0x358beb}=_0x4e8701,{x:_0x5e898d,y:_0x49ddfc}=_0x2723f8;return{'left':_0x182da2,'top':_0x358beb,'width':_0x5e898d-_0x182da2,'height':_0x49ddfc-_0x358beb};}[_0x6b9591(0x34a)](){const _0x2af7d3=_0x6b9591,{scaleX:_0x77e229,scaleY:_0x4f071a}=this['_scene'][_0x2af7d3(0x17e)]();return Math[_0x2af7d3(0x195)](_0x77e229,_0x4f071a);}}var _0x5d1ccf=Object[_0x6b9591(0x158)],_0xf17665=(_0x42d274,_0x2ef2fa,_0x3b9e1e,_0x2ed186)=>{const _0x48ad4a=_0x6b9591;for(var _0x3ae2ce=_0x2ed186>0x1?void 0x0:_0x2ed186?_0x5d1ccf(_0x2ef2fa,_0x3b9e1e):_0x2ef2fa,_0x49003a=_0x42d274[_0x48ad4a(0x1cb)]-0x1,_0x7ff7ce;_0x49003a>=0x0;_0x49003a--)(_0x7ff7ce=_0x42d274[_0x49003a])&&(_0x3ae2ce=_0x7ff7ce(_0x3ae2ce)||_0x3ae2ce);return _0x3ae2ce;},_0xcbd8d4=(_0x165bb8,_0x382252)=>(_0x2f36c5,_0x175309)=>_0x382252(_0x2f36c5,_0x175309,_0x165bb8);let _0x3717cb=class extends _0x4f4b1a[_0x6b9591(0x114)]{constructor(_0x5c6596,_0x1e5f87,_0x2f3e88,_0x329721,_0xc9df18){const _0x29d6f5=_0x6b9591;super(),_0x54ef86(this,_0x29d6f5(0x348),[]),_0x54ef86(this,'_cursors',[]),(this[_0x29d6f5(0x1d1)]=_0x5c6596,this['_docSkeletonManagerService']=_0x1e5f87,this['_collabCursorController']=_0x2f3e88,this[_0x29d6f5(0x360)]=_0x329721,this[_0x29d6f5(0x18f)]=_0xc9df18,this[_0x29d6f5(0x167)]());}['_init'](){const _0xb19820=_0x6b9591,_0x183a39=this[_0xb19820(0x1d1)][_0xb19820(0x248)],_0x4fccfe=this[_0xb19820(0x2ae)];this[_0xb19820(0x132)](_0x4c8fcf[_0xb19820(0x1dc)]([this[_0xb19820(0x14e)]['getCollabCursors$'](_0x183a39),this[_0xb19820(0x18f)]['currentTheme$']])[_0xb19820(0x342)](_0x1feca5[_0xb19820(0x1b7)](([_0x57d745,_0x3724ab])=>({'skeleton':_0x4fccfe['getSkeleton'](),'cursors':[..._0x57d745[_0xb19820(0x301)]()]['flatMap'](_0xdb093=>({..._0xdb093,'color':this[_0xb19820(0x18f)][_0xb19820(0x23d)](_0xdb093[_0xb19820(0x168)])}))})))[_0xb19820(0x187)](_0x23982b=>{const _0x19ad8b=_0xb19820;if(this[_0x19ad8b(0x32a)](),_0x23982b){const {skeleton:_0x5df966,cursors:_0x56e3d5}=_0x23982b;this['_updateCollabCursors'](_0x5df966,_0x56e3d5);}})),this[_0xb19820(0x321)](),this[_0xb19820(0x2de)]();}[_0x6b9591(0x148)](_0x534b64,_0x104cc3){const _0x412ca6=_0x6b9591,{scene:_0x53860c,mainComponent:_0x6a2b07}=this[_0x412ca6(0x1d1)],_0x514578=_0x104cc3['map'](_0x536e84=>new _0x5d20a1(_0x536e84,_0x53860c,_0x534b64,_0x6a2b07));this['_cursorShapes']=_0x514578,this[_0x412ca6(0x162)]=_0x104cc3;}[_0x6b9591(0x140)](){const _0x361547=_0x6b9591;this[_0x361547(0x32a)]();const {scene:_0x5cd5a8,mainComponent:_0x3a7621}=this[_0x361547(0x1d1)],_0x2ea0dd=this[_0x361547(0x2ae)][_0x361547(0x236)](),_0x3d142f=this[_0x361547(0x162)][_0x361547(0x1b7)](_0x25002c=>new _0x5d20a1(_0x25002c,_0x5cd5a8,_0x2ea0dd,_0x3a7621));this['_cursorShapes']=_0x3d142f;}[_0x6b9591(0x32a)](){const _0xec654=_0x6b9591;this[_0xec654(0x348)][_0xec654(0x11b)](_0x111604=>_0x111604['dispose']()),this['_cursorShapes']=[];}[_0x6b9591(0x2de)](){const _0x30d725=_0x6b9591,_0x5a13b5=[_0x2a96f2[_0x30d725(0x20f)]['id']];this[_0x30d725(0x132)](this[_0x30d725(0x360)][_0x30d725(0x33b)](_0x7e8ecc=>{const _0x13018b=_0x30d725;_0x5a13b5[_0x13018b(0x2d7)](_0x7e8ecc['id'])&&_0x7e8ecc[_0x13018b(0x17c)][_0x13018b(0x248)]===this[_0x13018b(0x1d1)]['unitId']&&this[_0x13018b(0x140)]();}));}[_0x6b9591(0x321)](){const _0x1c3599=_0x6b9591;this[_0x1c3599(0x132)](_0x4f4b1a[_0x1c3599(0x273)](this[_0x1c3599(0x1d1)]['engine'][_0x1c3599(0x1fe)])['pipe'](_0x1feca5['filter'](_0x5057f6=>_0x5057f6['type']===_0x4be59a[_0x1c3599(0x272)][_0x1c3599(0x193)]),_0x1feca5['throttleTime'](0x10))[_0x1c3599(0x187)](()=>{const _0x3dc11c=_0x1c3599;this[_0x3dc11c(0x140)]();}));}};_0x3717cb=_0xf17665([_0xcbd8d4(0x1,_0x4f4b1a[_0x6b9591(0x22e)](_0x49ed44[_0x6b9591(0x2d8)])),_0xcbd8d4(0x2,_0x4f4b1a[_0x6b9591(0x22e)](_0x24a51e)),_0xcbd8d4(0x3,_0x4f4b1a['ICommandService']),_0xcbd8d4(0x4,_0x4f4b1a[_0x6b9591(0x22e)](_0x4f4b1a['ThemeService']))],_0x3717cb);const _0xb4151f=0x1,_0x14c18f=1.5;class _0x20e8ad extends _0x4be59a[_0x6b9591(0x285)]{constructor(_0x4d5122,_0x5dc9a9){const _0x5a459c=_0x6b9591;super(_0x4d5122,_0x5dc9a9),_0x54ef86(this,'_color'),_0x54ef86(this,_0x5a459c(0x25b),!0x1),_0x54ef86(this,'_range'),_0x54ef86(this,'_name',''),_0x54ef86(this,_0x5a459c(0x1f7),_0x5a459c(0x221)),_0x54ef86(this,_0x5a459c(0x388)),(_0x5dc9a9&&this[_0x5a459c(0x160)](_0x5dc9a9),this['onPointerEnter$'][_0x5a459c(0x300)](()=>this[_0x5a459c(0x160)]({'hovered':!0x0})),this[_0x5a459c(0x362)][_0x5a459c(0x300)](()=>this[_0x5a459c(0x160)]({'hovered':!0x1})));}['setShapeProps'](_0x1e1d93){const _0x494d1f=_0x6b9591;var _0x5ea64e,_0x2d8946,_0x515adb,_0x2ceff5,_0x2b7647,_0xdf8f7a;this[_0x494d1f(0x20a)]=(_0x5ea64e=_0x1e1d93['color'])!=null?_0x5ea64e:this[_0x494d1f(0x20a)],this[_0x494d1f(0x25b)]=(_0x2d8946=_0x1e1d93[_0x494d1f(0x296)])!=null?_0x2d8946:this[_0x494d1f(0x25b)],this['_range']=(_0x515adb=_0x1e1d93[_0x494d1f(0x1a9)])!=null?_0x515adb:this[_0x494d1f(0x19f)],this[_0x494d1f(0x24e)]=(_0x2ceff5=_0x1e1d93[_0x494d1f(0x1b1)])!=null?_0x2ceff5:this[_0x494d1f(0x24e)],this['_labelPosition']=(_0x2b7647=_0x1e1d93[_0x494d1f(0x326)])!=null?_0x2b7647:this['_labelPosition'],this['_backgroundColor']=(_0xdf8f7a=_0x1e1d93[_0x494d1f(0x287)])!=null?_0xdf8f7a:this['_backgroundColor'],this['transformByState']({'width':_0x1e1d93[_0x494d1f(0x209)],'height':_0x1e1d93[_0x494d1f(0x380)]});}[_0x6b9591(0x1f8)](_0x4cb03a){const _0x1c8c15=_0x6b9591,{row:_0x5b5a34,column:_0x120566}=_0x4cb03a;if(_0x5b5a34>=this[_0x1c8c15(0x19f)][_0x1c8c15(0x320)]&&_0x5b5a34<=this[_0x1c8c15(0x19f)][_0x1c8c15(0x1c7)]&&_0x120566>=this[_0x1c8c15(0x19f)][_0x1c8c15(0x32e)]&&_0x120566<=this[_0x1c8c15(0x19f)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x1c8c15(0x160)]({'hovered':!0x1});}['triggerDblclick'](_0x5a5802){return!0x1;}['_draw'](_0x33b9b9){const _0x13e167=_0x6b9591;_0x4be59a[_0x13e167(0x14d)][_0x13e167(0x2db)](_0x33b9b9,{'width':this[_0x13e167(0x209)],'height':this[_0x13e167(0x380)],'strokeWidth':_0x14c18f,'stroke':this[_0x13e167(0x20a)],'evented':!0x1,'fill':this[_0x13e167(0x388)]}),this[_0x13e167(0x25b)]&&(_0x33b9b9[_0x13e167(0x286)](),_0x33b9b9[_0x13e167(0x2b2)](0x1,0x0,0x0,0x1,this[_0x13e167(0x209)],this[_0x13e167(0x1f7)]===_0x13e167(0x29d)?0x0:-0x14),_0x4d674a['drawWith'](_0x33b9b9,{'text':this[_0x13e167(0x24e)],'color':this[_0x13e167(0x20a)]}),_0x33b9b9[_0x13e167(0x153)]());}}var _0x4623cd=Object[_0x6b9591(0x158)],_0x59a4f6=(_0x3d5068,_0x2b9901,_0x4cf77e,_0x454586)=>{const _0x5b3fc4=_0x6b9591;for(var _0x5b8099=_0x454586>0x1?void 0x0:_0x454586?_0x4623cd(_0x2b9901,_0x4cf77e):_0x2b9901,_0x2b5452=_0x3d5068[_0x5b3fc4(0x1cb)]-0x1,_0x3c9ca4;_0x2b5452>=0x0;_0x2b5452--)(_0x3c9ca4=_0x3d5068[_0x2b5452])&&(_0x5b8099=_0x3c9ca4(_0x5b8099)||_0x5b8099);return _0x5b8099;},_0x4a5277=(_0xbe880f,_0x17ea0a)=>(_0x171a3e,_0x7c096e)=>_0x17ea0a(_0x171a3e,_0x7c096e,_0xbe880f);const _0x3a9653=0x1389;let _0x46a92e=class extends _0x4f4b1a['RxDisposable']{constructor(_0x18e0e3,_0x232e15,_0x175f8c,_0x841115){const _0x2eb8cd=_0x6b9591;super(),_0x54ef86(this,_0x2eb8cd(0x162),new Set()),_0x54ef86(this,'_lastPointer',null),(this[_0x2eb8cd(0x1d1)]=_0x18e0e3,this[_0x2eb8cd(0x149)]=_0x232e15,this[_0x2eb8cd(0x14e)]=_0x175f8c,this[_0x2eb8cd(0x18f)]=_0x841115,this[_0x2eb8cd(0x167)]());}[_0x6b9591(0x167)](){const _0x43b2b8=_0x6b9591;this[_0x43b2b8(0x149)][_0x43b2b8(0x205)][_0x43b2b8(0x342)](_0x1feca5['takeUntil'](this[_0x43b2b8(0x311)]),_0x1feca5[_0x43b2b8(0x358)](_0x28fe51=>{const _0x40c0af=_0x43b2b8;if(_0x28fe51){const _0x4e3109=_0x28fe51[_0x40c0af(0x1c4)];return _0x4c8fcf[_0x40c0af(0x1dc)](this[_0x40c0af(0x14e)][_0x40c0af(0x2c3)](this[_0x40c0af(0x1d1)][_0x40c0af(0x248)]),this['_themeService']['currentTheme$'])['pipe'](_0x1feca5['map'](([_0x5f4a54,_0x2b6c59])=>{const _0x256000=_0x40c0af,_0x26a66=new Map();return _0x5f4a54[_0x256000(0x11b)]((_0x3bd230,_0x409070)=>{const _0x3da7ed=_0x256000;if(_0x3bd230['sheetID']===_0x4e3109){const _0x5263e8={..._0x3bd230};_0x5263e8[_0x3da7ed(0x168)]=this[_0x3da7ed(0x18f)][_0x3da7ed(0x23d)](_0x3bd230[_0x3da7ed(0x168)]),_0x26a66[_0x3da7ed(0x1dd)](_0x409070,_0x5263e8);}}),{'skeleton':_0x28fe51,'cursors':_0x26a66};}));}return _0x4c8fcf['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x375098,cursors:_0x2929d9})=>{const _0x48a796=_0x43b2b8;this[_0x48a796(0x32a)](),_0x375098&&this['_updateCollabCursors'](_0x375098,_0x2929d9);}),this[_0x43b2b8(0x149)]['currentSkeleton$']['subscribe'](_0x4c0b01=>{const _0x5d9d43=_0x43b2b8;if(_0x4c0b01==null)return;const {skeleton:_0x5adaa6}=_0x4c0b01,{scene:_0x4fce5f}=this[_0x5d9d43(0x1d1)];_0x4fce5f['onPointerMove$'][_0x5d9d43(0x300)](_0x4f4b1a[_0x5d9d43(0x2e4)](_0x359726=>{const _0x551085=_0x5d9d43;var _0x49d132,_0x581f8e;const {offsetX:_0x383a2e,offsetY:_0x34d651}=_0x359726,{x:_0x4c5c38,y:_0x116cdb}=_0x4fce5f[_0x551085(0x331)](_0x4be59a[_0x551085(0x25d)][_0x551085(0x323)]([_0x383a2e,_0x34d651])),{scaleX:_0x5226d7,scaleY:_0x1a94b0}=_0x4fce5f[_0x551085(0x17e)](),_0x5729bf=_0x4fce5f[_0x551085(0x185)](_0x4be59a[_0x551085(0x12d)]['VIEW_MAIN']),_0xcdfea0=_0x4fce5f[_0x551085(0x226)](_0x4be59a[_0x551085(0x25d)][_0x551085(0x323)]([_0x4c5c38,_0x116cdb]),_0x5729bf),_0x2d4dec=_0x5adaa6[_0x551085(0x1c0)](_0x383a2e,_0x34d651,_0x5226d7,_0x1a94b0,_0xcdfea0);((_0x49d132=this[_0x551085(0x2cd)])==null?void 0x0:_0x49d132[_0x551085(0x374)])===_0x2d4dec[_0x551085(0x374)]&&((_0x581f8e=this[_0x551085(0x2cd)])==null?void 0x0:_0x581f8e[_0x551085(0x2e3)])===_0x2d4dec[_0x551085(0x2e3)]||this[_0x551085(0x162)]['forEach'](_0x3ee4e6=>{const _0x441c14=_0x551085;_0x3ee4e6[_0x441c14(0x1f8)](_0x2d4dec);});},0x64));});}['_updateCollabCursors'](_0x442fbd,_0xa39912){const _0x7ecdfa=_0x6b9591;var _0x578885;const _0x2fd607=(_0x578885=this[_0x7ecdfa(0x149)]['getCurrent']())==null?void 0x0:_0x578885[_0x7ecdfa(0x1ca)];if(!_0x2fd607)return;const _0x45fda6=this[_0x7ecdfa(0x271)]();if(!_0x45fda6)return;this[_0x7ecdfa(0x162)]['forEach'](_0x436d14=>{_0x436d14['makeDirty']();});const {scene:_0x16d91a}=_0x45fda6,_0x16699=_0x43319f(Array[_0x7ecdfa(0x139)](_0xa39912['values']()))[_0x7ecdfa(0x1b7)](_0x43ed69=>{const _0x59ad20=_0x7ecdfa,{color:_0x2cd489,range:_0x1ed2e9,name:_0x3b4d92,selection:_0xe76999,sheetID:_0x5614ea}=_0x43ed69,{startColumn:_0x3e9eaf,startRow:_0x5f2832,endColumn:_0x15b92,endRow:_0x38338d}=_0x1ed2e9,_0x21824=_0xad51e4[_0x59ad20(0x361)](_0x5f2832,_0x3e9eaf,_0x16d91a,_0x2fd607),_0x4e93e3=_0xad51e4['getCoordByCell'](_0x38338d,_0x15b92,_0x16d91a,_0x2fd607),{columnHeaderHeightAndMarginTop:_0x23c6b5}=_0x2fd607,{startX:_0x3b7dda,startY:_0x4a9765}=_0x21824,{endX:_0x4a085b,endY:_0x5b2394}=_0x4e93e3,_0x5a247e=_0x4a085b-_0x3b7dda,_0x11c281=_0x5b2394-_0x4a9765,_0x40dfe7={'labelPosition':_0x4a9765-_0x23c6b5>=_0x108714?_0x59ad20(0x221):_0x59ad20(0x29d),'sheetID':_0x5614ea,'range':_0x1ed2e9,'color':_0x2cd489,'name':_0x3b4d92,'selection':_0xe76999,'left':_0x3b7dda,'top':_0x4a9765,'width':_0x5a247e,'height':_0x11c281,'evented':!0x1,'zIndex':_0x3a9653};return new _0x20e8ad(_0x3b4d92,_0x40dfe7);});_0x16d91a[_0x7ecdfa(0x199)](_0x16699,_0xb4151f),this[_0x7ecdfa(0x162)]=new Set(_0x16699);}[_0x6b9591(0x32a)](){const _0x5a9084=_0x6b9591;var _0x22e98a;(_0x22e98a=this[_0x5a9084(0x162)])==null||_0x22e98a[_0x5a9084(0x11b)](_0x328b94=>_0x328b94[_0x5a9084(0x161)]());}[_0x6b9591(0x271)](){const _0x2035ef=_0x6b9591;return _0xad51e4[_0x2035ef(0x302)](this[_0x2035ef(0x1d1)][_0x2035ef(0x267)],this[_0x2035ef(0x1d1)]);}};_0x46a92e=_0x59a4f6([_0x4a5277(0x1,_0x4f4b1a[_0x6b9591(0x22e)](_0xad51e4[_0x6b9591(0x12f)])),_0x4a5277(0x2,_0x4f4b1a[_0x6b9591(0x22e)](_0x24a51e)),_0x4a5277(0x3,_0x4f4b1a[_0x6b9591(0x22e)](_0x4f4b1a[_0x6b9591(0x364)]))],_0x46a92e);function _0x43319f(_0x58645a){const _0x280edb=_0x6b9591,_0x28de9a=new Map();return _0x58645a[_0x280edb(0x11b)](_0x3ff6ab=>{const _0x44986c=_0x280edb;if(_0x28de9a[_0x44986c(0x164)](_0x3ff6ab[_0x44986c(0x21b)])){const _0x50cc41=_0x28de9a['get'](_0x3ff6ab['selection']);_0x50cc41['name']+=',\x20'+_0x3ff6ab['name'];}else _0x28de9a[_0x44986c(0x1dd)](_0x3ff6ab[_0x44986c(0x21b)],_0x3ff6ab);}),Array['from'](_0x28de9a['values']());}var _0x36454d=function(){const _0x147ce0=_0x6b9591;return _0x36454d=Object['assign']||function(_0x4371e0){const _0x5bcbdf=_0x2b52;for(var _0x4bdd4f,_0x6836fd=0x1,_0x122bc5=arguments[_0x5bcbdf(0x1cb)];_0x6836fd<_0x122bc5;_0x6836fd++){_0x4bdd4f=arguments[_0x6836fd];for(var _0x306f4 in _0x4bdd4f)Object[_0x5bcbdf(0x128)][_0x5bcbdf(0x1bd)]['call'](_0x4bdd4f,_0x306f4)&&(_0x4371e0[_0x306f4]=_0x4bdd4f[_0x306f4]);}return _0x4371e0;},_0x36454d[_0x147ce0(0x215)](this,arguments);},_0x200f08=function(_0x21a47b,_0x2e0ebe){const _0x5e1997=_0x6b9591;var _0x8b60bd={};for(var _0x20ec7c in _0x21a47b)Object[_0x5e1997(0x128)]['hasOwnProperty'][_0x5e1997(0x2e7)](_0x21a47b,_0x20ec7c)&&_0x2e0ebe[_0x5e1997(0x373)](_0x20ec7c)<0x0&&(_0x8b60bd[_0x20ec7c]=_0x21a47b[_0x20ec7c]);if(_0x21a47b!=null&&typeof Object[_0x5e1997(0x38f)]==_0x5e1997(0x189)){for(var _0x46c0d9=0x0,_0x20ec7c=Object[_0x5e1997(0x38f)](_0x21a47b);_0x46c0d9<_0x20ec7c[_0x5e1997(0x1cb)];_0x46c0d9++)_0x2e0ebe[_0x5e1997(0x373)](_0x20ec7c[_0x46c0d9])<0x0&&Object[_0x5e1997(0x128)][_0x5e1997(0x2b7)][_0x5e1997(0x2e7)](_0x21a47b,_0x20ec7c[_0x46c0d9])&&(_0x8b60bd[_0x20ec7c[_0x46c0d9]]=_0x21a47b[_0x20ec7c[_0x46c0d9]]);}return _0x8b60bd;},_0x578a4e=_0x471115[_0x6b9591(0x154)](function(_0x390612,_0x260ed4){const _0x57e8a5=_0x6b9591;var _0x1c8b4b=_0x390612[_0x57e8a5(0x110)],_0x3dbe6d=_0x390612['id'],_0x5cfa46=_0x390612[_0x57e8a5(0x250)],_0x19a0d9=_0x390612['extend'],_0x3c0330=_0x200f08(_0x390612,[_0x57e8a5(0x110),'id','className',_0x57e8a5(0x1ff)]),_0x12828a='univerjs-icon\x20univerjs-icon-'[_0x57e8a5(0x112)](_0x3dbe6d,'\x20')[_0x57e8a5(0x112)](_0x5cfa46||'')[_0x57e8a5(0x126)](),_0x33e183=_0x471115['useRef']('_'[_0x57e8a5(0x112)](_0x25d6bb()));return _0x40e89d(_0x1c8b4b,''[_0x57e8a5(0x112)](_0x3dbe6d),{'defIds':_0x1c8b4b[_0x57e8a5(0x194)],'idSuffix':_0x33e183['current']},_0x36454d({'ref':_0x260ed4,'className':_0x12828a},_0x3c0330),_0x19a0d9);});function _0x40e89d(_0x59ac7a,_0x27882d,_0x59b3ed,_0x1e0583,_0x117c6e){const _0x214770=_0x6b9591;return _0x471115['createElement'](_0x59ac7a[_0x214770(0x12e)],_0x36454d(_0x36454d({'key':_0x27882d},_0x6bc538(_0x59ac7a,_0x59b3ed,_0x117c6e)),_0x1e0583),(_0xdc2f4f(_0x59ac7a,_0x59b3ed)[_0x214770(0x29c)]||[])['map'](function(_0x515a0e,_0x2ec783){const _0x4f3c3d=_0x214770;return _0x40e89d(_0x515a0e,''[_0x4f3c3d(0x112)](_0x27882d,'-')['concat'](_0x59ac7a['tag'],'-')[_0x4f3c3d(0x112)](_0x2ec783),_0x59b3ed,void 0x0,_0x117c6e);}));}function _0x6bc538(_0x38912d,_0x5810d9,_0x49ea87){const _0xb90be7=_0x6b9591;var _0x284a76=_0x36454d({},_0x38912d[_0xb90be7(0x1e9)]);_0x49ea87!=null&&_0x49ea87['colorChannel1']&&_0x284a76['fill']==='colorChannel1'&&(_0x284a76[_0xb90be7(0x1b0)]=_0x49ea87['colorChannel1']),_0x38912d[_0xb90be7(0x12e)]==='mask'&&_0x284a76['id']&&(_0x284a76['id']=_0x284a76['id']+_0x5810d9[_0xb90be7(0x201)]),Object[_0xb90be7(0x142)](_0x284a76)['forEach'](function(_0x41b573){const _0x68f33b=_0xb90be7;var _0x1bd03a=_0x41b573[0x0],_0xabcd26=_0x41b573[0x1];_0x1bd03a===_0x68f33b(0x15c)&&typeof _0xabcd26==_0x68f33b(0x1ed)&&(_0x284a76[_0x1bd03a]=_0xabcd26[_0x68f33b(0x270)](/url\(#(.*)\)/,_0x68f33b(0x1bb)[_0x68f33b(0x112)](_0x5810d9[_0x68f33b(0x201)],')')));});var _0x3f903d=_0x5810d9['defIds'];return!_0x3f903d||_0x3f903d['length']===0x0||(_0x38912d[_0xb90be7(0x12e)]===_0xb90be7(0x141)&&_0x284a76[_0xb90be7(0x186)]&&(_0x284a76[_0xb90be7(0x186)]=_0x284a76[_0xb90be7(0x186)]+_0x5810d9[_0xb90be7(0x201)]),Object['entries'](_0x284a76)[_0xb90be7(0x11b)](function(_0x40c73c){const _0x374d99=_0xb90be7;var _0x24a708=_0x40c73c[0x0],_0xe4fccc=_0x40c73c[0x1];typeof _0xe4fccc==_0x374d99(0x1ed)&&(_0x284a76[_0x24a708]=_0xe4fccc[_0x374d99(0x270)](/url\(#(.*)\)/,_0x374d99(0x1bb)[_0x374d99(0x112)](_0x5810d9['idSuffix'],')')));})),_0x284a76;}function _0xdc2f4f(_0x4ec035,_0x28b509){const _0x207a80=_0x6b9591;var _0x4522e2,_0x145232=_0x28b509['defIds'];return!_0x145232||_0x145232[_0x207a80(0x1cb)]===0x0?_0x4ec035:_0x4ec035['tag']===_0x207a80(0x143)&&(!((_0x4522e2=_0x4ec035[_0x207a80(0x29c)])===null||_0x4522e2===void 0x0)&&_0x4522e2['length'])?_0x36454d(_0x36454d({},_0x4ec035),{'children':_0x4ec035[_0x207a80(0x29c)][_0x207a80(0x1b7)](function(_0x3a64d){const _0x5c1db7=_0x207a80;return typeof _0x3a64d['attrs']['id']==_0x5c1db7(0x1ed)&&_0x145232&&_0x145232['includes'](_0x3a64d[_0x5c1db7(0x1e9)]['id'])?_0x36454d(_0x36454d({},_0x3a64d),{'attrs':_0x36454d(_0x36454d({},_0x3a64d[_0x5c1db7(0x1e9)]),{'id':_0x3a64d[_0x5c1db7(0x1e9)]['id']+_0x28b509[_0x5c1db7(0x201)]})}):_0x3a64d;})}):_0x4ec035;}function _0x25d6bb(){const _0x2b032b=_0x6b9591;return Math[_0x2b032b(0x202)]()[_0x2b032b(0x23c)](0x24)[_0x2b032b(0x2a6)](0x2,0x8);}_0x578a4e[_0x6b9591(0x20e)]=_0x6b9591(0x17a);var _0x3e7c7d={'tag':'svg','attrs':{'xmlns':_0x6b9591(0x1fd),'fill':'none','viewBox':_0x6b9591(0x171),'width':_0x6b9591(0x1e0),'height':_0x6b9591(0x1e0)},'children':[{'tag':'g','attrs':{'clipPath':_0x6b9591(0x23b)},'children':[{'tag':_0x6b9591(0x2b6),'attrs':{'stroke':_0x6b9591(0x239),'d':_0x6b9591(0x1f9),'strokeLinecap':'round','strokeLinejoin':_0x6b9591(0x30c),'strokeWidth':1.2}}]},{'tag':_0x6b9591(0x143),'attrs':{},'children':[{'tag':_0x6b9591(0x124),'attrs':{'id':_0x6b9591(0x134)},'children':[{'tag':_0x6b9591(0x2b6),'attrs':{'fill':_0x6b9591(0x318),'d':_0x6b9591(0x21f)}}]}]}],'defIds':[_0x6b9591(0x134)]},_0x1e2717=_0x471115['forwardRef'](function(_0x49c504,_0x2bc21a){const _0x1f5bfd=_0x6b9591;return _0x471115[_0x1f5bfd(0x2d6)](_0x578a4e,Object['assign']({},_0x49c504,{'id':_0x1f5bfd(0x244),'ref':_0x2bc21a,'icon':_0x3e7c7d}));});_0x1e2717['displayName']=_0x6b9591(0x30d);var _0x5f588c={'tag':_0x6b9591(0x291),'attrs':{'xmlns':_0x6b9591(0x1fd),'fill':_0x6b9591(0x104),'viewBox':_0x6b9591(0x261),'width':_0x6b9591(0x1e0),'height':_0x6b9591(0x1e0)},'children':[{'tag':'g','attrs':{'clipPath':_0x6b9591(0x176)},'children':[{'tag':_0x6b9591(0x2b6),'attrs':{'stroke':_0x6b9591(0x239),'d':_0x6b9591(0x31d),'strokeLinecap':_0x6b9591(0x30c),'strokeLinejoin':_0x6b9591(0x30c),'strokeWidth':1.2}}]},{'tag':_0x6b9591(0x143),'attrs':{},'children':[{'tag':_0x6b9591(0x124),'attrs':{'id':_0x6b9591(0x150)},'children':[{'tag':_0x6b9591(0x2b6),'attrs':{'fill':_0x6b9591(0x318),'d':_0x6b9591(0x21f),'transform':_0x6b9591(0x1e1)}}]}]}],'defIds':[_0x6b9591(0x150)]},_0x1f0acc=_0x471115[_0x6b9591(0x154)](function(_0x38bcc8,_0x56f62b){const _0x30c445=_0x6b9591;return _0x471115[_0x30c445(0x2d6)](_0x578a4e,Object[_0x30c445(0x262)]({},_0x38bcc8,{'id':_0x30c445(0x18e),'ref':_0x56f62b,'icon':_0x5f588c}));});_0x1f0acc['displayName']='OnLineIcon';function _0x44d6fe(_0x5ab572){const _0x3c23f4=_0x6b9591;switch(_0x5ab572){case _0x353bdb['CollaborationStatus']['OFFLINE']:return _0x3c23f4(0x152);case _0x353bdb[_0x3c23f4(0x155)][_0x3c23f4(0x2a7)]:return _0x3c23f4(0x19d);case _0x353bdb[_0x3c23f4(0x155)]['FETCH_MISS']:return'collabStatus.fetchMiss';case _0x353bdb[_0x3c23f4(0x155)][_0x3c23f4(0x157)]:return _0x3c23f4(0xfb);case _0x353bdb[_0x3c23f4(0x155)][_0x3c23f4(0x1c9)]:case _0x353bdb[_0x3c23f4(0x155)][_0x3c23f4(0x308)]:return _0x3c23f4(0x2a9);case _0x353bdb['CollaborationStatus']['SYNCED']:case _0x353bdb[_0x3c23f4(0x155)][_0x3c23f4(0x37c)]:return _0x3c23f4(0x36a);}}function _0x52b7e7(_0x32e1b9){const _0x476524=_0x6b9591,{status$:_0x203013}=_0x32e1b9,_0x5b3301=_0x124131[_0x476524(0x1eb)](_0x203013,_0x353bdb[_0x476524(0x155)]['NOT_COLLAB']),_0x4a4c81=_0x124131['useDependency'](_0x4f4b1a[_0x476524(0x32c)]),_0x1c495c=_0x124131[_0x476524(0x10e)](_0x353bdb[_0x476524(0x1bf)]),_0x3eca46=_0x5b3301!==_0x353bdb[_0x476524(0x155)][_0x476524(0x37f)],_0xd178f9=_0x4a4c81['t'](_0x44d6fe(_0x5b3301)),_0x1f177f=_0x3eca46?_0x5d3531[_0x476524(0x33e)](_0x1f0acc,{}):_0x5d3531[_0x476524(0x33e)](_0x1e2717,{}),_0x310806=_0x471115[_0x476524(0x190)](()=>{const _0x41ae09=_0x476524;_0x3eca46||_0x1c495c[_0x41ae09(0x297)]();},[_0x3eca46,_0x1c495c]);function _0x37972a(){const _0x3b8a10=_0x476524;return _0x5d3531['jsxs'](_0x3b8a10(0x2cc),{'className':_0x3b8a10(0x12c),'onClick':_0x310806,'children':[_0x5d3531[_0x3b8a10(0x33e)](_0x3b8a10(0x2cc),{'className':_0x532a93[_0x3b8a10(0x2cb)]('univer-flex\x20univer-mr-2\x20univer-text-xl',{'univer-text-green-500':_0x3eca46,'univer-text-red-500':!_0x3eca46}),'children':_0x1f177f}),_0x5d3531[_0x3b8a10(0x33e)]('div',{'className':_0x3b8a10(0x306),'children':_0xd178f9})]});}return _0x3eca46?_0x37972a():_0x5d3531[_0x476524(0x33e)](_0x532a93[_0x476524(0x13f)],{'title':_0x4a4c81['t']('collab-client.tooltip.reconnect'),'children':_0x37972a()});}var _0x46fbfc=Object[_0x6b9591(0x158)],_0x1d527b=(_0xca967e,_0x151e78,_0x3ea691,_0x2f02a8)=>{const _0x6114b=_0x6b9591;for(var _0x40d46a=_0x2f02a8>0x1?void 0x0:_0x2f02a8?_0x46fbfc(_0x151e78,_0x3ea691):_0x151e78,_0x22703e=_0xca967e[_0x6114b(0x1cb)]-0x1,_0x3601c6;_0x22703e>=0x0;_0x22703e--)(_0x3601c6=_0xca967e[_0x22703e])&&(_0x40d46a=_0x3601c6(_0x40d46a)||_0x40d46a);return _0x40d46a;},_0x471327=(_0x4f55ac,_0x3ad069)=>(_0x463cd1,_0x3c0f0b)=>_0x3ad069(_0x463cd1,_0x3c0f0b,_0x4f55ac);_0x2a7733['DesktopCollaborationStatusDisplayController']=class extends _0x4f4b1a[_0x6b9591(0x169)]{constructor(_0x202f6a,_0x437b96,_0x51b189,_0x45282e){const _0x453976=_0x6b9591;super(),_0x54ef86(this,_0x453976(0x106),new _0x4c8fcf[(_0x453976(0x231))](_0x353bdb['CollaborationStatus'][_0x453976(0x157)])),(this['_univerInstanceService']=_0x202f6a,this[_0x453976(0x15f)]=_0x437b96,this[_0x453976(0x17d)]=_0x51b189,this[_0x453976(0x376)]=_0x45282e,this['_initStatusComponent'](),this[_0x453976(0x1d8)]());}[_0x6b9591(0x1d8)](){const _0x2f3c3e=_0x6b9591;this[_0x2f3c3e(0x132)](this[_0x2f3c3e(0x330)][_0x2f3c3e(0x18d)]['pipe'](_0x4c8fcf[_0x2f3c3e(0x358)](()=>{const _0x45ca61=_0x2f3c3e,_0x5c03ae=this['_univerInstanceService'][_0x45ca61(0x15e)]();return _0x5c03ae?this['_collaborationController']['getCollabEntity$'](_0x5c03ae[_0x45ca61(0x27c)]()):_0x4c8fcf['of'](null);}),_0x4c8fcf[_0x2f3c3e(0x358)](_0xfdaf2d=>_0xfdaf2d?_0xfdaf2d[_0x2f3c3e(0x10d)]:_0x4c8fcf['of'](_0x353bdb['CollaborationStatus'][_0x2f3c3e(0x157)])))[_0x2f3c3e(0x187)](_0x484d1a=>{const _0x4fd2fe=_0x2f3c3e;this[_0x4fd2fe(0x106)][_0x4fd2fe(0x1a5)](_0x484d1a);}));}['_initStatusComponent'](){const _0x145f12=_0x6b9591;this[_0x145f12(0x132)](this['_uiPartsService']['registerComponent'](_0x124131[_0x145f12(0x127)][_0x145f12(0x29f)],()=>_0x124131[_0x145f12(0x23a)](_0x4e2278({'status$':this['_status$'][_0x145f12(0x303)]()}),this[_0x145f12(0x15f)])));}},_0x2a7733[_0x6b9591(0x280)]=_0x1d527b([_0x471327(0x0,_0x4f4b1a[_0x6b9591(0x17b)]),_0x471327(0x1,_0x4f4b1a[_0x6b9591(0x22e)](_0x4f4b1a['Injector'])),_0x471327(0x2,_0x4f4b1a[_0x6b9591(0x22e)](_0x353bdb[_0x6b9591(0x353)])),_0x471327(0x3,_0x124131[_0x6b9591(0x284)])],_0x2a7733[_0x6b9591(0x280)]);function _0x4e2278(_0x467f31){const {status$:_0xd4ba30}=_0x467f31;return function(){const _0x41e9ee=_0x2b52;return _0x5d3531[_0x41e9ee(0x33e)](_0x52b7e7,{'status$':_0xd4ba30});};}var _0x27ee5e=Object[_0x6b9591(0x158)],_0x20a0ed=(_0x5d7c37,_0x13fcf4,_0x1827cb,_0x278337)=>{const _0x56d5ae=_0x6b9591;for(var _0x1396ea=_0x278337>0x1?void 0x0:_0x278337?_0x27ee5e(_0x13fcf4,_0x1827cb):_0x13fcf4,_0x5c2a20=_0x5d7c37[_0x56d5ae(0x1cb)]-0x1,_0x3dd82c;_0x5c2a20>=0x0;_0x5c2a20--)(_0x3dd82c=_0x5d7c37[_0x5c2a20])&&(_0x1396ea=_0x3dd82c(_0x1396ea)||_0x1396ea);return _0x1396ea;},_0x3c11ee=(_0x5b5350,_0x273b23)=>(_0x2b1232,_0x494f76)=>_0x273b23(_0x2b1232,_0x494f76,_0x5b5350);let _0x1ea07d=class extends _0x4f4b1a[_0x6b9591(0x169)]{constructor(_0x317379,_0x1cc8e8,_0x199acc,_0x96f466,_0x41cf3b,_0x3c6a6d){const _0x1d38ff=_0x6b9591;super(),this[_0x1d38ff(0x385)]=_0x317379,this[_0x1d38ff(0x228)]=_0x1cc8e8,this['_collaborationUIEventService']=_0x199acc,this[_0x1d38ff(0x281)]=_0x96f466,this['_notificationService']=_0x41cf3b,this[_0x1d38ff(0x377)]=_0x3c6a6d,this[_0x1d38ff(0x25e)](),this[_0x1d38ff(0x230)]();}['_setupBeforeClosingHandler'](){this['disposeWithMe'](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x39bbb7=_0x2b52;if(this[_0x39bbb7(0x228)][_0x39bbb7(0x113)]['size'])return this['_localeService']['t'](_0x39bbb7(0x307));}));}[_0x6b9591(0x230)](){const _0x53ba2d=_0x6b9591;this[_0x53ba2d(0x132)](this[_0x53ba2d(0x109)][_0x53ba2d(0x38b)]['subscribe'](_0x60b41e=>{const _0x37c3d5=_0x53ba2d;_0x60b41e['id']===_0x353bdb[_0x37c3d5(0x30f)][_0x37c3d5(0x255)]&&this[_0x37c3d5(0x281)][_0x37c3d5(0x219)]({'type':_0x532a93['MessageType'][_0x37c3d5(0x1d7)],'content':this[_0x37c3d5(0x377)]['t']('collaboration.single-unit.warning')}),_0x60b41e['id']===_0x353bdb['CollaborationUIEventId'][_0x37c3d5(0x2e5)]&&this[_0x37c3d5(0x281)][_0x37c3d5(0x219)]({'type':_0x532a93['MessageType'][_0x37c3d5(0x1d7)],'content':this[_0x37c3d5(0x377)]['t']('collaboration.closeRoom')}),_0x60b41e['id']===_0x353bdb[_0x37c3d5(0x30f)][_0x37c3d5(0x1a0)]&&this[_0x37c3d5(0x1f1)]['show']({'title':this['_localeService']['t'](_0x37c3d5(0x16a)),'content':this['_localeService']['t'](_0x37c3d5(0x30a)),'type':'error','duration':0x0}),_0x60b41e['id']===_0x353bdb[_0x37c3d5(0x30f)]['CONFLICT']&&this['_messageService'][_0x37c3d5(0x219)]({'type':_0x532a93['MessageType']['Error'],'content':this[_0x37c3d5(0x377)]['t']('collaboration.closeRoom')+'('+_0x60b41e[_0x37c3d5(0x1e7)]+')'}),_0x60b41e['id']===_0x353bdb[_0x37c3d5(0x30f)]['JOIN_ROOM_FAILED']&&this[_0x37c3d5(0x281)]['show']({'type':_0x532a93[_0x37c3d5(0x386)][_0x37c3d5(0x1d7)],'content':this[_0x37c3d5(0x377)]['t'](_0x60b41e['data']||'')}),_0x60b41e['id']===_0x353bdb[_0x37c3d5(0x30f)][_0x37c3d5(0x1d5)]&&this[_0x37c3d5(0x281)][_0x37c3d5(0x219)]({'type':_0x532a93['MessageType'][_0x37c3d5(0x1d7)],'content':this['_localeService']['t'](_0x37c3d5(0x100))}),_0x60b41e['id']===_0x353bdb[_0x37c3d5(0x30f)]['SOCKET_FAILED']&&this[_0x37c3d5(0x281)][_0x37c3d5(0x219)]({'type':_0x532a93[_0x37c3d5(0x386)][_0x37c3d5(0x37e)],'content':this[_0x37c3d5(0x377)]['t'](_0x37c3d5(0x384))}),_0x60b41e['id']===_0x353bdb[_0x37c3d5(0x30f)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x37c3d5(0x281)][_0x37c3d5(0x219)]({'type':_0x532a93[_0x37c3d5(0x386)]['Error'],'content':this[_0x37c3d5(0x377)]['t'](_0x37c3d5(0x1f3))});}));}};_0x1ea07d=_0x20a0ed([_0x3c11ee(0x0,_0x124131['IBeforeCloseService']),_0x3c11ee(0x1,_0x353bdb[_0x6b9591(0x2d1)]),_0x3c11ee(0x2,_0x4f4b1a['Inject'](_0x353bdb[_0x6b9591(0x34c)])),_0x3c11ee(0x3,_0x124131[_0x6b9591(0x2fb)]),_0x3c11ee(0x4,_0x124131[_0x6b9591(0x207)]),_0x3c11ee(0x5,_0x4f4b1a[_0x6b9591(0x22e)](_0x4f4b1a[_0x6b9591(0x32c)]))],_0x1ea07d);const _0x2208a6=_0x6b9591(0x33a),_0xbc1202={},_0x4b3148=_0x4f4b1a[_0x6b9591(0x184)](_0x6b9591(0x238));var _0xe67ad9=Object[_0x6b9591(0x158)],_0xa19887=(_0x4ac041,_0x170cce,_0x4a6eeb,_0x2d57d7)=>{for(var _0x5af5bf=_0x2d57d7>0x1?void 0x0:_0x2d57d7?_0xe67ad9(_0x170cce,_0x4a6eeb):_0x170cce,_0x2f5a1c=_0x4ac041['length']-0x1,_0x38d4e6;_0x2f5a1c>=0x0;_0x2f5a1c--)(_0x38d4e6=_0x4ac041[_0x2f5a1c])&&(_0x5af5bf=_0x38d4e6(_0x5af5bf)||_0x5af5bf);return _0x5af5bf;},_0x39c86b=(_0x7236b,_0x1d1f20)=>(_0xc43cb,_0x216661)=>_0x1d1f20(_0xc43cb,_0x216661,_0x7236b);_0x2a7733[_0x6b9591(0x2df)]=class extends _0x4f4b1a[_0x6b9591(0x114)]{constructor(_0x331973,_0x304745,_0x1327a3,_0x34d808,_0x324f89){const _0x39b747=_0x6b9591;super(),this['_urlService']=_0x331973,this[_0x39b747(0x1e4)]=_0x304745,this['_commandService']=_0x1327a3,this['_dataLoaderService']=_0x34d808,_0x324f89?_0x324f89==null||_0x324f89[_0x39b747(0x2b4)]()[_0x39b747(0x34f)](()=>this[_0x39b747(0x167)]()):(this[_0x39b747(0x1e4)][_0x39b747(0x130)](_0x39b747(0x2ff),_0x39b747(0x312)),this[_0x39b747(0x167)]());}async[_0x6b9591(0x167)](){const _0x24d66d=_0x6b9591,_0x592291=this[_0x24d66d(0x21e)][_0x24d66d(0x293)](_0x24d66d(0x267)),_0x29785c=this[_0x24d66d(0x21e)]['getParam'](_0x24d66d(0x2bf)),_0x22c120=this[_0x24d66d(0x21e)][_0x24d66d(0x293)](_0x24d66d(0x349));if(!_0x592291||!_0x29785c){this[_0x24d66d(0x1e4)][_0x24d66d(0x130)]('[CollaborationDataLoaderController]',_0x24d66d(0x319));return;}const _0x230247=await this[_0x24d66d(0x11f)][_0x24d66d(0x32b)](_0x592291,Number(_0x29785c),_0x22c120);_0x230247&&_0x230247 instanceof _0x4f4b1a[_0x24d66d(0x136)]&&this[_0x24d66d(0x188)](_0x230247);}async[_0x6b9591(0x188)](_0x5dd7d0){const _0x35767a=_0x6b9591;await this[_0x35767a(0x1e8)](_0x5dd7d0),_0x5dd7d0[_0x35767a(0x35d)][_0x35767a(0x342)](_0x4c8fcf[_0x35767a(0x375)](this[_0x35767a(0x311)]))[_0x35767a(0x187)](_0x3d5b35=>{const _0x4d44d5=_0x35767a;_0x3d5b35&&this[_0x4d44d5(0x371)](_0x3d5b35);}),this['_urlService']['urlChange$'][_0x35767a(0x342)](_0x4c8fcf['takeUntil'](this[_0x35767a(0x311)]))[_0x35767a(0x187)](()=>this['_updateSubUnitFromURLParams'](_0x5dd7d0));}['_updateURLWithCurrentState'](_0x3611b6,_0x2f5026=!0x1){const _0xc8965c=_0x6b9591,_0x11ee53=this['_urlService'][_0xc8965c(0x293)]('subunit');_0x3611b6[_0xc8965c(0x23e)]()!==_0x11ee53&&this[_0xc8965c(0x21e)][_0xc8965c(0x1fb)](_0xc8965c(0x349),_0x3611b6['getSheetId'](),_0x2f5026);}async[_0x6b9591(0x1e8)](_0x37aee2){const _0xe44994=_0x6b9591;var _0x15779e;const _0x5666d1=this[_0xe44994(0x21e)][_0xe44994(0x293)](_0xe44994(0x349));if(!_0x5666d1||!_0x37aee2[_0xe44994(0x2f8)](_0x5666d1)){const _0x23594e=_0x37aee2[_0xe44994(0x34d)]()[0x0],_0xca76bb=_0x37aee2['getSheetBySheetId'](_0x23594e);if(!_0xca76bb)return;this['_updateURLWithCurrentState'](_0xca76bb,!0x0),await this[_0xe44994(0x360)]['executeCommand'](_0x54d6f1['SetWorksheetActivateCommand']['id'],{'unitId':_0x37aee2[_0xe44994(0x27c)](),'subUnitId':_0x23594e});return;}((_0x15779e=_0x37aee2[_0xe44994(0x119)]())==null?void 0x0:_0x15779e[_0xe44994(0x23e)]())!==_0x5666d1&&await this['_commandService'][_0xe44994(0x15a)](_0x54d6f1[_0xe44994(0x10b)]['id'],{'unitId':_0x37aee2[_0xe44994(0x27c)](),'subUnitId':_0x5666d1});}},_0x2a7733[_0x6b9591(0x2df)]=_0xa19887([_0x39c86b(0x0,_0x4b3148),_0x39c86b(0x1,_0x4f4b1a[_0x6b9591(0x111)]),_0x39c86b(0x2,_0x4f4b1a[_0x6b9591(0x174)]),_0x39c86b(0x3,_0x4f4b1a[_0x6b9591(0x22e)](_0x353bdb[_0x6b9591(0x118)])),_0x39c86b(0x4,_0x4f4b1a[_0x6b9591(0x352)](_0x14ce2b[_0x6b9591(0x1c3)]))],_0x2a7733[_0x6b9591(0x2df)]);var _0x450642=Object[_0x6b9591(0x158)],_0x44f397=(_0x6d4dac,_0x476248,_0x332c39,_0x3a6993)=>{const _0x3b9c03=_0x6b9591;for(var _0xbdcc83=_0x3a6993>0x1?void 0x0:_0x3a6993?_0x450642(_0x476248,_0x332c39):_0x476248,_0x13dedb=_0x6d4dac[_0x3b9c03(0x1cb)]-0x1,_0x46a8c9;_0x13dedb>=0x0;_0x13dedb--)(_0x46a8c9=_0x6d4dac[_0x13dedb])&&(_0xbdcc83=_0x46a8c9(_0xbdcc83)||_0xbdcc83);return _0xbdcc83;},_0x3a9542=(_0x19b672,_0x105f8c)=>(_0x2e9a2e,_0x5eb344)=>_0x105f8c(_0x2e9a2e,_0x5eb344,_0x19b672);let _0x1583db=class{constructor(_0x3adc3e,_0x182586,_0xff4194){const _0x23ea69=_0x6b9591;this[_0x23ea69(0x15f)]=_0x3adc3e,this['_transformService']=_0x182586,this[_0x23ea69(0x251)]=_0xff4194;}[_0x6b9591(0x22b)](_0x315695){this['_transformUndoRedoStack'](_0x315695),this['_transformPreviousActiveRange'](_0x315695);}[_0x6b9591(0x2ce)](_0x17dc79){const _0x4a31b5=_0x6b9591,{unitID:_0x436109}=_0x17dc79,_0x1764cc=this['_renderManagerService'][_0x4a31b5(0x2d5)](_0x436109)[_0x4a31b5(0x2ee)](_0x2a96f2['DocIMEInputManagerService']),{redoCache:_0x27b8d3}=_0x1764cc[_0x4a31b5(0x29e)]();if(_0x27b8d3[_0x4a31b5(0x1cb)]===0x0)return _0x17dc79;let _0x3c94c7=_0x4f4b1a[_0x4a31b5(0x20c)][_0x4a31b5(0x2e0)](_0x17dc79['mutations'][0x0]);for(let _0x5e02f7=0x0;_0x5e02f7<_0x27b8d3[_0x4a31b5(0x1cb)];_0x5e02f7++){const _0x3a9c54={'id':_0x4a31b5(0x2dc),'params':{..._0x27b8d3[_0x5e02f7]}},_0x353526=this['_transformService'][_0x4a31b5(0x2bd)](_0x3c94c7,_0x3a9c54,!0x1);if(_0x4afe31[_0x4a31b5(0x36f)](_0x353526))throw _0x353526[_0x4a31b5(0x1d6)];_0x3c94c7=_0x353526['m1Prime'];}return{..._0x4f4b1a[_0x4a31b5(0x20c)][_0x4a31b5(0x2e0)](_0x17dc79),'mutations':[_0x3c94c7]};}['_transformUndoRedoStack'](_0x548467){const _0x4f2619=_0x6b9591,{unitID:_0x1edb04}=_0x548467,_0x54de44=this['_renderManagerService'][_0x4f2619(0x2d5)](_0x1edb04)[_0x4f2619(0x2ee)](_0x2a96f2[_0x4f2619(0x378)]),{undoCache:_0x1cccf9,redoCache:_0x2b88b7}=_0x54de44[_0x4f2619(0x29e)]();if(_0x1cccf9[_0x4f2619(0x1cb)]===0x0||_0x2b88b7[_0x4f2619(0x1cb)]===0x0)return;const _0x288c59=[],_0x37ee8f=[];let _0x37dd2c=_0x4f4b1a[_0x4f2619(0x20c)][_0x4f2619(0x2e0)](_0x548467[_0x4f2619(0x26a)][0x0]),_0x5dde5e=_0x4f4b1a[_0x4f2619(0x20c)]['deepClone'](_0x548467[_0x4f2619(0x26a)][0x0]);for(let _0x37628e=_0x1cccf9['length']-0x1;_0x37628e>=0x0;_0x37628e--){const _0x41a588={'id':_0x4f2619(0x2dc),'params':{..._0x1cccf9[_0x37628e]}},_0x24468e={'id':_0x4f2619(0x2dc),'params':{..._0x2b88b7[_0x37628e]}},_0x4aeadd=this['_transformService'][_0x4f2619(0x2bd)](_0x37dd2c,_0x41a588,!0x1),_0x29818e=this['_transformService']['transformMutation'](_0x5dde5e,_0x24468e,!0x1);if(_0x4afe31[_0x4f2619(0x36f)](_0x4aeadd))throw _0x4aeadd['error'];if(_0x4afe31[_0x4f2619(0x36f)](_0x29818e))throw _0x29818e['error'];_0x288c59[_0x4f2619(0x14c)](_0x4aeadd[_0x4f2619(0x299)][_0x4f2619(0x17c)]),_0x37ee8f[_0x4f2619(0x14c)](_0x29818e['m2Prime']['params']),_0x37dd2c=_0x4aeadd[_0x4f2619(0x247)],_0x5dde5e=_0x29818e['m1Prime'];}_0x54de44[_0x4f2619(0x2ad)]({'undoCache':_0x288c59,'redoCache':_0x37ee8f});}['_transformPreviousActiveRange'](_0x178a04){const _0x55e9fe=_0x6b9591,{unitID:_0x238f04}=_0x178a04,_0xe68814=this[_0x55e9fe(0x251)][_0x55e9fe(0x2d5)](_0x238f04)[_0x55e9fe(0x2ee)](_0x2a96f2[_0x55e9fe(0x378)]),_0x540b47=_0xe68814[_0x55e9fe(0x1d9)]();if(_0x540b47==null)return;const _0x5dc4ab=[{'id':_0x55e9fe(0x2dc),'params':{'unitId':_0x178a04['unitID'],'actions':null,'textRanges':[_0x540b47]}}],_0x33a7b2=this[_0x55e9fe(0x24d)][_0x55e9fe(0x379)](_0x178a04,_0x5dc4ab);if(!_0x4afe31[_0x55e9fe(0xfe)](_0x33a7b2))throw _0x33a7b2[_0x55e9fe(0x1d6)];const _0x52edcc=_0x33a7b2[_0x55e9fe(0x299)][0x0][_0x55e9fe(0x17c)][_0x55e9fe(0x138)];Array[_0x55e9fe(0x2dd)](_0x52edcc)&&_0x52edcc[_0x55e9fe(0x1cb)]&&_0xe68814[_0x55e9fe(0x278)](_0x52edcc[0x0]);}};_0x1583db=_0x44f397([_0x3a9542(0x0,_0x4f4b1a['Inject'](_0x4f4b1a['Injector'])),_0x3a9542(0x1,_0x4afe31['ITransformService']),_0x3a9542(0x2,_0x4be59a['IRenderManagerService'])],_0x1583db);var _0x401651=Object[_0x6b9591(0x158)],_0xc002bf=(_0x3711bc,_0x17916e,_0x5b7de6,_0x2e088a)=>{const _0x4f06ea=_0x6b9591;for(var _0x2674c5=_0x2e088a>0x1?void 0x0:_0x2e088a?_0x401651(_0x17916e,_0x5b7de6):_0x17916e,_0x34541b=_0x3711bc[_0x4f06ea(0x1cb)]-0x1,_0x39e133;_0x34541b>=0x0;_0x34541b--)(_0x39e133=_0x3711bc[_0x34541b])&&(_0x2674c5=_0x39e133(_0x2674c5)||_0x2674c5);return _0x2674c5;},_0x5ace98=(_0x152c2c,_0x126e86)=>(_0xe596e8,_0x3aed16)=>_0x126e86(_0xe596e8,_0x3aed16,_0x152c2c);let _0x429a44=class{constructor(_0x20707d,_0x9bf776,_0x4c6969){const _0xcde17b=_0x6b9591;this[_0xcde17b(0x15f)]=_0x20707d,this[_0xcde17b(0x24d)]=_0x9bf776,this['_docStateChangeManagerService']=_0x4c6969;}[_0x6b9591(0x129)](_0x2d8e81){const _0x19b81d=_0x6b9591;this[_0x19b81d(0x2c7)](_0x2d8e81);}[_0x6b9591(0x2ce)](_0x3bf8dc){const _0x4e61d6=_0x6b9591,{unitID:_0x2d3a11}=_0x3bf8dc,{collaboration:_0x36a677}=this[_0x4e61d6(0x237)][_0x4e61d6(0x18c)](_0x2d3a11);if(_0x36a677[_0x4e61d6(0x1cb)]===0x0)return _0x3bf8dc;let _0x47613c=_0x4f4b1a[_0x4e61d6(0x20c)][_0x4e61d6(0x2e0)](_0x3bf8dc[_0x4e61d6(0x26a)][0x0]);for(let _0x50b12a=0x0;_0x50b12a<_0x36a677['length'];_0x50b12a++){const _0x55a111={'id':_0x4e61d6(0x2dc),'params':{'unitId':_0x36a677[_0x50b12a][_0x4e61d6(0x248)],..._0x36a677[_0x50b12a][_0x4e61d6(0x107)]}},_0x1dfd9f=this[_0x4e61d6(0x24d)][_0x4e61d6(0x2bd)](_0x47613c,_0x55a111,!0x1);if(_0x4afe31['isTransformMutationFailure'](_0x1dfd9f))throw _0x1dfd9f[_0x4e61d6(0x1d6)];_0x47613c=_0x1dfd9f[_0x4e61d6(0x247)];}return{..._0x4f4b1a['Tools'][_0x4e61d6(0x2e0)](_0x3bf8dc),'mutations':[_0x47613c]};}[_0x6b9591(0x2c7)](_0x301e36){const _0x260735=_0x6b9591,{unitID:_0x34091c}=_0x301e36,{history:_0x6606b2,collaboration:_0x4e3830}=this['_docStateChangeManagerService'][_0x260735(0x18c)](_0x34091c);if(_0x6606b2[_0x260735(0x1cb)]===0x0&&_0x4e3830[_0x260735(0x1cb)]===0x0)return;const _0x55e27=[],_0x14b861=[];let _0x4052cf=_0x4f4b1a[_0x260735(0x20c)]['deepClone'](_0x301e36[_0x260735(0x26a)][0x0]),_0x46d45e=_0x4f4b1a[_0x260735(0x20c)][_0x260735(0x2e0)](_0x301e36[_0x260735(0x26a)][0x0]);for(let _0x23882c=_0x6606b2[_0x260735(0x1cb)]-0x1;_0x23882c>=0x0;_0x23882c--){const _0x22d89b={'id':_0x260735(0x2dc),'params':{'unitId':_0x6606b2[_0x23882c][_0x260735(0x248)],..._0x6606b2[_0x23882c][_0x260735(0x196)]}},_0x19bf37={'id':_0x260735(0x2dc),'params':{'unitId':_0x6606b2[_0x23882c][_0x260735(0x248)],..._0x6606b2[_0x23882c]['redoState']}},_0x3c11f3=this[_0x260735(0x24d)]['transformMutation'](_0x4052cf,_0x22d89b,!0x1),_0x317250=this[_0x260735(0x24d)]['transformMutation'](_0x46d45e,_0x19bf37,!0x1);if(_0x4afe31[_0x260735(0x36f)](_0x3c11f3))throw _0x3c11f3[_0x260735(0x1d6)];if(_0x4afe31[_0x260735(0x36f)](_0x317250))throw _0x317250[_0x260735(0x1d6)];_0x55e27[_0x260735(0x14c)]({..._0x6606b2[_0x23882c],'undoState':_0x3c11f3['m2Prime'][_0x260735(0x17c)],'redoState':_0x317250['m2Prime'][_0x260735(0x17c)]}),_0x4052cf=_0x3c11f3[_0x260735(0x247)],_0x46d45e=_0x317250[_0x260735(0x247)];}_0x4052cf=_0x4f4b1a['Tools'][_0x260735(0x2e0)](_0x301e36[_0x260735(0x26a)][0x0]),_0x46d45e=_0x4f4b1a[_0x260735(0x20c)][_0x260735(0x2e0)](_0x301e36[_0x260735(0x26a)][0x0]);for(let _0x385d68=_0x4e3830[_0x260735(0x1cb)]-0x1;_0x385d68>=0x0;_0x385d68--){const _0x82bdd7={'id':_0x260735(0x2dc),'params':{'unitId':_0x4e3830[_0x385d68]['unitId'],..._0x4e3830[_0x385d68]['undoState']}},_0x5ca8ce={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4e3830[_0x385d68]['unitId'],..._0x4e3830[_0x385d68][_0x260735(0x107)]}},_0x3efdb8=this[_0x260735(0x24d)]['transformMutation'](_0x4052cf,_0x82bdd7,!0x1),_0xc27c60=this[_0x260735(0x24d)][_0x260735(0x2bd)](_0x46d45e,_0x5ca8ce,!0x1);if(_0x4afe31[_0x260735(0x36f)](_0x3efdb8))throw _0x3efdb8[_0x260735(0x1d6)];if(_0x4afe31[_0x260735(0x36f)](_0xc27c60))throw _0xc27c60[_0x260735(0x1d6)];_0x14b861[_0x260735(0x14c)]({..._0x4e3830[_0x385d68],'undoState':_0x3efdb8['m2Prime'][_0x260735(0x17c)],'redoState':_0xc27c60[_0x260735(0x299)][_0x260735(0x17c)]}),_0x4052cf=_0x3efdb8[_0x260735(0x247)],_0x46d45e=_0xc27c60['m1Prime'];}this[_0x260735(0x237)]['setStateCache'](_0x34091c,{'history':_0x55e27,'collaboration':_0x14b861});}};_0x429a44=_0xc002bf([_0x5ace98(0x0,_0x4f4b1a['Inject'](_0x4f4b1a[_0x6b9591(0x172)])),_0x5ace98(0x1,_0x4afe31['ITransformService']),_0x5ace98(0x2,_0x4f4b1a[_0x6b9591(0x22e)](_0x2a96f2['DocStateChangeManagerService']))],_0x429a44);var _0x5d95b2=Object['getOwnPropertyDescriptor'],_0x371e8f=(_0xa2e2d1,_0x3493ef,_0x5b3287,_0x51d356)=>{const _0x23e844=_0x6b9591;for(var _0x56fb8e=_0x51d356>0x1?void 0x0:_0x51d356?_0x5d95b2(_0x3493ef,_0x5b3287):_0x3493ef,_0x58aa0a=_0xa2e2d1[_0x23e844(0x1cb)]-0x1,_0x3844c9;_0x58aa0a>=0x0;_0x58aa0a--)(_0x3844c9=_0xa2e2d1[_0x58aa0a])&&(_0x56fb8e=_0x3844c9(_0x56fb8e)||_0x56fb8e);return _0x56fb8e;},_0x227109=(_0xe790ec,_0x47f9fd)=>(_0x20e463,_0x35330d)=>_0x47f9fd(_0x20e463,_0x35330d,_0xe790ec);let _0x3fa842=class{constructor(_0x3cb2f0,_0x4bbd69){const _0x4ef079=_0x6b9591;this[_0x4ef079(0x15f)]=_0x3cb2f0,this[_0x4ef079(0x24d)]=_0x4bbd69;}['transformSelections'](_0x3f651f){const _0x244b87=_0x6b9591;var _0x492bb7;const _0x1293c3=this['_injector'][_0x244b87(0x2b0)](_0x49ed44[_0x244b87(0x396)]),_0x3d3fa4=(_0x492bb7=_0x1293c3[_0x244b87(0x25c)]())!=null?_0x492bb7:[];if(_0x3d3fa4['length']===0x0)return;const _0x5469a5=_0x3f651f['unitID'],_0x123076=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5469a5,'actions':null,'textRanges':_0x3d3fa4}}],_0x5807c5=this[_0x244b87(0x24d)][_0x244b87(0x379)](_0x3f651f,_0x123076);if(!_0x4afe31[_0x244b87(0xfe)](_0x5807c5))throw _0x5807c5[_0x244b87(0x1d6)];const _0x5cfbaf=_0x5807c5[_0x244b87(0x299)][0x0][_0x244b87(0x17c)][_0x244b87(0x138)];Array[_0x244b87(0x2dd)](_0x5cfbaf)&&_0x5cfbaf[_0x244b87(0x1cb)]&&_0x1293c3[_0x244b87(0x313)](_0x5cfbaf,{'unitId':_0x5469a5,'subUnitId':_0x5469a5},!0x1);}};_0x3fa842=_0x371e8f([_0x227109(0x0,_0x4f4b1a['Inject'](_0x4f4b1a[_0x6b9591(0x172)])),_0x227109(0x1,_0x4afe31[_0x6b9591(0x11e)])],_0x3fa842);var _0x2b922d=Object[_0x6b9591(0x158)],_0x337f3e=(_0x1a7132,_0x2ad878,_0x3dc723,_0x41f374)=>{const _0x23b063=_0x6b9591;for(var _0x15ca54=_0x41f374>0x1?void 0x0:_0x41f374?_0x2b922d(_0x2ad878,_0x3dc723):_0x2ad878,_0x362292=_0x1a7132[_0x23b063(0x1cb)]-0x1,_0x51faad;_0x362292>=0x0;_0x362292--)(_0x51faad=_0x1a7132[_0x362292])&&(_0x15ca54=_0x51faad(_0x15ca54)||_0x15ca54);return _0x15ca54;},_0x2c7adc=(_0x4d560d,_0x151221)=>(_0x26ba3b,_0x98835e)=>_0x151221(_0x26ba3b,_0x98835e,_0x4d560d);let _0x4f247d=class extends _0x4f4b1a[_0x6b9591(0x169)]{constructor(_0x2b5f9f,_0x155d3b,_0x16516e,_0x4543ed,_0x1095b8,_0x32d79b,_0x1bc546,_0x2c8e18){const _0x507e30=_0x6b9591;super(),_0x54ef86(this,_0x507e30(0x106),new _0x4c8fcf[(_0x507e30(0x231))](_0x353bdb[_0x507e30(0x155)][_0x507e30(0x157)])),(this[_0x507e30(0x237)]=_0x2b5f9f,this[_0x507e30(0x17d)]=_0x155d3b,this[_0x507e30(0x1db)]=_0x16516e,this[_0x507e30(0x241)]=_0x4543ed,this[_0x507e30(0x30e)]=_0x1095b8,this[_0x507e30(0x105)]=_0x32d79b,this[_0x507e30(0x281)]=_0x1bc546,this['_localeService']=_0x2c8e18,this[_0x507e30(0x1d4)]());}[_0x6b9591(0x1d4)](){const _0x4e4a51=_0x6b9591;this['disposeWithMe'](this['_collaborationController'][_0x4e4a51(0x363)][_0x4e4a51(0x187)](_0x43c05f=>{const _0x2b8029=_0x4e4a51,_0x337301=this[_0x2b8029(0x237)]['docStateChange$'][_0x2b8029(0x187)](_0x5a0b16=>{const _0x5cf038=_0x2b8029;if(_0x5a0b16==null)return;const {unitId:_0x5ce1d2,redoState:_0x22fe1a,commandId:_0x5e19fb}=_0x5a0b16;if(_0x5ce1d2!==_0x43c05f[_0x5cf038(0x30b)])return;const _0x1e4793={'id':_0x5e19fb,'type':_0x4f4b1a[_0x5cf038(0x1d0)][_0x5cf038(0x21d)],'params':{'unitId':_0x5ce1d2,'actions':_0x22fe1a[_0x5cf038(0x38e)],'textRanges':null}};_0x43c05f[_0x5cf038(0x2bb)](_0x1e4793);});if(_0x43c05f['disposeWithMe'](_0x337301),_0x43c05f instanceof _0x353bdb[_0x2b8029(0x333)]){const _0x4f2c86={'onTransformIME':_0x1ba45a=>this[_0x2b8029(0x1db)][_0x2b8029(0x22b)](_0x1ba45a),'onTransformState':_0x136393=>this[_0x2b8029(0x241)][_0x2b8029(0x129)](_0x136393),'onTransformSelections':_0x17f7bd=>this['_docTransformSelectionsService'][_0x2b8029(0x359)](_0x17f7bd),'onSyncEditingCollabCursor':_0x405022=>this['_docSyncEditingCollabCursorService'][_0x2b8029(0x13b)](_0x405022),'onTransformRemoteChangesetByIMECache':_0x147da9=>this[_0x2b8029(0x1db)][_0x2b8029(0x2ce)](_0x147da9),'onTransformRemoteChangesetByStateCache':_0x52cc21=>this[_0x2b8029(0x241)]['transformRemoteChangeset'](_0x52cc21)};_0x43c05f[_0x2b8029(0x206)](_0x4f2c86);}}));}};_0x4f247d=_0x337f3e([_0x2c7adc(0x0,_0x4f4b1a[_0x6b9591(0x22e)](_0x2a96f2[_0x6b9591(0x29b)])),_0x2c7adc(0x1,_0x4f4b1a[_0x6b9591(0x22e)](_0x353bdb[_0x6b9591(0x353)])),_0x2c7adc(0x2,_0x4f4b1a[_0x6b9591(0x22e)](_0x1583db)),_0x2c7adc(0x3,_0x4f4b1a['Inject'](_0x429a44)),_0x2c7adc(0x4,_0x4f4b1a[_0x6b9591(0x22e)](_0x3fa842)),_0x2c7adc(0x5,_0x4f4b1a['Inject'](_0x35f7e0)),_0x2c7adc(0x6,_0x124131[_0x6b9591(0x2fb)]),_0x2c7adc(0x7,_0x4f4b1a[_0x6b9591(0x22e)](_0x4f4b1a['LocaleService']))],_0x4f247d);var _0x4cc03a=Object[_0x6b9591(0x158)],_0x454128=(_0x59a24c,_0x7d19f,_0x5bd65d,_0xac4544)=>{const _0x43a17b=_0x6b9591;for(var _0x316a9a=_0xac4544>0x1?void 0x0:_0xac4544?_0x4cc03a(_0x7d19f,_0x5bd65d):_0x7d19f,_0x5b4268=_0x59a24c[_0x43a17b(0x1cb)]-0x1,_0x33130d;_0x5b4268>=0x0;_0x5b4268--)(_0x33130d=_0x59a24c[_0x5b4268])&&(_0x316a9a=_0x33130d(_0x316a9a)||_0x316a9a);return _0x316a9a;},_0x66f667=(_0x549b40,_0x243b5e)=>(_0x4aecab,_0x124ef3)=>_0x243b5e(_0x4aecab,_0x124ef3,_0x549b40);let _0x5535a3=class extends _0x4f4b1a[_0x6b9591(0x169)]{constructor(_0x15c300,_0x34b2ba,_0xd7d968){const _0x2fec29=_0x6b9591;super(),_0x54ef86(this,_0x2fec29(0x2da),new Map()),_0x54ef86(this,_0x2fec29(0x339),new Map()),_0x54ef86(this,'_disabled',!0x1),(this['_configService']=_0x15c300,this['_localStorageService']=_0x34b2ba,this[_0x2fec29(0x173)]=_0xd7d968);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x6b9591(0x357)](){const _0x17baf4=_0x6b9591;this[_0x17baf4(0x10f)]=!0x1;}get[_0x6b9591(0x113)](){const _0x3dc8=_0x6b9591;return this[_0x3dc8(0x339)];}[_0x6b9591(0x161)](){const _0x4c0664=_0x6b9591;this[_0x4c0664(0x266)]()[_0x4c0664(0x34f)](()=>super[_0x4c0664(0x161)]());}async[_0x6b9591(0x13e)](_0x20a9a6){const _0x555ce3=_0x6b9591;return this['_disabled']?null:this['_localStorageService'][_0x555ce3(0x18b)](_0x353bdb[_0x555ce3(0x2f5)](_0x20a9a6));}async['saveOfflineData'](_0x2d7de5,_0x4662be){return!!this['_localStorageService']['setItem'](_0x2d7de5,_0x4662be);}[_0x6b9591(0x2ab)](_0x5b8613,_0x5d0597,_0x3ce286,_0x3274d8){const _0x244530=_0x6b9591,_0x40f878=this[_0x244530(0x173)]['getCurrentRevOfUnit'](_0x5b8613);this['_cachedData'][_0x244530(0x1dd)](_0x5b8613,{'unitID':_0x5b8613,'type':_0x5d0597,'awaitingChangeset':_0x3ce286,'mutations':_0x3274d8,'rev':_0x40f878}),this[_0x244530(0x339)][_0x244530(0x164)](_0x5b8613)||this[_0x244530(0x1b9)](_0x5b8613);}[_0x6b9591(0x1b9)](_0x50635c){const _0x27fb07=_0x6b9591,_0x3e1604=this[_0x27fb07(0x2f4)]();_0x3e1604===0x0?this['_saveCache'](_0x50635c):this[_0x27fb07(0x339)]['set'](_0x50635c,setTimeout(()=>this[_0x27fb07(0x393)](_0x50635c),_0x3e1604));}[_0x6b9591(0x2f4)](){const _0x318173=_0x6b9591;var _0x36ea90;return(_0x36ea90=this['_configService'][_0x318173(0x25a)](_0x353bdb['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x36ea90:_0x353bdb[_0x318173(0x310)];}[_0x6b9591(0x393)](_0x393bfa){const _0x211fea=_0x6b9591,_0x4219e4=this[_0x211fea(0x339)]['get'](_0x393bfa);return _0x4219e4!==void 0x0&&window[_0x211fea(0x258)](_0x4219e4),this['_localStorageService']['setItem'](_0x353bdb[_0x211fea(0x2f5)](_0x393bfa),this[_0x211fea(0x2da)][_0x211fea(0x2b0)](_0x393bfa))[_0x211fea(0x34f)](()=>this['_saveTaskMap'][_0x211fea(0x1df)](_0x393bfa));}async[_0x6b9591(0x266)](){const _0x20ac6e=_0x6b9591,_0x1363ea=[];this['_saveTaskMap'][_0x20ac6e(0x11b)]((_0x2d1a53,_0x1ece34)=>{const _0x5bf7ba=_0x20ac6e;window[_0x5bf7ba(0x258)](_0x2d1a53),_0x1363ea[_0x5bf7ba(0x121)](this[_0x5bf7ba(0x393)](_0x1ece34)[_0x5bf7ba(0x34f)](()=>{const _0x4a4200=_0x5bf7ba;this[_0x4a4200(0x339)][_0x4a4200(0x1df)](_0x1ece34);}));}),await Promise['all'](_0x1363ea);}};_0x5535a3=_0x454128([_0x66f667(0x0,_0x4f4b1a[_0x6b9591(0x2a1)]),_0x66f667(0x1,_0x4f4b1a[_0x6b9591(0x235)]),_0x66f667(0x2,_0x4f4b1a[_0x6b9591(0x22e)](_0x4afe31[_0x6b9591(0x369)]))],_0x5535a3);class _0x3cd49d extends _0x4f4b1a['RxDisposable']{constructor(){const _0x154d78=_0x6b9591;super(),_0x54ef86(this,_0x154d78(0xff)),this['urlChange$']=_0x4c8fcf[_0x154d78(0x283)](window,_0x154d78(0x20d))[_0x154d78(0x342)](_0x4c8fcf[_0x154d78(0x375)](this[_0x154d78(0x311)]),_0x4c8fcf[_0x154d78(0x2d4)](0x1),_0x4c8fcf[_0x154d78(0x214)](void 0x0));}[_0x6b9591(0x1fb)](_0x2b0488,_0xc2af85,_0x34bec1=!0x1){const _0x149238=_0x6b9591,_0x4521a2=new URL(window['location'][_0x149238(0x24a)]);_0x4521a2['searchParams'][_0x149238(0x1dd)](_0x2b0488,_0xc2af85),_0x34bec1?window[_0x149238(0x372)]['replaceState']('','',_0x4521a2['toString']()):window[_0x149238(0x372)][_0x149238(0x183)]('','',_0x4521a2[_0x149238(0x23c)]());}[_0x6b9591(0x36c)](_0x2c111b,_0x282a4e=!0x1){const _0x274de3=_0x6b9591,_0x468de9=new URL(window['location'][_0x274de3(0x24a)]);_0x468de9[_0x274de3(0x269)][_0x274de3(0x1df)](_0x2c111b),_0x282a4e?window[_0x274de3(0x372)][_0x274de3(0x2b5)]('','',_0x468de9[_0x274de3(0x23c)]()):window['history'][_0x274de3(0x183)]('','',_0x468de9['toString']());}['getParam'](_0x5c30b3){const _0x5d5ca1=_0x6b9591;var _0x173e49;return(_0x173e49=new URL(window[_0x5d5ca1(0x1a1)][_0x5d5ca1(0x24a)])[_0x5d5ca1(0x269)][_0x5d5ca1(0x2b0)](_0x5c30b3))!=null?_0x173e49:void 0x0;}}var _0x43e26a=Object[_0x6b9591(0x329)],_0xba8734=Object[_0x6b9591(0x158)],_0x22fb79=(_0x41ee65,_0x4d3c42,_0x193770)=>_0x4d3c42 in _0x41ee65?_0x43e26a(_0x41ee65,_0x4d3c42,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x193770}):_0x41ee65[_0x4d3c42]=_0x193770,_0x3fa0cc=(_0x1fd013,_0x5b2365,_0x1863e1,_0x450ce3)=>{const _0x24e75e=_0x6b9591;for(var _0x1f8994=_0x450ce3>0x1?void 0x0:_0x450ce3?_0xba8734(_0x5b2365,_0x1863e1):_0x5b2365,_0x38b387=_0x1fd013[_0x24e75e(0x1cb)]-0x1,_0x521b11;_0x38b387>=0x0;_0x38b387--)(_0x521b11=_0x1fd013[_0x38b387])&&(_0x1f8994=_0x521b11(_0x1f8994)||_0x1f8994);return _0x1f8994;},_0x519955=(_0x3e8b60,_0x1fe9be)=>(_0x1ef89d,_0x19a565)=>_0x1fe9be(_0x1ef89d,_0x19a565,_0x3e8b60),_0xe66951=(_0x256594,_0x12b11a,_0x201039)=>_0x22fb79(_0x256594,_0x12b11a+'',_0x201039);const _0x2fa5d2=_0x6b9591(0x316);_0x2a7733[_0x6b9591(0x26f)]=class extends _0x4f4b1a[_0x6b9591(0x14a)]{constructor(_0x161ad5=_0xbc1202,_0x229988,_0x1a9c88,_0x1338c4){const _0x3ab7c3=_0x6b9591;super(),this[_0x3ab7c3(0x2b8)]=_0x161ad5,this[_0x3ab7c3(0x251)]=_0x229988,this['_injector']=_0x1a9c88,this[_0x3ab7c3(0x392)]=_0x1338c4;const {..._0x38ceaa}=_0x4f4b1a[_0x3ab7c3(0x315)]({},_0xbc1202,this[_0x3ab7c3(0x2b8)]);this[_0x3ab7c3(0x392)][_0x3ab7c3(0x2c6)](_0x2208a6,_0x38ceaa);}['onStarting'](){const _0xf6e32e=_0x6b9591;this['_registerDependencies'](),this[_0xf6e32e(0x2f0)]();}[_0x6b9591(0x204)](){const _0x17c177=_0x6b9591;this[_0x17c177(0x33d)]();}['_registerDependencies'](){const _0x39be3d=_0x6b9591;var _0x4bc6da;const _0x38e70f=[[_0x3e1aeb],[_0x3fa842],[_0x1583db],[_0x429a44],[_0x35f7e0],[_0x4b3148,{'useClass':_0x3cd49d}],[_0x504bfb[_0x39be3d(0x19c)],{'useClass':_0x504bfb[_0x39be3d(0x123)]}],[_0x353bdb['ILocalCacheService'],{'useClass':_0x5535a3}],[_0x2a7733[_0x39be3d(0x280)]],[_0x4f247d],[_0x1ea07d],[_0x24a51e],[_0x2c4cde],[_0x2a7733['CollaborationDataLoaderController']]];_0x4f4b1a[_0x39be3d(0x13c)](this[_0x39be3d(0x15f)],_0x4f4b1a[_0x39be3d(0x32d)](_0x38e70f,(_0x4bc6da=this['_config'])==null?void 0x0:_0x4bc6da[_0x39be3d(0x125)]));}[_0x6b9591(0x33d)](){const _0x30760b=_0x6b9591;this[_0x30760b(0x132)](this[_0x30760b(0x251)]['registerRenderModule'](_0x4f4b1a[_0x30760b(0x298)][_0x30760b(0x34b)],[_0x3717cb])),this[_0x30760b(0x132)](this[_0x30760b(0x251)][_0x30760b(0x211)](_0x4f4b1a[_0x30760b(0x298)][_0x30760b(0x274)],[_0x46a92e]));}[_0x6b9591(0x2f0)](){const _0x35e7c3=_0x6b9591;_0x4f4b1a[_0x35e7c3(0x28d)](this[_0x35e7c3(0x15f)],[[_0x24a51e],[_0x2a7733[_0x35e7c3(0x280)]],[_0x4f247d],[_0x1ea07d],[_0x2a7733[_0x35e7c3(0x2df)]]]);}},_0xe66951(_0x2a7733[_0x6b9591(0x26f)],_0x6b9591(0x16d),_0x2fa5d2),_0x2a7733['UniverCollaborationClientUIPlugin']=_0x3fa0cc([_0x4f4b1a['DependentOn'](_0x353bdb[_0x6b9591(0x156)]),_0x519955(0x1,_0x4be59a['IRenderManagerService']),_0x519955(0x2,_0x4f4b1a[_0x6b9591(0x22e)](_0x4f4b1a[_0x6b9591(0x172)])),_0x519955(0x3,_0x4f4b1a[_0x6b9591(0x2a1)])],_0x2a7733['UniverCollaborationClientUIPlugin']);var _0x485ea3=Object[_0x6b9591(0x158)],_0x52d1fe=(_0x2f331e,_0x4a6af2,_0x321902,_0x3ec975)=>{const _0x1aec85=_0x6b9591;for(var _0xb4be52=_0x3ec975>0x1?void 0x0:_0x3ec975?_0x485ea3(_0x4a6af2,_0x321902):_0x4a6af2,_0x23bf75=_0x2f331e[_0x1aec85(0x1cb)]-0x1,_0x7eb395;_0x23bf75>=0x0;_0x23bf75--)(_0x7eb395=_0x2f331e[_0x23bf75])&&(_0xb4be52=_0x7eb395(_0xb4be52)||_0xb4be52);return _0xb4be52;},_0x5914fa=(_0x539435,_0x22d72f)=>(_0x234d99,_0x351382)=>_0x22d72f(_0x234d99,_0x351382,_0x539435);_0x2a7733[_0x6b9591(0x1a6)]=class extends _0x353bdb['CollaborationSocketService']{constructor(_0x5bc58b,_0x15fe31,_0xe0257c,_0x16016f,_0x4a7dab){super(_0x5bc58b,_0x15fe31,_0xe0257c,_0x16016f,_0x4a7dab);}async[_0x6b9591(0x322)](_0x3e79ff){const _0x2a0dc4=_0x6b9591,_0x180453=await this[_0x2a0dc4(0x22c)](),_0x469462=this['_createSocketURL'](_0x3e79ff,_0x180453);return this[_0x2a0dc4(0x38c)](_0x469462);}[_0x6b9591(0x197)](_0x56b9f5,_0x42f66b){const _0x4da61d=_0x6b9591,_0x393f14=typeof window>'u'?new URL(_0x56b9f5):new URL(_0x56b9f5,window['location']['origin']);_0x393f14[_0x4da61d(0x269)][_0x4da61d(0x1dd)]('sessionTicket',_0x42f66b);const _0x4e6398=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4da61d(0x1a1)][_0x4da61d(0x1ab)]);return _0x4e6398[_0x4da61d(0x2b0)](_0x4da61d(0x2c0))&&_0x393f14[_0x4da61d(0x269)]['set']('runId',_0x4e6398[_0x4da61d(0x2b0)](_0x4da61d(0x2c0))),_0x393f14['toString']();}async[_0x6b9591(0x22c)](){const _0x299e6c=_0x6b9591;var _0x510188,_0x1d6360,_0x1c11e9;const _0x52fff9=this[_0x299e6c(0x392)][_0x299e6c(0x25a)](_0x353bdb[_0x299e6c(0x24f)]),_0x40deca=(_0x510188=_0x52fff9==null?void 0x0:_0x52fff9['wsSessionTicketUrl'])!=null?_0x510188:_0x353bdb[_0x299e6c(0x13a)];return(_0x1c11e9=(_0x1d6360=(await this[_0x299e6c(0x14f)][_0x299e6c(0x2b0)](_0x40deca,{'headers':{'Content-Type':_0x299e6c(0x277)}}))[_0x299e6c(0x351)])==null?void 0x0:_0x1d6360[_0x299e6c(0x2a4)])!=null?_0x1c11e9:'';}},_0x2a7733[_0x6b9591(0x1a6)]=_0x52d1fe([_0x5914fa(0x0,_0x4f4b1a[_0x6b9591(0x22e)](_0x4f4b1a[_0x6b9591(0x172)])),_0x5914fa(0x1,_0x4f4b1a['Inject'](_0x504bfb['HTTPService'])),_0x5914fa(0x2,_0x4f4b1a['IConfigService']),_0x5914fa(0x3,_0x4f4b1a[_0x6b9591(0x111)]),_0x5914fa(0x4,_0x4afe31[_0x6b9591(0x2b3)])],_0x2a7733[_0x6b9591(0x1a6)]);const _0x2e2d4d=0x7530,_0x45cdd7=_0x6b9591(0xfa);class _0x619342 extends _0x4f4b1a[_0x6b9591(0x169)]{constructor(){const _0x6dd940=_0x6b9591;super(),_0x54ef86(this,_0x6dd940(0x367),_0x4f4b1a[_0x6dd940(0x26b)]()),_0x54ef86(this,_0x6dd940(0x36b),new Set()),_0x54ef86(this,_0x6dd940(0x15b),new Map()),_0x54ef86(this,'_heartbeatTimer',null),_0x54ef86(this,_0x6dd940(0x328),new Map()),_0x54ef86(this,'_unitStatus',new Map()),this[_0x6dd940(0x167)]();}[_0x6b9591(0x161)](){const _0x4e816d=_0x6b9591;super[_0x4e816d(0x161)](),this[_0x4e816d(0x328)][_0x4e816d(0x11b)]((_0x149d03,_0xcc92f0)=>this[_0x4e816d(0x257)](_0xcc92f0)),this[_0x4e816d(0x24c)]&&window[_0x4e816d(0x1c8)](this[_0x4e816d(0x24c)]);}[_0x6b9591(0x304)](_0x4ef0b9){const _0x3cd969=_0x6b9591;return this[_0x3cd969(0x31c)](_0x4ef0b9)['pipe'](_0x4c8fcf[_0x3cd969(0x27f)]());}['editingUnit'](_0x5b0bdd){const _0x3c6772=_0x6b9591;this[_0x3c6772(0x36b)][_0x3c6772(0x223)]===0x0&&this[_0x3c6772(0x268)](),this[_0x3c6772(0x36b)][_0x3c6772(0x2c2)](_0x5b0bdd),this[_0x3c6772(0x27a)]({'type':0x0,'memberID':this[_0x3c6772(0x367)],'unitIDs':[_0x5b0bdd],'isForwarded':!0x1});}[_0x6b9591(0x2e8)](_0x14c2a9){const _0x21271a=_0x6b9591;this[_0x21271a(0x36b)][_0x21271a(0x1df)](_0x14c2a9),this['_selfUnitIDs'][_0x21271a(0x223)]===0x0&&this[_0x21271a(0x24c)]&&window[_0x21271a(0x1c8)](this[_0x21271a(0x24c)]);}[_0x6b9591(0x167)](){const _0x27d8f6=_0x6b9591;this[_0x27d8f6(0x132)](_0x4f4b1a[_0x27d8f6(0x36d)](_0x4c8fcf[_0x27d8f6(0x283)](window,_0x27d8f6(0x116))[_0x27d8f6(0x187)](_0x10b819=>{const _0x4aa856=_0x27d8f6;if(_0x10b819['key']!==_0x45cdd7||!_0x10b819['newValue'])return;const _0x5e2541=JSON[_0x4aa856(0x117)](_0x10b819[_0x4aa856(0x2f9)]);this[_0x4aa856(0x11d)](_0x5e2541);}))),window['addEventListener'](_0x27d8f6(0x2ac),()=>this[_0x27d8f6(0x27a)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}['_handleEvent'](_0x3e612e){const _0x108105=_0x6b9591;switch(_0x3e612e[_0x108105(0x2bf)]){case 0x0:this[_0x108105(0x1c5)](_0x3e612e);break;case 0x1:this['_handleLeaveEvent'](_0x3e612e);break;case 0x2:this[_0x108105(0x2bc)](_0x3e612e);break;}}[_0x6b9591(0x1c5)](_0x3de3a6){const _0x3bb4e=_0x6b9591,{unitIDs:_0x53a888,memberID:_0x1f87de,isForwarded:_0x1a54d8}=_0x3de3a6;_0x53a888[_0x3bb4e(0x11b)](_0x4b745b=>{const _0x2ebc9c=_0x3bb4e;if(!_0x1a54d8&&this[_0x2ebc9c(0x15b)][_0x2ebc9c(0x164)](_0x4b745b)&&this[_0x2ebc9c(0x31c)](_0x4b745b)['next'](_0x353bdb[_0x2ebc9c(0x137)][_0x2ebc9c(0x27e)]),!this[_0x2ebc9c(0x15b)][_0x2ebc9c(0x164)](_0x4b745b)||!this[_0x2ebc9c(0x15b)][_0x2ebc9c(0x2b0)](_0x4b745b)[_0x2ebc9c(0x164)](_0x1f87de)){const _0x3bf84f=this[_0x2ebc9c(0x15b)][_0x2ebc9c(0x2b0)](_0x4b745b)||new Set();_0x3bf84f[_0x2ebc9c(0x2c2)](_0x1f87de),this[_0x2ebc9c(0x15b)][_0x2ebc9c(0x1dd)](_0x4b745b,_0x3bf84f),this[_0x2ebc9c(0x25f)](_0x1f87de);}}),_0x1a54d8||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x3bb4e(0x36b)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x82ae89){const _0x5347d2=_0x6b9591;this['_removeClearOtherTimer'](_0x82ae89);const _0x118a7e=window[_0x5347d2(0x1c6)](()=>{const _0x170f22=_0x5347d2;this[_0x170f22(0x15b)][_0x170f22(0x11b)](_0x332581=>{const _0x4e5389=_0x170f22;_0x332581[_0x4e5389(0x1df)](_0x82ae89);});},_0x2e2d4d*0x2);this[_0x5347d2(0x328)][_0x5347d2(0x1dd)](_0x82ae89,_0x118a7e);}['_removeClearOtherTimer'](_0x5daf68){const _0x32f630=_0x6b9591;if(this[_0x32f630(0x328)][_0x32f630(0x164)](_0x5daf68)){const _0x5ee47e=this[_0x32f630(0x328)][_0x32f630(0x2b0)](_0x5daf68);_0x5ee47e&&window[_0x32f630(0x258)](_0x5ee47e),this[_0x32f630(0x328)][_0x32f630(0x1dd)](_0x5daf68,null);}}['_handleLeaveEvent'](_0x216f22){const _0x475217=_0x6b9591,{memberID:_0x4be71d,unitIDs:_0x5c04fa}=_0x216f22;_0x5c04fa[_0x475217(0x11b)](_0x2c0575=>{const _0x32a4d2=_0x475217;var _0x4bb15c;const _0xf754e7=this[_0x32a4d2(0x15b)]['get'](_0x2c0575);_0xf754e7&&(_0xf754e7[_0x32a4d2(0x1df)](_0x4be71d),(_0x4bb15c=this[_0x32a4d2(0x31c)](_0x2c0575))==null||_0x4bb15c[_0x32a4d2(0x1a5)](_0xf754e7['size']===0x0?_0x353bdb[_0x32a4d2(0x137)]['NO_OTHER_CLIENTS_EDITING']:_0x353bdb[_0x32a4d2(0x137)][_0x32a4d2(0x27e)]));}),this[_0x475217(0x257)](_0x4be71d);}[_0x6b9591(0x2bc)](_0xe34db9){const _0x2e5f42=_0x6b9591;this[_0x2e5f42(0x25f)](_0xe34db9[_0x2e5f42(0x38a)]);}[_0x6b9591(0x27a)](_0x163e2c){localStorage['setItem'](_0x45cdd7,JSON['stringify'](_0x163e2c));}[_0x6b9591(0x268)](){const _0x116f8c=_0x6b9591;this[_0x116f8c(0x24c)]=window['setInterval'](()=>{const _0x43595b=_0x116f8c;this['_send']({'type':0x2,'memberID':this[_0x43595b(0x367)]});},_0x2e2d4d);}[_0x6b9591(0x31c)](_0x191827){const _0x22f958=_0x6b9591;return this[_0x22f958(0x256)][_0x22f958(0x164)](_0x191827)||this[_0x22f958(0x256)]['set'](_0x191827,new _0x4c8fcf['BehaviorSubject'](_0x353bdb[_0x22f958(0x137)][_0x22f958(0x1f6)])),this['_unitStatus'][_0x22f958(0x2b0)](_0x191827);}}var _0x2a49c0=(_0x43b18c=>(_0x43b18c[_0x43b18c['UNDEFINED']=0x0]='UNDEFINED',_0x43b18c[_0x43b18c['OK']=0x1]='OK',_0x43b18c[_0x43b18c[_0x6b9591(0x28c)]=0x2]=_0x6b9591(0x28c),_0x43b18c[_0x43b18c[_0x6b9591(0x1a0)]=0x3]=_0x6b9591(0x1a0),_0x43b18c[_0x43b18c['NOT_FOUND']=0x4]=_0x6b9591(0x252),_0x43b18c[_0x43b18c[_0x6b9591(0x213)]=0x5]=_0x6b9591(0x213),_0x43b18c[_0x43b18c[_0x6b9591(0x305)]=0x6]=_0x6b9591(0x305),_0x43b18c[_0x43b18c[_0x6b9591(0x253)]=0x7]=_0x6b9591(0x253),_0x43b18c[_0x43b18c['TOO_MANY_REQUESTS']=0x8]=_0x6b9591(0x324),_0x43b18c[_0x43b18c['COMPLETION_FINISHED']=0x9]=_0x6b9591(0x2e1),_0x43b18c[_0x43b18c[_0x6b9591(0x395)]=0xa]=_0x6b9591(0x395),_0x43b18c[_0x43b18c['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x6b9591(0x31b),_0x43b18c[_0x43b18c[_0x6b9591(0x264)]=0x1771]=_0x6b9591(0x264),_0x43b18c[_0x43b18c['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x6b9591(0x26d),_0x43b18c[_0x43b18c[_0x6b9591(0x336)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x43b18c[_0x43b18c[_0x6b9591(0x102)]=0x1b59]='APPLY_REJECT',_0x43b18c[_0x43b18c[_0x6b9591(0x1fc)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x43b18c[_0x43b18c[_0x6b9591(0x18a)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x43b18c[_0x43b18c['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x6b9591(0x1d3),_0x43b18c[_0x43b18c[_0x6b9591(0x200)]=0x1b5d]=_0x6b9591(0x200),_0x43b18c[_0x43b18c[_0x6b9591(0x2c1)]=0x1f41]=_0x6b9591(0x2c1),_0x43b18c[_0x43b18c[_0x6b9591(0x338)]=0x2329]=_0x6b9591(0x338),_0x43b18c[_0x43b18c[_0x6b9591(0x246)]=0x232a]=_0x6b9591(0x246),_0x43b18c[_0x43b18c[_0x6b9591(0x2fa)]=0x232b]=_0x6b9591(0x2fa),_0x43b18c[_0x43b18c['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x6b9591(0x1ba),_0x43b18c[_0x43b18c[_0x6b9591(0x1b2)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x43b18c[_0x43b18c[_0x6b9591(0x182)]=0x2711]=_0x6b9591(0x182),_0x43b18c[_0x43b18c[_0x6b9591(0x2f1)]=0x2712]=_0x6b9591(0x2f1),_0x43b18c[_0x43b18c['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x6b9591(0x144),_0x43b18c[_0x43b18c[_0x6b9591(0x24b)]=0x2714]=_0x6b9591(0x24b),_0x43b18c[_0x43b18c[_0x6b9591(0x1ad)]=0x271a]=_0x6b9591(0x1ad),_0x43b18c[_0x43b18c[_0x6b9591(0x22a)]=0x271b]=_0x6b9591(0x22a),_0x43b18c[_0x43b18c[_0x6b9591(0x203)]=0x271c]=_0x6b9591(0x203),_0x43b18c[_0x43b18c[_0x6b9591(0x22f)]=0x271d]=_0x6b9591(0x22f),_0x43b18c[_0x43b18c['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x6b9591(0x1ee),_0x43b18c[_0x43b18c[_0x6b9591(0x295)]=0x271f]=_0x6b9591(0x295),_0x43b18c[_0x43b18c[_0x6b9591(0x354)]=0x2af9]=_0x6b9591(0x354),_0x43b18c[_0x43b18c['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x6b9591(0x35e),_0x43b18c[_0x43b18c[_0x6b9591(0x22d)]=0x2ee2]='INVALID_INVITE_CODE',_0x43b18c[_0x43b18c[_0x6b9591(0x13d)]=0x2ee3]=_0x6b9591(0x13d),_0x43b18c[_0x43b18c[_0x6b9591(0x1da)]=0x2ee4]=_0x6b9591(0x1da),_0x43b18c[_0x43b18c[_0x6b9591(0x1de)]=0x2ee5]=_0x6b9591(0x1de),_0x43b18c[_0x43b18c[_0x6b9591(0x2c9)]=0x32c9]=_0x6b9591(0x2c9),_0x43b18c[_0x43b18c[_0x6b9591(0x314)]=0x32ca]=_0x6b9591(0x314),_0x43b18c[_0x43b18c[_0x6b9591(0x11a)]=0x32cb]=_0x6b9591(0x11a),_0x43b18c[_0x43b18c['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x43b18c))(_0x2a49c0||{}),_0x4fbf59=Object[_0x6b9591(0x158)],_0x3630d3=(_0x4242fe,_0xc9fd4a,_0x7f26bf,_0x1ab8af)=>{const _0x48f2e7=_0x6b9591;for(var _0xfb3778=_0x1ab8af>0x1?void 0x0:_0x1ab8af?_0x4fbf59(_0xc9fd4a,_0x7f26bf):_0xc9fd4a,_0x4617bf=_0x4242fe[_0x48f2e7(0x1cb)]-0x1,_0x564a09;_0x4617bf>=0x0;_0x4617bf--)(_0x564a09=_0x4242fe[_0x4617bf])&&(_0xfb3778=_0x564a09(_0xfb3778)||_0xfb3778);return _0xfb3778;},_0x109e10=(_0xeaaecb,_0x287de6)=>(_0x4e0d23,_0x16f48e)=>_0x287de6(_0x4e0d23,_0x16f48e,_0xeaaecb);_0x2a7733[_0x6b9591(0x233)]=class extends _0x4f4b1a[_0x6b9591(0x169)]{constructor(_0x5bee84,_0x596888,_0x5e31c7){const _0x2cf79a=_0x6b9591;super(),this[_0x2cf79a(0x27d)]=_0x5bee84,this['_httpService']=_0x596888,this['_configService']=_0x5e31c7;}async[_0x6b9591(0x368)](_0x584418,_0x258467,_0x1f4062,..._0x4d6377){const _0x4eb75d=_0x6b9591;var _0x54390f,_0x1baa46,_0x4ec60b,_0x1222f5;const _0x123add=this[_0x4eb75d(0x27d)]['getFocusedUnit']();if(!_0x123add)throw new Error(_0x4eb75d(0x28a));const _0xbab313=((_0x54390f=this[_0x4eb75d(0x392)][_0x4eb75d(0x25a)](_0x353bdb[_0x4eb75d(0x2f2)]))!=null?_0x54390f:_0x353bdb['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x584418+'/run/'+_0x258467,_0x4b6cc8=new URL(window[_0x4eb75d(0x1a1)]['href']),_0x250c7b={'scriptId':_0x584418,'runId':(_0x1baa46=_0x4b6cc8[_0x4eb75d(0x269)][_0x4eb75d(0x2b0)](_0x4eb75d(0x2c0)))!=null?_0x1baa46:'','function':_0x258467,'unitId':_0x123add[_0x4eb75d(0x27c)](),'argsOfFunction':JSON['stringify'](_0x4d6377),'invokeId':(_0x4ec60b=_0x1f4062[_0x4eb75d(0x289)])!=null?_0x4ec60b:'','executionId':(_0x1222f5=_0x1f4062['executionId'])!=null?_0x1222f5:''};try{const _0x5546a2=await this[_0x4eb75d(0x14f)][_0x4eb75d(0x229)](_0xbab313,{'body':_0x250c7b});return _0x5546a2[_0x4eb75d(0x351)][_0x4eb75d(0x1d6)]&&_0x5546a2['body'][_0x4eb75d(0x1d6)][_0x4eb75d(0x309)]!==_0x2a49c0['OK']?_0x4eb75d(0x242):_0x5546a2['body'][_0x4eb75d(0x317)];}catch{return _0x4eb75d(0x242);}}},_0x2a7733['RemoteUniscriptService']=_0x3630d3([_0x109e10(0x0,_0x4f4b1a[_0x6b9591(0x17b)]),_0x109e10(0x1,_0x4f4b1a[_0x6b9591(0x22e)](_0x504bfb[_0x6b9591(0x10a)])),_0x109e10(0x2,_0x4f4b1a[_0x6b9591(0x2a1)])],_0x2a7733['RemoteUniscriptService']),_0x2a7733[_0x6b9591(0x1ec)]=_0x52b7e7,_0x2a7733[_0x6b9591(0x108)]=_0x4b3148,_0x2a7733[_0x6b9591(0x19a)]=_0x20e8ad,_0x2a7733[_0x6b9591(0x288)]=_0x619342,_0x2a7733[_0x6b9591(0x191)]=_0x3cd49d,Object['defineProperty'](_0x2a7733,Symbol[_0x6b9591(0x260)],{'value':'Module'});}));
1
+ function _0x424a(_0x1f78c4,_0x44a558){const _0x81fed0=_0x81fe();return _0x424a=function(_0x424aa0,_0x3ee15a){_0x424aa0=_0x424aa0-0x121;let _0xc0ee4=_0x81fed0[_0x424aa0];return _0xc0ee4;},_0x424a(_0x1f78c4,_0x44a558);}function _0x81fe(){const _0x4e9292=['_docStateChangeManagerService','className','_docSkeleton','UniverSheets','red.300','labelPosition','CONNECTOR_DATA_TOO_LARGE','init','_memberService','wsSessionTicketUrl','blue.400','_scheduleHeartbeat','LOGIN_FAILED','trim','SNAPSHOT_HAS_BEEN_REMOVED','NOT_COLLAB','addHandlerCallback','_colorIndex','DEFAULT_WS_SESSION_TICKET_URL','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','[CollaborationDataLoaderController]','_initResize','CollaborationEvent','debounce','onPointerEnter$','getOwnPropertyDescriptor','origin','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','BehaviorSubject','selection','registerRenderModule','column','idSuffix','defineProperty','_scheduleSaving','_updateCollabCursors','Error','_refreshCollabCursors','getRangePointData','saveOfflineData','CollaborationStatus','APPLY_DUPLICATED','jsxs','APPLY_REVISION_CONFILICT','_send','touchDependencies','ticket','children','PY_RUNTIME_SCRIPT_ERROR','LICENSE_IMPORT_SIZE_EXCEEDED','isEditing','enableLocalCache','hovered','save','_cursorInfo$','assign','event$','UniverUi','SHEET_VIEWPORT_KEY','UnitStatus','purple.300','_transformPreviousActiveRange','getStateCache','createElement','transformIMECache','getFocusedUnit','9717884ACRNCK','NOT_FOUND','_unitOnClients','OffLineIcon','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','InsertRangeMoveDownCommandId','_draw','takeUntil','_logService','Failed','_doCreateSocket','addObjects','_ensureSubject','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','unsubscribe','ISocketService','_docTransformSelectionsService','BuiltInUIPart','session.will-retry','getUnitId','apply','font','getMember','DocStateChangeManagerService','getParam','symbol','CommandType','on-line-icon_clip0_910_349','fromEventSubject','session.connection-failed','RichTextEditingMutation','univerjs-icon\x20univerjs-icon-','_lastPointer','getActiveSheet','onCommandExecuted','toRgbString','getItem','RECT','merge','Injector','LICENSE_EXPORT_SIZE_EXCEEDED','UniverNetwork','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','green.600','disposeWithMe','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','HEADER_MENU','toStringTag','IImageIoService','forwardRef','getSheetObject','DocIMEInputManagerService','startRow','saveTaskMap','_hideTimer','amd','_cachedData','exhaustSavingTask','RegularPolygon','_onCursorDelete','onPointerMove$','status$','_eventUnsubscribe','CollaborationUIEventId','_handleLeaveEvent','useObservable','_color','AWAITING_WITH_PENDING','_assignedColors','_localStorageService','react/jsx-runtime','WECHAT_HAS_BEEN_BOUND','unitId','getMemberID','_messageService','Inject','_saveTaskMap','USER_NOT_INVITED_CODE','UNIVER_SHEET','YUUMI_SUBSCRIPTION_NOT_FOUND','_collaborationUIEventService','RxDisposable','m1Prime','parse','invokeId','runRefRangeMutations','_disabled','_startSheetCollabCursor','findNodePositionByCharIndex','YUUMI_ALL_TABLES_IS_INVALID','univer-mr-2\x20univer-flex\x20univer-text-xl','_revisionService','some','_unitStatus','call','url(#on-line-icon_clip0_910_349)','ColorKit','editingUnit','UniverEngineFormula','_transformUndoRedoStack','_removeClearOtherTimer','ISnapshotServerService','reconnect','_docTransformStateCacheService','registerRefRange','color','ILocalStorageService','SetSelectionsOperation','getDocRanges','getUndoRedoMutationParamsCache','transformMutation','_render','getSheetBySheetId','DesktopCollaborationStatusDisplayController','COLORS','_collabCursorController','lineTo','YUUMI_RATE_OVER_LIMIT','unshift','_getSheetObject','isActive','MOBILE_HAS_BEEN_BOUND','function','onPointerLeave$','_docTransformIMECacheService','_hovered','SheetCollabCursorShape','_docSyncEditingCollabCursorService','complete','_cursorShapes','_initEntityListener','range','getRenderById','UNIVER_DOC','_localCacheService','assignAColorForMemberID','clearTimeout','override','UNAUTHENTICATED','_renderManagerService','1em','@univerjs/ui','cursorInfo','_setupSubUnitSync','error','all','roomMembers','div','IBeforeCloseService','_shapes','USERS_LEAVE','popstate','values','_startDocCollabCursor','endColumn','name','Vector2','textRanges','loadUnit','[RemoteUniscriptService]:\x20no\x20focused\x20unit','colorChannel1','INVALID_ARGUMENT','show','measureText','YUUMI_AI_RUN_FAILED','@univerjs/rpc','currentTheme$','dispose$','Shape','DocCollaborationEntity','APPLY_REJECT','jsx','black','getCurrentUnitForType','none','type','_registerDependencies','_scheduleClearOtherTimer','endRow','then','text','fromEvent','indexOf','_drawTextRange','searchParams','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','registerBeforeClose','_status$','SOCKET_FAILED','UNDEFINED','hasOwnProperty','ICommandService','fillText','svg','Workbook','concat','Rectangle','pipe','_onCursorUpdate','createSocket','handleMoveRange','_toggleOffline','registerDependencies','top','getOffsetConfig','_anchor','OTHER_CLIENT_EDITING','Disposable','collabCursorState$','createInstance','FETCH_MISS','LOCAL_CACHE_INTERVAL_KEY','subscribe','has','permission.title','DocSelectionManagerService','collabStatus.syncing','find','_handleEvent','_toggleOnline','min','switchMap','operators','mapTo','getCollabEntity$','_syncEditingCollabCursorService','handleIRemoveCol','DataLoaderService','next','Unknown\x20user','UniverCore','getAncestorScale','url(#off-line-icon_clip0_910_343)','IUniverInstanceService','InsertRangeMoveRightCommandId','setTimeout','CollaborationSessionService','addEventListener','flatMap','focused$','INVITE_CODE_ALREADY_BOUND','path','collabStatus.fetchMiss','off-line-icon','collab-client.tooltip.reconnect','@univerjs-pro/collaboration','IRemoteInstanceService','INotificationService','_range','SNAPSHOT_INVALID_SNAPSHOT','SheetsSelectionsService','useDependency','CollaborationUIEventService','RemoteUniscriptService','dispose','entries','9cBSTBa','_cursors','WebSocketService','_anchorDot','_urlService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','handleIRemoveRow','from','@univerjs/network','Tools','_transformService','permission.content','getCurrentRevOfUnit','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','setShapeProps','executeCommand','LICENSE_MAX_UNITS_EXCEEDED','_textBubble','UniverProCollaborationClient','AWAITING','asObservable','use','getActiveRange','_httpService','YUUMI_ASYNCIO_CANCELLED','_clearOtherTimers','getColorFromTheme','distinctUntilChanged','_config','...','toString','combineLatest','deserializeRangeWithSheet','setConfig','xlink:href','WebURLService','shareReplay','ACTIVE_UNIT_EVENT_CHANNEL','bottom','_getAnchorBounding','IURLService','setItem','onRendered','setActiveRange','whenReady','CollaborationDataLoaderController','height','useRef','_registerRenderDependencies','@univerjs-pro/collaboration-client','push','icon','MoveRangeCommandId','registerComponent','getValue','#FFF','code','SUBMIT_CHANGESET_TIMEOUT','size','generateRandomId','displayName','getSkeleton','_initEvent','Warning','location','string','DisposableCollection','_selfUnitIDs','http://www.w3.org/2000/svg','eventID','SetWorksheetActivateCommand','handleInsertRangeMoveDown','mask','random','Rect','rxjs','subunit','connectInjector','Optional','SessionStatus','_collabSessionService','setUndoRedoMutationParamsCache','UniverSheetsUi','contains','ALREADY_EXISTS','transformSelections','drawWith','_onRefRangeChange','setInterval','pluginName','VIEW_MAIN','YUUMI_NO_CUBOID_FOR_QUESTION','OFFLINE','IRenderManagerService','@univerjs/design','collaboration.single-unit.warning','collab-rect-range-','_context','getRelativeToViewportCoord','currentColor','ThemeService','IUIPartsService','collabStatus.conflict','closePath','_notificationService','body','arc','transformRemoteChangeset','IDocClipboardService','_configService','redoState','prototype','_getMergeRange','JOIN_ROOM_FAILED','DOC_RANGE_TYPE','IMessageService','rgba(255,\x20255,\x20255,\x200.01)','_handleHover','react','send','unitID','unload','sheetId','_session','COMPLETION_FINISHED','object','forEach','INVITE_CODE_REQUIRED','getLocalCacheKey','INTERNAL_ERROR','onMouseMove','ranges','12OFpiKB','undoState','_roomMembers$','fill','isArray','@univerjs/core','handleInsertRangeMoveRight','_getScale','getTypeOfUnitAdded$','newValue','_hover','href','_commandService','18jUVGvt','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','unit','LICENSE_DISTRO_REJECTED','key','FromArray','_backgroundColor','width','UPDATE_CURSOR','serializeRangeWithSheet','roomMembers$','MessageType','syncEditingCollabCursor','stringify','_drawRectRange','currentSkeleton$','map','removeParam','subscribeEvent','debounceTime','mergeOverrideWithDependencies','isTransformMutationFailure','requireSession','result','@univerjs/drawing','onStarting','OnLineIcon','ITransformService','_transformHistoryAndStateStack','evenodd','UNRECOGNIZED','@univerjs/engine-render','length','_refRangeService','sessionStatus$','transform','replaceState','restore','_labelPosition','fillStyle','_entities','CHANGESET_REVISION_CONFILICT','moveTo','_name','TRANSFORM_CHANGE_OBSERVABLE_TYPE','MUTATION','getCollabCursors$','collabStatus.notCollab','engine','sessionTicket','current','INVALID_INVITE_CODE','/run/','APPLY_NON_SEQUENTIAL_REVISION','NodePositionConvertToRectRange','beginPath','@univerjs/sheets','max','_init','actions','ILogService','setAlpha','_dataLoaderService','subUnitId','getTypeOfUnitDisposed$','collab-text-anchor-','filter','_themeService','_collaborationController','set','26FKzlGp','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','988332ObpSpI','_removeCollabCursors','171474eQqNBB','_setupBeforeClosingHandler','_updateSubUnitFromURLParams','pushState','NodePositionConvertToCursor','deepClone','3463420EOqqlW','sheetID','_handleJoinEvent','_entityInit$','MemberService','@univerjs/docs-ui','_getSessionTicket','setParam','UniverIcon','ENSURE_SNAPSHOT_EXECUTION','ILocalCacheService','LOCAL_CACHE_INTERVAL','_beforeCloseService','m2Prime','attrs','_uiPartsService','hide','_injector','@univerjs/engine-formula','updateOfflineData','Subject','makeDirty','_heartbeatTimer','83850QXsAjm','tag','addObject','loadOfflineData','_id','transformStateCache','0\x200\x2016\x2016','url(#$1','_localeService','throttleTime','ONLINE','UniverInstanceType','CLOSE_ROOM','_collabCursorState$','params','search','data','LocaleService','activeSheet$','DocSkeletonManagerService','translate(.97)','@univerjs/docs','_docClipboardService','Module','_initStatusListener','_colorAssignService','React','clearInterval','_cursor','PENDING','getColor','EffectRefRangId','startColumn','defIds','getConfig','transformMutationsWithChangeset','white','CollaborationController','handleInsertCol','HTTPService','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','clipPath','UniverDocsUi','mutations','SetTextSelectionsOperation','14jajQsq','UniverCollaborationClientUIPlugin','EMAIL_HAS_BEEN_BOUND','UniverRpc','RefRangeService','_sheetSkeletonManagerService','_createSocketURL','collaboration.closeRoom','storage','getSheetId','delete','getOwnPropertySymbols','doc.mutation.rich-text-editing','replace','get','collabStatus.synced','_handleHeartbeatEvent','onLocalMutation','_initStatusComponent','PERMISSION_DENIED','_updateLocalCursor','row','INVITE_CODE_HAS_BEEN_UES','isTransformMutationsWithChangesetSuccess','session.collaboration-timeout','_saveCache','IConfigService','CollaborationStatusDisplay','UniverDrawing','DeleteRangeMoveUpCommandId','urlChange$','YUUMI_URL_COL_OUT_OF_RANGE','RemoveRowCommandId','getCoordByCell','M0\x200H16V16H0z','NO_OTHER_CLIENTS_EDITING','rxjs/operators','runId','_online','5399312kwWrTx','getUnitStatus$','add','_docSkeletonManagerService','43726TGHiyq','TOO_MANY_REQUESTS','with','_scene','TEXT_RANGE_LAYER_INDEX','history','CONFLICT','extend','includes','defs','cursorInfo$','jiqing.500','_univerInstanceService','replaceDocRanges','BrowserCollaborationSocketService','toDisposable'];_0x81fe=function(){return _0x4e9292;};return _0x81fe();}(function(_0x3ee025,_0x33a841){const _0x3cd7c2=_0x424a,_0x17c090=_0x3ee025();while(!![]){try{const _0x4c6b8d=-parseInt(_0x3cd7c2(0x2bc))/0x1*(-parseInt(_0x3cd7c2(0x243))/0x2)+parseInt(_0x3cd7c2(0x16c))/0x3*(parseInt(_0x3cd7c2(0x245))/0x4)+-parseInt(_0x3cd7c2(0x24d))/0x5+-parseInt(_0x3cd7c2(0x247))/0x6*(-parseInt(_0x3cd7c2(0x291))/0x7)+parseInt(_0x3cd7c2(0x2b8))/0x8+-parseInt(_0x3cd7c2(0x1fd))/0x9*(parseInt(_0x3cd7c2(0x264))/0xa)+parseInt(_0x3cd7c2(0x30e))/0xb*(-parseInt(_0x3cd7c2(0x1f0))/0xc);if(_0x4c6b8d===_0x33a841)break;else _0x17c090['push'](_0x17c090['shift']());}catch(_0x248749){_0x17c090['push'](_0x17c090['shift']());}}}(_0x81fe,0x6d95d),function(_0x22daa7,_0x3ba311){const _0x3796ac=_0x424a;typeof exports==_0x3796ac(0x1e9)&&typeof module<'u'?_0x3ba311(exports,require(_0x3796ac(0x19d)),require(_0x3796ac(0x1f5)),require(_0x3796ac(0x21c)),require(_0x3796ac(0x174)),require(_0x3796ac(0x252)),require(_0x3796ac(0x215)),require('rxjs'),require(_0x3796ac(0x279)),require(_0x3796ac(0x161)),require(_0x3796ac(0x25f)),require(_0x3796ac(0x235)),require(_0x3796ac(0x2b5)),require('@univerjs/sheets-ui'),require(_0x3796ac(0x354)),require(_0x3796ac(0x39b)),require(_0x3796ac(0x1ca)),require(_0x3796ac(0x1e2)),require(_0x3796ac(0x3b3))):typeof define==_0x3796ac(0x388)&&define[_0x3796ac(0x345)]?define(['exports','@univerjs-pro/collaboration-client',_0x3796ac(0x1f5),_0x3796ac(0x21c),_0x3796ac(0x174),_0x3796ac(0x252),_0x3796ac(0x215),_0x3796ac(0x1b7),_0x3796ac(0x279),'@univerjs-pro/collaboration',_0x3796ac(0x25f),_0x3796ac(0x235),_0x3796ac(0x2b5),'@univerjs/sheets-ui','react/jsx-runtime',_0x3796ac(0x39b),_0x3796ac(0x1ca),_0x3796ac(0x1e2),_0x3796ac(0x3b3)],_0x3ba311):(_0x22daa7=typeof globalThis<'u'?globalThis:_0x22daa7||self,_0x3ba311(_0x22daa7['UniverProCollaborationClientUi']={},_0x22daa7[_0x3796ac(0x17e)],_0x22daa7[_0x3796ac(0x152)],_0x22daa7['UniverEngineRender'],_0x22daa7[_0x3796ac(0x337)],_0x22daa7[_0x3796ac(0x28e)],_0x22daa7[_0x3796ac(0x2ad)],_0x22daa7[_0x3796ac(0x1b7)],_0x22daa7['UniverDocs'],_0x22daa7['UniverProCollaboration'],_0x22daa7[_0x3796ac(0x370)],_0x22daa7[_0x3796ac(0x2cf)],_0x22daa7[_0x3796ac(0x1b7)][_0x3796ac(0x14a)],_0x22daa7[_0x3796ac(0x1be)],_0x22daa7[_0x3796ac(0x27e)],_0x22daa7[_0x3796ac(0x305)],_0x22daa7['UniverDesign'],_0x22daa7[_0x3796ac(0x27e)],_0x22daa7[_0x3796ac(0x294)]));}(this,function(_0x57e2df,_0x19b52f,_0x333829,_0x1e4d9a,_0x498070,_0x5cd28b,_0x3e2c6c,_0x21dbc8,_0x3cc684,_0x2efac4,_0x3186be,_0x36f408,_0x74988e,_0x76017c,_0x155526,_0x47db79,_0xffead9,_0x57419d,_0x2f33ce){'use strict';const _0x52fe9a=_0x424a;var _0x23bb70=Object[_0x52fe9a(0x2ed)],_0x445169=(_0xf00fb1,_0x539043,_0x16dea3)=>_0x539043 in _0xf00fb1?_0x23bb70(_0xf00fb1,_0x539043,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x16dea3}):_0xf00fb1[_0x539043]=_0x16dea3,_0x4e27f7=(_0x3b4a42,_0x12f5bd,_0x324f39)=>_0x445169(_0x3b4a42,typeof _0x12f5bd!=_0x52fe9a(0x327)?_0x12f5bd+'':_0x12f5bd,_0x324f39),_0x158c2b=Object['getOwnPropertyDescriptor'],_0x500a39=(_0x1fbbab,_0x42cfa2,_0x443584,_0x47f8c8)=>{for(var _0x3731f8=_0x47f8c8>0x1?void 0x0:_0x47f8c8?_0x158c2b(_0x42cfa2,_0x443584):_0x42cfa2,_0x952ac0=_0x1fbbab['length']-0x1,_0x3c4e97;_0x952ac0>=0x0;_0x952ac0--)(_0x3c4e97=_0x1fbbab[_0x952ac0])&&(_0x3731f8=_0x3c4e97(_0x3731f8)||_0x3731f8);return _0x3731f8;},_0x4b8cc5=(_0x1bff8c,_0x47e8e0)=>(_0x516a12,_0x1f2994)=>_0x47e8e0(_0x516a12,_0x1f2994,_0x1bff8c);let _0x291a06=class extends _0x333829['RxDisposable']{constructor(_0x1e8b3d,_0x588215){const _0x215f14=_0x52fe9a;super(),this[_0x215f14(0x27a)]=_0x1e8b3d,this['_imageIoService']=_0x588215,this[_0x215f14(0x237)]();}[_0x52fe9a(0x237)](){const _0x33e0b6=this;this['disposeWithMe'](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x2f3802=>{const _0x3f67b5=await _0x33e0b6['_imageIoService']['saveImage'](_0x2f3802);return _0x3f67b5?{'source':_0x3f67b5['source'],'imageSourceType':_0x3f67b5['imageSourceType']}:null;}}));}};_0x291a06=_0x500a39([_0x4b8cc5(0x0,_0x5cd28b[_0x52fe9a(0x1d8)]),_0x4b8cc5(0x1,_0x3e2c6c[_0x52fe9a(0x33e)])],_0x291a06);const _0x30b9d4=[_0x52fe9a(0x308),_0x52fe9a(0x2c7),_0x52fe9a(0x339),_0x52fe9a(0x2d0),_0x52fe9a(0x2d6),'yellow.400'];class _0x35591e extends _0x333829['Disposable']{constructor(){const _0x463423=_0x52fe9a;super(...arguments),_0x4e27f7(this,_0x463423(0x352),new Map()),_0x4e27f7(this,_0x463423(0x2dd),0x0);}[_0x52fe9a(0x395)](_0x535c82){const _0x230f82=_0x52fe9a;if(this['_assignedColors'][_0x230f82(0x141)](_0x535c82))return this[_0x230f82(0x352)]['get'](_0x535c82);const _0x2511fd=_0x30b9d4[this[_0x230f82(0x2dd)]];return this[_0x230f82(0x2dd)]=(this[_0x230f82(0x2dd)]+0x1)%_0x30b9d4['length'],this[_0x230f82(0x352)][_0x230f82(0x242)](_0x535c82,_0x2511fd),_0x2511fd;}}function _0x3d8609(_0x32fa9){const _0x50a4b2=_0x52fe9a;let _0x2b2540='';for(const _0x39fd72 of _0x32fa9){const {startOffset:_0x44a327,endOffset:_0x450311,isActive:_0x37528f,rangeType:_0x26a0f3,segmentId:_0xef42cc,segmentPage:_0x26a596}=_0x39fd72;_0x2b2540[_0x50a4b2(0x21d)]&&(_0x2b2540+=','),_0x2b2540+=_0x44a327+':'+_0x450311+':'+(_0x37528f?'1':'0')+':'+_0x26a0f3+':'+_0xef42cc+':'+_0x26a596;}return _0x2b2540;}function _0x487fad(_0x272cee){const _0x1e64da=_0x52fe9a,_0x12f8e1=_0x272cee['split'](','),_0x595c44=[];for(const _0x8c12ed of _0x12f8e1){const [_0x3edd9a,_0x5c2394,_0x5da62e,_0x428268,_0x31bc92,_0x4c6bc9]=_0x8c12ed['split'](':');_0x595c44['push']({'startOffset':Number(_0x3edd9a),'endOffset':Number(_0x5c2394),'collapsed':_0x3edd9a===_0x5c2394,'isActive':_0x5da62e==='1','rangeType':_0x428268===_0x333829[_0x1e64da(0x1de)]['TEXT']?_0x333829[_0x1e64da(0x1de)]['TEXT']:_0x333829['DOC_RANGE_TYPE'][_0x1e64da(0x333)],'segmentId':typeof _0x31bc92=='string'?String(_0x31bc92):'','segmentPage':Number(_0x4c6bc9!=null?_0x4c6bc9:-0x1)});}return _0x595c44[_0x1e64da(0x36a)](_0x3d545e=>_0x3d545e[_0x1e64da(0x386)])||(_0x595c44[0x0]['isActive']=!0x0),_0x595c44;}class _0x23fd98 extends _0x333829[_0x52fe9a(0x35f)]{constructor(){const _0xb2896e=_0x52fe9a;super(...arguments),_0x4e27f7(this,_0xb2896e(0x271),new _0x21dbc8[(_0xb2896e(0x2e8))](null)),_0x4e27f7(this,_0xb2896e(0x13c),this[_0xb2896e(0x271)][_0xb2896e(0x180)]());}[_0x52fe9a(0x209)](_0x327f3d){const _0x43feab=_0x52fe9a,{unitID:_0x21a5a6,memberID:_0x18260c,textRanges:_0x4658eb}=_0x327f3d,_0x2f4c7f=_0x3d8609(_0x4658eb);if(_0x2f4c7f==='')return;const _0x5438cf={'unitID':_0x21a5a6,'memberID':_0x18260c,'selection':_0x2f4c7f};this['_collabCursorState$'][_0x43feab(0x150)](_0x5438cf);}}var _0x341213=Object['getOwnPropertyDescriptor'],_0x49afd7=(_0x29df42,_0x11f242,_0x5c3f26,_0x3569cf)=>{const _0x554306=_0x52fe9a;for(var _0x566e92=_0x3569cf>0x1?void 0x0:_0x3569cf?_0x341213(_0x11f242,_0x5c3f26):_0x11f242,_0x2d3891=_0x29df42[_0x554306(0x21d)]-0x1,_0x5be380;_0x2d3891>=0x0;_0x2d3891--)(_0x5be380=_0x29df42[_0x2d3891])&&(_0x566e92=_0x5be380(_0x566e92)||_0x566e92);return _0x566e92;},_0x5213ed=(_0x55ab48,_0x427062)=>(_0x5a01cf,_0x52cac)=>_0x427062(_0x5a01cf,_0x52cac,_0x55ab48);const _0x49f87e=0x12c,_0x182bcb=0x64;let _0x130737=class extends _0x333829[_0x52fe9a(0x35f)]{constructor(_0x521d53,_0x46f02a,_0x105dc4,_0x410a93,_0x204dd6,_0x23f718,_0x26d5a3,_0xb0456,_0x41b8c9){const _0x19ef68=_0x52fe9a;super(),_0x4e27f7(this,_0x19ef68(0x2b7),!0x1),_0x4e27f7(this,_0x19ef68(0x237),!0x1),_0x4e27f7(this,_0x19ef68(0x302),new _0x21dbc8['BehaviorSubject'](new Map())),_0x4e27f7(this,_0x19ef68(0x2c6),this[_0x19ef68(0x302)][_0x19ef68(0x180)]()),_0x4e27f7(this,_0x19ef68(0x1f2),new _0x21dbc8['BehaviorSubject']([])),_0x4e27f7(this,_0x19ef68(0x207),this[_0x19ef68(0x1f2)][_0x19ef68(0x131)](_0x21dbc8[_0x19ef68(0x210)](_0x49f87e))),_0x4e27f7(this,'_updateLocalCursor',_0x333829[_0x19ef68(0x2e3)](_0x236949=>{const _0x98ad00=_0x19ef68,_0x467398={'eventID':_0x2efac4['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x98ad00(0x1e4)],'memberID':this['_session'][_0x98ad00(0x357)](),'selection':_0x3d8609(_0x236949)}};this[_0x98ad00(0x1e7)][_0x98ad00(0x1e3)](_0x467398,this[_0x98ad00(0x1e4)]);},_0x182bcb)),(this['unitID']=_0x521d53,this[_0x19ef68(0x1e7)]=_0x46f02a,this[_0x19ef68(0x25e)]=_0x105dc4,this[_0x19ef68(0x27d)]=_0x410a93,this['_memberService']=_0x204dd6,this[_0x19ef68(0x14d)]=_0x23f718,this[_0x19ef68(0x176)]=_0x26d5a3,this[_0x19ef68(0x2c8)]=_0xb0456,this[_0x19ef68(0x1fc)]=_0x41b8c9);}get[_0x52fe9a(0x39c)](){const _0x14cc26=_0x52fe9a;return this[_0x14cc26(0x302)]['getValue']();}get[_0x52fe9a(0x3a0)](){const _0x1234d6=_0x52fe9a;return this[_0x1234d6(0x1f2)][_0x1234d6(0x1a2)]();}['dispose'](){const _0x35c8b1=_0x52fe9a;super[_0x35c8b1(0x16a)](),this['_cursorInfo$']['next'](new Map()),this[_0x35c8b1(0x302)]['complete'](),this[_0x35c8b1(0x1f2)][_0x35c8b1(0x150)]([]),this[_0x35c8b1(0x1f2)][_0x35c8b1(0x38e)]();}[_0x52fe9a(0x2d3)](){const _0x3c0696=_0x52fe9a;this[_0x3c0696(0x237)]||(this[_0x3c0696(0x237)]=!0x0,this[_0x3c0696(0x1e7)][_0x3c0696(0x21f)]['pipe'](_0x21dbc8['takeUntil'](this[_0x3c0696(0x3b5)]))[_0x3c0696(0x140)](_0x327e6b=>{const _0xdfaed7=_0x3c0696;_0x327e6b===_0x19b52f['SessionStatus']['ONLINE']?this[_0xdfaed7(0x147)]():this[_0xdfaed7(0x135)]();}),this[_0x3c0696(0x1e7)][_0x3c0696(0x304)][_0x3c0696(0x131)](_0x21dbc8['takeUntil'](this[_0x3c0696(0x3b5)]))[_0x3c0696(0x140)](_0x4504e0=>{const _0x1e02f3=_0x3c0696,_0x197304=_0x4504e0[_0x1e02f3(0x1b1)];_0x197304===_0x2efac4[_0x1e02f3(0x2e2)][_0x1e02f3(0x205)]&&this['_onCursorUpdate'](_0x4504e0),_0x197304===_0x2efac4[_0x1e02f3(0x2e2)][_0x1e02f3(0x3a4)]&&this[_0x1e02f3(0x349)](_0x4504e0);}),this[_0x3c0696(0x33a)](this[_0x3c0696(0x1fc)][_0x3c0696(0x330)](_0x4391bc=>{const _0x395ad1=_0x3c0696,_0x447bae=_0x4391bc[_0x395ad1(0x272)];_0x447bae!=null&&this[_0x395ad1(0x2b7)]&&_0x4391bc['id']===_0x3cc684[_0x395ad1(0x290)]['id']&&_0x447bae['unitId']===this['unitID']&&_0x447bae[_0x395ad1(0x2fe)]===!0x1&&_0x447bae['ranges'][_0x395ad1(0x21d)]>0x0&&this[_0x395ad1(0x2a5)](_0x447bae[_0x395ad1(0x1ef)]);})),this[_0x3c0696(0x14d)]['collabCursorState$'][_0x3c0696(0x131)](_0x21dbc8[_0x3c0696(0x315)](this['dispose$']))['subscribe'](_0x145708=>{const _0x4dbc55=_0x3c0696;if((_0x145708==null?void 0x0:_0x145708[_0x4dbc55(0x1e4)])!==this['unitID'])return;const _0x70d5e6={'eventID':_0x2efac4[_0x4dbc55(0x2e2)][_0x4dbc55(0x205)],'data':_0x145708};this['_onCursorUpdate'](_0x70d5e6);}),this[_0x3c0696(0x33a)](this['_commandService']['onCommandExecuted'](_0x5994c7=>{const _0x149f5c=_0x3c0696;if(_0x5994c7[_0x149f5c(0x272)]==null)return;const _0x215fca=_0x5994c7[_0x149f5c(0x272)];if(_0x5994c7['id']!==_0x3cc684[_0x149f5c(0x32c)]['id']||_0x215fca[_0x149f5c(0x356)]!==this[_0x149f5c(0x1e4)])return;const _0x5285c9={'id':_0x149f5c(0x29d),'params':_0x215fca},_0x49be64=this[_0x149f5c(0x39c)];for(const [_0x441ab4,_0xc89795]of _0x49be64){const _0x2f770c={'id':_0x149f5c(0x29d),'params':{'unitId':this[_0x149f5c(0x1e4)],'actions':null,'textRanges':_0xc89795[_0x149f5c(0x1ef)]}},_0x4c9846=this['_transformService']['transformMutation'](_0x5285c9,_0x2f770c,!0x1);if(_0x2efac4[_0x149f5c(0x212)](_0x4c9846))throw _0x4c9846[_0x149f5c(0x39e)];_0x49be64['set'](_0x441ab4,{..._0xc89795,'ranges':_0x4c9846[_0x149f5c(0x25a)][_0x149f5c(0x272)]['textRanges']});}queueMicrotask(()=>{const _0x44136f=_0x149f5c;this[_0x44136f(0x302)][_0x44136f(0x150)](_0x49be64);});})));}[_0x52fe9a(0x132)](_0x33c2c0){const _0x3d543d=_0x52fe9a;var _0x318d0d,_0x37a5f5;const {memberID:_0x5294ee,selection:_0x46f78a}=_0x33c2c0[_0x3d543d(0x274)],_0x124f20=_0x487fad(_0x46f78a),_0x19a745=(_0x37a5f5=(_0x318d0d=this[_0x3d543d(0x2d4)][_0x3d543d(0x324)](this[_0x3d543d(0x1e4)],_0x5294ee))==null?void 0x0:_0x318d0d[_0x3d543d(0x3a9)])!=null?_0x37a5f5:'Unknown\x20user',_0x4211a4={'color':this[_0x3d543d(0x27d)]['assignAColorForMemberID'](_0x5294ee),'name':_0x19a745,'ranges':_0x124f20},_0x4c1f1f=this[_0x3d543d(0x39c)];_0x4c1f1f[_0x3d543d(0x242)](_0x5294ee,_0x4211a4),this['_cursorInfo$']['next'](_0x4c1f1f);}[_0x52fe9a(0x349)](_0x3372db){const _0x13b0ff=_0x52fe9a,{memberID:_0x302207}=_0x3372db['data'],_0x223050=this[_0x13b0ff(0x39c)];_0x223050[_0x13b0ff(0x29b)](_0x302207),this[_0x13b0ff(0x302)]['next'](_0x223050);}[_0x52fe9a(0x147)](){const _0x4948b9=_0x52fe9a;var _0xc0926a;if(this[_0x4948b9(0x2b7)]=!0x0,((_0xc0926a=this[_0x4948b9(0x2c8)]['getFocusedUnit']())==null?void 0x0:_0xc0926a[_0x4948b9(0x321)]())!==this['unitID'])return;const _0x3662e3=this['_injector'][_0x4948b9(0x29f)](_0x3cc684[_0x4948b9(0x143)])['getDocRanges']();Array['isArray'](_0x3662e3)&&_0x3662e3[_0x4948b9(0x21d)]>0x0&&this[_0x4948b9(0x2a5)](_0x3662e3);}['_toggleOffline'](){const _0x31fcde=_0x52fe9a;this[_0x31fcde(0x2b7)]=!0x1;}};_0x130737=_0x49afd7([_0x5213ed(0x2,_0x333829['Inject'](_0x333829[_0x52fe9a(0x335)])),_0x5213ed(0x3,_0x333829[_0x52fe9a(0x359)](_0x35591e)),_0x5213ed(0x4,_0x333829[_0x52fe9a(0x359)](_0x19b52f['MemberService'])),_0x5213ed(0x5,_0x333829[_0x52fe9a(0x359)](_0x23fd98)),_0x5213ed(0x6,_0x2efac4[_0x52fe9a(0x218)]),_0x5213ed(0x7,_0x333829[_0x52fe9a(0x155)]),_0x5213ed(0x8,_0x333829['ICommandService'])],_0x130737);var _0x53adbe=Object[_0x52fe9a(0x2e5)],_0x5229c7=(_0x26d27a,_0x1428ac,_0x2bf532,_0x3c21d)=>{for(var _0x3095f6=_0x3c21d>0x1?void 0x0:_0x3c21d?_0x53adbe(_0x1428ac,_0x2bf532):_0x1428ac,_0x450422=_0x26d27a['length']-0x1,_0x34684c;_0x450422>=0x0;_0x450422--)(_0x34684c=_0x26d27a[_0x450422])&&(_0x3095f6=_0x34684c(_0x3095f6)||_0x3095f6);return _0x3095f6;},_0x2e59f9=(_0x1ab1ce,_0x4bb171)=>(_0x129e78,_0x335501)=>_0x4bb171(_0x129e78,_0x335501,_0x1ab1ce);const _0x5ae2aa=0x12c,_0x35f426=0x64,_0x37beba=()=>{let _0xaefe24=[],_0x41dbde=!0x1;return _0x6a066a=>{const _0xfb06ab=_0x424a;_0xaefe24[_0xfb06ab(0x19e)](_0x6a066a),_0x41dbde||(_0x41dbde=!0x0,setTimeout(()=>{_0xaefe24['forEach'](_0x1c1018=>_0x1c1018()),_0xaefe24=[],_0x41dbde=!0x1;}));};};let _0x4e802b=class extends _0x333829['RxDisposable']{constructor(_0x1d5d23,_0xd00bd4,_0x173b30,_0xc0f0f4,_0x427bb5,_0x5e84a3,_0x440b80,_0x1a3eaf){const _0x2a2438=_0x52fe9a;super(),_0x4e27f7(this,'_online',!0x1),_0x4e27f7(this,_0x2a2438(0x237),!0x1),_0x4e27f7(this,_0x2a2438(0x302),new _0x21dbc8['BehaviorSubject'](new Map())),_0x4e27f7(this,_0x2a2438(0x2c6),this[_0x2a2438(0x302)]['asObservable']()),_0x4e27f7(this,_0x2a2438(0x1f2),new _0x21dbc8[(_0x2a2438(0x2e8))]([])),_0x4e27f7(this,_0x2a2438(0x207),this['_roomMembers$'][_0x2a2438(0x131)](_0x21dbc8[_0x2a2438(0x210)](_0x5ae2aa))),_0x4e27f7(this,_0x2a2438(0x2a5),_0x333829['debounce']((_0x4c6e6a,_0x4c9c20)=>{const _0x3eccbc=_0x2a2438,_0x1b9163={'eventID':_0x2efac4[_0x3eccbc(0x2e2)][_0x3eccbc(0x205)],'data':{'unitID':this['unitID'],'memberID':this['_session']['getMemberID'](),'selection':_0x3186be[_0x3eccbc(0x206)](_0x4c6e6a,_0x4c9c20[_0x3eccbc(0x391)])}};this['_session'][_0x3eccbc(0x1e3)](_0x1b9163,this[_0x3eccbc(0x1e4)]);},_0x35f426)),(this['unitID']=_0x1d5d23,this['_session']=_0xd00bd4,this[_0x2a2438(0x25e)]=_0x173b30,this[_0x2a2438(0x27d)]=_0xc0f0f4,this[_0x2a2438(0x2d4)]=_0x427bb5,this[_0x2a2438(0x2c8)]=_0x5e84a3,this[_0x2a2438(0x1fc)]=_0x440b80,this[_0x2a2438(0x21e)]=_0x1a3eaf);}get[_0x52fe9a(0x39c)](){const _0x40054e=_0x52fe9a;return this[_0x40054e(0x302)][_0x40054e(0x1a2)]();}get[_0x52fe9a(0x3a0)](){const _0x23d83d=_0x52fe9a;return this[_0x23d83d(0x1f2)]['getValue']();}[_0x52fe9a(0x16a)](){const _0x38678e=_0x52fe9a;super[_0x38678e(0x16a)](),this['_cursorInfo$']['next'](new Map()),this['_cursorInfo$'][_0x38678e(0x38e)](),this['_roomMembers$']['next']([]),this[_0x38678e(0x1f2)]['complete']();}[_0x52fe9a(0x2d3)](){const _0x288de3=_0x52fe9a;this['_init']||(this['_init']=!0x0,this[_0x288de3(0x1e7)][_0x288de3(0x21f)]['pipe'](_0x21dbc8[_0x288de3(0x315)](this['dispose$']))[_0x288de3(0x140)](_0x4825c2=>{const _0x21ab72=_0x288de3;_0x4825c2===_0x19b52f[_0x21ab72(0x1bb)][_0x21ab72(0x26e)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x288de3(0x1e7)]['event$'][_0x288de3(0x131)](_0x21dbc8['takeUntil'](this[_0x288de3(0x3b5)]))[_0x288de3(0x140)](_0x218943=>{const _0x449faa=_0x288de3,_0x33387e=_0x218943[_0x449faa(0x1b1)];_0x33387e===_0x2efac4[_0x449faa(0x2e2)][_0x449faa(0x205)]&&this[_0x449faa(0x132)](_0x218943),_0x33387e===_0x2efac4[_0x449faa(0x2e2)][_0x449faa(0x3a4)]&&this[_0x449faa(0x349)](_0x218943);}),this[_0x288de3(0x1c3)](),this[_0x288de3(0x33a)](this['_commandService'][_0x288de3(0x330)](_0x1e5553=>{const _0x2bdb46=_0x288de3;if(this[_0x2bdb46(0x2b7)]&&_0x1e5553['id']===_0x36f408[_0x2bdb46(0x379)]['id']&&_0x1e5553[_0x2bdb46(0x272)][_0x2bdb46(0x356)]===this[_0x2bdb46(0x1e4)]){const _0x36230e=_0x1e5553[_0x2bdb46(0x272)];this[_0x2bdb46(0x2a5)](_0x36230e[_0x2bdb46(0x23c)],_0x36230e['selections'][0x0]);}})));}[_0x52fe9a(0x132)](_0x94f7f){const _0x1182d8=_0x52fe9a;var _0x2632f4,_0x3d9576;const {memberID:_0x13c946,selection:_0x4f7645}=_0x94f7f[_0x1182d8(0x274)],{sheetName:_0x39a178,range:_0x77d9f9}=_0x3186be[_0x1182d8(0x18c)](_0x4f7645),_0x531518={'name':(_0x3d9576=(_0x2632f4=this['_memberService'][_0x1182d8(0x324)](this[_0x1182d8(0x1e4)],_0x13c946))==null?void 0x0:_0x2632f4['name'])!=null?_0x3d9576:_0x1182d8(0x151),'range':this[_0x1182d8(0x1dc)](_0x39a178,_0x77d9f9),'sheetID':_0x39a178,'color':this[_0x1182d8(0x27d)][_0x1182d8(0x395)](_0x13c946),'selection':_0x4f7645},_0x141a2e=this[_0x1182d8(0x39c)];_0x141a2e[_0x1182d8(0x242)](_0x13c946,_0x531518),this['_cursorInfo$']['next'](_0x141a2e);}['_onCursorDelete'](_0x19eea4){const _0x147137=_0x52fe9a,{memberID:_0xfc9d63}=_0x19eea4[_0x147137(0x274)],_0x302e33=this[_0x147137(0x39c)];_0x302e33[_0x147137(0x29b)](_0xfc9d63),this[_0x147137(0x302)]['next'](_0x302e33);}['_getMergeRange'](_0x3486fb,_0x11f6c1){const _0x454854=_0x52fe9a;var _0x32bd03,_0x50c5bf;const _0x191a14=(_0x50c5bf=(_0x32bd03=this['_univerInstanceService']['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x32bd03[_0x454854(0x37e)](_0x3486fb))==null?void 0x0:_0x50c5bf['getMergeData']();return(_0x191a14==null?void 0x0:_0x191a14[_0x454854(0x145)](_0x549307=>_0x333829[_0x454854(0x130)][_0x454854(0x1bf)](_0x549307,_0x11f6c1)))||_0x11f6c1;}[_0x52fe9a(0x1c3)](){const _0x462914=_0x52fe9a,_0x17336a=new _0x333829[(_0x462914(0x1ae))](),_0x4bedc4=_0x37beba(),_0x1d516f=()=>{const _0xa6ac59=_0x462914;_0x17336a[_0xa6ac59(0x16a)]();const _0x39e1bc=(_0x30085d,_0x3a0dba,_0x3f9f55,_0x584ec7)=>{const _0x361f8d=_0xa6ac59;let _0xc9024b=[];switch(_0x30085d['id']){case _0x36f408[_0x361f8d(0x283)]['DeleteRangeMoveLeftCommandId']:{_0xc9024b=_0x36f408['handleDeleteRangeMoveLeft'](_0x30085d,_0x584ec7);break;}case _0x36f408[_0x361f8d(0x283)][_0x361f8d(0x2ae)]:{_0xc9024b=_0x36f408['handleDeleteRangeMoveUp'](_0x30085d,_0x584ec7);break;}case _0x36f408[_0x361f8d(0x283)]['InsertColCommandId']:{_0xc9024b=_0x36f408[_0x361f8d(0x28a)](_0x30085d,_0x584ec7);break;}case _0x36f408[_0x361f8d(0x283)][_0x361f8d(0x313)]:{_0xc9024b=_0x36f408[_0x361f8d(0x1b3)](_0x30085d,_0x584ec7);break;}case _0x36f408[_0x361f8d(0x283)][_0x361f8d(0x156)]:{_0xc9024b=_0x36f408[_0x361f8d(0x1f6)](_0x30085d,_0x584ec7);break;}case _0x36f408[_0x361f8d(0x283)]['InsertRowCommandId']:{_0xc9024b=_0x36f408['handleInsertRow'](_0x30085d,_0x584ec7);break;}case _0x36f408[_0x361f8d(0x283)][_0x361f8d(0x1a0)]:{_0xc9024b=_0x36f408[_0x361f8d(0x134)](_0x30085d,_0x584ec7);break;}case _0x36f408['EffectRefRangId']['RemoveColCommandId']:{_0xc9024b=_0x36f408[_0x361f8d(0x14e)](_0x30085d,_0x584ec7);break;}case _0x36f408['EffectRefRangId'][_0x361f8d(0x2b1)]:{_0xc9024b=_0x36f408[_0x361f8d(0x172)](_0x30085d,_0x584ec7);break;}}const _0x21839a=_0x36f408[_0x361f8d(0x363)](_0xc9024b,_0x584ec7),_0xb92c0e=this[_0x361f8d(0x39c)][_0x361f8d(0x29f)](_0x3a0dba);if(_0xb92c0e&&_0x21839a){const _0x1ab435={..._0xb92c0e,'range':_0x21839a};this[_0x361f8d(0x39c)][_0x361f8d(0x242)](_0x3a0dba,_0x1ab435),_0x4bedc4(()=>{const _0x3037b0=_0x361f8d,_0x2af30c=this['_refRangeService'][_0x3037b0(0x376)](_0x21839a,_0x26356b=>(_0x2af30c[_0x3037b0(0x16a)](),_0x39e1bc(_0x26356b,_0x3a0dba,_0x3f9f55,_0x21839a)));_0x17336a['add'](_0x2af30c);});}return{'redos':[],'undos':[]};};this[_0xa6ac59(0x39c)][_0xa6ac59(0x1ea)]((_0x8977b4,_0x26ca94)=>{const _0x1a7883=_0xa6ac59,{range:_0xdd4071,sheetID:_0x49ded1}=_0x8977b4,_0x5820c8=this[_0x1a7883(0x21e)]['registerRefRange'](_0xdd4071,_0x55efb1=>(_0x5820c8[_0x1a7883(0x16a)](),_0x39e1bc(_0x55efb1,_0x26ca94,_0x49ded1,_0xdd4071)));_0x17336a['add'](_0x5820c8);});};this[_0x462914(0x33a)](_0x333829[_0x462914(0x2cb)](this[_0x462914(0x302)][_0x462914(0x140)](()=>{_0x1d516f();})));}['_toggleOnline'](){const _0xa6f293=_0x52fe9a;var _0xcfa60a,_0x40df81;if(this[_0xa6f293(0x2b7)]=!0x0,((_0xcfa60a=this[_0xa6f293(0x2c8)][_0xa6f293(0x30d)]())==null?void 0x0:_0xcfa60a[_0xa6f293(0x321)]())!==this['unitID'])return;const _0x24b8d8=(_0x40df81=this[_0xa6f293(0x25e)][_0xa6f293(0x29f)](_0x36f408[_0xa6f293(0x166)])['getCurrentSelections']())==null?void 0x0:_0x40df81[0x0],_0x1cd1ca=this[_0xa6f293(0x2c8)][_0xa6f293(0x3bb)](_0x333829['UniverInstanceType'][_0xa6f293(0x35c)])[_0xa6f293(0x32f)]();_0x24b8d8&&_0x1cd1ca&&this['_updateLocalCursor'](_0x1cd1ca[_0xa6f293(0x29a)](),_0x24b8d8);}['_toggleOffline'](){const _0x53057b=_0x52fe9a;this[_0x53057b(0x2b7)]=!0x1;}};_0x4e802b=_0x5229c7([_0x2e59f9(0x2,_0x333829[_0x52fe9a(0x359)](_0x333829[_0x52fe9a(0x335)])),_0x2e59f9(0x3,_0x333829['Inject'](_0x35591e)),_0x2e59f9(0x4,_0x333829[_0x52fe9a(0x359)](_0x19b52f[_0x52fe9a(0x251)])),_0x2e59f9(0x5,_0x333829[_0x52fe9a(0x155)]),_0x2e59f9(0x6,_0x333829[_0x52fe9a(0x12b)]),_0x2e59f9(0x7,_0x333829[_0x52fe9a(0x359)](_0x36f408[_0x52fe9a(0x295)]))],_0x4e802b);var _0x4d9000=Object['getOwnPropertyDescriptor'],_0x3de8fc=(_0x47980d,_0x671286,_0x5cf423,_0x1a26f2)=>{const _0x3126f9=_0x52fe9a;for(var _0x4b7d59=_0x1a26f2>0x1?void 0x0:_0x1a26f2?_0x4d9000(_0x671286,_0x5cf423):_0x671286,_0xce8f1=_0x47980d[_0x3126f9(0x21d)]-0x1,_0x16e977;_0xce8f1>=0x0;_0xce8f1--)(_0x16e977=_0x47980d[_0xce8f1])&&(_0x4b7d59=_0x16e977(_0x4b7d59)||_0x4b7d59);return _0x4b7d59;},_0x4a6ca9=(_0x3facd7,_0x34709c)=>(_0x143157,_0x237ca8)=>_0x34709c(_0x143157,_0x237ca8,_0x3facd7);let _0x50aeb5=class extends _0x333829['RxDisposable']{constructor(_0x17ffab,_0x5a41d7,_0x371c22){const _0x1732c4=_0x52fe9a;super(),_0x4e27f7(this,_0x1732c4(0x225),new Map()),_0x4e27f7(this,_0x1732c4(0x250),new _0x21dbc8[(_0x1732c4(0x261))]()),(this[_0x1732c4(0x2c8)]=_0x17ffab,this['_injector']=_0x5a41d7,this[_0x1732c4(0x1bc)]=_0x371c22,this[_0x1732c4(0x237)]());}[_0x52fe9a(0x16a)](){const _0x588ef9=_0x52fe9a;super[_0x588ef9(0x16a)](),this[_0x588ef9(0x250)][_0x588ef9(0x38e)](),this[_0x588ef9(0x225)][_0x588ef9(0x1ea)](_0x35dca7=>_0x35dca7[_0x588ef9(0x16a)]());}[_0x52fe9a(0x22b)](_0x5af8d7){const _0x4fe353=_0x52fe9a;return this[_0x4fe353(0x225)][_0x4fe353(0x141)](_0x5af8d7)?this[_0x4fe353(0x225)][_0x4fe353(0x29f)](_0x5af8d7)[_0x4fe353(0x2c6)]:this[_0x4fe353(0x250)][_0x4fe353(0x131)](_0x21dbc8['filter'](_0x37c65e=>_0x37c65e[_0x4fe353(0x1e4)]===_0x5af8d7),_0x21dbc8['switchMap'](_0x473596=>_0x473596[_0x4fe353(0x2c6)]));}['_init'](){const _0x7eba4e=_0x52fe9a;this['_univerInstanceService'][_0x7eba4e(0x1f8)](_0x333829[_0x7eba4e(0x26f)]['UNIVER_SHEET'])[_0x7eba4e(0x131)](_0x21dbc8[_0x7eba4e(0x315)](this[_0x7eba4e(0x3b5)]))['subscribe'](async _0x19f992=>{const _0x567952=_0x7eba4e,_0x249817=_0x19f992[_0x567952(0x321)](),_0x3d29a3=await this[_0x567952(0x365)](_0x249817);this[_0x567952(0x250)][_0x567952(0x150)](_0x3d29a3),this[_0x567952(0x225)][_0x567952(0x242)](_0x249817,_0x3d29a3);}),this[_0x7eba4e(0x2c8)][_0x7eba4e(0x1f8)](_0x333829[_0x7eba4e(0x26f)][_0x7eba4e(0x393)])[_0x7eba4e(0x131)](_0x21dbc8[_0x7eba4e(0x315)](this[_0x7eba4e(0x3b5)]))[_0x7eba4e(0x131)](_0x21dbc8[_0x7eba4e(0x23f)](_0x4c5d05=>!_0x4c5d05[_0x7eba4e(0x321)]()['startsWith']('__')))[_0x7eba4e(0x140)](async _0x271d50=>{const _0x4b28bd=_0x7eba4e,_0x3b6da4=_0x271d50[_0x4b28bd(0x321)](),_0x221b07=await this['_startDocCollabCursor'](_0x3b6da4);this[_0x4b28bd(0x250)]['next'](_0x221b07),this[_0x4b28bd(0x225)][_0x4b28bd(0x242)](_0x3b6da4,_0x221b07);}),_0x21dbc8['merge'](this[_0x7eba4e(0x2c8)][_0x7eba4e(0x23d)](_0x333829[_0x7eba4e(0x26f)][_0x7eba4e(0x393)]),this[_0x7eba4e(0x2c8)][_0x7eba4e(0x23d)](_0x333829['UniverInstanceType'][_0x7eba4e(0x35c)]))[_0x7eba4e(0x131)](_0x21dbc8[_0x7eba4e(0x315)](this[_0x7eba4e(0x3b5)]))[_0x7eba4e(0x140)](_0x3e3c65=>{const _0x4c9e41=_0x7eba4e,_0x4d524b=_0x3e3c65[_0x4c9e41(0x321)](),_0x5cd392=this[_0x4c9e41(0x225)]['get'](_0x4d524b);_0x5cd392&&(_0x5cd392[_0x4c9e41(0x16a)](),this[_0x4c9e41(0x225)]['delete'](_0x4d524b));});}async[_0x52fe9a(0x365)](_0x459e65){const _0x14f5da=_0x52fe9a,_0x2ccdd6=await this[_0x14f5da(0x1bc)][_0x14f5da(0x213)](_0x459e65),_0x147c3c=this[_0x14f5da(0x25e)]['createInstance'](_0x4e802b,_0x459e65,_0x2ccdd6);return _0x147c3c[_0x14f5da(0x2d3)](),_0x147c3c;}async[_0x52fe9a(0x3a7)](_0x8944b1){const _0x6b5eb7=_0x52fe9a,_0x4bdfa3=await this['_collabSessionService']['requireSession'](_0x8944b1),_0x302790=this['_injector'][_0x6b5eb7(0x13d)](_0x130737,_0x8944b1,_0x4bdfa3);return _0x302790[_0x6b5eb7(0x2d3)](),_0x302790;}};_0x50aeb5=_0x3de8fc([_0x4a6ca9(0x0,_0x333829[_0x52fe9a(0x155)]),_0x4a6ca9(0x1,_0x333829[_0x52fe9a(0x359)](_0x333829[_0x52fe9a(0x335)])),_0x4a6ca9(0x2,_0x333829['Inject'](_0x19b52f[_0x52fe9a(0x158)]))],_0x50aeb5);const _0x5ff90a=0x14,_0x4bc375=0xc8,_0x3150ee=0x4,_0x29c347=0x5;function _0x9d64f0(_0x36ed38,_0x3eff2f){const _0x3b8203=_0x52fe9a;let {radius:_0x39d117,width:_0x580042,height:_0x288d80}=_0x3eff2f;_0x39d117=_0x39d117!=null?_0x39d117:0x0,_0x580042=_0x580042!=null?_0x580042:0x1e,_0x288d80=_0x288d80!=null?_0x288d80:0x1e;let _0x30fe66=0x0,_0x55944f=0x0,_0x1d4b70=0x0;_0x30fe66=_0x55944f=_0x1d4b70=Math[_0x3b8203(0x148)](_0x39d117,_0x580042/0x2,_0x288d80/0x2),_0x36ed38[_0x3b8203(0x234)](),_0x36ed38[_0x3b8203(0x227)](_0x30fe66,0x0),_0x36ed38[_0x3b8203(0x382)](_0x580042-_0x55944f,0x0),_0x36ed38[_0x3b8203(0x1d6)](_0x580042-_0x55944f,_0x55944f,_0x55944f,Math['PI']*0x3/0x2,0x0,!0x1),_0x36ed38[_0x3b8203(0x382)](_0x580042,_0x288d80-_0x1d4b70),_0x36ed38[_0x3b8203(0x1d6)](_0x580042-_0x1d4b70,_0x288d80-_0x1d4b70,_0x1d4b70,0x0,Math['PI']/0x2,!0x1),_0x36ed38[_0x3b8203(0x382)](0x0,_0x288d80),_0x36ed38[_0x3b8203(0x382)](0x0,_0x30fe66),_0x36ed38['arc'](_0x30fe66,_0x30fe66,_0x30fe66,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x36ed38[_0x3b8203(0x1d3)](),_0x3eff2f[_0x3b8203(0x1f3)]&&(_0x36ed38['save'](),_0x36ed38[_0x3b8203(0x224)]=_0x3eff2f['fill'],_0x3eff2f['fillRule']==='evenodd'?_0x36ed38[_0x3b8203(0x1f3)](_0x3b8203(0x21a)):_0x36ed38[_0x3b8203(0x1f3)](),_0x36ed38[_0x3b8203(0x222)]());}class _0x51577c extends _0x1e4d9a[_0x52fe9a(0x3b6)]{constructor(_0x38d616,_0x56c06d){const _0x3deb2e=_0x52fe9a;super(_0x38d616,_0x56c06d),_0x4e27f7(this,_0x3deb2e(0x377)),_0x4e27f7(this,'text'),(this[_0x3deb2e(0x377)]=_0x56c06d==null?void 0x0:_0x56c06d[_0x3deb2e(0x377)],this[_0x3deb2e(0x3c2)]=_0x56c06d==null?void 0x0:_0x56c06d[_0x3deb2e(0x3c2)]);}static[_0x52fe9a(0x1c2)](_0x20b979,_0x14d1bf){const _0x42b87d=_0x52fe9a,{text:_0x262cf7,color:_0x334c5b}=_0x14d1bf;_0x20b979[_0x42b87d(0x301)](),_0x20b979[_0x42b87d(0x323)]=_0x42b87d(0x244);const _0x2998e8=_0x20b979[_0x42b87d(0x3b1)](_0x262cf7)[_0x42b87d(0x204)],_0x1fc148=Math[_0x42b87d(0x148)](_0x2998e8+0x2*_0x3150ee,_0x4bc375);_0x9d64f0(_0x20b979,{'height':_0x5ff90a,'radius':0x4,'width':_0x1fc148,'fill':_0x334c5b}),_0x20b979[_0x42b87d(0x224)]=_0x42b87d(0x1a3);const _0x1408ac=_0x3150ee,_0x2c4ad8=_0x5ff90a-_0x29c347,_0x278519=_0x4bc375-0x2*_0x3150ee;if(_0x2998e8>_0x278519){let _0x5367cd='',_0x3e075e=0x0;for(const _0x129889 of _0x262cf7){const _0x455e3c=_0x20b979['measureText'](_0x129889)[_0x42b87d(0x204)];if(_0x3e075e+_0x455e3c<=_0x278519-_0x20b979[_0x42b87d(0x3b1)](_0x42b87d(0x189))['width'])_0x5367cd+=_0x129889,_0x3e075e+=_0x455e3c;else{_0x5367cd+=_0x42b87d(0x189);break;}}_0x20b979[_0x42b87d(0x12c)](_0x5367cd,_0x1408ac,_0x2c4ad8);}else _0x20b979[_0x42b87d(0x12c)](_0x262cf7,_0x1408ac,_0x2c4ad8);_0x20b979[_0x42b87d(0x222)]();}[_0x52fe9a(0x314)](_0x26e55a){const _0x527fbc=_0x52fe9a;_0x51577c[_0x527fbc(0x1c2)](_0x26e55a,this);}}const _0x2d1d7d=_0x52fe9a(0x23e),_0x459d46='collab-text-range-',_0xa0c974=_0x52fe9a(0x1cc),_0x35256b=0x6,_0x2beb5c=1.5,_0x41320b=0x4,_0x431816=1.5,_0x5c61db=_0x52fe9a(0x1e0);class _0x50289a{constructor(_0x302427,_0x406d1d,_0x5228c8,_0x22b893){const _0x4cc606=_0x52fe9a;_0x4e27f7(this,'_shapes',[]),_0x4e27f7(this,_0x4cc606(0x139),null),_0x4e27f7(this,'_textBubble',null),_0x4e27f7(this,_0x4cc606(0x16f),null),_0x4e27f7(this,_0x4cc606(0x344),null),_0x4e27f7(this,_0x4cc606(0x34c),null),(this[_0x4cc606(0x280)]=_0x302427,this[_0x4cc606(0x2bf)]=_0x406d1d,this[_0x4cc606(0x2ce)]=_0x5228c8,this['_document']=_0x22b893,this[_0x4cc606(0x37d)]());}set[_0x52fe9a(0x1fa)](_0x19fdd0){const _0x36f9f2=_0x52fe9a;_0x19fdd0?(this['_anchorDot']&&this[_0x36f9f2(0x16f)][_0x36f9f2(0x25d)](),this[_0x36f9f2(0x17d)]&&this[_0x36f9f2(0x17d)][_0x36f9f2(0x3b0)]()):(this[_0x36f9f2(0x16f)]&&this[_0x36f9f2(0x16f)][_0x36f9f2(0x3b0)](),this[_0x36f9f2(0x17d)]&&this[_0x36f9f2(0x17d)][_0x36f9f2(0x25d)]());}['dispose'](){const _0x162c48=_0x52fe9a;for(const _0x4c6299 of this[_0x162c48(0x3a3)])_0x4c6299[_0x162c48(0x16a)]();this[_0x162c48(0x17d)]&&this[_0x162c48(0x17d)]['dispose'](),this[_0x162c48(0x16f)]&&this['_anchorDot'][_0x162c48(0x16a)](),this[_0x162c48(0x139)]&&this['_anchor'][_0x162c48(0x16a)](),this[_0x162c48(0x34c)]&&this[_0x162c48(0x34c)]();}['_render'](){const _0x1b5dde=_0x52fe9a;var _0x3a0101;const {_docSkeleton:_0x58da25,_document:_0x5a4c05}=this,{color:_0x284c23,name:_0x477dc3,ranges:_0x306706}=this[_0x1b5dde(0x280)],_0x3a8d67=_0x5a4c05[_0x1b5dde(0x138)](),{docsLeft:_0x16a850,docsTop:_0x43388f}=_0x3a8d67,_0xcce5e1=new _0x5cd28b[(_0x1b5dde(0x24b))](_0x3a8d67,_0x58da25);for(const {startOffset:_0x39a8ea,endOffset:_0x52e5f1,rangeType:_0x351438,segmentId:_0x2a04ab,segmentPage:_0x2a6b9a,collapsed:_0x48dd05,isActive:_0x55e51b}of _0x306706){const _0x4e3d7f=_0x58da25[_0x1b5dde(0x366)](_0x39a8ea,!0x0,_0x2a04ab,_0x2a6b9a);let _0x3f1234=_0x58da25[_0x1b5dde(0x366)](_0x52e5f1,!0x0,_0x2a04ab,_0x2a6b9a);if(_0x3f1234==null&&(_0x3f1234=_0x58da25[_0x1b5dde(0x366)](_0x52e5f1-0x1,!0x1,_0x2a04ab,_0x2a6b9a)),_0x55e51b){const {contentBoxPointGroup:_0xe98fa6}=_0xcce5e1[_0x1b5dde(0x2f2)](_0x3f1234,_0x3f1234);if(_0xe98fa6[_0x1b5dde(0x21d)]===0x0)continue;this['_drawAnchor'](_0x284c23,_0xe98fa6,_0x16a850,_0x43388f,_0x477dc3),this[_0x1b5dde(0x34c)]=this[_0x1b5dde(0x1e1)]();}if(_0x4e3d7f&&_0x3f1234){if(_0x351438===_0x333829[_0x1b5dde(0x1de)][_0x1b5dde(0x333)]){const _0x22dd7f=new _0x5cd28b[(_0x1b5dde(0x233))](_0x3a8d67,_0x58da25),{pointGroup:_0x574fe6}=(_0x3a0101=_0x22dd7f[_0x1b5dde(0x2f2)](_0x4e3d7f,_0x3f1234))!=null?_0x3a0101:{};if(_0x574fe6==null||_0x574fe6[_0x1b5dde(0x21d)]===0x0)continue;this[_0x1b5dde(0x20b)](_0x284c23,_0x574fe6,_0x16a850,_0x43388f);}else{if(!_0x48dd05){const {borderBoxPointGroup:_0x22d5dd}=_0xcce5e1[_0x1b5dde(0x2f2)](_0x4e3d7f,_0x3f1234);if(_0x22d5dd[_0x1b5dde(0x21d)]===0x0)continue;this[_0x1b5dde(0x123)](_0x284c23,_0x22d5dd,_0x16a850,_0x43388f);}}}}}['_drawAnchor'](_0x34541e,_0x16530e,_0x16c60f,_0x3adae5,_0x175e34){const _0x4268f5=_0x52fe9a,_0x4aca02=this[_0x4268f5(0x193)](_0x16530e),{left:_0xf2f3a2,top:_0x4ba924,height:_0x32ba82}=_0x4aca02,_0x4a9cf2=this['_getScale'](),_0x3ebe74=_0x431816/_0x4a9cf2,_0x393371=new _0x1e4d9a[(_0x4268f5(0x1b6))](_0x2d1d7d+_0x333829[_0x4268f5(0x175)][_0x4268f5(0x1a7)](_0x35256b),{'left':_0xf2f3a2+_0x16c60f-_0x3ebe74,'top':_0x4ba924+_0x3adae5,'height':_0x32ba82,'width':_0x2beb5c,'fill':_0x34541e||_0x1e4d9a[_0x4268f5(0x282)](_0x333829['COLORS'][_0x4268f5(0x3ba)],0x0),'strokeWidth':_0x3ebe74,'stroke':_0x5c61db,'evented':!0x0});this[_0x4268f5(0x139)]=_0x393371,this[_0x4268f5(0x2bf)]['addObject'](_0x393371,_0x5cd28b['TEXT_RANGE_LAYER_INDEX']);const _0x1a6254=new _0x1e4d9a[(_0x4268f5(0x1b6))](_0x2d1d7d+_0x333829['Tools'][_0x4268f5(0x1a7)](_0x35256b),{'left':_0xf2f3a2+_0x16c60f-_0x3ebe74,'top':_0x4ba924+_0x3adae5-_0x41320b/0x2,'height':_0x41320b,'width':_0x41320b,'fill':_0x34541e||_0x1e4d9a[_0x4268f5(0x282)](_0x333829[_0x4268f5(0x380)][_0x4268f5(0x3ba)],0x0),'strokeWidth':0x0,'stroke':_0x34541e||_0x1e4d9a['getColor'](_0x333829[_0x4268f5(0x380)][_0x4268f5(0x3ba)],0x0),'evented':!0x1});this[_0x4268f5(0x16f)]=_0x1a6254,this[_0x4268f5(0x2bf)]['addObject'](_0x1a6254,_0x5cd28b[_0x4268f5(0x2c0)]);const _0x1735b=new _0x51577c(_0x2d1d7d+_0x333829[_0x4268f5(0x175)][_0x4268f5(0x1a7)](_0x35256b),{'left':_0xf2f3a2+_0x16c60f-_0x3ebe74,'top':_0x4ba924+_0x3adae5-_0x5ff90a,'text':_0x175e34,'color':_0x34541e});this[_0x4268f5(0x17d)]=_0x1735b,this['_scene'][_0x4268f5(0x266)](_0x1735b,_0x5cd28b[_0x4268f5(0x2c0)]),this[_0x4268f5(0x1fa)]=!0x1;}[_0x52fe9a(0x1e1)](){const _0x5a08b1=_0x52fe9a,_0x5f1a25=this[_0x5a08b1(0x139)]['onPointerEnter$'][_0x5a08b1(0x20f)](()=>{const _0x1d6f21=_0x5a08b1;this[_0x1d6f21(0x1fa)]=!0x0;}),_0x161f7d=this[_0x5a08b1(0x139)][_0x5a08b1(0x389)][_0x5a08b1(0x20f)](()=>{const _0x2789fc=_0x5a08b1;this[_0x2789fc(0x344)]&&clearTimeout(this[_0x2789fc(0x344)]),this[_0x2789fc(0x344)]=setTimeout(()=>{const _0x1a5191=_0x2789fc;this[_0x1a5191(0x1fa)]=!0x1;},0x7d0);});return()=>{const _0x106795=_0x5a08b1;_0x5f1a25[_0x106795(0x31c)](),_0x161f7d['unsubscribe']();};}[_0x52fe9a(0x123)](_0x218cad,_0x527145,_0x16653c,_0x2abc5b){const _0x46bb21=_0x52fe9a,_0x39d6f5=new _0x333829[(_0x46bb21(0x36e))](_0x218cad)[_0x46bb21(0x23a)](0.2)[_0x46bb21(0x331)](),_0x11f034=new _0x1e4d9a[(_0x46bb21(0x348))](_0x459d46+_0x333829[_0x46bb21(0x175)]['generateRandomId'](_0x35256b),{'pointsGroup':_0x527145,'fill':_0x39d6f5||_0x1e4d9a[_0x46bb21(0x282)](_0x333829[_0x46bb21(0x380)][_0x46bb21(0x3ba)],0.2),'left':_0x16653c,'top':_0x2abc5b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x46bb21(0x3a3)][_0x46bb21(0x19e)](_0x11f034),this[_0x46bb21(0x2bf)][_0x46bb21(0x266)](_0x11f034,_0x5cd28b[_0x46bb21(0x2c0)]);}[_0x52fe9a(0x20b)](_0x14a0b6,_0x50d2ba,_0x545d8a,_0x440a94){const _0x4f3234=_0x52fe9a,_0x5d14a3=new _0x333829[(_0x4f3234(0x36e))](_0x14a0b6)[_0x4f3234(0x23a)](0.2)[_0x4f3234(0x331)](),_0x35f52e=new _0x1e4d9a[(_0x4f3234(0x348))](_0xa0c974+_0x333829[_0x4f3234(0x175)][_0x4f3234(0x1a7)](_0x35256b),{'pointsGroup':_0x50d2ba,'fill':_0x5d14a3||_0x1e4d9a['getColor'](_0x333829[_0x4f3234(0x380)][_0x4f3234(0x3ba)],0.2),'left':_0x545d8a,'top':_0x440a94,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4f3234(0x3a3)][_0x4f3234(0x19e)](_0x35f52e),this[_0x4f3234(0x2bf)][_0x4f3234(0x266)](_0x35f52e,_0x5cd28b['TEXT_RANGE_LAYER_INDEX']);}[_0x52fe9a(0x193)](_0x55c977){const _0x9513f2=_0x55c977[0x0],_0x46e577=_0x9513f2[0x0],_0x3912b0=_0x9513f2[0x2],{x:_0x1d0804,y:_0x1fc9d6}=_0x46e577,{x:_0x22c217,y:_0x4e12af}=_0x3912b0;return{'left':_0x1d0804,'top':_0x1fc9d6,'width':_0x22c217-_0x1d0804,'height':_0x4e12af-_0x1fc9d6};}[_0x52fe9a(0x1f7)](){const _0x69943b=_0x52fe9a,{scaleX:_0x55beb2,scaleY:_0x284d52}=this['_scene'][_0x69943b(0x153)]();return Math[_0x69943b(0x236)](_0x55beb2,_0x284d52);}}var _0x6c4a3c=Object[_0x52fe9a(0x2e5)],_0x3bbf37=(_0x33bf04,_0x41d0c6,_0x579e88,_0x4852be)=>{for(var _0x2b8434=_0x4852be>0x1?void 0x0:_0x4852be?_0x6c4a3c(_0x41d0c6,_0x579e88):_0x41d0c6,_0x4bf4b9=_0x33bf04['length']-0x1,_0x2808af;_0x4bf4b9>=0x0;_0x4bf4b9--)(_0x2808af=_0x33bf04[_0x4bf4b9])&&(_0x2b8434=_0x2808af(_0x2b8434)||_0x2b8434);return _0x2b8434;},_0x3ad2b5=(_0x361fd3,_0x14621b)=>(_0x1c4b38,_0x36a6ba)=>_0x14621b(_0x1c4b38,_0x36a6ba,_0x361fd3);let _0x55e631=class extends _0x333829['RxDisposable']{constructor(_0x5de680,_0x476a1d,_0x59f644,_0x5f468b,_0x3fbce5){const _0x3d1543=_0x52fe9a;super(),_0x4e27f7(this,_0x3d1543(0x38f),[]),_0x4e27f7(this,_0x3d1543(0x16d),[]),(this[_0x3d1543(0x1cd)]=_0x5de680,this[_0x3d1543(0x2bb)]=_0x476a1d,this['_collabCursorController']=_0x59f644,this[_0x3d1543(0x1fc)]=_0x5f468b,this['_themeService']=_0x3fbce5,this[_0x3d1543(0x237)]());}[_0x52fe9a(0x237)](){const _0x4ab17b=_0x52fe9a,_0x5bf7b8=this[_0x4ab17b(0x1cd)]['unitId'],_0x2f7a2f=this['_docSkeletonManagerService'];this[_0x4ab17b(0x33a)](_0x21dbc8[_0x4ab17b(0x18b)]([this['_collabCursorController'][_0x4ab17b(0x22b)](_0x5bf7b8),this[_0x4ab17b(0x240)][_0x4ab17b(0x3b4)]])[_0x4ab17b(0x131)](_0x74988e[_0x4ab17b(0x20d)](([_0x461fa8,_0x166c4e])=>({'skeleton':_0x2f7a2f[_0x4ab17b(0x1a9)](),'cursors':[..._0x461fa8[_0x4ab17b(0x3a6)]()][_0x4ab17b(0x15a)](_0x100b30=>({..._0x100b30,'color':this['_themeService'][_0x4ab17b(0x186)](_0x100b30[_0x4ab17b(0x377)])}))})))[_0x4ab17b(0x140)](_0x5781ba=>{const _0x2764e6=_0x4ab17b;if(this[_0x2764e6(0x246)](),_0x5781ba){const {skeleton:_0x398cff,cursors:_0x26261a}=_0x5781ba;this[_0x2764e6(0x2ef)](_0x398cff,_0x26261a);}})),this['_initResize'](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x3856ec,_0x4cfadd){const _0x2337db=_0x52fe9a,{scene:_0x184e5f,mainComponent:_0x4d5564}=this[_0x2337db(0x1cd)],_0x226034=_0x4cfadd[_0x2337db(0x20d)](_0x372bfe=>new _0x50289a(_0x372bfe,_0x184e5f,_0x3856ec,_0x4d5564));this[_0x2337db(0x38f)]=_0x226034,this[_0x2337db(0x16d)]=_0x4cfadd;}[_0x52fe9a(0x2f1)](){const _0x5e4a37=_0x52fe9a;this[_0x5e4a37(0x246)]();const {scene:_0x54b959,mainComponent:_0x2365f5}=this[_0x5e4a37(0x1cd)],_0x592acf=this[_0x5e4a37(0x2bb)]['getSkeleton'](),_0x16070e=this[_0x5e4a37(0x16d)][_0x5e4a37(0x20d)](_0x1a2cd6=>new _0x50289a(_0x1a2cd6,_0x54b959,_0x592acf,_0x2365f5));this['_cursorShapes']=_0x16070e;}['_removeCollabCursors'](){const _0x15bf59=_0x52fe9a;this[_0x15bf59(0x38f)][_0x15bf59(0x1ea)](_0x401ae3=>_0x401ae3['dispose']()),this[_0x15bf59(0x38f)]=[];}['_initCommandExecutedListener'](){const _0x4fb38d=_0x52fe9a,_0x1b48f9=[_0x5cd28b['SetDocZoomRatioOperation']['id']];this[_0x4fb38d(0x33a)](this[_0x4fb38d(0x1fc)]['onCommandExecuted'](_0x2cfb06=>{const _0x409045=_0x4fb38d;_0x1b48f9['includes'](_0x2cfb06['id'])&&_0x2cfb06[_0x409045(0x272)][_0x409045(0x356)]===this[_0x409045(0x1cd)]['unitId']&&this['_refreshCollabCursors']();}));}[_0x52fe9a(0x2e1)](){const _0x438971=_0x52fe9a;this[_0x438971(0x33a)](_0x333829[_0x438971(0x32a)](this[_0x438971(0x1cd)][_0x438971(0x22d)]['onTransformChange$'])[_0x438971(0x131)](_0x74988e[_0x438971(0x23f)](_0x4f4d46=>_0x4f4d46[_0x438971(0x3bd)]===_0x1e4d9a[_0x438971(0x229)]['resize']),_0x74988e[_0x438971(0x26d)](0x10))[_0x438971(0x140)](()=>{this['_refreshCollabCursors']();}));}};_0x55e631=_0x3bbf37([_0x3ad2b5(0x1,_0x333829['Inject'](_0x3cc684[_0x52fe9a(0x277)])),_0x3ad2b5(0x2,_0x333829[_0x52fe9a(0x359)](_0x50aeb5)),_0x3ad2b5(0x3,_0x333829[_0x52fe9a(0x12b)]),_0x3ad2b5(0x4,_0x333829[_0x52fe9a(0x359)](_0x333829[_0x52fe9a(0x1d0)]))],_0x55e631);const _0x4bd277=0x1,_0x45a01f=1.5;class _0x12a8a6 extends _0x1e4d9a[_0x52fe9a(0x3b6)]{constructor(_0x19d38f,_0x20369c){const _0x34a3e5=_0x52fe9a;super(_0x19d38f,_0x20369c),_0x4e27f7(this,_0x34a3e5(0x350)),_0x4e27f7(this,_0x34a3e5(0x38b),!0x1),_0x4e27f7(this,'_range'),_0x4e27f7(this,_0x34a3e5(0x228),''),_0x4e27f7(this,_0x34a3e5(0x223),_0x34a3e5(0x137)),_0x4e27f7(this,_0x34a3e5(0x203)),(_0x20369c&&this[_0x34a3e5(0x17a)](_0x20369c),this[_0x34a3e5(0x2e4)][_0x34a3e5(0x20f)](()=>this[_0x34a3e5(0x17a)]({'hovered':!0x0})),this['onPointerLeave$'][_0x34a3e5(0x20f)](()=>this[_0x34a3e5(0x17a)]({'hovered':!0x1})));}[_0x52fe9a(0x17a)](_0x4749a1){const _0x3944fe=_0x52fe9a;var _0x19acf2,_0x391792,_0x49865f,_0x32c820,_0x19b189,_0x315bb6;this[_0x3944fe(0x350)]=(_0x19acf2=_0x4749a1[_0x3944fe(0x377)])!=null?_0x19acf2:this[_0x3944fe(0x350)],this[_0x3944fe(0x38b)]=(_0x391792=_0x4749a1[_0x3944fe(0x300)])!=null?_0x391792:this['_hovered'],this[_0x3944fe(0x164)]=(_0x49865f=_0x4749a1[_0x3944fe(0x391)])!=null?_0x49865f:this['_range'],this[_0x3944fe(0x228)]=(_0x32c820=_0x4749a1['name'])!=null?_0x32c820:this[_0x3944fe(0x228)],this['_labelPosition']=(_0x19b189=_0x4749a1[_0x3944fe(0x2d1)])!=null?_0x19b189:this[_0x3944fe(0x223)],this[_0x3944fe(0x203)]=(_0x315bb6=_0x4749a1['backgroundColor'])!=null?_0x315bb6:this[_0x3944fe(0x203)],this['transformByState']({'width':_0x4749a1[_0x3944fe(0x204)],'height':_0x4749a1[_0x3944fe(0x19a)]});}[_0x52fe9a(0x1ee)](_0x174abf){const _0x35a9b0=_0x52fe9a,{row:_0x30490f,column:_0x4bf4c5}=_0x174abf;if(_0x30490f>=this['_range'][_0x35a9b0(0x342)]&&_0x30490f<=this[_0x35a9b0(0x164)][_0x35a9b0(0x3c0)]&&_0x4bf4c5>=this[_0x35a9b0(0x164)][_0x35a9b0(0x284)]&&_0x4bf4c5<=this[_0x35a9b0(0x164)][_0x35a9b0(0x3a8)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x35a9b0(0x17a)]({'hovered':!0x1});}['triggerDblclick'](_0x316beb){return!0x1;}[_0x52fe9a(0x314)](_0x41c1da){const _0x11d55e=_0x52fe9a;_0x1e4d9a['Rect'][_0x11d55e(0x1c2)](_0x41c1da,{'width':this['width'],'height':this[_0x11d55e(0x19a)],'strokeWidth':_0x45a01f,'stroke':this[_0x11d55e(0x350)],'evented':!0x1,'fill':this[_0x11d55e(0x203)]}),this['_hovered']&&(_0x41c1da['save'](),_0x41c1da[_0x11d55e(0x220)](0x1,0x0,0x0,0x1,this['width'],this[_0x11d55e(0x223)]==='bottom'?0x0:-0x14),_0x51577c[_0x11d55e(0x1c2)](_0x41c1da,{'text':this[_0x11d55e(0x228)],'color':this['_color']}),_0x41c1da[_0x11d55e(0x222)]());}}var _0x2a6b5c=Object[_0x52fe9a(0x2e5)],_0x415a1c=(_0x3641e8,_0x415c8f,_0x3ab5d7,_0x5c51df)=>{for(var _0x1920e1=_0x5c51df>0x1?void 0x0:_0x5c51df?_0x2a6b5c(_0x415c8f,_0x3ab5d7):_0x415c8f,_0x58eede=_0x3641e8['length']-0x1,_0x111698;_0x58eede>=0x0;_0x58eede--)(_0x111698=_0x3641e8[_0x58eede])&&(_0x1920e1=_0x111698(_0x1920e1)||_0x1920e1);return _0x1920e1;},_0x45cd5d=(_0x30d76b,_0x120394)=>(_0x5649bc,_0x332c53)=>_0x120394(_0x5649bc,_0x332c53,_0x30d76b);const _0x32198e=0x1389;let _0x120041=class extends _0x333829['RxDisposable']{constructor(_0x24c48c,_0xee9d57,_0x589a2e,_0x50268a){const _0x3a998d=_0x52fe9a;super(),_0x4e27f7(this,_0x3a998d(0x16d),new Set()),_0x4e27f7(this,_0x3a998d(0x32e),null),(this[_0x3a998d(0x1cd)]=_0x24c48c,this[_0x3a998d(0x296)]=_0xee9d57,this[_0x3a998d(0x381)]=_0x589a2e,this['_themeService']=_0x50268a,this[_0x3a998d(0x237)]());}[_0x52fe9a(0x237)](){const _0x14c493=_0x52fe9a;this['_sheetSkeletonManagerService'][_0x14c493(0x20c)][_0x14c493(0x131)](_0x74988e['takeUntil'](this[_0x14c493(0x3b5)]),_0x74988e[_0x14c493(0x149)](_0x20fbf8=>{const _0x9aaa39=_0x14c493;if(_0x20fbf8){const _0x489919=_0x20fbf8[_0x9aaa39(0x1e6)];return _0x21dbc8[_0x9aaa39(0x18b)](this['_collabCursorController'][_0x9aaa39(0x22b)](this[_0x9aaa39(0x1cd)][_0x9aaa39(0x356)]),this[_0x9aaa39(0x240)][_0x9aaa39(0x3b4)])[_0x9aaa39(0x131)](_0x74988e[_0x9aaa39(0x20d)](([_0x2820b5,_0x92573b])=>{const _0x4e041a=_0x9aaa39,_0x5d489e=new Map();return _0x2820b5[_0x4e041a(0x1ea)]((_0x206b57,_0x5462da)=>{const _0x64f0d0=_0x4e041a;if(_0x206b57[_0x64f0d0(0x24e)]===_0x489919){const _0xc7df2f={..._0x206b57};_0xc7df2f['color']=this[_0x64f0d0(0x240)][_0x64f0d0(0x186)](_0x206b57['color']),_0x5d489e['set'](_0x5462da,_0xc7df2f);}}),{'skeleton':_0x20fbf8,'cursors':_0x5d489e};}));}return _0x21dbc8['of']({'skeleton':null,'cursors':new Map()});}))[_0x14c493(0x140)](({skeleton:_0x41bc0e,cursors:_0x2de039})=>{const _0x14144f=_0x14c493;this['_removeCollabCursors'](),_0x41bc0e&&this[_0x14144f(0x2ef)](_0x41bc0e,_0x2de039);}),this[_0x14c493(0x296)][_0x14c493(0x20c)][_0x14c493(0x140)](_0x4cef5c=>{const _0xaa380e=_0x14c493;if(_0x4cef5c==null)return;const {skeleton:_0x479d40}=_0x4cef5c,{scene:_0x452bc4}=this[_0xaa380e(0x1cd)];_0x452bc4[_0xaa380e(0x34a)]['subscribeEvent'](_0x333829[_0xaa380e(0x2e3)](_0x9e0234=>{const _0xb427dc=_0xaa380e;var _0x42168e,_0x4f260d;const {offsetX:_0xd3eec7,offsetY:_0x42e1fd}=_0x9e0234,{x:_0x23ad96,y:_0x1c96ac}=_0x452bc4[_0xb427dc(0x1ce)](_0x1e4d9a[_0xb427dc(0x3aa)][_0xb427dc(0x202)]([_0xd3eec7,_0x42e1fd])),{scaleX:_0x5baf37,scaleY:_0x4f2d7f}=_0x452bc4['getAncestorScale'](),_0x882afb=_0x452bc4['getViewport'](_0x1e4d9a[_0xb427dc(0x306)][_0xb427dc(0x1c6)]),_0x47af2e=_0x452bc4['getVpScrollXYInfoByPosToVp'](_0x1e4d9a[_0xb427dc(0x3aa)]['FromArray']([_0x23ad96,_0x1c96ac]),_0x882afb),_0x32d987=_0x479d40['getCellPositionByOffset'](_0xd3eec7,_0x42e1fd,_0x5baf37,_0x4f2d7f,_0x47af2e);((_0x42168e=this[_0xb427dc(0x32e)])==null?void 0x0:_0x42168e[_0xb427dc(0x2eb)])===_0x32d987['column']&&((_0x4f260d=this[_0xb427dc(0x32e)])==null?void 0x0:_0x4f260d['row'])===_0x32d987[_0xb427dc(0x2a6)]||this[_0xb427dc(0x16d)][_0xb427dc(0x1ea)](_0x1224de=>{const _0xb1bf6e=_0xb427dc;_0x1224de[_0xb1bf6e(0x1ee)](_0x32d987);});},0x64));});}['_updateCollabCursors'](_0x3801a2,_0x134373){const _0x69263=_0x52fe9a;var _0x43cbd6;const _0x5be11f=(_0x43cbd6=this[_0x69263(0x296)]['getCurrent']())==null?void 0x0:_0x43cbd6['skeleton'];if(!_0x5be11f)return;const _0x40011e=this[_0x69263(0x385)]();if(!_0x40011e)return;this['_cursors'][_0x69263(0x1ea)](_0x5510fa=>{const _0x3f9bf5=_0x69263;_0x5510fa[_0x3f9bf5(0x262)]();});const {scene:_0x327555}=_0x40011e,_0x215b09=_0x40afe9(Array[_0x69263(0x173)](_0x134373['values']()))[_0x69263(0x20d)](_0x263bd7=>{const _0x220ede=_0x69263,{color:_0x5dd011,range:_0x3e1965,name:_0x3aa82a,selection:_0x4de68e,sheetID:_0x5ae3ab}=_0x263bd7,{startColumn:_0x323bf4,startRow:_0x32e4fe,endColumn:_0x2cee60,endRow:_0x132e57}=_0x3e1965,_0x23e894=_0x76017c[_0x220ede(0x2b2)](_0x32e4fe,_0x323bf4,_0x327555,_0x5be11f),_0x226330=_0x76017c[_0x220ede(0x2b2)](_0x132e57,_0x2cee60,_0x327555,_0x5be11f),{columnHeaderHeightAndMarginTop:_0x109e8d}=_0x5be11f,{startX:_0x5debc3,startY:_0x3755c9}=_0x23e894,{endX:_0x9862d7,endY:_0x246a87}=_0x226330,_0x2d50f9=_0x9862d7-_0x5debc3,_0x10e85c=_0x246a87-_0x3755c9,_0x32bc6a={'labelPosition':_0x3755c9-_0x109e8d>=_0x5ff90a?'top':_0x220ede(0x192),'sheetID':_0x5ae3ab,'range':_0x3e1965,'color':_0x5dd011,'name':_0x3aa82a,'selection':_0x4de68e,'left':_0x5debc3,'top':_0x3755c9,'width':_0x2d50f9,'height':_0x10e85c,'evented':!0x1,'zIndex':_0x32198e};return new _0x12a8a6(_0x3aa82a,_0x32bc6a);});_0x327555[_0x69263(0x319)](_0x215b09,_0x4bd277),this[_0x69263(0x16d)]=new Set(_0x215b09);}['_removeCollabCursors'](){const _0x5b7a0b=_0x52fe9a;var _0x27700b;(_0x27700b=this[_0x5b7a0b(0x16d)])==null||_0x27700b[_0x5b7a0b(0x1ea)](_0x1bc849=>_0x1bc849['dispose']());}[_0x52fe9a(0x385)](){const _0x3a99a5=_0x52fe9a;return _0x76017c[_0x3a99a5(0x340)](this[_0x3a99a5(0x1cd)][_0x3a99a5(0x1ff)],this['_context']);}};_0x120041=_0x415a1c([_0x45cd5d(0x1,_0x333829[_0x52fe9a(0x359)](_0x76017c['SheetSkeletonManagerService'])),_0x45cd5d(0x2,_0x333829[_0x52fe9a(0x359)](_0x50aeb5)),_0x45cd5d(0x3,_0x333829[_0x52fe9a(0x359)](_0x333829[_0x52fe9a(0x1d0)]))],_0x120041);function _0x40afe9(_0x1c1796){const _0x6399ef=_0x52fe9a,_0x629ae2=new Map();return _0x1c1796[_0x6399ef(0x1ea)](_0x10ee79=>{const _0x1144b0=_0x6399ef;if(_0x629ae2[_0x1144b0(0x141)](_0x10ee79[_0x1144b0(0x2e9)])){const _0x149983=_0x629ae2[_0x1144b0(0x29f)](_0x10ee79['selection']);_0x149983['name']+=',\x20'+_0x10ee79[_0x1144b0(0x3a9)];}else _0x629ae2[_0x1144b0(0x242)](_0x10ee79[_0x1144b0(0x2e9)],_0x10ee79);}),Array[_0x6399ef(0x173)](_0x629ae2['values']());}var _0x9829e8=function(){const _0x5505c1=_0x52fe9a;return _0x9829e8=Object[_0x5505c1(0x303)]||function(_0x3cc391){const _0x5c87fe=_0x5505c1;for(var _0x3d67b0,_0x5479ff=0x1,_0x251a6f=arguments[_0x5c87fe(0x21d)];_0x5479ff<_0x251a6f;_0x5479ff++){_0x3d67b0=arguments[_0x5479ff];for(var _0x218da6 in _0x3d67b0)Object[_0x5c87fe(0x1db)]['hasOwnProperty'][_0x5c87fe(0x36c)](_0x3d67b0,_0x218da6)&&(_0x3cc391[_0x218da6]=_0x3d67b0[_0x218da6]);}return _0x3cc391;},_0x9829e8[_0x5505c1(0x322)](this,arguments);},_0x56adae=function(_0x2256eb,_0x5e8e97){const _0x559f8b=_0x52fe9a;var _0x53c4d8={};for(var _0x53c972 in _0x2256eb)Object['prototype'][_0x559f8b(0x12a)][_0x559f8b(0x36c)](_0x2256eb,_0x53c972)&&_0x5e8e97['indexOf'](_0x53c972)<0x0&&(_0x53c4d8[_0x53c972]=_0x2256eb[_0x53c972]);if(_0x2256eb!=null&&typeof Object[_0x559f8b(0x29c)]==_0x559f8b(0x388)){for(var _0x7a7fbb=0x0,_0x53c972=Object[_0x559f8b(0x29c)](_0x2256eb);_0x7a7fbb<_0x53c972['length'];_0x7a7fbb++)_0x5e8e97[_0x559f8b(0x122)](_0x53c972[_0x7a7fbb])<0x0&&Object[_0x559f8b(0x1db)]['propertyIsEnumerable'][_0x559f8b(0x36c)](_0x2256eb,_0x53c972[_0x7a7fbb])&&(_0x53c4d8[_0x53c972[_0x7a7fbb]]=_0x2256eb[_0x53c972[_0x7a7fbb]]);}return _0x53c4d8;},_0x4d0bbb=_0x57419d[_0x52fe9a(0x33f)](function(_0x51fc1a,_0x431f2d){const _0x35759b=_0x52fe9a;var _0x230329=_0x51fc1a['icon'],_0x3d10bc=_0x51fc1a['id'],_0x42d7a2=_0x51fc1a[_0x35759b(0x2cd)],_0x33ab29=_0x51fc1a[_0x35759b(0x2c3)],_0xfd433=_0x56adae(_0x51fc1a,[_0x35759b(0x19f),'id',_0x35759b(0x2cd),'extend']),_0x37e203=_0x35759b(0x32d)[_0x35759b(0x12f)](_0x3d10bc,'\x20')[_0x35759b(0x12f)](_0x42d7a2||'')[_0x35759b(0x2d9)](),_0x103ad9=_0x57419d[_0x35759b(0x19b)]('_'[_0x35759b(0x12f)](_0x416176()));return _0x3f1e06(_0x230329,''[_0x35759b(0x12f)](_0x3d10bc),{'defIds':_0x230329[_0x35759b(0x285)],'idSuffix':_0x103ad9[_0x35759b(0x22f)]},_0x9829e8({'ref':_0x431f2d,'className':_0x37e203},_0xfd433),_0x33ab29);});function _0x3f1e06(_0x4fc3ae,_0x274e0b,_0x2398e8,_0x28f875,_0x24768e){const _0x293274=_0x52fe9a;return _0x57419d[_0x293274(0x30b)](_0x4fc3ae[_0x293274(0x265)],_0x9829e8(_0x9829e8({'key':_0x274e0b},_0x52512d(_0x4fc3ae,_0x2398e8,_0x24768e)),_0x28f875),(_0xdb57bf(_0x4fc3ae,_0x2398e8)['children']||[])[_0x293274(0x20d)](function(_0x58f12b,_0x3688a7){const _0x523965=_0x293274;return _0x3f1e06(_0x58f12b,''[_0x523965(0x12f)](_0x274e0b,'-')['concat'](_0x4fc3ae[_0x523965(0x265)],'-')[_0x523965(0x12f)](_0x3688a7),_0x2398e8,void 0x0,_0x24768e);}));}function _0x52512d(_0x178bae,_0x4c1874,_0x3558a5){const _0x5f29d4=_0x52fe9a;var _0x8b2352=_0x9829e8({},_0x178bae[_0x5f29d4(0x25b)]);_0x3558a5!=null&&_0x3558a5['colorChannel1']&&_0x8b2352['fill']===_0x5f29d4(0x3ae)&&(_0x8b2352[_0x5f29d4(0x1f3)]=_0x3558a5[_0x5f29d4(0x3ae)]),_0x178bae['tag']===_0x5f29d4(0x1b4)&&_0x8b2352['id']&&(_0x8b2352['id']=_0x8b2352['id']+_0x4c1874[_0x5f29d4(0x2ec)]),Object[_0x5f29d4(0x16b)](_0x8b2352)['forEach'](function(_0x5a779c){const _0x2c7a43=_0x5f29d4;var _0xf7131b=_0x5a779c[0x0],_0x5dbad0=_0x5a779c[0x1];_0xf7131b===_0x2c7a43(0x1b4)&&typeof _0x5dbad0==_0x2c7a43(0x1ad)&&(_0x8b2352[_0xf7131b]=_0x5dbad0['replace'](/url\(#(.*)\)/,_0x2c7a43(0x26b)['concat'](_0x4c1874['idSuffix'],')')));});var _0x2dd74f=_0x4c1874[_0x5f29d4(0x285)];return!_0x2dd74f||_0x2dd74f[_0x5f29d4(0x21d)]===0x0||(_0x178bae[_0x5f29d4(0x265)]===_0x5f29d4(0x181)&&_0x8b2352[_0x5f29d4(0x18e)]&&(_0x8b2352['xlink:href']=_0x8b2352[_0x5f29d4(0x18e)]+_0x4c1874['idSuffix']),Object[_0x5f29d4(0x16b)](_0x8b2352)[_0x5f29d4(0x1ea)](function(_0x2046db){const _0x28237a=_0x5f29d4;var _0x2ac78c=_0x2046db[0x0],_0x2beffb=_0x2046db[0x1];typeof _0x2beffb==_0x28237a(0x1ad)&&(_0x8b2352[_0x2ac78c]=_0x2beffb[_0x28237a(0x29e)](/url\(#(.*)\)/,_0x28237a(0x26b)[_0x28237a(0x12f)](_0x4c1874[_0x28237a(0x2ec)],')')));})),_0x8b2352;}function _0xdb57bf(_0x15e5cb,_0x138743){const _0x2e1408=_0x52fe9a;var _0x1ac8aa,_0x1e6284=_0x138743[_0x2e1408(0x285)];return!_0x1e6284||_0x1e6284[_0x2e1408(0x21d)]===0x0?_0x15e5cb:_0x15e5cb[_0x2e1408(0x265)]===_0x2e1408(0x2c5)&&(!((_0x1ac8aa=_0x15e5cb['children'])===null||_0x1ac8aa===void 0x0)&&_0x1ac8aa[_0x2e1408(0x21d)])?_0x9829e8(_0x9829e8({},_0x15e5cb),{'children':_0x15e5cb[_0x2e1408(0x2fb)]['map'](function(_0x4382f5){const _0x233460=_0x2e1408;return typeof _0x4382f5['attrs']['id']==_0x233460(0x1ad)&&_0x1e6284&&_0x1e6284[_0x233460(0x2c4)](_0x4382f5[_0x233460(0x25b)]['id'])?_0x9829e8(_0x9829e8({},_0x4382f5),{'attrs':_0x9829e8(_0x9829e8({},_0x4382f5[_0x233460(0x25b)]),{'id':_0x4382f5['attrs']['id']+_0x138743[_0x233460(0x2ec)]})}):_0x4382f5;})}):_0x15e5cb;}function _0x416176(){const _0x34a7d3=_0x52fe9a;return Math[_0x34a7d3(0x1b5)]()[_0x34a7d3(0x18a)](0x24)['substring'](0x2,0x8);}_0x4d0bbb[_0x52fe9a(0x1a8)]=_0x52fe9a(0x255);var _0x1e864d={'tag':'svg','attrs':{'xmlns':_0x52fe9a(0x1b0),'fill':_0x52fe9a(0x3bc),'viewBox':_0x52fe9a(0x26a),'width':'1em','height':_0x52fe9a(0x39a)},'children':[{'tag':'g','attrs':{'clipPath':_0x52fe9a(0x154)},'children':[{'tag':'path','attrs':{'stroke':_0x52fe9a(0x1cf),'d':_0x52fe9a(0x338),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x52fe9a(0x2c5),'attrs':{},'children':[{'tag':_0x52fe9a(0x28d),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x52fe9a(0x15d),'attrs':{'fill':_0x52fe9a(0x288),'d':_0x52fe9a(0x2b3)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x269bd4=_0x57419d[_0x52fe9a(0x33f)](function(_0x5be930,_0x365fe1){const _0x5cb34f=_0x52fe9a;return _0x57419d[_0x5cb34f(0x30b)](_0x4d0bbb,Object['assign']({},_0x5be930,{'id':_0x5cb34f(0x15f),'ref':_0x365fe1,'icon':_0x1e864d}));});_0x269bd4[_0x52fe9a(0x1a8)]=_0x52fe9a(0x311);var _0x179536={'tag':_0x52fe9a(0x12d),'attrs':{'xmlns':_0x52fe9a(0x1b0),'fill':_0x52fe9a(0x3bc),'viewBox':'0\x200\x2017\x2016','width':_0x52fe9a(0x39a),'height':_0x52fe9a(0x39a)},'children':[{'tag':'g','attrs':{'clipPath':_0x52fe9a(0x36d)},'children':[{'tag':_0x52fe9a(0x15d),'attrs':{'stroke':_0x52fe9a(0x1cf),'d':_0x52fe9a(0x28c),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x52fe9a(0x2c5),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x52fe9a(0x329)},'children':[{'tag':'path','attrs':{'fill':_0x52fe9a(0x288),'d':_0x52fe9a(0x2b3),'transform':_0x52fe9a(0x278)}}]}]}],'defIds':[_0x52fe9a(0x329)]},_0x4c3aa7=_0x57419d[_0x52fe9a(0x33f)](function(_0x16b6ff,_0x4219a8){const _0x2776a4=_0x52fe9a;return _0x57419d[_0x2776a4(0x30b)](_0x4d0bbb,Object[_0x2776a4(0x303)]({},_0x16b6ff,{'id':'on-line-icon','ref':_0x4219a8,'icon':_0x179536}));});_0x4c3aa7['displayName']=_0x52fe9a(0x217);function _0x3a316a(_0x54320d){const _0x29969d=_0x52fe9a;switch(_0x54320d){case _0x19b52f[_0x29969d(0x2f4)]['OFFLINE']:return'collabStatus.offline';case _0x19b52f['CollaborationStatus'][_0x29969d(0x2c2)]:return _0x29969d(0x1d2);case _0x19b52f['CollaborationStatus'][_0x29969d(0x13e)]:return _0x29969d(0x15e);case _0x19b52f[_0x29969d(0x2f4)][_0x29969d(0x2db)]:return _0x29969d(0x22c);case _0x19b52f[_0x29969d(0x2f4)][_0x29969d(0x17f)]:case _0x19b52f[_0x29969d(0x2f4)][_0x29969d(0x351)]:return _0x29969d(0x144);case _0x19b52f['CollaborationStatus']['SYNCED']:case _0x19b52f['CollaborationStatus'][_0x29969d(0x281)]:return _0x29969d(0x2a0);}}function _0x3af5e3(_0x3a727c){const _0x39ef81=_0x52fe9a,{status$:_0x57ba4f}=_0x3a727c,_0x4cdc80=_0x47db79[_0x39ef81(0x34f)](_0x57ba4f,_0x19b52f[_0x39ef81(0x2f4)]['NOT_COLLAB']),_0x112408=_0x47db79[_0x39ef81(0x167)](_0x333829[_0x39ef81(0x275)]),_0x32088=_0x47db79[_0x39ef81(0x167)](_0x19b52f[_0x39ef81(0x158)]),_0x119a5d=_0x4cdc80!==_0x19b52f[_0x39ef81(0x2f4)][_0x39ef81(0x1c8)],_0x56c7b6=_0x112408['t'](_0x3a316a(_0x4cdc80)),_0x5f41f8=_0x119a5d?_0x155526[_0x39ef81(0x3b9)](_0x4c3aa7,{}):_0x155526[_0x39ef81(0x3b9)](_0x269bd4,{}),_0x7540a0=_0x57419d['useCallback'](()=>{const _0x4e37b2=_0x39ef81;_0x119a5d||_0x32088[_0x4e37b2(0x374)]();},[_0x119a5d,_0x32088]);function _0x1b4a09(){const _0x1ea6dc=_0x39ef81;return _0x155526[_0x1ea6dc(0x2f6)](_0x1ea6dc(0x3a1),{'className':'univer-flex\x20univer-items-center','onClick':_0x7540a0,'children':[_0x155526[_0x1ea6dc(0x3b9)]('div',{'className':_0xffead9['clsx'](_0x1ea6dc(0x368),{'univer-text-green-500':_0x119a5d,'univer-text-red-500':!_0x119a5d}),'children':_0x5f41f8}),_0x155526[_0x1ea6dc(0x3b9)]('div',{'className':_0x1ea6dc(0x1fe),'children':_0x56c7b6})]});}return _0x119a5d?_0x1b4a09():_0x155526[_0x39ef81(0x3b9)](_0xffead9['Tooltip'],{'title':_0x112408['t'](_0x39ef81(0x160)),'children':_0x1b4a09()});}var _0x30a9c9=Object[_0x52fe9a(0x2e5)],_0xbc8edd=(_0x2a02cd,_0x430abe,_0x4c3d44,_0x32e12d)=>{const _0x31bd25=_0x52fe9a;for(var _0x192292=_0x32e12d>0x1?void 0x0:_0x32e12d?_0x30a9c9(_0x430abe,_0x4c3d44):_0x430abe,_0x406ccd=_0x2a02cd[_0x31bd25(0x21d)]-0x1,_0x4ca4db;_0x406ccd>=0x0;_0x406ccd--)(_0x4ca4db=_0x2a02cd[_0x406ccd])&&(_0x192292=_0x4ca4db(_0x192292)||_0x192292);return _0x192292;},_0x2eb492=(_0x49e407,_0x4343ef)=>(_0x355caa,_0x5f47ba)=>_0x4343ef(_0x355caa,_0x5f47ba,_0x49e407);_0x57e2df[_0x52fe9a(0x37f)]=class extends _0x333829['Disposable']{constructor(_0x2b9fee,_0x2cbed2,_0x4b9678,_0xe5d753){const _0x4f2b86=_0x52fe9a;super(),_0x4e27f7(this,_0x4f2b86(0x127),new _0x21dbc8[(_0x4f2b86(0x2e8))](_0x19b52f['CollaborationStatus'][_0x4f2b86(0x2db)])),(this[_0x4f2b86(0x2c8)]=_0x2b9fee,this[_0x4f2b86(0x25e)]=_0x2cbed2,this[_0x4f2b86(0x241)]=_0x4b9678,this[_0x4f2b86(0x25c)]=_0xe5d753,this['_initStatusComponent'](),this[_0x4f2b86(0x27c)]());}[_0x52fe9a(0x27c)](){const _0x2abee8=_0x52fe9a;this[_0x2abee8(0x33a)](this[_0x2abee8(0x2c8)][_0x2abee8(0x15b)][_0x2abee8(0x131)](_0x21dbc8[_0x2abee8(0x149)](()=>{const _0x26321d=_0x2abee8,_0x414f12=this['_univerInstanceService'][_0x26321d(0x30d)]();return _0x414f12?this['_collaborationController'][_0x26321d(0x14c)](_0x414f12[_0x26321d(0x321)]()):_0x21dbc8['of'](null);}),_0x21dbc8[_0x2abee8(0x149)](_0x45f33b=>_0x45f33b?_0x45f33b[_0x2abee8(0x34b)]:_0x21dbc8['of'](_0x19b52f[_0x2abee8(0x2f4)][_0x2abee8(0x2db)])))[_0x2abee8(0x140)](_0x2e9d9c=>{const _0x5e1d07=_0x2abee8;this[_0x5e1d07(0x127)][_0x5e1d07(0x150)](_0x2e9d9c);}));}[_0x52fe9a(0x2a3)](){const _0x48c485=_0x52fe9a;this['disposeWithMe'](this[_0x48c485(0x25c)][_0x48c485(0x1a1)](_0x47db79[_0x48c485(0x31f)][_0x48c485(0x33c)],()=>_0x47db79[_0x48c485(0x1b9)](_0x19a77b({'status$':this[_0x48c485(0x127)][_0x48c485(0x180)]()}),this['_injector'])));}},_0x57e2df['DesktopCollaborationStatusDisplayController']=_0xbc8edd([_0x2eb492(0x0,_0x333829[_0x52fe9a(0x155)]),_0x2eb492(0x1,_0x333829[_0x52fe9a(0x359)](_0x333829[_0x52fe9a(0x335)])),_0x2eb492(0x2,_0x333829['Inject'](_0x19b52f[_0x52fe9a(0x289)])),_0x2eb492(0x3,_0x47db79[_0x52fe9a(0x1d1)])],_0x57e2df['DesktopCollaborationStatusDisplayController']);function _0x19a77b(_0x208cb8){const {status$:_0x4b8ebe}=_0x208cb8;return function(){const _0x53a278=_0x424a;return _0x155526[_0x53a278(0x3b9)](_0x3af5e3,{'status$':_0x4b8ebe});};}var _0x297c16=Object[_0x52fe9a(0x2e5)],_0x1addd3=(_0x5716cb,_0x5ddcb5,_0xdf7e02,_0x5d0dc8)=>{for(var _0x5c86d8=_0x5d0dc8>0x1?void 0x0:_0x5d0dc8?_0x297c16(_0x5ddcb5,_0xdf7e02):_0x5ddcb5,_0x5bf024=_0x5716cb['length']-0x1,_0x262141;_0x5bf024>=0x0;_0x5bf024--)(_0x262141=_0x5716cb[_0x5bf024])&&(_0x5c86d8=_0x262141(_0x5c86d8)||_0x5c86d8);return _0x5c86d8;},_0x25aa39=(_0x31992c,_0xc38dcb)=>(_0x22b6a6,_0x164abc)=>_0xc38dcb(_0x22b6a6,_0x164abc,_0x31992c);let _0x4756d0=class extends _0x333829[_0x52fe9a(0x13b)]{constructor(_0x1998c3,_0x4ca8e9,_0x5e0c30,_0x10291b,_0x3917ae,_0x3fbd8c){const _0x2a291f=_0x52fe9a;super(),this[_0x2a291f(0x259)]=_0x1998c3,this[_0x2a291f(0x394)]=_0x4ca8e9,this[_0x2a291f(0x35e)]=_0x5e0c30,this[_0x2a291f(0x358)]=_0x10291b,this[_0x2a291f(0x1d4)]=_0x3917ae,this[_0x2a291f(0x26c)]=_0x3fbd8c,this[_0x2a291f(0x248)](),this[_0x2a291f(0x1aa)]();}[_0x52fe9a(0x248)](){const _0x3e3b16=_0x52fe9a;this['disposeWithMe'](this[_0x3e3b16(0x259)][_0x3e3b16(0x126)](()=>{const _0x10a3eb=_0x3e3b16;if(this[_0x10a3eb(0x394)][_0x10a3eb(0x343)][_0x10a3eb(0x1a6)])return this[_0x10a3eb(0x26c)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x52fe9a(0x1aa)](){const _0x23353c=_0x52fe9a;this['disposeWithMe'](this['_collaborationUIEventService']['event$'][_0x23353c(0x140)](_0x91fece=>{const _0x891ff7=_0x23353c;_0x91fece['id']===_0x19b52f['CollaborationUIEventId'][_0x891ff7(0x13a)]&&this[_0x891ff7(0x358)][_0x891ff7(0x3b0)]({'type':_0xffead9['MessageType'][_0x891ff7(0x1ab)],'content':this[_0x891ff7(0x26c)]['t'](_0x891ff7(0x1cb))}),_0x91fece['id']===_0x19b52f['CollaborationUIEventId'][_0x891ff7(0x270)]&&this[_0x891ff7(0x358)][_0x891ff7(0x3b0)]({'type':_0xffead9[_0x891ff7(0x208)][_0x891ff7(0x1ab)],'content':this['_localeService']['t'](_0x891ff7(0x298))}),_0x91fece['id']===_0x19b52f['CollaborationUIEventId'][_0x891ff7(0x2a4)]&&this['_notificationService']['show']({'title':this[_0x891ff7(0x26c)]['t'](_0x891ff7(0x142)),'content':this[_0x891ff7(0x26c)]['t'](_0x891ff7(0x177)),'type':_0x891ff7(0x39e),'duration':0x0}),_0x91fece['id']===_0x19b52f[_0x891ff7(0x34d)][_0x891ff7(0x2c2)]&&this[_0x891ff7(0x358)][_0x891ff7(0x3b0)]({'type':_0xffead9['MessageType']['Error'],'content':this[_0x891ff7(0x26c)]['t'](_0x891ff7(0x298))+'('+_0x91fece[_0x891ff7(0x274)]+')'}),_0x91fece['id']===_0x19b52f[_0x891ff7(0x34d)][_0x891ff7(0x1dd)]&&this[_0x891ff7(0x358)]['show']({'type':_0xffead9['MessageType'][_0x891ff7(0x1ab)],'content':this[_0x891ff7(0x26c)]['t'](_0x91fece[_0x891ff7(0x274)]||'')}),_0x91fece['id']===_0x19b52f['CollaborationUIEventId']['SOCKET_FAILED_RETRY']&&this[_0x891ff7(0x358)]['show']({'type':_0xffead9['MessageType'][_0x891ff7(0x1ab)],'content':this['_localeService']['t'](_0x891ff7(0x320))}),_0x91fece['id']===_0x19b52f[_0x891ff7(0x34d)][_0x891ff7(0x128)]&&this[_0x891ff7(0x358)][_0x891ff7(0x3b0)]({'type':_0xffead9[_0x891ff7(0x208)][_0x891ff7(0x2f0)],'content':this[_0x891ff7(0x26c)]['t'](_0x891ff7(0x32b))}),_0x91fece['id']===_0x19b52f[_0x891ff7(0x34d)][_0x891ff7(0x1a5)]&&this[_0x891ff7(0x358)][_0x891ff7(0x3b0)]({'type':_0xffead9[_0x891ff7(0x208)][_0x891ff7(0x2f0)],'content':this[_0x891ff7(0x26c)]['t'](_0x891ff7(0x2a9))});}));}};_0x4756d0=_0x1addd3([_0x25aa39(0x0,_0x47db79[_0x52fe9a(0x3a2)]),_0x25aa39(0x1,_0x19b52f[_0x52fe9a(0x257)]),_0x25aa39(0x2,_0x333829[_0x52fe9a(0x359)](_0x19b52f[_0x52fe9a(0x168)])),_0x25aa39(0x3,_0x47db79[_0x52fe9a(0x1df)]),_0x25aa39(0x4,_0x47db79[_0x52fe9a(0x163)]),_0x25aa39(0x5,_0x333829[_0x52fe9a(0x359)](_0x333829[_0x52fe9a(0x275)]))],_0x4756d0);const _0xdcc0ca='collaboration-client-ui.config',_0x329c35={},_0xe2e142=_0x333829['createIdentifier']('uni.network.url-service');var _0x1156e7=Object['getOwnPropertyDescriptor'],_0x3c674c=(_0x521c7f,_0x390d6b,_0xcee685,_0x82e6ac)=>{const _0x5c2360=_0x52fe9a;for(var _0x5e88e4=_0x82e6ac>0x1?void 0x0:_0x82e6ac?_0x1156e7(_0x390d6b,_0xcee685):_0x390d6b,_0x44e052=_0x521c7f[_0x5c2360(0x21d)]-0x1,_0x13904c;_0x44e052>=0x0;_0x44e052--)(_0x13904c=_0x521c7f[_0x44e052])&&(_0x5e88e4=_0x13904c(_0x5e88e4)||_0x5e88e4);return _0x5e88e4;},_0x13e7a4=(_0x34e7b5,_0x298156)=>(_0x471199,_0x3a3fbb)=>_0x298156(_0x471199,_0x3a3fbb,_0x34e7b5);_0x57e2df['CollaborationDataLoaderController']=class extends _0x333829[_0x52fe9a(0x35f)]{constructor(_0xe87d10,_0x12d88a,_0x2e87f7,_0x2faa3e,_0x5662ba){const _0x2010bf=_0x52fe9a;super(),this['_urlService']=_0xe87d10,this[_0x2010bf(0x316)]=_0x12d88a,this['_commandService']=_0x2e87f7,this[_0x2010bf(0x23b)]=_0x2faa3e,_0x5662ba?_0x5662ba==null||_0x5662ba[_0x2010bf(0x198)]()[_0x2010bf(0x3c1)](()=>this[_0x2010bf(0x237)]()):(this['_logService']['debug'](_0x2010bf(0x2e0),_0x2010bf(0x2df)),this[_0x2010bf(0x237)]());}async[_0x52fe9a(0x237)](){const _0x5a5fbb=_0x52fe9a,_0x2975f1=this[_0x5a5fbb(0x170)][_0x5a5fbb(0x326)]('unit'),_0x19ff35=this['_urlService']['getParam'](_0x5a5fbb(0x3bd)),_0x3746d0=this[_0x5a5fbb(0x170)]['getParam'](_0x5a5fbb(0x1b8));if(!_0x2975f1||!_0x19ff35){this[_0x5a5fbb(0x316)]['debug']('[CollaborationDataLoaderController]',_0x5a5fbb(0x31b));return;}const _0x3459=await this['_dataLoaderService'][_0x5a5fbb(0x3ac)](_0x2975f1,Number(_0x19ff35),_0x3746d0);_0x3459&&_0x3459 instanceof _0x333829[_0x5a5fbb(0x12e)]&&this[_0x5a5fbb(0x39d)](_0x3459);}async[_0x52fe9a(0x39d)](_0x20c7f7){const _0xefa7a4=_0x52fe9a;await this[_0xefa7a4(0x249)](_0x20c7f7),_0x20c7f7[_0xefa7a4(0x276)][_0xefa7a4(0x131)](_0x21dbc8[_0xefa7a4(0x315)](this[_0xefa7a4(0x3b5)]))['subscribe'](_0x37dbb3=>{_0x37dbb3&&this['_updateURLWithCurrentState'](_0x37dbb3);}),this['_urlService'][_0xefa7a4(0x2af)]['pipe'](_0x21dbc8['takeUntil'](this[_0xefa7a4(0x3b5)]))[_0xefa7a4(0x140)](()=>this[_0xefa7a4(0x249)](_0x20c7f7));}['_updateURLWithCurrentState'](_0x3ca419,_0x4a1f26=!0x1){const _0x5efb96=_0x52fe9a,_0x4732d2=this[_0x5efb96(0x170)][_0x5efb96(0x326)](_0x5efb96(0x1b8));_0x3ca419[_0x5efb96(0x29a)]()!==_0x4732d2&&this[_0x5efb96(0x170)][_0x5efb96(0x254)]('subunit',_0x3ca419[_0x5efb96(0x29a)](),_0x4a1f26);}async[_0x52fe9a(0x249)](_0x3b2dee){const _0x2c5c4d=_0x52fe9a;var _0x2bb5b3;const _0x55e4b5=this[_0x2c5c4d(0x170)][_0x2c5c4d(0x326)]('subunit');if(!_0x55e4b5||!_0x3b2dee[_0x2c5c4d(0x37e)](_0x55e4b5)){const _0x2b81b7=_0x3b2dee['getUnhiddenWorksheets']()[0x0],_0x5ef61a=_0x3b2dee[_0x2c5c4d(0x37e)](_0x2b81b7);if(!_0x5ef61a)return;this['_updateURLWithCurrentState'](_0x5ef61a,!0x0),await this['_commandService'][_0x2c5c4d(0x17b)](_0x36f408[_0x2c5c4d(0x1b2)]['id'],{'unitId':_0x3b2dee['getUnitId'](),'subUnitId':_0x2b81b7});return;}((_0x2bb5b3=_0x3b2dee['getActiveSheet']())==null?void 0x0:_0x2bb5b3[_0x2c5c4d(0x29a)]())!==_0x55e4b5&&await this['_commandService'][_0x2c5c4d(0x17b)](_0x36f408[_0x2c5c4d(0x1b2)]['id'],{'unitId':_0x3b2dee[_0x2c5c4d(0x321)](),'subUnitId':_0x55e4b5});}},_0x57e2df[_0x52fe9a(0x199)]=_0x3c674c([_0x13e7a4(0x0,_0xe2e142),_0x13e7a4(0x1,_0x333829[_0x52fe9a(0x239)]),_0x13e7a4(0x2,_0x333829[_0x52fe9a(0x12b)]),_0x13e7a4(0x3,_0x333829[_0x52fe9a(0x359)](_0x19b52f[_0x52fe9a(0x14f)])),_0x13e7a4(0x4,_0x333829[_0x52fe9a(0x1ba)](_0x2f33ce[_0x52fe9a(0x162)]))],_0x57e2df[_0x52fe9a(0x199)]);var _0xbfe25d=Object[_0x52fe9a(0x2e5)],_0x443bd0=(_0x19ff67,_0x345a3e,_0x245177,_0x1903f8)=>{const _0x33f64d=_0x52fe9a;for(var _0x578b25=_0x1903f8>0x1?void 0x0:_0x1903f8?_0xbfe25d(_0x345a3e,_0x245177):_0x345a3e,_0x1222e9=_0x19ff67[_0x33f64d(0x21d)]-0x1,_0x57aaca;_0x1222e9>=0x0;_0x1222e9--)(_0x57aaca=_0x19ff67[_0x1222e9])&&(_0x578b25=_0x57aaca(_0x578b25)||_0x578b25);return _0x578b25;},_0x1169a0=(_0x1aa57d,_0x1aece6)=>(_0x2486b6,_0x11e00e)=>_0x1aece6(_0x2486b6,_0x11e00e,_0x1aa57d);let _0x201757=class{constructor(_0x5c5d92,_0x1f4b16,_0x3f1656){const _0xfecae=_0x52fe9a;this['_injector']=_0x5c5d92,this[_0xfecae(0x176)]=_0x1f4b16,this['_renderManagerService']=_0x3f1656;}[_0x52fe9a(0x30c)](_0x180ab3){const _0xb7671c=_0x52fe9a;this['_transformUndoRedoStack'](_0x180ab3),this[_0xb7671c(0x309)](_0x180ab3);}[_0x52fe9a(0x1d7)](_0x279153){const _0x6d346b=_0x52fe9a,{unitID:_0x2cba9a}=_0x279153,_0x66e96f=this[_0x6d346b(0x399)]['getRenderById'](_0x2cba9a)[_0x6d346b(0x2be)](_0x5cd28b[_0x6d346b(0x341)]),{redoCache:_0x2d95f9}=_0x66e96f[_0x6d346b(0x37b)]();if(_0x2d95f9[_0x6d346b(0x21d)]===0x0)return _0x279153;let _0x277ee3=_0x333829['Tools']['deepClone'](_0x279153['mutations'][0x0]);for(let _0x145f87=0x0;_0x145f87<_0x2d95f9['length'];_0x145f87++){const _0x2c620a={'id':_0x6d346b(0x29d),'params':{..._0x2d95f9[_0x145f87]}},_0x579ec3=this['_transformService'][_0x6d346b(0x37c)](_0x277ee3,_0x2c620a,!0x1);if(_0x2efac4[_0x6d346b(0x212)](_0x579ec3))throw _0x579ec3[_0x6d346b(0x39e)];_0x277ee3=_0x579ec3['m1Prime'];}return{..._0x333829[_0x6d346b(0x175)][_0x6d346b(0x24c)](_0x279153),'mutations':[_0x277ee3]};}[_0x52fe9a(0x371)](_0x162359){const _0x476988=_0x52fe9a,{unitID:_0x3fcdc5}=_0x162359,_0x333219=this[_0x476988(0x399)][_0x476988(0x392)](_0x3fcdc5)[_0x476988(0x2be)](_0x5cd28b[_0x476988(0x341)]),{undoCache:_0x217a1b,redoCache:_0x5a64e6}=_0x333219[_0x476988(0x37b)]();if(_0x217a1b['length']===0x0||_0x5a64e6[_0x476988(0x21d)]===0x0)return;const _0x2e7195=[],_0x2ff592=[];let _0x26ea82=_0x333829['Tools'][_0x476988(0x24c)](_0x162359['mutations'][0x0]),_0xe1e4b2=_0x333829[_0x476988(0x175)][_0x476988(0x24c)](_0x162359['mutations'][0x0]);for(let _0x29714f=_0x217a1b[_0x476988(0x21d)]-0x1;_0x29714f>=0x0;_0x29714f--){const _0x511174={'id':_0x476988(0x29d),'params':{..._0x217a1b[_0x29714f]}},_0x41e8b6={'id':'doc.mutation.rich-text-editing','params':{..._0x5a64e6[_0x29714f]}},_0x418c60=this[_0x476988(0x176)]['transformMutation'](_0x26ea82,_0x511174,!0x1),_0x5a10fc=this['_transformService'][_0x476988(0x37c)](_0xe1e4b2,_0x41e8b6,!0x1);if(_0x2efac4[_0x476988(0x212)](_0x418c60))throw _0x418c60[_0x476988(0x39e)];if(_0x2efac4[_0x476988(0x212)](_0x5a10fc))throw _0x5a10fc[_0x476988(0x39e)];_0x2e7195[_0x476988(0x384)](_0x418c60[_0x476988(0x25a)][_0x476988(0x272)]),_0x2ff592['unshift'](_0x5a10fc['m2Prime'][_0x476988(0x272)]),_0x26ea82=_0x418c60[_0x476988(0x360)],_0xe1e4b2=_0x5a10fc['m1Prime'];}_0x333219[_0x476988(0x1bd)]({'undoCache':_0x2e7195,'redoCache':_0x2ff592});}[_0x52fe9a(0x309)](_0x1ceb00){const _0x5bca0e=_0x52fe9a,{unitID:_0x5119ac}=_0x1ceb00,_0x53e541=this[_0x5bca0e(0x399)][_0x5bca0e(0x392)](_0x5119ac)['with'](_0x5cd28b[_0x5bca0e(0x341)]),_0x1a684b=_0x53e541[_0x5bca0e(0x182)]();if(_0x1a684b==null)return;const _0x5ade42=[{'id':_0x5bca0e(0x29d),'params':{'unitId':_0x1ceb00[_0x5bca0e(0x1e4)],'actions':null,'textRanges':[_0x1a684b]}}],_0x3ec082=this[_0x5bca0e(0x176)][_0x5bca0e(0x287)](_0x1ceb00,_0x5ade42);if(!_0x2efac4['isTransformMutationsWithChangesetSuccess'](_0x3ec082))throw _0x3ec082[_0x5bca0e(0x39e)];const _0x36dd80=_0x3ec082['m2Prime'][0x0][_0x5bca0e(0x272)]['textRanges'];Array[_0x5bca0e(0x1f4)](_0x36dd80)&&_0x36dd80['length']&&_0x53e541[_0x5bca0e(0x197)](_0x36dd80[0x0]);}};_0x201757=_0x443bd0([_0x1169a0(0x0,_0x333829[_0x52fe9a(0x359)](_0x333829[_0x52fe9a(0x335)])),_0x1169a0(0x1,_0x2efac4[_0x52fe9a(0x218)]),_0x1169a0(0x2,_0x1e4d9a[_0x52fe9a(0x1c9)])],_0x201757);var _0x1c292d=Object[_0x52fe9a(0x2e5)],_0x15ca3e=(_0x3e4728,_0x5bb2f7,_0x632e4a,_0x489eb9)=>{for(var _0x491df9=_0x489eb9>0x1?void 0x0:_0x489eb9?_0x1c292d(_0x5bb2f7,_0x632e4a):_0x5bb2f7,_0x536cf4=_0x3e4728['length']-0x1,_0x47fcf5;_0x536cf4>=0x0;_0x536cf4--)(_0x47fcf5=_0x3e4728[_0x536cf4])&&(_0x491df9=_0x47fcf5(_0x491df9)||_0x491df9);return _0x491df9;},_0x3137c1=(_0x494003,_0x44f793)=>(_0x19813f,_0x1d6915)=>_0x44f793(_0x19813f,_0x1d6915,_0x494003);let _0x9162f9=class{constructor(_0x54c01a,_0x365167,_0x4d5e1c){const _0x54ab40=_0x52fe9a;this[_0x54ab40(0x25e)]=_0x54c01a,this[_0x54ab40(0x176)]=_0x365167,this[_0x54ab40(0x2cc)]=_0x4d5e1c;}[_0x52fe9a(0x269)](_0x161f1e){this['_transformHistoryAndStateStack'](_0x161f1e);}[_0x52fe9a(0x1d7)](_0x35974f){const _0xc482d1=_0x52fe9a,{unitID:_0x36a52b}=_0x35974f,{collaboration:_0x3860a9}=this['_docStateChangeManagerService'][_0xc482d1(0x30a)](_0x36a52b);if(_0x3860a9[_0xc482d1(0x21d)]===0x0)return _0x35974f;let _0x35c485=_0x333829[_0xc482d1(0x175)][_0xc482d1(0x24c)](_0x35974f['mutations'][0x0]);for(let _0x365a1b=0x0;_0x365a1b<_0x3860a9[_0xc482d1(0x21d)];_0x365a1b++){const _0xb0b3af={'id':_0xc482d1(0x29d),'params':{'unitId':_0x3860a9[_0x365a1b][_0xc482d1(0x356)],..._0x3860a9[_0x365a1b][_0xc482d1(0x1da)]}},_0x12e850=this['_transformService'][_0xc482d1(0x37c)](_0x35c485,_0xb0b3af,!0x1);if(_0x2efac4[_0xc482d1(0x212)](_0x12e850))throw _0x12e850[_0xc482d1(0x39e)];_0x35c485=_0x12e850[_0xc482d1(0x360)];}return{..._0x333829[_0xc482d1(0x175)][_0xc482d1(0x24c)](_0x35974f),'mutations':[_0x35c485]};}[_0x52fe9a(0x219)](_0x2112d0){const _0x1f9b72=_0x52fe9a,{unitID:_0x2fa287}=_0x2112d0,{history:_0x16d394,collaboration:_0x196f3c}=this[_0x1f9b72(0x2cc)][_0x1f9b72(0x30a)](_0x2fa287);if(_0x16d394[_0x1f9b72(0x21d)]===0x0&&_0x196f3c[_0x1f9b72(0x21d)]===0x0)return;const _0x69257b=[],_0x126ca3=[];let _0x7d042b=_0x333829['Tools'][_0x1f9b72(0x24c)](_0x2112d0[_0x1f9b72(0x28f)][0x0]),_0x121022=_0x333829[_0x1f9b72(0x175)][_0x1f9b72(0x24c)](_0x2112d0['mutations'][0x0]);for(let _0x1e5a04=_0x16d394[_0x1f9b72(0x21d)]-0x1;_0x1e5a04>=0x0;_0x1e5a04--){const _0x58ca67={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x16d394[_0x1e5a04][_0x1f9b72(0x356)],..._0x16d394[_0x1e5a04][_0x1f9b72(0x1f1)]}},_0x1e2c5f={'id':_0x1f9b72(0x29d),'params':{'unitId':_0x16d394[_0x1e5a04][_0x1f9b72(0x356)],..._0x16d394[_0x1e5a04][_0x1f9b72(0x1da)]}},_0x34989b=this[_0x1f9b72(0x176)][_0x1f9b72(0x37c)](_0x7d042b,_0x58ca67,!0x1),_0x22219c=this[_0x1f9b72(0x176)][_0x1f9b72(0x37c)](_0x121022,_0x1e2c5f,!0x1);if(_0x2efac4['isTransformMutationFailure'](_0x34989b))throw _0x34989b[_0x1f9b72(0x39e)];if(_0x2efac4[_0x1f9b72(0x212)](_0x22219c))throw _0x22219c['error'];_0x69257b[_0x1f9b72(0x384)]({..._0x16d394[_0x1e5a04],'undoState':_0x34989b['m2Prime']['params'],'redoState':_0x22219c[_0x1f9b72(0x25a)][_0x1f9b72(0x272)]}),_0x7d042b=_0x34989b[_0x1f9b72(0x360)],_0x121022=_0x22219c[_0x1f9b72(0x360)];}_0x7d042b=_0x333829['Tools'][_0x1f9b72(0x24c)](_0x2112d0[_0x1f9b72(0x28f)][0x0]),_0x121022=_0x333829[_0x1f9b72(0x175)][_0x1f9b72(0x24c)](_0x2112d0[_0x1f9b72(0x28f)][0x0]);for(let _0x4ee1bf=_0x196f3c[_0x1f9b72(0x21d)]-0x1;_0x4ee1bf>=0x0;_0x4ee1bf--){const _0x1962a5={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x196f3c[_0x4ee1bf][_0x1f9b72(0x356)],..._0x196f3c[_0x4ee1bf][_0x1f9b72(0x1f1)]}},_0x554b65={'id':_0x1f9b72(0x29d),'params':{'unitId':_0x196f3c[_0x4ee1bf][_0x1f9b72(0x356)],..._0x196f3c[_0x4ee1bf]['redoState']}},_0xc4ce3=this[_0x1f9b72(0x176)][_0x1f9b72(0x37c)](_0x7d042b,_0x1962a5,!0x1),_0x231e03=this[_0x1f9b72(0x176)]['transformMutation'](_0x121022,_0x554b65,!0x1);if(_0x2efac4['isTransformMutationFailure'](_0xc4ce3))throw _0xc4ce3[_0x1f9b72(0x39e)];if(_0x2efac4['isTransformMutationFailure'](_0x231e03))throw _0x231e03[_0x1f9b72(0x39e)];_0x126ca3[_0x1f9b72(0x384)]({..._0x196f3c[_0x4ee1bf],'undoState':_0xc4ce3[_0x1f9b72(0x25a)]['params'],'redoState':_0x231e03[_0x1f9b72(0x25a)]['params']}),_0x7d042b=_0xc4ce3[_0x1f9b72(0x360)],_0x121022=_0x231e03['m1Prime'];}this[_0x1f9b72(0x2cc)]['setStateCache'](_0x2fa287,{'history':_0x69257b,'collaboration':_0x126ca3});}};_0x9162f9=_0x15ca3e([_0x3137c1(0x0,_0x333829[_0x52fe9a(0x359)](_0x333829['Injector'])),_0x3137c1(0x1,_0x2efac4['ITransformService']),_0x3137c1(0x2,_0x333829['Inject'](_0x5cd28b[_0x52fe9a(0x325)]))],_0x9162f9);var _0x1aa30d=Object['getOwnPropertyDescriptor'],_0x374744=(_0x5bff23,_0x5dc10c,_0xf4cd7f,_0x1cfb4a)=>{const _0x3ba225=_0x52fe9a;for(var _0x599925=_0x1cfb4a>0x1?void 0x0:_0x1cfb4a?_0x1aa30d(_0x5dc10c,_0xf4cd7f):_0x5dc10c,_0x16e401=_0x5bff23[_0x3ba225(0x21d)]-0x1,_0x4f6cad;_0x16e401>=0x0;_0x16e401--)(_0x4f6cad=_0x5bff23[_0x16e401])&&(_0x599925=_0x4f6cad(_0x599925)||_0x599925);return _0x599925;},_0x5a05b0=(_0x5a7b71,_0x58ffc8)=>(_0x395fe1,_0xe0855c)=>_0x58ffc8(_0x395fe1,_0xe0855c,_0x5a7b71);let _0x3b0bab=class{constructor(_0x551521,_0x2f5803){const _0x174ec3=_0x52fe9a;this['_injector']=_0x551521,this[_0x174ec3(0x176)]=_0x2f5803;}[_0x52fe9a(0x1c1)](_0x2d8d2e){const _0x3c9409=_0x52fe9a;var _0x3ebd59;const _0x34d0c7=this['_injector'][_0x3c9409(0x29f)](_0x3cc684['DocSelectionManagerService']),_0x579a86=(_0x3ebd59=_0x34d0c7[_0x3c9409(0x37a)]())!=null?_0x3ebd59:[];if(_0x579a86[_0x3c9409(0x21d)]===0x0)return;const _0x5d1392=_0x2d8d2e[_0x3c9409(0x1e4)],_0x5405d1=[{'id':_0x3c9409(0x29d),'params':{'unitId':_0x5d1392,'actions':null,'textRanges':_0x579a86}}],_0x34ab7a=this[_0x3c9409(0x176)][_0x3c9409(0x287)](_0x2d8d2e,_0x5405d1);if(!_0x2efac4[_0x3c9409(0x2a8)](_0x34ab7a))throw _0x34ab7a[_0x3c9409(0x39e)];const _0x2dfa7f=_0x34ab7a['m2Prime'][0x0][_0x3c9409(0x272)][_0x3c9409(0x3ab)];Array[_0x3c9409(0x1f4)](_0x2dfa7f)&&_0x2dfa7f[_0x3c9409(0x21d)]&&_0x34d0c7[_0x3c9409(0x2c9)](_0x2dfa7f,{'unitId':_0x5d1392,'subUnitId':_0x5d1392},!0x1);}};_0x3b0bab=_0x374744([_0x5a05b0(0x0,_0x333829[_0x52fe9a(0x359)](_0x333829[_0x52fe9a(0x335)])),_0x5a05b0(0x1,_0x2efac4['ITransformService'])],_0x3b0bab);var _0x78c432=Object[_0x52fe9a(0x2e5)],_0x4af32f=(_0x35ac97,_0x1e2d1f,_0xd66edf,_0x4dc024)=>{const _0x1764fe=_0x52fe9a;for(var _0x35111b=_0x4dc024>0x1?void 0x0:_0x4dc024?_0x78c432(_0x1e2d1f,_0xd66edf):_0x1e2d1f,_0x9a3b7=_0x35ac97[_0x1764fe(0x21d)]-0x1,_0x35056f;_0x9a3b7>=0x0;_0x9a3b7--)(_0x35056f=_0x35ac97[_0x9a3b7])&&(_0x35111b=_0x35056f(_0x35111b)||_0x35111b);return _0x35111b;},_0x286d1b=(_0x339641,_0xc41d92)=>(_0x1e31a3,_0x576b53)=>_0xc41d92(_0x1e31a3,_0x576b53,_0x339641);let _0x597c02=class extends _0x333829[_0x52fe9a(0x13b)]{constructor(_0x5cb14a,_0x2469b0,_0x10e3a7,_0x46f116,_0x6e584a,_0x480691,_0x47a7b1,_0x25d889){const _0x5e35ff=_0x52fe9a;super(),_0x4e27f7(this,_0x5e35ff(0x127),new _0x21dbc8[(_0x5e35ff(0x2e8))](_0x19b52f[_0x5e35ff(0x2f4)][_0x5e35ff(0x2db)])),(this[_0x5e35ff(0x2cc)]=_0x5cb14a,this[_0x5e35ff(0x241)]=_0x2469b0,this[_0x5e35ff(0x38a)]=_0x10e3a7,this[_0x5e35ff(0x375)]=_0x46f116,this['_docTransformSelectionsService']=_0x6e584a,this[_0x5e35ff(0x38d)]=_0x480691,this[_0x5e35ff(0x358)]=_0x47a7b1,this[_0x5e35ff(0x26c)]=_0x25d889,this['_initEntityListener']());}[_0x52fe9a(0x390)](){const _0x507674=_0x52fe9a;this[_0x507674(0x33a)](this[_0x507674(0x241)]['entityInit$'][_0x507674(0x140)](_0x24901d=>{const _0x3b205c=_0x507674,_0x3200fa=this['_docStateChangeManagerService']['docStateChange$'][_0x3b205c(0x140)](_0x328136=>{const _0x1b1e0f=_0x3b205c;if(_0x328136==null)return;const {unitId:_0x4ea164,redoState:_0x13d0e9,commandId:_0x17d4e8}=_0x328136;if(_0x4ea164!==_0x24901d[_0x1b1e0f(0x1e4)])return;const _0x1abe51={'id':_0x17d4e8,'type':_0x333829[_0x1b1e0f(0x328)][_0x1b1e0f(0x22a)],'params':{'unitId':_0x4ea164,'actions':_0x13d0e9[_0x1b1e0f(0x238)],'textRanges':null}};_0x24901d[_0x1b1e0f(0x2a2)](_0x1abe51);});if(_0x24901d['disposeWithMe'](_0x3200fa),_0x24901d instanceof _0x19b52f[_0x3b205c(0x3b7)]){const _0x29d72b={'onTransformIME':_0x13338f=>this[_0x3b205c(0x38a)][_0x3b205c(0x30c)](_0x13338f),'onTransformState':_0x2def18=>this[_0x3b205c(0x375)][_0x3b205c(0x269)](_0x2def18),'onTransformSelections':_0x26a0b3=>this[_0x3b205c(0x31e)]['transformSelections'](_0x26a0b3),'onSyncEditingCollabCursor':_0x222574=>this[_0x3b205c(0x38d)][_0x3b205c(0x209)](_0x222574),'onTransformRemoteChangesetByIMECache':_0x3f5860=>this[_0x3b205c(0x38a)][_0x3b205c(0x1d7)](_0x3f5860),'onTransformRemoteChangesetByStateCache':_0x2f7611=>this[_0x3b205c(0x375)][_0x3b205c(0x1d7)](_0x2f7611)};_0x24901d[_0x3b205c(0x2dc)](_0x29d72b);}}));}};_0x597c02=_0x4af32f([_0x286d1b(0x0,_0x333829['Inject'](_0x5cd28b[_0x52fe9a(0x325)])),_0x286d1b(0x1,_0x333829[_0x52fe9a(0x359)](_0x19b52f[_0x52fe9a(0x289)])),_0x286d1b(0x2,_0x333829['Inject'](_0x201757)),_0x286d1b(0x3,_0x333829[_0x52fe9a(0x359)](_0x9162f9)),_0x286d1b(0x4,_0x333829[_0x52fe9a(0x359)](_0x3b0bab)),_0x286d1b(0x5,_0x333829[_0x52fe9a(0x359)](_0x23fd98)),_0x286d1b(0x6,_0x47db79[_0x52fe9a(0x1df)]),_0x286d1b(0x7,_0x333829[_0x52fe9a(0x359)](_0x333829[_0x52fe9a(0x275)]))],_0x597c02);var _0x34ac79=Object[_0x52fe9a(0x2e5)],_0x2c985c=(_0x48315b,_0x2bef77,_0x59d47e,_0x3bb18f)=>{const _0x1d14c6=_0x52fe9a;for(var _0x289866=_0x3bb18f>0x1?void 0x0:_0x3bb18f?_0x34ac79(_0x2bef77,_0x59d47e):_0x2bef77,_0x493cd4=_0x48315b[_0x1d14c6(0x21d)]-0x1,_0x2088e9;_0x493cd4>=0x0;_0x493cd4--)(_0x2088e9=_0x48315b[_0x493cd4])&&(_0x289866=_0x2088e9(_0x289866)||_0x289866);return _0x289866;},_0x5ca813=(_0x368fc0,_0x141e0a)=>(_0xdc9c62,_0x2be9be)=>_0x141e0a(_0xdc9c62,_0x2be9be,_0x368fc0);let _0x57f732=class extends _0x333829[_0x52fe9a(0x13b)]{constructor(_0x511911,_0x21ea17,_0x573f5a){const _0x318400=_0x52fe9a;super(),_0x4e27f7(this,_0x318400(0x346),new Map()),_0x4e27f7(this,_0x318400(0x35a),new Map()),_0x4e27f7(this,_0x318400(0x364),!0x1),(this[_0x318400(0x1d9)]=_0x511911,this[_0x318400(0x353)]=_0x21ea17,this[_0x318400(0x369)]=_0x573f5a);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x52fe9a(0x2ff)](){const _0x6428cb=_0x52fe9a;this[_0x6428cb(0x364)]=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x52fe9a(0x16a)](){const _0x31f306=_0x52fe9a;this[_0x31f306(0x347)]()[_0x31f306(0x3c1)](()=>super[_0x31f306(0x16a)]());}async[_0x52fe9a(0x267)](_0x294ede){const _0x24e426=_0x52fe9a;return this[_0x24e426(0x364)]?null:this[_0x24e426(0x353)][_0x24e426(0x332)](_0x19b52f[_0x24e426(0x1ec)](_0x294ede));}async[_0x52fe9a(0x2f3)](_0xddfcbf,_0x4f52c9){const _0x8566c0=_0x52fe9a;return!!this[_0x8566c0(0x353)]['setItem'](_0xddfcbf,_0x4f52c9);}[_0x52fe9a(0x260)](_0x2bf92b,_0x199f4e,_0x3fd52c,_0x4f5f14){const _0x497785=_0x52fe9a,_0x7f4692=this['_revisionService'][_0x497785(0x178)](_0x2bf92b);this[_0x497785(0x346)][_0x497785(0x242)](_0x2bf92b,{'unitID':_0x2bf92b,'type':_0x199f4e,'awaitingChangeset':_0x3fd52c,'mutations':_0x4f5f14,'rev':_0x7f4692}),this[_0x497785(0x35a)]['has'](_0x2bf92b)||this[_0x497785(0x2ee)](_0x2bf92b);}[_0x52fe9a(0x2ee)](_0x322a0e){const _0x1dfb98=_0x52fe9a,_0x1ed1c0=this['_getSaveTimeout']();_0x1ed1c0===0x0?this[_0x1dfb98(0x2aa)](_0x322a0e):this[_0x1dfb98(0x35a)][_0x1dfb98(0x242)](_0x322a0e,setTimeout(()=>this[_0x1dfb98(0x2aa)](_0x322a0e),_0x1ed1c0));}['_getSaveTimeout'](){const _0x42a898=_0x52fe9a;var _0x3c1955;return(_0x3c1955=this[_0x42a898(0x1d9)][_0x42a898(0x286)](_0x19b52f[_0x42a898(0x13f)]))!=null?_0x3c1955:_0x19b52f[_0x42a898(0x258)];}[_0x52fe9a(0x2aa)](_0x27fa95){const _0x2e1975=_0x52fe9a,_0x11ff30=this[_0x2e1975(0x35a)][_0x2e1975(0x29f)](_0x27fa95);return _0x11ff30!==void 0x0&&window[_0x2e1975(0x396)](_0x11ff30),this[_0x2e1975(0x353)][_0x2e1975(0x195)](_0x19b52f[_0x2e1975(0x1ec)](_0x27fa95),this['_cachedData'][_0x2e1975(0x29f)](_0x27fa95))[_0x2e1975(0x3c1)](()=>this[_0x2e1975(0x35a)][_0x2e1975(0x29b)](_0x27fa95));}async[_0x52fe9a(0x347)](){const _0x25b9a6=_0x52fe9a,_0x5f4cea=[];this[_0x25b9a6(0x35a)][_0x25b9a6(0x1ea)]((_0x474a96,_0x1f0056)=>{const _0x5e15b7=_0x25b9a6;window[_0x5e15b7(0x396)](_0x474a96),_0x5f4cea[_0x5e15b7(0x19e)](this['_saveCache'](_0x1f0056)['then'](()=>{const _0x17b9cc=_0x5e15b7;this[_0x17b9cc(0x35a)][_0x17b9cc(0x29b)](_0x1f0056);}));}),await Promise[_0x25b9a6(0x39f)](_0x5f4cea);}};_0x57f732=_0x2c985c([_0x5ca813(0x0,_0x333829[_0x52fe9a(0x2ab)]),_0x5ca813(0x1,_0x333829[_0x52fe9a(0x378)]),_0x5ca813(0x2,_0x333829[_0x52fe9a(0x359)](_0x2efac4['RevisionService']))],_0x57f732);class _0x552b4e extends _0x333829['RxDisposable']{constructor(){const _0x488457=_0x52fe9a;super(),_0x4e27f7(this,'urlChange$'),this['urlChange$']=_0x21dbc8[_0x488457(0x121)](window,_0x488457(0x3a5))[_0x488457(0x131)](_0x21dbc8['takeUntil'](this[_0x488457(0x3b5)]),_0x21dbc8[_0x488457(0x190)](0x1),_0x21dbc8[_0x488457(0x14b)](void 0x0));}[_0x52fe9a(0x254)](_0x122f8f,_0x1f9b91,_0x57320c=!0x1){const _0x5e9c2a=_0x52fe9a,_0x22ffbc=new URL(window[_0x5e9c2a(0x1ac)][_0x5e9c2a(0x1fb)]);_0x22ffbc[_0x5e9c2a(0x124)][_0x5e9c2a(0x242)](_0x122f8f,_0x1f9b91),_0x57320c?window[_0x5e9c2a(0x2c1)]['replaceState']('','',_0x22ffbc['toString']()):window['history']['pushState']('','',_0x22ffbc[_0x5e9c2a(0x18a)]());}[_0x52fe9a(0x20e)](_0x51f9a6,_0x58721e=!0x1){const _0x2a73f9=_0x52fe9a,_0x41db74=new URL(window['location']['href']);_0x41db74['searchParams'][_0x2a73f9(0x29b)](_0x51f9a6),_0x58721e?window['history'][_0x2a73f9(0x221)]('','',_0x41db74['toString']()):window['history'][_0x2a73f9(0x24a)]('','',_0x41db74[_0x2a73f9(0x18a)]());}[_0x52fe9a(0x326)](_0x15a8af){const _0x2b1343=_0x52fe9a;var _0x16d00d;return(_0x16d00d=new URL(window[_0x2b1343(0x1ac)]['href'])[_0x2b1343(0x124)][_0x2b1343(0x29f)](_0x15a8af))!=null?_0x16d00d:void 0x0;}}var _0xef97ef=Object[_0x52fe9a(0x2ed)],_0x5e4d74=Object[_0x52fe9a(0x2e5)],_0x38843a=(_0x27371c,_0x574447,_0xe091c9)=>_0x574447 in _0x27371c?_0xef97ef(_0x27371c,_0x574447,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xe091c9}):_0x27371c[_0x574447]=_0xe091c9,_0x368c4c=(_0x1b0f9a,_0x3c420b,_0x2d15cc,_0x4c6ce0)=>{const _0x492021=_0x52fe9a;for(var _0x599e70=_0x4c6ce0>0x1?void 0x0:_0x4c6ce0?_0x5e4d74(_0x3c420b,_0x2d15cc):_0x3c420b,_0x101693=_0x1b0f9a[_0x492021(0x21d)]-0x1,_0x4df83c;_0x101693>=0x0;_0x101693--)(_0x4df83c=_0x1b0f9a[_0x101693])&&(_0x599e70=_0x4df83c(_0x599e70)||_0x599e70);return _0x599e70;},_0xaf342b=(_0x196221,_0x46d24a)=>(_0x286814,_0x1b43a8)=>_0x46d24a(_0x286814,_0x1b43a8,_0x196221),_0xfa123c=(_0x564f39,_0x3c6ef4,_0xb796e7)=>_0x38843a(_0x564f39,_0x3c6ef4+'',_0xb796e7);const _0x380066=_0x52fe9a(0x179);_0x57e2df[_0x52fe9a(0x292)]=class extends _0x333829['Plugin']{constructor(_0x500870=_0x329c35,_0x56f4e2,_0x3714b9,_0x1924ff){const _0x57a859=_0x52fe9a;super(),this[_0x57a859(0x188)]=_0x500870,this[_0x57a859(0x399)]=_0x56f4e2,this['_injector']=_0x3714b9,this[_0x57a859(0x1d9)]=_0x1924ff;const {..._0x3b5ce2}=_0x333829[_0x57a859(0x334)]({},_0x329c35,this[_0x57a859(0x188)]);this[_0x57a859(0x1d9)][_0x57a859(0x18d)](_0xdcc0ca,_0x3b5ce2);}[_0x52fe9a(0x216)](){const _0x2f9922=_0x52fe9a;this[_0x2f9922(0x3be)](),this['_initDependencies']();}[_0x52fe9a(0x196)](){const _0x128826=_0x52fe9a;this[_0x128826(0x19c)]();}[_0x52fe9a(0x3be)](){const _0xf8b454=_0x52fe9a;var _0x279198;const _0x2fb363=[[_0x35591e],[_0x3b0bab],[_0x201757],[_0x9162f9],[_0x23fd98],[_0xe2e142,{'useClass':_0x552b4e}],[_0x498070[_0xf8b454(0x31d)],{'useClass':_0x498070[_0xf8b454(0x16e)]}],[_0x19b52f['ILocalCacheService'],{'useClass':_0x57f732}],[_0x57e2df[_0xf8b454(0x37f)]],[_0x597c02],[_0x4756d0],[_0x50aeb5],[_0x291a06],[_0x57e2df[_0xf8b454(0x199)]]];_0x333829[_0xf8b454(0x136)](this['_injector'],_0x333829[_0xf8b454(0x211)](_0x2fb363,(_0x279198=this['_config'])==null?void 0x0:_0x279198[_0xf8b454(0x397)]));}[_0x52fe9a(0x19c)](){const _0x48316f=_0x52fe9a;this[_0x48316f(0x33a)](this['_renderManagerService'][_0x48316f(0x2ea)](_0x333829[_0x48316f(0x26f)][_0x48316f(0x393)],[_0x55e631])),this['disposeWithMe'](this[_0x48316f(0x399)][_0x48316f(0x2ea)](_0x333829['UniverInstanceType']['UNIVER_SHEET'],[_0x120041]));}['_initDependencies'](){const _0x33cd90=_0x52fe9a;_0x333829[_0x33cd90(0x2f9)](this[_0x33cd90(0x25e)],[[_0x50aeb5],[_0x57e2df[_0x33cd90(0x37f)]],[_0x597c02],[_0x4756d0],[_0x57e2df[_0x33cd90(0x199)]]]);}},_0xfa123c(_0x57e2df[_0x52fe9a(0x292)],_0x52fe9a(0x1c5),_0x380066),_0x57e2df[_0x52fe9a(0x292)]=_0x368c4c([_0x333829['DependentOn'](_0x19b52f['UniverCollaborationClientPlugin']),_0xaf342b(0x1,_0x1e4d9a['IRenderManagerService']),_0xaf342b(0x2,_0x333829[_0x52fe9a(0x359)](_0x333829[_0x52fe9a(0x335)])),_0xaf342b(0x3,_0x333829['IConfigService'])],_0x57e2df[_0x52fe9a(0x292)]);var _0x3ee278=Object[_0x52fe9a(0x2e5)],_0x5de4af=(_0x41fffb,_0x2a214a,_0x5bda43,_0x1d5cd0)=>{for(var _0x9b02df=_0x1d5cd0>0x1?void 0x0:_0x1d5cd0?_0x3ee278(_0x2a214a,_0x5bda43):_0x2a214a,_0x1e72f6=_0x41fffb['length']-0x1,_0x108580;_0x1e72f6>=0x0;_0x1e72f6--)(_0x108580=_0x41fffb[_0x1e72f6])&&(_0x9b02df=_0x108580(_0x9b02df)||_0x9b02df);return _0x9b02df;},_0x321838=(_0x18938d,_0x2a1ae8)=>(_0x49cf2a,_0x53317a)=>_0x2a1ae8(_0x49cf2a,_0x53317a,_0x18938d);_0x57e2df[_0x52fe9a(0x2ca)]=class extends _0x19b52f['CollaborationSocketService']{constructor(_0x463aea,_0x121966,_0x2ae29d,_0x277995,_0x4bd2a1){super(_0x463aea,_0x121966,_0x2ae29d,_0x277995,_0x4bd2a1);}async[_0x52fe9a(0x133)](_0x3b3b22){const _0x5afead=_0x52fe9a,_0x347fb9=await this[_0x5afead(0x253)](),_0x43b71c=this[_0x5afead(0x297)](_0x3b3b22,_0x347fb9);return this[_0x5afead(0x318)](_0x43b71c);}[_0x52fe9a(0x297)](_0x2d394f,_0x35d64e){const _0x37899f=_0x52fe9a,_0x10a443=typeof window>'u'?new URL(_0x2d394f):new URL(_0x2d394f,window[_0x37899f(0x1ac)][_0x37899f(0x2e6)]);_0x10a443[_0x37899f(0x124)][_0x37899f(0x242)](_0x37899f(0x22e),_0x35d64e);const _0x44eead=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x37899f(0x1ac)][_0x37899f(0x273)]);return _0x44eead['get'](_0x37899f(0x2b6))&&_0x10a443[_0x37899f(0x124)][_0x37899f(0x242)](_0x37899f(0x2b6),_0x44eead['get']('runId')),_0x10a443[_0x37899f(0x18a)]();}async[_0x52fe9a(0x253)](){const _0xdf9d30=_0x52fe9a;var _0x4729ce,_0x17d61b,_0x4da810;const _0x50cd32=this['_configService'][_0xdf9d30(0x286)](_0x19b52f[_0xdf9d30(0x33b)]),_0xd7cf88=(_0x4729ce=_0x50cd32==null?void 0x0:_0x50cd32[_0xdf9d30(0x2d5)])!=null?_0x4729ce:_0x19b52f[_0xdf9d30(0x2de)];return(_0x4da810=(_0x17d61b=(await this[_0xdf9d30(0x183)][_0xdf9d30(0x29f)](_0xd7cf88,{'headers':{'Content-Type':'application/json'}}))[_0xdf9d30(0x1d5)])==null?void 0x0:_0x17d61b[_0xdf9d30(0x2fa)])!=null?_0x4da810:'';}},_0x57e2df[_0x52fe9a(0x2ca)]=_0x5de4af([_0x321838(0x0,_0x333829[_0x52fe9a(0x359)](_0x333829[_0x52fe9a(0x335)])),_0x321838(0x1,_0x333829[_0x52fe9a(0x359)](_0x498070['HTTPService'])),_0x321838(0x2,_0x333829['IConfigService']),_0x321838(0x3,_0x333829[_0x52fe9a(0x239)]),_0x321838(0x4,_0x2efac4[_0x52fe9a(0x373)])],_0x57e2df[_0x52fe9a(0x2ca)]);const _0x322517=0x7530,_0x3b8dec=_0x52fe9a(0x191);class _0x4b3c9e extends _0x333829['Disposable']{constructor(){const _0x19d547=_0x52fe9a;super(),_0x4e27f7(this,'_id',_0x333829[_0x19d547(0x1a7)]()),_0x4e27f7(this,_0x19d547(0x1af),new Set()),_0x4e27f7(this,'_unitOnClients',new Map()),_0x4e27f7(this,_0x19d547(0x263),null),_0x4e27f7(this,_0x19d547(0x185),new Map()),_0x4e27f7(this,_0x19d547(0x36b),new Map()),this[_0x19d547(0x237)]();}[_0x52fe9a(0x16a)](){const _0x2ed7cc=_0x52fe9a;super['dispose'](),this['_clearOtherTimers']['forEach']((_0x499d24,_0x37f92a)=>this[_0x2ed7cc(0x372)](_0x37f92a)),this[_0x2ed7cc(0x263)]&&window[_0x2ed7cc(0x27f)](this['_heartbeatTimer']);}[_0x52fe9a(0x2b9)](_0x2ef534){const _0x57139d=_0x52fe9a;return this['_ensureSubject'](_0x2ef534)[_0x57139d(0x131)](_0x21dbc8[_0x57139d(0x187)]());}[_0x52fe9a(0x36f)](_0x4b4178){const _0x54aed4=_0x52fe9a;this[_0x54aed4(0x1af)][_0x54aed4(0x1a6)]===0x0&&this[_0x54aed4(0x2d7)](),this[_0x54aed4(0x1af)][_0x54aed4(0x2ba)](_0x4b4178),this[_0x54aed4(0x2f8)]({'type':0x0,'memberID':this[_0x54aed4(0x268)],'unitIDs':[_0x4b4178],'isForwarded':!0x1});}['disposeUnit'](_0x59c54a){const _0x430455=_0x52fe9a;this[_0x430455(0x1af)][_0x430455(0x29b)](_0x59c54a),this['_selfUnitIDs'][_0x430455(0x1a6)]===0x0&&this[_0x430455(0x263)]&&window[_0x430455(0x27f)](this[_0x430455(0x263)]);}[_0x52fe9a(0x237)](){const _0x34f6fb=_0x52fe9a;this['disposeWithMe'](_0x333829[_0x34f6fb(0x2cb)](_0x21dbc8[_0x34f6fb(0x121)](window,_0x34f6fb(0x299))[_0x34f6fb(0x140)](_0x124dfa=>{const _0xc7a83d=_0x34f6fb;if(_0x124dfa[_0xc7a83d(0x201)]!==_0x3b8dec||!_0x124dfa[_0xc7a83d(0x1f9)])return;const _0x4f759b=JSON[_0xc7a83d(0x361)](_0x124dfa[_0xc7a83d(0x1f9)]);this['_handleEvent'](_0x4f759b);}))),window[_0x34f6fb(0x159)](_0x34f6fb(0x1e5),()=>this[_0x34f6fb(0x2f8)]({'type':0x1,'memberID':this[_0x34f6fb(0x268)],'unitIDs':Array['from'](this[_0x34f6fb(0x1af)])}));}[_0x52fe9a(0x146)](_0x4b232c){const _0x46c12a=_0x52fe9a;switch(_0x4b232c['type']){case 0x0:this[_0x46c12a(0x24f)](_0x4b232c);break;case 0x1:this[_0x46c12a(0x34e)](_0x4b232c);break;case 0x2:this[_0x46c12a(0x2a1)](_0x4b232c);break;}}[_0x52fe9a(0x24f)](_0x158566){const _0x27164d=_0x52fe9a,{unitIDs:_0x3c47ef,memberID:_0x35c27b,isForwarded:_0x1f298a}=_0x158566;_0x3c47ef['forEach'](_0x512a3d=>{const _0x4b5cee=_0x424a;if(!_0x1f298a&&this[_0x4b5cee(0x310)][_0x4b5cee(0x141)](_0x512a3d)&&this[_0x4b5cee(0x31a)](_0x512a3d)['next'](_0x19b52f['UnitStatus']['OTHER_CLIENTS_EDITING']),!this['_unitOnClients']['has'](_0x512a3d)||!this[_0x4b5cee(0x310)]['get'](_0x512a3d)[_0x4b5cee(0x141)](_0x35c27b)){const _0x6c69e6=this['_unitOnClients'][_0x4b5cee(0x29f)](_0x512a3d)||new Set();_0x6c69e6['add'](_0x35c27b),this[_0x4b5cee(0x310)][_0x4b5cee(0x242)](_0x512a3d,_0x6c69e6),this[_0x4b5cee(0x3bf)](_0x35c27b);}}),_0x1f298a||this[_0x27164d(0x2f8)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x27164d(0x1af)]],'isForwarded':!0x0});}[_0x52fe9a(0x3bf)](_0x1536b4){const _0x4eeb1c=_0x52fe9a;this['_removeClearOtherTimer'](_0x1536b4);const _0x4c96e0=window[_0x4eeb1c(0x157)](()=>{const _0x59de24=_0x4eeb1c;this[_0x59de24(0x310)][_0x59de24(0x1ea)](_0x1baba7=>{const _0x57477a=_0x59de24;_0x1baba7[_0x57477a(0x29b)](_0x1536b4);});},_0x322517*0x2);this[_0x4eeb1c(0x185)][_0x4eeb1c(0x242)](_0x1536b4,_0x4c96e0);}['_removeClearOtherTimer'](_0x1110d2){const _0x590c7b=_0x52fe9a;if(this[_0x590c7b(0x185)][_0x590c7b(0x141)](_0x1110d2)){const _0x47644d=this[_0x590c7b(0x185)][_0x590c7b(0x29f)](_0x1110d2);_0x47644d&&window['clearTimeout'](_0x47644d),this[_0x590c7b(0x185)]['set'](_0x1110d2,null);}}['_handleLeaveEvent'](_0xcc2c69){const _0x17dca3=_0x52fe9a,{memberID:_0x56e279,unitIDs:_0x25f381}=_0xcc2c69;_0x25f381[_0x17dca3(0x1ea)](_0x5f3544=>{const _0x1d2e32=_0x17dca3;var _0x4e7f59;const _0x11cc8a=this[_0x1d2e32(0x310)][_0x1d2e32(0x29f)](_0x5f3544);_0x11cc8a&&(_0x11cc8a[_0x1d2e32(0x29b)](_0x56e279),(_0x4e7f59=this['_ensureSubject'](_0x5f3544))==null||_0x4e7f59[_0x1d2e32(0x150)](_0x11cc8a[_0x1d2e32(0x1a6)]===0x0?_0x19b52f[_0x1d2e32(0x307)][_0x1d2e32(0x2b4)]:_0x19b52f[_0x1d2e32(0x307)]['OTHER_CLIENTS_EDITING']));}),this[_0x17dca3(0x372)](_0x56e279);}[_0x52fe9a(0x2a1)](_0x40c208){const _0x519674=_0x52fe9a;this[_0x519674(0x3bf)](_0x40c208['memberID']);}[_0x52fe9a(0x2f8)](_0x5ab6ea){const _0x3d9dc5=_0x52fe9a;localStorage[_0x3d9dc5(0x195)](_0x3b8dec,JSON[_0x3d9dc5(0x20a)](_0x5ab6ea));}[_0x52fe9a(0x2d7)](){const _0x4ebf30=_0x52fe9a;this[_0x4ebf30(0x263)]=window[_0x4ebf30(0x1c4)](()=>{const _0x5b65d6=_0x4ebf30;this[_0x5b65d6(0x2f8)]({'type':0x2,'memberID':this[_0x5b65d6(0x268)]});},_0x322517);}[_0x52fe9a(0x31a)](_0x4f5038){const _0x58d8bb=_0x52fe9a;return this[_0x58d8bb(0x36b)][_0x58d8bb(0x141)](_0x4f5038)||this[_0x58d8bb(0x36b)][_0x58d8bb(0x242)](_0x4f5038,new _0x21dbc8['BehaviorSubject'](_0x19b52f[_0x58d8bb(0x307)]['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus']['get'](_0x4f5038);}}var _0x3f96dc=(_0x1c1ec9=>(_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x129)]=0x0]='UNDEFINED',_0x1c1ec9[_0x1c1ec9['OK']=0x1]='OK',_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x1ed)]=0x2]=_0x52fe9a(0x1ed),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x2a4)]=0x3]='PERMISSION_DENIED',_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x30f)]=0x4]=_0x52fe9a(0x30f),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x398)]=0x5]=_0x52fe9a(0x398),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x1c0)]=0x6]=_0x52fe9a(0x1c0),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x3af)]=0x7]='INVALID_ARGUMENT',_0x1c1ec9[_0x1c1ec9['TOO_MANY_REQUESTS']=0x8]=_0x52fe9a(0x2bd),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x1e8)]=0x9]=_0x52fe9a(0x1e8),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x2d8)]=0xa]=_0x52fe9a(0x2d8),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x226)]=0x1389]=_0x52fe9a(0x226),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x165)]=0x1771]=_0x52fe9a(0x165),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x2da)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x256)]=0x1773]=_0x52fe9a(0x256),_0x1c1ec9[_0x1c1ec9['APPLY_REJECT']=0x1b59]=_0x52fe9a(0x3b8),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x232)]=0x1b5a]=_0x52fe9a(0x232),_0x1c1ec9[_0x1c1ec9['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x52fe9a(0x2f7),_0x1c1ec9[_0x1c1ec9['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x2f5)]=0x1b5d]=_0x52fe9a(0x2f5),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x2d2)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x17c)]=0x2329]=_0x52fe9a(0x17c),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x171)]=0x232a]=_0x52fe9a(0x171),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x2fd)]=0x232b]=_0x52fe9a(0x2fd),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x336)]=0x232c]=_0x52fe9a(0x336),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x200)]=0x232d]=_0x52fe9a(0x200),_0x1c1ec9[_0x1c1ec9['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x2b0)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x383)]=0x2713]=_0x52fe9a(0x383),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x35d)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x1c1ec9[_0x1c1ec9['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x52fe9a(0x1c7),_0x1c1ec9[_0x1c1ec9['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x52fe9a(0x184),_0x1c1ec9[_0x1c1ec9['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x367)]=0x271d]=_0x52fe9a(0x367),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x125)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x3b2)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x2fc)]=0x2af9]=_0x52fe9a(0x2fc),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x2a7)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x1c1ec9[_0x1c1ec9['INVALID_INVITE_CODE']=0x2ee2]=_0x52fe9a(0x230),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x1eb)]=0x2ee3]=_0x52fe9a(0x1eb),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x35b)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x1c1ec9[_0x1c1ec9['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x52fe9a(0x15c),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x355)]=0x32c9]=_0x52fe9a(0x355),_0x1c1ec9[_0x1c1ec9['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x52fe9a(0x387),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x293)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x1c1ec9[_0x1c1ec9['UNRECOGNIZED']=-0x1]=_0x52fe9a(0x21b),_0x1c1ec9))(_0x3f96dc||{}),_0x190e02=Object['getOwnPropertyDescriptor'],_0x11ec0c=(_0x1f3ba9,_0xfafe39,_0x11f565,_0x17e163)=>{for(var _0x29652e=_0x17e163>0x1?void 0x0:_0x17e163?_0x190e02(_0xfafe39,_0x11f565):_0xfafe39,_0x5b81a9=_0x1f3ba9['length']-0x1,_0x3a72c9;_0x5b81a9>=0x0;_0x5b81a9--)(_0x3a72c9=_0x1f3ba9[_0x5b81a9])&&(_0x29652e=_0x3a72c9(_0x29652e)||_0x29652e);return _0x29652e;},_0x4eeb2a=(_0x5a829a,_0x4a66fa)=>(_0x2f1d4b,_0x5190a3)=>_0x4a66fa(_0x2f1d4b,_0x5190a3,_0x5a829a);_0x57e2df[_0x52fe9a(0x169)]=class extends _0x333829[_0x52fe9a(0x13b)]{constructor(_0x1f2019,_0x5839a1,_0x52fb20){super(),this['_instanceService']=_0x1f2019,this['_httpService']=_0x5839a1,this['_configService']=_0x52fb20;}async['runOnServer'](_0x13a791,_0x307925,_0x2edb56,..._0x57c126){const _0x11e6a2=_0x52fe9a;var _0x4fb1ce,_0x14c977,_0x30feca,_0x43e9ab;const _0xaeaeba=this['_instanceService'][_0x11e6a2(0x30d)]();if(!_0xaeaeba)throw new Error(_0x11e6a2(0x3ad));const _0x396a1b=((_0x4fb1ce=this[_0x11e6a2(0x1d9)][_0x11e6a2(0x286)](_0x19b52f[_0x11e6a2(0x312)]))!=null?_0x4fb1ce:_0x19b52f[_0x11e6a2(0x2e7)])+'/'+_0x13a791+_0x11e6a2(0x231)+_0x307925,_0x4768aa=new URL(window[_0x11e6a2(0x1ac)]['href']),_0x241865={'scriptId':_0x13a791,'runId':(_0x14c977=_0x4768aa[_0x11e6a2(0x124)][_0x11e6a2(0x29f)](_0x11e6a2(0x2b6)))!=null?_0x14c977:'','function':_0x307925,'unitId':_0xaeaeba['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x57c126),'invokeId':(_0x30feca=_0x2edb56[_0x11e6a2(0x362)])!=null?_0x30feca:'','executionId':(_0x43e9ab=_0x2edb56['executionId'])!=null?_0x43e9ab:''};try{const _0x58d7a2=await this[_0x11e6a2(0x183)]['post'](_0x396a1b,{'body':_0x241865});return _0x58d7a2['body'][_0x11e6a2(0x39e)]&&_0x58d7a2[_0x11e6a2(0x1d5)]['error'][_0x11e6a2(0x1a4)]!==_0x3f96dc['OK']?'Failed':_0x58d7a2[_0x11e6a2(0x1d5)][_0x11e6a2(0x214)];}catch{return _0x11e6a2(0x317);}}},_0x57e2df[_0x52fe9a(0x169)]=_0x11ec0c([_0x4eeb2a(0x0,_0x333829[_0x52fe9a(0x155)]),_0x4eeb2a(0x1,_0x333829['Inject'](_0x498070[_0x52fe9a(0x28b)])),_0x4eeb2a(0x2,_0x333829[_0x52fe9a(0x2ab)])],_0x57e2df[_0x52fe9a(0x169)]),_0x57e2df[_0x52fe9a(0x2ac)]=_0x3af5e3,_0x57e2df[_0x52fe9a(0x194)]=_0xe2e142,_0x57e2df[_0x52fe9a(0x38c)]=_0x12a8a6,_0x57e2df['WebBrowserSingleActiveUnitService']=_0x4b3c9e,_0x57e2df[_0x52fe9a(0x18f)]=_0x552b4e,Object[_0x52fe9a(0x2ed)](_0x57e2df,Symbol[_0x52fe9a(0x33d)],{'value':_0x52fe9a(0x27b)});}));