@univerjs-pro/collaboration-client-ui 0.9.3-nightly.202507250750 → 0.9.3-nightly.202507250819
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/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +16 -32
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x4682(_0x13414a,_0xc22b47){const _0x30f45f=_0x30f4();return _0x4682=function(_0x4682a9,_0x4f3840){_0x4682a9=_0x4682a9-0x69;let _0x1aa7af=_0x30f45f[_0x4682a9];return _0x1aa7af;},_0x4682(_0x13414a,_0xc22b47);}function _0x30f4(){const _0x56b91b=['length','clearTimeout','displayName','min','propertyIsEnumerable','subUnitId','getCoordByCell','M0\x200H16V16H0z','getViewport','focused$','_sheetSkeletonManagerService','setAlpha','_roomMembers$','ThemeService','_renderManagerService','toString','_textBubble','_handleHeartbeatEvent','saveOfflineData','clipPath','_transformUndoRedoStack','switchMap','getCurrentUnitForType','row','_draw','createElement','OffLineIcon','CHANGESET_REVISION_CONFILICT','search','unitId','ColorKit','object','_refreshCollabCursors','moveTo','_docTransformIMECacheService','hovered','WECHAT_HAS_BEEN_BOUND','getValue','_session','unit','collabStatus.fetchMiss','blue.400','collabStatus.syncing','UniverInstanceType','collaboration-client.offline-data-not-saved','_labelPosition','_getSessionTicket','max','IMessageService','CommandType','react','none','@univerjs/sheets','transformStateCache','executeCommand','_transformPreviousActiveRange','newValue','WebBrowserSingleActiveUnitService','handleIRemoveCol','UniverSheets','getColorFromTheme','FromArray','RxDisposable','xlink:href','UniverSheetsUi','_memberService','_anchor','SetWorksheetActivateCommand','takeUntil','_notificationService','getActiveRange','save','0\x200\x2016\x2016','_getSaveTimeout','YUUMI_RATE_OVER_LIMIT','registerRefRange','_hideTimer','Tooltip','exhaustSavingTask','_commandService','startRow','_toggleOffline','getMergeData','hasOwnProperty','onPointerLeave$','imageSourceType','icon','Tools','RemoteUniscriptService','override','APPLY_REVISION_CONFILICT','CONFLICT','YUUMI_CONNECTOR_URL_NOT_FOUND','EMAIL_HAS_BEEN_BOUND','_getMergeRange','UNAUTHENTICATED','pipe','YUUMI_TABLE_NOT_FOUND_IN_UNIT','6mhNllK','currentTheme$','DeleteRangeMoveUpCommandId','collaboration-client-ui.config','onMouseMove','show','IConfigService','m2Prime','getConfig','whenReady','replaceState','ITransformService','getColor','dispose','hide','INVITE_CODE_HAS_BEEN_UES','setStateCache','_doCreateSocket','_updateLocalCursor','Inject','_ensureSubject','LOCAL_CACHE_INTERVAL_KEY','DependentOn','TEXT_RANGE_LAYER_INDEX','UNIVER_SHEET','_onRefRangeChange','exports','_syncEditingCollabCursorService','_selfUnitIDs','_hover','_imageIoService','event$','VIEW_MAIN','Rect','NOT_FOUND','_cursor','CollaborationDataLoaderController','source','DesktopCollaborationStatusDisplayController','undoState','getStateCache','getSkeleton','_initStatusListener','UNIVER_DOC','forEach','evenodd','ILogService','_revisionService','_dataLoaderService','_entities','isTransformMutationFailure','Injector','push','sessionStatus$','RemoveColCommandId','...','handleIRemoveRow','add','filter','range','UniverDocsUi','_initCommandExecutedListener','IUniverInstanceService','@univerjs/network','SessionStatus','_document','INVITE_CODE_ALREADY_BOUND','449780pnejBe','_docTransformStateCacheService','_removeClearOtherTimer','DEFAULT_WS_SESSION_TICKET_URL','prototype','IRenderManagerService','_collabCursorState$','setItem','Subject','_heartbeatTimer','_unitOnClients','_transformHistoryAndStateStack','327801SgyWGP','BuiltInUIPart','svg','TOO_MANY_REQUESTS','getOwnPropertySymbols','collabStatus.offline','roomMembers','jsx','_toggleOnline','location','_collabSessionService','registerComponent','useCallback','CollaborationSocketService','YUUMI_AI_RUN_FAILED','HEADER_MENU','apply','rgba(255,\x20255,\x20255,\x200.01)','url(#off-line-icon_clip0_910_343)','backgroundColor','application/json','redoState','measureText','onPointerMove$','CollaborationUIEventService','react/jsx-runtime','_color','handleInsertCol','LICENSE_IMPORT_SIZE_EXCEEDED','getActiveSheet','_cursors','toRgbString','some','getCurrentRevOfUnit','set','_name','LICENSE_MAX_UNITS_EXCEEDED','addObjects','_configService','UniverProCollaborationClient','OTHER_CLIENTS_EDITING','ILocalStorageService','getCurrent','NodePositionConvertToCursor','deserializeRangeWithSheet','_refRangeService','sheetId','collabStatus.notCollab','React','beginPath','transformByState','@univerjs/rpc','from','clsx','data','next','font','createSocket','green.600','SetTextSelectionsOperation','fillStyle','defs','4210029WhRpDT','_send','SOCKET_FAILED','_getSheetObject','PENDING','makeDirty','getTypeOfUnitAdded$','complete','memberID','@univerjs/docs-ui','jiqing.500','UniverProCollaboration','mapTo','includes','width','_getScale','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','MOBILE_HAS_BEEN_BOUND','replace','fromEvent','forwardRef','height','white','debounce','current','m1Prime','Workbook','WebSocketService','LocaleService','InsertRangeMoveDownCommandId','DocStateChangeManagerService','Error','getRangePointData','Vector2','_saveCache','Plugin','setParam','touchDependencies','_assignedColors','setActiveRange','sheetID','closePath','_uiPartsService','LICENSE_EXPORT_SIZE_EXCEEDED','WebURLService','function','RegularPolygon','INVITE_CODE_REQUIRED','NOT_COLLAB','SNAPSHOT_HAS_BEEN_REMOVED','_drawTextRange','sessionTicket','UniverUi','ISnapshotServerService','Disposable','status$','subscribeEvent','_handleLeaveEvent','YUUMI_ASYNCIO_CANCELLED','isArray','setShapeProps','RECT','disposeWithMe','parse','getItem','MemberService','currentSkeleton$','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','UNDEFINED','TRANSFORM_CHANGE_OBSERVABLE_TYPE','getRelativeToViewportCoord','getTypeOfUnitDisposed$','RemoveRowCommandId','_beforeCloseService','getFocusedUnit','http://www.w3.org/2000/svg','subscribe','getUndoRedoMutationParamsCache','_handleHover','idSuffix','YUUMI_UNABLE_LOAD_URL','Module','univer-mr-2\x20univer-flex\x20univer-text-xl','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','random','handleInsertRow','then','getOwnPropertyDescriptor','BrowserCollaborationSocketService','result','ranges','getCurrentSelections','Failed','CollaborationUIEventId','univerjs-icon\x20univerjs-icon-','urlChange$','selection','ALREADY_EXISTS','_updateCollabCursors','string','_init','CollaborationEvent','_setupBeforeClosingHandler','1em','collabStatus.synced','round','createInstance','concat','getSheetId','findNodePositionByCharIndex','DataLoaderService','INVALID_INVITE_CODE','body','CollaborationSessionService','SheetsSelectionsService','shareReplay','_status$','indexOf','yellow.400','getUnitStatus$','_localeService','drawWith','subunit','engine','UniverEngineFormula','rxjs','pluginName','size','IURLService','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_drawRectRange','Warning','combineLatest','getUnitId','850241vhlAlc','doc.mutation.rich-text-editing','startsWith','INVALID_ARGUMENT','onPointerEnter$','delete','UniverEngineRender','2714368JYOHjW','APPLY_NON_SEQUENTIAL_REVISION','_anchorDot','getOffsetConfig','fill','INTERNAL_ERROR','_startDocCollabCursor','LOGIN_FAILED','_onCursorDelete','NO_OTHER_CLIENTS_EDITING','_collabCursorController','_initEntityListener','handleDeleteRangeMoveUp','searchParams','IUIPartsService','Rectangle','trim','transformMutation','UniverCollaborationClientUIPlugin','name','_initResize','DocIMEInputManagerService','attrs','HTTPService','symbol','collabStatus.conflict','top','PERMISSION_DENIED','getParam','labelPosition','_disabled','resize','_unitStatus','DocSkeletonManagerService','_shapes','setTimeout','color','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','getLocalCacheKey','SheetSkeletonManagerService','handleDeleteRangeMoveLeft','mutations','_clearOtherTimers','key','CollaborationController','DOC_RANGE_TYPE','cursorInfo','_saveTaskMap','merge','children','replaceDocRanges','dispose$','USER_NOT_INVITED_CODE','_hovered','_univerInstanceService','disposeUnit','split','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','url(#$1','YUUMI_SUBSCRIPTION_NOT_FOUND','[CollaborationDataLoaderController]','getAncestorScale','throttleTime','call','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_scene','fromEventSubject','getMember','href','APPLY_PERMISSION_DENIED','_docStateChangeManagerService','disableLocalCache','UNRECOGNIZED','jsxs','SHEET_VIEWPORT_KEY','getDocRanges','SheetCollabCursorShape','UniverCollaborationClientPlugin','history','fillRule','_eventUnsubscribe','_updateSubUnitFromURLParams','_range','purple.300','unitID','bottom','UniverDrawing','actions','debug','UPDATE_CURSOR','endColumn','tag','_setupSubUnitSync','session.collaboration-timeout','reconnect','LICENSE_DISTRO_REJECTED','CollaborationStatus','useObservable','startColumn','transformMutationsWithChangeset','map','InsertRangeMoveRightCommandId','BehaviorSubject','div','556mZTlbw','_docSkeletonManagerService','post','registerDependencies','defIds','ticket','red.300','_onCursorUpdate','_cursorInfo$','_localStorageService','_colorIndex','_getAnchorBounding','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','IDocClipboardService','_docClipboardService','wsSessionTicketUrl','text','_entityInit$','getSheetBySheetId','_handleEvent','values','COLORS','COMPLETION_FINISHED','saveTaskMap','collabCursorState$','handleInsertRangeMoveDown','_registerDependencies','docStateChange$','_drawAnchor','onStarting','params','use','serializeRangeWithSheet','assignAColorForMemberID','_collaborationController','@univerjs/docs','runRefRangeMutations','black','column','onRendered','defineProperty','_online','YUUMI_ALL_TABLES_IS_INVALID','loadOfflineData','IBeforeCloseService','RichTextEditingMutation','onCommandExecuted','getCollabCursors$','@univerjs/ui','deepClone','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','eventID','OTHER_CLIENT_EDITING','Shape','type','_removeCollabCursors','getRenderById','toDisposable','_collaborationUIEventService','NodePositionConvertToRectRange','loadUnit','syncEditingCollabCursor','_initEvent','className','extend','CONNECTOR_DATA_TOO_LARGE','send','init','collaboration.single-unit.warning','#FFF','_transformService','assign','lineTo','_localCacheService','TEXT','collab-text-anchor-','connectInjector','APPLY_DUPLICATED','SetSelectionsOperation','univer-flex\x20univer-items-center','saveImage','_messageService','InsertColCommandId','_config','_scheduleClearOtherTimer','SNAPSHOT_INVALID_SNAPSHOT','requireSession','collaboration.closeRoom','addObject','@univerjs/design','runId','EffectRefRangId','_cachedData','arc','clearInterval','_lastPointer','AWAITING','_handleJoinEvent','textRanges','_httpService','restore','generateRandomId','pushState','SetDocZoomRatioOperation','rxjs/operators','ENSURE_SNAPSHOT_EXECUTION','_docSyncEditingCollabCursorService','registerBeforeClose','off-line-icon','MessageType','SOCKET_FAILED_RETRY','EMAIL_VERIFY_CODE_MISMATCH','unload','_scheduleSaving','transformSelections','fillText','_themeService','addHandlerCallback','createIdentifier','YUUMI_URL_COL_OUT_OF_RANGE','_render','debounceTime','_urlService','_context','_createSocketURL','@univerjs/drawing','_injector','transformRemoteChangeset','has','_logService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','triggerDblclick','unshift','getCellPositionByOffset','useRef','operators','unsubscribe','uni.network.url-service','UniverDocs','ICommandService','UniverProCollaborationClientUi','transformIMECache','permission.title','UnitStatus','Optional','colorChannel1','removeParam','isEditing','isActive','_initDependencies','on-line-icon_clip0_910_349','registerRenderModule','popstate','enableLocalCache','MOBILE_VERIFY_CODE_MISMATCH','toStringTag','_colorAssignService','CLOSE_ROOM','selections','code','activeSheet$','@univerjs/engine-formula','error','_startSheetCollabCursor','711608hifSbd','collab-client.tooltip.reconnect','_updateURLWithCurrentState','_id','_backgroundColor','UniverIcon','FETCH_MISS','endRow','ISocketService','asObservable','onLocalMutation','addClipboardHook','cursorInfo$','PY_RUNTIME_SCRIPT_ERROR','stringify','349gOVPkN','storage','InsertRowCommandId','_docSkeleton','JOIN_ROOM_FAILED','_scheduleHeartbeat','OFFLINE','url(#on-line-icon_clip0_910_349)','get','isTransformMutationsWithChangesetSuccess','_cursorShapes','_docTransformSelectionsService','amd','with','path','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'];_0x30f4=function(){return _0x56b91b;};return _0x30f4();}(function(_0x235e22,_0x225874){const _0x2140d1=_0x4682,_0x234d3a=_0x235e22();while(!![]){try{const _0x1f217b=-parseInt(_0x2140d1(0x12c))/0x1*(-parseInt(_0x2140d1(0x79))/0x2)+parseInt(_0x2140d1(0x1ed))/0x3+-parseInt(_0x2140d1(0x11d))/0x4+-parseInt(_0x2140d1(0x1e1))/0x5+-parseInt(_0x2140d1(0x19e))/0x6*(-parseInt(_0x2140d1(0x2b1))/0x7)+-parseInt(_0x2140d1(0x2b8))/0x8+parseInt(_0x2140d1(0x22b))/0x9;if(_0x1f217b===_0x225874)break;else _0x234d3a['push'](_0x234d3a['shift']());}catch(_0x180079){_0x234d3a['push'](_0x234d3a['shift']());}}}(_0x30f4,0x2dfdb),function(_0x4bb4d8,_0x55c2d7){const _0x2d4d2c=_0x4682;typeof exports==_0x2d4d2c(0x15b)&&typeof module<'u'?_0x55c2d7(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('rxjs'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs/operators'),require('@univerjs/sheets-ui'),require('react/jsx-runtime'),require('@univerjs/ui'),require('@univerjs/design'),require('react'),require('@univerjs/rpc')):typeof define=='function'&&define[_0x2d4d2c(0x138)]?define([_0x2d4d2c(0x1b8),'@univerjs-pro/collaboration-client','@univerjs/core','@univerjs/engine-render',_0x2d4d2c(0x1dd),_0x2d4d2c(0x234),_0x2d4d2c(0xf6),_0x2d4d2c(0x2a8),'@univerjs-pro/collaboration',_0x2d4d2c(0x9c),_0x2d4d2c(0x11a),_0x2d4d2c(0x170),_0x2d4d2c(0xe1),'@univerjs/sheets-ui',_0x2d4d2c(0x206),_0x2d4d2c(0xa9),_0x2d4d2c(0xd2),_0x2d4d2c(0x16e),_0x2d4d2c(0x220)],_0x55c2d7):(_0x4bb4d8=typeof globalThis<'u'?globalThis:_0x4bb4d8||self,_0x55c2d7(_0x4bb4d8[_0x2d4d2c(0x105)]={},_0x4bb4d8[_0x2d4d2c(0x214)],_0x4bb4d8['UniverCore'],_0x4bb4d8[_0x2d4d2c(0x2b7)],_0x4bb4d8['UniverNetwork'],_0x4bb4d8[_0x2d4d2c(0x1da)],_0x4bb4d8[_0x2d4d2c(0x30e)],_0x4bb4d8['rxjs'],_0x4bb4d8[_0x2d4d2c(0x236)],_0x4bb4d8[_0x2d4d2c(0x103)],_0x4bb4d8[_0x2d4d2c(0x2a7)],_0x4bb4d8[_0x2d4d2c(0x177)],_0x4bb4d8[_0x2d4d2c(0x2a8)][_0x2d4d2c(0x100)],_0x4bb4d8[_0x2d4d2c(0x17c)],_0x4bb4d8[_0x2d4d2c(0x21d)],_0x4bb4d8[_0x2d4d2c(0x25f)],_0x4bb4d8['UniverDesign'],_0x4bb4d8[_0x2d4d2c(0x21d)],_0x4bb4d8['UniverRpc']));}(this,function(_0x34aeda,_0x1fea06,_0xa4ceaf,_0x2f4842,_0x168285,_0x437b0c,_0x334a89,_0x2467c8,_0x192f8c,_0x2695a0,_0x66085f,_0x15df57,_0x1e19c6,_0x391869,_0x147faf,_0x1ed340,_0x244230,_0xa95e57,_0x51541a){'use strict';const _0x1cb167=_0x4682;var _0x3577c4=Object[_0x1cb167(0xa1)],_0xce5bf9=(_0x8b3d22,_0x32d52f,_0x177fcb)=>_0x32d52f in _0x8b3d22?_0x3577c4(_0x8b3d22,_0x32d52f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x177fcb}):_0x8b3d22[_0x32d52f]=_0x177fcb,_0x5cc0bc=(_0x33649f,_0x13d4ae,_0x57ed77)=>_0xce5bf9(_0x33649f,typeof _0x13d4ae!=_0x1cb167(0x2d0)?_0x13d4ae+'':_0x13d4ae,_0x57ed77),_0x50ecf4=Object[_0x1cb167(0x282)],_0x3c6fb8=(_0x1647a5,_0x23dcd2,_0x395ba7,_0x51bd92)=>{const _0x29323f=_0x1cb167;for(var _0x53543b=_0x51bd92>0x1?void 0x0:_0x51bd92?_0x50ecf4(_0x23dcd2,_0x395ba7):_0x23dcd2,_0x12b82d=_0x1647a5[_0x29323f(0x13c)]-0x1,_0x3900e2;_0x12b82d>=0x0;_0x12b82d--)(_0x3900e2=_0x1647a5[_0x12b82d])&&(_0x53543b=_0x3900e2(_0x53543b)||_0x53543b);return _0x53543b;},_0x2d77be=(_0x5e706d,_0x11367b)=>(_0x79339b,_0x27c209)=>_0x11367b(_0x79339b,_0x27c209,_0x5e706d);let _0x5f3782=class extends _0xa4ceaf['RxDisposable']{constructor(_0x308dd2,_0x4cbdd9){const _0x2fa62e=_0x1cb167;super(),this['_docClipboardService']=_0x308dd2,this[_0x2fa62e(0x1bc)]=_0x4cbdd9,this[_0x2fa62e(0x28f)]();}['_init'](){const _0x190a6e=_0x1cb167,_0x298c55=this;this['disposeWithMe'](this[_0x190a6e(0x87)][_0x190a6e(0x128)]({'onBeforePasteImage':async _0x3ec3c8=>{const _0x2ecb25=_0x190a6e,_0x72f1c9=await _0x298c55[_0x2ecb25(0x1bc)][_0x2ecb25(0xc9)](_0x3ec3c8);return _0x72f1c9?{'source':_0x72f1c9[_0x2ecb25(0x1c3)],'imageSourceType':_0x72f1c9[_0x2ecb25(0x191)]}:null;}}));}};_0x5f3782=_0x3c6fb8([_0x2d77be(0x0,_0x437b0c[_0x1cb167(0x86)]),_0x2d77be(0x1,_0x334a89['IImageIoService'])],_0x5f3782);const _0x2fee6f=[_0x1cb167(0x30b),_0x1cb167(0x235),_0x1cb167(0x227),_0x1cb167(0x7f),_0x1cb167(0x165),_0x1cb167(0x2a1)];class _0x1a5231 extends _0xa4ceaf['Disposable']{constructor(){const _0x1b2be2=_0x1cb167;super(...arguments),_0x5cc0bc(this,_0x1b2be2(0x251),new Map()),_0x5cc0bc(this,'_colorIndex',0x0);}[_0x1cb167(0x9a)](_0x53c693){const _0x230a5d=_0x1cb167;if(this[_0x230a5d(0x251)][_0x230a5d(0xf9)](_0x53c693))return this[_0x230a5d(0x251)][_0x230a5d(0x134)](_0x53c693);const _0xcd2a25=_0x2fee6f[this['_colorIndex']];return this[_0x230a5d(0x83)]=(this[_0x230a5d(0x83)]+0x1)%_0x2fee6f[_0x230a5d(0x13c)],this['_assignedColors'][_0x230a5d(0x20f)](_0x53c693,_0xcd2a25),_0xcd2a25;}}function _0x290551(_0x316dbc){let _0xd396ab='';for(const _0x3454bc of _0x316dbc){const {startOffset:_0x259ee3,endOffset:_0x1056d5,isActive:_0x54b2c6,rangeType:_0x583b93,segmentId:_0x38917e,segmentPage:_0x4f257c}=_0x3454bc;_0xd396ab['length']&&(_0xd396ab+=','),_0xd396ab+=_0x259ee3+':'+_0x1056d5+':'+(_0x54b2c6?'1':'0')+':'+_0x583b93+':'+_0x38917e+':'+_0x4f257c;}return _0xd396ab;}function _0x17aea4(_0x127b94){const _0x48b712=_0x1cb167,_0xb3dc97=_0x127b94['split'](','),_0x27292a=[];for(const _0x29a1d9 of _0xb3dc97){const [_0x4f2ced,_0x3f09ee,_0x1c4219,_0x596c7a,_0x3b97b8,_0x438192]=_0x29a1d9[_0x48b712(0x2f0)](':');_0x27292a[_0x48b712(0x1d2)]({'startOffset':Number(_0x4f2ced),'endOffset':Number(_0x3f09ee),'collapsed':_0x4f2ced===_0x3f09ee,'isActive':_0x1c4219==='1','rangeType':_0x596c7a===_0xa4ceaf[_0x48b712(0x2e5)][_0x48b712(0xc3)]?_0xa4ceaf['DOC_RANGE_TYPE'][_0x48b712(0xc3)]:_0xa4ceaf[_0x48b712(0x2e5)]['RECT'],'segmentId':typeof _0x3b97b8==_0x48b712(0x28e)?String(_0x3b97b8):'','segmentPage':Number(_0x438192!=null?_0x438192:-0x1)});}return _0x27292a[_0x48b712(0x20d)](_0x51d655=>_0x51d655['isActive'])||(_0x27292a[0x0][_0x48b712(0x10d)]=!0x0),_0x27292a;}class _0x40e91b extends _0xa4ceaf[_0x1cb167(0x17a)]{constructor(){const _0x30a5f4=_0x1cb167;super(...arguments),_0x5cc0bc(this,_0x30a5f4(0x1e7),new _0x2467c8[(_0x30a5f4(0x77))](null)),_0x5cc0bc(this,_0x30a5f4(0x91),this['_collabCursorState$'][_0x30a5f4(0x126)]());}[_0x1cb167(0xb6)](_0x1fa628){const _0x238dca=_0x1cb167,{unitID:_0x29cc94,memberID:_0x2390f2,textRanges:_0x2b0f01}=_0x1fa628,_0x29e180=_0x290551(_0x2b0f01);if(_0x29e180==='')return;const _0x51ca7c={'unitID':_0x29cc94,'memberID':_0x2390f2,'selection':_0x29e180};this[_0x238dca(0x1e7)][_0x238dca(0x224)](_0x51ca7c);}}var _0x2f2bb5=Object[_0x1cb167(0x282)],_0x50e2b8=(_0x2e7487,_0x3feb4b,_0x4a7fe1,_0x2f94b5)=>{const _0x3fb512=_0x1cb167;for(var _0x8cf3da=_0x2f94b5>0x1?void 0x0:_0x2f94b5?_0x2f2bb5(_0x3feb4b,_0x4a7fe1):_0x3feb4b,_0x1b3f5e=_0x2e7487[_0x3fb512(0x13c)]-0x1,_0x20a794;_0x1b3f5e>=0x0;_0x1b3f5e--)(_0x20a794=_0x2e7487[_0x1b3f5e])&&(_0x8cf3da=_0x20a794(_0x8cf3da)||_0x8cf3da);return _0x8cf3da;},_0x3a8e24=(_0x2f1a9a,_0x5bcfc9)=>(_0x2c45a3,_0x166512)=>_0x5bcfc9(_0x2c45a3,_0x166512,_0x2f1a9a);const _0x39e45f=0x12c,_0x347c20=0x64;let _0xc7e0c0=class extends _0xa4ceaf['RxDisposable']{constructor(_0x5d4c23,_0x422f67,_0x41f853,_0x21de40,_0x571baf,_0x4dd4ec,_0x2ad711,_0x59e353,_0x4ad7ee){const _0x23e571=_0x1cb167;super(),_0x5cc0bc(this,_0x23e571(0xa2),!0x1),_0x5cc0bc(this,_0x23e571(0x28f),!0x1),_0x5cc0bc(this,'_cursorInfo$',new _0x2467c8[(_0x23e571(0x77))](new Map())),_0x5cc0bc(this,_0x23e571(0x129),this['_cursorInfo$']['asObservable']()),_0x5cc0bc(this,_0x23e571(0x148),new _0x2467c8['BehaviorSubject']([])),_0x5cc0bc(this,'roomMembers$',this[_0x23e571(0x148)][_0x23e571(0x19c)](_0x2467c8['debounceTime'](_0x39e45f))),_0x5cc0bc(this,'_updateLocalCursor',_0xa4ceaf[_0x23e571(0x242)](_0x22e245=>{const _0x4f1879=_0x23e571,_0x20a00f={'eventID':_0x192f8c[_0x4f1879(0x290)][_0x4f1879(0x6a)],'data':{'unitID':this[_0x4f1879(0x30c)],'memberID':this['_session']['getMemberID'](),'selection':_0x290551(_0x22e245)}};this[_0x4f1879(0x162)]['send'](_0x20a00f,this['unitID']);},_0x347c20)),(this['unitID']=_0x5d4c23,this[_0x23e571(0x162)]=_0x422f67,this[_0x23e571(0xf7)]=_0x41f853,this[_0x23e571(0x115)]=_0x21de40,this['_memberService']=_0x571baf,this[_0x23e571(0x1b9)]=_0x4dd4ec,this[_0x23e571(0xbf)]=_0x2ad711,this[_0x23e571(0x2ee)]=_0x59e353,this[_0x23e571(0x18b)]=_0x4ad7ee);}get[_0x1cb167(0x2e6)](){return this['_cursorInfo$']['getValue']();}get[_0x1cb167(0x1f3)](){return this['_roomMembers$']['getValue']();}[_0x1cb167(0x1ab)](){const _0x441d0f=_0x1cb167;super[_0x441d0f(0x1ab)](),this[_0x441d0f(0x81)][_0x441d0f(0x224)](new Map()),this[_0x441d0f(0x81)][_0x441d0f(0x232)](),this[_0x441d0f(0x148)]['next']([]),this[_0x441d0f(0x148)][_0x441d0f(0x232)]();}[_0x1cb167(0xbc)](){const _0x36523b=_0x1cb167;this[_0x36523b(0x28f)]||(this[_0x36523b(0x28f)]=!0x0,this[_0x36523b(0x162)][_0x36523b(0x1d3)][_0x36523b(0x19c)](_0x2467c8[_0x36523b(0x180)](this[_0x36523b(0x2eb)]))[_0x36523b(0x277)](_0x85e6c0=>{const _0x5e7682=_0x36523b;_0x85e6c0===_0x1fea06[_0x5e7682(0x1de)]['ONLINE']?this[_0x5e7682(0x1f5)]():this[_0x5e7682(0x18d)]();}),this[_0x36523b(0x162)][_0x36523b(0x1bd)][_0x36523b(0x19c)](_0x2467c8[_0x36523b(0x180)](this[_0x36523b(0x2eb)]))[_0x36523b(0x277)](_0x32de83=>{const _0xa59cc9=_0x36523b,_0x25fa26=_0x32de83[_0xa59cc9(0xac)];_0x25fa26===_0x192f8c[_0xa59cc9(0x290)][_0xa59cc9(0x6a)]&&this[_0xa59cc9(0x80)](_0x32de83),_0x25fa26===_0x192f8c['CollaborationEvent']['USERS_LEAVE']&&this['_onCursorDelete'](_0x32de83);}),this[_0x36523b(0x269)](this[_0x36523b(0x18b)]['onCommandExecuted'](_0x3b3eaf=>{const _0x2c7d98=_0x36523b,_0x412cb5=_0x3b3eaf[_0x2c7d98(0x97)];_0x412cb5!=null&&this[_0x2c7d98(0xa2)]&&_0x3b3eaf['id']===_0x2695a0[_0x2c7d98(0x228)]['id']&&_0x412cb5['unitId']===this['unitID']&&_0x412cb5[_0x2c7d98(0x10c)]===!0x1&&_0x412cb5['ranges'][_0x2c7d98(0x13c)]>0x0&&this[_0x2c7d98(0x1b0)](_0x412cb5[_0x2c7d98(0x285)]);})),this['_syncEditingCollabCursorService']['collabCursorState$']['pipe'](_0x2467c8[_0x36523b(0x180)](this[_0x36523b(0x2eb)]))['subscribe'](_0xe535b0=>{const _0x260c26=_0x36523b;if((_0xe535b0==null?void 0x0:_0xe535b0['unitID'])!==this['unitID'])return;const _0x2cbb22={'eventID':_0x192f8c[_0x260c26(0x290)]['UPDATE_CURSOR'],'data':_0xe535b0};this[_0x260c26(0x80)](_0x2cbb22);}),this[_0x36523b(0x269)](this[_0x36523b(0x18b)][_0x36523b(0xa7)](_0x2e7701=>{const _0x5555da=_0x36523b;if(_0x2e7701[_0x5555da(0x97)]==null)return;const _0x383a89=_0x2e7701[_0x5555da(0x97)];if(_0x2e7701['id']!==_0x2695a0[_0x5555da(0xa6)]['id']||_0x383a89['unitId']!==this[_0x5555da(0x30c)])return;const _0x3852c7={'id':_0x5555da(0x2b2),'params':_0x383a89},_0x5383ad=this['cursorInfo'];for(const [_0x86a2bb,_0xa31d23]of _0x5383ad){const _0x2f53f9={'id':_0x5555da(0x2b2),'params':{'unitId':this[_0x5555da(0x30c)],'actions':null,'textRanges':_0xa31d23[_0x5555da(0x285)]}},_0x4dcff5=this[_0x5555da(0xbf)][_0x5555da(0x2c9)](_0x3852c7,_0x2f53f9,!0x1);if(_0x192f8c['isTransformMutationFailure'](_0x4dcff5))throw _0x4dcff5['error'];_0x5383ad[_0x5555da(0x20f)](_0x86a2bb,{..._0xa31d23,'ranges':_0x4dcff5[_0x5555da(0x1a5)][_0x5555da(0x97)][_0x5555da(0xdb)]});}queueMicrotask(()=>{const _0x543dbb=_0x5555da;this[_0x543dbb(0x81)]['next'](_0x5383ad);});})));}['_onCursorUpdate'](_0x386502){const _0x446eaa=_0x1cb167;var _0x37bfab,_0x257b2a;const {memberID:_0x2afac1,selection:_0x4e46e1}=_0x386502[_0x446eaa(0x223)],_0x372798=_0x17aea4(_0x4e46e1),_0xcf8add=(_0x257b2a=(_0x37bfab=this['_memberService']['getMember'](this[_0x446eaa(0x30c)],_0x2afac1))==null?void 0x0:_0x37bfab[_0x446eaa(0x2cb)])!=null?_0x257b2a:'Unknown\x20user',_0x2dc86a={'color':this['_colorAssignService'][_0x446eaa(0x9a)](_0x2afac1),'name':_0xcf8add,'ranges':_0x372798},_0x5f0990=this[_0x446eaa(0x2e6)];_0x5f0990[_0x446eaa(0x20f)](_0x2afac1,_0x2dc86a),this[_0x446eaa(0x81)][_0x446eaa(0x224)](_0x5f0990);}[_0x1cb167(0x2c0)](_0x59fd3b){const _0x490884=_0x1cb167,{memberID:_0x22663b}=_0x59fd3b[_0x490884(0x223)],_0x421663=this[_0x490884(0x2e6)];_0x421663[_0x490884(0x2b6)](_0x22663b),this['_cursorInfo$'][_0x490884(0x224)](_0x421663);}[_0x1cb167(0x1f5)](){const _0x538ed7=_0x1cb167;var _0x4545b9;if(this[_0x538ed7(0xa2)]=!0x0,((_0x4545b9=this['_univerInstanceService'][_0x538ed7(0x275)]())==null?void 0x0:_0x4545b9[_0x538ed7(0x2b0)]())!==this[_0x538ed7(0x30c)])return;const _0x170863=this[_0x538ed7(0xf7)]['get'](_0x2695a0['DocSelectionManagerService'])[_0x538ed7(0x303)]();Array['isArray'](_0x170863)&&_0x170863['length']>0x0&&this[_0x538ed7(0x1b0)](_0x170863);}[_0x1cb167(0x18d)](){const _0x14e5ae=_0x1cb167;this[_0x14e5ae(0xa2)]=!0x1;}};_0xc7e0c0=_0x50e2b8([_0x3a8e24(0x2,_0xa4ceaf['Inject'](_0xa4ceaf['Injector'])),_0x3a8e24(0x3,_0xa4ceaf[_0x1cb167(0x1b1)](_0x1a5231)),_0x3a8e24(0x4,_0xa4ceaf['Inject'](_0x1fea06['MemberService'])),_0x3a8e24(0x5,_0xa4ceaf[_0x1cb167(0x1b1)](_0x40e91b)),_0x3a8e24(0x6,_0x192f8c[_0x1cb167(0x1a9)]),_0x3a8e24(0x7,_0xa4ceaf[_0x1cb167(0x1dc)]),_0x3a8e24(0x8,_0xa4ceaf[_0x1cb167(0x104)])],_0xc7e0c0);var _0x1a8d1e=Object['getOwnPropertyDescriptor'],_0x323fc8=(_0x527c1a,_0x2cccbf,_0x1ed77a,_0x485257)=>{const _0x262338=_0x1cb167;for(var _0x3c26be=_0x485257>0x1?void 0x0:_0x485257?_0x1a8d1e(_0x2cccbf,_0x1ed77a):_0x2cccbf,_0x944234=_0x527c1a[_0x262338(0x13c)]-0x1,_0x3479dd;_0x944234>=0x0;_0x944234--)(_0x3479dd=_0x527c1a[_0x944234])&&(_0x3c26be=_0x3479dd(_0x3c26be)||_0x3c26be);return _0x3c26be;},_0x1dff5c=(_0x2e9443,_0x496fcd)=>(_0x144b00,_0x4dd419)=>_0x496fcd(_0x144b00,_0x4dd419,_0x2e9443);const _0x591087=0x12c,_0x50f37c=0x64,_0x8ee943=()=>{let _0x2e321f=[],_0x3aaa47=!0x1;return _0x1037b9=>{_0x2e321f['push'](_0x1037b9),_0x3aaa47||(_0x3aaa47=!0x0,setTimeout(()=>{const _0x3cf0b3=_0x4682;_0x2e321f[_0x3cf0b3(0x1ca)](_0xb1348e=>_0xb1348e()),_0x2e321f=[],_0x3aaa47=!0x1;}));};};let _0x608191=class extends _0xa4ceaf[_0x1cb167(0x17a)]{constructor(_0x1c63c7,_0x29f233,_0x4785d8,_0x28a9e1,_0x3d483e,_0x146706,_0x57acbf,_0x47ee4c){const _0x252054=_0x1cb167;super(),_0x5cc0bc(this,_0x252054(0xa2),!0x1),_0x5cc0bc(this,'_init',!0x1),_0x5cc0bc(this,_0x252054(0x81),new _0x2467c8[(_0x252054(0x77))](new Map())),_0x5cc0bc(this,'cursorInfo$',this[_0x252054(0x81)][_0x252054(0x126)]()),_0x5cc0bc(this,_0x252054(0x148),new _0x2467c8[(_0x252054(0x77))]([])),_0x5cc0bc(this,'roomMembers$',this['_roomMembers$'][_0x252054(0x19c)](_0x2467c8[_0x252054(0xf2)](_0x591087))),_0x5cc0bc(this,'_updateLocalCursor',_0xa4ceaf['debounce']((_0x6b3c41,_0x52a196)=>{const _0x4d0603=_0x252054,_0x37174a={'eventID':_0x192f8c[_0x4d0603(0x290)][_0x4d0603(0x6a)],'data':{'unitID':this['unitID'],'memberID':this['_session']['getMemberID'](),'selection':_0x66085f[_0x4d0603(0x99)](_0x6b3c41,_0x52a196[_0x4d0603(0x1d9)])}};this['_session'][_0x4d0603(0xbb)](_0x37174a,this[_0x4d0603(0x30c)]);},_0x50f37c)),(this[_0x252054(0x30c)]=_0x1c63c7,this[_0x252054(0x162)]=_0x29f233,this[_0x252054(0xf7)]=_0x4785d8,this[_0x252054(0x115)]=_0x28a9e1,this[_0x252054(0x17d)]=_0x3d483e,this[_0x252054(0x2ee)]=_0x146706,this[_0x252054(0x18b)]=_0x57acbf,this['_refRangeService']=_0x47ee4c);}get[_0x1cb167(0x2e6)](){const _0x34e2e3=_0x1cb167;return this[_0x34e2e3(0x81)][_0x34e2e3(0x161)]();}get[_0x1cb167(0x1f3)](){const _0x4dc259=_0x1cb167;return this[_0x4dc259(0x148)]['getValue']();}['dispose'](){const _0x3c27b5=_0x1cb167;super[_0x3c27b5(0x1ab)](),this[_0x3c27b5(0x81)]['next'](new Map()),this[_0x3c27b5(0x81)]['complete'](),this[_0x3c27b5(0x148)][_0x3c27b5(0x224)]([]),this[_0x3c27b5(0x148)][_0x3c27b5(0x232)]();}[_0x1cb167(0xbc)](){const _0x1ecf4e=_0x1cb167;this[_0x1ecf4e(0x28f)]||(this['_init']=!0x0,this[_0x1ecf4e(0x162)][_0x1ecf4e(0x1d3)][_0x1ecf4e(0x19c)](_0x2467c8['takeUntil'](this[_0x1ecf4e(0x2eb)]))['subscribe'](_0x56f3c7=>{const _0xa0864e=_0x1ecf4e;_0x56f3c7===_0x1fea06['SessionStatus']['ONLINE']?this[_0xa0864e(0x1f5)]():this[_0xa0864e(0x18d)]();}),this['_session']['event$']['pipe'](_0x2467c8[_0x1ecf4e(0x180)](this['dispose$']))['subscribe'](_0x78716c=>{const _0x4aeddf=_0x1ecf4e,_0x560d5f=_0x78716c['eventID'];_0x560d5f===_0x192f8c['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x4aeddf(0x80)](_0x78716c),_0x560d5f===_0x192f8c[_0x4aeddf(0x290)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x78716c);}),this[_0x1ecf4e(0x1b7)](),this[_0x1ecf4e(0x269)](this[_0x1ecf4e(0x18b)]['onCommandExecuted'](_0x2c8443=>{const _0x23176e=_0x1ecf4e;if(this[_0x23176e(0xa2)]&&_0x2c8443['id']===_0x15df57[_0x23176e(0xc7)]['id']&&_0x2c8443['params'][_0x23176e(0x159)]===this[_0x23176e(0x30c)]){const _0x33e37a=_0x2c8443['params'];this['_updateLocalCursor'](_0x33e37a[_0x23176e(0x141)],_0x33e37a[_0x23176e(0x117)][0x0]);}})));}['_onCursorUpdate'](_0x40a0f8){const _0x2a7c2a=_0x1cb167;var _0x1725e3,_0x1dd973;const {memberID:_0x204d6d,selection:_0xbf0e90}=_0x40a0f8['data'],{sheetName:_0x1ffbda,range:_0x243a9c}=_0x66085f[_0x2a7c2a(0x219)](_0xbf0e90),_0x4088ed={'name':(_0x1dd973=(_0x1725e3=this[_0x2a7c2a(0x17d)][_0x2a7c2a(0x2fb)](this['unitID'],_0x204d6d))==null?void 0x0:_0x1725e3['name'])!=null?_0x1dd973:'Unknown\x20user','range':this[_0x2a7c2a(0x19a)](_0x1ffbda,_0x243a9c),'sheetID':_0x1ffbda,'color':this['_colorAssignService'][_0x2a7c2a(0x9a)](_0x204d6d),'selection':_0xbf0e90},_0xee1966=this[_0x2a7c2a(0x2e6)];_0xee1966['set'](_0x204d6d,_0x4088ed),this[_0x2a7c2a(0x81)][_0x2a7c2a(0x224)](_0xee1966);}[_0x1cb167(0x2c0)](_0x257d01){const _0x24abfc=_0x1cb167,{memberID:_0x181001}=_0x257d01[_0x24abfc(0x223)],_0x1dee42=this['cursorInfo'];_0x1dee42['delete'](_0x181001),this[_0x24abfc(0x81)][_0x24abfc(0x224)](_0x1dee42);}['_getMergeRange'](_0x41db43,_0x19823d){const _0x4049bf=_0x1cb167;var _0x246020,_0x1ae452;const _0x4d9788=(_0x1ae452=(_0x246020=this[_0x4049bf(0x2ee)]['getUniverSheetInstance'](this[_0x4049bf(0x30c)]))==null?void 0x0:_0x246020[_0x4049bf(0x8b)](_0x41db43))==null?void 0x0:_0x1ae452[_0x4049bf(0x18e)]();return(_0x4d9788==null?void 0x0:_0x4d9788['find'](_0x3373b1=>_0xa4ceaf[_0x4049bf(0x2c7)]['contains'](_0x3373b1,_0x19823d)))||_0x19823d;}[_0x1cb167(0x1b7)](){const _0x407762=_0x1cb167,_0x5b0b3d=new _0xa4ceaf['DisposableCollection'](),_0x33ed71=_0x8ee943(),_0x33f471=()=>{const _0x3b1dca=_0x4682;_0x5b0b3d[_0x3b1dca(0x1ab)]();const _0x4fecb3=(_0x9ad0dd,_0x4ffd50,_0x203f54,_0x5a406d)=>{const _0x657b60=_0x3b1dca;let _0x637203=[];switch(_0x9ad0dd['id']){case _0x15df57[_0x657b60(0xd4)]['DeleteRangeMoveLeftCommandId']:{_0x637203=_0x15df57[_0x657b60(0x2e0)](_0x9ad0dd,_0x5a406d);break;}case _0x15df57['EffectRefRangId'][_0x657b60(0x1a0)]:{_0x637203=_0x15df57[_0x657b60(0x2c4)](_0x9ad0dd,_0x5a406d);break;}case _0x15df57[_0x657b60(0xd4)][_0x657b60(0xcb)]:{_0x637203=_0x15df57[_0x657b60(0x208)](_0x9ad0dd,_0x5a406d);break;}case _0x15df57[_0x657b60(0xd4)][_0x657b60(0x248)]:{_0x637203=_0x15df57[_0x657b60(0x92)](_0x9ad0dd,_0x5a406d);break;}case _0x15df57['EffectRefRangId'][_0x657b60(0x76)]:{_0x637203=_0x15df57['handleInsertRangeMoveRight'](_0x9ad0dd,_0x5a406d);break;}case _0x15df57[_0x657b60(0xd4)][_0x657b60(0x12e)]:{_0x637203=_0x15df57[_0x657b60(0x280)](_0x9ad0dd,_0x5a406d);break;}case _0x15df57[_0x657b60(0xd4)]['MoveRangeCommandId']:{_0x637203=_0x15df57['handleMoveRange'](_0x9ad0dd,_0x5a406d);break;}case _0x15df57[_0x657b60(0xd4)][_0x657b60(0x1d4)]:{_0x637203=_0x15df57[_0x657b60(0x176)](_0x9ad0dd,_0x5a406d);break;}case _0x15df57[_0x657b60(0xd4)][_0x657b60(0x273)]:{_0x637203=_0x15df57[_0x657b60(0x1d6)](_0x9ad0dd,_0x5a406d);break;}}const _0x290d58=_0x15df57[_0x657b60(0x9d)](_0x637203,_0x5a406d),_0x25d326=this[_0x657b60(0x2e6)][_0x657b60(0x134)](_0x4ffd50);if(_0x25d326&&_0x290d58){const _0x356fba={..._0x25d326,'range':_0x290d58};this['cursorInfo'][_0x657b60(0x20f)](_0x4ffd50,_0x356fba),_0x33ed71(()=>{const _0x342230=_0x657b60,_0xf3413f=this['_refRangeService'][_0x342230(0x187)](_0x290d58,_0x1e7514=>(_0xf3413f[_0x342230(0x1ab)](),_0x4fecb3(_0x1e7514,_0x4ffd50,_0x203f54,_0x290d58)));_0x5b0b3d[_0x342230(0x1d7)](_0xf3413f);});}return{'redos':[],'undos':[]};};this[_0x3b1dca(0x2e6)][_0x3b1dca(0x1ca)]((_0x398dc8,_0x606f10)=>{const _0x1e4f48=_0x3b1dca,{range:_0x14df23,sheetID:_0x329491}=_0x398dc8,_0x4c48f7=this[_0x1e4f48(0x21a)]['registerRefRange'](_0x14df23,_0x3791e0=>(_0x4c48f7[_0x1e4f48(0x1ab)](),_0x4fecb3(_0x3791e0,_0x606f10,_0x329491,_0x14df23)));_0x5b0b3d[_0x1e4f48(0x1d7)](_0x4c48f7);});};this[_0x407762(0x269)](_0xa4ceaf[_0x407762(0xb2)](this[_0x407762(0x81)][_0x407762(0x277)](()=>{_0x33f471();})));}[_0x1cb167(0x1f5)](){const _0x5bab5f=_0x1cb167;var _0x906efc,_0x49edbf;if(this[_0x5bab5f(0xa2)]=!0x0,((_0x906efc=this[_0x5bab5f(0x2ee)]['getFocusedUnit']())==null?void 0x0:_0x906efc[_0x5bab5f(0x2b0)]())!==this[_0x5bab5f(0x30c)])return;const _0x922d70=(_0x49edbf=this[_0x5bab5f(0xf7)][_0x5bab5f(0x134)](_0x15df57[_0x5bab5f(0x29d)])[_0x5bab5f(0x286)]())==null?void 0x0:_0x49edbf[0x0],_0xb54625=this[_0x5bab5f(0x2ee)][_0x5bab5f(0x152)](_0xa4ceaf[_0x5bab5f(0x167)][_0x5bab5f(0x1b6)])[_0x5bab5f(0x20a)]();_0x922d70&&_0xb54625&&this[_0x5bab5f(0x1b0)](_0xb54625[_0x5bab5f(0x297)](),_0x922d70);}[_0x1cb167(0x18d)](){const _0x5d96fe=_0x1cb167;this[_0x5d96fe(0xa2)]=!0x1;}};_0x608191=_0x323fc8([_0x1dff5c(0x2,_0xa4ceaf[_0x1cb167(0x1b1)](_0xa4ceaf[_0x1cb167(0x1d1)])),_0x1dff5c(0x3,_0xa4ceaf[_0x1cb167(0x1b1)](_0x1a5231)),_0x1dff5c(0x4,_0xa4ceaf[_0x1cb167(0x1b1)](_0x1fea06[_0x1cb167(0x26c)])),_0x1dff5c(0x5,_0xa4ceaf[_0x1cb167(0x1dc)]),_0x1dff5c(0x6,_0xa4ceaf[_0x1cb167(0x104)]),_0x1dff5c(0x7,_0xa4ceaf[_0x1cb167(0x1b1)](_0x15df57['RefRangeService']))],_0x608191);var _0x2235b5=Object['getOwnPropertyDescriptor'],_0x4e8f69=(_0xae9555,_0xa59099,_0x47b1e6,_0x36e7ee)=>{const _0x5f110e=_0x1cb167;for(var _0x3a42a3=_0x36e7ee>0x1?void 0x0:_0x36e7ee?_0x2235b5(_0xa59099,_0x47b1e6):_0xa59099,_0x43d7db=_0xae9555[_0x5f110e(0x13c)]-0x1,_0x3d4343;_0x43d7db>=0x0;_0x43d7db--)(_0x3d4343=_0xae9555[_0x43d7db])&&(_0x3a42a3=_0x3d4343(_0x3a42a3)||_0x3a42a3);return _0x3a42a3;},_0x523880=(_0x4c8ae8,_0xa5bb29)=>(_0x15ff13,_0x34dce9)=>_0xa5bb29(_0x15ff13,_0x34dce9,_0x4c8ae8);let _0x1e89a4=class extends _0xa4ceaf['RxDisposable']{constructor(_0x2125f4,_0x812885,_0x495119){const _0x442c63=_0x1cb167;super(),_0x5cc0bc(this,'_entities',new Map()),_0x5cc0bc(this,_0x442c63(0x8a),new _0x2467c8[(_0x442c63(0x1e9))]()),(this[_0x442c63(0x2ee)]=_0x2125f4,this[_0x442c63(0xf7)]=_0x812885,this[_0x442c63(0x1f7)]=_0x495119,this[_0x442c63(0x28f)]());}[_0x1cb167(0x1ab)](){const _0x10da8f=_0x1cb167;super['dispose'](),this[_0x10da8f(0x8a)][_0x10da8f(0x232)](),this[_0x10da8f(0x1cf)]['forEach'](_0x5be20d=>_0x5be20d[_0x10da8f(0x1ab)]());}[_0x1cb167(0xa8)](_0x21f968){const _0x59252c=_0x1cb167;return this[_0x59252c(0x1cf)][_0x59252c(0xf9)](_0x21f968)?this[_0x59252c(0x1cf)][_0x59252c(0x134)](_0x21f968)[_0x59252c(0x129)]:this['_entityInit$'][_0x59252c(0x19c)](_0x2467c8[_0x59252c(0x1d8)](_0x13dd0e=>_0x13dd0e[_0x59252c(0x30c)]===_0x21f968),_0x2467c8['switchMap'](_0x2d592b=>_0x2d592b[_0x59252c(0x129)]));}[_0x1cb167(0x28f)](){const _0x336ea5=_0x1cb167;this[_0x336ea5(0x2ee)][_0x336ea5(0x231)](_0xa4ceaf[_0x336ea5(0x167)][_0x336ea5(0x1b6)])['pipe'](_0x2467c8[_0x336ea5(0x180)](this[_0x336ea5(0x2eb)]))[_0x336ea5(0x277)](async _0x42dcb8=>{const _0xc6628f=_0x336ea5,_0x51ec5c=_0x42dcb8['getUnitId'](),_0x282e14=await this[_0xc6628f(0x11c)](_0x51ec5c);this['_entityInit$'][_0xc6628f(0x224)](_0x282e14),this['_entities']['set'](_0x51ec5c,_0x282e14);}),this[_0x336ea5(0x2ee)][_0x336ea5(0x231)](_0xa4ceaf['UniverInstanceType'][_0x336ea5(0x1c9)])['pipe'](_0x2467c8[_0x336ea5(0x180)](this[_0x336ea5(0x2eb)]))[_0x336ea5(0x19c)](_0x2467c8[_0x336ea5(0x1d8)](_0x5132d9=>!_0x5132d9[_0x336ea5(0x2b0)]()[_0x336ea5(0x2b3)]('__')))['subscribe'](async _0x8ce30f=>{const _0x5b6f90=_0x336ea5,_0x30f397=_0x8ce30f[_0x5b6f90(0x2b0)](),_0x5f5527=await this[_0x5b6f90(0x2be)](_0x30f397);this[_0x5b6f90(0x8a)][_0x5b6f90(0x224)](_0x5f5527),this[_0x5b6f90(0x1cf)][_0x5b6f90(0x20f)](_0x30f397,_0x5f5527);}),_0x2467c8['merge'](this['_univerInstanceService'][_0x336ea5(0x272)](_0xa4ceaf[_0x336ea5(0x167)]['UNIVER_DOC']),this[_0x336ea5(0x2ee)]['getTypeOfUnitDisposed$'](_0xa4ceaf[_0x336ea5(0x167)]['UNIVER_SHEET']))[_0x336ea5(0x19c)](_0x2467c8[_0x336ea5(0x180)](this[_0x336ea5(0x2eb)]))[_0x336ea5(0x277)](_0x369d1d=>{const _0x8a190=_0x336ea5,_0x772271=_0x369d1d[_0x8a190(0x2b0)](),_0x50fb3d=this[_0x8a190(0x1cf)][_0x8a190(0x134)](_0x772271);_0x50fb3d&&(_0x50fb3d[_0x8a190(0x1ab)](),this[_0x8a190(0x1cf)][_0x8a190(0x2b6)](_0x772271));});}async[_0x1cb167(0x11c)](_0x5ce4bc){const _0x37f8e6=_0x1cb167,_0x19024f=await this['_collabSessionService'][_0x37f8e6(0xcf)](_0x5ce4bc),_0x3c3655=this['_injector'][_0x37f8e6(0x295)](_0x608191,_0x5ce4bc,_0x19024f);return _0x3c3655['init'](),_0x3c3655;}async['_startDocCollabCursor'](_0x7093f3){const _0x5e7975=_0x1cb167,_0x4301ed=await this[_0x5e7975(0x1f7)][_0x5e7975(0xcf)](_0x7093f3),_0x51e1c9=this[_0x5e7975(0xf7)][_0x5e7975(0x295)](_0xc7e0c0,_0x7093f3,_0x4301ed);return _0x51e1c9['init'](),_0x51e1c9;}};_0x1e89a4=_0x4e8f69([_0x523880(0x0,_0xa4ceaf[_0x1cb167(0x1dc)]),_0x523880(0x1,_0xa4ceaf[_0x1cb167(0x1b1)](_0xa4ceaf['Injector'])),_0x523880(0x2,_0xa4ceaf[_0x1cb167(0x1b1)](_0x1fea06[_0x1cb167(0x29c)]))],_0x1e89a4);const _0x3bb048=0x14,_0x3179e6=0xc8,_0x2434f1=0x4,_0x51c659=0x5;function _0x1cd5ff(_0x52a0b6,_0x3a75b1){const _0x3b08ba=_0x1cb167;let {radius:_0x58ac41,width:_0x3ab275,height:_0x539ad9}=_0x3a75b1;_0x58ac41=_0x58ac41!=null?_0x58ac41:0x0,_0x3ab275=_0x3ab275!=null?_0x3ab275:0x1e,_0x539ad9=_0x539ad9!=null?_0x539ad9:0x1e;let _0xc82f5d=0x0,_0x415fed=0x0,_0x3f6f43=0x0;_0xc82f5d=_0x415fed=_0x3f6f43=Math[_0x3b08ba(0x13f)](_0x58ac41,_0x3ab275/0x2,_0x539ad9/0x2),_0x52a0b6[_0x3b08ba(0x21e)](),_0x52a0b6[_0x3b08ba(0x15d)](_0xc82f5d,0x0),_0x52a0b6[_0x3b08ba(0xc1)](_0x3ab275-_0x415fed,0x0),_0x52a0b6['arc'](_0x3ab275-_0x415fed,_0x415fed,_0x415fed,Math['PI']*0x3/0x2,0x0,!0x1),_0x52a0b6[_0x3b08ba(0xc1)](_0x3ab275,_0x539ad9-_0x3f6f43),_0x52a0b6[_0x3b08ba(0xd6)](_0x3ab275-_0x3f6f43,_0x539ad9-_0x3f6f43,_0x3f6f43,0x0,Math['PI']/0x2,!0x1),_0x52a0b6[_0x3b08ba(0xc1)](0x0,_0x539ad9),_0x52a0b6[_0x3b08ba(0xc1)](0x0,_0xc82f5d),_0x52a0b6[_0x3b08ba(0xd6)](_0xc82f5d,_0xc82f5d,_0xc82f5d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x52a0b6[_0x3b08ba(0x254)](),_0x3a75b1[_0x3b08ba(0x2bc)]&&(_0x52a0b6[_0x3b08ba(0x183)](),_0x52a0b6[_0x3b08ba(0x229)]=_0x3a75b1[_0x3b08ba(0x2bc)],_0x3a75b1[_0x3b08ba(0x307)]===_0x3b08ba(0x1cb)?_0x52a0b6[_0x3b08ba(0x2bc)](_0x3b08ba(0x1cb)):_0x52a0b6[_0x3b08ba(0x2bc)](),_0x52a0b6[_0x3b08ba(0xdd)]());}class _0x281457 extends _0x2f4842[_0x1cb167(0xae)]{constructor(_0x55a654,_0xc80be1){const _0x31a728=_0x1cb167;super(_0x55a654,_0xc80be1),_0x5cc0bc(this,_0x31a728(0x2dc)),_0x5cc0bc(this,'text'),(this[_0x31a728(0x2dc)]=_0xc80be1==null?void 0x0:_0xc80be1['color'],this['text']=_0xc80be1==null?void 0x0:_0xc80be1[_0x31a728(0x89)]);}static[_0x1cb167(0x2a4)](_0x795d76,_0xb5b397){const _0x3c4bbf=_0x1cb167,{text:_0x46f839,color:_0x111d89}=_0xb5b397;_0x795d76[_0x3c4bbf(0x183)](),_0x795d76[_0x3c4bbf(0x225)]=_0x3c4bbf(0x2dd);const _0x2ed22=_0x795d76[_0x3c4bbf(0x203)](_0x46f839)['width'],_0x807966=Math['min'](_0x2ed22+0x2*_0x2434f1,_0x3179e6);_0x1cd5ff(_0x795d76,{'height':_0x3bb048,'radius':0x4,'width':_0x807966,'fill':_0x111d89}),_0x795d76[_0x3c4bbf(0x229)]=_0x3c4bbf(0xbe);const _0x5cc554=_0x2434f1,_0x1c6fb6=_0x3bb048-_0x51c659,_0x8cb423=_0x3179e6-0x2*_0x2434f1;if(_0x2ed22>_0x8cb423){let _0x44895b='',_0x4ad308=0x0;for(const _0x3fd0d1 of _0x46f839){const _0x1f19ed=_0x795d76[_0x3c4bbf(0x203)](_0x3fd0d1)[_0x3c4bbf(0x239)];if(_0x4ad308+_0x1f19ed<=_0x8cb423-_0x795d76[_0x3c4bbf(0x203)](_0x3c4bbf(0x1d5))['width'])_0x44895b+=_0x3fd0d1,_0x4ad308+=_0x1f19ed;else{_0x44895b+='...';break;}}_0x795d76['fillText'](_0x44895b,_0x5cc554,_0x1c6fb6);}else _0x795d76[_0x3c4bbf(0xec)](_0x46f839,_0x5cc554,_0x1c6fb6);_0x795d76[_0x3c4bbf(0xdd)]();}[_0x1cb167(0x154)](_0x4b24ff){const _0x57955c=_0x1cb167;_0x281457[_0x57955c(0x2a4)](_0x4b24ff,this);}}const _0x56ff9b=_0x1cb167(0xc4),_0x4fc702='collab-text-range-',_0x51d646='collab-rect-range-',_0x489ad3=0x6,_0xd4e5af=1.5,_0x596bc1=0x4,_0x1b3cf8=1.5,_0xa47f33=_0x1cb167(0x1fe);class _0x306947{constructor(_0x335433,_0x59e7bc,_0x1c51a4,_0x5c7b99){const _0x255c63=_0x1cb167;_0x5cc0bc(this,_0x255c63(0x2da),[]),_0x5cc0bc(this,_0x255c63(0x17e),null),_0x5cc0bc(this,'_textBubble',null),_0x5cc0bc(this,_0x255c63(0x2ba),null),_0x5cc0bc(this,'_hideTimer',null),_0x5cc0bc(this,_0x255c63(0x308),null),(this[_0x255c63(0x1c1)]=_0x335433,this['_scene']=_0x59e7bc,this[_0x255c63(0x12f)]=_0x1c51a4,this[_0x255c63(0x1df)]=_0x5c7b99,this[_0x255c63(0xf1)]());}set['_hover'](_0x4713a2){const _0xd804f2=_0x1cb167;_0x4713a2?(this[_0xd804f2(0x2ba)]&&this[_0xd804f2(0x2ba)][_0xd804f2(0x1ac)](),this[_0xd804f2(0x14c)]&&this[_0xd804f2(0x14c)][_0xd804f2(0x1a3)]()):(this[_0xd804f2(0x2ba)]&&this['_anchorDot'][_0xd804f2(0x1a3)](),this[_0xd804f2(0x14c)]&&this[_0xd804f2(0x14c)][_0xd804f2(0x1ac)]());}[_0x1cb167(0x1ab)](){const _0x48ee6f=_0x1cb167;for(const _0x3ad5c4 of this[_0x48ee6f(0x2da)])_0x3ad5c4['dispose']();this[_0x48ee6f(0x14c)]&&this[_0x48ee6f(0x14c)][_0x48ee6f(0x1ab)](),this['_anchorDot']&&this[_0x48ee6f(0x2ba)]['dispose'](),this[_0x48ee6f(0x17e)]&&this[_0x48ee6f(0x17e)][_0x48ee6f(0x1ab)](),this[_0x48ee6f(0x308)]&&this[_0x48ee6f(0x308)]();}[_0x1cb167(0xf1)](){const _0x46c5a3=_0x1cb167;var _0x449737;const {_docSkeleton:_0x564fe1,_document:_0x5d6ec8}=this,{color:_0x521e1b,name:_0x6796ba,ranges:_0x5a5ab6}=this[_0x46c5a3(0x1c1)],_0x27cae0=_0x5d6ec8[_0x46c5a3(0x2bb)](),{docsLeft:_0x1cb2c0,docsTop:_0xe0324f}=_0x27cae0,_0x213348=new _0x437b0c[(_0x46c5a3(0x218))](_0x27cae0,_0x564fe1);for(const {startOffset:_0xe4ad26,endOffset:_0x1671d8,rangeType:_0x514057,segmentId:_0x7026e,segmentPage:_0x4d5b4f,collapsed:_0x205125,isActive:_0x9a1f7d}of _0x5a5ab6){const _0x4330fa=_0x564fe1['findNodePositionByCharIndex'](_0xe4ad26,!0x0,_0x7026e,_0x4d5b4f);let _0x32cdbd=_0x564fe1[_0x46c5a3(0x298)](_0x1671d8,!0x0,_0x7026e,_0x4d5b4f);if(_0x32cdbd==null&&(_0x32cdbd=_0x564fe1['findNodePositionByCharIndex'](_0x1671d8-0x1,!0x1,_0x7026e,_0x4d5b4f)),_0x9a1f7d){const {contentBoxPointGroup:_0x2ff3e5}=_0x213348[_0x46c5a3(0x24b)](_0x32cdbd,_0x32cdbd);if(_0x2ff3e5['length']===0x0)continue;this['_drawAnchor'](_0x521e1b,_0x2ff3e5,_0x1cb2c0,_0xe0324f,_0x6796ba),this[_0x46c5a3(0x308)]=this['_handleHover']();}if(_0x4330fa&&_0x32cdbd){if(_0x514057===_0xa4ceaf[_0x46c5a3(0x2e5)][_0x46c5a3(0x268)]){const _0x1fe32d=new _0x437b0c[(_0x46c5a3(0xb4))](_0x27cae0,_0x564fe1),{pointGroup:_0x23e3b3}=(_0x449737=_0x1fe32d[_0x46c5a3(0x24b)](_0x4330fa,_0x32cdbd))!=null?_0x449737:{};if(_0x23e3b3==null||_0x23e3b3['length']===0x0)continue;this[_0x46c5a3(0x2ad)](_0x521e1b,_0x23e3b3,_0x1cb2c0,_0xe0324f);}else{if(!_0x205125){const {borderBoxPointGroup:_0x467400}=_0x213348[_0x46c5a3(0x24b)](_0x4330fa,_0x32cdbd);if(_0x467400['length']===0x0)continue;this[_0x46c5a3(0x25d)](_0x521e1b,_0x467400,_0x1cb2c0,_0xe0324f);}}}}}[_0x1cb167(0x95)](_0x357e2f,_0x4e127a,_0x574b96,_0x470b0b,_0x500525){const _0x267325=_0x1cb167,_0x1a482a=this[_0x267325(0x84)](_0x4e127a),{left:_0xe00c2c,top:_0x3c0307,height:_0x4fcba2}=_0x1a482a,_0x2b59ed=this[_0x267325(0x23a)](),_0x58d39=_0x1b3cf8/_0x2b59ed,_0x230e1b=new _0x2f4842[(_0x267325(0x1bf))](_0x56ff9b+_0xa4ceaf[_0x267325(0xde)](_0x489ad3),{'left':_0xe00c2c+_0x574b96-_0x58d39,'top':_0x3c0307+_0x470b0b,'height':_0x4fcba2,'width':_0xd4e5af,'fill':_0x357e2f||_0x2f4842['getColor'](_0xa4ceaf['COLORS'][_0x267325(0x9e)],0x0),'strokeWidth':_0x58d39,'stroke':_0xa47f33,'evented':!0x0});this['_anchor']=_0x230e1b,this[_0x267325(0x2f9)][_0x267325(0xd1)](_0x230e1b,_0x437b0c[_0x267325(0x1b5)]);const _0x43af2a=new _0x2f4842['Rect'](_0x56ff9b+_0xa4ceaf[_0x267325(0xde)](_0x489ad3),{'left':_0xe00c2c+_0x574b96-_0x58d39,'top':_0x3c0307+_0x470b0b-_0x596bc1/0x2,'height':_0x596bc1,'width':_0x596bc1,'fill':_0x357e2f||_0x2f4842[_0x267325(0x1aa)](_0xa4ceaf[_0x267325(0x8e)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x357e2f||_0x2f4842[_0x267325(0x1aa)](_0xa4ceaf[_0x267325(0x8e)][_0x267325(0x9e)],0x0),'evented':!0x1});this[_0x267325(0x2ba)]=_0x43af2a,this[_0x267325(0x2f9)][_0x267325(0xd1)](_0x43af2a,_0x437b0c[_0x267325(0x1b5)]);const _0x309e48=new _0x281457(_0x56ff9b+_0xa4ceaf[_0x267325(0xde)](_0x489ad3),{'left':_0xe00c2c+_0x574b96-_0x58d39,'top':_0x3c0307+_0x470b0b-_0x3bb048,'text':_0x500525,'color':_0x357e2f});this[_0x267325(0x14c)]=_0x309e48,this[_0x267325(0x2f9)][_0x267325(0xd1)](_0x309e48,_0x437b0c[_0x267325(0x1b5)]),this[_0x267325(0x1bb)]=!0x1;}[_0x1cb167(0x279)](){const _0xd35f7d=_0x1cb167,_0x3d1e6c=this[_0xd35f7d(0x17e)][_0xd35f7d(0x2b5)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x5f149c=this[_0xd35f7d(0x17e)][_0xd35f7d(0x190)][_0xd35f7d(0x263)](()=>{const _0x11e1ab=_0xd35f7d;this[_0x11e1ab(0x188)]&&clearTimeout(this[_0x11e1ab(0x188)]),this[_0x11e1ab(0x188)]=setTimeout(()=>{const _0x361ac6=_0x11e1ab;this[_0x361ac6(0x1bb)]=!0x1;},0x7d0);});return()=>{const _0x5e1eea=_0xd35f7d;_0x3d1e6c['unsubscribe'](),_0x5f149c[_0x5e1eea(0x101)]();};}['_drawTextRange'](_0x25ef1b,_0x1c8616,_0x313e04,_0x363049){const _0x12d6b1=_0x1cb167,_0x2b79e3=new _0xa4ceaf['ColorKit'](_0x25ef1b)[_0x12d6b1(0x147)](0.2)[_0x12d6b1(0x20c)](),_0x4147c2=new _0x2f4842[(_0x12d6b1(0x259))](_0x4fc702+_0xa4ceaf[_0x12d6b1(0xde)](_0x489ad3),{'pointsGroup':_0x1c8616,'fill':_0x2b79e3||_0x2f4842[_0x12d6b1(0x1aa)](_0xa4ceaf['COLORS'][_0x12d6b1(0x9e)],0.2),'left':_0x313e04,'top':_0x363049,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x12d6b1(0x2da)][_0x12d6b1(0x1d2)](_0x4147c2),this['_scene'][_0x12d6b1(0xd1)](_0x4147c2,_0x437b0c['TEXT_RANGE_LAYER_INDEX']);}['_drawRectRange'](_0x30f3b7,_0x3300eb,_0x472bca,_0x26eea8){const _0x574bab=_0x1cb167,_0x1e961f=new _0xa4ceaf[(_0x574bab(0x15a))](_0x30f3b7)[_0x574bab(0x147)](0.2)[_0x574bab(0x20c)](),_0x38d117=new _0x2f4842['RegularPolygon'](_0x51d646+_0xa4ceaf[_0x574bab(0xde)](_0x489ad3),{'pointsGroup':_0x3300eb,'fill':_0x1e961f||_0x2f4842[_0x574bab(0x1aa)](_0xa4ceaf[_0x574bab(0x8e)][_0x574bab(0x9e)],0.2),'left':_0x472bca,'top':_0x26eea8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x574bab(0x2da)][_0x574bab(0x1d2)](_0x38d117),this[_0x574bab(0x2f9)][_0x574bab(0xd1)](_0x38d117,_0x437b0c[_0x574bab(0x1b5)]);}[_0x1cb167(0x84)](_0x8f3ca8){const _0x2e2f8e=_0x8f3ca8[0x0],_0x246893=_0x2e2f8e[0x0],_0x450fb2=_0x2e2f8e[0x2],{x:_0x42c8b2,y:_0x771781}=_0x246893,{x:_0x53321c,y:_0x23755b}=_0x450fb2;return{'left':_0x42c8b2,'top':_0x771781,'width':_0x53321c-_0x42c8b2,'height':_0x23755b-_0x771781};}[_0x1cb167(0x23a)](){const _0x515ab2=_0x1cb167,{scaleX:_0x3059f0,scaleY:_0x355e1c}=this[_0x515ab2(0x2f9)][_0x515ab2(0x2f5)]();return Math[_0x515ab2(0x16b)](_0x3059f0,_0x355e1c);}}var _0x12793d=Object['getOwnPropertyDescriptor'],_0x5ee048=(_0x30eeb8,_0xb5c7a1,_0x439f77,_0x3c993f)=>{const _0x93e147=_0x1cb167;for(var _0xbaefe0=_0x3c993f>0x1?void 0x0:_0x3c993f?_0x12793d(_0xb5c7a1,_0x439f77):_0xb5c7a1,_0x26406a=_0x30eeb8[_0x93e147(0x13c)]-0x1,_0x5cea44;_0x26406a>=0x0;_0x26406a--)(_0x5cea44=_0x30eeb8[_0x26406a])&&(_0xbaefe0=_0x5cea44(_0xbaefe0)||_0xbaefe0);return _0xbaefe0;},_0x36ab41=(_0x279b16,_0x35223f)=>(_0x596fc0,_0x26584c)=>_0x35223f(_0x596fc0,_0x26584c,_0x279b16);let _0x4fc29a=class extends _0xa4ceaf[_0x1cb167(0x17a)]{constructor(_0x2e7fc6,_0x5a2511,_0x3dbfb8,_0xfcb97d,_0x49e706){const _0x2e8477=_0x1cb167;super(),_0x5cc0bc(this,'_cursorShapes',[]),_0x5cc0bc(this,_0x2e8477(0x20b),[]),(this[_0x2e8477(0xf4)]=_0x2e7fc6,this[_0x2e8477(0x7a)]=_0x5a2511,this[_0x2e8477(0x2c2)]=_0x3dbfb8,this[_0x2e8477(0x18b)]=_0xfcb97d,this[_0x2e8477(0xed)]=_0x49e706,this[_0x2e8477(0x28f)]());}[_0x1cb167(0x28f)](){const _0x1697eb=_0x1cb167,_0x429c38=this[_0x1697eb(0xf4)]['unitId'],_0x55e782=this[_0x1697eb(0x7a)];this[_0x1697eb(0x269)](_0x2467c8[_0x1697eb(0x2af)]([this['_collabCursorController']['getCollabCursors$'](_0x429c38),this[_0x1697eb(0xed)][_0x1697eb(0x19f)]])[_0x1697eb(0x19c)](_0x1e19c6[_0x1697eb(0x75)](([_0x3004c4,_0x136595])=>({'skeleton':_0x55e782[_0x1697eb(0x1c7)](),'cursors':[..._0x3004c4[_0x1697eb(0x8d)]()]['flatMap'](_0x4f7815=>({..._0x4f7815,'color':this[_0x1697eb(0xed)][_0x1697eb(0x178)](_0x4f7815[_0x1697eb(0x2dc)])}))})))['subscribe'](_0xcab2b0=>{const _0x449c6b=_0x1697eb;if(this[_0x449c6b(0xb0)](),_0xcab2b0){const {skeleton:_0x54d42f,cursors:_0x185339}=_0xcab2b0;this[_0x449c6b(0x28d)](_0x54d42f,_0x185339);}})),this[_0x1697eb(0x2cc)](),this['_initCommandExecutedListener']();}[_0x1cb167(0x28d)](_0x117be3,_0x143311){const _0x25c3e0=_0x1cb167,{scene:_0x141fc4,mainComponent:_0x2cfe6b}=this[_0x25c3e0(0xf4)],_0x46bd29=_0x143311[_0x25c3e0(0x75)](_0x528b51=>new _0x306947(_0x528b51,_0x141fc4,_0x117be3,_0x2cfe6b));this[_0x25c3e0(0x136)]=_0x46bd29,this[_0x25c3e0(0x20b)]=_0x143311;}['_refreshCollabCursors'](){const _0x3ad9ea=_0x1cb167;this['_removeCollabCursors']();const {scene:_0x8c7dbc,mainComponent:_0x258ac2}=this[_0x3ad9ea(0xf4)],_0x15d911=this[_0x3ad9ea(0x7a)][_0x3ad9ea(0x1c7)](),_0x3ae2b6=this[_0x3ad9ea(0x20b)][_0x3ad9ea(0x75)](_0x38836d=>new _0x306947(_0x38836d,_0x8c7dbc,_0x15d911,_0x258ac2));this[_0x3ad9ea(0x136)]=_0x3ae2b6;}['_removeCollabCursors'](){const _0x9d634f=_0x1cb167;this[_0x9d634f(0x136)][_0x9d634f(0x1ca)](_0xd03467=>_0xd03467[_0x9d634f(0x1ab)]()),this[_0x9d634f(0x136)]=[];}[_0x1cb167(0x1db)](){const _0x2d94cc=_0x1cb167,_0x5bf9c9=[_0x437b0c[_0x2d94cc(0xe0)]['id']];this[_0x2d94cc(0x269)](this[_0x2d94cc(0x18b)]['onCommandExecuted'](_0x22d3ab=>{const _0x2ef2ed=_0x2d94cc;_0x5bf9c9[_0x2ef2ed(0x238)](_0x22d3ab['id'])&&_0x22d3ab[_0x2ef2ed(0x97)][_0x2ef2ed(0x159)]===this[_0x2ef2ed(0xf4)][_0x2ef2ed(0x159)]&&this[_0x2ef2ed(0x15c)]();}));}[_0x1cb167(0x2cc)](){const _0x34fce3=_0x1cb167;this[_0x34fce3(0x269)](_0xa4ceaf[_0x34fce3(0x2fa)](this[_0x34fce3(0xf4)][_0x34fce3(0x2a6)]['onTransformChange$'])[_0x34fce3(0x19c)](_0x1e19c6[_0x34fce3(0x1d8)](_0x5cccea=>_0x5cccea[_0x34fce3(0xaf)]===_0x2f4842[_0x34fce3(0x270)][_0x34fce3(0x2d7)]),_0x1e19c6[_0x34fce3(0x2f6)](0x10))[_0x34fce3(0x277)](()=>{const _0x5cf428=_0x34fce3;this[_0x5cf428(0x15c)]();}));}};_0x4fc29a=_0x5ee048([_0x36ab41(0x1,_0xa4ceaf[_0x1cb167(0x1b1)](_0x2695a0[_0x1cb167(0x2d9)])),_0x36ab41(0x2,_0xa4ceaf[_0x1cb167(0x1b1)](_0x1e89a4)),_0x36ab41(0x3,_0xa4ceaf['ICommandService']),_0x36ab41(0x4,_0xa4ceaf[_0x1cb167(0x1b1)](_0xa4ceaf[_0x1cb167(0x149)]))],_0x4fc29a);const _0x1984d3=0x1,_0x3b0a57=1.5;class _0x4c942d extends _0x2f4842[_0x1cb167(0xae)]{constructor(_0x882a0e,_0x44b711){const _0x2a4684=_0x1cb167;super(_0x882a0e,_0x44b711),_0x5cc0bc(this,'_color'),_0x5cc0bc(this,'_hovered',!0x1),_0x5cc0bc(this,_0x2a4684(0x30a)),_0x5cc0bc(this,_0x2a4684(0x210),''),_0x5cc0bc(this,_0x2a4684(0x169),_0x2a4684(0x2d2)),_0x5cc0bc(this,_0x2a4684(0x121)),(_0x44b711&&this[_0x2a4684(0x267)](_0x44b711),this['onPointerEnter$'][_0x2a4684(0x263)](()=>this[_0x2a4684(0x267)]({'hovered':!0x0})),this[_0x2a4684(0x190)][_0x2a4684(0x263)](()=>this[_0x2a4684(0x267)]({'hovered':!0x1})));}[_0x1cb167(0x267)](_0x4a7239){const _0x416e7e=_0x1cb167;var _0x552a2a,_0x2cfd4e,_0x22b81d,_0x5d8a2b,_0xf97da4,_0x42f275;this['_color']=(_0x552a2a=_0x4a7239[_0x416e7e(0x2dc)])!=null?_0x552a2a:this['_color'],this[_0x416e7e(0x2ed)]=(_0x2cfd4e=_0x4a7239[_0x416e7e(0x15f)])!=null?_0x2cfd4e:this[_0x416e7e(0x2ed)],this[_0x416e7e(0x30a)]=(_0x22b81d=_0x4a7239['range'])!=null?_0x22b81d:this[_0x416e7e(0x30a)],this['_name']=(_0x5d8a2b=_0x4a7239[_0x416e7e(0x2cb)])!=null?_0x5d8a2b:this['_name'],this[_0x416e7e(0x169)]=(_0xf97da4=_0x4a7239[_0x416e7e(0x2d5)])!=null?_0xf97da4:this[_0x416e7e(0x169)],this[_0x416e7e(0x121)]=(_0x42f275=_0x4a7239[_0x416e7e(0x200)])!=null?_0x42f275:this['_backgroundColor'],this[_0x416e7e(0x21f)]({'width':_0x4a7239['width'],'height':_0x4a7239[_0x416e7e(0x240)]});}[_0x1cb167(0x1a2)](_0x19ede2){const _0x5b9ffb=_0x1cb167,{row:_0x59c519,column:_0x30d367}=_0x19ede2;if(_0x59c519>=this[_0x5b9ffb(0x30a)][_0x5b9ffb(0x18c)]&&_0x59c519<=this[_0x5b9ffb(0x30a)][_0x5b9ffb(0x124)]&&_0x30d367>=this[_0x5b9ffb(0x30a)][_0x5b9ffb(0x73)]&&_0x30d367<=this[_0x5b9ffb(0x30a)][_0x5b9ffb(0x6b)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x5b9ffb(0x267)]({'hovered':!0x1});}[_0x1cb167(0xfc)](_0x4009d6){return!0x1;}['_draw'](_0x28a668){const _0x97d00b=_0x1cb167;_0x2f4842['Rect'][_0x97d00b(0x2a4)](_0x28a668,{'width':this['width'],'height':this['height'],'strokeWidth':_0x3b0a57,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x28a668['save'](),_0x28a668['transform'](0x1,0x0,0x0,0x1,this[_0x97d00b(0x239)],this[_0x97d00b(0x169)]===_0x97d00b(0x30d)?0x0:-0x14),_0x281457[_0x97d00b(0x2a4)](_0x28a668,{'text':this[_0x97d00b(0x210)],'color':this[_0x97d00b(0x207)]}),_0x28a668['restore']());}}var _0x397e75=Object['getOwnPropertyDescriptor'],_0x4bc9e1=(_0x32dafb,_0x234a8d,_0x46a99c,_0x34cfa8)=>{const _0x410ce2=_0x1cb167;for(var _0x29b3c0=_0x34cfa8>0x1?void 0x0:_0x34cfa8?_0x397e75(_0x234a8d,_0x46a99c):_0x234a8d,_0x56f4e0=_0x32dafb[_0x410ce2(0x13c)]-0x1,_0x532128;_0x56f4e0>=0x0;_0x56f4e0--)(_0x532128=_0x32dafb[_0x56f4e0])&&(_0x29b3c0=_0x532128(_0x29b3c0)||_0x29b3c0);return _0x29b3c0;},_0x29d47d=(_0x4b2f14,_0x5a6e48)=>(_0x522ea5,_0x59d7ec)=>_0x5a6e48(_0x522ea5,_0x59d7ec,_0x4b2f14);const _0x52cfad=0x1389;let _0x4239bf=class extends _0xa4ceaf['RxDisposable']{constructor(_0x271195,_0x2f8be4,_0x431dfe,_0x90d18a){const _0x33ea70=_0x1cb167;super(),_0x5cc0bc(this,'_cursors',new Set()),_0x5cc0bc(this,_0x33ea70(0xd8),null),(this[_0x33ea70(0xf4)]=_0x271195,this['_sheetSkeletonManagerService']=_0x2f8be4,this[_0x33ea70(0x2c2)]=_0x431dfe,this[_0x33ea70(0xed)]=_0x90d18a,this[_0x33ea70(0x28f)]());}[_0x1cb167(0x28f)](){const _0x153036=_0x1cb167;this[_0x153036(0x146)][_0x153036(0x26d)][_0x153036(0x19c)](_0x1e19c6[_0x153036(0x180)](this[_0x153036(0x2eb)]),_0x1e19c6[_0x153036(0x151)](_0xcbcf83=>{const _0x2b2d2c=_0x153036;if(_0xcbcf83){const _0x548cc9=_0xcbcf83[_0x2b2d2c(0x21b)];return _0x2467c8[_0x2b2d2c(0x2af)](this[_0x2b2d2c(0x2c2)]['getCollabCursors$'](this[_0x2b2d2c(0xf4)][_0x2b2d2c(0x159)]),this[_0x2b2d2c(0xed)][_0x2b2d2c(0x19f)])['pipe'](_0x1e19c6[_0x2b2d2c(0x75)](([_0x2b84d3,_0x2d2e61])=>{const _0x3f0032=_0x2b2d2c,_0x671dc1=new Map();return _0x2b84d3[_0x3f0032(0x1ca)]((_0x163fc1,_0x466a0d)=>{const _0x463a65=_0x3f0032;if(_0x163fc1[_0x463a65(0x253)]===_0x548cc9){const _0x3b4e0f={..._0x163fc1};_0x3b4e0f[_0x463a65(0x2dc)]=this[_0x463a65(0xed)]['getColorFromTheme'](_0x163fc1['color']),_0x671dc1['set'](_0x466a0d,_0x3b4e0f);}}),{'skeleton':_0xcbcf83,'cursors':_0x671dc1};}));}return _0x2467c8['of']({'skeleton':null,'cursors':new Map()});}))[_0x153036(0x277)](({skeleton:_0x4fc306,cursors:_0x33f06f})=>{const _0x5cc1b1=_0x153036;this['_removeCollabCursors'](),_0x4fc306&&this[_0x5cc1b1(0x28d)](_0x4fc306,_0x33f06f);}),this[_0x153036(0x146)]['currentSkeleton$'][_0x153036(0x277)](_0x9dda7b=>{const _0x4dc7a1=_0x153036;if(_0x9dda7b==null)return;const {skeleton:_0x785e65}=_0x9dda7b,{scene:_0x28a1d8}=this[_0x4dc7a1(0xf4)];_0x28a1d8[_0x4dc7a1(0x204)][_0x4dc7a1(0x263)](_0xa4ceaf[_0x4dc7a1(0x242)](_0x96182e=>{const _0x3ea9e8=_0x4dc7a1;var _0x3914e3,_0x5a09a6;const {offsetX:_0x38de89,offsetY:_0x35a3a2}=_0x96182e,{x:_0x302943,y:_0x21b820}=_0x28a1d8[_0x3ea9e8(0x271)](_0x2f4842[_0x3ea9e8(0x24c)][_0x3ea9e8(0x179)]([_0x38de89,_0x35a3a2])),{scaleX:_0x33f4c9,scaleY:_0x104476}=_0x28a1d8[_0x3ea9e8(0x2f5)](),_0xdce4e6=_0x28a1d8[_0x3ea9e8(0x144)](_0x2f4842[_0x3ea9e8(0x302)][_0x3ea9e8(0x1be)]),_0x155ce1=_0x28a1d8['getVpScrollXYInfoByPosToVp'](_0x2f4842[_0x3ea9e8(0x24c)][_0x3ea9e8(0x179)]([_0x302943,_0x21b820]),_0xdce4e6),_0x211b5d=_0x785e65[_0x3ea9e8(0xfe)](_0x38de89,_0x35a3a2,_0x33f4c9,_0x104476,_0x155ce1);((_0x3914e3=this[_0x3ea9e8(0xd8)])==null?void 0x0:_0x3914e3[_0x3ea9e8(0x9f)])===_0x211b5d[_0x3ea9e8(0x9f)]&&((_0x5a09a6=this[_0x3ea9e8(0xd8)])==null?void 0x0:_0x5a09a6[_0x3ea9e8(0x153)])===_0x211b5d[_0x3ea9e8(0x153)]||this[_0x3ea9e8(0x20b)]['forEach'](_0x31c5aa=>{_0x31c5aa['onMouseMove'](_0x211b5d);});},0x64));});}[_0x1cb167(0x28d)](_0x28b585,_0x5649ac){const _0x1c3da9=_0x1cb167;var _0x4b2966;const _0x4625e3=(_0x4b2966=this[_0x1c3da9(0x146)][_0x1c3da9(0x217)]())==null?void 0x0:_0x4b2966['skeleton'];if(!_0x4625e3)return;const _0x248331=this[_0x1c3da9(0x22e)]();if(!_0x248331)return;this['_cursors'][_0x1c3da9(0x1ca)](_0x5271f5=>{const _0x52687d=_0x1c3da9;_0x5271f5[_0x52687d(0x230)]();});const {scene:_0x46bacf}=_0x248331,_0x3677d7=_0x24eb95(Array['from'](_0x5649ac[_0x1c3da9(0x8d)]()))[_0x1c3da9(0x75)](_0x37fc38=>{const _0x201a17=_0x1c3da9,{color:_0x43c19f,range:_0x3e40c7,name:_0x28c580,selection:_0x4deb9f,sheetID:_0xa0177}=_0x37fc38,{startColumn:_0x488e29,startRow:_0x545e86,endColumn:_0x17cca9,endRow:_0x5bc44f}=_0x3e40c7,_0x298f31=_0x391869[_0x201a17(0x142)](_0x545e86,_0x488e29,_0x46bacf,_0x4625e3),_0xcfefa6=_0x391869[_0x201a17(0x142)](_0x5bc44f,_0x17cca9,_0x46bacf,_0x4625e3),{columnHeaderHeightAndMarginTop:_0x2d6ebb}=_0x4625e3,{startX:_0x2ad91d,startY:_0x39ee29}=_0x298f31,{endX:_0x17864a,endY:_0x361622}=_0xcfefa6,_0x4dd9ca=_0x17864a-_0x2ad91d,_0x15b31d=_0x361622-_0x39ee29,_0x3c6314={'labelPosition':_0x39ee29-_0x2d6ebb>=_0x3bb048?_0x201a17(0x2d2):_0x201a17(0x30d),'sheetID':_0xa0177,'range':_0x3e40c7,'color':_0x43c19f,'name':_0x28c580,'selection':_0x4deb9f,'left':_0x2ad91d,'top':_0x39ee29,'width':_0x4dd9ca,'height':_0x15b31d,'evented':!0x1,'zIndex':_0x52cfad};return new _0x4c942d(_0x28c580,_0x3c6314);});_0x46bacf[_0x1c3da9(0x212)](_0x3677d7,_0x1984d3),this[_0x1c3da9(0x20b)]=new Set(_0x3677d7);}['_removeCollabCursors'](){const _0xdc132=_0x1cb167;var _0x25cb80;(_0x25cb80=this['_cursors'])==null||_0x25cb80['forEach'](_0x30d88a=>_0x30d88a[_0xdc132(0x1ab)]());}[_0x1cb167(0x22e)](){const _0x409339=_0x1cb167;return _0x391869['getSheetObject'](this[_0x409339(0xf4)][_0x409339(0x163)],this['_context']);}};_0x4239bf=_0x4bc9e1([_0x29d47d(0x1,_0xa4ceaf[_0x1cb167(0x1b1)](_0x391869[_0x1cb167(0x2df)])),_0x29d47d(0x2,_0xa4ceaf['Inject'](_0x1e89a4)),_0x29d47d(0x3,_0xa4ceaf[_0x1cb167(0x1b1)](_0xa4ceaf['ThemeService']))],_0x4239bf);function _0x24eb95(_0x165a74){const _0x5d46f0=_0x1cb167,_0x3a9640=new Map();return _0x165a74['forEach'](_0x293c84=>{const _0x3f55f6=_0x4682;if(_0x3a9640[_0x3f55f6(0xf9)](_0x293c84[_0x3f55f6(0x28b)])){const _0x41476c=_0x3a9640[_0x3f55f6(0x134)](_0x293c84[_0x3f55f6(0x28b)]);_0x41476c[_0x3f55f6(0x2cb)]+=',\x20'+_0x293c84[_0x3f55f6(0x2cb)];}else _0x3a9640['set'](_0x293c84[_0x3f55f6(0x28b)],_0x293c84);}),Array['from'](_0x3a9640[_0x5d46f0(0x8d)]());}var _0x2af164=function(){const _0x2bf082=_0x1cb167;return _0x2af164=Object[_0x2bf082(0xc0)]||function(_0x29af82){const _0x50a60d=_0x2bf082;for(var _0x3083d3,_0x2f339c=0x1,_0x32ffd0=arguments[_0x50a60d(0x13c)];_0x2f339c<_0x32ffd0;_0x2f339c++){_0x3083d3=arguments[_0x2f339c];for(var _0x3eb274 in _0x3083d3)Object[_0x50a60d(0x1e5)][_0x50a60d(0x18f)][_0x50a60d(0x2f7)](_0x3083d3,_0x3eb274)&&(_0x29af82[_0x3eb274]=_0x3083d3[_0x3eb274]);}return _0x29af82;},_0x2af164[_0x2bf082(0x1fd)](this,arguments);},_0x46fbc4=function(_0xf9b4e6,_0x44f7d1){const _0x8652a4=_0x1cb167;var _0x13510c={};for(var _0x268eff in _0xf9b4e6)Object[_0x8652a4(0x1e5)][_0x8652a4(0x18f)][_0x8652a4(0x2f7)](_0xf9b4e6,_0x268eff)&&_0x44f7d1['indexOf'](_0x268eff)<0x0&&(_0x13510c[_0x268eff]=_0xf9b4e6[_0x268eff]);if(_0xf9b4e6!=null&&typeof Object[_0x8652a4(0x1f1)]==_0x8652a4(0x258)){for(var _0x5e3065=0x0,_0x268eff=Object[_0x8652a4(0x1f1)](_0xf9b4e6);_0x5e3065<_0x268eff[_0x8652a4(0x13c)];_0x5e3065++)_0x44f7d1[_0x8652a4(0x2a0)](_0x268eff[_0x5e3065])<0x0&&Object[_0x8652a4(0x1e5)][_0x8652a4(0x140)]['call'](_0xf9b4e6,_0x268eff[_0x5e3065])&&(_0x13510c[_0x268eff[_0x5e3065]]=_0xf9b4e6[_0x268eff[_0x5e3065]]);}return _0x13510c;},_0x26d762=_0xa95e57[_0x1cb167(0x23f)](function(_0x33c621,_0x3761e9){const _0xaf16b5=_0x1cb167;var _0x513ad0=_0x33c621[_0xaf16b5(0x192)],_0x2ec9f5=_0x33c621['id'],_0x3484b9=_0x33c621[_0xaf16b5(0xb8)],_0x28b44b=_0x33c621[_0xaf16b5(0xb9)],_0x415521=_0x46fbc4(_0x33c621,[_0xaf16b5(0x192),'id','className',_0xaf16b5(0xb9)]),_0x2196a0=_0xaf16b5(0x289)[_0xaf16b5(0x296)](_0x2ec9f5,'\x20')[_0xaf16b5(0x296)](_0x3484b9||'')[_0xaf16b5(0x2c8)](),_0x32c50d=_0xa95e57[_0xaf16b5(0xff)]('_'[_0xaf16b5(0x296)](_0x158da6()));return _0x4699eb(_0x513ad0,''[_0xaf16b5(0x296)](_0x2ec9f5),{'defIds':_0x513ad0[_0xaf16b5(0x7d)],'idSuffix':_0x32c50d[_0xaf16b5(0x243)]},_0x2af164({'ref':_0x3761e9,'className':_0x2196a0},_0x415521),_0x28b44b);});function _0x4699eb(_0x298ce4,_0x71c40e,_0x5088b6,_0x187489,_0x1d3848){const _0x4d1f71=_0x1cb167;return _0xa95e57[_0x4d1f71(0x155)](_0x298ce4['tag'],_0x2af164(_0x2af164({'key':_0x71c40e},_0x40cf09(_0x298ce4,_0x5088b6,_0x1d3848)),_0x187489),(_0x3f9e81(_0x298ce4,_0x5088b6)[_0x4d1f71(0x2e9)]||[])[_0x4d1f71(0x75)](function(_0x2ec1f0,_0x1a8c77){const _0x30924a=_0x4d1f71;return _0x4699eb(_0x2ec1f0,''['concat'](_0x71c40e,'-')[_0x30924a(0x296)](_0x298ce4[_0x30924a(0x6c)],'-')[_0x30924a(0x296)](_0x1a8c77),_0x5088b6,void 0x0,_0x1d3848);}));}function _0x40cf09(_0x514177,_0xf66ed3,_0xd91108){const _0x3e59d7=_0x1cb167;var _0x38c9ad=_0x2af164({},_0x514177[_0x3e59d7(0x2ce)]);_0xd91108!=null&&_0xd91108['colorChannel1']&&_0x38c9ad['fill']===_0x3e59d7(0x10a)&&(_0x38c9ad[_0x3e59d7(0x2bc)]=_0xd91108[_0x3e59d7(0x10a)]),_0x514177[_0x3e59d7(0x6c)]==='mask'&&_0x38c9ad['id']&&(_0x38c9ad['id']=_0x38c9ad['id']+_0xf66ed3[_0x3e59d7(0x27a)]),Object['entries'](_0x38c9ad)[_0x3e59d7(0x1ca)](function(_0x2acae1){const _0x5d4cb0=_0x3e59d7;var _0x246d96=_0x2acae1[0x0],_0x1f478d=_0x2acae1[0x1];_0x246d96==='mask'&&typeof _0x1f478d=='string'&&(_0x38c9ad[_0x246d96]=_0x1f478d[_0x5d4cb0(0x23d)](/url\(#(.*)\)/,_0x5d4cb0(0x2f2)[_0x5d4cb0(0x296)](_0xf66ed3['idSuffix'],')')));});var _0x1bad14=_0xf66ed3[_0x3e59d7(0x7d)];return!_0x1bad14||_0x1bad14[_0x3e59d7(0x13c)]===0x0||(_0x514177[_0x3e59d7(0x6c)]===_0x3e59d7(0x98)&&_0x38c9ad[_0x3e59d7(0x17b)]&&(_0x38c9ad[_0x3e59d7(0x17b)]=_0x38c9ad[_0x3e59d7(0x17b)]+_0xf66ed3[_0x3e59d7(0x27a)]),Object['entries'](_0x38c9ad)[_0x3e59d7(0x1ca)](function(_0x1bc80c){const _0x2b7541=_0x3e59d7;var _0x47d8f5=_0x1bc80c[0x0],_0x4a94ea=_0x1bc80c[0x1];typeof _0x4a94ea==_0x2b7541(0x28e)&&(_0x38c9ad[_0x47d8f5]=_0x4a94ea['replace'](/url\(#(.*)\)/,'url(#$1'[_0x2b7541(0x296)](_0xf66ed3[_0x2b7541(0x27a)],')')));})),_0x38c9ad;}function _0x3f9e81(_0x4889fe,_0x537b8b){const _0x2cacd4=_0x1cb167;var _0x4d1278,_0x4fa3b5=_0x537b8b[_0x2cacd4(0x7d)];return!_0x4fa3b5||_0x4fa3b5[_0x2cacd4(0x13c)]===0x0?_0x4889fe:_0x4889fe['tag']===_0x2cacd4(0x22a)&&(!((_0x4d1278=_0x4889fe[_0x2cacd4(0x2e9)])===null||_0x4d1278===void 0x0)&&_0x4d1278[_0x2cacd4(0x13c)])?_0x2af164(_0x2af164({},_0x4889fe),{'children':_0x4889fe['children'][_0x2cacd4(0x75)](function(_0x428a15){const _0x422a6c=_0x2cacd4;return typeof _0x428a15[_0x422a6c(0x2ce)]['id']=='string'&&_0x4fa3b5&&_0x4fa3b5['includes'](_0x428a15[_0x422a6c(0x2ce)]['id'])?_0x2af164(_0x2af164({},_0x428a15),{'attrs':_0x2af164(_0x2af164({},_0x428a15[_0x422a6c(0x2ce)]),{'id':_0x428a15['attrs']['id']+_0x537b8b[_0x422a6c(0x27a)]})}):_0x428a15;})}):_0x4889fe;}function _0x158da6(){const _0x25f0a5=_0x1cb167;return Math[_0x25f0a5(0x27f)]()[_0x25f0a5(0x14b)](0x24)['substring'](0x2,0x8);}_0x26d762[_0x1cb167(0x13e)]=_0x1cb167(0x122);var _0x5c3000={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x1cb167(0x184),'width':'1em','height':_0x1cb167(0x292)},'children':[{'tag':'g','attrs':{'clipPath':_0x1cb167(0x1ff)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x1cb167(0x23b),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x1cb167(0x14f),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x1cb167(0x241),'d':_0x1cb167(0x143)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x4f0592=_0xa95e57[_0x1cb167(0x23f)](function(_0x369565,_0x259fa5){const _0x116fac=_0x1cb167;return _0xa95e57[_0x116fac(0x155)](_0x26d762,Object[_0x116fac(0xc0)]({},_0x369565,{'id':_0x116fac(0xe5),'ref':_0x259fa5,'icon':_0x5c3000}));});_0x4f0592[_0x1cb167(0x13e)]=_0x1cb167(0x156);var _0x31776e={'tag':_0x1cb167(0x1ef),'attrs':{'xmlns':_0x1cb167(0x276),'fill':_0x1cb167(0x16f),'viewBox':'0\x200\x2017\x2016','width':_0x1cb167(0x292),'height':_0x1cb167(0x292)},'children':[{'tag':'g','attrs':{'clipPath':_0x1cb167(0x133)},'children':[{'tag':_0x1cb167(0x13a),'attrs':{'stroke':'currentColor','d':_0x1cb167(0x13b),'strokeLinecap':'round','strokeLinejoin':_0x1cb167(0x294),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1cb167(0x10f)},'children':[{'tag':_0x1cb167(0x13a),'attrs':{'fill':_0x1cb167(0x241),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x1cb167(0x10f)]},_0x14f94b=_0xa95e57[_0x1cb167(0x23f)](function(_0x4ad7b0,_0x29dfb0){const _0x226131=_0x1cb167;return _0xa95e57[_0x226131(0x155)](_0x26d762,Object[_0x226131(0xc0)]({},_0x4ad7b0,{'id':'on-line-icon','ref':_0x29dfb0,'icon':_0x31776e}));});_0x14f94b[_0x1cb167(0x13e)]='OnLineIcon';function _0x51e8db(_0x2f8347){const _0x47b291=_0x1cb167;switch(_0x2f8347){case _0x1fea06[_0x47b291(0x71)]['OFFLINE']:return _0x47b291(0x1f2);case _0x1fea06[_0x47b291(0x71)][_0x47b291(0x197)]:return _0x47b291(0x2d1);case _0x1fea06[_0x47b291(0x71)][_0x47b291(0x123)]:return _0x47b291(0x164);case _0x1fea06[_0x47b291(0x71)][_0x47b291(0x25b)]:return _0x47b291(0x21c);case _0x1fea06[_0x47b291(0x71)][_0x47b291(0xd9)]:case _0x1fea06[_0x47b291(0x71)]['AWAITING_WITH_PENDING']:return _0x47b291(0x166);case _0x1fea06[_0x47b291(0x71)]['SYNCED']:case _0x1fea06['CollaborationStatus'][_0x47b291(0x22f)]:return _0x47b291(0x293);}}function _0x561434(_0x31a01b){const _0x4c18ea=_0x1cb167,{status$:_0x4ae78a}=_0x31a01b,_0xc68cb7=_0x1ed340[_0x4c18ea(0x72)](_0x4ae78a,_0x1fea06[_0x4c18ea(0x71)]['NOT_COLLAB']),_0x565568=_0x1ed340['useDependency'](_0xa4ceaf[_0x4c18ea(0x247)]),_0x58fd8e=_0x1ed340['useDependency'](_0x1fea06[_0x4c18ea(0x29c)]),_0x4dc480=_0xc68cb7!==_0x1fea06['CollaborationStatus'][_0x4c18ea(0x132)],_0x52e512=_0x565568['t'](_0x51e8db(_0xc68cb7)),_0x196d60=_0x4dc480?_0x147faf[_0x4c18ea(0x1f4)](_0x14f94b,{}):_0x147faf[_0x4c18ea(0x1f4)](_0x4f0592,{}),_0x280a3d=_0xa95e57[_0x4c18ea(0x1f9)](()=>{const _0x14ccc4=_0x4c18ea;_0x4dc480||_0x58fd8e[_0x14ccc4(0x6f)]();},[_0x4dc480,_0x58fd8e]);function _0x16ea71(){const _0x29a697=_0x4c18ea;return _0x147faf[_0x29a697(0x301)](_0x29a697(0x78),{'className':_0x29a697(0xc8),'onClick':_0x280a3d,'children':[_0x147faf[_0x29a697(0x1f4)](_0x29a697(0x78),{'className':_0x244230[_0x29a697(0x222)](_0x29a697(0x27d),{'univer-text-green-500':_0x4dc480,'univer-text-red-500':!_0x4dc480}),'children':_0x196d60}),_0x147faf['jsx'](_0x29a697(0x78),{'className':_0x29a697(0xfb),'children':_0x52e512})]});}return _0x4dc480?_0x16ea71():_0x147faf['jsx'](_0x244230[_0x4c18ea(0x189)],{'title':_0x565568['t'](_0x4c18ea(0x11e)),'children':_0x16ea71()});}var _0x5aba90=Object[_0x1cb167(0x282)],_0x5f3db6=(_0xbd6ee2,_0x4bca3e,_0x2a5823,_0x33a7bb)=>{const _0x52575d=_0x1cb167;for(var _0x35fc02=_0x33a7bb>0x1?void 0x0:_0x33a7bb?_0x5aba90(_0x4bca3e,_0x2a5823):_0x4bca3e,_0x5f0406=_0xbd6ee2[_0x52575d(0x13c)]-0x1,_0x3c0a1e;_0x5f0406>=0x0;_0x5f0406--)(_0x3c0a1e=_0xbd6ee2[_0x5f0406])&&(_0x35fc02=_0x3c0a1e(_0x35fc02)||_0x35fc02);return _0x35fc02;},_0x3effa4=(_0x3ef61f,_0x1ee2a5)=>(_0x3b7dd8,_0x5e3060)=>_0x1ee2a5(_0x3b7dd8,_0x5e3060,_0x3ef61f);_0x34aeda['DesktopCollaborationStatusDisplayController']=class extends _0xa4ceaf['Disposable']{constructor(_0x6ad1a4,_0x5a4294,_0x1b7eae,_0x3fef28){const _0xd87f94=_0x1cb167;super(),_0x5cc0bc(this,'_status$',new _0x2467c8['BehaviorSubject'](_0x1fea06['CollaborationStatus'][_0xd87f94(0x25b)])),(this[_0xd87f94(0x2ee)]=_0x6ad1a4,this[_0xd87f94(0xf7)]=_0x5a4294,this[_0xd87f94(0x9b)]=_0x1b7eae,this[_0xd87f94(0x255)]=_0x3fef28,this['_initStatusComponent'](),this[_0xd87f94(0x1c8)]());}['_initStatusListener'](){const _0x4e7c34=_0x1cb167;this[_0x4e7c34(0x269)](this[_0x4e7c34(0x2ee)][_0x4e7c34(0x145)]['pipe'](_0x2467c8[_0x4e7c34(0x151)](()=>{const _0x23ffff=_0x4e7c34,_0x53618e=this['_univerInstanceService'][_0x23ffff(0x275)]();return _0x53618e?this['_collaborationController']['getCollabEntity$'](_0x53618e[_0x23ffff(0x2b0)]()):_0x2467c8['of'](null);}),_0x2467c8[_0x4e7c34(0x151)](_0x20eae9=>_0x20eae9?_0x20eae9[_0x4e7c34(0x262)]:_0x2467c8['of'](_0x1fea06[_0x4e7c34(0x71)]['NOT_COLLAB'])))['subscribe'](_0xa8b371=>{const _0x57e528=_0x4e7c34;this[_0x57e528(0x29f)][_0x57e528(0x224)](_0xa8b371);}));}['_initStatusComponent'](){const _0x3d2d69=_0x1cb167;this[_0x3d2d69(0x269)](this['_uiPartsService'][_0x3d2d69(0x1f8)](_0x1ed340[_0x3d2d69(0x1ee)][_0x3d2d69(0x1fc)],()=>_0x1ed340[_0x3d2d69(0xc5)](_0x3c9a6d({'status$':this['_status$'][_0x3d2d69(0x126)]()}),this['_injector'])));}},_0x34aeda['DesktopCollaborationStatusDisplayController']=_0x5f3db6([_0x3effa4(0x0,_0xa4ceaf['IUniverInstanceService']),_0x3effa4(0x1,_0xa4ceaf[_0x1cb167(0x1b1)](_0xa4ceaf['Injector'])),_0x3effa4(0x2,_0xa4ceaf[_0x1cb167(0x1b1)](_0x1fea06[_0x1cb167(0x2e4)])),_0x3effa4(0x3,_0x1ed340[_0x1cb167(0x2c6)])],_0x34aeda[_0x1cb167(0x1c4)]);function _0x3c9a6d(_0x4f7dc2){const {status$:_0x607362}=_0x4f7dc2;return function(){const _0x512091=_0x4682;return _0x147faf[_0x512091(0x1f4)](_0x561434,{'status$':_0x607362});};}var _0x165e28=Object[_0x1cb167(0x282)],_0x394ff6=(_0x7ae059,_0x42e88b,_0x73c03b,_0x24ab3b)=>{for(var _0x2dae46=_0x24ab3b>0x1?void 0x0:_0x24ab3b?_0x165e28(_0x42e88b,_0x73c03b):_0x42e88b,_0x86e35d=_0x7ae059['length']-0x1,_0x251eb1;_0x86e35d>=0x0;_0x86e35d--)(_0x251eb1=_0x7ae059[_0x86e35d])&&(_0x2dae46=_0x251eb1(_0x2dae46)||_0x2dae46);return _0x2dae46;},_0x1de2f7=(_0x186317,_0x49a663)=>(_0x56b083,_0x257510)=>_0x49a663(_0x56b083,_0x257510,_0x186317);let _0x456652=class extends _0xa4ceaf['Disposable']{constructor(_0x59fa7c,_0x3763f4,_0x4ccf98,_0x1abed0,_0x1acadb,_0x3dfa72){const _0x1f6624=_0x1cb167;super(),this[_0x1f6624(0x274)]=_0x59fa7c,this[_0x1f6624(0xc2)]=_0x3763f4,this[_0x1f6624(0xb3)]=_0x4ccf98,this[_0x1f6624(0xca)]=_0x1abed0,this[_0x1f6624(0x181)]=_0x1acadb,this[_0x1f6624(0x2a3)]=_0x3dfa72,this[_0x1f6624(0x291)](),this[_0x1f6624(0xb7)]();}['_setupBeforeClosingHandler'](){const _0xb0ea94=_0x1cb167;this['disposeWithMe'](this[_0xb0ea94(0x274)][_0xb0ea94(0xe4)](()=>{const _0x724ffb=_0xb0ea94;if(this['_localCacheService'][_0x724ffb(0x90)]['size'])return this[_0x724ffb(0x2a3)]['t'](_0x724ffb(0x168));}));}[_0x1cb167(0xb7)](){const _0x523a82=_0x1cb167;this[_0x523a82(0x269)](this[_0x523a82(0xb3)]['event$']['subscribe'](_0x18b743=>{const _0x44e056=_0x523a82;_0x18b743['id']===_0x1fea06['CollaborationUIEventId'][_0x44e056(0xad)]&&this['_messageService']['show']({'type':_0x244230['MessageType'][_0x44e056(0x2ae)],'content':this[_0x44e056(0x2a3)]['t'](_0x44e056(0xbd))}),_0x18b743['id']===_0x1fea06[_0x44e056(0x288)][_0x44e056(0x116)]&&this[_0x44e056(0xca)]['show']({'type':_0x244230[_0x44e056(0xe6)]['Warning'],'content':this[_0x44e056(0x2a3)]['t'](_0x44e056(0xd0))}),_0x18b743['id']===_0x1fea06[_0x44e056(0x288)][_0x44e056(0x2d3)]&&this[_0x44e056(0x181)][_0x44e056(0x1a3)]({'title':this[_0x44e056(0x2a3)]['t'](_0x44e056(0x107)),'content':this[_0x44e056(0x2a3)]['t']('permission.content'),'type':'error','duration':0x0}),_0x18b743['id']===_0x1fea06[_0x44e056(0x288)][_0x44e056(0x197)]&&this['_messageService'][_0x44e056(0x1a3)]({'type':_0x244230[_0x44e056(0xe6)][_0x44e056(0x24a)],'content':this['_localeService']['t'](_0x44e056(0xd0))+'('+_0x18b743[_0x44e056(0x223)]+')'}),_0x18b743['id']===_0x1fea06[_0x44e056(0x288)][_0x44e056(0x130)]&&this['_messageService'][_0x44e056(0x1a3)]({'type':_0x244230['MessageType'][_0x44e056(0x2ae)],'content':this[_0x44e056(0x2a3)]['t'](_0x18b743[_0x44e056(0x223)]||'')}),_0x18b743['id']===_0x1fea06[_0x44e056(0x288)][_0x44e056(0xe7)]&&this[_0x44e056(0xca)]['show']({'type':_0x244230['MessageType'][_0x44e056(0x2ae)],'content':this[_0x44e056(0x2a3)]['t']('session.will-retry')}),_0x18b743['id']===_0x1fea06[_0x44e056(0x288)][_0x44e056(0x22d)]&&this[_0x44e056(0xca)][_0x44e056(0x1a3)]({'type':_0x244230[_0x44e056(0xe6)][_0x44e056(0x24a)],'content':this['_localeService']['t']('session.connection-failed')}),_0x18b743['id']===_0x1fea06[_0x44e056(0x288)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x44e056(0xca)]['show']({'type':_0x244230[_0x44e056(0xe6)][_0x44e056(0x24a)],'content':this[_0x44e056(0x2a3)]['t'](_0x44e056(0x6e))});}));}};_0x456652=_0x394ff6([_0x1de2f7(0x0,_0x1ed340[_0x1cb167(0xa5)]),_0x1de2f7(0x1,_0x1fea06['ILocalCacheService']),_0x1de2f7(0x2,_0xa4ceaf[_0x1cb167(0x1b1)](_0x1fea06[_0x1cb167(0x205)])),_0x1de2f7(0x3,_0x1ed340[_0x1cb167(0x16c)]),_0x1de2f7(0x4,_0x1ed340['INotificationService']),_0x1de2f7(0x5,_0xa4ceaf[_0x1cb167(0x1b1)](_0xa4ceaf[_0x1cb167(0x247)]))],_0x456652);const _0x4285d5=_0x1cb167(0x1a1),_0x21975e={},_0x1b77a1=_0xa4ceaf[_0x1cb167(0xef)](_0x1cb167(0x102));var _0x1d2505=Object['getOwnPropertyDescriptor'],_0x442fdd=(_0xfb0e4c,_0x4ea4ec,_0x58691c,_0x3acf5a)=>{const _0x475b11=_0x1cb167;for(var _0x1ade6b=_0x3acf5a>0x1?void 0x0:_0x3acf5a?_0x1d2505(_0x4ea4ec,_0x58691c):_0x4ea4ec,_0x59938c=_0xfb0e4c[_0x475b11(0x13c)]-0x1,_0x2689de;_0x59938c>=0x0;_0x59938c--)(_0x2689de=_0xfb0e4c[_0x59938c])&&(_0x1ade6b=_0x2689de(_0x1ade6b)||_0x1ade6b);return _0x1ade6b;},_0x2530a4=(_0x8f6b9f,_0xb23802)=>(_0x3da0ff,_0x43f620)=>_0xb23802(_0x3da0ff,_0x43f620,_0x8f6b9f);_0x34aeda[_0x1cb167(0x1c2)]=class extends _0xa4ceaf['RxDisposable']{constructor(_0x4dba30,_0x4d229f,_0x41b4cc,_0x2caed6,_0x1c6970){const _0x2062e2=_0x1cb167;super(),this[_0x2062e2(0xf3)]=_0x4dba30,this[_0x2062e2(0xfa)]=_0x4d229f,this[_0x2062e2(0x18b)]=_0x41b4cc,this['_dataLoaderService']=_0x2caed6,_0x1c6970?_0x1c6970==null||_0x1c6970[_0x2062e2(0x1a7)]()[_0x2062e2(0x281)](()=>this[_0x2062e2(0x28f)]()):(this[_0x2062e2(0xfa)][_0x2062e2(0x69)](_0x2062e2(0x2f4),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x1cb167(0x28f)](){const _0x5f17cf=_0x1cb167,_0x4eb09b=this[_0x5f17cf(0xf3)]['getParam'](_0x5f17cf(0x163)),_0x74f4e1=this[_0x5f17cf(0xf3)]['getParam'](_0x5f17cf(0xaf)),_0xfea471=this[_0x5f17cf(0xf3)][_0x5f17cf(0x2d4)](_0x5f17cf(0x2a5));if(!_0x4eb09b||!_0x74f4e1){this[_0x5f17cf(0xfa)][_0x5f17cf(0x69)](_0x5f17cf(0x2f4),_0x5f17cf(0x85));return;}const _0x256cd4=await this[_0x5f17cf(0x1ce)][_0x5f17cf(0xb5)](_0x4eb09b,Number(_0x74f4e1),_0xfea471);_0x256cd4&&_0x256cd4 instanceof _0xa4ceaf[_0x5f17cf(0x245)]&&this[_0x5f17cf(0x6d)](_0x256cd4);}async['_setupSubUnitSync'](_0x114882){const _0x389154=_0x1cb167;await this['_updateSubUnitFromURLParams'](_0x114882),_0x114882[_0x389154(0x119)][_0x389154(0x19c)](_0x2467c8[_0x389154(0x180)](this['dispose$']))[_0x389154(0x277)](_0x4611d2=>{const _0x279df0=_0x389154;_0x4611d2&&this[_0x279df0(0x11f)](_0x4611d2);}),this[_0x389154(0xf3)]['urlChange$'][_0x389154(0x19c)](_0x2467c8[_0x389154(0x180)](this['dispose$']))['subscribe'](()=>this[_0x389154(0x309)](_0x114882));}[_0x1cb167(0x11f)](_0x37bda2,_0x49c478=!0x1){const _0x4a5f54=_0x1cb167,_0x3c16a3=this[_0x4a5f54(0xf3)][_0x4a5f54(0x2d4)](_0x4a5f54(0x2a5));_0x37bda2[_0x4a5f54(0x297)]()!==_0x3c16a3&&this['_urlService'][_0x4a5f54(0x24f)](_0x4a5f54(0x2a5),_0x37bda2[_0x4a5f54(0x297)](),_0x49c478);}async[_0x1cb167(0x309)](_0x414344){const _0x4256ef=_0x1cb167;var _0x409e37;const _0x5e0d1b=this['_urlService'][_0x4256ef(0x2d4)](_0x4256ef(0x2a5));if(!_0x5e0d1b||!_0x414344[_0x4256ef(0x8b)](_0x5e0d1b)){const _0x400e37=_0x414344['getUnhiddenWorksheets']()[0x0],_0xdffcf1=_0x414344[_0x4256ef(0x8b)](_0x400e37);if(!_0xdffcf1)return;this[_0x4256ef(0x11f)](_0xdffcf1,!0x0),await this['_commandService'][_0x4256ef(0x172)](_0x15df57[_0x4256ef(0x17f)]['id'],{'unitId':_0x414344[_0x4256ef(0x2b0)](),'subUnitId':_0x400e37});return;}((_0x409e37=_0x414344[_0x4256ef(0x20a)]())==null?void 0x0:_0x409e37['getSheetId']())!==_0x5e0d1b&&await this['_commandService'][_0x4256ef(0x172)](_0x15df57['SetWorksheetActivateCommand']['id'],{'unitId':_0x414344[_0x4256ef(0x2b0)](),'subUnitId':_0x5e0d1b});}},_0x34aeda[_0x1cb167(0x1c2)]=_0x442fdd([_0x2530a4(0x0,_0x1b77a1),_0x2530a4(0x1,_0xa4ceaf[_0x1cb167(0x1cc)]),_0x2530a4(0x2,_0xa4ceaf[_0x1cb167(0x104)]),_0x2530a4(0x3,_0xa4ceaf[_0x1cb167(0x1b1)](_0x1fea06[_0x1cb167(0x299)])),_0x2530a4(0x4,_0xa4ceaf[_0x1cb167(0x109)](_0x51541a['IRemoteInstanceService']))],_0x34aeda[_0x1cb167(0x1c2)]);var _0x4e8544=Object[_0x1cb167(0x282)],_0xfd689a=(_0x13ec9e,_0x4d309d,_0x501b47,_0x4dd3f0)=>{for(var _0x487941=_0x4dd3f0>0x1?void 0x0:_0x4dd3f0?_0x4e8544(_0x4d309d,_0x501b47):_0x4d309d,_0x102ae8=_0x13ec9e['length']-0x1,_0xd1ae75;_0x102ae8>=0x0;_0x102ae8--)(_0xd1ae75=_0x13ec9e[_0x102ae8])&&(_0x487941=_0xd1ae75(_0x487941)||_0x487941);return _0x487941;},_0x10df73=(_0x1fbeae,_0x291ce0)=>(_0x4f17b5,_0x2e835c)=>_0x291ce0(_0x4f17b5,_0x2e835c,_0x1fbeae);let _0x15f69e=class{constructor(_0x2784f4,_0x693928,_0x2d2b0e){const _0x3090d1=_0x1cb167;this[_0x3090d1(0xf7)]=_0x2784f4,this['_transformService']=_0x693928,this[_0x3090d1(0x14a)]=_0x2d2b0e;}[_0x1cb167(0x106)](_0x5d1763){const _0x6befa7=_0x1cb167;this[_0x6befa7(0x150)](_0x5d1763),this[_0x6befa7(0x173)](_0x5d1763);}['transformRemoteChangeset'](_0x2ffb43){const _0x1f3f54=_0x1cb167,{unitID:_0x1ea240}=_0x2ffb43,_0x4da7b6=this[_0x1f3f54(0x14a)][_0x1f3f54(0xb1)](_0x1ea240)['with'](_0x437b0c[_0x1f3f54(0x2cd)]),{redoCache:_0x4b181c}=_0x4da7b6[_0x1f3f54(0x278)]();if(_0x4b181c[_0x1f3f54(0x13c)]===0x0)return _0x2ffb43;let _0x2a958e=_0xa4ceaf[_0x1f3f54(0x193)]['deepClone'](_0x2ffb43[_0x1f3f54(0x2e1)][0x0]);for(let _0xa327df=0x0;_0xa327df<_0x4b181c[_0x1f3f54(0x13c)];_0xa327df++){const _0x47134a={'id':_0x1f3f54(0x2b2),'params':{..._0x4b181c[_0xa327df]}},_0x19c4d1=this[_0x1f3f54(0xbf)]['transformMutation'](_0x2a958e,_0x47134a,!0x1);if(_0x192f8c[_0x1f3f54(0x1d0)](_0x19c4d1))throw _0x19c4d1[_0x1f3f54(0x11b)];_0x2a958e=_0x19c4d1['m1Prime'];}return{..._0xa4ceaf[_0x1f3f54(0x193)][_0x1f3f54(0xaa)](_0x2ffb43),'mutations':[_0x2a958e]};}[_0x1cb167(0x150)](_0x13b874){const _0x332ace=_0x1cb167,{unitID:_0x58a550}=_0x13b874,_0x2bdd70=this[_0x332ace(0x14a)][_0x332ace(0xb1)](_0x58a550)[_0x332ace(0x139)](_0x437b0c[_0x332ace(0x2cd)]),{undoCache:_0x81f0d4,redoCache:_0x276378}=_0x2bdd70[_0x332ace(0x278)]();if(_0x81f0d4['length']===0x0||_0x276378[_0x332ace(0x13c)]===0x0)return;const _0xf6f3bf=[],_0x4dad10=[];let _0xd5d72a=_0xa4ceaf[_0x332ace(0x193)][_0x332ace(0xaa)](_0x13b874[_0x332ace(0x2e1)][0x0]),_0x37a3df=_0xa4ceaf[_0x332ace(0x193)]['deepClone'](_0x13b874[_0x332ace(0x2e1)][0x0]);for(let _0xeb3ee1=_0x81f0d4[_0x332ace(0x13c)]-0x1;_0xeb3ee1>=0x0;_0xeb3ee1--){const _0x182d48={'id':'doc.mutation.rich-text-editing','params':{..._0x81f0d4[_0xeb3ee1]}},_0x4b39bb={'id':_0x332ace(0x2b2),'params':{..._0x276378[_0xeb3ee1]}},_0x3e3106=this['_transformService'][_0x332ace(0x2c9)](_0xd5d72a,_0x182d48,!0x1),_0x4874ba=this[_0x332ace(0xbf)][_0x332ace(0x2c9)](_0x37a3df,_0x4b39bb,!0x1);if(_0x192f8c[_0x332ace(0x1d0)](_0x3e3106))throw _0x3e3106[_0x332ace(0x11b)];if(_0x192f8c[_0x332ace(0x1d0)](_0x4874ba))throw _0x4874ba['error'];_0xf6f3bf[_0x332ace(0xfd)](_0x3e3106[_0x332ace(0x1a5)][_0x332ace(0x97)]),_0x4dad10['unshift'](_0x4874ba[_0x332ace(0x1a5)]['params']),_0xd5d72a=_0x3e3106[_0x332ace(0x244)],_0x37a3df=_0x4874ba['m1Prime'];}_0x2bdd70['setUndoRedoMutationParamsCache']({'undoCache':_0xf6f3bf,'redoCache':_0x4dad10});}[_0x1cb167(0x173)](_0x4d36b8){const _0x1d8186=_0x1cb167,{unitID:_0x2bb721}=_0x4d36b8,_0x173a57=this['_renderManagerService']['getRenderById'](_0x2bb721)[_0x1d8186(0x139)](_0x437b0c['DocIMEInputManagerService']),_0x8c8106=_0x173a57[_0x1d8186(0x182)]();if(_0x8c8106==null)return;const _0x3d0a1e=[{'id':_0x1d8186(0x2b2),'params':{'unitId':_0x4d36b8[_0x1d8186(0x30c)],'actions':null,'textRanges':[_0x8c8106]}}],_0x4f3947=this[_0x1d8186(0xbf)]['transformMutationsWithChangeset'](_0x4d36b8,_0x3d0a1e);if(!_0x192f8c[_0x1d8186(0x135)](_0x4f3947))throw _0x4f3947[_0x1d8186(0x11b)];const _0x4d8ad3=_0x4f3947[_0x1d8186(0x1a5)][0x0][_0x1d8186(0x97)][_0x1d8186(0xdb)];Array[_0x1d8186(0x266)](_0x4d8ad3)&&_0x4d8ad3['length']&&_0x173a57[_0x1d8186(0x252)](_0x4d8ad3[0x0]);}};_0x15f69e=_0xfd689a([_0x10df73(0x0,_0xa4ceaf['Inject'](_0xa4ceaf['Injector'])),_0x10df73(0x1,_0x192f8c['ITransformService']),_0x10df73(0x2,_0x2f4842[_0x1cb167(0x1e6)])],_0x15f69e);var _0x2479ec=Object[_0x1cb167(0x282)],_0x5eff61=(_0x17f86a,_0x511aed,_0xf58b39,_0x1b4d26)=>{const _0x5ccf1e=_0x1cb167;for(var _0x1342b5=_0x1b4d26>0x1?void 0x0:_0x1b4d26?_0x2479ec(_0x511aed,_0xf58b39):_0x511aed,_0x38c1fc=_0x17f86a[_0x5ccf1e(0x13c)]-0x1,_0x5f2724;_0x38c1fc>=0x0;_0x38c1fc--)(_0x5f2724=_0x17f86a[_0x38c1fc])&&(_0x1342b5=_0x5f2724(_0x1342b5)||_0x1342b5);return _0x1342b5;},_0x38ede7=(_0x4eeb2e,_0x273d9b)=>(_0x100449,_0x3e2e61)=>_0x273d9b(_0x100449,_0x3e2e61,_0x4eeb2e);let _0x5a2acb=class{constructor(_0x26ad38,_0x529cf6,_0x1d4a4d){const _0x109dc0=_0x1cb167;this[_0x109dc0(0xf7)]=_0x26ad38,this[_0x109dc0(0xbf)]=_0x529cf6,this[_0x109dc0(0x2fe)]=_0x1d4a4d;}[_0x1cb167(0x171)](_0x55991b){this['_transformHistoryAndStateStack'](_0x55991b);}[_0x1cb167(0xf8)](_0x4bba4e){const _0x7348ea=_0x1cb167,{unitID:_0x43b4db}=_0x4bba4e,{collaboration:_0x20ee6a}=this[_0x7348ea(0x2fe)][_0x7348ea(0x1c6)](_0x43b4db);if(_0x20ee6a[_0x7348ea(0x13c)]===0x0)return _0x4bba4e;let _0x5e4be0=_0xa4ceaf[_0x7348ea(0x193)][_0x7348ea(0xaa)](_0x4bba4e[_0x7348ea(0x2e1)][0x0]);for(let _0x2416d4=0x0;_0x2416d4<_0x20ee6a[_0x7348ea(0x13c)];_0x2416d4++){const _0x46fc5b={'id':_0x7348ea(0x2b2),'params':{'unitId':_0x20ee6a[_0x2416d4][_0x7348ea(0x159)],..._0x20ee6a[_0x2416d4][_0x7348ea(0x202)]}},_0x21b93a=this[_0x7348ea(0xbf)][_0x7348ea(0x2c9)](_0x5e4be0,_0x46fc5b,!0x1);if(_0x192f8c['isTransformMutationFailure'](_0x21b93a))throw _0x21b93a[_0x7348ea(0x11b)];_0x5e4be0=_0x21b93a['m1Prime'];}return{..._0xa4ceaf[_0x7348ea(0x193)][_0x7348ea(0xaa)](_0x4bba4e),'mutations':[_0x5e4be0]};}[_0x1cb167(0x1ec)](_0x10ca3e){const _0x5bf33c=_0x1cb167,{unitID:_0x44124f}=_0x10ca3e,{history:_0x1089e9,collaboration:_0x2613fd}=this[_0x5bf33c(0x2fe)][_0x5bf33c(0x1c6)](_0x44124f);if(_0x1089e9['length']===0x0&&_0x2613fd[_0x5bf33c(0x13c)]===0x0)return;const _0x34e729=[],_0x140e56=[];let _0x5c8bc8=_0xa4ceaf[_0x5bf33c(0x193)][_0x5bf33c(0xaa)](_0x10ca3e['mutations'][0x0]),_0x3b00e9=_0xa4ceaf['Tools']['deepClone'](_0x10ca3e[_0x5bf33c(0x2e1)][0x0]);for(let _0x2e46fe=_0x1089e9[_0x5bf33c(0x13c)]-0x1;_0x2e46fe>=0x0;_0x2e46fe--){const _0x368f3a={'id':_0x5bf33c(0x2b2),'params':{'unitId':_0x1089e9[_0x2e46fe]['unitId'],..._0x1089e9[_0x2e46fe][_0x5bf33c(0x1c5)]}},_0xfee6bb={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1089e9[_0x2e46fe]['unitId'],..._0x1089e9[_0x2e46fe][_0x5bf33c(0x202)]}},_0x184c8e=this['_transformService'][_0x5bf33c(0x2c9)](_0x5c8bc8,_0x368f3a,!0x1),_0x555735=this[_0x5bf33c(0xbf)][_0x5bf33c(0x2c9)](_0x3b00e9,_0xfee6bb,!0x1);if(_0x192f8c[_0x5bf33c(0x1d0)](_0x184c8e))throw _0x184c8e[_0x5bf33c(0x11b)];if(_0x192f8c['isTransformMutationFailure'](_0x555735))throw _0x555735[_0x5bf33c(0x11b)];_0x34e729[_0x5bf33c(0xfd)]({..._0x1089e9[_0x2e46fe],'undoState':_0x184c8e[_0x5bf33c(0x1a5)][_0x5bf33c(0x97)],'redoState':_0x555735[_0x5bf33c(0x1a5)]['params']}),_0x5c8bc8=_0x184c8e[_0x5bf33c(0x244)],_0x3b00e9=_0x555735[_0x5bf33c(0x244)];}_0x5c8bc8=_0xa4ceaf['Tools']['deepClone'](_0x10ca3e[_0x5bf33c(0x2e1)][0x0]),_0x3b00e9=_0xa4ceaf[_0x5bf33c(0x193)][_0x5bf33c(0xaa)](_0x10ca3e[_0x5bf33c(0x2e1)][0x0]);for(let _0x565ad6=_0x2613fd['length']-0x1;_0x565ad6>=0x0;_0x565ad6--){const _0x182a20={'id':_0x5bf33c(0x2b2),'params':{'unitId':_0x2613fd[_0x565ad6][_0x5bf33c(0x159)],..._0x2613fd[_0x565ad6][_0x5bf33c(0x1c5)]}},_0x2beb27={'id':_0x5bf33c(0x2b2),'params':{'unitId':_0x2613fd[_0x565ad6][_0x5bf33c(0x159)],..._0x2613fd[_0x565ad6]['redoState']}},_0x5725b6=this[_0x5bf33c(0xbf)][_0x5bf33c(0x2c9)](_0x5c8bc8,_0x182a20,!0x1),_0x1d8cf4=this[_0x5bf33c(0xbf)][_0x5bf33c(0x2c9)](_0x3b00e9,_0x2beb27,!0x1);if(_0x192f8c[_0x5bf33c(0x1d0)](_0x5725b6))throw _0x5725b6[_0x5bf33c(0x11b)];if(_0x192f8c[_0x5bf33c(0x1d0)](_0x1d8cf4))throw _0x1d8cf4[_0x5bf33c(0x11b)];_0x140e56['unshift']({..._0x2613fd[_0x565ad6],'undoState':_0x5725b6[_0x5bf33c(0x1a5)][_0x5bf33c(0x97)],'redoState':_0x1d8cf4[_0x5bf33c(0x1a5)][_0x5bf33c(0x97)]}),_0x5c8bc8=_0x5725b6[_0x5bf33c(0x244)],_0x3b00e9=_0x1d8cf4[_0x5bf33c(0x244)];}this[_0x5bf33c(0x2fe)][_0x5bf33c(0x1ae)](_0x44124f,{'history':_0x34e729,'collaboration':_0x140e56});}};_0x5a2acb=_0x5eff61([_0x38ede7(0x0,_0xa4ceaf[_0x1cb167(0x1b1)](_0xa4ceaf[_0x1cb167(0x1d1)])),_0x38ede7(0x1,_0x192f8c[_0x1cb167(0x1a9)]),_0x38ede7(0x2,_0xa4ceaf[_0x1cb167(0x1b1)](_0x437b0c[_0x1cb167(0x249)]))],_0x5a2acb);var _0x3c1718=Object[_0x1cb167(0x282)],_0x222d94=(_0x331f1e,_0x356c45,_0x5be3c5,_0x10f197)=>{const _0x491e7f=_0x1cb167;for(var _0xf51b67=_0x10f197>0x1?void 0x0:_0x10f197?_0x3c1718(_0x356c45,_0x5be3c5):_0x356c45,_0x40e2fb=_0x331f1e[_0x491e7f(0x13c)]-0x1,_0x2864f4;_0x40e2fb>=0x0;_0x40e2fb--)(_0x2864f4=_0x331f1e[_0x40e2fb])&&(_0xf51b67=_0x2864f4(_0xf51b67)||_0xf51b67);return _0xf51b67;},_0x3405a8=(_0x3d34eb,_0x1d2d30)=>(_0x2514b1,_0x17adb2)=>_0x1d2d30(_0x2514b1,_0x17adb2,_0x3d34eb);let _0x45b39b=class{constructor(_0x408545,_0x4dedb5){this['_injector']=_0x408545,this['_transformService']=_0x4dedb5;}[_0x1cb167(0xeb)](_0x5b5b74){const _0x2fd04e=_0x1cb167;var _0x2942a4;const _0x43e1bd=this[_0x2fd04e(0xf7)][_0x2fd04e(0x134)](_0x2695a0['DocSelectionManagerService']),_0x5d5261=(_0x2942a4=_0x43e1bd[_0x2fd04e(0x303)]())!=null?_0x2942a4:[];if(_0x5d5261[_0x2fd04e(0x13c)]===0x0)return;const _0x2b1d76=_0x5b5b74['unitID'],_0x211ba2=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2b1d76,'actions':null,'textRanges':_0x5d5261}}],_0x3819cd=this[_0x2fd04e(0xbf)][_0x2fd04e(0x74)](_0x5b5b74,_0x211ba2);if(!_0x192f8c['isTransformMutationsWithChangesetSuccess'](_0x3819cd))throw _0x3819cd[_0x2fd04e(0x11b)];const _0x9c654b=_0x3819cd[_0x2fd04e(0x1a5)][0x0]['params']['textRanges'];Array[_0x2fd04e(0x266)](_0x9c654b)&&_0x9c654b[_0x2fd04e(0x13c)]&&_0x43e1bd[_0x2fd04e(0x2ea)](_0x9c654b,{'unitId':_0x2b1d76,'subUnitId':_0x2b1d76},!0x1);}};_0x45b39b=_0x222d94([_0x3405a8(0x0,_0xa4ceaf[_0x1cb167(0x1b1)](_0xa4ceaf[_0x1cb167(0x1d1)])),_0x3405a8(0x1,_0x192f8c[_0x1cb167(0x1a9)])],_0x45b39b);var _0xe674c3=Object[_0x1cb167(0x282)],_0x26fa06=(_0x4504d4,_0x262585,_0x1823ed,_0x5cc234)=>{const _0x557418=_0x1cb167;for(var _0x5dc711=_0x5cc234>0x1?void 0x0:_0x5cc234?_0xe674c3(_0x262585,_0x1823ed):_0x262585,_0x4e8ae0=_0x4504d4[_0x557418(0x13c)]-0x1,_0x5c93e8;_0x4e8ae0>=0x0;_0x4e8ae0--)(_0x5c93e8=_0x4504d4[_0x4e8ae0])&&(_0x5dc711=_0x5c93e8(_0x5dc711)||_0x5dc711);return _0x5dc711;},_0x362fdd=(_0x243200,_0x4cd584)=>(_0x29e53c,_0x4d8406)=>_0x4cd584(_0x29e53c,_0x4d8406,_0x243200);let _0x4ab860=class extends _0xa4ceaf[_0x1cb167(0x261)]{constructor(_0x2bdd75,_0x22b479,_0x1e92a3,_0x5bb770,_0x17cb48,_0x343acc,_0x33de2b,_0x44116c){const _0x29cfae=_0x1cb167;super(),_0x5cc0bc(this,'_status$',new _0x2467c8[(_0x29cfae(0x77))](_0x1fea06['CollaborationStatus'][_0x29cfae(0x25b)])),(this[_0x29cfae(0x2fe)]=_0x2bdd75,this[_0x29cfae(0x9b)]=_0x22b479,this['_docTransformIMECacheService']=_0x1e92a3,this[_0x29cfae(0x1e2)]=_0x5bb770,this[_0x29cfae(0x137)]=_0x17cb48,this[_0x29cfae(0xe3)]=_0x343acc,this[_0x29cfae(0xca)]=_0x33de2b,this[_0x29cfae(0x2a3)]=_0x44116c,this[_0x29cfae(0x2c3)]());}[_0x1cb167(0x2c3)](){const _0x3371e5=_0x1cb167;this[_0x3371e5(0x269)](this[_0x3371e5(0x9b)]['entityInit$'][_0x3371e5(0x277)](_0x936145=>{const _0x26a4e7=_0x3371e5,_0x432aa1=this['_docStateChangeManagerService'][_0x26a4e7(0x94)]['subscribe'](_0x514dcd=>{const _0x3525c8=_0x26a4e7;if(_0x514dcd==null)return;const {unitId:_0x13a2aa,redoState:_0xc5aaa9,commandId:_0x5cfbae}=_0x514dcd;if(_0x13a2aa!==_0x936145['unitID'])return;const _0x56a754={'id':_0x5cfbae,'type':_0xa4ceaf[_0x3525c8(0x16d)]['MUTATION'],'params':{'unitId':_0x13a2aa,'actions':_0xc5aaa9[_0x3525c8(0x30f)],'textRanges':null}};_0x936145[_0x3525c8(0x127)](_0x56a754);});if(_0x936145['disposeWithMe'](_0x432aa1),_0x936145 instanceof _0x1fea06['DocCollaborationEntity']){const _0x16cfa4={'onTransformIME':_0x4b3b4f=>this[_0x26a4e7(0x15e)][_0x26a4e7(0x106)](_0x4b3b4f),'onTransformState':_0x1baea2=>this[_0x26a4e7(0x1e2)][_0x26a4e7(0x171)](_0x1baea2),'onTransformSelections':_0x4962d5=>this[_0x26a4e7(0x137)][_0x26a4e7(0xeb)](_0x4962d5),'onSyncEditingCollabCursor':_0x332103=>this[_0x26a4e7(0xe3)][_0x26a4e7(0xb6)](_0x332103),'onTransformRemoteChangesetByIMECache':_0x1bbaac=>this[_0x26a4e7(0x15e)][_0x26a4e7(0xf8)](_0x1bbaac),'onTransformRemoteChangesetByStateCache':_0x52c93f=>this['_docTransformStateCacheService'][_0x26a4e7(0xf8)](_0x52c93f)};_0x936145[_0x26a4e7(0xee)](_0x16cfa4);}}));}};_0x4ab860=_0x26fa06([_0x362fdd(0x0,_0xa4ceaf[_0x1cb167(0x1b1)](_0x437b0c[_0x1cb167(0x249)])),_0x362fdd(0x1,_0xa4ceaf[_0x1cb167(0x1b1)](_0x1fea06['CollaborationController'])),_0x362fdd(0x2,_0xa4ceaf['Inject'](_0x15f69e)),_0x362fdd(0x3,_0xa4ceaf[_0x1cb167(0x1b1)](_0x5a2acb)),_0x362fdd(0x4,_0xa4ceaf[_0x1cb167(0x1b1)](_0x45b39b)),_0x362fdd(0x5,_0xa4ceaf['Inject'](_0x40e91b)),_0x362fdd(0x6,_0x1ed340['IMessageService']),_0x362fdd(0x7,_0xa4ceaf[_0x1cb167(0x1b1)](_0xa4ceaf[_0x1cb167(0x247)]))],_0x4ab860);var _0x3a0ed2=Object[_0x1cb167(0x282)],_0x5a32d5=(_0x4ea548,_0x284c79,_0x30d6f5,_0x3a66d9)=>{const _0x3c5b43=_0x1cb167;for(var _0x953703=_0x3a66d9>0x1?void 0x0:_0x3a66d9?_0x3a0ed2(_0x284c79,_0x30d6f5):_0x284c79,_0x2aa26a=_0x4ea548[_0x3c5b43(0x13c)]-0x1,_0x9d8708;_0x2aa26a>=0x0;_0x2aa26a--)(_0x9d8708=_0x4ea548[_0x2aa26a])&&(_0x953703=_0x9d8708(_0x953703)||_0x953703);return _0x953703;},_0x4a2234=(_0x482bac,_0x132dd9)=>(_0x3db7b7,_0x767cae)=>_0x132dd9(_0x3db7b7,_0x767cae,_0x482bac);let _0x40d574=class extends _0xa4ceaf[_0x1cb167(0x261)]{constructor(_0x3d1a53,_0x4db1e2,_0x292fe9){const _0x56a92d=_0x1cb167;super(),_0x5cc0bc(this,_0x56a92d(0xd5),new Map()),_0x5cc0bc(this,'_saveTaskMap',new Map()),_0x5cc0bc(this,_0x56a92d(0x2d6),!0x1),(this[_0x56a92d(0x213)]=_0x3d1a53,this[_0x56a92d(0x82)]=_0x4db1e2,this[_0x56a92d(0x1cd)]=_0x292fe9);}[_0x1cb167(0x2ff)](){const _0x1c7491=_0x1cb167;this[_0x1c7491(0x2d6)]=!0x0;}[_0x1cb167(0x112)](){const _0x49da38=_0x1cb167;this[_0x49da38(0x2d6)]=!0x1;}get[_0x1cb167(0x90)](){const _0x1cdd4a=_0x1cb167;return this[_0x1cdd4a(0x2e7)];}['dispose'](){const _0x545306=_0x1cb167;this['exhaustSavingTask']()[_0x545306(0x281)](()=>super['dispose']());}async[_0x1cb167(0xa4)](_0x28e531){const _0x2fa7b3=_0x1cb167;return this[_0x2fa7b3(0x2d6)]?null:this['_localStorageService'][_0x2fa7b3(0x26b)](_0x1fea06[_0x2fa7b3(0x2de)](_0x28e531));}async[_0x1cb167(0x14e)](_0x7deab9,_0x29d7e7){const _0x232aba=_0x1cb167;return!!this[_0x232aba(0x82)][_0x232aba(0x1e8)](_0x7deab9,_0x29d7e7);}['updateOfflineData'](_0x10dd68,_0x23b35,_0x34d27d,_0x23a1bf){const _0x1c44d4=_0x1cb167,_0x29ae8a=this[_0x1c44d4(0x1cd)][_0x1c44d4(0x20e)](_0x10dd68);this[_0x1c44d4(0xd5)]['set'](_0x10dd68,{'unitID':_0x10dd68,'type':_0x23b35,'awaitingChangeset':_0x34d27d,'mutations':_0x23a1bf,'rev':_0x29ae8a}),this[_0x1c44d4(0x2e7)]['has'](_0x10dd68)||this[_0x1c44d4(0xea)](_0x10dd68);}[_0x1cb167(0xea)](_0x52c1b2){const _0x17a447=_0x1cb167,_0x83a003=this[_0x17a447(0x185)]();_0x83a003===0x0?this[_0x17a447(0x24d)](_0x52c1b2):this[_0x17a447(0x2e7)][_0x17a447(0x20f)](_0x52c1b2,setTimeout(()=>this[_0x17a447(0x24d)](_0x52c1b2),_0x83a003));}[_0x1cb167(0x185)](){const _0x4aa671=_0x1cb167;var _0xda361;return(_0xda361=this[_0x4aa671(0x213)][_0x4aa671(0x1a6)](_0x1fea06[_0x4aa671(0x1b3)]))!=null?_0xda361:_0x1fea06['LOCAL_CACHE_INTERVAL'];}[_0x1cb167(0x24d)](_0x2d2a09){const _0x49cb66=_0x1cb167,_0x2831d8=this[_0x49cb66(0x2e7)]['get'](_0x2d2a09);return _0x2831d8!==void 0x0&&window[_0x49cb66(0x13d)](_0x2831d8),this['_localStorageService'][_0x49cb66(0x1e8)](_0x1fea06[_0x49cb66(0x2de)](_0x2d2a09),this[_0x49cb66(0xd5)][_0x49cb66(0x134)](_0x2d2a09))[_0x49cb66(0x281)](()=>this[_0x49cb66(0x2e7)][_0x49cb66(0x2b6)](_0x2d2a09));}async[_0x1cb167(0x18a)](){const _0x30cf9a=_0x1cb167,_0x368f7a=[];this[_0x30cf9a(0x2e7)]['forEach']((_0x54188d,_0x696333)=>{const _0xf8d021=_0x30cf9a;window['clearTimeout'](_0x54188d),_0x368f7a[_0xf8d021(0x1d2)](this[_0xf8d021(0x24d)](_0x696333)[_0xf8d021(0x281)](()=>{const _0x4edf65=_0xf8d021;this['_saveTaskMap'][_0x4edf65(0x2b6)](_0x696333);}));}),await Promise['all'](_0x368f7a);}};_0x40d574=_0x5a32d5([_0x4a2234(0x0,_0xa4ceaf[_0x1cb167(0x1a4)]),_0x4a2234(0x1,_0xa4ceaf[_0x1cb167(0x216)]),_0x4a2234(0x2,_0xa4ceaf[_0x1cb167(0x1b1)](_0x192f8c['RevisionService']))],_0x40d574);class _0x178e44 extends _0xa4ceaf[_0x1cb167(0x17a)]{constructor(){const _0x5ce056=_0x1cb167;super(),_0x5cc0bc(this,_0x5ce056(0x28a)),this[_0x5ce056(0x28a)]=_0x2467c8[_0x5ce056(0x23e)](window,_0x5ce056(0x111))[_0x5ce056(0x19c)](_0x2467c8[_0x5ce056(0x180)](this[_0x5ce056(0x2eb)]),_0x2467c8[_0x5ce056(0x29e)](0x1),_0x2467c8[_0x5ce056(0x237)](void 0x0));}[_0x1cb167(0x24f)](_0x2681a7,_0x586954,_0x4a315c=!0x1){const _0x1e819e=_0x1cb167,_0x8feff3=new URL(window['location'][_0x1e819e(0x2fc)]);_0x8feff3[_0x1e819e(0x2c5)][_0x1e819e(0x20f)](_0x2681a7,_0x586954),_0x4a315c?window['history'][_0x1e819e(0x1a8)]('','',_0x8feff3[_0x1e819e(0x14b)]()):window[_0x1e819e(0x306)][_0x1e819e(0xdf)]('','',_0x8feff3[_0x1e819e(0x14b)]());}[_0x1cb167(0x10b)](_0x177681,_0xdeb81b=!0x1){const _0x2c6cc1=_0x1cb167,_0x28bb27=new URL(window['location']['href']);_0x28bb27['searchParams'][_0x2c6cc1(0x2b6)](_0x177681),_0xdeb81b?window[_0x2c6cc1(0x306)][_0x2c6cc1(0x1a8)]('','',_0x28bb27[_0x2c6cc1(0x14b)]()):window[_0x2c6cc1(0x306)]['pushState']('','',_0x28bb27[_0x2c6cc1(0x14b)]());}[_0x1cb167(0x2d4)](_0x1bd0bb){const _0x20d34b=_0x1cb167;var _0x5f0e38;return(_0x5f0e38=new URL(window[_0x20d34b(0x1f6)][_0x20d34b(0x2fc)])[_0x20d34b(0x2c5)][_0x20d34b(0x134)](_0x1bd0bb))!=null?_0x5f0e38:void 0x0;}}var _0x50874c=Object[_0x1cb167(0xa1)],_0x4d9caa=Object[_0x1cb167(0x282)],_0x5313b9=(_0x46227d,_0x36fa93,_0x314029)=>_0x36fa93 in _0x46227d?_0x50874c(_0x46227d,_0x36fa93,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x314029}):_0x46227d[_0x36fa93]=_0x314029,_0x4d5d42=(_0x4558de,_0x2d1ca5,_0x21b947,_0x5de519)=>{const _0x4d7e1b=_0x1cb167;for(var _0x2ce240=_0x5de519>0x1?void 0x0:_0x5de519?_0x4d9caa(_0x2d1ca5,_0x21b947):_0x2d1ca5,_0x3bb0f0=_0x4558de[_0x4d7e1b(0x13c)]-0x1,_0x3ace34;_0x3bb0f0>=0x0;_0x3bb0f0--)(_0x3ace34=_0x4558de[_0x3bb0f0])&&(_0x2ce240=_0x3ace34(_0x2ce240)||_0x2ce240);return _0x2ce240;},_0x118c8e=(_0x674828,_0x5a78b3)=>(_0x3054cc,_0x522b88)=>_0x5a78b3(_0x3054cc,_0x522b88,_0x674828),_0x50e6c6=(_0x4e89d2,_0x48c2f2,_0x579a87)=>_0x5313b9(_0x4e89d2,_0x48c2f2+'',_0x579a87);const _0x36ce80=_0x1cb167(0x26e);_0x34aeda['UniverCollaborationClientUIPlugin']=class extends _0xa4ceaf[_0x1cb167(0x24e)]{constructor(_0x36ca62=_0x21975e,_0x4f6257,_0x2950c2,_0x5e9fa5){const _0x5e7074=_0x1cb167;super(),this[_0x5e7074(0xcc)]=_0x36ca62,this[_0x5e7074(0x14a)]=_0x4f6257,this['_injector']=_0x2950c2,this[_0x5e7074(0x213)]=_0x5e9fa5;const {..._0x3eb0b4}=_0xa4ceaf[_0x5e7074(0x2e8)]({},_0x21975e,this[_0x5e7074(0xcc)]);this[_0x5e7074(0x213)]['setConfig'](_0x4285d5,_0x3eb0b4);}[_0x1cb167(0x96)](){const _0x4a08dd=_0x1cb167;this[_0x4a08dd(0x93)](),this[_0x4a08dd(0x10e)]();}[_0x1cb167(0xa0)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x1574e9=_0x1cb167;var _0xc634be;const _0xd28096=[[_0x1a5231],[_0x45b39b],[_0x15f69e],[_0x5a2acb],[_0x40e91b],[_0x1b77a1,{'useClass':_0x178e44}],[_0x168285[_0x1574e9(0x125)],{'useClass':_0x168285[_0x1574e9(0x246)]}],[_0x1fea06['ILocalCacheService'],{'useClass':_0x40d574}],[_0x34aeda['DesktopCollaborationStatusDisplayController']],[_0x4ab860],[_0x456652],[_0x1e89a4],[_0x5f3782],[_0x34aeda['CollaborationDataLoaderController']]];_0xa4ceaf[_0x1574e9(0x7c)](this[_0x1574e9(0xf7)],_0xa4ceaf['mergeOverrideWithDependencies'](_0xd28096,(_0xc634be=this[_0x1574e9(0xcc)])==null?void 0x0:_0xc634be[_0x1574e9(0x195)]));}['_registerRenderDependencies'](){const _0x3475b0=_0x1cb167;this[_0x3475b0(0x269)](this['_renderManagerService'][_0x3475b0(0x110)](_0xa4ceaf[_0x3475b0(0x167)][_0x3475b0(0x1c9)],[_0x4fc29a])),this['disposeWithMe'](this['_renderManagerService'][_0x3475b0(0x110)](_0xa4ceaf[_0x3475b0(0x167)]['UNIVER_SHEET'],[_0x4239bf]));}[_0x1cb167(0x10e)](){const _0x44ec25=_0x1cb167;_0xa4ceaf[_0x44ec25(0x250)](this[_0x44ec25(0xf7)],[[_0x1e89a4],[_0x34aeda[_0x44ec25(0x1c4)]],[_0x4ab860],[_0x456652],[_0x34aeda['CollaborationDataLoaderController']]]);}},_0x50e6c6(_0x34aeda[_0x1cb167(0x2ca)],_0x1cb167(0x2a9),_0x36ce80),_0x34aeda[_0x1cb167(0x2ca)]=_0x4d5d42([_0xa4ceaf[_0x1cb167(0x1b4)](_0x1fea06[_0x1cb167(0x305)]),_0x118c8e(0x1,_0x2f4842[_0x1cb167(0x1e6)]),_0x118c8e(0x2,_0xa4ceaf['Inject'](_0xa4ceaf[_0x1cb167(0x1d1)])),_0x118c8e(0x3,_0xa4ceaf[_0x1cb167(0x1a4)])],_0x34aeda[_0x1cb167(0x2ca)]);var _0x45c930=Object[_0x1cb167(0x282)],_0x22078b=(_0x3a32f3,_0x208802,_0x37781d,_0x21ecf2)=>{const _0x299dde=_0x1cb167;for(var _0x249dc5=_0x21ecf2>0x1?void 0x0:_0x21ecf2?_0x45c930(_0x208802,_0x37781d):_0x208802,_0x4db044=_0x3a32f3[_0x299dde(0x13c)]-0x1,_0x2d304f;_0x4db044>=0x0;_0x4db044--)(_0x2d304f=_0x3a32f3[_0x4db044])&&(_0x249dc5=_0x2d304f(_0x249dc5)||_0x249dc5);return _0x249dc5;},_0x32ca66=(_0x3875d7,_0x47bb0e)=>(_0xce3729,_0x3392f7)=>_0x47bb0e(_0xce3729,_0x3392f7,_0x3875d7);_0x34aeda[_0x1cb167(0x283)]=class extends _0x1fea06[_0x1cb167(0x1fa)]{constructor(_0x2d81e7,_0x5d8e97,_0x1fc1be,_0x2f88c0,_0x388932){super(_0x2d81e7,_0x5d8e97,_0x1fc1be,_0x2f88c0,_0x388932);}async[_0x1cb167(0x226)](_0x238f43){const _0x2f2002=_0x1cb167,_0x222c99=await this[_0x2f2002(0x16a)](),_0x1fe47c=this['_createSocketURL'](_0x238f43,_0x222c99);return this[_0x2f2002(0x1af)](_0x1fe47c);}[_0x1cb167(0xf5)](_0x2114d9,_0x42bbde){const _0x337543=_0x1cb167,_0x1e73fe=typeof window>'u'?new URL(_0x2114d9):new URL(_0x2114d9,window[_0x337543(0x1f6)]['origin']);_0x1e73fe[_0x337543(0x2c5)][_0x337543(0x20f)](_0x337543(0x25e),_0x42bbde);const _0x57ccc6=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x337543(0x1f6)][_0x337543(0x158)]);return _0x57ccc6[_0x337543(0x134)]('runId')&&_0x1e73fe[_0x337543(0x2c5)][_0x337543(0x20f)](_0x337543(0xd3),_0x57ccc6['get'](_0x337543(0xd3))),_0x1e73fe['toString']();}async[_0x1cb167(0x16a)](){const _0x4b937a=_0x1cb167;var _0x362f48,_0x2dcb37,_0x165d92;const _0x19a400=this[_0x4b937a(0x213)]['getConfig'](_0x1fea06['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x406b70=(_0x362f48=_0x19a400==null?void 0x0:_0x19a400[_0x4b937a(0x88)])!=null?_0x362f48:_0x1fea06[_0x4b937a(0x1e4)];return(_0x165d92=(_0x2dcb37=(await this[_0x4b937a(0xdc)]['get'](_0x406b70,{'headers':{'Content-Type':_0x4b937a(0x201)}}))[_0x4b937a(0x29b)])==null?void 0x0:_0x2dcb37[_0x4b937a(0x7e)])!=null?_0x165d92:'';}},_0x34aeda['BrowserCollaborationSocketService']=_0x22078b([_0x32ca66(0x0,_0xa4ceaf[_0x1cb167(0x1b1)](_0xa4ceaf[_0x1cb167(0x1d1)])),_0x32ca66(0x1,_0xa4ceaf['Inject'](_0x168285[_0x1cb167(0x2cf)])),_0x32ca66(0x2,_0xa4ceaf[_0x1cb167(0x1a4)]),_0x32ca66(0x3,_0xa4ceaf[_0x1cb167(0x1cc)]),_0x32ca66(0x4,_0x192f8c[_0x1cb167(0x260)])],_0x34aeda[_0x1cb167(0x283)]);const _0x3047c8=0x7530,_0x320355='ACTIVE_UNIT_EVENT_CHANNEL';class _0x221055 extends _0xa4ceaf['Disposable']{constructor(){const _0x347285=_0x1cb167;super(),_0x5cc0bc(this,'_id',_0xa4ceaf[_0x347285(0xde)]()),_0x5cc0bc(this,'_selfUnitIDs',new Set()),_0x5cc0bc(this,_0x347285(0x1eb),new Map()),_0x5cc0bc(this,_0x347285(0x1ea),null),_0x5cc0bc(this,'_clearOtherTimers',new Map()),_0x5cc0bc(this,_0x347285(0x2d8),new Map()),this[_0x347285(0x28f)]();}[_0x1cb167(0x1ab)](){const _0x5b154b=_0x1cb167;super[_0x5b154b(0x1ab)](),this[_0x5b154b(0x2e2)][_0x5b154b(0x1ca)]((_0x5c4edc,_0x29fbf0)=>this['_removeClearOtherTimer'](_0x29fbf0)),this['_heartbeatTimer']&&window[_0x5b154b(0xd7)](this['_heartbeatTimer']);}[_0x1cb167(0x2a2)](_0x4ec449){const _0x26fd89=_0x1cb167;return this['_ensureSubject'](_0x4ec449)[_0x26fd89(0x19c)](_0x2467c8['distinctUntilChanged']());}['editingUnit'](_0x179ff8){const _0x46eacc=_0x1cb167;this[_0x46eacc(0x1ba)][_0x46eacc(0x2aa)]===0x0&&this[_0x46eacc(0x131)](),this[_0x46eacc(0x1ba)][_0x46eacc(0x1d7)](_0x179ff8),this[_0x46eacc(0x22c)]({'type':0x0,'memberID':this[_0x46eacc(0x120)],'unitIDs':[_0x179ff8],'isForwarded':!0x1});}[_0x1cb167(0x2ef)](_0x48d5cc){const _0x5e76db=_0x1cb167;this[_0x5e76db(0x1ba)][_0x5e76db(0x2b6)](_0x48d5cc),this[_0x5e76db(0x1ba)][_0x5e76db(0x2aa)]===0x0&&this[_0x5e76db(0x1ea)]&&window[_0x5e76db(0xd7)](this['_heartbeatTimer']);}[_0x1cb167(0x28f)](){const _0x4ed5f9=_0x1cb167;this[_0x4ed5f9(0x269)](_0xa4ceaf['toDisposable'](_0x2467c8[_0x4ed5f9(0x23e)](window,_0x4ed5f9(0x12d))[_0x4ed5f9(0x277)](_0x3567ab=>{const _0x53ed9f=_0x4ed5f9;if(_0x3567ab[_0x53ed9f(0x2e3)]!==_0x320355||!_0x3567ab[_0x53ed9f(0x174)])return;const _0x363628=JSON[_0x53ed9f(0x26a)](_0x3567ab[_0x53ed9f(0x174)]);this[_0x53ed9f(0x8c)](_0x363628);}))),window['addEventListener'](_0x4ed5f9(0xe9),()=>this[_0x4ed5f9(0x22c)]({'type':0x1,'memberID':this[_0x4ed5f9(0x120)],'unitIDs':Array[_0x4ed5f9(0x221)](this[_0x4ed5f9(0x1ba)])}));}[_0x1cb167(0x8c)](_0x541f32){const _0x5d115b=_0x1cb167;switch(_0x541f32['type']){case 0x0:this[_0x5d115b(0xda)](_0x541f32);break;case 0x1:this['_handleLeaveEvent'](_0x541f32);break;case 0x2:this[_0x5d115b(0x14d)](_0x541f32);break;}}[_0x1cb167(0xda)](_0x30af85){const _0x44c8f3=_0x1cb167,{unitIDs:_0x2d1e20,memberID:_0x1f9ebb,isForwarded:_0x2a0b90}=_0x30af85;_0x2d1e20[_0x44c8f3(0x1ca)](_0x5f463b=>{const _0x155498=_0x44c8f3;if(!_0x2a0b90&&this['_unitOnClients'][_0x155498(0xf9)](_0x5f463b)&&this['_ensureSubject'](_0x5f463b)[_0x155498(0x224)](_0x1fea06[_0x155498(0x108)][_0x155498(0x215)]),!this[_0x155498(0x1eb)][_0x155498(0xf9)](_0x5f463b)||!this['_unitOnClients'][_0x155498(0x134)](_0x5f463b)[_0x155498(0xf9)](_0x1f9ebb)){const _0xe055e8=this[_0x155498(0x1eb)][_0x155498(0x134)](_0x5f463b)||new Set();_0xe055e8[_0x155498(0x1d7)](_0x1f9ebb),this[_0x155498(0x1eb)][_0x155498(0x20f)](_0x5f463b,_0xe055e8),this[_0x155498(0xcd)](_0x1f9ebb);}}),_0x2a0b90||this[_0x44c8f3(0x22c)]({'type':0x0,'memberID':this[_0x44c8f3(0x120)],'unitIDs':[...this[_0x44c8f3(0x1ba)]],'isForwarded':!0x0});}[_0x1cb167(0xcd)](_0x3a0164){const _0x3009a0=_0x1cb167;this[_0x3009a0(0x1e3)](_0x3a0164);const _0x10fae9=window[_0x3009a0(0x2db)](()=>{const _0x13019f=_0x3009a0;this[_0x13019f(0x1eb)][_0x13019f(0x1ca)](_0x9a7cc2=>{_0x9a7cc2['delete'](_0x3a0164);});},_0x3047c8*0x2);this[_0x3009a0(0x2e2)][_0x3009a0(0x20f)](_0x3a0164,_0x10fae9);}[_0x1cb167(0x1e3)](_0x79cdd8){const _0x35ba3e=_0x1cb167;if(this[_0x35ba3e(0x2e2)][_0x35ba3e(0xf9)](_0x79cdd8)){const _0x2283fd=this['_clearOtherTimers'][_0x35ba3e(0x134)](_0x79cdd8);_0x2283fd&&window['clearTimeout'](_0x2283fd),this['_clearOtherTimers']['set'](_0x79cdd8,null);}}[_0x1cb167(0x264)](_0x191a3f){const _0x5ac37c=_0x1cb167,{memberID:_0x2be37d,unitIDs:_0xe4854c}=_0x191a3f;_0xe4854c[_0x5ac37c(0x1ca)](_0x470a4a=>{const _0x242afd=_0x5ac37c;var _0x56065a;const _0x55688f=this[_0x242afd(0x1eb)][_0x242afd(0x134)](_0x470a4a);_0x55688f&&(_0x55688f[_0x242afd(0x2b6)](_0x2be37d),(_0x56065a=this[_0x242afd(0x1b2)](_0x470a4a))==null||_0x56065a[_0x242afd(0x224)](_0x55688f['size']===0x0?_0x1fea06[_0x242afd(0x108)][_0x242afd(0x2c1)]:_0x1fea06[_0x242afd(0x108)][_0x242afd(0x215)]));}),this[_0x5ac37c(0x1e3)](_0x2be37d);}[_0x1cb167(0x14d)](_0x3ed1a9){const _0x1367d7=_0x1cb167;this[_0x1367d7(0xcd)](_0x3ed1a9[_0x1367d7(0x233)]);}['_send'](_0x1b36dc){const _0x46ce5f=_0x1cb167;localStorage['setItem'](_0x320355,JSON[_0x46ce5f(0x12b)](_0x1b36dc));}[_0x1cb167(0x131)](){const _0x528596=_0x1cb167;this[_0x528596(0x1ea)]=window['setInterval'](()=>{const _0x5a26e1=_0x528596;this[_0x5a26e1(0x22c)]({'type':0x2,'memberID':this['_id']});},_0x3047c8);}['_ensureSubject'](_0x3f6beb){const _0x13c28d=_0x1cb167;return this[_0x13c28d(0x2d8)][_0x13c28d(0xf9)](_0x3f6beb)||this[_0x13c28d(0x2d8)][_0x13c28d(0x20f)](_0x3f6beb,new _0x2467c8['BehaviorSubject'](_0x1fea06['UnitStatus'][_0x13c28d(0x2c1)])),this[_0x13c28d(0x2d8)]['get'](_0x3f6beb);}}var _0x4b0544=(_0x3bcc00=>(_0x3bcc00[_0x3bcc00[_0x1cb167(0x26f)]=0x0]='UNDEFINED',_0x3bcc00[_0x3bcc00['OK']=0x1]='OK',_0x3bcc00[_0x3bcc00[_0x1cb167(0x2bd)]=0x2]=_0x1cb167(0x2bd),_0x3bcc00[_0x3bcc00['PERMISSION_DENIED']=0x3]=_0x1cb167(0x2d3),_0x3bcc00[_0x3bcc00[_0x1cb167(0x1c0)]=0x4]='NOT_FOUND',_0x3bcc00[_0x3bcc00[_0x1cb167(0x19b)]=0x5]=_0x1cb167(0x19b),_0x3bcc00[_0x3bcc00[_0x1cb167(0x28c)]=0x6]=_0x1cb167(0x28c),_0x3bcc00[_0x3bcc00[_0x1cb167(0x2b4)]=0x7]='INVALID_ARGUMENT',_0x3bcc00[_0x3bcc00[_0x1cb167(0x1f0)]=0x8]=_0x1cb167(0x1f0),_0x3bcc00[_0x3bcc00[_0x1cb167(0x8f)]=0x9]=_0x1cb167(0x8f),_0x3bcc00[_0x3bcc00['LOGIN_FAILED']=0xa]=_0x1cb167(0x2bf),_0x3bcc00[_0x3bcc00[_0x1cb167(0x113)]=0xb]=_0x1cb167(0x113),_0x3bcc00[_0x3bcc00[_0x1cb167(0x2ac)]=0xc]=_0x1cb167(0x2ac),_0x3bcc00[_0x3bcc00[_0x1cb167(0xe8)]=0xd]=_0x1cb167(0xe8),_0x3bcc00[_0x3bcc00[_0x1cb167(0x27e)]=0xe]=_0x1cb167(0x27e),_0x3bcc00[_0x3bcc00['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x1cb167(0x157),_0x3bcc00[_0x3bcc00[_0x1cb167(0xce)]=0x1771]=_0x1cb167(0xce),_0x3bcc00[_0x3bcc00[_0x1cb167(0x25c)]=0x1772]=_0x1cb167(0x25c),_0x3bcc00[_0x3bcc00[_0x1cb167(0xe2)]=0x1773]=_0x1cb167(0xe2),_0x3bcc00[_0x3bcc00['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x3bcc00[_0x3bcc00['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x1cb167(0x2b9),_0x3bcc00[_0x3bcc00[_0x1cb167(0x196)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x3bcc00[_0x3bcc00[_0x1cb167(0x2fd)]=0x1b5c]=_0x1cb167(0x2fd),_0x3bcc00[_0x3bcc00[_0x1cb167(0xc6)]=0x1b5d]='APPLY_DUPLICATED',_0x3bcc00[_0x3bcc00['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x1cb167(0xba),_0x3bcc00[_0x3bcc00[_0x1cb167(0x211)]=0x2329]=_0x1cb167(0x211),_0x3bcc00[_0x3bcc00['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x1cb167(0xab),_0x3bcc00[_0x3bcc00[_0x1cb167(0x209)]=0x232b]=_0x1cb167(0x209),_0x3bcc00[_0x3bcc00[_0x1cb167(0x256)]=0x232c]=_0x1cb167(0x256),_0x3bcc00[_0x3bcc00[_0x1cb167(0x70)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x3bcc00[_0x3bcc00[_0x1cb167(0x27b)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x3bcc00[_0x3bcc00[_0x1cb167(0xf0)]=0x2712]=_0x1cb167(0xf0),_0x3bcc00[_0x3bcc00['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x1cb167(0x186),_0x3bcc00[_0x3bcc00['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x1cb167(0x2f3),_0x3bcc00[_0x3bcc00['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x3bcc00[_0x3bcc00[_0x1cb167(0x265)]=0x271b]=_0x1cb167(0x265),_0x3bcc00[_0x3bcc00[_0x1cb167(0x19d)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x3bcc00[_0x3bcc00['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x1cb167(0xa3),_0x3bcc00[_0x3bcc00[_0x1cb167(0x2f1)]=0x271e]=_0x1cb167(0x2f1),_0x3bcc00[_0x3bcc00[_0x1cb167(0x1fb)]=0x271f]=_0x1cb167(0x1fb),_0x3bcc00[_0x3bcc00[_0x1cb167(0x198)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x3bcc00[_0x3bcc00[_0x1cb167(0x12a)]=0x2af9]=_0x1cb167(0x12a),_0x3bcc00[_0x3bcc00[_0x1cb167(0x1ad)]=0x2ee1]=_0x1cb167(0x1ad),_0x3bcc00[_0x3bcc00[_0x1cb167(0x29a)]=0x2ee2]='INVALID_INVITE_CODE',_0x3bcc00[_0x3bcc00[_0x1cb167(0x25a)]=0x2ee3]=_0x1cb167(0x25a),_0x3bcc00[_0x3bcc00[_0x1cb167(0x2ec)]=0x2ee4]=_0x1cb167(0x2ec),_0x3bcc00[_0x3bcc00['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x1cb167(0x1e0),_0x3bcc00[_0x3bcc00[_0x1cb167(0x160)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x3bcc00[_0x3bcc00[_0x1cb167(0x23c)]=0x32ca]=_0x1cb167(0x23c),_0x3bcc00[_0x3bcc00[_0x1cb167(0x199)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x3bcc00[_0x3bcc00[_0x1cb167(0x300)]=-0x1]=_0x1cb167(0x300),_0x3bcc00))(_0x4b0544||{}),_0x5d6d08=Object[_0x1cb167(0x282)],_0x220e09=(_0x4d1b1a,_0x5ca601,_0x5c62e3,_0x3b6f54)=>{const _0x543c4d=_0x1cb167;for(var _0x3d74c4=_0x3b6f54>0x1?void 0x0:_0x3b6f54?_0x5d6d08(_0x5ca601,_0x5c62e3):_0x5ca601,_0x86f481=_0x4d1b1a[_0x543c4d(0x13c)]-0x1,_0x1cb783;_0x86f481>=0x0;_0x86f481--)(_0x1cb783=_0x4d1b1a[_0x86f481])&&(_0x3d74c4=_0x1cb783(_0x3d74c4)||_0x3d74c4);return _0x3d74c4;},_0x13bcf2=(_0x2653bc,_0x80ef05)=>(_0x4b578a,_0x41fce8)=>_0x80ef05(_0x4b578a,_0x41fce8,_0x2653bc);_0x34aeda[_0x1cb167(0x194)]=class extends _0xa4ceaf['Disposable']{constructor(_0x2a3bdd,_0x2ede5b,_0xdd77ec){const _0x385a2d=_0x1cb167;super(),this['_instanceService']=_0x2a3bdd,this[_0x385a2d(0xdc)]=_0x2ede5b,this[_0x385a2d(0x213)]=_0xdd77ec;}async['runOnServer'](_0x34278f,_0x2c2fe2,_0xf5089b,..._0x663b5){const _0x57b8b8=_0x1cb167;var _0x2cbe5b,_0x4d0c28,_0xcaaa1c,_0x5cd0f5;const _0x409629=this['_instanceService'][_0x57b8b8(0x275)]();if(!_0x409629)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x479252=((_0x2cbe5b=this[_0x57b8b8(0x213)][_0x57b8b8(0x1a6)](_0x1fea06[_0x57b8b8(0x2f8)]))!=null?_0x2cbe5b:_0x1fea06['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x34278f+'/run/'+_0x2c2fe2,_0x6f24ab=new URL(window[_0x57b8b8(0x1f6)][_0x57b8b8(0x2fc)]),_0x1cebdc={'scriptId':_0x34278f,'runId':(_0x4d0c28=_0x6f24ab['searchParams'][_0x57b8b8(0x134)]('runId'))!=null?_0x4d0c28:'','function':_0x2c2fe2,'unitId':_0x409629['getUnitId'](),'argsOfFunction':JSON[_0x57b8b8(0x12b)](_0x663b5),'invokeId':(_0xcaaa1c=_0xf5089b['invokeId'])!=null?_0xcaaa1c:'','executionId':(_0x5cd0f5=_0xf5089b['executionId'])!=null?_0x5cd0f5:''};try{const _0x3a61bc=await this[_0x57b8b8(0xdc)][_0x57b8b8(0x7b)](_0x479252,{'body':_0x1cebdc});return _0x3a61bc[_0x57b8b8(0x29b)][_0x57b8b8(0x11b)]&&_0x3a61bc[_0x57b8b8(0x29b)]['error'][_0x57b8b8(0x118)]!==_0x4b0544['OK']?_0x57b8b8(0x287):_0x3a61bc['body'][_0x57b8b8(0x284)];}catch{return _0x57b8b8(0x287);}}},_0x34aeda[_0x1cb167(0x194)]=_0x220e09([_0x13bcf2(0x0,_0xa4ceaf['IUniverInstanceService']),_0x13bcf2(0x1,_0xa4ceaf[_0x1cb167(0x1b1)](_0x168285['HTTPService'])),_0x13bcf2(0x2,_0xa4ceaf['IConfigService'])],_0x34aeda['RemoteUniscriptService']),_0x34aeda[_0x1cb167(0x2ab)]=_0x1b77a1,_0x34aeda[_0x1cb167(0x304)]=_0x4c942d,_0x34aeda[_0x1cb167(0x175)]=_0x221055,_0x34aeda[_0x1cb167(0x257)]=_0x178e44,Object['defineProperty'](_0x34aeda,Symbol[_0x1cb167(0x114)],{'value':_0x1cb167(0x27c)});}));
|
|
1
|
+
function _0x3ea2(_0x3b55b1,_0xa42ce0){const _0x5b5a98=_0x5b5a();return _0x3ea2=function(_0x3ea2c3,_0x220f23){_0x3ea2c3=_0x3ea2c3-0x117;let _0x3fa93c=_0x5b5a98[_0x3ea2c3];return _0x3fa93c;},_0x3ea2(_0x3b55b1,_0xa42ce0);}(function(_0x4b25c3,_0x2d2b40){const _0x324312=_0x3ea2,_0x2c5fc0=_0x4b25c3();while(!![]){try{const _0x1d86dc=-parseInt(_0x324312(0x382))/0x1+parseInt(_0x324312(0x3a0))/0x2+parseInt(_0x324312(0x2c9))/0x3+-parseInt(_0x324312(0x2d4))/0x4*(-parseInt(_0x324312(0x238))/0x5)+-parseInt(_0x324312(0x1d6))/0x6*(parseInt(_0x324312(0x16d))/0x7)+-parseInt(_0x324312(0x1e7))/0x8+parseInt(_0x324312(0x19b))/0x9*(parseInt(_0x324312(0x2d2))/0xa);if(_0x1d86dc===_0x2d2b40)break;else _0x2c5fc0['push'](_0x2c5fc0['shift']());}catch(_0x2d39ce){_0x2c5fc0['push'](_0x2c5fc0['shift']());}}}(_0x5b5a,0x95c97),function(_0x44b550,_0x285f57){const _0x100ba3=_0x3ea2;typeof exports=='object'&&typeof module<'u'?_0x285f57(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('rxjs'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs/operators'),require('@univerjs/sheets-ui'),require('react/jsx-runtime'),require('@univerjs/ui'),require('@univerjs/design'),require('react'),require('@univerjs/rpc')):typeof define=='function'&&define[_0x100ba3(0x2c0)]?define([_0x100ba3(0x38e),_0x100ba3(0x1e0),'@univerjs/core','@univerjs/engine-render',_0x100ba3(0x151),_0x100ba3(0x3a8),'@univerjs/drawing',_0x100ba3(0x2af),_0x100ba3(0x2c7),_0x100ba3(0x283),'@univerjs/engine-formula','@univerjs/sheets','rxjs/operators',_0x100ba3(0x24b),_0x100ba3(0x35f),'@univerjs/ui',_0x100ba3(0x352),'react',_0x100ba3(0x17e)],_0x285f57):(_0x44b550=typeof globalThis<'u'?globalThis:_0x44b550||self,_0x285f57(_0x44b550[_0x100ba3(0x194)]={},_0x44b550[_0x100ba3(0x30e)],_0x44b550['UniverCore'],_0x44b550[_0x100ba3(0x200)],_0x44b550[_0x100ba3(0x20f)],_0x44b550[_0x100ba3(0x1f6)],_0x44b550[_0x100ba3(0x189)],_0x44b550[_0x100ba3(0x2af)],_0x44b550[_0x100ba3(0x2b7)],_0x44b550[_0x100ba3(0x22a)],_0x44b550[_0x100ba3(0x2d6)],_0x44b550['UniverSheets'],_0x44b550['rxjs'][_0x100ba3(0x305)],_0x44b550['UniverSheetsUi'],_0x44b550[_0x100ba3(0x2dd)],_0x44b550[_0x100ba3(0x152)],_0x44b550[_0x100ba3(0x298)],_0x44b550[_0x100ba3(0x2dd)],_0x44b550[_0x100ba3(0x32b)]));}(this,function(_0x5d4de8,_0x2c5d3c,_0x13023b,_0x3b7797,_0x562449,_0x229cdf,_0x16c291,_0xe0366,_0x2db34e,_0x3679f8,_0x416312,_0x17d085,_0x1a2632,_0x128c44,_0x50649b,_0x47e75a,_0x2abc24,_0x52afd9,_0x4e87ce){'use strict';const _0x453404=_0x3ea2;var _0x3684f0=Object[_0x453404(0x188)],_0x1648b4=(_0x1b8c6e,_0x2f97cf,_0x118f0a)=>_0x2f97cf in _0x1b8c6e?_0x3684f0(_0x1b8c6e,_0x2f97cf,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x118f0a}):_0x1b8c6e[_0x2f97cf]=_0x118f0a,_0x4ff54d=(_0x2416bb,_0x33bb11,_0x5c1332)=>_0x1648b4(_0x2416bb,typeof _0x33bb11!='symbol'?_0x33bb11+'':_0x33bb11,_0x5c1332),_0x480823=Object[_0x453404(0x23f)],_0x477b64=(_0x40e866,_0x488fa8,_0x2c0554,_0x28abaa)=>{const _0x5f2da1=_0x453404;for(var _0x149475=_0x28abaa>0x1?void 0x0:_0x28abaa?_0x480823(_0x488fa8,_0x2c0554):_0x488fa8,_0x73b171=_0x40e866[_0x5f2da1(0x2f8)]-0x1,_0xec2057;_0x73b171>=0x0;_0x73b171--)(_0xec2057=_0x40e866[_0x73b171])&&(_0x149475=_0xec2057(_0x149475)||_0x149475);return _0x149475;},_0x55da54=(_0x419270,_0x155378)=>(_0xbab388,_0x527fd9)=>_0x155378(_0xbab388,_0x527fd9,_0x419270);let _0x5d6e1b=class extends _0x13023b['RxDisposable']{constructor(_0x5dea01,_0x220b8e){const _0x1d7ec9=_0x453404;super(),this[_0x1d7ec9(0x2a0)]=_0x5dea01,this[_0x1d7ec9(0x148)]=_0x220b8e,this[_0x1d7ec9(0x224)]();}[_0x453404(0x224)](){const _0x15d0e3=_0x453404,_0x4caeb6=this;this['disposeWithMe'](this['_docClipboardService'][_0x15d0e3(0x39c)]({'onBeforePasteImage':async _0x31774b=>{const _0x248015=_0x15d0e3,_0x997e08=await _0x4caeb6[_0x248015(0x148)][_0x248015(0x32e)](_0x31774b);return _0x997e08?{'source':_0x997e08['source'],'imageSourceType':_0x997e08[_0x248015(0x388)]}:null;}}));}};_0x5d6e1b=_0x477b64([_0x55da54(0x0,_0x229cdf[_0x453404(0x1bf)]),_0x55da54(0x1,_0x16c291['IImageIoService'])],_0x5d6e1b);const _0x416843=['purple.300',_0x453404(0x196),_0x453404(0x2fb),_0x453404(0x330),_0x453404(0x25f),_0x453404(0x326)];class _0x39fdea extends _0x13023b[_0x453404(0x165)]{constructor(){const _0x24bb7a=_0x453404;super(...arguments),_0x4ff54d(this,_0x24bb7a(0x2c1),new Map()),_0x4ff54d(this,_0x24bb7a(0x33c),0x0);}[_0x453404(0x1e4)](_0x1cb260){const _0x3add67=_0x453404;if(this[_0x3add67(0x2c1)][_0x3add67(0x138)](_0x1cb260))return this['_assignedColors']['get'](_0x1cb260);const _0x39b602=_0x416843[this['_colorIndex']];return this[_0x3add67(0x33c)]=(this['_colorIndex']+0x1)%_0x416843[_0x3add67(0x2f8)],this[_0x3add67(0x2c1)][_0x3add67(0x2ca)](_0x1cb260,_0x39b602),_0x39b602;}}function _0x522f5d(_0xf86551){const _0x2eaccf=_0x453404;let _0x1e0122='';for(const _0x134b86 of _0xf86551){const {startOffset:_0x2a7ee6,endOffset:_0x1e7f72,isActive:_0x17642f,rangeType:_0x2b3f77,segmentId:_0x464cf7,segmentPage:_0x56483a}=_0x134b86;_0x1e0122[_0x2eaccf(0x2f8)]&&(_0x1e0122+=','),_0x1e0122+=_0x2a7ee6+':'+_0x1e7f72+':'+(_0x17642f?'1':'0')+':'+_0x2b3f77+':'+_0x464cf7+':'+_0x56483a;}return _0x1e0122;}function _0x2c8724(_0x155b5a){const _0x1e4fff=_0x453404,_0x2b4a66=_0x155b5a[_0x1e4fff(0x20c)](','),_0x2c501a=[];for(const _0x1a280b of _0x2b4a66){const [_0x63452e,_0x907a05,_0x424542,_0x1992fd,_0x57ee06,_0x4c44f7]=_0x1a280b[_0x1e4fff(0x20c)](':');_0x2c501a[_0x1e4fff(0x1fe)]({'startOffset':Number(_0x63452e),'endOffset':Number(_0x907a05),'collapsed':_0x63452e===_0x907a05,'isActive':_0x424542==='1','rangeType':_0x1992fd===_0x13023b[_0x1e4fff(0x12a)]['TEXT']?_0x13023b[_0x1e4fff(0x12a)][_0x1e4fff(0x118)]:_0x13023b[_0x1e4fff(0x12a)][_0x1e4fff(0x124)],'segmentId':typeof _0x57ee06=='string'?String(_0x57ee06):'','segmentPage':Number(_0x4c44f7!=null?_0x4c44f7:-0x1)});}return _0x2c501a['some'](_0x4e53ec=>_0x4e53ec['isActive'])||(_0x2c501a[0x0][_0x1e4fff(0x137)]=!0x0),_0x2c501a;}class _0x1373ab extends _0x13023b[_0x453404(0x351)]{constructor(){const _0x1c7f6d=_0x453404;super(...arguments),_0x4ff54d(this,_0x1c7f6d(0x21c),new _0xe0366[(_0x1c7f6d(0x1cf))](null)),_0x4ff54d(this,_0x1c7f6d(0x2f0),this['_collabCursorState$'][_0x1c7f6d(0x21a)]());}['syncEditingCollabCursor'](_0x463561){const _0x1e914c=_0x453404,{unitID:_0x33f341,memberID:_0x49c68b,textRanges:_0x14533e}=_0x463561,_0x369fb8=_0x522f5d(_0x14533e);if(_0x369fb8==='')return;const _0x3c19d8={'unitID':_0x33f341,'memberID':_0x49c68b,'selection':_0x369fb8};this[_0x1e914c(0x21c)][_0x1e914c(0x1a0)](_0x3c19d8);}}var _0x4413a9=Object[_0x453404(0x23f)],_0x362eb2=(_0x1b926a,_0x101a38,_0x229cef,_0x73f6fa)=>{const _0x53d66e=_0x453404;for(var _0xbc55c5=_0x73f6fa>0x1?void 0x0:_0x73f6fa?_0x4413a9(_0x101a38,_0x229cef):_0x101a38,_0x52a9a6=_0x1b926a[_0x53d66e(0x2f8)]-0x1,_0x126364;_0x52a9a6>=0x0;_0x52a9a6--)(_0x126364=_0x1b926a[_0x52a9a6])&&(_0xbc55c5=_0x126364(_0xbc55c5)||_0xbc55c5);return _0xbc55c5;},_0x207696=(_0x413660,_0x3b2536)=>(_0x16966a,_0xc90641)=>_0x3b2536(_0x16966a,_0xc90641,_0x413660);const _0x197a5a=0x12c,_0xfe8f14=0x64;let _0x31024d=class extends _0x13023b['RxDisposable']{constructor(_0x43ae9e,_0x21bbbc,_0x38d40f,_0x29f81f,_0x1976ed,_0xd8a63,_0x49a07a,_0x2d67b6,_0x1c8af5){const _0x470e71=_0x453404;super(),_0x4ff54d(this,_0x470e71(0x13a),!0x1),_0x4ff54d(this,_0x470e71(0x224),!0x1),_0x4ff54d(this,_0x470e71(0x2c5),new _0xe0366[(_0x470e71(0x1cf))](new Map())),_0x4ff54d(this,'cursorInfo$',this['_cursorInfo$'][_0x470e71(0x21a)]()),_0x4ff54d(this,_0x470e71(0x35e),new _0xe0366['BehaviorSubject']([])),_0x4ff54d(this,_0x470e71(0x190),this[_0x470e71(0x35e)][_0x470e71(0x35a)](_0xe0366[_0x470e71(0x227)](_0x197a5a))),_0x4ff54d(this,_0x470e71(0x367),_0x13023b[_0x470e71(0x121)](_0x21b148=>{const _0x42641d=_0x470e71,_0x3d3de9={'eventID':_0x2db34e[_0x42641d(0x167)][_0x42641d(0x185)],'data':{'unitID':this['unitID'],'memberID':this[_0x42641d(0x11b)][_0x42641d(0x171)](),'selection':_0x522f5d(_0x21b148)}};this['_session']['send'](_0x3d3de9,this[_0x42641d(0x1b4)]);},_0xfe8f14)),(this['unitID']=_0x43ae9e,this[_0x470e71(0x11b)]=_0x21bbbc,this[_0x470e71(0x1c0)]=_0x38d40f,this[_0x470e71(0x1e1)]=_0x29f81f,this['_memberService']=_0x1976ed,this[_0x470e71(0x28e)]=_0xd8a63,this['_transformService']=_0x49a07a,this['_univerInstanceService']=_0x2d67b6,this[_0x470e71(0x27b)]=_0x1c8af5);}get[_0x453404(0x34e)](){const _0x164d18=_0x453404;return this[_0x164d18(0x2c5)][_0x164d18(0x336)]();}get[_0x453404(0x3af)](){const _0x5e290e=_0x453404;return this[_0x5e290e(0x35e)][_0x5e290e(0x336)]();}['dispose'](){const _0x1422bd=_0x453404;super['dispose'](),this['_cursorInfo$']['next'](new Map()),this[_0x1422bd(0x2c5)]['complete'](),this[_0x1422bd(0x35e)]['next']([]),this[_0x1422bd(0x35e)][_0x1422bd(0x2a6)]();}[_0x453404(0x214)](){const _0x49199a=_0x453404;this[_0x49199a(0x224)]||(this[_0x49199a(0x224)]=!0x0,this['_session'][_0x49199a(0x23d)][_0x49199a(0x35a)](_0xe0366[_0x49199a(0x2ba)](this['dispose$']))[_0x49199a(0x310)](_0x1c6c0c=>{const _0x3a9a7b=_0x49199a;_0x1c6c0c===_0x2c5d3c[_0x3a9a7b(0x248)][_0x3a9a7b(0x240)]?this[_0x3a9a7b(0x2ed)]():this['_toggleOffline']();}),this[_0x49199a(0x11b)]['event$'][_0x49199a(0x35a)](_0xe0366[_0x49199a(0x2ba)](this[_0x49199a(0x1e3)]))[_0x49199a(0x310)](_0xcb02e8=>{const _0x5bc73c=_0x49199a,_0x37cbd0=_0xcb02e8[_0x5bc73c(0x291)];_0x37cbd0===_0x2db34e[_0x5bc73c(0x167)][_0x5bc73c(0x185)]&&this[_0x5bc73c(0x381)](_0xcb02e8),_0x37cbd0===_0x2db34e['CollaborationEvent']['USERS_LEAVE']&&this[_0x5bc73c(0x253)](_0xcb02e8);}),this[_0x49199a(0x2bf)](this[_0x49199a(0x27b)][_0x49199a(0x299)](_0x712e43=>{const _0x19dc7c=_0x49199a,_0x4d59fc=_0x712e43[_0x19dc7c(0x1fd)];_0x4d59fc!=null&&this[_0x19dc7c(0x13a)]&&_0x712e43['id']===_0x3679f8['SetTextSelectionsOperation']['id']&&_0x4d59fc[_0x19dc7c(0x2e4)]===this[_0x19dc7c(0x1b4)]&&_0x4d59fc[_0x19dc7c(0x290)]===!0x1&&_0x4d59fc[_0x19dc7c(0x13c)]['length']>0x0&&this[_0x19dc7c(0x367)](_0x4d59fc['ranges']);})),this[_0x49199a(0x28e)]['collabCursorState$'][_0x49199a(0x35a)](_0xe0366[_0x49199a(0x2ba)](this[_0x49199a(0x1e3)]))['subscribe'](_0x375b4c=>{const _0x2bf210=_0x49199a;if((_0x375b4c==null?void 0x0:_0x375b4c[_0x2bf210(0x1b4)])!==this[_0x2bf210(0x1b4)])return;const _0x160427={'eventID':_0x2db34e[_0x2bf210(0x167)][_0x2bf210(0x185)],'data':_0x375b4c};this[_0x2bf210(0x381)](_0x160427);}),this[_0x49199a(0x2bf)](this[_0x49199a(0x27b)][_0x49199a(0x299)](_0x17f474=>{const _0xe28dc5=_0x49199a;if(_0x17f474[_0xe28dc5(0x1fd)]==null)return;const _0x570314=_0x17f474['params'];if(_0x17f474['id']!==_0x3679f8['RichTextEditingMutation']['id']||_0x570314[_0xe28dc5(0x2e4)]!==this[_0xe28dc5(0x1b4)])return;const _0x59fa16={'id':_0xe28dc5(0x139),'params':_0x570314},_0x5e77c5=this[_0xe28dc5(0x34e)];for(const [_0x59fb3b,_0x1d087a]of _0x5e77c5){const _0x3d3cbe={'id':_0xe28dc5(0x139),'params':{'unitId':this[_0xe28dc5(0x1b4)],'actions':null,'textRanges':_0x1d087a[_0xe28dc5(0x13c)]}},_0x320162=this['_transformService'][_0xe28dc5(0x2ac)](_0x59fa16,_0x3d3cbe,!0x1);if(_0x2db34e[_0xe28dc5(0x287)](_0x320162))throw _0x320162['error'];_0x5e77c5['set'](_0x59fb3b,{..._0x1d087a,'ranges':_0x320162['m2Prime'][_0xe28dc5(0x1fd)][_0xe28dc5(0x2eb)]});}queueMicrotask(()=>{const _0x34757e=_0xe28dc5;this['_cursorInfo$'][_0x34757e(0x1a0)](_0x5e77c5);});})));}['_onCursorUpdate'](_0x5f452f){const _0x5104e8=_0x453404;var _0x281e03,_0xa8abcc;const {memberID:_0x1acd68,selection:_0x362f27}=_0x5f452f[_0x5104e8(0x311)],_0x55ac35=_0x2c8724(_0x362f27),_0x10ca0e=(_0xa8abcc=(_0x281e03=this[_0x5104e8(0x268)][_0x5104e8(0x1ad)](this[_0x5104e8(0x1b4)],_0x1acd68))==null?void 0x0:_0x281e03[_0x5104e8(0x18b)])!=null?_0xa8abcc:'Unknown\x20user',_0x42e6da={'color':this['_colorAssignService'][_0x5104e8(0x1e4)](_0x1acd68),'name':_0x10ca0e,'ranges':_0x55ac35},_0x3bac3f=this['cursorInfo'];_0x3bac3f[_0x5104e8(0x2ca)](_0x1acd68,_0x42e6da),this['_cursorInfo$'][_0x5104e8(0x1a0)](_0x3bac3f);}[_0x453404(0x253)](_0x8f72fc){const _0x193c5e=_0x453404,{memberID:_0x3bce4f}=_0x8f72fc[_0x193c5e(0x311)],_0x4482d4=this[_0x193c5e(0x34e)];_0x4482d4['delete'](_0x3bce4f),this[_0x193c5e(0x2c5)][_0x193c5e(0x1a0)](_0x4482d4);}['_toggleOnline'](){const _0x97cd47=_0x453404;var _0x4c6d85;if(this[_0x97cd47(0x13a)]=!0x0,((_0x4c6d85=this[_0x97cd47(0x379)][_0x97cd47(0x187)]())==null?void 0x0:_0x4c6d85[_0x97cd47(0x2be)]())!==this[_0x97cd47(0x1b4)])return;const _0x3f10d6=this[_0x97cd47(0x1c0)][_0x97cd47(0x28f)](_0x3679f8[_0x97cd47(0x1ac)])[_0x97cd47(0x2c2)]();Array[_0x97cd47(0x32c)](_0x3f10d6)&&_0x3f10d6['length']>0x0&&this[_0x97cd47(0x367)](_0x3f10d6);}[_0x453404(0x32d)](){const _0x181c08=_0x453404;this[_0x181c08(0x13a)]=!0x1;}};_0x31024d=_0x362eb2([_0x207696(0x2,_0x13023b['Inject'](_0x13023b[_0x453404(0x262)])),_0x207696(0x3,_0x13023b[_0x453404(0x175)](_0x39fdea)),_0x207696(0x4,_0x13023b[_0x453404(0x175)](_0x2c5d3c[_0x453404(0x19a)])),_0x207696(0x5,_0x13023b[_0x453404(0x175)](_0x1373ab)),_0x207696(0x6,_0x2db34e[_0x453404(0x348)]),_0x207696(0x7,_0x13023b['IUniverInstanceService']),_0x207696(0x8,_0x13023b[_0x453404(0x2a5)])],_0x31024d);var _0x224f3c=Object[_0x453404(0x23f)],_0x569ff4=(_0x615a6d,_0x23be52,_0x29942d,_0x2a3070)=>{for(var _0x595309=_0x2a3070>0x1?void 0x0:_0x2a3070?_0x224f3c(_0x23be52,_0x29942d):_0x23be52,_0x53349c=_0x615a6d['length']-0x1,_0x3c0a37;_0x53349c>=0x0;_0x53349c--)(_0x3c0a37=_0x615a6d[_0x53349c])&&(_0x595309=_0x3c0a37(_0x595309)||_0x595309);return _0x595309;},_0x31bfc1=(_0x224be3,_0x2dc46c)=>(_0x3658f5,_0x458f91)=>_0x2dc46c(_0x3658f5,_0x458f91,_0x224be3);const _0x6b5ab4=0x12c,_0xdf62d5=0x64,_0x54a156=()=>{let _0x14b3a9=[],_0x3ae948=!0x1;return _0x5b534c=>{const _0x38690d=_0x3ea2;_0x14b3a9[_0x38690d(0x1fe)](_0x5b534c),_0x3ae948||(_0x3ae948=!0x0,setTimeout(()=>{const _0x1c24db=_0x38690d;_0x14b3a9[_0x1c24db(0x136)](_0x3685db=>_0x3685db()),_0x14b3a9=[],_0x3ae948=!0x1;}));};};let _0x1a04e0=class extends _0x13023b[_0x453404(0x351)]{constructor(_0x1a112d,_0x372a9f,_0x7bec15,_0x2e90ba,_0x4bfbc5,_0x2e0c54,_0x1bea40,_0xaf90f2){const _0x2ad8ed=_0x453404;super(),_0x4ff54d(this,_0x2ad8ed(0x13a),!0x1),_0x4ff54d(this,_0x2ad8ed(0x224),!0x1),_0x4ff54d(this,_0x2ad8ed(0x2c5),new _0xe0366[(_0x2ad8ed(0x1cf))](new Map())),_0x4ff54d(this,_0x2ad8ed(0x2e2),this[_0x2ad8ed(0x2c5)][_0x2ad8ed(0x21a)]()),_0x4ff54d(this,_0x2ad8ed(0x35e),new _0xe0366[(_0x2ad8ed(0x1cf))]([])),_0x4ff54d(this,'roomMembers$',this[_0x2ad8ed(0x35e)]['pipe'](_0xe0366[_0x2ad8ed(0x227)](_0x6b5ab4))),_0x4ff54d(this,_0x2ad8ed(0x367),_0x13023b[_0x2ad8ed(0x121)]((_0xd64472,_0xfaca21)=>{const _0x2b2dc4=_0x2ad8ed,_0x552e18={'eventID':_0x2db34e['CollaborationEvent'][_0x2b2dc4(0x185)],'data':{'unitID':this[_0x2b2dc4(0x1b4)],'memberID':this[_0x2b2dc4(0x11b)][_0x2b2dc4(0x171)](),'selection':_0x416312['serializeRangeWithSheet'](_0xd64472,_0xfaca21['range'])}};this[_0x2b2dc4(0x11b)][_0x2b2dc4(0x39a)](_0x552e18,this[_0x2b2dc4(0x1b4)]);},_0xdf62d5)),(this['unitID']=_0x1a112d,this[_0x2ad8ed(0x11b)]=_0x372a9f,this[_0x2ad8ed(0x1c0)]=_0x7bec15,this['_colorAssignService']=_0x2e90ba,this[_0x2ad8ed(0x268)]=_0x4bfbc5,this['_univerInstanceService']=_0x2e0c54,this['_commandService']=_0x1bea40,this['_refRangeService']=_0xaf90f2);}get[_0x453404(0x34e)](){return this['_cursorInfo$']['getValue']();}get[_0x453404(0x3af)](){const _0x283fa0=_0x453404;return this[_0x283fa0(0x35e)][_0x283fa0(0x336)]();}[_0x453404(0x3aa)](){const _0x1cccf2=_0x453404;super[_0x1cccf2(0x3aa)](),this[_0x1cccf2(0x2c5)][_0x1cccf2(0x1a0)](new Map()),this[_0x1cccf2(0x2c5)][_0x1cccf2(0x2a6)](),this[_0x1cccf2(0x35e)]['next']([]),this[_0x1cccf2(0x35e)]['complete']();}[_0x453404(0x214)](){const _0x32c2f7=_0x453404;this[_0x32c2f7(0x224)]||(this[_0x32c2f7(0x224)]=!0x0,this[_0x32c2f7(0x11b)][_0x32c2f7(0x23d)][_0x32c2f7(0x35a)](_0xe0366[_0x32c2f7(0x2ba)](this['dispose$']))[_0x32c2f7(0x310)](_0x32b5f6=>{const _0x3f08d2=_0x32c2f7;_0x32b5f6===_0x2c5d3c[_0x3f08d2(0x248)][_0x3f08d2(0x240)]?this[_0x3f08d2(0x2ed)]():this['_toggleOffline']();}),this[_0x32c2f7(0x11b)][_0x32c2f7(0x133)]['pipe'](_0xe0366['takeUntil'](this[_0x32c2f7(0x1e3)]))[_0x32c2f7(0x310)](_0x54ac27=>{const _0x2168c0=_0x32c2f7,_0x2a2044=_0x54ac27['eventID'];_0x2a2044===_0x2db34e[_0x2168c0(0x167)][_0x2168c0(0x185)]&&this[_0x2168c0(0x381)](_0x54ac27),_0x2a2044===_0x2db34e[_0x2168c0(0x167)][_0x2168c0(0x11a)]&&this[_0x2168c0(0x253)](_0x54ac27);}),this[_0x32c2f7(0x313)](),this[_0x32c2f7(0x2bf)](this[_0x32c2f7(0x27b)][_0x32c2f7(0x299)](_0x5350e2=>{const _0x3581fb=_0x32c2f7;if(this[_0x3581fb(0x13a)]&&_0x5350e2['id']===_0x17d085[_0x3581fb(0x2ec)]['id']&&_0x5350e2[_0x3581fb(0x1fd)][_0x3581fb(0x2e4)]===this[_0x3581fb(0x1b4)]){const _0x31ac30=_0x5350e2[_0x3581fb(0x1fd)];this[_0x3581fb(0x367)](_0x31ac30[_0x3581fb(0x117)],_0x31ac30[_0x3581fb(0x233)][0x0]);}})));}[_0x453404(0x381)](_0x35cc5c){const _0x47c574=_0x453404;var _0x36f52b,_0xca7639;const {memberID:_0x145a9c,selection:_0x1422c5}=_0x35cc5c[_0x47c574(0x311)],{sheetName:_0x50030d,range:_0x2af07d}=_0x416312[_0x47c574(0x37b)](_0x1422c5),_0x19027f={'name':(_0xca7639=(_0x36f52b=this[_0x47c574(0x268)]['getMember'](this[_0x47c574(0x1b4)],_0x145a9c))==null?void 0x0:_0x36f52b[_0x47c574(0x18b)])!=null?_0xca7639:_0x47c574(0x2d8),'range':this[_0x47c574(0x18f)](_0x50030d,_0x2af07d),'sheetID':_0x50030d,'color':this['_colorAssignService'][_0x47c574(0x1e4)](_0x145a9c),'selection':_0x1422c5},_0x1237f7=this['cursorInfo'];_0x1237f7[_0x47c574(0x2ca)](_0x145a9c,_0x19027f),this[_0x47c574(0x2c5)][_0x47c574(0x1a0)](_0x1237f7);}[_0x453404(0x253)](_0x3f1aea){const _0x11fc25=_0x453404,{memberID:_0xf9dbd3}=_0x3f1aea[_0x11fc25(0x311)],_0x2c5a20=this[_0x11fc25(0x34e)];_0x2c5a20['delete'](_0xf9dbd3),this['_cursorInfo$'][_0x11fc25(0x1a0)](_0x2c5a20);}['_getMergeRange'](_0x1f48db,_0x397f4f){const _0x2de3dc=_0x453404;var _0x17dec8,_0x7a0947;const _0x161787=(_0x7a0947=(_0x17dec8=this[_0x2de3dc(0x379)][_0x2de3dc(0x2b0)](this[_0x2de3dc(0x1b4)]))==null?void 0x0:_0x17dec8[_0x2de3dc(0x120)](_0x1f48db))==null?void 0x0:_0x7a0947[_0x2de3dc(0x1b3)]();return(_0x161787==null?void 0x0:_0x161787[_0x2de3dc(0x1d3)](_0x4f7a6e=>_0x13023b[_0x2de3dc(0x2e6)]['contains'](_0x4f7a6e,_0x397f4f)))||_0x397f4f;}[_0x453404(0x313)](){const _0x54e663=_0x453404,_0x130959=new _0x13023b[(_0x54e663(0x22b))](),_0x4d35e1=_0x54a156(),_0x34c55f=()=>{const _0x3d23bf=_0x54e663;_0x130959['dispose']();const _0x42fb16=(_0x33ff0f,_0x111496,_0x5ae734,_0x51c1b3)=>{const _0x4de315=_0x3ea2;let _0x20e873=[];switch(_0x33ff0f['id']){case _0x17d085[_0x4de315(0x29b)][_0x4de315(0x29f)]:{_0x20e873=_0x17d085[_0x4de315(0x380)](_0x33ff0f,_0x51c1b3);break;}case _0x17d085['EffectRefRangId'][_0x4de315(0x2fa)]:{_0x20e873=_0x17d085[_0x4de315(0x309)](_0x33ff0f,_0x51c1b3);break;}case _0x17d085[_0x4de315(0x29b)]['InsertColCommandId']:{_0x20e873=_0x17d085[_0x4de315(0x26e)](_0x33ff0f,_0x51c1b3);break;}case _0x17d085['EffectRefRangId'][_0x4de315(0x127)]:{_0x20e873=_0x17d085['handleInsertRangeMoveDown'](_0x33ff0f,_0x51c1b3);break;}case _0x17d085[_0x4de315(0x29b)]['InsertRangeMoveRightCommandId']:{_0x20e873=_0x17d085[_0x4de315(0x14e)](_0x33ff0f,_0x51c1b3);break;}case _0x17d085[_0x4de315(0x29b)]['InsertRowCommandId']:{_0x20e873=_0x17d085['handleInsertRow'](_0x33ff0f,_0x51c1b3);break;}case _0x17d085['EffectRefRangId'][_0x4de315(0x14f)]:{_0x20e873=_0x17d085[_0x4de315(0x29c)](_0x33ff0f,_0x51c1b3);break;}case _0x17d085[_0x4de315(0x29b)][_0x4de315(0x1f4)]:{_0x20e873=_0x17d085[_0x4de315(0x130)](_0x33ff0f,_0x51c1b3);break;}case _0x17d085[_0x4de315(0x29b)][_0x4de315(0x394)]:{_0x20e873=_0x17d085[_0x4de315(0x278)](_0x33ff0f,_0x51c1b3);break;}}const _0x553946=_0x17d085[_0x4de315(0x161)](_0x20e873,_0x51c1b3),_0x196a18=this['cursorInfo'][_0x4de315(0x28f)](_0x111496);if(_0x196a18&&_0x553946){const _0xd0fe04={..._0x196a18,'range':_0x553946};this[_0x4de315(0x34e)]['set'](_0x111496,_0xd0fe04),_0x4d35e1(()=>{const _0x2e52b8=_0x4de315,_0x3bb621=this[_0x2e52b8(0x1f3)][_0x2e52b8(0x2f3)](_0x553946,_0x260f92=>(_0x3bb621[_0x2e52b8(0x3aa)](),_0x42fb16(_0x260f92,_0x111496,_0x5ae734,_0x553946)));_0x130959['add'](_0x3bb621);});}return{'redos':[],'undos':[]};};this[_0x3d23bf(0x34e)]['forEach']((_0x4b6172,_0x18ce2d)=>{const _0xfd54f3=_0x3d23bf,{range:_0x21f69c,sheetID:_0x3c94fa}=_0x4b6172,_0x43633e=this[_0xfd54f3(0x1f3)][_0xfd54f3(0x2f3)](_0x21f69c,_0x215e61=>(_0x43633e[_0xfd54f3(0x3aa)](),_0x42fb16(_0x215e61,_0x18ce2d,_0x3c94fa,_0x21f69c)));_0x130959[_0xfd54f3(0x358)](_0x43633e);});};this[_0x54e663(0x2bf)](_0x13023b[_0x54e663(0x1f8)](this[_0x54e663(0x2c5)][_0x54e663(0x310)](()=>{_0x34c55f();})));}[_0x453404(0x2ed)](){const _0x5cea50=_0x453404;var _0x3cc7c1,_0x18b659;if(this['_online']=!0x0,((_0x3cc7c1=this[_0x5cea50(0x379)][_0x5cea50(0x187)]())==null?void 0x0:_0x3cc7c1[_0x5cea50(0x2be)]())!==this[_0x5cea50(0x1b4)])return;const _0x3dccf8=(_0x18b659=this[_0x5cea50(0x1c0)][_0x5cea50(0x28f)](_0x17d085[_0x5cea50(0x2c4)])['getCurrentSelections']())==null?void 0x0:_0x18b659[0x0],_0x51d1fc=this[_0x5cea50(0x379)][_0x5cea50(0x15f)](_0x13023b['UniverInstanceType']['UNIVER_SHEET'])['getActiveSheet']();_0x3dccf8&&_0x51d1fc&&this[_0x5cea50(0x367)](_0x51d1fc['getSheetId'](),_0x3dccf8);}[_0x453404(0x32d)](){const _0x6bc5c4=_0x453404;this[_0x6bc5c4(0x13a)]=!0x1;}};_0x1a04e0=_0x569ff4([_0x31bfc1(0x2,_0x13023b[_0x453404(0x175)](_0x13023b['Injector'])),_0x31bfc1(0x3,_0x13023b['Inject'](_0x39fdea)),_0x31bfc1(0x4,_0x13023b[_0x453404(0x175)](_0x2c5d3c[_0x453404(0x19a)])),_0x31bfc1(0x5,_0x13023b[_0x453404(0x331)]),_0x31bfc1(0x6,_0x13023b['ICommandService']),_0x31bfc1(0x7,_0x13023b[_0x453404(0x175)](_0x17d085[_0x453404(0x2d5)]))],_0x1a04e0);var _0x2811eb=Object[_0x453404(0x23f)],_0x50e047=(_0x57efeb,_0x2e6c95,_0x5057e1,_0x3bdb0d)=>{for(var _0x505ba2=_0x3bdb0d>0x1?void 0x0:_0x3bdb0d?_0x2811eb(_0x2e6c95,_0x5057e1):_0x2e6c95,_0x2bfa93=_0x57efeb['length']-0x1,_0xd37d15;_0x2bfa93>=0x0;_0x2bfa93--)(_0xd37d15=_0x57efeb[_0x2bfa93])&&(_0x505ba2=_0xd37d15(_0x505ba2)||_0x505ba2);return _0x505ba2;},_0x352428=(_0x58073f,_0x307cf8)=>(_0xf34265,_0x158d18)=>_0x307cf8(_0xf34265,_0x158d18,_0x58073f);let _0xa698e7=class extends _0x13023b[_0x453404(0x351)]{constructor(_0x59e147,_0x2b0d85,_0x3c59c5){const _0x27809c=_0x453404;super(),_0x4ff54d(this,'_entities',new Map()),_0x4ff54d(this,'_entityInit$',new _0xe0366[(_0x27809c(0x346))]()),(this['_univerInstanceService']=_0x59e147,this[_0x27809c(0x1c0)]=_0x2b0d85,this['_collabSessionService']=_0x3c59c5,this[_0x27809c(0x224)]());}['dispose'](){const _0x192d4b=_0x453404;super[_0x192d4b(0x3aa)](),this['_entityInit$'][_0x192d4b(0x2a6)](),this['_entities']['forEach'](_0x55f9b6=>_0x55f9b6[_0x192d4b(0x3aa)]());}[_0x453404(0x267)](_0x3206ea){const _0x232473=_0x453404;return this['_entities'][_0x232473(0x138)](_0x3206ea)?this[_0x232473(0x357)]['get'](_0x3206ea)[_0x232473(0x2e2)]:this[_0x232473(0x277)][_0x232473(0x35a)](_0xe0366[_0x232473(0x325)](_0x218f87=>_0x218f87[_0x232473(0x1b4)]===_0x3206ea),_0xe0366['switchMap'](_0x1a9346=>_0x1a9346['cursorInfo$']));}['_init'](){const _0x2c9b79=_0x453404;this[_0x2c9b79(0x379)][_0x2c9b79(0x150)](_0x13023b[_0x2c9b79(0x39d)][_0x2c9b79(0x2f4)])['pipe'](_0xe0366[_0x2c9b79(0x2ba)](this['dispose$']))[_0x2c9b79(0x310)](async _0x306eeb=>{const _0x3b8e8c=_0x2c9b79,_0xcaa911=_0x306eeb[_0x3b8e8c(0x2be)](),_0x4d6a4b=await this[_0x3b8e8c(0x293)](_0xcaa911);this[_0x3b8e8c(0x277)][_0x3b8e8c(0x1a0)](_0x4d6a4b),this[_0x3b8e8c(0x357)][_0x3b8e8c(0x2ca)](_0xcaa911,_0x4d6a4b);}),this[_0x2c9b79(0x379)][_0x2c9b79(0x150)](_0x13023b[_0x2c9b79(0x39d)][_0x2c9b79(0x35d)])[_0x2c9b79(0x35a)](_0xe0366['takeUntil'](this[_0x2c9b79(0x1e3)]))[_0x2c9b79(0x35a)](_0xe0366[_0x2c9b79(0x325)](_0x46221c=>!_0x46221c[_0x2c9b79(0x2be)]()['startsWith']('__')))[_0x2c9b79(0x310)](async _0xbad5b5=>{const _0x2b403d=_0x2c9b79,_0x40a66e=_0xbad5b5[_0x2b403d(0x2be)](),_0x4282d0=await this[_0x2b403d(0x2ef)](_0x40a66e);this[_0x2b403d(0x277)]['next'](_0x4282d0),this['_entities'][_0x2b403d(0x2ca)](_0x40a66e,_0x4282d0);}),_0xe0366['merge'](this[_0x2c9b79(0x379)][_0x2c9b79(0x236)](_0x13023b[_0x2c9b79(0x39d)][_0x2c9b79(0x35d)]),this[_0x2c9b79(0x379)][_0x2c9b79(0x236)](_0x13023b[_0x2c9b79(0x39d)][_0x2c9b79(0x2f4)]))[_0x2c9b79(0x35a)](_0xe0366[_0x2c9b79(0x2ba)](this[_0x2c9b79(0x1e3)]))[_0x2c9b79(0x310)](_0x4e7d28=>{const _0x2ecc61=_0x2c9b79,_0x3a4a1b=_0x4e7d28[_0x2ecc61(0x2be)](),_0x4a45f4=this[_0x2ecc61(0x357)][_0x2ecc61(0x28f)](_0x3a4a1b);_0x4a45f4&&(_0x4a45f4['dispose'](),this['_entities']['delete'](_0x3a4a1b));});}async[_0x453404(0x293)](_0xe8b5c){const _0x307d20=_0x453404,_0x438ef7=await this['_collabSessionService'][_0x307d20(0x252)](_0xe8b5c),_0x1f1306=this['_injector'][_0x307d20(0x260)](_0x1a04e0,_0xe8b5c,_0x438ef7);return _0x1f1306['init'](),_0x1f1306;}async[_0x453404(0x2ef)](_0x21d94e){const _0x1fd3b7=_0x453404,_0x526a54=await this[_0x1fd3b7(0x2f7)][_0x1fd3b7(0x252)](_0x21d94e),_0x5048aa=this[_0x1fd3b7(0x1c0)][_0x1fd3b7(0x260)](_0x31024d,_0x21d94e,_0x526a54);return _0x5048aa[_0x1fd3b7(0x214)](),_0x5048aa;}};_0xa698e7=_0x50e047([_0x352428(0x0,_0x13023b[_0x453404(0x331)]),_0x352428(0x1,_0x13023b[_0x453404(0x175)](_0x13023b[_0x453404(0x262)])),_0x352428(0x2,_0x13023b['Inject'](_0x2c5d3c[_0x453404(0x1ae)]))],_0xa698e7);const _0x3726df=0x14,_0x59e901=0xc8,_0x4c361e=0x4,_0x38d9ce=0x5;function _0x351980(_0x8f2d8b,_0x42c3c7){const _0xaa3c7a=_0x453404;let {radius:_0x1dc8c2,width:_0x2178a6,height:_0x58ddd4}=_0x42c3c7;_0x1dc8c2=_0x1dc8c2!=null?_0x1dc8c2:0x0,_0x2178a6=_0x2178a6!=null?_0x2178a6:0x1e,_0x58ddd4=_0x58ddd4!=null?_0x58ddd4:0x1e;let _0x255dd0=0x0,_0x209f2e=0x0,_0x3c49e1=0x0;_0x255dd0=_0x209f2e=_0x3c49e1=Math[_0xaa3c7a(0x173)](_0x1dc8c2,_0x2178a6/0x2,_0x58ddd4/0x2),_0x8f2d8b[_0xaa3c7a(0x297)](),_0x8f2d8b[_0xaa3c7a(0x2ae)](_0x255dd0,0x0),_0x8f2d8b['lineTo'](_0x2178a6-_0x209f2e,0x0),_0x8f2d8b['arc'](_0x2178a6-_0x209f2e,_0x209f2e,_0x209f2e,Math['PI']*0x3/0x2,0x0,!0x1),_0x8f2d8b[_0xaa3c7a(0x2fc)](_0x2178a6,_0x58ddd4-_0x3c49e1),_0x8f2d8b[_0xaa3c7a(0x159)](_0x2178a6-_0x3c49e1,_0x58ddd4-_0x3c49e1,_0x3c49e1,0x0,Math['PI']/0x2,!0x1),_0x8f2d8b['lineTo'](0x0,_0x58ddd4),_0x8f2d8b[_0xaa3c7a(0x2fc)](0x0,_0x255dd0),_0x8f2d8b['arc'](_0x255dd0,_0x255dd0,_0x255dd0,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x8f2d8b['closePath'](),_0x42c3c7[_0xaa3c7a(0x26c)]&&(_0x8f2d8b['save'](),_0x8f2d8b[_0xaa3c7a(0x33f)]=_0x42c3c7[_0xaa3c7a(0x26c)],_0x42c3c7[_0xaa3c7a(0x1a7)]===_0xaa3c7a(0x2b4)?_0x8f2d8b[_0xaa3c7a(0x26c)](_0xaa3c7a(0x2b4)):_0x8f2d8b[_0xaa3c7a(0x26c)](),_0x8f2d8b[_0xaa3c7a(0x1a5)]());}class _0x3d9cc8 extends _0x3b7797['Shape']{constructor(_0x51eb36,_0x330a43){const _0x269a08=_0x453404;super(_0x51eb36,_0x330a43),_0x4ff54d(this,_0x269a08(0x198)),_0x4ff54d(this,_0x269a08(0x1d2)),(this['color']=_0x330a43==null?void 0x0:_0x330a43[_0x269a08(0x198)],this[_0x269a08(0x1d2)]=_0x330a43==null?void 0x0:_0x330a43[_0x269a08(0x1d2)]);}static['drawWith'](_0x5d1d10,_0x7b080){const _0x452737=_0x453404,{text:_0x3dacb4,color:_0xc4ba17}=_0x7b080;_0x5d1d10['save'](),_0x5d1d10[_0x452737(0x1ce)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x2426a1=_0x5d1d10['measureText'](_0x3dacb4)[_0x452737(0x1ea)],_0x3ecf0f=Math[_0x452737(0x173)](_0x2426a1+0x2*_0x4c361e,_0x59e901);_0x351980(_0x5d1d10,{'height':_0x3726df,'radius':0x4,'width':_0x3ecf0f,'fill':_0xc4ba17}),_0x5d1d10[_0x452737(0x33f)]='#FFF';const _0x19cc6a=_0x4c361e,_0x5733ab=_0x3726df-_0x38d9ce,_0x411c38=_0x59e901-0x2*_0x4c361e;if(_0x2426a1>_0x411c38){let _0x28d4a8='',_0xbd04d7=0x0;for(const _0x307506 of _0x3dacb4){const _0x475a14=_0x5d1d10[_0x452737(0x34c)](_0x307506)[_0x452737(0x1ea)];if(_0xbd04d7+_0x475a14<=_0x411c38-_0x5d1d10[_0x452737(0x34c)](_0x452737(0x157))['width'])_0x28d4a8+=_0x307506,_0xbd04d7+=_0x475a14;else{_0x28d4a8+=_0x452737(0x157);break;}}_0x5d1d10[_0x452737(0x3a6)](_0x28d4a8,_0x19cc6a,_0x5733ab);}else _0x5d1d10['fillText'](_0x3dacb4,_0x19cc6a,_0x5733ab);_0x5d1d10['restore']();}[_0x453404(0x3b3)](_0x5dc014){const _0x30b4e9=_0x453404;_0x3d9cc8[_0x30b4e9(0x36f)](_0x5dc014,this);}}const _0x2ac1ab=_0x453404(0x34f),_0x331699=_0x453404(0x2ea),_0xa403c5='collab-rect-range-',_0x369598=0x6,_0x15ca39=1.5,_0x4f36f5=0x4,_0x455014=1.5,_0x113691=_0x453404(0x3b2);class _0x3ec89e{constructor(_0x11c317,_0x3a70ed,_0x3b085d,_0x258846){const _0x51bbcd=_0x453404;_0x4ff54d(this,_0x51bbcd(0x274),[]),_0x4ff54d(this,_0x51bbcd(0x3ab),null),_0x4ff54d(this,_0x51bbcd(0x368),null),_0x4ff54d(this,'_anchorDot',null),_0x4ff54d(this,_0x51bbcd(0x158),null),_0x4ff54d(this,_0x51bbcd(0x271),null),(this[_0x51bbcd(0x31c)]=_0x11c317,this[_0x51bbcd(0x3ae)]=_0x3a70ed,this[_0x51bbcd(0x2c6)]=_0x3b085d,this[_0x51bbcd(0x1c7)]=_0x258846,this[_0x51bbcd(0x19f)]());}set[_0x453404(0x192)](_0x3eb2c3){const _0x1aaaf2=_0x453404;_0x3eb2c3?(this[_0x1aaaf2(0x14c)]&&this[_0x1aaaf2(0x14c)][_0x1aaaf2(0x355)](),this['_textBubble']&&this['_textBubble']['show']()):(this['_anchorDot']&&this[_0x1aaaf2(0x14c)]['show'](),this['_textBubble']&&this['_textBubble']['hide']());}['dispose'](){const _0x392413=_0x453404;for(const _0xb3b5e7 of this['_shapes'])_0xb3b5e7[_0x392413(0x3aa)]();this[_0x392413(0x368)]&&this[_0x392413(0x368)][_0x392413(0x3aa)](),this[_0x392413(0x14c)]&&this[_0x392413(0x14c)][_0x392413(0x3aa)](),this['_anchor']&&this[_0x392413(0x3ab)][_0x392413(0x3aa)](),this[_0x392413(0x271)]&&this[_0x392413(0x271)]();}[_0x453404(0x19f)](){const _0x566c39=_0x453404;var _0x4c1483;const {_docSkeleton:_0x13155b,_document:_0x447cf5}=this,{color:_0x46e4b3,name:_0x544d54,ranges:_0x58fc01}=this['_cursor'],_0x37bc9a=_0x447cf5[_0x566c39(0x149)](),{docsLeft:_0x58a10c,docsTop:_0x4f3def}=_0x37bc9a,_0x361fc8=new _0x229cdf[(_0x566c39(0x354))](_0x37bc9a,_0x13155b);for(const {startOffset:_0x2e5ed9,endOffset:_0x21912d,rangeType:_0x40e680,segmentId:_0x5f32fc,segmentPage:_0x5acf46,collapsed:_0xc3401,isActive:_0x4e7ab1}of _0x58fc01){const _0x5d60bd=_0x13155b[_0x566c39(0x1e2)](_0x2e5ed9,!0x0,_0x5f32fc,_0x5acf46);let _0x39c3bc=_0x13155b[_0x566c39(0x1e2)](_0x21912d,!0x0,_0x5f32fc,_0x5acf46);if(_0x39c3bc==null&&(_0x39c3bc=_0x13155b['findNodePositionByCharIndex'](_0x21912d-0x1,!0x1,_0x5f32fc,_0x5acf46)),_0x4e7ab1){const {contentBoxPointGroup:_0x3fb8e5}=_0x361fc8['getRangePointData'](_0x39c3bc,_0x39c3bc);if(_0x3fb8e5['length']===0x0)continue;this[_0x566c39(0x374)](_0x46e4b3,_0x3fb8e5,_0x58a10c,_0x4f3def,_0x544d54),this[_0x566c39(0x271)]=this[_0x566c39(0x2b8)]();}if(_0x5d60bd&&_0x39c3bc){if(_0x40e680===_0x13023b[_0x566c39(0x12a)][_0x566c39(0x124)]){const _0x2510e6=new _0x229cdf[(_0x566c39(0x1cc))](_0x37bc9a,_0x13155b),{pointGroup:_0x3eecec}=(_0x4c1483=_0x2510e6[_0x566c39(0x31d)](_0x5d60bd,_0x39c3bc))!=null?_0x4c1483:{};if(_0x3eecec==null||_0x3eecec[_0x566c39(0x2f8)]===0x0)continue;this[_0x566c39(0x17f)](_0x46e4b3,_0x3eecec,_0x58a10c,_0x4f3def);}else{if(!_0xc3401){const {borderBoxPointGroup:_0x5c0818}=_0x361fc8[_0x566c39(0x31d)](_0x5d60bd,_0x39c3bc);if(_0x5c0818[_0x566c39(0x2f8)]===0x0)continue;this[_0x566c39(0x2d1)](_0x46e4b3,_0x5c0818,_0x58a10c,_0x4f3def);}}}}}['_drawAnchor'](_0x3ddab4,_0x224f7f,_0x4e23e0,_0x25a872,_0x279638){const _0x5748ec=_0x453404,_0x44514=this[_0x5748ec(0x1ec)](_0x224f7f),{left:_0x346b93,top:_0x11bcf9,height:_0x3656f5}=_0x44514,_0x2c9203=this[_0x5748ec(0x134)](),_0x27c8aa=_0x455014/_0x2c9203,_0xdf9036=new _0x3b7797[(_0x5748ec(0x237))](_0x2ac1ab+_0x13023b[_0x5748ec(0x338)](_0x369598),{'left':_0x346b93+_0x4e23e0-_0x27c8aa,'top':_0x11bcf9+_0x25a872,'height':_0x3656f5,'width':_0x15ca39,'fill':_0x3ddab4||_0x3b7797['getColor'](_0x13023b['COLORS'][_0x5748ec(0x296)],0x0),'strokeWidth':_0x27c8aa,'stroke':_0x113691,'evented':!0x0});this[_0x5748ec(0x3ab)]=_0xdf9036,this[_0x5748ec(0x3ae)][_0x5748ec(0x396)](_0xdf9036,_0x229cdf[_0x5748ec(0x28c)]);const _0x1ff351=new _0x3b7797[(_0x5748ec(0x237))](_0x2ac1ab+_0x13023b['generateRandomId'](_0x369598),{'left':_0x346b93+_0x4e23e0-_0x27c8aa,'top':_0x11bcf9+_0x25a872-_0x4f36f5/0x2,'height':_0x4f36f5,'width':_0x4f36f5,'fill':_0x3ddab4||_0x3b7797[_0x5748ec(0x208)](_0x13023b[_0x5748ec(0x384)][_0x5748ec(0x296)],0x0),'strokeWidth':0x0,'stroke':_0x3ddab4||_0x3b7797[_0x5748ec(0x208)](_0x13023b[_0x5748ec(0x384)]['black'],0x0),'evented':!0x1});this[_0x5748ec(0x14c)]=_0x1ff351,this['_scene']['addObject'](_0x1ff351,_0x229cdf[_0x5748ec(0x28c)]);const _0xa78a30=new _0x3d9cc8(_0x2ac1ab+_0x13023b['generateRandomId'](_0x369598),{'left':_0x346b93+_0x4e23e0-_0x27c8aa,'top':_0x11bcf9+_0x25a872-_0x3726df,'text':_0x279638,'color':_0x3ddab4});this[_0x5748ec(0x368)]=_0xa78a30,this[_0x5748ec(0x3ae)][_0x5748ec(0x396)](_0xa78a30,_0x229cdf[_0x5748ec(0x28c)]),this[_0x5748ec(0x192)]=!0x1;}['_handleHover'](){const _0x5567ba=_0x453404,_0x150974=this['_anchor'][_0x5567ba(0x3a5)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x448de9=this[_0x5567ba(0x3ab)][_0x5567ba(0x292)]['subscribeEvent'](()=>{const _0x42fa82=_0x5567ba;this[_0x42fa82(0x158)]&&clearTimeout(this[_0x42fa82(0x158)]),this[_0x42fa82(0x158)]=setTimeout(()=>{const _0x4e7a66=_0x42fa82;this[_0x4e7a66(0x192)]=!0x1;},0x7d0);});return()=>{const _0x29902f=_0x5567ba;_0x150974[_0x29902f(0x3a1)](),_0x448de9[_0x29902f(0x3a1)]();};}[_0x453404(0x2d1)](_0x4381e6,_0x34eb42,_0x3ee1a8,_0x13d5e0){const _0x54bb0b=_0x453404,_0x53235b=new _0x13023b['ColorKit'](_0x4381e6)[_0x54bb0b(0x1ed)](0.2)[_0x54bb0b(0x2a9)](),_0x496a47=new _0x3b7797['RegularPolygon'](_0x331699+_0x13023b[_0x54bb0b(0x338)](_0x369598),{'pointsGroup':_0x34eb42,'fill':_0x53235b||_0x3b7797[_0x54bb0b(0x208)](_0x13023b[_0x54bb0b(0x384)][_0x54bb0b(0x296)],0.2),'left':_0x3ee1a8,'top':_0x13d5e0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x54bb0b(0x274)][_0x54bb0b(0x1fe)](_0x496a47),this[_0x54bb0b(0x3ae)]['addObject'](_0x496a47,_0x229cdf[_0x54bb0b(0x28c)]);}['_drawRectRange'](_0xf26c00,_0x277320,_0x3b30b7,_0x56271d){const _0x37be23=_0x453404,_0x5e4f05=new _0x13023b[(_0x37be23(0x13f))](_0xf26c00)[_0x37be23(0x1ed)](0.2)[_0x37be23(0x2a9)](),_0x2c2dd3=new _0x3b7797[(_0x37be23(0x259))](_0xa403c5+_0x13023b['generateRandomId'](_0x369598),{'pointsGroup':_0x277320,'fill':_0x5e4f05||_0x3b7797[_0x37be23(0x208)](_0x13023b['COLORS'][_0x37be23(0x296)],0.2),'left':_0x3b30b7,'top':_0x56271d,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x37be23(0x1fe)](_0x2c2dd3),this[_0x37be23(0x3ae)][_0x37be23(0x396)](_0x2c2dd3,_0x229cdf[_0x37be23(0x28c)]);}[_0x453404(0x1ec)](_0x4cb6d0){const _0x537e81=_0x4cb6d0[0x0],_0x3910d8=_0x537e81[0x0],_0x8eb559=_0x537e81[0x2],{x:_0x1e9908,y:_0x578db2}=_0x3910d8,{x:_0x4ef325,y:_0x40cbbb}=_0x8eb559;return{'left':_0x1e9908,'top':_0x578db2,'width':_0x4ef325-_0x1e9908,'height':_0x40cbbb-_0x578db2};}[_0x453404(0x134)](){const _0x295e74=_0x453404,{scaleX:_0x93b5ea,scaleY:_0x3c8ccb}=this[_0x295e74(0x3ae)][_0x295e74(0x35c)]();return Math[_0x295e74(0x15c)](_0x93b5ea,_0x3c8ccb);}}var _0x550765=Object[_0x453404(0x23f)],_0x23ed2a=(_0x403adb,_0x1529e2,_0x1c4a4c,_0xc7b5ff)=>{const _0x526571=_0x453404;for(var _0x56ff1e=_0xc7b5ff>0x1?void 0x0:_0xc7b5ff?_0x550765(_0x1529e2,_0x1c4a4c):_0x1529e2,_0x3fd1c3=_0x403adb[_0x526571(0x2f8)]-0x1,_0x462392;_0x3fd1c3>=0x0;_0x3fd1c3--)(_0x462392=_0x403adb[_0x3fd1c3])&&(_0x56ff1e=_0x462392(_0x56ff1e)||_0x56ff1e);return _0x56ff1e;},_0x5c19fc=(_0x24650a,_0x4e6d1c)=>(_0x1b6560,_0x17c2d7)=>_0x4e6d1c(_0x1b6560,_0x17c2d7,_0x24650a);let _0x4b6396=class extends _0x13023b['RxDisposable']{constructor(_0x3e4867,_0x132aca,_0x2fbf48,_0x423243,_0x4e3220){const _0x1a50d0=_0x453404;super(),_0x4ff54d(this,'_cursorShapes',[]),_0x4ff54d(this,_0x1a50d0(0x204),[]),(this[_0x1a50d0(0x30d)]=_0x3e4867,this[_0x1a50d0(0x270)]=_0x132aca,this['_collabCursorController']=_0x2fbf48,this[_0x1a50d0(0x27b)]=_0x423243,this['_themeService']=_0x4e3220,this[_0x1a50d0(0x224)]());}['_init'](){const _0x137611=_0x453404,_0x309127=this[_0x137611(0x30d)][_0x137611(0x2e4)],_0x101150=this['_docSkeletonManagerService'];this[_0x137611(0x2bf)](_0xe0366[_0x137611(0x2fe)]([this[_0x137611(0x23e)][_0x137611(0x267)](_0x309127),this['_themeService']['currentTheme$']])[_0x137611(0x35a)](_0x1a2632[_0x137611(0x246)](([_0x391e8f,_0x226940])=>({'skeleton':_0x101150[_0x137611(0x1dd)](),'cursors':[..._0x391e8f[_0x137611(0x218)]()]['flatMap'](_0x4ae734=>({..._0x4ae734,'color':this['_themeService'][_0x137611(0x191)](_0x4ae734[_0x137611(0x198)])}))})))['subscribe'](_0x40a453=>{const _0x3317ef=_0x137611;if(this[_0x3317ef(0x147)](),_0x40a453){const {skeleton:_0x43eb4f,cursors:_0x25bc5c}=_0x40a453;this['_updateCollabCursors'](_0x43eb4f,_0x25bc5c);}})),this[_0x137611(0x30a)](),this[_0x137611(0x3a3)]();}[_0x453404(0x340)](_0xbd93b0,_0x1c043e){const _0x5e4e9a=_0x453404,{scene:_0x2daad2,mainComponent:_0x1742a5}=this[_0x5e4e9a(0x30d)],_0x32019c=_0x1c043e[_0x5e4e9a(0x246)](_0x4be90f=>new _0x3ec89e(_0x4be90f,_0x2daad2,_0xbd93b0,_0x1742a5));this['_cursorShapes']=_0x32019c,this[_0x5e4e9a(0x204)]=_0x1c043e;}['_refreshCollabCursors'](){const _0xa92ff5=_0x453404;this['_removeCollabCursors']();const {scene:_0x372d6c,mainComponent:_0x4a8650}=this[_0xa92ff5(0x30d)],_0x2ca44f=this['_docSkeletonManagerService'][_0xa92ff5(0x1dd)](),_0x5295f5=this[_0xa92ff5(0x204)]['map'](_0x374c7f=>new _0x3ec89e(_0x374c7f,_0x372d6c,_0x2ca44f,_0x4a8650));this['_cursorShapes']=_0x5295f5;}[_0x453404(0x147)](){const _0x12aca5=_0x453404;this[_0x12aca5(0x37a)][_0x12aca5(0x136)](_0x32148f=>_0x32148f[_0x12aca5(0x3aa)]()),this[_0x12aca5(0x37a)]=[];}[_0x453404(0x3a3)](){const _0x594033=_0x453404,_0x3877e1=[_0x229cdf['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this[_0x594033(0x27b)]['onCommandExecuted'](_0x2bac85=>{const _0x3f528e=_0x594033;_0x3877e1[_0x3f528e(0x11e)](_0x2bac85['id'])&&_0x2bac85[_0x3f528e(0x1fd)]['unitId']===this[_0x3f528e(0x30d)]['unitId']&&this[_0x3f528e(0x25c)]();}));}[_0x453404(0x30a)](){const _0x316a54=_0x453404;this[_0x316a54(0x2bf)](_0x13023b[_0x316a54(0x356)](this[_0x316a54(0x30d)][_0x316a54(0x25b)][_0x316a54(0x21e)])[_0x316a54(0x35a)](_0x1a2632[_0x316a54(0x325)](_0xaaac89=>_0xaaac89[_0x316a54(0x335)]===_0x3b7797['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),_0x1a2632[_0x316a54(0x272)](0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};_0x4b6396=_0x23ed2a([_0x5c19fc(0x1,_0x13023b[_0x453404(0x175)](_0x3679f8[_0x453404(0x258)])),_0x5c19fc(0x2,_0x13023b[_0x453404(0x175)](_0xa698e7)),_0x5c19fc(0x3,_0x13023b[_0x453404(0x2a5)]),_0x5c19fc(0x4,_0x13023b[_0x453404(0x175)](_0x13023b[_0x453404(0x36c)]))],_0x4b6396);const _0x4798c9=0x1,_0xdf9837=1.5;class _0x2b9a5f extends _0x3b7797[_0x453404(0x385)]{constructor(_0x46f410,_0x75f95e){const _0x1d2550=_0x453404;super(_0x46f410,_0x75f95e),_0x4ff54d(this,'_color'),_0x4ff54d(this,'_hovered',!0x1),_0x4ff54d(this,'_range'),_0x4ff54d(this,_0x1d2550(0x1c5),''),_0x4ff54d(this,_0x1d2550(0x363),_0x1d2550(0x199)),_0x4ff54d(this,_0x1d2550(0x23c)),(_0x75f95e&&this[_0x1d2550(0x2b3)](_0x75f95e),this[_0x1d2550(0x3a5)][_0x1d2550(0x220)](()=>this[_0x1d2550(0x2b3)]({'hovered':!0x0})),this[_0x1d2550(0x292)][_0x1d2550(0x220)](()=>this[_0x1d2550(0x2b3)]({'hovered':!0x1})));}[_0x453404(0x2b3)](_0x145a73){const _0x2e3243=_0x453404;var _0x23c0de,_0x1049c8,_0x195889,_0x35a2fe,_0x1f6767,_0x286fe8;this[_0x2e3243(0x197)]=(_0x23c0de=_0x145a73[_0x2e3243(0x198)])!=null?_0x23c0de:this[_0x2e3243(0x197)],this[_0x2e3243(0x17b)]=(_0x1049c8=_0x145a73[_0x2e3243(0x172)])!=null?_0x1049c8:this['_hovered'],this[_0x2e3243(0x2cf)]=(_0x195889=_0x145a73['range'])!=null?_0x195889:this[_0x2e3243(0x2cf)],this[_0x2e3243(0x1c5)]=(_0x35a2fe=_0x145a73[_0x2e3243(0x18b)])!=null?_0x35a2fe:this['_name'],this[_0x2e3243(0x363)]=(_0x1f6767=_0x145a73['labelPosition'])!=null?_0x1f6767:this[_0x2e3243(0x363)],this[_0x2e3243(0x23c)]=(_0x286fe8=_0x145a73[_0x2e3243(0x36b)])!=null?_0x286fe8:this[_0x2e3243(0x23c)],this['transformByState']({'width':_0x145a73[_0x2e3243(0x1ea)],'height':_0x145a73[_0x2e3243(0x1bc)]});}[_0x453404(0x373)](_0x5c9646){const _0x2bd9b6=_0x453404,{row:_0x1de3ae,column:_0x1e2564}=_0x5c9646;if(_0x1de3ae>=this[_0x2bd9b6(0x2cf)][_0x2bd9b6(0x162)]&&_0x1de3ae<=this[_0x2bd9b6(0x2cf)][_0x2bd9b6(0x2bd)]&&_0x1e2564>=this[_0x2bd9b6(0x2cf)]['startColumn']&&_0x1e2564<=this[_0x2bd9b6(0x2cf)][_0x2bd9b6(0x24f)]){this[_0x2bd9b6(0x2b3)]({'hovered':!0x0});return;}this[_0x2bd9b6(0x2b3)]({'hovered':!0x1});}['triggerDblclick'](_0x4fb8bd){return!0x1;}['_draw'](_0x4b1269){const _0x8d3219=_0x453404;_0x3b7797[_0x8d3219(0x237)][_0x8d3219(0x36f)](_0x4b1269,{'width':this[_0x8d3219(0x1ea)],'height':this['height'],'strokeWidth':_0xdf9837,'stroke':this[_0x8d3219(0x197)],'evented':!0x1,'fill':this[_0x8d3219(0x23c)]}),this[_0x8d3219(0x17b)]&&(_0x4b1269[_0x8d3219(0x16f)](),_0x4b1269['transform'](0x1,0x0,0x0,0x1,this[_0x8d3219(0x1ea)],this['_labelPosition']==='bottom'?0x0:-0x14),_0x3d9cc8['drawWith'](_0x4b1269,{'text':this['_name'],'color':this[_0x8d3219(0x197)]}),_0x4b1269[_0x8d3219(0x1a5)]());}}var _0xb48789=Object['getOwnPropertyDescriptor'],_0x1e584f=(_0x587f08,_0x41b72d,_0x53950b,_0x47c52f)=>{const _0x1d9c32=_0x453404;for(var _0x84afcb=_0x47c52f>0x1?void 0x0:_0x47c52f?_0xb48789(_0x41b72d,_0x53950b):_0x41b72d,_0x3ecbf8=_0x587f08[_0x1d9c32(0x2f8)]-0x1,_0x51a6b6;_0x3ecbf8>=0x0;_0x3ecbf8--)(_0x51a6b6=_0x587f08[_0x3ecbf8])&&(_0x84afcb=_0x51a6b6(_0x84afcb)||_0x84afcb);return _0x84afcb;},_0x44ba04=(_0x2b972b,_0x53ab9c)=>(_0x2ffe76,_0x29ffdc)=>_0x53ab9c(_0x2ffe76,_0x29ffdc,_0x2b972b);const _0x62bc62=0x1389;let _0x53e774=class extends _0x13023b[_0x453404(0x351)]{constructor(_0x1fab6d,_0xcc1447,_0x54b9d6,_0x2bf3c5){const _0x4eea35=_0x453404;super(),_0x4ff54d(this,'_cursors',new Set()),_0x4ff54d(this,'_lastPointer',null),(this[_0x4eea35(0x30d)]=_0x1fab6d,this[_0x4eea35(0x12b)]=_0xcc1447,this[_0x4eea35(0x23e)]=_0x54b9d6,this['_themeService']=_0x2bf3c5,this[_0x4eea35(0x224)]());}['_init'](){const _0xf8f795=_0x453404;this[_0xf8f795(0x12b)]['currentSkeleton$'][_0xf8f795(0x35a)](_0x1a2632[_0xf8f795(0x2ba)](this[_0xf8f795(0x1e3)]),_0x1a2632[_0xf8f795(0x1a2)](_0x409805=>{const _0x5a5dbf=_0xf8f795;if(_0x409805){const _0x543f86=_0x409805[_0x5a5dbf(0x295)];return _0xe0366[_0x5a5dbf(0x2fe)](this[_0x5a5dbf(0x23e)]['getCollabCursors$'](this['_context']['unitId']),this[_0x5a5dbf(0x3a7)][_0x5a5dbf(0x166)])[_0x5a5dbf(0x35a)](_0x1a2632['map'](([_0x38649b,_0x1a18e7])=>{const _0xe3c2c1=_0x5a5dbf,_0x15e91e=new Map();return _0x38649b[_0xe3c2c1(0x136)]((_0x1a97ad,_0x5a778c)=>{const _0x15f673=_0xe3c2c1;if(_0x1a97ad[_0x15f673(0x255)]===_0x543f86){const _0x1bd32c={..._0x1a97ad};_0x1bd32c['color']=this['_themeService'][_0x15f673(0x191)](_0x1a97ad[_0x15f673(0x198)]),_0x15e91e[_0x15f673(0x2ca)](_0x5a778c,_0x1bd32c);}}),{'skeleton':_0x409805,'cursors':_0x15e91e};}));}return _0xe0366['of']({'skeleton':null,'cursors':new Map()});}))[_0xf8f795(0x310)](({skeleton:_0x1258fa,cursors:_0x3e5f2f})=>{const _0xc8da73=_0xf8f795;this['_removeCollabCursors'](),_0x1258fa&&this[_0xc8da73(0x340)](_0x1258fa,_0x3e5f2f);}),this[_0xf8f795(0x12b)][_0xf8f795(0x353)][_0xf8f795(0x310)](_0x35a31c=>{const _0x1c84e8=_0xf8f795;if(_0x35a31c==null)return;const {skeleton:_0x5a57b7}=_0x35a31c,{scene:_0xe0fbd9}=this['_context'];_0xe0fbd9['onPointerMove$'][_0x1c84e8(0x220)](_0x13023b[_0x1c84e8(0x121)](_0x409d9f=>{const _0x3d7a1f=_0x1c84e8;var _0x1e1e4c,_0x5457b8;const {offsetX:_0x53f335,offsetY:_0x5cb88f}=_0x409d9f,{x:_0x42bac5,y:_0x32be3a}=_0xe0fbd9[_0x3d7a1f(0x284)](_0x3b7797[_0x3d7a1f(0x125)]['FromArray']([_0x53f335,_0x5cb88f])),{scaleX:_0x3f2346,scaleY:_0x361087}=_0xe0fbd9[_0x3d7a1f(0x35c)](),_0x25dc8d=_0xe0fbd9[_0x3d7a1f(0x34b)](_0x3b7797[_0x3d7a1f(0x15a)][_0x3d7a1f(0x207)]),_0x6ef5a2=_0xe0fbd9[_0x3d7a1f(0x341)](_0x3b7797[_0x3d7a1f(0x125)][_0x3d7a1f(0x163)]([_0x42bac5,_0x32be3a]),_0x25dc8d),_0x602ea4=_0x5a57b7['getCellPositionByOffset'](_0x53f335,_0x5cb88f,_0x3f2346,_0x361087,_0x6ef5a2);((_0x1e1e4c=this['_lastPointer'])==null?void 0x0:_0x1e1e4c[_0x3d7a1f(0x213)])===_0x602ea4[_0x3d7a1f(0x213)]&&((_0x5457b8=this['_lastPointer'])==null?void 0x0:_0x5457b8[_0x3d7a1f(0x365)])===_0x602ea4['row']||this[_0x3d7a1f(0x204)][_0x3d7a1f(0x136)](_0x418430=>{_0x418430['onMouseMove'](_0x602ea4);});},0x64));});}[_0x453404(0x340)](_0x4ad565,_0x4ebafe){const _0x5b6f18=_0x453404;var _0x40ac82;const _0x99e3a3=(_0x40ac82=this[_0x5b6f18(0x12b)]['getCurrent']())==null?void 0x0:_0x40ac82[_0x5b6f18(0x334)];if(!_0x99e3a3)return;const _0x1c3e31=this['_getSheetObject']();if(!_0x1c3e31)return;this[_0x5b6f18(0x204)][_0x5b6f18(0x136)](_0x3341fe=>{const _0x2c3472=_0x5b6f18;_0x3341fe[_0x2c3472(0x2a1)]();});const {scene:_0x5673b8}=_0x1c3e31,_0xf0f9a7=_0x1ed3b3(Array[_0x5b6f18(0x239)](_0x4ebafe[_0x5b6f18(0x218)]()))['map'](_0x56cbfb=>{const _0x1309c8=_0x5b6f18,{color:_0x446e5f,range:_0x255910,name:_0x1df6c5,selection:_0xbc4c33,sheetID:_0x2f5525}=_0x56cbfb,{startColumn:_0x3fd78b,startRow:_0x2e4ee8,endColumn:_0xe915da,endRow:_0x1ac331}=_0x255910,_0x5db8ad=_0x128c44[_0x1309c8(0x21f)](_0x2e4ee8,_0x3fd78b,_0x5673b8,_0x99e3a3),_0x54d8dd=_0x128c44[_0x1309c8(0x21f)](_0x1ac331,_0xe915da,_0x5673b8,_0x99e3a3),{columnHeaderHeightAndMarginTop:_0xdcba6}=_0x99e3a3,{startX:_0x1e0e30,startY:_0x50be1c}=_0x5db8ad,{endX:_0xf08d8b,endY:_0x248b03}=_0x54d8dd,_0x2ca8a9=_0xf08d8b-_0x1e0e30,_0x2c84b8=_0x248b03-_0x50be1c,_0x3777f4={'labelPosition':_0x50be1c-_0xdcba6>=_0x3726df?_0x1309c8(0x199):'bottom','sheetID':_0x2f5525,'range':_0x255910,'color':_0x446e5f,'name':_0x1df6c5,'selection':_0xbc4c33,'left':_0x1e0e30,'top':_0x50be1c,'width':_0x2ca8a9,'height':_0x2c84b8,'evented':!0x1,'zIndex':_0x62bc62};return new _0x2b9a5f(_0x1df6c5,_0x3777f4);});_0x5673b8[_0x5b6f18(0x2e5)](_0xf0f9a7,_0x4798c9),this[_0x5b6f18(0x204)]=new Set(_0xf0f9a7);}['_removeCollabCursors'](){const _0x5ccade=_0x453404;var _0xa94bb1;(_0xa94bb1=this[_0x5ccade(0x204)])==null||_0xa94bb1[_0x5ccade(0x136)](_0x3c4064=>_0x3c4064[_0x5ccade(0x3aa)]());}[_0x453404(0x27f)](){const _0x22b4d7=_0x453404;return _0x128c44[_0x22b4d7(0x2a7)](this[_0x22b4d7(0x30d)][_0x22b4d7(0x35b)],this[_0x22b4d7(0x30d)]);}};_0x53e774=_0x1e584f([_0x44ba04(0x1,_0x13023b['Inject'](_0x128c44[_0x453404(0x1b6)])),_0x44ba04(0x2,_0x13023b[_0x453404(0x175)](_0xa698e7)),_0x44ba04(0x3,_0x13023b['Inject'](_0x13023b[_0x453404(0x36c)]))],_0x53e774);function _0x1ed3b3(_0x418ea7){const _0x2d4163=_0x453404,_0x3fcc1f=new Map();return _0x418ea7['forEach'](_0x43f093=>{const _0x40b337=_0x3ea2;if(_0x3fcc1f[_0x40b337(0x138)](_0x43f093[_0x40b337(0x1b1)])){const _0x2c9fa2=_0x3fcc1f[_0x40b337(0x28f)](_0x43f093[_0x40b337(0x1b1)]);_0x2c9fa2[_0x40b337(0x18b)]+=',\x20'+_0x43f093[_0x40b337(0x18b)];}else _0x3fcc1f[_0x40b337(0x2ca)](_0x43f093[_0x40b337(0x1b1)],_0x43f093);}),Array[_0x2d4163(0x239)](_0x3fcc1f[_0x2d4163(0x218)]());}var _0x3a4410=function(){const _0x15ac3a=_0x453404;return _0x3a4410=Object[_0x15ac3a(0x1b9)]||function(_0x46a331){const _0x313eb2=_0x15ac3a;for(var _0x8e981a,_0x8e6ff3=0x1,_0x4870d6=arguments[_0x313eb2(0x2f8)];_0x8e6ff3<_0x4870d6;_0x8e6ff3++){_0x8e981a=arguments[_0x8e6ff3];for(var _0x310f73 in _0x8e981a)Object[_0x313eb2(0x2e1)][_0x313eb2(0x37f)][_0x313eb2(0x333)](_0x8e981a,_0x310f73)&&(_0x46a331[_0x310f73]=_0x8e981a[_0x310f73]);}return _0x46a331;},_0x3a4410[_0x15ac3a(0x31b)](this,arguments);},_0x1abbb1=function(_0x204e1c,_0x8d71aa){const _0x401e06=_0x453404;var _0xf07439={};for(var _0x41cb0a in _0x204e1c)Object['prototype'][_0x401e06(0x37f)][_0x401e06(0x333)](_0x204e1c,_0x41cb0a)&&_0x8d71aa['indexOf'](_0x41cb0a)<0x0&&(_0xf07439[_0x41cb0a]=_0x204e1c[_0x41cb0a]);if(_0x204e1c!=null&&typeof Object[_0x401e06(0x36a)]=='function'){for(var _0x2ec74a=0x0,_0x41cb0a=Object[_0x401e06(0x36a)](_0x204e1c);_0x2ec74a<_0x41cb0a[_0x401e06(0x2f8)];_0x2ec74a++)_0x8d71aa[_0x401e06(0x140)](_0x41cb0a[_0x2ec74a])<0x0&&Object[_0x401e06(0x2e1)]['propertyIsEnumerable'][_0x401e06(0x333)](_0x204e1c,_0x41cb0a[_0x2ec74a])&&(_0xf07439[_0x41cb0a[_0x2ec74a]]=_0x204e1c[_0x41cb0a[_0x2ec74a]]);}return _0xf07439;},_0x3d7b6f=_0x52afd9[_0x453404(0x1af)](function(_0x46f246,_0x6a652c){const _0x5ad94d=_0x453404;var _0x239231=_0x46f246['icon'],_0x5af7f8=_0x46f246['id'],_0x574b43=_0x46f246[_0x5ad94d(0x25d)],_0x5c5f90=_0x46f246['extend'],_0x17d7a4=_0x1abbb1(_0x46f246,[_0x5ad94d(0x1bd),'id',_0x5ad94d(0x25d),_0x5ad94d(0x31f)]),_0x45c63b=_0x5ad94d(0x38d)[_0x5ad94d(0x195)](_0x5af7f8,'\x20')['concat'](_0x574b43||'')[_0x5ad94d(0x2a3)](),_0x3d8e88=_0x52afd9[_0x5ad94d(0x32a)]('_'[_0x5ad94d(0x195)](_0x550c99()));return _0x3831f1(_0x239231,''[_0x5ad94d(0x195)](_0x5af7f8),{'defIds':_0x239231[_0x5ad94d(0x2b5)],'idSuffix':_0x3d8e88[_0x5ad94d(0x3a4)]},_0x3a4410({'ref':_0x6a652c,'className':_0x45c63b},_0x17d7a4),_0x5c5f90);});function _0x3831f1(_0x566a23,_0x5ed6ab,_0xc3116a,_0x130a2f,_0x3377ae){const _0x3c8dcc=_0x453404;return _0x52afd9[_0x3c8dcc(0x1df)](_0x566a23[_0x3c8dcc(0x376)],_0x3a4410(_0x3a4410({'key':_0x5ed6ab},_0x4ab455(_0x566a23,_0xc3116a,_0x3377ae)),_0x130a2f),(_0x474f75(_0x566a23,_0xc3116a)[_0x3c8dcc(0x13d)]||[])['map'](function(_0x1fb875,_0x2aa6b9){const _0x4cd8c8=_0x3c8dcc;return _0x3831f1(_0x1fb875,''[_0x4cd8c8(0x195)](_0x5ed6ab,'-')[_0x4cd8c8(0x195)](_0x566a23[_0x4cd8c8(0x376)],'-')['concat'](_0x2aa6b9),_0xc3116a,void 0x0,_0x3377ae);}));}function _0x4ab455(_0x4d39fd,_0x2fc351,_0x4750ad){const _0x14d53d=_0x453404;var _0x1c78a2=_0x3a4410({},_0x4d39fd['attrs']);_0x4750ad!=null&&_0x4750ad['colorChannel1']&&_0x1c78a2[_0x14d53d(0x26c)]===_0x14d53d(0x29e)&&(_0x1c78a2[_0x14d53d(0x26c)]=_0x4750ad[_0x14d53d(0x29e)]),_0x4d39fd[_0x14d53d(0x376)]===_0x14d53d(0x2f6)&&_0x1c78a2['id']&&(_0x1c78a2['id']=_0x1c78a2['id']+_0x2fc351['idSuffix']),Object[_0x14d53d(0x11c)](_0x1c78a2)[_0x14d53d(0x136)](function(_0x1de856){const _0x29b554=_0x14d53d;var _0x91aed8=_0x1de856[0x0],_0x235781=_0x1de856[0x1];_0x91aed8===_0x29b554(0x2f6)&&typeof _0x235781==_0x29b554(0x209)&&(_0x1c78a2[_0x91aed8]=_0x235781[_0x29b554(0x329)](/url\(#(.*)\)/,'url(#$1'[_0x29b554(0x195)](_0x2fc351['idSuffix'],')')));});var _0x281372=_0x2fc351[_0x14d53d(0x2b5)];return!_0x281372||_0x281372[_0x14d53d(0x2f8)]===0x0||(_0x4d39fd['tag']===_0x14d53d(0x18e)&&_0x1c78a2[_0x14d53d(0x1d4)]&&(_0x1c78a2[_0x14d53d(0x1d4)]=_0x1c78a2[_0x14d53d(0x1d4)]+_0x2fc351['idSuffix']),Object['entries'](_0x1c78a2)[_0x14d53d(0x136)](function(_0x5e86a8){const _0x3f4a36=_0x14d53d;var _0xe5df5a=_0x5e86a8[0x0],_0x1b28a6=_0x5e86a8[0x1];typeof _0x1b28a6==_0x3f4a36(0x209)&&(_0x1c78a2[_0xe5df5a]=_0x1b28a6[_0x3f4a36(0x329)](/url\(#(.*)\)/,_0x3f4a36(0x16a)[_0x3f4a36(0x195)](_0x2fc351[_0x3f4a36(0x2c8)],')')));})),_0x1c78a2;}function _0x474f75(_0x32d3eb,_0x377dd8){const _0x4e2276=_0x453404;var _0x1b4f44,_0x84fb7f=_0x377dd8[_0x4e2276(0x2b5)];return!_0x84fb7f||_0x84fb7f[_0x4e2276(0x2f8)]===0x0?_0x32d3eb:_0x32d3eb['tag']===_0x4e2276(0x1e5)&&(!((_0x1b4f44=_0x32d3eb[_0x4e2276(0x13d)])===null||_0x1b4f44===void 0x0)&&_0x1b4f44[_0x4e2276(0x2f8)])?_0x3a4410(_0x3a4410({},_0x32d3eb),{'children':_0x32d3eb[_0x4e2276(0x13d)][_0x4e2276(0x246)](function(_0x18844a){const _0x3f0d2c=_0x4e2276;return typeof _0x18844a['attrs']['id']=='string'&&_0x84fb7f&&_0x84fb7f[_0x3f0d2c(0x11e)](_0x18844a[_0x3f0d2c(0x397)]['id'])?_0x3a4410(_0x3a4410({},_0x18844a),{'attrs':_0x3a4410(_0x3a4410({},_0x18844a[_0x3f0d2c(0x397)]),{'id':_0x18844a['attrs']['id']+_0x377dd8[_0x3f0d2c(0x2c8)]})}):_0x18844a;})}):_0x32d3eb;}function _0x550c99(){const _0xc7db21=_0x453404;return Math[_0xc7db21(0x324)]()[_0xc7db21(0x168)](0x24)[_0xc7db21(0x251)](0x2,0x8);}_0x3d7b6f[_0x453404(0x289)]=_0x453404(0x16c);var _0x31269c={'tag':_0x453404(0x390),'attrs':{'xmlns':_0x453404(0x332),'fill':_0x453404(0x399),'viewBox':_0x453404(0x375),'width':'1em','height':_0x453404(0x235)},'children':[{'tag':'g','attrs':{'clipPath':_0x453404(0x2ab)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x453404(0x34a),'strokeLinecap':'round','strokeLinejoin':_0x453404(0x281),'strokeWidth':1.2}}]},{'tag':_0x453404(0x1e5),'attrs':{},'children':[{'tag':_0x453404(0x3a2),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x453404(0x3ac),'attrs':{'fill':_0x453404(0x322),'d':_0x453404(0x372)}}]}]}],'defIds':[_0x453404(0x1db)]},_0x3cebac=_0x52afd9[_0x453404(0x1af)](function(_0x4bf4b7,_0x1dbdb0){const _0x25f3d1=_0x453404;return _0x52afd9[_0x25f3d1(0x1df)](_0x3d7b6f,Object[_0x25f3d1(0x1b9)]({},_0x4bf4b7,{'id':'off-line-icon','ref':_0x1dbdb0,'icon':_0x31269c}));});_0x3cebac[_0x453404(0x289)]=_0x453404(0x1ab);var _0x371317={'tag':_0x453404(0x390),'attrs':{'xmlns':_0x453404(0x332),'fill':_0x453404(0x399),'viewBox':_0x453404(0x347),'width':_0x453404(0x235),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x453404(0x29a)},'children':[{'tag':_0x453404(0x3ac),'attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x453404(0x281),'strokeLinejoin':_0x453404(0x281),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x453404(0x3a2),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x453404(0x3ac),'attrs':{'fill':_0x453404(0x322),'d':_0x453404(0x372),'transform':_0x453404(0x141)}}]}]}],'defIds':[_0x453404(0x323)]},_0x5abf6d=_0x52afd9[_0x453404(0x1af)](function(_0x5d4e1a,_0x493604){const _0x4f7fe9=_0x453404;return _0x52afd9['createElement'](_0x3d7b6f,Object[_0x4f7fe9(0x1b9)]({},_0x5d4e1a,{'id':_0x4f7fe9(0x142),'ref':_0x493604,'icon':_0x371317}));});_0x5abf6d[_0x453404(0x289)]=_0x453404(0x1c3);function _0x1e13d9(_0x5c0c57){const _0x1c3092=_0x453404;switch(_0x5c0c57){case _0x2c5d3c[_0x1c3092(0x387)][_0x1c3092(0x1de)]:return'collabStatus.offline';case _0x2c5d3c[_0x1c3092(0x387)][_0x1c3092(0x294)]:return _0x1c3092(0x244);case _0x2c5d3c[_0x1c3092(0x387)]['FETCH_MISS']:return'collabStatus.fetchMiss';case _0x2c5d3c[_0x1c3092(0x387)][_0x1c3092(0x22c)]:return _0x1c3092(0x1d5);case _0x2c5d3c[_0x1c3092(0x387)][_0x1c3092(0x205)]:case _0x2c5d3c['CollaborationStatus'][_0x1c3092(0x2e9)]:return _0x1c3092(0x343);case _0x2c5d3c[_0x1c3092(0x387)]['SYNCED']:case _0x2c5d3c[_0x1c3092(0x387)][_0x1c3092(0x389)]:return _0x1c3092(0x122);}}function _0x20b0a0(_0x579468){const _0x26f998=_0x453404,{status$:_0x3309d6}=_0x579468,_0x578626=_0x47e75a[_0x26f998(0x17c)](_0x3309d6,_0x2c5d3c[_0x26f998(0x387)][_0x26f998(0x22c)]),_0x30bb9e=_0x47e75a[_0x26f998(0x360)](_0x13023b[_0x26f998(0x1a3)]),_0x298160=_0x47e75a[_0x26f998(0x360)](_0x2c5d3c[_0x26f998(0x1ae)]),_0x39795b=_0x578626!==_0x2c5d3c[_0x26f998(0x387)][_0x26f998(0x1de)],_0x422479=_0x30bb9e['t'](_0x1e13d9(_0x578626)),_0x5a80de=_0x39795b?_0x50649b[_0x26f998(0x21d)](_0x5abf6d,{}):_0x50649b[_0x26f998(0x21d)](_0x3cebac,{}),_0xd6438c=_0x52afd9[_0x26f998(0x2c3)](()=>{const _0x14c2b4=_0x26f998;_0x39795b||_0x298160[_0x14c2b4(0x33a)]();},[_0x39795b,_0x298160]);function _0xf96fe6(){const _0x39893b=_0x26f998;return _0x50649b[_0x39893b(0x126)](_0x39893b(0x395),{'className':_0x39893b(0x203),'onClick':_0xd6438c,'children':[_0x50649b['jsx']('div',{'className':_0x2abc24[_0x39893b(0x131)](_0x39893b(0x186),{'univer-text-green-500':_0x39795b,'univer-text-red-500':!_0x39795b}),'children':_0x5a80de}),_0x50649b['jsx'](_0x39893b(0x395),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x422479})]});}return _0x39795b?_0xf96fe6():_0x50649b['jsx'](_0x2abc24[_0x26f998(0x1a9)],{'title':_0x30bb9e['t'](_0x26f998(0x145)),'children':_0xf96fe6()});}var _0x387cba=Object[_0x453404(0x23f)],_0x1bfa70=(_0x6124a7,_0x37e7d8,_0x16c9ca,_0x277bee)=>{const _0x3d8979=_0x453404;for(var _0x4f706a=_0x277bee>0x1?void 0x0:_0x277bee?_0x387cba(_0x37e7d8,_0x16c9ca):_0x37e7d8,_0x1eedcd=_0x6124a7[_0x3d8979(0x2f8)]-0x1,_0x5e7aac;_0x1eedcd>=0x0;_0x1eedcd--)(_0x5e7aac=_0x6124a7[_0x1eedcd])&&(_0x4f706a=_0x5e7aac(_0x4f706a)||_0x4f706a);return _0x4f706a;},_0x22e8d4=(_0x20dc61,_0x9e7191)=>(_0x20ca96,_0x2ca83f)=>_0x9e7191(_0x20ca96,_0x2ca83f,_0x20dc61);_0x5d4de8['DesktopCollaborationStatusDisplayController']=class extends _0x13023b[_0x453404(0x165)]{constructor(_0x1660d6,_0x150aec,_0x36330c,_0x282140){const _0x2fb10a=_0x453404;super(),_0x4ff54d(this,_0x2fb10a(0x26f),new _0xe0366[(_0x2fb10a(0x1cf))](_0x2c5d3c[_0x2fb10a(0x387)][_0x2fb10a(0x22c)])),(this[_0x2fb10a(0x379)]=_0x1660d6,this['_injector']=_0x150aec,this[_0x2fb10a(0x170)]=_0x36330c,this[_0x2fb10a(0x2db)]=_0x282140,this[_0x2fb10a(0x366)](),this[_0x2fb10a(0x154)]());}[_0x453404(0x154)](){const _0x26f5e0=_0x453404;this[_0x26f5e0(0x2bf)](this[_0x26f5e0(0x379)][_0x26f5e0(0x25e)][_0x26f5e0(0x35a)](_0xe0366['switchMap'](()=>{const _0x22fb4e=_0x26f5e0,_0x44c4cb=this['_univerInstanceService'][_0x22fb4e(0x187)]();return _0x44c4cb?this[_0x22fb4e(0x170)][_0x22fb4e(0x391)](_0x44c4cb[_0x22fb4e(0x2be)]()):_0xe0366['of'](null);}),_0xe0366[_0x26f5e0(0x1a2)](_0x2f0139=>_0x2f0139?_0x2f0139[_0x26f5e0(0x282)]:_0xe0366['of'](_0x2c5d3c[_0x26f5e0(0x387)]['NOT_COLLAB'])))[_0x26f5e0(0x310)](_0x596ce9=>{const _0x1c4236=_0x26f5e0;this[_0x1c4236(0x26f)][_0x1c4236(0x1a0)](_0x596ce9);}));}[_0x453404(0x366)](){const _0x3297d0=_0x453404;this[_0x3297d0(0x2bf)](this[_0x3297d0(0x2db)][_0x3297d0(0x1cd)](_0x47e75a[_0x3297d0(0x37c)][_0x3297d0(0x1e6)],()=>_0x47e75a[_0x3297d0(0x153)](_0x4b8d45({'status$':this['_status$'][_0x3297d0(0x21a)]()}),this['_injector'])));}},_0x5d4de8[_0x453404(0x2e8)]=_0x1bfa70([_0x22e8d4(0x0,_0x13023b[_0x453404(0x331)]),_0x22e8d4(0x1,_0x13023b[_0x453404(0x175)](_0x13023b['Injector'])),_0x22e8d4(0x2,_0x13023b[_0x453404(0x175)](_0x2c5d3c[_0x453404(0x16e)])),_0x22e8d4(0x3,_0x47e75a[_0x453404(0x2e3)])],_0x5d4de8['DesktopCollaborationStatusDisplayController']);function _0x4b8d45(_0x2bda75){const {status$:_0x18ac6a}=_0x2bda75;return function(){const _0x4f15c4=_0x3ea2;return _0x50649b[_0x4f15c4(0x21d)](_0x20b0a0,{'status$':_0x18ac6a});};}var _0xa88c5d=Object[_0x453404(0x23f)],_0xda9bea=(_0x2ba259,_0x147c14,_0x11fa59,_0x1f7e31)=>{for(var _0xd5f620=_0x1f7e31>0x1?void 0x0:_0x1f7e31?_0xa88c5d(_0x147c14,_0x11fa59):_0x147c14,_0x4d395d=_0x2ba259['length']-0x1,_0x4341e9;_0x4d395d>=0x0;_0x4d395d--)(_0x4341e9=_0x2ba259[_0x4d395d])&&(_0xd5f620=_0x4341e9(_0xd5f620)||_0xd5f620);return _0xd5f620;},_0x4ebd0f=(_0x15f720,_0x1252f8)=>(_0x2ab1e4,_0x1bd839)=>_0x1252f8(_0x2ab1e4,_0x1bd839,_0x15f720);let _0x5e5da6=class extends _0x13023b[_0x453404(0x165)]{constructor(_0x372ea0,_0xb0600e,_0x583f28,_0x4de4eb,_0x5a087c,_0x5e08fe){const _0x196415=_0x453404;super(),this[_0x196415(0x234)]=_0x372ea0,this[_0x196415(0x28d)]=_0xb0600e,this[_0x196415(0x12d)]=_0x583f28,this[_0x196415(0x2bb)]=_0x4de4eb,this[_0x196415(0x23b)]=_0x5a087c,this[_0x196415(0x1c1)]=_0x5e08fe,this[_0x196415(0x14b)](),this[_0x196415(0x1c9)]();}['_setupBeforeClosingHandler'](){const _0x2d4ab9=_0x453404;this[_0x2d4ab9(0x2bf)](this[_0x2d4ab9(0x234)][_0x2d4ab9(0x1b0)](()=>{const _0x3af168=_0x2d4ab9;if(this[_0x3af168(0x28d)][_0x3af168(0x38b)][_0x3af168(0x156)])return this[_0x3af168(0x1c1)]['t'](_0x3af168(0x247));}));}[_0x453404(0x1c9)](){const _0x3a4cbc=_0x453404;this[_0x3a4cbc(0x2bf)](this['_collaborationUIEventService']['event$'][_0x3a4cbc(0x310)](_0x2249ff=>{const _0x12b0df=_0x3a4cbc;_0x2249ff['id']===_0x2c5d3c[_0x12b0df(0x3b6)][_0x12b0df(0x28b)]&&this['_messageService'][_0x12b0df(0x243)]({'type':_0x2abc24[_0x12b0df(0x2dc)]['Warning'],'content':this[_0x12b0df(0x1c1)]['t'](_0x12b0df(0x2ad))}),_0x2249ff['id']===_0x2c5d3c['CollaborationUIEventId']['CLOSE_ROOM']&&this[_0x12b0df(0x2bb)][_0x12b0df(0x243)]({'type':_0x2abc24['MessageType']['Warning'],'content':this[_0x12b0df(0x1c1)]['t'](_0x12b0df(0x2a2))}),_0x2249ff['id']===_0x2c5d3c['CollaborationUIEventId'][_0x12b0df(0x1da)]&&this[_0x12b0df(0x23b)][_0x12b0df(0x243)]({'title':this[_0x12b0df(0x1c1)]['t']('permission.title'),'content':this['_localeService']['t'](_0x12b0df(0x33d)),'type':_0x12b0df(0x132),'duration':0x0}),_0x2249ff['id']===_0x2c5d3c[_0x12b0df(0x3b6)]['CONFLICT']&&this[_0x12b0df(0x2bb)][_0x12b0df(0x243)]({'type':_0x2abc24['MessageType'][_0x12b0df(0x3b5)],'content':this[_0x12b0df(0x1c1)]['t'](_0x12b0df(0x2a2))+'('+_0x2249ff[_0x12b0df(0x311)]+')'}),_0x2249ff['id']===_0x2c5d3c[_0x12b0df(0x3b6)][_0x12b0df(0x2cb)]&&this['_messageService'][_0x12b0df(0x243)]({'type':_0x2abc24[_0x12b0df(0x2dc)][_0x12b0df(0x1f1)],'content':this['_localeService']['t'](_0x2249ff['data']||'')}),_0x2249ff['id']===_0x2c5d3c[_0x12b0df(0x3b6)][_0x12b0df(0x1d0)]&&this[_0x12b0df(0x2bb)][_0x12b0df(0x243)]({'type':_0x2abc24['MessageType']['Warning'],'content':this[_0x12b0df(0x1c1)]['t'](_0x12b0df(0x288))}),_0x2249ff['id']===_0x2c5d3c[_0x12b0df(0x3b6)][_0x12b0df(0x169)]&&this['_messageService'][_0x12b0df(0x243)]({'type':_0x2abc24['MessageType']['Error'],'content':this[_0x12b0df(0x1c1)]['t'](_0x12b0df(0x14a))}),_0x2249ff['id']===_0x2c5d3c[_0x12b0df(0x3b6)][_0x12b0df(0x280)]&&this['_messageService'][_0x12b0df(0x243)]({'type':_0x2abc24[_0x12b0df(0x2dc)][_0x12b0df(0x3b5)],'content':this[_0x12b0df(0x1c1)]['t'](_0x12b0df(0x232))});}));}};_0x5e5da6=_0xda9bea([_0x4ebd0f(0x0,_0x47e75a[_0x453404(0x174)]),_0x4ebd0f(0x1,_0x2c5d3c[_0x453404(0x229)]),_0x4ebd0f(0x2,_0x13023b['Inject'](_0x2c5d3c[_0x453404(0x1c6)])),_0x4ebd0f(0x3,_0x47e75a[_0x453404(0x37d)]),_0x4ebd0f(0x4,_0x47e75a[_0x453404(0x180)]),_0x4ebd0f(0x5,_0x13023b[_0x453404(0x175)](_0x13023b[_0x453404(0x1a3)]))],_0x5e5da6);const _0x1bf45d='collaboration-client-ui.config',_0x4c331d={},_0x12858b=_0x13023b[_0x453404(0x308)](_0x453404(0x20b));var _0x77e4b6=Object[_0x453404(0x23f)],_0x4994e1=(_0x21e7a3,_0x3a68ad,_0x555e18,_0x5495a0)=>{const _0x561e98=_0x453404;for(var _0x5ae961=_0x5495a0>0x1?void 0x0:_0x5495a0?_0x77e4b6(_0x3a68ad,_0x555e18):_0x3a68ad,_0x330b40=_0x21e7a3[_0x561e98(0x2f8)]-0x1,_0x1ad1c7;_0x330b40>=0x0;_0x330b40--)(_0x1ad1c7=_0x21e7a3[_0x330b40])&&(_0x5ae961=_0x1ad1c7(_0x5ae961)||_0x5ae961);return _0x5ae961;},_0x15287f=(_0x160220,_0x431ef4)=>(_0x3dc11a,_0x4e2b95)=>_0x431ef4(_0x3dc11a,_0x4e2b95,_0x160220);_0x5d4de8['CollaborationDataLoaderController']=class extends _0x13023b[_0x453404(0x351)]{constructor(_0x387192,_0x431234,_0xfa469f,_0x89354f,_0x20869f){const _0x1ed6b4=_0x453404;super(),this[_0x1ed6b4(0x254)]=_0x387192,this[_0x1ed6b4(0x1c8)]=_0x431234,this[_0x1ed6b4(0x27b)]=_0xfa469f,this[_0x1ed6b4(0x13e)]=_0x89354f,_0x20869f?_0x20869f==null||_0x20869f[_0x1ed6b4(0x249)]()[_0x1ed6b4(0x1d1)](()=>this[_0x1ed6b4(0x224)]()):(this[_0x1ed6b4(0x1c8)][_0x1ed6b4(0x361)](_0x1ed6b4(0x26b),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x1ed6b4(0x224)]());}async[_0x453404(0x224)](){const _0x5d8f58=_0x453404,_0x3af7ef=this[_0x5d8f58(0x254)][_0x5d8f58(0x210)](_0x5d8f58(0x35b)),_0x5ea0e4=this[_0x5d8f58(0x254)][_0x5d8f58(0x210)](_0x5d8f58(0x335)),_0x47e316=this[_0x5d8f58(0x254)][_0x5d8f58(0x210)](_0x5d8f58(0x320));if(!_0x3af7ef||!_0x5ea0e4){this[_0x5d8f58(0x1c8)][_0x5d8f58(0x361)](_0x5d8f58(0x26b),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0xbf90c0=await this['_dataLoaderService'][_0x5d8f58(0x143)](_0x3af7ef,Number(_0x5ea0e4),_0x47e316);_0xbf90c0&&_0xbf90c0 instanceof _0x13023b[_0x5d8f58(0x164)]&&this[_0x5d8f58(0x301)](_0xbf90c0);}async['_setupSubUnitSync'](_0xccaf5f){const _0x2d0568=_0x453404;await this[_0x2d0568(0x27a)](_0xccaf5f),_0xccaf5f[_0x2d0568(0x1c2)]['pipe'](_0xe0366['takeUntil'](this[_0x2d0568(0x1e3)]))[_0x2d0568(0x310)](_0x279bf7=>{const _0x34be2f=_0x2d0568;_0x279bf7&&this[_0x34be2f(0x24c)](_0x279bf7);}),this[_0x2d0568(0x254)][_0x2d0568(0x30b)][_0x2d0568(0x35a)](_0xe0366[_0x2d0568(0x2ba)](this[_0x2d0568(0x1e3)]))[_0x2d0568(0x310)](()=>this[_0x2d0568(0x27a)](_0xccaf5f));}[_0x453404(0x24c)](_0x5143e7,_0x46b96a=!0x1){const _0x4ec873=_0x453404,_0x2d4d0f=this['_urlService'][_0x4ec873(0x210)](_0x4ec873(0x320));_0x5143e7[_0x4ec873(0x155)]()!==_0x2d4d0f&&this[_0x4ec873(0x254)]['setParam'](_0x4ec873(0x320),_0x5143e7[_0x4ec873(0x155)](),_0x46b96a);}async[_0x453404(0x27a)](_0x4b7b91){const _0x3ff445=_0x453404;var _0x419c17;const _0x127436=this[_0x3ff445(0x254)]['getParam'](_0x3ff445(0x320));if(!_0x127436||!_0x4b7b91['getSheetBySheetId'](_0x127436)){const _0x1f2c04=_0x4b7b91['getUnhiddenWorksheets']()[0x0],_0x53839a=_0x4b7b91[_0x3ff445(0x120)](_0x1f2c04);if(!_0x53839a)return;this['_updateURLWithCurrentState'](_0x53839a,!0x0),await this['_commandService'][_0x3ff445(0x312)](_0x17d085[_0x3ff445(0x315)]['id'],{'unitId':_0x4b7b91[_0x3ff445(0x2be)](),'subUnitId':_0x1f2c04});return;}((_0x419c17=_0x4b7b91[_0x3ff445(0x286)]())==null?void 0x0:_0x419c17[_0x3ff445(0x155)]())!==_0x127436&&await this['_commandService']['executeCommand'](_0x17d085[_0x3ff445(0x315)]['id'],{'unitId':_0x4b7b91[_0x3ff445(0x2be)](),'subUnitId':_0x127436});}},_0x5d4de8[_0x453404(0x1f9)]=_0x4994e1([_0x15287f(0x0,_0x12858b),_0x15287f(0x1,_0x13023b[_0x453404(0x38f)]),_0x15287f(0x2,_0x13023b[_0x453404(0x2a5)]),_0x15287f(0x3,_0x13023b['Inject'](_0x2c5d3c['DataLoaderService'])),_0x15287f(0x4,_0x13023b[_0x453404(0x2e7)](_0x4e87ce[_0x453404(0x216)]))],_0x5d4de8['CollaborationDataLoaderController']);var _0x542c94=Object['getOwnPropertyDescriptor'],_0x1d07e2=(_0x3fea87,_0x514368,_0xef5d2,_0xdf520e)=>{const _0x36f78c=_0x453404;for(var _0x133c3e=_0xdf520e>0x1?void 0x0:_0xdf520e?_0x542c94(_0x514368,_0xef5d2):_0x514368,_0x51ab53=_0x3fea87[_0x36f78c(0x2f8)]-0x1,_0xfdbe2f;_0x51ab53>=0x0;_0x51ab53--)(_0xfdbe2f=_0x3fea87[_0x51ab53])&&(_0x133c3e=_0xfdbe2f(_0x133c3e)||_0x133c3e);return _0x133c3e;},_0x25a26a=(_0x4c253b,_0x44815c)=>(_0x4c75a3,_0x130157)=>_0x44815c(_0x4c75a3,_0x130157,_0x4c253b);let _0x46c579=class{constructor(_0x23c0b3,_0x665fa5,_0x10fe02){const _0x4321c7=_0x453404;this[_0x4321c7(0x1c0)]=_0x23c0b3,this[_0x4321c7(0x285)]=_0x665fa5,this[_0x4321c7(0x201)]=_0x10fe02;}[_0x453404(0x256)](_0x35f2f6){const _0x59b0e9=_0x453404;this['_transformUndoRedoStack'](_0x35f2f6),this[_0x59b0e9(0x223)](_0x35f2f6);}[_0x453404(0x1e9)](_0x256a55){const _0x5c2e5a=_0x453404,{unitID:_0x12a56}=_0x256a55,_0x3c223e=this[_0x5c2e5a(0x201)][_0x5c2e5a(0x36e)](_0x12a56)[_0x5c2e5a(0x350)](_0x229cdf[_0x5c2e5a(0x129)]),{redoCache:_0x5f3c0f}=_0x3c223e[_0x5c2e5a(0x36d)]();if(_0x5f3c0f['length']===0x0)return _0x256a55;let _0x21f913=_0x13023b[_0x5c2e5a(0x2de)][_0x5c2e5a(0x25a)](_0x256a55[_0x5c2e5a(0x342)][0x0]);for(let _0x35e173=0x0;_0x35e173<_0x5f3c0f['length'];_0x35e173++){const _0x148af0={'id':'doc.mutation.rich-text-editing','params':{..._0x5f3c0f[_0x35e173]}},_0x3e0d6f=this[_0x5c2e5a(0x285)][_0x5c2e5a(0x2ac)](_0x21f913,_0x148af0,!0x1);if(_0x2db34e['isTransformMutationFailure'](_0x3e0d6f))throw _0x3e0d6f['error'];_0x21f913=_0x3e0d6f[_0x5c2e5a(0x266)];}return{..._0x13023b[_0x5c2e5a(0x2de)]['deepClone'](_0x256a55),'mutations':[_0x21f913]};}['_transformUndoRedoStack'](_0x33e0fb){const _0xcd1444=_0x453404,{unitID:_0x56e6f8}=_0x33e0fb,_0x4cfffd=this['_renderManagerService'][_0xcd1444(0x36e)](_0x56e6f8)[_0xcd1444(0x350)](_0x229cdf[_0xcd1444(0x129)]),{undoCache:_0xcdd899,redoCache:_0x21800c}=_0x4cfffd[_0xcd1444(0x36d)]();if(_0xcdd899[_0xcd1444(0x2f8)]===0x0||_0x21800c[_0xcd1444(0x2f8)]===0x0)return;const _0x5805b8=[],_0x57bad5=[];let _0x19601d=_0x13023b[_0xcd1444(0x2de)]['deepClone'](_0x33e0fb[_0xcd1444(0x342)][0x0]),_0xad8664=_0x13023b[_0xcd1444(0x2de)][_0xcd1444(0x25a)](_0x33e0fb['mutations'][0x0]);for(let _0x16ed06=_0xcdd899['length']-0x1;_0x16ed06>=0x0;_0x16ed06--){const _0x400d04={'id':_0xcd1444(0x139),'params':{..._0xcdd899[_0x16ed06]}},_0x45f575={'id':_0xcd1444(0x139),'params':{..._0x21800c[_0x16ed06]}},_0x1a1c68=this[_0xcd1444(0x285)][_0xcd1444(0x2ac)](_0x19601d,_0x400d04,!0x1),_0x25b713=this['_transformService'][_0xcd1444(0x2ac)](_0xad8664,_0x45f575,!0x1);if(_0x2db34e[_0xcd1444(0x287)](_0x1a1c68))throw _0x1a1c68[_0xcd1444(0x132)];if(_0x2db34e['isTransformMutationFailure'](_0x25b713))throw _0x25b713[_0xcd1444(0x132)];_0x5805b8[_0xcd1444(0x269)](_0x1a1c68['m2Prime']['params']),_0x57bad5[_0xcd1444(0x269)](_0x25b713[_0xcd1444(0x371)][_0xcd1444(0x1fd)]),_0x19601d=_0x1a1c68[_0xcd1444(0x266)],_0xad8664=_0x25b713[_0xcd1444(0x266)];}_0x4cfffd[_0xcd1444(0x2d3)]({'undoCache':_0x5805b8,'redoCache':_0x57bad5});}[_0x453404(0x223)](_0x69c436){const _0x25ae89=_0x453404,{unitID:_0x5e07cd}=_0x69c436,_0x4eb786=this['_renderManagerService'][_0x25ae89(0x36e)](_0x5e07cd)[_0x25ae89(0x350)](_0x229cdf[_0x25ae89(0x129)]),_0x166c0c=_0x4eb786[_0x25ae89(0x3b4)]();if(_0x166c0c==null)return;const _0x46467d=[{'id':_0x25ae89(0x139),'params':{'unitId':_0x69c436[_0x25ae89(0x1b4)],'actions':null,'textRanges':[_0x166c0c]}}],_0x26e2db=this['_transformService'][_0x25ae89(0x221)](_0x69c436,_0x46467d);if(!_0x2db34e[_0x25ae89(0x22e)](_0x26e2db))throw _0x26e2db[_0x25ae89(0x132)];const _0x3980fa=_0x26e2db[_0x25ae89(0x371)][0x0]['params'][_0x25ae89(0x2eb)];Array[_0x25ae89(0x32c)](_0x3980fa)&&_0x3980fa[_0x25ae89(0x2f8)]&&_0x4eb786['setActiveRange'](_0x3980fa[0x0]);}};_0x46c579=_0x1d07e2([_0x25a26a(0x0,_0x13023b['Inject'](_0x13023b[_0x453404(0x262)])),_0x25a26a(0x1,_0x2db34e[_0x453404(0x348)]),_0x25a26a(0x2,_0x3b7797[_0x453404(0x242)])],_0x46c579);var _0x5127b6=Object[_0x453404(0x23f)],_0x3e55d1=(_0x5c9767,_0x228c6f,_0xcfbc03,_0x555e44)=>{const _0xdfb79c=_0x453404;for(var _0x4904ad=_0x555e44>0x1?void 0x0:_0x555e44?_0x5127b6(_0x228c6f,_0xcfbc03):_0x228c6f,_0x576c67=_0x5c9767[_0xdfb79c(0x2f8)]-0x1,_0xda3623;_0x576c67>=0x0;_0x576c67--)(_0xda3623=_0x5c9767[_0x576c67])&&(_0x4904ad=_0xda3623(_0x4904ad)||_0x4904ad);return _0x4904ad;},_0x5b9ed3=(_0x212c6c,_0x51de4f)=>(_0x18d8a4,_0x4fb12d)=>_0x51de4f(_0x18d8a4,_0x4fb12d,_0x212c6c);let _0x41657f=class{constructor(_0x364b39,_0x2d20d6,_0x1e0617){const _0x526c22=_0x453404;this[_0x526c22(0x1c0)]=_0x364b39,this[_0x526c22(0x285)]=_0x2d20d6,this[_0x526c22(0x250)]=_0x1e0617;}[_0x453404(0x15b)](_0x558ff2){const _0x3581e1=_0x453404;this[_0x3581e1(0x2bc)](_0x558ff2);}[_0x453404(0x1e9)](_0x4b5eea){const _0x44dff0=_0x453404,{unitID:_0x1d7994}=_0x4b5eea,{collaboration:_0x4cbc03}=this['_docStateChangeManagerService']['getStateCache'](_0x1d7994);if(_0x4cbc03[_0x44dff0(0x2f8)]===0x0)return _0x4b5eea;let _0x20f2d1=_0x13023b[_0x44dff0(0x2de)][_0x44dff0(0x25a)](_0x4b5eea['mutations'][0x0]);for(let _0x4c2f69=0x0;_0x4c2f69<_0x4cbc03[_0x44dff0(0x2f8)];_0x4c2f69++){const _0x8782e8={'id':_0x44dff0(0x139),'params':{'unitId':_0x4cbc03[_0x4c2f69][_0x44dff0(0x2e4)],..._0x4cbc03[_0x4c2f69]['redoState']}},_0x383fc1=this[_0x44dff0(0x285)]['transformMutation'](_0x20f2d1,_0x8782e8,!0x1);if(_0x2db34e['isTransformMutationFailure'](_0x383fc1))throw _0x383fc1[_0x44dff0(0x132)];_0x20f2d1=_0x383fc1[_0x44dff0(0x266)];}return{..._0x13023b[_0x44dff0(0x2de)][_0x44dff0(0x25a)](_0x4b5eea),'mutations':[_0x20f2d1]};}['_transformHistoryAndStateStack'](_0x4f5ed5){const _0x26e210=_0x453404,{unitID:_0x3e4b46}=_0x4f5ed5,{history:_0x1ba0ab,collaboration:_0x36a7f6}=this[_0x26e210(0x250)][_0x26e210(0x3ad)](_0x3e4b46);if(_0x1ba0ab[_0x26e210(0x2f8)]===0x0&&_0x36a7f6[_0x26e210(0x2f8)]===0x0)return;const _0x27b916=[],_0x5134d9=[];let _0x53358e=_0x13023b[_0x26e210(0x2de)][_0x26e210(0x25a)](_0x4f5ed5[_0x26e210(0x342)][0x0]),_0x40b175=_0x13023b[_0x26e210(0x2de)]['deepClone'](_0x4f5ed5[_0x26e210(0x342)][0x0]);for(let _0x1dd9e3=_0x1ba0ab[_0x26e210(0x2f8)]-0x1;_0x1dd9e3>=0x0;_0x1dd9e3--){const _0x285985={'id':_0x26e210(0x139),'params':{'unitId':_0x1ba0ab[_0x1dd9e3][_0x26e210(0x2e4)],..._0x1ba0ab[_0x1dd9e3]['undoState']}},_0xe4377b={'id':_0x26e210(0x139),'params':{'unitId':_0x1ba0ab[_0x1dd9e3][_0x26e210(0x2e4)],..._0x1ba0ab[_0x1dd9e3][_0x26e210(0x177)]}},_0x3c33af=this[_0x26e210(0x285)][_0x26e210(0x2ac)](_0x53358e,_0x285985,!0x1),_0x32ae6f=this['_transformService'][_0x26e210(0x2ac)](_0x40b175,_0xe4377b,!0x1);if(_0x2db34e[_0x26e210(0x287)](_0x3c33af))throw _0x3c33af[_0x26e210(0x132)];if(_0x2db34e[_0x26e210(0x287)](_0x32ae6f))throw _0x32ae6f[_0x26e210(0x132)];_0x27b916[_0x26e210(0x269)]({..._0x1ba0ab[_0x1dd9e3],'undoState':_0x3c33af[_0x26e210(0x371)]['params'],'redoState':_0x32ae6f[_0x26e210(0x371)]['params']}),_0x53358e=_0x3c33af['m1Prime'],_0x40b175=_0x32ae6f[_0x26e210(0x266)];}_0x53358e=_0x13023b[_0x26e210(0x2de)][_0x26e210(0x25a)](_0x4f5ed5[_0x26e210(0x342)][0x0]),_0x40b175=_0x13023b[_0x26e210(0x2de)][_0x26e210(0x25a)](_0x4f5ed5['mutations'][0x0]);for(let _0x5bf195=_0x36a7f6['length']-0x1;_0x5bf195>=0x0;_0x5bf195--){const _0x308ff2={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x36a7f6[_0x5bf195][_0x26e210(0x2e4)],..._0x36a7f6[_0x5bf195][_0x26e210(0x1a1)]}},_0x1dcc5e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x36a7f6[_0x5bf195]['unitId'],..._0x36a7f6[_0x5bf195][_0x26e210(0x177)]}},_0x5b0aa7=this[_0x26e210(0x285)][_0x26e210(0x2ac)](_0x53358e,_0x308ff2,!0x1),_0x23c350=this[_0x26e210(0x285)][_0x26e210(0x2ac)](_0x40b175,_0x1dcc5e,!0x1);if(_0x2db34e[_0x26e210(0x287)](_0x5b0aa7))throw _0x5b0aa7[_0x26e210(0x132)];if(_0x2db34e['isTransformMutationFailure'](_0x23c350))throw _0x23c350[_0x26e210(0x132)];_0x5134d9[_0x26e210(0x269)]({..._0x36a7f6[_0x5bf195],'undoState':_0x5b0aa7[_0x26e210(0x371)][_0x26e210(0x1fd)],'redoState':_0x23c350[_0x26e210(0x371)][_0x26e210(0x1fd)]}),_0x53358e=_0x5b0aa7['m1Prime'],_0x40b175=_0x23c350[_0x26e210(0x266)];}this[_0x26e210(0x250)][_0x26e210(0x18c)](_0x3e4b46,{'history':_0x27b916,'collaboration':_0x5134d9});}};_0x41657f=_0x3e55d1([_0x5b9ed3(0x0,_0x13023b['Inject'](_0x13023b[_0x453404(0x262)])),_0x5b9ed3(0x1,_0x2db34e['ITransformService']),_0x5b9ed3(0x2,_0x13023b['Inject'](_0x229cdf[_0x453404(0x225)]))],_0x41657f);var _0x3d3169=Object['getOwnPropertyDescriptor'],_0x267746=(_0x30df0a,_0x31363d,_0x39ff59,_0x5456d8)=>{const _0x59d29f=_0x453404;for(var _0x5b4799=_0x5456d8>0x1?void 0x0:_0x5456d8?_0x3d3169(_0x31363d,_0x39ff59):_0x31363d,_0x514afb=_0x30df0a[_0x59d29f(0x2f8)]-0x1,_0x3bdb3b;_0x514afb>=0x0;_0x514afb--)(_0x3bdb3b=_0x30df0a[_0x514afb])&&(_0x5b4799=_0x3bdb3b(_0x5b4799)||_0x5b4799);return _0x5b4799;},_0x301ec6=(_0x144383,_0x449806)=>(_0x2fc78b,_0x236047)=>_0x449806(_0x2fc78b,_0x236047,_0x144383);let _0x256c9d=class{constructor(_0x48020c,_0x3bdfa2){const _0x2a36d7=_0x453404;this[_0x2a36d7(0x1c0)]=_0x48020c,this[_0x2a36d7(0x285)]=_0x3bdfa2;}['transformSelections'](_0x3ec0ed){const _0x45019a=_0x453404;var _0x31ec73;const _0x3312b2=this['_injector'][_0x45019a(0x28f)](_0x3679f8[_0x45019a(0x1ac)]),_0x30a41a=(_0x31ec73=_0x3312b2[_0x45019a(0x2c2)]())!=null?_0x31ec73:[];if(_0x30a41a['length']===0x0)return;const _0x10f640=_0x3ec0ed[_0x45019a(0x1b4)],_0x294336=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x10f640,'actions':null,'textRanges':_0x30a41a}}],_0x37074c=this[_0x45019a(0x285)]['transformMutationsWithChangeset'](_0x3ec0ed,_0x294336);if(!_0x2db34e[_0x45019a(0x22e)](_0x37074c))throw _0x37074c[_0x45019a(0x132)];const _0x2e4eb9=_0x37074c[_0x45019a(0x371)][0x0][_0x45019a(0x1fd)][_0x45019a(0x2eb)];Array[_0x45019a(0x32c)](_0x2e4eb9)&&_0x2e4eb9['length']&&_0x3312b2[_0x45019a(0x226)](_0x2e4eb9,{'unitId':_0x10f640,'subUnitId':_0x10f640},!0x1);}};_0x256c9d=_0x267746([_0x301ec6(0x0,_0x13023b[_0x453404(0x175)](_0x13023b[_0x453404(0x262)])),_0x301ec6(0x1,_0x2db34e[_0x453404(0x348)])],_0x256c9d);var _0x23427f=Object[_0x453404(0x23f)],_0x489d5f=(_0x281490,_0x23c094,_0x186a49,_0x3b6493)=>{for(var _0x392854=_0x3b6493>0x1?void 0x0:_0x3b6493?_0x23427f(_0x23c094,_0x186a49):_0x23c094,_0xb14f98=_0x281490['length']-0x1,_0x1a50d4;_0xb14f98>=0x0;_0xb14f98--)(_0x1a50d4=_0x281490[_0xb14f98])&&(_0x392854=_0x1a50d4(_0x392854)||_0x392854);return _0x392854;},_0x395cee=(_0x4d27d0,_0x5a52f4)=>(_0x31d62b,_0x3b794c)=>_0x5a52f4(_0x31d62b,_0x3b794c,_0x4d27d0);let _0x24d9bb=class extends _0x13023b['Disposable']{constructor(_0x846ba0,_0x51ce38,_0x898869,_0x537bdf,_0x3e640f,_0x310484,_0x552eb2,_0x498cf8){const _0x3a4c68=_0x453404;super(),_0x4ff54d(this,_0x3a4c68(0x26f),new _0xe0366[(_0x3a4c68(0x1cf))](_0x2c5d3c[_0x3a4c68(0x387)][_0x3a4c68(0x22c)])),(this[_0x3a4c68(0x250)]=_0x846ba0,this['_collaborationController']=_0x51ce38,this[_0x3a4c68(0x230)]=_0x898869,this[_0x3a4c68(0x2f5)]=_0x537bdf,this[_0x3a4c68(0x20e)]=_0x3e640f,this[_0x3a4c68(0x307)]=_0x310484,this[_0x3a4c68(0x2bb)]=_0x552eb2,this[_0x3a4c68(0x1c1)]=_0x498cf8,this[_0x3a4c68(0x257)]());}['_initEntityListener'](){const _0x1cd932=_0x453404;this[_0x1cd932(0x2bf)](this[_0x1cd932(0x170)]['entityInit$'][_0x1cd932(0x310)](_0x4539f1=>{const _0x42b574=_0x1cd932,_0x414502=this[_0x42b574(0x250)][_0x42b574(0x17d)][_0x42b574(0x310)](_0x195964=>{const _0x25c9f5=_0x42b574;if(_0x195964==null)return;const {unitId:_0x58b8e5,redoState:_0x350259,commandId:_0x2b9647}=_0x195964;if(_0x58b8e5!==_0x4539f1[_0x25c9f5(0x1b4)])return;const _0x4480f9={'id':_0x2b9647,'type':_0x13023b['CommandType'][_0x25c9f5(0x212)],'params':{'unitId':_0x58b8e5,'actions':_0x350259[_0x25c9f5(0x19c)],'textRanges':null}};_0x4539f1[_0x25c9f5(0x20a)](_0x4480f9);});if(_0x4539f1[_0x42b574(0x2bf)](_0x414502),_0x4539f1 instanceof _0x2c5d3c[_0x42b574(0x1ba)]){const _0x4dda3b={'onTransformIME':_0x4ce66a=>this[_0x42b574(0x230)][_0x42b574(0x256)](_0x4ce66a),'onTransformState':_0xa9946=>this[_0x42b574(0x2f5)][_0x42b574(0x15b)](_0xa9946),'onTransformSelections':_0x4d2de4=>this['_docTransformSelectionsService'][_0x42b574(0x144)](_0x4d2de4),'onSyncEditingCollabCursor':_0x450364=>this[_0x42b574(0x307)]['syncEditingCollabCursor'](_0x450364),'onTransformRemoteChangesetByIMECache':_0x2f47b8=>this[_0x42b574(0x230)][_0x42b574(0x1e9)](_0x2f47b8),'onTransformRemoteChangesetByStateCache':_0x9c85c6=>this[_0x42b574(0x2f5)][_0x42b574(0x1e9)](_0x9c85c6)};_0x4539f1[_0x42b574(0x1ca)](_0x4dda3b);}}));}};_0x24d9bb=_0x489d5f([_0x395cee(0x0,_0x13023b[_0x453404(0x175)](_0x229cdf[_0x453404(0x225)])),_0x395cee(0x1,_0x13023b['Inject'](_0x2c5d3c[_0x453404(0x16e)])),_0x395cee(0x2,_0x13023b[_0x453404(0x175)](_0x46c579)),_0x395cee(0x3,_0x13023b['Inject'](_0x41657f)),_0x395cee(0x4,_0x13023b[_0x453404(0x175)](_0x256c9d)),_0x395cee(0x5,_0x13023b[_0x453404(0x175)](_0x1373ab)),_0x395cee(0x6,_0x47e75a[_0x453404(0x37d)]),_0x395cee(0x7,_0x13023b[_0x453404(0x175)](_0x13023b[_0x453404(0x1a3)]))],_0x24d9bb);var _0x29dfe4=Object[_0x453404(0x23f)],_0x1b6058=(_0x3c29c4,_0x2759a5,_0x4be9ff,_0x108041)=>{for(var _0x34e889=_0x108041>0x1?void 0x0:_0x108041?_0x29dfe4(_0x2759a5,_0x4be9ff):_0x2759a5,_0x4ae331=_0x3c29c4['length']-0x1,_0x80de85;_0x4ae331>=0x0;_0x4ae331--)(_0x80de85=_0x3c29c4[_0x4ae331])&&(_0x34e889=_0x80de85(_0x34e889)||_0x34e889);return _0x34e889;},_0x50a135=(_0x538870,_0x19ec46)=>(_0x3bb4ba,_0x2358f0)=>_0x19ec46(_0x3bb4ba,_0x2358f0,_0x538870);let _0xd50634=class extends _0x13023b[_0x453404(0x165)]{constructor(_0x59ea7a,_0x37d5f6,_0x4d0956){const _0x35821c=_0x453404;super(),_0x4ff54d(this,'_cachedData',new Map()),_0x4ff54d(this,_0x35821c(0x15e),new Map()),_0x4ff54d(this,_0x35821c(0x22d),!0x1),(this['_configService']=_0x59ea7a,this[_0x35821c(0x1a8)]=_0x37d5f6,this['_revisionService']=_0x4d0956);}[_0x453404(0x2aa)](){const _0x35f931=_0x453404;this[_0x35f931(0x22d)]=!0x0;}[_0x453404(0x182)](){const _0x516620=_0x453404;this[_0x516620(0x22d)]=!0x1;}get[_0x453404(0x38b)](){return this['_saveTaskMap'];}[_0x453404(0x3aa)](){const _0xcf1918=_0x453404;this[_0xcf1918(0x2b2)]()[_0xcf1918(0x1d1)](()=>super[_0xcf1918(0x3aa)]());}async[_0x453404(0x3b1)](_0x257917){const _0x28809f=_0x453404;return this[_0x28809f(0x22d)]?null:this[_0x28809f(0x1a8)]['getItem'](_0x2c5d3c[_0x28809f(0x386)](_0x257917));}async[_0x453404(0x193)](_0x4aea11,_0x21ab4c){const _0x3e8d2c=_0x453404;return!!this[_0x3e8d2c(0x1a8)][_0x3e8d2c(0x38c)](_0x4aea11,_0x21ab4c);}[_0x453404(0x178)](_0x348ba9,_0x475e4a,_0x269349,_0x5d1c94){const _0x163d23=_0x453404,_0x14cfbd=this['_revisionService'][_0x163d23(0x1e8)](_0x348ba9);this[_0x163d23(0x316)]['set'](_0x348ba9,{'unitID':_0x348ba9,'type':_0x475e4a,'awaitingChangeset':_0x269349,'mutations':_0x5d1c94,'rev':_0x14cfbd}),this['_saveTaskMap'][_0x163d23(0x138)](_0x348ba9)||this[_0x163d23(0x1f0)](_0x348ba9);}[_0x453404(0x1f0)](_0x1e1058){const _0x628f8b=_0x453404,_0xd693bc=this['_getSaveTimeout']();_0xd693bc===0x0?this['_saveCache'](_0x1e1058):this[_0x628f8b(0x15e)]['set'](_0x1e1058,setTimeout(()=>this[_0x628f8b(0x211)](_0x1e1058),_0xd693bc));}['_getSaveTimeout'](){const _0x3b4b5f=_0x453404;var _0x18918e;return(_0x18918e=this[_0x3b4b5f(0x1d9)]['getConfig'](_0x2c5d3c['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x18918e:_0x2c5d3c[_0x3b4b5f(0x328)];}['_saveCache'](_0x380907){const _0x3f44f6=_0x453404,_0x11e58e=this[_0x3f44f6(0x15e)][_0x3f44f6(0x28f)](_0x380907);return _0x11e58e!==void 0x0&&window[_0x3f44f6(0x29d)](_0x11e58e),this[_0x3f44f6(0x1a8)]['setItem'](_0x2c5d3c['getLocalCacheKey'](_0x380907),this[_0x3f44f6(0x316)][_0x3f44f6(0x28f)](_0x380907))[_0x3f44f6(0x1d1)](()=>this[_0x3f44f6(0x15e)][_0x3f44f6(0x206)](_0x380907));}async[_0x453404(0x2b2)](){const _0x4c838f=_0x453404,_0x5a4238=[];this[_0x4c838f(0x15e)][_0x4c838f(0x136)]((_0x44dced,_0x5469ac)=>{const _0x3f7138=_0x4c838f;window[_0x3f7138(0x29d)](_0x44dced),_0x5a4238[_0x3f7138(0x1fe)](this[_0x3f7138(0x211)](_0x5469ac)[_0x3f7138(0x1d1)](()=>{this['_saveTaskMap']['delete'](_0x5469ac);}));}),await Promise[_0x4c838f(0x344)](_0x5a4238);}};_0xd50634=_0x1b6058([_0x50a135(0x0,_0x13023b[_0x453404(0x245)]),_0x50a135(0x1,_0x13023b[_0x453404(0x19d)]),_0x50a135(0x2,_0x13023b['Inject'](_0x2db34e[_0x453404(0x128)]))],_0xd50634);class _0x5e3f87 extends _0x13023b[_0x453404(0x351)]{constructor(){const _0x3bc579=_0x453404;super(),_0x4ff54d(this,'urlChange$'),this['urlChange$']=_0xe0366['fromEvent'](window,_0x3bc579(0x2a4))[_0x3bc579(0x35a)](_0xe0366[_0x3bc579(0x2ba)](this[_0x3bc579(0x1e3)]),_0xe0366[_0x3bc579(0x18a)](0x1),_0xe0366[_0x3bc579(0x31e)](void 0x0));}[_0x453404(0x13b)](_0x1f3283,_0xf280c1,_0xc0224=!0x1){const _0x54a820=_0x453404,_0x443999=new URL(window[_0x54a820(0x2d0)][_0x54a820(0x339)]);_0x443999['searchParams'][_0x54a820(0x2ca)](_0x1f3283,_0xf280c1),_0xc0224?window[_0x54a820(0x1f7)][_0x54a820(0x1fc)]('','',_0x443999[_0x54a820(0x168)]()):window[_0x54a820(0x1f7)][_0x54a820(0x160)]('','',_0x443999['toString']());}[_0x453404(0x1aa)](_0x5032bb,_0x57f844=!0x1){const _0x13a32b=_0x453404,_0x4206f3=new URL(window[_0x13a32b(0x2d0)][_0x13a32b(0x339)]);_0x4206f3['searchParams'][_0x13a32b(0x206)](_0x5032bb),_0x57f844?window[_0x13a32b(0x1f7)][_0x13a32b(0x1fc)]('','',_0x4206f3['toString']()):window[_0x13a32b(0x1f7)][_0x13a32b(0x160)]('','',_0x4206f3['toString']());}[_0x453404(0x210)](_0x39a1a8){const _0x34de7a=_0x453404;var _0x4b28bf;return(_0x4b28bf=new URL(window['location'][_0x34de7a(0x339)])[_0x34de7a(0x27d)][_0x34de7a(0x28f)](_0x39a1a8))!=null?_0x4b28bf:void 0x0;}}var _0x5cdd0b=Object[_0x453404(0x188)],_0x39b438=Object[_0x453404(0x23f)],_0x4e56c8=(_0x2faf47,_0x52c178,_0x19a748)=>_0x52c178 in _0x2faf47?_0x5cdd0b(_0x2faf47,_0x52c178,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x19a748}):_0x2faf47[_0x52c178]=_0x19a748,_0x32473d=(_0x514d9f,_0x293f08,_0x1e97c7,_0x19c9f7)=>{const _0x210bf1=_0x453404;for(var _0x1d7b47=_0x19c9f7>0x1?void 0x0:_0x19c9f7?_0x39b438(_0x293f08,_0x1e97c7):_0x293f08,_0x5c8635=_0x514d9f[_0x210bf1(0x2f8)]-0x1,_0x476be7;_0x5c8635>=0x0;_0x5c8635--)(_0x476be7=_0x514d9f[_0x5c8635])&&(_0x1d7b47=_0x476be7(_0x1d7b47)||_0x1d7b47);return _0x1d7b47;},_0x5e3c00=(_0x89fbcc,_0x5c442a)=>(_0x1d05dc,_0x5941d3)=>_0x5c442a(_0x1d05dc,_0x5941d3,_0x89fbcc),_0x3f9191=(_0x17aa34,_0x5cdcb2,_0x27c72e)=>_0x4e56c8(_0x17aa34,_0x5cdcb2+'',_0x27c72e);const _0xf9a98b=_0x453404(0x1d8);_0x5d4de8['UniverCollaborationClientUIPlugin']=class extends _0x13023b[_0x453404(0x1eb)]{constructor(_0x4cd80c=_0x4c331d,_0x572688,_0x2e8584,_0x570975){const _0x3c48f0=_0x453404;super(),this['_config']=_0x4cd80c,this['_renderManagerService']=_0x572688,this[_0x3c48f0(0x1c0)]=_0x2e8584,this[_0x3c48f0(0x1d9)]=_0x570975;const {..._0x452217}=_0x13023b['merge']({},_0x4c331d,this['_config']);this['_configService']['setConfig'](_0x1bf45d,_0x452217);}[_0x453404(0x276)](){const _0xc00f27=_0x453404;this[_0xc00f27(0x364)](),this[_0xc00f27(0x1ee)]();}[_0x453404(0x38a)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x580e95=_0x453404;var _0x46dc5c;const _0x398de1=[[_0x39fdea],[_0x256c9d],[_0x46c579],[_0x41657f],[_0x1373ab],[_0x12858b,{'useClass':_0x5e3f87}],[_0x562449[_0x580e95(0x28a)],{'useClass':_0x562449[_0x580e95(0x377)]}],[_0x2c5d3c[_0x580e95(0x229)],{'useClass':_0xd50634}],[_0x5d4de8['DesktopCollaborationStatusDisplayController']],[_0x24d9bb],[_0x5e5da6],[_0xa698e7],[_0x5d6e1b],[_0x5d4de8[_0x580e95(0x1f9)]]];_0x13023b[_0x580e95(0x304)](this['_injector'],_0x13023b['mergeOverrideWithDependencies'](_0x398de1,(_0x46dc5c=this[_0x580e95(0x398)])==null?void 0x0:_0x46dc5c['override']));}[_0x453404(0x314)](){const _0xe91479=_0x453404;this['disposeWithMe'](this['_renderManagerService']['registerRenderModule'](_0x13023b['UniverInstanceType'][_0xe91479(0x35d)],[_0x4b6396])),this[_0xe91479(0x2bf)](this[_0xe91479(0x201)]['registerRenderModule'](_0x13023b[_0xe91479(0x39d)][_0xe91479(0x2f4)],[_0x53e774]));}[_0x453404(0x1ee)](){const _0x189c11=_0x453404;_0x13023b[_0x189c11(0x33e)](this[_0x189c11(0x1c0)],[[_0xa698e7],[_0x5d4de8['DesktopCollaborationStatusDisplayController']],[_0x24d9bb],[_0x5e5da6],[_0x5d4de8[_0x189c11(0x1f9)]]]);}},_0x3f9191(_0x5d4de8[_0x453404(0x24e)],'pluginName',_0xf9a98b),_0x5d4de8[_0x453404(0x24e)]=_0x32473d([_0x13023b[_0x453404(0x1b2)](_0x2c5d3c[_0x453404(0x34d)]),_0x5e3c00(0x1,_0x3b7797[_0x453404(0x242)]),_0x5e3c00(0x2,_0x13023b[_0x453404(0x175)](_0x13023b[_0x453404(0x262)])),_0x5e3c00(0x3,_0x13023b[_0x453404(0x245)])],_0x5d4de8['UniverCollaborationClientUIPlugin']);var _0x9ad916=Object[_0x453404(0x23f)],_0x2a8968=(_0x575fb7,_0x4ff8e6,_0x12a41a,_0x5c06d7)=>{const _0x18be05=_0x453404;for(var _0x38f2a9=_0x5c06d7>0x1?void 0x0:_0x5c06d7?_0x9ad916(_0x4ff8e6,_0x12a41a):_0x4ff8e6,_0x296277=_0x575fb7[_0x18be05(0x2f8)]-0x1,_0x4aa657;_0x296277>=0x0;_0x296277--)(_0x4aa657=_0x575fb7[_0x296277])&&(_0x38f2a9=_0x4aa657(_0x38f2a9)||_0x38f2a9);return _0x38f2a9;},_0x4bd213=(_0x601b4e,_0x3294bb)=>(_0x484b19,_0x3c4ecc)=>_0x3294bb(_0x484b19,_0x3c4ecc,_0x601b4e);_0x5d4de8[_0x453404(0x261)]=class extends _0x2c5d3c[_0x453404(0x217)]{constructor(_0x2bdb16,_0x5c0a5b,_0x13f87e,_0x27ff67,_0xe10427){super(_0x2bdb16,_0x5c0a5b,_0x13f87e,_0x27ff67,_0xe10427);}async[_0x453404(0x26a)](_0x283623){const _0x2160e6=_0x453404,_0x30576d=await this[_0x2160e6(0x1be)](),_0x4a3293=this[_0x2160e6(0x3a9)](_0x283623,_0x30576d);return this[_0x2160e6(0x1b7)](_0x4a3293);}[_0x453404(0x3a9)](_0x273faa,_0x1581ef){const _0xad0bb7=_0x453404,_0x46c7ff=typeof window>'u'?new URL(_0x273faa):new URL(_0x273faa,window[_0xad0bb7(0x2d0)][_0xad0bb7(0x378)]);_0x46c7ff[_0xad0bb7(0x27d)]['set'](_0xad0bb7(0x302),_0x1581ef);const _0x2f32ac=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xad0bb7(0x2d0)][_0xad0bb7(0x264)]);return _0x2f32ac['get']('runId')&&_0x46c7ff[_0xad0bb7(0x27d)][_0xad0bb7(0x2ca)](_0xad0bb7(0x16b),_0x2f32ac[_0xad0bb7(0x28f)](_0xad0bb7(0x16b))),_0x46c7ff[_0xad0bb7(0x168)]();}async[_0x453404(0x1be)](){const _0x493efb=_0x453404;var _0x1c00aa,_0x4fd594,_0x206feb;const _0x355428=this[_0x493efb(0x1d9)]['getConfig'](_0x2c5d3c[_0x493efb(0x24a)]),_0x305b66=(_0x1c00aa=_0x355428==null?void 0x0:_0x355428[_0x493efb(0x263)])!=null?_0x1c00aa:_0x2c5d3c[_0x493efb(0x22f)];return(_0x206feb=(_0x4fd594=(await this[_0x493efb(0x1ef)][_0x493efb(0x28f)](_0x305b66,{'headers':{'Content-Type':'application/json'}}))[_0x493efb(0x19e)])==null?void 0x0:_0x4fd594['ticket'])!=null?_0x206feb:'';}},_0x5d4de8[_0x453404(0x261)]=_0x2a8968([_0x4bd213(0x0,_0x13023b['Inject'](_0x13023b['Injector'])),_0x4bd213(0x1,_0x13023b[_0x453404(0x175)](_0x562449[_0x453404(0x2b6)])),_0x4bd213(0x2,_0x13023b[_0x453404(0x245)]),_0x4bd213(0x3,_0x13023b[_0x453404(0x38f)]),_0x4bd213(0x4,_0x2db34e['ISnapshotServerService'])],_0x5d4de8[_0x453404(0x261)]);const _0x416e8c=0x7530,_0x3549eb=_0x453404(0x23a);class _0x507e04 extends _0x13023b[_0x453404(0x165)]{constructor(){const _0x5d5360=_0x453404;super(),_0x4ff54d(this,_0x5d5360(0x33b),_0x13023b['generateRandomId']()),_0x4ff54d(this,_0x5d5360(0x2fd),new Set()),_0x4ff54d(this,_0x5d5360(0x123),new Map()),_0x4ff54d(this,'_heartbeatTimer',null),_0x4ff54d(this,_0x5d5360(0x176),new Map()),_0x4ff54d(this,'_unitStatus',new Map()),this[_0x5d5360(0x224)]();}[_0x453404(0x3aa)](){const _0x2dcc95=_0x453404;super[_0x2dcc95(0x3aa)](),this[_0x2dcc95(0x176)][_0x2dcc95(0x136)]((_0x41ad4d,_0x5930cf)=>this['_removeClearOtherTimer'](_0x5930cf)),this[_0x2dcc95(0x1b8)]&&window[_0x2dcc95(0x2d7)](this[_0x2dcc95(0x1b8)]);}[_0x453404(0x345)](_0x240cb7){const _0x3b83fd=_0x453404;return this[_0x3b83fd(0x2b9)](_0x240cb7)[_0x3b83fd(0x35a)](_0xe0366[_0x3b83fd(0x215)]());}['editingUnit'](_0x35637e){const _0x4460fa=_0x453404;this['_selfUnitIDs']['size']===0x0&&this[_0x4460fa(0x219)](),this[_0x4460fa(0x2fd)][_0x4460fa(0x358)](_0x35637e),this[_0x4460fa(0x2df)]({'type':0x0,'memberID':this[_0x4460fa(0x33b)],'unitIDs':[_0x35637e],'isForwarded':!0x1});}[_0x453404(0x2ff)](_0x56467b){const _0x37b5f3=_0x453404;this['_selfUnitIDs'][_0x37b5f3(0x206)](_0x56467b),this[_0x37b5f3(0x2fd)]['size']===0x0&&this[_0x37b5f3(0x1b8)]&&window[_0x37b5f3(0x2d7)](this['_heartbeatTimer']);}['_init'](){const _0x37b80b=_0x453404;this[_0x37b80b(0x2bf)](_0x13023b[_0x37b80b(0x1f8)](_0xe0366[_0x37b80b(0x135)](window,_0x37b80b(0x327))[_0x37b80b(0x310)](_0x1a73f5=>{const _0x8896fa=_0x37b80b;if(_0x1a73f5[_0x8896fa(0x30f)]!==_0x3549eb||!_0x1a73f5[_0x8896fa(0x321)])return;const _0xe08c2b=JSON[_0x8896fa(0x337)](_0x1a73f5[_0x8896fa(0x321)]);this[_0x8896fa(0x119)](_0xe08c2b);}))),window[_0x37b80b(0x27c)]('unload',()=>this[_0x37b80b(0x2df)]({'type':0x1,'memberID':this[_0x37b80b(0x33b)],'unitIDs':Array[_0x37b80b(0x239)](this[_0x37b80b(0x2fd)])}));}[_0x453404(0x119)](_0x2f994d){const _0x1dafe0=_0x453404;switch(_0x2f994d['type']){case 0x0:this[_0x1dafe0(0x18d)](_0x2f994d);break;case 0x1:this['_handleLeaveEvent'](_0x2f994d);break;case 0x2:this[_0x1dafe0(0x318)](_0x2f994d);break;}}[_0x453404(0x18d)](_0x1c99c0){const _0x4be4cb=_0x453404,{unitIDs:_0x5d02f7,memberID:_0x5e811f,isForwarded:_0x41a713}=_0x1c99c0;_0x5d02f7[_0x4be4cb(0x136)](_0x7b4d4d=>{const _0x1fc6b2=_0x4be4cb;if(!_0x41a713&&this[_0x1fc6b2(0x123)][_0x1fc6b2(0x138)](_0x7b4d4d)&&this[_0x1fc6b2(0x2b9)](_0x7b4d4d)[_0x1fc6b2(0x1a0)](_0x2c5d3c[_0x1fc6b2(0x300)][_0x1fc6b2(0x228)]),!this['_unitOnClients']['has'](_0x7b4d4d)||!this[_0x1fc6b2(0x123)][_0x1fc6b2(0x28f)](_0x7b4d4d)[_0x1fc6b2(0x138)](_0x5e811f)){const _0x411381=this[_0x1fc6b2(0x123)]['get'](_0x7b4d4d)||new Set();_0x411381[_0x1fc6b2(0x358)](_0x5e811f),this[_0x1fc6b2(0x123)][_0x1fc6b2(0x2ca)](_0x7b4d4d,_0x411381),this[_0x1fc6b2(0x31a)](_0x5e811f);}}),_0x41a713||this[_0x4be4cb(0x2df)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x4be4cb(0x2fd)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x386dc6){const _0x3f81ae=_0x453404;this[_0x3f81ae(0x179)](_0x386dc6);const _0x3ec40a=window[_0x3f81ae(0x181)](()=>{const _0x150aad=_0x3f81ae;this[_0x150aad(0x123)][_0x150aad(0x136)](_0x33f140=>{_0x33f140['delete'](_0x386dc6);});},_0x416e8c*0x2);this[_0x3f81ae(0x176)][_0x3f81ae(0x2ca)](_0x386dc6,_0x3ec40a);}['_removeClearOtherTimer'](_0x46ff56){const _0x412368=_0x453404;if(this[_0x412368(0x176)][_0x412368(0x138)](_0x46ff56)){const _0x1c6520=this['_clearOtherTimers'][_0x412368(0x28f)](_0x46ff56);_0x1c6520&&window[_0x412368(0x29d)](_0x1c6520),this[_0x412368(0x176)][_0x412368(0x2ca)](_0x46ff56,null);}}[_0x453404(0x30c)](_0x571f0c){const _0x41568c=_0x453404,{memberID:_0x41975b,unitIDs:_0x1af087}=_0x571f0c;_0x1af087['forEach'](_0x2887ec=>{const _0x4bc79e=_0x3ea2;var _0x34101b;const _0x3de0ff=this[_0x4bc79e(0x123)]['get'](_0x2887ec);_0x3de0ff&&(_0x3de0ff['delete'](_0x41975b),(_0x34101b=this[_0x4bc79e(0x2b9)](_0x2887ec))==null||_0x34101b['next'](_0x3de0ff['size']===0x0?_0x2c5d3c[_0x4bc79e(0x300)][_0x4bc79e(0x2da)]:_0x2c5d3c[_0x4bc79e(0x300)][_0x4bc79e(0x228)]));}),this[_0x41568c(0x179)](_0x41975b);}[_0x453404(0x318)](_0x4e4e93){const _0x4cf44d=_0x453404;this[_0x4cf44d(0x31a)](_0x4e4e93[_0x4cf44d(0x12c)]);}[_0x453404(0x2df)](_0x604212){const _0x23c836=_0x453404;localStorage[_0x23c836(0x38c)](_0x3549eb,JSON[_0x23c836(0x2b1)](_0x604212));}[_0x453404(0x219)](){const _0x32ca39=_0x453404;this[_0x32ca39(0x1b8)]=window[_0x32ca39(0x11d)](()=>{const _0x4bd2bf=_0x32ca39;this[_0x4bd2bf(0x2df)]({'type':0x2,'memberID':this[_0x4bd2bf(0x33b)]});},_0x416e8c);}[_0x453404(0x2b9)](_0x3e022f){const _0x2bb939=_0x453404;return this[_0x2bb939(0x11f)][_0x2bb939(0x138)](_0x3e022f)||this[_0x2bb939(0x11f)][_0x2bb939(0x2ca)](_0x3e022f,new _0xe0366['BehaviorSubject'](_0x2c5d3c[_0x2bb939(0x300)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x2bb939(0x11f)][_0x2bb939(0x28f)](_0x3e022f);}}var _0x5bfddd=(_0x3162f2=>(_0x3162f2[_0x3162f2[_0x453404(0x1d7)]=0x0]='UNDEFINED',_0x3162f2[_0x3162f2['OK']=0x1]='OK',_0x3162f2[_0x3162f2['INTERNAL_ERROR']=0x2]=_0x453404(0x24d),_0x3162f2[_0x3162f2[_0x453404(0x1da)]=0x3]='PERMISSION_DENIED',_0x3162f2[_0x3162f2[_0x453404(0x15d)]=0x4]='NOT_FOUND',_0x3162f2[_0x3162f2['UNAUTHENTICATED']=0x5]=_0x453404(0x14d),_0x3162f2[_0x3162f2[_0x453404(0x392)]=0x6]=_0x453404(0x392),_0x3162f2[_0x3162f2['INVALID_ARGUMENT']=0x7]=_0x453404(0x21b),_0x3162f2[_0x3162f2[_0x453404(0x319)]=0x8]='TOO_MANY_REQUESTS',_0x3162f2[_0x3162f2[_0x453404(0x3b0)]=0x9]=_0x453404(0x3b0),_0x3162f2[_0x3162f2[_0x453404(0x1ff)]=0xa]='LOGIN_FAILED',_0x3162f2[_0x3162f2['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x453404(0x1fb),_0x3162f2[_0x3162f2[_0x453404(0x183)]=0xc]=_0x453404(0x183),_0x3162f2[_0x3162f2[_0x453404(0x273)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x3162f2[_0x3162f2[_0x453404(0x146)]=0xe]=_0x453404(0x146),_0x3162f2[_0x3162f2[_0x453404(0x2a8)]=0x1389]=_0x453404(0x2a8),_0x3162f2[_0x3162f2[_0x453404(0x2f1)]=0x1771]=_0x453404(0x2f1),_0x3162f2[_0x3162f2[_0x453404(0x393)]=0x1772]=_0x453404(0x393),_0x3162f2[_0x3162f2['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x453404(0x1f5),_0x3162f2[_0x3162f2[_0x453404(0x383)]=0x1b59]=_0x453404(0x383),_0x3162f2[_0x3162f2[_0x453404(0x2cd)]=0x1b5a]=_0x453404(0x2cd),_0x3162f2[_0x3162f2[_0x453404(0x279)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x3162f2[_0x3162f2['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x3162f2[_0x3162f2[_0x453404(0x303)]=0x1b5d]='APPLY_DUPLICATED',_0x3162f2[_0x3162f2[_0x453404(0x1b5)]=0x1f41]=_0x453404(0x1b5),_0x3162f2[_0x3162f2['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x453404(0x1fa),_0x3162f2[_0x3162f2[_0x453404(0x1f2)]=0x232a]=_0x453404(0x1f2),_0x3162f2[_0x3162f2[_0x453404(0x359)]=0x232b]=_0x453404(0x359),_0x3162f2[_0x3162f2[_0x453404(0x2ce)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x3162f2[_0x3162f2['LICENSE_DISTRO_REJECTED']=0x232d]=_0x453404(0x222),_0x3162f2[_0x3162f2[_0x453404(0x26d)]=0x2711]=_0x453404(0x26d),_0x3162f2[_0x3162f2[_0x453404(0x362)]=0x2712]=_0x453404(0x362),_0x3162f2[_0x3162f2['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x453404(0x1a4),_0x3162f2[_0x3162f2[_0x453404(0x12f)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x3162f2[_0x3162f2['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x453404(0x241),_0x3162f2[_0x3162f2[_0x453404(0x37e)]=0x271b]=_0x453404(0x37e),_0x3162f2[_0x3162f2[_0x453404(0x369)]=0x271c]=_0x453404(0x369),_0x3162f2[_0x3162f2[_0x453404(0x317)]=0x271d]=_0x453404(0x317),_0x3162f2[_0x3162f2[_0x453404(0x39b)]=0x271e]=_0x453404(0x39b),_0x3162f2[_0x3162f2[_0x453404(0x306)]=0x271f]=_0x453404(0x306),_0x3162f2[_0x3162f2[_0x453404(0x39f)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x3162f2[_0x3162f2[_0x453404(0x17a)]=0x2af9]=_0x453404(0x17a),_0x3162f2[_0x3162f2['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x453404(0x32f),_0x3162f2[_0x3162f2['INVALID_INVITE_CODE']=0x2ee2]=_0x453404(0x1cb),_0x3162f2[_0x3162f2[_0x453404(0x1bb)]=0x2ee3]=_0x453404(0x1bb),_0x3162f2[_0x3162f2[_0x453404(0x2e0)]=0x2ee4]=_0x453404(0x2e0),_0x3162f2[_0x3162f2['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x3162f2[_0x3162f2[_0x453404(0x2ee)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x3162f2[_0x3162f2[_0x453404(0x275)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x3162f2[_0x3162f2[_0x453404(0x2f2)]=0x32cb]=_0x453404(0x2f2),_0x3162f2[_0x3162f2['UNRECOGNIZED']=-0x1]=_0x453404(0x265),_0x3162f2))(_0x5bfddd||{}),_0x8b29d4=Object[_0x453404(0x23f)],_0x40fb1d=(_0x511be7,_0x261856,_0x4e9d02,_0x3545e2)=>{const _0x13536a=_0x453404;for(var _0x3ba611=_0x3545e2>0x1?void 0x0:_0x3545e2?_0x8b29d4(_0x261856,_0x4e9d02):_0x261856,_0x360eb7=_0x511be7[_0x13536a(0x2f8)]-0x1,_0xc1e82c;_0x360eb7>=0x0;_0x360eb7--)(_0xc1e82c=_0x511be7[_0x360eb7])&&(_0x3ba611=_0xc1e82c(_0x3ba611)||_0x3ba611);return _0x3ba611;},_0x1fda07=(_0x1baf9f,_0x15df6c)=>(_0x4f50a7,_0x35c06a)=>_0x15df6c(_0x4f50a7,_0x35c06a,_0x1baf9f);_0x5d4de8[_0x453404(0x2d9)]=class extends _0x13023b[_0x453404(0x165)]{constructor(_0x152008,_0x5e4518,_0xcc2c33){const _0x18e66d=_0x453404;super(),this[_0x18e66d(0x231)]=_0x152008,this[_0x18e66d(0x1ef)]=_0x5e4518,this['_configService']=_0xcc2c33;}async['runOnServer'](_0x5e8ef6,_0x34eb5d,_0x2b6d7c,..._0x215071){const _0x157e16=_0x453404;var _0x4ad45d,_0x5eeab0,_0x598682,_0x27489e;const _0x419ea8=this[_0x157e16(0x231)][_0x157e16(0x187)]();if(!_0x419ea8)throw new Error(_0x157e16(0x1dc));const _0x3e4de0=((_0x4ad45d=this[_0x157e16(0x1d9)][_0x157e16(0x39e)](_0x2c5d3c[_0x157e16(0x27e)]))!=null?_0x4ad45d:_0x2c5d3c[_0x157e16(0x184)])+'/'+_0x5e8ef6+_0x157e16(0x1c4)+_0x34eb5d,_0x4138d2=new URL(window['location'][_0x157e16(0x339)]),_0x4d5206={'scriptId':_0x5e8ef6,'runId':(_0x5eeab0=_0x4138d2[_0x157e16(0x27d)]['get']('runId'))!=null?_0x5eeab0:'','function':_0x34eb5d,'unitId':_0x419ea8[_0x157e16(0x2be)](),'argsOfFunction':JSON[_0x157e16(0x2b1)](_0x215071),'invokeId':(_0x598682=_0x2b6d7c[_0x157e16(0x202)])!=null?_0x598682:'','executionId':(_0x27489e=_0x2b6d7c[_0x157e16(0x20d)])!=null?_0x27489e:''};try{const _0x4f688f=await this[_0x157e16(0x1ef)]['post'](_0x3e4de0,{'body':_0x4d5206});return _0x4f688f['body'][_0x157e16(0x132)]&&_0x4f688f[_0x157e16(0x19e)]['error']['code']!==_0x5bfddd['OK']?_0x157e16(0x370):_0x4f688f[_0x157e16(0x19e)][_0x157e16(0x2f9)];}catch{return _0x157e16(0x370);}}},_0x5d4de8[_0x453404(0x2d9)]=_0x40fb1d([_0x1fda07(0x0,_0x13023b['IUniverInstanceService']),_0x1fda07(0x1,_0x13023b['Inject'](_0x562449[_0x453404(0x2b6)])),_0x1fda07(0x2,_0x13023b[_0x453404(0x245)])],_0x5d4de8[_0x453404(0x2d9)]),_0x5d4de8[_0x453404(0x12e)]=_0x12858b,_0x5d4de8['SheetCollabCursorShape']=_0x2b9a5f,_0x5d4de8['WebBrowserSingleActiveUnitService']=_0x507e04,_0x5d4de8[_0x453404(0x349)]=_0x5e3f87,Object[_0x453404(0x188)](_0x5d4de8,Symbol[_0x453404(0x1a6)],{'value':_0x453404(0x2cc)});}));function _0x5b5a(){const _0x283a03=['EMAIL_VERIFY_CODE_MISMATCH','_shapes','MOBILE_HAS_BEEN_BOUND','onStarting','_entityInit$','handleIRemoveRow','APPLY_REVISION_CONFILICT','_updateSubUnitFromURLParams','_commandService','addEventListener','searchParams','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_getSheetObject','SUBMIT_CHANGESET_TIMEOUT','round','status$','@univerjs/docs','getRelativeToViewportCoord','_transformService','getActiveSheet','isTransformMutationFailure','session.will-retry','displayName','ISocketService','OTHER_CLIENT_EDITING','TEXT_RANGE_LAYER_INDEX','_localCacheService','_syncEditingCollabCursorService','get','isEditing','eventID','onPointerLeave$','_startSheetCollabCursor','CONFLICT','sheetId','black','beginPath','UniverDesign','onCommandExecuted','url(#on-line-icon_clip0_910_349)','EffectRefRangId','handleMoveRange','clearTimeout','colorChannel1','DeleteRangeMoveLeftCommandId','_docClipboardService','makeDirty','collaboration.closeRoom','trim','popstate','ICommandService','complete','getSheetObject','CHANGESET_REVISION_CONFILICT','toRgbString','disableLocalCache','url(#off-line-icon_clip0_910_343)','transformMutation','collaboration.single-unit.warning','moveTo','rxjs','getUniverSheetInstance','stringify','exhaustSavingTask','setShapeProps','evenodd','defIds','HTTPService','UniverProCollaboration','_handleHover','_ensureSubject','takeUntil','_messageService','_transformHistoryAndStateStack','endRow','getUnitId','disposeWithMe','amd','_assignedColors','getDocRanges','useCallback','SheetsSelectionsService','_cursorInfo$','_docSkeleton','@univerjs-pro/collaboration','idSuffix','1690752wryUWh','set','JOIN_ROOM_FAILED','Module','APPLY_NON_SEQUENTIAL_REVISION','LICENSE_EXPORT_SIZE_EXCEEDED','_range','location','_drawTextRange','192690KQffFn','setUndoRedoMutationParamsCache','3263248XdCZeP','RefRangeService','UniverEngineFormula','clearInterval','Unknown\x20user','RemoteUniscriptService','NO_OTHER_CLIENTS_EDITING','_uiPartsService','MessageType','React','Tools','_send','USER_NOT_INVITED_CODE','prototype','cursorInfo$','IUIPartsService','unitId','addObjects','Rectangle','Optional','DesktopCollaborationStatusDisplayController','AWAITING_WITH_PENDING','collab-text-range-','textRanges','SetSelectionsOperation','_toggleOnline','WECHAT_HAS_BEEN_BOUND','_startDocCollabCursor','collabCursorState$','SNAPSHOT_INVALID_SNAPSHOT','EMAIL_HAS_BEEN_BOUND','registerRefRange','UNIVER_SHEET','_docTransformStateCacheService','mask','_collabSessionService','length','result','DeleteRangeMoveUpCommandId','green.600','lineTo','_selfUnitIDs','combineLatest','disposeUnit','UnitStatus','_setupSubUnitSync','sessionTicket','APPLY_DUPLICATED','registerDependencies','operators','YUUMI_AI_RUN_FAILED','_docSyncEditingCollabCursorService','createIdentifier','handleDeleteRangeMoveUp','_initResize','urlChange$','_handleLeaveEvent','_context','UniverProCollaborationClient','key','subscribe','data','executeCommand','_onRefRangeChange','_registerRenderDependencies','SetWorksheetActivateCommand','_cachedData','YUUMI_ALL_TABLES_IS_INVALID','_handleHeartbeatEvent','TOO_MANY_REQUESTS','_scheduleClearOtherTimer','apply','_cursor','getRangePointData','mapTo','extend','subunit','newValue','white','on-line-icon_clip0_910_349','random','filter','yellow.400','storage','LOCAL_CACHE_INTERVAL','replace','useRef','UniverRpc','isArray','_toggleOffline','saveImage','INVITE_CODE_HAS_BEEN_UES','red.300','IUniverInstanceService','http://www.w3.org/2000/svg','call','skeleton','type','getValue','parse','generateRandomId','href','reconnect','_id','_colorIndex','permission.content','touchDependencies','fillStyle','_updateCollabCursors','getVpScrollXYInfoByPosToVp','mutations','collabStatus.syncing','all','getUnitStatus$','Subject','0\x200\x2017\x2016','ITransformService','WebURLService','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','getViewport','measureText','UniverCollaborationClientPlugin','cursorInfo','collab-text-anchor-','with','RxDisposable','@univerjs/design','currentSkeleton$','NodePositionConvertToCursor','hide','fromEventSubject','_entities','add','LICENSE_IMPORT_SIZE_EXCEEDED','pipe','unit','getAncestorScale','UNIVER_DOC','_roomMembers$','react/jsx-runtime','useDependency','debug','YUUMI_URL_COL_OUT_OF_RANGE','_labelPosition','_registerDependencies','row','_initStatusComponent','_updateLocalCursor','_textBubble','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getOwnPropertySymbols','backgroundColor','ThemeService','getUndoRedoMutationParamsCache','getRenderById','drawWith','Failed','m2Prime','M0\x200H16V16H0z','onMouseMove','_drawAnchor','0\x200\x2016\x2016','tag','WebSocketService','origin','_univerInstanceService','_cursorShapes','deserializeRangeWithSheet','BuiltInUIPart','IMessageService','YUUMI_ASYNCIO_CANCELLED','hasOwnProperty','handleDeleteRangeMoveLeft','_onCursorUpdate','667279aLWSDD','APPLY_REJECT','COLORS','Shape','getLocalCacheKey','CollaborationStatus','imageSourceType','PENDING','onRendered','saveTaskMap','setItem','univerjs-icon\x20univerjs-icon-','exports','ILogService','svg','getCollabEntity$','ALREADY_EXISTS','SNAPSHOT_HAS_BEEN_REMOVED','RemoveRowCommandId','div','addObject','attrs','_config','none','send','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','addClipboardHook','UniverInstanceType','getConfig','YUUMI_CONNECTOR_URL_NOT_FOUND','342900AzvBjF','unsubscribe','clipPath','_initCommandExecutedListener','current','onPointerEnter$','fillText','_themeService','@univerjs/docs-ui','_createSocketURL','dispose','_anchor','path','getStateCache','_scene','roomMembers','COMPLETION_FINISHED','loadOfflineData','rgba(255,\x20255,\x20255,\x200.01)','_draw','getActiveRange','Error','CollaborationUIEventId','subUnitId','TEXT','_handleEvent','USERS_LEAVE','_session','entries','setInterval','includes','_unitStatus','getSheetBySheetId','debounce','collabStatus.synced','_unitOnClients','RECT','Vector2','jsxs','InsertRangeMoveDownCommandId','RevisionService','DocIMEInputManagerService','DOC_RANGE_TYPE','_sheetSkeletonManagerService','memberID','_collaborationUIEventService','IURLService','YUUMI_SUBSCRIPTION_NOT_FOUND','handleIRemoveCol','clsx','error','event$','_getScale','fromEvent','forEach','isActive','has','doc.mutation.rich-text-editing','_online','setParam','ranges','children','_dataLoaderService','ColorKit','indexOf','translate(.97)','on-line-icon','loadUnit','transformSelections','collab-client.tooltip.reconnect','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_removeCollabCursors','_imageIoService','getOffsetConfig','session.connection-failed','_setupBeforeClosingHandler','_anchorDot','UNAUTHENTICATED','handleInsertRangeMoveRight','MoveRangeCommandId','getTypeOfUnitAdded$','@univerjs/network','UniverUi','connectInjector','_initStatusListener','getSheetId','size','...','_hideTimer','arc','SHEET_VIEWPORT_KEY','transformStateCache','max','NOT_FOUND','_saveTaskMap','getCurrentUnitForType','pushState','runRefRangeMutations','startRow','FromArray','Workbook','Disposable','currentTheme$','CollaborationEvent','toString','SOCKET_FAILED','url(#$1','runId','UniverIcon','8385825bVXibz','CollaborationController','save','_collaborationController','getMemberID','hovered','min','IBeforeCloseService','Inject','_clearOtherTimers','redoState','updateOfflineData','_removeClearOtherTimer','PY_RUNTIME_SCRIPT_ERROR','_hovered','useObservable','docStateChange$','@univerjs/rpc','_drawRectRange','INotificationService','setTimeout','enableLocalCache','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','UPDATE_CURSOR','univer-mr-2\x20univer-flex\x20univer-text-xl','getFocusedUnit','defineProperty','UniverDrawing','shareReplay','name','setStateCache','_handleJoinEvent','use','_getMergeRange','roomMembers$','getColorFromTheme','_hover','saveOfflineData','UniverProCollaborationClientUi','concat','jiqing.500','_color','color','top','MemberService','531UzPGXq','actions','ILocalStorageService','body','_render','next','undoState','switchMap','LocaleService','YUUMI_RATE_OVER_LIMIT','restore','toStringTag','fillRule','_localStorageService','Tooltip','removeParam','OffLineIcon','DocSelectionManagerService','getMember','CollaborationSessionService','forwardRef','registerBeforeClose','selection','DependentOn','getMergeData','unitID','CONNECTOR_DATA_TOO_LARGE','SheetSkeletonManagerService','_doCreateSocket','_heartbeatTimer','assign','DocCollaborationEntity','INVITE_CODE_REQUIRED','height','icon','_getSessionTicket','IDocClipboardService','_injector','_localeService','activeSheet$','OnLineIcon','/run/','_name','CollaborationUIEventService','_document','_logService','_initEvent','addHandlerCallback','INVALID_INVITE_CODE','NodePositionConvertToRectRange','registerComponent','font','BehaviorSubject','SOCKET_FAILED_RETRY','then','text','find','xlink:href','collabStatus.notCollab','6ZKXQHO','UNDEFINED','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_configService','PERMISSION_DENIED','off-line-icon_clip0_910_343','[RemoteUniscriptService]:\x20no\x20focused\x20unit','getSkeleton','OFFLINE','createElement','@univerjs-pro/collaboration-client','_colorAssignService','findNodePositionByCharIndex','dispose$','assignAColorForMemberID','defs','HEADER_MENU','1671488rFxnoo','getCurrentRevOfUnit','transformRemoteChangeset','width','Plugin','_getAnchorBounding','setAlpha','_initDependencies','_httpService','_scheduleSaving','Warning','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_refRangeService','RemoveColCommandId','ENSURE_SNAPSHOT_EXECUTION','UniverDocsUi','history','toDisposable','CollaborationDataLoaderController','LICENSE_MAX_UNITS_EXCEEDED','MOBILE_VERIFY_CODE_MISMATCH','replaceState','params','push','LOGIN_FAILED','UniverEngineRender','_renderManagerService','invokeId','univer-flex\x20univer-items-center','_cursors','AWAITING','delete','VIEW_MAIN','getColor','string','onLocalMutation','uni.network.url-service','split','executionId','_docTransformSelectionsService','UniverNetwork','getParam','_saveCache','MUTATION','column','init','distinctUntilChanged','IRemoteInstanceService','CollaborationSocketService','values','_scheduleHeartbeat','asObservable','INVALID_ARGUMENT','_collabCursorState$','jsx','onTransformChange$','getCoordByCell','subscribeEvent','transformMutationsWithChangeset','LICENSE_DISTRO_REJECTED','_transformPreviousActiveRange','_init','DocStateChangeManagerService','replaceDocRanges','debounceTime','OTHER_CLIENTS_EDITING','ILocalCacheService','UniverDocs','DisposableCollection','NOT_COLLAB','_disabled','isTransformMutationsWithChangesetSuccess','DEFAULT_WS_SESSION_TICKET_URL','_docTransformIMECacheService','_instanceService','session.collaboration-timeout','selections','_beforeCloseService','1em','getTypeOfUnitDisposed$','Rect','5uBhETc','from','ACTIVE_UNIT_EVENT_CHANNEL','_notificationService','_backgroundColor','sessionStatus$','_collabCursorController','getOwnPropertyDescriptor','ONLINE','YUUMI_NO_CUBOID_FOR_QUESTION','IRenderManagerService','show','collabStatus.conflict','IConfigService','map','collaboration-client.offline-data-not-saved','SessionStatus','whenReady','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','@univerjs/sheets-ui','_updateURLWithCurrentState','INTERNAL_ERROR','UniverCollaborationClientUIPlugin','endColumn','_docStateChangeManagerService','substring','requireSession','_onCursorDelete','_urlService','sheetID','transformIMECache','_initEntityListener','DocSkeletonManagerService','RegularPolygon','deepClone','engine','_refreshCollabCursors','className','focused$','blue.400','createInstance','BrowserCollaborationSocketService','Injector','wsSessionTicketUrl','search','UNRECOGNIZED','m1Prime','getCollabCursors$','_memberService','unshift','createSocket','[CollaborationDataLoaderController]','fill','YUUMI_UNABLE_LOAD_URL','handleInsertCol','_status$','_docSkeletonManagerService','_eventUnsubscribe','throttleTime'];_0x5b5a=function(){return _0x283a03;};return _0x5b5a();}
|