@univerjs-pro/collaboration-client-ui 0.6.10-nightly.202504241607 → 0.6.10-nightly.202504251607

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 _0xfda5(_0x566b4c,_0x4b113f){const _0x555ba7=_0x555b();return _0xfda5=function(_0xfda59,_0x352bcb){_0xfda59=_0xfda59-0xf6;let _0x5bf0e9=_0x555ba7[_0xfda59];return _0x5bf0e9;},_0xfda5(_0x566b4c,_0x4b113f);}function _0x555b(){const _0x355d28=['defIds','call','_assignedColors','getDocRanges','_sheetSkeletonManagerService','_doCreateSocket','attrs','getCurrentRevOfUnit','debounce','MessageType','on-line-single','_cursorInfo$','text','OTHER_CLIENTS_EDITING','all','CollaborationController','Rectangle','ICommandService','RemoveColCommandId','@univerjs-pro/collaboration','_docSyncEditingCollabCursorService','string','_status$','handleDeleteRangeMoveUp','_collabCursorController','_imageIoService','CONNECTOR_DATA_TOO_LARGE','_univerInstanceService','_scheduleSaving','handleInsertRow','_instanceService','_initStatusComponent','_textBubble','loadUnit','toRgbString','_disabled','clsx','ILocalCacheService','handleIRemoveCol','init','tag','black','svg','replaceDocRanges','set','focused$','collabStatus.syncing','sessionStatus$','send','red300','@univerjs/sheets-ui','UniverDrawing','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_commandService','eventID','onlineStatusIcon','_initEntityListener','subunit','application/json','_handleEvent','FETCH_MISS','type','_document','_createSocketURL','MemberService','complete','lineTo','onlineStatus','transformRemoteChangeset','save','InsertColCommandId','SheetCollabCursorShape','entityInit$','saveImage','top','_name','roomMembers$','throttleTime','BrowserCollaborationSocketService','_onCursorUpdate','subUnitId','toDisposable','data','InsertRowCommandId','Disposable','filter','disposeUnit','subscribeEvent','findNodePositionByCharIndex','stringify','font','collabCursorState$','1420938CarwoU','_send','reconnect','trim','clearInterval','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','@univerjs/design','invokeId','/run/','_getSaveTimeout','isTransformMutationsWithChangesetSuccess','@univerjs/engine-formula','unitID','gold400','hovered','color','SetDocZoomRatioOperation','m2Prime','permission.content','_cachedData','INVITE_CODE_HAS_BEEN_UES','entries','values','CHANGESET_REVISION_CONFILICT','_renderManagerService','_updateSubUnitFromURLParams','moveTo','cursorInfo$','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_getSheetObject','univer-online','_drawTextRange','_hovered','getMember','1em','_cursor','_transformService','has','startsWith','DocCollaborationEntity','ISocketService','UNAUTHENTICATED','_saveTaskMap','executionId','ACTIVE_UNIT_EVENT_CHANNEL','ITransformService','map','useObservable','fillRule','registerRefRange','LICENSE_MAX_UNITS_EXCEEDED','collaboration.closeRoom','syncEditingCollabCursor','indexOf','unit','from','setItem','getUndoRedoMutationParamsCache','UniverProCollaboration','measureText','sheetId','getRenderById','bottom','onStarting','IMessageService','onRendered','2tqdSlo','YUUMI_NO_CUBOID_FOR_QUESTION','WECHAT_HAS_BEEN_BOUND','_handleHover','getVpScrollXYInfoByPosToVp','_eventUnsubscribe','_session','get','urlChange$','_color','TEXT','unshift','evenodd','docStateChange$','code','isArray','_hideTimer','OffLineSingle','getSkeleton','_themeService','MOBILE_HAS_BEEN_BOUND','_collaborationController','width','_handleLeaveEvent','idSuffix','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','source','SessionStatus','_colorAssignService','PERMISSION_DENIED','_drawAnchor','YUUMI_URL_COL_OUT_OF_RANGE','xlink:href','m1Prime','_labelPosition','updateOfflineData','getMergeData','DeleteRangeMoveLeftCommandId','_localStorageService','takeUntil','2203FlDWTR','distinctUntilChanged','debug','_range','JOIN_ROOM_FAILED','_handleJoinEvent','registerDependencies','SNAPSHOT_HAS_BEEN_REMOVED','_shapes','_entityInit$','row','_initResize','APPLY_PERMISSION_DENIED','IRenderManagerService','rxjs/operators','SetSelectionsOperation','7919086WdVcec','purple300','_docTransformIMECacheService','registerRenderModule','CollaborationSocketService','3994115itnIRf','IUniverInstanceService','createIdentifier','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','searchParams','_updateURLWithCurrentState','getSheetBySheetId','createInstance','getSheetId','INotificationService','WebBrowserSingleActiveUnitService','_refreshCollabCursors','MoveRangeCommandId','translate(.97)','UNDEFINED','handleMoveRange','DocStateChangeManagerService','_getMergeRange','delete','BehaviorSubject','setTimeout','className','ALREADY_EXISTS','defineProperty','LOGIN_FAILED','_toggleOnline','handleDeleteRangeMoveLeft','undoState','UPDATE_CURSOR','onlineStatusTitle','DeleteRangeMoveUpCommandId','location','extend','_clearOtherTimers','0\x200\x2017\x2016','runId','CollaborationSessionService','_cursors','_roomMembers$','getOwnPropertyDescriptor','endColumn','YUUMI_RATE_OVER_LIMIT','clipPath','override','isTransformMutationFailure','_uiPartsService','_refRangeService','SNAPSHOT_INVALID_SNAPSHOT','href','getTypeOfUnitDisposed$','setConfig','addObjects','TEXT_RANGE_LAYER_INDEX','getColor','_lastPointer','UniverCollaborationClientPlugin','find','[CollaborationDataLoaderController]','_memberService','Plugin','INVALID_INVITE_CODE','off-line-single','restore','next','Shape','round','InsertRangeMoveRightCommandId','getItem','_drawRectRange','loadOfflineData','_transformUndoRedoStack','icon','USER_NOT_INVITED_CODE','handleIRemoveRow','mask','_config','registerBeforeClose','getStateCache','isEditing','getAncestorScale','propertyIsEnumerable','_onRefRangeChange','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','createElement','min','enableLocalCache','origin','setAlpha','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','fromEvent','AWAITING_WITH_PENDING','_getScale','on-line-single_clip0_910_349','whenReady','getFocusedUnit','_context','closePath','startColumn','Optional','ISnapshotServerService','_docSkeletonManagerService','_startSheetCollabCursor','setShapeProps','popstate','_anchor','prototype','requireSession','PENDING','APPLY_DUPLICATED','@univerjs/ui','UniverNetwork','univer-flex\x20univer-items-center','actions','dispose','hasOwnProperty','EMAIL_HAS_BEEN_BOUND','result','SOCKET_FAILED','getViewport','key','Failed','univer-online-status','_beforeCloseService','NodePositionConvertToCursor','disposeWithMe','length','_handleHeartbeatEvent','IRemoteInstanceService','CommandType','@univerjs/rpc','redoState','mutations','collaboration-client-ui.config','error','ENSURE_SNAPSHOT_EXECUTION','_collaborationUIEventService','url(#off-line-single_clip0_910_343)','debounceTime','addEventListener','SetWorksheetActivateCommand','cursorInfo','DataLoaderService','_removeCollabCursors','_ensureSubject','registerComponent','ranges','setParam','fill','PY_RUNTIME_SCRIPT_ERROR','UniverInstanceType','COMPLETION_FINISHED','transform','HTTPService','collab-client.tooltip.reconnect','size','@univerjs-pro/collaboration-client','UniverEngineFormula','substring','YUUMI_ASYNCIO_CANCELLED','getMemberID','OnLineSingle','2403054HsPMMX','collab-text-range-','CollaborationDataLoaderController','_localCacheService','Workbook','url(#$1','operators','RemoveRowCommandId','replaceState','fillText','addObject','drawWith','@univerjs/engine-render','IBeforeCloseService','_selfUnitIDs','#fff','_getSessionTicket','_setupBeforeClosingHandler','IDocClipboardService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_revisionService','online','runRefRangeMutations','_anchorDot','_notificationService','transformMutation','_configService','_initEvent','setUndoRedoMutationParamsCache','LICENSE_EXPORT_SIZE_EXCEEDED','selection','InsertRangeMoveDownCommandId','UniverDocs','_initCommandExecutedListener','onPointerLeave$','SYNCED','getOwnPropertySymbols','merge','_docTransformSelectionsService','getRangePointData','range','saveTaskMap','OTHER_CLIENT_EDITING','Warning','EffectRefRangId','amd','ILocalStorageService','_entities','asObservable','_urlService','WebURLService','handleInsertCol','rxjs','_transformHistoryAndStateStack','useDependency','HEADER_MENU','uni.network.url-service','RefRangeService','Tools','_startDocCollabCursor','getUnitId','doc.mutation.rich-text-editing','INVITE_CODE_ALREADY_BOUND','UniverProCollaborationClientUi','Error','getActiveRange','ColorKit','_messageService','column','#FFF','LOCAL_CACHE_INTERVAL_KEY','_docClipboardService','getParam','CLOSE_ROOM','concat','body','memberID','startRow','object','_collabCursorState$','_collabSessionService','DesktopCollaborationStatusDisplayController','params','getConfig','collaboration.single-unit.warning','Rect','path','_scheduleClearOtherTimer','endRow','forEach','_heartbeatTimer','imageSourceType','none','toString','0\x200\x2016\x2016','transformStateCache','8MSIOyx','getOffsetConfig','CollaborationUIEventId','onPointerMove$','univer-online-status-icon','div','name','ILogService','add','RECT','NO_OTHER_CLIENTS_EDITING','M0\x200H16V16H0z','displayName','onTransformChange$','hide','DependentOn','getCollabCursors$','getTypeOfUnitAdded$','INVITE_CODE_REQUIRED','currentSkeleton$','getActiveSheet','@univerjs/core','deserializeRangeWithSheet','fillStyle','subscribe','arc','newValue','_colorIndex','currentTheme$','AWAITING','exhaustSavingTask','...','_dataLoaderService','generateRandomId','roomMembers','APPLY_REVISION_CONFILICT','jiqing500','_saveCache','disableLocalCache','addClipboardHook','backgroundColor','search','makeDirty','with','_id','LICENSE_DISTRO_REJECTED','getCoordByCell','getLocalCacheKey','_hover','saveOfflineData','BuiltInUIPart','IConfigService','_render','RxDisposable','APPLY_REJECT','show','wsSessionTicketUrl','@univerjs/drawing','SetTextSelectionsOperation','switchMap','UniverProCollaborationClient','off-line-single_clip0_910_343','storage','split','height','_registerDependencies','skeleton','COLORS','LICENSE_IMPORT_SIZE_EXCEEDED','getCurrent','Unknown\x20user','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','offline','push','_scheduleHeartbeat','children','_docTransformStateCacheService','DocSelectionManagerService','_updateLocalCursor','function','isActive','_registerRenderDependencies','DocIMEInputManagerService','jsx','permission.title','Injector','transformSelections','activeSheet$','fromEventSubject','mergeOverrideWithDependencies','NOT_COLLAB','Inject','RemoteUniscriptService','CollaborationStatus','event$','UNRECOGNIZED','_removeClearOtherTimer','getSheetObject','[RemoteUniscriptService]:\x20no\x20focused\x20unit','DisposableCollection','onPointerEnter$','pushState','@univerjs/docs','unitId','runOnServer','UniverCollaborationClientUIPlugin','_onCursorDelete','post','getValue','_initDependencies','collabStatus.offline','combineLatest','1510362HXYoxs','UniverDocsUi','connectInjector','defs','useCallback','toStringTag','USERS_LEAVE','@univerjs/sheets','parse','engine','_syncEditingCollabCursorService','onCommandExecuted','beginPath','sheetID','handleInsertRangeMoveRight','_docSkeleton','resize','APPLY_NON_SEQUENTIAL_REVISION','unsubscribe','@univerjs/network','then','transformIMECache','VIEW_MAIN','forwardRef','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','colorChannel1','WebSocketService','includes','deepClone','textRanges','_localeService','_backgroundColor','UNIVER_DOC','_initStatusListener','CollaborationEvent','_unitStatus','assign','react/jsx-runtime','CollaborationStatusDisplay','clearTimeout','collab-rect-range-','_getAnchorBounding','contains','_init','1763064sJtAkn','_toggleOffline','_httpService','onLocalMutation','INVALID_ARGUMENT','some','YUUMI_SUBSCRIPTION_NOT_FOUND','Vector2','_logService','UNIVER_SHEET','SheetsSelectionsService','_unitOnClients','univer-offline','UniverSheetsUi','react','touchDependencies','UnitStatus','NOT_FOUND','LOCAL_CACHE_INTERVAL','FromArray','dispose$','pipe','transformMutationsWithChangeset','_cursorShapes','DOC_RANGE_TYPE','_online','assignAColorForMemberID','_scene','LocaleService','history','_updateCollabCursors','_injector','_setupSubUnitSync','ONLINE','OFFLINE','UniverCore','_docStateChangeManagerService','_draw'];_0x555b=function(){return _0x355d28;};return _0x555b();}(function(_0x425b26,_0xd1195b){const _0x3cd67a=_0xfda5,_0x2f3dba=_0x425b26();while(!![]){try{const _0x1903ed=-parseInt(_0x3cd67a(0x27f))/0x1*(parseInt(_0x3cd67a(0x257))/0x2)+parseInt(_0x3cd67a(0x215))/0x3+parseInt(_0x3cd67a(0x193))/0x4+-parseInt(_0x3cd67a(0x294))/0x5+-parseInt(_0x3cd67a(0x167))/0x6+parseInt(_0x3cd67a(0x28f))/0x7+-parseInt(_0x3cd67a(0xf7))/0x8*(parseInt(_0x3cd67a(0x335))/0x9);if(_0x1903ed===_0xd1195b)break;else _0x2f3dba['push'](_0x2f3dba['shift']());}catch(_0x5b1e81){_0x2f3dba['push'](_0x2f3dba['shift']());}}}(_0x555b,0xb13bf),function(_0x2d2b97,_0x29182e){const _0x7fa0a3=_0xfda5;typeof exports==_0x7fa0a3(0x384)&&typeof module<'u'?_0x29182e(exports,require(_0x7fa0a3(0x32f)),require(_0x7fa0a3(0x10c)),require(_0x7fa0a3(0x341)),require(_0x7fa0a3(0x17a)),require('@univerjs/docs-ui'),require(_0x7fa0a3(0x130)),require('rxjs'),require(_0x7fa0a3(0x15d)),require(_0x7fa0a3(0x1cc)),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require(_0x7fa0a3(0x28d)),require(_0x7fa0a3(0x1eb)),require(_0x7fa0a3(0x18c)),require(_0x7fa0a3(0x301)),require(_0x7fa0a3(0x21b)),require(_0x7fa0a3(0x1a1)),require(_0x7fa0a3(0x315))):typeof define==_0x7fa0a3(0x146)&&define[_0x7fa0a3(0x363)]?define(['exports','@univerjs-pro/collaboration-client','@univerjs/core',_0x7fa0a3(0x341),_0x7fa0a3(0x17a),'@univerjs/docs-ui',_0x7fa0a3(0x130),_0x7fa0a3(0x36a),_0x7fa0a3(0x15d),_0x7fa0a3(0x1cc),_0x7fa0a3(0x220),_0x7fa0a3(0x16e),_0x7fa0a3(0x28d),_0x7fa0a3(0x1eb),'react/jsx-runtime',_0x7fa0a3(0x301),'@univerjs/design',_0x7fa0a3(0x1a1),_0x7fa0a3(0x315)],_0x29182e):(_0x2d2b97=typeof globalThis<'u'?globalThis:_0x2d2b97||self,_0x29182e(_0x2d2b97[_0x7fa0a3(0x375)]={},_0x2d2b97[_0x7fa0a3(0x133)],_0x2d2b97[_0x7fa0a3(0x1b6)],_0x2d2b97['UniverEngineRender'],_0x2d2b97[_0x7fa0a3(0x302)],_0x2d2b97[_0x7fa0a3(0x168)],_0x2d2b97[_0x7fa0a3(0x1ec)],_0x2d2b97[_0x7fa0a3(0x36a)],_0x2d2b97[_0x7fa0a3(0x356)],_0x2d2b97[_0x7fa0a3(0x24f)],_0x2d2b97[_0x7fa0a3(0x330)],_0x2d2b97['UniverSheets'],_0x2d2b97[_0x7fa0a3(0x36a)][_0x7fa0a3(0x33b)],_0x2d2b97[_0x7fa0a3(0x1a0)],_0x2d2b97['React'],_0x2d2b97['UniverUi'],_0x2d2b97['UniverDesign'],_0x2d2b97['React'],_0x2d2b97['UniverRpc']));}(this,function(_0x189a83,_0x208871,_0x4bef22,_0x5bc9e3,_0x249c63,_0x33fc6e,_0x113461,_0x18dc13,_0x579d84,_0x34a53b,_0x31ede8,_0xa54874,_0x3632af,_0x5dd3a1,_0x160450,_0x199f13,_0x16b349,_0x4d4bff,_0x185caa){'use strict';const _0x1f2d6d=_0xfda5;var _0x1cb3f1=Object[_0x1f2d6d(0x2ab)],_0x57eb82=(_0x22f6a4,_0x58dc11,_0x12ea1d)=>_0x58dc11 in _0x22f6a4?_0x1cb3f1(_0x22f6a4,_0x58dc11,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x12ea1d}):_0x22f6a4[_0x58dc11]=_0x12ea1d,_0x4c7e9f=(_0x537ae1,_0x5819d0,_0x400747)=>_0x57eb82(_0x537ae1,typeof _0x5819d0!='symbol'?_0x5819d0+'':_0x5819d0,_0x400747),_0x3ee96e=Object[_0x1f2d6d(0x2bb)],_0x262f0c=(_0x279c1e,_0x2605b9,_0xc56c2d,_0x23690c)=>{for(var _0x340e3c=_0x23690c>0x1?void 0x0:_0x23690c?_0x3ee96e(_0x2605b9,_0xc56c2d):_0x2605b9,_0x525a8c=_0x279c1e['length']-0x1,_0x1efaab;_0x525a8c>=0x0;_0x525a8c--)(_0x1efaab=_0x279c1e[_0x525a8c])&&(_0x340e3c=_0x1efaab(_0x340e3c)||_0x340e3c);return _0x340e3c;},_0xdc1acc=(_0x11414d,_0x3fa2bd)=>(_0x1aaed3,_0x3c9254)=>_0x3fa2bd(_0x1aaed3,_0x3c9254,_0x11414d);let _0x251cf8=class extends _0x4bef22[_0x1f2d6d(0x12c)]{constructor(_0x528636,_0x298b1a){const _0x3ed127=_0x1f2d6d;super(),this[_0x3ed127(0x37d)]=_0x528636,this[_0x3ed127(0x1d2)]=_0x298b1a,this[_0x3ed127(0x192)]();}[_0x1f2d6d(0x192)](){const _0x59ae3b=_0x1f2d6d,_0x455d3f=this;this['disposeWithMe'](this['_docClipboardService'][_0x59ae3b(0x11e)]({'onBeforePasteImage':async _0x282029=>{const _0x3ee30b=_0x59ae3b,_0x33b867=await _0x455d3f['_imageIoService'][_0x3ee30b(0x202)](_0x282029);return _0x33b867?{'source':_0x33b867[_0x3ee30b(0x271)],'imageSourceType':_0x33b867[_0x3ee30b(0x391)]}:null;}}));}};_0x251cf8=_0x262f0c([_0xdc1acc(0x0,_0x33fc6e[_0x1f2d6d(0x347)]),_0xdc1acc(0x1,_0x113461['IImageIoService'])],_0x251cf8);const _0x30765f=[_0x1f2d6d(0x290),_0x1f2d6d(0x11b),'verdancy600',_0x1f2d6d(0x1ea),'blue400',_0x1f2d6d(0x222)];class _0x54f6dc extends _0x4bef22[_0x1f2d6d(0x20d)]{constructor(){const _0x4b70ce=_0x1f2d6d;super(...arguments),_0x4c7e9f(this,_0x4b70ce(0x1bb),new Map()),_0x4c7e9f(this,'_colorIndex',0x0);}[_0x1f2d6d(0x1ad)](_0x3212a1){const _0x528690=_0x1f2d6d;if(this[_0x528690(0x1bb)]['has'](_0x3212a1))return this[_0x528690(0x1bb)][_0x528690(0x25e)](_0x3212a1);const _0x45b5e0=_0x30765f[this[_0x528690(0x112)]];return this[_0x528690(0x112)]=(this[_0x528690(0x112)]+0x1)%_0x30765f[_0x528690(0x311)],this[_0x528690(0x1bb)][_0x528690(0x1e5)](_0x3212a1,_0x45b5e0),_0x45b5e0;}}function _0x53fa54(_0x5c3d15){const _0x4710ae=_0x1f2d6d;let _0x2ed969='';for(const _0x11a289 of _0x5c3d15){const {startOffset:_0x3f7d29,endOffset:_0x139b49,isActive:_0x690975,rangeType:_0x1aa960,segmentId:_0x512397,segmentPage:_0x3bbc31}=_0x11a289;_0x2ed969[_0x4710ae(0x311)]&&(_0x2ed969+=','),_0x2ed969+=_0x3f7d29+':'+_0x139b49+':'+(_0x690975?'1':'0')+':'+_0x1aa960+':'+_0x512397+':'+_0x3bbc31;}return _0x2ed969;}function _0x1915e7(_0x36bbe6){const _0x4d4718=_0x1f2d6d,_0x409152=_0x36bbe6[_0x4d4718(0x136)](','),_0x2de06b=[];for(const _0x1e4cad of _0x409152){const [_0xf767f0,_0x769e34,_0x1db53c,_0x1d9592,_0x2d5864,_0xa1c4d9]=_0x1e4cad[_0x4d4718(0x136)](':');_0x2de06b[_0x4d4718(0x140)]({'startOffset':Number(_0xf767f0),'endOffset':Number(_0x769e34),'collapsed':_0xf767f0===_0x769e34,'isActive':_0x1db53c==='1','rangeType':_0x1d9592===_0x4bef22[_0x4d4718(0x1ab)]['TEXT']?_0x4bef22['DOC_RANGE_TYPE'][_0x4d4718(0x261)]:_0x4bef22['DOC_RANGE_TYPE'][_0x4d4718(0x100)],'segmentId':typeof _0x2d5864==_0x4d4718(0x1ce)?String(_0x2d5864):'','segmentPage':Number(_0xa1c4d9!=null?_0xa1c4d9:-0x1)});}return _0x2de06b[_0x4d4718(0x198)](_0x1e4abf=>_0x1e4abf['isActive'])||(_0x2de06b[0x0][_0x4d4718(0x147)]=!0x0),_0x2de06b;}class _0x2647fc extends _0x4bef22['RxDisposable']{constructor(){const _0x30c6aa=_0x1f2d6d;super(...arguments),_0x4c7e9f(this,_0x30c6aa(0x385),new _0x18dc13[(_0x30c6aa(0x2a7))](null)),_0x4c7e9f(this,_0x30c6aa(0x214),this[_0x30c6aa(0x385)][_0x30c6aa(0x366)]());}['syncEditingCollabCursor'](_0x20ed51){const _0xe72617=_0x1f2d6d,{unitID:_0x155e20,memberID:_0x1846fc,textRanges:_0x35b80c}=_0x20ed51,_0x2e9eac=_0x53fa54(_0x35b80c);if(_0x2e9eac==='')return;const _0x3b1086={'unitID':_0x155e20,'memberID':_0x1846fc,'selection':_0x2e9eac};this[_0xe72617(0x385)][_0xe72617(0x2d3)](_0x3b1086);}}var _0x530a07=Object['getOwnPropertyDescriptor'],_0x523d71=(_0x9907c,_0x202fba,_0x2b102d,_0x224363)=>{const _0x22ced4=_0x1f2d6d;for(var _0x1385db=_0x224363>0x1?void 0x0:_0x224363?_0x530a07(_0x202fba,_0x2b102d):_0x202fba,_0x1de173=_0x9907c[_0x22ced4(0x311)]-0x1,_0x292995;_0x1de173>=0x0;_0x1de173--)(_0x292995=_0x9907c[_0x1de173])&&(_0x1385db=_0x292995(_0x1385db)||_0x1385db);return _0x1385db;},_0x471c01=(_0x509e9b,_0x19d5b9)=>(_0x38e2f6,_0x30a294)=>_0x19d5b9(_0x38e2f6,_0x30a294,_0x509e9b);const _0x2d3aee=0x12c,_0x561545=0x64;let _0x45346f=class extends _0x4bef22[_0x1f2d6d(0x12c)]{constructor(_0x3262e3,_0x26037f,_0x3381b0,_0x5db882,_0xa3ab43,_0x3dfe4f,_0x493d62,_0x20a942,_0x119656){const _0x10c029=_0x1f2d6d;super(),_0x4c7e9f(this,_0x10c029(0x1ac),!0x1),_0x4c7e9f(this,_0x10c029(0x192),!0x1),_0x4c7e9f(this,_0x10c029(0x1c4),new _0x18dc13[(_0x10c029(0x2a7))](new Map())),_0x4c7e9f(this,'cursorInfo$',this[_0x10c029(0x1c4)][_0x10c029(0x366)]()),_0x4c7e9f(this,_0x10c029(0x2ba),new _0x18dc13['BehaviorSubject']([])),_0x4c7e9f(this,_0x10c029(0x205),this[_0x10c029(0x2ba)]['pipe'](_0x18dc13[_0x10c029(0x31d)](_0x2d3aee))),_0x4c7e9f(this,_0x10c029(0x145),_0x4bef22[_0x10c029(0x1c1)](_0x57e2da=>{const _0x3eefeb=_0x10c029,_0x4856a0={'eventID':_0x34a53b[_0x3eefeb(0x189)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x3eefeb(0x25d)][_0x3eefeb(0x333)](),'selection':_0x53fa54(_0x57e2da)}};this[_0x3eefeb(0x25d)][_0x3eefeb(0x1e9)](_0x4856a0,this[_0x3eefeb(0x221)]);},_0x561545)),(this['unitID']=_0x3262e3,this[_0x10c029(0x25d)]=_0x26037f,this[_0x10c029(0x1b2)]=_0x3381b0,this[_0x10c029(0x273)]=_0x5db882,this[_0x10c029(0x2ce)]=_0xa3ab43,this[_0x10c029(0x171)]=_0x3dfe4f,this['_transformService']=_0x493d62,this['_univerInstanceService']=_0x20a942,this['_commandService']=_0x119656);}get['cursorInfo'](){const _0xb1a9b0=_0x1f2d6d;return this[_0xb1a9b0(0x1c4)]['getValue']();}get[_0x1f2d6d(0x119)](){const _0x3f51c9=_0x1f2d6d;return this[_0x3f51c9(0x2ba)][_0x3f51c9(0x163)]();}['dispose'](){const _0x43cba2=_0x1f2d6d;super[_0x43cba2(0x305)](),this[_0x43cba2(0x1c4)][_0x43cba2(0x2d3)](new Map()),this[_0x43cba2(0x1c4)][_0x43cba2(0x1fa)](),this[_0x43cba2(0x2ba)]['next']([]),this[_0x43cba2(0x2ba)][_0x43cba2(0x1fa)]();}[_0x1f2d6d(0x1e0)](){const _0xfde15b=_0x1f2d6d;this[_0xfde15b(0x192)]||(this[_0xfde15b(0x192)]=!0x0,this[_0xfde15b(0x25d)][_0xfde15b(0x1e8)][_0xfde15b(0x1a8)](_0x18dc13[_0xfde15b(0x27e)](this[_0xfde15b(0x1a7)]))['subscribe'](_0x50120b=>{const _0x721db8=_0xfde15b;_0x50120b===_0x208871['SessionStatus'][_0x721db8(0x1b4)]?this[_0x721db8(0x2ad)]():this[_0x721db8(0x194)]();}),this[_0xfde15b(0x25d)][_0xfde15b(0x155)][_0xfde15b(0x1a8)](_0x18dc13[_0xfde15b(0x27e)](this['dispose$']))[_0xfde15b(0x10f)](_0x1b5d7f=>{const _0x18884c=_0xfde15b,_0x501487=_0x1b5d7f['eventID'];_0x501487===_0x34a53b[_0x18884c(0x189)][_0x18884c(0x2b0)]&&this[_0x18884c(0x208)](_0x1b5d7f),_0x501487===_0x34a53b['CollaborationEvent'][_0x18884c(0x16d)]&&this[_0x18884c(0x161)](_0x1b5d7f);}),this[_0xfde15b(0x310)](this['_commandService'][_0xfde15b(0x172)](_0x244447=>{const _0x44f5c3=_0xfde15b,_0x5b756a=_0x244447[_0x44f5c3(0x388)];_0x5b756a!=null&&this[_0x44f5c3(0x1ac)]&&_0x244447['id']===_0x579d84[_0x44f5c3(0x131)]['id']&&_0x5b756a[_0x44f5c3(0x15e)]===this['unitID']&&_0x5b756a[_0x44f5c3(0x2e2)]===!0x1&&_0x5b756a[_0x44f5c3(0x325)]['length']>0x0&&this[_0x44f5c3(0x145)](_0x5b756a[_0x44f5c3(0x325)]);})),this[_0xfde15b(0x171)][_0xfde15b(0x214)][_0xfde15b(0x1a8)](_0x18dc13[_0xfde15b(0x27e)](this[_0xfde15b(0x1a7)]))[_0xfde15b(0x10f)](_0x5b7d25=>{const _0x39357b=_0xfde15b;if((_0x5b7d25==null?void 0x0:_0x5b7d25[_0x39357b(0x221)])!==this['unitID'])return;const _0x5eea2f={'eventID':_0x34a53b[_0x39357b(0x189)][_0x39357b(0x2b0)],'data':_0x5b7d25};this[_0x39357b(0x208)](_0x5eea2f);}),this[_0xfde15b(0x310)](this[_0xfde15b(0x1ee)][_0xfde15b(0x172)](_0x14938a=>{const _0x4c9f62=_0xfde15b;if(_0x14938a['params']==null)return;const _0x332ff8=_0x14938a[_0x4c9f62(0x388)];if(_0x14938a['id']!==_0x579d84['RichTextEditingMutation']['id']||_0x332ff8[_0x4c9f62(0x15e)]!==this[_0x4c9f62(0x221)])return;const _0x3bb459={'id':'doc.mutation.rich-text-editing','params':_0x332ff8},_0x570ca6=this[_0x4c9f62(0x320)];for(const [_0x2f0f4b,_0x54c87b]of _0x570ca6){const _0x26b317={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x4c9f62(0x221)],'actions':null,'textRanges':_0x54c87b[_0x4c9f62(0x325)]}},_0x4a3e37=this[_0x4c9f62(0x239)][_0x4c9f62(0x34f)](_0x3bb459,_0x26b317,!0x1);if(_0x34a53b[_0x4c9f62(0x2c0)](_0x4a3e37))throw _0x4a3e37['error'];_0x570ca6[_0x4c9f62(0x1e5)](_0x2f0f4b,{..._0x54c87b,'ranges':_0x4a3e37[_0x4c9f62(0x226)][_0x4c9f62(0x388)][_0x4c9f62(0x184)]});}queueMicrotask(()=>{const _0x520a8a=_0x4c9f62;this[_0x520a8a(0x1c4)][_0x520a8a(0x2d3)](_0x570ca6);});})));}[_0x1f2d6d(0x208)](_0x4b7b47){const _0x153e52=_0x1f2d6d;var _0x527203,_0x3d3bb0;const {memberID:_0x35f889,selection:_0x160ecb}=_0x4b7b47['data'],_0x46614f=_0x1915e7(_0x160ecb),_0x553a24=(_0x3d3bb0=(_0x527203=this['_memberService']['getMember'](this[_0x153e52(0x221)],_0x35f889))==null?void 0x0:_0x527203[_0x153e52(0xfd)])!=null?_0x3d3bb0:_0x153e52(0x13d),_0x2448fd={'color':this[_0x153e52(0x273)][_0x153e52(0x1ad)](_0x35f889),'name':_0x553a24,'ranges':_0x46614f},_0x584f86=this[_0x153e52(0x320)];_0x584f86['set'](_0x35f889,_0x2448fd),this[_0x153e52(0x1c4)]['next'](_0x584f86);}['_onCursorDelete'](_0x4d206d){const _0x1af468=_0x1f2d6d,{memberID:_0x1cb7f3}=_0x4d206d['data'],_0x15bc6d=this[_0x1af468(0x320)];_0x15bc6d[_0x1af468(0x2a6)](_0x1cb7f3),this[_0x1af468(0x1c4)]['next'](_0x15bc6d);}[_0x1f2d6d(0x2ad)](){const _0x133156=_0x1f2d6d;var _0xb4fc86;if(this[_0x133156(0x1ac)]=!0x0,((_0xb4fc86=this[_0x133156(0x1d4)]['getFocusedUnit']())==null?void 0x0:_0xb4fc86['getUnitId']())!==this['unitID'])return;const _0x18bec5=this[_0x133156(0x1b2)][_0x133156(0x25e)](_0x579d84[_0x133156(0x144)])['getDocRanges']();Array['isArray'](_0x18bec5)&&_0x18bec5[_0x133156(0x311)]>0x0&&this[_0x133156(0x145)](_0x18bec5);}[_0x1f2d6d(0x194)](){const _0x221aa3=_0x1f2d6d;this[_0x221aa3(0x1ac)]=!0x1;}};_0x45346f=_0x523d71([_0x471c01(0x2,_0x4bef22[_0x1f2d6d(0x152)](_0x4bef22[_0x1f2d6d(0x14c)])),_0x471c01(0x3,_0x4bef22[_0x1f2d6d(0x152)](_0x54f6dc)),_0x471c01(0x4,_0x4bef22[_0x1f2d6d(0x152)](_0x208871[_0x1f2d6d(0x1f9)])),_0x471c01(0x5,_0x4bef22[_0x1f2d6d(0x152)](_0x2647fc)),_0x471c01(0x6,_0x34a53b[_0x1f2d6d(0x242)]),_0x471c01(0x7,_0x4bef22[_0x1f2d6d(0x295)]),_0x471c01(0x8,_0x4bef22['ICommandService'])],_0x45346f);var _0x519272=Object['getOwnPropertyDescriptor'],_0xd32091=(_0x1fb9f3,_0x1341f3,_0x28a468,_0x33fc5c)=>{const _0x54a8ee=_0x1f2d6d;for(var _0x239295=_0x33fc5c>0x1?void 0x0:_0x33fc5c?_0x519272(_0x1341f3,_0x28a468):_0x1341f3,_0x5b329d=_0x1fb9f3[_0x54a8ee(0x311)]-0x1,_0x391f76;_0x5b329d>=0x0;_0x5b329d--)(_0x391f76=_0x1fb9f3[_0x5b329d])&&(_0x239295=_0x391f76(_0x239295)||_0x239295);return _0x239295;},_0x34f0d4=(_0x4dbac8,_0x4d3546)=>(_0x17478f,_0x30dea1)=>_0x4d3546(_0x17478f,_0x30dea1,_0x4dbac8);const _0x5c10e8=0x12c,_0x332c04=0x64,_0x30cf39=()=>{let _0x40df60=[],_0x2abe83=!0x1;return _0x1a781a=>{const _0x46e254=_0xfda5;_0x40df60[_0x46e254(0x140)](_0x1a781a),_0x2abe83||(_0x2abe83=!0x0,setTimeout(()=>{const _0xd58cac=_0x46e254;_0x40df60[_0xd58cac(0x38f)](_0xb946ab=>_0xb946ab()),_0x40df60=[],_0x2abe83=!0x1;}));};};let _0xe7823b=class extends _0x4bef22[_0x1f2d6d(0x12c)]{constructor(_0x22ec91,_0x943b04,_0x5c8927,_0x43ad92,_0x2cc166,_0x30bab9,_0x4c5601,_0x2665dd){const _0xb8b8a0=_0x1f2d6d;super(),_0x4c7e9f(this,_0xb8b8a0(0x1ac),!0x1),_0x4c7e9f(this,'_init',!0x1),_0x4c7e9f(this,_0xb8b8a0(0x1c4),new _0x18dc13['BehaviorSubject'](new Map())),_0x4c7e9f(this,_0xb8b8a0(0x230),this['_cursorInfo$'][_0xb8b8a0(0x366)]()),_0x4c7e9f(this,'_roomMembers$',new _0x18dc13['BehaviorSubject']([])),_0x4c7e9f(this,_0xb8b8a0(0x205),this[_0xb8b8a0(0x2ba)][_0xb8b8a0(0x1a8)](_0x18dc13[_0xb8b8a0(0x31d)](_0x5c10e8))),_0x4c7e9f(this,'_updateLocalCursor',_0x4bef22[_0xb8b8a0(0x1c1)]((_0x2cbee0,_0x1c68f2)=>{const _0x199389=_0xb8b8a0,_0x19d536={'eventID':_0x34a53b['CollaborationEvent'][_0x199389(0x2b0)],'data':{'unitID':this[_0x199389(0x221)],'memberID':this['_session']['getMemberID'](),'selection':_0x31ede8['serializeRangeWithSheet'](_0x2cbee0,_0x1c68f2['range'])}};this[_0x199389(0x25d)][_0x199389(0x1e9)](_0x19d536,this[_0x199389(0x221)]);},_0x332c04)),(this[_0xb8b8a0(0x221)]=_0x22ec91,this[_0xb8b8a0(0x25d)]=_0x943b04,this[_0xb8b8a0(0x1b2)]=_0x5c8927,this[_0xb8b8a0(0x273)]=_0x43ad92,this[_0xb8b8a0(0x2ce)]=_0x2cc166,this[_0xb8b8a0(0x1d4)]=_0x30bab9,this[_0xb8b8a0(0x1ee)]=_0x4c5601,this[_0xb8b8a0(0x2c2)]=_0x2665dd);}get[_0x1f2d6d(0x320)](){const _0x4e9628=_0x1f2d6d;return this[_0x4e9628(0x1c4)]['getValue']();}get[_0x1f2d6d(0x119)](){const _0x3e7b86=_0x1f2d6d;return this[_0x3e7b86(0x2ba)][_0x3e7b86(0x163)]();}[_0x1f2d6d(0x305)](){const _0x301417=_0x1f2d6d;super['dispose'](),this[_0x301417(0x1c4)][_0x301417(0x2d3)](new Map()),this[_0x301417(0x1c4)][_0x301417(0x1fa)](),this[_0x301417(0x2ba)]['next']([]),this['_roomMembers$'][_0x301417(0x1fa)]();}['init'](){const _0x286eda=_0x1f2d6d;this[_0x286eda(0x192)]||(this[_0x286eda(0x192)]=!0x0,this['_session'][_0x286eda(0x1e8)][_0x286eda(0x1a8)](_0x18dc13['takeUntil'](this[_0x286eda(0x1a7)]))[_0x286eda(0x10f)](_0x11886a=>{const _0x3f8b5b=_0x286eda;_0x11886a===_0x208871[_0x3f8b5b(0x272)]['ONLINE']?this['_toggleOnline']():this[_0x3f8b5b(0x194)]();}),this[_0x286eda(0x25d)]['event$'][_0x286eda(0x1a8)](_0x18dc13[_0x286eda(0x27e)](this[_0x286eda(0x1a7)]))[_0x286eda(0x10f)](_0x2626ff=>{const _0x39f2ea=_0x286eda,_0x1018a=_0x2626ff[_0x39f2ea(0x1ef)];_0x1018a===_0x34a53b['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x39f2ea(0x208)](_0x2626ff),_0x1018a===_0x34a53b[_0x39f2ea(0x189)]['USERS_LEAVE']&&this[_0x39f2ea(0x161)](_0x2626ff);}),this['_onRefRangeChange'](),this['disposeWithMe'](this['_commandService'][_0x286eda(0x172)](_0x49b554=>{const _0x5cdca3=_0x286eda;if(this[_0x5cdca3(0x1ac)]&&_0x49b554['id']===_0xa54874[_0x5cdca3(0x28e)]['id']&&_0x49b554['params'][_0x5cdca3(0x15e)]===this['unitID']){const _0x129619=_0x49b554[_0x5cdca3(0x388)];this[_0x5cdca3(0x145)](_0x129619[_0x5cdca3(0x209)],_0x129619['selections'][0x0]);}})));}[_0x1f2d6d(0x208)](_0x343470){const _0xb05ed6=_0x1f2d6d;var _0x10e997,_0x1e4511;const {memberID:_0x5829aa,selection:_0x2501df}=_0x343470[_0xb05ed6(0x20b)],{sheetName:_0x343ad4,range:_0x2f33f6}=_0x31ede8[_0xb05ed6(0x10d)](_0x2501df),_0x27d64b={'name':(_0x1e4511=(_0x10e997=this[_0xb05ed6(0x2ce)][_0xb05ed6(0x236)](this['unitID'],_0x5829aa))==null?void 0x0:_0x10e997[_0xb05ed6(0xfd)])!=null?_0x1e4511:_0xb05ed6(0x13d),'range':this[_0xb05ed6(0x2a5)](_0x343ad4,_0x2f33f6),'sheetID':_0x343ad4,'color':this[_0xb05ed6(0x273)][_0xb05ed6(0x1ad)](_0x5829aa),'selection':_0x2501df},_0x12809d=this[_0xb05ed6(0x320)];_0x12809d[_0xb05ed6(0x1e5)](_0x5829aa,_0x27d64b),this['_cursorInfo$']['next'](_0x12809d);}['_onCursorDelete'](_0x1a868a){const _0x1a0bc8=_0x1f2d6d,{memberID:_0x235a30}=_0x1a868a['data'],_0x41c9da=this['cursorInfo'];_0x41c9da['delete'](_0x235a30),this[_0x1a0bc8(0x1c4)]['next'](_0x41c9da);}[_0x1f2d6d(0x2a5)](_0x52b74b,_0x139435){const _0x198936=_0x1f2d6d;var _0x18271a,_0x1dd372;const _0x57b93f=(_0x1dd372=(_0x18271a=this['_univerInstanceService']['getUniverSheetInstance'](this[_0x198936(0x221)]))==null?void 0x0:_0x18271a[_0x198936(0x29a)](_0x52b74b))==null?void 0x0:_0x1dd372[_0x198936(0x27b)]();return(_0x57b93f==null?void 0x0:_0x57b93f[_0x198936(0x2cc)](_0x2be1c8=>_0x4bef22[_0x198936(0x1c9)][_0x198936(0x191)](_0x2be1c8,_0x139435)))||_0x139435;}[_0x1f2d6d(0x2e5)](){const _0x976908=_0x1f2d6d,_0x6d1f2c=new _0x4bef22[(_0x976908(0x15a))](),_0x2d5827=_0x30cf39(),_0x5348fb=()=>{const _0x18cf42=_0x976908;_0x6d1f2c[_0x18cf42(0x305)]();const _0x2421c4=(_0x47f2ae,_0x19bbb9,_0x483e03,_0x3a3127)=>{const _0x4c6ae6=_0x18cf42;let _0x429f46=[];switch(_0x47f2ae['id']){case _0xa54874[_0x4c6ae6(0x362)][_0x4c6ae6(0x27c)]:{_0x429f46=_0xa54874[_0x4c6ae6(0x2ae)](_0x47f2ae,_0x3a3127);break;}case _0xa54874[_0x4c6ae6(0x362)][_0x4c6ae6(0x2b2)]:{_0x429f46=_0xa54874[_0x4c6ae6(0x1d0)](_0x47f2ae,_0x3a3127);break;}case _0xa54874[_0x4c6ae6(0x362)][_0x4c6ae6(0x1ff)]:{_0x429f46=_0xa54874[_0x4c6ae6(0x369)](_0x47f2ae,_0x3a3127);break;}case _0xa54874[_0x4c6ae6(0x362)][_0x4c6ae6(0x355)]:{_0x429f46=_0xa54874['handleInsertRangeMoveDown'](_0x47f2ae,_0x3a3127);break;}case _0xa54874[_0x4c6ae6(0x362)][_0x4c6ae6(0x2d6)]:{_0x429f46=_0xa54874[_0x4c6ae6(0x175)](_0x47f2ae,_0x3a3127);break;}case _0xa54874['EffectRefRangId'][_0x4c6ae6(0x20c)]:{_0x429f46=_0xa54874[_0x4c6ae6(0x1d6)](_0x47f2ae,_0x3a3127);break;}case _0xa54874[_0x4c6ae6(0x362)][_0x4c6ae6(0x2a0)]:{_0x429f46=_0xa54874[_0x4c6ae6(0x2a3)](_0x47f2ae,_0x3a3127);break;}case _0xa54874[_0x4c6ae6(0x362)][_0x4c6ae6(0x1cb)]:{_0x429f46=_0xa54874[_0x4c6ae6(0x1df)](_0x47f2ae,_0x3a3127);break;}case _0xa54874[_0x4c6ae6(0x362)][_0x4c6ae6(0x33c)]:{_0x429f46=_0xa54874[_0x4c6ae6(0x2dd)](_0x47f2ae,_0x3a3127);break;}}const _0x43ba60=_0xa54874[_0x4c6ae6(0x34c)](_0x429f46,_0x3a3127),_0x59c056=this[_0x4c6ae6(0x320)][_0x4c6ae6(0x25e)](_0x19bbb9);if(_0x59c056&&_0x43ba60){const _0x129a42={..._0x59c056,'range':_0x43ba60};this[_0x4c6ae6(0x320)][_0x4c6ae6(0x1e5)](_0x19bbb9,_0x129a42),_0x2d5827(()=>{const _0x5a2259=_0x4c6ae6,_0x3caac7=this[_0x5a2259(0x2c2)][_0x5a2259(0x246)](_0x43ba60,_0x83638=>(_0x3caac7['dispose'](),_0x2421c4(_0x83638,_0x19bbb9,_0x483e03,_0x43ba60)));_0x6d1f2c[_0x5a2259(0xff)](_0x3caac7);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x18cf42(0x38f)]((_0x5ce12d,_0x25ec6a)=>{const _0x5e7bf7=_0x18cf42,{range:_0x27546e,sheetID:_0x23173e}=_0x5ce12d,_0x5bfa4e=this[_0x5e7bf7(0x2c2)][_0x5e7bf7(0x246)](_0x27546e,_0x37f817=>(_0x5bfa4e[_0x5e7bf7(0x305)](),_0x2421c4(_0x37f817,_0x25ec6a,_0x23173e,_0x27546e)));_0x6d1f2c['add'](_0x5bfa4e);});};this[_0x976908(0x310)](_0x4bef22[_0x976908(0x20a)](this[_0x976908(0x1c4)][_0x976908(0x10f)](()=>{_0x5348fb();})));}[_0x1f2d6d(0x2ad)](){const _0x28b4c1=_0x1f2d6d;var _0x4d51d0,_0x3b6608;if(this[_0x28b4c1(0x1ac)]=!0x0,((_0x4d51d0=this[_0x28b4c1(0x1d4)][_0x28b4c1(0x2f2)]())==null?void 0x0:_0x4d51d0[_0x28b4c1(0x372)]())!==this['unitID'])return;const _0x56143b=(_0x3b6608=this[_0x28b4c1(0x1b2)][_0x28b4c1(0x25e)](_0xa54874[_0x28b4c1(0x19d)])['getCurrentSelections']())==null?void 0x0:_0x3b6608[0x0],_0x49c943=this[_0x28b4c1(0x1d4)]['getCurrentUnitForType'](_0x4bef22[_0x28b4c1(0x329)][_0x28b4c1(0x19c)])[_0x28b4c1(0x10b)]();_0x56143b&&_0x49c943&&this[_0x28b4c1(0x145)](_0x49c943[_0x28b4c1(0x29c)](),_0x56143b);}[_0x1f2d6d(0x194)](){const _0x3f02e4=_0x1f2d6d;this[_0x3f02e4(0x1ac)]=!0x1;}};_0xe7823b=_0xd32091([_0x34f0d4(0x2,_0x4bef22[_0x1f2d6d(0x152)](_0x4bef22[_0x1f2d6d(0x14c)])),_0x34f0d4(0x3,_0x4bef22[_0x1f2d6d(0x152)](_0x54f6dc)),_0x34f0d4(0x4,_0x4bef22[_0x1f2d6d(0x152)](_0x208871[_0x1f2d6d(0x1f9)])),_0x34f0d4(0x5,_0x4bef22[_0x1f2d6d(0x295)]),_0x34f0d4(0x6,_0x4bef22['ICommandService']),_0x34f0d4(0x7,_0x4bef22['Inject'](_0xa54874[_0x1f2d6d(0x36f)]))],_0xe7823b);var _0x54b2e7=Object[_0x1f2d6d(0x2bb)],_0x6cdf6b=(_0x1dceec,_0x5a2877,_0x5124c3,_0x112a87)=>{for(var _0xeeadb6=_0x112a87>0x1?void 0x0:_0x112a87?_0x54b2e7(_0x5a2877,_0x5124c3):_0x5a2877,_0x17aa06=_0x1dceec['length']-0x1,_0x2a1581;_0x17aa06>=0x0;_0x17aa06--)(_0x2a1581=_0x1dceec[_0x17aa06])&&(_0xeeadb6=_0x2a1581(_0xeeadb6)||_0xeeadb6);return _0xeeadb6;},_0x598fac=(_0x338619,_0x5b055e)=>(_0x4a56ba,_0x558fd9)=>_0x5b055e(_0x4a56ba,_0x558fd9,_0x338619);let _0x43e639=class extends _0x4bef22[_0x1f2d6d(0x12c)]{constructor(_0x9c592,_0x5a617b,_0x4a0ca4){const _0x452316=_0x1f2d6d;super(),_0x4c7e9f(this,_0x452316(0x365),new Map()),_0x4c7e9f(this,'_entityInit$',new _0x18dc13['Subject']()),(this['_univerInstanceService']=_0x9c592,this[_0x452316(0x1b2)]=_0x5a617b,this[_0x452316(0x386)]=_0x4a0ca4,this[_0x452316(0x192)]());}[_0x1f2d6d(0x305)](){const _0x5b4cb1=_0x1f2d6d;super[_0x5b4cb1(0x305)](),this[_0x5b4cb1(0x288)]['complete'](),this[_0x5b4cb1(0x365)]['forEach'](_0x2b5f12=>_0x2b5f12[_0x5b4cb1(0x305)]());}[_0x1f2d6d(0x107)](_0x226f6a){const _0x310753=_0x1f2d6d;return this[_0x310753(0x365)][_0x310753(0x23a)](_0x226f6a)?this['_entities'][_0x310753(0x25e)](_0x226f6a)[_0x310753(0x230)]:this['_entityInit$'][_0x310753(0x1a8)](_0x18dc13[_0x310753(0x20e)](_0x359ed3=>_0x359ed3['unitID']===_0x226f6a),_0x18dc13[_0x310753(0x132)](_0x541756=>_0x541756[_0x310753(0x230)]));}[_0x1f2d6d(0x192)](){const _0x5596ec=_0x1f2d6d;this[_0x5596ec(0x1d4)]['getTypeOfUnitAdded$'](_0x4bef22['UniverInstanceType']['UNIVER_SHEET'])[_0x5596ec(0x1a8)](_0x18dc13[_0x5596ec(0x27e)](this[_0x5596ec(0x1a7)]))[_0x5596ec(0x10f)](async _0x3138d6=>{const _0x2e1a96=_0x5596ec,_0xeab11c=_0x3138d6[_0x2e1a96(0x372)](),_0x5cacd2=await this[_0x2e1a96(0x2f9)](_0xeab11c);this[_0x2e1a96(0x288)]['next'](_0x5cacd2),this[_0x2e1a96(0x365)][_0x2e1a96(0x1e5)](_0xeab11c,_0x5cacd2);}),this[_0x5596ec(0x1d4)][_0x5596ec(0x108)](_0x4bef22[_0x5596ec(0x329)][_0x5596ec(0x187)])[_0x5596ec(0x1a8)](_0x18dc13['takeUntil'](this[_0x5596ec(0x1a7)]))[_0x5596ec(0x1a8)](_0x18dc13[_0x5596ec(0x20e)](_0x2a331f=>!_0x2a331f[_0x5596ec(0x372)]()[_0x5596ec(0x23b)]('__')))[_0x5596ec(0x10f)](async _0x4589ac=>{const _0x74e3d6=_0x5596ec,_0x562ec5=_0x4589ac['getUnitId'](),_0x2a6a82=await this['_startDocCollabCursor'](_0x562ec5);this[_0x74e3d6(0x288)][_0x74e3d6(0x2d3)](_0x2a6a82),this[_0x74e3d6(0x365)][_0x74e3d6(0x1e5)](_0x562ec5,_0x2a6a82);}),_0x18dc13[_0x5596ec(0x35b)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x4bef22['UniverInstanceType'][_0x5596ec(0x187)]),this[_0x5596ec(0x1d4)][_0x5596ec(0x2c5)](_0x4bef22['UniverInstanceType'][_0x5596ec(0x19c)]))[_0x5596ec(0x1a8)](_0x18dc13['takeUntil'](this['dispose$']))[_0x5596ec(0x10f)](_0x5af97a=>{const _0x1ce1e0=_0x5596ec,_0x2f5461=_0x5af97a[_0x1ce1e0(0x372)](),_0x41e5ef=this[_0x1ce1e0(0x365)][_0x1ce1e0(0x25e)](_0x2f5461);_0x41e5ef&&(_0x41e5ef[_0x1ce1e0(0x305)](),this[_0x1ce1e0(0x365)][_0x1ce1e0(0x2a6)](_0x2f5461));});}async['_startSheetCollabCursor'](_0x5c2a03){const _0xc60fbf=_0x1f2d6d,_0x18ce50=await this['_collabSessionService']['requireSession'](_0x5c2a03),_0x176970=this[_0xc60fbf(0x1b2)][_0xc60fbf(0x29b)](_0xe7823b,_0x5c2a03,_0x18ce50);return _0x176970[_0xc60fbf(0x1e0)](),_0x176970;}async[_0x1f2d6d(0x371)](_0x1c614f){const _0x3c7b58=_0x1f2d6d,_0x3f93f9=await this['_collabSessionService'][_0x3c7b58(0x2fe)](_0x1c614f),_0x353ebc=this['_injector'][_0x3c7b58(0x29b)](_0x45346f,_0x1c614f,_0x3f93f9);return _0x353ebc[_0x3c7b58(0x1e0)](),_0x353ebc;}};_0x43e639=_0x6cdf6b([_0x598fac(0x0,_0x4bef22[_0x1f2d6d(0x295)]),_0x598fac(0x1,_0x4bef22['Inject'](_0x4bef22[_0x1f2d6d(0x14c)])),_0x598fac(0x2,_0x4bef22[_0x1f2d6d(0x152)](_0x208871['CollaborationSessionService']))],_0x43e639);const _0x451e35=0x14,_0x1d4f59=0xc8,_0x25b6e7=0x4,_0x143804=0x5;function _0x264af2(_0x47689f,_0x5163a0){const _0x443847=_0x1f2d6d;let {radius:_0xdd8d25,width:_0x39cb92,height:_0x57a4f5}=_0x5163a0;_0xdd8d25=_0xdd8d25!=null?_0xdd8d25:0x0,_0x39cb92=_0x39cb92!=null?_0x39cb92:0x1e,_0x57a4f5=_0x57a4f5!=null?_0x57a4f5:0x1e;let _0x44de13=0x0,_0x416d5a=0x0,_0x45a708=0x0;_0x44de13=_0x416d5a=_0x45a708=Math[_0x443847(0x2e8)](_0xdd8d25,_0x39cb92/0x2,_0x57a4f5/0x2),_0x47689f[_0x443847(0x173)](),_0x47689f[_0x443847(0x22f)](_0x44de13,0x0),_0x47689f[_0x443847(0x1fb)](_0x39cb92-_0x416d5a,0x0),_0x47689f['arc'](_0x39cb92-_0x416d5a,_0x416d5a,_0x416d5a,Math['PI']*0x3/0x2,0x0,!0x1),_0x47689f[_0x443847(0x1fb)](_0x39cb92,_0x57a4f5-_0x45a708),_0x47689f[_0x443847(0x110)](_0x39cb92-_0x45a708,_0x57a4f5-_0x45a708,_0x45a708,0x0,Math['PI']/0x2,!0x1),_0x47689f[_0x443847(0x1fb)](0x0,_0x57a4f5),_0x47689f[_0x443847(0x1fb)](0x0,_0x44de13),_0x47689f[_0x443847(0x110)](_0x44de13,_0x44de13,_0x44de13,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x47689f[_0x443847(0x2f4)](),_0x5163a0[_0x443847(0x327)]&&(_0x47689f['save'](),_0x47689f[_0x443847(0x10e)]=_0x5163a0['fill'],_0x5163a0[_0x443847(0x245)]===_0x443847(0x263)?_0x47689f['fill'](_0x443847(0x263)):_0x47689f['fill'](),_0x47689f[_0x443847(0x2d2)]());}class _0x3a2d46 extends _0x5bc9e3['Shape']{constructor(_0x1636f1,_0x8dc32f){const _0x73db35=_0x1f2d6d;super(_0x1636f1,_0x8dc32f),_0x4c7e9f(this,_0x73db35(0x224)),_0x4c7e9f(this,_0x73db35(0x1c5)),(this[_0x73db35(0x224)]=_0x8dc32f==null?void 0x0:_0x8dc32f['color'],this[_0x73db35(0x1c5)]=_0x8dc32f==null?void 0x0:_0x8dc32f['text']);}static[_0x1f2d6d(0x340)](_0x1498ce,_0x3ffc0a){const _0x1e360b=_0x1f2d6d,{text:_0x1e703b,color:_0x55dd85}=_0x3ffc0a;_0x1498ce[_0x1e360b(0x1fe)](),_0x1498ce[_0x1e360b(0x213)]=_0x1e360b(0x348);const _0x36e192=_0x1498ce['measureText'](_0x1e703b)['width'],_0x2d420d=Math[_0x1e360b(0x2e8)](_0x36e192+0x2*_0x25b6e7,_0x1d4f59);_0x264af2(_0x1498ce,{'height':_0x451e35,'radius':0x4,'width':_0x2d420d,'fill':_0x55dd85}),_0x1498ce['fillStyle']=_0x1e360b(0x37b);const _0x37eb3c=_0x25b6e7,_0xc7e43b=_0x451e35-_0x143804,_0x52b44d=_0x1d4f59-0x2*_0x25b6e7;if(_0x36e192>_0x52b44d){let _0x4dde87='',_0x17df17=0x0;for(const _0x4924ea of _0x1e703b){const _0x47b84a=_0x1498ce[_0x1e360b(0x250)](_0x4924ea)[_0x1e360b(0x26d)];if(_0x17df17+_0x47b84a<=_0x52b44d-_0x1498ce[_0x1e360b(0x250)](_0x1e360b(0x116))['width'])_0x4dde87+=_0x4924ea,_0x17df17+=_0x47b84a;else{_0x4dde87+='...';break;}}_0x1498ce['fillText'](_0x4dde87,_0x37eb3c,_0xc7e43b);}else _0x1498ce[_0x1e360b(0x33e)](_0x1e703b,_0x37eb3c,_0xc7e43b);_0x1498ce['restore']();}['_draw'](_0x4afcc3){_0x3a2d46['drawWith'](_0x4afcc3,this);}}const _0x29259d='collab-text-anchor-',_0xb682a0=_0x1f2d6d(0x336),_0x1663fa=_0x1f2d6d(0x18f),_0x3694ec=0x6,_0x2562a9=1.5,_0x42c1ab=0x4,_0xc9f84b=1.5,_0xf6ceb0='rgba(255,\x20255,\x20255,\x200.01)';class _0x56351b{constructor(_0x11438f,_0x27e471,_0x294652,_0x4ff8be){const _0x45abeb=_0x1f2d6d;_0x4c7e9f(this,'_shapes',[]),_0x4c7e9f(this,_0x45abeb(0x2fc),null),_0x4c7e9f(this,'_textBubble',null),_0x4c7e9f(this,_0x45abeb(0x34d),null),_0x4c7e9f(this,'_hideTimer',null),_0x4c7e9f(this,'_eventUnsubscribe',null),(this[_0x45abeb(0x238)]=_0x11438f,this[_0x45abeb(0x1ae)]=_0x27e471,this[_0x45abeb(0x176)]=_0x294652,this[_0x45abeb(0x1f7)]=_0x4ff8be,this[_0x45abeb(0x12b)]());}set[_0x1f2d6d(0x127)](_0x5ecef3){const _0x2b586a=_0x1f2d6d;_0x5ecef3?(this['_anchorDot']&&this['_anchorDot'][_0x2b586a(0x105)](),this[_0x2b586a(0x1d9)]&&this['_textBubble'][_0x2b586a(0x12e)]()):(this[_0x2b586a(0x34d)]&&this[_0x2b586a(0x34d)][_0x2b586a(0x12e)](),this[_0x2b586a(0x1d9)]&&this['_textBubble'][_0x2b586a(0x105)]());}[_0x1f2d6d(0x305)](){const _0x4208e7=_0x1f2d6d;for(const _0x3185f0 of this[_0x4208e7(0x287)])_0x3185f0['dispose']();this[_0x4208e7(0x1d9)]&&this['_textBubble'][_0x4208e7(0x305)](),this[_0x4208e7(0x34d)]&&this[_0x4208e7(0x34d)]['dispose'](),this['_anchor']&&this['_anchor'][_0x4208e7(0x305)](),this[_0x4208e7(0x25c)]&&this[_0x4208e7(0x25c)]();}[_0x1f2d6d(0x12b)](){const _0x1e0308=_0x1f2d6d;var _0x39a9fc;const {_docSkeleton:_0x27d36c,_document:_0x5bee22}=this,{color:_0x3329d0,name:_0xc237eb,ranges:_0x1d6106}=this[_0x1e0308(0x238)],_0x4d1a89=_0x5bee22[_0x1e0308(0xf8)](),{docsLeft:_0x59652a,docsTop:_0x4fe904}=_0x4d1a89,_0x21e98f=new _0x33fc6e[(_0x1e0308(0x30f))](_0x4d1a89,_0x27d36c);for(const {startOffset:_0x1b62e8,endOffset:_0x4b7101,rangeType:_0x3a21e2,segmentId:_0x598d6a,segmentPage:_0x31ea3f,collapsed:_0x71d9aa,isActive:_0x2e99a9}of _0x1d6106){const _0x385f2b=_0x27d36c['findNodePositionByCharIndex'](_0x1b62e8,!0x0,_0x598d6a,_0x31ea3f);let _0x15b759=_0x27d36c[_0x1e0308(0x211)](_0x4b7101,!0x0,_0x598d6a,_0x31ea3f);if(_0x15b759==null&&(_0x15b759=_0x27d36c['findNodePositionByCharIndex'](_0x4b7101-0x1,!0x1,_0x598d6a,_0x31ea3f)),_0x2e99a9){const {contentBoxPointGroup:_0x3a846b}=_0x21e98f[_0x1e0308(0x35d)](_0x15b759,_0x15b759);if(_0x3a846b[_0x1e0308(0x311)]===0x0)continue;this[_0x1e0308(0x275)](_0x3329d0,_0x3a846b,_0x59652a,_0x4fe904,_0xc237eb),this[_0x1e0308(0x25c)]=this[_0x1e0308(0x25a)]();}if(_0x385f2b&&_0x15b759){if(_0x3a21e2===_0x4bef22[_0x1e0308(0x1ab)][_0x1e0308(0x100)]){const _0xa22ec7=new _0x33fc6e['NodePositionConvertToRectRange'](_0x4d1a89,_0x27d36c),{pointGroup:_0x57755f}=(_0x39a9fc=_0xa22ec7['getRangePointData'](_0x385f2b,_0x15b759))!=null?_0x39a9fc:{};if(_0x57755f==null||_0x57755f[_0x1e0308(0x311)]===0x0)continue;this[_0x1e0308(0x2d8)](_0x3329d0,_0x57755f,_0x59652a,_0x4fe904);}else{if(!_0x71d9aa){const {borderBoxPointGroup:_0x2a7f92}=_0x21e98f[_0x1e0308(0x35d)](_0x385f2b,_0x15b759);if(_0x2a7f92[_0x1e0308(0x311)]===0x0)continue;this[_0x1e0308(0x234)](_0x3329d0,_0x2a7f92,_0x59652a,_0x4fe904);}}}}}[_0x1f2d6d(0x275)](_0x232c93,_0x2e2787,_0x7e5be5,_0x99d67,_0x5d06b6){const _0x167a6c=_0x1f2d6d,_0x2666f2=this[_0x167a6c(0x190)](_0x2e2787),{left:_0x5045d6,top:_0x13d458,height:_0x294d69}=_0x2666f2,_0x45a940=this[_0x167a6c(0x2ef)](),_0x11ec97=_0xc9f84b/_0x45a940,_0x1ba579=new _0x5bc9e3[(_0x167a6c(0x38b))](_0x29259d+_0x4bef22[_0x167a6c(0x370)][_0x167a6c(0x118)](_0x3694ec),{'left':_0x5045d6+_0x7e5be5-_0x11ec97,'top':_0x13d458+_0x99d67,'height':_0x294d69,'width':_0x2562a9,'fill':_0x232c93||_0x5bc9e3[_0x167a6c(0x2c9)](_0x4bef22[_0x167a6c(0x13a)]['black'],0x0),'strokeWidth':_0x11ec97,'stroke':_0xf6ceb0,'evented':!0x0});this['_anchor']=_0x1ba579,this[_0x167a6c(0x1ae)]['addObject'](_0x1ba579,_0x33fc6e[_0x167a6c(0x2c8)]);const _0x2a098d=new _0x5bc9e3[(_0x167a6c(0x38b))](_0x29259d+_0x4bef22['Tools'][_0x167a6c(0x118)](_0x3694ec),{'left':_0x5045d6+_0x7e5be5-_0x11ec97,'top':_0x13d458+_0x99d67-_0x42c1ab/0x2,'height':_0x42c1ab,'width':_0x42c1ab,'fill':_0x232c93||_0x5bc9e3['getColor'](_0x4bef22[_0x167a6c(0x13a)][_0x167a6c(0x1e2)],0x0),'strokeWidth':0x0,'stroke':_0x232c93||_0x5bc9e3[_0x167a6c(0x2c9)](_0x4bef22['COLORS'][_0x167a6c(0x1e2)],0x0),'evented':!0x1});this[_0x167a6c(0x34d)]=_0x2a098d,this[_0x167a6c(0x1ae)]['addObject'](_0x2a098d,_0x33fc6e[_0x167a6c(0x2c8)]);const _0x7cb530=new _0x3a2d46(_0x29259d+_0x4bef22[_0x167a6c(0x370)][_0x167a6c(0x118)](_0x3694ec),{'left':_0x5045d6+_0x7e5be5-_0x11ec97,'top':_0x13d458+_0x99d67-_0x451e35,'text':_0x5d06b6,'color':_0x232c93});this['_textBubble']=_0x7cb530,this[_0x167a6c(0x1ae)][_0x167a6c(0x33f)](_0x7cb530,_0x33fc6e[_0x167a6c(0x2c8)]),this[_0x167a6c(0x127)]=!0x1;}[_0x1f2d6d(0x25a)](){const _0x5788af=_0x1f2d6d,_0x4b81b8=this['_anchor'][_0x5788af(0x15b)]['subscribeEvent'](()=>{const _0x57e0a9=_0x5788af;this[_0x57e0a9(0x127)]=!0x0;}),_0x267841=this[_0x5788af(0x2fc)][_0x5788af(0x358)][_0x5788af(0x210)](()=>{const _0x584fcf=_0x5788af;this[_0x584fcf(0x267)]&&clearTimeout(this[_0x584fcf(0x267)]),this[_0x584fcf(0x267)]=setTimeout(()=>{const _0x4188ed=_0x584fcf;this[_0x4188ed(0x127)]=!0x1;},0x7d0);});return()=>{const _0x252569=_0x5788af;_0x4b81b8[_0x252569(0x179)](),_0x267841[_0x252569(0x179)]();};}[_0x1f2d6d(0x234)](_0x3b60d4,_0xea12ba,_0x3d5787,_0x44fff0){const _0x14eee7=_0x1f2d6d,_0x49f8c7=new _0x4bef22['ColorKit'](_0x3b60d4)['setAlpha'](0.2)[_0x14eee7(0x1db)](),_0x2bec51=new _0x5bc9e3['RegularPolygon'](_0xb682a0+_0x4bef22['Tools'][_0x14eee7(0x118)](_0x3694ec),{'pointsGroup':_0xea12ba,'fill':_0x49f8c7||_0x5bc9e3[_0x14eee7(0x2c9)](_0x4bef22[_0x14eee7(0x13a)][_0x14eee7(0x1e2)],0.2),'left':_0x3d5787,'top':_0x44fff0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x14eee7(0x287)][_0x14eee7(0x140)](_0x2bec51),this[_0x14eee7(0x1ae)][_0x14eee7(0x33f)](_0x2bec51,_0x33fc6e['TEXT_RANGE_LAYER_INDEX']);}[_0x1f2d6d(0x2d8)](_0x572260,_0x209901,_0x5bb47a,_0x593a61){const _0x15d975=_0x1f2d6d,_0x1b9fe2=new _0x4bef22[(_0x15d975(0x378))](_0x572260)[_0x15d975(0x2eb)](0.2)[_0x15d975(0x1db)](),_0x19c868=new _0x5bc9e3['RegularPolygon'](_0x1663fa+_0x4bef22[_0x15d975(0x370)]['generateRandomId'](_0x3694ec),{'pointsGroup':_0x209901,'fill':_0x1b9fe2||_0x5bc9e3[_0x15d975(0x2c9)](_0x4bef22['COLORS']['black'],0.2),'left':_0x5bb47a,'top':_0x593a61,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x15d975(0x140)](_0x19c868),this[_0x15d975(0x1ae)][_0x15d975(0x33f)](_0x19c868,_0x33fc6e['TEXT_RANGE_LAYER_INDEX']);}[_0x1f2d6d(0x190)](_0x39f153){const _0x25096a=_0x39f153[0x0],_0x291abb=_0x25096a[0x0],_0x33d9c8=_0x25096a[0x2],{x:_0x40ee7c,y:_0x47a551}=_0x291abb,{x:_0x22f4ed,y:_0x451e3c}=_0x33d9c8;return{'left':_0x40ee7c,'top':_0x47a551,'width':_0x22f4ed-_0x40ee7c,'height':_0x451e3c-_0x47a551};}['_getScale'](){const _0x48223d=_0x1f2d6d,{scaleX:_0x5c67e1,scaleY:_0xcf8845}=this[_0x48223d(0x1ae)][_0x48223d(0x2e3)]();return Math['max'](_0x5c67e1,_0xcf8845);}}var _0x13f093=Object[_0x1f2d6d(0x2bb)],_0x5c21c3=(_0x128ebd,_0x26ee24,_0x47ded0,_0x22982e)=>{const _0x2e8575=_0x1f2d6d;for(var _0x242308=_0x22982e>0x1?void 0x0:_0x22982e?_0x13f093(_0x26ee24,_0x47ded0):_0x26ee24,_0x1c6723=_0x128ebd[_0x2e8575(0x311)]-0x1,_0x173498;_0x1c6723>=0x0;_0x1c6723--)(_0x173498=_0x128ebd[_0x1c6723])&&(_0x242308=_0x173498(_0x242308)||_0x242308);return _0x242308;},_0xdaf8b5=(_0x472eb7,_0x38f702)=>(_0x56c0b5,_0x128028)=>_0x38f702(_0x56c0b5,_0x128028,_0x472eb7);let _0x42602a=class extends _0x4bef22[_0x1f2d6d(0x12c)]{constructor(_0x7f7da0,_0x26f92d,_0xa3c657,_0x41fc64,_0x5ab08a){const _0x27ff3e=_0x1f2d6d;super(),_0x4c7e9f(this,_0x27ff3e(0x1aa),[]),_0x4c7e9f(this,_0x27ff3e(0x2b9),[]),(this[_0x27ff3e(0x2f3)]=_0x7f7da0,this[_0x27ff3e(0x2f8)]=_0x26f92d,this['_collabCursorController']=_0xa3c657,this['_commandService']=_0x41fc64,this[_0x27ff3e(0x26a)]=_0x5ab08a,this[_0x27ff3e(0x192)]());}['_init'](){const _0xb8ec09=_0x1f2d6d,_0x8eb395=this[_0xb8ec09(0x2f3)][_0xb8ec09(0x15e)],_0x150506=this[_0xb8ec09(0x2f8)];this[_0xb8ec09(0x310)](_0x18dc13[_0xb8ec09(0x166)]([this['_collabCursorController'][_0xb8ec09(0x107)](_0x8eb395),this[_0xb8ec09(0x26a)][_0xb8ec09(0x113)]])['pipe'](_0x3632af[_0xb8ec09(0x243)](([_0x364e71,_0x2f5b7e])=>({'skeleton':_0x150506['getSkeleton'](),'cursors':[..._0x364e71['values']()]['flatMap'](_0x28cb89=>({..._0x28cb89,'color':_0x2f5b7e[_0x28cb89['color']]}))})))[_0xb8ec09(0x10f)](_0x5975fd=>{const _0x17efcb=_0xb8ec09;if(this['_removeCollabCursors'](),_0x5975fd){const {skeleton:_0x5e537b,cursors:_0x5be40d}=_0x5975fd;this[_0x17efcb(0x1b1)](_0x5e537b,_0x5be40d);}})),this['_initResize'](),this[_0xb8ec09(0x357)]();}[_0x1f2d6d(0x1b1)](_0x37c41b,_0x158010){const _0x25380b=_0x1f2d6d,{scene:_0x1926a4,mainComponent:_0x3f4caa}=this[_0x25380b(0x2f3)],_0x465600=_0x158010[_0x25380b(0x243)](_0x3002da=>new _0x56351b(_0x3002da,_0x1926a4,_0x37c41b,_0x3f4caa));this[_0x25380b(0x1aa)]=_0x465600,this[_0x25380b(0x2b9)]=_0x158010;}[_0x1f2d6d(0x29f)](){const _0x3a3270=_0x1f2d6d;this[_0x3a3270(0x322)]();const {scene:_0x45af51,mainComponent:_0x4aa6fb}=this[_0x3a3270(0x2f3)],_0x3bee71=this[_0x3a3270(0x2f8)][_0x3a3270(0x269)](),_0x8a5b2e=this['_cursors'][_0x3a3270(0x243)](_0x4d3f0d=>new _0x56351b(_0x4d3f0d,_0x45af51,_0x3bee71,_0x4aa6fb));this[_0x3a3270(0x1aa)]=_0x8a5b2e;}['_removeCollabCursors'](){const _0x41296d=_0x1f2d6d;this[_0x41296d(0x1aa)][_0x41296d(0x38f)](_0x4f0a07=>_0x4f0a07[_0x41296d(0x305)]()),this[_0x41296d(0x1aa)]=[];}[_0x1f2d6d(0x357)](){const _0x2b15bb=_0x1f2d6d,_0x47ae18=[_0x33fc6e[_0x2b15bb(0x225)]['id']];this['disposeWithMe'](this[_0x2b15bb(0x1ee)][_0x2b15bb(0x172)](_0x1ad7e7=>{const _0x4e6a19=_0x2b15bb;_0x47ae18[_0x4e6a19(0x182)](_0x1ad7e7['id'])&&_0x1ad7e7[_0x4e6a19(0x388)][_0x4e6a19(0x15e)]===this['_context']['unitId']&&this['_refreshCollabCursors']();}));}[_0x1f2d6d(0x28a)](){const _0x581a22=_0x1f2d6d;this['disposeWithMe'](_0x4bef22[_0x581a22(0x14f)](this[_0x581a22(0x2f3)][_0x581a22(0x170)][_0x581a22(0x104)])[_0x581a22(0x1a8)](_0x3632af[_0x581a22(0x20e)](_0x5482d7=>_0x5482d7[_0x581a22(0x1f6)]===_0x5bc9e3[_0x581a22(0x349)][_0x581a22(0x177)]),_0x3632af[_0x581a22(0x206)](0x10))[_0x581a22(0x10f)](()=>{const _0x2a3968=_0x581a22;this[_0x2a3968(0x29f)]();}));}};_0x42602a=_0x5c21c3([_0xdaf8b5(0x1,_0x4bef22[_0x1f2d6d(0x152)](_0x579d84['DocSkeletonManagerService'])),_0xdaf8b5(0x2,_0x4bef22[_0x1f2d6d(0x152)](_0x43e639)),_0xdaf8b5(0x3,_0x4bef22[_0x1f2d6d(0x1ca)]),_0xdaf8b5(0x4,_0x4bef22[_0x1f2d6d(0x152)](_0x4bef22['ThemeService']))],_0x42602a);const _0x53fc88=0x1,_0x87c86f=1.5;class _0x421ecf extends _0x5bc9e3[_0x1f2d6d(0x2d4)]{constructor(_0xd26305,_0x75b7a9){const _0x5b6d8f=_0x1f2d6d;super(_0xd26305,_0x75b7a9),_0x4c7e9f(this,_0x5b6d8f(0x260)),_0x4c7e9f(this,_0x5b6d8f(0x235),!0x1),_0x4c7e9f(this,_0x5b6d8f(0x282)),_0x4c7e9f(this,'_name',''),_0x4c7e9f(this,_0x5b6d8f(0x279),_0x5b6d8f(0x203)),_0x4c7e9f(this,_0x5b6d8f(0x186)),(_0x75b7a9&&this[_0x5b6d8f(0x2fa)](_0x75b7a9),this[_0x5b6d8f(0x15b)][_0x5b6d8f(0x210)](()=>this[_0x5b6d8f(0x2fa)]({'hovered':!0x0})),this[_0x5b6d8f(0x358)][_0x5b6d8f(0x210)](()=>this[_0x5b6d8f(0x2fa)]({'hovered':!0x1})));}['setShapeProps'](_0x3112e6){const _0x19ffb2=_0x1f2d6d;var _0xea1019,_0x19c67b,_0x1224d2,_0x242e86,_0x10513b,_0x1fd2ab;this[_0x19ffb2(0x260)]=(_0xea1019=_0x3112e6[_0x19ffb2(0x224)])!=null?_0xea1019:this['_color'],this[_0x19ffb2(0x235)]=(_0x19c67b=_0x3112e6[_0x19ffb2(0x223)])!=null?_0x19c67b:this[_0x19ffb2(0x235)],this[_0x19ffb2(0x282)]=(_0x1224d2=_0x3112e6[_0x19ffb2(0x35e)])!=null?_0x1224d2:this[_0x19ffb2(0x282)],this[_0x19ffb2(0x204)]=(_0x242e86=_0x3112e6[_0x19ffb2(0xfd)])!=null?_0x242e86:this['_name'],this[_0x19ffb2(0x279)]=(_0x10513b=_0x3112e6['labelPosition'])!=null?_0x10513b:this[_0x19ffb2(0x279)],this[_0x19ffb2(0x186)]=(_0x1fd2ab=_0x3112e6[_0x19ffb2(0x11f)])!=null?_0x1fd2ab:this[_0x19ffb2(0x186)],this['transformByState']({'width':_0x3112e6[_0x19ffb2(0x26d)],'height':_0x3112e6['height']});}['onMouseMove'](_0x4ca91d){const _0x40016d=_0x1f2d6d,{row:_0x2c745e,column:_0x1e4d8c}=_0x4ca91d;if(_0x2c745e>=this[_0x40016d(0x282)][_0x40016d(0x383)]&&_0x2c745e<=this['_range'][_0x40016d(0x38e)]&&_0x1e4d8c>=this[_0x40016d(0x282)][_0x40016d(0x2f5)]&&_0x1e4d8c<=this['_range'][_0x40016d(0x2bc)]){this[_0x40016d(0x2fa)]({'hovered':!0x0});return;}this[_0x40016d(0x2fa)]({'hovered':!0x1});}['triggerDblclick'](_0x4c4f75){return!0x1;}[_0x1f2d6d(0x1b8)](_0xb01b03){const _0x10d324=_0x1f2d6d;_0x5bc9e3[_0x10d324(0x38b)]['drawWith'](_0xb01b03,{'width':this[_0x10d324(0x26d)],'height':this[_0x10d324(0x137)],'strokeWidth':_0x87c86f,'stroke':this[_0x10d324(0x260)],'evented':!0x1,'fill':this[_0x10d324(0x186)]}),this[_0x10d324(0x235)]&&(_0xb01b03[_0x10d324(0x1fe)](),_0xb01b03[_0x10d324(0x32b)](0x1,0x0,0x0,0x1,this['width'],this[_0x10d324(0x279)]==='bottom'?0x0:-0x14),_0x3a2d46[_0x10d324(0x340)](_0xb01b03,{'text':this[_0x10d324(0x204)],'color':this[_0x10d324(0x260)]}),_0xb01b03[_0x10d324(0x2d2)]());}}var _0x19d8fb=Object['getOwnPropertyDescriptor'],_0x1c12eb=(_0x5f5dfb,_0x1c7523,_0x55d0f1,_0x4acdbd)=>{for(var _0x56dce6=_0x4acdbd>0x1?void 0x0:_0x4acdbd?_0x19d8fb(_0x1c7523,_0x55d0f1):_0x1c7523,_0x43fae3=_0x5f5dfb['length']-0x1,_0x38df48;_0x43fae3>=0x0;_0x43fae3--)(_0x38df48=_0x5f5dfb[_0x43fae3])&&(_0x56dce6=_0x38df48(_0x56dce6)||_0x56dce6);return _0x56dce6;},_0x1243b2=(_0x27ae96,_0x2271a0)=>(_0x36ef31,_0x4e88cd)=>_0x2271a0(_0x36ef31,_0x4e88cd,_0x27ae96);const _0x1577ae=0x1389;let _0x4e3e8b=class extends _0x4bef22[_0x1f2d6d(0x12c)]{constructor(_0x5a7454,_0x413d2e,_0x1f35af,_0x4bc210){const _0xb80bb1=_0x1f2d6d;super(),_0x4c7e9f(this,_0xb80bb1(0x2b9),new Set()),_0x4c7e9f(this,'_lastPointer',null),(this[_0xb80bb1(0x2f3)]=_0x5a7454,this[_0xb80bb1(0x1bd)]=_0x413d2e,this[_0xb80bb1(0x1d1)]=_0x1f35af,this[_0xb80bb1(0x26a)]=_0x4bc210,this[_0xb80bb1(0x192)]());}[_0x1f2d6d(0x192)](){const _0x3de8fc=_0x1f2d6d;this['_sheetSkeletonManagerService'][_0x3de8fc(0x10a)]['pipe'](_0x3632af['takeUntil'](this[_0x3de8fc(0x1a7)]),_0x3632af[_0x3de8fc(0x132)](_0x503697=>{const _0x60819a=_0x3de8fc;if(_0x503697){const _0x12df2d=_0x503697[_0x60819a(0x251)];return _0x18dc13['combineLatest'](this[_0x60819a(0x1d1)][_0x60819a(0x107)](this[_0x60819a(0x2f3)][_0x60819a(0x15e)]),this[_0x60819a(0x26a)][_0x60819a(0x113)])[_0x60819a(0x1a8)](_0x3632af[_0x60819a(0x243)](([_0xfecf7a,_0x2073b5])=>{const _0x2eba46=new Map();return _0xfecf7a['forEach']((_0x4807d4,_0x43848d)=>{const _0x1378da=_0xfda5;if(_0x4807d4[_0x1378da(0x174)]===_0x12df2d){const _0x4a9d62={..._0x4807d4};_0x4a9d62[_0x1378da(0x224)]=_0x2073b5[_0x4807d4[_0x1378da(0x224)]],_0x2eba46[_0x1378da(0x1e5)](_0x43848d,_0x4a9d62);}}),{'skeleton':_0x503697,'cursors':_0x2eba46};}));}return _0x18dc13['of']({'skeleton':null,'cursors':new Map()});}))[_0x3de8fc(0x10f)](({skeleton:_0x13fecd,cursors:_0x348195})=>{const _0x294090=_0x3de8fc;this[_0x294090(0x322)](),_0x13fecd&&this[_0x294090(0x1b1)](_0x13fecd,_0x348195);}),this['_sheetSkeletonManagerService'][_0x3de8fc(0x10a)][_0x3de8fc(0x10f)](_0x24ce49=>{const _0x2cdba4=_0x3de8fc;if(_0x24ce49==null)return;const {skeleton:_0x484133}=_0x24ce49,{scene:_0x307459}=this['_context'];_0x307459[_0x2cdba4(0xfa)]['subscribeEvent'](_0x4bef22['debounce'](_0x48ebf2=>{const _0x74acee=_0x2cdba4;var _0x555218,_0x32ec27;const {offsetX:_0x9d79d1,offsetY:_0x384893}=_0x48ebf2,{x:_0x24a40d,y:_0x42e143}=_0x307459['getRelativeToViewportCoord'](_0x5bc9e3[_0x74acee(0x19a)]['FromArray']([_0x9d79d1,_0x384893])),{scaleX:_0x2dddde,scaleY:_0x47d88f}=_0x307459[_0x74acee(0x2e3)](),_0x4a2c12=_0x307459[_0x74acee(0x30a)](_0x5bc9e3['SHEET_VIEWPORT_KEY'][_0x74acee(0x17d)]),_0x2e2c54=_0x307459[_0x74acee(0x25b)](_0x5bc9e3['Vector2'][_0x74acee(0x1a6)]([_0x24a40d,_0x42e143]),_0x4a2c12),_0xed69a2=_0x484133['getCellPositionByOffset'](_0x9d79d1,_0x384893,_0x2dddde,_0x47d88f,_0x2e2c54);((_0x555218=this['_lastPointer'])==null?void 0x0:_0x555218['column'])===_0xed69a2[_0x74acee(0x37a)]&&((_0x32ec27=this[_0x74acee(0x2ca)])==null?void 0x0:_0x32ec27['row'])===_0xed69a2[_0x74acee(0x289)]||this[_0x74acee(0x2b9)][_0x74acee(0x38f)](_0x4d3c8d=>{_0x4d3c8d['onMouseMove'](_0xed69a2);});},0x64));});}[_0x1f2d6d(0x1b1)](_0x133cff,_0x57f75d){const _0x5e96ce=_0x1f2d6d;var _0x3f804d;const _0x534703=(_0x3f804d=this[_0x5e96ce(0x1bd)][_0x5e96ce(0x13c)]())==null?void 0x0:_0x3f804d[_0x5e96ce(0x139)];if(!_0x534703)return;const _0x2671fd=this[_0x5e96ce(0x232)]();if(!_0x2671fd)return;this[_0x5e96ce(0x2b9)][_0x5e96ce(0x38f)](_0x477d2a=>{const _0x585ffc=_0x5e96ce;_0x477d2a[_0x585ffc(0x121)]();});const {scene:_0x189c3b}=_0x2671fd,_0x533f34=_0x102c85(Array[_0x5e96ce(0x24c)](_0x57f75d['values']()))[_0x5e96ce(0x243)](_0x1ea09e=>{const _0x2ebb5a=_0x5e96ce,{color:_0x2a75e8,range:_0x698dae,name:_0x363491,selection:_0x3e1473,sheetID:_0x38ad41}=_0x1ea09e,{startColumn:_0x3820ff,startRow:_0x19b7f7,endColumn:_0xa5e987,endRow:_0x14252d}=_0x698dae,_0xf0e37a=_0x5dd3a1[_0x2ebb5a(0x125)](_0x19b7f7,_0x3820ff,_0x189c3b,_0x534703),_0x42899a=_0x5dd3a1[_0x2ebb5a(0x125)](_0x14252d,_0xa5e987,_0x189c3b,_0x534703),{columnHeaderHeightAndMarginTop:_0x35b999}=_0x534703,{startX:_0x42173e,startY:_0x3673c8}=_0xf0e37a,{endX:_0x5444f1,endY:_0x3d8ed5}=_0x42899a,_0x5008fc=_0x5444f1-_0x42173e,_0x2f3526=_0x3d8ed5-_0x3673c8,_0x1e53f4={'labelPosition':_0x3673c8-_0x35b999>=_0x451e35?_0x2ebb5a(0x203):_0x2ebb5a(0x253),'sheetID':_0x38ad41,'range':_0x698dae,'color':_0x2a75e8,'name':_0x363491,'selection':_0x3e1473,'left':_0x42173e,'top':_0x3673c8,'width':_0x5008fc,'height':_0x2f3526,'evented':!0x1,'zIndex':_0x1577ae};return new _0x421ecf(_0x363491,_0x1e53f4);});_0x189c3b[_0x5e96ce(0x2c7)](_0x533f34,_0x53fc88),this['_cursors']=new Set(_0x533f34);}[_0x1f2d6d(0x322)](){const _0x58f32c=_0x1f2d6d;var _0x14057d;(_0x14057d=this[_0x58f32c(0x2b9)])==null||_0x14057d[_0x58f32c(0x38f)](_0x410cb1=>_0x410cb1[_0x58f32c(0x305)]());}[_0x1f2d6d(0x232)](){const _0xdd65b2=_0x1f2d6d;return _0x5dd3a1[_0xdd65b2(0x158)](this[_0xdd65b2(0x2f3)]['unit'],this[_0xdd65b2(0x2f3)]);}};_0x4e3e8b=_0x1c12eb([_0x1243b2(0x1,_0x4bef22[_0x1f2d6d(0x152)](_0x5dd3a1['SheetSkeletonManagerService'])),_0x1243b2(0x2,_0x4bef22['Inject'](_0x43e639)),_0x1243b2(0x3,_0x4bef22[_0x1f2d6d(0x152)](_0x4bef22['ThemeService']))],_0x4e3e8b);function _0x102c85(_0x3b730e){const _0x3ad3d4=_0x1f2d6d,_0x5bbfe3=new Map();return _0x3b730e[_0x3ad3d4(0x38f)](_0x33317a=>{const _0x3907c7=_0x3ad3d4;if(_0x5bbfe3['has'](_0x33317a[_0x3907c7(0x354)])){const _0x2075ac=_0x5bbfe3[_0x3907c7(0x25e)](_0x33317a['selection']);_0x2075ac[_0x3907c7(0xfd)]+=',\x20'+_0x33317a[_0x3907c7(0xfd)];}else _0x5bbfe3[_0x3907c7(0x1e5)](_0x33317a['selection'],_0x33317a);}),Array[_0x3ad3d4(0x24c)](_0x5bbfe3[_0x3ad3d4(0x22b)]());}var _0xb9955=function(){return _0xb9955=Object['assign']||function(_0x1cd853){const _0x388a26=_0xfda5;for(var _0x54f25f,_0x3f66ec=0x1,_0x146b8c=arguments[_0x388a26(0x311)];_0x3f66ec<_0x146b8c;_0x3f66ec++){_0x54f25f=arguments[_0x3f66ec];for(var _0x14bb2e in _0x54f25f)Object[_0x388a26(0x2fd)][_0x388a26(0x306)][_0x388a26(0x1ba)](_0x54f25f,_0x14bb2e)&&(_0x1cd853[_0x14bb2e]=_0x54f25f[_0x14bb2e]);}return _0x1cd853;},_0xb9955['apply'](this,arguments);},_0x4dead5=function(_0x2eb4f6,_0x179987){const _0x1caeda=_0x1f2d6d;var _0x4156fe={};for(var _0x5a2e17 in _0x2eb4f6)Object[_0x1caeda(0x2fd)]['hasOwnProperty']['call'](_0x2eb4f6,_0x5a2e17)&&_0x179987[_0x1caeda(0x24a)](_0x5a2e17)<0x0&&(_0x4156fe[_0x5a2e17]=_0x2eb4f6[_0x5a2e17]);if(_0x2eb4f6!=null&&typeof Object[_0x1caeda(0x35a)]=='function'){for(var _0x3d9903=0x0,_0x5a2e17=Object[_0x1caeda(0x35a)](_0x2eb4f6);_0x3d9903<_0x5a2e17['length'];_0x3d9903++)_0x179987[_0x1caeda(0x24a)](_0x5a2e17[_0x3d9903])<0x0&&Object[_0x1caeda(0x2fd)][_0x1caeda(0x2e4)][_0x1caeda(0x1ba)](_0x2eb4f6,_0x5a2e17[_0x3d9903])&&(_0x4156fe[_0x5a2e17[_0x3d9903]]=_0x2eb4f6[_0x5a2e17[_0x3d9903]]);}return _0x4156fe;},_0xed901a=_0x4d4bff[_0x1f2d6d(0x17e)](function(_0x30b86b,_0x10bedd){const _0x518a3f=_0x1f2d6d;var _0x49144f=_0x30b86b[_0x518a3f(0x2db)],_0x27bbdb=_0x30b86b['id'],_0x5015e4=_0x30b86b[_0x518a3f(0x2a9)],_0x38536f=_0x30b86b[_0x518a3f(0x2b4)],_0x5b2eaf=_0x4dead5(_0x30b86b,[_0x518a3f(0x2db),'id',_0x518a3f(0x2a9),_0x518a3f(0x2b4)]),_0x5b7e5c='univerjs-icon\x20univerjs-icon-'[_0x518a3f(0x380)](_0x27bbdb,'\x20')[_0x518a3f(0x380)](_0x5015e4||'')[_0x518a3f(0x218)](),_0x1186d4=_0x4d4bff['useRef']('_'['concat'](_0x131621()));return _0x432feb(_0x49144f,''[_0x518a3f(0x380)](_0x27bbdb),{'defIds':_0x49144f['defIds'],'idSuffix':_0x1186d4['current']},_0xb9955({'ref':_0x10bedd,'className':_0x5b7e5c},_0x5b2eaf),_0x38536f);});function _0x432feb(_0x3f576e,_0x4352d1,_0x20636b,_0x2f2315,_0x3072b1){const _0x42ceac=_0x1f2d6d;return _0x4d4bff[_0x42ceac(0x2e7)](_0x3f576e[_0x42ceac(0x1e1)],_0xb9955(_0xb9955({'key':_0x4352d1},_0x9e755f(_0x3f576e,_0x20636b,_0x3072b1)),_0x2f2315),(_0x25b6c9(_0x3f576e,_0x20636b)[_0x42ceac(0x142)]||[])[_0x42ceac(0x243)](function(_0x43cb84,_0x41d2e9){const _0x1749e3=_0x42ceac;return _0x432feb(_0x43cb84,''[_0x1749e3(0x380)](_0x4352d1,'-')[_0x1749e3(0x380)](_0x3f576e[_0x1749e3(0x1e1)],'-')[_0x1749e3(0x380)](_0x41d2e9),_0x20636b,void 0x0,_0x3072b1);}));}function _0x9e755f(_0x153172,_0x268265,_0x4ca0fa){const _0x2dd006=_0x1f2d6d;var _0x1c3ee0=_0xb9955({},_0x153172['attrs']);_0x4ca0fa!=null&&_0x4ca0fa[_0x2dd006(0x180)]&&_0x1c3ee0[_0x2dd006(0x327)]==='colorChannel1'&&(_0x1c3ee0['fill']=_0x4ca0fa[_0x2dd006(0x180)]),_0x153172[_0x2dd006(0x1e1)]===_0x2dd006(0x2de)&&_0x1c3ee0['id']&&(_0x1c3ee0['id']=_0x1c3ee0['id']+_0x268265[_0x2dd006(0x26f)]),Object[_0x2dd006(0x22a)](_0x1c3ee0)['forEach'](function(_0x1e8a74){const _0x158fe6=_0x2dd006;var _0x26c957=_0x1e8a74[0x0],_0xb7dbe5=_0x1e8a74[0x1];_0x26c957===_0x158fe6(0x2de)&&typeof _0xb7dbe5==_0x158fe6(0x1ce)&&(_0x1c3ee0[_0x26c957]=_0xb7dbe5['replace'](/url\(#(.*)\)/,_0x158fe6(0x33a)['concat'](_0x268265[_0x158fe6(0x26f)],')')));});var _0x79a122=_0x268265[_0x2dd006(0x1b9)];return!_0x79a122||_0x79a122[_0x2dd006(0x311)]===0x0||(_0x153172[_0x2dd006(0x1e1)]==='use'&&_0x1c3ee0['xlink:href']&&(_0x1c3ee0['xlink:href']=_0x1c3ee0[_0x2dd006(0x277)]+_0x268265[_0x2dd006(0x26f)]),Object['entries'](_0x1c3ee0)[_0x2dd006(0x38f)](function(_0x5afabb){const _0xfc8502=_0x2dd006;var _0x524d39=_0x5afabb[0x0],_0x4b6016=_0x5afabb[0x1];typeof _0x4b6016=='string'&&(_0x1c3ee0[_0x524d39]=_0x4b6016['replace'](/url\(#(.*)\)/,_0xfc8502(0x33a)['concat'](_0x268265['idSuffix'],')')));})),_0x1c3ee0;}function _0x25b6c9(_0x58365b,_0x448ea4){const _0x59993f=_0x1f2d6d;var _0x48d4e2,_0x593aac=_0x448ea4[_0x59993f(0x1b9)];return!_0x593aac||_0x593aac[_0x59993f(0x311)]===0x0?_0x58365b:_0x58365b[_0x59993f(0x1e1)]===_0x59993f(0x16a)&&(!((_0x48d4e2=_0x58365b[_0x59993f(0x142)])===null||_0x48d4e2===void 0x0)&&_0x48d4e2[_0x59993f(0x311)])?_0xb9955(_0xb9955({},_0x58365b),{'children':_0x58365b[_0x59993f(0x142)][_0x59993f(0x243)](function(_0x290e8f){const _0x3d793b=_0x59993f;return typeof _0x290e8f[_0x3d793b(0x1bf)]['id']=='string'&&_0x593aac&&_0x593aac[_0x3d793b(0x24a)](_0x290e8f['attrs']['id'])>-0x1?_0xb9955(_0xb9955({},_0x290e8f),{'attrs':_0xb9955(_0xb9955({},_0x290e8f[_0x3d793b(0x1bf)]),{'id':_0x290e8f[_0x3d793b(0x1bf)]['id']+_0x448ea4[_0x3d793b(0x26f)]})}):_0x290e8f;})}):_0x58365b;}function _0x131621(){const _0x552963=_0x1f2d6d;return Math['random']()[_0x552963(0x393)](0x24)[_0x552963(0x331)](0x2,0x8);}_0xed901a[_0x1f2d6d(0x103)]='UniverIcon';var _0x2eced1={'tag':_0x1f2d6d(0x1e3),'attrs':{'fill':_0x1f2d6d(0x392),'viewBox':_0x1f2d6d(0x394),'width':_0x1f2d6d(0x237),'height':_0x1f2d6d(0x237)},'children':[{'tag':'g','attrs':{'clipPath':_0x1f2d6d(0x31c)},'children':[{'tag':_0x1f2d6d(0x38c),'attrs':{'stroke':'currentColor','d':_0x1f2d6d(0x2ec),'strokeLinecap':'round','strokeLinejoin':_0x1f2d6d(0x2d5),'strokeWidth':1.2}}]},{'tag':_0x1f2d6d(0x16a),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1f2d6d(0x134)},'children':[{'tag':_0x1f2d6d(0x38c),'attrs':{'fill':_0x1f2d6d(0x344),'d':_0x1f2d6d(0x102)}}]}]}],'defIds':[_0x1f2d6d(0x134)]},_0x46f593=_0x4d4bff[_0x1f2d6d(0x17e)](function(_0x1d8cf6,_0x523bf8){const _0x44ce0e=_0x1f2d6d;return _0x4d4bff['createElement'](_0xed901a,Object['assign']({},_0x1d8cf6,{'id':_0x44ce0e(0x2d1),'ref':_0x523bf8,'icon':_0x2eced1}));});_0x46f593['displayName']=_0x1f2d6d(0x268);var _0xced103={'tag':'svg','attrs':{'fill':'none','viewBox':_0x1f2d6d(0x2b6),'width':_0x1f2d6d(0x237),'height':_0x1f2d6d(0x237)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x1f2d6d(0x38c),'attrs':{'stroke':'currentColor','d':_0x1f2d6d(0x21a),'strokeLinecap':'round','strokeLinejoin':_0x1f2d6d(0x2d5),'strokeWidth':1.2}}]},{'tag':_0x1f2d6d(0x16a),'attrs':{},'children':[{'tag':_0x1f2d6d(0x2be),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x1f2d6d(0x344),'d':'M0\x200H16V16H0z','transform':_0x1f2d6d(0x2a1)}}]}]}],'defIds':[_0x1f2d6d(0x2f0)]},_0x471666=_0x4d4bff[_0x1f2d6d(0x17e)](function(_0x189d31,_0x10287f){const _0x48e839=_0x1f2d6d;return _0x4d4bff[_0x48e839(0x2e7)](_0xed901a,Object[_0x48e839(0x18b)]({},_0x189d31,{'id':_0x48e839(0x1c3),'ref':_0x10287f,'icon':_0xced103}));});_0x471666[_0x1f2d6d(0x103)]=_0x1f2d6d(0x334);const _0x1dee81={'onlineStatusIcon':_0x1f2d6d(0xfb),'onlineStatusTitle':'univer-online-status-title','onlineStatus':_0x1f2d6d(0x30d),'online':_0x1f2d6d(0x233),'offline':_0x1f2d6d(0x19f)};function _0x1e756f(_0xe1daae){const _0x206763=_0x1f2d6d;switch(_0xe1daae){case _0x208871[_0x206763(0x154)][_0x206763(0x1b5)]:return _0x206763(0x165);case _0x208871[_0x206763(0x154)]['CONFLICT']:return'collabStatus.conflict';case _0x208871['CollaborationStatus'][_0x206763(0x1f5)]:return'collabStatus.fetchMiss';case _0x208871[_0x206763(0x154)][_0x206763(0x151)]:return'collabStatus.notCollab';case _0x208871[_0x206763(0x154)][_0x206763(0x114)]:case _0x208871['CollaborationStatus'][_0x206763(0x2ee)]:return _0x206763(0x1e7);case _0x208871[_0x206763(0x154)][_0x206763(0x359)]:case _0x208871[_0x206763(0x154)][_0x206763(0x2ff)]:return'collabStatus.synced';}}function _0x58a511(_0x942875){const _0x5c75c6=_0x1f2d6d,{status$:_0x459b3c}=_0x942875,_0x4f8238=_0x199f13[_0x5c75c6(0x244)](_0x459b3c,_0x208871[_0x5c75c6(0x154)][_0x5c75c6(0x151)]),_0x40f2d7=_0x199f13['useDependency'](_0x4bef22[_0x5c75c6(0x1af)]),_0x3dc6ca=_0x199f13[_0x5c75c6(0x36c)](_0x208871[_0x5c75c6(0x2b8)]),_0x59bec8=_0x4f8238!==_0x208871[_0x5c75c6(0x154)][_0x5c75c6(0x1b5)],_0x504944=_0x40f2d7['t'](_0x1e756f(_0x4f8238)),_0x47fba9=_0x16b349[_0x5c75c6(0x1dd)](_0x1dee81[_0x5c75c6(0x1fc)],{[_0x1dee81[_0x5c75c6(0x34b)]]:_0x59bec8,[_0x1dee81[_0x5c75c6(0x13f)]]:!_0x59bec8}),_0x234d09=_0x59bec8?_0x160450[_0x5c75c6(0x14a)](_0x471666,{}):_0x160450[_0x5c75c6(0x14a)](_0x46f593,{}),_0x42c26c=_0x4d4bff[_0x5c75c6(0x16b)](()=>{const _0x2e17b5=_0x5c75c6;_0x59bec8||_0x3dc6ca[_0x2e17b5(0x217)]();},[_0x59bec8,_0x3dc6ca]);function _0x24b5ad(){const _0x5e1cf0=_0x5c75c6;return _0x160450['jsxs']('div',{'className':_0x16b349[_0x5e1cf0(0x1dd)](_0x47fba9,_0x5e1cf0(0x303)),'onClick':_0x42c26c,'children':[_0x160450['jsx'](_0x5e1cf0(0xfc),{'className':_0x1dee81[_0x5e1cf0(0x1f0)],'children':_0x234d09}),_0x160450['jsx'](_0x5e1cf0(0xfc),{'className':_0x1dee81[_0x5e1cf0(0x2b1)],'children':_0x504944})]});}return _0x59bec8?_0x24b5ad():_0x160450[_0x5c75c6(0x14a)](_0x16b349['Tooltip'],{'title':_0x40f2d7['t'](_0x5c75c6(0x32d)),'children':_0x24b5ad()});}var _0x3606ba=Object[_0x1f2d6d(0x2bb)],_0x2a82f6=(_0x318a58,_0x344d01,_0x5e57d7,_0x4b0336)=>{for(var _0x15f80b=_0x4b0336>0x1?void 0x0:_0x4b0336?_0x3606ba(_0x344d01,_0x5e57d7):_0x344d01,_0x52d05e=_0x318a58['length']-0x1,_0x2785e6;_0x52d05e>=0x0;_0x52d05e--)(_0x2785e6=_0x318a58[_0x52d05e])&&(_0x15f80b=_0x2785e6(_0x15f80b)||_0x15f80b);return _0x15f80b;},_0x54ab79=(_0x4e0ce4,_0x1684c2)=>(_0x26a0f6,_0x3c1b7a)=>_0x1684c2(_0x26a0f6,_0x3c1b7a,_0x4e0ce4);_0x189a83[_0x1f2d6d(0x387)]=class extends _0x4bef22[_0x1f2d6d(0x20d)]{constructor(_0xd382cf,_0x1a1386,_0x13ab35,_0x473416){const _0x381159=_0x1f2d6d;super(),_0x4c7e9f(this,_0x381159(0x1cf),new _0x18dc13[(_0x381159(0x2a7))](_0x208871[_0x381159(0x154)]['NOT_COLLAB'])),(this['_univerInstanceService']=_0xd382cf,this[_0x381159(0x1b2)]=_0x1a1386,this[_0x381159(0x26c)]=_0x13ab35,this[_0x381159(0x2c1)]=_0x473416,this[_0x381159(0x1d8)](),this[_0x381159(0x188)]());}[_0x1f2d6d(0x188)](){const _0x794651=_0x1f2d6d;this[_0x794651(0x310)](this[_0x794651(0x1d4)][_0x794651(0x1e6)][_0x794651(0x1a8)](_0x18dc13[_0x794651(0x132)](()=>{const _0x2c81d9=_0x794651,_0x7be8cc=this[_0x2c81d9(0x1d4)][_0x2c81d9(0x2f2)]();return _0x7be8cc?this['_collaborationController']['getCollabEntity$'](_0x7be8cc['getUnitId']()):_0x18dc13['of'](null);}),_0x18dc13[_0x794651(0x132)](_0x25af7e=>_0x25af7e?_0x25af7e['status$']:_0x18dc13['of'](_0x208871[_0x794651(0x154)][_0x794651(0x151)])))[_0x794651(0x10f)](_0xe452d5=>{const _0x17d4b=_0x794651;this['_status$'][_0x17d4b(0x2d3)](_0xe452d5);}));}[_0x1f2d6d(0x1d8)](){const _0x291365=_0x1f2d6d;this[_0x291365(0x310)](this[_0x291365(0x2c1)][_0x291365(0x324)](_0x199f13[_0x291365(0x129)][_0x291365(0x36d)],()=>_0x199f13[_0x291365(0x169)](_0x5e5ebe({'status$':this[_0x291365(0x1cf)][_0x291365(0x366)]()}),this[_0x291365(0x1b2)])));}},_0x189a83['DesktopCollaborationStatusDisplayController']=_0x2a82f6([_0x54ab79(0x0,_0x4bef22[_0x1f2d6d(0x295)]),_0x54ab79(0x1,_0x4bef22[_0x1f2d6d(0x152)](_0x4bef22[_0x1f2d6d(0x14c)])),_0x54ab79(0x2,_0x4bef22['Inject'](_0x208871[_0x1f2d6d(0x1c8)])),_0x54ab79(0x3,_0x199f13['IUIPartsService'])],_0x189a83[_0x1f2d6d(0x387)]);function _0x5e5ebe(_0x29d95c){const {status$:_0x33cce8}=_0x29d95c;return function(){const _0x2ec82c=_0xfda5;return _0x160450[_0x2ec82c(0x14a)](_0x58a511,{'status$':_0x33cce8});};}var _0x319dc7=Object[_0x1f2d6d(0x2bb)],_0xc1fe34=(_0x15475c,_0x3f215a,_0x33764e,_0x149252)=>{const _0x313821=_0x1f2d6d;for(var _0xe705e8=_0x149252>0x1?void 0x0:_0x149252?_0x319dc7(_0x3f215a,_0x33764e):_0x3f215a,_0x319af7=_0x15475c[_0x313821(0x311)]-0x1,_0x13a767;_0x319af7>=0x0;_0x319af7--)(_0x13a767=_0x15475c[_0x319af7])&&(_0xe705e8=_0x13a767(_0xe705e8)||_0xe705e8);return _0xe705e8;},_0x4d719d=(_0x46133c,_0x4b8664)=>(_0x581e63,_0x5b25c6)=>_0x4b8664(_0x581e63,_0x5b25c6,_0x46133c);let _0x15eefe=class extends _0x4bef22[_0x1f2d6d(0x20d)]{constructor(_0x2a7397,_0x18c6d1,_0x3f79f9,_0x1cd386,_0x480ce6,_0xd20a24){const _0x328526=_0x1f2d6d;super(),this[_0x328526(0x30e)]=_0x2a7397,this[_0x328526(0x338)]=_0x18c6d1,this[_0x328526(0x31b)]=_0x3f79f9,this[_0x328526(0x379)]=_0x1cd386,this[_0x328526(0x34e)]=_0x480ce6,this[_0x328526(0x185)]=_0xd20a24,this[_0x328526(0x346)](),this['_initEvent']();}[_0x1f2d6d(0x346)](){const _0x4da231=_0x1f2d6d;this[_0x4da231(0x310)](this['_beforeCloseService'][_0x4da231(0x2e0)](()=>{const _0x299aab=_0x4da231;if(this['_localCacheService']['saveTaskMap'][_0x299aab(0x32e)])return this[_0x299aab(0x185)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x1f2d6d(0x351)](){const _0x40fb07=_0x1f2d6d;this[_0x40fb07(0x310)](this[_0x40fb07(0x31b)][_0x40fb07(0x155)][_0x40fb07(0x10f)](_0xaa8ae5=>{const _0x15a64c=_0x40fb07;_0xaa8ae5['id']===_0x208871[_0x15a64c(0xf9)][_0x15a64c(0x360)]&&this['_messageService'][_0x15a64c(0x12e)]({'type':_0x16b349['MessageType'][_0x15a64c(0x361)],'content':this[_0x15a64c(0x185)]['t'](_0x15a64c(0x38a))}),_0xaa8ae5['id']===_0x208871[_0x15a64c(0xf9)][_0x15a64c(0x37f)]&&this[_0x15a64c(0x379)]['show']({'type':_0x16b349[_0x15a64c(0x1c2)][_0x15a64c(0x361)],'content':this['_localeService']['t'](_0x15a64c(0x248))}),_0xaa8ae5['id']===_0x208871[_0x15a64c(0xf9)][_0x15a64c(0x274)]&&this[_0x15a64c(0x34e)]['show']({'title':this['_localeService']['t'](_0x15a64c(0x14b)),'content':this['_localeService']['t'](_0x15a64c(0x227)),'type':'error','duration':0x0}),_0xaa8ae5['id']===_0x208871[_0x15a64c(0xf9)]['CONFLICT']&&this[_0x15a64c(0x379)][_0x15a64c(0x12e)]({'type':_0x16b349[_0x15a64c(0x1c2)]['Error'],'content':this[_0x15a64c(0x185)]['t'](_0x15a64c(0x248))+'('+_0xaa8ae5[_0x15a64c(0x20b)]+')'}),_0xaa8ae5['id']===_0x208871[_0x15a64c(0xf9)][_0x15a64c(0x283)]&&this['_messageService'][_0x15a64c(0x12e)]({'type':_0x16b349['MessageType'][_0x15a64c(0x361)],'content':this[_0x15a64c(0x185)]['t'](_0xaa8ae5['data']||'')}),_0xaa8ae5['id']===_0x208871['CollaborationUIEventId']['SOCKET_FAILED_RETRY']&&this[_0x15a64c(0x379)][_0x15a64c(0x12e)]({'type':_0x16b349[_0x15a64c(0x1c2)]['Warning'],'content':this[_0x15a64c(0x185)]['t']('session.will-retry')}),_0xaa8ae5['id']===_0x208871[_0x15a64c(0xf9)][_0x15a64c(0x309)]&&this[_0x15a64c(0x379)][_0x15a64c(0x12e)]({'type':_0x16b349[_0x15a64c(0x1c2)][_0x15a64c(0x376)],'content':this['_localeService']['t']('session.connection-failed')}),_0xaa8ae5['id']===_0x208871['CollaborationUIEventId']['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService'][_0x15a64c(0x12e)]({'type':_0x16b349[_0x15a64c(0x1c2)][_0x15a64c(0x376)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};_0x15eefe=_0xc1fe34([_0x4d719d(0x0,_0x199f13[_0x1f2d6d(0x342)]),_0x4d719d(0x1,_0x208871[_0x1f2d6d(0x1de)]),_0x4d719d(0x2,_0x4bef22[_0x1f2d6d(0x152)](_0x208871['CollaborationUIEventService'])),_0x4d719d(0x3,_0x199f13[_0x1f2d6d(0x255)]),_0x4d719d(0x4,_0x199f13[_0x1f2d6d(0x29d)]),_0x4d719d(0x5,_0x4bef22[_0x1f2d6d(0x152)](_0x4bef22[_0x1f2d6d(0x1af)]))],_0x15eefe);const _0x3af66f=_0x1f2d6d(0x318),_0x243c9a={},_0x3109bd=_0x4bef22[_0x1f2d6d(0x296)](_0x1f2d6d(0x36e));var _0xdd77a9=Object[_0x1f2d6d(0x2bb)],_0x79f760=(_0x9b5da2,_0x4555f5,_0x2522b4,_0x5b903d)=>{for(var _0x35abc7=_0x5b903d>0x1?void 0x0:_0x5b903d?_0xdd77a9(_0x4555f5,_0x2522b4):_0x4555f5,_0x2c8082=_0x9b5da2['length']-0x1,_0x3a5bf1;_0x2c8082>=0x0;_0x2c8082--)(_0x3a5bf1=_0x9b5da2[_0x2c8082])&&(_0x35abc7=_0x3a5bf1(_0x35abc7)||_0x35abc7);return _0x35abc7;},_0xa7effd=(_0x293e1f,_0x88b46e)=>(_0x2d2a04,_0x38ca50)=>_0x88b46e(_0x2d2a04,_0x38ca50,_0x293e1f);_0x189a83['CollaborationDataLoaderController']=class extends _0x4bef22[_0x1f2d6d(0x12c)]{constructor(_0x2e1d42,_0x132076,_0x21c868,_0x4bac2e,_0x10894d){const _0x141956=_0x1f2d6d;super(),this[_0x141956(0x367)]=_0x2e1d42,this[_0x141956(0x19b)]=_0x132076,this[_0x141956(0x1ee)]=_0x21c868,this[_0x141956(0x117)]=_0x4bac2e,_0x10894d?_0x10894d==null||_0x10894d[_0x141956(0x2f1)]()[_0x141956(0x17b)](()=>this[_0x141956(0x192)]()):(this[_0x141956(0x19b)][_0x141956(0x281)](_0x141956(0x2cd),_0x141956(0x13e)),this[_0x141956(0x192)]());}async['_init'](){const _0x4326ef=_0x1f2d6d,_0xf9fe05=this[_0x4326ef(0x367)][_0x4326ef(0x37e)](_0x4326ef(0x24b)),_0x106d36=this['_urlService'][_0x4326ef(0x37e)](_0x4326ef(0x1f6)),_0x1cd07a=this['_urlService'][_0x4326ef(0x37e)](_0x4326ef(0x1f2));if(!_0xf9fe05||!_0x106d36){this[_0x4326ef(0x19b)][_0x4326ef(0x281)](_0x4326ef(0x2cd),_0x4326ef(0x270));return;}const _0xe6c5a6=await this[_0x4326ef(0x117)][_0x4326ef(0x1da)](_0xf9fe05,Number(_0x106d36),_0x1cd07a);_0xe6c5a6&&_0xe6c5a6 instanceof _0x4bef22[_0x4326ef(0x339)]&&this['_setupSubUnitSync'](_0xe6c5a6);}async[_0x1f2d6d(0x1b3)](_0x32105d){const _0x158473=_0x1f2d6d;await this[_0x158473(0x22e)](_0x32105d),_0x32105d[_0x158473(0x14e)][_0x158473(0x1a8)](_0x18dc13[_0x158473(0x27e)](this['dispose$']))['subscribe'](_0x5a2354=>{const _0x4bde92=_0x158473;_0x5a2354&&this[_0x4bde92(0x299)](_0x5a2354);}),this[_0x158473(0x367)]['urlChange$'][_0x158473(0x1a8)](_0x18dc13[_0x158473(0x27e)](this[_0x158473(0x1a7)]))[_0x158473(0x10f)](()=>this['_updateSubUnitFromURLParams'](_0x32105d));}['_updateURLWithCurrentState'](_0x5493e0,_0xe3f6f4=!0x1){const _0x5ea2be=_0x1f2d6d,_0x3d9509=this['_urlService'][_0x5ea2be(0x37e)](_0x5ea2be(0x1f2));_0x5493e0[_0x5ea2be(0x29c)]()!==_0x3d9509&&this[_0x5ea2be(0x367)][_0x5ea2be(0x326)](_0x5ea2be(0x1f2),_0x5493e0[_0x5ea2be(0x29c)](),_0xe3f6f4);}async[_0x1f2d6d(0x22e)](_0x3031ab){const _0x9a2230=_0x1f2d6d;var _0x28ca2f;const _0x56a011=this[_0x9a2230(0x367)][_0x9a2230(0x37e)](_0x9a2230(0x1f2));if(!_0x56a011||!_0x3031ab[_0x9a2230(0x29a)](_0x56a011)){const _0x402666=_0x3031ab['getUnhiddenWorksheets']()[0x0],_0x162b83=_0x3031ab[_0x9a2230(0x29a)](_0x402666);if(!_0x162b83)return;this[_0x9a2230(0x299)](_0x162b83,!0x0),await this['_commandService']['executeCommand'](_0xa54874[_0x9a2230(0x31f)]['id'],{'unitId':_0x3031ab[_0x9a2230(0x372)](),'subUnitId':_0x402666});return;}((_0x28ca2f=_0x3031ab[_0x9a2230(0x10b)]())==null?void 0x0:_0x28ca2f[_0x9a2230(0x29c)]())!==_0x56a011&&await this[_0x9a2230(0x1ee)]['executeCommand'](_0xa54874[_0x9a2230(0x31f)]['id'],{'unitId':_0x3031ab[_0x9a2230(0x372)](),'subUnitId':_0x56a011});}},_0x189a83[_0x1f2d6d(0x337)]=_0x79f760([_0xa7effd(0x0,_0x3109bd),_0xa7effd(0x1,_0x4bef22[_0x1f2d6d(0xfe)]),_0xa7effd(0x2,_0x4bef22[_0x1f2d6d(0x1ca)]),_0xa7effd(0x3,_0x4bef22['Inject'](_0x208871[_0x1f2d6d(0x321)])),_0xa7effd(0x4,_0x4bef22[_0x1f2d6d(0x2f6)](_0x185caa[_0x1f2d6d(0x313)]))],_0x189a83[_0x1f2d6d(0x337)]);var _0x425223=Object[_0x1f2d6d(0x2bb)],_0x4eb27c=(_0x33ea20,_0xa1f1a3,_0x36544d,_0x4a46cf)=>{const _0x12c3fd=_0x1f2d6d;for(var _0x15ee77=_0x4a46cf>0x1?void 0x0:_0x4a46cf?_0x425223(_0xa1f1a3,_0x36544d):_0xa1f1a3,_0x40c656=_0x33ea20[_0x12c3fd(0x311)]-0x1,_0x3166de;_0x40c656>=0x0;_0x40c656--)(_0x3166de=_0x33ea20[_0x40c656])&&(_0x15ee77=_0x3166de(_0x15ee77)||_0x15ee77);return _0x15ee77;},_0x4e64a0=(_0x581b0,_0x52cf2f)=>(_0x51d1b0,_0x309419)=>_0x52cf2f(_0x51d1b0,_0x309419,_0x581b0);let _0x1908d3=class{constructor(_0x1c6dbc,_0x37e61e,_0x5f2490){const _0x47ef21=_0x1f2d6d;this[_0x47ef21(0x1b2)]=_0x1c6dbc,this[_0x47ef21(0x239)]=_0x37e61e,this[_0x47ef21(0x22d)]=_0x5f2490;}[_0x1f2d6d(0x17c)](_0x19b3cd){this['_transformUndoRedoStack'](_0x19b3cd),this['_transformPreviousActiveRange'](_0x19b3cd);}[_0x1f2d6d(0x1fd)](_0x2b10ab){const _0x4114db=_0x1f2d6d,{unitID:_0x46d6dd}=_0x2b10ab,_0x5ccfa9=this[_0x4114db(0x22d)][_0x4114db(0x252)](_0x46d6dd)[_0x4114db(0x122)](_0x33fc6e[_0x4114db(0x149)]),{redoCache:_0x5b81b5}=_0x5ccfa9[_0x4114db(0x24e)]();if(_0x5b81b5['length']===0x0)return _0x2b10ab;let _0x4c242d=_0x4bef22[_0x4114db(0x370)][_0x4114db(0x183)](_0x2b10ab[_0x4114db(0x317)][0x0]);for(let _0x4314c3=0x0;_0x4314c3<_0x5b81b5['length'];_0x4314c3++){const _0x24d76c={'id':_0x4114db(0x373),'params':{..._0x5b81b5[_0x4314c3]}},_0x131189=this[_0x4114db(0x239)]['transformMutation'](_0x4c242d,_0x24d76c,!0x1);if(_0x34a53b['isTransformMutationFailure'](_0x131189))throw _0x131189['error'];_0x4c242d=_0x131189[_0x4114db(0x278)];}return{..._0x4bef22[_0x4114db(0x370)][_0x4114db(0x183)](_0x2b10ab),'mutations':[_0x4c242d]};}[_0x1f2d6d(0x2da)](_0x272e0a){const _0x4caefc=_0x1f2d6d,{unitID:_0x335614}=_0x272e0a,_0x55d540=this['_renderManagerService'][_0x4caefc(0x252)](_0x335614)[_0x4caefc(0x122)](_0x33fc6e['DocIMEInputManagerService']),{undoCache:_0x3c3abe,redoCache:_0x39bdc7}=_0x55d540[_0x4caefc(0x24e)]();if(_0x3c3abe[_0x4caefc(0x311)]===0x0||_0x39bdc7[_0x4caefc(0x311)]===0x0)return;const _0xb769a8=[],_0x255164=[];let _0x5bdd4a=_0x4bef22[_0x4caefc(0x370)][_0x4caefc(0x183)](_0x272e0a[_0x4caefc(0x317)][0x0]),_0x34bd52=_0x4bef22[_0x4caefc(0x370)][_0x4caefc(0x183)](_0x272e0a[_0x4caefc(0x317)][0x0]);for(let _0x460445=_0x3c3abe['length']-0x1;_0x460445>=0x0;_0x460445--){const _0x2dedfd={'id':_0x4caefc(0x373),'params':{..._0x3c3abe[_0x460445]}},_0x40da19={'id':_0x4caefc(0x373),'params':{..._0x39bdc7[_0x460445]}},_0xa19f91=this[_0x4caefc(0x239)]['transformMutation'](_0x5bdd4a,_0x2dedfd,!0x1),_0x37730e=this[_0x4caefc(0x239)][_0x4caefc(0x34f)](_0x34bd52,_0x40da19,!0x1);if(_0x34a53b[_0x4caefc(0x2c0)](_0xa19f91))throw _0xa19f91[_0x4caefc(0x319)];if(_0x34a53b['isTransformMutationFailure'](_0x37730e))throw _0x37730e['error'];_0xb769a8[_0x4caefc(0x262)](_0xa19f91[_0x4caefc(0x226)][_0x4caefc(0x388)]),_0x255164[_0x4caefc(0x262)](_0x37730e[_0x4caefc(0x226)][_0x4caefc(0x388)]),_0x5bdd4a=_0xa19f91['m1Prime'],_0x34bd52=_0x37730e[_0x4caefc(0x278)];}_0x55d540[_0x4caefc(0x352)]({'undoCache':_0xb769a8,'redoCache':_0x255164});}['_transformPreviousActiveRange'](_0x57b35f){const _0x3c8d76=_0x1f2d6d,{unitID:_0x106c14}=_0x57b35f,_0x297b37=this[_0x3c8d76(0x22d)][_0x3c8d76(0x252)](_0x106c14)[_0x3c8d76(0x122)](_0x33fc6e[_0x3c8d76(0x149)]),_0x504d8d=_0x297b37[_0x3c8d76(0x377)]();if(_0x504d8d==null)return;const _0x2153ea=[{'id':_0x3c8d76(0x373),'params':{'unitId':_0x57b35f['unitID'],'actions':null,'textRanges':[_0x504d8d]}}],_0x512fd5=this[_0x3c8d76(0x239)][_0x3c8d76(0x1a9)](_0x57b35f,_0x2153ea);if(!_0x34a53b[_0x3c8d76(0x21f)](_0x512fd5))throw _0x512fd5[_0x3c8d76(0x319)];const _0x1beab0=_0x512fd5[_0x3c8d76(0x226)][0x0][_0x3c8d76(0x388)][_0x3c8d76(0x184)];Array['isArray'](_0x1beab0)&&_0x1beab0[_0x3c8d76(0x311)]&&_0x297b37['setActiveRange'](_0x1beab0[0x0]);}};_0x1908d3=_0x4eb27c([_0x4e64a0(0x0,_0x4bef22[_0x1f2d6d(0x152)](_0x4bef22[_0x1f2d6d(0x14c)])),_0x4e64a0(0x1,_0x34a53b[_0x1f2d6d(0x242)]),_0x4e64a0(0x2,_0x5bc9e3['IRenderManagerService'])],_0x1908d3);var _0x64c520=Object[_0x1f2d6d(0x2bb)],_0x1ae651=(_0x483864,_0x1a087a,_0x173bf6,_0x195331)=>{for(var _0xe688af=_0x195331>0x1?void 0x0:_0x195331?_0x64c520(_0x1a087a,_0x173bf6):_0x1a087a,_0xddad0a=_0x483864['length']-0x1,_0x231064;_0xddad0a>=0x0;_0xddad0a--)(_0x231064=_0x483864[_0xddad0a])&&(_0xe688af=_0x231064(_0xe688af)||_0xe688af);return _0xe688af;},_0x4c30ee=(_0x77c06,_0x1b5d86)=>(_0xcc0b56,_0x4f24da)=>_0x1b5d86(_0xcc0b56,_0x4f24da,_0x77c06);let _0x18a24a=class{constructor(_0x12249e,_0x3cae9a,_0x5d5ef0){const _0x461cd2=_0x1f2d6d;this[_0x461cd2(0x1b2)]=_0x12249e,this['_transformService']=_0x3cae9a,this[_0x461cd2(0x1b7)]=_0x5d5ef0;}[_0x1f2d6d(0xf6)](_0x19d9f9){const _0x54c776=_0x1f2d6d;this[_0x54c776(0x36b)](_0x19d9f9);}[_0x1f2d6d(0x1fd)](_0x434b6c){const _0x598902=_0x1f2d6d,{unitID:_0x4dcc0a}=_0x434b6c,{collaboration:_0x5b3e32}=this[_0x598902(0x1b7)][_0x598902(0x2e1)](_0x4dcc0a);if(_0x5b3e32[_0x598902(0x311)]===0x0)return _0x434b6c;let _0x3934b8=_0x4bef22[_0x598902(0x370)][_0x598902(0x183)](_0x434b6c[_0x598902(0x317)][0x0]);for(let _0x16c92=0x0;_0x16c92<_0x5b3e32[_0x598902(0x311)];_0x16c92++){const _0x1d1ae0={'id':_0x598902(0x373),'params':{'unitId':_0x5b3e32[_0x16c92]['unitId'],..._0x5b3e32[_0x16c92][_0x598902(0x316)]}},_0x51a62f=this[_0x598902(0x239)][_0x598902(0x34f)](_0x3934b8,_0x1d1ae0,!0x1);if(_0x34a53b['isTransformMutationFailure'](_0x51a62f))throw _0x51a62f['error'];_0x3934b8=_0x51a62f[_0x598902(0x278)];}return{..._0x4bef22['Tools'][_0x598902(0x183)](_0x434b6c),'mutations':[_0x3934b8]};}[_0x1f2d6d(0x36b)](_0x32da3c){const _0x1b4a40=_0x1f2d6d,{unitID:_0x480371}=_0x32da3c,{history:_0xa8967a,collaboration:_0x247fb0}=this[_0x1b4a40(0x1b7)]['getStateCache'](_0x480371);if(_0xa8967a[_0x1b4a40(0x311)]===0x0&&_0x247fb0[_0x1b4a40(0x311)]===0x0)return;const _0x37dc24=[],_0x2ce046=[];let _0x3326e1=_0x4bef22['Tools']['deepClone'](_0x32da3c['mutations'][0x0]),_0x16855d=_0x4bef22[_0x1b4a40(0x370)]['deepClone'](_0x32da3c['mutations'][0x0]);for(let _0x7bfec=_0xa8967a['length']-0x1;_0x7bfec>=0x0;_0x7bfec--){const _0x13d6a7={'id':_0x1b4a40(0x373),'params':{'unitId':_0xa8967a[_0x7bfec]['unitId'],..._0xa8967a[_0x7bfec][_0x1b4a40(0x2af)]}},_0x2a5dbc={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xa8967a[_0x7bfec][_0x1b4a40(0x15e)],..._0xa8967a[_0x7bfec][_0x1b4a40(0x316)]}},_0x2c02d0=this['_transformService'][_0x1b4a40(0x34f)](_0x3326e1,_0x13d6a7,!0x1),_0x532c68=this[_0x1b4a40(0x239)][_0x1b4a40(0x34f)](_0x16855d,_0x2a5dbc,!0x1);if(_0x34a53b[_0x1b4a40(0x2c0)](_0x2c02d0))throw _0x2c02d0[_0x1b4a40(0x319)];if(_0x34a53b[_0x1b4a40(0x2c0)](_0x532c68))throw _0x532c68[_0x1b4a40(0x319)];_0x37dc24[_0x1b4a40(0x262)]({..._0xa8967a[_0x7bfec],'undoState':_0x2c02d0[_0x1b4a40(0x226)][_0x1b4a40(0x388)],'redoState':_0x532c68['m2Prime']['params']}),_0x3326e1=_0x2c02d0[_0x1b4a40(0x278)],_0x16855d=_0x532c68[_0x1b4a40(0x278)];}_0x3326e1=_0x4bef22[_0x1b4a40(0x370)][_0x1b4a40(0x183)](_0x32da3c[_0x1b4a40(0x317)][0x0]),_0x16855d=_0x4bef22['Tools']['deepClone'](_0x32da3c[_0x1b4a40(0x317)][0x0]);for(let _0x4bdd7f=_0x247fb0[_0x1b4a40(0x311)]-0x1;_0x4bdd7f>=0x0;_0x4bdd7f--){const _0x361ab6={'id':_0x1b4a40(0x373),'params':{'unitId':_0x247fb0[_0x4bdd7f][_0x1b4a40(0x15e)],..._0x247fb0[_0x4bdd7f]['undoState']}},_0x2d23ff={'id':_0x1b4a40(0x373),'params':{'unitId':_0x247fb0[_0x4bdd7f][_0x1b4a40(0x15e)],..._0x247fb0[_0x4bdd7f][_0x1b4a40(0x316)]}},_0x5e2e68=this['_transformService'][_0x1b4a40(0x34f)](_0x3326e1,_0x361ab6,!0x1),_0x54b644=this[_0x1b4a40(0x239)]['transformMutation'](_0x16855d,_0x2d23ff,!0x1);if(_0x34a53b[_0x1b4a40(0x2c0)](_0x5e2e68))throw _0x5e2e68[_0x1b4a40(0x319)];if(_0x34a53b['isTransformMutationFailure'](_0x54b644))throw _0x54b644[_0x1b4a40(0x319)];_0x2ce046[_0x1b4a40(0x262)]({..._0x247fb0[_0x4bdd7f],'undoState':_0x5e2e68[_0x1b4a40(0x226)][_0x1b4a40(0x388)],'redoState':_0x54b644[_0x1b4a40(0x226)][_0x1b4a40(0x388)]}),_0x3326e1=_0x5e2e68[_0x1b4a40(0x278)],_0x16855d=_0x54b644['m1Prime'];}this[_0x1b4a40(0x1b7)]['setStateCache'](_0x480371,{'history':_0x37dc24,'collaboration':_0x2ce046});}};_0x18a24a=_0x1ae651([_0x4c30ee(0x0,_0x4bef22['Inject'](_0x4bef22[_0x1f2d6d(0x14c)])),_0x4c30ee(0x1,_0x34a53b['ITransformService']),_0x4c30ee(0x2,_0x4bef22[_0x1f2d6d(0x152)](_0x33fc6e[_0x1f2d6d(0x2a4)]))],_0x18a24a);var _0x9babb9=Object[_0x1f2d6d(0x2bb)],_0x3c9bcd=(_0x1bc1b0,_0x43f2e0,_0x3b1881,_0x18419a)=>{const _0x2a820d=_0x1f2d6d;for(var _0x9516d4=_0x18419a>0x1?void 0x0:_0x18419a?_0x9babb9(_0x43f2e0,_0x3b1881):_0x43f2e0,_0x49b36f=_0x1bc1b0[_0x2a820d(0x311)]-0x1,_0x3ae2bb;_0x49b36f>=0x0;_0x49b36f--)(_0x3ae2bb=_0x1bc1b0[_0x49b36f])&&(_0x9516d4=_0x3ae2bb(_0x9516d4)||_0x9516d4);return _0x9516d4;},_0x4a40bb=(_0x1dd17a,_0x29793d)=>(_0x12b69f,_0x1d9d8e)=>_0x29793d(_0x12b69f,_0x1d9d8e,_0x1dd17a);let _0x4203af=class{constructor(_0x2c63da,_0x5a9432){const _0x4c47fd=_0x1f2d6d;this[_0x4c47fd(0x1b2)]=_0x2c63da,this['_transformService']=_0x5a9432;}['transformSelections'](_0x592c06){const _0x51d378=_0x1f2d6d;var _0x105390;const _0x3c9811=this[_0x51d378(0x1b2)][_0x51d378(0x25e)](_0x579d84['DocSelectionManagerService']),_0x324700=(_0x105390=_0x3c9811[_0x51d378(0x1bc)]())!=null?_0x105390:[];if(_0x324700[_0x51d378(0x311)]===0x0)return;const _0x3ce234=_0x592c06['unitID'],_0x5dabda=[{'id':_0x51d378(0x373),'params':{'unitId':_0x3ce234,'actions':null,'textRanges':_0x324700}}],_0xd75b45=this[_0x51d378(0x239)][_0x51d378(0x1a9)](_0x592c06,_0x5dabda);if(!_0x34a53b['isTransformMutationsWithChangesetSuccess'](_0xd75b45))throw _0xd75b45[_0x51d378(0x319)];const _0x2ce2f5=_0xd75b45[_0x51d378(0x226)][0x0][_0x51d378(0x388)][_0x51d378(0x184)];Array[_0x51d378(0x266)](_0x2ce2f5)&&_0x2ce2f5[_0x51d378(0x311)]&&_0x3c9811[_0x51d378(0x1e4)](_0x2ce2f5,{'unitId':_0x3ce234,'subUnitId':_0x3ce234},!0x1);}};_0x4203af=_0x3c9bcd([_0x4a40bb(0x0,_0x4bef22[_0x1f2d6d(0x152)](_0x4bef22['Injector'])),_0x4a40bb(0x1,_0x34a53b['ITransformService'])],_0x4203af);var _0x3ef404=Object[_0x1f2d6d(0x2bb)],_0x521597=(_0x4f074b,_0x42984d,_0x5b15bd,_0x4e866c)=>{const _0x479511=_0x1f2d6d;for(var _0x5a5736=_0x4e866c>0x1?void 0x0:_0x4e866c?_0x3ef404(_0x42984d,_0x5b15bd):_0x42984d,_0x41cbde=_0x4f074b[_0x479511(0x311)]-0x1,_0x5cb3c3;_0x41cbde>=0x0;_0x41cbde--)(_0x5cb3c3=_0x4f074b[_0x41cbde])&&(_0x5a5736=_0x5cb3c3(_0x5a5736)||_0x5a5736);return _0x5a5736;},_0x40865a=(_0x5bec6d,_0xdb1cdc)=>(_0x4895eb,_0x578101)=>_0xdb1cdc(_0x4895eb,_0x578101,_0x5bec6d);let _0x34d4ec=class extends _0x4bef22['Disposable']{constructor(_0x2c3b6a,_0x22c67d,_0x50f213,_0x59e0e9,_0xfdb9e4,_0x4e7193,_0x56bd84,_0x43479b){const _0xe37ea9=_0x1f2d6d;super(),_0x4c7e9f(this,_0xe37ea9(0x1cf),new _0x18dc13['BehaviorSubject'](_0x208871['CollaborationStatus'][_0xe37ea9(0x151)])),(this[_0xe37ea9(0x1b7)]=_0x2c3b6a,this['_collaborationController']=_0x22c67d,this[_0xe37ea9(0x291)]=_0x50f213,this['_docTransformStateCacheService']=_0x59e0e9,this[_0xe37ea9(0x35c)]=_0xfdb9e4,this[_0xe37ea9(0x1cd)]=_0x4e7193,this['_messageService']=_0x56bd84,this[_0xe37ea9(0x185)]=_0x43479b,this['_initEntityListener']());}[_0x1f2d6d(0x1f1)](){const _0x1c0d22=_0x1f2d6d;this[_0x1c0d22(0x310)](this[_0x1c0d22(0x26c)][_0x1c0d22(0x201)]['subscribe'](_0x523f58=>{const _0x1e5a0b=_0x1c0d22,_0x91d423=this['_docStateChangeManagerService'][_0x1e5a0b(0x264)][_0x1e5a0b(0x10f)](_0x536be8=>{const _0x2685b8=_0x1e5a0b;if(_0x536be8==null)return;const {unitId:_0x82b448,redoState:_0x3434fe,commandId:_0x580fa1}=_0x536be8;if(_0x82b448!==_0x523f58[_0x2685b8(0x221)])return;const _0x311bea={'id':_0x580fa1,'type':_0x4bef22[_0x2685b8(0x314)]['MUTATION'],'params':{'unitId':_0x82b448,'actions':_0x3434fe[_0x2685b8(0x304)],'textRanges':null}};_0x523f58[_0x2685b8(0x196)](_0x311bea);});if(_0x523f58['disposeWithMe'](_0x91d423),_0x523f58 instanceof _0x208871[_0x1e5a0b(0x23c)]){const _0x4a7bce={'onTransformIME':_0x52f260=>this['_docTransformIMECacheService'][_0x1e5a0b(0x17c)](_0x52f260),'onTransformState':_0x2b8766=>this[_0x1e5a0b(0x143)]['transformStateCache'](_0x2b8766),'onTransformSelections':_0x2c134e=>this['_docTransformSelectionsService'][_0x1e5a0b(0x14d)](_0x2c134e),'onSyncEditingCollabCursor':_0x5ca2f3=>this[_0x1e5a0b(0x1cd)][_0x1e5a0b(0x249)](_0x5ca2f3),'onTransformRemoteChangesetByIMECache':_0x2507f5=>this['_docTransformIMECacheService'][_0x1e5a0b(0x1fd)](_0x2507f5),'onTransformRemoteChangesetByStateCache':_0x16433c=>this[_0x1e5a0b(0x143)][_0x1e5a0b(0x1fd)](_0x16433c)};_0x523f58['addHandlerCallback'](_0x4a7bce);}}));}};_0x34d4ec=_0x521597([_0x40865a(0x0,_0x4bef22[_0x1f2d6d(0x152)](_0x33fc6e[_0x1f2d6d(0x2a4)])),_0x40865a(0x1,_0x4bef22[_0x1f2d6d(0x152)](_0x208871[_0x1f2d6d(0x1c8)])),_0x40865a(0x2,_0x4bef22[_0x1f2d6d(0x152)](_0x1908d3)),_0x40865a(0x3,_0x4bef22['Inject'](_0x18a24a)),_0x40865a(0x4,_0x4bef22[_0x1f2d6d(0x152)](_0x4203af)),_0x40865a(0x5,_0x4bef22[_0x1f2d6d(0x152)](_0x2647fc)),_0x40865a(0x6,_0x199f13['IMessageService']),_0x40865a(0x7,_0x4bef22['Inject'](_0x4bef22[_0x1f2d6d(0x1af)]))],_0x34d4ec);var _0x35d879=Object[_0x1f2d6d(0x2bb)],_0x79ebb9=(_0x5cc408,_0x28d9f2,_0x6fab67,_0x49da9c)=>{const _0x15ce33=_0x1f2d6d;for(var _0x5c540d=_0x49da9c>0x1?void 0x0:_0x49da9c?_0x35d879(_0x28d9f2,_0x6fab67):_0x28d9f2,_0x443d27=_0x5cc408[_0x15ce33(0x311)]-0x1,_0x373a88;_0x443d27>=0x0;_0x443d27--)(_0x373a88=_0x5cc408[_0x443d27])&&(_0x5c540d=_0x373a88(_0x5c540d)||_0x5c540d);return _0x5c540d;},_0x2b4543=(_0x1716a1,_0x134090)=>(_0x251aef,_0x138029)=>_0x134090(_0x251aef,_0x138029,_0x1716a1);let _0xff3f51=class extends _0x4bef22[_0x1f2d6d(0x20d)]{constructor(_0x31bc53,_0x3bdd90,_0x353e8e){const _0x229cf6=_0x1f2d6d;super(),_0x4c7e9f(this,'_cachedData',new Map()),_0x4c7e9f(this,_0x229cf6(0x23f),new Map()),_0x4c7e9f(this,_0x229cf6(0x1dc),!0x1),(this[_0x229cf6(0x350)]=_0x31bc53,this[_0x229cf6(0x27d)]=_0x3bdd90,this[_0x229cf6(0x34a)]=_0x353e8e);}[_0x1f2d6d(0x11d)](){const _0x553ad6=_0x1f2d6d;this[_0x553ad6(0x1dc)]=!0x0;}[_0x1f2d6d(0x2e9)](){this['_disabled']=!0x1;}get[_0x1f2d6d(0x35f)](){const _0x494bae=_0x1f2d6d;return this[_0x494bae(0x23f)];}['dispose'](){const _0x304b25=_0x1f2d6d;this[_0x304b25(0x115)]()[_0x304b25(0x17b)](()=>super[_0x304b25(0x305)]());}async[_0x1f2d6d(0x2d9)](_0x5de35f){const _0x546c31=_0x1f2d6d;return this[_0x546c31(0x1dc)]?null:this['_localStorageService'][_0x546c31(0x2d7)](_0x208871['getLocalCacheKey'](_0x5de35f));}async[_0x1f2d6d(0x128)](_0x31a3c3,_0xb65991){const _0x5c09c9=_0x1f2d6d;return!!this[_0x5c09c9(0x27d)][_0x5c09c9(0x24d)](_0x31a3c3,_0xb65991);}[_0x1f2d6d(0x27a)](_0xd3185a,_0x1b8155,_0x2d001f,_0x3ae863){const _0x2cc234=_0x1f2d6d,_0x304284=this[_0x2cc234(0x34a)][_0x2cc234(0x1c0)](_0xd3185a);this[_0x2cc234(0x228)][_0x2cc234(0x1e5)](_0xd3185a,{'unitID':_0xd3185a,'type':_0x1b8155,'awaitingChangeset':_0x2d001f,'mutations':_0x3ae863,'rev':_0x304284}),this[_0x2cc234(0x23f)]['has'](_0xd3185a)||this[_0x2cc234(0x1d5)](_0xd3185a);}[_0x1f2d6d(0x1d5)](_0x526a83){const _0x445473=_0x1f2d6d,_0x493b59=this['_getSaveTimeout']();_0x493b59===0x0?this[_0x445473(0x11c)](_0x526a83):this[_0x445473(0x23f)][_0x445473(0x1e5)](_0x526a83,setTimeout(()=>this[_0x445473(0x11c)](_0x526a83),_0x493b59));}[_0x1f2d6d(0x21e)](){const _0x3d38af=_0x1f2d6d;var _0x2a891b;return(_0x2a891b=this[_0x3d38af(0x350)][_0x3d38af(0x389)](_0x208871[_0x3d38af(0x37c)]))!=null?_0x2a891b:_0x208871[_0x3d38af(0x1a5)];}[_0x1f2d6d(0x11c)](_0x787ef7){const _0x23ea9d=_0x1f2d6d,_0x47d7fe=this[_0x23ea9d(0x23f)][_0x23ea9d(0x25e)](_0x787ef7);return _0x47d7fe!==void 0x0&&window[_0x23ea9d(0x18e)](_0x47d7fe),this[_0x23ea9d(0x27d)]['setItem'](_0x208871[_0x23ea9d(0x126)](_0x787ef7),this[_0x23ea9d(0x228)]['get'](_0x787ef7))[_0x23ea9d(0x17b)](()=>this['_saveTaskMap'][_0x23ea9d(0x2a6)](_0x787ef7));}async[_0x1f2d6d(0x115)](){const _0xd48cc=_0x1f2d6d,_0x1ecd5b=[];this[_0xd48cc(0x23f)][_0xd48cc(0x38f)]((_0x515ad7,_0x18c4b0)=>{const _0xa37f7=_0xd48cc;window['clearTimeout'](_0x515ad7),_0x1ecd5b[_0xa37f7(0x140)](this[_0xa37f7(0x11c)](_0x18c4b0)[_0xa37f7(0x17b)](()=>{const _0xd7fec3=_0xa37f7;this['_saveTaskMap'][_0xd7fec3(0x2a6)](_0x18c4b0);}));}),await Promise[_0xd48cc(0x1c7)](_0x1ecd5b);}};_0xff3f51=_0x79ebb9([_0x2b4543(0x0,_0x4bef22['IConfigService']),_0x2b4543(0x1,_0x4bef22[_0x1f2d6d(0x364)]),_0x2b4543(0x2,_0x4bef22[_0x1f2d6d(0x152)](_0x34a53b['RevisionService']))],_0xff3f51);class _0x4aedba extends _0x4bef22[_0x1f2d6d(0x12c)]{constructor(){const _0x5aa37f=_0x1f2d6d;super(),_0x4c7e9f(this,_0x5aa37f(0x25f)),this[_0x5aa37f(0x25f)]=_0x18dc13[_0x5aa37f(0x2ed)](window,_0x5aa37f(0x2fb))[_0x5aa37f(0x1a8)](_0x18dc13[_0x5aa37f(0x27e)](this[_0x5aa37f(0x1a7)]),_0x18dc13['shareReplay'](0x1),_0x18dc13['mapTo'](void 0x0));}['setParam'](_0x3550b0,_0x12304c,_0x2aa338=!0x1){const _0x4f88fb=_0x1f2d6d,_0x218414=new URL(window[_0x4f88fb(0x2b3)][_0x4f88fb(0x2c4)]);_0x218414[_0x4f88fb(0x298)]['set'](_0x3550b0,_0x12304c),_0x2aa338?window[_0x4f88fb(0x1b0)][_0x4f88fb(0x33d)]('','',_0x218414[_0x4f88fb(0x393)]()):window[_0x4f88fb(0x1b0)][_0x4f88fb(0x15c)]('','',_0x218414[_0x4f88fb(0x393)]());}['removeParam'](_0x1a3350,_0x715a31=!0x1){const _0x59ac5b=_0x1f2d6d,_0x81ff4c=new URL(window['location'][_0x59ac5b(0x2c4)]);_0x81ff4c['searchParams'][_0x59ac5b(0x2a6)](_0x1a3350),_0x715a31?window[_0x59ac5b(0x1b0)][_0x59ac5b(0x33d)]('','',_0x81ff4c['toString']()):window[_0x59ac5b(0x1b0)]['pushState']('','',_0x81ff4c[_0x59ac5b(0x393)]());}[_0x1f2d6d(0x37e)](_0x168f2e){const _0x54e750=_0x1f2d6d;var _0x4b74db;return(_0x4b74db=new URL(window[_0x54e750(0x2b3)]['href'])['searchParams']['get'](_0x168f2e))!=null?_0x4b74db:void 0x0;}}var _0x5a0295=Object[_0x1f2d6d(0x2ab)],_0x53f472=Object['getOwnPropertyDescriptor'],_0x5c65d8=(_0x188445,_0x4a4c10,_0x382763)=>_0x4a4c10 in _0x188445?_0x5a0295(_0x188445,_0x4a4c10,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x382763}):_0x188445[_0x4a4c10]=_0x382763,_0x5e95e9=(_0x12c4ea,_0x3ee25c,_0x5aa512,_0x548f95)=>{for(var _0x46adb5=_0x548f95>0x1?void 0x0:_0x548f95?_0x53f472(_0x3ee25c,_0x5aa512):_0x3ee25c,_0xb3ab66=_0x12c4ea['length']-0x1,_0x3994ce;_0xb3ab66>=0x0;_0xb3ab66--)(_0x3994ce=_0x12c4ea[_0xb3ab66])&&(_0x46adb5=_0x3994ce(_0x46adb5)||_0x46adb5);return _0x46adb5;},_0x58c56c=(_0x14c125,_0x2c871a)=>(_0x1eda57,_0x3f24c0)=>_0x2c871a(_0x1eda57,_0x3f24c0,_0x14c125),_0x4b8f98=(_0x595457,_0x468f0c,_0x1b7e23)=>_0x5c65d8(_0x595457,_0x468f0c+'',_0x1b7e23);const _0x2bca81=_0x1f2d6d(0x2e6);_0x189a83['UniverCollaborationClientUIPlugin']=class extends _0x4bef22[_0x1f2d6d(0x2cf)]{constructor(_0x66fb26=_0x243c9a,_0x11cdca,_0x2b3968,_0x599ee0){const _0x4e25c2=_0x1f2d6d;super(),this[_0x4e25c2(0x2df)]=_0x66fb26,this[_0x4e25c2(0x22d)]=_0x11cdca,this[_0x4e25c2(0x1b2)]=_0x2b3968,this[_0x4e25c2(0x350)]=_0x599ee0;const {..._0x2c961f}=_0x4bef22[_0x4e25c2(0x35b)]({},_0x243c9a,this[_0x4e25c2(0x2df)]);this[_0x4e25c2(0x350)][_0x4e25c2(0x2c6)](_0x3af66f,_0x2c961f);}[_0x1f2d6d(0x254)](){const _0x3227e5=_0x1f2d6d;this[_0x3227e5(0x138)](),this[_0x3227e5(0x164)]();}[_0x1f2d6d(0x256)](){const _0x5a510b=_0x1f2d6d;this[_0x5a510b(0x148)]();}[_0x1f2d6d(0x138)](){const _0x5d9c8f=_0x1f2d6d;var _0x2cf3a7;const _0x499ddf=[[_0x54f6dc],[_0x4203af],[_0x1908d3],[_0x18a24a],[_0x2647fc],[_0x3109bd,{'useClass':_0x4aedba}],[_0x249c63[_0x5d9c8f(0x23d)],{'useClass':_0x249c63[_0x5d9c8f(0x181)]}],[_0x208871[_0x5d9c8f(0x1de)],{'useClass':_0xff3f51}],[_0x189a83['DesktopCollaborationStatusDisplayController']],[_0x34d4ec],[_0x15eefe],[_0x43e639],[_0x251cf8],[_0x189a83[_0x5d9c8f(0x337)]]];_0x4bef22[_0x5d9c8f(0x285)](this['_injector'],_0x4bef22[_0x5d9c8f(0x150)](_0x499ddf,(_0x2cf3a7=this[_0x5d9c8f(0x2df)])==null?void 0x0:_0x2cf3a7[_0x5d9c8f(0x2bf)]));}[_0x1f2d6d(0x148)](){const _0x522e5d=_0x1f2d6d;this['disposeWithMe'](this[_0x522e5d(0x22d)][_0x522e5d(0x292)](_0x4bef22[_0x522e5d(0x329)]['UNIVER_DOC'],[_0x42602a])),this[_0x522e5d(0x310)](this[_0x522e5d(0x22d)][_0x522e5d(0x292)](_0x4bef22[_0x522e5d(0x329)][_0x522e5d(0x19c)],[_0x4e3e8b]));}[_0x1f2d6d(0x164)](){const _0x354f6a=_0x1f2d6d;_0x4bef22[_0x354f6a(0x1a2)](this[_0x354f6a(0x1b2)],[[_0x43e639],[_0x189a83['DesktopCollaborationStatusDisplayController']],[_0x34d4ec],[_0x15eefe],[_0x189a83['CollaborationDataLoaderController']]]);}},_0x4b8f98(_0x189a83[_0x1f2d6d(0x160)],'pluginName',_0x2bca81),_0x189a83[_0x1f2d6d(0x160)]=_0x5e95e9([_0x4bef22[_0x1f2d6d(0x106)](_0x208871[_0x1f2d6d(0x2cb)]),_0x58c56c(0x1,_0x5bc9e3[_0x1f2d6d(0x28c)]),_0x58c56c(0x2,_0x4bef22[_0x1f2d6d(0x152)](_0x4bef22['Injector'])),_0x58c56c(0x3,_0x4bef22['IConfigService'])],_0x189a83[_0x1f2d6d(0x160)]);var _0x104f06=Object[_0x1f2d6d(0x2bb)],_0x453051=(_0x52894b,_0x1560a1,_0x537f82,_0x181185)=>{for(var _0xb2342a=_0x181185>0x1?void 0x0:_0x181185?_0x104f06(_0x1560a1,_0x537f82):_0x1560a1,_0x7b3795=_0x52894b['length']-0x1,_0x348519;_0x7b3795>=0x0;_0x7b3795--)(_0x348519=_0x52894b[_0x7b3795])&&(_0xb2342a=_0x348519(_0xb2342a)||_0xb2342a);return _0xb2342a;},_0x375953=(_0x4b0ca4,_0x56753a)=>(_0x2f9970,_0x2c49e5)=>_0x56753a(_0x2f9970,_0x2c49e5,_0x4b0ca4);_0x189a83[_0x1f2d6d(0x207)]=class extends _0x208871[_0x1f2d6d(0x293)]{constructor(_0x34caa9,_0x49b461,_0x1ad014,_0x47eda5,_0x480ec5){super(_0x34caa9,_0x49b461,_0x1ad014,_0x47eda5,_0x480ec5);}async['createSocket'](_0xb1ec4){const _0x430572=_0x1f2d6d,_0x500fef=await this['_getSessionTicket'](),_0x565ab7=this[_0x430572(0x1f8)](_0xb1ec4,_0x500fef);return this[_0x430572(0x1be)](_0x565ab7);}[_0x1f2d6d(0x1f8)](_0x2c8563,_0x1fbf01){const _0x3d95a3=_0x1f2d6d,_0x3439f0=typeof window>'u'?new URL(_0x2c8563):new URL(_0x2c8563,window[_0x3d95a3(0x2b3)][_0x3d95a3(0x2ea)]);_0x3439f0[_0x3d95a3(0x298)][_0x3d95a3(0x1e5)]('sessionTicket',_0x1fbf01);const _0x1a405b=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3d95a3(0x2b3)][_0x3d95a3(0x120)]);return _0x1a405b['get']('runId')&&_0x3439f0['searchParams'][_0x3d95a3(0x1e5)]('runId',_0x1a405b[_0x3d95a3(0x25e)](_0x3d95a3(0x2b7))),_0x3439f0[_0x3d95a3(0x393)]();}async[_0x1f2d6d(0x345)](){const _0xbacea2=_0x1f2d6d;var _0x1a3973,_0x5d889d,_0x22f372;const _0x543922=this[_0xbacea2(0x350)][_0xbacea2(0x389)](_0x208871[_0xbacea2(0x297)]),_0x1209ed=(_0x1a3973=_0x543922==null?void 0x0:_0x543922[_0xbacea2(0x12f)])!=null?_0x1a3973:_0x208871['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x22f372=(_0x5d889d=(await this[_0xbacea2(0x195)][_0xbacea2(0x25e)](_0x1209ed,{'headers':{'Content-Type':_0xbacea2(0x1f3)}}))[_0xbacea2(0x381)])==null?void 0x0:_0x5d889d['ticket'])!=null?_0x22f372:'';}},_0x189a83[_0x1f2d6d(0x207)]=_0x453051([_0x375953(0x0,_0x4bef22[_0x1f2d6d(0x152)](_0x4bef22[_0x1f2d6d(0x14c)])),_0x375953(0x1,_0x4bef22['Inject'](_0x249c63['HTTPService'])),_0x375953(0x2,_0x4bef22[_0x1f2d6d(0x12a)]),_0x375953(0x3,_0x4bef22['ILogService']),_0x375953(0x4,_0x34a53b[_0x1f2d6d(0x2f7)])],_0x189a83[_0x1f2d6d(0x207)]);const _0x1171da=0x7530,_0xf72dfb=_0x1f2d6d(0x241);class _0x4c2358 extends _0x4bef22[_0x1f2d6d(0x20d)]{constructor(){const _0x333368=_0x1f2d6d;super(),_0x4c7e9f(this,_0x333368(0x123),_0x4bef22[_0x333368(0x118)]()),_0x4c7e9f(this,_0x333368(0x343),new Set()),_0x4c7e9f(this,_0x333368(0x19e),new Map()),_0x4c7e9f(this,_0x333368(0x390),null),_0x4c7e9f(this,'_clearOtherTimers',new Map()),_0x4c7e9f(this,_0x333368(0x18a),new Map()),this[_0x333368(0x192)]();}[_0x1f2d6d(0x305)](){const _0x20c719=_0x1f2d6d;super[_0x20c719(0x305)](),this[_0x20c719(0x2b5)][_0x20c719(0x38f)]((_0x567ecd,_0x3dea53)=>this[_0x20c719(0x157)](_0x3dea53)),this[_0x20c719(0x390)]&&window[_0x20c719(0x219)](this[_0x20c719(0x390)]);}['getUnitStatus$'](_0x3127dd){const _0x4b3aac=_0x1f2d6d;return this[_0x4b3aac(0x323)](_0x3127dd)['pipe'](_0x18dc13[_0x4b3aac(0x280)]());}['editingUnit'](_0x2e7e57){const _0x393858=_0x1f2d6d;this[_0x393858(0x343)][_0x393858(0x32e)]===0x0&&this[_0x393858(0x141)](),this[_0x393858(0x343)]['add'](_0x2e7e57),this[_0x393858(0x216)]({'type':0x0,'memberID':this[_0x393858(0x123)],'unitIDs':[_0x2e7e57],'isForwarded':!0x1});}[_0x1f2d6d(0x20f)](_0x29c3f7){const _0x365470=_0x1f2d6d;this[_0x365470(0x343)][_0x365470(0x2a6)](_0x29c3f7),this[_0x365470(0x343)][_0x365470(0x32e)]===0x0&&this[_0x365470(0x390)]&&window['clearInterval'](this[_0x365470(0x390)]);}[_0x1f2d6d(0x192)](){const _0x4e326f=_0x1f2d6d;this['disposeWithMe'](_0x4bef22[_0x4e326f(0x20a)](_0x18dc13[_0x4e326f(0x2ed)](window,_0x4e326f(0x135))[_0x4e326f(0x10f)](_0x18bf35=>{const _0x430ee2=_0x4e326f;if(_0x18bf35[_0x430ee2(0x30b)]!==_0xf72dfb||!_0x18bf35[_0x430ee2(0x111)])return;const _0xa8e9df=JSON[_0x430ee2(0x16f)](_0x18bf35[_0x430ee2(0x111)]);this['_handleEvent'](_0xa8e9df);}))),window[_0x4e326f(0x31e)]('unload',()=>this[_0x4e326f(0x216)]({'type':0x1,'memberID':this[_0x4e326f(0x123)],'unitIDs':Array[_0x4e326f(0x24c)](this['_selfUnitIDs'])}));}[_0x1f2d6d(0x1f4)](_0x4eb3d5){const _0x33f8d6=_0x1f2d6d;switch(_0x4eb3d5[_0x33f8d6(0x1f6)]){case 0x0:this[_0x33f8d6(0x284)](_0x4eb3d5);break;case 0x1:this[_0x33f8d6(0x26e)](_0x4eb3d5);break;case 0x2:this[_0x33f8d6(0x312)](_0x4eb3d5);break;}}[_0x1f2d6d(0x284)](_0x302ea1){const _0x54b188=_0x1f2d6d,{unitIDs:_0x3f3a62,memberID:_0x572c9f,isForwarded:_0x5c99e0}=_0x302ea1;_0x3f3a62[_0x54b188(0x38f)](_0x17cc53=>{const _0xc35bc6=_0x54b188;if(!_0x5c99e0&&this[_0xc35bc6(0x19e)][_0xc35bc6(0x23a)](_0x17cc53)&&this[_0xc35bc6(0x323)](_0x17cc53)[_0xc35bc6(0x2d3)](_0x208871['UnitStatus'][_0xc35bc6(0x1c6)]),!this[_0xc35bc6(0x19e)]['has'](_0x17cc53)||!this[_0xc35bc6(0x19e)][_0xc35bc6(0x25e)](_0x17cc53)[_0xc35bc6(0x23a)](_0x572c9f)){const _0x4b4e00=this[_0xc35bc6(0x19e)][_0xc35bc6(0x25e)](_0x17cc53)||new Set();_0x4b4e00['add'](_0x572c9f),this['_unitOnClients'][_0xc35bc6(0x1e5)](_0x17cc53,_0x4b4e00),this[_0xc35bc6(0x38d)](_0x572c9f);}}),_0x5c99e0||this[_0x54b188(0x216)]({'type':0x0,'memberID':this[_0x54b188(0x123)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x4ccd59){const _0x388570=_0x1f2d6d;this[_0x388570(0x157)](_0x4ccd59);const _0x493bd8=window[_0x388570(0x2a8)](()=>{const _0x32925f=_0x388570;this[_0x32925f(0x19e)][_0x32925f(0x38f)](_0x180578=>{const _0x39e943=_0x32925f;_0x180578[_0x39e943(0x2a6)](_0x4ccd59);});},_0x1171da*0x2);this[_0x388570(0x2b5)]['set'](_0x4ccd59,_0x493bd8);}[_0x1f2d6d(0x157)](_0x41b4d2){const _0xb1bd8a=_0x1f2d6d;if(this[_0xb1bd8a(0x2b5)]['has'](_0x41b4d2)){const _0x2e2a6b=this[_0xb1bd8a(0x2b5)]['get'](_0x41b4d2);_0x2e2a6b&&window[_0xb1bd8a(0x18e)](_0x2e2a6b),this['_clearOtherTimers'][_0xb1bd8a(0x1e5)](_0x41b4d2,null);}}[_0x1f2d6d(0x26e)](_0x5debf6){const _0x26f08c=_0x1f2d6d,{memberID:_0x310d2c,unitIDs:_0x15ae68}=_0x5debf6;_0x15ae68[_0x26f08c(0x38f)](_0x1827b9=>{const _0x4b5c6f=_0x26f08c;var _0x522311;const _0x24441a=this['_unitOnClients'][_0x4b5c6f(0x25e)](_0x1827b9);_0x24441a&&(_0x24441a[_0x4b5c6f(0x2a6)](_0x310d2c),(_0x522311=this[_0x4b5c6f(0x323)](_0x1827b9))==null||_0x522311[_0x4b5c6f(0x2d3)](_0x24441a[_0x4b5c6f(0x32e)]===0x0?_0x208871[_0x4b5c6f(0x1a3)][_0x4b5c6f(0x101)]:_0x208871[_0x4b5c6f(0x1a3)][_0x4b5c6f(0x1c6)]));}),this['_removeClearOtherTimer'](_0x310d2c);}['_handleHeartbeatEvent'](_0x472e44){const _0x109d4b=_0x1f2d6d;this['_scheduleClearOtherTimer'](_0x472e44[_0x109d4b(0x382)]);}[_0x1f2d6d(0x216)](_0x2c88e1){const _0x2b2882=_0x1f2d6d;localStorage[_0x2b2882(0x24d)](_0xf72dfb,JSON[_0x2b2882(0x212)](_0x2c88e1));}['_scheduleHeartbeat'](){const _0x1ef942=_0x1f2d6d;this[_0x1ef942(0x390)]=window['setInterval'](()=>{const _0x379098=_0x1ef942;this[_0x379098(0x216)]({'type':0x2,'memberID':this[_0x379098(0x123)]});},_0x1171da);}[_0x1f2d6d(0x323)](_0x4c4124){const _0x1d00f2=_0x1f2d6d;return this[_0x1d00f2(0x18a)][_0x1d00f2(0x23a)](_0x4c4124)||this[_0x1d00f2(0x18a)]['set'](_0x4c4124,new _0x18dc13[(_0x1d00f2(0x2a7))](_0x208871['UnitStatus'][_0x1d00f2(0x101)])),this[_0x1d00f2(0x18a)][_0x1d00f2(0x25e)](_0x4c4124);}}var _0x548995=(_0x385863=>(_0x385863[_0x385863[_0x1f2d6d(0x2a2)]=0x0]='UNDEFINED',_0x385863[_0x385863['OK']=0x1]='OK',_0x385863[_0x385863['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x385863[_0x385863[_0x1f2d6d(0x274)]=0x3]=_0x1f2d6d(0x274),_0x385863[_0x385863[_0x1f2d6d(0x1a4)]=0x4]=_0x1f2d6d(0x1a4),_0x385863[_0x385863[_0x1f2d6d(0x23e)]=0x5]=_0x1f2d6d(0x23e),_0x385863[_0x385863[_0x1f2d6d(0x2aa)]=0x6]=_0x1f2d6d(0x2aa),_0x385863[_0x385863[_0x1f2d6d(0x197)]=0x7]=_0x1f2d6d(0x197),_0x385863[_0x385863['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x385863[_0x385863[_0x1f2d6d(0x32a)]=0x9]=_0x1f2d6d(0x32a),_0x385863[_0x385863[_0x1f2d6d(0x2ac)]=0xa]=_0x1f2d6d(0x2ac),_0x385863[_0x385863[_0x1f2d6d(0x22c)]=0x1389]=_0x1f2d6d(0x22c),_0x385863[_0x385863[_0x1f2d6d(0x2c3)]=0x1771]=_0x1f2d6d(0x2c3),_0x385863[_0x385863[_0x1f2d6d(0x286)]=0x1772]=_0x1f2d6d(0x286),_0x385863[_0x385863[_0x1f2d6d(0x31a)]=0x1773]=_0x1f2d6d(0x31a),_0x385863[_0x385863[_0x1f2d6d(0x12d)]=0x1b59]=_0x1f2d6d(0x12d),_0x385863[_0x385863[_0x1f2d6d(0x178)]=0x1b5a]=_0x1f2d6d(0x178),_0x385863[_0x385863['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x1f2d6d(0x11a),_0x385863[_0x385863[_0x1f2d6d(0x28b)]=0x1b5c]=_0x1f2d6d(0x28b),_0x385863[_0x385863[_0x1f2d6d(0x300)]=0x1b5d]=_0x1f2d6d(0x300),_0x385863[_0x385863[_0x1f2d6d(0x1d3)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x385863[_0x385863['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x1f2d6d(0x247),_0x385863[_0x385863[_0x1f2d6d(0x1ed)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x385863[_0x385863[_0x1f2d6d(0x13b)]=0x232b]=_0x1f2d6d(0x13b),_0x385863[_0x385863[_0x1f2d6d(0x353)]=0x232c]=_0x1f2d6d(0x353),_0x385863[_0x385863[_0x1f2d6d(0x124)]=0x232d]=_0x1f2d6d(0x124),_0x385863[_0x385863['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x385863[_0x385863['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x1f2d6d(0x276),_0x385863[_0x385863[_0x1f2d6d(0x2bd)]=0x2713]=_0x1f2d6d(0x2bd),_0x385863[_0x385863[_0x1f2d6d(0x199)]=0x2714]=_0x1f2d6d(0x199),_0x385863[_0x385863[_0x1f2d6d(0x258)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x385863[_0x385863[_0x1f2d6d(0x332)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x385863[_0x385863[_0x1f2d6d(0x328)]=0x2af9]=_0x1f2d6d(0x328),_0x385863[_0x385863[_0x1f2d6d(0x229)]=0x2ee1]=_0x1f2d6d(0x229),_0x385863[_0x385863[_0x1f2d6d(0x2d0)]=0x2ee2]=_0x1f2d6d(0x2d0),_0x385863[_0x385863[_0x1f2d6d(0x109)]=0x2ee3]=_0x1f2d6d(0x109),_0x385863[_0x385863[_0x1f2d6d(0x2dc)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x385863[_0x385863[_0x1f2d6d(0x374)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x385863[_0x385863[_0x1f2d6d(0x259)]=0x32c9]=_0x1f2d6d(0x259),_0x385863[_0x385863['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x1f2d6d(0x26b),_0x385863[_0x385863[_0x1f2d6d(0x307)]=0x32cb]=_0x1f2d6d(0x307),_0x385863[_0x385863[_0x1f2d6d(0x156)]=-0x1]=_0x1f2d6d(0x156),_0x385863))(_0x548995||{}),_0x5f348d=Object[_0x1f2d6d(0x2bb)],_0x1a7f1c=(_0x16e7c3,_0x571ca9,_0x52c4df,_0x3a2c61)=>{const _0x126552=_0x1f2d6d;for(var _0x4037de=_0x3a2c61>0x1?void 0x0:_0x3a2c61?_0x5f348d(_0x571ca9,_0x52c4df):_0x571ca9,_0xd74bcc=_0x16e7c3[_0x126552(0x311)]-0x1,_0x41f597;_0xd74bcc>=0x0;_0xd74bcc--)(_0x41f597=_0x16e7c3[_0xd74bcc])&&(_0x4037de=_0x41f597(_0x4037de)||_0x4037de);return _0x4037de;},_0x3ecb07=(_0x305ff8,_0x563e5b)=>(_0x38b894,_0x454fbf)=>_0x563e5b(_0x38b894,_0x454fbf,_0x305ff8);_0x189a83['RemoteUniscriptService']=class extends _0x4bef22[_0x1f2d6d(0x20d)]{constructor(_0x242538,_0x47b694,_0x3fc200){const _0x47f330=_0x1f2d6d;super(),this[_0x47f330(0x1d7)]=_0x242538,this[_0x47f330(0x195)]=_0x47b694,this[_0x47f330(0x350)]=_0x3fc200;}async[_0x1f2d6d(0x15f)](_0x3b1981,_0x441d6f,_0x4324e0,..._0x148963){const _0x185f3e=_0x1f2d6d;var _0x35e4cc,_0x36293f,_0x13d69d,_0x157b7e;const _0x506f49=this['_instanceService'][_0x185f3e(0x2f2)]();if(!_0x506f49)throw new Error(_0x185f3e(0x159));const _0xd9b994=((_0x35e4cc=this[_0x185f3e(0x350)][_0x185f3e(0x389)](_0x208871[_0x185f3e(0x231)]))!=null?_0x35e4cc:_0x208871[_0x185f3e(0x17f)])+'/'+_0x3b1981+_0x185f3e(0x21d)+_0x441d6f,_0x43e85f=new URL(window[_0x185f3e(0x2b3)][_0x185f3e(0x2c4)]),_0x2050d1={'scriptId':_0x3b1981,'runId':(_0x36293f=_0x43e85f[_0x185f3e(0x298)][_0x185f3e(0x25e)](_0x185f3e(0x2b7)))!=null?_0x36293f:'','function':_0x441d6f,'unitId':_0x506f49['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x148963),'invokeId':(_0x13d69d=_0x4324e0[_0x185f3e(0x21c)])!=null?_0x13d69d:'','executionId':(_0x157b7e=_0x4324e0[_0x185f3e(0x240)])!=null?_0x157b7e:''};try{const _0xac02e3=await this[_0x185f3e(0x195)][_0x185f3e(0x162)](_0xd9b994,{'body':_0x2050d1});return _0xac02e3[_0x185f3e(0x381)][_0x185f3e(0x319)]&&_0xac02e3[_0x185f3e(0x381)][_0x185f3e(0x319)][_0x185f3e(0x265)]!==_0x548995['OK']?_0x185f3e(0x30c):_0xac02e3['body'][_0x185f3e(0x308)];}catch{return _0x185f3e(0x30c);}}},_0x189a83[_0x1f2d6d(0x153)]=_0x1a7f1c([_0x3ecb07(0x0,_0x4bef22[_0x1f2d6d(0x295)]),_0x3ecb07(0x1,_0x4bef22[_0x1f2d6d(0x152)](_0x249c63[_0x1f2d6d(0x32c)])),_0x3ecb07(0x2,_0x4bef22[_0x1f2d6d(0x12a)])],_0x189a83['RemoteUniscriptService']),_0x189a83[_0x1f2d6d(0x18d)]=_0x58a511,_0x189a83['IURLService']=_0x3109bd,_0x189a83[_0x1f2d6d(0x200)]=_0x421ecf,_0x189a83[_0x1f2d6d(0x29e)]=_0x4c2358,_0x189a83[_0x1f2d6d(0x368)]=_0x4aedba,Object['defineProperty'](_0x189a83,Symbol[_0x1f2d6d(0x16c)],{'value':'Module'});}));
1
+ function _0x54a6(_0x496301,_0x20b600){const _0xeef9c1=_0xeef9();return _0x54a6=function(_0x54a64a,_0x94aafa){_0x54a64a=_0x54a64a-0xe7;let _0xbb6512=_0xeef9c1[_0x54a64a];return _0xbb6512;},_0x54a6(_0x496301,_0x20b600);}(function(_0x1e3b82,_0x5b9992){const _0x2eb9b9=_0x54a6,_0x4c3434=_0x1e3b82();while(!![]){try{const _0x19d12f=-parseInt(_0x2eb9b9(0x23e))/0x1+-parseInt(_0x2eb9b9(0x24b))/0x2*(-parseInt(_0x2eb9b9(0x20c))/0x3)+parseInt(_0x2eb9b9(0x11d))/0x4+-parseInt(_0x2eb9b9(0x14e))/0x5+parseInt(_0x2eb9b9(0x1d1))/0x6+parseInt(_0x2eb9b9(0x110))/0x7*(-parseInt(_0x2eb9b9(0x11b))/0x8)+-parseInt(_0x2eb9b9(0x2f7))/0x9*(-parseInt(_0x2eb9b9(0x2c7))/0xa);if(_0x19d12f===_0x5b9992)break;else _0x4c3434['push'](_0x4c3434['shift']());}catch(_0x26aebf){_0x4c3434['push'](_0x4c3434['shift']());}}}(_0xeef9,0x96baf),function(_0x18cd72,_0x5da102){const _0x2b10fa=_0x54a6;typeof exports==_0x2b10fa(0x178)&&typeof module<'u'?_0x5da102(exports,require(_0x2b10fa(0x1a1)),require(_0x2b10fa(0x217)),require(_0x2b10fa(0x20d)),require(_0x2b10fa(0x2a2)),require(_0x2b10fa(0x16c)),require(_0x2b10fa(0x13f)),require(_0x2b10fa(0x278)),require('@univerjs/docs'),require(_0x2b10fa(0x2af)),require(_0x2b10fa(0x222)),require(_0x2b10fa(0x341)),require(_0x2b10fa(0x350)),require('@univerjs/sheets-ui'),require('react/jsx-runtime'),require(_0x2b10fa(0x13d)),require(_0x2b10fa(0x271)),require(_0x2b10fa(0x1a4)),require(_0x2b10fa(0x312))):typeof define=='function'&&define['amd']?define(['exports',_0x2b10fa(0x1a1),_0x2b10fa(0x217),_0x2b10fa(0x20d),_0x2b10fa(0x2a2),_0x2b10fa(0x16c),_0x2b10fa(0x13f),_0x2b10fa(0x278),_0x2b10fa(0xf9),'@univerjs-pro/collaboration',_0x2b10fa(0x222),'@univerjs/sheets','rxjs/operators',_0x2b10fa(0x369),_0x2b10fa(0x258),_0x2b10fa(0x13d),_0x2b10fa(0x271),_0x2b10fa(0x1a4),_0x2b10fa(0x312)],_0x5da102):(_0x18cd72=typeof globalThis<'u'?globalThis:_0x18cd72||self,_0x5da102(_0x18cd72[_0x2b10fa(0x2ae)]={},_0x18cd72['UniverProCollaborationClient'],_0x18cd72['UniverCore'],_0x18cd72[_0x2b10fa(0x29c)],_0x18cd72['UniverNetwork'],_0x18cd72[_0x2b10fa(0x23c)],_0x18cd72[_0x2b10fa(0x2bd)],_0x18cd72[_0x2b10fa(0x278)],_0x18cd72[_0x2b10fa(0x176)],_0x18cd72[_0x2b10fa(0x351)],_0x18cd72[_0x2b10fa(0x2d0)],_0x18cd72[_0x2b10fa(0x311)],_0x18cd72['rxjs']['operators'],_0x18cd72[_0x2b10fa(0x170)],_0x18cd72[_0x2b10fa(0x307)],_0x18cd72[_0x2b10fa(0x2db)],_0x18cd72['UniverDesign'],_0x18cd72[_0x2b10fa(0x307)],_0x18cd72['UniverRpc']));}(this,function(_0x4ee90a,_0x76d6f6,_0x29d1e0,_0x307230,_0x51b4ae,_0x5ceb2c,_0x27d043,_0x5963ed,_0x4daa1c,_0x31892d,_0x281d6b,_0x5dfffb,_0x574f30,_0x4c12de,_0x18112e,_0x45753d,_0x96c3b0,_0xe9cd6b,_0x2a3b43){'use strict';const _0xc5d3ec=_0x54a6;var _0x272fe3=Object['defineProperty'],_0x57048c=(_0x47f07a,_0x4a0034,_0x38c9e4)=>_0x4a0034 in _0x47f07a?_0x272fe3(_0x47f07a,_0x4a0034,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x38c9e4}):_0x47f07a[_0x4a0034]=_0x38c9e4,_0x348160=(_0x1409db,_0x5576eb,_0x3bef6d)=>_0x57048c(_0x1409db,typeof _0x5576eb!=_0xc5d3ec(0x342)?_0x5576eb+'':_0x5576eb,_0x3bef6d),_0x20645a=Object[_0xc5d3ec(0x34e)],_0x13f09e=(_0x2db342,_0x1a2472,_0x5c1619,_0x2817cd)=>{const _0x296c9e=_0xc5d3ec;for(var _0x427162=_0x2817cd>0x1?void 0x0:_0x2817cd?_0x20645a(_0x1a2472,_0x5c1619):_0x1a2472,_0x1068f8=_0x2db342[_0x296c9e(0x1dc)]-0x1,_0x5c4dbb;_0x1068f8>=0x0;_0x1068f8--)(_0x5c4dbb=_0x2db342[_0x1068f8])&&(_0x427162=_0x5c4dbb(_0x427162)||_0x427162);return _0x427162;},_0x407831=(_0x95fc77,_0x1ed99a)=>(_0x399e8b,_0x29fb3e)=>_0x1ed99a(_0x399e8b,_0x29fb3e,_0x95fc77);let _0x2f37f3=class extends _0x29d1e0['RxDisposable']{constructor(_0xe326c7,_0x246e3d){const _0x4b07ab=_0xc5d3ec;super(),this[_0x4b07ab(0x2b2)]=_0xe326c7,this['_imageIoService']=_0x246e3d,this[_0x4b07ab(0x20a)]();}[_0xc5d3ec(0x20a)](){const _0x5c8669=_0xc5d3ec,_0x37fa7a=this;this[_0x5c8669(0x139)](this[_0x5c8669(0x2b2)][_0x5c8669(0x33a)]({'onBeforePasteImage':async _0x4cce=>{const _0x2d9ef6=_0x5c8669,_0x542c39=await _0x37fa7a[_0x2d9ef6(0x18a)][_0x2d9ef6(0x296)](_0x4cce);return _0x542c39?{'source':_0x542c39['source'],'imageSourceType':_0x542c39[_0x2d9ef6(0x366)]}:null;}}));}};_0x2f37f3=_0x13f09e([_0x407831(0x0,_0x5ceb2c[_0xc5d3ec(0x2ee)]),_0x407831(0x1,_0x27d043[_0xc5d3ec(0x319)])],_0x2f37f3);const _0xa3595c=['purple300','jiqing500',_0xc5d3ec(0x2c4),_0xc5d3ec(0x35a),_0xc5d3ec(0x192),'gold400'];class _0x2e5936 extends _0x29d1e0[_0xc5d3ec(0x171)]{constructor(){const _0x216c60=_0xc5d3ec;super(...arguments),_0x348160(this,'_assignedColors',new Map()),_0x348160(this,_0x216c60(0x300),0x0);}[_0xc5d3ec(0x30b)](_0x299316){const _0x3fb1e9=_0xc5d3ec;if(this[_0x3fb1e9(0x109)][_0x3fb1e9(0x201)](_0x299316))return this['_assignedColors']['get'](_0x299316);const _0x5cc355=_0xa3595c[this[_0x3fb1e9(0x300)]];return this[_0x3fb1e9(0x300)]=(this['_colorIndex']+0x1)%_0xa3595c[_0x3fb1e9(0x1dc)],this[_0x3fb1e9(0x109)][_0x3fb1e9(0x358)](_0x299316,_0x5cc355),_0x5cc355;}}function _0x2e0872(_0x39efb6){let _0x4c1d4a='';for(const _0x5b9dbc of _0x39efb6){const {startOffset:_0x5795ca,endOffset:_0xc31c8c,isActive:_0x2ac76f,rangeType:_0x31fb43,segmentId:_0x5b1759,segmentPage:_0x16e30d}=_0x5b9dbc;_0x4c1d4a['length']&&(_0x4c1d4a+=','),_0x4c1d4a+=_0x5795ca+':'+_0xc31c8c+':'+(_0x2ac76f?'1':'0')+':'+_0x31fb43+':'+_0x5b1759+':'+_0x16e30d;}return _0x4c1d4a;}function _0x453ca7(_0x4bc0f2){const _0xd52e21=_0xc5d3ec,_0x2bb668=_0x4bc0f2[_0xd52e21(0xfb)](','),_0x4abe52=[];for(const _0xf2cee7 of _0x2bb668){const [_0x35f9df,_0x497c92,_0x3ccc9c,_0x5828b1,_0x296d15,_0x2e67ab]=_0xf2cee7['split'](':');_0x4abe52['push']({'startOffset':Number(_0x35f9df),'endOffset':Number(_0x497c92),'collapsed':_0x35f9df===_0x497c92,'isActive':_0x3ccc9c==='1','rangeType':_0x5828b1===_0x29d1e0[_0xd52e21(0x11a)][_0xd52e21(0x275)]?_0x29d1e0[_0xd52e21(0x11a)][_0xd52e21(0x275)]:_0x29d1e0[_0xd52e21(0x11a)][_0xd52e21(0x167)],'segmentId':typeof _0x296d15==_0xd52e21(0x120)?String(_0x296d15):'','segmentPage':Number(_0x2e67ab!=null?_0x2e67ab:-0x1)});}return _0x4abe52[_0xd52e21(0x27c)](_0x1d0874=>_0x1d0874[_0xd52e21(0x1e8)])||(_0x4abe52[0x0]['isActive']=!0x0),_0x4abe52;}class _0xa26c extends _0x29d1e0[_0xc5d3ec(0x2ef)]{constructor(){const _0x3659b=_0xc5d3ec;super(...arguments),_0x348160(this,'_collabCursorState$',new _0x5963ed[(_0x3659b(0x15d))](null)),_0x348160(this,_0x3659b(0x34b),this[_0x3659b(0x18d)][_0x3659b(0x361)]());}[_0xc5d3ec(0x18b)](_0x299104){const _0x408a77=_0xc5d3ec,{unitID:_0x80fff0,memberID:_0x10386b,textRanges:_0x23f35f}=_0x299104,_0x32b06c=_0x2e0872(_0x23f35f);if(_0x32b06c==='')return;const _0xfda66c={'unitID':_0x80fff0,'memberID':_0x10386b,'selection':_0x32b06c};this[_0x408a77(0x18d)][_0x408a77(0x316)](_0xfda66c);}}var _0x5ac0ed=Object['getOwnPropertyDescriptor'],_0x1a89f2=(_0x562a87,_0x42c285,_0x4ceb48,_0x49306f)=>{const _0x245dfc=_0xc5d3ec;for(var _0x4a4e2a=_0x49306f>0x1?void 0x0:_0x49306f?_0x5ac0ed(_0x42c285,_0x4ceb48):_0x42c285,_0x37d80a=_0x562a87[_0x245dfc(0x1dc)]-0x1,_0x43d5b5;_0x37d80a>=0x0;_0x37d80a--)(_0x43d5b5=_0x562a87[_0x37d80a])&&(_0x4a4e2a=_0x43d5b5(_0x4a4e2a)||_0x4a4e2a);return _0x4a4e2a;},_0xfb5127=(_0x4b284a,_0x53b13e)=>(_0x2d3d7c,_0x5cbbdc)=>_0x53b13e(_0x2d3d7c,_0x5cbbdc,_0x4b284a);const _0x12239e=0x12c,_0x4be0f1=0x64;let _0x779539=class extends _0x29d1e0[_0xc5d3ec(0x2ef)]{constructor(_0x461692,_0x1f1a56,_0x384036,_0x24af1a,_0x3268aa,_0x4520bf,_0x1a2fd9,_0x46e6af,_0x5c4705){const _0x2bdedc=_0xc5d3ec;super(),_0x348160(this,_0x2bdedc(0xf7),!0x1),_0x348160(this,_0x2bdedc(0x20a),!0x1),_0x348160(this,_0x2bdedc(0x29b),new _0x5963ed[(_0x2bdedc(0x15d))](new Map())),_0x348160(this,'cursorInfo$',this[_0x2bdedc(0x29b)]['asObservable']()),_0x348160(this,'_roomMembers$',new _0x5963ed[(_0x2bdedc(0x15d))]([])),_0x348160(this,_0x2bdedc(0x2de),this[_0x2bdedc(0x30d)][_0x2bdedc(0x14b)](_0x5963ed[_0x2bdedc(0x172)](_0x12239e))),_0x348160(this,'_updateLocalCursor',_0x29d1e0[_0x2bdedc(0x14a)](_0x12fb6f=>{const _0x213f00=_0x2bdedc,_0x23eb62={'eventID':_0x31892d[_0x213f00(0x320)][_0x213f00(0x27f)],'data':{'unitID':this['unitID'],'memberID':this[_0x213f00(0x25c)][_0x213f00(0x26f)](),'selection':_0x2e0872(_0x12fb6f)}};this[_0x213f00(0x25c)]['send'](_0x23eb62,this['unitID']);},_0x4be0f1)),(this['unitID']=_0x461692,this[_0x2bdedc(0x25c)]=_0x1f1a56,this[_0x2bdedc(0x1e4)]=_0x384036,this[_0x2bdedc(0x321)]=_0x24af1a,this[_0x2bdedc(0x15b)]=_0x3268aa,this[_0x2bdedc(0x114)]=_0x4520bf,this[_0x2bdedc(0x32f)]=_0x1a2fd9,this['_univerInstanceService']=_0x46e6af,this[_0x2bdedc(0x153)]=_0x5c4705);}get['cursorInfo'](){const _0x29a5ac=_0xc5d3ec;return this[_0x29a5ac(0x29b)]['getValue']();}get[_0xc5d3ec(0x18f)](){const _0x27fe72=_0xc5d3ec;return this[_0x27fe72(0x30d)][_0x27fe72(0x28d)]();}[_0xc5d3ec(0x261)](){const _0x122d64=_0xc5d3ec;super[_0x122d64(0x261)](),this[_0x122d64(0x29b)][_0x122d64(0x316)](new Map()),this[_0x122d64(0x29b)][_0x122d64(0x36a)](),this[_0x122d64(0x30d)]['next']([]),this[_0x122d64(0x30d)][_0x122d64(0x36a)]();}[_0xc5d3ec(0x161)](){const _0x2eecd5=_0xc5d3ec;this['_init']||(this[_0x2eecd5(0x20a)]=!0x0,this['_session'][_0x2eecd5(0x21f)][_0x2eecd5(0x14b)](_0x5963ed[_0x2eecd5(0x2fe)](this[_0x2eecd5(0x104)]))[_0x2eecd5(0x253)](_0x91197a=>{const _0x505d56=_0x2eecd5;_0x91197a===_0x76d6f6[_0x505d56(0x133)][_0x505d56(0x2d4)]?this[_0x505d56(0x33d)]():this[_0x505d56(0x244)]();}),this[_0x2eecd5(0x25c)][_0x2eecd5(0x305)][_0x2eecd5(0x14b)](_0x5963ed[_0x2eecd5(0x2fe)](this[_0x2eecd5(0x104)]))[_0x2eecd5(0x253)](_0x3a9350=>{const _0xac0590=_0x2eecd5,_0x2b03bc=_0x3a9350[_0xac0590(0x326)];_0x2b03bc===_0x31892d[_0xac0590(0x320)][_0xac0590(0x27f)]&&this[_0xac0590(0x2d1)](_0x3a9350),_0x2b03bc===_0x31892d['CollaborationEvent']['USERS_LEAVE']&&this[_0xac0590(0x212)](_0x3a9350);}),this[_0x2eecd5(0x139)](this['_commandService'][_0x2eecd5(0x329)](_0x45718a=>{const _0x12e242=_0x2eecd5,_0x38aa8c=_0x45718a['params'];_0x38aa8c!=null&&this[_0x12e242(0xf7)]&&_0x45718a['id']===_0x4daa1c[_0x12e242(0x230)]['id']&&_0x38aa8c[_0x12e242(0x302)]===this['unitID']&&_0x38aa8c['isEditing']===!0x1&&_0x38aa8c[_0x12e242(0x1f6)][_0x12e242(0x1dc)]>0x0&&this[_0x12e242(0x24d)](_0x38aa8c[_0x12e242(0x1f6)]);})),this[_0x2eecd5(0x114)][_0x2eecd5(0x34b)][_0x2eecd5(0x14b)](_0x5963ed[_0x2eecd5(0x2fe)](this[_0x2eecd5(0x104)]))[_0x2eecd5(0x253)](_0x82bc58=>{const _0x43a1bd=_0x2eecd5;if((_0x82bc58==null?void 0x0:_0x82bc58[_0x43a1bd(0x1f7)])!==this[_0x43a1bd(0x1f7)])return;const _0x599e43={'eventID':_0x31892d[_0x43a1bd(0x320)]['UPDATE_CURSOR'],'data':_0x82bc58};this[_0x43a1bd(0x2d1)](_0x599e43);}),this['disposeWithMe'](this['_commandService'][_0x2eecd5(0x329)](_0x4f0909=>{const _0x4155e2=_0x2eecd5;if(_0x4f0909[_0x4155e2(0x2ca)]==null)return;const _0x9da3d9=_0x4f0909[_0x4155e2(0x2ca)];if(_0x4f0909['id']!==_0x4daa1c['RichTextEditingMutation']['id']||_0x9da3d9[_0x4155e2(0x302)]!==this[_0x4155e2(0x1f7)])return;const _0x5aa191={'id':_0x4155e2(0x33b),'params':_0x9da3d9},_0xebd77b=this['cursorInfo'];for(const [_0x14bbac,_0x412dcc]of _0xebd77b){const _0x51cd15={'id':_0x4155e2(0x33b),'params':{'unitId':this[_0x4155e2(0x1f7)],'actions':null,'textRanges':_0x412dcc[_0x4155e2(0x1f6)]}},_0x5d5ad4=this[_0x4155e2(0x32f)]['transformMutation'](_0x5aa191,_0x51cd15,!0x1);if(_0x31892d['isTransformMutationFailure'](_0x5d5ad4))throw _0x5d5ad4[_0x4155e2(0x145)];_0xebd77b[_0x4155e2(0x358)](_0x14bbac,{..._0x412dcc,'ranges':_0x5d5ad4[_0x4155e2(0x2ab)][_0x4155e2(0x2ca)][_0x4155e2(0x1e7)]});}queueMicrotask(()=>{const _0x4b45bc=_0x4155e2;this[_0x4b45bc(0x29b)][_0x4b45bc(0x316)](_0xebd77b);});})));}[_0xc5d3ec(0x2d1)](_0x31cfb8){const _0x21bd76=_0xc5d3ec;var _0x34e40d,_0x1eadae;const {memberID:_0x4bb8b7,selection:_0x4f6e2f}=_0x31cfb8['data'],_0x425029=_0x453ca7(_0x4f6e2f),_0x3a3ad4=(_0x1eadae=(_0x34e40d=this[_0x21bd76(0x15b)]['getMember'](this['unitID'],_0x4bb8b7))==null?void 0x0:_0x34e40d[_0x21bd76(0xf3)])!=null?_0x1eadae:_0x21bd76(0x127),_0x532c65={'color':this[_0x21bd76(0x321)][_0x21bd76(0x30b)](_0x4bb8b7),'name':_0x3a3ad4,'ranges':_0x425029},_0x36af82=this[_0x21bd76(0x1da)];_0x36af82[_0x21bd76(0x358)](_0x4bb8b7,_0x532c65),this[_0x21bd76(0x29b)][_0x21bd76(0x316)](_0x36af82);}[_0xc5d3ec(0x212)](_0x383183){const _0xd37fec=_0xc5d3ec,{memberID:_0x378c54}=_0x383183[_0xd37fec(0x2f9)],_0x4031e3=this['cursorInfo'];_0x4031e3[_0xd37fec(0x22e)](_0x378c54),this[_0xd37fec(0x29b)][_0xd37fec(0x316)](_0x4031e3);}[_0xc5d3ec(0x33d)](){const _0x423149=_0xc5d3ec;var _0x51ae79;if(this[_0x423149(0xf7)]=!0x0,((_0x51ae79=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x51ae79[_0x423149(0x103)]())!==this[_0x423149(0x1f7)])return;const _0x2b2d94=this[_0x423149(0x1e4)][_0x423149(0x121)](_0x4daa1c[_0x423149(0x1ee)])[_0x423149(0x27d)]();Array['isArray'](_0x2b2d94)&&_0x2b2d94['length']>0x0&&this[_0x423149(0x24d)](_0x2b2d94);}[_0xc5d3ec(0x244)](){const _0x306669=_0xc5d3ec;this[_0x306669(0xf7)]=!0x1;}};_0x779539=_0x1a89f2([_0xfb5127(0x2,_0x29d1e0[_0xc5d3ec(0x12f)](_0x29d1e0[_0xc5d3ec(0x335)])),_0xfb5127(0x3,_0x29d1e0[_0xc5d3ec(0x12f)](_0x2e5936)),_0xfb5127(0x4,_0x29d1e0[_0xc5d3ec(0x12f)](_0x76d6f6['MemberService'])),_0xfb5127(0x5,_0x29d1e0[_0xc5d3ec(0x12f)](_0xa26c)),_0xfb5127(0x6,_0x31892d[_0xc5d3ec(0x16e)]),_0xfb5127(0x7,_0x29d1e0[_0xc5d3ec(0x348)]),_0xfb5127(0x8,_0x29d1e0[_0xc5d3ec(0x15a)])],_0x779539);var _0x212cec=Object[_0xc5d3ec(0x34e)],_0x155de4=(_0x54ed0a,_0x597c56,_0x51ba33,_0x1bc019)=>{for(var _0x1945a0=_0x1bc019>0x1?void 0x0:_0x1bc019?_0x212cec(_0x597c56,_0x51ba33):_0x597c56,_0x4177b0=_0x54ed0a['length']-0x1,_0x5c96a7;_0x4177b0>=0x0;_0x4177b0--)(_0x5c96a7=_0x54ed0a[_0x4177b0])&&(_0x1945a0=_0x5c96a7(_0x1945a0)||_0x1945a0);return _0x1945a0;},_0x33c60d=(_0xab773,_0x4f26de)=>(_0x4d4638,_0x1d31a6)=>_0x4f26de(_0x4d4638,_0x1d31a6,_0xab773);const _0x13b9c2=0x12c,_0x11f3b7=0x64,_0x38ea94=()=>{let _0x1ab62d=[],_0x45c7e3=!0x1;return _0x5401db=>{const _0x46a9ee=_0x54a6;_0x1ab62d[_0x46a9ee(0x1c1)](_0x5401db),_0x45c7e3||(_0x45c7e3=!0x0,setTimeout(()=>{const _0x2a107d=_0x46a9ee;_0x1ab62d[_0x2a107d(0x32a)](_0x2c6092=>_0x2c6092()),_0x1ab62d=[],_0x45c7e3=!0x1;}));};};let _0x27af38=class extends _0x29d1e0['RxDisposable']{constructor(_0x1391e5,_0xae8114,_0x32b407,_0x1cdde1,_0x516415,_0x36c89c,_0x11fa38,_0x24daf3){const _0x1d607b=_0xc5d3ec;super(),_0x348160(this,_0x1d607b(0xf7),!0x1),_0x348160(this,_0x1d607b(0x20a),!0x1),_0x348160(this,_0x1d607b(0x29b),new _0x5963ed['BehaviorSubject'](new Map())),_0x348160(this,'cursorInfo$',this[_0x1d607b(0x29b)]['asObservable']()),_0x348160(this,_0x1d607b(0x30d),new _0x5963ed[(_0x1d607b(0x15d))]([])),_0x348160(this,_0x1d607b(0x2de),this['_roomMembers$']['pipe'](_0x5963ed[_0x1d607b(0x172)](_0x13b9c2))),_0x348160(this,_0x1d607b(0x24d),_0x29d1e0['debounce']((_0x2d68e2,_0x410b1f)=>{const _0x10eb02=_0x1d607b,_0x2e5710={'eventID':_0x31892d['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x10eb02(0x25c)][_0x10eb02(0x26f)](),'selection':_0x281d6b[_0x10eb02(0x31c)](_0x2d68e2,_0x410b1f['range'])}};this[_0x10eb02(0x25c)][_0x10eb02(0x184)](_0x2e5710,this[_0x10eb02(0x1f7)]);},_0x11f3b7)),(this[_0x1d607b(0x1f7)]=_0x1391e5,this['_session']=_0xae8114,this['_injector']=_0x32b407,this[_0x1d607b(0x321)]=_0x1cdde1,this[_0x1d607b(0x15b)]=_0x516415,this['_univerInstanceService']=_0x36c89c,this[_0x1d607b(0x153)]=_0x11fa38,this[_0x1d607b(0x216)]=_0x24daf3);}get[_0xc5d3ec(0x1da)](){const _0x4f2c4a=_0xc5d3ec;return this[_0x4f2c4a(0x29b)][_0x4f2c4a(0x28d)]();}get[_0xc5d3ec(0x18f)](){const _0xa5830f=_0xc5d3ec;return this[_0xa5830f(0x30d)][_0xa5830f(0x28d)]();}[_0xc5d3ec(0x261)](){const _0x3757cb=_0xc5d3ec;super[_0x3757cb(0x261)](),this[_0x3757cb(0x29b)]['next'](new Map()),this[_0x3757cb(0x29b)][_0x3757cb(0x36a)](),this[_0x3757cb(0x30d)][_0x3757cb(0x316)]([]),this['_roomMembers$'][_0x3757cb(0x36a)]();}[_0xc5d3ec(0x161)](){const _0x9d24fe=_0xc5d3ec;this[_0x9d24fe(0x20a)]||(this['_init']=!0x0,this['_session']['sessionStatus$'][_0x9d24fe(0x14b)](_0x5963ed[_0x9d24fe(0x2fe)](this[_0x9d24fe(0x104)]))[_0x9d24fe(0x253)](_0x551cbb=>{const _0x2a659c=_0x9d24fe;_0x551cbb===_0x76d6f6[_0x2a659c(0x133)][_0x2a659c(0x2d4)]?this['_toggleOnline']():this['_toggleOffline']();}),this['_session'][_0x9d24fe(0x305)][_0x9d24fe(0x14b)](_0x5963ed[_0x9d24fe(0x2fe)](this[_0x9d24fe(0x104)]))[_0x9d24fe(0x253)](_0x16ed84=>{const _0x4ad962=_0x9d24fe,_0x3d1000=_0x16ed84['eventID'];_0x3d1000===_0x31892d[_0x4ad962(0x320)][_0x4ad962(0x27f)]&&this[_0x4ad962(0x2d1)](_0x16ed84),_0x3d1000===_0x31892d[_0x4ad962(0x320)][_0x4ad962(0x19b)]&&this[_0x4ad962(0x212)](_0x16ed84);}),this[_0x9d24fe(0x313)](),this['disposeWithMe'](this['_commandService'][_0x9d24fe(0x329)](_0xeb1518=>{const _0x5932e8=_0x9d24fe;if(this[_0x5932e8(0xf7)]&&_0xeb1518['id']===_0x5dfffb['SetSelectionsOperation']['id']&&_0xeb1518['params'][_0x5932e8(0x302)]===this[_0x5932e8(0x1f7)]){const _0x5f42b3=_0xeb1518[_0x5932e8(0x2ca)];this[_0x5932e8(0x24d)](_0x5f42b3['subUnitId'],_0x5f42b3[_0x5932e8(0xee)][0x0]);}})));}['_onCursorUpdate'](_0xfa278c){const _0x25e931=_0xc5d3ec;var _0x2591e3,_0x9caf41;const {memberID:_0x58159c,selection:_0x630522}=_0xfa278c[_0x25e931(0x2f9)],{sheetName:_0x5d1074,range:_0x517ee}=_0x281d6b[_0x25e931(0x163)](_0x630522),_0x56a468={'name':(_0x9caf41=(_0x2591e3=this[_0x25e931(0x15b)][_0x25e931(0x14f)](this[_0x25e931(0x1f7)],_0x58159c))==null?void 0x0:_0x2591e3[_0x25e931(0xf3)])!=null?_0x9caf41:_0x25e931(0x127),'range':this[_0x25e931(0x10b)](_0x5d1074,_0x517ee),'sheetID':_0x5d1074,'color':this[_0x25e931(0x321)]['assignAColorForMemberID'](_0x58159c),'selection':_0x630522},_0x574d07=this[_0x25e931(0x1da)];_0x574d07[_0x25e931(0x358)](_0x58159c,_0x56a468),this['_cursorInfo$']['next'](_0x574d07);}[_0xc5d3ec(0x212)](_0x4e7d4e){const _0x3083dc=_0xc5d3ec,{memberID:_0x462e10}=_0x4e7d4e[_0x3083dc(0x2f9)],_0x153783=this['cursorInfo'];_0x153783['delete'](_0x462e10),this[_0x3083dc(0x29b)][_0x3083dc(0x316)](_0x153783);}[_0xc5d3ec(0x10b)](_0x324900,_0x4ac82e){const _0x1a74c8=_0xc5d3ec;var _0x39b094,_0x47b41f;const _0x22341b=(_0x47b41f=(_0x39b094=this[_0x1a74c8(0x156)][_0x1a74c8(0x2b8)](this[_0x1a74c8(0x1f7)]))==null?void 0x0:_0x39b094[_0x1a74c8(0x12b)](_0x324900))==null?void 0x0:_0x47b41f[_0x1a74c8(0x285)]();return(_0x22341b==null?void 0x0:_0x22341b['find'](_0x3a0872=>_0x29d1e0[_0x1a74c8(0x290)][_0x1a74c8(0x209)](_0x3a0872,_0x4ac82e)))||_0x4ac82e;}[_0xc5d3ec(0x313)](){const _0x2aefc5=_0xc5d3ec,_0x481efa=new _0x29d1e0[(_0x2aefc5(0x1c4))](),_0x509392=_0x38ea94(),_0x4520c8=()=>{const _0xe6f6d6=_0x2aefc5;_0x481efa[_0xe6f6d6(0x261)]();const _0x248947=(_0x55b00c,_0x1f6b35,_0x15445c,_0x471748)=>{const _0x119a28=_0xe6f6d6;let _0x5ab9c0=[];switch(_0x55b00c['id']){case _0x5dfffb[_0x119a28(0x260)][_0x119a28(0x35b)]:{_0x5ab9c0=_0x5dfffb[_0x119a28(0x1fe)](_0x55b00c,_0x471748);break;}case _0x5dfffb[_0x119a28(0x260)][_0x119a28(0x240)]:{_0x5ab9c0=_0x5dfffb[_0x119a28(0x249)](_0x55b00c,_0x471748);break;}case _0x5dfffb['EffectRefRangId'][_0x119a28(0x232)]:{_0x5ab9c0=_0x5dfffb[_0x119a28(0x264)](_0x55b00c,_0x471748);break;}case _0x5dfffb[_0x119a28(0x260)]['InsertRangeMoveDownCommandId']:{_0x5ab9c0=_0x5dfffb[_0x119a28(0x2b4)](_0x55b00c,_0x471748);break;}case _0x5dfffb['EffectRefRangId'][_0x119a28(0x36c)]:{_0x5ab9c0=_0x5dfffb[_0x119a28(0x1b9)](_0x55b00c,_0x471748);break;}case _0x5dfffb[_0x119a28(0x260)]['InsertRowCommandId']:{_0x5ab9c0=_0x5dfffb[_0x119a28(0x13a)](_0x55b00c,_0x471748);break;}case _0x5dfffb[_0x119a28(0x260)][_0x119a28(0x328)]:{_0x5ab9c0=_0x5dfffb[_0x119a28(0x298)](_0x55b00c,_0x471748);break;}case _0x5dfffb[_0x119a28(0x260)][_0x119a28(0xf8)]:{_0x5ab9c0=_0x5dfffb[_0x119a28(0x31f)](_0x55b00c,_0x471748);break;}case _0x5dfffb[_0x119a28(0x260)][_0x119a28(0x1c9)]:{_0x5ab9c0=_0x5dfffb[_0x119a28(0x2eb)](_0x55b00c,_0x471748);break;}}const _0x195783=_0x5dfffb[_0x119a28(0x11c)](_0x5ab9c0,_0x471748),_0x5f16bb=this[_0x119a28(0x1da)][_0x119a28(0x121)](_0x1f6b35);if(_0x5f16bb&&_0x195783){const _0x48bfb5={..._0x5f16bb,'range':_0x195783};this['cursorInfo'][_0x119a28(0x358)](_0x1f6b35,_0x48bfb5),_0x509392(()=>{const _0x38b359=_0x119a28,_0x3fa137=this[_0x38b359(0x216)]['registerRefRange'](_0x195783,_0x6d9990=>(_0x3fa137['dispose'](),_0x248947(_0x6d9990,_0x1f6b35,_0x15445c,_0x195783)));_0x481efa[_0x38b359(0x287)](_0x3fa137);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0xe6f6d6(0x32a)]((_0x48a577,_0x5bdde0)=>{const _0x3bdabd=_0xe6f6d6,{range:_0x4da2b4,sheetID:_0xb1eb8b}=_0x48a577,_0x4f03a5=this[_0x3bdabd(0x216)][_0x3bdabd(0x197)](_0x4da2b4,_0x36cde5=>(_0x4f03a5[_0x3bdabd(0x261)](),_0x248947(_0x36cde5,_0x5bdde0,_0xb1eb8b,_0x4da2b4)));_0x481efa[_0x3bdabd(0x287)](_0x4f03a5);});};this[_0x2aefc5(0x139)](_0x29d1e0[_0x2aefc5(0x308)](this['_cursorInfo$'][_0x2aefc5(0x253)](()=>{_0x4520c8();})));}[_0xc5d3ec(0x33d)](){const _0x53b5a7=_0xc5d3ec;var _0x2f9294,_0x544ab2;if(this[_0x53b5a7(0xf7)]=!0x0,((_0x2f9294=this[_0x53b5a7(0x156)][_0x53b5a7(0x1f9)]())==null?void 0x0:_0x2f9294[_0x53b5a7(0x103)]())!==this[_0x53b5a7(0x1f7)])return;const _0x4521d3=(_0x544ab2=this['_injector'][_0x53b5a7(0x121)](_0x5dfffb[_0x53b5a7(0x10e)])[_0x53b5a7(0x1b5)]())==null?void 0x0:_0x544ab2[0x0],_0x1b93f1=this[_0x53b5a7(0x156)]['getCurrentUnitForType'](_0x29d1e0['UniverInstanceType'][_0x53b5a7(0x2d2)])['getActiveSheet']();_0x4521d3&&_0x1b93f1&&this['_updateLocalCursor'](_0x1b93f1[_0x53b5a7(0x203)](),_0x4521d3);}[_0xc5d3ec(0x244)](){const _0x2dbc09=_0xc5d3ec;this[_0x2dbc09(0xf7)]=!0x1;}};_0x27af38=_0x155de4([_0x33c60d(0x2,_0x29d1e0['Inject'](_0x29d1e0[_0xc5d3ec(0x335)])),_0x33c60d(0x3,_0x29d1e0[_0xc5d3ec(0x12f)](_0x2e5936)),_0x33c60d(0x4,_0x29d1e0[_0xc5d3ec(0x12f)](_0x76d6f6[_0xc5d3ec(0x19e)])),_0x33c60d(0x5,_0x29d1e0['IUniverInstanceService']),_0x33c60d(0x6,_0x29d1e0[_0xc5d3ec(0x15a)]),_0x33c60d(0x7,_0x29d1e0[_0xc5d3ec(0x12f)](_0x5dfffb['RefRangeService']))],_0x27af38);var _0x217b0a=Object[_0xc5d3ec(0x34e)],_0x17b7a2=(_0x1d76b6,_0x220b4a,_0x261ba4,_0x5d4808)=>{for(var _0x2abe45=_0x5d4808>0x1?void 0x0:_0x5d4808?_0x217b0a(_0x220b4a,_0x261ba4):_0x220b4a,_0x580932=_0x1d76b6['length']-0x1,_0xb3439e;_0x580932>=0x0;_0x580932--)(_0xb3439e=_0x1d76b6[_0x580932])&&(_0x2abe45=_0xb3439e(_0x2abe45)||_0x2abe45);return _0x2abe45;},_0x4d069f=(_0x40fb57,_0x46d2d7)=>(_0x303478,_0x358186)=>_0x46d2d7(_0x303478,_0x358186,_0x40fb57);let _0x11f9b5=class extends _0x29d1e0[_0xc5d3ec(0x2ef)]{constructor(_0x1d8329,_0x22301a,_0x581fb1){const _0x2f0a17=_0xc5d3ec;super(),_0x348160(this,'_entities',new Map()),_0x348160(this,_0x2f0a17(0x1b3),new _0x5963ed[(_0x2f0a17(0x1ea))]()),(this[_0x2f0a17(0x156)]=_0x1d8329,this['_injector']=_0x22301a,this[_0x2f0a17(0x345)]=_0x581fb1,this['_init']());}[_0xc5d3ec(0x261)](){const _0x415bfe=_0xc5d3ec;super[_0x415bfe(0x261)](),this[_0x415bfe(0x1b3)]['complete'](),this[_0x415bfe(0x19c)][_0x415bfe(0x32a)](_0xfe4c56=>_0xfe4c56[_0x415bfe(0x261)]());}[_0xc5d3ec(0x2a9)](_0x27c19b){const _0x57ac04=_0xc5d3ec;return this[_0x57ac04(0x19c)][_0x57ac04(0x201)](_0x27c19b)?this['_entities'][_0x57ac04(0x121)](_0x27c19b)['cursorInfo$']:this[_0x57ac04(0x1b3)][_0x57ac04(0x14b)](_0x5963ed['filter'](_0x19b226=>_0x19b226[_0x57ac04(0x1f7)]===_0x27c19b),_0x5963ed[_0x57ac04(0x268)](_0x2177cc=>_0x2177cc[_0x57ac04(0x1a5)]));}[_0xc5d3ec(0x20a)](){const _0x4804cd=_0xc5d3ec;this['_univerInstanceService'][_0x4804cd(0x2d7)](_0x29d1e0[_0x4804cd(0x228)][_0x4804cd(0x2d2)])[_0x4804cd(0x14b)](_0x5963ed[_0x4804cd(0x2fe)](this[_0x4804cd(0x104)]))[_0x4804cd(0x253)](async _0x427a82=>{const _0x45a940=_0x4804cd,_0x980dea=_0x427a82['getUnitId'](),_0x31a460=await this[_0x45a940(0x1a2)](_0x980dea);this['_entityInit$'][_0x45a940(0x316)](_0x31a460),this['_entities'][_0x45a940(0x358)](_0x980dea,_0x31a460);}),this[_0x4804cd(0x156)]['getTypeOfUnitAdded$'](_0x29d1e0['UniverInstanceType']['UNIVER_DOC'])[_0x4804cd(0x14b)](_0x5963ed[_0x4804cd(0x2fe)](this[_0x4804cd(0x104)]))['pipe'](_0x5963ed['filter'](_0x205f30=>!_0x205f30[_0x4804cd(0x103)]()[_0x4804cd(0x243)]('__')))['subscribe'](async _0x56bc8f=>{const _0x118ddd=_0x4804cd,_0x2ffb54=_0x56bc8f['getUnitId'](),_0x4b2a80=await this['_startDocCollabCursor'](_0x2ffb54);this[_0x118ddd(0x1b3)][_0x118ddd(0x316)](_0x4b2a80),this[_0x118ddd(0x19c)][_0x118ddd(0x358)](_0x2ffb54,_0x4b2a80);}),_0x5963ed[_0x4804cd(0xfe)](this['_univerInstanceService'][_0x4804cd(0x1d6)](_0x29d1e0[_0x4804cd(0x228)][_0x4804cd(0x207)]),this['_univerInstanceService'][_0x4804cd(0x1d6)](_0x29d1e0[_0x4804cd(0x228)][_0x4804cd(0x2d2)]))[_0x4804cd(0x14b)](_0x5963ed['takeUntil'](this[_0x4804cd(0x104)]))[_0x4804cd(0x253)](_0x432d99=>{const _0x11d405=_0x4804cd,_0x3f0ec5=_0x432d99['getUnitId'](),_0xfbab14=this[_0x11d405(0x19c)]['get'](_0x3f0ec5);_0xfbab14&&(_0xfbab14[_0x11d405(0x261)](),this[_0x11d405(0x19c)][_0x11d405(0x22e)](_0x3f0ec5));});}async[_0xc5d3ec(0x1a2)](_0x388e69){const _0x4ce95c=_0xc5d3ec,_0x4f4010=await this['_collabSessionService'][_0x4ce95c(0x362)](_0x388e69),_0x2be736=this[_0x4ce95c(0x1e4)]['createInstance'](_0x27af38,_0x388e69,_0x4f4010);return _0x2be736[_0x4ce95c(0x161)](),_0x2be736;}async['_startDocCollabCursor'](_0x1b9222){const _0x4dd77d=_0xc5d3ec,_0x26df79=await this[_0x4dd77d(0x345)][_0x4dd77d(0x362)](_0x1b9222),_0x5e0dc3=this[_0x4dd77d(0x1e4)][_0x4dd77d(0x353)](_0x779539,_0x1b9222,_0x26df79);return _0x5e0dc3[_0x4dd77d(0x161)](),_0x5e0dc3;}};_0x11f9b5=_0x17b7a2([_0x4d069f(0x0,_0x29d1e0[_0xc5d3ec(0x348)]),_0x4d069f(0x1,_0x29d1e0[_0xc5d3ec(0x12f)](_0x29d1e0[_0xc5d3ec(0x335)])),_0x4d069f(0x2,_0x29d1e0['Inject'](_0x76d6f6[_0xc5d3ec(0x18c)]))],_0x11f9b5);const _0x340ecf=0x14,_0x48292e=0xc8,_0x3e633e=0x4,_0x4511a6=0x5;function _0x53ff7f(_0x19f148,_0x75f12a){const _0x425813=_0xc5d3ec;let {radius:_0x5729bd,width:_0xe2d0c,height:_0x420f36}=_0x75f12a;_0x5729bd=_0x5729bd!=null?_0x5729bd:0x0,_0xe2d0c=_0xe2d0c!=null?_0xe2d0c:0x1e,_0x420f36=_0x420f36!=null?_0x420f36:0x1e;let _0x3510be=0x0,_0x1e1d75=0x0,_0x502e1c=0x0;_0x3510be=_0x1e1d75=_0x502e1c=Math['min'](_0x5729bd,_0xe2d0c/0x2,_0x420f36/0x2),_0x19f148[_0x425813(0x1b2)](),_0x19f148[_0x425813(0x111)](_0x3510be,0x0),_0x19f148[_0x425813(0x177)](_0xe2d0c-_0x1e1d75,0x0),_0x19f148['arc'](_0xe2d0c-_0x1e1d75,_0x1e1d75,_0x1e1d75,Math['PI']*0x3/0x2,0x0,!0x1),_0x19f148[_0x425813(0x177)](_0xe2d0c,_0x420f36-_0x502e1c),_0x19f148[_0x425813(0x151)](_0xe2d0c-_0x502e1c,_0x420f36-_0x502e1c,_0x502e1c,0x0,Math['PI']/0x2,!0x1),_0x19f148[_0x425813(0x177)](0x0,_0x420f36),_0x19f148[_0x425813(0x177)](0x0,_0x3510be),_0x19f148[_0x425813(0x151)](_0x3510be,_0x3510be,_0x3510be,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x19f148[_0x425813(0x15e)](),_0x75f12a[_0x425813(0x164)]&&(_0x19f148['save'](),_0x19f148[_0x425813(0x2d5)]=_0x75f12a['fill'],_0x75f12a[_0x425813(0x198)]===_0x425813(0x122)?_0x19f148['fill'](_0x425813(0x122)):_0x19f148[_0x425813(0x164)](),_0x19f148[_0x425813(0x2ce)]());}class _0x58364d extends _0x307230['Shape']{constructor(_0x4e992d,_0x576089){const _0x4248e7=_0xc5d3ec;super(_0x4e992d,_0x576089),_0x348160(this,_0x4248e7(0x293)),_0x348160(this,_0x4248e7(0x304)),(this[_0x4248e7(0x293)]=_0x576089==null?void 0x0:_0x576089[_0x4248e7(0x293)],this[_0x4248e7(0x304)]=_0x576089==null?void 0x0:_0x576089['text']);}static[_0xc5d3ec(0x284)](_0x5de94a,_0x21eb35){const _0x3c2b4f=_0xc5d3ec,{text:_0x53feaa,color:_0x1454da}=_0x21eb35;_0x5de94a[_0x3c2b4f(0x2b6)](),_0x5de94a[_0x3c2b4f(0x2e4)]=_0x3c2b4f(0x355);const _0x2d7741=_0x5de94a[_0x3c2b4f(0x166)](_0x53feaa)[_0x3c2b4f(0x1ab)],_0x3f422c=Math[_0x3c2b4f(0x138)](_0x2d7741+0x2*_0x3e633e,_0x48292e);_0x53ff7f(_0x5de94a,{'height':_0x340ecf,'radius':0x4,'width':_0x3f422c,'fill':_0x1454da}),_0x5de94a[_0x3c2b4f(0x2d5)]=_0x3c2b4f(0x1f4);const _0x54c7b9=_0x3e633e,_0x5a2adf=_0x340ecf-_0x4511a6,_0x4cd7af=_0x48292e-0x2*_0x3e633e;if(_0x2d7741>_0x4cd7af){let _0x14c2c7='',_0x3950d4=0x0;for(const _0x46c0e1 of _0x53feaa){const _0x1c49f9=_0x5de94a[_0x3c2b4f(0x166)](_0x46c0e1)[_0x3c2b4f(0x1ab)];if(_0x3950d4+_0x1c49f9<=_0x4cd7af-_0x5de94a[_0x3c2b4f(0x166)](_0x3c2b4f(0x1ba))[_0x3c2b4f(0x1ab)])_0x14c2c7+=_0x46c0e1,_0x3950d4+=_0x1c49f9;else{_0x14c2c7+='...';break;}}_0x5de94a[_0x3c2b4f(0x227)](_0x14c2c7,_0x54c7b9,_0x5a2adf);}else _0x5de94a['fillText'](_0x53feaa,_0x54c7b9,_0x5a2adf);_0x5de94a[_0x3c2b4f(0x2ce)]();}[_0xc5d3ec(0x25e)](_0x5bafea){_0x58364d['drawWith'](_0x5bafea,this);}}const _0x270a93=_0xc5d3ec(0x2ff),_0x4f2e3a='collab-text-range-',_0x4a0feb=_0xc5d3ec(0x223),_0x25fea5=0x6,_0x3aa877=1.5,_0x2dc270=0x4,_0x44967b=1.5,_0x389c81=_0xc5d3ec(0x1c0);class _0x3223b2{constructor(_0x3c0ff0,_0x5e646d,_0x3e76f9,_0x54dc83){const _0x11eb0b=_0xc5d3ec;_0x348160(this,_0x11eb0b(0x16f),[]),_0x348160(this,_0x11eb0b(0x2dd),null),_0x348160(this,_0x11eb0b(0x269),null),_0x348160(this,_0x11eb0b(0xeb),null),_0x348160(this,_0x11eb0b(0x2ac),null),_0x348160(this,'_eventUnsubscribe',null),(this[_0x11eb0b(0x27b)]=_0x3c0ff0,this[_0x11eb0b(0x27a)]=_0x5e646d,this['_docSkeleton']=_0x3e76f9,this['_document']=_0x54dc83,this['_render']());}set['_hover'](_0x46f243){const _0x1c0a88=_0xc5d3ec;_0x46f243?(this[_0x1c0a88(0xeb)]&&this[_0x1c0a88(0xeb)][_0x1c0a88(0x100)](),this[_0x1c0a88(0x269)]&&this[_0x1c0a88(0x269)][_0x1c0a88(0x30c)]()):(this[_0x1c0a88(0xeb)]&&this['_anchorDot'][_0x1c0a88(0x30c)](),this[_0x1c0a88(0x269)]&&this[_0x1c0a88(0x269)][_0x1c0a88(0x100)]());}[_0xc5d3ec(0x261)](){const _0x157aa6=_0xc5d3ec;for(const _0x3892b3 of this[_0x157aa6(0x16f)])_0x3892b3[_0x157aa6(0x261)]();this[_0x157aa6(0x269)]&&this[_0x157aa6(0x269)][_0x157aa6(0x261)](),this[_0x157aa6(0xeb)]&&this[_0x157aa6(0xeb)][_0x157aa6(0x261)](),this[_0x157aa6(0x2dd)]&&this[_0x157aa6(0x2dd)][_0x157aa6(0x261)](),this[_0x157aa6(0x332)]&&this[_0x157aa6(0x332)]();}[_0xc5d3ec(0x22b)](){const _0x467dc8=_0xc5d3ec;var _0x2f8625;const {_docSkeleton:_0x14ed1b,_document:_0x2a8197}=this,{color:_0x4dfaf7,name:_0x200b29,ranges:_0x33a2c7}=this[_0x467dc8(0x27b)],_0x254fd8=_0x2a8197['getOffsetConfig'](),{docsLeft:_0x312c7e,docsTop:_0x41b17e}=_0x254fd8,_0x407e9c=new _0x5ceb2c['NodePositionConvertToCursor'](_0x254fd8,_0x14ed1b);for(const {startOffset:_0x1963f3,endOffset:_0x1f0959,rangeType:_0x4ef437,segmentId:_0x49e78a,segmentPage:_0x45b566,collapsed:_0x2d4994,isActive:_0x589b72}of _0x33a2c7){const _0xaf2673=_0x14ed1b['findNodePositionByCharIndex'](_0x1963f3,!0x0,_0x49e78a,_0x45b566);let _0x8c0e10=_0x14ed1b[_0x467dc8(0x1fc)](_0x1f0959,!0x0,_0x49e78a,_0x45b566);if(_0x8c0e10==null&&(_0x8c0e10=_0x14ed1b[_0x467dc8(0x1fc)](_0x1f0959-0x1,!0x1,_0x49e78a,_0x45b566)),_0x589b72){const {contentBoxPointGroup:_0x14411f}=_0x407e9c['getRangePointData'](_0x8c0e10,_0x8c0e10);if(_0x14411f[_0x467dc8(0x1dc)]===0x0)continue;this[_0x467dc8(0x126)](_0x4dfaf7,_0x14411f,_0x312c7e,_0x41b17e,_0x200b29),this[_0x467dc8(0x332)]=this[_0x467dc8(0x2b1)]();}if(_0xaf2673&&_0x8c0e10){if(_0x4ef437===_0x29d1e0[_0x467dc8(0x11a)]['RECT']){const _0x1e91f3=new _0x5ceb2c[(_0x467dc8(0x2fa))](_0x254fd8,_0x14ed1b),{pointGroup:_0x34276e}=(_0x2f8625=_0x1e91f3[_0x467dc8(0x35c)](_0xaf2673,_0x8c0e10))!=null?_0x2f8625:{};if(_0x34276e==null||_0x34276e['length']===0x0)continue;this['_drawRectRange'](_0x4dfaf7,_0x34276e,_0x312c7e,_0x41b17e);}else{if(!_0x2d4994){const {borderBoxPointGroup:_0x4125ad}=_0x407e9c[_0x467dc8(0x35c)](_0xaf2673,_0x8c0e10);if(_0x4125ad['length']===0x0)continue;this[_0x467dc8(0x251)](_0x4dfaf7,_0x4125ad,_0x312c7e,_0x41b17e);}}}}}[_0xc5d3ec(0x126)](_0x5356bf,_0x28e2fd,_0x286b3c,_0x275961,_0x598855){const _0x4ef0c2=_0xc5d3ec,_0x2fef4d=this[_0x4ef0c2(0x2c8)](_0x28e2fd),{left:_0x26329a,top:_0x59760c,height:_0x45181b}=_0x2fef4d,_0x44166f=this['_getScale'](),_0x1deda5=_0x44967b/_0x44166f,_0x1598cc=new _0x307230['Rect'](_0x270a93+_0x29d1e0['Tools'][_0x4ef0c2(0x299)](_0x25fea5),{'left':_0x26329a+_0x286b3c-_0x1deda5,'top':_0x59760c+_0x275961,'height':_0x45181b,'width':_0x3aa877,'fill':_0x5356bf||_0x307230[_0x4ef0c2(0x107)](_0x29d1e0[_0x4ef0c2(0x16d)]['black'],0x0),'strokeWidth':_0x1deda5,'stroke':_0x389c81,'evented':!0x0});this[_0x4ef0c2(0x2dd)]=_0x1598cc,this[_0x4ef0c2(0x27a)][_0x4ef0c2(0x12e)](_0x1598cc,_0x5ceb2c[_0x4ef0c2(0x1d3)]);const _0x51e8c3=new _0x307230['Rect'](_0x270a93+_0x29d1e0[_0x4ef0c2(0x360)][_0x4ef0c2(0x299)](_0x25fea5),{'left':_0x26329a+_0x286b3c-_0x1deda5,'top':_0x59760c+_0x275961-_0x2dc270/0x2,'height':_0x2dc270,'width':_0x2dc270,'fill':_0x5356bf||_0x307230[_0x4ef0c2(0x107)](_0x29d1e0[_0x4ef0c2(0x16d)][_0x4ef0c2(0x235)],0x0),'strokeWidth':0x0,'stroke':_0x5356bf||_0x307230[_0x4ef0c2(0x107)](_0x29d1e0[_0x4ef0c2(0x16d)]['black'],0x0),'evented':!0x1});this[_0x4ef0c2(0xeb)]=_0x51e8c3,this['_scene']['addObject'](_0x51e8c3,_0x5ceb2c[_0x4ef0c2(0x1d3)]);const _0x3c6e6=new _0x58364d(_0x270a93+_0x29d1e0[_0x4ef0c2(0x360)][_0x4ef0c2(0x299)](_0x25fea5),{'left':_0x26329a+_0x286b3c-_0x1deda5,'top':_0x59760c+_0x275961-_0x340ecf,'text':_0x598855,'color':_0x5356bf});this['_textBubble']=_0x3c6e6,this[_0x4ef0c2(0x27a)][_0x4ef0c2(0x12e)](_0x3c6e6,_0x5ceb2c[_0x4ef0c2(0x1d3)]),this['_hover']=!0x1;}['_handleHover'](){const _0x3daa58=_0xc5d3ec,_0xd3b065=this[_0x3daa58(0x2dd)][_0x3daa58(0x115)][_0x3daa58(0x10a)](()=>{this['_hover']=!0x0;}),_0x202fc1=this[_0x3daa58(0x2dd)]['onPointerLeave$'][_0x3daa58(0x10a)](()=>{const _0x74521e=_0x3daa58;this[_0x74521e(0x2ac)]&&clearTimeout(this['_hideTimer']),this[_0x74521e(0x2ac)]=setTimeout(()=>{const _0x255d53=_0x74521e;this[_0x255d53(0x196)]=!0x1;},0x7d0);});return()=>{const _0x5cf398=_0x3daa58;_0xd3b065[_0x5cf398(0x1dd)](),_0x202fc1['unsubscribe']();};}[_0xc5d3ec(0x251)](_0x5c54b3,_0x49c354,_0x32c237,_0x164a6c){const _0xdab3d5=_0xc5d3ec,_0x53e714=new _0x29d1e0[(_0xdab3d5(0x2a6))](_0x5c54b3)[_0xdab3d5(0x26d)](0.2)['toRgbString'](),_0x2484f3=new _0x307230[(_0xdab3d5(0x1df))](_0x4f2e3a+_0x29d1e0[_0xdab3d5(0x360)][_0xdab3d5(0x299)](_0x25fea5),{'pointsGroup':_0x49c354,'fill':_0x53e714||_0x307230[_0xdab3d5(0x107)](_0x29d1e0[_0xdab3d5(0x16d)][_0xdab3d5(0x235)],0.2),'left':_0x32c237,'top':_0x164a6c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xdab3d5(0x16f)][_0xdab3d5(0x1c1)](_0x2484f3),this['_scene'][_0xdab3d5(0x12e)](_0x2484f3,_0x5ceb2c[_0xdab3d5(0x1d3)]);}[_0xc5d3ec(0x1b8)](_0x569685,_0x5224d7,_0x42d4b8,_0x4b9bc0){const _0x40464f=_0xc5d3ec,_0x1be0f4=new _0x29d1e0[(_0x40464f(0x2a6))](_0x569685)[_0x40464f(0x26d)](0.2)[_0x40464f(0xf4)](),_0x528a3b=new _0x307230[(_0x40464f(0x1df))](_0x4a0feb+_0x29d1e0[_0x40464f(0x360)][_0x40464f(0x299)](_0x25fea5),{'pointsGroup':_0x5224d7,'fill':_0x1be0f4||_0x307230[_0x40464f(0x107)](_0x29d1e0[_0x40464f(0x16d)][_0x40464f(0x235)],0.2),'left':_0x42d4b8,'top':_0x4b9bc0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x40464f(0x16f)][_0x40464f(0x1c1)](_0x528a3b),this[_0x40464f(0x27a)][_0x40464f(0x12e)](_0x528a3b,_0x5ceb2c[_0x40464f(0x1d3)]);}[_0xc5d3ec(0x2c8)](_0x131a9c){const _0x1d0021=_0x131a9c[0x0],_0x2765b2=_0x1d0021[0x0],_0x192dac=_0x1d0021[0x2],{x:_0x56ac60,y:_0x443dbd}=_0x2765b2,{x:_0x6cc497,y:_0xf1e63}=_0x192dac;return{'left':_0x56ac60,'top':_0x443dbd,'width':_0x6cc497-_0x56ac60,'height':_0xf1e63-_0x443dbd};}[_0xc5d3ec(0x143)](){const _0x1a9852=_0xc5d3ec,{scaleX:_0x3ce376,scaleY:_0x1b4710}=this['_scene'][_0x1a9852(0x2fc)]();return Math[_0x1a9852(0x15c)](_0x3ce376,_0x1b4710);}}var _0x2be25c=Object[_0xc5d3ec(0x34e)],_0x505038=(_0x4f922e,_0x369a14,_0x5a0f0d,_0x9753e5)=>{const _0x216b76=_0xc5d3ec;for(var _0x42d862=_0x9753e5>0x1?void 0x0:_0x9753e5?_0x2be25c(_0x369a14,_0x5a0f0d):_0x369a14,_0x1c9e18=_0x4f922e[_0x216b76(0x1dc)]-0x1,_0x41ac94;_0x1c9e18>=0x0;_0x1c9e18--)(_0x41ac94=_0x4f922e[_0x1c9e18])&&(_0x42d862=_0x41ac94(_0x42d862)||_0x42d862);return _0x42d862;},_0x1d60ea=(_0x27677b,_0x510638)=>(_0x468183,_0x4f937e)=>_0x510638(_0x468183,_0x4f937e,_0x27677b);let _0x26ddbb=class extends _0x29d1e0[_0xc5d3ec(0x2ef)]{constructor(_0x5d8789,_0x1bc5d5,_0x3d112e,_0x38bb98,_0x46b00e){const _0x386ad5=_0xc5d3ec;super(),_0x348160(this,_0x386ad5(0x106),[]),_0x348160(this,'_cursors',[]),(this[_0x386ad5(0x26b)]=_0x5d8789,this[_0x386ad5(0x1d0)]=_0x1bc5d5,this['_collabCursorController']=_0x3d112e,this[_0x386ad5(0x153)]=_0x38bb98,this[_0x386ad5(0x146)]=_0x46b00e,this['_init']());}[_0xc5d3ec(0x20a)](){const _0x49f82c=_0xc5d3ec,_0x12ff95=this[_0x49f82c(0x26b)][_0x49f82c(0x302)],_0x54a0f8=this[_0x49f82c(0x1d0)];this[_0x49f82c(0x139)](_0x5963ed[_0x49f82c(0x2e3)]([this['_collabCursorController'][_0x49f82c(0x2a9)](_0x12ff95),this[_0x49f82c(0x146)][_0x49f82c(0x22f)]])['pipe'](_0x574f30['map'](([_0xc4f56f,_0x3aadd6])=>({'skeleton':_0x54a0f8['getSkeleton'](),'cursors':[..._0xc4f56f[_0x49f82c(0x182)]()][_0x49f82c(0x31e)](_0x2ebf3e=>({..._0x2ebf3e,'color':_0x3aadd6[_0x2ebf3e['color']]}))})))[_0x49f82c(0x253)](_0x320037=>{const _0x1b6e2f=_0x49f82c;if(this['_removeCollabCursors'](),_0x320037){const {skeleton:_0x47ccc9,cursors:_0x292fb0}=_0x320037;this[_0x1b6e2f(0x2f6)](_0x47ccc9,_0x292fb0);}})),this[_0x49f82c(0x27e)](),this['_initCommandExecutedListener']();}[_0xc5d3ec(0x2f6)](_0xe6c138,_0xefea7a){const _0x1a3477=_0xc5d3ec,{scene:_0x422bd4,mainComponent:_0x5993d6}=this[_0x1a3477(0x26b)],_0x541bf8=_0xefea7a[_0x1a3477(0x2bf)](_0x59ef18=>new _0x3223b2(_0x59ef18,_0x422bd4,_0xe6c138,_0x5993d6));this[_0x1a3477(0x106)]=_0x541bf8,this['_cursors']=_0xefea7a;}[_0xc5d3ec(0x288)](){const _0xf37b78=_0xc5d3ec;this['_removeCollabCursors']();const {scene:_0x4b21fc,mainComponent:_0x2a868d}=this['_context'],_0x4fbb94=this['_docSkeletonManagerService'][_0xf37b78(0x155)](),_0xafeea2=this[_0xf37b78(0x26e)][_0xf37b78(0x2bf)](_0x47c98f=>new _0x3223b2(_0x47c98f,_0x4b21fc,_0x4fbb94,_0x2a868d));this[_0xf37b78(0x106)]=_0xafeea2;}[_0xc5d3ec(0x34f)](){const _0x3a77fc=_0xc5d3ec;this[_0x3a77fc(0x106)][_0x3a77fc(0x32a)](_0x504b68=>_0x504b68[_0x3a77fc(0x261)]()),this['_cursorShapes']=[];}[_0xc5d3ec(0x202)](){const _0x1816fd=_0xc5d3ec,_0x7e4978=[_0x5ceb2c[_0x1816fd(0x2a3)]['id']];this[_0x1816fd(0x139)](this[_0x1816fd(0x153)][_0x1816fd(0x329)](_0x1b17d8=>{const _0x57ca57=_0x1816fd;_0x7e4978['includes'](_0x1b17d8['id'])&&_0x1b17d8[_0x57ca57(0x2ca)][_0x57ca57(0x302)]===this[_0x57ca57(0x26b)][_0x57ca57(0x302)]&&this[_0x57ca57(0x288)]();}));}[_0xc5d3ec(0x27e)](){const _0x4b9c3f=_0xc5d3ec;this[_0x4b9c3f(0x139)](_0x29d1e0['fromEventSubject'](this['_context'][_0x4b9c3f(0x309)][_0x4b9c3f(0x2c3)])[_0x4b9c3f(0x14b)](_0x574f30[_0x4b9c3f(0x2b9)](_0x1813de=>_0x1813de['type']===_0x307230[_0x4b9c3f(0x148)][_0x4b9c3f(0x286)]),_0x574f30[_0x4b9c3f(0x21d)](0x10))[_0x4b9c3f(0x253)](()=>{const _0x9c49fe=_0x4b9c3f;this[_0x9c49fe(0x288)]();}));}};_0x26ddbb=_0x505038([_0x1d60ea(0x1,_0x29d1e0[_0xc5d3ec(0x12f)](_0x4daa1c['DocSkeletonManagerService'])),_0x1d60ea(0x2,_0x29d1e0['Inject'](_0x11f9b5)),_0x1d60ea(0x3,_0x29d1e0[_0xc5d3ec(0x15a)]),_0x1d60ea(0x4,_0x29d1e0[_0xc5d3ec(0x12f)](_0x29d1e0[_0xc5d3ec(0x28c)]))],_0x26ddbb);const _0x2d14d4=0x1,_0x309e68=1.5;class _0x2c2826 extends _0x307230[_0xc5d3ec(0x204)]{constructor(_0xa46886,_0x2a290d){const _0x5930ce=_0xc5d3ec;super(_0xa46886,_0x2a290d),_0x348160(this,'_color'),_0x348160(this,_0x5930ce(0x29f),!0x1),_0x348160(this,'_range'),_0x348160(this,_0x5930ce(0xec),''),_0x348160(this,_0x5930ce(0x343),'top'),_0x348160(this,_0x5930ce(0x189)),(_0x2a290d&&this[_0x5930ce(0x14d)](_0x2a290d),this[_0x5930ce(0x115)][_0x5930ce(0x10a)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x5930ce(0x1ed)][_0x5930ce(0x10a)](()=>this[_0x5930ce(0x14d)]({'hovered':!0x1})));}['setShapeProps'](_0x1343f1){const _0x47faf7=_0xc5d3ec;var _0x1fe823,_0x5b250d,_0x12d93e,_0x3c2c23,_0xe6b713,_0x6b241e;this['_color']=(_0x1fe823=_0x1343f1['color'])!=null?_0x1fe823:this['_color'],this[_0x47faf7(0x29f)]=(_0x5b250d=_0x1343f1['hovered'])!=null?_0x5b250d:this[_0x47faf7(0x29f)],this[_0x47faf7(0x205)]=(_0x12d93e=_0x1343f1[_0x47faf7(0x24c)])!=null?_0x12d93e:this['_range'],this[_0x47faf7(0xec)]=(_0x3c2c23=_0x1343f1['name'])!=null?_0x3c2c23:this['_name'],this[_0x47faf7(0x343)]=(_0xe6b713=_0x1343f1[_0x47faf7(0x23a)])!=null?_0xe6b713:this[_0x47faf7(0x343)],this[_0x47faf7(0x189)]=(_0x6b241e=_0x1343f1['backgroundColor'])!=null?_0x6b241e:this[_0x47faf7(0x189)],this[_0x47faf7(0x1d8)]({'width':_0x1343f1[_0x47faf7(0x1ab)],'height':_0x1343f1[_0x47faf7(0x32c)]});}[_0xc5d3ec(0x370)](_0x2e2606){const _0x3b4b7f=_0xc5d3ec,{row:_0x137a6b,column:_0x131dec}=_0x2e2606;if(_0x137a6b>=this[_0x3b4b7f(0x205)][_0x3b4b7f(0x234)]&&_0x137a6b<=this['_range'][_0x3b4b7f(0x247)]&&_0x131dec>=this[_0x3b4b7f(0x205)]['startColumn']&&_0x131dec<=this[_0x3b4b7f(0x205)][_0x3b4b7f(0x14c)]){this[_0x3b4b7f(0x14d)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x51f4a4){return!0x1;}[_0xc5d3ec(0x25e)](_0x44be51){const _0xf29fbc=_0xc5d3ec;_0x307230[_0xf29fbc(0x183)][_0xf29fbc(0x284)](_0x44be51,{'width':this[_0xf29fbc(0x1ab)],'height':this[_0xf29fbc(0x32c)],'strokeWidth':_0x309e68,'stroke':this[_0xf29fbc(0x1ff)],'evented':!0x1,'fill':this[_0xf29fbc(0x189)]}),this[_0xf29fbc(0x29f)]&&(_0x44be51[_0xf29fbc(0x2b6)](),_0x44be51[_0xf29fbc(0xea)](0x1,0x0,0x0,0x1,this[_0xf29fbc(0x1ab)],this[_0xf29fbc(0x343)]===_0xf29fbc(0x13b)?0x0:-0x14),_0x58364d['drawWith'](_0x44be51,{'text':this['_name'],'color':this[_0xf29fbc(0x1ff)]}),_0x44be51[_0xf29fbc(0x2ce)]());}}var _0x3220b0=Object['getOwnPropertyDescriptor'],_0x34b1da=(_0x16df3c,_0x41837c,_0x59a0e1,_0x1aeadc)=>{const _0x598850=_0xc5d3ec;for(var _0x50c95a=_0x1aeadc>0x1?void 0x0:_0x1aeadc?_0x3220b0(_0x41837c,_0x59a0e1):_0x41837c,_0x50de3d=_0x16df3c[_0x598850(0x1dc)]-0x1,_0x234a60;_0x50de3d>=0x0;_0x50de3d--)(_0x234a60=_0x16df3c[_0x50de3d])&&(_0x50c95a=_0x234a60(_0x50c95a)||_0x50c95a);return _0x50c95a;},_0x34d06f=(_0x5e449b,_0x401727)=>(_0x4f95ce,_0x4f2dbd)=>_0x401727(_0x4f95ce,_0x4f2dbd,_0x5e449b);const _0x40f706=0x1389;let _0x37084c=class extends _0x29d1e0[_0xc5d3ec(0x2ef)]{constructor(_0x4bb3ae,_0x4d141a,_0x33668b,_0x2aa400){const _0x24739c=_0xc5d3ec;super(),_0x348160(this,'_cursors',new Set()),_0x348160(this,_0x24739c(0x2c2),null),(this[_0x24739c(0x26b)]=_0x4bb3ae,this['_sheetSkeletonManagerService']=_0x4d141a,this[_0x24739c(0x157)]=_0x33668b,this['_themeService']=_0x2aa400,this[_0x24739c(0x20a)]());}[_0xc5d3ec(0x20a)](){const _0x490bdd=_0xc5d3ec;this[_0x490bdd(0x1c5)]['currentSkeleton$'][_0x490bdd(0x14b)](_0x574f30[_0x490bdd(0x2fe)](this[_0x490bdd(0x104)]),_0x574f30[_0x490bdd(0x268)](_0x5c3229=>{const _0xd54427=_0x490bdd;if(_0x5c3229){const _0x514d1e=_0x5c3229['sheetId'];return _0x5963ed[_0xd54427(0x2e3)](this['_collabCursorController'][_0xd54427(0x2a9)](this[_0xd54427(0x26b)][_0xd54427(0x302)]),this['_themeService'][_0xd54427(0x22f)])[_0xd54427(0x14b)](_0x574f30[_0xd54427(0x2bf)](([_0x4641f7,_0xa0d858])=>{const _0x204bc3=_0xd54427,_0x2957c9=new Map();return _0x4641f7[_0x204bc3(0x32a)]((_0x382b36,_0x1d8a34)=>{const _0x21ef1e=_0x204bc3;if(_0x382b36[_0x21ef1e(0x233)]===_0x514d1e){const _0x532042={..._0x382b36};_0x532042[_0x21ef1e(0x293)]=_0xa0d858[_0x382b36['color']],_0x2957c9[_0x21ef1e(0x358)](_0x1d8a34,_0x532042);}}),{'skeleton':_0x5c3229,'cursors':_0x2957c9};}));}return _0x5963ed['of']({'skeleton':null,'cursors':new Map()});}))[_0x490bdd(0x253)](({skeleton:_0xac98f,cursors:_0x458846})=>{const _0x579c8f=_0x490bdd;this[_0x579c8f(0x34f)](),_0xac98f&&this[_0x579c8f(0x2f6)](_0xac98f,_0x458846);}),this[_0x490bdd(0x1c5)]['currentSkeleton$']['subscribe'](_0x5a0196=>{const _0x4934cb=_0x490bdd;if(_0x5a0196==null)return;const {skeleton:_0x50de97}=_0x5a0196,{scene:_0x78bc6a}=this[_0x4934cb(0x26b)];_0x78bc6a['onPointerMove$'][_0x4934cb(0x10a)](_0x29d1e0[_0x4934cb(0x14a)](_0x57662f=>{const _0x349d2b=_0x4934cb;var _0x8f37e9,_0x5b7457;const {offsetX:_0x51701c,offsetY:_0x43a9d3}=_0x57662f,{x:_0x1f949a,y:_0x55ebdf}=_0x78bc6a[_0x349d2b(0x1db)](_0x307230[_0x349d2b(0x33f)][_0x349d2b(0x2a7)]([_0x51701c,_0x43a9d3])),{scaleX:_0x32d30a,scaleY:_0x3ae495}=_0x78bc6a[_0x349d2b(0x2fc)](),_0x4775b5=_0x78bc6a[_0x349d2b(0x2ed)](_0x307230['SHEET_VIEWPORT_KEY'][_0x349d2b(0x340)]),_0x47e81d=_0x78bc6a[_0x349d2b(0x211)](_0x307230[_0x349d2b(0x33f)][_0x349d2b(0x2a7)]([_0x1f949a,_0x55ebdf]),_0x4775b5),_0x166424=_0x50de97[_0x349d2b(0x34d)](_0x51701c,_0x43a9d3,_0x32d30a,_0x3ae495,_0x47e81d);((_0x8f37e9=this[_0x349d2b(0x2c2)])==null?void 0x0:_0x8f37e9[_0x349d2b(0x225)])===_0x166424[_0x349d2b(0x225)]&&((_0x5b7457=this[_0x349d2b(0x2c2)])==null?void 0x0:_0x5b7457['row'])===_0x166424[_0x349d2b(0x17d)]||this[_0x349d2b(0x26e)][_0x349d2b(0x32a)](_0xf92cb3=>{const _0x2be94c=_0x349d2b;_0xf92cb3[_0x2be94c(0x370)](_0x166424);});},0x64));});}[_0xc5d3ec(0x2f6)](_0x4ba7ab,_0x4bba03){const _0x44ce9f=_0xc5d3ec;var _0xdfffe;const _0x145b81=(_0xdfffe=this[_0x44ce9f(0x1c5)][_0x44ce9f(0x263)]())==null?void 0x0:_0xdfffe['skeleton'];if(!_0x145b81)return;const _0x211176=this['_getSheetObject']();if(!_0x211176)return;this[_0x44ce9f(0x26e)]['forEach'](_0x13149c=>{const _0x11335e=_0x44ce9f;_0x13149c[_0x11335e(0x1e5)]();});const {scene:_0x480286}=_0x211176,_0x2eed4e=_0xcf263c(Array[_0x44ce9f(0x2e0)](_0x4bba03['values']()))[_0x44ce9f(0x2bf)](_0x5c98d2=>{const _0x3d41f5=_0x44ce9f,{color:_0xec1ea6,range:_0x2229c1,name:_0x28f135,selection:_0x1edf13,sheetID:_0x47df60}=_0x5c98d2,{startColumn:_0x91af52,startRow:_0x344300,endColumn:_0x1c0825,endRow:_0x75810b}=_0x2229c1,_0x2845fd=_0x4c12de[_0x3d41f5(0x1f5)](_0x344300,_0x91af52,_0x480286,_0x145b81),_0x312e83=_0x4c12de['getCoordByCell'](_0x75810b,_0x1c0825,_0x480286,_0x145b81),{columnHeaderHeightAndMarginTop:_0x287760}=_0x145b81,{startX:_0x2723a0,startY:_0xa4c3ae}=_0x2845fd,{endX:_0x5be617,endY:_0x393f2b}=_0x312e83,_0x477efa=_0x5be617-_0x2723a0,_0x3b92e1=_0x393f2b-_0xa4c3ae,_0x266bd4={'labelPosition':_0xa4c3ae-_0x287760>=_0x340ecf?_0x3d41f5(0x30f):_0x3d41f5(0x13b),'sheetID':_0x47df60,'range':_0x2229c1,'color':_0xec1ea6,'name':_0x28f135,'selection':_0x1edf13,'left':_0x2723a0,'top':_0xa4c3ae,'width':_0x477efa,'height':_0x3b92e1,'evented':!0x1,'zIndex':_0x40f706};return new _0x2c2826(_0x28f135,_0x266bd4);});_0x480286[_0x44ce9f(0xe8)](_0x2eed4e,_0x2d14d4),this['_cursors']=new Set(_0x2eed4e);}[_0xc5d3ec(0x34f)](){const _0x2cb412=_0xc5d3ec;var _0x4c19d1;(_0x4c19d1=this[_0x2cb412(0x26e)])==null||_0x4c19d1[_0x2cb412(0x32a)](_0x5a0540=>_0x5a0540['dispose']());}[_0xc5d3ec(0x2f5)](){const _0x148083=_0xc5d3ec;return _0x4c12de[_0x148083(0x168)](this[_0x148083(0x26b)]['unit'],this['_context']);}};_0x37084c=_0x34b1da([_0x34d06f(0x1,_0x29d1e0[_0xc5d3ec(0x12f)](_0x4c12de[_0xc5d3ec(0x17e)])),_0x34d06f(0x2,_0x29d1e0['Inject'](_0x11f9b5)),_0x34d06f(0x3,_0x29d1e0[_0xc5d3ec(0x12f)](_0x29d1e0[_0xc5d3ec(0x28c)]))],_0x37084c);function _0xcf263c(_0x33dcee){const _0x3aaa2d=_0xc5d3ec,_0x3d7f1e=new Map();return _0x33dcee['forEach'](_0x160ec2=>{const _0x208b9b=_0x54a6;if(_0x3d7f1e['has'](_0x160ec2[_0x208b9b(0x214)])){const _0x3d1f8c=_0x3d7f1e[_0x208b9b(0x121)](_0x160ec2[_0x208b9b(0x214)]);_0x3d1f8c[_0x208b9b(0xf3)]+=',\x20'+_0x160ec2[_0x208b9b(0xf3)];}else _0x3d7f1e[_0x208b9b(0x358)](_0x160ec2['selection'],_0x160ec2);}),Array[_0x3aaa2d(0x2e0)](_0x3d7f1e[_0x3aaa2d(0x182)]());}var _0x297376=function(){const _0x40d7a0=_0xc5d3ec;return _0x297376=Object[_0x40d7a0(0x2f8)]||function(_0x225c33){const _0x5b0162=_0x40d7a0;for(var _0x488d00,_0x5c6178=0x1,_0x59333d=arguments[_0x5b0162(0x1dc)];_0x5c6178<_0x59333d;_0x5c6178++){_0x488d00=arguments[_0x5c6178];for(var _0x3a5b51 in _0x488d00)Object[_0x5b0162(0x322)][_0x5b0162(0x2d8)][_0x5b0162(0x28b)](_0x488d00,_0x3a5b51)&&(_0x225c33[_0x3a5b51]=_0x488d00[_0x3a5b51]);}return _0x225c33;},_0x297376['apply'](this,arguments);},_0x403825=function(_0x458d56,_0x369ea4){const _0x40edcc=_0xc5d3ec;var _0x81ee06={};for(var _0x435c99 in _0x458d56)Object[_0x40edcc(0x322)][_0x40edcc(0x2d8)]['call'](_0x458d56,_0x435c99)&&_0x369ea4[_0x40edcc(0x256)](_0x435c99)<0x0&&(_0x81ee06[_0x435c99]=_0x458d56[_0x435c99]);if(_0x458d56!=null&&typeof Object[_0x40edcc(0x32d)]==_0x40edcc(0x2a4)){for(var _0x4bb622=0x0,_0x435c99=Object[_0x40edcc(0x32d)](_0x458d56);_0x4bb622<_0x435c99['length'];_0x4bb622++)_0x369ea4['indexOf'](_0x435c99[_0x4bb622])<0x0&&Object['prototype']['propertyIsEnumerable'][_0x40edcc(0x28b)](_0x458d56,_0x435c99[_0x4bb622])&&(_0x81ee06[_0x435c99[_0x4bb622]]=_0x458d56[_0x435c99[_0x4bb622]]);}return _0x81ee06;},_0x3d3abe=_0xe9cd6b[_0xc5d3ec(0xe7)](function(_0x5b5261,_0x570f04){const _0x5c7a6c=_0xc5d3ec;var _0x1e89f2=_0x5b5261['icon'],_0x1f3f50=_0x5b5261['id'],_0x3e2cc2=_0x5b5261[_0x5c7a6c(0x2a5)],_0x366cbd=_0x5b5261[_0x5c7a6c(0x1c2)],_0x3b2e59=_0x403825(_0x5b5261,[_0x5c7a6c(0x17f),'id','className','extend']),_0x290afd=_0x5c7a6c(0x2ec)[_0x5c7a6c(0x1b7)](_0x1f3f50,'\x20')['concat'](_0x3e2cc2||'')[_0x5c7a6c(0x118)](),_0x1c7569=_0xe9cd6b[_0x5c7a6c(0x12a)]('_'[_0x5c7a6c(0x1b7)](_0x16d745()));return _0x15ef3e(_0x1e89f2,''[_0x5c7a6c(0x1b7)](_0x1f3f50),{'defIds':_0x1e89f2['defIds'],'idSuffix':_0x1c7569[_0x5c7a6c(0x2e9)]},_0x297376({'ref':_0x570f04,'className':_0x290afd},_0x3b2e59),_0x366cbd);});function _0x15ef3e(_0x54807b,_0xedd15d,_0x34822c,_0x4a17e9,_0x36fb1c){const _0x29ba2c=_0xc5d3ec;return _0xe9cd6b['createElement'](_0x54807b[_0x29ba2c(0x347)],_0x297376(_0x297376({'key':_0xedd15d},_0x616013(_0x54807b,_0x34822c,_0x36fb1c)),_0x4a17e9),(_0x553bd1(_0x54807b,_0x34822c)[_0x29ba2c(0x213)]||[])[_0x29ba2c(0x2bf)](function(_0x3cd1df,_0x1f0e2e){const _0x1c4116=_0x29ba2c;return _0x15ef3e(_0x3cd1df,''['concat'](_0xedd15d,'-')['concat'](_0x54807b['tag'],'-')[_0x1c4116(0x1b7)](_0x1f0e2e),_0x34822c,void 0x0,_0x36fb1c);}));}function _0x616013(_0x47ad9e,_0x372aca,_0x5b5024){const _0x585ff2=_0xc5d3ec;var _0x2848bd=_0x297376({},_0x47ad9e[_0x585ff2(0x2ba)]);_0x5b5024!=null&&_0x5b5024[_0x585ff2(0x136)]&&_0x2848bd[_0x585ff2(0x164)]===_0x585ff2(0x136)&&(_0x2848bd['fill']=_0x5b5024[_0x585ff2(0x136)]),_0x47ad9e['tag']===_0x585ff2(0x150)&&_0x2848bd['id']&&(_0x2848bd['id']=_0x2848bd['id']+_0x372aca[_0x585ff2(0x367)]),Object[_0x585ff2(0x1fb)](_0x2848bd)[_0x585ff2(0x32a)](function(_0x19a3f5){const _0x4b648b=_0x585ff2;var _0x135a7d=_0x19a3f5[0x0],_0x1dfadf=_0x19a3f5[0x1];_0x135a7d==='mask'&&typeof _0x1dfadf==_0x4b648b(0x120)&&(_0x2848bd[_0x135a7d]=_0x1dfadf[_0x4b648b(0x1ca)](/url\(#(.*)\)/,_0x4b648b(0x327)['concat'](_0x372aca[_0x4b648b(0x367)],')')));});var _0x34ac7b=_0x372aca[_0x585ff2(0x30a)];return!_0x34ac7b||_0x34ac7b['length']===0x0||(_0x47ad9e[_0x585ff2(0x347)]===_0x585ff2(0x199)&&_0x2848bd[_0x585ff2(0x169)]&&(_0x2848bd['xlink:href']=_0x2848bd[_0x585ff2(0x169)]+_0x372aca[_0x585ff2(0x367)]),Object[_0x585ff2(0x1fb)](_0x2848bd)[_0x585ff2(0x32a)](function(_0x111e3e){const _0x28a3f5=_0x585ff2;var _0x5c10a9=_0x111e3e[0x0],_0x4b83c9=_0x111e3e[0x1];typeof _0x4b83c9==_0x28a3f5(0x120)&&(_0x2848bd[_0x5c10a9]=_0x4b83c9[_0x28a3f5(0x1ca)](/url\(#(.*)\)/,_0x28a3f5(0x327)['concat'](_0x372aca[_0x28a3f5(0x367)],')')));})),_0x2848bd;}function _0x553bd1(_0x2b82f5,_0x1947da){const _0x367158=_0xc5d3ec;var _0x58dbb7,_0x1367cf=_0x1947da[_0x367158(0x30a)];return!_0x1367cf||_0x1367cf[_0x367158(0x1dc)]===0x0?_0x2b82f5:_0x2b82f5[_0x367158(0x347)]===_0x367158(0x17a)&&(!((_0x58dbb7=_0x2b82f5[_0x367158(0x213)])===null||_0x58dbb7===void 0x0)&&_0x58dbb7[_0x367158(0x1dc)])?_0x297376(_0x297376({},_0x2b82f5),{'children':_0x2b82f5[_0x367158(0x213)][_0x367158(0x2bf)](function(_0x6c7339){const _0x390133=_0x367158;return typeof _0x6c7339[_0x390133(0x2ba)]['id']==_0x390133(0x120)&&_0x1367cf&&_0x1367cf[_0x390133(0x256)](_0x6c7339[_0x390133(0x2ba)]['id'])>-0x1?_0x297376(_0x297376({},_0x6c7339),{'attrs':_0x297376(_0x297376({},_0x6c7339[_0x390133(0x2ba)]),{'id':_0x6c7339[_0x390133(0x2ba)]['id']+_0x1947da['idSuffix']})}):_0x6c7339;})}):_0x2b82f5;}function _0x16d745(){const _0x27beaa=_0xc5d3ec;return Math['random']()[_0x27beaa(0x2aa)](0x24)['substring'](0x2,0x8);}_0x3d3abe[_0xc5d3ec(0x349)]=_0xc5d3ec(0x188);var _0x328079={'tag':_0xc5d3ec(0x1b0),'attrs':{'fill':'none','viewBox':_0xc5d3ec(0x1a0),'width':_0xc5d3ec(0x270),'height':_0xc5d3ec(0x270)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0xc5d3ec(0xfd),'attrs':{'stroke':_0xc5d3ec(0x141),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0xc5d3ec(0x315),'strokeLinejoin':_0xc5d3ec(0x315),'strokeWidth':1.2}}]},{'tag':_0xc5d3ec(0x17a),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0xc5d3ec(0x26a),'d':_0xc5d3ec(0x238)}}]}]}],'defIds':[_0xc5d3ec(0x180)]},_0x34989b=_0xe9cd6b[_0xc5d3ec(0xe7)](function(_0x4e2229,_0xc08d25){const _0x5751b3=_0xc5d3ec;return _0xe9cd6b[_0x5751b3(0x344)](_0x3d3abe,Object[_0x5751b3(0x2f8)]({},_0x4e2229,{'id':_0x5751b3(0x195),'ref':_0xc08d25,'icon':_0x328079}));});_0x34989b[_0xc5d3ec(0x349)]='OffLineSingle';var _0x3ed14f={'tag':_0xc5d3ec(0x1b0),'attrs':{'fill':_0xc5d3ec(0x29d),'viewBox':_0xc5d3ec(0x23d),'width':_0xc5d3ec(0x270),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0xc5d3ec(0x1bc)},'children':[{'tag':'path','attrs':{'stroke':_0xc5d3ec(0x141),'d':_0xc5d3ec(0x1aa),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0xc5d3ec(0x17a),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0xc5d3ec(0xfd),'attrs':{'fill':_0xc5d3ec(0x26a),'d':_0xc5d3ec(0x238),'transform':_0xc5d3ec(0x194)}}]}]}],'defIds':[_0xc5d3ec(0x2b5)]},_0x15c17a=_0xe9cd6b[_0xc5d3ec(0xe7)](function(_0x3defbc,_0x19850c){const _0x1a6219=_0xc5d3ec;return _0xe9cd6b[_0x1a6219(0x344)](_0x3d3abe,Object[_0x1a6219(0x2f8)]({},_0x3defbc,{'id':'on-line-single','ref':_0x19850c,'icon':_0x3ed14f}));});_0x15c17a[_0xc5d3ec(0x349)]='OnLineSingle';const _0x3fe63d={'onlineStatusIcon':_0xc5d3ec(0x272),'onlineStatusTitle':_0xc5d3ec(0xf5),'onlineStatus':_0xc5d3ec(0x317),'online':_0xc5d3ec(0x1f1),'offline':'univer-offline'};function _0x488708(_0x545824){const _0x5e9d9b=_0xc5d3ec;switch(_0x545824){case _0x76d6f6['CollaborationStatus']['OFFLINE']:return _0x5e9d9b(0x363);case _0x76d6f6[_0x5e9d9b(0x131)][_0x5e9d9b(0x181)]:return _0x5e9d9b(0x1e6);case _0x76d6f6[_0x5e9d9b(0x131)]['FETCH_MISS']:return _0x5e9d9b(0x262);case _0x76d6f6[_0x5e9d9b(0x131)][_0x5e9d9b(0x1f2)]:return _0x5e9d9b(0xf1);case _0x76d6f6['CollaborationStatus'][_0x5e9d9b(0x20e)]:case _0x76d6f6['CollaborationStatus']['AWAITING_WITH_PENDING']:return _0x5e9d9b(0x310);case _0x76d6f6[_0x5e9d9b(0x131)][_0x5e9d9b(0x1c8)]:case _0x76d6f6['CollaborationStatus'][_0x5e9d9b(0x30e)]:return'collabStatus.synced';}}function _0x2954f1(_0x9dffe6){const _0x4843ae=_0xc5d3ec,{status$:_0x584ee8}=_0x9dffe6,_0x323a60=_0x45753d['useObservable'](_0x584ee8,_0x76d6f6[_0x4843ae(0x131)]['NOT_COLLAB']),_0x37349b=_0x45753d[_0x4843ae(0x144)](_0x29d1e0['LocaleService']),_0x4d5e3b=_0x45753d[_0x4843ae(0x144)](_0x76d6f6[_0x4843ae(0x18c)]),_0x319aa8=_0x323a60!==_0x76d6f6['CollaborationStatus']['OFFLINE'],_0x4ec1e1=_0x37349b['t'](_0x488708(_0x323a60)),_0x489464=_0x96c3b0[_0x4843ae(0x248)](_0x3fe63d[_0x4843ae(0x239)],{[_0x3fe63d[_0x4843ae(0x116)]]:_0x319aa8,[_0x3fe63d[_0x4843ae(0x113)]]:!_0x319aa8}),_0x31db70=_0x319aa8?_0x18112e['jsx'](_0x15c17a,{}):_0x18112e[_0x4843ae(0xfc)](_0x34989b,{}),_0x93f71f=_0xe9cd6b[_0x4843ae(0x1b4)](()=>{const _0x1b3cf3=_0x4843ae;_0x319aa8||_0x4d5e3b[_0x1b3cf3(0x23f)]();},[_0x319aa8,_0x4d5e3b]);function _0x44636e(){const _0x32564e=_0x4843ae;return _0x18112e[_0x32564e(0x301)]('div',{'className':_0x96c3b0[_0x32564e(0x248)](_0x489464,_0x32564e(0x128)),'onClick':_0x93f71f,'children':[_0x18112e[_0x32564e(0xfc)](_0x32564e(0x11e),{'className':_0x3fe63d[_0x32564e(0x108)],'children':_0x31db70}),_0x18112e[_0x32564e(0xfc)](_0x32564e(0x11e),{'className':_0x3fe63d['onlineStatusTitle'],'children':_0x4ec1e1})]});}return _0x319aa8?_0x44636e():_0x18112e[_0x4843ae(0xfc)](_0x96c3b0['Tooltip'],{'title':_0x37349b['t']('collab-client.tooltip.reconnect'),'children':_0x44636e()});}var _0x3d6b48=Object['getOwnPropertyDescriptor'],_0x89e55=(_0x46c506,_0x41555c,_0x829caf,_0x5213da)=>{const _0x90f9b7=_0xc5d3ec;for(var _0x193582=_0x5213da>0x1?void 0x0:_0x5213da?_0x3d6b48(_0x41555c,_0x829caf):_0x41555c,_0x5e0be2=_0x46c506[_0x90f9b7(0x1dc)]-0x1,_0x41b90f;_0x5e0be2>=0x0;_0x5e0be2--)(_0x41b90f=_0x46c506[_0x5e0be2])&&(_0x193582=_0x41b90f(_0x193582)||_0x193582);return _0x193582;},_0x313bfa=(_0x47df3b,_0x1b5cd7)=>(_0x321e12,_0xe28e35)=>_0x1b5cd7(_0x321e12,_0xe28e35,_0x47df3b);_0x4ee90a[_0xc5d3ec(0x338)]=class extends _0x29d1e0[_0xc5d3ec(0x171)]{constructor(_0x3829ba,_0x5a421,_0x4bec85,_0x4738cf){const _0x7e4dbf=_0xc5d3ec;super(),_0x348160(this,_0x7e4dbf(0x2c1),new _0x5963ed[(_0x7e4dbf(0x15d))](_0x76d6f6[_0x7e4dbf(0x131)][_0x7e4dbf(0x1f2)])),(this['_univerInstanceService']=_0x3829ba,this['_injector']=_0x5a421,this[_0x7e4dbf(0x273)]=_0x4bec85,this[_0x7e4dbf(0x2cf)]=_0x4738cf,this[_0x7e4dbf(0x1b6)](),this[_0x7e4dbf(0x21a)]());}[_0xc5d3ec(0x21a)](){const _0x14b0cc=_0xc5d3ec;this[_0x14b0cc(0x139)](this[_0x14b0cc(0x156)][_0x14b0cc(0xf6)][_0x14b0cc(0x14b)](_0x5963ed[_0x14b0cc(0x268)](()=>{const _0x2b8477=_0x14b0cc,_0x24f536=this[_0x2b8477(0x156)]['getFocusedUnit']();return _0x24f536?this[_0x2b8477(0x273)][_0x2b8477(0x1ce)](_0x24f536[_0x2b8477(0x103)]()):_0x5963ed['of'](null);}),_0x5963ed[_0x14b0cc(0x268)](_0x4a87aa=>_0x4a87aa?_0x4a87aa[_0x14b0cc(0x2cc)]:_0x5963ed['of'](_0x76d6f6[_0x14b0cc(0x131)]['NOT_COLLAB'])))[_0x14b0cc(0x253)](_0x1804c2=>{const _0x5c8adc=_0x14b0cc;this[_0x5c8adc(0x2c1)][_0x5c8adc(0x316)](_0x1804c2);}));}['_initStatusComponent'](){const _0x12eaa1=_0xc5d3ec;this[_0x12eaa1(0x139)](this[_0x12eaa1(0x2cf)]['registerComponent'](_0x45753d['BuiltInUIPart']['HEADER_MENU'],()=>_0x45753d[_0x12eaa1(0x254)](_0x54d043({'status$':this['_status$'][_0x12eaa1(0x361)]()}),this[_0x12eaa1(0x1e4)])));}},_0x4ee90a[_0xc5d3ec(0x338)]=_0x89e55([_0x313bfa(0x0,_0x29d1e0['IUniverInstanceService']),_0x313bfa(0x1,_0x29d1e0[_0xc5d3ec(0x12f)](_0x29d1e0['Injector'])),_0x313bfa(0x2,_0x29d1e0[_0xc5d3ec(0x12f)](_0x76d6f6[_0xc5d3ec(0xff)])),_0x313bfa(0x3,_0x45753d[_0xc5d3ec(0x35e)])],_0x4ee90a['DesktopCollaborationStatusDisplayController']);function _0x54d043(_0x82392e){const {status$:_0x125e03}=_0x82392e;return function(){const _0x28a054=_0x54a6;return _0x18112e[_0x28a054(0xfc)](_0x2954f1,{'status$':_0x125e03});};}var _0x56074b=Object[_0xc5d3ec(0x34e)],_0x3a6c3e=(_0xf446ad,_0x3a8b5b,_0x51954c,_0x18df9c)=>{const _0x4d4e66=_0xc5d3ec;for(var _0x2e6624=_0x18df9c>0x1?void 0x0:_0x18df9c?_0x56074b(_0x3a8b5b,_0x51954c):_0x3a8b5b,_0xe48f65=_0xf446ad[_0x4d4e66(0x1dc)]-0x1,_0x4eda69;_0xe48f65>=0x0;_0xe48f65--)(_0x4eda69=_0xf446ad[_0xe48f65])&&(_0x2e6624=_0x4eda69(_0x2e6624)||_0x2e6624);return _0x2e6624;},_0x4aa1bf=(_0x19f1d7,_0x31ca1c)=>(_0x4ab81c,_0x38f6b6)=>_0x31ca1c(_0x4ab81c,_0x38f6b6,_0x19f1d7);let _0xb81beb=class extends _0x29d1e0['Disposable']{constructor(_0x5ae2a1,_0x207ff4,_0x46fb54,_0xa1e9a6,_0x128f9a,_0x495ffa){const _0x404e24=_0xc5d3ec;super(),this[_0x404e24(0x26c)]=_0x5ae2a1,this[_0x404e24(0x15f)]=_0x207ff4,this[_0x404e24(0x12d)]=_0x46fb54,this['_messageService']=_0xa1e9a6,this[_0x404e24(0x137)]=_0x128f9a,this[_0x404e24(0x160)]=_0x495ffa,this['_setupBeforeClosingHandler'](),this[_0x404e24(0x1bf)]();}[_0xc5d3ec(0x102)](){const _0x386297=_0xc5d3ec;this[_0x386297(0x139)](this[_0x386297(0x26c)][_0x386297(0x125)](()=>{const _0x31c2c5=_0x386297;if(this[_0x31c2c5(0x15f)][_0x31c2c5(0x10c)][_0x31c2c5(0x2da)])return this[_0x31c2c5(0x160)]['t']('collaboration-client.offline-data-not-saved');}));}[_0xc5d3ec(0x1bf)](){const _0x2441d6=_0xc5d3ec;this['disposeWithMe'](this[_0x2441d6(0x12d)][_0x2441d6(0x305)]['subscribe'](_0x4d905f=>{const _0x6317d4=_0x2441d6;_0x4d905f['id']===_0x76d6f6[_0x6317d4(0x1a9)]['OTHER_CLIENT_EDITING']&&this[_0x6317d4(0x295)][_0x6317d4(0x30c)]({'type':_0x96c3b0[_0x6317d4(0xf0)][_0x6317d4(0x2b3)],'content':this['_localeService']['t'](_0x6317d4(0x36e))}),_0x4d905f['id']===_0x76d6f6[_0x6317d4(0x1a9)]['CLOSE_ROOM']&&this[_0x6317d4(0x295)][_0x6317d4(0x30c)]({'type':_0x96c3b0[_0x6317d4(0xf0)]['Warning'],'content':this['_localeService']['t'](_0x6317d4(0x35f))}),_0x4d905f['id']===_0x76d6f6[_0x6317d4(0x1a9)][_0x6317d4(0x1c3)]&&this[_0x6317d4(0x137)][_0x6317d4(0x30c)]({'title':this[_0x6317d4(0x160)]['t'](_0x6317d4(0x1e0)),'content':this[_0x6317d4(0x160)]['t']('permission.content'),'type':'error','duration':0x0}),_0x4d905f['id']===_0x76d6f6[_0x6317d4(0x1a9)][_0x6317d4(0x181)]&&this[_0x6317d4(0x295)][_0x6317d4(0x30c)]({'type':_0x96c3b0[_0x6317d4(0xf0)][_0x6317d4(0x245)],'content':this[_0x6317d4(0x160)]['t'](_0x6317d4(0x35f))+'('+_0x4d905f[_0x6317d4(0x2f9)]+')'}),_0x4d905f['id']===_0x76d6f6[_0x6317d4(0x1a9)][_0x6317d4(0x10d)]&&this['_messageService'][_0x6317d4(0x30c)]({'type':_0x96c3b0['MessageType'][_0x6317d4(0x2b3)],'content':this['_localeService']['t'](_0x4d905f['data']||'')}),_0x4d905f['id']===_0x76d6f6[_0x6317d4(0x1a9)][_0x6317d4(0x179)]&&this[_0x6317d4(0x295)]['show']({'type':_0x96c3b0[_0x6317d4(0xf0)]['Warning'],'content':this['_localeService']['t'](_0x6317d4(0x2f4))}),_0x4d905f['id']===_0x76d6f6[_0x6317d4(0x1a9)][_0x6317d4(0x289)]&&this[_0x6317d4(0x295)][_0x6317d4(0x30c)]({'type':_0x96c3b0[_0x6317d4(0xf0)][_0x6317d4(0x245)],'content':this['_localeService']['t'](_0x6317d4(0x237))}),_0x4d905f['id']===_0x76d6f6[_0x6317d4(0x1a9)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x6317d4(0x295)][_0x6317d4(0x30c)]({'type':_0x96c3b0[_0x6317d4(0xf0)][_0x6317d4(0x245)],'content':this[_0x6317d4(0x160)]['t']('session.collaboration-timeout')});}));}};_0xb81beb=_0x3a6c3e([_0x4aa1bf(0x0,_0x45753d['IBeforeCloseService']),_0x4aa1bf(0x1,_0x76d6f6[_0xc5d3ec(0x158)]),_0x4aa1bf(0x2,_0x29d1e0[_0xc5d3ec(0x12f)](_0x76d6f6['CollaborationUIEventService'])),_0x4aa1bf(0x3,_0x45753d['IMessageService']),_0x4aa1bf(0x4,_0x45753d[_0xc5d3ec(0x250)]),_0x4aa1bf(0x5,_0x29d1e0[_0xc5d3ec(0x12f)](_0x29d1e0[_0xc5d3ec(0x124)]))],_0xb81beb);const _0x144f86='collaboration-client-ui.config',_0x56e888={},_0x118241=_0x29d1e0['createIdentifier'](_0xc5d3ec(0x2b7));var _0x1f87d9=Object['getOwnPropertyDescriptor'],_0xd660bd=(_0x260df7,_0x20e515,_0x19d5a2,_0x33a4a4)=>{const _0x7e8fd=_0xc5d3ec;for(var _0x2ab0f9=_0x33a4a4>0x1?void 0x0:_0x33a4a4?_0x1f87d9(_0x20e515,_0x19d5a2):_0x20e515,_0x5ed532=_0x260df7[_0x7e8fd(0x1dc)]-0x1,_0x22a673;_0x5ed532>=0x0;_0x5ed532--)(_0x22a673=_0x260df7[_0x5ed532])&&(_0x2ab0f9=_0x22a673(_0x2ab0f9)||_0x2ab0f9);return _0x2ab0f9;},_0x21203d=(_0x4798e1,_0x31ae42)=>(_0x16e69c,_0x5472d2)=>_0x31ae42(_0x16e69c,_0x5472d2,_0x4798e1);_0x4ee90a[_0xc5d3ec(0x134)]=class extends _0x29d1e0[_0xc5d3ec(0x2ef)]{constructor(_0x5c4949,_0x1b3e5f,_0x2c08be,_0x400639,_0xc66c7c){const _0x4fac57=_0xc5d3ec;super(),this[_0x4fac57(0x16a)]=_0x5c4949,this[_0x4fac57(0x142)]=_0x1b3e5f,this[_0x4fac57(0x153)]=_0x2c08be,this[_0x4fac57(0x21c)]=_0x400639,_0xc66c7c?_0xc66c7c==null||_0xc66c7c[_0x4fac57(0x25b)]()['then'](()=>this[_0x4fac57(0x20a)]()):(this[_0x4fac57(0x142)][_0x4fac57(0x1b1)](_0x4fac57(0x282),_0x4fac57(0x215)),this['_init']());}async['_init'](){const _0x3eff37=_0xc5d3ec,_0x449bcd=this[_0x3eff37(0x16a)][_0x3eff37(0x36b)]('unit'),_0xaa29c9=this[_0x3eff37(0x16a)]['getParam'](_0x3eff37(0x1e1)),_0x3d9354=this[_0x3eff37(0x16a)][_0x3eff37(0x36b)]('subunit');if(!_0x449bcd||!_0xaa29c9){this[_0x3eff37(0x142)][_0x3eff37(0x1b1)]('[CollaborationDataLoaderController]',_0x3eff37(0x2d3));return;}const _0x53855c=await this['_dataLoaderService'][_0x3eff37(0x325)](_0x449bcd,Number(_0xaa29c9),_0x3d9354);_0x53855c&&_0x53855c instanceof _0x29d1e0[_0x3eff37(0x19f)]&&this[_0x3eff37(0x20f)](_0x53855c);}async['_setupSubUnitSync'](_0x242bdf){const _0x8d9d0e=_0xc5d3ec;await this[_0x8d9d0e(0x267)](_0x242bdf),_0x242bdf[_0x8d9d0e(0x219)]['pipe'](_0x5963ed[_0x8d9d0e(0x2fe)](this[_0x8d9d0e(0x104)]))[_0x8d9d0e(0x253)](_0x4ab51a=>{const _0x20e70b=_0x8d9d0e;_0x4ab51a&&this[_0x20e70b(0x29e)](_0x4ab51a);}),this['_urlService'][_0x8d9d0e(0x323)][_0x8d9d0e(0x14b)](_0x5963ed[_0x8d9d0e(0x2fe)](this[_0x8d9d0e(0x104)]))['subscribe'](()=>this[_0x8d9d0e(0x267)](_0x242bdf));}[_0xc5d3ec(0x29e)](_0x3beab8,_0x1f2f31=!0x1){const _0x12f8ca=_0xc5d3ec,_0x145f65=this['_urlService'][_0x12f8ca(0x36b)](_0x12f8ca(0x33c));_0x3beab8[_0x12f8ca(0x203)]()!==_0x145f65&&this[_0x12f8ca(0x16a)]['setParam'](_0x12f8ca(0x33c),_0x3beab8[_0x12f8ca(0x203)](),_0x1f2f31);}async[_0xc5d3ec(0x267)](_0x291c20){const _0xbc6ffa=_0xc5d3ec;var _0x5b85bc;const _0x3f456c=this[_0xbc6ffa(0x16a)][_0xbc6ffa(0x36b)](_0xbc6ffa(0x33c));if(!_0x3f456c||!_0x291c20[_0xbc6ffa(0x12b)](_0x3f456c)){const _0x85d31f=_0x291c20[_0xbc6ffa(0x2bb)]()[0x0],_0x534418=_0x291c20[_0xbc6ffa(0x12b)](_0x85d31f);if(!_0x534418)return;this['_updateURLWithCurrentState'](_0x534418,!0x0),await this[_0xbc6ffa(0x153)][_0xbc6ffa(0x1cb)](_0x5dfffb[_0xbc6ffa(0x1e3)]['id'],{'unitId':_0x291c20[_0xbc6ffa(0x103)](),'subUnitId':_0x85d31f});return;}((_0x5b85bc=_0x291c20[_0xbc6ffa(0x29a)]())==null?void 0x0:_0x5b85bc[_0xbc6ffa(0x203)]())!==_0x3f456c&&await this[_0xbc6ffa(0x153)][_0xbc6ffa(0x1cb)](_0x5dfffb[_0xbc6ffa(0x1e3)]['id'],{'unitId':_0x291c20[_0xbc6ffa(0x103)](),'subUnitId':_0x3f456c});}},_0x4ee90a[_0xc5d3ec(0x134)]=_0xd660bd([_0x21203d(0x0,_0x118241),_0x21203d(0x1,_0x29d1e0[_0xc5d3ec(0x1cd)]),_0x21203d(0x2,_0x29d1e0['ICommandService']),_0x21203d(0x3,_0x29d1e0['Inject'](_0x76d6f6['DataLoaderService'])),_0x21203d(0x4,_0x29d1e0[_0xc5d3ec(0x229)](_0x2a3b43[_0xc5d3ec(0x17b)]))],_0x4ee90a[_0xc5d3ec(0x134)]);var _0x45df19=Object['getOwnPropertyDescriptor'],_0x57dd3f=(_0x186ac2,_0x5a6cc2,_0x259f49,_0x30c16b)=>{const _0x54ba7f=_0xc5d3ec;for(var _0x165cfe=_0x30c16b>0x1?void 0x0:_0x30c16b?_0x45df19(_0x5a6cc2,_0x259f49):_0x5a6cc2,_0x2e1b99=_0x186ac2[_0x54ba7f(0x1dc)]-0x1,_0x1b700b;_0x2e1b99>=0x0;_0x2e1b99--)(_0x1b700b=_0x186ac2[_0x2e1b99])&&(_0x165cfe=_0x1b700b(_0x165cfe)||_0x165cfe);return _0x165cfe;},_0x16a07e=(_0x46550d,_0x423b30)=>(_0x453f93,_0xd9ca4e)=>_0x423b30(_0x453f93,_0xd9ca4e,_0x46550d);let _0x83738=class{constructor(_0x42130f,_0x11d157,_0x421f7f){const _0x501ee4=_0xc5d3ec;this[_0x501ee4(0x1e4)]=_0x42130f,this[_0x501ee4(0x32f)]=_0x11d157,this[_0x501ee4(0x220)]=_0x421f7f;}[_0xc5d3ec(0x281)](_0x5f09d5){const _0x409b2f=_0xc5d3ec;this['_transformUndoRedoStack'](_0x5f09d5),this[_0x409b2f(0x1d7)](_0x5f09d5);}[_0xc5d3ec(0x330)](_0x14188e){const _0x498450=_0xc5d3ec,{unitID:_0x40701d}=_0x14188e,_0x4bd582=this[_0x498450(0x220)]['getRenderById'](_0x40701d)['with'](_0x5ceb2c['DocIMEInputManagerService']),{redoCache:_0x310922}=_0x4bd582[_0x498450(0x265)]();if(_0x310922['length']===0x0)return _0x14188e;let _0x4f739b=_0x29d1e0[_0x498450(0x360)][_0x498450(0x226)](_0x14188e[_0x498450(0x149)][0x0]);for(let _0x569a7a=0x0;_0x569a7a<_0x310922[_0x498450(0x1dc)];_0x569a7a++){const _0x5d145e={'id':_0x498450(0x33b),'params':{..._0x310922[_0x569a7a]}},_0x4ea143=this[_0x498450(0x32f)][_0x498450(0x174)](_0x4f739b,_0x5d145e,!0x1);if(_0x31892d['isTransformMutationFailure'](_0x4ea143))throw _0x4ea143[_0x498450(0x145)];_0x4f739b=_0x4ea143[_0x498450(0x1d4)];}return{..._0x29d1e0['Tools'][_0x498450(0x226)](_0x14188e),'mutations':[_0x4f739b]};}[_0xc5d3ec(0x32b)](_0x5376de){const _0x21fe97=_0xc5d3ec,{unitID:_0x4d9ce5}=_0x5376de,_0x313cba=this['_renderManagerService'][_0x21fe97(0x276)](_0x4d9ce5)[_0x21fe97(0x2e7)](_0x5ceb2c[_0x21fe97(0x334)]),{undoCache:_0x58bc73,redoCache:_0x5d056b}=_0x313cba['getUndoRedoMutationParamsCache']();if(_0x58bc73[_0x21fe97(0x1dc)]===0x0||_0x5d056b[_0x21fe97(0x1dc)]===0x0)return;const _0x4ffb13=[],_0x543d98=[];let _0x3c1a9c=_0x29d1e0[_0x21fe97(0x360)][_0x21fe97(0x226)](_0x5376de['mutations'][0x0]),_0x42ab58=_0x29d1e0['Tools'][_0x21fe97(0x226)](_0x5376de[_0x21fe97(0x149)][0x0]);for(let _0x4c035f=_0x58bc73['length']-0x1;_0x4c035f>=0x0;_0x4c035f--){const _0x2f152c={'id':_0x21fe97(0x33b),'params':{..._0x58bc73[_0x4c035f]}},_0x430ecc={'id':_0x21fe97(0x33b),'params':{..._0x5d056b[_0x4c035f]}},_0x546cfd=this[_0x21fe97(0x32f)][_0x21fe97(0x174)](_0x3c1a9c,_0x2f152c,!0x1),_0xa7a8da=this[_0x21fe97(0x32f)][_0x21fe97(0x174)](_0x42ab58,_0x430ecc,!0x1);if(_0x31892d['isTransformMutationFailure'](_0x546cfd))throw _0x546cfd[_0x21fe97(0x145)];if(_0x31892d[_0x21fe97(0x1cc)](_0xa7a8da))throw _0xa7a8da['error'];_0x4ffb13['unshift'](_0x546cfd['m2Prime']['params']),_0x543d98[_0x21fe97(0x306)](_0xa7a8da['m2Prime'][_0x21fe97(0x2ca)]),_0x3c1a9c=_0x546cfd[_0x21fe97(0x1d4)],_0x42ab58=_0xa7a8da['m1Prime'];}_0x313cba[_0x21fe97(0x18e)]({'undoCache':_0x4ffb13,'redoCache':_0x543d98});}[_0xc5d3ec(0x1d7)](_0x22b27d){const _0x115e44=_0xc5d3ec,{unitID:_0x2deac6}=_0x22b27d,_0x3187fc=this['_renderManagerService'][_0x115e44(0x276)](_0x2deac6)[_0x115e44(0x2e7)](_0x5ceb2c[_0x115e44(0x334)]),_0x5e4e04=_0x3187fc[_0x115e44(0x140)]();if(_0x5e4e04==null)return;const _0x17ef03=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x22b27d[_0x115e44(0x1f7)],'actions':null,'textRanges':[_0x5e4e04]}}],_0x358c72=this[_0x115e44(0x32f)][_0x115e44(0x1fd)](_0x22b27d,_0x17ef03);if(!_0x31892d[_0x115e44(0x117)](_0x358c72))throw _0x358c72[_0x115e44(0x145)];const _0x263725=_0x358c72['m2Prime'][0x0][_0x115e44(0x2ca)][_0x115e44(0x1e7)];Array[_0x115e44(0x218)](_0x263725)&&_0x263725[_0x115e44(0x1dc)]&&_0x3187fc['setActiveRange'](_0x263725[0x0]);}};_0x83738=_0x57dd3f([_0x16a07e(0x0,_0x29d1e0[_0xc5d3ec(0x12f)](_0x29d1e0['Injector'])),_0x16a07e(0x1,_0x31892d[_0xc5d3ec(0x16e)]),_0x16a07e(0x2,_0x307230[_0xc5d3ec(0x2f2)])],_0x83738);var _0x13f03a=Object[_0xc5d3ec(0x34e)],_0x1c485f=(_0x2eba5f,_0x4dc859,_0x4ca898,_0x2e208e)=>{const _0x210ef6=_0xc5d3ec;for(var _0x2851c3=_0x2e208e>0x1?void 0x0:_0x2e208e?_0x13f03a(_0x4dc859,_0x4ca898):_0x4dc859,_0x331199=_0x2eba5f[_0x210ef6(0x1dc)]-0x1,_0x219b11;_0x331199>=0x0;_0x331199--)(_0x219b11=_0x2eba5f[_0x331199])&&(_0x2851c3=_0x219b11(_0x2851c3)||_0x2851c3);return _0x2851c3;},_0x4c2d0b=(_0x10b16d,_0x23cdb0)=>(_0x48136c,_0x2b36f0)=>_0x23cdb0(_0x48136c,_0x2b36f0,_0x10b16d);let _0x17a470=class{constructor(_0x322b4e,_0xfc21c3,_0x559838){const _0x1231eb=_0xc5d3ec;this[_0x1231eb(0x1e4)]=_0x322b4e,this[_0x1231eb(0x32f)]=_0xfc21c3,this[_0x1231eb(0x333)]=_0x559838;}[_0xc5d3ec(0x1e9)](_0x206373){const _0x19d54f=_0xc5d3ec;this[_0x19d54f(0x337)](_0x206373);}[_0xc5d3ec(0x330)](_0x2030eb){const _0x255f00=_0xc5d3ec,{unitID:_0x18989c}=_0x2030eb,{collaboration:_0x4a038d}=this[_0x255f00(0x333)][_0x255f00(0x318)](_0x18989c);if(_0x4a038d[_0x255f00(0x1dc)]===0x0)return _0x2030eb;let _0x3a4d5a=_0x29d1e0[_0x255f00(0x360)][_0x255f00(0x226)](_0x2030eb[_0x255f00(0x149)][0x0]);for(let _0x2f246b=0x0;_0x2f246b<_0x4a038d[_0x255f00(0x1dc)];_0x2f246b++){const _0x2f2cfa={'id':_0x255f00(0x33b),'params':{'unitId':_0x4a038d[_0x2f246b][_0x255f00(0x302)],..._0x4a038d[_0x2f246b][_0x255f00(0x283)]}},_0x2087b0=this[_0x255f00(0x32f)][_0x255f00(0x174)](_0x3a4d5a,_0x2f2cfa,!0x1);if(_0x31892d[_0x255f00(0x1cc)](_0x2087b0))throw _0x2087b0[_0x255f00(0x145)];_0x3a4d5a=_0x2087b0[_0x255f00(0x1d4)];}return{..._0x29d1e0[_0x255f00(0x360)][_0x255f00(0x226)](_0x2030eb),'mutations':[_0x3a4d5a]};}[_0xc5d3ec(0x337)](_0x1d5d6d){const _0x1652df=_0xc5d3ec,{unitID:_0x5d787f}=_0x1d5d6d,{history:_0x19116d,collaboration:_0x26f6b4}=this[_0x1652df(0x333)][_0x1652df(0x318)](_0x5d787f);if(_0x19116d[_0x1652df(0x1dc)]===0x0&&_0x26f6b4['length']===0x0)return;const _0x5f3834=[],_0x346d97=[];let _0x565916=_0x29d1e0['Tools']['deepClone'](_0x1d5d6d[_0x1652df(0x149)][0x0]),_0x4acd37=_0x29d1e0['Tools']['deepClone'](_0x1d5d6d[_0x1652df(0x149)][0x0]);for(let _0x2531e1=_0x19116d['length']-0x1;_0x2531e1>=0x0;_0x2531e1--){const _0x115cfb={'id':_0x1652df(0x33b),'params':{'unitId':_0x19116d[_0x2531e1][_0x1652df(0x302)],..._0x19116d[_0x2531e1][_0x1652df(0x297)]}},_0xd54a73={'id':_0x1652df(0x33b),'params':{'unitId':_0x19116d[_0x2531e1][_0x1652df(0x302)],..._0x19116d[_0x2531e1][_0x1652df(0x283)]}},_0x8e72f4=this[_0x1652df(0x32f)]['transformMutation'](_0x565916,_0x115cfb,!0x1),_0x5dcb61=this[_0x1652df(0x32f)]['transformMutation'](_0x4acd37,_0xd54a73,!0x1);if(_0x31892d[_0x1652df(0x1cc)](_0x8e72f4))throw _0x8e72f4[_0x1652df(0x145)];if(_0x31892d[_0x1652df(0x1cc)](_0x5dcb61))throw _0x5dcb61[_0x1652df(0x145)];_0x5f3834['unshift']({..._0x19116d[_0x2531e1],'undoState':_0x8e72f4['m2Prime']['params'],'redoState':_0x5dcb61[_0x1652df(0x2ab)]['params']}),_0x565916=_0x8e72f4['m1Prime'],_0x4acd37=_0x5dcb61[_0x1652df(0x1d4)];}_0x565916=_0x29d1e0[_0x1652df(0x360)]['deepClone'](_0x1d5d6d[_0x1652df(0x149)][0x0]),_0x4acd37=_0x29d1e0[_0x1652df(0x360)]['deepClone'](_0x1d5d6d[_0x1652df(0x149)][0x0]);for(let _0x365eec=_0x26f6b4[_0x1652df(0x1dc)]-0x1;_0x365eec>=0x0;_0x365eec--){const _0x2dd0e4={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x26f6b4[_0x365eec][_0x1652df(0x302)],..._0x26f6b4[_0x365eec][_0x1652df(0x297)]}},_0x5e2700={'id':_0x1652df(0x33b),'params':{'unitId':_0x26f6b4[_0x365eec][_0x1652df(0x302)],..._0x26f6b4[_0x365eec][_0x1652df(0x283)]}},_0x5671f3=this[_0x1652df(0x32f)][_0x1652df(0x174)](_0x565916,_0x2dd0e4,!0x1),_0x1cc41a=this[_0x1652df(0x32f)][_0x1652df(0x174)](_0x4acd37,_0x5e2700,!0x1);if(_0x31892d[_0x1652df(0x1cc)](_0x5671f3))throw _0x5671f3['error'];if(_0x31892d['isTransformMutationFailure'](_0x1cc41a))throw _0x1cc41a[_0x1652df(0x145)];_0x346d97['unshift']({..._0x26f6b4[_0x365eec],'undoState':_0x5671f3[_0x1652df(0x2ab)][_0x1652df(0x2ca)],'redoState':_0x1cc41a['m2Prime']['params']}),_0x565916=_0x5671f3[_0x1652df(0x1d4)],_0x4acd37=_0x1cc41a[_0x1652df(0x1d4)];}this[_0x1652df(0x333)][_0x1652df(0x1a3)](_0x5d787f,{'history':_0x5f3834,'collaboration':_0x346d97});}};_0x17a470=_0x1c485f([_0x4c2d0b(0x0,_0x29d1e0[_0xc5d3ec(0x12f)](_0x29d1e0['Injector'])),_0x4c2d0b(0x1,_0x31892d['ITransformService']),_0x4c2d0b(0x2,_0x29d1e0[_0xc5d3ec(0x12f)](_0x5ceb2c[_0xc5d3ec(0x368)]))],_0x17a470);var _0x2d0105=Object[_0xc5d3ec(0x34e)],_0x17a2b0=(_0x2e90fb,_0x2f44f8,_0x4bbfa1,_0x3733fa)=>{const _0x5a1a7f=_0xc5d3ec;for(var _0x28c7d7=_0x3733fa>0x1?void 0x0:_0x3733fa?_0x2d0105(_0x2f44f8,_0x4bbfa1):_0x2f44f8,_0x32237d=_0x2e90fb[_0x5a1a7f(0x1dc)]-0x1,_0x3335da;_0x32237d>=0x0;_0x32237d--)(_0x3335da=_0x2e90fb[_0x32237d])&&(_0x28c7d7=_0x3335da(_0x28c7d7)||_0x28c7d7);return _0x28c7d7;},_0x23a794=(_0x1d62dd,_0x3735e1)=>(_0x4f8694,_0x238dc7)=>_0x3735e1(_0x4f8694,_0x238dc7,_0x1d62dd);let _0xb72224=class{constructor(_0x4e83f2,_0x274669){const _0x3141a5=_0xc5d3ec;this['_injector']=_0x4e83f2,this[_0x3141a5(0x32f)]=_0x274669;}[_0xc5d3ec(0x1ac)](_0x526ddf){const _0x4bfc87=_0xc5d3ec;var _0x71b76f;const _0x1e2af0=this[_0x4bfc87(0x1e4)][_0x4bfc87(0x121)](_0x4daa1c[_0x4bfc87(0x1ee)]),_0x53347d=(_0x71b76f=_0x1e2af0[_0x4bfc87(0x27d)]())!=null?_0x71b76f:[];if(_0x53347d['length']===0x0)return;const _0x3b2fdc=_0x526ddf[_0x4bfc87(0x1f7)],_0x5fcb81=[{'id':_0x4bfc87(0x33b),'params':{'unitId':_0x3b2fdc,'actions':null,'textRanges':_0x53347d}}],_0xb776c6=this['_transformService'][_0x4bfc87(0x1fd)](_0x526ddf,_0x5fcb81);if(!_0x31892d[_0x4bfc87(0x117)](_0xb776c6))throw _0xb776c6[_0x4bfc87(0x145)];const _0xefcb8c=_0xb776c6['m2Prime'][0x0][_0x4bfc87(0x2ca)][_0x4bfc87(0x1e7)];Array[_0x4bfc87(0x218)](_0xefcb8c)&&_0xefcb8c[_0x4bfc87(0x1dc)]&&_0x1e2af0['replaceDocRanges'](_0xefcb8c,{'unitId':_0x3b2fdc,'subUnitId':_0x3b2fdc},!0x1);}};_0xb72224=_0x17a2b0([_0x23a794(0x0,_0x29d1e0['Inject'](_0x29d1e0[_0xc5d3ec(0x335)])),_0x23a794(0x1,_0x31892d[_0xc5d3ec(0x16e)])],_0xb72224);var _0x22d8cd=Object[_0xc5d3ec(0x34e)],_0x3d29b2=(_0x57d437,_0x50f7da,_0x29610b,_0x1e7adb)=>{const _0x3365fc=_0xc5d3ec;for(var _0xd4a345=_0x1e7adb>0x1?void 0x0:_0x1e7adb?_0x22d8cd(_0x50f7da,_0x29610b):_0x50f7da,_0x463ce0=_0x57d437[_0x3365fc(0x1dc)]-0x1,_0x562d96;_0x463ce0>=0x0;_0x463ce0--)(_0x562d96=_0x57d437[_0x463ce0])&&(_0xd4a345=_0x562d96(_0xd4a345)||_0xd4a345);return _0xd4a345;},_0x1ca9bc=(_0x7f62cc,_0x4f9f34)=>(_0xe7c71,_0x2b8df1)=>_0x4f9f34(_0xe7c71,_0x2b8df1,_0x7f62cc);let _0x53c05a=class extends _0x29d1e0[_0xc5d3ec(0x171)]{constructor(_0x2b3967,_0x9d3a81,_0x1d9974,_0x415a64,_0x2c30e3,_0x46c59e,_0x54292b,_0x30df89){const _0x3abb31=_0xc5d3ec;super(),_0x348160(this,_0x3abb31(0x2c1),new _0x5963ed[(_0x3abb31(0x15d))](_0x76d6f6[_0x3abb31(0x131)][_0x3abb31(0x1f2)])),(this[_0x3abb31(0x333)]=_0x2b3967,this[_0x3abb31(0x273)]=_0x9d3a81,this[_0x3abb31(0x2bc)]=_0x1d9974,this['_docTransformStateCacheService']=_0x415a64,this[_0x3abb31(0x2d6)]=_0x2c30e3,this[_0x3abb31(0x2cb)]=_0x46c59e,this[_0x3abb31(0x295)]=_0x54292b,this[_0x3abb31(0x160)]=_0x30df89,this[_0x3abb31(0x2cd)]());}[_0xc5d3ec(0x2cd)](){const _0x5c0a34=_0xc5d3ec;this['disposeWithMe'](this[_0x5c0a34(0x273)]['entityInit$'][_0x5c0a34(0x253)](_0x24fa8b=>{const _0x3dc120=_0x5c0a34,_0x54429f=this[_0x3dc120(0x333)][_0x3dc120(0x24a)]['subscribe'](_0x4a28bf=>{const _0x2db369=_0x3dc120;if(_0x4a28bf==null)return;const {unitId:_0x5b6ae7,redoState:_0x459dd2,commandId:_0x2cdc71}=_0x4a28bf;if(_0x5b6ae7!==_0x24fa8b['unitID'])return;const _0x29afc1={'id':_0x2cdc71,'type':_0x29d1e0[_0x2db369(0x1be)]['MUTATION'],'params':{'unitId':_0x5b6ae7,'actions':_0x459dd2['actions'],'textRanges':null}};_0x24fa8b['onLocalMutation'](_0x29afc1);});if(_0x24fa8b[_0x3dc120(0x139)](_0x54429f),_0x24fa8b instanceof _0x76d6f6[_0x3dc120(0x12c)]){const _0x45b201={'onTransformIME':_0x2269a2=>this[_0x3dc120(0x2bc)][_0x3dc120(0x281)](_0x2269a2),'onTransformState':_0x52647c=>this[_0x3dc120(0x1eb)]['transformStateCache'](_0x52647c),'onTransformSelections':_0x2cf6d2=>this[_0x3dc120(0x2d6)][_0x3dc120(0x1ac)](_0x2cf6d2),'onSyncEditingCollabCursor':_0x50c1bd=>this[_0x3dc120(0x2cb)][_0x3dc120(0x18b)](_0x50c1bd),'onTransformRemoteChangesetByIMECache':_0xdac633=>this[_0x3dc120(0x2bc)]['transformRemoteChangeset'](_0xdac633),'onTransformRemoteChangesetByStateCache':_0x3e86e1=>this[_0x3dc120(0x1eb)][_0x3dc120(0x330)](_0x3e86e1)};_0x24fa8b['addHandlerCallback'](_0x45b201);}}));}};_0x53c05a=_0x3d29b2([_0x1ca9bc(0x0,_0x29d1e0[_0xc5d3ec(0x12f)](_0x5ceb2c[_0xc5d3ec(0x368)])),_0x1ca9bc(0x1,_0x29d1e0[_0xc5d3ec(0x12f)](_0x76d6f6[_0xc5d3ec(0xff)])),_0x1ca9bc(0x2,_0x29d1e0[_0xc5d3ec(0x12f)](_0x83738)),_0x1ca9bc(0x3,_0x29d1e0[_0xc5d3ec(0x12f)](_0x17a470)),_0x1ca9bc(0x4,_0x29d1e0[_0xc5d3ec(0x12f)](_0xb72224)),_0x1ca9bc(0x5,_0x29d1e0[_0xc5d3ec(0x12f)](_0xa26c)),_0x1ca9bc(0x6,_0x45753d[_0xc5d3ec(0x280)]),_0x1ca9bc(0x7,_0x29d1e0[_0xc5d3ec(0x12f)](_0x29d1e0[_0xc5d3ec(0x124)]))],_0x53c05a);var _0x387d6c=Object[_0xc5d3ec(0x34e)],_0x1f5e11=(_0x2d8c80,_0x35299a,_0x4e1dd5,_0x3acaac)=>{for(var _0x42ed3d=_0x3acaac>0x1?void 0x0:_0x3acaac?_0x387d6c(_0x35299a,_0x4e1dd5):_0x35299a,_0x2c887a=_0x2d8c80['length']-0x1,_0x120518;_0x2c887a>=0x0;_0x2c887a--)(_0x120518=_0x2d8c80[_0x2c887a])&&(_0x42ed3d=_0x120518(_0x42ed3d)||_0x42ed3d);return _0x42ed3d;},_0x23a250=(_0xe40651,_0x3bf06d)=>(_0x2b6b3b,_0x11bd33)=>_0x3bf06d(_0x2b6b3b,_0x11bd33,_0xe40651);let _0x1f113d=class extends _0x29d1e0['Disposable']{constructor(_0x1d0eb0,_0x1516db,_0x5bece3){const _0x14d67b=_0xc5d3ec;super(),_0x348160(this,_0x14d67b(0x28e),new Map()),_0x348160(this,'_saveTaskMap',new Map()),_0x348160(this,_0x14d67b(0x210),!0x1),(this[_0x14d67b(0x11f)]=_0x1d0eb0,this['_localStorageService']=_0x1516db,this[_0x14d67b(0x241)]=_0x5bece3);}[_0xc5d3ec(0x23b)](){this['_disabled']=!0x0;}[_0xc5d3ec(0x2e2)](){const _0x2a912f=_0xc5d3ec;this[_0x2a912f(0x210)]=!0x1;}get[_0xc5d3ec(0x10c)](){return this['_saveTaskMap'];}['dispose'](){const _0x48e8f8=_0xc5d3ec;this[_0x48e8f8(0x1f3)]()[_0x48e8f8(0x17c)](()=>super[_0x48e8f8(0x261)]());}async['loadOfflineData'](_0x3beab5){const _0x9edf1=_0xc5d3ec;return this['_disabled']?null:this[_0x9edf1(0x2c6)]['getItem'](_0x76d6f6[_0x9edf1(0x2be)](_0x3beab5));}async['saveOfflineData'](_0x2d7a56,_0x6c9aa){const _0x55d587=_0xc5d3ec;return!!this[_0x55d587(0x2c6)][_0x55d587(0x2ad)](_0x2d7a56,_0x6c9aa);}[_0xc5d3ec(0x2f1)](_0x2ad73d,_0x58047a,_0x1fe21c,_0x133dfe){const _0x2cb0c7=_0xc5d3ec,_0x24ca73=this[_0x2cb0c7(0x241)][_0x2cb0c7(0x259)](_0x2ad73d);this[_0x2cb0c7(0x28e)][_0x2cb0c7(0x358)](_0x2ad73d,{'unitID':_0x2ad73d,'type':_0x58047a,'awaitingChangeset':_0x1fe21c,'mutations':_0x133dfe,'rev':_0x24ca73}),this[_0x2cb0c7(0x19d)][_0x2cb0c7(0x201)](_0x2ad73d)||this[_0x2cb0c7(0x152)](_0x2ad73d);}[_0xc5d3ec(0x152)](_0x34a951){const _0x31c9c3=_0xc5d3ec,_0x50e162=this[_0x31c9c3(0x236)]();_0x50e162===0x0?this[_0x31c9c3(0x22d)](_0x34a951):this[_0x31c9c3(0x19d)][_0x31c9c3(0x358)](_0x34a951,setTimeout(()=>this[_0x31c9c3(0x22d)](_0x34a951),_0x50e162));}[_0xc5d3ec(0x236)](){const _0x220549=_0xc5d3ec;var _0x272aa1;return(_0x272aa1=this[_0x220549(0x11f)][_0x220549(0x173)](_0x76d6f6[_0x220549(0x2d9)]))!=null?_0x272aa1:_0x76d6f6[_0x220549(0x2f3)];}[_0xc5d3ec(0x22d)](_0xcb4924){const _0x572db1=_0xc5d3ec,_0x2eeb42=this[_0x572db1(0x19d)][_0x572db1(0x121)](_0xcb4924);return _0x2eeb42!==void 0x0&&window[_0x572db1(0x35d)](_0x2eeb42),this[_0x572db1(0x2c6)][_0x572db1(0x2ad)](_0x76d6f6[_0x572db1(0x2be)](_0xcb4924),this[_0x572db1(0x28e)][_0x572db1(0x121)](_0xcb4924))[_0x572db1(0x17c)](()=>this[_0x572db1(0x19d)][_0x572db1(0x22e)](_0xcb4924));}async[_0xc5d3ec(0x1f3)](){const _0x22e0fa=_0xc5d3ec,_0x1fe465=[];this[_0x22e0fa(0x19d)][_0x22e0fa(0x32a)]((_0x3a697a,_0x1a9b47)=>{const _0x15f7db=_0x22e0fa;window['clearTimeout'](_0x3a697a),_0x1fe465[_0x15f7db(0x1c1)](this[_0x15f7db(0x22d)](_0x1a9b47)[_0x15f7db(0x17c)](()=>{const _0x587f1e=_0x15f7db;this['_saveTaskMap'][_0x587f1e(0x22e)](_0x1a9b47);}));}),await Promise[_0x22e0fa(0x2c5)](_0x1fe465);}};_0x1f113d=_0x1f5e11([_0x23a250(0x0,_0x29d1e0[_0xc5d3ec(0x2ea)]),_0x23a250(0x1,_0x29d1e0[_0xc5d3ec(0x24e)]),_0x23a250(0x2,_0x29d1e0[_0xc5d3ec(0x12f)](_0x31892d['RevisionService']))],_0x1f113d);class _0x3a7539 extends _0x29d1e0['RxDisposable']{constructor(){const _0x5e54f0=_0xc5d3ec;super(),_0x348160(this,_0x5e54f0(0x323)),this['urlChange$']=_0x5963ed[_0x5e54f0(0x365)](window,'popstate')[_0x5e54f0(0x14b)](_0x5963ed['takeUntil'](this['dispose$']),_0x5963ed['shareReplay'](0x1),_0x5963ed['mapTo'](void 0x0));}[_0xc5d3ec(0x1bd)](_0x3df69d,_0x26cd83,_0x3db6f7=!0x1){const _0x3af348=_0xc5d3ec,_0x43c5c4=new URL(window[_0x3af348(0x2dc)][_0x3af348(0xe9)]);_0x43c5c4['searchParams'][_0x3af348(0x358)](_0x3df69d,_0x26cd83),_0x3db6f7?window[_0x3af348(0x33e)]['replaceState']('','',_0x43c5c4[_0x3af348(0x2aa)]()):window[_0x3af348(0x33e)][_0x3af348(0x1c7)]('','',_0x43c5c4['toString']());}['removeParam'](_0x5f1a72,_0x2e4968=!0x1){const _0xf0af9b=_0xc5d3ec,_0x56e4f3=new URL(window[_0xf0af9b(0x2dc)]['href']);_0x56e4f3[_0xf0af9b(0x255)][_0xf0af9b(0x22e)](_0x5f1a72),_0x2e4968?window[_0xf0af9b(0x33e)][_0xf0af9b(0x20b)]('','',_0x56e4f3[_0xf0af9b(0x2aa)]()):window['history']['pushState']('','',_0x56e4f3['toString']());}['getParam'](_0xac6b90){const _0x3c7cf8=_0xc5d3ec;var _0x5d6e4d;return(_0x5d6e4d=new URL(window[_0x3c7cf8(0x2dc)][_0x3c7cf8(0xe9)])[_0x3c7cf8(0x255)][_0x3c7cf8(0x121)](_0xac6b90))!=null?_0x5d6e4d:void 0x0;}}var _0x221438=Object[_0xc5d3ec(0x105)],_0x3d58d4=Object['getOwnPropertyDescriptor'],_0x4aace8=(_0x4f406e,_0x491f9c,_0x31b04d)=>_0x491f9c in _0x4f406e?_0x221438(_0x4f406e,_0x491f9c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x31b04d}):_0x4f406e[_0x491f9c]=_0x31b04d,_0x298ec0=(_0x60bbbb,_0x517054,_0x253aac,_0x4d4937)=>{const _0x41f543=_0xc5d3ec;for(var _0x17c0cc=_0x4d4937>0x1?void 0x0:_0x4d4937?_0x3d58d4(_0x517054,_0x253aac):_0x517054,_0xb6352f=_0x60bbbb[_0x41f543(0x1dc)]-0x1,_0x12cd68;_0xb6352f>=0x0;_0xb6352f--)(_0x12cd68=_0x60bbbb[_0xb6352f])&&(_0x17c0cc=_0x12cd68(_0x17c0cc)||_0x17c0cc);return _0x17c0cc;},_0x485d0d=(_0x149759,_0x27866d)=>(_0x489018,_0x5b4ec5)=>_0x27866d(_0x489018,_0x5b4ec5,_0x149759),_0x3edee8=(_0x126f0,_0x3544f4,_0x579b7c)=>_0x4aace8(_0x126f0,_0x3544f4+'',_0x579b7c);const _0x1fe28b=_0xc5d3ec(0x252);_0x4ee90a[_0xc5d3ec(0x1a7)]=class extends _0x29d1e0['Plugin']{constructor(_0x5f1217=_0x56e888,_0x218e26,_0x2eb827,_0x530dab){const _0x10b0ed=_0xc5d3ec;super(),this[_0x10b0ed(0x354)]=_0x5f1217,this[_0x10b0ed(0x220)]=_0x218e26,this['_injector']=_0x2eb827,this[_0x10b0ed(0x11f)]=_0x530dab;const {..._0x3b143c}=_0x29d1e0[_0x10b0ed(0xfe)]({},_0x56e888,this['_config']);this[_0x10b0ed(0x11f)]['setConfig'](_0x144f86,_0x3b143c);}['onStarting'](){const _0x5bd9f5=_0xc5d3ec;this[_0x5bd9f5(0x2e6)](),this[_0x5bd9f5(0x2e1)]();}['onRendered'](){const _0x4a6954=_0xc5d3ec;this[_0x4a6954(0x291)]();}['_registerDependencies'](){const _0x7b6552=_0xc5d3ec;var _0x3cd285;const _0x3b6b9f=[[_0x2e5936],[_0xb72224],[_0x83738],[_0x17a470],[_0xa26c],[_0x118241,{'useClass':_0x3a7539}],[_0x51b4ae['ISocketService'],{'useClass':_0x51b4ae[_0x7b6552(0x13e)]}],[_0x76d6f6[_0x7b6552(0x158)],{'useClass':_0x1f113d}],[_0x4ee90a[_0x7b6552(0x338)]],[_0x53c05a],[_0xb81beb],[_0x11f9b5],[_0x2f37f3],[_0x4ee90a[_0x7b6552(0x134)]]];_0x29d1e0['registerDependencies'](this[_0x7b6552(0x1e4)],_0x29d1e0[_0x7b6552(0x36f)](_0x3b6b9f,(_0x3cd285=this[_0x7b6552(0x354)])==null?void 0x0:_0x3cd285[_0x7b6552(0xed)]));}[_0xc5d3ec(0x291)](){const _0x1820ad=_0xc5d3ec;this[_0x1820ad(0x139)](this[_0x1820ad(0x220)][_0x1820ad(0x31d)](_0x29d1e0['UniverInstanceType'][_0x1820ad(0x207)],[_0x26ddbb])),this[_0x1820ad(0x139)](this[_0x1820ad(0x220)][_0x1820ad(0x31d)](_0x29d1e0[_0x1820ad(0x228)][_0x1820ad(0x2d2)],[_0x37084c]));}[_0xc5d3ec(0x2e1)](){const _0x55ad02=_0xc5d3ec;_0x29d1e0['touchDependencies'](this[_0x55ad02(0x1e4)],[[_0x11f9b5],[_0x4ee90a[_0x55ad02(0x338)]],[_0x53c05a],[_0xb81beb],[_0x4ee90a[_0x55ad02(0x134)]]]);}},_0x3edee8(_0x4ee90a['UniverCollaborationClientUIPlugin'],_0xc5d3ec(0x246),_0x1fe28b),_0x4ee90a['UniverCollaborationClientUIPlugin']=_0x298ec0([_0x29d1e0[_0xc5d3ec(0x162)](_0x76d6f6['UniverCollaborationClientPlugin']),_0x485d0d(0x1,_0x307230[_0xc5d3ec(0x2f2)]),_0x485d0d(0x2,_0x29d1e0[_0xc5d3ec(0x12f)](_0x29d1e0[_0xc5d3ec(0x335)])),_0x485d0d(0x3,_0x29d1e0[_0xc5d3ec(0x2ea)])],_0x4ee90a['UniverCollaborationClientUIPlugin']);var _0x5289c9=Object[_0xc5d3ec(0x34e)],_0x50f7f1=(_0x1bac5c,_0x3fae3c,_0x31f338,_0x547e64)=>{for(var _0x34392a=_0x547e64>0x1?void 0x0:_0x547e64?_0x5289c9(_0x3fae3c,_0x31f338):_0x3fae3c,_0x3ca72f=_0x1bac5c['length']-0x1,_0x20571e;_0x3ca72f>=0x0;_0x3ca72f--)(_0x20571e=_0x1bac5c[_0x3ca72f])&&(_0x34392a=_0x20571e(_0x34392a)||_0x34392a);return _0x34392a;},_0x25d558=(_0x5b03da,_0x1e3249)=>(_0x161993,_0x41fa26)=>_0x1e3249(_0x161993,_0x41fa26,_0x5b03da);_0x4ee90a['BrowserCollaborationSocketService']=class extends _0x76d6f6[_0xc5d3ec(0x175)]{constructor(_0x1be757,_0x380e61,_0x5b425a,_0x450ed8,_0x59d309){super(_0x1be757,_0x380e61,_0x5b425a,_0x450ed8,_0x59d309);}async['createSocket'](_0x1a65be){const _0x19d81d=_0xc5d3ec,_0x1a2a82=await this[_0x19d81d(0x22a)](),_0xed8730=this[_0x19d81d(0x25d)](_0x1a65be,_0x1a2a82);return this[_0x19d81d(0x1ae)](_0xed8730);}[_0xc5d3ec(0x25d)](_0x597f73,_0x5c867f){const _0x3b9a3b=_0xc5d3ec,_0x4dae34=typeof window>'u'?new URL(_0x597f73):new URL(_0x597f73,window[_0x3b9a3b(0x2dc)]['origin']);_0x4dae34[_0x3b9a3b(0x255)][_0x3b9a3b(0x358)](_0x3b9a3b(0x25a),_0x5c867f);const _0x8ed1=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3b9a3b(0x2dc)][_0x3b9a3b(0xfa)]);return _0x8ed1[_0x3b9a3b(0x121)](_0x3b9a3b(0x277))&&_0x4dae34[_0x3b9a3b(0x255)]['set'](_0x3b9a3b(0x277),_0x8ed1[_0x3b9a3b(0x121)](_0x3b9a3b(0x277))),_0x4dae34[_0x3b9a3b(0x2aa)]();}async[_0xc5d3ec(0x22a)](){const _0x326368=_0xc5d3ec;var _0x4c4072,_0x133ba0,_0x20ada5;const _0x3f19a9=this[_0x326368(0x11f)]['getConfig'](_0x76d6f6[_0x326368(0x200)]),_0x51dd81=(_0x4c4072=_0x3f19a9==null?void 0x0:_0x3f19a9['wsSessionTicketUrl'])!=null?_0x4c4072:_0x76d6f6[_0x326368(0x130)];return(_0x20ada5=(_0x133ba0=(await this['_httpService'][_0x326368(0x121)](_0x51dd81,{'headers':{'Content-Type':'application/json'}}))[_0x326368(0x2fd)])==null?void 0x0:_0x133ba0['ticket'])!=null?_0x20ada5:'';}},_0x4ee90a[_0xc5d3ec(0x2f0)]=_0x50f7f1([_0x25d558(0x0,_0x29d1e0['Inject'](_0x29d1e0[_0xc5d3ec(0x335)])),_0x25d558(0x1,_0x29d1e0[_0xc5d3ec(0x12f)](_0x51b4ae[_0xc5d3ec(0x1d5)])),_0x25d558(0x2,_0x29d1e0[_0xc5d3ec(0x2ea)]),_0x25d558(0x3,_0x29d1e0[_0xc5d3ec(0x1cd)]),_0x25d558(0x4,_0x31892d[_0xc5d3ec(0xf2)])],_0x4ee90a[_0xc5d3ec(0x2f0)]);const _0x4a5882=0x7530,_0x5b7186=_0xc5d3ec(0x28f);class _0x42c856 extends _0x29d1e0[_0xc5d3ec(0x171)]{constructor(){const _0x1b6b73=_0xc5d3ec;super(),_0x348160(this,_0x1b6b73(0x224),_0x29d1e0[_0x1b6b73(0x299)]()),_0x348160(this,_0x1b6b73(0x129),new Set()),_0x348160(this,_0x1b6b73(0x32e),new Map()),_0x348160(this,'_heartbeatTimer',null),_0x348160(this,'_clearOtherTimers',new Map()),_0x348160(this,_0x1b6b73(0x1a8),new Map()),this[_0x1b6b73(0x20a)]();}['dispose'](){const _0x285ff5=_0xc5d3ec;super[_0x285ff5(0x261)](),this[_0x285ff5(0x206)][_0x285ff5(0x32a)]((_0x2839d8,_0x3b8f05)=>this[_0x285ff5(0x274)](_0x3b8f05)),this[_0x285ff5(0x2e8)]&&window['clearInterval'](this['_heartbeatTimer']);}['getUnitStatus$'](_0x53c9a0){const _0x1f784c=_0xc5d3ec;return this['_ensureSubject'](_0x53c9a0)[_0x1f784c(0x14b)](_0x5963ed[_0x1f784c(0x1f0)]());}[_0xc5d3ec(0x1c6)](_0x39ab66){const _0x3916f3=_0xc5d3ec;this[_0x3916f3(0x129)]['size']===0x0&&this[_0x3916f3(0x356)](),this[_0x3916f3(0x129)][_0x3916f3(0x287)](_0x39ab66),this[_0x3916f3(0xef)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x39ab66],'isForwarded':!0x1});}[_0xc5d3ec(0x2b0)](_0x4a8db5){const _0x2488d8=_0xc5d3ec;this['_selfUnitIDs']['delete'](_0x4a8db5),this[_0x2488d8(0x129)]['size']===0x0&&this[_0x2488d8(0x2e8)]&&window[_0x2488d8(0x31b)](this[_0x2488d8(0x2e8)]);}[_0xc5d3ec(0x20a)](){const _0x268c5a=_0xc5d3ec;this[_0x268c5a(0x139)](_0x29d1e0[_0x268c5a(0x308)](_0x5963ed[_0x268c5a(0x365)](window,_0x268c5a(0x357))['subscribe'](_0x59efa2=>{const _0x1ca637=_0x268c5a;if(_0x59efa2[_0x1ca637(0x28a)]!==_0x5b7186||!_0x59efa2['newValue'])return;const _0x2bc341=JSON[_0x1ca637(0x2c0)](_0x59efa2[_0x1ca637(0x112)]);this[_0x1ca637(0x187)](_0x2bc341);}))),window[_0x268c5a(0x1d9)](_0x268c5a(0x193),()=>this[_0x268c5a(0xef)]({'type':0x1,'memberID':this[_0x268c5a(0x224)],'unitIDs':Array[_0x268c5a(0x2e0)](this[_0x268c5a(0x129)])}));}['_handleEvent'](_0x4cc66a){const _0x174252=_0xc5d3ec;switch(_0x4cc66a[_0x174252(0x1e1)]){case 0x0:this[_0x174252(0x34a)](_0x4cc66a);break;case 0x1:this[_0x174252(0x336)](_0x4cc66a);break;case 0x2:this['_handleHeartbeatEvent'](_0x4cc66a);break;}}[_0xc5d3ec(0x34a)](_0x5e1df1){const _0x477658=_0xc5d3ec,{unitIDs:_0x48758e,memberID:_0xabd180,isForwarded:_0x1f29f6}=_0x5e1df1;_0x48758e[_0x477658(0x32a)](_0x2f850b=>{const _0x1eebfb=_0x477658;if(!_0x1f29f6&&this['_unitOnClients'][_0x1eebfb(0x201)](_0x2f850b)&&this[_0x1eebfb(0x1ad)](_0x2f850b)[_0x1eebfb(0x316)](_0x76d6f6[_0x1eebfb(0x346)]['OTHER_CLIENTS_EDITING']),!this[_0x1eebfb(0x32e)][_0x1eebfb(0x201)](_0x2f850b)||!this['_unitOnClients'][_0x1eebfb(0x121)](_0x2f850b)[_0x1eebfb(0x201)](_0xabd180)){const _0x399408=this['_unitOnClients'][_0x1eebfb(0x121)](_0x2f850b)||new Set();_0x399408[_0x1eebfb(0x287)](_0xabd180),this['_unitOnClients'][_0x1eebfb(0x358)](_0x2f850b,_0x399408),this[_0x1eebfb(0x190)](_0xabd180);}}),_0x1f29f6||this['_send']({'type':0x0,'memberID':this[_0x477658(0x224)],'unitIDs':[...this[_0x477658(0x129)]],'isForwarded':!0x0});}[_0xc5d3ec(0x190)](_0x9ff1ac){const _0x5cd498=_0xc5d3ec;this[_0x5cd498(0x274)](_0x9ff1ac);const _0x1b3507=window[_0x5cd498(0x1a6)](()=>{const _0x1b7565=_0x5cd498;this[_0x1b7565(0x32e)][_0x1b7565(0x32a)](_0x6e9855=>{const _0x35456d=_0x1b7565;_0x6e9855[_0x35456d(0x22e)](_0x9ff1ac);});},_0x4a5882*0x2);this['_clearOtherTimers'][_0x5cd498(0x358)](_0x9ff1ac,_0x1b3507);}[_0xc5d3ec(0x274)](_0x20097e){const _0x19168b=_0xc5d3ec;if(this[_0x19168b(0x206)][_0x19168b(0x201)](_0x20097e)){const _0x18ffca=this[_0x19168b(0x206)][_0x19168b(0x121)](_0x20097e);_0x18ffca&&window['clearTimeout'](_0x18ffca),this[_0x19168b(0x206)][_0x19168b(0x358)](_0x20097e,null);}}[_0xc5d3ec(0x336)](_0x431c34){const _0x542d3d=_0xc5d3ec,{memberID:_0x14bfe0,unitIDs:_0x4ad41b}=_0x431c34;_0x4ad41b[_0x542d3d(0x32a)](_0x239695=>{const _0x10d570=_0x542d3d;var _0x3e7026;const _0x507c0b=this[_0x10d570(0x32e)][_0x10d570(0x121)](_0x239695);_0x507c0b&&(_0x507c0b[_0x10d570(0x22e)](_0x14bfe0),(_0x3e7026=this[_0x10d570(0x1ad)](_0x239695))==null||_0x3e7026[_0x10d570(0x316)](_0x507c0b[_0x10d570(0x2da)]===0x0?_0x76d6f6[_0x10d570(0x346)]['NO_OTHER_CLIENTS_EDITING']:_0x76d6f6[_0x10d570(0x346)]['OTHER_CLIENTS_EDITING']));}),this[_0x542d3d(0x274)](_0x14bfe0);}[_0xc5d3ec(0x123)](_0x17bf02){const _0x590a91=_0xc5d3ec;this[_0x590a91(0x190)](_0x17bf02[_0x590a91(0x185)]);}[_0xc5d3ec(0xef)](_0x1ed9fa){const _0x21e4dd=_0xc5d3ec;localStorage[_0x21e4dd(0x2ad)](_0x5b7186,JSON['stringify'](_0x1ed9fa));}[_0xc5d3ec(0x356)](){const _0x348e39=_0xc5d3ec;this[_0x348e39(0x2e8)]=window[_0x348e39(0x186)](()=>{const _0x455373=_0x348e39;this[_0x455373(0xef)]({'type':0x2,'memberID':this['_id']});},_0x4a5882);}['_ensureSubject'](_0x36b955){const _0x121095=_0xc5d3ec;return this[_0x121095(0x1a8)]['has'](_0x36b955)||this['_unitStatus'][_0x121095(0x358)](_0x36b955,new _0x5963ed[(_0x121095(0x15d))](_0x76d6f6[_0x121095(0x346)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x121095(0x1a8)][_0x121095(0x121)](_0x36b955);}}var _0x2cae90=(_0x14b43c=>(_0x14b43c[_0x14b43c[_0xc5d3ec(0x1e2)]=0x0]=_0xc5d3ec(0x1e2),_0x14b43c[_0x14b43c['OK']=0x1]='OK',_0x14b43c[_0x14b43c[_0xc5d3ec(0x1ec)]=0x2]='INTERNAL_ERROR',_0x14b43c[_0x14b43c[_0xc5d3ec(0x1c3)]=0x3]=_0xc5d3ec(0x1c3),_0x14b43c[_0x14b43c[_0xc5d3ec(0x359)]=0x4]='NOT_FOUND',_0x14b43c[_0x14b43c['UNAUTHENTICATED']=0x5]=_0xc5d3ec(0x303),_0x14b43c[_0x14b43c['ALREADY_EXISTS']=0x6]=_0xc5d3ec(0x21e),_0x14b43c[_0x14b43c['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x14b43c[_0x14b43c[_0xc5d3ec(0x257)]=0x8]=_0xc5d3ec(0x257),_0x14b43c[_0x14b43c[_0xc5d3ec(0x279)]=0x9]=_0xc5d3ec(0x279),_0x14b43c[_0x14b43c[_0xc5d3ec(0x2a0)]=0xa]=_0xc5d3ec(0x2a0),_0x14b43c[_0x14b43c['CHANGESET_REVISION_CONFILICT']=0x1389]=_0xc5d3ec(0x2df),_0x14b43c[_0x14b43c[_0xc5d3ec(0x352)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x14b43c[_0x14b43c[_0xc5d3ec(0x24f)]=0x1772]=_0xc5d3ec(0x24f),_0x14b43c[_0x14b43c[_0xc5d3ec(0x1bb)]=0x1773]=_0xc5d3ec(0x1bb),_0x14b43c[_0x14b43c[_0xc5d3ec(0x221)]=0x1b59]=_0xc5d3ec(0x221),_0x14b43c[_0x14b43c[_0xc5d3ec(0x314)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x14b43c[_0x14b43c[_0xc5d3ec(0x1d2)]=0x1b5b]=_0xc5d3ec(0x1d2),_0x14b43c[_0x14b43c[_0xc5d3ec(0x25f)]=0x1b5c]=_0xc5d3ec(0x25f),_0x14b43c[_0x14b43c[_0xc5d3ec(0x165)]=0x1b5d]=_0xc5d3ec(0x165),_0x14b43c[_0x14b43c[_0xc5d3ec(0x132)]=0x1f41]=_0xc5d3ec(0x132),_0x14b43c[_0x14b43c[_0xc5d3ec(0x159)]=0x2329]=_0xc5d3ec(0x159),_0x14b43c[_0x14b43c['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x14b43c[_0x14b43c[_0xc5d3ec(0x331)]=0x232b]=_0xc5d3ec(0x331),_0x14b43c[_0x14b43c[_0xc5d3ec(0x19a)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x14b43c[_0x14b43c['LICENSE_DISTRO_REJECTED']=0x232d]=_0xc5d3ec(0x1af),_0x14b43c[_0x14b43c[_0xc5d3ec(0x208)]=0x2711]=_0xc5d3ec(0x208),_0x14b43c[_0x14b43c['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0xc5d3ec(0x292),_0x14b43c[_0x14b43c['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0xc5d3ec(0x119),_0x14b43c[_0x14b43c[_0xc5d3ec(0x101)]=0x2714]=_0xc5d3ec(0x101),_0x14b43c[_0x14b43c['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0xc5d3ec(0x147),_0x14b43c[_0x14b43c[_0xc5d3ec(0x324)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x14b43c[_0x14b43c[_0xc5d3ec(0x2a8)]=0x2af9]=_0xc5d3ec(0x2a8),_0x14b43c[_0x14b43c[_0xc5d3ec(0x2e5)]=0x2ee1]=_0xc5d3ec(0x2e5),_0x14b43c[_0x14b43c['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x14b43c[_0x14b43c[_0xc5d3ec(0x294)]=0x2ee3]=_0xc5d3ec(0x294),_0x14b43c[_0x14b43c['USER_NOT_INVITED_CODE']=0x2ee4]=_0xc5d3ec(0x1de),_0x14b43c[_0x14b43c['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0xc5d3ec(0x22c),_0x14b43c[_0x14b43c[_0xc5d3ec(0x266)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x14b43c[_0x14b43c[_0xc5d3ec(0x191)]=0x32ca]=_0xc5d3ec(0x191),_0x14b43c[_0x14b43c[_0xc5d3ec(0x2fb)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x14b43c[_0x14b43c[_0xc5d3ec(0x13c)]=-0x1]=_0xc5d3ec(0x13c),_0x14b43c))(_0x2cae90||{}),_0x3380d0=Object['getOwnPropertyDescriptor'],_0x29d978=(_0x5c02f5,_0x5bca01,_0x4b5f54,_0x222c6d)=>{for(var _0x1bd39c=_0x222c6d>0x1?void 0x0:_0x222c6d?_0x3380d0(_0x5bca01,_0x4b5f54):_0x5bca01,_0x1cf4f9=_0x5c02f5['length']-0x1,_0x83691;_0x1cf4f9>=0x0;_0x1cf4f9--)(_0x83691=_0x5c02f5[_0x1cf4f9])&&(_0x1bd39c=_0x83691(_0x1bd39c)||_0x1bd39c);return _0x1bd39c;},_0x4cd84d=(_0x3ec06b,_0x469c9c)=>(_0x33fc0f,_0x5c0586)=>_0x469c9c(_0x33fc0f,_0x5c0586,_0x3ec06b);_0x4ee90a[_0xc5d3ec(0x16b)]=class extends _0x29d1e0[_0xc5d3ec(0x171)]{constructor(_0x49da14,_0x338bac,_0x219065){const _0x40f79f=_0xc5d3ec;super(),this[_0x40f79f(0x231)]=_0x49da14,this['_httpService']=_0x338bac,this[_0x40f79f(0x11f)]=_0x219065;}async[_0xc5d3ec(0x364)](_0x409fb1,_0x670767,_0x4f4404,..._0x13d20d){const _0x251edc=_0xc5d3ec;var _0x346fce,_0x5b4bd3,_0x286393,_0x102b65;const _0x122b37=this[_0x251edc(0x231)][_0x251edc(0x1f9)]();if(!_0x122b37)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x24a88d=((_0x346fce=this[_0x251edc(0x11f)][_0x251edc(0x173)](_0x76d6f6[_0x251edc(0x242)]))!=null?_0x346fce:_0x76d6f6[_0x251edc(0x154)])+'/'+_0x409fb1+'/run/'+_0x670767,_0x19d45a=new URL(window['location'][_0x251edc(0xe9)]),_0x21d2f2={'scriptId':_0x409fb1,'runId':(_0x5b4bd3=_0x19d45a[_0x251edc(0x255)]['get']('runId'))!=null?_0x5b4bd3:'','function':_0x670767,'unitId':_0x122b37[_0x251edc(0x103)](),'argsOfFunction':JSON[_0x251edc(0x31a)](_0x13d20d),'invokeId':(_0x286393=_0x4f4404[_0x251edc(0x135)])!=null?_0x286393:'','executionId':(_0x102b65=_0x4f4404[_0x251edc(0x34c)])!=null?_0x102b65:''};try{const _0x154851=await this[_0x251edc(0x2a1)][_0x251edc(0x1cf)](_0x24a88d,{'body':_0x21d2f2});return _0x154851[_0x251edc(0x2fd)][_0x251edc(0x145)]&&_0x154851[_0x251edc(0x2fd)][_0x251edc(0x145)][_0x251edc(0x1fa)]!==_0x2cae90['OK']?_0x251edc(0x1f8):_0x154851[_0x251edc(0x2fd)][_0x251edc(0x2c9)];}catch{return'Failed';}}},_0x4ee90a['RemoteUniscriptService']=_0x29d978([_0x4cd84d(0x0,_0x29d1e0[_0xc5d3ec(0x348)]),_0x4cd84d(0x1,_0x29d1e0[_0xc5d3ec(0x12f)](_0x51b4ae[_0xc5d3ec(0x1d5)])),_0x4cd84d(0x2,_0x29d1e0[_0xc5d3ec(0x2ea)])],_0x4ee90a[_0xc5d3ec(0x16b)]),_0x4ee90a[_0xc5d3ec(0x1ef)]=_0x2954f1,_0x4ee90a['IURLService']=_0x118241,_0x4ee90a[_0xc5d3ec(0x339)]=_0x2c2826,_0x4ee90a[_0xc5d3ec(0x36d)]=_0x42c856,_0x4ee90a[_0xc5d3ec(0x21b)]=_0x3a7539,Object[_0xc5d3ec(0x105)](_0x4ee90a,Symbol[_0xc5d3ec(0x10f)],{'value':'Module'});}));function _0xeef9(){const _0x5eb5de=['saveImage','undoState','handleMoveRange','generateRandomId','getActiveSheet','_cursorInfo$','UniverEngineRender','none','_updateURLWithCurrentState','_hovered','LOGIN_FAILED','_httpService','@univerjs/network','SetDocZoomRatioOperation','function','className','ColorKit','FromArray','PY_RUNTIME_SCRIPT_ERROR','getCollabCursors$','toString','m2Prime','_hideTimer','setItem','UniverProCollaborationClientUi','@univerjs-pro/collaboration','disposeUnit','_handleHover','_docClipboardService','Warning','handleInsertRangeMoveDown','on-line-single_clip0_910_349','save','uni.network.url-service','getUniverSheetInstance','filter','attrs','getUnhiddenWorksheets','_docTransformIMECacheService','UniverDrawing','getLocalCacheKey','map','parse','_status$','_lastPointer','onTransformChange$','verdancy600','all','_localStorageService','109220UFCVON','_getAnchorBounding','result','params','_docSyncEditingCollabCursorService','status$','_initEntityListener','restore','_uiPartsService','UniverEngineFormula','_onCursorUpdate','UNIVER_SHEET','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','ONLINE','fillStyle','_docTransformSelectionsService','getTypeOfUnitAdded$','hasOwnProperty','LOCAL_CACHE_INTERVAL_KEY','size','UniverUi','location','_anchor','roomMembers$','CHANGESET_REVISION_CONFILICT','from','_initDependencies','enableLocalCache','combineLatest','font','INVITE_CODE_HAS_BEEN_UES','_registerDependencies','with','_heartbeatTimer','current','IConfigService','handleIRemoveRow','univerjs-icon\x20univerjs-icon-','getViewport','IDocClipboardService','RxDisposable','BrowserCollaborationSocketService','updateOfflineData','IRenderManagerService','LOCAL_CACHE_INTERVAL','session.will-retry','_getSheetObject','_updateCollabCursors','2232bjnVXM','assign','data','NodePositionConvertToRectRange','EMAIL_HAS_BEEN_BOUND','getAncestorScale','body','takeUntil','collab-text-anchor-','_colorIndex','jsxs','unitId','UNAUTHENTICATED','text','event$','unshift','React','toDisposable','engine','defIds','assignAColorForMemberID','show','_roomMembers$','PENDING','top','collabStatus.syncing','UniverSheets','@univerjs/rpc','_onRefRangeChange','APPLY_NON_SEQUENTIAL_REVISION','round','next','univer-online-status','getStateCache','IImageIoService','stringify','clearInterval','serializeRangeWithSheet','registerRenderModule','flatMap','handleIRemoveCol','CollaborationEvent','_colorAssignService','prototype','urlChange$','YUUMI_ASYNCIO_CANCELLED','loadUnit','eventID','url(#$1','MoveRangeCommandId','onCommandExecuted','forEach','_transformUndoRedoStack','height','getOwnPropertySymbols','_unitOnClients','_transformService','transformRemoteChangeset','LICENSE_IMPORT_SIZE_EXCEEDED','_eventUnsubscribe','_docStateChangeManagerService','DocIMEInputManagerService','Injector','_handleLeaveEvent','_transformHistoryAndStateStack','DesktopCollaborationStatusDisplayController','SheetCollabCursorShape','addClipboardHook','doc.mutation.rich-text-editing','subunit','_toggleOnline','history','Vector2','VIEW_MAIN','@univerjs/sheets','symbol','_labelPosition','createElement','_collabSessionService','UnitStatus','tag','IUniverInstanceService','displayName','_handleJoinEvent','collabCursorState$','executionId','getCellPositionByOffset','getOwnPropertyDescriptor','_removeCollabCursors','rxjs/operators','UniverProCollaboration','SNAPSHOT_INVALID_SNAPSHOT','createInstance','_config','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_scheduleHeartbeat','storage','set','NOT_FOUND','red300','DeleteRangeMoveLeftCommandId','getRangePointData','clearTimeout','IUIPartsService','collaboration.closeRoom','Tools','asObservable','requireSession','collabStatus.offline','runOnServer','fromEvent','imageSourceType','idSuffix','DocStateChangeManagerService','@univerjs/sheets-ui','complete','getParam','InsertRangeMoveRightCommandId','WebBrowserSingleActiveUnitService','collaboration.single-unit.warning','mergeOverrideWithDependencies','onMouseMove','forwardRef','addObjects','href','transform','_anchorDot','_name','override','selections','_send','MessageType','collabStatus.notCollab','ISnapshotServerService','name','toRgbString','univer-online-status-title','focused$','_online','RemoveColCommandId','@univerjs/docs','search','split','jsx','path','merge','CollaborationController','hide','YUUMI_SUBSCRIPTION_NOT_FOUND','_setupBeforeClosingHandler','getUnitId','dispose$','defineProperty','_cursorShapes','getColor','onlineStatusIcon','_assignedColors','subscribeEvent','_getMergeRange','saveTaskMap','JOIN_ROOM_FAILED','SheetsSelectionsService','toStringTag','371apueVk','moveTo','newValue','offline','_syncEditingCollabCursorService','onPointerEnter$','online','isTransformMutationsWithChangesetSuccess','trim','YUUMI_RATE_OVER_LIMIT','DOC_RANGE_TYPE','160280dDLfWw','runRefRangeMutations','1241108kzhZwH','div','_configService','string','get','evenodd','_handleHeartbeatEvent','LocaleService','registerBeforeClose','_drawAnchor','Unknown\x20user','univer-flex\x20univer-items-center','_selfUnitIDs','useRef','getSheetBySheetId','DocCollaborationEntity','_collaborationUIEventService','addObject','Inject','DEFAULT_WS_SESSION_TICKET_URL','CollaborationStatus','CONNECTOR_DATA_TOO_LARGE','SessionStatus','CollaborationDataLoaderController','invokeId','colorChannel1','_notificationService','min','disposeWithMe','handleInsertRow','bottom','UNRECOGNIZED','@univerjs/ui','WebSocketService','@univerjs/drawing','getActiveRange','currentColor','_logService','_getScale','useDependency','error','_themeService','YUUMI_NO_CUBOID_FOR_QUESTION','TRANSFORM_CHANGE_OBSERVABLE_TYPE','mutations','debounce','pipe','endColumn','setShapeProps','5264585eaFIfJ','getMember','mask','arc','_scheduleSaving','_commandService','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getSkeleton','_univerInstanceService','_collabCursorController','ILocalCacheService','LICENSE_MAX_UNITS_EXCEEDED','ICommandService','_memberService','max','BehaviorSubject','closePath','_localCacheService','_localeService','init','DependentOn','deserializeRangeWithSheet','fill','APPLY_DUPLICATED','measureText','RECT','getSheetObject','xlink:href','_urlService','RemoteUniscriptService','@univerjs/docs-ui','COLORS','ITransformService','_shapes','UniverSheetsUi','Disposable','debounceTime','getConfig','transformMutation','CollaborationSocketService','UniverDocs','lineTo','object','SOCKET_FAILED_RETRY','defs','IRemoteInstanceService','then','row','SheetSkeletonManagerService','icon','off-line-single_clip0_910_343','CONFLICT','values','Rect','send','memberID','setInterval','_handleEvent','UniverIcon','_backgroundColor','_imageIoService','syncEditingCollabCursor','CollaborationSessionService','_collabCursorState$','setUndoRedoMutationParamsCache','roomMembers','_scheduleClearOtherTimer','MOBILE_HAS_BEEN_BOUND','blue400','unload','translate(.97)','off-line-single','_hover','registerRefRange','fillRule','use','LICENSE_EXPORT_SIZE_EXCEEDED','USERS_LEAVE','_entities','_saveTaskMap','MemberService','Workbook','0\x200\x2016\x2016','@univerjs-pro/collaboration-client','_startSheetCollabCursor','setStateCache','react','cursorInfo$','setTimeout','UniverCollaborationClientUIPlugin','_unitStatus','CollaborationUIEventId','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','width','transformSelections','_ensureSubject','_doCreateSocket','LICENSE_DISTRO_REJECTED','svg','debug','beginPath','_entityInit$','useCallback','getCurrentSelections','_initStatusComponent','concat','_drawRectRange','handleInsertRangeMoveRight','...','ENSURE_SNAPSHOT_EXECUTION','url(#on-line-single_clip0_910_349)','setParam','CommandType','_initEvent','rgba(255,\x20255,\x20255,\x200.01)','push','extend','PERMISSION_DENIED','DisposableCollection','_sheetSkeletonManagerService','editingUnit','pushState','SYNCED','RemoveRowCommandId','replace','executeCommand','isTransformMutationFailure','ILogService','getCollabEntity$','post','_docSkeletonManagerService','3643338ZbrSDK','APPLY_REVISION_CONFILICT','TEXT_RANGE_LAYER_INDEX','m1Prime','HTTPService','getTypeOfUnitDisposed$','_transformPreviousActiveRange','transformByState','addEventListener','cursorInfo','getRelativeToViewportCoord','length','unsubscribe','USER_NOT_INVITED_CODE','RegularPolygon','permission.title','type','UNDEFINED','SetWorksheetActivateCommand','_injector','makeDirty','collabStatus.conflict','textRanges','isActive','transformStateCache','Subject','_docTransformStateCacheService','INTERNAL_ERROR','onPointerLeave$','DocSelectionManagerService','CollaborationStatusDisplay','distinctUntilChanged','univer-online','NOT_COLLAB','exhaustSavingTask','#FFF','getCoordByCell','ranges','unitID','Failed','getFocusedUnit','code','entries','findNodePositionByCharIndex','transformMutationsWithChangeset','handleDeleteRangeMoveLeft','_color','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','has','_initCommandExecutedListener','getSheetId','Shape','_range','_clearOtherTimers','UNIVER_DOC','YUUMI_UNABLE_LOAD_URL','contains','_init','replaceState','462sJdxPI','@univerjs/engine-render','AWAITING','_setupSubUnitSync','_disabled','getVpScrollXYInfoByPosToVp','_onCursorDelete','children','selection','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_refRangeService','@univerjs/core','isArray','activeSheet$','_initStatusListener','WebURLService','_dataLoaderService','throttleTime','ALREADY_EXISTS','sessionStatus$','_renderManagerService','APPLY_REJECT','@univerjs/engine-formula','collab-rect-range-','_id','column','deepClone','fillText','UniverInstanceType','Optional','_getSessionTicket','_render','INVITE_CODE_ALREADY_BOUND','_saveCache','delete','currentTheme$','SetTextSelectionsOperation','_instanceService','InsertColCommandId','sheetID','startRow','black','_getSaveTimeout','session.connection-failed','M0\x200H16V16H0z','onlineStatus','labelPosition','disableLocalCache','UniverDocsUi','0\x200\x2017\x2016','1149171FlsnXO','reconnect','DeleteRangeMoveUpCommandId','_revisionService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','startsWith','_toggleOffline','Error','pluginName','endRow','clsx','handleDeleteRangeMoveUp','docStateChange$','3314VELIkh','range','_updateLocalCursor','ILocalStorageService','SNAPSHOT_HAS_BEEN_REMOVED','INotificationService','_drawTextRange','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','subscribe','connectInjector','searchParams','indexOf','TOO_MANY_REQUESTS','react/jsx-runtime','getCurrentRevOfUnit','sessionTicket','whenReady','_session','_createSocketURL','_draw','APPLY_PERMISSION_DENIED','EffectRefRangId','dispose','collabStatus.fetchMiss','getCurrent','handleInsertCol','getUndoRedoMutationParamsCache','WECHAT_HAS_BEEN_BOUND','_updateSubUnitFromURLParams','switchMap','_textBubble','#fff','_context','_beforeCloseService','setAlpha','_cursors','getMemberID','1em','@univerjs/design','univer-online-status-icon','_collaborationController','_removeClearOtherTimer','TEXT','getRenderById','runId','rxjs','COMPLETION_FINISHED','_scene','_cursor','some','getDocRanges','_initResize','UPDATE_CURSOR','IMessageService','transformIMECache','[CollaborationDataLoaderController]','redoState','drawWith','getMergeData','resize','add','_refreshCollabCursors','SOCKET_FAILED','key','call','ThemeService','getValue','_cachedData','ACTIVE_UNIT_EVENT_CHANNEL','Rectangle','_registerRenderDependencies','YUUMI_URL_COL_OUT_OF_RANGE','color','INVITE_CODE_REQUIRED','_messageService'];_0xeef9=function(){return _0x5eb5de;};return _0xeef9();}